{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/babel-polyfill/polyfill.js","vendor/jquery/jquery.js","license.js","loader.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/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/globals-resolver.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/application.js","@ember/application/lib/lazy_load.js","@ember/canary-features/index.js","@ember/component/index.js","@ember/component/template-only.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.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/error/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/index.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/polyfills/lib/merge.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/global-context.js","@glimmer/low-level.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.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","node-module/index.js","route-recognizer.js","router_js.js","rsvp.js","vendor/shims/jquery.js","vendor/jquery/component.dollar.js","vendor/ember-cli-jstree/jstree.js","vendor/ember-cli-jstree/register-version.js","vendor/ember-fetch.js","vendor/ember-models-table/register-version.js","vendor/base64.js","vendor/ember-weakmap-passthrough.js","vendor/codemirror/lib/codemirror.js","vendor/codemirror/addon/mode/simple.js","vendor/codemirror/addon/mode/multiplex.js","vendor/htmlhandlebars.js","vendor/codemirror/mode/javascript/javascript.js","vendor/codemirror/mode/lua/lua.js","vendor/codemirror/keymap/vim.js","vendor/ivy-codemirror/shims.js","vendor/velocity/velocity.js","vendor/shims/velocity.js","vendor/match-media/matchMedia.js","vendor/classic-decorator/index.js","node_modules/sgb-object-charts-common/index.js","vendor/chart.js","vendor/chartjs-adapter-moment.js","vendor/lodash.js","vendor/toastr/toastr.js","node_modules/moment/moment.js","../../@interactjs/utils/isWindow.ts","../../@interactjs/utils/window.ts","../../@interactjs/utils/is.ts","../../@interactjs/actions/drag/plugin.ts","../../@interactjs/utils/domObjects.ts","../../@interactjs/utils/browser.ts","../../@interactjs/utils/domUtils.ts","../../@interactjs/utils/extend.ts","../../@interactjs/utils/rect.ts","../../@interactjs/utils/getOriginXY.ts","../../@interactjs/utils/normalizeListeners.ts","../../@interactjs/utils/hypot.ts","../../@interactjs/utils/pointerExtend.ts","../../@interactjs/utils/pointerUtils.ts","../../@interactjs/core/BaseEvent.ts","../../@interactjs/utils/arr.ts","../../@interactjs/actions/drop/DropEvent.ts","../../@interactjs/actions/drop/plugin.ts","../../@interactjs/actions/gesture/plugin.ts","../../@interactjs/actions/resize/plugin.ts","../../@interactjs/actions/plugin.ts","../../@interactjs/utils/raf.ts","../../@interactjs/auto-scroll/plugin.ts","../../@interactjs/utils/misc.ts","../../@interactjs/auto-start/InteractableMethods.ts","../../@interactjs/auto-start/base.ts","../../@interactjs/auto-start/dragAxis.ts","../../@interactjs/auto-start/hold.ts","../../@interactjs/auto-start/plugin.ts","../../@interactjs/core/interactablePreventDefault.ts","../../@interactjs/utils/isNonNativeEvent.ts","../../@interactjs/dev-tools/plugin.ts","../../@interactjs/utils/clone.ts","../../@interactjs/modifiers/Modification.ts","../../@interactjs/modifiers/base.ts","../../@interactjs/core/options.ts","../../@interactjs/core/InteractEvent.ts","../../@interactjs/core/PointerInfo.ts","../../@interactjs/core/Interaction.ts","../../@interactjs/offset/plugin.ts","../../@interactjs/inertia/plugin.ts","../../@interactjs/core/Eventable.ts","../../@interactjs/core/events.ts","../../@interactjs/core/interactionFinder.ts","../../@interactjs/core/interactions.ts","../../@interactjs/core/Interactable.ts","../../@interactjs/core/InteractableSet.ts","../../@interactjs/core/InteractStatic.ts","../../@interactjs/core/scope.ts","../../@interactjs/interact/index.ts","../../@interactjs/snappers/edgeTarget.ts","../../@interactjs/snappers/elements.ts","../../@interactjs/snappers/grid.ts","../../@interactjs/snappers/all.ts","../../@interactjs/snappers/plugin.ts","../../@interactjs/modifiers/aspectRatio.ts","../../@interactjs/modifiers/noop.ts","../../@interactjs/modifiers/restrict/pointer.ts","../../@interactjs/modifiers/restrict/edges.ts","../../@interactjs/modifiers/restrict/rect.ts","../../@interactjs/modifiers/restrict/size.ts","../../@interactjs/modifiers/snap/pointer.ts","../../@interactjs/modifiers/snap/size.ts","../../@interactjs/modifiers/snap/edges.ts","../../@interactjs/modifiers/all.ts","../../@interactjs/modifiers/plugin.ts","../../@interactjs/pointer-events/PointerEvent.ts","../../@interactjs/pointer-events/base.ts","../../@interactjs/pointer-events/holdRepeat.ts","../../@interactjs/pointer-events/interactableTargets.ts","../../@interactjs/pointer-events/plugin.ts","../../@interactjs/reflow/plugin.ts","../../@interactjs/interactjs/index.ts","../index.ts","vendor/shims/interactjs.js","node_modules/sweetalert2/dist/sweetalert2.min.js","vendor/shims/sweetalert2.js","../src/push/Messages.js","../src/push/Permission.js","../src/push/Util.js","../src/agents/AbstractAgent.js","../src/agents/DesktopAgent.js","../src/agents/MobileChromeAgent.js","../src/agents/MobileFirefoxAgent.js","../src/agents/MSAgent.js","../src/agents/WebKitAgent.js","../src/index.js","../src/push/Push.js","vendor/shims/pushjs.js","vendor/dropdowntree/dropdowntree.js","vendor/shims/dropdowntree.js","node_modules/sticky-js/dist/sticky.min.js","../../src/utils/isBrowser.js","../../src/utils/debounce.js","../../src/utils/isFunction.js","../../src/utils/getStyleComputedProperty.js","../../src/utils/getParentNode.js","../../src/utils/getScrollParent.js","../../src/utils/getReferenceNode.js","../../src/utils/isIE.js","../../src/utils/getOffsetParent.js","../../src/utils/isOffsetContainer.js","../../src/utils/getRoot.js","../../src/utils/findCommonOffsetParent.js","../../src/utils/getScroll.js","../../src/utils/includeScroll.js","../../src/utils/getBordersSize.js","../../src/utils/getWindowSizes.js","../../src/utils/getClientRect.js","../../src/utils/getBoundingClientRect.js","../../src/utils/getOffsetRectRelativeToArbitraryNode.js","../../src/utils/getViewportOffsetRectRelativeToArtbitraryNode.js","../../src/utils/isFixed.js","../../src/utils/getFixedPositionOffsetParent.js","../../src/utils/getBoundaries.js","../../src/utils/computeAutoPlacement.js","../../src/utils/getReferenceOffsets.js","../../src/utils/getOuterSizes.js","../../src/utils/getOppositePlacement.js","../../src/utils/getPopperOffsets.js","../../src/utils/find.js","../../src/utils/findIndex.js","../../src/utils/runModifiers.js","../../src/methods/update.js","../../src/utils/isModifierEnabled.js","../../src/utils/getSupportedPropertyName.js","../../src/methods/destroy.js","../../src/utils/getWindow.js","../../src/utils/setupEventListeners.js","../../src/methods/enableEventListeners.js","../../src/utils/removeEventListeners.js","../../src/methods/disableEventListeners.js","../../src/utils/isNumeric.js","../../src/utils/setStyles.js","../../src/utils/setAttributes.js","../../src/modifiers/applyStyle.js","../../src/utils/getRoundedOffsets.js","../../src/modifiers/computeStyle.js","../../src/utils/isModifierRequired.js","../../src/modifiers/arrow.js","../../src/utils/getOppositeVariation.js","../../src/methods/placements.js","../../src/utils/clockwise.js","../../src/modifiers/flip.js","../../src/modifiers/keepTogether.js","../../src/modifiers/offset.js","../../src/modifiers/preventOverflow.js","../../src/modifiers/shift.js","../../src/modifiers/hide.js","../../src/modifiers/inner.js","../../src/modifiers/index.js","../../src/methods/defaults.js","../../src/index.js","../../js/src/util.js","../../js/src/alert.js","../../js/src/button.js","../../js/src/carousel.js","../../js/src/collapse.js","../../js/src/dropdown.js","../../js/src/modal.js","../../js/src/tools/sanitizer.js","../../js/src/tooltip.js","../../js/src/popover.js","../../js/src/scrollspy.js","../../js/src/tab.js","../../js/src/toast.js","vendor/admin-lte/adminlte3.js","node_modules/tempusdominus-bootstrap-4/build/js/tempusdominus-bootstrap-4.js","node_modules/fontawesome-iconpicker/dist/js/fontawesome-iconpicker.min.js","node_modules/intl-tel-input/build/js/utils.js","node_modules/intl-tel-input/build/js/intlTelInput.js","node_modules/ion-rangeslider/js/ion.rangeSlider.min.js","node_modules/jquery-slimscroll/jquery.slimscroll.min.js","node_modules/timelinejs3/compiled/js/timeline-min.js","node_modules/three/build/three.js","node_modules/three/examples/js/controls/OrbitControls.js","node_modules/three/examples/js/utils/BufferGeometryUtils.js","../src/dat/color/toString.js","../src/dat/utils/common.js","../src/dat/color/interpret.js","../src/dat/color/math.js","../src/dat/color/Color.js","../src/dat/controllers/Controller.js","../src/dat/dom/dom.js","../src/dat/controllers/BooleanController.js","../src/dat/controllers/OptionController.js","../src/dat/controllers/StringController.js","../src/dat/controllers/NumberController.js","../src/dat/controllers/NumberControllerBox.js","../src/dat/controllers/NumberControllerSlider.js","../src/dat/controllers/FunctionController.js","../src/dat/controllers/ColorController.js","../src/dat/utils/css.js","../src/dat/gui/saveDialogue.html.js","../src/dat/controllers/ControllerFactory.js","../src/dat/utils/requestAnimationFrame.js","../src/dat/dom/CenteredDiv.js","../src/dat/gui/GUI.js","../src/dat/index.js","node_modules/@seregpie/three.text-texture/index.js","node_modules/@seregpie/three.text-sprite/index.js","node_modules/troika-worker-utils/dist/troika-worker-utils.umd.js","node_modules/webgl-sdf-generator/dist/webgl-sdf-generator.js","node_modules/troika-three-utils/dist/troika-three-utils.umd.js","node_modules/troika-three-text/dist/troika-three-text.umd.js","node_modules/chart.js/dist/chart.js","node_modules/chartjs-adapter-moment/dist/chartjs-adapter-moment.js","vendor/codrops/AnimatedMenuIcon/js/segment.min.js","vendor/codrops/AnimatedMenuIcon/js/ease.min.js","vendor/codrops/ClickEffects/js/classie.js","vendor/eventcontrol/jquery.mousewheel.min.js","hammer.js","vendor/eventcontrol/eventcontrol.min.js","vendor/jstree/plugin/jstree.plugin.customicons.js","vendor/jquery-svg/jquery-svg.js","node_modules/@jaames/iro/dist/iro.js","vendor/shims/iro-colorpicker.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/component/index.js","addon-tree-output/@ember-decorators/object/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/ordered-set/index.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/helpers/loc.js","addon-tree-output/@ember/string/index.js","addon-tree-output/@ember/test-waiters/build-waiter.js","addon-tree-output/@ember/test-waiters/index.js","addon-tree-output/@ember/test-waiters/token.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/wait-for.js","addon-tree-output/@ember/test-waiters/waiter-manager.js","addon-tree-output/@embroider/macros/es-compat2.js","addon-tree-output/@embroider/macros/runtime.js","addon-tree-output/@embroider/util/ember-private-api.js","addon-tree-output/@embroider/util/index.js","addon-tree-output/@embroider/util/services/ensure-registered.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/@zestia/ember-simple-infinite-scroller/components/infinite-scroller.js","addon-tree-output/ember-ajax/-private/promise.js","addon-tree-output/ember-ajax/-private/types.js","addon-tree-output/ember-ajax/-private/utils/get-header.js","addon-tree-output/ember-ajax/-private/utils/is-string.js","addon-tree-output/ember-ajax/-private/utils/parse-response-headers.js","addon-tree-output/ember-ajax/-private/utils/url-helpers.js","addon-tree-output/ember-ajax/ajax-request.js","addon-tree-output/ember-ajax/errors.js","addon-tree-output/ember-ajax/index.js","addon-tree-output/ember-ajax/mixins/ajax-request.js","addon-tree-output/ember-ajax/mixins/ajax-support.js","addon-tree-output/ember-ajax/mixins/legacy/normalize-error-response.js","addon-tree-output/ember-ajax/raw.js","addon-tree-output/ember-ajax/request.js","addon-tree-output/ember-ajax/services/ajax.js","addon-tree-output/ember-ajax/utils/ajax.js","addon-tree-output/ember-arg-types/-private/closest-string.js","addon-tree-output/ember-arg-types/-private/is-element-descriptor.js","addon-tree-output/ember-arg-types/-private/throw-console-error.js","addon-tree-output/ember-arg-types/decorator.js","addon-tree-output/ember-arg-types/index.js","addon-tree-output/ember-assign-helper/helpers/assign.js","addon-tree-output/ember-async-data/helpers/load.js","addon-tree-output/ember-async-data/index.js","addon-tree-output/ember-async-data/tracked-async-data.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-content.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-optional-tag.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown-trigger.js","addon-tree-output/ember-basic-dropdown/components/basic-dropdown.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-content.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-optional-tag.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown-trigger.js","addon-tree-output/ember-basic-dropdown/templates/components/basic-dropdown.js","addon-tree-output/ember-basic-dropdown/utils/calculate-position.js","addon-tree-output/ember-basic-dropdown/utils/has-moved.js","addon-tree-output/ember-basic-dropdown/utils/scroll-helpers.js","addon-tree-output/ember-bootstrap/components/bs-accordion.js","addon-tree-output/ember-bootstrap/components/bs-accordion/item.js","addon-tree-output/ember-bootstrap/components/bs-accordion/item/body.js","addon-tree-output/ember-bootstrap/components/bs-accordion/item/title.js","addon-tree-output/ember-bootstrap/components/bs-alert.js","addon-tree-output/ember-bootstrap/components/bs-button-group.js","addon-tree-output/ember-bootstrap/components/bs-button-group/button.js","addon-tree-output/ember-bootstrap/components/bs-button.js","addon-tree-output/ember-bootstrap/components/bs-carousel.js","addon-tree-output/ember-bootstrap/components/bs-carousel/slide.js","addon-tree-output/ember-bootstrap/components/bs-collapse.js","addon-tree-output/ember-bootstrap/components/bs-contextual-help.js","addon-tree-output/ember-bootstrap/components/bs-contextual-help/element.js","addon-tree-output/ember-bootstrap/components/bs-dropdown.js","addon-tree-output/ember-bootstrap/components/bs-dropdown/button.js","addon-tree-output/ember-bootstrap/components/bs-dropdown/menu.js","addon-tree-output/ember-bootstrap/components/bs-dropdown/menu/divider.js","addon-tree-output/ember-bootstrap/components/bs-dropdown/menu/item.js","addon-tree-output/ember-bootstrap/components/bs-dropdown/toggle.js","addon-tree-output/ember-bootstrap/components/bs-form.js","addon-tree-output/ember-bootstrap/components/bs-form/element.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control/checkbox.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control/input.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control/radio.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control/switch.js","addon-tree-output/ember-bootstrap/components/bs-form/element/control/textarea.js","addon-tree-output/ember-bootstrap/components/bs-form/element/errors.js","addon-tree-output/ember-bootstrap/components/bs-form/element/feedback-icon.js","addon-tree-output/ember-bootstrap/components/bs-form/element/help-text.js","addon-tree-output/ember-bootstrap/components/bs-form/element/label.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/horizontal.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/horizontal/checkbox.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/inline.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/inline/checkbox.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/vertical.js","addon-tree-output/ember-bootstrap/components/bs-form/element/layout/vertical/checkbox.js","addon-tree-output/ember-bootstrap/components/bs-form/element/legend.js","addon-tree-output/ember-bootstrap/components/bs-link-to.js","addon-tree-output/ember-bootstrap/components/bs-modal-simple.js","addon-tree-output/ember-bootstrap/components/bs-modal.js","addon-tree-output/ember-bootstrap/components/bs-modal/body.js","addon-tree-output/ember-bootstrap/components/bs-modal/dialog.js","addon-tree-output/ember-bootstrap/components/bs-modal/footer.js","addon-tree-output/ember-bootstrap/components/bs-modal/header.js","addon-tree-output/ember-bootstrap/components/bs-modal/header/close.js","addon-tree-output/ember-bootstrap/components/bs-modal/header/title.js","addon-tree-output/ember-bootstrap/components/bs-nav.js","addon-tree-output/ember-bootstrap/components/bs-nav/item.js","addon-tree-output/ember-bootstrap/components/bs-navbar.js","addon-tree-output/ember-bootstrap/components/bs-navbar/content.js","addon-tree-output/ember-bootstrap/components/bs-navbar/link-to.js","addon-tree-output/ember-bootstrap/components/bs-navbar/nav.js","addon-tree-output/ember-bootstrap/components/bs-navbar/toggle.js","addon-tree-output/ember-bootstrap/components/bs-popover.js","addon-tree-output/ember-bootstrap/components/bs-popover/element.js","addon-tree-output/ember-bootstrap/components/bs-progress.js","addon-tree-output/ember-bootstrap/components/bs-progress/bar.js","addon-tree-output/ember-bootstrap/components/bs-tab.js","addon-tree-output/ember-bootstrap/components/bs-tab/pane.js","addon-tree-output/ember-bootstrap/components/bs-tooltip.js","addon-tree-output/ember-bootstrap/components/bs-tooltip/element.js","addon-tree-output/ember-bootstrap/config.js","addon-tree-output/ember-bootstrap/helpers/bs-contains.js","addon-tree-output/ember-bootstrap/helpers/bs-default.js","addon-tree-output/ember-bootstrap/helpers/bs-eq.js","addon-tree-output/ember-bootstrap/helpers/bs-form-horiz-input-class.js","addon-tree-output/ember-bootstrap/helpers/bs-form-horiz-offset-class.js","addon-tree-output/ember-bootstrap/helpers/bs-noop.js","addon-tree-output/ember-bootstrap/helpers/bs-size-class.js","addon-tree-output/ember-bootstrap/helpers/bs-type-class.js","addon-tree-output/ember-bootstrap/mixins/component-child.js","addon-tree-output/ember-bootstrap/mixins/component-parent.js","addon-tree-output/ember-bootstrap/utils/cp/listen-to.js","addon-tree-output/ember-bootstrap/utils/cp/overrideable.js","addon-tree-output/ember-bootstrap/utils/cp/size-class.js","addon-tree-output/ember-bootstrap/utils/cp/type-class.js","addon-tree-output/ember-bootstrap/utils/cp/uses-transition.js","addon-tree-output/ember-bootstrap/utils/decorators/arg.js","addon-tree-output/ember-bootstrap/utils/decorators/uses-transition.js","addon-tree-output/ember-bootstrap/utils/default-decorator.js","addon-tree-output/ember-bootstrap/utils/deprecate-subclassing.js","addon-tree-output/ember-bootstrap/utils/dom.js","addon-tree-output/ember-bootstrap/utils/form-validation-class.js","addon-tree-output/ember-bootstrap/utils/is-fastboot.js","addon-tree-output/ember-bootstrap/utils/size-class.js","addon-tree-output/ember-bootstrap/utils/transition-end.js","addon-tree-output/ember-bootstrap/version.js","addon-tree-output/ember-buffered-proxy/helpers.js","addon-tree-output/ember-buffered-proxy/mixin.js","addon-tree-output/ember-buffered-proxy/proxy.js","addon-tree-output/ember-cached-decorator-polyfill/index.js","addon-tree-output/ember-can/ability.js","addon-tree-output/ember-can/computed.js","addon-tree-output/ember-can/helpers/can.js","addon-tree-output/ember-can/helpers/cannot.js","addon-tree-output/ember-can/index.js","addon-tree-output/ember-can/initializers/setup-ember-can.js","addon-tree-output/ember-can/services/abilities.js","addon-tree-output/ember-can/services/can.js","addon-tree-output/ember-can/utils/normalize.js","addon-tree-output/ember-changeset-validations/helpers/changeset.js","addon-tree-output/ember-changeset-validations/index.js","addon-tree-output/ember-changeset-validations/utils/get-messages.js","addon-tree-output/ember-changeset-validations/utils/handle-multiple-validations.js","addon-tree-output/ember-changeset-validations/utils/messages.js","addon-tree-output/ember-changeset-validations/utils/to-date.js","addon-tree-output/ember-changeset-validations/utils/validation-errors.js","addon-tree-output/ember-changeset-validations/utils/with-defaults.js","addon-tree-output/ember-changeset-validations/utils/wrap.js","addon-tree-output/ember-changeset-validations/validators/confirmation.js","addon-tree-output/ember-changeset-validations/validators/date.js","addon-tree-output/ember-changeset-validations/validators/exclusion.js","addon-tree-output/ember-changeset-validations/validators/format.js","addon-tree-output/ember-changeset-validations/validators/inclusion.js","addon-tree-output/ember-changeset-validations/validators/index.js","addon-tree-output/ember-changeset-validations/validators/length.js","addon-tree-output/ember-changeset-validations/validators/number.js","addon-tree-output/ember-changeset-validations/validators/presence.js","addon-tree-output/ember-changeset/helpers/changeset-get.js","addon-tree-output/ember-changeset/helpers/changeset-set.js","addon-tree-output/ember-changeset/helpers/changeset.js","addon-tree-output/ember-changeset/index.js","addon-tree-output/ember-changeset/utils/is-belongs-to-relationship.js","addon-tree-output/ember-changeset/utils/is-leaf.js","addon-tree-output/ember-changeset/utils/is-object.js","addon-tree-output/ember-changeset/utils/merge-deep.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-flash/components/flash-message.js","addon-tree-output/ember-cli-flash/flash/object.js","addon-tree-output/ember-cli-flash/services/flash-messages.js","addon-tree-output/ember-cli-flash/templates/components/flash-message.js","addon-tree-output/ember-cli-flash/utils/computed.js","addon-tree-output/ember-cli-flash/utils/flash-message-options.js","addon-tree-output/ember-cli-flash/utils/get-with-default.js","addon-tree-output/ember-cli-flash/utils/object-compact.js","addon-tree-output/ember-cli-flash/utils/object-only.js","addon-tree-output/ember-cli-flash/utils/object-without.js","addon-tree-output/ember-cli-head/components/head-layout.js","addon-tree-output/ember-cli-head/services/head-data.js","addon-tree-output/ember-cli-jstree/components/ember-jstree.js","addon-tree-output/ember-cli-jstree/mixins/ember-jstree-actions.js","addon-tree-output/ember-cli-string-helpers/-private/create-string-helper.js","addon-tree-output/ember-cli-string-helpers/helpers/camelize.js","addon-tree-output/ember-cli-string-helpers/helpers/capitalize.js","addon-tree-output/ember-cli-string-helpers/helpers/classify.js","addon-tree-output/ember-cli-string-helpers/helpers/dasherize.js","addon-tree-output/ember-cli-string-helpers/helpers/html-safe.js","addon-tree-output/ember-cli-string-helpers/helpers/humanize.js","addon-tree-output/ember-cli-string-helpers/helpers/lowercase.js","addon-tree-output/ember-cli-string-helpers/helpers/titleize.js","addon-tree-output/ember-cli-string-helpers/helpers/trim.js","addon-tree-output/ember-cli-string-helpers/helpers/truncate.js","addon-tree-output/ember-cli-string-helpers/helpers/underscore.js","addon-tree-output/ember-cli-string-helpers/helpers/uppercase.js","addon-tree-output/ember-cli-string-helpers/helpers/w.js","addon-tree-output/ember-cli-string-helpers/utils/lowercase.js","addon-tree-output/ember-cli-string-helpers/utils/titleize.js","addon-tree-output/ember-cli-string-helpers/utils/trim.js","addon-tree-output/ember-cli-string-helpers/utils/uppercase.js","addon-tree-output/ember-component-inbound-actions/action-proxy.js","addon-tree-output/ember-component-inbound-actions/helpers/send.js","addon-tree-output/ember-component-inbound-actions/inbound-actions.js","addon-tree-output/ember-composable-helpers/-private/closure-action.js","addon-tree-output/ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params.js","addon-tree-output/ember-composable-helpers/helpers/append.js","addon-tree-output/ember-composable-helpers/helpers/call.js","addon-tree-output/ember-composable-helpers/helpers/chunk.js","addon-tree-output/ember-composable-helpers/helpers/compact.js","addon-tree-output/ember-composable-helpers/helpers/compute.js","addon-tree-output/ember-composable-helpers/helpers/contains.js","addon-tree-output/ember-composable-helpers/helpers/dec.js","addon-tree-output/ember-composable-helpers/helpers/drop.js","addon-tree-output/ember-composable-helpers/helpers/entries.js","addon-tree-output/ember-composable-helpers/helpers/filter-by.js","addon-tree-output/ember-composable-helpers/helpers/filter.js","addon-tree-output/ember-composable-helpers/helpers/find-by.js","addon-tree-output/ember-composable-helpers/helpers/flatten.js","addon-tree-output/ember-composable-helpers/helpers/from-entries.js","addon-tree-output/ember-composable-helpers/helpers/group-by.js","addon-tree-output/ember-composable-helpers/helpers/has-next.js","addon-tree-output/ember-composable-helpers/helpers/has-previous.js","addon-tree-output/ember-composable-helpers/helpers/inc.js","addon-tree-output/ember-composable-helpers/helpers/includes.js","addon-tree-output/ember-composable-helpers/helpers/intersect.js","addon-tree-output/ember-composable-helpers/helpers/invoke.js","addon-tree-output/ember-composable-helpers/helpers/join.js","addon-tree-output/ember-composable-helpers/helpers/keys.js","addon-tree-output/ember-composable-helpers/helpers/map-by.js","addon-tree-output/ember-composable-helpers/helpers/map.js","addon-tree-output/ember-composable-helpers/helpers/next.js","addon-tree-output/ember-composable-helpers/helpers/noop.js","addon-tree-output/ember-composable-helpers/helpers/object-at.js","addon-tree-output/ember-composable-helpers/helpers/optional.js","addon-tree-output/ember-composable-helpers/helpers/pick.js","addon-tree-output/ember-composable-helpers/helpers/pipe-action.js","addon-tree-output/ember-composable-helpers/helpers/pipe.js","addon-tree-output/ember-composable-helpers/helpers/previous.js","addon-tree-output/ember-composable-helpers/helpers/queue.js","addon-tree-output/ember-composable-helpers/helpers/range.js","addon-tree-output/ember-composable-helpers/helpers/reduce.js","addon-tree-output/ember-composable-helpers/helpers/reject-by.js","addon-tree-output/ember-composable-helpers/helpers/repeat.js","addon-tree-output/ember-composable-helpers/helpers/reverse.js","addon-tree-output/ember-composable-helpers/helpers/shuffle.js","addon-tree-output/ember-composable-helpers/helpers/slice.js","addon-tree-output/ember-composable-helpers/helpers/sort-by.js","addon-tree-output/ember-composable-helpers/helpers/take.js","addon-tree-output/ember-composable-helpers/helpers/toggle-action.js","addon-tree-output/ember-composable-helpers/helpers/toggle.js","addon-tree-output/ember-composable-helpers/helpers/union.js","addon-tree-output/ember-composable-helpers/helpers/values.js","addon-tree-output/ember-composable-helpers/helpers/without.js","addon-tree-output/ember-composable-helpers/index.js","addon-tree-output/ember-composable-helpers/utils/as-array.js","addon-tree-output/ember-composable-helpers/utils/comparison.js","addon-tree-output/ember-composable-helpers/utils/get-index.js","addon-tree-output/ember-composable-helpers/utils/includes.js","addon-tree-output/ember-composable-helpers/utils/is-equal.js","addon-tree-output/ember-composable-helpers/utils/is-object.js","addon-tree-output/ember-composable-helpers/utils/is-promise.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/-private/async-arrow-runtime.js","addon-tree-output/ember-concurrency/-private/cancelable-promise-helpers.js","addon-tree-output/ember-concurrency/-private/ember-environment.js","addon-tree-output/ember-concurrency/-private/external/environment.js","addon-tree-output/ember-concurrency/-private/external/generator-state.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/bounded-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/drop-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/enqueued-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/execution-states.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/keep-latest-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/restartable-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/policies/unbounded-policy.js","addon-tree-output/ember-concurrency/-private/external/scheduler/refresh.js","addon-tree-output/ember-concurrency/-private/external/scheduler/scheduler.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/null-state.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/state-tracker.js","addon-tree-output/ember-concurrency/-private/external/scheduler/state-tracker/state.js","addon-tree-output/ember-concurrency/-private/external/task-decorators.js","addon-tree-output/ember-concurrency/-private/external/task-factory.js","addon-tree-output/ember-concurrency/-private/external/task-instance/base.js","addon-tree-output/ember-concurrency/-private/external/task-instance/cancelation.js","addon-tree-output/ember-concurrency/-private/external/task-instance/completion-states.js","addon-tree-output/ember-concurrency/-private/external/task-instance/executor.js","addon-tree-output/ember-concurrency/-private/external/task-instance/initial-state.js","addon-tree-output/ember-concurrency/-private/external/task/default-state.js","addon-tree-output/ember-concurrency/-private/external/task/task-group.js","addon-tree-output/ember-concurrency/-private/external/task/task.js","addon-tree-output/ember-concurrency/-private/external/task/taskable.js","addon-tree-output/ember-concurrency/-private/external/yieldables.js","addon-tree-output/ember-concurrency/-private/helpers.js","addon-tree-output/ember-concurrency/-private/scheduler/ember-scheduler.js","addon-tree-output/ember-concurrency/-private/task-decorators.js","addon-tree-output/ember-concurrency/-private/task-factory.js","addon-tree-output/ember-concurrency/-private/task-group.js","addon-tree-output/ember-concurrency/-private/task-instance.js","addon-tree-output/ember-concurrency/-private/task-properties.js","addon-tree-output/ember-concurrency/-private/task-public-api.js","addon-tree-output/ember-concurrency/-private/task.js","addon-tree-output/ember-concurrency/-private/taskable-mixin.js","addon-tree-output/ember-concurrency/-private/tracked-state.js","addon-tree-output/ember-concurrency/-private/utils.js","addon-tree-output/ember-concurrency/-private/wait-for.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-cookies/services/cookies.js","addon-tree-output/ember-cookies/utils/serialize-cookie.js","addon-tree-output/ember-copy/copy.js","addon-tree-output/ember-copy/copyable.js","addon-tree-output/ember-copy/index.js","addon-tree-output/ember-cp-validations/-private/ember-internals.js","addon-tree-output/ember-cp-validations/-private/ember-validator.js","addon-tree-output/ember-cp-validations/-private/internal-result-object.js","addon-tree-output/ember-cp-validations/-private/options.js","addon-tree-output/ember-cp-validations/-private/result.js","addon-tree-output/ember-cp-validations/-private/symbols.js","addon-tree-output/ember-cp-validations/index.js","addon-tree-output/ember-cp-validations/utils/array.js","addon-tree-output/ember-cp-validations/utils/cycle-breaker.js","addon-tree-output/ember-cp-validations/utils/deep-set.js","addon-tree-output/ember-cp-validations/utils/get-with-default.js","addon-tree-output/ember-cp-validations/utils/lookup-validator.js","addon-tree-output/ember-cp-validations/utils/meta-data.js","addon-tree-output/ember-cp-validations/utils/should-call-super.js","addon-tree-output/ember-cp-validations/utils/utils.js","addon-tree-output/ember-cp-validations/validations/error.js","addon-tree-output/ember-cp-validations/validations/factory.js","addon-tree-output/ember-cp-validations/validations/result-collection.js","addon-tree-output/ember-cp-validations/validations/validator.js","addon-tree-output/ember-cp-validations/validations/warning-result-collection.js","addon-tree-output/ember-cp-validations/validators/alias.js","addon-tree-output/ember-cp-validations/validators/base.js","addon-tree-output/ember-cp-validations/validators/belongs-to.js","addon-tree-output/ember-cp-validations/validators/collection.js","addon-tree-output/ember-cp-validations/validators/confirmation.js","addon-tree-output/ember-cp-validations/validators/date.js","addon-tree-output/ember-cp-validations/validators/dependent.js","addon-tree-output/ember-cp-validations/validators/ds-error.js","addon-tree-output/ember-cp-validations/validators/exclusion.js","addon-tree-output/ember-cp-validations/validators/format.js","addon-tree-output/ember-cp-validations/validators/has-many.js","addon-tree-output/ember-cp-validations/validators/inclusion.js","addon-tree-output/ember-cp-validations/validators/inline.js","addon-tree-output/ember-cp-validations/validators/length.js","addon-tree-output/ember-cp-validations/validators/messages.js","addon-tree-output/ember-cp-validations/validators/number.js","addon-tree-output/ember-cp-validations/validators/presence.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-debug-logger/index.js","addon-tree-output/ember-debug-logger/utils/debug-logger.js","addon-tree-output/ember-drag-drop/components/draggable-object-target.js","addon-tree-output/ember-drag-drop/components/draggable-object.js","addon-tree-output/ember-drag-drop/components/object-bin.js","addon-tree-output/ember-drag-drop/components/sortable-objects.js","addon-tree-output/ember-drag-drop/mixins/droppable.js","addon-tree-output/ember-drag-drop/services/drag-coordinator.js","addon-tree-output/ember-drag-drop/utils/proxy-unproxy-objects.js","addon-tree-output/ember-element-helper/helpers/-element.js","addon-tree-output/ember-element-helper/helpers/element.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-file-upload/components/base-component.js","addon-tree-output/ember-file-upload/components/file-dropzone/component.js","addon-tree-output/ember-file-upload/components/file-dropzone/template.js","addon-tree-output/ember-file-upload/components/file-upload/component.js","addon-tree-output/ember-file-upload/components/file-upload/template.js","addon-tree-output/ember-file-upload/computed/sum-by.js","addon-tree-output/ember-file-upload/file.js","addon-tree-output/ember-file-upload/helpers/file-queue.js","addon-tree-output/ember-file-upload/mirage/index.js","addon-tree-output/ember-file-upload/mirage/utils.js","addon-tree-output/ember-file-upload/mixins/with-files.js","addon-tree-output/ember-file-upload/queue.js","addon-tree-output/ember-file-upload/services/file-queue.js","addon-tree-output/ember-file-upload/system/data-transfer.js","addon-tree-output/ember-file-upload/system/drag-listener.js","addon-tree-output/ember-file-upload/system/file-reader.js","addon-tree-output/ember-file-upload/system/http-request.js","addon-tree-output/ember-file-upload/system/parse-html.js","addon-tree-output/ember-file-upload/system/parse-json.js","addon-tree-output/ember-file-upload/system/parse-xml.js","addon-tree-output/ember-file-upload/system/uuid.js","addon-tree-output/ember-gesture-modifiers/modifiers/did-pan.js","addon-tree-output/ember-gesture-modifiers/utils/parse-touch-data.js","addon-tree-output/ember-get-config/index.js","addon-tree-output/ember-google-charts/components/area-chart.js","addon-tree-output/ember-google-charts/components/bar-chart.js","addon-tree-output/ember-google-charts/components/geo-chart.js","addon-tree-output/ember-google-charts/components/google-chart.js","addon-tree-output/ember-google-charts/components/line-chart.js","addon-tree-output/ember-google-charts/components/pie-chart.js","addon-tree-output/ember-google-charts/components/scatter-chart.js","addon-tree-output/ember-google-charts/services/google-charts.js","addon-tree-output/ember-google-charts/utils/format-data.js","addon-tree-output/ember-google-charts/utils/get-visualization-name.js","addon-tree-output/ember-google-charts/utils/merge.js","addon-tree-output/ember-google-charts/utils/render-chart.js","addon-tree-output/ember-google-charts/utils/render-classic-chart.js","addon-tree-output/ember-google-charts/utils/render-material-chart.js","addon-tree-output/ember-google-charts/utils/visualization-names.js","addon-tree-output/ember-ignore-children-helper/helpers/ignore-children.js","addon-tree-output/ember-inflector/index.js","addon-tree-output/ember-inflector/lib/ext/string.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-load-initializers/index.js","addon-tree-output/ember-local-storage/adapters/adapter.js","addon-tree-output/ember-local-storage/adapters/base.js","addon-tree-output/ember-local-storage/adapters/local.js","addon-tree-output/ember-local-storage/adapters/session.js","addon-tree-output/ember-local-storage/helpers/import-export.js","addon-tree-output/ember-local-storage/helpers/storage.js","addon-tree-output/ember-local-storage/helpers/utils.js","addon-tree-output/ember-local-storage/index.js","addon-tree-output/ember-local-storage/initializers/local-storage-adapter.js","addon-tree-output/ember-local-storage/local/array.js","addon-tree-output/ember-local-storage/local/object.js","addon-tree-output/ember-local-storage/mixins/adapters/import-export.js","addon-tree-output/ember-local-storage/mixins/array.js","addon-tree-output/ember-local-storage/mixins/object.js","addon-tree-output/ember-local-storage/mixins/storage.js","addon-tree-output/ember-local-storage/serializers/serializer.js","addon-tree-output/ember-local-storage/session/array.js","addon-tree-output/ember-local-storage/session/object.js","addon-tree-output/ember-math-helpers/helpers/abs.js","addon-tree-output/ember-math-helpers/helpers/acos.js","addon-tree-output/ember-math-helpers/helpers/acosh.js","addon-tree-output/ember-math-helpers/helpers/add.js","addon-tree-output/ember-math-helpers/helpers/asin.js","addon-tree-output/ember-math-helpers/helpers/asinh.js","addon-tree-output/ember-math-helpers/helpers/atan.js","addon-tree-output/ember-math-helpers/helpers/atan2.js","addon-tree-output/ember-math-helpers/helpers/atanh.js","addon-tree-output/ember-math-helpers/helpers/cbrt.js","addon-tree-output/ember-math-helpers/helpers/ceil.js","addon-tree-output/ember-math-helpers/helpers/clz32.js","addon-tree-output/ember-math-helpers/helpers/cos.js","addon-tree-output/ember-math-helpers/helpers/cosh.js","addon-tree-output/ember-math-helpers/helpers/div.js","addon-tree-output/ember-math-helpers/helpers/exp.js","addon-tree-output/ember-math-helpers/helpers/expm1.js","addon-tree-output/ember-math-helpers/helpers/floor.js","addon-tree-output/ember-math-helpers/helpers/fround.js","addon-tree-output/ember-math-helpers/helpers/gcd.js","addon-tree-output/ember-math-helpers/helpers/hypot.js","addon-tree-output/ember-math-helpers/helpers/imul.js","addon-tree-output/ember-math-helpers/helpers/lcm.js","addon-tree-output/ember-math-helpers/helpers/log-e.js","addon-tree-output/ember-math-helpers/helpers/log10.js","addon-tree-output/ember-math-helpers/helpers/log1p.js","addon-tree-output/ember-math-helpers/helpers/log2.js","addon-tree-output/ember-math-helpers/helpers/max.js","addon-tree-output/ember-math-helpers/helpers/min.js","addon-tree-output/ember-math-helpers/helpers/mod.js","addon-tree-output/ember-math-helpers/helpers/mult.js","addon-tree-output/ember-math-helpers/helpers/pow.js","addon-tree-output/ember-math-helpers/helpers/random.js","addon-tree-output/ember-math-helpers/helpers/round.js","addon-tree-output/ember-math-helpers/helpers/sign.js","addon-tree-output/ember-math-helpers/helpers/sin.js","addon-tree-output/ember-math-helpers/helpers/sqrt.js","addon-tree-output/ember-math-helpers/helpers/sub.js","addon-tree-output/ember-math-helpers/helpers/sum.js","addon-tree-output/ember-math-helpers/helpers/tan.js","addon-tree-output/ember-math-helpers/helpers/tanh.js","addon-tree-output/ember-math-helpers/helpers/trunc.js","addon-tree-output/ember-maybe-in-element/components/maybe-in-element.js","addon-tree-output/ember-message-bus/services/message-bus.js","addon-tree-output/ember-modal-dialog/components/basic-dialog.js","addon-tree-output/ember-modal-dialog/components/in-place-dialog.js","addon-tree-output/ember-modal-dialog/components/liquid-dialog.js","addon-tree-output/ember-modal-dialog/components/liquid-tether-dialog.js","addon-tree-output/ember-modal-dialog/components/modal-dialog.js","addon-tree-output/ember-modal-dialog/components/positioned-container.js","addon-tree-output/ember-modal-dialog/components/tether-dialog.js","addon-tree-output/ember-modal-dialog/initializers/add-modals-container.js","addon-tree-output/ember-modal-dialog/templates/components/basic-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/in-place-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/liquid-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/liquid-tether-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/modal-dialog.js","addon-tree-output/ember-modal-dialog/templates/components/tether-dialog.js","addon-tree-output/ember-models-table/components/models-table-server-paginated.js","addon-tree-output/ember-models-table/components/models-table.js","addon-tree-output/ember-models-table/components/models-table/cell-column-summary.js","addon-tree-output/ember-models-table/components/models-table/cell-content-display.js","addon-tree-output/ember-models-table/components/models-table/cell-content-edit.js","addon-tree-output/ember-models-table/components/models-table/cell-edit-toggle.js","addon-tree-output/ember-models-table/components/models-table/cell.js","addon-tree-output/ember-models-table/components/models-table/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/columns-hidden.js","addon-tree-output/ember-models-table/components/models-table/data-group-by-select.js","addon-tree-output/ember-models-table/components/models-table/expand-all-toggle.js","addon-tree-output/ember-models-table/components/models-table/expand-toggle.js","addon-tree-output/ember-models-table/components/models-table/footer.js","addon-tree-output/ember-models-table/components/models-table/global-filter.js","addon-tree-output/ember-models-table/components/models-table/group-summary-row.js","addon-tree-output/ember-models-table/components/models-table/grouped-header.js","addon-tree-output/ember-models-table/components/models-table/no-data.js","addon-tree-output/ember-models-table/components/models-table/page-size-select.js","addon-tree-output/ember-models-table/components/models-table/pagination-numeric.js","addon-tree-output/ember-models-table/components/models-table/pagination-simple.js","addon-tree-output/ember-models-table/components/models-table/row-expand.js","addon-tree-output/ember-models-table/components/models-table/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/row-filtering.js","addon-tree-output/ember-models-table/components/models-table/row-group-toggle.js","addon-tree-output/ember-models-table/components/models-table/row-grouping.js","addon-tree-output/ember-models-table/components/models-table/row-select-all-checkbox.js","addon-tree-output/ember-models-table/components/models-table/row-select-checkbox.js","addon-tree-output/ember-models-table/components/models-table/row-sorting-cell.js","addon-tree-output/ember-models-table/components/models-table/row-sorting.js","addon-tree-output/ember-models-table/components/models-table/row.js","addon-tree-output/ember-models-table/components/models-table/select.js","addon-tree-output/ember-models-table/components/models-table/summary.js","addon-tree-output/ember-models-table/components/models-table/table-body.js","addon-tree-output/ember-models-table/components/models-table/table-footer.js","addon-tree-output/ember-models-table/components/models-table/table-header.js","addon-tree-output/ember-models-table/components/models-table/table.js","addon-tree-output/ember-models-table/components/models-table/themes/bootstrap3/row-select-all-checkbox.js","addon-tree-output/ember-models-table/components/models-table/themes/bootstrap4/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/themes/bootstrap4/data-group-by-select.js","addon-tree-output/ember-models-table/components/models-table/themes/bootstrap4/global-filter.js","addon-tree-output/ember-models-table/components/models-table/themes/bootstrap4/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/data-group-by-select.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/global-filter.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v3/summary.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v4/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v4/data-group-by-select.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v4/global-filter.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-bootstrap-v4/summary.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/cell-content-edit.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/cell-edit-toggle.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/data-group-by-select.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/expand-all-toggle.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/expand-toggle.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/global-filter.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/page-size-select.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/pagination-numeric.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/pagination-simple.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/row-select-all-checkbox.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/row-select-checkbox.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/row-sorting-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/select.js","addon-tree-output/ember-models-table/components/models-table/themes/ember-paper/summary.js","addon-tree-output/ember-models-table/components/models-table/themes/plain-html/columns-dropdown.js","addon-tree-output/ember-models-table/components/models-table/themes/plain-html/global-filter.js","addon-tree-output/ember-models-table/components/models-table/themes/plain-html/row-filtering-cell.js","addon-tree-output/ember-models-table/components/models-table/themes/plain-html/summary.js","addon-tree-output/ember-models-table/constants/sort-constants.js","addon-tree-output/ember-models-table/helpers/and.js","addon-tree-output/ember-models-table/helpers/exists-in.js","addon-tree-output/ember-models-table/helpers/html-safe.js","addon-tree-output/ember-models-table/helpers/is-equal.js","addon-tree-output/ember-models-table/helpers/not-eq.js","addon-tree-output/ember-models-table/helpers/option-is-object.js","addon-tree-output/ember-models-table/helpers/stringify.js","addon-tree-output/ember-models-table/initializers/emt-themes.js","addon-tree-output/ember-models-table/instance-initializers/emt-inject.js","addon-tree-output/ember-models-table/templates/components/models-table.js","addon-tree-output/ember-models-table/templates/components/models-table/cell-column-summary.js","addon-tree-output/ember-models-table/templates/components/models-table/cell-content-display.js","addon-tree-output/ember-models-table/templates/components/models-table/cell-content-edit.js","addon-tree-output/ember-models-table/templates/components/models-table/cell-edit-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/cell.js","addon-tree-output/ember-models-table/templates/components/models-table/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/columns-hidden.js","addon-tree-output/ember-models-table/templates/components/models-table/data-group-by-select.js","addon-tree-output/ember-models-table/templates/components/models-table/expand-all-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/expand-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/footer.js","addon-tree-output/ember-models-table/templates/components/models-table/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/group-summary-row.js","addon-tree-output/ember-models-table/templates/components/models-table/grouped-header.js","addon-tree-output/ember-models-table/templates/components/models-table/no-data.js","addon-tree-output/ember-models-table/templates/components/models-table/page-size-select.js","addon-tree-output/ember-models-table/templates/components/models-table/pagination-numeric.js","addon-tree-output/ember-models-table/templates/components/models-table/pagination-simple.js","addon-tree-output/ember-models-table/templates/components/models-table/row-expand.js","addon-tree-output/ember-models-table/templates/components/models-table/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/row-filtering.js","addon-tree-output/ember-models-table/templates/components/models-table/row-group-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/row-grouping.js","addon-tree-output/ember-models-table/templates/components/models-table/row-select-all-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/row-select-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/row-sorting-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/row-sorting.js","addon-tree-output/ember-models-table/templates/components/models-table/row.js","addon-tree-output/ember-models-table/templates/components/models-table/select.js","addon-tree-output/ember-models-table/templates/components/models-table/summary.js","addon-tree-output/ember-models-table/templates/components/models-table/table-body.js","addon-tree-output/ember-models-table/templates/components/models-table/table-footer.js","addon-tree-output/ember-models-table/templates/components/models-table/table-header.js","addon-tree-output/ember-models-table/templates/components/models-table/table.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/bootstrap3/row-select-all-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/bootstrap4/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/bootstrap4/data-group-by-select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/bootstrap4/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/bootstrap4/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/data-group-by-select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/summary.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/data-group-by-select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/summary.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/cell-content-edit.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/cell-edit-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/data-group-by-select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/expand-all-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/expand-toggle.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/page-size-select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/pagination-numeric.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/pagination-simple.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/row-select-all-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/row-select-checkbox.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/row-sorting-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/select.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/ember-paper/summary.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/plain-html/columns-dropdown.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/plain-html/global-filter.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/plain-html/row-filtering-cell.js","addon-tree-output/ember-models-table/templates/components/models-table/themes/plain-html/summary.js","addon-tree-output/ember-models-table/themes/bootstrap3.js","addon-tree-output/ember-models-table/themes/bootstrap4.js","addon-tree-output/ember-models-table/themes/default.js","addon-tree-output/ember-models-table/themes/ember-bootstrap-v3.js","addon-tree-output/ember-models-table/themes/ember-bootstrap-v4.js","addon-tree-output/ember-models-table/themes/ember-paper.js","addon-tree-output/ember-models-table/themes/plain-html.js","addon-tree-output/ember-models-table/utils/better-compare.js","addon-tree-output/ember-models-table/utils/column.js","addon-tree-output/ember-models-table/utils/fmt.js","addon-tree-output/ember-models-table/utils/macros.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/function-based/modifier-manager.js","addon-tree-output/ember-modifier/-private/function-based/modifier.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/opaque.js","addon-tree-output/ember-modifier/-private/signature.js","addon-tree-output/ember-modifier/index.js","addon-tree-output/ember-multiselect-checkboxes/components/multiselect-checkboxes.js","addon-tree-output/ember-multiselect-checkboxes/templates/components/multiselect-checkboxes.js","addon-tree-output/ember-named-blocks-polyfill/helpers/-has-block-params.js","addon-tree-output/ember-named-blocks-polyfill/helpers/-has-block.js","addon-tree-output/ember-named-blocks-polyfill/helpers/-is-named-block-invocation.js","addon-tree-output/ember-named-blocks-polyfill/helpers/-named-block-invocation.js","addon-tree-output/ember-named-blocks-polyfill/index.js","addon-tree-output/ember-notify/components/ember-notify.js","addon-tree-output/ember-notify/components/ember-notify/message.js","addon-tree-output/ember-notify/index.js","addon-tree-output/ember-notify/initializer.js","addon-tree-output/ember-notify/message.js","addon-tree-output/ember-notify/templates/components/ember-notify.js","addon-tree-output/ember-notify/templates/components/ember-notify/message.js","addon-tree-output/ember-on-helper/helpers/on-document.js","addon-tree-output/ember-on-helper/helpers/on-window.js","addon-tree-output/ember-on-helper/helpers/on.js","addon-tree-output/ember-on-helper/utils/event-listener.js","addon-tree-output/ember-orbit/-private/cache.js","addon-tree-output/ember-orbit/-private/factories/coordinator-factory.js","addon-tree-output/ember-orbit/-private/factories/key-map-factory.js","addon-tree-output/ember-orbit/-private/factories/memory-source-factory.js","addon-tree-output/ember-orbit/-private/factories/normalizer-factory.js","addon-tree-output/ember-orbit/-private/factories/schema-factory.js","addon-tree-output/ember-orbit/-private/factories/store-factory.js","addon-tree-output/ember-orbit/-private/factories/validator-factory.js","addon-tree-output/ember-orbit/-private/fields/attr.js","addon-tree-output/ember-orbit/-private/fields/has-many.js","addon-tree-output/ember-orbit/-private/fields/has-one.js","addon-tree-output/ember-orbit/-private/fields/key.js","addon-tree-output/ember-orbit/-private/live-query.js","addon-tree-output/ember-orbit/-private/model-factory.js","addon-tree-output/ember-orbit/-private/model.js","addon-tree-output/ember-orbit/-private/store.js","addon-tree-output/ember-orbit/-private/system/modules-of-type.js","addon-tree-output/ember-orbit/-private/utils/model-aware-normalizer.js","addon-tree-output/ember-orbit/-private/utils/model-aware-types.js","addon-tree-output/ember-orbit/-private/utils/model-definition.js","addon-tree-output/ember-orbit/-private/utils/model-fields.js","addon-tree-output/ember-orbit/-private/utils/property-cache.js","addon-tree-output/ember-orbit/-private/utils/record-identity-serializer.js","addon-tree-output/ember-orbit/-private/utils/standard-injections.js","addon-tree-output/ember-orbit/index.js","addon-tree-output/ember-orbit/initializers/ember-orbit-config.js","addon-tree-output/ember-orbit/initializers/ember-orbit-services.js","addon-tree-output/ember-page-title/helpers/page-title.js","addon-tree-output/ember-page-title/services/page-title-list.js","addon-tree-output/ember-page-title/services/page-title.js","addon-tree-output/ember-performance-tracking/initializers/route-perf.js","addon-tree-output/ember-performance-tracking/mixins/route-perf.js","addon-tree-output/ember-performance-tracking/services/performance-tracking.js","addon-tree-output/ember-popper-modifier/-base-popper-modifier.js","addon-tree-output/ember-popper-modifier/helpers/popper-modifier.js","addon-tree-output/ember-popper-modifier/in-runloop-modifier.js","addon-tree-output/ember-popper-modifier/index.js","addon-tree-output/ember-popper-modifier/modifiers/popper-tooltip.js","addon-tree-output/ember-popper-modifier/modifiers/popper.js","addon-tree-output/ember-power-select/components/power-select-multiple.js","addon-tree-output/ember-power-select/components/power-select-multiple/trigger.js","addon-tree-output/ember-power-select/components/power-select.js","addon-tree-output/ember-power-select/components/power-select/before-options.js","addon-tree-output/ember-power-select/components/power-select/no-matches-message.js","addon-tree-output/ember-power-select/components/power-select/options.js","addon-tree-output/ember-power-select/components/power-select/placeholder.js","addon-tree-output/ember-power-select/components/power-select/power-select-group.js","addon-tree-output/ember-power-select/components/power-select/search-message.js","addon-tree-output/ember-power-select/components/power-select/trigger.js","addon-tree-output/ember-power-select/helpers/ember-power-select-is-group.js","addon-tree-output/ember-power-select/helpers/ember-power-select-is-selected.js","addon-tree-output/ember-power-select/utils/computed-fallback-if-undefined.js","addon-tree-output/ember-power-select/utils/group-utils.js","addon-tree-output/ember-promise-helpers/helpers/await.js","addon-tree-output/ember-promise-helpers/helpers/is-fulfilled.js","addon-tree-output/ember-promise-helpers/helpers/is-pending.js","addon-tree-output/ember-promise-helpers/helpers/is-rejected.js","addon-tree-output/ember-promise-helpers/helpers/promise-all.js","addon-tree-output/ember-promise-helpers/helpers/promise-hash.js","addon-tree-output/ember-promise-helpers/helpers/promise-rejected-reason.js","addon-tree-output/ember-ref-bucket/helpers/ref-to.js","addon-tree-output/ember-ref-bucket/index.js","addon-tree-output/ember-ref-bucket/modifiers/create-ref.js","addon-tree-output/ember-ref-bucket/utils/prototype-reference.js","addon-tree-output/ember-ref-bucket/utils/ref.js","addon-tree-output/ember-render-helpers/helpers/did-insert-helper.js","addon-tree-output/ember-render-helpers/helpers/did-insert.js","addon-tree-output/ember-render-helpers/helpers/did-update-helper.js","addon-tree-output/ember-render-helpers/helpers/did-update.js","addon-tree-output/ember-render-helpers/helpers/will-destroy-helper.js","addon-tree-output/ember-render-helpers/helpers/will-destroy.js","addon-tree-output/ember-render-helpers/types.js","addon-tree-output/ember-require-module/index.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-route-action-helper/-private/internals.js","addon-tree-output/ember-route-action-helper/helpers/route-action.js","addon-tree-output/ember-scanner/components/code-scanner.js","addon-tree-output/ember-scanner/templates/code-scanner.js","addon-tree-output/ember-simple-auth/-internals/routing.js","addon-tree-output/ember-simple-auth/authenticators/base.js","addon-tree-output/ember-simple-auth/authenticators/devise.js","addon-tree-output/ember-simple-auth/authenticators/oauth2-implicit-grant.js","addon-tree-output/ember-simple-auth/authenticators/oauth2-password-grant.js","addon-tree-output/ember-simple-auth/authenticators/test.js","addon-tree-output/ember-simple-auth/authenticators/torii.js","addon-tree-output/ember-simple-auth/configuration.js","addon-tree-output/ember-simple-auth/initializers/setup-session-restoration.js","addon-tree-output/ember-simple-auth/initializers/setup-session.js","addon-tree-output/ember-simple-auth/internal-session.js","addon-tree-output/ember-simple-auth/mixins/application-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/authenticated-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/data-adapter-mixin.js","addon-tree-output/ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin.js","addon-tree-output/ember-simple-auth/mixins/unauthenticated-route-mixin.js","addon-tree-output/ember-simple-auth/services/session.js","addon-tree-output/ember-simple-auth/session-stores/adaptive.js","addon-tree-output/ember-simple-auth/session-stores/base.js","addon-tree-output/ember-simple-auth/session-stores/cookie.js","addon-tree-output/ember-simple-auth/session-stores/ephemeral.js","addon-tree-output/ember-simple-auth/session-stores/local-storage.js","addon-tree-output/ember-simple-auth/session-stores/session-storage.js","addon-tree-output/ember-simple-auth/use-session-setup-method.js","addon-tree-output/ember-simple-auth/utils/assign.js","addon-tree-output/ember-simple-auth/utils/inject.js","addon-tree-output/ember-simple-auth/utils/is-fastboot.js","addon-tree-output/ember-simple-auth/utils/location.js","addon-tree-output/ember-simple-auth/utils/objects-are-equal.js","addon-tree-output/ember-state-services/state-for.js","addon-tree-output/ember-style-modifier/modifiers/style.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/ember-text-measurer/services/text-measurer.js","addon-tree-output/ember-toastr/services/toast.js","addon-tree-output/ember-toggle/components/x-toggle-label.js","addon-tree-output/ember-toggle/components/x-toggle-switch.js","addon-tree-output/ember-toggle/components/x-toggle.js","addon-tree-output/ember-truth-helpers/helpers/and.js","addon-tree-output/ember-truth-helpers/helpers/eq.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-eq.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-validators/collection.js","addon-tree-output/ember-validators/confirmation.js","addon-tree-output/ember-validators/date.js","addon-tree-output/ember-validators/ds-error.js","addon-tree-output/ember-validators/exclusion.js","addon-tree-output/ember-validators/format.js","addon-tree-output/ember-validators/inclusion.js","addon-tree-output/ember-validators/index.js","addon-tree-output/ember-validators/length.js","addon-tree-output/ember-validators/messages.js","addon-tree-output/ember-validators/number.js","addon-tree-output/ember-validators/presence.js","addon-tree-output/ember-validators/utils/is-promise.js","addon-tree-output/ember-validators/utils/unwrap-proxy.js","addon-tree-output/ember-validators/utils/validation-error.js","addon-tree-output/ember-websockets/helpers.js","addon-tree-output/ember-websockets/helpers/socketio-proxy.js","addon-tree-output/ember-websockets/helpers/websocket-proxy.js","addon-tree-output/ember-websockets/services/socket-io.js","addon-tree-output/ember-websockets/services/websockets.js","addon-tree-output/ember-window-resize/initializers/window-resize.js","addon-tree-output/ember-window-resize/services/window-resize.js","addon-tree-output/ember-wormhole/components/ember-wormhole.js","addon-tree-output/ember-wormhole/templates/components/ember-wormhole.js","addon-tree-output/ember-wormhole/utils/dom.js","addon-tree-output/ivy-codemirror/components/ivy-codemirror.js","addon-tree-output/ivy-codemirror/services/code-mirror.js","addon-tree-output/liquid-fire/action.js","addon-tree-output/liquid-fire/animate.js","addon-tree-output/liquid-fire/components/illiquid-model.js","addon-tree-output/liquid-fire/components/lf-get-outlet-state.js","addon-tree-output/liquid-fire/components/liquid-bind.js","addon-tree-output/liquid-fire/components/liquid-child.js","addon-tree-output/liquid-fire/components/liquid-container.js","addon-tree-output/liquid-fire/components/liquid-if.js","addon-tree-output/liquid-fire/components/liquid-measured.js","addon-tree-output/liquid-fire/components/liquid-outlet.js","addon-tree-output/liquid-fire/components/liquid-spacer.js","addon-tree-output/liquid-fire/components/liquid-sync.js","addon-tree-output/liquid-fire/components/liquid-unless.js","addon-tree-output/liquid-fire/components/liquid-versions.js","addon-tree-output/liquid-fire/constrainables.js","addon-tree-output/liquid-fire/constraint.js","addon-tree-output/liquid-fire/constraints.js","addon-tree-output/liquid-fire/dsl.js","addon-tree-output/liquid-fire/ember-internals.js","addon-tree-output/liquid-fire/ember-internals/get-outlet-state.js","addon-tree-output/liquid-fire/helpers/lf-lock-model.js","addon-tree-output/liquid-fire/helpers/lf-or.js","addon-tree-output/liquid-fire/index.js","addon-tree-output/liquid-fire/is-browser.js","addon-tree-output/liquid-fire/mixins/growable.js","addon-tree-output/liquid-fire/mixins/pausable.js","addon-tree-output/liquid-fire/mutation-observer.js","addon-tree-output/liquid-fire/promise.js","addon-tree-output/liquid-fire/rule.js","addon-tree-output/liquid-fire/running-transition.js","addon-tree-output/liquid-fire/tabbable.js","addon-tree-output/liquid-fire/templates/components/get-outlet-state.js","addon-tree-output/liquid-fire/templates/components/illiquid-model.js","addon-tree-output/liquid-fire/templates/components/liquid-bind.js","addon-tree-output/liquid-fire/templates/components/liquid-container.js","addon-tree-output/liquid-fire/templates/components/liquid-if.js","addon-tree-output/liquid-fire/templates/components/liquid-measured.js","addon-tree-output/liquid-fire/templates/components/liquid-outlet.js","addon-tree-output/liquid-fire/templates/components/liquid-spacer.js","addon-tree-output/liquid-fire/templates/components/liquid-sync.js","addon-tree-output/liquid-fire/templates/components/liquid-versions.js","addon-tree-output/liquid-fire/transition-map.js","addon-tree-output/liquid-fire/transitions/cross-fade.js","addon-tree-output/liquid-fire/transitions/default.js","addon-tree-output/liquid-fire/transitions/explode.js","addon-tree-output/liquid-fire/transitions/fade.js","addon-tree-output/liquid-fire/transitions/flex-grow.js","addon-tree-output/liquid-fire/transitions/fly-to.js","addon-tree-output/liquid-fire/transitions/move-over.js","addon-tree-output/liquid-fire/transitions/scale.js","addon-tree-output/liquid-fire/transitions/scroll-then.js","addon-tree-output/liquid-fire/transitions/to-down.js","addon-tree-output/liquid-fire/transitions/to-left.js","addon-tree-output/liquid-fire/transitions/to-right.js","addon-tree-output/liquid-fire/transitions/to-up.js","addon-tree-output/liquid-fire/transitions/wait.js","addon-tree-output/liquid-fire/velocity-ext.js","addon-tree-output/sgb-object-graphs/components/save-canvas-as-png.js","addon-tree-output/sgb-object-graphs/components/sgb-ajax-base-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ajax-n-day-kw-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ajax-object-charts.js","addon-tree-output/sgb-object-graphs/components/sgb-ajax-singlestat-line-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ajax-singlestat-number.js","addon-tree-output/sgb-object-graphs/components/sgb-base-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-chart-refresh-widget.js","addon-tree-output/sgb-object-graphs/components/sgb-device-line-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ember-bar-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ember-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ember-line-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-ember-pie-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-group-watthours-bar-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-group-watthours-charts.js","addon-tree-output/sgb-object-graphs/components/sgb-group-watthours-pie-chart.js","addon-tree-output/sgb-object-graphs/components/sgb-hours-interval-link.js","addon-tree-output/sgb-object-graphs/components/sgb-singlestat-line-chart.js","addon-tree-output/sgb-object-graphs/helpers/humanize-interval.js","addon-tree-output/sgb-object-graphs/initializers/chartjs-text-overlay-plugin.js","addon-tree-output/sgb-object-graphs/mixins/has-object-chart-mixin.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-ajax-base-chart.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-ajax-singlestat-number.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-base-chart.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-chart-refresh-widget.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-group-watthours-charts.js","addon-tree-output/sgb-object-graphs/templates/components/sgb-hours-interval-link.js","addon-tree-output/tracked-toolbox/index.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 || {}, {\"uiClientAdapterApiHost\":\"\",\"sgbApi\":{\"host\":\"https://api.gridrabbit.com\",\"namespace\":\"api\",\"authUrl\":\"https://api.gridrabbit.com/api/auth\"},\"sgbLiveStreamSocket\":{\"host\":\"wss://wss.gridrabbit.com\"},\"uploadApi\":{\"host\":\"https://static.gridrabbit.com\",\"uploadUrl\":\"https://static.gridrabbit.com/uploadimage\",\"imageUrl\":\"https://static.gridrabbit.com/image/template\"},\"FEATURES\":{\"showObjectCharts\":true,\"showObjectChartsGroupWatthoursPieChart\":true,\"showObjectChartsGroupWatthoursBarChart\":true,\"topGroupCharts\":true,\"dashboardBarChart\":true,\"calgaryDashboard\":true,\"newDashboard\":true,\"residentalView\":true,\"floorplanView\":true,\"floorplanUpload\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\"]},\"buildingFloorplanEdit\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\"]},\"adminReports\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\"],\"forRoles\":[3,24]},\"adminBilling\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\"],\"forRoles\":[3,24]},\"systemSettings\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\",\"sameer-hyattrc\"]},\"devicePresets\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\",\"sameer-hyattrc\"]},\"createDevice\":{\"forUsers\":[\"grazina@sgb\",\"hw@sgb\",\"peterz@sgb\",\"isj@sgb\",\"laszlo@sgb\"],\"forRoles\":[3]}},\"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);","(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){\n_dereq_(276);\n_dereq_(212);\n_dereq_(214);\n_dereq_(213);\n_dereq_(216);\n_dereq_(218);\n_dereq_(223);\n_dereq_(217);\n_dereq_(215);\n_dereq_(225);\n_dereq_(224);\n_dereq_(220);\n_dereq_(221);\n_dereq_(219);\n_dereq_(211);\n_dereq_(222);\n_dereq_(226);\n_dereq_(227);\n_dereq_(178);\n_dereq_(180);\n_dereq_(179);\n_dereq_(229);\n_dereq_(228);\n_dereq_(199);\n_dereq_(209);\n_dereq_(210);\n_dereq_(200);\n_dereq_(201);\n_dereq_(202);\n_dereq_(203);\n_dereq_(204);\n_dereq_(205);\n_dereq_(206);\n_dereq_(207);\n_dereq_(208);\n_dereq_(182);\n_dereq_(183);\n_dereq_(184);\n_dereq_(185);\n_dereq_(186);\n_dereq_(187);\n_dereq_(188);\n_dereq_(189);\n_dereq_(190);\n_dereq_(191);\n_dereq_(192);\n_dereq_(193);\n_dereq_(194);\n_dereq_(195);\n_dereq_(196);\n_dereq_(197);\n_dereq_(198);\n_dereq_(263);\n_dereq_(268);\n_dereq_(275);\n_dereq_(266);\n_dereq_(258);\n_dereq_(259);\n_dereq_(264);\n_dereq_(269);\n_dereq_(271);\n_dereq_(254);\n_dereq_(255);\n_dereq_(256);\n_dereq_(257);\n_dereq_(260);\n_dereq_(261);\n_dereq_(262);\n_dereq_(265);\n_dereq_(267);\n_dereq_(270);\n_dereq_(272);\n_dereq_(273);\n_dereq_(274);\n_dereq_(173);\n_dereq_(175);\n_dereq_(174);\n_dereq_(177);\n_dereq_(176);\n_dereq_(161);\n_dereq_(159);\n_dereq_(166);\n_dereq_(163);\n_dereq_(169);\n_dereq_(171);\n_dereq_(158);\n_dereq_(165);\n_dereq_(155);\n_dereq_(170);\n_dereq_(153);\n_dereq_(168);\n_dereq_(167);\n_dereq_(160);\n_dereq_(164);\n_dereq_(152);\n_dereq_(154);\n_dereq_(157);\n_dereq_(156);\n_dereq_(172);\n_dereq_(162);\n_dereq_(245);\n_dereq_(246);\n_dereq_(252);\n_dereq_(247);\n_dereq_(248);\n_dereq_(249);\n_dereq_(250);\n_dereq_(251);\n_dereq_(230);\n_dereq_(181);\n_dereq_(253);\n_dereq_(288);\n_dereq_(289);\n_dereq_(277);\n_dereq_(278);\n_dereq_(283);\n_dereq_(286);\n_dereq_(287);\n_dereq_(281);\n_dereq_(284);\n_dereq_(282);\n_dereq_(285);\n_dereq_(279);\n_dereq_(280);\n_dereq_(231);\n_dereq_(232);\n_dereq_(233);\n_dereq_(234);\n_dereq_(235);\n_dereq_(238);\n_dereq_(236);\n_dereq_(237);\n_dereq_(239);\n_dereq_(240);\n_dereq_(241);\n_dereq_(242);\n_dereq_(244);\n_dereq_(243);\nmodule.exports = _dereq_(50);\n\n},{\"152\":152,\"153\":153,\"154\":154,\"155\":155,\"156\":156,\"157\":157,\"158\":158,\"159\":159,\"160\":160,\"161\":161,\"162\":162,\"163\":163,\"164\":164,\"165\":165,\"166\":166,\"167\":167,\"168\":168,\"169\":169,\"170\":170,\"171\":171,\"172\":172,\"173\":173,\"174\":174,\"175\":175,\"176\":176,\"177\":177,\"178\":178,\"179\":179,\"180\":180,\"181\":181,\"182\":182,\"183\":183,\"184\":184,\"185\":185,\"186\":186,\"187\":187,\"188\":188,\"189\":189,\"190\":190,\"191\":191,\"192\":192,\"193\":193,\"194\":194,\"195\":195,\"196\":196,\"197\":197,\"198\":198,\"199\":199,\"200\":200,\"201\":201,\"202\":202,\"203\":203,\"204\":204,\"205\":205,\"206\":206,\"207\":207,\"208\":208,\"209\":209,\"210\":210,\"211\":211,\"212\":212,\"213\":213,\"214\":214,\"215\":215,\"216\":216,\"217\":217,\"218\":218,\"219\":219,\"220\":220,\"221\":221,\"222\":222,\"223\":223,\"224\":224,\"225\":225,\"226\":226,\"227\":227,\"228\":228,\"229\":229,\"230\":230,\"231\":231,\"232\":232,\"233\":233,\"234\":234,\"235\":235,\"236\":236,\"237\":237,\"238\":238,\"239\":239,\"240\":240,\"241\":241,\"242\":242,\"243\":243,\"244\":244,\"245\":245,\"246\":246,\"247\":247,\"248\":248,\"249\":249,\"250\":250,\"251\":251,\"252\":252,\"253\":253,\"254\":254,\"255\":255,\"256\":256,\"257\":257,\"258\":258,\"259\":259,\"260\":260,\"261\":261,\"262\":262,\"263\":263,\"264\":264,\"265\":265,\"266\":266,\"267\":267,\"268\":268,\"269\":269,\"270\":270,\"271\":271,\"272\":272,\"273\":273,\"274\":274,\"275\":275,\"276\":276,\"277\":277,\"278\":278,\"279\":279,\"280\":280,\"281\":281,\"282\":282,\"283\":283,\"284\":284,\"285\":285,\"286\":286,\"287\":287,\"288\":288,\"289\":289,\"50\":50}],2:[function(_dereq_,module,exports){\n_dereq_(290);\nmodule.exports = _dereq_(50).Array.flatMap;\n\n},{\"290\":290,\"50\":50}],3:[function(_dereq_,module,exports){\n_dereq_(291);\nmodule.exports = _dereq_(50).Array.includes;\n\n},{\"291\":291,\"50\":50}],4:[function(_dereq_,module,exports){\n_dereq_(292);\nmodule.exports = _dereq_(50).Object.entries;\n\n},{\"292\":292,\"50\":50}],5:[function(_dereq_,module,exports){\n_dereq_(293);\nmodule.exports = _dereq_(50).Object.getOwnPropertyDescriptors;\n\n},{\"293\":293,\"50\":50}],6:[function(_dereq_,module,exports){\n_dereq_(294);\nmodule.exports = _dereq_(50).Object.values;\n\n},{\"294\":294,\"50\":50}],7:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(230);\n_dereq_(295);\nmodule.exports = _dereq_(50).Promise['finally'];\n\n},{\"230\":230,\"295\":295,\"50\":50}],8:[function(_dereq_,module,exports){\n_dereq_(296);\nmodule.exports = _dereq_(50).String.padEnd;\n\n},{\"296\":296,\"50\":50}],9:[function(_dereq_,module,exports){\n_dereq_(297);\nmodule.exports = _dereq_(50).String.padStart;\n\n},{\"297\":297,\"50\":50}],10:[function(_dereq_,module,exports){\n_dereq_(299);\nmodule.exports = _dereq_(50).String.trimRight;\n\n},{\"299\":299,\"50\":50}],11:[function(_dereq_,module,exports){\n_dereq_(298);\nmodule.exports = _dereq_(50).String.trimLeft;\n\n},{\"298\":298,\"50\":50}],12:[function(_dereq_,module,exports){\n_dereq_(300);\nmodule.exports = _dereq_(149).f('asyncIterator');\n\n},{\"149\":149,\"300\":300}],13:[function(_dereq_,module,exports){\n_dereq_(30);\nmodule.exports = _dereq_(16).global;\n\n},{\"16\":16,\"30\":30}],14:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n  return it;\n};\n\n},{}],15:[function(_dereq_,module,exports){\nvar isObject = _dereq_(26);\nmodule.exports = function (it) {\n  if (!isObject(it)) throw TypeError(it + ' is not an object!');\n  return it;\n};\n\n},{\"26\":26}],16:[function(_dereq_,module,exports){\nvar core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n},{}],17:[function(_dereq_,module,exports){\n// optional / simple context binding\nvar aFunction = _dereq_(14);\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n},{\"14\":14}],18:[function(_dereq_,module,exports){\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !_dereq_(21)(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"21\":21}],19:[function(_dereq_,module,exports){\nvar isObject = _dereq_(26);\nvar document = _dereq_(22).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n  return is ? document.createElement(it) : {};\n};\n\n},{\"22\":22,\"26\":26}],20:[function(_dereq_,module,exports){\nvar global = _dereq_(22);\nvar core = _dereq_(16);\nvar ctx = _dereq_(17);\nvar hide = _dereq_(24);\nvar has = _dereq_(23);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var IS_WRAP = type & $export.W;\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE];\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n  var key, own, out;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    if (own && has(exports, key)) continue;\n    // export native or passed\n    out = own ? target[key] : source[key];\n    // prevent global pollution for namespaces\n    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n    // bind timers to global for call from export context\n    : IS_BIND && own ? ctx(out, global)\n    // wrap global constructors for prevent change them in library\n    : IS_WRAP && target[key] == out ? (function (C) {\n      var F = function (a, b, c) {\n        if (this instanceof C) {\n          switch (arguments.length) {\n            case 0: return new C();\n            case 1: return new C(a);\n            case 2: return new C(a, b);\n          } return new C(a, b, c);\n        } return C.apply(this, arguments);\n      };\n      F[PROTOTYPE] = C[PROTOTYPE];\n      return F;\n    // make static versions for prototype methods\n    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n    if (IS_PROTO) {\n      (exports.virtual || (exports.virtual = {}))[key] = out;\n      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n    }\n  }\n};\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"16\":16,\"17\":17,\"22\":22,\"23\":23,\"24\":24}],21:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (e) {\n    return true;\n  }\n};\n\n},{}],22:[function(_dereq_,module,exports){\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self\n  // eslint-disable-next-line no-new-func\n  : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n},{}],23:[function(_dereq_,module,exports){\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n},{}],24:[function(_dereq_,module,exports){\nvar dP = _dereq_(27);\nvar createDesc = _dereq_(28);\nmodule.exports = _dereq_(18) ? function (object, key, value) {\n  return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n},{\"18\":18,\"27\":27,\"28\":28}],25:[function(_dereq_,module,exports){\nmodule.exports = !_dereq_(18) && !_dereq_(21)(function () {\n  return Object.defineProperty(_dereq_(19)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"18\":18,\"19\":19,\"21\":21}],26:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n},{}],27:[function(_dereq_,module,exports){\nvar anObject = _dereq_(15);\nvar IE8_DOM_DEFINE = _dereq_(25);\nvar toPrimitive = _dereq_(29);\nvar dP = Object.defineProperty;\n\nexports.f = _dereq_(18) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return dP(O, P, Attributes);\n  } catch (e) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n},{\"15\":15,\"18\":18,\"25\":25,\"29\":29}],28:[function(_dereq_,module,exports){\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n},{}],29:[function(_dereq_,module,exports){\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = _dereq_(26);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n},{\"26\":26}],30:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-global\nvar $export = _dereq_(20);\n\n$export($export.G, { global: _dereq_(22) });\n\n},{\"20\":20,\"22\":22}],31:[function(_dereq_,module,exports){\narguments[4][14][0].apply(exports,arguments)\n},{\"14\":14}],32:[function(_dereq_,module,exports){\nvar cof = _dereq_(46);\nmodule.exports = function (it, msg) {\n  if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n  return +it;\n};\n\n},{\"46\":46}],33:[function(_dereq_,module,exports){\n// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = _dereq_(150)('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) _dereq_(70)(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n\n},{\"150\":150,\"70\":70}],34:[function(_dereq_,module,exports){\n'use strict';\nvar at = _dereq_(127)(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n  return index + (unicode ? at(S, index).length : 1);\n};\n\n},{\"127\":127}],35:[function(_dereq_,module,exports){\nmodule.exports = function (it, Constructor, name, forbiddenField) {\n  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n    throw TypeError(name + ': incorrect invocation!');\n  } return it;\n};\n\n},{}],36:[function(_dereq_,module,exports){\narguments[4][15][0].apply(exports,arguments)\n},{\"15\":15,\"79\":79}],37:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = _dereq_(140);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n  var O = toObject(this);\n  var len = toLength(O.length);\n  var to = toAbsoluteIndex(target, len);\n  var from = toAbsoluteIndex(start, len);\n  var end = arguments.length > 2 ? arguments[2] : undefined;\n  var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n  var inc = 1;\n  if (from < to && to < from + count) {\n    inc = -1;\n    from += count - 1;\n    to += count - 1;\n  }\n  while (count-- > 0) {\n    if (from in O) O[to] = O[from];\n    else delete O[to];\n    to += inc;\n    from += inc;\n  } return O;\n};\n\n},{\"135\":135,\"139\":139,\"140\":140}],38:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = _dereq_(140);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n  var O = toObject(this);\n  var length = toLength(O.length);\n  var aLen = arguments.length;\n  var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n  var end = aLen > 2 ? arguments[2] : undefined;\n  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n  while (endPos > index) O[index++] = value;\n  return O;\n};\n\n},{\"135\":135,\"139\":139,\"140\":140}],39:[function(_dereq_,module,exports){\n// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = _dereq_(138);\nvar toLength = _dereq_(139);\nvar toAbsoluteIndex = _dereq_(135);\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\n},{\"135\":135,\"138\":138,\"139\":139}],40:[function(_dereq_,module,exports){\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = _dereq_(52);\nvar IObject = _dereq_(75);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar asc = _dereq_(43);\nmodule.exports = function (TYPE, $create) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  var create = $create || asc;\n  return function ($this, callbackfn, that) {\n    var O = toObject($this);\n    var self = IObject(O);\n    var f = ctx(callbackfn, that, 3);\n    var length = toLength(self.length);\n    var index = 0;\n    var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n    var val, res;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      val = self[index];\n      res = f(val, index, O);\n      if (TYPE) {\n        if (IS_MAP) result[index] = res;   // map\n        else if (res) switch (TYPE) {\n          case 3: return true;             // some\n          case 5: return val;              // find\n          case 6: return index;            // findIndex\n          case 2: result.push(val);        // filter\n        } else if (IS_EVERY) return false; // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n  };\n};\n\n},{\"139\":139,\"140\":140,\"43\":43,\"52\":52,\"75\":75}],41:[function(_dereq_,module,exports){\nvar aFunction = _dereq_(31);\nvar toObject = _dereq_(140);\nvar IObject = _dereq_(75);\nvar toLength = _dereq_(139);\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n  aFunction(callbackfn);\n  var O = toObject(that);\n  var self = IObject(O);\n  var length = toLength(O.length);\n  var index = isRight ? length - 1 : 0;\n  var i = isRight ? -1 : 1;\n  if (aLen < 2) for (;;) {\n    if (index in self) {\n      memo = self[index];\n      index += i;\n      break;\n    }\n    index += i;\n    if (isRight ? index < 0 : length <= index) {\n      throw TypeError('Reduce of empty array with no initial value');\n    }\n  }\n  for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n    memo = callbackfn(memo, self[index], index, O);\n  }\n  return memo;\n};\n\n},{\"139\":139,\"140\":140,\"31\":31,\"75\":75}],42:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nvar isArray = _dereq_(77);\nvar SPECIES = _dereq_(150)('species');\n\nmodule.exports = function (original) {\n  var C;\n  if (isArray(original)) {\n    C = original.constructor;\n    // cross-realm fallback\n    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n    if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return C === undefined ? Array : C;\n};\n\n},{\"150\":150,\"77\":77,\"79\":79}],43:[function(_dereq_,module,exports){\n// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = _dereq_(42);\n\nmodule.exports = function (original, length) {\n  return new (speciesConstructor(original))(length);\n};\n\n},{\"42\":42}],44:[function(_dereq_,module,exports){\n'use strict';\nvar aFunction = _dereq_(31);\nvar isObject = _dereq_(79);\nvar invoke = _dereq_(74);\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n  if (!(len in factories)) {\n    for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n    // eslint-disable-next-line no-new-func\n    factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n  } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n  var fn = aFunction(this);\n  var partArgs = arraySlice.call(arguments, 1);\n  var bound = function (/* args... */) {\n    var args = partArgs.concat(arraySlice.call(arguments));\n    return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n  };\n  if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n  return bound;\n};\n\n},{\"31\":31,\"74\":74,\"79\":79}],45:[function(_dereq_,module,exports){\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = _dereq_(46);\nvar TAG = _dereq_(150)('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n  var O, T, B;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n    // builtinTag case\n    : ARG ? cof(O)\n    // ES3 arguments fallback\n    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n},{\"150\":150,\"46\":46}],46:[function(_dereq_,module,exports){\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n},{}],47:[function(_dereq_,module,exports){\n'use strict';\nvar dP = _dereq_(97).f;\nvar create = _dereq_(96);\nvar redefineAll = _dereq_(115);\nvar ctx = _dereq_(52);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar $iterDefine = _dereq_(83);\nvar step = _dereq_(85);\nvar setSpecies = _dereq_(121);\nvar DESCRIPTORS = _dereq_(56);\nvar fastKey = _dereq_(92).fastKey;\nvar validate = _dereq_(147);\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n  // fast case\n  var index = fastKey(key);\n  var entry;\n  if (index !== 'F') return that._i[index];\n  // frozen object case\n  for (entry = that._f; entry; entry = entry.n) {\n    if (entry.k == key) return entry;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;         // collection type\n      that._i = create(null); // index\n      that._f = undefined;    // first entry\n      that._l = undefined;    // last entry\n      that[SIZE] = 0;         // size\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.1.3.1 Map.prototype.clear()\n      // 23.2.3.2 Set.prototype.clear()\n      clear: function clear() {\n        for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n          entry.r = true;\n          if (entry.p) entry.p = entry.p.n = undefined;\n          delete data[entry.i];\n        }\n        that._f = that._l = undefined;\n        that[SIZE] = 0;\n      },\n      // 23.1.3.3 Map.prototype.delete(key)\n      // 23.2.3.4 Set.prototype.delete(value)\n      'delete': function (key) {\n        var that = validate(this, NAME);\n        var entry = getEntry(that, key);\n        if (entry) {\n          var next = entry.n;\n          var prev = entry.p;\n          delete that._i[entry.i];\n          entry.r = true;\n          if (prev) prev.n = next;\n          if (next) next.p = prev;\n          if (that._f == entry) that._f = next;\n          if (that._l == entry) that._l = prev;\n          that[SIZE]--;\n        } return !!entry;\n      },\n      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n      forEach: function forEach(callbackfn /* , that = undefined */) {\n        validate(this, NAME);\n        var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n        var entry;\n        while (entry = entry ? entry.n : this._f) {\n          f(entry.v, entry.k, this);\n          // revert to the last existing entry\n          while (entry && entry.r) entry = entry.p;\n        }\n      },\n      // 23.1.3.7 Map.prototype.has(key)\n      // 23.2.3.7 Set.prototype.has(value)\n      has: function has(key) {\n        return !!getEntry(validate(this, NAME), key);\n      }\n    });\n    if (DESCRIPTORS) dP(C.prototype, 'size', {\n      get: function () {\n        return validate(this, NAME)[SIZE];\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var entry = getEntry(that, key);\n    var prev, index;\n    // change existing entry\n    if (entry) {\n      entry.v = value;\n    // create new entry\n    } else {\n      that._l = entry = {\n        i: index = fastKey(key, true), // <- index\n        k: key,                        // <- key\n        v: value,                      // <- value\n        p: prev = that._l,             // <- previous entry\n        n: undefined,                  // <- next entry\n        r: false                       // <- removed\n      };\n      if (!that._f) that._f = entry;\n      if (prev) prev.n = entry;\n      that[SIZE]++;\n      // add to index\n      if (index !== 'F') that._i[index] = entry;\n    } return that;\n  },\n  getEntry: getEntry,\n  setStrong: function (C, NAME, IS_MAP) {\n    // add .keys, .values, .entries, [@@iterator]\n    // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n    $iterDefine(C, NAME, function (iterated, kind) {\n      this._t = validate(iterated, NAME); // target\n      this._k = kind;                     // kind\n      this._l = undefined;                // previous\n    }, function () {\n      var that = this;\n      var kind = that._k;\n      var entry = that._l;\n      // revert to the last existing entry\n      while (entry && entry.r) entry = entry.p;\n      // get next entry\n      if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n        // or finish the iteration\n        that._t = undefined;\n        return step(1);\n      }\n      // return step by kind\n      if (kind == 'keys') return step(0, entry.k);\n      if (kind == 'values') return step(0, entry.v);\n      return step(0, [entry.k, entry.v]);\n    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n    // add [@@species], 23.1.2.2, 23.2.2.2\n    setSpecies(NAME);\n  }\n};\n\n},{\"115\":115,\"121\":121,\"147\":147,\"35\":35,\"52\":52,\"56\":56,\"66\":66,\"83\":83,\"85\":85,\"92\":92,\"96\":96,\"97\":97}],48:[function(_dereq_,module,exports){\n'use strict';\nvar redefineAll = _dereq_(115);\nvar getWeak = _dereq_(92).getWeak;\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar createArrayMethod = _dereq_(40);\nvar $has = _dereq_(69);\nvar validate = _dereq_(147);\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n  return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n  this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n  return arrayFind(store.a, function (it) {\n    return it[0] === key;\n  });\n};\nUncaughtFrozenStore.prototype = {\n  get: function (key) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) return entry[1];\n  },\n  has: function (key) {\n    return !!findUncaughtFrozen(this, key);\n  },\n  set: function (key, value) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) entry[1] = value;\n    else this.a.push([key, value]);\n  },\n  'delete': function (key) {\n    var index = arrayFindIndex(this.a, function (it) {\n      return it[0] === key;\n    });\n    if (~index) this.a.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;      // collection type\n      that._i = id++;      // collection id\n      that._l = undefined; // leak store for uncaught frozen objects\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.3.3.2 WeakMap.prototype.delete(key)\n      // 23.4.3.3 WeakSet.prototype.delete(value)\n      'delete': function (key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n        return data && $has(data, this._i) && delete data[this._i];\n      },\n      // 23.3.3.4 WeakMap.prototype.has(key)\n      // 23.4.3.4 WeakSet.prototype.has(value)\n      has: function has(key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n        return data && $has(data, this._i);\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var data = getWeak(anObject(key), true);\n    if (data === true) uncaughtFrozenStore(that).set(key, value);\n    else data[that._i] = value;\n    return that;\n  },\n  ufstore: uncaughtFrozenStore\n};\n\n},{\"115\":115,\"147\":147,\"35\":35,\"36\":36,\"40\":40,\"66\":66,\"69\":69,\"79\":79,\"92\":92}],49:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar redefineAll = _dereq_(115);\nvar meta = _dereq_(92);\nvar forOf = _dereq_(66);\nvar anInstance = _dereq_(35);\nvar isObject = _dereq_(79);\nvar fails = _dereq_(62);\nvar $iterDetect = _dereq_(84);\nvar setToStringTag = _dereq_(122);\nvar inheritIfRequired = _dereq_(73);\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n  var Base = global[NAME];\n  var C = Base;\n  var ADDER = IS_MAP ? 'set' : 'add';\n  var proto = C && C.prototype;\n  var O = {};\n  var fixMethod = function (KEY) {\n    var fn = proto[KEY];\n    redefine(proto, KEY,\n      KEY == 'delete' ? function (a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'has' ? function has(a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'get' ? function get(a) {\n        return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n        : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n    );\n  };\n  if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n    new C().entries().next();\n  }))) {\n    // create collection constructor\n    C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n    redefineAll(C.prototype, methods);\n    meta.NEED = true;\n  } else {\n    var instance = new C();\n    // early implementations not supports chaining\n    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n    // V8 ~  Chromium 40- weak-collections throws on primitives, but should return false\n    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n    // most early implementations doesn't supports iterables, most modern - not close it correctly\n    var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n    // for early implementations -0 and +0 not the same\n    var BUGGY_ZERO = !IS_WEAK && fails(function () {\n      // V8 ~ Chromium 42- fails only with 5+ elements\n      var $instance = new C();\n      var index = 5;\n      while (index--) $instance[ADDER](index, index);\n      return !$instance.has(-0);\n    });\n    if (!ACCEPT_ITERABLES) {\n      C = wrapper(function (target, iterable) {\n        anInstance(target, C, NAME);\n        var that = inheritIfRequired(new Base(), target, C);\n        if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n        return that;\n      });\n      C.prototype = proto;\n      proto.constructor = C;\n    }\n    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n    // weak collections should not contains .clear method\n    if (IS_WEAK && proto.clear) delete proto.clear;\n  }\n\n  setToStringTag(C, NAME);\n\n  O[NAME] = C;\n  $export($export.G + $export.W + $export.F * (C != Base), O);\n\n  if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n  return C;\n};\n\n},{\"115\":115,\"116\":116,\"122\":122,\"35\":35,\"60\":60,\"62\":62,\"66\":66,\"68\":68,\"73\":73,\"79\":79,\"84\":84,\"92\":92}],50:[function(_dereq_,module,exports){\narguments[4][16][0].apply(exports,arguments)\n},{\"16\":16}],51:[function(_dereq_,module,exports){\n'use strict';\nvar $defineProperty = _dereq_(97);\nvar createDesc = _dereq_(114);\n\nmodule.exports = function (object, index, value) {\n  if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n  else object[index] = value;\n};\n\n},{\"114\":114,\"97\":97}],52:[function(_dereq_,module,exports){\narguments[4][17][0].apply(exports,arguments)\n},{\"17\":17,\"31\":31}],53:[function(_dereq_,module,exports){\n'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = _dereq_(62);\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n  return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n  return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n  $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n  if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n  var d = this;\n  var y = d.getUTCFullYear();\n  var m = d.getUTCMilliseconds();\n  var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n  return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n    '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n    'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n    ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n\n},{\"62\":62}],54:[function(_dereq_,module,exports){\n'use strict';\nvar anObject = _dereq_(36);\nvar toPrimitive = _dereq_(141);\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n  if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n  return toPrimitive(anObject(this), hint != NUMBER);\n};\n\n},{\"141\":141,\"36\":36}],55:[function(_dereq_,module,exports){\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n\n},{}],56:[function(_dereq_,module,exports){\narguments[4][18][0].apply(exports,arguments)\n},{\"18\":18,\"62\":62}],57:[function(_dereq_,module,exports){\narguments[4][19][0].apply(exports,arguments)\n},{\"19\":19,\"68\":68,\"79\":79}],58:[function(_dereq_,module,exports){\n// IE 8- don't enum bug keys\nmodule.exports = (\n  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n},{}],59:[function(_dereq_,module,exports){\n// all enumerable object keys, includes symbols\nvar getKeys = _dereq_(105);\nvar gOPS = _dereq_(102);\nvar pIE = _dereq_(106);\nmodule.exports = function (it) {\n  var result = getKeys(it);\n  var getSymbols = gOPS.f;\n  if (getSymbols) {\n    var symbols = getSymbols(it);\n    var isEnum = pIE.f;\n    var i = 0;\n    var key;\n    while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n  } return result;\n};\n\n},{\"102\":102,\"105\":105,\"106\":106}],60:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar core = _dereq_(50);\nvar hide = _dereq_(70);\nvar redefine = _dereq_(116);\nvar ctx = _dereq_(52);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n  var key, own, out, exp;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if (target) redefine(target, key, out, type & $export.U);\n    // export\n    if (exports[key] != out) hide(exports, key, exp);\n    if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"116\":116,\"50\":50,\"52\":52,\"68\":68,\"70\":70}],61:[function(_dereq_,module,exports){\nvar MATCH = _dereq_(150)('match');\nmodule.exports = function (KEY) {\n  var re = /./;\n  try {\n    '/./'[KEY](re);\n  } catch (e) {\n    try {\n      re[MATCH] = false;\n      return !'/./'[KEY](re);\n    } catch (f) { /* empty */ }\n  } return true;\n};\n\n},{\"150\":150}],62:[function(_dereq_,module,exports){\narguments[4][21][0].apply(exports,arguments)\n},{\"21\":21}],63:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(246);\nvar redefine = _dereq_(116);\nvar hide = _dereq_(70);\nvar fails = _dereq_(62);\nvar defined = _dereq_(55);\nvar wks = _dereq_(150);\nvar regexpExec = _dereq_(118);\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n  // #replace needs built-in support for named groups.\n  // #match works fine because it just return the exec results, even if it has\n  // a \"grops\" property.\n  var re = /./;\n  re.exec = function () {\n    var result = [];\n    result.groups = { a: '7' };\n    return result;\n  };\n  return ''.replace(re, '$<a>') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n  // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n  var re = /(?:)/;\n  var originalExec = re.exec;\n  re.exec = function () { return originalExec.apply(this, arguments); };\n  var result = 'ab'.split(re);\n  return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n  var SYMBOL = wks(KEY);\n\n  var DELEGATES_TO_SYMBOL = !fails(function () {\n    // String methods call symbol-named RegEp methods\n    var O = {};\n    O[SYMBOL] = function () { return 7; };\n    return ''[KEY](O) != 7;\n  });\n\n  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n    // Symbol-named RegExp methods call .exec\n    var execCalled = false;\n    var re = /a/;\n    re.exec = function () { execCalled = true; return null; };\n    if (KEY === 'split') {\n      // RegExp[@@split] doesn't call the regex's exec method, but first creates\n      // a new one. We need to return the patched regex when creating the new one.\n      re.constructor = {};\n      re.constructor[SPECIES] = function () { return re; };\n    }\n    re[SYMBOL]('');\n    return !execCalled;\n  }) : undefined;\n\n  if (\n    !DELEGATES_TO_SYMBOL ||\n    !DELEGATES_TO_EXEC ||\n    (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n    (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n  ) {\n    var nativeRegExpMethod = /./[SYMBOL];\n    var fns = exec(\n      defined,\n      SYMBOL,\n      ''[KEY],\n      function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n        if (regexp.exec === regexpExec) {\n          if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n            // The native String method already delegates to @@method (this\n            // polyfilled function), leasing to infinite recursion.\n            // We avoid it by directly calling the native @@method method.\n            return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n          }\n          return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n        }\n        return { done: false };\n      }\n    );\n    var strfn = fns[0];\n    var rxfn = fns[1];\n\n    redefine(String.prototype, KEY, strfn);\n    hide(RegExp.prototype, SYMBOL, length == 2\n      // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n      // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n      ? function (string, arg) { return rxfn.call(string, this, arg); }\n      // 21.2.5.6 RegExp.prototype[@@match](string)\n      // 21.2.5.9 RegExp.prototype[@@search](string)\n      : function (string) { return rxfn.call(string, this); }\n    );\n  }\n};\n\n},{\"116\":116,\"118\":118,\"150\":150,\"246\":246,\"55\":55,\"62\":62,\"70\":70}],64:[function(_dereq_,module,exports){\n'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = _dereq_(36);\nmodule.exports = function () {\n  var that = anObject(this);\n  var result = '';\n  if (that.global) result += 'g';\n  if (that.ignoreCase) result += 'i';\n  if (that.multiline) result += 'm';\n  if (that.unicode) result += 'u';\n  if (that.sticky) result += 'y';\n  return result;\n};\n\n},{\"36\":36}],65:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = _dereq_(77);\nvar isObject = _dereq_(79);\nvar toLength = _dereq_(139);\nvar ctx = _dereq_(52);\nvar IS_CONCAT_SPREADABLE = _dereq_(150)('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n  var targetIndex = start;\n  var sourceIndex = 0;\n  var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n  var element, spreadable;\n\n  while (sourceIndex < sourceLen) {\n    if (sourceIndex in source) {\n      element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n      spreadable = false;\n      if (isObject(element)) {\n        spreadable = element[IS_CONCAT_SPREADABLE];\n        spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n      }\n\n      if (spreadable && depth > 0) {\n        targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n      } else {\n        if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n        target[targetIndex] = element;\n      }\n\n      targetIndex++;\n    }\n    sourceIndex++;\n  }\n  return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n},{\"139\":139,\"150\":150,\"52\":52,\"77\":77,\"79\":79}],66:[function(_dereq_,module,exports){\nvar ctx = _dereq_(52);\nvar call = _dereq_(81);\nvar isArrayIter = _dereq_(76);\nvar anObject = _dereq_(36);\nvar toLength = _dereq_(139);\nvar getIterFn = _dereq_(151);\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n  var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n  var f = ctx(fn, that, entries ? 2 : 1);\n  var index = 0;\n  var length, step, iterator, result;\n  if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n  // fast case for arrays with default iterator\n  if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n    result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n    if (result === BREAK || result === RETURN) return result;\n  } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n    result = call(iterator, f, step.value, entries);\n    if (result === BREAK || result === RETURN) return result;\n  }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n},{\"139\":139,\"151\":151,\"36\":36,\"52\":52,\"76\":76,\"81\":81}],67:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(124)('native-function-to-string', Function.toString);\n\n},{\"124\":124}],68:[function(_dereq_,module,exports){\narguments[4][22][0].apply(exports,arguments)\n},{\"22\":22}],69:[function(_dereq_,module,exports){\narguments[4][23][0].apply(exports,arguments)\n},{\"23\":23}],70:[function(_dereq_,module,exports){\narguments[4][24][0].apply(exports,arguments)\n},{\"114\":114,\"24\":24,\"56\":56,\"97\":97}],71:[function(_dereq_,module,exports){\nvar document = _dereq_(68).document;\nmodule.exports = document && document.documentElement;\n\n},{\"68\":68}],72:[function(_dereq_,module,exports){\narguments[4][25][0].apply(exports,arguments)\n},{\"25\":25,\"56\":56,\"57\":57,\"62\":62}],73:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nvar setPrototypeOf = _dereq_(120).set;\nmodule.exports = function (that, target, C) {\n  var S = target.constructor;\n  var P;\n  if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n    setPrototypeOf(that, P);\n  } return that;\n};\n\n},{\"120\":120,\"79\":79}],74:[function(_dereq_,module,exports){\n// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n  var un = that === undefined;\n  switch (args.length) {\n    case 0: return un ? fn()\n                      : fn.call(that);\n    case 1: return un ? fn(args[0])\n                      : fn.call(that, args[0]);\n    case 2: return un ? fn(args[0], args[1])\n                      : fn.call(that, args[0], args[1]);\n    case 3: return un ? fn(args[0], args[1], args[2])\n                      : fn.call(that, args[0], args[1], args[2]);\n    case 4: return un ? fn(args[0], args[1], args[2], args[3])\n                      : fn.call(that, args[0], args[1], args[2], args[3]);\n  } return fn.apply(that, args);\n};\n\n},{}],75:[function(_dereq_,module,exports){\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = _dereq_(46);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n},{\"46\":46}],76:[function(_dereq_,module,exports){\n// check on default Array iterator\nvar Iterators = _dereq_(86);\nvar ITERATOR = _dereq_(150)('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n},{\"150\":150,\"86\":86}],77:[function(_dereq_,module,exports){\n// 7.2.2 IsArray(argument)\nvar cof = _dereq_(46);\nmodule.exports = Array.isArray || function isArray(arg) {\n  return cof(arg) == 'Array';\n};\n\n},{\"46\":46}],78:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar isObject = _dereq_(79);\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n  return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n},{\"79\":79}],79:[function(_dereq_,module,exports){\narguments[4][26][0].apply(exports,arguments)\n},{\"26\":26}],80:[function(_dereq_,module,exports){\n// 7.2.8 IsRegExp(argument)\nvar isObject = _dereq_(79);\nvar cof = _dereq_(46);\nvar MATCH = _dereq_(150)('match');\nmodule.exports = function (it) {\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n\n},{\"150\":150,\"46\":46,\"79\":79}],81:[function(_dereq_,module,exports){\n// call something on iterator step with safe closing on error\nvar anObject = _dereq_(36);\nmodule.exports = function (iterator, fn, value, entries) {\n  try {\n    return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (e) {\n    var ret = iterator['return'];\n    if (ret !== undefined) anObject(ret.call(iterator));\n    throw e;\n  }\n};\n\n},{\"36\":36}],82:[function(_dereq_,module,exports){\n'use strict';\nvar create = _dereq_(96);\nvar descriptor = _dereq_(114);\nvar setToStringTag = _dereq_(122);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_dereq_(70)(IteratorPrototype, _dereq_(150)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n},{\"114\":114,\"122\":122,\"150\":150,\"70\":70,\"96\":96}],83:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(87);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar hide = _dereq_(70);\nvar Iterators = _dereq_(86);\nvar $iterCreate = _dereq_(82);\nvar setToStringTag = _dereq_(122);\nvar getPrototypeOf = _dereq_(103);\nvar ITERATOR = _dereq_(150)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function (kind) {\n    if (!BUGGY && kind in proto) return proto[kind];\n    switch (kind) {\n      case KEYS: return function keys() { return new Constructor(this, kind); };\n      case VALUES: return function values() { return new Constructor(this, kind); };\n    } return function entries() { return new Constructor(this, kind); };\n  };\n  var TAG = NAME + ' Iterator';\n  var DEF_VALUES = DEFAULT == VALUES;\n  var VALUES_BUG = false;\n  var proto = Base.prototype;\n  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n  var $default = $native || getMethod(DEFAULT);\n  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n  var methods, key, IteratorPrototype;\n  // Fix native\n  if ($anyNative) {\n    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n      // Set @@toStringTag to native iterators\n      setToStringTag(IteratorPrototype, TAG, true);\n      // fix for some old engines\n      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n    }\n  }\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEF_VALUES && $native && $native.name !== VALUES) {\n    VALUES_BUG = true;\n    $default = function values() { return $native.call(this); };\n  }\n  // Define iterator\n  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG] = returnThis;\n  if (DEFAULT) {\n    methods = {\n      values: DEF_VALUES ? $default : getMethod(VALUES),\n      keys: IS_SET ? $default : getMethod(KEYS),\n      entries: $entries\n    };\n    if (FORCED) for (key in methods) {\n      if (!(key in proto)) redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n\n},{\"103\":103,\"116\":116,\"122\":122,\"150\":150,\"60\":60,\"70\":70,\"82\":82,\"86\":86,\"87\":87}],84:[function(_dereq_,module,exports){\nvar ITERATOR = _dereq_(150)('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var riter = [7][ITERATOR]();\n  riter['return'] = function () { SAFE_CLOSING = true; };\n  // eslint-disable-next-line no-throw-literal\n  Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n  if (!skipClosing && !SAFE_CLOSING) return false;\n  var safe = false;\n  try {\n    var arr = [7];\n    var iter = arr[ITERATOR]();\n    iter.next = function () { return { done: safe = true }; };\n    arr[ITERATOR] = function () { return iter; };\n    exec(arr);\n  } catch (e) { /* empty */ }\n  return safe;\n};\n\n},{\"150\":150}],85:[function(_dereq_,module,exports){\nmodule.exports = function (done, value) {\n  return { value: value, done: !!done };\n};\n\n},{}],86:[function(_dereq_,module,exports){\nmodule.exports = {};\n\n},{}],87:[function(_dereq_,module,exports){\nmodule.exports = false;\n\n},{}],88:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n  // Old FF bug\n  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n  // Tor Browser bug\n  || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n\n},{}],89:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar sign = _dereq_(91);\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n  return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n  var $abs = Math.abs(x);\n  var $sign = sign(x);\n  var a, result;\n  if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n  a = (1 + EPSILON32 / EPSILON) * $abs;\n  result = a - (a - $abs);\n  // eslint-disable-next-line no-self-compare\n  if (result > MAX32 || result != result) return $sign * Infinity;\n  return $sign * result;\n};\n\n},{\"91\":91}],90:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n  return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n\n},{}],91:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n  // eslint-disable-next-line no-self-compare\n  return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n\n},{}],92:[function(_dereq_,module,exports){\nvar META = _dereq_(145)('meta');\nvar isObject = _dereq_(79);\nvar has = _dereq_(69);\nvar setDesc = _dereq_(97).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n  return true;\n};\nvar FREEZE = !_dereq_(62)(function () {\n  return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n  setDesc(it, META, { value: {\n    i: 'O' + ++id, // object ID\n    w: {}          // weak collections IDs\n  } });\n};\nvar fastKey = function (it, create) {\n  // return primitive with prefix\n  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return 'F';\n    // not necessary to add metadata\n    if (!create) return 'E';\n    // add missing metadata\n    setMeta(it);\n  // return object ID\n  } return it[META].i;\n};\nvar getWeak = function (it, create) {\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return true;\n    // not necessary to add metadata\n    if (!create) return false;\n    // add missing metadata\n    setMeta(it);\n  // return hash weak collections IDs\n  } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n  if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n  return it;\n};\nvar meta = module.exports = {\n  KEY: META,\n  NEED: false,\n  fastKey: fastKey,\n  getWeak: getWeak,\n  onFreeze: onFreeze\n};\n\n},{\"145\":145,\"62\":62,\"69\":69,\"79\":79,\"97\":97}],93:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar macrotask = _dereq_(134).set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = _dereq_(46)(process) == 'process';\n\nmodule.exports = function () {\n  var head, last, notify;\n\n  var flush = function () {\n    var parent, fn;\n    if (isNode && (parent = process.domain)) parent.exit();\n    while (head) {\n      fn = head.fn;\n      head = head.next;\n      try {\n        fn();\n      } catch (e) {\n        if (head) notify();\n        else last = undefined;\n        throw e;\n      }\n    } last = undefined;\n    if (parent) parent.enter();\n  };\n\n  // Node.js\n  if (isNode) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n  } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n    var toggle = true;\n    var node = document.createTextNode('');\n    new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    var promise = Promise.resolve(undefined);\n    notify = function () {\n      promise.then(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessag\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    notify = function () {\n      // strange IE + webpack dev server bug - use .call(global)\n      macrotask.call(global, flush);\n    };\n  }\n\n  return function (fn) {\n    var task = { fn: fn, next: undefined };\n    if (last) last.next = task;\n    if (!head) {\n      head = task;\n      notify();\n    } last = task;\n  };\n};\n\n},{\"134\":134,\"46\":46,\"68\":68}],94:[function(_dereq_,module,exports){\n'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = _dereq_(31);\n\nfunction PromiseCapability(C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aFunction(resolve);\n  this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n\n},{\"31\":31}],95:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = _dereq_(56);\nvar getKeys = _dereq_(105);\nvar gOPS = _dereq_(102);\nvar pIE = _dereq_(106);\nvar toObject = _dereq_(140);\nvar IObject = _dereq_(75);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || _dereq_(62)(function () {\n  var A = {};\n  var B = {};\n  // eslint-disable-next-line no-undef\n  var S = Symbol();\n  var K = 'abcdefghijklmnopqrst';\n  A[S] = 7;\n  K.split('').forEach(function (k) { B[k] = k; });\n  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n  var T = toObject(target);\n  var aLen = arguments.length;\n  var index = 1;\n  var getSymbols = gOPS.f;\n  var isEnum = pIE.f;\n  while (aLen > index) {\n    var S = IObject(arguments[index++]);\n    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n    var length = keys.length;\n    var j = 0;\n    var key;\n    while (length > j) {\n      key = keys[j++];\n      if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n    }\n  } return T;\n} : $assign;\n\n},{\"102\":102,\"105\":105,\"106\":106,\"140\":140,\"56\":56,\"62\":62,\"75\":75}],96:[function(_dereq_,module,exports){\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = _dereq_(36);\nvar dPs = _dereq_(98);\nvar enumBugKeys = _dereq_(58);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = _dereq_(57)('iframe');\n  var i = enumBugKeys.length;\n  var lt = '<';\n  var gt = '>';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  _dereq_(71).appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n  return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : dPs(result, Properties);\n};\n\n},{\"123\":123,\"36\":36,\"57\":57,\"58\":58,\"71\":71,\"98\":98}],97:[function(_dereq_,module,exports){\narguments[4][27][0].apply(exports,arguments)\n},{\"141\":141,\"27\":27,\"36\":36,\"56\":56,\"72\":72}],98:[function(_dereq_,module,exports){\nvar dP = _dereq_(97);\nvar anObject = _dereq_(36);\nvar getKeys = _dereq_(105);\n\nmodule.exports = _dereq_(56) ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = getKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var P;\n  while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n  return O;\n};\n\n},{\"105\":105,\"36\":36,\"56\":56,\"97\":97}],99:[function(_dereq_,module,exports){\nvar pIE = _dereq_(106);\nvar createDesc = _dereq_(114);\nvar toIObject = _dereq_(138);\nvar toPrimitive = _dereq_(141);\nvar has = _dereq_(69);\nvar IE8_DOM_DEFINE = _dereq_(72);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = _dereq_(56) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n  O = toIObject(O);\n  P = toPrimitive(P, true);\n  if (IE8_DOM_DEFINE) try {\n    return gOPD(O, P);\n  } catch (e) { /* empty */ }\n  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n},{\"106\":106,\"114\":114,\"138\":138,\"141\":141,\"56\":56,\"69\":69,\"72\":72}],100:[function(_dereq_,module,exports){\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = _dereq_(138);\nvar gOPN = _dereq_(101).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n  try {\n    return gOPN(it);\n  } catch (e) {\n    return windowNames.slice();\n  }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n},{\"101\":101,\"138\":138}],101:[function(_dereq_,module,exports){\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = _dereq_(104);\nvar hiddenKeys = _dereq_(58).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return $keys(O, hiddenKeys);\n};\n\n},{\"104\":104,\"58\":58}],102:[function(_dereq_,module,exports){\nexports.f = Object.getOwnPropertySymbols;\n\n},{}],103:[function(_dereq_,module,exports){\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = _dereq_(69);\nvar toObject = _dereq_(140);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectProto : null;\n};\n\n},{\"123\":123,\"140\":140,\"69\":69}],104:[function(_dereq_,module,exports){\nvar has = _dereq_(69);\nvar toIObject = _dereq_(138);\nvar arrayIndexOf = _dereq_(39)(false);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n  var O = toIObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n},{\"123\":123,\"138\":138,\"39\":39,\"69\":69}],105:[function(_dereq_,module,exports){\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = _dereq_(104);\nvar enumBugKeys = _dereq_(58);\n\nmodule.exports = Object.keys || function keys(O) {\n  return $keys(O, enumBugKeys);\n};\n\n},{\"104\":104,\"58\":58}],106:[function(_dereq_,module,exports){\nexports.f = {}.propertyIsEnumerable;\n\n},{}],107:[function(_dereq_,module,exports){\n// most Object methods by ES6 should accept primitives\nvar $export = _dereq_(60);\nvar core = _dereq_(50);\nvar fails = _dereq_(62);\nmodule.exports = function (KEY, exec) {\n  var fn = (core.Object || {})[KEY] || Object[KEY];\n  var exp = {};\n  exp[KEY] = exec(fn);\n  $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n},{\"50\":50,\"60\":60,\"62\":62}],108:[function(_dereq_,module,exports){\nvar DESCRIPTORS = _dereq_(56);\nvar getKeys = _dereq_(105);\nvar toIObject = _dereq_(138);\nvar isEnum = _dereq_(106).f;\nmodule.exports = function (isEntries) {\n  return function (it) {\n    var O = toIObject(it);\n    var keys = getKeys(O);\n    var length = keys.length;\n    var i = 0;\n    var result = [];\n    var key;\n    while (length > i) {\n      key = keys[i++];\n      if (!DESCRIPTORS || isEnum.call(O, key)) {\n        result.push(isEntries ? [key, O[key]] : O[key]);\n      }\n    }\n    return result;\n  };\n};\n\n},{\"105\":105,\"106\":106,\"138\":138,\"56\":56}],109:[function(_dereq_,module,exports){\n// all object keys, includes non-enumerable and symbols\nvar gOPN = _dereq_(101);\nvar gOPS = _dereq_(102);\nvar anObject = _dereq_(36);\nvar Reflect = _dereq_(68).Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n  var keys = gOPN.f(anObject(it));\n  var getSymbols = gOPS.f;\n  return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n},{\"101\":101,\"102\":102,\"36\":36,\"68\":68}],110:[function(_dereq_,module,exports){\nvar $parseFloat = _dereq_(68).parseFloat;\nvar $trim = _dereq_(132).trim;\n\nmodule.exports = 1 / $parseFloat(_dereq_(133) + '-0') !== -Infinity ? function parseFloat(str) {\n  var string = $trim(String(str), 3);\n  var result = $parseFloat(string);\n  return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n\n},{\"132\":132,\"133\":133,\"68\":68}],111:[function(_dereq_,module,exports){\nvar $parseInt = _dereq_(68).parseInt;\nvar $trim = _dereq_(132).trim;\nvar ws = _dereq_(133);\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n  var string = $trim(String(str), 3);\n  return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n\n},{\"132\":132,\"133\":133,\"68\":68}],112:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return { e: false, v: exec() };\n  } catch (e) {\n    return { e: true, v: e };\n  }\n};\n\n},{}],113:[function(_dereq_,module,exports){\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar newPromiseCapability = _dereq_(94);\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n\n},{\"36\":36,\"79\":79,\"94\":94}],114:[function(_dereq_,module,exports){\narguments[4][28][0].apply(exports,arguments)\n},{\"28\":28}],115:[function(_dereq_,module,exports){\nvar redefine = _dereq_(116);\nmodule.exports = function (target, src, safe) {\n  for (var key in src) redefine(target, key, src[key], safe);\n  return target;\n};\n\n},{\"116\":116}],116:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar has = _dereq_(69);\nvar SRC = _dereq_(145)('src');\nvar $toString = _dereq_(67);\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n_dereq_(50).inspectSource = function (it) {\n  return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n  var isFunction = typeof val == 'function';\n  if (isFunction) has(val, 'name') || hide(val, 'name', key);\n  if (O[key] === val) return;\n  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n  if (O === global) {\n    O[key] = val;\n  } else if (!safe) {\n    delete O[key];\n    hide(O, key, val);\n  } else if (O[key]) {\n    O[key] = val;\n  } else {\n    hide(O, key, val);\n  }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n},{\"145\":145,\"50\":50,\"67\":67,\"68\":68,\"69\":69,\"70\":70}],117:[function(_dereq_,module,exports){\n'use strict';\n\nvar classof = _dereq_(45);\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n  var exec = R.exec;\n  if (typeof exec === 'function') {\n    var result = exec.call(R, S);\n    if (typeof result !== 'object') {\n      throw new TypeError('RegExp exec method returned something other than an Object or null');\n    }\n    return result;\n  }\n  if (classof(R) !== 'RegExp') {\n    throw new TypeError('RegExp#exec called on incompatible receiver');\n  }\n  return builtinExec.call(R, S);\n};\n\n},{\"45\":45}],118:[function(_dereq_,module,exports){\n'use strict';\n\nvar regexpFlags = _dereq_(64);\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n  var re1 = /a/,\n      re2 = /b*/g;\n  nativeExec.call(re1, 'a');\n  nativeExec.call(re2, 'a');\n  return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n  patchedExec = function exec(str) {\n    var re = this;\n    var lastIndex, reCopy, match, i;\n\n    if (NPCG_INCLUDED) {\n      reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n    }\n    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n    match = nativeExec.call(re, str);\n\n    if (UPDATES_LAST_INDEX_WRONG && match) {\n      re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n    }\n    if (NPCG_INCLUDED && match && match.length > 1) {\n      // Fix browsers whose `exec` methods don't consistently return `undefined`\n      // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n      // eslint-disable-next-line no-loop-func\n      nativeReplace.call(match[0], reCopy, function () {\n        for (i = 1; i < arguments.length - 2; i++) {\n          if (arguments[i] === undefined) match[i] = undefined;\n        }\n      });\n    }\n\n    return match;\n  };\n}\n\nmodule.exports = patchedExec;\n\n},{\"64\":64}],119:[function(_dereq_,module,exports){\n// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n  // eslint-disable-next-line no-self-compare\n  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n\n},{}],120:[function(_dereq_,module,exports){\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = _dereq_(79);\nvar anObject = _dereq_(36);\nvar check = function (O, proto) {\n  anObject(O);\n  if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n    function (test, buggy, set) {\n      try {\n        set = _dereq_(52)(Function.call, _dereq_(99).f(Object.prototype, '__proto__').set, 2);\n        set(test, []);\n        buggy = !(test instanceof Array);\n      } catch (e) { buggy = true; }\n      return function setPrototypeOf(O, proto) {\n        check(O, proto);\n        if (buggy) O.__proto__ = proto;\n        else set(O, proto);\n        return O;\n      };\n    }({}, false) : undefined),\n  check: check\n};\n\n},{\"36\":36,\"52\":52,\"79\":79,\"99\":99}],121:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar dP = _dereq_(97);\nvar DESCRIPTORS = _dereq_(56);\nvar SPECIES = _dereq_(150)('species');\n\nmodule.exports = function (KEY) {\n  var C = global[KEY];\n  if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n    configurable: true,\n    get: function () { return this; }\n  });\n};\n\n},{\"150\":150,\"56\":56,\"68\":68,\"97\":97}],122:[function(_dereq_,module,exports){\nvar def = _dereq_(97).f;\nvar has = _dereq_(69);\nvar TAG = _dereq_(150)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n},{\"150\":150,\"69\":69,\"97\":97}],123:[function(_dereq_,module,exports){\nvar shared = _dereq_(124)('keys');\nvar uid = _dereq_(145);\nmodule.exports = function (key) {\n  return shared[key] || (shared[key] = uid(key));\n};\n\n},{\"124\":124,\"145\":145}],124:[function(_dereq_,module,exports){\nvar core = _dereq_(50);\nvar global = _dereq_(68);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: core.version,\n  mode: _dereq_(87) ? 'pure' : 'global',\n  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n},{\"50\":50,\"68\":68,\"87\":87}],125:[function(_dereq_,module,exports){\n// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = _dereq_(36);\nvar aFunction = _dereq_(31);\nvar SPECIES = _dereq_(150)('species');\nmodule.exports = function (O, D) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n},{\"150\":150,\"31\":31,\"36\":36}],126:[function(_dereq_,module,exports){\n'use strict';\nvar fails = _dereq_(62);\n\nmodule.exports = function (method, arg) {\n  return !!method && fails(function () {\n    // eslint-disable-next-line no-useless-call\n    arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n  });\n};\n\n},{\"62\":62}],127:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(137);\nvar defined = _dereq_(55);\n// true  -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n  return function (that, pos) {\n    var s = String(defined(that));\n    var i = toInteger(pos);\n    var l = s.length;\n    var a, b;\n    if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n    a = s.charCodeAt(i);\n    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n      ? TO_STRING ? s.charAt(i) : a\n      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n  };\n};\n\n},{\"137\":137,\"55\":55}],128:[function(_dereq_,module,exports){\n// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = _dereq_(80);\nvar defined = _dereq_(55);\n\nmodule.exports = function (that, searchString, NAME) {\n  if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n  return String(defined(that));\n};\n\n},{\"55\":55,\"80\":80}],129:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar fails = _dereq_(62);\nvar defined = _dereq_(55);\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n  var S = String(defined(string));\n  var p1 = '<' + tag;\n  if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n  return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n  var O = {};\n  O[NAME] = exec(createHTML);\n  $export($export.P + $export.F * fails(function () {\n    var test = ''[NAME]('\"');\n    return test !== test.toLowerCase() || test.split('\"').length > 3;\n  }), 'String', O);\n};\n\n},{\"55\":55,\"60\":60,\"62\":62}],130:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = _dereq_(139);\nvar repeat = _dereq_(131);\nvar defined = _dereq_(55);\n\nmodule.exports = function (that, maxLength, fillString, left) {\n  var S = String(defined(that));\n  var stringLength = S.length;\n  var fillStr = fillString === undefined ? ' ' : String(fillString);\n  var intMaxLength = toLength(maxLength);\n  if (intMaxLength <= stringLength || fillStr == '') return S;\n  var fillLen = intMaxLength - stringLength;\n  var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n  if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n  return left ? stringFiller + S : S + stringFiller;\n};\n\n},{\"131\":131,\"139\":139,\"55\":55}],131:[function(_dereq_,module,exports){\n'use strict';\nvar toInteger = _dereq_(137);\nvar defined = _dereq_(55);\n\nmodule.exports = function repeat(count) {\n  var str = String(defined(this));\n  var res = '';\n  var n = toInteger(count);\n  if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n  return res;\n};\n\n},{\"137\":137,\"55\":55}],132:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar defined = _dereq_(55);\nvar fails = _dereq_(62);\nvar spaces = _dereq_(133);\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n  var exp = {};\n  var FORCE = fails(function () {\n    return !!spaces[KEY]() || non[KEY]() != non;\n  });\n  var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n  if (ALIAS) exp[ALIAS] = fn;\n  $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n  string = String(defined(string));\n  if (TYPE & 1) string = string.replace(ltrim, '');\n  if (TYPE & 2) string = string.replace(rtrim, '');\n  return string;\n};\n\nmodule.exports = exporter;\n\n},{\"133\":133,\"55\":55,\"60\":60,\"62\":62}],133:[function(_dereq_,module,exports){\nmodule.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n  '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n},{}],134:[function(_dereq_,module,exports){\nvar ctx = _dereq_(52);\nvar invoke = _dereq_(74);\nvar html = _dereq_(71);\nvar cel = _dereq_(57);\nvar global = _dereq_(68);\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n  var id = +this;\n  // eslint-disable-next-line no-prototype-builtins\n  if (queue.hasOwnProperty(id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\nvar listener = function (event) {\n  run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n  setTask = function setImmediate(fn) {\n    var args = [];\n    var i = 1;\n    while (arguments.length > i) args.push(arguments[i++]);\n    queue[++counter] = function () {\n      // eslint-disable-next-line no-new-func\n      invoke(typeof fn == 'function' ? fn : Function(fn), args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clearTask = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (_dereq_(46)(process) == 'process') {\n    defer = function (id) {\n      process.nextTick(ctx(run, id, 1));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(ctx(run, id, 1));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  } else if (MessageChannel) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = listener;\n    defer = ctx(port.postMessage, port, 1);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n    defer = function (id) {\n      global.postMessage(id + '', '*');\n    };\n    global.addEventListener('message', listener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in cel('script')) {\n    defer = function (id) {\n      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run.call(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(ctx(run, id, 1), 0);\n    };\n  }\n}\nmodule.exports = {\n  set: setTask,\n  clear: clearTask\n};\n\n},{\"46\":46,\"52\":52,\"57\":57,\"68\":68,\"71\":71,\"74\":74}],135:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(137);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n},{\"137\":137}],136:[function(_dereq_,module,exports){\n// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nmodule.exports = function (it) {\n  if (it === undefined) return 0;\n  var number = toInteger(it);\n  var length = toLength(number);\n  if (number !== length) throw RangeError('Wrong length!');\n  return length;\n};\n\n},{\"137\":137,\"139\":139}],137:[function(_dereq_,module,exports){\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n},{}],138:[function(_dereq_,module,exports){\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = _dereq_(75);\nvar defined = _dereq_(55);\nmodule.exports = function (it) {\n  return IObject(defined(it));\n};\n\n},{\"55\":55,\"75\":75}],139:[function(_dereq_,module,exports){\n// 7.1.15 ToLength\nvar toInteger = _dereq_(137);\nvar min = Math.min;\nmodule.exports = function (it) {\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n},{\"137\":137}],140:[function(_dereq_,module,exports){\n// 7.1.13 ToObject(argument)\nvar defined = _dereq_(55);\nmodule.exports = function (it) {\n  return Object(defined(it));\n};\n\n},{\"55\":55}],141:[function(_dereq_,module,exports){\narguments[4][29][0].apply(exports,arguments)\n},{\"29\":29,\"79\":79}],142:[function(_dereq_,module,exports){\n'use strict';\nif (_dereq_(56)) {\n  var LIBRARY = _dereq_(87);\n  var global = _dereq_(68);\n  var fails = _dereq_(62);\n  var $export = _dereq_(60);\n  var $typed = _dereq_(144);\n  var $buffer = _dereq_(143);\n  var ctx = _dereq_(52);\n  var anInstance = _dereq_(35);\n  var propertyDesc = _dereq_(114);\n  var hide = _dereq_(70);\n  var redefineAll = _dereq_(115);\n  var toInteger = _dereq_(137);\n  var toLength = _dereq_(139);\n  var toIndex = _dereq_(136);\n  var toAbsoluteIndex = _dereq_(135);\n  var toPrimitive = _dereq_(141);\n  var has = _dereq_(69);\n  var classof = _dereq_(45);\n  var isObject = _dereq_(79);\n  var toObject = _dereq_(140);\n  var isArrayIter = _dereq_(76);\n  var create = _dereq_(96);\n  var getPrototypeOf = _dereq_(103);\n  var gOPN = _dereq_(101).f;\n  var getIterFn = _dereq_(151);\n  var uid = _dereq_(145);\n  var wks = _dereq_(150);\n  var createArrayMethod = _dereq_(40);\n  var createArrayIncludes = _dereq_(39);\n  var speciesConstructor = _dereq_(125);\n  var ArrayIterators = _dereq_(162);\n  var Iterators = _dereq_(86);\n  var $iterDetect = _dereq_(84);\n  var setSpecies = _dereq_(121);\n  var arrayFill = _dereq_(38);\n  var arrayCopyWithin = _dereq_(37);\n  var $DP = _dereq_(97);\n  var $GOPD = _dereq_(99);\n  var dP = $DP.f;\n  var gOPD = $GOPD.f;\n  var RangeError = global.RangeError;\n  var TypeError = global.TypeError;\n  var Uint8Array = global.Uint8Array;\n  var ARRAY_BUFFER = 'ArrayBuffer';\n  var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n  var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n  var PROTOTYPE = 'prototype';\n  var ArrayProto = Array[PROTOTYPE];\n  var $ArrayBuffer = $buffer.ArrayBuffer;\n  var $DataView = $buffer.DataView;\n  var arrayForEach = createArrayMethod(0);\n  var arrayFilter = createArrayMethod(2);\n  var arraySome = createArrayMethod(3);\n  var arrayEvery = createArrayMethod(4);\n  var arrayFind = createArrayMethod(5);\n  var arrayFindIndex = createArrayMethod(6);\n  var arrayIncludes = createArrayIncludes(true);\n  var arrayIndexOf = createArrayIncludes(false);\n  var arrayValues = ArrayIterators.values;\n  var arrayKeys = ArrayIterators.keys;\n  var arrayEntries = ArrayIterators.entries;\n  var arrayLastIndexOf = ArrayProto.lastIndexOf;\n  var arrayReduce = ArrayProto.reduce;\n  var arrayReduceRight = ArrayProto.reduceRight;\n  var arrayJoin = ArrayProto.join;\n  var arraySort = ArrayProto.sort;\n  var arraySlice = ArrayProto.slice;\n  var arrayToString = ArrayProto.toString;\n  var arrayToLocaleString = ArrayProto.toLocaleString;\n  var ITERATOR = wks('iterator');\n  var TAG = wks('toStringTag');\n  var TYPED_CONSTRUCTOR = uid('typed_constructor');\n  var DEF_CONSTRUCTOR = uid('def_constructor');\n  var ALL_CONSTRUCTORS = $typed.CONSTR;\n  var TYPED_ARRAY = $typed.TYPED;\n  var VIEW = $typed.VIEW;\n  var WRONG_LENGTH = 'Wrong length!';\n\n  var $map = createArrayMethod(1, function (O, length) {\n    return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n  });\n\n  var LITTLE_ENDIAN = fails(function () {\n    // eslint-disable-next-line no-undef\n    return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n  });\n\n  var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n    new Uint8Array(1).set({});\n  });\n\n  var toOffset = function (it, BYTES) {\n    var offset = toInteger(it);\n    if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n    return offset;\n  };\n\n  var validate = function (it) {\n    if (isObject(it) && TYPED_ARRAY in it) return it;\n    throw TypeError(it + ' is not a typed array!');\n  };\n\n  var allocate = function (C, length) {\n    if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n      throw TypeError('It is not a typed array constructor!');\n    } return new C(length);\n  };\n\n  var speciesFromList = function (O, list) {\n    return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n  };\n\n  var fromList = function (C, list) {\n    var index = 0;\n    var length = list.length;\n    var result = allocate(C, length);\n    while (length > index) result[index] = list[index++];\n    return result;\n  };\n\n  var addGetter = function (it, key, internal) {\n    dP(it, key, { get: function () { return this._d[internal]; } });\n  };\n\n  var $from = function from(source /* , mapfn, thisArg */) {\n    var O = toObject(source);\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var iterFn = getIterFn(O);\n    var i, length, values, result, step, iterator;\n    if (iterFn != undefined && !isArrayIter(iterFn)) {\n      for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n        values.push(step.value);\n      } O = values;\n    }\n    if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n    for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n      result[i] = mapping ? mapfn(O[i], i) : O[i];\n    }\n    return result;\n  };\n\n  var $of = function of(/* ...items */) {\n    var index = 0;\n    var length = arguments.length;\n    var result = allocate(this, length);\n    while (length > index) result[index] = arguments[index++];\n    return result;\n  };\n\n  // iOS Safari 6.x fails here\n  var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n  var $toLocaleString = function toLocaleString() {\n    return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n  };\n\n  var proto = {\n    copyWithin: function copyWithin(target, start /* , end */) {\n      return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    every: function every(callbackfn /* , thisArg */) {\n      return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n      return arrayFill.apply(validate(this), arguments);\n    },\n    filter: function filter(callbackfn /* , thisArg */) {\n      return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n        arguments.length > 1 ? arguments[1] : undefined));\n    },\n    find: function find(predicate /* , thisArg */) {\n      return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    findIndex: function findIndex(predicate /* , thisArg */) {\n      return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    forEach: function forEach(callbackfn /* , thisArg */) {\n      arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    indexOf: function indexOf(searchElement /* , fromIndex */) {\n      return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    includes: function includes(searchElement /* , fromIndex */) {\n      return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    join: function join(separator) { // eslint-disable-line no-unused-vars\n      return arrayJoin.apply(validate(this), arguments);\n    },\n    lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n      return arrayLastIndexOf.apply(validate(this), arguments);\n    },\n    map: function map(mapfn /* , thisArg */) {\n      return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduce.apply(validate(this), arguments);\n    },\n    reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduceRight.apply(validate(this), arguments);\n    },\n    reverse: function reverse() {\n      var that = this;\n      var length = validate(that).length;\n      var middle = Math.floor(length / 2);\n      var index = 0;\n      var value;\n      while (index < middle) {\n        value = that[index];\n        that[index++] = that[--length];\n        that[length] = value;\n      } return that;\n    },\n    some: function some(callbackfn /* , thisArg */) {\n      return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    sort: function sort(comparefn) {\n      return arraySort.call(validate(this), comparefn);\n    },\n    subarray: function subarray(begin, end) {\n      var O = validate(this);\n      var length = O.length;\n      var $begin = toAbsoluteIndex(begin, length);\n      return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n        O.buffer,\n        O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n        toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n      );\n    }\n  };\n\n  var $slice = function slice(start, end) {\n    return speciesFromList(this, arraySlice.call(validate(this), start, end));\n  };\n\n  var $set = function set(arrayLike /* , offset */) {\n    validate(this);\n    var offset = toOffset(arguments[1], 1);\n    var length = this.length;\n    var src = toObject(arrayLike);\n    var len = toLength(src.length);\n    var index = 0;\n    if (len + offset > length) throw RangeError(WRONG_LENGTH);\n    while (index < len) this[offset + index] = src[index++];\n  };\n\n  var $iterators = {\n    entries: function entries() {\n      return arrayEntries.call(validate(this));\n    },\n    keys: function keys() {\n      return arrayKeys.call(validate(this));\n    },\n    values: function values() {\n      return arrayValues.call(validate(this));\n    }\n  };\n\n  var isTAIndex = function (target, key) {\n    return isObject(target)\n      && target[TYPED_ARRAY]\n      && typeof key != 'symbol'\n      && key in target\n      && String(+key) == String(key);\n  };\n  var $getDesc = function getOwnPropertyDescriptor(target, key) {\n    return isTAIndex(target, key = toPrimitive(key, true))\n      ? propertyDesc(2, target[key])\n      : gOPD(target, key);\n  };\n  var $setDesc = function defineProperty(target, key, desc) {\n    if (isTAIndex(target, key = toPrimitive(key, true))\n      && isObject(desc)\n      && has(desc, 'value')\n      && !has(desc, 'get')\n      && !has(desc, 'set')\n      // TODO: add validation descriptor w/o calling accessors\n      && !desc.configurable\n      && (!has(desc, 'writable') || desc.writable)\n      && (!has(desc, 'enumerable') || desc.enumerable)\n    ) {\n      target[key] = desc.value;\n      return target;\n    } return dP(target, key, desc);\n  };\n\n  if (!ALL_CONSTRUCTORS) {\n    $GOPD.f = $getDesc;\n    $DP.f = $setDesc;\n  }\n\n  $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n    getOwnPropertyDescriptor: $getDesc,\n    defineProperty: $setDesc\n  });\n\n  if (fails(function () { arrayToString.call({}); })) {\n    arrayToString = arrayToLocaleString = function toString() {\n      return arrayJoin.call(this);\n    };\n  }\n\n  var $TypedArrayPrototype$ = redefineAll({}, proto);\n  redefineAll($TypedArrayPrototype$, $iterators);\n  hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n  redefineAll($TypedArrayPrototype$, {\n    slice: $slice,\n    set: $set,\n    constructor: function () { /* noop */ },\n    toString: arrayToString,\n    toLocaleString: $toLocaleString\n  });\n  addGetter($TypedArrayPrototype$, 'buffer', 'b');\n  addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n  addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n  addGetter($TypedArrayPrototype$, 'length', 'e');\n  dP($TypedArrayPrototype$, TAG, {\n    get: function () { return this[TYPED_ARRAY]; }\n  });\n\n  // eslint-disable-next-line max-statements\n  module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n    CLAMPED = !!CLAMPED;\n    var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n    var GETTER = 'get' + KEY;\n    var SETTER = 'set' + KEY;\n    var TypedArray = global[NAME];\n    var Base = TypedArray || {};\n    var TAC = TypedArray && getPrototypeOf(TypedArray);\n    var FORCED = !TypedArray || !$typed.ABV;\n    var O = {};\n    var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n    var getter = function (that, index) {\n      var data = that._d;\n      return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n    };\n    var setter = function (that, index, value) {\n      var data = that._d;\n      if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n      data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n    };\n    var addElement = function (that, index) {\n      dP(that, index, {\n        get: function () {\n          return getter(this, index);\n        },\n        set: function (value) {\n          return setter(this, index, value);\n        },\n        enumerable: true\n      });\n    };\n    if (FORCED) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME, '_d');\n        var index = 0;\n        var offset = 0;\n        var buffer, byteLength, length, klass;\n        if (!isObject(data)) {\n          length = toIndex(data);\n          byteLength = length * BYTES;\n          buffer = new $ArrayBuffer(byteLength);\n        } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          buffer = data;\n          offset = toOffset($offset, BYTES);\n          var $len = data.byteLength;\n          if ($length === undefined) {\n            if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n            byteLength = $len - offset;\n            if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n          } else {\n            byteLength = toLength($length) * BYTES;\n            if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n          }\n          length = byteLength / BYTES;\n        } else if (TYPED_ARRAY in data) {\n          return fromList(TypedArray, data);\n        } else {\n          return $from.call(TypedArray, data);\n        }\n        hide(that, '_d', {\n          b: buffer,\n          o: offset,\n          l: byteLength,\n          e: length,\n          v: new $DataView(buffer)\n        });\n        while (index < length) addElement(that, index++);\n      });\n      TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n      hide(TypedArrayPrototype, 'constructor', TypedArray);\n    } else if (!fails(function () {\n      TypedArray(1);\n    }) || !fails(function () {\n      new TypedArray(-1); // eslint-disable-line no-new\n    }) || !$iterDetect(function (iter) {\n      new TypedArray(); // eslint-disable-line no-new\n      new TypedArray(null); // eslint-disable-line no-new\n      new TypedArray(1.5); // eslint-disable-line no-new\n      new TypedArray(iter); // eslint-disable-line no-new\n    }, true)) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME);\n        var klass;\n        // `ws` module bug, temporarily remove validation length for Uint8Array\n        // https://github.com/websockets/ws/pull/645\n        if (!isObject(data)) return new Base(toIndex(data));\n        if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          return $length !== undefined\n            ? new Base(data, toOffset($offset, BYTES), $length)\n            : $offset !== undefined\n              ? new Base(data, toOffset($offset, BYTES))\n              : new Base(data);\n        }\n        if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n        return $from.call(TypedArray, data);\n      });\n      arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n        if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n      });\n      TypedArray[PROTOTYPE] = TypedArrayPrototype;\n      if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n    }\n    var $nativeIterator = TypedArrayPrototype[ITERATOR];\n    var CORRECT_ITER_NAME = !!$nativeIterator\n      && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n    var $iterator = $iterators.values;\n    hide(TypedArray, TYPED_CONSTRUCTOR, true);\n    hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n    hide(TypedArrayPrototype, VIEW, true);\n    hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n    if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n      dP(TypedArrayPrototype, TAG, {\n        get: function () { return NAME; }\n      });\n    }\n\n    O[NAME] = TypedArray;\n\n    $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n    $export($export.S, NAME, {\n      BYTES_PER_ELEMENT: BYTES\n    });\n\n    $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n      from: $from,\n      of: $of\n    });\n\n    if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n    $export($export.P, NAME, proto);\n\n    setSpecies(NAME);\n\n    $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n    $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n    if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n    $export($export.P + $export.F * fails(function () {\n      new TypedArray(1).slice();\n    }), NAME, { slice: $slice });\n\n    $export($export.P + $export.F * (fails(function () {\n      return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n    }) || !fails(function () {\n      TypedArrayPrototype.toLocaleString.call([1, 2]);\n    })), NAME, { toLocaleString: $toLocaleString });\n\n    Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n    if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n  };\n} else module.exports = function () { /* empty */ };\n\n},{\"101\":101,\"103\":103,\"114\":114,\"115\":115,\"121\":121,\"125\":125,\"135\":135,\"136\":136,\"137\":137,\"139\":139,\"140\":140,\"141\":141,\"143\":143,\"144\":144,\"145\":145,\"150\":150,\"151\":151,\"162\":162,\"35\":35,\"37\":37,\"38\":38,\"39\":39,\"40\":40,\"45\":45,\"52\":52,\"56\":56,\"60\":60,\"62\":62,\"68\":68,\"69\":69,\"70\":70,\"76\":76,\"79\":79,\"84\":84,\"86\":86,\"87\":87,\"96\":96,\"97\":97,\"99\":99}],143:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar DESCRIPTORS = _dereq_(56);\nvar LIBRARY = _dereq_(87);\nvar $typed = _dereq_(144);\nvar hide = _dereq_(70);\nvar redefineAll = _dereq_(115);\nvar fails = _dereq_(62);\nvar anInstance = _dereq_(35);\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nvar toIndex = _dereq_(136);\nvar gOPN = _dereq_(101).f;\nvar dP = _dereq_(97).f;\nvar arrayFill = _dereq_(38);\nvar setToStringTag = _dereq_(122);\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n  var buffer = new Array(nBytes);\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n  var i = 0;\n  var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n  var e, m, c;\n  value = abs(value);\n  // eslint-disable-next-line no-self-compare\n  if (value != value || value === Infinity) {\n    // eslint-disable-next-line no-self-compare\n    m = value != value ? 1 : 0;\n    e = eMax;\n  } else {\n    e = floor(log(value) / LN2);\n    if (value * (c = pow(2, -e)) < 1) {\n      e--;\n      c *= 2;\n    }\n    if (e + eBias >= 1) {\n      value += rt / c;\n    } else {\n      value += rt * pow(2, 1 - eBias);\n    }\n    if (value * c >= 2) {\n      e++;\n      c /= 2;\n    }\n    if (e + eBias >= eMax) {\n      m = 0;\n      e = eMax;\n    } else if (e + eBias >= 1) {\n      m = (value * c - 1) * pow(2, mLen);\n      e = e + eBias;\n    } else {\n      m = value * pow(2, eBias - 1) * pow(2, mLen);\n      e = 0;\n    }\n  }\n  for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n  e = e << mLen | m;\n  eLen += mLen;\n  for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n  buffer[--i] |= s * 128;\n  return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var nBits = eLen - 7;\n  var i = nBytes - 1;\n  var s = buffer[i--];\n  var e = s & 127;\n  var m;\n  s >>= 7;\n  for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n  m = e & (1 << -nBits) - 1;\n  e >>= -nBits;\n  nBits += mLen;\n  for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n  if (e === 0) {\n    e = 1 - eBias;\n  } else if (e === eMax) {\n    return m ? NaN : s ? -Infinity : Infinity;\n  } else {\n    m = m + pow(2, mLen);\n    e = e - eBias;\n  } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n  return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n  return [it & 0xff];\n}\nfunction packI16(it) {\n  return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n  return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n  return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n  return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n  dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = store.slice(start, start + bytes);\n  return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = conversion(+value);\n  for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n  $ArrayBuffer = function ArrayBuffer(length) {\n    anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n    var byteLength = toIndex(length);\n    this._b = arrayFill.call(new Array(byteLength), 0);\n    this[$LENGTH] = byteLength;\n  };\n\n  $DataView = function DataView(buffer, byteOffset, byteLength) {\n    anInstance(this, $DataView, DATA_VIEW);\n    anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n    var bufferLength = buffer[$LENGTH];\n    var offset = toInteger(byteOffset);\n    if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n    byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n    if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n    this[$BUFFER] = buffer;\n    this[$OFFSET] = offset;\n    this[$LENGTH] = byteLength;\n  };\n\n  if (DESCRIPTORS) {\n    addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n    addGetter($DataView, BUFFER, '_b');\n    addGetter($DataView, BYTE_LENGTH, '_l');\n    addGetter($DataView, BYTE_OFFSET, '_o');\n  }\n\n  redefineAll($DataView[PROTOTYPE], {\n    getInt8: function getInt8(byteOffset) {\n      return get(this, 1, byteOffset)[0] << 24 >> 24;\n    },\n    getUint8: function getUint8(byteOffset) {\n      return get(this, 1, byteOffset)[0];\n    },\n    getInt16: function getInt16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n    },\n    getUint16: function getUint16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return bytes[1] << 8 | bytes[0];\n    },\n    getInt32: function getInt32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1]));\n    },\n    getUint32: function getUint32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n    },\n    getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n    },\n    getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n    },\n    setInt8: function setInt8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packF32, value, arguments[2]);\n    },\n    setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n      set(this, 8, byteOffset, packF64, value, arguments[2]);\n    }\n  });\n} else {\n  if (!fails(function () {\n    $ArrayBuffer(1);\n  }) || !fails(function () {\n    new $ArrayBuffer(-1); // eslint-disable-line no-new\n  }) || fails(function () {\n    new $ArrayBuffer(); // eslint-disable-line no-new\n    new $ArrayBuffer(1.5); // eslint-disable-line no-new\n    new $ArrayBuffer(NaN); // eslint-disable-line no-new\n    return $ArrayBuffer.name != ARRAY_BUFFER;\n  })) {\n    $ArrayBuffer = function ArrayBuffer(length) {\n      anInstance(this, $ArrayBuffer);\n      return new BaseBuffer(toIndex(length));\n    };\n    var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n    for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n      if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n    }\n    if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n  }\n  // iOS Safari 7.x bug\n  var view = new $DataView(new $ArrayBuffer(2));\n  var $setInt8 = $DataView[PROTOTYPE].setInt8;\n  view.setInt8(0, 2147483648);\n  view.setInt8(1, 2147483649);\n  if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n    setInt8: function setInt8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    }\n  }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n\n},{\"101\":101,\"115\":115,\"122\":122,\"136\":136,\"137\":137,\"139\":139,\"144\":144,\"35\":35,\"38\":38,\"56\":56,\"62\":62,\"68\":68,\"70\":70,\"87\":87,\"97\":97}],144:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar uid = _dereq_(145);\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n  'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n  if (Typed = global[TypedArrayConstructors[i++]]) {\n    hide(Typed.prototype, TYPED, true);\n    hide(Typed.prototype, VIEW, true);\n  } else CONSTR = false;\n}\n\nmodule.exports = {\n  ABV: ABV,\n  CONSTR: CONSTR,\n  TYPED: TYPED,\n  VIEW: VIEW\n};\n\n},{\"145\":145,\"68\":68,\"70\":70}],145:[function(_dereq_,module,exports){\nvar id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n},{}],146:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n\n},{\"68\":68}],147:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nmodule.exports = function (it, TYPE) {\n  if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n  return it;\n};\n\n},{\"79\":79}],148:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar core = _dereq_(50);\nvar LIBRARY = _dereq_(87);\nvar wksExt = _dereq_(149);\nvar defineProperty = _dereq_(97).f;\nmodule.exports = function (name) {\n  var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n},{\"149\":149,\"50\":50,\"68\":68,\"87\":87,\"97\":97}],149:[function(_dereq_,module,exports){\nexports.f = _dereq_(150);\n\n},{\"150\":150}],150:[function(_dereq_,module,exports){\nvar store = _dereq_(124)('wks');\nvar uid = _dereq_(145);\nvar Symbol = _dereq_(68).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n  return store[name] || (store[name] =\n    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n},{\"124\":124,\"145\":145,\"68\":68}],151:[function(_dereq_,module,exports){\nvar classof = _dereq_(45);\nvar ITERATOR = _dereq_(150)('iterator');\nvar Iterators = _dereq_(86);\nmodule.exports = _dereq_(50).getIteratorMethod = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n},{\"150\":150,\"45\":45,\"50\":50,\"86\":86}],152:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Array', { copyWithin: _dereq_(37) });\n\n_dereq_(33)('copyWithin');\n\n},{\"33\":33,\"37\":37,\"60\":60}],153:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $every = _dereq_(40)(4);\n\n$export($export.P + $export.F * !_dereq_(126)([].every, true), 'Array', {\n  // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n  every: function every(callbackfn /* , thisArg */) {\n    return $every(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],154:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Array', { fill: _dereq_(38) });\n\n_dereq_(33)('fill');\n\n},{\"33\":33,\"38\":38,\"60\":60}],155:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $filter = _dereq_(40)(2);\n\n$export($export.P + $export.F * !_dereq_(126)([].filter, true), 'Array', {\n  // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n  filter: function filter(callbackfn /* , thisArg */) {\n    return $filter(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],156:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = _dereq_(60);\nvar $find = _dereq_(40)(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(33)(KEY);\n\n},{\"33\":33,\"40\":40,\"60\":60}],157:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = _dereq_(60);\nvar $find = _dereq_(40)(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(33)(KEY);\n\n},{\"33\":33,\"40\":40,\"60\":60}],158:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $forEach = _dereq_(40)(0);\nvar STRICT = _dereq_(126)([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n  // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n  forEach: function forEach(callbackfn /* , thisArg */) {\n    return $forEach(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],159:[function(_dereq_,module,exports){\n'use strict';\nvar ctx = _dereq_(52);\nvar $export = _dereq_(60);\nvar toObject = _dereq_(140);\nvar call = _dereq_(81);\nvar isArrayIter = _dereq_(76);\nvar toLength = _dereq_(139);\nvar createProperty = _dereq_(51);\nvar getIterFn = _dereq_(151);\n\n$export($export.S + $export.F * !_dereq_(84)(function (iter) { Array.from(iter); }), 'Array', {\n  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n  from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n    var O = toObject(arrayLike);\n    var C = typeof this == 'function' ? this : Array;\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var index = 0;\n    var iterFn = getIterFn(O);\n    var length, result, step, iterator;\n    if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n    // if object isn't iterable or it's array with default iterator - use simple case\n    if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n      for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n        createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n      }\n    } else {\n      length = toLength(O.length);\n      for (result = new C(length); length > index; index++) {\n        createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n      }\n    }\n    result.length = index;\n    return result;\n  }\n});\n\n},{\"139\":139,\"140\":140,\"151\":151,\"51\":51,\"52\":52,\"60\":60,\"76\":76,\"81\":81,\"84\":84}],160:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $indexOf = _dereq_(39)(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {\n  // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n    return NEGATIVE_ZERO\n      // convert -0 to +0\n      ? $native.apply(this, arguments) || 0\n      : $indexOf(this, searchElement, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"39\":39,\"60\":60}],161:[function(_dereq_,module,exports){\n// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Array', { isArray: _dereq_(77) });\n\n},{\"60\":60,\"77\":77}],162:[function(_dereq_,module,exports){\n'use strict';\nvar addToUnscopables = _dereq_(33);\nvar step = _dereq_(85);\nvar Iterators = _dereq_(86);\nvar toIObject = _dereq_(138);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = _dereq_(83)(Array, 'Array', function (iterated, kind) {\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var kind = this._k;\n  var index = this._i++;\n  if (!O || index >= O.length) {\n    this._t = undefined;\n    return step(1);\n  }\n  if (kind == 'keys') return step(0, index);\n  if (kind == 'values') return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n},{\"138\":138,\"33\":33,\"83\":83,\"85\":85,\"86\":86}],163:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (_dereq_(75) != Object || !_dereq_(126)(arrayJoin)), 'Array', {\n  join: function join(separator) {\n    return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n  }\n});\n\n},{\"126\":126,\"138\":138,\"60\":60,\"75\":75}],164:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {\n  // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n  lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n    // convert -0 to +0\n    if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n    var O = toIObject(this);\n    var length = toLength(O.length);\n    var index = length - 1;\n    if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n    if (index < 0) index = length + index;\n    for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n    return -1;\n  }\n});\n\n},{\"126\":126,\"137\":137,\"138\":138,\"139\":139,\"60\":60}],165:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $map = _dereq_(40)(1);\n\n$export($export.P + $export.F * !_dereq_(126)([].map, true), 'Array', {\n  // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],166:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar createProperty = _dereq_(51);\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * _dereq_(62)(function () {\n  function F() { /* empty */ }\n  return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n  // 22.1.2.3 Array.of( ...items)\n  of: function of(/* ...args */) {\n    var index = 0;\n    var aLen = arguments.length;\n    var result = new (typeof this == 'function' ? this : Array)(aLen);\n    while (aLen > index) createProperty(result, index, arguments[index++]);\n    result.length = aLen;\n    return result;\n  }\n});\n\n},{\"51\":51,\"60\":60,\"62\":62}],167:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $reduce = _dereq_(41);\n\n$export($export.P + $export.F * !_dereq_(126)([].reduceRight, true), 'Array', {\n  // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n  reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n  }\n});\n\n},{\"126\":126,\"41\":41,\"60\":60}],168:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $reduce = _dereq_(41);\n\n$export($export.P + $export.F * !_dereq_(126)([].reduce, true), 'Array', {\n  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n  reduce: function reduce(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n  }\n});\n\n},{\"126\":126,\"41\":41,\"60\":60}],169:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar html = _dereq_(71);\nvar cof = _dereq_(46);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * _dereq_(62)(function () {\n  if (html) arraySlice.call(html);\n}), 'Array', {\n  slice: function slice(begin, end) {\n    var len = toLength(this.length);\n    var klass = cof(this);\n    end = end === undefined ? len : end;\n    if (klass == 'Array') return arraySlice.call(this, begin, end);\n    var start = toAbsoluteIndex(begin, len);\n    var upTo = toAbsoluteIndex(end, len);\n    var size = toLength(upTo - start);\n    var cloned = new Array(size);\n    var i = 0;\n    for (; i < size; i++) cloned[i] = klass == 'String'\n      ? this.charAt(start + i)\n      : this[start + i];\n    return cloned;\n  }\n});\n\n},{\"135\":135,\"139\":139,\"46\":46,\"60\":60,\"62\":62,\"71\":71}],170:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $some = _dereq_(40)(3);\n\n$export($export.P + $export.F * !_dereq_(126)([].some, true), 'Array', {\n  // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n  some: function some(callbackfn /* , thisArg */) {\n    return $some(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],171:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar aFunction = _dereq_(31);\nvar toObject = _dereq_(140);\nvar fails = _dereq_(62);\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n  // IE8-\n  test.sort(undefined);\n}) || !fails(function () {\n  // V8 bug\n  test.sort(null);\n  // Old WebKit\n}) || !_dereq_(126)($sort)), 'Array', {\n  // 22.1.3.25 Array.prototype.sort(comparefn)\n  sort: function sort(comparefn) {\n    return comparefn === undefined\n      ? $sort.call(toObject(this))\n      : $sort.call(toObject(this), aFunction(comparefn));\n  }\n});\n\n},{\"126\":126,\"140\":140,\"31\":31,\"60\":60,\"62\":62}],172:[function(_dereq_,module,exports){\n_dereq_(121)('Array');\n\n},{\"121\":121}],173:[function(_dereq_,module,exports){\n// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = _dereq_(60);\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n\n},{\"60\":60}],174:[function(_dereq_,module,exports){\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = _dereq_(60);\nvar toISOString = _dereq_(53);\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n  toISOString: toISOString\n});\n\n},{\"53\":53,\"60\":60}],175:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toObject = _dereq_(140);\nvar toPrimitive = _dereq_(141);\n\n$export($export.P + $export.F * _dereq_(62)(function () {\n  return new Date(NaN).toJSON() !== null\n    || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n  // eslint-disable-next-line no-unused-vars\n  toJSON: function toJSON(key) {\n    var O = toObject(this);\n    var pv = toPrimitive(O);\n    return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n  }\n});\n\n},{\"140\":140,\"141\":141,\"60\":60,\"62\":62}],176:[function(_dereq_,module,exports){\nvar TO_PRIMITIVE = _dereq_(150)('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) _dereq_(70)(proto, TO_PRIMITIVE, _dereq_(54));\n\n},{\"150\":150,\"54\":54,\"70\":70}],177:[function(_dereq_,module,exports){\nvar DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n  _dereq_(116)(DateProto, TO_STRING, function toString() {\n    var value = getTime.call(this);\n    // eslint-disable-next-line no-self-compare\n    return value === value ? $toString.call(this) : INVALID_DATE;\n  });\n}\n\n},{\"116\":116}],178:[function(_dereq_,module,exports){\n// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Function', { bind: _dereq_(44) });\n\n},{\"44\":44,\"60\":60}],179:[function(_dereq_,module,exports){\n'use strict';\nvar isObject = _dereq_(79);\nvar getPrototypeOf = _dereq_(103);\nvar HAS_INSTANCE = _dereq_(150)('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) _dereq_(97).f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n  if (typeof this != 'function' || !isObject(O)) return false;\n  if (!isObject(this.prototype)) return O instanceof this;\n  // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n  while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n  return false;\n} });\n\n},{\"103\":103,\"150\":150,\"79\":79,\"97\":97}],180:[function(_dereq_,module,exports){\nvar dP = _dereq_(97).f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || _dereq_(56) && dP(FProto, NAME, {\n  configurable: true,\n  get: function () {\n    try {\n      return ('' + this).match(nameRE)[1];\n    } catch (e) {\n      return '';\n    }\n  }\n});\n\n},{\"56\":56,\"97\":97}],181:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(47);\nvar validate = _dereq_(147);\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = _dereq_(49)(MAP, function (get) {\n  return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.1.3.6 Map.prototype.get(key)\n  get: function get(key) {\n    var entry = strong.getEntry(validate(this, MAP), key);\n    return entry && entry.v;\n  },\n  // 23.1.3.9 Map.prototype.set(key, value)\n  set: function set(key, value) {\n    return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n  }\n}, strong, true);\n\n},{\"147\":147,\"47\":47,\"49\":49}],182:[function(_dereq_,module,exports){\n// 20.2.2.3 Math.acosh(x)\nvar $export = _dereq_(60);\nvar log1p = _dereq_(90);\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n  // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n  && Math.floor($acosh(Number.MAX_VALUE)) == 710\n  // Tor Browser bug: Math.acosh(Infinity) -> NaN\n  && $acosh(Infinity) == Infinity\n), 'Math', {\n  acosh: function acosh(x) {\n    return (x = +x) < 1 ? NaN : x > 94906265.62425156\n      ? Math.log(x) + Math.LN2\n      : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n  }\n});\n\n},{\"60\":60,\"90\":90}],183:[function(_dereq_,module,exports){\n// 20.2.2.5 Math.asinh(x)\nvar $export = _dereq_(60);\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n  return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n\n},{\"60\":60}],184:[function(_dereq_,module,exports){\n// 20.2.2.7 Math.atanh(x)\nvar $export = _dereq_(60);\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n  atanh: function atanh(x) {\n    return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n  }\n});\n\n},{\"60\":60}],185:[function(_dereq_,module,exports){\n// 20.2.2.9 Math.cbrt(x)\nvar $export = _dereq_(60);\nvar sign = _dereq_(91);\n\n$export($export.S, 'Math', {\n  cbrt: function cbrt(x) {\n    return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n  }\n});\n\n},{\"60\":60,\"91\":91}],186:[function(_dereq_,module,exports){\n// 20.2.2.11 Math.clz32(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  clz32: function clz32(x) {\n    return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n  }\n});\n\n},{\"60\":60}],187:[function(_dereq_,module,exports){\n// 20.2.2.12 Math.cosh(x)\nvar $export = _dereq_(60);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  cosh: function cosh(x) {\n    return (exp(x = +x) + exp(-x)) / 2;\n  }\n});\n\n},{\"60\":60}],188:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $export = _dereq_(60);\nvar $expm1 = _dereq_(88);\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n\n},{\"60\":60,\"88\":88}],189:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { fround: _dereq_(89) });\n\n},{\"60\":60,\"89\":89}],190:[function(_dereq_,module,exports){\n// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = _dereq_(60);\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n  hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n    var sum = 0;\n    var i = 0;\n    var aLen = arguments.length;\n    var larg = 0;\n    var arg, div;\n    while (i < aLen) {\n      arg = abs(arguments[i++]);\n      if (larg < arg) {\n        div = larg / arg;\n        sum = sum * div * div + 1;\n        larg = arg;\n      } else if (arg > 0) {\n        div = arg / larg;\n        sum += div * div;\n      } else sum += arg;\n    }\n    return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n  }\n});\n\n},{\"60\":60}],191:[function(_dereq_,module,exports){\n// 20.2.2.18 Math.imul(x, y)\nvar $export = _dereq_(60);\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * _dereq_(62)(function () {\n  return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n  imul: function imul(x, y) {\n    var UINT16 = 0xffff;\n    var xn = +x;\n    var yn = +y;\n    var xl = UINT16 & xn;\n    var yl = UINT16 & yn;\n    return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n  }\n});\n\n},{\"60\":60,\"62\":62}],192:[function(_dereq_,module,exports){\n// 20.2.2.21 Math.log10(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  log10: function log10(x) {\n    return Math.log(x) * Math.LOG10E;\n  }\n});\n\n},{\"60\":60}],193:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { log1p: _dereq_(90) });\n\n},{\"60\":60,\"90\":90}],194:[function(_dereq_,module,exports){\n// 20.2.2.22 Math.log2(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  log2: function log2(x) {\n    return Math.log(x) / Math.LN2;\n  }\n});\n\n},{\"60\":60}],195:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { sign: _dereq_(91) });\n\n},{\"60\":60,\"91\":91}],196:[function(_dereq_,module,exports){\n// 20.2.2.30 Math.sinh(x)\nvar $export = _dereq_(60);\nvar expm1 = _dereq_(88);\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * _dereq_(62)(function () {\n  return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n  sinh: function sinh(x) {\n    return Math.abs(x = +x) < 1\n      ? (expm1(x) - expm1(-x)) / 2\n      : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n  }\n});\n\n},{\"60\":60,\"62\":62,\"88\":88}],197:[function(_dereq_,module,exports){\n// 20.2.2.33 Math.tanh(x)\nvar $export = _dereq_(60);\nvar expm1 = _dereq_(88);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  tanh: function tanh(x) {\n    var a = expm1(x = +x);\n    var b = expm1(-x);\n    return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n  }\n});\n\n},{\"60\":60,\"88\":88}],198:[function(_dereq_,module,exports){\n// 20.2.2.34 Math.trunc(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  trunc: function trunc(it) {\n    return (it > 0 ? Math.floor : Math.ceil)(it);\n  }\n});\n\n},{\"60\":60}],199:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar has = _dereq_(69);\nvar cof = _dereq_(46);\nvar inheritIfRequired = _dereq_(73);\nvar toPrimitive = _dereq_(141);\nvar fails = _dereq_(62);\nvar gOPN = _dereq_(101).f;\nvar gOPD = _dereq_(99).f;\nvar dP = _dereq_(97).f;\nvar $trim = _dereq_(132).trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(_dereq_(96)(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n  var it = toPrimitive(argument, false);\n  if (typeof it == 'string' && it.length > 2) {\n    it = TRIM ? it.trim() : $trim(it, 3);\n    var first = it.charCodeAt(0);\n    var third, radix, maxCode;\n    if (first === 43 || first === 45) {\n      third = it.charCodeAt(2);\n      if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n    } else if (first === 48) {\n      switch (it.charCodeAt(1)) {\n        case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n        case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n        default: return +it;\n      }\n      for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n        code = digits.charCodeAt(i);\n        // parseInt parses a string to a first unavailable symbol\n        // but ToNumber should return NaN if a string contains unavailable symbols\n        if (code < 48 || code > maxCode) return NaN;\n      } return parseInt(digits, radix);\n    }\n  } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n  $Number = function Number(value) {\n    var it = arguments.length < 1 ? 0 : value;\n    var that = this;\n    return that instanceof $Number\n      // check on 1..constructor(foo) case\n      && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n        ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n  };\n  for (var keys = _dereq_(56) ? gOPN(Base) : (\n    // ES3:\n    'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n    // ES6 (in case, if modules with ES6 Number statics required before):\n    'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n    'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n  ).split(','), j = 0, key; keys.length > j; j++) {\n    if (has(Base, key = keys[j]) && !has($Number, key)) {\n      dP($Number, key, gOPD(Base, key));\n    }\n  }\n  $Number.prototype = proto;\n  proto.constructor = $Number;\n  _dereq_(116)(global, NUMBER, $Number);\n}\n\n},{\"101\":101,\"116\":116,\"132\":132,\"141\":141,\"46\":46,\"56\":56,\"62\":62,\"68\":68,\"69\":69,\"73\":73,\"96\":96,\"97\":97,\"99\":99}],200:[function(_dereq_,module,exports){\n// 20.1.2.1 Number.EPSILON\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n\n},{\"60\":60}],201:[function(_dereq_,module,exports){\n// 20.1.2.2 Number.isFinite(number)\nvar $export = _dereq_(60);\nvar _isFinite = _dereq_(68).isFinite;\n\n$export($export.S, 'Number', {\n  isFinite: function isFinite(it) {\n    return typeof it == 'number' && _isFinite(it);\n  }\n});\n\n},{\"60\":60,\"68\":68}],202:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { isInteger: _dereq_(78) });\n\n},{\"60\":60,\"78\":78}],203:[function(_dereq_,module,exports){\n// 20.1.2.4 Number.isNaN(number)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', {\n  isNaN: function isNaN(number) {\n    // eslint-disable-next-line no-self-compare\n    return number != number;\n  }\n});\n\n},{\"60\":60}],204:[function(_dereq_,module,exports){\n// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = _dereq_(60);\nvar isInteger = _dereq_(78);\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n  isSafeInteger: function isSafeInteger(number) {\n    return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n  }\n});\n\n},{\"60\":60,\"78\":78}],205:[function(_dereq_,module,exports){\n// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n\n},{\"60\":60}],206:[function(_dereq_,module,exports){\n// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n\n},{\"60\":60}],207:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseFloat = _dereq_(110);\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n\n},{\"110\":110,\"60\":60}],208:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseInt = _dereq_(111);\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n\n},{\"111\":111,\"60\":60}],209:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toInteger = _dereq_(137);\nvar aNumberValue = _dereq_(32);\nvar repeat = _dereq_(131);\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n  var i = -1;\n  var c2 = c;\n  while (++i < 6) {\n    c2 += n * data[i];\n    data[i] = c2 % 1e7;\n    c2 = floor(c2 / 1e7);\n  }\n};\nvar divide = function (n) {\n  var i = 6;\n  var c = 0;\n  while (--i >= 0) {\n    c += data[i];\n    data[i] = floor(c / n);\n    c = (c % n) * 1e7;\n  }\n};\nvar numToString = function () {\n  var i = 6;\n  var s = '';\n  while (--i >= 0) {\n    if (s !== '' || i === 0 || data[i] !== 0) {\n      var t = String(data[i]);\n      s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n    }\n  } return s;\n};\nvar pow = function (x, n, acc) {\n  return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n  var n = 0;\n  var x2 = x;\n  while (x2 >= 4096) {\n    n += 12;\n    x2 /= 4096;\n  }\n  while (x2 >= 2) {\n    n += 1;\n    x2 /= 2;\n  } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n  0.00008.toFixed(3) !== '0.000' ||\n  0.9.toFixed(0) !== '1' ||\n  1.255.toFixed(2) !== '1.25' ||\n  1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !_dereq_(62)(function () {\n  // V8 ~ Android 4.3-\n  $toFixed.call({});\n})), 'Number', {\n  toFixed: function toFixed(fractionDigits) {\n    var x = aNumberValue(this, ERROR);\n    var f = toInteger(fractionDigits);\n    var s = '';\n    var m = ZERO;\n    var e, z, j, k;\n    if (f < 0 || f > 20) throw RangeError(ERROR);\n    // eslint-disable-next-line no-self-compare\n    if (x != x) return 'NaN';\n    if (x <= -1e21 || x >= 1e21) return String(x);\n    if (x < 0) {\n      s = '-';\n      x = -x;\n    }\n    if (x > 1e-21) {\n      e = log(x * pow(2, 69, 1)) - 69;\n      z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n      z *= 0x10000000000000;\n      e = 52 - e;\n      if (e > 0) {\n        multiply(0, z);\n        j = f;\n        while (j >= 7) {\n          multiply(1e7, 0);\n          j -= 7;\n        }\n        multiply(pow(10, j, 1), 0);\n        j = e - 1;\n        while (j >= 23) {\n          divide(1 << 23);\n          j -= 23;\n        }\n        divide(1 << j);\n        multiply(1, 1);\n        divide(2);\n        m = numToString();\n      } else {\n        multiply(0, z);\n        multiply(1 << -e, 0);\n        m = numToString() + repeat.call(ZERO, f);\n      }\n    }\n    if (f > 0) {\n      k = m.length;\n      m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n    } else {\n      m = s + m;\n    } return m;\n  }\n});\n\n},{\"131\":131,\"137\":137,\"32\":32,\"60\":60,\"62\":62}],210:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $fails = _dereq_(62);\nvar aNumberValue = _dereq_(32);\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n  // IE7-\n  return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n  // V8 ~ Android 4.3-\n  $toPrecision.call({});\n})), 'Number', {\n  toPrecision: function toPrecision(precision) {\n    var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n    return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n  }\n});\n\n},{\"32\":32,\"60\":60,\"62\":62}],211:[function(_dereq_,module,exports){\n// 19.1.3.1 Object.assign(target, source)\nvar $export = _dereq_(60);\n\n$export($export.S + $export.F, 'Object', { assign: _dereq_(95) });\n\n},{\"60\":60,\"95\":95}],212:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: _dereq_(96) });\n\n},{\"60\":60,\"96\":96}],213:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperties: _dereq_(98) });\n\n},{\"56\":56,\"60\":60,\"98\":98}],214:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperty: _dereq_(97).f });\n\n},{\"56\":56,\"60\":60,\"97\":97}],215:[function(_dereq_,module,exports){\n// 19.1.2.5 Object.freeze(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('freeze', function ($freeze) {\n  return function freeze(it) {\n    return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],216:[function(_dereq_,module,exports){\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = _dereq_(138);\nvar $getOwnPropertyDescriptor = _dereq_(99).f;\n\n_dereq_(107)('getOwnPropertyDescriptor', function () {\n  return function getOwnPropertyDescriptor(it, key) {\n    return $getOwnPropertyDescriptor(toIObject(it), key);\n  };\n});\n\n},{\"107\":107,\"138\":138,\"99\":99}],217:[function(_dereq_,module,exports){\n// 19.1.2.7 Object.getOwnPropertyNames(O)\n_dereq_(107)('getOwnPropertyNames', function () {\n  return _dereq_(100).f;\n});\n\n},{\"100\":100,\"107\":107}],218:[function(_dereq_,module,exports){\n// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = _dereq_(140);\nvar $getPrototypeOf = _dereq_(103);\n\n_dereq_(107)('getPrototypeOf', function () {\n  return function getPrototypeOf(it) {\n    return $getPrototypeOf(toObject(it));\n  };\n});\n\n},{\"103\":103,\"107\":107,\"140\":140}],219:[function(_dereq_,module,exports){\n// 19.1.2.11 Object.isExtensible(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isExtensible', function ($isExtensible) {\n  return function isExtensible(it) {\n    return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n  };\n});\n\n},{\"107\":107,\"79\":79}],220:[function(_dereq_,module,exports){\n// 19.1.2.12 Object.isFrozen(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isFrozen', function ($isFrozen) {\n  return function isFrozen(it) {\n    return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n  };\n});\n\n},{\"107\":107,\"79\":79}],221:[function(_dereq_,module,exports){\n// 19.1.2.13 Object.isSealed(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isSealed', function ($isSealed) {\n  return function isSealed(it) {\n    return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n  };\n});\n\n},{\"107\":107,\"79\":79}],222:[function(_dereq_,module,exports){\n// 19.1.3.10 Object.is(value1, value2)\nvar $export = _dereq_(60);\n$export($export.S, 'Object', { is: _dereq_(119) });\n\n},{\"119\":119,\"60\":60}],223:[function(_dereq_,module,exports){\n// 19.1.2.14 Object.keys(O)\nvar toObject = _dereq_(140);\nvar $keys = _dereq_(105);\n\n_dereq_(107)('keys', function () {\n  return function keys(it) {\n    return $keys(toObject(it));\n  };\n});\n\n},{\"105\":105,\"107\":107,\"140\":140}],224:[function(_dereq_,module,exports){\n// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('preventExtensions', function ($preventExtensions) {\n  return function preventExtensions(it) {\n    return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],225:[function(_dereq_,module,exports){\n// 19.1.2.17 Object.seal(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('seal', function ($seal) {\n  return function seal(it) {\n    return $seal && isObject(it) ? $seal(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],226:[function(_dereq_,module,exports){\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = _dereq_(60);\n$export($export.S, 'Object', { setPrototypeOf: _dereq_(120).set });\n\n},{\"120\":120,\"60\":60}],227:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = _dereq_(45);\nvar test = {};\ntest[_dereq_(150)('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n  _dereq_(116)(Object.prototype, 'toString', function toString() {\n    return '[object ' + classof(this) + ']';\n  }, true);\n}\n\n},{\"116\":116,\"150\":150,\"45\":45}],228:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseFloat = _dereq_(110);\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n\n},{\"110\":110,\"60\":60}],229:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseInt = _dereq_(111);\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n\n},{\"111\":111,\"60\":60}],230:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(87);\nvar global = _dereq_(68);\nvar ctx = _dereq_(52);\nvar classof = _dereq_(45);\nvar $export = _dereq_(60);\nvar isObject = _dereq_(79);\nvar aFunction = _dereq_(31);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar speciesConstructor = _dereq_(125);\nvar task = _dereq_(134).set;\nvar microtask = _dereq_(93)();\nvar newPromiseCapabilityModule = _dereq_(94);\nvar perform = _dereq_(112);\nvar userAgent = _dereq_(146);\nvar promiseResolve = _dereq_(113);\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n  try {\n    // correct subclassing with @@species support\n    var promise = $Promise.resolve(1);\n    var FakePromise = (promise.constructor = {})[_dereq_(150)('species')] = function (exec) {\n      exec(empty, empty);\n    };\n    // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n    return (isNode || typeof PromiseRejectionEvent == 'function')\n      && promise.then(empty) instanceof FakePromise\n      // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0\n      && userAgent.indexOf('Chrome/66') === -1;\n  } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n  var then;\n  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n  if (promise._n) return;\n  promise._n = true;\n  var chain = promise._c;\n  microtask(function () {\n    var value = promise._v;\n    var ok = promise._s == 1;\n    var i = 0;\n    var run = function (reaction) {\n      var handler = ok ? reaction.ok : reaction.fail;\n      var resolve = reaction.resolve;\n      var reject = reaction.reject;\n      var domain = reaction.domain;\n      var result, then, exited;\n      try {\n        if (handler) {\n          if (!ok) {\n            if (promise._h == 2) onHandleUnhandled(promise);\n            promise._h = 1;\n          }\n          if (handler === true) result = value;\n          else {\n            if (domain) domain.enter();\n            result = handler(value); // may throw\n            if (domain) {\n              domain.exit();\n              exited = true;\n            }\n          }\n          if (result === reaction.promise) {\n            reject(TypeError('Promise-chain cycle'));\n          } else if (then = isThenable(result)) {\n            then.call(result, resolve, reject);\n          } else resolve(result);\n        } else reject(value);\n      } catch (e) {\n        if (domain && !exited) domain.exit();\n        reject(e);\n      }\n    };\n    while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n    promise._c = [];\n    promise._n = false;\n    if (isReject && !promise._h) onUnhandled(promise);\n  });\n};\nvar onUnhandled = function (promise) {\n  task.call(global, function () {\n    var value = promise._v;\n    var unhandled = isUnhandled(promise);\n    var result, handler, console;\n    if (unhandled) {\n      result = perform(function () {\n        if (isNode) {\n          process.emit('unhandledRejection', value, promise);\n        } else if (handler = global.onunhandledrejection) {\n          handler({ promise: promise, reason: value });\n        } else if ((console = global.console) && console.error) {\n          console.error('Unhandled promise rejection', value);\n        }\n      });\n      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n      promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n    } promise._a = undefined;\n    if (unhandled && result.e) throw result.v;\n  });\n};\nvar isUnhandled = function (promise) {\n  return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n  task.call(global, function () {\n    var handler;\n    if (isNode) {\n      process.emit('rejectionHandled', promise);\n    } else if (handler = global.onrejectionhandled) {\n      handler({ promise: promise, reason: promise._v });\n    }\n  });\n};\nvar $reject = function (value) {\n  var promise = this;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  promise._v = value;\n  promise._s = 2;\n  if (!promise._a) promise._a = promise._c.slice();\n  notify(promise, true);\n};\nvar $resolve = function (value) {\n  var promise = this;\n  var then;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  try {\n    if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n    if (then = isThenable(value)) {\n      microtask(function () {\n        var wrapper = { _w: promise, _d: false }; // wrap\n        try {\n          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n        } catch (e) {\n          $reject.call(wrapper, e);\n        }\n      });\n    } else {\n      promise._v = value;\n      promise._s = 1;\n      notify(promise, false);\n    }\n  } catch (e) {\n    $reject.call({ _w: promise, _d: false }, e); // wrap\n  }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n  // 25.4.3.1 Promise(executor)\n  $Promise = function Promise(executor) {\n    anInstance(this, $Promise, PROMISE, '_h');\n    aFunction(executor);\n    Internal.call(this);\n    try {\n      executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n    } catch (err) {\n      $reject.call(this, err);\n    }\n  };\n  // eslint-disable-next-line no-unused-vars\n  Internal = function Promise(executor) {\n    this._c = [];             // <- awaiting reactions\n    this._a = undefined;      // <- checked in isUnhandled reactions\n    this._s = 0;              // <- state\n    this._d = false;          // <- done\n    this._v = undefined;      // <- value\n    this._h = 0;              // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n    this._n = false;          // <- notify\n  };\n  Internal.prototype = _dereq_(115)($Promise.prototype, {\n    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n    then: function then(onFulfilled, onRejected) {\n      var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n      reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n      reaction.fail = typeof onRejected == 'function' && onRejected;\n      reaction.domain = isNode ? process.domain : undefined;\n      this._c.push(reaction);\n      if (this._a) this._a.push(reaction);\n      if (this._s) notify(this, false);\n      return reaction.promise;\n    },\n    // 25.4.5.1 Promise.prototype.catch(onRejected)\n    'catch': function (onRejected) {\n      return this.then(undefined, onRejected);\n    }\n  });\n  OwnPromiseCapability = function () {\n    var promise = new Internal();\n    this.promise = promise;\n    this.resolve = ctx($resolve, promise, 1);\n    this.reject = ctx($reject, promise, 1);\n  };\n  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n    return C === $Promise || C === Wrapper\n      ? new OwnPromiseCapability(C)\n      : newGenericPromiseCapability(C);\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\n_dereq_(122)($Promise, PROMISE);\n_dereq_(121)(PROMISE);\nWrapper = _dereq_(50)[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n  // 25.4.4.5 Promise.reject(r)\n  reject: function reject(r) {\n    var capability = newPromiseCapability(this);\n    var $$reject = capability.reject;\n    $$reject(r);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n  // 25.4.4.6 Promise.resolve(x)\n  resolve: function resolve(x) {\n    return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n  }\n});\n$export($export.S + $export.F * !(USE_NATIVE && _dereq_(84)(function (iter) {\n  $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n  // 25.4.4.1 Promise.all(iterable)\n  all: function all(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var values = [];\n      var index = 0;\n      var remaining = 1;\n      forOf(iterable, false, function (promise) {\n        var $index = index++;\n        var alreadyCalled = false;\n        values.push(undefined);\n        remaining++;\n        C.resolve(promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[$index] = value;\n          --remaining || resolve(values);\n        }, reject);\n      });\n      --remaining || resolve(values);\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  },\n  // 25.4.4.4 Promise.race(iterable)\n  race: function race(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var reject = capability.reject;\n    var result = perform(function () {\n      forOf(iterable, false, function (promise) {\n        C.resolve(promise).then(capability.resolve, reject);\n      });\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  }\n});\n\n},{\"112\":112,\"113\":113,\"115\":115,\"121\":121,\"122\":122,\"125\":125,\"134\":134,\"146\":146,\"150\":150,\"31\":31,\"35\":35,\"45\":45,\"50\":50,\"52\":52,\"60\":60,\"66\":66,\"68\":68,\"79\":79,\"84\":84,\"87\":87,\"93\":93,\"94\":94}],231:[function(_dereq_,module,exports){\n// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = _dereq_(60);\nvar aFunction = _dereq_(31);\nvar anObject = _dereq_(36);\nvar rApply = (_dereq_(68).Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !_dereq_(62)(function () {\n  rApply(function () { /* empty */ });\n}), 'Reflect', {\n  apply: function apply(target, thisArgument, argumentsList) {\n    var T = aFunction(target);\n    var L = anObject(argumentsList);\n    return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n  }\n});\n\n},{\"31\":31,\"36\":36,\"60\":60,\"62\":62,\"68\":68}],232:[function(_dereq_,module,exports){\n// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = _dereq_(60);\nvar create = _dereq_(96);\nvar aFunction = _dereq_(31);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar fails = _dereq_(62);\nvar bind = _dereq_(44);\nvar rConstruct = (_dereq_(68).Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n  function F() { /* empty */ }\n  return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n  rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n  construct: function construct(Target, args /* , newTarget */) {\n    aFunction(Target);\n    anObject(args);\n    var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n    if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n    if (Target == newTarget) {\n      // w/o altered newTarget, optimization for 0-4 arguments\n      switch (args.length) {\n        case 0: return new Target();\n        case 1: return new Target(args[0]);\n        case 2: return new Target(args[0], args[1]);\n        case 3: return new Target(args[0], args[1], args[2]);\n        case 4: return new Target(args[0], args[1], args[2], args[3]);\n      }\n      // w/o altered newTarget, lot of arguments case\n      var $args = [null];\n      $args.push.apply($args, args);\n      return new (bind.apply(Target, $args))();\n    }\n    // with altered newTarget, not support built-in constructors\n    var proto = newTarget.prototype;\n    var instance = create(isObject(proto) ? proto : Object.prototype);\n    var result = Function.apply.call(Target, instance, args);\n    return isObject(result) ? result : instance;\n  }\n});\n\n},{\"31\":31,\"36\":36,\"44\":44,\"60\":60,\"62\":62,\"68\":68,\"79\":79,\"96\":96}],233:[function(_dereq_,module,exports){\n// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = _dereq_(97);\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar toPrimitive = _dereq_(141);\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * _dereq_(62)(function () {\n  // eslint-disable-next-line no-undef\n  Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n  defineProperty: function defineProperty(target, propertyKey, attributes) {\n    anObject(target);\n    propertyKey = toPrimitive(propertyKey, true);\n    anObject(attributes);\n    try {\n      dP.f(target, propertyKey, attributes);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"141\":141,\"36\":36,\"60\":60,\"62\":62,\"97\":97}],234:[function(_dereq_,module,exports){\n// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = _dereq_(60);\nvar gOPD = _dereq_(99).f;\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  deleteProperty: function deleteProperty(target, propertyKey) {\n    var desc = gOPD(anObject(target), propertyKey);\n    return desc && !desc.configurable ? false : delete target[propertyKey];\n  }\n});\n\n},{\"36\":36,\"60\":60,\"99\":99}],235:[function(_dereq_,module,exports){\n'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar Enumerate = function (iterated) {\n  this._t = anObject(iterated); // target\n  this._i = 0;                  // next index\n  var keys = this._k = [];      // keys\n  var key;\n  for (key in iterated) keys.push(key);\n};\n_dereq_(82)(Enumerate, 'Object', function () {\n  var that = this;\n  var keys = that._k;\n  var key;\n  do {\n    if (that._i >= keys.length) return { value: undefined, done: true };\n  } while (!((key = keys[that._i++]) in that._t));\n  return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n  enumerate: function enumerate(target) {\n    return new Enumerate(target);\n  }\n});\n\n},{\"36\":36,\"60\":60,\"82\":82}],236:[function(_dereq_,module,exports){\n// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = _dereq_(99);\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n    return gOPD.f(anObject(target), propertyKey);\n  }\n});\n\n},{\"36\":36,\"60\":60,\"99\":99}],237:[function(_dereq_,module,exports){\n// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = _dereq_(60);\nvar getProto = _dereq_(103);\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  getPrototypeOf: function getPrototypeOf(target) {\n    return getProto(anObject(target));\n  }\n});\n\n},{\"103\":103,\"36\":36,\"60\":60}],238:[function(_dereq_,module,exports){\n// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = _dereq_(99);\nvar getPrototypeOf = _dereq_(103);\nvar has = _dereq_(69);\nvar $export = _dereq_(60);\nvar isObject = _dereq_(79);\nvar anObject = _dereq_(36);\n\nfunction get(target, propertyKey /* , receiver */) {\n  var receiver = arguments.length < 3 ? target : arguments[2];\n  var desc, proto;\n  if (anObject(target) === receiver) return target[propertyKey];\n  if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n    ? desc.value\n    : desc.get !== undefined\n      ? desc.get.call(receiver)\n      : undefined;\n  if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n\n},{\"103\":103,\"36\":36,\"60\":60,\"69\":69,\"79\":79,\"99\":99}],239:[function(_dereq_,module,exports){\n// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Reflect', {\n  has: function has(target, propertyKey) {\n    return propertyKey in target;\n  }\n});\n\n},{\"60\":60}],240:[function(_dereq_,module,exports){\n// 26.1.10 Reflect.isExtensible(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n  isExtensible: function isExtensible(target) {\n    anObject(target);\n    return $isExtensible ? $isExtensible(target) : true;\n  }\n});\n\n},{\"36\":36,\"60\":60}],241:[function(_dereq_,module,exports){\n// 26.1.11 Reflect.ownKeys(target)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Reflect', { ownKeys: _dereq_(109) });\n\n},{\"109\":109,\"60\":60}],242:[function(_dereq_,module,exports){\n// 26.1.12 Reflect.preventExtensions(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n  preventExtensions: function preventExtensions(target) {\n    anObject(target);\n    try {\n      if ($preventExtensions) $preventExtensions(target);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"36\":36,\"60\":60}],243:[function(_dereq_,module,exports){\n// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = _dereq_(60);\nvar setProto = _dereq_(120);\n\nif (setProto) $export($export.S, 'Reflect', {\n  setPrototypeOf: function setPrototypeOf(target, proto) {\n    setProto.check(target, proto);\n    try {\n      setProto.set(target, proto);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"120\":120,\"60\":60}],244:[function(_dereq_,module,exports){\n// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = _dereq_(97);\nvar gOPD = _dereq_(99);\nvar getPrototypeOf = _dereq_(103);\nvar has = _dereq_(69);\nvar $export = _dereq_(60);\nvar createDesc = _dereq_(114);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\n\nfunction set(target, propertyKey, V /* , receiver */) {\n  var receiver = arguments.length < 4 ? target : arguments[3];\n  var ownDesc = gOPD.f(anObject(target), propertyKey);\n  var existingDescriptor, proto;\n  if (!ownDesc) {\n    if (isObject(proto = getPrototypeOf(target))) {\n      return set(proto, propertyKey, V, receiver);\n    }\n    ownDesc = createDesc(0);\n  }\n  if (has(ownDesc, 'value')) {\n    if (ownDesc.writable === false || !isObject(receiver)) return false;\n    if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n      if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n      existingDescriptor.value = V;\n      dP.f(receiver, propertyKey, existingDescriptor);\n    } else dP.f(receiver, propertyKey, createDesc(0, V));\n    return true;\n  }\n  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n\n},{\"103\":103,\"114\":114,\"36\":36,\"60\":60,\"69\":69,\"79\":79,\"97\":97,\"99\":99}],245:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar inheritIfRequired = _dereq_(73);\nvar dP = _dereq_(97).f;\nvar gOPN = _dereq_(101).f;\nvar isRegExp = _dereq_(80);\nvar $flags = _dereq_(64);\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (_dereq_(56) && (!CORRECT_NEW || _dereq_(62)(function () {\n  re2[_dereq_(150)('match')] = false;\n  // RegExp constructor can alter flags and IsRegExp works correct with @@match\n  return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n  $RegExp = function RegExp(p, f) {\n    var tiRE = this instanceof $RegExp;\n    var piRE = isRegExp(p);\n    var fiU = f === undefined;\n    return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n      : inheritIfRequired(CORRECT_NEW\n        ? new Base(piRE && !fiU ? p.source : p, f)\n        : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n      , tiRE ? this : proto, $RegExp);\n  };\n  var proxy = function (key) {\n    key in $RegExp || dP($RegExp, key, {\n      configurable: true,\n      get: function () { return Base[key]; },\n      set: function (it) { Base[key] = it; }\n    });\n  };\n  for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n  proto.constructor = $RegExp;\n  $RegExp.prototype = proto;\n  _dereq_(116)(global, 'RegExp', $RegExp);\n}\n\n_dereq_(121)('RegExp');\n\n},{\"101\":101,\"116\":116,\"121\":121,\"150\":150,\"56\":56,\"62\":62,\"64\":64,\"68\":68,\"73\":73,\"80\":80,\"97\":97}],246:[function(_dereq_,module,exports){\n'use strict';\nvar regexpExec = _dereq_(118);\n_dereq_(60)({\n  target: 'RegExp',\n  proto: true,\n  forced: regexpExec !== /./.exec\n}, {\n  exec: regexpExec\n});\n\n},{\"118\":118,\"60\":60}],247:[function(_dereq_,module,exports){\n// 21.2.5.3 get RegExp.prototype.flags()\nif (_dereq_(56) && /./g.flags != 'g') _dereq_(97).f(RegExp.prototype, 'flags', {\n  configurable: true,\n  get: _dereq_(64)\n});\n\n},{\"56\":56,\"64\":64,\"97\":97}],248:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar toLength = _dereq_(139);\nvar advanceStringIndex = _dereq_(34);\nvar regExpExec = _dereq_(117);\n\n// @@match logic\n_dereq_(63)('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n  return [\n    // `String.prototype.match` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.match\n    function match(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[MATCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n    },\n    // `RegExp.prototype[@@match]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n    function (regexp) {\n      var res = maybeCallNative($match, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      if (!rx.global) return regExpExec(rx, S);\n      var fullUnicode = rx.unicode;\n      rx.lastIndex = 0;\n      var A = [];\n      var n = 0;\n      var result;\n      while ((result = regExpExec(rx, S)) !== null) {\n        var matchStr = String(result[0]);\n        A[n] = matchStr;\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n        n++;\n      }\n      return n === 0 ? null : A;\n    }\n  ];\n});\n\n},{\"117\":117,\"139\":139,\"34\":34,\"36\":36,\"63\":63}],249:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar toInteger = _dereq_(137);\nvar advanceStringIndex = _dereq_(34);\nvar regExpExec = _dereq_(117);\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n  return it === undefined ? it : String(it);\n};\n\n// @@replace logic\n_dereq_(63)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n  return [\n    // `String.prototype.replace` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n    function replace(searchValue, replaceValue) {\n      var O = defined(this);\n      var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n      return fn !== undefined\n        ? fn.call(searchValue, O, replaceValue)\n        : $replace.call(String(O), searchValue, replaceValue);\n    },\n    // `RegExp.prototype[@@replace]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n    function (regexp, replaceValue) {\n      var res = maybeCallNative($replace, regexp, this, replaceValue);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var functionalReplace = typeof replaceValue === 'function';\n      if (!functionalReplace) replaceValue = String(replaceValue);\n      var global = rx.global;\n      if (global) {\n        var fullUnicode = rx.unicode;\n        rx.lastIndex = 0;\n      }\n      var results = [];\n      while (true) {\n        var result = regExpExec(rx, S);\n        if (result === null) break;\n        results.push(result);\n        if (!global) break;\n        var matchStr = String(result[0]);\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n      }\n      var accumulatedResult = '';\n      var nextSourcePosition = 0;\n      for (var i = 0; i < results.length; i++) {\n        result = results[i];\n        var matched = String(result[0]);\n        var position = max(min(toInteger(result.index), S.length), 0);\n        var captures = [];\n        // NOTE: This is equivalent to\n        //   captures = result.slice(1).map(maybeToString)\n        // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n        // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n        // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n        for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n        var namedCaptures = result.groups;\n        if (functionalReplace) {\n          var replacerArgs = [matched].concat(captures, position, S);\n          if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n          var replacement = String(replaceValue.apply(undefined, replacerArgs));\n        } else {\n          replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n        }\n        if (position >= nextSourcePosition) {\n          accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n          nextSourcePosition = position + matched.length;\n        }\n      }\n      return accumulatedResult + S.slice(nextSourcePosition);\n    }\n  ];\n\n    // https://tc39.github.io/ecma262/#sec-getsubstitution\n  function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n    var tailPos = position + matched.length;\n    var m = captures.length;\n    var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n    if (namedCaptures !== undefined) {\n      namedCaptures = toObject(namedCaptures);\n      symbols = SUBSTITUTION_SYMBOLS;\n    }\n    return $replace.call(replacement, symbols, function (match, ch) {\n      var capture;\n      switch (ch.charAt(0)) {\n        case '$': return '$';\n        case '&': return matched;\n        case '`': return str.slice(0, position);\n        case \"'\": return str.slice(tailPos);\n        case '<':\n          capture = namedCaptures[ch.slice(1, -1)];\n          break;\n        default: // \\d\\d?\n          var n = +ch;\n          if (n === 0) return match;\n          if (n > m) {\n            var f = floor(n / 10);\n            if (f === 0) return match;\n            if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n            return match;\n          }\n          capture = captures[n - 1];\n      }\n      return capture === undefined ? '' : capture;\n    });\n  }\n});\n\n},{\"117\":117,\"137\":137,\"139\":139,\"140\":140,\"34\":34,\"36\":36,\"63\":63}],250:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar sameValue = _dereq_(119);\nvar regExpExec = _dereq_(117);\n\n// @@search logic\n_dereq_(63)('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n  return [\n    // `String.prototype.search` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.search\n    function search(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[SEARCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n    },\n    // `RegExp.prototype[@@search]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n    function (regexp) {\n      var res = maybeCallNative($search, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      var previousLastIndex = rx.lastIndex;\n      if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n      var result = regExpExec(rx, S);\n      if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n      return result === null ? -1 : result.index;\n    }\n  ];\n});\n\n},{\"117\":117,\"119\":119,\"36\":36,\"63\":63}],251:[function(_dereq_,module,exports){\n'use strict';\n\nvar isRegExp = _dereq_(80);\nvar anObject = _dereq_(36);\nvar speciesConstructor = _dereq_(125);\nvar advanceStringIndex = _dereq_(34);\nvar toLength = _dereq_(139);\nvar callRegExpExec = _dereq_(117);\nvar regexpExec = _dereq_(118);\nvar fails = _dereq_(62);\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\n_dereq_(63)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n  var internalSplit;\n  if (\n    'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n    'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n    'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n    '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n    '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n    ''[$SPLIT](/.?/)[LENGTH]\n  ) {\n    // based on es5-shim implementation, need to rework it\n    internalSplit = function (separator, limit) {\n      var string = String(this);\n      if (separator === undefined && limit === 0) return [];\n      // If `separator` is not a regex, use native split\n      if (!isRegExp(separator)) return $split.call(string, separator, limit);\n      var output = [];\n      var flags = (separator.ignoreCase ? 'i' : '') +\n                  (separator.multiline ? 'm' : '') +\n                  (separator.unicode ? 'u' : '') +\n                  (separator.sticky ? 'y' : '');\n      var lastLastIndex = 0;\n      var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      // Make `global` and avoid `lastIndex` issues by working with a copy\n      var separatorCopy = new RegExp(separator.source, flags + 'g');\n      var match, lastIndex, lastLength;\n      while (match = regexpExec.call(separatorCopy, string)) {\n        lastIndex = separatorCopy[LAST_INDEX];\n        if (lastIndex > lastLastIndex) {\n          output.push(string.slice(lastLastIndex, match.index));\n          if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n          lastLength = match[0][LENGTH];\n          lastLastIndex = lastIndex;\n          if (output[LENGTH] >= splitLimit) break;\n        }\n        if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n      }\n      if (lastLastIndex === string[LENGTH]) {\n        if (lastLength || !separatorCopy.test('')) output.push('');\n      } else output.push(string.slice(lastLastIndex));\n      return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n    };\n  // Chakra, V8\n  } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n    internalSplit = function (separator, limit) {\n      return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n    };\n  } else {\n    internalSplit = $split;\n  }\n\n  return [\n    // `String.prototype.split` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.split\n    function split(separator, limit) {\n      var O = defined(this);\n      var splitter = separator == undefined ? undefined : separator[SPLIT];\n      return splitter !== undefined\n        ? splitter.call(separator, O, limit)\n        : internalSplit.call(String(O), separator, limit);\n    },\n    // `RegExp.prototype[@@split]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n    //\n    // NOTE: This cannot be properly polyfilled in engines that don't support\n    // the 'y' flag.\n    function (regexp, limit) {\n      var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var C = speciesConstructor(rx, RegExp);\n\n      var unicodeMatching = rx.unicode;\n      var flags = (rx.ignoreCase ? 'i' : '') +\n                  (rx.multiline ? 'm' : '') +\n                  (rx.unicode ? 'u' : '') +\n                  (SUPPORTS_Y ? 'y' : 'g');\n\n      // ^(? + rx + ) is needed, in combination with some S slicing, to\n      // simulate the 'y' flag.\n      var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n      var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      if (lim === 0) return [];\n      if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n      var p = 0;\n      var q = 0;\n      var A = [];\n      while (q < S.length) {\n        splitter.lastIndex = SUPPORTS_Y ? q : 0;\n        var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n        var e;\n        if (\n          z === null ||\n          (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n        ) {\n          q = advanceStringIndex(S, q, unicodeMatching);\n        } else {\n          A.push(S.slice(p, q));\n          if (A.length === lim) return A;\n          for (var i = 1; i <= z.length - 1; i++) {\n            A.push(z[i]);\n            if (A.length === lim) return A;\n          }\n          q = p = e;\n        }\n      }\n      A.push(S.slice(p));\n      return A;\n    }\n  ];\n});\n\n},{\"117\":117,\"118\":118,\"125\":125,\"139\":139,\"34\":34,\"36\":36,\"62\":62,\"63\":63,\"80\":80}],252:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(247);\nvar anObject = _dereq_(36);\nvar $flags = _dereq_(64);\nvar DESCRIPTORS = _dereq_(56);\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n  _dereq_(116)(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (_dereq_(62)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n  define(function toString() {\n    var R = anObject(this);\n    return '/'.concat(R.source, '/',\n      'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n  });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n  define(function toString() {\n    return $toString.call(this);\n  });\n}\n\n},{\"116\":116,\"247\":247,\"36\":36,\"56\":56,\"62\":62,\"64\":64}],253:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(47);\nvar validate = _dereq_(147);\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = _dereq_(49)(SET, function (get) {\n  return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.2.3.1 Set.prototype.add(value)\n  add: function add(value) {\n    return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n  }\n}, strong);\n\n},{\"147\":147,\"47\":47,\"49\":49}],254:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.2 String.prototype.anchor(name)\n_dereq_(129)('anchor', function (createHTML) {\n  return function anchor(name) {\n    return createHTML(this, 'a', 'name', name);\n  };\n});\n\n},{\"129\":129}],255:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.3 String.prototype.big()\n_dereq_(129)('big', function (createHTML) {\n  return function big() {\n    return createHTML(this, 'big', '', '');\n  };\n});\n\n},{\"129\":129}],256:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.4 String.prototype.blink()\n_dereq_(129)('blink', function (createHTML) {\n  return function blink() {\n    return createHTML(this, 'blink', '', '');\n  };\n});\n\n},{\"129\":129}],257:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.5 String.prototype.bold()\n_dereq_(129)('bold', function (createHTML) {\n  return function bold() {\n    return createHTML(this, 'b', '', '');\n  };\n});\n\n},{\"129\":129}],258:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $at = _dereq_(127)(false);\n$export($export.P, 'String', {\n  // 21.1.3.3 String.prototype.codePointAt(pos)\n  codePointAt: function codePointAt(pos) {\n    return $at(this, pos);\n  }\n});\n\n},{\"127\":127,\"60\":60}],259:[function(_dereq_,module,exports){\n// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = _dereq_(60);\nvar toLength = _dereq_(139);\nvar context = _dereq_(128);\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * _dereq_(61)(ENDS_WITH), 'String', {\n  endsWith: function endsWith(searchString /* , endPosition = @length */) {\n    var that = context(this, searchString, ENDS_WITH);\n    var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n    var len = toLength(that.length);\n    var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n    var search = String(searchString);\n    return $endsWith\n      ? $endsWith.call(that, search, end)\n      : that.slice(end - search.length, end) === search;\n  }\n});\n\n},{\"128\":128,\"139\":139,\"60\":60,\"61\":61}],260:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.6 String.prototype.fixed()\n_dereq_(129)('fixed', function (createHTML) {\n  return function fixed() {\n    return createHTML(this, 'tt', '', '');\n  };\n});\n\n},{\"129\":129}],261:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\n_dereq_(129)('fontcolor', function (createHTML) {\n  return function fontcolor(color) {\n    return createHTML(this, 'font', 'color', color);\n  };\n});\n\n},{\"129\":129}],262:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\n_dereq_(129)('fontsize', function (createHTML) {\n  return function fontsize(size) {\n    return createHTML(this, 'font', 'size', size);\n  };\n});\n\n},{\"129\":129}],263:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar toAbsoluteIndex = _dereq_(135);\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n  // 21.1.2.2 String.fromCodePoint(...codePoints)\n  fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n    var res = [];\n    var aLen = arguments.length;\n    var i = 0;\n    var code;\n    while (aLen > i) {\n      code = +arguments[i++];\n      if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n      res.push(code < 0x10000\n        ? fromCharCode(code)\n        : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n      );\n    } return res.join('');\n  }\n});\n\n},{\"135\":135,\"60\":60}],264:[function(_dereq_,module,exports){\n// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = _dereq_(60);\nvar context = _dereq_(128);\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * _dereq_(61)(INCLUDES), 'String', {\n  includes: function includes(searchString /* , position = 0 */) {\n    return !!~context(this, searchString, INCLUDES)\n      .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n},{\"128\":128,\"60\":60,\"61\":61}],265:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.9 String.prototype.italics()\n_dereq_(129)('italics', function (createHTML) {\n  return function italics() {\n    return createHTML(this, 'i', '', '');\n  };\n});\n\n},{\"129\":129}],266:[function(_dereq_,module,exports){\n'use strict';\nvar $at = _dereq_(127)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_dereq_(83)(String, 'String', function (iterated) {\n  this._t = String(iterated); // target\n  this._i = 0;                // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var index = this._i;\n  var point;\n  if (index >= O.length) return { value: undefined, done: true };\n  point = $at(O, index);\n  this._i += point.length;\n  return { value: point, done: false };\n});\n\n},{\"127\":127,\"83\":83}],267:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.10 String.prototype.link(url)\n_dereq_(129)('link', function (createHTML) {\n  return function link(url) {\n    return createHTML(this, 'a', 'href', url);\n  };\n});\n\n},{\"129\":129}],268:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar toLength = _dereq_(139);\n\n$export($export.S, 'String', {\n  // 21.1.2.4 String.raw(callSite, ...substitutions)\n  raw: function raw(callSite) {\n    var tpl = toIObject(callSite.raw);\n    var len = toLength(tpl.length);\n    var aLen = arguments.length;\n    var res = [];\n    var i = 0;\n    while (len > i) {\n      res.push(String(tpl[i++]));\n      if (i < aLen) res.push(String(arguments[i]));\n    } return res.join('');\n  }\n});\n\n},{\"138\":138,\"139\":139,\"60\":60}],269:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n\n$export($export.P, 'String', {\n  // 21.1.3.13 String.prototype.repeat(count)\n  repeat: _dereq_(131)\n});\n\n},{\"131\":131,\"60\":60}],270:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.11 String.prototype.small()\n_dereq_(129)('small', function (createHTML) {\n  return function small() {\n    return createHTML(this, 'small', '', '');\n  };\n});\n\n},{\"129\":129}],271:[function(_dereq_,module,exports){\n// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = _dereq_(60);\nvar toLength = _dereq_(139);\nvar context = _dereq_(128);\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * _dereq_(61)(STARTS_WITH), 'String', {\n  startsWith: function startsWith(searchString /* , position = 0 */) {\n    var that = context(this, searchString, STARTS_WITH);\n    var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n    var search = String(searchString);\n    return $startsWith\n      ? $startsWith.call(that, search, index)\n      : that.slice(index, index + search.length) === search;\n  }\n});\n\n},{\"128\":128,\"139\":139,\"60\":60,\"61\":61}],272:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.12 String.prototype.strike()\n_dereq_(129)('strike', function (createHTML) {\n  return function strike() {\n    return createHTML(this, 'strike', '', '');\n  };\n});\n\n},{\"129\":129}],273:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.13 String.prototype.sub()\n_dereq_(129)('sub', function (createHTML) {\n  return function sub() {\n    return createHTML(this, 'sub', '', '');\n  };\n});\n\n},{\"129\":129}],274:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.14 String.prototype.sup()\n_dereq_(129)('sup', function (createHTML) {\n  return function sup() {\n    return createHTML(this, 'sup', '', '');\n  };\n});\n\n},{\"129\":129}],275:[function(_dereq_,module,exports){\n'use strict';\n// 21.1.3.25 String.prototype.trim()\n_dereq_(132)('trim', function ($trim) {\n  return function trim() {\n    return $trim(this, 3);\n  };\n});\n\n},{\"132\":132}],276:[function(_dereq_,module,exports){\n'use strict';\n// ECMAScript 6 symbols shim\nvar global = _dereq_(68);\nvar has = _dereq_(69);\nvar DESCRIPTORS = _dereq_(56);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar META = _dereq_(92).KEY;\nvar $fails = _dereq_(62);\nvar shared = _dereq_(124);\nvar setToStringTag = _dereq_(122);\nvar uid = _dereq_(145);\nvar wks = _dereq_(150);\nvar wksExt = _dereq_(149);\nvar wksDefine = _dereq_(148);\nvar enumKeys = _dereq_(59);\nvar isArray = _dereq_(77);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar toObject = _dereq_(140);\nvar toIObject = _dereq_(138);\nvar toPrimitive = _dereq_(141);\nvar createDesc = _dereq_(114);\nvar _create = _dereq_(96);\nvar gOPNExt = _dereq_(100);\nvar $GOPD = _dereq_(99);\nvar $GOPS = _dereq_(102);\nvar $DP = _dereq_(97);\nvar $keys = _dereq_(105);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n  return _create(dP({}, 'a', {\n    get: function () { return dP(this, 'a', { value: 7 }).a; }\n  })).a != 7;\n}) ? function (it, key, D) {\n  var protoDesc = gOPD(ObjectProto, key);\n  if (protoDesc) delete ObjectProto[key];\n  dP(it, key, D);\n  if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n  var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n  sym._k = tag;\n  return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n  if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n  anObject(it);\n  key = toPrimitive(key, true);\n  anObject(D);\n  if (has(AllSymbols, key)) {\n    if (!D.enumerable) {\n      if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n      it[HIDDEN][key] = true;\n    } else {\n      if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n      D = _create(D, { enumerable: createDesc(0, false) });\n    } return setSymbolDesc(it, key, D);\n  } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n  anObject(it);\n  var keys = enumKeys(P = toIObject(P));\n  var i = 0;\n  var l = keys.length;\n  var key;\n  while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n  return it;\n};\nvar $create = function create(it, P) {\n  return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n  var E = isEnum.call(this, key = toPrimitive(key, true));\n  if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n  it = toIObject(it);\n  key = toPrimitive(key, true);\n  if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n  var D = gOPD(it, key);\n  if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n  return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n  var names = gOPN(toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n  } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n  var IS_OP = it === ObjectProto;\n  var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n  } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n  $Symbol = function Symbol() {\n    if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n    var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n    var $set = function (value) {\n      if (this === ObjectProto) $set.call(OPSymbols, value);\n      if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n      setSymbolDesc(this, tag, createDesc(1, value));\n    };\n    if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n    return wrap(tag);\n  };\n  redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n    return this._k;\n  });\n\n  $GOPD.f = $getOwnPropertyDescriptor;\n  $DP.f = $defineProperty;\n  _dereq_(101).f = gOPNExt.f = $getOwnPropertyNames;\n  _dereq_(106).f = $propertyIsEnumerable;\n  $GOPS.f = $getOwnPropertySymbols;\n\n  if (DESCRIPTORS && !_dereq_(87)) {\n    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n  }\n\n  wksExt.f = function (name) {\n    return wrap(wks(name));\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n  // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n  'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n  // 19.4.2.1 Symbol.for(key)\n  'for': function (key) {\n    return has(SymbolRegistry, key += '')\n      ? SymbolRegistry[key]\n      : SymbolRegistry[key] = $Symbol(key);\n  },\n  // 19.4.2.5 Symbol.keyFor(sym)\n  keyFor: function keyFor(sym) {\n    if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n    for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n  },\n  useSetter: function () { setter = true; },\n  useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n  // 19.1.2.2 Object.create(O [, Properties])\n  create: $create,\n  // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n  defineProperty: $defineProperty,\n  // 19.1.2.3 Object.defineProperties(O, Properties)\n  defineProperties: $defineProperties,\n  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n  // 19.1.2.7 Object.getOwnPropertyNames(O)\n  getOwnPropertyNames: $getOwnPropertyNames,\n  // 19.1.2.8 Object.getOwnPropertySymbols(O)\n  getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n  getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n    return $GOPS.f(toObject(it));\n  }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n  var S = $Symbol();\n  // MS Edge converts symbol values to JSON as {}\n  // WebKit converts symbol values to JSON as null\n  // V8 throws on boxed symbols\n  return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n  stringify: function stringify(it) {\n    var args = [it];\n    var i = 1;\n    var replacer, $replacer;\n    while (arguments.length > i) args.push(arguments[i++]);\n    $replacer = replacer = args[1];\n    if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n    if (!isArray(replacer)) replacer = function (key, value) {\n      if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n      if (!isSymbol(value)) return value;\n    };\n    args[1] = replacer;\n    return _stringify.apply($JSON, args);\n  }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(70)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n},{\"100\":100,\"101\":101,\"102\":102,\"105\":105,\"106\":106,\"114\":114,\"116\":116,\"122\":122,\"124\":124,\"138\":138,\"140\":140,\"141\":141,\"145\":145,\"148\":148,\"149\":149,\"150\":150,\"36\":36,\"56\":56,\"59\":59,\"60\":60,\"62\":62,\"68\":68,\"69\":69,\"70\":70,\"77\":77,\"79\":79,\"87\":87,\"92\":92,\"96\":96,\"97\":97,\"99\":99}],277:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $typed = _dereq_(144);\nvar buffer = _dereq_(143);\nvar anObject = _dereq_(36);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nvar isObject = _dereq_(79);\nvar ArrayBuffer = _dereq_(68).ArrayBuffer;\nvar speciesConstructor = _dereq_(125);\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n  // 24.1.3.1 ArrayBuffer.isView(arg)\n  isView: function isView(it) {\n    return $isView && $isView(it) || isObject(it) && VIEW in it;\n  }\n});\n\n$export($export.P + $export.U + $export.F * _dereq_(62)(function () {\n  return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n  // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n  slice: function slice(start, end) {\n    if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n    var len = anObject(this).byteLength;\n    var first = toAbsoluteIndex(start, len);\n    var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n    var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n    var viewS = new $DataView(this);\n    var viewT = new $DataView(result);\n    var index = 0;\n    while (first < fin) {\n      viewT.setUint8(index++, viewS.getUint8(first++));\n    } return result;\n  }\n});\n\n_dereq_(121)(ARRAY_BUFFER);\n\n},{\"121\":121,\"125\":125,\"135\":135,\"139\":139,\"143\":143,\"144\":144,\"36\":36,\"60\":60,\"62\":62,\"68\":68,\"79\":79}],278:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n$export($export.G + $export.W + $export.F * !_dereq_(144).ABV, {\n  DataView: _dereq_(143).DataView\n});\n\n},{\"143\":143,\"144\":144,\"60\":60}],279:[function(_dereq_,module,exports){\n_dereq_(142)('Float32', 4, function (init) {\n  return function Float32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],280:[function(_dereq_,module,exports){\n_dereq_(142)('Float64', 8, function (init) {\n  return function Float64Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],281:[function(_dereq_,module,exports){\n_dereq_(142)('Int16', 2, function (init) {\n  return function Int16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],282:[function(_dereq_,module,exports){\n_dereq_(142)('Int32', 4, function (init) {\n  return function Int32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],283:[function(_dereq_,module,exports){\n_dereq_(142)('Int8', 1, function (init) {\n  return function Int8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],284:[function(_dereq_,module,exports){\n_dereq_(142)('Uint16', 2, function (init) {\n  return function Uint16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],285:[function(_dereq_,module,exports){\n_dereq_(142)('Uint32', 4, function (init) {\n  return function Uint32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],286:[function(_dereq_,module,exports){\n_dereq_(142)('Uint8', 1, function (init) {\n  return function Uint8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],287:[function(_dereq_,module,exports){\n_dereq_(142)('Uint8', 1, function (init) {\n  return function Uint8ClampedArray(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n}, true);\n\n},{\"142\":142}],288:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar each = _dereq_(40)(0);\nvar redefine = _dereq_(116);\nvar meta = _dereq_(92);\nvar assign = _dereq_(95);\nvar weak = _dereq_(48);\nvar isObject = _dereq_(79);\nvar validate = _dereq_(147);\nvar NATIVE_WEAK_MAP = _dereq_(147);\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n  return function WeakMap() {\n    return get(this, arguments.length > 0 ? arguments[0] : undefined);\n  };\n};\n\nvar methods = {\n  // 23.3.3.3 WeakMap.prototype.get(key)\n  get: function get(key) {\n    if (isObject(key)) {\n      var data = getWeak(key);\n      if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n      return data ? data[this._i] : undefined;\n    }\n  },\n  // 23.3.3.5 WeakMap.prototype.set(key, value)\n  set: function set(key, value) {\n    return weak.def(validate(this, WEAK_MAP), key, value);\n  }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = _dereq_(49)(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n  InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n  assign(InternalMap.prototype, methods);\n  meta.NEED = true;\n  each(['delete', 'has', 'get', 'set'], function (key) {\n    var proto = $WeakMap.prototype;\n    var method = proto[key];\n    redefine(proto, key, function (a, b) {\n      // store frozen objects on internal weakmap shim\n      if (isObject(a) && !isExtensible(a)) {\n        if (!this._f) this._f = new InternalMap();\n        var result = this._f[key](a, b);\n        return key == 'set' ? this : result;\n      // store all the rest on native weakmap\n      } return method.call(this, a, b);\n    });\n  });\n}\n\n},{\"116\":116,\"147\":147,\"40\":40,\"48\":48,\"49\":49,\"68\":68,\"79\":79,\"92\":92,\"95\":95}],289:[function(_dereq_,module,exports){\n'use strict';\nvar weak = _dereq_(48);\nvar validate = _dereq_(147);\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\n_dereq_(49)(WEAK_SET, function (get) {\n  return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.4.3.1 WeakSet.prototype.add(value)\n  add: function add(value) {\n    return weak.def(validate(this, WEAK_SET), value, true);\n  }\n}, weak, false, true);\n\n},{\"147\":147,\"48\":48,\"49\":49}],290:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = _dereq_(60);\nvar flattenIntoArray = _dereq_(65);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar aFunction = _dereq_(31);\nvar arraySpeciesCreate = _dereq_(43);\n\n$export($export.P, 'Array', {\n  flatMap: function flatMap(callbackfn /* , thisArg */) {\n    var O = toObject(this);\n    var sourceLen, A;\n    aFunction(callbackfn);\n    sourceLen = toLength(O.length);\n    A = arraySpeciesCreate(O, 0);\n    flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n    return A;\n  }\n});\n\n_dereq_(33)('flatMap');\n\n},{\"139\":139,\"140\":140,\"31\":31,\"33\":33,\"43\":43,\"60\":60,\"65\":65}],291:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = _dereq_(60);\nvar $includes = _dereq_(39)(true);\n\n$export($export.P, 'Array', {\n  includes: function includes(el /* , fromIndex = 0 */) {\n    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n_dereq_(33)('includes');\n\n},{\"33\":33,\"39\":39,\"60\":60}],292:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(60);\nvar $entries = _dereq_(108)(true);\n\n$export($export.S, 'Object', {\n  entries: function entries(it) {\n    return $entries(it);\n  }\n});\n\n},{\"108\":108,\"60\":60}],293:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = _dereq_(60);\nvar ownKeys = _dereq_(109);\nvar toIObject = _dereq_(138);\nvar gOPD = _dereq_(99);\nvar createProperty = _dereq_(51);\n\n$export($export.S, 'Object', {\n  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n    var O = toIObject(object);\n    var getDesc = gOPD.f;\n    var keys = ownKeys(O);\n    var result = {};\n    var i = 0;\n    var key, desc;\n    while (keys.length > i) {\n      desc = getDesc(O, key = keys[i++]);\n      if (desc !== undefined) createProperty(result, key, desc);\n    }\n    return result;\n  }\n});\n\n},{\"109\":109,\"138\":138,\"51\":51,\"60\":60,\"99\":99}],294:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(60);\nvar $values = _dereq_(108)(false);\n\n$export($export.S, 'Object', {\n  values: function values(it) {\n    return $values(it);\n  }\n});\n\n},{\"108\":108,\"60\":60}],295:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = _dereq_(60);\nvar core = _dereq_(50);\nvar global = _dereq_(68);\nvar speciesConstructor = _dereq_(125);\nvar promiseResolve = _dereq_(113);\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n  var C = speciesConstructor(this, core.Promise || global.Promise);\n  var isFunction = typeof onFinally == 'function';\n  return this.then(\n    isFunction ? function (x) {\n      return promiseResolve(C, onFinally()).then(function () { return x; });\n    } : onFinally,\n    isFunction ? function (e) {\n      return promiseResolve(C, onFinally()).then(function () { throw e; });\n    } : onFinally\n  );\n} });\n\n},{\"113\":113,\"125\":125,\"50\":50,\"60\":60,\"68\":68}],296:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(60);\nvar $pad = _dereq_(130);\nvar userAgent = _dereq_(146);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n  }\n});\n\n},{\"130\":130,\"146\":146,\"60\":60}],297:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(60);\nvar $pad = _dereq_(130);\nvar userAgent = _dereq_(146);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padStart: function padStart(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n  }\n});\n\n},{\"130\":130,\"146\":146,\"60\":60}],298:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(132)('trimLeft', function ($trim) {\n  return function trimLeft() {\n    return $trim(this, 1);\n  };\n}, 'trimStart');\n\n},{\"132\":132}],299:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(132)('trimRight', function ($trim) {\n  return function trimRight() {\n    return $trim(this, 2);\n  };\n}, 'trimEnd');\n\n},{\"132\":132}],300:[function(_dereq_,module,exports){\n_dereq_(148)('asyncIterator');\n\n},{\"148\":148}],301:[function(_dereq_,module,exports){\nvar $iterators = _dereq_(162);\nvar getKeys = _dereq_(105);\nvar redefine = _dereq_(116);\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar Iterators = _dereq_(86);\nvar wks = _dereq_(150);\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n  CSSRuleList: true, // TODO: Not spec compliant, should be false.\n  CSSStyleDeclaration: false,\n  CSSValueList: false,\n  ClientRectList: false,\n  DOMRectList: false,\n  DOMStringList: false,\n  DOMTokenList: true,\n  DataTransferItemList: false,\n  FileList: false,\n  HTMLAllCollection: false,\n  HTMLCollection: false,\n  HTMLFormElement: false,\n  HTMLSelectElement: false,\n  MediaList: true, // TODO: Not spec compliant, should be false.\n  MimeTypeArray: false,\n  NamedNodeMap: false,\n  NodeList: true,\n  PaintRequestList: false,\n  Plugin: false,\n  PluginArray: false,\n  SVGLengthList: false,\n  SVGNumberList: false,\n  SVGPathSegList: false,\n  SVGPointList: false,\n  SVGStringList: false,\n  SVGTransformList: false,\n  SourceBufferList: false,\n  StyleSheetList: true, // TODO: Not spec compliant, should be false.\n  TextTrackCueList: false,\n  TextTrackList: false,\n  TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n  var NAME = collections[i];\n  var explicit = DOMIterables[NAME];\n  var Collection = global[NAME];\n  var proto = Collection && Collection.prototype;\n  var key;\n  if (proto) {\n    if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n    if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n    Iterators[NAME] = ArrayValues;\n    if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n  }\n}\n\n},{\"105\":105,\"116\":116,\"150\":150,\"162\":162,\"68\":68,\"70\":70,\"86\":86}],302:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $task = _dereq_(134);\n$export($export.G + $export.B, {\n  setImmediate: $task.set,\n  clearImmediate: $task.clear\n});\n\n},{\"134\":134,\"60\":60}],303:[function(_dereq_,module,exports){\n// ie9- setTimeout & setInterval additional parameters fix\nvar global = _dereq_(68);\nvar $export = _dereq_(60);\nvar userAgent = _dereq_(146);\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n  return function (fn, time /* , ...args */) {\n    var boundArgs = arguments.length > 2;\n    var args = boundArgs ? slice.call(arguments, 2) : false;\n    return set(boundArgs ? function () {\n      // eslint-disable-next-line no-new-func\n      (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n    } : fn, time);\n  };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n  setTimeout: wrap(global.setTimeout),\n  setInterval: wrap(global.setInterval)\n});\n\n},{\"146\":146,\"60\":60,\"68\":68}],304:[function(_dereq_,module,exports){\n_dereq_(303);\n_dereq_(302);\n_dereq_(301);\nmodule.exports = _dereq_(50);\n\n},{\"301\":301,\"302\":302,\"303\":303,\"50\":50}],305:[function(_dereq_,module,exports){\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 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  GeneratorFunctionPrototype[toStringTagSymbol] =\n    GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  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      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\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  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\n},{}],306:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(307);\n\nvar _global = _interopRequireDefault(_dereq_(13));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n  console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;\n},{\"13\":13,\"307\":307}],307:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(1);\n\n_dereq_(3);\n\n_dereq_(2);\n\n_dereq_(9);\n\n_dereq_(8);\n\n_dereq_(11);\n\n_dereq_(10);\n\n_dereq_(12);\n\n_dereq_(5);\n\n_dereq_(6);\n\n_dereq_(4);\n\n_dereq_(7);\n\n_dereq_(304);\n\n_dereq_(305);\n},{\"1\":1,\"10\":10,\"11\":11,\"12\":12,\"2\":2,\"3\":3,\"304\":304,\"305\":305,\"4\":4,\"5\":5,\"6\":6,\"7\":7,\"8\":8,\"9\":9}]},{},[306]);\n","/*!\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-2020 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.24.6\n */","/*globals process */\nvar define, require, Ember; // Used in @ember/-internals/environment/lib/global.js\n\n\nmainContext = this; // eslint-disable-line no-undef\n\n(function () {\n  var registry;\n  var seen;\n\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\n  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n\n    var exports = seen[name];\n\n    if (exports !== undefined) {\n      return exports;\n    }\n\n    exports = seen[name] = {};\n\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\n\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] = internalRequire(deps[i], name);\n      }\n    }\n\n    callback.apply(this, reified);\n    return exports;\n  }\n\n  var isNode = typeof window === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n  if (!isNode) {\n    Ember = this.Ember = this.Ember || {};\n  }\n\n  if (typeof Ember === 'undefined') {\n    Ember = {};\n  }\n\n  if (typeof Ember.__loader === 'undefined') {\n    registry = Object.create(null);\n    seen = Object.create(null);\n\n    define = function (name, deps, callback) {\n      var value = {};\n\n      if (!callback) {\n        value.deps = [];\n        value.callback = deps;\n      } else {\n        value.deps = deps;\n        value.callback = callback;\n      }\n\n      registry[name] = value;\n    };\n\n    require = function (name) {\n      return internalRequire(name, null);\n    }; // setup `require` module\n\n\n    require['default'] = require;\n\n    require.has = function registryHas(moduleName) {\n      return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n    };\n\n    require._eak_seen = registry;\n    Ember.__loader = {\n      define: define,\n      require: require,\n      registry: registry\n    };\n  } else {\n    define = Ember.__loader.define;\n    require = Ember.__loader.require;\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.hasDOM = _exports.isFirefox = _exports.isChrome = _exports.userAgent = _exports.history = _exports.location = _exports.window = void 0;\n  // check if window exists and actually is the global\n  var 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  _exports.hasDOM = hasDom;\n  var window = hasDom ? self : null;\n  _exports.window = window;\n  var location$1 = hasDom ? self.location : null;\n  _exports.location = location$1;\n  var history$1 = hasDom ? self.history : null;\n  _exports.history = history$1;\n  var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n  _exports.userAgent = userAgent;\n  var isChrome = hasDom ? Boolean(window.chrome) && !window.opera : false;\n  _exports.isChrome = isChrome;\n  var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n  _exports.isFirefox = isFirefox;\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  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://emberjs.com/deprecations/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\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        }));\n        return console.log(...arguments); // eslint-disable-line no-console\n      },\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        }));\n        return console.warn(...arguments); // eslint-disable-line no-console\n      },\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        }));\n        return console.error(...arguments); // eslint-disable-line no-console\n      },\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        }));\n        return console.info(...arguments); // eslint-disable-line no-console\n      },\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        }));\n        /* eslint-disable no-console */\n\n        if (console.debug) {\n          return console.debug(...arguments);\n        }\n\n        return console.info(...arguments);\n        /* eslint-enable no-console */\n      },\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        }));\n        return console.assert(...arguments); // eslint-disable-line no-console\n      }\n\n    };\n  }\n\n  var _default = DEPRECATED_LOGGER;\n  _exports.default = _default;\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.privatize = privatize;\n  _exports.getFactoryFor = getFactoryFor;\n  _exports.setFactoryFor = setFactoryFor;\n  _exports.INIT_FACTORY = _exports.Container = _exports.Registry = void 0;\n  var leakTracking;\n  var containers;\n\n  if (true\n  /* DEBUG */\n  ) {\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\n            reset() {\n              var values = GetWeakSetValues(containers);\n\n              for (var i = 0; i < values.length; i++) {\n                containers.delete(values[i]);\n              }\n            }\n\n          };\n        })();\n      }\n    } catch (e) {// ignore\n    }\n  }\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\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\n      if (true\n      /* DEBUG */\n      ) {\n        this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n\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\n    lookup(fullName, options) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.lookup\\` after the owner has been destroyed`);\n      }\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\n    destroy() {\n      this.isDestroying = true;\n      destroyDestroyables(this);\n    }\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\n    reset(fullName) {\n      if (this.isDestroyed) return;\n\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\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\n    factoryFor(fullName) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.factoryFor\\` after the owner has been destroyed`);\n      }\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  }\n\n  _exports.Container = Container;\n\n  if (true\n  /* DEBUG */\n  ) {\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\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\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\n        create(props) {\n          return m.create(props);\n        }\n\n      };\n      return new Proxy(proxiedManager, validator);\n    }\n\n    return manager;\n  }\n\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n\n  function lookup(container, fullName, options = {}) {\n    var normalizedName = fullName;\n\n    if (options.singleton !== false) {\n      var cached = container.cache[normalizedName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n    }\n\n    return instantiateFactory(container, normalizedName, fullName, options);\n  }\n\n  function factoryFor(container, normalizedName, fullName) {\n    var cached = container.factoryManagerCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    var factory = container.registry.resolve(normalizedName);\n\n    if (factory === undefined) {\n      return;\n    }\n\n    if (true\n    /* DEBUG */\n    && factory && typeof factory._onLookup === 'function') {\n      factory._onLookup(fullName);\n    }\n\n    var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n    if (true\n    /* DEBUG */\n    ) {\n      manager = wrapManagerInDeprecationProxy(manager);\n    }\n\n    container.factoryManagerCache[normalizedName] = manager;\n    return manager;\n  }\n\n  function isSingletonClass(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n  }\n\n  function isSingletonInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n  }\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\n  function isFactoryInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n\n  function instantiateFactory(container, normalizedName, fullName, options) {\n    var factoryManager = factoryFor(container, normalizedName, fullName);\n\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\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\n      return instance;\n    } // SomeClass { singleton: false, instantiate: true }\n\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\n    if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n      return factoryManager.class;\n    }\n\n    throw new Error('Could not create factory');\n  }\n\n  function processInjections(container, injections, result) {\n    if (true\n    /* DEBUG */\n    ) {\n      container.registry.validateInjections(injections);\n    }\n\n    var hash = result.injections;\n\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\n      if (!result.isDynamic) {\n        result.isDynamic = !isSingleton(container, specifier);\n      }\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\n    if (typeInjections !== undefined) {\n      processInjections(container, typeInjections, result);\n    }\n\n    if (injections !== undefined) {\n      processInjections(container, injections, result);\n    }\n\n    return result;\n  }\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    return buildInjections(container, typeInjections, injections);\n  }\n\n  function destroyDestroyables(container) {\n    var cache = container.cache;\n    var keys = Object.keys(cache);\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = cache[key];\n\n      if (value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n\n  function resetCache(container) {\n    container.cache = (0, _utils.dictionary)(null);\n    container.factoryManagerCache = (0, _utils.dictionary)(null);\n  }\n\n  function resetMember(container, fullName) {\n    var member = container.cache[fullName];\n    delete container.factoryManagerCache[fullName];\n\n    if (member) {\n      delete container.cache[fullName];\n\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n\n  var INIT_FACTORY = (0, _utils.symbol)('INIT_FACTORY');\n  _exports.INIT_FACTORY = INIT_FACTORY;\n\n  function getFactoryFor(obj) {\n    return obj[INIT_FACTORY];\n  }\n\n  function setFactoryFor(obj, factory) {\n    obj[INIT_FACTORY] = factory;\n  }\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      setFactoryFor(this, this);\n    }\n\n    toString() {\n      if (this.madeToString === undefined) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n\n      return this.madeToString;\n    }\n\n    create(options) {\n      var {\n        container\n      } = this;\n\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\n      var props = this.injections;\n\n      if (props === undefined) {\n        var {\n          injections,\n          isDynamic\n        } = injectionsFor(this.container, this.normalizedName);\n        setFactoryFor(injections, this);\n        props = injections;\n\n        if (!isDynamic) {\n          this.injections = injections;\n        }\n      }\n\n      if (options !== undefined) {\n        props = (0, _polyfills.assign)({}, props, options);\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\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\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\n      return this.class.create(props);\n    }\n\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\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\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\n      this._failSet.delete(normalizedName);\n\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\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\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\n    resolve(fullName) {\n      var factory = resolve(this, this.normalize(fullName));\n\n      if (factory === undefined && this.fallback !== null) {\n        factory = this.fallback.resolve(...arguments);\n      }\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\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\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\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\n    makeToString(factory, fullName) {\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 factory.toString();\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\n    has(fullName) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\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\n    optionsForType(type, options) {\n      this._typeOptions[type] = options;\n    }\n\n    getOptionsForType(type) {\n      var optionsForType = this._typeOptions[type];\n\n      if (optionsForType === undefined && this.fallback !== null) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n\n      return optionsForType;\n    }\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n\n\n    options(fullName, options) {\n      var normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = options;\n    }\n\n    getOptions(fullName) {\n      var normalizedName = this.normalize(fullName);\n      var options = this._options[normalizedName];\n\n      if (options === undefined && this.fallback !== null) {\n        options = this.fallback.getOptions(fullName);\n      }\n\n      return options;\n    }\n\n    getOption(fullName, optionName) {\n      var options = this._options[fullName];\n\n      if (options !== undefined && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n\n      var type = fullName.split(':')[0];\n      options = this._typeOptions[type];\n\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\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\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\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\n      if (fullName.indexOf(':') === -1) {\n        return this.typeInjection(fullName, property, normalizedInjectionName);\n      }\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\n    knownForType(type) {\n      var localKnown = (0, _utils.dictionary)(null);\n      var registeredNames = Object.keys(this.registrations);\n\n      for (var index = 0; index < registeredNames.length; index++) {\n        var fullName = registeredNames[index];\n        var itemType = fullName.split(':')[0];\n\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n\n      var fallbackKnown, resolverKnown;\n\n      if (this.fallback !== null) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n\n      if (this.resolver !== null && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n\n      return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n    }\n\n    isValidFullName(fullName) {\n      return VALID_FULL_NAME_REGEXP.test(fullName);\n    }\n\n    getInjections(fullName) {\n      var injections = this._injections[fullName];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getInjections(fullName);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    }\n\n    getTypeInjections(type) {\n      var injections = this._typeInjections[type];\n\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getTypeInjections(type);\n\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n\n      return injections;\n    }\n\n  }\n\n  _exports.Registry = Registry;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var proto = Registry.prototype;\n\n    proto.normalizeInjectionsHash = function (hash) {\n      var injections = [];\n\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\n      return injections;\n    };\n\n    proto.validateInjections = function (injections) {\n      if (!injections) {\n        return;\n      }\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\n  function resolve(registry, _normalizedName) {\n    var normalizedName = _normalizedName;\n    var cached = registry._resolveCache[normalizedName];\n\n    if (cached !== undefined) {\n      return cached;\n    }\n\n    if (registry._failSet.has(normalizedName)) {\n      return;\n    }\n\n    var resolved;\n\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n\n    if (resolved === undefined) {\n      registry._failSet.add(normalizedName);\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n\n    return resolved;\n  }\n\n  function has(registry, fullName) {\n    return registry.resolve(fullName) !== undefined;\n  }\n\n  var privateNames = (0, _utils.dictionary)(null);\n  var privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n\n  function privatize([fullName]) {\n    var name = privateNames[fullName];\n\n    if (name) {\n      return name;\n    }\n\n    var [type, rawName] = fullName.split(':');\n    return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\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\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.getLookup = getLookup;\n  _exports.setLookup = setLookup;\n  _exports.getENV = getENV;\n  _exports.ENV = _exports.context = _exports.global = void 0;\n\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\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  } // export real global\n\n\n  var global$1 = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext || // set before strict mode in Ember loader/wrapper\n  new Function('return this')(); // eval outside of strict mode\n\n  _exports.global = global$1;\n\n  var 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\n  _exports.context = context;\n\n  function getLookup() {\n    return context.lookup;\n  }\n\n  function setLookup(value) {\n    context.lookup = value;\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\n  var ENV = {\n    ENABLE_OPTIONAL_FEATURES: false,\n\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    /**\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    /**\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    /**\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    /**\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    /**\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\n    /* DEBUG */\n    ,\n\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    /**\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    /**\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    EMBER_LOAD_HOOKS: {},\n    FEATURES: {}\n  };\n  _exports.ENV = ENV;\n\n  (EmberENV => {\n    if (typeof EmberENV !== 'object' || EmberENV === null) return;\n\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\n      if (defaultValue === true) {\n        ENV[flag] = EmberENV[flag] !== false;\n      } else if (defaultValue === false) {\n        ENV[flag] = EmberENV[flag] === true;\n      }\n    }\n\n    var {\n      EXTEND_PROTOTYPES\n    } = EmberENV;\n\n    if (EXTEND_PROTOTYPES !== undefined) {\n      if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n        ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n        }\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\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n        }\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\n    var {\n      EMBER_LOAD_HOOKS\n    } = EmberENV;\n\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\n        if (Array.isArray(hooks)) {\n          ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n        }\n      }\n    }\n\n    var {\n      FEATURES\n    } = EmberENV;\n\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\n    if (true\n    /* DEBUG */\n    ) {\n      ENV._DEBUG_RENDER_TREE = true;\n    }\n  })(global$1.EmberENV);\n\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.getOnerror = getOnerror;\n  _exports.setOnerror = setOnerror;\n  _exports.getDispatchOverride = getDispatchOverride;\n  _exports.setDispatchOverride = setDispatchOverride;\n  _exports.onErrorTarget = void 0;\n  var onerror;\n  var onErrorTarget = {\n    get onerror() {\n      return onerror;\n    }\n\n  }; // Ember.onerror getter\n\n  _exports.onErrorTarget = onErrorTarget;\n\n  function getOnerror() {\n    return onerror;\n  } // Ember.onerror setter\n\n\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n\n  var dispatchOverride; // allows testing adapter to override dispatch\n\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\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, \"DataAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _data_adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerDebugAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _container_debug_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  /**\n  @module @ember/debug\n  */\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 = _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    /**\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\n      return true;\n    },\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\n          if (typeSuffixRegex.test(key)) {\n            var klass = namespace[key];\n\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  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/extension-support/lib/data_adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _owner, _runloop, _metal, _string, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    * `observeRecord`\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 = _runtime.Object.extend({\n    init() {\n      this._super(...arguments);\n\n      this.releaseMethods = (0, _runtime.A)();\n    },\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    containerDebugAdapter: undefined,\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    /**\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    /**\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    releaseMethods: (0, _runtime.A)(),\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    /**\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\n      var release = () => {\n        releaseMethods.forEach(fn => fn());\n        this.releaseMethods.removeObject(release);\n      };\n\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\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\n      return type;\n    },\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 the following parameters:\n        index: The array index where the records were removed.\n        count: The number of records removed.\n       @return {Function} Method to call to remove all observers.\n    */\n    watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n      var releaseMethods = (0, _runtime.A)();\n\n      var klass = this._nameToClass(modelName);\n\n      var records = this.getRecords(klass, modelName);\n      var release;\n\n      function recordUpdated(updatedRecord) {\n        recordsUpdated([updatedRecord]);\n      }\n\n      var recordsToSend = records.map(record => {\n        releaseMethods.push(this.observeRecord(record, recordUpdated));\n        return this.wrapRecord(record);\n      });\n\n      var contentDidChange = (array, idx, removedCount, addedCount) => {\n        for (var i = idx; i < idx + addedCount; i++) {\n          var record = (0, _metal.objectAt)(array, i);\n          var wrapped = this.wrapRecord(record);\n          releaseMethods.push(this.observeRecord(record, recordUpdated));\n          recordsAdded([wrapped]);\n        }\n\n        if (removedCount) {\n          recordsRemoved(idx, removedCount);\n        }\n      };\n\n      var observer = {\n        didChange: contentDidChange,\n\n        willChange() {\n          return this;\n        }\n\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      release = () => {\n        releaseMethods.forEach(fn => fn());\n        (0, _metal.removeArrayObserver)(records, this, observer);\n        this.releaseMethods.removeObject(release);\n      };\n\n      recordsAdded(recordsToSend);\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n\n    /**\n      Clear all observers before destruction\n      @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._super(...arguments);\n\n      this.releaseMethods.forEach(fn => fn());\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    /**\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    /**\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\n      var records = this.getRecords(klass, modelName);\n\n      function onChange() {\n        typesUpdated([this.wrapModelType(klass, modelName)]);\n      }\n\n      var observer = {\n        didChange(array, idx, removedCount, addedCount) {\n          // Only re-fetch records if the record count changed\n          // (which is all we care about as far as model types are concerned).\n          if (removedCount > 0 || addedCount > 0) {\n            (0, _runloop.scheduleOnce)('actions', this, onChange);\n          }\n        },\n\n        willChange() {\n          return this;\n        }\n\n      };\n      (0, _metal.addArrayObserver)(records, this, observer);\n\n      var release = () => (0, _metal.removeArrayObserver)(records, this, observer);\n\n      return release;\n    },\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    /**\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\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\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    /**\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\n          if (!this.detect(namespace[key])) {\n            continue;\n          }\n\n          var name = (0, _string.dasherize)(key);\n          types.push(name);\n        }\n      });\n      return types;\n    },\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs.\n       @public\n      @method observerRecord\n      @return {Function} The function to call to remove all observers.\n    */\n    observeRecord() {\n      return function () {};\n    }\n\n  });\n\n  _exports.default = _default;\n});","define(\"@ember/-internals/glimmer/index\", [\"exports\", \"@ember/polyfills\", \"@glimmer/opcode-compiler\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/-internals/views\", \"@ember/debug\", \"@glimmer/reference\", \"@glimmer/runtime\", \"@glimmer/validator\", \"@ember/-internals/browser-environment\", \"@ember/engine\", \"@ember/instrumentation\", \"@ember/service\", \"@ember/runloop\", \"@glimmer/util\", \"@ember/-internals/environment\", \"@ember/deprecated-features\", \"@ember/string\", \"@ember/-internals/container\", \"@glimmer/node\", \"@glimmer/global-context\", \"@ember/-internals/routing\", \"@ember/component/template-only\", \"@ember/error\", \"@glimmer/program\", \"rsvp\"], function (_exports, _polyfills, _opcodeCompiler, _metal, _owner, _runtime, _utils, _views, _debug, _reference, _runtime2, _validator, _browserEnvironment, _engine, _instrumentation, _service, _runloop, _util, _environment2, _deprecatedFeatures, _string, _container, _node, _globalContext, _routing, _templateOnly, _error, _program, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.helper = helper;\n  _exports.escapeExpression = escapeExpression;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports._resetRenderers = _resetRenderers;\n  _exports.renderSettled = renderSettled;\n  _exports.getTemplate = getTemplate;\n  _exports.setTemplate = setTemplate;\n  _exports.hasTemplate = hasTemplate;\n  _exports.getTemplates = getTemplates;\n  _exports.setTemplates = setTemplates;\n  _exports.setupEngineRegistry = setupEngineRegistry;\n  _exports.setupApplicationRegistry = setupApplicationRegistry;\n  _exports._registerMacros = registerMacros;\n  _exports.setComponentManager = setComponentManager$1;\n  _exports.capabilities = capabilities;\n  _exports.modifierCapabilities = capabilities$1;\n  _exports.helperCapabilities = helperCapabilities;\n  _exports.invokeHelper = invokeHelper;\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  Object.defineProperty(_exports, \"setComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.setComponentTemplate;\n    }\n  });\n  Object.defineProperty(_exports, \"getComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.getComponentTemplate;\n    }\n  });\n  Object.defineProperty(_exports, \"DOMChanges\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMChanges;\n    }\n  });\n  Object.defineProperty(_exports, \"DOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.DOMTreeConstruction;\n    }\n  });\n  Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n    enumerable: true,\n    get: function () {\n      return _runtime2.isSerializationFirstNode;\n    }\n  });\n  Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _node.NodeDOMTreeConstruction;\n    }\n  });\n  _exports.OutletView = _exports.INVOKE = _exports._experimentalMacros = _exports.InteractiveRenderer = _exports.InertRenderer = _exports.Renderer = _exports.SafeString = _exports.Helper = _exports.Component = _exports.LinkComponent = _exports.TextArea = _exports.TextField = _exports.Checkbox = _exports.RootTemplate = void 0;\n  var RootTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"gxklthW0\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,0],[[32,0]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\"]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\"\n  });\n  _exports.RootTemplate = RootTemplate;\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  /**\n  @module @ember/component\n  */\n\n  /**\n    A component is an isolated piece of UI, represented by a template and an\n    optional class. When a component has a class, its template's `this` value\n    is an instance of the component class.\n  \n    ## Template-only Components\n  \n    The simplest way to create a component is to create a template file in\n    `app/templates/components`. For example, if you name a template\n    `app/templates/components/person-profile.hbs`:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    <img src={{@person.avatar}}>\n    <p class='signature'>{{@person.signature}}</p>\n    ```\n  \n    You will be able to use `<PersonProfile />` to invoke this component elsewhere\n    in your application:\n  \n    ```app/templates/application.hbs\n    <PersonProfile @person={{this.currentUser}} />\n    ```\n  \n    Note that component names are capitalized here in order to distinguish them\n    from regular HTML elements, but they are dasherized in the file system.\n  \n    While the angle bracket invocation form is generally preferred, it is also\n    possible to invoke the same component with the `{{person-profile}}` syntax:\n  \n    ```app/templates/application.hbs\n    {{person-profile person=this.currentUser}}\n    ```\n  \n    Note that with this syntax, you use dashes in the component name and\n    arguments are passed without the `@` sign.\n  \n    In both cases, Ember will render the content of the component template we\n    created above. The end result will be something like this:\n  \n    ```html\n    <h1>Tomster</h1>\n    <img src=\"https://emberjs.com/tomster.jpg\">\n    <p class='signature'>Out of office this week</p>\n    ```\n  \n    ## File System Nesting\n  \n    Components can be nested inside sub-folders for logical groupping. For\n    example, if we placed our template in\n    `app/templates/components/person/short-profile.hbs`, we can invoke it as\n    `<Person::ShortProfile />`:\n  \n    ```app/templates/application.hbs\n    <Person::ShortProfile @person={{this.currentUser}} />\n    ```\n  \n    Or equivalently, `{{person/short-profile}}`:\n  \n    ```app/templates/application.hbs\n    {{person/short-profile person=this.currentUser}}\n    ```\n  \n    ## Yielding Contents\n  \n    You can use `yield` inside a template to include the **contents** of any block\n    attached to the component. The block will be executed in its original context:\n  \n    ```handlebars\n    <PersonProfile @person={{this.currentUser}}>\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile person=this.currentUser}}\n      <p>Admin mode</p>\n      {{! Executed in the current context. }}\n    {{/person-profile}}\n    ```\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing Components With JavaScript\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;\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 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 = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n    isComponent: true,\n\n    init() {\n      this._super(...arguments);\n\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = (0, _validator.createTag)();\n      this[BOUNDS] = null;\n\n      if (true\n      /* DEBUG */\n      && this.renderer._destinedForDOM && this.tagName === '') {\n        var eventNames = [];\n        var eventDispatcher = (0, _owner.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\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\n\n        (true && !(!eventNames.length) && (0, _debug.assert)( // 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\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://emberjs.com/deprecations/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://emberjs.com/deprecations/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://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move',\n        for: 'ember-source',\n        since: {\n          enabled: '3.13.0-beta.1'\n        }\n      }));\n    },\n\n    rerender() {\n      (0, _validator.dirtyTag)(this[DIRTY_TAG]);\n\n      this._super();\n    },\n\n    [_metal.PROPERTY_DID_CHANGE](key, value) {\n      if (this[IS_DISPATCHING_ATTRS]) {\n        return;\n      }\n\n      var args = this[ARGS];\n      var reference = args !== undefined ? args[key] : undefined;\n\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\n    getAttr(key) {\n      // TODO Intimate API should be deprecated\n      return this.get(key);\n    },\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\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      ;\n      var {\n        type,\n        normalized\n      } = (0, _runtime2.normalizeProperty)(element, name);\n\n      if (isSVG || type === 'attr') {\n        return element.getAttribute(normalized);\n      }\n\n      return element[normalized];\n    },\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    /**\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    /**\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    /**\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    /**\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    /**\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  });\n\n  _exports.Component = Component;\n\n  Component.toString = () => '@ember/component';\n\n  Component.reopenClass({\n    isComponentFactory: true,\n    positionalParams: []\n  });\n  var layout = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"3IKjaxWN\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\"\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 = Component.extend({\n    layout,\n\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    /**\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    /**\n      Sets the `type` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @private\n     */\n    type: 'checkbox',\n\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    /**\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    /**\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\n      this.element.indeterminate = Boolean(this.indeterminate);\n    },\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  });\n  _exports.Checkbox = Checkbox;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var UNSET = {};\n    Checkbox.reopen({\n      value: UNSET,\n\n      didReceiveAttrs() {\n        this._super();\n\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  }\n\n  Checkbox.toString = () => '@ember/component/checkbox';\n  /**\n  @module @ember/component\n  */\n\n\n  var inputTypes = _browserEnvironment.hasDOM ? Object.create(null) : null;\n\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\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n\n    var inputTypeTestElement = document.createElement('input');\n\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {// ignored\n    }\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\n  var TextField = Component.extend(_views.TextSupport, {\n    layout,\n\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    /**\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    /**\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    /**\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\n      set(_key, value) {\n        var type = 'text';\n\n        if (canSetTypeOfInput(value)) {\n          type = value;\n        }\n\n        return type;\n      }\n\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    /**\n      The `pattern` attribute of input element.\n         @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\n\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    /**\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  _exports.TextField = TextField;\n\n  TextField.toString = () => '@ember/component/text-field';\n  /**\n  @module @ember/component\n  */\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  /**\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\n  var 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  _exports.TextArea = TextArea;\n\n  TextArea.toString = () => '@ember/component/text-area';\n\n  var layout$1 = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"ddnfgiDJ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[18,1,null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[32,0,[\\\"linkTitle\\\"]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\"\n  });\n  /**\n  @module ember\n  */\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    ### Allowing Default Action\n  \n    By default the `<LinkTo>` component prevents the default browser action by calling\n    `preventDefault()` to avoid reloading the browser page.\n  \n    If you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n      {{this.aPhotoId.title}}\n    </LinkTo>\n    ```\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. Instead, you can use the `transition-to` helper together\n    with a click event handler on the HTML tag of your choosing.\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  });\n  var EMPTY_QUERY_PARAMS = Object.freeze({});\n  var LinkComponent = Component.extend({\n    layout: layout$1,\n    tagName: 'a',\n\n    /**\n      @property route\n      @public\n    */\n    route: UNDEFINED,\n\n    /**\n      @property model\n      @public\n    */\n    model: UNDEFINED,\n\n    /**\n      @property models\n      @public\n    */\n    models: UNDEFINED,\n\n    /**\n      @property query\n      @public\n    */\n    query: UNDEFINED,\n\n    /**\n      Used to determine when this `LinkComponent` is active.\n         @property current-when\n      @public\n    */\n    'current-when': null,\n\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    /**\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    /**\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    /**\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    /**\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    /**\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      @private\n    **/\n    loadingClass: 'loading',\n\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      @private\n    **/\n    disabledClass: 'disabled',\n\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    /**\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    /**\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    /**\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\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\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\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, _owner.getOwner)(this)) !== undefined;\n    }),\n    _engineMountPoint: (0, _metal.computed)(function () {\n      return (0, _owner.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\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\n      if (query === UNDEFINED) {\n        return EMPTY_QUERY_PARAMS;\n      } else {\n        return (0, _polyfills.assign)({}, query);\n      }\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\n      set(_key, value) {\n        this._isDisabled = value;\n        return value ? this.disabledClass : false;\n      }\n\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\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\n      if (current === target) {\n        return;\n      }\n\n      return this._isActive(target);\n    }),\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\n    _isActive(routerState) {\n      if (this.loading) {\n        return false;\n      }\n\n      var currentWhen = this['current-when'];\n\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      }\n\n      var {\n        _models: models,\n        _routing: routing\n      } = this;\n\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\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\n    _namespaceRoute(route) {\n      var {\n        _engineMountPoint: mountPoint\n      } = this;\n\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    /**\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\n      var {\n        bubbles,\n        preventDefault\n      } = this;\n      var target = this.element.target;\n      var isSelf = !target || target === '_self';\n\n      if (preventDefault !== false && isSelf) {\n        event.preventDefault();\n      }\n\n      if (bubbles === false) {\n        event.stopPropagation();\n      }\n\n      if (this._isDisabled) {\n        return false;\n      }\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\n      if (!isSelf) {\n        return false;\n      }\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\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    /**\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\n      if (this.loading) {\n        return this.loadingHref;\n      }\n\n      var {\n        _route: route,\n        _models: models,\n        _query: query,\n        _routing: routing\n      } = this;\n\n      if (true\n      /* DEBUG */\n      ) {\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          (true && !(false) && (0, _debug.assert)(`You attempted to generate a link for the \"${this.route}\" route, but did not ` + `pass the models required for generating its dynamic segments. ` + e.message));\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\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\n      for (var i = 0; i < models.length; i++) {\n        var model = models[i];\n\n        if (model === null || model === undefined) {\n          return false;\n        }\n      }\n\n      return true;\n    }),\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\n    didReceiveAttrs() {\n      var {\n        disabledWhen\n      } = this;\n\n      if (disabledWhen !== undefined) {\n        this.set('disabled', disabledWhen);\n      }\n\n      var {\n        params\n      } = this;\n\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\n        if (models.length > 0) {\n          var lastModel = models[models.length - 1];\n\n          if (typeof lastModel === 'object' && lastModel !== null && lastModel.isQueryParams) {\n            this.query = lastModel.values;\n            models.pop();\n          }\n        }\n\n        return;\n      }\n\n      params = params.slice(); // Process the positional arguments, in order.\n      // 1. Inline link title comes first, if present.\n\n      if (!this[HAS_BLOCK]) {\n        this.set('linkTitle', params.shift());\n      } // 2. The last argument is possibly the `query` object.\n\n\n      var queryParams = params[params.length - 1];\n\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\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\n      this.set('model', UNDEFINED);\n      this.set('models', params);\n    }\n\n  });\n  _exports.LinkComponent = LinkComponent;\n\n  LinkComponent.toString = () => '@ember/routing/link-component';\n\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\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\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\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\n      var parsed = convertToInt(key);\n\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\n  var argsProxyFor;\n\n  if (_utils.HAS_NATIVE_PROXY) {\n    argsProxyFor = (capturedArgs, type) => {\n      var {\n        named,\n        positional\n      } = capturedArgs;\n\n      var getNamedTag = key => tagForNamedArg(named, key);\n\n      var getPositionalTag = key => tagForPositionalArg(positional, key);\n\n      var namedHandler = {\n        get(_target, prop) {\n          var ref = named[prop];\n\n          if (ref !== undefined) {\n            return (0, _reference.valueForRef)(ref);\n          } else if (prop === _metal.CUSTOM_TAG_FOR) {\n            return getNamedTag;\n          }\n        },\n\n        has(_target, prop) {\n          return prop in named;\n        },\n\n        ownKeys(_target) {\n          return Object.keys(named);\n        },\n\n        isExtensible() {\n          return false;\n        },\n\n        getOwnPropertyDescriptor(_target, prop) {\n          (true && !(prop in named) && (0, _debug.assert)('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()', prop in named));\n          return {\n            enumerable: true,\n            configurable: true\n          };\n        }\n\n      };\n      var positionalHandler = {\n        get(target, prop) {\n          if (prop === 'length') {\n            return positional.length;\n          }\n\n          var parsed = convertToInt(prop);\n\n          if (parsed !== null && parsed < positional.length) {\n            return (0, _reference.valueForRef)(positional[parsed]);\n          }\n\n          if (prop === _metal.CUSTOM_TAG_FOR) {\n            return getPositionalTag;\n          }\n\n          return target[prop];\n        },\n\n        isExtensible() {\n          return false;\n        },\n\n        has(_target, prop) {\n          var parsed = convertToInt(prop);\n          return parsed !== null && parsed < positional.length;\n        }\n\n      };\n      var namedTarget = Object.create(null);\n      var positionalTarget = [];\n\n      if (true\n      /* DEBUG */\n      ) {\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\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\n        namedHandler.set = setHandler;\n        positionalHandler.set = setHandler;\n        positionalHandler.ownKeys = forInDebugHandler;\n      }\n\n      return {\n        named: new Proxy(namedTarget, namedHandler),\n        positional: new Proxy(positionalTarget, positionalHandler)\n      };\n    };\n  } else {\n    argsProxyFor = (capturedArgs, _type) => {\n      var {\n        named,\n        positional\n      } = capturedArgs;\n\n      var getNamedTag = key => tagForNamedArg(named, key);\n\n      var getPositionalTag = key => tagForPositionalArg(positional, key);\n\n      var namedProxy = {};\n      Object.defineProperty(namedProxy, _metal.CUSTOM_TAG_FOR, {\n        configurable: false,\n        enumerable: false,\n        value: getNamedTag\n      });\n      Object.keys(named).forEach(name => {\n        Object.defineProperty(namedProxy, name, {\n          enumerable: true,\n          configurable: true,\n\n          get() {\n            return (0, _reference.valueForRef)(named[name]);\n          }\n\n        });\n      });\n      var positionalProxy = [];\n      Object.defineProperty(positionalProxy, _metal.CUSTOM_TAG_FOR, {\n        configurable: false,\n        enumerable: false,\n        value: getPositionalTag\n      });\n      positional.forEach((ref, index) => {\n        Object.defineProperty(positionalProxy, index, {\n          enumerable: true,\n          configurable: true,\n\n          get() {\n            return (0, _reference.valueForRef)(ref);\n          }\n\n        });\n      });\n\n      if (true\n      /* DEBUG */\n      ) {\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\n      return {\n        named: namedProxy,\n        positional: positionalProxy\n      };\n    };\n  }\n  /**\n  @module @ember/helper\n  */\n\n  /**\n    `capabilities` returns a capabilities configuration which can be used to modify\n    the behavior of the manager. Manager capabilities _must_ be provided using the\n    `capabilities` function, as the underlying implementation can change over time.\n  \n    The first argument to capabilities is a version string, which is the version of\n    Ember that the capabilities were defined in. Ember can add new versions at any\n    time, and these may have entirely different behaviors, but it will not remove\n    old versions until the next major version.\n  \n    ```js\n    capabilities('3.23');\n    ```\n  \n    The second argument is an object of capabilities and boolean values indicating\n    whether they are enabled or disabled.\n  \n    ```js\n    capabilities('3.23', {\n      hasValue: true,\n      hasDestructor: true,\n    });\n    ```\n  \n    If no value is specified, then the default value will be used.\n  \n    ### `3.23` capabilities\n  \n    #### `hasDestroyable`\n  \n    - Default value: false\n  \n    Determines if the helper has a destroyable to include in the destructor\n    hierarchy. If enabled, the `getDestroyable` hook will be called, and its result\n    will be associated with the destroyable parent block.\n  \n    #### `hasValue`\n  \n    - Default value: false\n  \n    Determines if the helper has a value which can be used externally. The helper's\n    `getValue` hook will be run whenever the value of the helper is accessed if this\n    capability is enabled.\n  \n    @method capabilities\n    @for @ember/helper\n    @static\n    @param {String} managerApiVersion The version of capabilities that are being used\n    @param options The capabilities values\n    @return {Capabilities} The capabilities object instance\n    @public\n  */\n\n\n  function helperCapabilities(managerAPI, options = {}) {\n    (true && !(managerAPI === '3.23') && (0, _debug.assert)('Invalid helper manager compatibility specified', managerAPI === '3.23'));\n    (true && !((options.hasValue || options.hasScheduledEffect) && !(options.hasValue && options.hasScheduledEffect)) && (0, _debug.assert)('You must pass either the `hasValue` OR the `hasScheduledEffect` capability when defining a helper manager. Passing neither, or both, is not permitted.', (options.hasValue || options.hasScheduledEffect) && !(options.hasValue && options.hasScheduledEffect)));\n    (true && !(!options.hasScheduledEffect) && (0, _debug.assert)('The `hasScheduledEffect` capability has not yet been implemented for helper managers. Please pass `hasValue` instead', !options.hasScheduledEffect));\n    return (0, _runtime2.buildCapabilities)({\n      hasValue: Boolean(options.hasValue),\n      hasDestroyable: Boolean(options.hasDestroyable),\n      hasScheduledEffect: Boolean(options.hasScheduledEffect)\n    });\n  }\n  /**\n    Sets the helper manager for an object or function.\n  \n    ```js\n    setHelperManager((owner) => new ClassHelperManager(owner), Helper)\n    ```\n  \n    When a value is used as a helper in a template, the helper manager is looked up\n    on the object by walking up its prototype chain and finding the first helper\n    manager. This manager then receives the value and can create and manage an\n    instance of a helper from it. This provides a layer of indirection that allows\n    users to design high-level helper APIs, without Ember needing to worry about the\n    details. High-level APIs can be experimented with and iterated on while the\n    core of Ember helpers remains stable, and new APIs can be introduced gradually\n    over time to existing code bases.\n  \n    `setHelperManager` receives two arguments:\n  \n    1. A factory function, which receives the `owner` and returns an instance of a\n      helper manager.\n    2. A helper definition, which is the object or function to associate the factory function with.\n  \n    The first time the object is looked up, the factory function will be called to\n    create the helper manager. It will be cached, and in subsequent lookups the\n    cached helper manager will be used instead.\n  \n    Only one helper manager is guaranteed to exist per `owner` and per usage of\n    `setHelperManager`, so many helpers will end up using the same instance of the\n    helper manager. As such, you should only store state that is related to the\n    manager itself. If you want to store state specific to a particular helper\n    definition, you should assign a unique helper manager to that helper. In\n    general, most managers should either be stateless, or only have the `owner` they\n    were created with as state.\n  \n    Helper managers must fulfill the following interface (This example uses\n    [TypeScript interfaces](https://www.typescriptlang.org/docs/handbook/interfaces.html)\n    for precision, you do not need to write helper managers using TypeScript):\n  \n    ```ts\n    interface HelperManager<HelperStateBucket> {\n      capabilities: HelperCapabilities;\n  \n      createHelper(definition: HelperDefinition, args: TemplateArgs): HelperStateBucket;\n  \n      getValue?(bucket: HelperStateBucket): unknown;\n  \n      runEffect?(bucket: HelperStateBucket): void;\n  \n      getDestroyable?(bucket: HelperStateBucket): object;\n    }\n    ```\n  \n    The capabilities property _must_ be provided using the `capabilities()` function\n    imported from the same module as `setHelperManager`:\n  \n    ```js\n    import { capabilities } from '@ember/helper';\n  \n    class MyHelperManager {\n      capabilities = capabilities('3.21.0', { hasValue: true });\n  \n      // ...snip...\n    }\n    ```\n  \n    Below is a description of each of the methods on the interface and their\n    functions.\n  \n    #### `createHelper`\n  \n    `createHelper` is a required hook on the HelperManager interface. The hook is\n    passed the definition of the helper that is currently being created, and is\n    expected to return a _state bucket_. This state bucket is what represents the\n    current state of the helper, and will be passed to the other lifecycle hooks at\n    appropriate times. It is not necessarily related to the definition of the\n    helper itself - for instance, you could return an object _containing_ an\n    instance of the helper:\n  \n    ```js\n    class MyManager {\n      createHelper(Definition, args) {\n        return {\n          instance: new Definition(args);\n        };\n      }\n    }\n    ```\n  \n    This allows the manager to store metadata that it doesn't want to expose to the\n    user.\n  \n    This hook is _not_ autotracked - changes to tracked values used within this hook\n    will _not_ result in a call to any of the other lifecycle hooks. This is because\n    it is unclear what should happen if it invalidates, and rather than make a\n    decision at this point, the initial API is aiming to allow as much expressivity\n    as possible. This could change in the future with changes to capabilities and\n    their behaviors.\n  \n    If users do want to autotrack some values used during construction, they can\n    either create the instance of the helper in `runEffect` or `getValue`, or they\n    can use the `cache` API to autotrack the `createHelper` hook themselves. This\n    provides maximum flexibility and expressiveness to manager authors.\n  \n    This hook has the following timing semantics:\n  \n    **Always**\n    - called as discovered during DOM construction\n    - called in definition order in the template\n  \n    #### `getValue`\n  \n    `getValue` is an optional hook that should return the value of the helper. This\n    is the value that is returned from the helper and passed into the template.\n  \n    This hook is called when the value is requested from the helper (e.g. when the\n    template is rendering and the helper value is needed). The hook is autotracked,\n    and will rerun whenever any tracked values used inside of it are updated.\n    Otherwise it does not rerun.\n  \n    > Note: This means that arguments which are not _consumed_ within the hook will\n    > not trigger updates.\n  \n    This hook is only called for helpers with the `hasValue` capability enabled.\n    This hook has the following timing semantics:\n  \n    **Always**\n    - called the first time the helper value is requested\n    - called after autotracked state has changed\n  \n    **Never**\n    - called if the `hasValue` capability is disabled\n  \n    #### `runEffect`\n  \n    `runEffect` is an optional hook that should run the effect that the helper is\n    applying, setting it up or updating it.\n  \n    This hook is scheduled to be called some time after render and prior to paint.\n    There is not a guaranteed, 1-to-1 relationship between a render pass and this\n    hook firing. For instance, multiple render passes could occur, and the hook may\n    only trigger once. It may also never trigger if it was dirtied in one render\n    pass and then destroyed in the next.\n  \n    The hook is autotracked, and will rerun whenever any tracked values used inside\n    of it are updated. Otherwise it does not rerun.\n  \n    The hook is also run during a time period where state mutations are _disabled_\n    in Ember. Any tracked state mutation will throw an error during this time,\n    including changes to tracked properties, changes made using `Ember.set`, updates\n    to computed properties, etc. This is meant to prevent infinite rerenders and\n    other antipatterns.\n  \n    This hook is only called for helpers with the `hasScheduledEffect` capability\n    enabled. This hook is also not called in SSR currently, though this could be\n    added as a capability in the future. It has the following timing semantics:\n  \n    **Always**\n    - called after the helper was first created, if the helper has not been\n      destroyed since creation\n    - called after autotracked state has changed, if the helper has not been\n      destroyed during render\n  \n    **Never**\n    - called if the `hasScheduledEffect` capability is disabled\n    - called in SSR\n  \n    #### `getDestroyable`\n  \n    `getDestroyable` is an optional hook that users can use to register a\n    destroyable object for the helper. This destroyable will be registered to the\n    containing block or template parent, and will be destroyed when it is destroyed.\n    See the [Destroyables RFC](https://github.com/emberjs/rfcs/blob/master/text/0580-destroyables.md)\n    for more details.\n  \n    `getDestroyable` is only called if the `hasDestroyable` capability is enabled.\n  \n    This hook has the following timing semantics:\n  \n    **Always**\n    - called immediately after the `createHelper` hook is called\n  \n    **Never**\n    - called if the `hasDestroyable` capability is disabled\n  \n    @method setHelperManager\n    @for @ember/helper\n    @static\n    @param {Function} factory A factory function which receives an optional owner, and returns a helper manager\n    @param {object} definition The definition to associate the manager factory with\n    @return {object} The definition passed into setHelperManager\n    @public\n  */\n\n\n  function hasValue(manager) {\n    return manager.capabilities.hasValue;\n  }\n\n  function hasDestroyable(manager) {\n    return manager.capabilities.hasDestroyable;\n  }\n\n  var ARGS_CACHES = true\n  /* DEBUG */\n  ? new WeakMap() : undefined;\n\n  function getArgs(proxy) {\n    return (0, _validator.getValue)(true\n    /* DEBUG */\n    ? ARGS_CACHES.get(proxy) : proxy.argsCache);\n  }\n\n  class SimpleArgsProxy {\n    constructor(context, computeArgs = () => _runtime2.EMPTY_ARGS) {\n      var argsCache = (0, _validator.createCache)(() => computeArgs(context));\n\n      if (true\n      /* DEBUG */\n      ) {\n        ARGS_CACHES.set(this, argsCache);\n        Object.freeze(this);\n      } else {\n        this.argsCache = argsCache;\n      }\n    }\n\n    get named() {\n      return getArgs(this).named || _runtime2.EMPTY_NAMED;\n    }\n\n    get positional() {\n      return getArgs(this).positional || _runtime2.EMPTY_POSITIONAL;\n    }\n\n  }\n  /**\n    The `invokeHelper` function can be used to create a helper instance in\n    JavaScript.\n  \n    ```js\n    // app/components/data-loader.js\n    import Component from '@glimmer/component';\n    import Helper from '@ember/component/helper';\n    import { invokeHelper } from '@ember/helper';\n  \n    class PlusOne extends Helper {\n      compute([num]) {\n        return number + 1;\n      }\n    }\n  \n    export default class PlusOne extends Component {\n      plusOne = invokeHelper(this, RemoteData, () => {\n        return {\n          positional: [this.args.number],\n        };\n      });\n    }\n    ```\n    ```hbs\n    {{this.plusOne.value}}\n    ```\n  \n    It receives three arguments:\n  \n    * `context`: The parent context of the helper. When the parent is torn down and\n      removed, the helper will be as well.\n    * `definition`: The definition of the helper.\n    * `computeArgs`: An optional function that produces the arguments to the helper.\n      The function receives the parent context as an argument, and must return an\n      object with a `positional` property that is an array and/or a `named`\n      property that is an object.\n  \n    And it returns a Cache instance that contains the most recent value of the\n    helper. You can access the helper using `getValue()` like any other cache. The\n    cache is also destroyable, and using the `destroy()` function on it will cause\n    the helper to be torn down.\n  \n    Note that using `getValue()` on helpers that have scheduled effects will not\n    trigger the effect early. Effects will continue to run at their scheduled time.\n  \n    @method invokeHelper\n    @for @ember/helper\n    @static\n    @param {object} context The parent context of the helper\n    @param {object} definition The helper definition\n    @param {Function} computeArgs An optional function that produces args\n    @returns\n    @public\n  */\n\n\n  function invokeHelper(context, definition, computeArgs) {\n    (true && !(context !== null && typeof context === 'object') && (0, _debug.assert)(`Expected a context object to be passed as the first parameter to invokeHelper, got ${context}`, context !== null && typeof context === 'object'));\n    var owner = (0, _owner.getOwner)(context);\n    var manager = (0, _runtime2.getHelperManager)(owner, definition); // TODO: figure out why assert isn't using the TS assert thing\n\n    (true && !(manager) && (0, _debug.assert)(`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, _utils.getDebugName)(definition)}\\`. Did you use setHelperManager to associate a helper manager with this value?`, manager));\n    (true && !(!(0, _runtime2.isInternalHelper)(manager)) && (0, _debug.assert)('Invoke helper does not support internal helpers yet', !(0, _runtime2.isInternalHelper)(manager)));\n    var args = new SimpleArgsProxy(context, computeArgs);\n    var bucket = manager.createHelper(definition, args);\n    var cache;\n\n    if (hasValue(manager)) {\n      cache = (0, _validator.createCache)(() => {\n        (true && !(!(0, _runtime2.isDestroying)(cache) && !(0, _runtime2.isDestroyed)(cache)) && (0, _debug.assert)(`You attempted to get the value of a helper after the helper was destroyed, which is not allowed`, !(0, _runtime2.isDestroying)(cache) && !(0, _runtime2.isDestroyed)(cache)));\n        return manager.getValue(bucket);\n      });\n      (0, _runtime2.associateDestroyableChild)(context, cache);\n    } else {\n      throw new Error('TODO: unreachable, to be implemented with hasScheduledEffect');\n    }\n\n    if (hasDestroyable(manager)) {\n      var destroyable = manager.getDestroyable(bucket);\n      (0, _runtime2.associateDestroyableChild)(cache, destroyable);\n    }\n\n    return cache;\n  }\n\n  function customHelper(manager, definition) {\n    return (vmArgs, vm) => {\n      var args = argsProxyFor(vmArgs.capture(), 'helper');\n      var bucket = manager.createHelper(definition, args);\n\n      if (hasDestroyable(manager)) {\n        vm.associateDestroyable(manager.getDestroyable(bucket));\n      }\n\n      if (hasValue(manager)) {\n        return (0, _reference.createComputeRef)(() => manager.getValue(bucket), null, true\n        /* DEBUG */\n        && manager.getDebugName && manager.getDebugName(definition));\n      } else {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n    };\n  }\n  /**\n  @module @ember/component\n  */\n\n\n  var RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n  var CLASSIC_HELPER_MANAGERS = new _util._WeakSet();\n\n  function isClassicHelperManager(obj) {\n    return CLASSIC_HELPER_MANAGERS.has(obj);\n  }\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\n  var Helper = _runtime.FrameworkObject.extend({\n    init() {\n      this._super(...arguments);\n\n      this[RECOMPUTE_TAG] = (0, _validator.createTag)();\n    },\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  });\n\n  _exports.Helper = Helper;\n  Helper.isHelperFactory = true;\n\n  class ClassicHelperManager {\n    constructor(owner) {\n      this.capabilities = helperCapabilities('3.23', {\n        hasValue: true,\n        hasDestroyable: true\n      });\n      CLASSIC_HELPER_MANAGERS.add(this);\n      var ownerInjection = {};\n      (0, _owner.setOwner)(ownerInjection, owner);\n      this.ownerInjection = ownerInjection;\n    }\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\n    getDestroyable({\n      instance\n    }) {\n      return instance;\n    }\n\n    getValue({\n      instance,\n      args\n    }) {\n      var ret;\n      var {\n        positional,\n        named\n      } = args;\n\n      if (true\n      /* DEBUG */\n      ) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          ret = instance.compute(positional, named);\n        });\n      } else {\n        ret = instance.compute(positional, named);\n      }\n\n      (0, _validator.consumeTag)(instance[RECOMPUTE_TAG]);\n      return ret;\n    }\n\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)(definition.class['prototype']);\n    }\n\n  }\n\n  (0, _runtime2.setHelperManager)(owner => new ClassicHelperManager(owner), Helper); ///////////\n\n  class Wrapper {\n    constructor(compute) {\n      this.compute = compute;\n      this.isHelperFactory = true;\n    }\n\n    create() {\n      // needs new instance or will leak containers\n      return {\n        compute: this.compute\n      };\n    }\n\n  }\n\n  class SimpleClassicHelperManager {\n    constructor() {\n      this.capabilities = helperCapabilities('3.23', {\n        hasValue: true\n      });\n    }\n\n    createHelper(definition, args) {\n      var {\n        compute\n      } = definition;\n\n      if (true\n      /* DEBUG */\n      ) {\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\n      return () => compute.call(null, args.positional, args.named);\n    }\n\n    getValue(fn) {\n      return fn();\n    }\n\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)(definition.compute);\n    }\n\n  }\n\n  var SIMPLE_CLASSIC_HELPER_MANAGER = new SimpleClassicHelperManager();\n  (0, _runtime2.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  /**\n  @module @ember/template\n  */\n\n\n  class SafeString {\n    constructor(string) {\n      this.string = string;\n    }\n\n    toString() {\n      return `${this.string}`;\n    }\n\n    toHTML() {\n      return this.toString();\n    }\n\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\n  function escapeChar(chr) {\n    return escape[chr];\n  }\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\n      string = String(string);\n    }\n\n    if (!possible.test(string)) {\n      return string;\n    }\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\n  function htmlSafe(str) {\n    if (str === null || str === undefined) {\n      str = '';\n    } else if (typeof str !== 'string') {\n      str = String(str);\n    }\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\n  function isHTMLSafe(str) {\n    return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n  }\n\n  function isStaticComponentManager(_manager, capabilities) {\n    return !capabilities.dynamicLayout;\n  }\n\n  class CompileTimeResolverImpl {\n    constructor(resolver) {\n      this.resolver = resolver;\n    }\n\n    lookupHelper(name, owner) {\n      return this.resolver.lookupHelper(name, owner);\n    }\n\n    lookupModifier(name, owner) {\n      return this.resolver.lookupModifier(name, owner);\n    }\n\n    lookupComponent(name, owner) {\n      var definitionHandle = this.resolver.lookupComponentHandle(name, owner);\n\n      if (definitionHandle === null) {\n        return null;\n      }\n\n      var {\n        manager,\n        state\n      } = this.resolver.resolve(definitionHandle);\n      var capabilities = manager.getCapabilities(state);\n\n      if (!isStaticComponentManager(manager, capabilities)) {\n        return {\n          handle: definitionHandle,\n          capabilities,\n          compilable: null\n        };\n      }\n\n      var template = (0, _util.unwrapTemplate)(manager.getStaticLayout(state));\n      var layout = capabilities.wrapped ? template.asWrappedLayout() : template.asLayout();\n      return {\n        handle: definitionHandle,\n        capabilities,\n        compilable: layout\n      };\n    }\n\n    lookupPartial(name, owner) {\n      return this.resolver.lookupPartial(name, owner);\n    }\n\n    resolve() {\n      return null;\n    }\n\n  }\n\n  function instrumentationPayload(def) {\n    return {\n      object: `${def.name}:${def.outlet}`\n    };\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: true,\n    updateHook: false,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false\n  };\n\n  class OutletComponentManager extends _runtime2.BaseInternalComponentManager {\n    create(env, definition, _args, 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\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\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\n      return state;\n    }\n\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n\n    getDebugCustomRenderTree(definition, state, args) {\n      var nodes = [];\n\n      if (state.outlet) {\n        nodes.push({\n          bucket: state.outlet,\n          type: 'outlet',\n          name: state.outlet.name,\n          args: _runtime2.EMPTY_ARGS,\n          instance: undefined,\n          template: undefined\n        });\n      }\n\n      if (state.engineBucket) {\n        nodes.push({\n          bucket: state.engineBucket,\n          type: 'engine',\n          name: state.engineBucket.mountPoint,\n          args: _runtime2.EMPTY_ARGS,\n          instance: state.engine,\n          template: undefined\n        });\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: definition.template\n      });\n      return nodes;\n    }\n\n    getStaticLayout({\n      template\n    }) {\n      // The router has already resolved the template\n      return template;\n    }\n\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n\n    didRenderLayout(state) {\n      state.finalize();\n    }\n\n    getDestroyable() {\n      return null;\n    }\n\n  }\n\n  var OUTLET_MANAGER = new OutletComponentManager();\n\n  class OutletComponentDefinition {\n    constructor(state, manager = OUTLET_MANAGER) {\n      this.state = state;\n      this.manager = manager;\n    }\n\n  }\n\n  function createRootOutlet(outletView) {\n    if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n      var WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n        dynamicTag: true,\n        elementHook: true,\n        wrapped: true\n      });\n      var WrappedOutletComponentManager = class extends OutletComponentManager {\n        getTagName() {\n          return 'div';\n        }\n\n        getStaticLayout({\n          template\n        }) {\n          // The router has already resolved the template\n          return template;\n        }\n\n        getCapabilities() {\n          return WRAPPED_CAPABILITIES;\n        }\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      };\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\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\n  class ComponentStateBucket {\n    constructor(environment, component, args, argsTag, finalizer, hasWrappedElement) {\n      this.environment = environment;\n      this.component = component;\n      this.args = args;\n      this.argsTag = argsTag;\n      this.finalizer = finalizer;\n      this.hasWrappedElement = hasWrappedElement;\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, _runtime2.registerDestructor)(this, () => this.willDestroy(), true);\n      (0, _runtime2.registerDestructor)(this, () => this.component.destroy());\n    }\n\n    willDestroy() {\n      var {\n        component,\n        environment\n      } = this;\n\n      if (environment.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\n        if (element) {\n          (0, _views.clearElementView)(element);\n          (0, _views.clearViewElement)(component);\n        }\n      }\n\n      component.renderer.unregister(component);\n    }\n\n    finalize() {\n      var {\n        finalizer\n      } = this;\n      finalizer();\n      this.finalizer = NOOP;\n    }\n\n  }\n\n  function isTemplateFactory(template) {\n    return typeof template === 'function';\n  }\n\n  function referenceForParts(rootRef, parts) {\n    var isAttrs = parts[0] === 'attrs'; // TODO deprecate this\n\n    if (isAttrs) {\n      parts.shift();\n\n      if (parts.length === 1) {\n        return (0, _reference.childRefFor)(rootRef, parts[0]);\n      }\n    }\n\n    return (0, _reference.childRefFromParts)(rootRef, parts);\n  }\n\n  function parseAttributeBinding(microsyntax) {\n    var colonIndex = microsyntax.indexOf(':');\n\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\n  function installAttributeBinding(component, rootRef, parsed, operations) {\n    var [prop, attribute, isSimple] = parsed;\n\n    if (attribute === 'id') {\n      var elementId = (0, _metal.get)(component, prop);\n\n      if (elementId === undefined || elementId === null) {\n        elementId = component.elementId;\n      }\n\n      elementId = (0, _reference.createPrimitiveRef)(elementId);\n      operations.setAttribute('id', elementId, true, null);\n      return;\n    }\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\n    if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && attribute === 'style' && createStyleBindingRef !== undefined) {\n      reference = createStyleBindingRef(reference, (0, _reference.childRefFor)(rootRef, 'isVisible'));\n    }\n\n    operations.setAttribute(attribute, reference, false, null);\n  }\n\n  var DISPLAY_NONE = 'display: none;';\n  var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n  var createStyleBindingRef;\n  var installIsVisibleBinding;\n\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\n        if (true\n        /* DEBUG */\n        && 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\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(value) ? htmlSafe(style) : style;\n        }\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\n  function createClassNameBindingRef(rootRef, microsyntax, operations) {\n    var [prop, truthy, falsy] = microsyntax.split(':');\n    var isStatic = prop === '';\n\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\n      if (truthy === undefined) {\n        ref = createSimpleClassNameBindingRef(value, isPath ? parts[parts.length - 1] : prop);\n      } else {\n        ref = createColonClassNameBindingRef(value, truthy, falsy);\n      }\n\n      operations.setAttribute('class', ref, false, null);\n    }\n  }\n\n  function createSimpleClassNameBindingRef(inner, path) {\n    var dasherizedPath;\n    return (0, _reference.createComputeRef)(() => {\n      var value = (0, _reference.valueForRef)(inner);\n\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\n  function createColonClassNameBindingRef(inner, truthy, falsy) {\n    return (0, _reference.createComputeRef)(() => {\n      return (0, _reference.valueForRef)(inner) ? truthy : falsy;\n    });\n  }\n  /**\n  @module ember\n  */\n\n\n  var ACTIONS = new _util._WeakSet();\n  var 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  _exports.INVOKE = INVOKE;\n\n  function action(args) {\n    var {\n      named,\n      positional\n    } = args;\n    var capturedArgs = positional.capture(); // 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, ...restArgs] = capturedArgs;\n    var debugKey = action.debugLabel;\n    var target = named.has('target') ? named.get('target') : context;\n    var processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n    var fn;\n\n    if ((0, _reference.isInvokableRef)(action)) {\n      fn = makeClosureAction(action, action, invokeRef, processArgs, debugKey);\n    } else {\n      fn = makeDynamicClosureAction((0, _reference.valueForRef)(context), target, action, processArgs, debugKey);\n    }\n\n    ACTIONS.add(fn);\n    return (0, _reference.createUnboundRef)(fn, '(result of an `action` helper)');\n  }\n\n  function NOOP$1(args) {\n    return args;\n  }\n\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    var mergeArgs;\n\n    if (actionArgsRef.length > 0) {\n      mergeArgs = args => {\n        return actionArgsRef.map(_reference.valueForRef).concat(args);\n      };\n    }\n\n    var readValue;\n\n    if (valuePathRef) {\n      readValue = args => {\n        var valuePath = (0, _reference.valueForRef)(valuePathRef);\n\n        if (valuePath && args.length > 0) {\n          args[0] = (0, _metal.get)(args[0], valuePath);\n        }\n\n        return args;\n      };\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\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\n    /* DEBUG */\n    ) {\n      makeClosureAction(context, (0, _reference.valueForRef)(targetRef), (0, _reference.valueForRef)(actionRef), processArgs, debugKey);\n    }\n\n    return (...args) => {\n      return makeClosureAction(context, (0, _reference.valueForRef)(targetRef), (0, _reference.valueForRef)(actionRef), processArgs, debugKey)(...args);\n    };\n  }\n\n  function makeClosureAction(context, target, action, processArgs, debugKey) {\n    var self;\n    var fn;\n    (true && !(action !== undefined && action !== null) && (0, _debug.assert)(`Action passed is null or undefined in (action) from ${target}.`, action !== undefined && action !== null));\n\n    if (typeof action[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)}`, 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;\n      fn = action[INVOKE];\n    } else {\n      var typeofAction = typeof action;\n\n      if (typeofAction === 'string') {\n        self = target;\n        fn = target.actions && target.actions[action];\n        (true && !(Boolean(fn)) && (0, _debug.assert)(`An action named '${action}' was not found in ${target}`, Boolean(fn)));\n      } else if (typeofAction === 'function') {\n        self = context;\n        fn = action;\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}\\` 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\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, ...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\n  function invokeRef(value) {\n    (0, _reference.updateRef)(this, value);\n  } // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n\n\n  function processComponentArgs(namedArgs) {\n    var attrs = Object.create(null);\n    var props = Object.create(null);\n    props[ARGS] = namedArgs;\n\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\n      if ((0, _reference.isUpdatableRef)(ref) && !isAction) {\n        attrs[name] = new MutableCell(ref, value);\n      } else {\n        attrs[name] = value;\n      }\n\n      props[name] = value;\n    }\n\n    props.attrs = attrs;\n    return props;\n  }\n\n  var REF = (0, _utils.symbol)('REF');\n\n  class MutableCell {\n    constructor(ref, value) {\n      this[_views.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value;\n    }\n\n    update(val) {\n      (0, _reference.updateRef)(this[REF], val);\n    }\n\n  }\n\n  var __rest = undefined && undefined.__rest || function (s, e) {\n    var t = {};\n\n    for (var p in s) {\n      if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n    }\n\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\n  var EMBER_VIEW_REF = (0, _reference.createPrimitiveRef)('ember-view');\n\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\n  function applyAttributeBindings(attributeBindings, component, rootRef, operations) {\n    var seen = [];\n    var i = attributeBindings.length - 1;\n\n    while (i !== -1) {\n      var binding = attributeBindings[i];\n      var parsed = parseAttributeBinding(binding);\n      var attribute = parsed[1];\n\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        installAttributeBinding(component, rootRef, parsed, operations);\n      }\n\n      i--;\n    }\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\n    if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && installIsVisibleBinding !== undefined && seen.indexOf('style') === -1) {\n      installIsVisibleBinding(rootRef, operations);\n    }\n  }\n\n  var DEFAULT_LAYOUT = (0, _container.privatize)`template:components/-default`;\n  var EMPTY_POSITIONAL_ARGS = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n\n  class CurlyComponentManager extends _runtime2.BaseInternalComponentManager {\n    templateFor(component) {\n      var {\n        layout,\n        layoutName\n      } = component;\n      var owner = (0, _owner.getOwner)(component);\n      var factory;\n\n      if (layout === undefined) {\n        if (layoutName !== undefined) {\n          var _factory = owner.lookup(`template:${layoutName}`);\n\n          (true && !(_factory !== undefined) && (0, _debug.assert)(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined));\n          factory = _factory;\n        } else {\n          factory = owner.lookup(DEFAULT_LAYOUT);\n        }\n      } else if (isTemplateFactory(layout)) {\n        factory = layout;\n      } else {\n        // we were provided an instance already\n        return layout;\n      }\n\n      return factory(owner);\n    }\n\n    getDynamicLayout(bucket) {\n      return this.templateFor(bucket.component);\n    }\n\n    getTagName(state) {\n      var {\n        component,\n        hasWrappedElement\n      } = state;\n\n      if (!hasWrappedElement) {\n        return null;\n      }\n\n      return component && component.tagName || 'div';\n    }\n\n    getCapabilities(state) {\n      return state.capabilities;\n    }\n\n    prepareArgs(state, args) {\n      if (args.named.has('__ARGS__')) {\n        var _a = args.named.capture(),\n            {\n          __ARGS__\n        } = _a,\n            rest = __rest(_a, [\"__ARGS__\"]);\n\n        var prepared = {\n          positional: EMPTY_POSITIONAL_ARGS,\n          named: (0, _polyfills.assign)((0, _polyfills.assign)({}, rest), (0, _reference.valueForRef)(__ARGS__))\n        };\n        return prepared;\n      }\n\n      var {\n        positionalParams\n      } = state.ComponentClass.class; // early exits\n\n      if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n        return null;\n      }\n\n      var named;\n\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, _runtime2.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\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\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\n    create(environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n      // Get the nearest concrete component instance from the scope. \"Virtual\"\n      // components will be skipped.\n      var parentView = dynamicScope.view; // Get the Ember.Component subclass to instantiate for this component.\n\n      var factory = state.ComponentClass; // 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); // static layout asserts CurriedDefinition\n\n      if (state.template) {\n        props.layout = state.template;\n      } // 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\n      (0, _validator.beginUntrackFrame)();\n      var component = factory.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\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 (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.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\n      var bucket = new ComponentStateBucket(environment, component, capturedArgs, argsTag, finalizer, hasWrappedElement);\n\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        processComponentInitializationAssertions(component, props);\n      }\n\n      if (environment.isInteractive && hasWrappedElement) {\n        component.trigger('willRender');\n      }\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\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n\n    getSelf({\n      rootRef\n    }) {\n      return rootRef;\n    }\n\n    didCreateElement({\n      component,\n      classRef,\n      environment,\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\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\n        if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n          installIsVisibleBinding(rootRef, operations);\n        }\n      }\n\n      if (classRef) {\n        var ref = createSimpleClassNameBindingRef(classRef);\n        operations.setAttribute('class', ref, false, null);\n      }\n\n      if (classNames && classNames.length) {\n        classNames.forEach(name => {\n          operations.setAttribute('class', (0, _reference.createPrimitiveRef)(name), false, null);\n        });\n      }\n\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(binding => {\n          createClassNameBindingRef(rootRef, binding, operations);\n        });\n      }\n\n      operations.setAttribute('class', EMBER_VIEW_REF, false, null);\n\n      if ('ariaRole' in component) {\n        operations.setAttribute('role', (0, _reference.childRefFor)(rootRef, 'ariaRole'), false, null);\n      }\n\n      component._transitionTo('hasElement');\n\n      if (environment.isInteractive) {\n        (0, _validator.beginUntrackFrame)();\n        component.trigger('willInsertElement');\n        (0, _validator.endUntrackFrame)();\n      }\n    }\n\n    didRenderLayout(bucket, bounds) {\n      bucket.component[BOUNDS] = bounds;\n      bucket.finalize();\n    }\n\n    didCreate({\n      component,\n      environment\n    }) {\n      if (environment.isInteractive) {\n        component._transitionTo('inDOM');\n\n        component.trigger('didInsertElement');\n        component.trigger('didRender');\n      }\n    }\n\n    update(bucket) {\n      var {\n        component,\n        args,\n        argsTag,\n        argsRevision,\n        environment\n      } = bucket;\n      bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n      (0, _validator.beginUntrackFrame)();\n\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\n      if (environment.isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n\n      (0, _validator.endUntrackFrame)();\n      (0, _validator.consumeTag)(argsTag);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n    }\n\n    didUpdateLayout(bucket) {\n      bucket.finalize();\n    }\n\n    didUpdate({\n      component,\n      environment\n    }) {\n      if (environment.isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    }\n\n    getDestroyable(bucket) {\n      return bucket;\n    }\n\n  }\n\n  function processComponentInitializationAssertions(component, props) {\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n\n      return true;\n    })()));\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\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\n  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: true\n    });\n  }\n\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: false\n    });\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  };\n  var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n\n  class CurlyComponentDefinition {\n    constructor(name, ComponentClass, template, args) {\n      this.name = name;\n      this.ComponentClass = ComponentClass;\n      this.template = template;\n      this.args = args;\n      this.manager = CURLY_COMPONENT_MANAGER;\n      this.state = {\n        name,\n        ComponentClass,\n        template,\n        capabilities: CURLY_CAPABILITIES\n      };\n    }\n\n  }\n\n  class RootComponentManager extends CurlyComponentManager {\n    constructor(component) {\n      super();\n      this.component = component;\n    }\n\n    getStaticLayout() {\n      return this.templateFor(this.component);\n    }\n\n    create(environment, _state, _args, 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 (environment.isInteractive) {\n          component.trigger('willRender');\n        }\n\n        component._transitionTo('hasElement');\n\n        if (environment.isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        processComponentInitializationAssertions(component, {});\n      }\n\n      var bucket = new ComponentStateBucket(environment, component, null, _validator.CONSTANT_TAG, finalizer, hasWrappedElement);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n      return bucket;\n    }\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\n  var ROOT_CAPABILITIES = {\n    dynamicLayout: false,\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  };\n\n  class RootComponentDefinition {\n    constructor(component) {\n      this.component = component;\n      var manager = new RootComponentManager(component);\n      this.manager = manager;\n      var factory = (0, _container.getFactoryFor)(component);\n      this.state = {\n        name: factory.fullName.slice(10),\n        capabilities: ROOT_CAPABILITIES,\n        ComponentClass: factory\n      };\n    }\n\n  }\n  /**\n  @module ember\n  */\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    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n\n\n  class EachInWrapper {\n    constructor(inner) {\n      this.inner = inner;\n    }\n\n  }\n\n  function eachIn(args) {\n    var inner = args.positional.at(0);\n    return (0, _reference.createComputeRef)(() => {\n      var iterable = (0, _reference.valueForRef)(inner);\n      (0, _validator.consumeTag)((0, _metal.tagForObject)(iterable));\n\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, _runtime._contentFor)(iterable);\n      }\n\n      return new EachInWrapper(iterable);\n    });\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\n  function toEachInIterator(iterable) {\n    if (!isIndexable(iterable)) {\n      return null;\n    }\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\n  function toEachIterator(iterable) {\n    if (!(0, _utils.isObject)(iterable)) {\n      return null;\n    }\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\n  class BoundedIterator {\n    constructor(length) {\n      this.length = length;\n      this.position = 0;\n    }\n\n    isEmpty() {\n      return false;\n    }\n\n    memoFor(position) {\n      return position;\n    }\n\n    next() {\n      var {\n        length,\n        position\n      } = this;\n\n      if (position >= length) {\n        return null;\n      }\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  }\n\n  class ArrayIterator extends BoundedIterator {\n    constructor(array) {\n      super(array.length);\n      this.array = array;\n    }\n\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n\n    static fromForEachable(object) {\n      var array = [];\n      object.forEach(item => array.push(item));\n      return this.from(array);\n    }\n\n    valueFor(position) {\n      return this.array[position];\n    }\n\n  }\n\n  class EmberArrayIterator extends BoundedIterator {\n    constructor(array) {\n      super(array.length);\n      this.array = array;\n    }\n\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n\n    valueFor(position) {\n      return (0, _metal.objectAt)(this.array, position);\n    }\n\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\n    static fromIndexable(obj) {\n      var keys = Object.keys(obj);\n      var {\n        length\n      } = keys;\n\n      if (length === 0) {\n        return null;\n      } else {\n        var values = [];\n\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\n            if (Array.isArray(value)) {\n              (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n            }\n          }\n\n          values.push(value);\n        }\n\n        return new this(keys, values);\n      }\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\n        if (isMapLike) {\n          keys.push(key);\n        }\n\n        values.push(value);\n        length++;\n      });\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\n    valueFor(position) {\n      return this.values[position];\n    }\n\n    memoFor(position) {\n      return this.keys[position];\n    }\n\n  }\n\n  class NativeIterator {\n    constructor(iterable, result) {\n      this.iterable = iterable;\n      this.result = result;\n      this.position = 0;\n    }\n\n    static from(iterable) {\n      var iterator = iterable[Symbol.iterator]();\n      var result = iterator.next();\n      var {\n        done\n      } = result;\n\n      if (done) {\n        return null;\n      } else {\n        return new this(iterator, result);\n      }\n    }\n\n    isEmpty() {\n      return false;\n    }\n\n    next() {\n      var {\n        iterable,\n        result,\n        position\n      } = this;\n\n      if (result.done) {\n        return null;\n      }\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  }\n\n  class ArrayLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value;\n    }\n\n    memoFor(_result, position) {\n      return position;\n    }\n\n  }\n\n  class MapLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value[1];\n    }\n\n    memoFor(result) {\n      return result.value[0];\n    }\n\n  }\n\n  function hasForEach(value) {\n    return typeof value['forEach'] === 'function';\n  }\n\n  function isNativeIterable(value) {\n    return typeof value[Symbol.iterator] === 'function';\n  }\n\n  function isIndexable(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n\n  function toBool$1(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, _runtime.isArray)(predicate)) {\n      (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, '[]'));\n      return predicate.length !== 0;\n    } else {\n      return Boolean(predicate);\n    }\n  } // Setup global context\n\n\n  (0, _globalContext.default)({\n    scheduleRevalidate() {\n      _runloop.backburner.ensureInstance();\n    },\n\n    toBool: toBool$1,\n    toIterator,\n    getProp: _metal._getProp,\n    setProp: _metal.set,\n    getPath: _metal.get,\n\n    scheduleDestroy(destroyable, destructor) {\n      (0, _runloop.schedule)('actions', null, destructor, destroyable);\n    },\n\n    scheduleDestroyed(finalizeDestructor) {\n      (0, _runloop.schedule)('destroy', null, finalizeDestructor);\n    },\n\n    warnIfStyleNotTrusted(value) {\n      (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n        if (value === null || value === undefined || isHTMLSafe(value)) {\n          return true;\n        }\n\n        return false;\n      })(), {\n        id: 'ember-htmlbars.style-xss-warning'\n      }));\n    }\n\n  });\n\n  if (true\n  /* DEBUG */\n  ) {\n    (0, _validator.setTrackingTransactionEnv)({\n      assert(message) {\n        (true && !(false) && (0, _debug.assert)(message, false));\n      },\n\n      deprecate(message) {\n        (true && !(false) && (0, _debug.deprecate)(message, false, {\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      },\n\n      debugMessage(obj, keyName) {\n        var dirtyString = keyName ? `\\`${keyName}\\` on \\`${(0, _utils.getDebugName)(obj)}\\`` : `\\`${(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  } ///////////\n  // Define environment delegate\n\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\n    onTransactionCommit() {}\n\n  }\n\n  var CAPABILITIES$1 = {\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  };\n\n  function capabilities(managerAPI, options = {}) {\n    (true && !(managerAPI === '3.4' || managerAPI === '3.13') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4' || managerAPI === '3.13'));\n    var updateHook = true;\n\n    if (managerAPI === '3.13') {\n      updateHook = Boolean(options.updateHook);\n    }\n\n    return (0, _runtime2.buildCapabilities)({\n      asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n      destructor: Boolean(options.destructor),\n      updateHook\n    });\n  }\n\n  function hasAsyncLifeCycleCallbacks(delegate) {\n    return delegate.capabilities.asyncLifeCycleCallbacks;\n  }\n\n  function hasUpdateHook(delegate) {\n    return delegate.capabilities.updateHook;\n  }\n\n  function hasAsyncUpdateHook(delegate) {\n    return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n  }\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\n  class CustomComponentManager extends _runtime2.BaseInternalComponentManager {\n    create(env, definition, vmArgs) {\n      var {\n        delegate\n      } = definition;\n      var args = argsProxyFor(vmArgs.capture(), 'component');\n      var component;\n\n      if (true\n      /* DEBUG */\n      && _validator.deprecateMutationsInTrackingTransaction !== undefined) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          component = delegate.createComponent(definition.ComponentClass.class, args);\n        });\n      } else {\n        component = delegate.createComponent(definition.ComponentClass.class, args);\n      }\n\n      var bucket = new CustomComponentState(delegate, component, args, env);\n      return bucket;\n    }\n\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n\n    update(bucket) {\n      if (hasUpdateHook(bucket.delegate)) {\n        var {\n          delegate,\n          component,\n          args\n        } = bucket;\n        delegate.updateComponent(component, args);\n      }\n    }\n\n    didCreate({\n      delegate,\n      component\n    }) {\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didCreateComponent(component);\n      }\n    }\n\n    didUpdate({\n      delegate,\n      component\n    }) {\n      if (hasAsyncUpdateHook(delegate)) {\n        delegate.didUpdateComponent(component);\n      }\n    }\n\n    didRenderLayout() {}\n\n    didUpdateLayout() {}\n\n    getSelf({\n      delegate,\n      component\n    }) {\n      return (0, _reference.createConstRef)(delegate.getContext(component), 'this');\n    }\n\n    getDestroyable(bucket) {\n      return bucket;\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$1;\n    }\n\n    getStaticLayout(state) {\n      return state.template;\n    }\n\n  }\n\n  var CUSTOM_COMPONENT_MANAGER = new CustomComponentManager();\n  /**\n   * Stores internal state about a component instance after it's been created.\n   */\n\n  class CustomComponentState {\n    constructor(delegate, component, args, env) {\n      this.delegate = delegate;\n      this.component = component;\n      this.args = args;\n      this.env = env;\n\n      if (hasDestructors(delegate)) {\n        (0, _runtime2.registerDestructor)(this, () => delegate.destroyComponent(component));\n      }\n    }\n\n  }\n\n  class CustomManagerDefinition {\n    constructor(name, ComponentClass, delegate, template) {\n      this.name = name;\n      this.ComponentClass = ComponentClass;\n      this.delegate = delegate;\n      this.template = template;\n      this.manager = CUSTOM_COMPONENT_MANAGER;\n      this.state = {\n        name,\n        ComponentClass,\n        template,\n        delegate\n      };\n    }\n\n  }\n\n  var CAPABILITIES$2 = {\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  };\n\n  class InternalComponentDefinition {\n    constructor(manager, ComponentClass, layout) {\n      this.manager = manager;\n      this.state = {\n        ComponentClass,\n        layout\n      };\n    }\n\n  }\n\n  class InternalManager extends _runtime2.BaseInternalComponentManager {\n    constructor(owner, name) {\n      super();\n      this.owner = owner;\n      this.name = name;\n    }\n\n    static for(name) {\n      return owner => new InternalManager(owner, name);\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$2;\n    }\n\n    create(env, {\n      ComponentClass\n    }, args, _dynamicScope, caller) {\n      (true && !((0, _reference.isConstRef)(caller)) && (0, _debug.assert)('caller must be const', (0, _reference.isConstRef)(caller)));\n      (true && !(args.positional.length === 0) && (0, _debug.assert)(`The ${this.name} component does not take any positional arguments`, args.positional.length === 0));\n      var instance = new ComponentClass(this.owner, args.named.capture(), (0, _reference.valueForRef)(caller));\n      var state = {\n        env,\n        instance\n      };\n      return state;\n    }\n\n    getDebugName() {\n      return this.name;\n    }\n\n    getSelf({\n      instance\n    }) {\n      return (0, _reference.createConstRef)(instance, 'this');\n    }\n\n    getDestroyable(state) {\n      return state.instance;\n    }\n\n    getStaticLayout({\n      layout: template\n    }) {\n      return template;\n    }\n\n  }\n\n  var CAPABILITIES$3 = {\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  };\n\n  class TemplateOnlyComponentManager {\n    getStaticLayout({\n      template\n    }) {\n      return template;\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$3;\n    }\n\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n\n    getSelf() {\n      return _reference.NULL_REFERENCE;\n    }\n\n    getDestroyable() {\n      return null;\n    }\n\n  }\n\n  var MANAGER = new TemplateOnlyComponentManager();\n\n  class TemplateOnlyComponentDefinition {\n    constructor(name, template) {\n      this.name = name;\n      this.template = template;\n      this.manager = MANAGER;\n    }\n\n    get state() {\n      return this;\n    }\n\n  }\n\n  var helper$1;\n\n  if (true\n  /* DEBUG */\n  ) {\n    helper$1 = args => {\n      var inner = args.positional.at(0);\n      var messageRef = args.positional.at(1);\n      return (0, _reference.createComputeRef)(() => {\n        var value = (0, _reference.valueForRef)(inner);\n        (true && !(typeof value !== 'string') && (0, _debug.assert)((0, _reference.valueForRef)(messageRef), typeof value !== 'string'));\n        return value;\n      });\n    };\n  } else {\n    helper$1 = args => args.positional.at(0);\n  }\n\n  var componentAssertionHelper = helper$1;\n  var helper$2;\n\n  if (true\n  /* DEBUG */\n  ) {\n    helper$2 = args => {\n      var inner = args.positional.at(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$2 = args => args.positional.at(0);\n  }\n\n  var inElementNullCheckHelper = helper$2;\n\n  function normalizeClassHelper(args) {\n    var positional = args.positional.capture();\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\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  /**\n  @module ember\n  */\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\n  function trackArray(args) {\n    var inner = args.positional.at(0);\n    return (0, _reference.createComputeRef)(() => {\n      var iterable = (0, _reference.valueForRef)(inner);\n\n      if ((0, _utils.isObject)(iterable)) {\n        (0, _validator.consumeTag)((0, _metal.tagForProperty)(iterable, '[]'));\n      }\n\n      return iterable;\n    });\n  }\n  /**\n  @module ember\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     @for Ember.Templates.helpers\n     @param {Array} options\n     @return {Array} Array\n     @since 3.8.0\n     @public\n   */\n\n\n  function array(args) {\n    var captured = args.positional.capture();\n    return (0, _reference.createComputeRef)(() => (0, _runtime2.reifyPositional)(captured), null, 'array');\n  }\n\n  var isEmpty = value => {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  };\n\n  var normalizeTextValue = value => {\n    if (isEmpty(value)) {\n      return '';\n    }\n\n    return String(value);\n  };\n  /**\n  @module ember\n  */\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    @for Ember.Templates.helpers\n    @since 1.13.0\n  */\n\n\n  function concat(args) {\n    var captured = args.positional.capture();\n    return (0, _reference.createComputeRef)(() => (0, _runtime2.reifyPositional)(captured).map(normalizeTextValue).join(''), null, 'concat');\n  }\n\n  function buildUntouchableThis(source) {\n    var context = null;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      var assertOnProperty = property => {\n        (true && !(false) && (0, _debug.assert)(`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 usage of \\`@action\\`.`));\n      };\n\n      context = new Proxy({}, {\n        get(_target, property) {\n          assertOnProperty(property);\n        },\n\n        set(_target, property) {\n          assertOnProperty(property);\n          return false;\n        },\n\n        has(_target, property) {\n          assertOnProperty(property);\n          return false;\n        }\n\n      });\n    }\n\n    return context;\n  }\n\n  var context = buildUntouchableThis('`fn` helper');\n  /**\n  @module ember\n  */\n\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      @action\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 `@action` to ensure that `handleSelected` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\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 `@action` 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    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n  function fn(args) {\n    var positional = args.positional.capture();\n    var callbackRef = positional[0];\n    if (true\n    /* DEBUG */\n    ) assertCallbackIsFn(callbackRef);\n    return (0, _reference.createComputeRef)(() => {\n      return (...invocationArgs) => {\n        var [fn, ...args] = (0, _runtime2.reifyPositional)(positional);\n        if (true\n        /* DEBUG */\n        ) assertCallbackIsFn(callbackRef);\n\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\n  function assertCallbackIsFn(callbackRef) {\n    (true && !(callbackRef && ((0, _reference.isInvokableRef)(callbackRef) || typeof (0, _reference.valueForRef)(callbackRef) === 'function')) && (0, _debug.assert)(`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}`, callbackRef && ((0, _reference.isInvokableRef)(callbackRef) || typeof (0, _reference.valueForRef)(callbackRef) === 'function')));\n  }\n  /**\n  @module ember\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      @action\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    @for Ember.Templates.helpers\n    @since 2.1.0\n   */\n\n\n  function get$1(args) {\n    var sourceRef = args.positional.at(0);\n    var pathRef = args.positional.at(1);\n\n    if ((0, _reference.isConstRef)(pathRef)) {\n      // Since the path is constant, we can create a normal chain of property\n      // references. The source reference will update like normal, and all of the\n      // child references will update accordingly.\n      var path = (0, _reference.valueForRef)(pathRef);\n\n      if (path === undefined || path === null || path === '') {\n        return _reference.NULL_REFERENCE;\n      } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n        return (0, _reference.childRefFromParts)(sourceRef, path.split('.'));\n      } else {\n        return (0, _reference.childRefFor)(sourceRef, String(path));\n      }\n    } else {\n      return (0, _reference.createComputeRef)(() => {\n        var source = (0, _reference.valueForRef)(sourceRef);\n\n        if ((0, _utils.isObject)(source)) {\n          return (0, _metal.get)(source, String((0, _reference.valueForRef)(pathRef)));\n        }\n      }, value => {\n        var source = (0, _reference.valueForRef)(sourceRef);\n\n        if ((0, _utils.isObject)(source)) {\n          return (0, _metal.set)(source, String((0, _reference.valueForRef)(pathRef)), value);\n        }\n      }, 'get');\n    }\n  }\n  /**\n  @module ember\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     @for Ember.Templates.helpers\n     @param {Object} options\n     @return {Object} Hash\n     @since 2.3.0\n     @public\n   */\n\n\n  function hash(args) {\n    var positional = args.named.capture();\n    return (0, _reference.createComputeRef)(() => (0, _runtime2.reifyNamed)(positional), null, 'hash');\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    The `if` helper allows you to conditionally render one of two branches,\n    depending on the \"truthiness\" of a property.\n    For example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    This helper has two forms, block and inline.\n  \n    ## Block form\n  \n    You can use the block form of `if` to conditionally render a section of the template.\n  \n    To use it, pass the conditional value to the `if` helper,\n    using the block form to wrap the section of template you want to conditionally render.\n    Like so:\n  \n    ```app/templates/application.hbs\n    <Weather />\n    ```\n  \n    ```app/components/weather.hbs\n    {{! will not render because greeting is undefined}}\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{/if}}\n    ```\n  \n    You can also define what to show if the property is falsey by using\n    the `else` helper.\n  \n    ```app/components/weather.hbs\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{else}}\n      No, it's lovely outside!\n    {{/if}}\n    ```\n  \n    You are also able to combine `else` and `if` helpers to create more complex\n    conditional logic.\n  \n    For the following template:\n  \n     ```app/components/weather.hbs\n    {{#if @isRaining}}\n      Yes, grab an umbrella!\n    {{else if @isCold}}\n      Grab a coat, it's chilly!\n    {{else}}\n      No, it's lovely outside!\n    {{/if}}\n    ```\n  \n    If you call it by saying `isCold` is true:\n  \n    ```app/templates/application.hbs\n    <Weather @isCold={{true}} />\n    ```\n  \n    Then `Grab a coat, it's chilly!` will be rendered.\n  \n    ## Inline form\n  \n    The inline `if` helper conditionally renders a single property or string.\n  \n    In this form, the `if` helper receives three arguments, the conditional value,\n    the value to render when truthy, and the value to render when falsey.\n  \n    For example, if `useLongGreeting` is truthy, the following:\n  \n    ```app/templates/application.hbs\n    <Greeting @useLongGreeting={{true}} />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{if @useLongGreeting \"Hello\" \"Hi\"}} Alex\n    ```\n  \n    Will render:\n  \n    ```html\n    Hello Alex\n    ```\n  \n    One detail to keep in mind is that both branches of the `if` helper will be evaluated,\n    so if you have `{{if condition \"foo\" (expensive-operation \"bar\")`,\n    `expensive-operation` will always calculate.\n  \n    @method if\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineIf(args) {\n    var positional = args.positional.capture();\n    return (0, _reference.createComputeRef)(() => {\n      (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `if` helper expects two or three arguments, e.g. `{{if trialExpired \"Expired\" expiryDate}}`.', positional.length === 3 || positional.length === 2));\n      var [condition, truthyValue, falsyValue] = positional;\n\n      if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) {\n        return (0, _reference.valueForRef)(truthyValue);\n      } else {\n        return falsyValue !== undefined ? (0, _reference.valueForRef)(falsyValue) : undefined;\n      }\n    }, null, 'if');\n  }\n  /**\n    The `unless` helper is the inverse of the `if` helper. It displays if a value\n    is falsey (\"not true\" or \"is false\"). Example values that will display with\n    `unless`: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n  \n    ## Inline form\n  \n    The inline `unless` helper conditionally renders a single property or string.\n    This helper acts like a ternary operator. If the first property is falsy,\n    the second argument will be displayed, otherwise, the third argument will be\n    displayed\n  \n    For example, if you pass a falsey `useLongGreeting` to the `Greeting` component:\n  \n    ```app/templates/application.hbs\n    <Greeting @useLongGreeting={{false}} />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{unless @useLongGreeting \"Hi\" \"Hello\"}} Ben\n    ```\n  \n    Then it will display:\n  \n    ```html\n    Hi Ben\n    ```\n  \n    ## Block form\n  \n    Like the `if` helper, the `unless` helper also has a block form.\n  \n    The following will not render anything:\n  \n    ```app/templates/application.hbs\n    <Greeting />\n    ```\n  \n    ```app/components/greeting.hbs\n    {{#unless @greeting}}\n      No greeting was found. Why not set one?\n    {{/unless}}\n    ```\n  \n    You can also use an `else` helper with the `unless` block. The\n    `else` will display if the value is truthy.\n  \n    If you have the following component:\n  \n    ```app/components/logged-in.hbs\n    {{#unless @userData}}\n      Please login.\n    {{else}}\n      Welcome back!\n    {{/unless}}\n    ```\n  \n    Calling it with a truthy `userData`:\n  \n    ```app/templates/application.hbs\n    <LoggedIn @userData={{hash username=\"Zoey\"}} />\n    ```\n  \n    Will render:\n  \n    ```html\n    Welcome back!\n    ```\n  \n    and calling it with a falsey `userData`:\n  \n    ```app/templates/application.hbs\n    <LoggedIn @userData={{false}} />\n    ```\n  \n    Will render:\n  \n    ```html\n    Please login.\n    ```\n  \n    @method unless\n    @for Ember.Templates.helpers\n    @public\n  */\n\n\n  function inlineUnless(args) {\n    var positional = args.positional.capture();\n    return (0, _reference.createComputeRef)(() => {\n      (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `unless` helper expects two or three arguments, e.g. `{{unless isFirstLogin \"Welcome back!\"}}`.', positional.length === 3 || positional.length === 2));\n      var [condition, falsyValue, truthyValue] = positional;\n\n      if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) {\n        return truthyValue !== undefined ? (0, _reference.valueForRef)(truthyValue) : undefined;\n      } else {\n        return (0, _reference.valueForRef)(falsyValue);\n      }\n    }, null, 'unless');\n  }\n  /**\n  @module ember\n  */\n\n  /**\n    `log` allows you to output the value of variables in the current rendering\n    context. `log` also accepts primitive types such as strings or numbers.\n  \n    ```handlebars\n    {{log \"myVariable:\" myVariable }}\n    ```\n  \n    @method log\n    @for Ember.Templates.helpers\n    @param {Array} params\n    @public\n  */\n\n\n  function log(args) {\n    var positional = args.positional.capture();\n    return (0, _reference.createComputeRef)(() => {\n      /* eslint-disable no-console */\n      console.log(...(0, _runtime2.reifyPositional)(positional));\n      /* eslint-enable no-console */\n    });\n  }\n  /**\n  @module ember\n  */\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\n  function mut(args) {\n    var ref = args.positional.at(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\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  @module ember\n  */\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\n  function queryParams(args) {\n    var {\n      positional,\n      named\n    } = args.capture();\n    return (0, _reference.createComputeRef)(() => {\n      (true && !(positional.length === 0) && (0, _debug.assert)(\"The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName='foo') as opposed to just (query-params 'foo')\", positional.length === 0));\n      return new _routing.QueryParams((0, _polyfills.assign)({}, (0, _runtime2.reifyNamed)(named)));\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\n  function readonly(args) {\n    return (0, _reference.createReadOnlyRef)(args.positional.at(0));\n  }\n  /**\n  @module ember\n  */\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\n  function unbound(args) {\n    (true && !(args.positional.length === 1 && args.named.length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', args.positional.length === 1 && args.named.length === 0));\n    return (0, _reference.createUnboundRef)((0, _reference.valueForRef)(args.positional.at(0)), '(resurt of an `unbound` helper)');\n  }\n\n  var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n\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\n    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\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\n    return true;\n  }\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\n    registerAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      _views.ActionManager.registeredActions[actionId] = actionState;\n      return actionId;\n    },\n\n    unregisterAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      delete _views.ActionManager.registeredActions[actionId];\n    }\n\n  };\n\n  class ActionState {\n    constructor(element, actionId, actionArgs, namedArgs, positionalArgs, dom) {\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.dom = dom;\n      this.eventName = this.getEventName();\n      (0, _runtime2.registerDestructor)(this, () => ActionHelper.unregisterAction(this));\n    }\n\n    getEventName() {\n      var {\n        on\n      } = this.namedArgs;\n      return on !== undefined ? (0, _reference.valueForRef)(on) : 'click';\n    }\n\n    getActionArgs() {\n      var result = new Array(this.actionArgs.length);\n\n      for (var i = 0; i < this.actionArgs.length; i++) {\n        result[i] = (0, _reference.valueForRef)(this.actionArgs[i]);\n      }\n\n      return result;\n    }\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\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\n      if (!isAllowedEvent(event, allowedKeysVal)) {\n        return true;\n      }\n\n      if (preventDefaultVal !== false) {\n        event.preventDefault();\n      }\n\n      if (!shouldBubble) {\n        event.stopPropagation();\n      }\n\n      (0, _runloop.join)(() => {\n        var args = this.getActionArgs();\n        var payload = {\n          args,\n          target,\n          name: null\n        };\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\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\n        if (typeof actionName === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n\n        payload.name = actionName;\n\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  } // implements ModifierManager<Action>\n\n\n  class ActionModifierManager {\n    create(element, _state, args, _dynamicScope, dom) {\n      var {\n        named,\n        positional\n      } = args.capture();\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\n      var actionId = (0, _utils.uuid)();\n      var actionState = new ActionState(element, actionId, actionArgs, named, positional, dom);\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://emberjs.com/deprecations/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\n    getDebugName() {\n      return 'action';\n    }\n\n    install(actionState) {\n      var {\n        dom,\n        element,\n        actionId,\n        positional\n      } = actionState;\n      var actionName;\n      var actionNameRef;\n      var implicitTarget;\n\n      if (positional.length > 1) {\n        implicitTarget = positional[0];\n        actionNameRef = positional[1];\n\n        if ((0, _reference.isInvokableRef)(actionNameRef)) {\n          actionName = actionNameRef;\n        } else {\n          actionName = (0, _reference.valueForRef)(actionNameRef);\n\n          if (true\n          /* DEBUG */\n          ) {\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\n      actionState.actionName = actionName;\n      actionState.implicitTarget = implicitTarget;\n      ActionHelper.registerAction(actionState);\n      dom.setAttribute(element, 'data-ember-action', '');\n      dom.setAttribute(element, `data-ember-action-${actionId}`, String(actionId));\n    }\n\n    update(actionState) {\n      var {\n        positional\n      } = actionState;\n      var actionNameRef = positional[1];\n\n      if (!(0, _reference.isInvokableRef)(actionNameRef)) {\n        actionState.actionName = (0, _reference.valueForRef)(actionNameRef);\n      }\n\n      actionState.eventName = actionState.getEventName();\n    }\n\n    getTag(actionState) {\n      return actionState.tag;\n    }\n\n    getDestroyable(actionState) {\n      return actionState;\n    }\n\n  }\n\n  function capabilities$1(managerAPI, optionalFeatures = {}) {\n    (true && !(managerAPI === '3.13' || managerAPI === '3.22') && (0, _debug.assert)('Invalid modifier manager compatibility specified', managerAPI === '3.13' || managerAPI === '3.22'));\n    return (0, _runtime2.buildCapabilities)({\n      disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking),\n      useArgsProxy: managerAPI === '3.13' ? false : true,\n      passFactoryToCreate: managerAPI === '3.13'\n    });\n  }\n\n  class CustomModifierDefinition {\n    constructor(name, ModifierClass, delegate, isInteractive) {\n      this.name = name;\n      this.ModifierClass = ModifierClass;\n      this.delegate = delegate;\n      this.state = {\n        ModifierClass,\n        name,\n        delegate\n      };\n      this.manager = isInteractive ? CUSTOM_INTERACTIVE_MODIFIER_MANAGER : CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER;\n    }\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\n  class InteractiveCustomModifierManager {\n    create(element, definition, vmArgs) {\n      var {\n        delegate,\n        ModifierClass\n      } = definition;\n      var capturedArgs = vmArgs.capture();\n      var {\n        useArgsProxy,\n        passFactoryToCreate\n      } = delegate.capabilities;\n      var args = useArgsProxy ? argsProxyFor(capturedArgs, 'modifier') : (0, _runtime2.reifyArgs)(capturedArgs);\n      var instance;\n\n      if (true\n      /* DEBUG */\n      && _validator.deprecateMutationsInTrackingTransaction !== undefined) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          instance = delegate.createModifier(passFactoryToCreate ? ModifierClass : ModifierClass.class, args);\n        });\n      } else {\n        instance = delegate.createModifier(passFactoryToCreate ? ModifierClass : ModifierClass.class, args);\n      }\n\n      var tag = (0, _validator.createUpdatableTag)();\n      var state;\n\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          delegate,\n          modifier: instance,\n\n          get args() {\n            return (0, _runtime2.reifyArgs)(capturedArgs);\n          }\n\n        };\n      }\n\n      if (true\n      /* DEBUG */\n      ) {\n        state.debugName = definition.name;\n      }\n\n      (0, _runtime2.registerDestructor)(state, () => delegate.destroyModifier(instance, state.args));\n      return state;\n    }\n\n    getDebugName({\n      debugName\n    }) {\n      return debugName;\n    }\n\n    getTag({\n      tag\n    }) {\n      return tag;\n    }\n\n    install(state) {\n      var {\n        element,\n        args,\n        delegate,\n        modifier\n      } = state;\n      var {\n        capabilities\n      } = delegate;\n\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\n    update(state) {\n      var {\n        args,\n        delegate,\n        modifier\n      } = state;\n      var {\n        capabilities\n      } = delegate;\n\n      if (capabilities.disableAutoTracking === true) {\n        (0, _validator.untrack)(() => delegate.updateModifier(modifier, args));\n      } else {\n        delegate.updateModifier(modifier, args);\n      }\n    }\n\n    getDestroyable(state) {\n      return state;\n    }\n\n  }\n\n  class NonInteractiveCustomModifierManager {\n    create() {\n      return null;\n    }\n\n    getDebugName() {\n      return '';\n    }\n\n    getTag() {\n      return null;\n    }\n\n    install() {}\n\n    update() {}\n\n    getDestroyable() {\n      return null;\n    }\n\n  }\n\n  var CUSTOM_INTERACTIVE_MODIFIER_MANAGER = new InteractiveCustomModifierManager();\n  var CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER = new NonInteractiveCustomModifierManager();\n  var untouchableContext = buildUntouchableThis('`on` modifier');\n  /**\n  @module ember\n  */\n\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\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\n      div.dispatchEvent(event);\n      div.dispatchEvent(event);\n      return counter === 1;\n    } catch (error) {\n      return false;\n    }\n  })();\n\n  class OnModifierState {\n    constructor(owner, element, args) {\n      this.tag = (0, _validator.createUpdatableTag)();\n      this.shouldUpdate = true;\n      this.owner = owner;\n      this.element = element;\n      this.args = args;\n    }\n\n    updateFromArgs() {\n      var {\n        args\n      } = this;\n      var {\n        once,\n        passive,\n        capture\n      } = (0, _runtime2.reifyNamed)(args.named);\n\n      if (once !== this.once) {\n        this.once = once;\n        this.shouldUpdate = true;\n      }\n\n      if (passive !== this.passive) {\n        this.passive = passive;\n        this.shouldUpdate = true;\n      }\n\n      if (capture !== this.capture) {\n        this.capture = capture;\n        this.shouldUpdate = true;\n      }\n\n      var options;\n\n      if (once || passive || capture) {\n        options = this.options = {\n          once,\n          passive,\n          capture\n        };\n      } else {\n        this.options = undefined;\n      }\n\n      (true && !(args.positional[0] !== undefined && typeof (0, _reference.valueForRef)(args.positional[0]) === 'string') && (0, _debug.assert)('You must pass a valid DOM event name as the first argument to the `on` modifier', args.positional[0] !== undefined && typeof (0, _reference.valueForRef)(args.positional[0]) === 'string'));\n      var eventName = (0, _reference.valueForRef)(args.positional[0]);\n\n      if (eventName !== this.eventName) {\n        this.eventName = eventName;\n        this.shouldUpdate = true;\n      }\n\n      var userProvidedCallbackReference = args.positional[1];\n\n      if (true\n      /* DEBUG */\n      ) {\n        (true && !(args.positional[1] !== undefined) && (0, _debug.assert)(`You must pass a function as the second argument to the \\`on\\` modifier.`, args.positional[1] !== undefined));\n        var value = (0, _reference.valueForRef)(userProvidedCallbackReference);\n        (true && !(typeof value === 'function') && (0, _debug.assert)(`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}`, typeof value === 'function'));\n      }\n\n      var userProvidedCallback = (0, _reference.valueForRef)(userProvidedCallbackReference);\n\n      if (userProvidedCallback !== this.userProvidedCallback) {\n        this.userProvidedCallback = userProvidedCallback;\n        this.shouldUpdate = true;\n      }\n\n      (true && !(args.positional.length === 2) && (0, _debug.assert)(`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.`, args.positional.length === 2));\n      var needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once ||\n      /* needs manual once implementation */\n      true\n      /* DEBUG */\n      && passive;\n      /* needs passive enforcement */\n\n      if (this.shouldUpdate) {\n        if (needsCustomCallback) {\n          var callback = this.callback = function (event) {\n            if (true\n            /* DEBUG */\n            && passive) {\n              event.preventDefault = () => {\n                (true && !(false) && (0, _debug.assert)(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback}`));\n              };\n            }\n\n            if (!SUPPORTS_EVENT_OPTIONS && once) {\n              removeEventListener(this, eventName, callback, options);\n            }\n\n            return userProvidedCallback.call(untouchableContext, event);\n          };\n        } else if (true\n        /* DEBUG */\n        ) {\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  }\n\n  var adds = 0;\n  var removes = 0;\n\n  function removeEventListener(element, eventName, callback, options) {\n    removes++;\n\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\n  function addEventListener(element, eventName, callback, options) {\n    adds++;\n\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      @action\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 `@action` to ensure that `likePost` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out `@action`:\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 `@action` or other means) before passing into `on`!\n  \n    @method on\n    @for Ember.Templates.helpers\n    @public\n    @since 3.11.0\n  */\n\n\n  class OnModifierManager {\n    constructor(owner, isInteractive) {\n      this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n      this.isInteractive = isInteractive;\n      this.owner = owner;\n    }\n\n    getDebugName() {\n      return 'on';\n    }\n\n    get counters() {\n      return {\n        adds,\n        removes\n      };\n    }\n\n    create(element, _state, args) {\n      if (!this.isInteractive) {\n        return null;\n      }\n\n      var capturedArgs = args.capture();\n      return new OnModifierState(this.owner, element, capturedArgs);\n    }\n\n    getTag(state) {\n      if (state === null) {\n        return null;\n      }\n\n      return state.tag;\n    }\n\n    install(state) {\n      if (state === null) {\n        return;\n      }\n\n      state.updateFromArgs();\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      addEventListener(element, eventName, callback, options);\n      (0, _runtime2.registerDestructor)(state, () => removeEventListener(element, eventName, callback, options));\n      state.shouldUpdate = false;\n    }\n\n    update(state) {\n      if (state === null) {\n        return;\n      } // stash prior state for el.removeEventListener\n\n\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      state.updateFromArgs();\n\n      if (!state.shouldUpdate) {\n        return;\n      } // use prior state values for removal\n\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\n    getDestroyable(state) {\n      return state;\n    }\n\n  }\n\n  var CAPABILITIES$4 = {\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  };\n\n  class MountManager extends _runtime2.BaseInternalComponentManager {\n    getDynamicLayout(state) {\n      var templateFactory$$1 = state.engine.lookup('template:application');\n      return templateFactory$$1(state.engine);\n    }\n\n    getCapabilities() {\n      return CAPABILITIES$4;\n    }\n\n    create(env, {\n      name\n    }, args) {\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 = env.owner.buildChildEngineInstance(name);\n      engine.boot();\n      var applicationFactory = engine.factoryFor(`controller:application`);\n      var controllerFactory = applicationFactory || (0, _routing.generateControllerFactory)(engine, 'application');\n      var controller;\n      var self;\n      var bucket;\n      var modelRef;\n\n      if (args.named.has('model')) {\n        modelRef = args.named.get('model');\n      }\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\n      if (env.debugRenderTree) {\n        (0, _runtime2.associateDestroyableChild)(engine, controller);\n      }\n\n      return bucket;\n    }\n\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n\n    getDebugCustomRenderTree(definition, state, args, template) {\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\n      }];\n    }\n\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n\n    getDestroyable(bucket) {\n      return bucket.engine;\n    }\n\n    didRenderLayout() {}\n\n    update(bucket) {\n      var {\n        controller,\n        modelRef\n      } = bucket;\n\n      if (modelRef !== undefined) {\n        controller.set('model', (0, _reference.valueForRef)(modelRef));\n      }\n    }\n\n    didUpdateLayout() {}\n\n  }\n\n  var MOUNT_MANAGER = new MountManager();\n\n  class MountDefinition {\n    constructor(name) {\n      this.manager = MOUNT_MANAGER;\n      this.state = {\n        name\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\n  function mountHelper(args, vm) {\n    var env = vm.env;\n    var nameRef = args.positional.at(0);\n    var captured = null;\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\n    if (true\n    /* DEBUG */\n    && args.named) {\n      var keys = args.named.names;\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    } // TODO: the functionality to create a proper CapturedArgument should be\n    // exported by glimmer, or that it should provide an overload for `curry`\n    // that takes `PreparedArguments`\n\n\n    if (args.named.has('model')) {\n      (true && !(args.named.length === 1) && (0, _debug.assert)('[BUG] this should already be checked by the macro', args.named.length === 1));\n      var named = args.named.capture();\n      captured = (0, _runtime2.createCapturedArgs)(named, _runtime2.EMPTY_POSITIONAL);\n    }\n\n    var lastName, lastDef;\n    return (0, _reference.createComputeRef)(() => {\n      var name = (0, _reference.valueForRef)(nameRef);\n\n      if (typeof name === 'string') {\n        if (lastName === name) {\n          return lastDef;\n        }\n\n        (true && !(env.owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, env.owner.hasRegistration(`engine:${name}`)));\n\n        if (!env.owner.hasRegistration(`engine:${name}`)) {\n          return null;\n        }\n\n        lastName = name;\n        lastDef = (0, _runtime2.curry)(new MountDefinition(name), captured);\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    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\n  function outletHelper(args, vm) {\n    var scope = vm.dynamicScope();\n    var nameRef;\n\n    if (args.positional.length === 0) {\n      nameRef = (0, _reference.createPrimitiveRef)('main');\n    } else {\n      nameRef = args.positional.at(0);\n    }\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 state = stateFor(outletRef);\n\n      if (!validate(state, lastState)) {\n        lastState = state;\n\n        if (state !== null) {\n          var named = (0, _util.dict)();\n          named.model = (0, _reference.childRefFromParts)(outletRef, ['render', 'model']);\n\n          if (true\n          /* DEBUG */\n          ) {\n            named.model = (0, _reference.createDebugAliasRef)('@model', named.model);\n          }\n\n          var _args2 = (0, _runtime2.createCapturedArgs)(named, _runtime2.EMPTY_POSITIONAL);\n\n          definition = (0, _runtime2.curry)(new OutletComponentDefinition(state), _args2);\n        } else {\n          definition = null;\n        }\n      }\n\n      return definition;\n    });\n  }\n\n  function stateFor(ref) {\n    var outlet = (0, _reference.valueForRef)(ref);\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\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\n  function validate(state, lastState) {\n    if (state === null) {\n      return lastState === null;\n    }\n\n    if (lastState === null) {\n      return false;\n    }\n\n    return state.template === lastState.template && state.controller === lastState.controller;\n  }\n\n  function instrumentationPayload$1(name) {\n    return {\n      object: `component:${name}`\n    };\n  }\n\n  function componentFor(name, owner, options) {\n    var fullName = `component:${name}`;\n    return owner.factoryFor(fullName, options) || null;\n  }\n\n  function layoutFor(name, owner, options) {\n    var templateFullName = `template:components/${name}`;\n    return owner.lookup(templateFullName, options) || null;\n  }\n\n  function lookupComponentPair(owner, name, options) {\n    var component = componentFor(name, owner, options);\n\n    if (component !== null && component.class !== undefined) {\n      var _layout = (0, _runtime2.getComponentTemplate)(component.class);\n\n      if (_layout !== undefined) {\n        return {\n          component,\n          layout: _layout\n        };\n      }\n    }\n\n    var layout = layoutFor(name, owner, options);\n\n    if (component === null && layout === null) {\n      return null;\n    } else {\n      return {\n        component,\n        layout\n      };\n    }\n  }\n\n  var lookupPartial;\n  var templateFor;\n  var parseUnderscoredName;\n\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\n      if (templateName === null) {\n        return;\n      }\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\n    templateFor = function (owner, underscored, name) {\n      if (_deprecatedFeatures.PARTIALS) {\n        if (!name) {\n          return;\n        }\n\n        (true && !(name.indexOf('.') === -1) && (0, _debug.assert)(`templateNames are not allowed to contain periods: ${name}`, name.indexOf('.') === -1));\n\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\n        return owner.lookup(`template:${underscored}`) || owner.lookup(`template:${name}`);\n      }\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\n  var BUILTINS_HELPERS = {\n    if: inlineIf,\n    action,\n    array,\n    concat,\n    fn,\n    get: get$1,\n    hash,\n    log,\n    mut,\n    'query-params': queryParams,\n    readonly,\n    unbound,\n    unless: inlineUnless,\n    '-hash': hash,\n    '-each-in': eachIn,\n    '-normalize-class': normalizeClassHelper,\n    '-track-array': trackArray,\n    '-get-dynamic-var': _runtime2.getDynamicVar,\n    '-mount': mountHelper,\n    '-outlet': outletHelper,\n    '-assert-implicit-component-helper-argument': componentAssertionHelper,\n    '-in-el-null': inElementNullCheckHelper\n  };\n\n  class RuntimeResolverImpl {\n    constructor(owner, isInteractive) {\n      this.handles = [undefined];\n      this.objToHandle = new WeakMap();\n      this.builtInHelpers = BUILTINS_HELPERS;\n      this.componentDefinitionCache = new Map();\n      this.componentDefinitionCount = 0;\n      this.helperDefinitionCount = 0;\n      this.isInteractive = isInteractive;\n      this.builtInModifiers = {\n        action: {\n          manager: new ActionModifierManager(),\n          state: null\n        },\n        on: {\n          manager: new OnModifierManager(owner, isInteractive),\n          state: null\n        }\n      };\n    }\n    /***  IRuntimeResolver ***/\n\n    /**\n     * public componentDefHandleCount = 0;\n     * Called while executing Append Op.PushDynamicComponentManager if string\n     */\n\n\n    lookupComponent(name, owner) {\n      var handle = this.lookupComponentHandle(name, owner);\n\n      if (handle === null) {\n        (true && !(false) && (0, _debug.assert)(`Could not find component named \"${name}\" (no component or template with that name was found)`));\n        return null;\n      }\n\n      return this.resolve(handle);\n    }\n\n    lookupComponentHandle(name, owner) {\n      var nextHandle = this.handles.length;\n      var handle = this.handle(this._lookupComponentDefinition(name, owner));\n      (true && !(!(name === 'text-area' && handle === null)) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(name === 'text-area' && handle === null)));\n\n      if (nextHandle === handle) {\n        this.componentDefinitionCount++;\n      }\n\n      return handle;\n    }\n    /**\n     * Called by RuntimeConstants to lookup unresolved handles.\n     */\n\n\n    resolve(handle) {\n      return this.handles[handle];\n    } // End IRuntimeResolver\n\n    /**\n     * Called by CompileTimeLookup compiling Unknown or Helper OpCode\n     */\n\n\n    lookupHelper(name, owner) {\n      var nextHandle = this.handles.length;\n\n      var helper$$1 = this._lookupHelper(name, owner);\n\n      if (helper$$1 !== null) {\n        var handle = this.handle(helper$$1);\n\n        if (nextHandle === handle) {\n          this.helperDefinitionCount++;\n        }\n\n        return handle;\n      }\n\n      return null;\n    }\n    /**\n     * Called by CompileTimeLookup compiling the\n     */\n\n\n    lookupModifier(name, owner) {\n      return this.handle(this._lookupModifier(name, owner));\n    }\n    /**\n     * Called by CompileTimeLookup to lookup partial\n     */\n\n\n    lookupPartial(name, owner) {\n      if (_deprecatedFeatures.PARTIALS) {\n        var partial = this._lookupPartial(name, owner);\n\n        return this.handle(partial);\n      } else {\n        return null;\n      }\n    } // TODO: This isn't necessary in all embedding environments, we should likely\n    // make it optional within Glimmer-VM\n\n\n    compilable() {} // end CompileTimeLookup\n    // needed for lazy compile time lookup\n\n\n    handle(obj) {\n      if (obj === undefined || obj === null) {\n        return null;\n      }\n\n      var handle = this.objToHandle.get(obj);\n\n      if (handle === undefined) {\n        handle = this.handles.push(obj) - 1;\n        this.objToHandle.set(obj, handle);\n      }\n\n      return handle;\n    }\n\n    _lookupHelper(_name, owner) {\n      (true && !(!(this.builtInHelpers[_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.`, !(this.builtInHelpers[_name] && owner.hasRegistration(`helper:${_name}`))));\n      var helper$$1 = this.builtInHelpers[_name];\n\n      if (helper$$1 !== undefined) {\n        return helper$$1;\n      }\n\n      var name = _name;\n      var factory = owner.factoryFor(`helper:${name}`) || owner.factoryFor(`helper:${name}`);\n\n      if (factory === undefined || factory.class === undefined) {\n        return null;\n      }\n\n      var manager = (0, _runtime2.getHelperManager)(owner, factory.class);\n\n      if (manager === undefined) {\n        return null;\n      }\n\n      (true && !(true\n      /* EMBER_GLIMMER_HELPER_MANAGER */\n      || isClassicHelperManager(manager) || manager === SIMPLE_CLASSIC_HELPER_MANAGER) && (0, _debug.assert)('helper managers have not been enabled yet, you must use classic helpers', true || isClassicHelperManager(manager) || manager === SIMPLE_CLASSIC_HELPER_MANAGER));\n      (true && !(!(0, _runtime2.isInternalHelper)(manager)) && (0, _debug.assert)(`internal helpers are not supported via \\`getHelperManager\\` yet, found an internal manager for ${name}`, !(0, _runtime2.isInternalHelper)(manager))); // 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\n      return customHelper(manager, isClassicHelperManager(manager) ? factory : factory.class);\n    }\n\n    _lookupPartial(name, owner) {\n      var templateFactory$$1 = lookupPartial(name, owner);\n      var template = templateFactory$$1(owner);\n      return new _opcodeCompiler.PartialDefinitionImpl(name, template);\n    }\n\n    _lookupModifier(name, owner) {\n      var builtin = this.builtInModifiers[name];\n\n      if (builtin === undefined) {\n        var modifier = owner.factoryFor(`modifier:${name}`);\n\n        if (modifier !== undefined) {\n          var manager = (0, _runtime2.getModifierManager)(owner, modifier.class);\n          (true && !(manager) && (0, _debug.assert)(`Expected a modifier manager to exist, but did not find one for ${name}`, manager));\n          (true && !(!(0, _runtime2.isInternalModifierManager)(manager)) && (0, _debug.assert)(`Internal modifier managers are not supported via \\`getModifierManager\\` yet, found an internal manager for ${name}`, !(0, _runtime2.isInternalModifierManager)(manager)));\n          return new CustomModifierDefinition(name, modifier, manager, this.isInteractive);\n        }\n      }\n\n      return builtin;\n    }\n\n    _lookupComponentDefinition(_name, owner) {\n      var name = _name;\n      var pair = lookupComponentPair(owner, name);\n\n      if (pair === null) {\n        return null;\n      }\n\n      var layout;\n      var key;\n\n      if (pair.component === null) {\n        key = layout = pair.layout(owner);\n      } else {\n        key = pair.component;\n      }\n\n      var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n\n      if (cachedComponentDefinition !== undefined) {\n        return cachedComponentDefinition;\n      }\n\n      if (layout === undefined && pair.layout !== null) {\n        layout = pair.layout(owner);\n      }\n\n      var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n      var definition = null;\n\n      if (pair.component === null) {\n        if (_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n          definition = new TemplateOnlyComponentDefinition(name, layout);\n        }\n      } else if ((0, _templateOnly.isTemplateOnlyComponent)(pair.component.class)) {\n        definition = new TemplateOnlyComponentDefinition(name, layout);\n      }\n\n      if (pair.component !== null) {\n        (true && !(pair.component.class !== undefined) && (0, _debug.assert)(`missing component class ${name}`, pair.component.class !== undefined));\n        var ComponentClass = pair.component.class;\n        var manager = (0, _runtime2.getComponentManager)(owner, ComponentClass);\n\n        if (manager !== undefined) {\n          if ((0, _runtime2.isInternalComponentManager)(manager)) {\n            (true && !(pair.layout !== null) && (0, _debug.assert)(`missing layout for internal component ${name}`, pair.layout !== null));\n            definition = new InternalComponentDefinition(manager, ComponentClass, layout);\n          } else {\n            definition = new CustomManagerDefinition(name, pair.component, manager, layout !== undefined ? layout : owner.lookup((0, _container.privatize)`template:components/-default`)(owner));\n          }\n        }\n      }\n\n      if (definition === null) {\n        definition = new CurlyComponentDefinition(name, pair.component || owner.factoryFor((0, _container.privatize)`component:-default`), layout);\n      }\n\n      finalizer();\n      this.componentDefinitionCache.set(key, definition);\n      return definition;\n    }\n\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\n  var experimentalMacros = []; // This is a private API to allow for experimental macros\n  // to be created in user space. Registering a macro should\n  // should be done in an initializer.\n\n  _exports._experimentalMacros = experimentalMacros;\n\n  function registerMacros(macro) {\n    experimentalMacros.push(macro);\n  }\n\n  function refineInlineSyntax(name, params, hash, context) {\n    var component = context.resolver.lookupComponent(name, context.meta.owner);\n\n    if (component !== null) {\n      return (0, _opcodeCompiler.staticComponent)(component, [params === null ? [] : params, hashToArgs(hash), _opcodeCompiler.EMPTY_BLOCKS]);\n    }\n\n    return _opcodeCompiler.UNHANDLED;\n  }\n\n  function refineBlockSyntax(name, params, hash, blocks, context) {\n    var handle = context.resolver.lookupComponent(name, context.meta.owner);\n\n    if (handle !== null) {\n      return (0, _opcodeCompiler.staticComponent)(handle, [params, hashToArgs(hash), blocks]);\n    }\n\n    (true && !(context.meta.owner.hasRegistration(`helper:${name}`)) && (0, _debug.assert)(`A component or helper named \"${name}\" could not be found`, context.meta.owner.hasRegistration(`helper:${name}`)));\n    (true && !(!(() => {\n      var resolver = context.resolver['resolver'];\n      var owner = context.meta.owner;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      return owner.hasRegistration(`helper:${name}`);\n    })()) && (0, _debug.assert)(`Helpers may not be used in the block form, for example {{#${name}}}{{/${name}}}. Please use a component, or alternatively use the helper in combination with a built-in Ember helper, for example {{#if (${name})}}{{/if}}.`, !(() => {\n      var resolver = context.resolver['resolver'];\n      var owner = context.meta.owner;\n\n      if (name === 'component' || resolver['builtInHelpers'][name]) {\n        return true;\n      }\n\n      return owner.hasRegistration(`helper:${name}`);\n    })()));\n    return _opcodeCompiler.NONE;\n  }\n\n  function populateMacros(macros) {\n    var {\n      inlines,\n      blocks\n    } = macros;\n    inlines.addMissing(refineInlineSyntax);\n    blocks.addMissing(refineBlockSyntax);\n\n    for (var i = 0; i < experimentalMacros.length; i++) {\n      var macro = experimentalMacros[i];\n      macro(blocks, inlines);\n    }\n\n    return {\n      blocks,\n      inlines\n    };\n  }\n\n  class DynamicScope {\n    constructor(view, outletState) {\n      this.view = view;\n      this.outletState = outletState;\n    }\n\n    child() {\n      return new DynamicScope(this.view, this.outletState);\n    }\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\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\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\n  function errorLoopTransaction(fn) {\n    if (true\n    /* DEBUG */\n    ) {\n      return () => {\n        var didError = true;\n\n        try {\n          fn();\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 = () => {\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;\n    }\n  }\n\n  class RootState {\n    constructor(root, runtime, context, 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 handle = layout.compile(context);\n        var iterator = (0, _runtime2.renderMain)(runtime, context, self, builder(runtime.env, {\n          element: parentElement,\n          nextSibling: null\n        }), (0, _util.unwrapHandle)(handle), 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\n    isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    }\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\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, _runtime2.inTransaction)(env, () => (0, _runtime2.destroy)(result));\n      }\n    }\n\n  }\n\n  var renderers = [];\n\n  function _resetRenderers() {\n    renderers.length = 0;\n  }\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\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\n  function loopBegin() {\n    for (var i = 0; i < renderers.length; i++) {\n      renderers[i]._scheduleRevalidate();\n    }\n  }\n\n  function K() {\n    /* noop */\n  }\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\n    return renderSettledDeferred.promise;\n  }\n\n  function resolveRenderPromise() {\n    if (renderSettledDeferred !== null) {\n      var resolve = renderSettledDeferred.resolve;\n      renderSettledDeferred = null;\n\n      _runloop.backburner.join(null, resolve);\n    }\n  }\n\n  var loops = 0;\n\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\n        loops++;\n        return _runloop.backburner.join(null, K);\n      }\n    }\n\n    loops = 0;\n    resolveRenderPromise();\n  }\n\n  _runloop.backburner.on('begin', loopBegin);\n\n  _runloop.backburner.on('end', loopEnd);\n\n  class Renderer {\n    constructor(owner, document, env, rootTemplate, viewRegistry, destinedForDOM = false, builder = _runtime2.clientBuilder) {\n      this._inRenderTransaction = false;\n      this._lastRevision = -1;\n      this._destroyed = false;\n      this._rootTemplate = rootTemplate(owner);\n      this._viewRegistry = viewRegistry;\n      this._destinedForDOM = destinedForDOM;\n      this._roots = [];\n      this._removedRoots = [];\n      this._builder = builder; // resolver is exposed for tests\n\n      var runtimeResolver = this._runtimeResolver = new RuntimeResolverImpl(owner, env.isInteractive);\n      var compileTimeResolver = new CompileTimeResolverImpl(runtimeResolver);\n      var sharedArtifacts = (0, _program.artifacts)();\n      var context = this._context = (0, _opcodeCompiler.syntaxCompilationContext)(sharedArtifacts, compileTimeResolver);\n      populateMacros(context.macros);\n      var runtimeEnvironmentDelegate = new EmberEnvironmentDelegate(owner, env.isInteractive);\n      this._runtime = (0, _runtime2.runtimeContext)({\n        appendOperations: env.hasDOM ? new _runtime2.DOMTreeConstruction(document) : new _node.NodeDOMTreeConstruction(document),\n        updateOperations: new _runtime2.DOMChanges(document)\n      }, runtimeEnvironmentDelegate, sharedArtifacts, runtimeResolver);\n    }\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\n    appendOutletView(view, target) {\n      var definition = createRootOutlet(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    }\n\n    appendTo(view, target) {\n      var definition = new RootComponentDefinition(view);\n\n      this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n    }\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._rootTemplate, self, target, dynamicScope, this._builder);\n\n      this._renderRoot(rootState);\n    }\n\n    rerender() {\n      this._scheduleRevalidate();\n    }\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\n    unregister(view) {\n      delete this._viewRegistry[(0, _views.getViewId)(view)];\n    }\n\n    remove(view) {\n      view._transitionTo('destroying');\n\n      this.cleanupRootFor(view);\n\n      if (this._destinedForDOM) {\n        view.trigger('didDestroyElement');\n      }\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\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\n      while (i--) {\n        var root = roots[i];\n\n        if (root.isFor(view)) {\n          root.destroy();\n          roots.splice(i, 1);\n        }\n      }\n    }\n\n    destroy() {\n      if (this._destroyed) {\n        return;\n      }\n\n      this._destroyed = true;\n\n      this._clearAllRoots();\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\n    createElement(tagName) {\n      return this._runtime.env.getAppendOperations().createElement(tagName);\n    }\n\n    _renderRoot(root) {\n      var {\n        _roots: roots\n      } = this;\n      roots.push(root);\n\n      if (roots.length === 1) {\n        register(this);\n      }\n\n      this._renderRootsTransaction();\n    }\n\n    _renderRoots() {\n      var {\n        _roots: roots,\n        _runtime: runtime,\n        _removedRoots: removedRoots\n      } = this;\n      var initialRootsLength;\n\n      do {\n        initialRootsLength = roots.length;\n        (0, _runtime2.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\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\n            if (i >= initialRootsLength) {\n              continue;\n            }\n\n            root.render();\n          }\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\n      while (removedRoots.length) {\n        var root = removedRoots.pop();\n        var rootIndex = roots.indexOf(root);\n        roots.splice(rootIndex, 1);\n      }\n\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\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\n      this._inRenderTransaction = true;\n      var completedWithoutError = false;\n\n      try {\n        this._renderRoots();\n\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n        }\n\n        this._inRenderTransaction = false;\n      }\n    }\n\n    _clearAllRoots() {\n      var roots = this._roots;\n\n      for (var i = 0; i < roots.length; i++) {\n        var root = roots[i];\n        root.destroy();\n      }\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\n    _scheduleRevalidate() {\n      _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n    }\n\n    _isValid() {\n      return this._destroyed || this._roots.length === 0 || (0, _validator.validateTag)(_validator.CURRENT_TAG, this._lastRevision);\n    }\n\n    _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n\n      this._renderRootsTransaction();\n    }\n\n  }\n\n  _exports.Renderer = Renderer;\n\n  class InertRenderer extends Renderer {\n    static create(props) {\n      var {\n        document,\n        env,\n        rootTemplate,\n        _viewRegistry,\n        builder\n      } = props;\n      return new this((0, _owner.getOwner)(props), document, env, rootTemplate, _viewRegistry, false, builder);\n    }\n\n    getElement(_view) {\n      throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n    }\n\n  }\n\n  _exports.InertRenderer = InertRenderer;\n\n  class InteractiveRenderer extends Renderer {\n    static create(props) {\n      var {\n        document,\n        env,\n        rootTemplate,\n        _viewRegistry,\n        builder\n      } = props;\n      return new this((0, _owner.getOwner)(props), document, env, rootTemplate, _viewRegistry, true, builder);\n    }\n\n    getElement(view) {\n      return (0, _views.getViewElement)(view);\n    }\n\n  }\n\n  _exports.InteractiveRenderer = InteractiveRenderer;\n  var TEMPLATES = {};\n\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n\n  function getTemplates() {\n    return TEMPLATES;\n  }\n\n  function getTemplate(name) {\n    if (Object.prototype.hasOwnProperty.call(TEMPLATES, name)) {\n      return TEMPLATES[name];\n    }\n  }\n\n  function hasTemplate(name) {\n    return Object.prototype.hasOwnProperty.call(TEMPLATES, name);\n  }\n\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n\n  class InternalComponent {\n    constructor(owner, args, caller) {\n      this.owner = owner;\n      this.args = args;\n      this.caller = caller;\n      (0, _owner.setOwner)(this, owner);\n    } // Factory interface\n\n\n    static create() {\n      throw (0, _debug.assert)('Use constructor instead of create');\n    }\n\n    static get class() {\n      return this;\n    }\n\n    static get fullName() {\n      return this.name;\n    }\n\n    static get normalizedName() {\n      return this.name;\n    }\n\n    arg(key) {\n      var ref = this.args[key];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n\n    toString() {\n      return `<${this.constructor.toString()}:${(0, _utils.guidFor)(this)}>`;\n    }\n\n  }\n  /**\n  @module @ember/component\n  */\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    ### `<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\n  class Input extends InternalComponent {\n    get isCheckbox() {\n      return this.arg('type') === 'checkbox';\n    }\n\n  }\n\n  (0, _runtime2.setComponentManager)(InternalManager.for('input'), Input);\n\n  Input.toString = () => '@ember/component/input';\n  /**\n  @module ember\n  */\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\n  var loc$1 = helper(function (params) {\n    return _string.loc.apply(null, params\n    /* let the other side handle errors */\n    );\n  });\n  var ComponentTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"q4vmP/CB\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/component.hbs\"\n  });\n  var InputTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"6ZtVRptz\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Checkbox\\\",\\\"TextField\\\",\\\"&attrs\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[\\\"-checkbox\\\"],null],[30,[36,1],[\\\"-text-field\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"isCheckbox\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[8,[32,1],[[17,3]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[32,0,[\\\"caller\\\"]],[32,0,[\\\"args\\\"]]]],null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[8,[32,2],[[17,3]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[32,0,[\\\"caller\\\"]],[32,0,[\\\"args\\\"]]]],null]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\"\n  });\n  var OutletTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"xnYqOkvA\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\"\n  });\n  var TOP_LEVEL_NAME = '-top-level';\n  var TOP_LEVEL_OUTLET = 'main';\n\n  class OutletView {\n    constructor(_environment, renderer, owner, template) {\n      this._environment = _environment;\n      this.renderer = renderer;\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\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    }\n\n    static reopenClass(injections) {\n      (0, _polyfills.assign)(this, injections);\n    }\n\n    static create(options) {\n      var {\n        _environment,\n        renderer,\n        template: templateFactory$$1\n      } = options;\n      var owner = (0, _owner.getOwner)(options);\n      var template = templateFactory$$1(owner);\n      return new OutletView(_environment, renderer, owner, template);\n    }\n\n    appendTo(selector) {\n      var target;\n\n      if (this._environment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n\n      (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n    }\n\n    rerender() {\n      /**/\n    }\n\n    setOutletState(state) {\n      (0, _reference.updateRef)(this.ref, state);\n    }\n\n    destroy() {\n      /**/\n    }\n\n  }\n\n  _exports.OutletView = OutletView;\n\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\n        switch (_renderMode) {\n          case 'serialize':\n            return _node.serializeBuilder.bind(null);\n\n          case 'rehydrate':\n            return _runtime2.rehydrationBuilder.bind(null);\n\n          default:\n            return _runtime2.clientBuilder.bind(null);\n        }\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', InteractiveRenderer);\n    registry.register('renderer:-inert', InertRenderer);\n    registry.injection('renderer', 'document', 'service:-document');\n  }\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.register((0, _container.privatize)`template:components/-default`, ComponentTemplate);\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:link-to', LinkComponent);\n    registry.register('component:input', Input);\n    registry.register('template:components/input', InputTemplate);\n    registry.register('component:textarea', TextArea);\n\n    if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n      registry.register((0, _container.privatize)`component:-default`, Component);\n    }\n  }\n\n  function setComponentManager$1(stringOrFunction, obj) {\n    var factory;\n\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://emberjs.com/deprecations/v3.x/#toc_component-manager-string-lookup',\n        for: 'ember-source',\n        since: {\n          enabled: '3.8.0'\n        }\n      }));\n\n      factory = function (owner) {\n        return owner.lookup(`component-manager:${stringOrFunction}`);\n      };\n    } else {\n      factory = stringOrFunction;\n    }\n\n    return (0, _runtime2.setComponentManager)(factory, obj);\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\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, \"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, \"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  Object.defineProperty(_exports, \"UNDEFINED\", {\n    enumerable: true,\n    get: function () {\n      return _meta.UNDEFINED;\n    }\n  });\n});","define(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/runtime\"], function (_exports, _utils, _debug, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setMeta = setMeta;\n  _exports.peekMeta = peekMeta;\n  _exports.counters = _exports.meta = _exports.Meta = _exports.UNDEFINED = void 0;\n  var objectPrototype = Object.prototype;\n  var counters;\n  _exports.counters = counters;\n\n  if (true\n  /* DEBUG */\n  ) {\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\n  var UNDEFINED = (0, _utils.symbol)('undefined');\n  _exports.UNDEFINED = UNDEFINED;\n  var currentListenerVersion = 1;\n\n  class Meta {\n    // DEBUG\n    constructor(obj) {\n      this._listenersVersion = 1;\n      this._inheritedEnd = -1;\n      this._flattenedVersion = 0;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.metaInstantiated++;\n      }\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\n    get parent() {\n      var parent = this._parent;\n\n      if (parent === undefined) {\n        var proto = getPrototypeOf(this.source);\n        this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n      }\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\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\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\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, _runtime.isDestroying)(this.source);\n    }\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, _runtime.isDestroyed)(this.source);\n    }\n\n    setInitializing() {\n      this._isInit = true;\n    }\n\n    unsetInitializing() {\n      this._isInit = false;\n    }\n\n    isInitializing() {\n      return this._isInit;\n    }\n\n    isPrototypeMeta(obj) {\n      return this.proto === this.source && this.source === obj;\n    }\n\n    _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    }\n\n    _getOrCreateOwnSet(key) {\n      return this[key] || (this[key] = new Set());\n    }\n\n    _findInheritedMap(key, subkey) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var map = pointer[key];\n\n        if (map !== undefined) {\n          var value = map.get(subkey);\n\n          if (value !== undefined) {\n            return value;\n          }\n        }\n\n        pointer = pointer.parent;\n      }\n    }\n\n    _hasInInheritedSet(key, value) {\n      var pointer = this;\n\n      while (pointer !== null) {\n        var set = pointer[key];\n\n        if (set !== undefined && set.has(value)) {\n          return true;\n        }\n\n        pointer = pointer.parent;\n      }\n\n      return false;\n    }\n\n    valueFor(key) {\n      var values = this._values;\n      return values !== undefined ? values[key] : undefined;\n    }\n\n    setValueFor(key, value) {\n      var values = this._getOrCreateOwnMap('_values');\n\n      values[key] = value;\n    }\n\n    revisionFor(key) {\n      var revisions = this._revisions;\n      return revisions !== undefined ? revisions[key] : undefined;\n    }\n\n    setRevisionFor(key, revision) {\n      var revisions = this._getOrCreateOwnMap('_revisions');\n\n      revisions[key] = revision;\n    }\n\n    writableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.writableLazyChainsCalls++;\n      }\n\n      var lazyChains = this._getOrCreateOwnMap('_lazyChains');\n\n      var chains = lazyChains[key];\n\n      if (chains === undefined) {\n        chains = lazyChains[key] = [];\n      }\n\n      return chains;\n    }\n\n    readableLazyChainsFor(key) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.readableLazyChainsCalls++;\n      }\n\n      var lazyChains = this._lazyChains;\n\n      if (lazyChains !== undefined) {\n        return lazyChains[key];\n      }\n\n      return undefined;\n    }\n\n    addMixin(mixin) {\n      (true && !(!(0, _runtime.isDestroyed)(this.source)) && (0, _debug.assert)((0, _runtime.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, _runtime.isDestroyed)(this.source)));\n\n      var set = this._getOrCreateOwnSet('_mixins');\n\n      set.add(mixin);\n    }\n\n    hasMixin(mixin) {\n      return this._hasInInheritedSet('_mixins', mixin);\n    }\n\n    forEachMixins(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var set = pointer._mixins;\n\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\n        pointer = pointer.parent;\n      }\n    }\n\n    writeDescriptors(subkey, value) {\n      (true && !(!(0, _runtime.isDestroyed)(this.source)) && (0, _debug.assert)((0, _runtime.isDestroyed)(this.source) ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !(0, _runtime.isDestroyed)(this.source)));\n      var map = this._descriptors || (this._descriptors = new Map());\n      map.set(subkey, value);\n    }\n\n    peekDescriptors(subkey) {\n      var possibleDesc = this._findInheritedMap('_descriptors', subkey);\n\n      return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n    }\n\n    removeDescriptors(subkey) {\n      this.writeDescriptors(subkey, UNDEFINED);\n    }\n\n    forEachDescriptors(fn) {\n      var pointer = this;\n      var seen;\n\n      while (pointer !== null) {\n        var map = pointer._descriptors;\n\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\n              if (value !== UNDEFINED) {\n                fn(key, value);\n              }\n            }\n          });\n        }\n\n        pointer = pointer.parent;\n      }\n    }\n\n    addToListeners(eventName, target, method, once, sync) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.addToListenersCalls++;\n      }\n\n      this.pushListener(eventName, target, method, once ? 1\n      /* ONCE */\n      : 0\n      /* ADD */\n      , sync);\n    }\n\n    removeFromListeners(eventName, target, method) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.removeFromListenersCalls++;\n      }\n\n      this.pushListener(eventName, target, method, 2\n      /* REMOVE */\n      );\n    }\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\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 */\n        )) && (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 */\n        && listener.kind !== 2\n        /* REMOVE */\n        ) {\n            listeners.splice(i, 1);\n          } else {\n          (true && !(!(listener.kind === 0\n          /* ADD */\n          && kind === 0\n          /* ADD */\n          && 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\n          listener.kind = kind;\n          listener.sync = sync;\n        }\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\n        /* DEBUG */\n        ) {\n          counters.reopensAfterFlatten++;\n        }\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\n      if (this._inheritedEnd === -1) {\n        this._inheritedEnd = 0;\n        this._listeners = [];\n      }\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\n    flattenedListeners() {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.flattenedListenersCalls++;\n      }\n\n      if (this._flattenedVersion < currentListenerVersion) {\n        if (true\n        /* DEBUG */\n        ) {\n          counters.listenersFlattened++;\n        }\n\n        var parent = this.parent;\n\n        if (parent !== null) {\n          // compute\n          var parentListeners = parent.flattenedListeners();\n\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\n              /* DEBUG */\n              ) {\n                counters.parentListenersUsed++;\n              }\n\n              this._listeners = parentListeners;\n            } else {\n              var listeners = this._listeners;\n\n              if (this._inheritedEnd > 0) {\n                listeners.splice(0, this._inheritedEnd);\n                this._inheritedEnd = 0;\n              }\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\n                if (index === -1) {\n                  if (true\n                  /* DEBUG */\n                  ) {\n                    counters.listenersInherited++;\n                  }\n\n                  listeners.unshift(listener);\n                  this._inheritedEnd++;\n                }\n              }\n            }\n          }\n        }\n\n        this._flattenedVersion = currentListenerVersion;\n      }\n\n      return this._listeners;\n    }\n\n    matchingListeners(eventName) {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.matchingListenersCalls++;\n      }\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 */\n          || listener.kind === 1\n          /* ONCE */\n          )) {\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\n            result.push(listener.target, listener.method, listener.kind === 1\n            /* ONCE */\n            );\n          }\n        }\n      }\n\n      return result;\n    }\n\n    observerEvents() {\n      var listeners = this.flattenedListeners();\n      var result;\n\n      if (true\n      /* DEBUG */\n      ) {\n        counters.observerEventsCalls++;\n      }\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 */\n          || listener.kind === 1\n          /* ONCE */\n          ) && 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\n            result.push(listener);\n          }\n        }\n      }\n\n      return result;\n    }\n\n  }\n\n  _exports.Meta = Meta;\n  var getPrototypeOf = Object.getPrototypeOf;\n  var metaStore = new WeakMap();\n\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\n    if (true\n    /* DEBUG */\n    ) {\n      counters.setCalls++;\n    }\n\n    metaStore.set(obj, meta);\n  }\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\n    if (true\n    /* DEBUG */\n    ) {\n      counters.peekCalls++;\n    }\n\n    var meta = metaStore.get(obj);\n\n    if (meta !== undefined) {\n      return meta;\n    }\n\n    var pointer = getPrototypeOf(obj);\n\n    while (pointer !== null) {\n      if (true\n      /* DEBUG */\n      ) {\n        counters.peekPrototypeWalks++;\n      }\n\n      meta = metaStore.get(pointer);\n\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\n        return meta;\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\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\n  var 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\n    if (true\n    /* DEBUG */\n    ) {\n      counters.metaCalls++;\n    }\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\n    var newMeta = new Meta(obj);\n    setMeta(obj, newMeta);\n    return newMeta;\n  };\n\n  _exports.meta = meta;\n\n  if (true\n  /* DEBUG */\n  ) {\n    meta._counters = counters;\n  }\n\n  function indexOfListener(listeners, event, target, method) {\n    for (var i = listeners.length - 1; i >= 0; i--) {\n      var listener = listeners[i];\n\n      if (listener.event === event && listener.target === target && listener.method === method) {\n        return i;\n      }\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/runtime\", \"@glimmer/validator\", \"@glimmer/util\", \"@ember/error\", \"ember/version\", \"@ember/deprecated-features\", \"@ember/polyfills\", \"@ember/-internals/owner\"], function (_exports, _meta2, _utils, _debug, _environment, _runloop, _runtime, _validator, _util, _error, _version, _deprecatedFeatures, _polyfills, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.computed = computed;\n  _exports.autoComputed = autoComputed;\n  _exports.isComputed = isComputed;\n  _exports.getCachedValueFor = getCachedValueFor;\n  _exports.alias = alias;\n  _exports.deprecateProperty = deprecateProperty;\n  _exports._getPath = _getPath;\n  _exports.get = get;\n  _exports.getWithDefault = getWithDefault;\n  _exports._getProp = _getProp;\n  _exports.set = set;\n  _exports.trySet = trySet;\n  _exports.objectAt = objectAt;\n  _exports.replace = replace;\n  _exports.replaceInNativeArray = replaceInNativeArray;\n  _exports.addArrayObserver = addArrayObserver;\n  _exports.removeArrayObserver = removeArrayObserver;\n  _exports.arrayContentWillChange = arrayContentWillChange;\n  _exports.arrayContentDidChange = arrayContentDidChange;\n  _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n  _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n  _exports.addListener = addListener;\n  _exports.hasListeners = hasListeners;\n  _exports.on = on;\n  _exports.removeListener = removeListener;\n  _exports.sendEvent = sendEvent;\n  _exports.isNone = isNone;\n  _exports.isEmpty = isEmpty;\n  _exports.isBlank = isBlank;\n  _exports.isPresent = isPresent;\n  _exports.beginPropertyChanges = beginPropertyChanges;\n  _exports.changeProperties = changeProperties;\n  _exports.endPropertyChanges = endPropertyChanges;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  _exports.defineProperty = defineProperty;\n  _exports.isElementDescriptor = isElementDescriptor;\n  _exports.nativeDescDecorator = nativeDescDecorator;\n  _exports.descriptorForDecorator = descriptorForDecorator;\n  _exports.descriptorForProperty = descriptorForProperty;\n  _exports.isClassicDecorator = isClassicDecorator;\n  _exports.setClassicDecorator = setClassicDecorator;\n  _exports.getProperties = getProperties;\n  _exports.setProperties = setProperties;\n  _exports.expandProperties = expandProperties;\n  _exports.addObserver = addObserver;\n  _exports.activateObserver = activateObserver;\n  _exports.removeObserver = removeObserver;\n  _exports.flushAsyncObservers = flushAsyncObservers;\n  _exports.mixin = mixin;\n  _exports.observer = observer;\n  _exports.applyMixin = applyMixin;\n  _exports.inject = inject;\n  _exports.tagForProperty = tagForProperty;\n  _exports.tagForObject = tagForObject;\n  _exports.markObjectAsDirty = markObjectAsDirty;\n  _exports.tracked = tracked;\n  _exports.addNamespace = addNamespace;\n  _exports.classToString = classToString;\n  _exports.findNamespace = findNamespace;\n  _exports.findNamespaces = findNamespaces;\n  _exports.processNamespace = processNamespace;\n  _exports.processAllNamespaces = processAllNamespaces;\n  _exports.removeNamespace = removeNamespace;\n  _exports.isNamespaceSearchDisabled = isSearchDisabled;\n  _exports.setNamespaceSearchDisabled = setSearchDisabled;\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _validator.createCache;\n    }\n  });\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _validator.getValue;\n    }\n  });\n  Object.defineProperty(_exports, \"isConst\", {\n    enumerable: true,\n    get: function () {\n      return _validator.isConst;\n    }\n  });\n  _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.CUSTOM_TAG_FOR = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.aliasMethod = _exports.Mixin = _exports.SYNC_OBSERVERS = _exports.ASYNC_OBSERVERS = _exports.Libraries = _exports.libraries = _exports.PROPERTY_DID_CHANGE = _exports.PROXY_CONTENT = _exports.ComputedProperty = _exports._globalsComputed = void 0;\n\n  /**\n  @module @ember/object\n  */\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  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\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\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\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\n    if (typeof targetOrFunction === 'object') {\n      target = targetOrFunction;\n      method = functionOrName;\n    } else {\n      target = null;\n      method = targetOrFunction;\n    }\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\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\n    if (actions === undefined || actions.length === 0) {\n      return false;\n    }\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\n      if (!method) {\n        continue;\n      }\n\n      if (once) {\n        removeListener(obj, eventName, target, method);\n      }\n\n      if (!target) {\n        target = obj;\n      }\n\n      var type = typeof method;\n\n      if (type === 'string' || type === 'symbol') {\n        method = target[method];\n      }\n\n      method.apply(target, params);\n    }\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\n  function hasListeners(obj, eventName) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null) {\n      return false;\n    }\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\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\n  var AFTER_OBSERVERS = ':change';\n\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n\n  var SYNC_DEFAULT = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n  var SYNC_OBSERVERS = new Map();\n  _exports.SYNC_OBSERVERS = SYNC_OBSERVERS;\n  var 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  _exports.ASYNC_OBSERVERS = ASYNC_OBSERVERS;\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\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\n  function removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    var eventName = changeEvent(path);\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n      deactivateObserver(obj, eventName, sync);\n    }\n\n    removeListener(obj, eventName, target, method);\n  }\n\n  function getOrCreateActiveObserversFor(target, sync) {\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n\n    if (!observerMap.has(target)) {\n      observerMap.set(target, new Map());\n      (0, _runtime.registerDestructor)(target, () => destroyObservers(target), true);\n    }\n\n    return observerMap.get(target);\n  }\n\n  function activateObserver(target, eventName, sync = false) {\n    var activeObservers = getOrCreateActiveObserversFor(target, sync);\n\n    if (activeObservers.has(eventName)) {\n      activeObservers.get(eventName).count++;\n    } else {\n      var [path] = eventName.split(':');\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\n  var DEACTIVATE_SUSPENDED = false;\n  var SCHEDULED_DEACTIVATE = [];\n\n  function deactivateObserver(target, eventName, sync = false) {\n    if (DEACTIVATE_SUSPENDED === true) {\n      SCHEDULED_DEACTIVATE.push([target, eventName, sync]);\n      return;\n    }\n\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    var activeObservers = observerMap.get(target);\n\n    if (activeObservers !== undefined) {\n      var _observer = activeObservers.get(eventName);\n\n      _observer.count--;\n\n      if (_observer.count === 0) {\n        activeObservers.delete(eventName);\n\n        if (activeObservers.size === 0) {\n          observerMap.delete(target);\n        }\n      }\n    }\n  }\n\n  function suspendedObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = true;\n  }\n\n  function resumeObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = false;\n\n    for (var [target, eventName, sync] of SCHEDULED_DEACTIVATE) {\n      deactivateObserver(target, eventName, sync);\n    }\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\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\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\n  var lastKnownRevision = 0;\n\n  function flushAsyncObservers(shouldSchedule = true) {\n    var currentRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n\n    if (lastKnownRevision === currentRevision) {\n      return;\n    }\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\n          if (shouldSchedule) {\n            (0, _runloop.schedule)('actions', sendObserver);\n          } else {\n            sendObserver();\n          }\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\n  function setObserverSuspended(target, property, suspended) {\n    var activeObservers = SYNC_OBSERVERS.get(target);\n\n    if (!activeObservers) {\n      return;\n    }\n\n    var observer = activeObservers.get(changeEvent(property));\n\n    if (observer) {\n      observer.suspended = suspended;\n    }\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\n  var CUSTOM_TAG_FOR = (0, _utils.enumerableSymbol)('CUSTOM_TAG_FOR'); // This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\n\n  _exports.CUSTOM_TAG_FOR = CUSTOM_TAG_FOR;\n  var SELF_TAG = (0, _utils.symbol)('SELF_TAG');\n\n  function tagForProperty(obj, propertyKey, addMandatorySetter = false, meta$$1) {\n    if (typeof obj[CUSTOM_TAG_FOR] === 'function') {\n      return obj[CUSTOM_TAG_FOR](propertyKey, addMandatorySetter);\n    }\n\n    var tag = (0, _validator.tagFor)(obj, propertyKey, meta$$1);\n\n    if (true\n    /* DEBUG */\n    && addMandatorySetter) {\n      (0, _utils.setupMandatorySetter)(tag, obj, propertyKey);\n    }\n\n    return tag;\n  }\n\n  function tagForObject(obj) {\n    if ((0, _utils.isObject)(obj)) {\n      if (true\n      /* DEBUG */\n      ) {\n        (true && !(!(0, _runtime.isDestroyed)(obj)) && (0, _debug.assert)((0, _runtime.isDestroyed)(obj) ? `Cannot create a new tag for \\`${(0, _utils.toString)(obj)}\\` after it has been destroyed.` : '', !(0, _runtime.isDestroyed)(obj)));\n      }\n\n      return (0, _validator.tagFor)(obj, SELF_TAG);\n    }\n\n    return _validator.CONSTANT_TAG;\n  }\n\n  function markObjectAsDirty(obj, propertyKey) {\n    (0, _validator.dirtyTagFor)(obj, propertyKey);\n    (0, _validator.dirtyTagFor)(obj, SELF_TAG);\n  }\n  /**\n   @module ember\n   @private\n   */\n\n\n  var PROPERTY_DID_CHANGE = (0, _utils.enumerableSymbol)('PROPERTY_DID_CHANGE');\n  _exports.PROPERTY_DID_CHANGE = 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\n    if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n      return;\n    }\n\n    markObjectAsDirty(obj, keyName);\n\n    if (deferred <= 0) {\n      flushSyncObservers();\n    }\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\n  function beginPropertyChanges() {\n    deferred++;\n    suspendedObserverDeactivation();\n  }\n  /**\n    @method endPropertyChanges\n    @private\n  */\n\n\n  function endPropertyChanges() {\n    deferred--;\n\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\n  function changeProperties(callback) {\n    beginPropertyChanges();\n\n    try {\n      callback();\n    } finally {\n      endPropertyChanges();\n    }\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\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n    return array;\n  }\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\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n\n    var meta$$1 = (0, _meta2.peekMeta)(array);\n\n    if (notify) {\n      if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n        notifyPropertyChange(array, 'length', meta$$1);\n      }\n\n      notifyPropertyChange(array, '[]', meta$$1);\n    }\n\n    sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n\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\n      if (meta$$1.revisionFor('firstObject') !== undefined && normalStartIdx === 0) {\n        notifyPropertyChange(array, 'firstObject', meta$$1);\n      }\n\n      if (meta$$1.revisionFor('lastObject') !== undefined) {\n        var previousLastIndex = previousLength - 1;\n        var lastAffectedIndex = normalStartIdx + removedAmount;\n\n        if (previousLastIndex < lastAffectedIndex) {\n          notifyPropertyChange(array, 'lastObject', meta$$1);\n        }\n      }\n    }\n\n    return array;\n  }\n\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  function objectAt(array, index) {\n    if (Array.isArray(array)) {\n      return array[index];\n    } else {\n      return array.objectAt(index);\n    }\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\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\n    if (items.length <= CHUNK_SIZE) {\n      array.splice(start, deleteCount, ...items);\n    } else {\n      array.splice(start, deleteCount);\n\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\n    arrayContentDidChange(array, start, deleteCount, items.length);\n  }\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\n    if (hasObservers === notify) {\n      notifyPropertyChange(obj, 'hasArrayObservers');\n    }\n\n    return obj;\n  }\n\n  function addArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, addListener, false);\n  }\n\n  function removeArrayObserver(array, target, opts) {\n    return arrayObserversHelper(array, target, opts, removeListener, true);\n  }\n\n  var CHAIN_PASS_THROUGH = new _util._WeakSet();\n\n  function finishLazyChains(meta$$1, key, value) {\n    var lazyTags = meta$$1.readableLazyChainsFor(key);\n\n    if (lazyTags === undefined) {\n      return;\n    }\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\n    lazyTags.length = 0;\n  }\n\n  function getChainTagsForKeys(obj, keys, tagMeta, meta$$1) {\n    var tags = [];\n\n    for (var i = 0; i < keys.length; i++) {\n      getChainTags(tags, obj, keys[i], tagMeta, meta$$1);\n    }\n\n    return (0, _validator.combine)(tags);\n  }\n\n  function getChainTagsForKey(obj, key, tagMeta, meta$$1) {\n    return (0, _validator.combine)(getChainTags([], obj, key, tagMeta, meta$$1));\n  }\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\n      if (segmentEnd === -1) {\n        segmentEnd = pathLength;\n      }\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\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\n        if (typeof arrLength !== 'number' || // 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\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\n        for (var i = 0; i < arrLength; i++) {\n          var item = objectAt(current, i);\n\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\n        chainTags.push(tagForProperty(current, '[]', true, currentTagMeta));\n        break;\n      }\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\n        break;\n      }\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\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\n      if (!(0, _utils.isObject)(current)) {\n        // we've hit the end of the chain for now, break out\n        break;\n      }\n\n      currentTagMeta = (0, _validator.tagMetaFor)(current);\n      currentMeta = (0, _meta2.peekMeta)(current);\n    }\n\n    return chainTags;\n  }\n\n  function isElementDescriptor(args) {\n    var [maybeTarget, maybeKey, maybeDesc] = args;\n    return (// Ensure we have the right number of args\n      args.length === 3 && ( // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) && // Make sure the key is a string\n      typeof maybeKey === 'string' && ( // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null || maybeDesc === undefined)\n    );\n  }\n\n  function nativeDescDecorator(propertyDesc) {\n    var decorator = function () {\n      return propertyDesc;\n    };\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\n  class ComputedDescriptor {\n    constructor() {\n      this.enumerable = true;\n      this.configurable = true;\n      this._dependentKeys = undefined;\n      this._meta = undefined;\n    }\n\n    setup(_obj, keyName, _propertyDesc, meta$$1) {\n      meta$$1.writeDescriptors(keyName, this);\n    }\n\n    teardown(_obj, keyName, meta$$1) {\n      meta$$1.removeDescriptors(keyName);\n    }\n\n  }\n\n  var COMPUTED_GETTERS;\n\n  if (true\n  /* DEBUG */\n  ) {\n    COMPUTED_GETTERS = new _util._WeakSet();\n  }\n\n  function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n    function getter() {\n      return descriptor.get(this, name);\n    }\n\n    if (true\n    /* DEBUG */\n    ) {\n      COMPUTED_GETTERS.add(getter);\n    }\n\n    return getter;\n  }\n\n  function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n    var set = function CPSETTER_FUNCTION(value) {\n      return descriptor.set(this, name, value);\n    };\n\n    COMPUTED_SETTERS.add(set);\n    return set;\n  }\n\n  var COMPUTED_SETTERS = new _util._WeakSet();\n\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\n    setClassicDecorator(decorator, desc);\n    Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n    return decorator;\n  } /////////////\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\n    if (meta$$1 !== null) {\n      return meta$$1.peekDescriptors(keyName);\n    }\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\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\n  function setClassicDecorator(dec, value = true) {\n    DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n  }\n  /**\n  @module @ember/object\n  */\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\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\n    if (start < 0) {\n      callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive('', pattern, start, callback);\n    }\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\n    while (i < arrayLength) {\n      newStart = after.indexOf('{');\n\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  @module @ember/object\n  */\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\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\n    if (wasDescriptor) {\n      previousDesc.teardown(obj, keyName, meta$$1);\n    }\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\n    if (!meta$$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    }\n  }\n\n  function defineDecorator(obj, keyName, desc, meta$$1) {\n    var propertyDesc;\n\n    if (true\n    /* DEBUG */\n    ) {\n      propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n    } else {\n      propertyDesc = desc(obj, keyName, undefined, meta$$1);\n    }\n\n    Object.defineProperty(obj, keyName, propertyDesc); // pass the decorator function forward for backwards compat\n\n    return desc;\n  }\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\n      /* DEBUG */\n      ) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n    }\n\n    return value;\n  }\n\n  var firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n\n  function isPath(path) {\n    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n  _exports.PROXY_CONTENT = PROXY_CONTENT;\n  var getPossibleMandatoryProxyValue;\n\n  if (true\n  /* DEBUG */\n  && _utils.HAS_NATIVE_PROXY) {\n    getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n      var content = obj[PROXY_CONTENT];\n\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\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\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\n    if (isObjectLike) {\n      if (true\n      /* DEBUG */\n      && _utils.HAS_NATIVE_PROXY) {\n        value = getPossibleMandatoryProxyValue(obj, keyName);\n      } else {\n        value = obj[keyName];\n      }\n\n      if (value === undefined && isObject$$1 && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n        if (true\n        /* DEBUG */\n        ) {\n          (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n            value = obj.unknownProperty(keyName);\n          });\n        } else {\n          value = obj.unknownProperty(keyName);\n        }\n      }\n\n      if ((0, _validator.isTracking)()) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(obj, keyName));\n\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\n    return value;\n  }\n\n  function _getPath(root, path) {\n    var obj = root;\n    var parts = typeof path === 'string' ? path.split('.') : path;\n\n    for (var i = 0; i < parts.length; i++) {\n      if (obj === undefined || obj === null || obj.isDestroyed) {\n        return undefined;\n      }\n\n      obj = _getProp(obj, parts[i]);\n    }\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\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\n    if (value === undefined) {\n      return defaultValue;\n    }\n\n    return value;\n  }\n\n  _getProp('foo', 'a');\n\n  _getProp('foo', 1);\n\n  _getProp({}, 'a');\n\n  _getProp({}, 1);\n\n  _getProp({\n    unkonwnProperty() {}\n\n  }, 'a');\n\n  _getProp({\n    unkonwnProperty() {}\n\n  }, 1);\n\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   @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\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\n    if (isPath(keyName)) {\n      return setPath(obj, keyName, value, tolerant);\n    }\n\n    var descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n\n    if (descriptor !== null && COMPUTED_SETTERS.has(descriptor.set)) {\n      obj[keyName] = value;\n      return value;\n    }\n\n    var currentValue;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY) {\n      currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      currentValue = obj[keyName];\n    }\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\n      /* DEBUG */\n      ) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n\n      if (currentValue !== value) {\n        notifyPropertyChange(obj, keyName);\n      }\n    }\n\n    return value;\n  }\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\n    var newRoot = _getPath(root, parts);\n\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\n  function trySet(root, path, value) {\n    return set(root, path, value, true);\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n\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\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\n      if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n        this._hasConfig = true;\n        var config = args.pop();\n\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\n      if (args.length > 0) {\n        this._property(...args);\n      }\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\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\n        if (_get2 !== undefined) {\n          this._getter = _get2;\n        }\n\n        if (set$$1 !== undefined) {\n          this._setter = function setterWrapper(_key, value) {\n            var ret = set$$1.call(this, value);\n\n            if (_get2 !== undefined) {\n              return typeof ret === 'undefined' ? _get2.call(this) : ret;\n            }\n\n            return ret;\n          };\n        }\n      }\n    }\n\n    _property(...passedArgs) {\n      var args = [];\n\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\n      for (var i = 0; i < passedArgs.length; i++) {\n        expandProperties(passedArgs[i], addArg);\n      }\n\n      this._dependentKeys = args;\n    }\n\n    get(obj, keyName) {\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\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\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, _runtime.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !(0, _runtime.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\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n\n          if (true\n          /* DEBUG */\n          ) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\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\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\n      return ret;\n    }\n\n    set(obj, keyName, value) {\n      if (this._readOnly) {\n        this._throwReadOnlyError(obj, keyName);\n      }\n\n      if (!this._setter) {\n        return this.clobberSet(obj, keyName, value);\n      }\n\n      if (this._volatile) {\n        return this.volatileSet(obj, keyName, value);\n      }\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 ( // ensure that we only run this once, while the component is being instantiated\n      meta$$1.isInitializing() && this._dependentKeys !== undefined && this._dependentKeys.length > 0 && // 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\n      var ret;\n\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\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n\n          if (true\n          /* DEBUG */\n          ) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\n        }\n\n        meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n      } finally {\n        endPropertyChanges();\n      }\n\n      return ret;\n    }\n\n    _throwReadOnlyError(obj, keyName) {\n      throw new _error.default(`Cannot set read-only property \"${keyName}\" on object: ${(0, _utils.inspect)(obj)}`);\n    }\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://emberjs.com/deprecations/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\n    volatileSet(obj, keyName, value) {\n      return this._setter.call(obj, keyName, value);\n    }\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\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\n      if (hadCachedValue && cachedValue === ret) {\n        return ret;\n      }\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\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\n      super.teardown(obj, keyName, meta$$1);\n    }\n\n  }\n\n  _exports.ComputedProperty = ComputedProperty;\n\n  class AutoComputedProperty extends ComputedProperty {\n    get(obj, keyName) {\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\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\n      if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n        ret = meta$$1.valueFor(keyName);\n      } else {\n        (true && !(!(0, _runtime.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, !(0, _runtime.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\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\n      return ret;\n    }\n\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\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\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://emberjs.com/deprecations/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\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://emberjs.com/deprecations/v3.x#toc_computed-property-property',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0-beta.1'\n        }\n      }));\n\n      descriptorForDecorator(this)._property(...keys);\n\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\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\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\n    get _getter() {\n      return descriptorForDecorator(this)._getter;\n    } // TODO: Refactor this, this is an internal API only\n\n\n    set enumerable(value) {\n      descriptorForDecorator(this).enumerable = value;\n    }\n\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\n    if (isElementDescriptor(args)) {\n      var decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n      return decorator(args[0], args[1], args[2]);\n    }\n\n    return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n  }\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\n  function isComputed(obj, key) {\n    return Boolean(descriptorForProperty(obj, key));\n  }\n\n  var _globalsComputed = computed.bind(null);\n\n  _exports._globalsComputed = _globalsComputed;\n\n  function getCachedValueFor(obj, key) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n    if (meta$$1) {\n      return meta$$1.valueFor(key);\n    }\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\n  class AliasDecoratorImpl extends Function {\n    readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    }\n\n    oneWay() {\n      descriptorForDecorator(this).oneWay();\n      return this;\n    }\n\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n      }\n    }\n\n  }\n\n  class AliasedProperty extends ComputedDescriptor {\n    constructor(altKey) {\n      super();\n      this.altKey = altKey;\n    }\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\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\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\n      (0, _validator.consumeTag)(propertyTag);\n      return ret;\n    }\n\n    set(obj, _keyName, value) {\n      return set(obj, this.altKey, value);\n    }\n\n    readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n    }\n\n    oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n    }\n\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\n  function AliasedProperty_oneWaySet(obj, keyName, value) {\n    defineProperty(obj, keyName, null);\n    return set(obj, keyName, value);\n  }\n  /**\n  @module ember\n  */\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\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\n    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n\n      set(value) {\n        _deprecate();\n\n        set(this, newKey, value);\n      },\n\n      get() {\n        _deprecate();\n\n        return get(this, newKey);\n      }\n\n    });\n  }\n\n  var EACH_PROXIES = new WeakMap();\n\n  function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n\n    if (eachProxy !== undefined) {\n      eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\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\n\n  function isNone(obj) {\n    return obj === null || obj === undefined;\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\n  function isEmpty(obj) {\n    var none = obj === null || obj === undefined;\n\n    if (none) {\n      return none;\n    }\n\n    if (typeof obj.size === 'number') {\n      return !obj.size;\n    }\n\n    var objectType = typeof obj;\n\n    if (objectType === 'object') {\n      var size = get(obj, 'size');\n\n      if (typeof size === 'number') {\n        return !size;\n      }\n    }\n\n    if (typeof obj.length === 'number' && objectType !== 'function') {\n      return !obj.length;\n    }\n\n    if (objectType === 'object') {\n      var length = get(obj, 'length');\n\n      if (typeof length === 'number') {\n        return !length;\n      }\n    }\n\n    return false;\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\n  function isBlank(obj) {\n    return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\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\n  function isPresent(obj) {\n    return !isBlank(obj);\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\n  class Libraries {\n    constructor() {\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n\n    _getLibraryByName(name) {\n      var libs = this._registry;\n      var count = libs.length;\n\n      for (var i = 0; i < count; i++) {\n        if (libs[i].name === name) {\n          return libs[i];\n        }\n      }\n\n      return undefined;\n    }\n\n    register(name, version, isCoreLibrary) {\n      var index = this._registry.length;\n\n      if (!this._getLibraryByName(name)) {\n        if (isCoreLibrary) {\n          index = this._coreLibIndex++;\n        }\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\n    registerCoreLibrary(name, version) {\n      this.register(name, version, true);\n    }\n\n    deRegister(name) {\n      var lib = this._getLibraryByName(name);\n\n      var index;\n\n      if (lib) {\n        index = this._registry.indexOf(lib);\n\n        this._registry.splice(index, 1);\n      }\n    }\n\n  }\n\n  _exports.Libraries = Libraries;\n\n  if (true\n  /* DEBUG */\n  ) {\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\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\n      (0, _debug.debug)('-------------------------------');\n    };\n  }\n\n  var LIBRARIES = new Libraries();\n  _exports.libraries = LIBRARIES;\n  LIBRARIES.registerCoreLibrary('Ember', _version.default);\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\n    if (arguments.length === 2 && Array.isArray(keys)) {\n      i = 0;\n      propertyNames = arguments[1];\n    }\n\n    for (; i < propertyNames.length; i++) {\n      ret[propertyNames[i]] = get(obj, propertyNames[i]);\n    }\n\n    return ret;\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\n  function setProperties(obj, properties) {\n    if (properties === null || typeof properties !== 'object') {\n      return properties;\n    }\n\n    changeProperties(() => {\n      var props = Object.keys(properties);\n      var propertyName;\n\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  } // move into its own package\n  // it is needed by Mixin for classToString\n  // maybe move it into environment\n\n\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var searchDisabled = false;\n  var flags = {\n    _set: 0,\n    _unprocessedNamespaces: false,\n\n    get unprocessedNamespaces() {\n      return this._unprocessedNamespaces;\n    },\n\n    set unprocessedNamespaces(v) {\n      this._set++;\n      this._unprocessedNamespaces = v;\n    }\n\n  };\n  var unprocessedMixins = false;\n  var NAMESPACES = [];\n  _exports.NAMESPACES = NAMESPACES;\n  var NAMESPACES_BY_ID = Object.create(null);\n  _exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n\n  function addNamespace(namespace) {\n    flags.unprocessedNamespaces = true;\n    NAMESPACES.push(namespace);\n  }\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\n    if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n      _environment.context.lookup[name] = undefined;\n    }\n  }\n\n  function findNamespaces() {\n    if (!flags.unprocessedNamespaces) {\n      return;\n    }\n\n    var lookup = _environment.context.lookup;\n    var keys = Object.keys(lookup);\n\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\n      var obj = tryIsNamespace(lookup, key);\n\n      if (obj) {\n        (0, _utils.setName)(obj, key);\n      }\n    }\n  }\n\n  function findNamespace(name) {\n    if (!searchDisabled) {\n      processAllNamespaces();\n    }\n\n    return NAMESPACES_BY_ID[name];\n  }\n\n  function processNamespace(namespace) {\n    _processNamespace([namespace.toString()], namespace, new Set());\n  }\n\n  function processAllNamespaces() {\n    var unprocessedNamespaces = flags.unprocessedNamespaces;\n\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      flags.unprocessedNamespaces = false;\n    }\n\n    if (unprocessedNamespaces || unprocessedMixins) {\n      var namespaces = NAMESPACES;\n\n      for (var i = 0; i < namespaces.length; i++) {\n        processNamespace(namespaces[i]);\n      }\n\n      unprocessedMixins = false;\n    }\n  }\n\n  function classToString() {\n    var name = (0, _utils.getName)(this);\n\n    if (name !== void 0) {\n      return name;\n    }\n\n    name = calculateToString(this);\n    (0, _utils.setName)(this, name);\n    return name;\n  }\n\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n\n  function setSearchDisabled(flag) {\n    searchDisabled = Boolean(flag);\n  }\n\n  function setUnprocessedMixins() {\n    unprocessedMixins = true;\n  }\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\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 && obj.toString === classToString && (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\n        seen.add(obj); // Process the child namespace\n\n        _processNamespace(paths, obj, seen);\n      }\n    }\n\n    paths.length = idx; // cut out last item\n  }\n\n  function isUppercase(code) {\n    return code >= 65 && code <= 90 // A\n    ; // Z\n  }\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  function calculateToString(target) {\n    var str;\n\n    if (!searchDisabled) {\n      processAllNamespaces();\n      str = (0, _utils.getName)(target);\n\n      if (str !== void 0) {\n        return str;\n      }\n\n      var superclass = target;\n\n      do {\n        superclass = Object.getPrototypeOf(superclass);\n\n        if (superclass === Function.prototype || superclass === Object.prototype) {\n          break;\n        }\n\n        str = (0, _utils.getName)(target);\n\n        if (str !== void 0) {\n          str = `(subclass of ${str})`;\n          break;\n        }\n      } while (str === void 0);\n    }\n\n    return str || '(unknown)';\n  }\n  /**\n  @module @ember/object\n  */\n\n\n  var a_concat = Array.prototype.concat;\n  var {\n    isArray\n  } = Array;\n\n  function extractAccessors(properties) {\n    if (properties !== undefined) {\n      var keys = Object.keys(properties);\n\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        var desc = Object.getOwnPropertyDescriptor(properties, key);\n\n        if (desc.get !== undefined || desc.set !== undefined) {\n          Object.defineProperty(properties, key, {\n            value: nativeDescDecorator(desc)\n          });\n        }\n      }\n    }\n\n    return properties;\n  }\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\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n\n    return concats;\n  }\n\n  function giveDecoratorSuper(key, decorator, property, descs) {\n    if (property === true) {\n      return decorator;\n    }\n\n    var originalGetter = property._getter;\n\n    if (originalGetter === undefined) {\n      return decorator;\n    }\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\n    if (superProperty === undefined || superProperty === true) {\n      return decorator;\n    }\n\n    var superGetter = superProperty._getter;\n\n    if (superGetter === undefined) {\n      return decorator;\n    }\n\n    var get = (0, _utils.wrap)(originalGetter, superGetter);\n    var set;\n    var originalSetter = property._setter;\n    var superSetter = superProperty._setter;\n\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\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\n    return decorator;\n  }\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\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\n    return method;\n  }\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\n    if (true\n    /* DEBUG */\n    ) {\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\n    return ret;\n  }\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\n    if (!baseValue) {\n      return value;\n    }\n\n    var newBase = (0, _polyfills.assign)({}, baseValue);\n    var hasFunction = false;\n    var props = Object.keys(value);\n\n    for (var i = 0; i < props.length; i++) {\n      var prop = props[i];\n      var propValue = value[prop];\n\n      if (typeof propValue === 'function') {\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n\n    if (hasFunction) {\n      newBase._super = _utils.ROOT;\n    }\n\n    return newBase;\n  }\n\n  function mergeMixins(mixins, meta$$1, descs, values, base, keys, keysWithSuper) {\n    var currentMixin;\n\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\n      if (MIXINS.has(currentMixin)) {\n        if (meta$$1.hasMixin(currentMixin)) {\n          continue;\n        }\n\n        meta$$1.addMixin(currentMixin);\n        var {\n          properties,\n          mixins: _mixins\n        } = currentMixin;\n\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\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\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\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\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\n      if (keys.indexOf(key) === -1) {\n        keys.push(key);\n        var desc = meta$$1.peekDescriptors(key);\n\n        if (desc === undefined) {\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\n          if (typeof prev === 'function') {\n            updateObserversAndListeners(base, key, prev, false);\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\n      var isFunction = typeof value === 'function';\n\n      if (isFunction) {\n        var _desc2 = descriptorForDecorator(value);\n\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\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\n      values[key] = value;\n      descs[key] = undefined;\n    }\n  }\n\n  var followMethodAlias;\n\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\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\n      return {\n        desc,\n        value\n      };\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\n    if (observers !== undefined) {\n      var updateObserver = add ? addObserver : removeObserver;\n\n      for (var i = 0; i < observers.paths.length; i++) {\n        updateObserver(obj, observers.paths[i], null, key, observers.sync);\n      }\n    }\n\n    if (listeners !== undefined) {\n      var updateListener = add ? addListener : removeListener;\n\n      for (var _i = 0; _i < listeners.length; _i++) {\n        updateListener(obj, listeners[_i], null, key);\n      }\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\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\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\n      if (value !== undefined) {\n        if (typeof value === 'function') {\n          updateObserversAndListeners(obj, key, value, true);\n        }\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\n    if (!meta$$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    }\n\n    return obj;\n  }\n  /**\n    @method mixin\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n\n\n  function mixin(obj, ...args) {\n    applyMixin(obj, args);\n    return obj;\n  }\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\n      if (true\n      /* DEBUG */\n      ) {\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        (0, _utils.guidFor)(this);\n        Object.seal(this);\n      }\n    }\n    /**\n      @method create\n      @for @ember/object/mixin\n      @static\n      @param arguments*\n      @public\n    */\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\n    static mixins(obj) {\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n      var ret = [];\n\n      if (meta$$1 === null) {\n        return ret;\n      }\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\n    reopen(...args) {\n      if (args.length === 0) {\n        return;\n      }\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\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\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\n    applyPartial(obj) {\n      return applyMixin(obj, [this]);\n    }\n    /**\n      @method detect\n      @param obj\n      @return {Boolean}\n      @private\n    */\n\n\n    detect(obj) {\n      if (typeof obj !== 'object' || obj === null) {\n        return false;\n      }\n\n      if (MIXINS.has(obj)) {\n        return _detect(obj, this);\n      }\n\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n      if (meta$$1 === null) {\n        return false;\n      }\n\n      return meta$$1.hasMixin(this);\n    }\n\n    without(...args) {\n      var ret = new Mixin([this]);\n      ret._without = args;\n      return ret;\n    }\n\n    keys() {\n      return _keys(this);\n    }\n\n    toString() {\n      return '(unknown mixin)';\n    }\n\n  }\n\n  _exports.Mixin = Mixin;\n\n  function buildMixinsArray(mixins) {\n    var length = mixins && mixins.length || 0;\n    var m = undefined;\n\n    if (length > 0) {\n      m = new Array(length);\n\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\n        if (MIXINS.has(x)) {\n          m[i] = x;\n        } else {\n          m[i] = new Mixin(undefined, x);\n        }\n      }\n    }\n\n    return m;\n  }\n\n  Mixin.prototype.toString = classToString;\n\n  if (true\n  /* DEBUG */\n  ) {\n    Object.seal(Mixin.prototype);\n  }\n\n  function _detect(curMixin, targetMixin, seen = new Set()) {\n    if (seen.has(curMixin)) {\n      return false;\n    }\n\n    seen.add(curMixin);\n\n    if (curMixin === targetMixin) {\n      return true;\n    }\n\n    var mixins = curMixin.mixins;\n\n    if (mixins) {\n      return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n    }\n\n    return false;\n  }\n\n  function _keys(mixin, ret = new Set(), seen = new Set()) {\n    if (seen.has(mixin)) {\n      return;\n    }\n\n    seen.add(mixin);\n\n    if (mixin.properties) {\n      var props = Object.keys(mixin.properties);\n\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\n    return ret;\n  }\n\n  var AliasImpl;\n  var isAlias;\n\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    var ALIASES = new _util._WeakSet();\n\n    isAlias = alias => {\n      return ALIASES.has(alias);\n    };\n\n    AliasImpl = class AliasImpl {\n      constructor(methodName) {\n        this.methodName = methodName;\n        ALIASES.add(this);\n      }\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\n  var aliasMethod;\n  _exports.aliasMethod = aliasMethod;\n\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://emberjs.com/deprecations/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\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\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\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\n    for (var i = 0; i < dependentKeys.length; ++i) {\n      expandProperties(dependentKeys[i], path => paths.push(path));\n    }\n\n    (0, _utils.setObservers)(func, {\n      paths,\n      sync\n    });\n    return func;\n  }\n\n  var DEBUG_INJECTION_FUNCTIONS;\n  _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n  }\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\n    var getInjection = function (propertyName) {\n      var owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n\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\n    if (true\n    /* DEBUG */\n    ) {\n      DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n        type,\n        name\n      });\n    }\n\n    var decorator = computed({\n      get: getInjection,\n\n      set(keyName, value) {\n        defineProperty(this, keyName, null, value);\n      }\n\n    });\n\n    if (calledAsDecorator) {\n      return decorator(args[0], args[1], args[2]);\n    } else {\n      return decorator;\n    }\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\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\n      if (true\n      /* DEBUG */\n      && 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\n      var initializer = propertyDesc ? propertyDesc.initializer : undefined;\n      var value = propertyDesc ? propertyDesc.value : undefined;\n\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\n      setClassicDecorator(decorator);\n      return decorator;\n    }\n\n    return descriptorForField(args);\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\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\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\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\n      return value;\n    }\n\n    function set(newValue) {\n      setter(this, newValue);\n      (0, _validator.dirtyTagFor)(this, SELF_TAG);\n    }\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\n  class TrackedDescriptor {\n    constructor(_get, _set) {\n      this._get = _get;\n      this._set = _set;\n      CHAIN_PASS_THROUGH.add(this);\n    }\n\n    get(obj) {\n      return this._get.call(obj);\n    }\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\n});","define(\"@ember/-internals/owner/index\", [\"exports\", \"@glimmer/runtime\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _runtime, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  _exports.LEGACY_OWNER = void 0;\n  var 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  _exports.LEGACY_OWNER = LEGACY_OWNER;\n\n  function getOwner(object) {\n    var owner = (0, _runtime.getOwner)(object);\n\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\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\n  function setOwner(object, owner) {\n    (0, _runtime.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/cache\"], function (_exports, _controller, _api, _none_location, _hash_location, _history_location, _auto_location, _generate_controller, _controller_for, _dsl, _router, _route, _query_params, _routing, _router2, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\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, \"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, \"AutoLocation\", {\n    enumerable: true,\n    get: function () {\n      return _auto_location.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  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _controller_for.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterDSL\", {\n    enumerable: true,\n    get: function () {\n      return _dsl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Router\", {\n    enumerable: true,\n    get: function () {\n      return _router.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Route\", {\n    enumerable: true,\n    get: function () {\n      return _route.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, \"RoutingService\", {\n    enumerable: true,\n    get: function () {\n      return _routing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterService\", {\n    enumerable: true,\n    get: function () {\n      return _router2.default;\n    }\n  });\n  Object.defineProperty(_exports, \"BucketCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n});","define(\"@ember/-internals/routing/lib/ext/controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _metal, _controller_mixin, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\n  */\n  _controller_mixin.default.reopen({\n    concatenatedProperties: ['queryParams'],\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, Ember coerces query parameter values using `toggleProperty`.\n      This behavior may lead to unexpected results.\n      Available queryParam types: `boolean`, `number`, `array`.\n      If query param type not specified, it will be `string`.\n      To explicitly configure a query parameter property so it coerces as expected, you must define a type property:\n         ```javascript\n        queryParams: [{\n          category: {\n            type: 'boolean'\n          }\n        }]\n      ```\n         @for Ember.ControllerMixin\n      @property queryParams\n      @public\n    */\n    queryParams: null,\n\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    /**\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\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    /**\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      @public\n    */\n    transitionToRoute(...args) {\n      // target may be either another controller or a router\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    /**\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      // target may be either another controller or a router\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  });\n\n  var _default = _controller_mixin.default;\n  _exports.default = _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  /**\n  @module @ember/routing\n  */\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      constructor() {\n        this._history = HistoryLocation.create(...arguments);\n      }\n      create() {\n        return new this(...arguments);\n      }\n      pushState(path) {\n         this._history.pushState(path);\n      }\n    }\n    ```\n  \n    @class Location\n    @private\n  */\n  var _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\n    implementations: {}\n  };\n  _exports.default = _default;\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.getHistoryPath = getHistoryPath;\n  _exports.getHashPath = getHashPath;\n  _exports.default = void 0;\n\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  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\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\n      if (implementation === false) {\n        (0, _metal.set)(this, 'cancelRouterSetup', true);\n        implementation = 'none';\n      }\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\n    willDestroy() {\n      var {\n        concreteImplementation\n      } = this;\n\n      if (concreteImplementation) {\n        concreteImplementation.destroy();\n      }\n    }\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    /**\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    /**\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    /**\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    /**\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    /**\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\n  function delegateToConcreteImplementation(methodName) {\n    return function (...args) {\n      var _a;\n\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\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\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\n    if (cancelRouterSetup) {\n      return false;\n    }\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\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, 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\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\n      path += routeHash + query;\n\n      if (hashParts.length) {\n        path += `#${hashParts.join('#')}`;\n      }\n    } else {\n      path += query + hash;\n    }\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\n  function getHashPath(rootURL, location) {\n    var path = rootURL;\n    var historyPath = getHistoryPath(rootURL, location);\n    var routePath = historyPath.substr(rootURL.length);\n\n    if (routePath !== '') {\n      if (routePath[0] !== '/') {\n        routePath = `/${routePath}`;\n      }\n\n      path += `#${routePath}`;\n    }\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  /**\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  class HashLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'hash';\n    }\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\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\n    getURL() {\n      var originalPath = this.getHash().substr(1);\n      var outPath = originalPath;\n\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\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\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\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\n    onUpdateURL(callback) {\n      this._removeEventListener();\n\n      this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n        var path = this.getURL();\n\n        if (this.lastSetURL === path) {\n          return;\n        }\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\n    formatURL(url) {\n      return `#${url}`;\n    }\n    /**\n      Cleans up the HashLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n\n    _removeEventListener() {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    }\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  /**\n  @module @ember/routing\n  */\n  var popstateFired = false;\n\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\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\n    getHash() {\n      return (0, _util.getHash)(this.location);\n    }\n\n    init() {\n      this._super(...arguments);\n\n      var base = document.querySelector('base');\n      var baseURL = '';\n\n      if (base !== null && base.hasAttribute('href')) {\n        baseURL = base.getAttribute('href');\n      }\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\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\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\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\n    setURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n\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\n    replaceURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n\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\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\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\n    onUpdateURL(callback) {\n      this._removeEventListener();\n\n      this._popstateHandler = () => {\n        // Ignore initial page load popstate event in Chrome\n        if (!popstateFired) {\n          popstateFired = true;\n\n          if (this.getURL() === this._previousURL) {\n            return;\n          }\n        }\n\n        callback(this.getURL());\n      };\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\n    formatURL(url) {\n      var {\n        rootURL,\n        baseURL\n      } = this;\n\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\n      return baseURL + rootURL + url;\n    }\n    /**\n      Cleans up the HistoryLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n\n    _removeEventListener() {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    }\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  /**\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  class NoneLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'none';\n    }\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\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\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\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\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\n    formatURL(url) {\n      var {\n        rootURL\n      } = this;\n\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n      }\n\n      return rootURL + url;\n    }\n\n  }\n\n  _exports.default = NoneLocation;\n  NoneLocation.reopen({\n    path: '',\n\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.getPath = getPath;\n  _exports.getQuery = getQuery;\n  _exports.getHash = getHash;\n  _exports.getFullPath = getFullPath;\n  _exports.getOrigin = getOrigin;\n  _exports.supportsHashChange = supportsHashChange;\n  _exports.supportsHistory = supportsHistory;\n  _exports.replacePath = replacePath;\n\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\n    return pathname;\n  }\n  /**\n    @private\n  \n    Returns the current `location.search`.\n  */\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\n  function getHash(location) {\n    if (location.hash !== undefined) {\n      return location.hash.substr(0);\n    }\n\n    return '';\n  }\n\n  function getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\n  }\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\n      if (location.port) {\n        origin += `:${location.port}`;\n      }\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\n  function supportsHashChange(documentMode, global) {\n    return 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\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\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\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  var freezeRouteInfo;\n\n  if (true\n  /* DEBUG */\n  ) {\n    freezeRouteInfo = transition => {\n      if (transition.from !== null && !Object.isFrozen(transition.from)) {\n        Object.freeze(transition.from);\n      }\n\n      if (transition.to !== null && !Object.isFrozen(transition.to)) {\n        Object.freeze(transition.to);\n      }\n    };\n  }\n\n  function cleanURL(url, rootURL) {\n    if (rootURL === '/') {\n      return url;\n    }\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\n  class RouterService extends _service.default {\n    get _router() {\n      var router = this[ROUTER];\n\n      if (router !== undefined) {\n        return router;\n      }\n\n      var owner = (0, _owner.getOwner)(this);\n      router = owner.lookup('router:main');\n      router.setupRouter();\n      return this[ROUTER] = router;\n    }\n\n    constructor(owner) {\n      super(owner);\n      var router = owner.lookup('router:main');\n      router.on('routeWillChange', transition => {\n        if (true\n        /* DEBUG */\n        ) {\n          freezeRouteInfo(transition);\n        }\n\n        this.trigger('routeWillChange', transition);\n      });\n      router.on('routeDidChange', transition => {\n        if (true\n        /* DEBUG */\n        ) {\n          freezeRouteInfo(transition);\n        }\n\n        this.trigger('routeDidChange', transition);\n      });\n    }\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\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\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils2.extractRouteArgs)(args);\n\n      var transition = this._router._doTransition(routeName, models, queryParams, true);\n\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\n    replaceWith()\n    /* 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\n    urlFor(routeName, ...args) {\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\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\n      var hasQueryParams = Object.keys(queryParams).length > 0;\n\n      if (hasQueryParams) {\n        queryParams = (0, _polyfills.assign)({}, queryParams);\n\n        this._router._prepareQueryParams( // 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, // 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        );\n\n        return (0, _utils2.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n      }\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\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      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\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      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n    }\n\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    /**\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    /**\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    /**\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    /**\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  /**\n  @module ember\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\n      if (router !== undefined) {\n        return router;\n      }\n\n      var owner = (0, _owner.getOwner)(this);\n      router = owner.lookup('router:main');\n      router.setupRouter();\n      return this[ROUTER] = router;\n    }\n\n    hasRoute(routeName) {\n      return this.router.hasRoute(routeName);\n    }\n\n    transitionTo(routeName, models, queryParams, shouldReplace) {\n      var transition = this.router._doTransition(routeName, models, queryParams);\n\n      if (shouldReplace) {\n        transition.method('replace');\n      }\n\n      return transition;\n    }\n\n    normalizeQueryParams(routeName, models, queryParams) {\n      this.router._prepareQueryParams(routeName, models, queryParams);\n    }\n\n    _generateURL(routeName, models, queryParams) {\n      var visibleQueryParams = {};\n\n      if (queryParams) {\n        (0, _polyfills.assign)(visibleQueryParams, queryParams);\n        this.normalizeQueryParams(routeName, models, visibleQueryParams);\n      }\n\n      return this.router.generate(routeName, ...models, {\n        queryParams: visibleQueryParams\n      });\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\n    isActiveForRoute(contexts, queryParams, routeName, routerState) {\n      var handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n\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\n      return routerState.isActiveIntent(routeName, contexts, queryParams);\n    }\n\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\n  function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n    var req = 0;\n\n    for (var i = 0; i < handlerInfos.length; i++) {\n      req += handlerInfos[i].names.length;\n\n      if (handlerInfos[i].handler === handlerName) {\n        break;\n      }\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  /**\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\n    has(bucketKey) {\n      return this.cache.has(bucketKey);\n    }\n\n    stash(bucketKey, key, value) {\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket === undefined) {\n        bucket = new Map();\n        this.cache.set(bucketKey, bucket);\n      }\n\n      bucket.set(key, value);\n    }\n\n    lookup(bucketKey, prop, defaultValue) {\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n\n      var bucket = this.cache.get(bucketKey);\n\n      if (bucket.has(prop)) {\n        return bucket.get(prop);\n      } else {\n        return defaultValue;\n      }\n    }\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  /**\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\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function isOptions(value) {\n    return value !== null && typeof value === 'object';\n  }\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\n    route(name, _options, _callback) {\n      var options;\n      var callback = null;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\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\n      (true && !((() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\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\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\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\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\n    push(url, name, callback, serialize) {\n      var parts = name.split('.');\n\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\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\n        }\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\n      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n\n      this.matches.push(url, name, callback);\n    }\n\n    generate() {\n      var dslMatches = this.matches;\n\n      if (!this.explicitIndex) {\n        this.route('index', {\n          path: '/'\n        });\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\n    mount(_name, options = {}) {\n      var engineRouteMap = this.options.resolveRouteMap(_name);\n      var name = _name;\n\n      if (options.as) {\n        name = options.as;\n      }\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\n      if (typeof path !== 'string') {\n        path = `/${name}`;\n      }\n\n      var callback;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\n      if (engineRouteMap) {\n        var shouldResetEngineInfo = false;\n        var oldEngineInfo = this.options.engineInfo;\n\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\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\n        if (shouldResetEngineInfo) {\n          this.options.engineInfo = oldEngineInfo;\n        }\n      }\n\n      var localFullName = 'application';\n      var routeInfo = (0, _polyfills.assign)({\n        localFullName\n      }, engineInfo);\n\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\n        var _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n\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\n      this.options.addRouteForEngine(fullName, routeInfo);\n      this.push(path, fullName, callback);\n    }\n\n  }\n\n  _exports.default = DSLImpl;\n\n  function canNest(dsl) {\n    return dsl.parent !== 'application';\n  }\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\n  function createRoute(dsl, name, options = {}, callback) {\n    var fullName = getFullName(dsl, name, options.resetNamespace);\n\n    if (typeof options.path !== 'string') {\n      options.path = `/${name}`;\n    }\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.generateControllerFactory = generateControllerFactory;\n  _exports.default = generateController;\n\n  /**\n  @module ember\n  */\n\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\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    });\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\n  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n    var fullName = `controller:${controllerName}`;\n    var instance = owner.lookup(fullName);\n\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n        (0, _debug.info)(`generated -> ${fullName}`, {\n          fullName\n        });\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\n  class QueryParams {\n    constructor(values = null) {\n      this.isQueryParams = true;\n      this.values = values;\n    }\n\n  }\n\n  _exports.default = QueryParams;\n});","define(\"@ember/-internals/routing/lib/system/route-info\", [], function () {\n  \"use strict\";\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/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/object/compat\", \"@ember/runloop\", \"@ember/string\", \"router_js\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/generate_controller\"], function (_exports, _polyfills, _metal, _owner, _runtime, _utils, _debug, _deprecatedFeatures, _compat, _runloop, _string, _router_js, _utils2, _generate_controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.defaultSerialize = defaultSerialize;\n  _exports.hasDefaultSerialize = hasDefaultSerialize;\n  _exports.getFullQueryParams = getFullQueryParams;\n  _exports.default = _exports.ROUTER_EVENT_DEPRECATIONS = _exports.ROUTE_CONNECTIONS = void 0;\n  var ROUTE_CONNECTIONS = new WeakMap();\n  _exports.ROUTE_CONNECTIONS = ROUTE_CONNECTIONS;\n\n  function defaultSerialize(model, params) {\n    if (params.length < 1 || !model) {\n      return;\n    }\n\n    var object = {};\n\n    if (params.length === 1) {\n      var [name] = params;\n\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      }\n    } else {\n      object = (0, _metal.getProperties)(model, params);\n    }\n\n    return object;\n  }\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\n  class Route extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.context = {};\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\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\n    _stashNames(routeInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n\n      var names = this._names = routeInfo['_names'];\n\n      if (!names.length) {\n        routeInfo = dynamicParent;\n        names = routeInfo && routeInfo['_names'] || [];\n      }\n\n      var qps = (0, _metal.get)(this, '_qp.qps');\n      var namePaths = new Array(names.length);\n\n      for (var a = 0; a < names.length; ++a) {\n        namePaths[a] = `${routeInfo.name}.${names[a]}`;\n      }\n\n      for (var i = 0; i < qps.length; ++i) {\n        var qp = qps[i];\n\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    }\n    /**\n      @private\n         @property _activeQPChanged\n    */\n\n\n    _activeQPChanged(qp, value) {\n      this._router._activeQPChanged(qp.scopedPropertyName, value);\n    }\n    /**\n      @private\n      @method _updatingQPChanged\n    */\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\n    paramsFor(name) {\n      var route = (0, _owner.getOwner)(this).lookup(`route:${name}`);\n\n      if (route === undefined) {\n        return {};\n      }\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\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\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\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\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\n    resetController(_controller, _isExiting, _transition) {\n      return this;\n    }\n    /**\n      @private\n         @method exit\n    */\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\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\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          controller.set('currentlyLoading', true);\n             transition.finally(function() {\n            controller.set('currentlyLoading', false);\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\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\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      @public\n    */\n\n\n    transitionTo(...args) {\n      // eslint-disable-line no-unused-vars\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\n    intermediateTransitionTo(...args) {\n      var [name, ...preparedArgs] = (0, _utils2.prefixRouteNameArg)(this, args);\n\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\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\n    replaceWith(...args) {\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\n    setup(context, transition) {\n      var controllerName = this.controllerName || this.routeName;\n      var definedController = this.controllerFor(controllerName, true);\n      var controller;\n\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\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\n      var queryParams = (0, _metal.get)(this, '_qp');\n      var states = queryParams.states;\n      controller._qpDelegate = states.allowOverrides;\n\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\n      this.setupController(controller, context, transition);\n\n      if (this._environment.options.shouldRender) {\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\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\n    _qpChanged(prop, value, qp) {\n      if (!qp) {\n        return;\n      } // Update model-dep cache\n\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\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\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\n    redirect() {}\n    /**\n      Called when the context is changed by router.js.\n         @private\n      @method contextDidChange\n    */\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\n    model(params, transition) {\n      var name, sawParams, value;\n      var queryParams = (0, _metal.get)(this, '_qp.map');\n\n      for (var prop in params) {\n        if (prop === 'queryParams' || queryParams && prop in queryParams) {\n          continue;\n        }\n\n        var match = prop.match(/^(.*)_id$/);\n\n        if (match !== null) {\n          name = match[1];\n          value = params[prop];\n        }\n\n        sawParams = true;\n      }\n\n      if (!name) {\n        if (sawParams) {\n          return (0, _polyfills.assign)({}, params);\n        } else {\n          if (transition.resolveIndex < 1) {\n            return;\n          }\n\n          return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n        }\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\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\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\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\n    controllerFor(name, _skipAssert) {\n      var owner = (0, _owner.getOwner)(this);\n      var route = owner.lookup(`route:${name}`);\n\n      if (route && route.controllerName) {\n        name = route.controllerName;\n      }\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\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\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\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\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\n        if (Object.prototype.hasOwnProperty.call(transition.resolvedModels, modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n\n      return route && route.currentModel;\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\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\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      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\n    disconnectOutlet(options) {\n      var outletName;\n      var parentView;\n\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\n      outletName = outletName || 'main';\n\n      this._disconnectOutlet(outletName, parentView);\n\n      var routeInfos = this._router._routerMicrolib.currentRouteInfos;\n\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\n    _disconnectOutlet(outletName, parentView) {\n      var parent = parentRoute(this);\n\n      if (parent && parentView === parent.routeName) {\n        parentView = undefined;\n      }\n\n      var connections = ROUTE_CONNECTIONS.get(this);\n\n      for (var i = 0; i < connections.length; i++) {\n        var connection = connections[i];\n\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\n    willDestroy() {\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method teardownViews\n    */\n\n\n    teardownViews() {\n      var connections = ROUTE_CONNECTIONS.get(this);\n\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\n    buildRouteInfoMetadata() {}\n\n  }\n\n  Route.reopenClass({\n    isRouteFactory: true\n  });\n\n  function parentRoute(route) {\n    var routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n    return routeInfo && routeInfo.route;\n  }\n\n  function routeInfoFor(route, routeInfos, offset = 0) {\n    if (!routeInfos) {\n      return;\n    }\n\n    var current;\n\n    for (var i = 0; i < routeInfos.length; i++) {\n      current = routeInfos[i].route;\n\n      if (current === route) {\n        return routeInfos[i + offset];\n      }\n    }\n\n    return;\n  }\n\n  function buildRenderOptions(route, nameOrOptions, options) {\n    var isDefaultRender = !nameOrOptions && !options;\n\n    var _name;\n\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\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\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\n    outlet = outlet || 'main';\n\n    if (isDefaultRender) {\n      name = route.routeName;\n      templateName = route.templateName || name;\n    } else {\n      name = _name.replace(/\\//g, '.');\n      templateName = name;\n    }\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\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\n    if (model === undefined) {\n      model = route.currentModel;\n    } else {\n      controller.set('model', model);\n    }\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\n    if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n      into = undefined;\n    }\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\n    if (true\n    /* DEBUG */\n    ) {\n      var LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n\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\n    return renderOptions;\n  }\n\n  function getFullQueryParams(router, state) {\n    if (state['fullQueryParams']) {\n      return state['fullQueryParams'];\n    }\n\n    state['fullQueryParams'] = {};\n    (0, _polyfills.assign)(state['fullQueryParams'], state.queryParams);\n\n    router._deserializeQueryParams(state.routeInfos, state['fullQueryParams']);\n\n    return state['fullQueryParams'];\n  }\n\n  function getQueryParamsFor(route, state) {\n    state['queryParamsFor'] = state['queryParamsFor'] || {};\n    var name = route.fullRouteName;\n\n    if (state['queryParamsFor'][name]) {\n      return state['queryParamsFor'][name];\n    }\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\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\n    return params;\n  }\n\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      return (0, _runtime.A)(value.slice());\n    }\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\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\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\n    for (var rqpName in routeQP) {\n      if (!Object.prototype.hasOwnProperty.call(routeQP, rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n        continue;\n      }\n\n      var newRouteParameterConfiguration = {};\n      (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n      qps[rqpName] = newRouteParameterConfiguration;\n    }\n\n    return qps;\n  }\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\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\n      (0, _metal.addObserver)(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n    });\n  }\n\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      var prefix = engine.mountPoint;\n\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return `${prefix}.${routeName}`;\n      }\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\n  Route.prototype.serialize = defaultSerialize;\n  Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n    mergedProperties: ['queryParams'],\n\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    /**\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    /**\n      @private\n         @property _names\n    */\n    _names: null,\n\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    /**\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        var namespace = (0, _metal.get)(this, '_router.namespace');\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}, but ${namespace}.${(0, _string.classify)(name)} did not exist and you did not override your route's \\`model\\` hook.`, Boolean(modelClass)));\n\n            if (!modelClass) {\n              return;\n            }\n\n            modelClass = modelClass.class;\n            (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`${(0, _string.classify)(name)} has no method \\`find\\`.`, typeof modelClass.find === 'function'));\n            return modelClass.find(value);\n          }\n\n        };\n      },\n\n      set(key, value) {\n        (0, _metal.defineProperty)(this, key, null, value);\n      }\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\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\n      var qps = [];\n      var map = {};\n      var propertyNames = [];\n\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\n        if (propName === 'unknownProperty' || propName === '_super') {\n          // possible todo: issue deprecation warning?\n          continue;\n        }\n\n        var desc = combinedQueryParameterConfiguration[propName];\n        var scope = desc.scope || 'model';\n        var parts = void 0;\n\n        if (scope === 'controller') {\n          parts = [];\n        }\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\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\n            this._qpChanged(prop, value, qp);\n          },\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\n            this._qpChanged(prop, value, qp);\n\n            return this._activeQPChanged(qp, value);\n          },\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\n            this._qpChanged(prop, value, qp);\n\n            return this._updatingQPChanged(qp);\n          }\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\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\n        if (action) {\n          return action.apply(this, args);\n        }\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\n        for (var i = 0; i < totalChanged.length; ++i) {\n          var qp = qpMap[totalChanged[i]];\n\n          if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n\n        return true;\n      },\n\n      finalizeQueryParamChange(params, finalParams, transition) {\n        if (this.fullRouteName !== 'application') {\n          return true;\n        } // Transition object is absent for intermediate transitions.\n\n\n        if (!transition) {\n          return;\n        }\n\n        var routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n        var router = this._router;\n\n        var qpMeta = router._queryParamsFor(routeInfos);\n\n        var changes = router._qpUpdates;\n        var qpUpdated = false;\n        var replaceUrl;\n        (0, _utils2.stashParamNames)(router, routeInfos);\n\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\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\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\n          controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n          var thisQueryParamChanged = svalue !== qp.serializedValue;\n\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              var options = route._optionsForQueryParam(qp);\n\n              var replaceConfigValue = (0, _metal.get)(options, 'replace');\n\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\n            (0, _metal.set)(controller, qp.prop, value);\n            qpUpdated = true;\n          } // Stash current serialized value of controller.\n\n\n          qp.serializedValue = svalue;\n          var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n\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\n        if (qpUpdated === true) {\n          (0, _metal.flushAsyncObservers)(false);\n        }\n\n        if (replaceUrl) {\n          transition.method('replace');\n        }\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\n        router._qpUpdates.clear();\n\n        return;\n      }\n\n    }\n  });\n  var ROUTER_EVENT_DEPRECATIONS;\n  _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS;\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n      on(name) {\n        this._super(...arguments);\n\n        var hasDidTransition = name === 'didTransition';\n        var hasWillTransition = name === 'willTransition';\n\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://emberjs.com/deprecations/v3.x#toc_deprecate-router-events',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\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://emberjs.com/deprecations/v3.x#toc_deprecate-router-events',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n        }\n      }\n\n    };\n    Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n      _paramsFor(routeName, params) {\n        var transition = this._router._routerMicrolib.activeTransition;\n\n        if (transition !== undefined) {\n          return this.paramsFor(routeName);\n        }\n\n        return params;\n      }\n\n    });\n  }\n\n  var _default = Route;\n  _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/system/router\", [\"exports\", \"@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, _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.triggerEvent = triggerEvent;\n  _exports.default = void 0;\n\n  function defaultDidTransition(infos) {\n    updatePaths(this);\n\n    this._cancelSlowTransitionTimer();\n\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\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n      }\n    }\n  }\n\n  function defaultWillTransition(oldInfos, newInfos, transition) {\n    (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n\n    if (true\n    /* DEBUG */\n    ) {\n      if ((0, _metal.get)(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\n  function K() {\n    return this;\n  }\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() {\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\n      this._resetQueuedQueryParameterChanges();\n    }\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\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\n          if (engineInfo) {\n            var engineInstance = router._getEngineInstance(engineInfo);\n\n            routeOwner = engineInstance;\n            routeName = engineInfo.localFullName;\n          }\n\n          var fullRouteName = `route:${routeName}`;\n          var route = routeOwner.lookup(fullRouteName);\n\n          if (seen[name]) {\n            return route;\n          }\n\n          seen[name] = true;\n\n          if (!route) {\n            var DefaultRoute = routeOwner.factoryFor('route:basic').class;\n            routeOwner.register(fullRouteName, DefaultRoute.extend());\n            route = routeOwner.lookup(fullRouteName);\n\n            if (true\n            /* DEBUG */\n            ) {\n              if ((0, _metal.get)(router, 'namespace.LOG_ACTIVE_GENERATION')) {\n                (0, _debug.info)(`generated -> ${fullRouteName}`, {\n                  fullName: fullRouteName\n                });\n              }\n            }\n          }\n\n          route._setRouteName(routeName);\n\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\n          return route;\n        }\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\n          return engineInfo.serializeMethod || _route.defaultSerialize;\n        }\n\n        updateURL(path) {\n          (0, _runloop.once)(() => {\n            location.setURL(path);\n            (0, _metal.set)(router, 'currentURL', path);\n          });\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://emberjs.com/deprecations/v3.x#toc_deprecate-router-events',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.11.0'\n                }\n              }));\n            }\n          }\n\n          router.didTransition(infos);\n        }\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://emberjs.com/deprecations/v3.x#toc_deprecate-router-events',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.11.0'\n                }\n              }));\n            }\n          }\n\n          router.willTransition(oldInfos, newInfos, transition);\n        }\n\n        triggerEvent(routeInfos, ignoreFailure, name, args) {\n          return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n        }\n\n        routeWillChange(transition) {\n          router.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\n        routeDidChange(transition) {\n          router.set('currentRoute', transition.to);\n          (0, _runloop.once)(() => {\n            router.trigger('routeDidChange', transition);\n          });\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\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\n        replaceURL(url) {\n          if (location.replaceURL) {\n            var doReplaceURL = () => {\n              location.replaceURL(url);\n              (0, _metal.set)(router, 'currentURL', url);\n            };\n\n            (0, _runloop.once)(doReplaceURL);\n          } else {\n            this.updateURL(url);\n          }\n        }\n\n      }\n\n      var routerMicrolib = this._routerMicrolib = new PrivateRouter();\n      var dslCallbacks = this.constructor.dslCallbacks || [K];\n\n      var dsl = this._buildDSL();\n\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\n      if (true\n      /* DEBUG */\n      ) {\n        if ((0, _metal.get)(this, 'namespace.LOG_TRANSITIONS_INTERNAL')) {\n          routerMicrolib.log = console.log.bind(console); // eslint-disable-line no-console\n        }\n      }\n\n      routerMicrolib.map(dsl.generate());\n    }\n\n    _buildDSL() {\n      var enableLoadingSubstates = this._hasModuleBasedResolver();\n\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var options = {\n        enableLoadingSubstates,\n\n        resolveRouteMap(name) {\n          return owner.factoryFor(`route-map:${name}`);\n        },\n\n        addRouteForEngine(name, engineInfo) {\n          if (!router._engineInfoByRoute[name]) {\n            router._engineInfoByRoute[name] = engineInfo;\n          }\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\n    _resetQueuedQueryParameterChanges() {\n      this._queuedQPChanges = {};\n    }\n\n    _hasModuleBasedResolver() {\n      var owner = (0, _owner.getOwner)(this);\n\n      if (!owner) {\n        return false;\n      }\n\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\n    startRouting() {\n      if (this.setupRouter()) {\n        var initialURL = (0, _metal.get)(this, 'initialURL');\n\n        if (initialURL === undefined) {\n          initialURL = (0, _metal.get)(this, 'location').getURL();\n        }\n\n        var initialTransition = this.handleURL(initialURL);\n\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    }\n\n    setupRouter() {\n      if (this._didSetupRouter) {\n        return false;\n      }\n\n      this._didSetupRouter = true;\n\n      this._setupLocation();\n\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\n      this._initRouterJs();\n\n      location.onUpdateURL(url => {\n        this.handleURL(url);\n      });\n      return true;\n    }\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\n      var routeInfos = this._routerMicrolib.currentRouteInfos;\n\n      if (!routeInfos) {\n        return;\n      }\n\n      var defaultParentState;\n      var liveRoutes = null;\n\n      for (var i = 0; i < routeInfos.length; i++) {\n        var route = routeInfos[i].route;\n\n        var connections = _route.ROUTE_CONNECTIONS.get(route);\n\n        var ownState = void 0;\n\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\n            if (name === route.routeName || outlet === 'main') {\n              ownState = appended.ownState;\n            }\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\n      if (!liveRoutes) {\n        return;\n      }\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\n        this._toplevelView.setOutletState(liveRoutes);\n\n        var instance = owner.lookup('-application-instance:main');\n\n        if (instance) {\n          instance.didCreateRootView(this._toplevelView);\n        }\n      } else {\n        this._toplevelView.setOutletState(liveRoutes);\n      }\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\n    _doURLTransition(routerJsMethod, url) {\n      this._initialTransitionStarted = true;\n\n      var transition = this._routerMicrolib[routerJsMethod](url || '/');\n\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\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\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\n    intermediateTransitionTo(name, ...args) {\n      this._routerMicrolib.intermediateTransitionTo(name, ...args);\n\n      updatePaths(this);\n\n      if (true\n      /* DEBUG */\n      ) {\n        var infos = this._routerMicrolib.currentRouteInfos;\n\n        if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n          // eslint-disable-next-line no-console\n          console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n        }\n      }\n    }\n\n    replaceWith(...args) {\n      return this.transitionTo(...args).method('replace');\n    }\n\n    generate(name, ...args) {\n      var url = this._routerMicrolib.generate(name, ...args);\n\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\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\n    isActiveIntent(routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\n    }\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\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\n    reset() {\n      this._didSetupRouter = false;\n      this._initialTransitionStarted = false;\n\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\n    }\n\n    willDestroy() {\n      if (this._toplevelView) {\n        this._toplevelView.destroy();\n\n        this._toplevelView = null;\n      }\n\n      super.willDestroy();\n      this.reset();\n      var instances = this._engineInstances;\n\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\n    _activeQPChanged(queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      (0, _runloop.once)(this, this._fireQueryParamTransition);\n    }\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\n    _fireQueryParamTransition() {\n      this.transitionTo({\n        queryParams: this._queuedQPChanges\n      });\n\n      this._resetQueuedQueryParameterChanges();\n    }\n\n    _setupLocation() {\n      var location = this.location;\n      var rootURL = this.rootURL;\n      var owner = (0, _owner.getOwner)(this);\n\n      if ('string' === typeof location && owner) {\n        var resolvedLocation = owner.lookup(`location:${location}`);\n\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\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\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\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\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\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\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\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\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\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\n    _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n      var qps = this._queryParamsFor(routeInfos);\n\n      for (var key in queryParams) {\n        var qp = qps.map[key];\n\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    }\n\n    _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n      var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n\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\n      this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n      (0, _polyfills.assign)(queryParams, _queryParams);\n\n      this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_keepDefaultQueryParamValues));\n\n      var transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n        queryParams\n      });\n\n      didBeginTransition(transition, this);\n      return transition;\n    }\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\n      var unchangedQPs = {};\n      var qpUpdates = this._qpUpdates;\n      var params = (0, _route.getFullQueryParams)(this, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n\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\n      this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n\n      this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n\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\n    _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n      var state = calculatePostTransitionState(this, targetRouteName, models);\n\n      this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n\n      this._serializeQueryParams(state.routeInfos, queryParams);\n\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\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\n    _queryParamsFor(routeInfos) {\n      var routeInfoLength = routeInfos.length;\n      var leafRouteName = routeInfos[routeInfoLength - 1].name;\n      var cached = this._qpCache[leafRouteName];\n\n      if (cached !== undefined) {\n        return cached;\n      }\n\n      var shouldCache = true;\n      var map = {};\n      var qps = [];\n      var qpsByUrlKey = true\n      /* DEBUG */\n      ? {} : null;\n      var qpMeta;\n      var qp;\n      var urlKey;\n      var qpOther;\n\n      for (var i = 0; i < routeInfoLength; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\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\n        for (var _i = 0; _i < qpMeta.qps.length; _i++) {\n          qp = qpMeta.qps[_i];\n\n          if (true\n          /* DEBUG */\n          ) {\n            urlKey = qp.urlKey;\n            qpOther = qpsByUrlKey[urlKey];\n\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\n            qpsByUrlKey[urlKey] = qp;\n          }\n\n          qps.push(qp);\n        }\n\n        (0, _polyfills.assign)(map, qpMeta.map);\n      }\n\n      var finalQPMeta = {\n        qps,\n        map\n      };\n\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\n      }\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\n    _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n      var state = calculatePostTransitionState(this, leafRouteName, contexts);\n      var routeInfos = state.routeInfos;\n      var qpMeta;\n\n      for (var i = 0, len = routeInfos.length; i < len; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\n\n        var qp = void 0;\n        var presentProp = void 0;\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\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\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\n      for (var i = 0; i < routeInfos.length; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n\n        if (!qpMeta) {\n          continue;\n        }\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\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\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\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              return false;\n            }\n\n            return true;\n          }()));\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            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    }\n\n    _scheduleLoadingEvent(transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n\n      this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n    }\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\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\n    _cancelSlowTransitionTimer() {\n      if (this._slowTransitionTimer) {\n        (0, _runloop.cancel)(this._slowTransitionTimer);\n      }\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\n    _markErrorAsHandled(error) {\n      this._handledErrors.add(error);\n    }\n\n    _isErrorHandled(error) {\n      return this._handledErrors.has(error);\n    }\n\n    _clearHandledError(error) {\n      this._handledErrors.delete(error);\n    }\n\n    _getEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      var engineInstances = this._engineInstances;\n\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n\n      var engineInstance = engineInstances[name][instanceId];\n\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\n      return engineInstance;\n    }\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\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\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\n  var defaultActionHandlers = {\n    willResolveModel(_routeInfos, transition, originRoute) {\n      this._scheduleLoadingEvent(transition, originRoute);\n    },\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\n          if (errorRouteName) {\n            router._markErrorAsHandled(error);\n\n            router.intermediateTransitionTo(errorRouteName, error);\n            return false;\n          }\n        } // Check for an 'error' substate route\n\n\n        var errorSubstateName = findRouteSubstateName(route, 'error');\n\n        if (errorSubstateName) {\n          router._markErrorAsHandled(error);\n\n          router.intermediateTransitionTo(errorSubstateName, error);\n          return false;\n        }\n\n        return true;\n      });\n      logError(error, `Error while processing route: ${transition.targetName}`);\n    },\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\n          if (loadingRouteName) {\n            router.intermediateTransitionTo(loadingRouteName);\n            return false;\n          }\n        } // Check for loading substate\n\n\n        var loadingSubstateName = findRouteSubstateName(route, 'loading');\n\n        if (loadingSubstateName) {\n          router.intermediateTransitionTo(loadingSubstateName);\n          return false;\n        } // Don't bubble above pivot route.\n\n\n        return transition.pivotHandler !== route;\n      });\n    }\n\n  };\n\n  function logError(_error, initialMessage) {\n    var errorArgs = [];\n    var error;\n\n    if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n      error = _error.errorThrown;\n    } else {\n      error = _error;\n    }\n\n    if (initialMessage) {\n      errorArgs.push(initialMessage);\n    }\n\n    if (error) {\n      if (error.message) {\n        errorArgs.push(error.message);\n      }\n\n      if (error.stack) {\n        errorArgs.push(error.stack);\n      }\n\n      if (typeof error === 'string') {\n        errorArgs.push(error);\n      }\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\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\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\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\n  function triggerEvent(routeInfos, ignoreFailure, name, args) {\n    if (!routeInfos) {\n      if (ignoreFailure) {\n        return;\n      }\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\n    var eventWasHandled = false;\n    var routeInfo, handler, actionHandler;\n\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\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\n          return;\n        }\n      }\n    }\n\n    var defaultHandler = defaultActionHandlers[name];\n\n    if (defaultHandler) {\n      defaultHandler.apply(this, [routeInfos, ...args]);\n      return;\n    }\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\n  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    var state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n\n    var {\n      routeInfos,\n      params\n    } = state;\n\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\n    return state;\n  }\n\n  function updatePaths(router) {\n    var infos = router._routerMicrolib.currentRouteInfos;\n\n    if (infos.length === 0) {\n      return;\n    }\n\n    var path = EmberRouter._routePath(infos);\n\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\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\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://emberjs.com/deprecations/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      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentPath');\n\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://emberjs.com/deprecations/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      }\n\n      (0, _metal.notifyPropertyChange)(appController, 'currentRouteName');\n    }\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\n      this.dslCallbacks.push(callback);\n      return this;\n    },\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\n        return true;\n      }\n\n      var name, nameParts, oldNameParts;\n\n      for (var i = 1; i < routeInfos.length; i++) {\n        name = routeInfos[i].name;\n        nameParts = name.split('.');\n        oldNameParts = slice.call(path);\n\n        while (oldNameParts.length) {\n          if (intersectionMatches(oldNameParts, nameParts)) {\n            break;\n          }\n\n          oldNameParts.shift();\n        }\n\n        path.push(...nameParts.slice(oldNameParts.length));\n      }\n\n      return path.join('.');\n    }\n\n  });\n\n  function didBeginTransition(transition, router) {\n    var routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n\n    if (!router.currentState) {\n      router.set('currentState', routerState);\n    }\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\n  function forEachQueryParam(router, routeInfos, queryParams, callback) {\n    var qpCache = router._queryParamsFor(routeInfos);\n\n    for (var key in queryParams) {\n      if (!Object.prototype.hasOwnProperty.call(queryParams, key)) {\n        continue;\n      }\n\n      var value = queryParams[key];\n      var qp = qpCache.map[key];\n      callback(key, value, qp);\n    }\n  }\n\n  function findLiveRoute(liveRoutes, name) {\n    if (!liveRoutes) {\n      return;\n    }\n\n    var stack = [liveRoutes];\n\n    while (stack.length > 0) {\n      var test = stack.shift();\n\n      if (test.render.name === name) {\n        return test;\n      }\n\n      var outlets = test.outlets;\n\n      for (var outletName in outlets) {\n        stack.push(outlets[outletName]);\n      }\n    }\n\n    return;\n  }\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\n    if (renderOptions.into) {\n      target = findLiveRoute(liveRoutes, renderOptions.into);\n    } else {\n      target = defaultParentState;\n    }\n\n    if (target) {\n      (0, _metal.set)(target.outlets, renderOptions.outlet, ownState);\n    } else {\n      liveRoutes = ownState;\n    }\n\n    return {\n      liveRoutes,\n      ownState\n    };\n  }\n\n  function representEmptyRoute(liveRoutes, defaultParentState, {\n    routeName\n  }) {\n    // the route didn't render anything\n    var alreadyAppended = findLiveRoute(liveRoutes, routeName);\n\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\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    /**\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    /**\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    /**\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    /**\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\n      if (typeof location === 'string') {\n        return undefined;\n      }\n\n      return location.getURL();\n    })\n  });\n\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n  }\n\n  var _default = EmberRouter;\n  _exports.default = _default;\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\n  class RouterState {\n    constructor(emberRouter, router, routerJsState) {\n      this.emberRouter = emberRouter;\n      this.router = router;\n      this.routerJsState = routerJsState;\n    }\n\n    isActiveIntent(routeName, models, queryParams) {\n      var state = this.routerJsState;\n\n      if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n        return false;\n      }\n\n      if (queryParams !== undefined && Object.keys(queryParams).length > 0) {\n        var visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n\n        return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n      }\n\n      return true;\n    }\n\n  }\n\n  _exports.default = RouterState;\n});","define(\"@ember/-internals/routing/lib/system/transition\", [], function () {\n  \"use strict\";\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/error\", \"@ember/polyfills\", \"router_js\"], function (_exports, _metal, _owner, _error, _polyfills, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.extractRouteArgs = extractRouteArgs;\n  _exports.getActiveTargetName = getActiveTargetName;\n  _exports.stashParamNames = stashParamNames;\n  _exports.calculateCacheKey = calculateCacheKey;\n  _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  _exports.resemblesURL = resemblesURL;\n  _exports.prefixRouteNameArg = prefixRouteNameArg;\n  _exports.shallowEqual = shallowEqual;\n  var ALL_PERIODS_REGEX = /\\./g;\n\n  function extractRouteArgs(args) {\n    args = args.slice();\n    var possibleQueryParams = args[args.length - 1];\n    var queryParams;\n\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\n    var routeName = args.shift();\n    var models = args;\n    return {\n      routeName,\n      models,\n      queryParams\n    };\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\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\n    var targetRouteName = routeInfos[routeInfos.length - 1].name;\n\n    var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n\n    var dynamicParent;\n\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i];\n      var names = recogHandlers[i].names;\n\n      if (names.length) {\n        dynamicParent = routeInfo;\n      }\n\n      routeInfo['_names'] = names;\n      var route = routeInfo.route;\n\n      route._stashNames(routeInfo, dynamicParent);\n    }\n\n    routeInfos['_namesStashed'] = true;\n  }\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\n    for (var i = 0; i < prefixParts.length; i++) {\n      var currPart = prefixParts.slice(0, i + 1).join('.');\n\n      if (part.indexOf(currPart) !== 0) {\n        break;\n      }\n\n      currPrefix = currPart;\n    }\n\n    return currPrefix;\n  }\n  /*\n    Stolen from Controller\n  */\n\n\n  function calculateCacheKey(prefix, parts = [], values) {\n    var suffixes = '';\n\n    for (var i = 0; i < parts.length; ++i) {\n      var part = parts[i];\n\n      var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n\n      var value = void 0;\n\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\n      suffixes += `::${part}:${value}`;\n    }\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\n  function normalizeControllerQueryParams(queryParams) {\n    var qpMap = {};\n\n    for (var i = 0; i < queryParams.length; ++i) {\n      accumulateQueryParamDescriptors(queryParams[i], qpMap);\n    }\n\n    return qpMap;\n  }\n\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    var desc = _desc;\n    var tmp;\n\n    if (typeof desc === 'string') {\n      tmp = {};\n      tmp[desc] = {\n        as: null\n      };\n      desc = tmp;\n    }\n\n    for (var key in desc) {\n      if (!Object.prototype.hasOwnProperty.call(desc, key)) {\n        return;\n      }\n\n      var singleDesc = desc[key];\n\n      if (typeof singleDesc === 'string') {\n        singleDesc = {\n          as: singleDesc\n        };\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\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\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\n    return args;\n  }\n\n  function shallowEqual(a, b) {\n    var k;\n    var aCount = 0;\n    var bCount = 0;\n\n    for (k in a) {\n      if (Object.prototype.hasOwnProperty.call(a, k)) {\n        if (a[k] !== b[k]) {\n          return false;\n        }\n\n        aCount++;\n      }\n    }\n\n    for (k in b) {\n      if (Object.prototype.hasOwnProperty.call(b, k)) {\n        bCount++;\n      }\n    }\n\n    return aCount === bCount;\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, \"Object\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FrameworkObject\", {\n    enumerable: true,\n    get: function () {\n      return _object.FrameworkObject;\n    }\n  });\n  Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _registry_proxy.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, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _compare.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Array\", {\n    enumerable: true,\n    get: function () {\n      return _array.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NativeArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.NativeArray;\n    }\n  });\n  Object.defineProperty(_exports, \"A\", {\n    enumerable: true,\n    get: function () {\n      return _array.A;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.MutableArray;\n    }\n  });\n  Object.defineProperty(_exports, \"removeAt\", {\n    enumerable: true,\n    get: function () {\n      return _array.removeAt;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _array.uniqBy;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.isArray;\n    }\n  });\n  Object.defineProperty(_exports, \"Comparable\", {\n    enumerable: true,\n    get: function () {\n      return _comparable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Namespace\", {\n    enumerable: true,\n    get: function () {\n      return _namespace.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, \"ObjectProxy\", {\n    enumerable: true,\n    get: function () {\n      return _object_proxy.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, \"ActionHandler\", {\n    enumerable: true,\n    get: function () {\n      return _action_handler.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Copyable\", {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Enumerable\", {\n    enumerable: true,\n    get: function () {\n      return _enumerable.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, \"Observable\", {\n    enumerable: true,\n    get: function () {\n      return _observable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableEnumerable\", {\n    enumerable: true,\n    get: function () {\n      return _mutable_enumerable.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, \"Evented\", {\n    enumerable: true,\n    get: function () {\n      return _evented.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, \"onerrorDefault\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.onerrorDefault;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _typeOf.typeOf;\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\n  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n\n    var type1 = (0, _typeOf.typeOf)(v);\n    var type2 = (0, _typeOf.typeOf)(w);\n\n    if (type1 === 'instance' && _comparable.default.detect(v) && v.constructor.compare) {\n      return v.constructor.compare(v, w);\n    }\n\n    if (type2 === 'instance' && _comparable.default.detect(w) && w.constructor.compare) {\n      return w.constructor.compare(w, v) * -1;\n    }\n\n    var res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n\n    if (res !== 0) {\n      return res;\n    } // types are equal - so we have to check values now\n\n\n    switch (type1) {\n      case 'boolean':\n      case 'number':\n        return spaceship(v, w);\n\n      case 'string':\n        return spaceship(v.localeCompare(w), 0);\n\n      case 'array':\n        {\n          var vLen = v.length;\n          var wLen = w.length;\n          var len = Math.min(vLen, wLen);\n\n          for (var i = 0; i < len; i++) {\n            var r = compare(v[i], w[i]);\n\n            if (r !== 0) {\n              return r;\n            }\n          } // all elements are equal now\n          // shorter array should be ordered first\n\n\n          return spaceship(vLen, wLen);\n        }\n\n      case 'instance':\n        if (_comparable.default.detect(v)) {\n          return v.compare(v, w);\n        }\n\n        return 0;\n\n      case 'date':\n        return spaceship(v.getTime(), w.getTime());\n\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  /**\n   @module @ember/object\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\n    var ret, loc; // avoid cyclical loops\n\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\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\n    if (Array.isArray(obj)) {\n      ret = obj.slice();\n\n      if (deep) {\n        copies.push(ret);\n        loc = ret.length;\n\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\n      if (deep) {\n        copies.push(ret);\n      }\n    } else if (obj instanceof Date) {\n      ret = new Date(obj.getTime());\n\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\n      if (deep) {\n        copies.push(ret);\n      }\n\n      var key;\n\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\n        if (key.substring(0, 2) === '__') {\n          continue;\n        }\n\n        ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n      }\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\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://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable'\n    })); // fast paths\n\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n\n    if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\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  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          }));\n          return (0, _metal.computed)(...arguments, this);\n        }\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          }));\n          return (0, _metal.observer)(...arguments, this);\n        }\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          }));\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.onerrorDefault = onerrorDefault;\n  _exports.default = void 0;\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\n  function onerrorDefault(reason) {\n    var error = errorFor(reason);\n\n    if (error) {\n      var overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n\n      if (overrideDispatch) {\n        overrideDispatch(error);\n      } else {\n        throw error;\n      }\n    }\n  }\n\n  function errorFor(reason) {\n    if (!reason) return;\n\n    if (reason.errorThrown) {\n      return unwrapErrorThrown(reason);\n    }\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\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n\n    return reason;\n  }\n\n  function unwrapErrorThrown(reason) {\n    var error = reason.errorThrown;\n\n    if (typeof error === 'string') {\n      error = new Error(error);\n    }\n\n    Object.defineProperty(error, '__reason_with_error_thrown__', {\n      value: reason,\n      enumerable: false\n    });\n    return error;\n  }\n\n  var _default = RSVP;\n  _exports.default = _default;\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  /**\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\n    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\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/validator\"], function (_exports, _meta, _metal, _utils, _debug, _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  /**\n  @module ember\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  /**\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\n\n  var _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\n    init() {\n      this._super(...arguments);\n\n      (0, _utils.setProxy)(this);\n      (0, _metal.tagForObject)(this);\n    },\n\n    willDestroy() {\n      this.set('content', null);\n\n      this._super(...arguments);\n    },\n\n    isTruthy: (0, _metal.computed)('content', function () {\n      return Boolean((0, _metal.get)(this, 'content'));\n    }),\n\n    [_metal.CUSTOM_TAG_FOR](key, addMandatorySetter) {\n      var meta = (0, _validator.tagMetaFor)(this);\n      var tag = (0, _validator.tagFor)(this, key, meta);\n\n      if (true\n      /* DEBUG */\n      ) {\n        // TODO: Replace this with something more first class for tracking tags in DEBUG\n        tag._propertyKey = key;\n      }\n\n      if (key in this) {\n        if (true\n        /* DEBUG */\n        && addMandatorySetter) {\n          (0, _utils.setupMandatorySetter)(tag, this, key);\n        }\n\n        return tag;\n      } else {\n        var tags = [tag, (0, _validator.tagFor)(this, 'content', meta)];\n        var content = contentFor(this);\n\n        if ((0, _utils.isObject)(content)) {\n          tags.push((0, _metal.tagForProperty)(content, key, addMandatorySetter));\n        }\n\n        return (0, _validator.combine)(tags);\n      }\n    },\n\n    unknownProperty(key) {\n      var content = contentFor(this);\n\n      if (content) {\n        return (0, _metal.get)(content, key);\n      }\n    },\n\n    setUnknownProperty(key, value) {\n      var m = (0, _meta.meta)(this);\n\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\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  });\n\n  _exports.default = _default;\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  /**\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  var ActionHandler = _metal.Mixin.create({\n    mergedProperties: ['actions'],\n\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\n      if (this.actions && this.actions[actionName]) {\n        var shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\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  });\n\n  var _default = ActionHandler;\n  _exports.default = _default;\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.uniqBy = uniqBy;\n  _exports.removeAt = removeAt;\n  _exports.isArray = isArray;\n  _exports.default = _exports.MutableArray = _exports.NativeArray = _exports.A = void 0;\n\n  /**\n  @module @ember/array\n  */\n  var EMPTY_ARRAY = Object.freeze([]);\n\n  var identityFunction = item => item;\n\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\n      if (!seen.has(val)) {\n        seen.add(val);\n        ret.push(item);\n      }\n    });\n    return ret;\n  }\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\n  function findIndex(array, predicate, startAt) {\n    var len = array.length;\n\n    for (var index = startAt; index < len; index++) {\n      var item = (0, _metal.objectAt)(array, index);\n\n      if (predicate(item, index, array)) {\n        return index;\n      }\n    }\n\n    return -1;\n  }\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\n  function any(array, callback, target) {\n    var predicate = callback.bind(target);\n    return findIndex(array, predicate, 0) !== -1;\n  }\n\n  function every(array, callback, target) {\n    var cb = callback.bind(target);\n\n    var predicate = (item, index, array) => !cb(item, index, array);\n\n    return findIndex(array, predicate, 0) === -1;\n  }\n\n  function indexOf(array, val, startAt = 0, withNaNCheck) {\n    var len = array.length;\n\n    if (startAt < 0) {\n      startAt += len;\n    } // SameValueZero comparison (NaN !== NaN)\n\n\n    var predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n    return findIndex(array, predicate, startAt);\n  }\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\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\n  function isArray(_obj) {\n    var obj = _obj;\n\n    if (true\n    /* DEBUG */\n    && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n      var possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n\n      if (possibleProxyContent !== undefined) {\n        obj = possibleProxyContent;\n      }\n    }\n\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n\n    if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n      return true;\n    }\n\n    var type = (0, _typeOf.typeOf)(obj);\n\n    if ('array' === type) {\n      return true;\n    }\n\n    var length = obj.length;\n\n    if (typeof length === 'number' && length === length && 'object' === type) {\n      return true;\n    }\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\n  function nonEnumerableComputed() {\n    var property = (0, _metal.computed)(...arguments);\n    property.enumerable = false;\n    return property;\n  }\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\n  var ArrayMixin = _metal.Mixin.create(_enumerable.default, {\n    init() {\n      this._super(...arguments);\n\n      (0, _utils.setEmberArray)(this);\n    },\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    /**\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\n      set(key, value) {\n        this.replace(0, this.length, value);\n        return this;\n      }\n\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    /**\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\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\n      if (beginIndex < 0) {\n        beginIndex = length + beginIndex;\n      }\n\n      if (endIndex === undefined || endIndex > length) {\n        endIndex = length;\n      } else if (endIndex < 0) {\n        endIndex = length + endIndex;\n      }\n\n      while (beginIndex < endIndex) {\n        ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n      }\n\n      return ret;\n    },\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    /**\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\n      if (startAt === undefined || startAt >= len) {\n        startAt = len - 1;\n      }\n\n      if (startAt < 0) {\n        startAt += len;\n      }\n\n      for (var idx = startAt; idx >= 0; idx--) {\n        if ((0, _metal.objectAt)(this, idx) === object) {\n          return idx;\n        }\n      }\n\n      return -1;\n    },\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    /**\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    /**\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\n      get() {\n        return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\n      }\n\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    /**\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    /**\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\n      for (var index = 0; index < length; index++) {\n        var item = this.objectAt(index);\n        callback.call(target, item, index, this);\n      }\n\n      return this;\n    },\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n\n        return 0;\n      });\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    /**\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    /**\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\n      var predicate = value === value ? item => item !== value : item => item === item;\n      return this.filter(predicate);\n    }\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\n  var 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\n      if (len === 0) {\n        return this;\n      }\n\n      this.replace(0, len, EMPTY_ARRAY);\n      return this;\n    },\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    /**\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    /**\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    /**\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    /**\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\n      if (len === 0) {\n        return null;\n      }\n\n      var ret = (0, _metal.objectAt)(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\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\n      var ret = (0, _metal.objectAt)(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\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    /**\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    /**\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\n      if (len === 0) {\n        return this;\n      }\n\n      var objects = this.toArray().reverse();\n      this.replace(0, len, objects);\n      return this;\n    },\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\n      var len = this.length;\n      this.replace(0, len, objects);\n      return this;\n    },\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\n      while (--loc >= 0) {\n        var curObject = (0, _metal.objectAt)(this, loc);\n\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n\n      return this;\n    },\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\n      for (var i = objects.length - 1; i >= 0; i--) {\n        this.removeObject(objects[i]);\n      }\n\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\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\n      if (!included) {\n        this.pushObject(obj);\n      }\n\n      return this;\n    },\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  /**\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\n  _exports.MutableArray = MutableArray;\n\n  var NativeArray = _metal.Mixin.create(MutableArray, _observable.default, {\n    objectAt(idx) {\n      return this[idx];\n    },\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\n  }); // Remove any methods implemented natively so we don't override them\n\n\n  _exports.NativeArray = NativeArray;\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  _exports.A = A;\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n    NativeArray.apply(Array.prototype, true);\n\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\n      if (!arr) {\n        arr = [];\n      }\n\n      return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n    };\n  }\n\n  var _default = ArrayMixin;\n  _exports.default = _default;\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  /**\n  @module ember\n  */\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 = _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\n  _exports.default = _default;\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  /**\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  var containerProxyMixin = {\n    /**\n     The container stores state.\n      @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n\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    /**\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\n    destroy() {\n      var container = this.__container__;\n\n      if (container) {\n        (0, _runloop.join)(() => {\n          container.destroy();\n          (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n        });\n      }\n\n      this._super();\n    },\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  };\n\n  var _default = _metal.Mixin.create(containerProxyMixin);\n\n  _exports.default = _default;\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  /**\n  @module ember\n  */\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 = _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\n  _exports.default = _default;\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  /**\n  @module @ember/enumerable\n  @private\n  */\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 = _metal.Mixin.create();\n\n  _exports.default = _default;\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  /**\n  @module @ember/object\n  */\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 = _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    /**\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    /**\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    /**\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    /**\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  });\n\n  _exports.default = _default;\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  /**\n  @module ember\n  */\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 = _metal.Mixin.create(_enumerable.default);\n\n  _exports.default = _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  /**\n  @module @ember/object\n  */\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 = _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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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\n      if (meta !== null) {\n        return meta.valueFor(keyName);\n      }\n    }\n\n  });\n\n  _exports.default = _default;\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  /**\n    @module @ember/object\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\n      return value;\n    }, reason => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          reason,\n          isRejected: true\n        });\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\n\n  var _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    /**\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    /**\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    /**\n      Will become `true` if the proxied promise is rejected.\n       @property isRejected\n      @default false\n      @public\n    */\n    isRejected: false,\n\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    /**\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\n      set(key, promise) {\n        return tap(this, promise);\n      }\n\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    /**\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    /**\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\n  _exports.default = _default;\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  /**\n  @module ember\n  */\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 = _metal.Mixin.create({\n    __registry__: null,\n\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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    /**\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\n  _exports.default = _default;\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  /**\n  @module ember\n  */\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  var _default = _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\n      if (typeof actionContext === 'string') {\n        var value = (0, _metal.get)(this, actionContext);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, actionContext);\n        }\n\n        return value;\n      } else {\n        return actionContext;\n      }\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\n      if (actionContext === undefined) {\n        actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n      }\n\n      if (target && action) {\n        var ret;\n\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\n        if (ret !== false) {\n          return true;\n        }\n      }\n\n      return false;\n    }\n\n  });\n\n  _exports.default = _default;\n\n  function getTarget(instance) {\n    var target = (0, _metal.get)(instance, 'target');\n\n    if (target) {\n      if (typeof target === 'string') {\n        var value = (0, _metal.get)(instance, target);\n\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, target);\n        }\n\n        return value;\n      } else {\n        return target;\n      }\n    }\n\n    if (instance._target) {\n      return instance._target;\n    }\n\n    return null;\n  }\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/validator\"], function (_exports, _metal, _utils, _object, _array, _debug, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module @ember/array\n  */\n  var ARRAY_OBSERVER_MAPPING = {\n    willChange: '_arrangedContentArrayWillChange',\n    didChange: '_arrangedContentArrayDidChange'\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    }\n\n    [_metal.PROPERTY_DID_CHANGE]() {\n      this._revalidate();\n    }\n\n    [_metal.CUSTOM_TAG_FOR](key) {\n      if (key === '[]') {\n        this._revalidate();\n\n        return this._arrTag;\n      } else if (key === 'length') {\n        this._revalidate();\n\n        return this._lengthTag;\n      }\n\n      return (0, _validator.tagFor)(this, key);\n    }\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\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\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\n    replaceContent(idx, amt, objects) {\n      (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n    } // Overriding objectAt is not supported.\n\n\n    objectAt(idx) {\n      this._revalidate();\n\n      if (this._objects === null) {\n        this._objects = [];\n      }\n\n      if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n        if (arrangedContent) {\n          var length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n\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\n        this._objectsDirtyIndex = -1;\n      }\n\n      return this._objects[idx];\n    } // Overriding length is not supported.\n\n\n    get length() {\n      this._revalidate();\n\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\n      (0, _validator.consumeTag)(this._lengthTag);\n      return this._length;\n    }\n\n    set length(value) {\n      var length = this.length;\n      var removedCount = length - value;\n      var added;\n\n      if (removedCount === 0) {\n        return;\n      } else if (removedCount < 0) {\n        added = new Array(-removedCount);\n        removedCount = 0;\n      }\n\n      var content = (0, _metal.get)(this, 'content');\n\n      if (content) {\n        (0, _metal.replace)(content, value, removedCount, added);\n\n        this._invalidate();\n      }\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\n      this._removeArrangedContentArrayObserver();\n\n      this.arrayContentWillChange(0, oldLength, newLength);\n\n      this._invalidate();\n\n      this.arrayContentDidChange(0, oldLength, newLength);\n\n      this._addArrangedContentArrayObserver(arrangedContent);\n    }\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);\n        this._arrangedContent = arrangedContent;\n      }\n    }\n\n    _removeArrangedContentArrayObserver() {\n      if (this._arrangedContent) {\n        (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n      }\n    }\n\n    _arrangedContentArrayWillChange() {}\n\n    _arrangedContentArrayDidChange(proxy, idx, removedCnt, addedCnt) {\n      this.arrayContentWillChange(idx, removedCnt, addedCnt);\n      var dirtyIndex = idx;\n\n      if (dirtyIndex < 0) {\n        var length = (0, _metal.get)(this._arrangedContent, 'length');\n        dirtyIndex += length + removedCnt - addedCnt;\n      }\n\n      if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n        this._objectsDirtyIndex = dirtyIndex;\n      }\n\n      this._lengthDirty = true;\n      this.arrayContentDidChange(idx, removedCnt, addedCnt);\n    }\n\n    _invalidate() {\n      this._objectsDirtyIndex = 0;\n      this._lengthDirty = true;\n    }\n\n    _revalidate() {\n      if (this._arrangedContentIsUpdating === true) return;\n\n      if (this._arrangedContentTag === null || !(0, _validator.validateTag)(this._arrangedContentTag, this._arrangedContentRevision)) {\n        var arrangedContent = this.get('arrangedContent');\n\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\n          this._updateArrangedContentArray(arrangedContent);\n\n          this._arrangedContentIsUpdating = false;\n        }\n\n        var arrangedContentTag = this._arrangedContentTag = (0, _validator.tagFor)(this, 'arrangedContent');\n        this._arrangedContentRevision = (0, _validator.valueForTag)(this._arrangedContentTag);\n\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  }\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\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  });\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/runtime\"], function (_exports, _container, _owner, _polyfills, _utils, _meta2, _metal, _action_handler, _debug, _util, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n    @module @ember/object\n  */\n  var reopen = _metal.Mixin.prototype.reopen;\n  var wasApplied = new _util._WeakSet();\n  var prototypeMixinMap = new WeakMap();\n  var initCalled = true\n  /* DEBUG */\n  ? new _util._WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n\n  var destroyCalled = new Set();\n\n  function ensureDestroyCalled(instance) {\n    if (!destroyCalled.has(instance)) {\n      instance.destroy();\n    }\n  }\n\n  function initialize(obj, properties) {\n    var m = (0, _meta2.meta)(obj);\n\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 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\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\n        if (!isDescriptor) {\n          if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n            var baseValue = obj[keyName];\n\n            if (baseValue) {\n              value = (0, _utils.makeArray)(baseValue).concat(value);\n            } else {\n              value = (0, _utils.makeArray)(value);\n            }\n          }\n\n          if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n            var _baseValue = obj[keyName];\n            value = (0, _polyfills.assign)({}, _baseValue, value);\n          }\n        }\n\n        if (isDescriptor) {\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\n          /* DEBUG */\n          ) {\n            (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n          } else {\n            obj[keyName] = value;\n          }\n        }\n      }\n    } // using DEBUG here to avoid the extraneous variable when not needed\n\n\n    if (true\n    /* DEBUG */\n    ) {\n      initCalled.add(obj);\n    }\n\n    obj.init(properties);\n    m.unsetInitializing();\n    var observerEvents = m.observerEvents();\n\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\n    (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\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\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[_runtime.OWNER] = owner; // prepare prototype...\n\n      this.constructor.proto();\n      var self = this;\n\n      if (true\n      /* DEBUG */\n      && _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\n        self = new Proxy(this, {\n          get(target, property, receiver) {\n            if (property === _metal.PROXY_CONTENT) {\n              return target;\n            } else if ( // 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\n            var value = target.unknownProperty.call(receiver, property);\n\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      }\n\n      (0, _runtime.registerDestructor)(self, ensureDestroyCalled, true);\n      (0, _runtime.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\n      /* DEBUG */\n      && 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\n    set [_owner.LEGACY_OWNER](value) {}\n\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\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\n    get isDestroyed() {\n      return (0, _runtime.isDestroyed)(this);\n    }\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\n    get isDestroying() {\n      return (0, _runtime.isDestroying)(this);\n    }\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\n    destroy() {\n      // Used to ensure that manually calling `.destroy()` does not immediately call destroy again\n      destroyCalled.add(this);\n\n      try {\n        (0, _runtime.destroy)(this);\n      } finally {\n        destroyCalled.delete(this);\n      }\n\n      return this;\n    }\n    /**\n      Override to implement teardown.\n       @method willDestroy\n      @public\n    */\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\n    toString() {\n      var hasToStringExtension = typeof this.toStringExtension === 'function';\n      var extension = hasToStringExtension ? `:${this.toStringExtension()}` : '';\n      var ret = `<${(0, _utils.getName)(this) || (0, _container.getFactoryFor)(this) || this.constructor.toString()}:${(0, _utils.guidFor)(this)}${extension}>`;\n      return ret;\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\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\n    static create(props, extra) {\n      var instance;\n\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\n      if (extra === undefined) {\n        initialize(instance, props);\n      } else {\n        initialize(instance, flattenProps.apply(this, arguments));\n      }\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\n    static reopen() {\n      this.willReopen();\n      reopen.apply(this.PrototypeMixin, arguments);\n      return this;\n    }\n\n    static willReopen() {\n      var p = this.prototype;\n\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\n    static reopenClass() {\n      (0, _metal.applyMixin)(this, arguments);\n      return this;\n    }\n\n    static detect(obj) {\n      if ('function' !== typeof obj) {\n        return false;\n      }\n\n      while (obj) {\n        if (obj === this) {\n          return true;\n        }\n\n        obj = obj.superclass;\n      }\n\n      return false;\n    }\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\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\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\n          callback.call(binding, name, _meta);\n        }\n      });\n    }\n\n    static get PrototypeMixin() {\n      var prototypeMixin = prototypeMixinMap.get(this);\n\n      if (prototypeMixin === undefined) {\n        prototypeMixin = _metal.Mixin.create();\n        prototypeMixin.ownerConstructor = this;\n        prototypeMixinMap.set(this, prototypeMixin);\n      }\n\n      return prototypeMixin;\n    }\n\n    static get superclass() {\n      var c = Object.getPrototypeOf(this);\n      return c !== Function.prototype ? c : undefined;\n    }\n\n    static proto() {\n      var p = this.prototype;\n\n      if (!wasApplied.has(p)) {\n        wasApplied.add(p);\n        var parent = this.superclass;\n\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\n        if (prototypeMixinMap.has(this)) {\n          this.PrototypeMixin.apply(p);\n        }\n      }\n\n      return p;\n    }\n\n  }\n\n  CoreObject.toString = _metal.classToString;\n  (0, _utils.setName)(CoreObject, 'Ember.CoreObject');\n  CoreObject.isClass = true;\n  CoreObject.isMethod = false;\n\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\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\n      for (var j = 0, k = keyNames.length; j < k; j++) {\n        var keyName = keyNames[j];\n        var value = properties[keyName];\n\n        if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n          var baseValue = initProperties[keyName];\n\n          if (baseValue) {\n            value = (0, _utils.makeArray)(baseValue).concat(value);\n          } else {\n            value = (0, _utils.makeArray)(value);\n          }\n        }\n\n        if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n          var _baseValue2 = initProperties[keyName];\n          value = (0, _polyfills.assign)({}, _baseValue2, value);\n        }\n\n        initProperties[keyName] = value;\n      }\n    }\n\n    return initProperties;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\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\n      for (var key in proto) {\n        var desc = (0, _metal.descriptorForProperty)(proto, key);\n\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\n    CoreObject._lazyInjections = function () {\n      var injections = {};\n      var proto = this.proto();\n      var key;\n      var desc;\n\n      for (key in proto) {\n        desc = (0, _metal.descriptorForProperty)(proto, key);\n\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\n          injections[key] = {\n            namespace,\n            source,\n            specifier: `${type}:${name || key}`\n          };\n        }\n      }\n\n      return injections;\n    };\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, _runtime.OWNER, {\n      get() {\n        return instanceOwner.get(this);\n      },\n\n      set(value) {\n        instanceOwner.set(this, value);\n      }\n\n    });\n    Object.defineProperty(CoreObject.prototype, _container.INIT_FACTORY, {\n      get() {\n        return instanceFactory.get(this);\n      },\n\n      set(value) {\n        instanceFactory.set(this, value);\n      }\n\n    });\n  }\n\n  var _default = CoreObject;\n  _exports.default = _default;\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  /**\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  class Namespace extends _object.default {\n    init() {\n      (0, _metal.addNamespace)(this);\n    }\n\n    toString() {\n      var name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n\n      if (name) {\n        return name;\n      }\n\n      (0, _metal.findNamespaces)();\n      name = (0, _utils.getName)(this);\n\n      if (name === undefined) {\n        name = (0, _utils.guidFor)(this);\n        (0, _utils.setName)(this, name);\n      }\n\n      return name;\n    }\n\n    nameClasses() {\n      (0, _metal.processNamespace)(this);\n    }\n\n    destroy() {\n      (0, _metal.removeNamespace)(this);\n      super.destroy();\n    }\n\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.FrameworkObject = _exports.default = void 0;\n\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  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  }\n\n  _exports.default = EmberObject;\n  (0, _utils.setName)(EmberObject, 'Ember.Object');\n\n  _observable.default.apply(EmberObject.prototype);\n\n  var FrameworkObject;\n  _exports.FrameworkObject = 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  };\n\n  _observable.default.apply(FrameworkObject.prototype);\n\n  if (true\n  /* DEBUG */\n  ) {\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\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    };\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  /**\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  class ObjectProxy extends _object.default {}\n\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  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\n    if (item === undefined) {\n      return 'undefined';\n    }\n\n    var ret = TYPE_MAP[toString.call(item)] || 'object';\n\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\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.enumerableSymbol = enumerableSymbol;\n  _exports.isInternalSymbol = isInternalSymbol;\n  _exports.dictionary = makeDictionary;\n  _exports.uuid = uuid;\n  _exports.generateGuid = generateGuid;\n  _exports.guidFor = guidFor;\n  _exports.intern = intern;\n  _exports.wrap = wrap;\n  _exports.observerListenerMetaFor = observerListenerMetaFor;\n  _exports.setObservers = setObservers;\n  _exports.setListeners = setListeners;\n  _exports.inspect = inspect;\n  _exports.lookupDescriptor = lookupDescriptor;\n  _exports.canInvoke = canInvoke;\n  _exports.tryInvoke = tryInvoke;\n  _exports.makeArray = makeArray;\n  _exports.getName = getName;\n  _exports.setName = setName;\n  _exports.toString = toString;\n  _exports.isObject = isObject;\n  _exports.isProxy = isProxy;\n  _exports.setProxy = setProxy;\n  _exports.setEmberArray = setEmberArray;\n  _exports.isEmberArray = isEmberArray;\n  _exports.setWithMandatorySetter = _exports.teardownMandatorySetter = _exports.setupMandatorySetter = _exports.Cache = _exports.HAS_NATIVE_PROXY = _exports.HAS_NATIVE_SYMBOL = _exports.ROOT = _exports.checkHasSuper = _exports.GUID_KEY = _exports.getDebugName = _exports.symbol = void 0;\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\n    for (var key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n\n    return str;\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\n\n  function isObject(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\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\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\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 = 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  _exports.GUID_KEY = GUID_KEY;\n\n  function generateGuid(obj, prefix = GUID_PREFIX) {\n    var guid = prefix + uuid();\n\n    if (isObject(obj)) {\n      OBJECT_GUIDS.set(obj, guid);\n    }\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\n  function guidFor(value) {\n    var guid;\n\n    if (isObject(value)) {\n      guid = OBJECT_GUIDS.get(value);\n\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\n      if (guid === undefined) {\n        var type = typeof value;\n\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\n        NON_OBJECT_GUIDS.set(value, guid);\n      }\n    }\n\n    return guid;\n  }\n\n  var HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    }\n\n    return typeof Symbol() === 'symbol';\n  }();\n\n  _exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n  var GENERATED_SYMBOLS = [];\n\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\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\n    if (true\n    /* DEBUG */\n    ) {\n      GENERATED_SYMBOLS.push(symbol);\n    }\n\n    return symbol;\n  }\n\n  var symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol; // 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\n  _exports.symbol = symbol;\n\n  function makeDictionary(parent) {\n    var dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n\n  var getDebugName;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var getFunctionName = fn => {\n      var functionName = fn.name;\n\n      if (functionName === undefined) {\n        var match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n\n      return functionName.replace(/^bound /, '');\n    };\n\n    var getObjectName = obj => {\n      var name;\n      var className;\n\n      if (obj.constructor && obj.constructor !== Object) {\n        className = getFunctionName(obj.constructor);\n      }\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\n      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n\n      return name || className;\n    };\n\n    var getPrimitiveName = value => {\n      return String(value);\n    };\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\n  var getDebugName$1 = getDebugName;\n  _exports.getDebugName = getDebugName$1;\n  var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  var fnToString = Function.prototype.toString;\n\n  var checkHasSuper = (() => {\n    var sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n\n    return function checkHasSuper() {\n      return true;\n    };\n  })();\n\n  _exports.checkHasSuper = checkHasSuper;\n  var HAS_SUPER_MAP = new WeakMap();\n  var ROOT = Object.freeze(function () {});\n  _exports.ROOT = ROOT;\n  HAS_SUPER_MAP.set(ROOT, false);\n\n  function hasSuper(func) {\n    var hasSuper = HAS_SUPER_MAP.get(func);\n\n    if (hasSuper === undefined) {\n      hasSuper = checkHasSuper(func);\n      HAS_SUPER_MAP.set(func, hasSuper);\n    }\n\n    return hasSuper;\n  }\n\n  class ObserverListenerMeta {\n    constructor() {\n      this.listeners = undefined;\n      this.observers = undefined;\n    }\n\n  }\n\n  var OBSERVERS_LISTENERS_MAP = new WeakMap();\n\n  function createObserverListenerMetaFor(fn) {\n    var meta = OBSERVERS_LISTENERS_MAP.get(fn);\n\n    if (meta === undefined) {\n      meta = new ObserverListenerMeta();\n      OBSERVERS_LISTENERS_MAP.set(fn, meta);\n    }\n\n    return meta;\n  }\n\n  function observerListenerMetaFor(fn) {\n    return OBSERVERS_LISTENERS_MAP.get(fn);\n  }\n\n  function setObservers(func, observers) {\n    var meta = createObserverListenerMetaFor(func);\n    meta.observers = observers;\n  }\n\n  function setListeners(func, listeners) {\n    var meta = createObserverListenerMetaFor(func);\n    meta.listeners = listeners;\n  }\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\n    if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n\n    return _wrap(func, superFunc);\n  }\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\n    IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n    var meta = OBSERVERS_LISTENERS_MAP.get(func);\n\n    if (meta !== undefined) {\n      OBSERVERS_LISTENERS_MAP.set(superWrapper, meta);\n    }\n\n    return superWrapper;\n  }\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\n    return inspectValue(obj, 0);\n  }\n\n  function inspectValue(value, depth, seen) {\n    var valueIsArray = false;\n\n    switch (typeof value) {\n      case 'undefined':\n        return 'undefined';\n\n      case 'object':\n        if (value === null) return 'null';\n\n        if (isArray(value)) {\n          valueIsArray = true;\n          break;\n        } // is toString Object.prototype.toString or undefined then traverse\n\n\n        if (value.toString === objectToString || value.toString === undefined) {\n          break;\n        } // custom toString\n\n\n        return value.toString();\n\n      case 'function':\n        return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n\n      case 'string':\n        return stringify(value);\n\n      case 'symbol':\n      case 'boolean':\n      case 'number':\n      default:\n        return value.toString();\n    }\n\n    if (seen === undefined) {\n      seen = new _util._WeakSet();\n    } else {\n      if (seen.has(value)) return `[Circular]`;\n    }\n\n    seen.add(value);\n    return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n  }\n\n  function inspectKey(key) {\n    return SAFE_KEY.test(key) ? key : stringify(key);\n  }\n\n  function inspectObject(obj, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Object]';\n    }\n\n    var s = '{';\n    var keys = objectKeys(obj);\n\n    for (var i = 0; i < keys.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += `... ${keys.length - LIST_LIMIT} more keys`;\n        break;\n      }\n\n      var key = keys[i];\n      s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n    }\n\n    s += ' }';\n    return s;\n  }\n\n  function inspectArray(arr, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Array]';\n    }\n\n    var s = '[';\n\n    for (var i = 0; i < arr.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n\n      if (i >= LIST_LIMIT) {\n        s += `... ${arr.length - LIST_LIMIT} more items`;\n        break;\n      }\n\n      s += inspectValue(arr[i], depth, seen);\n    }\n\n    s += ' ]';\n    return s;\n  }\n\n  function lookupDescriptor(obj, keyName) {\n    var current = obj;\n\n    do {\n      var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n      if (descriptor !== undefined) {\n        return descriptor;\n      }\n\n      current = Object.getPrototypeOf(current);\n    } while (current !== null);\n\n    return null;\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\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\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        available: '3.24.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-utils-try-invoke'\n    }));\n\n    if (canInvoke(obj, methodName)) {\n      var method = obj[methodName];\n      return method.apply(obj, args);\n    }\n  }\n\n  var {\n    isArray: isArray$1\n  } = Array;\n\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n\n    return isArray$1(obj) ? obj : [obj];\n  }\n\n  var NAMES = new WeakMap();\n\n  function setName(obj, name) {\n    if (isObject(obj)) NAMES.set(obj, name);\n  }\n\n  function getName(obj) {\n    return NAMES.get(obj);\n  }\n\n  var objectToString$1 = Object.prototype.toString;\n\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\n  function toString(obj) {\n    if (typeof obj === 'string') {\n      return obj;\n    }\n\n    if (null === obj) return 'null';\n    if (undefined === obj) return 'undefined';\n\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\n      for (var k = 0; k < obj.length; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n\n      return r;\n    }\n\n    if (typeof obj.toString === 'function') {\n      return obj.toString();\n    }\n\n    return objectToString$1.call(obj);\n  }\n\n  var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  _exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n  var PROXIES = new _util._WeakSet();\n\n  function isProxy(value) {\n    if (isObject(value)) {\n      return PROXIES.has(value);\n    }\n\n    return false;\n  }\n\n  function setProxy(object) {\n    if (isObject(object)) {\n      PROXIES.add(object);\n    }\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\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\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n\n      return value;\n    }\n\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n\n  }\n\n  _exports.Cache = Cache;\n  var EMBER_ARRAYS = new _util._WeakSet();\n\n  function setEmberArray(obj) {\n    EMBER_ARRAYS.add(obj);\n  }\n\n  function isEmberArray(obj) {\n    return EMBER_ARRAYS.has(obj);\n  }\n\n  var setupMandatorySetter;\n  _exports.setupMandatorySetter = setupMandatorySetter;\n  var teardownMandatorySetter;\n  _exports.teardownMandatorySetter = teardownMandatorySetter;\n  var setWithMandatorySetter;\n  _exports.setWithMandatorySetter = setWithMandatorySetter;\n\n  function isElementKey(key) {\n    return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n  }\n\n  function isStringInt(str) {\n    var num = parseInt(str, 10);\n    return isPositiveInt(num) && str === String(num);\n  }\n\n  function isPositiveInt(num) {\n    return num >= 0 && num % 1 === 0;\n  }\n\n  if (true\n  /* DEBUG */\n  ) {\n    var SEEN_TAGS = new _util._WeakSet();\n    var MANDATORY_SETTERS = new WeakMap();\n\n    var _propertyIsEnumerable = function (obj, key) {\n      return Object.prototype.propertyIsEnumerable.call(obj, key);\n    };\n\n    _exports.setupMandatorySetter = setupMandatorySetter = function (tag, obj, keyName) {\n      if (SEEN_TAGS.has(tag)) {\n        return;\n      }\n\n      SEEN_TAGS.add(tag);\n\n      if (Array.isArray(obj) && isElementKey(keyName)) {\n        return;\n      }\n\n      var desc = lookupDescriptor(obj, keyName) || {};\n\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\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\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters === undefined) {\n        setters = {};\n        MANDATORY_SETTERS.set(obj, setters);\n      }\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\n        get() {\n          if (desc.get) {\n            return desc.get.call(this);\n          } else {\n            return desc.value;\n          }\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    };\n\n    _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        Object.defineProperty(obj, keyName, setters[keyName]);\n        setters[keyName] = undefined;\n      }\n    };\n\n    _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n      var setters = MANDATORY_SETTERS.get(obj);\n\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        var setter = setters[keyName];\n\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   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\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, \"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, \"addChildView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.addChildView;\n    }\n  });\n  Object.defineProperty(_exports, \"isSimpleClick\", {\n    enumerable: true,\n    get: function () {\n      return _utils.isSimpleClick;\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, \"getViewBoundingClientRect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBoundingClientRect;\n    }\n  });\n  Object.defineProperty(_exports, \"getRootViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getRootViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getChildViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getChildViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewId\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewId;\n    }\n  });\n  Object.defineProperty(_exports, \"getElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewElement;\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  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, \"EventDispatcher\", {\n    enumerable: true,\n    get: function () {\n      return _event_dispatcher.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, \"TextSupport\", {\n    enumerable: true,\n    get: function () {\n      return _text_support.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, \"ClassNamesSupport\", {\n    enumerable: true,\n    get: function () {\n      return _class_names_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, \"ViewStateSupport\", {\n    enumerable: true,\n    get: function () {\n      return _view_state_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, \"ActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _action_support.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, \"ActionManager\", {\n    enumerable: true,\n    get: function () {\n      return _action_manager.default;\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 = (0, _utils.symbol)('MUTABLE_CELL');\n  _exports.MUTABLE_CELL = 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\n  var _default = (0, _utils.dictionary)(null);\n\n  _exports.default = _default;\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\n  var _default = _runtime.Object.extend({\n    componentFor(name, owner, options) {\n      var fullName = `component:${name}`;\n      return owner.factoryFor(fullName, options);\n    },\n\n    layoutFor(name, owner, options) {\n      var templateFullName = `template:components/${name}`;\n      return owner.lookup(templateFullName, options);\n    }\n\n  });\n\n  _exports.default = _default;\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  /**\n   @module ember\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\n      if (action) {\n        var shouldBubble = action.apply(this, args) === true;\n\n        if (!shouldBubble) {\n          return;\n        }\n      }\n\n      var target = (0, _metal.get)(this, 'target');\n\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  };\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://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      }));\n      var actionName; // Send the default action\n\n      if (action === undefined) {\n        action = 'action';\n      }\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\n      if (typeof actionName === 'function') {\n        actionName(...contexts);\n      } else {\n        this.triggerAction({\n          action: actionName,\n          actionContext: contexts\n        });\n      }\n    };\n\n    var validateAction = function validateAction(component, actionName) {\n      if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n        actionName = actionName.value;\n      }\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\n    mixinObj.sendAction = sendAction;\n  }\n  /**\n   @class ActionSupport\n   @namespace Ember\n   @private\n  */\n\n\n  var _default = _metal.Mixin.create(mixinObj);\n\n  _exports.default = _default;\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  /**\n  @module ember\n  */\n  var _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\n      get() {\n        return (0, _utils.getChildViews)(this);\n      }\n\n    }),\n\n    appendChild(view) {\n      (0, _utils.addChildView)(this, view);\n    }\n\n  });\n\n  _exports.default = _default;\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  /**\n  @module ember\n  */\n  var EMPTY_ARRAY = Object.freeze([]);\n  /**\n    @class ClassNamesSupport\n    @namespace Ember\n    @private\n  */\n\n  var _default = _metal.Mixin.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n\n    init() {\n      this._super(...arguments);\n\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    /**\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    /**\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\n  _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/text_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/-internals/views\"], function (_exports, _metal, _runtime, _debug, _deprecatedFeatures, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\n  /**\n  @module ember\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 _default = _metal.Mixin.create(_runtime.TargetActionSupport, {\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\n    init() {\n      this._super(...arguments);\n\n      this.on('paste', this, this._elementValueDidChange);\n      this.on('cut', this, this._elementValueDidChange);\n      this.on('input', this, this._elementValueDidChange);\n    },\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\n    interpretKeyEvents(event) {\n      var method = KEY_EVENTS[event.key];\n\n      this._elementValueDidChange();\n\n      if (method) {\n        return this[method](event);\n      }\n    },\n\n    _elementValueDidChange() {\n      (0, _metal.set)(this, 'value', this.element.value);\n    },\n\n    change(event) {\n      this._elementValueDidChange(event);\n    },\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    /**\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    /**\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    /**\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\n      sendAction('focus-out', this, event);\n    },\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    /**\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    /**\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\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\n  _exports.default = _default;\n\n  function sendAction(eventName, view, event) {\n    var action = (0, _metal.get)(view, `attrs.${eventName}`);\n\n    if (action !== null && typeof action === 'object' && action[_views.MUTABLE_CELL] === true) {\n      action = action.value;\n    }\n\n    if (action === undefined) {\n      action = (0, _metal.get)(view, eventName);\n    }\n\n    var value = (0, _metal.get)(view, 'value');\n\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://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n      }));\n      view.triggerAction({\n        action: action,\n        actionContext: [value, event]\n      });\n    } else if (typeof action === 'function') {\n      action(value, event);\n    }\n\n    if (action && !(0, _metal.get)(view, 'bubbles')) {\n      event.stopPropagation();\n    }\n  }\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  /**\n  @module ember\n  */\n  var _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\n      if (priorState && priorState.exit) {\n        priorState.exit(this);\n      }\n\n      if (currentState.enter) {\n        currentState.enter(this);\n      }\n    }\n\n  });\n\n  _exports.default = _default;\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\n  function K() {\n    return this;\n  }\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    // ..........................................................\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\n      while (view) {\n        if (isOfType(view)) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\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\n      while (view) {\n        if (property in view) {\n          return view;\n        }\n\n        view = view.parentView;\n      }\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    // ..........................................................\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\n      get() {\n        return this.renderer.getElement(this);\n      }\n\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\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\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\n\n          return true;\n        })()) && (0, _debug.assert)('You cannot append to an existing Ember.View.', (() => {\n          var node = target.parentNode;\n\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n\n            node = node.parentNode;\n          }\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\n      this.renderer.appendTo(this, target);\n      return this;\n    },\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    /**\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    /**\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    /**\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    /**\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    /**\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\n      this._currentState.destroy(this);\n    },\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    /**\n     Called after the element of the view is destroyed.\n      @event willDestroyElement\n     @public\n     */\n    didDestroyElement: K,\n\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    // .......................................................\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\n\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\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\n      if (!this.elementId && this.tagName !== '') {\n        this.elementId = (0, _utils.guidFor)(this);\n      }\n\n      (true && !(!this.render) && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render));\n    },\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  };\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://emberjs.com/deprecations/v3.x#toc_jquery-apis'\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\n\n  var _default = _metal.Mixin.create(mixin);\n\n  _exports.default = _default;\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  /**\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\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  /**\n  @module ember\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\n  var _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    /**\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\n    init() {\n      this._super();\n\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 instantiated 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      this._eventHandlers = Object.create(null);\n    },\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      var events = this._finalEvents = (0, _polyfills.assign)({}, (0, _metal.get)(this, 'events'), addedEvents);\n\n      if (_rootElement !== undefined && _rootElement !== null) {\n        (0, _metal.set)(this, 'rootElement', _rootElement);\n      }\n\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        if (typeof rootElementSelector !== 'string') {\n          rootElement = rootElementSelector;\n        } else {\n          rootElement = document.querySelector(rootElementSelector);\n        }\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\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\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\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n\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\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\n      for (var event in events) {\n        if (Object.prototype.hasOwnProperty.call(events, event)) {\n          this.setupHandler(rootElement, event, events[event]);\n        }\n      }\n    },\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\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        var viewHandler = (target, event) => {\n          var view = (0, _views.getElementView)(target);\n          var result = true;\n\n          if (view) {\n            result = view.handleEvent(eventName, event);\n          }\n\n          return result;\n        };\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\n            for (var i = 0; i < attributeCount; i++) {\n              var attr = attributes.item(i);\n              var attrName = attr.name;\n\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\n          if (!actions) {\n            return;\n          }\n\n          var result = true;\n\n          for (var index = 0; index < actions.length; index++) {\n            var action = actions[index];\n\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\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\n        if (_deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS && EVENT_MAP[event] !== undefined) {\n          var mappedEventType = EVENT_MAP[event];\n          var origEventType = event;\n\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\n          var handleMappedEvent = this._eventHandlers[mappedEventType] = event => {\n            var target = event.target;\n            var related = event.relatedTarget;\n\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\n              target = target.parentNode;\n            }\n          };\n\n          rootElement.addEventListener(mappedEventType, handleMappedEvent);\n        } else {\n          var handleEvent = this._eventHandlers[event] = event => {\n            var target = event.target;\n\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\n              target = target.parentNode;\n            } while (target && target.nodeType === 1);\n          };\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\n          if (view) {\n            result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n          }\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\n          for (var i = 0; i < attributes.length; i++) {\n            var attr = attributes.item(i);\n            var attrName = attr.name;\n\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\n    destroy() {\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n\n      if (!rootElement) {\n        return;\n      }\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\n      rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n      return this._super(...arguments);\n    },\n\n    toString() {\n      return '(EventDispatcher)';\n    }\n\n  });\n\n  _exports.default = _default;\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  _exports.jQuery = jQuery;\n  var jQueryDisabled = !_deprecatedFeatures.JQUERY_INTEGRATION || _environment.ENV._JQUERY_INTEGRATION === false;\n  _exports.jQueryDisabled = jQueryDisabled;\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM) {\n    _exports.jQuery = jQuery = _environment.context.imports.jQuery;\n\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\n  /* global Proxy */\n  function addJQueryEventDeprecation(jqEvent) {\n    if (true\n    /* DEBUG */\n    && _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://emberjs.com/deprecations/v3.x#toc_jquery-event'\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\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\n                return boundFunctions.get(name);\n              } // same for jQuery's getter functions for simple properties\n\n\n              return target[name];\n          }\n        }\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.isSimpleClick = isSimpleClick;\n  _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  _exports.getRootViews = getRootViews;\n  _exports.getViewId = getViewId;\n  _exports.getElementView = getElementView;\n  _exports.getViewElement = getViewElement;\n  _exports.setElementView = setElementView;\n  _exports.setViewElement = setViewElement;\n  _exports.clearElementView = clearElementView;\n  _exports.clearViewElement = clearViewElement;\n  _exports.getChildViews = getChildViews;\n  _exports.initChildViews = initChildViews;\n  _exports.addChildView = addChildView;\n  _exports.collectChildViews = collectChildViews;\n  _exports.getViewBounds = getViewBounds;\n  _exports.getViewRange = getViewRange;\n  _exports.getViewClientRects = getViewClientRects;\n  _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  _exports.matches = matches;\n  _exports.contains = contains;\n  _exports.elMatches = void 0;\n\n  /* globals Element */\n\n  /**\n  @module ember\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\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://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n  }\n  /**\n    @private\n    @method getRootViews\n    @param {Object} owner\n  */\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\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\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\n  var ELEMENT_VIEW = new WeakMap();\n  var VIEW_ELEMENT = new WeakMap();\n\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\n  function getViewElement(view) {\n    return VIEW_ELEMENT.get(view) || null;\n  }\n\n  function setElementView(element, view) {\n    ELEMENT_VIEW.set(element, view);\n  }\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\n  function clearElementView(element) {\n    ELEMENT_VIEW.delete(element);\n  }\n\n  function clearViewElement(view) {\n    VIEW_ELEMENT.delete(view);\n  }\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\n  function initChildViews(view) {\n    var childViews = new Set();\n    CHILD_VIEW_IDS.set(view, childViews);\n    return childViews;\n  }\n\n  function addChildView(parent, child) {\n    var childViews = CHILD_VIEW_IDS.get(parent);\n\n    if (childViews === undefined) {\n      childViews = initChildViews(parent);\n    }\n\n    childViews.add(getViewId(child));\n  }\n\n  function collectChildViews(view, registry) {\n    var views = [];\n    var childViews = CHILD_VIEW_IDS.get(view);\n\n    if (childViews !== undefined) {\n      childViews.forEach(id => {\n        var view = registry[id];\n\n        if (view && !view.isDestroying && !view.isDestroyed) {\n          views.push(view);\n        }\n      });\n    }\n\n    return views;\n  }\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\n  */\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\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\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\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\n  var elMatches = typeof Element !== 'undefined' ? Element.prototype.matches || Element.prototype['matchesSelector'] || Element.prototype['mozMatchesSelector'] || Element.prototype['msMatchesSelector'] || Element.prototype['oMatchesSelector'] || Element.prototype['webkitMatchesSelector'] : undefined;\n  _exports.elMatches = elMatches;\n\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\n  function contains(a, b) {\n    if (a.contains !== undefined) {\n      return a.contains(b);\n    }\n\n    var current = b.parentNode;\n\n    while (current && (current = current.parentNode)) {\n      if (current === a) {\n        return true;\n      }\n    }\n\n    return false;\n  }\n});","define(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _runtime, _states) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n\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  var CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n    isView: true,\n    _states: _states.default,\n\n    init() {\n      this._super(...arguments);\n\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n\n      if (!this.renderer) {\n        throw new Error(`Cannot instantiate a component without a renderer. Please ensure that you are creating ${this} with a proper container/registry.`);\n      }\n    },\n\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\n    instrumentDetails(hash) {\n      hash.object = this.toString();\n      hash.containerKey = this._debugContainerKey;\n      hash.view = this;\n      return hash;\n    },\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\n      var method = this[name];\n\n      if (typeof method === 'function') {\n        return method.apply(this, args);\n      }\n    },\n\n    has(name) {\n      return typeof this[name] === 'function' || this._super(name);\n    }\n\n  });\n\n  CoreView.reopenClass({\n    isViewFactory: true\n  });\n  var _default = CoreView;\n  _exports.default = _default;\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  /*\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  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 = states;\n  _exports.default = _default;\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\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent() {\n      return true; // continue event propagation\n    },\n\n    rerender() {},\n\n    destroy() {}\n\n  };\n\n  var _default2 = Object.freeze(_default);\n\n  _exports.default = _default2;\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\n    rerender() {\n      throw new _error.default(\"You can't call rerender on a view being destroyed\");\n    }\n\n  });\n\n  var _default2 = Object.freeze(destroying);\n\n  _exports.default = _default2;\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\n    destroy(view) {\n      view.renderer.remove(view);\n    },\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  });\n\n  var _default2 = Object.freeze(hasElement);\n\n  _exports.default = _default2;\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\n      if (true\n      /* DEBUG */\n      ) {\n        var elementId = view.elementId;\n        (0, _utils.teardownMandatorySetter)(view, 'elementId');\n        Object.defineProperty(view, 'elementId', {\n          configurable: true,\n          enumerable: true,\n\n          get() {\n            return elementId;\n          },\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\n  });\n\n  var _default = Object.freeze(inDOM);\n\n  _exports.default = _default;\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\n  var _default2 = Object.freeze(preRender);\n\n  _exports.default = _default2;\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  /**\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  var DefaultResolver;\n\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\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        }));\n        this._parseNameCache = (0, _utils.dictionary)(null);\n      }\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\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\n      resolve(fullName) {\n        var parsedName = this.parseName(fullName);\n        var resolveMethodName = parsedName.resolveMethodName;\n        var resolved;\n\n        if (this[resolveMethodName]) {\n          resolved = this[resolveMethodName](parsedName);\n        }\n\n        resolved = resolved || this.resolveOther(parsedName);\n\n        if (true\n        /* DEBUG */\n        ) {\n          if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n            this._logLookup(resolved, parsedName);\n          }\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\n            if (validationAttributes) {\n              var [factoryFlag, expectedType] = validationAttributes;\n              (true && !(Boolean(resolved[factoryFlag])) && (0, _debug.assert)(`Expected ${parsedName.fullName} to resolve to an ${expectedType} but ` + `instead it was ${resolved}.`, Boolean(resolved[factoryFlag])));\n            }\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\n      parseName(fullName) {\n        return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n      }\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\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\n        var resolveMethodName = fullNameWithoutType === 'main' ? 'Main' : (0, _string.classify)(type);\n\n        if (!(name && type)) {\n          throw new TypeError(`Invalid fullName: \\`${fullName}\\`, must be of the form \\`type:name\\` `);\n        }\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\n      lookupDescription(fullName) {\n        var parsedName = this.parseName(fullName);\n        var description;\n\n        if (parsedName.type === 'template') {\n          return `template at ${parsedName.fullNameWithoutType.replace(/\\./g, '/')}`;\n        }\n\n        description = `${parsedName.root}.${(0, _string.classify)(parsedName.name).replace(/\\./g, '')}`;\n\n        if (parsedName.type !== 'model') {\n          description += (0, _string.classify)(parsedName.type);\n        }\n\n        return description;\n      }\n\n      makeToString(factory) {\n        return factory.toString();\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\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\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\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\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\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\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\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\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\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\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\n        for (var index = 0; index < knownKeys.length; index++) {\n          var name = knownKeys[index];\n\n          if (typeRegexp.test(name)) {\n            var containerName = this.translateToContainerFullname(type, name);\n            known[containerName] = true;\n          }\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\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    };\n\n    if (true\n    /* DEBUG */\n    ) {\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\n        if (parsedName.fullName.length > 60) {\n          padding = '.';\n        } else {\n          padding = new Array(60 - parsedName.fullName.length).join('.');\n        }\n\n        (0, _debug.info)(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n      };\n    }\n  }\n\n  var _default = DefaultResolver;\n  _exports.default = _default;\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, \"getOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.getOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.setOwner;\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, \"_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});","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  /**\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  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    /**\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    /**\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\n    init() {\n      this._super(...arguments);\n\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\n      this.register('-application-instance:main', this, {\n        instantiate: false\n      });\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\n      options = new BootOptions(options);\n      this.setupRegistry(options);\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } else {\n        this.rootElement = this.application.rootElement;\n      }\n\n      if (options.location) {\n        (0, _metal.set)(this.router, 'location', options.location);\n      }\n\n      this.application.runInstanceInitializers(this);\n\n      if (options.isInteractive) {\n        this.setupEventDispatcher();\n      }\n\n      this._booted = true;\n      return this;\n    },\n\n    setupRegistry(options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n\n    router: (0, _metal.computed)(function () {\n      return this.lookup('router:main');\n    }).readOnly(),\n\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    /**\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    /**\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    /**\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    /**\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    /**\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\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\n      var bootOptions = this.__container__.lookup('-environment:main');\n\n      var router = this.router;\n\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\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\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\n    willDestroy() {\n      this._super(...arguments);\n\n      this.application._unwatchInstance(this);\n    }\n\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\n      registry.register('-environment:main', options.toEnvironment(), {\n        instantiate: false\n      });\n      registry.register('service:-document', options.document, {\n        instantiate: false\n      });\n\n      this._super(registry, options);\n    }\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\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\n      if (options.shouldRender !== undefined) {\n        this.shouldRender = Boolean(options.shouldRender);\n      } else {\n        this.shouldRender = true;\n      }\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\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\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\n      if (options.location !== undefined) {\n        this.location = options.location;\n      }\n\n      if (options.jQuery !== undefined) {\n        this.jQuery = options.jQuery;\n      }\n\n      if (options.isInteractive !== undefined) {\n        this.isInteractive = Boolean(options.isInteractive);\n      }\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  }\n\n  var _default = ApplicationInstance;\n  _exports.default = _default;\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  /**\n  @module @ember/application\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    /**\n       @property _document\n      @type Document | null\n      @default 'window.document'\n      @private\n    */\n    _document: _browserEnvironment.hasDOM ? window.document : null,\n\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    /**\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    /**\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    /**\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    /**\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\n    init() {\n      // eslint-disable-line no-unused-vars\n      this._super(...arguments);\n\n      if (!this.$) {\n        this.$ = _views.jQuery;\n      }\n\n      registerLibraries();\n\n      if (true\n      /* DEBUG */\n      ) {\n        if (_environment.ENV.LOG_VERSION) {\n          // we only need to see this once per Application#init\n          _environment.ENV.LOG_VERSION = false;\n\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\n      this._readinessDeferrals = 1;\n      this._booted = false;\n      this._applicationInstances = new Set();\n      this.autoboot = this._globalsMode = Boolean(this.autoboot);\n\n      if (this._globalsMode) {\n        this._prepareForGlobalsMode();\n      }\n\n      if (this.autoboot) {\n        this.waitForDOMReady();\n      }\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    /**\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    /**\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    /**\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\n      this._buildDeprecatedInstance();\n    },\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    /**\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\n          (0, _runloop.run)(this, 'domReady');\n        };\n\n        this._document.addEventListener('DOMContentLoaded', callback);\n      }\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\n      this._bootSync(); // Continues to `didBecomeReady`\n\n    },\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    /**\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\n      if (this._readinessDeferrals === 0) {\n        (0, _runloop.once)(this, this.didBecomeReady);\n      }\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\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\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\n      return this._bootPromise;\n    },\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\n      var defer = this._bootResolver = _runtime.RSVP.defer();\n\n      this._bootPromise = defer.promise;\n\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    /**\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\n      function handleReset() {\n        (0, _runloop.run)(instance, 'destroy');\n\n        this._buildDeprecatedInstance();\n\n        (0, _runloop.schedule)('actions', this, '_bootSync');\n      }\n\n      (0, _runloop.join)(this, handleReset);\n    },\n\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady() {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        if (!(0, _debug.isTesting)()) {\n          // Eagerly name all classes that are already loaded\n          (0, _metal.processAllNamespaces)();\n          (0, _metal.setNamespaceSearchDisabled)(true);\n        } // See documentation on `_autoboot()` for details\n\n\n        if (this.autoboot) {\n          var instance;\n\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\n          instance._bootSync(); // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n\n\n          this.ready();\n          instance.startRouting();\n        } // For the asynchronous boot path\n\n\n        this._bootResolver.resolve(this); // For the synchronous boot path\n\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\n        throw error;\n      }\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\n    // This method must be moved to the application instance object\n    willDestroy() {\n      this._super(...arguments);\n\n      (0, _metal.setNamespaceSearchDisabled)(false);\n\n      if (_lazy_load._loaded.application === this) {\n        _lazy_load._loaded.application = undefined;\n      }\n\n      if (this._applicationInstances.size) {\n        this._applicationInstances.forEach(i => i.destroy());\n\n        this._applicationInstances.clear();\n      }\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  });\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\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupApplicationRegistry)(registry);\n      return registry;\n    }\n\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    });\n    registry.register('route:basic', _routing.Route);\n    registry.register('event_dispatcher:main', _views.EventDispatcher);\n    registry.injection('router:main', 'namespace', 'application:main');\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    });\n    registry.register('service:router', _routing.RouterService);\n  }\n\n  function registerLibraries() {\n    if (!librariesRegistered) {\n      librariesRegistered = true;\n\n      if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n        _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n      }\n    }\n  }\n\n  var _default = Application;\n  _exports.default = _default;\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.onLoad = onLoad;\n  _exports.runLoadHooks = runLoadHooks;\n  _exports._loaded = void 0;\n\n  /*globals CustomEvent */\n\n  /**\n    @module @ember/application\n  */\n  var loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n  var loaded = {};\n  var _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  _exports._loaded = _loaded;\n\n  function onLoad(name, callback) {\n    var object = loaded[name];\n    loadHooks[name] = loadHooks[name] || [];\n    loadHooks[name].push(callback);\n\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\n  function runLoadHooks(name, object) {\n    loaded[name] = object;\n\n    if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n      var event = new CustomEvent(name, {\n        detail: object,\n        name\n      });\n\n      _browserEnvironment.window.dispatchEvent(event);\n    }\n\n    if (loadHooks[name]) {\n      loadHooks[name].forEach(callback => callback(object));\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.isEnabled = isEnabled;\n  _exports.EMBER_MODERNIZED_BUILT_IN_COMPONENTS = _exports.EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;\n\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  var DEFAULT_FEATURES = {\n    EMBER_LIBRARIES_ISREGISTERED: false,\n    EMBER_IMPROVED_INSTRUMENTATION: false,\n    EMBER_NAMED_BLOCKS: false,\n    EMBER_GLIMMER_HELPER_MANAGER: true,\n    EMBER_GLIMMER_INVOKE_HELPER: true,\n    EMBER_MODERNIZED_BUILT_IN_COMPONENTS: false\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  _exports.DEFAULT_FEATURES = DEFAULT_FEATURES;\n  var 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  _exports.FEATURES = FEATURES;\n\n  function isEnabled(feature) {\n    var value = FEATURES[feature];\n\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\n  function featureValue(value) {\n    if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n      return true;\n    }\n\n    return value;\n  }\n\n  var EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n  _exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;\n  var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n  _exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;\n  var EMBER_NAMED_BLOCKS = featureValue(FEATURES.EMBER_NAMED_BLOCKS);\n  _exports.EMBER_NAMED_BLOCKS = EMBER_NAMED_BLOCKS;\n  var EMBER_GLIMMER_HELPER_MANAGER = featureValue(FEATURES.EMBER_GLIMMER_HELPER_MANAGER);\n  _exports.EMBER_GLIMMER_HELPER_MANAGER = EMBER_GLIMMER_HELPER_MANAGER;\n  var EMBER_GLIMMER_INVOKE_HELPER = featureValue(FEATURES.EMBER_GLIMMER_INVOKE_HELPER);\n  _exports.EMBER_GLIMMER_INVOKE_HELPER = EMBER_GLIMMER_INVOKE_HELPER;\n  var EMBER_MODERNIZED_BUILT_IN_COMPONENTS = featureValue(FEATURES.EMBER_MODERNIZED_BUILT_IN_COMPONENTS);\n  _exports.EMBER_MODERNIZED_BUILT_IN_COMPONENTS = EMBER_MODERNIZED_BUILT_IN_COMPONENTS;\n});","define(\"@ember/component/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, \"Component\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Component;\n    }\n  });\n});","define(\"@ember/component/template-only\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = templateOnlyComponent;\n  _exports.isTemplateOnlyComponent = isTemplateOnlyComponent;\n  _exports.TemplateOnlyComponent = void 0;\n\n  // This is only exported for types, don't use this class directly\n  class TemplateOnlyComponent {\n    constructor(moduleName = '@ember/component/template-only') {\n      this.moduleName = moduleName;\n    }\n\n    toString() {\n      return this.moduleName;\n    }\n\n  }\n  /**\n    @module @ember/component/template-only\n    @public\n  */\n\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 templateOnly from '@ember/component/template-only';\n  \n    export default templateOnly();\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\n  _exports.TemplateOnlyComponent = TemplateOnlyComponent;\n\n  function templateOnlyComponent(moduleName) {\n    return new TemplateOnlyComponent(moduleName);\n  }\n\n  function isTemplateOnlyComponent(component) {\n    return component instanceof TemplateOnlyComponent;\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.inject = inject;\n  _exports.default = void 0;\n\n  /**\n  @module @ember/controller\n  */\n\n  /**\n    @class Controller\n    @extends EmberObject\n    @uses Ember.ControllerMixin\n    @public\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\n  function inject() {\n    return (0, _metal.inject)('controller', ...arguments);\n  }\n\n  var _default = Controller;\n  _exports.default = _default;\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\n  var _default = _metal.Mixin.create(_runtime.ActionHandler, {\n    /* ducktype as a controller */\n    isController: true,\n\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    /**\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\n      set(key, value) {\n        return this[MODEL] = value;\n      }\n\n    })\n  });\n\n  _exports.default = _default;\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/debug/lib/capture-render-tree\"], function (_exports, _browserEnvironment, _error, _deprecate2, _testing, _warn2, _captureRenderTree) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n    enumerable: true,\n    get: function () {\n      return _deprecate2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"isTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.isTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"setTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.setTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"registerWarnHandler\", {\n    enumerable: true,\n    get: function () {\n      return _warn2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"captureRenderTree\", {\n    enumerable: true,\n    get: function () {\n      return _captureRenderTree.default;\n    }\n  });\n  _exports._warnIfUsingStrippedFeatureFlags = _exports.getDebugFunction = _exports.setDebugFunction = _exports.deprecateFunc = _exports.runInDebug = _exports.debugFreeze = _exports.debugSeal = _exports.deprecate = _exports.debug = _exports.warn = _exports.info = _exports.assert = void 0;\n\n  // These are the default production build versions:\n  var noop = () => {};\n\n  var assert = noop;\n  _exports.assert = assert;\n  var info = noop;\n  _exports.info = info;\n  var warn = noop;\n  _exports.warn = warn;\n  var debug = noop;\n  _exports.debug = debug;\n  var deprecate = noop;\n  _exports.deprecate = deprecate;\n  var debugSeal = noop;\n  _exports.debugSeal = debugSeal;\n  var debugFreeze = noop;\n  _exports.debugFreeze = debugFreeze;\n  var runInDebug = noop;\n  _exports.runInDebug = runInDebug;\n  var setDebugFunction = noop;\n  _exports.setDebugFunction = setDebugFunction;\n  var getDebugFunction = noop;\n  _exports.getDebugFunction = getDebugFunction;\n\n  var deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n\n  _exports.deprecateFunc = deprecateFunc;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n      switch (type) {\n        case 'assert':\n          return _exports.assert = assert = callback;\n\n        case 'info':\n          return _exports.info = info = callback;\n\n        case 'warn':\n          return _exports.warn = warn = callback;\n\n        case 'debug':\n          return _exports.debug = debug = callback;\n\n        case 'deprecate':\n          return _exports.deprecate = deprecate = callback;\n\n        case 'debugSeal':\n          return _exports.debugSeal = debugSeal = callback;\n\n        case 'debugFreeze':\n          return _exports.debugFreeze = debugFreeze = callback;\n\n        case 'runInDebug':\n          return _exports.runInDebug = runInDebug = callback;\n\n        case 'deprecateFunc':\n          return _exports.deprecateFunc = deprecateFunc = callback;\n      }\n    };\n\n    _exports.getDebugFunction = getDebugFunction = function (type) {\n      switch (type) {\n        case 'assert':\n          return assert;\n\n        case 'info':\n          return info;\n\n        case 'warn':\n          return warn;\n\n        case 'debug':\n          return debug;\n\n        case 'deprecate':\n          return deprecate;\n\n        case 'debugSeal':\n          return debugSeal;\n\n        case 'debugFreeze':\n          return debugFreeze;\n\n        case 'runInDebug':\n          return runInDebug;\n\n        case 'deprecateFunc':\n          return deprecateFunc;\n      }\n    };\n  }\n  /**\n  @module @ember/debug\n  */\n\n\n  if (true\n  /* DEBUG */\n  ) {\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    /**\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\n  var _warnIfUsingStrippedFeatureFlags;\n\n  _exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n\n  if (true\n  /* DEBUG */\n  && !(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\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\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  /**\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  function captureRenderTree(app) {\n    var env = (0, _util.expect)(app.lookup('-environment:main'), 'BUG: owner is missing -environment:main');\n    var rendererType = env.isInteractive ? 'renderer:-dom' : 'renderer:-inert';\n    var renderer = (0, _util.expect)(app.lookup(rendererType), `BUG: owner is missing ${rendererType}`);\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.SINCE_MISSING_DEPRECATIONS = _exports.FOR_MISSING_DEPRECATIONS = _exports.missingOptionsSinceDeprecation = _exports.missingOptionsForDeprecation = _exports.missingOptionsUntilDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.registerHandler = _exports.default = void 0;\n\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  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n  var missingOptionsUntilDeprecation;\n  _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n\n  var missingOptionsForDeprecation = () => '';\n\n  _exports.missingOptionsForDeprecation = missingOptionsForDeprecation;\n\n  var missingOptionsSinceDeprecation = () => '';\n\n  _exports.missingOptionsSinceDeprecation = missingOptionsSinceDeprecation;\n\n  var deprecate = () => {};\n\n  var FOR_MISSING_DEPRECATIONS = new Set();\n  _exports.FOR_MISSING_DEPRECATIONS = FOR_MISSING_DEPRECATIONS;\n  var SINCE_MISSING_DEPRECATIONS = new Set();\n  _exports.SINCE_MISSING_DEPRECATIONS = SINCE_MISSING_DEPRECATIONS;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('deprecate', handler);\n    };\n\n    var formatMessage = function formatMessage(_message, options) {\n      var message = _message;\n\n      if (options && options.id) {\n        message = message + ` [deprecation id: ${options.id}]`;\n      }\n\n      if (options && options.url) {\n        message += ` See ${options.url} for more details.`;\n      }\n\n      return message;\n    };\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\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\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\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\n          stackStr = `\\n    ${stack.slice(2).join('\\n    ')}`;\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\n    _exports.missingOptionsForDeprecation = missingOptionsForDeprecation = id => {\n      return `When calling \\`deprecate\\` you must provide \\`for\\` in options. Missing options.for in \"${id}\" deprecation`;\n    };\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\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\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            available: '3.24.0'\n          }\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            available: '3.24.0'\n          }\n        });\n      }\n\n      (0, _handlers.invoke)('deprecate', message, test, options);\n    };\n  }\n\n  var _default = deprecate;\n  _exports.default = _default;\n});","define(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.invoke = _exports.registerHandler = _exports.HANDLERS = void 0;\n  var HANDLERS = {};\n  _exports.HANDLERS = HANDLERS;\n\n  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n\n  var invoke = () => {};\n\n  _exports.invoke = invoke;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n      var nextHandler = HANDLERS[type] || (() => {});\n\n      HANDLERS[type] = (message, options) => {\n        callback(message, options, nextHandler);\n      };\n    };\n\n    _exports.invoke = invoke = function invoke(type, message, test, options) {\n      if (test) {\n        return;\n      }\n\n      var handlerForType = HANDLERS[type];\n\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\n  function isTesting() {\n    return testing;\n  }\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.missingOptionsDeprecation = _exports.missingOptionsIdDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n  var registerHandler = () => {};\n\n  _exports.registerHandler = registerHandler;\n\n  var warn = () => {};\n\n  var missingOptionsDeprecation;\n  _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  /**\n  @module @ember/debug\n  */\n\n  _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n\n  if (true\n  /* DEBUG */\n  ) {\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\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\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\n  var _default = warn;\n  _exports.default = _default;\n});","define(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.GLOBALS_RESOLVER = _exports.PARTIALS = _exports.EMBER_COMPONENT_IS_VISIBLE = _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = _exports.FUNCTION_PROTOTYPE_EXTENSIONS = _exports.APP_CTRL_ROUTER_PROPS = _exports.ALIAS_METHOD = _exports.JQUERY_INTEGRATION = _exports.COMPONENT_MANAGER_STRING_LOOKUP = _exports.ROUTER_EVENTS = _exports.MERGE = _exports.LOGGER = _exports.EMBER_EXTEND_PROTOTYPES = _exports.SEND_ACTION = void 0;\n\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 = !!'3.4.0';\n  _exports.SEND_ACTION = SEND_ACTION;\n  var EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n  _exports.EMBER_EXTEND_PROTOTYPES = EMBER_EXTEND_PROTOTYPES;\n  var LOGGER = !!'3.2.0-beta.1';\n  _exports.LOGGER = LOGGER;\n  var MERGE = !!'3.6.0-beta.1';\n  _exports.MERGE = MERGE;\n  var ROUTER_EVENTS = !!'4.0.0';\n  _exports.ROUTER_EVENTS = ROUTER_EVENTS;\n  var COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';\n  _exports.COMPONENT_MANAGER_STRING_LOOKUP = COMPONENT_MANAGER_STRING_LOOKUP;\n  var JQUERY_INTEGRATION = !!'3.9.0';\n  _exports.JQUERY_INTEGRATION = JQUERY_INTEGRATION;\n  var ALIAS_METHOD = !!'3.9.0';\n  _exports.ALIAS_METHOD = ALIAS_METHOD;\n  var APP_CTRL_ROUTER_PROPS = !!'3.10.0-beta.1';\n  _exports.APP_CTRL_ROUTER_PROPS = APP_CTRL_ROUTER_PROPS;\n  var FUNCTION_PROTOTYPE_EXTENSIONS = !!'3.11.0-beta.1';\n  _exports.FUNCTION_PROTOTYPE_EXTENSIONS = FUNCTION_PROTOTYPE_EXTENSIONS;\n  var MOUSE_ENTER_LEAVE_MOVE_EVENTS = !!'3.13.0-beta.1';\n  _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = MOUSE_ENTER_LEAVE_MOVE_EVENTS;\n  var EMBER_COMPONENT_IS_VISIBLE = !!'3.15.0-beta.1';\n  _exports.EMBER_COMPONENT_IS_VISIBLE = EMBER_COMPONENT_IS_VISIBLE;\n  var PARTIALS = !!'3.15.0-beta.1';\n  _exports.PARTIALS = PARTIALS;\n  var GLOBALS_RESOLVER = !!'3.16.0-beta.1';\n  _exports.GLOBALS_RESOLVER = GLOBALS_RESOLVER;\n});","define(\"@ember/destroyable/index\", [\"exports\", \"@glimmer/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  Object.defineProperty(_exports, \"assertDestroyablesDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.assertDestroyablesDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"associateDestroyableChild\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.associateDestroyableChild;\n    }\n  });\n  Object.defineProperty(_exports, \"destroy\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.destroy;\n    }\n  });\n  Object.defineProperty(_exports, \"enableDestroyableTracking\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.enableDestroyableTracking;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroying\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.isDestroying;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.isDestroyed;\n    }\n  });\n\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    @param {Function} destructor the destructor to run when the destroyable object is destroyed\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  function registerDestructor(destroyable, destructor) {\n    return (0, _runtime.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\n  function unregisterDestructor(destroyable, destructor) {\n    return (0, _runtime.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  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  _exports.default = void 0;\n\n  function props(obj) {\n    var properties = [];\n\n    for (var key in obj) {\n      properties.push(key);\n    }\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\n  var Engine = _runtime.Namespace.extend(_runtime.RegistryProxyMixin, {\n    init() {\n      this._super(...arguments);\n\n      this.buildRegistry();\n    },\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    /**\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    /**\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    /**\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    /**\n      @private\n      @method initializer\n    */\n    initializer(options) {\n      this.constructor.initializer(options);\n    },\n\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer(options) {\n      this.constructor.instanceInitializer(options);\n    },\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    /**\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\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\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\n      graph.topsort(cb);\n    }\n\n  });\n\n  Engine.reopenClass({\n    initializers: Object.create(null),\n    instanceInitializers: Object.create(null),\n\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    /**\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    /**\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    /**\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    /**\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\n    var props = {\n      namespace\n    };\n    return ResolverClass.create(props);\n  }\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\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\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('route', '_topLevelViewTemplate', 'template:-outlet');\n    registry.injection('view:-outlet', 'namespace', 'application:main');\n    registry.injection('controller', 'target', 'router:main');\n    registry.injection('controller', 'namespace', 'application:main');\n    registry.injection('router', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n    registry.injection('route', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n    registry.injection('route', '_router', 'router: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');\n    registry.injection('data-adapter:main', 'containerDebugAdapter', 'container-debug-adapter: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\n  var _default = Engine;\n  _exports.default = _default;\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  /**\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  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\n    init() {\n      this._super(...arguments); // Ensure the guid gets setup for this instance\n\n\n      (0, _utils.guidFor)(this);\n      var base = this.base;\n\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\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    /**\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\n      this._bootPromise = new _runtime.RSVP.Promise(resolve => resolve(this._bootSync(options)));\n      return this._bootPromise;\n    },\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\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\n    setupRegistry(options = this.__container__.lookup('-environment:main')) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\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\n      this._super(...arguments);\n    },\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\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\n      var engineInstance = Engine.buildInstance(options);\n      (0, _engineParent.setEngineParent)(engineInstance, this);\n      return engineInstance;\n    },\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:-${env.isInteractive ? 'dom' : 'inert'}`, 'service:-document'];\n\n      if (env.isInteractive) {\n        singletons.push('event_dispatcher:main');\n      }\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  });\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\n      registry.injection('view', '_environment', '-environment:main');\n      registry.injection('route', '_environment', '-environment:main');\n\n      if (options.isInteractive) {\n        registry.injection('view', 'renderer', 'renderer:-dom');\n        registry.injection('component', 'renderer', 'renderer:-dom');\n      } else {\n        registry.injection('view', 'renderer', 'renderer:-inert');\n        registry.injection('component', 'renderer', 'renderer:-inert');\n      }\n    }\n\n  });\n  var _default = EngineInstance;\n  _exports.default = _default;\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  /**\n  @module @ember/engine\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\n  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\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  /**\n   @module @ember/error\n  */\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 = Error;\n  _exports.default = _default;\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.instrument = instrument;\n  _exports._instrumentStart = _instrumentStart;\n  _exports.subscribe = subscribe;\n  _exports.unsubscribe = unsubscribe;\n  _exports.reset = reset;\n  _exports.flaggedInstrument = _exports.subscribers = void 0;\n\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 = [];\n  _exports.subscribers = subscribers;\n  var cache = {};\n\n  function populateListeners(name) {\n    var listeners = [];\n    var subscriber;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      subscriber = subscribers[i];\n\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n\n    cache[name] = listeners;\n    return listeners;\n  }\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\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n\n  function instrument(name, p1, p2, p3) {\n    var _payload;\n\n    var callback;\n    var binding;\n\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\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    } // avoid allocating the payload in fast path\n\n\n    var payload = _payload || {};\n\n    var finalizer = _instrumentStart(name, () => payload);\n\n    if (finalizer === NOOP) {\n      return callback.call(binding);\n    } else {\n      return withFinalizer(callback, finalizer, payload, binding);\n    }\n  }\n\n  var flaggedInstrument;\n  _exports.flaggedInstrument = flaggedInstrument;\n\n  if (false\n  /* EMBER_IMPROVED_INSTRUMENTATION */\n  ) {\n      _exports.flaggedInstrument = flaggedInstrument = instrument;\n    } else {\n    _exports.flaggedInstrument = flaggedInstrument = function instrument(_name, _payload, callback) {\n      return callback();\n    };\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\n  function NOOP() {}\n\n  function _instrumentStart(name, payloadFunc, payloadArg) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n\n    var listeners = cache[name];\n\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n\n    var payload = payloadFunc(payloadArg);\n    var STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n    var timeName;\n\n    if (STRUCTURED_PROFILE) {\n      timeName = `${name}: ${payload.object}`;\n      console.time(timeName);\n    }\n\n    var beforeValues = [];\n    var timestamp = time();\n\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      beforeValues.push(listener.before(name, timestamp, payload));\n    }\n\n    return function _instrumentEnd() {\n      var timestamp = time();\n\n      for (var _i = 0; _i < listeners.length; _i++) {\n        var _listener = listeners[_i];\n\n        if (typeof _listener.after === 'function') {\n          _listener.after(name, timestamp, payload, beforeValues[_i]);\n        }\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\n  function subscribe(pattern, object) {\n    var paths = pattern.split('.');\n    var path;\n    var regexes = [];\n\n    for (var i = 0; i < paths.length; i++) {\n      path = paths[i];\n\n      if (path === '*') {\n        regexes.push('[^\\\\.]*');\n      } else {\n        regexes.push(path);\n      }\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\n  function unsubscribe(subscriber) {\n    var index = 0;\n\n    for (var i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\n      }\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\n  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});","define(\"@ember/modifier/index\", [\"exports\", \"@glimmer/runtime\", \"@ember/-internals/glimmer\"], function (_exports, _runtime, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"setModifierManager\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.setModifierManager;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilties\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.modifierCapabilities;\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\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\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\n    return desc;\n  };\n\n  function dependentKeyCompat(target, key, desc) {\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      desc = target;\n\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\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\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\n  (0, _metal.setClassicDecorator)(dependentKeyCompat);\n});","define(\"@ember/object/computed\", [\"exports\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _computed_macros, _reduce_computed_macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"empty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.empty;\n    }\n  });\n  Object.defineProperty(_exports, \"notEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.notEmpty;\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, \"bool\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.bool;\n    }\n  });\n  Object.defineProperty(_exports, \"match\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.match;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.equal;\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, \"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, \"oneWay\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"readOnly\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.readOnly;\n    }\n  });\n  Object.defineProperty(_exports, \"deprecatingAlias\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.deprecatingAlias;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.and;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.or;\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, \"min\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.min;\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, \"map\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.map;\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, \"setDiff\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.setDiff;\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, \"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, \"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  Object.defineProperty(_exports, \"union\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.union;\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, \"collect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.collect;\n    }\n  });\n});","define(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\", \"@ember/-internals/metal\"], function (_exports, _debug, _polyfills, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.action = action;\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  var BINDINGS_MAP = new WeakMap();\n\n  function setupAction(target, key, actionFn) {\n    if (target.constructor !== undefined && typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\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\n    target.actions[key] = actionFn;\n    return {\n      get() {\n        var bindings = BINDINGS_MAP.get(this);\n\n        if (bindings === undefined) {\n          bindings = new Map();\n          BINDINGS_MAP.set(this, bindings);\n        }\n\n        var fn = bindings.get(actionFn);\n\n        if (fn === undefined) {\n          fn = actionFn.bind(this);\n          bindings.set(actionFn, fn);\n        }\n\n        return fn;\n      }\n\n    };\n  }\n\n  function action(target, key, desc) {\n    var actionFn;\n\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      actionFn = target;\n\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\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\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\n  (0, _metal.setClassicDecorator)(action);\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.empty = empty;\n  _exports.notEmpty = notEmpty;\n  _exports.none = none;\n  _exports.not = not;\n  _exports.bool = bool;\n  _exports.match = match;\n  _exports.equal = equal;\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  _exports.oneWay = oneWay;\n  _exports.readOnly = readOnly;\n  _exports.deprecatingAlias = deprecatingAlias;\n  _exports.or = _exports.and = void 0;\n\n  /**\n  @module @ember/object\n  */\n  function expandPropertiesToArray(predicateName, properties) {\n    var expandedProperties = [];\n\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\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\n    return expandedProperties;\n  }\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\n        for (var i = 0; i < lastIdx; i++) {\n          var value = (0, _metal.get)(this, dependentKeys[i]);\n\n          if (!predicate(value)) {\n            return value;\n          }\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\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\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\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\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\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\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\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\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\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\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\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\n  var 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  _exports.and = and;\n  var 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  _exports.or = or;\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\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\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\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  }\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.sum = sum;\n  _exports.max = max;\n  _exports.min = min;\n  _exports.map = map;\n  _exports.mapBy = mapBy;\n  _exports.filter = filter;\n  _exports.filterBy = filterBy;\n  _exports.uniq = uniq;\n  _exports.uniqBy = uniqBy;\n  _exports.intersect = intersect;\n  _exports.setDiff = setDiff;\n  _exports.collect = collect;\n  _exports.sort = sort;\n  _exports.union = void 0;\n\n  /**\n  @module @ember/object\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\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n\n      return arr.reduce(callback, initialValue, this);\n    }).readOnly();\n  }\n\n  function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n    // This is a bit ugly\n    var propertyName;\n\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n\n    return (0, _metal.computed)(dependentKey, ...additionalDependentKeys, function () {\n      var value = (0, _metal.get)(this, propertyName);\n\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\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\n    var dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n\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\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\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\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\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\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\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\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\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\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\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\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\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\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\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\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\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\n  var 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  _exports.union = union;\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\n          for (var j = 0; j < array.length; j++) {\n            if (array[j] === candidate) {\n              found = true;\n              break;\n            }\n          }\n\n          if (found === false) {\n            return false;\n          }\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\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\n      if (!(0, _runtime.isArray)(setA)) {\n        return (0, _runtime.A)();\n      }\n\n      if (!(0, _runtime.isArray)(setB)) {\n        return (0, _runtime.A)(setA);\n      }\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\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\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\n    if (true\n    /* DEBUG */\n    ) {\n      var argumentsValid = false;\n\n      if (arguments.length === 2) {\n        argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeys === 'string' || typeof additionalDependentKeys === 'function');\n      }\n\n      if (arguments.length === 3) {\n        argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeys) && typeof sortDefinition === 'function';\n      }\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\n    if (sortDefinition === undefined && !Array.isArray(additionalDependentKeys)) {\n      sortDefinition = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n\n    if (typeof sortDefinition === 'function') {\n      return customSort(itemsKey, additionalDependentKeys, sortDefinition);\n    } else {\n      return propertySort(itemsKey, sortDefinition);\n    }\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\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\n      if (!(0, _runtime.isArray)(items)) {\n        return (0, _runtime.A)();\n      }\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\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\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\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n\n      return 0;\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 = void 0;\n  var merge = _deprecatedFeatures.MERGE ? _merge.default : undefined; // Export `assignPolyfill` for testing\n\n  _exports.merge = merge;\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  /**\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\n      if (!arg) {\n        continue;\n      }\n\n      var updates = Object.keys(arg);\n\n      for (var _i = 0; _i < updates.length; _i++) {\n        var prop = updates[_i];\n        target[prop] = arg[prop];\n      }\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\n  var {\n    assign: _assign\n  } = Object;\n\n  var _default = _assign || assign;\n\n  _exports.default = _default;\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  /**\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  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://emberjs.com/deprecations/v3.x/#toc_ember-polyfills-deprecate-merge',\n      for: 'ember-source',\n      since: {\n        enabled: '3.6.0-beta.1'\n      }\n    }));\n\n    if (updates === null || typeof updates !== 'object') {\n      return original;\n    }\n\n    var props = Object.keys(updates);\n    var prop;\n\n    for (var i = 0; i < props.length; i++) {\n      prop = props[i];\n      original[prop] = updates[prop];\n    }\n\n    return original;\n  }\n\n  var _default = merge;\n  _exports.default = _default;\n});","define(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"backburner\"], function (_exports, _debug, _errorHandling, _metal, _backburner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getCurrentRunLoop = getCurrentRunLoop;\n  _exports.run = run;\n  _exports.join = join;\n  _exports.begin = begin;\n  _exports.end = end;\n  _exports.schedule = schedule;\n  _exports.hasScheduledTimers = hasScheduledTimers;\n  _exports.cancelTimers = cancelTimers;\n  _exports.later = later;\n  _exports.once = once;\n  _exports.scheduleOnce = scheduleOnce;\n  _exports.next = next;\n  _exports.cancel = cancel;\n  _exports.debounce = debounce;\n  _exports.throttle = throttle;\n  _exports.bind = _exports._globalsRun = _exports.backburner = _exports.queues = _exports._rsvpErrorQueue = void 0;\n  var currentRunLoop = null;\n\n  function getCurrentRunLoop() {\n    return currentRunLoop;\n  }\n\n  function onBegin(current) {\n    currentRunLoop = current;\n  }\n\n  function onEnd(current, next) {\n    currentRunLoop = next;\n    (0, _metal.flushAsyncObservers)();\n  }\n\n  function flush(queueName, next) {\n    if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n      (0, _metal.flushAsyncObservers)();\n    }\n\n    next();\n  }\n\n  var _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\n  _exports._rsvpErrorQueue = _rsvpErrorQueue;\n  var queues = ['actions', // 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', // 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  _exports.queues = queues;\n  var backburner = new _backburner.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  _exports.backburner = backburner;\n\n  function run() {\n    return backburner.run(...arguments);\n  } // used for the Ember.run global only\n\n\n  var _globalsRun = run.bind(null);\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\n  _exports._globalsRun = _globalsRun;\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\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\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' || // second argument is a function\n        methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || // 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\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\n\n  _exports.bind = bind;\n\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\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\n  function schedule()\n  /* queue, target, method */\n  {\n    return backburner.schedule(...arguments);\n  } // Used by global test teardown\n\n\n  function hasScheduledTimers() {\n    return backburner.hasTimers();\n  } // Used by global test teardown\n\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\n  function later()\n  /*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\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\n  function scheduleOnce()\n  /* 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\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\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\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\n  function throttle() {\n    return backburner.throttle(...arguments);\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.inject = inject;\n  _exports.default = void 0;\n\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  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\n  var Service = _runtime.FrameworkObject.extend();\n\n  Service.reopenClass({\n    isServiceFactory: true\n  });\n  var _default = Service;\n  _exports.default = _default;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/lib/string_registry\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _string_registry, _environment, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.loc = loc;\n  _exports.w = w;\n  _exports.decamelize = decamelize;\n  _exports.dasherize = dasherize;\n  _exports.camelize = camelize;\n  _exports.classify = classify;\n  _exports.underscore = underscore;\n  _exports.capitalize = capitalize;\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\n  /**\n  @module @ember/string\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 */\n  ) => 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\n    var replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n\n    var parts = str.split('/');\n\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\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */\n    ) => 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 */\n  ) => 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\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        available: '3.24'\n      }\n    }));\n\n    if (!Array.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\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\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\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\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\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\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\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\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\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            available: '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\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      /**\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\n        value(...args) {\n          return loc(this, args);\n        }\n\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      /**\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      /**\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      /**\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      /**\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      /**\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.setStrings = setStrings;\n  _exports.getStrings = getStrings;\n  _exports.getString = getString;\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\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n\n  function getStrings() {\n    return STRINGS;\n  }\n\n  function getString(name) {\n    return STRINGS[name];\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\n  class InstructionEncoderImpl {\n    constructor(buffer) {\n      this.buffer = buffer;\n      this.size = 0;\n    }\n\n    encode(type, machine) {\n      if (type > 255\n      /* TYPE_SIZE */\n      ) {\n          throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n        }\n\n      var first = type | machine | arguments.length - 2 << 8\n      /* ARG_SHIFT */\n      ;\n      this.buffer.push(first);\n\n      for (var i = 2; i < arguments.length; i++) {\n        var op = arguments[i];\n\n        if (typeof op === 'number' && op > 2147483647\n        /* MAX_SIZE */\n        ) {\n            throw new Error(`Operand over 32-bits. Got ${op}.`);\n          }\n\n        this.buffer.push(op);\n      }\n\n      this.size = this.buffer.length;\n    }\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  }\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.CI = _exports.DEBUG = void 0;\n  var DEBUG = false;\n  _exports.DEBUG = DEBUG;\n  var CI = false;\n  _exports.CI = CI;\n});","define(\"@glimmer/global-context\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.testOverrideGlobalContext = _exports.assertGlobalContextWasSet = _exports.warnIfStyleNotTrusted = _exports.getPath = _exports.setProp = _exports.getProp = _exports.toBool = _exports.toIterator = _exports.scheduleDestroyed = _exports.scheduleDestroy = _exports.scheduleRevalidate = _exports.default = void 0;\n\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  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\n\n  _exports.scheduleRevalidate = scheduleRevalidate;\n  var scheduleDestroy;\n  /**\n   * Finalizes destruction\n   *\n   * @param finalizer finalizer function\n   */\n\n  _exports.scheduleDestroy = scheduleDestroy;\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  _exports.scheduleDestroyed = scheduleDestroyed;\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  _exports.toIterator = toIterator;\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  _exports.toBool = toBool;\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  _exports.getProp = getProp;\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  _exports.setProp = setProp;\n  var getPath;\n  /**\n   * Hook to warn if a style binding string or value was not marked as trusted\n   * (e.g. HTMLSafe)\n   */\n\n  _exports.getPath = getPath;\n  var warnIfStyleNotTrusted;\n  _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted;\n  var globalContextWasSet = false;\n\n  function setGlobalContext(context) {\n    if (true\n    /* DEBUG */\n    ) {\n      if (globalContextWasSet) {\n        throw new Error('Attempted to set the global context twice. This should only be set once.');\n      }\n\n      globalContextWasSet = true;\n    }\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.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context.warnIfStyleNotTrusted;\n  }\n\n  var assertGlobalContextWasSet;\n  _exports.assertGlobalContextWasSet = assertGlobalContextWasSet;\n  var testOverrideGlobalContext;\n  _exports.testOverrideGlobalContext = testOverrideGlobalContext;\n\n  if (true\n  /* DEBUG */\n  ) {\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\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        warnIfStyleNotTrusted\n      } : null;\n\n      if (context === null) {\n        globalContextWasSet = false;\n      } else {\n        globalContextWasSet = true;\n      }\n\n      _exports.scheduleRevalidate = scheduleRevalidate = (context === null || context === void 0 ? void 0 : context.scheduleRevalidate) || scheduleRevalidate;\n      _exports.scheduleDestroy = scheduleDestroy = (context === null || context === void 0 ? void 0 : context.scheduleDestroy) || scheduleDestroy;\n      _exports.scheduleDestroyed = scheduleDestroyed = (context === null || context === void 0 ? void 0 : context.scheduleDestroyed) || scheduleDestroyed;\n      _exports.toIterator = toIterator = (context === null || context === void 0 ? void 0 : context.toIterator) || toIterator;\n      _exports.toBool = toBool = (context === null || context === void 0 ? void 0 : context.toBool) || toBool;\n      _exports.getProp = getProp = (context === null || context === void 0 ? void 0 : context.getProp) || getProp;\n      _exports.setProp = setProp = (context === null || context === void 0 ? void 0 : context.setProp) || setProp;\n      _exports.getPath = getPath = (context === null || context === void 0 ? void 0 : context.getPath) || getPath;\n      _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || warnIfStyleNotTrusted;\n      return originalGlobalContext;\n    };\n  }\n\n  var _default = setGlobalContext;\n  _exports.default = _default;\n});","define(\"@glimmer/low-level\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Stack = _exports.Storage = void 0;\n\n  class Storage {\n    constructor() {\n      this.array = [];\n      this.next = 0;\n    }\n\n    add(element) {\n      var {\n        next: slot,\n        array\n      } = this;\n\n      if (slot === array.length) {\n        this.next++;\n      } else {\n        var prev = array[slot];\n        this.next = prev;\n      }\n\n      this.array[slot] = element;\n      return slot;\n    }\n\n    deref(pointer) {\n      return this.array[pointer];\n    }\n\n    drop(pointer) {\n      this.array[pointer] = this.next;\n      this.next = pointer;\n    }\n\n  }\n\n  _exports.Storage = Storage;\n\n  class Stack {\n    constructor(vec = []) {\n      this.vec = vec;\n    }\n\n    clone() {\n      return new Stack(this.vec.slice());\n    }\n\n    sliceFrom(start) {\n      return new Stack(this.vec.slice(start));\n    }\n\n    slice(start, end) {\n      return new Stack(this.vec.slice(start, end));\n    }\n\n    copy(from, to) {\n      this.vec[to] = this.vec[from];\n    } // TODO: how to model u64 argument?\n\n\n    writeRaw(pos, value) {\n      // TODO: Grow?\n      this.vec[pos] = value;\n    } // TODO: partially decoded enum?\n\n\n    getRaw(pos) {\n      return this.vec[pos];\n    }\n\n    reset() {\n      this.vec.length = 0;\n    }\n\n    len() {\n      return this.vec.length;\n    }\n\n  }\n\n  _exports.Stack = Stack;\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.serializeBuilder = serializeBuilder;\n  _exports.NodeDOMTreeConstruction = void 0;\n\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\n    setupUselessElement() {}\n\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\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\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n\n  }\n\n  _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n  var TEXT_NODE = 3;\n  var NEEDS_EXTRA_CLOSE = new WeakMap();\n\n  function currentNode(cursor) {\n    var {\n      element,\n      nextSibling\n    } = cursor;\n\n    if (nextSibling === null) {\n      return element.lastChild;\n    } else {\n      return nextSibling.previousSibling;\n    }\n  }\n\n  class SerializeBuilder extends _runtime.NewElementBuilder {\n    constructor() {\n      super(...arguments);\n      this.serializeBlockDepth = 0;\n    }\n\n    __openBlock() {\n      var {\n        tagName\n      } = this.element;\n\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = this.serializeBlockDepth++;\n\n        this.__appendComment(`%+b:${depth}%`);\n      }\n\n      super.__openBlock();\n    }\n\n    __closeBlock() {\n      var {\n        tagName\n      } = this.element;\n\n      super.__closeBlock();\n\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = --this.serializeBlockDepth;\n\n        this.__appendComment(`%-b:${depth}%`);\n      }\n    }\n\n    __appendHTML(html) {\n      var {\n        tagName\n      } = this.element;\n\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\n      var first = this.__appendComment('%glmr%');\n\n      if (tagName === 'TABLE') {\n        var openIndex = html.indexOf('<');\n\n        if (openIndex > -1) {\n          var tr = html.slice(openIndex + 1, openIndex + 3);\n\n          if (tr === 'tr') {\n            html = `<tbody>${html}</tbody>`;\n          }\n        }\n      }\n\n      if (html === '') {\n        this.__appendComment('% %');\n      } else {\n        super.__appendHTML(html);\n      }\n\n      var last = this.__appendComment('%glmr%');\n\n      return new _runtime.ConcreteBounds(this.element, first, last);\n    }\n\n    __appendText(string) {\n      var {\n        tagName\n      } = this.element;\n      var current = currentNode(this);\n\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\n      return super.__appendText(string);\n    }\n\n    closeElement() {\n      if (NEEDS_EXTRA_CLOSE.has(this.element)) {\n        NEEDS_EXTRA_CLOSE.delete(this.element);\n        super.closeElement();\n      }\n\n      return super.closeElement();\n    }\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\n      return super.openElement(tag);\n    }\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  }\n\n  function serializeBuilder(env, cursor) {\n    return SerializeBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/opcode-compiler\", [\"exports\", \"@glimmer/vm\", \"@glimmer/util\", \"@glimmer/program\", \"@glimmer/encoder\"], function (_exports, _vm, _util, _program, _encoder) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compileStatements = compileStatements;\n  _exports.compilable = compilable;\n  _exports.staticComponent = StaticComponent;\n  _exports.invokeStaticBlockWithStack = InvokeStaticBlockWithStack;\n  _exports.invokeStaticBlock = InvokeStaticBlock;\n  _exports.compileStd = compileStd;\n  _exports.meta = meta;\n  _exports.templateFactory = templateFactory;\n  _exports.resolveLayoutForTag = resolveLayoutForTag;\n  _exports.syntaxCompilationContext = syntaxCompilationContext;\n  _exports.templateCompilationContext = templateCompilationContext;\n  _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.CompileTimeCompilationContextImpl = _exports.EMPTY_BLOCKS = _exports.WrappedBuilder = _exports.templateCacheCounters = _exports.PartialDefinitionImpl = _exports.StdLib = _exports.debugCompiler = _exports.NONE = _exports.UNHANDLED = _exports.MacrosImpl = void 0;\n\n  function arr(value) {\n    return {\n      type: 'array',\n      value\n    };\n  }\n\n  function strArray(value) {\n    return {\n      type: 'string-array',\n      value\n    };\n  }\n\n  function serializable(value) {\n    return {\n      type: 'serializable',\n      value\n    };\n  }\n\n  function other(value) {\n    return {\n      type: 'other',\n      value\n    };\n  }\n\n  function label(value) {\n    return {\n      type: 'label',\n      value\n    };\n  }\n\n  function immediate(value) {\n    return {\n      type: 'immediate',\n      value\n    };\n  }\n\n  function prim(value) {\n    return {\n      type: 'primitive',\n      value\n    };\n  }\n\n  var 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  };\n  _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n  var 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  };\n  _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n\n  function resolveLayoutForTag(tag, {\n    resolver,\n    meta: {\n      owner\n    }\n  }) {\n    var component = resolver.lookupComponent(tag, owner);\n    if (component === null) return component;\n    var {\n      handle,\n      compilable,\n      capabilities\n    } = component;\n    return {\n      handle,\n      compilable,\n      capabilities: capabilities || MINIMAL_CAPABILITIES\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\n  function PushPrimitiveReference(value) {\n    return [PushPrimitive(value), op(30\n    /* PrimitiveReference */\n    )];\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\n  function PushPrimitive(primitive) {\n    var p = typeof primitive === 'number' && (0, _util.isSmallInt)(primitive) ? immediate(primitive) : prim(primitive);\n    return op(29\n    /* Primitive */\n    , p);\n  }\n  /**\n   * Invoke a foreign function (a \"helper\") based on a statically known handle\n   *\n   * @param compile.handle A handle\n   * @param compile.params An optional list of expressions to compile\n   * @param compile.hash An optional list of named arguments (name + expression) to compile\n   */\n\n\n  function Call({\n    handle,\n    params,\n    hash\n  }) {\n    return [op(0\n    /* PushFrame */\n    ), op('SimpleArgs', {\n      params,\n      hash,\n      atNames: false\n    }), op(16\n    /* Helper */\n    , handle), op(1\n    /* PopFrame */\n    ), op(35\n    /* Fetch */\n    , _vm.$v0)];\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\n  function DynamicScope(names, block) {\n    return [op(58\n    /* PushDynamicScope */\n    ), op(57\n    /* BindDynamicScope */\n    , strArray(names)), block(), op(59\n    /* PopDynamicScope */\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\n  function YieldBlock(to, params) {\n    return [op('SimpleArgs', {\n      params,\n      hash: null,\n      atNames: true\n    }), op(23\n    /* GetBlock */\n    , to), op(24\n    /* SpreadBlock */\n    ), op('Option', op(60\n    /* CompileBlock */\n    )), op(63\n    /* InvokeYield */\n    ), op(39\n    /* PopScope */\n    ), op(1\n    /* PopFrame */\n    )];\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\n  function PushYieldableBlock(block) {\n    return [PushSymbolTable(block && block.symbolTable), op(61\n    /* PushBlockScope */\n    ), PushCompilable(block)];\n  }\n  /**\n   * Invoke a block that is known statically at compile time.\n   *\n   * @param block a Compilable block\n   */\n\n\n  function InvokeStaticBlock(block) {\n    return [op(0\n    /* PushFrame */\n    ), PushCompilable(block), op(60\n    /* CompileBlock */\n    ), op(2\n    /* InvokeVirtual */\n    ), op(1\n    /* PopFrame */\n    )];\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\n  function InvokeStaticBlockWithStack(block, callerCount) {\n    var {\n      parameters\n    } = block.symbolTable;\n    var calleeCount = parameters.length;\n    var count = Math.min(callerCount, calleeCount);\n\n    if (count === 0) {\n      return InvokeStaticBlock(block);\n    }\n\n    var out = [];\n    out.push(op(0\n    /* PushFrame */\n    ));\n\n    if (count) {\n      out.push(op(38\n      /* ChildScope */\n      ));\n\n      for (var i = 0; i < count; i++) {\n        out.push(op(32\n        /* Dup */\n        , _vm.$fp, callerCount - i));\n        out.push(op(19\n        /* SetVariable */\n        , parameters[i]));\n      }\n    }\n\n    out.push(PushCompilable(block));\n    out.push(op(60\n    /* CompileBlock */\n    ));\n    out.push(op(2\n    /* InvokeVirtual */\n    ));\n\n    if (count) {\n      out.push(op(39\n      /* PopScope */\n      ));\n    }\n\n    out.push(op(1\n    /* PopFrame */\n    ));\n    return out;\n  }\n\n  function PushSymbolTable(table) {\n    if (table) {\n      return op(62\n      /* PushSymbolTable */\n      , serializable(table));\n    } else {\n      return PushPrimitive(null);\n    }\n  }\n\n  function PushCompilable(block) {\n    if (block === null) {\n      return PushPrimitive(null);\n    } else {\n      return op(28\n      /* Constant */\n      , other(block));\n    }\n  }\n\n  function ContentTypeSwitchCases(callback) {\n    // Setup the switch DSL\n    var clauses = [];\n    var count = 0;\n\n    function when(match, callback) {\n      clauses.push({\n        match,\n        callback,\n        label: `CLAUSE${count++}`\n      });\n    } // Call the callback\n\n\n    callback(when); // Emit the opcodes for the switch\n\n    var out = [op(68\n    /* Enter */\n    , 1), op(75\n    /* ContentType */\n    ), op('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      out.push(op(66\n      /* JumpEq */\n      , label(clause.label), clause.match));\n    } // Enumerate the clauses in reverse order. Earlier matches will\n    // require fewer checks.\n\n\n    for (var i = clauses.length - 1; i >= 0; i--) {\n      var _clause = clauses[i];\n      out.push(op('Label', _clause.label), op(33\n      /* Pop */\n      , 1), _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        out.push(op(4\n        /* Jump */\n        , label('END')));\n      }\n    }\n\n    out.push(op('Label', 'END'), op('StopLabels'), op(69\n    /* Exit */\n    ));\n    return out;\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\n  function Replayable({\n    args,\n    body\n  }) {\n    // 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    var {\n      count,\n      actions\n    } = args(); // Start a new label frame, to give END and RETURN\n    // a unique meaning.\n\n    return [op('StartLabels'), op(0\n    /* PushFrame */\n    ), // If the body invokes a block, its return will return to\n    // END. Otherwise, the return in RETURN will return to END.\n    op(6\n    /* ReturnTo */\n    , label('ENDINITIAL')), actions, // 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    op(68\n    /* Enter */\n    , 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    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    op('Label', 'FINALLY'), // Finalize the DOM.\n    op(69\n    /* Exit */\n    ), // 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    op(5\n    /* Return */\n    ), // Cleanup code for the block. Runs on initial execution\n    // but not on updating.\n    op('Label', 'ENDINITIAL'), op(1\n    /* PopFrame */\n    ), op('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\n  function ReplayableIf({\n    args,\n    ifTrue,\n    ifFalse\n  }) {\n    return Replayable({\n      args,\n      body: () => {\n        var out = [// If the conditional is false, jump to the ELSE label.\n        op(65\n        /* JumpUnless */\n        , label('ELSE')), // Otherwise, execute the code associated with the true branch.\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        op(4\n        /* Jump */\n        , label('FINALLY')), op('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) {\n          out.push(ifFalse());\n        }\n\n        return out;\n      }\n    });\n  }\n\n  function pushBuilderOp(context, op) {\n    var {\n      encoder\n    } = context;\n\n    switch (op.op) {\n      case \"Option\"\n      /* Option */\n      :\n        return concat(context, option$1(op));\n\n      case \"Label\"\n      /* Label */\n      :\n        return encoder.label(op.op1);\n\n      case \"StartLabels\"\n      /* StartLabels */\n      :\n        return encoder.startLabels();\n\n      case \"StopLabels\"\n      /* StopLabels */\n      :\n        return encoder.stopLabels();\n\n      default:\n        return (0, _util.exhausted)(op);\n    }\n  }\n\n  function option$1(op) {\n    var value = op.op1;\n    return value === null ? NONE : value;\n  }\n\n  function pushCompileOp(context, action) {\n    concatStatements(context, compileOp(context, action));\n  }\n\n  function compileOp(context, action) {\n    switch (action.op) {\n      case \"CompileBlock\"\n      /* CompileBlock */\n      :\n        return CompileBlockOp(context, action);\n\n      case \"CompileInline\"\n      /* CompileInline */\n      :\n        return CompileInlineOp(context, action);\n\n      case \"DynamicComponent\"\n      /* DynamicComponent */\n      :\n        return DynamicComponent(context, action);\n\n      case \"IfResolvedComponent\"\n      /* IfResolvedComponent */\n      :\n        return IfResolvedComponent(context, action);\n\n      default:\n        return (0, _util.exhausted)(action);\n    }\n  }\n\n  function CompileBlockOp(context, op) {\n    return compileBlock(op.op1, context);\n  }\n\n  function CompileInlineOp(context, op) {\n    var {\n      inline,\n      ifUnhandled\n    } = op.op1;\n    var returned = compileInline(inline, context);\n\n    if (isHandled(returned)) {\n      return returned;\n    } else {\n      return ifUnhandled(inline);\n    }\n  }\n\n  function DynamicComponent(context, action) {\n    var {\n      definition,\n      attrs,\n      params,\n      args,\n      blocks,\n      atNames,\n      curried\n    } = action.op1;\n    var attrsBlock = attrs && attrs.length > 0 ? compilableBlock(attrs, context.meta) : null;\n    var compiled = Array.isArray(blocks) || blocks === null ? namedBlocks(blocks, context.meta) : blocks;\n    return InvokeDynamicComponent(context.meta, {\n      definition,\n      attrs: attrsBlock,\n      params,\n      hash: args,\n      atNames,\n      blocks: compiled,\n      curried\n    });\n  }\n\n  function IfResolvedComponent(context, action) {\n    var {\n      name,\n      attrs,\n      blocks,\n      staticTemplate,\n      dynamicTemplate,\n      orElse\n    } = action.op1;\n    var component = resolveLayoutForTag(name, {\n      resolver: context.syntax.program.resolver,\n      meta: context.meta\n    });\n    var {\n      meta\n    } = context;\n\n    if (component !== null) {\n      var {\n        handle,\n        capabilities,\n        compilable: compilable$$1\n      } = component;\n      var attrsBlock = compilableBlock(attrs, meta);\n      var compilableBlocks = namedBlocks(blocks, meta);\n\n      if (compilable$$1 !== null) {\n        return staticTemplate(handle, capabilities, compilable$$1, {\n          attrs: attrsBlock,\n          blocks: compilableBlocks\n        });\n      } else {\n        return dynamicTemplate(handle, capabilities, {\n          attrs: attrsBlock,\n          blocks: compilableBlocks\n        });\n      }\n    } else if (orElse) {\n      return orElse();\n    } else {\n      throw new Error(`Compile Error: Cannot find component ${name}`);\n    }\n  }\n\n  function pushOp(encoder, constants, op) {\n    if (op.op3 !== undefined) {\n      encoder.push(constants, op.op, op.op1, op.op2, op.op3);\n    } else if (op.op2 !== undefined) {\n      encoder.push(constants, op.op, op.op1, op.op2);\n    } else if (op.op1 !== undefined) {\n      encoder.push(constants, op.op, op.op1);\n    } else {\n      encoder.push(constants, op.op);\n    }\n  }\n\n  class Compilers {\n    constructor() {\n      this.names = {};\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.names[name] = this.funcs.push(func) - 1;\n    }\n\n    compile(sexp, meta) {\n      var name = sexp[0];\n      var index = this.names[name];\n      var func = this.funcs[index];\n      return func(sexp, meta);\n    }\n\n  }\n\n  var EXPRESSIONS = new Compilers();\n  EXPRESSIONS.add(31\n  /* Concat */\n  , ([, parts]) => {\n    var out = [];\n\n    for (var part of parts) {\n      out.push(op('Expr', part));\n    }\n\n    out.push(op(27\n    /* Concat */\n    , parts.length));\n    return out;\n  });\n  EXPRESSIONS.add(30\n  /* Call */\n  , ([, name, params, hash], meta) => {\n    // TODO: triage this in the WF compiler\n    var start = 0;\n    var offset = 0;\n\n    if (isComponent(name, meta)) {\n      if (!params || params.length === 0) {\n        return op('Error', {\n          problem: 'component helper requires at least one argument',\n          start: start,\n          end: start + offset\n        });\n      }\n\n      var [definition, ...restArgs] = params;\n      return curryComponent({\n        definition,\n        params: restArgs,\n        hash,\n        atNames: false\n      }, meta.owner);\n    }\n\n    var nameOrError = expectString(name, meta, 'Expected call head to be a string');\n\n    if (typeof nameOrError !== 'string') {\n      return nameOrError;\n    }\n\n    return op('IfResolved', {\n      kind: \"Helper\"\n      /* Helper */\n      ,\n      name: nameOrError,\n      andThen: handle => Call({\n        handle,\n        params,\n        hash\n      }),\n      span: {\n        start,\n        end: start + offset\n      }\n    });\n  });\n\n  function isGetContextualFree(opcode) {\n    return opcode[0] >= 34\n    /* GetContextualFreeStart */\n    ;\n  }\n\n  function isComponent(expr, meta) {\n    if (!Array.isArray(expr)) {\n      return false;\n    }\n\n    if (isGetContextualFree(expr)) {\n      var head = expr[1];\n\n      if (meta.upvars && meta.upvars[head] === 'component') {\n        return true;\n      } else {\n        return false;\n      }\n    }\n\n    return false;\n  }\n\n  EXPRESSIONS.add(32\n  /* GetSymbol */\n  , ([, sym, path]) => withPath(op(21\n  /* GetVariable */\n  , sym), path));\n  EXPRESSIONS.add(33\n  /* GetFree */\n  , ([, sym, path]) => withPath(op('ResolveFree', sym), path));\n  EXPRESSIONS.add(34\n  /* GetFreeInAppendSingleId */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 0\n    /* AppendSingleId */\n\n  }), path));\n  EXPRESSIONS.add(35\n  /* GetFreeInExpression */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 1\n    /* Expression */\n\n  }), path));\n  EXPRESSIONS.add(36\n  /* GetFreeInCallHead */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 2\n    /* CallHead */\n\n  }), path));\n  EXPRESSIONS.add(37\n  /* GetFreeInBlockHead */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 3\n    /* BlockHead */\n\n  }), path));\n  EXPRESSIONS.add(38\n  /* GetFreeInModifierHead */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 4\n    /* ModifierHead */\n\n  }), path));\n  EXPRESSIONS.add(39\n  /* GetFreeInComponentHead */\n  , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n    freeVar: sym,\n    context: 5\n    /* ComponentHead */\n\n  }), path));\n\n  function withPath(expr, path) {\n    if (path === undefined || path.length === 0) return expr;\n    if (!Array.isArray(expr)) expr = [expr];\n\n    for (var i = 0; i < path.length; i++) {\n      expr.push(op(22\n      /* GetProperty */\n      , path[i]));\n    }\n\n    return expr;\n  }\n\n  EXPRESSIONS.add(29\n  /* Undefined */\n  , () => PushPrimitiveReference(undefined));\n  EXPRESSIONS.add(27\n  /* HasBlock */\n  , ([, block]) => {\n    return [op('Expr', block), op(25\n    /* HasBlock */\n    )];\n  });\n  EXPRESSIONS.add(28\n  /* HasBlockParams */\n  , ([, block]) => [op('Expr', block), op(24\n  /* SpreadBlock */\n  ), op(60\n  /* CompileBlock */\n  ), op(26\n  /* HasBlockParams */\n  )]);\n\n  function pushResolutionOp(encoder, context, operation, constants) {\n    switch (operation.op) {\n      case \"SimpleArgs\"\n      /* SimpleArgs */\n      :\n        concatExpressions(encoder, context, compileSimpleArgs(operation.op1.params, operation.op1.hash, operation.op1.atNames), constants);\n        break;\n\n      case \"Expr\"\n      /* Expr */\n      :\n        concatExpressions(encoder, context, expr(operation.op1, context.meta), constants);\n        break;\n\n      case \"IfResolved\"\n      /* IfResolved */\n      :\n        {\n          concatExpressions(encoder, context, ifResolved(context, operation), constants);\n          break;\n        }\n\n      case \"ResolveFree\"\n      /* ResolveFree */\n      :\n        {\n          throw new Error('Unimplemented HighLevelResolutionOpcode.ResolveFree');\n        }\n\n      case \"ResolveContextualFree\"\n      /* ResolveContextualFree */\n      :\n        {\n          var {\n            freeVar,\n            context: expressionContext\n          } = operation.op1;\n\n          if (context.meta.asPartial) {\n            var name = context.meta.upvars[freeVar];\n            concatExpressions(encoder, context, [op(102\n            /* ResolveMaybeLocal */\n            , name)], constants);\n            break;\n          }\n\n          switch (expressionContext) {\n            case 1\n            /* Expression */\n            :\n              {\n                // in classic mode, this is always a this-fallback\n                var _name2 = context.meta.upvars[freeVar];\n                concatExpressions(encoder, context, [op(21\n                /* GetVariable */\n                , 0), op(22\n                /* GetProperty */\n                , _name2)], constants);\n                break;\n              }\n\n            case 0\n            /* AppendSingleId */\n            :\n              {\n                var resolver = context.syntax.program.resolver;\n                var _name3 = context.meta.upvars[freeVar];\n                var resolvedHelper = resolver.lookupHelper(_name3, context.meta.owner);\n                var expressions;\n\n                if (resolvedHelper) {\n                  expressions = Call({\n                    handle: resolvedHelper,\n                    params: null,\n                    hash: null\n                  });\n                } else {\n                  // in classic mode, this is always a this-fallback\n                  expressions = [op(21\n                  /* GetVariable */\n                  , 0), op(22\n                  /* GetProperty */\n                  , _name3)];\n                }\n\n                concatExpressions(encoder, context, expressions, constants);\n                break;\n              }\n\n            default:\n              throw new Error(`unimplemented: Can't evaluate expression in context ${expressionContext}`);\n          }\n\n          break;\n        }\n\n      default:\n        return (0, _util.exhausted)(operation);\n    }\n  }\n\n  function expr(expression$$1, meta$$1) {\n    if (Array.isArray(expression$$1)) {\n      return EXPRESSIONS.compile(expression$$1, meta$$1);\n    } else {\n      return [PushPrimitive(expression$$1), op(30\n      /* PrimitiveReference */\n      )];\n    }\n  }\n\n  function compileSimpleArgs(params, hash, atNames) {\n    var out = [];\n    var {\n      count,\n      actions\n    } = CompilePositional(params);\n    out.push(actions);\n    var flags = count << 4;\n    if (atNames) flags |= 0b1000;\n    var names = _util.EMPTY_ARRAY;\n\n    if (hash) {\n      names = hash[0];\n      var val = hash[1];\n\n      for (var i = 0; i < val.length; i++) {\n        out.push(op('Expr', val[i]));\n      }\n    }\n\n    out.push(op(82\n    /* PushArgs */\n    , strArray(names), strArray(_util.EMPTY_ARRAY), flags));\n    return out;\n  }\n\n  function ifResolved(context, {\n    op1\n  }) {\n    var {\n      kind,\n      name,\n      andThen,\n      orElse,\n      span\n    } = op1;\n    var resolved = resolve(context.syntax.program.resolver, kind, name, context.meta.owner);\n\n    if (resolved !== null) {\n      return andThen(resolved);\n    } else if (orElse) {\n      return orElse();\n    } else {\n      return error(`Unexpected ${kind} ${name}`, span.start, span.end);\n    }\n  }\n\n  function resolve(resolver, kind, name, owner) {\n    switch (kind) {\n      case \"Modifier\"\n      /* Modifier */\n      :\n        return resolver.lookupModifier(name, owner);\n\n      case \"Helper\"\n      /* Helper */\n      :\n        return resolver.lookupHelper(name, owner);\n\n      case \"ComponentDefinition\"\n      /* ComponentDefinition */\n      :\n        {\n          var component = resolver.lookupComponent(name, owner);\n          return component && component.handle;\n        }\n    }\n  }\n\n  var NONE = {\n    'no-action': true\n  };\n  _exports.NONE = NONE;\n  var UNHANDLED = {\n    'not-handled': true\n  };\n  _exports.UNHANDLED = UNHANDLED;\n\n  function isNoAction(actions) {\n    return actions && !!actions['no-action'];\n  }\n\n  function isHandled(actions) {\n    return !actions || !actions['not-handled'];\n  }\n\n  function concat(context, action) {\n    if (isNoAction(action)) {\n      return;\n    } else if (Array.isArray(action)) {\n      for (var item of action) {\n        concat(context, item);\n      }\n    } else if (action.type === 'Simple') {\n      pushBuilderOp(context, action);\n    } else {\n      pushOp(context.encoder, context.syntax.program.constants, action);\n    }\n  }\n\n  function concatExpressions(encoder, context, action, constants) {\n    if (isNoAction(action)) {\n      return;\n    } else if (Array.isArray(action)) {\n      for (var item of action) {\n        concatExpressions(encoder, context, item, constants);\n      }\n    } else if (action.type === 'Number') {\n      pushOp(encoder, constants, action);\n    } else if (action.type === 'Resolution') {\n      pushResolutionOp(encoder, context, action, constants);\n    } else if (action.type === 'Simple') {\n      pushBuilderOp(context, action);\n    } else if (action.type === 'Error') {\n      encoder.error({\n        problem: action.op1.problem,\n        span: {\n          start: action.op1.start,\n          end: action.op1.end\n        }\n      });\n    } else {\n      throw (0, _util.assertNever)(action, 'unexpected action kind');\n    }\n  }\n\n  function concatStatements(context, action) {\n    if (isNoAction(action)) {\n      return;\n    } else if (Array.isArray(action)) {\n      for (var item of action) {\n        concatStatements(context, item);\n      }\n    } else if (action.type === 'Number') {\n      pushOp(context.encoder, context.syntax.program.constants, action);\n    } else {\n      if (action.type === 'Compile') {\n        pushCompileOp(context, action);\n      } else if (action.type === 'Resolution') {\n        pushResolutionOp(context.encoder, context, action, context.syntax.program.constants);\n      } else if (action.type === 'Simple') {\n        pushBuilderOp(context, action);\n      } else if (action.type === 'Error') {} else {\n        throw (0, _util.assertNever)(action, `unexpected action type`);\n      }\n    }\n  }\n\n  function populateBuiltins(blocks, inlines) {\n    blocks.add('if', (params, _hash, blocks) => {\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #if requires a single argument`);\n      }\n\n      return ReplayableIf({\n        args() {\n          return {\n            count: 1,\n            actions: [op('Expr', params[0]), op(70\n            /* ToBoolean */\n            )]\n          };\n        },\n\n        ifTrue() {\n          return InvokeStaticBlock(blocks.get('default'));\n        },\n\n        ifFalse() {\n          if (blocks.has('else')) {\n            return InvokeStaticBlock(blocks.get('else'));\n          } else {\n            return NONE;\n          }\n        }\n\n      });\n    });\n    blocks.add('unless', (params, _hash, blocks) => {\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #unless requires a single argument`);\n      }\n\n      return ReplayableIf({\n        args() {\n          return {\n            count: 1,\n            actions: [op('Expr', params[0]), op(70\n            /* ToBoolean */\n            )]\n          };\n        },\n\n        ifTrue() {\n          if (blocks.has('else')) {\n            return InvokeStaticBlock(blocks.get('else'));\n          } else {\n            return NONE;\n          }\n        },\n\n        ifFalse() {\n          return InvokeStaticBlock(blocks.get('default'));\n        }\n\n      });\n    });\n    blocks.add('with', (params, _hash, blocks) => {\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #with requires a single argument`);\n      }\n\n      return ReplayableIf({\n        args() {\n          return {\n            count: 2,\n            actions: [op('Expr', params[0]), op(32\n            /* Dup */\n            , _vm.$sp, 0), op(70\n            /* ToBoolean */\n            )]\n          };\n        },\n\n        ifTrue() {\n          return InvokeStaticBlockWithStack(blocks.get('default'), 1);\n        },\n\n        ifFalse() {\n          if (blocks.has('else')) {\n            return InvokeStaticBlock(blocks.get('else'));\n          } else {\n            return NONE;\n          }\n        }\n\n      });\n    });\n    blocks.add('let', (params, _hash, blocks) => {\n      if (!params) {\n        return error('let requires arguments', 0, 0);\n      }\n\n      var {\n        count,\n        actions\n      } = CompilePositional(params);\n      return [actions, InvokeStaticBlockWithStack(blocks.get('default'), count)];\n    });\n    blocks.add('each', (params, hash, blocks) => {\n      return Replayable({\n        args() {\n          var actions;\n\n          if (hash && hash[0][0] === 'key') {\n            actions = [op('Expr', hash[1][0])];\n          } else {\n            actions = [PushPrimitiveReference(null)];\n          }\n\n          actions.push(op('Expr', params[0]));\n          return {\n            count: 2,\n            actions\n          };\n        },\n\n        body() {\n          var out = [op(71\n          /* EnterList */\n          , label('BODY'), label('ELSE')), op(0\n          /* PushFrame */\n          ), op(32\n          /* Dup */\n          , _vm.$fp, 1), op(6\n          /* ReturnTo */\n          , label('ITER')), op('Label', 'ITER'), op(73\n          /* Iterate */\n          , label('BREAK')), op('Label', 'BODY'), InvokeStaticBlockWithStack(blocks.get('default'), 2), op(33\n          /* Pop */\n          , 2), op(4\n          /* Jump */\n          , label('FINALLY')), op('Label', 'BREAK'), op(1\n          /* PopFrame */\n          ), op(72\n          /* ExitList */\n          ), op(4\n          /* Jump */\n          , label('FINALLY')), op('Label', 'ELSE')];\n\n          if (blocks.has('else')) {\n            out.push(InvokeStaticBlock(blocks.get('else')));\n          }\n\n          return out;\n        }\n\n      });\n    });\n    blocks.add('in-element', (params, hash, blocks) => {\n      if (!params || params.length !== 1) {\n        throw new Error(`SYNTAX ERROR: #in-element requires a single argument`);\n      }\n\n      return ReplayableIf({\n        args() {\n          var [keys, values] = hash;\n          var actions = [];\n\n          for (var i = 0; i < keys.length; i++) {\n            var key = keys[i];\n\n            if (key === 'guid' || key === 'insertBefore') {\n              actions.push(op('Expr', values[i]));\n            } else {\n              throw new Error(`SYNTAX ERROR: #in-element does not take a \\`${keys[0]}\\` option`);\n            }\n          }\n\n          actions.push(op('Expr', params[0]), op(32\n          /* Dup */\n          , _vm.$sp, 0));\n          return {\n            count: 4,\n            actions\n          };\n        },\n\n        ifTrue() {\n          return [op(49\n          /* PushRemoteElement */\n          ), InvokeStaticBlock(blocks.get('default')), op(55\n          /* PopRemoteElement */\n          )];\n        }\n\n      });\n    });\n    blocks.add('-with-dynamic-vars', (_params, hash, blocks) => {\n      if (hash) {\n        var [names, expressions] = hash;\n        var {\n          actions\n        } = CompilePositional(expressions);\n        return [actions, DynamicScope(names, () => {\n          return InvokeStaticBlock(blocks.get('default'));\n        })];\n      } else {\n        return InvokeStaticBlock(blocks.get('default'));\n      }\n    });\n    blocks.add('component', (_params, hash, blocks, context) => {\n      var tag = _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = StaticComponentHelper(context, _params[0], hash, blocks.get('default'));\n        if (isHandled(returned)) return returned;\n      }\n\n      var [definition, ...params] = _params;\n      return op('DynamicComponent', {\n        definition,\n        attrs: null,\n        params,\n        args: hash,\n        atNames: false,\n        blocks,\n        curried: false\n      });\n    });\n    inlines.add('component', (_name, _params, hash, context) => {\n      var tag = _params && _params[0];\n\n      if (typeof tag === 'string') {\n        var returned = StaticComponentHelper(context, tag, hash, null);\n        if (returned !== UNHANDLED) return returned;\n      }\n\n      var [definition, ...params] = _params;\n      return InvokeDynamicComponent(context.meta, {\n        definition,\n        attrs: null,\n        params,\n        hash,\n        atNames: false,\n        blocks: EMPTY_BLOCKS,\n        curried: false\n      });\n    });\n    return {\n      blocks,\n      inlines\n    };\n  }\n\n  class MacrosImpl {\n    constructor() {\n      var {\n        blocks,\n        inlines\n      } = populateBuiltins(new Blocks(), new Inlines());\n      this.blocks = blocks;\n      this.inlines = inlines;\n    }\n\n  }\n\n  _exports.MacrosImpl = MacrosImpl;\n\n  class Blocks {\n    constructor() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    }\n\n    addMissing(func) {\n      this.missing = func;\n    }\n\n    compile(name, params, hash, blocks, context) {\n      var index = this.names[name];\n      var macroContext = {\n        resolver: context.syntax.program.resolver,\n        meta: context.meta\n      };\n\n      if (index === undefined) {\n        var func = this.missing;\n        var handled = func(name, params, hash, blocks, macroContext);\n        return handled;\n      } else {\n        var _func = this.funcs[index];\n        return _func(params, hash, blocks, macroContext);\n      }\n    }\n\n  }\n\n  class Inlines {\n    constructor() {\n      this.names = (0, _util.dict)();\n      this.funcs = [];\n    }\n\n    add(name, func) {\n      this.funcs.push(func);\n      this.names[name] = this.funcs.length - 1;\n    }\n\n    addMissing(func) {\n      this.missing = func;\n    }\n\n    compile(sexp, context) {\n      var [, value] = sexp; // TODO: Fix this so that expression macros can return\n      // things like components, so that {{component foo}}\n      // is the same as {{(component foo)}}\n\n      if (!Array.isArray(value)) return UNHANDLED;\n      var name;\n      var params;\n      var hash;\n\n      if (value[0] === 30\n      /* Call */\n      ) {\n          var nameOrError = expectString(value[1], context.meta, 'Expected head of call to be a string');\n\n          if (typeof nameOrError !== 'string') {\n            return nameOrError;\n          }\n\n          name = nameOrError;\n          params = value[2];\n          hash = value[3];\n        } else if (isGet(value)) {\n        var pathName = simplePathName(value, context.meta);\n\n        if (pathName === null) {\n          return UNHANDLED;\n        }\n\n        name = pathName;\n        params = null;\n        hash = null;\n      } else {\n        return UNHANDLED;\n      }\n\n      var index = this.names[name];\n      var macroContext = {\n        resolver: context.syntax.program.resolver,\n        meta: context.meta\n      };\n\n      if (index === undefined && this.missing) {\n        var func = this.missing;\n        return func(name, params, hash, macroContext);\n      } else if (index !== undefined) {\n        var _func2 = this.funcs[index];\n        return _func2(name, params, hash, macroContext);\n      } else {\n        return UNHANDLED;\n      }\n    }\n\n  }\n\n  function syntaxCompilationContext(artifacts, resolver, macros = new MacrosImpl()) {\n    return {\n      program: new CompileTimeCompilationContextImpl(artifacts, resolver),\n      macros\n    };\n  }\n\n  function templateCompilationContext(syntax, meta) {\n    var encoder = new EncoderImpl();\n    return {\n      syntax,\n      encoder,\n      meta\n    };\n  }\n\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\n  function inflateTagName(tagName) {\n    return typeof tagName === 'string' ? tagName : INFLATE_TAG_TABLE[tagName];\n  }\n\n  function inflateAttrName(attrName) {\n    return typeof attrName === 'string' ? attrName : INFLATE_ATTR_TABLE[attrName];\n  }\n\n  STATEMENTS.add(3\n  /* Comment */\n  , sexp => op(41\n  /* Comment */\n  , sexp[1]));\n  STATEMENTS.add(13\n  /* CloseElement */\n  , () => op(54\n  /* CloseElement */\n  ));\n  STATEMENTS.add(12\n  /* FlushElement */\n  , () => op(53\n  /* FlushElement */\n  ));\n  STATEMENTS.add(4\n  /* Modifier */\n  , (sexp, meta) => {\n    var [, name, params, hash] = sexp;\n    var stringName = expectString(name, meta, 'Expected modifier head to be a string');\n\n    if (typeof stringName !== 'string') {\n      return stringName;\n    }\n\n    return op('IfResolved', {\n      kind: \"Modifier\"\n      /* Modifier */\n      ,\n      name: stringName,\n      andThen: handle => [op(0\n      /* PushFrame */\n      ), op('SimpleArgs', {\n        params,\n        hash,\n        atNames: false\n      }), op(56\n      /* Modifier */\n      , handle), op(1\n      /* PopFrame */\n      )],\n      span: {\n        start: 0,\n        end: 0\n      }\n    });\n  });\n  STATEMENTS.add(14\n  /* StaticAttr */\n  , ([, name, value, namespace]) => op(50\n  /* StaticAttr */\n  , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null));\n  STATEMENTS.add(24\n  /* StaticComponentAttr */\n  , ([, name, value, namespace]) => op(105\n  /* StaticComponentAttr */\n  , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null));\n  STATEMENTS.add(15\n  /* DynamicAttr */\n  , ([, name, value, namespace]) => [op('Expr', value), op(51\n  /* DynamicAttr */\n  , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null)]);\n  STATEMENTS.add(22\n  /* TrustingDynamicAttr */\n  , ([, name, value, namespace]) => [op('Expr', value), op(51\n  /* DynamicAttr */\n  , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null)]);\n  STATEMENTS.add(16\n  /* ComponentAttr */\n  , ([, name, value, namespace]) => [op('Expr', value), op(52\n  /* ComponentAttr */\n  , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null)]);\n  STATEMENTS.add(23\n  /* TrustingComponentAttr */\n  , ([, name, value, namespace]) => [op('Expr', value), op(52\n  /* ComponentAttr */\n  , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null)]);\n  STATEMENTS.add(10\n  /* OpenElement */\n  , ([, tag]) => {\n    return op(47\n    /* OpenElement */\n    , inflateTagName(tag));\n  });\n  STATEMENTS.add(11\n  /* OpenElementWithSplat */\n  , ([, tag]) => {\n    return [op(89\n    /* PutComponentOperations */\n    ), op(47\n    /* OpenElement */\n    , inflateTagName(tag))];\n  });\n  STATEMENTS.add(8\n  /* Component */\n  , ([, tag, attrs, args, blocks]) => {\n    if (typeof tag === 'string') {\n      return op('IfResolvedComponent', {\n        name: tag,\n        attrs,\n        blocks,\n        staticTemplate: (layoutHandle, capabilities, template, {\n          blocks,\n          attrs\n        }) => {\n          return [op(77\n          /* PushComponentDefinition */\n          , layoutHandle), InvokeStaticComponent({\n            capabilities,\n            layout: template,\n            attrs,\n            params: null,\n            hash: args,\n            blocks\n          })];\n        },\n        dynamicTemplate: (layoutHandle, capabilities, {\n          attrs,\n          blocks\n        }) => {\n          return [op(77\n          /* PushComponentDefinition */\n          , layoutHandle), InvokeComponent({\n            capabilities,\n            attrs,\n            params: null,\n            hash: args,\n            atNames: true,\n            blocks\n          })];\n        }\n      });\n    } else {\n      return op('DynamicComponent', {\n        definition: tag,\n        attrs,\n        params: null,\n        args,\n        blocks,\n        atNames: true,\n        curried: true\n      });\n    }\n  });\n  STATEMENTS.add(19\n  /* Partial */\n  , ([, name, evalInfo], meta) => ReplayableIf({\n    args() {\n      return {\n        count: 2,\n        actions: [op('Expr', name), op(32\n        /* Dup */\n        , _vm.$sp, 0)]\n      };\n    },\n\n    ifTrue() {\n      return [op(101\n      /* InvokePartial */\n      , other(meta.owner), strArray(meta.evalSymbols), arr(evalInfo)), op(39\n      /* PopScope */\n      ), op(1\n      /* PopFrame */\n      )];\n    }\n\n  }));\n  STATEMENTS.add(18\n  /* Yield */\n  , ([, to, params]) => YieldBlock(to, params));\n  STATEMENTS.add(17\n  /* AttrSplat */\n  , ([, to]) => YieldBlock(to, _util.EMPTY_ARRAY));\n  STATEMENTS.add(26\n  /* Debugger */\n  , ([, evalInfo], meta) => op(103\n  /* Debugger */\n  , strArray(meta.evalSymbols), arr(evalInfo)));\n  STATEMENTS.add(1\n  /* Append */\n  , sexp => {\n    var [, value] = sexp;\n    return op('CompileInline', {\n      inline: sexp,\n      ifUnhandled: () => [op(0\n      /* PushFrame */\n      ), op(\"Expr\"\n      /* Expr */\n      , value), op(3\n      /* InvokeStatic */\n      , {\n        type: 'stdlib',\n        value: 'cautious-append'\n      }), op(1\n      /* PopFrame */\n      )]\n    });\n  });\n  STATEMENTS.add(2\n  /* TrustingAppend */\n  , sexp => {\n    var [, value] = sexp;\n\n    if (typeof value === 'string') {\n      return op(40\n      /* Text */\n      , value);\n    } // macro was ignoring trusting flag doesn't seem like {{{}}} should\n    // even be passed to macros, there is no {{{component}}}\n\n\n    return [op(0\n    /* PushFrame */\n    ), op(\"Expr\"\n    /* Expr */\n    , value), op(3\n    /* InvokeStatic */\n    , {\n      type: 'stdlib',\n      value: 'trusting-append'\n    }), op(1\n    /* PopFrame */\n    )];\n  });\n  STATEMENTS.add(6\n  /* Block */\n  , sexp => {\n    return op('CompileBlock', sexp);\n  });\n  var PLACEHOLDER_HANDLE = -1;\n\n  class CompilableTemplateImpl {\n    constructor(statements, meta$$1, // Part of CompilableTemplate\n    symbolTable) {\n      this.statements = statements;\n      this.meta = meta$$1;\n      this.symbolTable = symbolTable;\n      this.compiled = null;\n    } // Part of CompilableTemplate\n\n\n    compile(context) {\n      return maybeCompile(this, context);\n    }\n\n  }\n\n  function compilable(layout) {\n    var block = layout.block;\n    return new CompilableTemplateImpl(block.statements, meta(layout), {\n      symbols: block.symbols,\n      hasEval: block.hasEval\n    });\n  }\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    (0, _program.patchStdlibs)(context.program);\n    compilable.compiled = result;\n    return result;\n  }\n\n  function compileStatements(statements, meta$$1, syntaxContext) {\n    var sCompiler = STATEMENTS;\n    var context = templateCompilationContext(syntaxContext, meta$$1);\n\n    for (var i = 0; i < statements.length; i++) {\n      concatStatements(context, sCompiler.compile(statements[i], context.meta));\n    }\n\n    var handle = context.encoder.commit(syntaxContext.program.heap, meta$$1.size);\n    return handle;\n  }\n\n  function compilableBlock(overloadBlock, containing) {\n    var block = Array.isArray(overloadBlock) ? {\n      statements: overloadBlock,\n      parameters: _util.EMPTY_ARRAY\n    } : overloadBlock;\n    return new CompilableTemplateImpl(block.statements, containing, {\n      parameters: block.parameters\n    });\n  }\n\n  class NamedBlocksImpl {\n    constructor(blocks) {\n      this.blocks = blocks;\n      this.names = blocks ? Object.keys(blocks) : [];\n    }\n\n    get(name) {\n      if (!this.blocks) return null;\n      return this.blocks[name] || null;\n    }\n\n    has(name) {\n      var {\n        blocks\n      } = this;\n      return blocks !== null && name in blocks;\n    }\n\n    with(name, block) {\n      var {\n        blocks\n      } = this;\n\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\n    get hasAny() {\n      return this.blocks !== null;\n    }\n\n  }\n\n  var EMPTY_BLOCKS = new NamedBlocksImpl(null);\n  _exports.EMPTY_BLOCKS = EMPTY_BLOCKS;\n\n  function namedBlocks(blocks, meta) {\n    if (blocks === null) {\n      return EMPTY_BLOCKS;\n    }\n\n    var out = (0, _util.dict)();\n    var [keys, values] = blocks;\n\n    for (var i = 0; i < keys.length; i++) {\n      out[keys[i]] = compilableBlock(values[i], meta);\n    }\n\n    return new NamedBlocksImpl(out);\n  }\n\n  function expectString(expr, meta, desc) {\n    if (!meta.upvars) {\n      return error(`${desc}, but there were no free variables in the template`, 0, 0);\n    }\n\n    if (!Array.isArray(expr)) {\n      throw new Error(`${desc}, got ${JSON.stringify(expr)}`);\n    }\n\n    if (isGet(expr)) {\n      var name = simplePathName(expr, meta);\n      if (name !== null) return name;\n    }\n\n    throw new Error(`${desc}, got ${JSON.stringify(expr)}`);\n  }\n\n  function simplePathName(opcode, meta) {\n    if (opcode.length === 3 && opcode[2].length > 0) {\n      return null;\n    }\n\n    if (isGetFree(opcode)) {\n      return meta.upvars[opcode[1]];\n    }\n\n    return null;\n  }\n\n  function isGet(opcode) {\n    return opcode.length >= 2 && opcode[0] >= 32\n    /* GetSymbol */\n    ;\n  }\n\n  function isGetFree(opcode) {\n    return opcode[0] >= 33\n    /* GetFree */\n    ;\n  }\n\n  function compileInline(sexp, context) {\n    return context.syntax.macros.inlines.compile(sexp, context);\n  }\n\n  function compileBlock(block, context) {\n    var [, name, params, hash, named] = block;\n    var blocks = namedBlocks(named, context.meta);\n    var nameOrError = expectString(name, context.meta, 'Expected block head to be a string');\n\n    if (typeof nameOrError !== 'string') {\n      return nameOrError;\n    }\n\n    return context.syntax.macros.blocks.compile(nameOrError, params || [], hash, blocks, context);\n  }\n\n  function commit(heap, scopeSize, buffer) {\n    var handle = heap.malloc();\n\n    for (var i = 0; i < buffer.length; i++) {\n      var value = buffer[i];\n\n      if (typeof value === 'function') {\n        heap.pushPlaceholder(value);\n      } else if (typeof value === 'object') {\n        heap.pushStdlib(value);\n      } else {\n        heap.push(value);\n      }\n    }\n\n    heap.finishMalloc(handle, scopeSize);\n    return handle;\n  }\n\n  var debugCompiler;\n  _exports.debugCompiler = debugCompiler;\n\n  class LabelsImpl {\n    constructor() {\n      this.labels = (0, _util.dict)();\n      this.targets = [];\n    }\n\n    label(name, index) {\n      this.labels[name] = index;\n    }\n\n    target(at, target) {\n      this.targets.push({\n        at,\n        target\n      });\n    }\n\n    patch(encoder) {\n      var {\n        targets,\n        labels\n      } = this;\n\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        encoder.patch(at, address);\n      }\n    }\n\n  }\n\n  function error(problem, start, end) {\n    return op('Error', {\n      problem,\n      start,\n      end\n    });\n  }\n\n  function op(name, op1, op2, op3) {\n    if (typeof name === 'number') {\n      if (op3 !== undefined) {\n        return {\n          type: 'Number',\n          op: name,\n          op1,\n          op2,\n          op3\n        };\n      } else if (op2 !== undefined) {\n        return {\n          type: 'Number',\n          op: name,\n          op1,\n          op2\n        };\n      } else if (op1 !== undefined) {\n        return {\n          type: 'Number',\n          op: name,\n          op1: op1\n        };\n      } else {\n        return {\n          type: 'Number',\n          op: name\n        };\n      }\n    } else {\n      var type;\n\n      if (isCompileOpcode(name)) {\n        type = 'Compile';\n      } else if (isResolutionOpcode(name)) {\n        type = 'Resolution';\n      } else if (isSimpleOpcode(name)) {\n        type = 'Simple';\n      } else if (isErrorOpcode(name)) {\n        type = 'Error';\n      } else {\n        throw new Error(`Exhausted ${name}`);\n      }\n\n      if (op1 === undefined) {\n        return {\n          type,\n          op: name,\n          op1: undefined\n        };\n      } else {\n        return {\n          type,\n          op: name,\n          op1\n        };\n      }\n    }\n  }\n\n  class EncoderImpl {\n    constructor() {\n      this.labelsStack = new _util.Stack();\n      this.encoder = new _encoder.InstructionEncoderImpl([]);\n      this.errors = [];\n    }\n\n    error(error) {\n      this.encoder.encode(29\n      /* Primitive */\n      , 0);\n      this.errors.push(error);\n    }\n\n    commit(heap, size) {\n      this.encoder.encode(5\n      /* Return */\n      , 1024\n      /* MACHINE_MASK */\n      );\n      var handle = commit(heap, size, this.encoder.buffer);\n\n      if (this.errors.length) {\n        return {\n          errors: this.errors,\n          handle\n        };\n      } else {\n        return handle;\n      }\n    }\n\n    push(constants, name, ...args) {\n      if ((0, _vm.isMachineOp)(name)) {\n        var operands = args.map((operand, i) => this.operand(constants, operand, i));\n        return this.encoder.encode(name, 1024\n        /* MACHINE_MASK */\n        , ...operands);\n      } else {\n        var _operands = args.map((operand, i) => this.operand(constants, operand, i));\n\n        return this.encoder.encode(name, 0, ..._operands);\n      }\n    }\n\n    operand(constants, operand, index) {\n      if (operand && typeof operand === 'object' && operand.type === 'label') {\n        this.currentLabels.target(this.encoder.size + index, operand.value);\n        return -1;\n      }\n\n      return constant(constants, operand);\n    }\n\n    get currentLabels() {\n      return this.labelsStack.current;\n    }\n\n    label(name) {\n      this.currentLabels.label(name, this.encoder.size);\n    }\n\n    startLabels() {\n      this.labelsStack.push(new LabelsImpl());\n    }\n\n    stopLabels() {\n      var label = this.labelsStack.pop();\n      label.patch(this.encoder);\n    }\n\n  }\n\n  function constant(constants, operand) {\n    if (typeof operand === 'number' || typeof operand === 'function') {\n      return operand;\n    }\n\n    if (typeof operand === 'boolean') {\n      return operand === true ? 1 : 0;\n    }\n\n    if (typeof operand === 'string') {\n      return constants.value(operand);\n    }\n\n    if (operand === null) {\n      return 0;\n    }\n\n    switch (operand.type) {\n      case 'string-array':\n        return constants.array(operand.value);\n\n      case 'serializable':\n        return constants.serializable(operand.value);\n\n      case 'stdlib':\n        return operand;\n\n      case 'immediate':\n        return (0, _util.encodeImmediate)(operand.value);\n\n      case 'primitive':\n      case 'array':\n      case 'other':\n        return (0, _util.encodeHandle)(constants.value(operand.value));\n\n      case 'lookup':\n        throw (0, _util.unreachable)('lookup not reachable');\n\n      default:\n        return (0, _util.exhausted)(operand);\n    }\n  }\n\n  function isSimpleOpcode(op) {\n    return op === 'Label' || op === 'Option' || op === 'StartLabels' || op === 'StopLabels';\n  }\n\n  function isCompileOpcode(op) {\n    return op === 'CompileInline' || op === 'CompileBlock' || op === 'IfResolvedComponent' || op === 'DynamicComponent';\n  }\n\n  function isResolutionOpcode(op) {\n    return op === 'IfResolved' || op === 'Expr' || op === 'SimpleArgs' || op === 'ResolveFree' || op === 'ResolveContextualFree';\n  }\n\n  function isErrorOpcode(op) {\n    return op === 'Error';\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\n  function CompileArgs({\n    params,\n    hash,\n    blocks,\n    atNames\n  }) {\n    var out = [];\n    var blockNames = blocks.names;\n\n    for (var i = 0; i < blockNames.length; i++) {\n      out.push(PushYieldableBlock(blocks.get(blockNames[i])));\n    }\n\n    var {\n      count,\n      actions\n    } = CompilePositional(params);\n    out.push(actions);\n    var flags = count << 4;\n    if (atNames) flags |= 0b1000;\n\n    if (blocks) {\n      flags |= 0b111;\n    }\n\n    var names = _util.EMPTY_ARRAY;\n\n    if (hash) {\n      names = hash[0];\n      var val = hash[1];\n\n      for (var _i = 0; _i < val.length; _i++) {\n        out.push(op('Expr', val[_i]));\n      }\n    }\n\n    out.push(op(82\n    /* PushArgs */\n    , strArray(names), strArray(blockNames), flags));\n    return out;\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 params an optional list of positional arguments\n   */\n\n\n  function CompilePositional(params) {\n    if (!params) return {\n      count: 0,\n      actions: NONE\n    };\n    var actions = [];\n\n    for (var i = 0; i < params.length; i++) {\n      actions.push(op('Expr', params[i]));\n    }\n\n    return {\n      count: params.length,\n      actions\n    };\n  }\n\n  function meta(layout) {\n    return {\n      asPartial: layout.asPartial || false,\n      evalSymbols: evalSymbols(layout),\n      upvars: layout.block.upvars,\n      moduleName: layout.moduleName,\n      owner: layout.owner,\n      size: layout.block.symbols.length\n    };\n  }\n\n  function evalSymbols(layout) {\n    var {\n      block\n    } = layout;\n    return block.hasEval ? block.symbols : null;\n  }\n\n  var ATTRS_BLOCK = '&attrs';\n\n  function StaticComponentHelper(context, tag, hash, template) {\n    var component = resolveLayoutForTag(tag, context);\n\n    if (component !== null) {\n      var {\n        compilable: compilable$$1,\n        handle,\n        capabilities\n      } = component;\n\n      if (compilable$$1) {\n        if (hash) {\n          for (var i = 0; i < hash[0].length; i = i + 1) {\n            hash[0][i] = `@${hash[0][i]}`;\n          }\n        }\n\n        var out = [op(77\n        /* PushComponentDefinition */\n        , handle)];\n        out.push(InvokeStaticComponent({\n          capabilities,\n          layout: compilable$$1,\n          attrs: null,\n          params: null,\n          hash,\n          blocks: new NamedBlocksImpl({\n            default: template\n          })\n        }));\n        return out;\n      }\n    }\n\n    return UNHANDLED;\n  }\n\n  function InvokeStaticComponent({\n    capabilities,\n    layout,\n    attrs,\n    params,\n    hash,\n    blocks\n  }) {\n    var {\n      symbolTable\n    } = layout;\n    var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n\n    if (bailOut) {\n      return InvokeComponent({\n        capabilities,\n        attrs,\n        params,\n        hash,\n        atNames: true,\n        blocks,\n        layout\n      });\n    }\n\n    var out = [op(35\n    /* Fetch */\n    , _vm.$s0), op(32\n    /* Dup */\n    , _vm.$sp, 1), op(34\n    /* Load */\n    , _vm.$s0), op(0\n    /* PushFrame */\n    )]; // 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 (attrs !== null) {\n      var symbol = symbols.indexOf(ATTRS_BLOCK);\n\n      if (symbol !== -1) {\n        out.push(PushYieldableBlock(attrs));\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\n    for (var i = 0; i < blockNames.length; i++) {\n      var name = blockNames[i];\n\n      var _symbol = symbols.indexOf(`&${name}`);\n\n      if (_symbol !== -1) {\n        out.push(PushYieldableBlock(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\n    if (capabilities.createArgs) {\n      // First we push positional arguments\n      var {\n        count,\n        actions\n      } = CompilePositional(params);\n      out.push(actions); // 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_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 (hash !== null) {\n        names = hash[0];\n        var val = hash[1];\n\n        for (var _i2 = 0; _i2 < val.length; _i2++) {\n          var _symbol2 = symbols.indexOf(names[_i2]);\n\n          out.push(op('Expr', 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\n      out.push(op(82\n      /* PushArgs */\n      , strArray(names), strArray(_util.EMPTY_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 (hash !== 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 = hash[0];\n      var _val = hash[1];\n\n      for (var _i3 = 0; _i3 < _val.length; _i3++) {\n        var _name4 = _names[_i3];\n\n        var _symbol3 = symbols.indexOf(_name4);\n\n        if (_symbol3 !== -1) {\n          out.push(op('Expr', _val[_i3]));\n          argSymbols.push(_symbol3);\n          argNames.push(_name4);\n        }\n      }\n    }\n\n    out.push(op(97\n    /* BeginComponentTransaction */\n    , _vm.$s0));\n\n    if (capabilities.dynamicScope) {\n      out.push(op(58\n      /* PushDynamicScope */\n      ));\n    }\n\n    if (capabilities.createInstance) {\n      out.push(op(87\n      /* CreateComponent */\n      , blocks.has('default') | 0, _vm.$s0));\n    }\n\n    out.push(op(88\n    /* RegisterComponentDestructor */\n    , _vm.$s0));\n\n    if (capabilities.createArgs) {\n      out.push(op(90\n      /* GetComponentSelf */\n      , _vm.$s0));\n    } else {\n      out.push(op(90\n      /* GetComponentSelf */\n      , _vm.$s0, other(argNames)));\n    }\n\n    out.push( // Setup the new root scope for the component\n    op(36\n    /* RootScope */\n    , 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    op(19\n    /* SetVariable */\n    , 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\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        out.push(op(33\n        /* Pop */\n        , 1));\n      } else {\n        out.push(op(19\n        /* SetVariable */\n        , _symbol4 + 1));\n      }\n    } // if any positional params exist, pop them off the stack as well\n\n\n    if (params !== null) {\n      out.push(op(33\n      /* Pop */\n      , params.length));\n    } // Finish up by popping off and assigning blocks\n\n\n    for (var _i5 = blockSymbols.length - 1; _i5 >= 0; _i5--) {\n      var _symbol5 = blockSymbols[_i5];\n      out.push(op(20\n      /* SetBlock */\n      , _symbol5 + 1));\n    }\n\n    out.push([op(28\n    /* Constant */\n    , other(layout)), op(60\n    /* CompileBlock */\n    ), op(2\n    /* InvokeVirtual */\n    )]);\n    out.push(op(100\n    /* DidRenderLayout */\n    , _vm.$s0));\n    out.push(op(1\n    /* PopFrame */\n    ), op(39\n    /* PopScope */\n    ));\n\n    if (capabilities.dynamicScope) {\n      out.push(op(59\n      /* PopDynamicScope */\n      ));\n    }\n\n    out.push(op(98\n    /* CommitComponentTransaction */\n    ), op(34\n    /* Load */\n    , _vm.$s0));\n    return out;\n  }\n\n  function InvokeDynamicComponent(meta$$1, {\n    definition,\n    attrs,\n    params,\n    hash,\n    atNames,\n    blocks,\n    curried\n  }) {\n    return Replayable({\n      args: () => {\n        return {\n          count: 2,\n          actions: [op('Expr', definition), op(32\n          /* Dup */\n          , _vm.$sp, 0)]\n        };\n      },\n      body: () => {\n        return [op(65\n        /* JumpUnless */\n        , label('ELSE')), curried ? op(81\n        /* ResolveCurriedComponent */\n        ) : op(80\n        /* ResolveDynamicComponent */\n        , other(meta$$1.owner)), op(78\n        /* PushDynamicComponentInstance */\n        ), InvokeComponent({\n          capabilities: true,\n          attrs,\n          params,\n          hash,\n          atNames,\n          blocks\n        }), op('Label', 'ELSE')];\n      }\n    });\n  }\n\n  function WrappedComponent(layout, attrsBlockNumber) {\n    return [op('StartLabels'), WithSavedRegister(_vm.$s1, () => [op(91\n    /* GetComponentTagName */\n    , _vm.$s0), op(30\n    /* PrimitiveReference */\n    ), op(32\n    /* Dup */\n    , _vm.$sp, 0)]), op(65\n    /* JumpUnless */\n    , label('BODY')), op(35\n    /* Fetch */\n    , _vm.$s1), op(89\n    /* PutComponentOperations */\n    ), op(48\n    /* OpenDynamicElement */\n    ), op(99\n    /* DidCreateElement */\n    , _vm.$s0), YieldBlock(attrsBlockNumber, _util.EMPTY_ARRAY), op(53\n    /* FlushElement */\n    ), op('Label', 'BODY'), InvokeStaticBlock(blockForLayout(layout)), op(35\n    /* Fetch */\n    , _vm.$s1), op(65\n    /* JumpUnless */\n    , label('END')), op(54\n    /* CloseElement */\n    ), op('Label', 'END'), op(34\n    /* Load */\n    , _vm.$s1), op('StopLabels')];\n  }\n\n  function StaticComponent(component, args) {\n    var [params, hash, blocks] = args;\n    if (component === null) return NONE;\n    var {\n      compilable: compilable$$1,\n      capabilities,\n      handle\n    } = component;\n\n    if (compilable$$1) {\n      return [op(77\n      /* PushComponentDefinition */\n      , handle), InvokeStaticComponent({\n        capabilities: capabilities || MINIMAL_CAPABILITIES,\n        layout: compilable$$1,\n        attrs: null,\n        params,\n        hash,\n        blocks\n      })];\n    } else {\n      return [op(77\n      /* PushComponentDefinition */\n      , handle), InvokeComponent({\n        capabilities: capabilities || MINIMAL_CAPABILITIES,\n        attrs: null,\n        params,\n        hash,\n        atNames: true,\n        blocks\n      })];\n    }\n  }\n\n  function InvokeComponent({\n    capabilities,\n    attrs,\n    params,\n    hash,\n    atNames,\n    blocks: namedBlocks$$1,\n    layout\n  }) {\n    var bindableBlocks = !!namedBlocks$$1;\n    var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n    var blocks = namedBlocks$$1.with('attrs', attrs);\n    return [op(35\n    /* Fetch */\n    , _vm.$s0), op(32\n    /* Dup */\n    , _vm.$sp, 1), op(34\n    /* Load */\n    , _vm.$s0), op(0\n    /* PushFrame */\n    ), CompileArgs({\n      params,\n      hash,\n      blocks,\n      atNames\n    }), op(85\n    /* PrepareArgs */\n    , _vm.$s0), invokePreparedComponent(blocks.has('default'), bindableBlocks, bindableAtNames, () => {\n      var out;\n\n      if (layout) {\n        out = [PushSymbolTable(layout.symbolTable), PushCompilable(layout), op(60\n        /* CompileBlock */\n        )];\n      } else {\n        out = [op(92\n        /* GetComponentLayout */\n        , _vm.$s0)];\n      }\n\n      out.push(op(95\n      /* PopulateLayout */\n      , _vm.$s0));\n      return out;\n    }), op(34\n    /* Load */\n    , _vm.$s0)];\n  }\n\n  function invokePreparedComponent(hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n    var out = [op(97\n    /* BeginComponentTransaction */\n    , _vm.$s0), op(58\n    /* PushDynamicScope */\n    ), op(87\n    /* CreateComponent */\n    , 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      out.push(populateLayout());\n    }\n\n    out.push(op(88\n    /* RegisterComponentDestructor */\n    , _vm.$s0), op(90\n    /* GetComponentSelf */\n    , _vm.$s0), op(37\n    /* VirtualRootScope */\n    , _vm.$s0), op(19\n    /* SetVariable */\n    , 0), op(94\n    /* SetupForEval */\n    , _vm.$s0), bindableAtNames ? op(17\n    /* SetNamedVariables */\n    , _vm.$s0) : NONE, bindableBlocks ? op(18\n    /* SetBlocks */\n    , _vm.$s0) : NONE, op(33\n    /* Pop */\n    , 1), op(96\n    /* InvokeComponentLayout */\n    , _vm.$s0), op(100\n    /* DidRenderLayout */\n    , _vm.$s0), op(1\n    /* PopFrame */\n    ), op(39\n    /* PopScope */\n    ), op(59\n    /* PopDynamicScope */\n    ), op(98\n    /* CommitComponentTransaction */\n    ));\n    return out;\n  }\n\n  function InvokeBareComponent() {\n    return [op(35\n    /* Fetch */\n    , _vm.$s0), op(32\n    /* Dup */\n    , _vm.$sp, 1), op(34\n    /* Load */\n    , _vm.$s0), op(0\n    /* PushFrame */\n    ), op(83\n    /* PushEmptyArgs */\n    ), op(85\n    /* PrepareArgs */\n    , _vm.$s0), invokePreparedComponent(false, false, true, () => [op(92\n    /* GetComponentLayout */\n    , _vm.$s0), op(95\n    /* PopulateLayout */\n    , _vm.$s0)]), op(34\n    /* Load */\n    , _vm.$s0)];\n  }\n\n  function curryComponent({\n    definition,\n    params,\n    hash,\n    atNames\n  }, owner) {\n    return [op(0\n    /* PushFrame */\n    ), op('SimpleArgs', {\n      params,\n      hash,\n      atNames\n    }), op(86\n    /* CaptureArgs */\n    ), op('Expr', definition), op(76\n    /* CurryComponent */\n    , other(owner)), op(1\n    /* PopFrame */\n    ), op(35\n    /* Fetch */\n    , _vm.$v0)];\n  }\n\n  function blockForLayout(layout) {\n    return compilableBlock(layout.block.statements, meta(layout));\n  }\n\n  function WithSavedRegister(register, block) {\n    return [op(35\n    /* Fetch */\n    , register), block(), op(34\n    /* Load */\n    , register)];\n  }\n\n  class StdLib {\n    constructor(main, trustingGuardedAppend, cautiousGuardedAppend) {\n      this.main = main;\n      this.trustingGuardedAppend = trustingGuardedAppend;\n      this.cautiousGuardedAppend = cautiousGuardedAppend;\n    }\n\n    get 'trusting-append'() {\n      return this.trustingGuardedAppend;\n    }\n\n    get 'cautious-append'() {\n      return this.cautiousGuardedAppend;\n    }\n\n    getAppend(trusting) {\n      return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n    }\n\n  }\n\n  _exports.StdLib = StdLib;\n\n  function main() {\n    return [op(74\n    /* Main */\n    , _vm.$s0), invokePreparedComponent(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\n  function StdAppend(trusting) {\n    return [ContentTypeSwitchCases(when => {\n      when(1\n      /* String */\n      , () => {\n        if (trusting) {\n          return [op(67\n          /* AssertSame */\n          ), op(42\n          /* AppendHTML */\n          )];\n        } else {\n          return op(46\n          /* AppendText */\n          );\n        }\n      });\n      when(0\n      /* Component */\n      , () => [op(79\n      /* PushCurriedComponent */\n      ), op(78\n      /* PushDynamicComponentInstance */\n      ), InvokeBareComponent()]);\n      when(3\n      /* SafeString */\n      , () => [op(67\n      /* AssertSame */\n      ), op(43\n      /* AppendSafeHTML */\n      )]);\n      when(4\n      /* Fragment */\n      , () => [op(67\n      /* AssertSame */\n      ), op(44\n      /* AppendDocumentFragment */\n      )]);\n      when(5\n      /* Node */\n      , () => [op(67\n      /* AssertSame */\n      ), op(45\n      /* AppendNode */\n      )]);\n    })];\n  }\n\n  function compileStd(context) {\n    var mainHandle = build(context, main);\n    var trustingGuardedAppend = build(context, () => StdAppend(true));\n    var cautiousGuardedAppend = build(context, () => StdAppend(false));\n    return new StdLib(mainHandle, trustingGuardedAppend, cautiousGuardedAppend);\n  }\n\n  var STDLIB_META = {\n    asPartial: false,\n    evalSymbols: null,\n    upvars: null,\n    moduleName: 'stdlib',\n    // TODO: ??\n    owner: null,\n    size: 0\n  };\n\n  function build(program, callback) {\n    var encoder = new EncoderImpl();\n    var macros = new MacrosImpl();\n    var stdContext = {\n      encoder,\n      meta: STDLIB_META,\n      syntax: {\n        macros,\n        program\n      }\n    };\n    concat(stdContext, callback());\n    var result = encoder.commit(program.heap, 0);\n\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\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  }\n\n  _exports.CompileTimeCompilationContextImpl = CompileTimeCompilationContextImpl;\n\n  class PartialDefinitionImpl {\n    constructor(name, // for debugging\n    template) {\n      this.name = name;\n      this.template = template;\n    }\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  }\n\n  _exports.PartialDefinitionImpl = PartialDefinitionImpl;\n\n  class WrappedBuilder {\n    constructor(layout) {\n      this.layout = layout;\n      this.compiled = null;\n      var {\n        block\n      } = layout;\n      var symbols = block.symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n      var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n\n      if (attrsBlockIndex === -1) {\n        this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n      } else {\n        this.attrsBlockNumber = attrsBlockIndex + 1;\n      }\n\n      this.symbolTable = {\n        hasEval: block.hasEval,\n        symbols\n      };\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 actions = WrappedComponent(this.layout, this.attrsBlockNumber);\n      concatStatements(context, actions);\n      var handle = context.encoder.commit(context.syntax.program.heap, m.size);\n\n      if (typeof handle !== 'number') {\n        return handle;\n      }\n\n      this.compiled = handle;\n      (0, _program.patchStdlibs)(context.syntax.program);\n      return handle;\n    }\n\n  }\n\n  _exports.WrappedBuilder = WrappedBuilder;\n  var clientId = 0;\n  var 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  _exports.templateCacheCounters = templateCacheCounters;\n\n  function templateFactory({\n    id: templateId,\n    moduleName,\n    block\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\n    var factory = owner => {\n      if (parsedBlock === undefined) {\n        parsedBlock = JSON.parse(block);\n      }\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          });\n        } else {\n          templateCacheCounters.cacheHit++;\n        }\n\n        return ownerlessTemplate;\n      }\n\n      var result = templateCache.get(owner);\n\n      if (result === undefined) {\n        templateCacheCounters.cacheMiss++;\n        result = new TemplateImpl({\n          id,\n          block: parsedBlock,\n          moduleName,\n          owner\n        });\n        templateCache.set(owner, result);\n      } else {\n        templateCacheCounters.cacheHit++;\n      }\n\n      return result;\n    };\n\n    factory.__id = id;\n    factory.__meta = {\n      moduleName\n    };\n    return factory;\n  }\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\n    get moduleName() {\n      return this.parsedLayout.moduleName;\n    }\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\n    get referrer() {\n      return {\n        moduleName: this.parsedLayout.moduleName,\n        owner: this.parsedLayout.owner\n      };\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      }));\n    }\n\n    asPartial() {\n      if (this.partial) return this.partial;\n      return this.layout = compilable((0, _util.assign)({}, this.parsedLayout, {\n        asPartial: true\n      }));\n    }\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      }));\n    }\n\n  }\n});","define(\"@glimmer/program\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.hydrateHeap = hydrateHeap;\n  _exports.patchStdlibs = patchStdlibs;\n  _exports.artifacts = artifacts;\n  _exports.RuntimeOpImpl = _exports.RuntimeProgramImpl = _exports.HeapImpl = _exports.RuntimeHeapImpl = _exports.ConstantsImpl = _exports.RuntimeConstantsImpl = _exports.CompileTimeConstantImpl = void 0;\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\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\n    value(value) {\n      var indexMap = this.indexMap;\n      var index = indexMap.get(value);\n\n      if (index === undefined) {\n        index = this.values.push(value) - 1;\n        indexMap.set(value, index);\n      }\n\n      return index;\n    }\n\n    array(values) {\n      if (values.length === 0) {\n        return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n      }\n\n      var handles = new Array(values.length);\n\n      for (var i = 0; i < values.length; i++) {\n        handles[i] = this.value(values[i]);\n      }\n\n      return this.value(handles);\n    }\n\n    serializable(value) {\n      var str = JSON.stringify(value);\n      return this.value(str);\n    }\n\n    toPool() {\n      return this.values;\n    }\n\n  }\n\n  _exports.CompileTimeConstantImpl = CompileTimeConstantImpl;\n\n  class RuntimeConstantsImpl {\n    constructor(pool) {\n      this.values = pool;\n    }\n\n    getValue(handle) {\n      return this.values[handle];\n    }\n\n    getArray(value) {\n      var handles = this.getValue(value);\n      var reified = new Array(handles.length);\n\n      for (var i = 0; i < handles.length; i++) {\n        var n = handles[i];\n        reified[i] = this.getValue(n);\n      }\n\n      return reified;\n    }\n\n    getSerializable(s) {\n      return JSON.parse(this.values[s]);\n    }\n\n  }\n\n  _exports.RuntimeConstantsImpl = RuntimeConstantsImpl;\n\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    }\n\n    getValue(index) {\n      return this.values[index];\n    }\n\n    getArray(index) {\n      var reifiedArrs = this.reifiedArrs;\n      var reified = reifiedArrs[index];\n\n      if (reified === undefined) {\n        var names = this.getValue(index);\n        reified = new Array(names.length);\n\n        for (var i = 0; i < names.length; i++) {\n          reified[i] = this.getValue(names[i]);\n        }\n\n        reifiedArrs[index] = reified;\n      }\n\n      return reified;\n    }\n\n    getSerializable(s) {\n      return JSON.parse(this.getValue(s));\n    }\n\n  }\n\n  _exports.ConstantsImpl = ConstantsImpl;\n\n  class RuntimeOpImpl {\n    constructor(heap) {\n      this.heap = heap;\n      this.offset = 0;\n    }\n\n    get size() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return ((rawType & 768\n      /* OPERAND_LEN_MASK */\n      ) >> 8\n      /* ARG_SHIFT */\n      ) + 1;\n    }\n\n    get isMachine() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return rawType & 1024\n      /* MACHINE_MASK */\n      ? 1 : 0;\n    }\n\n    get type() {\n      return this.heap.getbyaddr(this.offset) & 255\n      /* TYPE_MASK */\n      ;\n    }\n\n    get op1() {\n      return this.heap.getbyaddr(this.offset + 1);\n    }\n\n    get op2() {\n      return this.heap.getbyaddr(this.offset + 2);\n    }\n\n    get op3() {\n      return this.heap.getbyaddr(this.offset + 3);\n    }\n\n  }\n\n  _exports.RuntimeOpImpl = RuntimeOpImpl;\n\n  function encodeTableInfo(scopeSize, state) {\n    return state | scopeSize << 2;\n  }\n\n  function changeState(info, newState) {\n    return info | newState << 30;\n  }\n\n  var PAGE_SIZE = 0x100000;\n\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\n    getaddr(handle) {\n      return this.table[handle];\n    }\n\n    getbyaddr(address) {\n      return this.heap[address];\n    }\n\n    sizeof(handle) {\n      return sizeof(this.table, handle);\n    }\n\n    scopesizeof(handle) {\n      return scopesizeof(this.table, handle);\n    }\n\n  }\n\n  _exports.RuntimeHeapImpl = RuntimeHeapImpl;\n\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\n  class HeapImpl {\n    constructor() {\n      this.placeholders = [];\n      this.stdlibs = [];\n      this.offset = 0;\n      this.handle = 0;\n      this.capacity = PAGE_SIZE;\n      this.heap = new Int32Array(PAGE_SIZE);\n      this.table = [];\n    }\n\n    push(item) {\n      this.sizeCheck();\n      this.heap[this.offset++] = item;\n    }\n\n    sizeCheck() {\n      if (this.capacity === 0) {\n        var heap = slice(this.heap, 0, this.offset);\n        this.heap = new Int32Array(heap.length + PAGE_SIZE);\n        this.heap.set(heap, 0);\n        this.capacity = PAGE_SIZE;\n      }\n\n      this.capacity--;\n    }\n\n    getbyaddr(address) {\n      return this.heap[address];\n    }\n\n    setbyaddr(address, value) {\n      this.heap[address] = value;\n    }\n\n    malloc() {\n      // push offset, info, size\n      this.table.push(this.offset, 0, 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    }\n\n    finishMalloc(handle, scopeSize) {\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = encodeTableInfo(scopeSize, 0\n      /* Allocated */\n      );\n    }\n\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\n    getaddr(handle) {\n      return this.table[handle];\n    }\n\n    gethandle(address) {\n      this.table.push(address, encodeTableInfo(0, 3\n      /* Pointer */\n      ), 0);\n      var handle = this.handle;\n      this.handle += 3\n      /* ENTRY_SIZE */\n      ;\n      return handle;\n    }\n\n    sizeof(handle) {\n      return sizeof(this.table, handle);\n    }\n\n    scopesizeof(handle) {\n      return scopesizeof(this.table, handle);\n    }\n\n    free(handle) {\n      var info = this.table[handle + 1\n      /* INFO_OFFSET */\n      ];\n      this.table[handle + 1\n      /* INFO_OFFSET */\n      ] = changeState(info, 1\n      /* Freed */\n      );\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\n    compact() {\n      var compactedSize = 0;\n      var {\n        table,\n        table: {\n          length\n        },\n        heap\n      } = this;\n\n      for (var i = 0; i < length; i += 3\n      /* ENTRY_SIZE */\n      ) {\n        var offset = table[i];\n        var info = table[i + 1\n        /* INFO_OFFSET */\n        ]; // @ts-ignore (this whole function is currently unused)\n\n        var size = info & Size.SIZE_MASK;\n        var state = info & 3\n        /* STATE_MASK */\n        >> 30;\n\n        if (state === 2\n        /* Purged */\n        ) {\n            continue;\n          } else if (state === 1\n        /* Freed */\n        ) {\n            // transition to \"already freed\" aka \"purged\"\n            // a good improvement would be to reuse\n            // these slots\n            table[i + 1\n            /* INFO_OFFSET */\n            ] = changeState(info, 2\n            /* Purged */\n            );\n            compactedSize += size;\n          } else if (state === 0\n        /* Allocated */\n        ) {\n            for (var j = offset; j <= i + size; j++) {\n              heap[j - compactedSize] = heap[j];\n            }\n\n            table[i] = offset - compactedSize;\n          } else if (state === 3\n        /* Pointer */\n        ) {\n            table[i] = offset - compactedSize;\n          }\n      }\n\n      this.offset = this.offset - compactedSize;\n    }\n\n    pushPlaceholder(valueFunc) {\n      this.sizeCheck();\n      var address = this.offset++;\n      this.heap[address] = 2147483647\n      /* MAX_SIZE */\n      ;\n      this.placeholders.push([address, valueFunc]);\n    }\n\n    pushStdlib(operand) {\n      this.sizeCheck();\n      var address = this.offset++;\n      this.heap[address] = 2147483647\n      /* MAX_SIZE */\n      ;\n      this.stdlibs.push([address, operand]);\n    }\n\n    patchPlaceholders() {\n      var {\n        placeholders\n      } = this;\n\n      for (var i = 0; i < placeholders.length; i++) {\n        var [address, getValue] = placeholders[i];\n        this.setbyaddr(address, getValue());\n      }\n    }\n\n    patchStdlibs(stdlib) {\n      var {\n        stdlibs\n      } = this;\n\n      for (var i = 0; i < stdlibs.length; i++) {\n        var [address, {\n          value\n        }] = stdlibs[i];\n        this.setbyaddr(address, stdlib[value]);\n      }\n\n      this.stdlibs = [];\n    }\n\n    capture(stdlib, offset = this.offset) {\n      this.patchPlaceholders();\n      this.patchStdlibs(stdlib); // Only called in eager mode\n\n      var buffer = slice(this.heap, 0, offset).buffer;\n      return {\n        handle: this.handle,\n        table: this.table,\n        buffer: buffer\n      };\n    }\n\n  }\n\n  _exports.HeapImpl = HeapImpl;\n\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\n    opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    }\n\n  }\n\n  _exports.RuntimeProgramImpl = RuntimeProgramImpl;\n\n  function slice(arr, start, end) {\n    if (arr.slice !== undefined) {\n      return arr.slice(start, end);\n    }\n\n    var ret = new Int32Array(end);\n\n    for (; start < end; start++) {\n      ret[start] = arr[start];\n    }\n\n    return ret;\n  }\n\n  function sizeof(table, handle) {\n    {\n      return -1;\n    }\n  }\n\n  function scopesizeof(table, handle) {\n    var info = table[handle + 1\n    /* INFO_OFFSET */\n    ];\n    return info >> 2;\n  }\n\n  function patchStdlibs(program) {\n    program.heap.patchStdlibs(program.stdlib);\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.createPrimitiveRef = createPrimitiveRef;\n  _exports.createConstRef = createConstRef;\n  _exports.createUnboundRef = createUnboundRef;\n  _exports.createComputeRef = createComputeRef;\n  _exports.createReadOnlyRef = createReadOnlyRef;\n  _exports.createInvokableRef = createInvokableRef;\n  _exports.isInvokableRef = isInvokableRef;\n  _exports.isConstRef = isConstRef;\n  _exports.isUpdatableRef = isUpdatableRef;\n  _exports.valueForRef = valueForRef;\n  _exports.updateRef = updateRef;\n  _exports.childRefFor = childRefFor;\n  _exports.childRefFromParts = childRefFromParts;\n  _exports.createIteratorRef = createIteratorRef;\n  _exports.createIteratorItemRef = createIteratorItemRef;\n  _exports.FALSE_REFERENCE = _exports.TRUE_REFERENCE = _exports.NULL_REFERENCE = _exports.UNDEFINED_REFERENCE = _exports.createDebugAliasRef = _exports.REFERENCE = void 0;\n  var REFERENCE = (0, _util.symbol)('REFERENCE');\n  _exports.REFERENCE = REFERENCE;\n\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  }\n\n  function createPrimitiveRef(value) {\n    var ref = new ReferenceImpl(2\n    /* Unbound */\n    );\n    ref.tag = _validator.CONSTANT_TAG;\n    ref.lastValue = value;\n\n    if (true\n    /* DEBUG */\n    ) {\n      ref.debugLabel = String(value);\n    }\n\n    return ref;\n  }\n\n  var UNDEFINED_REFERENCE = createPrimitiveRef(undefined);\n  _exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n  var NULL_REFERENCE = createPrimitiveRef(null);\n  _exports.NULL_REFERENCE = NULL_REFERENCE;\n  var TRUE_REFERENCE = createPrimitiveRef(true);\n  _exports.TRUE_REFERENCE = TRUE_REFERENCE;\n  var FALSE_REFERENCE = createPrimitiveRef(false);\n  _exports.FALSE_REFERENCE = FALSE_REFERENCE;\n\n  function createConstRef(value, debugLabel) {\n    var ref = new ReferenceImpl(0\n    /* Constant */\n    );\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n\n    if (true\n    /* DEBUG */\n    ) {\n      ref.debugLabel = debugLabel;\n    }\n\n    return ref;\n  }\n\n  function createUnboundRef(value, debugLabel) {\n    var ref = new ReferenceImpl(2\n    /* Unbound */\n    );\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n\n    if (true\n    /* DEBUG */\n    ) {\n      ref.debugLabel = debugLabel;\n    }\n\n    return ref;\n  }\n\n  function createComputeRef(compute, update = null, debugLabel = 'unknown') {\n    var ref = new ReferenceImpl(1\n    /* Compute */\n    );\n    ref.compute = compute;\n    ref.update = update;\n\n    if (true\n    /* DEBUG */\n    ) {\n      ref.debugLabel = `(result of a \\`${debugLabel}\\` helper)`;\n    }\n\n    return ref;\n  }\n\n  function createReadOnlyRef(ref) {\n    if (!isUpdatableRef(ref)) return ref;\n    return createComputeRef(() => valueForRef(ref), null, ref.debugLabel);\n  }\n\n  function isInvokableRef(ref) {\n    return ref[REFERENCE] === 3\n    /* Invokable */\n    ;\n  }\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    ;\n    return ref;\n  }\n\n  function isConstRef(_ref) {\n    var ref = _ref;\n    return ref.tag === _validator.CONSTANT_TAG;\n  }\n\n  function isUpdatableRef(_ref) {\n    var ref = _ref;\n    return ref.update !== null;\n  }\n\n  function valueForRef(_ref) {\n    var ref = _ref;\n    var {\n      tag\n    } = ref;\n\n    if (tag === _validator.CONSTANT_TAG) {\n      return ref.lastValue;\n    }\n\n    var {\n      lastRevision\n    } = ref;\n    var lastValue;\n\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\n      /* DEBUG */\n      && ref.debugLabel);\n      ref.lastRevision = (0, _validator.valueForTag)(tag);\n    } else {\n      lastValue = ref.lastValue;\n    }\n\n    (0, _validator.consumeTag)(tag);\n    return lastValue;\n  }\n\n  function updateRef(_ref, value) {\n    var ref = _ref;\n    var update = ref.update;\n    update(value);\n  }\n\n  function childRefFor(_parentRef, path) {\n    var parentRef = _parentRef;\n    var type = parentRef[REFERENCE];\n    var children = parentRef.children;\n    var child;\n\n    if (children === null) {\n      children = parentRef.children = new Map();\n    } else {\n      child = children.get(path);\n\n      if (child !== undefined) {\n        return child;\n      }\n    }\n\n    if (type === 2\n    /* Unbound */\n    ) {\n        var parent = valueForRef(parentRef);\n\n        if ((0, _util.isDict)(parent)) {\n          child = createUnboundRef(parent[path], true\n          /* DEBUG */\n          && `${parentRef.debugLabel}.${path}`);\n        } else {\n          child = UNDEFINED_REFERENCE;\n        }\n      } else {\n      child = createComputeRef(() => {\n        var parent = valueForRef(parentRef);\n\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.getProp)(parent, path);\n        }\n      }, val => {\n        var parent = valueForRef(parentRef);\n\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.setProp)(parent, path, val);\n        }\n      });\n\n      if (true\n      /* DEBUG */\n      ) {\n        child.debugLabel = `${parentRef.debugLabel}.${path}`;\n      }\n    }\n\n    children.set(path, child);\n    return child;\n  }\n\n  function childRefFromParts(root, parts) {\n    var reference = root;\n\n    for (var i = 0; i < parts.length; i++) {\n      reference = childRefFor(reference, parts[i]);\n    }\n\n    return reference;\n  }\n\n  var createDebugAliasRef;\n  _exports.createDebugAliasRef = createDebugAliasRef;\n\n  if (true\n  /* DEBUG */\n  ) {\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\n  var NULL_IDENTITY = {};\n\n  var KEY = (_, index) => index;\n\n  var INDEX = (_, index) => String(index);\n\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\n    return item;\n  };\n\n  function keyForPath(path) {\n    if (true\n    /* DEBUG */\n    && path[0] === '@') {\n      throw new Error(`invalid keypath: '${path}', valid keys: @index, @identity, or a path`);\n    }\n\n    return uniqueKeyFor(item => (0, _globalContext.getPath)(item, path));\n  }\n\n  function makeKeyFor(key) {\n    switch (key) {\n      case '@key':\n        return uniqueKeyFor(KEY);\n\n      case '@index':\n        return uniqueKeyFor(INDEX);\n\n      case '@identity':\n        return uniqueKeyFor(IDENTITY);\n\n      default:\n        return keyForPath(key);\n    }\n  }\n\n  class WeakMapWithPrimitives {\n    get weakMap() {\n      if (this._weakMap === undefined) {\n        this._weakMap = new WeakMap();\n      }\n\n      return this._weakMap;\n    }\n\n    get primitiveMap() {\n      if (this._primitiveMap === undefined) {\n        this._primitiveMap = new Map();\n      }\n\n      return this._primitiveMap;\n    }\n\n    set(key, value) {\n      if ((0, _util.isObject)(key) || typeof key === 'function') {\n        this.weakMap.set(key, value);\n      } else {\n        this.primitiveMap.set(key, value);\n      }\n    }\n\n    get(key) {\n      if ((0, _util.isObject)(key) || typeof key === 'function') {\n        return this.weakMap.get(key);\n      } else {\n        return this.primitiveMap.get(key);\n      }\n    }\n\n  }\n\n  var IDENTITIES = new WeakMapWithPrimitives();\n\n  function identityForNthOccurence(value, count) {\n    var identities = IDENTITIES.get(value);\n\n    if (identities === undefined) {\n      identities = [];\n      IDENTITIES.set(value, identities);\n    }\n\n    var identity = identities[count];\n\n    if (identity === undefined) {\n      identity = {\n        value,\n        count\n      };\n      identities[count] = identity;\n    }\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\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\n      if (count === 0) {\n        return key;\n      }\n\n      return identityForNthOccurence(key, count);\n    };\n  }\n\n  function createIteratorRef(listRef, key) {\n    return createComputeRef(() => {\n      var iterable = valueForRef(listRef);\n      var keyFor = makeKeyFor(key);\n\n      if (Array.isArray(iterable)) {\n        return new ArrayIterator(iterable, keyFor);\n      }\n\n      var maybeIterator = (0, _globalContext.toIterator)(iterable);\n\n      if (maybeIterator === null) {\n        return new ArrayIterator(_util.EMPTY_ARRAY, () => null);\n      }\n\n      return new IteratorWrapper(maybeIterator, keyFor);\n    });\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\n  class IteratorWrapper {\n    constructor(inner, keyFor) {\n      this.inner = inner;\n      this.keyFor = keyFor;\n    }\n\n    isEmpty() {\n      return this.inner.isEmpty();\n    }\n\n    next() {\n      var nextValue = this.inner.next();\n\n      if (nextValue !== null) {\n        nextValue.key = this.keyFor(nextValue.value, nextValue.memo);\n      }\n\n      return nextValue;\n    }\n\n  }\n\n  class ArrayIterator {\n    constructor(iterator, keyFor) {\n      this.iterator = iterator;\n      this.keyFor = keyFor;\n      this.pos = 0;\n\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\n    isEmpty() {\n      return this.current.kind === 'empty';\n    }\n\n    next() {\n      var value;\n      var current = this.current;\n\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\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  }\n});","define(\"@glimmer/runtime\", [\"exports\", \"@glimmer/util\", \"@glimmer/global-context\", \"@glimmer/reference\", \"@glimmer/vm\", \"@glimmer/validator\", \"@glimmer/program\", \"@glimmer/low-level\"], function (_exports, _util, _globalContext, _reference, _vm2, _validator, _program, _lowLevel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.clear = clear;\n  _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n  _exports.hasCapability = hasCapability;\n  _exports.resetDebuggerCallback = resetDebuggerCallback;\n  _exports.setDebuggerCallback = setDebuggerCallback;\n  _exports.curry = curry;\n  _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n  _exports.isWhitespace = isWhitespace;\n  _exports.normalizeProperty = normalizeProperty;\n  _exports.runtimeContext = runtimeContext;\n  _exports.inTransaction = inTransaction;\n  _exports.getDynamicVar = getDynamicVar;\n  _exports.renderComponent = renderComponent;\n  _exports.renderMain = renderMain;\n  _exports.renderSync = renderSync;\n  _exports.createCapturedArgs = createCapturedArgs;\n  _exports.reifyArgs = reifyArgs;\n  _exports.reifyNamed = reifyNamed;\n  _exports.reifyPositional = reifyPositional;\n  _exports.dynamicAttribute = dynamicAttribute;\n  _exports.clientBuilder = clientBuilder;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.rehydrationBuilder = rehydrationBuilder;\n  _exports.destroy = destroy;\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  _exports.associateDestroyableChild = associateDestroyableChild;\n  _exports.isDestroying = isDestroying;\n  _exports.isDestroyed = isDestroyed;\n  _exports._destroyChildren = destroyChildren;\n  _exports.getComponentTemplate = getComponentTemplate;\n  _exports.setComponentTemplate = setComponentTemplate;\n  _exports.templateOnlyComponent = templateOnlyComponent;\n  _exports.isTemplateOnlyComponent = isTemplateOnlyComponent;\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  _exports.getComponentManager = getComponentManager;\n  _exports.setComponentManager = setComponentManager;\n  _exports.getHelperManager = getHelperManager;\n  _exports.setHelperManager = setHelperManager;\n  _exports.getModifierManager = getModifierManager;\n  _exports.setModifierManager = setModifierManager;\n  _exports.buildCapabilities = buildCapabilities;\n  _exports.isInternalComponentManager = isInternalComponentManager;\n  _exports.isInternalModifierManager = isInternalModifierManager;\n  _exports.isInternalHelper = isInternalHelper;\n  _exports.TEMPLATE_ONLY_COMPONENT = _exports.SimpleComponentManager = _exports.BaseInternalModifierManager = _exports.BaseInternalComponentManager = _exports.OWNER = _exports.TemplateOnlyComponent = _exports.assertDestroyablesDestroyed = _exports.enableDestroyableTracking = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RehydrateBuilder = _exports.RemoteLiveBlock = _exports.UpdatableBlockImpl = _exports.NewElementBuilder = _exports.SimpleDynamicAttribute = _exports.DynamicAttribute = _exports.EMPTY_POSITIONAL = _exports.EMPTY_NAMED = _exports.EMPTY_ARGS = _exports.LowLevelVM = _exports.UpdatingVM = _exports.EnvironmentImpl = _exports.PartialScopeImpl = _exports.DynamicScopeImpl = _exports.DOMTreeConstruction = _exports.IDOMChanges = _exports.DOMChanges = _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.CurriedComponentDefinition = _exports.CursorImpl = _exports.ConcreteBounds = void 0;\n  // the VM in other classes, but are not intended to be a part of\n  // Glimmer's API.\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\n  class CursorImpl {\n    constructor(element, nextSibling) {\n      this.element = element;\n      this.nextSibling = nextSibling;\n    }\n\n  }\n\n  _exports.CursorImpl = CursorImpl;\n\n  class ConcreteBounds {\n    constructor(parentNode, first, last) {\n      this.parentNode = parentNode;\n      this.first = first;\n      this.last = last;\n    }\n\n    parentElement() {\n      return this.parentNode;\n    }\n\n    firstNode() {\n      return this.first;\n    }\n\n    lastNode() {\n      return this.last;\n    }\n\n  }\n\n  _exports.ConcreteBounds = ConcreteBounds;\n\n  class SingleNodeBounds {\n    constructor(parentNode, node) {\n      this.parentNode = parentNode;\n      this.node = node;\n    }\n\n    parentElement() {\n      return this.parentNode;\n    }\n\n    firstNode() {\n      return this.node;\n    }\n\n    lastNode() {\n      return this.node;\n    }\n\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\n    while (true) {\n      var next = current.nextSibling;\n      parent.insertBefore(current, reference);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\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\n    while (true) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n\n      if (current === last) {\n        return next;\n      }\n\n      current = next;\n    }\n  }\n\n  function normalizeStringValue(value) {\n    if (isEmpty(value)) {\n      return '';\n    }\n\n    return String(value);\n  }\n\n  function shouldCoerce(value) {\n    return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n  }\n\n  function isEmpty(value) {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  }\n\n  function isSafeString(value) {\n    return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n  }\n\n  function isNode(value) {\n    return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n  }\n\n  function isFragment(value) {\n    return isNode(value) && value.nodeType === 11;\n  }\n\n  function isString(value) {\n    return typeof value === 'string';\n  }\n  /*\n   * @method normalizeProperty\n   * @param element {HTMLElement}\n   * @param slotName {String}\n   * @returns {Object} { name, type }\n   */\n\n\n  function normalizeProperty(element, slotName) {\n    var type, normalized;\n\n    if (slotName in element) {\n      normalized = slotName;\n      type = 'prop';\n    } else {\n      var lower = slotName.toLowerCase();\n\n      if (lower in element) {\n        type = 'prop';\n        normalized = lower;\n      } else {\n        type = 'attr';\n        normalized = slotName;\n      }\n    }\n\n    if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n      type = 'attr';\n    }\n\n    return {\n      normalized,\n      type\n    };\n  } // * browser bug\n  // * strange spec outlier\n\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\n  function preferAttr(tagName, propName) {\n    var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n    return tag && tag[propName.toLowerCase()] || false;\n  }\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\n  function has(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n\n  function checkURI(tagName, attribute) {\n    return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n  }\n\n  function checkDataURI(tagName, attribute) {\n    if (tagName === null) return false;\n    return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n  }\n\n  function requiresSanitization(tagName, attribute) {\n    return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n  }\n\n  var protocolForUrl;\n\n  if (typeof URL === 'object' && URL !== null && // 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 specifc `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\n    protocolForUrl = url => {\n      var protocol = null;\n\n      if (typeof url === 'string') {\n        protocol = nodeURL.parse(url).protocol;\n      }\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\n    protocolForUrl = url => {\n      parsingNode.href = url;\n      return parsingNode.protocol;\n    };\n  }\n\n  function sanitizeAttributeValue(element, attribute, value) {\n    var tagName = null;\n\n    if (value === null || value === undefined) {\n      return value;\n    }\n\n    if (isSafeString(value)) {\n      return value.toHTML();\n    }\n\n    if (!element) {\n      tagName = null;\n    } else {\n      tagName = element.tagName.toUpperCase();\n    }\n\n    var str = normalizeStringValue(value);\n\n    if (checkURI(tagName, attribute)) {\n      var protocol = protocolForUrl(str);\n\n      if (has(badProtocols, protocol)) {\n        return `unsafe:${str}`;\n      }\n    }\n\n    if (checkDataURI(tagName, attribute)) {\n      return `unsafe:${str}`;\n    }\n\n    return str;\n  }\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\n    if (true\n    /* DEBUG */\n    && attr === 'style' && !isTrusting) {\n      return new DebugStyleAttributeManager(attribute);\n    }\n\n    if (namespaceURI === \"http://www.w3.org/2000/svg\"\n    /* SVG */\n    ) {\n        return buildDynamicAttribute(tagName, attr, attribute);\n      }\n\n    var {\n      type,\n      normalized\n    } = normalizeProperty(element, attr);\n\n    if (type === 'attr') {\n      return buildDynamicAttribute(tagName, normalized, attribute);\n    } else {\n      return buildDynamicProperty(tagName, normalized, attribute);\n    }\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\n  function buildDynamicProperty(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicProperty(name, attribute);\n    }\n\n    if (isUserInputValue(tagName, name)) {\n      return new InputValueDynamicAttribute(name, attribute);\n    }\n\n    if (isOptionSelected(tagName, name)) {\n      return new OptionSelectedDynamicAttribute(name, attribute);\n    }\n\n    return new DefaultDynamicProperty(name, attribute);\n  }\n\n  class DynamicAttribute {\n    constructor(attribute) {\n      this.attribute = attribute;\n    }\n\n  }\n\n  _exports.DynamicAttribute = DynamicAttribute;\n\n  class SimpleDynamicAttribute extends DynamicAttribute {\n    set(dom, value, _env) {\n      var normalizedValue = normalizeValue(value);\n\n      if (normalizedValue !== null) {\n        var {\n          name,\n          namespace\n        } = this.attribute;\n\n        dom.__setAttribute(name, normalizedValue, namespace);\n      }\n    }\n\n    update(value, _env) {\n      var normalizedValue = normalizeValue(value);\n      var {\n        element,\n        name\n      } = this.attribute;\n\n      if (normalizedValue === null) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, normalizedValue);\n      }\n    }\n\n  }\n\n  _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n\n  class DefaultDynamicProperty extends DynamicAttribute {\n    constructor(normalizedName, attribute) {\n      super(attribute);\n      this.normalizedName = normalizedName;\n    }\n\n    set(dom, value, _env) {\n      if (value !== null && value !== undefined) {\n        this.value = value;\n\n        dom.__setProperty(this.normalizedName, value);\n      }\n    }\n\n    update(value, _env) {\n      var {\n        element\n      } = this.attribute;\n\n      if (this.value !== value) {\n        element[this.normalizedName] = this.value = value;\n\n        if (value === null || value === undefined) {\n          this.removeAttribute();\n        }\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\n      if (namespace) {\n        element.removeAttributeNS(namespace, this.normalizedName);\n      } else {\n        element.removeAttribute(this.normalizedName);\n      }\n    }\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\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  }\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\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  }\n\n  class InputValueDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value) {\n      dom.__setProperty('value', normalizeStringValue(value));\n    }\n\n    update(value) {\n      var input = this.attribute.element;\n      var currentValue = input.value;\n      var normalizedValue = normalizeStringValue(value);\n\n      if (currentValue !== normalizedValue) {\n        input.value = normalizedValue;\n      }\n    }\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\n    update(value) {\n      var option = this.attribute.element;\n\n      if (value) {\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    }\n\n  }\n\n  function isOptionSelected(tagName, attribute) {\n    return tagName === 'OPTION' && attribute === 'selected';\n  }\n\n  function isUserInputValue(tagName, attribute) {\n    return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n  }\n\n  function normalizeValue(value) {\n    if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n      return null;\n    }\n\n    if (value === true) {\n      return '';\n    } // onclick function etc in SSR\n\n\n    if (typeof value === 'function') {\n      return null;\n    }\n\n    return String(value);\n  }\n\n  var DebugStyleAttributeManager;\n\n  if (true\n  /* DEBUG */\n  ) {\n    DebugStyleAttributeManager = class extends SimpleDynamicAttribute {\n      set(dom, value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.set(dom, value, env);\n      }\n\n      update(value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.update(value, env);\n      }\n\n    };\n  }\n\n  var DESTROYABLE_META = new WeakMap();\n\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\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\n  function remove(collection, item, message) {\n    if (true\n    /* DEBUG */\n    ) {\n      var collectionIsItem = collection === item;\n      var collectionContainsItem = Array.isArray(collection) && collection.indexOf(item) !== -1;\n\n      if (!collectionIsItem && !collectionContainsItem) {\n        throw new Error(String(message));\n      }\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\n  function getDestroyableMeta(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n\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      };\n\n      if (true\n      /* DEBUG */\n      ) {\n        meta.source = destroyable;\n      }\n\n      DESTROYABLE_META.set(destroyable, meta);\n    }\n\n    return meta;\n  }\n\n  function associateDestroyableChild(parent, child) {\n    if (true\n    /* DEBUG */\n    && isDestroying(parent)) {\n      throw new Error('Attempted to associate a destroyable child with an object that is already destroying or destroyed');\n    }\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\n  function registerDestructor(destroyable, destructor, eager = false) {\n    if (true\n    /* DEBUG */\n    && isDestroying(destroyable)) {\n      throw new Error('Attempted to register a destructor with an object that is already destroying or destroyed');\n    }\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\n  function unregisterDestructor(destroyable, destructor, eager = false) {\n    if (true\n    /* DEBUG */\n    && isDestroying(destroyable)) {\n      throw new Error('Attempted to unregister a destructor with an object that is already destroying or destroyed');\n    }\n\n    var meta = getDestroyableMeta(destroyable);\n    var destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n    meta[destructorsKey] = remove(meta[destructorsKey], destructor, true\n    /* DEBUG */\n    && 'attempted to remove a destructor that was not registered with the destroyable');\n  } ////////////\n\n\n  function destroy(destroyable) {\n    var meta = getDestroyableMeta(destroyable);\n    if (meta.state >= 1\n    /* Destroying */\n    ) return;\n    var {\n      parents,\n      children,\n      eagerDestructors,\n      destructors\n    } = meta;\n    meta.state = 1\n    /* Destroying */\n    ;\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  }\n\n  function removeChildFromParent(child, parent) {\n    var parentMeta = getDestroyableMeta(parent);\n\n    if (parentMeta.state === 0\n    /* Live */\n    ) {\n        parentMeta.children = remove(parentMeta.children, child, true\n        /* DEBUG */\n        && \"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\n  function destroyChildren(destroyable) {\n    var {\n      children\n    } = getDestroyableMeta(destroyable);\n    iterate(children, destroy);\n  }\n\n  function isDestroying(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.state >= 1\n    /* Destroying */\n    ;\n  }\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\n\n  var enableDestroyableTracking;\n  _exports.enableDestroyableTracking = enableDestroyableTracking;\n  var assertDestroyablesDestroyed;\n  _exports.assertDestroyablesDestroyed = assertDestroyablesDestroyed;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var isTesting = false;\n\n    _exports.enableDestroyableTracking = enableDestroyableTracking = () => {\n      if (isTesting) {\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\n      isTesting = true;\n      DESTROYABLE_META = new Map();\n    };\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\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        ) {\n            undestroyed.push(meta.source);\n          }\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\n  var _a;\n\n  class First {\n    constructor(node) {\n      this.node = node;\n    }\n\n    firstNode() {\n      return this.node;\n    }\n\n  }\n\n  class Last {\n    constructor(node) {\n      this.node = node;\n    }\n\n    lastNode() {\n      return this.node;\n    }\n\n  }\n\n  var CURSOR_STACK = (0, _util.symbol)('CURSOR_STACK');\n\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\n    static forInitialRender(env, cursor) {\n      return new this(env, cursor.element, cursor.nextSibling).initialize();\n    }\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\n    initialize() {\n      this.pushSimpleBlock();\n      return this;\n    }\n\n    debugBlocks() {\n      return this.blockStack.toArray();\n    }\n\n    get element() {\n      return this[CURSOR_STACK].current.element;\n    }\n\n    get nextSibling() {\n      return this[CURSOR_STACK].current.nextSibling;\n    }\n\n    get hasBlocks() {\n      return this.blockStack.size > 0;\n    }\n\n    block() {\n      return this.blockStack.current;\n    }\n\n    popElement() {\n      this[CURSOR_STACK].pop();\n      this[CURSOR_STACK].current;\n    }\n\n    pushSimpleBlock() {\n      return this.pushLiveBlock(new SimpleLiveBlock(this.element));\n    }\n\n    pushUpdatableBlock() {\n      return this.pushLiveBlock(new UpdatableBlockImpl(this.element));\n    }\n\n    pushBlockList(list) {\n      return this.pushLiveBlock(new LiveBlockList(this.element, list));\n    }\n\n    pushLiveBlock(block, isRemote = false) {\n      var current = this.blockStack.current;\n\n      if (current !== null) {\n        if (!isRemote) {\n          current.didAppendBounds(block);\n        }\n      }\n\n      this.__openBlock();\n\n      this.blockStack.push(block);\n      return block;\n    }\n\n    popBlock() {\n      this.block().finalize(this);\n\n      this.__closeBlock();\n\n      return this.blockStack.pop();\n    }\n\n    __openBlock() {}\n\n    __closeBlock() {} // todo return seems unused\n\n\n    openElement(tag) {\n      var element = this.__openElement(tag);\n\n      this.constructing = element;\n      return element;\n    }\n\n    __openElement(tag) {\n      return this.dom.createElement(tag, this.element);\n    }\n\n    flushElement(modifiers) {\n      var parent = this.element;\n      var element = this.constructing;\n\n      this.__flushElement(parent, element);\n\n      this.constructing = null;\n      this.operations = null;\n      this.pushModifiers(modifiers);\n      this.pushElement(element, null);\n      this.didOpenElement(element);\n    }\n\n    __flushElement(parent, constructing) {\n      this.dom.insertBefore(parent, constructing, this.nextSibling);\n    }\n\n    closeElement() {\n      this.willCloseElement();\n      this.popElement();\n      return this.popModifiers();\n    }\n\n    pushRemoteElement(element, guid, insertBefore) {\n      return this.__pushRemoteElement(element, guid, insertBefore);\n    }\n\n    __pushRemoteElement(element, _guid, insertBefore) {\n      this.pushElement(element, insertBefore);\n\n      if (insertBefore === undefined) {\n        while (element.lastChild) {\n          element.removeChild(element.lastChild);\n        }\n      }\n\n      var block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n\n    popRemoteElement() {\n      this.popBlock();\n      this.popElement();\n    }\n\n    pushElement(element, nextSibling = null) {\n      this[CURSOR_STACK].push(new CursorImpl(element, nextSibling));\n    }\n\n    pushModifiers(modifiers) {\n      this.modifierStack.push(modifiers);\n    }\n\n    popModifiers() {\n      return this.modifierStack.pop();\n    }\n\n    didAppendBounds(bounds) {\n      this.block().didAppendBounds(bounds);\n      return bounds;\n    }\n\n    didAppendNode(node) {\n      this.block().didAppendNode(node);\n      return node;\n    }\n\n    didOpenElement(element) {\n      this.block().openElement(element);\n      return element;\n    }\n\n    willCloseElement() {\n      this.block().closeElement();\n    }\n\n    appendText(string) {\n      return this.didAppendNode(this.__appendText(string));\n    }\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\n    __appendNode(node) {\n      this.dom.insertBefore(this.element, node, this.nextSibling);\n      return node;\n    }\n\n    __appendFragment(fragment) {\n      var first = fragment.firstChild;\n\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\n    __appendHTML(html) {\n      return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n    }\n\n    appendDynamicHTML(value) {\n      var bounds = this.trustedContent(value);\n      this.didAppendBounds(bounds);\n    }\n\n    appendDynamicText(value) {\n      var node = this.untrustedContent(value);\n      this.didAppendNode(node);\n      return node;\n    }\n\n    appendDynamicFragment(value) {\n      var bounds = this.__appendFragment(value);\n\n      this.didAppendBounds(bounds);\n    }\n\n    appendDynamicNode(value) {\n      var node = this.__appendNode(value);\n\n      var bounds = new SingleNodeBounds(this.element, node);\n      this.didAppendBounds(bounds);\n    }\n\n    trustedContent(value) {\n      return this.__appendHTML(value);\n    }\n\n    untrustedContent(value) {\n      return this.__appendText(value);\n    }\n\n    appendComment(string) {\n      return this.didAppendNode(this.__appendComment(string));\n    }\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\n    __setAttribute(name, value, namespace) {\n      this.dom.setAttribute(this.constructing, name, value, namespace);\n    }\n\n    __setProperty(name, value) {\n      this.constructing[name] = value;\n    }\n\n    setStaticAttribute(name, value, namespace) {\n      this.__setAttribute(name, value, namespace);\n    }\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  }\n\n  _exports.NewElementBuilder = NewElementBuilder;\n  _a = CURSOR_STACK;\n\n  class SimpleLiveBlock {\n    constructor(parent) {\n      this.parent = parent;\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n    }\n\n    parentElement() {\n      return this.parent;\n    }\n\n    firstNode() {\n      var first = this.first;\n      return first.firstNode();\n    }\n\n    lastNode() {\n      var last = this.last;\n      return last.lastNode();\n    }\n\n    openElement(element) {\n      this.didAppendNode(element);\n      this.nesting++;\n    }\n\n    closeElement() {\n      this.nesting--;\n    }\n\n    didAppendNode(node) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = new First(node);\n      }\n\n      this.last = new Last(node);\n    }\n\n    didAppendBounds(bounds) {\n      if (this.nesting !== 0) return;\n\n      if (!this.first) {\n        this.first = bounds;\n      }\n\n      this.last = bounds;\n    }\n\n    finalize(stack) {\n      if (this.first === null) {\n        stack.appendComment('');\n      }\n    }\n\n  }\n\n  class RemoteLiveBlock extends SimpleLiveBlock {\n    constructor(parent) {\n      super(parent);\n      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  }\n\n  _exports.RemoteLiveBlock = RemoteLiveBlock;\n\n  class UpdatableBlockImpl extends SimpleLiveBlock {\n    reset() {\n      destroy(this);\n      var nextSibling = clear(this);\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n      return nextSibling;\n    }\n\n  } // FIXME: All the noops in here indicate a modelling problem\n\n\n  _exports.UpdatableBlockImpl = UpdatableBlockImpl;\n\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\n    parentElement() {\n      return this.parent;\n    }\n\n    firstNode() {\n      var head = this.boundList[0];\n      return head.firstNode();\n    }\n\n    lastNode() {\n      var boundList = this.boundList;\n      var tail = boundList[boundList.length - 1];\n      return tail.lastNode();\n    }\n\n    openElement(_element) {}\n\n    closeElement() {}\n\n    didAppendNode(_node) {}\n\n    didAppendBounds(_bounds) {}\n\n    finalize(_stack) {}\n\n  }\n\n  function clientBuilder(env, cursor) {\n    return NewElementBuilder.forInitialRender(env, cursor);\n  }\n\n  class DynamicScopeImpl {\n    constructor(bucket) {\n      if (bucket) {\n        this.bucket = (0, _util.assign)({}, bucket);\n      } else {\n        this.bucket = {};\n      }\n    }\n\n    get(key) {\n      return this.bucket[key];\n    }\n\n    set(key, reference) {\n      return this.bucket[key] = reference;\n    }\n\n    child() {\n      return new DynamicScopeImpl(this.bucket);\n    }\n\n  }\n\n  _exports.DynamicScopeImpl = DynamicScopeImpl;\n\n  class PartialScopeImpl {\n    constructor( // the 0th slot is `self`\n    slots, callerScope, // named arguments and blocks passed to a layout that uses eval\n    evalScope, // locals in scope when the partial was invoked\n    partialMap) {\n      this.slots = slots;\n      this.callerScope = callerScope;\n      this.evalScope = evalScope;\n      this.partialMap = partialMap;\n    }\n\n    static root(self, size = 0) {\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = _reference.UNDEFINED_REFERENCE;\n      }\n\n      return new PartialScopeImpl(refs, null, null, null).init({\n        self\n      });\n    }\n\n    static sized(size = 0) {\n      var refs = new Array(size + 1);\n\n      for (var i = 0; i <= size; i++) {\n        refs[i] = _reference.UNDEFINED_REFERENCE;\n      }\n\n      return new PartialScopeImpl(refs, null, null, null);\n    }\n\n    init({\n      self\n    }) {\n      this.slots[0] = self;\n      return this;\n    }\n\n    getSelf() {\n      return this.get(0);\n    }\n\n    getSymbol(symbol$$1) {\n      return this.get(symbol$$1);\n    }\n\n    getBlock(symbol$$1) {\n      var block = this.get(symbol$$1);\n      return block === _reference.UNDEFINED_REFERENCE ? null : block;\n    }\n\n    getEvalScope() {\n      return this.evalScope;\n    }\n\n    getPartialMap() {\n      return this.partialMap;\n    }\n\n    bind(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n\n    bindSelf(self) {\n      this.set(0, self);\n    }\n\n    bindSymbol(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n\n    bindBlock(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n\n    bindEvalScope(map) {\n      this.evalScope = map;\n    }\n\n    bindPartialMap(map) {\n      this.partialMap = map;\n    }\n\n    bindCallerScope(scope) {\n      this.callerScope = scope;\n    }\n\n    getCallerScope() {\n      return this.callerScope;\n    }\n\n    child() {\n      return new PartialScopeImpl(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\n    }\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\n      return this.slots[index];\n    }\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\n      this.slots[index] = value;\n    }\n\n  }\n\n  _exports.PartialScopeImpl = PartialScopeImpl;\n\n  class AppendOpcodes {\n    constructor() {\n      this.evaluateOpcode = (0, _util.fillNulls)(104\n      /* Size */\n      ).slice();\n    }\n\n    add(name, evaluate, kind = 'syscall') {\n      this.evaluateOpcode[name] = {\n        syscall: kind !== 'machine',\n        evaluate\n      };\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\n    debugAfter(vm, pre) {}\n\n    evaluate(vm, opcode, type) {\n      var operation = this.evaluateOpcode[type];\n\n      if (operation.syscall) {\n        operation.evaluate(vm, opcode);\n      } else {\n        operation.evaluate(vm[INNER_VM], opcode);\n      }\n    }\n\n  }\n\n  var APPEND_OPCODES = new AppendOpcodes();\n\n  class AbstractOpcode {\n    constructor() {\n      (0, _util.initializeGuid)(this);\n    }\n\n  }\n\n  class UpdatingOpcode extends AbstractOpcode {}\n\n  function createConcatRef(partsRefs) {\n    return (0, _reference.createComputeRef)(() => {\n      var parts = new Array();\n\n      for (var i = 0; i < partsRefs.length; i++) {\n        var value = (0, _reference.valueForRef)(partsRefs[i]);\n\n        if (value !== null && value !== undefined) {\n          parts[i] = castToString(value);\n        }\n      }\n\n      if (parts.length > 0) {\n        return parts.join('');\n      }\n\n      return null;\n    });\n  }\n\n  function castToString(value) {\n    if (typeof value.toString !== 'function') {\n      return '';\n    }\n\n    return String(value);\n  }\n\n  APPEND_OPCODES.add(16\n  /* Helper */\n  , (vm, {\n    op1: handle\n  }) => {\n    var stack = vm.stack;\n    var helper = vm.runtime.resolver.resolve(handle);\n    var args = stack.popJs();\n    var value = helper(args, vm);\n    vm.loadValue(_vm2.$v0, value);\n  });\n  APPEND_OPCODES.add(21\n  /* GetVariable */\n  , (vm, {\n    op1: symbol$$1\n  }) => {\n    var expr = vm.referenceForSymbol(symbol$$1);\n    vm.stack.pushJs(expr);\n  });\n  APPEND_OPCODES.add(19\n  /* SetVariable */\n  , (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 */\n  , (vm, {\n    op1: symbol$$1\n  }) => {\n    var handle = vm.stack.popJs();\n    var scope = vm.stack.popJs();\n    var table = vm.stack.popJs();\n    vm.scope().bindBlock(symbol$$1, [handle, scope, table]);\n  });\n  APPEND_OPCODES.add(102\n  /* ResolveMaybeLocal */\n  , (vm, {\n    op1: _name\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var locals = vm.scope().getPartialMap();\n    var ref = locals[name];\n\n    if (ref === undefined) {\n      ref = (0, _reference.childRefFor)(vm.getSelf(), name);\n    }\n\n    vm.stack.pushJs(ref);\n  });\n  APPEND_OPCODES.add(36\n  /* RootScope */\n  , (vm, {\n    op1: symbols\n  }) => {\n    vm.pushRootScope(symbols);\n  });\n  APPEND_OPCODES.add(22\n  /* GetProperty */\n  , (vm, {\n    op1: _key\n  }) => {\n    var key = vm[CONSTANTS].getValue(_key);\n    var expr = vm.stack.popJs();\n    vm.stack.pushJs((0, _reference.childRefFor)(expr, key));\n  });\n  APPEND_OPCODES.add(23\n  /* GetBlock */\n  , (vm, {\n    op1: _block\n  }) => {\n    var {\n      stack\n    } = vm;\n    var block = vm.scope().getBlock(_block);\n\n    if (block === null) {\n      stack.pushNull();\n    } else {\n      stack.pushJs(block);\n    }\n  });\n  APPEND_OPCODES.add(24\n  /* SpreadBlock */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var block = stack.popJs();\n\n    if (block && !isUndefinedReference(block)) {\n      var [handleOrCompilable, scope, table] = block;\n      stack.pushJs(table);\n      stack.pushJs(scope);\n\n      if (typeof handleOrCompilable === 'number') {\n        stack.pushSmallInt(handleOrCompilable);\n      } else {\n        stack.pushJs(handleOrCompilable);\n      }\n    } else {\n      stack.pushNull();\n      stack.pushNull();\n      stack.pushNull();\n    }\n  });\n\n  function isUndefinedReference(input) {\n    return input === _reference.UNDEFINED_REFERENCE;\n  }\n\n  APPEND_OPCODES.add(25\n  /* HasBlock */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var block = stack.pop();\n\n    if (block && !isUndefinedReference(block)) {\n      stack.pushJs(_reference.TRUE_REFERENCE);\n    } else {\n      stack.pushJs(_reference.FALSE_REFERENCE);\n    }\n  });\n  APPEND_OPCODES.add(26\n  /* HasBlockParams */\n  , vm => {\n    // FIXME(mmun): should only need to push the symbol table\n    var block = vm.stack.pop();\n    var scope = vm.stack.popJs();\n    var table = vm.stack.popJs();\n    var hasBlockParams = table && table.parameters.length;\n    vm.stack.pushJs(hasBlockParams ? _reference.TRUE_REFERENCE : _reference.FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(27\n  /* Concat */\n  , (vm, {\n    op1: count\n  }) => {\n    var out = new Array(count);\n\n    for (var i = count; i > 0; i--) {\n      var _offset = i - 1;\n\n      out[_offset] = vm.stack.pop();\n    }\n\n    vm.stack.pushJs(createConcatRef(out));\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 */\n    : 0) | (capabilities.dynamicTag ? 2\n    /* DynamicTag */\n    : 0) | (capabilities.prepareArgs ? 4\n    /* PrepareArgs */\n    : 0) | (capabilities.createArgs ? 8\n    /* CreateArgs */\n    : 0) | (capabilities.attributeHook ? 16\n    /* AttributeHook */\n    : 0) | (capabilities.elementHook ? 32\n    /* ElementHook */\n    : 0) | (capabilities.dynamicScope ? 64\n    /* DynamicScope */\n    : 0) | (capabilities.createCaller ? 128\n    /* CreateCaller */\n    : 0) | (capabilities.updateHook ? 256\n    /* UpdateHook */\n    : 0) | (capabilities.createInstance ? 512\n    /* CreateInstance */\n    : 0) | (capabilities.wrapped ? 1024\n    /* Wrapped */\n    : 0) | (capabilities.willDestroy ? 2048\n    /* WillDestroy */\n    : 0);\n  }\n\n  function managerHasCapability(_manager, capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n\n  function hasCapability(capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n\n  var INNER = (0, _util.symbol)('INNER');\n  var ARGS$1 = (0, _util.symbol)('ARGS');\n  var CURRIED_COMPONENT_DEFINITIONS = new _util._WeakSet();\n\n  function isCurriedComponentDefinition(definition) {\n    return CURRIED_COMPONENT_DEFINITIONS.has(definition);\n  }\n\n  class CurriedComponentDefinition {\n    /** @internal */\n    constructor(inner, args) {\n      CURRIED_COMPONENT_DEFINITIONS.add(this);\n      this[INNER] = inner;\n      this[ARGS$1] = args;\n    }\n\n  }\n\n  _exports.CurriedComponentDefinition = CurriedComponentDefinition;\n\n  function offset(definition) {\n    var inner = definition[INNER];\n    var args = definition[ARGS$1];\n    var length = args ? args.positional.length : 0;\n    return isCurriedComponentDefinition(inner) ? length + offset(inner) : length;\n  }\n\n  function unwrapCurriedComponentDefinition(_definition, args) {\n    var definition = _definition;\n    args.realloc(offset(definition));\n\n    while (true) {\n      var {\n        [ARGS$1]: curriedArgs,\n        [INNER]: inner\n      } = definition;\n\n      if (curriedArgs) {\n        args.positional.prepend(curriedArgs.positional);\n        args.named.merge(curriedArgs.named);\n      }\n\n      if (!isCurriedComponentDefinition(inner)) {\n        return inner;\n      }\n\n      definition = inner;\n    }\n  }\n\n  function resolveCurriedComponentDefinition(instance, definition, args) {\n    var unwrappedDefinition = instance.definition = unwrapCurriedComponentDefinition(definition, args);\n    var {\n      manager,\n      state\n    } = unwrappedDefinition;\n    instance.manager = manager;\n    instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n    return unwrappedDefinition;\n  }\n\n  function curry(spec, args = null) {\n    return new CurriedComponentDefinition(spec, args);\n  }\n\n  function resolveComponent(resolver, name, owner) {\n    var definition = resolver.lookupComponent(name, owner);\n    return definition;\n  }\n  /** @internal */\n\n\n  function hasStaticLayout(capabilities, _manager) {\n    return !hasCapability(capabilities, 1\n    /* DynamicLayout */\n    );\n  }\n\n  function hasCustomDebugRenderTreeLifecycle(manager) {\n    return 'getDebugCustomRenderTree' in manager;\n  }\n\n  var 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  };\n  _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n  var 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  };\n  _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n\n  function createClassListRef(list) {\n    return (0, _reference.createComputeRef)(() => {\n      var ret = [];\n\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\n      return ret.length === 0 ? null : ret.join(' ');\n    });\n  }\n\n  function createCurryComponentRef(inner, resolver, owner, args) {\n    var lastValue, lastDefinition;\n    return (0, _reference.createComputeRef)(() => {\n      var value = (0, _reference.valueForRef)(inner);\n\n      if (value === lastValue) {\n        return lastDefinition;\n      }\n\n      var definition = null;\n\n      if (isCurriedComponentDefinition(value)) {\n        definition = value;\n      } else if (typeof value === 'string' && value) {\n        definition = resolveComponent(resolver, value, owner);\n      }\n\n      definition = curry$1(definition, args);\n      lastValue = value;\n      lastDefinition = definition;\n      return definition;\n    });\n  }\n\n  function curry$1(definition, args) {\n    if (!args && isCurriedComponentDefinition(definition)) {\n      return definition;\n    } else if (!definition) {\n      return null;\n    } else {\n      return new CurriedComponentDefinition(definition, args);\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\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\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\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\n    get base() {\n      return this.blocks.base;\n    }\n\n    get length() {\n      return this.positional.length + this.named.length + this.blocks.length * 3;\n    }\n\n    at(pos) {\n      return this.positional.at(pos);\n    }\n\n    realloc(offset) {\n      var {\n        stack\n      } = this;\n\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\n        for (var i = length - 1; i >= 0; i--) {\n          stack.copy(i + positional.base, i + newBase);\n        }\n\n        positional.base += offset;\n        named.base += offset;\n        stack[REGISTERS][_vm2.$sp] += offset;\n      }\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\n    clear() {\n      var {\n        stack,\n        length\n      } = this;\n      if (length > 0 && stack !== null) stack.pop(length);\n    }\n\n  }\n\n  class PositionalArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this.stack = null;\n      this._references = null;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = _util.EMPTY_ARRAY;\n    }\n\n    setup(stack, base, length) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._references = _util.EMPTY_ARRAY;\n      } else {\n        this._references = null;\n      }\n    }\n\n    at(position) {\n      var {\n        base,\n        length,\n        stack\n      } = this;\n\n      if (position < 0 || position >= length) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n\n      return stack.get(position, base);\n    }\n\n    capture() {\n      return this.references;\n    }\n\n    prepend(other) {\n      var additions = other.length;\n\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\n        for (var i = 0; i < additions; i++) {\n          stack.set(other[i], i, base);\n        }\n\n        this._references = null;\n      }\n    }\n\n    get references() {\n      var references = this._references;\n\n      if (!references) {\n        var {\n          stack,\n          base,\n          length\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n\n      return references;\n    }\n\n  }\n\n  class NamedArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this._references = null;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = _util.EMPTY_ARRAY;\n      this._names = _util.EMPTY_ARRAY;\n      this._atNames = _util.EMPTY_ARRAY;\n    }\n\n    setup(stack, base, length, names, atNames) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n\n      if (length === 0) {\n        this._references = _util.EMPTY_ARRAY;\n        this._names = _util.EMPTY_ARRAY;\n        this._atNames = _util.EMPTY_ARRAY;\n      } else {\n        this._references = null;\n\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\n    get names() {\n      var names = this._names;\n\n      if (!names) {\n        names = this._names = this._atNames.map(this.toSyntheticName);\n      }\n\n      return names;\n    }\n\n    get atNames() {\n      var atNames = this._atNames;\n\n      if (!atNames) {\n        atNames = this._atNames = this._names.map(this.toAtName);\n      }\n\n      return atNames;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\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\n      if (idx === -1) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n\n      var ref = stack.get(idx, base);\n\n      if (true\n      /* DEBUG */\n      ) {\n        return (0, _reference.createDebugAliasRef)(atNames ? name : `@${name}`, ref);\n      } else {\n        return ref;\n      }\n    }\n\n    capture() {\n      var {\n        names,\n        references\n      } = this;\n      var map = (0, _util.dict)();\n\n      for (var i = 0; i < names.length; i++) {\n        var name = names[i];\n\n        if (true\n        /* DEBUG */\n        ) {\n          map[name] = (0, _reference.createDebugAliasRef)(`@${name}`, references[i]);\n        } else {\n          map[name] = references[i];\n        }\n      }\n\n      return map;\n    }\n\n    merge(other) {\n      var keys = Object.keys(other);\n\n      if (keys.length > 0) {\n        var {\n          names,\n          length,\n          stack\n        } = this;\n        var newNames = names.slice();\n\n        for (var i = 0; i < keys.length; i++) {\n          var name = keys[i];\n          var idx = newNames.indexOf(name);\n\n          if (idx === -1) {\n            length = newNames.push(name);\n            stack.pushJs(other[name]);\n          }\n        }\n\n        this.length = length;\n        this._references = null;\n        this._names = newNames;\n        this._atNames = null;\n      }\n    }\n\n    get references() {\n      var references = this._references;\n\n      if (!references) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n\n      return references;\n    }\n\n    toSyntheticName(name) {\n      return name.slice(1);\n    }\n\n    toAtName(name) {\n      return `@${name}`;\n    }\n\n  }\n\n  function toSymbolName(name) {\n    return `&${name}`;\n  }\n\n  class BlockArgumentsImpl {\n    constructor() {\n      this.internalValues = null;\n      this._symbolNames = null;\n      this.internalTag = null;\n      this.names = _util.EMPTY_ARRAY;\n      this.length = 0;\n      this.base = 0;\n    }\n\n    empty(stack, base) {\n      this.stack = stack;\n      this.names = _util.EMPTY_ARRAY;\n      this.base = base;\n      this.length = 0;\n      this._symbolNames = null;\n      this.internalTag = _validator.CONSTANT_TAG;\n      this.internalValues = _util.EMPTY_ARRAY;\n    }\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\n      if (length === 0) {\n        this.internalTag = _validator.CONSTANT_TAG;\n        this.internalValues = _util.EMPTY_ARRAY;\n      } else {\n        this.internalTag = null;\n        this.internalValues = null;\n      }\n    }\n\n    get values() {\n      var values = this.internalValues;\n\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\n      return values;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n\n    get(name) {\n      var idx = this.names.indexOf(name);\n\n      if (idx === -1) {\n        return null;\n      }\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\n    capture() {\n      return new CapturedBlockArgumentsImpl(this.names, this.values);\n    }\n\n    get symbolNames() {\n      var symbolNames = this._symbolNames;\n\n      if (symbolNames === null) {\n        symbolNames = this._symbolNames = this.names.map(toSymbolName);\n      }\n\n      return symbolNames;\n    }\n\n  }\n\n  class CapturedBlockArgumentsImpl {\n    constructor(names, values) {\n      this.names = names;\n      this.values = values;\n      this.length = names.length;\n    }\n\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\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  }\n\n  function createCapturedArgs(named, positional) {\n    return {\n      named,\n      positional\n    };\n  }\n\n  function reifyNamed(named) {\n    var reified = (0, _util.dict)();\n\n    for (var key in named) {\n      reified[key] = (0, _reference.valueForRef)(named[key]);\n    }\n\n    return reified;\n  }\n\n  function reifyPositional(positional) {\n    return positional.map(_reference.valueForRef);\n  }\n\n  function reifyArgs(args) {\n    return {\n      named: reifyNamed(args.named),\n      positional: reifyPositional(args.positional)\n    };\n  }\n\n  var EMPTY_NAMED = Object.freeze(Object.create(null));\n  _exports.EMPTY_NAMED = EMPTY_NAMED;\n  var EMPTY_POSITIONAL = _util.EMPTY_ARRAY;\n  _exports.EMPTY_POSITIONAL = EMPTY_POSITIONAL;\n  var EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);\n  _exports.EMPTY_ARGS = EMPTY_ARGS;\n  APPEND_OPCODES.add(38\n  /* ChildScope */\n  , vm => vm.pushChildScope());\n  APPEND_OPCODES.add(39\n  /* PopScope */\n  , vm => vm.popScope());\n  APPEND_OPCODES.add(58\n  /* PushDynamicScope */\n  , vm => vm.pushDynamicScope());\n  APPEND_OPCODES.add(59\n  /* PopDynamicScope */\n  , vm => vm.popDynamicScope());\n  APPEND_OPCODES.add(28\n  /* Constant */\n  , (vm, {\n    op1: other\n  }) => {\n    vm.stack.pushJs(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)));\n  });\n  APPEND_OPCODES.add(29\n  /* Primitive */\n  , (vm, {\n    op1: primitive\n  }) => {\n    var stack = vm.stack;\n\n    if ((0, _util.isNonPrimitiveHandle)(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.pushJs(value);\n    } else {\n      // is already an encoded immediate or primitive handle\n      stack.pushRaw(primitive);\n    }\n  });\n  APPEND_OPCODES.add(30\n  /* PrimitiveReference */\n  , vm => {\n    var stack = vm.stack;\n    var value = stack.pop();\n    var ref;\n\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\n    stack.pushJs(ref);\n  });\n  APPEND_OPCODES.add(32\n  /* Dup */\n  , (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(33\n  /* Pop */\n  , (vm, {\n    op1: count\n  }) => {\n    vm.stack.pop(count);\n  });\n  APPEND_OPCODES.add(34\n  /* Load */\n  , (vm, {\n    op1: register\n  }) => {\n    vm.load(register);\n  });\n  APPEND_OPCODES.add(35\n  /* Fetch */\n  , (vm, {\n    op1: register\n  }) => {\n    vm.fetch(register);\n  });\n  APPEND_OPCODES.add(57\n  /* BindDynamicScope */\n  , (vm, {\n    op1: _names\n  }) => {\n    var names = vm[CONSTANTS].getArray(_names);\n    vm.bindDynamicScope(names);\n  });\n  APPEND_OPCODES.add(68\n  /* Enter */\n  , (vm, {\n    op1: args\n  }) => {\n    vm.enter(args);\n  });\n  APPEND_OPCODES.add(69\n  /* Exit */\n  , vm => {\n    vm.exit();\n  });\n  APPEND_OPCODES.add(62\n  /* PushSymbolTable */\n  , (vm, {\n    op1: _table\n  }) => {\n    var stack = vm.stack;\n    stack.pushJs(vm[CONSTANTS].getSerializable(_table));\n  });\n  APPEND_OPCODES.add(61\n  /* PushBlockScope */\n  , vm => {\n    var stack = vm.stack;\n    stack.pushJs(vm.scope());\n  });\n  APPEND_OPCODES.add(60\n  /* CompileBlock */\n  , vm => {\n    var stack = vm.stack;\n    var block = stack.pop();\n\n    if (block) {\n      stack.pushSmallInt(vm.compile(block));\n    } else {\n      stack.pushNull();\n    }\n  });\n  APPEND_OPCODES.add(63\n  /* InvokeYield */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var handle = stack.pop();\n    var scope = stack.popJs();\n    var table = stack.popJs();\n    var args = stack.pop();\n\n    if (table === null) {\n      // To balance the pop{Frame,Scope}\n      vm.pushFrame();\n      vm.pushScope(scope); // Could be null but it doesnt matter as it is immediatelly popped.\n\n      return;\n    }\n\n    var invokingScope = scope; // If necessary, create a child scope\n\n    {\n      var locals = table.parameters;\n      var localsCount = locals.length;\n\n      if (localsCount > 0) {\n        invokingScope = invokingScope.child();\n\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(64\n  /* JumpIf */\n  , (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.popJs();\n    var value = Boolean((0, _reference.valueForRef)(reference));\n\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\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(65\n  /* JumpUnless */\n  , (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.popJs();\n    var value = Boolean((0, _reference.valueForRef)(reference));\n\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\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(66\n  /* JumpEq */\n  , (vm, {\n    op1: target,\n    op2: comparison\n  }) => {\n    var other = vm.stack.peekSmallInt();\n\n    if (other === comparison) {\n      vm.goto(target);\n    }\n  });\n  APPEND_OPCODES.add(67\n  /* AssertSame */\n  , vm => {\n    var reference = vm.stack.peekJs();\n\n    if ((0, _reference.isConstRef)(reference) === false) {\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(70\n  /* ToBoolean */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var valueRef = stack.popJs();\n    stack.pushJs((0, _reference.createComputeRef)(() => (0, _globalContext.toBool)((0, _reference.valueForRef)(valueRef))));\n  });\n\n  class Assert extends UpdatingOpcode {\n    constructor(ref) {\n      super();\n      this.ref = ref;\n      this.type = 'assert';\n      this.last = (0, _reference.valueForRef)(ref);\n    }\n\n    evaluate(vm) {\n      var {\n        last,\n        ref\n      } = this;\n      var current = (0, _reference.valueForRef)(ref);\n\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n\n  }\n\n  class AssertFilter extends UpdatingOpcode {\n    constructor(ref, filter) {\n      super();\n      this.ref = ref;\n      this.filter = filter;\n      this.type = 'assert-filter';\n      this.last = filter((0, _reference.valueForRef)(ref));\n    }\n\n    evaluate(vm) {\n      var {\n        last,\n        ref,\n        filter\n      } = this;\n      var current = filter((0, _reference.valueForRef)(ref));\n\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n\n  }\n\n  class JumpIfNotModifiedOpcode extends UpdatingOpcode {\n    constructor() {\n      super(...arguments);\n      this.type = 'jump-if-not-modified';\n      this.tag = _validator.CONSTANT_TAG;\n      this.lastRevision = _validator.INITIAL;\n    }\n\n    finalize(tag, target) {\n      this.target = target;\n      this.didModify(tag);\n    }\n\n    evaluate(vm) {\n      var {\n        tag,\n        target,\n        lastRevision\n      } = this;\n\n      if (!vm.alwaysRevalidate && (0, _validator.validateTag)(tag, lastRevision)) {\n        (0, _validator.consumeTag)(tag);\n        vm.goto(target);\n      }\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  }\n\n  class BeginTrackFrameOpcode extends UpdatingOpcode {\n    constructor(debugLabel) {\n      super();\n      this.debugLabel = debugLabel;\n      this.type = 'begin-track-frame';\n    }\n\n    evaluate() {\n      (0, _validator.beginTrackFrame)(this.debugLabel);\n    }\n\n  }\n\n  class EndTrackFrameOpcode extends UpdatingOpcode {\n    constructor(target) {\n      super();\n      this.target = target;\n      this.type = 'end-track-frame';\n    }\n\n    evaluate() {\n      var tag = (0, _validator.endTrackFrame)();\n      this.target.didModify(tag);\n    }\n\n  }\n\n  APPEND_OPCODES.add(40\n  /* Text */\n  , (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendText(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(41\n  /* Comment */\n  , (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendComment(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(47\n  /* OpenElement */\n  , (vm, {\n    op1: tag\n  }) => {\n    vm.elements().openElement(vm[CONSTANTS].getValue(tag));\n  });\n  APPEND_OPCODES.add(48\n  /* OpenDynamicElement */\n  , vm => {\n    var tagName = (0, _reference.valueForRef)(vm.stack.popJs());\n    vm.elements().openElement(tagName);\n  });\n  APPEND_OPCODES.add(49\n  /* PushRemoteElement */\n  , vm => {\n    var elementRef = vm.stack.popJs();\n    var insertBeforeRef = vm.stack.popJs();\n    var guidRef = vm.stack.popJs();\n    var element = (0, _reference.valueForRef)(elementRef);\n    var insertBefore = (0, _reference.valueForRef)(insertBeforeRef);\n    var guid = (0, _reference.valueForRef)(guidRef);\n\n    if (!(0, _reference.isConstRef)(elementRef)) {\n      vm.updateWith(new Assert(elementRef));\n    }\n\n    if (insertBefore !== undefined && !(0, _reference.isConstRef)(insertBeforeRef)) {\n      vm.updateWith(new Assert(insertBeforeRef));\n    }\n\n    var block = vm.elements().pushRemoteElement(element, guid, insertBefore);\n    if (block) vm.associateDestroyable(block);\n  });\n  APPEND_OPCODES.add(55\n  /* PopRemoteElement */\n  , vm => {\n    vm.elements().popRemoteElement();\n  });\n  APPEND_OPCODES.add(53\n  /* FlushElement */\n  , vm => {\n    var operations = vm.fetchValue(_vm2.$t0);\n    var modifiers = null;\n\n    if (operations) {\n      modifiers = operations.flush(vm);\n      vm.loadValue(_vm2.$t0, null);\n    }\n\n    vm.elements().flushElement(modifiers);\n  });\n  APPEND_OPCODES.add(54\n  /* CloseElement */\n  , vm => {\n    var modifiers = vm.elements().closeElement();\n\n    if (modifiers) {\n      modifiers.forEach(([manager, modifier]) => {\n        vm.env.scheduleInstallModifier(modifier, manager);\n        var d = manager.getDestroyable(modifier);\n\n        if (d) {\n          vm.associateDestroyable(d);\n        }\n      });\n    }\n  });\n  APPEND_OPCODES.add(56\n  /* Modifier */\n  , (vm, {\n    op1: handle\n  }) => {\n    var {\n      manager,\n      state\n    } = vm.runtime.resolver.resolve(handle);\n    var stack = vm.stack;\n    var args = stack.popJs();\n    var {\n      constructing,\n      updateOperations\n    } = vm.elements();\n    var dynamicScope = vm.dynamicScope();\n    var modifier = manager.create(constructing, state, args, dynamicScope, updateOperations);\n    var operations = vm.fetchValue(_vm2.$t0);\n    operations.addModifier(manager, modifier);\n    var tag = manager.getTag(modifier);\n\n    if (tag !== null) {\n      (0, _validator.consumeTag)(tag);\n      vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n    }\n  });\n\n  class UpdateModifierOpcode extends UpdatingOpcode {\n    constructor(tag, manager, modifier) {\n      super();\n      this.tag = tag;\n      this.manager = manager;\n      this.modifier = modifier;\n      this.type = 'update-modifier';\n      this.lastUpdated = (0, _validator.valueForTag)(tag);\n    }\n\n    evaluate(vm) {\n      var {\n        manager,\n        modifier,\n        tag,\n        lastUpdated\n      } = this;\n      (0, _validator.consumeTag)(tag);\n\n      if (!(0, _validator.validateTag)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(modifier, manager);\n        this.lastUpdated = (0, _validator.valueForTag)(tag);\n      }\n    }\n\n  }\n\n  APPEND_OPCODES.add(50\n  /* StaticAttr */\n  , (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(51\n  /* DynamicAttr */\n  , (vm, {\n    op1: _name,\n    op2: trusting,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var reference = vm.stack.popJs();\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\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute, vm.env));\n    }\n  });\n\n  class UpdateDynamicAttributeOpcode extends UpdatingOpcode {\n    constructor(reference, attribute, env) {\n      super();\n      this.type = 'patch-element';\n      var initialized = false;\n      this.updateRef = (0, _reference.createComputeRef)(() => {\n        var value = (0, _reference.valueForRef)(reference);\n\n        if (initialized === true) {\n          attribute.update(value, env);\n        } else {\n          initialized = true;\n        }\n      });\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n\n    evaluate() {\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n\n  }\n  /**\n   * The VM creates a new ComponentInstance data structure for every component\n   * invocation it encounters.\n   *\n   * Similar to how a ComponentDefinition contains state about all components of a\n   * particular type, a ComponentInstance contains state specific to a particular\n   * instance of a component type. It also contains a pointer back to its\n   * component type's ComponentDefinition.\n   */\n\n\n  var COMPONENT_INSTANCE = (0, _util.symbol)('COMPONENT_INSTANCE');\n  APPEND_OPCODES.add(76\n  /* CurryComponent */\n  , (vm, {\n    op1: _owner\n  }) => {\n    var stack = vm.stack;\n    var definition = stack.popJs();\n    var capturedArgs = stack.popJs();\n    var owner = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_owner));\n    var resolver = vm.runtime.resolver;\n    vm.loadValue(_vm2.$v0, createCurryComponentRef(definition, resolver, owner, capturedArgs));\n  });\n  APPEND_OPCODES.add(77\n  /* PushComponentDefinition */\n  , (vm, {\n    op1: handle\n  }) => {\n    var definition = vm.runtime.resolver.resolve(handle);\n    var {\n      manager\n    } = definition;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var instance = {\n      [COMPONENT_INSTANCE]: true,\n      definition,\n      manager,\n      capabilities,\n      state: null,\n      handle: null,\n      table: null,\n      lookup: null\n    };\n    vm.stack.pushJs(instance);\n  });\n  APPEND_OPCODES.add(80\n  /* ResolveDynamicComponent */\n  , (vm, {\n    op1: _owner\n  }) => {\n    var stack = vm.stack;\n    var component = (0, _reference.valueForRef)(stack.popJs());\n    var owner = vm[CONSTANTS].getValue(_owner);\n    vm.loadValue(_vm2.$t1, null); // Clear the temp register\n\n    var definition;\n\n    if (typeof component === 'string') {\n      var resolvedDefinition = resolveComponent(vm.runtime.resolver, component, owner);\n      definition = resolvedDefinition;\n    } else {\n      definition = component;\n    }\n\n    stack.pushJs(definition);\n  });\n  APPEND_OPCODES.add(81\n  /* ResolveCurriedComponent */\n  , vm => {\n    var stack = vm.stack;\n    var ref = stack.popJs();\n    var value = (0, _reference.valueForRef)(ref);\n\n    if (true\n    /* DEBUG */\n    && !isCurriedComponentDefinition(value)) {\n      throw new Error(`Expected a curried 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 use the {{component}} helper to create a component definition when invoking dynamically.`);\n    }\n\n    var definition = value;\n    vm.loadValue(_vm2.$t1, null); // Clear the temp register\n\n    stack.pushJs(definition);\n  });\n  APPEND_OPCODES.add(78\n  /* PushDynamicComponentInstance */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    var definition = stack.pop();\n    var capabilities, manager;\n\n    if (isCurriedComponentDefinition(definition)) {\n      manager = capabilities = null;\n    } else {\n      manager = definition.manager;\n      capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    }\n\n    stack.pushJs({\n      definition,\n      capabilities,\n      manager,\n      state: null,\n      handle: null,\n      table: null\n    });\n  });\n  APPEND_OPCODES.add(79\n  /* PushCurriedComponent */\n  , vm => {\n    var stack = vm.stack;\n    var component = (0, _reference.valueForRef)(stack.popJs());\n    var definition;\n\n    if (isCurriedComponentDefinition(component)) {\n      definition = component;\n    } else {\n      throw (0, _util.unreachable)();\n    }\n\n    stack.pushJs(definition);\n  });\n  APPEND_OPCODES.add(82\n  /* PushArgs */\n  , (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_ARRAY;\n    vm[ARGS].setup(stack, names, blockNames, positionalCount, !!atNames);\n    stack.pushJs(vm[ARGS]);\n  });\n  APPEND_OPCODES.add(83\n  /* PushEmptyArgs */\n  , vm => {\n    var {\n      stack\n    } = vm;\n    stack.pushJs(vm[ARGS].empty(stack));\n  });\n  APPEND_OPCODES.add(86\n  /* CaptureArgs */\n  , vm => {\n    var stack = vm.stack;\n    var args = stack.popJs();\n    var capturedArgs = args.capture();\n    stack.pushJs(capturedArgs);\n  });\n  APPEND_OPCODES.add(85\n  /* PrepareArgs */\n  , (vm, {\n    op1: _state\n  }) => {\n    var stack = vm.stack;\n    var instance = vm.fetchValue(_state);\n    var args = stack.popJs();\n    var {\n      definition\n    } = instance;\n\n    if (isCurriedComponentDefinition(definition)) {\n      definition = resolveCurriedComponentDefinition(instance, definition, args);\n    }\n\n    var {\n      manager,\n      state\n    } = definition;\n    var capabilities = instance.capabilities;\n\n    if (!managerHasCapability(manager, capabilities, 4\n    /* PrepareArgs */\n    )) {\n      stack.pushJs(args);\n      return;\n    }\n\n    var blocks = args.blocks.values;\n    var blockNames = args.blocks.names;\n    var preparedArgs = manager.prepareArgs(state, args);\n\n    if (preparedArgs) {\n      args.clear();\n\n      for (var i = 0; i < blocks.length; i++) {\n        var block = blocks[i];\n\n        if (typeof block === 'number') {\n          stack.pushSmallInt(block);\n        } else {\n          stack.pushJs(block);\n        }\n      }\n\n      var {\n        positional,\n        named\n      } = preparedArgs;\n      var positionalCount = positional.length;\n\n      for (var _i = 0; _i < positionalCount; _i++) {\n        stack.pushJs(positional[_i]);\n      }\n\n      var names = Object.keys(named);\n\n      for (var _i2 = 0; _i2 < names.length; _i2++) {\n        stack.pushJs(named[names[_i2]]);\n      }\n\n      args.setup(stack, names, blockNames, positionalCount, false);\n    }\n\n    stack.pushJs(args);\n  });\n  APPEND_OPCODES.add(87\n  /* CreateComponent */\n  , (vm, {\n    op1: flags,\n    op2: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      definition,\n      manager\n    } = instance;\n    var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n\n    if (!managerHasCapability(manager, capabilities, 512\n    /* CreateInstance */\n    )) {\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\n    var dynamicScope = null;\n\n    if (managerHasCapability(manager, capabilities, 64\n    /* DynamicScope */\n    )) {\n      dynamicScope = vm.dynamicScope();\n    }\n\n    var hasDefaultBlock = flags & 1;\n    var args = null;\n\n    if (managerHasCapability(manager, capabilities, 8\n    /* CreateArgs */\n    )) {\n      args = vm.stack.peekJs();\n    }\n\n    var self = null;\n\n    if (managerHasCapability(manager, capabilities, 128\n    /* CreateCaller */\n    )) {\n      self = vm.getSelf();\n    }\n\n    var state = manager.create(vm.env, definition.state, args, 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\n    if (managerHasCapability(manager, capabilities, 256\n    /* UpdateHook */\n    )) {\n      vm.updateWith(new UpdateComponentOpcode(state, manager, dynamicScope));\n    }\n  });\n  APPEND_OPCODES.add(88\n  /* RegisterComponentDestructor */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      manager,\n      state,\n      capabilities\n    } = vm.fetchValue(_state);\n    var d = manager.getDestroyable(state);\n\n    if (true\n    /* DEBUG */\n    && !hasCapability(capabilities, 2048\n    /* WillDestroy */\n    ) && 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\n    if (d) vm.associateDestroyable(d);\n  });\n  APPEND_OPCODES.add(97\n  /* BeginComponentTransaction */\n  , (vm, {\n    op1: _state\n  }) => {\n    var name;\n\n    if (true\n    /* DEBUG */\n    ) {\n      var {\n        definition,\n        manager\n      } = vm.fetchValue(_state);\n      name = manager.getDebugName(definition.state);\n    }\n\n    vm.beginCacheGroup(name);\n    vm.elements().pushSimpleBlock();\n  });\n  APPEND_OPCODES.add(89\n  /* PutComponentOperations */\n  , vm => {\n    vm.loadValue(_vm2.$t0, new ComponentElementOperations());\n  });\n  APPEND_OPCODES.add(52\n  /* ComponentAttr */\n  , (vm, {\n    op1: _name,\n    op2: trusting,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var reference = vm.stack.popJs();\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 */\n  , (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\n  class ComponentElementOperations {\n    constructor() {\n      this.attributes = (0, _util.dict)();\n      this.classes = [];\n      this.modifiers = [];\n    }\n\n    setAttribute(name, value, trusting, namespace) {\n      var deferred = {\n        value,\n        namespace,\n        trusting\n      };\n\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n\n      this.attributes[name] = deferred;\n    }\n\n    setStaticAttribute(name, value, namespace) {\n      var deferred = {\n        value,\n        namespace\n      };\n\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n\n      this.attributes[name] = deferred;\n    }\n\n    addModifier(manager, state) {\n      this.modifiers.push([manager, state]);\n    }\n\n    flush(vm) {\n      var type;\n      var attributes = this.attributes;\n\n      for (var name in this.attributes) {\n        if (name === 'type') {\n          type = attributes[name];\n          continue;\n        }\n\n        var attr = this.attributes[name];\n\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\n      if (type !== undefined) {\n        setDeferredAttr(vm, 'type', type.value, type.namespace, type.trusting);\n      }\n\n      return this.modifiers;\n    }\n\n  }\n\n  function mergeClasses(classes) {\n    if (classes.length === 0) {\n      return '';\n    }\n\n    if (classes.length === 1) {\n      return classes[0];\n    }\n\n    if (allStringClasses(classes)) {\n      return classes.join(' ');\n    }\n\n    return createClassListRef(classes);\n  }\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\n    return true;\n  }\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\n      if (!(0, _reference.isConstRef)(value)) {\n        vm.updateWith(new UpdateDynamicAttributeOpcode(value, attribute, vm.env));\n      }\n    }\n  }\n\n  APPEND_OPCODES.add(99\n  /* DidCreateElement */\n  , (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 */\n  , (vm, {\n    op1: _state,\n    op2: _names\n  }) => {\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\n    if (vm.env.debugRenderTree !== undefined) {\n      var _instance = vm.fetchValue(_state);\n\n      var {\n        definition: _definition2,\n        manager: _manager2\n      } = _instance;\n      var args;\n\n      if (vm.stack.peek() === vm[ARGS]) {\n        args = vm[ARGS].capture();\n      } else {\n        var names = vm[CONSTANTS].getValue(_names);\n        vm[ARGS].setup(vm.stack, names, [], 0, true);\n        args = vm[ARGS].capture();\n      }\n\n      var template = hasStaticLayout(_instance.capabilities, _manager2) ? _manager2.getStaticLayout(_definition2.state) : _manager2.getDynamicLayout(state, vm.runtime.resolver); // For tearing down the debugRenderTree\n\n      vm.associateDestroyable(_instance);\n\n      if (hasCustomDebugRenderTreeLifecycle(_manager2)) {\n        var nodes = _manager2.getDebugCustomRenderTree(_instance.definition.state, _instance.state, args, template);\n\n        nodes.forEach(node => {\n          var {\n            bucket\n          } = node;\n          vm.env.debugRenderTree.create(bucket, node);\n          registerDestructor(_instance, () => {\n            var _a;\n\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 = _manager2.getDebugName(_definition2.state);\n\n        vm.env.debugRenderTree.create(_instance, {\n          type: 'component',\n          name,\n          args,\n          template,\n          instance: (0, _reference.valueForRef)(selfRef)\n        });\n        vm.associateDestroyable(_instance);\n        registerDestructor(_instance, () => {\n          var _a;\n\n          (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.willDestroy(_instance);\n        });\n        vm.updateWith(new DebugRenderTreeUpdateOpcode(_instance));\n      }\n    }\n\n    vm.stack.pushJs(selfRef);\n  });\n  APPEND_OPCODES.add(91\n  /* GetComponentTagName */\n  , (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.pushJs(tagName);\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(92\n  /* GetComponentLayout */\n  , (vm, {\n    op1: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var manager = instance.manager;\n    var {\n      definition\n    } = instance;\n    var {\n      stack\n    } = vm;\n    var {\n      capabilities\n    } = instance;\n    var template;\n\n    if (hasStaticLayout(capabilities, manager)) {\n      template = manager.getStaticLayout(definition.state);\n    } else {\n      template = manager.getDynamicLayout(instance.state, vm.runtime.resolver);\n    }\n\n    var layout;\n\n    if (hasCapability(capabilities, 1024\n    /* Wrapped */\n    )) {\n      layout = (0, _util.unwrapTemplate)(template).asWrappedLayout();\n    } else {\n      layout = (0, _util.unwrapTemplate)(template).asLayout();\n    }\n\n    var handle = layout.compile(vm.context);\n    stack.pushJs(layout.symbolTable);\n\n    if (true\n    /* DEBUG */\n    && (0, _util.isErrHandle)(handle)) {\n      stack.pushJs(handle);\n    } else {\n      stack.pushSmallInt(handle);\n    }\n  });\n  APPEND_OPCODES.add(74\n  /* Main */\n  , (vm, {\n    op1: register\n  }) => {\n    var definition = vm.stack.popJs();\n    var invocation = vm.stack.popJs();\n    var {\n      manager\n    } = definition;\n    var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n    var state = {\n      [COMPONENT_INSTANCE]: true,\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 */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      stack\n    } = vm; // In DEBUG handles could be ErrHandle objects\n\n    var handle = true\n    /* DEBUG */\n    ? stack.pop() : stack.popSmallInt();\n    var table = stack.popJs();\n    var state = vm.fetchValue(_state);\n    state.handle = handle;\n    state.table = table;\n  });\n  APPEND_OPCODES.add(37\n  /* VirtualRootScope */\n  , (vm, {\n    op1: _state\n  }) => {\n    var {\n      symbols\n    } = vm.fetchValue(_state).table;\n    vm.pushRootScope(symbols.length + 1);\n  });\n  APPEND_OPCODES.add(94\n  /* SetupForEval */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n\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 */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var scope = vm.scope();\n    var args = vm.stack.peekJs();\n    var callerNames = args.named.atNames;\n\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\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\n  APPEND_OPCODES.add(18\n  /* SetBlocks */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var {\n      blocks\n    } = vm.stack.peekJs();\n\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 */\n  , (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    vm.call(state.handle);\n  });\n  APPEND_OPCODES.add(100\n  /* DidRenderLayout */\n  , (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\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\n    if (managerHasCapability(manager, capabilities, 512\n    /* CreateInstance */\n    )) {\n      var mgr = manager;\n      mgr.didRenderLayout(state, bounds);\n      vm.env.didCreate(state, manager);\n      vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n    }\n  });\n  APPEND_OPCODES.add(98\n  /* CommitComponentTransaction */\n  , vm => {\n    vm.commitCacheGroup();\n  });\n\n  class UpdateComponentOpcode extends UpdatingOpcode {\n    constructor(component, manager, dynamicScope) {\n      super();\n      this.component = component;\n      this.manager = manager;\n      this.dynamicScope = dynamicScope;\n      this.type = 'update-component';\n    }\n\n    evaluate(_vm) {\n      var {\n        component,\n        manager,\n        dynamicScope\n      } = this;\n      manager.update(component, dynamicScope);\n    }\n\n  }\n\n  class DidUpdateLayoutOpcode extends UpdatingOpcode {\n    constructor(manager, component, bounds) {\n      super();\n      this.manager = manager;\n      this.component = component;\n      this.bounds = bounds;\n      this.type = 'did-update-layout';\n    }\n\n    evaluate(vm) {\n      var {\n        manager,\n        component,\n        bounds\n      } = this;\n      manager.didUpdateLayout(component, bounds);\n      vm.env.didUpdate(component, manager);\n    }\n\n  }\n\n  class DebugRenderTreeUpdateOpcode extends UpdatingOpcode {\n    constructor(bucket) {\n      super();\n      this.bucket = bucket;\n      this.type = 'debug-render-tree-update';\n    }\n\n    evaluate(vm) {\n      var _a;\n\n      (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.update(this.bucket);\n    }\n\n  }\n\n  class DebugRenderTreeDidRenderOpcode extends UpdatingOpcode {\n    constructor(bucket, bounds) {\n      super();\n      this.bucket = bucket;\n      this.bounds = bounds;\n      this.type = 'debug-render-tree-did-render';\n    }\n\n    evaluate(vm) {\n      var _a;\n\n      (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.didRender(this.bucket, this.bounds);\n    }\n\n  }\n\n  class DynamicTextContent extends UpdatingOpcode {\n    constructor(node, reference, lastValue) {\n      super();\n      this.node = node;\n      this.reference = reference;\n      this.lastValue = lastValue;\n      this.type = 'dynamic-text';\n    }\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\n      if (isEmpty(value)) {\n        normalized = '';\n      } else if (isString(value)) {\n        normalized = value;\n      } else {\n        normalized = String(value);\n      }\n\n      if (normalized !== lastValue) {\n        var textNode = this.node;\n        textNode.nodeValue = this.lastValue = normalized;\n      }\n    }\n\n  }\n\n  function toContentType(value) {\n    if (shouldCoerce(value)) {\n      return 1\n      /* String */\n      ;\n    } else if (isCurriedComponentDefinition(value)) {\n      return 0\n      /* Component */\n      ;\n    } else if (isSafeString(value)) {\n      return 3\n      /* SafeString */\n      ;\n    } else if (isFragment(value)) {\n      return 4\n      /* Fragment */\n      ;\n    } else if (isNode(value)) {\n      return 5\n      /* Node */\n      ;\n    } else {\n        return 1\n        /* String */\n        ;\n      }\n  }\n\n  APPEND_OPCODES.add(75\n  /* ContentType */\n  , vm => {\n    var reference = vm.stack.peek();\n    vm.stack.pushSmallInt(toContentType((0, _reference.valueForRef)(reference)));\n\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new AssertFilter(reference, toContentType));\n    }\n  });\n  APPEND_OPCODES.add(42\n  /* AppendHTML */\n  , vm => {\n    var reference = vm.stack.popJs();\n    var rawValue = (0, _reference.valueForRef)(reference);\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(43\n  /* AppendSafeHTML */\n  , vm => {\n    var reference = vm.stack.popJs();\n    var rawValue = (0, _reference.valueForRef)(reference).toHTML();\n    var value = isEmpty(rawValue) ? '' : rawValue;\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(46\n  /* AppendText */\n  , vm => {\n    var reference = vm.stack.popJs();\n    var rawValue = (0, _reference.valueForRef)(reference);\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    var node = vm.elements().appendDynamicText(value);\n\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new DynamicTextContent(node, reference, value));\n    }\n  });\n  APPEND_OPCODES.add(44\n  /* AppendDocumentFragment */\n  , vm => {\n    var reference = vm.stack.popJs();\n    var value = (0, _reference.valueForRef)(reference);\n    vm.elements().appendDynamicFragment(value);\n  });\n  APPEND_OPCODES.add(45\n  /* AppendNode */\n  , vm => {\n    var reference = vm.stack.popJs();\n    var value = (0, _reference.valueForRef)(reference);\n    vm.elements().appendDynamicNode(value);\n  });\n\n  function debugCallback(context, get) {\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\n  var callback = debugCallback; // For testing purposes\n\n  function setDebuggerCallback(cb) {\n    callback = cb;\n  }\n\n  function resetDebuggerCallback() {\n    callback = debugCallback;\n  }\n\n  class ScopeInspector {\n    constructor(scope, symbols, evalInfo) {\n      this.scope = scope;\n      this.locals = (0, _util.dict)();\n\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\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\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\n      return tail.reduce((r, part) => (0, _reference.childRefFor)(r, part), ref);\n    }\n\n  }\n\n  APPEND_OPCODES.add(103\n  /* Debugger */\n  , (vm, {\n    op1: _symbols,\n    op2: _evalInfo\n  }) => {\n    var symbols = vm[CONSTANTS].getArray(_symbols);\n    var evalInfo = vm[CONSTANTS].getValue((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 */\n  , (vm, {\n    op1: _owner,\n    op2: _symbols,\n    op3: _evalInfo\n  }) => {\n    var {\n      [CONSTANTS]: constants$$1,\n      stack\n    } = vm;\n    var name = (0, _reference.valueForRef)(stack.pop());\n    var owner = constants$$1.getValue((0, _util.decodeHandle)(_owner));\n    var outerSymbols = constants$$1.getArray(_symbols);\n    var evalInfo = constants$$1.getValue((0, _util.decodeHandle)(_evalInfo));\n    var handle = vm.runtime.resolver.lookupPartial(name, owner);\n    var definition = vm.runtime.resolver.resolve(handle);\n    var {\n      symbolTable,\n      handle: vmHandle\n    } = definition.getPartial(vm.context);\n    {\n      var partialSymbols = symbolTable.symbols;\n      var outerScope = vm.scope();\n      var partialScope = vm.pushRootScope(partialSymbols.length);\n      var evalScope = outerScope.getEvalScope();\n      partialScope.bindEvalScope(evalScope);\n      partialScope.bindSelf(outerScope.getSelf());\n      var locals = Object.create(outerScope.getPartialMap());\n\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\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\n      partialScope.bindPartialMap(locals);\n      vm.pushFrame(); // sp += 2\n\n      vm.call((0, _util.unwrapHandle)(vmHandle));\n    }\n  });\n  APPEND_OPCODES.add(71\n  /* EnterList */\n  , (vm, {\n    op1: relativeStart,\n    op2: elseTarget\n  }) => {\n    var stack = vm.stack;\n    var listRef = stack.popJs();\n    var keyRef = stack.popJs();\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\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.pushJs(iterator);\n    }\n  });\n  APPEND_OPCODES.add(72\n  /* ExitList */\n  , vm => {\n    vm.exitList();\n  });\n  APPEND_OPCODES.add(73\n  /* Iterate */\n  , (vm, {\n    op1: breaks\n  }) => {\n    var stack = vm.stack;\n    var iterator = stack.peekJs();\n    var item = iterator.next();\n\n    if (item !== null) {\n      vm.registerItem(vm.enterItem(item));\n    } else {\n      vm.goto(breaks);\n    }\n  });\n\n  class SimpleComponentManager {\n    getCapabilities(_state) {\n      return MINIMAL_CAPABILITIES;\n    }\n\n    getDebugName() {\n      return '';\n    }\n\n    prepareArgs(_state, _args) {\n      throw new Error(`Unimplemented prepareArgs in SimpleComponentManager`);\n    }\n\n    create(_env, _state, _args, _dynamicScope, _caller, _hasDefaultBlock) {\n      throw new Error(`Unimplemented create in SimpleComponentManager`);\n    }\n\n    getSelf(_state) {\n      return _reference.UNDEFINED_REFERENCE;\n    }\n\n    didRenderLayout(_state, _bounds) {\n      throw new Error(`Unimplemented didRenderLayout in SimpleComponentManager`);\n    }\n\n    didCreate(_state) {\n      throw new Error(`Unimplemented didCreate in SimpleComponentManager`);\n    }\n\n    update(_state, _dynamicScope) {\n      throw new Error(`Unimplemented update in SimpleComponentManager`);\n    }\n\n    didUpdateLayout(_state, _bounds) {\n      throw new Error(`Unimplemented didUpdateLayout in SimpleComponentManager`);\n    }\n\n    didUpdate(_state) {\n      throw new Error(`Unimplemented didUpdate in SimpleComponentManager`);\n    }\n\n    getDestroyable(_state) {\n      return null;\n    }\n\n  }\n\n  _exports.SimpleComponentManager = SimpleComponentManager;\n  var TEMPLATE_ONLY_COMPONENT = {\n    state: null,\n    manager: new SimpleComponentManager()\n  }; // http://www.w3.org/TR/html/syntax.html#html-integration-point\n\n  _exports.TEMPLATE_ONLY_COMPONENT = TEMPLATE_ONLY_COMPONENT;\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\n  class DOMOperations {\n    constructor(document) {\n      this.document = document;\n      this.setupUselessElement();\n    } // split into seperate method so that NodeDOMTreeConstruction\n    // can override it.\n\n\n    setupUselessElement() {\n      this.uselessElement = this.document.createElement('div');\n    }\n\n    createElement(tag, context) {\n      var isElementInSVGNamespace, isHTMLIntegrationPoint;\n\n      if (context) {\n        isElementInSVGNamespace = context.namespaceURI === \"http://www.w3.org/2000/svg\"\n        /* SVG */\n        || tag === 'svg';\n        isHTMLIntegrationPoint = !!SVG_INTEGRATION_POINTS[context.tagName];\n      } else {\n        isElementInSVGNamespace = tag === 'svg';\n        isHTMLIntegrationPoint = false;\n      }\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\n        return this.document.createElementNS(\"http://www.w3.org/2000/svg\"\n        /* SVG */\n        , tag);\n      } else {\n        return this.document.createElement(tag);\n      }\n    }\n\n    insertBefore(parent, node, reference) {\n      parent.insertBefore(node, reference);\n    }\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\n      var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n      var last;\n\n      if (nextSibling === null) {\n        parent.insertAdjacentHTML(\"beforeend\"\n        /* beforeend */\n        , 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 */\n        , html);\n        last = uselessElement.previousSibling;\n        parent.removeChild(uselessElement);\n      }\n\n      var first = prev ? prev.nextSibling : parent.firstChild;\n      return new ConcreteBounds(parent, first, last);\n    }\n\n    createTextNode(text) {\n      return this.document.createTextNode(text);\n    }\n\n    createComment(data) {\n      return this.document.createComment(data);\n    }\n\n  }\n\n  function moveNodesBefore(source, target, nextSibling) {\n    var first = source.firstChild;\n    var last = first;\n    var current = first;\n\n    while (current) {\n      var next = current.nextSibling;\n      target.insertBefore(current, nextSibling);\n      last = current;\n      current = next;\n    }\n\n    return new ConcreteBounds(target, first, last);\n  }\n\n  var SVG_NAMESPACE = \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  ; // 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\n    if (!shouldApplyFix(document, svgNamespace)) {\n      return DOMClass;\n    }\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\n        if (parent.namespaceURI !== svgNamespace) {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n\n        return fixSVG(parent, div, html, nextSibling);\n      }\n\n    };\n  }\n\n  function fixSVG(parent, div, html, reference) {\n    var source; // This is important, because decendants 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 */\n      , 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\n      (0, _util.clearElement)(div);\n      div.insertAdjacentHTML(\"afterbegin\"\n      /* afterbegin */\n      , _wrappedHtml);\n      source = div.firstChild;\n    }\n\n    return moveNodesBefore(source, parent, reference);\n  }\n\n  function shouldApplyFix(document, svgNamespace) {\n    var svg = document.createElementNS(svgNamespace, 'svg');\n\n    try {\n      svg.insertAdjacentHTML(\"beforeend\"\n      /* beforeend */\n      , '<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\n      return true;\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 exmaple 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\n\n  function applyTextNodeMergingFix(document, DOMClass) {\n    if (!document) return DOMClass;\n\n    if (!shouldApplyFix$1(document)) {\n      return DOMClass;\n    }\n\n    return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n      constructor(document) {\n        super(document);\n        this.uselessComment = document.createComment('');\n      }\n\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n\n        var didSetUselessComment = false;\n        var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n\n        if (nextPrevious && nextPrevious instanceof Text) {\n          didSetUselessComment = true;\n          parent.insertBefore(this.uselessComment, nextSibling);\n        }\n\n        var bounds = super.insertHTMLBefore(parent, nextSibling, html);\n\n        if (didSetUselessComment) {\n          parent.removeChild(this.uselessComment);\n        }\n\n        return bounds;\n      }\n\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 */\n    , 'second');\n\n    if (mergingTextDiv.childNodes.length === 2) {\n      // It worked as expected, no fix required\n      return false;\n    }\n\n    return true;\n  }\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\n  function isWhitespace(string) {\n    return WHITESPACE.test(string);\n  }\n\n  var DOM;\n\n  (function (DOM) {\n    class TreeConstruction extends DOMOperations {\n      createElementNS(namespace, tag) {\n        return this.document.createElementNS(namespace, tag);\n      }\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    }\n\n    DOM.TreeConstruction = TreeConstruction;\n    var appliedTreeContruction = TreeConstruction;\n    appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n    appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, \"http://www.w3.org/2000/svg\"\n    /* SVG */\n    );\n    DOM.DOMTreeConstruction = appliedTreeContruction;\n  })(DOM || (DOM = {}));\n\n  class DOMChangesImpl extends DOMOperations {\n    constructor(document) {\n      super(document);\n      this.document = document;\n      this.namespace = null;\n    }\n\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n\n    removeAttribute(element, name) {\n      element.removeAttribute(name);\n    }\n\n    insertAfter(element, node, reference) {\n      this.insertBefore(element, node, reference.nextSibling);\n    }\n\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  );\n  var helper$1 = helper;\n  _exports.DOMChanges = helper$1;\n  var DOMTreeConstruction = DOM.DOMTreeConstruction;\n  _exports.DOMTreeConstruction = DOMTreeConstruction;\n  var GUID = 0;\n\n  class Ref {\n    constructor(value) {\n      this.id = GUID++;\n      this.value = value;\n    }\n\n    get() {\n      return this.value;\n    }\n\n    release() {\n      if (true\n      /* DEBUG */\n      && this.value === null) {\n        throw new Error('BUG: double release?');\n      }\n\n      this.value = null;\n    }\n\n    toString() {\n      var label = `Ref ${this.id}`;\n\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  }\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\n    begin() {\n      this.reset();\n    }\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\n    update(state) {\n      this.enter(state);\n    }\n\n    didRender(state, bounds) {\n      if (true\n      /* DEBUG */\n      && this.stack.current !== state) {\n        throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);\n      }\n\n      this.nodeFor(state).bounds = bounds;\n      this.exit();\n    }\n\n    willDestroy(state) {\n      this.refs.get(state).release();\n    }\n\n    commit() {\n      this.reset();\n    }\n\n    capture() {\n      return this.captureRefs(this.roots);\n    }\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\n        if (ref !== undefined) {\n          this.roots.delete(ref);\n        }\n\n        while (!this.stack.isEmpty()) {\n          this.stack.pop();\n        }\n      }\n    }\n\n    enter(state) {\n      this.stack.push(state);\n    }\n\n    exit() {\n      if (true\n      /* DEBUG */\n      && this.stack.size === 0) {\n        throw new Error('BUG: unbalanced pop');\n      }\n\n      this.stack.pop();\n    }\n\n    nodeFor(state) {\n      return this.nodes.get(state);\n    }\n\n    appendChild(node, state) {\n      if (true\n      /* DEBUG */\n      && this.refs.has(state)) {\n        throw new Error('BUG: child already appended');\n      }\n\n      var parent = this.stack.current;\n      var ref = new Ref(state);\n      this.refs.set(state, ref);\n\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\n    captureRefs(refs) {\n      var captured = [];\n      refs.forEach(ref => {\n        var state = ref.get();\n\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\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\n    captureTemplate({\n      template\n    }) {\n      return template && (0, _util.unwrapTemplate)(template).moduleName || null;\n    }\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  }\n\n  var _a$1;\n\n  var TRANSACTION = (0, _util.symbol)('TRANSACTION');\n\n  class TransactionImpl {\n    constructor() {\n      this.scheduledInstallManagers = [];\n      this.scheduledInstallModifiers = [];\n      this.scheduledUpdateModifierManagers = [];\n      this.scheduledUpdateModifiers = [];\n      this.createdComponents = [];\n      this.createdManagers = [];\n      this.updatedComponents = [];\n      this.updatedManagers = [];\n    }\n\n    didCreate(component, manager) {\n      this.createdComponents.push(component);\n      this.createdManagers.push(manager);\n    }\n\n    didUpdate(component, manager) {\n      this.updatedComponents.push(component);\n      this.updatedManagers.push(manager);\n    }\n\n    scheduleInstallModifier(modifier, manager) {\n      this.scheduledInstallModifiers.push(modifier);\n      this.scheduledInstallManagers.push(manager);\n    }\n\n    scheduleUpdateModifier(modifier, manager) {\n      this.scheduledUpdateModifiers.push(modifier);\n      this.scheduledUpdateModifierManagers.push(manager);\n    }\n\n    commit() {\n      var {\n        createdComponents,\n        createdManagers\n      } = this;\n\n      for (var i = 0; i < createdComponents.length; i++) {\n        var component = createdComponents[i];\n        var _manager3 = createdManagers[i];\n\n        _manager3.didCreate(component);\n      }\n\n      var {\n        updatedComponents,\n        updatedManagers\n      } = this;\n\n      for (var _i4 = 0; _i4 < updatedComponents.length; _i4++) {\n        var _component2 = updatedComponents[_i4];\n        var _manager4 = updatedManagers[_i4];\n\n        _manager4.didUpdate(_component2);\n      }\n\n      var {\n        scheduledInstallManagers,\n        scheduledInstallModifiers\n      } = this;\n      var manager, modifier;\n\n      for (var _i5 = 0; _i5 < scheduledInstallManagers.length; _i5++) {\n        modifier = scheduledInstallModifiers[_i5];\n        manager = scheduledInstallManagers[_i5];\n        var modifierTag = manager.getTag(modifier);\n\n        if (modifierTag !== null) {\n          var tag = (0, _validator.track)( // eslint-disable-next-line no-loop-func\n          () => manager.install(modifier), true\n          /* DEBUG */\n          && `- While rendering:\\n  (instance of a \\`${manager.getDebugName(modifier)}\\` modifier)`);\n          (0, _validator.updateTag)(modifierTag, tag);\n        } else {\n          manager.install(modifier);\n        }\n      }\n\n      var {\n        scheduledUpdateModifierManagers,\n        scheduledUpdateModifiers\n      } = this;\n\n      for (var _i6 = 0; _i6 < scheduledUpdateModifierManagers.length; _i6++) {\n        modifier = scheduledUpdateModifiers[_i6];\n        manager = scheduledUpdateModifierManagers[_i6];\n\n        var _modifierTag = manager.getTag(modifier);\n\n        if (_modifierTag !== null) {\n          var _tag = (0, _validator.track)( // eslint-disable-next-line no-loop-func\n          () => manager.update(modifier), true\n          /* DEBUG */\n          && `While rendering an instance of a \\`${(0, _util.debugToString)(modifier)}\\` modifier`);\n\n          (0, _validator.updateTag)(_modifierTag, _tag);\n        } else {\n          manager.update(modifier);\n        }\n      }\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.owner = this.delegate.owner;\n      this.debugRenderTree = this.delegate.enableDebugTooling ? new DebugRenderTreeImpl() : undefined;\n\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\n      /* DEBUG */\n      ) {\n        throw new Error('you must pass document or appendOperations to a new runtime');\n      }\n    }\n\n    getAppendOperations() {\n      return this.appendOperations;\n    }\n\n    getDOM() {\n      return this.updateOperations;\n    }\n\n    begin() {\n      var _b;\n\n      (_b = this.debugRenderTree) === null || _b === void 0 ? void 0 : _b.begin();\n      this[TRANSACTION] = new TransactionImpl();\n    }\n\n    get transaction() {\n      return this[TRANSACTION];\n    }\n\n    didCreate(component, manager) {\n      this.transaction.didCreate(component, manager);\n    }\n\n    didUpdate(component, manager) {\n      this.transaction.didUpdate(component, manager);\n    }\n\n    scheduleInstallModifier(modifier, manager) {\n      if (this.isInteractive) {\n        this.transaction.scheduleInstallModifier(modifier, manager);\n      }\n    }\n\n    scheduleUpdateModifier(modifier, manager) {\n      if (this.isInteractive) {\n        this.transaction.scheduleUpdateModifier(modifier, manager);\n      }\n    }\n\n    commit() {\n      var _b;\n\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  }\n\n  _exports.EnvironmentImpl = EnvironmentImpl;\n  _a$1 = TRANSACTION;\n\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\n  function inTransaction(env, cb) {\n    if (!env[TRANSACTION]) {\n      env.begin();\n\n      try {\n        cb();\n      } finally {\n        env.commit();\n      }\n    } else {\n      cb();\n    }\n  }\n\n  function getDynamicVar(args, vm) {\n    var scope = vm.dynamicScope();\n    var nameRef = args.positional.at(0);\n    return (0, _reference.createComputeRef)(() => {\n      var name = String((0, _reference.valueForRef)(nameRef));\n      return (0, _reference.valueForRef)(scope.get(name));\n    });\n  }\n\n  function initializeRegistersWithSP(sp) {\n    return [0, -1, sp, 0];\n  }\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\n    fetchRegister(register) {\n      return this.registers[register];\n    }\n\n    loadRegister(register, value) {\n      this.registers[register] = value;\n    }\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\n    pushFrame() {\n      this.stack.pushSmallInt(this.registers[_vm2.$ra]);\n      this.stack.pushSmallInt(this.registers[_vm2.$fp]);\n      this.registers[_vm2.$fp] = this.registers[_vm2.$sp] - 1;\n    } // Restore $ra, $sp and $fp\n\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\n    pushSmallFrame() {\n      this.stack.pushSmallInt(this.registers[_vm2.$ra]);\n    }\n\n    popSmallFrame() {\n      this.registers[_vm2.$ra] = this.stack.popSmallInt();\n    } // Jump to an address in `program`\n\n\n    goto(offset) {\n      this.setPc(this.target(offset));\n    }\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\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\n    returnTo(offset) {\n      this.registers[_vm2.$ra] = this.target(offset);\n    } // Return to the `program` address stored in $ra\n\n\n    return() {\n      this.setPc(this.registers[_vm2.$ra]);\n    }\n\n    nextStatement() {\n      var {\n        registers,\n        program\n      } = this;\n      var pc = registers[_vm2.$pc];\n\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\n      var opcode = program.opcode(pc);\n      var operationSize = this.currentOpSize = opcode.size;\n      this.registers[_vm2.$pc] += operationSize;\n      return opcode;\n    }\n\n    evaluateOuter(opcode, vm) {\n      {\n        this.evaluateInner(opcode, vm);\n      }\n    }\n\n    evaluateInner(opcode, vm) {\n      if (opcode.isMachine) {\n        this.evaluateMachine(opcode);\n      } else {\n        this.evaluateSyscall(opcode, vm);\n      }\n    }\n\n    evaluateMachine(opcode) {\n      switch (opcode.type) {\n        case 0\n        /* PushFrame */\n        :\n          return this.pushFrame();\n\n        case 1\n        /* PopFrame */\n        :\n          return this.popFrame();\n\n        case 3\n        /* InvokeStatic */\n        :\n          return this.call(opcode.op1);\n\n        case 2\n        /* InvokeVirtual */\n        :\n          return this.call(this.stack.popSmallInt());\n\n        case 4\n        /* Jump */\n        :\n          return this.goto(opcode.op1);\n\n        case 5\n        /* Return */\n        :\n          return this.return();\n\n        case 6\n        /* ReturnTo */\n        :\n          return this.returnTo(opcode.op1);\n      }\n    }\n\n    evaluateSyscall(opcode, vm) {\n      APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n    }\n\n  }\n\n  class UpdatingVM {\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\n    execute(opcodes, handler) {\n      if (true\n      /* DEBUG */\n      ) {\n        var hasErrored = true;\n\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            console.error(`\\n\\nError occurred:\\n\\n${(0, _validator.resetTracking)()}\\n\\n`);\n          }\n        }\n      } else {\n        this._execute(opcodes, handler);\n      }\n    }\n\n    _execute(opcodes, handler) {\n      var {\n        frameStack\n      } = this;\n      this.try(opcodes, handler);\n\n      while (true) {\n        if (frameStack.isEmpty()) break;\n        var opcode = this.frame.nextStatement();\n\n        if (opcode === undefined) {\n          frameStack.pop();\n          continue;\n        }\n\n        opcode.evaluate(this);\n      }\n    }\n\n    get frame() {\n      return this.frameStack.current;\n    }\n\n    goto(index) {\n      this.frame.goto(index);\n    }\n\n    try(ops, handler) {\n      this.frameStack.push(new UpdatingVMFrame(ops, handler));\n    }\n\n    throw() {\n      this.frame.handleException();\n      this.frameStack.pop();\n    }\n\n  }\n\n  _exports.UpdatingVM = UpdatingVM;\n\n  class ResumableVMStateImpl {\n    constructor(state, resumeCallback) {\n      this.state = state;\n      this.resumeCallback = resumeCallback;\n    }\n\n    resume(runtime, builder) {\n      return this.resumeCallback(runtime, this.state, builder);\n    }\n\n  }\n\n  class BlockOpcode extends UpdatingOpcode {\n    constructor(state, runtime, bounds, children) {\n      super();\n      this.state = state;\n      this.runtime = runtime;\n      this.type = 'block';\n      this.children = children;\n      this.bounds = bounds;\n    }\n\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n\n    evaluate(vm) {\n      vm.try(this.children, null);\n    }\n\n  }\n\n  class TryOpcode extends BlockOpcode {\n    constructor() {\n      super(...arguments);\n      this.type = 'try';\n    }\n\n    evaluate(vm) {\n      vm.try(this.children, this);\n    }\n\n    handleException() {\n      var {\n        state,\n        bounds,\n        runtime\n      } = this;\n      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      associateDestroyableChild(this, result.drop);\n    }\n\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\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\n    shouldRemove() {\n      return !this.retained;\n    }\n\n    reset() {\n      this.retained = false;\n    }\n\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\n    initializeChild(opcode) {\n      opcode.index = this.children.length - 1;\n      this.opcodeMap.set(opcode.key, opcode);\n    }\n\n    evaluate(vm) {\n      var iterator = (0, _reference.valueForRef)(this.iterableRef);\n\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\n      super.evaluate(vm);\n    }\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\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\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\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\n      for (var _i7 = 0; _i7 < children.length; _i7++) {\n        var _opcode = children[_i7];\n\n        if (_opcode.retained === false) {\n          this.deleteItem(_opcode);\n        } else {\n          _opcode.reset();\n        }\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\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        associateDestroyableChild(this, opcode);\n      });\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\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\n      opcode.index = children.length;\n      children.push(opcode);\n    }\n\n    deleteItem(opcode) {\n      destroy(opcode);\n      clear(opcode);\n      this.opcodeMap.delete(opcode.key);\n    }\n\n  }\n\n  class UpdatingVMFrame {\n    constructor(ops, exceptionHandler) {\n      this.ops = ops;\n      this.exceptionHandler = exceptionHandler;\n      this.current = 0;\n    }\n\n    goto(index) {\n      this.current = index;\n    }\n\n    nextStatement() {\n      return this.ops[this.current++];\n    }\n\n    handleException() {\n      if (this.exceptionHandler) {\n        this.exceptionHandler.handleException();\n      }\n    }\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      associateDestroyableChild(this, drop);\n      registerDestructor(this, () => clear(this.bounds));\n    }\n\n    rerender({\n      alwaysRevalidate = false\n    } = {\n      alwaysRevalidate: false\n    }) {\n      var {\n        env,\n        updating\n      } = this;\n      var vm = new UpdatingVM(env, {\n        alwaysRevalidate\n      });\n      vm.execute(updating, this);\n    }\n\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n\n    handleException() {\n      throw 'this should never happen';\n    }\n\n  }\n\n  class InnerStack {\n    constructor(inner = new _lowLevel.Stack(), js) {\n      this.inner = inner;\n      this.js = (0, _util.constants)();\n\n      if (js !== undefined) {\n        this.js = this.js.concat(js);\n      }\n    }\n\n    slice(start, end) {\n      var out = [];\n\n      if (start === -1) {\n        return out;\n      }\n\n      for (var i = start; i < end; i++) {\n        out.push(this.get(i));\n      }\n\n      return out;\n    }\n\n    copy(from, to) {\n      this.inner.copy(from, to);\n    }\n\n    writeJs(pos, value) {\n      var idx = this.js.length;\n      this.js.push(value);\n      this.inner.writeRaw(pos, (0, _util.encodeHandle)(idx));\n    }\n\n    writeSmallInt(pos, value) {\n      this.inner.writeRaw(pos, (0, _util.encodeImmediate)(value));\n    }\n\n    writeTrue(pos) {\n      this.inner.writeRaw(pos, 1\n      /* ENCODED_TRUE_HANDLE */\n      );\n    }\n\n    writeFalse(pos) {\n      this.inner.writeRaw(pos, 0\n      /* ENCODED_FALSE_HANDLE */\n      );\n    }\n\n    writeNull(pos) {\n      this.inner.writeRaw(pos, 2\n      /* ENCODED_NULL_HANDLE */\n      );\n    }\n\n    writeUndefined(pos) {\n      this.inner.writeRaw(pos, 3\n      /* ENCODED_UNDEFINED_HANDLE */\n      );\n    }\n\n    writeRaw(pos, value) {\n      this.inner.writeRaw(pos, value);\n    }\n\n    getJs(pos) {\n      var value = this.inner.getRaw(pos);\n      return this.js[(0, _util.decodeHandle)(value)];\n    }\n\n    getSmallInt(pos) {\n      var value = this.inner.getRaw(pos);\n      return (0, _util.decodeImmediate)(value);\n    }\n\n    get(pos) {\n      var value = this.inner.getRaw(pos) | 0;\n\n      if ((0, _util.isHandle)(value)) {\n        return this.js[(0, _util.decodeHandle)(value)];\n      } else {\n        return (0, _util.decodeImmediate)(value);\n      }\n    }\n\n    reset() {\n      this.inner.reset();\n      this.js.length = 0;\n    }\n\n    get length() {\n      return this.inner.len();\n    }\n\n  }\n\n  class EvaluationStackImpl {\n    // fp -> sp\n    constructor(stack, registers) {\n      this.stack = stack;\n      this[REGISTERS] = registers;\n    }\n\n    static restore(snapshot) {\n      var stack = new InnerStack();\n\n      for (var i = 0; i < snapshot.length; i++) {\n        var value = snapshot[i];\n\n        if (typeof value === 'number' && (0, _util.isSmallInt)(value)) {\n          stack.writeRaw(i, (0, _util.encodeImmediate)(value));\n        } else if (value === true) {\n          stack.writeTrue(i);\n        } else if (value === false) {\n          stack.writeFalse(i);\n        } else if (value === null) {\n          stack.writeNull(i);\n        } else if (value === undefined) {\n          stack.writeUndefined(i);\n        } else {\n          stack.writeJs(i, value);\n        }\n      }\n\n      return new this(stack, initializeRegistersWithSP(snapshot.length - 1));\n    }\n\n    pushJs(value) {\n      this.stack.writeJs(++this[REGISTERS][_vm2.$sp], value);\n    }\n\n    pushSmallInt(value) {\n      this.stack.writeSmallInt(++this[REGISTERS][_vm2.$sp], value);\n    }\n\n    pushTrue() {\n      this.stack.writeTrue(++this[REGISTERS][_vm2.$sp]);\n    }\n\n    pushFalse() {\n      this.stack.writeFalse(++this[REGISTERS][_vm2.$sp]);\n    }\n\n    pushNull() {\n      this.stack.writeNull(++this[REGISTERS][_vm2.$sp]);\n    }\n\n    pushUndefined() {\n      this.stack.writeUndefined(++this[REGISTERS][_vm2.$sp]);\n    }\n\n    pushRaw(value) {\n      this.stack.writeRaw(++this[REGISTERS][_vm2.$sp], value);\n    }\n\n    dup(position = this[REGISTERS][_vm2.$sp]) {\n      this.stack.copy(position, ++this[REGISTERS][_vm2.$sp]);\n    }\n\n    copy(from, to) {\n      this.stack.copy(from, to);\n    }\n\n    popJs(n = 1) {\n      var top = this.stack.getJs(this[REGISTERS][_vm2.$sp]);\n      this[REGISTERS][_vm2.$sp] -= n;\n      return top;\n    }\n\n    popSmallInt(n = 1) {\n      var top = this.stack.getSmallInt(this[REGISTERS][_vm2.$sp]);\n      this[REGISTERS][_vm2.$sp] -= n;\n      return top;\n    }\n\n    pop(n = 1) {\n      var top = this.stack.get(this[REGISTERS][_vm2.$sp]);\n      this[REGISTERS][_vm2.$sp] -= n;\n      return top;\n    }\n\n    peekJs(offset = 0) {\n      return this.stack.getJs(this[REGISTERS][_vm2.$sp] - offset);\n    }\n\n    peekSmallInt(offset = 0) {\n      return this.stack.getSmallInt(this[REGISTERS][_vm2.$sp] - offset);\n    }\n\n    peek(offset = 0) {\n      return this.stack.get(this[REGISTERS][_vm2.$sp] - offset);\n    }\n\n    get(offset, base = this[REGISTERS][_vm2.$fp]) {\n      return this.stack.get(base + offset);\n    }\n\n    set(value, offset, base = this[REGISTERS][_vm2.$fp]) {\n      this.stack.writeJs(base + offset, value);\n    }\n\n    slice(start, end) {\n      return this.stack.slice(start, end);\n    }\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\n    reset() {\n      this.stack.reset();\n    }\n\n    toArray() {\n      console.log(this[REGISTERS]);\n      return this.stack.slice(this[REGISTERS][_vm2.$fp], this[REGISTERS][_vm2.$sp] + 1);\n    }\n\n  }\n\n  var _a$2, _b;\n\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  }\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\n      if (true\n      /* DEBUG */\n      ) {\n        (0, _globalContext.assertGlobalContextWasSet)();\n      }\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\n    get stack() {\n      return this[INNER_VM].stack;\n    }\n    /* Registers */\n\n\n    get pc() {\n      return this[INNER_VM].fetchRegister(_vm2.$pc);\n    } // Fetch a value from a register onto the stack\n\n\n    fetch(register) {\n      var value = this.fetchValue(register);\n      this.stack.pushJs(value);\n    } // Load a value from the stack into a register\n\n\n    load(register) {\n      var value = this.stack.pop();\n      this.loadValue(register, value);\n    }\n\n    fetchValue(register) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        return this[INNER_VM].fetchRegister(register);\n      }\n\n      switch (register) {\n        case _vm2.$s0:\n          return this.s0;\n\n        case _vm2.$s1:\n          return this.s1;\n\n        case _vm2.$t0:\n          return this.t0;\n\n        case _vm2.$t1:\n          return this.t1;\n\n        case _vm2.$v0:\n          return this.v0;\n      }\n    } // Load a value into a register\n\n\n    loadValue(register, value) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        this[INNER_VM].loadRegister(register, value);\n      }\n\n      switch (register) {\n        case _vm2.$s0:\n          this.s0 = value;\n          break;\n\n        case _vm2.$s1:\n          this.s1 = value;\n          break;\n\n        case _vm2.$t0:\n          this.t0 = value;\n          break;\n\n        case _vm2.$t1:\n          this.t1 = value;\n          break;\n\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\n    pushFrame() {\n      this[INNER_VM].pushFrame();\n    } // Restore $ra, $sp and $fp\n\n\n    popFrame() {\n      this[INNER_VM].popFrame();\n    } // Jump to an address in `program`\n\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\n    call(handle) {\n      this[INNER_VM].call(handle);\n    } // Put a specific `program` address in $ra\n\n\n    returnTo(offset) {\n      this[INNER_VM].returnTo(offset);\n    } // Return to the `program` address stored in $ra\n\n\n    return() {\n      this[INNER_VM].return();\n    }\n\n    static initial(runtime, context, {\n      handle,\n      self,\n      dynamicScope,\n      treeBuilder\n    }) {\n      var scopeSize = runtime.program.heap.scopesizeof(handle);\n      var scope = PartialScopeImpl.root(self, scopeSize);\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\n    static empty(runtime, {\n      handle,\n      treeBuilder,\n      dynamicScope\n    }, context) {\n      var vm = initVM(context)(runtime, vmState(runtime.program.heap.getaddr(handle), PartialScopeImpl.root(_reference.UNDEFINED_REFERENCE, 0), dynamicScope), treeBuilder);\n      vm.pushUpdating();\n      return vm;\n    }\n\n    compile(block) {\n      var handle = (0, _util.unwrapHandle)(block.compile(this.context));\n      return handle;\n    }\n\n    get program() {\n      return this.runtime.program;\n    }\n\n    get env() {\n      return this.runtime.env;\n    }\n\n    captureState(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return {\n        pc,\n        dynamicScope: this.dynamicScope(),\n        scope: this.scope(),\n        stack: this.stack.capture(args)\n      };\n    }\n\n    capture(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return new ResumableVMStateImpl(this.captureState(args, pc), this.resume);\n    }\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\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\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\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.pushJs(valueRef);\n      stack.pushJs(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\n    registerItem(opcode) {\n      this.listBlock().initializeChild(opcode);\n    }\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\n    didEnter(opcode) {\n      this.associateDestroyable(opcode);\n      this[DESTROYABLE_STACK].push(opcode);\n      this.updateWith(opcode);\n      this.pushUpdating(opcode.children);\n    }\n\n    exit() {\n      this[DESTROYABLE_STACK].pop();\n      this.elements().popBlock();\n      this.popUpdating();\n    }\n\n    exitList() {\n      this.exit();\n      this[STACKS].list.pop();\n    }\n\n    pushUpdating(list = []) {\n      this[STACKS].updating.push(list);\n    }\n\n    popUpdating() {\n      return this[STACKS].updating.pop();\n    }\n\n    updateWith(opcode) {\n      this.updating().push(opcode);\n    }\n\n    listBlock() {\n      return this[STACKS].list.current;\n    }\n\n    associateDestroyable(child) {\n      var parent = this[DESTROYABLE_STACK].current;\n      associateDestroyableChild(parent, child);\n    }\n\n    tryUpdating() {\n      return this[STACKS].updating.current;\n    }\n\n    updating() {\n      return this[STACKS].updating.current;\n    }\n\n    elements() {\n      return this.elementStack;\n    }\n\n    scope() {\n      return this[STACKS].scope.current;\n    }\n\n    dynamicScope() {\n      return this[STACKS].dynamicScope.current;\n    }\n\n    pushChildScope() {\n      this[STACKS].scope.push(this.scope().child());\n    }\n\n    pushDynamicScope() {\n      var child = this.dynamicScope().child();\n      this[STACKS].dynamicScope.push(child);\n      return child;\n    }\n\n    pushRootScope(size) {\n      var scope = PartialScopeImpl.sized(size);\n      this[STACKS].scope.push(scope);\n      return scope;\n    }\n\n    pushScope(scope) {\n      this[STACKS].scope.push(scope);\n    }\n\n    popScope() {\n      this[STACKS].scope.pop();\n    }\n\n    popDynamicScope() {\n      this[STACKS].dynamicScope.pop();\n    } /// SCOPE HELPERS\n\n\n    getSelf() {\n      return this.scope().getSelf();\n    }\n\n    referenceForSymbol(symbol$$1) {\n      return this.scope().getSymbol(symbol$$1);\n    } /// EXECUTION\n\n\n    execute(initialize) {\n      if (true\n      /* DEBUG */\n      ) {\n        var hasErrored = true;\n\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\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\n            while (elements.hasBlocks) {\n              elements.popBlock();\n            }\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\n    _execute(initialize) {\n      if (initialize) initialize(this);\n      var result;\n\n      while (true) {\n        result = this.next();\n        if (result.done) break;\n      }\n\n      return result.value;\n    }\n\n    next() {\n      var {\n        env,\n        elementStack\n      } = this;\n      var opcode = this[INNER_VM].nextStatement();\n      var result;\n\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\n      return result;\n    }\n\n    bindDynamicScope(names) {\n      var scope = this.dynamicScope();\n\n      for (var i = names.length - 1; i >= 0; i--) {\n        var name = names[i];\n        scope.set(name, this.stack.popJs());\n      }\n    }\n\n  }\n\n  _exports.LowLevelVM = VM;\n  _a$2 = STACKS, _b = DESTROYABLE_STACK;\n\n  function vmState(pc, scope = PartialScopeImpl.root(_reference.UNDEFINED_REFERENCE, 0), dynamicScope) {\n    return {\n      pc,\n      scope,\n      dynamicScope,\n      stack: []\n    };\n  }\n\n  function initVM(context) {\n    return (runtime, state, builder) => new VM(runtime, state, builder, context);\n  }\n\n  class TemplateIteratorImpl {\n    constructor(vm) {\n      this.vm = vm;\n    }\n\n    next() {\n      return this.vm.next();\n    }\n\n    sync() {\n      if (true\n      /* DEBUG */\n      ) {\n        return (0, _validator.runInTrackingTransaction)(() => this.vm.execute(), '- While rendering:');\n      } else {\n        return this.vm.execute();\n      }\n    }\n\n  }\n\n  function renderSync(env, iterator) {\n    var result;\n    inTransaction(env, () => result = iterator.sync());\n    return result;\n  }\n\n  function renderMain(runtime, context, self, treeBuilder, handle, dynamicScope = new DynamicScopeImpl()) {\n    var vm = VM.initial(runtime, context, {\n      self,\n      dynamicScope,\n      treeBuilder,\n      handle\n    });\n    return new TemplateIteratorImpl(vm);\n  }\n\n  function renderInvocation(vm, invocation, 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    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.pushNull();\n    }\n\n    vm.stack.pushNull(); // For each argument, push its backing reference on to the stack\n\n    argList.forEach(([, reference]) => {\n      vm.stack.pushJs(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); // Needed for the Op.Main opcode: arguments, component invocation object, and\n    // component definition.\n\n    vm.stack.pushJs(vm[ARGS]);\n    vm.stack.pushJs(invocation);\n    vm.stack.pushJs(definition);\n    return new TemplateIteratorImpl(vm);\n  }\n\n  function renderComponent(runtime, treeBuilder, context, definition, layout, args = {}, dynamicScope = new DynamicScopeImpl()) {\n    var handle = (0, _util.unwrapHandle)(layout.compile(context));\n    var invocation = {\n      handle,\n      symbolTable: layout.symbolTable\n    };\n    var vm = VM.empty(runtime, {\n      treeBuilder,\n      handle: context.program.stdlib.main,\n      dynamicScope\n    }, context);\n    return renderInvocation(vm, invocation, definition, args);\n  }\n\n  var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\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  }\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\n      while (node !== null) {\n        if (isOpenBlock(node)) {\n          break;\n        }\n\n        node = node.nextSibling;\n      }\n\n      this.candidate = node;\n      var startingBlockOffset = getBlockDepth(node);\n\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\n        while (closingNode !== null) {\n          if (isCloseBlock(closingNode) && getBlockDepth(closingNode) === startingBlockOffset) {\n            break;\n          }\n\n          closingNode = closingNode.nextSibling;\n        }\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\n    get currentCursor() {\n      return this[CURSOR_STACK].current;\n    }\n\n    get candidate() {\n      if (this.currentCursor) {\n        return this.currentCursor.candidate;\n      }\n\n      return null;\n    }\n\n    set candidate(node) {\n      var currentCursor = this.currentCursor;\n      currentCursor.candidate = node;\n    }\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\n    enableRehydration(candidate) {\n      var currentCursor = this.currentCursor;\n      currentCursor.candidate = candidate;\n      currentCursor.nextSibling = null;\n    }\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\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\n    clearMismatch(candidate) {\n      var current = candidate;\n      var currentCursor = this.currentCursor;\n\n      if (currentCursor !== null) {\n        var openBlockDepth = currentCursor.openBlockDepth;\n\n        if (openBlockDepth >= currentCursor.startingBlockDepth) {\n          while (current) {\n            if (isCloseBlock(current)) {\n              var closeBlockDepth = getBlockDepthWithOffset(current, this.startingBlockOffset);\n\n              if (openBlockDepth >= closeBlockDepth) {\n                break;\n              }\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\n        this.disableRehydration(current);\n      }\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\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\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\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\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\n        if (_nextSibling !== null && isCloseBlock(_nextSibling) && getBlockDepthWithOffset(_nextSibling, this.startingBlockOffset) === this.blockDepth) {\n          // restore rehydration state\n          var _candidate2 = this.remove(_nextSibling);\n\n          this.enableRehydration(_candidate2);\n          currentCursor.openBlockDepth--;\n        }\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\n    __appendHTML(html) {\n      var candidateBounds = this.markerBounds();\n\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\n        if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n          this.candidate = this.remove(possibleEmptyMarker);\n\n          if (this.candidate !== null) {\n            this.clearMismatch(this.candidate);\n          }\n        }\n\n        return newBounds;\n      } else {\n        return super.__appendHTML(html);\n      }\n    }\n\n    remove(node) {\n      var element = node.parentNode;\n      var next = node.nextSibling;\n      element.removeChild(node);\n      return next;\n    }\n\n    markerBounds() {\n      var _candidate = this.candidate;\n\n      if (_candidate && isMarker(_candidate)) {\n        var first = _candidate;\n        var last = first.nextSibling;\n\n        while (last && !isMarker(last)) {\n          last = last.nextSibling;\n        }\n\n        return new ConcreteBounds(this.element, first, last);\n      } else {\n        return null;\n      }\n    }\n\n    __appendText(string) {\n      var {\n        candidate\n      } = this;\n\n      if (candidate) {\n        if (isTextNode(candidate)) {\n          if (candidate.nodeValue !== string) {\n            candidate.nodeValue = string;\n          }\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\n    __appendComment(string) {\n      var _candidate = this.candidate;\n\n      if (_candidate && isComment(_candidate)) {\n        if (_candidate.nodeValue !== string) {\n          _candidate.nodeValue = string;\n        }\n\n        this.candidate = _candidate.nextSibling;\n        return _candidate;\n      } else if (_candidate) {\n        this.clearMismatch(_candidate);\n      }\n\n      return super.__appendComment(string);\n    }\n\n    __openElement(tag) {\n      var _candidate = this.candidate;\n\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\n        this.clearMismatch(_candidate);\n      }\n\n      return super.__openElement(tag);\n    }\n\n    __setAttribute(name, value, namespace) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return super.__setAttribute(name, value, namespace);\n    }\n\n    __setProperty(name, value) {\n      var unmatched = this.unmatchedAttributes;\n\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n\n      return super.__setProperty(name, value);\n    }\n\n    __flushElement(parent, constructing) {\n      var {\n        unmatchedAttributes: unmatched\n      } = this;\n\n      if (unmatched) {\n        for (var i = 0; i < unmatched.length; i++) {\n          this.constructing.removeAttribute(unmatched[i].name);\n        }\n\n        this.unmatchedAttributes = null;\n      } else {\n        super.__flushElement(parent, constructing);\n      }\n    }\n\n    willCloseElement() {\n      var {\n        candidate,\n        currentCursor\n      } = this;\n\n      if (candidate !== null) {\n        this.clearMismatch(candidate);\n      }\n\n      if (currentCursor && currentCursor.injectedOmittedNode) {\n        this.popElement();\n      }\n\n      super.willCloseElement();\n    }\n\n    getMarker(element, guid) {\n      var marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n\n      if (marker) {\n        return marker;\n      }\n\n      return null;\n    }\n\n    __pushRemoteElement(element, cursorId, insertBefore) {\n      var marker = this.getMarker(element, cursorId);\n\n      if (insertBefore === undefined) {\n        while (element.firstChild !== null && element.firstChild !== marker) {\n          this.remove(element.firstChild);\n        }\n\n        insertBefore = null;\n      }\n\n      var cursor = new RehydratingCursor(element, null, this.blockDepth);\n      this[CURSOR_STACK].push(cursor);\n\n      if (marker === null) {\n        this.disableRehydration(insertBefore);\n      } else {\n        this.candidate = this.remove(marker);\n      }\n\n      var block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n\n    didAppendBounds(bounds) {\n      super.didAppendBounds(bounds);\n\n      if (this.candidate) {\n        var last = bounds.lastNode();\n        this.candidate = last && last.nextSibling;\n      }\n\n      return bounds;\n    }\n\n  }\n\n  _exports.RehydrateBuilder = RehydrateBuilder;\n\n  function isTextNode(node) {\n    return node.nodeType === 3;\n  }\n\n  function isComment(node) {\n    return node.nodeType === 8;\n  }\n\n  function isOpenBlock(node) {\n    return node.nodeType === 8\n    /* COMMENT_NODE */\n    && node.nodeValue.lastIndexOf('%+b:', 0) === 0;\n  }\n\n  function isCloseBlock(node) {\n    return node.nodeType === 8\n    /* COMMENT_NODE */\n    && node.nodeValue.lastIndexOf('%-b:', 0) === 0;\n  }\n\n  function getBlockDepth(node) {\n    return parseInt(node.nodeValue.slice(4), 10);\n  }\n\n  function getBlockDepthWithOffset(node, offset) {\n    return getBlockDepth(node) - offset;\n  }\n\n  function isElement(node) {\n    return node.nodeType === 1;\n  }\n\n  function isMarker(node) {\n    return node.nodeType === 8 && node.nodeValue === '%glmr%';\n  }\n\n  function isSeparator(node) {\n    return node.nodeType === 8 && node.nodeValue === '%|%';\n  }\n\n  function isEmpty$1(node) {\n    return node.nodeType === 8 && node.nodeValue === '% %';\n  }\n\n  function isSameNodeType(candidate, tag) {\n    if (candidate.namespaceURI === \"http://www.w3.org/2000/svg\"\n    /* SVG */\n    ) {\n        return candidate.tagName === tag;\n      }\n\n    return candidate.tagName === tag.toUpperCase();\n  }\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\n    return undefined;\n  }\n\n  function rehydrationBuilder(env, cursor) {\n    return RehydrateBuilder.forInitialRender(env, cursor);\n  }\n\n  var TEMPLATES = new WeakMap();\n  var getPrototypeOf = Object.getPrototypeOf;\n\n  function setComponentTemplate(factory, obj) {\n    if (true\n    /* DEBUG */\n    && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function'))) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` on \\`${(0, _util.debugToString)(obj)}\\``);\n    }\n\n    if (true\n    /* DEBUG */\n    && TEMPLATES.has(obj)) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${(0, _util.debugToString)(obj)}\\`)`);\n    }\n\n    TEMPLATES.set(obj, factory);\n    return obj;\n  }\n\n  function getComponentTemplate(obj) {\n    var pointer = obj;\n\n    while (pointer !== null) {\n      var template = TEMPLATES.get(pointer);\n\n      if (template !== undefined) {\n        return template;\n      }\n\n      pointer = getPrototypeOf(pointer);\n    }\n\n    return undefined;\n  } // This is only exported for types, don't use this class directly\n\n\n  class TemplateOnlyComponent {\n    constructor(moduleName = '@glimmer/component/template-only') {\n      this.moduleName = moduleName;\n    }\n\n    toString() {\n      return this.moduleName;\n    }\n\n  }\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\n  _exports.TemplateOnlyComponent = TemplateOnlyComponent;\n\n  function templateOnlyComponent(moduleName) {\n    return new TemplateOnlyComponent(moduleName);\n  }\n\n  function isTemplateOnlyComponent(component) {\n    return component instanceof TemplateOnlyComponent;\n  }\n\n  var 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  _exports.OWNER = OWNER;\n\n  function getOwner(object) {\n    return object[OWNER];\n  }\n  /**\n    `setOwner` set's an object's owner\n  */\n\n\n  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n\n  var INTERNAL_MANAGERS = new _util._WeakSet();\n\n  function isInternalComponentManager(manager) {\n    return INTERNAL_MANAGERS.has(manager);\n  }\n\n  function isInternalModifierManager(manager) {\n    return INTERNAL_MANAGERS.has(manager);\n  }\n\n  function isInternalHelper(manager) {\n    return typeof manager === 'function';\n  }\n\n  class BaseInternalComponentManager {\n    constructor() {\n      INTERNAL_MANAGERS.add(this);\n    }\n\n    didCreateElement(_component, _element, _operations) {// noop\n    }\n\n    didRenderLayout(_component, _bounds) {// noop\n    }\n\n    didCreate(_bucket) {// noop\n    }\n\n    update(_bucket, _dynamicScope) {// noop\n    }\n\n    didUpdateLayout(_bucket, _bounds) {// noop\n    }\n\n    didUpdate(_bucket) {// noop\n    }\n\n  }\n\n  _exports.BaseInternalComponentManager = BaseInternalComponentManager;\n\n  class BaseInternalModifierManager {\n    constructor() {\n      INTERNAL_MANAGERS.add(this);\n    }\n\n  }\n\n  _exports.BaseInternalModifierManager = BaseInternalModifierManager;\n  var COMPONENT_MANAGERS = new WeakMap();\n  var FROM_CAPABILITIES = true\n  /* DEBUG */\n  ? new _util._WeakSet() : undefined;\n  var MODIFIER_MANAGERS = new WeakMap();\n  var HELPER_MANAGERS = new WeakMap();\n  var OWNER_MANAGER_INSTANCES = new WeakMap();\n  var UNDEFINED_MANAGER_INSTANCES = new WeakMap(); ///////////\n\n  var getPrototypeOf$1 = Object.getPrototypeOf;\n\n  function setManager(map, factory, obj) {\n    if (true\n    /* DEBUG */\n    && (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\n    if (true\n    /* DEBUG */\n    && 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\n    map.set(obj, factory);\n    return obj;\n  }\n\n  function getManager(map, obj) {\n    var pointer = obj;\n\n    while (pointer !== undefined && pointer !== null) {\n      var manager = map.get(pointer);\n\n      if (manager !== undefined) {\n        return manager;\n      }\n\n      pointer = getPrototypeOf$1(pointer);\n    }\n\n    return undefined;\n  }\n\n  function getManagerInstanceForOwner(owner, factory) {\n    var managers;\n\n    if (owner === undefined) {\n      managers = UNDEFINED_MANAGER_INSTANCES;\n    } else {\n      managers = OWNER_MANAGER_INSTANCES.get(owner);\n\n      if (managers === undefined) {\n        managers = new Map();\n        OWNER_MANAGER_INSTANCES.set(owner, managers);\n      }\n    }\n\n    var instance = managers.get(factory);\n\n    if (instance === undefined) {\n      instance = factory(owner);\n      managers.set(factory, instance);\n    } // We know for sure that it's the correct type at this point, but TS can't know\n\n\n    return instance;\n  } ///////////\n\n\n  function setModifierManager(factory, definition) {\n    return setManager(MODIFIER_MANAGERS, factory, definition);\n  }\n\n  function getModifierManager(owner, definition) {\n    var factory = getManager(MODIFIER_MANAGERS, definition);\n\n    if (factory !== undefined) {\n      var manager = getManagerInstanceForOwner(owner, factory);\n\n      if (true\n      /* DEBUG */\n      && !isInternalModifierManager(manager) && !FROM_CAPABILITIES.has(manager.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(manager.capabilities)}\\` for: \\`${manager}\\``);\n      }\n\n      return manager;\n    }\n\n    return undefined;\n  }\n\n  function setHelperManager(factory, definition) {\n    return setManager(HELPER_MANAGERS, factory, definition);\n  }\n\n  function getHelperManager(owner, definition) {\n    var factory = getManager(HELPER_MANAGERS, definition);\n\n    if (factory !== undefined) {\n      var manager = getManagerInstanceForOwner(owner, factory);\n\n      if (true\n      /* DEBUG */\n      && !isInternalHelper(manager) && !FROM_CAPABILITIES.has(manager.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(manager.capabilities)}\\` for: \\`${manager}\\``);\n      }\n\n      return manager;\n    }\n\n    return undefined;\n  }\n\n  function setComponentManager(factory, obj) {\n    return setManager(COMPONENT_MANAGERS, factory, obj);\n  }\n\n  function getComponentManager(owner, definition) {\n    var factory = getManager(COMPONENT_MANAGERS, definition);\n\n    if (factory !== undefined) {\n      var manager = getManagerInstanceForOwner(owner, factory);\n\n      if (true\n      /* DEBUG */\n      && !isInternalComponentManager(manager) && !FROM_CAPABILITIES.has(manager.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(manager.capabilities)}\\` for: \\`${manager}\\``);\n      }\n\n      return manager;\n    }\n\n    return undefined;\n  }\n\n  function buildCapabilities(capabilities) {\n    if (true\n    /* DEBUG */\n    ) {\n      FROM_CAPABILITIES.add(capabilities);\n      Object.freeze(capabilities);\n    }\n\n    return capabilities;\n  }\n});","define(\"@glimmer/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assertNever = assertNever;\n  _exports.assert = debugAssert;\n  _exports.deprecate = deprecate;\n  _exports.dict = dict;\n  _exports.isDict = isDict;\n  _exports.isObject = isObject;\n  _exports.ensureGuid = ensureGuid;\n  _exports.initializeGuid = initializeGuid;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.assign = assign;\n  _exports.fillNulls = fillNulls;\n  _exports.values = values;\n  _exports.castToSimple = castToSimple;\n  _exports.castToBrowser = castToBrowser;\n  _exports.checkNode = checkNode;\n  _exports.clearElement = clearElement;\n  _exports.keys = keys;\n  _exports.unwrap = unwrap;\n  _exports.expect = expect;\n  _exports.unreachable = unreachable;\n  _exports.exhausted = exhausted;\n  _exports.strip = strip;\n  _exports.isHandle = isHandle;\n  _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;\n  _exports.constants = constants;\n  _exports.isSmallInt = isSmallInt;\n  _exports.encodeNegative = encodeNegative;\n  _exports.decodeNegative = decodeNegative;\n  _exports.encodePositive = encodePositive;\n  _exports.decodePositive = decodePositive;\n  _exports.encodeHandle = encodeHandle;\n  _exports.decodeHandle = decodeHandle;\n  _exports.encodeImmediate = encodeImmediate;\n  _exports.decodeImmediate = decodeImmediate;\n  _exports.unwrapHandle = unwrapHandle;\n  _exports.unwrapTemplate = unwrapTemplate;\n  _exports.extractHandle = extractHandle;\n  _exports.isOkHandle = isOkHandle;\n  _exports.isErrHandle = isErrHandle;\n  _exports.symbol = _exports.tuple = _exports.HAS_NATIVE_SYMBOL = _exports.verifySteps = _exports.logStep = _exports.endTestSteps = _exports.beginTestSteps = _exports.debugToString = _exports._WeakSet = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.Stack = _exports.DictSet = _exports.EMPTY_ARRAY = void 0;\n  var EMPTY_ARRAY = Object.freeze([]); // import Logger from './logger';\n  // let alreadyWarned = false;\n\n  _exports.EMPTY_ARRAY = EMPTY_ARRAY;\n\n  function debugAssert(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\n  function deprecate(desc) {\n    console.warn(`DEPRECATION: ${desc}`);\n  }\n\n  var GUID = 0;\n\n  function initializeGuid(object) {\n    return object._guid = ++GUID;\n  }\n\n  function ensureGuid(object) {\n    return object._guid || initializeGuid(object);\n  }\n\n  function dict() {\n    return Object.create(null);\n  }\n\n  function isDict(u) {\n    return u !== null && u !== undefined;\n  }\n\n  function isObject(u) {\n    return typeof u === 'object' && u !== null;\n  }\n\n  class DictSet {\n    constructor() {\n      this.dict = dict();\n    }\n\n    add(obj) {\n      if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n      return this;\n    }\n\n    delete(obj) {\n      if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n    }\n\n  }\n\n  _exports.DictSet = DictSet;\n\n  class StackImpl {\n    constructor() {\n      this.stack = [];\n      this.current = null;\n    }\n\n    get size() {\n      return this.stack.length;\n    }\n\n    push(item) {\n      this.current = item;\n      this.stack.push(item);\n    }\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\n    nth(from) {\n      var len = this.stack.length;\n      return len < from ? null : this.stack[len - from];\n    }\n\n    isEmpty() {\n      return this.stack.length === 0;\n    }\n\n    toArray() {\n      return this.stack;\n    }\n\n  }\n\n  _exports.Stack = StackImpl;\n\n  function clearElement(parent) {\n    var current = parent.firstChild;\n\n    while (current) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n      current = next;\n    }\n  }\n\n  var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n\n  var {\n    keys: objKeys\n  } = Object;\n\n  function assign(obj) {\n    for (var i = 1; i < arguments.length; i++) {\n      var assignment = arguments[i];\n      if (assignment === null || typeof assignment !== 'object') continue;\n\n      var _keys = objKeys(assignment);\n\n      for (var j = 0; j < _keys.length; j++) {\n        var key = _keys[j];\n        obj[key] = assignment[key];\n      }\n    }\n\n    return obj;\n  }\n\n  function fillNulls(count) {\n    var arr = new Array(count);\n\n    for (var i = 0; i < count; i++) {\n      arr[i] = null;\n    }\n\n    return arr;\n  }\n\n  function values(obj) {\n    var vals = [];\n\n    for (var key in obj) {\n      vals.push(obj[key]);\n    }\n\n    return vals;\n  }\n\n  var HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    } // eslint-disable-next-line symbol-description\n\n\n    return typeof Symbol() === 'symbol';\n  }();\n\n  _exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n\n  function keys(obj) {\n    return Object.keys(obj);\n  }\n\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n\n  function expect(val, message) {\n    if (val === null || val === undefined) throw new Error(message);\n    return val;\n  }\n\n  function unreachable(message = 'unreachable') {\n    return new Error(message);\n  }\n\n  function exhausted(value) {\n    throw new Error(`Exhausted ${value}`);\n  }\n\n  var tuple = (...args) => args;\n\n  _exports.tuple = tuple;\n  var symbol = HAS_NATIVE_SYMBOL ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n  _exports.symbol = symbol;\n\n  function strip(strings, ...args) {\n    var out = '';\n\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\n    var lines = out.split('\\n');\n\n    while (lines.length && lines[0].match(/^\\s*$/)) {\n      lines.shift();\n    }\n\n    while (lines.length && lines[lines.length - 1].match(/^\\s*$/)) {\n      lines.pop();\n    }\n\n    var min = Infinity;\n\n    for (var line of lines) {\n      var leading = line.match(/^\\s*/)[0].length;\n      min = Math.min(min, leading);\n    }\n\n    var stripped = [];\n\n    for (var _line of lines) {\n      stripped.push(_line.slice(min));\n    }\n\n    return stripped.join('\\n');\n  }\n\n  function isHandle(value) {\n    return value >= 0;\n  }\n\n  function isNonPrimitiveHandle(value) {\n    return value > 3\n    /* ENCODED_UNDEFINED_HANDLE */\n    ;\n  }\n\n  function constants(...values) {\n    return [false, true, null, undefined, ...values];\n  }\n\n  function isSmallInt(value) {\n    return value % 1 === 0 && value <= 536870911\n    /* MAX_INT */\n    && value >= -536870912\n    /* MIN_INT */\n    ;\n  }\n\n  function encodeNegative(num) {\n    return num & -536870913\n    /* SIGN_BIT */\n    ;\n  }\n\n  function decodeNegative(num) {\n    return num | ~-536870913\n    /* SIGN_BIT */\n    ;\n  }\n\n  function encodePositive(num) {\n    return ~num;\n  }\n\n  function decodePositive(num) {\n    return ~num;\n  }\n\n  function encodeHandle(num) {\n    return num;\n  }\n\n  function decodeHandle(num) {\n    return num;\n  }\n\n  function encodeImmediate(num) {\n    num |= 0;\n    return num < 0 ? encodeNegative(num) : encodePositive(num);\n  }\n\n  function decodeImmediate(num) {\n    num |= 0;\n    return num > -536870913\n    /* SIGN_BIT */\n    ? decodePositive(num) : decodeNegative(num);\n  } // Warm\n\n\n  [1, -1].forEach(x => decodeImmediate(encodeImmediate(x)));\n\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\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\n    return template;\n  }\n\n  function extractHandle(handle) {\n    if (typeof handle === 'number') {\n      return handle;\n    } else {\n      return handle.handle;\n    }\n  }\n\n  function isOkHandle(handle) {\n    return typeof handle === 'number';\n  }\n\n  function isErrHandle(handle) {\n    return typeof handle === 'number';\n  }\n\n  var weakSet = typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill {\n    constructor() {\n      this._map = new WeakMap();\n    }\n\n    add(val) {\n      this._map.set(val, true);\n\n      return this;\n    }\n\n    delete(val) {\n      return this._map.delete(val);\n    }\n\n    has(val) {\n      return this._map.has(val);\n    }\n\n  };\n  _exports._WeakSet = weakSet;\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\n  function castToBrowser(node, sugaryCheck) {\n    if (node === null || node === undefined) {\n      return null;\n    }\n\n    if (typeof document === undefined) {\n      throw new Error('Attempted to cast to a browser node in a non-browser context');\n    }\n\n    if (isDocument(node)) {\n      return node;\n    }\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\n    return checkNode(node, sugaryCheck);\n  }\n\n  function checkError(from, check) {\n    return new Error(`cannot cast a ${from} into ${check}`);\n  }\n\n  function isDocument(node) {\n    return node.nodeType === 9\n    /* DOCUMENT_NODE */\n    ;\n  }\n\n  function isElement(node) {\n    return node.nodeType === 1\n    /* ELEMENT_NODE */\n    ;\n  }\n\n  function checkNode(node, check) {\n    var isMatch = false;\n\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\n    if (isMatch) {\n      return node;\n    } else {\n      throw checkError(`SimpleElement(${node})`, check);\n    }\n  }\n\n  function stringCheckNode(node, check) {\n    switch (check) {\n      case 'NODE':\n        return true;\n\n      case 'HTML':\n        return node instanceof HTMLElement;\n\n      case 'SVG':\n        return node instanceof SVGElement;\n\n      case 'ELEMENT':\n        return node instanceof Element;\n\n      default:\n        if (check.toUpperCase() === check) {\n          throw new Error(`BUG: this code is missing handling for a generic node type`);\n        }\n\n        return node instanceof Element && node.tagName.toLowerCase() === check;\n    }\n  }\n\n  var debugToString;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var getFunctionName = fn => {\n      var functionName = fn.name;\n\n      if (functionName === undefined) {\n        var match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n\n      return functionName.replace(/^bound /, '');\n    };\n\n    var getObjectName = obj => {\n      var name;\n      var className;\n\n      if (obj.constructor && obj.constructor !== Object) {\n        className = getFunctionName(obj.constructor);\n      }\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\n      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n\n      return name || className;\n    };\n\n    var getPrimitiveName = value => {\n      return String(value);\n    };\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\n  var debugToString$1 = debugToString;\n  _exports.debugToString = debugToString$1;\n  var beginTestSteps;\n  _exports.beginTestSteps = beginTestSteps;\n  var endTestSteps;\n  _exports.endTestSteps = endTestSteps;\n  var verifySteps;\n  _exports.verifySteps = verifySteps;\n  var logStep;\n  _exports.logStep = logStep;\n\n  function assertNever(value, desc = 'unexpected unreachable branch') {\n    console.log('unreachable', value);\n    console.trace(`${desc} :: ${JSON.stringify(value)} (${value})`);\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.bump = bump;\n  _exports.createTag = createTag;\n  _exports.createUpdatableTag = createUpdatableTag;\n  _exports.isConstTag = isConstTag;\n  _exports.validateTag = validateTag;\n  _exports.valueForTag = valueForTag;\n  _exports.dirtyTagFor = dirtyTagFor;\n  _exports.tagFor = tagFor;\n  _exports.tagMetaFor = tagMetaFor;\n  _exports.beginTrackFrame = beginTrackFrame;\n  _exports.endTrackFrame = endTrackFrame;\n  _exports.beginUntrackFrame = beginUntrackFrame;\n  _exports.endUntrackFrame = endUntrackFrame;\n  _exports.resetTracking = resetTracking;\n  _exports.consumeTag = consumeTag;\n  _exports.isTracking = isTracking;\n  _exports.track = track;\n  _exports.untrack = untrack;\n  _exports.createCache = createCache;\n  _exports.isConst = isConst;\n  _exports.getValue = getValue;\n  _exports.trackedData = trackedData;\n  _exports.deprecateMutationsInTrackingTransaction = _exports.endTrackingTransaction = _exports.beginTrackingTransaction = _exports.runInTrackingTransaction = _exports.setTrackingTransactionEnv = _exports.logTrackingStack = _exports.VOLATILE = _exports.VOLATILE_TAG = _exports.VolatileTag = _exports.updateTag = _exports.INITIAL = _exports.dirtyTag = _exports.CURRENT_TAG = _exports.CurrentTag = _exports.CONSTANT = _exports.CONSTANT_TAG = _exports.COMPUTE = _exports.combine = _exports.ALLOW_CYCLES = void 0;\n\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\n  var symbol = typeof Symbol !== 'undefined' ? Symbol : // 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\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\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n\n  var beginTrackingTransaction;\n  _exports.beginTrackingTransaction = beginTrackingTransaction;\n  var endTrackingTransaction;\n  _exports.endTrackingTransaction = endTrackingTransaction;\n  var runInTrackingTransaction;\n  _exports.runInTrackingTransaction = runInTrackingTransaction;\n  var deprecateMutationsInTrackingTransaction;\n  _exports.deprecateMutationsInTrackingTransaction = deprecateMutationsInTrackingTransaction;\n  var resetTrackingTransaction;\n  var setTrackingTransactionEnv;\n  _exports.setTrackingTransactionEnv = setTrackingTransactionEnv;\n  var assertTagNotConsumed;\n  var markTagAsConsumed;\n  var logTrackingStack;\n  _exports.logTrackingStack = logTrackingStack;\n\n  if (true\n  /* DEBUG */\n  ) {\n    var CONSUMED_TAGS = null;\n    var TRANSACTION_STACK = []; /////////\n\n    var TRANSACTION_ENV = {\n      assert(message) {\n        throw new Error(message);\n      },\n\n      deprecate(message) {\n        console.warn(message);\n      },\n\n      debugMessage(obj, keyName) {\n        var objName;\n\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\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    };\n\n    _exports.setTrackingTransactionEnv = setTrackingTransactionEnv = env => (0, _polyfills.assign)(TRANSACTION_ENV, env);\n\n    _exports.beginTrackingTransaction = beginTrackingTransaction = (_debugLabel, deprecate = 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\n      });\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\n      TRANSACTION_STACK.pop();\n\n      if (TRANSACTION_STACK.length === 0) {\n        CONSUMED_TAGS = null;\n      }\n    };\n\n    resetTrackingTransaction = () => {\n      var stack = '';\n\n      if (TRANSACTION_STACK.length > 0) {\n        stack = logTrackingStack(TRANSACTION_STACK[TRANSACTION_STACK.length - 1]);\n      }\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\n    _exports.runInTrackingTransaction = runInTrackingTransaction = (fn, debugLabel) => {\n      beginTrackingTransaction(debugLabel);\n      var didError = true;\n\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\n    _exports.deprecateMutationsInTrackingTransaction = deprecateMutationsInTrackingTransaction = (fn, debugLabel) => {\n      beginTrackingTransaction(debugLabel, true);\n\n      try {\n        fn();\n      } finally {\n        endTrackingTransaction();\n      }\n    };\n\n    var nthIndex = (str, pattern, n, startingPos = -1) => {\n      var i = startingPos;\n\n      while (n-- > 0 && i++ < str.length) {\n        i = str.indexOf(pattern, i);\n        if (i < 0) break;\n      }\n\n      return i;\n    };\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\n    _exports.logTrackingStack = logTrackingStack = transaction => {\n      var trackingStack = [];\n      var current = transaction || TRANSACTION_STACK[TRANSACTION_STACK.length - 1];\n      if (current === undefined) return '';\n\n      while (current) {\n        if (current.debugLabel) {\n          trackingStack.unshift(current.debugLabel);\n        }\n\n        current = current.parent;\n      } // TODO: Use String.prototype.repeat here once we can drop support for IE11\n\n\n      return trackingStack.map((label, index) => Array(2 * index + 1).join(' ') + label).join('\\n');\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\n      if (tag.subtag) {\n        markTagAsConsumed(tag.subtag);\n      }\n\n      if (tag.subtags) {\n        tag.subtags.forEach(tag => markTagAsConsumed(tag));\n      }\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\n      if (currentTransaction.deprecate) {\n        TRANSACTION_ENV.deprecate(makeTrackingErrorMessage(transaction, obj, keyName));\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          TRANSACTION_ENV.assert(makeTrackingErrorMessage(transaction, obj, keyName));\n        } catch (e) {\n          if (e.stack) {\n            var updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n\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\n          throw e;\n        }\n      }\n    };\n  }\n\n  var CONSTANT = 0;\n  _exports.CONSTANT = CONSTANT;\n  var INITIAL = 1;\n  _exports.INITIAL = INITIAL;\n  var VOLATILE = NaN;\n  _exports.VOLATILE = VOLATILE;\n  var $REVISION = INITIAL;\n\n  function bump() {\n    $REVISION++;\n  } //////////\n\n\n  var 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  _exports.COMPUTE = COMPUTE;\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\n  function validateTag(tag, snapshot) {\n    return snapshot >= tag[COMPUTE]();\n  }\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  _exports.ALLOW_CYCLES = ALLOW_CYCLES;\n\n  if (true\n  /* DEBUG */\n  ) {\n    _exports.ALLOW_CYCLES = ALLOW_CYCLES = new WeakMap();\n  }\n\n  function allowsCycles(tag) {\n    if (ALLOW_CYCLES === undefined) {\n      return true;\n    } else {\n      return ALLOW_CYCLES.has(tag);\n    }\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\n    static combine(tags) {\n      switch (tags.length) {\n        case 0:\n          return CONSTANT_TAG;\n\n        case 1:\n          return tags[0];\n\n        default:\n          var tag = new MonomorphicTagImpl(2\n          /* Combinator */\n          );\n          tag.subtag = tags;\n          return tag;\n      }\n    }\n\n    [COMPUTE]() {\n      var {\n        lastChecked\n      } = this;\n\n      if (this.isUpdating === true) {\n        if (true\n        /* DEBUG */\n        && !allowsCycles(this)) {\n          throw new Error('Cycles in tags are not allowed');\n        }\n\n        this.lastChecked = ++$REVISION;\n      } else if (lastChecked !== $REVISION) {\n        this.isUpdating = true;\n        this.lastChecked = $REVISION;\n\n        try {\n          var {\n            subtag,\n            revision\n          } = this;\n\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\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\n          this.lastValue = revision;\n        } finally {\n          this.isUpdating = false;\n        }\n      }\n\n      return this.lastValue;\n    }\n\n    static updateTag(_tag, _subtag) {\n      if (true\n      /* DEBUG */\n      && _tag[TYPE] !== 1\n      /* Updatable */\n      ) {\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\n      var tag = _tag;\n      var subtag = _subtag;\n\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\n    static dirtyTag(tag, disableConsumptionAssertion) {\n      if (true\n      /* DEBUG */\n      && !(tag[TYPE] === 1\n      /* Updatable */\n      || tag[TYPE] === 0\n      /* Dirtyable */\n      )) {\n        throw new Error('Attempted to dirty a tag that was not dirtyable');\n      }\n\n      if (true\n      /* DEBUG */\n      && 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\n      tag.revision = ++$REVISION;\n      (0, _globalContext.scheduleRevalidate)();\n    }\n\n  }\n\n  var DIRTY_TAG = MonomorphicTagImpl.dirtyTag;\n  _exports.dirtyTag = DIRTY_TAG;\n  var UPDATE_TAG = MonomorphicTagImpl.updateTag; //////////\n\n  _exports.updateTag = UPDATE_TAG;\n\n  function createTag() {\n    return new MonomorphicTagImpl(0\n    /* Dirtyable */\n    );\n  }\n\n  function createUpdatableTag() {\n    return new MonomorphicTagImpl(1\n    /* Updatable */\n    );\n  } //////////\n\n\n  var CONSTANT_TAG = new MonomorphicTagImpl(3\n  /* Constant */\n  );\n  _exports.CONSTANT_TAG = CONSTANT_TAG;\n\n  function isConstTag(tag) {\n    return tag === CONSTANT_TAG;\n  } //////////\n\n\n  class VolatileTag {\n    [COMPUTE]() {\n      return VOLATILE;\n    }\n\n  }\n\n  _exports.VolatileTag = VolatileTag;\n  var VOLATILE_TAG = new VolatileTag(); //////////\n\n  _exports.VOLATILE_TAG = VOLATILE_TAG;\n\n  class CurrentTag {\n    [COMPUTE]() {\n      return $REVISION;\n    }\n\n  }\n\n  _exports.CurrentTag = CurrentTag;\n  var CURRENT_TAG = new CurrentTag(); //////////\n\n  _exports.CURRENT_TAG = CURRENT_TAG;\n  var combine = MonomorphicTagImpl.combine; // Warm\n\n  _exports.combine = combine;\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\n  function isObjectLike(u) {\n    return typeof u === 'object' && u !== null || typeof u === 'function';\n  }\n\n  var TRACKED_TAGS = new WeakMap();\n\n  function dirtyTagFor(obj, key, meta) {\n    if (true\n    /* DEBUG */\n    && !isObjectLike(obj)) {\n      throw new Error(`BUG: Can't update a tag for a primitive`);\n    }\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\n    if (propertyTag !== undefined) {\n      if (true\n      /* DEBUG */\n      ) {\n        unwrap(assertTagNotConsumed)(propertyTag, obj, key);\n      }\n\n      DIRTY_TAG(propertyTag, true);\n    }\n  }\n\n  function tagMetaFor(obj) {\n    var tags = TRACKED_TAGS.get(obj);\n\n    if (tags === undefined) {\n      tags = new Map();\n      TRACKED_TAGS.set(obj, tags);\n    }\n\n    return tags;\n  }\n\n  function tagFor(obj, key, meta) {\n    var tags = meta === undefined ? tagMetaFor(obj) : meta;\n    var tag = tags.get(key);\n\n    if (tag === undefined) {\n      tag = createUpdatableTag();\n      tags.set(key, tag);\n    }\n\n    return tag;\n  }\n  /**\n   * An object that that tracks @tracked properties that were consumed.\n   */\n\n\n  class Tracker {\n    constructor() {\n      this.tags = new Set();\n      this.last = null;\n    }\n\n    add(tag) {\n      if (tag === CONSTANT_TAG) return;\n      this.tags.add(tag);\n\n      if (true\n      /* DEBUG */\n      ) {\n        unwrap(markTagAsConsumed)(tag);\n      }\n\n      this.last = tag;\n    }\n\n    combine() {\n      var {\n        tags\n      } = this;\n\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  /**\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\n  var CURRENT_TRACKER = null;\n  var OPEN_TRACK_FRAMES = [];\n\n  function beginTrackFrame(debuggingContext) {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = new Tracker();\n\n    if (true\n    /* DEBUG */\n    ) {\n      unwrap(beginTrackingTransaction)(debuggingContext);\n    }\n  }\n\n  function endTrackFrame() {\n    var current = CURRENT_TRACKER;\n\n    if (true\n    /* DEBUG */\n    ) {\n      if (OPEN_TRACK_FRAMES.length === 0) {\n        throw new Error('attempted to close a tracking frame, but one was not open');\n      }\n\n      unwrap(endTrackingTransaction)();\n    }\n\n    CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n    return unwrap(current).combine();\n  }\n\n  function beginUntrackFrame() {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = null;\n  }\n\n  function endUntrackFrame() {\n    if (true\n    /* DEBUG */\n    && OPEN_TRACK_FRAMES.length === 0) {\n      throw new Error('attempted to close a tracking frame, but one was not open');\n    }\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\n  function resetTracking() {\n    while (OPEN_TRACK_FRAMES.length > 0) {\n      OPEN_TRACK_FRAMES.pop();\n    }\n\n    CURRENT_TRACKER = null;\n\n    if (true\n    /* DEBUG */\n    ) {\n      return unwrap(resetTrackingTransaction)();\n    }\n  }\n\n  function isTracking() {\n    return CURRENT_TRACKER !== null;\n  }\n\n  function consumeTag(tag) {\n    if (CURRENT_TRACKER !== null) {\n      CURRENT_TRACKER.add(tag);\n    }\n  } //////////\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\n  function createCache(fn, debuggingLabel) {\n    if (true\n    /* DEBUG */\n    && !(typeof fn === 'function')) {\n      throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);\n    }\n\n    var cache = {\n      [FN]: fn,\n      [LAST_VALUE]: undefined,\n      [TAG]: undefined,\n      [SNAPSHOT]: -1\n    };\n\n    if (true\n    /* DEBUG */\n    ) {\n      cache[DEBUG_LABEL] = debuggingLabel;\n    }\n\n    return cache;\n  }\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\n    if (tag === undefined || !validateTag(tag, snapshot)) {\n      beginTrackFrame();\n\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\n    return cache[LAST_VALUE];\n  }\n\n  function isConst(cache) {\n    assertCache(cache, 'isConst');\n    var tag = cache[TAG];\n    assertTag(tag, cache);\n    return isConstTag(tag);\n  }\n\n  function assertCache(value, fnName) {\n    if (true\n    /* DEBUG */\n    && !(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\n  function assertTag(tag, cache) {\n    if (true\n    /* DEBUG */\n    && 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\n  function track(callback, debugLabel) {\n    beginTrackFrame(debugLabel);\n    var tag;\n\n    try {\n      callback();\n    } finally {\n      tag = endTrackFrame();\n    }\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\n  function untrack(callback) {\n    beginUntrackFrame();\n\n    try {\n      return callback();\n    } finally {\n      endUntrackFrame();\n    }\n  }\n\n  function trackedData(key, initializer) {\n    var values = new WeakMap();\n    var hasInitializer = typeof initializer === 'function';\n\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\n      return value;\n    }\n\n    function setter(self, value) {\n      dirtyTagFor(self, key);\n      values.set(self, value);\n    }\n\n    return {\n      getter,\n      setter\n    };\n  }\n\n  var GLIMMER_VALIDATOR_REGISTRATION = symbolFor('GLIMMER_VALIDATOR_REGISTRATION');\n  var globalObj = getGlobal();\n\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\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.isMachineOp = isMachineOp;\n  _exports.isOp = isOp;\n  _exports.isLowLevelRegister = isLowLevelRegister;\n  _exports.$v0 = _exports.$t1 = _exports.$t0 = _exports.$s1 = _exports.$s0 = _exports.$sp = _exports.$ra = _exports.$fp = _exports.$pc = _exports.TemporaryRegister = _exports.SavedRegister = void 0;\n\n  /* This file is generated by build/debug.js */\n  function isMachineOp(value) {\n    return value >= 0 && value <= 15;\n  }\n\n  function isOp(value) {\n    return value >= 16;\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\n\n  var $pc = 0; // $1 or $ra (return address): pointer into `program` for the return\n\n  _exports.$pc = $pc;\n  var $ra = 1; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\n  _exports.$ra = $ra;\n  var $fp = 2; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\n  _exports.$fp = $fp;\n  var $sp = 3; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\n  _exports.$sp = $sp;\n  var $s0 = 4;\n  _exports.$s0 = $s0;\n  var $s1 = 5; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\n  _exports.$s1 = $s1;\n  var $t0 = 6;\n  _exports.$t0 = $t0;\n  var $t1 = 7; // $8 or $v0 (return value)\n\n  _exports.$t1 = $t1;\n  var $v0 = 8;\n  _exports.$v0 = $v0;\n\n  function isLowLevelRegister(register) {\n    return register <= $sp;\n  }\n\n  var SavedRegister;\n  _exports.SavedRegister = SavedRegister;\n\n  (function (SavedRegister) {\n    SavedRegister[SavedRegister[\"s0\"] = 4] = \"s0\";\n    SavedRegister[SavedRegister[\"s1\"] = 5] = \"s1\";\n  })(SavedRegister || (_exports.SavedRegister = SavedRegister = {}));\n\n  var TemporaryRegister;\n  _exports.TemporaryRegister = TemporaryRegister;\n\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.is = is;\n  _exports.isAttribute = isAttribute;\n  _exports.isArgument = isArgument;\n  _exports.isHelper = isHelper;\n  _exports.isGet = _exports.isFlushElement = void 0;\n\n  function is(variant) {\n    return function (value) {\n      return Array.isArray(value) && value[0] === variant;\n    };\n  } // Statements\n\n\n  var isFlushElement = is(12\n  /* FlushElement */\n  );\n  _exports.isFlushElement = isFlushElement;\n\n  function isAttribute(val) {\n    return val[0] === 14\n    /* StaticAttr */\n    || val[0] === 15\n    /* DynamicAttr */\n    || val[0] === 22\n    /* TrustingDynamicAttr */\n    || val[0] === 16\n    /* ComponentAttr */\n    || val[0] === 24\n    /* StaticComponentAttr */\n    || val[0] === 23\n    /* TrustingComponentAttr */\n    || val[0] === 17\n    /* AttrSplat */\n    || val[0] === 4\n    /* Modifier */\n    ;\n  }\n\n  function isArgument(val) {\n    return val[0] === 21\n    /* StaticArg */\n    || val[0] === 20\n    /* DynamicArg */\n    ;\n  }\n\n  function isHelper(expr) {\n    return Array.isArray(expr) && expr[0] === 30\n    /* Call */\n    ;\n  } // Expressions\n\n\n  var isGet = is(32\n  /* GetSymbol */\n  );\n  _exports.isGet = isGet;\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\n  function indexOfAttribute(attributes, namespaceURI, localName) {\n    for (var i = 0; i < attributes.length; i++) {\n      var attr = attributes[i];\n\n      if (attr.namespaceURI === namespaceURI && attr.localName === localName) {\n        return i;\n      }\n    }\n\n    return -1;\n  }\n\n  function adjustAttrName(namespaceURI, localName) {\n    return namespaceURI === \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    ? localName.toLowerCase() : localName;\n  }\n\n  function getAttribute(attributes, namespaceURI, localName) {\n    var index = indexOfAttribute(attributes, namespaceURI, localName);\n    return index === -1 ? null : attributes[index].value;\n  }\n\n  function removeAttribute(attributes, namespaceURI, localName) {\n    var index = indexOfAttribute(attributes, namespaceURI, localName);\n\n    if (index !== -1) {\n      attributes.splice(index, 1);\n    }\n  } // https://dom.spec.whatwg.org/#dom-element-setattributens\n\n\n  function setAttribute(element, namespaceURI, prefix, localName, value) {\n    if (typeof value !== 'string') {\n      value = '' + value;\n    }\n\n    var {\n      attributes\n    } = element;\n\n    if (attributes === EMPTY_ATTRS) {\n      attributes = element.attributes = [];\n    } else {\n      var index = indexOfAttribute(attributes, namespaceURI, localName);\n\n      if (index !== -1) {\n        attributes[index].value = value;\n        return;\n      }\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\n  class ChildNodes {\n    constructor(node) {\n      this.node = node;\n      this.stale = true;\n      this._length = 0;\n    }\n\n    get length() {\n      if (this.stale) {\n        this.stale = false;\n        var len = 0;\n        var child = this.node.firstChild;\n\n        for (; child !== null; len++) {\n          this[len] = child;\n          child = child.nextSibling;\n        }\n\n        var oldLen = this._length;\n        this._length = len;\n\n        for (; len < oldLen; len++) {\n          delete this[len];\n        }\n      }\n\n      return this._length;\n    }\n\n    item(index) {\n      return index < this.length ? this[index] : null;\n    }\n\n  }\n\n  function cloneNode(node, deep) {\n    var clone = nodeFrom(node);\n\n    if (deep) {\n      var child = node.firstChild;\n      var nextChild = child;\n\n      while (child !== null) {\n        nextChild = child.nextSibling;\n        clone.appendChild(child.cloneNode(true));\n        child = nextChild;\n      }\n    }\n\n    return clone;\n  }\n\n  function nodeFrom(node) {\n    var namespaceURI;\n\n    if (node.nodeType === 1\n    /* ELEMENT_NODE */\n    ) {\n        namespaceURI = node.namespaceURI;\n      }\n\n    var clone = new SimpleNodeImpl(node.ownerDocument, node.nodeType, node.nodeName, node.nodeValue, namespaceURI);\n\n    if (node.nodeType === 1\n    /* ELEMENT_NODE */\n    ) {\n        clone.attributes = copyAttrs(node.attributes);\n      }\n\n    return clone;\n  }\n\n  function copyAttrs(attrs) {\n    if (attrs === EMPTY_ATTRS) {\n      return EMPTY_ATTRS;\n    }\n\n    var copy = [];\n\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\n    return copy;\n  }\n\n  function insertBefore(parentNode, newChild, refChild) {\n    invalidate(parentNode);\n    insertBetween(parentNode, newChild, refChild === null ? parentNode.lastChild : refChild.previousSibling, refChild);\n  }\n\n  function removeChild(parentNode, oldChild) {\n    invalidate(parentNode);\n    removeBetween(parentNode, oldChild, oldChild.previousSibling, oldChild.nextSibling);\n  }\n\n  function invalidate(parentNode) {\n    var childNodes = parentNode._childNodes;\n\n    if (childNodes !== undefined) {\n      childNodes.stale = true;\n    }\n  }\n\n  function insertBetween(parentNode, newChild, previousSibling, nextSibling) {\n    if (newChild.nodeType === 11\n    /* DOCUMENT_FRAGMENT_NODE */\n    ) {\n        insertFragment(newChild, parentNode, previousSibling, nextSibling);\n        return;\n      }\n\n    if (newChild.parentNode !== null) {\n      removeChild(newChild.parentNode, newChild);\n    }\n\n    newChild.parentNode = parentNode;\n    newChild.previousSibling = previousSibling;\n    newChild.nextSibling = nextSibling;\n\n    if (previousSibling === null) {\n      parentNode.firstChild = newChild;\n    } else {\n      previousSibling.nextSibling = newChild;\n    }\n\n    if (nextSibling === null) {\n      parentNode.lastChild = newChild;\n    } else {\n      nextSibling.previousSibling = newChild;\n    }\n  }\n\n  function removeBetween(parentNode, oldChild, previousSibling, nextSibling) {\n    oldChild.parentNode = null;\n    oldChild.previousSibling = null;\n    oldChild.nextSibling = null;\n\n    if (previousSibling === null) {\n      parentNode.firstChild = nextSibling;\n    } else {\n      previousSibling.nextSibling = nextSibling;\n    }\n\n    if (nextSibling === null) {\n      parentNode.lastChild = previousSibling;\n    } else {\n      nextSibling.previousSibling = previousSibling;\n    }\n  }\n\n  function insertFragment(fragment, parentNode, previousSibling, nextSibling) {\n    var firstChild = fragment.firstChild;\n\n    if (firstChild === null) {\n      return;\n    }\n\n    fragment.firstChild = null;\n    fragment.lastChild = null;\n    var lastChild = firstChild;\n    var newChild = firstChild;\n    firstChild.previousSibling = previousSibling;\n\n    if (previousSibling === null) {\n      parentNode.firstChild = firstChild;\n    } else {\n      previousSibling.nextSibling = firstChild;\n    }\n\n    while (newChild !== null) {\n      newChild.parentNode = parentNode;\n      lastChild = newChild;\n      newChild = newChild.nextSibling;\n    }\n\n    lastChild.nextSibling = nextSibling;\n\n    if (nextSibling === null) {\n      parentNode.lastChild = lastChild;\n    } else {\n      nextSibling.previousSibling = lastChild;\n    }\n  }\n\n  function parseQualifiedName(qualifiedName) {\n    var localName = qualifiedName;\n    var prefix = null;\n    var i = qualifiedName.indexOf(':');\n\n    if (i !== -1) {\n      prefix = qualifiedName.slice(0, i);\n      localName = qualifiedName.slice(i + 1);\n    }\n\n    return [prefix, localName];\n  }\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\n      this._childNodes = undefined;\n    }\n\n    get tagName() {\n      return this.nodeName;\n    }\n\n    get childNodes() {\n      var children = this._childNodes;\n\n      if (children === undefined) {\n        children = this._childNodes = new ChildNodes(this);\n      }\n\n      return children;\n    }\n\n    cloneNode(deep) {\n      return cloneNode(this, deep === true);\n    }\n\n    appendChild(newChild) {\n      insertBefore(this, newChild, null);\n      return newChild;\n    }\n\n    insertBefore(newChild, refChild) {\n      insertBefore(this, newChild, refChild);\n      return newChild;\n    }\n\n    removeChild(oldChild) {\n      removeChild(this, oldChild);\n      return oldChild;\n    }\n\n    insertAdjacentHTML(position, html) {\n      var raw = new SimpleNodeImpl(this.ownerDocument, -1\n      /* RAW_NODE */\n      , '#raw', html, void 0);\n      var parentNode;\n      var nextSibling;\n\n      switch (position) {\n        case 'beforebegin':\n          parentNode = this.parentNode;\n          nextSibling = this;\n          break;\n\n        case 'afterbegin':\n          parentNode = this;\n          nextSibling = this.firstChild;\n          break;\n\n        case 'beforeend':\n          parentNode = this;\n          nextSibling = null;\n          break;\n\n        case 'afterend':\n          parentNode = this.parentNode;\n          nextSibling = this.nextSibling;\n          break;\n\n        default:\n          throw new Error('invalid position');\n      }\n\n      if (parentNode === null) {\n        throw new Error(`${position} requires a parentNode`);\n      }\n\n      insertBefore(parentNode, raw, nextSibling);\n    }\n\n    getAttribute(name) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      return getAttribute(this.attributes, null, localName);\n    }\n\n    getAttributeNS(namespaceURI, localName) {\n      return getAttribute(this.attributes, namespaceURI, localName);\n    }\n\n    setAttribute(name, value) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      setAttribute(this, null, null, localName, value);\n    }\n\n    setAttributeNS(namespaceURI, qualifiedName, value) {\n      var [prefix, localName] = parseQualifiedName(qualifiedName);\n      setAttribute(this, namespaceURI, prefix, localName, value);\n    }\n\n    removeAttribute(name) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      removeAttribute(this.attributes, null, localName);\n    }\n\n    removeAttributeNS(namespaceURI, localName) {\n      removeAttribute(this.attributes, namespaceURI, localName);\n    }\n\n    get doctype() {\n      return this.firstChild;\n    }\n\n    get documentElement() {\n      return this.lastChild;\n    }\n\n    get head() {\n      return this.documentElement.firstChild;\n    }\n\n    get body() {\n      return this.documentElement.lastChild;\n    }\n\n    createElement(name) {\n      return new SimpleNodeImpl(this, 1\n      /* ELEMENT_NODE */\n      , name.toUpperCase(), null, \"http://www.w3.org/1999/xhtml\"\n      /* HTML */\n      );\n    }\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\"\n      /* HTML */\n      ? qualifiedName.toUpperCase() : qualifiedName; // we don't care to parse the qualified name because we only support HTML documents\n      // which don't support prefixed elements\n\n      return new SimpleNodeImpl(this, 1\n      /* ELEMENT_NODE */\n      , nodeName, null, namespace);\n    }\n\n    createTextNode(text) {\n      return new SimpleNodeImpl(this, 3\n      /* TEXT_NODE */\n      , '#text', text, void 0);\n    }\n\n    createComment(text) {\n      return new SimpleNodeImpl(this, 8\n      /* COMMENT_NODE */\n      , '#comment', text, void 0);\n    }\n    /**\n     * Backwards compat\n     * @deprecated\n     */\n\n\n    createRawHTMLSection(text) {\n      return new SimpleNodeImpl(this, -1\n      /* RAW_NODE */\n      , '#raw', text, void 0);\n    }\n\n    createDocumentFragment() {\n      return new SimpleNodeImpl(this, 11\n      /* DOCUMENT_FRAGMENT_NODE */\n      , '#document-fragment', null, void 0);\n    }\n\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\n    /* DOCUMENT_NODE */\n    , '#document', null, \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    );\n    var doctype = new SimpleNodeImpl(document, 10\n    /* DOCUMENT_TYPE_NODE */\n    , 'html', null, \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    );\n    var html = new SimpleNodeImpl(document, 1\n    /* ELEMENT_NODE */\n    , 'HTML', null, \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    );\n    var head = new SimpleNodeImpl(document, 1\n    /* ELEMENT_NODE */\n    , 'HEAD', null, \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    );\n    var body = new SimpleNodeImpl(document, 1\n    /* ELEMENT_NODE */\n    , 'BODY', null, \"http://www.w3.org/1999/xhtml\"\n    /* HTML */\n    );\n    html.appendChild(head);\n    html.appendChild(body);\n    document.appendChild(doctype);\n    document.appendChild(html);\n    return document;\n  }\n\n  var _default = createHTMLDocument;\n  _exports.default = _default;\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\n  var NOOP = () => {};\n\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\n  function buildPlatform(flush) {\n    var clearNext = NOOP;\n    return {\n      setTimeout(fn, ms) {\n        return setTimeout(fn, ms);\n      },\n\n      clearTimeout(timerId) {\n        return clearTimeout(timerId);\n      },\n\n      now() {\n        return Date.now();\n      },\n\n      next: buildNext(flush),\n      clearNext\n    };\n  }\n\n  var NUMBER = /\\d+/;\n  var TIMERS_OFFSET = 6;\n\n  function isCoercableNumber(suspect) {\n    var type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n  }\n\n  function getOnError(options) {\n    return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n  }\n\n  function findItem(target, method, collection) {\n    var index = -1;\n\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\n    return index;\n  }\n\n  function findTimerItem(target, method, collection) {\n    var index = -1;\n\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\n    return index;\n  }\n\n  function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n    var queueItems = [];\n\n    for (var i = 0; i < items.length; i += queueItemLength) {\n      var maybeError = items[i + 3\n      /* stack */\n      + queueItemPositionOffset];\n      var queueItem = {\n        target: items[i + 0\n        /* target */\n        + queueItemPositionOffset],\n        method: items[i + 1\n        /* method */\n        + queueItemPositionOffset],\n        args: items[i + 2\n        /* args */\n        + queueItemPositionOffset],\n        stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n      };\n      queueItems.push(queueItem);\n    }\n\n    return queueItems;\n  }\n\n  function binarySearch(time, timers) {\n    var start = 0;\n    var end = timers.length - TIMERS_OFFSET;\n    var middle;\n    var l;\n\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; // compensate for the index in case even number\n      // of pairs inside timers\n\n      middle = start + l - l % TIMERS_OFFSET;\n\n      if (time >= timers[middle]) {\n        start = middle + TIMERS_OFFSET;\n      } else {\n        end = middle;\n      }\n    }\n\n    return time >= timers[start] ? start + TIMERS_OFFSET : start;\n  }\n\n  var QUEUE_ITEM_LENGTH = 4;\n\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\n    stackFor(index) {\n      if (index < this._queue.length) {\n        var entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n\n        if (entry) {\n          return entry.stack;\n        } else {\n          return null;\n        }\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\n      if (this._queueBeingFlushed.length === 0) {\n        this._queueBeingFlushed = this._queue;\n        this._queue = [];\n      }\n\n      if (before !== undefined) {\n        before();\n      }\n\n      var invoke;\n      var queueItems = this._queueBeingFlushed;\n\n      if (queueItems.length > 0) {\n        var onError = getOnError(this.globalOptions);\n        invoke = onError ? this.invokeWithOnError : this.invoke;\n\n        for (var i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n          this.index += QUEUE_ITEM_LENGTH;\n          method = queueItems[i + 1]; // method could have been nullified / canceled during flush\n\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\n            invoke(target, method, args, onError, errorRecordedForStack);\n          }\n\n          if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n            return 1\n            /* Pause */\n            ;\n          }\n        }\n      }\n\n      if (after !== undefined) {\n        after();\n      }\n\n      this._queueBeingFlushed.length = 0;\n      this.index = 0;\n\n      if (sync !== false && this._queue.length > 0) {\n        // check if new items have been added\n        this.flush(true);\n      }\n    }\n\n    hasWork() {\n      return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    }\n\n    cancel({\n      target,\n      method\n    }) {\n      var queue = this._queue;\n      var targetQueueMap = this.targetQueues.get(target);\n\n      if (targetQueueMap !== undefined) {\n        targetQueueMap.delete(method);\n      }\n\n      var index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue.splice(index, QUEUE_ITEM_LENGTH);\n        return true;\n      } // if not found in current queue\n      // could be in the queue that is being flushed\n\n\n      queue = this._queueBeingFlushed;\n      index = findItem(target, method, queue);\n\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n\n      return false;\n    }\n\n    push(target, method, args, stack) {\n      this._queue.push(target, method, args, stack);\n\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n\n    pushUnique(target, method, args, stack) {\n      var localQueueMap = this.targetQueues.get(target);\n\n      if (localQueueMap === undefined) {\n        localQueueMap = new Map();\n        this.targetQueues.set(target, localQueueMap);\n      }\n\n      var index = localQueueMap.get(method);\n\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\n        queue[index + 3] = stack; // replace stack\n      }\n\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n        return debugInfo;\n      }\n\n      return undefined;\n    }\n\n    invoke(target, method, args\n    /*, onError, errorRecordedForStack */\n    ) {\n      if (args === undefined) {\n        method.call(target);\n      } else {\n        method.apply(target, args);\n      }\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  }\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\n\n    schedule(queueName, target, method, args, onceFlag, stack) {\n      var queues = this.queues;\n      var queue = queues[queueName];\n\n      if (queue === undefined) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n      }\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\n      this.queueNameIndex = 0;\n\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\n\n    flush(fromAutorun = false) {\n      var queue;\n      var queueName;\n      var numberOfQueues = this.queueNames.length;\n\n      while (this.queueNameIndex < numberOfQueues) {\n        queueName = this.queueNames[this.queueNameIndex];\n        queue = this.queues[queueName];\n\n        if (queue.hasWork() === false) {\n          this.queueNameIndex++;\n\n          if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n            return 1\n            /* Pause */\n            ;\n          }\n        } else {\n          if (queue.flush(false\n          /* async */\n          ) === 1\n          /* Pause */\n          ) {\n              return 1\n              /* Pause */\n              ;\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\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\n        while (i < numberOfQueues) {\n          queueName = this.queueNames[i];\n          queue = this.queues[queueName];\n          debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n          i++;\n        }\n\n        return debugInfo;\n      }\n\n      return;\n    }\n\n  }\n\n  function iteratorDrain(fn) {\n    var iterator = fn();\n    var result = iterator.next();\n\n    while (result.done === false) {\n      result.value();\n      result = iterator.next();\n    }\n  }\n\n  var noop = function () {};\n\n  var DISABLE_SCHEDULE = Object.freeze([]);\n\n  function parseArgs() {\n    var length = arguments.length;\n    var args;\n    var method;\n    var target;\n\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\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\n      if (length > argsIndex) {\n        var len = length - argsIndex;\n        args = new Array(len);\n\n        for (var i = 0; i < len; i++) {\n          args[i] = arguments[i + argsIndex];\n        }\n      }\n    }\n\n    return [target, method, args];\n  }\n\n  function parseTimerArgs() {\n    var [target, method, args] = parseArgs(...arguments);\n    var wait = 0;\n    var length = args !== undefined ? args.length : 0;\n\n    if (length > 0) {\n      var last = args[length - 1];\n\n      if (isCoercableNumber(last)) {\n        wait = parseInt(args.pop(), 10);\n      }\n    }\n\n    return [target, method, args, wait];\n  }\n\n  function parseDebounceArgs() {\n    var target;\n    var method;\n    var isImmediate;\n    var args;\n    var wait;\n\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\n      if (args === undefined) {\n        wait = 0;\n      } else {\n        wait = args.pop();\n\n        if (!isCoercableNumber(wait)) {\n          isImmediate = wait === true;\n          wait = args.pop();\n        }\n      }\n    }\n\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n  }\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\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\n      if (typeof this.options.defaultQueue === 'string') {\n        this._defaultQueue = this.options.defaultQueue;\n      } else {\n        this._defaultQueue = this.queueNames[0];\n      }\n\n      this._onBegin = this.options.onBegin || noop;\n      this._onEnd = this.options.onEnd || noop;\n      this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n\n      this._boundAutorunEnd = () => {\n        autorunsCompletedCount++; // if the autorun was already flushed, do nothing\n\n        if (this._autorun === false) {\n          return;\n        }\n\n        this._autorun = false;\n        this._autorunStack = null;\n\n        this._end(true\n        /* fromAutorun */\n        );\n      };\n\n      var builder = this.options._buildPlatform || buildPlatform;\n      this._platform = builder(this._boundAutorunEnd);\n    }\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\n    get defaultQueue() {\n      return this._defaultQueue;\n    }\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n\n\n    begin() {\n      beginCount++;\n      var options = this.options;\n      var previousInstance = this.currentInstance;\n      var current;\n\n      if (this._autorun !== false) {\n        current = previousInstance;\n\n        this._cancelAutorun();\n      } else {\n        if (previousInstance !== null) {\n          nestedDeferredActionQueuesCreated++;\n          this.instanceStack.push(previousInstance);\n        }\n\n        deferredActionQueuesCreatedCount++;\n        current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n        beginEventCount++;\n\n        this._trigger('begin', current, previousInstance);\n      }\n\n      this._onBegin(current, previousInstance);\n\n      return current;\n    }\n\n    end() {\n      endCount++;\n\n      this._end(false);\n    }\n\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError(`Callback must be a function`);\n      }\n\n      var callbacks = this._eventCallbacks[eventName];\n\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\n    off(eventName, callback) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (!eventName || callbacks === undefined) {\n        throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n      }\n\n      var callbackFound = false;\n\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\n      if (!callbackFound) {\n        throw new TypeError(`Cannot off() callback that does not exist`);\n      }\n    }\n\n    run() {\n      runCount++;\n      var [target, method, args] = parseArgs(...arguments);\n      return this._run(target, method, args);\n    }\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\n\n    defer(queueName, target, method, ...args) {\n      deferCount++;\n      return this.schedule(queueName, target, method, ...args);\n    }\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\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\n\n    deferOnce(queueName, target, method, ...args) {\n      deferOnceCount++;\n      return this.scheduleOnce(queueName, target, method, ...args);\n    }\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\n    setTimeout() {\n      setTimeoutCount++;\n      return this.later(...arguments);\n    }\n\n    later() {\n      laterCount++;\n      var [target, method, args, wait] = parseTimerArgs(...arguments);\n      return this._later(target, method, args, wait);\n    }\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\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        timerId = this._timers[index + 1];\n        var argIndex = index + 4;\n\n        if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n          this._timers[argIndex] = args;\n        }\n      }\n\n      return timerId;\n    }\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\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\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\n        if (_timers[argIndex] === DISABLE_SCHEDULE) {\n          args = DISABLE_SCHEDULE;\n        }\n\n        timerId = _timers[index + 1];\n        var i = binarySearch(executeAt, _timers);\n\n        if (index + TIMERS_OFFSET === i) {\n          _timers[index] = executeAt;\n          _timers[argIndex] = args;\n        } else {\n          var stack = this._timers[index + 5];\n\n          this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n\n          this._timers.splice(index, TIMERS_OFFSET);\n        }\n\n        if (index === 0) {\n          this._reinstallTimerTimeout();\n        }\n      }\n\n      return timerId;\n    }\n\n    cancelTimers() {\n      cancelTimersCount++;\n\n      this._clearTimerTimeout();\n\n      this._timers = [];\n\n      this._cancelAutorun();\n    }\n\n    hasTimers() {\n      return this._timers.length > 0 || this._autorun;\n    }\n\n    cancel(timer) {\n      cancelCount++;\n\n      if (timer === null || timer === undefined) {\n        return false;\n      }\n\n      var timerType = typeof timer;\n\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\n      return false;\n    }\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\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\n      return undefined;\n    }\n\n    _end(fromAutorun) {\n      var currentInstance = this.currentInstance;\n      var nextInstance = null;\n\n      if (currentInstance === null) {\n        throw new Error(`end called without begin`);\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\n\n      var finallyAlreadyCalled = false;\n      var result;\n\n      try {\n        result = currentInstance.flush(fromAutorun);\n      } finally {\n        if (!finallyAlreadyCalled) {\n          finallyAlreadyCalled = true;\n\n          if (result === 1\n          /* Pause */\n          ) {\n              var plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n\n              this._scheduleAutorun(plannedNextQueue);\n            } else {\n            this.currentInstance = null;\n\n            if (this.instanceStack.length > 0) {\n              nextInstance = this.instanceStack.pop();\n              this.currentInstance = nextInstance;\n            }\n\n            this._trigger('end', currentInstance, nextInstance);\n\n            this._onEnd(currentInstance, nextInstance);\n          }\n        }\n      }\n    }\n\n    _join(target, method, args) {\n      if (this.currentInstance === null) {\n        return this._run(target, method, args);\n      }\n\n      if (target === undefined && args === undefined) {\n        return method();\n      } else {\n        return method.apply(target, args);\n      }\n    }\n\n    _run(target, method, args) {\n      var onError = getOnError(this.options);\n      this.begin();\n\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\n    _cancelAutorun() {\n      if (this._autorun) {\n        this._platform.clearNext();\n\n        this._autorun = false;\n        this._autorunStack = null;\n      }\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\n      if (this._timers.length === 0) {\n        this._timers.push(executeAt, id, target, method, args, stack);\n\n        this._installTimerTimeout();\n      } else {\n        // find position to insert\n        var i = binarySearch(executeAt, this._timers);\n\n        this._timers.splice(i, 0, executeAt, id, target, method, args, stack); // always reinstall since it could be out of sync\n\n\n        this._reinstallTimerTimeout();\n      }\n\n      return id;\n    }\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\n          if (i === 1) {\n            this._reinstallTimerTimeout();\n          }\n\n          return true;\n        }\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\n\n    _trigger(eventName, arg1, arg2) {\n      var callbacks = this._eventCallbacks[eventName];\n\n      if (callbacks !== undefined) {\n        for (var i = 0; i < callbacks.length; i++) {\n          callbacks[i](arg1, arg2);\n        }\n      }\n    }\n\n    _runExpiredTimers() {\n      this._timerTimeoutId = null;\n\n      if (this._timers.length > 0) {\n        this.begin();\n\n        this._scheduleExpiredTimers();\n\n        this.end();\n      }\n    }\n\n    _scheduleExpiredTimers() {\n      var timers = this._timers;\n      var i = 0;\n      var l = timers.length;\n      var defaultQueue = this._defaultQueue;\n\n      var n = this._platform.now();\n\n      for (; i < l; i += TIMERS_OFFSET) {\n        var executeAt = timers[i];\n\n        if (executeAt > n) {\n          break;\n        }\n\n        var args = timers[i + 4];\n\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\n      timers.splice(0, i);\n\n      this._installTimerTimeout();\n    }\n\n    _reinstallTimerTimeout() {\n      this._clearTimerTimeout();\n\n      this._installTimerTimeout();\n    }\n\n    _clearTimerTimeout() {\n      if (this._timerTimeoutId === null) {\n        return;\n      }\n\n      this._platform.clearTimeout(this._timerTimeoutId);\n\n      this._timerTimeoutId = null;\n    }\n\n    _installTimerTimeout() {\n      if (this._timers.length === 0) {\n        return;\n      }\n\n      var minExpiresAt = this._timers[0];\n\n      var n = this._platform.now();\n\n      var wait = Math.max(0, minExpiresAt - n);\n      this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    }\n\n    _ensureInstance() {\n      var currentInstance = this.currentInstance;\n\n      if (currentInstance === null) {\n        this._autorunStack = this.DEBUG ? new Error() : undefined;\n        currentInstance = this.begin();\n\n        this._scheduleAutorun(this.queueNames[0]);\n      }\n\n      return currentInstance;\n    }\n\n    _scheduleAutorun(plannedNextQueue) {\n      autorunsCreatedCount++;\n      var next = this._platform.next;\n      var flush = this.options.flush;\n\n      if (flush) {\n        flush(plannedNextQueue, next);\n      } else {\n        next();\n      }\n\n      this._autorun = true;\n    }\n\n  }\n\n  Backburner.Queue = Queue;\n  Backburner.buildPlatform = buildPlatform;\n  Backburner.buildNext = buildNext;\n  var _default = Backburner;\n  _exports.default = _default;\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  /**\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\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\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\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\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\n\n    DAG.prototype.each = function (callback) {\n      this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n\n\n    DAG.prototype.topsort = function (callback) {\n      this.each(callback);\n    };\n\n    return DAG;\n  }();\n\n  var _default = DAG;\n  /** @private */\n\n  _exports.default = _default;\n\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\n    Vertices.prototype.add = function (key) {\n      if (!key) throw new Error(\"missing key\");\n      var l = this.length | 0;\n      var vertex;\n\n      for (var i = 0; i < l; i++) {\n        vertex = this[i];\n        if (vertex.key === key) return vertex;\n      }\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\n    Vertices.prototype.addEdge = function (v, w) {\n      this.check(v, w.key);\n      var l = w.length | 0;\n\n      for (var i = 0; i < l; i++) {\n        if (w[i] === v.idx) return;\n      }\n\n      w.length = l + 1;\n      w[l] = v.idx;\n      v.out = true;\n    };\n\n    Vertices.prototype.walk = function (cb) {\n      this.reset();\n\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\n      this.each(this.result, cb);\n    };\n\n    Vertices.prototype.check = function (v, w) {\n      if (v.key === w) {\n        throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n      } // quick check\n\n\n      if (v.length === 0) return; // shallow check\n\n      for (var i = 0; i < v.length; i++) {\n        var key = this[v[i]].key;\n\n        if (key === w) {\n          throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n        }\n      } // deep check\n\n\n      this.reset();\n      this.visit(v, w);\n\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\n    Vertices.prototype.reset = function () {\n      this.stack.length = 0;\n      this.path.length = 0;\n      this.result.length = 0;\n\n      for (var i = 0, l = this.length; i < l; i++) {\n        this[i].flag = false;\n      }\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\n      stack.push(start.idx);\n\n      while (stack.length) {\n        var index = stack.pop() | 0;\n\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; // push exit\n\n          stack.push(~index);\n          this.pushIncoming(vertex);\n        } else {\n          // exit\n          path.pop();\n          result.push(~index);\n        }\n      }\n    };\n\n    Vertices.prototype.pushIncoming = function (incomming) {\n      var stack = this.stack;\n\n      for (var i = incomming.length - 1; i >= 0; i--) {\n        var index = incomming[i];\n\n        if (!this[index].flag) {\n          stack.push(index);\n        }\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\n    return Vertices;\n  }();\n  /** @private */\n\n\n  var IntStack = function () {\n    function IntStack() {\n      this.length = 0;\n    }\n\n    IntStack.prototype.push = function (n) {\n      this[this.length++] = n | 0;\n    };\n\n    IntStack.prototype.pop = function () {\n      return this[--this.length] | 0;\n    };\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.wrapNativeSuper = wrapNativeSuper;\n  _exports.classCallCheck = classCallCheck;\n  _exports.inheritsLoose = inheritsLoose;\n  _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n  _exports.createClass = createClass;\n  _exports.assertThisInitialized = assertThisInitialized;\n  _exports.possibleConstructorReturn = possibleConstructorReturn;\n  _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n  _exports.createSuper = createSuper;\n  _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;\n\n  /* globals Reflect */\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(); // 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\n  function wrapNativeSuper(Class) {\n    if (nativeWrapperCache.has(Class)) {\n      return nativeWrapperCache.get(Class);\n    }\n\n    function Wrapper() {}\n\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\n  function classCallCheck(instance, Constructor) {\n    if (true\n    /* DEBUG */\n    ) {\n      if (!(instance instanceof Constructor)) {\n        throw new TypeError('Cannot call a class as a function');\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\n\n  function inheritsLoose(subClass, superClass) {\n    if (true\n    /* DEBUG */\n    ) {\n      if (typeof superClass !== 'function' && superClass !== null) {\n        throw new TypeError('Super expression must either be null or a function');\n      }\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\n    if (superClass !== null) {\n      setPrototypeOf(subClass, superClass);\n    }\n  }\n\n  function taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n\n    strings.raw = raw;\n    return strings;\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    Differs from default implementation by avoiding boolean coercion of\n    `protoProps` and `staticProps`.\n  */\n\n\n  function createClass(Constructor, protoProps, staticProps) {\n    if (protoProps !== null && protoProps !== undefined) {\n      _defineProperties(Constructor.prototype, protoProps);\n    }\n\n    if (staticProps !== null && staticProps !== undefined) {\n      _defineProperties(Constructor, staticProps);\n    }\n\n    return Constructor;\n  }\n\n  function assertThisInitialized(self) {\n    if (true\n    /* DEBUG */\n    && 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    Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n  */\n\n\n  function possibleConstructorReturn(self, call) {\n    if (typeof call === 'object' && call !== null || typeof call === 'function') {\n      return call;\n    }\n\n    return assertThisInitialized(self);\n  }\n\n  function objectDestructuringEmpty(obj) {\n    if (true\n    /* DEBUG */\n    && (obj === null || obj === undefined)) {\n      throw new TypeError('Cannot destructure undefined');\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\n\n  function createSuper(Derived) {\n    return function () {\n      var Super = getPrototypeOf(Derived);\n      var result;\n\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\n      return possibleConstructorReturn(this, result);\n    };\n  }\n  /*\n    Does not differ from default implementation.\n  */\n\n\n  function arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n    var arr2 = new Array(len);\n\n    for (var i = 0; i < len; i++) {\n      arr2[i] = arr[i];\n    }\n\n    return arr2;\n  }\n  /*\n    Does not differ from default implementation.\n  */\n\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    Does not differ from default implementation.\n  */\n\n\n  function createForOfIteratorHelperLoose(o) {\n    var i = 0;\n\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\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, \"Test\", {\n    enumerable: true,\n    get: function () {\n      return _test.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Adapter\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setupForTesting\", {\n    enumerable: true,\n    get: function () {\n      return _setup_for_testing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QUnitAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _qunit.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\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\n\n  var _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    /**\n      This callback will be called whenever an async operation has completed.\n       @public\n      @method asyncEnd\n    */\n    asyncEnd: K,\n\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  });\n\n  _exports.default = _default;\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\n  /* globals QUnit */\n\n  /**\n     @module ember\n  */\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 = _adapter.default.extend({\n    init() {\n      this.doneCallbacks = [];\n    },\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\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\n    exception(error) {\n      QUnit.config.current.assert.ok(false, (0, _utils.inspect)(error));\n    }\n\n  });\n\n  _exports.default = _default;\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.focus = focus;\n  _exports.fireEvent = fireEvent;\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\n  function focus(el) {\n    if (!el) {\n      return;\n    }\n\n    if (el.isContentEditable || (0, _isFormControl.default)(el)) {\n      var type = el.getAttribute('type');\n\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\n  function fireEvent(element, type, options = {}) {\n    if (!element) {\n      return;\n    }\n\n    var event;\n\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\n    element.dispatchEvent(event);\n  }\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\n  function buildMouseEvent(type, options = {}) {\n    var event;\n\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\n    return event;\n  }\n\n  function buildKeyboardEvent(type, options = {}) {\n    var event;\n\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\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    /**\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    /**\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    /**\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    /**\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    /**\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\n      this.reopen({\n        willDestroy() {\n          this._super(...arguments);\n\n          this.removeTestHelpers();\n        }\n\n      });\n      this.testHelpers = {};\n\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\n      (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\n    },\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\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\n  }); // This method is no longer needed\n  // But still here for backwards compatibility\n  // of helper chaining\n\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\n  function helper(app, name) {\n    var fn = _helpers.helpers[name].method;\n    var meta = _helpers.helpers[name].meta;\n\n    if (!meta.wait) {\n      return (...args) => fn.apply(app, [app, ...args]);\n    }\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\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\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\n  var _default = _runtime.RSVP;\n  _exports.default = _default;\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\n    if (type === 'hidden') {\n      return false;\n    }\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\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  /**\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  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  /**\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  function currentPath(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\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  /**\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  function currentRouteName(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n\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  /**\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  function currentURL(app) {\n    var router = app.__container__.lookup('router:main');\n\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  /**\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  function fillIn(app, selector, contextOrText, text) {\n    var $el, el, context;\n\n    if (text === undefined) {\n      text = contextOrText;\n    } else {\n      context = contextOrText;\n    }\n\n    $el = app.testHelpers.findWithAssert(selector, context);\n    el = $el[0];\n    (0, _events.focus)(el);\n\n    if ((0, _isFormControl.default)(el)) {\n      el.value = text;\n    } else {\n      el.innerHTML = text;\n    }\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  /**\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  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\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  /**\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\n    if ($el.length === 0) {\n      throw new Error('Element ' + selector + ' not found.');\n    }\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  /**\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\n    if (keyCode === undefined) {\n      context = null;\n      keyCode = typeOrKeyCode;\n      type = contextOrType;\n    } else {\n      context = contextOrType;\n      type = typeOrKeyCode;\n    }\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.resumeTest = resumeTest;\n  _exports.pauseTest = pauseTest;\n\n  /**\n  @module ember\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\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  /**\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  function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n    var arity = arguments.length;\n    var context, type, options;\n\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\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  /**\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  function visit(app, url) {\n    var router = app.__container__.lookup('router:main');\n\n    var shouldHandleURL = false;\n    app.boot().then(() => {\n      router.location.setURL(url);\n\n      if (shouldHandleURL) {\n        (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n      }\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\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  /**\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  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\n      var watcher = setInterval(() => {\n        // 1. If the router is loading, keep polling\n        var routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n\n        if (routerIsLoading) {\n          return;\n        } // 2. If there are pending Ajax requests, keep polling\n\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\n        if ((0, _runloop.hasScheduledTimers)() || (0, _runloop.getCurrentRunLoop)()) {\n          return;\n        }\n\n        if ((0, _waiters.checkWaiters)()) {\n          return;\n        } // Stop polling\n\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\n        initialize(application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\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\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  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\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  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\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        }\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  /**\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  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 = Test;\n  _exports.default = _default;\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.getAdapter = getAdapter;\n  _exports.setAdapter = setAdapter;\n  _exports.asyncStart = asyncStart;\n  _exports.asyncEnd = asyncEnd;\n  var adapter;\n\n  function getAdapter() {\n    return adapter;\n  }\n\n  function setAdapter(value) {\n    adapter = value;\n\n    if (value && typeof value.exception === 'function') {\n      (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n    } else {\n      (0, _errorHandling.setDispatchOverride)(null);\n    }\n  }\n\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\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.registerHelper = registerHelper;\n  _exports.registerAsyncHelper = registerAsyncHelper;\n  _exports.unregisterHelper = unregisterHelper;\n  _exports.helpers = void 0;\n  var 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  _exports.helpers = helpers;\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\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\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.onInjectHelpers = onInjectHelpers;\n  _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  _exports.callbacks = void 0;\n  var 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  _exports.callbacks = callbacks;\n\n  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\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.pendingRequests = pendingRequests;\n  _exports.clearPendingRequests = clearPendingRequests;\n  _exports.incrementPendingRequests = incrementPendingRequests;\n  _exports.decrementPendingRequests = decrementPendingRequests;\n  var requests = [];\n\n  function pendingRequests() {\n    return requests.length;\n  }\n\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\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.promise = promise;\n  _exports.resolve = resolve;\n  _exports.getLastPromise = getLastPromise;\n  _exports.default = void 0;\n  var lastPromise;\n\n  class TestPromise extends _runtime.RSVP.Promise {\n    constructor() {\n      super(...arguments);\n      lastPromise = this;\n    }\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  /**\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\n\n  _exports.default = TestPromise;\n\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\n  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\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\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\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.registerWaiter = registerWaiter;\n  _exports.unregisterWaiter = unregisterWaiter;\n  _exports.checkWaiters = checkWaiters;\n\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\n    if (indexOf(context, callback) > -1) {\n      return;\n    }\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\n  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n\n    var i = indexOf(context, callback);\n\n    if (i === -1) {\n      return;\n    }\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\n  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n\n    return false;\n  }\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\n    return -1;\n  }\n});","define(\"ember/index\", [\"exports\", \"require\", \"@ember/-internals/environment\", \"node-module\", \"@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/object/computed\", \"@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\", \"@ember/component/template-only\", \"@glimmer/runtime\", \"@ember/destroyable\"], function (_exports, _require, _environment, _nodeModule, utils, _container, instrumentation, _meta, metal, _canaryFeatures, EmberDebug, _backburner, _console, _controller, _controller_mixin, _string, _service, _object, _compat, _computed, _runtime, _glimmer, _version, views, routing, extensionSupport, _error, runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _polyfills, _deprecatedFeatures, _templateOnly, _runtime2, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // eslint-disable-next-line import/no-unresolved\n  // ****@ember/-internals/environment****\n  var Ember = typeof _environment.context.imports.Ember === 'object' && _environment.context.imports.Ember || {};\n  Ember.isNamespace = true;\n\n  Ember.toString = function () {\n    return 'Ember';\n  };\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\n  if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n    Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n      enumerable: false,\n\n      get() {\n        (true && !(false) && (0, EmberDebug.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        }));\n        return _environment.ENV.EXTEND_PROTOTYPES;\n      }\n\n    });\n  } // ****@ember/application****\n\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, EmberDebug.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      }));\n      return _globalsResolver.default;\n    }\n\n  });\n  Object.defineProperty(Ember, 'DefaultResolver', {\n    get() {\n      return Ember.Resolver;\n    }\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  // Using _globalsRun here so that mutating the function (adding\n  // `next`, `later`, etc to it) is only available in globals builds\n\n  Ember.run = runloop._globalsRun;\n  Ember.run.backburner = runloop.backburner;\n  Ember.run.begin = runloop.begin;\n  Ember.run.bind = runloop.bind;\n  Ember.run.cancel = runloop.cancel;\n  Ember.run.debounce = runloop.debounce;\n  Ember.run.end = runloop.end;\n  Ember.run.hasScheduledTimers = runloop.hasScheduledTimers;\n  Ember.run.join = runloop.join;\n  Ember.run.later = runloop.later;\n  Ember.run.next = runloop.next;\n  Ember.run.once = runloop.once;\n  Ember.run.schedule = runloop.schedule;\n  Ember.run.scheduleOnce = runloop.scheduleOnce;\n  Ember.run.throttle = runloop.throttle;\n  Ember.run.cancelTimers = runloop.cancelTimers;\n  Object.defineProperty(Ember.run, 'currentRunLoop', {\n    get: runloop.getCurrentRunLoop,\n    enumerable: false\n  }); // ****@ember/-internals/metal****\n  // Using _globalsComputed here so that mutating the function is only available\n  // in globals builds\n\n  var computed = metal._globalsComputed;\n  Ember.computed = computed;\n  Ember._descriptor = metal.nativeDescDecorator;\n  Ember._tracked = metal.tracked;\n  computed.alias = metal.alias;\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\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, EmberDebug.assert)(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`));\n  };\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.TargetActionSupport = _runtime.TargetActionSupport;\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  computed.empty = _computed.empty;\n  computed.notEmpty = _computed.notEmpty;\n  computed.none = _computed.none;\n  computed.not = _computed.not;\n  computed.bool = _computed.bool;\n  computed.match = _computed.match;\n  computed.equal = _computed.equal;\n  computed.gt = _computed.gt;\n  computed.gte = _computed.gte;\n  computed.lt = _computed.lt;\n  computed.lte = _computed.lte;\n  computed.oneWay = _computed.oneWay;\n  computed.reads = _computed.oneWay;\n  computed.readOnly = _computed.readOnly;\n  computed.deprecatingAlias = _computed.deprecatingAlias;\n  computed.and = _computed.and;\n  computed.or = _computed.or;\n  computed.sum = _computed.sum;\n  computed.min = _computed.min;\n  computed.max = _computed.max;\n  computed.map = _computed.map;\n  computed.sort = _computed.sort;\n  computed.setDiff = _computed.setDiff;\n  computed.mapBy = _computed.mapBy;\n  computed.filter = _computed.filter;\n  computed.filterBy = _computed.filterBy;\n  computed.uniq = _computed.uniq;\n  computed.uniqBy = _computed.uniqBy;\n  computed.union = _computed.union;\n  computed.intersect = _computed.intersect;\n  computed.collect = _computed.collect;\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\n  if (false\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */\n  ) {\n      [['Checkbox', '@ember/component/checkbox', _glimmer.Checkbox], ['TextField', '@ember/component/text-field', _glimmer.TextField], ['TextArea', '@ember/component/text-area', _glimmer.TextArea], ['LinkComponent', '@ember/routing/link-component', _glimmer.LinkComponent], ['TextSupport', '@ember/-internals/views', views.TextSupport]].forEach(([name, path, value]) => {\n        Object.defineProperty(Ember, name, {\n          get() {\n            (true && !(false) && (0, EmberDebug.deprecate)(`Using Ember.${name} or importing from '${path}' has been deprecated, install the ` + `\\`ember-legacy-built-in-components\\` addon and use \\`import { ${name} } from ` + `'ember-legacy-built-in-components';\\` instead`, false, {\n              id: 'ember.legacy-built-in-components',\n              until: '4.0.0'\n            }));\n            return value;\n          },\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  }\n\n  Ember._setComponentManager = _glimmer.setComponentManager;\n  Ember._componentManagerCapabilities = _glimmer.capabilities;\n  Ember._setModifierManager = _runtime2.setModifierManager;\n  Ember._modifierManagerCapabilities = _glimmer.modifierCapabilities;\n  Ember._getComponentTemplate = _runtime2.getComponentTemplate;\n  Ember._setComponentTemplate = _runtime2.setComponentTemplate;\n  Ember._templateOnlyComponent = _templateOnly.default;\n\n  if (true\n  /* EMBER_GLIMMER_HELPER_MANAGER */\n  ) {\n      Ember._helperManagerCapabilities = _glimmer.helperCapabilities;\n      Ember._setHelperManager = _runtime2.setHelperManager;\n    }\n\n  if (true\n  /* EMBER_GLIMMER_INVOKE_HELPER */\n  ) {\n      Ember._invokeHelper = _glimmer.invokeHelper;\n    }\n\n  Ember._captureRenderTree = EmberDebug.captureRenderTree;\n  Ember.Handlebars = {\n    template: _glimmer.template,\n    Utils: {\n      escapeExpression: _glimmer.escapeExpression\n    }\n  };\n  Ember.HTMLBars = {\n    template: _glimmer.template\n  };\n\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    String.prototype.htmlSafe = function () {\n      return (0, _glimmer.htmlSafe)(this);\n    };\n  }\n\n  Ember.String.htmlSafe = _glimmer.htmlSafe;\n  Ember.String.isHTMLSafe = _glimmer.isHTMLSafe;\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, EmberDebug.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://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n        }));\n        return views.jQuery;\n      },\n\n      configurable: true,\n      enumerable: true\n    });\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\n  if ((0, _require.has)('ember-template-compiler')) {\n    (0, _require.default)(\"ember-template-compiler\");\n  } // do this to ensure that Ember.Test is defined properly on the global\n  // if it is present.\n\n\n  if ((0, _require.has)('ember-testing')) {\n    var testing = (0, _require.default)(\"ember-testing\");\n    Ember.Test = testing.Test;\n    Ember.Test.Adapter = testing.Adapter;\n    Ember.Test.QUnitAdapter = testing.QUnitAdapter;\n    Ember.setupForTesting = testing.setupForTesting;\n  }\n\n  (0, _application.runLoadHooks)('Ember');\n  var _default = Ember;\n  _exports.default = _default;\n\n  if (_nodeModule.IS_NODE) {\n    _nodeModule.module.exports = Ember;\n  } else {\n    _environment.context.exports.Ember = _environment.context.exports.Em = Ember;\n  }\n  /**\n   @module jquery\n   @public\n   */\n\n  /**\n   @class jquery\n   @public\n   @static\n   */\n\n  /**\n    Alias for jQuery\n  \n    @for jquery\n    @method $\n    @static\n    @public\n  */\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 = \"3.24.6\";\n  _exports.default = _default;\n});","define(\"node-module/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.require = _exports.module = _exports.IS_NODE = void 0;\n\n  /*global module */\n  var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n  _exports.IS_NODE = IS_NODE;\n  var exportModule;\n  _exports.module = exportModule;\n  var exportRequire;\n  _exports.require = exportRequire;\n\n  if (IS_NODE) {\n    _exports.module = exportModule = module;\n    _exports.require = exportRequire = module.require;\n  } else {\n    _exports.module = exportModule = null;\n    _exports.require = exportRequire = null;\n  }\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\n  function createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n  }\n\n  var Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n  };\n\n  Target.prototype.to = function to(target, callback) {\n    var delegate = this.delegate;\n\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n\n    this.matcher.add(this.path, target);\n\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\n      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n  };\n\n  var Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n  };\n\n  Matcher.prototype.add = function add(path, target) {\n    this.routes[path] = target;\n  };\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\n    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n\n    callback(match);\n  };\n\n  function generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n      var fullPath = startingPath + path;\n\n      if (callback) {\n        callback(generateMatch(fullPath, matcher, delegate));\n      } else {\n        return new Target(fullPath, matcher, delegate);\n      }\n    }\n\n    return match;\n  }\n\n  function addRoute(routeArray, path, handler) {\n    var len = 0;\n\n    for (var i = 0; i < routeArray.length; i++) {\n      len += routeArray[i].path.length;\n    }\n\n    path = path.substr(len);\n    var route = {\n      path: path,\n      handler: handler\n    };\n    routeArray.push(route);\n  }\n\n  function eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n\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\n      if (nested) {\n        eachRoute(routeArray, nested, callback, binding);\n      } else {\n        callback.call(binding, routeArray);\n      }\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  }; // 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\n\n  function normalizePath(path) {\n    return path.split(\"/\").map(normalizeSegment).join(\"/\");\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\n\n  var SEGMENT_RESERVED_CHARS = /%|\\//g;\n\n  function normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n      return segment;\n    }\n\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\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\n\n  var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n\n  function encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n  }\n\n  var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n  var isArray = Array.isArray;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n\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\n    if (!hasOwnProperty.call(params, key)) {\n      throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n\n    if (str.length === 0) {\n      throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n\n    return str;\n  }\n\n  var eachChar = [];\n\n  eachChar[0\n  /* Static */\n  ] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n\n    for (var i = 0; i < value.length; i++) {\n      var ch = value.charCodeAt(i);\n      state = state.put(ch, false, false);\n    }\n\n    return state;\n  };\n\n  eachChar[1\n  /* Dynamic */\n  ] = function (_, currentState) {\n    return currentState.put(47\n    /* SLASH */\n    , true, true);\n  };\n\n  eachChar[2\n  /* Star */\n  ] = function (_, currentState) {\n    return currentState.put(-1\n    /* ANY */\n    , false, true);\n  };\n\n  eachChar[4\n  /* Epsilon */\n  ] = function (_, currentState) {\n    return currentState;\n  };\n\n  var regex = [];\n\n  regex[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n  };\n\n  regex[1\n  /* Dynamic */\n  ] = function () {\n    return \"([^/]+)\";\n  };\n\n  regex[2\n  /* Star */\n  ] = function () {\n    return \"(.+)\";\n  };\n\n  regex[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var generate = [];\n\n  generate[0\n  /* Static */\n  ] = function (segment) {\n    return segment.value;\n  };\n\n  generate[1\n  /* Dynamic */\n  ] = function (segment, params) {\n    var value = getParam(params, segment.value);\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  };\n\n  generate[2\n  /* Star */\n  ] = function (segment, params) {\n    return getParam(params, segment.value);\n  };\n\n  generate[4\n  /* Epsilon */\n  ] = function () {\n    return \"\";\n  };\n\n  var EmptyObject = Object.freeze({});\n  var EmptyArray = Object.freeze([]); // 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\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\n    /* SLASH */\n    ) {\n        route = route.substr(1);\n      }\n\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      var flags = 0;\n      var type = 0;\n\n      if (part === \"\") {\n        type = 4\n        /* Epsilon */\n        ;\n      } else if (part.charCodeAt(0) === 58\n      /* COLON */\n      ) {\n          type = 1\n          /* Dynamic */\n          ;\n        } else if (part.charCodeAt(0) === 42\n      /* STAR */\n      ) {\n          type = 2\n          /* Star */\n          ;\n        } else {\n        type = 0\n        /* Static */\n        ;\n      }\n\n      flags = 2 << type;\n\n      if (flags & 12\n      /* Named */\n      ) {\n          part = part.slice(1);\n          names = names || [];\n          names.push(part);\n          shouldDecodes = shouldDecodes || [];\n          shouldDecodes.push((flags & 4\n          /* Decoded */\n          ) !== 0);\n        }\n\n      if (flags & 14\n      /* Counted */\n      ) {\n          types[type]++;\n        }\n\n      segments.push({\n        type: type,\n        value: normalizeSegment(part)\n      });\n    }\n\n    return {\n      names: names || EmptyArray,\n      shouldDecodes: shouldDecodes || EmptyArray\n    };\n  }\n\n  function isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\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\n\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\n  State.prototype.regex = function regex$1() {\n    if (!this._regex) {\n      this._regex = new RegExp(this.pattern);\n    }\n\n    return this._regex;\n  };\n\n  State.prototype.get = function get(char, negate) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (nextStates === null) {\n      return;\n    }\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isEqualCharSpec(child, char, negate)) {\n          return child;\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isEqualCharSpec(child$1, char, negate)) {\n        return child$1;\n      }\n    }\n  };\n\n  State.prototype.put = function put(char, negate, repeat) {\n    var state; // If the character specification already exists in a child of the current\n    // state, just return that state.\n\n    if (state = this.get(char, negate)) {\n      return state;\n    } // Make a new state for the character spec\n\n\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state; // Insert the new state as a child of the current state\n\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    } // Return the new state\n\n\n    return state;\n  }; // Find a list of child states matching the next character\n\n\n  State.prototype.match = function match(ch) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n\n    if (!nextStates) {\n      return [];\n    }\n\n    var returned = [];\n\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n\n        if (isMatch(child, ch)) {\n          returned.push(child);\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n\n      if (isMatch(child$1, ch)) {\n        returned.push(child$1);\n      }\n    }\n\n    return returned;\n  };\n\n  function isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1\n    /* ANY */\n    : spec.char === char || spec.char === -1\n    /* 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\n\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\n      if (astars !== bstars) {\n        return astars - bstars;\n      }\n\n      if (astars) {\n        if (astatics !== bstatics) {\n          return bstatics - astatics;\n        }\n\n        if (adynamics !== bdynamics) {\n          return bdynamics - adynamics;\n        }\n      }\n\n      if (adynamics !== bdynamics) {\n        return adynamics - bdynamics;\n      }\n\n      if (astatics !== bstatics) {\n        return bstatics - astatics;\n      }\n\n      return 0;\n    });\n  }\n\n  function recognizeChar(states, ch) {\n    var nextStates = [];\n\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\n    return nextStates;\n  }\n\n  var RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n  };\n\n  RecognizeResults.prototype.splice = Array.prototype.splice;\n  RecognizeResults.prototype.slice = Array.prototype.slice;\n  RecognizeResults.prototype.push = Array.prototype.push;\n\n  function findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n\n    if (!regex || !handlers) {\n      throw new Error(\"state not initialized\");\n    }\n\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n\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\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\n          if (params === EmptyObject) {\n            params = {};\n          }\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\n      result[i] = {\n        handler: handler.handler,\n        params: params,\n        isDynamic: isDynamic\n      };\n    }\n\n    return result;\n  }\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\n    try {\n      result = decodeURIComponent(part);\n    } catch (error) {\n      result = \"\";\n    }\n\n    return result;\n  }\n\n  var RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1\n    /* ANY */\n    , true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n  };\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\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; // preserve j so it points to the start of newly added segments\n\n      for (; j < allSegments.length; j++) {\n        var segment = allSegments[j];\n\n        if (segment.type === 4\n        /* Epsilon */\n        ) {\n            continue;\n          }\n\n        isEmpty = false; // Add a \"/\" for the new segment\n\n        currentState = currentState.put(47\n        /* SLASH */\n        , false, false);\n        pattern += \"/\"; // Add a representation of the segment to the NFA and regex\n\n        currentState = eachChar[segment.type](segment, currentState);\n        pattern += regex[segment.type](segment);\n      }\n\n      handlers[i] = {\n        handler: route.handler,\n        names: names,\n        shouldDecodes: shouldDecodes\n      };\n    }\n\n    if (isEmpty) {\n      currentState = currentState.put(47\n      /* SLASH */\n      , false, false);\n      pattern += \"/\";\n    }\n\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n\n    if (typeof options === \"object\" && options !== null && options.as) {\n      name = options.as;\n    }\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\n  RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n    var route = this.names[name];\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var result = new Array(route.handlers.length);\n\n    for (var i = 0; i < route.handlers.length; i++) {\n      var handler = route.handlers[i];\n      result[i] = handler;\n    }\n\n    return result;\n  };\n\n  RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n    return !!this.names[name];\n  };\n\n  RouteRecognizer.prototype.generate = function generate$1(name, params) {\n    var route = this.names[name];\n    var output = \"\";\n\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n\n    var segments = route.segments;\n\n    for (var i = 0; i < segments.length; i++) {\n      var segment = segments[i];\n\n      if (segment.type === 4\n      /* Epsilon */\n      ) {\n          continue;\n        }\n\n      output += \"/\";\n      output += generate[segment.type](segment, params);\n    }\n\n    if (output.charAt(0) !== \"/\") {\n      output = \"/\" + output;\n    }\n\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams);\n    }\n\n    return output;\n  };\n\n  RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = params[key];\n\n      if (value == null) {\n        continue;\n      }\n\n      var pair = encodeURIComponent(key);\n\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\n    if (pairs.length === 0) {\n      return \"\";\n    }\n\n    return \"?\" + pairs.join(\"&\");\n  };\n\n  RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n\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\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\n          if (!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n      }\n\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n\n    return queryParams;\n  };\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\n    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n\n    var queryStart = path.indexOf(\"?\");\n\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\n    if (path.charAt(0) !== \"/\") {\n      path = \"/\" + path;\n    }\n\n    var originalPath = path;\n\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n\n    var pathLen = path.length;\n\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\n    for (var i = 0; i < path.length; i++) {\n      states = recognizeChar(states, path.charCodeAt(i));\n\n      if (!states.length) {\n        break;\n      }\n    }\n\n    var solutions = [];\n\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\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n\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\n      results = findHandler(state, originalPath, queryParams);\n    }\n\n    return results;\n  };\n\n  RouteRecognizer.VERSION = \"0.3.4\"; // Set to false to opt-out of encoding and decoding path segments.\n  // See https://github.com/tildeio/route-recognizer/pull/55\n\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 = RouteRecognizer;\n  _exports.default = _default;\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.logAbort = logAbort;\n  _exports.InternalRouteInfo = _exports.TransitionError = _exports.TransitionState = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.STATE_SYMBOL = _exports.InternalTransition = _exports.default = void 0;\n\n  function buildTransitionAborted() {\n    var error = new Error('TransitionAborted');\n    error.name = 'TransitionAborted';\n    error.code = 'TRANSITION_ABORTED';\n    return error;\n  }\n\n  function isTransitionAborted(maybeError) {\n    return typeof maybeError === 'object' && maybeError !== null && maybeError.code === 'TRANSITION_ABORTED';\n  }\n\n  function isAbortable(maybeAbortable) {\n    return typeof maybeAbortable === 'object' && maybeAbortable !== null && typeof maybeAbortable.isAborted === 'boolean';\n  }\n\n  function throwIfAborted(maybe) {\n    if (isAbortable(maybe) && maybe.isAborted) {\n      throw buildTransitionAborted();\n    }\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\n  function isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n  }\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\n\n  function extractQueryParams(array) {\n    var len = array && array.length,\n        head,\n        queryParams;\n\n    if (len && len > 0) {\n      var obj = array[len - 1];\n\n      if (isQueryParams(obj)) {\n        queryParams = obj.queryParams;\n        head = slice.call(array, 0, len - 1);\n        return [head, queryParams];\n      }\n    }\n\n    return [array, null];\n  }\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\n\n  function coerceQueryParamsToString(queryParams) {\n    for (var key in queryParams) {\n      var val = queryParams[key];\n\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\n\n  function log(router, ...args) {\n    if (!router.log) {\n      return;\n    }\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\n  function isParam(object) {\n    return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n  }\n\n  function forEach(array, callback) {\n    for (var i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {// empty intentionally\n    }\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); // Calculate removals\n\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    } // Calculate changes\n\n\n    for (key in newObject) {\n      if (hasOwnProperty.call(newObject, key)) {\n        var oldElement = oldObject[key];\n        var newElement = newObject[key];\n\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\n    return didChange ? results : undefined;\n  }\n\n  function isArray(obj) {\n    return Array.isArray(obj);\n  }\n\n  function promiseLabel(label) {\n    return 'Router: ' + label;\n  }\n\n  var STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n  _exports.STATE_SYMBOL = STATE_SYMBOL;\n  var PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n  _exports.PARAMS_SYMBOL = PARAMS_SYMBOL;\n  var 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\n  _exports.QUERY_PARAMS_SYMBOL = QUERY_PARAMS_SYMBOL;\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\n      if (true\n      /* DEBUG */\n      ) {\n        var _error = new Error(`Transition creation stack`);\n\n        this.debugCreationStack = () => _error.stack; // not aborted yet, will be replaced when `this.isAborted` is set\n\n\n        this.debugAbortStack = () => undefined;\n\n        this.debugPreviousTransition = previousTransition;\n      }\n\n      if (error) {\n        this.promise = _rsvp.Promise.reject(error);\n        this.error = error;\n        return;\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\n\n      this.isCausedByAbortingTransition = !!previousTransition;\n      this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0); // Every transition in the chain is a replace\n\n      this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\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\n        if (len) {\n          this.targetName = state.routeInfos[len - 1].name;\n        }\n\n        for (var i = 0; i < len; ++i) {\n          var handlerInfo = state.routeInfos[i]; // TODO: this all seems hacky\n\n          if (!handlerInfo.isResolved) {\n            break;\n          }\n\n          this.pivotHandler = handlerInfo.route;\n        }\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    /**\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    /**\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\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\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\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\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\n    rollback() {\n      if (!this.isAborted) {\n        log(this.router, this.sequence, this.targetName + ': transition was aborted');\n\n        if (true\n        /* DEBUG */\n        ) {\n          var error = new Error(`Transition aborted stack`);\n\n          this.debugAbortStack = () => error.stack;\n        }\n\n        if (this.intent !== undefined && this.intent !== null) {\n          this.intent.preTransitionState = this.router.state;\n        }\n\n        this.isAborted = true;\n        this.isActive = false;\n        this.router.activeTransition = undefined;\n      }\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\n\n    retry() {\n      // TODO: add tests for merged state retry()s\n      this.abort();\n      var newTransition = this.router.transitionByIntent(this.intent, false); // 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\n      if (this.urlMethod !== null) {\n        newTransition.method(this.urlMethod);\n      }\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\n\n    method(method) {\n      this.urlMethod = method;\n      return this;\n    } // Alias 'trigger' as 'send'\n\n\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\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\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\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\n        return _rsvp.Promise.reject(reason);\n      });\n    }\n\n    toString() {\n      return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n\n\n    log(message) {\n      log(this.router, this.sequence, message);\n    }\n\n  }\n  /**\n    @private\n  \n    Logs and returns an instance of TransitionAborted.\n   */\n\n\n  _exports.InternalTransition = Transition;\n\n  function logAbort(transition) {\n    log(transition.router, transition.sequence, 'detected abort.');\n    return buildTransitionAborted();\n  }\n\n  function isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n  }\n\n  function prepareResult(obj) {\n    if (isTransition(obj)) {\n      return null;\n    }\n\n    return obj;\n  }\n\n  var ROUTE_INFOS = new WeakMap();\n\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\n      if (ROUTE_INFOS.has(info) && includeAttributes) {\n        var _routeInfo = ROUTE_INFOS.get(info);\n\n        _routeInfo = attachMetadata(route, _routeInfo);\n        var routeInfoWithAttribute = createRouteInfoWithAttributes(_routeInfo, context);\n        ROUTE_INFOS.set(info, routeInfoWithAttribute);\n        return routeInfoWithAttribute;\n      }\n\n      var routeInfo = {\n        find(predicate, thisArg) {\n          var publicInfo;\n          var arr = [];\n\n          if (predicate.length === 3) {\n            arr = routeInfos.map(info => ROUTE_INFOS.get(info));\n          }\n\n          for (var _i = 0; routeInfos.length > _i; _i++) {\n            publicInfo = ROUTE_INFOS.get(routeInfos[_i]);\n\n            if (predicate.call(thisArg, publicInfo, _i, arr)) {\n              return publicInfo;\n            }\n          }\n\n          return undefined;\n        },\n\n        get name() {\n          return name;\n        },\n\n        get paramNames() {\n          return paramNames;\n        },\n\n        get metadata() {\n          return buildRouteInfoMetadata(info.route);\n        },\n\n        get parent() {\n          var parent = routeInfos[i - 1];\n\n          if (parent === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(parent);\n        },\n\n        get child() {\n          var child = routeInfos[i + 1];\n\n          if (child === undefined) {\n            return null;\n          }\n\n          return ROUTE_INFOS.get(child);\n        },\n\n        get localName() {\n          var parts = this.name.split('.');\n          return parts[parts.length - 1];\n        },\n\n        get params() {\n          return params;\n        },\n\n        get queryParams() {\n          return queryParams;\n        }\n\n      };\n\n      if (includeAttributes) {\n        routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n      }\n\n      ROUTE_INFOS.set(info, routeInfo);\n      return routeInfo;\n    });\n  }\n\n  function createRouteInfoWithAttributes(routeInfo, context) {\n    var attributes = {\n      get attributes() {\n        return context;\n      }\n\n    };\n\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, attributes));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, attributes);\n  }\n\n  function buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n      return route.buildRouteInfoMetadata();\n    }\n\n    return null;\n  }\n\n  function attachMetadata(route, routeInfo) {\n    var metadata = {\n      get metadata() {\n        return buildRouteInfoMetadata(route);\n      }\n\n    };\n\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, metadata));\n    }\n\n    return (0, _polyfills.assign)(routeInfo, metadata);\n  }\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\n      if (route) {\n        this._processRoute(route);\n      }\n    }\n\n    getModel(_transition) {\n      return _rsvp.Promise.resolve(this.context);\n    }\n\n    serialize(_context) {\n      return this.params || {};\n    }\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\n    becomeResolved(transition, resolvedContext) {\n      var params = this.serialize(resolvedContext);\n\n      if (transition) {\n        this.stashResolvedModel(transition, resolvedContext);\n        transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n        transition[PARAMS_SYMBOL][this.name] = params;\n      }\n\n      var context;\n      var contextsMatch = resolvedContext === this.context;\n\n      if ('context' in this || !contextsMatch) {\n        context = resolvedContext;\n      }\n\n      var cached = ROUTE_INFOS.get(this);\n      var resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n\n      if (cached !== undefined) {\n        ROUTE_INFOS.set(resolved, cached);\n      }\n\n      return resolved;\n    }\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\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\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\n      return this.fetchRoute();\n    }\n\n    set route(route) {\n      this._route = route;\n    }\n\n    get routePromise() {\n      if (this._routePromise) {\n        return this._routePromise;\n      }\n\n      this.fetchRoute();\n      return this._routePromise;\n    }\n\n    set routePromise(routePromise) {\n      this._routePromise = routePromise;\n    }\n\n    log(transition, message) {\n      if (transition.log) {\n        transition.log(this.name + ': ' + message);\n      }\n    }\n\n    updateRoute(route) {\n      route._internalName = this.name;\n      return this.route = route;\n    }\n\n    runBeforeModelHook(transition) {\n      if (transition.trigger) {\n        transition.trigger(true, 'willResolveModel', transition, this.route);\n      }\n\n      var result;\n\n      if (this.route) {\n        if (this.route.beforeModel !== undefined) {\n          result = this.route.beforeModel(transition);\n        }\n      }\n\n      if (isTransition(result)) {\n        result = null;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    }\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\n      if (this.route !== undefined) {\n        if (this.route.afterModel !== undefined) {\n          result = this.route.afterModel(resolvedModel, transition);\n        }\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\n    stashResolvedModel(transition, resolvedModel) {\n      transition.resolvedModels = transition.resolvedModels || {};\n      transition.resolvedModels[this.name] = resolvedModel;\n    }\n\n    fetchRoute() {\n      var route = this.router.getRoute(this.name);\n      return this._processRoute(route);\n    }\n\n    _processRoute(route) {\n      // Setup a routePromise so that we can wait for asynchronously loaded routes\n      this.routePromise = _rsvp.Promise.resolve(route); // Wait until the 'route' property has been updated when chaining to a route\n      // that is a promise\n\n      if (isPromise(route)) {\n        this.routePromise = this.routePromise.then(r => {\n          return this.updateRoute(r);\n        }); // set to undefined to avoid recursive loop in the route getter\n\n        return this.route = undefined;\n      } else if (route) {\n        return this.updateRoute(route);\n      }\n\n      return undefined;\n    }\n\n  }\n\n  _exports.InternalRouteInfo = InternalRouteInfo;\n\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\n    resolve(transition) {\n      // A ResolvedRouteInfo just resolved with itself.\n      if (transition && transition.resolvedModels) {\n        transition.resolvedModels[this.name] = this.context;\n      }\n\n      return _rsvp.Promise.resolve(this);\n    }\n\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\n    getModel(transition) {\n      var fullParams = this.params;\n\n      if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n        fullParams = {};\n        merge(fullParams, this.params);\n        fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n      }\n\n      var route = this.route;\n      var result;\n\n      if (route.deserialize) {\n        result = route.deserialize(fullParams, transition);\n      } else if (route.model) {\n        result = route.model(fullParams, transition);\n      }\n\n      if (result && isTransition(result)) {\n        result = undefined;\n      }\n\n      return _rsvp.Promise.resolve(result);\n    }\n\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\n    getModel(transition) {\n      if (this.router.log !== undefined) {\n        this.router.log(this.name + ': resolving provided model');\n      }\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\n\n    serialize(model) {\n      var {\n        paramNames,\n        context\n      } = this;\n\n      if (!model) {\n        model = context;\n      }\n\n      var object = {};\n\n      if (isParam(model)) {\n        object[paramNames[0]] = model;\n        return object;\n      } // Use custom serialize if it exists.\n\n\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\n      if (paramNames.length !== 1) {\n        return;\n      }\n\n      var name = paramNames[0];\n\n      if (/_id$/.test(name)) {\n        object[name] = model.id;\n      } else {\n        object[name] = model;\n      }\n\n      return object;\n    }\n\n  }\n\n  function paramsMatch(a, b) {\n    if (!a !== !b) {\n      // Only one is null.\n      return false;\n    }\n\n    if (!a) {\n      // Both must be null.\n      return true;\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\n\n    for (var k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  class TransitionIntent {\n    constructor(router, data = {}) {\n      this.router = router;\n      this.data = data;\n    }\n\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\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\n    var routeInfo = currentState.routeInfos[transition.resolveIndex];\n    return routeInfo.resolve(transition).then(proceed.bind(null, currentState, transition), null, currentState.promiseLabel('Proceed'));\n  }\n\n  function proceed(currentState, transition, resolvedRouteInfo) {\n    var wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved; // Swap the previously unresolved routeInfo with\n    // the resolved routeInfo\n\n    currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n\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\n      if (route !== undefined) {\n        if (route.redirect) {\n          route.redirect(resolvedRouteInfo.context, transition);\n        }\n      }\n    } // Proceed after ensuring that the redirect hook\n    // didn't abort this transition by transitioning elsewhere.\n\n\n    throwIfAborted(transition);\n    return resolveOneRouteInfo(currentState, transition);\n  }\n\n  class TransitionState {\n    constructor() {\n      this.routeInfos = [];\n      this.queryParams = {};\n      this.params = {};\n    }\n\n    promiseLabel(label) {\n      var targetName = '';\n      forEach(this.routeInfos, function (routeInfo) {\n        if (targetName !== '') {\n          targetName += '.';\n        }\n\n        targetName += routeInfo.name;\n        return true;\n      });\n      return promiseLabel(\"'\" + targetName + \"': \" + label);\n    }\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; // The prelude RSVP.resolve() async moves us into the promise land.\n\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  }\n\n  _exports.TransitionState = TransitionState;\n\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  }\n\n  _exports.TransitionError = TransitionError;\n\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\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\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; // Pivot handlers are provided for refresh transitions\n\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\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\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\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\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\n          newHandlerInfo.context = oldContext;\n        }\n\n        var handlerToUse = oldHandlerInfo;\n\n        if (i >= invalidateIndex || newHandlerInfo.shouldSupersede(oldHandlerInfo)) {\n          invalidateIndex = Math.min(i, invalidateIndex);\n          handlerToUse = newHandlerInfo;\n        }\n\n        if (isIntermediate && !checkingIfActive) {\n          handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n        }\n\n        newState.routeInfos.unshift(handlerToUse);\n      }\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\n      if (!isIntermediate) {\n        this.invalidateChildren(newState.routeInfos, invalidateIndex);\n      }\n\n      merge(newState.queryParams, this.queryParams || {});\n\n      if (isIntermediate && oldState.queryParams) {\n        merge(newState.queryParams, oldState.queryParams);\n      }\n\n      return newState;\n    }\n\n    invalidateChildren(handlerInfos, invalidateIndex) {\n      for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n        var handlerInfo = handlerInfos[i];\n\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\n    getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n      var objectToUse;\n\n      if (objects.length > 0) {\n        // Use the objects provided for this transition.\n        objectToUse = objects[objects.length - 1];\n\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\n      return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    }\n\n    createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n      var params = {}; // Soak up all the provided string/numbers\n\n      var numNames = names.length;\n      var missingParams = [];\n\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\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\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\n      return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    }\n\n  }\n\n  var UnrecognizedURLError = function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n\n    function UnrecognizedURLError(message) {\n      var error = Error.call(this, message);\n      this.name = 'UnrecognizedURLError';\n      this.message = message || 'UnrecognizedURL';\n\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, UnrecognizedURLError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n\n    return UnrecognizedURLError;\n  }();\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\n    applyToState(oldState) {\n      var newState = new TransitionState();\n      var results = this.router.recognizer.recognize(this.url),\n          i,\n          len;\n\n      if (!results) {\n        throw new UnrecognizedURLError(this.url);\n      }\n\n      var statesDiffer = false;\n      var _url = this.url; // 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\n      function checkHandlerAccessibility(handler) {\n        if (handler && handler.inaccessibleByURL) {\n          throw new UnrecognizedURLError(_url);\n        }\n\n        return handler;\n      }\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\n        if (this.router.recognizer.hasRoute(name)) {\n          paramNames = this.router.recognizer.handlersFor(name)[i].names;\n        }\n\n        var newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n        var route = newRouteInfo.route;\n\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\n        var oldRouteInfo = oldState.routeInfos[i];\n\n        if (statesDiffer || newRouteInfo.shouldSupersede(oldRouteInfo)) {\n          statesDiffer = true;\n          newState.routeInfos[i] = newRouteInfo;\n        } else {\n          newState.routeInfos[i] = oldRouteInfo;\n        }\n      }\n\n      merge(newState.queryParams, results.queryParams);\n      return newState;\n    }\n\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\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\n    hasRoute(route) {\n      return this.recognizer.hasRoute(route);\n    }\n\n    queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n      this.fireQueryParamDidChange(newState, changelist);\n\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\n            this.didTransition(this.currentRouteInfos);\n            this.toInfos(newTransition, newState.routeInfos, true);\n            this.routeDidChange(newTransition);\n          }\n\n          return result;\n        }, null, promiseLabel('Transition complete'));\n        return newTransition;\n      }\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\n    recognize(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return newState;\n      }\n\n      var readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n      return readonlyInfos[readonlyInfos.length - 1];\n    }\n\n    recognizeAndLoad(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n\n      if (newState === null) {\n        return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n      }\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\n    generateNewState(intent) {\n      try {\n        return intent.applyToState(this.state, false);\n      } catch (e) {\n        return null;\n      }\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\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\n          _newTransition.queryParamsOnly = true;\n          return _newTransition;\n        } // No-op. No need to create a new transition.\n\n\n        return this.activeTransition || new Transition(this, undefined, undefined);\n      }\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      } // Create a new transition to the destination route.\n\n\n      newTransition = new Transition(this, intent, newState, undefined, this.activeTransition); // transition is to same route with same params, only query params differ.\n      // not caught above probably because refresh() has been used\n\n      if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n        newTransition.queryParamsOnly = true;\n      }\n\n      this.toReadOnlyInfos(newTransition, newState); // Abort and usurp any previously active transition.\n\n      if (this.activeTransition) {\n        this.activeTransition.redirect(newTransition);\n      }\n\n      this.activeTransition = newTransition; // 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\n      newTransition.promise = newTransition.promise.then(result => {\n        return this.finalizeTransition(newTransition, result);\n      }, null, promiseLabel('Settle transition promise when transition is finalized'));\n\n      if (!wasTransitioning) {\n        this.notifyExistingHandlers(newState, newTransition);\n      }\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\n\n    doTransition(name, modelsArray = [], isIntermediate = false) {\n      var lastArg = modelsArray[modelsArray.length - 1];\n      var queryParams = {};\n\n      if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n        queryParams = modelsArray.pop().queryParams;\n      }\n\n      var intent;\n\n      if (name === undefined) {\n        log(this, 'Updating query params'); // A query param update is really just a transition\n        // into the route you're already on.\n\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\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\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; // Run all the necessary enter/setup/exit hooks\n\n        this.setupContexts(newState, transition); // Check if a redirect occurred in enter/setup\n\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\n        this._updateURL(transition, newState);\n\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.'); // Resolve with the final route.\n\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\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\n\n    setupContexts(newState, transition) {\n      var partition = this.partitionRoutes(this.state, newState);\n      var i, l, route;\n\n      for (i = 0, l = partition.exited.length; i < l; i++) {\n        route = partition.exited[i].route;\n        delete route.context;\n\n        if (route !== undefined) {\n          if (route._internalReset !== undefined) {\n            route._internalReset(true, transition);\n          }\n\n          if (route.exit !== undefined) {\n            route.exit(transition);\n          }\n        }\n      }\n\n      var oldState = this.oldState = this.state;\n      this.state = newState;\n      var currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n\n      try {\n        for (i = 0, l = partition.reset.length; i < l; i++) {\n          route = partition.reset[i].route;\n\n          if (route !== undefined) {\n            if (route._internalReset !== undefined) {\n              route._internalReset(false, transition);\n            }\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\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\n      this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n       Fires queryParamsDidChange event\n    */\n\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\n\n    routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n      var route = routeInfo.route,\n          context = routeInfo.context;\n\n      function _routeEnteredOrUpdated(route) {\n        if (enter) {\n          if (route.enter !== undefined) {\n            route.enter(transition);\n          }\n        }\n\n        throwIfAborted(transition);\n        route.context = context;\n\n        if (route.contextDidChange !== undefined) {\n          route.contextDidChange();\n        }\n\n        if (route.setup !== undefined) {\n          route.setup(context, transition);\n        }\n\n        throwIfAborted(transition);\n        currentRouteInfos.push(routeInfo);\n        return route;\n      } // If the route doesn't exist, it means we haven't resolved the route promise yet\n\n\n      if (route === undefined) {\n        routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n      } else {\n        _routeEnteredOrUpdated(route);\n      }\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\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\n      for (i = 0, l = newRouteInfos.length; i < l; i++) {\n        var oldRouteInfo = oldRouteInfos[i],\n            newRouteInfo = newRouteInfos[i];\n\n        if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n          routeChanged = true;\n        }\n\n        if (routeChanged) {\n          routes.entered.push(newRouteInfo);\n\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\n      for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n        routes.exited.unshift(oldRouteInfos[i]);\n      }\n\n      routes.reset = routes.updatedContext.slice();\n      routes.reset.reverse();\n      return routes;\n    }\n\n    _updateURL(transition, state) {\n      var urlMethod = transition.urlMethod;\n\n      if (!urlMethod) {\n        return;\n      }\n\n      var {\n        routeInfos\n      } = state;\n      var {\n        name: routeName\n      } = routeInfos[routeInfos.length - 1];\n      var params = {};\n\n      for (var i = routeInfos.length - 1; i >= 0; --i) {\n        var routeInfo = routeInfos[i];\n        merge(params, routeInfo.params);\n\n        if (routeInfo.route.inaccessibleByURL) {\n          urlMethod = null;\n        }\n      }\n\n      if (urlMethod) {\n        params.queryParams = transition._visibleQueryParams || state.queryParams;\n        var url = this.recognizer.generate(routeName, params); // 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\n        var initial = transition.isCausedByInitialTransition; // 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\n        var replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition; // 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\n        var isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace'; // 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\n        var replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n        if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n          this.replaceURL(url);\n        } else {\n          this.updateURL(url);\n        }\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\n      var finalQueryParamsArray = [];\n      this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n\n      if (transition) {\n        transition._visibleQueryParams = {};\n      }\n\n      var finalQueryParams = {};\n\n      for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n        var qp = finalQueryParamsArray[i];\n        finalQueryParams[qp.key] = qp.value;\n\n        if (transition && qp.visible !== false) {\n          transition._visibleQueryParams[qp.key] = qp.value;\n        }\n      }\n\n      return finalQueryParams;\n    }\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\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\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\n    notifyExistingHandlers(newState, newTransition) {\n      var oldRouteInfos = this.state.routeInfos,\n          i,\n          oldRouteInfoLen,\n          oldHandler,\n          newRouteInfo;\n      oldRouteInfoLen = oldRouteInfos.length;\n\n      for (i = 0; i < oldRouteInfoLen; i++) {\n        oldHandler = oldRouteInfos[i];\n        newRouteInfo = newState.routeInfos[i];\n\n        if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n          break;\n        }\n\n        if (!newRouteInfo.isResolved) {}\n      }\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\n\n    reset() {\n      if (this.state) {\n        forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n          var route = routeInfo.route;\n\n          if (route !== undefined) {\n            if (route.exit !== undefined) {\n              route.exit();\n            }\n          }\n\n          return true;\n        });\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\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\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\n\n    transitionTo(name, ...contexts) {\n      if (typeof name === 'object') {\n        contexts.push(name);\n        return this.doTransition(undefined, contexts, false);\n      }\n\n      return this.doTransition(name, contexts);\n    }\n\n    intermediateTransitionTo(name, ...args) {\n      return this.doTransition(name, args, true);\n    }\n\n    refresh(pivotRoute) {\n      var previousTransition = this.activeTransition;\n      var state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n      var routeInfos = state.routeInfos;\n\n      if (pivotRoute === undefined) {\n        pivotRoute = routeInfos[0].route;\n      }\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); // if the previous transition is a replace transition, that needs to be preserved\n\n      if (previousTransition && previousTransition.urlMethod === 'replace') {\n        newTransition.method(previousTransition.urlMethod);\n      }\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\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\n\n    generate(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args),\n          suppliedParams = partitionedArgs[0],\n          queryParams = partitionedArgs[1]; // Construct a TransitionIntent with the provided params\n      // and apply it to the present state of the router.\n\n      var intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n      var state = intent.applyToState(this.state, false);\n      var params = {};\n\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\n      params.queryParams = queryParams;\n      return this.recognizer.generate(routeName, params);\n    }\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\n    isActiveIntent(routeName, contexts, queryParams, _state) {\n      var state = _state || this.state,\n          targetRouteInfos = state.routeInfos,\n          routeInfo,\n          len;\n\n      if (!targetRouteInfos.length) {\n        return false;\n      }\n\n      var targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n      var recognizerHandlers = this.recognizer.handlersFor(targetHandler);\n      var index = 0;\n\n      for (len = recognizerHandlers.length; index < len; ++index) {\n        routeInfo = targetRouteInfos[index];\n\n        if (routeInfo.name === routeName) {\n          break;\n        }\n      }\n\n      if (index === recognizerHandlers.length) {\n        // The provided route name isn't even in the route hierarchy.\n        return false;\n      }\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\n      if (!queryParams || !routesEqual) {\n        return routesEqual;\n      } // Get a hash of QPs that will still be active on new route\n\n\n      var activeQPsOnNewHandler = {};\n      merge(activeQPsOnNewHandler, queryParams);\n      var activeQueryParams = state.queryParams;\n\n      for (var key in activeQueryParams) {\n        if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n          activeQPsOnNewHandler[key] = activeQueryParams[key];\n        }\n      }\n\n      return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    }\n\n    isActive(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args);\n      return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n    }\n\n    trigger(name, ...args) {\n      this.triggerEvent(this.currentRouteInfos, false, name, args);\n    }\n\n  }\n\n  function routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i] !== otherRouteInfos[i]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\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\n      if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n        return false;\n      }\n    }\n\n    return true;\n  }\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\n    var keys = Object.keys(params);\n    var otherKeys = Object.keys(otherParams);\n\n    if (keys.length !== otherKeys.length) {\n      return false;\n    }\n\n    for (var i = 0, len = keys.length; i < len; ++i) {\n      var key = keys[i];\n\n      if (params[key] !== otherParams[key]) {\n        return false;\n      }\n    }\n\n    return true;\n  }\n\n  var _default = Router;\n  _exports.default = _default;\n});","define(\"rsvp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asap = asap;\n  _exports.all = all$1;\n  _exports.allSettled = allSettled;\n  _exports.race = race$1;\n  _exports.hash = hash;\n  _exports.hashSettled = hashSettled;\n  _exports.rethrow = rethrow;\n  _exports.defer = defer;\n  _exports.denodeify = denodeify;\n  _exports.configure = configure;\n  _exports.on = on;\n  _exports.off = off;\n  _exports.resolve = resolve$2;\n  _exports.reject = reject$2;\n  _exports.map = map;\n  _exports.filter = filter;\n  _exports.async = _exports.EventTarget = _exports.Promise = _exports.cast = _exports.default = void 0;\n\n  function callbacksFor(object) {\n    var callbacks = object._promiseCallbacks;\n\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n\n    return callbacks;\n  }\n  /**\n    @class EventTarget\n    @for rsvp\n    @public\n  */\n\n\n  var 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    /**\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\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n\n      if (callbacks.indexOf(callback) === -1) {\n        callbacks.push(callback);\n      }\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\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n\n      var callbacks = allCallbacks[eventName];\n      var index = callbacks.indexOf(callback);\n\n      if (index !== -1) {\n        callbacks.splice(index, 1);\n      }\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\n      if (callbacks) {\n        // Don't cache the callbacks.length since it may grow\n        var callback;\n\n        for (var i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n          callback(options, label);\n        }\n      }\n    }\n\n  };\n  _exports.EventTarget = EventTarget;\n  var config = {\n    instrument: false\n  };\n  EventTarget['mixin'](config);\n\n  function configure(name, value) {\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n\n  var queue = [];\n\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\n        if (payload.error) {\n          payload.stack = payload.error.stack;\n        }\n\n        config['trigger'](entry.name, entry.payload);\n      }\n\n      queue.length = 0;\n    }, 50);\n  }\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    `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\n\n  function resolve$$1(object, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n\n    if (object && typeof object === 'object' && object.constructor === Constructor) {\n      return object;\n    }\n\n    var promise = new Constructor(noop, label);\n    resolve$1(promise, object);\n    return promise;\n  }\n\n  function withOwnPromise() {\n    return new TypeError('A promises callback cannot return that same promise.');\n  }\n\n  function objectOrFunction(x) {\n    var type = typeof x;\n    return x !== null && (type === 'object' || type === 'function');\n  }\n\n  function noop() {}\n\n  var PENDING = void 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n\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\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\n        sealed = true;\n\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\n        sealed = true;\n        reject(promise, reason);\n      }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n      if (!sealed && error) {\n        sealed = true;\n        reject(promise, error);\n      }\n    }, promise);\n  }\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\n  function handleMaybeThenable(promise, maybeThenable, then$$1) {\n    var isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && promise.constructor.resolve === resolve$$1;\n\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\n  function resolve$1(promise, value) {\n    if (promise === value) {\n      fulfill(promise, value);\n    } else if (objectOrFunction(value)) {\n      var then$$1;\n\n      try {\n        then$$1 = value.then;\n      } catch (error) {\n        reject(promise, error);\n        return;\n      }\n\n      handleMaybeThenable(promise, value, then$$1);\n    } else {\n      fulfill(promise, value);\n    }\n  }\n\n  function publishRejection(promise) {\n    if (promise._onError) {\n      promise._onError(promise._result);\n    }\n\n    publish(promise);\n  }\n\n  function fulfill(promise, value) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._result = value;\n    promise._state = FULFILLED;\n\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\n  function reject(promise, reason) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n\n    promise._state = REJECTED;\n    promise._result = reason;\n    config.async(publishRejection, promise);\n  }\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\n    if (length === 0 && parent._state) {\n      config.async(publish, parent);\n    }\n  }\n\n  function publish(promise) {\n    var subscribers = promise._subscribers;\n    var settled = promise._state;\n\n    if (config.instrument) {\n      instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n    }\n\n    if (subscribers.length === 0) {\n      return;\n    }\n\n    var child,\n        callback,\n        result = promise._result;\n\n    for (var i = 0; i < subscribers.length; i += 3) {\n      child = subscribers[i];\n      callback = subscribers[i + settled];\n\n      if (child) {\n        invokeCallback(settled, child, callback, result);\n      } else {\n        callback(result);\n      }\n    }\n\n    promise._subscribers.length = 0;\n  }\n\n  function invokeCallback(state, promise, callback, result) {\n    var hasCallback = typeof callback === 'function';\n    var value,\n        succeeded = true,\n        error;\n\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\n    if (promise._state !== PENDING) {// 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\n  function initializePromise(promise, resolver) {\n    var resolved = false;\n\n    try {\n      resolver(value => {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        resolve$1(promise, value);\n      }, reason => {\n        if (resolved) {\n          return;\n        }\n\n        resolved = true;\n        reject(promise, reason);\n      });\n    } catch (e) {\n      reject(promise, e);\n    }\n  }\n\n  function then(onFulfillment, onRejection, label) {\n    var parent = this;\n    var state = parent._state;\n\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\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\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\n    return child;\n  }\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\n      this._init(...arguments);\n    }\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\n      this._enumerate(input);\n    }\n\n    _enumerate(input) {\n      var length = this.length;\n      var promise = this.promise;\n\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        this._eachEntry(input[i], i, true);\n      }\n\n      this._checkFullfillment();\n    }\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\n    _settleMaybeThenable(entry, i, firstPass) {\n      var c = this._instanceConstructor;\n\n      if (this._isUsingOwnResolve) {\n        var then$$1,\n            error,\n            succeeded = true;\n\n        try {\n          then$$1 = entry.then;\n        } catch (e) {\n          succeeded = false;\n          error = e;\n        }\n\n        if (then$$1 === then && entry._state !== PENDING) {\n          entry._onError = null;\n\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\n          if (succeeded === false) {\n            reject(promise, error);\n          } else {\n            handleMaybeThenable(promise, entry, then$$1);\n\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\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\n    _settledAt(state, i, value, firstPass) {\n      var promise = this.promise;\n\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\n          this._checkFullfillment();\n        }\n      }\n    }\n\n    _setResultAt(state, i, value, firstPass) {\n      this._remaining--;\n      this._result[i] = value;\n    }\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  }\n\n  function setSettledResult(state, i, value) {\n    this._remaining--;\n\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    `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\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\n    return new Enumerator(this, entries, true\n    /* abort on reject */\n    , label).promise;\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\n\n  function race(entries, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n\n    if (!Array.isArray(entries)) {\n      reject(promise, new TypeError('Promise.race must be called with an array'));\n      return promise;\n    }\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\n    return promise;\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\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\n  var guidKey = 'rsvp_' + Date.now() + '-';\n  var counter = 0;\n\n  function needsResolver() {\n    throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n  }\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    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\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\n      if (noop !== resolver) {\n        typeof resolver !== 'function' && needsResolver();\n        this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n      }\n    }\n\n    _onError(reason) {\n      config.after(() => {\n        if (this._onError) {\n          config.trigger('error', reason, this._label);\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\n\n    catch(onRejection, label) {\n      return this.then(undefined, onRejection, label);\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\n\n    finally(callback, label) {\n      var promise = this;\n      var constructor = promise.constructor;\n\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\n      return promise.then(callback, callback);\n    }\n\n  }\n\n  _exports.Promise = Promise;\n  Promise.cast = resolve$$1; // deprecated\n\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    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\n  Promise.prototype.then = then;\n\n  function makeObject(_, argumentNames) {\n    var obj = {};\n    var length = _.length;\n    var args = new Array(length);\n\n    for (var x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n\n    for (var i = 0; i < argumentNames.length; i++) {\n      var name = argumentNames[i];\n      obj[name] = args[i + 1];\n    }\n\n    return obj;\n  }\n\n  function arrayResult(_) {\n    var length = _.length;\n    var args = new Array(length - 1);\n\n    for (var i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n\n    return args;\n  }\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\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\n      for (var i = 0; i < l; ++i) {\n        var arg = arguments[i]; // TODO: this code really needs to be cleaned up\n\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\n          if (promiseInput && promiseInput !== true) {\n            arg = wrapThenable(promiseInput, arg);\n          }\n        }\n\n        args[i] = arg;\n      }\n\n      var promise = new Promise(noop);\n\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\n      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, this);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, this);\n      }\n    };\n\n    fn.__proto__ = nodeFunc;\n    return fn;\n  }\n\n  function handleValueInput(promise, args, nodeFunc, self) {\n    try {\n      nodeFunc.apply(self, args);\n    } catch (error) {\n      reject(promise, error);\n    }\n\n    return promise;\n  }\n\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise.all(args).then(args => handleValueInput(promise, args, nodeFunc, self));\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\n\n  function all$1(array, label) {\n    return Promise.all(array, label);\n  }\n  /**\n  @module rsvp\n  @public\n  **/\n\n\n  class AllSettled extends Enumerator {\n    constructor(Constructor, entries, label) {\n      super(Constructor, entries, false\n      /* don't abort on reject */\n      , label);\n    }\n\n  }\n\n  AllSettled.prototype._setResultAt = setSettledResult;\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\n    return new AllSettled(Promise, entries, label).promise;\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\n\n  function race$1(array, label) {\n    return Promise.race(array, label);\n  }\n\n  class PromiseHash extends Enumerator {\n    constructor(Constructor, object, abortOnReject = true, label) {\n      super(Constructor, object, abortOnReject, label);\n    }\n\n    _init(Constructor, object) {\n      this._result = {};\n\n      this._enumerate(object);\n    }\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\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        key = keys[i];\n        val = input[key];\n\n        this._eachEntry(val, key, true);\n      }\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\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\n      return new PromiseHash(Promise, object, label).promise;\n    });\n  }\n\n  class HashSettled extends PromiseHash {\n    constructor(Constructor, object, label) {\n      super(Constructor, object, false, label);\n    }\n\n  }\n\n  HashSettled.prototype._setResultAt = setSettledResult;\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\n      return new HashSettled(Promise, object, false, label).promise;\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\n\n  function rethrow(reason) {\n    setTimeout(() => {\n      throw reason;\n    });\n    throw reason;\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\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\n  class MapEnumerator extends Enumerator {\n    constructor(Constructor, entries, mapFn, label) {\n      super(Constructor, entries, true, label, mapFn);\n    }\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\n      this._enumerate(input);\n    }\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\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\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\n      return new MapEnumerator(Promise, promises, mapFn, label).promise;\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\n\n  function resolve$2(value, label) {\n    return Promise.resolve(value, label);\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\n\n  function reject$2(reason, label) {\n    return Promise.reject(reason, label);\n  }\n\n  var EMPTY_OBJECT = {};\n\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\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        this._result[i] = value;\n        var val,\n            succeeded = true;\n\n        try {\n          val = this._mapFn(value, i);\n        } catch (error) {\n          succeeded = false;\n\n          this._settledAt(REJECTED, i, error, false);\n        }\n\n        if (succeeded) {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\n\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\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\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\n      return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n    });\n  }\n\n  var len = 0;\n  var vertxNext;\n\n  function asap(callback, arg) {\n    queue$1[len] = callback;\n    queue$1[len + 1] = arg;\n    len += 2;\n\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\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]'; // test for web worker but not in IE10\n\n  var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; // node\n\n  function useNextTick() {\n    var nextTick = process.nextTick; // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n    // setImmediate should be used instead instead\n\n    var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n\n    if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n      nextTick = setImmediate;\n    }\n\n    return () => nextTick(flush);\n  } // vertx\n\n\n  function useVertxTimer() {\n    if (typeof vertxNext !== 'undefined') {\n      return function () {\n        vertxNext(flush);\n      };\n    }\n\n    return useSetTimeout();\n  }\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  } // web worker\n\n\n  function useMessageChannel() {\n    var channel = new MessageChannel();\n    channel.port1.onmessage = flush;\n    return () => channel.port2.postMessage(0);\n  }\n\n  function useSetTimeout() {\n    return () => setTimeout(flush, 1);\n  }\n\n  var queue$1 = new Array(1000);\n\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\n    len = 0;\n  }\n\n  function attemptVertex() {\n    try {\n      var vertx = Function('return this')().require('vertx');\n\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n\n  var scheduleFlush$1; // Decide what async method to use to triggering processing of queued callbacks:\n\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  } // defaults\n\n\n  config.async = asap;\n\n  config.after = cb => setTimeout(cb, 0);\n\n  var cast = resolve$2;\n  _exports.cast = cast;\n\n  var async = (callback, arg) => config.async(callback, arg);\n\n  _exports.async = async;\n\n  function on() {\n    config.on(...arguments);\n  }\n\n  function off() {\n    config.off(...arguments);\n  } // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n\n\n  if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n    var callbacks = window['__PROMISE_INSTRUMENTATION__'];\n    configure('instrument', true);\n\n    for (var eventName in callbacks) {\n      if (callbacks.hasOwnProperty(eventName)) {\n        on(eventName, callbacks[eventName]);\n      }\n    }\n  } // the default export here is for backwards compat:\n  //   https://github.com/tildeio/rsvp.js/issues/434\n\n\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 = rsvp;\n  _exports.default = _default;\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  /*\n   * This non-standard use of `reopen` and `call` allows the component\n   * base class to be reopened without triggering the\n   * ember.component.reopen deprecation in Ember itself.\n   */\n  Ember.Object.reopen.call(Ember.Component, {\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        since: '3.4.0',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis',\n        for: 'ember-source'\n      }));\n      if (this.element) {\n        return sel ? jQuery(sel, this.element) : jQuery(this.element);\n      }\n    }\n  });\n})();","/*globals jQuery, define, module, exports, require, window, document, postMessage */\n(function (factory) {\n\t\"use strict\";\n\tif (typeof define === 'function' && define.amd) {\n\t\tdefine(['jquery'], factory);\n\t}\n\telse if(typeof module !== 'undefined' && module.exports) {\n\t\tmodule.exports = factory(require('jquery'));\n\t}\n\telse {\n\t\tfactory(jQuery);\n\t}\n}(function ($, undefined) {\n\t\"use strict\";\n/*!\n * jsTree 3.3.17\n * http://jstree.com/\n *\n * Copyright (c) 2014 Ivan Bozhanov (http://vakata.com)\n *\n * Licensed same as jquery - under the terms of the MIT License\n *   http://www.opensource.org/licenses/mit-license.php\n */\n/*!\n * if using jslint please allow for the jQuery global and use following options:\n * jslint: loopfunc: true, browser: true, ass: true, bitwise: true, continue: true, nomen: true, plusplus: true, regexp: true, unparam: true, todo: true, white: true\n */\n/*jshint -W083 */\n\n\t// prevent another load? maybe there is a better way?\n\tif($.jstree) {\n\t\treturn;\n\t}\n\n\t/**\n\t * ### jsTree core functionality\n\t */\n\n\t// internal variables\n\tvar instance_counter = 0,\n\t\tccp_node = false,\n\t\tccp_mode = false,\n\t\tccp_inst = false,\n\t\tthemes_loaded = [],\n\t\tsrc = $('script:last').attr('src'),\n\t\tdocument = window.document; // local variable is always faster to access then a global\n\n\tvar setImmediate = window.setImmediate;\n\tvar Promise = window.Promise;\n\tif (!setImmediate && Promise) {\n\t\t// Good enough approximation of setImmediate\n\t\tsetImmediate = function (cb, arg) {\n\t\t\tPromise.resolve(arg).then(cb);\n\t\t};\n\t}\n\n\t/**\n\t * holds all jstree related functions and variables, including the actual class and methods to create, access and manipulate instances.\n\t * @name $.jstree\n\t */\n\t$.jstree = {\n\t\t/**\n\t\t * specifies the jstree version in use\n\t\t * @name $.jstree.version\n\t\t */\n\t\tversion : '3.3.17',\n\t\t/**\n\t\t * holds all the default options used when creating new instances\n\t\t * @name $.jstree.defaults\n\t\t */\n\t\tdefaults : {\n\t\t\t/**\n\t\t\t * configure which plugins will be active on an instance. Should be an array of strings, where each element is a plugin name. The default is `[]`\n\t\t\t * @name $.jstree.defaults.plugins\n\t\t\t */\n\t\t\tplugins : []\n\t\t},\n\t\t/**\n\t\t * stores all loaded jstree plugins (used internally)\n\t\t * @name $.jstree.plugins\n\t\t */\n\t\tplugins : {},\n\t\tpath : src && src.indexOf('/') !== -1 ? src.replace(/\\/[^\\/]+$/,'') : '',\n\t\tidregex : /[\\\\:&!^|()\\[\\]<>@*'+~#\";.,=\\- \\/${}%?`]/g,\n\t\troot : '#'\n\t};\n\t\n\t/**\n\t * creates a jstree instance\n\t * @name $.jstree.create(el [, options])\n\t * @param {DOMElement|jQuery|String} el the element to create the instance on, can be jQuery extended or a selector\n\t * @param {Object} options options for this instance (extends `$.jstree.defaults`)\n\t * @return {jsTree} the new instance\n\t */\n\t$.jstree.create = function (el, options) {\n\t\tvar tmp = new $.jstree.core(++instance_counter),\n\t\t\topt = options;\n\t\toptions = $.extend(true, {}, $.jstree.defaults, options);\n\t\tif(opt && opt.plugins) {\n\t\t\toptions.plugins = opt.plugins;\n\t\t}\n\t\t$.each(options.plugins, function (i, k) {\n\t\t\tif(i !== 'core') {\n\t\t\t\ttmp = tmp.plugin(k, options[k]);\n\t\t\t}\n\t\t});\n\t\t$(el).data('jstree', tmp);\n\t\ttmp.init(el, options);\n\t\treturn tmp;\n\t};\n\t/**\n\t * remove all traces of jstree from the DOM and destroy all instances\n\t * @name $.jstree.destroy()\n\t */\n\t$.jstree.destroy = function () {\n\t\t$('.jstree:jstree').jstree('destroy');\n\t\t$(document).off('.jstree');\n\t};\n\t/**\n\t * the jstree class constructor, used only internally\n\t * @private\n\t * @name $.jstree.core(id)\n\t * @param {Number} id this instance's index\n\t */\n\t$.jstree.core = function (id) {\n\t\tthis._id = id;\n\t\tthis._cnt = 0;\n\t\tthis._wrk = null;\n\t\tthis._data = {\n\t\t\tcore : {\n\t\t\t\tthemes : {\n\t\t\t\t\tname : false,\n\t\t\t\t\tdots : false,\n\t\t\t\t\ticons : false,\n\t\t\t\t\tellipsis : false\n\t\t\t\t},\n\t\t\t\tselected : [],\n\t\t\t\tlast_error : {},\n\t\t\t\tworking : false,\n\t\t\t\tworker_queue : [],\n\t\t\t\tfocused : null\n\t\t\t}\n\t\t};\n\t};\n\t/**\n\t * get a reference to an existing instance\n\t *\n\t * __Examples__\n\t *\n\t *\t// provided a container with an ID of \"tree\", and a nested node with an ID of \"branch\"\n\t *\t// all of there will return the same instance\n\t *\t$.jstree.reference('tree');\n\t *\t$.jstree.reference('#tree');\n\t *\t$.jstree.reference($('#tree'));\n\t *\t$.jstree.reference(document.getElementByID('tree'));\n\t *\t$.jstree.reference('branch');\n\t *\t$.jstree.reference('#branch');\n\t *\t$.jstree.reference($('#branch'));\n\t *\t$.jstree.reference(document.getElementByID('branch'));\n\t *\n\t * @name $.jstree.reference(needle)\n\t * @param {DOMElement|jQuery|String} needle\n\t * @return {jsTree|null} the instance or `null` if not found\n\t */\n\t$.jstree.reference = function (needle) {\n\t\tvar tmp = null,\n\t\t\tobj = null;\n\t\tif(needle && needle.id && (!needle.tagName || !needle.nodeType)) { needle = needle.id; }\n\n\t\tif(!obj || !obj.length) {\n\t\t\ttry { obj = $(needle); } catch (ignore) { }\n\t\t}\n\t\tif(!obj || !obj.length) {\n\t\t\ttry { obj = $('#' + needle.replace($.jstree.idregex,'\\\\$&')); } catch (ignore) { }\n\t\t}\n\t\tif(obj && obj.length && (obj = obj.closest('.jstree')).length && (obj = obj.data('jstree'))) {\n\t\t\ttmp = obj;\n\t\t}\n\t\telse {\n\t\t\t$('.jstree').each(function () {\n\t\t\t\tvar inst = $(this).data('jstree');\n\t\t\t\tif(inst && inst._model.data[needle]) {\n\t\t\t\t\ttmp = inst;\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn tmp;\n\t};\n\t/**\n\t * Create an instance, get an instance or invoke a command on a instance.\n\t *\n\t * If there is no instance associated with the current node a new one is created and `arg` is used to extend `$.jstree.defaults` for this new instance. There would be no return value (chaining is not broken).\n\t *\n\t * If there is an existing instance and `arg` is a string the command specified by `arg` is executed on the instance, with any additional arguments passed to the function. If the function returns a value it will be returned (chaining could break depending on function).\n\t *\n\t * If there is an existing instance and `arg` is not a string the instance itself is returned (similar to `$.jstree.reference`).\n\t *\n\t * In any other case - nothing is returned and chaining is not broken.\n\t *\n\t * __Examples__\n\t *\n\t *\t$('#tree1').jstree(); // creates an instance\n\t *\t$('#tree2').jstree({ plugins : [] }); // create an instance with some options\n\t *\t$('#tree1').jstree('open_node', '#branch_1'); // call a method on an existing instance, passing additional arguments\n\t *\t$('#tree2').jstree(); // get an existing instance (or create an instance)\n\t *\t$('#tree2').jstree(true); // get an existing instance (will not create new instance)\n\t *\t$('#branch_1').jstree().select_node('#branch_1'); // get an instance (using a nested element and call a method)\n\t *\n\t * @name $().jstree([arg])\n\t * @param {String|Object} arg\n\t * @return {Mixed}\n\t */\n\t$.fn.jstree = function (arg) {\n\t\t// check for string argument\n\t\tvar is_method\t= (typeof arg === 'string'),\n\t\t\targs\t\t= Array.prototype.slice.call(arguments, 1),\n\t\t\tresult\t\t= null;\n\t\tif(arg === true && !this.length) { return false; }\n\t\tthis.each(function () {\n\t\t\t// get the instance (if there is one) and method (if it exists)\n\t\t\tvar instance = $.jstree.reference(this),\n\t\t\t\tmethod = is_method && instance ? instance[arg] : null;\n\t\t\t// if calling a method, and method is available - execute on the instance\n\t\t\tresult = is_method && method ?\n\t\t\t\tmethod.apply(instance, args) :\n\t\t\t\tnull;\n\t\t\t// if there is no instance and no method is being called - create one\n\t\t\tif(!instance && !is_method && (arg === undefined || $.isPlainObject(arg))) {\n\t\t\t\t$.jstree.create(this, arg);\n\t\t\t}\n\t\t\t// if there is an instance and no method is called - return the instance\n\t\t\tif( (instance && !is_method) || arg === true ) {\n\t\t\t\tresult = instance || false;\n\t\t\t}\n\t\t\t// if there was a method call which returned a result - break and return the value\n\t\t\tif(result !== null && result !== undefined) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t});\n\t\t// if there was a method call with a valid return value - return that, otherwise continue the chain\n\t\treturn result !== null && result !== undefined ?\n\t\t\tresult : this;\n\t};\n\t/**\n\t * used to find elements containing an instance\n\t *\n\t * __Examples__\n\t *\n\t *\t$('div:jstree').each(function () {\n\t *\t\t$(this).jstree('destroy');\n\t *\t});\n\t *\n\t * @name $(':jstree')\n\t * @return {jQuery}\n\t */\n\t$.expr.pseudos.jstree = $.expr.createPseudo(function(search) {\n\t\treturn function(a) {\n\t\t\treturn $(a).hasClass('jstree') &&\n\t\t\t\t$(a).data('jstree') !== undefined;\n\t\t};\n\t});\n\n\t/**\n\t * stores all defaults for the core\n\t * @name $.jstree.defaults.core\n\t */\n\t$.jstree.defaults.core = {\n\t\t/**\n\t\t * data configuration\n\t\t *\n\t\t * If left as `false` the HTML inside the jstree container element is used to populate the tree (that should be an unordered list with list items).\n\t\t *\n\t\t * You can also pass in a HTML string or a JSON array here.\n\t\t *\n\t\t * It is possible to pass in a standard jQuery-like AJAX config and jstree will automatically determine if the response is JSON or HTML and use that to populate the tree.\n\t\t * In addition to the standard jQuery ajax options here you can supply functions for `data` and `url`, the functions will be run in the current instance's scope and a param will be passed indicating which node is being loaded, the return value of those functions will be used.\n\t\t *\n\t\t * The last option is to specify a function, that function will receive the node being loaded as argument and a second param which is a function which should be called with the result.\n\t\t *\n\t\t * __Examples__\n\t\t *\n\t\t *\t// AJAX\n\t\t *\t$('#tree').jstree({\n\t\t *\t\t'core' : {\n\t\t *\t\t\t'data' : {\n\t\t *\t\t\t\t'url' : '/get/children/',\n\t\t *\t\t\t\t'data' : function (node) {\n\t\t *\t\t\t\t\treturn { 'id' : node.id };\n\t\t *\t\t\t\t}\n\t\t *\t\t\t}\n\t\t *\t\t});\n\t\t *\n\t\t *\t// direct data\n\t\t *\t$('#tree').jstree({\n\t\t *\t\t'core' : {\n\t\t *\t\t\t'data' : [\n\t\t *\t\t\t\t'Simple root node',\n\t\t *\t\t\t\t{\n\t\t *\t\t\t\t\t'id' : 'node_2',\n\t\t *\t\t\t\t\t'text' : 'Root node with options',\n\t\t *\t\t\t\t\t'state' : { 'opened' : true, 'selected' : true },\n\t\t *\t\t\t\t\t'children' : [ { 'text' : 'Child 1' }, 'Child 2']\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\t *\t// function\n\t\t *\t$('#tree').jstree({\n\t\t *\t\t'core' : {\n\t\t *\t\t\t'data' : function (obj, callback) {\n\t\t *\t\t\t\tcallback.call(this, ['Root 1', 'Root 2']);\n\t\t *\t\t\t}\n\t\t *\t\t});\n\t\t *\n\t\t * @name $.jstree.defaults.core.data\n\t\t */\n\t\tdata\t\t\t: false,\n\t\t/**\n\t\t * configure the various strings used throughout the tree\n\t\t *\n\t\t * You can use an object where the key is the string you need to replace and the value is your replacement.\n\t\t * Another option is to specify a function which will be called with an argument of the needed string and should return the replacement.\n\t\t * If left as `false` no replacement is made.\n\t\t *\n\t\t * __Examples__\n\t\t *\n\t\t *\t$('#tree').jstree({\n\t\t *\t\t'core' : {\n\t\t *\t\t\t'strings' : {\n\t\t *\t\t\t\t'Loading ...' : 'Please wait ...'\n\t\t *\t\t\t}\n\t\t *\t\t}\n\t\t *\t});\n\t\t *\n\t\t * @name $.jstree.defaults.core.strings\n\t\t */\n\t\tstrings\t\t\t: false,\n\t\t/**\n\t\t * determines what happens when a user tries to modify the structure of the tree\n\t\t * If left as `false` all operations like create, rename, delete, move or copy are prevented.\n\t\t * You can set this to `true` to allow all interactions or use a function to have better control.\n\t\t *\n\t\t * __Examples__\n\t\t *\n\t\t *\t$('#tree').jstree({\n\t\t *\t\t'core' : {\n\t\t *\t\t\t'check_callback' : function (operation, node, node_parent, node_position, more) {\n\t\t *\t\t\t\t// operation can be 'create_node', 'rename_node', 'delete_node', 'move_node', 'copy_node' or 'edit'\n\t\t *\t\t\t\t// in case of 'rename_node' node_position is filled with the new node name\n\t\t *\t\t\t\treturn operation === 'rename_node' ? true : false;\n\t\t *\t\t\t}\n\t\t *\t\t}\n\t\t *\t});\n\t\t *\n\t\t * @name $.jstree.defaults.core.check_callback\n\t\t */\n\t\tcheck_callback\t: false,\n\t\t/**\n\t\t * a callback called with a single object parameter in the instance's scope when something goes wrong (operation prevented, ajax failed, etc)\n\t\t * @name $.jstree.defaults.core.error\n\t\t */\n\t\terror\t\t\t: $.noop,\n\t\t/**\n\t\t * the open / close animation duration in milliseconds - set this to `false` to disable the animation (default is `200`)\n\t\t * @name $.jstree.defaults.core.animation\n\t\t */\n\t\tanimation\t\t: 200,\n\t\t/**\n\t\t * a boolean indicating if multiple nodes can be selected\n\t\t * @name $.jstree.defaults.core.multiple\n\t\t */\n\t\tmultiple\t\t: true,\n\t\t/**\n\t\t * theme configuration object\n\t\t * @name $.jstree.defaults.core.themes\n\t\t */\n\t\tthemes\t\t\t: {\n\t\t\t/**\n\t\t\t * the name of the theme to use (if left as `false` the default theme is used)\n\t\t\t * @name $.jstree.defaults.core.themes.name\n\t\t\t */\n\t\t\tname\t\t\t: false,\n\t\t\t/**\n\t\t\t * the URL of the theme's CSS file, leave this as `false` if you have manually included the theme CSS (recommended). You can set this to `true` too which will try to autoload the theme.\n\t\t\t * @name $.jstree.defaults.core.themes.url\n\t\t\t */\n\t\t\turl\t\t\t\t: false,\n\t\t\t/**\n\t\t\t * the location of all jstree themes - only used if `url` is set to `true`\n\t\t\t * @name $.jstree.defaults.core.themes.dir\n\t\t\t */\n\t\t\tdir\t\t\t\t: false,\n\t\t\t/**\n\t\t\t * a boolean indicating if connecting dots are shown\n\t\t\t * @name $.jstree.defaults.core.themes.dots\n\t\t\t */\n\t\t\tdots\t\t\t: true,\n\t\t\t/**\n\t\t\t * a boolean indicating if node icons are shown\n\t\t\t * @name $.jstree.defaults.core.themes.icons\n\t\t\t */\n\t\t\ticons\t\t\t: true,\n\t\t\t/**\n\t\t\t * a boolean indicating if node ellipsis should be shown - this only works with a fixed with on the container\n\t\t\t * @name $.jstree.defaults.core.themes.ellipsis\n\t\t\t */\n\t\t\tellipsis\t\t: false,\n\t\t\t/**\n\t\t\t * a boolean indicating if the tree background is striped\n\t\t\t * @name $.jstree.defaults.core.themes.stripes\n\t\t\t */\n\t\t\tstripes\t\t\t: false,\n\t\t\t/**\n\t\t\t * a string (or boolean `false`) specifying the theme variant to use (if the theme supports variants)\n\t\t\t * @name $.jstree.defaults.core.themes.variant\n\t\t\t */\n\t\t\tvariant\t\t\t: false,\n\t\t\t/**\n\t\t\t * a boolean specifying if a reponsive version of the theme should kick in on smaller screens (if the theme supports it). Defaults to `false`.\n\t\t\t * @name $.jstree.defaults.core.themes.responsive\n\t\t\t */\n\t\t\tresponsive\t\t: false\n\t\t},\n\t\t/**\n\t\t * if left as `true` all parents of all selected nodes will be opened once the tree loads (so that all selected nodes are visible to the user)\n\t\t * @name $.jstree.defaults.core.expand_selected_onload\n\t\t */\n\t\texpand_selected_onload : true,\n\t\t/**\n\t\t * if left as `true` web workers will be used to parse incoming JSON data where possible, so that the UI will not be blocked by large requests. Workers are however about 30% slower. Defaults to `true`\n\t\t * @name $.jstree.defaults.core.worker\n\t\t */\n\t\tworker : true,\n\t\t/**\n\t\t * Force node text to plain text (and escape HTML). Defaults to `false`\n\t\t * @name $.jstree.defaults.core.force_text\n\t\t */\n\t\tforce_text : false,\n\t\t/**\n\t\t * Should the node be toggled if the text is double clicked. Defaults to `true`\n\t\t * @name $.jstree.defaults.core.dblclick_toggle\n\t\t */\n\t\tdblclick_toggle : true,\n\t\t/**\n\t\t * Should the loaded nodes be part of the state. Defaults to `false`\n\t\t * @name $.jstree.defaults.core.loaded_state\n\t\t */\n\t\tloaded_state : false,\n\t\t/**\n\t\t * Should the last active node be focused when the tree container is blurred and the focused again. This helps working with screen readers. Defaults to `true`\n\t\t * @name $.jstree.defaults.core.restore_focus\n\t\t */\n\t\trestore_focus : true,\n\t\t/**\n\t\t * Force to compute and set \"aria-setsize\" and \"aria-posinset\" explicitly for each treeitem. \n\t\t * Some browsers may compute incorrect elements position and produce wrong announcements for screen readers. Defaults to `false`\n\t\t * @name $.jstree.defaults.core.compute_elements_positions\n\t\t */\n\t\tcompute_elements_positions : false,\n\t\t/**\n\t\t * Default keyboard shortcuts (an object where each key is the button name or combo - like 'enter', 'ctrl-space', 'p', etc and the value is the function to execute in the instance's scope)\n\t\t * @name $.jstree.defaults.core.keyboard\n\t\t */\n\t\tkeyboard : {\n\t\t\t'ctrl-space': function (e) {\n\t\t\t\t// aria defines space only with Ctrl\n\t\t\t\te.type = \"click\";\n\t\t\t\t$(e.currentTarget).trigger(e);\n\t\t\t},\n\t\t\t'enter': function (e) {\n\t\t\t\t// enter\n\t\t\t\te.type = \"click\";\n\t\t\t\t$(e.currentTarget).trigger(e);\n\t\t\t},\n\t\t\t'left': function (e) {\n\t\t\t\t// left\n\t\t\t\te.preventDefault();\n\t\t\t\tif(this.is_open(e.currentTarget)) {\n\t\t\t\t\tthis.close_node(e.currentTarget);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tvar o = this.get_parent(e.currentTarget);\n\t\t\t\t\tif(o && o.id !== $.jstree.root) { this.get_node(o, true).children('.jstree-anchor').trigger('focus'); }\n\t\t\t\t}\n\t\t\t},\n\t\t\t'up': function (e) {\n\t\t\t\t// up\n\t\t\t\te.preventDefault();\n\t\t\t\tvar o = this.get_prev_dom(e.currentTarget);\n\t\t\t\tif(o && o.length) { o.children('.jstree-anchor').trigger('focus'); }\n\t\t\t},\n\t\t\t'right': function (e) {\n\t\t\t\t// right\n\t\t\t\te.preventDefault();\n\t\t\t\tif(this.is_closed(e.currentTarget)) {\n\t\t\t\t\tthis.open_node(e.currentTarget, function (o) { this.get_node(o, true).children('.jstree-anchor').trigger('focus'); });\n\t\t\t\t}\n\t\t\t\telse if (this.is_open(e.currentTarget)) {\n\t\t\t\t\tvar o = this.get_node(e.currentTarget, true).children('.jstree-children')[0];\n\t\t\t\t\tif(o) { $(this._firstChild(o)).children('.jstree-anchor').trigger('focus'); }\n\t\t\t\t}\n\t\t\t},\n\t\t\t'down': function (e) {\n\t\t\t\t// down\n\t\t\t\te.preventDefault();\n\t\t\t\tvar o = this.get_next_dom(e.currentTarget);\n\t\t\t\tif(o && o.length) { o.children('.jstree-anchor').trigger('focus'); }\n\t\t\t},\n\t\t\t'*': function (e) {\n\t\t\t\t// aria defines * on numpad as open_all - not very common\n\t\t\t\tthis.open_all();\n\t\t\t},\n\t\t\t'home': function (e) {\n\t\t\t\t// home\n\t\t\t\te.preventDefault();\n\t\t\t\tvar o = this._firstChild(this.get_container_ul()[0]);\n\t\t\t\tif(o) { $(o).children('.jstree-anchor').filter(':visible').trigger('focus'); }\n\t\t\t},\n\t\t\t'end': function (e) {\n\t\t\t\t// end\n\t\t\t\te.preventDefault();\n\t\t\t\tthis.element.find('.jstree-anchor').filter(':visible').last().trigger('focus');\n\t\t\t},\n\t\t\t'f2': function (e) {\n\t\t\t\t// f2 - safe to include - if check_callback is false it will fail\n\t\t\t\te.preventDefault();\n\t\t\t\tthis.edit(e.currentTarget);\n\t\t\t}\n\t\t},\n        /**\n\t\t * Should reselecting an already selected node trigger the select and changed callbacks\n\t\t * @name $.jstree.defaults.core.allow_reselect\n\t\t */\n        allow_reselect : false\n\t};\n\t$.jstree.core.prototype = {\n\t\t/**\n\t\t * used to decorate an instance with a plugin. Used internally.\n\t\t * @private\n\t\t * @name plugin(deco [, opts])\n\t\t * @param  {String} deco the plugin to decorate with\n\t\t * @param  {Object} opts options for the plugin\n\t\t * @return {jsTree}\n\t\t */\n\t\tplugin : function (deco, opts) {\n\t\t\tvar Child = $.jstree.plugins[deco];\n\t\t\tif(Child) {\n\t\t\t\tthis._data[deco] = {};\n\t\t\t\tChild.prototype = this;\n\t\t\t\treturn new Child(opts, this);\n\t\t\t}\n\t\t\treturn this;\n\t\t},\n\t\t/**\n\t\t * initialize the instance. Used internally.\n\t\t * @private\n\t\t * @name init(el, optons)\n\t\t * @param {DOMElement|jQuery|String} el the element we are transforming\n\t\t * @param {Object} options options for this instance\n\t\t * @trigger init.jstree, loading.jstree, loaded.jstree, ready.jstree, changed.jstree\n\t\t */\n\t\tinit : function (el, options) {\n\t\t\tthis._model = {\n\t\t\t\tdata : {},\n\t\t\t\tchanged : [],\n\t\t\t\tforce_full_redraw : false,\n\t\t\t\tredraw_timeout : false,\n\t\t\t\tdefault_state : {\n\t\t\t\t\tloaded : true,\n\t\t\t\t\topened : false,\n\t\t\t\t\tselected : false,\n\t\t\t\t\tdisabled : false\n\t\t\t\t}\n\t\t\t};\n\t\t\tthis._model.data[$.jstree.root] = {\n\t\t\t\tid : $.jstree.root,\n\t\t\t\tparent : null,\n\t\t\t\tparents : [],\n\t\t\t\tchildren : [],\n\t\t\t\tchildren_d : [],\n\t\t\t\tstate : { loaded : false }\n\t\t\t};\n\n\t\t\tthis.element = $(el).addClass('jstree jstree-' + this._id);\n\t\t\tthis.settings = options;\n\n\t\t\tthis._data.core.ready = false;\n\t\t\tthis._data.core.loaded = false;\n\t\t\tthis._data.core.rtl = (this.element.css(\"direction\") === \"rtl\");\n\t\t\tthis.element[this._data.core.rtl ? 'addClass' : 'removeClass'](\"jstree-rtl\");\n\t\t\tthis.element.attr('role','tree');\n\t\t\tif(this.settings.core.multiple) {\n\t\t\t\tthis.element.attr('aria-multiselectable', true);\n\t\t\t}\n\t\t\tif(!this.element.attr('tabindex')) {\n\t\t\t\tthis.element.attr('tabindex','0');\n\t\t\t}\n\n\t\t\tthis.bind();\n\t\t\t/**\n\t\t\t * triggered after all events are bound\n\t\t\t * @event\n\t\t\t * @name init.jstree\n\t\t\t */\n\t\t\tthis.trigger(\"init\");\n\n\t\t\tthis._data.core.original_container_html = this.element.find(\" > ul > li\").clone(true);\n\t\t\tthis._data.core.original_container_html\n\t\t\t\t.find(\"li\").addBack()\n\t\t\t\t.contents().filter(function() {\n\t\t\t\t\treturn this.nodeType === 3 && (!this.nodeValue || /^\\s+$/.test(this.nodeValue));\n\t\t\t\t})\n\t\t\t\t.remove();\n\t\t\tthis.element.html(\"<\"+\"ul class='jstree-container-ul jstree-children' role='group'><\"+\"li id='j\"+this._id+\"_loading' class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none'><i class='jstree-icon jstree-ocl'></i><\"+\"a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>\" + this.get_string(\"Loading ...\") + \"</a></li></ul>\");\n\t\t\tthis.element.attr('aria-activedescendant','j' + this._id + '_loading');\n\t\t\tthis._data.core.li_height = this.get_container_ul().children(\"li\").first().outerHeight() || 24;\n\t\t\tthis._data.core.node = this._create_prototype_node();\n\t\t\t/**\n\t\t\t * triggered after the loading text is shown and before loading starts\n\t\t\t * @event\n\t\t\t * @name loading.jstree\n\t\t\t */\n\t\t\tthis.trigger(\"loading\");\n\t\t\tthis.load_node($.jstree.root);\n\t\t},\n\t\t/**\n\t\t * destroy an instance\n\t\t * @name destroy()\n\t\t * @param  {Boolean} keep_html if not set to `true` the container will be emptied, otherwise the current DOM elements will be kept intact\n\t\t */\n\t\tdestroy : function (keep_html) {\n\t\t\t/**\n\t\t\t * triggered before the tree is destroyed\n\t\t\t * @event\n\t\t\t * @name destroy.jstree\n\t\t\t */\n\t\t\tthis.trigger(\"destroy\");\n\t\t\tif(this._wrk) {\n\t\t\t\ttry {\n\t\t\t\t\twindow.URL.revokeObjectURL(this._wrk);\n\t\t\t\t\tthis._wrk = null;\n\t\t\t\t}\n\t\t\t\tcatch (ignore) { }\n\t\t\t}\n\t\t\tif(!keep_html) { this.element.empty(); }\n\t\t\tthis.teardown();\n\t\t},\n\t\t/**\n\t\t * Create a prototype node\n\t\t * @name _create_prototype_node()\n\t\t * @return {DOMElement}\n\t\t */\n\t\t_create_prototype_node : function () {\n\t\t\tvar _node = document.createElement('LI'), _temp1, _temp2;\n\t\t\t_node.setAttribute('role', 'none');\n\t\t\t_temp1 = document.createElement('I');\n\t\t\t_temp1.className = 'jstree-icon jstree-ocl';\n\t\t\t_temp1.setAttribute('role', 'presentation');\n\t\t\t_node.appendChild(_temp1);\n\t\t\t_temp1 = document.createElement('A');\n\t\t\t_temp1.className = 'jstree-anchor';\n\t\t\t_temp1.setAttribute('href','#');\n\t\t\t_temp1.setAttribute('tabindex','-1');\n\t\t\t_temp1.setAttribute('role', 'treeitem');\n\t\t\t_temp2 = document.createElement('I');\n\t\t\t_temp2.className = 'jstree-icon jstree-themeicon';\n\t\t\t_temp2.setAttribute('role', 'presentation');\n\t\t\t_temp1.appendChild(_temp2);\n\t\t\t_node.appendChild(_temp1);\n\t\t\t_temp1 = _temp2 = null;\n\n\t\t\treturn _node;\n\t\t},\n\t\t_kbevent_to_func : function (e) {\n\t\t\tvar keys = {\n\t\t\t\t8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 19: \"Pause\", 27: \"Esc\",\n\t\t\t\t32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\", 36: \"Home\",\n\t\t\t\t37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"Print\", 45: \"Insert\",\n\t\t\t\t46: \"Delete\", 96: \"Numpad0\", 97: \"Numpad1\", 98: \"Numpad2\", 99 : \"Numpad3\",\n\t\t\t\t100: \"Numpad4\", 101: \"Numpad5\", 102: \"Numpad6\", 103: \"Numpad7\",\n\t\t\t\t104: \"Numpad8\", 105: \"Numpad9\", '-13': \"NumpadEnter\", 112: \"F1\",\n\t\t\t\t113: \"F2\", 114: \"F3\", 115: \"F4\", 116: \"F5\", 117: \"F6\", 118: \"F7\",\n\t\t\t\t119: \"F8\", 120: \"F9\", 121: \"F10\", 122: \"F11\", 123: \"F12\", 144: \"Numlock\",\n\t\t\t\t145: \"Scrolllock\", 16: 'Shift', 17: 'Ctrl', 18: 'Alt',\n\t\t\t\t48: '0',  49: '1',  50: '2',  51: '3',  52: '4', 53:  '5',\n\t\t\t\t54: '6',  55: '7',  56: '8',  57: '9',  59: ';',  61: '=', 65:  'a',\n\t\t\t\t66: 'b',  67: 'c',  68: 'd',  69: 'e',  70: 'f',  71: 'g', 72:  'h',\n\t\t\t\t73: 'i',  74: 'j',  75: 'k',  76: 'l',  77: 'm',  78: 'n', 79:  'o',\n\t\t\t\t80: 'p',  81: 'q',  82: 'r',  83: 's',  84: 't',  85: 'u', 86:  'v',\n\t\t\t\t87: 'w',  88: 'x',  89: 'y',  90: 'z', 107: '+', 109: '-', 110: '.',\n\t\t\t\t186: ';', 187: '=', 188: ',', 189: '-', 190: '.', 191: '/', 192: '`',\n\t\t\t\t219: '[', 220: '\\\\',221: ']', 222: \"'\", 111: '/', 106: '*', 173: '-'\n\t\t\t};\n\t\t\tvar parts = [];\n\t\t\tif (e.ctrlKey) { parts.push('ctrl'); }\n\t\t\tif (e.altKey) { parts.push('alt'); }\n            if (e.shiftKey) { parts.push('shift'); }\n\t\t\tparts.push(keys[e.which] ? keys[e.which].toLowerCase() : e.which);\n            parts = parts.sort().join('-').toLowerCase();\n            if (parts === 'shift-shift' || parts === 'ctrl-ctrl' || parts === 'alt-alt') {\n                return null;\n            }\n\n\t\t\tvar kb = this.settings.core.keyboard, i, tmp;\n\t\t\tfor (i in kb) {\n\t\t\t\tif (kb.hasOwnProperty(i)) {\n\t\t\t\t\ttmp = i;\n\t\t\t\t\tif (tmp !== '-' && tmp !== '+') {\n\t\t\t\t\t\ttmp = tmp.replace('--', '-MINUS').replace('+-', '-MINUS').replace('++', '-PLUS').replace('-+', '-PLUS');\n\t\t\t\t\t\ttmp = tmp.split(/-|\\+/).sort().join('-').replace('MINUS', '-').replace('PLUS', '+').toLowerCase();\n\t\t\t\t\t}\n\t\t\t\t\tif (tmp === parts) {\n\t\t\t\t\t\treturn kb[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\t/**\n\t\t * part of the destroying of an instance. Used internally.\n\t\t * @private\n\t\t * @name teardown()\n\t\t */\n\t\tteardown : function () {\n\t\t\tthis.unbind();\n\t\t\tthis.element\n\t\t\t\t.removeClass('jstree')\n\t\t\t\t.removeData('jstree')\n\t\t\t\t.find(\"[class^='jstree']\")\n\t\t\t\t\t.addBack()\n\t\t\t\t\t.attr(\"class\", function () { return this.className.replace(/jstree[^ ]*|$/ig,''); });\n\t\t\tthis.element = null;\n\t\t},\n\t\t/**\n\t\t * bind all events. Used internally.\n\t\t * @private\n\t\t * @name bind()\n\t\t */\n\t\tbind : function () {\n\t\t\tvar word = '',\n\t\t\t\ttout = null,\n\t\t\t\twas_click = 0;\n\t\t\tthis.element\n\t\t\t\t.on(\"dblclick.jstree\", function (e) {\n\t\t\t\t\t\tif(e.target.tagName && e.target.tagName.toLowerCase() === \"input\") { return true; }\n\t\t\t\t\t\tif(document.selection && document.selection.empty) {\n\t\t\t\t\t\t\tdocument.selection.empty();\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tif(window.getSelection) {\n\t\t\t\t\t\t\t\tvar sel = window.getSelection();\n\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\tsel.removeAllRanges();\n\t\t\t\t\t\t\t\t\tsel.collapse();\n\t\t\t\t\t\t\t\t} catch (ignore) { }\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.on(\"mousedown.jstree\", function (e) {\n\t\t\t\t\t\tif(e.target === this.element[0]) {\n\t\t\t\t\t\t\te.preventDefault(); // prevent losing focus when clicking scroll arrows (FF, Chrome)\n\t\t\t\t\t\t\twas_click = +(new Date()); // ie does not allow to prevent losing focus\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"mousedown.jstree\", \".jstree-ocl\", function (e) {\n\t\t\t\t\t\te.preventDefault(); // prevent any node inside from losing focus when clicking the open/close icon\n\t\t\t\t\t})\n\t\t\t\t.on(\"click.jstree\", \".jstree-ocl\", function (e) {\n\t\t\t\t\t\tthis.toggle_node(e.target);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"dblclick.jstree\", \".jstree-anchor\", function (e) {\n\t\t\t\t\t\tif(e.target.tagName && e.target.tagName.toLowerCase() === \"input\") { return true; }\n\t\t\t\t\t\tif(this.settings.core.dblclick_toggle) {\n\t\t\t\t\t\t\tthis.toggle_node(e.target);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"click.jstree\", \".jstree-anchor\", function (e) {\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tif(e.currentTarget !== document.activeElement) { $(e.currentTarget).trigger('focus'); }\n\t\t\t\t\t\tthis.activate_node(e.currentTarget, e);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('keydown.jstree', '.jstree-anchor', function (e) {\n\t\t\t\t\t\tif(e.target.tagName && e.target.tagName.toLowerCase() === \"input\") { return true; }\n\t\t\t\t\t\tif(this._data.core.rtl) {\n\t\t\t\t\t\t\tif(e.which === 37) { e.which = 39; }\n\t\t\t\t\t\t\telse if(e.which === 39) { e.which = 37; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar f = this._kbevent_to_func(e);\n\t\t\t\t\t\tif (f) {\n\t\t\t\t\t\t\tvar r = f.call(this, e);\n\t\t\t\t\t\t\tif (r === false || r === true) {\n\t\t\t\t\t\t\t\treturn r;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"load_node.jstree\", function (e, data) {\n\t\t\t\t\t\tif(data.status) {\n\t\t\t\t\t\t\tif(data.node.id === $.jstree.root && !this._data.core.loaded) {\n\t\t\t\t\t\t\t\tthis._data.core.loaded = true;\n\t\t\t\t\t\t\t\tif(this._firstChild(this.get_container_ul()[0])) {\n\t\t\t\t\t\t\t\t\tthis.element.attr('aria-activedescendant',this._firstChild(this.get_container_ul()[0]).id);\n\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\t * triggered after the root node is loaded for the first time\n\t\t\t\t\t\t\t\t * @event\n\t\t\t\t\t\t\t\t * @name loaded.jstree\n\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\tthis.trigger(\"loaded\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(!this._data.core.ready) {\n\t\t\t\t\t\t\t\tsetTimeout(function() {\n\t\t\t\t\t\t\t\t\tif(this.element && !this.get_container_ul().find('.jstree-loading').length) {\n\t\t\t\t\t\t\t\t\t\tthis._data.core.ready = true;\n\t\t\t\t\t\t\t\t\t\tif(this._data.core.selected.length) {\n\t\t\t\t\t\t\t\t\t\t\tif(this.settings.core.expand_selected_onload) {\n\t\t\t\t\t\t\t\t\t\t\t\tvar tmp = [], i, j;\n\t\t\t\t\t\t\t\t\t\t\t\tfor(i = 0, j = this._data.core.selected.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\t\t\t\ttmp = tmp.concat(this._model.data[this._data.core.selected[i]].parents);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\ttmp = $.vakata.array_unique(tmp);\n\t\t\t\t\t\t\t\t\t\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthis.open_node(tmp[i], false, 0);\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tthis.trigger('changed', { 'action' : 'ready', 'selected' : this._data.core.selected });\n\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\t * triggered after all nodes are finished loading\n\t\t\t\t\t\t\t\t\t\t * @event\n\t\t\t\t\t\t\t\t\t\t * @name ready.jstree\n\t\t\t\t\t\t\t\t\t\t */\n\t\t\t\t\t\t\t\t\t\tthis.trigger(\"ready\");\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}.bind(this), 0);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t// quick searching when the tree is focused\n\t\t\t\t.on('keypress.jstree', function (e) {\n\t\t\t\t\t\tif(e.target.tagName && e.target.tagName.toLowerCase() === \"input\") { return true; }\n\t\t\t\t\t\tif(tout) { clearTimeout(tout); }\n\t\t\t\t\t\ttout = setTimeout(function () {\n\t\t\t\t\t\t\tword = '';\n\t\t\t\t\t\t}, 500);\n\n\t\t\t\t\t\tvar chr = String.fromCharCode(e.which).toLowerCase(),\n\t\t\t\t\t\t\tcol = this.element.find('.jstree-anchor').filter(':visible'),\n\t\t\t\t\t\t\tind = col.index(document.activeElement) || 0,\n\t\t\t\t\t\t\tend = false;\n\t\t\t\t\t\tword += chr;\n\n\t\t\t\t\t\t// match for whole word from current node down (including the current node)\n\t\t\t\t\t\tif(word.length > 1) {\n\t\t\t\t\t\t\tcol.slice(ind).each(function (i, v) {\n\t\t\t\t\t\t\t\tif($(v).text().toLowerCase().indexOf(word) === 0) {\n\t\t\t\t\t\t\t\t\t$(v).trigger('focus');\n\t\t\t\t\t\t\t\t\tend = true;\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t\t\tif(end) { return; }\n\n\t\t\t\t\t\t\t// match for whole word from the beginning of the tree\n\t\t\t\t\t\t\tcol.slice(0, ind).each(function (i, v) {\n\t\t\t\t\t\t\t\tif($(v).text().toLowerCase().indexOf(word) === 0) {\n\t\t\t\t\t\t\t\t\t$(v).trigger('focus');\n\t\t\t\t\t\t\t\t\tend = true;\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t\t\tif(end) { return; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// list nodes that start with that letter (only if word consists of a single char)\n\t\t\t\t\t\tif(new RegExp('^' + chr.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&') + '+$').test(word)) {\n\t\t\t\t\t\t\t// search for the next node starting with that letter\n\t\t\t\t\t\t\tcol.slice(ind + 1).each(function (i, v) {\n\t\t\t\t\t\t\t\tif($(v).text().toLowerCase().charAt(0) === chr) {\n\t\t\t\t\t\t\t\t\t$(v).trigger('focus');\n\t\t\t\t\t\t\t\t\tend = true;\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t\t\tif(end) { return; }\n\n\t\t\t\t\t\t\t// search from the beginning\n\t\t\t\t\t\t\tcol.slice(0, ind + 1).each(function (i, v) {\n\t\t\t\t\t\t\t\tif($(v).text().toLowerCase().charAt(0) === chr) {\n\t\t\t\t\t\t\t\t\t$(v).trigger('focus');\n\t\t\t\t\t\t\t\t\tend = true;\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t\t\tif(end) { return; }\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t// THEME RELATED\n\t\t\t\t.on(\"init.jstree\", function () {\n\t\t\t\t\t\tvar s = this.settings.core.themes;\n\t\t\t\t\t\tthis._data.core.themes.dots\t\t\t= s.dots;\n\t\t\t\t\t\tthis._data.core.themes.stripes\t\t= s.stripes;\n\t\t\t\t\t\tthis._data.core.themes.icons\t\t= s.icons;\n\t\t\t\t\t\tthis._data.core.themes.ellipsis\t\t= s.ellipsis;\n\t\t\t\t\t\tthis.set_theme(s.name || \"default\", s.url);\n\t\t\t\t\t\tthis.set_theme_variant(s.variant);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"loading.jstree\", function () {\n\t\t\t\t\t\tthis[ this._data.core.themes.dots ? \"show_dots\" : \"hide_dots\" ]();\n\t\t\t\t\t\tthis[ this._data.core.themes.icons ? \"show_icons\" : \"hide_icons\" ]();\n\t\t\t\t\t\tthis[ this._data.core.themes.stripes ? \"show_stripes\" : \"hide_stripes\" ]();\n\t\t\t\t\t\tthis[ this._data.core.themes.ellipsis ? \"show_ellipsis\" : \"hide_ellipsis\" ]();\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('blur.jstree', '.jstree-anchor', function (e) {\n\t\t\t\t\t\tthis._data.core.focused = null;\n\t\t\t\t\t\t$(e.currentTarget).filter('.jstree-hovered').trigger('mouseleave');\n\t\t\t\t\t\tthis.element.attr('tabindex', '0');\n\t\t\t\t\t\t$(e.currentTarget).attr('tabindex', '-1');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('focus.jstree', '.jstree-anchor', function (e) {\n\t\t\t\t\t\tvar tmp = this.get_node(e.currentTarget);\n\t\t\t\t\t\tif(tmp && (tmp.id || tmp.id === 0)) {\n\t\t\t\t\t\t\tthis._data.core.focused = tmp.id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.element.find('.jstree-hovered').not(e.currentTarget).trigger('mouseleave');\n\t\t\t\t\t\t$(e.currentTarget).trigger('mouseenter');\n\t\t\t\t\t\tthis.element.attr('tabindex', '-1');\n\t\t\t\t\t\t$(e.currentTarget).attr('tabindex', '0');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('focus.jstree', function () {\n\t\t\t\t\t\tif(+(new Date()) - was_click > 500 && !this._data.core.focused && this.settings.core.restore_focus) {\n\t\t\t\t\t\t\twas_click = 0;\n\t\t\t\t\t\t\tvar act = this.get_node(this.element.attr('aria-activedescendant'), true);\n\t\t\t\t\t\t\tif(act) {\n\t\t\t\t\t\t\t\tact.find('> .jstree-anchor').trigger('focus');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('mouseenter.jstree', '.jstree-anchor', function (e) {\n\t\t\t\t\t\tthis.hover_node(e.currentTarget);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on('mouseleave.jstree', '.jstree-anchor', function (e) {\n\t\t\t\t\t\tthis.dehover_node(e.currentTarget);\n\t\t\t\t\t}.bind(this));\n\t\t},\n\t\t/**\n\t\t * part of the destroying of an instance. Used internally.\n\t\t * @private\n\t\t * @name unbind()\n\t\t */\n\t\tunbind : function () {\n\t\t\tthis.element.off('.jstree');\n\t\t\t$(document).off('.jstree-' + this._id);\n\t\t},\n\t\t/**\n\t\t * trigger an event. Used internally.\n\t\t * @private\n\t\t * @name trigger(ev [, data])\n\t\t * @param  {String} ev the name of the event to trigger\n\t\t * @param  {Object} data additional data to pass with the event\n\t\t */\n\t\ttrigger : function (ev, data) {\n\t\t\tif(!data) {\n\t\t\t\tdata = {};\n\t\t\t}\n\t\t\tdata.instance = this;\n\t\t\tthis.element.triggerHandler(ev.replace('.jstree','') + '.jstree', data);\n\t\t},\n\t\t/**\n\t\t * returns the jQuery extended instance container\n\t\t * @name get_container()\n\t\t * @return {jQuery}\n\t\t */\n\t\tget_container : function () {\n\t\t\treturn this.element;\n\t\t},\n\t\t/**\n\t\t * returns the jQuery extended main UL node inside the instance container. Used internally.\n\t\t * @private\n\t\t * @name get_container_ul()\n\t\t * @return {jQuery}\n\t\t */\n\t\tget_container_ul : function () {\n\t\t\treturn this.element.children(\".jstree-children\").first();\n\t\t},\n\t\t/**\n\t\t * gets string replacements (localization). Used internally.\n\t\t * @private\n\t\t * @name get_string(key)\n\t\t * @param  {String} key\n\t\t * @return {String}\n\t\t */\n\t\tget_string : function (key) {\n\t\t\tvar a = this.settings.core.strings;\n\t\t\tif($.vakata.is_function(a)) { return a.call(this, key); }\n\t\t\tif(a && a[key]) { return a[key]; }\n\t\t\treturn key;\n\t\t},\n\t\t/**\n\t\t * gets the first child of a DOM node. Used internally.\n\t\t * @private\n\t\t * @name _firstChild(dom)\n\t\t * @param  {DOMElement} dom\n\t\t * @return {DOMElement}\n\t\t */\n\t\t_firstChild : function (dom) {\n\t\t\tdom = dom ? dom.firstChild : null;\n\t\t\twhile(dom !== null && dom.nodeType !== 1) {\n\t\t\t\tdom = dom.nextSibling;\n\t\t\t}\n\t\t\treturn dom;\n\t\t},\n\t\t/**\n\t\t * gets the next sibling of a DOM node. Used internally.\n\t\t * @private\n\t\t * @name _nextSibling(dom)\n\t\t * @param  {DOMElement} dom\n\t\t * @return {DOMElement}\n\t\t */\n\t\t_nextSibling : function (dom) {\n\t\t\tdom = dom ? dom.nextSibling : null;\n\t\t\twhile(dom !== null && dom.nodeType !== 1) {\n\t\t\t\tdom = dom.nextSibling;\n\t\t\t}\n\t\t\treturn dom;\n\t\t},\n\t\t/**\n\t\t * gets the previous sibling of a DOM node. Used internally.\n\t\t * @private\n\t\t * @name _previousSibling(dom)\n\t\t * @param  {DOMElement} dom\n\t\t * @return {DOMElement}\n\t\t */\n\t\t_previousSibling : function (dom) {\n\t\t\tdom = dom ? dom.previousSibling : null;\n\t\t\twhile(dom !== null && dom.nodeType !== 1) {\n\t\t\t\tdom = dom.previousSibling;\n\t\t\t}\n\t\t\treturn dom;\n\t\t},\n\t\t/**\n\t\t * get the JSON representation of a node (or the actual jQuery extended DOM node) by using any input (child DOM element, ID string, selector, etc)\n\t\t * @name get_node(obj [, as_dom])\n\t\t * @param  {mixed} obj\n\t\t * @param  {Boolean} as_dom\n\t\t * @return {Object|jQuery}\n\t\t */\n\t\tget_node : function (obj, as_dom) {\n\t\t\tif(obj && (obj.id || obj.id === 0)) {\n\t\t\t\tobj = obj.id;\n\t\t\t}\n\t\t\tif (obj instanceof $ && obj.length && obj[0].id) {\n\t\t\t\tobj = obj[0].id;\n\t\t\t}\n\t\t\tvar dom;\n\t\t\ttry {\n\t\t\t\tif(this._model.data[obj]) {\n\t\t\t\t\tobj = this._model.data[obj];\n\t\t\t\t}\n\t\t\t\telse if(typeof obj === \"string\" && this._model.data[obj.replace(/^#/, '')]) {\n\t\t\t\t\tobj = this._model.data[obj.replace(/^#/, '')];\n\t\t\t\t}\n\t\t\t\telse if(typeof obj === \"string\" && (dom = $('#' + obj.replace($.jstree.idregex,'\\\\$&'), this.element)).length && this._model.data[dom.closest('.jstree-node').attr('id')]) {\n\t\t\t\t\tobj = this._model.data[dom.closest('.jstree-node').attr('id')];\n\t\t\t\t}\n\t\t\t\telse if((dom = this.element.find(obj)).length && this._model.data[dom.closest('.jstree-node').attr('id')]) {\n\t\t\t\t\tobj = this._model.data[dom.closest('.jstree-node').attr('id')];\n\t\t\t\t}\n\t\t\t\telse if((dom = this.element.find(obj)).length && dom.hasClass('jstree')) {\n\t\t\t\t\tobj = this._model.data[$.jstree.root];\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\n\t\t\t\tif(as_dom) {\n\t\t\t\t\tobj = obj.id === $.jstree.root ? this.element : $('#' + obj.id.replace($.jstree.idregex,'\\\\$&'), this.element);\n\t\t\t\t}\n\t\t\t\treturn obj;\n\t\t\t} catch (ex) { return false; }\n\t\t},\n\t\t/**\n\t\t * get the path to a node, either consisting of node texts, or of node IDs, optionally glued together (otherwise an array)\n\t\t * @name get_path(obj [, glue, ids])\n\t\t * @param  {mixed} obj the node\n\t\t * @param  {String} glue if you want the path as a string - pass the glue here (for example '/'), if a falsy value is supplied here, an array is returned\n\t\t * @param  {Boolean} ids if set to true build the path using ID, otherwise node text is used\n\t\t * @return {mixed}\n\t\t */\n\t\tget_path : function (obj, glue, ids) {\n\t\t\tobj = obj.parents ? obj : this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root || !obj.parents) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar i, j, p = [];\n\t\t\tp.push(ids ? obj.id : obj.text);\n\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\tp.push(ids ? obj.parents[i] : this.get_text(obj.parents[i]));\n\t\t\t}\n\t\t\tp = p.reverse().slice(1);\n\t\t\treturn glue ? p.join(glue) : p;\n\t\t},\n\t\t/**\n\t\t * get the next visible node that is below the `obj` node. If `strict` is set to `true` only sibling nodes are returned.\n\t\t * @name get_next_dom(obj [, strict])\n\t\t * @param  {mixed} obj\n\t\t * @param  {Boolean} strict\n\t\t * @return {jQuery}\n\t\t */\n\t\tget_next_dom : function (obj, strict) {\n\t\t\tvar tmp;\n\t\t\tobj = this.get_node(obj, true);\n\t\t\tif(obj[0] === this.element[0]) {\n\t\t\t\ttmp = this._firstChild(this.get_container_ul()[0]);\n\t\t\t\twhile (tmp && tmp.offsetHeight === 0) {\n\t\t\t\t\ttmp = this._nextSibling(tmp);\n\t\t\t\t}\n\t\t\t\treturn tmp ? $(tmp) : false;\n\t\t\t}\n\t\t\tif(!obj || !obj.length) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(strict) {\n\t\t\t\ttmp = obj[0];\n\t\t\t\tdo {\n\t\t\t\t\ttmp = this._nextSibling(tmp);\n\t\t\t\t} while (tmp && tmp.offsetHeight === 0);\n\t\t\t\treturn tmp ? $(tmp) : false;\n\t\t\t}\n\t\t\tif(obj.hasClass(\"jstree-open\")) {\n\t\t\t\ttmp = this._firstChild(obj.children('.jstree-children')[0]);\n\t\t\t\twhile (tmp && tmp.offsetHeight === 0) {\n\t\t\t\t\ttmp = this._nextSibling(tmp);\n\t\t\t\t}\n\t\t\t\tif(tmp !== null) {\n\t\t\t\t\treturn $(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\ttmp = obj[0];\n\t\t\tdo {\n\t\t\t\ttmp = this._nextSibling(tmp);\n\t\t\t} while (tmp && tmp.offsetHeight === 0);\n\t\t\tif(tmp !== null) {\n\t\t\t\treturn $(tmp);\n\t\t\t}\n\t\t\treturn obj.parentsUntil(\".jstree\",\".jstree-node\").nextAll(\".jstree-node:visible\").first();\n\t\t},\n\t\t/**\n\t\t * get the previous visible node that is above the `obj` node. If `strict` is set to `true` only sibling nodes are returned.\n\t\t * @name get_prev_dom(obj [, strict])\n\t\t * @param  {mixed} obj\n\t\t * @param  {Boolean} strict\n\t\t * @return {jQuery}\n\t\t */\n\t\tget_prev_dom : function (obj, strict) {\n\t\t\tvar tmp;\n\t\t\tobj = this.get_node(obj, true);\n\t\t\tif(obj[0] === this.element[0]) {\n\t\t\t\ttmp = this.get_container_ul()[0].lastChild;\n\t\t\t\twhile (tmp && tmp.offsetHeight === 0) {\n\t\t\t\t\ttmp = this._previousSibling(tmp);\n\t\t\t\t}\n\t\t\t\treturn tmp ? $(tmp) : false;\n\t\t\t}\n\t\t\tif(!obj || !obj.length) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(strict) {\n\t\t\t\ttmp = obj[0];\n\t\t\t\tdo {\n\t\t\t\t\ttmp = this._previousSibling(tmp);\n\t\t\t\t} while (tmp && tmp.offsetHeight === 0);\n\t\t\t\treturn tmp ? $(tmp) : false;\n\t\t\t}\n\t\t\ttmp = obj[0];\n\t\t\tdo {\n\t\t\t\ttmp = this._previousSibling(tmp);\n\t\t\t} while (tmp && tmp.offsetHeight === 0);\n\t\t\tif(tmp !== null) {\n\t\t\t\tobj = $(tmp);\n\t\t\t\twhile(obj.hasClass(\"jstree-open\")) {\n\t\t\t\t\tobj = obj.children(\".jstree-children\").first().children(\".jstree-node:visible:last\");\n\t\t\t\t}\n\t\t\t\treturn obj;\n\t\t\t}\n\t\t\ttmp = obj[0].parentNode.parentNode;\n\t\t\treturn tmp && tmp.className && tmp.className.indexOf('jstree-node') !== -1 ? $(tmp) : false;\n\t\t},\n\t\t/**\n\t\t * get the parent ID of a node\n\t\t * @name get_parent(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {String}\n\t\t */\n\t\tget_parent : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn obj.parent;\n\t\t},\n\t\t/**\n\t\t * get a jQuery collection of all the children of a node (node must be rendered), returns false on error\n\t\t * @name get_children_dom(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {jQuery}\n\t\t */\n\t\tget_children_dom : function (obj) {\n\t\t\tobj = this.get_node(obj, true);\n\t\t\tif(obj[0] === this.element[0]) {\n\t\t\t\treturn this.get_container_ul().children(\".jstree-node\");\n\t\t\t}\n\t\t\tif(!obj || !obj.length) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn obj.children(\".jstree-children\").children(\".jstree-node\");\n\t\t},\n\t\t/**\n\t\t * checks if a node has children\n\t\t * @name is_parent(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_parent : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && (obj.state.loaded === false || obj.children.length > 0);\n\t\t},\n\t\t/**\n\t\t * checks if a node is loaded (its children are available)\n\t\t * @name is_loaded(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_loaded : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && obj.state.loaded;\n\t\t},\n\t\t/**\n\t\t * check if a node is currently loading (fetching children)\n\t\t * @name is_loading(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_loading : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && obj.state && obj.state.loading;\n\t\t},\n\t\t/**\n\t\t * check if a node is opened\n\t\t * @name is_open(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_open : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && obj.state.opened;\n\t\t},\n\t\t/**\n\t\t * check if a node is in a closed state\n\t\t * @name is_closed(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_closed : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && this.is_parent(obj) && !obj.state.opened;\n\t\t},\n\t\t/**\n\t\t * check if a node has no children\n\t\t * @name is_leaf(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_leaf : function (obj) {\n\t\t\treturn !this.is_parent(obj);\n\t\t},\n\t\t/**\n\t\t * loads a node (fetches its children using the `core.data` setting). Multiple nodes can be passed to by using an array.\n\t\t * @name load_node(obj [, callback])\n\t\t * @param  {mixed} obj\n\t\t * @param  {function} callback a function to be executed once loading is complete, the function is executed in the instance's scope and receives two arguments - the node and a boolean status\n\t\t * @return {Boolean}\n\t\t * @trigger load_node.jstree\n\t\t */\n\t\tload_node : function (obj, callback) {\n\t\t\tvar dom = this.get_node(obj, true), k, l, i, j, c;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tthis._load_nodes(obj.slice(), callback);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) {\n\t\t\t\tif(callback) { callback.call(this, obj, false); }\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t// if(obj.state.loading) { } // the node is already loading - just wait for it to load and invoke callback? but if called implicitly it should be loaded again?\n\t\t\tif(obj.state.loaded) {\n\t\t\t\tobj.state.loaded = false;\n\t\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\t\tthis._model.data[obj.parents[i]].children_d = $.vakata.array_filter(this._model.data[obj.parents[i]].children_d, function (v) {\n\t\t\t\t\t\treturn $.inArray(v, obj.children_d) === -1;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tfor(k = 0, l = obj.children_d.length; k < l; k++) {\n\t\t\t\t\tif(this._model.data[obj.children_d[k]].state.selected) {\n\t\t\t\t\t\tc = true;\n\t\t\t\t\t}\n\t\t\t\t\tdelete this._model.data[obj.children_d[k]];\n\t\t\t\t}\n\t\t\t\tif (c) {\n\t\t\t\t\tthis._data.core.selected = $.vakata.array_filter(this._data.core.selected, function (v) {\n\t\t\t\t\t\treturn $.inArray(v, obj.children_d) === -1;\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tobj.children = [];\n\t\t\t\tobj.children_d = [];\n\t\t\t\tif(c) {\n\t\t\t\t\tthis.trigger('changed', { 'action' : 'load_node', 'node' : obj, 'selected' : this._data.core.selected });\n\t\t\t\t}\n\t\t\t}\n\t\t\tobj.state.failed = false;\n\t\t\tobj.state.loading = true;\n\t\t\tif (obj.id !== $.jstree.root) {\n\t\t\t\tdom.children(\".jstree-anchor\").attr('aria-busy', true);\n\t\t\t} else {\n\t\t\t\tdom.attr('aria-busy', true);\n\t\t\t}\n\t\t\tdom.addClass(\"jstree-loading\");\n\t\t\tthis._load_node(obj, function (status) {\n\t\t\t\tobj = this._model.data[obj.id];\n\t\t\t\tobj.state.loading = false;\n\t\t\t\tobj.state.loaded = status;\n\t\t\t\tobj.state.failed = !obj.state.loaded;\n\t\t\t\tvar dom = this.get_node(obj, true), i = 0, j = 0, m = this._model.data, has_children = false;\n\t\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\t\tif(m[obj.children[i]] && !m[obj.children[i]].state.hidden) {\n\t\t\t\t\t\thas_children = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(obj.state.loaded && dom && dom.length) {\n\t\t\t\t\tdom.removeClass('jstree-closed jstree-open jstree-leaf');\n\t\t\t\t\tif (!has_children) {\n\t\t\t\t\t\tdom.addClass('jstree-leaf');\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif (obj.id !== '#') {\n\t\t\t\t\t\t\tdom.addClass(obj.state.opened ? 'jstree-open' : 'jstree-closed');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (obj.id !== $.jstree.root) {\n\t\t\t\t\tdom.children(\".jstree-anchor\").attr('aria-busy', false);\n\t\t\t\t} else {\n\t\t\t\t\tdom.attr('aria-busy', false);\n\t\t\t\t}\n\t\t\t\tdom.removeClass(\"jstree-loading\");\n\t\t\t\t/**\n\t\t\t\t * triggered after a node is loaded\n\t\t\t\t * @event\n\t\t\t\t * @name load_node.jstree\n\t\t\t\t * @param {Object} node the node that was loading\n\t\t\t\t * @param {Boolean} status was the node loaded successfully\n\t\t\t\t */\n\t\t\t\tthis.trigger('load_node', { \"node\" : obj, \"status\" : status });\n\t\t\t\tif(callback) {\n\t\t\t\t\tcallback.call(this, obj, status);\n\t\t\t\t}\n\t\t\t}.bind(this));\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * load an array of nodes (will also load unavailable nodes as soon as they appear in the structure). Used internally.\n\t\t * @private\n\t\t * @name _load_nodes(nodes [, callback])\n\t\t * @param  {array} nodes\n\t\t * @param  {function} callback a function to be executed once loading is complete, the function is executed in the instance's scope and receives one argument - the array passed to _load_nodes\n\t\t */\n\t\t_load_nodes : function (nodes, callback, is_callback, force_reload) {\n\t\t\tvar r = true,\n\t\t\t\tc = function () { this._load_nodes(nodes, callback, true); },\n\t\t\t\tm = this._model.data, i, j, tmp = [];\n\t\t\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\tif(m[nodes[i]] && ( (!m[nodes[i]].state.loaded && !m[nodes[i]].state.failed) || (!is_callback && force_reload) )) {\n\t\t\t\t\tif(!this.is_loading(nodes[i])) {\n\t\t\t\t\t\tthis.load_node(nodes[i], c);\n\t\t\t\t\t}\n\t\t\t\t\tr = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r) {\n\t\t\t\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\t\tif(m[nodes[i]] && m[nodes[i]].state.loaded) {\n\t\t\t\t\t\ttmp.push(nodes[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(callback && !callback.done) {\n\t\t\t\t\tcallback.call(this, tmp);\n\t\t\t\t\tcallback.done = true;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * loads all unloaded nodes\n\t\t * @name load_all([obj, callback])\n\t\t * @param {mixed} obj the node to load recursively, omit to load all nodes in the tree\n\t\t * @param {function} callback a function to be executed once loading all the nodes is complete,\n\t\t * @trigger load_all.jstree\n\t\t */\n\t\tload_all : function (obj, callback) {\n\t\t\tif(!obj) { obj = $.jstree.root; }\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) { return false; }\n\t\t\tvar to_load = [],\n\t\t\t\tm = this._model.data,\n\t\t\t\tc = m[obj.id].children_d,\n\t\t\t\ti, j;\n\t\t\tif(obj.state && !obj.state.loaded) {\n\t\t\t\tto_load.push(obj.id);\n\t\t\t}\n\t\t\tfor(i = 0, j = c.length; i < j; i++) {\n\t\t\t\tif(m[c[i]] && m[c[i]].state && !m[c[i]].state.loaded) {\n\t\t\t\t\tto_load.push(c[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(to_load.length) {\n\t\t\t\tthis._load_nodes(to_load, function () {\n\t\t\t\t\tthis.load_all(obj, callback);\n\t\t\t\t});\n\t\t\t}\n\t\t\telse {\n\t\t\t\t/**\n\t\t\t\t * triggered after a load_all call completes\n\t\t\t\t * @event\n\t\t\t\t * @name load_all.jstree\n\t\t\t\t * @param {Object} node the recursively loaded node\n\t\t\t\t */\n\t\t\t\tif(callback) { callback.call(this, obj); }\n\t\t\t\tthis.trigger('load_all', { \"node\" : obj });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * handles the actual loading of a node. Used only internally.\n\t\t * @private\n\t\t * @name _load_node(obj [, callback])\n\t\t * @param  {mixed} obj\n\t\t * @param  {function} callback a function to be executed once loading is complete, the function is executed in the instance's scope and receives one argument - a boolean status\n\t\t * @return {Boolean}\n\t\t */\n\t\t_load_node : function (obj, callback) {\n\t\t\tvar s = this.settings.core.data, t;\n\t\t\tvar notTextOrCommentNode = function notTextOrCommentNode () {\n\t\t\t\treturn this.nodeType !== 3 && this.nodeType !== 8;\n\t\t\t};\n\t\t\t// use original HTML\n\t\t\tif(!s) {\n\t\t\t\tif(obj.id === $.jstree.root) {\n\t\t\t\t\treturn this._append_html_data(obj, this._data.core.original_container_html.clone(true), function (status) {\n\t\t\t\t\t\tcallback.call(this, status);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\treturn callback.call(this, false);\n\t\t\t\t}\n\t\t\t\t// return callback.call(this, obj.id === $.jstree.root ? this._append_html_data(obj, this._data.core.original_container_html.clone(true)) : false);\n\t\t\t}\n\t\t\tif($.vakata.is_function(s)) {\n\t\t\t\treturn s.call(this, obj, function (d) {\n\t\t\t\t\tif(d === false) {\n\t\t\t\t\t\tcallback.call(this, false);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis[typeof d === 'string' ? '_append_html_data' : '_append_json_data'](obj, typeof d === 'string' ? $($.parseHTML(d)).filter(notTextOrCommentNode) : d, function (status) {\n\t\t\t\t\t\t\tcallback.call(this, status);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\t// return d === false ? callback.call(this, false) : callback.call(this, this[typeof d === 'string' ? '_append_html_data' : '_append_json_data'](obj, typeof d === 'string' ? $(d) : d));\n\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t\tif(typeof s === 'object') {\n\t\t\t\tif(s.url) {\n\t\t\t\t\ts = $.extend(true, {}, s);\n\t\t\t\t\tif($.vakata.is_function(s.url)) {\n\t\t\t\t\t\ts.url = s.url.call(this, obj);\n\t\t\t\t\t}\n\t\t\t\t\tif($.vakata.is_function(s.data)) {\n\t\t\t\t\t\ts.data = s.data.call(this, obj);\n\t\t\t\t\t}\n\t\t\t\t\treturn $.ajax(s)\n\t\t\t\t\t\t.done(function (d,t,x) {\n\t\t\t\t\t\t\t\tvar type = x.getResponseHeader('Content-Type');\n\t\t\t\t\t\t\t\tif((type && type.indexOf('json') !== -1) || typeof d === \"object\") {\n\t\t\t\t\t\t\t\t\treturn this._append_json_data(obj, d, function (status) { callback.call(this, status); });\n\t\t\t\t\t\t\t\t\t//return callback.call(this, this._append_json_data(obj, d));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif((type && type.indexOf('html') !== -1) || typeof d === \"string\") {\n\t\t\t\t\t\t\t\t\treturn this._append_html_data(obj, $($.parseHTML(d)).filter(notTextOrCommentNode), function (status) { callback.call(this, status); });\n\t\t\t\t\t\t\t\t\t// return callback.call(this, this._append_html_data(obj, $(d)));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'ajax', 'plugin' : 'core', 'id' : 'core_04', 'reason' : 'Could not load node', 'data' : JSON.stringify({ 'id' : obj.id, 'xhr' : x }) };\n\t\t\t\t\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\t\t\t\t\treturn callback.call(this, false);\n\t\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t\t.fail(function (f) {\n\t\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'ajax', 'plugin' : 'core', 'id' : 'core_04', 'reason' : 'Could not load node', 'data' : JSON.stringify({ 'id' : obj.id, 'xhr' : f }) };\n\t\t\t\t\t\t\t\tcallback.call(this, false);\n\t\t\t\t\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t}\n\t\t\t\tif ($.vakata.is_array(s)) {\n\t\t\t\t\tt = $.extend(true, [], s);\n\t\t\t\t} else if ($.isPlainObject(s)) {\n\t\t\t\t\tt = $.extend(true, {}, s);\n\t\t\t\t} else {\n\t\t\t\t\tt = s;\n\t\t\t\t}\n\t\t\t\tif(obj.id === $.jstree.root) {\n\t\t\t\t\treturn this._append_json_data(obj, t, function (status) {\n\t\t\t\t\t\tcallback.call(this, status);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis._data.core.last_error = { 'error' : 'nodata', 'plugin' : 'core', 'id' : 'core_05', 'reason' : 'Could not load node', 'data' : JSON.stringify({ 'id' : obj.id }) };\n\t\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\t\treturn callback.call(this, false);\n\t\t\t\t}\n\t\t\t\t//return callback.call(this, (obj.id === $.jstree.root ? this._append_json_data(obj, t) : false) );\n\t\t\t}\n\t\t\tif(typeof s === 'string') {\n\t\t\t\tif(obj.id === $.jstree.root) {\n\t\t\t\t\treturn this._append_html_data(obj, $($.parseHTML(s)).filter(notTextOrCommentNode), function (status) {\n\t\t\t\t\t\tcallback.call(this, status);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis._data.core.last_error = { 'error' : 'nodata', 'plugin' : 'core', 'id' : 'core_06', 'reason' : 'Could not load node', 'data' : JSON.stringify({ 'id' : obj.id }) };\n\t\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\t\treturn callback.call(this, false);\n\t\t\t\t}\n\t\t\t\t//return callback.call(this, (obj.id === $.jstree.root ? this._append_html_data(obj, $(s)) : false) );\n\t\t\t}\n\t\t\treturn callback.call(this, false);\n\t\t},\n\t\t/**\n\t\t * adds a node to the list of nodes to redraw. Used only internally.\n\t\t * @private\n\t\t * @name _node_changed(obj [, callback])\n\t\t * @param  {mixed} obj\n\t\t */\n\t\t_node_changed : function (obj) {\n\t\t\tobj = this.get_node(obj);\n      if (obj && $.inArray(obj.id, this._model.changed) === -1) {\n\t\t\t\tthis._model.changed.push(obj.id);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * appends HTML content to the tree. Used internally.\n\t\t * @private\n\t\t * @name _append_html_data(obj, data)\n\t\t * @param  {mixed} obj the node to append to\n\t\t * @param  {String} data the HTML string to parse and append\n\t\t * @trigger model.jstree, changed.jstree\n\t\t */\n\t\t_append_html_data : function (dom, data, cb) {\n\t\t\tdom = this.get_node(dom);\n\t\t\tdom.children = [];\n\t\t\tdom.children_d = [];\n\t\t\tvar dat = data.is('ul') ? data.children() : data,\n\t\t\t\tpar = dom.id,\n\t\t\t\tchd = [],\n\t\t\t\tdpc = [],\n\t\t\t\tm = this._model.data,\n\t\t\t\tp = m[par],\n\t\t\t\ts = this._data.core.selected.length,\n\t\t\t\ttmp, i, j;\n\t\t\tdat.each(function (i, v) {\n\t\t\t\ttmp = this._parse_model_from_html($(v), par, p.parents.concat());\n\t\t\t\tif(tmp) {\n\t\t\t\t\tchd.push(tmp);\n\t\t\t\t\tdpc.push(tmp);\n\t\t\t\t\tif(m[tmp].children_d.length) {\n\t\t\t\t\t\tdpc = dpc.concat(m[tmp].children_d);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}.bind(this));\n\t\t\tp.children = chd;\n\t\t\tp.children_d = dpc;\n\t\t\tfor(i = 0, j = p.parents.length; i < j; i++) {\n\t\t\t\tm[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when new data is inserted to the tree model\n\t\t\t * @event\n\t\t\t * @name model.jstree\n\t\t\t * @param {Array} nodes an array of node IDs\n\t\t\t * @param {String} parent the parent ID of the nodes\n\t\t\t */\n\t\t\tthis.trigger('model', { \"nodes\" : dpc, 'parent' : par });\n\t\t\tif(par !== $.jstree.root) {\n\t\t\t\tthis._node_changed(par);\n\t\t\t\tthis.redraw();\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.get_container_ul().children('.jstree-initial-node').remove();\n\t\t\t\tthis.redraw(true);\n\t\t\t}\n\t\t\tif(this._data.core.selected.length !== s) {\n\t\t\t\tthis.trigger('changed', { 'action' : 'model', 'selected' : this._data.core.selected });\n\t\t\t}\n\t\t\tcb.call(this, true);\n\t\t},\n\t\t/**\n\t\t * appends JSON content to the tree. Used internally.\n\t\t * @private\n\t\t * @name _append_json_data(obj, data)\n\t\t * @param  {mixed} obj the node to append to\n\t\t * @param  {String} data the JSON object to parse and append\n\t\t * @param  {Boolean} force_processing internal param - do not set\n\t\t * @trigger model.jstree, changed.jstree\n\t\t */\n\t\t_append_json_data : function (dom, data, cb, force_processing) {\n\t\t\tif(this.element === null) { return; }\n\t\t\tdom = this.get_node(dom);\n\t\t\tdom.children = [];\n\t\t\tdom.children_d = [];\n\t\t\t// *%$@!!!\n\t\t\tif(data.d) {\n\t\t\t\tdata = data.d;\n\t\t\t\tif(typeof data === \"string\") {\n\t\t\t\t\tdata = JSON.parse(data);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(!$.vakata.is_array(data)) { data = [data]; }\n\t\t\tvar w = null,\n\t\t\t\targs = {\n\t\t\t\t\t'df'\t: this._model.default_state,\n\t\t\t\t\t'dat'\t: data,\n\t\t\t\t\t'par'\t: dom.id,\n\t\t\t\t\t'm'\t\t: this._model.data,\n\t\t\t\t\t't_id'\t: this._id,\n\t\t\t\t\t't_cnt'\t: this._cnt,\n\t\t\t\t\t'sel'\t: this._data.core.selected\n\t\t\t\t},\n\t\t\t\tinst = this,\n\t\t\t\tfunc = function (data, undefined) {\n\t\t\t\t\tif(data.data) { data = data.data; }\n\t\t\t\t\tvar dat = data.dat,\n\t\t\t\t\t\tpar = data.par,\n\t\t\t\t\t\tchd = [],\n\t\t\t\t\t\tdpc = [],\n\t\t\t\t\t\tadd = [],\n\t\t\t\t\t\tdf = data.df,\n\t\t\t\t\t\tt_id = data.t_id,\n\t\t\t\t\t\tt_cnt = data.t_cnt,\n\t\t\t\t\t\tm = data.m,\n\t\t\t\t\t\tp = m[par],\n\t\t\t\t\t\tsel = data.sel,\n\t\t\t\t\t\ttmp, i, j, rslt,\n\t\t\t\t\t\tparse_flat = function (d, p, ps) {\n\t\t\t\t\t\t\tif(!ps) { ps = []; }\n\t\t\t\t\t\t\telse { ps = ps.concat(); }\n\t\t\t\t\t\t\tif(p) { ps.unshift(p); }\n\t\t\t\t\t\t\tvar tid = d.id.toString(),\n\t\t\t\t\t\t\t\ti, j, c, e,\n\t\t\t\t\t\t\t\ttmp = {\n\t\t\t\t\t\t\t\t\tid\t\t\t: tid,\n\t\t\t\t\t\t\t\t\ttext\t\t: d.text || '',\n\t\t\t\t\t\t\t\t\ticon\t\t: d.icon !== undefined ? d.icon : true,\n\t\t\t\t\t\t\t\t\tparent\t\t: p,\n\t\t\t\t\t\t\t\t\tparents\t\t: ps,\n\t\t\t\t\t\t\t\t\tchildren\t: d.children || [],\n\t\t\t\t\t\t\t\t\tchildren_d\t: d.children_d || [],\n\t\t\t\t\t\t\t\t\tdata\t\t: d.data,\n\t\t\t\t\t\t\t\t\tstate\t\t: { },\n\t\t\t\t\t\t\t\t\tli_attr\t\t: { id : false },\n\t\t\t\t\t\t\t\t\ta_attr\t\t: { href : '#' },\n\t\t\t\t\t\t\t\t\toriginal\t: false\n\t\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tfor(i in df) {\n\t\t\t\t\t\t\t\tif(df.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\ttmp.state[i] = df[i];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && d.data && d.data.jstree && d.data.jstree.icon) {\n\t\t\t\t\t\t\t\ttmp.icon = d.data.jstree.icon;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(tmp.icon === undefined || tmp.icon === null || tmp.icon === \"\") {\n\t\t\t\t\t\t\t\ttmp.icon = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && d.data) {\n\t\t\t\t\t\t\t\ttmp.data = d.data;\n\t\t\t\t\t\t\t\tif(d.data.jstree) {\n\t\t\t\t\t\t\t\t\tfor(i in d.data.jstree) {\n\t\t\t\t\t\t\t\t\t\tif(d.data.jstree.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.state[i] = d.data.jstree[i];\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\tif(d && typeof d.state === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.state) {\n\t\t\t\t\t\t\t\t\tif(d.state.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.state[i] = d.state[i];\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\tif(d && typeof d.li_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.li_attr) {\n\t\t\t\t\t\t\t\t\tif(d.li_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.li_attr[i] = d.li_attr[i];\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\tif(!tmp.li_attr.id) {\n\t\t\t\t\t\t\t\ttmp.li_attr.id = tid;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && typeof d.a_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.a_attr) {\n\t\t\t\t\t\t\t\t\tif(d.a_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.a_attr[i] = d.a_attr[i];\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\tif(d && d.children && d.children === true) {\n\t\t\t\t\t\t\t\ttmp.state.loaded = false;\n\t\t\t\t\t\t\t\ttmp.children = [];\n\t\t\t\t\t\t\t\ttmp.children_d = [];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tm[tmp.id] = tmp;\n\t\t\t\t\t\t\tfor(i = 0, j = tmp.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\tc = parse_flat(m[tmp.children[i]], tmp.id, ps);\n\t\t\t\t\t\t\t\te = m[c];\n\t\t\t\t\t\t\t\ttmp.children_d.push(c);\n\t\t\t\t\t\t\t\tif(e.children_d.length) {\n\t\t\t\t\t\t\t\t\ttmp.children_d = tmp.children_d.concat(e.children_d);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdelete d.data;\n\t\t\t\t\t\t\tdelete d.children;\n\t\t\t\t\t\t\tm[tmp.id].original = d;\n\t\t\t\t\t\t\tif(tmp.state.selected) {\n\t\t\t\t\t\t\t\tadd.push(tmp.id);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn tmp.id;\n\t\t\t\t\t\t},\n\t\t\t\t\t\tparse_nest = function (d, p, ps) {\n\t\t\t\t\t\t\tif(!ps) { ps = []; }\n\t\t\t\t\t\t\telse { ps = ps.concat(); }\n\t\t\t\t\t\t\tif(p) { ps.unshift(p); }\n\t\t\t\t\t\t\tvar tid = false, i, j, c, e, tmp;\n\t\t\t\t\t\t\tdo {\n\t\t\t\t\t\t\t\ttid = 'j' + t_id + '_' + (++t_cnt);\n\t\t\t\t\t\t\t} while(m[tid]);\n\n\t\t\t\t\t\t\ttmp = {\n\t\t\t\t\t\t\t\tid\t\t\t: false,\n\t\t\t\t\t\t\t\ttext\t\t: typeof d === 'string' ? d : '',\n\t\t\t\t\t\t\t\ticon\t\t: typeof d === 'object' && d.icon !== undefined ? d.icon : true,\n\t\t\t\t\t\t\t\tparent\t\t: p,\n\t\t\t\t\t\t\t\tparents\t\t: ps,\n\t\t\t\t\t\t\t\tchildren\t: [],\n\t\t\t\t\t\t\t\tchildren_d\t: [],\n\t\t\t\t\t\t\t\tdata\t\t: null,\n\t\t\t\t\t\t\t\tstate\t\t: { },\n\t\t\t\t\t\t\t\tli_attr\t\t: { id : false },\n\t\t\t\t\t\t\t\ta_attr\t\t: { href : '#' },\n\t\t\t\t\t\t\t\toriginal\t: false\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t\tfor(i in df) {\n\t\t\t\t\t\t\t\tif(df.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\ttmp.state[i] = df[i];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && (d.id || d.id === 0)) { tmp.id = d.id.toString(); }\n\t\t\t\t\t\t\tif(d && d.text) { tmp.text = d.text; }\n\t\t\t\t\t\t\tif(d && d.data && d.data.jstree && d.data.jstree.icon) {\n\t\t\t\t\t\t\t\ttmp.icon = d.data.jstree.icon;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(tmp.icon === undefined || tmp.icon === null || tmp.icon === \"\") {\n\t\t\t\t\t\t\t\ttmp.icon = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && d.data) {\n\t\t\t\t\t\t\t\ttmp.data = d.data;\n\t\t\t\t\t\t\t\tif(d.data.jstree) {\n\t\t\t\t\t\t\t\t\tfor(i in d.data.jstree) {\n\t\t\t\t\t\t\t\t\t\tif(d.data.jstree.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.state[i] = d.data.jstree[i];\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\tif(d && typeof d.state === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.state) {\n\t\t\t\t\t\t\t\t\tif(d.state.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.state[i] = d.state[i];\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\tif(d && typeof d.li_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.li_attr) {\n\t\t\t\t\t\t\t\t\tif(d.li_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.li_attr[i] = d.li_attr[i];\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\tif(tmp.li_attr.id && !(tmp.id || tmp.id === 0)) {\n\t\t\t\t\t\t\t\ttmp.id = tmp.li_attr.id.toString();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(!(tmp.id || tmp.id === 0)) {\n\t\t\t\t\t\t\t\ttmp.id = tid;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(!tmp.li_attr.id) {\n\t\t\t\t\t\t\t\ttmp.li_attr.id = tmp.id;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && typeof d.a_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (i in d.a_attr) {\n\t\t\t\t\t\t\t\t\tif(d.a_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\ttmp.a_attr[i] = d.a_attr[i];\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\tif(d && d.children && d.children.length) {\n\t\t\t\t\t\t\t\tfor(i = 0, j = d.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\tc = parse_nest(d.children[i], tmp.id, ps);\n\t\t\t\t\t\t\t\t\te = m[c];\n\t\t\t\t\t\t\t\t\ttmp.children.push(c);\n\t\t\t\t\t\t\t\t\tif(e.children_d.length) {\n\t\t\t\t\t\t\t\t\t\ttmp.children_d = tmp.children_d.concat(e.children_d);\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\ttmp.children_d = tmp.children_d.concat(tmp.children);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(d && d.children && d.children === true) {\n\t\t\t\t\t\t\t\ttmp.state.loaded = false;\n\t\t\t\t\t\t\t\ttmp.children = [];\n\t\t\t\t\t\t\t\ttmp.children_d = [];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tdelete d.data;\n\t\t\t\t\t\t\tdelete d.children;\n\t\t\t\t\t\t\ttmp.original = d;\n\t\t\t\t\t\t\tm[tmp.id] = tmp;\n\t\t\t\t\t\t\tif(tmp.state.selected) {\n\t\t\t\t\t\t\t\tadd.push(tmp.id);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn tmp.id;\n\t\t\t\t\t\t};\n\n\t\t\t\t\tif(dat.length && dat[0].id !== undefined && dat[0].parent !== undefined) {\n\t\t\t\t\t\t// Flat JSON support (for easy import from DB):\n\t\t\t\t\t\t// 1) convert to object (foreach)\n\t\t\t\t\t\tfor(i = 0, j = dat.length; i < j; i++) {\n\t\t\t\t\t\t\tif(!dat[i].children) {\n\t\t\t\t\t\t\t\tdat[i].children = [];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(!dat[i].state) {\n\t\t\t\t\t\t\t\tdat[i].state = {};\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tm[dat[i].id.toString()] = dat[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// 2) populate children (foreach)\n\t\t\t\t\t\tfor(i = 0, j = dat.length; i < j; i++) {\n\t\t\t\t\t\t\tif (!m[dat[i].parent.toString()]) {\n\t\t\t\t\t\t\t\tif (typeof inst !== \"undefined\") {\n\t\t\t\t\t\t\t\t\tinst._data.core.last_error = { 'error' : 'parse', 'plugin' : 'core', 'id' : 'core_07', 'reason' : 'Node with invalid parent', 'data' : JSON.stringify({ 'id' : dat[i].id.toString(), 'parent' : dat[i].parent.toString() }) };\n\t\t\t\t\t\t\t\t\tinst.settings.core.error.call(inst, inst._data.core.last_error);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tm[dat[i].parent.toString()].children.push(dat[i].id.toString());\n\t\t\t\t\t\t\t// populate parent.children_d\n\t\t\t\t\t\t\tp.children_d.push(dat[i].id.toString());\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// 3) normalize && populate parents and children_d with recursion\n\t\t\t\t\t\tfor(i = 0, j = p.children.length; i < j; i++) {\n\t\t\t\t\t\t\ttmp = parse_flat(m[p.children[i]], par, p.parents.concat());\n\t\t\t\t\t\t\tdpc.push(tmp);\n\t\t\t\t\t\t\tif(m[tmp].children_d.length) {\n\t\t\t\t\t\t\t\tdpc = dpc.concat(m[tmp].children_d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor(i = 0, j = p.parents.length; i < j; i++) {\n\t\t\t\t\t\t\tm[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);\n\t\t\t\t\t\t}\n\t\t\t\t\t\t// ?) three_state selection - p.state.selected && t - (if three_state foreach(dat => ch) -> foreach(parents) if(parent.selected) child.selected = true;\n\t\t\t\t\t\trslt = {\n\t\t\t\t\t\t\t'cnt' : t_cnt,\n\t\t\t\t\t\t\t'mod' : m,\n\t\t\t\t\t\t\t'sel' : sel,\n\t\t\t\t\t\t\t'par' : par,\n\t\t\t\t\t\t\t'dpc' : dpc,\n\t\t\t\t\t\t\t'add' : add\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tfor(i = 0, j = dat.length; i < j; i++) {\n\t\t\t\t\t\t\ttmp = parse_nest(dat[i], par, p.parents.concat());\n\t\t\t\t\t\t\tif(tmp) {\n\t\t\t\t\t\t\t\tchd.push(tmp);\n\t\t\t\t\t\t\t\tdpc.push(tmp);\n\t\t\t\t\t\t\t\tif(m[tmp].children_d.length) {\n\t\t\t\t\t\t\t\t\tdpc = dpc.concat(m[tmp].children_d);\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\tp.children = chd;\n\t\t\t\t\t\tp.children_d = dpc;\n\t\t\t\t\t\tfor(i = 0, j = p.parents.length; i < j; i++) {\n\t\t\t\t\t\t\tm[p.parents[i]].children_d = m[p.parents[i]].children_d.concat(dpc);\n\t\t\t\t\t\t}\n\t\t\t\t\t\trslt = {\n\t\t\t\t\t\t\t'cnt' : t_cnt,\n\t\t\t\t\t\t\t'mod' : m,\n\t\t\t\t\t\t\t'sel' : sel,\n\t\t\t\t\t\t\t'par' : par,\n\t\t\t\t\t\t\t'dpc' : dpc,\n\t\t\t\t\t\t\t'add' : add\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\tif(typeof window === 'undefined' || typeof window.document === 'undefined') {\n\t\t\t\t\t\tpostMessage(rslt);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\treturn rslt;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\trslt = function (rslt, worker) {\n\t\t\t\t\tif(this.element === null) { return; }\n\t\t\t\t\tthis._cnt = rslt.cnt;\n\t\t\t\t\tvar i, m = this._model.data;\n\t\t\t\t\tfor (i in m) {\n\t\t\t\t\t\tif (m.hasOwnProperty(i) && m[i].state && m[i].state.loading && rslt.mod[i]) {\n\t\t\t\t\t\t\trslt.mod[i].state.loading = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis._model.data = rslt.mod; // breaks the reference in load_node - careful\n\n\t\t\t\t\tif(worker) {\n\t\t\t\t\t\tvar j, a = rslt.add, r = rslt.sel, s = this._data.core.selected.slice();\n\t\t\t\t\t\tm = this._model.data;\n\t\t\t\t\t\t// if selection was changed while calculating in worker\n\t\t\t\t\t\tif(r.length !== s.length || $.vakata.array_unique(r.concat(s)).length !== r.length) {\n\t\t\t\t\t\t\t// deselect nodes that are no longer selected\n\t\t\t\t\t\t\tfor(i = 0, j = r.length; i < j; i++) {\n\t\t\t\t\t\t\t\tif($.inArray(r[i], a) === -1 && $.inArray(r[i], s) === -1) {\n\t\t\t\t\t\t\t\t\tm[r[i]].state.selected = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t// select nodes that were selected in the mean time\n\t\t\t\t\t\t\tfor(i = 0, j = s.length; i < j; i++) {\n\t\t\t\t\t\t\t\tif($.inArray(s[i], r) === -1) {\n\t\t\t\t\t\t\t\t\tm[s[i]].state.selected = true;\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\tif(rslt.add.length) {\n\t\t\t\t\t\tthis._data.core.selected = this._data.core.selected.concat(rslt.add);\n\t\t\t\t\t}\n\n\t\t\t\t\tthis.trigger('model', { \"nodes\" : rslt.dpc, 'parent' : rslt.par });\n\n\t\t\t\t\tif(rslt.par !== $.jstree.root) {\n\t\t\t\t\t\tthis._node_changed(rslt.par);\n\t\t\t\t\t\tthis.redraw();\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t// this.get_container_ul().children('.jstree-initial-node').remove();\n\t\t\t\t\t\tthis.redraw(true);\n\t\t\t\t\t}\n\t\t\t\t\tif(rslt.add.length) {\n\t\t\t\t\t\tthis.trigger('changed', { 'action' : 'model', 'selected' : this._data.core.selected });\n\t\t\t\t\t}\n\n\t\t\t\t\t// If no worker, try to mimic worker behavioour, by invoking cb asynchronously\n\t\t\t\t\tif (!worker && setImmediate) {\n\t\t\t\t\t\tsetImmediate(function(){\n\t\t\t\t\t\t\tcb.call(inst, true);\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tcb.call(inst, true);\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\tif(this.settings.core.worker && window.Blob && window.URL && window.Worker) {\n\t\t\t\ttry {\n\t\t\t\t\tif(this._wrk === null) {\n\t\t\t\t\t\tthis._wrk = window.URL.createObjectURL(\n\t\t\t\t\t\t\tnew window.Blob(\n\t\t\t\t\t\t\t\t['self.onmessage = ' + func.toString()],\n\t\t\t\t\t\t\t\t{type:\"text/javascript\"}\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\tif(!this._data.core.working || force_processing) {\n\t\t\t\t\t\tthis._data.core.working = true;\n\t\t\t\t\t\tw = new window.Worker(this._wrk);\n\t\t\t\t\t\tw.onmessage = function (e) {\n\t\t\t\t\t\t\trslt.call(this, e.data, true);\n\t\t\t\t\t\t\ttry { w.terminate(); w = null; } catch(ignore) { }\n\t\t\t\t\t\t\tif(this._data.core.worker_queue.length) {\n\t\t\t\t\t\t\t\tthis._append_json_data.apply(this, this._data.core.worker_queue.shift());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tthis._data.core.working = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}.bind(this);\n\t\t\t\t\t\tw.onerror = function (e) {\n\t\t\t\t\t\t\trslt.call(this, func(args), false);\n\t\t\t\t\t\t\tif(this._data.core.worker_queue.length) {\n\t\t\t\t\t\t\t\tthis._append_json_data.apply(this, this._data.core.worker_queue.shift());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tthis._data.core.working = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}.bind(this);\n\t\t\t\t\t\tif(!args.par) {\n\t\t\t\t\t\t\tif(this._data.core.worker_queue.length) {\n\t\t\t\t\t\t\t\tthis._append_json_data.apply(this, this._data.core.worker_queue.shift());\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tthis._data.core.working = false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tw.postMessage(args);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis._data.core.worker_queue.push([dom, data, cb, true]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tcatch(e) {\n\t\t\t\t\trslt.call(this, func(args), false);\n\t\t\t\t\tif(this._data.core.worker_queue.length) {\n\t\t\t\t\t\tthis._append_json_data.apply(this, this._data.core.worker_queue.shift());\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis._data.core.working = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\trslt.call(this, func(args), false);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * parses a node from a jQuery object and appends them to the in memory tree model. Used internally.\n\t\t * @private\n\t\t * @name _parse_model_from_html(d [, p, ps])\n\t\t * @param  {jQuery} d the jQuery object to parse\n\t\t * @param  {String} p the parent ID\n\t\t * @param  {Array} ps list of all parents\n\t\t * @return {String} the ID of the object added to the model\n\t\t */\n\t\t_parse_model_from_html : function (d, p, ps) {\n\t\t\tif(!ps) { ps = []; }\n\t\t\telse { ps = [].concat(ps); }\n\t\t\tif(p) { ps.unshift(p); }\n\t\t\tvar c, e, m = this._model.data,\n\t\t\t\tdata = {\n\t\t\t\t\tid\t\t\t: false,\n\t\t\t\t\ttext\t\t: false,\n\t\t\t\t\ticon\t\t: true,\n\t\t\t\t\tparent\t\t: p,\n\t\t\t\t\tparents\t\t: ps,\n\t\t\t\t\tchildren\t: [],\n\t\t\t\t\tchildren_d\t: [],\n\t\t\t\t\tdata\t\t: null,\n\t\t\t\t\tstate\t\t: { },\n\t\t\t\t\tli_attr\t\t: { id : false },\n\t\t\t\t\ta_attr\t\t: { href : '#' },\n\t\t\t\t\toriginal\t: false\n\t\t\t\t}, i, tmp, tid;\n\t\t\tfor(i in this._model.default_state) {\n\t\t\t\tif(this._model.default_state.hasOwnProperty(i)) {\n\t\t\t\t\tdata.state[i] = this._model.default_state[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\ttmp = $.vakata.attributes(d, true);\n\t\t\t$.each(tmp, function (i, v) {\n\t\t\t\tv = $.vakata.trim(v);\n\t\t\t\tif(!v.length) { return true; }\n\t\t\t\tdata.li_attr[i] = v;\n\t\t\t\tif(i === 'id') {\n\t\t\t\t\tdata.id = v.toString();\n\t\t\t\t}\n\t\t\t});\n\t\t\ttmp = d.children('a').first();\n\t\t\tif(tmp.length) {\n\t\t\t\ttmp = $.vakata.attributes(tmp, true);\n\t\t\t\t$.each(tmp, function (i, v) {\n\t\t\t\t\tv = $.vakata.trim(v);\n\t\t\t\t\tif(v.length) {\n\t\t\t\t\t\tdata.a_attr[i] = v;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\t\t\ttmp = d.children(\"a\").first().length ? d.children(\"a\").first().clone() : d.clone();\n\t\t\ttmp.children(\"ins, i, ul\").remove();\n\t\t\ttmp = tmp.html();\n\t\t\ttmp = $('<div></div>').html(tmp);\n\t\t\tdata.text = this.settings.core.force_text ? tmp.text() : tmp.html();\n\t\t\ttmp = d.data();\n\t\t\tdata.data = tmp ? $.extend(true, {}, tmp) : null;\n\t\t\tdata.state.opened = d.hasClass('jstree-open');\n\t\t\tdata.state.selected = d.children('a').hasClass('jstree-clicked');\n\t\t\tdata.state.disabled = d.children('a').hasClass('jstree-disabled');\n\t\t\tif(data.data && data.data.jstree) {\n\t\t\t\tfor(i in data.data.jstree) {\n\t\t\t\t\tif(data.data.jstree.hasOwnProperty(i)) {\n\t\t\t\t\t\tdata.state[i] = data.data.jstree[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ttmp = d.children(\"a\").children(\".jstree-themeicon\");\n\t\t\tif(tmp.length) {\n\t\t\t\tdata.icon = tmp.hasClass('jstree-themeicon-hidden') ? false : tmp.attr('rel');\n\t\t\t}\n\t\t\tif(data.state.icon !== undefined) {\n\t\t\t\tdata.icon = data.state.icon;\n\t\t\t}\n\t\t\tif(data.icon === undefined || data.icon === null || data.icon === \"\") {\n\t\t\t\tdata.icon = true;\n\t\t\t}\n\t\t\ttmp = d.children(\"ul\").children(\"li\");\n\t\t\tdo {\n\t\t\t\ttid = 'j' + this._id + '_' + (++this._cnt);\n\t\t\t} while(m[tid]);\n\t\t\tdata.id = data.li_attr.id ? data.li_attr.id.toString() : tid;\n\t\t\tif(tmp.length) {\n\t\t\t\ttmp.each(function (i, v) {\n\t\t\t\t\tc = this._parse_model_from_html($(v), data.id, ps);\n\t\t\t\t\te = this._model.data[c];\n\t\t\t\t\tdata.children.push(c);\n\t\t\t\t\tif(e.children_d.length) {\n\t\t\t\t\t\tdata.children_d = data.children_d.concat(e.children_d);\n\t\t\t\t\t}\n\t\t\t\t}.bind(this));\n\t\t\t\tdata.children_d = data.children_d.concat(data.children);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif(d.hasClass('jstree-closed')) {\n\t\t\t\t\tdata.state.loaded = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(data.li_attr['class']) {\n\t\t\t\tdata.li_attr['class'] = data.li_attr['class'].replace('jstree-closed','').replace('jstree-open','');\n\t\t\t}\n\t\t\tif(data.a_attr['class']) {\n\t\t\t\tdata.a_attr['class'] = data.a_attr['class'].replace('jstree-clicked','').replace('jstree-disabled','');\n\t\t\t}\n\t\t\tm[data.id] = data;\n\t\t\tif(data.state.selected) {\n\t\t\t\tthis._data.core.selected.push(data.id);\n\t\t\t}\n\t\t\treturn data.id;\n\t\t},\n\t\t/**\n\t\t * parses a node from a JSON object (used when dealing with flat data, which has no nesting of children, but has id and parent properties) and appends it to the in memory tree model. Used internally.\n\t\t * @private\n\t\t * @name _parse_model_from_flat_json(d [, p, ps])\n\t\t * @param  {Object} d the JSON object to parse\n\t\t * @param  {String} p the parent ID\n\t\t * @param  {Array} ps list of all parents\n\t\t * @return {String} the ID of the object added to the model\n\t\t */\n\t\t_parse_model_from_flat_json : function (d, p, ps) {\n\t\t\tif(!ps) { ps = []; }\n\t\t\telse { ps = ps.concat(); }\n\t\t\tif(p) { ps.unshift(p); }\n\t\t\tvar tid = d.id.toString(),\n\t\t\t\tm = this._model.data,\n\t\t\t\tdf = this._model.default_state,\n\t\t\t\ti, j, c, e,\n\t\t\t\ttmp = {\n\t\t\t\t\tid\t\t\t: tid,\n\t\t\t\t\ttext\t\t: d.text || '',\n\t\t\t\t\ticon\t\t: d.icon !== undefined ? d.icon : true,\n\t\t\t\t\tparent\t\t: p,\n\t\t\t\t\tparents\t\t: ps,\n\t\t\t\t\tchildren\t: d.children || [],\n\t\t\t\t\tchildren_d\t: d.children_d || [],\n\t\t\t\t\tdata\t\t: d.data,\n\t\t\t\t\tstate\t\t: { },\n\t\t\t\t\tli_attr\t\t: { id : false },\n\t\t\t\t\ta_attr\t\t: { href : '#' },\n\t\t\t\t\toriginal\t: false\n\t\t\t\t};\n\t\t\tfor(i in df) {\n\t\t\t\tif(df.hasOwnProperty(i)) {\n\t\t\t\t\ttmp.state[i] = df[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && d.data && d.data.jstree && d.data.jstree.icon) {\n\t\t\t\ttmp.icon = d.data.jstree.icon;\n\t\t\t}\n\t\t\tif(tmp.icon === undefined || tmp.icon === null || tmp.icon === \"\") {\n\t\t\t\ttmp.icon = true;\n\t\t\t}\n\t\t\tif(d && d.data) {\n\t\t\t\ttmp.data = d.data;\n\t\t\t\tif(d.data.jstree) {\n\t\t\t\t\tfor(i in d.data.jstree) {\n\t\t\t\t\t\tif(d.data.jstree.hasOwnProperty(i)) {\n\t\t\t\t\t\t\ttmp.state[i] = d.data.jstree[i];\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\tif(d && typeof d.state === 'object') {\n\t\t\t\tfor (i in d.state) {\n\t\t\t\t\tif(d.state.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.state[i] = d.state[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && typeof d.li_attr === 'object') {\n\t\t\t\tfor (i in d.li_attr) {\n\t\t\t\t\tif(d.li_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.li_attr[i] = d.li_attr[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(!tmp.li_attr.id) {\n\t\t\t\ttmp.li_attr.id = tid;\n\t\t\t}\n\t\t\tif(d && typeof d.a_attr === 'object') {\n\t\t\t\tfor (i in d.a_attr) {\n\t\t\t\t\tif(d.a_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.a_attr[i] = d.a_attr[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && d.children && d.children === true) {\n\t\t\t\ttmp.state.loaded = false;\n\t\t\t\ttmp.children = [];\n\t\t\t\ttmp.children_d = [];\n\t\t\t}\n\t\t\tm[tmp.id] = tmp;\n\t\t\tfor(i = 0, j = tmp.children.length; i < j; i++) {\n\t\t\t\tc = this._parse_model_from_flat_json(m[tmp.children[i]], tmp.id, ps);\n\t\t\t\te = m[c];\n\t\t\t\ttmp.children_d.push(c);\n\t\t\t\tif(e.children_d.length) {\n\t\t\t\t\ttmp.children_d = tmp.children_d.concat(e.children_d);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete d.data;\n\t\t\tdelete d.children;\n\t\t\tm[tmp.id].original = d;\n\t\t\tif(tmp.state.selected) {\n\t\t\t\tthis._data.core.selected.push(tmp.id);\n\t\t\t}\n\t\t\treturn tmp.id;\n\t\t},\n\t\t/**\n\t\t * parses a node from a JSON object and appends it to the in memory tree model. Used internally.\n\t\t * @private\n\t\t * @name _parse_model_from_json(d [, p, ps])\n\t\t * @param  {Object} d the JSON object to parse\n\t\t * @param  {String} p the parent ID\n\t\t * @param  {Array} ps list of all parents\n\t\t * @return {String} the ID of the object added to the model\n\t\t */\n\t\t_parse_model_from_json : function (d, p, ps) {\n\t\t\tif(!ps) { ps = []; }\n\t\t\telse { ps = ps.concat(); }\n\t\t\tif(p) { ps.unshift(p); }\n\t\t\tvar tid = false, i, j, c, e, m = this._model.data, df = this._model.default_state, tmp;\n\t\t\tdo {\n\t\t\t\ttid = 'j' + this._id + '_' + (++this._cnt);\n\t\t\t} while(m[tid]);\n\n\t\t\ttmp = {\n\t\t\t\tid\t\t\t: false,\n\t\t\t\ttext\t\t: typeof d === 'string' ? d : '',\n\t\t\t\ticon\t\t: typeof d === 'object' && d.icon !== undefined ? d.icon : true,\n\t\t\t\tparent\t\t: p,\n\t\t\t\tparents\t\t: ps,\n\t\t\t\tchildren\t: [],\n\t\t\t\tchildren_d\t: [],\n\t\t\t\tdata\t\t: null,\n\t\t\t\tstate\t\t: { },\n\t\t\t\tli_attr\t\t: { id : false },\n\t\t\t\ta_attr\t\t: { href : '#' },\n\t\t\t\toriginal\t: false\n\t\t\t};\n\t\t\tfor(i in df) {\n\t\t\t\tif(df.hasOwnProperty(i)) {\n\t\t\t\t\ttmp.state[i] = df[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && (d.id || d.id === 0)) { tmp.id = d.id.toString(); }\n\t\t\tif(d && d.text) { tmp.text = d.text; }\n\t\t\tif(d && d.data && d.data.jstree && d.data.jstree.icon) {\n\t\t\t\ttmp.icon = d.data.jstree.icon;\n\t\t\t}\n\t\t\tif(tmp.icon === undefined || tmp.icon === null || tmp.icon === \"\") {\n\t\t\t\ttmp.icon = true;\n\t\t\t}\n\t\t\tif(d && d.data) {\n\t\t\t\ttmp.data = d.data;\n\t\t\t\tif(d.data.jstree) {\n\t\t\t\t\tfor(i in d.data.jstree) {\n\t\t\t\t\t\tif(d.data.jstree.hasOwnProperty(i)) {\n\t\t\t\t\t\t\ttmp.state[i] = d.data.jstree[i];\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\tif(d && typeof d.state === 'object') {\n\t\t\t\tfor (i in d.state) {\n\t\t\t\t\tif(d.state.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.state[i] = d.state[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && typeof d.li_attr === 'object') {\n\t\t\t\tfor (i in d.li_attr) {\n\t\t\t\t\tif(d.li_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.li_attr[i] = d.li_attr[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(tmp.li_attr.id && !(tmp.id || tmp.id === 0)) {\n\t\t\t\ttmp.id = tmp.li_attr.id.toString();\n\t\t\t}\n\t\t\tif(!(tmp.id || tmp.id === 0)) {\n\t\t\t\ttmp.id = tid;\n\t\t\t}\n\t\t\tif(!tmp.li_attr.id) {\n\t\t\t\ttmp.li_attr.id = tmp.id;\n\t\t\t}\n\t\t\tif(d && typeof d.a_attr === 'object') {\n\t\t\t\tfor (i in d.a_attr) {\n\t\t\t\t\tif(d.a_attr.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.a_attr[i] = d.a_attr[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(d && d.children && d.children.length) {\n\t\t\t\tfor(i = 0, j = d.children.length; i < j; i++) {\n\t\t\t\t\tc = this._parse_model_from_json(d.children[i], tmp.id, ps);\n\t\t\t\t\te = m[c];\n\t\t\t\t\ttmp.children.push(c);\n\t\t\t\t\tif(e.children_d.length) {\n\t\t\t\t\t\ttmp.children_d = tmp.children_d.concat(e.children_d);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\ttmp.children_d = tmp.children.concat(tmp.children_d);\n\t\t\t}\n\t\t\tif(d && d.children && d.children === true) {\n\t\t\t\ttmp.state.loaded = false;\n\t\t\t\ttmp.children = [];\n\t\t\t\ttmp.children_d = [];\n\t\t\t}\n\t\t\tdelete d.data;\n\t\t\tdelete d.children;\n\t\t\ttmp.original = d;\n\t\t\tm[tmp.id] = tmp;\n\t\t\tif(tmp.state.selected) {\n\t\t\t\tthis._data.core.selected.push(tmp.id);\n\t\t\t}\n\t\t\treturn tmp.id;\n\t\t},\n\t\t/**\n\t\t * redraws all nodes that need to be redrawn. Used internally.\n\t\t * @private\n\t\t * @name _redraw()\n\t\t * @trigger redraw.jstree\n\t\t */\n\t\t_redraw : function () {\n\t\t\tvar nodes = this._model.force_full_redraw ? this._model.data[$.jstree.root].children.concat([]) : this._model.changed.concat([]),\n\t\t\t\tf = document.createElement('UL'), tmp, i, j, fe = this._data.core.focused;\n\t\t\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\ttmp = this.redraw_node(nodes[i], true, this._model.force_full_redraw);\n\t\t\t\tif(tmp && this._model.force_full_redraw) {\n\t\t\t\t\tf.appendChild(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(this._model.force_full_redraw) {\n\t\t\t\tf.className = this.get_container_ul()[0].className;\n\t\t\t\tf.setAttribute('role','presentation');\n\t\t\t\tthis.element.empty().append(f);\n\t\t\t\t//this.get_container_ul()[0].appendChild(f);\n\t\t\t}\n\t\t\tif(fe !== null && this.settings.core.restore_focus) {\n\t\t\t\ttmp = this.get_node(fe, true);\n\t\t\t\tif(tmp && tmp.length && tmp.children('.jstree-anchor')[0] !== document.activeElement) {\n\t\t\t\t\ttmp.children('.jstree-anchor').trigger('focus');\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis._data.core.focused = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._model.force_full_redraw = false;\n\t\t\tthis._model.changed = [];\n\t\t\t/**\n\t\t\t * triggered after nodes are redrawn\n\t\t\t * @event\n\t\t\t * @name redraw.jstree\n\t\t\t * @param {array} nodes the redrawn nodes\n\t\t\t */\n\t\t\tthis.trigger('redraw', { \"nodes\" : nodes });\n\t\t},\n\t\t/**\n\t\t * redraws all nodes that need to be redrawn or optionally - the whole tree\n\t\t * @name redraw([full])\n\t\t * @param {Boolean} full if set to `true` all nodes are redrawn.\n\t\t */\n\t\tredraw : function (full) {\n\t\t\tif(full) {\n\t\t\t\tthis._model.force_full_redraw = true;\n\t\t\t}\n\t\t\t//if(this._model.redraw_timeout) {\n\t\t\t//\tclearTimeout(this._model.redraw_timeout);\n\t\t\t//}\n\t\t\t//this._model.redraw_timeout = setTimeout($.proxy(this._redraw, this),0);\n\t\t\tthis._redraw();\n\t\t},\n\t\t/**\n\t\t * redraws a single node's children. Used internally.\n\t\t * @private\n\t\t * @name draw_children(node)\n\t\t * @param {mixed} node the node whose children will be redrawn\n\t\t */\n\t\tdraw_children : function (node) {\n\t\t\tvar obj = this.get_node(node),\n\t\t\t\ti = false,\n\t\t\t\tj = false,\n\t\t\t\tk = false,\n\t\t\t\td = document;\n\t\t\tif(!obj) { return false; }\n\t\t\tif(obj.id === $.jstree.root) { return this.redraw(true); }\n\t\t\tnode = this.get_node(node, true);\n\t\t\tif(!node || !node.length) { return false; } // TODO: quick toggle\n\n\t\t\tnode.children('.jstree-children').remove();\n\t\t\tnode = node[0];\n\t\t\tif(obj.children.length && obj.state.loaded) {\n\t\t\t\tk = d.createElement('UL');\n\t\t\t\tk.setAttribute('role', 'group');\n\t\t\t\tk.className = 'jstree-children';\n\t\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\t\tk.appendChild(this.redraw_node(obj.children[i], true, true));\n\t\t\t\t}\n\t\t\t\tnode.appendChild(k);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * redraws a single node. Used internally.\n\t\t * @private\n\t\t * @name redraw_node(node, deep, is_callback, force_render)\n\t\t * @param {mixed} node the node to redraw\n\t\t * @param {Boolean} deep should child nodes be redrawn too\n\t\t * @param {Boolean} is_callback is this a recursion call\n\t\t * @param {Boolean} force_render should children of closed parents be drawn anyway\n\t\t */\n\t\tredraw_node : function (node, deep, is_callback, force_render) {\n\t\t\tvar obj = this.get_node(node),\n\t\t\t\tpar = false,\n\t\t\t\tind = false,\n\t\t\t\told = false,\n\t\t\t\ti = false,\n\t\t\t\tj = false,\n\t\t\t\tk = false,\n\t\t\t\tc = '',\n\t\t\t\td = document,\n\t\t\t\tm = this._model.data,\n\t\t\t\tf = false,\n\t\t\t\ts = false,\n\t\t\t\ttmp = null,\n\t\t\t\tt = 0,\n\t\t\t\tl = 0,\n\t\t\t\thas_children = false,\n\t\t\t\tlast_sibling = false;\n\t\t\tif(!obj) { return false; }\n\t\t\tif(obj.id === $.jstree.root) {  return this.redraw(true); }\n\t\t\tdeep = deep || obj.children.length === 0;\n\t\t\tnode = !document.querySelector ? document.getElementById(obj.id) : this.element[0].querySelector('#' + (\"0123456789\".indexOf(obj.id[0]) !== -1 ? '\\\\3' + obj.id[0] + ' ' + obj.id.substr(1).replace($.jstree.idregex,'\\\\$&') : obj.id.replace($.jstree.idregex,'\\\\$&')) ); //, this.element);\n\t\t\tif(!node) {\n\t\t\t\tdeep = true;\n\t\t\t\t//node = d.createElement('LI');\n\t\t\t\tif(!is_callback) {\n\t\t\t\t\tpar = obj.parent !== $.jstree.root ? $('#' + obj.parent.replace($.jstree.idregex,'\\\\$&'), this.element)[0] : null;\n\t\t\t\t\tif(par !== null && (!par || !m[obj.parent].state.opened)) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tind = $.inArray(obj.id, par === null ? m[$.jstree.root].children : m[obj.parent].children);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnode = $(node);\n\t\t\t\tif(!is_callback) {\n\t\t\t\t\tpar = node.parent().parent()[0];\n\t\t\t\t\tif(par === this.element[0]) {\n\t\t\t\t\t\tpar = null;\n\t\t\t\t\t}\n\t\t\t\t\tind = node.index();\n\t\t\t\t}\n\t\t\t\t// m[obj.id].data = node.data(); // use only node's data, no need to touch jquery storage\n\t\t\t\tif(!deep && obj.children.length && !node.children('.jstree-children').length) {\n\t\t\t\t\tdeep = true;\n\t\t\t\t}\n\t\t\t\tif(!deep) {\n\t\t\t\t\told = node.children('.jstree-children')[0];\n\t\t\t\t}\n\t\t\t\tf = node.children('.jstree-anchor')[0] === document.activeElement;\n\t\t\t\tnode.remove();\n\t\t\t\t//node = d.createElement('LI');\n\t\t\t\t//node = node[0];\n\t\t\t}\n\t\t\tnode = this._data.core.node.cloneNode(true);\n\t\t\t// node is DOM, deep is boolean\n\n\t\t\tc = 'jstree-node ';\n\t\t\tfor(i in obj.li_attr) {\n\t\t\t\tif(obj.li_attr.hasOwnProperty(i)) {\n\t\t\t\t\tif(i === 'id') { continue; }\n\t\t\t\t\tif(i !== 'class') {\n\t\t\t\t\t\tnode.setAttribute(i, obj.li_attr[i]);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tc += obj.li_attr[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(!obj.a_attr.id) {\n\t\t\t\tobj.a_attr.id = obj.id + '_anchor';\n\t\t\t}\n\t\t\tnode.childNodes[1].setAttribute('aria-selected', !!obj.state.selected);\n\t\t\tnode.childNodes[1].setAttribute('aria-level', obj.parents.length);\n\t\t\tif(this.settings.core.compute_elements_positions) {\n\t\t\t\tnode.childNodes[1].setAttribute('aria-setsize', m[obj.parent].children.length);\n\t\t\t\tnode.childNodes[1].setAttribute('aria-posinset', m[obj.parent].children.indexOf(obj.id) + 1);\n\t\t\t}\n\t\t\tif(obj.state.disabled) {\n\t\t\t\tnode.childNodes[1].setAttribute('aria-disabled', true);\n\t\t\t}\n\n\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\tif(!m[obj.children[i]].state.hidden) {\n\t\t\t\t\thas_children = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(obj.parent !== null && m[obj.parent] && !obj.state.hidden) {\n\t\t\t\ti = $.inArray(obj.id, m[obj.parent].children);\n\t\t\t\tlast_sibling = obj.id;\n\t\t\t\tif(i !== -1) {\n\t\t\t\t\ti++;\n\t\t\t\t\tfor(j = m[obj.parent].children.length; i < j; i++) {\n\t\t\t\t\t\tif(!m[m[obj.parent].children[i]].state.hidden) {\n\t\t\t\t\t\t\tlast_sibling = m[obj.parent].children[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(last_sibling !== obj.id) {\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}\n\t\t\t}\n\n\t\t\tif(obj.state.hidden) {\n\t\t\t\tc += ' jstree-hidden';\n\t\t\t}\n\t\t\tif (obj.state.loading) {\n\t\t\t\tc += ' jstree-loading';\n\t\t\t}\n\t\t\tif(obj.state.loaded && !has_children) {\n\t\t\t\tc += ' jstree-leaf';\n\t\t\t}\n\t\t\telse {\n\t\t\t\tc += obj.state.opened && obj.state.loaded ? ' jstree-open' : ' jstree-closed';\n\t\t\t\tnode.childNodes[1].setAttribute('aria-expanded', (obj.state.opened && obj.state.loaded) );\n\t\t\t}\n\t\t\tif(last_sibling === obj.id) {\n\t\t\t\tc += ' jstree-last';\n\t\t\t}\n\t\t\tnode.id = obj.id;\n\t\t\tnode.className = c;\n\t\t\tc = ( obj.state.selected ? ' jstree-clicked' : '') + ( obj.state.disabled ? ' jstree-disabled' : '');\n\t\t\tfor(j in obj.a_attr) {\n\t\t\t\tif(obj.a_attr.hasOwnProperty(j)) {\n\t\t\t\t\tif(j === 'href' && obj.a_attr[j] === '#') { continue; }\n\t\t\t\t\tif(j !== 'class') {\n\t\t\t\t\t\tnode.childNodes[1].setAttribute(j, obj.a_attr[j]);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tc += ' ' + obj.a_attr[j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(c.length) {\n\t\t\t\tnode.childNodes[1].className = 'jstree-anchor ' + c;\n\t\t\t}\n\t\t\tif((obj.icon && obj.icon !== true) || obj.icon === false) {\n\t\t\t\tif(obj.icon === false) {\n\t\t\t\t\tnode.childNodes[1].childNodes[0].className += ' jstree-themeicon-hidden';\n\t\t\t\t}\n\t\t\t\telse if(obj.icon.indexOf('/') === -1 && obj.icon.indexOf('.') === -1) {\n\t\t\t\t\tnode.childNodes[1].childNodes[0].className += ' ' + obj.icon + ' jstree-themeicon-custom';\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tnode.childNodes[1].childNodes[0].style.backgroundImage = 'url(\"'+obj.icon+'\")';\n\t\t\t\t\tnode.childNodes[1].childNodes[0].style.backgroundPosition = 'center center';\n\t\t\t\t\tnode.childNodes[1].childNodes[0].style.backgroundSize = 'auto';\n\t\t\t\t\tnode.childNodes[1].childNodes[0].className += ' jstree-themeicon-custom';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif(this.settings.core.force_text) {\n\t\t\t\tnode.childNodes[1].appendChild(d.createTextNode(obj.text));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnode.childNodes[1].innerHTML += obj.text;\n\t\t\t}\n\n\n\t\t\tif(deep && obj.children.length && (obj.state.opened || force_render) && obj.state.loaded) {\n\t\t\t\tk = d.createElement('UL');\n\t\t\t\tk.setAttribute('role', 'group');\n\t\t\t\tk.className = 'jstree-children';\n\t\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\t\tk.appendChild(this.redraw_node(obj.children[i], deep, true));\n\t\t\t\t}\n\t\t\t\tnode.appendChild(k);\n\t\t\t}\n\t\t\tif(old) {\n\t\t\t\tnode.appendChild(old);\n\t\t\t}\n\t\t\tif(!is_callback) {\n\t\t\t\t// append back using par / ind\n\t\t\t\tif(!par) {\n\t\t\t\t\tpar = this.element[0];\n\t\t\t\t}\n\t\t\t\tfor(i = 0, j = par.childNodes.length; i < j; i++) {\n\t\t\t\t\tif(par.childNodes[i] && par.childNodes[i].className && par.childNodes[i].className.indexOf('jstree-children') !== -1) {\n\t\t\t\t\t\ttmp = par.childNodes[i];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(!tmp) {\n\t\t\t\t\ttmp = d.createElement('UL');\n\t\t\t\t\ttmp.setAttribute('role', 'group');\n\t\t\t\t\ttmp.className = 'jstree-children';\n\t\t\t\t\tpar.appendChild(tmp);\n\t\t\t\t}\n\t\t\t\tpar = tmp;\n\n\t\t\t\tif(ind < par.childNodes.length) {\n\t\t\t\t\tpar.insertBefore(node, par.childNodes[ind]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tpar.appendChild(node);\n\t\t\t\t}\n\t\t\t\tif(f) {\n\t\t\t\t\tt = this.element[0].scrollTop;\n\t\t\t\t\tl = this.element[0].scrollLeft;\n\t\t\t\t\tnode.childNodes[1].focus();\n\t\t\t\t\tthis.element[0].scrollTop = t;\n\t\t\t\t\tthis.element[0].scrollLeft = l;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(obj.state.opened && !obj.state.loaded) {\n\t\t\t\tobj.state.opened = false;\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tthis.open_node(obj.id, false, 0);\n\t\t\t\t}.bind(this), 0);\n\t\t\t}\n\t\t\treturn node;\n\t\t},\n\t\t/**\n\t\t * opens a node, revealing its children. If the node is not loaded it will be loaded and opened once ready.\n\t\t * @name open_node(obj [, callback, animation])\n\t\t * @param {mixed} obj the node to open\n\t\t * @param {Function} callback a function to execute once the node is opened\n\t\t * @param {Number} animation the animation duration in milliseconds when opening the node (overrides the `core.animation` setting). Use `false` for no animation.\n\t\t * @trigger open_node.jstree, after_open.jstree, before_open.jstree\n\t\t */\n\t\topen_node : function (obj, callback, animation) {\n\t\t\tvar t1, t2, d, t;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.open_node(obj[t1], callback, animation);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tanimation = animation === undefined ? this.settings.core.animation : animation;\n\t\t\tif(!this.is_closed(obj)) {\n\t\t\t\tif(callback) {\n\t\t\t\t\tcallback.call(this, obj, false);\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(!this.is_loaded(obj)) {\n\t\t\t\tif(this.is_loading(obj)) {\n\t\t\t\t\treturn setTimeout(function () {\n\t\t\t\t\t\tthis.open_node(obj, callback, animation);\n\t\t\t\t\t}.bind(this), 500);\n\t\t\t\t}\n\t\t\t\tthis.load_node(obj, function (o, ok) {\n\t\t\t\t\treturn ok ? this.open_node(o, callback, animation) : (callback ? callback.call(this, o, false) : false);\n\t\t\t\t});\n\t\t\t}\n\t\t\telse {\n\t\t\t\td = this.get_node(obj, true);\n\t\t\t\tt = this;\n\t\t\t\tif(d.length) {\n\t\t\t\t\tif(animation && d.children(\".jstree-children\").length) {\n\t\t\t\t\t\td.children(\".jstree-children\").stop(true, true);\n\t\t\t\t\t}\n\t\t\t\t\tif(obj.children.length && !this._firstChild(d.children('.jstree-children')[0])) {\n\t\t\t\t\t\tthis.draw_children(obj);\n\t\t\t\t\t\t//d = this.get_node(obj, true);\n\t\t\t\t\t}\n\t\t\t\t\tif(!animation) {\n\t\t\t\t\t\tthis.trigger('before_open', { \"node\" : obj });\n\t\t\t\t\t\td[0].className = d[0].className.replace('jstree-closed', 'jstree-open');\n\t\t\t\t\t\td[0].childNodes[1].setAttribute(\"aria-expanded\", true);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis.trigger('before_open', { \"node\" : obj });\n\t\t\t\t\t\td\n\t\t\t\t\t\t\t.children(\".jstree-children\").css(\"display\",\"none\").end()\n\t\t\t\t\t\t\t.removeClass(\"jstree-closed\").addClass(\"jstree-open\")\n\t\t\t\t\t\t\t\t.children('.jstree-anchor').attr(\"aria-expanded\", true).end()\n\t\t\t\t\t\t\t.children(\".jstree-children\").stop(true, true)\n\t\t\t\t\t\t\t\t.slideDown(animation, function () {\n\t\t\t\t\t\t\t\t\tthis.style.display = \"\";\n\t\t\t\t\t\t\t\t\tif (t.element) {\n\t\t\t\t\t\t\t\t\t\tt.trigger(\"after_open\", { \"node\" : obj });\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}\n\t\t\t\t}\n\t\t\t\tobj.state.opened = true;\n\t\t\t\tif(callback) {\n\t\t\t\t\tcallback.call(this, obj, true);\n\t\t\t\t}\n\t\t\t\tif(!d.length) {\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered when a node is about to be opened (if the node is supposed to be in the DOM, it will be, but it won't be visible yet)\n\t\t\t\t\t * @event\n\t\t\t\t\t * @name before_open.jstree\n\t\t\t\t\t * @param {Object} node the opened node\n\t\t\t\t\t */\n\t\t\t\t\tthis.trigger('before_open', { \"node\" : obj });\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when a node is opened (if there is an animation it will not be completed yet)\n\t\t\t\t * @event\n\t\t\t\t * @name open_node.jstree\n\t\t\t\t * @param {Object} node the opened node\n\t\t\t\t */\n\t\t\t\tthis.trigger('open_node', { \"node\" : obj });\n\t\t\t\tif(!animation || !d.length) {\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered when a node is opened and the animation is complete\n\t\t\t\t\t * @event\n\t\t\t\t\t * @name after_open.jstree\n\t\t\t\t\t * @param {Object} node the opened node\n\t\t\t\t\t */\n\t\t\t\t\tthis.trigger(\"after_open\", { \"node\" : obj });\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * opens every parent of a node (node should be loaded)\n\t\t * @name _open_to(obj)\n\t\t * @param {mixed} obj the node to reveal\n\t\t * @private\n\t\t */\n\t\t_open_to : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar i, j, p = obj.parents;\n\t\t\tfor(i = 0, j = p.length; i < j; i+=1) {\n\t\t\t\tif(i !== $.jstree.root) {\n\t\t\t\t\tthis.open_node(p[i], false, 0);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn $('#' + obj.id.replace($.jstree.idregex,'\\\\$&'), this.element);\n\t\t},\n\t\t/**\n\t\t * closes a node, hiding its children\n\t\t * @name close_node(obj [, animation])\n\t\t * @param {mixed} obj the node to close\n\t\t * @param {Number} animation the animation duration in milliseconds when closing the node (overrides the `core.animation` setting). Use `false` for no animation.\n\t\t * @trigger close_node.jstree, after_close.jstree\n\t\t */\n\t\tclose_node : function (obj, animation) {\n\t\t\tvar t1, t2, t, d;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.close_node(obj[t1], animation);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(this.is_closed(obj)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tanimation = animation === undefined ? this.settings.core.animation : animation;\n\t\t\tt = this;\n\t\t\td = this.get_node(obj, true);\n\n\t\t\tobj.state.opened = false;\n\t\t\t/**\n\t\t\t * triggered when a node is closed (if there is an animation it will not be complete yet)\n\t\t\t * @event\n\t\t\t * @name close_node.jstree\n\t\t\t * @param {Object} node the closed node\n\t\t\t */\n\t\t\tthis.trigger('close_node',{ \"node\" : obj });\n\t\t\tif(!d.length) {\n\t\t\t\t/**\n\t\t\t\t * triggered when a node is closed and the animation is complete\n\t\t\t\t * @event\n\t\t\t\t * @name after_close.jstree\n\t\t\t\t * @param {Object} node the closed node\n\t\t\t\t */\n\t\t\t\tthis.trigger(\"after_close\", { \"node\" : obj });\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif(!animation) {\n\t\t\t\t\td[0].className = d[0].className.replace('jstree-open', 'jstree-closed');\n\t\t\t\t\td.children('.jstree-anchor').attr(\"aria-expanded\", false);\n\t\t\t\t\td.children('.jstree-children').remove();\n\t\t\t\t\tthis.trigger(\"after_close\", { \"node\" : obj });\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\td\n\t\t\t\t\t\t.children(\".jstree-children\").attr(\"style\",\"display:block !important\").end()\n\t\t\t\t\t\t.removeClass(\"jstree-open\").addClass(\"jstree-closed\")\n\t\t\t\t\t\t\t.children('.jstree-anchor').attr(\"aria-expanded\", false).end()\n\t\t\t\t\t\t.children(\".jstree-children\").stop(true, true).slideUp(animation, function () {\n\t\t\t\t\t\t\tthis.style.display = \"\";\n\t\t\t\t\t\t\td.children('.jstree-children').remove();\n\t\t\t\t\t\t\tif (t.element) {\n\t\t\t\t\t\t\t\tt.trigger(\"after_close\", { \"node\" : obj });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * toggles a node - closing it if it is open, opening it if it is closed\n\t\t * @name toggle_node(obj)\n\t\t * @param {mixed} obj the node to toggle\n\t\t */\n\t\ttoggle_node : function (obj) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.toggle_node(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif(this.is_closed(obj)) {\n\t\t\t\treturn this.open_node(obj);\n\t\t\t}\n\t\t\tif(this.is_open(obj)) {\n\t\t\t\treturn this.close_node(obj);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * opens all nodes within a node (or the tree), revealing their children. If the node is not loaded it will be loaded and opened once ready.\n\t\t * @name open_all([obj, animation, original_obj])\n\t\t * @param {mixed} obj the node to open recursively, omit to open all nodes in the tree\n\t\t * @param {Number} animation the animation duration in milliseconds when opening the nodes, the default is no animation\n\t\t * @param {jQuery} reference to the node that started the process (internal use)\n\t\t * @trigger open_all.jstree\n\t\t */\n\t\topen_all : function (obj, animation, original_obj) {\n\t\t\tif(!obj) { obj = $.jstree.root; }\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) { return false; }\n\t\t\tvar dom = obj.id === $.jstree.root ? this.get_container_ul() : this.get_node(obj, true), i, j, _this;\n\t\t\tif(!dom.length) {\n\t\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\t\tif(this.is_closed(this._model.data[obj.children_d[i]])) {\n\t\t\t\t\t\tthis._model.data[obj.children_d[i]].state.opened = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this.trigger('open_all', { \"node\" : obj });\n\t\t\t}\n\t\t\toriginal_obj = original_obj || dom;\n\t\t\t_this = this;\n\t\t\tdom = this.is_closed(obj) ? dom.find('.jstree-closed').addBack() : dom.find('.jstree-closed');\n\t\t\tdom.each(function () {\n\t\t\t\t_this.open_node(\n\t\t\t\t\tthis,\n\t\t\t\t\tfunction(node, status) { if(status && this.is_parent(node)) { this.open_all(node, animation, original_obj); } },\n\t\t\t\t\tanimation || 0\n\t\t\t\t);\n\t\t\t});\n\t\t\tif(original_obj.find('.jstree-closed').length === 0) {\n\t\t\t\t/**\n\t\t\t\t * triggered when an `open_all` call completes\n\t\t\t\t * @event\n\t\t\t\t * @name open_all.jstree\n\t\t\t\t * @param {Object} node the opened node\n\t\t\t\t */\n\t\t\t\tthis.trigger('open_all', { \"node\" : this.get_node(original_obj) });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * closes all nodes within a node (or the tree), revealing their children\n\t\t * @name close_all([obj, animation])\n\t\t * @param {mixed} obj the node to close recursively, omit to close all nodes in the tree\n\t\t * @param {Number} animation the animation duration in milliseconds when closing the nodes, the default is no animation\n\t\t * @trigger close_all.jstree\n\t\t */\n\t\tclose_all : function (obj, animation) {\n\t\t\tif(!obj) { obj = $.jstree.root; }\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) { return false; }\n\t\t\tvar dom = obj.id === $.jstree.root ? this.get_container_ul() : this.get_node(obj, true),\n\t\t\t\t_this = this, i, j;\n\t\t\tif(dom.length) {\n\t\t\t\tdom = this.is_open(obj) ? dom.find('.jstree-open').addBack() : dom.find('.jstree-open');\n\t\t\t\t$(dom.get().reverse()).each(function () { _this.close_node(this, animation || 0); });\n\t\t\t}\n\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\tthis._model.data[obj.children_d[i]].state.opened = false;\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when an `close_all` call completes\n\t\t\t * @event\n\t\t\t * @name close_all.jstree\n\t\t\t * @param {Object} node the closed node\n\t\t\t */\n\t\t\tthis.trigger('close_all', { \"node\" : obj });\n\t\t},\n\t\t/**\n\t\t * checks if a node is disabled (not selectable)\n\t\t * @name is_disabled(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_disabled : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj && obj.state && obj.state.disabled;\n\t\t},\n\t\t/**\n\t\t * enables a node - so that it can be selected\n\t\t * @name enable_node(obj)\n\t\t * @param {mixed} obj the node to enable\n\t\t * @trigger enable_node.jstree\n\t\t */\n\t\tenable_node : function (obj) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.enable_node(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tobj.state.disabled = false;\n\t\t\tthis.get_node(obj,true).children('.jstree-anchor').removeClass('jstree-disabled').attr('aria-disabled', false);\n\t\t\t/**\n\t\t\t * triggered when an node is enabled\n\t\t\t * @event\n\t\t\t * @name enable_node.jstree\n\t\t\t * @param {Object} node the enabled node\n\t\t\t */\n\t\t\tthis.trigger('enable_node', { 'node' : obj });\n\t\t},\n\t\t/**\n\t\t * disables a node - so that it can not be selected\n\t\t * @name disable_node(obj)\n\t\t * @param {mixed} obj the node to disable\n\t\t * @trigger disable_node.jstree\n\t\t */\n\t\tdisable_node : function (obj) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.disable_node(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tobj.state.disabled = true;\n\t\t\tthis.get_node(obj,true).children('.jstree-anchor').addClass('jstree-disabled').attr('aria-disabled', true);\n\t\t\t/**\n\t\t\t * triggered when an node is disabled\n\t\t\t * @event\n\t\t\t * @name disable_node.jstree\n\t\t\t * @param {Object} node the disabled node\n\t\t\t */\n\t\t\tthis.trigger('disable_node', { 'node' : obj });\n\t\t},\n\t\t/**\n\t\t * determines if a node is hidden\n\t\t * @name is_hidden(obj)\n\t\t * @param {mixed} obj the node\n\t\t */\n\t\tis_hidden : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn obj.state.hidden === true;\n\t\t},\n\t\t/**\n\t\t * hides a node - it is still in the structure but will not be visible\n\t\t * @name hide_node(obj)\n\t\t * @param {mixed} obj the node to hide\n\t\t * @param {Boolean} skip_redraw internal parameter controlling if redraw is called\n\t\t * @trigger hide_node.jstree\n\t\t */\n\t\thide_node : function (obj, skip_redraw) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.hide_node(obj[t1], true);\n\t\t\t\t}\n\t\t\t\tif (!skip_redraw) {\n\t\t\t\t\tthis.redraw();\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(!obj.state.hidden) {\n\t\t\t\tobj.state.hidden = true;\n\t\t\t\tthis._node_changed(obj.parent);\n\t\t\t\tif(!skip_redraw) {\n\t\t\t\t\tthis.redraw();\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is hidden\n\t\t\t\t * @event\n\t\t\t\t * @name hide_node.jstree\n\t\t\t\t * @param {Object} node the hidden node\n\t\t\t\t */\n\t\t\t\tthis.trigger('hide_node', { 'node' : obj });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * shows a node\n\t\t * @name show_node(obj)\n\t\t * @param {mixed} obj the node to show\n\t\t * @param {Boolean} skip_redraw internal parameter controlling if redraw is called\n\t\t * @trigger show_node.jstree\n\t\t */\n\t\tshow_node : function (obj, skip_redraw) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.show_node(obj[t1], true);\n\t\t\t\t}\n\t\t\t\tif (!skip_redraw) {\n\t\t\t\t\tthis.redraw();\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(obj.state.hidden) {\n\t\t\t\tobj.state.hidden = false;\n\t\t\t\tthis._node_changed(obj.parent);\n\t\t\t\tif(!skip_redraw) {\n\t\t\t\t\tthis.redraw();\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is shown\n\t\t\t\t * @event\n\t\t\t\t * @name show_node.jstree\n\t\t\t\t * @param {Object} node the shown node\n\t\t\t\t */\n\t\t\t\tthis.trigger('show_node', { 'node' : obj });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * hides all nodes\n\t\t * @name hide_all()\n\t\t * @trigger hide_all.jstree\n\t\t */\n\t\thide_all : function (skip_redraw) {\n\t\t\tvar i, m = this._model.data, ids = [];\n\t\t\tfor(i in m) {\n\t\t\t\tif(m.hasOwnProperty(i) && i !== $.jstree.root && !m[i].state.hidden) {\n\t\t\t\t\tm[i].state.hidden = true;\n\t\t\t\t\tids.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._model.force_full_redraw = true;\n\t\t\tif(!skip_redraw) {\n\t\t\t\tthis.redraw();\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when all nodes are hidden\n\t\t\t * @event\n\t\t\t * @name hide_all.jstree\n\t\t\t * @param {Array} nodes the IDs of all hidden nodes\n\t\t\t */\n\t\t\tthis.trigger('hide_all', { 'nodes' : ids });\n\t\t\treturn ids;\n\t\t},\n\t\t/**\n\t\t * shows all nodes\n\t\t * @name show_all()\n\t\t * @trigger show_all.jstree\n\t\t */\n\t\tshow_all : function (skip_redraw) {\n\t\t\tvar i, m = this._model.data, ids = [];\n\t\t\tfor(i in m) {\n\t\t\t\tif(m.hasOwnProperty(i) && i !== $.jstree.root && m[i].state.hidden) {\n\t\t\t\t\tm[i].state.hidden = false;\n\t\t\t\t\tids.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._model.force_full_redraw = true;\n\t\t\tif(!skip_redraw) {\n\t\t\t\tthis.redraw();\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when all nodes are shown\n\t\t\t * @event\n\t\t\t * @name show_all.jstree\n\t\t\t * @param {Array} nodes the IDs of all shown nodes\n\t\t\t */\n\t\t\tthis.trigger('show_all', { 'nodes' : ids });\n\t\t\treturn ids;\n\t\t},\n\t\t/**\n\t\t * called when a node is selected by the user. Used internally.\n\t\t * @private\n\t\t * @name activate_node(obj, e)\n\t\t * @param {mixed} obj the node\n\t\t * @param {Object} e the related event\n\t\t * @trigger activate_node.jstree, changed.jstree\n\t\t */\n\t\tactivate_node : function (obj, e) {\n\t\t\tif(this.is_disabled(obj)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(!e || typeof e !== 'object') {\n\t\t\t\te = {};\n\t\t\t}\n\n\t\t\t// ensure last_clicked is still in the DOM, make it fresh (maybe it was moved?) and make sure it is still selected, if not - make last_clicked the last selected node\n\t\t\tthis._data.core.last_clicked = this._data.core.last_clicked && this._data.core.last_clicked.id !== undefined ? this.get_node(this._data.core.last_clicked.id) : null;\n\t\t\tif(this._data.core.last_clicked && !this._data.core.last_clicked.state.selected) { this._data.core.last_clicked = null; }\n\t\t\tif(!this._data.core.last_clicked && this._data.core.selected.length) { this._data.core.last_clicked = this.get_node(this._data.core.selected[this._data.core.selected.length - 1]); }\n\n\t\t\tif(!this.settings.core.multiple || (!e.metaKey && !e.ctrlKey && !e.shiftKey) || (e.shiftKey && (!this._data.core.last_clicked || !this.get_parent(obj) || this.get_parent(obj) !== this._data.core.last_clicked.parent ) )) {\n\t\t\t\tif(!this.settings.core.multiple && (e.metaKey || e.ctrlKey || e.shiftKey) && this.is_selected(obj)) {\n\t\t\t\t\tthis.deselect_node(obj, false, e);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif (this.settings.core.allow_reselect || !this.is_selected(obj) || this._data.core.selected.length !== 1) {\n\t\t\t\t\t\tthis.deselect_all(true);\n\t\t\t\t\t\tthis.select_node(obj, false, false, e);\n\t\t\t\t\t}\n\t\t\t\t\tthis._data.core.last_clicked = this.get_node(obj);\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tif(e.shiftKey) {\n\t\t\t\t\tvar o = this.get_node(obj).id,\n\t\t\t\t\t\tl = this._data.core.last_clicked.id,\n\t\t\t\t\t\tp = this.get_node(this._data.core.last_clicked.parent).children,\n\t\t\t\t\t\tc = false,\n\t\t\t\t\t\ti, j;\n\t\t\t\t\tfor(i = 0, j = p.length; i < j; i += 1) {\n\t\t\t\t\t\t// separate IFs work whem o and l are the same\n\t\t\t\t\t\tif(p[i] === o) {\n\t\t\t\t\t\t\tc = !c;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(p[i] === l) {\n\t\t\t\t\t\t\tc = !c;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(!this.is_disabled(p[i]) && (c || p[i] === o || p[i] === l)) {\n\t\t\t\t\t\t\tif (!this.is_hidden(p[i])) {\n\t\t\t\t\t\t\t\tthis.select_node(p[i], true, false, e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tif (!e.ctrlKey) {\n\t\t\t\t\t\t\t\tthis.deselect_node(p[i], true, e);\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\tthis.trigger('changed', { 'action' : 'select_node', 'node' : this.get_node(obj), 'selected' : this._data.core.selected, 'event' : e });\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif(!this.is_selected(obj)) {\n\t\t\t\t\t\tif (e.ctrlKey) {\n\t\t\t\t\t\t\tthis._data.core.last_clicked = this.get_node(obj);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.select_node(obj, false, false, e);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tthis.deselect_node(obj, false, e);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when an node is clicked or intercated with by the user\n\t\t\t * @event\n\t\t\t * @name activate_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {Object} event the ooriginal event (if any) which triggered the call (may be an empty object)\n\t\t\t */\n\t\t\tthis.trigger('activate_node', { 'node' : this.get_node(obj), 'event' : e });\n\t\t},\n\t\t/**\n\t\t * applies the hover state on a node, called when a node is hovered by the user. Used internally.\n\t\t * @private\n\t\t * @name hover_node(obj)\n\t\t * @param {mixed} obj\n\t\t * @trigger hover_node.jstree\n\t\t */\n\t\thover_node : function (obj) {\n\t\t\tobj = this.get_node(obj, true);\n\t\t\tif(!obj || !obj.length || obj.children('.jstree-hovered').length) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar o = this.element.find('.jstree-hovered'), t = this.element;\n\t\t\tif(o && o.length) { this.dehover_node(o); }\n\n\t\t\tobj.children('.jstree-anchor').addClass('jstree-hovered');\n\t\t\t/**\n\t\t\t * triggered when an node is hovered\n\t\t\t * @event\n\t\t\t * @name hover_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t */\n\t\t\tthis.trigger('hover_node', { 'node' : this.get_node(obj) });\n\t\t\tsetTimeout(function () { t.attr('aria-activedescendant', obj[0].id); }, 0);\n\t\t},\n\t\t/**\n\t\t * removes the hover state from a nodecalled when a node is no longer hovered by the user. Used internally.\n\t\t * @private\n\t\t * @name dehover_node(obj)\n\t\t * @param {mixed} obj\n\t\t * @trigger dehover_node.jstree\n\t\t */\n\t\tdehover_node : function (obj) {\n\t\t\tobj = this.get_node(obj, true);\n\t\t\tif(!obj || !obj.length || !obj.children('.jstree-hovered').length) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tobj.children('.jstree-anchor').removeClass('jstree-hovered');\n\t\t\t/**\n\t\t\t * triggered when an node is no longer hovered\n\t\t\t * @event\n\t\t\t * @name dehover_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t */\n\t\t\tthis.trigger('dehover_node', { 'node' : this.get_node(obj) });\n\t\t},\n\t\t/**\n\t\t * select a node\n\t\t * @name select_node(obj [, supress_event, prevent_open])\n\t\t * @param {mixed} obj an array can be used to select multiple nodes\n\t\t * @param {Boolean} supress_event if set to `true` the `changed.jstree` event won't be triggered\n\t\t * @param {Boolean} prevent_open if set to `true` parents of the selected node won't be opened\n\t\t * @trigger select_node.jstree, changed.jstree\n\t\t */\n\t\tselect_node : function (obj, supress_event, prevent_open, e) {\n\t\t\tvar dom, t1, t2, th;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.select_node(obj[t1], supress_event, prevent_open, e);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(!obj.state.selected) {\n\t\t\t\tobj.state.selected = true;\n\t\t\t\tthis._data.core.selected.push(obj.id);\n\t\t\t\tif(!prevent_open) {\n\t\t\t\t\tdom = this._open_to(obj);\n\t\t\t\t}\n\t\t\t\tif(dom && dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').addClass('jstree-clicked').attr('aria-selected', true);\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is selected\n\t\t\t\t * @event\n\t\t\t\t * @name select_node.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @param {Array} selected the current selection\n\t\t\t\t * @param {Object} event the event (if any) that triggered this select_node\n\t\t\t\t */\n\t\t\t\tthis.trigger('select_node', { 'node' : obj, 'selected' : this._data.core.selected, 'event' : e });\n\t\t\t\tif(!supress_event) {\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered when selection changes\n\t\t\t\t\t * @event\n\t\t\t\t\t * @name changed.jstree\n\t\t\t\t\t * @param {Object} node\n\t\t\t\t\t * @param {Object} action the action that caused the selection to change\n\t\t\t\t\t * @param {Array} selected the current selection\n\t\t\t\t\t * @param {Object} event the event (if any) that triggered this changed event\n\t\t\t\t\t */\n\t\t\t\t\tthis.trigger('changed', { 'action' : 'select_node', 'node' : obj, 'selected' : this._data.core.selected, 'event' : e });\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * deselect a node\n\t\t * @name deselect_node(obj [, supress_event])\n\t\t * @param {mixed} obj an array can be used to deselect multiple nodes\n\t\t * @param {Boolean} supress_event if set to `true` the `changed.jstree` event won't be triggered\n\t\t * @trigger deselect_node.jstree, changed.jstree\n\t\t */\n\t\tdeselect_node : function (obj, supress_event, e) {\n\t\t\tvar t1, t2, dom;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.deselect_node(obj[t1], supress_event, e);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(obj.state.selected) {\n\t\t\t\tobj.state.selected = false;\n\t\t\t\tthis._data.core.selected = $.vakata.array_remove_item(this._data.core.selected, obj.id);\n\t\t\t\tif(dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').removeClass('jstree-clicked').attr('aria-selected', false);\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is deselected\n\t\t\t\t * @event\n\t\t\t\t * @name deselect_node.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @param {Array} selected the current selection\n\t\t\t\t * @param {Object} event the event (if any) that triggered this deselect_node\n\t\t\t\t */\n\t\t\t\tthis.trigger('deselect_node', { 'node' : obj, 'selected' : this._data.core.selected, 'event' : e });\n\t\t\t\tif(!supress_event) {\n\t\t\t\t\tthis.trigger('changed', { 'action' : 'deselect_node', 'node' : obj, 'selected' : this._data.core.selected, 'event' : e });\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * select all nodes in the tree\n\t\t * @name select_all([supress_event])\n\t\t * @param {Boolean} supress_event if set to `true` the `changed.jstree` event won't be triggered\n\t\t * @trigger select_all.jstree, changed.jstree\n\t\t */\n\t\tselect_all : function (supress_event) {\n\t\t\tvar tmp = this._data.core.selected.concat([]), i, j;\n\t\t\tthis._data.core.selected = this._model.data[$.jstree.root].children_d.concat();\n\t\t\tfor(i = 0, j = this._data.core.selected.length; i < j; i++) {\n\t\t\t\tif(this._model.data[this._data.core.selected[i]]) {\n\t\t\t\t\tthis._model.data[this._data.core.selected[i]].state.selected = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.redraw(true);\n\t\t\t/**\n\t\t\t * triggered when all nodes are selected\n\t\t\t * @event\n\t\t\t * @name select_all.jstree\n\t\t\t * @param {Array} selected the current selection\n\t\t\t */\n\t\t\tthis.trigger('select_all', { 'selected' : this._data.core.selected });\n\t\t\tif(!supress_event) {\n\t\t\t\tthis.trigger('changed', { 'action' : 'select_all', 'selected' : this._data.core.selected, 'old_selection' : tmp });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * deselect all selected nodes\n\t\t * @name deselect_all([supress_event])\n\t\t * @param {Boolean} supress_event if set to `true` the `changed.jstree` event won't be triggered\n\t\t * @trigger deselect_all.jstree, changed.jstree\n\t\t */\n\t\tdeselect_all : function (supress_event) {\n\t\t\tvar tmp = this._data.core.selected.concat([]), i, j;\n\t\t\tfor(i = 0, j = this._data.core.selected.length; i < j; i++) {\n\t\t\t\tif(this._model.data[this._data.core.selected[i]]) {\n\t\t\t\t\tthis._model.data[this._data.core.selected[i]].state.selected = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._data.core.selected = [];\n\t\t\tthis.element.find('.jstree-clicked').removeClass('jstree-clicked').attr('aria-selected', false);\n\t\t\t/**\n\t\t\t * triggered when all nodes are deselected\n\t\t\t * @event\n\t\t\t * @name deselect_all.jstree\n\t\t\t * @param {Object} node the previous selection\n\t\t\t * @param {Array} selected the current selection\n\t\t\t */\n\t\t\tthis.trigger('deselect_all', { 'selected' : this._data.core.selected, 'node' : tmp });\n\t\t\tif(!supress_event) {\n\t\t\t\tthis.trigger('changed', { 'action' : 'deselect_all', 'selected' : this._data.core.selected, 'old_selection' : tmp });\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * checks if a node is selected\n\t\t * @name is_selected(obj)\n\t\t * @param  {mixed}  obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tis_selected : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn obj.state.selected;\n\t\t},\n\t\t/**\n\t\t * get an array of all selected nodes\n\t\t * @name get_selected([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t */\n\t\tget_selected : function (full) {\n\t\t\treturn full ? $.map(this._data.core.selected, function (i) { return this.get_node(i); }.bind(this)) : this._data.core.selected.slice();\n\t\t},\n\t\t/**\n\t\t * get an array of all top level selected nodes (ignoring children of selected nodes)\n\t\t * @name get_top_selected([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t */\n\t\tget_top_selected : function (full) {\n\t\t\tvar tmp = this.get_selected(true),\n\t\t\t\tobj = {}, i, j, k, l;\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tobj[tmp[i].id] = tmp[i];\n\t\t\t}\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tfor(k = 0, l = tmp[i].children_d.length; k < l; k++) {\n\t\t\t\t\tif(obj[tmp[i].children_d[k]]) {\n\t\t\t\t\t\tdelete obj[tmp[i].children_d[k]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ttmp = [];\n\t\t\tfor(i in obj) {\n\t\t\t\tif(obj.hasOwnProperty(i)) {\n\t\t\t\t\ttmp.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn full ? $.map(tmp, function (i) { return this.get_node(i); }.bind(this)) : tmp;\n\t\t},\n\t\t/**\n\t\t * get an array of all bottom level selected nodes (ignoring selected parents)\n\t\t * @name get_bottom_selected([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t */\n\t\tget_bottom_selected : function (full) {\n\t\t\tvar tmp = this.get_selected(true),\n\t\t\t\tobj = [], i, j;\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tif(!tmp[i].children.length) {\n\t\t\t\t\tobj.push(tmp[i].id);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn full ? $.map(obj, function (i) { return this.get_node(i); }.bind(this)) : obj;\n\t\t},\n\t\t/**\n\t\t * gets the current state of the tree so that it can be restored later with `set_state(state)`. Used internally.\n\t\t * @name get_state()\n\t\t * @private\n\t\t * @return {Object}\n\t\t */\n\t\tget_state : function () {\n\t\t\tvar state\t= {\n\t\t\t\t'core' : {\n\t\t\t\t\t'open' : [],\n\t\t\t\t\t'loaded' : [],\n\t\t\t\t\t'scroll' : {\n\t\t\t\t\t\t'left' : this.element.scrollLeft(),\n\t\t\t\t\t\t'top' : this.element.scrollTop()\n\t\t\t\t\t},\n\t\t\t\t\t/*!\n\t\t\t\t\t'themes' : {\n\t\t\t\t\t\t'name' : this.get_theme(),\n\t\t\t\t\t\t'icons' : this._data.core.themes.icons,\n\t\t\t\t\t\t'dots' : this._data.core.themes.dots\n\t\t\t\t\t},\n\t\t\t\t\t*/\n\t\t\t\t\t'selected' : []\n\t\t\t\t}\n\t\t\t}, i;\n\t\t\tfor(i in this._model.data) {\n\t\t\t\tif(this._model.data.hasOwnProperty(i)) {\n\t\t\t\t\tif(i !== $.jstree.root) {\n\t\t\t\t\t\tif(this._model.data[i].state.loaded && this.settings.core.loaded_state) {\n\t\t\t\t\t\t\tstate.core.loaded.push(i);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(this._model.data[i].state.opened) {\n\t\t\t\t\t\t\tstate.core.open.push(i);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(this._model.data[i].state.selected) {\n\t\t\t\t\t\t\tstate.core.selected.push(i);\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 state;\n\t\t},\n\t\t/**\n\t\t * sets the state of the tree. Used internally.\n\t\t * @name set_state(state [, callback])\n\t\t * @private\n\t\t * @param {Object} state the state to restore. Keep in mind this object is passed by reference and jstree will modify it.\n\t\t * @param {Function} callback an optional function to execute once the state is restored.\n\t\t * @trigger set_state.jstree\n\t\t */\n\t\tset_state : function (state, callback) {\n\t\t\tif(state) {\n\t\t\t\tif(state.core && state.core.selected && state.core.initial_selection === undefined) {\n\t\t\t\t\tstate.core.initial_selection = this._data.core.selected.concat([]).sort().join(',');\n\t\t\t\t}\n\t\t\t\tif(state.core) {\n\t\t\t\t\tvar res, n, t, _this, i;\n\t\t\t\t\tif(state.core.loaded) {\n\t\t\t\t\t\tif(!this.settings.core.loaded_state || !$.vakata.is_array(state.core.loaded) || !state.core.loaded.length) {\n\t\t\t\t\t\t\tdelete state.core.loaded;\n\t\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis._load_nodes(state.core.loaded, function (nodes) {\n\t\t\t\t\t\t\t\tdelete state.core.loaded;\n\t\t\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tif(state.core.open) {\n\t\t\t\t\t\tif(!$.vakata.is_array(state.core.open) || !state.core.open.length) {\n\t\t\t\t\t\t\tdelete state.core.open;\n\t\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tthis._load_nodes(state.core.open, function (nodes) {\n\t\t\t\t\t\t\t\tthis.open_node(nodes, false, 0);\n\t\t\t\t\t\t\t\tdelete state.core.open;\n\t\t\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tif(state.core.scroll) {\n\t\t\t\t\t\tif(state.core.scroll && state.core.scroll.left !== undefined) {\n\t\t\t\t\t\t\tthis.element.scrollLeft(state.core.scroll.left);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(state.core.scroll && state.core.scroll.top !== undefined) {\n\t\t\t\t\t\t\tthis.element.scrollTop(state.core.scroll.top);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdelete state.core.scroll;\n\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tif(state.core.selected) {\n\t\t\t\t\t\t_this = this;\n\t\t\t\t\t\tif (state.core.initial_selection === undefined ||\n\t\t\t\t\t\t\tstate.core.initial_selection === this._data.core.selected.concat([]).sort().join(',')\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tthis.deselect_all();\n\t\t\t\t\t\t\t$.each(state.core.selected, function (i, v) {\n\t\t\t\t\t\t\t\t_this.select_node(v, false, true);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}\n\t\t\t\t\t\tdelete state.core.initial_selection;\n\t\t\t\t\t\tdelete state.core.selected;\n\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t\tfor(i in state) {\n\t\t\t\t\t\tif(state.hasOwnProperty(i) && i !== \"core\" && $.inArray(i, this.settings.plugins) === -1) {\n\t\t\t\t\t\t\tdelete state[i];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif($.isEmptyObject(state.core)) {\n\t\t\t\t\t\tdelete state.core;\n\t\t\t\t\t\tthis.set_state(state, callback);\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif($.isEmptyObject(state)) {\n\t\t\t\t\tstate = null;\n\t\t\t\t\tif(callback) { callback.call(this); }\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered when a `set_state` call completes\n\t\t\t\t\t * @event\n\t\t\t\t\t * @name set_state.jstree\n\t\t\t\t\t */\n\t\t\t\t\tthis.trigger('set_state');\n\t\t\t\t\treturn false;\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 * refreshes the tree - all nodes are reloaded with calls to `load_node`.\n\t\t * @name refresh()\n\t\t * @param {Boolean} skip_loading an option to skip showing the loading indicator\n\t\t * @param {Mixed} forget_state if set to `true` state will not be reapplied, if set to a function (receiving the current state as argument) the result of that function will be used as state\n\t\t * @trigger refresh.jstree\n\t\t */\n\t\trefresh : function (skip_loading, forget_state) {\n\t\t\tthis._data.core.state = forget_state === true ? {} : this.get_state();\n\t\t\tif(forget_state && $.vakata.is_function(forget_state)) { this._data.core.state = forget_state.call(this, this._data.core.state); }\n\t\t\tthis._cnt = 0;\n\t\t\tthis._model.data = {};\n\t\t\tthis._model.data[$.jstree.root] = {\n\t\t\t\tid : $.jstree.root,\n\t\t\t\tparent : null,\n\t\t\t\tparents : [],\n\t\t\t\tchildren : [],\n\t\t\t\tchildren_d : [],\n\t\t\t\tstate : { loaded : false }\n\t\t\t};\n\t\t\tthis._data.core.selected = [];\n\t\t\tthis._data.core.last_clicked = null;\n\t\t\tthis._data.core.focused = null;\n\n\t\t\tvar c = this.get_container_ul()[0].className;\n\t\t\tif(!skip_loading) {\n\t\t\t\tthis.element.html(\"<\"+\"ul class='\"+c+\"' role='group'><\"+\"li class='jstree-initial-node jstree-loading jstree-leaf jstree-last' role='none' id='j\"+this._id+\"_loading'><i class='jstree-icon jstree-ocl'></i><\"+\"a class='jstree-anchor' role='treeitem' href='#'><i class='jstree-icon jstree-themeicon-hidden'></i>\" + this.get_string(\"Loading ...\") + \"</a></li></ul>\");\n\t\t\t\tthis.element.attr('aria-activedescendant','j'+this._id+'_loading');\n\t\t\t}\n\t\t\tthis.load_node($.jstree.root, function (o, s) {\n\t\t\t\tif(s) {\n\t\t\t\t\tthis.get_container_ul()[0].className = c;\n\t\t\t\t\tif(this._firstChild(this.get_container_ul()[0])) {\n\t\t\t\t\t\tthis.element.attr('aria-activedescendant',this._firstChild(this.get_container_ul()[0]).id);\n\t\t\t\t\t}\n\t\t\t\t\tthis.set_state($.extend(true, {}, this._data.core.state), function () {\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * triggered when a `refresh` call completes\n\t\t\t\t\t\t * @event\n\t\t\t\t\t\t * @name refresh.jstree\n\t\t\t\t\t\t */\n\t\t\t\t\t\tthis.trigger('refresh');\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tthis._data.core.state = null;\n\t\t\t});\n\t\t},\n\t\t/**\n\t\t * refreshes a node in the tree (reload its children) all opened nodes inside that node are reloaded with calls to `load_node`.\n\t\t * @name refresh_node(obj)\n\t\t * @param  {mixed} obj the node\n\t\t * @trigger refresh_node.jstree\n\t\t */\n\t\trefresh_node : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\tvar opened = [], to_load = [], s = this._data.core.selected.concat([]);\n\t\t\tto_load.push(obj.id);\n\t\t\tif(obj.state.opened === true) { opened.push(obj.id); }\n\t\t\tthis.get_node(obj, true).find('.jstree-open').each(function() { to_load.push(this.id); opened.push(this.id); });\n\t\t\tthis._load_nodes(to_load, function (nodes) {\n\t\t\t\tthis.open_node(opened, false, 0);\n\t\t\t\tthis.select_node(s);\n\t\t\t\t/**\n\t\t\t\t * triggered when a node is refreshed\n\t\t\t\t * @event\n\t\t\t\t * @name refresh_node.jstree\n\t\t\t\t * @param {Object} node - the refreshed node\n\t\t\t\t * @param {Array} nodes - an array of the IDs of the nodes that were reloaded\n\t\t\t\t */\n\t\t\t\tthis.trigger('refresh_node', { 'node' : obj, 'nodes' : nodes });\n\t\t\t}.bind(this), false, true);\n\t\t},\n\t\t/**\n\t\t * set (change) the ID of a node\n\t\t * @name set_id(obj, id)\n\t\t * @param  {mixed} obj the node\n\t\t * @param  {String} id the new ID\n\t\t * @return {Boolean}\n\t\t * @trigger set_id.jstree\n\t\t */\n\t\tset_id : function (obj, id) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\tvar i, j, m = this._model.data, old = obj.id;\n\t\t\tid = id.toString();\n\t\t\t// update parents (replace current ID with new one in children and children_d)\n\t\t\tm[obj.parent].children[$.inArray(obj.id, m[obj.parent].children)] = id;\n\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\tm[obj.parents[i]].children_d[$.inArray(obj.id, m[obj.parents[i]].children_d)] = id;\n\t\t\t}\n\t\t\t// update children (replace current ID with new one in parent and parents)\n\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\tm[obj.children[i]].parent = id;\n\t\t\t}\n\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\tm[obj.children_d[i]].parents[$.inArray(obj.id, m[obj.children_d[i]].parents)] = id;\n\t\t\t}\n\t\t\ti = $.inArray(obj.id, this._data.core.selected);\n\t\t\tif(i !== -1) { this._data.core.selected[i] = id; }\n\t\t\t// update model and obj itself (obj.id, this._model.data[KEY])\n\t\t\ti = this.get_node(obj.id, true);\n\t\t\tif(i) {\n\t\t\t\ti.attr('id', id); //.children('.jstree-anchor').attr('id', id + '_anchor').end().attr('aria-labelledby', id + '_anchor');\n\t\t\t\tif(this.element.attr('aria-activedescendant') === obj.id) {\n\t\t\t\t\tthis.element.attr('aria-activedescendant', id);\n\t\t\t\t}\n\t\t\t}\n\t\t\tdelete m[obj.id];\n\t\t\tobj.id = id;\n\t\t\tobj.li_attr.id = id;\n\t\t\tm[id] = obj;\n\t\t\t/**\n\t\t\t * triggered when a node id value is changed\n\t\t\t * @event\n\t\t\t * @name set_id.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {String} old the old id\n\t\t\t */\n\t\t\tthis.trigger('set_id',{ \"node\" : obj, \"new\" : obj.id, \"old\" : old });\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * get the text value of a node\n\t\t * @name get_text(obj)\n\t\t * @param  {mixed} obj the node\n\t\t * @return {String}\n\t\t */\n\t\tget_text : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn (!obj || obj.id === $.jstree.root) ? false : obj.text;\n\t\t},\n\t\t/**\n\t\t * set the text value of a node. Used internally, please use `rename_node(obj, val)`.\n\t\t * @private\n\t\t * @name set_text(obj, val)\n\t\t * @param  {mixed} obj the node, you can pass an array to set the text on multiple nodes\n\t\t * @param  {String} val the new text value\n\t\t * @return {Boolean}\n\t\t * @trigger set_text.jstree\n\t\t */\n\t\tset_text : function (obj, val) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.set_text(obj[t1], val);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\tobj.text = val;\n\t\t\tif(this.get_node(obj, true).length) {\n\t\t\t\tthis.redraw_node(obj.id);\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when a node text value is changed\n\t\t\t * @event\n\t\t\t * @name set_text.jstree\n\t\t\t * @param {Object} obj\n\t\t\t * @param {String} text the new value\n\t\t\t */\n\t\t\tthis.trigger('set_text',{ \"obj\" : obj, \"text\" : val });\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * gets a JSON representation of a node (or the whole tree)\n\t\t * @name get_json([obj, options])\n\t\t * @param  {mixed} obj\n\t\t * @param  {Object} options\n\t\t * @param  {Boolean} options.no_state do not return state information\n\t\t * @param  {Boolean} options.no_id do not return ID\n\t\t * @param  {Boolean} options.no_children do not include children\n\t\t * @param  {Boolean} options.no_data do not include node data\n\t\t * @param  {Boolean} options.no_li_attr do not include LI attributes\n\t\t * @param  {Boolean} options.no_a_attr do not include A attributes\n\t\t * @param  {Boolean} options.flat return flat JSON instead of nested\n\t\t * @return {Object}\n\t\t */\n\t\tget_json : function (obj, options, flat) {\n\t\t\tobj = this.get_node(obj || $.jstree.root);\n\t\t\tif(!obj) { return false; }\n\t\t\tif(options && options.flat && !flat) { flat = []; }\n\t\t\tvar tmp = {\n\t\t\t\t'id' : obj.id,\n\t\t\t\t'text' : obj.text,\n\t\t\t\t'icon' : this.get_icon(obj),\n\t\t\t\t'li_attr' : $.extend(true, {}, obj.li_attr),\n\t\t\t\t'a_attr' : $.extend(true, {}, obj.a_attr),\n\t\t\t\t'state' : {},\n\t\t\t\t'data' : options && options.no_data ? false : $.extend(true, $.vakata.is_array(obj.data)?[]:{}, obj.data)\n\t\t\t\t//( this.get_node(obj, true).length ? this.get_node(obj, true).data() : obj.data ),\n\t\t\t}, i, j;\n\t\t\tif(options && options.flat) {\n\t\t\t\ttmp.parent = obj.parent;\n\t\t\t}\n\t\t\telse {\n\t\t\t\ttmp.children = [];\n\t\t\t}\n\t\t\tif(!options || !options.no_state) {\n\t\t\t\tfor(i in obj.state) {\n\t\t\t\t\tif(obj.state.hasOwnProperty(i)) {\n\t\t\t\t\t\ttmp.state[i] = obj.state[i];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdelete tmp.state;\n\t\t\t}\n\t\t\tif(options && options.no_li_attr) {\n\t\t\t\tdelete tmp.li_attr;\n\t\t\t}\n\t\t\tif(options && options.no_a_attr) {\n\t\t\t\tdelete tmp.a_attr;\n\t\t\t}\n\t\t\tif(options && options.no_id) {\n\t\t\t\tdelete tmp.id;\n\t\t\t\tif(tmp.li_attr && tmp.li_attr.id) {\n\t\t\t\t\tdelete tmp.li_attr.id;\n\t\t\t\t}\n\t\t\t\tif(tmp.a_attr && tmp.a_attr.id) {\n\t\t\t\t\tdelete tmp.a_attr.id;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(options && options.flat && obj.id !== $.jstree.root) {\n\t\t\t\tflat.push(tmp);\n\t\t\t}\n\t\t\tif(!options || !options.no_children) {\n\t\t\t\tfor(i = 0, j = obj.children.length; i < j; i++) {\n\t\t\t\t\tif(options && options.flat) {\n\t\t\t\t\t\tthis.get_json(obj.children[i], options, flat);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttmp.children.push(this.get_json(obj.children[i], options));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn options && options.flat ? flat : (obj.id === $.jstree.root ? tmp.children : tmp);\n\t\t},\n\t\t/**\n\t\t * create a new node (do not confuse with load_node)\n\t\t * @name create_node([par, node, pos, callback, is_loaded])\n\t\t * @param  {mixed}   par       the parent node (to create a root node use either \"#\" (string) or `null`)\n\t\t * @param  {mixed}   node      the data for the new node (a valid JSON object, or a simple string with the name)\n\t\t * @param  {mixed}   pos       the index at which to insert the node, \"first\" and \"last\" are also supported, default is \"last\"\n\t\t * @param  {Function} callback a function to be called once the node is created\n\t\t * @param  {Boolean} is_loaded internal argument indicating if the parent node was succesfully loaded\n\t\t * @return {String}            the ID of the newly create node\n\t\t * @trigger model.jstree, create_node.jstree\n\t\t */\n\t\tcreate_node : function (par, node, pos, callback, is_loaded) {\n\t\t\tif(par === null) { par = $.jstree.root; }\n\t\t\tpar = this.get_node(par);\n\t\t\tif(!par) { return false; }\n\t\t\tpos = pos === undefined ? \"last\" : pos;\n\t\t\tif(!pos.toString().match(/^(before|after)$/) && !is_loaded && !this.is_loaded(par)) {\n\t\t\t\treturn this.load_node(par, function () { this.create_node(par, node, pos, callback, true); });\n\t\t\t}\n\t\t\tif(!node) { node = { \"text\" : this.get_string('New node') }; }\n\t\t\tif(typeof node === \"string\") {\n\t\t\t\tnode = { \"text\" : node };\n\t\t\t} else {\n\t\t\t\tnode = $.extend(true, {}, node);\n\t\t\t}\n\t\t\tif(node.text === undefined) { node.text = this.get_string('New node'); }\n\t\t\tvar tmp, dpc, i, j;\n\n\t\t\tif(par.id === $.jstree.root) {\n\t\t\t\tif(pos === \"before\") { pos = \"first\"; }\n\t\t\t\tif(pos === \"after\") { pos = \"last\"; }\n\t\t\t}\n\t\t\tswitch(pos) {\n\t\t\t\tcase \"before\":\n\t\t\t\t\ttmp = this.get_node(par.parent);\n\t\t\t\t\tpos = $.inArray(par.id, tmp.children);\n\t\t\t\t\tpar = tmp;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"after\" :\n\t\t\t\t\ttmp = this.get_node(par.parent);\n\t\t\t\t\tpos = $.inArray(par.id, tmp.children) + 1;\n\t\t\t\t\tpar = tmp;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inside\":\n\t\t\t\tcase \"first\":\n\t\t\t\t\tpos = 0;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"last\":\n\t\t\t\t\tpos = par.children.length;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif(!pos) { pos = 0; }\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(pos > par.children.length) { pos = par.children.length; }\n\t\t\tif(node.id === undefined) { node.id = true; }\n\t\t\tif(!this.check(\"create_node\", node, par, pos)) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(node.id === true) { delete node.id; }\n\t\t\tnode = this._parse_model_from_json(node, par.id, par.parents.concat());\n\t\t\tif(!node) { return false; }\n\t\t\ttmp = this.get_node(node);\n\t\t\tdpc = [];\n\t\t\tdpc.push(node);\n\t\t\tdpc = dpc.concat(tmp.children_d);\n\t\t\tthis.trigger('model', { \"nodes\" : dpc, \"parent\" : par.id });\n\n\t\t\tpar.children_d = par.children_d.concat(dpc);\n\t\t\tfor(i = 0, j = par.parents.length; i < j; i++) {\n\t\t\t\tthis._model.data[par.parents[i]].children_d = this._model.data[par.parents[i]].children_d.concat(dpc);\n\t\t\t}\n\t\t\tnode = tmp;\n\t\t\ttmp = [];\n\t\t\tfor(i = 0, j = par.children.length; i < j; i++) {\n\t\t\t\ttmp[i >= pos ? i+1 : i] = par.children[i];\n\t\t\t}\n\t\t\ttmp[pos] = node.id;\n\t\t\tpar.children = tmp;\n\n\t\t\tthis.redraw_node(par, true);\n\t\t\t/**\n\t\t\t * triggered when a node is created\n\t\t\t * @event\n\t\t\t * @name create_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {String} parent the parent's ID\n\t\t\t * @param {Number} position the position of the new node among the parent's children\n\t\t\t */\n\t\t\tthis.trigger('create_node', { \"node\" : this.get_node(node), \"parent\" : par.id, \"position\" : pos });\n\t\t\tif(callback) { callback.call(this, this.get_node(node)); }\n\t\t\treturn node.id;\n\t\t},\n\t\t/**\n\t\t * set the text value of a node\n\t\t * @name rename_node(obj, val)\n\t\t * @param  {mixed} obj the node, you can pass an array to rename multiple nodes to the same name\n\t\t * @param  {String} val the new text value\n\t\t * @return {Boolean}\n\t\t * @trigger rename_node.jstree\n\t\t */\n\t\trename_node : function (obj, val) {\n\t\t\tvar t1, t2, old;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.rename_node(obj[t1], val);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\told = obj.text;\n\t\t\tif(!this.check(\"rename_node\", obj, this.get_parent(obj), val)) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tthis.set_text(obj, val); // .apply(this, Array.prototype.slice.call(arguments))\n\t\t\t/**\n\t\t\t * triggered when a node is renamed\n\t\t\t * @event\n\t\t\t * @name rename_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {String} text the new value\n\t\t\t * @param {String} old the old value\n\t\t\t */\n\t\t\tthis.trigger('rename_node', { \"node\" : obj, \"text\" : val, \"old\" : old });\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * remove a node\n\t\t * @name delete_node(obj)\n\t\t * @param  {mixed} obj the node, you can pass an array to delete multiple nodes\n\t\t * @return {Boolean}\n\t\t * @trigger delete_node.jstree, changed.jstree\n\t\t */\n\t\tdelete_node : function (obj) {\n\t\t\tvar t1, t2, par, pos, tmp, i, j, k, l, c, top, lft;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.delete_node(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\tpar = this.get_node(obj.parent);\n\t\t\tpos = $.inArray(obj.id, par.children);\n\t\t\tc = false;\n\t\t\tif(!this.check(\"delete_node\", obj, par, pos)) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(pos !== -1) {\n\t\t\t\tpar.children = $.vakata.array_remove(par.children, pos);\n\t\t\t}\n\t\t\ttmp = obj.children_d.concat([]);\n\t\t\ttmp.push(obj.id);\n\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\tthis._model.data[obj.parents[i]].children_d = $.vakata.array_filter(this._model.data[obj.parents[i]].children_d, function (v) {\n\t\t\t\t\treturn $.inArray(v, tmp) === -1;\n\t\t\t\t});\n\t\t\t}\n\t\t\tfor(k = 0, l = tmp.length; k < l; k++) {\n\t\t\t\tif(this._model.data[tmp[k]].state.selected) {\n\t\t\t\t\tc = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (c) {\n\t\t\t\tthis._data.core.selected = $.vakata.array_filter(this._data.core.selected, function (v) {\n\t\t\t\t\treturn $.inArray(v, tmp) === -1;\n\t\t\t\t});\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when a node is deleted\n\t\t\t * @event\n\t\t\t * @name delete_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {String} parent the parent's ID\n\t\t\t */\n\t\t\tthis.trigger('delete_node', { \"node\" : obj, \"parent\" : par.id });\n\t\t\tif(c) {\n\t\t\t\tthis.trigger('changed', { 'action' : 'delete_node', 'node' : obj, 'selected' : this._data.core.selected, 'parent' : par.id });\n\t\t\t}\n\t\t\tfor(k = 0, l = tmp.length; k < l; k++) {\n\t\t\t\tdelete this._model.data[tmp[k]];\n\t\t\t}\n\t\t\tif($.inArray(this._data.core.focused, tmp) !== -1) {\n\t\t\t\tthis._data.core.focused = null;\n\t\t\t\ttop = this.element[0].scrollTop;\n\t\t\t\tlft = this.element[0].scrollLeft;\n\t\t\t\tif(par.id === $.jstree.root) {\n\t\t\t\t\tif (this._model.data[$.jstree.root].children[0]) {\n\t\t\t\t\t\tthis.get_node(this._model.data[$.jstree.root].children[0], true).children('.jstree-anchor').trigger('focus');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis.get_node(par, true).children('.jstree-anchor').trigger('focus');\n\t\t\t\t}\n\t\t\t\tthis.element[0].scrollTop  = top;\n\t\t\t\tthis.element[0].scrollLeft = lft;\n\t\t\t}\n\t\t\tthis.redraw_node(par, true);\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * check if an operation is premitted on the tree. Used internally.\n\t\t * @private\n\t\t * @name check(chk, obj, par, pos)\n\t\t * @param  {String} chk the operation to check, can be \"create_node\", \"rename_node\", \"delete_node\", \"copy_node\" or \"move_node\"\n\t\t * @param  {mixed} obj the node\n\t\t * @param  {mixed} par the parent\n\t\t * @param  {mixed} pos the position to insert at, or if \"rename_node\" - the new name\n\t\t * @param  {mixed} more some various additional information, for example if a \"move_node\" operations is triggered by DND this will be the hovered node\n\t\t * @return {Boolean}\n\t\t */\n\t\tcheck : function (chk, obj, par, pos, more) {\n\t\t\tobj = obj && obj.id ? obj : this.get_node(obj);\n\t\t\tpar = par && par.id ? par : this.get_node(par);\n\t\t\tvar tmp = chk.match(/^(move_node|copy_node|create_node)$/i) ? par : obj,\n\t\t\t\tchc = this.settings.core.check_callback;\n\t\t\tif(chk === \"move_node\" || chk === \"copy_node\") {\n\t\t\t\tif((!more || !more.is_multi) && (chk === \"move_node\" && $.inArray(obj.id, par.children) === pos)) {\n\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'core', 'id' : 'core_08', 'reason' : 'Moving node to its current position', 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && obj.id ? obj.id : false, 'par' : par && par.id ? par.id : false }) };\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif((!more || !more.is_multi) && (obj.id === par.id || (chk === \"move_node\" && $.inArray(obj.id, par.children) === pos) || $.inArray(par.id, obj.children_d) !== -1)) {\n\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'core', 'id' : 'core_01', 'reason' : 'Moving parent inside child', 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && obj.id ? obj.id : false, 'par' : par && par.id ? par.id : false }) };\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(tmp && tmp.data) { tmp = tmp.data; }\n\t\t\tif(tmp && tmp.functions && (tmp.functions[chk] === false || tmp.functions[chk] === true)) {\n\t\t\t\tif(tmp.functions[chk] === false) {\n\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'core', 'id' : 'core_02', 'reason' : 'Node data prevents function: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && obj.id ? obj.id : false, 'par' : par && par.id ? par.id : false }) };\n\t\t\t\t}\n\t\t\t\treturn tmp.functions[chk];\n\t\t\t}\n\t\t\tif(chc === false || ($.vakata.is_function(chc) && chc.call(this, chk, obj, par, pos, more) === false) || (chc && chc[chk] === false)) {\n\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'core', 'id' : 'core_03', 'reason' : 'User config for core.check_callback prevents function: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && obj.id ? obj.id : false, 'par' : par && par.id ? par.id : false }) };\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * get the last error\n\t\t * @name last_error()\n\t\t * @return {Object}\n\t\t */\n\t\tlast_error : function () {\n\t\t\treturn this._data.core.last_error;\n\t\t},\n\t\t/**\n\t\t * move a node to a new parent\n\t\t * @name move_node(obj, par [, pos, callback, is_loaded])\n\t\t * @param  {mixed} obj the node to move, pass an array to move multiple nodes\n\t\t * @param  {mixed} par the new parent\n\t\t * @param  {mixed} pos the position to insert at (besides integer values, \"first\" and \"last\" are supported, as well as \"before\" and \"after\"), defaults to integer `0`\n\t\t * @param  {function} callback a function to call once the move is completed, receives 3 arguments - the node, the new parent and the position\n\t\t * @param  {Boolean} is_loaded internal parameter indicating if the parent node has been loaded\n\t\t * @param  {Boolean} skip_redraw internal parameter indicating if the tree should be redrawn\n\t\t * @param  {Boolean} instance internal parameter indicating if the node comes from another instance\n\t\t * @trigger move_node.jstree\n\t\t */\n\t\tmove_node : function (obj, par, pos, callback, is_loaded, skip_redraw, origin) {\n\t\t\tvar t1, t2, old_par, old_pos, new_par, old_ins, is_multi, dpc, tmp, i, j, k, l, p;\n\n\t\t\tpar = this.get_node(par);\n\t\t\tpos = pos === undefined ? 0 : pos;\n\t\t\tif(!par) { return false; }\n\t\t\tif(!pos.toString().match(/^(before|after)$/) && !is_loaded && !this.is_loaded(par)) {\n\t\t\t\treturn this.load_node(par, function () { this.move_node(obj, par, pos, callback, true, false, origin); });\n\t\t\t}\n\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tif(obj.length === 1) {\n\t\t\t\t\tobj = obj[0];\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//obj = obj.slice();\n\t\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\t\tif((tmp = this.move_node(obj[t1], par, pos, callback, is_loaded, false, origin))) {\n\t\t\t\t\t\t\tpar = tmp;\n\t\t\t\t\t\t\tpos = \"after\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis.redraw();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tobj = obj && (obj.id !== undefined) ? obj : this.get_node(obj);\n\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\n\t\t\told_par = (obj.parent || $.jstree.root).toString();\n\t\t\tnew_par = (!pos.toString().match(/^(before|after)$/) || par.id === $.jstree.root) ? par : this.get_node(par.parent);\n\t\t\told_ins = origin ? origin : (this._model.data[obj.id] ? this : $.jstree.reference(obj.id));\n\t\t\tis_multi = !old_ins || !old_ins._id || (this._id !== old_ins._id);\n\t\t\told_pos = old_ins && old_ins._id && old_par && old_ins._model.data[old_par] && old_ins._model.data[old_par].children ? $.inArray(obj.id, old_ins._model.data[old_par].children) : -1;\n\t\t\tif(old_ins && old_ins._id) {\n\t\t\t\tobj = old_ins._model.data[obj.id];\n\t\t\t}\n\n\t\t\tif(is_multi) {\n\t\t\t\tif((tmp = this.copy_node(obj, par, pos, callback, is_loaded, false, origin))) {\n\t\t\t\t\tif(old_ins) { old_ins.delete_node(obj); }\n\t\t\t\t\treturn tmp;\n\t\t\t\t}\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\t//var m = this._model.data;\n\t\t\tif(par.id === $.jstree.root) {\n\t\t\t\tif(pos === \"before\") { pos = \"first\"; }\n\t\t\t\tif(pos === \"after\") { pos = \"last\"; }\n\t\t\t}\n\t\t\tswitch(pos) {\n\t\t\t\tcase \"before\":\n\t\t\t\t\tpos = $.inArray(par.id, new_par.children);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"after\" :\n\t\t\t\t\tpos = $.inArray(par.id, new_par.children) + 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inside\":\n\t\t\t\tcase \"first\":\n\t\t\t\t\tpos = 0;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"last\":\n\t\t\t\t\tpos = new_par.children.length;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif(!pos) { pos = 0; }\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(pos > new_par.children.length) { pos = new_par.children.length; }\n\t\t\tif(!this.check(\"move_node\", obj, new_par, pos, { 'core' : true, 'origin' : origin, 'is_multi' : (old_ins && old_ins._id && old_ins._id !== this._id), 'is_foreign' : (!old_ins || !old_ins._id) })) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(obj.parent === new_par.id) {\n\t\t\t\tdpc = new_par.children.concat();\n\t\t\t\ttmp = $.inArray(obj.id, dpc);\n\t\t\t\tif(tmp !== -1) {\n\t\t\t\t\tdpc = $.vakata.array_remove(dpc, tmp);\n\t\t\t\t\tif(pos > tmp) { pos--; }\n\t\t\t\t}\n\t\t\t\ttmp = [];\n\t\t\t\tfor(i = 0, j = dpc.length; i < j; i++) {\n\t\t\t\t\ttmp[i >= pos ? i+1 : i] = dpc[i];\n\t\t\t\t}\n\t\t\t\ttmp[pos] = obj.id;\n\t\t\t\tnew_par.children = tmp;\n\t\t\t\tthis._node_changed(new_par.id);\n\t\t\t\tthis.redraw(new_par.id === $.jstree.root);\n\t\t\t}\n\t\t\telse {\n\t\t\t\t// clean old parent and up\n\t\t\t\ttmp = obj.children_d.concat();\n\t\t\t\ttmp.push(obj.id);\n\t\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\t\tdpc = [];\n\t\t\t\t\tp = old_ins._model.data[obj.parents[i]].children_d;\n\t\t\t\t\tfor(k = 0, l = p.length; k < l; k++) {\n\t\t\t\t\t\tif($.inArray(p[k], tmp) === -1) {\n\t\t\t\t\t\t\tdpc.push(p[k]);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\told_ins._model.data[obj.parents[i]].children_d = dpc;\n\t\t\t\t}\n\t\t\t\told_ins._model.data[old_par].children = $.vakata.array_remove_item(old_ins._model.data[old_par].children, obj.id);\n\n\t\t\t\t// insert into new parent and up\n\t\t\t\tfor(i = 0, j = new_par.parents.length; i < j; i++) {\n\t\t\t\t\tthis._model.data[new_par.parents[i]].children_d = this._model.data[new_par.parents[i]].children_d.concat(tmp);\n\t\t\t\t}\n\t\t\t\tdpc = [];\n\t\t\t\tfor(i = 0, j = new_par.children.length; i < j; i++) {\n\t\t\t\t\tdpc[i >= pos ? i+1 : i] = new_par.children[i];\n\t\t\t\t}\n\t\t\t\tdpc[pos] = obj.id;\n\t\t\t\tnew_par.children = dpc;\n\t\t\t\tnew_par.children_d.push(obj.id);\n\t\t\t\tnew_par.children_d = new_par.children_d.concat(obj.children_d);\n\n\t\t\t\t// update object\n\t\t\t\tobj.parent = new_par.id;\n\t\t\t\ttmp = new_par.parents.concat();\n\t\t\t\ttmp.unshift(new_par.id);\n\t\t\t\tp = obj.parents.length;\n\t\t\t\tobj.parents = tmp;\n\n\t\t\t\t// update object children\n\t\t\t\ttmp = tmp.concat();\n\t\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\t\tthis._model.data[obj.children_d[i]].parents = this._model.data[obj.children_d[i]].parents.slice(0,p*-1);\n\t\t\t\t\tArray.prototype.push.apply(this._model.data[obj.children_d[i]].parents, tmp);\n\t\t\t\t}\n\n\t\t\t\tif(old_par === $.jstree.root || new_par.id === $.jstree.root) {\n\t\t\t\t\tthis._model.force_full_redraw = true;\n\t\t\t\t}\n\t\t\t\tif(!this._model.force_full_redraw) {\n\t\t\t\t\tthis._node_changed(old_par);\n\t\t\t\t\tthis._node_changed(new_par.id);\n\t\t\t\t}\n\t\t\t\tif(!skip_redraw) {\n\t\t\t\t\tthis.redraw();\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(callback) { callback.call(this, obj, new_par, pos); }\n\t\t\t/**\n\t\t\t * triggered when a node is moved\n\t\t\t * @event\n\t\t\t * @name move_node.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {String} parent the parent's ID\n\t\t\t * @param {Number} position the position of the node among the parent's children\n\t\t\t * @param {String} old_parent the old parent of the node\n\t\t\t * @param {Number} old_position the old position of the node\n\t\t\t * @param {Boolean} is_multi do the node and new parent belong to different instances\n\t\t\t * @param {jsTree} old_instance the instance the node came from\n\t\t\t * @param {jsTree} new_instance the instance of the new parent\n\t\t\t */\n\t\t\tthis.trigger('move_node', { \"node\" : obj, \"parent\" : new_par.id, \"position\" : pos, \"old_parent\" : old_par, \"old_position\" : old_pos, 'is_multi' : (old_ins && old_ins._id && old_ins._id !== this._id), 'is_foreign' : (!old_ins || !old_ins._id), 'old_instance' : old_ins, 'new_instance' : this });\n\t\t\treturn obj.id;\n\t\t},\n\t\t/**\n\t\t * copy a node to a new parent\n\t\t * @name copy_node(obj, par [, pos, callback, is_loaded])\n\t\t * @param  {mixed} obj the node to copy, pass an array to copy multiple nodes\n\t\t * @param  {mixed} par the new parent\n\t\t * @param  {mixed} pos the position to insert at (besides integer values, \"first\" and \"last\" are supported, as well as \"before\" and \"after\"), defaults to integer `0`\n\t\t * @param  {function} callback a function to call once the move is completed, receives 3 arguments - the node, the new parent and the position\n\t\t * @param  {Boolean} is_loaded internal parameter indicating if the parent node has been loaded\n\t\t * @param  {Boolean} skip_redraw internal parameter indicating if the tree should be redrawn\n\t\t * @param  {Boolean} instance internal parameter indicating if the node comes from another instance\n\t\t * @trigger model.jstree copy_node.jstree\n\t\t */\n\t\tcopy_node : function (obj, par, pos, callback, is_loaded, skip_redraw, origin) {\n\t\t\tvar t1, t2, dpc, tmp, i, j, node, old_par, new_par, old_ins, is_multi;\n\n\t\t\tpar = this.get_node(par);\n\t\t\tpos = pos === undefined ? 0 : pos;\n\t\t\tif(!par) { return false; }\n\t\t\tif(!pos.toString().match(/^(before|after)$/) && !is_loaded && !this.is_loaded(par)) {\n\t\t\t\treturn this.load_node(par, function () { this.copy_node(obj, par, pos, callback, true, false, origin); });\n\t\t\t}\n\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tif(obj.length === 1) {\n\t\t\t\t\tobj = obj[0];\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\t//obj = obj.slice();\n\t\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\t\tif((tmp = this.copy_node(obj[t1], par, pos, callback, is_loaded, true, origin))) {\n\t\t\t\t\t\t\tpar = tmp;\n\t\t\t\t\t\t\tpos = \"after\";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tthis.redraw();\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tobj = obj && (obj.id !== undefined) ? obj : this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\n\t\t\told_par = (obj.parent || $.jstree.root).toString();\n\t\t\tnew_par = (!pos.toString().match(/^(before|after)$/) || par.id === $.jstree.root) ? par : this.get_node(par.parent);\n\t\t\told_ins = origin ? origin : (this._model.data[obj.id] ? this : $.jstree.reference(obj.id));\n\t\t\tis_multi = !old_ins || !old_ins._id || (this._id !== old_ins._id);\n\n\t\t\tif(old_ins && old_ins._id) {\n\t\t\t\tobj = old_ins._model.data[obj.id];\n\t\t\t}\n\n\t\t\tif(par.id === $.jstree.root) {\n\t\t\t\tif(pos === \"before\") { pos = \"first\"; }\n\t\t\t\tif(pos === \"after\") { pos = \"last\"; }\n\t\t\t}\n\t\t\tswitch(pos) {\n\t\t\t\tcase \"before\":\n\t\t\t\t\tpos = $.inArray(par.id, new_par.children);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"after\" :\n\t\t\t\t\tpos = $.inArray(par.id, new_par.children) + 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"inside\":\n\t\t\t\tcase \"first\":\n\t\t\t\t\tpos = 0;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"last\":\n\t\t\t\t\tpos = new_par.children.length;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\tif(!pos) { pos = 0; }\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(pos > new_par.children.length) { pos = new_par.children.length; }\n\t\t\tif(!this.check(\"copy_node\", obj, new_par, pos, { 'core' : true, 'origin' : origin, 'is_multi' : (old_ins && old_ins._id && old_ins._id !== this._id), 'is_foreign' : (!old_ins || !old_ins._id) })) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tnode = old_ins ? old_ins.get_json(obj, { no_id : true, no_data : true, no_state : true }) : obj;\n\t\t\tif(!node) { return false; }\n\t\t\tif(node.id === true) { delete node.id; }\n\t\t\tnode = this._parse_model_from_json(node, new_par.id, new_par.parents.concat());\n\t\t\tif(!node) { return false; }\n\t\t\ttmp = this.get_node(node);\n\t\t\tif(obj && obj.state && obj.state.loaded === false) { tmp.state.loaded = false; }\n\t\t\tdpc = [];\n\t\t\tdpc.push(node);\n\t\t\tdpc = dpc.concat(tmp.children_d);\n\t\t\tthis.trigger('model', { \"nodes\" : dpc, \"parent\" : new_par.id });\n\n\t\t\t// insert into new parent and up\n\t\t\tfor(i = 0, j = new_par.parents.length; i < j; i++) {\n\t\t\t\tthis._model.data[new_par.parents[i]].children_d = this._model.data[new_par.parents[i]].children_d.concat(dpc);\n\t\t\t}\n\t\t\tdpc = [];\n\t\t\tfor(i = 0, j = new_par.children.length; i < j; i++) {\n\t\t\t\tdpc[i >= pos ? i+1 : i] = new_par.children[i];\n\t\t\t}\n\t\t\tdpc[pos] = tmp.id;\n\t\t\tnew_par.children = dpc;\n\t\t\tnew_par.children_d.push(tmp.id);\n\t\t\tnew_par.children_d = new_par.children_d.concat(tmp.children_d);\n\n\t\t\tif(new_par.id === $.jstree.root) {\n\t\t\t\tthis._model.force_full_redraw = true;\n\t\t\t}\n\t\t\tif(!this._model.force_full_redraw) {\n\t\t\t\tthis._node_changed(new_par.id);\n\t\t\t}\n\t\t\tif(!skip_redraw) {\n\t\t\t\tthis.redraw(new_par.id === $.jstree.root);\n\t\t\t}\n\t\t\tif(callback) { callback.call(this, tmp, new_par, pos); }\n\t\t\t/**\n\t\t\t * triggered when a node is copied\n\t\t\t * @event\n\t\t\t * @name copy_node.jstree\n\t\t\t * @param {Object} node the copied node\n\t\t\t * @param {Object} original the original node\n\t\t\t * @param {String} parent the parent's ID\n\t\t\t * @param {Number} position the position of the node among the parent's children\n\t\t\t * @param {String} old_parent the old parent of the node\n\t\t\t * @param {Number} old_position the position of the original node\n\t\t\t * @param {Boolean} is_multi do the node and new parent belong to different instances\n\t\t\t * @param {jsTree} old_instance the instance the node came from\n\t\t\t * @param {jsTree} new_instance the instance of the new parent\n\t\t\t */\n\t\t\tthis.trigger('copy_node', { \"node\" : tmp, \"original\" : obj, \"parent\" : new_par.id, \"position\" : pos, \"old_parent\" : old_par, \"old_position\" : old_ins && old_ins._id && old_par && old_ins._model.data[old_par] && old_ins._model.data[old_par].children ? $.inArray(obj.id, old_ins._model.data[old_par].children) : -1,'is_multi' : (old_ins && old_ins._id && old_ins._id !== this._id), 'is_foreign' : (!old_ins || !old_ins._id), 'old_instance' : old_ins, 'new_instance' : this });\n\t\t\treturn tmp.id;\n\t\t},\n\t\t/**\n\t\t * cut a node (a later call to `paste(obj)` would move the node)\n\t\t * @name cut(obj)\n\t\t * @param  {mixed} obj multiple objects can be passed using an array\n\t\t * @trigger cut.jstree\n\t\t */\n\t\tcut : function (obj) {\n\t\t\tif(!obj) { obj = this._data.core.selected.concat(); }\n\t\t\tif(!$.vakata.is_array(obj)) { obj = [obj]; }\n\t\t\tif(!obj.length) { return false; }\n\t\t\tvar tmp = [], o, t1, t2;\n\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\to = this.get_node(obj[t1]);\n\t\t\t\tif(o && (o.id || o.id === 0) && o.id !== $.jstree.root) { tmp.push(o); }\n\t\t\t}\n\t\t\tif(!tmp.length) { return false; }\n\t\t\tccp_node = tmp;\n\t\t\tccp_inst = this;\n\t\t\tccp_mode = 'move_node';\n\t\t\t/**\n\t\t\t * triggered when nodes are added to the buffer for moving\n\t\t\t * @event\n\t\t\t * @name cut.jstree\n\t\t\t * @param {Array} node\n\t\t\t */\n\t\t\tthis.trigger('cut', { \"node\" : obj });\n\t\t},\n\t\t/**\n\t\t * copy a node (a later call to `paste(obj)` would copy the node)\n\t\t * @name copy(obj)\n\t\t * @param  {mixed} obj multiple objects can be passed using an array\n\t\t * @trigger copy.jstree\n\t\t */\n\t\tcopy : function (obj) {\n\t\t\tif(!obj) { obj = this._data.core.selected.concat(); }\n\t\t\tif(!$.vakata.is_array(obj)) { obj = [obj]; }\n\t\t\tif(!obj.length) { return false; }\n\t\t\tvar tmp = [], o, t1, t2;\n\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\to = this.get_node(obj[t1]);\n\t\t\t\tif(o && (o.id !== undefined) && o.id !== $.jstree.root) { tmp.push(o); }\n\t\t\t}\n\t\t\tif(!tmp.length) { return false; }\n\t\t\tccp_node = tmp;\n\t\t\tccp_inst = this;\n\t\t\tccp_mode = 'copy_node';\n\t\t\t/**\n\t\t\t * triggered when nodes are added to the buffer for copying\n\t\t\t * @event\n\t\t\t * @name copy.jstree\n\t\t\t * @param {Array} node\n\t\t\t */\n\t\t\tthis.trigger('copy', { \"node\" : obj });\n\t\t},\n\t\t/**\n\t\t * get the current buffer (any nodes that are waiting for a paste operation)\n\t\t * @name get_buffer()\n\t\t * @return {Object} an object consisting of `mode` (\"copy_node\" or \"move_node\"), `node` (an array of objects) and `inst` (the instance)\n\t\t */\n\t\tget_buffer : function () {\n\t\t\treturn { 'mode' : ccp_mode, 'node' : ccp_node, 'inst' : ccp_inst };\n\t\t},\n\t\t/**\n\t\t * check if there is something in the buffer to paste\n\t\t * @name can_paste()\n\t\t * @return {Boolean}\n\t\t */\n\t\tcan_paste : function () {\n\t\t\treturn ccp_mode !== false && ccp_node !== false; // && ccp_inst._model.data[ccp_node];\n\t\t},\n\t\t/**\n\t\t * copy or move the previously cut or copied nodes to a new parent\n\t\t * @name paste(obj [, pos])\n\t\t * @param  {mixed} obj the new parent\n\t\t * @param  {mixed} pos the position to insert at (besides integer, \"first\" and \"last\" are supported), defaults to integer `0`\n\t\t * @trigger paste.jstree\n\t\t */\n\t\tpaste : function (obj, pos) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || !ccp_mode || !ccp_mode.match(/^(copy_node|move_node)$/) || !ccp_node) { return false; }\n\t\t\tif(this[ccp_mode](ccp_node, obj, pos, false, false, false, ccp_inst)) {\n\t\t\t\t/**\n\t\t\t\t * triggered when paste is invoked\n\t\t\t\t * @event\n\t\t\t\t * @name paste.jstree\n\t\t\t\t * @param {String} parent the ID of the receiving node\n\t\t\t\t * @param {Array} node the nodes in the buffer\n\t\t\t\t * @param {String} mode the performed operation - \"copy_node\" or \"move_node\"\n\t\t\t\t */\n\t\t\t\tthis.trigger('paste', { \"parent\" : obj.id, \"node\" : ccp_node, \"mode\" : ccp_mode });\n\t\t\t}\n\t\t\tccp_node = false;\n\t\t\tccp_mode = false;\n\t\t\tccp_inst = false;\n\t\t},\n\t\t/**\n\t\t * clear the buffer of previously copied or cut nodes\n\t\t * @name clear_buffer()\n\t\t * @trigger clear_buffer.jstree\n\t\t */\n\t\tclear_buffer : function () {\n\t\t\tccp_node = false;\n\t\t\tccp_mode = false;\n\t\t\tccp_inst = false;\n\t\t\t/**\n\t\t\t * triggered when the copy / cut buffer is cleared\n\t\t\t * @event\n\t\t\t * @name clear_buffer.jstree\n\t\t\t */\n\t\t\tthis.trigger('clear_buffer');\n\t\t},\n\t\t/**\n\t\t * put a node in edit mode (input field to rename the node)\n\t\t * @name edit(obj [, default_text, callback])\n\t\t * @param  {mixed} obj\n\t\t * @param  {String} default_text the text to populate the input with (if omitted or set to a non-string value the node's text value is used)\n\t\t * @param  {Function} callback a function to be called once the text box is blurred, it is called in the instance's scope and receives the node, a status parameter (true if the rename is successful, false otherwise), a boolean indicating if the user cancelled the edit and the original unescaped value provided by the user. You can also access the node's title using .text\n\t\t */\n\t\tedit : function (obj, default_text, callback) {\n\t\t\tvar rtl, w, a, s, t, h1, h2, fn, tmp, cancel = false;\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) { return false; }\n\t\t\tif(!this.check(\"edit\", obj, this.get_parent(obj))) {\n\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\ttmp = obj;\n\t\t\tdefault_text = typeof default_text === 'string' ? default_text : obj.text;\n\t\t\tthis.set_text(obj, \"\");\n\t\t\tobj = this._open_to(obj);\n\t\t\ttmp.text = default_text;\n\n\t\t\trtl = this._data.core.rtl;\n\t\t\tw  = this.element.width();\n\t\t\tthis._data.core.focused = tmp.id;\n\t\t\ta  = obj.children('.jstree-anchor').trigger('focus');\n\t\t\ts  = $('<span></span>');\n\t\t\t/*!\n\t\t\toi = obj.children(\"i:visible\"),\n\t\t\tai = a.children(\"i:visible\"),\n\t\t\tw1 = oi.width() * oi.length,\n\t\t\tw2 = ai.width() * ai.length,\n\t\t\t*/\n\t\t\tt  = default_text;\n\t\t\th1 = $(\"<\"+\"div></div>\", { css : { \"position\" : \"absolute\", \"top\" : \"-200px\", \"left\" : (rtl ? \"0px\" : \"-1000px\"), \"visibility\" : \"hidden\" } }).appendTo(document.body);\n\t\t\th2 = $(\"<\"+\"input />\", {\n\t\t\t\t\t\t\"value\" : t,\n\t\t\t\t\t\t\"class\" : \"jstree-rename-input\",\n\t\t\t\t\t\t// \"size\" : t.length,\n\t\t\t\t\t\t\"css\" : {\n\t\t\t\t\t\t\t\"padding\" : \"0\",\n\t\t\t\t\t\t\t\"border\" : \"1px solid silver\",\n\t\t\t\t\t\t\t\"box-sizing\" : \"border-box\",\n\t\t\t\t\t\t\t\"display\" : \"inline-block\",\n\t\t\t\t\t\t\t\"height\" : (this._data.core.li_height) + \"px\",\n\t\t\t\t\t\t\t\"lineHeight\" : (this._data.core.li_height) + \"px\",\n\t\t\t\t\t\t\t\"width\" : \"150px\" // will be set a bit further down\n\t\t\t\t\t\t},\n\t\t\t\t\t\t\"on\" : {\n\t\t\t\t\t\t\t\"blur\" : function (e) {\n\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tvar i = s.children(\".jstree-rename-input\"),\n\t\t\t\t\t\t\t\t\tv = i.val(),\n\t\t\t\t\t\t\t\t\tf = this.settings.core.force_text,\n\t\t\t\t\t\t\t\t\tnv;\n\t\t\t\t\t\t\t\tif(v === \"\") { v = t; }\n\t\t\t\t\t\t\t\th1.remove();\n\t\t\t\t\t\t\t\ts.replaceWith(a);\n\t\t\t\t\t\t\t\ts.remove();\n\t\t\t\t\t\t\t\tt = f ? t : $('<div></div>').append($.parseHTML(t)).html();\n\t\t\t\t\t\t\t\tobj = this.get_node(obj);\n\t\t\t\t\t\t\t\tthis.set_text(obj, t);\n\t\t\t\t\t\t\t\tnv = !!this.rename_node(obj, f ? $('<div></div>').text(v).text() : $('<div></div>').append($.parseHTML(v)).html());\n\t\t\t\t\t\t\t\tif(!nv) {\n\t\t\t\t\t\t\t\t\tthis.set_text(obj, t); // move this up? and fix #483\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tthis._data.core.focused = tmp.id;\n\t\t\t\t\t\t\t\tsetTimeout(function () {\n\t\t\t\t\t\t\t\t\tvar node = this.get_node(tmp.id, true);\n\t\t\t\t\t\t\t\t\tif(node.length) {\n\t\t\t\t\t\t\t\t\t\tthis._data.core.focused = tmp.id;\n\t\t\t\t\t\t\t\t\t\tnode.children('.jstree-anchor').trigger('focus');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}.bind(this), 0);\n\t\t\t\t\t\t\t\tif(callback) {\n\t\t\t\t\t\t\t\t\tcallback.call(this, tmp, nv, cancel, v);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\th2 = null;\n\t\t\t\t\t\t\t}.bind(this),\n\t\t\t\t\t\t\t\"keydown\" : function (e) {\n\t\t\t\t\t\t\t\tvar key = e.which;\n\t\t\t\t\t\t\t\tif(key === 27) {\n\t\t\t\t\t\t\t\t\tcancel = true;\n\t\t\t\t\t\t\t\t\tthis.value = t;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif(key === 27 || key === 13 || key === 37 || key === 38 || key === 39 || key === 40 || key === 32) {\n\t\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif(key === 27 || key === 13) {\n\t\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t\tthis.blur();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"click\" : function (e) { e.stopImmediatePropagation(); },\n\t\t\t\t\t\t\t\"mousedown\" : function (e) { e.stopImmediatePropagation(); },\n\t\t\t\t\t\t\t\"keyup\" : function (e) {\n\t\t\t\t\t\t\t\th2.width(Math.min(h1.text(\"pW\" + this.value).width(),w));\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"keypress\" : function(e) {\n\t\t\t\t\t\t\t\tif(e.which === 13) { return false; }\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\tfn = {\n\t\t\t\t\t\tfontFamily\t\t: a.css('fontFamily')\t\t|| '',\n\t\t\t\t\t\tfontSize\t\t: a.css('fontSize')\t\t\t|| '',\n\t\t\t\t\t\tfontWeight\t\t: a.css('fontWeight')\t\t|| '',\n\t\t\t\t\t\tfontStyle\t\t: a.css('fontStyle')\t\t|| '',\n\t\t\t\t\t\tfontStretch\t\t: a.css('fontStretch')\t\t|| '',\n\t\t\t\t\t\tfontVariant\t\t: a.css('fontVariant')\t\t|| '',\n\t\t\t\t\t\tletterSpacing\t: a.css('letterSpacing')\t|| '',\n\t\t\t\t\t\twordSpacing\t\t: a.css('wordSpacing')\t\t|| ''\n\t\t\t\t};\n\t\t\ts.attr('class', a.attr('class')).append(a.contents().clone()).append(h2);\n\t\t\ta.replaceWith(s);\n\t\t\th1.css(fn);\n\t\t\th2.css(fn).width(Math.min(h1.text(\"pW\" + h2[0].value).width(),w))[0].select();\n\t\t\t$(document).one('mousedown.jstree touchstart.jstree dnd_start.vakata', function (e) {\n\t\t\t\tif (h2 && e.target !== h2) {\n\t\t\t\t\t$(h2).trigger('blur');\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\n\n\t\t/**\n\t\t * changes the theme\n\t\t * @name set_theme(theme_name [, theme_url])\n\t\t * @param {String} theme_name the name of the new theme to apply\n\t\t * @param {mixed} theme_url  the location of the CSS file for this theme. Omit or set to `false` if you manually included the file. Set to `true` to autoload from the `core.themes.dir` directory.\n\t\t * @trigger set_theme.jstree\n\t\t */\n\t\tset_theme : function (theme_name, theme_url) {\n\t\t\tif(!theme_name) { return false; }\n\t\t\tif(theme_url === true) {\n\t\t\t\tvar dir = this.settings.core.themes.dir;\n\t\t\t\tif(!dir) { dir = $.jstree.path + '/themes'; }\n\t\t\t\ttheme_url = dir + '/' + theme_name + '/style.css';\n\t\t\t}\n\t\t\tif(theme_url && $.inArray(theme_url, themes_loaded) === -1) {\n\t\t\t\t$('head').append('<'+'link rel=\"stylesheet\" href=\"' + theme_url + '\" type=\"text/css\" />');\n\t\t\t\tthemes_loaded.push(theme_url);\n\t\t\t}\n\t\t\tif(this._data.core.themes.name) {\n\t\t\t\tthis.element.removeClass('jstree-' + this._data.core.themes.name);\n\t\t\t}\n\t\t\tthis._data.core.themes.name = theme_name;\n\t\t\tthis.element.addClass('jstree-' + theme_name);\n\t\t\tthis.element[this.settings.core.themes.responsive ? 'addClass' : 'removeClass' ]('jstree-' + theme_name + '-responsive');\n\t\t\t/**\n\t\t\t * triggered when a theme is set\n\t\t\t * @event\n\t\t\t * @name set_theme.jstree\n\t\t\t * @param {String} theme the new theme\n\t\t\t */\n\t\t\tthis.trigger('set_theme', { 'theme' : theme_name });\n\t\t},\n\t\t/**\n\t\t * gets the name of the currently applied theme name\n\t\t * @name get_theme()\n\t\t * @return {String}\n\t\t */\n\t\tget_theme : function () { return this._data.core.themes.name; },\n\t\t/**\n\t\t * changes the theme variant (if the theme has variants)\n\t\t * @name set_theme_variant(variant_name)\n\t\t * @param {String|Boolean} variant_name the variant to apply (if `false` is used the current variant is removed)\n\t\t */\n\t\tset_theme_variant : function (variant_name) {\n\t\t\tif(this._data.core.themes.variant) {\n\t\t\t\tthis.element.removeClass('jstree-' + this._data.core.themes.name + '-' + this._data.core.themes.variant);\n\t\t\t}\n\t\t\tthis._data.core.themes.variant = variant_name;\n\t\t\tif(variant_name) {\n\t\t\t\tthis.element.addClass('jstree-' + this._data.core.themes.name + '-' + this._data.core.themes.variant);\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * gets the name of the currently applied theme variant\n\t\t * @name get_theme()\n\t\t * @return {String}\n\t\t */\n\t\tget_theme_variant : function () { return this._data.core.themes.variant; },\n\t\t/**\n\t\t * shows a striped background on the container (if the theme supports it)\n\t\t * @name show_stripes()\n\t\t */\n\t\tshow_stripes : function () {\n\t\t\tthis._data.core.themes.stripes = true;\n\t\t\tthis.get_container_ul().addClass(\"jstree-striped\");\n\t\t\t/**\n\t\t\t * triggered when stripes are shown\n\t\t\t * @event\n\t\t\t * @name show_stripes.jstree\n\t\t\t */\n\t\t\tthis.trigger('show_stripes');\n\t\t},\n\t\t/**\n\t\t * hides the striped background on the container\n\t\t * @name hide_stripes()\n\t\t */\n\t\thide_stripes : function () {\n\t\t\tthis._data.core.themes.stripes = false;\n\t\t\tthis.get_container_ul().removeClass(\"jstree-striped\");\n\t\t\t/**\n\t\t\t * triggered when stripes are hidden\n\t\t\t * @event\n\t\t\t * @name hide_stripes.jstree\n\t\t\t */\n\t\t\tthis.trigger('hide_stripes');\n\t\t},\n\t\t/**\n\t\t * toggles the striped background on the container\n\t\t * @name toggle_stripes()\n\t\t */\n\t\ttoggle_stripes : function () { if(this._data.core.themes.stripes) { this.hide_stripes(); } else { this.show_stripes(); } },\n\t\t/**\n\t\t * shows the connecting dots (if the theme supports it)\n\t\t * @name show_dots()\n\t\t */\n\t\tshow_dots : function () {\n\t\t\tthis._data.core.themes.dots = true;\n\t\t\tthis.get_container_ul().removeClass(\"jstree-no-dots\");\n\t\t\t/**\n\t\t\t * triggered when dots are shown\n\t\t\t * @event\n\t\t\t * @name show_dots.jstree\n\t\t\t */\n\t\t\tthis.trigger('show_dots');\n\t\t},\n\t\t/**\n\t\t * hides the connecting dots\n\t\t * @name hide_dots()\n\t\t */\n\t\thide_dots : function () {\n\t\t\tthis._data.core.themes.dots = false;\n\t\t\tthis.get_container_ul().addClass(\"jstree-no-dots\");\n\t\t\t/**\n\t\t\t * triggered when dots are hidden\n\t\t\t * @event\n\t\t\t * @name hide_dots.jstree\n\t\t\t */\n\t\t\tthis.trigger('hide_dots');\n\t\t},\n\t\t/**\n\t\t * toggles the connecting dots\n\t\t * @name toggle_dots()\n\t\t */\n\t\ttoggle_dots : function () { if(this._data.core.themes.dots) { this.hide_dots(); } else { this.show_dots(); } },\n\t\t/**\n\t\t * show the node icons\n\t\t * @name show_icons()\n\t\t */\n\t\tshow_icons : function () {\n\t\t\tthis._data.core.themes.icons = true;\n\t\t\tthis.get_container_ul().removeClass(\"jstree-no-icons\");\n\t\t\t/**\n\t\t\t * triggered when icons are shown\n\t\t\t * @event\n\t\t\t * @name show_icons.jstree\n\t\t\t */\n\t\t\tthis.trigger('show_icons');\n\t\t},\n\t\t/**\n\t\t * hide the node icons\n\t\t * @name hide_icons()\n\t\t */\n\t\thide_icons : function () {\n\t\t\tthis._data.core.themes.icons = false;\n\t\t\tthis.get_container_ul().addClass(\"jstree-no-icons\");\n\t\t\t/**\n\t\t\t * triggered when icons are hidden\n\t\t\t * @event\n\t\t\t * @name hide_icons.jstree\n\t\t\t */\n\t\t\tthis.trigger('hide_icons');\n\t\t},\n\t\t/**\n\t\t * toggle the node icons\n\t\t * @name toggle_icons()\n\t\t */\n\t\ttoggle_icons : function () { if(this._data.core.themes.icons) { this.hide_icons(); } else { this.show_icons(); } },\n\t\t/**\n\t\t * show the node ellipsis\n\t\t * @name show_icons()\n\t\t */\n\t\tshow_ellipsis : function () {\n\t\t\tthis._data.core.themes.ellipsis = true;\n\t\t\tthis.get_container_ul().addClass(\"jstree-ellipsis\");\n\t\t\t/**\n\t\t\t * triggered when ellisis is shown\n\t\t\t * @event\n\t\t\t * @name show_ellipsis.jstree\n\t\t\t */\n\t\t\tthis.trigger('show_ellipsis');\n\t\t},\n\t\t/**\n\t\t * hide the node ellipsis\n\t\t * @name hide_ellipsis()\n\t\t */\n\t\thide_ellipsis : function () {\n\t\t\tthis._data.core.themes.ellipsis = false;\n\t\t\tthis.get_container_ul().removeClass(\"jstree-ellipsis\");\n\t\t\t/**\n\t\t\t * triggered when ellisis is hidden\n\t\t\t * @event\n\t\t\t * @name hide_ellipsis.jstree\n\t\t\t */\n\t\t\tthis.trigger('hide_ellipsis');\n\t\t},\n\t\t/**\n\t\t * toggle the node ellipsis\n\t\t * @name toggle_icons()\n\t\t */\n\t\ttoggle_ellipsis : function () { if(this._data.core.themes.ellipsis) { this.hide_ellipsis(); } else { this.show_ellipsis(); } },\n\t\t/**\n\t\t * set the node icon for a node\n\t\t * @name set_icon(obj, icon)\n\t\t * @param {mixed} obj\n\t\t * @param {String} icon the new icon - can be a path to an icon or a className, if using an image that is in the current directory use a `./` prefix, otherwise it will be detected as a class\n\t\t */\n\t\tset_icon : function (obj, icon) {\n\t\t\tvar t1, t2, dom, old;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.set_icon(obj[t1], icon);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\told = obj.icon;\n\t\t\tobj.icon = icon === true || icon === null || icon === undefined || icon === '' ? true : icon;\n\t\t\tdom = this.get_node(obj, true).children(\".jstree-anchor\").children(\".jstree-themeicon\");\n\t\t\tif(icon === false) {\n\t\t\t\tdom.removeClass('jstree-themeicon-custom ' + old).css(\"background\",\"\").removeAttr(\"rel\");\n\t\t\t\tthis.hide_icon(obj);\n\t\t\t}\n\t\t\telse if(icon === true || icon === null || icon === undefined || icon === '') {\n\t\t\t\tdom.removeClass('jstree-themeicon-custom ' + old).css(\"background\",\"\").removeAttr(\"rel\");\n\t\t\t\tif(old === false) { this.show_icon(obj); }\n\t\t\t}\n\t\t\telse if(icon.indexOf(\"/\") === -1 && icon.indexOf(\".\") === -1) {\n\t\t\t\tdom.removeClass(old).css(\"background\",\"\");\n\t\t\t\tdom.addClass(icon + ' jstree-themeicon-custom').attr(\"rel\",icon);\n\t\t\t\tif(old === false) { this.show_icon(obj); }\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdom.removeClass(old).css(\"background\",\"\");\n\t\t\t\tdom.addClass('jstree-themeicon-custom').css(\"background\", \"url('\" + icon + \"') center center no-repeat\").attr(\"rel\",icon);\n\t\t\t\tif(old === false) { this.show_icon(obj); }\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * get the node icon for a node\n\t\t * @name get_icon(obj)\n\t\t * @param {mixed} obj\n\t\t * @return {String}\n\t\t */\n\t\tget_icon : function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn (!obj || obj.id === $.jstree.root) ? false : obj.icon;\n\t\t},\n\t\t/**\n\t\t * hide the icon on an individual node\n\t\t * @name hide_icon(obj)\n\t\t * @param {mixed} obj\n\t\t */\n\t\thide_icon : function (obj) {\n\t\t\tvar t1, t2;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.hide_icon(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj === $.jstree.root) { return false; }\n\t\t\tobj.icon = false;\n\t\t\tthis.get_node(obj, true).children(\".jstree-anchor\").children(\".jstree-themeicon\").addClass('jstree-themeicon-hidden');\n\t\t\treturn true;\n\t\t},\n\t\t/**\n\t\t * show the icon on an individual node\n\t\t * @name show_icon(obj)\n\t\t * @param {mixed} obj\n\t\t */\n\t\tshow_icon : function (obj) {\n\t\t\tvar t1, t2, dom;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.show_icon(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj === $.jstree.root) { return false; }\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tobj.icon = dom.length ? dom.children(\".jstree-anchor\").children(\".jstree-themeicon\").attr('rel') : true;\n\t\t\tif(!obj.icon) { obj.icon = true; }\n\t\t\tdom.children(\".jstree-anchor\").children(\".jstree-themeicon\").removeClass('jstree-themeicon-hidden');\n\t\t\treturn true;\n\t\t}\n\t};\n\n\t// helpers\n\t$.vakata = {};\n\t// collect attributes\n\t$.vakata.attributes = function(node, with_values) {\n\t\tnode = $(node)[0];\n\t\tvar attr = with_values ? {} : [];\n\t\tif(node && node.attributes) {\n\t\t\t$.each(node.attributes, function (i, v) {\n\t\t\t\tif($.inArray(v.name.toLowerCase(),['style','contenteditable','hasfocus','tabindex']) !== -1) { return; }\n\t\t\t\tif(v.value !== null && $.vakata.trim(v.value) !== '') {\n\t\t\t\t\tif(with_values) { attr[v.name] = v.value; }\n\t\t\t\t\telse { attr.push(v.name); }\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\treturn attr;\n\t};\n\t$.vakata.array_unique = function(array) {\n\t\tvar a = [], i, j, l, o = {};\n\t\tfor(i = 0, l = array.length; i < l; i++) {\n\t\t\tif(o[array[i]] === undefined) {\n\t\t\t\ta.push(array[i]);\n\t\t\t\to[array[i]] = true;\n\t\t\t}\n\t\t}\n\t\treturn a;\n\t};\n\t// remove item from array\n\t$.vakata.array_remove = function(array, from) {\n\t\tarray.splice(from, 1);\n\t\treturn array;\n\t\t//var rest = array.slice((to || from) + 1 || array.length);\n\t\t//array.length = from < 0 ? array.length + from : from;\n\t\t//array.push.apply(array, rest);\n\t\t//return array;\n\t};\n\t// remove item from array\n\t$.vakata.array_remove_item = function(array, item) {\n\t\tvar tmp = $.inArray(item, array);\n\t\treturn tmp !== -1 ? $.vakata.array_remove(array, tmp) : array;\n\t};\n\t$.vakata.array_filter = function(c,a,b,d,e) {\n\t\tif (c.filter) {\n\t\t\treturn c.filter(a, b);\n\t\t}\n\t\td=[];\n\t\tfor (e in c) {\n\t\t\tif (~~e+''===e+'' && e>=0 && a.call(b,c[e],+e,c)) {\n\t\t\t\td.push(c[e]);\n\t\t\t}\n\t\t}\n\t\treturn d;\n\t};\n\t$.vakata.trim = function (text) {\n\t\treturn String.prototype.trim ? \n\t\t\tString.prototype.trim.call(text.toString()) :\n\t\t\ttext.toString().replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t};\n\t$.vakata.is_function = function(obj) {\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\";\n\t};\n\t$.vakata.is_array = Array.isArray || function (obj) {\n\t\treturn Object.prototype.toString.call(obj) === \"[object Array]\";\n\t};\n\n\t// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_objects/Function/bind#polyfill\n\tif (!Function.prototype.bind) {\n\t\tFunction.prototype.bind = function () {\n\t\t\tvar thatFunc = this, thatArg = arguments[0];\n\t\t\tvar args = Array.prototype.slice.call(arguments, 1);\n\t\t\tif (typeof thatFunc !== 'function') {\n\t\t\t\t// closest thing possible to the ECMAScript 5\n\t\t\t\t// internal IsCallable function\n\t\t\t\tthrow new TypeError('Function.prototype.bind - what is trying to be bound is not callable');\n\t\t\t}\n\t\t\treturn function(){\n\t\t\t\tvar funcArgs = args.concat(Array.prototype.slice.call(arguments));\n\t\t\t\treturn thatFunc.apply(thatArg, funcArgs);\n\t\t\t};\n\t\t};\n\t}\n\n\n/**\n * ### Changed plugin\n *\n * This plugin adds more information to the `changed.jstree` event. The new data is contained in the `changed` event data property, and contains a lists of `selected` and `deselected` nodes.\n */\n\n\t$.jstree.plugins.changed = function (options, parent) {\n\t\tvar last = [];\n\t\tthis.trigger = function (ev, data) {\n\t\t\tvar i, j;\n\t\t\tif(!data) {\n\t\t\t\tdata = {};\n\t\t\t}\n\t\t\tif(ev.replace('.jstree','') === 'changed') {\n\t\t\t\tdata.changed = { selected : [], deselected : [] };\n\t\t\t\tvar tmp = {};\n\t\t\t\tfor(i = 0, j = last.length; i < j; i++) {\n\t\t\t\t\ttmp[last[i]] = 1;\n\t\t\t\t}\n\t\t\t\tfor(i = 0, j = data.selected.length; i < j; i++) {\n\t\t\t\t\tif(!tmp[data.selected[i]]) {\n\t\t\t\t\t\tdata.changed.selected.push(data.selected[i]);\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\ttmp[data.selected[i]] = 2;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfor(i = 0, j = last.length; i < j; i++) {\n\t\t\t\t\tif(tmp[last[i]] === 1) {\n\t\t\t\t\t\tdata.changed.deselected.push(last[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlast = data.selected.slice();\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered when selection changes (the \"changed\" plugin enhances the original event with more data)\n\t\t\t * @event\n\t\t\t * @name changed.jstree\n\t\t\t * @param {Object} node\n\t\t\t * @param {Object} action the action that caused the selection to change\n\t\t\t * @param {Array} selected the current selection\n\t\t\t * @param {Object} changed an object containing two properties `selected` and `deselected` - both arrays of node IDs, which were selected or deselected since the last changed event\n\t\t\t * @param {Object} event the event (if any) that triggered this changed event\n\t\t\t * @plugin changed\n\t\t\t */\n\t\t\tparent.trigger.call(this, ev, data);\n\t\t};\n\t\tthis.refresh = function (skip_loading, forget_state) {\n\t\t\tlast = [];\n\t\t\treturn parent.refresh.apply(this, arguments);\n\t\t};\n\t};\n\n/**\n * ### Checkbox plugin\n *\n * This plugin renders checkbox icons in front of each node, making multiple selection much easier.\n * It also supports tri-state behavior, meaning that if a node has a few of its children checked it will be rendered as undetermined, and state will be propagated up.\n */\n\n\tvar _i = document.createElement('I');\n\t_i.className = 'jstree-icon jstree-checkbox';\n\t_i.setAttribute('role', 'presentation');\n\t/**\n\t * stores all defaults for the checkbox plugin\n\t * @name $.jstree.defaults.checkbox\n\t * @plugin checkbox\n\t */\n\t$.jstree.defaults.checkbox = {\n\t\t/**\n\t\t * a boolean indicating if checkboxes should be visible (can be changed at a later time using `show_checkboxes()` and `hide_checkboxes`). Defaults to `true`.\n\t\t * @name $.jstree.defaults.checkbox.visible\n\t\t * @plugin checkbox\n\t\t */\n\t\tvisible\t\t\t\t: true,\n\t\t/**\n\t\t * a boolean indicating if checkboxes should cascade down and have an undetermined state. Defaults to `true`.\n\t\t * @name $.jstree.defaults.checkbox.three_state\n\t\t * @plugin checkbox\n\t\t */\n\t\tthree_state\t\t\t: true,\n\t\t/**\n\t\t * a boolean indicating if clicking anywhere on the node should act as clicking on the checkbox. Defaults to `true`.\n\t\t * @name $.jstree.defaults.checkbox.whole_node\n\t\t * @plugin checkbox\n\t\t */\n\t\twhole_node\t\t\t: true,\n\t\t/**\n\t\t * a boolean indicating if the selected style of a node should be kept, or removed. Defaults to `true`.\n\t\t * @name $.jstree.defaults.checkbox.keep_selected_style\n\t\t * @plugin checkbox\n\t\t */\n\t\tkeep_selected_style\t: true,\n\t\t/**\n\t\t * This setting controls how cascading and undetermined nodes are applied.\n\t\t * If 'up' is in the string - cascading up is enabled, if 'down' is in the string - cascading down is enabled, if 'undetermined' is in the string - undetermined nodes will be used.\n\t\t * If `three_state` is set to `true` this setting is automatically set to 'up+down+undetermined'. Defaults to ''.\n\t\t * @name $.jstree.defaults.checkbox.cascade\n\t\t * @plugin checkbox\n\t\t */\n\t\tcascade\t\t\t\t: '',\n\t\t/**\n\t\t * This setting controls if checkbox are bound to the general tree selection or to an internal array maintained by the checkbox plugin. Defaults to `true`, only set to `false` if you know exactly what you are doing.\n\t\t * @name $.jstree.defaults.checkbox.tie_selection\n\t\t * @plugin checkbox\n\t\t */\n\t\ttie_selection\t\t: true,\n\n\t\t/**\n\t\t * This setting controls if cascading down affects disabled checkboxes\n\t\t * @name $.jstree.defaults.checkbox.cascade_to_disabled\n\t\t * @plugin checkbox\n\t\t */\n\t\tcascade_to_disabled : true,\n\n\t\t/**\n\t\t * This setting controls if cascading down affects hidden checkboxes\n\t\t * @name $.jstree.defaults.checkbox.cascade_to_hidden\n\t\t * @plugin checkbox\n\t\t */\n\t\tcascade_to_hidden : true\n\t};\n\t$.jstree.plugins.checkbox = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\t\t\tthis._data.checkbox.uto = false;\n\t\t\tthis._data.checkbox.selected = [];\n\t\t\tif(this.settings.checkbox.three_state) {\n\t\t\t\tthis.settings.checkbox.cascade = 'up+down+undetermined';\n\t\t\t}\n\t\t\tthis.element\n\t\t\t\t.on(\"init.jstree\", function () {\n\t\t\t\t\t\tthis._data.checkbox.visible = this.settings.checkbox.visible;\n\t\t\t\t\t\tif(!this.settings.checkbox.keep_selected_style) {\n\t\t\t\t\t\t\tthis.element.addClass('jstree-checkbox-no-clicked');\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(this.settings.checkbox.tie_selection) {\n\t\t\t\t\t\t\tthis.element.addClass('jstree-checkbox-selection');\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"loading.jstree\", function () {\n\t\t\t\t\t\tthis[ this._data.checkbox.visible ? 'show_checkboxes' : 'hide_checkboxes' ]();\n\t\t\t\t\t}.bind(this));\n\t\t\tif(this.settings.checkbox.cascade.indexOf('undetermined') !== -1) {\n\t\t\t\tthis.element\n\t\t\t\t\t.on('changed.jstree uncheck_node.jstree check_node.jstree uncheck_all.jstree check_all.jstree move_node.jstree copy_node.jstree redraw.jstree open_node.jstree', function () {\n\t\t\t\t\t\t\t// only if undetermined is in setting\n\t\t\t\t\t\t\tif(this._data.checkbox.uto) { clearTimeout(this._data.checkbox.uto); }\n\t\t\t\t\t\t\tthis._data.checkbox.uto = setTimeout(this._undetermined.bind(this), 50);\n\t\t\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t\tif(!this.settings.checkbox.tie_selection) {\n\t\t\t\tthis.element\n\t\t\t\t\t.on('model.jstree', function (e, data) {\n\t\t\t\t\t\tvar m = this._model.data,\n\t\t\t\t\t\t\tp = m[data.parent],\n\t\t\t\t\t\t\tdpc = data.nodes,\n\t\t\t\t\t\t\ti, j;\n\t\t\t\t\t\tfor(i = 0, j = dpc.length; i < j; i++) {\n\t\t\t\t\t\t\tm[dpc[i]].state.checked = m[dpc[i]].state.checked || (m[dpc[i]].original && m[dpc[i]].original.state && m[dpc[i]].original.state.checked);\n\t\t\t\t\t\t\tif(m[dpc[i]].state.checked) {\n\t\t\t\t\t\t\t\tthis._data.checkbox.selected.push(dpc[i]);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t\tif(this.settings.checkbox.cascade.indexOf('up') !== -1 || this.settings.checkbox.cascade.indexOf('down') !== -1) {\n\t\t\t\tthis.element\n\t\t\t\t\t.on('model.jstree', function (e, data) {\n\t\t\t\t\t\t\tvar m = this._model.data,\n\t\t\t\t\t\t\t\tp = m[data.parent],\n\t\t\t\t\t\t\t\tdpc = data.nodes,\n\t\t\t\t\t\t\t\tchd = [],\n\t\t\t\t\t\t\t\tc, i, j, k, l, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection;\n\n\t\t\t\t\t\t\tif(s.indexOf('down') !== -1) {\n\t\t\t\t\t\t\t\t// apply down\n\t\t\t\t\t\t\t\tif(p.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\t\tfor(i = 0, j = dpc.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\tm[dpc[i]].state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected = this._data[ t ? 'core' : 'checkbox' ].selected.concat(dpc);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tfor(i = 0, j = dpc.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\tif(m[dpc[i]].state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\t\t\t\tfor(k = 0, l = m[dpc[i]].children_d.length; k < l; k++) {\n\t\t\t\t\t\t\t\t\t\t\t\tm[m[dpc[i]].children_d[k]].state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected = this._data[ t ? 'core' : 'checkbox' ].selected.concat(m[dpc[i]].children_d);\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\n\t\t\t\t\t\t\tif(s.indexOf('up') !== -1) {\n\t\t\t\t\t\t\t\t// apply up\n\t\t\t\t\t\t\t\tfor(i = 0, j = p.children_d.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\tif(!m[p.children_d[i]].children.length) {\n\t\t\t\t\t\t\t\t\t\tchd.push(m[p.children_d[i]].parent);\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\tchd = $.vakata.array_unique(chd);\n\t\t\t\t\t\t\t\tfor(k = 0, l = chd.length; k < l; k++) {\n\t\t\t\t\t\t\t\t\tp = m[chd[k]];\n\t\t\t\t\t\t\t\t\twhile(p && p.id !== $.jstree.root) {\n\t\t\t\t\t\t\t\t\t\tc = 0;\n\t\t\t\t\t\t\t\t\t\tfor(i = 0, j = p.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\t\tc += m[p.children[i]].state[ t ? 'selected' : 'checked' ];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tif(c === j) {\n\t\t\t\t\t\t\t\t\t\t\tp.state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);\n\t\t\t\t\t\t\t\t\t\t\ttmp = this.get_node(p, true);\n\t\t\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', true).addClass( t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\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\tp = this.get_node(p.parent);\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\n\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected = $.vakata.array_unique(this._data[ t ? 'core' : 'checkbox' ].selected);\n\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t.on(this.settings.checkbox.tie_selection ? 'select_node.jstree' : 'check_node.jstree', function (e, data) {\n\t\t\t\t\t\t\tvar self = this,\n\t\t\t\t\t\t\t\tobj = data.node,\n\t\t\t\t\t\t\t\tm = this._model.data,\n\t\t\t\t\t\t\t\tpar = this.get_node(obj.parent),\n\t\t\t\t\t\t\t\ti, j, c, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection,\n\t\t\t\t\t\t\t\tsel = {}, cur = this._data[ t ? 'core' : 'checkbox' ].selected;\n\n\t\t\t\t\t\t\tfor (i = 0, j = cur.length; i < j; i++) {\n\t\t\t\t\t\t\t\tsel[cur[i]] = true;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// apply down\n\t\t\t\t\t\t\tif(s.indexOf('down') !== -1) {\n\t\t\t\t\t\t\t\t//this._data[ t ? 'core' : 'checkbox' ].selected = $.vakata.array_unique(this._data[ t ? 'core' : 'checkbox' ].selected.concat(obj.children_d));\n\t\t\t\t\t\t\t\tvar selectedIds = this._cascade_new_checked_state(obj.id, true);\n\t\t\t\t\t\t\t\tvar temp = obj.children_d.concat(obj.id);\n\t\t\t\t\t\t\t\tfor (i = 0, j = temp.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\tif (selectedIds.indexOf(temp[i]) > -1) {\n\t\t\t\t\t\t\t\t\t\tsel[temp[i]] = true;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\tdelete sel[temp[i]];\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\n\t\t\t\t\t\t\t// apply up\n\t\t\t\t\t\t\tif(s.indexOf('up') !== -1) {\n\t\t\t\t\t\t\t\twhile(par && par.id !== $.jstree.root) {\n\t\t\t\t\t\t\t\t\tc = 0;\n\t\t\t\t\t\t\t\t\tfor(i = 0, j = par.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\tc += m[par.children[i]].state[ t ? 'selected' : 'checked' ];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif(c === j) {\n\t\t\t\t\t\t\t\t\t\tpar.state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t\tsel[par.id] = true;\n\t\t\t\t\t\t\t\t\t\t//this._data[ t ? 'core' : 'checkbox' ].selected.push(par.id);\n\t\t\t\t\t\t\t\t\t\ttmp = this.get_node(par, true);\n\t\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', true).addClass(t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tpar = this.get_node(par.parent);\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\tcur = [];\n\t\t\t\t\t\t\tfor (i in sel) {\n\t\t\t\t\t\t\t\tif (sel.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\tcur.push(i);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected = cur;\n\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t.on(this.settings.checkbox.tie_selection ? 'deselect_all.jstree' : 'uncheck_all.jstree', function (e, data) {\n\t\t\t\t\t\t\tvar obj = this.get_node($.jstree.root),\n\t\t\t\t\t\t\t\tm = this._model.data,\n\t\t\t\t\t\t\t\ti, j, tmp;\n\t\t\t\t\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\t\t\t\t\ttmp = m[obj.children_d[i]];\n\t\t\t\t\t\t\t\tif(tmp && tmp.original && tmp.original.state && tmp.original.state.undetermined) {\n\t\t\t\t\t\t\t\t\ttmp.original.state.undetermined = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t.on(this.settings.checkbox.tie_selection ? 'deselect_node.jstree' : 'uncheck_node.jstree', function (e, data) {\n\t\t\t\t\t\t\tvar self = this,\n\t\t\t\t\t\t\t\tobj = data.node,\n\t\t\t\t\t\t\t\tdom = this.get_node(obj, true),\n\t\t\t\t\t\t\t\ti, j, tmp, s = this.settings.checkbox.cascade, t = this.settings.checkbox.tie_selection,\n\t\t\t\t\t\t\t\tcur = this._data[ t ? 'core' : 'checkbox' ].selected, sel = {},\n\t\t\t\t\t\t\t\tstillSelectedIds = [],\n\t\t\t\t\t\t\t\tallIds = obj.children_d.concat(obj.id);\n\n\t\t\t\t\t\t\t// apply down\n\t\t\t\t\t\t\tif(s.indexOf('down') !== -1) {\n\t\t\t\t\t\t\t\tvar selectedIds = this._cascade_new_checked_state(obj.id, false);\n\n\t\t\t\t\t\t\t\tcur = $.vakata.array_filter(cur, function(id) {\n\t\t\t\t\t\t\t\t\treturn allIds.indexOf(id) === -1 || selectedIds.indexOf(id) > -1;\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\t// only apply up if cascade up is enabled and if this node is not selected\n\t\t\t\t\t\t\t// (if all child nodes are disabled and cascade_to_disabled === false then this node will till be selected).\n\t\t\t\t\t\t\tif(s.indexOf('up') !== -1 && cur.indexOf(obj.id) === -1) {\n\t\t\t\t\t\t\t\tfor(i = 0, j = obj.parents.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\ttmp = this._model.data[obj.parents[i]];\n\t\t\t\t\t\t\t\t\ttmp.state[ t ? 'selected' : 'checked' ] = false;\n\t\t\t\t\t\t\t\t\tif(tmp && tmp.original && tmp.original.state && tmp.original.state.undetermined) {\n\t\t\t\t\t\t\t\t\t\ttmp.original.state.undetermined = false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\ttmp = this.get_node(obj.parents[i], true);\n\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', false).removeClass(t ? 'jstree-clicked' : 'jstree-checked');\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\tcur = $.vakata.array_filter(cur, function(id) {\n\t\t\t\t\t\t\t\t\treturn obj.parents.indexOf(id) === -1;\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\tthis._data[ t ? 'core' : 'checkbox' ].selected = cur;\n\t\t\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t\tif(this.settings.checkbox.cascade.indexOf('up') !== -1) {\n\t\t\t\tthis.element\n\t\t\t\t\t.on('delete_node.jstree', function (e, data) {\n\t\t\t\t\t\t\t// apply up (whole handler)\n\t\t\t\t\t\t\tvar p = this.get_node(data.parent),\n\t\t\t\t\t\t\t\tm = this._model.data,\n\t\t\t\t\t\t\t\ti, j, c, tmp, t = this.settings.checkbox.tie_selection;\n\t\t\t\t\t\t\twhile(p && p.id !== $.jstree.root && !p.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\tc = 0;\n\t\t\t\t\t\t\t\tfor(i = 0, j = p.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\tc += m[p.children[i]].state[ t ? 'selected' : 'checked' ];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif(j > 0 && c === j) {\n\t\t\t\t\t\t\t\t\tp.state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);\n\t\t\t\t\t\t\t\t\ttmp = this.get_node(p, true);\n\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', true).addClass(t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\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\tp = this.get_node(p.parent);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t.on('move_node.jstree', function (e, data) {\n\t\t\t\t\t\t\t// apply up (whole handler)\n\t\t\t\t\t\t\tvar is_multi = data.is_multi,\n\t\t\t\t\t\t\t\told_par = data.old_parent,\n\t\t\t\t\t\t\t\tnew_par = this.get_node(data.parent),\n\t\t\t\t\t\t\t\tm = this._model.data,\n\t\t\t\t\t\t\t\tp, c, i, j, tmp, t = this.settings.checkbox.tie_selection;\n\t\t\t\t\t\t\tif(!is_multi) {\n\t\t\t\t\t\t\t\tp = this.get_node(old_par);\n\t\t\t\t\t\t\t\twhile(p && p.id !== $.jstree.root && !p.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\t\tc = 0;\n\t\t\t\t\t\t\t\t\tfor(i = 0, j = p.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\tc += m[p.children[i]].state[ t ? 'selected' : 'checked' ];\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tif(j > 0 && c === j) {\n\t\t\t\t\t\t\t\t\t\tp.state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);\n\t\t\t\t\t\t\t\t\t\ttmp = this.get_node(p, true);\n\t\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', true).addClass(t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tp = this.get_node(p.parent);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tp = new_par;\n\t\t\t\t\t\t\twhile(p && p.id !== $.jstree.root) {\n\t\t\t\t\t\t\t\tc = 0;\n\t\t\t\t\t\t\t\tfor(i = 0, j = p.children.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\tc += m[p.children[i]].state[ t ? 'selected' : 'checked' ];\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tif(c === j) {\n\t\t\t\t\t\t\t\t\tif(!p.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\t\t\tp.state[ t ? 'selected' : 'checked' ] = true;\n\t\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected.push(p.id);\n\t\t\t\t\t\t\t\t\t\ttmp = this.get_node(p, true);\n\t\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', true).addClass(t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\n\t\t\t\t\t\t\t\t\tif(p.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\t\t\t\t\t\tp.state[ t ? 'selected' : 'checked' ] = false;\n\t\t\t\t\t\t\t\t\t\tthis._data[ t ? 'core' : 'checkbox' ].selected = $.vakata.array_remove_item(this._data[ t ? 'core' : 'checkbox' ].selected, p.id);\n\t\t\t\t\t\t\t\t\t\ttmp = this.get_node(p, true);\n\t\t\t\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\t\t\t\ttmp.children('.jstree-anchor').attr('aria-selected', false).removeClass(t ? 'jstree-clicked' : 'jstree-checked');\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\telse {\n\t\t\t\t\t\t\t\t\t\tbreak;\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\tp = this.get_node(p.parent);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * get an array of all nodes whose state is \"undetermined\"\n\t\t * @name get_undetermined([full])\n\t\t * @param  {boolean} full: if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.get_undetermined = function (full) {\n\t\t\tif (this.settings.checkbox.cascade.indexOf('undetermined') === -1) {\n\t\t\t\treturn [];\n\t\t\t}\n\t\t\tvar i, j, k, l, o = {}, m = this._model.data, t = this.settings.checkbox.tie_selection, s = this._data[ t ? 'core' : 'checkbox' ].selected, p = [], tt = this, r = [];\n\t\t\tfor(i = 0, j = s.length; i < j; i++) {\n\t\t\t\tif(m[s[i]] && m[s[i]].parents) {\n\t\t\t\t\tfor(k = 0, l = m[s[i]].parents.length; k < l; k++) {\n\t\t\t\t\t\tif(o[m[s[i]].parents[k]] !== undefined) {\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(m[s[i]].parents[k] !== $.jstree.root) {\n\t\t\t\t\t\t\to[m[s[i]].parents[k]] = true;\n\t\t\t\t\t\t\tp.push(m[s[i]].parents[k]);\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\t// attempt for server side undetermined state\n\t\t\tthis.element.find('.jstree-closed').not(':has(.jstree-children)')\n\t\t\t\t.each(function () {\n\t\t\t\t\tvar tmp = tt.get_node(this), tmp2;\n\t\t\t\t\t\n\t\t\t\t\tif(!tmp) { return; }\n\t\t\t\t\t\n\t\t\t\t\tif(!tmp.state.loaded) {\n\t\t\t\t\t\tif(tmp.original && tmp.original.state && tmp.original.state.undetermined && tmp.original.state.undetermined === true) {\n\t\t\t\t\t\t\tif(o[tmp.id] === undefined && tmp.id !== $.jstree.root) {\n\t\t\t\t\t\t\t\to[tmp.id] = true;\n\t\t\t\t\t\t\t\tp.push(tmp.id);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tfor(k = 0, l = tmp.parents.length; k < l; k++) {\n\t\t\t\t\t\t\t\tif(o[tmp.parents[k]] === undefined && tmp.parents[k] !== $.jstree.root) {\n\t\t\t\t\t\t\t\t\to[tmp.parents[k]] = true;\n\t\t\t\t\t\t\t\t\tp.push(tmp.parents[k]);\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\telse {\n\t\t\t\t\t\tfor(i = 0, j = tmp.children_d.length; i < j; i++) {\n\t\t\t\t\t\t\ttmp2 = m[tmp.children_d[i]];\n\t\t\t\t\t\t\tif(!tmp2.state.loaded && tmp2.original && tmp2.original.state && tmp2.original.state.undetermined && tmp2.original.state.undetermined === true) {\n\t\t\t\t\t\t\t\tif(o[tmp2.id] === undefined && tmp2.id !== $.jstree.root) {\n\t\t\t\t\t\t\t\t\to[tmp2.id] = true;\n\t\t\t\t\t\t\t\t\tp.push(tmp2.id);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tfor(k = 0, l = tmp2.parents.length; k < l; k++) {\n\t\t\t\t\t\t\t\t\tif(o[tmp2.parents[k]] === undefined && tmp2.parents[k] !== $.jstree.root) {\n\t\t\t\t\t\t\t\t\t\to[tmp2.parents[k]] = true;\n\t\t\t\t\t\t\t\t\t\tp.push(tmp2.parents[k]);\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}\n\t\t\t\t});\n\t\t\tfor (i = 0, j = p.length; i < j; i++) {\n\t\t\t\tif(!m[p[i]].state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\tr.push(full ? m[p[i]] : p[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn r;\n\t\t};\n\t\t/**\n\t\t * set the undetermined state where and if necessary. Used internally.\n\t\t * @private\n\t\t * @name _undetermined()\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis._undetermined = function () {\n\t\t\tif(this.element === null) { return; }\n\t\t\tvar p = this.get_undetermined(false), i, j, s;\n\n\t\t\tthis.element.find('.jstree-undetermined').removeClass('jstree-undetermined');\n\t\t\tfor (i = 0, j = p.length; i < j; i++) {\n\t\t\t\ts = this.get_node(p[i], true);\n\t\t\t\tif(s && s.length) {\n\t\t\t\t\ts.children('.jstree-anchor').children('.jstree-checkbox').addClass('jstree-undetermined');\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tthis.redraw_node = function(obj, deep, is_callback, force_render) {\n\t\t\tobj = parent.redraw_node.apply(this, arguments);\n\t\t\tif(obj) {\n\t\t\t\tvar i, j, tmp = null, icon = null;\n\t\t\t\tfor(i = 0, j = obj.childNodes.length; i < j; i++) {\n\t\t\t\t\tif(obj.childNodes[i] && obj.childNodes[i].className && obj.childNodes[i].className.indexOf(\"jstree-anchor\") !== -1) {\n\t\t\t\t\t\ttmp = obj.childNodes[i];\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(tmp) {\n\t\t\t\t\tif(!this.settings.checkbox.tie_selection && this._model.data[obj.id].state.checked) { tmp.className += ' jstree-checked'; }\n\t\t\t\t\ticon = _i.cloneNode(false);\n\t\t\t\t\tif(this._model.data[obj.id].state.checkbox_disabled) { icon.className += ' jstree-checkbox-disabled'; }\n\t\t\t\t\ttmp.insertBefore(icon, tmp.childNodes[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(!is_callback && this.settings.checkbox.cascade.indexOf('undetermined') !== -1) {\n\t\t\t\tif(this._data.checkbox.uto) { clearTimeout(this._data.checkbox.uto); }\n\t\t\t\tthis._data.checkbox.uto = setTimeout(this._undetermined.bind(this), 50);\n\t\t\t}\n\t\t\treturn obj;\n\t\t};\n\t\t/**\n\t\t * show the node checkbox icons\n\t\t * @name show_checkboxes()\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.show_checkboxes = function () { this._data.core.themes.checkboxes = true; this.get_container_ul().removeClass(\"jstree-no-checkboxes\"); };\n\t\t/**\n\t\t * hide the node checkbox icons\n\t\t * @name hide_checkboxes()\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.hide_checkboxes = function () { this._data.core.themes.checkboxes = false; this.get_container_ul().addClass(\"jstree-no-checkboxes\"); };\n\t\t/**\n\t\t * toggle the node icons\n\t\t * @name toggle_checkboxes()\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.toggle_checkboxes = function () { if(this._data.core.themes.checkboxes) { this.hide_checkboxes(); } else { this.show_checkboxes(); } };\n\t\t/**\n\t\t * checks if a node is in an undetermined state\n\t\t * @name is_undetermined(obj)\n\t\t * @param  {mixed} obj\n\t\t * @return {Boolean}\n\t\t */\n\t\tthis.is_undetermined = function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tvar s = this.settings.checkbox.cascade, i, j, t = this.settings.checkbox.tie_selection, d = this._data[ t ? 'core' : 'checkbox' ].selected, m = this._model.data;\n\t\t\tif(!obj || obj.state[ t ? 'selected' : 'checked' ] === true || s.indexOf('undetermined') === -1 || (s.indexOf('down') === -1 && s.indexOf('up') === -1)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(!obj.state.loaded && obj.original.state.undetermined === true) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\tif($.inArray(obj.children_d[i], d) !== -1 || (!m[obj.children_d[i]].state.loaded && m[obj.children_d[i]].original.state.undetermined)) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t\t/**\n\t\t * disable a node's checkbox\n\t\t * @name disable_checkbox(obj)\n\t\t * @param {mixed} obj an array can be used too\n\t\t * @trigger disable_checkbox.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.disable_checkbox = function (obj) {\n\t\t\tvar t1, t2, dom;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.disable_checkbox(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(!obj.state.checkbox_disabled) {\n\t\t\t\tobj.state.checkbox_disabled = true;\n\t\t\t\tif(dom && dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').children('.jstree-checkbox').addClass('jstree-checkbox-disabled');\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node's checkbox is disabled\n\t\t\t\t * @event\n\t\t\t\t * @name disable_checkbox.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @plugin checkbox\n\t\t\t\t */\n\t\t\t\tthis.trigger('disable_checkbox', { 'node' : obj });\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * enable a node's checkbox\n\t\t * @name enable_checkbox(obj)\n\t\t * @param {mixed} obj an array can be used too\n\t\t * @trigger enable_checkbox.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.enable_checkbox = function (obj) {\n\t\t\tvar t1, t2, dom;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.enable_checkbox(obj[t1]);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(obj.state.checkbox_disabled) {\n\t\t\t\tobj.state.checkbox_disabled = false;\n\t\t\t\tif(dom && dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').children('.jstree-checkbox').removeClass('jstree-checkbox-disabled');\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node's checkbox is enabled\n\t\t\t\t * @event\n\t\t\t\t * @name enable_checkbox.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @plugin checkbox\n\t\t\t\t */\n\t\t\t\tthis.trigger('enable_checkbox', { 'node' : obj });\n\t\t\t}\n\t\t};\n\n\t\tthis.activate_node = function (obj, e) {\n\t\t\tif($(e.target).hasClass('jstree-checkbox-disabled')) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(this.settings.checkbox.tie_selection && (this.settings.checkbox.whole_node || $(e.target).hasClass('jstree-checkbox'))) {\n\t\t\t\te.ctrlKey = true;\n\t\t\t}\n\t\t\tif(this.settings.checkbox.tie_selection || (!this.settings.checkbox.whole_node && !$(e.target).hasClass('jstree-checkbox'))) {\n\t\t\t\treturn parent.activate_node.call(this, obj, e);\n\t\t\t}\n\t\t\tif(this.is_disabled(obj)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tif(this.is_checked(obj)) {\n\t\t\t\tthis.uncheck_node(obj, e);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tthis.check_node(obj, e);\n\t\t\t}\n\t\t\tthis.trigger('activate_node', { 'node' : this.get_node(obj) });\n\t\t};\n\t\tthis.delete_node = function (obj) {\n\t\t\tif(this.settings.checkbox.tie_selection || $.vakata.is_array(obj)) {\n\t\t\t\treturn parent.delete_node.call(this, obj);\n\t\t\t}\n\t\t\tvar tmp, k, l, c = false;\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\ttmp = obj.children_d.concat([]);\n\t\t\ttmp.push(obj.id);\n\t\t\tfor(k = 0, l = tmp.length; k < l; k++) {\n\t\t\t\tif(this._model.data[tmp[k]].state.checked) {\n\t\t\t\t\tc = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (c) {\n\t\t\t\tthis._data.checkbox.selected = $.vakata.array_filter(this._data.checkbox.selected, function (v) {\n\t\t\t\t\treturn $.inArray(v, tmp) === -1;\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn parent.delete_node.call(this, obj);\n\t\t};\n\n\t\t/**\n\t\t * Cascades checked state to a node and all its descendants. This function does NOT affect hidden and disabled nodes (or their descendants).\n\t\t * However if these unaffected nodes are already selected their ids will be included in the returned array.\n\t\t * @private\n\t\t * @name _cascade_new_checked_state(id, checkedState)\n\t\t * @param {string} id the node ID\n\t\t * @param {bool} checkedState should the nodes be checked or not\n\t\t * @returns {Array} Array of all node id's (in this tree branch) that are checked.\n\t\t */\n\t\tthis._cascade_new_checked_state = function (id, checkedState) {\n\t\t\tvar self = this;\n\t\t\tvar t = this.settings.checkbox.tie_selection;\n\t\t\tvar node = this._model.data[id];\n\t\t\tvar selectedNodeIds = [];\n\t\t\tvar selectedChildrenIds = [], i, j, selectedChildIds;\n\n\t\t\tif (\n\t\t\t\t(this.settings.checkbox.cascade_to_disabled || !node.state.disabled) &&\n\t\t\t\t(this.settings.checkbox.cascade_to_hidden || !node.state.hidden)\n\t\t\t) {\n\t\t\t\t//First try and check/uncheck the children\n\t\t\t\tif (node.children) {\n\t\t\t\t\tfor (i = 0, j = node.children.length; i < j; i++) {\n\t\t\t\t\t\tvar childId = node.children[i];\n\t\t\t\t\t\tselectedChildIds = self._cascade_new_checked_state(childId, checkedState);\n\t\t\t\t\t\tselectedNodeIds = selectedNodeIds.concat(selectedChildIds);\n\t\t\t\t\t\tif (selectedChildIds.indexOf(childId) > -1) {\n\t\t\t\t\t\t\tselectedChildrenIds.push(childId);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvar dom = self.get_node(node, true);\n\n\t\t\t\t//A node's state is undetermined if some but not all of it's children are checked/selected .\n\t\t\t\tvar undetermined = selectedChildrenIds.length > 0 && selectedChildrenIds.length < node.children.length;\n\n\t\t\t\tif(node.original && node.original.state && node.original.state.undetermined) {\n\t\t\t\t\tnode.original.state.undetermined = undetermined;\n\t\t\t\t}\n\n\t\t\t\t//If a node is undetermined then remove selected class\n\t\t\t\tif (undetermined) {\n\t\t\t\t\tnode.state[ t ? 'selected' : 'checked' ] = false;\n\t\t\t\t\tdom.children('.jstree-anchor').attr('aria-selected', false).removeClass(t ? 'jstree-clicked' : 'jstree-checked');\n\t\t\t\t}\n\t\t\t\t//Otherwise, if the checkedState === true (i.e. the node is being checked now) and all of the node's children are checked (if it has any children),\n\t\t\t\t//check the node and style it correctly.\n\t\t\t\telse if (checkedState && selectedChildrenIds.length === node.children.length) {\n\t\t\t\t\tnode.state[ t ? 'selected' : 'checked' ] = checkedState;\n\t\t\t\t\tselectedNodeIds.push(node.id);\n\n\t\t\t\t\tdom.children('.jstree-anchor').attr('aria-selected', true).addClass(t ? 'jstree-clicked' : 'jstree-checked');\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tnode.state[ t ? 'selected' : 'checked' ] = false;\n\t\t\t\t\tdom.children('.jstree-anchor').attr('aria-selected', false).removeClass(t ? 'jstree-clicked' : 'jstree-checked');\n\t\t\t\t}\n\t\t\t}\n\t\t\telse {\n\t\t\t\tselectedChildIds = this.get_checked_descendants(id);\n\n\t\t\t\tif (node.state[ t ? 'selected' : 'checked' ]) {\n\t\t\t\t\tselectedChildIds.push(node.id);\n\t\t\t\t}\n\n\t\t\t\tselectedNodeIds = selectedNodeIds.concat(selectedChildIds);\n\t\t\t}\n\n\t\t\treturn selectedNodeIds;\n\t\t};\n\n\t\t/**\n\t\t * Gets ids of nodes selected in branch (of tree) specified by id (does not include the node specified by id)\n\t\t * @name get_checked_descendants(obj)\n\t\t * @param {string} id the node ID\n\t\t * @return {Array} array of IDs\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.get_checked_descendants = function (id) {\n\t\t\tvar self = this;\n\t\t\tvar t = self.settings.checkbox.tie_selection;\n\t\t\tvar node = self._model.data[id];\n\n\t\t\treturn $.vakata.array_filter(node.children_d, function(_id) {\n\t\t\t\treturn self._model.data[_id].state[ t ? 'selected' : 'checked' ];\n\t\t\t});\n\t\t};\n\n\t\t/**\n\t\t * check a node (only if tie_selection in checkbox settings is false, otherwise select_node will be called internally)\n\t\t * @name check_node(obj)\n\t\t * @param {mixed} obj an array can be used to check multiple nodes\n\t\t * @trigger check_node.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.check_node = function (obj, e) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.select_node(obj, false, true, e); }\n\t\t\tvar dom, t1, t2, th;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.check_node(obj[t1], e);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(!obj.state.checked) {\n\t\t\t\tobj.state.checked = true;\n\t\t\t\tthis._data.checkbox.selected.push(obj.id);\n\t\t\t\tif(dom && dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').addClass('jstree-checked');\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is checked (only if tie_selection in checkbox settings is false)\n\t\t\t\t * @event\n\t\t\t\t * @name check_node.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @param {Array} selected the current selection\n\t\t\t\t * @param {Object} event the event (if any) that triggered this check_node\n\t\t\t\t * @plugin checkbox\n\t\t\t\t */\n\t\t\t\tthis.trigger('check_node', { 'node' : obj, 'selected' : this._data.checkbox.selected, 'event' : e });\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * uncheck a node (only if tie_selection in checkbox settings is false, otherwise deselect_node will be called internally)\n\t\t * @name uncheck_node(obj)\n\t\t * @param {mixed} obj an array can be used to uncheck multiple nodes\n\t\t * @trigger uncheck_node.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.uncheck_node = function (obj, e) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.deselect_node(obj, false, e); }\n\t\t\tvar t1, t2, dom;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.uncheck_node(obj[t1], e);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tdom = this.get_node(obj, true);\n\t\t\tif(obj.state.checked) {\n\t\t\t\tobj.state.checked = false;\n\t\t\t\tthis._data.checkbox.selected = $.vakata.array_remove_item(this._data.checkbox.selected, obj.id);\n\t\t\t\tif(dom.length) {\n\t\t\t\t\tdom.children('.jstree-anchor').removeClass('jstree-checked');\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered when an node is unchecked (only if tie_selection in checkbox settings is false)\n\t\t\t\t * @event\n\t\t\t\t * @name uncheck_node.jstree\n\t\t\t\t * @param {Object} node\n\t\t\t\t * @param {Array} selected the current selection\n\t\t\t\t * @param {Object} event the event (if any) that triggered this uncheck_node\n\t\t\t\t * @plugin checkbox\n\t\t\t\t */\n\t\t\t\tthis.trigger('uncheck_node', { 'node' : obj, 'selected' : this._data.checkbox.selected, 'event' : e });\n\t\t\t}\n\t\t};\n\t\t\n\t\t/**\n\t\t * checks all nodes in the tree (only if tie_selection in checkbox settings is false, otherwise select_all will be called internally)\n\t\t * @name check_all()\n\t\t * @trigger check_all.jstree, changed.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.check_all = function () {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.select_all(); }\n\t\t\tvar tmp = this._data.checkbox.selected.concat([]), i, j;\n\t\t\tthis._data.checkbox.selected = this._model.data[$.jstree.root].children_d.concat();\n\t\t\tfor(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {\n\t\t\t\tif(this._model.data[this._data.checkbox.selected[i]]) {\n\t\t\t\t\tthis._model.data[this._data.checkbox.selected[i]].state.checked = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis.redraw(true);\n\t\t\t/**\n\t\t\t * triggered when all nodes are checked (only if tie_selection in checkbox settings is false)\n\t\t\t * @event\n\t\t\t * @name check_all.jstree\n\t\t\t * @param {Array} selected the current selection\n\t\t\t * @plugin checkbox\n\t\t\t */\n\t\t\tthis.trigger('check_all', { 'selected' : this._data.checkbox.selected });\n\t\t};\n\t\t/**\n\t\t * uncheck all checked nodes (only if tie_selection in checkbox settings is false, otherwise deselect_all will be called internally)\n\t\t * @name uncheck_all()\n\t\t * @trigger uncheck_all.jstree\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.uncheck_all = function () {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.deselect_all(); }\n\t\t\tvar tmp = this._data.checkbox.selected.concat([]), i, j;\n\t\t\tfor(i = 0, j = this._data.checkbox.selected.length; i < j; i++) {\n\t\t\t\tif(this._model.data[this._data.checkbox.selected[i]]) {\n\t\t\t\t\tthis._model.data[this._data.checkbox.selected[i]].state.checked = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tthis._data.checkbox.selected = [];\n\t\t\tthis.element.find('.jstree-checked').removeClass('jstree-checked');\n\t\t\t/**\n\t\t\t * triggered when all nodes are unchecked (only if tie_selection in checkbox settings is false)\n\t\t\t * @event\n\t\t\t * @name uncheck_all.jstree\n\t\t\t * @param {Object} node the previous selection\n\t\t\t * @param {Array} selected the current selection\n\t\t\t * @plugin checkbox\n\t\t\t */\n\t\t\tthis.trigger('uncheck_all', { 'selected' : this._data.checkbox.selected, 'node' : tmp });\n\t\t};\n\t\t/**\n\t\t * checks if a node is checked (if tie_selection is on in the settings this function will return the same as is_selected)\n\t\t * @name is_checked(obj)\n\t\t * @param  {mixed}  obj\n\t\t * @return {Boolean}\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.is_checked = function (obj) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.is_selected(obj); }\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\treturn obj.state.checked;\n\t\t};\n\t\t/**\n\t\t * get an array of all checked nodes (if tie_selection is on in the settings this function will return the same as get_selected)\n\t\t * @name get_checked([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.get_checked = function (full) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.get_selected(full); }\n\t\t\treturn full ? $.map(this._data.checkbox.selected, function (i) { return this.get_node(i); }.bind(this)) : this._data.checkbox.selected.slice();\n\t\t};\n\t\t/**\n\t\t * get an array of all top level checked nodes (ignoring children of checked nodes) (if tie_selection is on in the settings this function will return the same as get_top_selected)\n\t\t * @name get_top_checked([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.get_top_checked = function (full) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.get_top_selected(full); }\n\t\t\tvar tmp = this.get_checked(true),\n\t\t\t\tobj = {}, i, j, k, l;\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tobj[tmp[i].id] = tmp[i];\n\t\t\t}\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tfor(k = 0, l = tmp[i].children_d.length; k < l; k++) {\n\t\t\t\t\tif(obj[tmp[i].children_d[k]]) {\n\t\t\t\t\t\tdelete obj[tmp[i].children_d[k]];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ttmp = [];\n\t\t\tfor(i in obj) {\n\t\t\t\tif(obj.hasOwnProperty(i)) {\n\t\t\t\t\ttmp.push(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn full ? $.map(tmp, function (i) { return this.get_node(i); }.bind(this)) : tmp;\n\t\t};\n\t\t/**\n\t\t * get an array of all bottom level checked nodes (ignoring selected parents) (if tie_selection is on in the settings this function will return the same as get_bottom_selected)\n\t\t * @name get_bottom_checked([full])\n\t\t * @param  {mixed}  full if set to `true` the returned array will consist of the full node objects, otherwise - only IDs will be returned\n\t\t * @return {Array}\n\t\t * @plugin checkbox\n\t\t */\n\t\tthis.get_bottom_checked = function (full) {\n\t\t\tif(this.settings.checkbox.tie_selection) { return this.get_bottom_selected(full); }\n\t\t\tvar tmp = this.get_checked(true),\n\t\t\t\tobj = [], i, j;\n\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\tif(!tmp[i].children.length) {\n\t\t\t\t\tobj.push(tmp[i].id);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn full ? $.map(obj, function (i) { return this.get_node(i); }.bind(this)) : obj;\n\t\t};\n\t\tthis.load_node = function (obj, callback) {\n\t\t\tvar k, l, i, j, c, tmp;\n\t\t\tif(!$.vakata.is_array(obj) && !this.settings.checkbox.tie_selection) {\n\t\t\t\ttmp = this.get_node(obj);\n\t\t\t\tif(tmp && tmp.state.loaded) {\n\t\t\t\t\tfor(k = 0, l = tmp.children_d.length; k < l; k++) {\n\t\t\t\t\t\tif(this._model.data[tmp.children_d[k]].state.checked) {\n\t\t\t\t\t\t\tc = true;\n\t\t\t\t\t\t\tthis._data.checkbox.selected = $.vakata.array_remove_item(this._data.checkbox.selected, tmp.children_d[k]);\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 parent.load_node.apply(this, arguments);\n\t\t};\n\t\tthis.get_state = function () {\n\t\t\tvar state = parent.get_state.apply(this, arguments);\n\t\t\tif(this.settings.checkbox.tie_selection) { return state; }\n\t\t\tstate.checkbox = this._data.checkbox.selected.slice();\n\t\t\treturn state;\n\t\t};\n\t\tthis.set_state = function (state, callback) {\n\t\t\tvar res = parent.set_state.apply(this, arguments);\n\t\t\tif(res && state.checkbox) {\n\t\t\t\tif(!this.settings.checkbox.tie_selection) {\n\t\t\t\t\tthis.uncheck_all();\n\t\t\t\t\tvar _this = this;\n\t\t\t\t\t$.each(state.checkbox, function (i, v) {\n\t\t\t\t\t\t_this.check_node(v);\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\tdelete state.checkbox;\n\t\t\t\tthis.set_state(state, callback);\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn res;\n\t\t};\n\t\tthis.refresh = function (skip_loading, forget_state) {\n\t\t\tif(this.settings.checkbox.tie_selection) {\n\t\t\t\tthis._data.checkbox.selected = [];\n\t\t\t}\n\t\t\treturn parent.refresh.apply(this, arguments);\n\t\t};\n\t};\n\n\t// include the checkbox plugin by default\n\t// $.jstree.defaults.plugins.push(\"checkbox\");\n\n\n/**\n * ### Conditionalselect plugin\n *\n * This plugin allows defining a callback to allow or deny node selection by user input (activate node method).\n */\n\n\t/**\n\t * a callback (function) which is invoked in the instance's scope and receives two arguments - the node and the event that triggered the `activate_node` call. Returning false prevents working with the node, returning true allows invoking activate_node. Defaults to returning `true`.\n\t * @name $.jstree.defaults.checkbox.visible\n\t * @plugin checkbox\n\t */\n\t$.jstree.defaults.conditionalselect = function () { return true; };\n\t$.jstree.plugins.conditionalselect = function (options, parent) {\n\t\t// own function\n\t\tthis.activate_node = function (obj, e) {\n\t\t\tif(this.settings.conditionalselect.call(this, this.get_node(obj), e)) {\n\t\t\t\treturn parent.activate_node.call(this, obj, e);\n\t\t\t}\n\t\t};\n\t};\n\n\n/**\n * ### Contextmenu plugin\n *\n * Shows a context menu when a node is right-clicked.\n */\n\n\t/**\n\t * stores all defaults for the contextmenu plugin\n\t * @name $.jstree.defaults.contextmenu\n\t * @plugin contextmenu\n\t */\n\t$.jstree.defaults.contextmenu = {\n\t\t/**\n\t\t * a boolean indicating if the node should be selected when the context menu is invoked on it. Defaults to `true`.\n\t\t * @name $.jstree.defaults.contextmenu.select_node\n\t\t * @plugin contextmenu\n\t\t */\n\t\tselect_node : true,\n\t\t/**\n\t\t * a boolean indicating if the menu should be shown aligned with the node. Defaults to `true`, otherwise the mouse coordinates are used.\n\t\t * @name $.jstree.defaults.contextmenu.show_at_node\n\t\t * @plugin contextmenu\n\t\t */\n\t\tshow_at_node : true,\n\t\t/**\n\t\t * an object of actions, or a function that accepts a node and a callback function and calls the callback function with an object of actions available for that node (you can also return the items too).\n\t\t *\n\t\t * Each action consists of a key (a unique name) and a value which is an object with the following properties (only label and action are required). Once a menu item is activated the `action` function will be invoked with an object containing the following keys: item - the contextmenu item definition as seen below, reference - the DOM node that was used (the tree node), element - the contextmenu DOM element, position - an object with x/y properties indicating the position of the menu.\n\t\t *\n\t\t * * `separator_before` - a boolean indicating if there should be a separator before this item\n\t\t * * `separator_after` - a boolean indicating if there should be a separator after this item\n\t\t * * `_disabled` - a boolean indicating if this action should be disabled\n\t\t * * `label` - a string - the name of the action (could be a function returning a string)\n\t\t * * `title` - a string - an optional tooltip for the item\n\t\t * * `action` - a function to be executed if this item is chosen, the function will receive \n\t\t * * `icon` - a string, can be a path to an icon or a className, if using an image that is in the current directory use a `./` prefix, otherwise it will be detected as a class\n\t\t * * `shortcut` - keyCode which will trigger the action if the menu is open (for example `113` for rename, which equals F2)\n\t\t * * `shortcut_label` - shortcut label (like for example `F2` for rename)\n\t\t * * `submenu` - an object with the same structure as $.jstree.defaults.contextmenu.items which can be used to create a submenu - each key will be rendered as a separate option in a submenu that will appear once the current item is hovered\n\t\t *\n\t\t * @name $.jstree.defaults.contextmenu.items\n\t\t * @plugin contextmenu\n\t\t */\n\t\titems : function (o, cb) { // Could be an object directly\n\t\t\treturn {\n\t\t\t\t\"create\" : {\n\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\"separator_after\"\t: true,\n\t\t\t\t\t\"_disabled\"\t\t\t: false, //(this.check(\"create_node\", data.reference, {}, \"last\")),\n\t\t\t\t\t\"label\"\t\t\t\t: \"Create\",\n\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\tinst.create_node(obj, {}, \"last\", function (new_node) {\n\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\tinst.edit(new_node);\n\t\t\t\t\t\t\t} catch (ex) {\n\t\t\t\t\t\t\t\tsetTimeout(function () { inst.edit(new_node); },0);\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\t\"rename\" : {\n\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\"_disabled\"\t\t\t: false, //(this.check(\"rename_node\", data.reference, this.get_parent(data.reference), \"\")),\n\t\t\t\t\t\"label\"\t\t\t\t: \"Rename\",\n\t\t\t\t\t/*!\n\t\t\t\t\t\"shortcut\"\t\t\t: 113,\n\t\t\t\t\t\"shortcut_label\"\t: 'F2',\n\t\t\t\t\t\"icon\"\t\t\t\t: \"glyphicon glyphicon-leaf\",\n\t\t\t\t\t*/\n\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\tinst.edit(obj);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"remove\" : {\n\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\"icon\"\t\t\t\t: false,\n\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\"_disabled\"\t\t\t: false, //(this.check(\"delete_node\", data.reference, this.get_parent(data.reference), \"\")),\n\t\t\t\t\t\"label\"\t\t\t\t: \"Delete\",\n\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\tif(inst.is_selected(obj)) {\n\t\t\t\t\t\t\tinst.delete_node(inst.get_selected());\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse {\n\t\t\t\t\t\t\tinst.delete_node(obj);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t\"ccp\" : {\n\t\t\t\t\t\"separator_before\"\t: true,\n\t\t\t\t\t\"icon\"\t\t\t\t: false,\n\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\"label\"\t\t\t\t: \"Edit\",\n\t\t\t\t\t\"action\"\t\t\t: false,\n\t\t\t\t\t\"submenu\" : {\n\t\t\t\t\t\t\"cut\" : {\n\t\t\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\t\t\"label\"\t\t\t\t: \"Cut\",\n\t\t\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\t\t\tif(inst.is_selected(obj)) {\n\t\t\t\t\t\t\t\t\tinst.cut(inst.get_top_selected());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tinst.cut(obj);\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\t\"copy\" : {\n\t\t\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\t\t\"icon\"\t\t\t\t: false,\n\t\t\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\t\t\"label\"\t\t\t\t: \"Copy\",\n\t\t\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\t\t\tif(inst.is_selected(obj)) {\n\t\t\t\t\t\t\t\t\tinst.copy(inst.get_top_selected());\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\tinst.copy(obj);\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\t\"paste\" : {\n\t\t\t\t\t\t\t\"separator_before\"\t: false,\n\t\t\t\t\t\t\t\"icon\"\t\t\t\t: false,\n\t\t\t\t\t\t\t\"_disabled\"\t\t\t: function (data) {\n\t\t\t\t\t\t\t\treturn !$.jstree.reference(data.reference).can_paste();\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\"separator_after\"\t: false,\n\t\t\t\t\t\t\t\"label\"\t\t\t\t: \"Paste\",\n\t\t\t\t\t\t\t\"action\"\t\t\t: function (data) {\n\t\t\t\t\t\t\t\tvar inst = $.jstree.reference(data.reference),\n\t\t\t\t\t\t\t\t\tobj = inst.get_node(data.reference);\n\t\t\t\t\t\t\t\tinst.paste(obj);\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\t$.jstree.plugins.contextmenu = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\n\t\t\tvar last_ts = 0, cto = null, ex, ey;\n\t\t\tthis.element\n\t\t\t\t.on(\"init.jstree loading.jstree ready.jstree\", function () {\n\t\t\t\t\t\tthis.get_container_ul().addClass('jstree-contextmenu');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"contextmenu.jstree\", \".jstree-anchor\", function (e, data) {\n\t\t\t\t\t\tif (e.target.tagName.toLowerCase() === 'input') {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\tlast_ts = e.ctrlKey ? +new Date() : 0;\n\t\t\t\t\t\tif(data || cto) {\n\t\t\t\t\t\t\tlast_ts = (+new Date()) + 10000;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(cto) {\n\t\t\t\t\t\t\tclearTimeout(cto);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(!this.is_loading(e.currentTarget)) {\n\t\t\t\t\t\t\tthis.show_contextmenu(e.currentTarget, e.pageX, e.pageY, e);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"click.jstree\", \".jstree-anchor\", function (e) {\n\t\t\t\t\t\tif(this._data.contextmenu.visible && (!last_ts || (+new Date()) - last_ts > 250)) { // work around safari & macOS ctrl+click\n\t\t\t\t\t\t\t$.vakata.context.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tlast_ts = 0;\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"touchstart.jstree\", \".jstree-anchor\", function (e) {\n\t\t\t\t\t\tif(!e.originalEvent || !e.originalEvent.changedTouches || !e.originalEvent.changedTouches[0]) {\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tex = e.originalEvent.changedTouches[0].clientX;\n\t\t\t\t\t\tey = e.originalEvent.changedTouches[0].clientY;\n\t\t\t\t\t\tcto = setTimeout(function () {\n\t\t\t\t\t\t\t$(e.currentTarget).trigger('contextmenu', true);\n\t\t\t\t\t\t}, 750);\n\t\t\t\t\t})\n\t\t\t\t.on('touchmove.vakata.jstree', function (e) {\n\t\t\t\t\t\tif(cto && e.originalEvent && e.originalEvent.changedTouches && e.originalEvent.changedTouches[0] && (Math.abs(ex - e.originalEvent.changedTouches[0].clientX) > 10 || Math.abs(ey - e.originalEvent.changedTouches[0].clientY) > 10)) {\n\t\t\t\t\t\t\tclearTimeout(cto);\n\t\t\t\t\t\t\t$.vakata.context.hide();\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t.on('touchend.vakata.jstree', function (e) {\n\t\t\t\t\t\tif(cto) {\n\t\t\t\t\t\t\tclearTimeout(cto);\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t/*!\n\t\t\tif(!('oncontextmenu' in document.body) && ('ontouchstart' in document.body)) {\n\t\t\t\tvar el = null, tm = null;\n\t\t\t\tthis.element\n\t\t\t\t\t.on(\"touchstart\", \".jstree-anchor\", function (e) {\n\t\t\t\t\t\tel = e.currentTarget;\n\t\t\t\t\t\ttm = +new Date();\n\t\t\t\t\t\t$(document).one(\"touchend\", function (e) {\n\t\t\t\t\t\t\te.target = document.elementFromPoint(e.originalEvent.targetTouches[0].pageX - window.pageXOffset, e.originalEvent.targetTouches[0].pageY - window.pageYOffset);\n\t\t\t\t\t\t\te.currentTarget = e.target;\n\t\t\t\t\t\t\ttm = ((+(new Date())) - tm);\n\t\t\t\t\t\t\tif(e.target === el && tm > 600 && tm < 1000) {\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t$(el).trigger('contextmenu', e);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tel = null;\n\t\t\t\t\t\t\ttm = null;\n\t\t\t\t\t\t});\n\t\t\t\t\t});\n\t\t\t}\n\t\t\t*/\n\t\t\t$(document).on(\"context_hide.vakata.jstree\", function (e, data) {\n\t\t\t\tthis._data.contextmenu.visible = false;\n\t\t\t\t$(data.reference).removeClass('jstree-context');\n\t\t\t}.bind(this));\n\t\t};\n\t\tthis.teardown = function () {\n\t\t\tif(this._data.contextmenu.visible) {\n\t\t\t\t$.vakata.context.hide();\n\t\t\t}\n\t\t\t$(document).off(\"context_hide.vakata.jstree\");\n\t\t\tparent.teardown.call(this);\n\t\t};\n\n\t\t/**\n\t\t * prepare and show the context menu for a node\n\t\t * @name show_contextmenu(obj [, x, y])\n\t\t * @param {mixed} obj the node\n\t\t * @param {Number} x the x-coordinate relative to the document to show the menu at\n\t\t * @param {Number} y the y-coordinate relative to the document to show the menu at\n\t\t * @param {Object} e the event if available that triggered the contextmenu\n\t\t * @plugin contextmenu\n\t\t * @trigger show_contextmenu.jstree\n\t\t */\n\t\tthis.show_contextmenu = function (obj, x, y, e) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj || obj.id === $.jstree.root) { return false; }\n\t\t\tvar s = this.settings.contextmenu,\n\t\t\t\td = this.get_node(obj, true),\n\t\t\t\ta = d.children(\".jstree-anchor\"),\n\t\t\t\to = false,\n\t\t\t\ti = false;\n\t\t\tif(s.show_at_node || x === undefined || y === undefined) {\n\t\t\t\to = a.offset();\n\t\t\t\tx = o.left;\n\t\t\t\ty = o.top + this._data.core.li_height;\n\t\t\t}\n\t\t\tif(this.settings.contextmenu.select_node && !this.is_selected(obj)) {\n\t\t\t\tthis.activate_node(obj, e);\n\t\t\t}\n\n\t\t\ti = s.items;\n\t\t\tif($.vakata.is_function(i)) {\n\t\t\t\ti = i.call(this, obj, function (i) {\n\t\t\t\t\tthis._show_contextmenu(obj, x, y, i);\n\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t\tif($.isPlainObject(i)) {\n\t\t\t\tthis._show_contextmenu(obj, x, y, i);\n\t\t\t}\n\t\t};\n\t\t/**\n\t\t * show the prepared context menu for a node\n\t\t * @name _show_contextmenu(obj, x, y, i)\n\t\t * @param {mixed} obj the node\n\t\t * @param {Number} x the x-coordinate relative to the document to show the menu at\n\t\t * @param {Number} y the y-coordinate relative to the document to show the menu at\n\t\t * @param {Number} i the object of items to show\n\t\t * @plugin contextmenu\n\t\t * @trigger show_contextmenu.jstree\n\t\t * @private\n\t\t */\n\t\tthis._show_contextmenu = function (obj, x, y, i) {\n\t\t\tvar d = this.get_node(obj, true),\n\t\t\t\ta = d.children(\".jstree-anchor\");\n\t\t\t$(document).one(\"context_show.vakata.jstree\", function (e, data) {\n\t\t\t\tvar cls = 'jstree-contextmenu jstree-' + this.get_theme() + '-contextmenu';\n\t\t\t\t$(data.element).addClass(cls);\n\t\t\t\ta.addClass('jstree-context');\n\t\t\t}.bind(this));\n\t\t\tthis._data.contextmenu.visible = true;\n\t\t\t$.vakata.context.show(a, { 'x' : x, 'y' : y }, i);\n\t\t\t/**\n\t\t\t * triggered when the contextmenu is shown for a node\n\t\t\t * @event\n\t\t\t * @name show_contextmenu.jstree\n\t\t\t * @param {Object} node the node\n\t\t\t * @param {Number} x the x-coordinate of the menu relative to the document\n\t\t\t * @param {Number} y the y-coordinate of the menu relative to the document\n\t\t\t * @plugin contextmenu\n\t\t\t */\n\t\t\tthis.trigger('show_contextmenu', { \"node\" : obj, \"x\" : x, \"y\" : y });\n\t\t};\n\t};\n\n\t// contextmenu helper\n\t(function ($) {\n\t\tvar right_to_left = false,\n\t\t\tvakata_context = {\n\t\t\t\telement\t\t: false,\n\t\t\t\treference\t: false,\n\t\t\t\tposition_x\t: 0,\n\t\t\t\tposition_y\t: 0,\n\t\t\t\titems\t\t: [],\n\t\t\t\thtml\t\t: \"\",\n\t\t\t\tis_visible\t: false\n\t\t\t};\n\n\t\t$.vakata.context = {\n\t\t\tsettings : {\n\t\t\t\thide_onmouseleave\t: 0,\n\t\t\t\ticons\t\t\t\t: true\n\t\t\t},\n\t\t\t_trigger : function (event_name) {\n\t\t\t\t$(document).triggerHandler(\"context_\" + event_name + \".vakata\", {\n\t\t\t\t\t\"reference\"\t: vakata_context.reference,\n\t\t\t\t\t\"element\"\t: vakata_context.element,\n\t\t\t\t\t\"position\"\t: {\n\t\t\t\t\t\t\"x\" : vakata_context.position_x,\n\t\t\t\t\t\t\"y\" : vakata_context.position_y\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t},\n\t\t\t_execute : function (i) {\n\t\t\t\ti = vakata_context.items[i];\n\t\t\t\treturn i && (!i._disabled || ($.vakata.is_function(i._disabled) && !i._disabled({ \"item\" : i, \"reference\" : vakata_context.reference, \"element\" : vakata_context.element }))) && i.action ? i.action.call(null, {\n\t\t\t\t\t\t\t\"item\"\t\t: i,\n\t\t\t\t\t\t\t\"reference\"\t: vakata_context.reference,\n\t\t\t\t\t\t\t\"element\"\t: vakata_context.element,\n\t\t\t\t\t\t\t\"position\"\t: {\n\t\t\t\t\t\t\t\t\"x\" : vakata_context.position_x,\n\t\t\t\t\t\t\t\t\"y\" : vakata_context.position_y\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}) : false;\n\t\t\t},\n\t\t\t_parse : function (o, is_callback) {\n\t\t\t\tif(!o) { return false; }\n\t\t\t\tif(!is_callback) {\n\t\t\t\t\tvakata_context.html\t\t= \"\";\n\t\t\t\t\tvakata_context.items\t= [];\n\t\t\t\t}\n\t\t\t\tvar str = \"\",\n\t\t\t\t\tsep = false,\n\t\t\t\t\ttmp;\n\n\t\t\t\tif(is_callback) { str += \"<\"+\"ul>\"; }\n\t\t\t\t$.each(o, function (i, val) {\n\t\t\t\t\tif(!val) { return true; }\n\t\t\t\t\tvakata_context.items.push(val);\n\t\t\t\t\tif(!sep && val.separator_before) {\n\t\t\t\t\t\tstr += \"<\"+\"li class='vakata-context-separator'><\"+\"a href='#' \" + ($.vakata.context.settings.icons ? '' : 'class=\"vakata-context-no-icons\"') + \">&#160;<\"+\"/a><\"+\"/li>\";\n\t\t\t\t\t}\n\t\t\t\t\tsep = false;\n\t\t\t\t\tstr += \"<\"+\"li class='\" + (val._class || \"\") + (val._disabled === true || ($.vakata.is_function(val._disabled) && val._disabled({ \"item\" : val, \"reference\" : vakata_context.reference, \"element\" : vakata_context.element })) ? \" vakata-contextmenu-disabled \" : \"\") + \"' \"+(val.shortcut?\" data-shortcut='\"+val.shortcut+\"' \":'')+\">\";\n\t\t\t\t\tstr += \"<\"+\"a href='#' rel='\" + (vakata_context.items.length - 1) + \"' \" + (val.title ? \"title='\" + val.title + \"'\" : \"\") + \">\";\n\t\t\t\t\tif($.vakata.context.settings.icons) {\n\t\t\t\t\t\tstr += \"<\"+\"i \";\n\t\t\t\t\t\tif(val.icon) {\n\t\t\t\t\t\t\tif(val.icon.indexOf(\"/\") !== -1 || val.icon.indexOf(\".\") !== -1) { str += \" style='background:url(\\\"\" + val.icon + \"\\\") center center no-repeat' \"; }\n\t\t\t\t\t\t\telse { str += \" class='\" + val.icon + \"' \"; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstr += \"><\"+\"/i><\"+\"span class='vakata-contextmenu-sep'>&#160;<\"+\"/span>\";\n\t\t\t\t\t}\n\t\t\t\t\tstr += ($.vakata.is_function(val.label) ? val.label({ \"item\" : i, \"reference\" : vakata_context.reference, \"element\" : vakata_context.element }) : val.label) + (val.shortcut?' <span class=\"vakata-contextmenu-shortcut vakata-contextmenu-shortcut-'+val.shortcut+'\">'+ (val.shortcut_label || '') +'</span>':'') + \"<\"+\"/a>\";\n\t\t\t\t\tif(val.submenu) {\n\t\t\t\t\t\ttmp = $.vakata.context._parse(val.submenu, true);\n\t\t\t\t\t\tif(tmp) { str += tmp; }\n\t\t\t\t\t}\n\t\t\t\t\tstr += \"<\"+\"/li>\";\n\t\t\t\t\tif(val.separator_after) {\n\t\t\t\t\t\tstr += \"<\"+\"li class='vakata-context-separator'><\"+\"a href='#' \" + ($.vakata.context.settings.icons ? '' : 'class=\"vakata-context-no-icons\"') + \">&#160;<\"+\"/a><\"+\"/li>\";\n\t\t\t\t\t\tsep = true;\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t\tstr  = str.replace(/<li class\\='vakata-context-separator'\\><\\/li\\>$/,\"\");\n\t\t\t\tif(is_callback) { str += \"</ul>\"; }\n\t\t\t\t/**\n\t\t\t\t * triggered on the document when the contextmenu is parsed (HTML is built)\n\t\t\t\t * @event\n\t\t\t\t * @plugin contextmenu\n\t\t\t\t * @name context_parse.vakata\n\t\t\t\t * @param {jQuery} reference the element that was right clicked\n\t\t\t\t * @param {jQuery} element the DOM element of the menu itself\n\t\t\t\t * @param {Object} position the x & y coordinates of the menu\n\t\t\t\t */\n\t\t\t\tif(!is_callback) { vakata_context.html = str; $.vakata.context._trigger(\"parse\"); }\n\t\t\t\treturn str.length > 10 ? str : false;\n\t\t\t},\n\t\t\t_show_submenu : function (o) {\n\t\t\t\to = $(o);\n\t\t\t\tif(!o.length || !o.children(\"ul\").length) { return; }\n\t\t\t\tvar e = o.children(\"ul\"),\n\t\t\t\t\txl = o.offset().left,\n\t\t\t\t\tx = xl + o.outerWidth(),\n\t\t\t\t\ty = o.offset().top,\n\t\t\t\t\tw = e.width(),\n\t\t\t\t\th = e.height(),\n\t\t\t\t\tdw = $(window).width() + $(window).scrollLeft(),\n\t\t\t\t\tdh = $(window).height() + $(window).scrollTop();\n\t\t\t\t// може да се спести е една проверка - дали няма някой от класовете вече нагоре\n\t\t\t\tif(right_to_left) {\n\t\t\t\t\to[x - (w + 10 + o.outerWidth()) < 0 ? \"addClass\" : \"removeClass\"](\"vakata-context-left\");\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\to[x + w > dw  && xl > dw - x ? \"addClass\" : \"removeClass\"](\"vakata-context-right\");\n\t\t\t\t}\n\t\t\t\tif(y + h + 10 > dh) {\n\t\t\t\t\te.css(\"bottom\",\"-1px\");\n\t\t\t\t}\n\n\t\t\t\t//if does not fit - stick it to the side\n\t\t\t\tif (o.hasClass('vakata-context-right')) {\n\t\t\t\t\tif (xl < w) {\n\t\t\t\t\t\te.css(\"margin-right\", xl - w);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (dw - x < w) {\n\t\t\t\t\t\te.css(\"margin-left\", dw - x - w);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\te.show();\n\t\t\t},\n\t\t\tshow : function (reference, position, data) {\n\t\t\t\tvar o, e, x, y, w, h, dw, dh, cond = true;\n\t\t\t\tif(vakata_context.element && vakata_context.element.length) {\n\t\t\t\t\tvakata_context.element.width('');\n\t\t\t\t}\n\t\t\t\tswitch(cond) {\n\t\t\t\t\tcase (!position && !reference):\n\t\t\t\t\t\treturn false;\n\t\t\t\t\tcase (!!position && !!reference):\n\t\t\t\t\t\tvakata_context.reference\t= reference;\n\t\t\t\t\t\tvakata_context.position_x\t= position.x;\n\t\t\t\t\t\tvakata_context.position_y\t= position.y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase (!position && !!reference):\n\t\t\t\t\t\tvakata_context.reference\t= reference;\n\t\t\t\t\t\to = reference.offset();\n\t\t\t\t\t\tvakata_context.position_x\t= o.left + reference.outerHeight();\n\t\t\t\t\t\tvakata_context.position_y\t= o.top;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase (!!position && !reference):\n\t\t\t\t\t\tvakata_context.position_x\t= position.x;\n\t\t\t\t\t\tvakata_context.position_y\t= position.y;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif(!!reference && !data && $(reference).data('vakata_contextmenu')) {\n\t\t\t\t\tdata = $(reference).data('vakata_contextmenu');\n\t\t\t\t}\n\t\t\t\tif($.vakata.context._parse(data)) {\n\t\t\t\t\tvakata_context.element.html(vakata_context.html);\n\t\t\t\t}\n\t\t\t\tif(vakata_context.items.length) {\n\t\t\t\t\tvakata_context.element.appendTo(document.body);\n\t\t\t\t\te = vakata_context.element;\n\t\t\t\t\tx = vakata_context.position_x;\n\t\t\t\t\ty = vakata_context.position_y;\n\t\t\t\t\tw = e.width();\n\t\t\t\t\th = e.height();\n\t\t\t\t\tdw = $(window).width() + $(window).scrollLeft();\n\t\t\t\t\tdh = $(window).height() + $(window).scrollTop();\n\t\t\t\t\tif(right_to_left) {\n\t\t\t\t\t\tx -= (e.outerWidth() - $(reference).outerWidth());\n\t\t\t\t\t\tif(x < $(window).scrollLeft() + 20) {\n\t\t\t\t\t\t\tx = $(window).scrollLeft() + 20;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(x + w + 20 > dw) {\n\t\t\t\t\t\tx = dw - (w + 20);\n\t\t\t\t\t}\n\t\t\t\t\tif(y + h + 20 > dh) {\n\t\t\t\t\t\ty = dh - (h + 20);\n\t\t\t\t\t}\n\n\t\t\t\t\tvakata_context.element\n\t\t\t\t\t\t.css({ \"left\" : x, \"top\" : y })\n\t\t\t\t\t\t.show()\n\t\t\t\t\t\t.find('a').first().trigger('focus').parent().addClass(\"vakata-context-hover\");\n\t\t\t\t\tvakata_context.is_visible = true;\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered on the document when the contextmenu is shown\n\t\t\t\t\t * @event\n\t\t\t\t\t * @plugin contextmenu\n\t\t\t\t\t * @name context_show.vakata\n\t\t\t\t\t * @param {jQuery} reference the element that was right clicked\n\t\t\t\t\t * @param {jQuery} element the DOM element of the menu itself\n\t\t\t\t\t * @param {Object} position the x & y coordinates of the menu\n\t\t\t\t\t */\n\t\t\t\t\t$.vakata.context._trigger(\"show\");\n\t\t\t\t}\n\t\t\t},\n\t\t\thide : function () {\n\t\t\t\tif(vakata_context.is_visible) {\n\t\t\t\t\tvakata_context.element.hide().find(\"ul\").hide().end().find(':focus').trigger('blur').end().detach();\n\t\t\t\t\tvakata_context.is_visible = false;\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered on the document when the contextmenu is hidden\n\t\t\t\t\t * @event\n\t\t\t\t\t * @plugin contextmenu\n\t\t\t\t\t * @name context_hide.vakata\n\t\t\t\t\t * @param {jQuery} reference the element that was right clicked\n\t\t\t\t\t * @param {jQuery} element the DOM element of the menu itself\n\t\t\t\t\t * @param {Object} position the x & y coordinates of the menu\n\t\t\t\t\t */\n\t\t\t\t\t$.vakata.context._trigger(\"hide\");\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\t$(function () {\n\t\t\tright_to_left = $(document.body).css(\"direction\") === \"rtl\";\n\t\t\tvar to = false;\n\n\t\t\tvakata_context.element = $(\"<ul class='vakata-context'></ul>\");\n\t\t\tvakata_context.element\n\t\t\t\t.on(\"mouseenter\", \"li\", function (e) {\n\t\t\t\t\te.stopImmediatePropagation();\n\n\t\t\t\t\tif($.contains(this, e.relatedTarget)) {\n\t\t\t\t\t\t// премахнато заради delegate mouseleave по-долу\n\t\t\t\t\t\t// $(this).find(\".vakata-context-hover\").removeClass(\"vakata-context-hover\");\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif(to) { clearTimeout(to); }\n\t\t\t\t\tvakata_context.element.find(\".vakata-context-hover\").removeClass(\"vakata-context-hover\").end();\n\n\t\t\t\t\t$(this)\n\t\t\t\t\t\t.siblings().find(\"ul\").hide().end().end()\n\t\t\t\t\t\t.parentsUntil(\".vakata-context\", \"li\").addBack().addClass(\"vakata-context-hover\");\n\t\t\t\t\t$.vakata.context._show_submenu(this);\n\t\t\t\t})\n\t\t\t\t// тестово - дали не натоварва?\n\t\t\t\t.on(\"mouseleave\", \"li\", function (e) {\n\t\t\t\t\tif($.contains(this, e.relatedTarget)) { return; }\n\t\t\t\t\t$(this).find(\".vakata-context-hover\").addBack().removeClass(\"vakata-context-hover\");\n\t\t\t\t})\n\t\t\t\t.on(\"mouseleave\", function (e) {\n\t\t\t\t\t$(this).find(\".vakata-context-hover\").removeClass(\"vakata-context-hover\");\n\t\t\t\t\tif($.vakata.context.settings.hide_onmouseleave) {\n\t\t\t\t\t\tto = setTimeout(\n\t\t\t\t\t\t\t(function (t) {\n\t\t\t\t\t\t\t\treturn function () { $.vakata.context.hide(); };\n\t\t\t\t\t\t\t}(this)), $.vakata.context.settings.hide_onmouseleave);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.on(\"click\", \"a\", function (e) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t//})\n\t\t\t\t//.on(\"mouseup\", \"a\", function (e) {\n\t\t\t\t\tif(!$(this).trigger('blur').parent().hasClass(\"vakata-context-disabled\") && $.vakata.context._execute($(this).attr(\"rel\")) !== false) {\n\t\t\t\t\t\t$.vakata.context.hide();\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.on('keydown', 'a', function (e) {\n\t\t\t\t\t\tvar o = null;\n\t\t\t\t\t\tswitch(e.which) {\n\t\t\t\t\t\t\tcase 13:\n\t\t\t\t\t\t\tcase 32:\n\t\t\t\t\t\t\t\te.type = \"click\";\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\t$(e.currentTarget).trigger(e);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tcase 37:\n\t\t\t\t\t\t\t\tif(vakata_context.is_visible) {\n\t\t\t\t\t\t\t\t\tvakata_context.element.find(\".vakata-context-hover\").last().closest(\"li\").first().find(\"ul\").hide().find(\".vakata-context-hover\").removeClass(\"vakata-context-hover\").end().end().children('a').trigger('focus');\n\t\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\t\te.preventDefault();\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\tcase 38:\n\t\t\t\t\t\t\t\tif(vakata_context.is_visible) {\n\t\t\t\t\t\t\t\t\to = vakata_context.element.find(\"ul:visible\").addBack().last().children(\".vakata-context-hover\").removeClass(\"vakata-context-hover\").prevAll(\"li:not(.vakata-context-separator)\").first();\n\t\t\t\t\t\t\t\t\tif(!o.length) { o = vakata_context.element.find(\"ul:visible\").addBack().last().children(\"li:not(.vakata-context-separator)\").last(); }\n\t\t\t\t\t\t\t\t\to.addClass(\"vakata-context-hover\").children('a').trigger('focus');\n\t\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\t\te.preventDefault();\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\tcase 39:\n\t\t\t\t\t\t\t\tif(vakata_context.is_visible) {\n\t\t\t\t\t\t\t\t\tvakata_context.element.find(\".vakata-context-hover\").last().children(\"ul\").show().children(\"li:not(.vakata-context-separator)\").removeClass(\"vakata-context-hover\").first().addClass(\"vakata-context-hover\").children('a').trigger('focus');\n\t\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\t\te.preventDefault();\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\tcase 40:\n\t\t\t\t\t\t\t\tif(vakata_context.is_visible) {\n\t\t\t\t\t\t\t\t\to = vakata_context.element.find(\"ul:visible\").addBack().last().children(\".vakata-context-hover\").removeClass(\"vakata-context-hover\").nextAll(\"li:not(.vakata-context-separator)\").first();\n\t\t\t\t\t\t\t\t\tif(!o.length) { o = vakata_context.element.find(\"ul:visible\").addBack().last().children(\"li:not(.vakata-context-separator)\").first(); }\n\t\t\t\t\t\t\t\t\to.addClass(\"vakata-context-hover\").children('a').trigger('focus');\n\t\t\t\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\t\t\t\te.preventDefault();\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\tcase 27:\n\t\t\t\t\t\t\t\t$.vakata.context.hide();\n\t\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t//console.log(e.which);\n\t\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.on('keydown', function (e) {\n\t\t\t\t\te.preventDefault();\n\t\t\t\t\tvar a = vakata_context.element.find('.vakata-contextmenu-shortcut-' + e.which).parent();\n\t\t\t\t\tif(a.parent().not('.vakata-context-disabled')) {\n\t\t\t\t\t\ta.trigger('click');\n\t\t\t\t\t}\n\t\t\t\t});\n\n\t\t\t$(document)\n\t\t\t\t.on(\"mousedown.vakata.jstree\", function (e) {\n\t\t\t\t\tif(vakata_context.is_visible && vakata_context.element[0] !== e.target  && !$.contains(vakata_context.element[0], e.target)) {\n\t\t\t\t\t\t$.vakata.context.hide();\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\t.on(\"context_show.vakata.jstree\", function (e, data) {\n\t\t\t\t\tvakata_context.element.find(\"li:has(ul)\").children(\"a\").addClass(\"vakata-context-parent\");\n\t\t\t\t\tif(right_to_left) {\n\t\t\t\t\t\tvakata_context.element.addClass(\"vakata-context-rtl\").css(\"direction\", \"rtl\");\n\t\t\t\t\t}\n\t\t\t\t\t// also apply a RTL class?\n\t\t\t\t\tvakata_context.element.find(\"ul\").hide().end();\n\t\t\t\t});\n\t\t});\n\t}($));\n\t// $.jstree.defaults.plugins.push(\"contextmenu\");\n\n\n/**\n * ### Drag'n'drop plugin\n *\n * Enables dragging and dropping of nodes in the tree, resulting in a move or copy operations.\n */\n\n\t/**\n\t * stores all defaults for the drag'n'drop plugin\n\t * @name $.jstree.defaults.dnd\n\t * @plugin dnd\n\t */\n\t$.jstree.defaults.dnd = {\n\t\t/**\n\t\t * a boolean indicating if a copy should be possible while dragging (by pressint the meta key or Ctrl). Defaults to `true`.\n\t\t * @name $.jstree.defaults.dnd.copy\n\t\t * @plugin dnd\n\t\t */\n\t\tcopy : true,\n\t\t/**\n\t\t * a number indicating how long a node should remain hovered while dragging to be opened. Defaults to `500`.\n\t\t * @name $.jstree.defaults.dnd.open_timeout\n\t\t * @plugin dnd\n\t\t */\n\t\topen_timeout : 500,\n\t\t/**\n\t\t * a function invoked each time a node is about to be dragged, invoked in the tree's scope and receives the nodes about to be dragged as an argument (array) and the event that started the drag - return `false` to prevent dragging\n\t\t * @name $.jstree.defaults.dnd.is_draggable\n\t\t * @plugin dnd\n\t\t */\n\t\tis_draggable : true,\n\t\t/**\n\t\t * a boolean indicating if checks should constantly be made while the user is dragging the node (as opposed to checking only on drop), default is `true`\n\t\t * @name $.jstree.defaults.dnd.check_while_dragging\n\t\t * @plugin dnd\n\t\t */\n\t\tcheck_while_dragging : true,\n\t\t/**\n\t\t * a boolean indicating if nodes from this tree should only be copied with dnd (as opposed to moved), default is `false`\n\t\t * @name $.jstree.defaults.dnd.always_copy\n\t\t * @plugin dnd\n\t\t */\n\t\talways_copy : false,\n\t\t/**\n\t\t * when dropping a node \"inside\", this setting indicates the position the node should go to - it can be an integer or a string: \"first\" (same as 0) or \"last\", default is `0`\n\t\t * @name $.jstree.defaults.dnd.inside_pos\n\t\t * @plugin dnd\n\t\t */\n\t\tinside_pos : 0,\n\t\t/**\n\t\t * when starting the drag on a node that is selected this setting controls if all selected nodes are dragged or only the single node, default is `true`, which means all selected nodes are dragged when the drag is started on a selected node\n\t\t * @name $.jstree.defaults.dnd.drag_selection\n\t\t * @plugin dnd\n\t\t */\n\t\tdrag_selection : true,\n\t\t/**\n\t\t * controls whether dnd works on touch devices. If left as boolean true dnd will work the same as in desktop browsers, which in some cases may impair scrolling. If set to boolean false dnd will not work on touch devices. There is a special third option - string \"selected\" which means only selected nodes can be dragged on touch devices.\n\t\t * @name $.jstree.defaults.dnd.touch\n\t\t * @plugin dnd\n\t\t */\n\t\ttouch : true,\n\t\t/**\n\t\t * controls whether items can be dropped anywhere on the node, not just on the anchor, by default only the node anchor is a valid drop target. Works best with the wholerow plugin. If enabled on mobile depending on the interface it might be hard for the user to cancel the drop, since the whole tree container will be a valid drop target.\n\t\t * @name $.jstree.defaults.dnd.large_drop_target\n\t\t * @plugin dnd\n\t\t */\n\t\tlarge_drop_target : false,\n\t\t/**\n\t\t * controls whether a drag can be initiated from any part of the node and not just the text/icon part, works best with the wholerow plugin. Keep in mind it can cause problems with tree scrolling on mobile depending on the interface - in that case set the touch option to \"selected\".\n\t\t * @name $.jstree.defaults.dnd.large_drag_target\n\t\t * @plugin dnd\n\t\t */\n\t\tlarge_drag_target : false,\n\t\t/**\n\t\t * controls whether use HTML5 dnd api instead of classical. That will allow better integration of dnd events with other HTML5 controls.\n\t\t * @reference http://caniuse.com/#feat=dragndrop\n\t\t * @name $.jstree.defaults.dnd.use_html5\n\t\t * @plugin dnd\n\t\t */\n\t\tuse_html5: false,\n\t\t/**\n\t\t * controls whether items can be dropped anywhere on the tree.\n\t\t * @name $.jstree.defaults.dnd.blank_space_drop\n\t\t * @plugin dnd\n\t\t */\n\t\tblank_space_drop: false\n\t};\n\tvar drg, elm;\n\t// TODO: now check works by checking for each node individually, how about max_children, unique, etc?\n\t$.jstree.plugins.dnd = function (options, parent) {\n\t\tthis.init = function (el, options) {\n\t\t\tparent.init.call(this, el, options);\n\t\t\tthis.settings.dnd.use_html5 = this.settings.dnd.use_html5 && ('draggable' in document.createElement('span'));\n\t\t};\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\n\t\t\tthis.element\n\t\t\t\t.on(this.settings.dnd.use_html5 ? 'dragstart.jstree' : 'mousedown.jstree touchstart.jstree', this.settings.dnd.large_drag_target ? '.jstree-node' : '.jstree-anchor', function (e) {\n\t\t\t\t\t\tif(this.settings.dnd.large_drag_target && $(e.target).closest('.jstree-node')[0] !== e.currentTarget) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(e.type === \"touchstart\" && (!this.settings.dnd.touch || (this.settings.dnd.touch === 'selected' && !$(e.currentTarget).closest('.jstree-node').children('.jstree-anchor').hasClass('jstree-clicked')))) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvar obj = this.get_node(e.target),\n\t\t\t\t\t\t\tmlt = this.is_selected(obj) && this.settings.dnd.drag_selection ? this.get_top_selected().length : 1,\n\t\t\t\t\t\t\ttxt = (mlt > 1 ? mlt + ' ' + this.get_string('nodes') : this.get_text(e.currentTarget));\n\t\t\t\t\t\tif(this.settings.core.force_text) {\n\t\t\t\t\t\t\ttxt = $.vakata.html.escape(txt);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(obj && (obj.id || obj.id === 0) && obj.id !== $.jstree.root && (e.which === 1 || e.type === \"touchstart\" || e.type === \"dragstart\") &&\n\t\t\t\t\t\t\t(this.settings.dnd.is_draggable === true || ($.vakata.is_function(this.settings.dnd.is_draggable) && this.settings.dnd.is_draggable.call(this, (mlt > 1 ? this.get_top_selected(true) : [obj]), e)))\n\t\t\t\t\t\t) {\n\t\t\t\t\t\t\tdrg = { 'jstree' : true, 'origin' : this, 'obj' : this.get_node(obj,true), 'nodes' : mlt > 1 ? this.get_top_selected() : [obj.id] };\n\t\t\t\t\t\t\telm = e.currentTarget;\n\t\t\t\t\t\t\tif (this.settings.dnd.use_html5) {\n\t\t\t\t\t\t\t\t$.vakata.dnd._trigger('start', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.element.trigger('mousedown.jstree');\n\t\t\t\t\t\t\t\treturn $.vakata.dnd.start(e, drg, '<div id=\"jstree-dnd\" class=\"jstree-' + this.get_theme() + ' jstree-' + this.get_theme() + '-' + this.get_theme_variant() + ' ' + ( this.settings.core.themes.responsive ? ' jstree-dnd-responsive' : '' ) + '\"><i class=\"jstree-icon jstree-er\"></i>' + txt + '<ins class=\"jstree-copy\">+</ins></div>');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this));\n\t\t\tif (this.settings.dnd.use_html5) {\n\t\t\t\tthis.element\n\t\t\t\t\t.on('dragover.jstree', function (e) {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t$.vakata.dnd._trigger('move', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t})\n\t\t\t\t\t//.on('dragenter.jstree', this.settings.dnd.large_drop_target ? '.jstree-node' : '.jstree-anchor', $.proxy(function (e) {\n\t\t\t\t\t//\t\te.preventDefault();\n\t\t\t\t\t//\t\t$.vakata.dnd._trigger('move', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t\t//\t\treturn false;\n\t\t\t\t\t//\t}, this))\n\t\t\t\t\t.on('drop.jstree', function (e) {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\t$.vakata.dnd._trigger('stop', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}.bind(this));\n\t\t\t}\n\t\t};\n\t\tthis.redraw_node = function(obj, deep, callback, force_render) {\n\t\t\tobj = parent.redraw_node.apply(this, arguments);\n\t\t\tif (obj && this.settings.dnd.use_html5) {\n\t\t\t\tif (this.settings.dnd.large_drag_target) {\n\t\t\t\t\tobj.setAttribute('draggable', true);\n\t\t\t\t} else {\n\t\t\t\t\tvar i, j, tmp = null;\n\t\t\t\t\tfor(i = 0, j = obj.childNodes.length; i < j; i++) {\n\t\t\t\t\t\tif(obj.childNodes[i] && obj.childNodes[i].className && obj.childNodes[i].className.indexOf(\"jstree-anchor\") !== -1) {\n\t\t\t\t\t\t\ttmp = obj.childNodes[i];\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(tmp) {\n\t\t\t\t\t\ttmp.setAttribute('draggable', true);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn obj;\n\t\t};\n\t};\n\n\t$(function() {\n\t\t// bind only once for all instances\n\t\tvar lastmv = false,\n\t\t\tlaster = false,\n\t\t\tlastev = false,\n\t\t\topento = false,\n\t\t\tmarker = $('<div id=\"jstree-marker\">&#160;</div>').hide(); //.appendTo('body');\n\n\t\t$(document)\n\t\t\t.on('dragover.vakata.jstree', function (e) {\n\t\t\t\tif (elm) {\n\t\t\t\t\t$.vakata.dnd._trigger('move', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t}\n\t\t\t})\n\t\t\t.on('drop.vakata.jstree', function (e) {\n\t\t\t\tif (elm) {\n\t\t\t\t\t$.vakata.dnd._trigger('stop', e, { 'helper': $(), 'element': elm, 'data': drg });\n\t\t\t\t\telm = null;\n\t\t\t\t\tdrg = null;\n\t\t\t\t}\n\t\t\t})\n\t\t\t.on('dnd_start.vakata.jstree', function (e, data) {\n\t\t\t\tlastmv = false;\n\t\t\t\tlastev = false;\n\t\t\t\tif(!data || !data.data || !data.data.jstree) { return; }\n\t\t\t\tmarker.appendTo(document.body); //.show();\n\t\t\t})\n\t\t\t.on('dnd_move.vakata.jstree', function (e, data) {\n\t\t\t\tvar isDifferentNode = data.event.target !== lastev.target;\n\t\t\t\tif(opento) {\n\t\t\t\t\tif (!data.event || data.event.type !== 'dragover' || isDifferentNode) {\n\t\t\t\t\t\tclearTimeout(opento);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(!data || !data.data || !data.data.jstree) { return; }\n\n\t\t\t\t// if we are hovering the marker image do nothing (can happen on \"inside\" drags)\n\t\t\t\tif(data.event.target.id && data.event.target.id === 'jstree-marker') {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tlastev = data.event;\n\n\t\t\t\tvar ins = $.jstree.reference(data.event.target),\n\t\t\t\t\tref = false,\n\t\t\t\t\toff = false,\n\t\t\t\t\trel = false,\n\t\t\t\t\ttmp, l, t, h, p, i, o, ok, t1, t2, op, ps, pr, ip, tm, is_copy, pn, c;\n\t\t\t\t// if we are over an instance\n\t\t\t\tif(ins && ins._data && ins._data.dnd) {\n\t\t\t\t\tmarker.attr('class', 'jstree-' + ins.get_theme() + ( ins.settings.core.themes.responsive ? ' jstree-dnd-responsive' : '' ));\n\t\t\t\t\tis_copy = data.data.origin && (data.data.origin.settings.dnd.always_copy || (data.data.origin.settings.dnd.copy && (data.event.metaKey || data.event.ctrlKey)));\n\t\t\t\t\tdata.helper\n\t\t\t\t\t\t.children().attr('class', 'jstree-' + ins.get_theme() + ' jstree-' + ins.get_theme() + '-' + ins.get_theme_variant() + ' ' + ( ins.settings.core.themes.responsive ? ' jstree-dnd-responsive' : '' ))\n\t\t\t\t\t\t.find('.jstree-copy').first()[ is_copy ? 'show' : 'hide' ]();\n\n\t\t\t\t\t// if are hovering the container itself add a new root node\n\t\t\t\t\t//console.log(data.event);\n\t\t\t\t\tif( (data.event.target === ins.element[0] || data.event.target === ins.get_container_ul()[0]) && (ins.get_container_ul().children().length === 0 || ins.settings.dnd.blank_space_drop)) {\n\t\t\t\t\t\tok = true;\n\t\t\t\t\t\tfor(t1 = 0, t2 = data.data.nodes.length; t1 < t2; t1++) {\n\t\t\t\t\t\t\tok = ok && ins.check( (data.data.origin && (data.data.origin.settings.dnd.always_copy || (data.data.origin.settings.dnd.copy && (data.event.metaKey || data.event.ctrlKey)) ) ? \"copy_node\" : \"move_node\"), (data.data.origin && data.data.origin !== ins ? data.data.origin.get_node(data.data.nodes[t1]) : data.data.nodes[t1]), $.jstree.root, 'last', { 'dnd' : true, 'ref' : ins.get_node($.jstree.root), 'pos' : 'i', 'origin' : data.data.origin, 'is_multi' : (data.data.origin && data.data.origin !== ins), 'is_foreign' : (!data.data.origin) });\n\t\t\t\t\t\t\tif(!ok) { break; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(ok) {\n\t\t\t\t\t\t\tlastmv = { 'ins' : ins, 'par' : $.jstree.root, 'pos' : 'last' };\n\t\t\t\t\t\t\tmarker.hide();\n\t\t\t\t\t\t\tdata.helper.find('.jstree-icon').first().removeClass('jstree-er').addClass('jstree-ok');\n\t\t\t\t\t\t\tif (data.event.originalEvent && data.event.originalEvent.dataTransfer) {\n\t\t\t\t\t\t\t\tdata.event.originalEvent.dataTransfer.dropEffect = is_copy ? 'copy' : 'move';\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\t// if we are hovering a tree node\n\t\t\t\t\t\tref = ins.settings.dnd.large_drop_target ? $(data.event.target).closest('.jstree-node').children('.jstree-anchor') : $(data.event.target).closest('.jstree-anchor');\n\t\t\t\t\t\t\n\t\t\t\t\t\tif(ref && ref.length && ref.parent().is('.jstree-closed, .jstree-open, .jstree-leaf')) {\n\t\t\t\t\t\t\toff = ref.offset();\n\t\t\t\t\t\t\trel = (data.event.pageY !== undefined ? data.event.pageY : data.event.originalEvent.pageY) - off.top;\n\t\t\t\t\t\t\th = ref.outerHeight();\n\t\t\t\t\t\t\tif(rel < h / 3) {\n\t\t\t\t\t\t\t\to = ['b', 'i', 'a'];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse if(rel > h - h / 3) {\n\t\t\t\t\t\t\t\to = ['a', 'i', 'b'];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\to = rel > h / 2 ? ['i', 'a', 'b'] : ['i', 'b', 'a'];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t$.each(o, function (j, v) {\n\t\t\t\t\t\t\t\tswitch(v) {\n\t\t\t\t\t\t\t\t\tcase 'b':\n\t\t\t\t\t\t\t\t\t\tl = off.left - 6;\n\t\t\t\t\t\t\t\t\t\tt = off.top;\n\t\t\t\t\t\t\t\t\t\tp = ins.get_parent(ref);\n\t\t\t\t\t\t\t\t\t\ti = ref.parent().index();\n\t\t\t\t\t\t\t\t\t\tc = 'jstree-below';\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase 'i':\n\t\t\t\t\t\t\t\t\t\tip = ins.settings.dnd.inside_pos;\n\t\t\t\t\t\t\t\t\t\ttm = ins.get_node(ref.parent());\n\t\t\t\t\t\t\t\t\t\tl = off.left - 2;\n\t\t\t\t\t\t\t\t\t\tt = off.top + h / 2 + 1;\n\t\t\t\t\t\t\t\t\t\tp = tm.id;\n\t\t\t\t\t\t\t\t\t\ti = ip === 'first' ? 0 : (ip === 'last' ? tm.children.length : Math.min(ip, tm.children.length));\n\t\t\t\t\t\t\t\t\t\tc = 'jstree-inside';\n\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\tcase 'a':\n\t\t\t\t\t\t\t\t\t\tl = off.left - 6;\n\t\t\t\t\t\t\t\t\t\tt = off.top + h;\n\t\t\t\t\t\t\t\t\t\tp = ins.get_parent(ref);\n\t\t\t\t\t\t\t\t\t\ti = ref.parent().index() + 1;\n\t\t\t\t\t\t\t\t\t\tc = 'jstree-above';\n\t\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\tok = true;\n\t\t\t\t\t\t\t\tfor(t1 = 0, t2 = data.data.nodes.length; t1 < t2; t1++) {\n\t\t\t\t\t\t\t\t\top = data.data.origin && (data.data.origin.settings.dnd.always_copy || (data.data.origin.settings.dnd.copy && (data.event.metaKey || data.event.ctrlKey))) ? \"copy_node\" : \"move_node\";\n\t\t\t\t\t\t\t\t\tps = i;\n\t\t\t\t\t\t\t\t\tif(op === \"move_node\" && v === 'a' && (data.data.origin && data.data.origin === ins) && p === ins.get_parent(data.data.nodes[t1])) {\n\t\t\t\t\t\t\t\t\t\tpr = ins.get_node(p);\n\t\t\t\t\t\t\t\t\t\tif(ps > $.inArray(data.data.nodes[t1], pr.children)) {\n\t\t\t\t\t\t\t\t\t\t\tps -= 1;\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\tok = ok && ( (ins && ins.settings && ins.settings.dnd && ins.settings.dnd.check_while_dragging === false) || ins.check(op, (data.data.origin && data.data.origin !== ins ? data.data.origin.get_node(data.data.nodes[t1]) : data.data.nodes[t1]), p, ps, { 'dnd' : true, 'ref' : ins.get_node(ref.parent()), 'pos' : v, 'origin' : data.data.origin, 'is_multi' : (data.data.origin && data.data.origin !== ins), 'is_foreign' : (!data.data.origin) }) );\n\t\t\t\t\t\t\t\t\tif(!ok) {\n\t\t\t\t\t\t\t\t\t\tif(ins && ins.last_error) { laster = ins.last_error(); }\n\t\t\t\t\t\t\t\t\t\tbreak;\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\tif(v === 'i' && ref.parent().is('.jstree-closed') && ins.settings.dnd.open_timeout) {\n\t\t\t\t\t\t\t\t\tif (!data.event || data.event.type !== 'dragover' || isDifferentNode) {\n\t\t\t\t\t\t\t\t\t\tif (opento) { clearTimeout(opento); }\n\t\t\t\t\t\t\t\t\t\topento = setTimeout((function (x, z) { return function () { x.open_node(z); }; }(ins, ref)), ins.settings.dnd.open_timeout);\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\tif(ok) {\n\t\t\t\t\t\t\t\t\tpn = ins.get_node(p, true);\n\t\t\t\t\t\t\t\t\tif (!pn.hasClass('.jstree-dnd-parent')) {\n\t\t\t\t\t\t\t\t\t\t$('.jstree-dnd-parent').removeClass('jstree-dnd-parent');\n\t\t\t\t\t\t\t\t\t\tpn.addClass('jstree-dnd-parent');\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tlastmv = { 'ins' : ins, 'par' : p, 'pos' : v === 'i' && ip === 'last' && i === 0 && !ins.is_loaded(tm) ? 'last' : i };\n\t\t\t\t\t\t\t\t\tmarker.css({ 'left' : l + 'px', 'top' : t + 'px' }).show();\n\t\t\t\t\t\t\t\t\tmarker.removeClass('jstree-above jstree-inside jstree-below').addClass(c);\n\t\t\t\t\t\t\t\t\tdata.helper.find('.jstree-icon').first().removeClass('jstree-er').addClass('jstree-ok');\n\t\t\t\t\t\t\t\t\tif (data.event.originalEvent && data.event.originalEvent.dataTransfer) {\n\t\t\t\t\t\t\t\t\t\tdata.event.originalEvent.dataTransfer.dropEffect = is_copy ? 'copy' : 'move';\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tlaster = {};\n\t\t\t\t\t\t\t\t\to = true;\n\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\tif(o === true) { return; }\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$('.jstree-dnd-parent').removeClass('jstree-dnd-parent');\n\t\t\t\tlastmv = false;\n\t\t\t\tdata.helper.find('.jstree-icon').removeClass('jstree-ok').addClass('jstree-er');\n\t\t\t\tif (data.event.originalEvent && data.event.originalEvent.dataTransfer) {\n\t\t\t\t\t//data.event.originalEvent.dataTransfer.dropEffect = 'none';\n\t\t\t\t}\n\t\t\t\tmarker.hide();\n\t\t\t})\n\t\t\t.on('dnd_scroll.vakata.jstree', function (e, data) {\n\t\t\t\tif(!data || !data.data || !data.data.jstree) { return; }\n\t\t\t\tmarker.hide();\n\t\t\t\tlastmv = false;\n\t\t\t\tlastev = false;\n\t\t\t\tdata.helper.find('.jstree-icon').first().removeClass('jstree-ok').addClass('jstree-er');\n\t\t\t})\n\t\t\t.on('dnd_stop.vakata.jstree', function (e, data) {\n\t\t\t\t$('.jstree-dnd-parent').removeClass('jstree-dnd-parent');\n\t\t\t\tif(opento) { clearTimeout(opento); }\n\t\t\t\tif(!data || !data.data || !data.data.jstree) { return; }\n\t\t\t\tmarker.hide().detach();\n\t\t\t\tvar i, j, nodes = [];\n\t\t\t\tif(lastmv) {\n\t\t\t\t\tfor(i = 0, j = data.data.nodes.length; i < j; i++) {\n\t\t\t\t\t\tnodes[i] = data.data.origin ? data.data.origin.get_node(data.data.nodes[i]) : data.data.nodes[i];\n\t\t\t\t\t}\n\t\t\t\t\tlastmv.ins[ data.data.origin && (data.data.origin.settings.dnd.always_copy || (data.data.origin.settings.dnd.copy && (data.event.metaKey || data.event.ctrlKey))) ? 'copy_node' : 'move_node' ](nodes, lastmv.par, lastmv.pos, false, false, false, data.data.origin);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\ti = $(data.event.target).closest('.jstree');\n\t\t\t\t\tif(i.length && laster && laster.error && laster.error === 'check') {\n\t\t\t\t\t\ti = i.jstree(true);\n\t\t\t\t\t\tif(i) {\n\t\t\t\t\t\t\ti.settings.core.error.call(this, laster);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tlastev = false;\n\t\t\t\tlastmv = false;\n\t\t\t})\n\t\t\t.on('keyup.jstree keydown.jstree', function (e, data) {\n\t\t\t\tdata = $.vakata.dnd._get();\n\t\t\t\tif(data && data.data && data.data.jstree) {\n\t\t\t\t\tif (e.type === \"keyup\" && e.which === 27) {\n\t\t\t\t\t\tif (opento) { clearTimeout(opento); }\n\t\t\t\t\t\tlastmv = false;\n\t\t\t\t\t\tlaster = false;\n\t\t\t\t\t\tlastev = false;\n\t\t\t\t\t\topento = false;\n\t\t\t\t\t\tmarker.hide().detach();\n\t\t\t\t\t\t$.vakata.dnd._clean();\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdata.helper.find('.jstree-copy').first()[ data.data.origin && (data.data.origin.settings.dnd.always_copy || (data.data.origin.settings.dnd.copy && (e.metaKey || e.ctrlKey))) ? 'show' : 'hide' ]();\n\t\t\t\t\t\tif(lastev) {\n\t\t\t\t\t\t\tlastev.metaKey = e.metaKey;\n\t\t\t\t\t\t\tlastev.ctrlKey = e.ctrlKey;\n\t\t\t\t\t\t\t$.vakata.dnd._trigger('move', lastev);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t});\n\n\t// helpers\n\t(function ($) {\n\t\t$.vakata.html = {\n\t\t\tdiv : $('<div></div>'),\n\t\t\tescape : function (str) {\n\t\t\t\treturn $.vakata.html.div.text(str).html();\n\t\t\t},\n\t\t\tstrip : function (str) {\n\t\t\t\treturn $.vakata.html.div.empty().append($.parseHTML(str)).text();\n\t\t\t}\n\t\t};\n\t\t// private variable\n\t\tvar vakata_dnd = {\n\t\t\telement\t: false,\n\t\t\ttarget\t: false,\n\t\t\tis_down\t: false,\n\t\t\tis_drag\t: false,\n\t\t\thelper\t: false,\n\t\t\thelper_w: 0,\n\t\t\tdata\t: false,\n\t\t\tinit_x\t: 0,\n\t\t\tinit_y\t: 0,\n\t\t\tscroll_l: 0,\n\t\t\tscroll_t: 0,\n\t\t\tscroll_e: false,\n\t\t\tscroll_i: false,\n\t\t\tis_touch: false\n\t\t};\n\t\t$.vakata.dnd = {\n\t\t\tsettings : {\n\t\t\t\tscroll_speed\t\t: 10,\n\t\t\t\tscroll_proximity\t: 20,\n\t\t\t\thelper_left\t\t\t: 5,\n\t\t\t\thelper_top\t\t\t: 10,\n\t\t\t\tthreshold\t\t\t: 5,\n\t\t\t\tthreshold_touch\t\t: 10\n\t\t\t},\n\t\t\t_trigger : function (event_name, e, data) {\n\t\t\t\tif (data === undefined) {\n\t\t\t\t\tdata = $.vakata.dnd._get();\n\t\t\t\t}\n\t\t\t\tdata.event = e;\n\t\t\t\t$(document).triggerHandler(\"dnd_\" + event_name + \".vakata\", data);\n\t\t\t},\n\t\t\t_get : function () {\n\t\t\t\treturn {\n\t\t\t\t\t\"data\"\t\t: vakata_dnd.data,\n\t\t\t\t\t\"element\"\t: vakata_dnd.element,\n\t\t\t\t\t\"helper\"\t: vakata_dnd.helper\n\t\t\t\t};\n\t\t\t},\n\t\t\t_clean : function () {\n\t\t\t\tif(vakata_dnd.helper) { vakata_dnd.helper.remove(); }\n\t\t\t\tif(vakata_dnd.scroll_i) { clearInterval(vakata_dnd.scroll_i); vakata_dnd.scroll_i = false; }\n\t\t\t\tvakata_dnd = {\n\t\t\t\t\telement\t: false,\n\t\t\t\t\ttarget\t: false,\n\t\t\t\t\tis_down\t: false,\n\t\t\t\t\tis_drag\t: false,\n\t\t\t\t\thelper\t: false,\n\t\t\t\t\thelper_w: 0,\n\t\t\t\t\tdata\t: false,\n\t\t\t\t\tinit_x\t: 0,\n\t\t\t\t\tinit_y\t: 0,\n\t\t\t\t\tscroll_l: 0,\n\t\t\t\t\tscroll_t: 0,\n\t\t\t\t\tscroll_e: false,\n\t\t\t\t\tscroll_i: false,\n\t\t\t\t\tis_touch: false\n\t\t\t\t};\n\t\t\t\telm = null;\n\t\t\t\t$(document).off(\"mousemove.vakata.jstree touchmove.vakata.jstree\", $.vakata.dnd.drag);\n\t\t\t\t$(document).off(\"mouseup.vakata.jstree touchend.vakata.jstree\", $.vakata.dnd.stop);\n\t\t\t},\n\t\t\t_scroll : function (init_only) {\n\t\t\t\tif(!vakata_dnd.scroll_e || (!vakata_dnd.scroll_l && !vakata_dnd.scroll_t)) {\n\t\t\t\t\tif(vakata_dnd.scroll_i) { clearInterval(vakata_dnd.scroll_i); vakata_dnd.scroll_i = false; }\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif(!vakata_dnd.scroll_i) {\n\t\t\t\t\tvakata_dnd.scroll_i = setInterval($.vakata.dnd._scroll, 100);\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t\tif(init_only === true) { return false; }\n\n\t\t\t\tvar i = vakata_dnd.scroll_e.scrollTop(),\n\t\t\t\t\tj = vakata_dnd.scroll_e.scrollLeft();\n\t\t\t\tvakata_dnd.scroll_e.scrollTop(i + vakata_dnd.scroll_t * $.vakata.dnd.settings.scroll_speed);\n\t\t\t\tvakata_dnd.scroll_e.scrollLeft(j + vakata_dnd.scroll_l * $.vakata.dnd.settings.scroll_speed);\n\t\t\t\tif(i !== vakata_dnd.scroll_e.scrollTop() || j !== vakata_dnd.scroll_e.scrollLeft()) {\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered on the document when a drag causes an element to scroll\n\t\t\t\t\t * @event\n\t\t\t\t\t * @plugin dnd\n\t\t\t\t\t * @name dnd_scroll.vakata\n\t\t\t\t\t * @param {Mixed} data any data supplied with the call to $.vakata.dnd.start\n\t\t\t\t\t * @param {DOM} element the DOM element being dragged\n\t\t\t\t\t * @param {jQuery} helper the helper shown next to the mouse\n\t\t\t\t\t * @param {jQuery} event the element that is scrolling\n\t\t\t\t\t */\n\t\t\t\t\t$.vakata.dnd._trigger(\"scroll\", vakata_dnd.scroll_e);\n\t\t\t\t}\n\t\t\t},\n\t\t\tstart : function (e, data, html) {\n\t\t\t\tif(e.type === \"touchstart\" && e.originalEvent && e.originalEvent.changedTouches && e.originalEvent.changedTouches[0]) {\n\t\t\t\t\te.pageX = e.originalEvent.changedTouches[0].pageX;\n\t\t\t\t\te.pageY = e.originalEvent.changedTouches[0].pageY;\n\t\t\t\t\te.target = document.elementFromPoint(e.originalEvent.changedTouches[0].pageX - window.pageXOffset, e.originalEvent.changedTouches[0].pageY - window.pageYOffset);\n\t\t\t\t}\n\t\t\t\tif(vakata_dnd.is_drag) { $.vakata.dnd.stop({}); }\n\t\t\t\ttry {\n\t\t\t\t\te.currentTarget.unselectable = \"on\";\n\t\t\t\t\te.currentTarget.onselectstart = function() { return false; };\n\t\t\t\t\tif(e.currentTarget.style) {\n\t\t\t\t\t\te.currentTarget.style.touchAction = \"none\";\n\t\t\t\t\t\te.currentTarget.style.msTouchAction = \"none\";\n\t\t\t\t\t\te.currentTarget.style.MozUserSelect = \"none\";\n\t\t\t\t\t}\n\t\t\t\t} catch(ignore) { }\n\t\t\t\tvakata_dnd.init_x\t= e.pageX;\n\t\t\t\tvakata_dnd.init_y\t= e.pageY;\n\t\t\t\tvakata_dnd.data\t\t= data;\n\t\t\t\tvakata_dnd.is_down\t= true;\n\t\t\t\tvakata_dnd.element\t= e.currentTarget;\n\t\t\t\tvakata_dnd.target\t= e.target;\n\t\t\t\tvakata_dnd.is_touch\t= e.type === \"touchstart\";\n\t\t\t\tif(html !== false) {\n\t\t\t\t\tvakata_dnd.helper = $(\"<div id='vakata-dnd'></div>\").html(html).css({\n\t\t\t\t\t\t\"display\"\t\t: \"block\",\n\t\t\t\t\t\t\"margin\"\t\t: \"0\",\n\t\t\t\t\t\t\"padding\"\t\t: \"0\",\n\t\t\t\t\t\t\"position\"\t\t: \"absolute\",\n\t\t\t\t\t\t\"top\"\t\t\t: \"-2000px\",\n\t\t\t\t\t\t\"lineHeight\"\t: \"16px\",\n\t\t\t\t\t\t\"zIndex\"\t\t: \"10000\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t$(document).on(\"mousemove.vakata.jstree touchmove.vakata.jstree\", $.vakata.dnd.drag);\n\t\t\t\t$(document).on(\"mouseup.vakata.jstree touchend.vakata.jstree\", $.vakata.dnd.stop);\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tdrag : function (e) {\n\t\t\t\tif(e.type === \"touchmove\" && e.originalEvent && e.originalEvent.changedTouches && e.originalEvent.changedTouches[0]) {\n\t\t\t\t\te.pageX = e.originalEvent.changedTouches[0].pageX;\n\t\t\t\t\te.pageY = e.originalEvent.changedTouches[0].pageY;\n\t\t\t\t\te.target = document.elementFromPoint(e.originalEvent.changedTouches[0].pageX - window.pageXOffset, e.originalEvent.changedTouches[0].pageY - window.pageYOffset);\n\t\t\t\t}\n\t\t\t\tif(!vakata_dnd.is_down) { return; }\n\t\t\t\tif(!vakata_dnd.is_drag) {\n\t\t\t\t\tif(\n\t\t\t\t\t\tMath.abs(e.pageX - vakata_dnd.init_x) > (vakata_dnd.is_touch ? $.vakata.dnd.settings.threshold_touch : $.vakata.dnd.settings.threshold) ||\n\t\t\t\t\t\tMath.abs(e.pageY - vakata_dnd.init_y) > (vakata_dnd.is_touch ? $.vakata.dnd.settings.threshold_touch : $.vakata.dnd.settings.threshold)\n\t\t\t\t\t) {\n\t\t\t\t\t\tif(vakata_dnd.helper) {\n\t\t\t\t\t\t\tvakata_dnd.helper.appendTo(document.body);\n\t\t\t\t\t\t\tvakata_dnd.helper_w = vakata_dnd.helper.outerWidth();\n\t\t\t\t\t\t}\n\t\t\t\t\t\tvakata_dnd.is_drag = true;\n\t\t\t\t\t\t$(vakata_dnd.target).one('click.vakata', false);\n\t\t\t\t\t\t/**\n\t\t\t\t\t\t * triggered on the document when a drag starts\n\t\t\t\t\t\t * @event\n\t\t\t\t\t\t * @plugin dnd\n\t\t\t\t\t\t * @name dnd_start.vakata\n\t\t\t\t\t\t * @param {Mixed} data any data supplied with the call to $.vakata.dnd.start\n\t\t\t\t\t\t * @param {DOM} element the DOM element being dragged\n\t\t\t\t\t\t * @param {jQuery} helper the helper shown next to the mouse\n\t\t\t\t\t\t * @param {Object} event the event that caused the start (probably mousemove)\n\t\t\t\t\t\t */\n\t\t\t\t\t\t$.vakata.dnd._trigger(\"start\", e);\n\t\t\t\t\t}\n\t\t\t\t\telse { return; }\n\t\t\t\t}\n\n\t\t\t\tvar d  = false, w  = false,\n\t\t\t\t\tdh = false, wh = false,\n\t\t\t\t\tdw = false, ww = false,\n\t\t\t\t\tdt = false, dl = false,\n\t\t\t\t\tht = false, hl = false;\n\n\t\t\t\tvakata_dnd.scroll_t = 0;\n\t\t\t\tvakata_dnd.scroll_l = 0;\n\t\t\t\tvakata_dnd.scroll_e = false;\n\t\t\t\t$($(e.target).parentsUntil(\"body\").addBack().get().reverse())\n\t\t\t\t\t.filter(function () {\n\t\t\t\t\t\treturn\tthis.ownerDocument && (/^auto|scroll$/).test($(this).css(\"overflow\")) &&\n\t\t\t\t\t\t\t\t(this.scrollHeight > this.offsetHeight || this.scrollWidth > this.offsetWidth);\n\t\t\t\t\t})\n\t\t\t\t\t.each(function () {\n\t\t\t\t\t\tvar t = $(this), o = t.offset();\n\t\t\t\t\t\tif(this.scrollHeight > this.offsetHeight) {\n\t\t\t\t\t\t\tif(o.top + t.height() - e.pageY < $.vakata.dnd.settings.scroll_proximity)\t{ vakata_dnd.scroll_t = 1; }\n\t\t\t\t\t\t\tif(e.pageY - o.top < $.vakata.dnd.settings.scroll_proximity)\t\t\t\t{ vakata_dnd.scroll_t = -1; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(this.scrollWidth > this.offsetWidth) {\n\t\t\t\t\t\t\tif(o.left + t.width() - e.pageX < $.vakata.dnd.settings.scroll_proximity)\t{ vakata_dnd.scroll_l = 1; }\n\t\t\t\t\t\t\tif(e.pageX - o.left < $.vakata.dnd.settings.scroll_proximity)\t\t\t\t{ vakata_dnd.scroll_l = -1; }\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(vakata_dnd.scroll_t || vakata_dnd.scroll_l) {\n\t\t\t\t\t\t\tvakata_dnd.scroll_e = $(this);\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\n\t\t\t\tif(!vakata_dnd.scroll_e) {\n\t\t\t\t\td  = $(document); w = $(window);\n\t\t\t\t\tdh = d.height(); wh = w.height();\n\t\t\t\t\tdw = d.width(); ww = w.width();\n\t\t\t\t\tdt = d.scrollTop(); dl = d.scrollLeft();\n\t\t\t\t\tif(dh > wh && e.pageY - dt < $.vakata.dnd.settings.scroll_proximity)\t\t{ vakata_dnd.scroll_t = -1;  }\n\t\t\t\t\tif(dh > wh && wh - (e.pageY - dt) < $.vakata.dnd.settings.scroll_proximity)\t{ vakata_dnd.scroll_t = 1; }\n\t\t\t\t\tif(dw > ww && e.pageX - dl < $.vakata.dnd.settings.scroll_proximity)\t\t{ vakata_dnd.scroll_l = -1; }\n\t\t\t\t\tif(dw > ww && ww - (e.pageX - dl) < $.vakata.dnd.settings.scroll_proximity)\t{ vakata_dnd.scroll_l = 1; }\n\t\t\t\t\tif(vakata_dnd.scroll_t || vakata_dnd.scroll_l) {\n\t\t\t\t\t\tvakata_dnd.scroll_e = d;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(vakata_dnd.scroll_e) { $.vakata.dnd._scroll(true); }\n\n\t\t\t\tif(vakata_dnd.helper) {\n\t\t\t\t\tht = parseInt(e.pageY + $.vakata.dnd.settings.helper_top, 10);\n\t\t\t\t\thl = parseInt(e.pageX + $.vakata.dnd.settings.helper_left, 10);\n\t\t\t\t\tif(dh && ht + 25 > dh) { ht = dh - 50; }\n\t\t\t\t\tif(dw && hl + vakata_dnd.helper_w > dw) { hl = dw - (vakata_dnd.helper_w + 2); }\n\t\t\t\t\tvakata_dnd.helper.css({\n\t\t\t\t\t\tleft\t: hl + \"px\",\n\t\t\t\t\t\ttop\t\t: ht + \"px\"\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t\t/**\n\t\t\t\t * triggered on the document when a drag is in progress\n\t\t\t\t * @event\n\t\t\t\t * @plugin dnd\n\t\t\t\t * @name dnd_move.vakata\n\t\t\t\t * @param {Mixed} data any data supplied with the call to $.vakata.dnd.start\n\t\t\t\t * @param {DOM} element the DOM element being dragged\n\t\t\t\t * @param {jQuery} helper the helper shown next to the mouse\n\t\t\t\t * @param {Object} event the event that caused this to trigger (most likely mousemove)\n\t\t\t\t */\n\t\t\t\t$.vakata.dnd._trigger(\"move\", e);\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\tstop : function (e) {\n\t\t\t\tif(e.type === \"touchend\" && e.originalEvent && e.originalEvent.changedTouches && e.originalEvent.changedTouches[0]) {\n\t\t\t\t\te.pageX = e.originalEvent.changedTouches[0].pageX;\n\t\t\t\t\te.pageY = e.originalEvent.changedTouches[0].pageY;\n\t\t\t\t\te.target = document.elementFromPoint(e.originalEvent.changedTouches[0].pageX - window.pageXOffset, e.originalEvent.changedTouches[0].pageY - window.pageYOffset);\n\t\t\t\t}\n\t\t\t\tif(vakata_dnd.is_drag) {\n\t\t\t\t\t/**\n\t\t\t\t\t * triggered on the document when a drag stops (the dragged element is dropped)\n\t\t\t\t\t * @event\n\t\t\t\t\t * @plugin dnd\n\t\t\t\t\t * @name dnd_stop.vakata\n\t\t\t\t\t * @param {Mixed} data any data supplied with the call to $.vakata.dnd.start\n\t\t\t\t\t * @param {DOM} element the DOM element being dragged\n\t\t\t\t\t * @param {jQuery} helper the helper shown next to the mouse\n\t\t\t\t\t * @param {Object} event the event that caused the stop\n\t\t\t\t\t */\n\t\t\t\t\tif (e.target !== vakata_dnd.target) {\n\t\t\t\t\t\t$(vakata_dnd.target).off('click.vakata');\n\t\t\t\t\t}\n\t\t\t\t\t$.vakata.dnd._trigger(\"stop\", e);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tif(e.type === \"touchend\" && e.target === vakata_dnd.target) {\n\t\t\t\t\t\tvar to = setTimeout(function () { $(e.target).trigger('click'); }, 100);\n\t\t\t\t\t\t$(e.target).one('click', function() { if(to) { clearTimeout(to); } });\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t$.vakata.dnd._clean();\n\t\t\t\treturn false;\n\t\t\t}\n\t\t};\n\t}($));\n\n\t// include the dnd plugin by default\n\t// $.jstree.defaults.plugins.push(\"dnd\");\n\n\n/**\n * ### Massload plugin\n *\n * Adds massload functionality to jsTree, so that multiple nodes can be loaded in a single request (only useful with lazy loading).\n */\n\n\t/**\n\t * massload configuration\n\t *\n\t * It is possible to set this to a standard jQuery-like AJAX config.\n\t * In addition to the standard jQuery ajax options here you can supply functions for `data` and `url`, the functions will be run in the current instance's scope and a param will be passed indicating which node IDs need to be loaded, the return value of those functions will be used.\n\t *\n\t * You can also set this to a function, that function will receive the node IDs being loaded as argument and a second param which is a function (callback) which should be called with the result.\n\t *\n\t * Both the AJAX and the function approach rely on the same return value - an object where the keys are the node IDs, and the value is the children of that node as an array.\n\t *\n\t *\t{\n\t *\t\t\"id1\" : [{ \"text\" : \"Child of ID1\", \"id\" : \"c1\" }, { \"text\" : \"Another child of ID1\", \"id\" : \"c2\" }],\n\t *\t\t\"id2\" : [{ \"text\" : \"Child of ID2\", \"id\" : \"c3\" }]\n\t *\t}\n\t * \n\t * @name $.jstree.defaults.massload\n\t * @plugin massload\n\t */\n\t$.jstree.defaults.massload = null;\n\t$.jstree.plugins.massload = function (options, parent) {\n\t\tthis.init = function (el, options) {\n\t\t\tthis._data.massload = {};\n\t\t\tparent.init.call(this, el, options);\n\t\t};\n\t\tthis._load_nodes = function (nodes, callback, is_callback, force_reload) {\n\t\t\tvar s = this.settings.massload,\t\t\t\t\n\t\t\t\ttoLoad = [],\n\t\t\t\tm = this._model.data,\n\t\t\t\ti, j, dom;\n\t\t\tif (!is_callback) {\n\t\t\t\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\t\tif(!m[nodes[i]] || ( (!m[nodes[i]].state.loaded && !m[nodes[i]].state.failed) || force_reload) ) {\n\t\t\t\t\t\ttoLoad.push(nodes[i]);\n\t\t\t\t\t\tdom = this.get_node(nodes[i], true);\n\t\t\t\t\t\tif (dom && dom.length) {\n\t\t\t\t\t\t\tdom.addClass(\"jstree-loading\").attr('aria-busy',true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthis._data.massload = {};\n\t\t\t\tif (toLoad.length) {\n\t\t\t\t\tif($.vakata.is_function(s)) {\n\t\t\t\t\t\treturn s.call(this, toLoad, function (data) {\n\t\t\t\t\t\t\tvar i, j;\n\t\t\t\t\t\t\tif(data) {\n\t\t\t\t\t\t\t\tfor(i in data) {\n\t\t\t\t\t\t\t\t\tif(data.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\tthis._data.massload[i] = data[i];\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\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\t\t\t\t\tdom = this.get_node(nodes[i], true);\n\t\t\t\t\t\t\t\tif (dom && dom.length) {\n\t\t\t\t\t\t\t\t\tdom.removeClass(\"jstree-loading\").attr('aria-busy',false);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tparent._load_nodes.call(this, nodes, callback, is_callback, force_reload);\n\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t}\n\t\t\t\t\tif(typeof s === 'object' && s && s.url) {\n\t\t\t\t\t\ts = $.extend(true, {}, s);\n\t\t\t\t\t\tif($.vakata.is_function(s.url)) {\n\t\t\t\t\t\t\ts.url = s.url.call(this, toLoad);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif($.vakata.is_function(s.data)) {\n\t\t\t\t\t\t\ts.data = s.data.call(this, toLoad);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn $.ajax(s)\n\t\t\t\t\t\t\t.done(function (data,t,x) {\n\t\t\t\t\t\t\t\t\tvar i, j;\n\t\t\t\t\t\t\t\t\tif(data) {\n\t\t\t\t\t\t\t\t\t\tfor(i in data) {\n\t\t\t\t\t\t\t\t\t\t\tif(data.hasOwnProperty(i)) {\n\t\t\t\t\t\t\t\t\t\t\t\tthis._data.massload[i] = data[i];\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\t\t\t\t\t\t\t\t\tfor(i = 0, j = nodes.length; i < j; i++) {\n\t\t\t\t\t\t\t\t\t\tdom = this.get_node(nodes[i], true);\n\t\t\t\t\t\t\t\t\t\tif (dom && dom.length) {\n\t\t\t\t\t\t\t\t\t\t\tdom.removeClass(\"jstree-loading\").attr('aria-busy',false);\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\tparent._load_nodes.call(this, nodes, callback, is_callback, force_reload);\n\t\t\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t\t\t.fail(function (f) {\n\t\t\t\t\t\t\t\t\tparent._load_nodes.call(this, nodes, callback, is_callback, force_reload);\n\t\t\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn parent._load_nodes.call(this, nodes, callback, is_callback, force_reload);\n\t\t};\n\t\tthis._load_node = function (obj, callback) {\n\t\t\tvar data = this._data.massload[obj.id],\n\t\t\t\trslt = null, dom;\n\t\t\tif(data) {\n\t\t\t\trslt = this[typeof data === 'string' ? '_append_html_data' : '_append_json_data'](\n\t\t\t\t\tobj,\n\t\t\t\t\ttypeof data === 'string' ? $($.parseHTML(data)).filter(function () { return this.nodeType !== 3; }) : data,\n\t\t\t\t\tfunction (status) { callback.call(this, status); }\n\t\t\t\t);\n\t\t\t\tdom = this.get_node(obj.id, true);\n\t\t\t\tif (dom && dom.length) {\n\t\t\t\t\tdom.removeClass(\"jstree-loading\").attr('aria-busy',false);\n\t\t\t\t}\n\t\t\t\tdelete this._data.massload[obj.id];\n\t\t\t\treturn rslt;\n\t\t\t}\n\t\t\treturn parent._load_node.call(this, obj, callback);\n\t\t};\n\t};\n\n\n/**\n * ### Search plugin\n *\n * Adds search functionality to jsTree.\n */\n\n\t/**\n\t * stores all defaults for the search plugin\n\t * @name $.jstree.defaults.search\n\t * @plugin search\n\t */\n\t$.jstree.defaults.search = {\n\t\t/**\n\t\t * a jQuery-like AJAX config, which jstree uses if a server should be queried for results.\n\t\t *\n\t\t * A `str` (which is the search string) parameter will be added with the request, an optional `inside` parameter will be added if the search is limited to a node id. The expected result is a JSON array with nodes that need to be opened so that matching nodes will be revealed.\n\t\t * Leave this setting as `false` to not query the server. You can also set this to a function, which will be invoked in the instance's scope and receive 3 parameters - the search string, the callback to call with the array of nodes to load, and the optional node ID to limit the search to\n\t\t * @name $.jstree.defaults.search.ajax\n\t\t * @plugin search\n\t\t */\n\t\tajax : false,\n\t\t/**\n\t\t * Indicates if the search should be fuzzy or not (should `chnd3` match `child node 3`). Default is `false`.\n\t\t * @name $.jstree.defaults.search.fuzzy\n\t\t * @plugin search\n\t\t */\n\t\tfuzzy : false,\n\t\t/**\n\t\t * Indicates if the search should be case sensitive. Default is `false`.\n\t\t * @name $.jstree.defaults.search.case_sensitive\n\t\t * @plugin search\n\t\t */\n\t\tcase_sensitive : false,\n\t\t/**\n\t\t * Indicates if the tree should be filtered (by default) to show only matching nodes (keep in mind this can be a heavy on large trees in old browsers).\n\t\t * This setting can be changed at runtime when calling the search method. Default is `false`.\n\t\t * @name $.jstree.defaults.search.show_only_matches\n\t\t * @plugin search\n\t\t */\n\t\tshow_only_matches : false,\n\t\t/**\n\t\t * Indicates if the children of matched element are shown (when show_only_matches is true)\n\t\t * This setting can be changed at runtime when calling the search method. Default is `false`.\n\t\t * @name $.jstree.defaults.search.show_only_matches_children\n\t\t * @plugin search\n\t\t */\n\t\tshow_only_matches_children : false,\n\t\t/**\n\t\t * Indicates if all nodes opened to reveal the search result, should be closed when the search is cleared or a new search is performed. Default is `true`.\n\t\t * @name $.jstree.defaults.search.close_opened_onclear\n\t\t * @plugin search\n\t\t */\n\t\tclose_opened_onclear : true,\n\t\t/**\n\t\t * Indicates if only leaf nodes should be included in search results. Default is `false`.\n\t\t * @name $.jstree.defaults.search.search_leaves_only\n\t\t * @plugin search\n\t\t */\n\t\tsearch_leaves_only : false,\n\t\t/**\n\t\t * If set to a function it wil be called in the instance's scope with two arguments - search string and node (where node will be every node in the structure, so use with caution).\n\t\t * If the function returns a truthy value the node will be considered a match (it might not be displayed if search_only_leaves is set to true and the node is not a leaf). Default is `false`.\n\t\t * @name $.jstree.defaults.search.search_callback\n\t\t * @plugin search\n\t\t */\n\t\tsearch_callback : false\n\t};\n\n\t$.jstree.plugins.search = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\n\t\t\tthis._data.search.str = \"\";\n\t\t\tthis._data.search.dom = $();\n\t\t\tthis._data.search.res = [];\n\t\t\tthis._data.search.opn = [];\n\t\t\tthis._data.search.som = false;\n\t\t\tthis._data.search.smc = false;\n\t\t\tthis._data.search.hdn = [];\n\n\t\t\tthis.element\n\t\t\t\t.on(\"search.jstree\", function (e, data) {\n\t\t\t\t\t\tif(this._data.search.som && data.res.length) {\n\t\t\t\t\t\t\tvar m = this._model.data, i, j, p = [], k, l;\n\t\t\t\t\t\t\tfor(i = 0, j = data.res.length; i < j; i++) {\n\t\t\t\t\t\t\t\tif(m[data.res[i]] && !m[data.res[i]].state.hidden) {\n\t\t\t\t\t\t\t\t\tp.push(data.res[i]);\n\t\t\t\t\t\t\t\t\tp = p.concat(m[data.res[i]].parents);\n\t\t\t\t\t\t\t\t\tif(this._data.search.smc) {\n\t\t\t\t\t\t\t\t\t\tfor (k = 0, l = m[data.res[i]].children_d.length; k < l; k++) {\n\t\t\t\t\t\t\t\t\t\t\tif (m[m[data.res[i]].children_d[k]] && !m[m[data.res[i]].children_d[k]].state.hidden) {\n\t\t\t\t\t\t\t\t\t\t\t\tp.push(m[data.res[i]].children_d[k]);\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\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tp = $.vakata.array_remove_item($.vakata.array_unique(p), $.jstree.root);\n\t\t\t\t\t\t\tthis._data.search.hdn = this.hide_all(true);\n\t\t\t\t\t\t\tthis.show_node(p, true);\n\t\t\t\t\t\t\tthis.redraw(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"clear_search.jstree\", function (e, data) {\n\t\t\t\t\t\tif(this._data.search.som && data.res.length) {\n\t\t\t\t\t\t\tthis.show_node(this._data.search.hdn, true);\n\t\t\t\t\t\t\tthis.redraw(true);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this));\n\t\t};\n\t\t/**\n\t\t * used to search the tree nodes for a given string\n\t\t * @name search(str [, skip_async])\n\t\t * @param {String} str the search string\n\t\t * @param {Boolean} skip_async if set to true server will not be queried even if configured\n\t\t * @param {Boolean} show_only_matches if set to true only matching nodes will be shown (keep in mind this can be very slow on large trees or old browsers)\n\t\t * @param {mixed} inside an optional node to whose children to limit the search\n\t\t * @param {Boolean} append if set to true the results of this search are appended to the previous search\n\t\t * @plugin search\n\t\t * @trigger search.jstree\n\t\t */\n\t\tthis.search = function (str, skip_async, show_only_matches, inside, append, show_only_matches_children) {\n\t\t\tif(str === false || $.vakata.trim(str.toString()) === \"\") {\n\t\t\t\treturn this.clear_search();\n\t\t\t}\n\t\t\tinside = this.get_node(inside);\n\t\t\tinside = inside && (inside.id || inside.id === 0) ? inside.id : null;\n\t\t\tstr = str.toString();\n\t\t\tvar s = this.settings.search,\n\t\t\t\ta = s.ajax ? s.ajax : false,\n\t\t\t\tm = this._model.data,\n\t\t\t\tf = null,\n\t\t\t\tr = [],\n\t\t\t\tp = [], i, j;\n\t\t\tif(this._data.search.res.length && !append) {\n\t\t\t\tthis.clear_search();\n\t\t\t}\n\t\t\tif(show_only_matches === undefined) {\n\t\t\t\tshow_only_matches = s.show_only_matches;\n\t\t\t}\n\t\t\tif(show_only_matches_children === undefined) {\n\t\t\t\tshow_only_matches_children = s.show_only_matches_children;\n\t\t\t}\n\t\t\tif(!skip_async && a !== false) {\n\t\t\t\tif($.vakata.is_function(a)) {\n\t\t\t\t\treturn a.call(this, str, function (d) {\n\t\t\t\t\t\t\tif(d && d.d) { d = d.d; }\n\t\t\t\t\t\t\tthis._load_nodes(!$.vakata.is_array(d) ? [] : $.vakata.array_unique(d), function () {\n\t\t\t\t\t\t\t\tthis.search(str, true, show_only_matches, inside, append, show_only_matches_children);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}.bind(this), inside);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\ta = $.extend({}, a);\n\t\t\t\t\tif(!a.data) { a.data = {}; }\n\t\t\t\t\ta.data.str = str;\n\t\t\t\t\tif(inside) {\n\t\t\t\t\t\ta.data.inside = inside;\n\t\t\t\t\t}\n\t\t\t\t\tif (this._data.search.lastRequest) {\n\t\t\t\t\t\tthis._data.search.lastRequest.abort();\n\t\t\t\t\t}\n\t\t\t\t\tthis._data.search.lastRequest = $.ajax(a)\n\t\t\t\t\t\t.fail(function () {\n\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'ajax', 'plugin' : 'search', 'id' : 'search_01', 'reason' : 'Could not load search parents', 'data' : JSON.stringify(a) };\n\t\t\t\t\t\t\tthis.settings.core.error.call(this, this._data.core.last_error);\n\t\t\t\t\t\t}.bind(this))\n\t\t\t\t\t\t.done(function (d) {\n\t\t\t\t\t\t\tif(d && d.d) { d = d.d; }\n\t\t\t\t\t\t\tthis._load_nodes(!$.vakata.is_array(d) ? [] : $.vakata.array_unique(d), function () {\n\t\t\t\t\t\t\t\tthis.search(str, true, show_only_matches, inside, append, show_only_matches_children);\n\t\t\t\t\t\t\t});\n\t\t\t\t\t\t}.bind(this));\n\t\t\t\t\treturn this._data.search.lastRequest;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(!append) {\n\t\t\t\tthis._data.search.str = str;\n\t\t\t\tthis._data.search.dom = $();\n\t\t\t\tthis._data.search.res = [];\n\t\t\t\tthis._data.search.opn = [];\n\t\t\t\tthis._data.search.som = show_only_matches;\n\t\t\t\tthis._data.search.smc = show_only_matches_children;\n\t\t\t}\n\n\t\t\tf = new $.vakata.search(str, true, { caseSensitive : s.case_sensitive, fuzzy : s.fuzzy });\n\t\t\t$.each(m[inside ? inside : $.jstree.root].children_d, function (ii, i) {\n\t\t\t\tvar v = m[i];\n\t\t\t\tif(v.text && !v.state.hidden && (!s.search_leaves_only || (v.state.loaded && v.children.length === 0)) && ( (s.search_callback && s.search_callback.call(this, str, v)) || (!s.search_callback && f.search(v.text).isMatch) ) ) {\n\t\t\t\t\tr.push(i);\n\t\t\t\t\tp = p.concat(v.parents);\n\t\t\t\t}\n\t\t\t});\n\t\t\tif(r.length) {\n\t\t\t\tp = $.vakata.array_unique(p);\n\t\t\t\tfor(i = 0, j = p.length; i < j; i++) {\n\t\t\t\t\tif(p[i] !== $.jstree.root && m[p[i]] && this.open_node(p[i], null, 0) === true) {\n\t\t\t\t\t\tthis._data.search.opn.push(p[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(!append) {\n\t\t\t\t\tthis._data.search.dom = $(this.element[0].querySelectorAll('#' + $.map(r, function (v) { return \"0123456789\".indexOf(v[0]) !== -1 ? '\\\\3' + v[0] + ' ' + v.substr(1).replace($.jstree.idregex,'\\\\$&') : v.replace($.jstree.idregex,'\\\\$&'); }).join(', #')));\n\t\t\t\t\tthis._data.search.res = r;\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tthis._data.search.dom = this._data.search.dom.add($(this.element[0].querySelectorAll('#' + $.map(r, function (v) { return \"0123456789\".indexOf(v[0]) !== -1 ? '\\\\3' + v[0] + ' ' + v.substr(1).replace($.jstree.idregex,'\\\\$&') : v.replace($.jstree.idregex,'\\\\$&'); }).join(', #'))));\n\t\t\t\t\tthis._data.search.res = $.vakata.array_unique(this._data.search.res.concat(r));\n\t\t\t\t}\n\t\t\t\tthis._data.search.dom.children(\".jstree-anchor\").addClass('jstree-search');\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered after search is complete\n\t\t\t * @event\n\t\t\t * @name search.jstree\n\t\t\t * @param {jQuery} nodes a jQuery collection of matching nodes\n\t\t\t * @param {String} str the search string\n\t\t\t * @param {Array} res a collection of objects represeing the matching nodes\n\t\t\t * @plugin search\n\t\t\t */\n\t\t\tthis.trigger('search', { nodes : this._data.search.dom, str : str, res : this._data.search.res, show_only_matches : show_only_matches });\n\t\t};\n\t\t/**\n\t\t * used to clear the last search (removes classes and shows all nodes if filtering is on)\n\t\t * @name clear_search()\n\t\t * @plugin search\n\t\t * @trigger clear_search.jstree\n\t\t */\n\t\tthis.clear_search = function () {\n\t\t\tif(this.settings.search.close_opened_onclear) {\n\t\t\t\tthis.close_node(this._data.search.opn, 0);\n\t\t\t}\n\t\t\t/**\n\t\t\t * triggered after search is complete\n\t\t\t * @event\n\t\t\t * @name clear_search.jstree\n\t\t\t * @param {jQuery} nodes a jQuery collection of matching nodes (the result from the last search)\n\t\t\t * @param {String} str the search string (the last search string)\n\t\t\t * @param {Array} res a collection of objects represeing the matching nodes (the result from the last search)\n\t\t\t * @plugin search\n\t\t\t */\n\t\t\tthis.trigger('clear_search', { 'nodes' : this._data.search.dom, str : this._data.search.str, res : this._data.search.res });\n\t\t\tif(this._data.search.res.length) {\n\t\t\t\tthis._data.search.dom = $(this.element[0].querySelectorAll('#' + $.map(this._data.search.res, function (v) {\n\t\t\t\t\treturn \"0123456789\".indexOf(v[0]) !== -1 ? '\\\\3' + v[0] + ' ' + v.substr(1).replace($.jstree.idregex,'\\\\$&') : v.replace($.jstree.idregex,'\\\\$&');\n\t\t\t\t}).join(', #')));\n\t\t\t\tthis._data.search.dom.children(\".jstree-anchor\").removeClass(\"jstree-search\");\n\t\t\t}\n\t\t\tthis._data.search.str = \"\";\n\t\t\tthis._data.search.res = [];\n\t\t\tthis._data.search.opn = [];\n\t\t\tthis._data.search.dom = $();\n\t\t};\n\n\t\tthis.redraw_node = function(obj, deep, callback, force_render) {\n\t\t\tobj = parent.redraw_node.apply(this, arguments);\n\t\t\tif(obj) {\n\t\t\t\tif($.inArray(obj.id, this._data.search.res) !== -1) {\n\t\t\t\t\tvar i, j, tmp = null;\n\t\t\t\t\tfor(i = 0, j = obj.childNodes.length; i < j; i++) {\n\t\t\t\t\t\tif(obj.childNodes[i] && obj.childNodes[i].className && obj.childNodes[i].className.indexOf(\"jstree-anchor\") !== -1) {\n\t\t\t\t\t\t\ttmp = obj.childNodes[i];\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(tmp) {\n\t\t\t\t\t\ttmp.className += ' jstree-search';\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn obj;\n\t\t};\n\t};\n\n\t// helpers\n\t(function ($) {\n\t\t// from http://kiro.me/projects/fuse.html\n\t\t$.vakata.search = function(pattern, txt, options) {\n\t\t\toptions = options || {};\n\t\t\toptions = $.extend({}, $.vakata.search.defaults, options);\n\t\t\tif(options.fuzzy !== false) {\n\t\t\t\toptions.fuzzy = true;\n\t\t\t}\n\t\t\tpattern = options.caseSensitive ? pattern : pattern.toLowerCase();\n\t\t\tvar MATCH_LOCATION\t= options.location,\n\t\t\t\tMATCH_DISTANCE\t= options.distance,\n\t\t\t\tMATCH_THRESHOLD\t= options.threshold,\n\t\t\t\tpatternLen = pattern.length,\n\t\t\t\tmatchmask, pattern_alphabet, match_bitapScore, search;\n\t\t\tif(patternLen > 32) {\n\t\t\t\toptions.fuzzy = false;\n\t\t\t}\n\t\t\tif(options.fuzzy) {\n\t\t\t\tmatchmask = 1 << (patternLen - 1);\n\t\t\t\tpattern_alphabet = (function () {\n\t\t\t\t\tvar mask = {},\n\t\t\t\t\t\ti = 0;\n\t\t\t\t\tfor (i = 0; i < patternLen; i++) {\n\t\t\t\t\t\tmask[pattern.charAt(i)] = 0;\n\t\t\t\t\t}\n\t\t\t\t\tfor (i = 0; i < patternLen; i++) {\n\t\t\t\t\t\tmask[pattern.charAt(i)] |= 1 << (patternLen - i - 1);\n\t\t\t\t\t}\n\t\t\t\t\treturn mask;\n\t\t\t\t}());\n\t\t\t\tmatch_bitapScore = function (e, x) {\n\t\t\t\t\tvar accuracy = e / patternLen,\n\t\t\t\t\t\tproximity = Math.abs(MATCH_LOCATION - x);\n\t\t\t\t\tif(!MATCH_DISTANCE) {\n\t\t\t\t\t\treturn proximity ? 1.0 : accuracy;\n\t\t\t\t\t}\n\t\t\t\t\treturn accuracy + (proximity / MATCH_DISTANCE);\n\t\t\t\t};\n\t\t\t}\n\t\t\tsearch = function (text) {\n\t\t\t\ttext = options.caseSensitive ? text.toString() : text.toString().toLowerCase();\n\t\t\t\tif(pattern === text || text.indexOf(pattern) !== -1) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tisMatch: true,\n\t\t\t\t\t\tscore: 0\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tif(!options.fuzzy) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tisMatch: false,\n\t\t\t\t\t\tscore: 1\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\tvar i, j,\n\t\t\t\t\ttextLen = text.length,\n\t\t\t\t\tscoreThreshold = MATCH_THRESHOLD,\n\t\t\t\t\tbestLoc = text.indexOf(pattern, MATCH_LOCATION),\n\t\t\t\t\tbinMin, binMid,\n\t\t\t\t\tbinMax = patternLen + textLen,\n\t\t\t\t\tlastRd, start, finish, rd, charMatch,\n\t\t\t\t\tscore = 1,\n\t\t\t\t\tlocations = [];\n\t\t\t\tif (bestLoc !== -1) {\n\t\t\t\t\tscoreThreshold = Math.min(match_bitapScore(0, bestLoc), scoreThreshold);\n\t\t\t\t\tbestLoc = text.lastIndexOf(pattern, MATCH_LOCATION + patternLen);\n\t\t\t\t\tif (bestLoc !== -1) {\n\t\t\t\t\t\tscoreThreshold = Math.min(match_bitapScore(0, bestLoc), scoreThreshold);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbestLoc = -1;\n\t\t\t\tfor (i = 0; i < patternLen; i++) {\n\t\t\t\t\tbinMin = 0;\n\t\t\t\t\tbinMid = binMax;\n\t\t\t\t\twhile (binMin < binMid) {\n\t\t\t\t\t\tif (match_bitapScore(i, MATCH_LOCATION + binMid) <= scoreThreshold) {\n\t\t\t\t\t\t\tbinMin = binMid;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tbinMax = binMid;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbinMid = Math.floor((binMax - binMin) / 2 + binMin);\n\t\t\t\t\t}\n\t\t\t\t\tbinMax = binMid;\n\t\t\t\t\tstart = Math.max(1, MATCH_LOCATION - binMid + 1);\n\t\t\t\t\tfinish = Math.min(MATCH_LOCATION + binMid, textLen) + patternLen;\n\t\t\t\t\trd = new Array(finish + 2);\n\t\t\t\t\trd[finish + 1] = (1 << i) - 1;\n\t\t\t\t\tfor (j = finish; j >= start; j--) {\n\t\t\t\t\t\tcharMatch = pattern_alphabet[text.charAt(j - 1)];\n\t\t\t\t\t\tif (i === 0) {\n\t\t\t\t\t\t\trd[j] = ((rd[j + 1] << 1) | 1) & charMatch;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\trd[j] = ((rd[j + 1] << 1) | 1) & charMatch | (((lastRd[j + 1] | lastRd[j]) << 1) | 1) | lastRd[j + 1];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif (rd[j] & matchmask) {\n\t\t\t\t\t\t\tscore = match_bitapScore(i, j - 1);\n\t\t\t\t\t\t\tif (score <= scoreThreshold) {\n\t\t\t\t\t\t\t\tscoreThreshold = score;\n\t\t\t\t\t\t\t\tbestLoc = j - 1;\n\t\t\t\t\t\t\t\tlocations.push(bestLoc);\n\t\t\t\t\t\t\t\tif (bestLoc > MATCH_LOCATION) {\n\t\t\t\t\t\t\t\t\tstart = Math.max(1, 2 * MATCH_LOCATION - bestLoc);\n\t\t\t\t\t\t\t\t} else {\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\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (match_bitapScore(i + 1, MATCH_LOCATION) > scoreThreshold) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tlastRd = rd;\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tisMatch: bestLoc >= 0,\n\t\t\t\t\tscore: score\n\t\t\t\t};\n\t\t\t};\n\t\t\treturn txt === true ? { 'search' : search } : search(txt);\n\t\t};\n\t\t$.vakata.search.defaults = {\n\t\t\tlocation : 0,\n\t\t\tdistance : 100,\n\t\t\tthreshold : 0.6,\n\t\t\tfuzzy : false,\n\t\t\tcaseSensitive : false\n\t\t};\n\t}($));\n\n\t// include the search plugin by default\n\t// $.jstree.defaults.plugins.push(\"search\");\n\n\n/**\n * ### Sort plugin\n *\n * Automatically sorts all siblings in the tree according to a sorting function.\n */\n\n\t/**\n\t * the settings function used to sort the nodes.\n\t * It is executed in the tree's context, accepts two nodes as arguments and should return `1` or `-1`.\n\t * @name $.jstree.defaults.sort\n\t * @plugin sort\n\t */\n\t$.jstree.defaults.sort = function (a, b) {\n\t\t//return this.get_type(a) === this.get_type(b) ? (this.get_text(a) > this.get_text(b) ? 1 : -1) : this.get_type(a) >= this.get_type(b);\n\t\treturn this.get_text(a) > this.get_text(b) ? 1 : -1;\n\t};\n\t$.jstree.plugins.sort = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\t\t\tthis.element\n\t\t\t\t.on(\"model.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.sort(data.parent, true);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"rename_node.jstree create_node.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.sort(data.parent || data.node.parent, false);\n\t\t\t\t\t\tthis.redraw_node(data.parent || data.node.parent, true);\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"move_node.jstree copy_node.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.sort(data.parent, false);\n\t\t\t\t\t\tthis.redraw_node(data.parent, true);\n\t\t\t\t\t}.bind(this));\n\t\t};\n\t\t/**\n\t\t * used to sort a node's children\n\t\t * @private\n\t\t * @name sort(obj [, deep])\n\t\t * @param  {mixed} obj the node\n\t\t * @param {Boolean} deep if set to `true` nodes are sorted recursively.\n\t\t * @plugin sort\n\t\t * @trigger search.jstree\n\t\t */\n\t\tthis.sort = function (obj, deep) {\n\t\t\tvar i, j;\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(obj && obj.children && obj.children.length) {\n\t\t\t\tobj.children.sort(this.settings.sort.bind(this));\n\t\t\t\tif(deep) {\n\t\t\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\t\t\tthis.sort(obj.children_d[i], false);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t};\n\n\t// include the sort plugin by default\n\t// $.jstree.defaults.plugins.push(\"sort\");\n\n/**\n * ### State plugin\n *\n * Saves the state of the tree (selected nodes, opened nodes) on the user's computer using available options (localStorage, cookies, etc)\n */\n\n\tvar to = false;\n\t/**\n\t * stores all defaults for the state plugin\n\t * @name $.jstree.defaults.state\n\t * @plugin state\n\t */\n\t$.jstree.defaults.state = {\n\t\t/**\n\t\t * A string for the key to use when saving the current tree (change if using multiple trees in your project). Defaults to `jstree`.\n\t\t * @name $.jstree.defaults.state.key\n\t\t * @plugin state\n\t\t */\n\t\tkey\t\t: 'jstree',\n\t\t/**\n\t\t * A space separated list of events that trigger a state save. Defaults to `changed.jstree open_node.jstree close_node.jstree`.\n\t\t * @name $.jstree.defaults.state.events\n\t\t * @plugin state\n\t\t */\n\t\tevents\t: 'changed.jstree open_node.jstree close_node.jstree check_node.jstree uncheck_node.jstree',\n\t\t/**\n\t\t * Time in milliseconds after which the state will expire. Defaults to 'false' meaning - no expire.\n\t\t * @name $.jstree.defaults.state.ttl\n\t\t * @plugin state\n\t\t */\n\t\tttl\t\t: false,\n\t\t/**\n\t\t * A function that will be executed prior to restoring state with one argument - the state object. Can be used to clear unwanted parts of the state.\n\t\t * @name $.jstree.defaults.state.filter\n\t\t * @plugin state\n\t\t */\n\t\tfilter\t: false,\n\t\t/**\n\t\t * Should loaded nodes be restored (setting this to true means that it is possible that the whole tree will be loaded for some users - use with caution). Defaults to `false`\n\t\t * @name $.jstree.defaults.state.preserve_loaded\n\t\t * @plugin state\n\t\t */\n\t\tpreserve_loaded : false\n\t};\n\t$.jstree.plugins.state = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\t\t\tvar bind = function () {\n\t\t\t\tthis.element.on(this.settings.state.events, function () {\n\t\t\t\t\tif(to) { clearTimeout(to); }\n\t\t\t\t\tto = setTimeout(function () { this.save_state(); }.bind(this), 100);\n\t\t\t\t}.bind(this));\n\t\t\t\t/**\n\t\t\t\t * triggered when the state plugin is finished restoring the state (and immediately after ready if there is no state to restore).\n\t\t\t\t * @event\n\t\t\t\t * @name state_ready.jstree\n\t\t\t\t * @plugin state\n\t\t\t\t */\n\t\t\t\tthis.trigger('state_ready');\n\t\t\t}.bind(this);\n\t\t\tthis.element\n\t\t\t\t.on(\"ready.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.element.one(\"restore_state.jstree\", bind);\n\t\t\t\t\t\tif(!this.restore_state()) { bind(); }\n\t\t\t\t\t}.bind(this));\n\t\t};\n\t\t/**\n\t\t * save the state\n\t\t * @name save_state()\n\t\t * @plugin state\n\t\t */\n\t\tthis.save_state = function () {\n\t\t\tvar tm = this.get_state();\n\t\t\tif (!this.settings.state.preserve_loaded) {\n\t\t\t\tdelete tm.core.loaded;\n\t\t\t}\n\t\t\tvar st = { 'state' : tm, 'ttl' : this.settings.state.ttl, 'sec' : +(new Date()) };\n\t\t\t$.vakata.storage.set(this.settings.state.key, JSON.stringify(st));\n\t\t};\n\t\t/**\n\t\t * restore the state from the user's computer\n\t\t * @name restore_state()\n\t\t * @plugin state\n\t\t */\n\t\tthis.restore_state = function () {\n\t\t\tvar k = $.vakata.storage.get(this.settings.state.key);\n\t\t\tif(!!k) { try { k = JSON.parse(k); } catch(ex) { return false; } }\n\t\t\tif(!!k && k.ttl && k.sec && +(new Date()) - k.sec > k.ttl) { return false; }\n\t\t\tif(!!k && k.state) { k = k.state; }\n\t\t\tif(!!k && $.vakata.is_function(this.settings.state.filter)) { k = this.settings.state.filter.call(this, k); }\n\t\t\tif(!!k) {\n\t\t\t\tif (!this.settings.state.preserve_loaded) {\n\t\t\t\t\tdelete k.core.loaded;\n\t\t\t\t}\n\t\t\t\tthis.element.one(\"set_state.jstree\", function (e, data) { data.instance.trigger('restore_state', { 'state' : $.extend(true, {}, k) }); });\n\t\t\t\tthis.set_state(k);\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n\t\t/**\n\t\t * clear the state on the user's computer\n\t\t * @name clear_state()\n\t\t * @plugin state\n\t\t */\n\t\tthis.clear_state = function () {\n\t\t\treturn $.vakata.storage.del(this.settings.state.key);\n\t\t};\n\t};\n\n\t(function ($, undefined) {\n\t\t$.vakata.storage = {\n\t\t\t// simply specifying the functions in FF throws an error\n\t\t\tset : function (key, val) { return window.localStorage.setItem(key, val); },\n\t\t\tget : function (key) { return window.localStorage.getItem(key); },\n\t\t\tdel : function (key) { return window.localStorage.removeItem(key); }\n\t\t};\n\t}($));\n\n\t// include the state plugin by default\n\t// $.jstree.defaults.plugins.push(\"state\");\n\n/**\n * ### Types plugin\n *\n * Makes it possible to add predefined types for groups of nodes, which make it possible to easily control nesting rules and icon for each group.\n */\n\n\t/**\n\t * An object storing all types as key value pairs, where the key is the type name and the value is an object that could contain following keys (all optional).\n\t *\n\t * * `max_children` the maximum number of immediate children this node type can have. Do not specify or set to `-1` for unlimited.\n\t * * `max_depth` the maximum number of nesting this node type can have. A value of `1` would mean that the node can have children, but no grandchildren. Do not specify or set to `-1` for unlimited.\n\t * * `valid_children` an array of node type strings, that nodes of this type can have as children. Do not specify or set to `-1` for no limits.\n\t * * `icon` a string - can be a path to an icon or a className, if using an image that is in the current directory use a `./` prefix, otherwise it will be detected as a class. Omit to use the default icon from your theme.\n\t * * `li_attr` an object of values which will be used to add HTML attributes on the resulting LI DOM node (merged with the node's own data)\n\t * * `a_attr` an object of values which will be used to add HTML attributes on the resulting A DOM node (merged with the node's own data)\n\t *\n\t * There are two predefined types:\n\t *\n\t * * `#` represents the root of the tree, for example `max_children` would control the maximum number of root nodes.\n\t * * `default` represents the default node - any settings here will be applied to all nodes that do not have a type specified.\n\t *\n\t * @name $.jstree.defaults.types\n\t * @plugin types\n\t */\n\t$.jstree.defaults.types = {\n\t\t'default' : {}\n\t};\n\t$.jstree.defaults.types[$.jstree.root] = {};\n\n\t$.jstree.plugins.types = function (options, parent) {\n\t\tthis.init = function (el, options) {\n\t\t\tvar i, j;\n\t\t\tif(options && options.types && options.types['default']) {\n\t\t\t\tfor(i in options.types) {\n\t\t\t\t\tif(i !== \"default\" && i !== $.jstree.root && options.types.hasOwnProperty(i)) {\n\t\t\t\t\t\tfor(j in options.types['default']) {\n\t\t\t\t\t\t\tif(options.types['default'].hasOwnProperty(j) && options.types[i][j] === undefined) {\n\t\t\t\t\t\t\t\toptions.types[i][j] = options.types['default'][j];\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\tparent.init.call(this, el, options);\n\t\t\tthis._model.data[$.jstree.root].type = $.jstree.root;\n\t\t};\n\t\tthis.refresh = function (skip_loading, forget_state) {\n\t\t\tparent.refresh.call(this, skip_loading, forget_state);\n\t\t\tthis._model.data[$.jstree.root].type = $.jstree.root;\n\t\t};\n\t\tthis.bind = function () {\n\t\t\tthis.element\n\t\t\t\t.on('model.jstree', function (e, data) {\n\t\t\t\t\t\tvar m = this._model.data,\n\t\t\t\t\t\t\tdpc = data.nodes,\n\t\t\t\t\t\t\tt = this.settings.types,\n\t\t\t\t\t\t\ti, j, c = 'default', k;\n\t\t\t\t\t\tfor(i = 0, j = dpc.length; i < j; i++) {\n\t\t\t\t\t\t\tc = 'default';\n\t\t\t\t\t\t\tif(m[dpc[i]].original && m[dpc[i]].original.type && t[m[dpc[i]].original.type]) {\n\t\t\t\t\t\t\t\tc = m[dpc[i]].original.type;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(m[dpc[i]].data && m[dpc[i]].data.jstree && m[dpc[i]].data.jstree.type && t[m[dpc[i]].data.jstree.type]) {\n\t\t\t\t\t\t\t\tc = m[dpc[i]].data.jstree.type;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tm[dpc[i]].type = c;\n\t\t\t\t\t\t\tif(m[dpc[i]].icon === true && t[c].icon !== undefined) {\n\t\t\t\t\t\t\t\tm[dpc[i]].icon = t[c].icon;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tif(t[c].li_attr !== undefined && typeof t[c].li_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (k in t[c].li_attr) {\n\t\t\t\t\t\t\t\t\tif (t[c].li_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse if (m[dpc[i]].li_attr[k] === undefined) {\n\t\t\t\t\t\t\t\t\t\t\tm[dpc[i]].li_attr[k] = t[c].li_attr[k];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse if (k === 'class') {\n\t\t\t\t\t\t\t\t\t\t\tm[dpc[i]].li_attr['class'] = t[c].li_attr['class'] + ' ' + m[dpc[i]].li_attr['class'];\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\tif(t[c].a_attr !== undefined && typeof t[c].a_attr === 'object') {\n\t\t\t\t\t\t\t\tfor (k in t[c].a_attr) {\n\t\t\t\t\t\t\t\t\tif (t[c].a_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse if (m[dpc[i]].a_attr[k] === undefined) {\n\t\t\t\t\t\t\t\t\t\t\tm[dpc[i]].a_attr[k] = t[c].a_attr[k];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse if (k === 'href' && m[dpc[i]].a_attr[k] === '#') {\n\t\t\t\t\t\t\t\t\t\t\tm[dpc[i]].a_attr['href'] = t[c].a_attr['href'];\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\telse if (k === 'class') {\n\t\t\t\t\t\t\t\t\t\t\tm[dpc[i]].a_attr['class'] = t[c].a_attr['class'] + ' ' + m[dpc[i]].a_attr['class'];\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\t\t\t\t\t\tm[$.jstree.root].type = $.jstree.root;\n\t\t\t\t\t}.bind(this));\n\t\t\tparent.bind.call(this);\n\t\t};\n\t\tthis.get_json = function (obj, options, flat) {\n\t\t\tvar i, j,\n\t\t\t\tm = this._model.data,\n\t\t\t\topt = options ? $.extend(true, {}, options, {no_id:false}) : {},\n\t\t\t\ttmp = parent.get_json.call(this, obj, opt, flat);\n\t\t\tif(tmp === false) { return false; }\n\t\t\tif($.vakata.is_array(tmp)) {\n\t\t\t\tfor(i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\t\ttmp[i].type = (tmp[i].id || tmp[i].id === 0) && m[tmp[i].id] && m[tmp[i].id].type ? m[tmp[i].id].type : \"default\";\n\t\t\t\t\tif(options && options.no_id) {\n\t\t\t\t\t\tdelete tmp[i].id;\n\t\t\t\t\t\tif(tmp[i].li_attr && tmp[i].li_attr.id) {\n\t\t\t\t\t\t\tdelete tmp[i].li_attr.id;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(tmp[i].a_attr && tmp[i].a_attr.id) {\n\t\t\t\t\t\t\tdelete tmp[i].a_attr.id;\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\telse {\n\t\t\t\ttmp.type = (tmp.id || tmp.id === 0) && m[tmp.id] && m[tmp.id].type ? m[tmp.id].type : \"default\";\n\t\t\t\tif(options && options.no_id) {\n\t\t\t\t\ttmp = this._delete_ids(tmp);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tmp;\n\t\t};\n\t\tthis._delete_ids = function (tmp) {\n\t\t\tif($.vakata.is_array(tmp)) {\n\t\t\t\tfor(var i = 0, j = tmp.length; i < j; i++) {\n\t\t\t\t\ttmp[i] = this._delete_ids(tmp[i]);\n\t\t\t\t}\n\t\t\t\treturn tmp;\n\t\t\t}\n\t\t\tdelete tmp.id;\n\t\t\tif(tmp.li_attr && tmp.li_attr.id) {\n\t\t\t\tdelete tmp.li_attr.id;\n\t\t\t}\n\t\t\tif(tmp.a_attr && tmp.a_attr.id) {\n\t\t\t\tdelete tmp.a_attr.id;\n\t\t\t}\n\t\t\tif(tmp.children && $.vakata.is_array(tmp.children)) {\n\t\t\t\ttmp.children = this._delete_ids(tmp.children);\n\t\t\t}\n\t\t\treturn tmp;\n\t\t};\n\t\tthis.check = function (chk, obj, par, pos, more) {\n\t\t\tif(parent.check.call(this, chk, obj, par, pos, more) === false) { return false; }\n\t\t\tobj = obj && (obj.id || obj.id === 0) ? obj : this.get_node(obj);\n\t\t\tpar = par && (par.id || par.id === 0) ? par : this.get_node(par);\n\t\t\tvar m = obj && (obj.id || obj.id === 0) ? (more && more.origin ? more.origin : $.jstree.reference(obj.id)) : null, tmp, d, i, j;\n\t\t\tm = m && m._model && m._model.data ? m._model.data : null;\n\t\t\tswitch(chk) {\n\t\t\t\tcase \"create_node\":\n\t\t\t\tcase \"move_node\":\n\t\t\t\tcase \"copy_node\":\n\t\t\t\t\tif(chk !== 'move_node' || $.inArray(obj.id, par.children) === -1) {\n\t\t\t\t\t\ttmp = this.get_rules(par);\n\t\t\t\t\t\tif(tmp.max_children !== undefined && tmp.max_children !== -1 && tmp.max_children === par.children.length) {\n\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'types', 'id' : 'types_01', 'reason' : 'max_children prevents function: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(tmp.valid_children !== undefined && tmp.valid_children !== -1 && $.inArray((obj.type || 'default'), tmp.valid_children) === -1) {\n\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'types', 'id' : 'types_02', 'reason' : 'valid_children prevents function: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(m && obj.children_d && obj.parents) {\n\t\t\t\t\t\t\td = 0;\n\t\t\t\t\t\t\tfor(i = 0, j = obj.children_d.length; i < j; i++) {\n\t\t\t\t\t\t\t\td = Math.max(d, m[obj.children_d[i]].parents.length);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\td = d - obj.parents.length + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif(d <= 0 || d === undefined) { d = 1; }\n\t\t\t\t\t\tdo {\n\t\t\t\t\t\t\tif(tmp.max_depth !== undefined && tmp.max_depth !== -1 && tmp.max_depth < d) {\n\t\t\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'types', 'id' : 'types_03', 'reason' : 'max_depth prevents function: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tpar = this.get_node(par.parent);\n\t\t\t\t\t\t\ttmp = this.get_rules(par);\n\t\t\t\t\t\t\td++;\n\t\t\t\t\t\t} while(par);\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\t/**\n\t\t * used to retrieve the type settings object for a node\n\t\t * @name get_rules(obj)\n\t\t * @param {mixed} obj the node to find the rules for\n\t\t * @return {Object}\n\t\t * @plugin types\n\t\t */\n\t\tthis.get_rules = function (obj) {\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!obj) { return false; }\n\t\t\tvar tmp = this.get_type(obj, true);\n\t\t\tif(tmp.max_depth === undefined) { tmp.max_depth = -1; }\n\t\t\tif(tmp.max_children === undefined) { tmp.max_children = -1; }\n\t\t\tif(tmp.valid_children === undefined) { tmp.valid_children = -1; }\n\t\t\treturn tmp;\n\t\t};\n\t\t/**\n\t\t * used to retrieve the type string or settings object for a node\n\t\t * @name get_type(obj [, rules])\n\t\t * @param {mixed} obj the node to find the rules for\n\t\t * @param {Boolean} rules if set to `true` instead of a string the settings object will be returned\n\t\t * @return {String|Object}\n\t\t * @plugin types\n\t\t */\n\t\tthis.get_type = function (obj, rules) {\n\t\t\tobj = this.get_node(obj);\n\t\t\treturn (!obj) ? false : ( rules ? $.extend({ 'type' : obj.type }, this.settings.types[obj.type]) : obj.type);\n\t\t};\n\t\t/**\n\t\t * used to change a node's type\n\t\t * @name set_type(obj, type)\n\t\t * @param {mixed} obj the node to change\n\t\t * @param {String} type the new type\n\t\t * @plugin types\n\t\t */\n\t\tthis.set_type = function (obj, type) {\n\t\t\tvar m = this._model.data, t, t1, t2, old_type, old_icon, k, d, a;\n\t\t\tif($.vakata.is_array(obj)) {\n\t\t\t\tobj = obj.slice();\n\t\t\t\tfor(t1 = 0, t2 = obj.length; t1 < t2; t1++) {\n\t\t\t\t\tthis.set_type(obj[t1], type);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tt = this.settings.types;\n\t\t\tobj = this.get_node(obj);\n\t\t\tif(!t[type] || !obj) { return false; }\n\t\t\td = this.get_node(obj, true);\n\t\t\tif (d && d.length) {\n\t\t\t\ta = d.children('.jstree-anchor');\n\t\t\t}\n\t\t\told_type = obj.type;\n\t\t\told_icon = this.get_icon(obj);\n\t\t\tobj.type = type;\n\t\t\tif(old_icon === true || !t[old_type] || (t[old_type].icon !== undefined && old_icon === t[old_type].icon)) {\n\t\t\t\tthis.set_icon(obj, t[type].icon !== undefined ? t[type].icon : true);\n\t\t\t}\n\n\t\t\t// remove old type props\n\t\t\tif(t[old_type] && t[old_type].li_attr !== undefined && typeof t[old_type].li_attr === 'object') {\n\t\t\t\tfor (k in t[old_type].li_attr) {\n\t\t\t\t\tif (t[old_type].li_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (k === 'class') {\n\t\t\t\t\t\t\tm[obj.id].li_attr['class'] = (m[obj.id].li_attr['class'] || '').replace(t[old_type].li_attr[k], '');\n\t\t\t\t\t\t\tif (d) { d.removeClass(t[old_type].li_attr[k]); }\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (m[obj.id].li_attr[k] === t[old_type].li_attr[k]) {\n\t\t\t\t\t\t\tm[obj.id].li_attr[k] = null;\n\t\t\t\t\t\t\tif (d) { d.removeAttr(k); }\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\tif(t[old_type] && t[old_type].a_attr !== undefined && typeof t[old_type].a_attr === 'object') {\n\t\t\t\tfor (k in t[old_type].a_attr) {\n\t\t\t\t\tif (t[old_type].a_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (k === 'class') {\n\t\t\t\t\t\t\tm[obj.id].a_attr['class'] = (m[obj.id].a_attr['class'] || '').replace(t[old_type].a_attr[k], '');\n\t\t\t\t\t\t\tif (a) { a.removeClass(t[old_type].a_attr[k]); }\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (m[obj.id].a_attr[k] === t[old_type].a_attr[k]) {\n\t\t\t\t\t\t\tif (k === 'href') {\n\t\t\t\t\t\t\t\tm[obj.id].a_attr[k] = '#';\n\t\t\t\t\t\t\t\tif (a) { a.attr('href', '#'); }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tdelete m[obj.id].a_attr[k];\n\t\t\t\t\t\t\t\tif (a) { a.removeAttr(k); }\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\n\t\t\t// add new props\n\t\t\tif(t[type].li_attr !== undefined && typeof t[type].li_attr === 'object') {\n\t\t\t\tfor (k in t[type].li_attr) {\n\t\t\t\t\tif (t[type].li_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (m[obj.id].li_attr[k] === undefined) {\n\t\t\t\t\t\t\tm[obj.id].li_attr[k] = t[type].li_attr[k];\n\t\t\t\t\t\t\tif (d) {\n\t\t\t\t\t\t\t\tif (k === 'class') {\n\t\t\t\t\t\t\t\t\td.addClass(t[type].li_attr[k]);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\td.attr(k, t[type].li_attr[k]);\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\telse if (k === 'class') {\n\t\t\t\t\t\t\tm[obj.id].li_attr['class'] = t[type].li_attr[k] + ' ' + m[obj.id].li_attr['class'];\n\t\t\t\t\t\t\tif (d) { d.addClass(t[type].li_attr[k]); }\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\tif(t[type].a_attr !== undefined && typeof t[type].a_attr === 'object') {\n\t\t\t\tfor (k in t[type].a_attr) {\n\t\t\t\t\tif (t[type].a_attr.hasOwnProperty(k)) {\n\t\t\t\t\t\tif (k === 'id') {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (m[obj.id].a_attr[k] === undefined) {\n\t\t\t\t\t\t\tm[obj.id].a_attr[k] = t[type].a_attr[k];\n\t\t\t\t\t\t\tif (a) {\n\t\t\t\t\t\t\t\tif (k === 'class') {\n\t\t\t\t\t\t\t\t\ta.addClass(t[type].a_attr[k]);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\ta.attr(k, t[type].a_attr[k]);\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\telse if (k === 'href' && m[obj.id].a_attr[k] === '#') {\n\t\t\t\t\t\t\tm[obj.id].a_attr['href'] = t[type].a_attr['href'];\n\t\t\t\t\t\t\tif (a) { a.attr('href', t[type].a_attr['href']); }\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse if (k === 'class') {\n\t\t\t\t\t\t\tm[obj.id].a_attr['class'] = t[type].a_attr['class'] + ' ' + m[obj.id].a_attr['class'];\n\t\t\t\t\t\t\tif (a) { a.addClass(t[type].a_attr[k]); }\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 true;\n\t\t};\n\t};\n\t// include the types plugin by default\n\t// $.jstree.defaults.plugins.push(\"types\");\n\n\n/**\n * ### Unique plugin\n *\n * Enforces that no nodes with the same name can coexist as siblings.\n */\n\n\t/**\n\t * stores all defaults for the unique plugin\n\t * @name $.jstree.defaults.unique\n\t * @plugin unique\n\t */\n\t$.jstree.defaults.unique = {\n\t\t/**\n\t\t * Indicates if the comparison should be case sensitive. Default is `false`.\n\t\t * @name $.jstree.defaults.unique.case_sensitive\n\t\t * @plugin unique\n\t\t */\n\t\tcase_sensitive : false,\n\t\t/**\n\t\t * Indicates if white space should be trimmed before the comparison. Default is `false`.\n\t\t * @name $.jstree.defaults.unique.trim_whitespace\n\t\t * @plugin unique\n\t\t */\n\t\ttrim_whitespace : false,\n\t\t/**\n\t\t * A callback executed in the instance's scope when a new node is created with no name and a node with the default name already exists, the two arguments are the conflicting name and the counter. The default will produce results like `New node (2)`.\n\t\t * @name $.jstree.defaults.unique.duplicate\n\t\t * @plugin unique\n\t\t */\n\t\tduplicate : function (name, counter) {\n\t\t\treturn name + ' (' + counter + ')';\n\t\t}\n\t};\n\n\t$.jstree.plugins.unique = function (options, parent) {\n\t\tthis.check = function (chk, obj, par, pos, more) {\n\t\t\tif(parent.check.call(this, chk, obj, par, pos, more) === false) { return false; }\n\t\t\tobj = obj && (obj.id || obj.id === 0) ? obj : this.get_node(obj);\n\t\t\tpar = par && (par.id || par.id === 0) ? par : this.get_node(par);\n\t\t\tif(!par || !par.children) { return true; }\n\t\t\tvar n = chk === \"rename_node\" ? pos : obj.text,\n\t\t\t\tc = [],\n\t\t\t\ts = this.settings.unique.case_sensitive,\n\t\t\t\tw = this.settings.unique.trim_whitespace,\n\t\t\t\tm = this._model.data, i, j, t;\n\t\t\tfor(i = 0, j = par.children.length; i < j; i++) {\n\t\t\t\tt = m[par.children[i]].text;\n\t\t\t\tif (!s) {\n\t\t\t\t\tt = t.toLowerCase();\n\t\t\t\t}\n\t\t\t\tif (w) {\n\t\t\t\t\tt = t.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t\t\t\t}\n\t\t\t\tc.push(t);\n\t\t\t}\n\t\t\tif(!s) { n = n.toLowerCase(); }\n\t\t\tif (w) { n = n.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, ''); }\n\t\t\tswitch(chk) {\n\t\t\t\tcase \"delete_node\":\n\t\t\t\t\treturn true;\n\t\t\t\tcase \"rename_node\":\n\t\t\t\t\tt = obj.text || '';\n\t\t\t\t\tif (!s) {\n\t\t\t\t\t\tt = t.toLowerCase();\n\t\t\t\t\t}\n\t\t\t\t\tif (w) {\n\t\t\t\t\t\tt = t.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t\t\t\t\t}\n\t\t\t\t\ti = ($.inArray(n, c) === -1 || (obj.text && t === n));\n\t\t\t\t\tif(!i) {\n\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'unique', 'id' : 'unique_01', 'reason' : 'Child with name ' + n + ' already exists. Preventing: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t}\n\t\t\t\t\treturn i;\n\t\t\t\tcase \"create_node\":\n\t\t\t\t\ti = ($.inArray(n, c) === -1);\n\t\t\t\t\tif(!i) {\n\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'unique', 'id' : 'unique_04', 'reason' : 'Child with name ' + n + ' already exists. Preventing: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t}\n\t\t\t\t\treturn i;\n\t\t\t\tcase \"copy_node\":\n\t\t\t\t\ti = ($.inArray(n, c) === -1);\n\t\t\t\t\tif(!i) {\n\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'unique', 'id' : 'unique_02', 'reason' : 'Child with name ' + n + ' already exists. Preventing: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t}\n\t\t\t\t\treturn i;\n\t\t\t\tcase \"move_node\":\n\t\t\t\t\ti = ( (obj.parent === par.id && (!more || !more.is_multi)) || $.inArray(n, c) === -1);\n\t\t\t\t\tif(!i) {\n\t\t\t\t\t\tthis._data.core.last_error = { 'error' : 'check', 'plugin' : 'unique', 'id' : 'unique_03', 'reason' : 'Child with name ' + n + ' already exists. Preventing: ' + chk, 'data' : JSON.stringify({ 'chk' : chk, 'pos' : pos, 'obj' : obj && (obj.id || obj.id === 0) ? obj.id : false, 'par' : par && (par.id || par.id === 0) ? par.id : false }) };\n\t\t\t\t\t}\n\t\t\t\t\treturn i;\n\t\t\t}\n\t\t\treturn true;\n\t\t};\n\t\tthis.create_node = function (par, node, pos, callback, is_loaded) {\n\t\t\tif(!node || (typeof node === 'object' && node.text === undefined)) {\n\t\t\t\tif(par === null) {\n\t\t\t\t\tpar = $.jstree.root;\n\t\t\t\t}\n\t\t\t\tpar = this.get_node(par);\n\t\t\t\tif(!par) {\n\t\t\t\t\treturn parent.create_node.call(this, par, node, pos, callback, is_loaded);\n\t\t\t\t}\n\t\t\t\tpos = pos === undefined ? \"last\" : pos;\n\t\t\t\tif(!pos.toString().match(/^(before|after)$/) && !is_loaded && !this.is_loaded(par)) {\n\t\t\t\t\treturn parent.create_node.call(this, par, node, pos, callback, is_loaded);\n\t\t\t\t}\n\t\t\t\tif(!node) { node = {}; }\n\t\t\t\tvar tmp, n, dpc, i, j, m = this._model.data, s = this.settings.unique.case_sensitive, w = this.settings.unique.trim_whitespace, cb = this.settings.unique.duplicate, t;\n\t\t\t\tn = tmp = this.get_string('New node');\n\t\t\t\tdpc = [];\n\t\t\t\tfor(i = 0, j = par.children.length; i < j; i++) {\n\t\t\t\t\tt = m[par.children[i]].text;\n\t\t\t\t\tif (!s) {\n\t\t\t\t\t\tt = t.toLowerCase();\n\t\t\t\t\t}\n\t\t\t\t\tif (w) {\n\t\t\t\t\t\tt = t.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t\t\t\t\t}\n\t\t\t\t\tdpc.push(t);\n\t\t\t\t}\n\t\t\t\ti = 1;\n\t\t\t\tt = n;\n\t\t\t\tif (!s) {\n\t\t\t\t\tt = t.toLowerCase();\n\t\t\t\t}\n\t\t\t\tif (w) {\n\t\t\t\t\tt = t.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t\t\t\t}\n\t\t\t\twhile($.inArray(t, dpc) !== -1) {\n\t\t\t\t\tn = cb.call(this, tmp, (++i)).toString();\n\t\t\t\t\tt = n;\n\t\t\t\t\tif (!s) {\n\t\t\t\t\t\tt = t.toLowerCase();\n\t\t\t\t\t}\n\t\t\t\t\tif (w) {\n\t\t\t\t\t\tt = t.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g, '');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tnode.text = n;\n\t\t\t}\n\t\t\treturn parent.create_node.call(this, par, node, pos, callback, is_loaded);\n\t\t};\n\t};\n\n\t// include the unique plugin by default\n\t// $.jstree.defaults.plugins.push(\"unique\");\n\n\n/**\n * ### Wholerow plugin\n *\n * Makes each node appear block level. Making selection easier. May cause slow down for large trees in old browsers.\n */\n\n\tvar div = document.createElement('DIV');\n\tdiv.setAttribute('unselectable','on');\n\tdiv.setAttribute('role','presentation');\n\tdiv.className = 'jstree-wholerow';\n\tdiv.innerHTML = '&#160;';\n\t$.jstree.plugins.wholerow = function (options, parent) {\n\t\tthis.bind = function () {\n\t\t\tparent.bind.call(this);\n\n\t\t\tthis.element\n\t\t\t\t.on('ready.jstree set_state.jstree', function () {\n\t\t\t\t\t\tthis.hide_dots();\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"init.jstree loading.jstree ready.jstree\", function () {\n\t\t\t\t\t\t//div.style.height = this._data.core.li_height + 'px';\n\t\t\t\t\t\tthis.get_container_ul().addClass('jstree-wholerow-ul');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"deselect_all.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.element.find('.jstree-wholerow-clicked').removeClass('jstree-wholerow-clicked');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"changed.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.element.find('.jstree-wholerow-clicked').removeClass('jstree-wholerow-clicked');\n\t\t\t\t\t\tvar tmp = false, i, j;\n\t\t\t\t\t\tfor(i = 0, j = data.selected.length; i < j; i++) {\n\t\t\t\t\t\t\ttmp = this.get_node(data.selected[i], true);\n\t\t\t\t\t\t\tif(tmp && tmp.length) {\n\t\t\t\t\t\t\t\ttmp.children('.jstree-wholerow').addClass('jstree-wholerow-clicked');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"open_node.jstree\", function (e, data) {\n\t\t\t\t\t\tthis.get_node(data.node, true).find('.jstree-clicked').parent().children('.jstree-wholerow').addClass('jstree-wholerow-clicked');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"hover_node.jstree dehover_node.jstree\", function (e, data) {\n\t\t\t\t\t\tif(e.type === \"hover_node\" && this.is_disabled(data.node)) { return; }\n\t\t\t\t\t\tthis.get_node(data.node, true).children('.jstree-wholerow')[e.type === \"hover_node\"?\"addClass\":\"removeClass\"]('jstree-wholerow-hovered');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"contextmenu.jstree\", \".jstree-wholerow\", function (e) {\n\t\t\t\t\t\tif (this._data.contextmenu) {\n\t\t\t\t\t\t\te.preventDefault();\n\t\t\t\t\t\t\tvar tmp = $.Event('contextmenu', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey, pageX : e.pageX, pageY : e.pageY });\n\t\t\t\t\t\t\t$(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp);\n\t\t\t\t\t\t}\n\t\t\t\t\t}.bind(this))\n\t\t\t\t/*!\n\t\t\t\t.on(\"mousedown.jstree touchstart.jstree\", \".jstree-wholerow\", function (e) {\n\t\t\t\t\t\tif(e.target === e.currentTarget) {\n\t\t\t\t\t\t\tvar a = $(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\");\n\t\t\t\t\t\t\te.target = a[0];\n\t\t\t\t\t\t\ta.trigger(e);\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t*/\n\t\t\t\t.on(\"click.jstree\", \".jstree-wholerow\", function (e) {\n\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\tvar tmp = $.Event('click', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n\t\t\t\t\t\t$(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).trigger('focus');\n\t\t\t\t\t})\n\t\t\t\t.on(\"dblclick.jstree\", \".jstree-wholerow\", function (e) {\n\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\tvar tmp = $.Event('dblclick', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n\t\t\t\t\t\t$(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).trigger('focus');\n\t\t\t\t\t})\n\t\t\t\t.on(\"click.jstree\", \".jstree-leaf > .jstree-ocl\", function (e) {\n\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\tvar tmp = $.Event('click', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n\t\t\t\t\t\t$(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).trigger('focus');\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"mouseover.jstree\", \".jstree-wholerow, .jstree-icon\", function (e) {\n\t\t\t\t\t\te.stopImmediatePropagation();\n\t\t\t\t\t\tif(!this.is_disabled(e.currentTarget)) {\n\t\t\t\t\t\t\tthis.hover_node(e.currentTarget);\n\t\t\t\t\t\t}\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}.bind(this))\n\t\t\t\t.on(\"mouseleave.jstree\", \".jstree-node\", function (e) {\n\t\t\t\t\t\tthis.dehover_node(e.currentTarget);\n\t\t\t\t\t}.bind(this));\n\t\t};\n\t\tthis.teardown = function () {\n\t\t\tif(this.settings.wholerow) {\n\t\t\t\tthis.element.find(\".jstree-wholerow\").remove();\n\t\t\t}\n\t\t\tparent.teardown.call(this);\n\t\t};\n\t\tthis.redraw_node = function(obj, deep, callback, force_render) {\n\t\t\tobj = parent.redraw_node.apply(this, arguments);\n\t\t\tif(obj) {\n\t\t\t\tvar tmp = div.cloneNode(true);\n\t\t\t\t//tmp.style.height = this._data.core.li_height + 'px';\n\t\t\t\tif($.inArray(obj.id, this._data.core.selected) !== -1) { tmp.className += ' jstree-wholerow-clicked'; }\n\t\t\t\tif(this._data.core.focused && this._data.core.focused === obj.id) { tmp.className += ' jstree-wholerow-hovered'; }\n\t\t\t\tobj.insertBefore(tmp, obj.childNodes[0]);\n\t\t\t}\n\t\t\treturn obj;\n\t\t};\n\t};\n\t// include the wholerow plugin by default\n\t// $.jstree.defaults.plugins.push(\"wholerow\");\n\tif(window.customElements && Object && Object.create) {\n\t\tvar proto = Object.create(HTMLElement.prototype);\n\t\tproto.createdCallback = function () {\n\t\t\tvar c = { core : {}, plugins : [] }, i;\n\t\t\tfor(i in $.jstree.plugins) {\n\t\t\t\tif($.jstree.plugins.hasOwnProperty(i) && this.attributes[i]) {\n\t\t\t\t\tc.plugins.push(i);\n\t\t\t\t\tif(this.getAttribute(i) && JSON.parse(this.getAttribute(i))) {\n\t\t\t\t\t\tc[i] = JSON.parse(this.getAttribute(i));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(i in $.jstree.defaults.core) {\n\t\t\t\tif($.jstree.defaults.core.hasOwnProperty(i) && this.attributes[i]) {\n\t\t\t\t\tc.core[i] = JSON.parse(this.getAttribute(i)) || this.getAttribute(i);\n\t\t\t\t}\n\t\t\t}\n\t\t\t$(this).jstree(c);\n\t\t};\n\t\t// proto.attributeChangedCallback = function (name, previous, value) { };\n\t\ttry {\n\t\t\twindow.customElements.define(\"vakata-jstree\", function() {}, { prototype: proto });\n\t\t} catch (ignore) { }\n\t}\n\n}));","Ember.libraries.register('Ember CLI jsTree', '1.1.0')","if (typeof FastBoot === 'undefined') {\n      var preferNative = false;\n      (function (originalGlobal) {\n  define('fetch', ['exports'], function (exports) {\n    'use strict';\n\n    var Ember = originalGlobal.Ember;\n    var Promise = Ember.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    }","Ember.libraries.register('Ember Models Table', '3.4.0');\n","/*! http://mths.be/base64 v0.1.0 by @mathias | MIT license */\n;(function(root) {\n\n\t// Detect free variables `exports`.\n\tvar freeExports = typeof exports == 'object' && exports;\n\n\t// Detect free variable `module`.\n\tvar freeModule = typeof module == 'object' && module &&\n\t\tmodule.exports == freeExports && module;\n\n\t// Detect free variable `global`, from Node.js or Browserified code, and use\n\t// it as `root`.\n\tvar freeGlobal = typeof global == 'object' && global;\n\tif (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) {\n\t\troot = freeGlobal;\n\t}\n\n\t/*--------------------------------------------------------------------------*/\n\n\tvar InvalidCharacterError = function(message) {\n\t\tthis.message = message;\n\t};\n\tInvalidCharacterError.prototype = new Error;\n\tInvalidCharacterError.prototype.name = 'InvalidCharacterError';\n\n\tvar error = function(message) {\n\t\t// Note: the error messages used throughout this file match those used by\n\t\t// the native `atob`/`btoa` implementation in Chromium.\n\t\tthrow new InvalidCharacterError(message);\n\t};\n\n\tvar TABLE = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n\t// http://whatwg.org/html/common-microsyntaxes.html#space-character\n\tvar REGEX_SPACE_CHARACTERS = /[\\t\\n\\f\\r ]/g;\n\n\t// `decode` is designed to be fully compatible with `atob` as described in the\n\t// HTML Standard. http://whatwg.org/html/webappapis.html#dom-windowbase64-atob\n\t// The optimized base64-decoding algorithm used is based on @atk’s excellent\n\t// implementation. https://gist.github.com/atk/1020396\n\tvar decode = function(input) {\n\t\tinput = String(input)\n\t\t\t.replace(REGEX_SPACE_CHARACTERS, '');\n\t\tvar length = input.length;\n\t\tif (length % 4 == 0) {\n\t\t\tinput = input.replace(/==?$/, '');\n\t\t\tlength = input.length;\n\t\t}\n\t\tif (\n\t\t\tlength % 4 == 1 ||\n\t\t\t// http://whatwg.org/C#alphanumeric-ascii-characters\n\t\t\t/[^+a-zA-Z0-9/]/.test(input)\n\t\t) {\n\t\t\terror(\n\t\t\t\t'Invalid character: the string to be decoded is not correctly encoded.'\n\t\t\t);\n\t\t}\n\t\tvar bitCounter = 0;\n\t\tvar bitStorage;\n\t\tvar buffer;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\twhile (++position < length) {\n\t\t\tbuffer = TABLE.indexOf(input.charAt(position));\n\t\t\tbitStorage = bitCounter % 4 ? bitStorage * 64 + buffer : buffer;\n\t\t\t// Unless this is the first of a group of 4 characters…\n\t\t\tif (bitCounter++ % 4) {\n\t\t\t\t// …convert the first 8 bits to a single ASCII character.\n\t\t\t\toutput += String.fromCharCode(\n\t\t\t\t\t0xFF & bitStorage >> (-2 * bitCounter & 6)\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t\treturn output;\n\t};\n\n\t// `encode` is designed to be fully compatible with `btoa` as described in the\n\t// HTML Standard: http://whatwg.org/html/webappapis.html#dom-windowbase64-btoa\n\tvar encode = function(input) {\n\t\tinput = String(input);\n\t\tif (/[^\\0-\\xFF]/.test(input)) {\n\t\t\t// Note: no need to special-case astral symbols here, as surrogates are\n\t\t\t// matched, and the input is supposed to only contain ASCII anyway.\n\t\t\terror(\n\t\t\t\t'The string to be encoded contains characters outside of the ' +\n\t\t\t\t'Latin1 range.'\n\t\t\t);\n\t\t}\n\t\tvar padding = input.length % 3;\n\t\tvar output = '';\n\t\tvar position = -1;\n\t\tvar a;\n\t\tvar b;\n\t\tvar c;\n\t\tvar d;\n\t\tvar buffer;\n\t\t// Make sure any padding is handled outside of the loop.\n\t\tvar length = input.length - padding;\n\n\t\twhile (++position < length) {\n\t\t\t// Read three bytes, i.e. 24 bits.\n\t\t\ta = input.charCodeAt(position) << 16;\n\t\t\tb = input.charCodeAt(++position) << 8;\n\t\t\tc = input.charCodeAt(++position);\n\t\t\tbuffer = a + b + c;\n\t\t\t// Turn the 24 bits into four chunks of 6 bits each, and append the\n\t\t\t// matching character for each of them to the output.\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 18 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 12 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer >> 6 & 0x3F) +\n\t\t\t\tTABLE.charAt(buffer & 0x3F)\n\t\t\t);\n\t\t}\n\n\t\tif (padding == 2) {\n\t\t\ta = input.charCodeAt(position) << 8;\n\t\t\tb = input.charCodeAt(++position);\n\t\t\tbuffer = a + b;\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 10) +\n\t\t\t\tTABLE.charAt((buffer >> 4) & 0x3F) +\n\t\t\t\tTABLE.charAt((buffer << 2) & 0x3F) +\n\t\t\t\t'='\n\t\t\t);\n\t\t} else if (padding == 1) {\n\t\t\tbuffer = input.charCodeAt(position);\n\t\t\toutput += (\n\t\t\t\tTABLE.charAt(buffer >> 2) +\n\t\t\t\tTABLE.charAt((buffer << 4) & 0x3F) +\n\t\t\t\t'=='\n\t\t\t);\n\t\t}\n\n\t\treturn output;\n\t};\n\n\tvar base64 = {\n\t\t'encode': encode,\n\t\t'decode': decode,\n\t\t'version': '0.1.0'\n\t};\n\n\t// Some AMD build optimizers, like r.js, check for specific condition patterns\n\t// like the following:\n\tif (\n\t\ttypeof define == 'function' &&\n\t\ttypeof define.amd == 'object' &&\n\t\tdefine.amd\n\t) {\n\t\tdefine(function() {\n\t\t\treturn base64;\n\t\t});\n\t}\telse if (freeExports && !freeExports.nodeType) {\n\t\tif (freeModule) { // in Node.js or RingoJS v0.8.0+\n\t\t\tfreeModule.exports = base64;\n\t\t} else { // in Narwhal or RingoJS v0.7.0-\n\t\t\tfor (var key in base64) {\n\t\t\t\tbase64.hasOwnProperty(key) && (freeExports[key] = base64[key]);\n\t\t\t}\n\t\t}\n\t} else { // in Rhino or a web browser\n\t\troot.base64 = base64;\n\t}\n\n}(this));\n","/* globals Ember, require, WeakMap */\n\n(function() {\n  var _Ember;\n\n  if (typeof Ember !== 'undefined') {\n    _Ember = Ember;\n  } else {\n    _Ember = require('ember').default;\n  }\n\n  if (!_Ember.WeakMap) {\n    _Ember.WeakMap = WeakMap;\n  }\n})();\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// This is CodeMirror (http://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(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    module.exports = mod();\n  else if (typeof define == \"function\" && define.amd) // AMD\n    return define([], mod);\n  else // Plain browser env\n    (this || window).CodeMirror = mod();\n})(function() {\n  \"use strict\";\n\n  // BROWSER SNIFFING\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 ie = ie_upto10 || ie_11up;\n  var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : ie_11up[1]);\n  var webkit = /WebKit\\//.test(userAgent);\n  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(userAgent);\n  var chrome = /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 = /AppleWebKit/.test(userAgent) && /Mobile\\/\\w+/.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  // Optimize some code when these features are not used.\n  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n  // EDITOR CONSTRUCTOR\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    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    setGuttersForLineNumbers(options);\n\n    var doc = options.value;\n    if (typeof doc == \"string\") doc = new Doc(doc, options.mode, null, options.lineSeparator);\n    this.doc = doc;\n\n    var input = new CodeMirror.inputStyles[options.inputStyle](this);\n    var display = this.display = new Display(place, doc, input);\n    display.wrapper.CodeMirror = this;\n    updateGutters(this);\n    themeChanged(this);\n    if (options.lineWrapping)\n      this.display.wrapper.className += \" CodeMirror-wrap\";\n    if (options.autofocus && !mobile) display.input.focus();\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: false, cutIncoming: false, // 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    var cm = this;\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() { cm.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) || cm.hasFocus())\n      setTimeout(bind(onFocus, this), 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  // DISPLAY CONSTRUCTOR\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) {\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 = elt(\"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 = elt(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n                      null, \"position: relative; outline: none\");\n    // Moved around its parent to cover visible view.\n    d.mover = elt(\"div\", [elt(\"div\", [d.lineSpace], \"CodeMirror-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    // 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    input.init(d);\n  }\n\n  // STATE UPDATES\n\n  // Used to get the editor into a consistent state again when options change.\n\n  function loadMode(cm) {\n    cm.doc.mode = CodeMirror.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.frontier = cm.doc.first;\n    startWorker(cm, 100);\n    cm.state.modeGen++;\n    if (cm.curOp) regChange(cm);\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(){updateScrollbars(cm);}, 100);\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  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  function guttersChanged(cm) {\n    updateGutters(cm);\n    regChange(cm);\n    setTimeout(function(){alignHorizontally(cm);}, 20);\n  }\n\n  // Rebuild the gutter elements, ensure the margin to the left of the\n  // code matches their width.\n  function updateGutters(cm) {\n    var gutters = cm.display.gutters, specs = cm.options.gutters;\n    removeChildren(gutters);\n    for (var i = 0; i < specs.length; ++i) {\n      var gutterClass = specs[i];\n      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + gutterClass));\n      if (gutterClass == \"CodeMirror-linenumbers\") {\n        cm.display.lineGutter = gElt;\n        gElt.style.width = (cm.display.lineNumWidth || 1) + \"px\";\n      }\n    }\n    gutters.style.display = i ? \"\" : \"none\";\n    updateGutterSpace(cm);\n  }\n\n  function updateGutterSpace(cm) {\n    var width = cm.display.gutters.offsetWidth;\n    cm.display.sizer.style.marginLeft = width + \"px\";\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 = merged.find(0, true);\n      len -= cur.text.length - found.from.ch;\n      cur = found.to.line;\n      len += cur.text.length - found.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  // Make sure the gutters options contains the element\n  // \"CodeMirror-linenumbers\" when the lineNumbers option is true.\n  function setGuttersForLineNumbers(options) {\n    var found = indexOf(options.gutters, \"CodeMirror-linenumbers\");\n    if (found == -1 && options.lineNumbers) {\n      options.gutters = options.gutters.concat([\"CodeMirror-linenumbers\"]);\n    } else if (found > -1 && !options.lineNumbers) {\n      options.gutters = options.gutters.slice(0);\n      options.gutters.splice(found, 1);\n    }\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  function NativeScrollbars(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    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 = copyObj({\n    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          (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    setScrollLeft: function(pos) {\n      if (this.horiz.scrollLeft != pos) this.horiz.scrollLeft = pos;\n      if (this.disableHoriz) this.enableZeroWidthBar(this.horiz, this.disableHoriz);\n    },\n    setScrollTop: function(pos) {\n      if (this.vert.scrollTop != pos) this.vert.scrollTop = pos;\n      if (this.disableVert) this.enableZeroWidthBar(this.vert, this.disableVert);\n    },\n    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    enableZeroWidthBar: function(bar, delay) {\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        // left 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 = document.elementFromPoint(box.left + 1, 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    clear: function() {\n      var parent = this.horiz.parentNode;\n      parent.removeChild(this.horiz);\n      parent.removeChild(this.vert);\n    }\n  }, NativeScrollbars.prototype);\n\n  function NullScrollbars() {}\n\n  NullScrollbars.prototype = copyObj({\n    update: function() { return {bottom: 0, right: 0}; },\n    setScrollLeft: function() {},\n    setScrollTop: function() {},\n    clear: function() {}\n  }, NullScrollbars.prototype);\n\n  CodeMirror.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 CodeMirror.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() { 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 setScrollTop(cm, pos);\n    }, cm);\n    if (cm.display.scrollbars.addClass)\n      addClass(cm.display.wrapper, cm.display.scrollbars.addClass);\n  }\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  // 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  // LINE NUMBERS\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 && view[i].gutter)\n        view[i].gutter.style.left = left;\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);\n      return true;\n    }\n    return false;\n  }\n\n  function lineNumberFor(options, i) {\n    return String(options.lineNumberFormatter(i + options.firstLineNumber));\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  // DISPLAY DRAWING\n\n  function DisplayUpdate(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  // 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 focused = activeElt();\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    if (focused && activeElt() != focused && focused.offsetHeight) focused.focus();\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      }\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    }\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  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  // 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    for (var i = 0; i < display.view.length; i++) {\n      var cur = display.view[i], height;\n      if (cur.hidden) continue;\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      }\n      var diff = cur.line.height - height;\n      if (height < 2) height = textHeight(display);\n      if (diff > .001 || diff < -.001) {\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    }\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      line.widgets[i].height = line.widgets[i].node.parentNode.offsetHeight;\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      left[cm.options.gutters[i]] = n.offsetLeft + n.clientLeft + gutterLeft;\n      width[cm.options.gutters[i]] = 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  // 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) {\n      } 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  // 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(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(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    }\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(lineView);\n    } else if (cls) {\n      lineView.text.className = cls;\n    }\n  }\n\n  function updateLineClasses(lineView) {\n    updateLineBackground(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) +\n                                      \"px; width: \" + dims.gutterTotalWidth + \"px\");\n      wrap.insertBefore(lineView.gutterBackground, lineView.text);\n    }\n    var markers = lineView.line.gutterMarkers;\n    if (cm.options.lineNumbers || markers) {\n      var wrap = ensureLineWrapped(lineView);\n      var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", \"left: \" +\n                                             (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\");\n      cm.display.input.setUneditable(gutterWrap);\n      wrap.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: \"\n              + cm.display.lineNumInnerWidth + \"px\"));\n      if (markers) for (var k = 0; k < cm.options.gutters.length; ++k) {\n        var id = cm.options.gutters[k], found = markers.hasOwnProperty(id) && markers[id];\n        if (found)\n          gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\", \"left: \" +\n                                     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    for (var node = lineView.node.firstChild, next; node; node = next) {\n      var next = node.nextSibling;\n      if (node.className == \"CodeMirror-linewidget\")\n        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(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\");\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  // POSITION OBJECT\n\n  // A Pos instance represents a position within the text.\n  var Pos = CodeMirror.Pos = function(line, ch) {\n    if (!(this instanceof Pos)) return new Pos(line, ch);\n    this.line = line; this.ch = ch;\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  var cmp = CodeMirror.cmpPos = function(a, b) { return a.line - b.line || a.ch - b.ch; };\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  // INPUT HANDLING\n\n  function ensureFocus(cm) {\n    if (!cm.state.focused) { cm.display.input.focus(); onFocus(cm); }\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 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 paste = cm.state.pasteIncoming || origin == \"paste\";\n    var textLines = doc.splitLines(inserted), multiPaste = null\n    // When pasing 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) {\n        multiPaste = map(textLines, function(l) { return [l]; });\n      }\n    }\n\n    // Normal behavior is to insert the new text into every selection\n    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n      var range = sel.ranges[i];\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 (lastCopied && lastCopied.lineWise && lastCopied.text.join(\"\\n\") == inserted)\n          from = to = Pos(from.line, 0)\n      }\n      var updateInput = cm.curOp.updateInput;\n      var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i % multiPaste.length] : textLines,\n                         origin: origin || (paste ? \"paste\" : cm.state.cutIncoming ? \"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    cm.curOp.updateInput = updateInput;\n    cm.curOp.typing = true;\n    cm.state.pasteIncoming = cm.state.cutIncoming = false;\n  }\n\n  function handlePaste(e, cm) {\n    var pasted = e.clipboardData && e.clipboardData.getData(\"text/plain\");\n    if (pasted) {\n      e.preventDefault();\n      if (!cm.isReadOnly() && !cm.options.disableInput)\n        runInOp(cm, function() { 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) {\n    field.setAttribute(\"autocorrect\", \"off\");\n    field.setAttribute(\"autocapitalize\", \"off\");\n    field.setAttribute(\"spellcheck\", \"false\");\n  }\n\n  // TEXTAREA INPUT STYLE\n\n  function TextareaInput(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    // Tracks when input.reset has punted to just putting a short\n    // string into the textarea instead of the full selection.\n    this.inaccurateSelection = false;\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  function hiddenTextarea() {\n    var te = elt(\"textarea\", null, null, \"position: absolute; 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  TextareaInput.prototype = copyObj({\n    init: function(display) {\n      var input = this, cm = this.cm;\n\n      // Wraps and hides input textarea\n      var div = this.wrapper = hiddenTextarea();\n      // The semihidden textarea that is focused when the editor is\n      // focused, and receives input.\n      var te = this.textarea = div.firstChild;\n      display.wrapper.insertBefore(div, 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 && input.hasSelection) input.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 = true;\n        input.fastPoll();\n      });\n\n      function prepareCopyCut(e) {\n        if (signalDOMEvent(cm, e)) return\n        if (cm.somethingSelected()) {\n          lastCopied = {lineWise: false, text: cm.getSelections()};\n          if (input.inaccurateSelection) {\n            input.prevInput = \"\";\n            input.inaccurateSelection = false;\n            te.value = lastCopied.text.join(\"\\n\");\n            selectInput(te);\n          }\n        } else if (!cm.options.lineWiseCopyCut) {\n          return;\n        } else {\n          var ranges = copyableRanges(cm);\n          lastCopied = {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 = true;\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        cm.state.pasteIncoming = true;\n        input.focus();\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    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    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    reset: function(typing) {\n      if (this.contextMenuPending) return;\n      var minimal, selected, cm = this.cm, doc = cm.doc;\n      if (cm.somethingSelected()) {\n        this.prevInput = \"\";\n        var range = doc.sel.primary();\n        minimal = hasCopyEvent &&\n          (range.to().line - range.from().line > 100 || (selected = cm.getSelection()).length > 1000);\n        var content = minimal ? \"-\" : selected || 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      this.inaccurateSelection = minimal;\n    },\n\n    getField: function() { return this.textarea; },\n\n    supportsTouch: function() { return false; },\n\n    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    blur: function() { this.textarea.blur(); },\n\n    resetPosition: function() {\n      this.wrapper.style.top = this.wrapper.style.left = 0;\n    },\n\n    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    slowPoll: function() {\n      var input = this;\n      if (input.pollingFast) return;\n      input.polling.set(this.cm.options.pollInterval, function() {\n        input.poll();\n        if (input.cm.state.focused) input.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    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    poll: function() {\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      var self = this;\n      runInOp(cm, function() {\n        applyTextInput(cm, text.slice(same), prevInput.length - same,\n                       null, self.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 = self.prevInput = \"\";\n        else self.prevInput = text;\n\n        if (self.composing) {\n          self.composing.range.clear();\n          self.composing.range = cm.markText(self.composing.start, cm.getCursor(\"to\"),\n                                             {className: \"CodeMirror-composing\"});\n        }\n      });\n      return true;\n    },\n\n    ensurePolled: function() {\n      if (this.pollingFast && this.poll()) this.pollingFast = false;\n    },\n\n    onKeyPress: function() {\n      if (ie && ie_version >= 9) this.hasSelection = null;\n      this.fastPoll();\n    },\n\n    onContextMenu: function(e) {\n      var input = this, cm = input.cm, display = cm.display, te = input.textarea;\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      input.wrapper.style.cssText = \"position: absolute\"\n      var wrapperBox = input.wrapper.getBoundingClientRect()\n      te.style.cssText = \"position: absolute; width: 30px; height: 30px; top: \" + (e.clientY - wrapperBox.top - 5) +\n        \"px; left: \" + (e.clientX - wrapperBox.left - 5) + \"px; z-index: 1000; background: \" +\n        (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") +\n        \"; outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n      if (webkit) var 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 = true;\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        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, commands.selectAll)(cm);\n            else if (i++ < 10) display.detectingSelectAll = setTimeout(poll, 500);\n            else display.input.reset();\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    readOnlyChanged: function(val) {\n      if (!val) this.reset();\n    },\n\n    setUneditable: nothing,\n\n    needsContentAttribute: false\n  }, TextareaInput.prototype);\n\n  // CONTENTEDITABLE INPUT STYLE\n\n  function ContentEditableInput(cm) {\n    this.cm = cm;\n    this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n    this.polling = new Delayed();\n    this.gracePeriod = false;\n  }\n\n  ContentEditableInput.prototype = copyObj({\n    init: function(display) {\n      var input = this, cm = input.cm;\n      var div = input.div = display.lineDiv;\n      disableBrowserMagic(div);\n\n      on(div, \"paste\", function(e) {\n        if (!signalDOMEvent(cm, e)) handlePaste(e, cm);\n      })\n\n      on(div, \"compositionstart\", function(e) {\n        var data = e.data;\n        input.composing = {sel: cm.doc.sel, data: data, startData: data};\n        if (!data) return;\n        var prim = cm.doc.sel.primary();\n        var line = cm.getLine(prim.head.line);\n        var found = line.indexOf(data, Math.max(0, prim.head.ch - data.length));\n        if (found > -1 && found <= prim.head.ch)\n          input.composing.sel = simpleSelection(Pos(prim.head.line, found),\n                                                Pos(prim.head.line, found + data.length));\n      });\n      on(div, \"compositionupdate\", function(e) {\n        input.composing.data = e.data;\n      });\n      on(div, \"compositionend\", function(e) {\n        var ours = input.composing;\n        if (!ours) return;\n        if (e.data != ours.startData && !/\\u200b/.test(e.data))\n          ours.data = e.data;\n        // Need a small delay to prevent other code (input event,\n        // selection polling) from doing damage when fired right after\n        // compositionend.\n        setTimeout(function() {\n          if (!ours.handled)\n            input.applyComposition(ours);\n          if (input.composing == ours)\n            input.composing = null;\n        }, 50);\n      });\n\n      on(div, \"touchstart\", function() {\n        input.forceCompositionEnd();\n      });\n\n      on(div, \"input\", function() {\n        if (input.composing) return;\n        if (cm.isReadOnly() || !input.pollContent())\n          runInOp(input.cm, function() {regChange(cm);});\n      });\n\n      function onCopyCut(e) {\n        if (signalDOMEvent(cm, e)) return\n        if (cm.somethingSelected()) {\n          lastCopied = {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          lastCopied = {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        // iOS exposes the clipboard API, but seems to discard content inserted into it\n        if (e.clipboardData && !ios) {\n          e.preventDefault();\n          e.clipboardData.clearData();\n          e.clipboardData.setData(\"text/plain\", lastCopied.text.join(\"\\n\"));\n        } else {\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 = document.activeElement;\n          selectInput(te);\n          setTimeout(function() {\n            cm.display.lineSpace.removeChild(kludge);\n            hadFocus.focus();\n          }, 50);\n        }\n      }\n      on(div, \"copy\", onCopyCut);\n      on(div, \"cut\", onCopyCut);\n    },\n\n    prepareSelection: function() {\n      var result = prepareSelection(this.cm, false);\n      result.focus = this.cm.state.focused;\n      return result;\n    },\n\n    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    showPrimarySelection: function() {\n      var sel = window.getSelection(), prim = this.cm.doc.sel.primary();\n      var curAnchor = domToPos(this.cm, sel.anchorNode, sel.anchorOffset);\n      var curFocus = domToPos(this.cm, sel.focusNode, sel.focusOffset);\n      if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n          cmp(minPos(curAnchor, curFocus), prim.from()) == 0 &&\n          cmp(maxPos(curAnchor, curFocus), prim.to()) == 0)\n        return;\n\n      var start = posToDOM(this.cm, prim.from());\n      var end = posToDOM(this.cm, prim.to());\n      if (!start && !end) return;\n\n      var view = this.cm.display.view;\n      var old = sel.rangeCount && sel.getRangeAt(0);\n      if (!start) {\n        start = {node: view[0].measure.map[2], offset: 0};\n      } else if (!end) { // FIXME dangerously hacky\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      try { var 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 && this.cm.state.focused) {\n          sel.collapse(start.node, start.offset);\n          if (!rng.collapsed) sel.addRange(rng);\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    startGracePeriod: function() {\n      var input = this;\n      clearTimeout(this.gracePeriod);\n      this.gracePeriod = setTimeout(function() {\n        input.gracePeriod = false;\n        if (input.selectionChanged())\n          input.cm.operation(function() { input.cm.curOp.selectionChanged = true; });\n      }, 20);\n    },\n\n    showMultipleSelections: function(info) {\n      removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n      removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n    },\n\n    rememberSelection: function() {\n      var sel = window.getSelection();\n      this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n      this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n    },\n\n    selectionInEditor: function() {\n      var sel = window.getSelection();\n      if (!sel.rangeCount) return false;\n      var node = sel.getRangeAt(0).commonAncestorContainer;\n      return contains(this.div, node);\n    },\n\n    focus: function() {\n      if (this.cm.options.readOnly != \"nocursor\") this.div.focus();\n    },\n    blur: function() { this.div.blur(); },\n    getField: function() { return this.div; },\n\n    supportsTouch: function() { return true; },\n\n    receivedFocus: function() {\n      var input = this;\n      if (this.selectionInEditor())\n        this.pollSelection();\n      else\n        runInOp(this.cm, function() { 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    selectionChanged: function() {\n      var sel = window.getSelection();\n      return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n        sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset;\n    },\n\n    pollSelection: function() {\n      if (!this.composing && !this.gracePeriod && this.selectionChanged()) {\n        var sel = window.getSelection(), cm = this.cm;\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\n    pollContent: function() {\n      var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n      var from = sel.from(), to = sel.to();\n      if (from.line < display.viewFrom || to.line > display.viewTo - 1) return false;\n\n      var fromIndex;\n      if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n        var fromLine = lineNo(display.view[0].line);\n        var fromNode = display.view[0].node;\n      } else {\n        var fromLine = lineNo(display.view[fromIndex].line);\n        var fromNode = display.view[fromIndex - 1].node.nextSibling;\n      }\n      var toIndex = findViewIndex(cm, to.line);\n      if (toIndex == display.view.length - 1) {\n        var toLine = display.viewTo - 1;\n        var toNode = display.lineDiv.lastChild;\n      } else {\n        var toLine = lineNo(display.view[toIndex + 1].line) - 1;\n        var toNode = display.view[toIndex + 1].node.previousSibling;\n      }\n\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\n      newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd);\n      newText[0] = newText[0].slice(cutFront);\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    ensurePolled: function() {\n      this.forceCompositionEnd();\n    },\n    reset: function() {\n      this.forceCompositionEnd();\n    },\n    forceCompositionEnd: function() {\n      if (!this.composing || this.composing.handled) return;\n      this.applyComposition(this.composing);\n      this.composing.handled = true;\n      this.div.blur();\n      this.div.focus();\n    },\n    applyComposition: function(composing) {\n      if (this.cm.isReadOnly())\n        operation(this.cm, regChange)(this.cm)\n      else if (composing.data && composing.data != composing.startData)\n        operation(this.cm, applyTextInput)(this.cm, composing.data, 0, composing.sel);\n    },\n\n    setUneditable: function(node) {\n      node.contentEditable = \"false\"\n    },\n\n    onKeyPress: function(e) {\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    readOnlyChanged: function(val) {\n      this.div.contentEditable = String(val != \"nocursor\")\n    },\n\n    onContextMenu: nothing,\n    resetPosition: nothing,\n\n    needsContentAttribute: true\n  }, ContentEditableInput.prototype);\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), 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 badPos(pos, bad) { if (bad) pos.bad = true; return pos; }\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 = offset; before; before = before.previousSibling) {\n      found = find(before, before.firstChild, -1);\n      if (found)\n        return badPos(Pos(found.line, found.ch + dist), bad);\n      else\n        dist += after.textContent.length;\n    }\n  }\n\n  function domTextBetween(cm, from, to, fromLine, toLine) {\n    var text = \"\", closing = false, lineSep = cm.doc.lineSeparator();\n    function recognizeMarker(id) { return function(marker) { return marker.id == id; }; }\n    function walk(node) {\n      if (node.nodeType == 1) {\n        var cmText = node.getAttribute(\"cm-text\");\n        if (cmText != null) {\n          if (cmText == \"\") cmText = node.textContent.replace(/\\u200b/g, \"\");\n          text += 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()))\n            text += getBetween(cm.doc, range.from, range.to).join(lineSep);\n          return;\n        }\n        if (node.getAttribute(\"contenteditable\") == \"false\") return;\n        for (var i = 0; i < node.childNodes.length; i++)\n          walk(node.childNodes[i]);\n        if (/^(pre|div|p)$/i.test(node.nodeName))\n          closing = true;\n      } else if (node.nodeType == 3) {\n        var val = node.nodeValue;\n        if (!val) return;\n        if (closing) {\n          text += lineSep;\n          closing = false;\n        }\n        text += val;\n      }\n    }\n    for (;;) {\n      walk(from);\n      if (from == to) break;\n      from = from.nextSibling;\n    }\n    return text;\n  }\n\n  CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\n  // SELECTION / CURSOR\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  function Selection(ranges, primIndex) {\n    this.ranges = ranges;\n    this.primIndex = primIndex;\n  }\n\n  Selection.prototype = {\n    primary: function() { return this.ranges[this.primIndex]; },\n    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 (cmp(here.anchor, there.anchor) != 0 || cmp(here.head, there.head) != 0) return false;\n      }\n      return true;\n    },\n    deepCopy: function() {\n      for (var out = [], 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    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    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\n  function Range(anchor, head) {\n    this.anchor = anchor; this.head = head;\n  }\n\n  Range.prototype = {\n    from: function() { return minPos(this.anchor, this.head); },\n    to: function() { return maxPos(this.anchor, this.head); },\n    empty: function() {\n      return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch;\n    }\n  };\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(ranges, primIndex) {\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      if (cmp(prev.to(), cur.from()) >= 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  // 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 isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size;}\n  function clipPosArray(doc, array) {\n    for (var out = [], i = 0; i < array.length; i++) out[i] = clipPos(doc, array[i]);\n    return out;\n  }\n\n  // SELECTION UPDATES\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(doc, range, head, other) {\n    if (doc.cm && doc.cm.display.shift || doc.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) {\n    setSelection(doc, new Selection([extendRange(doc, doc.sel.primary(), head, other)], 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    for (var out = [], i = 0; i < doc.sel.ranges.length; i++)\n      out[i] = extendRange(doc, doc.sel.ranges[i], heads[i], null);\n    var newSel = normalizeSelection(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(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(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)\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 = 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), sel_dontScroll);\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(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      if ((sp.from == null || (m.inclusiveLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&\n          (sp.to == null || (m.inclusiveRight ? 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;\n          if (dir < 0 ? m.inclusiveRight : m.inclusiveLeft)\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 ? m.inclusiveLeft : m.inclusiveRight)\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  // SELECTION DRAWING\n\n  function updateSelection(cm) {\n    cm.display.input.showSelection(cm.display.input.prepareSelection());\n  }\n\n  function prepareSelection(cm, primary) {\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 === false && 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 (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  // 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\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 +\n                               \"px; top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) +\n                               \"px; 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      iterateBidiSections(getOrder(lineObj), fromArg || 0, toArg == null ? lineLen : toArg, function(from, to, dir) {\n        var leftPos = coords(from, \"left\"), rightPos, left, right;\n        if (from == to) {\n          rightPos = leftPos;\n          left = right = leftPos.left;\n        } else {\n          rightPos = coords(to - 1, \"right\");\n          if (dir == \"rtl\") { var tmp = leftPos; leftPos = rightPos; rightPos = tmp; }\n          left = leftPos.left;\n          right = rightPos.right;\n        }\n        if (fromArg == null && from == 0) left = leftSide;\n        if (rightPos.top - leftPos.top > 3) { // Different lines, draw top part\n          add(left, leftPos.top, null, leftPos.bottom);\n          left = leftSide;\n          if (leftPos.bottom < rightPos.top) add(left, leftPos.bottom, null, rightPos.top);\n        }\n        if (toArg == null && to == lineLen) right = rightSide;\n        if (!start || leftPos.top < start.top || leftPos.top == start.top && leftPos.left < start.left)\n          start = leftPos;\n        if (!end || rightPos.bottom > end.bottom || rightPos.bottom == end.bottom && rightPos.right > end.right)\n          end = rightPos;\n        if (left < leftSide + 1) left = leftSide;\n        add(left, rightPos.top, right - left, rightPos.bottom);\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        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  // HIGHLIGHT WORKER\n\n  function startWorker(cm, time) {\n    if (cm.doc.mode.startState && cm.doc.frontier < 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.frontier < doc.first) doc.frontier = doc.first;\n    if (doc.frontier >= cm.display.viewTo) return;\n    var end = +new Date + cm.options.workTime;\n    var state = copyState(doc.mode, getStateBefore(cm, doc.frontier));\n    var changedLines = [];\n\n    doc.iter(doc.frontier, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function(line) {\n      if (doc.frontier >= cm.display.viewFrom) { // Visible\n        var oldStyles = line.styles, tooLong = line.text.length > cm.options.maxHighlightLength;\n        var highlighted = highlightLine(cm, line, tooLong ? copyState(doc.mode, state) : state, true);\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(doc.frontier);\n        line.stateAfter = tooLong ? state : copyState(doc.mode, state);\n      } else {\n        if (line.text.length <= cm.options.maxHighlightLength)\n          processLine(cm, line.text, state);\n        line.stateAfter = doc.frontier % 5 == 0 ? copyState(doc.mode, state) : null;\n      }\n      ++doc.frontier;\n      if (+new Date > end) {\n        startWorker(cm, cm.options.workDelay);\n        return true;\n      }\n    });\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  // 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);\n      if (line.stateAfter && (!precise || search <= doc.frontier)) 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 getStateBefore(cm, n, precise) {\n    var doc = cm.doc, display = cm.display;\n    if (!doc.mode.startState) return true;\n    var pos = findStartLine(cm, n, precise), state = pos > doc.first && getLine(doc, pos-1).stateAfter;\n    if (!state) state = startState(doc.mode);\n    else state = copyState(doc.mode, state);\n    doc.iter(pos, n, function(line) {\n      processLine(cm, line.text, state);\n      var save = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo;\n      line.stateAfter = save ? copyState(doc.mode, state) : null;\n      ++pos;\n    });\n    if (precise) doc.frontier = pos;\n    return state;\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\"));\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 = 0; i < lineView.rest.length; i++)\n      if (lineNo(lineView.rest[i]) > lineN)\n        return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i], 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;\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      var mStart = map[i], 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 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 = 0; i < 4; i++) { // 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 if (ie && cm.options.lineWrapping) {\n          var rects = range(node, start, end).getClientRects();\n          if (rects.length)\n            rect = rects[bias == \"right\" ? rects.length - 1 : 0];\n          else\n            rect = nullRect;\n        } else {\n          rect = range(node, start, end).getBoundingClientRect() || nullRect;\n        }\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    for (var i = 0; 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() { return window.pageXOffset || (document.documentElement || document.body).scrollLeft; }\n  function pageScrollY() { return window.pageYOffset || (document.documentElement || document.body).scrollTop; }\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) {\n    if (lineObj.widgets) for (var i = 0; i < lineObj.widgets.length; ++i) if (lineObj.widgets[i].above) {\n      var size = widgetHeight(lineObj.widgets[i]);\n      rect.top += size; rect.bottom += size;\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  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    function getBidi(ch, partPos) {\n      var part = order[partPos], right = part.level % 2;\n      if (ch == bidiLeft(part) && partPos && part.level < order[partPos - 1].level) {\n        part = order[--partPos];\n        ch = bidiRight(part) - (part.level % 2 ? 0 : 1);\n        right = true;\n      } else if (ch == bidiRight(part) && partPos < order.length - 1 && part.level < order[partPos + 1].level) {\n        part = order[++partPos];\n        ch = bidiLeft(part) - part.level % 2;\n        right = false;\n      }\n      if (right && ch == part.to && ch > part.from) return get(ch - 1);\n      return get(ch, right);\n    }\n    var order = getOrder(lineObj), ch = pos.ch;\n    if (!order) return get(ch);\n    var partPos = getBidiPartAt(order, ch);\n    var val = getBidi(ch, partPos);\n    if (bidiOther != null) val.other = getBidi(ch, bidiOther);\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, 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, outside, xRel) {\n    var pos = Pos(line, ch);\n    pos.xRel = xRel;\n    if (outside) pos.outside = true;\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, true, -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, true, 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 merged = collapsedSpanAtEnd(lineObj);\n      var mergedPos = merged && merged.find(0, true);\n      if (merged && (found.ch > mergedPos.from.ch || found.ch == mergedPos.from.ch && found.xRel > 0))\n        lineN = lineNo(lineObj = mergedPos.to.line);\n      else\n        return found;\n    }\n  }\n\n  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n    var innerOff = y - heightAtLine(lineObj);\n    var wrongLine = false, adjust = 2 * cm.display.wrapper.clientWidth;\n    var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n\n    function getX(ch) {\n      var sp = cursorCoords(cm, Pos(lineNo, ch), \"line\", lineObj, preparedMeasure);\n      wrongLine = true;\n      if (innerOff > sp.bottom) return sp.left - adjust;\n      else if (innerOff < sp.top) return sp.left + adjust;\n      else wrongLine = false;\n      return sp.left;\n    }\n\n    var bidi = getOrder(lineObj), dist = lineObj.text.length;\n    var from = lineLeft(lineObj), to = lineRight(lineObj);\n    var fromX = getX(from), fromOutside = wrongLine, toX = getX(to), toOutside = wrongLine;\n\n    if (x > toX) return PosWithInfo(lineNo, to, toOutside, 1);\n    // Do a binary search between these bounds.\n    for (;;) {\n      if (bidi ? to == from || to == moveVisually(lineObj, from, 1) : to - from <= 1) {\n        var ch = x < fromX || x - fromX <= toX - x ? from : to;\n        var xDiff = x - (ch == from ? fromX : toX);\n        while (isExtendingChar(lineObj.text.charAt(ch))) ++ch;\n        var pos = PosWithInfo(lineNo, ch, ch == from ? fromOutside : toOutside,\n                              xDiff < -1 ? -1 : xDiff > 1 ? 1 : 0);\n        return pos;\n      }\n      var step = Math.ceil(dist / 2), middle = from + step;\n      if (bidi) {\n        middle = from;\n        for (var i = 0; i < step; ++i) middle = moveVisually(lineObj, middle, 1);\n      }\n      var middleX = getX(middle);\n      if (middleX > x) {to = middle; toX = middleX; if (toOutside = wrongLine) toX += 1000; dist = step;}\n      else {from = middle; fromX = middleX; fromOutside = wrongLine; dist -= step;}\n    }\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\");\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]);\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  // OPERATIONS\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 operationGroup = null;\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: null,       // 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    };\n    if (operationGroup) {\n      operationGroup.ops.push(cm.curOp);\n    } else {\n      cm.curOp.ownsGroup = operationGroup = {\n        ops: [cm.curOp],\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  // Finish an operation, updating the display and signalling delayed events\n  function endOperation(cm) {\n    var op = cm.curOp, group = op.ownsGroup;\n    if (!group) return;\n\n    try { fireCallbacksForOps(group); }\n    finally {\n      operationGroup = null;\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 = 0; i < ops.length; i++) // Write DOM (maybe)\n      endOperation_W1(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      endOperation_R2(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Write DOM (maybe)\n      endOperation_W2(ops[i]);\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      endOperation_finish(ops[i]);\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(op.focus);\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() && (!document.hasFocus || document.hasFocus())\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 && (display.scroller.scrollTop != op.scrollTop || op.forceScroll)) {\n      doc.scrollTop = Math.max(0, Math.min(display.scroller.scrollHeight - display.scroller.clientHeight, op.scrollTop));\n      display.scrollbars.setScrollTop(doc.scrollTop);\n      display.scroller.scrollTop = doc.scrollTop;\n    }\n    if (op.scrollLeft != null && (display.scroller.scrollLeft != op.scrollLeft || op.forceScroll)) {\n      doc.scrollLeft = Math.max(0, Math.min(display.scroller.scrollWidth - display.scroller.clientWidth, op.scrollLeft));\n      display.scrollbars.setScrollLeft(doc.scrollLeft);\n      display.scroller.scrollLeft = doc.scrollLeft;\n      alignHorizontally(cm);\n    }\n    // If we need to scroll a specific position into view, do so.\n    if (op.scrollToPos) {\n      var coords = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n                                     clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n      if (op.scrollToPos.isCursor && cm.state.focused) maybeScrollWindow(cm, coords);\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 = 0; i < unhidden.length; ++i)\n      if (unhidden[i].lines.length) signal(unhidden[i], \"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  // VIEW TRACKING\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  // 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 = viewCuttingPoint(cm, from, from, -1);\n      if (cut) {\n        display.view = display.view.slice(0, cut.index);\n        display.viewTo = cut.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  // 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  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    for (var i = 0, n = cm.display.viewFrom; 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  // EVENT HANDLERS\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) { 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    if (!captureRightClick) on(d.scroller, \"contextmenu\", function(e) {onContextMenu(cm, e);});\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() {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)) {\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        setScrollTop(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){onScrollWheel(cm, e);});\n    on(d.scroller, \"DOMMouseScroll\", function(e){onScrollWheel(cm, e);});\n\n    // Prevent wrapper from ever scrolling\n    on(d.wrapper, \"scroll\", function() { 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){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) { onKeyUp.call(cm, e); });\n    on(inp, \"keydown\", operation(cm, onKeyDown));\n    on(inp, \"keypress\", operation(cm, onKeyPress));\n    on(inp, \"focus\", bind(onFocus, cm));\n    on(inp, \"blur\", bind(onBlur, cm));\n  }\n\n  function dragDropChanged(cm, value, old) {\n    var wasOn = old && old != CodeMirror.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  // Called when the window resizes\n  function onResize(cm) {\n    var d = cm.display;\n    if (d.lastWrapHeight == d.wrapper.clientHeight && d.lastWrapWidth == d.wrapper.clientWidth)\n      return;\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  // MOUSE EVENTS\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  // 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) { return null; }\n    var coords = coordsChar(cm, x, y), line;\n    if (forRect && coords.xRel == 1 && (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  // 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.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(){display.scroller.draggable = true;}, 100);\n      }\n      return;\n    }\n    if (clickInGutter(cm, e)) return;\n    var start = posFromMouse(cm, e);\n    window.focus();\n\n    switch (e_button(e)) {\n    case 1:\n      // #3261: make sure, that we're not starting a second selection\n      if (cm.state.selectingText)\n        cm.state.selectingText(e);\n      else if (start)\n        leftButtonDown(cm, e, start);\n      else if (e_target(e) == display.scroller)\n        e_preventDefault(e);\n      break;\n    case 2:\n      if (webkit) cm.state.lastMiddleDown = +new Date;\n      if (start) extendSelection(cm.doc, start);\n      setTimeout(function() {display.input.focus();}, 20);\n      e_preventDefault(e);\n      break;\n    case 3:\n      if (captureRightClick) onContextMenu(cm, e);\n      else delayBlurEvent(cm);\n      break;\n    }\n  }\n\n  var lastClick, lastDoubleClick;\n  function leftButtonDown(cm, e, start) {\n    if (ie) setTimeout(bind(ensureFocus, cm), 0);\n    else cm.curOp.focus = activeElt();\n\n    var now = +new Date, type;\n    if (lastDoubleClick && lastDoubleClick.time > now - 400 && cmp(lastDoubleClick.pos, start) == 0) {\n      type = \"triple\";\n    } else if (lastClick && lastClick.time > now - 400 && cmp(lastClick.pos, start) == 0) {\n      type = \"double\";\n      lastDoubleClick = {time: now, pos: start};\n    } else {\n      type = \"single\";\n      lastClick = {time: now, pos: start};\n    }\n\n    var sel = cm.doc.sel, modifier = mac ? e.metaKey : e.ctrlKey, contained;\n    if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&\n        type == \"single\" && (contained = sel.contains(start)) > -1 &&\n        (cmp((contained = sel.ranges[contained]).from(), start) < 0 || start.xRel > 0) &&\n        (cmp(contained.to(), start) > 0 || start.xRel < 0))\n      leftButtonStartDrag(cm, e, start, modifier);\n    else\n      leftButtonSelect(cm, e, start, type, modifier);\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, e, start, modifier) {\n    var display = cm.display, startTime = +new Date;\n    var dragEnd = operation(cm, function(e2) {\n      if (webkit) display.scroller.draggable = false;\n      cm.state.draggingText = false;\n      off(document, \"mouseup\", dragEnd);\n      off(display.scroller, \"drop\", dragEnd);\n      if (Math.abs(e.clientX - e2.clientX) + Math.abs(e.clientY - e2.clientY) < 10) {\n        e_preventDefault(e2);\n        if (!modifier && +new Date - 200 < startTime)\n          extendSelection(cm.doc, start);\n        // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)\n        if (webkit || ie && ie_version == 9)\n          setTimeout(function() {document.body.focus(); display.input.focus();}, 20);\n        else\n          display.input.focus();\n      }\n    });\n    // Let the drag handler handle this.\n    if (webkit) display.scroller.draggable = true;\n    cm.state.draggingText = dragEnd;\n    // IE's approach to draggable\n    if (display.scroller.dragDrop) display.scroller.dragDrop();\n    on(document, \"mouseup\", dragEnd);\n    on(display.scroller, \"drop\", dragEnd);\n  }\n\n  // Normal selection, as opposed to text dragging.\n  function leftButtonSelect(cm, e, start, type, addNew) {\n    var display = cm.display, doc = cm.doc;\n    e_preventDefault(e);\n\n    var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n    if (addNew && !e.shiftKey) {\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 (chromeOS ? e.shiftKey && e.metaKey : e.altKey) {\n      type = \"rect\";\n      if (!addNew) ourRange = new Range(start, start);\n      start = posFromMouse(cm, e, true, true);\n      ourIndex = -1;\n    } else if (type == \"double\") {\n      var word = cm.findWordAt(start);\n      if (cm.display.shift || doc.extend)\n        ourRange = extendRange(doc, ourRange, word.anchor, word.head);\n      else\n        ourRange = word;\n    } else if (type == \"triple\") {\n      var line = new Range(Pos(start.line, 0), clipPos(doc, Pos(start.line + 1, 0)));\n      if (cm.display.shift || doc.extend)\n        ourRange = extendRange(doc, ourRange, line.anchor, line.head);\n      else\n        ourRange = line;\n    } else {\n      ourRange = extendRange(doc, ourRange, start);\n    }\n\n    if (!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(ranges.concat([ourRange]), ourIndex),\n                   {scroll: false, origin: \"*mouse\"});\n    } else if (ranges.length > 1 && ranges[ourIndex].empty() && type == \"single\" && !e.shiftKey) {\n      setSelection(doc, normalizeSelection(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 (type == \"rect\") {\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(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 anchor = oldRange.anchor, head = pos;\n        if (type != \"single\") {\n          if (type == \"double\")\n            var range = cm.findWordAt(pos);\n          else\n            var range = new Range(Pos(pos.line, 0), clipPos(doc, Pos(pos.line + 1, 0)));\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        }\n        var ranges = startSel.ranges.slice(0);\n        ranges[ourIndex] = new Range(clipPos(doc, anchor), head);\n        setSelection(doc, normalizeSelection(ranges, 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, type == \"rect\");\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      e_preventDefault(e);\n      display.input.focus();\n      off(document, \"mousemove\", move);\n      off(document, \"mouseup\", up);\n      doc.history.lastSelOrigin = null;\n    }\n\n    var move = operation(cm, function(e) {\n      if (!e_button(e)) done(e);\n      else extend(e);\n    });\n    var up = operation(cm, done);\n    cm.state.selectingText = up;\n    on(document, \"mousemove\", move);\n    on(document, \"mouseup\", up);\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    try { var mX = e.clientX, mY = e.clientY; }\n    catch(e) { return false; }\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.options.gutters.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.options.gutters[i];\n        signal(cm, type, cm, line, gutter, 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  // 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 loadFile = function(file, i) {\n        if (cm.options.allowDropFileTypes &&\n            indexOf(cm.options.allowDropFileTypes, file.type) == -1)\n          return;\n\n        var reader = new FileReader;\n        reader.onload = operation(cm, function() {\n          var content = reader.result;\n          if (/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(content)) content = \"\";\n          text[i] = content;\n          if (++read == n) {\n            pos = clipPos(cm.doc, pos);\n            var change = {from: pos, to: pos,\n                          text: cm.doc.splitLines(text.join(cm.doc.lineSeparator())),\n                          origin: \"paste\"};\n            makeChange(cm.doc, change);\n            setSelectionReplaceHistory(cm.doc, simpleSelection(pos, changeEnd(change)));\n          }\n        });\n        reader.readAsText(file);\n      };\n      for (var i = 0; i < n; ++i) loadFile(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() {cm.display.input.focus();}, 20);\n        return;\n      }\n      try {\n        var text = e.dataTransfer.getData(\"Text\");\n        if (text) {\n          if (cm.state.draggingText && !(mac ? e.altKey : e.ctrlKey))\n            var selected = cm.listSelections();\n          setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n          if (selected) for (var i = 0; i < selected.length; ++i)\n            replaceRange(cm.doc, \"\", selected[i].anchor, selected[i].head, \"drag\");\n          cm.replaceSelection(text, \"around\", \"paste\");\n          cm.display.input.focus();\n        }\n      }\n      catch(e){}\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  // SCROLL EVENTS\n\n  // Sync the scrollable area and scrollbars, ensure the viewport\n  // covers the visible area.\n  function setScrollTop(cm, val) {\n    if (Math.abs(cm.doc.scrollTop - val) < 2) return;\n    cm.doc.scrollTop = val;\n    if (!gecko) updateDisplaySimple(cm, {top: val});\n    if (cm.display.scroller.scrollTop != val) cm.display.scroller.scrollTop = val;\n    cm.display.scrollbars.setScrollTop(val);\n    if (gecko) updateDisplaySimple(cm);\n    startWorker(cm, 100);\n  }\n  // Sync scroller and scrollbar, ensure the gutter elements are\n  // aligned.\n  function setScrollLeft(cm, val, isScroller) {\n    if (isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) return;\n    val = Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth);\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  // 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  var wheelEventDelta = function(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  CodeMirror.wheelEventPixels = function(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        setScrollTop(cm, Math.max(0, Math.min(scroll.scrollTop + dy * wheelPixelsPerUnit, scroll.scrollHeight - scroll.clientHeight)));\n      setScrollLeft(cm, Math.max(0, Math.min(scroll.scrollLeft + dx * wheelPixelsPerUnit, scroll.scrollWidth - scroll.clientWidth)));\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  // KEY EVENTS\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  var stopSeq = new Delayed;\n  function dispatchKey(cm, name, e, handle) {\n    var seq = cm.state.keySeq;\n    if (seq) {\n      if (isModifierKey(name)) return \"handled\";\n      stopSeq.set(50, function() {\n        if (cm.state.keySeq == seq) {\n          cm.state.keySeq = null;\n          cm.display.input.reset();\n        }\n      });\n      name = seq + \" \" + name;\n    }\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    if (seq && !result && /\\'$/.test(name)) {\n      e_preventDefault(e);\n      return true;\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,\n                       function(b) { return doHandleBinding(cm, b, true); });\n  }\n\n  var lastStoppedKey = null;\n  function onKeyDown(e) {\n    var cm = this;\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\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 (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    if (handleCharBinding(cm, e, ch)) return;\n    cm.display.input.onKeyPress(e);\n  }\n\n  // FOCUS/BLUR EVENTS\n\n  function delayBlurEvent(cm) {\n    cm.state.delayingBlurEvent = true;\n    setTimeout(function() {\n      if (cm.state.delayingBlurEvent) {\n        cm.state.delayingBlurEvent = false;\n        onBlur(cm);\n      }\n    }, 100);\n  }\n\n  function onFocus(cm) {\n    if (cm.state.delayingBlurEvent) cm.state.delayingBlurEvent = false;\n\n    if (cm.options.readOnly == \"nocursor\") return;\n    if (!cm.state.focused) {\n      signal(cm, \"focus\", cm);\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() { cm.display.input.reset(true); }, 20); // Issue #1730\n      }\n      cm.display.input.receivedFocus();\n    }\n    restartBlink(cm);\n  }\n  function onBlur(cm) {\n    if (cm.state.delayingBlurEvent) return;\n\n    if (cm.state.focused) {\n      signal(cm, \"blur\", cm);\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  // 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    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  // UPDATING\n\n  // Compute the position of the end of a change (its 'to' property\n  // refers to the pre-change end).\n  var changeEnd = CodeMirror.changeEnd = function(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(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  // 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() { this.canceled = true; }\n    };\n    if (update) obj.update = function(from, to, text, origin) {\n      if (from) this.from = clipPos(doc, from);\n      if (to) this.to = clipPos(doc, to);\n      if (text) this.text = text;\n      if (origin !== undefined) this.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) return null;\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});\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    if (doc.cm && doc.cm.state.suppressEdits) 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    for (var i = 0; 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      }\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    for (var i = event.changes.length - 1; i >= 0; --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\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) {\n      return new Range(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\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    // Adjust frontier, schedule worker\n    doc.frontier = Math.min(doc.frontier, 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    if (!to) to = from;\n    if (cmp(to, from) < 0) { var tmp = to; to = from; from = tmp; }\n    if (typeof code == \"string\") code = doc.splitLines(code);\n    makeChange(doc, {from: from, to: to, text: code, origin: origin});\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, coords) {\n    if (signalDOMEvent(cm, \"scrollCursorIntoView\")) return;\n\n    var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n    if (coords.top + box.top < 0) doScroll = true;\n    else if (coords.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) doScroll = false;\n    if (doScroll != null && !phantom) {\n      var scrollNode = elt(\"div\", \"\\u200b\", null, \"position: absolute; top: \" +\n                           (coords.top - display.viewOffset - paddingTop(cm.display)) + \"px; height: \" +\n                           (coords.bottom - coords.top + scrollGap(cm) + display.barHeight) + \"px; left: \" +\n                           coords.left + \"px; width: 2px;\");\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    for (var limit = 0; limit < 5; limit++) {\n      var changed = false, coords = cursorCoords(cm, pos);\n      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n      var scrollPos = calculateScrollPos(cm, Math.min(coords.left, endCoords.left),\n                                         Math.min(coords.top, endCoords.top) - margin,\n                                         Math.max(coords.left, endCoords.left),\n                                         Math.max(coords.bottom, endCoords.bottom) + margin);\n      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n      if (scrollPos.scrollTop != null) {\n        setScrollTop(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 coords;\n  }\n\n  // Scroll a given set of coordinates into view (immediately).\n  function scrollIntoView(cm, x1, y1, x2, y2) {\n    var scrollPos = calculateScrollPos(cm, x1, y1, x2, y2);\n    if (scrollPos.scrollTop != null) setScrollTop(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, x1, y1, x2, y2) {\n    var display = cm.display, snapMargin = textHeight(cm.display);\n    if (y1 < 0) y1 = 0;\n    var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n    var screen = displayHeight(cm), result = {};\n    if (y2 - y1 > screen) y2 = y1 + screen;\n    var docBottom = cm.doc.height + paddingVert(display);\n    var atTop = y1 < snapMargin, atBottom = y2 > docBottom - snapMargin;\n    if (y1 < screentop) {\n      result.scrollTop = atTop ? 0 : y1;\n    } else if (y2 > screentop + screen) {\n      var newTop = Math.min(y1, (atBottom ? docBottom : y2) - screen);\n      if (newTop != screentop) result.scrollTop = newTop;\n    }\n\n    var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft;\n    var screenw = displayWidth(cm) - (cm.options.fixedGutter ? display.gutters.offsetWidth : 0);\n    var tooWide = x2 - x1 > screenw;\n    if (tooWide) x2 = x1 + screenw;\n    if (x1 < 10)\n      result.scrollLeft = 0;\n    else if (x1 < screenleft)\n      result.scrollLeft = Math.max(0, x1 - (tooWide ? 0 : 10));\n    else if (x2 > screenw + screenleft - 3)\n      result.scrollLeft = x2 + (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 addToScrollPos(cm, left, top) {\n    if (left != null || top != null) resolveScrollToPos(cm);\n    if (left != null)\n      cm.curOp.scrollLeft = (cm.curOp.scrollLeft == null ? cm.doc.scrollLeft : cm.curOp.scrollLeft) + left;\n    if (top != null)\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(), from = cur, to = cur;\n    if (!cm.options.lineWrapping) {\n      from = cur.ch ? Pos(cur.line, cur.ch - 1) : cur;\n      to = Pos(cur.line, cur.ch + 1);\n    }\n    cm.curOp.scrollToPos = {from: from, to: to, margin: cm.options.cursorScrollMargin, isCursor: true};\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      var sPos = calculateScrollPos(cm, Math.min(from.left, to.left),\n                                    Math.min(from.top, to.top) - range.margin,\n                                    Math.max(from.right, to.right),\n                                    Math.max(from.bottom, to.bottom) + range.margin);\n      cm.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n    }\n  }\n\n  // API UTILITIES\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 = getStateBefore(cm, n);\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 = 0; i < doc.sel.ranges.length; i++) {\n        var range = doc.sel.ranges[i];\n        if (range.head.line == n && range.head.ch < curSpaceString.length) {\n          var pos = Pos(n, curSpaceString.length);\n          replaceOneSelection(doc, i, new Range(pos, pos));\n          break;\n        }\n      }\n    }\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  // 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  // Used for horizontal relative motion. Dir is -1 or 1 (left or\n  // right), unit can be \"char\", \"column\" (like char, but doesn't\n  // cross line boundaries), \"word\" (across next word), or \"group\" (to\n  // the start of next group of word or non-word-non-whitespace\n  // chars). The visually param controls whether, in right-to-left\n  // text, direction 1 means to move towards the next index in the\n  // string, or towards the character to the right of the current\n  // position. The resulting position will have a hitSide=true\n  // property if it reached the end of the document.\n  function findPosH(doc, pos, dir, unit, visually) {\n    var line = pos.line, ch = pos.ch, origDir = dir;\n    var lineObj = getLine(doc, line);\n    function findNextLine() {\n      var l = line + dir;\n      if (l < doc.first || l >= doc.first + doc.size) return false\n      line = l;\n      return lineObj = getLine(doc, l);\n    }\n    function moveOnce(boundToLine) {\n      var next = (visually ? moveVisually : moveLogically)(lineObj, ch, dir, true);\n      if (next == null) {\n        if (!boundToLine && findNextLine()) {\n          if (visually) ch = (dir < 0 ? lineRight : lineLeft)(lineObj);\n          else ch = dir < 0 ? lineObj.text.length : 0;\n        } else return false\n      } else ch = next;\n      return true;\n    }\n\n    if (unit == \"char\") {\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(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();}\n          break;\n        }\n\n        if (type) sawType = type;\n        if (dir > 0 && !moveOnce(!first)) break;\n      }\n    }\n    var result = skipAtomic(doc, Pos(line, ch), pos, origDir, true);\n    if (!cmp(pos, 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      y = pos.top + dir * (pageSize - (dir < 0 ? 1.5 : .5) * textHeight(cm.display));\n    } else if (unit == \"line\") {\n      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n    }\n    for (;;) {\n      var 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  // EDITOR METHODS\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  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    },\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      this.state.overlays.push({mode: mode, modeSpec: spec, opaque: options && options.opaque});\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(\"cm-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 = 0; i < help._global.length; i++) {\n        var cur = help._global[i];\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 getStateBefore(this, line + 1, precise);\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) {\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\").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    setGutterMarker: methodOp(function(line, gutterID, value) {\n      return changeLine(this.doc, 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: methodOp(function(gutterID) {\n      var cm = this, doc = cm.doc, i = doc.first;\n      doc.iter(function(line) {\n        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n          line.gutterMarkers[gutterID] = null;\n          regLineChange(cm, i, \"gutter\");\n          if (isEmpty(line.gutterMarkers)) line.gutterMarkers = null;\n        }\n        ++i;\n      });\n    }),\n\n    lineInfo: function(line) {\n      if (typeof line == \"number\") {\n        if (!isLine(this.doc, line)) return null;\n        var n = line;\n        line = getLine(this.doc, line);\n        if (!line) return null;\n      } else {\n        var 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    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, top, left + node.offsetWidth, top + node.offsetHeight);\n    },\n\n    triggerOnKeyDown: methodOp(onKeyDown),\n    triggerOnKeyPress: methodOp(onKeyPress),\n    triggerOnKeyUp: onKeyUp,\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      for (var i = 0, cur = clipPos(this.doc, from); 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 cm = this;\n      cm.extendSelectionsBy(function(range) {\n        if (cm.display.shift || cm.doc.extend || range.empty())\n          return findPosH(cm.doc, range.head, dir, unit, cm.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      for (var i = 0, cur = clipPos(this.doc, from); 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 cm = this, doc = this.doc, goals = [];\n      var collapse = !cm.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(cm, range.head, \"div\");\n        if (range.goalColumn != null) headPos.left = range.goalColumn;\n        goals.push(headPos.left);\n        var pos = findPosV(cm, headPos, dir, unit);\n        if (unit == \"page\" && range == doc.sel.primary())\n          addToScrollPos(cm, null, charCoords(cm, 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.xRel < 0 || 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) {\n      if (x != null || y != null) resolveScrollToPos(this);\n      if (x != null) this.curOp.scrollLeft = x;\n      if (y != null) this.curOp.scrollTop = y;\n    }),\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        resolveScrollToPos(this);\n        this.curOp.scrollToPos = range;\n      } else {\n        var sPos = calculateScrollPos(this, Math.min(range.from.left, range.to.left),\n                                      Math.min(range.from.top, range.to.top) - range.margin,\n                                      Math.max(range.from.right, range.to.right),\n                                      Math.max(range.from.bottom, range.to.bottom) + range.margin);\n        this.scrollTo(sPos.scrollLeft, sPos.scrollTop);\n      }\n    }),\n\n    setSize: methodOp(function(width, height) {\n      var cm = this;\n      function interpret(val) {\n        return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val;\n      }\n      if (width != null) cm.display.wrapper.style.width = interpret(width);\n      if (height != null) cm.display.wrapper.style.height = interpret(height);\n      if (cm.options.lineWrapping) clearLineMeasurementCache(this);\n      var lineNo = cm.display.viewFrom;\n      cm.doc.iter(lineNo, cm.display.viewTo, function(line) {\n        if (line.widgets) for (var i = 0; i < line.widgets.length; i++)\n          if (line.widgets[i].noHScroll) { regLineChange(cm, lineNo, \"widget\"); break; }\n        ++lineNo;\n      });\n      cm.curOp.forceUpdate = true;\n      signal(cm, \"refresh\", this);\n    }),\n\n    operation: function(f){return runInOp(this, f);},\n\n    refresh: methodOp(function() {\n      var oldHeight = this.display.cachedTextHeight;\n      regChange(this);\n      this.curOp.forceUpdate = true;\n      clearCaches(this);\n      this.scrollTo(this.doc.scrollLeft, this.doc.scrollTop);\n      updateGutterSpace(this);\n      if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5)\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      attachDoc(this, doc);\n      clearCaches(this);\n      this.display.input.reset();\n      this.scrollTo(doc.scrollLeft, doc.scrollTop);\n      this.curOp.forceScroll = true;\n      signalLater(this, \"swapDoc\", this, old);\n      return old;\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  // OPTION DEFAULTS\n\n  // The default configuration options.\n  var defaults = CodeMirror.defaults = {};\n  // Functions to run when options are changed.\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  // Passed to option handlers when there is no old value.\n  var Init = CodeMirror.Init = {toString: function(){return \"CodeMirror.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) {\n    cm.setValue(val);\n  }, 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  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\\u00ad\\u200b-\\u200f\\u2028\\u2029\\ufeff]/g, function(cm, val, old) {\n    cm.state.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n    if (old != CodeMirror.Init) cm.refresh();\n  });\n  option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function(cm) {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(\"rtlMoveVisually\", !windows);\n  option(\"wholeLineUpdateBefore\", true);\n\n  option(\"theme\", \"default\", function(cm) {\n    themeChanged(cm);\n    guttersChanged(cm);\n  }, true);\n  option(\"keyMap\", \"default\", function(cm, val, old) {\n    var next = getKeyMap(val);\n    var prev = old != CodeMirror.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\n  option(\"lineWrapping\", false, wrappingChanged, true);\n  option(\"gutters\", [], function(cm) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(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) {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) {\n    setGuttersForLineNumbers(cm.options);\n    guttersChanged(cm);\n  }, true);\n  option(\"firstLineNumber\", 1, guttersChanged, true);\n  option(\"lineNumberFormatter\", function(integer) {return integer;}, guttersChanged, true);\n  option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n  option(\"resetSelectionOnContextMenu\", true);\n  option(\"lineWiseCopyCut\", true);\n\n  option(\"readOnly\", false, function(cm, val) {\n    if (val == \"nocursor\") {\n      onBlur(cm);\n      cm.display.input.blur();\n      cm.display.disabled = true;\n    } else {\n      cm.display.disabled = false;\n    }\n    cm.display.input.readOnlyChanged(val)\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){cm.doc.history.undoDepth = val;});\n  option(\"historyEventDelay\", 1250);\n  option(\"viewportMargin\", 10, function(cm){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) {\n    cm.display.input.getField().tabIndex = val || \"\";\n  });\n  option(\"autofocus\", null);\n\n  // MODE DEFINITION AND QUERYING\n\n  // Known modes, by name and by MIME\n  var modes = CodeMirror.modes = {}, mimeModes = CodeMirror.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  CodeMirror.defineMode = function(name, mode) {\n    if (!CodeMirror.defaults.mode && name != \"null\") CodeMirror.defaults.mode = name;\n    if (arguments.length > 2)\n      mode.dependencies = Array.prototype.slice.call(arguments, 2);\n    modes[name] = mode;\n  };\n\n  CodeMirror.defineMIME = function(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  CodeMirror.resolveMode = function(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 CodeMirror.resolveMode(\"application/xml\");\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  CodeMirror.getMode = function(options, spec) {\n    var spec = CodeMirror.resolveMode(spec);\n    var mfactory = modes[spec.name];\n    if (!mfactory) return CodeMirror.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 in spec.modeProps)\n      modeObj[prop] = spec.modeProps[prop];\n\n    return modeObj;\n  };\n\n  // Minimal default mode.\n  CodeMirror.defineMode(\"null\", function() {\n    return {token: function(stream) {stream.skipToEnd();}};\n  });\n  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n  // This can be used to attach properties to mode objects from\n  // outside the actual mode definition.\n  var modeExtensions = CodeMirror.modeExtensions = {};\n  CodeMirror.extendMode = function(mode, properties) {\n    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n    copyObj(properties, exts);\n  };\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  CodeMirror.defineOption = option;\n\n  var initHooks = [];\n  CodeMirror.defineInitHook = function(f) {initHooks.push(f);};\n\n  var helpers = CodeMirror.helpers = {};\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  // MODE STATE HANDLING\n\n  // Utility functions for working with state. Exported because nested\n  // modes need to do this for their inner modes.\n\n  var copyState = CodeMirror.copyState = function(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  var startState = CodeMirror.startState = function(mode, a1, a2) {\n    return mode.startState ? mode.startState(a1, a2) : true;\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  CodeMirror.innerMode = function(mode, state) {\n    while (mode.innerMode) {\n      var 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  // STANDARD COMMANDS\n\n  // Commands are parameter-less actions that can be performed on an\n  // editor, mostly used for keybindings.\n  var commands = CodeMirror.commands = {\n    selectAll: function(cm) {cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);},\n    singleSelection: function(cm) {\n      cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll);\n    },\n    killLine: function(cm) {\n      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    },\n    deleteLine: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        return {from: Pos(range.from().line, 0),\n                to: clipPos(cm.doc, Pos(range.to().line + 1, 0))};\n      });\n    },\n    delLineLeft: function(cm) {\n      deleteNearSelection(cm, function(range) {\n        return {from: Pos(range.from().line, 0), to: range.from()};\n      });\n    },\n    delWrappedLineLeft: function(cm) {\n      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    },\n    delWrappedLineRight: function(cm) {\n      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    },\n    undo: function(cm) {cm.undo();},\n    redo: function(cm) {cm.redo();},\n    undoSelection: function(cm) {cm.undoSelection();},\n    redoSelection: function(cm) {cm.redoSelection();},\n    goDocStart: function(cm) {cm.extendSelection(Pos(cm.firstLine(), 0));},\n    goDocEnd: function(cm) {cm.extendSelection(Pos(cm.lastLine()));},\n    goLineStart: function(cm) {\n      cm.extendSelectionsBy(function(range) { return lineStart(cm, range.head.line); },\n                            {origin: \"+move\", bias: 1});\n    },\n    goLineStartSmart: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        return lineStartSmart(cm, range.head);\n      }, {origin: \"+move\", bias: 1});\n    },\n    goLineEnd: function(cm) {\n      cm.extendSelectionsBy(function(range) { return lineEnd(cm, range.head.line); },\n                            {origin: \"+move\", bias: -1});\n    },\n    goLineRight: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n      }, sel_move);\n    },\n    goLineLeft: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(range.head, \"div\").top + 5;\n        return cm.coordsChar({left: 0, top: top}, \"div\");\n      }, sel_move);\n    },\n    goLineLeftSmart: function(cm) {\n      cm.extendSelectionsBy(function(range) {\n        var top = cm.charCoords(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    },\n    goLineUp: function(cm) {cm.moveV(-1, \"line\");},\n    goLineDown: function(cm) {cm.moveV(1, \"line\");},\n    goPageUp: function(cm) {cm.moveV(-1, \"page\");},\n    goPageDown: function(cm) {cm.moveV(1, \"page\");},\n    goCharLeft: function(cm) {cm.moveH(-1, \"char\");},\n    goCharRight: function(cm) {cm.moveH(1, \"char\");},\n    goColumnLeft: function(cm) {cm.moveH(-1, \"column\");},\n    goColumnRight: function(cm) {cm.moveH(1, \"column\");},\n    goWordLeft: function(cm) {cm.moveH(-1, \"word\");},\n    goGroupRight: function(cm) {cm.moveH(1, \"group\");},\n    goGroupLeft: function(cm) {cm.moveH(-1, \"group\");},\n    goWordRight: function(cm) {cm.moveH(1, \"word\");},\n    delCharBefore: function(cm) {cm.deleteH(-1, \"char\");},\n    delCharAfter: function(cm) {cm.deleteH(1, \"char\");},\n    delWordBefore: function(cm) {cm.deleteH(-1, \"word\");},\n    delWordAfter: function(cm) {cm.deleteH(1, \"word\");},\n    delGroupBefore: function(cm) {cm.deleteH(-1, \"group\");},\n    delGroupAfter: function(cm) {cm.deleteH(1, \"group\");},\n    indentAuto: function(cm) {cm.indentSelection(\"smart\");},\n    indentMore: function(cm) {cm.indentSelection(\"add\");},\n    indentLess: function(cm) {cm.indentSelection(\"subtract\");},\n    insertTab: function(cm) {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    transposeChars: function(cm) {\n      runInOp(cm, function() {\n        var ranges = cm.listSelections(), newSel = [];\n        for (var i = 0; i < ranges.length; i++) {\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                cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +\n                                prev.charAt(prev.length - 1),\n                                Pos(cur.line - 1, prev.length - 1), Pos(cur.line, 1), \"+transpose\");\n            }\n          }\n          newSel.push(new Range(cur, cur));\n        }\n        cm.setSelections(newSel);\n      });\n    },\n    newlineAndIndent: function(cm) {\n      runInOp(cm, function() {\n        var len = cm.listSelections().length;\n        for (var i = 0; i < len; i++) {\n          var range = cm.listSelections()[i];\n          cm.replaceRange(cm.doc.lineSeparator(), range.anchor, range.head, \"+input\");\n          cm.indentLine(range.from().line + 1, null, true);\n        }\n        ensureCursorVisible(cm);\n      });\n    },\n    openLine: function(cm) {cm.replaceSelection(\"\\n\", \"start\")},\n    toggleOverwrite: function(cm) {cm.toggleOverwrite();}\n  };\n\n\n  // STANDARD KEYMAPS\n\n  var keyMap = CodeMirror.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    \"Alt-F\": \"goWordRight\", \"Alt-B\": \"goWordLeft\", \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\",\n    \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\", \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\",\n    \"Alt-D\": \"delWordAfter\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\", \"Ctrl-T\": \"transposeChars\",\n    \"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(/-(?!$)/), 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  CodeMirror.normalizeKeyMap = function(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, name;\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  var lookupKey = CodeMirror.lookupKey = function(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  var isModifierKey = CodeMirror.isModifierKey = function(value) {\n    var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\";\n  };\n\n  // Look up the name of a key as indicated by an event object.\n  var keyName = CodeMirror.keyName = function(event, noShift) {\n    if (presto && event.keyCode == 34 && event[\"char\"]) return false;\n    var base = keyNames[event.keyCode], name = base;\n    if (name == null || event.altGraphKey) return false;\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 != \"Cmd\") name = \"Cmd-\" + name;\n    if (!noShift && event.shiftKey && base != \"Shift\") name = \"Shift-\" + name;\n    return name;\n  };\n\n  function getKeyMap(val) {\n    return typeof val == \"string\" ? keyMap[val] : val;\n  }\n\n  // FROMTEXTAREA\n\n  CodeMirror.fromTextArea = function(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    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, 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 (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) {\n      textarea.parentNode.insertBefore(node, textarea.nextSibling);\n    }, options);\n    return cm;\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 = CodeMirror.StringStream = function(string, tabSize) {\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  };\n\n  StringStream.prototype = {\n    eol: function() {return this.pos >= this.string.length;},\n    sol: function() {return this.pos == this.lineStart;},\n    peek: function() {return this.string.charAt(this.pos) || undefined;},\n    next: function() {\n      if (this.pos < this.string.length)\n        return this.string.charAt(this.pos++);\n    },\n    eat: function(match) {\n      var ch = this.string.charAt(this.pos);\n      if (typeof match == \"string\") var ok = ch == match;\n      else var ok = ch && (match.test ? match.test(ch) : match(ch));\n      if (ok) {++this.pos; return ch;}\n    },\n    eatWhile: function(match) {\n      var start = this.pos;\n      while (this.eat(match)){}\n      return this.pos > start;\n    },\n    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    skipToEnd: function() {this.pos = this.string.length;},\n    skipTo: function(ch) {\n      var found = this.string.indexOf(ch, this.pos);\n      if (found > -1) {this.pos = found; return true;}\n    },\n    backUp: function(n) {this.pos -= n;},\n    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    indentation: function() {\n      return countColumn(this.string, null, this.tabSize) -\n        (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0);\n    },\n    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    current: function(){return this.string.slice(this.start, this.pos);},\n    hideFirstChars: function(n, inner) {\n      this.lineStart += n;\n      try { return inner(); }\n      finally { this.lineStart -= n; }\n    }\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  var nextMarkerId = 0;\n\n  var TextMarker = CodeMirror.TextMarker = function(doc, type) {\n    this.lines = [];\n    this.type = type;\n    this.doc = doc;\n    this.id = ++nextMarkerId;\n  };\n  eventMixin(TextMarker);\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 = 0; i < this.lines.length; ++i) {\n      var visual = visualLine(this.lines[i]), 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);\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 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    });\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  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\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  // 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 = elt(\"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      sawCollapsedSpans = true;\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));\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() { marker.clear(); });\n\n    if (marker.readOnly) {\n      sawReadOnlySpans = true;\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.title || marker.startStyle || marker.endStyle || marker.css)\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 = CodeMirror.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  eventMixin(SharedTextMarker);\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  SharedTextMarker.prototype.find = function(side, lineObj) {\n    return this.primary.find(side, lineObj);\n  };\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())),\n                         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    for (var i = 0; i < markers.length; i++) {\n      var marker = markers[i], linked = [marker.primary.doc];;\n      linkedDocs(marker.primary.doc, function(d) { 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\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  // 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    for (var r, i = 0; i < spans.length; ++i)\n      if (spans[i] != span) (r || (r = [])).push(spans[i]);\n    return r;\n  }\n  // Add a span to a line.\n  function addMarkedSpan(line, span) {\n    line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\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    if (old) for (var i = 0, nw; 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    if (old) for (var i = 0, nw; 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 = 0; i < last.length; ++i) {\n        var span = last[i];\n        if (span.to != null) span.to += offset;\n        if (span.from == null) {\n          var found = getMarkedSpanFor(first, span.marker);\n          if (!found) {\n            span.from = offset;\n            if (sameLine) (first || (first = [])).push(span);\n          }\n        } else {\n          span.from += offset;\n          if (sameLine) (first || (first = [])).push(span);\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 = 0; i < first.length; ++i)\n          if (first[i].to == null)\n            (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i].marker, null, null));\n      for (var i = 0; i < gap; ++i)\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 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 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 - 1;\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, 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  // 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  // 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  // 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, 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, 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  // LINE WIDGETS\n\n  // Line widgets are block elements displayed above or below a line.\n\n  var LineWidget = CodeMirror.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  eventMixin(LineWidget);\n\n  function adjustScrollWhenAboveVisible(cm, line, diff) {\n    if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n      addToScrollPos(cm, null, diff);\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) runInOp(cm, function() {\n      adjustScrollWhenAboveVisible(cm, line, -height);\n      regLineChange(cm, no, \"widget\");\n    });\n  };\n  LineWidget.prototype.changed = function() {\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    updateLineHeight(line, line.height + diff);\n    if (cm) runInOp(cm, function() {\n      cm.curOp.forceUpdate = true;\n      adjustScrollWhenAboveVisible(cm, line, diff);\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  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 - 1, 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) addToScrollPos(cm, null, widget.height);\n        cm.curOp.forceUpdate = true;\n      }\n      return true;\n    });\n    return widget;\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 = CodeMirror.Line = function(text, markedSpans, estimateHeight) {\n    this.text = text;\n    attachMarkedSpans(this, markedSpans);\n    this.height = estimateHeight ? estimateHeight(this) : 1;\n  };\n  eventMixin(Line);\n  Line.prototype.lineNo = function() { return lineNo(this); };\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  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  function callBlankLine(mode, state) {\n    if (mode.blankLine) return mode.blankLine(state);\n    if (!mode.innerMode) return;\n    var inner = CodeMirror.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] = CodeMirror.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  // Utility for getTokenAt and getLineTokens\n  function takeToken(cm, pos, precise, asArray) {\n    function getObj(copy) {\n      return {start: stream.start, end: stream.pos,\n              string: stream.current(),\n              type: style || null,\n              state: copy ? copyState(doc.mode, state) : state};\n    }\n\n    var doc = cm.doc, mode = doc.mode, style;\n    pos = clipPos(doc, pos);\n    var line = getLine(doc, pos.line), state = getStateBefore(cm, pos.line, precise);\n    var stream = new StringStream(line.text, cm.options.tabSize), tokens;\n    if (asArray) tokens = [];\n    while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n      stream.start = stream.pos;\n      style = readToken(mode, stream, state);\n      if (asArray) tokens.push(getObj(true));\n    }\n    return asArray ? tokens : getObj();\n  }\n\n  // Run the given mode's parser over a line, calling f for each token.\n  function runMode(cm, text, mode, state, 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), style;\n    var inner = cm.options.addModeClass && [null];\n    if (text == \"\") extractLineClasses(callBlankLine(mode, state), lineClasses);\n    while (!stream.eol()) {\n      if (stream.pos > cm.options.maxHighlightLength) {\n        flattenSpans = false;\n        if (forceToEnd) processLine(cm, text, state, stream.pos);\n        stream.pos = text.length;\n        style = null;\n      } else {\n        style = extractLineClasses(readToken(mode, stream, 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 + 50000);\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 characters\n      var pos = Math.min(stream.pos, curStart + 50000);\n      f(pos, curStyle);\n      curStart = pos;\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, state, 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, state, function(end, style) {\n      st.push(end, style);\n    }, lineClasses, forceToEnd);\n\n    // Run overlays, adjust style array.\n    for (var o = 0; o < cm.state.overlays.length; ++o) {\n      var overlay = cm.state.overlays[o], i = 1, at = 0;\n      runMode(cm, line.text, overlay.mode, true, 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, \"cm-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 + \" \" : \"\") + \"cm-overlay \" + style;\n          }\n        }\n      }, lineClasses);\n    }\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 state = getStateBefore(cm, lineNo(line));\n      var result = highlightLine(cm, line, line.text.length > cm.options.maxHighlightLength ? copyState(cm.doc.mode, state) : state);\n      line.stateAfter = state;\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.frontier) cm.doc.frontier++;\n    }\n    return line.styles;\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, state, startAt) {\n    var mode = cm.doc.mode;\n    var stream = new StringStream(text, cm.options.tabSize);\n    stream.start = stream.pos = startAt || 0;\n    if (text == \"\") callBlankLine(mode, state);\n    while (!stream.eol()) {\n      readToken(mode, stream, state);\n      stream.start = stream.pos;\n    }\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 = elt(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n    var builder = {pre: elt(\"pre\", [content], \"CodeMirror-line\"), content: content,\n                   col: 0, pos: 0, cm: cm,\n                   splitSpaces: (ie || webkit) && 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;\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)))\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, title, css) {\n    if (!text) return;\n    var displayText = builder.splitSpaces ? text.replace(/ {3,}/g, splitSpaces) : text;\n    var special = builder.cm.state.specialChars, mustWrap = false;\n    if (!special.test(text)) {\n      builder.col += text.length;\n      var 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      var content = document.createDocumentFragment(), 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        if (m[0] == \"\\t\") {\n          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n          var txt = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n          txt.setAttribute(\"role\", \"presentation\");\n          txt.setAttribute(\"cm-text\", \"\\t\");\n          builder.col += tabWidth;\n        } else if (m[0] == \"\\r\" || m[0] == \"\\n\") {\n          var txt = content.appendChild(elt(\"span\", m[0] == \"\\r\" ? \"\\u240d\" : \"\\u2424\", \"cm-invalidchar\"));\n          txt.setAttribute(\"cm-text\", m[0]);\n          builder.col += 1;\n        } else {\n          var txt = builder.cm.options.specialCharPlaceholder(m[0]);\n          txt.setAttribute(\"cm-text\", m[0]);\n          if (ie && ie_version < 9) content.appendChild(elt(\"span\", [txt]));\n          else content.appendChild(txt);\n          builder.col += 1;\n        }\n        builder.map.push(builder.pos, builder.pos + 1, txt);\n        builder.pos++;\n      }\n    }\n    if (style || startStyle || endStyle || mustWrap || css) {\n      var fullStyle = style || \"\";\n      if (startStyle) fullStyle += startStyle;\n      if (endStyle) fullStyle += endStyle;\n      var token = elt(\"span\", [content], fullStyle, css);\n      if (title) token.title = title;\n      return builder.content.appendChild(token);\n    }\n    builder.content.appendChild(content);\n  }\n\n  function splitSpaces(old) {\n    var out = \" \";\n    for (var i = 0; i < old.length - 2; ++i) out += i % 2 ? \" \" : \"\\u00a0\";\n    out += \" \";\n    return out;\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, title, css) {\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        for (var i = 0; i < order.length; i++) {\n          var 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, title, css);\n        inner(builder, text.slice(0, part.to - start), style, startStyle, null, title, css);\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  }\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; i < styles.length; i+=2)\n        builder.addToken(builder, allText.slice(at, at = styles[i]), interpretTokenStyle(styles[i+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, title, collapsed;\n    for (;;) {\n      if (nextChange == pos) { // Update current marker set\n        spanStyle = spanEndStyle = spanStartStyle = title = css = \"\";\n        collapsed = null; nextChange = Infinity;\n        var foundBookmarks = [], endStyles\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            if (m.title && !title) title = m.title;\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 = 0; j < endStyles.length; j += 2)\n          if (endStyles[j + 1] == nextChange) spanEndStyle += \" \" + endStyles[j]\n\n        if (!collapsed || collapsed.from == pos) for (var j = 0; j < foundBookmarks.length; ++j)\n          buildCollapsedSpan(builder, 0, foundBookmarks[j]);\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 : \"\", title, css);\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  // 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      for (var i = start, result = []; 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 = linesFor(1, text.length - 1);\n        added.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);\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 = linesFor(1, text.length - 1);\n      if (nlines > 1) doc.remove(from.line + 1, nlines - 1);\n      doc.insert(from.line + 1, added);\n    }\n\n    signalLater(doc, \"change\", doc, change);\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    for (var i = 0, height = 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    // 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    // Helper used to collapse a small branch into a single leaf.\n    collapse: function(lines) {\n      lines.push.apply(lines, this.lines);\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    // 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    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    collapse: function(lines) {\n      for (var i = 0; i < this.children.length; ++i) this.children[i].collapse(lines);\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    // 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    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  var nextDocId = 0;\n  var Doc = CodeMirror.Doc = function(text, mode, firstLine, lineSep) {\n    if (!(this instanceof Doc)) return new Doc(text, mode, firstLine, lineSep);\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.frontier = 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.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      setSelection(this, simpleSelection(top));\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      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      for (var i = 0, out = []; i < ranges.length; i++)\n        out[i] = new Range(clipPos(this, ranges[i].anchor),\n                           clipPos(this, ranges[i].head));\n      if (primary == null) primary = Math.min(ranges.length - 1, this.sel.primIndex);\n      setSelection(this, normalizeSelection(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(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 = changes.length - 1; i >= 0; i--)\n        makeChange(this, changes[i]);\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 = 0; i < hist.undone.length; i++) if (!hist.undone[i].ranges) ++undone;\n      return {undo: done, redo: undone};\n    },\n    clearHistory: function() {this.history = new History(this.history.maxGeneration);},\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.maxGeneration);\n      hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n      hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\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) {\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);\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);\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) {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\n  // Public alias.\n  Doc.prototype.eachLine = Doc.prototype.iter;\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\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    if (!cm.options.lineWrapping) findMaxLine(cm);\n    cm.options.mode = doc.modeOption;\n    regChange(cm);\n  }\n\n  // LINE UTILITIES\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    for (var chunk = doc; !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); });\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 = 0; i < chunk.children.length; ++i) {\n        var child = chunk.children[i], 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    for (var i = 0; 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\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 = 0; i < p.children.length; ++i) {\n        var cur = p.children[i];\n        if (cur == chunk) break;\n        else h += cur.height;\n      }\n    }\n    return h;\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) {\n    var order = line.order;\n    if (order == null) order = line.order = bidiOrdering(line.text);\n    return order;\n  }\n\n  // HISTORY\n\n  function History(startGen) {\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 = 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 = startGen || 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) {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, ore 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\n    if ((hist.lastOp == opId ||\n         hist.lastOrigin == change.origin && change.origin &&\n         ((change.origin.charAt(0) == \"+\" && doc.cm && hist.lastModTime > time - doc.cm.options.historyEventDelay) ||\n          change.origin.charAt(0) == \"*\")) &&\n        (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n      // Merge this change into the last event\n      var 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    for (var i = 0, out; 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    for (var i = 0, nw = []; i < change.text.length; ++i)\n      nw.push(removeClearedSpans(found[i]));\n    return nw;\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    for (var i = 0, copy = []; 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;\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  // 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 = 0; j < sub.changes.length; ++j) {\n        var cur = sub.changes[j];\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  // EVENT UTILITIES\n\n  // Due to the fact that we still support jurassic IE versions, some\n  // compatibility wrappers are needed.\n\n  var e_preventDefault = CodeMirror.e_preventDefault = function(e) {\n    if (e.preventDefault) e.preventDefault();\n    else e.returnValue = false;\n  };\n  var e_stopPropagation = CodeMirror.e_stopPropagation = function(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  var e_stop = CodeMirror.e_stop = function(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  // EVENT HANDLING\n\n  // Lightweight event framework. on/off also work on DOM nodes,\n  // registering native DOM handlers.\n\n  var on = CodeMirror.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      var arr = map[type] || (map[type] = []);\n      arr.push(f);\n    }\n  };\n\n  var noHandlers = []\n  function getHandlers(emitter, type, copy) {\n    var arr = emitter._handlers && emitter._handlers[type]\n    if (copy) return arr && arr.length > 0 ? arr.slice() : noHandlers\n    else return arr || noHandlers\n  }\n\n  var off = CodeMirror.off = function(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 handlers = getHandlers(emitter, type, false)\n      for (var i = 0; i < handlers.length; ++i)\n        if (handlers[i] == f) { handlers.splice(i, 1); break; }\n    }\n  };\n\n  var signal = CodeMirror.signal = function(emitter, type /*, values...*/) {\n    var handlers = getHandlers(emitter, type, true)\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  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, false)\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    function bnd(f) {return function(){f.apply(null, args);};};\n    for (var i = 0; i < arr.length; ++i)\n      list.push(bnd(arr[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  // 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  // MISC UTILITIES\n\n  // Number of pixels added to scroller and sizer to hide scrollbar\n  var scrollerGap = 30;\n\n  // Returned or thrown by various protocols to signal 'I'm not\n  // handling this'.\n  var Pass = CodeMirror.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  function Delayed() {this.id = null;}\n  Delayed.prototype.set = function(ms, f) {\n    clearTimeout(this.id);\n    this.id = setTimeout(f, ms);\n  };\n\n  // Counts the column offset in a string, taking tabs into account.\n  // Used mostly to find indentation.\n  var countColumn = CodeMirror.countColumn = function(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  // The inverse of countColumn -- find the offset that corresponds to\n  // a particular column.\n  var findColumn = CodeMirror.findColumn = function(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  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 indexOf(array, elt) {\n    for (var i = 0; i < array.length; ++i)\n      if (array[i] == elt) return i;\n    return -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 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  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  function bind(f) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return function(){return f.apply(null, args);};\n  }\n\n  var nonASCIISingleCaseWordChar = /[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n  var isWordCharBasic = CodeMirror.isWordChar = function(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  // DOM UTILITIES\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\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 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  var contains = CodeMirror.contains = function(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    var activeElement = document.activeElement;\n    while (activeElement && activeElement.root && activeElement.root.activeElement)\n      activeElement = activeElement.root.activeElement;\n    return activeElement;\n  }\n  // Older versions of IE throws unspecified error when touching\n  // document.activeElement in some cases (during loading, in iframe)\n  if (ie && ie_version < 11) activeElt = function() {\n    try { return document.activeElement; }\n    catch(e) { return document.body; }\n  };\n\n  function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\"); }\n  var rmClass = CodeMirror.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  var addClass = CodeMirror.addClass = function(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  // WINDOW-WIDE EVENTS\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.body.getElementsByClassName) return;\n    var byClass = document.body.getElementsByClassName(\"CodeMirror\");\n    for (var i = 0; i < byClass.length; i++) {\n      var cm = byClass[i].CodeMirror;\n      if (cm) f(cm);\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() {\n      forEachCodeMirror(onBlur);\n    });\n  }\n\n  // FEATURE DETECTION\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    if (!r0 || r0.left == r0.right) return false; // Safari returns null in some cases (#2780)\n    var r1 = range(txt, 1, 2).getBoundingClientRect();\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 = CodeMirror.splitLines = \"\\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    try {var 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  // KEY NAMES\n\n  var keyNames = CodeMirror.keyNames = {\n    3: \"Enter\", 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: \"/\", 127: \"Delete\",\n    173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n    221: \"]\", 222: \"'\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n    63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"\n  };\n  (function() {\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 = 65; i <= 90; i++) keyNames[i] = String.fromCharCode(i);\n    // Function keys\n    for (var i = 1; i <= 12; i++) keyNames[i + 111] = keyNames[i + 63235] = \"F\" + i;\n  })();\n\n  // BIDI HELPERS\n\n  function iterateBidiSections(order, from, to, f) {\n    if (!order) return f(from, to, \"ltr\");\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\");\n        found = true;\n      }\n    }\n    if (!found) f(from, to, \"ltr\");\n  }\n\n  function bidiLeft(part) { return part.level % 2 ? part.to : part.from; }\n  function bidiRight(part) { return part.level % 2 ? part.from : part.to; }\n\n  function lineLeft(line) { var order = getOrder(line); return order ? bidiLeft(order[0]) : 0; }\n  function lineRight(line) {\n    var order = getOrder(line);\n    if (!order) return line.text.length;\n    return bidiRight(lst(order));\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    var order = getOrder(visual);\n    var ch = !order ? 0 : order[0].level % 2 ? lineRight(visual) : lineLeft(visual);\n    return Pos(lineN, ch);\n  }\n  function lineEnd(cm, lineN) {\n    var merged, line = getLine(cm.doc, lineN);\n    while (merged = collapsedSpanAtEnd(line)) {\n      line = merged.find(1, true).line;\n      lineN = null;\n    }\n    var order = getOrder(line);\n    var ch = !order ? line.text.length : order[0].level % 2 ? lineLeft(line) : lineRight(line);\n    return Pos(lineN == null ? lineNo(line) : lineN, ch);\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);\n    if (!order || order[0].level == 0) {\n      var firstNonWS = Math.max(0, line.text.search(/\\S/));\n      var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n      return Pos(start.line, inWS ? 0 : firstNonWS);\n    }\n    return start;\n  }\n\n  function compareBidiLevel(order, a, b) {\n    var linedir = order[0].level;\n    if (a == linedir) return true;\n    if (b == linedir) return false;\n    return a < b;\n  }\n  var bidiOther;\n  function getBidiPartAt(order, pos) {\n    bidiOther = null;\n    for (var i = 0, found; i < order.length; ++i) {\n      var cur = order[i];\n      if (cur.from < pos && cur.to > pos) return i;\n      if ((cur.from == pos || cur.to == pos)) {\n        if (found == null) {\n          found = i;\n        } else if (compareBidiLevel(order, cur.level, order[found].level)) {\n          if (cur.from != cur.to) bidiOther = found;\n          return i;\n        } else {\n          if (cur.from != cur.to) bidiOther = i;\n          return found;\n        }\n      }\n    }\n    return found;\n  }\n\n  function moveInLine(line, pos, dir, byUnit) {\n    if (!byUnit) return pos + dir;\n    do pos += dir;\n    while (pos > 0 && isExtendingChar(line.text.charAt(pos)));\n    return pos;\n  }\n\n  // This is needed in order to move 'visually' through bi-directional\n  // text -- i.e., pressing left should make the cursor go left, even\n  // when in RTL text. The tricky part is the 'jumps', where RTL and\n  // LTR text touch each other. This often requires the cursor offset\n  // to move more than one unit, in order to visually move one unit.\n  function moveVisually(line, start, dir, byUnit) {\n    var bidi = getOrder(line);\n    if (!bidi) return moveLogically(line, start, dir, byUnit);\n    var pos = getBidiPartAt(bidi, start), part = bidi[pos];\n    var target = moveInLine(line, start, part.level % 2 ? -dir : dir, byUnit);\n\n    for (;;) {\n      if (target > part.from && target < part.to) return target;\n      if (target == part.from || target == part.to) {\n        if (getBidiPartAt(bidi, target) == pos) return target;\n        part = bidi[pos += dir];\n        return (dir > 0) == part.level % 2 ? part.to : part.from;\n      } else {\n        part = bidi[pos += dir];\n        if (!part) return null;\n        if ((dir > 0) == part.level % 2)\n          target = moveInLine(line, part.to, -1, byUnit);\n        else\n          target = moveInLine(line, part.from, 1, byUnit);\n      }\n    }\n  }\n\n  function moveLogically(line, start, dir, byUnit) {\n    var target = start + dir;\n    if (byUnit) while (target > 0 && isExtendingChar(line.text.charAt(target))) target += dir;\n    return target < 0 || target > line.text.length ? null : target;\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 0x6ff\n    var arabicTypes = \"rrrrrrrrrrrr,rNNmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmrrrrrrrnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmNmmmm\";\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 <= 0x6ed) 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    // Browsers seem to always treat the boundaries of block elements as being L.\n    var outerType = \"L\";\n\n    function BidiSpan(level, from, to) {\n      this.level = level;\n      this.from = from; this.to = to;\n    }\n\n    return function(str) {\n      if (!bidiRE.test(str)) return false;\n      var len = str.length, types = [];\n      for (var i = 0, type; i < len; ++i)\n        types.push(type = 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 = 0, prev = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"m\") types[i] = 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 = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (type == \"1\" && cur == \"r\") types[i] = \"n\";\n        else if (isStrong.test(type)) { cur = type; if (type == \"r\") types[i] = \"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 = 1, prev = types[0]; i < len - 1; ++i) {\n        var type = types[i];\n        if (type == \"+\" && prev == \"1\" && types[i+1] == \"1\") types[i] = \"1\";\n        else if (type == \",\" && prev == types[i+1] &&\n                 (prev == \"1\" || prev == \"n\")) types[i] = prev;\n        prev = type;\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 = 0; i < len; ++i) {\n        var type = types[i];\n        if (type == \",\") types[i] = \"N\";\n        else if (type == \"%\") {\n          for (var end = i + 1; end < len && types[end] == \"%\"; ++end) {}\n          var replace = (i && types[i-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = 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 = 0, cur = outerType; i < len; ++i) {\n        var type = types[i];\n        if (cur == \"L\" && type == \"1\") types[i] = \"L\";\n        else if (isStrong.test(type)) cur = type;\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 = 0; i < len; ++i) {\n        if (isNeutral.test(types[i])) {\n          for (var end = i + 1; end < len && isNeutral.test(types[end]); ++end) {}\n          var before = (i ? types[i-1] : outerType) == \"L\";\n          var after = (end < len ? types[end] : outerType) == \"L\";\n          var replace = before || after ? \"L\" : \"R\";\n          for (var j = i; j < end; ++j) types[j] = replace;\n          i = end - 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 = 0; i < len;) {\n        if (countsAsLeft.test(types[i])) {\n          var start = i;\n          for (++i; i < len && countsAsLeft.test(types[i]); ++i) {}\n          order.push(new BidiSpan(0, start, i));\n        } else {\n          var pos = i, at = order.length;\n          for (++i; i < len && types[i] != \"L\"; ++i) {}\n          for (var j = pos; j < i;) {\n            if (countsAsNum.test(types[j])) {\n              if (pos < j) order.splice(at, 0, new BidiSpan(1, pos, j));\n              var nstart = j;\n              for (++j; j < i && countsAsNum.test(types[j]); ++j) {}\n              order.splice(at, 0, new BidiSpan(2, nstart, j));\n              pos = j;\n            } else ++j;\n          }\n          if (pos < i) order.splice(at, 0, new BidiSpan(1, pos, i));\n        }\n      }\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      if (order[0].level == 2)\n        order.unshift(new BidiSpan(1, order[0].to, order[0].to));\n      if (order[0].level != lst(order).level)\n        order.push(new BidiSpan(order[0].level, len, len));\n\n      return order;\n    };\n  })();\n\n  // THE END\n\n  CodeMirror.version = \"5.15.2\";\n\n  return CodeMirror;\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://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\n  CodeMirror.defineSimpleMode = function(name, states) {\n    CodeMirror.defineMode(name, function(config) {\n      return CodeMirror.simpleMode(config, states);\n    });\n  };\n\n  CodeMirror.simpleMode = function(config, states) {\n    ensureState(states, \"start\");\n    var states_ = {}, meta = states.meta || {}, hasIndentation = false;\n    for (var state in states) if (state != meta && states.hasOwnProperty(state)) {\n      var list = states_[state] = [], orig = states[state];\n      for (var i = 0; i < orig.length; i++) {\n        var data = orig[i];\n        list.push(new Rule(data, states));\n        if (data.indent || data.dedent) hasIndentation = true;\n      }\n    }\n    var mode = {\n      startState: function() {\n        return {state: \"start\", pending: null,\n                local: null, localState: null,\n                indent: hasIndentation ? [] : null};\n      },\n      copyState: function(state) {\n        var s = {state: state.state, pending: state.pending,\n                 local: state.local, localState: null,\n                 indent: state.indent && state.indent.slice(0)};\n        if (state.localState)\n          s.localState = CodeMirror.copyState(state.local.mode, state.localState);\n        if (state.stack)\n          s.stack = state.stack.slice(0);\n        for (var pers = state.persistentStates; pers; pers = pers.next)\n          s.persistentStates = {mode: pers.mode,\n                                spec: pers.spec,\n                                state: pers.state == state.localState ? s.localState : CodeMirror.copyState(pers.mode, pers.state),\n                                next: s.persistentStates};\n        return s;\n      },\n      token: tokenFunction(states_, config),\n      innerMode: function(state) { return state.local && {mode: state.local.mode, state: state.localState}; },\n      indent: indentFunction(states_, meta)\n    };\n    if (meta) for (var prop in meta) if (meta.hasOwnProperty(prop))\n      mode[prop] = meta[prop];\n    return mode;\n  };\n\n  function ensureState(states, name) {\n    if (!states.hasOwnProperty(name))\n      throw new Error(\"Undefined state \" + name + \" in simple mode\");\n  }\n\n  function toRegex(val, caret) {\n    if (!val) return /(?:)/;\n    var flags = \"\";\n    if (val instanceof RegExp) {\n      if (val.ignoreCase) flags = \"i\";\n      val = val.source;\n    } else {\n      val = String(val);\n    }\n    return new RegExp((caret === false ? \"\" : \"^\") + \"(?:\" + val + \")\", flags);\n  }\n\n  function asToken(val) {\n    if (!val) return null;\n    if (typeof val == \"string\") return val.replace(/\\./g, \" \");\n    var result = [];\n    for (var i = 0; i < val.length; i++)\n      result.push(val[i] && val[i].replace(/\\./g, \" \"));\n    return result;\n  }\n\n  function Rule(data, states) {\n    if (data.next || data.push) ensureState(states, data.next || data.push);\n    this.regex = toRegex(data.regex);\n    this.token = asToken(data.token);\n    this.data = data;\n  }\n\n  function tokenFunction(states, config) {\n    return function(stream, state) {\n      if (state.pending) {\n        var pend = state.pending.shift();\n        if (state.pending.length == 0) state.pending = null;\n        stream.pos += pend.text.length;\n        return pend.token;\n      }\n\n      if (state.local) {\n        if (state.local.end && stream.match(state.local.end)) {\n          var tok = state.local.endToken || null;\n          state.local = state.localState = null;\n          return tok;\n        } else {\n          var tok = state.local.mode.token(stream, state.localState), m;\n          if (state.local.endScan && (m = state.local.endScan.exec(stream.current())))\n            stream.pos = stream.start + m.index;\n          return tok;\n        }\n      }\n\n      var curState = states[state.state];\n      for (var i = 0; i < curState.length; i++) {\n        var rule = curState[i];\n        var matches = (!rule.data.sol || stream.sol()) && stream.match(rule.regex);\n        if (matches) {\n          if (rule.data.next) {\n            state.state = rule.data.next;\n          } else if (rule.data.push) {\n            (state.stack || (state.stack = [])).push(state.state);\n            state.state = rule.data.push;\n          } else if (rule.data.pop && state.stack && state.stack.length) {\n            state.state = state.stack.pop();\n          }\n\n          if (rule.data.mode)\n            enterLocalMode(config, state, rule.data.mode, rule.token);\n          if (rule.data.indent)\n            state.indent.push(stream.indentation() + config.indentUnit);\n          if (rule.data.dedent)\n            state.indent.pop();\n          if (matches.length > 2) {\n            state.pending = [];\n            for (var j = 2; j < matches.length; j++)\n              if (matches[j])\n                state.pending.push({text: matches[j], token: rule.token[j - 1]});\n            stream.backUp(matches[0].length - (matches[1] ? matches[1].length : 0));\n            return rule.token[0];\n          } else if (rule.token && rule.token.join) {\n            return rule.token[0];\n          } else {\n            return rule.token;\n          }\n        }\n      }\n      stream.next();\n      return null;\n    };\n  }\n\n  function cmp(a, b) {\n    if (a === b) return true;\n    if (!a || typeof a != \"object\" || !b || typeof b != \"object\") return false;\n    var props = 0;\n    for (var prop in a) if (a.hasOwnProperty(prop)) {\n      if (!b.hasOwnProperty(prop) || !cmp(a[prop], b[prop])) return false;\n      props++;\n    }\n    for (var prop in b) if (b.hasOwnProperty(prop)) props--;\n    return props == 0;\n  }\n\n  function enterLocalMode(config, state, spec, token) {\n    var pers;\n    if (spec.persistent) for (var p = state.persistentStates; p && !pers; p = p.next)\n      if (spec.spec ? cmp(spec.spec, p.spec) : spec.mode == p.mode) pers = p;\n    var mode = pers ? pers.mode : spec.mode || CodeMirror.getMode(config, spec.spec);\n    var lState = pers ? pers.state : CodeMirror.startState(mode);\n    if (spec.persistent && !pers)\n      state.persistentStates = {mode: mode, spec: spec.spec, state: lState, next: state.persistentStates};\n\n    state.localState = lState;\n    state.local = {mode: mode,\n                   end: spec.end && toRegex(spec.end),\n                   endScan: spec.end && spec.forceEnd !== false && toRegex(spec.end, false),\n                   endToken: token && token.join ? token[token.length - 1] : token};\n  }\n\n  function indexOf(val, arr) {\n    for (var i = 0; i < arr.length; i++) if (arr[i] === val) return true;\n  }\n\n  function indentFunction(states, meta) {\n    return function(state, textAfter, line) {\n      if (state.local && state.local.mode.indent)\n        return state.local.mode.indent(state.localState, textAfter, line);\n      if (state.indent == null || state.local || meta.dontIndentStates && indexOf(state.state, meta.dontIndentStates) > -1)\n        return CodeMirror.Pass;\n\n      var pos = state.indent.length - 1, rules = states[state.state];\n      scan: for (;;) {\n        for (var i = 0; i < rules.length; i++) {\n          var rule = rules[i];\n          if (rule.data.dedent && rule.data.dedentIfLineStart !== false) {\n            var m = rule.regex.exec(textAfter);\n            if (m && m[0]) {\n              pos--;\n              if (rule.next || rule.push) rules = states[rule.next || rule.push];\n              textAfter = textAfter.slice(m[0].length);\n              continue scan;\n            }\n          }\n        }\n        break;\n      }\n      return pos < 0 ? 0 : state.indent[pos];\n    };\n  }\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://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.multiplexingMode = function(outer /*, others */) {\n  // Others should be {open, close, mode [, delimStyle] [, innerStyle]} objects\n  var others = Array.prototype.slice.call(arguments, 1);\n\n  function indexOf(string, pattern, from, returnEnd) {\n    if (typeof pattern == \"string\") {\n      var found = string.indexOf(pattern, from);\n      return returnEnd && found > -1 ? found + pattern.length : found;\n    }\n    var m = pattern.exec(from ? string.slice(from) : string);\n    return m ? m.index + from + (returnEnd ? m[0].length : 0) : -1;\n  }\n\n  return {\n    startState: function() {\n      return {\n        outer: CodeMirror.startState(outer),\n        innerActive: null,\n        inner: null\n      };\n    },\n\n    copyState: function(state) {\n      return {\n        outer: CodeMirror.copyState(outer, state.outer),\n        innerActive: state.innerActive,\n        inner: state.innerActive && CodeMirror.copyState(state.innerActive.mode, state.inner)\n      };\n    },\n\n    token: function(stream, state) {\n      if (!state.innerActive) {\n        var cutOff = Infinity, oldContent = stream.string;\n        for (var i = 0; i < others.length; ++i) {\n          var other = others[i];\n          var found = indexOf(oldContent, other.open, stream.pos);\n          if (found == stream.pos) {\n            if (!other.parseDelimiters) stream.match(other.open);\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, outer.indent ? outer.indent(state.outer, \"\") : 0);\n            return other.delimStyle && (other.delimStyle + \" \" + other.delimStyle + \"-open\");\n          } else if (found != -1 && found < cutOff) {\n            cutOff = found;\n          }\n        }\n        if (cutOff != Infinity) stream.string = oldContent.slice(0, cutOff);\n        var outerToken = outer.token(stream, state.outer);\n        if (cutOff != Infinity) stream.string = oldContent;\n        return outerToken;\n      } else {\n        var curInner = state.innerActive, oldContent = stream.string;\n        if (!curInner.close && stream.sol()) {\n          state.innerActive = state.inner = null;\n          return this.token(stream, state);\n        }\n        var found = curInner.close ? indexOf(oldContent, curInner.close, stream.pos, curInner.parseDelimiters) : -1;\n        if (found == stream.pos && !curInner.parseDelimiters) {\n          stream.match(curInner.close);\n          state.innerActive = state.inner = null;\n          return curInner.delimStyle && (curInner.delimStyle + \" \" + curInner.delimStyle + \"-close\");\n        }\n        if (found > -1) stream.string = oldContent.slice(0, found);\n        var innerToken = curInner.mode.token(stream, state.inner);\n        if (found > -1) stream.string = oldContent;\n\n        if (found == stream.pos && curInner.parseDelimiters)\n          state.innerActive = state.inner = null;\n\n        if (curInner.innerStyle) {\n          if (innerToken) innerToken = innerToken + \" \" + curInner.innerStyle;\n          else innerToken = curInner.innerStyle;\n        }\n\n        return innerToken;\n      }\n    },\n\n    indent: function(state, textAfter) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (!mode.indent) return CodeMirror.Pass;\n      return mode.indent(state.innerActive ? state.inner : state.outer, textAfter);\n    },\n\n    blankLine: function(state) {\n      var mode = state.innerActive ? state.innerActive.mode : outer;\n      if (mode.blankLine) {\n        mode.blankLine(state.innerActive ? state.inner : state.outer);\n      }\n      if (!state.innerActive) {\n        for (var i = 0; i < others.length; ++i) {\n          var other = others[i];\n          if (other.open === \"\\n\") {\n            state.innerActive = other;\n            state.inner = CodeMirror.startState(other.mode, mode.indent ? mode.indent(state.outer, \"\") : 0);\n          }\n        }\n      } else if (state.innerActive.close === \"\\n\") {\n        state.innerActive = state.inner = null;\n      }\n    },\n\n    electricChars: outer.electricChars,\n\n    innerMode: function(state) {\n      return state.inner ? {state: state.inner, mode: state.innerActive.mode} : {state: state.outer, mode: outer};\n    }\n  };\n};\n\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"bower_components/codemirror/lib/codemirror\"), \n      require(\"bower_components/codemirror/addon/mode/simple\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"bower_components/codemirror/lib/codemirror\", \n      \"bower_components/codemirror/addon/mode/simple\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  CodeMirror.defineMode(\"htmlhandlebars\", function(config) {\n    return CodeMirror.multiplexingMode(\n      CodeMirror.getMode(config, \"text/html\"),\n      {open: \"{{\", close: \"}}\",\n       mode: CodeMirror.getMode(config, \"handlebars\"),\n       parseDelimiters: true});\n  });\n\n  CodeMirror.defineMIME(\"text/x-handlebars-template\", \"htmlhandlebars\");\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n// TODO actually recognize syntax of TypeScript constructs\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\nfunction expressionAllowed(stream, state, backUp) {\n  return /^(?:operator|sof|keyword c|case|new|[\\[{}\\(,;:]|=>)$/.test(state.lastType) ||\n    (state.lastType == \"quasi\" && /\\{\\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0))))\n}\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 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\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"};\n\n    var jsKeywords = {\n      \"if\": kw(\"if\"), \"while\": A, \"with\": A, \"else\": B, \"do\": B, \"try\": B, \"finally\": B,\n      \"return\": C, \"break\": C, \"continue\": C, \"new\": kw(\"new\"), \"delete\": C, \"throw\": C, \"debugger\": C,\n      \"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, \"async\": kw(\"async\")\n    };\n\n    // Extend the 'normal' keywords with the TypeScript language extensions\n    if (isTS) {\n      var type = {type: \"variable\", style: \"variable-3\"};\n      var tsKeywords = {\n        // object-like things\n        \"interface\": kw(\"class\"),\n        \"implements\": C,\n        \"namespace\": C,\n        \"module\": kw(\"module\"),\n        \"enum\": kw(\"module\"),\n\n        // scope modifiers\n        \"public\": kw(\"modifier\"),\n        \"private\": kw(\"modifier\"),\n        \"protected\": kw(\"modifier\"),\n        \"abstract\": kw(\"modifier\"),\n\n        // operators\n        \"as\": operator,\n\n        // types\n        \"string\": type, \"number\": type, \"boolean\": type, \"any\": type\n      };\n\n      for (var attr in tsKeywords) {\n        jsKeywords[attr] = tsKeywords[attr];\n      }\n    }\n\n    return jsKeywords;\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+(?:[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.eat(/x/i)) {\n      stream.eatWhile(/[\\da-f]/i);\n      return ret(\"number\", \"number\");\n    } else if (ch == \"0\" && stream.eat(/o/i)) {\n      stream.eatWhile(/[0-7]/i);\n      return ret(\"number\", \"number\");\n    } else if (ch == \"0\" && stream.eat(/b/i)) {\n      stream.eatWhile(/[01]/i);\n      return ret(\"number\", \"number\");\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^\\d*(?:\\.\\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(([gimyu])(?![gimyu]*\\2))+\\b/);\n        return ret(\"regexp\", \"string-2\");\n      } else {\n        stream.eatWhile(isOperatorChar);\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 == \"#\") {\n      stream.skipToEnd();\n      return ret(\"error\", \"error\");\n    } else if (isOperatorChar.test(ch)) {\n      stream.eatWhile(isOperatorChar);\n      return ret(\"operator\", \"operator\", stream.current());\n    } else if (wordRE.test(ch)) {\n      stream.eatWhile(wordRE);\n      var word = stream.current(), known = keywords.propertyIsEnumerable(word) && keywords[word];\n      return (known && state.lastType != \".\") ? ret(known.type, known.style, word) :\n                     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    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) 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        return;\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, \"regexp\": true, \"this\": 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    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 register(varname) {\n    function inList(list) {\n      for (var v = list; v; v = v.next)\n        if (v.name == varname) return true;\n      return false;\n    }\n    var state = cx.state;\n    cx.marked = \"def\";\n    if (state.context) {\n      if (inList(state.localVars)) return;\n      state.localVars = {name: varname, next: state.localVars};\n    } else {\n      if (inList(state.globalVars)) return;\n      if (parserConfig.globalVars)\n        state.globalVars = {name: varname, next: state.globalVars};\n    }\n  }\n\n  // Combinators\n\n  var defaultVars = {name: \"this\", next: {name: \"arguments\"}};\n  function pushcontext() {\n    cx.state.context = {prev: cx.state.context, vars: cx.state.localVars};\n    cx.state.localVars = defaultVars;\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars;\n    cx.state.context = cx.state.context.prev;\n  }\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 == \";\") 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.length), vardef, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), expression, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"{\") return cont(pushlex(\"}\"), block, poplex);\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\"), expression, statement, poplex, maybeelse);\n    }\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), forspec, statement, poplex);\n    if (type == \"variable\") return cont(pushlex(\"stat\"), maybelabel);\n    if (type == \"switch\") return cont(pushlex(\"form\"), expression, pushlex(\"}\", \"switch\"), expect(\"{\"),\n                                      block, poplex, poplex);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, expect(\"(\"), funarg, expect(\")\"),\n                                     statement, poplex, popcontext);\n    if (type == \"class\") return cont(pushlex(\"form\"), className, poplex);\n    if (type == \"export\") return cont(pushlex(\"stat\"), afterExport, poplex);\n    if (type == \"import\") return cont(pushlex(\"stat\"), afterImport, poplex);\n    if (type == \"module\") return cont(pushlex(\"form\"), pattern, pushlex(\"}\"), expect(\"{\"), block, poplex, poplex)\n    if (type == \"async\") return cont(statement)\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function expression(type) {\n    return expressionInner(type, false);\n  }\n  function expressionNoComma(type) {\n    return expressionInner(type, true);\n  }\n  function expressionInner(type, noComma) {\n    if (cx.state.fatArrowAt == cx.stream.start) {\n      var body = noComma ? arrowBodyNoComma : arrowBody;\n      if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(pattern, \")\"), 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 == \"keyword c\") return cont(noComma ? maybeexpressionNoComma : maybeexpression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, comprehension, 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  function maybeexpressionNoComma(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expressionNoComma);\n  }\n\n  function maybeoperatorComma(type, value) {\n    if (type == \",\") return cont(expression);\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)) return cont(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  }\n  function quasi(type, value) {\n    if (type != \"quasi\") return pass();\n    if (value.slice(value.length - 2) != \"${\") return cont(quasi);\n    return cont(expression, 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 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 == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(getterSetter);\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 (type == \"modifier\") {\n      return cont(objprop)\n    } else if (type == \"[\") {\n      return cont(expression, expect(\"]\"), afterprop);\n    } else if (type == \"spread\") {\n      return cont(expression);\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) {\n    function proceed(type, value) {\n      if (type == \",\") {\n        var lex = cx.state.lexical;\n        if (lex.info == \"call\") lex.pos = (lex.pos || 0) + 1;\n        return cont(what, proceed);\n      }\n      if (type == end || value == end) return cont();\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) {\n    if (isTS && type == \":\") return cont(typeexpr);\n  }\n  function maybedefault(_, value) {\n    if (value == \"=\") return cont(expressionNoComma);\n  }\n  function typeexpr(type) {\n    if (type == \"variable\") {cx.marked = \"variable-3\"; return cont(afterType);}\n  }\n  function afterType(type, value) {\n    if (value == \"<\") return cont(commasep(typeexpr, \">\"), afterType)\n    if (type == \"[\") return cont(expect(\"]\"), afterType)\n  }\n  function vardef() {\n    return pass(pattern, maybetype, maybeAssign, vardefCont);\n  }\n  function pattern(type, value) {\n    if (type == \"modifier\") return cont(pattern)\n    if (type == \"variable\") { register(value); return cont(); }\n    if (type == \"spread\") return cont(pattern);\n    if (type == \"[\") return contCommasep(pattern, \"]\");\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    return cont(expect(\":\"), 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) {\n    if (type == \"(\") return cont(pushlex(\")\"), forspec1, expect(\")\"), poplex);\n  }\n  function forspec1(type) {\n    if (type == \"var\") return cont(vardef, expect(\";\"), forspec2);\n    if (type == \";\") return cont(forspec2);\n    if (type == \"variable\") return cont(formaybeinof);\n    return pass(expression, expect(\";\"), forspec2);\n  }\n  function formaybeinof(_type, value) {\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return cont(maybeoperatorComma, forspec2);\n  }\n  function forspec2(type, value) {\n    if (type == \";\") return cont(forspec3);\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression); }\n    return pass(expression, expect(\";\"), forspec3);\n  }\n  function forspec3(type) {\n    if (type != \")\") cont(expression);\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, maybetype, statement, popcontext);\n  }\n  function funarg(type) {\n    if (type == \"spread\") return cont(funarg);\n    return pass(pattern, maybetype, maybedefault);\n  }\n  function className(type, value) {\n    if (type == \"variable\") {register(value); return cont(classNameAfter);}\n  }\n  function classNameAfter(type, value) {\n    if (value == \"extends\") return cont(expression, classNameAfter);\n    if (type == \"{\") return cont(pushlex(\"}\"), classBody, poplex);\n  }\n  function classBody(type, value) {\n    if (type == \"variable\" || cx.style == \"keyword\") {\n      if (value == \"static\") {\n        cx.marked = \"keyword\";\n        return cont(classBody);\n      }\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(classGetterSetter, functiondef, classBody);\n      return cont(functiondef, classBody);\n    }\n    if (value == \"*\") {\n      cx.marked = \"keyword\";\n      return cont(classBody);\n    }\n    if (type == \";\") return cont(classBody);\n    if (type == \"}\") return cont();\n  }\n  function classGetterSetter(type) {\n    if (type != \"variable\") return pass();\n    cx.marked = \"property\";\n    return cont();\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    return pass(statement);\n  }\n  function afterImport(type) {\n    if (type == \"string\") return cont();\n    return pass(importSpec, 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 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(expressionNoComma, maybeArrayComprehension);\n  }\n  function maybeArrayComprehension(type) {\n    if (type == \"for\") return pass(comprehension, expect(\"]\"));\n    if (type == \",\") return cont(commasep(maybeexpressionNoComma, \"]\"));\n    return pass(commasep(expressionNoComma, \"]\"));\n  }\n  function comprehension(type) {\n    if (type == \"for\") return cont(forspec, comprehension);\n    if (type == \"if\") return cont(expression, comprehension);\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  // 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 && {vars: parserConfig.localVars},\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) return CodeMirror.Pass;\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical;\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) break;\n      }\n      if (lexical.type == \"stat\" && firstChar == \"}\") 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 + 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    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    skipExpression: function(state) {\n      var top = state.cc[state.cc.length - 1]\n      if (top == expression || top == expressionNoComma) state.cc.pop()\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/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: http://codemirror.net/LICENSE\n\n// LUA mode. Ported to CodeMirror 2 from Franciszek Wawrzak's\n// CodeMirror 1 mode.\n// highlights keywords, strings, comments (no leveling supported! (\"[==[\")), tokens, basic indenting\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(\"lua\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n\n  function prefixRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")\", \"i\");\n  }\n  function wordRE(words) {\n    return new RegExp(\"^(?:\" + words.join(\"|\") + \")$\", \"i\");\n  }\n  var specials = wordRE(parserConfig.specials || []);\n\n  // long list of standard functions from lua manual\n  var builtins = wordRE([\n    \"_G\",\"_VERSION\",\"assert\",\"collectgarbage\",\"dofile\",\"error\",\"getfenv\",\"getmetatable\",\"ipairs\",\"load\",\n    \"loadfile\",\"loadstring\",\"module\",\"next\",\"pairs\",\"pcall\",\"print\",\"rawequal\",\"rawget\",\"rawset\",\"require\",\n    \"select\",\"setfenv\",\"setmetatable\",\"tonumber\",\"tostring\",\"type\",\"unpack\",\"xpcall\",\n\n    \"coroutine.create\",\"coroutine.resume\",\"coroutine.running\",\"coroutine.status\",\"coroutine.wrap\",\"coroutine.yield\",\n\n    \"debug.debug\",\"debug.getfenv\",\"debug.gethook\",\"debug.getinfo\",\"debug.getlocal\",\"debug.getmetatable\",\n    \"debug.getregistry\",\"debug.getupvalue\",\"debug.setfenv\",\"debug.sethook\",\"debug.setlocal\",\"debug.setmetatable\",\n    \"debug.setupvalue\",\"debug.traceback\",\n\n    \"close\",\"flush\",\"lines\",\"read\",\"seek\",\"setvbuf\",\"write\",\n\n    \"io.close\",\"io.flush\",\"io.input\",\"io.lines\",\"io.open\",\"io.output\",\"io.popen\",\"io.read\",\"io.stderr\",\"io.stdin\",\n    \"io.stdout\",\"io.tmpfile\",\"io.type\",\"io.write\",\n\n    \"math.abs\",\"math.acos\",\"math.asin\",\"math.atan\",\"math.atan2\",\"math.ceil\",\"math.cos\",\"math.cosh\",\"math.deg\",\n    \"math.exp\",\"math.floor\",\"math.fmod\",\"math.frexp\",\"math.huge\",\"math.ldexp\",\"math.log\",\"math.log10\",\"math.max\",\n    \"math.min\",\"math.modf\",\"math.pi\",\"math.pow\",\"math.rad\",\"math.random\",\"math.randomseed\",\"math.sin\",\"math.sinh\",\n    \"math.sqrt\",\"math.tan\",\"math.tanh\",\n\n    \"os.clock\",\"os.date\",\"os.difftime\",\"os.execute\",\"os.exit\",\"os.getenv\",\"os.remove\",\"os.rename\",\"os.setlocale\",\n    \"os.time\",\"os.tmpname\",\n\n    \"package.cpath\",\"package.loaded\",\"package.loaders\",\"package.loadlib\",\"package.path\",\"package.preload\",\n    \"package.seeall\",\n\n    \"string.byte\",\"string.char\",\"string.dump\",\"string.find\",\"string.format\",\"string.gmatch\",\"string.gsub\",\n    \"string.len\",\"string.lower\",\"string.match\",\"string.rep\",\"string.reverse\",\"string.sub\",\"string.upper\",\n\n    \"table.concat\",\"table.insert\",\"table.maxn\",\"table.remove\",\"table.sort\"\n  ]);\n  var keywords = wordRE([\"and\",\"break\",\"elseif\",\"false\",\"nil\",\"not\",\"or\",\"return\",\n                         \"true\",\"function\", \"end\", \"if\", \"then\", \"else\", \"do\",\n                         \"while\", \"repeat\", \"until\", \"for\", \"in\", \"local\" ]);\n\n  var indentTokens = wordRE([\"function\", \"if\",\"repeat\",\"do\", \"\\\\(\", \"{\"]);\n  var dedentTokens = wordRE([\"end\", \"until\", \"\\\\)\", \"}\"]);\n  var dedentPartial = prefixRE([\"end\", \"until\", \"\\\\)\", \"}\", \"else\", \"elseif\"]);\n\n  function readBracket(stream) {\n    var level = 0;\n    while (stream.eat(\"=\")) ++level;\n    stream.eat(\"[\");\n    return level;\n  }\n\n  function normal(stream, state) {\n    var ch = stream.next();\n    if (ch == \"-\" && stream.eat(\"-\")) {\n      if (stream.eat(\"[\") && stream.eat(\"[\"))\n        return (state.cur = bracketed(readBracket(stream), \"comment\"))(stream, state);\n      stream.skipToEnd();\n      return \"comment\";\n    }\n    if (ch == \"\\\"\" || ch == \"'\")\n      return (state.cur = string(ch))(stream, state);\n    if (ch == \"[\" && /[\\[=]/.test(stream.peek()))\n      return (state.cur = bracketed(readBracket(stream), \"string\"))(stream, state);\n    if (/\\d/.test(ch)) {\n      stream.eatWhile(/[\\w.%]/);\n      return \"number\";\n    }\n    if (/[\\w_]/.test(ch)) {\n      stream.eatWhile(/[\\w\\\\\\-_.]/);\n      return \"variable\";\n    }\n    return null;\n  }\n\n  function bracketed(level, style) {\n    return function(stream, state) {\n      var curlev = null, ch;\n      while ((ch = stream.next()) != null) {\n        if (curlev == null) {if (ch == \"]\") curlev = 0;}\n        else if (ch == \"=\") ++curlev;\n        else if (ch == \"]\" && curlev == level) { state.cur = normal; break; }\n        else curlev = null;\n      }\n      return style;\n    };\n  }\n\n  function string(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) break;\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (!escaped) state.cur = normal;\n      return \"string\";\n    };\n  }\n\n  return {\n    startState: function(basecol) {\n      return {basecol: basecol || 0, indentDepth: 0, cur: normal};\n    },\n\n    token: function(stream, state) {\n      if (stream.eatSpace()) return null;\n      var style = state.cur(stream, state);\n      var word = stream.current();\n      if (style == \"variable\") {\n        if (keywords.test(word)) style = \"keyword\";\n        else if (builtins.test(word)) style = \"builtin\";\n        else if (specials.test(word)) style = \"variable-2\";\n      }\n      if ((style != \"comment\") && (style != \"string\")){\n        if (indentTokens.test(word)) ++state.indentDepth;\n        else if (dedentTokens.test(word)) --state.indentDepth;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter) {\n      var closing = dedentPartial.test(textAfter);\n      return state.basecol + indentUnit * (state.indentDepth - (closing ? 1 : 0));\n    },\n\n    lineComment: \"--\",\n    blockCommentStart: \"--[[\",\n    blockCommentEnd: \"]]\"\n  };\n});\n\nCodeMirror.defineMIME(\"text/x-lua\", \"lua\");\n\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: http://codemirror.net/LICENSE\n\n/**\n * Supported keybindings:\n *   Too many to list. Refer to defaultKeyMap below.\n *\n * Supported Ex commands:\n *   Refer to defaultExCommandMap below.\n *\n * Registers: unnamed, -, a-z, A-Z, 0-9\n *   (Does not respect the special case for number registers when delete\n *    operator is made with these commands: %, (, ),  , /, ?, n, N, {, } )\n *   TODO: Implement the remaining registers.\n *\n * Marks: a-z, A-Z, and 0-9\n *   TODO: Implement the remaining special marks. They have more complex\n *       behavior.\n *\n * Events:\n *  'vim-mode-change' - raised on the editor anytime the current mode changes,\n *                      Event object: {mode: \"visual\", subMode: \"linewise\"}\n *\n * Code structure:\n *  1. Default keymap\n *  2. Variable declarations and short basic helpers\n *  3. Instance (External API) implementation\n *  4. Internal state tracking objects (input state, counter) implementation\n *     and instantiation\n *  5. Key handler (the main command dispatcher) implementation\n *  6. Motion, operator, and action implementations\n *  7. Helper functions for the key handler, motions, operators, and actions\n *  8. Set up Vim to work as a keymap for CodeMirror.\n *  9. Ex command implementations.\n */\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../lib/codemirror\"), require(\"../addon/search/searchcursor\"), require(\"../addon/dialog/dialog\"), require(\"../addon/edit/matchbrackets.js\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../lib/codemirror\", \"../addon/search/searchcursor\", \"../addon/dialog/dialog\", \"../addon/edit/matchbrackets\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  'use strict';\n\n  var defaultKeymap = [\n    // Key to key mapping. This goes first to make it possible to override\n    // existing mappings.\n    { keys: '<Left>', type: 'keyToKey', toKeys: 'h' },\n    { keys: '<Right>', type: 'keyToKey', toKeys: 'l' },\n    { keys: '<Up>', type: 'keyToKey', toKeys: 'k' },\n    { keys: '<Down>', type: 'keyToKey', toKeys: 'j' },\n    { keys: '<Space>', type: 'keyToKey', toKeys: 'l' },\n    { keys: '<BS>', type: 'keyToKey', toKeys: 'h', context: 'normal'},\n    { keys: '<C-Space>', type: 'keyToKey', toKeys: 'W' },\n    { keys: '<C-BS>', type: 'keyToKey', toKeys: 'B', context: 'normal' },\n    { keys: '<S-Space>', type: 'keyToKey', toKeys: 'w' },\n    { keys: '<S-BS>', type: 'keyToKey', toKeys: 'b', context: 'normal' },\n    { keys: '<C-n>', type: 'keyToKey', toKeys: 'j' },\n    { keys: '<C-p>', type: 'keyToKey', toKeys: 'k' },\n    { keys: '<C-[>', type: 'keyToKey', toKeys: '<Esc>' },\n    { keys: '<C-c>', type: 'keyToKey', toKeys: '<Esc>' },\n    { keys: '<C-[>', type: 'keyToKey', toKeys: '<Esc>', context: 'insert' },\n    { keys: '<C-c>', type: 'keyToKey', toKeys: '<Esc>', context: 'insert' },\n    { keys: 's', type: 'keyToKey', toKeys: 'cl', context: 'normal' },\n    { keys: 's', type: 'keyToKey', toKeys: 'c', context: 'visual'},\n    { keys: 'S', type: 'keyToKey', toKeys: 'cc', context: 'normal' },\n    { keys: 'S', type: 'keyToKey', toKeys: 'VdO', context: 'visual' },\n    { keys: '<Home>', type: 'keyToKey', toKeys: '0' },\n    { keys: '<End>', type: 'keyToKey', toKeys: '$' },\n    { keys: '<PageUp>', type: 'keyToKey', toKeys: '<C-b>' },\n    { keys: '<PageDown>', type: 'keyToKey', toKeys: '<C-f>' },\n    { keys: '<CR>', type: 'keyToKey', toKeys: 'j^', context: 'normal' },\n    // Motions\n    { keys: 'H', type: 'motion', motion: 'moveToTopLine', motionArgs: { linewise: true, toJumplist: true }},\n    { keys: 'M', type: 'motion', motion: 'moveToMiddleLine', motionArgs: { linewise: true, toJumplist: true }},\n    { keys: 'L', type: 'motion', motion: 'moveToBottomLine', motionArgs: { linewise: true, toJumplist: true }},\n    { keys: 'h', type: 'motion', motion: 'moveByCharacters', motionArgs: { forward: false }},\n    { keys: 'l', type: 'motion', motion: 'moveByCharacters', motionArgs: { forward: true }},\n    { keys: 'j', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, linewise: true }},\n    { keys: 'k', type: 'motion', motion: 'moveByLines', motionArgs: { forward: false, linewise: true }},\n    { keys: 'gj', type: 'motion', motion: 'moveByDisplayLines', motionArgs: { forward: true }},\n    { keys: 'gk', type: 'motion', motion: 'moveByDisplayLines', motionArgs: { forward: false }},\n    { keys: 'w', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: false }},\n    { keys: 'W', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: false, bigWord: true }},\n    { keys: 'e', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: true, inclusive: true }},\n    { keys: 'E', type: 'motion', motion: 'moveByWords', motionArgs: { forward: true, wordEnd: true, bigWord: true, inclusive: true }},\n    { keys: 'b', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false }},\n    { keys: 'B', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false, bigWord: true }},\n    { keys: 'ge', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: true, inclusive: true }},\n    { keys: 'gE', type: 'motion', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: true, bigWord: true, inclusive: true }},\n    { keys: '{', type: 'motion', motion: 'moveByParagraph', motionArgs: { forward: false, toJumplist: true }},\n    { keys: '}', type: 'motion', motion: 'moveByParagraph', motionArgs: { forward: true, toJumplist: true }},\n    { keys: '<C-f>', type: 'motion', motion: 'moveByPage', motionArgs: { forward: true }},\n    { keys: '<C-b>', type: 'motion', motion: 'moveByPage', motionArgs: { forward: false }},\n    { keys: '<C-d>', type: 'motion', motion: 'moveByScroll', motionArgs: { forward: true, explicitRepeat: true }},\n    { keys: '<C-u>', type: 'motion', motion: 'moveByScroll', motionArgs: { forward: false, explicitRepeat: true }},\n    { keys: 'gg', type: 'motion', motion: 'moveToLineOrEdgeOfDocument', motionArgs: { forward: false, explicitRepeat: true, linewise: true, toJumplist: true }},\n    { keys: 'G', type: 'motion', motion: 'moveToLineOrEdgeOfDocument', motionArgs: { forward: true, explicitRepeat: true, linewise: true, toJumplist: true }},\n    { keys: '0', type: 'motion', motion: 'moveToStartOfLine' },\n    { keys: '^', type: 'motion', motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: '+', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, toFirstChar:true }},\n    { keys: '-', type: 'motion', motion: 'moveByLines', motionArgs: { forward: false, toFirstChar:true }},\n    { keys: '_', type: 'motion', motion: 'moveByLines', motionArgs: { forward: true, toFirstChar:true, repeatOffset:-1 }},\n    { keys: '$', type: 'motion', motion: 'moveToEol', motionArgs: { inclusive: true }},\n    { keys: '%', type: 'motion', motion: 'moveToMatchedSymbol', motionArgs: { inclusive: true, toJumplist: true }},\n    { keys: 'f<character>', type: 'motion', motion: 'moveToCharacter', motionArgs: { forward: true , inclusive: true }},\n    { keys: 'F<character>', type: 'motion', motion: 'moveToCharacter', motionArgs: { forward: false }},\n    { keys: 't<character>', type: 'motion', motion: 'moveTillCharacter', motionArgs: { forward: true, inclusive: true }},\n    { keys: 'T<character>', type: 'motion', motion: 'moveTillCharacter', motionArgs: { forward: false }},\n    { keys: ';', type: 'motion', motion: 'repeatLastCharacterSearch', motionArgs: { forward: true }},\n    { keys: ',', type: 'motion', motion: 'repeatLastCharacterSearch', motionArgs: { forward: false }},\n    { keys: '\\'<character>', type: 'motion', motion: 'goToMark', motionArgs: {toJumplist: true, linewise: true}},\n    { keys: '`<character>', type: 'motion', motion: 'goToMark', motionArgs: {toJumplist: true}},\n    { keys: ']`', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true } },\n    { keys: '[`', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false } },\n    { keys: ']\\'', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: true, linewise: true } },\n    { keys: '[\\'', type: 'motion', motion: 'jumpToMark', motionArgs: { forward: false, linewise: true } },\n    // the next two aren't motions but must come before more general motion declarations\n    { keys: ']p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: true, isEdit: true, matchIndent: true}},\n    { keys: '[p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: false, isEdit: true, matchIndent: true}},\n    { keys: ']<character>', type: 'motion', motion: 'moveToSymbol', motionArgs: { forward: true, toJumplist: true}},\n    { keys: '[<character>', type: 'motion', motion: 'moveToSymbol', motionArgs: { forward: false, toJumplist: true}},\n    { keys: '|', type: 'motion', motion: 'moveToColumn'},\n    { keys: 'o', type: 'motion', motion: 'moveToOtherHighlightedEnd', context:'visual'},\n    { keys: 'O', type: 'motion', motion: 'moveToOtherHighlightedEnd', motionArgs: {sameLine: true}, context:'visual'},\n    // Operators\n    { keys: 'd', type: 'operator', operator: 'delete' },\n    { keys: 'y', type: 'operator', operator: 'yank' },\n    { keys: 'c', type: 'operator', operator: 'change' },\n    { keys: '>', type: 'operator', operator: 'indent', operatorArgs: { indentRight: true }},\n    { keys: '<', type: 'operator', operator: 'indent', operatorArgs: { indentRight: false }},\n    { keys: 'g~', type: 'operator', operator: 'changeCase' },\n    { keys: 'gu', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: true}, isEdit: true },\n    { keys: 'gU', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: false}, isEdit: true },\n    { keys: 'n', type: 'motion', motion: 'findNext', motionArgs: { forward: true, toJumplist: true }},\n    { keys: 'N', type: 'motion', motion: 'findNext', motionArgs: { forward: false, toJumplist: true }},\n    // Operator-Motion dual commands\n    { keys: 'x', type: 'operatorMotion', operator: 'delete', motion: 'moveByCharacters', motionArgs: { forward: true }, operatorMotionArgs: { visualLine: false }},\n    { keys: 'X', type: 'operatorMotion', operator: 'delete', motion: 'moveByCharacters', motionArgs: { forward: false }, operatorMotionArgs: { visualLine: true }},\n    { keys: 'D', type: 'operatorMotion', operator: 'delete', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},\n    { keys: 'D', type: 'operator', operator: 'delete', operatorArgs: { linewise: true }, context: 'visual'},\n    { keys: 'Y', type: 'operatorMotion', operator: 'yank', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},\n    { keys: 'Y', type: 'operator', operator: 'yank', operatorArgs: { linewise: true }, context: 'visual'},\n    { keys: 'C', type: 'operatorMotion', operator: 'change', motion: 'moveToEol', motionArgs: { inclusive: true }, context: 'normal'},\n    { keys: 'C', type: 'operator', operator: 'change', operatorArgs: { linewise: true }, context: 'visual'},\n    { keys: '~', type: 'operatorMotion', operator: 'changeCase', motion: 'moveByCharacters', motionArgs: { forward: true }, operatorArgs: { shouldMoveCursor: true }, context: 'normal'},\n    { keys: '~', type: 'operator', operator: 'changeCase', context: 'visual'},\n    { keys: '<C-w>', type: 'operatorMotion', operator: 'delete', motion: 'moveByWords', motionArgs: { forward: false, wordEnd: false }, context: 'insert' },\n    // Actions\n    { keys: '<C-i>', type: 'action', action: 'jumpListWalk', actionArgs: { forward: true }},\n    { keys: '<C-o>', type: 'action', action: 'jumpListWalk', actionArgs: { forward: false }},\n    { keys: '<C-e>', type: 'action', action: 'scroll', actionArgs: { forward: true, linewise: true }},\n    { keys: '<C-y>', type: 'action', action: 'scroll', actionArgs: { forward: false, linewise: true }},\n    { keys: 'a', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'charAfter' }, context: 'normal' },\n    { keys: 'A', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'eol' }, context: 'normal' },\n    { keys: 'A', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'endOfSelectedArea' }, context: 'visual' },\n    { keys: 'i', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'inplace' }, context: 'normal' },\n    { keys: 'I', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'firstNonBlank'}, context: 'normal' },\n    { keys: 'I', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { insertAt: 'startOfSelectedArea' }, context: 'visual' },\n    { keys: 'o', type: 'action', action: 'newLineAndEnterInsertMode', isEdit: true, interlaceInsertRepeat: true, actionArgs: { after: true }, context: 'normal' },\n    { keys: 'O', type: 'action', action: 'newLineAndEnterInsertMode', isEdit: true, interlaceInsertRepeat: true, actionArgs: { after: false }, context: 'normal' },\n    { keys: 'v', type: 'action', action: 'toggleVisualMode' },\n    { keys: 'V', type: 'action', action: 'toggleVisualMode', actionArgs: { linewise: true }},\n    { keys: '<C-v>', type: 'action', action: 'toggleVisualMode', actionArgs: { blockwise: true }},\n    { keys: '<C-q>', type: 'action', action: 'toggleVisualMode', actionArgs: { blockwise: true }},\n    { keys: 'gv', type: 'action', action: 'reselectLastSelection' },\n    { keys: 'J', type: 'action', action: 'joinLines', isEdit: true },\n    { keys: 'p', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: true, isEdit: true }},\n    { keys: 'P', type: 'action', action: 'paste', isEdit: true, actionArgs: { after: false, isEdit: true }},\n    { keys: 'r<character>', type: 'action', action: 'replace', isEdit: true },\n    { keys: '@<character>', type: 'action', action: 'replayMacro' },\n    { keys: 'q<character>', type: 'action', action: 'enterMacroRecordMode' },\n    // Handle Replace-mode as a special case of insert mode.\n    { keys: 'R', type: 'action', action: 'enterInsertMode', isEdit: true, actionArgs: { replace: true }},\n    { keys: 'u', type: 'action', action: 'undo', context: 'normal' },\n    { keys: 'u', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: true}, context: 'visual', isEdit: true },\n    { keys: 'U', type: 'operator', operator: 'changeCase', operatorArgs: {toLower: false}, context: 'visual', isEdit: true },\n    { keys: '<C-r>', type: 'action', action: 'redo' },\n    { keys: 'm<character>', type: 'action', action: 'setMark' },\n    { keys: '\"<character>', type: 'action', action: 'setRegister' },\n    { keys: 'zz', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'center' }},\n    { keys: 'z.', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'center' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: 'zt', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'top' }},\n    { keys: 'z<CR>', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'top' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: 'z-', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'bottom' }},\n    { keys: 'zb', type: 'action', action: 'scrollToCursor', actionArgs: { position: 'bottom' }, motion: 'moveToFirstNonWhiteSpaceCharacter' },\n    { keys: '.', type: 'action', action: 'repeatLastEdit' },\n    { keys: '<C-a>', type: 'action', action: 'incrementNumberToken', isEdit: true, actionArgs: {increase: true, backtrack: false}},\n    { keys: '<C-x>', type: 'action', action: 'incrementNumberToken', isEdit: true, actionArgs: {increase: false, backtrack: false}},\n    // Text object motions\n    { keys: 'a<character>', type: 'motion', motion: 'textObjectManipulation' },\n    { keys: 'i<character>', type: 'motion', motion: 'textObjectManipulation', motionArgs: { textObjectInner: true }},\n    // Search\n    { keys: '/', type: 'search', searchArgs: { forward: true, querySrc: 'prompt', toJumplist: true }},\n    { keys: '?', type: 'search', searchArgs: { forward: false, querySrc: 'prompt', toJumplist: true }},\n    { keys: '*', type: 'search', searchArgs: { forward: true, querySrc: 'wordUnderCursor', wholeWordOnly: true, toJumplist: true }},\n    { keys: '#', type: 'search', searchArgs: { forward: false, querySrc: 'wordUnderCursor', wholeWordOnly: true, toJumplist: true }},\n    { keys: 'g*', type: 'search', searchArgs: { forward: true, querySrc: 'wordUnderCursor', toJumplist: true }},\n    { keys: 'g#', type: 'search', searchArgs: { forward: false, querySrc: 'wordUnderCursor', toJumplist: true }},\n    // Ex command\n    { keys: ':', type: 'ex' }\n  ];\n\n  /**\n   * Ex commands\n   * Care must be taken when adding to the default Ex command map. For any\n   * pair of commands that have a shared prefix, at least one of their\n   * shortNames must not match the prefix of the other command.\n   */\n  var defaultExCommandMap = [\n    { name: 'colorscheme', shortName: 'colo' },\n    { name: 'map' },\n    { name: 'imap', shortName: 'im' },\n    { name: 'nmap', shortName: 'nm' },\n    { name: 'vmap', shortName: 'vm' },\n    { name: 'unmap' },\n    { name: 'write', shortName: 'w' },\n    { name: 'undo', shortName: 'u' },\n    { name: 'redo', shortName: 'red' },\n    { name: 'set', shortName: 'se' },\n    { name: 'set', shortName: 'se' },\n    { name: 'setlocal', shortName: 'setl' },\n    { name: 'setglobal', shortName: 'setg' },\n    { name: 'sort', shortName: 'sor' },\n    { name: 'substitute', shortName: 's', possiblyAsync: true },\n    { name: 'nohlsearch', shortName: 'noh' },\n    { name: 'yank', shortName: 'y' },\n    { name: 'delmarks', shortName: 'delm' },\n    { name: 'registers', shortName: 'reg', excludeFromCommandHistory: true },\n    { name: 'global', shortName: 'g' }\n  ];\n\n  var Pos = CodeMirror.Pos;\n\n  var Vim = function() {\n    function enterVimMode(cm) {\n      cm.setOption('disableInput', true);\n      cm.setOption('showCursorWhenSelecting', false);\n      CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n      cm.on('cursorActivity', onCursorActivity);\n      maybeInitVimState(cm);\n      CodeMirror.on(cm.getInputField(), 'paste', getOnPasteFn(cm));\n    }\n\n    function leaveVimMode(cm) {\n      cm.setOption('disableInput', false);\n      cm.off('cursorActivity', onCursorActivity);\n      CodeMirror.off(cm.getInputField(), 'paste', getOnPasteFn(cm));\n      cm.state.vim = null;\n    }\n\n    function detachVimMap(cm, next) {\n      if (this == CodeMirror.keyMap.vim)\n        CodeMirror.rmClass(cm.getWrapperElement(), \"cm-fat-cursor\");\n\n      if (!next || next.attach != attachVimMap)\n        leaveVimMode(cm, false);\n    }\n    function attachVimMap(cm, prev) {\n      if (this == CodeMirror.keyMap.vim)\n        CodeMirror.addClass(cm.getWrapperElement(), \"cm-fat-cursor\");\n\n      if (!prev || prev.attach != attachVimMap)\n        enterVimMode(cm);\n    }\n\n    // Deprecated, simply setting the keymap works again.\n    CodeMirror.defineOption('vimMode', false, function(cm, val, prev) {\n      if (val && cm.getOption(\"keyMap\") != \"vim\")\n        cm.setOption(\"keyMap\", \"vim\");\n      else if (!val && prev != CodeMirror.Init && /^vim/.test(cm.getOption(\"keyMap\")))\n        cm.setOption(\"keyMap\", \"default\");\n    });\n\n    function cmKey(key, cm) {\n      if (!cm) { return undefined; }\n      var vimKey = cmKeyToVimKey(key);\n      if (!vimKey) {\n        return false;\n      }\n      var cmd = CodeMirror.Vim.findKey(cm, vimKey);\n      if (typeof cmd == 'function') {\n        CodeMirror.signal(cm, 'vim-keypress', vimKey);\n      }\n      return cmd;\n    }\n\n    var modifiers = {'Shift': 'S', 'Ctrl': 'C', 'Alt': 'A', 'Cmd': 'D', 'Mod': 'A'};\n    var specialKeys = {Enter:'CR',Backspace:'BS',Delete:'Del'};\n    function cmKeyToVimKey(key) {\n      if (key.charAt(0) == '\\'') {\n        // Keypress character binding of format \"'a'\"\n        return key.charAt(1);\n      }\n      var pieces = key.split(/-(?!$)/);\n      var lastPiece = pieces[pieces.length - 1];\n      if (pieces.length == 1 && pieces[0].length == 1) {\n        // No-modifier bindings use literal character bindings above. Skip.\n        return false;\n      } else if (pieces.length == 2 && pieces[0] == 'Shift' && lastPiece.length == 1) {\n        // Ignore Shift+char bindings as they should be handled by literal character.\n        return false;\n      }\n      var hasCharacter = false;\n      for (var i = 0; i < pieces.length; i++) {\n        var piece = pieces[i];\n        if (piece in modifiers) { pieces[i] = modifiers[piece]; }\n        else { hasCharacter = true; }\n        if (piece in specialKeys) { pieces[i] = specialKeys[piece]; }\n      }\n      if (!hasCharacter) {\n        // Vim does not support modifier only keys.\n        return false;\n      }\n      // TODO: Current bindings expect the character to be lower case, but\n      // it looks like vim key notation uses upper case.\n      if (isUpperCase(lastPiece)) {\n        pieces[pieces.length - 1] = lastPiece.toLowerCase();\n      }\n      return '<' + pieces.join('-') + '>';\n    }\n\n    function getOnPasteFn(cm) {\n      var vim = cm.state.vim;\n      if (!vim.onPasteFn) {\n        vim.onPasteFn = function() {\n          if (!vim.insertMode) {\n            cm.setCursor(offsetCursor(cm.getCursor(), 0, 1));\n            actions.enterInsertMode(cm, {}, vim);\n          }\n        };\n      }\n      return vim.onPasteFn;\n    }\n\n    var numberRegex = /[\\d]/;\n    var wordCharTest = [CodeMirror.isWordChar, function(ch) {\n      return ch && !CodeMirror.isWordChar(ch) && !/\\s/.test(ch);\n    }], bigWordCharTest = [function(ch) {\n      return /\\S/.test(ch);\n    }];\n    function makeKeyRange(start, size) {\n      var keys = [];\n      for (var i = start; i < start + size; i++) {\n        keys.push(String.fromCharCode(i));\n      }\n      return keys;\n    }\n    var upperCaseAlphabet = makeKeyRange(65, 26);\n    var lowerCaseAlphabet = makeKeyRange(97, 26);\n    var numbers = makeKeyRange(48, 10);\n    var validMarks = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['<', '>']);\n    var validRegisters = [].concat(upperCaseAlphabet, lowerCaseAlphabet, numbers, ['-', '\"', '.', ':', '/']);\n\n    function isLine(cm, line) {\n      return line >= cm.firstLine() && line <= cm.lastLine();\n    }\n    function isLowerCase(k) {\n      return (/^[a-z]$/).test(k);\n    }\n    function isMatchableSymbol(k) {\n      return '()[]{}'.indexOf(k) != -1;\n    }\n    function isNumber(k) {\n      return numberRegex.test(k);\n    }\n    function isUpperCase(k) {\n      return (/^[A-Z]$/).test(k);\n    }\n    function isWhiteSpaceString(k) {\n      return (/^\\s*$/).test(k);\n    }\n    function inArray(val, arr) {\n      for (var i = 0; i < arr.length; i++) {\n        if (arr[i] == val) {\n          return true;\n        }\n      }\n      return false;\n    }\n\n    var options = {};\n    function defineOption(name, defaultValue, type, aliases, callback) {\n      if (defaultValue === undefined && !callback) {\n        throw Error('defaultValue is required unless callback is provided');\n      }\n      if (!type) { type = 'string'; }\n      options[name] = {\n        type: type,\n        defaultValue: defaultValue,\n        callback: callback\n      };\n      if (aliases) {\n        for (var i = 0; i < aliases.length; i++) {\n          options[aliases[i]] = options[name];\n        }\n      }\n      if (defaultValue) {\n        setOption(name, defaultValue);\n      }\n    }\n\n    function setOption(name, value, cm, cfg) {\n      var option = options[name];\n      cfg = cfg || {};\n      var scope = cfg.scope;\n      if (!option) {\n        throw Error('Unknown option: ' + name);\n      }\n      if (option.type == 'boolean') {\n        if (value && value !== true) {\n          throw Error('Invalid argument: ' + name + '=' + value);\n        } else if (value !== false) {\n          // Boolean options are set to true if value is not defined.\n          value = true;\n        }\n      }\n      if (option.callback) {\n        if (scope !== 'local') {\n          option.callback(value, undefined);\n        }\n        if (scope !== 'global' && cm) {\n          option.callback(value, cm);\n        }\n      } else {\n        if (scope !== 'local') {\n          option.value = option.type == 'boolean' ? !!value : value;\n        }\n        if (scope !== 'global' && cm) {\n          cm.state.vim.options[name] = {value: value};\n        }\n      }\n    }\n\n    function getOption(name, cm, cfg) {\n      var option = options[name];\n      cfg = cfg || {};\n      var scope = cfg.scope;\n      if (!option) {\n        throw Error('Unknown option: ' + name);\n      }\n      if (option.callback) {\n        var local = cm && option.callback(undefined, cm);\n        if (scope !== 'global' && local !== undefined) {\n          return local;\n        }\n        if (scope !== 'local') {\n          return option.callback();\n        }\n        return;\n      } else {\n        var local = (scope !== 'global') && (cm && cm.state.vim.options[name]);\n        return (local || (scope !== 'local') && option || {}).value;\n      }\n    }\n\n    defineOption('filetype', undefined, 'string', ['ft'], function(name, cm) {\n      // Option is local. Do nothing for global.\n      if (cm === undefined) {\n        return;\n      }\n      // The 'filetype' option proxies to the CodeMirror 'mode' option.\n      if (name === undefined) {\n        var mode = cm.getOption('mode');\n        return mode == 'null' ? '' : mode;\n      } else {\n        var mode = name == '' ? 'null' : name;\n        cm.setOption('mode', mode);\n      }\n    });\n\n    var createCircularJumpList = function() {\n      var size = 100;\n      var pointer = -1;\n      var head = 0;\n      var tail = 0;\n      var buffer = new Array(size);\n      function add(cm, oldCur, newCur) {\n        var current = pointer % size;\n        var curMark = buffer[current];\n        function useNextSlot(cursor) {\n          var next = ++pointer % size;\n          var trashMark = buffer[next];\n          if (trashMark) {\n            trashMark.clear();\n          }\n          buffer[next] = cm.setBookmark(cursor);\n        }\n        if (curMark) {\n          var markPos = curMark.find();\n          // avoid recording redundant cursor position\n          if (markPos && !cursorEqual(markPos, oldCur)) {\n            useNextSlot(oldCur);\n          }\n        } else {\n          useNextSlot(oldCur);\n        }\n        useNextSlot(newCur);\n        head = pointer;\n        tail = pointer - size + 1;\n        if (tail < 0) {\n          tail = 0;\n        }\n      }\n      function move(cm, offset) {\n        pointer += offset;\n        if (pointer > head) {\n          pointer = head;\n        } else if (pointer < tail) {\n          pointer = tail;\n        }\n        var mark = buffer[(size + pointer) % size];\n        // skip marks that are temporarily removed from text buffer\n        if (mark && !mark.find()) {\n          var inc = offset > 0 ? 1 : -1;\n          var newCur;\n          var oldCur = cm.getCursor();\n          do {\n            pointer += inc;\n            mark = buffer[(size + pointer) % size];\n            // skip marks that are the same as current position\n            if (mark &&\n                (newCur = mark.find()) &&\n                !cursorEqual(oldCur, newCur)) {\n              break;\n            }\n          } while (pointer < head && pointer > tail);\n        }\n        return mark;\n      }\n      return {\n        cachedCursor: undefined, //used for # and * jumps\n        add: add,\n        move: move\n      };\n    };\n\n    // Returns an object to track the changes associated insert mode.  It\n    // clones the object that is passed in, or creates an empty object one if\n    // none is provided.\n    var createInsertModeChanges = function(c) {\n      if (c) {\n        // Copy construction\n        return {\n          changes: c.changes,\n          expectCursorActivityForChange: c.expectCursorActivityForChange\n        };\n      }\n      return {\n        // Change list\n        changes: [],\n        // Set to true on change, false on cursorActivity.\n        expectCursorActivityForChange: false\n      };\n    };\n\n    function MacroModeState() {\n      this.latestRegister = undefined;\n      this.isPlaying = false;\n      this.isRecording = false;\n      this.replaySearchQueries = [];\n      this.onRecordingDone = undefined;\n      this.lastInsertModeChanges = createInsertModeChanges();\n    }\n    MacroModeState.prototype = {\n      exitMacroRecordMode: function() {\n        var macroModeState = vimGlobalState.macroModeState;\n        if (macroModeState.onRecordingDone) {\n          macroModeState.onRecordingDone(); // close dialog\n        }\n        macroModeState.onRecordingDone = undefined;\n        macroModeState.isRecording = false;\n      },\n      enterMacroRecordMode: function(cm, registerName) {\n        var register =\n            vimGlobalState.registerController.getRegister(registerName);\n        if (register) {\n          register.clear();\n          this.latestRegister = registerName;\n          if (cm.openDialog) {\n            this.onRecordingDone = cm.openDialog(\n                '(recording)['+registerName+']', null, {bottom:true});\n          }\n          this.isRecording = true;\n        }\n      }\n    };\n\n    function maybeInitVimState(cm) {\n      if (!cm.state.vim) {\n        // Store instance state in the CodeMirror object.\n        cm.state.vim = {\n          inputState: new InputState(),\n          // Vim's input state that triggered the last edit, used to repeat\n          // motions and operators with '.'.\n          lastEditInputState: undefined,\n          // Vim's action command before the last edit, used to repeat actions\n          // with '.' and insert mode repeat.\n          lastEditActionCommand: undefined,\n          // When using jk for navigation, if you move from a longer line to a\n          // shorter line, the cursor may clip to the end of the shorter line.\n          // If j is pressed again and cursor goes to the next line, the\n          // cursor should go back to its horizontal position on the longer\n          // line if it can. This is to keep track of the horizontal position.\n          lastHPos: -1,\n          // Doing the same with screen-position for gj/gk\n          lastHSPos: -1,\n          // The last motion command run. Cleared if a non-motion command gets\n          // executed in between.\n          lastMotion: null,\n          marks: {},\n          // Mark for rendering fake cursor for visual mode.\n          fakeCursor: null,\n          insertMode: false,\n          // Repeat count for changes made in insert mode, triggered by key\n          // sequences like 3,i. Only exists when insertMode is true.\n          insertModeRepeat: undefined,\n          visualMode: false,\n          // If we are in visual line mode. No effect if visualMode is false.\n          visualLine: false,\n          visualBlock: false,\n          lastSelection: null,\n          lastPastedText: null,\n          sel: {},\n          // Buffer-local/window-local values of vim options.\n          options: {}\n        };\n      }\n      return cm.state.vim;\n    }\n    var vimGlobalState;\n    function resetVimGlobalState() {\n      vimGlobalState = {\n        // The current search query.\n        searchQuery: null,\n        // Whether we are searching backwards.\n        searchIsReversed: false,\n        // Replace part of the last substituted pattern\n        lastSubstituteReplacePart: undefined,\n        jumpList: createCircularJumpList(),\n        macroModeState: new MacroModeState,\n        // Recording latest f, t, F or T motion command.\n        lastCharacterSearch: {increment:0, forward:true, selectedCharacter:''},\n        registerController: new RegisterController({}),\n        // search history buffer\n        searchHistoryController: new HistoryController({}),\n        // ex Command history buffer\n        exCommandHistoryController : new HistoryController({})\n      };\n      for (var optionName in options) {\n        var option = options[optionName];\n        option.value = option.defaultValue;\n      }\n    }\n\n    var lastInsertModeKeyTimer;\n    var vimApi= {\n      buildKeyMap: function() {\n        // TODO: Convert keymap into dictionary format for fast lookup.\n      },\n      // Testing hook, though it might be useful to expose the register\n      // controller anyways.\n      getRegisterController: function() {\n        return vimGlobalState.registerController;\n      },\n      // Testing hook.\n      resetVimGlobalState_: resetVimGlobalState,\n\n      // Testing hook.\n      getVimGlobalState_: function() {\n        return vimGlobalState;\n      },\n\n      // Testing hook.\n      maybeInitVimState_: maybeInitVimState,\n\n      suppressErrorLogging: false,\n\n      InsertModeKey: InsertModeKey,\n      map: function(lhs, rhs, ctx) {\n        // Add user defined key bindings.\n        exCommandDispatcher.map(lhs, rhs, ctx);\n      },\n      unmap: function(lhs, ctx) {\n        exCommandDispatcher.unmap(lhs, ctx);\n      },\n      // TODO: Expose setOption and getOption as instance methods. Need to decide how to namespace\n      // them, or somehow make them work with the existing CodeMirror setOption/getOption API.\n      setOption: setOption,\n      getOption: getOption,\n      defineOption: defineOption,\n      defineEx: function(name, prefix, func){\n        if (!prefix) {\n          prefix = name;\n        } else if (name.indexOf(prefix) !== 0) {\n          throw new Error('(Vim.defineEx) \"'+prefix+'\" is not a prefix of \"'+name+'\", command not registered');\n        }\n        exCommands[name]=func;\n        exCommandDispatcher.commandMap_[prefix]={name:name, shortName:prefix, type:'api'};\n      },\n      handleKey: function (cm, key, origin) {\n        var command = this.findKey(cm, key, origin);\n        if (typeof command === 'function') {\n          return command();\n        }\n      },\n      /**\n       * This is the outermost function called by CodeMirror, after keys have\n       * been mapped to their Vim equivalents.\n       *\n       * Finds a command based on the key (and cached keys if there is a\n       * multi-key sequence). Returns `undefined` if no key is matched, a noop\n       * function if a partial match is found (multi-key), and a function to\n       * execute the bound command if a a key is matched. The function always\n       * returns true.\n       */\n      findKey: function(cm, key, origin) {\n        var vim = maybeInitVimState(cm);\n        function handleMacroRecording() {\n          var macroModeState = vimGlobalState.macroModeState;\n          if (macroModeState.isRecording) {\n            if (key == 'q') {\n              macroModeState.exitMacroRecordMode();\n              clearInputState(cm);\n              return true;\n            }\n            if (origin != 'mapping') {\n              logKey(macroModeState, key);\n            }\n          }\n        }\n        function handleEsc() {\n          if (key == '<Esc>') {\n            // Clear input state and get back to normal mode.\n            clearInputState(cm);\n            if (vim.visualMode) {\n              exitVisualMode(cm);\n            } else if (vim.insertMode) {\n              exitInsertMode(cm);\n            }\n            return true;\n          }\n        }\n        function doKeyToKey(keys) {\n          // TODO: prevent infinite recursion.\n          var match;\n          while (keys) {\n            // Pull off one command key, which is either a single character\n            // or a special sequence wrapped in '<' and '>', e.g. '<Space>'.\n            match = (/<\\w+-.+?>|<\\w+>|./).exec(keys);\n            key = match[0];\n            keys = keys.substring(match.index + key.length);\n            CodeMirror.Vim.handleKey(cm, key, 'mapping');\n          }\n        }\n\n        function handleKeyInsertMode() {\n          if (handleEsc()) { return true; }\n          var keys = vim.inputState.keyBuffer = vim.inputState.keyBuffer + key;\n          var keysAreChars = key.length == 1;\n          var match = commandDispatcher.matchCommand(keys, defaultKeymap, vim.inputState, 'insert');\n          // Need to check all key substrings in insert mode.\n          while (keys.length > 1 && match.type != 'full') {\n            var keys = vim.inputState.keyBuffer = keys.slice(1);\n            var thisMatch = commandDispatcher.matchCommand(keys, defaultKeymap, vim.inputState, 'insert');\n            if (thisMatch.type != 'none') { match = thisMatch; }\n          }\n          if (match.type == 'none') { clearInputState(cm); return false; }\n          else if (match.type == 'partial') {\n            if (lastInsertModeKeyTimer) { window.clearTimeout(lastInsertModeKeyTimer); }\n            lastInsertModeKeyTimer = window.setTimeout(\n              function() { if (vim.insertMode && vim.inputState.keyBuffer) { clearInputState(cm); } },\n              getOption('insertModeEscKeysTimeout'));\n            return !keysAreChars;\n          }\n\n          if (lastInsertModeKeyTimer) { window.clearTimeout(lastInsertModeKeyTimer); }\n          if (keysAreChars) {\n            var here = cm.getCursor();\n            cm.replaceRange('', offsetCursor(here, 0, -(keys.length - 1)), here, '+input');\n          }\n          clearInputState(cm);\n          return match.command;\n        }\n\n        function handleKeyNonInsertMode() {\n          if (handleMacroRecording() || handleEsc()) { return true; };\n\n          var keys = vim.inputState.keyBuffer = vim.inputState.keyBuffer + key;\n          if (/^[1-9]\\d*$/.test(keys)) { return true; }\n\n          var keysMatcher = /^(\\d*)(.*)$/.exec(keys);\n          if (!keysMatcher) { clearInputState(cm); return false; }\n          var context = vim.visualMode ? 'visual' :\n                                         'normal';\n          var match = commandDispatcher.matchCommand(keysMatcher[2] || keysMatcher[1], defaultKeymap, vim.inputState, context);\n          if (match.type == 'none') { clearInputState(cm); return false; }\n          else if (match.type == 'partial') { return true; }\n\n          vim.inputState.keyBuffer = '';\n          var keysMatcher = /^(\\d*)(.*)$/.exec(keys);\n          if (keysMatcher[1] && keysMatcher[1] != '0') {\n            vim.inputState.pushRepeatDigit(keysMatcher[1]);\n          }\n          return match.command;\n        }\n\n        var command;\n        if (vim.insertMode) { command = handleKeyInsertMode(); }\n        else { command = handleKeyNonInsertMode(); }\n        if (command === false) {\n          return undefined;\n        } else if (command === true) {\n          // TODO: Look into using CodeMirror's multi-key handling.\n          // Return no-op since we are caching the key. Counts as handled, but\n          // don't want act on it just yet.\n          return function() {};\n        } else {\n          return function() {\n            return cm.operation(function() {\n              cm.curOp.isVimOp = true;\n              try {\n                if (command.type == 'keyToKey') {\n                  doKeyToKey(command.toKeys);\n                } else {\n                  commandDispatcher.processCommand(cm, vim, command);\n                }\n              } catch (e) {\n                // clear VIM state in case it's in a bad state.\n                cm.state.vim = undefined;\n                maybeInitVimState(cm);\n                if (!CodeMirror.Vim.suppressErrorLogging) {\n                  console['log'](e);\n                }\n                throw e;\n              }\n              return true;\n            });\n          };\n        }\n      },\n      handleEx: function(cm, input) {\n        exCommandDispatcher.processCommand(cm, input);\n      },\n\n      defineMotion: defineMotion,\n      defineAction: defineAction,\n      defineOperator: defineOperator,\n      mapCommand: mapCommand,\n      _mapCommand: _mapCommand,\n\n      defineRegister: defineRegister,\n\n      exitVisualMode: exitVisualMode,\n      exitInsertMode: exitInsertMode\n    };\n\n    // Represents the current input state.\n    function InputState() {\n      this.prefixRepeat = [];\n      this.motionRepeat = [];\n\n      this.operator = null;\n      this.operatorArgs = null;\n      this.motion = null;\n      this.motionArgs = null;\n      this.keyBuffer = []; // For matching multi-key commands.\n      this.registerName = null; // Defaults to the unnamed register.\n    }\n    InputState.prototype.pushRepeatDigit = function(n) {\n      if (!this.operator) {\n        this.prefixRepeat = this.prefixRepeat.concat(n);\n      } else {\n        this.motionRepeat = this.motionRepeat.concat(n);\n      }\n    };\n    InputState.prototype.getRepeat = function() {\n      var repeat = 0;\n      if (this.prefixRepeat.length > 0 || this.motionRepeat.length > 0) {\n        repeat = 1;\n        if (this.prefixRepeat.length > 0) {\n          repeat *= parseInt(this.prefixRepeat.join(''), 10);\n        }\n        if (this.motionRepeat.length > 0) {\n          repeat *= parseInt(this.motionRepeat.join(''), 10);\n        }\n      }\n      return repeat;\n    };\n\n    function clearInputState(cm, reason) {\n      cm.state.vim.inputState = new InputState();\n      CodeMirror.signal(cm, 'vim-command-done', reason);\n    }\n\n    /*\n     * Register stores information about copy and paste registers.  Besides\n     * text, a register must store whether it is linewise (i.e., when it is\n     * pasted, should it insert itself into a new line, or should the text be\n     * inserted at the cursor position.)\n     */\n    function Register(text, linewise, blockwise) {\n      this.clear();\n      this.keyBuffer = [text || ''];\n      this.insertModeChanges = [];\n      this.searchQueries = [];\n      this.linewise = !!linewise;\n      this.blockwise = !!blockwise;\n    }\n    Register.prototype = {\n      setText: function(text, linewise, blockwise) {\n        this.keyBuffer = [text || ''];\n        this.linewise = !!linewise;\n        this.blockwise = !!blockwise;\n      },\n      pushText: function(text, linewise) {\n        // if this register has ever been set to linewise, use linewise.\n        if (linewise) {\n          if (!this.linewise) {\n            this.keyBuffer.push('\\n');\n          }\n          this.linewise = true;\n        }\n        this.keyBuffer.push(text);\n      },\n      pushInsertModeChanges: function(changes) {\n        this.insertModeChanges.push(createInsertModeChanges(changes));\n      },\n      pushSearchQuery: function(query) {\n        this.searchQueries.push(query);\n      },\n      clear: function() {\n        this.keyBuffer = [];\n        this.insertModeChanges = [];\n        this.searchQueries = [];\n        this.linewise = false;\n      },\n      toString: function() {\n        return this.keyBuffer.join('');\n      }\n    };\n\n    /**\n     * Defines an external register.\n     *\n     * The name should be a single character that will be used to reference the register.\n     * The register should support setText, pushText, clear, and toString(). See Register\n     * for a reference implementation.\n     */\n    function defineRegister(name, register) {\n      var registers = vimGlobalState.registerController.registers[name];\n      if (!name || name.length != 1) {\n        throw Error('Register name must be 1 character');\n      }\n      if (registers[name]) {\n        throw Error('Register already defined ' + name);\n      }\n      registers[name] = register;\n      validRegisters.push(name);\n    }\n\n    /*\n     * vim registers allow you to keep many independent copy and paste buffers.\n     * See http://usevim.com/2012/04/13/registers/ for an introduction.\n     *\n     * RegisterController keeps the state of all the registers.  An initial\n     * state may be passed in.  The unnamed register '\"' will always be\n     * overridden.\n     */\n    function RegisterController(registers) {\n      this.registers = registers;\n      this.unnamedRegister = registers['\"'] = new Register();\n      registers['.'] = new Register();\n      registers[':'] = new Register();\n      registers['/'] = new Register();\n    }\n    RegisterController.prototype = {\n      pushText: function(registerName, operator, text, linewise, blockwise) {\n        if (linewise && text.charAt(0) == '\\n') {\n          text = text.slice(1) + '\\n';\n        }\n        if (linewise && text.charAt(text.length - 1) !== '\\n'){\n          text += '\\n';\n        }\n        // Lowercase and uppercase registers refer to the same register.\n        // Uppercase just means append.\n        var register = this.isValidRegister(registerName) ?\n            this.getRegister(registerName) : null;\n        // if no register/an invalid register was specified, things go to the\n        // default registers\n        if (!register) {\n          switch (operator) {\n            case 'yank':\n              // The 0 register contains the text from the most recent yank.\n              this.registers['0'] = new Register(text, linewise, blockwise);\n              break;\n            case 'delete':\n            case 'change':\n              if (text.indexOf('\\n') == -1) {\n                // Delete less than 1 line. Update the small delete register.\n                this.registers['-'] = new Register(text, linewise);\n              } else {\n                // Shift down the contents of the numbered registers and put the\n                // deleted text into register 1.\n                this.shiftNumericRegisters_();\n                this.registers['1'] = new Register(text, linewise);\n              }\n              break;\n          }\n          // Make sure the unnamed register is set to what just happened\n          this.unnamedRegister.setText(text, linewise, blockwise);\n          return;\n        }\n\n        // If we've gotten to this point, we've actually specified a register\n        var append = isUpperCase(registerName);\n        if (append) {\n          register.pushText(text, linewise);\n        } else {\n          register.setText(text, linewise, blockwise);\n        }\n        // The unnamed register always has the same value as the last used\n        // register.\n        this.unnamedRegister.setText(register.toString(), linewise);\n      },\n      // Gets the register named @name.  If one of @name doesn't already exist,\n      // create it.  If @name is invalid, return the unnamedRegister.\n      getRegister: function(name) {\n        if (!this.isValidRegister(name)) {\n          return this.unnamedRegister;\n        }\n        name = name.toLowerCase();\n        if (!this.registers[name]) {\n          this.registers[name] = new Register();\n        }\n        return this.registers[name];\n      },\n      isValidRegister: function(name) {\n        return name && inArray(name, validRegisters);\n      },\n      shiftNumericRegisters_: function() {\n        for (var i = 9; i >= 2; i--) {\n          this.registers[i] = this.getRegister('' + (i - 1));\n        }\n      }\n    };\n    function HistoryController() {\n        this.historyBuffer = [];\n        this.iterator = 0;\n        this.initialPrefix = null;\n    }\n    HistoryController.prototype = {\n      // the input argument here acts a user entered prefix for a small time\n      // until we start autocompletion in which case it is the autocompleted.\n      nextMatch: function (input, up) {\n        var historyBuffer = this.historyBuffer;\n        var dir = up ? -1 : 1;\n        if (this.initialPrefix === null) this.initialPrefix = input;\n        for (var i = this.iterator + dir; up ? i >= 0 : i < historyBuffer.length; i+= dir) {\n          var element = historyBuffer[i];\n          for (var j = 0; j <= element.length; j++) {\n            if (this.initialPrefix == element.substring(0, j)) {\n              this.iterator = i;\n              return element;\n            }\n          }\n        }\n        // should return the user input in case we reach the end of buffer.\n        if (i >= historyBuffer.length) {\n          this.iterator = historyBuffer.length;\n          return this.initialPrefix;\n        }\n        // return the last autocompleted query or exCommand as it is.\n        if (i < 0 ) return input;\n      },\n      pushInput: function(input) {\n        var index = this.historyBuffer.indexOf(input);\n        if (index > -1) this.historyBuffer.splice(index, 1);\n        if (input.length) this.historyBuffer.push(input);\n      },\n      reset: function() {\n        this.initialPrefix = null;\n        this.iterator = this.historyBuffer.length;\n      }\n    };\n    var commandDispatcher = {\n      matchCommand: function(keys, keyMap, inputState, context) {\n        var matches = commandMatches(keys, keyMap, context, inputState);\n        if (!matches.full && !matches.partial) {\n          return {type: 'none'};\n        } else if (!matches.full && matches.partial) {\n          return {type: 'partial'};\n        }\n\n        var bestMatch;\n        for (var i = 0; i < matches.full.length; i++) {\n          var match = matches.full[i];\n          if (!bestMatch) {\n            bestMatch = match;\n          }\n        }\n        if (bestMatch.keys.slice(-11) == '<character>') {\n          inputState.selectedCharacter = lastChar(keys);\n        }\n        return {type: 'full', command: bestMatch};\n      },\n      processCommand: function(cm, vim, command) {\n        vim.inputState.repeatOverride = command.repeatOverride;\n        switch (command.type) {\n          case 'motion':\n            this.processMotion(cm, vim, command);\n            break;\n          case 'operator':\n            this.processOperator(cm, vim, command);\n            break;\n          case 'operatorMotion':\n            this.processOperatorMotion(cm, vim, command);\n            break;\n          case 'action':\n            this.processAction(cm, vim, command);\n            break;\n          case 'search':\n            this.processSearch(cm, vim, command);\n            break;\n          case 'ex':\n          case 'keyToEx':\n            this.processEx(cm, vim, command);\n            break;\n          default:\n            break;\n        }\n      },\n      processMotion: function(cm, vim, command) {\n        vim.inputState.motion = command.motion;\n        vim.inputState.motionArgs = copyArgs(command.motionArgs);\n        this.evalInput(cm, vim);\n      },\n      processOperator: function(cm, vim, command) {\n        var inputState = vim.inputState;\n        if (inputState.operator) {\n          if (inputState.operator == command.operator) {\n            // Typing an operator twice like 'dd' makes the operator operate\n            // linewise\n            inputState.motion = 'expandToLine';\n            inputState.motionArgs = { linewise: true };\n            this.evalInput(cm, vim);\n            return;\n          } else {\n            // 2 different operators in a row doesn't make sense.\n            clearInputState(cm);\n          }\n        }\n        inputState.operator = command.operator;\n        inputState.operatorArgs = copyArgs(command.operatorArgs);\n        if (vim.visualMode) {\n          // Operating on a selection in visual mode. We don't need a motion.\n          this.evalInput(cm, vim);\n        }\n      },\n      processOperatorMotion: function(cm, vim, command) {\n        var visualMode = vim.visualMode;\n        var operatorMotionArgs = copyArgs(command.operatorMotionArgs);\n        if (operatorMotionArgs) {\n          // Operator motions may have special behavior in visual mode.\n          if (visualMode && operatorMotionArgs.visualLine) {\n            vim.visualLine = true;\n          }\n        }\n        this.processOperator(cm, vim, command);\n        if (!visualMode) {\n          this.processMotion(cm, vim, command);\n        }\n      },\n      processAction: function(cm, vim, command) {\n        var inputState = vim.inputState;\n        var repeat = inputState.getRepeat();\n        var repeatIsExplicit = !!repeat;\n        var actionArgs = copyArgs(command.actionArgs) || {};\n        if (inputState.selectedCharacter) {\n          actionArgs.selectedCharacter = inputState.selectedCharacter;\n        }\n        // Actions may or may not have motions and operators. Do these first.\n        if (command.operator) {\n          this.processOperator(cm, vim, command);\n        }\n        if (command.motion) {\n          this.processMotion(cm, vim, command);\n        }\n        if (command.motion || command.operator) {\n          this.evalInput(cm, vim);\n        }\n        actionArgs.repeat = repeat || 1;\n        actionArgs.repeatIsExplicit = repeatIsExplicit;\n        actionArgs.registerName = inputState.registerName;\n        clearInputState(cm);\n        vim.lastMotion = null;\n        if (command.isEdit) {\n          this.recordLastEdit(vim, inputState, command);\n        }\n        actions[command.action](cm, actionArgs, vim);\n      },\n      processSearch: function(cm, vim, command) {\n        if (!cm.getSearchCursor) {\n          // Search depends on SearchCursor.\n          return;\n        }\n        var forward = command.searchArgs.forward;\n        var wholeWordOnly = command.searchArgs.wholeWordOnly;\n        getSearchState(cm).setReversed(!forward);\n        var promptPrefix = (forward) ? '/' : '?';\n        var originalQuery = getSearchState(cm).getQuery();\n        var originalScrollPos = cm.getScrollInfo();\n        function handleQuery(query, ignoreCase, smartCase) {\n          vimGlobalState.searchHistoryController.pushInput(query);\n          vimGlobalState.searchHistoryController.reset();\n          try {\n            updateSearchQuery(cm, query, ignoreCase, smartCase);\n          } catch (e) {\n            showConfirm(cm, 'Invalid regex: ' + query);\n            clearInputState(cm);\n            return;\n          }\n          commandDispatcher.processMotion(cm, vim, {\n            type: 'motion',\n            motion: 'findNext',\n            motionArgs: { forward: true, toJumplist: command.searchArgs.toJumplist }\n          });\n        }\n        function onPromptClose(query) {\n          cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n          handleQuery(query, true /** ignoreCase */, true /** smartCase */);\n          var macroModeState = vimGlobalState.macroModeState;\n          if (macroModeState.isRecording) {\n            logSearchQuery(macroModeState, query);\n          }\n        }\n        function onPromptKeyUp(e, query, close) {\n          var keyName = CodeMirror.keyName(e), up;\n          if (keyName == 'Up' || keyName == 'Down') {\n            up = keyName == 'Up' ? true : false;\n            query = vimGlobalState.searchHistoryController.nextMatch(query, up) || '';\n            close(query);\n          } else {\n            if ( keyName != 'Left' && keyName != 'Right' && keyName != 'Ctrl' && keyName != 'Alt' && keyName != 'Shift')\n              vimGlobalState.searchHistoryController.reset();\n          }\n          var parsedQuery;\n          try {\n            parsedQuery = updateSearchQuery(cm, query,\n                true /** ignoreCase */, true /** smartCase */);\n          } catch (e) {\n            // Swallow bad regexes for incremental search.\n          }\n          if (parsedQuery) {\n            cm.scrollIntoView(findNext(cm, !forward, parsedQuery), 30);\n          } else {\n            clearSearchHighlight(cm);\n            cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n          }\n        }\n        function onPromptKeyDown(e, query, close) {\n          var keyName = CodeMirror.keyName(e);\n          if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[' ||\n              (keyName == 'Backspace' && query == '')) {\n            vimGlobalState.searchHistoryController.pushInput(query);\n            vimGlobalState.searchHistoryController.reset();\n            updateSearchQuery(cm, originalQuery);\n            clearSearchHighlight(cm);\n            cm.scrollTo(originalScrollPos.left, originalScrollPos.top);\n            CodeMirror.e_stop(e);\n            clearInputState(cm);\n            close();\n            cm.focus();\n          } else if (keyName == 'Ctrl-U') {\n            // Ctrl-U clears input.\n            CodeMirror.e_stop(e);\n            close('');\n          }\n        }\n        switch (command.searchArgs.querySrc) {\n          case 'prompt':\n            var macroModeState = vimGlobalState.macroModeState;\n            if (macroModeState.isPlaying) {\n              var query = macroModeState.replaySearchQueries.shift();\n              handleQuery(query, true /** ignoreCase */, false /** smartCase */);\n            } else {\n              showPrompt(cm, {\n                  onClose: onPromptClose,\n                  prefix: promptPrefix,\n                  desc: searchPromptDesc,\n                  onKeyUp: onPromptKeyUp,\n                  onKeyDown: onPromptKeyDown\n              });\n            }\n            break;\n          case 'wordUnderCursor':\n            var word = expandWordUnderCursor(cm, false /** inclusive */,\n                true /** forward */, false /** bigWord */,\n                true /** noSymbol */);\n            var isKeyword = true;\n            if (!word) {\n              word = expandWordUnderCursor(cm, false /** inclusive */,\n                  true /** forward */, false /** bigWord */,\n                  false /** noSymbol */);\n              isKeyword = false;\n            }\n            if (!word) {\n              return;\n            }\n            var query = cm.getLine(word.start.line).substring(word.start.ch,\n                word.end.ch);\n            if (isKeyword && wholeWordOnly) {\n                query = '\\\\b' + query + '\\\\b';\n            } else {\n              query = escapeRegex(query);\n            }\n\n            // cachedCursor is used to save the old position of the cursor\n            // when * or # causes vim to seek for the nearest word and shift\n            // the cursor before entering the motion.\n            vimGlobalState.jumpList.cachedCursor = cm.getCursor();\n            cm.setCursor(word.start);\n\n            handleQuery(query, true /** ignoreCase */, false /** smartCase */);\n            break;\n        }\n      },\n      processEx: function(cm, vim, command) {\n        function onPromptClose(input) {\n          // Give the prompt some time to close so that if processCommand shows\n          // an error, the elements don't overlap.\n          vimGlobalState.exCommandHistoryController.pushInput(input);\n          vimGlobalState.exCommandHistoryController.reset();\n          exCommandDispatcher.processCommand(cm, input);\n        }\n        function onPromptKeyDown(e, input, close) {\n          var keyName = CodeMirror.keyName(e), up;\n          if (keyName == 'Esc' || keyName == 'Ctrl-C' || keyName == 'Ctrl-[' ||\n              (keyName == 'Backspace' && input == '')) {\n            vimGlobalState.exCommandHistoryController.pushInput(input);\n            vimGlobalState.exCommandHistoryController.reset();\n            CodeMirror.e_stop(e);\n            clearInputState(cm);\n            close();\n            cm.focus();\n          }\n          if (keyName == 'Up' || keyName == 'Down') {\n            up = keyName == 'Up' ? true : false;\n            input = vimGlobalState.exCommandHistoryController.nextMatch(input, up) || '';\n            close(input);\n          } else if (keyName == 'Ctrl-U') {\n            // Ctrl-U clears input.\n            CodeMirror.e_stop(e);\n            close('');\n          } else {\n            if ( keyName != 'Left' && keyName != 'Right' && keyName != 'Ctrl' && keyName != 'Alt' && keyName != 'Shift')\n              vimGlobalState.exCommandHistoryController.reset();\n          }\n        }\n        if (command.type == 'keyToEx') {\n          // Handle user defined Ex to Ex mappings\n          exCommandDispatcher.processCommand(cm, command.exArgs.input);\n        } else {\n          if (vim.visualMode) {\n            showPrompt(cm, { onClose: onPromptClose, prefix: ':', value: '\\'<,\\'>',\n                onKeyDown: onPromptKeyDown});\n          } else {\n            showPrompt(cm, { onClose: onPromptClose, prefix: ':',\n                onKeyDown: onPromptKeyDown});\n          }\n        }\n      },\n      evalInput: function(cm, vim) {\n        // If the motion command is set, execute both the operator and motion.\n        // Otherwise return.\n        var inputState = vim.inputState;\n        var motion = inputState.motion;\n        var motionArgs = inputState.motionArgs || {};\n        var operator = inputState.operator;\n        var operatorArgs = inputState.operatorArgs || {};\n        var registerName = inputState.registerName;\n        var sel = vim.sel;\n        // TODO: Make sure cm and vim selections are identical outside visual mode.\n        var origHead = copyCursor(vim.visualMode ? clipCursorToContent(cm, sel.head): cm.getCursor('head'));\n        var origAnchor = copyCursor(vim.visualMode ? clipCursorToContent(cm, sel.anchor) : cm.getCursor('anchor'));\n        var oldHead = copyCursor(origHead);\n        var oldAnchor = copyCursor(origAnchor);\n        var newHead, newAnchor;\n        var repeat;\n        if (operator) {\n          this.recordLastEdit(vim, inputState);\n        }\n        if (inputState.repeatOverride !== undefined) {\n          // If repeatOverride is specified, that takes precedence over the\n          // input state's repeat. Used by Ex mode and can be user defined.\n          repeat = inputState.repeatOverride;\n        } else {\n          repeat = inputState.getRepeat();\n        }\n        if (repeat > 0 && motionArgs.explicitRepeat) {\n          motionArgs.repeatIsExplicit = true;\n        } else if (motionArgs.noRepeat ||\n            (!motionArgs.explicitRepeat && repeat === 0)) {\n          repeat = 1;\n          motionArgs.repeatIsExplicit = false;\n        }\n        if (inputState.selectedCharacter) {\n          // If there is a character input, stick it in all of the arg arrays.\n          motionArgs.selectedCharacter = operatorArgs.selectedCharacter =\n              inputState.selectedCharacter;\n        }\n        motionArgs.repeat = repeat;\n        clearInputState(cm);\n        if (motion) {\n          var motionResult = motions[motion](cm, origHead, motionArgs, vim);\n          vim.lastMotion = motions[motion];\n          if (!motionResult) {\n            return;\n          }\n          if (motionArgs.toJumplist) {\n            var jumpList = vimGlobalState.jumpList;\n            // if the current motion is # or *, use cachedCursor\n            var cachedCursor = jumpList.cachedCursor;\n            if (cachedCursor) {\n              recordJumpPosition(cm, cachedCursor, motionResult);\n              delete jumpList.cachedCursor;\n            } else {\n              recordJumpPosition(cm, origHead, motionResult);\n            }\n          }\n          if (motionResult instanceof Array) {\n            newAnchor = motionResult[0];\n            newHead = motionResult[1];\n          } else {\n            newHead = motionResult;\n          }\n          // TODO: Handle null returns from motion commands better.\n          if (!newHead) {\n            newHead = copyCursor(origHead);\n          }\n          if (vim.visualMode) {\n            if (!(vim.visualBlock && newHead.ch === Infinity)) {\n              newHead = clipCursorToContent(cm, newHead, vim.visualBlock);\n            }\n            if (newAnchor) {\n              newAnchor = clipCursorToContent(cm, newAnchor, true);\n            }\n            newAnchor = newAnchor || oldAnchor;\n            sel.anchor = newAnchor;\n            sel.head = newHead;\n            updateCmSelection(cm);\n            updateMark(cm, vim, '<',\n                cursorIsBefore(newAnchor, newHead) ? newAnchor\n                    : newHead);\n            updateMark(cm, vim, '>',\n                cursorIsBefore(newAnchor, newHead) ? newHead\n                    : newAnchor);\n          } else if (!operator) {\n            newHead = clipCursorToContent(cm, newHead);\n            cm.setCursor(newHead.line, newHead.ch);\n          }\n        }\n        if (operator) {\n          if (operatorArgs.lastSel) {\n            // Replaying a visual mode operation\n            newAnchor = oldAnchor;\n            var lastSel = operatorArgs.lastSel;\n            var lineOffset = Math.abs(lastSel.head.line - lastSel.anchor.line);\n            var chOffset = Math.abs(lastSel.head.ch - lastSel.anchor.ch);\n            if (lastSel.visualLine) {\n              // Linewise Visual mode: The same number of lines.\n              newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch);\n            } else if (lastSel.visualBlock) {\n              // Blockwise Visual mode: The same number of lines and columns.\n              newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch + chOffset);\n            } else if (lastSel.head.line == lastSel.anchor.line) {\n              // Normal Visual mode within one line: The same number of characters.\n              newHead = Pos(oldAnchor.line, oldAnchor.ch + chOffset);\n            } else {\n              // Normal Visual mode with several lines: The same number of lines, in the\n              // last line the same number of characters as in the last line the last time.\n              newHead = Pos(oldAnchor.line + lineOffset, oldAnchor.ch);\n            }\n            vim.visualMode = true;\n            vim.visualLine = lastSel.visualLine;\n            vim.visualBlock = lastSel.visualBlock;\n            sel = vim.sel = {\n              anchor: newAnchor,\n              head: newHead\n            };\n            updateCmSelection(cm);\n          } else if (vim.visualMode) {\n            operatorArgs.lastSel = {\n              anchor: copyCursor(sel.anchor),\n              head: copyCursor(sel.head),\n              visualBlock: vim.visualBlock,\n              visualLine: vim.visualLine\n            };\n          }\n          var curStart, curEnd, linewise, mode;\n          var cmSel;\n          if (vim.visualMode) {\n            // Init visual op\n            curStart = cursorMin(sel.head, sel.anchor);\n            curEnd = cursorMax(sel.head, sel.anchor);\n            linewise = vim.visualLine || operatorArgs.linewise;\n            mode = vim.visualBlock ? 'block' :\n                   linewise ? 'line' :\n                   'char';\n            cmSel = makeCmSelection(cm, {\n              anchor: curStart,\n              head: curEnd\n            }, mode);\n            if (linewise) {\n              var ranges = cmSel.ranges;\n              if (mode == 'block') {\n                // Linewise operators in visual block mode extend to end of line\n                for (var i = 0; i < ranges.length; i++) {\n                  ranges[i].head.ch = lineLength(cm, ranges[i].head.line);\n                }\n              } else if (mode == 'line') {\n                ranges[0].head = Pos(ranges[0].head.line + 1, 0);\n              }\n            }\n          } else {\n            // Init motion op\n            curStart = copyCursor(newAnchor || oldAnchor);\n            curEnd = copyCursor(newHead || oldHead);\n            if (cursorIsBefore(curEnd, curStart)) {\n              var tmp = curStart;\n              curStart = curEnd;\n              curEnd = tmp;\n            }\n            linewise = motionArgs.linewise || operatorArgs.linewise;\n            if (linewise) {\n              // Expand selection to entire line.\n              expandSelectionToLine(cm, curStart, curEnd);\n            } else if (motionArgs.forward) {\n              // Clip to trailing newlines only if the motion goes forward.\n              clipToLine(cm, curStart, curEnd);\n            }\n            mode = 'char';\n            var exclusive = !motionArgs.inclusive || linewise;\n            cmSel = makeCmSelection(cm, {\n              anchor: curStart,\n              head: curEnd\n            }, mode, exclusive);\n          }\n          cm.setSelections(cmSel.ranges, cmSel.primary);\n          vim.lastMotion = null;\n          operatorArgs.repeat = repeat; // For indent in visual mode.\n          operatorArgs.registerName = registerName;\n          // Keep track of linewise as it affects how paste and change behave.\n          operatorArgs.linewise = linewise;\n          var operatorMoveTo = operators[operator](\n            cm, operatorArgs, cmSel.ranges, oldAnchor, newHead);\n          if (vim.visualMode) {\n            exitVisualMode(cm, operatorMoveTo != null);\n          }\n          if (operatorMoveTo) {\n            cm.setCursor(operatorMoveTo);\n          }\n        }\n      },\n      recordLastEdit: function(vim, inputState, actionCommand) {\n        var macroModeState = vimGlobalState.macroModeState;\n        if (macroModeState.isPlaying) { return; }\n        vim.lastEditInputState = inputState;\n        vim.lastEditActionCommand = actionCommand;\n        macroModeState.lastInsertModeChanges.changes = [];\n        macroModeState.lastInsertModeChanges.expectCursorActivityForChange = false;\n      }\n    };\n\n    /**\n     * typedef {Object{line:number,ch:number}} Cursor An object containing the\n     *     position of the cursor.\n     */\n    // All of the functions below return Cursor objects.\n    var motions = {\n      moveToTopLine: function(cm, _head, motionArgs) {\n        var line = getUserVisibleLines(cm).top + motionArgs.repeat -1;\n        return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));\n      },\n      moveToMiddleLine: function(cm) {\n        var range = getUserVisibleLines(cm);\n        var line = Math.floor((range.top + range.bottom) * 0.5);\n        return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));\n      },\n      moveToBottomLine: function(cm, _head, motionArgs) {\n        var line = getUserVisibleLines(cm).bottom - motionArgs.repeat +1;\n        return Pos(line, findFirstNonWhiteSpaceCharacter(cm.getLine(line)));\n      },\n      expandToLine: function(_cm, head, motionArgs) {\n        // Expands forward to end of line, and then to next line if repeat is\n        // >1. Does not handle backward motion!\n        var cur = head;\n        return Pos(cur.line + motionArgs.repeat - 1, Infinity);\n      },\n      findNext: function(cm, _head, motionArgs) {\n        var state = getSearchState(cm);\n        var query = state.getQuery();\n        if (!query) {\n          return;\n        }\n        var prev = !motionArgs.forward;\n        // If search is initiated with ? instead of /, negate direction.\n        prev = (state.isReversed()) ? !prev : prev;\n        highlightSearchMatches(cm, query);\n        return findNext(cm, prev/** prev */, query, motionArgs.repeat);\n      },\n      goToMark: function(cm, _head, motionArgs, vim) {\n        var mark = vim.marks[motionArgs.selectedCharacter];\n        if (mark) {\n          var pos = mark.find();\n          return motionArgs.linewise ? { line: pos.line, ch: findFirstNonWhiteSpaceCharacter(cm.getLine(pos.line)) } : pos;\n        }\n        return null;\n      },\n      moveToOtherHighlightedEnd: function(cm, _head, motionArgs, vim) {\n        if (vim.visualBlock && motionArgs.sameLine) {\n          var sel = vim.sel;\n          return [\n            clipCursorToContent(cm, Pos(sel.anchor.line, sel.head.ch)),\n            clipCursorToContent(cm, Pos(sel.head.line, sel.anchor.ch))\n          ];\n        } else {\n          return ([vim.sel.head, vim.sel.anchor]);\n        }\n      },\n      jumpToMark: function(cm, head, motionArgs, vim) {\n        var best = head;\n        for (var i = 0; i < motionArgs.repeat; i++) {\n          var cursor = best;\n          for (var key in vim.marks) {\n            if (!isLowerCase(key)) {\n              continue;\n            }\n            var mark = vim.marks[key].find();\n            var isWrongDirection = (motionArgs.forward) ?\n              cursorIsBefore(mark, cursor) : cursorIsBefore(cursor, mark);\n\n            if (isWrongDirection) {\n              continue;\n            }\n            if (motionArgs.linewise && (mark.line == cursor.line)) {\n              continue;\n            }\n\n            var equal = cursorEqual(cursor, best);\n            var between = (motionArgs.forward) ?\n              cursorIsBetween(cursor, mark, best) :\n              cursorIsBetween(best, mark, cursor);\n\n            if (equal || between) {\n              best = mark;\n            }\n          }\n        }\n\n        if (motionArgs.linewise) {\n          // Vim places the cursor on the first non-whitespace character of\n          // the line if there is one, else it places the cursor at the end\n          // of the line, regardless of whether a mark was found.\n          best = Pos(best.line, findFirstNonWhiteSpaceCharacter(cm.getLine(best.line)));\n        }\n        return best;\n      },\n      moveByCharacters: function(_cm, head, motionArgs) {\n        var cur = head;\n        var repeat = motionArgs.repeat;\n        var ch = motionArgs.forward ? cur.ch + repeat : cur.ch - repeat;\n        return Pos(cur.line, ch);\n      },\n      moveByLines: function(cm, head, motionArgs, vim) {\n        var cur = head;\n        var endCh = cur.ch;\n        // Depending what our last motion was, we may want to do different\n        // things. If our last motion was moving vertically, we want to\n        // preserve the HPos from our last horizontal move.  If our last motion\n        // was going to the end of a line, moving vertically we should go to\n        // the end of the line, etc.\n        switch (vim.lastMotion) {\n          case this.moveByLines:\n          case this.moveByDisplayLines:\n          case this.moveByScroll:\n          case this.moveToColumn:\n          case this.moveToEol:\n            endCh = vim.lastHPos;\n            break;\n          default:\n            vim.lastHPos = endCh;\n        }\n        var repeat = motionArgs.repeat+(motionArgs.repeatOffset||0);\n        var line = motionArgs.forward ? cur.line + repeat : cur.line - repeat;\n        var first = cm.firstLine();\n        var last = cm.lastLine();\n        // Vim go to line begin or line end when cursor at first/last line and\n        // move to previous/next line is triggered.\n        if (line < first && cur.line == first){\n          return this.moveToStartOfLine(cm, head, motionArgs, vim);\n        }else if (line > last && cur.line == last){\n            return this.moveToEol(cm, head, motionArgs, vim);\n        }\n        if (motionArgs.toFirstChar){\n          endCh=findFirstNonWhiteSpaceCharacter(cm.getLine(line));\n          vim.lastHPos = endCh;\n        }\n        vim.lastHSPos = cm.charCoords(Pos(line, endCh),'div').left;\n        return Pos(line, endCh);\n      },\n      moveByDisplayLines: function(cm, head, motionArgs, vim) {\n        var cur = head;\n        switch (vim.lastMotion) {\n          case this.moveByDisplayLines:\n          case this.moveByScroll:\n          case this.moveByLines:\n          case this.moveToColumn:\n          case this.moveToEol:\n            break;\n          default:\n            vim.lastHSPos = cm.charCoords(cur,'div').left;\n        }\n        var repeat = motionArgs.repeat;\n        var res=cm.findPosV(cur,(motionArgs.forward ? repeat : -repeat),'line',vim.lastHSPos);\n        if (res.hitSide) {\n          if (motionArgs.forward) {\n            var lastCharCoords = cm.charCoords(res, 'div');\n            var goalCoords = { top: lastCharCoords.top + 8, left: vim.lastHSPos };\n            var res = cm.coordsChar(goalCoords, 'div');\n          } else {\n            var resCoords = cm.charCoords(Pos(cm.firstLine(), 0), 'div');\n            resCoords.left = vim.lastHSPos;\n            res = cm.coordsChar(resCoords, 'div');\n          }\n        }\n        vim.lastHPos = res.ch;\n        return res;\n      },\n      moveByPage: function(cm, head, motionArgs) {\n        // CodeMirror only exposes functions that move the cursor page down, so\n        // doing this bad hack to move the cursor and move it back. evalInput\n        // will move the cursor to where it should be in the end.\n        var curStart = head;\n        var repeat = motionArgs.repeat;\n        return cm.findPosV(curStart, (motionArgs.forward ? repeat : -repeat), 'page');\n      },\n      moveByParagraph: function(cm, head, motionArgs) {\n        var dir = motionArgs.forward ? 1 : -1;\n        return findParagraph(cm, head, motionArgs.repeat, dir);\n      },\n      moveByScroll: function(cm, head, motionArgs, vim) {\n        var scrollbox = cm.getScrollInfo();\n        var curEnd = null;\n        var repeat = motionArgs.repeat;\n        if (!repeat) {\n          repeat = scrollbox.clientHeight / (2 * cm.defaultTextHeight());\n        }\n        var orig = cm.charCoords(head, 'local');\n        motionArgs.repeat = repeat;\n        var curEnd = motions.moveByDisplayLines(cm, head, motionArgs, vim);\n        if (!curEnd) {\n          return null;\n        }\n        var dest = cm.charCoords(curEnd, 'local');\n        cm.scrollTo(null, scrollbox.top + dest.top - orig.top);\n        return curEnd;\n      },\n      moveByWords: function(cm, head, motionArgs) {\n        return moveToWord(cm, head, motionArgs.repeat, !!motionArgs.forward,\n            !!motionArgs.wordEnd, !!motionArgs.bigWord);\n      },\n      moveTillCharacter: function(cm, _head, motionArgs) {\n        var repeat = motionArgs.repeat;\n        var curEnd = moveToCharacter(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter);\n        var increment = motionArgs.forward ? -1 : 1;\n        recordLastCharacterSearch(increment, motionArgs);\n        if (!curEnd) return null;\n        curEnd.ch += increment;\n        return curEnd;\n      },\n      moveToCharacter: function(cm, head, motionArgs) {\n        var repeat = motionArgs.repeat;\n        recordLastCharacterSearch(0, motionArgs);\n        return moveToCharacter(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter) || head;\n      },\n      moveToSymbol: function(cm, head, motionArgs) {\n        var repeat = motionArgs.repeat;\n        return findSymbol(cm, repeat, motionArgs.forward,\n            motionArgs.selectedCharacter) || head;\n      },\n      moveToColumn: function(cm, head, motionArgs, vim) {\n        var repeat = motionArgs.repeat;\n        // repeat is equivalent to which column we want to move to!\n        vim.lastHPos = repeat - 1;\n        vim.lastHSPos = cm.charCoords(head,'div').left;\n        return moveToColumn(cm, repeat);\n      },\n      moveToEol: function(cm, head, motionArgs, vim) {\n        var cur = head;\n        vim.lastHPos = Infinity;\n        var retval= Pos(cur.line + motionArgs.repeat - 1, Infinity);\n        var end=cm.clipPos(retval);\n        end.ch--;\n        vim.lastHSPos = cm.charCoords(end,'div').left;\n        return retval;\n      },\n      moveToFirstNonWhiteSpaceCharacter: function(cm, head) {\n        // Go to the start of the line where the text begins, or the end for\n        // whitespace-only lines\n        var cursor = head;\n        return Pos(cursor.line,\n                   findFirstNonWhiteSpaceCharacter(cm.getLine(cursor.line)));\n      },\n      moveToMatchedSymbol: function(cm, head) {\n        var cursor = head;\n        var line = cursor.line;\n        var ch = cursor.ch;\n        var lineText = cm.getLine(line);\n        var symbol;\n        do {\n          symbol = lineText.charAt(ch++);\n          if (symbol && isMatchableSymbol(symbol)) {\n            var style = cm.getTokenTypeAt(Pos(line, ch));\n            if (style !== \"string\" && style !== \"comment\") {\n              break;\n            }\n          }\n        } while (symbol);\n        if (symbol) {\n          var matched = cm.findMatchingBracket(Pos(line, ch));\n          return matched.to;\n        } else {\n          return cursor;\n        }\n      },\n      moveToStartOfLine: function(_cm, head) {\n        return Pos(head.line, 0);\n      },\n      moveToLineOrEdgeOfDocument: function(cm, _head, motionArgs) {\n        var lineNum = motionArgs.forward ? cm.lastLine() : cm.firstLine();\n        if (motionArgs.repeatIsExplicit) {\n          lineNum = motionArgs.repeat - cm.getOption('firstLineNumber');\n        }\n        return Pos(lineNum,\n                   findFirstNonWhiteSpaceCharacter(cm.getLine(lineNum)));\n      },\n      textObjectManipulation: function(cm, head, motionArgs, vim) {\n        // TODO: lots of possible exceptions that can be thrown here. Try da(\n        //     outside of a () block.\n\n        // TODO: adding <> >< to this map doesn't work, presumably because\n        // they're operators\n        var mirroredPairs = {'(': ')', ')': '(',\n                             '{': '}', '}': '{',\n                             '[': ']', ']': '['};\n        var selfPaired = {'\\'': true, '\"': true};\n\n        var character = motionArgs.selectedCharacter;\n        // 'b' refers to  '()' block.\n        // 'B' refers to  '{}' block.\n        if (character == 'b') {\n          character = '(';\n        } else if (character == 'B') {\n          character = '{';\n        }\n\n        // Inclusive is the difference between a and i\n        // TODO: Instead of using the additional text object map to perform text\n        //     object operations, merge the map into the defaultKeyMap and use\n        //     motionArgs to define behavior. Define separate entries for 'aw',\n        //     'iw', 'a[', 'i[', etc.\n        var inclusive = !motionArgs.textObjectInner;\n\n        var tmp;\n        if (mirroredPairs[character]) {\n          tmp = selectCompanionObject(cm, head, character, inclusive);\n        } else if (selfPaired[character]) {\n          tmp = findBeginningAndEnd(cm, head, character, inclusive);\n        } else if (character === 'W') {\n          tmp = expandWordUnderCursor(cm, inclusive, true /** forward */,\n                                                     true /** bigWord */);\n        } else if (character === 'w') {\n          tmp = expandWordUnderCursor(cm, inclusive, true /** forward */,\n                                                     false /** bigWord */);\n        } else if (character === 'p') {\n          tmp = findParagraph(cm, head, motionArgs.repeat, 0, inclusive);\n          motionArgs.linewise = true;\n          if (vim.visualMode) {\n            if (!vim.visualLine) { vim.visualLine = true; }\n          } else {\n            var operatorArgs = vim.inputState.operatorArgs;\n            if (operatorArgs) { operatorArgs.linewise = true; }\n            tmp.end.line--;\n          }\n        } else {\n          // No text object defined for this, don't move.\n          return null;\n        }\n\n        if (!cm.state.vim.visualMode) {\n          return [tmp.start, tmp.end];\n        } else {\n          return expandSelection(cm, tmp.start, tmp.end);\n        }\n      },\n\n      repeatLastCharacterSearch: function(cm, head, motionArgs) {\n        var lastSearch = vimGlobalState.lastCharacterSearch;\n        var repeat = motionArgs.repeat;\n        var forward = motionArgs.forward === lastSearch.forward;\n        var increment = (lastSearch.increment ? 1 : 0) * (forward ? -1 : 1);\n        cm.moveH(-increment, 'char');\n        motionArgs.inclusive = forward ? true : false;\n        var curEnd = moveToCharacter(cm, repeat, forward, lastSearch.selectedCharacter);\n        if (!curEnd) {\n          cm.moveH(increment, 'char');\n          return head;\n        }\n        curEnd.ch += increment;\n        return curEnd;\n      }\n    };\n\n    function defineMotion(name, fn) {\n      motions[name] = fn;\n    }\n\n    function fillArray(val, times) {\n      var arr = [];\n      for (var i = 0; i < times; i++) {\n        arr.push(val);\n      }\n      return arr;\n    }\n    /**\n     * An operator acts on a text selection. It receives the list of selections\n     * as input. The corresponding CodeMirror selection is guaranteed to\n    * match the input selection.\n     */\n    var operators = {\n      change: function(cm, args, ranges) {\n        var finalHead, text;\n        var vim = cm.state.vim;\n        vimGlobalState.macroModeState.lastInsertModeChanges.inVisualBlock = vim.visualBlock;\n        if (!vim.visualMode) {\n          var anchor = ranges[0].anchor,\n              head = ranges[0].head;\n          text = cm.getRange(anchor, head);\n          var lastState = vim.lastEditInputState || {};\n          if (lastState.motion == \"moveByWords\" && !isWhiteSpaceString(text)) {\n            // Exclude trailing whitespace if the range is not all whitespace.\n            var match = (/\\s+$/).exec(text);\n            if (match && lastState.motionArgs && lastState.motionArgs.forward) {\n              head = offsetCursor(head, 0, - match[0].length);\n              text = text.slice(0, - match[0].length);\n            }\n          }\n          var prevLineEnd = new Pos(anchor.line - 1, Number.MAX_VALUE);\n          var wasLastLine = cm.firstLine() == cm.lastLine();\n          if (head.line > cm.lastLine() && args.linewise && !wasLastLine) {\n            cm.replaceRange('', prevLineEnd, head);\n          } else {\n            cm.replaceRange('', anchor, head);\n          }\n          if (args.linewise) {\n            // Push the next line back down, if there is a next line.\n            if (!wasLastLine) {\n              cm.setCursor(prevLineEnd);\n              CodeMirror.commands.newlineAndIndent(cm);\n            }\n            // make sure cursor ends up at the end of the line.\n            anchor.ch = Number.MAX_VALUE;\n          }\n          finalHead = anchor;\n        } else {\n          text = cm.getSelection();\n          var replacement = fillArray('', ranges.length);\n          cm.replaceSelections(replacement);\n          finalHead = cursorMin(ranges[0].head, ranges[0].anchor);\n        }\n        vimGlobalState.registerController.pushText(\n            args.registerName, 'change', text,\n            args.linewise, ranges.length > 1);\n        actions.enterInsertMode(cm, {head: finalHead}, cm.state.vim);\n      },\n      // delete is a javascript keyword.\n      'delete': function(cm, args, ranges) {\n        var finalHead, text;\n        var vim = cm.state.vim;\n        if (!vim.visualBlock) {\n          var anchor = ranges[0].anchor,\n              head = ranges[0].head;\n          if (args.linewise &&\n              head.line != cm.firstLine() &&\n              anchor.line == cm.lastLine() &&\n              anchor.line == head.line - 1) {\n            // Special case for dd on last line (and first line).\n            if (anchor.line == cm.firstLine()) {\n              anchor.ch = 0;\n            } else {\n              anchor = Pos(anchor.line - 1, lineLength(cm, anchor.line - 1));\n            }\n          }\n          text = cm.getRange(anchor, head);\n          cm.replaceRange('', anchor, head);\n          finalHead = anchor;\n          if (args.linewise) {\n            finalHead = motions.moveToFirstNonWhiteSpaceCharacter(cm, anchor);\n          }\n        } else {\n          text = cm.getSelection();\n          var replacement = fillArray('', ranges.length);\n          cm.replaceSelections(replacement);\n          finalHead = ranges[0].anchor;\n        }\n        vimGlobalState.registerController.pushText(\n            args.registerName, 'delete', text,\n            args.linewise, vim.visualBlock);\n        return clipCursorToContent(cm, finalHead);\n      },\n      indent: function(cm, args, ranges) {\n        var vim = cm.state.vim;\n        var startLine = ranges[0].anchor.line;\n        var endLine = vim.visualBlock ?\n          ranges[ranges.length - 1].anchor.line :\n          ranges[0].head.line;\n        // In visual mode, n> shifts the selection right n times, instead of\n        // shifting n lines right once.\n        var repeat = (vim.visualMode) ? args.repeat : 1;\n        if (args.linewise) {\n          // The only way to delete a newline is to delete until the start of\n          // the next line, so in linewise mode evalInput will include the next\n          // line. We don't want this in indent, so we go back a line.\n          endLine--;\n        }\n        for (var i = startLine; i <= endLine; i++) {\n          for (var j = 0; j < repeat; j++) {\n            cm.indentLine(i, args.indentRight);\n          }\n        }\n        return motions.moveToFirstNonWhiteSpaceCharacter(cm, ranges[0].anchor);\n      },\n      changeCase: function(cm, args, ranges, oldAnchor, newHead) {\n        var selections = cm.getSelections();\n        var swapped = [];\n        var toLower = args.toLower;\n        for (var j = 0; j < selections.length; j++) {\n          var toSwap = selections[j];\n          var text = '';\n          if (toLower === true) {\n            text = toSwap.toLowerCase();\n          } else if (toLower === false) {\n            text = toSwap.toUpperCase();\n          } else {\n            for (var i = 0; i < toSwap.length; i++) {\n              var character = toSwap.charAt(i);\n              text += isUpperCase(character) ? character.toLowerCase() :\n                  character.toUpperCase();\n            }\n          }\n          swapped.push(text);\n        }\n        cm.replaceSelections(swapped);\n        if (args.shouldMoveCursor){\n          return newHead;\n        } else if (!cm.state.vim.visualMode && args.linewise && ranges[0].anchor.line + 1 == ranges[0].head.line) {\n          return motions.moveToFirstNonWhiteSpaceCharacter(cm, oldAnchor);\n        } else if (args.linewise){\n          return oldAnchor;\n        } else {\n          return cursorMin(ranges[0].anchor, ranges[0].head);\n        }\n      },\n      yank: function(cm, args, ranges, oldAnchor) {\n        var vim = cm.state.vim;\n        var text = cm.getSelection();\n        var endPos = vim.visualMode\n          ? cursorMin(vim.sel.anchor, vim.sel.head, ranges[0].head, ranges[0].anchor)\n          : oldAnchor;\n        vimGlobalState.registerController.pushText(\n            args.registerName, 'yank',\n            text, args.linewise, vim.visualBlock);\n        return endPos;\n      }\n    };\n\n    function defineOperator(name, fn) {\n      operators[name] = fn;\n    }\n\n    var actions = {\n      jumpListWalk: function(cm, actionArgs, vim) {\n        if (vim.visualMode) {\n          return;\n        }\n        var repeat = actionArgs.repeat;\n        var forward = actionArgs.forward;\n        var jumpList = vimGlobalState.jumpList;\n\n        var mark = jumpList.move(cm, forward ? repeat : -repeat);\n        var markPos = mark ? mark.find() : undefined;\n        markPos = markPos ? markPos : cm.getCursor();\n        cm.setCursor(markPos);\n      },\n      scroll: function(cm, actionArgs, vim) {\n        if (vim.visualMode) {\n          return;\n        }\n        var repeat = actionArgs.repeat || 1;\n        var lineHeight = cm.defaultTextHeight();\n        var top = cm.getScrollInfo().top;\n        var delta = lineHeight * repeat;\n        var newPos = actionArgs.forward ? top + delta : top - delta;\n        var cursor = copyCursor(cm.getCursor());\n        var cursorCoords = cm.charCoords(cursor, 'local');\n        if (actionArgs.forward) {\n          if (newPos > cursorCoords.top) {\n             cursor.line += (newPos - cursorCoords.top) / lineHeight;\n             cursor.line = Math.ceil(cursor.line);\n             cm.setCursor(cursor);\n             cursorCoords = cm.charCoords(cursor, 'local');\n             cm.scrollTo(null, cursorCoords.top);\n          } else {\n             // Cursor stays within bounds.  Just reposition the scroll window.\n             cm.scrollTo(null, newPos);\n          }\n        } else {\n          var newBottom = newPos + cm.getScrollInfo().clientHeight;\n          if (newBottom < cursorCoords.bottom) {\n             cursor.line -= (cursorCoords.bottom - newBottom) / lineHeight;\n             cursor.line = Math.floor(cursor.line);\n             cm.setCursor(cursor);\n             cursorCoords = cm.charCoords(cursor, 'local');\n             cm.scrollTo(\n                 null, cursorCoords.bottom - cm.getScrollInfo().clientHeight);\n          } else {\n             // Cursor stays within bounds.  Just reposition the scroll window.\n             cm.scrollTo(null, newPos);\n          }\n        }\n      },\n      scrollToCursor: function(cm, actionArgs) {\n        var lineNum = cm.getCursor().line;\n        var charCoords = cm.charCoords(Pos(lineNum, 0), 'local');\n        var height = cm.getScrollInfo().clientHeight;\n        var y = charCoords.top;\n        var lineHeight = charCoords.bottom - y;\n        switch (actionArgs.position) {\n          case 'center': y = y - (height / 2) + lineHeight;\n            break;\n          case 'bottom': y = y - height + lineHeight;\n            break;\n        }\n        cm.scrollTo(null, y);\n      },\n      replayMacro: function(cm, actionArgs, vim) {\n        var registerName = actionArgs.selectedCharacter;\n        var repeat = actionArgs.repeat;\n        var macroModeState = vimGlobalState.macroModeState;\n        if (registerName == '@') {\n          registerName = macroModeState.latestRegister;\n        }\n        while(repeat--){\n          executeMacroRegister(cm, vim, macroModeState, registerName);\n        }\n      },\n      enterMacroRecordMode: function(cm, actionArgs) {\n        var macroModeState = vimGlobalState.macroModeState;\n        var registerName = actionArgs.selectedCharacter;\n        macroModeState.enterMacroRecordMode(cm, registerName);\n      },\n      enterInsertMode: function(cm, actionArgs, vim) {\n        if (cm.getOption('readOnly')) { return; }\n        vim.insertMode = true;\n        vim.insertModeRepeat = actionArgs && actionArgs.repeat || 1;\n        var insertAt = (actionArgs) ? actionArgs.insertAt : null;\n        var sel = vim.sel;\n        var head = actionArgs.head || cm.getCursor('head');\n        var height = cm.listSelections().length;\n        if (insertAt == 'eol') {\n          head = Pos(head.line, lineLength(cm, head.line));\n        } else if (insertAt == 'charAfter') {\n          head = offsetCursor(head, 0, 1);\n        } else if (insertAt == 'firstNonBlank') {\n          head = motions.moveToFirstNonWhiteSpaceCharacter(cm, head);\n        } else if (insertAt == 'startOfSelectedArea') {\n          if (!vim.visualBlock) {\n            if (sel.head.line < sel.anchor.line) {\n              head = sel.head;\n            } else {\n              head = Pos(sel.anchor.line, 0);\n            }\n          } else {\n            head = Pos(\n                Math.min(sel.head.line, sel.anchor.line),\n                Math.min(sel.head.ch, sel.anchor.ch));\n            height = Math.abs(sel.head.line - sel.anchor.line) + 1;\n          }\n        } else if (insertAt == 'endOfSelectedArea') {\n          if (!vim.visualBlock) {\n            if (sel.head.line >= sel.anchor.line) {\n              head = offsetCursor(sel.head, 0, 1);\n            } else {\n              head = Pos(sel.anchor.line, 0);\n            }\n          } else {\n            head = Pos(\n                Math.min(sel.head.line, sel.anchor.line),\n                Math.max(sel.head.ch + 1, sel.anchor.ch));\n            height = Math.abs(sel.head.line - sel.anchor.line) + 1;\n          }\n        } else if (insertAt == 'inplace') {\n          if (vim.visualMode){\n            return;\n          }\n        }\n        cm.setOption('keyMap', 'vim-insert');\n        cm.setOption('disableInput', false);\n        if (actionArgs && actionArgs.replace) {\n          // Handle Replace-mode as a special case of insert mode.\n          cm.toggleOverwrite(true);\n          cm.setOption('keyMap', 'vim-replace');\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"replace\"});\n        } else {\n          cm.setOption('keyMap', 'vim-insert');\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"insert\"});\n        }\n        if (!vimGlobalState.macroModeState.isPlaying) {\n          // Only record if not replaying.\n          cm.on('change', onChange);\n          CodeMirror.on(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);\n        }\n        if (vim.visualMode) {\n          exitVisualMode(cm);\n        }\n        selectForInsert(cm, head, height);\n      },\n      toggleVisualMode: function(cm, actionArgs, vim) {\n        var repeat = actionArgs.repeat;\n        var anchor = cm.getCursor();\n        var head;\n        // TODO: The repeat should actually select number of characters/lines\n        //     equal to the repeat times the size of the previous visual\n        //     operation.\n        if (!vim.visualMode) {\n          // Entering visual mode\n          vim.visualMode = true;\n          vim.visualLine = !!actionArgs.linewise;\n          vim.visualBlock = !!actionArgs.blockwise;\n          head = clipCursorToContent(\n              cm, Pos(anchor.line, anchor.ch + repeat - 1),\n              true /** includeLineBreak */);\n          vim.sel = {\n            anchor: anchor,\n            head: head\n          };\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\", subMode: vim.visualLine ? \"linewise\" : vim.visualBlock ? \"blockwise\" : \"\"});\n          updateCmSelection(cm);\n          updateMark(cm, vim, '<', cursorMin(anchor, head));\n          updateMark(cm, vim, '>', cursorMax(anchor, head));\n        } else if (vim.visualLine ^ actionArgs.linewise ||\n            vim.visualBlock ^ actionArgs.blockwise) {\n          // Toggling between modes\n          vim.visualLine = !!actionArgs.linewise;\n          vim.visualBlock = !!actionArgs.blockwise;\n          CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\", subMode: vim.visualLine ? \"linewise\" : vim.visualBlock ? \"blockwise\" : \"\"});\n          updateCmSelection(cm);\n        } else {\n          exitVisualMode(cm);\n        }\n      },\n      reselectLastSelection: function(cm, _actionArgs, vim) {\n        var lastSelection = vim.lastSelection;\n        if (vim.visualMode) {\n          updateLastSelection(cm, vim);\n        }\n        if (lastSelection) {\n          var anchor = lastSelection.anchorMark.find();\n          var head = lastSelection.headMark.find();\n          if (!anchor || !head) {\n            // If the marks have been destroyed due to edits, do nothing.\n            return;\n          }\n          vim.sel = {\n            anchor: anchor,\n            head: head\n          };\n          vim.visualMode = true;\n          vim.visualLine = lastSelection.visualLine;\n          vim.visualBlock = lastSelection.visualBlock;\n          updateCmSelection(cm);\n          updateMark(cm, vim, '<', cursorMin(anchor, head));\n          updateMark(cm, vim, '>', cursorMax(anchor, head));\n          CodeMirror.signal(cm, 'vim-mode-change', {\n            mode: 'visual',\n            subMode: vim.visualLine ? 'linewise' :\n                     vim.visualBlock ? 'blockwise' : ''});\n        }\n      },\n      joinLines: function(cm, actionArgs, vim) {\n        var curStart, curEnd;\n        if (vim.visualMode) {\n          curStart = cm.getCursor('anchor');\n          curEnd = cm.getCursor('head');\n          if (cursorIsBefore(curEnd, curStart)) {\n            var tmp = curEnd;\n            curEnd = curStart;\n            curStart = tmp;\n          }\n          curEnd.ch = lineLength(cm, curEnd.line) - 1;\n        } else {\n          // Repeat is the number of lines to join. Minimum 2 lines.\n          var repeat = Math.max(actionArgs.repeat, 2);\n          curStart = cm.getCursor();\n          curEnd = clipCursorToContent(cm, Pos(curStart.line + repeat - 1,\n                                               Infinity));\n        }\n        var finalCh = 0;\n        for (var i = curStart.line; i < curEnd.line; i++) {\n          finalCh = lineLength(cm, curStart.line);\n          var tmp = Pos(curStart.line + 1,\n                        lineLength(cm, curStart.line + 1));\n          var text = cm.getRange(curStart, tmp);\n          text = text.replace(/\\n\\s*/g, ' ');\n          cm.replaceRange(text, curStart, tmp);\n        }\n        var curFinalPos = Pos(curStart.line, finalCh);\n        if (vim.visualMode) {\n          exitVisualMode(cm, false);\n        }\n        cm.setCursor(curFinalPos);\n      },\n      newLineAndEnterInsertMode: function(cm, actionArgs, vim) {\n        vim.insertMode = true;\n        var insertAt = copyCursor(cm.getCursor());\n        if (insertAt.line === cm.firstLine() && !actionArgs.after) {\n          // Special case for inserting newline before start of document.\n          cm.replaceRange('\\n', Pos(cm.firstLine(), 0));\n          cm.setCursor(cm.firstLine(), 0);\n        } else {\n          insertAt.line = (actionArgs.after) ? insertAt.line :\n              insertAt.line - 1;\n          insertAt.ch = lineLength(cm, insertAt.line);\n          cm.setCursor(insertAt);\n          var newlineFn = CodeMirror.commands.newlineAndIndentContinueComment ||\n              CodeMirror.commands.newlineAndIndent;\n          newlineFn(cm);\n        }\n        this.enterInsertMode(cm, { repeat: actionArgs.repeat }, vim);\n      },\n      paste: function(cm, actionArgs, vim) {\n        var cur = copyCursor(cm.getCursor());\n        var register = vimGlobalState.registerController.getRegister(\n            actionArgs.registerName);\n        var text = register.toString();\n        if (!text) {\n          return;\n        }\n        if (actionArgs.matchIndent) {\n          var tabSize = cm.getOption(\"tabSize\");\n          // length that considers tabs and tabSize\n          var whitespaceLength = function(str) {\n            var tabs = (str.split(\"\\t\").length - 1);\n            var spaces = (str.split(\" \").length - 1);\n            return tabs * tabSize + spaces * 1;\n          };\n          var currentLine = cm.getLine(cm.getCursor().line);\n          var indent = whitespaceLength(currentLine.match(/^\\s*/)[0]);\n          // chomp last newline b/c don't want it to match /^\\s*/gm\n          var chompedText = text.replace(/\\n$/, '');\n          var wasChomped = text !== chompedText;\n          var firstIndent = whitespaceLength(text.match(/^\\s*/)[0]);\n          var text = chompedText.replace(/^\\s*/gm, function(wspace) {\n            var newIndent = indent + (whitespaceLength(wspace) - firstIndent);\n            if (newIndent < 0) {\n              return \"\";\n            }\n            else if (cm.getOption(\"indentWithTabs\")) {\n              var quotient = Math.floor(newIndent / tabSize);\n              return Array(quotient + 1).join('\\t');\n            }\n            else {\n              return Array(newIndent + 1).join(' ');\n            }\n          });\n          text += wasChomped ? \"\\n\" : \"\";\n        }\n        if (actionArgs.repeat > 1) {\n          var text = Array(actionArgs.repeat + 1).join(text);\n        }\n        var linewise = register.linewise;\n        var blockwise = register.blockwise;\n        if (linewise) {\n          if(vim.visualMode) {\n            text = vim.visualLine ? text.slice(0, -1) : '\\n' + text.slice(0, text.length - 1) + '\\n';\n          } else if (actionArgs.after) {\n            // Move the newline at the end to the start instead, and paste just\n            // before the newline character of the line we are on right now.\n            text = '\\n' + text.slice(0, text.length - 1);\n            cur.ch = lineLength(cm, cur.line);\n          } else {\n            cur.ch = 0;\n          }\n        } else {\n          if (blockwise) {\n            text = text.split('\\n');\n            for (var i = 0; i < text.length; i++) {\n              text[i] = (text[i] == '') ? ' ' : text[i];\n            }\n          }\n          cur.ch += actionArgs.after ? 1 : 0;\n        }\n        var curPosFinal;\n        var idx;\n        if (vim.visualMode) {\n          //  save the pasted text for reselection if the need arises\n          vim.lastPastedText = text;\n          var lastSelectionCurEnd;\n          var selectedArea = getSelectedAreaRange(cm, vim);\n          var selectionStart = selectedArea[0];\n          var selectionEnd = selectedArea[1];\n          var selectedText = cm.getSelection();\n          var selections = cm.listSelections();\n          var emptyStrings = new Array(selections.length).join('1').split('1');\n          // save the curEnd marker before it get cleared due to cm.replaceRange.\n          if (vim.lastSelection) {\n            lastSelectionCurEnd = vim.lastSelection.headMark.find();\n          }\n          // push the previously selected text to unnamed register\n          vimGlobalState.registerController.unnamedRegister.setText(selectedText);\n          if (blockwise) {\n            // first delete the selected text\n            cm.replaceSelections(emptyStrings);\n            // Set new selections as per the block length of the yanked text\n            selectionEnd = Pos(selectionStart.line + text.length-1, selectionStart.ch);\n            cm.setCursor(selectionStart);\n            selectBlock(cm, selectionEnd);\n            cm.replaceSelections(text);\n            curPosFinal = selectionStart;\n          } else if (vim.visualBlock) {\n            cm.replaceSelections(emptyStrings);\n            cm.setCursor(selectionStart);\n            cm.replaceRange(text, selectionStart, selectionStart);\n            curPosFinal = selectionStart;\n          } else {\n            cm.replaceRange(text, selectionStart, selectionEnd);\n            curPosFinal = cm.posFromIndex(cm.indexFromPos(selectionStart) + text.length - 1);\n          }\n          // restore the the curEnd marker\n          if(lastSelectionCurEnd) {\n            vim.lastSelection.headMark = cm.setBookmark(lastSelectionCurEnd);\n          }\n          if (linewise) {\n            curPosFinal.ch=0;\n          }\n        } else {\n          if (blockwise) {\n            cm.setCursor(cur);\n            for (var i = 0; i < text.length; i++) {\n              var line = cur.line+i;\n              if (line > cm.lastLine()) {\n                cm.replaceRange('\\n',  Pos(line, 0));\n              }\n              var lastCh = lineLength(cm, line);\n              if (lastCh < cur.ch) {\n                extendLineToColumn(cm, line, cur.ch);\n              }\n            }\n            cm.setCursor(cur);\n            selectBlock(cm, Pos(cur.line + text.length-1, cur.ch));\n            cm.replaceSelections(text);\n            curPosFinal = cur;\n          } else {\n            cm.replaceRange(text, cur);\n            // Now fine tune the cursor to where we want it.\n            if (linewise && actionArgs.after) {\n              curPosFinal = Pos(\n              cur.line + 1,\n              findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line + 1)));\n            } else if (linewise && !actionArgs.after) {\n              curPosFinal = Pos(\n                cur.line,\n                findFirstNonWhiteSpaceCharacter(cm.getLine(cur.line)));\n            } else if (!linewise && actionArgs.after) {\n              idx = cm.indexFromPos(cur);\n              curPosFinal = cm.posFromIndex(idx + text.length - 1);\n            } else {\n              idx = cm.indexFromPos(cur);\n              curPosFinal = cm.posFromIndex(idx + text.length);\n            }\n          }\n        }\n        if (vim.visualMode) {\n          exitVisualMode(cm, false);\n        }\n        cm.setCursor(curPosFinal);\n      },\n      undo: function(cm, actionArgs) {\n        cm.operation(function() {\n          repeatFn(cm, CodeMirror.commands.undo, actionArgs.repeat)();\n          cm.setCursor(cm.getCursor('anchor'));\n        });\n      },\n      redo: function(cm, actionArgs) {\n        repeatFn(cm, CodeMirror.commands.redo, actionArgs.repeat)();\n      },\n      setRegister: function(_cm, actionArgs, vim) {\n        vim.inputState.registerName = actionArgs.selectedCharacter;\n      },\n      setMark: function(cm, actionArgs, vim) {\n        var markName = actionArgs.selectedCharacter;\n        updateMark(cm, vim, markName, cm.getCursor());\n      },\n      replace: function(cm, actionArgs, vim) {\n        var replaceWith = actionArgs.selectedCharacter;\n        var curStart = cm.getCursor();\n        var replaceTo;\n        var curEnd;\n        var selections = cm.listSelections();\n        if (vim.visualMode) {\n          curStart = cm.getCursor('start');\n          curEnd = cm.getCursor('end');\n        } else {\n          var line = cm.getLine(curStart.line);\n          replaceTo = curStart.ch + actionArgs.repeat;\n          if (replaceTo > line.length) {\n            replaceTo=line.length;\n          }\n          curEnd = Pos(curStart.line, replaceTo);\n        }\n        if (replaceWith=='\\n') {\n          if (!vim.visualMode) cm.replaceRange('', curStart, curEnd);\n          // special case, where vim help says to replace by just one line-break\n          (CodeMirror.commands.newlineAndIndentContinueComment || CodeMirror.commands.newlineAndIndent)(cm);\n        } else {\n          var replaceWithStr = cm.getRange(curStart, curEnd);\n          //replace all characters in range by selected, but keep linebreaks\n          replaceWithStr = replaceWithStr.replace(/[^\\n]/g, replaceWith);\n          if (vim.visualBlock) {\n            // Tabs are split in visua block before replacing\n            var spaces = new Array(cm.getOption(\"tabSize\")+1).join(' ');\n            replaceWithStr = cm.getSelection();\n            replaceWithStr = replaceWithStr.replace(/\\t/g, spaces).replace(/[^\\n]/g, replaceWith).split('\\n');\n            cm.replaceSelections(replaceWithStr);\n          } else {\n            cm.replaceRange(replaceWithStr, curStart, curEnd);\n          }\n          if (vim.visualMode) {\n            curStart = cursorIsBefore(selections[0].anchor, selections[0].head) ?\n                         selections[0].anchor : selections[0].head;\n            cm.setCursor(curStart);\n            exitVisualMode(cm, false);\n          } else {\n            cm.setCursor(offsetCursor(curEnd, 0, -1));\n          }\n        }\n      },\n      incrementNumberToken: function(cm, actionArgs) {\n        var cur = cm.getCursor();\n        var lineStr = cm.getLine(cur.line);\n        var re = /-?\\d+/g;\n        var match;\n        var start;\n        var end;\n        var numberStr;\n        var token;\n        while ((match = re.exec(lineStr)) !== null) {\n          token = match[0];\n          start = match.index;\n          end = start + token.length;\n          if (cur.ch < end)break;\n        }\n        if (!actionArgs.backtrack && (end <= cur.ch))return;\n        if (token) {\n          var increment = actionArgs.increase ? 1 : -1;\n          var number = parseInt(token) + (increment * actionArgs.repeat);\n          var from = Pos(cur.line, start);\n          var to = Pos(cur.line, end);\n          numberStr = number.toString();\n          cm.replaceRange(numberStr, from, to);\n        } else {\n          return;\n        }\n        cm.setCursor(Pos(cur.line, start + numberStr.length - 1));\n      },\n      repeatLastEdit: function(cm, actionArgs, vim) {\n        var lastEditInputState = vim.lastEditInputState;\n        if (!lastEditInputState) { return; }\n        var repeat = actionArgs.repeat;\n        if (repeat && actionArgs.repeatIsExplicit) {\n          vim.lastEditInputState.repeatOverride = repeat;\n        } else {\n          repeat = vim.lastEditInputState.repeatOverride || repeat;\n        }\n        repeatLastEdit(cm, vim, repeat, false /** repeatForInsert */);\n      },\n      exitInsertMode: exitInsertMode\n    };\n\n    function defineAction(name, fn) {\n      actions[name] = fn;\n    }\n\n    /*\n     * Below are miscellaneous utility functions used by vim.js\n     */\n\n    /**\n     * Clips cursor to ensure that line is within the buffer's range\n     * If includeLineBreak is true, then allow cur.ch == lineLength.\n     */\n    function clipCursorToContent(cm, cur, includeLineBreak) {\n      var line = Math.min(Math.max(cm.firstLine(), cur.line), cm.lastLine() );\n      var maxCh = lineLength(cm, line) - 1;\n      maxCh = (includeLineBreak) ? maxCh + 1 : maxCh;\n      var ch = Math.min(Math.max(0, cur.ch), maxCh);\n      return Pos(line, ch);\n    }\n    function copyArgs(args) {\n      var ret = {};\n      for (var prop in args) {\n        if (args.hasOwnProperty(prop)) {\n          ret[prop] = args[prop];\n        }\n      }\n      return ret;\n    }\n    function offsetCursor(cur, offsetLine, offsetCh) {\n      if (typeof offsetLine === 'object') {\n        offsetCh = offsetLine.ch;\n        offsetLine = offsetLine.line;\n      }\n      return Pos(cur.line + offsetLine, cur.ch + offsetCh);\n    }\n    function getOffset(anchor, head) {\n      return {\n        line: head.line - anchor.line,\n        ch: head.line - anchor.line\n      };\n    }\n    function commandMatches(keys, keyMap, context, inputState) {\n      // Partial matches are not applied. They inform the key handler\n      // that the current key sequence is a subsequence of a valid key\n      // sequence, so that the key buffer is not cleared.\n      var match, partial = [], full = [];\n      for (var i = 0; i < keyMap.length; i++) {\n        var command = keyMap[i];\n        if (context == 'insert' && command.context != 'insert' ||\n            command.context && command.context != context ||\n            inputState.operator && command.type == 'action' ||\n            !(match = commandMatch(keys, command.keys))) { continue; }\n        if (match == 'partial') { partial.push(command); }\n        if (match == 'full') { full.push(command); }\n      }\n      return {\n        partial: partial.length && partial,\n        full: full.length && full\n      };\n    }\n    function commandMatch(pressed, mapped) {\n      if (mapped.slice(-11) == '<character>') {\n        // Last character matches anything.\n        var prefixLen = mapped.length - 11;\n        var pressedPrefix = pressed.slice(0, prefixLen);\n        var mappedPrefix = mapped.slice(0, prefixLen);\n        return pressedPrefix == mappedPrefix && pressed.length > prefixLen ? 'full' :\n               mappedPrefix.indexOf(pressedPrefix) == 0 ? 'partial' : false;\n      } else {\n        return pressed == mapped ? 'full' :\n               mapped.indexOf(pressed) == 0 ? 'partial' : false;\n      }\n    }\n    function lastChar(keys) {\n      var match = /^.*(<[\\w\\-]+>)$/.exec(keys);\n      var selectedCharacter = match ? match[1] : keys.slice(-1);\n      if (selectedCharacter.length > 1){\n        switch(selectedCharacter){\n          case '<CR>':\n            selectedCharacter='\\n';\n            break;\n          case '<Space>':\n            selectedCharacter=' ';\n            break;\n          default:\n            break;\n        }\n      }\n      return selectedCharacter;\n    }\n    function repeatFn(cm, fn, repeat) {\n      return function() {\n        for (var i = 0; i < repeat; i++) {\n          fn(cm);\n        }\n      };\n    }\n    function copyCursor(cur) {\n      return Pos(cur.line, cur.ch);\n    }\n    function cursorEqual(cur1, cur2) {\n      return cur1.ch == cur2.ch && cur1.line == cur2.line;\n    }\n    function cursorIsBefore(cur1, cur2) {\n      if (cur1.line < cur2.line) {\n        return true;\n      }\n      if (cur1.line == cur2.line && cur1.ch < cur2.ch) {\n        return true;\n      }\n      return false;\n    }\n    function cursorMin(cur1, cur2) {\n      if (arguments.length > 2) {\n        cur2 = cursorMin.apply(undefined, Array.prototype.slice.call(arguments, 1));\n      }\n      return cursorIsBefore(cur1, cur2) ? cur1 : cur2;\n    }\n    function cursorMax(cur1, cur2) {\n      if (arguments.length > 2) {\n        cur2 = cursorMax.apply(undefined, Array.prototype.slice.call(arguments, 1));\n      }\n      return cursorIsBefore(cur1, cur2) ? cur2 : cur1;\n    }\n    function cursorIsBetween(cur1, cur2, cur3) {\n      // returns true if cur2 is between cur1 and cur3.\n      var cur1before2 = cursorIsBefore(cur1, cur2);\n      var cur2before3 = cursorIsBefore(cur2, cur3);\n      return cur1before2 && cur2before3;\n    }\n    function lineLength(cm, lineNum) {\n      return cm.getLine(lineNum).length;\n    }\n    function trim(s) {\n      if (s.trim) {\n        return s.trim();\n      }\n      return s.replace(/^\\s+|\\s+$/g, '');\n    }\n    function escapeRegex(s) {\n      return s.replace(/([.?*+$\\[\\]\\/\\\\(){}|\\-])/g, '\\\\$1');\n    }\n    function extendLineToColumn(cm, lineNum, column) {\n      var endCh = lineLength(cm, lineNum);\n      var spaces = new Array(column-endCh+1).join(' ');\n      cm.setCursor(Pos(lineNum, endCh));\n      cm.replaceRange(spaces, cm.getCursor());\n    }\n    // This functions selects a rectangular block\n    // of text with selectionEnd as any of its corner\n    // Height of block:\n    // Difference in selectionEnd.line and first/last selection.line\n    // Width of the block:\n    // Distance between selectionEnd.ch and any(first considered here) selection.ch\n    function selectBlock(cm, selectionEnd) {\n      var selections = [], ranges = cm.listSelections();\n      var head = copyCursor(cm.clipPos(selectionEnd));\n      var isClipped = !cursorEqual(selectionEnd, head);\n      var curHead = cm.getCursor('head');\n      var primIndex = getIndex(ranges, curHead);\n      var wasClipped = cursorEqual(ranges[primIndex].head, ranges[primIndex].anchor);\n      var max = ranges.length - 1;\n      var index = max - primIndex > primIndex ? max : 0;\n      var base = ranges[index].anchor;\n\n      var firstLine = Math.min(base.line, head.line);\n      var lastLine = Math.max(base.line, head.line);\n      var baseCh = base.ch, headCh = head.ch;\n\n      var dir = ranges[index].head.ch - baseCh;\n      var newDir = headCh - baseCh;\n      if (dir > 0 && newDir <= 0) {\n        baseCh++;\n        if (!isClipped) { headCh--; }\n      } else if (dir < 0 && newDir >= 0) {\n        baseCh--;\n        if (!wasClipped) { headCh++; }\n      } else if (dir < 0 && newDir == -1) {\n        baseCh--;\n        headCh++;\n      }\n      for (var line = firstLine; line <= lastLine; line++) {\n        var range = {anchor: new Pos(line, baseCh), head: new Pos(line, headCh)};\n        selections.push(range);\n      }\n      primIndex = head.line == lastLine ? selections.length - 1 : 0;\n      cm.setSelections(selections);\n      selectionEnd.ch = headCh;\n      base.ch = baseCh;\n      return base;\n    }\n    function selectForInsert(cm, head, height) {\n      var sel = [];\n      for (var i = 0; i < height; i++) {\n        var lineHead = offsetCursor(head, i, 0);\n        sel.push({anchor: lineHead, head: lineHead});\n      }\n      cm.setSelections(sel, 0);\n    }\n    // getIndex returns the index of the cursor in the selections.\n    function getIndex(ranges, cursor, end) {\n      for (var i = 0; i < ranges.length; i++) {\n        var atAnchor = end != 'head' && cursorEqual(ranges[i].anchor, cursor);\n        var atHead = end != 'anchor' && cursorEqual(ranges[i].head, cursor);\n        if (atAnchor || atHead) {\n          return i;\n        }\n      }\n      return -1;\n    }\n    function getSelectedAreaRange(cm, vim) {\n      var lastSelection = vim.lastSelection;\n      var getCurrentSelectedAreaRange = function() {\n        var selections = cm.listSelections();\n        var start =  selections[0];\n        var end = selections[selections.length-1];\n        var selectionStart = cursorIsBefore(start.anchor, start.head) ? start.anchor : start.head;\n        var selectionEnd = cursorIsBefore(end.anchor, end.head) ? end.head : end.anchor;\n        return [selectionStart, selectionEnd];\n      };\n      var getLastSelectedAreaRange = function() {\n        var selectionStart = cm.getCursor();\n        var selectionEnd = cm.getCursor();\n        var block = lastSelection.visualBlock;\n        if (block) {\n          var width = block.width;\n          var height = block.height;\n          selectionEnd = Pos(selectionStart.line + height, selectionStart.ch + width);\n          var selections = [];\n          // selectBlock creates a 'proper' rectangular block.\n          // We do not want that in all cases, so we manually set selections.\n          for (var i = selectionStart.line; i < selectionEnd.line; i++) {\n            var anchor = Pos(i, selectionStart.ch);\n            var head = Pos(i, selectionEnd.ch);\n            var range = {anchor: anchor, head: head};\n            selections.push(range);\n          }\n          cm.setSelections(selections);\n        } else {\n          var start = lastSelection.anchorMark.find();\n          var end = lastSelection.headMark.find();\n          var line = end.line - start.line;\n          var ch = end.ch - start.ch;\n          selectionEnd = {line: selectionEnd.line + line, ch: line ? selectionEnd.ch : ch + selectionEnd.ch};\n          if (lastSelection.visualLine) {\n            selectionStart = Pos(selectionStart.line, 0);\n            selectionEnd = Pos(selectionEnd.line, lineLength(cm, selectionEnd.line));\n          }\n          cm.setSelection(selectionStart, selectionEnd);\n        }\n        return [selectionStart, selectionEnd];\n      };\n      if (!vim.visualMode) {\n      // In case of replaying the action.\n        return getLastSelectedAreaRange();\n      } else {\n        return getCurrentSelectedAreaRange();\n      }\n    }\n    // Updates the previous selection with the current selection's values. This\n    // should only be called in visual mode.\n    function updateLastSelection(cm, vim) {\n      var anchor = vim.sel.anchor;\n      var head = vim.sel.head;\n      // To accommodate the effect of lastPastedText in the last selection\n      if (vim.lastPastedText) {\n        head = cm.posFromIndex(cm.indexFromPos(anchor) + vim.lastPastedText.length);\n        vim.lastPastedText = null;\n      }\n      vim.lastSelection = {'anchorMark': cm.setBookmark(anchor),\n                           'headMark': cm.setBookmark(head),\n                           'anchor': copyCursor(anchor),\n                           'head': copyCursor(head),\n                           'visualMode': vim.visualMode,\n                           'visualLine': vim.visualLine,\n                           'visualBlock': vim.visualBlock};\n    }\n    function expandSelection(cm, start, end) {\n      var sel = cm.state.vim.sel;\n      var head = sel.head;\n      var anchor = sel.anchor;\n      var tmp;\n      if (cursorIsBefore(end, start)) {\n        tmp = end;\n        end = start;\n        start = tmp;\n      }\n      if (cursorIsBefore(head, anchor)) {\n        head = cursorMin(start, head);\n        anchor = cursorMax(anchor, end);\n      } else {\n        anchor = cursorMin(start, anchor);\n        head = cursorMax(head, end);\n        head = offsetCursor(head, 0, -1);\n        if (head.ch == -1 && head.line != cm.firstLine()) {\n          head = Pos(head.line - 1, lineLength(cm, head.line - 1));\n        }\n      }\n      return [anchor, head];\n    }\n    /**\n     * Updates the CodeMirror selection to match the provided vim selection.\n     * If no arguments are given, it uses the current vim selection state.\n     */\n    function updateCmSelection(cm, sel, mode) {\n      var vim = cm.state.vim;\n      sel = sel || vim.sel;\n      var mode = mode ||\n        vim.visualLine ? 'line' : vim.visualBlock ? 'block' : 'char';\n      var cmSel = makeCmSelection(cm, sel, mode);\n      cm.setSelections(cmSel.ranges, cmSel.primary);\n      updateFakeCursor(cm);\n    }\n    function makeCmSelection(cm, sel, mode, exclusive) {\n      var head = copyCursor(sel.head);\n      var anchor = copyCursor(sel.anchor);\n      if (mode == 'char') {\n        var headOffset = !exclusive && !cursorIsBefore(sel.head, sel.anchor) ? 1 : 0;\n        var anchorOffset = cursorIsBefore(sel.head, sel.anchor) ? 1 : 0;\n        head = offsetCursor(sel.head, 0, headOffset);\n        anchor = offsetCursor(sel.anchor, 0, anchorOffset);\n        return {\n          ranges: [{anchor: anchor, head: head}],\n          primary: 0\n        };\n      } else if (mode == 'line') {\n        if (!cursorIsBefore(sel.head, sel.anchor)) {\n          anchor.ch = 0;\n\n          var lastLine = cm.lastLine();\n          if (head.line > lastLine) {\n            head.line = lastLine;\n          }\n          head.ch = lineLength(cm, head.line);\n        } else {\n          head.ch = 0;\n          anchor.ch = lineLength(cm, anchor.line);\n        }\n        return {\n          ranges: [{anchor: anchor, head: head}],\n          primary: 0\n        };\n      } else if (mode == 'block') {\n        var top = Math.min(anchor.line, head.line),\n            left = Math.min(anchor.ch, head.ch),\n            bottom = Math.max(anchor.line, head.line),\n            right = Math.max(anchor.ch, head.ch) + 1;\n        var height = bottom - top + 1;\n        var primary = head.line == top ? 0 : height - 1;\n        var ranges = [];\n        for (var i = 0; i < height; i++) {\n          ranges.push({\n            anchor: Pos(top + i, left),\n            head: Pos(top + i, right)\n          });\n        }\n        return {\n          ranges: ranges,\n          primary: primary\n        };\n      }\n    }\n    function getHead(cm) {\n      var cur = cm.getCursor('head');\n      if (cm.getSelection().length == 1) {\n        // Small corner case when only 1 character is selected. The \"real\"\n        // head is the left of head and anchor.\n        cur = cursorMin(cur, cm.getCursor('anchor'));\n      }\n      return cur;\n    }\n\n    /**\n     * If moveHead is set to false, the CodeMirror selection will not be\n     * touched. The caller assumes the responsibility of putting the cursor\n    * in the right place.\n     */\n    function exitVisualMode(cm, moveHead) {\n      var vim = cm.state.vim;\n      if (moveHead !== false) {\n        cm.setCursor(clipCursorToContent(cm, vim.sel.head));\n      }\n      updateLastSelection(cm, vim);\n      vim.visualMode = false;\n      vim.visualLine = false;\n      vim.visualBlock = false;\n      CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n      if (vim.fakeCursor) {\n        vim.fakeCursor.clear();\n      }\n    }\n\n    // Remove any trailing newlines from the selection. For\n    // example, with the caret at the start of the last word on the line,\n    // 'dw' should word, but not the newline, while 'w' should advance the\n    // caret to the first character of the next line.\n    function clipToLine(cm, curStart, curEnd) {\n      var selection = cm.getRange(curStart, curEnd);\n      // Only clip if the selection ends with trailing newline + whitespace\n      if (/\\n\\s*$/.test(selection)) {\n        var lines = selection.split('\\n');\n        // We know this is all whitespace.\n        lines.pop();\n\n        // Cases:\n        // 1. Last word is an empty line - do not clip the trailing '\\n'\n        // 2. Last word is not an empty line - clip the trailing '\\n'\n        var line;\n        // Find the line containing the last word, and clip all whitespace up\n        // to it.\n        for (var line = lines.pop(); lines.length > 0 && line && isWhiteSpaceString(line); line = lines.pop()) {\n          curEnd.line--;\n          curEnd.ch = 0;\n        }\n        // If the last word is not an empty line, clip an additional newline\n        if (line) {\n          curEnd.line--;\n          curEnd.ch = lineLength(cm, curEnd.line);\n        } else {\n          curEnd.ch = 0;\n        }\n      }\n    }\n\n    // Expand the selection to line ends.\n    function expandSelectionToLine(_cm, curStart, curEnd) {\n      curStart.ch = 0;\n      curEnd.ch = 0;\n      curEnd.line++;\n    }\n\n    function findFirstNonWhiteSpaceCharacter(text) {\n      if (!text) {\n        return 0;\n      }\n      var firstNonWS = text.search(/\\S/);\n      return firstNonWS == -1 ? text.length : firstNonWS;\n    }\n\n    function expandWordUnderCursor(cm, inclusive, _forward, bigWord, noSymbol) {\n      var cur = getHead(cm);\n      var line = cm.getLine(cur.line);\n      var idx = cur.ch;\n\n      // Seek to first word or non-whitespace character, depending on if\n      // noSymbol is true.\n      var test = noSymbol ? wordCharTest[0] : bigWordCharTest [0];\n      while (!test(line.charAt(idx))) {\n        idx++;\n        if (idx >= line.length) { return null; }\n      }\n\n      if (bigWord) {\n        test = bigWordCharTest[0];\n      } else {\n        test = wordCharTest[0];\n        if (!test(line.charAt(idx))) {\n          test = wordCharTest[1];\n        }\n      }\n\n      var end = idx, start = idx;\n      while (test(line.charAt(end)) && end < line.length) { end++; }\n      while (test(line.charAt(start)) && start >= 0) { start--; }\n      start++;\n\n      if (inclusive) {\n        // If present, include all whitespace after word.\n        // Otherwise, include all whitespace before word, except indentation.\n        var wordEnd = end;\n        while (/\\s/.test(line.charAt(end)) && end < line.length) { end++; }\n        if (wordEnd == end) {\n          var wordStart = start;\n          while (/\\s/.test(line.charAt(start - 1)) && start > 0) { start--; }\n          if (!start) { start = wordStart; }\n        }\n      }\n      return { start: Pos(cur.line, start), end: Pos(cur.line, end) };\n    }\n\n    function recordJumpPosition(cm, oldCur, newCur) {\n      if (!cursorEqual(oldCur, newCur)) {\n        vimGlobalState.jumpList.add(cm, oldCur, newCur);\n      }\n    }\n\n    function recordLastCharacterSearch(increment, args) {\n        vimGlobalState.lastCharacterSearch.increment = increment;\n        vimGlobalState.lastCharacterSearch.forward = args.forward;\n        vimGlobalState.lastCharacterSearch.selectedCharacter = args.selectedCharacter;\n    }\n\n    var symbolToMode = {\n        '(': 'bracket', ')': 'bracket', '{': 'bracket', '}': 'bracket',\n        '[': 'section', ']': 'section',\n        '*': 'comment', '/': 'comment',\n        'm': 'method', 'M': 'method',\n        '#': 'preprocess'\n    };\n    var findSymbolModes = {\n      bracket: {\n        isComplete: function(state) {\n          if (state.nextCh === state.symb) {\n            state.depth++;\n            if (state.depth >= 1)return true;\n          } else if (state.nextCh === state.reverseSymb) {\n            state.depth--;\n          }\n          return false;\n        }\n      },\n      section: {\n        init: function(state) {\n          state.curMoveThrough = true;\n          state.symb = (state.forward ? ']' : '[') === state.symb ? '{' : '}';\n        },\n        isComplete: function(state) {\n          return state.index === 0 && state.nextCh === state.symb;\n        }\n      },\n      comment: {\n        isComplete: function(state) {\n          var found = state.lastCh === '*' && state.nextCh === '/';\n          state.lastCh = state.nextCh;\n          return found;\n        }\n      },\n      // TODO: The original Vim implementation only operates on level 1 and 2.\n      // The current implementation doesn't check for code block level and\n      // therefore it operates on any levels.\n      method: {\n        init: function(state) {\n          state.symb = (state.symb === 'm' ? '{' : '}');\n          state.reverseSymb = state.symb === '{' ? '}' : '{';\n        },\n        isComplete: function(state) {\n          if (state.nextCh === state.symb)return true;\n          return false;\n        }\n      },\n      preprocess: {\n        init: function(state) {\n          state.index = 0;\n        },\n        isComplete: function(state) {\n          if (state.nextCh === '#') {\n            var token = state.lineText.match(/#(\\w+)/)[1];\n            if (token === 'endif') {\n              if (state.forward && state.depth === 0) {\n                return true;\n              }\n              state.depth++;\n            } else if (token === 'if') {\n              if (!state.forward && state.depth === 0) {\n                return true;\n              }\n              state.depth--;\n            }\n            if (token === 'else' && state.depth === 0)return true;\n          }\n          return false;\n        }\n      }\n    };\n    function findSymbol(cm, repeat, forward, symb) {\n      var cur = copyCursor(cm.getCursor());\n      var increment = forward ? 1 : -1;\n      var endLine = forward ? cm.lineCount() : -1;\n      var curCh = cur.ch;\n      var line = cur.line;\n      var lineText = cm.getLine(line);\n      var state = {\n        lineText: lineText,\n        nextCh: lineText.charAt(curCh),\n        lastCh: null,\n        index: curCh,\n        symb: symb,\n        reverseSymb: (forward ?  { ')': '(', '}': '{' } : { '(': ')', '{': '}' })[symb],\n        forward: forward,\n        depth: 0,\n        curMoveThrough: false\n      };\n      var mode = symbolToMode[symb];\n      if (!mode)return cur;\n      var init = findSymbolModes[mode].init;\n      var isComplete = findSymbolModes[mode].isComplete;\n      if (init) { init(state); }\n      while (line !== endLine && repeat) {\n        state.index += increment;\n        state.nextCh = state.lineText.charAt(state.index);\n        if (!state.nextCh) {\n          line += increment;\n          state.lineText = cm.getLine(line) || '';\n          if (increment > 0) {\n            state.index = 0;\n          } else {\n            var lineLen = state.lineText.length;\n            state.index = (lineLen > 0) ? (lineLen-1) : 0;\n          }\n          state.nextCh = state.lineText.charAt(state.index);\n        }\n        if (isComplete(state)) {\n          cur.line = line;\n          cur.ch = state.index;\n          repeat--;\n        }\n      }\n      if (state.nextCh || state.curMoveThrough) {\n        return Pos(line, state.index);\n      }\n      return cur;\n    }\n\n    /**\n     * Returns the boundaries of the next word. If the cursor in the middle of\n     * the word, then returns the boundaries of the current word, starting at\n     * the cursor. If the cursor is at the start/end of a word, and we are going\n     * forward/backward, respectively, find the boundaries of the next word.\n     *\n     * @param {CodeMirror} cm CodeMirror object.\n     * @param {Cursor} cur The cursor position.\n     * @param {boolean} forward True to search forward. False to search\n     *     backward.\n     * @param {boolean} bigWord True if punctuation count as part of the word.\n     *     False if only [a-zA-Z0-9] characters count as part of the word.\n     * @param {boolean} emptyLineIsWord True if empty lines should be treated\n     *     as words.\n     * @return {Object{from:number, to:number, line: number}} The boundaries of\n     *     the word, or null if there are no more words.\n     */\n    function findWord(cm, cur, forward, bigWord, emptyLineIsWord) {\n      var lineNum = cur.line;\n      var pos = cur.ch;\n      var line = cm.getLine(lineNum);\n      var dir = forward ? 1 : -1;\n      var charTests = bigWord ? bigWordCharTest: wordCharTest;\n\n      if (emptyLineIsWord && line == '') {\n        lineNum += dir;\n        line = cm.getLine(lineNum);\n        if (!isLine(cm, lineNum)) {\n          return null;\n        }\n        pos = (forward) ? 0 : line.length;\n      }\n\n      while (true) {\n        if (emptyLineIsWord && line == '') {\n          return { from: 0, to: 0, line: lineNum };\n        }\n        var stop = (dir > 0) ? line.length : -1;\n        var wordStart = stop, wordEnd = stop;\n        // Find bounds of next word.\n        while (pos != stop) {\n          var foundWord = false;\n          for (var i = 0; i < charTests.length && !foundWord; ++i) {\n            if (charTests[i](line.charAt(pos))) {\n              wordStart = pos;\n              // Advance to end of word.\n              while (pos != stop && charTests[i](line.charAt(pos))) {\n                pos += dir;\n              }\n              wordEnd = pos;\n              foundWord = wordStart != wordEnd;\n              if (wordStart == cur.ch && lineNum == cur.line &&\n                  wordEnd == wordStart + dir) {\n                // We started at the end of a word. Find the next one.\n                continue;\n              } else {\n                return {\n                  from: Math.min(wordStart, wordEnd + 1),\n                  to: Math.max(wordStart, wordEnd),\n                  line: lineNum };\n              }\n            }\n          }\n          if (!foundWord) {\n            pos += dir;\n          }\n        }\n        // Advance to next/prev line.\n        lineNum += dir;\n        if (!isLine(cm, lineNum)) {\n          return null;\n        }\n        line = cm.getLine(lineNum);\n        pos = (dir > 0) ? 0 : line.length;\n      }\n    }\n\n    /**\n     * @param {CodeMirror} cm CodeMirror object.\n     * @param {Pos} cur The position to start from.\n     * @param {int} repeat Number of words to move past.\n     * @param {boolean} forward True to search forward. False to search\n     *     backward.\n     * @param {boolean} wordEnd True to move to end of word. False to move to\n     *     beginning of word.\n     * @param {boolean} bigWord True if punctuation count as part of the word.\n     *     False if only alphabet characters count as part of the word.\n     * @return {Cursor} The position the cursor should move to.\n     */\n    function moveToWord(cm, cur, repeat, forward, wordEnd, bigWord) {\n      var curStart = copyCursor(cur);\n      var words = [];\n      if (forward && !wordEnd || !forward && wordEnd) {\n        repeat++;\n      }\n      // For 'e', empty lines are not considered words, go figure.\n      var emptyLineIsWord = !(forward && wordEnd);\n      for (var i = 0; i < repeat; i++) {\n        var word = findWord(cm, cur, forward, bigWord, emptyLineIsWord);\n        if (!word) {\n          var eodCh = lineLength(cm, cm.lastLine());\n          words.push(forward\n              ? {line: cm.lastLine(), from: eodCh, to: eodCh}\n              : {line: 0, from: 0, to: 0});\n          break;\n        }\n        words.push(word);\n        cur = Pos(word.line, forward ? (word.to - 1) : word.from);\n      }\n      var shortCircuit = words.length != repeat;\n      var firstWord = words[0];\n      var lastWord = words.pop();\n      if (forward && !wordEnd) {\n        // w\n        if (!shortCircuit && (firstWord.from != curStart.ch || firstWord.line != curStart.line)) {\n          // We did not start in the middle of a word. Discard the extra word at the end.\n          lastWord = words.pop();\n        }\n        return Pos(lastWord.line, lastWord.from);\n      } else if (forward && wordEnd) {\n        return Pos(lastWord.line, lastWord.to - 1);\n      } else if (!forward && wordEnd) {\n        // ge\n        if (!shortCircuit && (firstWord.to != curStart.ch || firstWord.line != curStart.line)) {\n          // We did not start in the middle of a word. Discard the extra word at the end.\n          lastWord = words.pop();\n        }\n        return Pos(lastWord.line, lastWord.to);\n      } else {\n        // b\n        return Pos(lastWord.line, lastWord.from);\n      }\n    }\n\n    function moveToCharacter(cm, repeat, forward, character) {\n      var cur = cm.getCursor();\n      var start = cur.ch;\n      var idx;\n      for (var i = 0; i < repeat; i ++) {\n        var line = cm.getLine(cur.line);\n        idx = charIdxInLine(start, line, character, forward, true);\n        if (idx == -1) {\n          return null;\n        }\n        start = idx;\n      }\n      return Pos(cm.getCursor().line, idx);\n    }\n\n    function moveToColumn(cm, repeat) {\n      // repeat is always >= 1, so repeat - 1 always corresponds\n      // to the column we want to go to.\n      var line = cm.getCursor().line;\n      return clipCursorToContent(cm, Pos(line, repeat - 1));\n    }\n\n    function updateMark(cm, vim, markName, pos) {\n      if (!inArray(markName, validMarks)) {\n        return;\n      }\n      if (vim.marks[markName]) {\n        vim.marks[markName].clear();\n      }\n      vim.marks[markName] = cm.setBookmark(pos);\n    }\n\n    function charIdxInLine(start, line, character, forward, includeChar) {\n      // Search for char in line.\n      // motion_options: {forward, includeChar}\n      // If includeChar = true, include it too.\n      // If forward = true, search forward, else search backwards.\n      // If char is not found on this line, do nothing\n      var idx;\n      if (forward) {\n        idx = line.indexOf(character, start + 1);\n        if (idx != -1 && !includeChar) {\n          idx -= 1;\n        }\n      } else {\n        idx = line.lastIndexOf(character, start - 1);\n        if (idx != -1 && !includeChar) {\n          idx += 1;\n        }\n      }\n      return idx;\n    }\n\n    function findParagraph(cm, head, repeat, dir, inclusive) {\n      var line = head.line;\n      var min = cm.firstLine();\n      var max = cm.lastLine();\n      var start, end, i = line;\n      function isEmpty(i) { return !cm.getLine(i); }\n      function isBoundary(i, dir, any) {\n        if (any) { return isEmpty(i) != isEmpty(i + dir); }\n        return !isEmpty(i) && isEmpty(i + dir);\n      }\n      if (dir) {\n        while (min <= i && i <= max && repeat > 0) {\n          if (isBoundary(i, dir)) { repeat--; }\n          i += dir;\n        }\n        return new Pos(i, 0);\n      }\n\n      var vim = cm.state.vim;\n      if (vim.visualLine && isBoundary(line, 1, true)) {\n        var anchor = vim.sel.anchor;\n        if (isBoundary(anchor.line, -1, true)) {\n          if (!inclusive || anchor.line != line) {\n            line += 1;\n          }\n        }\n      }\n      var startState = isEmpty(line);\n      for (i = line; i <= max && repeat; i++) {\n        if (isBoundary(i, 1, true)) {\n          if (!inclusive || isEmpty(i) != startState) {\n            repeat--;\n          }\n        }\n      }\n      end = new Pos(i, 0);\n      // select boundary before paragraph for the last one\n      if (i > max && !startState) { startState = true; }\n      else { inclusive = false; }\n      for (i = line; i > min; i--) {\n        if (!inclusive || isEmpty(i) == startState || i == line) {\n          if (isBoundary(i, -1, true)) { break; }\n        }\n      }\n      start = new Pos(i, 0);\n      return { start: start, end: end };\n    }\n\n    // TODO: perhaps this finagling of start and end positions belonds\n    // in codemirror/replaceRange?\n    function selectCompanionObject(cm, head, symb, inclusive) {\n      var cur = head, start, end;\n\n      var bracketRegexp = ({\n        '(': /[()]/, ')': /[()]/,\n        '[': /[[\\]]/, ']': /[[\\]]/,\n        '{': /[{}]/, '}': /[{}]/})[symb];\n      var openSym = ({\n        '(': '(', ')': '(',\n        '[': '[', ']': '[',\n        '{': '{', '}': '{'})[symb];\n      var curChar = cm.getLine(cur.line).charAt(cur.ch);\n      // Due to the behavior of scanForBracket, we need to add an offset if the\n      // cursor is on a matching open bracket.\n      var offset = curChar === openSym ? 1 : 0;\n\n      start = cm.scanForBracket(Pos(cur.line, cur.ch + offset), -1, null, {'bracketRegex': bracketRegexp});\n      end = cm.scanForBracket(Pos(cur.line, cur.ch + offset), 1, null, {'bracketRegex': bracketRegexp});\n\n      if (!start || !end) {\n        return { start: cur, end: cur };\n      }\n\n      start = start.pos;\n      end = end.pos;\n\n      if ((start.line == end.line && start.ch > end.ch)\n          || (start.line > end.line)) {\n        var tmp = start;\n        start = end;\n        end = tmp;\n      }\n\n      if (inclusive) {\n        end.ch += 1;\n      } else {\n        start.ch += 1;\n      }\n\n      return { start: start, end: end };\n    }\n\n    // Takes in a symbol and a cursor and tries to simulate text objects that\n    // have identical opening and closing symbols\n    // TODO support across multiple lines\n    function findBeginningAndEnd(cm, head, symb, inclusive) {\n      var cur = copyCursor(head);\n      var line = cm.getLine(cur.line);\n      var chars = line.split('');\n      var start, end, i, len;\n      var firstIndex = chars.indexOf(symb);\n\n      // the decision tree is to always look backwards for the beginning first,\n      // but if the cursor is in front of the first instance of the symb,\n      // then move the cursor forward\n      if (cur.ch < firstIndex) {\n        cur.ch = firstIndex;\n        // Why is this line even here???\n        // cm.setCursor(cur.line, firstIndex+1);\n      }\n      // otherwise if the cursor is currently on the closing symbol\n      else if (firstIndex < cur.ch && chars[cur.ch] == symb) {\n        end = cur.ch; // assign end to the current cursor\n        --cur.ch; // make sure to look backwards\n      }\n\n      // if we're currently on the symbol, we've got a start\n      if (chars[cur.ch] == symb && !end) {\n        start = cur.ch + 1; // assign start to ahead of the cursor\n      } else {\n        // go backwards to find the start\n        for (i = cur.ch; i > -1 && !start; i--) {\n          if (chars[i] == symb) {\n            start = i + 1;\n          }\n        }\n      }\n\n      // look forwards for the end symbol\n      if (start && !end) {\n        for (i = start, len = chars.length; i < len && !end; i++) {\n          if (chars[i] == symb) {\n            end = i;\n          }\n        }\n      }\n\n      // nothing found\n      if (!start || !end) {\n        return { start: cur, end: cur };\n      }\n\n      // include the symbols\n      if (inclusive) {\n        --start; ++end;\n      }\n\n      return {\n        start: Pos(cur.line, start),\n        end: Pos(cur.line, end)\n      };\n    }\n\n    // Search functions\n    defineOption('pcre', true, 'boolean');\n    function SearchState() {}\n    SearchState.prototype = {\n      getQuery: function() {\n        return vimGlobalState.query;\n      },\n      setQuery: function(query) {\n        vimGlobalState.query = query;\n      },\n      getOverlay: function() {\n        return this.searchOverlay;\n      },\n      setOverlay: function(overlay) {\n        this.searchOverlay = overlay;\n      },\n      isReversed: function() {\n        return vimGlobalState.isReversed;\n      },\n      setReversed: function(reversed) {\n        vimGlobalState.isReversed = reversed;\n      },\n      getScrollbarAnnotate: function() {\n        return this.annotate;\n      },\n      setScrollbarAnnotate: function(annotate) {\n        this.annotate = annotate;\n      }\n    };\n    function getSearchState(cm) {\n      var vim = cm.state.vim;\n      return vim.searchState_ || (vim.searchState_ = new SearchState());\n    }\n    function dialog(cm, template, shortText, onClose, options) {\n      if (cm.openDialog) {\n        cm.openDialog(template, onClose, { bottom: true, value: options.value,\n            onKeyDown: options.onKeyDown, onKeyUp: options.onKeyUp,\n            selectValueOnOpen: false});\n      }\n      else {\n        onClose(prompt(shortText, ''));\n      }\n    }\n    function splitBySlash(argString) {\n      var slashes = findUnescapedSlashes(argString) || [];\n      if (!slashes.length) return [];\n      var tokens = [];\n      // in case of strings like foo/bar\n      if (slashes[0] !== 0) return;\n      for (var i = 0; i < slashes.length; i++) {\n        if (typeof slashes[i] == 'number')\n          tokens.push(argString.substring(slashes[i] + 1, slashes[i+1]));\n      }\n      return tokens;\n    }\n\n    function findUnescapedSlashes(str) {\n      var escapeNextChar = false;\n      var slashes = [];\n      for (var i = 0; i < str.length; i++) {\n        var c = str.charAt(i);\n        if (!escapeNextChar && c == '/') {\n          slashes.push(i);\n        }\n        escapeNextChar = !escapeNextChar && (c == '\\\\');\n      }\n      return slashes;\n    }\n\n    // Translates a search string from ex (vim) syntax into javascript form.\n    function translateRegex(str) {\n      // When these match, add a '\\' if unescaped or remove one if escaped.\n      var specials = '|(){';\n      // Remove, but never add, a '\\' for these.\n      var unescape = '}';\n      var escapeNextChar = false;\n      var out = [];\n      for (var i = -1; i < str.length; i++) {\n        var c = str.charAt(i) || '';\n        var n = str.charAt(i+1) || '';\n        var specialComesNext = (n && specials.indexOf(n) != -1);\n        if (escapeNextChar) {\n          if (c !== '\\\\' || !specialComesNext) {\n            out.push(c);\n          }\n          escapeNextChar = false;\n        } else {\n          if (c === '\\\\') {\n            escapeNextChar = true;\n            // Treat the unescape list as special for removing, but not adding '\\'.\n            if (n && unescape.indexOf(n) != -1) {\n              specialComesNext = true;\n            }\n            // Not passing this test means removing a '\\'.\n            if (!specialComesNext || n === '\\\\') {\n              out.push(c);\n            }\n          } else {\n            out.push(c);\n            if (specialComesNext && n !== '\\\\') {\n              out.push('\\\\');\n            }\n          }\n        }\n      }\n      return out.join('');\n    }\n\n    // Translates the replace part of a search and replace from ex (vim) syntax into\n    // javascript form.  Similar to translateRegex, but additionally fixes back references\n    // (translates '\\[0..9]' to '$[0..9]') and follows different rules for escaping '$'.\n    var charUnescapes = {'\\\\n': '\\n', '\\\\r': '\\r', '\\\\t': '\\t'};\n    function translateRegexReplace(str) {\n      var escapeNextChar = false;\n      var out = [];\n      for (var i = -1; i < str.length; i++) {\n        var c = str.charAt(i) || '';\n        var n = str.charAt(i+1) || '';\n        if (charUnescapes[c + n]) {\n          out.push(charUnescapes[c+n]);\n          i++;\n        } else if (escapeNextChar) {\n          // At any point in the loop, escapeNextChar is true if the previous\n          // character was a '\\' and was not escaped.\n          out.push(c);\n          escapeNextChar = false;\n        } else {\n          if (c === '\\\\') {\n            escapeNextChar = true;\n            if ((isNumber(n) || n === '$')) {\n              out.push('$');\n            } else if (n !== '/' && n !== '\\\\') {\n              out.push('\\\\');\n            }\n          } else {\n            if (c === '$') {\n              out.push('$');\n            }\n            out.push(c);\n            if (n === '/') {\n              out.push('\\\\');\n            }\n          }\n        }\n      }\n      return out.join('');\n    }\n\n    // Unescape \\ and / in the replace part, for PCRE mode.\n    var unescapes = {'\\\\/': '/', '\\\\\\\\': '\\\\', '\\\\n': '\\n', '\\\\r': '\\r', '\\\\t': '\\t'};\n    function unescapeRegexReplace(str) {\n      var stream = new CodeMirror.StringStream(str);\n      var output = [];\n      while (!stream.eol()) {\n        // Search for \\.\n        while (stream.peek() && stream.peek() != '\\\\') {\n          output.push(stream.next());\n        }\n        var matched = false;\n        for (var matcher in unescapes) {\n          if (stream.match(matcher, true)) {\n            matched = true;\n            output.push(unescapes[matcher]);\n            break;\n          }\n        }\n        if (!matched) {\n          // Don't change anything\n          output.push(stream.next());\n        }\n      }\n      return output.join('');\n    }\n\n    /**\n     * Extract the regular expression from the query and return a Regexp object.\n     * Returns null if the query is blank.\n     * If ignoreCase is passed in, the Regexp object will have the 'i' flag set.\n     * If smartCase is passed in, and the query contains upper case letters,\n     *   then ignoreCase is overridden, and the 'i' flag will not be set.\n     * If the query contains the /i in the flag part of the regular expression,\n     *   then both ignoreCase and smartCase are ignored, and 'i' will be passed\n     *   through to the Regex object.\n     */\n    function parseQuery(query, ignoreCase, smartCase) {\n      // First update the last search register\n      var lastSearchRegister = vimGlobalState.registerController.getRegister('/');\n      lastSearchRegister.setText(query);\n      // Check if the query is already a regex.\n      if (query instanceof RegExp) { return query; }\n      // First try to extract regex + flags from the input. If no flags found,\n      // extract just the regex. IE does not accept flags directly defined in\n      // the regex string in the form /regex/flags\n      var slashes = findUnescapedSlashes(query);\n      var regexPart;\n      var forceIgnoreCase;\n      if (!slashes.length) {\n        // Query looks like 'regexp'\n        regexPart = query;\n      } else {\n        // Query looks like 'regexp/...'\n        regexPart = query.substring(0, slashes[0]);\n        var flagsPart = query.substring(slashes[0]);\n        forceIgnoreCase = (flagsPart.indexOf('i') != -1);\n      }\n      if (!regexPart) {\n        return null;\n      }\n      if (!getOption('pcre')) {\n        regexPart = translateRegex(regexPart);\n      }\n      if (smartCase) {\n        ignoreCase = (/^[^A-Z]*$/).test(regexPart);\n      }\n      var regexp = new RegExp(regexPart,\n          (ignoreCase || forceIgnoreCase) ? 'i' : undefined);\n      return regexp;\n    }\n    function showConfirm(cm, text) {\n      if (cm.openNotification) {\n        cm.openNotification('<span style=\"color: red\">' + text + '</span>',\n                            {bottom: true, duration: 5000});\n      } else {\n        alert(text);\n      }\n    }\n    function makePrompt(prefix, desc) {\n      var raw = '<span style=\"font-family: monospace; white-space: pre\">' +\n          (prefix || \"\") + '<input type=\"text\"></span>';\n      if (desc)\n        raw += ' <span style=\"color: #888\">' + desc + '</span>';\n      return raw;\n    }\n    var searchPromptDesc = '(Javascript regexp)';\n    function showPrompt(cm, options) {\n      var shortText = (options.prefix || '') + ' ' + (options.desc || '');\n      var prompt = makePrompt(options.prefix, options.desc);\n      dialog(cm, prompt, shortText, options.onClose, options);\n    }\n    function regexEqual(r1, r2) {\n      if (r1 instanceof RegExp && r2 instanceof RegExp) {\n          var props = ['global', 'multiline', 'ignoreCase', 'source'];\n          for (var i = 0; i < props.length; i++) {\n              var prop = props[i];\n              if (r1[prop] !== r2[prop]) {\n                  return false;\n              }\n          }\n          return true;\n      }\n      return false;\n    }\n    // Returns true if the query is valid.\n    function updateSearchQuery(cm, rawQuery, ignoreCase, smartCase) {\n      if (!rawQuery) {\n        return;\n      }\n      var state = getSearchState(cm);\n      var query = parseQuery(rawQuery, !!ignoreCase, !!smartCase);\n      if (!query) {\n        return;\n      }\n      highlightSearchMatches(cm, query);\n      if (regexEqual(query, state.getQuery())) {\n        return query;\n      }\n      state.setQuery(query);\n      return query;\n    }\n    function searchOverlay(query) {\n      if (query.source.charAt(0) == '^') {\n        var matchSol = true;\n      }\n      return {\n        token: function(stream) {\n          if (matchSol && !stream.sol()) {\n            stream.skipToEnd();\n            return;\n          }\n          var match = stream.match(query, false);\n          if (match) {\n            if (match[0].length == 0) {\n              // Matched empty string, skip to next.\n              stream.next();\n              return 'searching';\n            }\n            if (!stream.sol()) {\n              // Backtrack 1 to match \\b\n              stream.backUp(1);\n              if (!query.exec(stream.next() + match[0])) {\n                stream.next();\n                return null;\n              }\n            }\n            stream.match(query);\n            return 'searching';\n          }\n          while (!stream.eol()) {\n            stream.next();\n            if (stream.match(query, false)) break;\n          }\n        },\n        query: query\n      };\n    }\n    function highlightSearchMatches(cm, query) {\n      var searchState = getSearchState(cm);\n      var overlay = searchState.getOverlay();\n      if (!overlay || query != overlay.query) {\n        if (overlay) {\n          cm.removeOverlay(overlay);\n        }\n        overlay = searchOverlay(query);\n        cm.addOverlay(overlay);\n        if (cm.showMatchesOnScrollbar) {\n          if (searchState.getScrollbarAnnotate()) {\n            searchState.getScrollbarAnnotate().clear();\n          }\n          searchState.setScrollbarAnnotate(cm.showMatchesOnScrollbar(query));\n        }\n        searchState.setOverlay(overlay);\n      }\n    }\n    function findNext(cm, prev, query, repeat) {\n      if (repeat === undefined) { repeat = 1; }\n      return cm.operation(function() {\n        var pos = cm.getCursor();\n        var cursor = cm.getSearchCursor(query, pos);\n        for (var i = 0; i < repeat; i++) {\n          var found = cursor.find(prev);\n          if (i == 0 && found && cursorEqual(cursor.from(), pos)) { found = cursor.find(prev); }\n          if (!found) {\n            // SearchCursor may have returned null because it hit EOF, wrap\n            // around and try again.\n            cursor = cm.getSearchCursor(query,\n                (prev) ? Pos(cm.lastLine()) : Pos(cm.firstLine(), 0) );\n            if (!cursor.find(prev)) {\n              return;\n            }\n          }\n        }\n        return cursor.from();\n      });\n    }\n    function clearSearchHighlight(cm) {\n      var state = getSearchState(cm);\n      cm.removeOverlay(getSearchState(cm).getOverlay());\n      state.setOverlay(null);\n      if (state.getScrollbarAnnotate()) {\n        state.getScrollbarAnnotate().clear();\n        state.setScrollbarAnnotate(null);\n      }\n    }\n    /**\n     * Check if pos is in the specified range, INCLUSIVE.\n     * Range can be specified with 1 or 2 arguments.\n     * If the first range argument is an array, treat it as an array of line\n     * numbers. Match pos against any of the lines.\n     * If the first range argument is a number,\n     *   if there is only 1 range argument, check if pos has the same line\n     *       number\n     *   if there are 2 range arguments, then check if pos is in between the two\n     *       range arguments.\n     */\n    function isInRange(pos, start, end) {\n      if (typeof pos != 'number') {\n        // Assume it is a cursor position. Get the line number.\n        pos = pos.line;\n      }\n      if (start instanceof Array) {\n        return inArray(pos, start);\n      } else {\n        if (end) {\n          return (pos >= start && pos <= end);\n        } else {\n          return pos == start;\n        }\n      }\n    }\n    function getUserVisibleLines(cm) {\n      var scrollInfo = cm.getScrollInfo();\n      var occludeToleranceTop = 6;\n      var occludeToleranceBottom = 10;\n      var from = cm.coordsChar({left:0, top: occludeToleranceTop + scrollInfo.top}, 'local');\n      var bottomY = scrollInfo.clientHeight - occludeToleranceBottom + scrollInfo.top;\n      var to = cm.coordsChar({left:0, top: bottomY}, 'local');\n      return {top: from.line, bottom: to.line};\n    }\n\n    var ExCommandDispatcher = function() {\n      this.buildCommandMap_();\n    };\n    ExCommandDispatcher.prototype = {\n      processCommand: function(cm, input, opt_params) {\n        var that = this;\n        cm.operation(function () {\n          cm.curOp.isVimOp = true;\n          that._processCommand(cm, input, opt_params);\n        });\n      },\n      _processCommand: function(cm, input, opt_params) {\n        var vim = cm.state.vim;\n        var commandHistoryRegister = vimGlobalState.registerController.getRegister(':');\n        var previousCommand = commandHistoryRegister.toString();\n        if (vim.visualMode) {\n          exitVisualMode(cm);\n        }\n        var inputStream = new CodeMirror.StringStream(input);\n        // update \": with the latest command whether valid or invalid\n        commandHistoryRegister.setText(input);\n        var params = opt_params || {};\n        params.input = input;\n        try {\n          this.parseInput_(cm, inputStream, params);\n        } catch(e) {\n          showConfirm(cm, e);\n          throw e;\n        }\n        var command;\n        var commandName;\n        if (!params.commandName) {\n          // If only a line range is defined, move to the line.\n          if (params.line !== undefined) {\n            commandName = 'move';\n          }\n        } else {\n          command = this.matchCommand_(params.commandName);\n          if (command) {\n            commandName = command.name;\n            if (command.excludeFromCommandHistory) {\n              commandHistoryRegister.setText(previousCommand);\n            }\n            this.parseCommandArgs_(inputStream, params, command);\n            if (command.type == 'exToKey') {\n              // Handle Ex to Key mapping.\n              for (var i = 0; i < command.toKeys.length; i++) {\n                CodeMirror.Vim.handleKey(cm, command.toKeys[i], 'mapping');\n              }\n              return;\n            } else if (command.type == 'exToEx') {\n              // Handle Ex to Ex mapping.\n              this.processCommand(cm, command.toInput);\n              return;\n            }\n          }\n        }\n        if (!commandName) {\n          showConfirm(cm, 'Not an editor command \":' + input + '\"');\n          return;\n        }\n        try {\n          exCommands[commandName](cm, params);\n          // Possibly asynchronous commands (e.g. substitute, which might have a\n          // user confirmation), are responsible for calling the callback when\n          // done. All others have it taken care of for them here.\n          if ((!command || !command.possiblyAsync) && params.callback) {\n            params.callback();\n          }\n        } catch(e) {\n          showConfirm(cm, e);\n          throw e;\n        }\n      },\n      parseInput_: function(cm, inputStream, result) {\n        inputStream.eatWhile(':');\n        // Parse range.\n        if (inputStream.eat('%')) {\n          result.line = cm.firstLine();\n          result.lineEnd = cm.lastLine();\n        } else {\n          result.line = this.parseLineSpec_(cm, inputStream);\n          if (result.line !== undefined && inputStream.eat(',')) {\n            result.lineEnd = this.parseLineSpec_(cm, inputStream);\n          }\n        }\n\n        // Parse command name.\n        var commandMatch = inputStream.match(/^(\\w+)/);\n        if (commandMatch) {\n          result.commandName = commandMatch[1];\n        } else {\n          result.commandName = inputStream.match(/.*/)[0];\n        }\n\n        return result;\n      },\n      parseLineSpec_: function(cm, inputStream) {\n        var numberMatch = inputStream.match(/^(\\d+)/);\n        if (numberMatch) {\n          return parseInt(numberMatch[1], 10) - 1;\n        }\n        switch (inputStream.next()) {\n          case '.':\n            return cm.getCursor().line;\n          case '$':\n            return cm.lastLine();\n          case '\\'':\n            var mark = cm.state.vim.marks[inputStream.next()];\n            if (mark && mark.find()) {\n              return mark.find().line;\n            }\n            throw new Error('Mark not set');\n          default:\n            inputStream.backUp(1);\n            return undefined;\n        }\n      },\n      parseCommandArgs_: function(inputStream, params, command) {\n        if (inputStream.eol()) {\n          return;\n        }\n        params.argString = inputStream.match(/.*/)[0];\n        // Parse command-line arguments\n        var delim = command.argDelimiter || /\\s+/;\n        var args = trim(params.argString).split(delim);\n        if (args.length && args[0]) {\n          params.args = args;\n        }\n      },\n      matchCommand_: function(commandName) {\n        // Return the command in the command map that matches the shortest\n        // prefix of the passed in command name. The match is guaranteed to be\n        // unambiguous if the defaultExCommandMap's shortNames are set up\n        // correctly. (see @code{defaultExCommandMap}).\n        for (var i = commandName.length; i > 0; i--) {\n          var prefix = commandName.substring(0, i);\n          if (this.commandMap_[prefix]) {\n            var command = this.commandMap_[prefix];\n            if (command.name.indexOf(commandName) === 0) {\n              return command;\n            }\n          }\n        }\n        return null;\n      },\n      buildCommandMap_: function() {\n        this.commandMap_ = {};\n        for (var i = 0; i < defaultExCommandMap.length; i++) {\n          var command = defaultExCommandMap[i];\n          var key = command.shortName || command.name;\n          this.commandMap_[key] = command;\n        }\n      },\n      map: function(lhs, rhs, ctx) {\n        if (lhs != ':' && lhs.charAt(0) == ':') {\n          if (ctx) { throw Error('Mode not supported for ex mappings'); }\n          var commandName = lhs.substring(1);\n          if (rhs != ':' && rhs.charAt(0) == ':') {\n            // Ex to Ex mapping\n            this.commandMap_[commandName] = {\n              name: commandName,\n              type: 'exToEx',\n              toInput: rhs.substring(1),\n              user: true\n            };\n          } else {\n            // Ex to key mapping\n            this.commandMap_[commandName] = {\n              name: commandName,\n              type: 'exToKey',\n              toKeys: rhs,\n              user: true\n            };\n          }\n        } else {\n          if (rhs != ':' && rhs.charAt(0) == ':') {\n            // Key to Ex mapping.\n            var mapping = {\n              keys: lhs,\n              type: 'keyToEx',\n              exArgs: { input: rhs.substring(1) },\n              user: true};\n            if (ctx) { mapping.context = ctx; }\n            defaultKeymap.unshift(mapping);\n          } else {\n            // Key to key mapping\n            var mapping = {\n              keys: lhs,\n              type: 'keyToKey',\n              toKeys: rhs,\n              user: true\n            };\n            if (ctx) { mapping.context = ctx; }\n            defaultKeymap.unshift(mapping);\n          }\n        }\n      },\n      unmap: function(lhs, ctx) {\n        if (lhs != ':' && lhs.charAt(0) == ':') {\n          // Ex to Ex or Ex to key mapping\n          if (ctx) { throw Error('Mode not supported for ex mappings'); }\n          var commandName = lhs.substring(1);\n          if (this.commandMap_[commandName] && this.commandMap_[commandName].user) {\n            delete this.commandMap_[commandName];\n            return;\n          }\n        } else {\n          // Key to Ex or key to key mapping\n          var keys = lhs;\n          for (var i = 0; i < defaultKeymap.length; i++) {\n            if (keys == defaultKeymap[i].keys\n                && defaultKeymap[i].context === ctx\n                && defaultKeymap[i].user) {\n              defaultKeymap.splice(i, 1);\n              return;\n            }\n          }\n        }\n        throw Error('No such mapping.');\n      }\n    };\n\n    var exCommands = {\n      colorscheme: function(cm, params) {\n        if (!params.args || params.args.length < 1) {\n          showConfirm(cm, cm.getOption('theme'));\n          return;\n        }\n        cm.setOption('theme', params.args[0]);\n      },\n      map: function(cm, params, ctx) {\n        var mapArgs = params.args;\n        if (!mapArgs || mapArgs.length < 2) {\n          if (cm) {\n            showConfirm(cm, 'Invalid mapping: ' + params.input);\n          }\n          return;\n        }\n        exCommandDispatcher.map(mapArgs[0], mapArgs[1], ctx);\n      },\n      imap: function(cm, params) { this.map(cm, params, 'insert'); },\n      nmap: function(cm, params) { this.map(cm, params, 'normal'); },\n      vmap: function(cm, params) { this.map(cm, params, 'visual'); },\n      unmap: function(cm, params, ctx) {\n        var mapArgs = params.args;\n        if (!mapArgs || mapArgs.length < 1) {\n          if (cm) {\n            showConfirm(cm, 'No such mapping: ' + params.input);\n          }\n          return;\n        }\n        exCommandDispatcher.unmap(mapArgs[0], ctx);\n      },\n      move: function(cm, params) {\n        commandDispatcher.processCommand(cm, cm.state.vim, {\n            type: 'motion',\n            motion: 'moveToLineOrEdgeOfDocument',\n            motionArgs: { forward: false, explicitRepeat: true,\n              linewise: true },\n            repeatOverride: params.line+1});\n      },\n      set: function(cm, params) {\n        var setArgs = params.args;\n        // Options passed through to the setOption/getOption calls. May be passed in by the\n        // local/global versions of the set command\n        var setCfg = params.setCfg || {};\n        if (!setArgs || setArgs.length < 1) {\n          if (cm) {\n            showConfirm(cm, 'Invalid mapping: ' + params.input);\n          }\n          return;\n        }\n        var expr = setArgs[0].split('=');\n        var optionName = expr[0];\n        var value = expr[1];\n        var forceGet = false;\n\n        if (optionName.charAt(optionName.length - 1) == '?') {\n          // If post-fixed with ?, then the set is actually a get.\n          if (value) { throw Error('Trailing characters: ' + params.argString); }\n          optionName = optionName.substring(0, optionName.length - 1);\n          forceGet = true;\n        }\n        if (value === undefined && optionName.substring(0, 2) == 'no') {\n          // To set boolean options to false, the option name is prefixed with\n          // 'no'.\n          optionName = optionName.substring(2);\n          value = false;\n        }\n\n        var optionIsBoolean = options[optionName] && options[optionName].type == 'boolean';\n        if (optionIsBoolean && value == undefined) {\n          // Calling set with a boolean option sets it to true.\n          value = true;\n        }\n        // If no value is provided, then we assume this is a get.\n        if (!optionIsBoolean && value === undefined || forceGet) {\n          var oldValue = getOption(optionName, cm, setCfg);\n          if (oldValue === true || oldValue === false) {\n            showConfirm(cm, ' ' + (oldValue ? '' : 'no') + optionName);\n          } else {\n            showConfirm(cm, '  ' + optionName + '=' + oldValue);\n          }\n        } else {\n          setOption(optionName, value, cm, setCfg);\n        }\n      },\n      setlocal: function (cm, params) {\n        // setCfg is passed through to setOption\n        params.setCfg = {scope: 'local'};\n        this.set(cm, params);\n      },\n      setglobal: function (cm, params) {\n        // setCfg is passed through to setOption\n        params.setCfg = {scope: 'global'};\n        this.set(cm, params);\n      },\n      registers: function(cm, params) {\n        var regArgs = params.args;\n        var registers = vimGlobalState.registerController.registers;\n        var regInfo = '----------Registers----------<br><br>';\n        if (!regArgs) {\n          for (var registerName in registers) {\n            var text = registers[registerName].toString();\n            if (text.length) {\n              regInfo += '\"' + registerName + '    ' + text + '<br>';\n            }\n          }\n        } else {\n          var registerName;\n          regArgs = regArgs.join('');\n          for (var i = 0; i < regArgs.length; i++) {\n            registerName = regArgs.charAt(i);\n            if (!vimGlobalState.registerController.isValidRegister(registerName)) {\n              continue;\n            }\n            var register = registers[registerName] || new Register();\n            regInfo += '\"' + registerName + '    ' + register.toString() + '<br>';\n          }\n        }\n        showConfirm(cm, regInfo);\n      },\n      sort: function(cm, params) {\n        var reverse, ignoreCase, unique, number;\n        function parseArgs() {\n          if (params.argString) {\n            var args = new CodeMirror.StringStream(params.argString);\n            if (args.eat('!')) { reverse = true; }\n            if (args.eol()) { return; }\n            if (!args.eatSpace()) { return 'Invalid arguments'; }\n            var opts = args.match(/[a-z]+/);\n            if (opts) {\n              opts = opts[0];\n              ignoreCase = opts.indexOf('i') != -1;\n              unique = opts.indexOf('u') != -1;\n              var decimal = opts.indexOf('d') != -1 && 1;\n              var hex = opts.indexOf('x') != -1 && 1;\n              var octal = opts.indexOf('o') != -1 && 1;\n              if (decimal + hex + octal > 1) { return 'Invalid arguments'; }\n              number = decimal && 'decimal' || hex && 'hex' || octal && 'octal';\n            }\n            if (args.match(/\\/.*\\//)) { return 'patterns not supported'; }\n          }\n        }\n        var err = parseArgs();\n        if (err) {\n          showConfirm(cm, err + ': ' + params.argString);\n          return;\n        }\n        var lineStart = params.line || cm.firstLine();\n        var lineEnd = params.lineEnd || params.line || cm.lastLine();\n        if (lineStart == lineEnd) { return; }\n        var curStart = Pos(lineStart, 0);\n        var curEnd = Pos(lineEnd, lineLength(cm, lineEnd));\n        var text = cm.getRange(curStart, curEnd).split('\\n');\n        var numberRegex = (number == 'decimal') ? /(-?)([\\d]+)/ :\n           (number == 'hex') ? /(-?)(?:0x)?([0-9a-f]+)/i :\n           (number == 'octal') ? /([0-7]+)/ : null;\n        var radix = (number == 'decimal') ? 10 : (number == 'hex') ? 16 : (number == 'octal') ? 8 : null;\n        var numPart = [], textPart = [];\n        if (number) {\n          for (var i = 0; i < text.length; i++) {\n            if (numberRegex.exec(text[i])) {\n              numPart.push(text[i]);\n            } else {\n              textPart.push(text[i]);\n            }\n          }\n        } else {\n          textPart = text;\n        }\n        function compareFn(a, b) {\n          if (reverse) { var tmp; tmp = a; a = b; b = tmp; }\n          if (ignoreCase) { a = a.toLowerCase(); b = b.toLowerCase(); }\n          var anum = number && numberRegex.exec(a);\n          var bnum = number && numberRegex.exec(b);\n          if (!anum) { return a < b ? -1 : 1; }\n          anum = parseInt((anum[1] + anum[2]).toLowerCase(), radix);\n          bnum = parseInt((bnum[1] + bnum[2]).toLowerCase(), radix);\n          return anum - bnum;\n        }\n        numPart.sort(compareFn);\n        textPart.sort(compareFn);\n        text = (!reverse) ? textPart.concat(numPart) : numPart.concat(textPart);\n        if (unique) { // Remove duplicate lines\n          var textOld = text;\n          var lastLine;\n          text = [];\n          for (var i = 0; i < textOld.length; i++) {\n            if (textOld[i] != lastLine) {\n              text.push(textOld[i]);\n            }\n            lastLine = textOld[i];\n          }\n        }\n        cm.replaceRange(text.join('\\n'), curStart, curEnd);\n      },\n      global: function(cm, params) {\n        // a global command is of the form\n        // :[range]g/pattern/[cmd]\n        // argString holds the string /pattern/[cmd]\n        var argString = params.argString;\n        if (!argString) {\n          showConfirm(cm, 'Regular Expression missing from global');\n          return;\n        }\n        // range is specified here\n        var lineStart = (params.line !== undefined) ? params.line : cm.firstLine();\n        var lineEnd = params.lineEnd || params.line || cm.lastLine();\n        // get the tokens from argString\n        var tokens = splitBySlash(argString);\n        var regexPart = argString, cmd;\n        if (tokens.length) {\n          regexPart = tokens[0];\n          cmd = tokens.slice(1, tokens.length).join('/');\n        }\n        if (regexPart) {\n          // If regex part is empty, then use the previous query. Otherwise\n          // use the regex part as the new query.\n          try {\n           updateSearchQuery(cm, regexPart, true /** ignoreCase */,\n             true /** smartCase */);\n          } catch (e) {\n           showConfirm(cm, 'Invalid regex: ' + regexPart);\n           return;\n          }\n        }\n        // now that we have the regexPart, search for regex matches in the\n        // specified range of lines\n        var query = getSearchState(cm).getQuery();\n        var matchedLines = [], content = '';\n        for (var i = lineStart; i <= lineEnd; i++) {\n          var matched = query.test(cm.getLine(i));\n          if (matched) {\n            matchedLines.push(i+1);\n            content+= cm.getLine(i) + '<br>';\n          }\n        }\n        // if there is no [cmd], just display the list of matched lines\n        if (!cmd) {\n          showConfirm(cm, content);\n          return;\n        }\n        var index = 0;\n        var nextCommand = function() {\n          if (index < matchedLines.length) {\n            var command = matchedLines[index] + cmd;\n            exCommandDispatcher.processCommand(cm, command, {\n              callback: nextCommand\n            });\n          }\n          index++;\n        };\n        nextCommand();\n      },\n      substitute: function(cm, params) {\n        if (!cm.getSearchCursor) {\n          throw new Error('Search feature not available. Requires searchcursor.js or ' +\n              'any other getSearchCursor implementation.');\n        }\n        var argString = params.argString;\n        var tokens = argString ? splitBySlash(argString) : [];\n        var regexPart, replacePart = '', trailing, flagsPart, count;\n        var confirm = false; // Whether to confirm each replace.\n        var global = false; // True to replace all instances on a line, false to replace only 1.\n        if (tokens.length) {\n          regexPart = tokens[0];\n          replacePart = tokens[1];\n          if (replacePart !== undefined) {\n            if (getOption('pcre')) {\n              replacePart = unescapeRegexReplace(replacePart);\n            } else {\n              replacePart = translateRegexReplace(replacePart);\n            }\n            vimGlobalState.lastSubstituteReplacePart = replacePart;\n          }\n          trailing = tokens[2] ? tokens[2].split(' ') : [];\n        } else {\n          // either the argString is empty or its of the form ' hello/world'\n          // actually splitBySlash returns a list of tokens\n          // only if the string starts with a '/'\n          if (argString && argString.length) {\n            showConfirm(cm, 'Substitutions should be of the form ' +\n                ':s/pattern/replace/');\n            return;\n          }\n        }\n        // After the 3rd slash, we can have flags followed by a space followed\n        // by count.\n        if (trailing) {\n          flagsPart = trailing[0];\n          count = parseInt(trailing[1]);\n          if (flagsPart) {\n            if (flagsPart.indexOf('c') != -1) {\n              confirm = true;\n              flagsPart.replace('c', '');\n            }\n            if (flagsPart.indexOf('g') != -1) {\n              global = true;\n              flagsPart.replace('g', '');\n            }\n            regexPart = regexPart + '/' + flagsPart;\n          }\n        }\n        if (regexPart) {\n          // If regex part is empty, then use the previous query. Otherwise use\n          // the regex part as the new query.\n          try {\n            updateSearchQuery(cm, regexPart, true /** ignoreCase */,\n              true /** smartCase */);\n          } catch (e) {\n            showConfirm(cm, 'Invalid regex: ' + regexPart);\n            return;\n          }\n        }\n        replacePart = replacePart || vimGlobalState.lastSubstituteReplacePart;\n        if (replacePart === undefined) {\n          showConfirm(cm, 'No previous substitute regular expression');\n          return;\n        }\n        var state = getSearchState(cm);\n        var query = state.getQuery();\n        var lineStart = (params.line !== undefined) ? params.line : cm.getCursor().line;\n        var lineEnd = params.lineEnd || lineStart;\n        if (lineStart == cm.firstLine() && lineEnd == cm.lastLine()) {\n          lineEnd = Infinity;\n        }\n        if (count) {\n          lineStart = lineEnd;\n          lineEnd = lineStart + count - 1;\n        }\n        var startPos = clipCursorToContent(cm, Pos(lineStart, 0));\n        var cursor = cm.getSearchCursor(query, startPos);\n        doReplace(cm, confirm, global, lineStart, lineEnd, cursor, query, replacePart, params.callback);\n      },\n      redo: CodeMirror.commands.redo,\n      undo: CodeMirror.commands.undo,\n      write: function(cm) {\n        if (CodeMirror.commands.save) {\n          // If a save command is defined, call it.\n          CodeMirror.commands.save(cm);\n        } else if (cm.save) {\n          // Saves to text area if no save command is defined and cm.save() is available.\n          cm.save();\n        }\n      },\n      nohlsearch: function(cm) {\n        clearSearchHighlight(cm);\n      },\n      yank: function (cm) {\n        var cur = copyCursor(cm.getCursor());\n        var line = cur.line;\n        var lineText = cm.getLine(line);\n        vimGlobalState.registerController.pushText(\n          '0', 'yank', lineText, true, true);\n      },\n      delmarks: function(cm, params) {\n        if (!params.argString || !trim(params.argString)) {\n          showConfirm(cm, 'Argument required');\n          return;\n        }\n\n        var state = cm.state.vim;\n        var stream = new CodeMirror.StringStream(trim(params.argString));\n        while (!stream.eol()) {\n          stream.eatSpace();\n\n          // Record the streams position at the beginning of the loop for use\n          // in error messages.\n          var count = stream.pos;\n\n          if (!stream.match(/[a-zA-Z]/, false)) {\n            showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n            return;\n          }\n\n          var sym = stream.next();\n          // Check if this symbol is part of a range\n          if (stream.match('-', true)) {\n            // This symbol is part of a range.\n\n            // The range must terminate at an alphabetic character.\n            if (!stream.match(/[a-zA-Z]/, false)) {\n              showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n              return;\n            }\n\n            var startMark = sym;\n            var finishMark = stream.next();\n            // The range must terminate at an alphabetic character which\n            // shares the same case as the start of the range.\n            if (isLowerCase(startMark) && isLowerCase(finishMark) ||\n                isUpperCase(startMark) && isUpperCase(finishMark)) {\n              var start = startMark.charCodeAt(0);\n              var finish = finishMark.charCodeAt(0);\n              if (start >= finish) {\n                showConfirm(cm, 'Invalid argument: ' + params.argString.substring(count));\n                return;\n              }\n\n              // Because marks are always ASCII values, and we have\n              // determined that they are the same case, we can use\n              // their char codes to iterate through the defined range.\n              for (var j = 0; j <= finish - start; j++) {\n                var mark = String.fromCharCode(start + j);\n                delete state.marks[mark];\n              }\n            } else {\n              showConfirm(cm, 'Invalid argument: ' + startMark + '-');\n              return;\n            }\n          } else {\n            // This symbol is a valid mark, and is not part of a range.\n            delete state.marks[sym];\n          }\n        }\n      }\n    };\n\n    var exCommandDispatcher = new ExCommandDispatcher();\n\n    /**\n    * @param {CodeMirror} cm CodeMirror instance we are in.\n    * @param {boolean} confirm Whether to confirm each replace.\n    * @param {Cursor} lineStart Line to start replacing from.\n    * @param {Cursor} lineEnd Line to stop replacing at.\n    * @param {RegExp} query Query for performing matches with.\n    * @param {string} replaceWith Text to replace matches with. May contain $1,\n    *     $2, etc for replacing captured groups using Javascript replace.\n    * @param {function()} callback A callback for when the replace is done.\n    */\n    function doReplace(cm, confirm, global, lineStart, lineEnd, searchCursor, query,\n        replaceWith, callback) {\n      // Set up all the functions.\n      cm.state.vim.exMode = true;\n      var done = false;\n      var lastPos = searchCursor.from();\n      function replaceAll() {\n        cm.operation(function() {\n          while (!done) {\n            replace();\n            next();\n          }\n          stop();\n        });\n      }\n      function replace() {\n        var text = cm.getRange(searchCursor.from(), searchCursor.to());\n        var newText = text.replace(query, replaceWith);\n        searchCursor.replace(newText);\n      }\n      function next() {\n        // The below only loops to skip over multiple occurrences on the same\n        // line when 'global' is not true.\n        while(searchCursor.findNext() &&\n              isInRange(searchCursor.from(), lineStart, lineEnd)) {\n          if (!global && lastPos && searchCursor.from().line == lastPos.line) {\n            continue;\n          }\n          cm.scrollIntoView(searchCursor.from(), 30);\n          cm.setSelection(searchCursor.from(), searchCursor.to());\n          lastPos = searchCursor.from();\n          done = false;\n          return;\n        }\n        done = true;\n      }\n      function stop(close) {\n        if (close) { close(); }\n        cm.focus();\n        if (lastPos) {\n          cm.setCursor(lastPos);\n          var vim = cm.state.vim;\n          vim.exMode = false;\n          vim.lastHPos = vim.lastHSPos = lastPos.ch;\n        }\n        if (callback) { callback(); }\n      }\n      function onPromptKeyDown(e, _value, close) {\n        // Swallow all keys.\n        CodeMirror.e_stop(e);\n        var keyName = CodeMirror.keyName(e);\n        switch (keyName) {\n          case 'Y':\n            replace(); next(); break;\n          case 'N':\n            next(); break;\n          case 'A':\n            // replaceAll contains a call to close of its own. We don't want it\n            // to fire too early or multiple times.\n            var savedCallback = callback;\n            callback = undefined;\n            cm.operation(replaceAll);\n            callback = savedCallback;\n            break;\n          case 'L':\n            replace();\n            // fall through and exit.\n          case 'Q':\n          case 'Esc':\n          case 'Ctrl-C':\n          case 'Ctrl-[':\n            stop(close);\n            break;\n        }\n        if (done) { stop(close); }\n        return true;\n      }\n\n      // Actually do replace.\n      next();\n      if (done) {\n        showConfirm(cm, 'No matches for ' + query.source);\n        return;\n      }\n      if (!confirm) {\n        replaceAll();\n        if (callback) { callback(); };\n        return;\n      }\n      showPrompt(cm, {\n        prefix: 'replace with <strong>' + replaceWith + '</strong> (y/n/a/q/l)',\n        onKeyDown: onPromptKeyDown\n      });\n    }\n\n    CodeMirror.keyMap.vim = {\n      attach: attachVimMap,\n      detach: detachVimMap,\n      call: cmKey\n    };\n\n    function exitInsertMode(cm) {\n      var vim = cm.state.vim;\n      var macroModeState = vimGlobalState.macroModeState;\n      var insertModeChangeRegister = vimGlobalState.registerController.getRegister('.');\n      var isPlaying = macroModeState.isPlaying;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      // In case of visual block, the insertModeChanges are not saved as a\n      // single word, so we convert them to a single word\n      // so as to update the \". register as expected in real vim.\n      var text = [];\n      if (!isPlaying) {\n        var selLength = lastChange.inVisualBlock ? vim.lastSelection.visualBlock.height : 1;\n        var changes = lastChange.changes;\n        var text = [];\n        var i = 0;\n        // In case of multiple selections in blockwise visual,\n        // the inserted text, for example: 'f<Backspace>oo', is stored as\n        // 'f', 'f', InsertModeKey 'o', 'o', 'o', 'o'. (if you have a block with 2 lines).\n        // We push the contents of the changes array as per the following:\n        // 1. In case of InsertModeKey, just increment by 1.\n        // 2. In case of a character, jump by selLength (2 in the example).\n        while (i < changes.length) {\n          // This loop will convert 'ff<bs>oooo' to 'f<bs>oo'.\n          text.push(changes[i]);\n          if (changes[i] instanceof InsertModeKey) {\n             i++;\n          } else {\n             i+= selLength;\n          }\n        }\n        lastChange.changes = text;\n        cm.off('change', onChange);\n        CodeMirror.off(cm.getInputField(), 'keydown', onKeyEventTargetKeyDown);\n      }\n      if (!isPlaying && vim.insertModeRepeat > 1) {\n        // Perform insert mode repeat for commands like 3,a and 3,o.\n        repeatLastEdit(cm, vim, vim.insertModeRepeat - 1,\n            true /** repeatForInsert */);\n        vim.lastEditInputState.repeatOverride = vim.insertModeRepeat;\n      }\n      delete vim.insertModeRepeat;\n      vim.insertMode = false;\n      cm.setCursor(cm.getCursor().line, cm.getCursor().ch-1);\n      cm.setOption('keyMap', 'vim');\n      cm.setOption('disableInput', true);\n      cm.toggleOverwrite(false); // exit replace mode if we were in it.\n      // update the \". register before exiting insert mode\n      insertModeChangeRegister.setText(lastChange.changes.join(''));\n      CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"normal\"});\n      if (macroModeState.isRecording) {\n        logInsertModeChange(macroModeState);\n      }\n    }\n\n    function _mapCommand(command) {\n      defaultKeymap.unshift(command);\n    }\n\n    function mapCommand(keys, type, name, args, extra) {\n      var command = {keys: keys, type: type};\n      command[type] = name;\n      command[type + \"Args\"] = args;\n      for (var key in extra)\n        command[key] = extra[key];\n      _mapCommand(command);\n    }\n\n    // The timeout in milliseconds for the two-character ESC keymap should be\n    // adjusted according to your typing speed to prevent false positives.\n    defineOption('insertModeEscKeysTimeout', 200, 'number');\n\n    CodeMirror.keyMap['vim-insert'] = {\n      // TODO: override navigation keys so that Esc will cancel automatic\n      // indentation from o, O, i_<CR>\n      'Ctrl-N': 'autocomplete',\n      'Ctrl-P': 'autocomplete',\n      'Enter': function(cm) {\n        var fn = CodeMirror.commands.newlineAndIndentContinueComment ||\n            CodeMirror.commands.newlineAndIndent;\n        fn(cm);\n      },\n      fallthrough: ['default'],\n      attach: attachVimMap,\n      detach: detachVimMap,\n      call: cmKey\n    };\n\n    CodeMirror.keyMap['vim-replace'] = {\n      'Backspace': 'goCharLeft',\n      fallthrough: ['vim-insert'],\n      attach: attachVimMap,\n      detach: detachVimMap,\n      call: cmKey\n    };\n\n    function executeMacroRegister(cm, vim, macroModeState, registerName) {\n      var register = vimGlobalState.registerController.getRegister(registerName);\n      if (registerName == ':') {\n        // Read-only register containing last Ex command.\n        if (register.keyBuffer[0]) {\n          exCommandDispatcher.processCommand(cm, register.keyBuffer[0]);\n        }\n        macroModeState.isPlaying = false;\n        return;\n      }\n      var keyBuffer = register.keyBuffer;\n      var imc = 0;\n      macroModeState.isPlaying = true;\n      macroModeState.replaySearchQueries = register.searchQueries.slice(0);\n      for (var i = 0; i < keyBuffer.length; i++) {\n        var text = keyBuffer[i];\n        var match, key;\n        while (text) {\n          // Pull off one command key, which is either a single character\n          // or a special sequence wrapped in '<' and '>', e.g. '<Space>'.\n          match = (/<\\w+-.+?>|<\\w+>|./).exec(text);\n          key = match[0];\n          text = text.substring(match.index + key.length);\n          CodeMirror.Vim.handleKey(cm, key, 'macro');\n          if (vim.insertMode) {\n            var changes = register.insertModeChanges[imc++].changes;\n            vimGlobalState.macroModeState.lastInsertModeChanges.changes =\n                changes;\n            repeatInsertModeChanges(cm, changes, 1);\n            exitInsertMode(cm);\n          }\n        }\n      };\n      macroModeState.isPlaying = false;\n    }\n\n    function logKey(macroModeState, key) {\n      if (macroModeState.isPlaying) { return; }\n      var registerName = macroModeState.latestRegister;\n      var register = vimGlobalState.registerController.getRegister(registerName);\n      if (register) {\n        register.pushText(key);\n      }\n    }\n\n    function logInsertModeChange(macroModeState) {\n      if (macroModeState.isPlaying) { return; }\n      var registerName = macroModeState.latestRegister;\n      var register = vimGlobalState.registerController.getRegister(registerName);\n      if (register && register.pushInsertModeChanges) {\n        register.pushInsertModeChanges(macroModeState.lastInsertModeChanges);\n      }\n    }\n\n    function logSearchQuery(macroModeState, query) {\n      if (macroModeState.isPlaying) { return; }\n      var registerName = macroModeState.latestRegister;\n      var register = vimGlobalState.registerController.getRegister(registerName);\n      if (register && register.pushSearchQuery) {\n        register.pushSearchQuery(query);\n      }\n    }\n\n    /**\n     * Listens for changes made in insert mode.\n     * Should only be active in insert mode.\n     */\n    function onChange(_cm, changeObj) {\n      var macroModeState = vimGlobalState.macroModeState;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      if (!macroModeState.isPlaying) {\n        while(changeObj) {\n          lastChange.expectCursorActivityForChange = true;\n          if (changeObj.origin == '+input' || changeObj.origin == 'paste'\n              || changeObj.origin === undefined /* only in testing */) {\n            var text = changeObj.text.join('\\n');\n            lastChange.changes.push(text);\n          }\n          // Change objects may be chained with next.\n          changeObj = changeObj.next;\n        }\n      }\n    }\n\n    /**\n    * Listens for any kind of cursor activity on CodeMirror.\n    */\n    function onCursorActivity(cm) {\n      var vim = cm.state.vim;\n      if (vim.insertMode) {\n        // Tracking cursor activity in insert mode (for macro support).\n        var macroModeState = vimGlobalState.macroModeState;\n        if (macroModeState.isPlaying) { return; }\n        var lastChange = macroModeState.lastInsertModeChanges;\n        if (lastChange.expectCursorActivityForChange) {\n          lastChange.expectCursorActivityForChange = false;\n        } else {\n          // Cursor moved outside the context of an edit. Reset the change.\n          lastChange.changes = [];\n        }\n      } else if (!cm.curOp.isVimOp) {\n        handleExternalSelection(cm, vim);\n      }\n      if (vim.visualMode) {\n        updateFakeCursor(cm);\n      }\n    }\n    function updateFakeCursor(cm) {\n      var vim = cm.state.vim;\n      var from = clipCursorToContent(cm, copyCursor(vim.sel.head));\n      var to = offsetCursor(from, 0, 1);\n      if (vim.fakeCursor) {\n        vim.fakeCursor.clear();\n      }\n      vim.fakeCursor = cm.markText(from, to, {className: 'cm-animate-fat-cursor'});\n    }\n    function handleExternalSelection(cm, vim) {\n      var anchor = cm.getCursor('anchor');\n      var head = cm.getCursor('head');\n      // Enter or exit visual mode to match mouse selection.\n      if (vim.visualMode && !cm.somethingSelected()) {\n        exitVisualMode(cm, false);\n      } else if (!vim.visualMode && !vim.insertMode && cm.somethingSelected()) {\n        vim.visualMode = true;\n        vim.visualLine = false;\n        CodeMirror.signal(cm, \"vim-mode-change\", {mode: \"visual\"});\n      }\n      if (vim.visualMode) {\n        // Bind CodeMirror selection model to vim selection model.\n        // Mouse selections are considered visual characterwise.\n        var headOffset = !cursorIsBefore(head, anchor) ? -1 : 0;\n        var anchorOffset = cursorIsBefore(head, anchor) ? -1 : 0;\n        head = offsetCursor(head, 0, headOffset);\n        anchor = offsetCursor(anchor, 0, anchorOffset);\n        vim.sel = {\n          anchor: anchor,\n          head: head\n        };\n        updateMark(cm, vim, '<', cursorMin(head, anchor));\n        updateMark(cm, vim, '>', cursorMax(head, anchor));\n      } else if (!vim.insertMode) {\n        // Reset lastHPos if selection was modified by something outside of vim mode e.g. by mouse.\n        vim.lastHPos = cm.getCursor().ch;\n      }\n    }\n\n    /** Wrapper for special keys pressed in insert mode */\n    function InsertModeKey(keyName) {\n      this.keyName = keyName;\n    }\n\n    /**\n    * Handles raw key down events from the text area.\n    * - Should only be active in insert mode.\n    * - For recording deletes in insert mode.\n    */\n    function onKeyEventTargetKeyDown(e) {\n      var macroModeState = vimGlobalState.macroModeState;\n      var lastChange = macroModeState.lastInsertModeChanges;\n      var keyName = CodeMirror.keyName(e);\n      if (!keyName) { return; }\n      function onKeyFound() {\n        lastChange.changes.push(new InsertModeKey(keyName));\n        return true;\n      }\n      if (keyName.indexOf('Delete') != -1 || keyName.indexOf('Backspace') != -1) {\n        CodeMirror.lookupKey(keyName, 'vim-insert', onKeyFound);\n      }\n    }\n\n    /**\n     * Repeats the last edit, which includes exactly 1 command and at most 1\n     * insert. Operator and motion commands are read from lastEditInputState,\n     * while action commands are read from lastEditActionCommand.\n     *\n     * If repeatForInsert is true, then the function was called by\n     * exitInsertMode to repeat the insert mode changes the user just made. The\n     * corresponding enterInsertMode call was made with a count.\n     */\n    function repeatLastEdit(cm, vim, repeat, repeatForInsert) {\n      var macroModeState = vimGlobalState.macroModeState;\n      macroModeState.isPlaying = true;\n      var isAction = !!vim.lastEditActionCommand;\n      var cachedInputState = vim.inputState;\n      function repeatCommand() {\n        if (isAction) {\n          commandDispatcher.processAction(cm, vim, vim.lastEditActionCommand);\n        } else {\n          commandDispatcher.evalInput(cm, vim);\n        }\n      }\n      function repeatInsert(repeat) {\n        if (macroModeState.lastInsertModeChanges.changes.length > 0) {\n          // For some reason, repeat cw in desktop VIM does not repeat\n          // insert mode changes. Will conform to that behavior.\n          repeat = !vim.lastEditActionCommand ? 1 : repeat;\n          var changeObject = macroModeState.lastInsertModeChanges;\n          repeatInsertModeChanges(cm, changeObject.changes, repeat);\n        }\n      }\n      vim.inputState = vim.lastEditInputState;\n      if (isAction && vim.lastEditActionCommand.interlaceInsertRepeat) {\n        // o and O repeat have to be interlaced with insert repeats so that the\n        // insertions appear on separate lines instead of the last line.\n        for (var i = 0; i < repeat; i++) {\n          repeatCommand();\n          repeatInsert(1);\n        }\n      } else {\n        if (!repeatForInsert) {\n          // Hack to get the cursor to end up at the right place. If I is\n          // repeated in insert mode repeat, cursor will be 1 insert\n          // change set left of where it should be.\n          repeatCommand();\n        }\n        repeatInsert(repeat);\n      }\n      vim.inputState = cachedInputState;\n      if (vim.insertMode && !repeatForInsert) {\n        // Don't exit insert mode twice. If repeatForInsert is set, then we\n        // were called by an exitInsertMode call lower on the stack.\n        exitInsertMode(cm);\n      }\n      macroModeState.isPlaying = false;\n    };\n\n    function repeatInsertModeChanges(cm, changes, repeat) {\n      function keyHandler(binding) {\n        if (typeof binding == 'string') {\n          CodeMirror.commands[binding](cm);\n        } else {\n          binding(cm);\n        }\n        return true;\n      }\n      var head = cm.getCursor('head');\n      var inVisualBlock = vimGlobalState.macroModeState.lastInsertModeChanges.inVisualBlock;\n      if (inVisualBlock) {\n        // Set up block selection again for repeating the changes.\n        var vim = cm.state.vim;\n        var lastSel = vim.lastSelection;\n        var offset = getOffset(lastSel.anchor, lastSel.head);\n        selectForInsert(cm, head, offset.line + 1);\n        repeat = cm.listSelections().length;\n        cm.setCursor(head);\n      }\n      for (var i = 0; i < repeat; i++) {\n        if (inVisualBlock) {\n          cm.setCursor(offsetCursor(head, i, 0));\n        }\n        for (var j = 0; j < changes.length; j++) {\n          var change = changes[j];\n          if (change instanceof InsertModeKey) {\n            CodeMirror.lookupKey(change.keyName, 'vim-insert', keyHandler);\n          } else {\n            var cur = cm.getCursor();\n            cm.replaceRange(change, cur, cur);\n          }\n        }\n      }\n      if (inVisualBlock) {\n        cm.setCursor(offsetCursor(head, 0, 1));\n      }\n    }\n\n    resetVimGlobalState();\n    return vimApi;\n  };\n  // Initialize Vim and make it available as an API.\n  CodeMirror.Vim = Vim();\n});\n","define('codemirror', [], function() {\n  'use strict';\n\n  return {\n    'default': CodeMirror\n  };\n});\n","if (typeof FastBoot === 'undefined') { /*! VelocityJS.org (1.5.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */\r\n\r\n/*************************\r\n Velocity jQuery Shim\r\n *************************/\r\n\r\n/*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */\r\n\r\n/* This file contains the jQuery functions that Velocity relies on, thereby removing Velocity's dependency on a full copy of jQuery, and allowing it to work in any environment. */\r\n/* These shimmed functions are only used if jQuery isn't present. If both this shim and jQuery are loaded, Velocity defaults to jQuery proper. */\r\n/* Browser support: Using this shim instead of jQuery proper removes support for IE8. */\r\n\r\n(function(window) {\r\n\t\"use strict\";\r\n\t/***************\r\n\t Setup\r\n\t ***************/\r\n\r\n\t/* If jQuery is already loaded, there's no point in loading this shim. */\r\n\tif (window.jQuery) {\r\n\t\treturn;\r\n\t}\r\n\r\n\t/* jQuery base. */\r\n\tvar $ = function(selector, context) {\r\n\t\treturn new $.fn.init(selector, context);\r\n\t};\r\n\r\n\t/********************\r\n\t Private Methods\r\n\t ********************/\r\n\r\n\t/* jQuery */\r\n\t$.isWindow = function(obj) {\r\n\t\t/* jshint eqeqeq: false */\r\n\t\treturn obj && obj === obj.window;\r\n\t};\r\n\r\n\t/* jQuery */\r\n\t$.type = function(obj) {\r\n\t\tif (!obj) {\r\n\t\t\treturn obj + \"\";\r\n\t\t}\r\n\r\n\t\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\r\n\t\t\t\tclass2type[toString.call(obj)] || \"object\" :\r\n\t\t\t\ttypeof obj;\r\n\t};\r\n\r\n\t/* jQuery */\r\n\t$.isArray = Array.isArray || function(obj) {\r\n\t\treturn $.type(obj) === \"array\";\r\n\t};\r\n\r\n\t/* jQuery */\r\n\tfunction isArraylike(obj) {\r\n\t\tvar length = obj.length,\r\n\t\t\t\ttype = $.type(obj);\r\n\r\n\t\tif (type === \"function\" || $.isWindow(obj)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (obj.nodeType === 1 && length) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\r\n\t\treturn type === \"array\" || length === 0 || typeof length === \"number\" && length > 0 && (length - 1) in obj;\r\n\t}\r\n\r\n\t/***************\r\n\t $ Methods\r\n\t ***************/\r\n\r\n\t/* jQuery: Support removed for IE<9. */\r\n\t$.isPlainObject = function(obj) {\r\n\t\tvar key;\r\n\r\n\t\tif (!obj || $.type(obj) !== \"object\" || obj.nodeType || $.isWindow(obj)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\ttry {\r\n\t\t\tif (obj.constructor &&\r\n\t\t\t\t\t!hasOwn.call(obj, \"constructor\") &&\r\n\t\t\t\t\t!hasOwn.call(obj.constructor.prototype, \"isPrototypeOf\")) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t} catch (e) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tfor (key in obj) {\r\n\t\t}\r\n\r\n\t\treturn key === undefined || hasOwn.call(obj, key);\r\n\t};\r\n\r\n\t/* jQuery */\r\n\t$.each = function(obj, callback, args) {\r\n\t\tvar value,\r\n\t\t\t\ti = 0,\r\n\t\t\t\tlength = obj.length,\r\n\t\t\t\tisArray = isArraylike(obj);\r\n\r\n\t\tif (args) {\r\n\t\t\tif (isArray) {\r\n\t\t\t\tfor (; i < length; i++) {\r\n\t\t\t\t\tvalue = callback.apply(obj[i], args);\r\n\r\n\t\t\t\t\tif (value === false) {\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (i in obj) {\r\n\t\t\t\t\tif (!obj.hasOwnProperty(i)) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvalue = callback.apply(obj[i], args);\r\n\r\n\t\t\t\t\tif (value === false) {\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t} else {\r\n\t\t\tif (isArray) {\r\n\t\t\t\tfor (; i < length; i++) {\r\n\t\t\t\t\tvalue = callback.call(obj[i], i, obj[i]);\r\n\r\n\t\t\t\t\tif (value === false) {\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (i in obj) {\r\n\t\t\t\t\tif (!obj.hasOwnProperty(i)) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tvalue = callback.call(obj[i], i, obj[i]);\r\n\r\n\t\t\t\t\tif (value === false) {\r\n\t\t\t\t\t\tbreak;\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\treturn obj;\r\n\t};\r\n\r\n\t/* Custom */\r\n\t$.data = function(node, key, value) {\r\n\t\t/* $.getData() */\r\n\t\tif (value === undefined) {\r\n\t\t\tvar getId = node[$.expando],\r\n\t\t\t\t\tstore = getId && cache[getId];\r\n\r\n\t\t\tif (key === undefined) {\r\n\t\t\t\treturn store;\r\n\t\t\t} else if (store) {\r\n\t\t\t\tif (key in store) {\r\n\t\t\t\t\treturn store[key];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t/* $.setData() */\r\n\t\t} else if (key !== undefined) {\r\n\t\t\tvar setId = node[$.expando] || (node[$.expando] = ++$.uuid);\r\n\r\n\t\t\tcache[setId] = cache[setId] || {};\r\n\t\t\tcache[setId][key] = value;\r\n\r\n\t\t\treturn value;\r\n\t\t}\r\n\t};\r\n\r\n\t/* Custom */\r\n\t$.removeData = function(node, keys) {\r\n\t\tvar id = node[$.expando],\r\n\t\t\t\tstore = id && cache[id];\r\n\r\n\t\tif (store) {\r\n\t\t\t// Cleanup the entire store if no keys are provided.\r\n\t\t\tif (!keys) {\r\n\t\t\t\tdelete cache[id];\r\n\t\t\t} else {\r\n\t\t\t\t$.each(keys, function(_, key) {\r\n\t\t\t\t\tdelete store[key];\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t/* jQuery */\r\n\t$.extend = function() {\r\n\t\tvar src, copyIsArray, copy, name, options, clone,\r\n\t\t\t\ttarget = arguments[0] || {},\r\n\t\t\t\ti = 1,\r\n\t\t\t\tlength = arguments.length,\r\n\t\t\t\tdeep = false;\r\n\r\n\t\tif (typeof target === \"boolean\") {\r\n\t\t\tdeep = target;\r\n\r\n\t\t\ttarget = arguments[i] || {};\r\n\t\t\ti++;\r\n\t\t}\r\n\r\n\t\tif (typeof target !== \"object\" && $.type(target) !== \"function\") {\r\n\t\t\ttarget = {};\r\n\t\t}\r\n\r\n\t\tif (i === length) {\r\n\t\t\ttarget = this;\r\n\t\t\ti--;\r\n\t\t}\r\n\r\n\t\tfor (; i < length; i++) {\r\n\t\t\tif ((options = arguments[i])) {\r\n\t\t\t\tfor (name in options) {\r\n\t\t\t\t\tif (!options.hasOwnProperty(name)) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tsrc = target[name];\r\n\t\t\t\t\tcopy = options[name];\r\n\r\n\t\t\t\t\tif (target === copy) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (deep && copy && ($.isPlainObject(copy) || (copyIsArray = $.isArray(copy)))) {\r\n\t\t\t\t\t\tif (copyIsArray) {\r\n\t\t\t\t\t\t\tcopyIsArray = false;\r\n\t\t\t\t\t\t\tclone = src && $.isArray(src) ? src : [];\r\n\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tclone = src && $.isPlainObject(src) ? src : {};\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\ttarget[name] = $.extend(deep, clone, copy);\r\n\r\n\t\t\t\t\t} else if (copy !== undefined) {\r\n\t\t\t\t\t\ttarget[name] = copy;\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\treturn target;\r\n\t};\r\n\r\n\t/* jQuery 1.4.3 */\r\n\t$.queue = function(elem, type, data) {\r\n\t\tfunction $makeArray(arr, results) {\r\n\t\t\tvar ret = results || [];\r\n\r\n\t\t\tif (arr) {\r\n\t\t\t\tif (isArraylike(Object(arr))) {\r\n\t\t\t\t\t/* $.merge */\r\n\t\t\t\t\t(function(first, second) {\r\n\t\t\t\t\t\tvar len = +second.length,\r\n\t\t\t\t\t\t\t\tj = 0,\r\n\t\t\t\t\t\t\t\ti = first.length;\r\n\r\n\t\t\t\t\t\twhile (j < len) {\r\n\t\t\t\t\t\t\tfirst[i++] = second[j++];\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (len !== len) {\r\n\t\t\t\t\t\t\twhile (second[j] !== undefined) {\r\n\t\t\t\t\t\t\t\tfirst[i++] = second[j++];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tfirst.length = i;\r\n\r\n\t\t\t\t\t\treturn first;\r\n\t\t\t\t\t})(ret, typeof arr === \"string\" ? [arr] : arr);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t[].push.call(ret, arr);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn ret;\r\n\t\t}\r\n\r\n\t\tif (!elem) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttype = (type || \"fx\") + \"queue\";\r\n\r\n\t\tvar q = $.data(elem, type);\r\n\r\n\t\tif (!data) {\r\n\t\t\treturn q || [];\r\n\t\t}\r\n\r\n\t\tif (!q || $.isArray(data)) {\r\n\t\t\tq = $.data(elem, type, $makeArray(data));\r\n\t\t} else {\r\n\t\t\tq.push(data);\r\n\t\t}\r\n\r\n\t\treturn q;\r\n\t};\r\n\r\n\t/* jQuery 1.4.3 */\r\n\t$.dequeue = function(elems, type) {\r\n\t\t/* Custom: Embed element iteration. */\r\n\t\t$.each(elems.nodeType ? [elems] : elems, function(i, elem) {\r\n\t\t\ttype = type || \"fx\";\r\n\r\n\t\t\tvar queue = $.queue(elem, type),\r\n\t\t\t\t\tfn = queue.shift();\r\n\r\n\t\t\tif (fn === \"inprogress\") {\r\n\t\t\t\tfn = queue.shift();\r\n\t\t\t}\r\n\r\n\t\t\tif (fn) {\r\n\t\t\t\tif (type === \"fx\") {\r\n\t\t\t\t\tqueue.unshift(\"inprogress\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfn.call(elem, function() {\r\n\t\t\t\t\t$.dequeue(elem, type);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\t};\r\n\r\n\t/******************\r\n\t $.fn Methods\r\n\t ******************/\r\n\r\n\t/* jQuery */\r\n\t$.fn = $.prototype = {\r\n\t\tinit: function(selector) {\r\n\t\t\t/* Just return the element wrapped inside an array; don't proceed with the actual jQuery node wrapping process. */\r\n\t\t\tif (selector.nodeType) {\r\n\t\t\t\tthis[0] = selector;\r\n\r\n\t\t\t\treturn this;\r\n\t\t\t} else {\r\n\t\t\t\tthrow new Error(\"Not a DOM node.\");\r\n\t\t\t}\r\n\t\t},\r\n\t\toffset: function() {\r\n\t\t\t/* jQuery altered code: Dropped disconnected DOM node checking. */\r\n\t\t\tvar box = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : {top: 0, left: 0};\r\n\r\n\t\t\treturn {\r\n\t\t\t\ttop: box.top + (window.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0),\r\n\t\t\t\tleft: box.left + (window.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0)\r\n\t\t\t};\r\n\t\t},\r\n\t\tposition: function() {\r\n\t\t\t/* jQuery */\r\n\t\t\tfunction offsetParentFn(elem) {\r\n\t\t\t\tvar offsetParent = elem.offsetParent;\r\n\r\n\t\t\t\twhile (offsetParent && (offsetParent.nodeName.toLowerCase() !== \"html\" && offsetParent.style && offsetParent.style.position.toLowerCase() === \"static\")) {\r\n\t\t\t\t\toffsetParent = offsetParent.offsetParent;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn offsetParent || document;\r\n\t\t\t}\r\n\r\n\t\t\t/* Zepto */\r\n\t\t\tvar elem = this[0],\r\n\t\t\t\t\toffsetParent = offsetParentFn(elem),\r\n\t\t\t\t\toffset = this.offset(),\r\n\t\t\t\t\tparentOffset = /^(?:body|html)$/i.test(offsetParent.nodeName) ? {top: 0, left: 0} : $(offsetParent).offset();\r\n\r\n\t\t\toffset.top -= parseFloat(elem.style.marginTop) || 0;\r\n\t\t\toffset.left -= parseFloat(elem.style.marginLeft) || 0;\r\n\r\n\t\t\tif (offsetParent.style) {\r\n\t\t\t\tparentOffset.top += parseFloat(offsetParent.style.borderTopWidth) || 0;\r\n\t\t\t\tparentOffset.left += parseFloat(offsetParent.style.borderLeftWidth) || 0;\r\n\t\t\t}\r\n\r\n\t\t\treturn {\r\n\t\t\t\ttop: offset.top - parentOffset.top,\r\n\t\t\t\tleft: offset.left - parentOffset.left\r\n\t\t\t};\r\n\t\t}\r\n\t};\r\n\r\n\t/**********************\r\n\t Private Variables\r\n\t **********************/\r\n\r\n\t/* For $.data() */\r\n\tvar cache = {};\r\n\t$.expando = \"velocity\" + (new Date().getTime());\r\n\t$.uuid = 0;\r\n\r\n\t/* For $.queue() */\r\n\tvar class2type = {},\r\n\t\t\thasOwn = class2type.hasOwnProperty,\r\n\t\t\ttoString = class2type.toString;\r\n\r\n\tvar types = \"Boolean Number String Function Array Date RegExp Object Error\".split(\" \");\r\n\tfor (var i = 0; i < types.length; i++) {\r\n\t\tclass2type[\"[object \" + types[i] + \"]\"] = types[i].toLowerCase();\r\n\t}\r\n\r\n\t/* Makes $(node) possible, without having to call init. */\r\n\t$.fn.init.prototype = $.fn;\r\n\r\n\t/* Globalize Velocity onto the window, and assign its Utilities property. */\r\n\twindow.Velocity = {Utilities: $};\r\n})(window);\r\n\r\n/******************\r\n Velocity.js\r\n ******************/\r\n\r\n(function(factory) {\r\n\t\"use strict\";\r\n\t/* CommonJS module. */\r\n\tif (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n\t\tmodule.exports = factory();\r\n\t\t/* AMD module. */\r\n\t} else if (typeof define === \"function\" && define.amd) {\r\n\t\tdefine(factory);\r\n\t\t/* Browser globals. */\r\n\t} else {\r\n\t\tfactory();\r\n\t}\r\n}(function() {\r\n\t\"use strict\";\r\n\treturn function(global, window, document, undefined) {\r\n\r\n\t\t/***************\r\n\t\t Summary\r\n\t\t ***************/\r\n\r\n\t\t/*\r\n\t\t - CSS: CSS stack that works independently from the rest of Velocity.\r\n\t\t - animate(): Core animation method that iterates over the targeted elements and queues the incoming call onto each element individually.\r\n\t\t - Pre-Queueing: Prepare the element for animation by instantiating its data cache and processing the call's options.\r\n\t\t - Queueing: The logic that runs once the call has reached its point of execution in the element's $.queue() stack.\r\n\t\t Most logic is placed here to avoid risking it becoming stale (if the element's properties have changed).\r\n\t\t - Pushing: Consolidation of the tween data followed by its push onto the global in-progress calls container.\r\n\t\t - tick(): The single requestAnimationFrame loop responsible for tweening all in-progress calls.\r\n\t\t - completeCall(): Handles the cleanup process for each Velocity call.\r\n\t\t */\r\n\r\n\t\t/*********************\r\n\t\t Helper Functions\r\n\t\t *********************/\r\n\r\n\t\t/* IE detection. Gist: https://gist.github.com/julianshapiro/9098609 */\r\n\t\tvar IE = (function() {\r\n\t\t\tif (document.documentMode) {\r\n\t\t\t\treturn document.documentMode;\r\n\t\t\t} else {\r\n\t\t\t\tfor (var i = 7; i > 4; i--) {\r\n\t\t\t\t\tvar div = document.createElement(\"div\");\r\n\r\n\t\t\t\t\tdiv.innerHTML = \"<!--[if IE \" + i + \"]><span></span><![endif]-->\";\r\n\r\n\t\t\t\t\tif (div.getElementsByTagName(\"span\").length) {\r\n\t\t\t\t\t\tdiv = null;\r\n\r\n\t\t\t\t\t\treturn i;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn undefined;\r\n\t\t})();\r\n\r\n\t\t/* rAF shim. Gist: https://gist.github.com/julianshapiro/9497513 */\r\n\t\tvar rAFShim = (function() {\r\n\t\t\tvar timeLast = 0;\r\n\r\n\t\t\treturn window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function(callback) {\r\n\t\t\t\tvar timeCurrent = (new Date()).getTime(),\r\n\t\t\t\t\t\ttimeDelta;\r\n\r\n\t\t\t\t/* Dynamically set delay on a per-tick basis to match 60fps. */\r\n\t\t\t\t/* Technique by Erik Moller. MIT license: https://gist.github.com/paulirish/1579671 */\r\n\t\t\t\ttimeDelta = Math.max(0, 16 - (timeCurrent - timeLast));\r\n\t\t\t\ttimeLast = timeCurrent + timeDelta;\r\n\r\n\t\t\t\treturn setTimeout(function() {\r\n\t\t\t\t\tcallback(timeCurrent + timeDelta);\r\n\t\t\t\t}, timeDelta);\r\n\t\t\t};\r\n\t\t})();\r\n\r\n\t\tvar performance = (function() {\r\n\t\t\tvar perf = window.performance || {};\r\n\r\n\t\t\tif (typeof perf.now !== \"function\") {\r\n\t\t\t\tvar nowOffset = perf.timing && perf.timing.navigationStart ? perf.timing.navigationStart : (new Date()).getTime();\r\n\r\n\t\t\t\tperf.now = function() {\r\n\t\t\t\t\treturn (new Date()).getTime() - nowOffset;\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\treturn perf;\r\n\t\t})();\r\n\r\n\t\t/* Array compacting. Copyright Lo-Dash. MIT License: https://github.com/lodash/lodash/blob/master/LICENSE.txt */\r\n\t\tfunction compactSparseArray(array) {\r\n\t\t\tvar index = -1,\r\n\t\t\t\t\tlength = array ? array.length : 0,\r\n\t\t\t\t\tresult = [];\r\n\r\n\t\t\twhile (++index < length) {\r\n\t\t\t\tvar value = array[index];\r\n\r\n\t\t\t\tif (value) {\r\n\t\t\t\t\tresult.push(value);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn result;\r\n\t\t}\r\n\r\n\t\t/**\r\n\t\t * Shim for \"fixing\" IE's lack of support (IE < 9) for applying slice\r\n\t\t * on host objects like NamedNodeMap, NodeList, and HTMLCollection\r\n\t\t * (technically, since host objects have been implementation-dependent,\r\n\t\t * at least before ES2015, IE hasn't needed to work this way).\r\n\t\t * Also works on strings, fixes IE < 9 to allow an explicit undefined\r\n\t\t * for the 2nd argument (as in Firefox), and prevents errors when\r\n\t\t * called on other DOM objects.\r\n\t\t */\r\n\t\tvar _slice = (function() {\r\n\t\t\tvar slice = Array.prototype.slice;\r\n\r\n\t\t\ttry {\r\n\t\t\t\t// Can't be used with DOM elements in IE < 9\r\n\t\t\t\tslice.call(document.documentElement);\r\n\t\t\t\treturn slice;\r\n\t\t\t} catch (e) { // Fails in IE < 9\r\n\r\n\t\t\t\t// This will work for genuine arrays, array-like objects, \r\n\t\t\t\t// NamedNodeMap (attributes, entities, notations),\r\n\t\t\t\t// NodeList (e.g., getElementsByTagName), HTMLCollection (e.g., childNodes),\r\n\t\t\t\t// and will not fail on other DOM objects (as do DOM elements in IE < 9)\r\n\t\t\t\treturn function(begin, end) {\r\n\t\t\t\t\tvar len = this.length;\r\n\r\n\t\t\t\t\tif (typeof begin !== \"number\") {\r\n\t\t\t\t\t\tbegin = 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// IE < 9 gets unhappy with an undefined end argument\r\n\t\t\t\t\tif (typeof end !== \"number\") {\r\n\t\t\t\t\t\tend = len;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// For native Array objects, we use the native slice function\r\n\t\t\t\t\tif (this.slice) {\r\n\t\t\t\t\t\treturn slice.call(this, begin, end);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t// For array like object we handle it ourselves.\r\n\t\t\t\t\tvar i,\r\n\t\t\t\t\t\t\tcloned = [],\r\n\t\t\t\t\t\t\t// Handle negative value for \"begin\"\r\n\t\t\t\t\t\t\tstart = (begin >= 0) ? begin : Math.max(0, len + begin),\r\n\t\t\t\t\t\t\t// Handle negative value for \"end\"\r\n\t\t\t\t\t\t\tupTo = end < 0 ? len + end : Math.min(end, len),\r\n\t\t\t\t\t\t\t// Actual expected size of the slice\r\n\t\t\t\t\t\t\tsize = upTo - start;\r\n\r\n\t\t\t\t\tif (size > 0) {\r\n\t\t\t\t\t\tcloned = new Array(size);\r\n\t\t\t\t\t\tif (this.charAt) {\r\n\t\t\t\t\t\t\tfor (i = 0; i < size; i++) {\r\n\t\t\t\t\t\t\t\tcloned[i] = this.charAt(start + i);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tfor (i = 0; i < size; i++) {\r\n\t\t\t\t\t\t\t\tcloned[i] = this[start + i];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn cloned;\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t})();\r\n\r\n\t\t/* .indexOf doesn't exist in IE<9 */\r\n\t\tvar _inArray = (function() {\r\n\t\t\tif (Array.prototype.includes) {\r\n\t\t\t\treturn function(arr, val) {\r\n\t\t\t\t\treturn arr.includes(val);\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\tif (Array.prototype.indexOf) {\r\n\t\t\t\treturn function(arr, val) {\r\n\t\t\t\t\treturn arr.indexOf(val) >= 0;\r\n\t\t\t\t};\r\n\t\t\t}\r\n\t\t\treturn function(arr, val) {\r\n\t\t\t\tfor (var i = 0; i < arr.length; i++) {\r\n\t\t\t\t\tif (arr[i] === val) {\r\n\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t\treturn false;\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\tfunction sanitizeElements(elements) {\r\n\t\t\t/* Unwrap jQuery/Zepto objects. */\r\n\t\t\tif (Type.isWrapped(elements)) {\r\n\t\t\t\telements = _slice.call(elements);\r\n\t\t\t\t/* Wrap a single element in an array so that $.each() can iterate with the element instead of its node's children. */\r\n\t\t\t} else if (Type.isNode(elements)) {\r\n\t\t\t\telements = [elements];\r\n\t\t\t}\r\n\r\n\t\t\treturn elements;\r\n\t\t}\r\n\r\n\t\tvar Type = {\r\n\t\t\tisNumber: function(variable) {\r\n\t\t\t\treturn (typeof variable === \"number\");\r\n\t\t\t},\r\n\t\t\tisString: function(variable) {\r\n\t\t\t\treturn (typeof variable === \"string\");\r\n\t\t\t},\r\n\t\t\tisArray: Array.isArray || function(variable) {\r\n\t\t\t\treturn Object.prototype.toString.call(variable) === \"[object Array]\";\r\n\t\t\t},\r\n\t\t\tisFunction: function(variable) {\r\n\t\t\t\treturn Object.prototype.toString.call(variable) === \"[object Function]\";\r\n\t\t\t},\r\n\t\t\tisNode: function(variable) {\r\n\t\t\t\treturn variable && variable.nodeType;\r\n\t\t\t},\r\n\t\t\t/* Determine if variable is an array-like wrapped jQuery, Zepto or similar element, or even a NodeList etc. */\r\n\t\t\t/* NOTE: HTMLFormElements also have a length. */\r\n\t\t\tisWrapped: function(variable) {\r\n\t\t\t\treturn variable\r\n\t\t\t\t\t\t&& variable !== window\r\n\t\t\t\t\t\t&& Type.isNumber(variable.length)\r\n\t\t\t\t\t\t&& !Type.isString(variable)\r\n\t\t\t\t\t\t&& !Type.isFunction(variable)\r\n\t\t\t\t\t\t&& !Type.isNode(variable)\r\n\t\t\t\t\t\t&& (variable.length === 0 || Type.isNode(variable[0]));\r\n\t\t\t},\r\n\t\t\tisSVG: function(variable) {\r\n\t\t\t\treturn window.SVGElement && (variable instanceof window.SVGElement);\r\n\t\t\t},\r\n\t\t\tisEmptyObject: function(variable) {\r\n\t\t\t\tfor (var name in variable) {\r\n\t\t\t\t\tif (variable.hasOwnProperty(name)) {\r\n\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/*****************\r\n\t\t Dependencies\r\n\t\t *****************/\r\n\r\n\t\tvar $,\r\n\t\t\t\tisJQuery = false;\r\n\r\n\t\tif (global.fn && global.fn.jquery) {\r\n\t\t\t$ = global;\r\n\t\t\tisJQuery = true;\r\n\t\t} else {\r\n\t\t\t$ = window.Velocity.Utilities;\r\n\t\t}\r\n\r\n\t\tif (IE <= 8 && !isJQuery) {\r\n\t\t\tthrow new Error(\"Velocity: IE8 and below require jQuery to be loaded before Velocity.\");\r\n\t\t} else if (IE <= 7) {\r\n\t\t\t/* Revert to jQuery's $.animate(), and lose Velocity's extra features. */\r\n\t\t\tjQuery.fn.velocity = jQuery.fn.animate;\r\n\r\n\t\t\t/* Now that $.fn.velocity is aliased, abort this Velocity declaration. */\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t/*****************\r\n\t\t Constants\r\n\t\t *****************/\r\n\r\n\t\tvar DURATION_DEFAULT = 400,\r\n\t\t\t\tEASING_DEFAULT = \"swing\";\r\n\r\n\t\t/*************\r\n\t\t State\r\n\t\t *************/\r\n\r\n\t\tvar Velocity = {\r\n\t\t\t/* Container for page-wide Velocity state data. */\r\n\t\t\tState: {\r\n\t\t\t\t/* Detect mobile devices to determine if mobileHA should be turned on. */\r\n\t\t\t\tisMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(window.navigator.userAgent),\r\n\t\t\t\t/* The mobileHA option's behavior changes on older Android devices (Gingerbread, versions 2.3.3-2.3.7). */\r\n\t\t\t\tisAndroid: /Android/i.test(window.navigator.userAgent),\r\n\t\t\t\tisGingerbread: /Android 2\\.3\\.[3-7]/i.test(window.navigator.userAgent),\r\n\t\t\t\tisChrome: window.chrome,\r\n\t\t\t\tisFirefox: /Firefox/i.test(window.navigator.userAgent),\r\n\t\t\t\t/* Create a cached element for re-use when checking for CSS property prefixes. */\r\n\t\t\t\tprefixElement: document.createElement(\"div\"),\r\n\t\t\t\t/* Cache every prefix match to avoid repeating lookups. */\r\n\t\t\t\tprefixMatches: {},\r\n\t\t\t\t/* Cache the anchor used for animating window scrolling. */\r\n\t\t\t\tscrollAnchor: null,\r\n\t\t\t\t/* Cache the browser-specific property names associated with the scroll anchor. */\r\n\t\t\t\tscrollPropertyLeft: null,\r\n\t\t\t\tscrollPropertyTop: null,\r\n\t\t\t\t/* Keep track of whether our RAF tick is running. */\r\n\t\t\t\tisTicking: false,\r\n\t\t\t\t/* Container for every in-progress call to Velocity. */\r\n\t\t\t\tcalls: [],\r\n\t\t\t\tdelayedElements: {\r\n\t\t\t\t\tcount: 0\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/* Velocity's custom CSS stack. Made global for unit testing. */\r\n\t\t\tCSS: {/* Defined below. */},\r\n\t\t\t/* A shim of the jQuery utility functions used by Velocity -- provided by Velocity's optional jQuery shim. */\r\n\t\t\tUtilities: $,\r\n\t\t\t/* Container for the user's custom animation redirects that are referenced by name in place of the properties map argument. */\r\n\t\t\tRedirects: {/* Manually registered by the user. */},\r\n\t\t\tEasings: {/* Defined below. */},\r\n\t\t\t/* Attempt to use ES6 Promises by default. Users can override this with a third-party promises library. */\r\n\t\t\tPromise: window.Promise,\r\n\t\t\t/* Velocity option defaults, which can be overriden by the user. */\r\n\t\t\tdefaults: {\r\n\t\t\t\tqueue: \"\",\r\n\t\t\t\tduration: DURATION_DEFAULT,\r\n\t\t\t\teasing: EASING_DEFAULT,\r\n\t\t\t\tbegin: undefined,\r\n\t\t\t\tcomplete: undefined,\r\n\t\t\t\tprogress: undefined,\r\n\t\t\t\tdisplay: undefined,\r\n\t\t\t\tvisibility: undefined,\r\n\t\t\t\tloop: false,\r\n\t\t\t\tdelay: false,\r\n\t\t\t\tmobileHA: true,\r\n\t\t\t\t/* Advanced: Set to false to prevent property values from being cached between consecutive Velocity-initiated chain calls. */\r\n\t\t\t\t_cacheValues: true,\r\n\t\t\t\t/* Advanced: Set to false if the promise should always resolve on empty element lists. */\r\n\t\t\t\tpromiseRejectEmpty: true\r\n\t\t\t},\r\n\t\t\t/* A design goal of Velocity is to cache data wherever possible in order to avoid DOM requerying. Accordingly, each element has a data cache. */\r\n\t\t\tinit: function(element) {\r\n\t\t\t\t$.data(element, \"velocity\", {\r\n\t\t\t\t\t/* Store whether this is an SVG element, since its properties are retrieved and updated differently than standard HTML elements. */\r\n\t\t\t\t\tisSVG: Type.isSVG(element),\r\n\t\t\t\t\t/* Keep track of whether the element is currently being animated by Velocity.\r\n\t\t\t\t\t This is used to ensure that property values are not transferred between non-consecutive (stale) calls. */\r\n\t\t\t\t\tisAnimating: false,\r\n\t\t\t\t\t/* A reference to the element's live computedStyle object. Learn more here: https://developer.mozilla.org/en/docs/Web/API/window.getComputedStyle */\r\n\t\t\t\t\tcomputedStyle: null,\r\n\t\t\t\t\t/* Tween data is cached for each animation on the element so that data can be passed across calls --\r\n\t\t\t\t\t in particular, end values are used as subsequent start values in consecutive Velocity calls. */\r\n\t\t\t\t\ttweensContainer: null,\r\n\t\t\t\t\t/* The full root property values of each CSS hook being animated on this element are cached so that:\r\n\t\t\t\t\t 1) Concurrently-animating hooks sharing the same root can have their root values' merged into one while tweening.\r\n\t\t\t\t\t 2) Post-hook-injection root values can be transferred over to consecutively chained Velocity calls as starting root values. */\r\n\t\t\t\t\trootPropertyValueCache: {},\r\n\t\t\t\t\t/* A cache for transform updates, which must be manually flushed via CSS.flushTransformCache(). */\r\n\t\t\t\t\ttransformCache: {}\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t/* A parallel to jQuery's $.css(), used for getting/setting Velocity's hooked CSS properties. */\r\n\t\t\thook: null, /* Defined below. */\r\n\t\t\t/* Velocity-wide animation time remapping for testing purposes. */\r\n\t\t\tmock: false,\r\n\t\t\tversion: {major: 1, minor: 5, patch: 2},\r\n\t\t\t/* Set to 1 or 2 (most verbose) to output debug info to console. */\r\n\t\t\tdebug: false,\r\n\t\t\t/* Use rAF high resolution timestamp when available */\r\n\t\t\ttimestamp: true,\r\n\t\t\t/* Pause all animations */\r\n\t\t\tpauseAll: function(queueName) {\r\n\t\t\t\tvar currentTime = (new Date()).getTime();\r\n\r\n\t\t\t\t$.each(Velocity.State.calls, function(i, activeCall) {\r\n\r\n\t\t\t\t\tif (activeCall) {\r\n\r\n\t\t\t\t\t\t/* If we have a queueName and this call is not on that queue, skip */\r\n\t\t\t\t\t\tif (queueName !== undefined && ((activeCall[2].queue !== queueName) || (activeCall[2].queue === false))) {\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Set call to paused */\r\n\t\t\t\t\t\tactiveCall[5] = {\r\n\t\t\t\t\t\t\tresume: false\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t\t/* Pause timers on any currently delayed calls */\r\n\t\t\t\t$.each(Velocity.State.delayedElements, function(k, element) {\r\n\t\t\t\t\tif (!element) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tpauseDelayOnElement(element, currentTime);\r\n\t\t\t\t});\r\n\t\t\t},\r\n\t\t\t/* Resume all animations */\r\n\t\t\tresumeAll: function(queueName) {\r\n\t\t\t\tvar currentTime = (new Date()).getTime();\r\n\r\n\t\t\t\t$.each(Velocity.State.calls, function(i, activeCall) {\r\n\r\n\t\t\t\t\tif (activeCall) {\r\n\r\n\t\t\t\t\t\t/* If we have a queueName and this call is not on that queue, skip */\r\n\t\t\t\t\t\tif (queueName !== undefined && ((activeCall[2].queue !== queueName) || (activeCall[2].queue === false))) {\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Set call to resumed if it was paused */\r\n\t\t\t\t\t\tif (activeCall[5]) {\r\n\t\t\t\t\t\t\tactiveCall[5].resume = true;\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\t/* Resume timers on any currently delayed calls */\r\n\t\t\t\t$.each(Velocity.State.delayedElements, function(k, element) {\r\n\t\t\t\t\tif (!element) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tresumeDelayOnElement(element, currentTime);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/* Retrieve the appropriate scroll anchor and property name for the browser: https://developer.mozilla.org/en-US/docs/Web/API/Window.scrollY */\r\n\t\tif (window.pageYOffset !== undefined) {\r\n\t\t\tVelocity.State.scrollAnchor = window;\r\n\t\t\tVelocity.State.scrollPropertyLeft = \"pageXOffset\";\r\n\t\t\tVelocity.State.scrollPropertyTop = \"pageYOffset\";\r\n\t\t} else {\r\n\t\t\tVelocity.State.scrollAnchor = document.documentElement || document.body.parentNode || document.body;\r\n\t\t\tVelocity.State.scrollPropertyLeft = \"scrollLeft\";\r\n\t\t\tVelocity.State.scrollPropertyTop = \"scrollTop\";\r\n\t\t}\r\n\r\n\t\t/* Shorthand alias for jQuery's $.data() utility. */\r\n\t\tfunction Data(element) {\r\n\t\t\t/* Hardcode a reference to the plugin name. */\r\n\t\t\tvar response = $.data(element, \"velocity\");\r\n\r\n\t\t\t/* jQuery <=1.4.2 returns null instead of undefined when no match is found. We normalize this behavior. */\r\n\t\t\treturn response === null ? undefined : response;\r\n\t\t}\r\n\r\n\t\t/**************\r\n\t\t Delay Timer\r\n\t\t **************/\r\n\r\n\t\tfunction pauseDelayOnElement(element, currentTime) {\r\n\t\t\t/* Check for any delay timers, and pause the set timeouts (while preserving time data)\r\n\t\t\t to be resumed when the \"resume\" command is issued */\r\n\t\t\tvar data = Data(element);\r\n\t\t\tif (data && data.delayTimer && !data.delayPaused) {\r\n\t\t\t\tdata.delayRemaining = data.delay - currentTime + data.delayBegin;\r\n\t\t\t\tdata.delayPaused = true;\r\n\t\t\t\tclearTimeout(data.delayTimer.setTimeout);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfunction resumeDelayOnElement(element, currentTime) {\r\n\t\t\t/* Check for any paused timers and resume */\r\n\t\t\tvar data = Data(element);\r\n\t\t\tif (data && data.delayTimer && data.delayPaused) {\r\n\t\t\t\t/* If the element was mid-delay, re initiate the timeout with the remaining delay */\r\n\t\t\t\tdata.delayPaused = false;\r\n\t\t\t\tdata.delayTimer.setTimeout = setTimeout(data.delayTimer.next, data.delayRemaining);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\r\n\r\n\t\t/**************\r\n\t\t Easing\r\n\t\t **************/\r\n\r\n\t\t/* Step easing generator. */\r\n\t\tfunction generateStep(steps) {\r\n\t\t\treturn function(p) {\r\n\t\t\t\treturn Math.round(p * steps) * (1 / steps);\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\t/* Bezier curve function generator. Copyright Gaetan Renaudeau. MIT License: http://en.wikipedia.org/wiki/MIT_License */\r\n\t\tfunction generateBezier(mX1, mY1, mX2, mY2) {\r\n\t\t\tvar NEWTON_ITERATIONS = 4,\r\n\t\t\t\t\tNEWTON_MIN_SLOPE = 0.001,\r\n\t\t\t\t\tSUBDIVISION_PRECISION = 0.0000001,\r\n\t\t\t\t\tSUBDIVISION_MAX_ITERATIONS = 10,\r\n\t\t\t\t\tkSplineTableSize = 11,\r\n\t\t\t\t\tkSampleStepSize = 1.0 / (kSplineTableSize - 1.0),\r\n\t\t\t\t\tfloat32ArraySupported = \"Float32Array\" in window;\r\n\r\n\t\t\t/* Must contain four arguments. */\r\n\t\t\tif (arguments.length !== 4) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n\t\t\t/* Arguments must be numbers. */\r\n\t\t\tfor (var i = 0; i < 4; ++i) {\r\n\t\t\t\tif (typeof arguments[i] !== \"number\" || isNaN(arguments[i]) || !isFinite(arguments[i])) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/* X values must be in the [0, 1] range. */\r\n\t\t\tmX1 = Math.min(mX1, 1);\r\n\t\t\tmX2 = Math.min(mX2, 1);\r\n\t\t\tmX1 = Math.max(mX1, 0);\r\n\t\t\tmX2 = Math.max(mX2, 0);\r\n\r\n\t\t\tvar mSampleValues = float32ArraySupported ? new Float32Array(kSplineTableSize) : new Array(kSplineTableSize);\r\n\r\n\t\t\tfunction A(aA1, aA2) {\r\n\t\t\t\treturn 1.0 - 3.0 * aA2 + 3.0 * aA1;\r\n\t\t\t}\r\n\t\t\tfunction B(aA1, aA2) {\r\n\t\t\t\treturn 3.0 * aA2 - 6.0 * aA1;\r\n\t\t\t}\r\n\t\t\tfunction C(aA1) {\r\n\t\t\t\treturn 3.0 * aA1;\r\n\t\t\t}\r\n\r\n\t\t\tfunction calcBezier(aT, aA1, aA2) {\r\n\t\t\t\treturn ((A(aA1, aA2) * aT + B(aA1, aA2)) * aT + C(aA1)) * aT;\r\n\t\t\t}\r\n\r\n\t\t\tfunction getSlope(aT, aA1, aA2) {\r\n\t\t\t\treturn 3.0 * A(aA1, aA2) * aT * aT + 2.0 * B(aA1, aA2) * aT + C(aA1);\r\n\t\t\t}\r\n\r\n\t\t\tfunction newtonRaphsonIterate(aX, aGuessT) {\r\n\t\t\t\tfor (var i = 0; i < NEWTON_ITERATIONS; ++i) {\r\n\t\t\t\t\tvar currentSlope = getSlope(aGuessT, mX1, mX2);\r\n\r\n\t\t\t\t\tif (currentSlope === 0.0) {\r\n\t\t\t\t\t\treturn aGuessT;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tvar currentX = calcBezier(aGuessT, mX1, mX2) - aX;\r\n\t\t\t\t\taGuessT -= currentX / currentSlope;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn aGuessT;\r\n\t\t\t}\r\n\r\n\t\t\tfunction calcSampleValues() {\r\n\t\t\t\tfor (var i = 0; i < kSplineTableSize; ++i) {\r\n\t\t\t\t\tmSampleValues[i] = calcBezier(i * kSampleStepSize, mX1, mX2);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tfunction binarySubdivide(aX, aA, aB) {\r\n\t\t\t\tvar currentX, currentT, i = 0;\r\n\r\n\t\t\t\tdo {\r\n\t\t\t\t\tcurrentT = aA + (aB - aA) / 2.0;\r\n\t\t\t\t\tcurrentX = calcBezier(currentT, mX1, mX2) - aX;\r\n\t\t\t\t\tif (currentX > 0.0) {\r\n\t\t\t\t\t\taB = currentT;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\taA = currentT;\r\n\t\t\t\t\t}\r\n\t\t\t\t} while (Math.abs(currentX) > SUBDIVISION_PRECISION && ++i < SUBDIVISION_MAX_ITERATIONS);\r\n\r\n\t\t\t\treturn currentT;\r\n\t\t\t}\r\n\r\n\t\t\tfunction getTForX(aX) {\r\n\t\t\t\tvar intervalStart = 0.0,\r\n\t\t\t\t\t\tcurrentSample = 1,\r\n\t\t\t\t\t\tlastSample = kSplineTableSize - 1;\r\n\r\n\t\t\t\tfor (; currentSample !== lastSample && mSampleValues[currentSample] <= aX; ++currentSample) {\r\n\t\t\t\t\tintervalStart += kSampleStepSize;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t--currentSample;\r\n\r\n\t\t\t\tvar dist = (aX - mSampleValues[currentSample]) / (mSampleValues[currentSample + 1] - mSampleValues[currentSample]),\r\n\t\t\t\t\t\tguessForT = intervalStart + dist * kSampleStepSize,\r\n\t\t\t\t\t\tinitialSlope = getSlope(guessForT, mX1, mX2);\r\n\r\n\t\t\t\tif (initialSlope >= NEWTON_MIN_SLOPE) {\r\n\t\t\t\t\treturn newtonRaphsonIterate(aX, guessForT);\r\n\t\t\t\t} else if (initialSlope === 0.0) {\r\n\t\t\t\t\treturn guessForT;\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn binarySubdivide(aX, intervalStart, intervalStart + kSampleStepSize);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tvar _precomputed = false;\r\n\r\n\t\t\tfunction precompute() {\r\n\t\t\t\t_precomputed = true;\r\n\t\t\t\tif (mX1 !== mY1 || mX2 !== mY2) {\r\n\t\t\t\t\tcalcSampleValues();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tvar f = function(aX) {\r\n\t\t\t\tif (!_precomputed) {\r\n\t\t\t\t\tprecompute();\r\n\t\t\t\t}\r\n\t\t\t\tif (mX1 === mY1 && mX2 === mY2) {\r\n\t\t\t\t\treturn aX;\r\n\t\t\t\t}\r\n\t\t\t\tif (aX === 0) {\r\n\t\t\t\t\treturn 0;\r\n\t\t\t\t}\r\n\t\t\t\tif (aX === 1) {\r\n\t\t\t\t\treturn 1;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn calcBezier(getTForX(aX), mY1, mY2);\r\n\t\t\t};\r\n\r\n\t\t\tf.getControlPoints = function() {\r\n\t\t\t\treturn [{x: mX1, y: mY1}, {x: mX2, y: mY2}];\r\n\t\t\t};\r\n\r\n\t\t\tvar str = \"generateBezier(\" + [mX1, mY1, mX2, mY2] + \")\";\r\n\t\t\tf.toString = function() {\r\n\t\t\t\treturn str;\r\n\t\t\t};\r\n\r\n\t\t\treturn f;\r\n\t\t}\r\n\r\n\t\t/* Runge-Kutta spring physics function generator. Adapted from Framer.js, copyright Koen Bok. MIT License: http://en.wikipedia.org/wiki/MIT_License */\r\n\t\t/* Given a tension, friction, and duration, a simulation at 60FPS will first run without a defined duration in order to calculate the full path. A second pass\r\n\t\t then adjusts the time delta -- using the relation between actual time and duration -- to calculate the path for the duration-constrained animation. */\r\n\t\tvar generateSpringRK4 = (function() {\r\n\t\t\tfunction springAccelerationForState(state) {\r\n\t\t\t\treturn (-state.tension * state.x) - (state.friction * state.v);\r\n\t\t\t}\r\n\r\n\t\t\tfunction springEvaluateStateWithDerivative(initialState, dt, derivative) {\r\n\t\t\t\tvar state = {\r\n\t\t\t\t\tx: initialState.x + derivative.dx * dt,\r\n\t\t\t\t\tv: initialState.v + derivative.dv * dt,\r\n\t\t\t\t\ttension: initialState.tension,\r\n\t\t\t\t\tfriction: initialState.friction\r\n\t\t\t\t};\r\n\r\n\t\t\t\treturn {dx: state.v, dv: springAccelerationForState(state)};\r\n\t\t\t}\r\n\r\n\t\t\tfunction springIntegrateState(state, dt) {\r\n\t\t\t\tvar a = {\r\n\t\t\t\t\tdx: state.v,\r\n\t\t\t\t\tdv: springAccelerationForState(state)\r\n\t\t\t\t},\r\n\t\t\t\t\t\tb = springEvaluateStateWithDerivative(state, dt * 0.5, a),\r\n\t\t\t\t\t\tc = springEvaluateStateWithDerivative(state, dt * 0.5, b),\r\n\t\t\t\t\t\td = springEvaluateStateWithDerivative(state, dt, c),\r\n\t\t\t\t\t\tdxdt = 1.0 / 6.0 * (a.dx + 2.0 * (b.dx + c.dx) + d.dx),\r\n\t\t\t\t\t\tdvdt = 1.0 / 6.0 * (a.dv + 2.0 * (b.dv + c.dv) + d.dv);\r\n\r\n\t\t\t\tstate.x = state.x + dxdt * dt;\r\n\t\t\t\tstate.v = state.v + dvdt * dt;\r\n\r\n\t\t\t\treturn state;\r\n\t\t\t}\r\n\r\n\t\t\treturn function springRK4Factory(tension, friction, duration) {\r\n\r\n\t\t\t\tvar initState = {\r\n\t\t\t\t\tx: -1,\r\n\t\t\t\t\tv: 0,\r\n\t\t\t\t\ttension: null,\r\n\t\t\t\t\tfriction: null\r\n\t\t\t\t},\r\n\t\t\t\t\t\tpath = [0],\r\n\t\t\t\t\t\ttime_lapsed = 0,\r\n\t\t\t\t\t\ttolerance = 1 / 10000,\r\n\t\t\t\t\t\tDT = 16 / 1000,\r\n\t\t\t\t\t\thave_duration, dt, last_state;\r\n\r\n\t\t\t\ttension = parseFloat(tension) || 500;\r\n\t\t\t\tfriction = parseFloat(friction) || 20;\r\n\t\t\t\tduration = duration || null;\r\n\r\n\t\t\t\tinitState.tension = tension;\r\n\t\t\t\tinitState.friction = friction;\r\n\r\n\t\t\t\thave_duration = duration !== null;\r\n\r\n\t\t\t\t/* Calculate the actual time it takes for this animation to complete with the provided conditions. */\r\n\t\t\t\tif (have_duration) {\r\n\t\t\t\t\t/* Run the simulation without a duration. */\r\n\t\t\t\t\ttime_lapsed = springRK4Factory(tension, friction);\r\n\t\t\t\t\t/* Compute the adjusted time delta. */\r\n\t\t\t\t\tdt = time_lapsed / duration * DT;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdt = DT;\r\n\t\t\t\t}\r\n\r\n\t\t\t\twhile (true) {\r\n\t\t\t\t\t/* Next/step function .*/\r\n\t\t\t\t\tlast_state = springIntegrateState(last_state || initState, dt);\r\n\t\t\t\t\t/* Store the position. */\r\n\t\t\t\t\tpath.push(1 + last_state.x);\r\n\t\t\t\t\ttime_lapsed += 16;\r\n\t\t\t\t\t/* If the change threshold is reached, break. */\r\n\t\t\t\t\tif (!(Math.abs(last_state.x) > tolerance && Math.abs(last_state.v) > tolerance)) {\r\n\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* If duration is not defined, return the actual time required for completing this animation. Otherwise, return a closure that holds the\r\n\t\t\t\t computed path and returns a snapshot of the position according to a given percentComplete. */\r\n\t\t\t\treturn !have_duration ? time_lapsed : function(percentComplete) {\r\n\t\t\t\t\treturn path[ (percentComplete * (path.length - 1)) | 0 ];\r\n\t\t\t\t};\r\n\t\t\t};\r\n\t\t}());\r\n\r\n\t\t/* jQuery easings. */\r\n\t\tVelocity.Easings = {\r\n\t\t\tlinear: function(p) {\r\n\t\t\t\treturn p;\r\n\t\t\t},\r\n\t\t\tswing: function(p) {\r\n\t\t\t\treturn 0.5 - Math.cos(p * Math.PI) / 2;\r\n\t\t\t},\r\n\t\t\t/* Bonus \"spring\" easing, which is a less exaggerated version of easeInOutElastic. */\r\n\t\t\tspring: function(p) {\r\n\t\t\t\treturn 1 - (Math.cos(p * 4.5 * Math.PI) * Math.exp(-p * 6));\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/* CSS3 and Robert Penner easings. */\r\n\t\t$.each(\r\n\t\t\t\t[\r\n\t\t\t\t\t[\"ease\", [0.25, 0.1, 0.25, 1.0]],\r\n\t\t\t\t\t[\"ease-in\", [0.42, 0.0, 1.00, 1.0]],\r\n\t\t\t\t\t[\"ease-out\", [0.00, 0.0, 0.58, 1.0]],\r\n\t\t\t\t\t[\"ease-in-out\", [0.42, 0.0, 0.58, 1.0]],\r\n\t\t\t\t\t[\"easeInSine\", [0.47, 0, 0.745, 0.715]],\r\n\t\t\t\t\t[\"easeOutSine\", [0.39, 0.575, 0.565, 1]],\r\n\t\t\t\t\t[\"easeInOutSine\", [0.445, 0.05, 0.55, 0.95]],\r\n\t\t\t\t\t[\"easeInQuad\", [0.55, 0.085, 0.68, 0.53]],\r\n\t\t\t\t\t[\"easeOutQuad\", [0.25, 0.46, 0.45, 0.94]],\r\n\t\t\t\t\t[\"easeInOutQuad\", [0.455, 0.03, 0.515, 0.955]],\r\n\t\t\t\t\t[\"easeInCubic\", [0.55, 0.055, 0.675, 0.19]],\r\n\t\t\t\t\t[\"easeOutCubic\", [0.215, 0.61, 0.355, 1]],\r\n\t\t\t\t\t[\"easeInOutCubic\", [0.645, 0.045, 0.355, 1]],\r\n\t\t\t\t\t[\"easeInQuart\", [0.895, 0.03, 0.685, 0.22]],\r\n\t\t\t\t\t[\"easeOutQuart\", [0.165, 0.84, 0.44, 1]],\r\n\t\t\t\t\t[\"easeInOutQuart\", [0.77, 0, 0.175, 1]],\r\n\t\t\t\t\t[\"easeInQuint\", [0.755, 0.05, 0.855, 0.06]],\r\n\t\t\t\t\t[\"easeOutQuint\", [0.23, 1, 0.32, 1]],\r\n\t\t\t\t\t[\"easeInOutQuint\", [0.86, 0, 0.07, 1]],\r\n\t\t\t\t\t[\"easeInExpo\", [0.95, 0.05, 0.795, 0.035]],\r\n\t\t\t\t\t[\"easeOutExpo\", [0.19, 1, 0.22, 1]],\r\n\t\t\t\t\t[\"easeInOutExpo\", [1, 0, 0, 1]],\r\n\t\t\t\t\t[\"easeInCirc\", [0.6, 0.04, 0.98, 0.335]],\r\n\t\t\t\t\t[\"easeOutCirc\", [0.075, 0.82, 0.165, 1]],\r\n\t\t\t\t\t[\"easeInOutCirc\", [0.785, 0.135, 0.15, 0.86]]\r\n\t\t\t\t], function(i, easingArray) {\r\n\t\t\tVelocity.Easings[easingArray[0]] = generateBezier.apply(null, easingArray[1]);\r\n\t\t});\r\n\r\n\t\t/* Determine the appropriate easing type given an easing input. */\r\n\t\tfunction getEasing(value, duration) {\r\n\t\t\tvar easing = value;\r\n\r\n\t\t\t/* The easing option can either be a string that references a pre-registered easing,\r\n\t\t\t or it can be a two-/four-item array of integers to be converted into a bezier/spring function. */\r\n\t\t\tif (Type.isString(value)) {\r\n\t\t\t\t/* Ensure that the easing has been assigned to jQuery's Velocity.Easings object. */\r\n\t\t\t\tif (!Velocity.Easings[value]) {\r\n\t\t\t\t\teasing = false;\r\n\t\t\t\t}\r\n\t\t\t} else if (Type.isArray(value) && value.length === 1) {\r\n\t\t\t\teasing = generateStep.apply(null, value);\r\n\t\t\t} else if (Type.isArray(value) && value.length === 2) {\r\n\t\t\t\t/* springRK4 must be passed the animation's duration. */\r\n\t\t\t\t/* Note: If the springRK4 array contains non-numbers, generateSpringRK4() returns an easing\r\n\t\t\t\t function generated with default tension and friction values. */\r\n\t\t\t\teasing = generateSpringRK4.apply(null, value.concat([duration]));\r\n\t\t\t} else if (Type.isArray(value) && value.length === 4) {\r\n\t\t\t\t/* Note: If the bezier array contains non-numbers, generateBezier() returns false. */\r\n\t\t\t\teasing = generateBezier.apply(null, value);\r\n\t\t\t} else {\r\n\t\t\t\teasing = false;\r\n\t\t\t}\r\n\r\n\t\t\t/* Revert to the Velocity-wide default easing type, or fall back to \"swing\" (which is also jQuery's default)\r\n\t\t\t if the Velocity-wide default has been incorrectly modified. */\r\n\t\t\tif (easing === false) {\r\n\t\t\t\tif (Velocity.Easings[Velocity.defaults.easing]) {\r\n\t\t\t\t\teasing = Velocity.defaults.easing;\r\n\t\t\t\t} else {\r\n\t\t\t\t\teasing = EASING_DEFAULT;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\treturn easing;\r\n\t\t}\r\n\r\n\t\t/*****************\r\n\t\t CSS Stack\r\n\t\t *****************/\r\n\r\n\t\t/* The CSS object is a highly condensed and performant CSS stack that fully replaces jQuery's.\r\n\t\t It handles the validation, getting, and setting of both standard CSS properties and CSS property hooks. */\r\n\t\t/* Note: A \"CSS\" shorthand is aliased so that our code is easier to read. */\r\n\t\tvar CSS = Velocity.CSS = {\r\n\t\t\t/*************\r\n\t\t\t RegEx\r\n\t\t\t *************/\r\n\r\n\t\t\tRegEx: {\r\n\t\t\t\tisHex: /^#([A-f\\d]{3}){1,2}$/i,\r\n\t\t\t\t/* Unwrap a property value's surrounding text, e.g. \"rgba(4, 3, 2, 1)\" ==> \"4, 3, 2, 1\" and \"rect(4px 3px 2px 1px)\" ==> \"4px 3px 2px 1px\". */\r\n\t\t\t\tvalueUnwrap: /^[A-z]+\\((.*)\\)$/i,\r\n\t\t\t\twrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/,\r\n\t\t\t\t/* Split a multi-value property into an array of subvalues, e.g. \"rgba(4, 3, 2, 1) 4px 3px 2px 1px\" ==> [ \"rgba(4, 3, 2, 1)\", \"4px\", \"3px\", \"2px\", \"1px\" ]. */\r\n\t\t\t\tvalueSplit: /([A-z]+\\(.+\\))|(([A-z0-9#-.]+?)(?=\\s|$))/ig\r\n\t\t\t},\r\n\t\t\t/************\r\n\t\t\t Lists\r\n\t\t\t ************/\r\n\r\n\t\t\tLists: {\r\n\t\t\t\tcolors: [\"fill\", \"stroke\", \"stopColor\", \"color\", \"backgroundColor\", \"borderColor\", \"borderTopColor\", \"borderRightColor\", \"borderBottomColor\", \"borderLeftColor\", \"outlineColor\"],\r\n\t\t\t\ttransformsBase: [\"translateX\", \"translateY\", \"scale\", \"scaleX\", \"scaleY\", \"skewX\", \"skewY\", \"rotateZ\"],\r\n\t\t\t\ttransforms3D: [\"transformPerspective\", \"translateZ\", \"scaleZ\", \"rotateX\", \"rotateY\"],\r\n\t\t\t\tunits: [\r\n\t\t\t\t\t\"%\", // relative\r\n\t\t\t\t\t\"em\", \"ex\", \"ch\", \"rem\", // font relative\r\n\t\t\t\t\t\"vw\", \"vh\", \"vmin\", \"vmax\", // viewport relative\r\n\t\t\t\t\t\"cm\", \"mm\", \"Q\", \"in\", \"pc\", \"pt\", \"px\", // absolute lengths\r\n\t\t\t\t\t\"deg\", \"grad\", \"rad\", \"turn\", // angles\r\n\t\t\t\t\t\"s\", \"ms\" // time\r\n\t\t\t\t],\r\n\t\t\t\tcolorNames: {\r\n\t\t\t\t\t\"aliceblue\": \"240,248,255\",\r\n\t\t\t\t\t\"antiquewhite\": \"250,235,215\",\r\n\t\t\t\t\t\"aquamarine\": \"127,255,212\",\r\n\t\t\t\t\t\"aqua\": \"0,255,255\",\r\n\t\t\t\t\t\"azure\": \"240,255,255\",\r\n\t\t\t\t\t\"beige\": \"245,245,220\",\r\n\t\t\t\t\t\"bisque\": \"255,228,196\",\r\n\t\t\t\t\t\"black\": \"0,0,0\",\r\n\t\t\t\t\t\"blanchedalmond\": \"255,235,205\",\r\n\t\t\t\t\t\"blueviolet\": \"138,43,226\",\r\n\t\t\t\t\t\"blue\": \"0,0,255\",\r\n\t\t\t\t\t\"brown\": \"165,42,42\",\r\n\t\t\t\t\t\"burlywood\": \"222,184,135\",\r\n\t\t\t\t\t\"cadetblue\": \"95,158,160\",\r\n\t\t\t\t\t\"chartreuse\": \"127,255,0\",\r\n\t\t\t\t\t\"chocolate\": \"210,105,30\",\r\n\t\t\t\t\t\"coral\": \"255,127,80\",\r\n\t\t\t\t\t\"cornflowerblue\": \"100,149,237\",\r\n\t\t\t\t\t\"cornsilk\": \"255,248,220\",\r\n\t\t\t\t\t\"crimson\": \"220,20,60\",\r\n\t\t\t\t\t\"cyan\": \"0,255,255\",\r\n\t\t\t\t\t\"darkblue\": \"0,0,139\",\r\n\t\t\t\t\t\"darkcyan\": \"0,139,139\",\r\n\t\t\t\t\t\"darkgoldenrod\": \"184,134,11\",\r\n\t\t\t\t\t\"darkgray\": \"169,169,169\",\r\n\t\t\t\t\t\"darkgrey\": \"169,169,169\",\r\n\t\t\t\t\t\"darkgreen\": \"0,100,0\",\r\n\t\t\t\t\t\"darkkhaki\": \"189,183,107\",\r\n\t\t\t\t\t\"darkmagenta\": \"139,0,139\",\r\n\t\t\t\t\t\"darkolivegreen\": \"85,107,47\",\r\n\t\t\t\t\t\"darkorange\": \"255,140,0\",\r\n\t\t\t\t\t\"darkorchid\": \"153,50,204\",\r\n\t\t\t\t\t\"darkred\": \"139,0,0\",\r\n\t\t\t\t\t\"darksalmon\": \"233,150,122\",\r\n\t\t\t\t\t\"darkseagreen\": \"143,188,143\",\r\n\t\t\t\t\t\"darkslateblue\": \"72,61,139\",\r\n\t\t\t\t\t\"darkslategray\": \"47,79,79\",\r\n\t\t\t\t\t\"darkturquoise\": \"0,206,209\",\r\n\t\t\t\t\t\"darkviolet\": \"148,0,211\",\r\n\t\t\t\t\t\"deeppink\": \"255,20,147\",\r\n\t\t\t\t\t\"deepskyblue\": \"0,191,255\",\r\n\t\t\t\t\t\"dimgray\": \"105,105,105\",\r\n\t\t\t\t\t\"dimgrey\": \"105,105,105\",\r\n\t\t\t\t\t\"dodgerblue\": \"30,144,255\",\r\n\t\t\t\t\t\"firebrick\": \"178,34,34\",\r\n\t\t\t\t\t\"floralwhite\": \"255,250,240\",\r\n\t\t\t\t\t\"forestgreen\": \"34,139,34\",\r\n\t\t\t\t\t\"fuchsia\": \"255,0,255\",\r\n\t\t\t\t\t\"gainsboro\": \"220,220,220\",\r\n\t\t\t\t\t\"ghostwhite\": \"248,248,255\",\r\n\t\t\t\t\t\"gold\": \"255,215,0\",\r\n\t\t\t\t\t\"goldenrod\": \"218,165,32\",\r\n\t\t\t\t\t\"gray\": \"128,128,128\",\r\n\t\t\t\t\t\"grey\": \"128,128,128\",\r\n\t\t\t\t\t\"greenyellow\": \"173,255,47\",\r\n\t\t\t\t\t\"green\": \"0,128,0\",\r\n\t\t\t\t\t\"honeydew\": \"240,255,240\",\r\n\t\t\t\t\t\"hotpink\": \"255,105,180\",\r\n\t\t\t\t\t\"indianred\": \"205,92,92\",\r\n\t\t\t\t\t\"indigo\": \"75,0,130\",\r\n\t\t\t\t\t\"ivory\": \"255,255,240\",\r\n\t\t\t\t\t\"khaki\": \"240,230,140\",\r\n\t\t\t\t\t\"lavenderblush\": \"255,240,245\",\r\n\t\t\t\t\t\"lavender\": \"230,230,250\",\r\n\t\t\t\t\t\"lawngreen\": \"124,252,0\",\r\n\t\t\t\t\t\"lemonchiffon\": \"255,250,205\",\r\n\t\t\t\t\t\"lightblue\": \"173,216,230\",\r\n\t\t\t\t\t\"lightcoral\": \"240,128,128\",\r\n\t\t\t\t\t\"lightcyan\": \"224,255,255\",\r\n\t\t\t\t\t\"lightgoldenrodyellow\": \"250,250,210\",\r\n\t\t\t\t\t\"lightgray\": \"211,211,211\",\r\n\t\t\t\t\t\"lightgrey\": \"211,211,211\",\r\n\t\t\t\t\t\"lightgreen\": \"144,238,144\",\r\n\t\t\t\t\t\"lightpink\": \"255,182,193\",\r\n\t\t\t\t\t\"lightsalmon\": \"255,160,122\",\r\n\t\t\t\t\t\"lightseagreen\": \"32,178,170\",\r\n\t\t\t\t\t\"lightskyblue\": \"135,206,250\",\r\n\t\t\t\t\t\"lightslategray\": \"119,136,153\",\r\n\t\t\t\t\t\"lightsteelblue\": \"176,196,222\",\r\n\t\t\t\t\t\"lightyellow\": \"255,255,224\",\r\n\t\t\t\t\t\"limegreen\": \"50,205,50\",\r\n\t\t\t\t\t\"lime\": \"0,255,0\",\r\n\t\t\t\t\t\"linen\": \"250,240,230\",\r\n\t\t\t\t\t\"magenta\": \"255,0,255\",\r\n\t\t\t\t\t\"maroon\": \"128,0,0\",\r\n\t\t\t\t\t\"mediumaquamarine\": \"102,205,170\",\r\n\t\t\t\t\t\"mediumblue\": \"0,0,205\",\r\n\t\t\t\t\t\"mediumorchid\": \"186,85,211\",\r\n\t\t\t\t\t\"mediumpurple\": \"147,112,219\",\r\n\t\t\t\t\t\"mediumseagreen\": \"60,179,113\",\r\n\t\t\t\t\t\"mediumslateblue\": \"123,104,238\",\r\n\t\t\t\t\t\"mediumspringgreen\": \"0,250,154\",\r\n\t\t\t\t\t\"mediumturquoise\": \"72,209,204\",\r\n\t\t\t\t\t\"mediumvioletred\": \"199,21,133\",\r\n\t\t\t\t\t\"midnightblue\": \"25,25,112\",\r\n\t\t\t\t\t\"mintcream\": \"245,255,250\",\r\n\t\t\t\t\t\"mistyrose\": \"255,228,225\",\r\n\t\t\t\t\t\"moccasin\": \"255,228,181\",\r\n\t\t\t\t\t\"navajowhite\": \"255,222,173\",\r\n\t\t\t\t\t\"navy\": \"0,0,128\",\r\n\t\t\t\t\t\"oldlace\": \"253,245,230\",\r\n\t\t\t\t\t\"olivedrab\": \"107,142,35\",\r\n\t\t\t\t\t\"olive\": \"128,128,0\",\r\n\t\t\t\t\t\"orangered\": \"255,69,0\",\r\n\t\t\t\t\t\"orange\": \"255,165,0\",\r\n\t\t\t\t\t\"orchid\": \"218,112,214\",\r\n\t\t\t\t\t\"palegoldenrod\": \"238,232,170\",\r\n\t\t\t\t\t\"palegreen\": \"152,251,152\",\r\n\t\t\t\t\t\"paleturquoise\": \"175,238,238\",\r\n\t\t\t\t\t\"palevioletred\": \"219,112,147\",\r\n\t\t\t\t\t\"papayawhip\": \"255,239,213\",\r\n\t\t\t\t\t\"peachpuff\": \"255,218,185\",\r\n\t\t\t\t\t\"peru\": \"205,133,63\",\r\n\t\t\t\t\t\"pink\": \"255,192,203\",\r\n\t\t\t\t\t\"plum\": \"221,160,221\",\r\n\t\t\t\t\t\"powderblue\": \"176,224,230\",\r\n\t\t\t\t\t\"purple\": \"128,0,128\",\r\n\t\t\t\t\t\"red\": \"255,0,0\",\r\n\t\t\t\t\t\"rosybrown\": \"188,143,143\",\r\n\t\t\t\t\t\"royalblue\": \"65,105,225\",\r\n\t\t\t\t\t\"saddlebrown\": \"139,69,19\",\r\n\t\t\t\t\t\"salmon\": \"250,128,114\",\r\n\t\t\t\t\t\"sandybrown\": \"244,164,96\",\r\n\t\t\t\t\t\"seagreen\": \"46,139,87\",\r\n\t\t\t\t\t\"seashell\": \"255,245,238\",\r\n\t\t\t\t\t\"sienna\": \"160,82,45\",\r\n\t\t\t\t\t\"silver\": \"192,192,192\",\r\n\t\t\t\t\t\"skyblue\": \"135,206,235\",\r\n\t\t\t\t\t\"slateblue\": \"106,90,205\",\r\n\t\t\t\t\t\"slategray\": \"112,128,144\",\r\n\t\t\t\t\t\"snow\": \"255,250,250\",\r\n\t\t\t\t\t\"springgreen\": \"0,255,127\",\r\n\t\t\t\t\t\"steelblue\": \"70,130,180\",\r\n\t\t\t\t\t\"tan\": \"210,180,140\",\r\n\t\t\t\t\t\"teal\": \"0,128,128\",\r\n\t\t\t\t\t\"thistle\": \"216,191,216\",\r\n\t\t\t\t\t\"tomato\": \"255,99,71\",\r\n\t\t\t\t\t\"turquoise\": \"64,224,208\",\r\n\t\t\t\t\t\"violet\": \"238,130,238\",\r\n\t\t\t\t\t\"wheat\": \"245,222,179\",\r\n\t\t\t\t\t\"whitesmoke\": \"245,245,245\",\r\n\t\t\t\t\t\"white\": \"255,255,255\",\r\n\t\t\t\t\t\"yellowgreen\": \"154,205,50\",\r\n\t\t\t\t\t\"yellow\": \"255,255,0\"\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/************\r\n\t\t\t Hooks\r\n\t\t\t ************/\r\n\r\n\t\t\t/* Hooks allow a subproperty (e.g. \"boxShadowBlur\") of a compound-value CSS property\r\n\t\t\t (e.g. \"boxShadow: X Y Blur Spread Color\") to be animated as if it were a discrete property. */\r\n\t\t\t/* Note: Beyond enabling fine-grained property animation, hooking is necessary since Velocity only\r\n\t\t\t tweens properties with single numeric values; unlike CSS transitions, Velocity does not interpolate compound-values. */\r\n\t\t\tHooks: {\r\n\t\t\t\t/********************\r\n\t\t\t\t Registration\r\n\t\t\t\t ********************/\r\n\r\n\t\t\t\t/* Templates are a concise way of indicating which subproperties must be individually registered for each compound-value CSS property. */\r\n\t\t\t\t/* Each template consists of the compound-value's base name, its constituent subproperty names, and those subproperties' default values. */\r\n\t\t\t\ttemplates: {\r\n\t\t\t\t\t\"textShadow\": [\"Color X Y Blur\", \"black 0px 0px 0px\"],\r\n\t\t\t\t\t\"boxShadow\": [\"Color X Y Blur Spread\", \"black 0px 0px 0px 0px\"],\r\n\t\t\t\t\t\"clip\": [\"Top Right Bottom Left\", \"0px 0px 0px 0px\"],\r\n\t\t\t\t\t\"backgroundPosition\": [\"X Y\", \"0% 0%\"],\r\n\t\t\t\t\t\"transformOrigin\": [\"X Y Z\", \"50% 50% 0px\"],\r\n\t\t\t\t\t\"perspectiveOrigin\": [\"X Y\", \"50% 50%\"]\r\n\t\t\t\t},\r\n\t\t\t\t/* A \"registered\" hook is one that has been converted from its template form into a live,\r\n\t\t\t\t tweenable property. It contains data to associate it with its root property. */\r\n\t\t\t\tregistered: {\r\n\t\t\t\t\t/* Note: A registered hook looks like this ==> textShadowBlur: [ \"textShadow\", 3 ],\r\n\t\t\t\t\t which consists of the subproperty's name, the associated root property's name,\r\n\t\t\t\t\t and the subproperty's position in the root's value. */\r\n\t\t\t\t},\r\n\t\t\t\t/* Convert the templates into individual hooks then append them to the registered object above. */\r\n\t\t\t\tregister: function() {\r\n\t\t\t\t\t/* Color hooks registration: Colors are defaulted to white -- as opposed to black -- since colors that are\r\n\t\t\t\t\t currently set to \"transparent\" default to their respective template below when color-animated,\r\n\t\t\t\t\t and white is typically a closer match to transparent than black is. An exception is made for text (\"color\"),\r\n\t\t\t\t\t which is almost always set closer to black than white. */\r\n\t\t\t\t\tfor (var i = 0; i < CSS.Lists.colors.length; i++) {\r\n\t\t\t\t\t\tvar rgbComponents = (CSS.Lists.colors[i] === \"color\") ? \"0 0 0 1\" : \"255 255 255 1\";\r\n\t\t\t\t\t\tCSS.Hooks.templates[CSS.Lists.colors[i]] = [\"Red Green Blue Alpha\", rgbComponents];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tvar rootProperty,\r\n\t\t\t\t\t\t\thookTemplate,\r\n\t\t\t\t\t\t\thookNames;\r\n\r\n\t\t\t\t\t/* In IE, color values inside compound-value properties are positioned at the end the value instead of at the beginning.\r\n\t\t\t\t\t Thus, we re-arrange the templates accordingly. */\r\n\t\t\t\t\tif (IE) {\r\n\t\t\t\t\t\tfor (rootProperty in CSS.Hooks.templates) {\r\n\t\t\t\t\t\t\tif (!CSS.Hooks.templates.hasOwnProperty(rootProperty)) {\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\thookTemplate = CSS.Hooks.templates[rootProperty];\r\n\t\t\t\t\t\t\thookNames = hookTemplate[0].split(\" \");\r\n\r\n\t\t\t\t\t\t\tvar defaultValues = hookTemplate[1].match(CSS.RegEx.valueSplit);\r\n\r\n\t\t\t\t\t\t\tif (hookNames[0] === \"Color\") {\r\n\t\t\t\t\t\t\t\t/* Reposition both the hook's name and its default value to the end of their respective strings. */\r\n\t\t\t\t\t\t\t\thookNames.push(hookNames.shift());\r\n\t\t\t\t\t\t\t\tdefaultValues.push(defaultValues.shift());\r\n\r\n\t\t\t\t\t\t\t\t/* Replace the existing template for the hook's root property. */\r\n\t\t\t\t\t\t\t\tCSS.Hooks.templates[rootProperty] = [hookNames.join(\" \"), defaultValues.join(\" \")];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Hook registration. */\r\n\t\t\t\t\tfor (rootProperty in CSS.Hooks.templates) {\r\n\t\t\t\t\t\tif (!CSS.Hooks.templates.hasOwnProperty(rootProperty)) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\thookTemplate = CSS.Hooks.templates[rootProperty];\r\n\t\t\t\t\t\thookNames = hookTemplate[0].split(\" \");\r\n\r\n\t\t\t\t\t\tfor (var j in hookNames) {\r\n\t\t\t\t\t\t\tif (!hookNames.hasOwnProperty(j)) {\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tvar fullHookName = rootProperty + hookNames[j],\r\n\t\t\t\t\t\t\t\t\thookPosition = j;\r\n\r\n\t\t\t\t\t\t\t/* For each hook, register its full name (e.g. textShadowBlur) with its root property (e.g. textShadow)\r\n\t\t\t\t\t\t\t and the hook's position in its template's default value string. */\r\n\t\t\t\t\t\t\tCSS.Hooks.registered[fullHookName] = [rootProperty, hookPosition];\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\t/*****************************\r\n\t\t\t\t Injection and Extraction\r\n\t\t\t\t *****************************/\r\n\r\n\t\t\t\t/* Look up the root property associated with the hook (e.g. return \"textShadow\" for \"textShadowBlur\"). */\r\n\t\t\t\t/* Since a hook cannot be set directly (the browser won't recognize it), style updating for hooks is routed through the hook's root property. */\r\n\t\t\t\tgetRoot: function(property) {\r\n\t\t\t\t\tvar hookData = CSS.Hooks.registered[property];\r\n\r\n\t\t\t\t\tif (hookData) {\r\n\t\t\t\t\t\treturn hookData[0];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* If there was no hook match, return the property name untouched. */\r\n\t\t\t\t\t\treturn property;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\tgetUnit: function(str, start) {\r\n\t\t\t\t\tvar unit = (str.substr(start || 0, 5).match(/^[a-z%]+/) || [])[0] || \"\";\r\n\r\n\t\t\t\t\tif (unit && _inArray(CSS.Lists.units, unit)) {\r\n\t\t\t\t\t\treturn unit;\r\n\t\t\t\t\t}\r\n\t\t\t\t\treturn \"\";\r\n\t\t\t\t},\r\n\t\t\t\tfixColors: function(str) {\r\n\t\t\t\t\treturn str.replace(/(rgba?\\(\\s*)?(\\b[a-z]+\\b)/g, function($0, $1, $2) {\r\n\t\t\t\t\t\tif (CSS.Lists.colorNames.hasOwnProperty($2)) {\r\n\t\t\t\t\t\t\treturn ($1 ? $1 : \"rgba(\") + CSS.Lists.colorNames[$2] + ($1 ? \"\" : \",1)\");\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn $1 + $2;\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\t/* Convert any rootPropertyValue, null or otherwise, into a space-delimited list of hook values so that\r\n\t\t\t\t the targeted hook can be injected or extracted at its standard position. */\r\n\t\t\t\tcleanRootPropertyValue: function(rootProperty, rootPropertyValue) {\r\n\t\t\t\t\t/* If the rootPropertyValue is wrapped with \"rgb()\", \"clip()\", etc., remove the wrapping to normalize the value before manipulation. */\r\n\t\t\t\t\tif (CSS.RegEx.valueUnwrap.test(rootPropertyValue)) {\r\n\t\t\t\t\t\trootPropertyValue = rootPropertyValue.match(CSS.RegEx.valueUnwrap)[1];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* If rootPropertyValue is a CSS null-value (from which there's inherently no hook value to extract),\r\n\t\t\t\t\t default to the root's default value as defined in CSS.Hooks.templates. */\r\n\t\t\t\t\t/* Note: CSS null-values include \"none\", \"auto\", and \"transparent\". They must be converted into their\r\n\t\t\t\t\t zero-values (e.g. textShadow: \"none\" ==> textShadow: \"0px 0px 0px black\") for hook manipulation to proceed. */\r\n\t\t\t\t\tif (CSS.Values.isCSSNullValue(rootPropertyValue)) {\r\n\t\t\t\t\t\trootPropertyValue = CSS.Hooks.templates[rootProperty][1];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn rootPropertyValue;\r\n\t\t\t\t},\r\n\t\t\t\t/* Extracted the hook's value from its root property's value. This is used to get the starting value of an animating hook. */\r\n\t\t\t\textractValue: function(fullHookName, rootPropertyValue) {\r\n\t\t\t\t\tvar hookData = CSS.Hooks.registered[fullHookName];\r\n\r\n\t\t\t\t\tif (hookData) {\r\n\t\t\t\t\t\tvar hookRoot = hookData[0],\r\n\t\t\t\t\t\t\t\thookPosition = hookData[1];\r\n\r\n\t\t\t\t\t\trootPropertyValue = CSS.Hooks.cleanRootPropertyValue(hookRoot, rootPropertyValue);\r\n\r\n\t\t\t\t\t\t/* Split rootPropertyValue into its constituent hook values then grab the desired hook at its standard position. */\r\n\t\t\t\t\t\treturn rootPropertyValue.toString().match(CSS.RegEx.valueSplit)[hookPosition];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* If the provided fullHookName isn't a registered hook, return the rootPropertyValue that was passed in. */\r\n\t\t\t\t\t\treturn rootPropertyValue;\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t/* Inject the hook's value into its root property's value. This is used to piece back together the root property\r\n\t\t\t\t once Velocity has updated one of its individually hooked values through tweening. */\r\n\t\t\t\tinjectValue: function(fullHookName, hookValue, rootPropertyValue) {\r\n\t\t\t\t\tvar hookData = CSS.Hooks.registered[fullHookName];\r\n\r\n\t\t\t\t\tif (hookData) {\r\n\t\t\t\t\t\tvar hookRoot = hookData[0],\r\n\t\t\t\t\t\t\t\thookPosition = hookData[1],\r\n\t\t\t\t\t\t\t\trootPropertyValueParts,\r\n\t\t\t\t\t\t\t\trootPropertyValueUpdated;\r\n\r\n\t\t\t\t\t\trootPropertyValue = CSS.Hooks.cleanRootPropertyValue(hookRoot, rootPropertyValue);\r\n\r\n\t\t\t\t\t\t/* Split rootPropertyValue into its individual hook values, replace the targeted value with hookValue,\r\n\t\t\t\t\t\t then reconstruct the rootPropertyValue string. */\r\n\t\t\t\t\t\trootPropertyValueParts = rootPropertyValue.toString().match(CSS.RegEx.valueSplit);\r\n\t\t\t\t\t\trootPropertyValueParts[hookPosition] = hookValue;\r\n\t\t\t\t\t\trootPropertyValueUpdated = rootPropertyValueParts.join(\" \");\r\n\r\n\t\t\t\t\t\treturn rootPropertyValueUpdated;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* If the provided fullHookName isn't a registered hook, return the rootPropertyValue that was passed in. */\r\n\t\t\t\t\t\treturn rootPropertyValue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/*******************\r\n\t\t\t Normalizations\r\n\t\t\t *******************/\r\n\r\n\t\t\t/* Normalizations standardize CSS property manipulation by pollyfilling browser-specific implementations (e.g. opacity)\r\n\t\t\t and reformatting special properties (e.g. clip, rgba) to look like standard ones. */\r\n\t\t\tNormalizations: {\r\n\t\t\t\t/* Normalizations are passed a normalization target (either the property's name, its extracted value, or its injected value),\r\n\t\t\t\t the targeted element (which may need to be queried), and the targeted property value. */\r\n\t\t\t\tregistered: {\r\n\t\t\t\t\tclip: function(type, element, propertyValue) {\r\n\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\treturn \"clip\";\r\n\t\t\t\t\t\t\t\t/* Clip needs to be unwrapped and stripped of its commas during extraction. */\r\n\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\tvar extracted;\r\n\r\n\t\t\t\t\t\t\t\t/* If Velocity also extracted this value, skip extraction. */\r\n\t\t\t\t\t\t\t\tif (CSS.RegEx.wrappedValueAlreadyExtracted.test(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\textracted = propertyValue;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t/* Remove the \"rect()\" wrapper. */\r\n\t\t\t\t\t\t\t\t\textracted = propertyValue.toString().match(CSS.RegEx.valueUnwrap);\r\n\r\n\t\t\t\t\t\t\t\t\t/* Strip off commas. */\r\n\t\t\t\t\t\t\t\t\textracted = extracted ? extracted[1].replace(/,(\\s+)?/g, \" \") : propertyValue;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\treturn extracted;\r\n\t\t\t\t\t\t\t\t/* Clip needs to be re-wrapped during injection. */\r\n\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\treturn \"rect(\" + propertyValue + \")\";\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\tblur: function(type, element, propertyValue) {\r\n\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\treturn Velocity.State.isFirefox ? \"filter\" : \"-webkit-filter\";\r\n\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\tvar extracted = parseFloat(propertyValue);\r\n\r\n\t\t\t\t\t\t\t\t/* If extracted is NaN, meaning the value isn't already extracted. */\r\n\t\t\t\t\t\t\t\tif (!(extracted || extracted === 0)) {\r\n\t\t\t\t\t\t\t\t\tvar blurComponent = propertyValue.toString().match(/blur\\(([0-9]+[A-z]+)\\)/i);\r\n\r\n\t\t\t\t\t\t\t\t\t/* If the filter string had a blur component, return just the blur value and unit type. */\r\n\t\t\t\t\t\t\t\t\tif (blurComponent) {\r\n\t\t\t\t\t\t\t\t\t\textracted = blurComponent[1];\r\n\t\t\t\t\t\t\t\t\t\t/* If the component doesn't exist, default blur to 0. */\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\textracted = 0;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\treturn extracted;\r\n\t\t\t\t\t\t\t\t/* Blur needs to be re-wrapped during injection. */\r\n\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t/* For the blur effect to be fully de-applied, it needs to be set to \"none\" instead of 0. */\r\n\t\t\t\t\t\t\t\tif (!parseFloat(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\treturn \"none\";\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\treturn \"blur(\" + propertyValue + \")\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t},\r\n\t\t\t\t\t/* <=IE8 do not support the standard opacity property. They use filter:alpha(opacity=INT) instead. */\r\n\t\t\t\t\topacity: function(type, element, propertyValue) {\r\n\t\t\t\t\t\tif (IE <= 8) {\r\n\t\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\t\treturn \"filter\";\r\n\t\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\t\t/* <=IE8 return a \"filter\" value of \"alpha(opacity=\\d{1,3})\".\r\n\t\t\t\t\t\t\t\t\t Extract the value and convert it to a decimal value to match the standard CSS opacity property's formatting. */\r\n\t\t\t\t\t\t\t\t\tvar extracted = propertyValue.toString().match(/alpha\\(opacity=(.*)\\)/i);\r\n\r\n\t\t\t\t\t\t\t\t\tif (extracted) {\r\n\t\t\t\t\t\t\t\t\t\t/* Convert to decimal value. */\r\n\t\t\t\t\t\t\t\t\t\tpropertyValue = extracted[1] / 100;\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t/* When extracting opacity, default to 1 since a null value means opacity hasn't been set. */\r\n\t\t\t\t\t\t\t\t\t\tpropertyValue = 1;\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\treturn propertyValue;\r\n\t\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t\t/* Opacified elements are required to have their zoom property set to a non-zero value. */\r\n\t\t\t\t\t\t\t\t\telement.style.zoom = 1;\r\n\r\n\t\t\t\t\t\t\t\t\t/* Setting the filter property on elements with certain font property combinations can result in a\r\n\t\t\t\t\t\t\t\t\t highly unappealing ultra-bolding effect. There's no way to remedy this throughout a tween, but dropping the\r\n\t\t\t\t\t\t\t\t\t value altogether (when opacity hits 1) at leasts ensures that the glitch is gone post-tweening. */\r\n\t\t\t\t\t\t\t\t\tif (parseFloat(propertyValue) >= 1) {\r\n\t\t\t\t\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t/* As per the filter property's spec, convert the decimal value to a whole number and wrap the value. */\r\n\t\t\t\t\t\t\t\t\t\treturn \"alpha(opacity=\" + parseInt(parseFloat(propertyValue) * 100, 10) + \")\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/* With all other browsers, normalization is not required; return the same values that were passed in. */\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\t\treturn \"opacity\";\r\n\t\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\t\treturn propertyValue;\r\n\t\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t\treturn propertyValue;\r\n\t\t\t\t\t\t\t}\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\t/*****************************\r\n\t\t\t\t Batched Registrations\r\n\t\t\t\t *****************************/\r\n\r\n\t\t\t\t/* Note: Batched normalizations extend the CSS.Normalizations.registered object. */\r\n\t\t\t\tregister: function() {\r\n\r\n\t\t\t\t\t/*****************\r\n\t\t\t\t\t Transforms\r\n\t\t\t\t\t *****************/\r\n\r\n\t\t\t\t\t/* Transforms are the subproperties contained by the CSS \"transform\" property. Transforms must undergo normalization\r\n\t\t\t\t\t so that they can be referenced in a properties map by their individual names. */\r\n\t\t\t\t\t/* Note: When transforms are \"set\", they are actually assigned to a per-element transformCache. When all transform\r\n\t\t\t\t\t setting is complete complete, CSS.flushTransformCache() must be manually called to flush the values to the DOM.\r\n\t\t\t\t\t Transform setting is batched in this way to improve performance: the transform style only needs to be updated\r\n\t\t\t\t\t once when multiple transform subproperties are being animated simultaneously. */\r\n\t\t\t\t\t/* Note: IE9 and Android Gingerbread have support for 2D -- but not 3D -- transforms. Since animating unsupported\r\n\t\t\t\t\t transform properties results in the browser ignoring the *entire* transform string, we prevent these 3D values\r\n\t\t\t\t\t from being normalized for these browsers so that tweening skips these properties altogether\r\n\t\t\t\t\t (since it will ignore them as being unsupported by the browser.) */\r\n\t\t\t\t\tif ((!IE || IE > 9) && !Velocity.State.isGingerbread) {\r\n\t\t\t\t\t\t/* Note: Since the standalone CSS \"perspective\" property and the CSS transform \"perspective\" subproperty\r\n\t\t\t\t\t\t share the same name, the latter is given a unique token within Velocity: \"transformPerspective\". */\r\n\t\t\t\t\t\tCSS.Lists.transformsBase = CSS.Lists.transformsBase.concat(CSS.Lists.transforms3D);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tfor (var i = 0; i < CSS.Lists.transformsBase.length; i++) {\r\n\t\t\t\t\t\t/* Wrap the dynamically generated normalization function in a new scope so that transformName's value is\r\n\t\t\t\t\t\t paired with its respective function. (Otherwise, all functions would take the final for loop's transformName.) */\r\n\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\tvar transformName = CSS.Lists.transformsBase[i];\r\n\r\n\t\t\t\t\t\t\tCSS.Normalizations.registered[transformName] = function(type, element, propertyValue) {\r\n\t\t\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\t\t\t/* The normalized property name is the parent \"transform\" property -- the property that is actually set in CSS. */\r\n\t\t\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\t\t\treturn \"transform\";\r\n\t\t\t\t\t\t\t\t\t\t/* Transform values are cached onto a per-element transformCache object. */\r\n\t\t\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\t\t\t/* If this transform has yet to be assigned a value, return its null value. */\r\n\t\t\t\t\t\t\t\t\t\tif (Data(element) === undefined || Data(element).transformCache[transformName] === undefined) {\r\n\t\t\t\t\t\t\t\t\t\t\t/* Scale CSS.Lists.transformsBase default to 1 whereas all other transform properties default to 0. */\r\n\t\t\t\t\t\t\t\t\t\t\treturn /^scale/i.test(transformName) ? 1 : 0;\r\n\t\t\t\t\t\t\t\t\t\t\t/* When transform values are set, they are wrapped in parentheses as per the CSS spec.\r\n\t\t\t\t\t\t\t\t\t\t\t Thus, when extracting their values (for tween calculations), we strip off the parentheses. */\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\treturn Data(element).transformCache[transformName].replace(/[()]/g, \"\");\r\n\t\t\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t\t\tvar invalid = false;\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* If an individual transform property contains an unsupported unit type, the browser ignores the *entire* transform property.\r\n\t\t\t\t\t\t\t\t\t\t Thus, protect users from themselves by skipping setting for transform values supplied with invalid unit types. */\r\n\t\t\t\t\t\t\t\t\t\t/* Switch on the base transform type; ignore the axis by removing the last letter from the transform's name. */\r\n\t\t\t\t\t\t\t\t\t\tswitch (transformName.substr(0, transformName.length - 1)) {\r\n\t\t\t\t\t\t\t\t\t\t\t/* Whitelist unit types for each transform. */\r\n\t\t\t\t\t\t\t\t\t\t\tcase \"translate\":\r\n\t\t\t\t\t\t\t\t\t\t\t\tinvalid = !/(%|px|em|rem|vw|vh|\\d)$/i.test(propertyValue);\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\t\t/* Since an axis-free \"scale\" property is supported as well, a little hack is used here to detect it by chopping off its last letter. */\r\n\t\t\t\t\t\t\t\t\t\t\tcase \"scal\":\r\n\t\t\t\t\t\t\t\t\t\t\tcase \"scale\":\r\n\t\t\t\t\t\t\t\t\t\t\t\t/* Chrome on Android has a bug in which scaled elements blur if their initial scale\r\n\t\t\t\t\t\t\t\t\t\t\t\t value is below 1 (which can happen with forcefeeding). Thus, we detect a yet-unset scale property\r\n\t\t\t\t\t\t\t\t\t\t\t\t and ensure that its first value is always 1. More info: http://stackoverflow.com/questions/10417890/css3-animations-with-transform-causes-blurred-elements-on-webkit/10417962#10417962 */\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (Velocity.State.isAndroid && Data(element).transformCache[transformName] === undefined && propertyValue < 1) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tpropertyValue = 1;\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\tinvalid = !/(\\d)$/i.test(propertyValue);\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\tcase \"skew\":\r\n\t\t\t\t\t\t\t\t\t\t\t\tinvalid = !/(deg|\\d)$/i.test(propertyValue);\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\tcase \"rotate\":\r\n\t\t\t\t\t\t\t\t\t\t\t\tinvalid = !/(deg|\\d)$/i.test(propertyValue);\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (!invalid) {\r\n\t\t\t\t\t\t\t\t\t\t\t/* As per the CSS spec, wrap the value in parentheses. */\r\n\t\t\t\t\t\t\t\t\t\t\tData(element).transformCache[transformName] = \"(\" + propertyValue + \")\";\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Although the value is set on the transformCache object, return the newly-updated value for the calling code to process as normal. */\r\n\t\t\t\t\t\t\t\t\t\treturn Data(element).transformCache[transformName];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t})();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/*************\r\n\t\t\t\t\t Colors\r\n\t\t\t\t\t *************/\r\n\r\n\t\t\t\t\t/* Since Velocity only animates a single numeric value per property, color animation is achieved by hooking the individual RGBA components of CSS color properties.\r\n\t\t\t\t\t Accordingly, color values must be normalized (e.g. \"#ff0000\", \"red\", and \"rgb(255, 0, 0)\" ==> \"255 0 0 1\") so that their components can be injected/extracted by CSS.Hooks logic. */\r\n\t\t\t\t\tfor (var j = 0; j < CSS.Lists.colors.length; j++) {\r\n\t\t\t\t\t\t/* Wrap the dynamically generated normalization function in a new scope so that colorName's value is paired with its respective function.\r\n\t\t\t\t\t\t (Otherwise, all functions would take the final for loop's colorName.) */\r\n\t\t\t\t\t\t(function() {\r\n\t\t\t\t\t\t\tvar colorName = CSS.Lists.colors[j];\r\n\r\n\t\t\t\t\t\t\t/* Note: In IE<=8, which support rgb but not rgba, color properties are reverted to rgb by stripping off the alpha component. */\r\n\t\t\t\t\t\t\tCSS.Normalizations.registered[colorName] = function(type, element, propertyValue) {\r\n\t\t\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\t\t\treturn colorName;\r\n\t\t\t\t\t\t\t\t\t\t/* Convert all color values into the rgb format. (Old IE can return hex values and color names instead of rgb/rgba.) */\r\n\t\t\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\t\t\tvar extracted;\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* If the color is already in its hookable form (e.g. \"255 255 255 1\") due to having been previously extracted, skip extraction. */\r\n\t\t\t\t\t\t\t\t\t\tif (CSS.RegEx.wrappedValueAlreadyExtracted.test(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\t\t\textracted = propertyValue;\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\tvar converted,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tcolorNames = {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tblack: \"rgb(0, 0, 0)\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tblue: \"rgb(0, 0, 255)\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgray: \"rgb(128, 128, 128)\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tgreen: \"rgb(0, 128, 0)\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tred: \"rgb(255, 0, 0)\",\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\twhite: \"rgb(255, 255, 255)\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/* Convert color names to rgb. */\r\n\t\t\t\t\t\t\t\t\t\t\tif (/^[A-z]+$/i.test(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (colorNames[propertyValue] !== undefined) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tconverted = colorNames[propertyValue];\r\n\t\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t/* If an unmatched color name is provided, default to black. */\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tconverted = colorNames.black;\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t\t/* Convert hex values to rgb. */\r\n\t\t\t\t\t\t\t\t\t\t\t} else if (CSS.RegEx.isHex.test(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconverted = \"rgb(\" + CSS.Values.hexToRgb(propertyValue).join(\" \") + \")\";\r\n\t\t\t\t\t\t\t\t\t\t\t\t/* If the provided color doesn't match any of the accepted color formats, default to black. */\r\n\t\t\t\t\t\t\t\t\t\t\t} else if (!(/^rgba?\\(/i.test(propertyValue))) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tconverted = colorNames.black;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/* Remove the surrounding \"rgb/rgba()\" string then replace commas with spaces and strip\r\n\t\t\t\t\t\t\t\t\t\t\t repeated spaces (in case the value included spaces to begin with). */\r\n\t\t\t\t\t\t\t\t\t\t\textracted = (converted || propertyValue).toString().match(CSS.RegEx.valueUnwrap)[1].replace(/,(\\s+)?/g, \" \");\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* So long as this isn't <=IE8, add a fourth (alpha) component if it's missing and default it to 1 (visible). */\r\n\t\t\t\t\t\t\t\t\t\tif ((!IE || IE > 8) && extracted.split(\" \").length === 3) {\r\n\t\t\t\t\t\t\t\t\t\t\textracted += \" 1\";\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\treturn extracted;\r\n\t\t\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t\t\t/* If we have a pattern then it might already have the right values */\r\n\t\t\t\t\t\t\t\t\t\tif (/^rgb/.test(propertyValue)) {\r\n\t\t\t\t\t\t\t\t\t\t\treturn propertyValue;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* If this is IE<=8 and an alpha component exists, strip it off. */\r\n\t\t\t\t\t\t\t\t\t\tif (IE <= 8) {\r\n\t\t\t\t\t\t\t\t\t\t\tif (propertyValue.split(\" \").length === 4) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tpropertyValue = propertyValue.split(/\\s+/).slice(0, 3).join(\" \");\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t/* Otherwise, add a fourth (alpha) component if it's missing and default it to 1 (visible). */\r\n\t\t\t\t\t\t\t\t\t\t} else if (propertyValue.split(\" \").length === 3) {\r\n\t\t\t\t\t\t\t\t\t\t\tpropertyValue += \" 1\";\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Re-insert the browser-appropriate wrapper(\"rgb/rgba()\"), insert commas, and strip off decimal units\r\n\t\t\t\t\t\t\t\t\t\t on all values but the fourth (R, G, and B only accept whole numbers). */\r\n\t\t\t\t\t\t\t\t\t\treturn (IE <= 8 ? \"rgb\" : \"rgba\") + \"(\" + propertyValue.replace(/\\s+/g, \",\").replace(/\\.(\\d)+(?=,)/g, \"\") + \")\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t})();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/**************\r\n\t\t\t\t\t Dimensions\r\n\t\t\t\t\t **************/\r\n\t\t\t\t\tfunction augmentDimension(name, element, wantInner) {\r\n\t\t\t\t\t\tvar isBorderBox = CSS.getPropertyValue(element, \"boxSizing\").toString().toLowerCase() === \"border-box\";\r\n\r\n\t\t\t\t\t\tif (isBorderBox === (wantInner || false)) {\r\n\t\t\t\t\t\t\t/* in box-sizing mode, the CSS width / height accessors already give the outerWidth / outerHeight. */\r\n\t\t\t\t\t\t\tvar i,\r\n\t\t\t\t\t\t\t\t\tvalue,\r\n\t\t\t\t\t\t\t\t\taugment = 0,\r\n\t\t\t\t\t\t\t\t\tsides = name === \"width\" ? [\"Left\", \"Right\"] : [\"Top\", \"Bottom\"],\r\n\t\t\t\t\t\t\t\t\tfields = [\"padding\" + sides[0], \"padding\" + sides[1], \"border\" + sides[0] + \"Width\", \"border\" + sides[1] + \"Width\"];\r\n\r\n\t\t\t\t\t\t\tfor (i = 0; i < fields.length; i++) {\r\n\t\t\t\t\t\t\t\tvalue = parseFloat(CSS.getPropertyValue(element, fields[i]));\r\n\t\t\t\t\t\t\t\tif (!isNaN(value)) {\r\n\t\t\t\t\t\t\t\t\taugment += value;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\treturn wantInner ? -augment : augment;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\treturn 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tfunction getDimension(name, wantInner) {\r\n\t\t\t\t\t\treturn function(type, element, propertyValue) {\r\n\t\t\t\t\t\t\tswitch (type) {\r\n\t\t\t\t\t\t\t\tcase \"name\":\r\n\t\t\t\t\t\t\t\t\treturn name;\r\n\t\t\t\t\t\t\t\tcase \"extract\":\r\n\t\t\t\t\t\t\t\t\treturn parseFloat(propertyValue) + augmentDimension(name, element, wantInner);\r\n\t\t\t\t\t\t\t\tcase \"inject\":\r\n\t\t\t\t\t\t\t\t\treturn (parseFloat(propertyValue) - augmentDimension(name, element, wantInner)) + \"px\";\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t}\r\n\t\t\t\t\tCSS.Normalizations.registered.innerWidth = getDimension(\"width\", true);\r\n\t\t\t\t\tCSS.Normalizations.registered.innerHeight = getDimension(\"height\", true);\r\n\t\t\t\t\tCSS.Normalizations.registered.outerWidth = getDimension(\"width\");\r\n\t\t\t\t\tCSS.Normalizations.registered.outerHeight = getDimension(\"height\");\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/************************\r\n\t\t\t CSS Property Names\r\n\t\t\t ************************/\r\n\r\n\t\t\tNames: {\r\n\t\t\t\t/* Camelcase a property name into its JavaScript notation (e.g. \"background-color\" ==> \"backgroundColor\").\r\n\t\t\t\t Camelcasing is used to normalize property names between and across calls. */\r\n\t\t\t\tcamelCase: function(property) {\r\n\t\t\t\t\treturn property.replace(/-(\\w)/g, function(match, subMatch) {\r\n\t\t\t\t\t\treturn subMatch.toUpperCase();\r\n\t\t\t\t\t});\r\n\t\t\t\t},\r\n\t\t\t\t/* For SVG elements, some properties (namely, dimensional ones) are GET/SET via the element's HTML attributes (instead of via CSS styles). */\r\n\t\t\t\tSVGAttribute: function(property) {\r\n\t\t\t\t\tvar SVGAttributes = \"width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2\";\r\n\r\n\t\t\t\t\t/* Certain browsers require an SVG transform to be applied as an attribute. (Otherwise, application via CSS is preferable due to 3D support.) */\r\n\t\t\t\t\tif (IE || (Velocity.State.isAndroid && !Velocity.State.isChrome)) {\r\n\t\t\t\t\t\tSVGAttributes += \"|transform\";\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn new RegExp(\"^(\" + SVGAttributes + \")$\", \"i\").test(property);\r\n\t\t\t\t},\r\n\t\t\t\t/* Determine whether a property should be set with a vendor prefix. */\r\n\t\t\t\t/* If a prefixed version of the property exists, return it. Otherwise, return the original property name.\r\n\t\t\t\t If the property is not at all supported by the browser, return a false flag. */\r\n\t\t\t\tprefixCheck: function(property) {\r\n\t\t\t\t\t/* If this property has already been checked, return the cached value. */\r\n\t\t\t\t\tif (Velocity.State.prefixMatches[property]) {\r\n\t\t\t\t\t\treturn [Velocity.State.prefixMatches[property], true];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tvar vendors = [\"\", \"Webkit\", \"Moz\", \"ms\", \"O\"];\r\n\r\n\t\t\t\t\t\tfor (var i = 0, vendorsLength = vendors.length; i < vendorsLength; i++) {\r\n\t\t\t\t\t\t\tvar propertyPrefixed;\r\n\r\n\t\t\t\t\t\t\tif (i === 0) {\r\n\t\t\t\t\t\t\t\tpropertyPrefixed = property;\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t/* Capitalize the first letter of the property to conform to JavaScript vendor prefix notation (e.g. webkitFilter). */\r\n\t\t\t\t\t\t\t\tpropertyPrefixed = vendors[i] + property.replace(/^\\w/, function(match) {\r\n\t\t\t\t\t\t\t\t\treturn match.toUpperCase();\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Check if the browser supports this property as prefixed. */\r\n\t\t\t\t\t\t\tif (Type.isString(Velocity.State.prefixElement.style[propertyPrefixed])) {\r\n\t\t\t\t\t\t\t\t/* Cache the match. */\r\n\t\t\t\t\t\t\t\tVelocity.State.prefixMatches[property] = propertyPrefixed;\r\n\r\n\t\t\t\t\t\t\t\treturn [propertyPrefixed, true];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* If the browser doesn't support this property in any form, include a false flag so that the caller can decide how to proceed. */\r\n\t\t\t\t\t\treturn [property, false];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t},\r\n\t\t\t/************************\r\n\t\t\t CSS Property Values\r\n\t\t\t ************************/\r\n\r\n\t\t\tValues: {\r\n\t\t\t\t/* Hex to RGB conversion. Copyright Tim Down: http://stackoverflow.com/questions/5623838/rgb-to-hex-and-hex-to-rgb */\r\n\t\t\t\thexToRgb: function(hex) {\r\n\t\t\t\t\tvar shortformRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,\r\n\t\t\t\t\t\t\tlongformRegex = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i,\r\n\t\t\t\t\t\t\trgbParts;\r\n\r\n\t\t\t\t\thex = hex.replace(shortformRegex, function(m, r, g, b) {\r\n\t\t\t\t\t\treturn r + r + g + g + b + b;\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\trgbParts = longformRegex.exec(hex);\r\n\r\n\t\t\t\t\treturn rgbParts ? [parseInt(rgbParts[1], 16), parseInt(rgbParts[2], 16), parseInt(rgbParts[3], 16)] : [0, 0, 0];\r\n\t\t\t\t},\r\n\t\t\t\tisCSSNullValue: function(value) {\r\n\t\t\t\t\t/* The browser defaults CSS values that have not been set to either 0 or one of several possible null-value strings.\r\n\t\t\t\t\t Thus, we check for both falsiness and these special strings. */\r\n\t\t\t\t\t/* Null-value checking is performed to default the special strings to 0 (for the sake of tweening) or their hook\r\n\t\t\t\t\t templates as defined as CSS.Hooks (for the sake of hook injection/extraction). */\r\n\t\t\t\t\t/* Note: Chrome returns \"rgba(0, 0, 0, 0)\" for an undefined color whereas IE returns \"transparent\". */\r\n\t\t\t\t\treturn (!value || /^(none|auto|transparent|(rgba\\(0, ?0, ?0, ?0\\)))$/i.test(value));\r\n\t\t\t\t},\r\n\t\t\t\t/* Retrieve a property's default unit type. Used for assigning a unit type when one is not supplied by the user. */\r\n\t\t\t\tgetUnitType: function(property) {\r\n\t\t\t\t\tif (/^(rotate|skew)/i.test(property)) {\r\n\t\t\t\t\t\treturn \"deg\";\r\n\t\t\t\t\t} else if (/(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(property)) {\r\n\t\t\t\t\t\t/* The above properties are unitless. */\r\n\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* Default to px for all other properties. */\r\n\t\t\t\t\t\treturn \"px\";\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t/* HTML elements default to an associated display type when they're not set to display:none. */\r\n\t\t\t\t/* Note: This function is used for correctly setting the non-\"none\" display value in certain Velocity redirects, such as fadeIn/Out. */\r\n\t\t\t\tgetDisplayType: function(element) {\r\n\t\t\t\t\tvar tagName = element && element.tagName.toString().toLowerCase();\r\n\r\n\t\t\t\t\tif (/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(tagName)) {\r\n\t\t\t\t\t\treturn \"inline\";\r\n\t\t\t\t\t} else if (/^(li)$/i.test(tagName)) {\r\n\t\t\t\t\t\treturn \"list-item\";\r\n\t\t\t\t\t} else if (/^(tr)$/i.test(tagName)) {\r\n\t\t\t\t\t\treturn \"table-row\";\r\n\t\t\t\t\t} else if (/^(table)$/i.test(tagName)) {\r\n\t\t\t\t\t\treturn \"table\";\r\n\t\t\t\t\t} else if (/^(tbody)$/i.test(tagName)) {\r\n\t\t\t\t\t\treturn \"table-row-group\";\r\n\t\t\t\t\t\t/* Default to \"block\" when no match is found. */\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\treturn \"block\";\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t/* The class add/remove functions are used to temporarily apply a \"velocity-animating\" class to elements while they're animating. */\r\n\t\t\t\taddClass: function(element, className) {\r\n\t\t\t\t\tif (element) {\r\n\t\t\t\t\t\tif (element.classList) {\r\n\t\t\t\t\t\t\telement.classList.add(className);\r\n\t\t\t\t\t\t} else if (Type.isString(element.className)) {\r\n\t\t\t\t\t\t\t// Element.className is around 15% faster then set/getAttribute\r\n\t\t\t\t\t\t\telement.className += (element.className.length ? \" \" : \"\") + className;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// Work around for IE strict mode animating SVG - and anything else that doesn't behave correctly - the same way jQuery does it\r\n\t\t\t\t\t\t\tvar currentClass = element.getAttribute(IE <= 7 ? \"className\" : \"class\") || \"\";\r\n\r\n\t\t\t\t\t\t\telement.setAttribute(\"class\", currentClass + (currentClass ? \" \" : \"\") + className);\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\tremoveClass: function(element, className) {\r\n\t\t\t\t\tif (element) {\r\n\t\t\t\t\t\tif (element.classList) {\r\n\t\t\t\t\t\t\telement.classList.remove(className);\r\n\t\t\t\t\t\t} else if (Type.isString(element.className)) {\r\n\t\t\t\t\t\t\t// Element.className is around 15% faster then set/getAttribute\r\n\t\t\t\t\t\t\t// TODO: Need some jsperf tests on performance - can we get rid of the regex and maybe use split / array manipulation?\r\n\t\t\t\t\t\t\telement.className = element.className.toString().replace(new RegExp(\"(^|\\\\s)\" + className.split(\" \").join(\"|\") + \"(\\\\s|$)\", \"gi\"), \" \");\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t// Work around for IE strict mode animating SVG - and anything else that doesn't behave correctly - the same way jQuery does it\r\n\t\t\t\t\t\t\tvar currentClass = element.getAttribute(IE <= 7 ? \"className\" : \"class\") || \"\";\r\n\r\n\t\t\t\t\t\t\telement.setAttribute(\"class\", currentClass.replace(new RegExp(\"(^|\\s)\" + className.split(\" \").join(\"|\") + \"(\\s|$)\", \"gi\"), \" \"));\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\t/****************************\r\n\t\t\t Style Getting & Setting\r\n\t\t\t ****************************/\r\n\r\n\t\t\t/* The singular getPropertyValue, which routes the logic for all normalizations, hooks, and standard CSS properties. */\r\n\t\t\tgetPropertyValue: function(element, property, rootPropertyValue, forceStyleLookup) {\r\n\t\t\t\t/* Get an element's computed property value. */\r\n\t\t\t\t/* Note: Retrieving the value of a CSS property cannot simply be performed by checking an element's\r\n\t\t\t\t style attribute (which only reflects user-defined values). Instead, the browser must be queried for a property's\r\n\t\t\t\t *computed* value. You can read more about getComputedStyle here: https://developer.mozilla.org/en/docs/Web/API/window.getComputedStyle */\r\n\t\t\t\tfunction computePropertyValue(element, property) {\r\n\t\t\t\t\t/* When box-sizing isn't set to border-box, height and width style values are incorrectly computed when an\r\n\t\t\t\t\t element's scrollbars are visible (which expands the element's dimensions). Thus, we defer to the more accurate\r\n\t\t\t\t\t offsetHeight/Width property, which includes the total dimensions for interior, border, padding, and scrollbar.\r\n\t\t\t\t\t We subtract border and padding to get the sum of interior + scrollbar. */\r\n\t\t\t\t\tvar computedValue = 0;\r\n\r\n\t\t\t\t\t/* IE<=8 doesn't support window.getComputedStyle, thus we defer to jQuery, which has an extensive array\r\n\t\t\t\t\t of hacks to accurately retrieve IE8 property values. Re-implementing that logic here is not worth bloating the\r\n\t\t\t\t\t codebase for a dying browser. The performance repercussions of using jQuery here are minimal since\r\n\t\t\t\t\t Velocity is optimized to rarely (and sometimes never) query the DOM. Further, the $.css() codepath isn't that slow. */\r\n\t\t\t\t\tif (IE <= 8) {\r\n\t\t\t\t\t\tcomputedValue = $.css(element, property); /* GET */\r\n\t\t\t\t\t\t/* All other browsers support getComputedStyle. The returned live object reference is cached onto its\r\n\t\t\t\t\t\t associated element so that it does not need to be refetched upon every GET. */\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* Browsers do not return height and width values for elements that are set to display:\"none\". Thus, we temporarily\r\n\t\t\t\t\t\t toggle display to the element type's default value. */\r\n\t\t\t\t\t\tvar toggleDisplay = false;\r\n\r\n\t\t\t\t\t\tif (/^(width|height)$/.test(property) && CSS.getPropertyValue(element, \"display\") === 0) {\r\n\t\t\t\t\t\t\ttoggleDisplay = true;\r\n\t\t\t\t\t\t\tCSS.setPropertyValue(element, \"display\", CSS.Values.getDisplayType(element));\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tvar revertDisplay = function() {\r\n\t\t\t\t\t\t\tif (toggleDisplay) {\r\n\t\t\t\t\t\t\t\tCSS.setPropertyValue(element, \"display\", \"none\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\tif (!forceStyleLookup) {\r\n\t\t\t\t\t\t\tif (property === \"height\" && CSS.getPropertyValue(element, \"boxSizing\").toString().toLowerCase() !== \"border-box\") {\r\n\t\t\t\t\t\t\t\tvar contentBoxHeight = element.offsetHeight - (parseFloat(CSS.getPropertyValue(element, \"borderTopWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"borderBottomWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingTop\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingBottom\")) || 0);\r\n\t\t\t\t\t\t\t\trevertDisplay();\r\n\r\n\t\t\t\t\t\t\t\treturn contentBoxHeight;\r\n\t\t\t\t\t\t\t} else if (property === \"width\" && CSS.getPropertyValue(element, \"boxSizing\").toString().toLowerCase() !== \"border-box\") {\r\n\t\t\t\t\t\t\t\tvar contentBoxWidth = element.offsetWidth - (parseFloat(CSS.getPropertyValue(element, \"borderLeftWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"borderRightWidth\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingLeft\")) || 0) - (parseFloat(CSS.getPropertyValue(element, \"paddingRight\")) || 0);\r\n\t\t\t\t\t\t\t\trevertDisplay();\r\n\r\n\t\t\t\t\t\t\t\treturn contentBoxWidth;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tvar computedStyle;\r\n\r\n\t\t\t\t\t\t/* For elements that Velocity hasn't been called on directly (e.g. when Velocity queries the DOM on behalf\r\n\t\t\t\t\t\t of a parent of an element its animating), perform a direct getComputedStyle lookup since the object isn't cached. */\r\n\t\t\t\t\t\tif (Data(element) === undefined) {\r\n\t\t\t\t\t\t\tcomputedStyle = window.getComputedStyle(element, null); /* GET */\r\n\t\t\t\t\t\t\t/* If the computedStyle object has yet to be cached, do so now. */\r\n\t\t\t\t\t\t} else if (!Data(element).computedStyle) {\r\n\t\t\t\t\t\t\tcomputedStyle = Data(element).computedStyle = window.getComputedStyle(element, null); /* GET */\r\n\t\t\t\t\t\t\t/* If computedStyle is cached, use it. */\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcomputedStyle = Data(element).computedStyle;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* IE and Firefox do not return a value for the generic borderColor -- they only return individual values for each border side's color.\r\n\t\t\t\t\t\t Also, in all browsers, when border colors aren't all the same, a compound value is returned that Velocity isn't setup to parse.\r\n\t\t\t\t\t\t So, as a polyfill for querying individual border side colors, we just return the top border's color and animate all borders from that value. */\r\n\t\t\t\t\t\tif (property === \"borderColor\") {\r\n\t\t\t\t\t\t\tproperty = \"borderTopColor\";\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* IE9 has a bug in which the \"filter\" property must be accessed from computedStyle using the getPropertyValue method\r\n\t\t\t\t\t\t instead of a direct property lookup. The getPropertyValue method is slower than a direct lookup, which is why we avoid it by default. */\r\n\t\t\t\t\t\tif (IE === 9 && property === \"filter\") {\r\n\t\t\t\t\t\t\tcomputedValue = computedStyle.getPropertyValue(property); /* GET */\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcomputedValue = computedStyle[property];\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Fall back to the property's style value (if defined) when computedValue returns nothing,\r\n\t\t\t\t\t\t which can happen when the element hasn't been painted. */\r\n\t\t\t\t\t\tif (computedValue === \"\" || computedValue === null) {\r\n\t\t\t\t\t\t\tcomputedValue = element.style[property];\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\trevertDisplay();\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* For top, right, bottom, and left (TRBL) values that are set to \"auto\" on elements of \"fixed\" or \"absolute\" position,\r\n\t\t\t\t\t defer to jQuery for converting \"auto\" to a numeric value. (For elements with a \"static\" or \"relative\" position, \"auto\" has the same\r\n\t\t\t\t\t effect as being set to 0, so no conversion is necessary.) */\r\n\t\t\t\t\t/* An example of why numeric conversion is necessary: When an element with \"position:absolute\" has an untouched \"left\"\r\n\t\t\t\t\t property, which reverts to \"auto\", left's value is 0 relative to its parent element, but is often non-zero relative\r\n\t\t\t\t\t to its *containing* (not parent) element, which is the nearest \"position:relative\" ancestor or the viewport (and always the viewport in the case of \"position:fixed\"). */\r\n\t\t\t\t\tif (computedValue === \"auto\" && /^(top|right|bottom|left)$/i.test(property)) {\r\n\t\t\t\t\t\tvar position = computePropertyValue(element, \"position\"); /* GET */\r\n\r\n\t\t\t\t\t\t/* For absolute positioning, jQuery's $.position() only returns values for top and left;\r\n\t\t\t\t\t\t right and bottom will have their \"auto\" value reverted to 0. */\r\n\t\t\t\t\t\t/* Note: A jQuery object must be created here since jQuery doesn't have a low-level alias for $.position().\r\n\t\t\t\t\t\t Not a big deal since we're currently in a GET batch anyway. */\r\n\t\t\t\t\t\tif (position === \"fixed\" || (position === \"absolute\" && /top|left/i.test(property))) {\r\n\t\t\t\t\t\t\t/* Note: jQuery strips the pixel unit from its returned values; we re-add it here to conform with computePropertyValue's behavior. */\r\n\t\t\t\t\t\t\tcomputedValue = $(element).position()[property] + \"px\"; /* GET */\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\treturn computedValue;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tvar propertyValue;\r\n\r\n\t\t\t\t/* If this is a hooked property (e.g. \"clipLeft\" instead of the root property of \"clip\"),\r\n\t\t\t\t extract the hook's value from a normalized rootPropertyValue using CSS.Hooks.extractValue(). */\r\n\t\t\t\tif (CSS.Hooks.registered[property]) {\r\n\t\t\t\t\tvar hook = property,\r\n\t\t\t\t\t\t\thookRoot = CSS.Hooks.getRoot(hook);\r\n\r\n\t\t\t\t\t/* If a cached rootPropertyValue wasn't passed in (which Velocity always attempts to do in order to avoid requerying the DOM),\r\n\t\t\t\t\t query the DOM for the root property's value. */\r\n\t\t\t\t\tif (rootPropertyValue === undefined) {\r\n\t\t\t\t\t\t/* Since the browser is now being directly queried, use the official post-prefixing property name for this lookup. */\r\n\t\t\t\t\t\trootPropertyValue = CSS.getPropertyValue(element, CSS.Names.prefixCheck(hookRoot)[0]); /* GET */\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* If this root has a normalization registered, peform the associated normalization extraction. */\r\n\t\t\t\t\tif (CSS.Normalizations.registered[hookRoot]) {\r\n\t\t\t\t\t\trootPropertyValue = CSS.Normalizations.registered[hookRoot](\"extract\", element, rootPropertyValue);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Extract the hook's value. */\r\n\t\t\t\t\tpropertyValue = CSS.Hooks.extractValue(hook, rootPropertyValue);\r\n\r\n\t\t\t\t\t/* If this is a normalized property (e.g. \"opacity\" becomes \"filter\" in <=IE8) or \"translateX\" becomes \"transform\"),\r\n\t\t\t\t\t normalize the property's name and value, and handle the special case of transforms. */\r\n\t\t\t\t\t/* Note: Normalizing a property is mutually exclusive from hooking a property since hook-extracted values are strictly\r\n\t\t\t\t\t numerical and therefore do not require normalization extraction. */\r\n\t\t\t\t} else if (CSS.Normalizations.registered[property]) {\r\n\t\t\t\t\tvar normalizedPropertyName,\r\n\t\t\t\t\t\t\tnormalizedPropertyValue;\r\n\r\n\t\t\t\t\tnormalizedPropertyName = CSS.Normalizations.registered[property](\"name\", element);\r\n\r\n\t\t\t\t\t/* Transform values are calculated via normalization extraction (see below), which checks against the element's transformCache.\r\n\t\t\t\t\t At no point do transform GETs ever actually query the DOM; initial stylesheet values are never processed.\r\n\t\t\t\t\t This is because parsing 3D transform matrices is not always accurate and would bloat our codebase;\r\n\t\t\t\t\t thus, normalization extraction defaults initial transform values to their zero-values (e.g. 1 for scaleX and 0 for translateX). */\r\n\t\t\t\t\tif (normalizedPropertyName !== \"transform\") {\r\n\t\t\t\t\t\tnormalizedPropertyValue = computePropertyValue(element, CSS.Names.prefixCheck(normalizedPropertyName)[0]); /* GET */\r\n\r\n\t\t\t\t\t\t/* If the value is a CSS null-value and this property has a hook template, use that zero-value template so that hooks can be extracted from it. */\r\n\t\t\t\t\t\tif (CSS.Values.isCSSNullValue(normalizedPropertyValue) && CSS.Hooks.templates[property]) {\r\n\t\t\t\t\t\t\tnormalizedPropertyValue = CSS.Hooks.templates[property][1];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tpropertyValue = CSS.Normalizations.registered[property](\"extract\", element, normalizedPropertyValue);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* If a (numeric) value wasn't produced via hook extraction or normalization, query the DOM. */\r\n\t\t\t\tif (!/^[\\d-]/.test(propertyValue)) {\r\n\t\t\t\t\t/* For SVG elements, dimensional properties (which SVGAttribute() detects) are tweened via\r\n\t\t\t\t\t their HTML attribute values instead of their CSS style values. */\r\n\t\t\t\t\tvar data = Data(element);\r\n\r\n\t\t\t\t\tif (data && data.isSVG && CSS.Names.SVGAttribute(property)) {\r\n\t\t\t\t\t\t/* Since the height/width attribute values must be set manually, they don't reflect computed values.\r\n\t\t\t\t\t\t Thus, we use use getBBox() to ensure we always get values for elements with undefined height/width attributes. */\r\n\t\t\t\t\t\tif (/^(height|width)$/i.test(property)) {\r\n\t\t\t\t\t\t\t/* Firefox throws an error if .getBBox() is called on an SVG that isn't attached to the DOM. */\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\tpropertyValue = element.getBBox()[property];\r\n\t\t\t\t\t\t\t} catch (error) {\r\n\t\t\t\t\t\t\t\tpropertyValue = 0;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/* Otherwise, access the attribute value directly. */\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tpropertyValue = element.getAttribute(property);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tpropertyValue = computePropertyValue(element, CSS.Names.prefixCheck(property)[0]); /* GET */\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* Since property lookups are for animation purposes (which entails computing the numeric delta between start and end values),\r\n\t\t\t\t convert CSS null-values to an integer of value 0. */\r\n\t\t\t\tif (CSS.Values.isCSSNullValue(propertyValue)) {\r\n\t\t\t\t\tpropertyValue = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (Velocity.debug >= 2) {\r\n\t\t\t\t\tconsole.log(\"Get \" + property + \": \" + propertyValue);\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn propertyValue;\r\n\t\t\t},\r\n\t\t\t/* The singular setPropertyValue, which routes the logic for all normalizations, hooks, and standard CSS properties. */\r\n\t\t\tsetPropertyValue: function(element, property, propertyValue, rootPropertyValue, scrollData) {\r\n\t\t\t\tvar propertyName = property;\r\n\r\n\t\t\t\t/* In order to be subjected to call options and element queueing, scroll animation is routed through Velocity as if it were a standard CSS property. */\r\n\t\t\t\tif (property === \"scroll\") {\r\n\t\t\t\t\t/* If a container option is present, scroll the container instead of the browser window. */\r\n\t\t\t\t\tif (scrollData.container) {\r\n\t\t\t\t\t\tscrollData.container[\"scroll\" + scrollData.direction] = propertyValue;\r\n\t\t\t\t\t\t/* Otherwise, Velocity defaults to scrolling the browser window. */\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tif (scrollData.direction === \"Left\") {\r\n\t\t\t\t\t\t\twindow.scrollTo(propertyValue, scrollData.alternateValue);\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\twindow.scrollTo(scrollData.alternateValue, propertyValue);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\t/* Transforms (translateX, rotateZ, etc.) are applied to a per-element transformCache object, which is manually flushed via flushTransformCache().\r\n\t\t\t\t\t Thus, for now, we merely cache transforms being SET. */\r\n\t\t\t\t\tif (CSS.Normalizations.registered[property] && CSS.Normalizations.registered[property](\"name\", element) === \"transform\") {\r\n\t\t\t\t\t\t/* Perform a normalization injection. */\r\n\t\t\t\t\t\t/* Note: The normalization logic handles the transformCache updating. */\r\n\t\t\t\t\t\tCSS.Normalizations.registered[property](\"inject\", element, propertyValue);\r\n\r\n\t\t\t\t\t\tpropertyName = \"transform\";\r\n\t\t\t\t\t\tpropertyValue = Data(element).transformCache[property];\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t/* Inject hooks. */\r\n\t\t\t\t\t\tif (CSS.Hooks.registered[property]) {\r\n\t\t\t\t\t\t\tvar hookName = property,\r\n\t\t\t\t\t\t\t\t\thookRoot = CSS.Hooks.getRoot(property);\r\n\r\n\t\t\t\t\t\t\t/* If a cached rootPropertyValue was not provided, query the DOM for the hookRoot's current value. */\r\n\t\t\t\t\t\t\trootPropertyValue = rootPropertyValue || CSS.getPropertyValue(element, hookRoot); /* GET */\r\n\r\n\t\t\t\t\t\t\tpropertyValue = CSS.Hooks.injectValue(hookName, propertyValue, rootPropertyValue);\r\n\t\t\t\t\t\t\tproperty = hookRoot;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Normalize names and values. */\r\n\t\t\t\t\t\tif (CSS.Normalizations.registered[property]) {\r\n\t\t\t\t\t\t\tpropertyValue = CSS.Normalizations.registered[property](\"inject\", element, propertyValue);\r\n\t\t\t\t\t\t\tproperty = CSS.Normalizations.registered[property](\"name\", element);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Assign the appropriate vendor prefix before performing an official style update. */\r\n\t\t\t\t\t\tpropertyName = CSS.Names.prefixCheck(property)[0];\r\n\r\n\t\t\t\t\t\t/* A try/catch is used for IE<=8, which throws an error when \"invalid\" CSS values are set, e.g. a negative width.\r\n\t\t\t\t\t\t Try/catch is avoided for other browsers since it incurs a performance overhead. */\r\n\t\t\t\t\t\tif (IE <= 8) {\r\n\t\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\t\telement.style[propertyName] = propertyValue;\r\n\t\t\t\t\t\t\t} catch (error) {\r\n\t\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\"Browser does not support [\" + propertyValue + \"] for [\" + propertyName + \"]\");\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/* SVG elements have their dimensional properties (width, height, x, y, cx, etc.) applied directly as attributes instead of as styles. */\r\n\t\t\t\t\t\t\t/* Note: IE8 does not support SVG elements, so it's okay that we skip it for SVG animation. */\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tvar data = Data(element);\r\n\r\n\t\t\t\t\t\t\tif (data && data.isSVG && CSS.Names.SVGAttribute(property)) {\r\n\t\t\t\t\t\t\t\t/* Note: For SVG attributes, vendor-prefixed property names are never used. */\r\n\t\t\t\t\t\t\t\t/* Note: Not all CSS properties can be animated via attributes, but the browser won't throw an error for unsupported properties. */\r\n\t\t\t\t\t\t\t\telement.setAttribute(property, propertyValue);\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\telement.style[propertyName] = propertyValue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (Velocity.debug >= 2) {\r\n\t\t\t\t\t\t\tconsole.log(\"Set \" + property + \" (\" + propertyName + \"): \" + propertyValue);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* Return the normalized property name and value in case the caller wants to know how these values were modified before being applied to the DOM. */\r\n\t\t\t\treturn [propertyName, propertyValue];\r\n\t\t\t},\r\n\t\t\t/* To increase performance by batching transform updates into a single SET, transforms are not directly applied to an element until flushTransformCache() is called. */\r\n\t\t\t/* Note: Velocity applies transform properties in the same order that they are chronogically introduced to the element's CSS styles. */\r\n\t\t\tflushTransformCache: function(element) {\r\n\t\t\t\tvar transformString = \"\",\r\n\t\t\t\t\t\tdata = Data(element);\r\n\r\n\t\t\t\t/* Certain browsers require that SVG transforms be applied as an attribute. However, the SVG transform attribute takes a modified version of CSS's transform string\r\n\t\t\t\t (units are dropped and, except for skewX/Y, subproperties are merged into their master property -- e.g. scaleX and scaleY are merged into scale(X Y). */\r\n\t\t\t\tif ((IE || (Velocity.State.isAndroid && !Velocity.State.isChrome)) && data && data.isSVG) {\r\n\t\t\t\t\t/* Since transform values are stored in their parentheses-wrapped form, we use a helper function to strip out their numeric values.\r\n\t\t\t\t\t Further, SVG transform properties only take unitless (representing pixels) values, so it's okay that parseFloat() strips the unit suffixed to the float value. */\r\n\t\t\t\t\tvar getTransformFloat = function(transformProperty) {\r\n\t\t\t\t\t\treturn parseFloat(CSS.getPropertyValue(element, transformProperty));\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t/* Create an object to organize all the transforms that we'll apply to the SVG element. To keep the logic simple,\r\n\t\t\t\t\t we process *all* transform properties -- even those that may not be explicitly applied (since they default to their zero-values anyway). */\r\n\t\t\t\t\tvar SVGTransforms = {\r\n\t\t\t\t\t\ttranslate: [getTransformFloat(\"translateX\"), getTransformFloat(\"translateY\")],\r\n\t\t\t\t\t\tskewX: [getTransformFloat(\"skewX\")], skewY: [getTransformFloat(\"skewY\")],\r\n\t\t\t\t\t\t/* If the scale property is set (non-1), use that value for the scaleX and scaleY values\r\n\t\t\t\t\t\t (this behavior mimics the result of animating all these properties at once on HTML elements). */\r\n\t\t\t\t\t\tscale: getTransformFloat(\"scale\") !== 1 ? [getTransformFloat(\"scale\"), getTransformFloat(\"scale\")] : [getTransformFloat(\"scaleX\"), getTransformFloat(\"scaleY\")],\r\n\t\t\t\t\t\t/* Note: SVG's rotate transform takes three values: rotation degrees followed by the X and Y values\r\n\t\t\t\t\t\t defining the rotation's origin point. We ignore the origin values (default them to 0). */\r\n\t\t\t\t\t\trotate: [getTransformFloat(\"rotateZ\"), 0, 0]\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t/* Iterate through the transform properties in the user-defined property map order.\r\n\t\t\t\t\t (This mimics the behavior of non-SVG transform animation.) */\r\n\t\t\t\t\t$.each(Data(element).transformCache, function(transformName) {\r\n\t\t\t\t\t\t/* Except for with skewX/Y, revert the axis-specific transform subproperties to their axis-free master\r\n\t\t\t\t\t\t properties so that they match up with SVG's accepted transform properties. */\r\n\t\t\t\t\t\tif (/^translate/i.test(transformName)) {\r\n\t\t\t\t\t\t\ttransformName = \"translate\";\r\n\t\t\t\t\t\t} else if (/^scale/i.test(transformName)) {\r\n\t\t\t\t\t\t\ttransformName = \"scale\";\r\n\t\t\t\t\t\t} else if (/^rotate/i.test(transformName)) {\r\n\t\t\t\t\t\t\ttransformName = \"rotate\";\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Check that we haven't yet deleted the property from the SVGTransforms container. */\r\n\t\t\t\t\t\tif (SVGTransforms[transformName]) {\r\n\t\t\t\t\t\t\t/* Append the transform property in the SVG-supported transform format. As per the spec, surround the space-delimited values in parentheses. */\r\n\t\t\t\t\t\t\ttransformString += transformName + \"(\" + SVGTransforms[transformName].join(\" \") + \")\" + \" \";\r\n\r\n\t\t\t\t\t\t\t/* After processing an SVG transform property, delete it from the SVGTransforms container so we don't\r\n\t\t\t\t\t\t\t re-insert the same master property if we encounter another one of its axis-specific properties. */\r\n\t\t\t\t\t\t\tdelete SVGTransforms[transformName];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar transformValue,\r\n\t\t\t\t\t\t\tperspective;\r\n\r\n\t\t\t\t\t/* Transform properties are stored as members of the transformCache object. Concatenate all the members into a string. */\r\n\t\t\t\t\t$.each(Data(element).transformCache, function(transformName) {\r\n\t\t\t\t\t\ttransformValue = Data(element).transformCache[transformName];\r\n\r\n\t\t\t\t\t\t/* Transform's perspective subproperty must be set first in order to take effect. Store it temporarily. */\r\n\t\t\t\t\t\tif (transformName === \"transformPerspective\") {\r\n\t\t\t\t\t\t\tperspective = transformValue;\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* IE9 only supports one rotation type, rotateZ, which it refers to as \"rotate\". */\r\n\t\t\t\t\t\tif (IE === 9 && transformName === \"rotateZ\") {\r\n\t\t\t\t\t\t\ttransformName = \"rotate\";\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\ttransformString += transformName + transformValue + \" \";\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* If present, set the perspective subproperty first. */\r\n\t\t\t\t\tif (perspective) {\r\n\t\t\t\t\t\ttransformString = \"perspective\" + perspective + \" \" + transformString;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tCSS.setPropertyValue(element, \"transform\", transformString);\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t/* Register hooks and normalizations. */\r\n\t\tCSS.Hooks.register();\r\n\t\tCSS.Normalizations.register();\r\n\r\n\t\t/* Allow hook setting in the same fashion as jQuery's $.css(). */\r\n\t\tVelocity.hook = function(elements, arg2, arg3) {\r\n\t\t\tvar value;\r\n\r\n\t\t\telements = sanitizeElements(elements);\r\n\r\n\t\t\t$.each(elements, function(i, element) {\r\n\t\t\t\t/* Initialize Velocity's per-element data cache if this element hasn't previously been animated. */\r\n\t\t\t\tif (Data(element) === undefined) {\r\n\t\t\t\t\tVelocity.init(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* Get property value. If an element set was passed in, only return the value for the first element. */\r\n\t\t\t\tif (arg3 === undefined) {\r\n\t\t\t\t\tif (value === undefined) {\r\n\t\t\t\t\t\tvalue = CSS.getPropertyValue(element, arg2);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t/* Set property value. */\r\n\t\t\t\t} else {\r\n\t\t\t\t\t/* sPV returns an array of the normalized propertyName/propertyValue pair used to update the DOM. */\r\n\t\t\t\t\tvar adjustedSet = CSS.setPropertyValue(element, arg2, arg3);\r\n\r\n\t\t\t\t\t/* Transform properties don't automatically set. They have to be flushed to the DOM. */\r\n\t\t\t\t\tif (adjustedSet[0] === \"transform\") {\r\n\t\t\t\t\t\tVelocity.CSS.flushTransformCache(element);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tvalue = adjustedSet;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\treturn value;\r\n\t\t};\r\n\r\n\t\t/*****************\r\n\t\t Animation\r\n\t\t *****************/\r\n\r\n\t\tvar animate = function() {\r\n\t\t\tvar opts;\r\n\r\n\t\t\t/******************\r\n\t\t\t Call Chain\r\n\t\t\t ******************/\r\n\r\n\t\t\t/* Logic for determining what to return to the call stack when exiting out of Velocity. */\r\n\t\t\tfunction getChain() {\r\n\t\t\t\t/* If we are using the utility function, attempt to return this call's promise. If no promise library was detected,\r\n\t\t\t\t default to null instead of returning the targeted elements so that utility function's return value is standardized. */\r\n\t\t\t\tif (isUtility) {\r\n\t\t\t\t\treturn promiseData.promise || null;\r\n\t\t\t\t\t/* Otherwise, if we're using $.fn, return the jQuery-/Zepto-wrapped element set. */\r\n\t\t\t\t} else {\r\n\t\t\t\t\treturn elementsWrapped;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/*************************\r\n\t\t\t Arguments Assignment\r\n\t\t\t *************************/\r\n\r\n\t\t\t/* To allow for expressive CoffeeScript code, Velocity supports an alternative syntax in which \"elements\" (or \"e\"), \"properties\" (or \"p\"), and \"options\" (or \"o\")\r\n\t\t\t objects are defined on a container object that's passed in as Velocity's sole argument. */\r\n\t\t\t/* Note: Some browsers automatically populate arguments with a \"properties\" object. We detect it by checking for its default \"names\" property. */\r\n\t\t\tvar syntacticSugar = (arguments[0] && (arguments[0].p || (($.isPlainObject(arguments[0].properties) && !arguments[0].properties.names) || Type.isString(arguments[0].properties)))),\r\n\t\t\t\t\t/* Whether Velocity was called via the utility function (as opposed to on a jQuery/Zepto object). */\r\n\t\t\t\t\tisUtility,\r\n\t\t\t\t\t/* When Velocity is called via the utility function ($.Velocity()/Velocity()), elements are explicitly\r\n\t\t\t\t\t passed in as the first parameter. Thus, argument positioning varies. We normalize them here. */\r\n\t\t\t\t\telementsWrapped,\r\n\t\t\t\t\targumentIndex;\r\n\r\n\t\t\tvar elements,\r\n\t\t\t\t\tpropertiesMap,\r\n\t\t\t\t\toptions;\r\n\r\n\t\t\t/* Detect jQuery/Zepto elements being animated via the $.fn method. */\r\n\t\t\tif (Type.isWrapped(this)) {\r\n\t\t\t\tisUtility = false;\r\n\r\n\t\t\t\targumentIndex = 0;\r\n\t\t\t\telements = this;\r\n\t\t\t\telementsWrapped = this;\r\n\t\t\t\t/* Otherwise, raw elements are being animated via the utility function. */\r\n\t\t\t} else {\r\n\t\t\t\tisUtility = true;\r\n\r\n\t\t\t\targumentIndex = 1;\r\n\t\t\t\telements = syntacticSugar ? (arguments[0].elements || arguments[0].e) : arguments[0];\r\n\t\t\t}\r\n\r\n\t\t\t/***************\r\n\t\t\t Promises\r\n\t\t\t ***************/\r\n\r\n\t\t\tvar promiseData = {\r\n\t\t\t\tpromise: null,\r\n\t\t\t\tresolver: null,\r\n\t\t\t\trejecter: null\r\n\t\t\t};\r\n\r\n\t\t\t/* If this call was made via the utility function (which is the default method of invocation when jQuery/Zepto are not being used), and if\r\n\t\t\t promise support was detected, create a promise object for this call and store references to its resolver and rejecter methods. The resolve\r\n\t\t\t method is used when a call completes naturally or is prematurely stopped by the user. In both cases, completeCall() handles the associated\r\n\t\t\t call cleanup and promise resolving logic. The reject method is used when an invalid set of arguments is passed into a Velocity call. */\r\n\t\t\t/* Note: Velocity employs a call-based queueing architecture, which means that stopping an animating element actually stops the full call that\r\n\t\t\t triggered it -- not that one element exclusively. Similarly, there is one promise per call, and all elements targeted by a Velocity call are\r\n\t\t\t grouped together for the purposes of resolving and rejecting a promise. */\r\n\t\t\tif (isUtility && Velocity.Promise) {\r\n\t\t\t\tpromiseData.promise = new Velocity.Promise(function(resolve, reject) {\r\n\t\t\t\t\tpromiseData.resolver = resolve;\r\n\t\t\t\t\tpromiseData.rejecter = reject;\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\tif (syntacticSugar) {\r\n\t\t\t\tpropertiesMap = arguments[0].properties || arguments[0].p;\r\n\t\t\t\toptions = arguments[0].options || arguments[0].o;\r\n\t\t\t} else {\r\n\t\t\t\tpropertiesMap = arguments[argumentIndex];\r\n\t\t\t\toptions = arguments[argumentIndex + 1];\r\n\t\t\t}\r\n\r\n\t\t\telements = sanitizeElements(elements);\r\n\r\n\t\t\tif (!elements) {\r\n\t\t\t\tif (promiseData.promise) {\r\n\t\t\t\t\tif (!propertiesMap || !options || options.promiseRejectEmpty !== false) {\r\n\t\t\t\t\t\tpromiseData.rejecter();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tpromiseData.resolver();\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\r\n\t\t\t/* The length of the element set (in the form of a nodeList or an array of elements) is defaulted to 1 in case a\r\n\t\t\t single raw DOM element is passed in (which doesn't contain a length property). */\r\n\t\t\tvar elementsLength = elements.length,\r\n\t\t\t\t\telementsIndex = 0;\r\n\r\n\t\t\t/***************************\r\n\t\t\t Argument Overloading\r\n\t\t\t ***************************/\r\n\r\n\t\t\t/* Support is included for jQuery's argument overloading: $.animate(propertyMap [, duration] [, easing] [, complete]).\r\n\t\t\t Overloading is detected by checking for the absence of an object being passed into options. */\r\n\t\t\t/* Note: The stop/finish/pause/resume actions do not accept animation options, and are therefore excluded from this check. */\r\n\t\t\tif (!/^(stop|finish|finishAll|pause|resume)$/i.test(propertiesMap) && !$.isPlainObject(options)) {\r\n\t\t\t\t/* The utility function shifts all arguments one position to the right, so we adjust for that offset. */\r\n\t\t\t\tvar startingArgumentPosition = argumentIndex + 1;\r\n\r\n\t\t\t\toptions = {};\r\n\r\n\t\t\t\t/* Iterate through all options arguments */\r\n\t\t\t\tfor (var i = startingArgumentPosition; i < arguments.length; i++) {\r\n\t\t\t\t\t/* Treat a number as a duration. Parse it out. */\r\n\t\t\t\t\t/* Note: The following RegEx will return true if passed an array with a number as its first item.\r\n\t\t\t\t\t Thus, arrays are skipped from this check. */\r\n\t\t\t\t\tif (!Type.isArray(arguments[i]) && (/^(fast|normal|slow)$/i.test(arguments[i]) || /^\\d/.test(arguments[i]))) {\r\n\t\t\t\t\t\toptions.duration = arguments[i];\r\n\t\t\t\t\t\t/* Treat strings and arrays as easings. */\r\n\t\t\t\t\t} else if (Type.isString(arguments[i]) || Type.isArray(arguments[i])) {\r\n\t\t\t\t\t\toptions.easing = arguments[i];\r\n\t\t\t\t\t\t/* Treat a function as a complete callback. */\r\n\t\t\t\t\t} else if (Type.isFunction(arguments[i])) {\r\n\t\t\t\t\t\toptions.complete = arguments[i];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/*********************\r\n\t\t\t Action Detection\r\n\t\t\t *********************/\r\n\r\n\t\t\t/* Velocity's behavior is categorized into \"actions\": Elements can either be specially scrolled into view,\r\n\t\t\t or they can be started, stopped, paused, resumed, or reversed . If a literal or referenced properties map is passed in as Velocity's\r\n\t\t\t first argument, the associated action is \"start\". Alternatively, \"scroll\", \"reverse\", \"pause\", \"resume\" or \"stop\" can be passed in \r\n\t\t\t instead of a properties map. */\r\n\t\t\tvar action;\r\n\r\n\t\t\tswitch (propertiesMap) {\r\n\t\t\t\tcase \"scroll\":\r\n\t\t\t\t\taction = \"scroll\";\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tcase \"reverse\":\r\n\t\t\t\t\taction = \"reverse\";\r\n\t\t\t\t\tbreak;\r\n\r\n\t\t\t\tcase \"pause\":\r\n\r\n\t\t\t\t\t/*******************\r\n\t\t\t\t\t Action: Pause\r\n\t\t\t\t\t *******************/\r\n\r\n\t\t\t\t\tvar currentTime = (new Date()).getTime();\r\n\r\n\t\t\t\t\t/* Handle delay timers */\r\n\t\t\t\t\t$.each(elements, function(i, element) {\r\n\t\t\t\t\t\tpauseDelayOnElement(element, currentTime);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* Pause and Resume are call-wide (not on a per element basis). Thus, calling pause or resume on a \r\n\t\t\t\t\t single element will cause any calls that containt tweens for that element to be paused/resumed\r\n\t\t\t\t\t as well. */\r\n\r\n\t\t\t\t\t/* Iterate through all calls and pause any that contain any of our elements */\r\n\t\t\t\t\t$.each(Velocity.State.calls, function(i, activeCall) {\r\n\r\n\t\t\t\t\t\tvar found = false;\r\n\t\t\t\t\t\t/* Inactive calls are set to false by the logic inside completeCall(). Skip them. */\r\n\t\t\t\t\t\tif (activeCall) {\r\n\t\t\t\t\t\t\t/* Iterate through the active call's targeted elements. */\r\n\t\t\t\t\t\t\t$.each(activeCall[1], function(k, activeElement) {\r\n\t\t\t\t\t\t\t\tvar queueName = (options === undefined) ? \"\" : options;\r\n\r\n\t\t\t\t\t\t\t\tif (queueName !== true && (activeCall[2].queue !== queueName) && !(options === undefined && activeCall[2].queue === false)) {\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* Iterate through the calls targeted by the stop command. */\r\n\t\t\t\t\t\t\t\t$.each(elements, function(l, element) {\r\n\t\t\t\t\t\t\t\t\t/* Check that this call was applied to the target element. */\r\n\t\t\t\t\t\t\t\t\tif (element === activeElement) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Set call to paused */\r\n\t\t\t\t\t\t\t\t\t\tactiveCall[5] = {\r\n\t\t\t\t\t\t\t\t\t\t\tresume: false\r\n\t\t\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Once we match an element, we can bounce out to the next call entirely */\r\n\t\t\t\t\t\t\t\t\t\tfound = true;\r\n\t\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t/* Proceed to check next call if we have already matched */\r\n\t\t\t\t\t\t\t\tif (found) {\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* Since pause creates no new tweens, exit out of Velocity. */\r\n\t\t\t\t\treturn getChain();\r\n\r\n\t\t\t\tcase \"resume\":\r\n\r\n\t\t\t\t\t/*******************\r\n\t\t\t\t\t Action: Resume\r\n\t\t\t\t\t *******************/\r\n\r\n\t\t\t\t\t/* Handle delay timers */\r\n\t\t\t\t\t$.each(elements, function(i, element) {\r\n\t\t\t\t\t\tresumeDelayOnElement(element, currentTime);\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* Pause and Resume are call-wide (not on a per elemnt basis). Thus, calling pause or resume on a \r\n\t\t\t\t\t single element will cause any calls that containt tweens for that element to be paused/resumed\r\n\t\t\t\t\t as well. */\r\n\r\n\t\t\t\t\t/* Iterate through all calls and pause any that contain any of our elements */\r\n\t\t\t\t\t$.each(Velocity.State.calls, function(i, activeCall) {\r\n\t\t\t\t\t\tvar found = false;\r\n\t\t\t\t\t\t/* Inactive calls are set to false by the logic inside completeCall(). Skip them. */\r\n\t\t\t\t\t\tif (activeCall) {\r\n\t\t\t\t\t\t\t/* Iterate through the active call's targeted elements. */\r\n\t\t\t\t\t\t\t$.each(activeCall[1], function(k, activeElement) {\r\n\t\t\t\t\t\t\t\tvar queueName = (options === undefined) ? \"\" : options;\r\n\r\n\t\t\t\t\t\t\t\tif (queueName !== true && (activeCall[2].queue !== queueName) && !(options === undefined && activeCall[2].queue === false)) {\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* Skip any calls that have never been paused */\r\n\t\t\t\t\t\t\t\tif (!activeCall[5]) {\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* Iterate through the calls targeted by the stop command. */\r\n\t\t\t\t\t\t\t\t$.each(elements, function(l, element) {\r\n\t\t\t\t\t\t\t\t\t/* Check that this call was applied to the target element. */\r\n\t\t\t\t\t\t\t\t\tif (element === activeElement) {\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Flag a pause object to be resumed, which will occur during the next tick. In\r\n\t\t\t\t\t\t\t\t\t\t addition, the pause object will at that time be deleted */\r\n\t\t\t\t\t\t\t\t\t\tactiveCall[5].resume = true;\r\n\r\n\t\t\t\t\t\t\t\t\t\t/* Once we match an element, we can bounce out to the next call entirely */\r\n\t\t\t\t\t\t\t\t\t\tfound = true;\r\n\t\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t/* Proceed to check next call if we have already matched */\r\n\t\t\t\t\t\t\t\tif (found) {\r\n\t\t\t\t\t\t\t\t\treturn false;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* Since resume creates no new tweens, exit out of Velocity. */\r\n\t\t\t\t\treturn getChain();\r\n\r\n\t\t\t\tcase \"finish\":\r\n\t\t\t\tcase \"finishAll\":\r\n\t\t\t\tcase \"stop\":\r\n\t\t\t\t\t/*******************\r\n\t\t\t\t\t Action: Stop\r\n\t\t\t\t\t *******************/\r\n\r\n\t\t\t\t\t/* Clear the currently-active delay on each targeted element. */\r\n\t\t\t\t\t$.each(elements, function(i, element) {\r\n\t\t\t\t\t\tif (Data(element) && Data(element).delayTimer) {\r\n\t\t\t\t\t\t\t/* Stop the timer from triggering its cached next() function. */\r\n\t\t\t\t\t\t\tclearTimeout(Data(element).delayTimer.setTimeout);\r\n\r\n\t\t\t\t\t\t\t/* Manually call the next() function so that the subsequent queue items can progress. */\r\n\t\t\t\t\t\t\tif (Data(element).delayTimer.next) {\r\n\t\t\t\t\t\t\t\tData(element).delayTimer.next();\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tdelete Data(element).delayTimer;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* If we want to finish everything in the queue, we have to iterate through it\r\n\t\t\t\t\t\t and call each function. This will make them active calls below, which will\r\n\t\t\t\t\t\t cause them to be applied via the duration setting. */\r\n\t\t\t\t\t\tif (propertiesMap === \"finishAll\" && (options === true || Type.isString(options))) {\r\n\t\t\t\t\t\t\t/* Iterate through the items in the element's queue. */\r\n\t\t\t\t\t\t\t$.each($.queue(element, Type.isString(options) ? options : \"\"), function(_, item) {\r\n\t\t\t\t\t\t\t\t/* The queue array can contain an \"inprogress\" string, which we skip. */\r\n\t\t\t\t\t\t\t\tif (Type.isFunction(item)) {\r\n\t\t\t\t\t\t\t\t\titem();\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t/* Clearing the $.queue() array is achieved by resetting it to []. */\r\n\t\t\t\t\t\t\t$.queue(element, Type.isString(options) ? options : \"\", []);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tvar callsToStop = [];\r\n\r\n\t\t\t\t\t/* When the stop action is triggered, the elements' currently active call is immediately stopped. The active call might have\r\n\t\t\t\t\t been applied to multiple elements, in which case all of the call's elements will be stopped. When an element\r\n\t\t\t\t\t is stopped, the next item in its animation queue is immediately triggered. */\r\n\t\t\t\t\t/* An additional argument may be passed in to clear an element's remaining queued calls. Either true (which defaults to the \"fx\" queue)\r\n\t\t\t\t\t or a custom queue string can be passed in. */\r\n\t\t\t\t\t/* Note: The stop command runs prior to Velocity's Queueing phase since its behavior is intended to take effect *immediately*,\r\n\t\t\t\t\t regardless of the element's current queue state. */\r\n\r\n\t\t\t\t\t/* Iterate through every active call. */\r\n\t\t\t\t\t$.each(Velocity.State.calls, function(i, activeCall) {\r\n\t\t\t\t\t\t/* Inactive calls are set to false by the logic inside completeCall(). Skip them. */\r\n\t\t\t\t\t\tif (activeCall) {\r\n\t\t\t\t\t\t\t/* Iterate through the active call's targeted elements. */\r\n\t\t\t\t\t\t\t$.each(activeCall[1], function(k, activeElement) {\r\n\t\t\t\t\t\t\t\t/* If true was passed in as a secondary argument, clear absolutely all calls on this element. Otherwise, only\r\n\t\t\t\t\t\t\t\t clear calls associated with the relevant queue. */\r\n\t\t\t\t\t\t\t\t/* Call stopping logic works as follows:\r\n\t\t\t\t\t\t\t\t - options === true --> stop current default queue calls (and queue:false calls), including remaining queued ones.\r\n\t\t\t\t\t\t\t\t - options === undefined --> stop current queue:\"\" call and all queue:false calls.\r\n\t\t\t\t\t\t\t\t - options === false --> stop only queue:false calls.\r\n\t\t\t\t\t\t\t\t - options === \"custom\" --> stop current queue:\"custom\" call, including remaining queued ones (there is no functionality to only clear the currently-running queue:\"custom\" call). */\r\n\t\t\t\t\t\t\t\tvar queueName = (options === undefined) ? \"\" : options;\r\n\r\n\t\t\t\t\t\t\t\tif (queueName !== true && (activeCall[2].queue !== queueName) && !(options === undefined && activeCall[2].queue === false)) {\r\n\t\t\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* Iterate through the calls targeted by the stop command. */\r\n\t\t\t\t\t\t\t\t$.each(elements, function(l, element) {\r\n\t\t\t\t\t\t\t\t\t/* Check that this call was applied to the target element. */\r\n\t\t\t\t\t\t\t\t\tif (element === activeElement) {\r\n\t\t\t\t\t\t\t\t\t\t/* Optionally clear the remaining queued calls. If we're doing \"finishAll\" this won't find anything,\r\n\t\t\t\t\t\t\t\t\t\t due to the queue-clearing above. */\r\n\t\t\t\t\t\t\t\t\t\tif (options === true || Type.isString(options)) {\r\n\t\t\t\t\t\t\t\t\t\t\t/* Iterate through the items in the element's queue. */\r\n\t\t\t\t\t\t\t\t\t\t\t$.each($.queue(element, Type.isString(options) ? options : \"\"), function(_, item) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t/* The queue array can contain an \"inprogress\" string, which we skip. */\r\n\t\t\t\t\t\t\t\t\t\t\t\tif (Type.isFunction(item)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t/* Pass the item's callback a flag indicating that we want to abort from the queue call.\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t (Specifically, the queue will resolve the call's associated promise then abort.)  */\r\n\t\t\t\t\t\t\t\t\t\t\t\t\titem(null, true);\r\n\t\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/* Clearing the $.queue() array is achieved by resetting it to []. */\r\n\t\t\t\t\t\t\t\t\t\t\t$.queue(element, Type.isString(options) ? options : \"\", []);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (propertiesMap === \"stop\") {\r\n\t\t\t\t\t\t\t\t\t\t\t/* Since \"reverse\" uses cached start values (the previous call's endValues), these values must be\r\n\t\t\t\t\t\t\t\t\t\t\t changed to reflect the final value that the elements were actually tweened to. */\r\n\t\t\t\t\t\t\t\t\t\t\t/* Note: If only queue:false/queue:\"custom\" animations are currently running on an element, it won't have a tweensContainer\r\n\t\t\t\t\t\t\t\t\t\t\t object. Also, queue:false/queue:\"custom\" animations can't be reversed. */\r\n\t\t\t\t\t\t\t\t\t\t\tvar data = Data(element);\r\n\t\t\t\t\t\t\t\t\t\t\tif (data && data.tweensContainer && (queueName === true || queueName === \"\")) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t$.each(data.tweensContainer, function(m, activeTween) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tactiveTween.endValue = activeTween.currentValue;\r\n\t\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tcallsToStop.push(i);\r\n\t\t\t\t\t\t\t\t\t\t} else if (propertiesMap === \"finish\" || propertiesMap === \"finishAll\") {\r\n\t\t\t\t\t\t\t\t\t\t\t/* To get active tweens to finish immediately, we forcefully shorten their durations to 1ms so that\r\n\t\t\t\t\t\t\t\t\t\t\t they finish upon the next rAf tick then proceed with normal call completion logic. */\r\n\t\t\t\t\t\t\t\t\t\t\tactiveCall[2].duration = 1;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\t/* Prematurely call completeCall() on each matched active call. Pass an additional flag for \"stop\" to indicate\r\n\t\t\t\t\t that the complete callback and display:none setting should be skipped since we're completing prematurely. */\r\n\t\t\t\t\tif (propertiesMap === \"stop\") {\r\n\t\t\t\t\t\t$.each(callsToStop, function(i, j) {\r\n\t\t\t\t\t\t\tcompleteCall(j, true);\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\tif (promiseData.promise) {\r\n\t\t\t\t\t\t\t/* Immediately resolve the promise associated with this stop call since stop runs synchronously. */\r\n\t\t\t\t\t\t\tpromiseData.resolver(elements);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Since we're stopping, and not proceeding with queueing, exit out of Velocity. */\r\n\t\t\t\t\treturn getChain();\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\t/* Treat a non-empty plain object as a literal properties map. */\r\n\t\t\t\t\tif ($.isPlainObject(propertiesMap) && !Type.isEmptyObject(propertiesMap)) {\r\n\t\t\t\t\t\taction = \"start\";\r\n\r\n\t\t\t\t\t\t/****************\r\n\t\t\t\t\t\t Redirects\r\n\t\t\t\t\t\t ****************/\r\n\r\n\t\t\t\t\t\t/* Check if a string matches a registered redirect (see Redirects above). */\r\n\t\t\t\t\t} else if (Type.isString(propertiesMap) && Velocity.Redirects[propertiesMap]) {\r\n\t\t\t\t\t\topts = $.extend({}, options);\r\n\r\n\t\t\t\t\t\tvar durationOriginal = opts.duration,\r\n\t\t\t\t\t\t\t\tdelayOriginal = opts.delay || 0;\r\n\r\n\t\t\t\t\t\t/* If the backwards option was passed in, reverse the element set so that elements animate from the last to the first. */\r\n\t\t\t\t\t\tif (opts.backwards === true) {\r\n\t\t\t\t\t\t\telements = $.extend(true, [], elements).reverse();\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Individually trigger the redirect for each element in the set to prevent users from having to handle iteration logic in their redirect. */\r\n\t\t\t\t\t\t$.each(elements, function(elementIndex, element) {\r\n\t\t\t\t\t\t\t/* If the stagger option was passed in, successively delay each element by the stagger value (in ms). Retain the original delay value. */\r\n\t\t\t\t\t\t\tif (parseFloat(opts.stagger)) {\r\n\t\t\t\t\t\t\t\topts.delay = delayOriginal + (parseFloat(opts.stagger) * elementIndex);\r\n\t\t\t\t\t\t\t} else if (Type.isFunction(opts.stagger)) {\r\n\t\t\t\t\t\t\t\topts.delay = delayOriginal + opts.stagger.call(element, elementIndex, elementsLength);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* If the drag option was passed in, successively increase/decrease (depending on the presense of opts.backwards)\r\n\t\t\t\t\t\t\t the duration of each element's animation, using floors to prevent producing very short durations. */\r\n\t\t\t\t\t\t\tif (opts.drag) {\r\n\t\t\t\t\t\t\t\t/* Default the duration of UI pack effects (callouts and transitions) to 1000ms instead of the usual default duration of 400ms. */\r\n\t\t\t\t\t\t\t\topts.duration = parseFloat(durationOriginal) || (/^(callout|transition)/.test(propertiesMap) ? 1000 : DURATION_DEFAULT);\r\n\r\n\t\t\t\t\t\t\t\t/* For each element, take the greater duration of: A) animation completion percentage relative to the original duration,\r\n\t\t\t\t\t\t\t\t B) 75% of the original duration, or C) a 200ms fallback (in case duration is already set to a low value).\r\n\t\t\t\t\t\t\t\t The end result is a baseline of 75% of the redirect's duration that increases/decreases as the end of the element set is approached. */\r\n\t\t\t\t\t\t\t\topts.duration = Math.max(opts.duration * (opts.backwards ? 1 - elementIndex / elementsLength : (elementIndex + 1) / elementsLength), opts.duration * 0.75, 200);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Pass in the call's opts object so that the redirect can optionally extend it. It defaults to an empty object instead of null to\r\n\t\t\t\t\t\t\t reduce the opts checking logic required inside the redirect. */\r\n\t\t\t\t\t\t\tVelocity.Redirects[propertiesMap].call(element, element, opts || {}, elementIndex, elementsLength, elements, promiseData.promise ? promiseData : undefined);\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t/* Since the animation logic resides within the redirect's own code, abort the remainder of this call.\r\n\t\t\t\t\t\t (The performance overhead up to this point is virtually non-existant.) */\r\n\t\t\t\t\t\t/* Note: The jQuery call chain is kept intact by returning the complete element set. */\r\n\t\t\t\t\t\treturn getChain();\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tvar abortError = \"Velocity: First argument (\" + propertiesMap + \") was not a property map, a known action, or a registered redirect. Aborting.\";\r\n\r\n\t\t\t\t\t\tif (promiseData.promise) {\r\n\t\t\t\t\t\t\tpromiseData.rejecter(new Error(abortError));\r\n\t\t\t\t\t\t} else if (window.console) {\r\n\t\t\t\t\t\t\tconsole.log(abortError);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\treturn getChain();\r\n\t\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/**************************\r\n\t\t\t Call-Wide Variables\r\n\t\t\t **************************/\r\n\r\n\t\t\t/* A container for CSS unit conversion ratios (e.g. %, rem, and em ==> px) that is used to cache ratios across all elements\r\n\t\t\t being animated in a single Velocity call. Calculating unit ratios necessitates DOM querying and updating, and is therefore\r\n\t\t\t avoided (via caching) wherever possible. This container is call-wide instead of page-wide to avoid the risk of using stale\r\n\t\t\t conversion metrics across Velocity animations that are not immediately consecutively chained. */\r\n\t\t\tvar callUnitConversionData = {\r\n\t\t\t\tlastParent: null,\r\n\t\t\t\tlastPosition: null,\r\n\t\t\t\tlastFontSize: null,\r\n\t\t\t\tlastPercentToPxWidth: null,\r\n\t\t\t\tlastPercentToPxHeight: null,\r\n\t\t\t\tlastEmToPx: null,\r\n\t\t\t\tremToPx: null,\r\n\t\t\t\tvwToPx: null,\r\n\t\t\t\tvhToPx: null\r\n\t\t\t};\r\n\r\n\t\t\t/* A container for all the ensuing tween data and metadata associated with this call. This container gets pushed to the page-wide\r\n\t\t\t Velocity.State.calls array that is processed during animation ticking. */\r\n\t\t\tvar call = [];\r\n\r\n\t\t\t/************************\r\n\t\t\t Element Processing\r\n\t\t\t ************************/\r\n\r\n\t\t\t/* Element processing consists of three parts -- data processing that cannot go stale and data processing that *can* go stale (i.e. third-party style modifications):\r\n\t\t\t 1) Pre-Queueing: Element-wide variables, including the element's data storage, are instantiated. Call options are prepared. If triggered, the Stop action is executed.\r\n\t\t\t 2) Queueing: The logic that runs once this call has reached its point of execution in the element's $.queue() stack. Most logic is placed here to avoid risking it becoming stale.\r\n\t\t\t 3) Pushing: Consolidation of the tween data followed by its push onto the global in-progress calls container.\r\n\t\t\t `elementArrayIndex` allows passing index of the element in the original array to value functions.\r\n\t\t\t If `elementsIndex` were used instead the index would be determined by the elements' per-element queue.\r\n\t\t\t */\r\n\t\t\tfunction processElement(element, elementArrayIndex) {\r\n\r\n\t\t\t\t/*************************\r\n\t\t\t\t Part I: Pre-Queueing\r\n\t\t\t\t *************************/\r\n\r\n\t\t\t\t/***************************\r\n\t\t\t\t Element-Wide Variables\r\n\t\t\t\t ***************************/\r\n\r\n\t\t\t\tvar /* The runtime opts object is the extension of the current call's options and Velocity's page-wide option defaults. */\r\n\t\t\t\t\t\topts = $.extend({}, Velocity.defaults, options),\r\n\t\t\t\t\t\t/* A container for the processed data associated with each property in the propertyMap.\r\n\t\t\t\t\t\t (Each property in the map produces its own \"tween\".) */\r\n\t\t\t\t\t\ttweensContainer = {},\r\n\t\t\t\t\t\telementUnitConversionData;\r\n\r\n\t\t\t\t/******************\r\n\t\t\t\t Element Init\r\n\t\t\t\t ******************/\r\n\r\n\t\t\t\tif (Data(element) === undefined) {\r\n\t\t\t\t\tVelocity.init(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/******************\r\n\t\t\t\t Option: Delay\r\n\t\t\t\t ******************/\r\n\r\n\t\t\t\t/* Since queue:false doesn't respect the item's existing queue, we avoid injecting its delay here (it's set later on). */\r\n\t\t\t\t/* Note: Velocity rolls its own delay function since jQuery doesn't have a utility alias for $.fn.delay()\r\n\t\t\t\t (and thus requires jQuery element creation, which we avoid since its overhead includes DOM querying). */\r\n\t\t\t\tif (parseFloat(opts.delay) && opts.queue !== false) {\r\n\t\t\t\t\t$.queue(element, opts.queue, function(next, clearQueue) {\r\n\t\t\t\t\t\tif (clearQueue === true) {\r\n\t\t\t\t\t\t\t/* Do not continue with animation queueing. */\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* This is a flag used to indicate to the upcoming completeCall() function that this queue entry was initiated by Velocity. See completeCall() for further details. */\r\n\t\t\t\t\t\tVelocity.velocityQueueEntryFlag = true;\r\n\r\n\t\t\t\t\t\t/* The ensuing queue item (which is assigned to the \"next\" argument that $.queue() automatically passes in) will be triggered after a setTimeout delay.\r\n\t\t\t\t\t\t The setTimeout is stored so that it can be subjected to clearTimeout() if this animation is prematurely stopped via Velocity's \"stop\" command, and\r\n\t\t\t\t\t\t delayBegin/delayTime is used to ensure we can \"pause\" and \"resume\" a tween that is still mid-delay. */\r\n\r\n\t\t\t\t\t\t/* Temporarily store delayed elements to facilite access for global pause/resume */\r\n\t\t\t\t\t\tvar callIndex = Velocity.State.delayedElements.count++;\r\n\t\t\t\t\t\tVelocity.State.delayedElements[callIndex] = element;\r\n\r\n\t\t\t\t\t\tvar delayComplete = (function(index) {\r\n\t\t\t\t\t\t\treturn function() {\r\n\t\t\t\t\t\t\t\t/* Clear the temporary element */\r\n\t\t\t\t\t\t\t\tVelocity.State.delayedElements[index] = false;\r\n\r\n\t\t\t\t\t\t\t\t/* Finally, issue the call */\r\n\t\t\t\t\t\t\t\tnext();\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t})(callIndex);\r\n\r\n\r\n\t\t\t\t\t\tData(element).delayBegin = (new Date()).getTime();\r\n\t\t\t\t\t\tData(element).delay = parseFloat(opts.delay);\r\n\t\t\t\t\t\tData(element).delayTimer = {\r\n\t\t\t\t\t\t\tsetTimeout: setTimeout(next, parseFloat(opts.delay)),\r\n\t\t\t\t\t\t\tnext: delayComplete\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*********************\r\n\t\t\t\t Option: Duration\r\n\t\t\t\t *********************/\r\n\r\n\t\t\t\t/* Support for jQuery's named durations. */\r\n\t\t\t\tswitch (opts.duration.toString().toLowerCase()) {\r\n\t\t\t\t\tcase \"fast\":\r\n\t\t\t\t\t\topts.duration = 200;\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase \"normal\":\r\n\t\t\t\t\t\topts.duration = DURATION_DEFAULT;\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tcase \"slow\":\r\n\t\t\t\t\t\topts.duration = 600;\r\n\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t/* Remove the potential \"ms\" suffix and default to 1 if the user is attempting to set a duration of 0 (in order to produce an immediate style change). */\r\n\t\t\t\t\t\topts.duration = parseFloat(opts.duration) || 1;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/************************\r\n\t\t\t\t Global Option: Mock\r\n\t\t\t\t ************************/\r\n\r\n\t\t\t\tif (Velocity.mock !== false) {\r\n\t\t\t\t\t/* In mock mode, all animations are forced to 1ms so that they occur immediately upon the next rAF tick.\r\n\t\t\t\t\t Alternatively, a multiplier can be passed in to time remap all delays and durations. */\r\n\t\t\t\t\tif (Velocity.mock === true) {\r\n\t\t\t\t\t\topts.duration = opts.delay = 1;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\topts.duration *= parseFloat(Velocity.mock) || 1;\r\n\t\t\t\t\t\topts.delay *= parseFloat(Velocity.mock) || 1;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*******************\r\n\t\t\t\t Option: Easing\r\n\t\t\t\t *******************/\r\n\r\n\t\t\t\topts.easing = getEasing(opts.easing, opts.duration);\r\n\r\n\t\t\t\t/**********************\r\n\t\t\t\t Option: Callbacks\r\n\t\t\t\t **********************/\r\n\r\n\t\t\t\t/* Callbacks must functions. Otherwise, default to null. */\r\n\t\t\t\tif (opts.begin && !Type.isFunction(opts.begin)) {\r\n\t\t\t\t\topts.begin = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (opts.progress && !Type.isFunction(opts.progress)) {\r\n\t\t\t\t\topts.progress = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (opts.complete && !Type.isFunction(opts.complete)) {\r\n\t\t\t\t\topts.complete = null;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*********************************\r\n\t\t\t\t Option: Display & Visibility\r\n\t\t\t\t *********************************/\r\n\r\n\t\t\t\t/* Refer to Velocity's documentation (VelocityJS.org/#displayAndVisibility) for a description of the display and visibility options' behavior. */\r\n\t\t\t\t/* Note: We strictly check for undefined instead of falsiness because display accepts an empty string value. */\r\n\t\t\t\tif (opts.display !== undefined && opts.display !== null) {\r\n\t\t\t\t\topts.display = opts.display.toString().toLowerCase();\r\n\r\n\t\t\t\t\t/* Users can pass in a special \"auto\" value to instruct Velocity to set the element to its default display value. */\r\n\t\t\t\t\tif (opts.display === \"auto\") {\r\n\t\t\t\t\t\topts.display = Velocity.CSS.Values.getDisplayType(element);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (opts.visibility !== undefined && opts.visibility !== null) {\r\n\t\t\t\t\topts.visibility = opts.visibility.toString().toLowerCase();\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/**********************\r\n\t\t\t\t Option: mobileHA\r\n\t\t\t\t **********************/\r\n\r\n\t\t\t\t/* When set to true, and if this is a mobile device, mobileHA automatically enables hardware acceleration (via a null transform hack)\r\n\t\t\t\t on animating elements. HA is removed from the element at the completion of its animation. */\r\n\t\t\t\t/* Note: Android Gingerbread doesn't support HA. If a null transform hack (mobileHA) is in fact set, it will prevent other tranform subproperties from taking effect. */\r\n\t\t\t\t/* Note: You can read more about the use of mobileHA in Velocity's documentation: VelocityJS.org/#mobileHA. */\r\n\t\t\t\topts.mobileHA = (opts.mobileHA && Velocity.State.isMobile && !Velocity.State.isGingerbread);\r\n\r\n\t\t\t\t/***********************\r\n\t\t\t\t Part II: Queueing\r\n\t\t\t\t ***********************/\r\n\r\n\t\t\t\t/* When a set of elements is targeted by a Velocity call, the set is broken up and each element has the current Velocity call individually queued onto it.\r\n\t\t\t\t In this way, each element's existing queue is respected; some elements may already be animating and accordingly should not have this current Velocity call triggered immediately. */\r\n\t\t\t\t/* In each queue, tween data is processed for each animating property then pushed onto the call-wide calls array. When the last element in the set has had its tweens processed,\r\n\t\t\t\t the call array is pushed to Velocity.State.calls for live processing by the requestAnimationFrame tick. */\r\n\t\t\t\tfunction buildQueue(next) {\r\n\t\t\t\t\tvar data, lastTweensContainer;\r\n\r\n\t\t\t\t\t/*******************\r\n\t\t\t\t\t Option: Begin\r\n\t\t\t\t\t *******************/\r\n\r\n\t\t\t\t\t/* The begin callback is fired once per call -- not once per elemenet -- and is passed the full raw DOM element set as both its context and its first argument. */\r\n\t\t\t\t\tif (opts.begin && elementsIndex === 0) {\r\n\t\t\t\t\t\t/* We throw callbacks in a setTimeout so that thrown errors don't halt the execution of Velocity itself. */\r\n\t\t\t\t\t\ttry {\r\n\t\t\t\t\t\t\topts.begin.call(elements, elements);\r\n\t\t\t\t\t\t} catch (error) {\r\n\t\t\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\t\t\tthrow error;\r\n\t\t\t\t\t\t\t}, 1);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/*****************************************\r\n\t\t\t\t\t Tween Data Construction (for Scroll)\r\n\t\t\t\t\t *****************************************/\r\n\r\n\t\t\t\t\t/* Note: In order to be subjected to chaining and animation options, scroll's tweening is routed through Velocity as if it were a standard CSS property animation. */\r\n\t\t\t\t\tif (action === \"scroll\") {\r\n\t\t\t\t\t\t/* The scroll action uniquely takes an optional \"offset\" option -- specified in pixels -- that offsets the targeted scroll position. */\r\n\t\t\t\t\t\tvar scrollDirection = (/^x$/i.test(opts.axis) ? \"Left\" : \"Top\"),\r\n\t\t\t\t\t\t\t\tscrollOffset = parseFloat(opts.offset) || 0,\r\n\t\t\t\t\t\t\t\tscrollPositionCurrent,\r\n\t\t\t\t\t\t\t\tscrollPositionCurrentAlternate,\r\n\t\t\t\t\t\t\t\tscrollPositionEnd;\r\n\r\n\t\t\t\t\t\t/* Scroll also uniquely takes an optional \"container\" option, which indicates the parent element that should be scrolled --\r\n\t\t\t\t\t\t as opposed to the browser window itself. This is useful for scrolling toward an element that's inside an overflowing parent element. */\r\n\t\t\t\t\t\tif (opts.container) {\r\n\t\t\t\t\t\t\t/* Ensure that either a jQuery object or a raw DOM element was passed in. */\r\n\t\t\t\t\t\t\tif (Type.isWrapped(opts.container) || Type.isNode(opts.container)) {\r\n\t\t\t\t\t\t\t\t/* Extract the raw DOM element from the jQuery wrapper. */\r\n\t\t\t\t\t\t\t\topts.container = opts.container[0] || opts.container;\r\n\t\t\t\t\t\t\t\t/* Note: Unlike other properties in Velocity, the browser's scroll position is never cached since it so frequently changes\r\n\t\t\t\t\t\t\t\t (due to the user's natural interaction with the page). */\r\n\t\t\t\t\t\t\t\tscrollPositionCurrent = opts.container[\"scroll\" + scrollDirection]; /* GET */\r\n\r\n\t\t\t\t\t\t\t\t/* $.position() values are relative to the container's currently viewable area (without taking into account the container's true dimensions\r\n\t\t\t\t\t\t\t\t -- say, for example, if the container was not overflowing). Thus, the scroll end value is the sum of the child element's position *and*\r\n\t\t\t\t\t\t\t\t the scroll container's current scroll position. */\r\n\t\t\t\t\t\t\t\tscrollPositionEnd = (scrollPositionCurrent + $(element).position()[scrollDirection.toLowerCase()]) + scrollOffset; /* GET */\r\n\t\t\t\t\t\t\t\t/* If a value other than a jQuery object or a raw DOM element was passed in, default to null so that this option is ignored. */\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\topts.container = null;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t/* If the window itself is being scrolled -- not a containing element -- perform a live scroll position lookup using\r\n\t\t\t\t\t\t\t the appropriate cached property names (which differ based on browser type). */\r\n\t\t\t\t\t\t\tscrollPositionCurrent = Velocity.State.scrollAnchor[Velocity.State[\"scrollProperty\" + scrollDirection]]; /* GET */\r\n\t\t\t\t\t\t\t/* When scrolling the browser window, cache the alternate axis's current value since window.scrollTo() doesn't let us change only one value at a time. */\r\n\t\t\t\t\t\t\tscrollPositionCurrentAlternate = Velocity.State.scrollAnchor[Velocity.State[\"scrollProperty\" + (scrollDirection === \"Left\" ? \"Top\" : \"Left\")]]; /* GET */\r\n\r\n\t\t\t\t\t\t\t/* Unlike $.position(), $.offset() values are relative to the browser window's true dimensions -- not merely its currently viewable area --\r\n\t\t\t\t\t\t\t and therefore end values do not need to be compounded onto current values. */\r\n\t\t\t\t\t\t\tscrollPositionEnd = $(element).offset()[scrollDirection.toLowerCase()] + scrollOffset; /* GET */\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Since there's only one format that scroll's associated tweensContainer can take, we create it manually. */\r\n\t\t\t\t\t\ttweensContainer = {\r\n\t\t\t\t\t\t\tscroll: {\r\n\t\t\t\t\t\t\t\trootPropertyValue: false,\r\n\t\t\t\t\t\t\t\tstartValue: scrollPositionCurrent,\r\n\t\t\t\t\t\t\t\tcurrentValue: scrollPositionCurrent,\r\n\t\t\t\t\t\t\t\tendValue: scrollPositionEnd,\r\n\t\t\t\t\t\t\t\tunitType: \"\",\r\n\t\t\t\t\t\t\t\teasing: opts.easing,\r\n\t\t\t\t\t\t\t\tscrollData: {\r\n\t\t\t\t\t\t\t\t\tcontainer: opts.container,\r\n\t\t\t\t\t\t\t\t\tdirection: scrollDirection,\r\n\t\t\t\t\t\t\t\t\talternateValue: scrollPositionCurrentAlternate\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\telement: element\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\tconsole.log(\"tweensContainer (scroll): \", tweensContainer.scroll, element);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/******************************************\r\n\t\t\t\t\t\t Tween Data Construction (for Reverse)\r\n\t\t\t\t\t\t ******************************************/\r\n\r\n\t\t\t\t\t\t/* Reverse acts like a \"start\" action in that a property map is animated toward. The only difference is\r\n\t\t\t\t\t\t that the property map used for reverse is the inverse of the map used in the previous call. Thus, we manipulate\r\n\t\t\t\t\t\t the previous call to construct our new map: use the previous map's end values as our new map's start values. Copy over all other data. */\r\n\t\t\t\t\t\t/* Note: Reverse can be directly called via the \"reverse\" parameter, or it can be indirectly triggered via the loop option. (Loops are composed of multiple reverses.) */\r\n\t\t\t\t\t\t/* Note: Reverse calls do not need to be consecutively chained onto a currently-animating element in order to operate on cached values;\r\n\t\t\t\t\t\t there is no harm to reverse being called on a potentially stale data cache since reverse's behavior is simply defined\r\n\t\t\t\t\t\t as reverting to the element's values as they were prior to the previous *Velocity* call. */\r\n\t\t\t\t\t} else if (action === \"reverse\") {\r\n\t\t\t\t\t\tdata = Data(element);\r\n\r\n\t\t\t\t\t\t/* Abort if there is no prior animation data to reverse to. */\r\n\t\t\t\t\t\tif (!data) {\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (!data.tweensContainer) {\r\n\t\t\t\t\t\t\t/* Dequeue the element so that this queue entry releases itself immediately, allowing subsequent queue entries to run. */\r\n\t\t\t\t\t\t\t$.dequeue(element, opts.queue);\r\n\r\n\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t/*********************\r\n\t\t\t\t\t\t\t Options Parsing\r\n\t\t\t\t\t\t\t *********************/\r\n\r\n\t\t\t\t\t\t\t/* If the element was hidden via the display option in the previous call,\r\n\t\t\t\t\t\t\t revert display to \"auto\" prior to reversal so that the element is visible again. */\r\n\t\t\t\t\t\t\tif (data.opts.display === \"none\") {\r\n\t\t\t\t\t\t\t\tdata.opts.display = \"auto\";\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (data.opts.visibility === \"hidden\") {\r\n\t\t\t\t\t\t\t\tdata.opts.visibility = \"visible\";\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* If the loop option was set in the previous call, disable it so that \"reverse\" calls aren't recursively generated.\r\n\t\t\t\t\t\t\t Further, remove the previous call's callback options; typically, users do not want these to be refired. */\r\n\t\t\t\t\t\t\tdata.opts.loop = false;\r\n\t\t\t\t\t\t\tdata.opts.begin = null;\r\n\t\t\t\t\t\t\tdata.opts.complete = null;\r\n\r\n\t\t\t\t\t\t\t/* Since we're extending an opts object that has already been extended with the defaults options object,\r\n\t\t\t\t\t\t\t we remove non-explicitly-defined properties that are auto-assigned values. */\r\n\t\t\t\t\t\t\tif (!options.easing) {\r\n\t\t\t\t\t\t\t\tdelete opts.easing;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (!options.duration) {\r\n\t\t\t\t\t\t\t\tdelete opts.duration;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* The opts object used for reversal is an extension of the options object optionally passed into this\r\n\t\t\t\t\t\t\t reverse call plus the options used in the previous Velocity call. */\r\n\t\t\t\t\t\t\topts = $.extend({}, data.opts, opts);\r\n\r\n\t\t\t\t\t\t\t/*************************************\r\n\t\t\t\t\t\t\t Tweens Container Reconstruction\r\n\t\t\t\t\t\t\t *************************************/\r\n\r\n\t\t\t\t\t\t\t/* Create a deepy copy (indicated via the true flag) of the previous call's tweensContainer. */\r\n\t\t\t\t\t\t\tlastTweensContainer = $.extend(true, {}, data ? data.tweensContainer : null);\r\n\r\n\t\t\t\t\t\t\t/* Manipulate the previous tweensContainer by replacing its end values and currentValues with its start values. */\r\n\t\t\t\t\t\t\tfor (var lastTween in lastTweensContainer) {\r\n\t\t\t\t\t\t\t\t/* In addition to tween data, tweensContainers contain an element property that we ignore here. */\r\n\t\t\t\t\t\t\t\tif (lastTweensContainer.hasOwnProperty(lastTween) && lastTween !== \"element\") {\r\n\t\t\t\t\t\t\t\t\tvar lastStartValue = lastTweensContainer[lastTween].startValue;\r\n\r\n\t\t\t\t\t\t\t\t\tlastTweensContainer[lastTween].startValue = lastTweensContainer[lastTween].currentValue = lastTweensContainer[lastTween].endValue;\r\n\t\t\t\t\t\t\t\t\tlastTweensContainer[lastTween].endValue = lastStartValue;\r\n\r\n\t\t\t\t\t\t\t\t\t/* Easing is the only option that embeds into the individual tween data (since it can be defined on a per-property basis).\r\n\t\t\t\t\t\t\t\t\t Accordingly, every property's easing value must be updated when an options object is passed in with a reverse call.\r\n\t\t\t\t\t\t\t\t\t The side effect of this extensibility is that all per-property easing values are forcefully reset to the new value. */\r\n\t\t\t\t\t\t\t\t\tif (!Type.isEmptyObject(options)) {\r\n\t\t\t\t\t\t\t\t\t\tlastTweensContainer[lastTween].easing = opts.easing;\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\t\t\tconsole.log(\"reverse tweensContainer (\" + lastTween + \"): \" + JSON.stringify(lastTweensContainer[lastTween]), element);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\ttweensContainer = lastTweensContainer;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/*****************************************\r\n\t\t\t\t\t\t Tween Data Construction (for Start)\r\n\t\t\t\t\t\t *****************************************/\r\n\r\n\t\t\t\t\t} else if (action === \"start\") {\r\n\r\n\t\t\t\t\t\t/*************************\r\n\t\t\t\t\t\t Value Transferring\r\n\t\t\t\t\t\t *************************/\r\n\r\n\t\t\t\t\t\t/* If this queue entry follows a previous Velocity-initiated queue entry *and* if this entry was created\r\n\t\t\t\t\t\t while the element was in the process of being animated by Velocity, then this current call is safe to use\r\n\t\t\t\t\t\t the end values from the prior call as its start values. Velocity attempts to perform this value transfer\r\n\t\t\t\t\t\t process whenever possible in order to avoid requerying the DOM. */\r\n\t\t\t\t\t\t/* If values aren't transferred from a prior call and start values were not forcefed by the user (more on this below),\r\n\t\t\t\t\t\t then the DOM is queried for the element's current values as a last resort. */\r\n\t\t\t\t\t\t/* Note: Conversely, animation reversal (and looping) *always* perform inter-call value transfers; they never requery the DOM. */\r\n\r\n\t\t\t\t\t\tdata = Data(element);\r\n\r\n\t\t\t\t\t\t/* The per-element isAnimating flag is used to indicate whether it's safe (i.e. the data isn't stale)\r\n\t\t\t\t\t\t to transfer over end values to use as start values. If it's set to true and there is a previous\r\n\t\t\t\t\t\t Velocity call to pull values from, do so. */\r\n\t\t\t\t\t\tif (data && data.tweensContainer && data.isAnimating === true) {\r\n\t\t\t\t\t\t\tlastTweensContainer = data.tweensContainer;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/***************************\r\n\t\t\t\t\t\t Tween Data Calculation\r\n\t\t\t\t\t\t ***************************/\r\n\r\n\t\t\t\t\t\t/* This function parses property data and defaults endValue, easing, and startValue as appropriate. */\r\n\t\t\t\t\t\t/* Property map values can either take the form of 1) a single value representing the end value,\r\n\t\t\t\t\t\t or 2) an array in the form of [ endValue, [, easing] [, startValue] ].\r\n\t\t\t\t\t\t The optional third parameter is a forcefed startValue to be used instead of querying the DOM for\r\n\t\t\t\t\t\t the element's current value. Read Velocity's docmentation to learn more about forcefeeding: VelocityJS.org/#forcefeeding */\r\n\t\t\t\t\t\tvar parsePropertyValue = function(valueData, skipResolvingEasing) {\r\n\t\t\t\t\t\t\tvar endValue, easing, startValue;\r\n\r\n\t\t\t\t\t\t\t/* If we have a function as the main argument then resolve it first, in case it returns an array that needs to be split */\r\n\t\t\t\t\t\t\tif (Type.isFunction(valueData)) {\r\n\t\t\t\t\t\t\t\tvalueData = valueData.call(element, elementArrayIndex, elementsLength);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Handle the array format, which can be structured as one of three potential overloads:\r\n\t\t\t\t\t\t\t A) [ endValue, easing, startValue ], B) [ endValue, easing ], or C) [ endValue, startValue ] */\r\n\t\t\t\t\t\t\tif (Type.isArray(valueData)) {\r\n\t\t\t\t\t\t\t\t/* endValue is always the first item in the array. Don't bother validating endValue's value now\r\n\t\t\t\t\t\t\t\t since the ensuing property cycling logic does that. */\r\n\t\t\t\t\t\t\t\tendValue = valueData[0];\r\n\r\n\t\t\t\t\t\t\t\t/* Two-item array format: If the second item is a number, function, or hex string, treat it as a\r\n\t\t\t\t\t\t\t\t start value since easings can only be non-hex strings or arrays. */\r\n\t\t\t\t\t\t\t\tif ((!Type.isArray(valueData[1]) && /^[\\d-]/.test(valueData[1])) || Type.isFunction(valueData[1]) || CSS.RegEx.isHex.test(valueData[1])) {\r\n\t\t\t\t\t\t\t\t\tstartValue = valueData[1];\r\n\t\t\t\t\t\t\t\t\t/* Two or three-item array: If the second item is a non-hex string easing name or an array, treat it as an easing. */\r\n\t\t\t\t\t\t\t\t} else if ((Type.isString(valueData[1]) && !CSS.RegEx.isHex.test(valueData[1]) && Velocity.Easings[valueData[1]]) || Type.isArray(valueData[1])) {\r\n\t\t\t\t\t\t\t\t\teasing = skipResolvingEasing ? valueData[1] : getEasing(valueData[1], opts.duration);\r\n\r\n\t\t\t\t\t\t\t\t\t/* Don't bother validating startValue's value now since the ensuing property cycling logic inherently does that. */\r\n\t\t\t\t\t\t\t\t\tstartValue = valueData[2];\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tstartValue = valueData[1] || valueData[2];\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t/* Handle the single-value format. */\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\tendValue = valueData;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Default to the call's easing if a per-property easing type was not defined. */\r\n\t\t\t\t\t\t\tif (!skipResolvingEasing) {\r\n\t\t\t\t\t\t\t\teasing = easing || opts.easing;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* If functions were passed in as values, pass the function the current element as its context,\r\n\t\t\t\t\t\t\t plus the element's index and the element set's size as arguments. Then, assign the returned value. */\r\n\t\t\t\t\t\t\tif (Type.isFunction(endValue)) {\r\n\t\t\t\t\t\t\t\tendValue = endValue.call(element, elementArrayIndex, elementsLength);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (Type.isFunction(startValue)) {\r\n\t\t\t\t\t\t\t\tstartValue = startValue.call(element, elementArrayIndex, elementsLength);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Allow startValue to be left as undefined to indicate to the ensuing code that its value was not forcefed. */\r\n\t\t\t\t\t\t\treturn [endValue || 0, easing, startValue];\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\tvar fixPropertyValue = function(property, valueData) {\r\n\t\t\t\t\t\t\t/* In case this property is a hook, there are circumstances where we will intend to work on the hook's root property and not the hooked subproperty. */\r\n\t\t\t\t\t\t\tvar rootProperty = CSS.Hooks.getRoot(property),\r\n\t\t\t\t\t\t\t\t\trootPropertyValue = false,\r\n\t\t\t\t\t\t\t\t\t/* Parse out endValue, easing, and startValue from the property's data. */\r\n\t\t\t\t\t\t\t\t\tendValue = valueData[0],\r\n\t\t\t\t\t\t\t\t\teasing = valueData[1],\r\n\t\t\t\t\t\t\t\t\tstartValue = valueData[2],\r\n\t\t\t\t\t\t\t\t\tpattern;\r\n\r\n\t\t\t\t\t\t\t/**************************\r\n\t\t\t\t\t\t\t Start Value Sourcing\r\n\t\t\t\t\t\t\t **************************/\r\n\r\n\t\t\t\t\t\t\t/* Other than for the dummy tween property, properties that are not supported by the browser (and do not have an associated normalization) will\r\n\t\t\t\t\t\t\t inherently produce no style changes when set, so they are skipped in order to decrease animation tick overhead.\r\n\t\t\t\t\t\t\t Property support is determined via prefixCheck(), which returns a false flag when no supported is detected. */\r\n\t\t\t\t\t\t\t/* Note: Since SVG elements have some of their properties directly applied as HTML attributes,\r\n\t\t\t\t\t\t\t there is no way to check for their explicit browser support, and so we skip skip this check for them. */\r\n\t\t\t\t\t\t\tif ((!data || !data.isSVG) && rootProperty !== \"tween\" && CSS.Names.prefixCheck(rootProperty)[1] === false && CSS.Normalizations.registered[rootProperty] === undefined) {\r\n\t\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\"Skipping [\" + rootProperty + \"] due to a lack of browser support.\");\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\treturn;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* If the display option is being set to a non-\"none\" (e.g. \"block\") and opacity (filter on IE<=8) is being\r\n\t\t\t\t\t\t\t animated to an endValue of non-zero, the user's intention is to fade in from invisible, thus we forcefeed opacity\r\n\t\t\t\t\t\t\t a startValue of 0 if its startValue hasn't already been sourced by value transferring or prior forcefeeding. */\r\n\t\t\t\t\t\t\tif (((opts.display !== undefined && opts.display !== null && opts.display !== \"none\") || (opts.visibility !== undefined && opts.visibility !== \"hidden\")) && /opacity|filter/.test(property) && !startValue && endValue !== 0) {\r\n\t\t\t\t\t\t\t\tstartValue = 0;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* If values have been transferred from the previous Velocity call, extract the endValue and rootPropertyValue\r\n\t\t\t\t\t\t\t for all of the current call's properties that were *also* animated in the previous call. */\r\n\t\t\t\t\t\t\t/* Note: Value transferring can optionally be disabled by the user via the _cacheValues option. */\r\n\t\t\t\t\t\t\tif (opts._cacheValues && lastTweensContainer && lastTweensContainer[property]) {\r\n\t\t\t\t\t\t\t\tif (startValue === undefined) {\r\n\t\t\t\t\t\t\t\t\tstartValue = lastTweensContainer[property].endValue + lastTweensContainer[property].unitType;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* The previous call's rootPropertyValue is extracted from the element's data cache since that's the\r\n\t\t\t\t\t\t\t\t instance of rootPropertyValue that gets freshly updated by the tweening process, whereas the rootPropertyValue\r\n\t\t\t\t\t\t\t\t attached to the incoming lastTweensContainer is equal to the root property's value prior to any tweening. */\r\n\t\t\t\t\t\t\t\trootPropertyValue = data.rootPropertyValueCache[rootProperty];\r\n\t\t\t\t\t\t\t\t/* If values were not transferred from a previous Velocity call, query the DOM as needed. */\r\n\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t/* Handle hooked properties. */\r\n\t\t\t\t\t\t\t\tif (CSS.Hooks.registered[property]) {\r\n\t\t\t\t\t\t\t\t\tif (startValue === undefined) {\r\n\t\t\t\t\t\t\t\t\t\trootPropertyValue = CSS.getPropertyValue(element, rootProperty); /* GET */\r\n\t\t\t\t\t\t\t\t\t\t/* Note: The following getPropertyValue() call does not actually trigger a DOM query;\r\n\t\t\t\t\t\t\t\t\t\t getPropertyValue() will extract the hook from rootPropertyValue. */\r\n\t\t\t\t\t\t\t\t\t\tstartValue = CSS.getPropertyValue(element, property, rootPropertyValue);\r\n\t\t\t\t\t\t\t\t\t\t/* If startValue is already defined via forcefeeding, do not query the DOM for the root property's value;\r\n\t\t\t\t\t\t\t\t\t\t just grab rootProperty's zero-value template from CSS.Hooks. This overwrites the element's actual\r\n\t\t\t\t\t\t\t\t\t\t root property value (if one is set), but this is acceptable since the primary reason users forcefeed is\r\n\t\t\t\t\t\t\t\t\t\t to avoid DOM queries, and thus we likewise avoid querying the DOM for the root property's value. */\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t/* Grab this hook's zero-value template, e.g. \"0px 0px 0px black\". */\r\n\t\t\t\t\t\t\t\t\t\trootPropertyValue = CSS.Hooks.templates[rootProperty][1];\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/* Handle non-hooked properties that haven't already been defined via forcefeeding. */\r\n\t\t\t\t\t\t\t\t} else if (startValue === undefined) {\r\n\t\t\t\t\t\t\t\t\tstartValue = CSS.getPropertyValue(element, property); /* GET */\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/**************************\r\n\t\t\t\t\t\t\t Value Data Extraction\r\n\t\t\t\t\t\t\t **************************/\r\n\r\n\t\t\t\t\t\t\tvar separatedValue,\r\n\t\t\t\t\t\t\t\t\tendValueUnitType,\r\n\t\t\t\t\t\t\t\t\tstartValueUnitType,\r\n\t\t\t\t\t\t\t\t\toperator = false;\r\n\r\n\t\t\t\t\t\t\t/* Separates a property value into its numeric value and its unit type. */\r\n\t\t\t\t\t\t\tvar separateValue = function(property, value) {\r\n\t\t\t\t\t\t\t\tvar unitType,\r\n\t\t\t\t\t\t\t\t\t\tnumericValue;\r\n\r\n\t\t\t\t\t\t\t\tnumericValue = (value || \"0\")\r\n\t\t\t\t\t\t\t\t\t\t.toString()\r\n\t\t\t\t\t\t\t\t\t\t.toLowerCase()\r\n\t\t\t\t\t\t\t\t\t\t/* Match the unit type at the end of the value. */\r\n\t\t\t\t\t\t\t\t\t\t.replace(/[%A-z]+$/, function(match) {\r\n\t\t\t\t\t\t\t\t\t\t\t/* Grab the unit type. */\r\n\t\t\t\t\t\t\t\t\t\t\tunitType = match;\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t/* Strip the unit type off of value. */\r\n\t\t\t\t\t\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t\t/* If no unit type was supplied, assign one that is appropriate for this property (e.g. \"deg\" for rotateZ or \"px\" for width). */\r\n\t\t\t\t\t\t\t\tif (!unitType) {\r\n\t\t\t\t\t\t\t\t\tunitType = CSS.Values.getUnitType(property);\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\treturn [numericValue, unitType];\r\n\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\tif (startValue !== endValue && Type.isString(startValue) && Type.isString(endValue)) {\r\n\t\t\t\t\t\t\t\tpattern = \"\";\r\n\t\t\t\t\t\t\t\tvar iStart = 0, // index in startValue\r\n\t\t\t\t\t\t\t\t\t\tiEnd = 0, // index in endValue\r\n\t\t\t\t\t\t\t\t\t\taStart = [], // array of startValue numbers\r\n\t\t\t\t\t\t\t\t\t\taEnd = [], // array of endValue numbers\r\n\t\t\t\t\t\t\t\t\t\tinCalc = 0, // Keep track of being inside a \"calc()\" so we don't duplicate it\r\n\t\t\t\t\t\t\t\t\t\tinRGB = 0, // Keep track of being inside an RGB as we can't use fractional values\r\n\t\t\t\t\t\t\t\t\t\tinRGBA = 0; // Keep track of being inside an RGBA as we must pass fractional for the alpha channel\r\n\r\n\t\t\t\t\t\t\t\tstartValue = CSS.Hooks.fixColors(startValue);\r\n\t\t\t\t\t\t\t\tendValue = CSS.Hooks.fixColors(endValue);\r\n\t\t\t\t\t\t\t\twhile (iStart < startValue.length && iEnd < endValue.length) {\r\n\t\t\t\t\t\t\t\t\tvar cStart = startValue[iStart],\r\n\t\t\t\t\t\t\t\t\t\t\tcEnd = endValue[iEnd];\r\n\r\n\t\t\t\t\t\t\t\t\tif (/[\\d\\.-]/.test(cStart) && /[\\d\\.-]/.test(cEnd)) {\r\n\t\t\t\t\t\t\t\t\t\tvar tStart = cStart, // temporary character buffer\r\n\t\t\t\t\t\t\t\t\t\t\t\ttEnd = cEnd, // temporary character buffer\r\n\t\t\t\t\t\t\t\t\t\t\t\tdotStart = \".\", // Make sure we can only ever match a single dot in a decimal\r\n\t\t\t\t\t\t\t\t\t\t\t\tdotEnd = \".\"; // Make sure we can only ever match a single dot in a decimal\r\n\r\n\t\t\t\t\t\t\t\t\t\twhile (++iStart < startValue.length) {\r\n\t\t\t\t\t\t\t\t\t\t\tcStart = startValue[iStart];\r\n\t\t\t\t\t\t\t\t\t\t\tif (cStart === dotStart) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tdotStart = \"..\"; // Can never match two characters\r\n\t\t\t\t\t\t\t\t\t\t\t} else if (!/\\d/.test(cStart)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\ttStart += cStart;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\twhile (++iEnd < endValue.length) {\r\n\t\t\t\t\t\t\t\t\t\t\tcEnd = endValue[iEnd];\r\n\t\t\t\t\t\t\t\t\t\t\tif (cEnd === dotEnd) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tdotEnd = \"..\"; // Can never match two characters\r\n\t\t\t\t\t\t\t\t\t\t\t} else if (!/\\d/.test(cEnd)) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\ttEnd += cEnd;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tvar uStart = CSS.Hooks.getUnit(startValue, iStart), // temporary unit type\r\n\t\t\t\t\t\t\t\t\t\t\t\tuEnd = CSS.Hooks.getUnit(endValue, iEnd); // temporary unit type\r\n\r\n\t\t\t\t\t\t\t\t\t\tiStart += uStart.length;\r\n\t\t\t\t\t\t\t\t\t\tiEnd += uEnd.length;\r\n\t\t\t\t\t\t\t\t\t\tif (uStart === uEnd) {\r\n\t\t\t\t\t\t\t\t\t\t\t// Same units\r\n\t\t\t\t\t\t\t\t\t\t\tif (tStart === tEnd) {\r\n\t\t\t\t\t\t\t\t\t\t\t\t// Same numbers, so just copy over\r\n\t\t\t\t\t\t\t\t\t\t\t\tpattern += tStart + uStart;\r\n\t\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t\t// Different numbers, so store them\r\n\t\t\t\t\t\t\t\t\t\t\t\tpattern += \"{\" + aStart.length + (inRGB ? \"!\" : \"\") + \"}\" + uStart;\r\n\t\t\t\t\t\t\t\t\t\t\t\taStart.push(parseFloat(tStart));\r\n\t\t\t\t\t\t\t\t\t\t\t\taEnd.push(parseFloat(tEnd));\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\t// Different units, so put into a \"calc(from + to)\" and animate each side to/from zero\r\n\t\t\t\t\t\t\t\t\t\t\tvar nStart = parseFloat(tStart),\r\n\t\t\t\t\t\t\t\t\t\t\t\t\tnEnd = parseFloat(tEnd);\r\n\r\n\t\t\t\t\t\t\t\t\t\t\tpattern += (inCalc < 5 ? \"calc\" : \"\") + \"(\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ (nStart ? \"{\" + aStart.length + (inRGB ? \"!\" : \"\") + \"}\" : \"0\") + uStart\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ \" + \"\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ (nEnd ? \"{\" + (aStart.length + (nStart ? 1 : 0)) + (inRGB ? \"!\" : \"\") + \"}\" : \"0\") + uEnd\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t+ \")\";\r\n\t\t\t\t\t\t\t\t\t\t\tif (nStart) {\r\n\t\t\t\t\t\t\t\t\t\t\t\taStart.push(nStart);\r\n\t\t\t\t\t\t\t\t\t\t\t\taEnd.push(0);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tif (nEnd) {\r\n\t\t\t\t\t\t\t\t\t\t\t\taStart.push(0);\r\n\t\t\t\t\t\t\t\t\t\t\t\taEnd.push(nEnd);\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t} else if (cStart === cEnd) {\r\n\t\t\t\t\t\t\t\t\t\tpattern += cStart;\r\n\t\t\t\t\t\t\t\t\t\tiStart++;\r\n\t\t\t\t\t\t\t\t\t\tiEnd++;\r\n\t\t\t\t\t\t\t\t\t\t// Keep track of being inside a calc()\r\n\t\t\t\t\t\t\t\t\t\tif (inCalc === 0 && cStart === \"c\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inCalc === 1 && cStart === \"a\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inCalc === 2 && cStart === \"l\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inCalc === 3 && cStart === \"c\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inCalc >= 4 && cStart === \"(\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\t\t\tinCalc++;\r\n\t\t\t\t\t\t\t\t\t\t} else if ((inCalc && inCalc < 5)\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inCalc >= 4 && cStart === \")\" && --inCalc < 5) {\r\n\t\t\t\t\t\t\t\t\t\t\tinCalc = 0;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t// Keep track of being inside an rgb() / rgba()\r\n\t\t\t\t\t\t\t\t\t\tif (inRGB === 0 && cStart === \"r\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inRGB === 1 && cStart === \"g\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inRGB === 2 && cStart === \"b\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inRGB === 3 && cStart === \"a\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inRGB >= 3 && cStart === \"(\"\r\n\t\t\t\t\t\t\t\t\t\t\t\t) {\r\n\t\t\t\t\t\t\t\t\t\t\tif (inRGB === 3 && cStart === \"a\") {\r\n\t\t\t\t\t\t\t\t\t\t\t\tinRGBA = 1;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\tinRGB++;\r\n\t\t\t\t\t\t\t\t\t\t} else if (inRGBA && cStart === \",\") {\r\n\t\t\t\t\t\t\t\t\t\t\tif (++inRGBA > 3) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tinRGB = inRGBA = 0;\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t} else if ((inRGBA && inRGB < (inRGBA ? 5 : 4))\r\n\t\t\t\t\t\t\t\t\t\t\t\t|| inRGB >= (inRGBA ? 4 : 3) && cStart === \")\" && --inRGB < (inRGBA ? 5 : 4)) {\r\n\t\t\t\t\t\t\t\t\t\t\tinRGB = inRGBA = 0;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tinCalc = 0;\r\n\t\t\t\t\t\t\t\t\t\t// TODO: changing units, fixing colours\r\n\t\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (iStart !== startValue.length || iEnd !== endValue.length) {\r\n\t\t\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\t\t\tconsole.error(\"Trying to pattern match mis-matched strings [\\\"\" + endValue + \"\\\", \\\"\" + startValue + \"\\\"]\");\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tpattern = undefined;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (pattern) {\r\n\t\t\t\t\t\t\t\t\tif (aStart.length) {\r\n\t\t\t\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\t\t\t\tconsole.log(\"Pattern found \\\"\" + pattern + \"\\\" -> \", aStart, aEnd, \"[\" + startValue + \",\" + endValue + \"]\");\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tstartValue = aStart;\r\n\t\t\t\t\t\t\t\t\t\tendValue = aEnd;\r\n\t\t\t\t\t\t\t\t\t\tendValueUnitType = startValueUnitType = \"\";\r\n\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\tpattern = undefined;\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (!pattern) {\r\n\t\t\t\t\t\t\t\t/* Separate startValue. */\r\n\t\t\t\t\t\t\t\tseparatedValue = separateValue(property, startValue);\r\n\t\t\t\t\t\t\t\tstartValue = separatedValue[0];\r\n\t\t\t\t\t\t\t\tstartValueUnitType = separatedValue[1];\r\n\r\n\t\t\t\t\t\t\t\t/* Separate endValue, and extract a value operator (e.g. \"+=\", \"-=\") if one exists. */\r\n\t\t\t\t\t\t\t\tseparatedValue = separateValue(property, endValue);\r\n\t\t\t\t\t\t\t\tendValue = separatedValue[0].replace(/^([+-\\/*])=/, function(match, subMatch) {\r\n\t\t\t\t\t\t\t\t\toperator = subMatch;\r\n\r\n\t\t\t\t\t\t\t\t\t/* Strip the operator off of the value. */\r\n\t\t\t\t\t\t\t\t\treturn \"\";\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\tendValueUnitType = separatedValue[1];\r\n\r\n\t\t\t\t\t\t\t\t/* Parse float values from endValue and startValue. Default to 0 if NaN is returned. */\r\n\t\t\t\t\t\t\t\tstartValue = parseFloat(startValue) || 0;\r\n\t\t\t\t\t\t\t\tendValue = parseFloat(endValue) || 0;\r\n\r\n\t\t\t\t\t\t\t\t/***************************************\r\n\t\t\t\t\t\t\t\t Property-Specific Value Conversion\r\n\t\t\t\t\t\t\t\t ***************************************/\r\n\r\n\t\t\t\t\t\t\t\t/* Custom support for properties that don't actually accept the % unit type, but where pollyfilling is trivial and relatively foolproof. */\r\n\t\t\t\t\t\t\t\tif (endValueUnitType === \"%\") {\r\n\t\t\t\t\t\t\t\t\t/* A %-value fontSize/lineHeight is relative to the parent's fontSize (as opposed to the parent's dimensions),\r\n\t\t\t\t\t\t\t\t\t which is identical to the em unit's behavior, so we piggyback off of that. */\r\n\t\t\t\t\t\t\t\t\tif (/^(fontSize|lineHeight)$/.test(property)) {\r\n\t\t\t\t\t\t\t\t\t\t/* Convert % into an em decimal value. */\r\n\t\t\t\t\t\t\t\t\t\tendValue = endValue / 100;\r\n\t\t\t\t\t\t\t\t\t\tendValueUnitType = \"em\";\r\n\t\t\t\t\t\t\t\t\t\t/* For scaleX and scaleY, convert the value into its decimal format and strip off the unit type. */\r\n\t\t\t\t\t\t\t\t\t} else if (/^scale/.test(property)) {\r\n\t\t\t\t\t\t\t\t\t\tendValue = endValue / 100;\r\n\t\t\t\t\t\t\t\t\t\tendValueUnitType = \"\";\r\n\t\t\t\t\t\t\t\t\t\t/* For RGB components, take the defined percentage of 255 and strip off the unit type. */\r\n\t\t\t\t\t\t\t\t\t} else if (/(Red|Green|Blue)$/i.test(property)) {\r\n\t\t\t\t\t\t\t\t\t\tendValue = (endValue / 100) * 255;\r\n\t\t\t\t\t\t\t\t\t\tendValueUnitType = \"\";\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/***************************\r\n\t\t\t\t\t\t\t Unit Ratio Calculation\r\n\t\t\t\t\t\t\t ***************************/\r\n\r\n\t\t\t\t\t\t\t/* When queried, the browser returns (most) CSS property values in pixels. Therefore, if an endValue with a unit type of\r\n\t\t\t\t\t\t\t %, em, or rem is animated toward, startValue must be converted from pixels into the same unit type as endValue in order\r\n\t\t\t\t\t\t\t for value manipulation logic (increment/decrement) to proceed. Further, if the startValue was forcefed or transferred\r\n\t\t\t\t\t\t\t from a previous call, startValue may also not be in pixels. Unit conversion logic therefore consists of two steps:\r\n\t\t\t\t\t\t\t 1) Calculating the ratio of %/em/rem/vh/vw relative to pixels\r\n\t\t\t\t\t\t\t 2) Converting startValue into the same unit of measurement as endValue based on these ratios. */\r\n\t\t\t\t\t\t\t/* Unit conversion ratios are calculated by inserting a sibling node next to the target node, copying over its position property,\r\n\t\t\t\t\t\t\t setting values with the target unit type then comparing the returned pixel value. */\r\n\t\t\t\t\t\t\t/* Note: Even if only one of these unit types is being animated, all unit ratios are calculated at once since the overhead\r\n\t\t\t\t\t\t\t of batching the SETs and GETs together upfront outweights the potential overhead\r\n\t\t\t\t\t\t\t of layout thrashing caused by re-querying for uncalculated ratios for subsequently-processed properties. */\r\n\t\t\t\t\t\t\t/* Todo: Shift this logic into the calls' first tick instance so that it's synced with RAF. */\r\n\t\t\t\t\t\t\tvar calculateUnitRatios = function() {\r\n\r\n\t\t\t\t\t\t\t\t/************************\r\n\t\t\t\t\t\t\t\t Same Ratio Checks\r\n\t\t\t\t\t\t\t\t ************************/\r\n\r\n\t\t\t\t\t\t\t\t/* The properties below are used to determine whether the element differs sufficiently from this call's\r\n\t\t\t\t\t\t\t\t previously iterated element to also differ in its unit conversion ratios. If the properties match up with those\r\n\t\t\t\t\t\t\t\t of the prior element, the prior element's conversion ratios are used. Like most optimizations in Velocity,\r\n\t\t\t\t\t\t\t\t this is done to minimize DOM querying. */\r\n\t\t\t\t\t\t\t\tvar sameRatioIndicators = {\r\n\t\t\t\t\t\t\t\t\tmyParent: element.parentNode || document.body, /* GET */\r\n\t\t\t\t\t\t\t\t\tposition: CSS.getPropertyValue(element, \"position\"), /* GET */\r\n\t\t\t\t\t\t\t\t\tfontSize: CSS.getPropertyValue(element, \"fontSize\") /* GET */\r\n\t\t\t\t\t\t\t\t},\r\n\t\t\t\t\t\t\t\t\t\t/* Determine if the same % ratio can be used. % is based on the element's position value and its parent's width and height dimensions. */\r\n\t\t\t\t\t\t\t\t\t\tsamePercentRatio = ((sameRatioIndicators.position === callUnitConversionData.lastPosition) && (sameRatioIndicators.myParent === callUnitConversionData.lastParent)),\r\n\t\t\t\t\t\t\t\t\t\t/* Determine if the same em ratio can be used. em is relative to the element's fontSize. */\r\n\t\t\t\t\t\t\t\t\t\tsameEmRatio = (sameRatioIndicators.fontSize === callUnitConversionData.lastFontSize);\r\n\r\n\t\t\t\t\t\t\t\t/* Store these ratio indicators call-wide for the next element to compare against. */\r\n\t\t\t\t\t\t\t\tcallUnitConversionData.lastParent = sameRatioIndicators.myParent;\r\n\t\t\t\t\t\t\t\tcallUnitConversionData.lastPosition = sameRatioIndicators.position;\r\n\t\t\t\t\t\t\t\tcallUnitConversionData.lastFontSize = sameRatioIndicators.fontSize;\r\n\r\n\t\t\t\t\t\t\t\t/***************************\r\n\t\t\t\t\t\t\t\t Element-Specific Units\r\n\t\t\t\t\t\t\t\t ***************************/\r\n\r\n\t\t\t\t\t\t\t\t/* Note: IE8 rounds to the nearest pixel when returning CSS values, thus we perform conversions using a measurement\r\n\t\t\t\t\t\t\t\t of 100 (instead of 1) to give our ratios a precision of at least 2 decimal values. */\r\n\t\t\t\t\t\t\t\tvar measurement = 100,\r\n\t\t\t\t\t\t\t\t\t\tunitRatios = {};\r\n\r\n\t\t\t\t\t\t\t\tif (!sameEmRatio || !samePercentRatio) {\r\n\t\t\t\t\t\t\t\t\tvar dummy = data && data.isSVG ? document.createElementNS(\"http://www.w3.org/2000/svg\", \"rect\") : document.createElement(\"div\");\r\n\r\n\t\t\t\t\t\t\t\t\tVelocity.init(dummy);\r\n\t\t\t\t\t\t\t\t\tsameRatioIndicators.myParent.appendChild(dummy);\r\n\r\n\t\t\t\t\t\t\t\t\t/* To accurately and consistently calculate conversion ratios, the element's cascaded overflow and box-sizing are stripped.\r\n\t\t\t\t\t\t\t\t\t Similarly, since width/height can be artificially constrained by their min-/max- equivalents, these are controlled for as well. */\r\n\t\t\t\t\t\t\t\t\t/* Note: Overflow must be also be controlled for per-axis since the overflow property overwrites its per-axis values. */\r\n\t\t\t\t\t\t\t\t\t$.each([\"overflow\", \"overflowX\", \"overflowY\"], function(i, property) {\r\n\t\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, property, \"hidden\");\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, \"position\", sameRatioIndicators.position);\r\n\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, \"fontSize\", sameRatioIndicators.fontSize);\r\n\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, \"boxSizing\", \"content-box\");\r\n\r\n\t\t\t\t\t\t\t\t\t/* width and height act as our proxy properties for measuring the horizontal and vertical % ratios. */\r\n\t\t\t\t\t\t\t\t\t$.each([\"minWidth\", \"maxWidth\", \"width\", \"minHeight\", \"maxHeight\", \"height\"], function(i, property) {\r\n\t\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, property, measurement + \"%\");\r\n\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t/* paddingLeft arbitrarily acts as our proxy property for the em ratio. */\r\n\t\t\t\t\t\t\t\t\tVelocity.CSS.setPropertyValue(dummy, \"paddingLeft\", measurement + \"em\");\r\n\r\n\t\t\t\t\t\t\t\t\t/* Divide the returned value by the measurement to get the ratio between 1% and 1px. Default to 1 since working with 0 can produce Infinite. */\r\n\t\t\t\t\t\t\t\t\tunitRatios.percentToPxWidth = callUnitConversionData.lastPercentToPxWidth = (parseFloat(CSS.getPropertyValue(dummy, \"width\", null, true)) || 1) / measurement; /* GET */\r\n\t\t\t\t\t\t\t\t\tunitRatios.percentToPxHeight = callUnitConversionData.lastPercentToPxHeight = (parseFloat(CSS.getPropertyValue(dummy, \"height\", null, true)) || 1) / measurement; /* GET */\r\n\t\t\t\t\t\t\t\t\tunitRatios.emToPx = callUnitConversionData.lastEmToPx = (parseFloat(CSS.getPropertyValue(dummy, \"paddingLeft\")) || 1) / measurement; /* GET */\r\n\r\n\t\t\t\t\t\t\t\t\tsameRatioIndicators.myParent.removeChild(dummy);\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\tunitRatios.emToPx = callUnitConversionData.lastEmToPx;\r\n\t\t\t\t\t\t\t\t\tunitRatios.percentToPxWidth = callUnitConversionData.lastPercentToPxWidth;\r\n\t\t\t\t\t\t\t\t\tunitRatios.percentToPxHeight = callUnitConversionData.lastPercentToPxHeight;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/***************************\r\n\t\t\t\t\t\t\t\t Element-Agnostic Units\r\n\t\t\t\t\t\t\t\t ***************************/\r\n\r\n\t\t\t\t\t\t\t\t/* Whereas % and em ratios are determined on a per-element basis, the rem unit only needs to be checked\r\n\t\t\t\t\t\t\t\t once per call since it's exclusively dependant upon document.body's fontSize. If this is the first time\r\n\t\t\t\t\t\t\t\t that calculateUnitRatios() is being run during this call, remToPx will still be set to its default value of null,\r\n\t\t\t\t\t\t\t\t so we calculate it now. */\r\n\t\t\t\t\t\t\t\tif (callUnitConversionData.remToPx === null) {\r\n\t\t\t\t\t\t\t\t\t/* Default to browsers' default fontSize of 16px in the case of 0. */\r\n\t\t\t\t\t\t\t\t\tcallUnitConversionData.remToPx = parseFloat(CSS.getPropertyValue(document.body, \"fontSize\")) || 16; /* GET */\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t/* Similarly, viewport units are %-relative to the window's inner dimensions. */\r\n\t\t\t\t\t\t\t\tif (callUnitConversionData.vwToPx === null) {\r\n\t\t\t\t\t\t\t\t\tcallUnitConversionData.vwToPx = parseFloat(window.innerWidth) / 100; /* GET */\r\n\t\t\t\t\t\t\t\t\tcallUnitConversionData.vhToPx = parseFloat(window.innerHeight) / 100; /* GET */\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\tunitRatios.remToPx = callUnitConversionData.remToPx;\r\n\t\t\t\t\t\t\t\tunitRatios.vwToPx = callUnitConversionData.vwToPx;\r\n\t\t\t\t\t\t\t\tunitRatios.vhToPx = callUnitConversionData.vhToPx;\r\n\r\n\t\t\t\t\t\t\t\tif (Velocity.debug >= 1) {\r\n\t\t\t\t\t\t\t\t\tconsole.log(\"Unit ratios: \" + JSON.stringify(unitRatios), element);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\treturn unitRatios;\r\n\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t/********************\r\n\t\t\t\t\t\t\t Unit Conversion\r\n\t\t\t\t\t\t\t ********************/\r\n\r\n\t\t\t\t\t\t\t/* The * and / operators, which are not passed in with an associated unit, inherently use startValue's unit. Skip value and unit conversion. */\r\n\t\t\t\t\t\t\tif (/[\\/*]/.test(operator)) {\r\n\t\t\t\t\t\t\t\tendValueUnitType = startValueUnitType;\r\n\t\t\t\t\t\t\t\t/* If startValue and endValue differ in unit type, convert startValue into the same unit type as endValue so that if endValueUnitType\r\n\t\t\t\t\t\t\t\t is a relative unit (%, em, rem), the values set during tweening will continue to be accurately relative even if the metrics they depend\r\n\t\t\t\t\t\t\t\t on are dynamically changing during the course of the animation. Conversely, if we always normalized into px and used px for setting values, the px ratio\r\n\t\t\t\t\t\t\t\t would become stale if the original unit being animated toward was relative and the underlying metrics change during the animation. */\r\n\t\t\t\t\t\t\t\t/* Since 0 is 0 in any unit type, no conversion is necessary when startValue is 0 -- we just start at 0 with endValueUnitType. */\r\n\t\t\t\t\t\t\t} else if ((startValueUnitType !== endValueUnitType) && startValue !== 0) {\r\n\t\t\t\t\t\t\t\t/* Unit conversion is also skipped when endValue is 0, but *startValueUnitType* must be used for tween values to remain accurate. */\r\n\t\t\t\t\t\t\t\t/* Note: Skipping unit conversion here means that if endValueUnitType was originally a relative unit, the animation won't relatively\r\n\t\t\t\t\t\t\t\t match the underlying metrics if they change, but this is acceptable since we're animating toward invisibility instead of toward visibility,\r\n\t\t\t\t\t\t\t\t which remains past the point of the animation's completion. */\r\n\t\t\t\t\t\t\t\tif (endValue === 0) {\r\n\t\t\t\t\t\t\t\t\tendValueUnitType = startValueUnitType;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t/* By this point, we cannot avoid unit conversion (it's undesirable since it causes layout thrashing).\r\n\t\t\t\t\t\t\t\t\t If we haven't already, we trigger calculateUnitRatios(), which runs once per element per call. */\r\n\t\t\t\t\t\t\t\t\telementUnitConversionData = elementUnitConversionData || calculateUnitRatios();\r\n\r\n\t\t\t\t\t\t\t\t\t/* The following RegEx matches CSS properties that have their % values measured relative to the x-axis. */\r\n\t\t\t\t\t\t\t\t\t/* Note: W3C spec mandates that all of margin and padding's properties (even top and bottom) are %-relative to the *width* of the parent element. */\r\n\t\t\t\t\t\t\t\t\tvar axis = (/margin|padding|left|right|width|text|word|letter/i.test(property) || /X$/.test(property) || property === \"x\") ? \"x\" : \"y\";\r\n\r\n\t\t\t\t\t\t\t\t\t/* In order to avoid generating n^2 bespoke conversion functions, unit conversion is a two-step process:\r\n\t\t\t\t\t\t\t\t\t 1) Convert startValue into pixels. 2) Convert this new pixel value into endValue's unit type. */\r\n\t\t\t\t\t\t\t\t\tswitch (startValueUnitType) {\r\n\t\t\t\t\t\t\t\t\t\tcase \"%\":\r\n\t\t\t\t\t\t\t\t\t\t\t/* Note: translateX and translateY are the only properties that are %-relative to an element's own dimensions -- not its parent's dimensions.\r\n\t\t\t\t\t\t\t\t\t\t\t Velocity does not include a special conversion process to account for this behavior. Therefore, animating translateX/Y from a % value\r\n\t\t\t\t\t\t\t\t\t\t\t to a non-% value will produce an incorrect start value. Fortunately, this sort of cross-unit conversion is rarely done by users in practice. */\r\n\t\t\t\t\t\t\t\t\t\t\tstartValue *= (axis === \"x\" ? elementUnitConversionData.percentToPxWidth : elementUnitConversionData.percentToPxHeight);\r\n\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\t\t\tcase \"px\":\r\n\t\t\t\t\t\t\t\t\t\t\t/* px acts as our midpoint in the unit conversion process; do nothing. */\r\n\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\t\t\t\t\tstartValue *= elementUnitConversionData[startValueUnitType + \"ToPx\"];\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/* Invert the px ratios to convert into to the target unit. */\r\n\t\t\t\t\t\t\t\t\tswitch (endValueUnitType) {\r\n\t\t\t\t\t\t\t\t\t\tcase \"%\":\r\n\t\t\t\t\t\t\t\t\t\t\tstartValue *= 1 / (axis === \"x\" ? elementUnitConversionData.percentToPxWidth : elementUnitConversionData.percentToPxHeight);\r\n\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\t\t\tcase \"px\":\r\n\t\t\t\t\t\t\t\t\t\t\t/* startValue is already in px, do nothing; we're done. */\r\n\t\t\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\t\t\tdefault:\r\n\t\t\t\t\t\t\t\t\t\t\tstartValue *= 1 / elementUnitConversionData[endValueUnitType + \"ToPx\"];\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/*********************\r\n\t\t\t\t\t\t\t Relative Values\r\n\t\t\t\t\t\t\t *********************/\r\n\r\n\t\t\t\t\t\t\t/* Operator logic must be performed last since it requires unit-normalized start and end values. */\r\n\t\t\t\t\t\t\t/* Note: Relative *percent values* do not behave how most people think; while one would expect \"+=50%\"\r\n\t\t\t\t\t\t\t to increase the property 1.5x its current value, it in fact increases the percent units in absolute terms:\r\n\t\t\t\t\t\t\t 50 points is added on top of the current % value. */\r\n\t\t\t\t\t\t\tswitch (operator) {\r\n\t\t\t\t\t\t\t\tcase \"+\":\r\n\t\t\t\t\t\t\t\t\tendValue = startValue + endValue;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\tcase \"-\":\r\n\t\t\t\t\t\t\t\t\tendValue = startValue - endValue;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\tcase \"*\":\r\n\t\t\t\t\t\t\t\t\tendValue = startValue * endValue;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\r\n\t\t\t\t\t\t\t\tcase \"/\":\r\n\t\t\t\t\t\t\t\t\tendValue = startValue / endValue;\r\n\t\t\t\t\t\t\t\t\tbreak;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/**************************\r\n\t\t\t\t\t\t\t tweensContainer Push\r\n\t\t\t\t\t\t\t **************************/\r\n\r\n\t\t\t\t\t\t\t/* Construct the per-property tween object, and push it to the element's tweensContainer. */\r\n\t\t\t\t\t\t\ttweensContainer[property] = {\r\n\t\t\t\t\t\t\t\trootPropertyValue: rootPropertyValue,\r\n\t\t\t\t\t\t\t\tstartValue: startValue,\r\n\t\t\t\t\t\t\t\tcurrentValue: startValue,\r\n\t\t\t\t\t\t\t\tendValue: endValue,\r\n\t\t\t\t\t\t\t\tunitType: endValueUnitType,\r\n\t\t\t\t\t\t\t\teasing: easing\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t\tif (pattern) {\r\n\t\t\t\t\t\t\t\ttweensContainer[property].pattern = pattern;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (Velocity.debug) {\r\n\t\t\t\t\t\t\t\tconsole.log(\"tweensContainer (\" + property + \"): \" + JSON.stringify(tweensContainer[property]), element);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t/* Create a tween out of each property, and append its associated data to tweensContainer. */\r\n\t\t\t\t\t\tfor (var property in propertiesMap) {\r\n\r\n\t\t\t\t\t\t\tif (!propertiesMap.hasOwnProperty(property)) {\r\n\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t/* The original property name's format must be used for the parsePropertyValue() lookup,\r\n\t\t\t\t\t\t\t but we then use its camelCase styling to normalize it for manipulation. */\r\n\t\t\t\t\t\t\tvar propertyName = CSS.Names.camelCase(property),\r\n\t\t\t\t\t\t\t\t\tvalueData = parsePropertyValue(propertiesMap[property]);\r\n\r\n\t\t\t\t\t\t\t/* Find shorthand color properties that have been passed a hex string. */\r\n\t\t\t\t\t\t\t/* Would be quicker to use CSS.Lists.colors.includes() if possible */\r\n\t\t\t\t\t\t\tif (_inArray(CSS.Lists.colors, propertyName)) {\r\n\t\t\t\t\t\t\t\t/* Parse the value data for each shorthand. */\r\n\t\t\t\t\t\t\t\tvar endValue = valueData[0],\r\n\t\t\t\t\t\t\t\t\t\teasing = valueData[1],\r\n\t\t\t\t\t\t\t\t\t\tstartValue = valueData[2];\r\n\r\n\t\t\t\t\t\t\t\tif (CSS.RegEx.isHex.test(endValue)) {\r\n\t\t\t\t\t\t\t\t\t/* Convert the hex strings into their RGB component arrays. */\r\n\t\t\t\t\t\t\t\t\tvar colorComponents = [\"Red\", \"Green\", \"Blue\"],\r\n\t\t\t\t\t\t\t\t\t\t\tendValueRGB = CSS.Values.hexToRgb(endValue),\r\n\t\t\t\t\t\t\t\t\t\t\tstartValueRGB = startValue ? CSS.Values.hexToRgb(startValue) : undefined;\r\n\r\n\t\t\t\t\t\t\t\t\t/* Inject the RGB component tweens into propertiesMap. */\r\n\t\t\t\t\t\t\t\t\tfor (var i = 0; i < colorComponents.length; i++) {\r\n\t\t\t\t\t\t\t\t\t\tvar dataArray = [endValueRGB[i]];\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (easing) {\r\n\t\t\t\t\t\t\t\t\t\t\tdataArray.push(easing);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (startValueRGB !== undefined) {\r\n\t\t\t\t\t\t\t\t\t\t\tdataArray.push(startValueRGB[i]);\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t\tfixPropertyValue(propertyName + colorComponents[i], dataArray);\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t/* If we have replaced a shortcut color value then don't update the standard property name */\r\n\t\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tfixPropertyValue(propertyName, valueData);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Along with its property data, store a reference to the element itself onto tweensContainer. */\r\n\t\t\t\t\t\ttweensContainer.element = element;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/*****************\r\n\t\t\t\t\t Call Push\r\n\t\t\t\t\t *****************/\r\n\r\n\t\t\t\t\t/* Note: tweensContainer can be empty if all of the properties in this call's property map were skipped due to not\r\n\t\t\t\t\t being supported by the browser. The element property is used for checking that the tweensContainer has been appended to. */\r\n\t\t\t\t\tif (tweensContainer.element) {\r\n\t\t\t\t\t\t/* Apply the \"velocity-animating\" indicator class. */\r\n\t\t\t\t\t\tCSS.Values.addClass(element, \"velocity-animating\");\r\n\r\n\t\t\t\t\t\t/* The call array houses the tweensContainers for each element being animated in the current call. */\r\n\t\t\t\t\t\tcall.push(tweensContainer);\r\n\r\n\t\t\t\t\t\tdata = Data(element);\r\n\r\n\t\t\t\t\t\tif (data) {\r\n\t\t\t\t\t\t\t/* Store the tweensContainer and options if we're working on the default effects queue, so that they can be used by the reverse command. */\r\n\t\t\t\t\t\t\tif (opts.queue === \"\") {\r\n\r\n\t\t\t\t\t\t\t\tdata.tweensContainer = tweensContainer;\r\n\t\t\t\t\t\t\t\tdata.opts = opts;\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Switch on the element's animating flag. */\r\n\t\t\t\t\t\t\tdata.isAnimating = true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Once the final element in this call's element set has been processed, push the call array onto\r\n\t\t\t\t\t\t Velocity.State.calls for the animation tick to immediately begin processing. */\r\n\t\t\t\t\t\tif (elementsIndex === elementsLength - 1) {\r\n\t\t\t\t\t\t\t/* Add the current call plus its associated metadata (the element set and the call's options) onto the global call container.\r\n\t\t\t\t\t\t\t Anything on this call container is subjected to tick() processing. */\r\n\t\t\t\t\t\t\tVelocity.State.calls.push([call, elements, opts, null, promiseData.resolver, null, 0]);\r\n\r\n\t\t\t\t\t\t\t/* If the animation tick isn't running, start it. (Velocity shuts it off when there are no active calls to process.) */\r\n\t\t\t\t\t\t\tif (Velocity.State.isTicking === false) {\r\n\t\t\t\t\t\t\t\tVelocity.State.isTicking = true;\r\n\r\n\t\t\t\t\t\t\t\t/* Start the tick loop. */\r\n\t\t\t\t\t\t\t\ttick();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\telementsIndex++;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* When the queue option is set to false, the call skips the element's queue and fires immediately. */\r\n\t\t\t\tif (opts.queue === false) {\r\n\t\t\t\t\t/* Since this buildQueue call doesn't respect the element's existing queue (which is where a delay option would have been appended),\r\n\t\t\t\t\t we manually inject the delay property here with an explicit setTimeout. */\r\n\t\t\t\t\tif (opts.delay) {\r\n\r\n\t\t\t\t\t\t/* Temporarily store delayed elements to facilitate access for global pause/resume */\r\n\t\t\t\t\t\tvar callIndex = Velocity.State.delayedElements.count++;\r\n\t\t\t\t\t\tVelocity.State.delayedElements[callIndex] = element;\r\n\r\n\t\t\t\t\t\tvar delayComplete = (function(index) {\r\n\t\t\t\t\t\t\treturn function() {\r\n\t\t\t\t\t\t\t\t/* Clear the temporary element */\r\n\t\t\t\t\t\t\t\tVelocity.State.delayedElements[index] = false;\r\n\r\n\t\t\t\t\t\t\t\t/* Finally, issue the call */\r\n\t\t\t\t\t\t\t\tbuildQueue();\r\n\t\t\t\t\t\t\t};\r\n\t\t\t\t\t\t})(callIndex);\r\n\r\n\t\t\t\t\t\tData(element).delayBegin = (new Date()).getTime();\r\n\t\t\t\t\t\tData(element).delay = parseFloat(opts.delay);\r\n\t\t\t\t\t\tData(element).delayTimer = {\r\n\t\t\t\t\t\t\tsetTimeout: setTimeout(buildQueue, parseFloat(opts.delay)),\r\n\t\t\t\t\t\t\tnext: delayComplete\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tbuildQueue();\r\n\t\t\t\t\t}\r\n\t\t\t\t\t/* Otherwise, the call undergoes element queueing as normal. */\r\n\t\t\t\t\t/* Note: To interoperate with jQuery, Velocity uses jQuery's own $.queue() stack for queuing logic. */\r\n\t\t\t\t} else {\r\n\t\t\t\t\t$.queue(element, opts.queue, function(next, clearQueue) {\r\n\t\t\t\t\t\t/* If the clearQueue flag was passed in by the stop command, resolve this call's promise. (Promises can only be resolved once,\r\n\t\t\t\t\t\t so it's fine if this is repeatedly triggered for each element in the associated call.) */\r\n\t\t\t\t\t\tif (clearQueue === true) {\r\n\t\t\t\t\t\t\tif (promiseData.promise) {\r\n\t\t\t\t\t\t\t\tpromiseData.resolver(elements);\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t/* Do not continue with animation queueing. */\r\n\t\t\t\t\t\t\treturn true;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* This flag indicates to the upcoming completeCall() function that this queue entry was initiated by Velocity.\r\n\t\t\t\t\t\t See completeCall() for further details. */\r\n\t\t\t\t\t\tVelocity.velocityQueueEntryFlag = true;\r\n\r\n\t\t\t\t\t\tbuildQueue(next);\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*********************\r\n\t\t\t\t Auto-Dequeuing\r\n\t\t\t\t *********************/\r\n\r\n\t\t\t\t/* As per jQuery's $.queue() behavior, to fire the first non-custom-queue entry on an element, the element\r\n\t\t\t\t must be dequeued if its queue stack consists *solely* of the current call. (This can be determined by checking\r\n\t\t\t\t for the \"inprogress\" item that jQuery prepends to active queue stack arrays.) Regardless, whenever the element's\r\n\t\t\t\t queue is further appended with additional items -- including $.delay()'s or even $.animate() calls, the queue's\r\n\t\t\t\t first entry is automatically fired. This behavior contrasts that of custom queues, which never auto-fire. */\r\n\t\t\t\t/* Note: When an element set is being subjected to a non-parallel Velocity call, the animation will not begin until\r\n\t\t\t\t each one of the elements in the set has reached the end of its individually pre-existing queue chain. */\r\n\t\t\t\t/* Note: Unfortunately, most people don't fully grasp jQuery's powerful, yet quirky, $.queue() function.\r\n\t\t\t\t Lean more here: http://stackoverflow.com/questions/1058158/can-somebody-explain-jquery-queue-to-me */\r\n\t\t\t\tif ((opts.queue === \"\" || opts.queue === \"fx\") && $.queue(element)[0] !== \"inprogress\") {\r\n\t\t\t\t\t$.dequeue(element);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/**************************\r\n\t\t\t Element Set Iteration\r\n\t\t\t **************************/\r\n\r\n\t\t\t/* If the \"nodeType\" property exists on the elements variable, we're animating a single element.\r\n\t\t\t Place it in an array so that $.each() can iterate over it. */\r\n\t\t\t$.each(elements, function(i, element) {\r\n\t\t\t\t/* Ensure each element in a set has a nodeType (is a real element) to avoid throwing errors. */\r\n\t\t\t\tif (Type.isNode(element)) {\r\n\t\t\t\t\tprocessElement(element, i);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t/******************\r\n\t\t\t Option: Loop\r\n\t\t\t ******************/\r\n\r\n\t\t\t/* The loop option accepts an integer indicating how many times the element should loop between the values in the\r\n\t\t\t current call's properties map and the element's property values prior to this call. */\r\n\t\t\t/* Note: The loop option's logic is performed here -- after element processing -- because the current call needs\r\n\t\t\t to undergo its queue insertion prior to the loop option generating its series of constituent \"reverse\" calls,\r\n\t\t\t which chain after the current call. Two reverse calls (two \"alternations\") constitute one loop. */\r\n\t\t\topts = $.extend({}, Velocity.defaults, options);\r\n\t\t\topts.loop = parseInt(opts.loop, 10);\r\n\t\t\tvar reverseCallsCount = (opts.loop * 2) - 1;\r\n\r\n\t\t\tif (opts.loop) {\r\n\t\t\t\t/* Double the loop count to convert it into its appropriate number of \"reverse\" calls.\r\n\t\t\t\t Subtract 1 from the resulting value since the current call is included in the total alternation count. */\r\n\t\t\t\tfor (var x = 0; x < reverseCallsCount; x++) {\r\n\t\t\t\t\t/* Since the logic for the reverse action occurs inside Queueing and therefore this call's options object\r\n\t\t\t\t\t isn't parsed until then as well, the current call's delay option must be explicitly passed into the reverse\r\n\t\t\t\t\t call so that the delay logic that occurs inside *Pre-Queueing* can process it. */\r\n\t\t\t\t\tvar reverseOptions = {\r\n\t\t\t\t\t\tdelay: opts.delay,\r\n\t\t\t\t\t\tprogress: opts.progress\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t/* If a complete callback was passed into this call, transfer it to the loop redirect's final \"reverse\" call\r\n\t\t\t\t\t so that it's triggered when the entire redirect is complete (and not when the very first animation is complete). */\r\n\t\t\t\t\tif (x === reverseCallsCount - 1) {\r\n\t\t\t\t\t\treverseOptions.display = opts.display;\r\n\t\t\t\t\t\treverseOptions.visibility = opts.visibility;\r\n\t\t\t\t\t\treverseOptions.complete = opts.complete;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tanimate(elements, \"reverse\", reverseOptions);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/***************\r\n\t\t\t Chaining\r\n\t\t\t ***************/\r\n\r\n\t\t\t/* Return the elements back to the call chain, with wrapped elements taking precedence in case Velocity was called via the $.fn. extension. */\r\n\t\t\treturn getChain();\r\n\t\t};\r\n\r\n\t\t/* Turn Velocity into the animation function, extended with the pre-existing Velocity object. */\r\n\t\tVelocity = $.extend(animate, Velocity);\r\n\t\t/* For legacy support, also expose the literal animate method. */\r\n\t\tVelocity.animate = animate;\r\n\r\n\t\t/**************\r\n\t\t Timing\r\n\t\t **************/\r\n\r\n\t\t/* Ticker function. */\r\n\t\tvar ticker = window.requestAnimationFrame || rAFShim;\r\n\r\n\t\t/* Inactive browser tabs pause rAF, which results in all active animations immediately sprinting to their completion states when the tab refocuses.\r\n\t\t To get around this, we dynamically switch rAF to setTimeout (which the browser *doesn't* pause) when the tab loses focus. We skip this for mobile\r\n\t\t devices to avoid wasting battery power on inactive tabs. */\r\n\t\t/* Note: Tab focus detection doesn't work on older versions of IE, but that's okay since they don't support rAF to begin with. */\r\n\t\tif (!Velocity.State.isMobile && document.hidden !== undefined) {\r\n\t\t\tvar updateTicker = function() {\r\n\t\t\t\t/* Reassign the rAF function (which the global tick() function uses) based on the tab's focus state. */\r\n\t\t\t\tif (document.hidden) {\r\n\t\t\t\t\tticker = function(callback) {\r\n\t\t\t\t\t\t/* The tick function needs a truthy first argument in order to pass its internal timestamp check. */\r\n\t\t\t\t\t\treturn setTimeout(function() {\r\n\t\t\t\t\t\t\tcallback(true);\r\n\t\t\t\t\t\t}, 16);\r\n\t\t\t\t\t};\r\n\r\n\t\t\t\t\t/* The rAF loop has been paused by the browser, so we manually restart the tick. */\r\n\t\t\t\t\ttick();\r\n\t\t\t\t} else {\r\n\t\t\t\t\tticker = window.requestAnimationFrame || rAFShim;\r\n\t\t\t\t}\r\n\t\t\t};\r\n\r\n\t\t\t/* Page could be sitting in the background at this time (i.e. opened as new tab) so making sure we use correct ticker from the start */\r\n\t\t\tupdateTicker();\r\n\r\n\t\t\t/* And then run check again every time visibility changes */\r\n\t\t\tdocument.addEventListener(\"visibilitychange\", updateTicker);\r\n\t\t}\r\n\r\n\t\t/************\r\n\t\t Tick\r\n\t\t ************/\r\n\r\n\t\t/* Note: All calls to Velocity are pushed to the Velocity.State.calls array, which is fully iterated through upon each tick. */\r\n\t\tfunction tick(timestamp) {\r\n\t\t\t/* An empty timestamp argument indicates that this is the first tick occurence since ticking was turned on.\r\n\t\t\t We leverage this metadata to fully ignore the first tick pass since RAF's initial pass is fired whenever\r\n\t\t\t the browser's next tick sync time occurs, which results in the first elements subjected to Velocity\r\n\t\t\t calls being animated out of sync with any elements animated immediately thereafter. In short, we ignore\r\n\t\t\t the first RAF tick pass so that elements being immediately consecutively animated -- instead of simultaneously animated\r\n\t\t\t by the same Velocity call -- are properly batched into the same initial RAF tick and consequently remain in sync thereafter. */\r\n\t\t\tif (timestamp) {\r\n\t\t\t\t/* We normally use RAF's high resolution timestamp but as it can be significantly offset when the browser is\r\n\t\t\t\t under high stress we give the option for choppiness over allowing the browser to drop huge chunks of frames.\r\n\t\t\t\t We use performance.now() and shim it if it doesn't exist for when the tab is hidden. */\r\n\t\t\t\tvar timeCurrent = Velocity.timestamp && timestamp !== true ? timestamp : performance.now();\r\n\r\n\t\t\t\t/********************\r\n\t\t\t\t Call Iteration\r\n\t\t\t\t ********************/\r\n\r\n\t\t\t\tvar callsLength = Velocity.State.calls.length;\r\n\r\n\t\t\t\t/* To speed up iterating over this array, it is compacted (falsey items -- calls that have completed -- are removed)\r\n\t\t\t\t when its length has ballooned to a point that can impact tick performance. This only becomes necessary when animation\r\n\t\t\t\t has been continuous with many elements over a long period of time; whenever all active calls are completed, completeCall() clears Velocity.State.calls. */\r\n\t\t\t\tif (callsLength > 10000) {\r\n\t\t\t\t\tVelocity.State.calls = compactSparseArray(Velocity.State.calls);\r\n\t\t\t\t\tcallsLength = Velocity.State.calls.length;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* Iterate through each active call. */\r\n\t\t\t\tfor (var i = 0; i < callsLength; i++) {\r\n\t\t\t\t\t/* When a Velocity call is completed, its Velocity.State.calls entry is set to false. Continue on to the next call. */\r\n\t\t\t\t\tif (!Velocity.State.calls[i]) {\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/************************\r\n\t\t\t\t\t Call-Wide Variables\r\n\t\t\t\t\t ************************/\r\n\r\n\t\t\t\t\tvar callContainer = Velocity.State.calls[i],\r\n\t\t\t\t\t\t\tcall = callContainer[0],\r\n\t\t\t\t\t\t\topts = callContainer[2],\r\n\t\t\t\t\t\t\ttimeStart = callContainer[3],\r\n\t\t\t\t\t\t\tfirstTick = !timeStart,\r\n\t\t\t\t\t\t\ttweenDummyValue = null,\r\n\t\t\t\t\t\t\tpauseObject = callContainer[5],\r\n\t\t\t\t\t\t\tmillisecondsEllapsed = callContainer[6];\r\n\r\n\r\n\r\n\t\t\t\t\t/* If timeStart is undefined, then this is the first time that this call has been processed by tick().\r\n\t\t\t\t\t We assign timeStart now so that its value is as close to the real animation start time as possible.\r\n\t\t\t\t\t (Conversely, had timeStart been defined when this call was added to Velocity.State.calls, the delay\r\n\t\t\t\t\t between that time and now would cause the first few frames of the tween to be skipped since\r\n\t\t\t\t\t percentComplete is calculated relative to timeStart.) */\r\n\t\t\t\t\t/* Further, subtract 16ms (the approximate resolution of RAF) from the current time value so that the\r\n\t\t\t\t\t first tick iteration isn't wasted by animating at 0% tween completion, which would produce the\r\n\t\t\t\t\t same style value as the element's current value. */\r\n\t\t\t\t\tif (!timeStart) {\r\n\t\t\t\t\t\ttimeStart = Velocity.State.calls[i][3] = timeCurrent - 16;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* If a pause object is present, skip processing unless it has been set to resume */\r\n\t\t\t\t\tif (pauseObject) {\r\n\t\t\t\t\t\tif (pauseObject.resume === true) {\r\n\t\t\t\t\t\t\t/* Update the time start to accomodate the paused completion amount */\r\n\t\t\t\t\t\t\ttimeStart = callContainer[3] = Math.round(timeCurrent - millisecondsEllapsed - 16);\r\n\r\n\t\t\t\t\t\t\t/* Remove pause object after processing */\r\n\t\t\t\t\t\t\tcallContainer[5] = null;\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tmillisecondsEllapsed = callContainer[6] = timeCurrent - timeStart;\r\n\r\n\t\t\t\t\t/* The tween's completion percentage is relative to the tween's start time, not the tween's start value\r\n\t\t\t\t\t (which would result in unpredictable tween durations since JavaScript's timers are not particularly accurate).\r\n\t\t\t\t\t Accordingly, we ensure that percentComplete does not exceed 1. */\r\n\t\t\t\t\tvar percentComplete = Math.min((millisecondsEllapsed) / opts.duration, 1);\r\n\r\n\t\t\t\t\t/**********************\r\n\t\t\t\t\t Element Iteration\r\n\t\t\t\t\t **********************/\r\n\r\n\t\t\t\t\t/* For every call, iterate through each of the elements in its set. */\r\n\t\t\t\t\tfor (var j = 0, callLength = call.length; j < callLength; j++) {\r\n\t\t\t\t\t\tvar tweensContainer = call[j],\r\n\t\t\t\t\t\t\t\telement = tweensContainer.element;\r\n\r\n\t\t\t\t\t\t/* Check to see if this element has been deleted midway through the animation by checking for the\r\n\t\t\t\t\t\t continued existence of its data cache. If it's gone, or the element is currently paused, skip animating this element. */\r\n\t\t\t\t\t\tif (!Data(element)) {\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\tvar transformPropertyExists = false;\r\n\r\n\t\t\t\t\t\t/**********************************\r\n\t\t\t\t\t\t Display & Visibility Toggling\r\n\t\t\t\t\t\t **********************************/\r\n\r\n\t\t\t\t\t\t/* If the display option is set to non-\"none\", set it upfront so that the element can become visible before tweening begins.\r\n\t\t\t\t\t\t (Otherwise, display's \"none\" value is set in completeCall() once the animation has completed.) */\r\n\t\t\t\t\t\tif (opts.display !== undefined && opts.display !== null && opts.display !== \"none\") {\r\n\t\t\t\t\t\t\tif (opts.display === \"flex\") {\r\n\t\t\t\t\t\t\t\tvar flexValues = [\"-webkit-box\", \"-moz-box\", \"-ms-flexbox\", \"-webkit-flex\"];\r\n\r\n\t\t\t\t\t\t\t\t$.each(flexValues, function(i, flexValue) {\r\n\t\t\t\t\t\t\t\t\tCSS.setPropertyValue(element, \"display\", flexValue);\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tCSS.setPropertyValue(element, \"display\", opts.display);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Same goes with the visibility option, but its \"none\" equivalent is \"hidden\". */\r\n\t\t\t\t\t\tif (opts.visibility !== undefined && opts.visibility !== \"hidden\") {\r\n\t\t\t\t\t\t\tCSS.setPropertyValue(element, \"visibility\", opts.visibility);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/************************\r\n\t\t\t\t\t\t Property Iteration\r\n\t\t\t\t\t\t ************************/\r\n\r\n\t\t\t\t\t\t/* For every element, iterate through each property. */\r\n\t\t\t\t\t\tfor (var property in tweensContainer) {\r\n\t\t\t\t\t\t\t/* Note: In addition to property tween data, tweensContainer contains a reference to its associated element. */\r\n\t\t\t\t\t\t\tif (tweensContainer.hasOwnProperty(property) && property !== \"element\") {\r\n\t\t\t\t\t\t\t\tvar tween = tweensContainer[property],\r\n\t\t\t\t\t\t\t\t\t\tcurrentValue,\r\n\t\t\t\t\t\t\t\t\t\t/* Easing can either be a pre-genereated function or a string that references a pre-registered easing\r\n\t\t\t\t\t\t\t\t\t\t on the Velocity.Easings object. In either case, return the appropriate easing *function*. */\r\n\t\t\t\t\t\t\t\t\t\teasing = Type.isString(tween.easing) ? Velocity.Easings[tween.easing] : tween.easing;\r\n\r\n\t\t\t\t\t\t\t\t/******************************\r\n\t\t\t\t\t\t\t\t Current Value Calculation\r\n\t\t\t\t\t\t\t\t ******************************/\r\n\r\n\t\t\t\t\t\t\t\tif (Type.isString(tween.pattern)) {\r\n\t\t\t\t\t\t\t\t\tvar patternReplace = percentComplete === 1 ?\r\n\t\t\t\t\t\t\t\t\t\t\tfunction($0, index, round) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tvar result = tween.endValue[index];\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn round ? Math.round(result) : result;\r\n\t\t\t\t\t\t\t\t\t\t\t} :\r\n\t\t\t\t\t\t\t\t\t\t\tfunction($0, index, round) {\r\n\t\t\t\t\t\t\t\t\t\t\t\tvar startValue = tween.startValue[index],\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\ttweenDelta = tween.endValue[index] - startValue,\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresult = startValue + (tweenDelta * easing(percentComplete, opts, tweenDelta));\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t\treturn round ? Math.round(result) : result;\r\n\t\t\t\t\t\t\t\t\t\t\t};\r\n\r\n\t\t\t\t\t\t\t\t\tcurrentValue = tween.pattern.replace(/{(\\d+)(!)?}/g, patternReplace);\r\n\t\t\t\t\t\t\t\t} else if (percentComplete === 1) {\r\n\t\t\t\t\t\t\t\t\t/* If this is the last tick pass (if we've reached 100% completion for this tween),\r\n\t\t\t\t\t\t\t\t\t ensure that currentValue is explicitly set to its target endValue so that it's not subjected to any rounding. */\r\n\t\t\t\t\t\t\t\t\tcurrentValue = tween.endValue;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t/* Otherwise, calculate currentValue based on the current delta from startValue. */\r\n\t\t\t\t\t\t\t\t\tvar tweenDelta = tween.endValue - tween.startValue;\r\n\r\n\t\t\t\t\t\t\t\t\tcurrentValue = tween.startValue + (tweenDelta * easing(percentComplete, opts, tweenDelta));\r\n\t\t\t\t\t\t\t\t\t/* If no value change is occurring, don't proceed with DOM updating. */\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tif (!firstTick && (currentValue === tween.currentValue)) {\r\n\t\t\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\ttween.currentValue = currentValue;\r\n\r\n\t\t\t\t\t\t\t\t/* If we're tweening a fake 'tween' property in order to log transition values, update the one-per-call variable so that\r\n\t\t\t\t\t\t\t\t it can be passed into the progress callback. */\r\n\t\t\t\t\t\t\t\tif (property === \"tween\") {\r\n\t\t\t\t\t\t\t\t\ttweenDummyValue = currentValue;\r\n\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t/******************\r\n\t\t\t\t\t\t\t\t\t Hooks: Part I\r\n\t\t\t\t\t\t\t\t\t ******************/\r\n\t\t\t\t\t\t\t\t\tvar hookRoot;\r\n\r\n\t\t\t\t\t\t\t\t\t/* For hooked properties, the newly-updated rootPropertyValueCache is cached onto the element so that it can be used\r\n\t\t\t\t\t\t\t\t\t for subsequent hooks in this call that are associated with the same root property. If we didn't cache the updated\r\n\t\t\t\t\t\t\t\t\t rootPropertyValue, each subsequent update to the root property in this tick pass would reset the previous hook's\r\n\t\t\t\t\t\t\t\t\t updates to rootPropertyValue prior to injection. A nice performance byproduct of rootPropertyValue caching is that\r\n\t\t\t\t\t\t\t\t\t subsequently chained animations using the same hookRoot but a different hook can use this cached rootPropertyValue. */\r\n\t\t\t\t\t\t\t\t\tif (CSS.Hooks.registered[property]) {\r\n\t\t\t\t\t\t\t\t\t\thookRoot = CSS.Hooks.getRoot(property);\r\n\r\n\t\t\t\t\t\t\t\t\t\tvar rootPropertyValueCache = Data(element).rootPropertyValueCache[hookRoot];\r\n\r\n\t\t\t\t\t\t\t\t\t\tif (rootPropertyValueCache) {\r\n\t\t\t\t\t\t\t\t\t\t\ttween.rootPropertyValue = rootPropertyValueCache;\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/*****************\r\n\t\t\t\t\t\t\t\t\t DOM Update\r\n\t\t\t\t\t\t\t\t\t *****************/\r\n\r\n\t\t\t\t\t\t\t\t\t/* setPropertyValue() returns an array of the property name and property value post any normalization that may have been performed. */\r\n\t\t\t\t\t\t\t\t\t/* Note: To solve an IE<=8 positioning bug, the unit type is dropped when setting a property value of 0. */\r\n\t\t\t\t\t\t\t\t\tvar adjustedSetData = CSS.setPropertyValue(element, /* SET */\r\n\t\t\t\t\t\t\t\t\t\t\tproperty,\r\n\t\t\t\t\t\t\t\t\t\t\ttween.currentValue + (IE < 9 && parseFloat(currentValue) === 0 ? \"\" : tween.unitType),\r\n\t\t\t\t\t\t\t\t\t\t\ttween.rootPropertyValue,\r\n\t\t\t\t\t\t\t\t\t\t\ttween.scrollData);\r\n\r\n\t\t\t\t\t\t\t\t\t/*******************\r\n\t\t\t\t\t\t\t\t\t Hooks: Part II\r\n\t\t\t\t\t\t\t\t\t *******************/\r\n\r\n\t\t\t\t\t\t\t\t\t/* Now that we have the hook's updated rootPropertyValue (the post-processed value provided by adjustedSetData), cache it onto the element. */\r\n\t\t\t\t\t\t\t\t\tif (CSS.Hooks.registered[property]) {\r\n\t\t\t\t\t\t\t\t\t\t/* Since adjustedSetData contains normalized data ready for DOM updating, the rootPropertyValue needs to be re-extracted from its normalized form. ?? */\r\n\t\t\t\t\t\t\t\t\t\tif (CSS.Normalizations.registered[hookRoot]) {\r\n\t\t\t\t\t\t\t\t\t\t\tData(element).rootPropertyValueCache[hookRoot] = CSS.Normalizations.registered[hookRoot](\"extract\", null, adjustedSetData[1]);\r\n\t\t\t\t\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\t\t\t\t\tData(element).rootPropertyValueCache[hookRoot] = adjustedSetData[1];\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t\t/***************\r\n\t\t\t\t\t\t\t\t\t Transforms\r\n\t\t\t\t\t\t\t\t\t ***************/\r\n\r\n\t\t\t\t\t\t\t\t\t/* Flag whether a transform property is being animated so that flushTransformCache() can be triggered once this tick pass is complete. */\r\n\t\t\t\t\t\t\t\t\tif (adjustedSetData[0] === \"transform\") {\r\n\t\t\t\t\t\t\t\t\t\ttransformPropertyExists = true;\r\n\t\t\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/****************\r\n\t\t\t\t\t\t mobileHA\r\n\t\t\t\t\t\t ****************/\r\n\r\n\t\t\t\t\t\t/* If mobileHA is enabled, set the translate3d transform to null to force hardware acceleration.\r\n\t\t\t\t\t\t It's safe to override this property since Velocity doesn't actually support its animation (hooks are used in its place). */\r\n\t\t\t\t\t\tif (opts.mobileHA) {\r\n\t\t\t\t\t\t\t/* Don't set the null transform hack if we've already done so. */\r\n\t\t\t\t\t\t\tif (Data(element).transformCache.translate3d === undefined) {\r\n\t\t\t\t\t\t\t\t/* All entries on the transformCache object are later concatenated into a single transform string via flushTransformCache(). */\r\n\t\t\t\t\t\t\t\tData(element).transformCache.translate3d = \"(0px, 0px, 0px)\";\r\n\r\n\t\t\t\t\t\t\t\ttransformPropertyExists = true;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (transformPropertyExists) {\r\n\t\t\t\t\t\t\tCSS.flushTransformCache(element);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* The non-\"none\" display value is only applied to an element once -- when its associated call is first ticked through.\r\n\t\t\t\t\t Accordingly, it's set to false so that it isn't re-processed by this call in the next tick. */\r\n\t\t\t\t\tif (opts.display !== undefined && opts.display !== \"none\") {\r\n\t\t\t\t\t\tVelocity.State.calls[i][2].display = false;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (opts.visibility !== undefined && opts.visibility !== \"hidden\") {\r\n\t\t\t\t\t\tVelocity.State.calls[i][2].visibility = false;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Pass the elements and the timing data (percentComplete, msRemaining, timeStart, tweenDummyValue) into the progress callback. */\r\n\t\t\t\t\tif (opts.progress) {\r\n\t\t\t\t\t\topts.progress.call(callContainer[1],\r\n\t\t\t\t\t\t\t\tcallContainer[1],\r\n\t\t\t\t\t\t\t\tpercentComplete,\r\n\t\t\t\t\t\t\t\tMath.max(0, (timeStart + opts.duration) - timeCurrent),\r\n\t\t\t\t\t\t\t\ttimeStart,\r\n\t\t\t\t\t\t\t\ttweenDummyValue);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* If this call has finished tweening, pass its index to completeCall() to handle call cleanup. */\r\n\t\t\t\t\tif (percentComplete === 1) {\r\n\t\t\t\t\t\tcompleteCall(i);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/* Note: completeCall() sets the isTicking flag to false when the last call on Velocity.State.calls has completed. */\r\n\t\t\tif (Velocity.State.isTicking) {\r\n\t\t\t\tticker(tick);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/**********************\r\n\t\t Call Completion\r\n\t\t **********************/\r\n\r\n\t\t/* Note: Unlike tick(), which processes all active calls at once, call completion is handled on a per-call basis. */\r\n\t\tfunction completeCall(callIndex, isStopped) {\r\n\t\t\t/* Ensure the call exists. */\r\n\t\t\tif (!Velocity.State.calls[callIndex]) {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n\t\t\t/* Pull the metadata from the call. */\r\n\t\t\tvar call = Velocity.State.calls[callIndex][0],\r\n\t\t\t\t\telements = Velocity.State.calls[callIndex][1],\r\n\t\t\t\t\topts = Velocity.State.calls[callIndex][2],\r\n\t\t\t\t\tresolver = Velocity.State.calls[callIndex][4];\r\n\r\n\t\t\tvar remainingCallsExist = false;\r\n\r\n\t\t\t/*************************\r\n\t\t\t Element Finalization\r\n\t\t\t *************************/\r\n\r\n\t\t\tfor (var i = 0, callLength = call.length; i < callLength; i++) {\r\n\t\t\t\tvar element = call[i].element;\r\n\r\n\t\t\t\t/* If the user set display to \"none\" (intending to hide the element), set it now that the animation has completed. */\r\n\t\t\t\t/* Note: display:none isn't set when calls are manually stopped (via Velocity(\"stop\"). */\r\n\t\t\t\t/* Note: Display gets ignored with \"reverse\" calls and infinite loops, since this behavior would be undesirable. */\r\n\t\t\t\tif (!isStopped && !opts.loop) {\r\n\t\t\t\t\tif (opts.display === \"none\") {\r\n\t\t\t\t\t\tCSS.setPropertyValue(element, \"display\", opts.display);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (opts.visibility === \"hidden\") {\r\n\t\t\t\t\t\tCSS.setPropertyValue(element, \"visibility\", opts.visibility);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* If the element's queue is empty (if only the \"inprogress\" item is left at position 0) or if its queue is about to run\r\n\t\t\t\t a non-Velocity-initiated entry, turn off the isAnimating flag. A non-Velocity-initiatied queue entry's logic might alter\r\n\t\t\t\t an element's CSS values and thereby cause Velocity's cached value data to go stale. To detect if a queue entry was initiated by Velocity,\r\n\t\t\t\t we check for the existence of our special Velocity.queueEntryFlag declaration, which minifiers won't rename since the flag\r\n\t\t\t\t is assigned to jQuery's global $ object and thus exists out of Velocity's own scope. */\r\n\t\t\t\tvar data = Data(element);\r\n\r\n\t\t\t\tif (opts.loop !== true && ($.queue(element)[1] === undefined || !/\\.velocityQueueEntryFlag/i.test($.queue(element)[1]))) {\r\n\t\t\t\t\t/* The element may have been deleted. Ensure that its data cache still exists before acting on it. */\r\n\t\t\t\t\tif (data) {\r\n\t\t\t\t\t\tdata.isAnimating = false;\r\n\t\t\t\t\t\t/* Clear the element's rootPropertyValueCache, which will become stale. */\r\n\t\t\t\t\t\tdata.rootPropertyValueCache = {};\r\n\r\n\t\t\t\t\t\tvar transformHAPropertyExists = false;\r\n\t\t\t\t\t\t/* If any 3D transform subproperty is at its default value (regardless of unit type), remove it. */\r\n\t\t\t\t\t\t$.each(CSS.Lists.transforms3D, function(i, transformName) {\r\n\t\t\t\t\t\t\tvar defaultValue = /^scale/.test(transformName) ? 1 : 0,\r\n\t\t\t\t\t\t\t\t\tcurrentValue = data.transformCache[transformName];\r\n\r\n\t\t\t\t\t\t\tif (data.transformCache[transformName] !== undefined && new RegExp(\"^\\\\(\" + defaultValue + \"[^.]\").test(currentValue)) {\r\n\t\t\t\t\t\t\t\ttransformHAPropertyExists = true;\r\n\r\n\t\t\t\t\t\t\t\tdelete data.transformCache[transformName];\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t/* Mobile devices have hardware acceleration removed at the end of the animation in order to avoid hogging the GPU's memory. */\r\n\t\t\t\t\t\tif (opts.mobileHA) {\r\n\t\t\t\t\t\t\ttransformHAPropertyExists = true;\r\n\t\t\t\t\t\t\tdelete data.transformCache.translate3d;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Flush the subproperty removals to the DOM. */\r\n\t\t\t\t\t\tif (transformHAPropertyExists) {\r\n\t\t\t\t\t\t\tCSS.flushTransformCache(element);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t/* Remove the \"velocity-animating\" indicator class. */\r\n\t\t\t\t\t\tCSS.Values.removeClass(element, \"velocity-animating\");\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/*********************\r\n\t\t\t\t Option: Complete\r\n\t\t\t\t *********************/\r\n\r\n\t\t\t\t/* Complete is fired once per call (not once per element) and is passed the full raw DOM element set as both its context and its first argument. */\r\n\t\t\t\t/* Note: Callbacks aren't fired when calls are manually stopped (via Velocity(\"stop\"). */\r\n\t\t\t\tif (!isStopped && opts.complete && !opts.loop && (i === callLength - 1)) {\r\n\t\t\t\t\t/* We throw callbacks in a setTimeout so that thrown errors don't halt the execution of Velocity itself. */\r\n\t\t\t\t\ttry {\r\n\t\t\t\t\t\topts.complete.call(elements, elements);\r\n\t\t\t\t\t} catch (error) {\r\n\t\t\t\t\t\tsetTimeout(function() {\r\n\t\t\t\t\t\t\tthrow error;\r\n\t\t\t\t\t\t}, 1);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/**********************\r\n\t\t\t\t Promise Resolving\r\n\t\t\t\t **********************/\r\n\r\n\t\t\t\t/* Note: Infinite loops don't return promises. */\r\n\t\t\t\tif (resolver && opts.loop !== true) {\r\n\t\t\t\t\tresolver(elements);\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/****************************\r\n\t\t\t\t Option: Loop (Infinite)\r\n\t\t\t\t ****************************/\r\n\r\n\t\t\t\tif (data && opts.loop === true && !isStopped) {\r\n\t\t\t\t\t/* If a rotateX/Y/Z property is being animated by 360 deg with loop:true, swap tween start/end values to enable\r\n\t\t\t\t\t continuous iterative rotation looping. (Otherise, the element would just rotate back and forth.) */\r\n\t\t\t\t\t$.each(data.tweensContainer, function(propertyName, tweenContainer) {\r\n\t\t\t\t\t\tif (/^rotate/.test(propertyName) && ((parseFloat(tweenContainer.startValue) - parseFloat(tweenContainer.endValue)) % 360 === 0)) {\r\n\t\t\t\t\t\t\tvar oldStartValue = tweenContainer.startValue;\r\n\r\n\t\t\t\t\t\t\ttweenContainer.startValue = tweenContainer.endValue;\r\n\t\t\t\t\t\t\ttweenContainer.endValue = oldStartValue;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tif (/^backgroundPosition/.test(propertyName) && parseFloat(tweenContainer.endValue) === 100 && tweenContainer.unitType === \"%\") {\r\n\t\t\t\t\t\t\ttweenContainer.endValue = 0;\r\n\t\t\t\t\t\t\ttweenContainer.startValue = 100;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t});\r\n\r\n\t\t\t\t\tVelocity(element, \"reverse\", {loop: true, delay: opts.delay});\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/***************\r\n\t\t\t\t Dequeueing\r\n\t\t\t\t ***************/\r\n\r\n\t\t\t\t/* Fire the next call in the queue so long as this call's queue wasn't set to false (to trigger a parallel animation),\r\n\t\t\t\t which would have already caused the next call to fire. Note: Even if the end of the animation queue has been reached,\r\n\t\t\t\t $.dequeue() must still be called in order to completely clear jQuery's animation queue. */\r\n\t\t\t\tif (opts.queue !== false) {\r\n\t\t\t\t\t$.dequeue(element, opts.queue);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\t/************************\r\n\t\t\t Calls Array Cleanup\r\n\t\t\t ************************/\r\n\r\n\t\t\t/* Since this call is complete, set it to false so that the rAF tick skips it. This array is later compacted via compactSparseArray().\r\n\t\t\t (For performance reasons, the call is set to false instead of being deleted from the array: http://www.html5rocks.com/en/tutorials/speed/v8/) */\r\n\t\t\tVelocity.State.calls[callIndex] = false;\r\n\r\n\t\t\t/* Iterate through the calls array to determine if this was the final in-progress animation.\r\n\t\t\t If so, set a flag to end ticking and clear the calls array. */\r\n\t\t\tfor (var j = 0, callsLength = Velocity.State.calls.length; j < callsLength; j++) {\r\n\t\t\t\tif (Velocity.State.calls[j] !== false) {\r\n\t\t\t\t\tremainingCallsExist = true;\r\n\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (remainingCallsExist === false) {\r\n\t\t\t\t/* tick() will detect this flag upon its next iteration and subsequently turn itself off. */\r\n\t\t\t\tVelocity.State.isTicking = false;\r\n\r\n\t\t\t\t/* Clear the calls array so that its length is reset. */\r\n\t\t\t\tdelete Velocity.State.calls;\r\n\t\t\t\tVelocity.State.calls = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t/******************\r\n\t\t Frameworks\r\n\t\t ******************/\r\n\r\n\t\t/* Both jQuery and Zepto allow their $.fn object to be extended to allow wrapped elements to be subjected to plugin calls.\r\n\t\t If either framework is loaded, register a \"velocity\" extension pointing to Velocity's core animate() method.  Velocity\r\n\t\t also registers itself onto a global container (window.jQuery || window.Zepto || window) so that certain features are\r\n\t\t accessible beyond just a per-element scope. This master object contains an .animate() method, which is later assigned to $.fn\r\n\t\t (if jQuery or Zepto are present). Accordingly, Velocity can both act on wrapped DOM elements and stand alone for targeting raw DOM elements. */\r\n\t\tglobal.Velocity = Velocity;\r\n\r\n\t\tif (global !== window) {\r\n\t\t\t/* Assign the element function to Velocity's core animate() method. */\r\n\t\t\tglobal.fn.velocity = animate;\r\n\t\t\t/* Assign the object function's defaults to Velocity's global defaults object. */\r\n\t\t\tglobal.fn.velocity.defaults = Velocity.defaults;\r\n\t\t}\r\n\r\n\t\t/***********************\r\n\t\t Packaged Redirects\r\n\t\t ***********************/\r\n\r\n\t\t/* slideUp, slideDown */\r\n\t\t$.each([\"Down\", \"Up\"], function(i, direction) {\r\n\t\t\tVelocity.Redirects[\"slide\" + direction] = function(element, options, elementsIndex, elementsSize, elements, promiseData) {\r\n\t\t\t\tvar opts = $.extend({}, options),\r\n\t\t\t\t\t\tbegin = opts.begin,\r\n\t\t\t\t\t\tcomplete = opts.complete,\r\n\t\t\t\t\t\tinlineValues = {},\r\n\t\t\t\t\t\tcomputedValues = {height: \"\", marginTop: \"\", marginBottom: \"\", paddingTop: \"\", paddingBottom: \"\"};\r\n\r\n\t\t\t\tif (opts.display === undefined) {\r\n\t\t\t\t\t/* Show the element before slideDown begins and hide the element after slideUp completes. */\r\n\t\t\t\t\t/* Note: Inline elements cannot have dimensions animated, so they're reverted to inline-block. */\r\n\t\t\t\t\topts.display = (direction === \"Down\" ? (Velocity.CSS.Values.getDisplayType(element) === \"inline\" ? \"inline-block\" : \"block\") : \"none\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\topts.begin = function() {\r\n\t\t\t\t\t/* If the user passed in a begin callback, fire it now. */\r\n\t\t\t\t\tif (elementsIndex === 0 && begin) {\r\n\t\t\t\t\t\tbegin.call(elements, elements);\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Cache the elements' original vertical dimensional property values so that we can animate back to them. */\r\n\t\t\t\t\tfor (var property in computedValues) {\r\n\t\t\t\t\t\tif (!computedValues.hasOwnProperty(property)) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tinlineValues[property] = element.style[property];\r\n\r\n\t\t\t\t\t\t/* For slideDown, use forcefeeding to animate all vertical properties from 0. For slideUp,\r\n\t\t\t\t\t\t use forcefeeding to start from computed values and animate down to 0. */\r\n\t\t\t\t\t\tvar propertyValue = CSS.getPropertyValue(element, property);\r\n\t\t\t\t\t\tcomputedValues[property] = (direction === \"Down\") ? [propertyValue, 0] : [0, propertyValue];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* Force vertical overflow content to clip so that sliding works as expected. */\r\n\t\t\t\t\tinlineValues.overflow = element.style.overflow;\r\n\t\t\t\t\telement.style.overflow = \"hidden\";\r\n\t\t\t\t};\r\n\r\n\t\t\t\topts.complete = function() {\r\n\t\t\t\t\t/* Reset element to its pre-slide inline values once its slide animation is complete. */\r\n\t\t\t\t\tfor (var property in inlineValues) {\r\n\t\t\t\t\t\tif (inlineValues.hasOwnProperty(property)) {\r\n\t\t\t\t\t\t\telement.style[property] = inlineValues[property];\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\t/* If the user passed in a complete callback, fire it now. */\r\n\t\t\t\t\tif (elementsIndex === elementsSize - 1) {\r\n\t\t\t\t\t\tif (complete) {\r\n\t\t\t\t\t\t\tcomplete.call(elements, elements);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (promiseData) {\r\n\t\t\t\t\t\t\tpromiseData.resolver(elements);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t};\r\n\r\n\t\t\t\tVelocity(element, computedValues, opts);\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\t/* fadeIn, fadeOut */\r\n\t\t$.each([\"In\", \"Out\"], function(i, direction) {\r\n\t\t\tVelocity.Redirects[\"fade\" + direction] = function(element, options, elementsIndex, elementsSize, elements, promiseData) {\r\n\t\t\t\tvar opts = $.extend({}, options),\r\n\t\t\t\t\t\tcomplete = opts.complete,\r\n\t\t\t\t\t\tpropertiesMap = {opacity: (direction === \"In\") ? 1 : 0};\r\n\r\n\t\t\t\t/* Since redirects are triggered individually for each element in the animated set, avoid repeatedly triggering\r\n\t\t\t\t callbacks by firing them only when the final element has been reached. */\r\n\t\t\t\tif (elementsIndex !== 0) {\r\n\t\t\t\t\topts.begin = null;\r\n\t\t\t\t}\r\n\t\t\t\tif (elementsIndex !== elementsSize - 1) {\r\n\t\t\t\t\topts.complete = null;\r\n\t\t\t\t} else {\r\n\t\t\t\t\topts.complete = function() {\r\n\t\t\t\t\t\tif (complete) {\r\n\t\t\t\t\t\t\tcomplete.call(elements, elements);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tif (promiseData) {\r\n\t\t\t\t\t\t\tpromiseData.resolver(elements);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t};\r\n\t\t\t\t}\r\n\r\n\t\t\t\t/* If a display was passed in, use it. Otherwise, default to \"none\" for fadeOut or the element-specific default for fadeIn. */\r\n\t\t\t\t/* Note: We allow users to pass in \"null\" to skip display setting altogether. */\r\n\t\t\t\tif (opts.display === undefined) {\r\n\t\t\t\t\topts.display = (direction === \"In\" ? \"auto\" : \"none\");\r\n\t\t\t\t}\r\n\r\n\t\t\t\tVelocity(this, propertiesMap, opts);\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\treturn Velocity;\r\n\t}((window.jQuery || window.Zepto || window), window, (window ? window.document : undefined));\r\n}));\r\n\r\n/******************\r\n Known Issues\r\n ******************/\r\n\r\n/* The CSS spec mandates that the translateX/Y/Z transforms are %-relative to the element itself -- not its parent.\r\n Velocity, however, doesn't make this distinction. Thus, converting to or from the % unit with these subproperties\r\n will produce an inaccurate conversion value. The same issue exists with the cx/cy attributes of SVG circles and ellipses. */\r\n }","(function() {\n  function vendorModule() {\n    'use strict';\n    // Velocity tries to register on jQuery first, if it's not present, then it registers itself globally\n    // For FastBoot, jQuery and Velocity don't exist so we use a noop\n    var Velocity = self.Velocity || self.jQuery && self.jQuery.Velocity || function(){};\n    return { 'default': Velocity };\n  }\n\n  define('velocity', [], vendorModule);\n})();\n","if (typeof FastBoot === 'undefined') { /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas, David Knight. Dual MIT/BSD license */\n\nwindow.matchMedia || (window.matchMedia = function() {\n    \"use strict\";\n\n    // For browsers that support matchMedium api such as IE 9 and webkit\n    var styleMedia = (window.styleMedia || window.media);\n\n    // For those that don't support matchMedium\n    if (!styleMedia) {\n        var style       = document.createElement('style'),\n            script      = document.getElementsByTagName('script')[0],\n            info        = null;\n\n        style.type  = 'text/css';\n        style.id    = 'matchmediajs-test';\n\n        script.parentNode.insertBefore(style, script);\n\n        // 'style.currentStyle' is used by IE <= 8 and 'window.getComputedStyle' for all other browsers\n        info = ('getComputedStyle' in window) && window.getComputedStyle(style, null) || style.currentStyle;\n\n        styleMedia = {\n            matchMedium: function(media) {\n                var text = '@media ' + media + '{ #matchmediajs-test { width: 1px; } }';\n\n                // 'style.styleSheet' is used by IE <= 8 and 'style.textContent' for all other browsers\n                if (style.styleSheet) {\n                    style.styleSheet.cssText = text;\n                } else {\n                    style.textContent = text;\n                }\n\n                // Test if media query is true or false\n                return info.width === '1px';\n            }\n        };\n    }\n\n    return function(media) {\n        return {\n            matches: styleMedia.matchMedium(media || 'all'),\n            media: media || 'all'\n        };\n    };\n}());\n }","'use strict';\n\n/* globals Ember, define */\n(function(global) {\n  var OWN_CLASSES = new WeakMap();\n  var HAS_CONSTRUCTOR = new WeakMap();\n  var IS_CLASSIC = new WeakMap();\n  var BASE_CLASSES = new WeakMap();\n  var IS_PERMA_CLASSIC = new WeakMap();\n  global.__CLASSIC_HAS_CONSTRUCTOR__ = HAS_CONSTRUCTOR;\n  global.__CLASSIC_OWN_CLASSES__ = OWN_CLASSES;\n\n  const _Ember = typeof require === 'function' && typeof require.has === 'function' && require.has('ember') ? require('ember').default : Ember;\n\n  IS_PERMA_CLASSIC.set(_Ember.Object, true);\n  IS_PERMA_CLASSIC.set(_Ember.Component, true);\n\n  IS_PERMA_CLASSIC.set(_Ember.ObjectProxy, false);\n  IS_PERMA_CLASSIC.set(_Ember.Application, false);\n  IS_PERMA_CLASSIC.set(_Ember.Controller, false);\n  IS_PERMA_CLASSIC.set(_Ember.Router, false);\n  IS_PERMA_CLASSIC.set(_Ember.Route, false);\n  IS_PERMA_CLASSIC.set(_Ember.Service, false);\n  IS_PERMA_CLASSIC.set(_Ember.Helper, false);\n  IS_PERMA_CLASSIC.set(_Ember.Location, false);\n  IS_PERMA_CLASSIC.set(_Ember.AutoLocation, false);\n  IS_PERMA_CLASSIC.set(_Ember.HashLocation, false);\n  IS_PERMA_CLASSIC.set(_Ember.HistoryLocation, false);\n  IS_PERMA_CLASSIC.set(_Ember.NoneLocation, false);\n\n  BASE_CLASSES.set(_Ember.ObjectProxy, true);\n  BASE_CLASSES.set(_Ember.CoreObject, true);\n  BASE_CLASSES.set(_Ember.Object, true);\n  BASE_CLASSES.set(_Ember.Application, true);\n  BASE_CLASSES.set(_Ember.Controller, true);\n  BASE_CLASSES.set(_Ember.Router, true);\n  BASE_CLASSES.set(_Ember.Route, true);\n  BASE_CLASSES.set(_Ember.Service, true);\n  BASE_CLASSES.set(_Ember.Helper, true);\n  BASE_CLASSES.set(_Ember.Location, true);\n\n  function getClassName(klass) {\n    var klassToString = klass.toString();\n    return klassToString.includes('(unknown)') ? klass.name : klassToString;\n  }\n\n  function findAncestor(klass, predicate) {\n    while (klass !== null && Boolean(klass.prototype)) {\n      if (predicate(klass)) {\n        return klass;\n      }\n\n      klass = Object.getPrototypeOf(klass);\n    }\n\n    return null;\n  }\n\n  _Ember.Object.reopenClass({\n    create: function create() {\n      // We can't actually use `new` as an alternative here, but most classes\n      // don't need to be created by users, so no reason to assert in the\n      // general case.\n      var ret = this._super.apply(this, arguments);\n\n      if (OWN_CLASSES.get(this) && !IS_CLASSIC.has(this)) {\n        var permaClassicAncestor = findAncestor(this, function(klass) {\n          return IS_PERMA_CLASSIC.has(klass);\n        });\n\n        if (\n          permaClassicAncestor &&\n          IS_PERMA_CLASSIC.get(permaClassicAncestor)\n        ) {\n          throw new Error(\n            'You defined the class '\n              .concat(getClassName(this), ' that extends from ')\n              .concat(\n                getClassName(permaClassicAncestor),\n                \" using native class syntax, but you didn't mark it with the @classic decorator. All user classes that extend from this class must be marked as @classic, since they use classic features. If you want to remove the @classic decorator, you must remove the base class. For components, you can do this by converting to Glimmer components. For plain classes that extend from EmberObject, you can convert them into plain native classes that do not extend from EmberObject.\\n\\n\" +\n                \"If this class is a base class provided by the framework that you should be allowed to remove @classic from, please open an issue on the classic decorators repo: https://github.com/emberjs/ember-classic-decorator\"\n              )\n          );\n        }\n\n        if (HAS_CONSTRUCTOR.has(this)) {\n          var ancestorWithInit = findAncestor(this, function(klass) {\n            return (\n              klass.prototype.hasOwnProperty('init') || BASE_CLASSES.has(klass)\n            );\n          });\n\n          if (ancestorWithInit !== null && !BASE_CLASSES.has(ancestorWithInit)) {\n            throw new Error(\n              'You defined the class '\n                .concat(\n                  getClassName(this),\n                  \" with a 'constructor' function, but one of its ancestors, \"\n                )\n                .concat(\n                  getClassName(ancestorWithInit),\n                  \", uses the 'init' method. Due to the timing of the constructor and init methods, its not generally safe to use 'constructor' for class setup if the parent class is using 'init'. You can mark \"\n                )\n                .concat(\n                  getClassName(this),\n                  \" with the @classic decorator and safely use 'init', or you can convert the parent class to use native classes, and switch from 'init' to 'constructor' there first.\\n\\n\" +\n                  \"If this error message is not being triggered by your code or code from an addon, but from Ember itself, please file a bug report on the classic decorator repo: https://github.com/emberjs/ember-classic-decorator\"\n                )\n            );\n          }\n        }\n      }\n\n      return ret;\n    },\n    reopen: function reopen() {\n      if (OWN_CLASSES.get(this) && !IS_CLASSIC.has(this)) {\n        throw new Error(\n          'You attempted to use the .reopen() method on the '.concat(\n            getClassName(this),\n            \" class, but it's not a classic class! Redefining classes after they have been defined is generally considered an antipattern.\\n\\n\" +\n            \"If this error message is not being triggered by your code or code from an addon, but from Ember itself, please file a bug report on the classic decorator repo: https://github.com/emberjs/ember-classic-decorator\"\n          )\n        );\n      }\n\n      var ret = this._super.apply(this, arguments);\n\n      return ret;\n    },\n    reopenClass: function reopenClass() {\n      if (OWN_CLASSES.get(this) && !IS_CLASSIC.has(this) && !_Ember.Application.detect(this) && !_Ember.Router.detect(this)) {\n        throw new Error(\n          'You attempted to use the .reopen() method on the '.concat(\n            getClassName(this),\n            \" class, but it's not a classic class! Redefining classes after they have been defined is generally considered an antipattern. If you were reopening this class to add static class fields or methods, you can now define those with the 'static' keyword instead.\\n\\n\" +\n            \"If this error message is not being triggered by your code or code from an addon, but from Ember itself, please file a bug report on the classic decorator repo: https://github.com/emberjs/ember-classic-decorator\"\n          )\n        );\n      }\n\n      var ret = this._super.apply(this, arguments);\n\n      return ret;\n    },\n  });\n\n  global.__EMBER_CLASSIC_DECORATOR = function classic(target) {\n    IS_CLASSIC.set(target, true);\n    return target;\n  }\n\n  let originalRequire = window.require;\n  let originalRequireEntries = Object.entries(window.require);\n\n  window.require = require = function patchData(moduleName) {\n    var DS, Resolver;\n\n    try {\n      Resolver = originalRequire('ember-resolver').default;\n      DS = originalRequire('ember-data').default;\n    } catch (e) {}\n\n    if (Resolver) {\n      BASE_CLASSES.set(Resolver, true);\n      IS_PERMA_CLASSIC.set(Resolver, false);\n    }\n\n    if (DS) {\n      BASE_CLASSES.set(DS.Store, true);\n      BASE_CLASSES.set(DS.Model, true);\n      BASE_CLASSES.set(DS.Adapter, true);\n      BASE_CLASSES.set(DS.Serializer, true);\n      BASE_CLASSES.set(DS.Transform, true);\n\n      IS_PERMA_CLASSIC.set(DS.Store, false);\n      IS_PERMA_CLASSIC.set(DS.Model, false);\n      IS_PERMA_CLASSIC.set(DS.Adapter, false);\n      IS_PERMA_CLASSIC.set(DS.Serializer, false);\n      IS_PERMA_CLASSIC.set(DS.Transform, false);\n    }\n\n    window.require = require = window.requirejs;\n\n    return window.requirejs(moduleName);\n  }\n\n  originalRequireEntries.forEach(\n    ([key, value]) => (window.require[key] = value)\n  );\n})(window);\n","'use strict';\n\nfunction copy_properties(src, trg) {\n  var src_val = null,\n    trg_val = null;\n  for (var prop_name in src) {\n    src_val = src[prop_name];\n    trg_val = trg[prop_name];\n    if (trg_val != undefined && src_val != trg_val) {\n      console.debug('overwriting property ' + prop_name + ' from existing value ' + trg_val + ' to new value ' + src_val); // eslint-disable-line no-console\n    }\n    trg[prop_name] = src_val;\n  }\n}\n\nfunction get_temperature(tsdb_metric_name, options) {\n  var in_fahrenheit = {\n    tsdb_metric_name: tsdb_metric_name\n    , aggregator_fn: 'avg'\n    , unit: '°F'\n    , round_to_decimal_digits: 2\n    , axisPosition: 'right'\n  };\n  copy_properties(options, in_fahrenheit);\n\n  var in_celsius = {};\n  copy_properties(in_fahrenheit, in_celsius);\n\n  in_celsius.unit = '°C';\n  in_celsius.tsdb_metric_name = tsdb_metric_name.substring(0, tsdb_metric_name.length - 2) + '_c';\n\n  in_fahrenheit.in_celsius = in_celsius;\n\n  return in_fahrenheit;\n}\n\nvar SgbChartColors = {\n  red: [221, 80, 28], // [221, 80, 28], [255, 0, 0],\n  green: [28, 221, 176], // [28, 221, 176], [28, 221, 80], [0, 255, 0],\n  blue: [28, 168, 221], // [[28, 168, 221],], [0, 91, 150], [28, 73, 221], [0, 0, 255],\n  orange: [255, 165, 0]\n  , purple: [190, 120, 211]\n  , yellow: [214, 178, 0]\n  , brown: [103, 14, 14] //[183, 147, 40]\n};\n\nfunction get_custom_labels_function(value_to_labels_map) {\n  function value2label(value, index, values) { // eslint-disable-line no-unused-vars\n    return value_to_labels_map[value];\n  }\n  return value2label;\n}\n\nvar device_types = {  // based on api/hashmap/device_type\n  smartsocket: 100, // unused\n  computime_zigbee_thermostat: 101,\n  computime_smartsocket: 102,\n  computime_optima_thermostat: 103,\n  salus_smartsocket: 104, // unused\n  salus_valve_controller: 105, // unused\n  salus_water_sensor: 106,\n  nyce_motion_sensor: 201,\n  nyce_doorwindow_sensor: 202,\n  nyce_garagedoor_sensor: 203, // unused\n  nyce_door_hinge_sensor: 204, // unused\n  cleode_zrc: 300,\n  centralite_smartsocket_dimmer: 401, // unused\n  centralite_smartsocket: 402, // unused\n  centralite_inwall_relay: 403, // unused\n  centralite_inwall_dimmer: 404, // unused\n  centralite_zigbee_thermostat: 405, // unused\n  centralite_water_sensor1: 406,\n  smartenit_valve_zbvc1: 501, // unused\n  smartenit_outlet_zbmskt1: 502,\n  smartenit_remote_switch: 503, // unused\n  jasco_smart_outlet: 600,\n  jasco_dimmer_outlet: 601,\n  jasco_smartsocket: 602, // unused \n  jasco_outlet: 603,\n  jasco_outdoor_smartsocket: 604, // unused\n  silverspring_meter: 700,\n  sel_meter: 701,\n  egauge_meter: 702,\n  clippercreek_evse: 801,\n  generic_onoff: 901,\n  kaba_saflok_door_lock: 1001,\n  halo_smartlabs_halowx: 1101, // unused\n  fidure_zigbee_thermostat: 1200,\n  fidure_zigbee_nameplate: 1201,\n  sgb_battery_controller: 1300,\n  sgb_battery_manager: 1301,\n  ledvance_led_strip_dimmer: 1400,\n  aduro_remote_switch: 1500,\n  pms_bridge: 1600, // unused\n  ble_beacon: 1700, // unused\n  heiman_siren: 1800, // unused\n  heiman_water_sensor: 1801,\n  heiman_motion_sensor: 1802,\n  heiman_gas_sensor: 1803, // unused\n  somfy_shade: 1900, // unused\n  owon_doorwindow_sensor: 2000,\n  amplenergy_sensor: 2100\n};\n\nvar DeviceTypesToMetrics = {\n\n  device_groups: {\n    thermostats: {\n      device_type_ids: [\n        device_types.centralite_zigbee_thermostat,\n        device_types.computime_optima_thermostat,\n        device_types.computime_zigbee_thermostat,\n        device_types.fidure_zigbee_thermostat\n      ],\n      get_metrics: () => [Metrics.watts, Metrics.cool_setpoint_f, Metrics.heat_setpoint_f, Metrics.temperature_f]\n    },\n    motion_sensors: {\n      device_type_ids: [\n        device_types.nyce_motion_sensor,\n        device_types.heiman_motion_sensor,\n        device_types.amplenergy_sensor\n      ],\n      get_metrics: () => {\n        // Metrics.ias_zone_status - needs downsampling?\n        // Metrics.battery_voltage - only interesting for longer periods\n        let on_off = {};\n        copy_properties(Metrics.ias_zone_status, on_off);\n        on_off.min = 0;\n        on_off.max = 7;\n        on_off.callback = get_custom_labels_function({ 0: 'still', 1: 'moving' });\n        on_off.display_scale_label = true;\n        on_off.unit = 'movement';\n        on_off.label = 'Movement Status';\n\n        let sensor_open = {};\n        copy_properties(Metrics.sensor_open, sensor_open);\n        sensor_open.min = 0;\n        sensor_open.max = 7;\n        sensor_open.callback = get_custom_labels_function({ 0: 'closed', 1: 'open' });\n        sensor_open.display_scale_label = true;\n        sensor_open.unit = 'open';\n        sensor_open.label = 'Open/Close Status';\n\n        let sensor_motion = {};\n        copy_properties(Metrics.sensor_motion, sensor_motion);\n        sensor_motion.min = 0;\n        sensor_motion.max = 7;\n        sensor_motion.callback = get_custom_labels_function({ 0: 'still', 1: 'moving' });\n        sensor_motion.display_scale_label = true;\n        sensor_motion.unit = 'movement';\n        sensor_motion.label = 'Movement Status';\n\n        return [on_off, sensor_open, sensor_motion, Metrics.humidity, Metrics.temperature_f];\n      }\n    },\n    water_sensors: {\n      device_type_ids: [\n        device_types.centralite_water_sensor1,\n        device_types.salus_water_sensor,\n        device_types.heiman_water_sensor\n      ],\n      get_metrics: () => {\n        let on_off = {};\n        copy_properties(Metrics.ias_zone_status, on_off);\n        on_off.min = 0;\n        on_off.max = 7;\n        on_off.callback = get_custom_labels_function({ 0: 'dry', 1: 'wet' });\n        on_off.display_scale_label = true;\n        on_off.unit = 'water';\n        on_off.label = 'Water Status';\n        return [on_off, Metrics.humidity, Metrics.temperature_f];\n      }\n    },\n    door_window_sensors: {\n      device_type_ids: [\n        device_types.nyce_doorwindow_sensor,\n        device_types.nyce_garagedoor_sensor,\n        device_types.nyce_door_hinge_sensor,\n        device_types.generic_onoff,\n        device_types.kaba_saflok_door_lock,\n        device_types.owon_doorwindow_sensor,\n        device_types.amplenergy_sensor\n      ],\n      get_metrics: () => {\n        // Metrics.battery_voltage - only interesting for longer periods\n        let on_off = {};\n        copy_properties(Metrics.ias_zone_status, on_off);\n        on_off.min = 0;\n        on_off.max = 2;\n        on_off.callback = get_custom_labels_function({ 0: 'closed', 1: 'open' });\n        on_off.display_scale_label = true;\n        on_off.unit = 'state';\n        on_off.label = 'Door/Window Status';\n\n        let sensor_open = {};\n        copy_properties(Metrics.sensor_open, sensor_open);\n        sensor_open.min = 0;\n        sensor_open.max = 7;\n        sensor_open.callback = get_custom_labels_function({ 0: 'closed', 1: 'open' });\n        sensor_open.display_scale_label = true;\n        sensor_open.unit = 'open';\n        sensor_open.label = 'Open/Close Status';\n\n        return [on_off, sensor_open];\n      }\n    },\n\n    sockets_and_dimmers: {\n      device_type_ids: [\n        device_types.smartsocket,\n        device_types.computime_smartsocket,\n        device_types.centralite_smartsocket_dimmer,\n        device_types.centralite_smartsocket,\n        device_types.centralite_inwall_relay,\n        device_types.centralite_inwall_dimmer,\n        device_types.smartenit_outlet_zbmskt1,\n        device_types.jasco_outlet,\n        device_types.jasco_smart_outlet,\n        device_types.jasco_dimmer_outlet,\n        device_types.ledvance_led_strip_dimmer\n      ],\n      get_metrics: () => [Metrics.watts]\n    },\n\n    meters_and_evse: {\n      device_type_ids: [\n        device_types.silverspring_meter,\n        device_types.sel_meter,\n        device_types.clippercreek_evse\n      ],\n      get_metrics: () => [Metrics.watts]\n    },\n\n    egauge_meter: {\n      device_type_ids: [\n        device_types.egauge_meter\n      ],\n      get_metrics: () => [Metrics.watts_ds, Metrics.current_detail]\n    },\n\n    battery_controller: {\n      device_type_ids: [\n        device_types.sgb_battery_controller\n      ],\n      get_metrics: () => [Metrics.capacity, Metrics.soc_percentage, Metrics.stored_energy]\n    },\n\n    null_group: {\n      device_type_ids: [],\n      get_metrics: () => []\n    }\n  },\n\n  get_device_group(device_type_id) {\n    let parsed_device_type_id = parseInt(device_type_id);\n    for (var device_group_name in this.device_groups) {\n      let device_group = this.device_groups[device_group_name];\n      if (device_group.device_type_ids.indexOf(parsed_device_type_id) != -1) {\n        return device_group;\n      }\n    }\n    console.warn({ msg: 'could not find device group for it', device_type_id: { raw: device_type_id, parsed: parsed_device_type_id } }); // eslint-disable-line no-console\n    return this.device_groups.null_group;\n  },\n\n  metrics_for_device_type(device_type_id) {\n    return this.get_device_group(device_type_id).get_metrics();\n  },\n\n  getMetricByTsdbMetricName(tsdb_metric_name, list_of_metrics) {\n    let match = list_of_metrics.filter(metric => tsdb_metric_name == metric.tsdb_metric_name);\n    if (match.length != 1) {\n      console.warn({ msg: 'not a single match', needle: tsdb_metric_name, haystack: list_of_metrics, match: match }); // eslint-disable-line no-console\n      // e.g.: this can happen when chartInfo/metrics computed properties don't change in the right orer\n      return null;\n    }\n    return match[0];\n  }\n};\n\n\nclass Watt {\n  constructor(tsdb_metric_name, options) {\n    this.tsdb_metric_name = tsdb_metric_name;\n    this.aggregator_fn = 'sum';\n    this.discrete_values = true;\n    this.beginAtZero = true;\n    this.min = 0;\n    this.axisPosition = 'left';\n    this.unit = 'W';\n    this.round_to_decimal_digits = 1;\n    copy_properties(options, this);\n  }\n}\n\n\nfunction get_watt(tsdb_metric_name, options) {\n  return new Watt(tsdb_metric_name, options);\n}\n\n// module.exports = { Metrics: ...  }; doesn't work w/ ember - don't ask me why\nvar Metrics = {\n  watts: get_watt('watts', {\n    rgb: SgbChartColors.green\n    , label: 'Watts'\n  }),\n  watts_max: get_watt('watts.max', {\n    rgb: SgbChartColors.green\n    , label: 'Watts Maximum'\n    , discrete_values: false\n  }),\n  watts_min: get_watt('watts.min', {\n    rgb: SgbChartColors.yellow\n    , label: 'Watts Miniumum'\n    , discrete_values: false\n  }),\n  ias_zone_status: {\n    tsdb_metric_name: 'ias_zone_status',\n    aggregator_fn: 'sum'\n    , rgb: SgbChartColors.brown\n    , discrete_values: true\n    , beginAtZero: true\n    , axisPosition: 'right'\n  },\n  sensor_open: {\n    tsdb_metric_name: 'sensor_open',\n    aggregator_fn: 'sum'\n    , rgb: SgbChartColors.brown\n    , discrete_values: true\n    , beginAtZero: true\n    , axisPosition: 'right'\n  },\n  sensor_motion: {\n    tsdb_metric_name: 'sensor_motion',\n    aggregator_fn: 'sum'\n    , rgb: SgbChartColors.brown\n    , discrete_values: true\n    , beginAtZero: true\n    , axisPosition: 'right'\n  },\n  humidity: {\n    tsdb_metric_name: 'humidity',\n    aggregator_fn: 'sum'\n    , unit: '%'\n    , round_to_decimal_digits: 2\n    , rgb: SgbChartColors.purple\n    , discrete_values: false\n    , axisPosition: 'left'\n    , label: 'Humidity'\n  },\n  battery_voltage: {\n    tsdb_metric_name: 'battery_voltage',\n    aggregator_fn: 'sum'\n    , unit: 'V'\n    , round_to_decimal_digits: 0\n    , rgb: SgbChartColors.yellow\n    , discrete_values: false\n    , axisPosition: 'left'\n    , label: 'Battery'\n  },\n  heat_setpoint_f_avg: get_temperature('thermostat.heat_setpoint_f', {\n    downsample_fn: '5m-avg',\n    rgb: SgbChartColors.red,\n    discrete_values: true\n    , label: 'Thermostat Heat Set-point (avg)',\n  }),\n  heat_setpoint_f: get_temperature('thermostat.heat_setpoint_f', {\n    rgb: SgbChartColors.red,\n    discrete_values: true\n    , label: 'Thermostat Heat Set-point'\n  }),\n  cool_setpoint_f_avg: get_temperature('thermostat.cool_setpoint_f', {\n    downsample_fn: '5m-avg',\n    rgb: SgbChartColors.blue,\n    discrete_values: true\n    , label: 'Thermostat Cool Set-point'\n  }),\n  cool_setpoint_f: get_temperature('thermostat.cool_setpoint_f', {\n    rgb: SgbChartColors.blue,\n    discrete_values: true\n    , label: 'Thermostat Cool Set-point'\n  }),\n  temperature_f_avg: get_temperature('temperature.avg_f', {\n    rgb: SgbChartColors.orange\n    , label: 'Average Temperature'\n  }),\n  temperature_f: get_temperature('temperature_f', {\n    rgb: SgbChartColors.orange\n    , label: 'Temperature'\n  }),\n  capacity: {\n    tsdb_metric_name: 'capacity',\n    aggregator_fn: 'sum',\n    downsample_fn: '5m-avg'\n    , unit: ''\n    , round_to_decimal_digits: 0\n    , rgb: SgbChartColors.green\n    , discrete_values: true\n    , axisPosition: 'left'\n    , label: 'Capacity'\n    , beginAtZero: true\n  },\n  stored_energy: {\n    tsdb_metric_name: 'stored_energy',\n    aggregator_fn: 'sum',\n    downsample_fn: '5m-avg'\n    , unit: ''\n    , round_to_decimal_digits: 0\n    , rgb: SgbChartColors.yellow\n    , discrete_values: true\n    , axisPosition: 'left'\n    , label: 'Stored Energy'\n    , beginAtZero: true\n  },\n  soc_percentage: {\n    tsdb_metric_name: 'soc_percentage',\n    aggregator_fn: 'sum',\n    downsample_fn: '5m-avg'\n    , unit: '%'\n    , round_to_decimal_digits: 0\n    , rgb: SgbChartColors.purple\n    , discrete_values: true\n    , axisPosition: 'right'\n    , label: 'SOC'\n    , beginAtZero: true\n    , max: 100\n    , min: 0\n  },\n  current_detail: {\n    tsdb_metric_name: 'current.detail',\n    aggregator_fn: 'sum',\n    downsample_fn: '5m-avg'\n    , unit: 'A'\n    , round_to_decimal_digits: 0\n    , rgb: SgbChartColors.purple\n    , discrete_values: true\n    , axisPosition: 'right'\n    , label: 'Current'\n  },\n  watts_ds: get_watt('watts', {\n    downsample_fn: '5m-avg',\n    rgb: SgbChartColors.green\n    , label: 'Watts'\n  })\n};\n\n\nvar SingleStatMetrics = {\n  'rooms-with-active-ee': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'group_with_active_ee' }\n    , label: 'Rooms with active EE'\n    , rgb: SgbChartColors.blue\n  },\n  'rooms-occupied': {\n    tsdb_metric_name: 'scene_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'occupied' }\n    , label: 'Occupied rooms'\n    , rgb: SgbChartColors.red\n  },\n  'rooms-tmp-vacant': { // also has 'checkout state'\n    tsdb_metric_name: 'scene_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'tmp_vacant' }\n    , label: 'Temp. vacant rooms'\n    , rgb: SgbChartColors.blue\n  },\n  'rooms-vacant': {\n    tsdb_metric_name: 'scene_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'vacant' }\n    , label: 'Vacant rooms'\n    , rgb: SgbChartColors.green\n  },\n  'rooms-with-active-dr': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'group_with_active_dr' }\n    , label: 'Rooms with active DR'\n    , rgb: SgbChartColors.blue\n  },\n  'devices-online': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'sum'\n    , filterTag: { key: 'name', value: 'online' }\n    , label: 'Online devices'\n    , rgb: SgbChartColors.brown\n  },\n  'devices-silent': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'unexpected_silent' }\n    , label: 'Silent devices'\n    , rgb: SgbChartColors.orange\n  },\n  'devices-offline': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'sum'\n    , filterTag: { key: 'name', value: 'unexpected_offline' }\n    , label: 'Offline devices'\n    , rgb: SgbChartColors.brown\n  },\n  'devices-with-active-dr': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'device_active_dr' }\n    , label: 'Devices with active DR'\n    , rgb: SgbChartColors.blue\n  },\n  'devices-with-active-ee': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'device_active_ee' }\n    , label: 'Devices with active EE'\n    , rgb: SgbChartColors.blue\n  },\n  'dirty-hvac-filter': {\n    tsdb_metric_name: 'vgtag_count'\n    , aggregator_fn: 'max'\n    , filterTag: { key: 'name', value: 'hvac_needs_filter_change' }\n    , label: 'Dirty filters'\n    , rgb: SgbChartColors.red\n  },\n  getLastValueFromTsdbQueryResult(tsdb_query_result) {\n    let dps = null;\n    if (tsdb_query_result && tsdb_query_result.length != 0) {\n      let first_metric = tsdb_query_result[0];\n      if (first_metric && first_metric.dps && first_metric.dps.length != 0) {\n        dps = first_metric.dps;\n      }\n    }\n    if (!dps) { return null; }\n    let latest_datapoint = dps.reduce((acc, obj) => { return parseInt(acc[0]) > parseInt(obj[0]) ? acc : obj });\n    return parseInt(latest_datapoint[1]);\n  },\n  getAllMetricAliases() {\n    let aliases = [];\n    for (let name in this) {\n      let val = this[name];\n      if (!val.apply) {\n        aliases.push(name);\n      }\n    }\n    return aliases;\n  }\n};\n\n\nclass HashAndDirectParams {\n\n  constructor(options) {\n    this.options = options;\n    this.getter = options.get;\n    this.setter = options.set;\n    this.obj = options.obj;\n    this.to_restore = null;\n    this.hadFirstFromHashCallAlready = false;\n  }\n\n  set(name, value, options) {\n    let should_set =\n      options == null || options.predicate == null || options.predicate(this.obj, name, value);\n    if (should_set) {\n      this.setter(this.obj, name, value);\n    }\n  }\n\n  get(name) {\n    return this.getter(this.obj, name);\n  }\n\n  fromHash(hash, options) {\n    let undo = options && options.undo;\n    let pre_set_values = null;\n    if (undo) {\n      this.undoLastFromHash();\n      pre_set_values = this.getHashToRestore(hash);\n    }\n    for (let name in hash) {\n      this.set(name, hash[name], options);\n    }\n    if (undo) {\n      this.values_to_restore = pre_set_values;\n    }\n    this.hadFirstFromHashCallAlready = true;\n  }\n\n  getHashToRestore(hash) {\n    let pre_set_values = {};\n    for (let name in hash) {\n      pre_set_values[name] = this.get(name);\n    }\n    return pre_set_values;\n  }\n\n  undoLastFromHash() {\n    if (this.values_to_restore) {\n      for (let name in this.values_to_restore) {\n        let val = this.values_to_restore[name];\n        this.set(name, val);\n      }\n      delete this.values_to_restore;\n    } else if (this.hadFirstFromHashCallAlready) {\n      console.warn('undoLastFromHash called when there was nothing to restore'); // eslint-disable-line no-console\n    }\n  }\n}\n\ntry {\n  exports.Metrics = Metrics;\n  exports.DeviceTypesToMetrics = DeviceTypesToMetrics;\n  exports.SingleStatMetrics = SingleStatMetrics;\n  exports.HashAndDirectParams = HashAndDirectParams;\n} catch (e) {\n  if (!(e instanceof ReferenceError)) {\n    throw e;\n  }\n}\n","/*!\n * Chart.js v3.9.1\n * https://www.chartjs.org\n * (c) 2022 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\ntypeof define === 'function' && define.amd ? define(factory) :\n(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Chart = factory());\n})(this, (function () { 'use strict';\n\nfunction noop() {}\nconst uid = (function() {\n  let id = 0;\n  return function() {\n    return id++;\n  };\n}());\nfunction isNullOrUndef(value) {\n  return value === null || typeof value === 'undefined';\n}\nfunction isArray(value) {\n  if (Array.isArray && Array.isArray(value)) {\n    return true;\n  }\n  const type = Object.prototype.toString.call(value);\n  if (type.slice(0, 7) === '[object' && type.slice(-6) === 'Array]') {\n    return true;\n  }\n  return false;\n}\nfunction isObject(value) {\n  return value !== null && Object.prototype.toString.call(value) === '[object Object]';\n}\nconst isNumberFinite = (value) => (typeof value === 'number' || value instanceof Number) && isFinite(+value);\nfunction finiteOrDefault(value, defaultValue) {\n  return isNumberFinite(value) ? value : defaultValue;\n}\nfunction valueOrDefault(value, defaultValue) {\n  return typeof value === 'undefined' ? defaultValue : value;\n}\nconst toPercentage = (value, dimension) =>\n  typeof value === 'string' && value.endsWith('%') ?\n    parseFloat(value) / 100\n    : value / dimension;\nconst toDimension = (value, dimension) =>\n  typeof value === 'string' && value.endsWith('%') ?\n    parseFloat(value) / 100 * dimension\n    : +value;\nfunction callback(fn, args, thisArg) {\n  if (fn && typeof fn.call === 'function') {\n    return fn.apply(thisArg, args);\n  }\n}\nfunction each(loopable, fn, thisArg, reverse) {\n  let i, len, keys;\n  if (isArray(loopable)) {\n    len = loopable.length;\n    if (reverse) {\n      for (i = len - 1; i >= 0; i--) {\n        fn.call(thisArg, loopable[i], i);\n      }\n    } else {\n      for (i = 0; i < len; i++) {\n        fn.call(thisArg, loopable[i], i);\n      }\n    }\n  } else if (isObject(loopable)) {\n    keys = Object.keys(loopable);\n    len = keys.length;\n    for (i = 0; i < len; i++) {\n      fn.call(thisArg, loopable[keys[i]], keys[i]);\n    }\n  }\n}\nfunction _elementsEqual(a0, a1) {\n  let i, ilen, v0, v1;\n  if (!a0 || !a1 || a0.length !== a1.length) {\n    return false;\n  }\n  for (i = 0, ilen = a0.length; i < ilen; ++i) {\n    v0 = a0[i];\n    v1 = a1[i];\n    if (v0.datasetIndex !== v1.datasetIndex || v0.index !== v1.index) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction clone$1(source) {\n  if (isArray(source)) {\n    return source.map(clone$1);\n  }\n  if (isObject(source)) {\n    const target = Object.create(null);\n    const keys = Object.keys(source);\n    const klen = keys.length;\n    let k = 0;\n    for (; k < klen; ++k) {\n      target[keys[k]] = clone$1(source[keys[k]]);\n    }\n    return target;\n  }\n  return source;\n}\nfunction isValidKey(key) {\n  return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;\n}\nfunction _merger(key, target, source, options) {\n  if (!isValidKey(key)) {\n    return;\n  }\n  const tval = target[key];\n  const sval = source[key];\n  if (isObject(tval) && isObject(sval)) {\n    merge(tval, sval, options);\n  } else {\n    target[key] = clone$1(sval);\n  }\n}\nfunction merge(target, source, options) {\n  const sources = isArray(source) ? source : [source];\n  const ilen = sources.length;\n  if (!isObject(target)) {\n    return target;\n  }\n  options = options || {};\n  const merger = options.merger || _merger;\n  for (let i = 0; i < ilen; ++i) {\n    source = sources[i];\n    if (!isObject(source)) {\n      continue;\n    }\n    const keys = Object.keys(source);\n    for (let k = 0, klen = keys.length; k < klen; ++k) {\n      merger(keys[k], target, source, options);\n    }\n  }\n  return target;\n}\nfunction mergeIf(target, source) {\n  return merge(target, source, {merger: _mergerIf});\n}\nfunction _mergerIf(key, target, source) {\n  if (!isValidKey(key)) {\n    return;\n  }\n  const tval = target[key];\n  const sval = source[key];\n  if (isObject(tval) && isObject(sval)) {\n    mergeIf(tval, sval);\n  } else if (!Object.prototype.hasOwnProperty.call(target, key)) {\n    target[key] = clone$1(sval);\n  }\n}\nfunction _deprecated(scope, value, previous, current) {\n  if (value !== undefined) {\n    console.warn(scope + ': \"' + previous +\n\t\t\t'\" is deprecated. Please use \"' + current + '\" instead');\n  }\n}\nconst keyResolvers = {\n  '': v => v,\n  x: o => o.x,\n  y: o => o.y\n};\nfunction resolveObjectKey(obj, key) {\n  const resolver = keyResolvers[key] || (keyResolvers[key] = _getKeyResolver(key));\n  return resolver(obj);\n}\nfunction _getKeyResolver(key) {\n  const keys = _splitKey(key);\n  return obj => {\n    for (const k of keys) {\n      if (k === '') {\n        break;\n      }\n      obj = obj && obj[k];\n    }\n    return obj;\n  };\n}\nfunction _splitKey(key) {\n  const parts = key.split('.');\n  const keys = [];\n  let tmp = '';\n  for (const part of parts) {\n    tmp += part;\n    if (tmp.endsWith('\\\\')) {\n      tmp = tmp.slice(0, -1) + '.';\n    } else {\n      keys.push(tmp);\n      tmp = '';\n    }\n  }\n  return keys;\n}\nfunction _capitalize(str) {\n  return str.charAt(0).toUpperCase() + str.slice(1);\n}\nconst defined = (value) => typeof value !== 'undefined';\nconst isFunction = (value) => typeof value === 'function';\nconst setsEqual = (a, b) => {\n  if (a.size !== b.size) {\n    return false;\n  }\n  for (const item of a) {\n    if (!b.has(item)) {\n      return false;\n    }\n  }\n  return true;\n};\nfunction _isClickEvent(e) {\n  return e.type === 'mouseup' || e.type === 'click' || e.type === 'contextmenu';\n}\n\nconst PI = Math.PI;\nconst TAU = 2 * PI;\nconst PITAU = TAU + PI;\nconst INFINITY = Number.POSITIVE_INFINITY;\nconst RAD_PER_DEG = PI / 180;\nconst HALF_PI = PI / 2;\nconst QUARTER_PI = PI / 4;\nconst TWO_THIRDS_PI = PI * 2 / 3;\nconst log10 = Math.log10;\nconst sign = Math.sign;\nfunction niceNum(range) {\n  const roundedRange = Math.round(range);\n  range = almostEquals(range, roundedRange, range / 1000) ? roundedRange : range;\n  const niceRange = Math.pow(10, Math.floor(log10(range)));\n  const fraction = range / niceRange;\n  const niceFraction = fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10;\n  return niceFraction * niceRange;\n}\nfunction _factorize(value) {\n  const result = [];\n  const sqrt = Math.sqrt(value);\n  let i;\n  for (i = 1; i < sqrt; i++) {\n    if (value % i === 0) {\n      result.push(i);\n      result.push(value / i);\n    }\n  }\n  if (sqrt === (sqrt | 0)) {\n    result.push(sqrt);\n  }\n  result.sort((a, b) => a - b).pop();\n  return result;\n}\nfunction isNumber(n) {\n  return !isNaN(parseFloat(n)) && isFinite(n);\n}\nfunction almostEquals(x, y, epsilon) {\n  return Math.abs(x - y) < epsilon;\n}\nfunction almostWhole(x, epsilon) {\n  const rounded = Math.round(x);\n  return ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);\n}\nfunction _setMinAndMaxByKey(array, target, property) {\n  let i, ilen, value;\n  for (i = 0, ilen = array.length; i < ilen; i++) {\n    value = array[i][property];\n    if (!isNaN(value)) {\n      target.min = Math.min(target.min, value);\n      target.max = Math.max(target.max, value);\n    }\n  }\n}\nfunction toRadians(degrees) {\n  return degrees * (PI / 180);\n}\nfunction toDegrees(radians) {\n  return radians * (180 / PI);\n}\nfunction _decimalPlaces(x) {\n  if (!isNumberFinite(x)) {\n    return;\n  }\n  let e = 1;\n  let p = 0;\n  while (Math.round(x * e) / e !== x) {\n    e *= 10;\n    p++;\n  }\n  return p;\n}\nfunction getAngleFromPoint(centrePoint, anglePoint) {\n  const distanceFromXCenter = anglePoint.x - centrePoint.x;\n  const distanceFromYCenter = anglePoint.y - centrePoint.y;\n  const radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\n  let angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\n  if (angle < (-0.5 * PI)) {\n    angle += TAU;\n  }\n  return {\n    angle,\n    distance: radialDistanceFromCenter\n  };\n}\nfunction distanceBetweenPoints(pt1, pt2) {\n  return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\n}\nfunction _angleDiff(a, b) {\n  return (a - b + PITAU) % TAU - PI;\n}\nfunction _normalizeAngle(a) {\n  return (a % TAU + TAU) % TAU;\n}\nfunction _angleBetween(angle, start, end, sameAngleIsFullCircle) {\n  const a = _normalizeAngle(angle);\n  const s = _normalizeAngle(start);\n  const e = _normalizeAngle(end);\n  const angleToStart = _normalizeAngle(s - a);\n  const angleToEnd = _normalizeAngle(e - a);\n  const startToAngle = _normalizeAngle(a - s);\n  const endToAngle = _normalizeAngle(a - e);\n  return a === s || a === e || (sameAngleIsFullCircle && s === e)\n    || (angleToStart > angleToEnd && startToAngle < endToAngle);\n}\nfunction _limitValue(value, min, max) {\n  return Math.max(min, Math.min(max, value));\n}\nfunction _int16Range(value) {\n  return _limitValue(value, -32768, 32767);\n}\nfunction _isBetween(value, start, end, epsilon = 1e-6) {\n  return value >= Math.min(start, end) - epsilon && value <= Math.max(start, end) + epsilon;\n}\n\nfunction _lookup(table, value, cmp) {\n  cmp = cmp || ((index) => table[index] < value);\n  let hi = table.length - 1;\n  let lo = 0;\n  let mid;\n  while (hi - lo > 1) {\n    mid = (lo + hi) >> 1;\n    if (cmp(mid)) {\n      lo = mid;\n    } else {\n      hi = mid;\n    }\n  }\n  return {lo, hi};\n}\nconst _lookupByKey = (table, key, value, last) =>\n  _lookup(table, value, last\n    ? index => table[index][key] <= value\n    : index => table[index][key] < value);\nconst _rlookupByKey = (table, key, value) =>\n  _lookup(table, value, index => table[index][key] >= value);\nfunction _filterBetween(values, min, max) {\n  let start = 0;\n  let end = values.length;\n  while (start < end && values[start] < min) {\n    start++;\n  }\n  while (end > start && values[end - 1] > max) {\n    end--;\n  }\n  return start > 0 || end < values.length\n    ? values.slice(start, end)\n    : values;\n}\nconst arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\nfunction listenArrayEvents(array, listener) {\n  if (array._chartjs) {\n    array._chartjs.listeners.push(listener);\n    return;\n  }\n  Object.defineProperty(array, '_chartjs', {\n    configurable: true,\n    enumerable: false,\n    value: {\n      listeners: [listener]\n    }\n  });\n  arrayEvents.forEach((key) => {\n    const method = '_onData' + _capitalize(key);\n    const base = array[key];\n    Object.defineProperty(array, key, {\n      configurable: true,\n      enumerable: false,\n      value(...args) {\n        const res = base.apply(this, args);\n        array._chartjs.listeners.forEach((object) => {\n          if (typeof object[method] === 'function') {\n            object[method](...args);\n          }\n        });\n        return res;\n      }\n    });\n  });\n}\nfunction unlistenArrayEvents(array, listener) {\n  const stub = array._chartjs;\n  if (!stub) {\n    return;\n  }\n  const listeners = stub.listeners;\n  const index = listeners.indexOf(listener);\n  if (index !== -1) {\n    listeners.splice(index, 1);\n  }\n  if (listeners.length > 0) {\n    return;\n  }\n  arrayEvents.forEach((key) => {\n    delete array[key];\n  });\n  delete array._chartjs;\n}\nfunction _arrayUnique(items) {\n  const set = new Set();\n  let i, ilen;\n  for (i = 0, ilen = items.length; i < ilen; ++i) {\n    set.add(items[i]);\n  }\n  if (set.size === ilen) {\n    return items;\n  }\n  return Array.from(set);\n}\n\nfunction fontString(pixelSize, fontStyle, fontFamily) {\n  return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\n}\nconst requestAnimFrame = (function() {\n  if (typeof window === 'undefined') {\n    return function(callback) {\n      return callback();\n    };\n  }\n  return window.requestAnimationFrame;\n}());\nfunction throttled(fn, thisArg, updateFn) {\n  const updateArgs = updateFn || ((args) => Array.prototype.slice.call(args));\n  let ticking = false;\n  let args = [];\n  return function(...rest) {\n    args = updateArgs(rest);\n    if (!ticking) {\n      ticking = true;\n      requestAnimFrame.call(window, () => {\n        ticking = false;\n        fn.apply(thisArg, args);\n      });\n    }\n  };\n}\nfunction debounce(fn, delay) {\n  let timeout;\n  return function(...args) {\n    if (delay) {\n      clearTimeout(timeout);\n      timeout = setTimeout(fn, delay, args);\n    } else {\n      fn.apply(this, args);\n    }\n    return delay;\n  };\n}\nconst _toLeftRightCenter = (align) => align === 'start' ? 'left' : align === 'end' ? 'right' : 'center';\nconst _alignStartEnd = (align, start, end) => align === 'start' ? start : align === 'end' ? end : (start + end) / 2;\nconst _textX = (align, left, right, rtl) => {\n  const check = rtl ? 'left' : 'right';\n  return align === check ? right : align === 'center' ? (left + right) / 2 : left;\n};\nfunction _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled) {\n  const pointCount = points.length;\n  let start = 0;\n  let count = pointCount;\n  if (meta._sorted) {\n    const {iScale, _parsed} = meta;\n    const axis = iScale.axis;\n    const {min, max, minDefined, maxDefined} = iScale.getUserBounds();\n    if (minDefined) {\n      start = _limitValue(Math.min(\n        _lookupByKey(_parsed, iScale.axis, min).lo,\n        animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo),\n      0, pointCount - 1);\n    }\n    if (maxDefined) {\n      count = _limitValue(Math.max(\n        _lookupByKey(_parsed, iScale.axis, max, true).hi + 1,\n        animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1),\n      start, pointCount) - start;\n    } else {\n      count = pointCount - start;\n    }\n  }\n  return {start, count};\n}\nfunction _scaleRangesChanged(meta) {\n  const {xScale, yScale, _scaleRanges} = meta;\n  const newRanges = {\n    xmin: xScale.min,\n    xmax: xScale.max,\n    ymin: yScale.min,\n    ymax: yScale.max\n  };\n  if (!_scaleRanges) {\n    meta._scaleRanges = newRanges;\n    return true;\n  }\n  const changed = _scaleRanges.xmin !== xScale.min\n\t\t|| _scaleRanges.xmax !== xScale.max\n\t\t|| _scaleRanges.ymin !== yScale.min\n\t\t|| _scaleRanges.ymax !== yScale.max;\n  Object.assign(_scaleRanges, newRanges);\n  return changed;\n}\n\nclass Animator {\n  constructor() {\n    this._request = null;\n    this._charts = new Map();\n    this._running = false;\n    this._lastDate = undefined;\n  }\n  _notify(chart, anims, date, type) {\n    const callbacks = anims.listeners[type];\n    const numSteps = anims.duration;\n    callbacks.forEach(fn => fn({\n      chart,\n      initial: anims.initial,\n      numSteps,\n      currentStep: Math.min(date - anims.start, numSteps)\n    }));\n  }\n  _refresh() {\n    if (this._request) {\n      return;\n    }\n    this._running = true;\n    this._request = requestAnimFrame.call(window, () => {\n      this._update();\n      this._request = null;\n      if (this._running) {\n        this._refresh();\n      }\n    });\n  }\n  _update(date = Date.now()) {\n    let remaining = 0;\n    this._charts.forEach((anims, chart) => {\n      if (!anims.running || !anims.items.length) {\n        return;\n      }\n      const items = anims.items;\n      let i = items.length - 1;\n      let draw = false;\n      let item;\n      for (; i >= 0; --i) {\n        item = items[i];\n        if (item._active) {\n          if (item._total > anims.duration) {\n            anims.duration = item._total;\n          }\n          item.tick(date);\n          draw = true;\n        } else {\n          items[i] = items[items.length - 1];\n          items.pop();\n        }\n      }\n      if (draw) {\n        chart.draw();\n        this._notify(chart, anims, date, 'progress');\n      }\n      if (!items.length) {\n        anims.running = false;\n        this._notify(chart, anims, date, 'complete');\n        anims.initial = false;\n      }\n      remaining += items.length;\n    });\n    this._lastDate = date;\n    if (remaining === 0) {\n      this._running = false;\n    }\n  }\n  _getAnims(chart) {\n    const charts = this._charts;\n    let anims = charts.get(chart);\n    if (!anims) {\n      anims = {\n        running: false,\n        initial: true,\n        items: [],\n        listeners: {\n          complete: [],\n          progress: []\n        }\n      };\n      charts.set(chart, anims);\n    }\n    return anims;\n  }\n  listen(chart, event, cb) {\n    this._getAnims(chart).listeners[event].push(cb);\n  }\n  add(chart, items) {\n    if (!items || !items.length) {\n      return;\n    }\n    this._getAnims(chart).items.push(...items);\n  }\n  has(chart) {\n    return this._getAnims(chart).items.length > 0;\n  }\n  start(chart) {\n    const anims = this._charts.get(chart);\n    if (!anims) {\n      return;\n    }\n    anims.running = true;\n    anims.start = Date.now();\n    anims.duration = anims.items.reduce((acc, cur) => Math.max(acc, cur._duration), 0);\n    this._refresh();\n  }\n  running(chart) {\n    if (!this._running) {\n      return false;\n    }\n    const anims = this._charts.get(chart);\n    if (!anims || !anims.running || !anims.items.length) {\n      return false;\n    }\n    return true;\n  }\n  stop(chart) {\n    const anims = this._charts.get(chart);\n    if (!anims || !anims.items.length) {\n      return;\n    }\n    const items = anims.items;\n    let i = items.length - 1;\n    for (; i >= 0; --i) {\n      items[i].cancel();\n    }\n    anims.items = [];\n    this._notify(chart, anims, Date.now(), 'complete');\n  }\n  remove(chart) {\n    return this._charts.delete(chart);\n  }\n}\nvar animator = new Animator();\n\n/*!\n * @kurkle/color v0.2.1\n * https://github.com/kurkle/color#readme\n * (c) 2022 Jukka Kurkela\n * Released under the MIT License\n */\nfunction round(v) {\n  return v + 0.5 | 0;\n}\nconst lim = (v, l, h) => Math.max(Math.min(v, h), l);\nfunction p2b(v) {\n  return lim(round(v * 2.55), 0, 255);\n}\nfunction n2b(v) {\n  return lim(round(v * 255), 0, 255);\n}\nfunction b2n(v) {\n  return lim(round(v / 2.55) / 100, 0, 1);\n}\nfunction n2p(v) {\n  return lim(round(v * 100), 0, 100);\n}\nconst map$1 = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15};\nconst hex = [...'0123456789ABCDEF'];\nconst h1 = b => hex[b & 0xF];\nconst h2 = b => hex[(b & 0xF0) >> 4] + hex[b & 0xF];\nconst eq = b => ((b & 0xF0) >> 4) === (b & 0xF);\nconst isShort = v => eq(v.r) && eq(v.g) && eq(v.b) && eq(v.a);\nfunction hexParse(str) {\n  var len = str.length;\n  var ret;\n  if (str[0] === '#') {\n    if (len === 4 || len === 5) {\n      ret = {\n        r: 255 & map$1[str[1]] * 17,\n        g: 255 & map$1[str[2]] * 17,\n        b: 255 & map$1[str[3]] * 17,\n        a: len === 5 ? map$1[str[4]] * 17 : 255\n      };\n    } else if (len === 7 || len === 9) {\n      ret = {\n        r: map$1[str[1]] << 4 | map$1[str[2]],\n        g: map$1[str[3]] << 4 | map$1[str[4]],\n        b: map$1[str[5]] << 4 | map$1[str[6]],\n        a: len === 9 ? (map$1[str[7]] << 4 | map$1[str[8]]) : 255\n      };\n    }\n  }\n  return ret;\n}\nconst alpha = (a, f) => a < 255 ? f(a) : '';\nfunction hexString(v) {\n  var f = isShort(v) ? h1 : h2;\n  return v\n    ? '#' + f(v.r) + f(v.g) + f(v.b) + alpha(v.a, f)\n    : undefined;\n}\nconst HUE_RE = /^(hsla?|hwb|hsv)\\(\\s*([-+.e\\d]+)(?:deg)?[\\s,]+([-+.e\\d]+)%[\\s,]+([-+.e\\d]+)%(?:[\\s,]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction hsl2rgbn(h, s, l) {\n  const a = s * Math.min(l, 1 - l);\n  const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n  return [f(0), f(8), f(4)];\n}\nfunction hsv2rgbn(h, s, v) {\n  const f = (n, k = (n + h / 60) % 6) => v - v * s * Math.max(Math.min(k, 4 - k, 1), 0);\n  return [f(5), f(3), f(1)];\n}\nfunction hwb2rgbn(h, w, b) {\n  const rgb = hsl2rgbn(h, 1, 0.5);\n  let i;\n  if (w + b > 1) {\n    i = 1 / (w + b);\n    w *= i;\n    b *= i;\n  }\n  for (i = 0; i < 3; i++) {\n    rgb[i] *= 1 - w - b;\n    rgb[i] += w;\n  }\n  return rgb;\n}\nfunction hueValue(r, g, b, d, max) {\n  if (r === max) {\n    return ((g - b) / d) + (g < b ? 6 : 0);\n  }\n  if (g === max) {\n    return (b - r) / d + 2;\n  }\n  return (r - g) / d + 4;\n}\nfunction rgb2hsl(v) {\n  const range = 255;\n  const r = v.r / range;\n  const g = v.g / range;\n  const b = v.b / range;\n  const max = Math.max(r, g, b);\n  const min = Math.min(r, g, b);\n  const l = (max + min) / 2;\n  let h, s, d;\n  if (max !== min) {\n    d = max - min;\n    s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n    h = hueValue(r, g, b, d, max);\n    h = h * 60 + 0.5;\n  }\n  return [h | 0, s || 0, l];\n}\nfunction calln(f, a, b, c) {\n  return (\n    Array.isArray(a)\n      ? f(a[0], a[1], a[2])\n      : f(a, b, c)\n  ).map(n2b);\n}\nfunction hsl2rgb(h, s, l) {\n  return calln(hsl2rgbn, h, s, l);\n}\nfunction hwb2rgb(h, w, b) {\n  return calln(hwb2rgbn, h, w, b);\n}\nfunction hsv2rgb(h, s, v) {\n  return calln(hsv2rgbn, h, s, v);\n}\nfunction hue(h) {\n  return (h % 360 + 360) % 360;\n}\nfunction hueParse(str) {\n  const m = HUE_RE.exec(str);\n  let a = 255;\n  let v;\n  if (!m) {\n    return;\n  }\n  if (m[5] !== v) {\n    a = m[6] ? p2b(+m[5]) : n2b(+m[5]);\n  }\n  const h = hue(+m[2]);\n  const p1 = +m[3] / 100;\n  const p2 = +m[4] / 100;\n  if (m[1] === 'hwb') {\n    v = hwb2rgb(h, p1, p2);\n  } else if (m[1] === 'hsv') {\n    v = hsv2rgb(h, p1, p2);\n  } else {\n    v = hsl2rgb(h, p1, p2);\n  }\n  return {\n    r: v[0],\n    g: v[1],\n    b: v[2],\n    a: a\n  };\n}\nfunction rotate(v, deg) {\n  var h = rgb2hsl(v);\n  h[0] = hue(h[0] + deg);\n  h = hsl2rgb(h);\n  v.r = h[0];\n  v.g = h[1];\n  v.b = h[2];\n}\nfunction hslString(v) {\n  if (!v) {\n    return;\n  }\n  const a = rgb2hsl(v);\n  const h = a[0];\n  const s = n2p(a[1]);\n  const l = n2p(a[2]);\n  return v.a < 255\n    ? `hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`\n    : `hsl(${h}, ${s}%, ${l}%)`;\n}\nconst map$2 = {\n  x: 'dark',\n  Z: 'light',\n  Y: 're',\n  X: 'blu',\n  W: 'gr',\n  V: 'medium',\n  U: 'slate',\n  A: 'ee',\n  T: 'ol',\n  S: 'or',\n  B: 'ra',\n  C: 'lateg',\n  D: 'ights',\n  R: 'in',\n  Q: 'turquois',\n  E: 'hi',\n  P: 'ro',\n  O: 'al',\n  N: 'le',\n  M: 'de',\n  L: 'yello',\n  F: 'en',\n  K: 'ch',\n  G: 'arks',\n  H: 'ea',\n  I: 'ightg',\n  J: 'wh'\n};\nconst names$1 = {\n  OiceXe: 'f0f8ff',\n  antiquewEte: 'faebd7',\n  aqua: 'ffff',\n  aquamarRe: '7fffd4',\n  azuY: 'f0ffff',\n  beige: 'f5f5dc',\n  bisque: 'ffe4c4',\n  black: '0',\n  blanKedOmond: 'ffebcd',\n  Xe: 'ff',\n  XeviTet: '8a2be2',\n  bPwn: 'a52a2a',\n  burlywood: 'deb887',\n  caMtXe: '5f9ea0',\n  KartYuse: '7fff00',\n  KocTate: 'd2691e',\n  cSO: 'ff7f50',\n  cSnflowerXe: '6495ed',\n  cSnsilk: 'fff8dc',\n  crimson: 'dc143c',\n  cyan: 'ffff',\n  xXe: '8b',\n  xcyan: '8b8b',\n  xgTMnPd: 'b8860b',\n  xWay: 'a9a9a9',\n  xgYF: '6400',\n  xgYy: 'a9a9a9',\n  xkhaki: 'bdb76b',\n  xmagFta: '8b008b',\n  xTivegYF: '556b2f',\n  xSange: 'ff8c00',\n  xScEd: '9932cc',\n  xYd: '8b0000',\n  xsOmon: 'e9967a',\n  xsHgYF: '8fbc8f',\n  xUXe: '483d8b',\n  xUWay: '2f4f4f',\n  xUgYy: '2f4f4f',\n  xQe: 'ced1',\n  xviTet: '9400d3',\n  dAppRk: 'ff1493',\n  dApskyXe: 'bfff',\n  dimWay: '696969',\n  dimgYy: '696969',\n  dodgerXe: '1e90ff',\n  fiYbrick: 'b22222',\n  flSOwEte: 'fffaf0',\n  foYstWAn: '228b22',\n  fuKsia: 'ff00ff',\n  gaRsbSo: 'dcdcdc',\n  ghostwEte: 'f8f8ff',\n  gTd: 'ffd700',\n  gTMnPd: 'daa520',\n  Way: '808080',\n  gYF: '8000',\n  gYFLw: 'adff2f',\n  gYy: '808080',\n  honeyMw: 'f0fff0',\n  hotpRk: 'ff69b4',\n  RdianYd: 'cd5c5c',\n  Rdigo: '4b0082',\n  ivSy: 'fffff0',\n  khaki: 'f0e68c',\n  lavFMr: 'e6e6fa',\n  lavFMrXsh: 'fff0f5',\n  lawngYF: '7cfc00',\n  NmoncEffon: 'fffacd',\n  ZXe: 'add8e6',\n  ZcSO: 'f08080',\n  Zcyan: 'e0ffff',\n  ZgTMnPdLw: 'fafad2',\n  ZWay: 'd3d3d3',\n  ZgYF: '90ee90',\n  ZgYy: 'd3d3d3',\n  ZpRk: 'ffb6c1',\n  ZsOmon: 'ffa07a',\n  ZsHgYF: '20b2aa',\n  ZskyXe: '87cefa',\n  ZUWay: '778899',\n  ZUgYy: '778899',\n  ZstAlXe: 'b0c4de',\n  ZLw: 'ffffe0',\n  lime: 'ff00',\n  limegYF: '32cd32',\n  lRF: 'faf0e6',\n  magFta: 'ff00ff',\n  maPon: '800000',\n  VaquamarRe: '66cdaa',\n  VXe: 'cd',\n  VScEd: 'ba55d3',\n  VpurpN: '9370db',\n  VsHgYF: '3cb371',\n  VUXe: '7b68ee',\n  VsprRggYF: 'fa9a',\n  VQe: '48d1cc',\n  VviTetYd: 'c71585',\n  midnightXe: '191970',\n  mRtcYam: 'f5fffa',\n  mistyPse: 'ffe4e1',\n  moccasR: 'ffe4b5',\n  navajowEte: 'ffdead',\n  navy: '80',\n  Tdlace: 'fdf5e6',\n  Tive: '808000',\n  TivedBb: '6b8e23',\n  Sange: 'ffa500',\n  SangeYd: 'ff4500',\n  ScEd: 'da70d6',\n  pOegTMnPd: 'eee8aa',\n  pOegYF: '98fb98',\n  pOeQe: 'afeeee',\n  pOeviTetYd: 'db7093',\n  papayawEp: 'ffefd5',\n  pHKpuff: 'ffdab9',\n  peru: 'cd853f',\n  pRk: 'ffc0cb',\n  plum: 'dda0dd',\n  powMrXe: 'b0e0e6',\n  purpN: '800080',\n  YbeccapurpN: '663399',\n  Yd: 'ff0000',\n  Psybrown: 'bc8f8f',\n  PyOXe: '4169e1',\n  saddNbPwn: '8b4513',\n  sOmon: 'fa8072',\n  sandybPwn: 'f4a460',\n  sHgYF: '2e8b57',\n  sHshell: 'fff5ee',\n  siFna: 'a0522d',\n  silver: 'c0c0c0',\n  skyXe: '87ceeb',\n  UXe: '6a5acd',\n  UWay: '708090',\n  UgYy: '708090',\n  snow: 'fffafa',\n  sprRggYF: 'ff7f',\n  stAlXe: '4682b4',\n  tan: 'd2b48c',\n  teO: '8080',\n  tEstN: 'd8bfd8',\n  tomato: 'ff6347',\n  Qe: '40e0d0',\n  viTet: 'ee82ee',\n  JHt: 'f5deb3',\n  wEte: 'ffffff',\n  wEtesmoke: 'f5f5f5',\n  Lw: 'ffff00',\n  LwgYF: '9acd32'\n};\nfunction unpack() {\n  const unpacked = {};\n  const keys = Object.keys(names$1);\n  const tkeys = Object.keys(map$2);\n  let i, j, k, ok, nk;\n  for (i = 0; i < keys.length; i++) {\n    ok = nk = keys[i];\n    for (j = 0; j < tkeys.length; j++) {\n      k = tkeys[j];\n      nk = nk.replace(k, map$2[k]);\n    }\n    k = parseInt(names$1[ok], 16);\n    unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];\n  }\n  return unpacked;\n}\nlet names;\nfunction nameParse(str) {\n  if (!names) {\n    names = unpack();\n    names.transparent = [0, 0, 0, 0];\n  }\n  const a = names[str.toLowerCase()];\n  return a && {\n    r: a[0],\n    g: a[1],\n    b: a[2],\n    a: a.length === 4 ? a[3] : 255\n  };\n}\nconst RGB_RE = /^rgba?\\(\\s*([-+.\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?(?:[\\s,/]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction rgbParse(str) {\n  const m = RGB_RE.exec(str);\n  let a = 255;\n  let r, g, b;\n  if (!m) {\n    return;\n  }\n  if (m[7] !== r) {\n    const v = +m[7];\n    a = m[8] ? p2b(v) : lim(v * 255, 0, 255);\n  }\n  r = +m[1];\n  g = +m[3];\n  b = +m[5];\n  r = 255 & (m[2] ? p2b(r) : lim(r, 0, 255));\n  g = 255 & (m[4] ? p2b(g) : lim(g, 0, 255));\n  b = 255 & (m[6] ? p2b(b) : lim(b, 0, 255));\n  return {\n    r: r,\n    g: g,\n    b: b,\n    a: a\n  };\n}\nfunction rgbString(v) {\n  return v && (\n    v.a < 255\n      ? `rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`\n      : `rgb(${v.r}, ${v.g}, ${v.b})`\n  );\n}\nconst to = v => v <= 0.0031308 ? v * 12.92 : Math.pow(v, 1.0 / 2.4) * 1.055 - 0.055;\nconst from = v => v <= 0.04045 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);\nfunction interpolate$1(rgb1, rgb2, t) {\n  const r = from(b2n(rgb1.r));\n  const g = from(b2n(rgb1.g));\n  const b = from(b2n(rgb1.b));\n  return {\n    r: n2b(to(r + t * (from(b2n(rgb2.r)) - r))),\n    g: n2b(to(g + t * (from(b2n(rgb2.g)) - g))),\n    b: n2b(to(b + t * (from(b2n(rgb2.b)) - b))),\n    a: rgb1.a + t * (rgb2.a - rgb1.a)\n  };\n}\nfunction modHSL(v, i, ratio) {\n  if (v) {\n    let tmp = rgb2hsl(v);\n    tmp[i] = Math.max(0, Math.min(tmp[i] + tmp[i] * ratio, i === 0 ? 360 : 1));\n    tmp = hsl2rgb(tmp);\n    v.r = tmp[0];\n    v.g = tmp[1];\n    v.b = tmp[2];\n  }\n}\nfunction clone(v, proto) {\n  return v ? Object.assign(proto || {}, v) : v;\n}\nfunction fromObject(input) {\n  var v = {r: 0, g: 0, b: 0, a: 255};\n  if (Array.isArray(input)) {\n    if (input.length >= 3) {\n      v = {r: input[0], g: input[1], b: input[2], a: 255};\n      if (input.length > 3) {\n        v.a = n2b(input[3]);\n      }\n    }\n  } else {\n    v = clone(input, {r: 0, g: 0, b: 0, a: 1});\n    v.a = n2b(v.a);\n  }\n  return v;\n}\nfunction functionParse(str) {\n  if (str.charAt(0) === 'r') {\n    return rgbParse(str);\n  }\n  return hueParse(str);\n}\nclass Color {\n  constructor(input) {\n    if (input instanceof Color) {\n      return input;\n    }\n    const type = typeof input;\n    let v;\n    if (type === 'object') {\n      v = fromObject(input);\n    } else if (type === 'string') {\n      v = hexParse(input) || nameParse(input) || functionParse(input);\n    }\n    this._rgb = v;\n    this._valid = !!v;\n  }\n  get valid() {\n    return this._valid;\n  }\n  get rgb() {\n    var v = clone(this._rgb);\n    if (v) {\n      v.a = b2n(v.a);\n    }\n    return v;\n  }\n  set rgb(obj) {\n    this._rgb = fromObject(obj);\n  }\n  rgbString() {\n    return this._valid ? rgbString(this._rgb) : undefined;\n  }\n  hexString() {\n    return this._valid ? hexString(this._rgb) : undefined;\n  }\n  hslString() {\n    return this._valid ? hslString(this._rgb) : undefined;\n  }\n  mix(color, weight) {\n    if (color) {\n      const c1 = this.rgb;\n      const c2 = color.rgb;\n      let w2;\n      const p = weight === w2 ? 0.5 : weight;\n      const w = 2 * p - 1;\n      const a = c1.a - c2.a;\n      const w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n      w2 = 1 - w1;\n      c1.r = 0xFF & w1 * c1.r + w2 * c2.r + 0.5;\n      c1.g = 0xFF & w1 * c1.g + w2 * c2.g + 0.5;\n      c1.b = 0xFF & w1 * c1.b + w2 * c2.b + 0.5;\n      c1.a = p * c1.a + (1 - p) * c2.a;\n      this.rgb = c1;\n    }\n    return this;\n  }\n  interpolate(color, t) {\n    if (color) {\n      this._rgb = interpolate$1(this._rgb, color._rgb, t);\n    }\n    return this;\n  }\n  clone() {\n    return new Color(this.rgb);\n  }\n  alpha(a) {\n    this._rgb.a = n2b(a);\n    return this;\n  }\n  clearer(ratio) {\n    const rgb = this._rgb;\n    rgb.a *= 1 - ratio;\n    return this;\n  }\n  greyscale() {\n    const rgb = this._rgb;\n    const val = round(rgb.r * 0.3 + rgb.g * 0.59 + rgb.b * 0.11);\n    rgb.r = rgb.g = rgb.b = val;\n    return this;\n  }\n  opaquer(ratio) {\n    const rgb = this._rgb;\n    rgb.a *= 1 + ratio;\n    return this;\n  }\n  negate() {\n    const v = this._rgb;\n    v.r = 255 - v.r;\n    v.g = 255 - v.g;\n    v.b = 255 - v.b;\n    return this;\n  }\n  lighten(ratio) {\n    modHSL(this._rgb, 2, ratio);\n    return this;\n  }\n  darken(ratio) {\n    modHSL(this._rgb, 2, -ratio);\n    return this;\n  }\n  saturate(ratio) {\n    modHSL(this._rgb, 1, ratio);\n    return this;\n  }\n  desaturate(ratio) {\n    modHSL(this._rgb, 1, -ratio);\n    return this;\n  }\n  rotate(deg) {\n    rotate(this._rgb, deg);\n    return this;\n  }\n}\nfunction index_esm(input) {\n  return new Color(input);\n}\n\nfunction isPatternOrGradient(value) {\n  if (value && typeof value === 'object') {\n    const type = value.toString();\n    return type === '[object CanvasPattern]' || type === '[object CanvasGradient]';\n  }\n  return false;\n}\nfunction color(value) {\n  return isPatternOrGradient(value) ? value : index_esm(value);\n}\nfunction getHoverColor(value) {\n  return isPatternOrGradient(value)\n    ? value\n    : index_esm(value).saturate(0.5).darken(0.1).hexString();\n}\n\nconst overrides = Object.create(null);\nconst descriptors = Object.create(null);\nfunction getScope$1(node, key) {\n  if (!key) {\n    return node;\n  }\n  const keys = key.split('.');\n  for (let i = 0, n = keys.length; i < n; ++i) {\n    const k = keys[i];\n    node = node[k] || (node[k] = Object.create(null));\n  }\n  return node;\n}\nfunction set(root, scope, values) {\n  if (typeof scope === 'string') {\n    return merge(getScope$1(root, scope), values);\n  }\n  return merge(getScope$1(root, ''), scope);\n}\nclass Defaults {\n  constructor(_descriptors) {\n    this.animation = undefined;\n    this.backgroundColor = 'rgba(0,0,0,0.1)';\n    this.borderColor = 'rgba(0,0,0,0.1)';\n    this.color = '#666';\n    this.datasets = {};\n    this.devicePixelRatio = (context) => context.chart.platform.getDevicePixelRatio();\n    this.elements = {};\n    this.events = [\n      'mousemove',\n      'mouseout',\n      'click',\n      'touchstart',\n      'touchmove'\n    ];\n    this.font = {\n      family: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\n      size: 12,\n      style: 'normal',\n      lineHeight: 1.2,\n      weight: null\n    };\n    this.hover = {};\n    this.hoverBackgroundColor = (ctx, options) => getHoverColor(options.backgroundColor);\n    this.hoverBorderColor = (ctx, options) => getHoverColor(options.borderColor);\n    this.hoverColor = (ctx, options) => getHoverColor(options.color);\n    this.indexAxis = 'x';\n    this.interaction = {\n      mode: 'nearest',\n      intersect: true,\n      includeInvisible: false\n    };\n    this.maintainAspectRatio = true;\n    this.onHover = null;\n    this.onClick = null;\n    this.parsing = true;\n    this.plugins = {};\n    this.responsive = true;\n    this.scale = undefined;\n    this.scales = {};\n    this.showLine = true;\n    this.drawActiveElementsOnTop = true;\n    this.describe(_descriptors);\n  }\n  set(scope, values) {\n    return set(this, scope, values);\n  }\n  get(scope) {\n    return getScope$1(this, scope);\n  }\n  describe(scope, values) {\n    return set(descriptors, scope, values);\n  }\n  override(scope, values) {\n    return set(overrides, scope, values);\n  }\n  route(scope, name, targetScope, targetName) {\n    const scopeObject = getScope$1(this, scope);\n    const targetScopeObject = getScope$1(this, targetScope);\n    const privateName = '_' + name;\n    Object.defineProperties(scopeObject, {\n      [privateName]: {\n        value: scopeObject[name],\n        writable: true\n      },\n      [name]: {\n        enumerable: true,\n        get() {\n          const local = this[privateName];\n          const target = targetScopeObject[targetName];\n          if (isObject(local)) {\n            return Object.assign({}, target, local);\n          }\n          return valueOrDefault(local, target);\n        },\n        set(value) {\n          this[privateName] = value;\n        }\n      }\n    });\n  }\n}\nvar defaults = new Defaults({\n  _scriptable: (name) => !name.startsWith('on'),\n  _indexable: (name) => name !== 'events',\n  hover: {\n    _fallback: 'interaction'\n  },\n  interaction: {\n    _scriptable: false,\n    _indexable: false,\n  }\n});\n\nfunction _isDomSupported() {\n  return typeof window !== 'undefined' && typeof document !== 'undefined';\n}\nfunction _getParentNode(domNode) {\n  let parent = domNode.parentNode;\n  if (parent && parent.toString() === '[object ShadowRoot]') {\n    parent = parent.host;\n  }\n  return parent;\n}\nfunction parseMaxStyle(styleValue, node, parentProperty) {\n  let valueInPixels;\n  if (typeof styleValue === 'string') {\n    valueInPixels = parseInt(styleValue, 10);\n    if (styleValue.indexOf('%') !== -1) {\n      valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\n    }\n  } else {\n    valueInPixels = styleValue;\n  }\n  return valueInPixels;\n}\nconst getComputedStyle = (element) => window.getComputedStyle(element, null);\nfunction getStyle(el, property) {\n  return getComputedStyle(el).getPropertyValue(property);\n}\nconst positions = ['top', 'right', 'bottom', 'left'];\nfunction getPositionedStyle(styles, style, suffix) {\n  const result = {};\n  suffix = suffix ? '-' + suffix : '';\n  for (let i = 0; i < 4; i++) {\n    const pos = positions[i];\n    result[pos] = parseFloat(styles[style + '-' + pos + suffix]) || 0;\n  }\n  result.width = result.left + result.right;\n  result.height = result.top + result.bottom;\n  return result;\n}\nconst useOffsetPos = (x, y, target) => (x > 0 || y > 0) && (!target || !target.shadowRoot);\nfunction getCanvasPosition(e, canvas) {\n  const touches = e.touches;\n  const source = touches && touches.length ? touches[0] : e;\n  const {offsetX, offsetY} = source;\n  let box = false;\n  let x, y;\n  if (useOffsetPos(offsetX, offsetY, e.target)) {\n    x = offsetX;\n    y = offsetY;\n  } else {\n    const rect = canvas.getBoundingClientRect();\n    x = source.clientX - rect.left;\n    y = source.clientY - rect.top;\n    box = true;\n  }\n  return {x, y, box};\n}\nfunction getRelativePosition(evt, chart) {\n  if ('native' in evt) {\n    return evt;\n  }\n  const {canvas, currentDevicePixelRatio} = chart;\n  const style = getComputedStyle(canvas);\n  const borderBox = style.boxSizing === 'border-box';\n  const paddings = getPositionedStyle(style, 'padding');\n  const borders = getPositionedStyle(style, 'border', 'width');\n  const {x, y, box} = getCanvasPosition(evt, canvas);\n  const xOffset = paddings.left + (box && borders.left);\n  const yOffset = paddings.top + (box && borders.top);\n  let {width, height} = chart;\n  if (borderBox) {\n    width -= paddings.width + borders.width;\n    height -= paddings.height + borders.height;\n  }\n  return {\n    x: Math.round((x - xOffset) / width * canvas.width / currentDevicePixelRatio),\n    y: Math.round((y - yOffset) / height * canvas.height / currentDevicePixelRatio)\n  };\n}\nfunction getContainerSize(canvas, width, height) {\n  let maxWidth, maxHeight;\n  if (width === undefined || height === undefined) {\n    const container = _getParentNode(canvas);\n    if (!container) {\n      width = canvas.clientWidth;\n      height = canvas.clientHeight;\n    } else {\n      const rect = container.getBoundingClientRect();\n      const containerStyle = getComputedStyle(container);\n      const containerBorder = getPositionedStyle(containerStyle, 'border', 'width');\n      const containerPadding = getPositionedStyle(containerStyle, 'padding');\n      width = rect.width - containerPadding.width - containerBorder.width;\n      height = rect.height - containerPadding.height - containerBorder.height;\n      maxWidth = parseMaxStyle(containerStyle.maxWidth, container, 'clientWidth');\n      maxHeight = parseMaxStyle(containerStyle.maxHeight, container, 'clientHeight');\n    }\n  }\n  return {\n    width,\n    height,\n    maxWidth: maxWidth || INFINITY,\n    maxHeight: maxHeight || INFINITY\n  };\n}\nconst round1 = v => Math.round(v * 10) / 10;\nfunction getMaximumSize(canvas, bbWidth, bbHeight, aspectRatio) {\n  const style = getComputedStyle(canvas);\n  const margins = getPositionedStyle(style, 'margin');\n  const maxWidth = parseMaxStyle(style.maxWidth, canvas, 'clientWidth') || INFINITY;\n  const maxHeight = parseMaxStyle(style.maxHeight, canvas, 'clientHeight') || INFINITY;\n  const containerSize = getContainerSize(canvas, bbWidth, bbHeight);\n  let {width, height} = containerSize;\n  if (style.boxSizing === 'content-box') {\n    const borders = getPositionedStyle(style, 'border', 'width');\n    const paddings = getPositionedStyle(style, 'padding');\n    width -= paddings.width + borders.width;\n    height -= paddings.height + borders.height;\n  }\n  width = Math.max(0, width - margins.width);\n  height = Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height - margins.height);\n  width = round1(Math.min(width, maxWidth, containerSize.maxWidth));\n  height = round1(Math.min(height, maxHeight, containerSize.maxHeight));\n  if (width && !height) {\n    height = round1(width / 2);\n  }\n  return {\n    width,\n    height\n  };\n}\nfunction retinaScale(chart, forceRatio, forceStyle) {\n  const pixelRatio = forceRatio || 1;\n  const deviceHeight = Math.floor(chart.height * pixelRatio);\n  const deviceWidth = Math.floor(chart.width * pixelRatio);\n  chart.height = deviceHeight / pixelRatio;\n  chart.width = deviceWidth / pixelRatio;\n  const canvas = chart.canvas;\n  if (canvas.style && (forceStyle || (!canvas.style.height && !canvas.style.width))) {\n    canvas.style.height = `${chart.height}px`;\n    canvas.style.width = `${chart.width}px`;\n  }\n  if (chart.currentDevicePixelRatio !== pixelRatio\n      || canvas.height !== deviceHeight\n      || canvas.width !== deviceWidth) {\n    chart.currentDevicePixelRatio = pixelRatio;\n    canvas.height = deviceHeight;\n    canvas.width = deviceWidth;\n    chart.ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0);\n    return true;\n  }\n  return false;\n}\nconst supportsEventListenerOptions = (function() {\n  let passiveSupported = false;\n  try {\n    const options = {\n      get passive() {\n        passiveSupported = true;\n        return false;\n      }\n    };\n    window.addEventListener('test', null, options);\n    window.removeEventListener('test', null, options);\n  } catch (e) {\n  }\n  return passiveSupported;\n}());\nfunction readUsedSize(element, property) {\n  const value = getStyle(element, property);\n  const matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\n  return matches ? +matches[1] : undefined;\n}\n\nfunction toFontString(font) {\n  if (!font || isNullOrUndef(font.size) || isNullOrUndef(font.family)) {\n    return null;\n  }\n  return (font.style ? font.style + ' ' : '')\n\t\t+ (font.weight ? font.weight + ' ' : '')\n\t\t+ font.size + 'px '\n\t\t+ font.family;\n}\nfunction _measureText(ctx, data, gc, longest, string) {\n  let textWidth = data[string];\n  if (!textWidth) {\n    textWidth = data[string] = ctx.measureText(string).width;\n    gc.push(string);\n  }\n  if (textWidth > longest) {\n    longest = textWidth;\n  }\n  return longest;\n}\nfunction _longestText(ctx, font, arrayOfThings, cache) {\n  cache = cache || {};\n  let data = cache.data = cache.data || {};\n  let gc = cache.garbageCollect = cache.garbageCollect || [];\n  if (cache.font !== font) {\n    data = cache.data = {};\n    gc = cache.garbageCollect = [];\n    cache.font = font;\n  }\n  ctx.save();\n  ctx.font = font;\n  let longest = 0;\n  const ilen = arrayOfThings.length;\n  let i, j, jlen, thing, nestedThing;\n  for (i = 0; i < ilen; i++) {\n    thing = arrayOfThings[i];\n    if (thing !== undefined && thing !== null && isArray(thing) !== true) {\n      longest = _measureText(ctx, data, gc, longest, thing);\n    } else if (isArray(thing)) {\n      for (j = 0, jlen = thing.length; j < jlen; j++) {\n        nestedThing = thing[j];\n        if (nestedThing !== undefined && nestedThing !== null && !isArray(nestedThing)) {\n          longest = _measureText(ctx, data, gc, longest, nestedThing);\n        }\n      }\n    }\n  }\n  ctx.restore();\n  const gcLen = gc.length / 2;\n  if (gcLen > arrayOfThings.length) {\n    for (i = 0; i < gcLen; i++) {\n      delete data[gc[i]];\n    }\n    gc.splice(0, gcLen);\n  }\n  return longest;\n}\nfunction _alignPixel(chart, pixel, width) {\n  const devicePixelRatio = chart.currentDevicePixelRatio;\n  const halfWidth = width !== 0 ? Math.max(width / 2, 0.5) : 0;\n  return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\n}\nfunction clearCanvas(canvas, ctx) {\n  ctx = ctx || canvas.getContext('2d');\n  ctx.save();\n  ctx.resetTransform();\n  ctx.clearRect(0, 0, canvas.width, canvas.height);\n  ctx.restore();\n}\nfunction drawPoint(ctx, options, x, y) {\n  drawPointLegend(ctx, options, x, y, null);\n}\nfunction drawPointLegend(ctx, options, x, y, w) {\n  let type, xOffset, yOffset, size, cornerRadius, width;\n  const style = options.pointStyle;\n  const rotation = options.rotation;\n  const radius = options.radius;\n  let rad = (rotation || 0) * RAD_PER_DEG;\n  if (style && typeof style === 'object') {\n    type = style.toString();\n    if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\n      ctx.save();\n      ctx.translate(x, y);\n      ctx.rotate(rad);\n      ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\n      ctx.restore();\n      return;\n    }\n  }\n  if (isNaN(radius) || radius <= 0) {\n    return;\n  }\n  ctx.beginPath();\n  switch (style) {\n  default:\n    if (w) {\n      ctx.ellipse(x, y, w / 2, radius, 0, 0, TAU);\n    } else {\n      ctx.arc(x, y, radius, 0, TAU);\n    }\n    ctx.closePath();\n    break;\n  case 'triangle':\n    ctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    rad += TWO_THIRDS_PI;\n    ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    rad += TWO_THIRDS_PI;\n    ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    ctx.closePath();\n    break;\n  case 'rectRounded':\n    cornerRadius = radius * 0.516;\n    size = radius - cornerRadius;\n    xOffset = Math.cos(rad + QUARTER_PI) * size;\n    yOffset = Math.sin(rad + QUARTER_PI) * size;\n    ctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\n    ctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\n    ctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\n    ctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\n    ctx.closePath();\n    break;\n  case 'rect':\n    if (!rotation) {\n      size = Math.SQRT1_2 * radius;\n      width = w ? w / 2 : size;\n      ctx.rect(x - width, y - size, 2 * width, 2 * size);\n      break;\n    }\n    rad += QUARTER_PI;\n  case 'rectRot':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    ctx.closePath();\n    break;\n  case 'crossRot':\n    rad += QUARTER_PI;\n  case 'cross':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    break;\n  case 'star':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    rad += QUARTER_PI;\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    break;\n  case 'line':\n    xOffset = w ? w / 2 : Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    break;\n  case 'dash':\n    ctx.moveTo(x, y);\n    ctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\n    break;\n  }\n  ctx.fill();\n  if (options.borderWidth > 0) {\n    ctx.stroke();\n  }\n}\nfunction _isPointInArea(point, area, margin) {\n  margin = margin || 0.5;\n  return !area || (point && point.x > area.left - margin && point.x < area.right + margin &&\n\t\tpoint.y > area.top - margin && point.y < area.bottom + margin);\n}\nfunction clipArea(ctx, area) {\n  ctx.save();\n  ctx.beginPath();\n  ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\n  ctx.clip();\n}\nfunction unclipArea(ctx) {\n  ctx.restore();\n}\nfunction _steppedLineTo(ctx, previous, target, flip, mode) {\n  if (!previous) {\n    return ctx.lineTo(target.x, target.y);\n  }\n  if (mode === 'middle') {\n    const midpoint = (previous.x + target.x) / 2.0;\n    ctx.lineTo(midpoint, previous.y);\n    ctx.lineTo(midpoint, target.y);\n  } else if (mode === 'after' !== !!flip) {\n    ctx.lineTo(previous.x, target.y);\n  } else {\n    ctx.lineTo(target.x, previous.y);\n  }\n  ctx.lineTo(target.x, target.y);\n}\nfunction _bezierCurveTo(ctx, previous, target, flip) {\n  if (!previous) {\n    return ctx.lineTo(target.x, target.y);\n  }\n  ctx.bezierCurveTo(\n    flip ? previous.cp1x : previous.cp2x,\n    flip ? previous.cp1y : previous.cp2y,\n    flip ? target.cp2x : target.cp1x,\n    flip ? target.cp2y : target.cp1y,\n    target.x,\n    target.y);\n}\nfunction renderText(ctx, text, x, y, font, opts = {}) {\n  const lines = isArray(text) ? text : [text];\n  const stroke = opts.strokeWidth > 0 && opts.strokeColor !== '';\n  let i, line;\n  ctx.save();\n  ctx.font = font.string;\n  setRenderOpts(ctx, opts);\n  for (i = 0; i < lines.length; ++i) {\n    line = lines[i];\n    if (stroke) {\n      if (opts.strokeColor) {\n        ctx.strokeStyle = opts.strokeColor;\n      }\n      if (!isNullOrUndef(opts.strokeWidth)) {\n        ctx.lineWidth = opts.strokeWidth;\n      }\n      ctx.strokeText(line, x, y, opts.maxWidth);\n    }\n    ctx.fillText(line, x, y, opts.maxWidth);\n    decorateText(ctx, x, y, line, opts);\n    y += font.lineHeight;\n  }\n  ctx.restore();\n}\nfunction setRenderOpts(ctx, opts) {\n  if (opts.translation) {\n    ctx.translate(opts.translation[0], opts.translation[1]);\n  }\n  if (!isNullOrUndef(opts.rotation)) {\n    ctx.rotate(opts.rotation);\n  }\n  if (opts.color) {\n    ctx.fillStyle = opts.color;\n  }\n  if (opts.textAlign) {\n    ctx.textAlign = opts.textAlign;\n  }\n  if (opts.textBaseline) {\n    ctx.textBaseline = opts.textBaseline;\n  }\n}\nfunction decorateText(ctx, x, y, line, opts) {\n  if (opts.strikethrough || opts.underline) {\n    const metrics = ctx.measureText(line);\n    const left = x - metrics.actualBoundingBoxLeft;\n    const right = x + metrics.actualBoundingBoxRight;\n    const top = y - metrics.actualBoundingBoxAscent;\n    const bottom = y + metrics.actualBoundingBoxDescent;\n    const yDecoration = opts.strikethrough ? (top + bottom) / 2 : bottom;\n    ctx.strokeStyle = ctx.fillStyle;\n    ctx.beginPath();\n    ctx.lineWidth = opts.decorationWidth || 2;\n    ctx.moveTo(left, yDecoration);\n    ctx.lineTo(right, yDecoration);\n    ctx.stroke();\n  }\n}\nfunction addRoundedRectPath(ctx, rect) {\n  const {x, y, w, h, radius} = rect;\n  ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, -HALF_PI, PI, true);\n  ctx.lineTo(x, y + h - radius.bottomLeft);\n  ctx.arc(x + radius.bottomLeft, y + h - radius.bottomLeft, radius.bottomLeft, PI, HALF_PI, true);\n  ctx.lineTo(x + w - radius.bottomRight, y + h);\n  ctx.arc(x + w - radius.bottomRight, y + h - radius.bottomRight, radius.bottomRight, HALF_PI, 0, true);\n  ctx.lineTo(x + w, y + radius.topRight);\n  ctx.arc(x + w - radius.topRight, y + radius.topRight, radius.topRight, 0, -HALF_PI, true);\n  ctx.lineTo(x + radius.topLeft, y);\n}\n\nfunction _createResolver(scopes, prefixes = [''], rootScopes = scopes, fallback, getTarget = () => scopes[0]) {\n  if (!defined(fallback)) {\n    fallback = _resolve('_fallback', scopes);\n  }\n  const cache = {\n    [Symbol.toStringTag]: 'Object',\n    _cacheable: true,\n    _scopes: scopes,\n    _rootScopes: rootScopes,\n    _fallback: fallback,\n    _getTarget: getTarget,\n    override: (scope) => _createResolver([scope, ...scopes], prefixes, rootScopes, fallback),\n  };\n  return new Proxy(cache, {\n    deleteProperty(target, prop) {\n      delete target[prop];\n      delete target._keys;\n      delete scopes[0][prop];\n      return true;\n    },\n    get(target, prop) {\n      return _cached(target, prop,\n        () => _resolveWithPrefixes(prop, prefixes, scopes, target));\n    },\n    getOwnPropertyDescriptor(target, prop) {\n      return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop);\n    },\n    getPrototypeOf() {\n      return Reflect.getPrototypeOf(scopes[0]);\n    },\n    has(target, prop) {\n      return getKeysFromAllScopes(target).includes(prop);\n    },\n    ownKeys(target) {\n      return getKeysFromAllScopes(target);\n    },\n    set(target, prop, value) {\n      const storage = target._storage || (target._storage = getTarget());\n      target[prop] = storage[prop] = value;\n      delete target._keys;\n      return true;\n    }\n  });\n}\nfunction _attachContext(proxy, context, subProxy, descriptorDefaults) {\n  const cache = {\n    _cacheable: false,\n    _proxy: proxy,\n    _context: context,\n    _subProxy: subProxy,\n    _stack: new Set(),\n    _descriptors: _descriptors(proxy, descriptorDefaults),\n    setContext: (ctx) => _attachContext(proxy, ctx, subProxy, descriptorDefaults),\n    override: (scope) => _attachContext(proxy.override(scope), context, subProxy, descriptorDefaults)\n  };\n  return new Proxy(cache, {\n    deleteProperty(target, prop) {\n      delete target[prop];\n      delete proxy[prop];\n      return true;\n    },\n    get(target, prop, receiver) {\n      return _cached(target, prop,\n        () => _resolveWithContext(target, prop, receiver));\n    },\n    getOwnPropertyDescriptor(target, prop) {\n      return target._descriptors.allKeys\n        ? Reflect.has(proxy, prop) ? {enumerable: true, configurable: true} : undefined\n        : Reflect.getOwnPropertyDescriptor(proxy, prop);\n    },\n    getPrototypeOf() {\n      return Reflect.getPrototypeOf(proxy);\n    },\n    has(target, prop) {\n      return Reflect.has(proxy, prop);\n    },\n    ownKeys() {\n      return Reflect.ownKeys(proxy);\n    },\n    set(target, prop, value) {\n      proxy[prop] = value;\n      delete target[prop];\n      return true;\n    }\n  });\n}\nfunction _descriptors(proxy, defaults = {scriptable: true, indexable: true}) {\n  const {_scriptable = defaults.scriptable, _indexable = defaults.indexable, _allKeys = defaults.allKeys} = proxy;\n  return {\n    allKeys: _allKeys,\n    scriptable: _scriptable,\n    indexable: _indexable,\n    isScriptable: isFunction(_scriptable) ? _scriptable : () => _scriptable,\n    isIndexable: isFunction(_indexable) ? _indexable : () => _indexable\n  };\n}\nconst readKey = (prefix, name) => prefix ? prefix + _capitalize(name) : name;\nconst needsSubResolver = (prop, value) => isObject(value) && prop !== 'adapters' &&\n  (Object.getPrototypeOf(value) === null || value.constructor === Object);\nfunction _cached(target, prop, resolve) {\n  if (Object.prototype.hasOwnProperty.call(target, prop)) {\n    return target[prop];\n  }\n  const value = resolve();\n  target[prop] = value;\n  return value;\n}\nfunction _resolveWithContext(target, prop, receiver) {\n  const {_proxy, _context, _subProxy, _descriptors: descriptors} = target;\n  let value = _proxy[prop];\n  if (isFunction(value) && descriptors.isScriptable(prop)) {\n    value = _resolveScriptable(prop, value, target, receiver);\n  }\n  if (isArray(value) && value.length) {\n    value = _resolveArray(prop, value, target, descriptors.isIndexable);\n  }\n  if (needsSubResolver(prop, value)) {\n    value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors);\n  }\n  return value;\n}\nfunction _resolveScriptable(prop, value, target, receiver) {\n  const {_proxy, _context, _subProxy, _stack} = target;\n  if (_stack.has(prop)) {\n    throw new Error('Recursion detected: ' + Array.from(_stack).join('->') + '->' + prop);\n  }\n  _stack.add(prop);\n  value = value(_context, _subProxy || receiver);\n  _stack.delete(prop);\n  if (needsSubResolver(prop, value)) {\n    value = createSubResolver(_proxy._scopes, _proxy, prop, value);\n  }\n  return value;\n}\nfunction _resolveArray(prop, value, target, isIndexable) {\n  const {_proxy, _context, _subProxy, _descriptors: descriptors} = target;\n  if (defined(_context.index) && isIndexable(prop)) {\n    value = value[_context.index % value.length];\n  } else if (isObject(value[0])) {\n    const arr = value;\n    const scopes = _proxy._scopes.filter(s => s !== arr);\n    value = [];\n    for (const item of arr) {\n      const resolver = createSubResolver(scopes, _proxy, prop, item);\n      value.push(_attachContext(resolver, _context, _subProxy && _subProxy[prop], descriptors));\n    }\n  }\n  return value;\n}\nfunction resolveFallback(fallback, prop, value) {\n  return isFunction(fallback) ? fallback(prop, value) : fallback;\n}\nconst getScope = (key, parent) => key === true ? parent\n  : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined;\nfunction addScopes(set, parentScopes, key, parentFallback, value) {\n  for (const parent of parentScopes) {\n    const scope = getScope(key, parent);\n    if (scope) {\n      set.add(scope);\n      const fallback = resolveFallback(scope._fallback, key, value);\n      if (defined(fallback) && fallback !== key && fallback !== parentFallback) {\n        return fallback;\n      }\n    } else if (scope === false && defined(parentFallback) && key !== parentFallback) {\n      return null;\n    }\n  }\n  return false;\n}\nfunction createSubResolver(parentScopes, resolver, prop, value) {\n  const rootScopes = resolver._rootScopes;\n  const fallback = resolveFallback(resolver._fallback, prop, value);\n  const allScopes = [...parentScopes, ...rootScopes];\n  const set = new Set();\n  set.add(value);\n  let key = addScopesFromKey(set, allScopes, prop, fallback || prop, value);\n  if (key === null) {\n    return false;\n  }\n  if (defined(fallback) && fallback !== prop) {\n    key = addScopesFromKey(set, allScopes, fallback, key, value);\n    if (key === null) {\n      return false;\n    }\n  }\n  return _createResolver(Array.from(set), [''], rootScopes, fallback,\n    () => subGetTarget(resolver, prop, value));\n}\nfunction addScopesFromKey(set, allScopes, key, fallback, item) {\n  while (key) {\n    key = addScopes(set, allScopes, key, fallback, item);\n  }\n  return key;\n}\nfunction subGetTarget(resolver, prop, value) {\n  const parent = resolver._getTarget();\n  if (!(prop in parent)) {\n    parent[prop] = {};\n  }\n  const target = parent[prop];\n  if (isArray(target) && isObject(value)) {\n    return value;\n  }\n  return target;\n}\nfunction _resolveWithPrefixes(prop, prefixes, scopes, proxy) {\n  let value;\n  for (const prefix of prefixes) {\n    value = _resolve(readKey(prefix, prop), scopes);\n    if (defined(value)) {\n      return needsSubResolver(prop, value)\n        ? createSubResolver(scopes, proxy, prop, value)\n        : value;\n    }\n  }\n}\nfunction _resolve(key, scopes) {\n  for (const scope of scopes) {\n    if (!scope) {\n      continue;\n    }\n    const value = scope[key];\n    if (defined(value)) {\n      return value;\n    }\n  }\n}\nfunction getKeysFromAllScopes(target) {\n  let keys = target._keys;\n  if (!keys) {\n    keys = target._keys = resolveKeysFromAllScopes(target._scopes);\n  }\n  return keys;\n}\nfunction resolveKeysFromAllScopes(scopes) {\n  const set = new Set();\n  for (const scope of scopes) {\n    for (const key of Object.keys(scope).filter(k => !k.startsWith('_'))) {\n      set.add(key);\n    }\n  }\n  return Array.from(set);\n}\nfunction _parseObjectDataRadialScale(meta, data, start, count) {\n  const {iScale} = meta;\n  const {key = 'r'} = this._parsing;\n  const parsed = new Array(count);\n  let i, ilen, index, item;\n  for (i = 0, ilen = count; i < ilen; ++i) {\n    index = i + start;\n    item = data[index];\n    parsed[i] = {\n      r: iScale.parse(resolveObjectKey(item, key), index)\n    };\n  }\n  return parsed;\n}\n\nconst EPSILON = Number.EPSILON || 1e-14;\nconst getPoint = (points, i) => i < points.length && !points[i].skip && points[i];\nconst getValueAxis = (indexAxis) => indexAxis === 'x' ? 'y' : 'x';\nfunction splineCurve(firstPoint, middlePoint, afterPoint, t) {\n  const previous = firstPoint.skip ? middlePoint : firstPoint;\n  const current = middlePoint;\n  const next = afterPoint.skip ? middlePoint : afterPoint;\n  const d01 = distanceBetweenPoints(current, previous);\n  const d12 = distanceBetweenPoints(next, current);\n  let s01 = d01 / (d01 + d12);\n  let s12 = d12 / (d01 + d12);\n  s01 = isNaN(s01) ? 0 : s01;\n  s12 = isNaN(s12) ? 0 : s12;\n  const fa = t * s01;\n  const fb = t * s12;\n  return {\n    previous: {\n      x: current.x - fa * (next.x - previous.x),\n      y: current.y - fa * (next.y - previous.y)\n    },\n    next: {\n      x: current.x + fb * (next.x - previous.x),\n      y: current.y + fb * (next.y - previous.y)\n    }\n  };\n}\nfunction monotoneAdjust(points, deltaK, mK) {\n  const pointsLen = points.length;\n  let alphaK, betaK, tauK, squaredMagnitude, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (let i = 0; i < pointsLen - 1; ++i) {\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent || !pointAfter) {\n      continue;\n    }\n    if (almostEquals(deltaK[i], 0, EPSILON)) {\n      mK[i] = mK[i + 1] = 0;\n      continue;\n    }\n    alphaK = mK[i] / deltaK[i];\n    betaK = mK[i + 1] / deltaK[i];\n    squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\n    if (squaredMagnitude <= 9) {\n      continue;\n    }\n    tauK = 3 / Math.sqrt(squaredMagnitude);\n    mK[i] = alphaK * tauK * deltaK[i];\n    mK[i + 1] = betaK * tauK * deltaK[i];\n  }\n}\nfunction monotoneCompute(points, mK, indexAxis = 'x') {\n  const valueAxis = getValueAxis(indexAxis);\n  const pointsLen = points.length;\n  let delta, pointBefore, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (let i = 0; i < pointsLen; ++i) {\n    pointBefore = pointCurrent;\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent) {\n      continue;\n    }\n    const iPixel = pointCurrent[indexAxis];\n    const vPixel = pointCurrent[valueAxis];\n    if (pointBefore) {\n      delta = (iPixel - pointBefore[indexAxis]) / 3;\n      pointCurrent[`cp1${indexAxis}`] = iPixel - delta;\n      pointCurrent[`cp1${valueAxis}`] = vPixel - delta * mK[i];\n    }\n    if (pointAfter) {\n      delta = (pointAfter[indexAxis] - iPixel) / 3;\n      pointCurrent[`cp2${indexAxis}`] = iPixel + delta;\n      pointCurrent[`cp2${valueAxis}`] = vPixel + delta * mK[i];\n    }\n  }\n}\nfunction splineCurveMonotone(points, indexAxis = 'x') {\n  const valueAxis = getValueAxis(indexAxis);\n  const pointsLen = points.length;\n  const deltaK = Array(pointsLen).fill(0);\n  const mK = Array(pointsLen);\n  let i, pointBefore, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (i = 0; i < pointsLen; ++i) {\n    pointBefore = pointCurrent;\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent) {\n      continue;\n    }\n    if (pointAfter) {\n      const slopeDelta = pointAfter[indexAxis] - pointCurrent[indexAxis];\n      deltaK[i] = slopeDelta !== 0 ? (pointAfter[valueAxis] - pointCurrent[valueAxis]) / slopeDelta : 0;\n    }\n    mK[i] = !pointBefore ? deltaK[i]\n      : !pointAfter ? deltaK[i - 1]\n      : (sign(deltaK[i - 1]) !== sign(deltaK[i])) ? 0\n      : (deltaK[i - 1] + deltaK[i]) / 2;\n  }\n  monotoneAdjust(points, deltaK, mK);\n  monotoneCompute(points, mK, indexAxis);\n}\nfunction capControlPoint(pt, min, max) {\n  return Math.max(Math.min(pt, max), min);\n}\nfunction capBezierPoints(points, area) {\n  let i, ilen, point, inArea, inAreaPrev;\n  let inAreaNext = _isPointInArea(points[0], area);\n  for (i = 0, ilen = points.length; i < ilen; ++i) {\n    inAreaPrev = inArea;\n    inArea = inAreaNext;\n    inAreaNext = i < ilen - 1 && _isPointInArea(points[i + 1], area);\n    if (!inArea) {\n      continue;\n    }\n    point = points[i];\n    if (inAreaPrev) {\n      point.cp1x = capControlPoint(point.cp1x, area.left, area.right);\n      point.cp1y = capControlPoint(point.cp1y, area.top, area.bottom);\n    }\n    if (inAreaNext) {\n      point.cp2x = capControlPoint(point.cp2x, area.left, area.right);\n      point.cp2y = capControlPoint(point.cp2y, area.top, area.bottom);\n    }\n  }\n}\nfunction _updateBezierControlPoints(points, options, area, loop, indexAxis) {\n  let i, ilen, point, controlPoints;\n  if (options.spanGaps) {\n    points = points.filter((pt) => !pt.skip);\n  }\n  if (options.cubicInterpolationMode === 'monotone') {\n    splineCurveMonotone(points, indexAxis);\n  } else {\n    let prev = loop ? points[points.length - 1] : points[0];\n    for (i = 0, ilen = points.length; i < ilen; ++i) {\n      point = points[i];\n      controlPoints = splineCurve(\n        prev,\n        point,\n        points[Math.min(i + 1, ilen - (loop ? 0 : 1)) % ilen],\n        options.tension\n      );\n      point.cp1x = controlPoints.previous.x;\n      point.cp1y = controlPoints.previous.y;\n      point.cp2x = controlPoints.next.x;\n      point.cp2y = controlPoints.next.y;\n      prev = point;\n    }\n  }\n  if (options.capBezierPoints) {\n    capBezierPoints(points, area);\n  }\n}\n\nconst atEdge = (t) => t === 0 || t === 1;\nconst elasticIn = (t, s, p) => -(Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * TAU / p));\nconst elasticOut = (t, s, p) => Math.pow(2, -10 * t) * Math.sin((t - s) * TAU / p) + 1;\nconst effects = {\n  linear: t => t,\n  easeInQuad: t => t * t,\n  easeOutQuad: t => -t * (t - 2),\n  easeInOutQuad: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t\n    : -0.5 * ((--t) * (t - 2) - 1),\n  easeInCubic: t => t * t * t,\n  easeOutCubic: t => (t -= 1) * t * t + 1,\n  easeInOutCubic: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t\n    : 0.5 * ((t -= 2) * t * t + 2),\n  easeInQuart: t => t * t * t * t,\n  easeOutQuart: t => -((t -= 1) * t * t * t - 1),\n  easeInOutQuart: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t * t\n    : -0.5 * ((t -= 2) * t * t * t - 2),\n  easeInQuint: t => t * t * t * t * t,\n  easeOutQuint: t => (t -= 1) * t * t * t * t + 1,\n  easeInOutQuint: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t * t * t\n    : 0.5 * ((t -= 2) * t * t * t * t + 2),\n  easeInSine: t => -Math.cos(t * HALF_PI) + 1,\n  easeOutSine: t => Math.sin(t * HALF_PI),\n  easeInOutSine: t => -0.5 * (Math.cos(PI * t) - 1),\n  easeInExpo: t => (t === 0) ? 0 : Math.pow(2, 10 * (t - 1)),\n  easeOutExpo: t => (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1,\n  easeInOutExpo: t => atEdge(t) ? t : t < 0.5\n    ? 0.5 * Math.pow(2, 10 * (t * 2 - 1))\n    : 0.5 * (-Math.pow(2, -10 * (t * 2 - 1)) + 2),\n  easeInCirc: t => (t >= 1) ? t : -(Math.sqrt(1 - t * t) - 1),\n  easeOutCirc: t => Math.sqrt(1 - (t -= 1) * t),\n  easeInOutCirc: t => ((t /= 0.5) < 1)\n    ? -0.5 * (Math.sqrt(1 - t * t) - 1)\n    : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1),\n  easeInElastic: t => atEdge(t) ? t : elasticIn(t, 0.075, 0.3),\n  easeOutElastic: t => atEdge(t) ? t : elasticOut(t, 0.075, 0.3),\n  easeInOutElastic(t) {\n    const s = 0.1125;\n    const p = 0.45;\n    return atEdge(t) ? t :\n      t < 0.5\n        ? 0.5 * elasticIn(t * 2, s, p)\n        : 0.5 + 0.5 * elasticOut(t * 2 - 1, s, p);\n  },\n  easeInBack(t) {\n    const s = 1.70158;\n    return t * t * ((s + 1) * t - s);\n  },\n  easeOutBack(t) {\n    const s = 1.70158;\n    return (t -= 1) * t * ((s + 1) * t + s) + 1;\n  },\n  easeInOutBack(t) {\n    let s = 1.70158;\n    if ((t /= 0.5) < 1) {\n      return 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));\n    }\n    return 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\n  },\n  easeInBounce: t => 1 - effects.easeOutBounce(1 - t),\n  easeOutBounce(t) {\n    const m = 7.5625;\n    const d = 2.75;\n    if (t < (1 / d)) {\n      return m * t * t;\n    }\n    if (t < (2 / d)) {\n      return m * (t -= (1.5 / d)) * t + 0.75;\n    }\n    if (t < (2.5 / d)) {\n      return m * (t -= (2.25 / d)) * t + 0.9375;\n    }\n    return m * (t -= (2.625 / d)) * t + 0.984375;\n  },\n  easeInOutBounce: t => (t < 0.5)\n    ? effects.easeInBounce(t * 2) * 0.5\n    : effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5,\n};\n\nfunction _pointInLine(p1, p2, t, mode) {\n  return {\n    x: p1.x + t * (p2.x - p1.x),\n    y: p1.y + t * (p2.y - p1.y)\n  };\n}\nfunction _steppedInterpolation(p1, p2, t, mode) {\n  return {\n    x: p1.x + t * (p2.x - p1.x),\n    y: mode === 'middle' ? t < 0.5 ? p1.y : p2.y\n    : mode === 'after' ? t < 1 ? p1.y : p2.y\n    : t > 0 ? p2.y : p1.y\n  };\n}\nfunction _bezierInterpolation(p1, p2, t, mode) {\n  const cp1 = {x: p1.cp2x, y: p1.cp2y};\n  const cp2 = {x: p2.cp1x, y: p2.cp1y};\n  const a = _pointInLine(p1, cp1, t);\n  const b = _pointInLine(cp1, cp2, t);\n  const c = _pointInLine(cp2, p2, t);\n  const d = _pointInLine(a, b, t);\n  const e = _pointInLine(b, c, t);\n  return _pointInLine(d, e, t);\n}\n\nconst intlCache = new Map();\nfunction getNumberFormat(locale, options) {\n  options = options || {};\n  const cacheKey = locale + JSON.stringify(options);\n  let formatter = intlCache.get(cacheKey);\n  if (!formatter) {\n    formatter = new Intl.NumberFormat(locale, options);\n    intlCache.set(cacheKey, formatter);\n  }\n  return formatter;\n}\nfunction formatNumber(num, locale, options) {\n  return getNumberFormat(locale, options).format(num);\n}\n\nconst LINE_HEIGHT = new RegExp(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\nconst FONT_STYLE = new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);\nfunction toLineHeight(value, size) {\n  const matches = ('' + value).match(LINE_HEIGHT);\n  if (!matches || matches[1] === 'normal') {\n    return size * 1.2;\n  }\n  value = +matches[2];\n  switch (matches[3]) {\n  case 'px':\n    return value;\n  case '%':\n    value /= 100;\n    break;\n  }\n  return size * value;\n}\nconst numberOrZero = v => +v || 0;\nfunction _readValueToProps(value, props) {\n  const ret = {};\n  const objProps = isObject(props);\n  const keys = objProps ? Object.keys(props) : props;\n  const read = isObject(value)\n    ? objProps\n      ? prop => valueOrDefault(value[prop], value[props[prop]])\n      : prop => value[prop]\n    : () => value;\n  for (const prop of keys) {\n    ret[prop] = numberOrZero(read(prop));\n  }\n  return ret;\n}\nfunction toTRBL(value) {\n  return _readValueToProps(value, {top: 'y', right: 'x', bottom: 'y', left: 'x'});\n}\nfunction toTRBLCorners(value) {\n  return _readValueToProps(value, ['topLeft', 'topRight', 'bottomLeft', 'bottomRight']);\n}\nfunction toPadding(value) {\n  const obj = toTRBL(value);\n  obj.width = obj.left + obj.right;\n  obj.height = obj.top + obj.bottom;\n  return obj;\n}\nfunction toFont(options, fallback) {\n  options = options || {};\n  fallback = fallback || defaults.font;\n  let size = valueOrDefault(options.size, fallback.size);\n  if (typeof size === 'string') {\n    size = parseInt(size, 10);\n  }\n  let style = valueOrDefault(options.style, fallback.style);\n  if (style && !('' + style).match(FONT_STYLE)) {\n    console.warn('Invalid font style specified: \"' + style + '\"');\n    style = '';\n  }\n  const font = {\n    family: valueOrDefault(options.family, fallback.family),\n    lineHeight: toLineHeight(valueOrDefault(options.lineHeight, fallback.lineHeight), size),\n    size,\n    style,\n    weight: valueOrDefault(options.weight, fallback.weight),\n    string: ''\n  };\n  font.string = toFontString(font);\n  return font;\n}\nfunction resolve(inputs, context, index, info) {\n  let cacheable = true;\n  let i, ilen, value;\n  for (i = 0, ilen = inputs.length; i < ilen; ++i) {\n    value = inputs[i];\n    if (value === undefined) {\n      continue;\n    }\n    if (context !== undefined && typeof value === 'function') {\n      value = value(context);\n      cacheable = false;\n    }\n    if (index !== undefined && isArray(value)) {\n      value = value[index % value.length];\n      cacheable = false;\n    }\n    if (value !== undefined) {\n      if (info && !cacheable) {\n        info.cacheable = false;\n      }\n      return value;\n    }\n  }\n}\nfunction _addGrace(minmax, grace, beginAtZero) {\n  const {min, max} = minmax;\n  const change = toDimension(grace, (max - min) / 2);\n  const keepZero = (value, add) => beginAtZero && value === 0 ? 0 : value + add;\n  return {\n    min: keepZero(min, -Math.abs(change)),\n    max: keepZero(max, change)\n  };\n}\nfunction createContext(parentContext, context) {\n  return Object.assign(Object.create(parentContext), context);\n}\n\nconst getRightToLeftAdapter = function(rectX, width) {\n  return {\n    x(x) {\n      return rectX + rectX + width - x;\n    },\n    setWidth(w) {\n      width = w;\n    },\n    textAlign(align) {\n      if (align === 'center') {\n        return align;\n      }\n      return align === 'right' ? 'left' : 'right';\n    },\n    xPlus(x, value) {\n      return x - value;\n    },\n    leftForLtr(x, itemWidth) {\n      return x - itemWidth;\n    },\n  };\n};\nconst getLeftToRightAdapter = function() {\n  return {\n    x(x) {\n      return x;\n    },\n    setWidth(w) {\n    },\n    textAlign(align) {\n      return align;\n    },\n    xPlus(x, value) {\n      return x + value;\n    },\n    leftForLtr(x, _itemWidth) {\n      return x;\n    },\n  };\n};\nfunction getRtlAdapter(rtl, rectX, width) {\n  return rtl ? getRightToLeftAdapter(rectX, width) : getLeftToRightAdapter();\n}\nfunction overrideTextDirection(ctx, direction) {\n  let style, original;\n  if (direction === 'ltr' || direction === 'rtl') {\n    style = ctx.canvas.style;\n    original = [\n      style.getPropertyValue('direction'),\n      style.getPropertyPriority('direction'),\n    ];\n    style.setProperty('direction', direction, 'important');\n    ctx.prevTextDirection = original;\n  }\n}\nfunction restoreTextDirection(ctx, original) {\n  if (original !== undefined) {\n    delete ctx.prevTextDirection;\n    ctx.canvas.style.setProperty('direction', original[0], original[1]);\n  }\n}\n\nfunction propertyFn(property) {\n  if (property === 'angle') {\n    return {\n      between: _angleBetween,\n      compare: _angleDiff,\n      normalize: _normalizeAngle,\n    };\n  }\n  return {\n    between: _isBetween,\n    compare: (a, b) => a - b,\n    normalize: x => x\n  };\n}\nfunction normalizeSegment({start, end, count, loop, style}) {\n  return {\n    start: start % count,\n    end: end % count,\n    loop: loop && (end - start + 1) % count === 0,\n    style\n  };\n}\nfunction getSegment(segment, points, bounds) {\n  const {property, start: startBound, end: endBound} = bounds;\n  const {between, normalize} = propertyFn(property);\n  const count = points.length;\n  let {start, end, loop} = segment;\n  let i, ilen;\n  if (loop) {\n    start += count;\n    end += count;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      if (!between(normalize(points[start % count][property]), startBound, endBound)) {\n        break;\n      }\n      start--;\n      end--;\n    }\n    start %= count;\n    end %= count;\n  }\n  if (end < start) {\n    end += count;\n  }\n  return {start, end, loop, style: segment.style};\n}\nfunction _boundSegment(segment, points, bounds) {\n  if (!bounds) {\n    return [segment];\n  }\n  const {property, start: startBound, end: endBound} = bounds;\n  const count = points.length;\n  const {compare, between, normalize} = propertyFn(property);\n  const {start, end, loop, style} = getSegment(segment, points, bounds);\n  const result = [];\n  let inside = false;\n  let subStart = null;\n  let value, point, prevValue;\n  const startIsBefore = () => between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0;\n  const endIsBefore = () => compare(endBound, value) === 0 || between(endBound, prevValue, value);\n  const shouldStart = () => inside || startIsBefore();\n  const shouldStop = () => !inside || endIsBefore();\n  for (let i = start, prev = start; i <= end; ++i) {\n    point = points[i % count];\n    if (point.skip) {\n      continue;\n    }\n    value = normalize(point[property]);\n    if (value === prevValue) {\n      continue;\n    }\n    inside = between(value, startBound, endBound);\n    if (subStart === null && shouldStart()) {\n      subStart = compare(value, startBound) === 0 ? i : prev;\n    }\n    if (subStart !== null && shouldStop()) {\n      result.push(normalizeSegment({start: subStart, end: i, loop, count, style}));\n      subStart = null;\n    }\n    prev = i;\n    prevValue = value;\n  }\n  if (subStart !== null) {\n    result.push(normalizeSegment({start: subStart, end, loop, count, style}));\n  }\n  return result;\n}\nfunction _boundSegments(line, bounds) {\n  const result = [];\n  const segments = line.segments;\n  for (let i = 0; i < segments.length; i++) {\n    const sub = _boundSegment(segments[i], line.points, bounds);\n    if (sub.length) {\n      result.push(...sub);\n    }\n  }\n  return result;\n}\nfunction findStartAndEnd(points, count, loop, spanGaps) {\n  let start = 0;\n  let end = count - 1;\n  if (loop && !spanGaps) {\n    while (start < count && !points[start].skip) {\n      start++;\n    }\n  }\n  while (start < count && points[start].skip) {\n    start++;\n  }\n  start %= count;\n  if (loop) {\n    end += start;\n  }\n  while (end > start && points[end % count].skip) {\n    end--;\n  }\n  end %= count;\n  return {start, end};\n}\nfunction solidSegments(points, start, max, loop) {\n  const count = points.length;\n  const result = [];\n  let last = start;\n  let prev = points[start];\n  let end;\n  for (end = start + 1; end <= max; ++end) {\n    const cur = points[end % count];\n    if (cur.skip || cur.stop) {\n      if (!prev.skip) {\n        loop = false;\n        result.push({start: start % count, end: (end - 1) % count, loop});\n        start = last = cur.stop ? end : null;\n      }\n    } else {\n      last = end;\n      if (prev.skip) {\n        start = end;\n      }\n    }\n    prev = cur;\n  }\n  if (last !== null) {\n    result.push({start: start % count, end: last % count, loop});\n  }\n  return result;\n}\nfunction _computeSegments(line, segmentOptions) {\n  const points = line.points;\n  const spanGaps = line.options.spanGaps;\n  const count = points.length;\n  if (!count) {\n    return [];\n  }\n  const loop = !!line._loop;\n  const {start, end} = findStartAndEnd(points, count, loop, spanGaps);\n  if (spanGaps === true) {\n    return splitByStyles(line, [{start, end, loop}], points, segmentOptions);\n  }\n  const max = end < start ? end + count : end;\n  const completeLoop = !!line._fullLoop && start === 0 && end === count - 1;\n  return splitByStyles(line, solidSegments(points, start, max, completeLoop), points, segmentOptions);\n}\nfunction splitByStyles(line, segments, points, segmentOptions) {\n  if (!segmentOptions || !segmentOptions.setContext || !points) {\n    return segments;\n  }\n  return doSplitByStyles(line, segments, points, segmentOptions);\n}\nfunction doSplitByStyles(line, segments, points, segmentOptions) {\n  const chartContext = line._chart.getContext();\n  const baseStyle = readStyle(line.options);\n  const {_datasetIndex: datasetIndex, options: {spanGaps}} = line;\n  const count = points.length;\n  const result = [];\n  let prevStyle = baseStyle;\n  let start = segments[0].start;\n  let i = start;\n  function addStyle(s, e, l, st) {\n    const dir = spanGaps ? -1 : 1;\n    if (s === e) {\n      return;\n    }\n    s += count;\n    while (points[s % count].skip) {\n      s -= dir;\n    }\n    while (points[e % count].skip) {\n      e += dir;\n    }\n    if (s % count !== e % count) {\n      result.push({start: s % count, end: e % count, loop: l, style: st});\n      prevStyle = st;\n      start = e % count;\n    }\n  }\n  for (const segment of segments) {\n    start = spanGaps ? start : segment.start;\n    let prev = points[start % count];\n    let style;\n    for (i = start + 1; i <= segment.end; i++) {\n      const pt = points[i % count];\n      style = readStyle(segmentOptions.setContext(createContext(chartContext, {\n        type: 'segment',\n        p0: prev,\n        p1: pt,\n        p0DataIndex: (i - 1) % count,\n        p1DataIndex: i % count,\n        datasetIndex\n      })));\n      if (styleChanged(style, prevStyle)) {\n        addStyle(start, i - 1, segment.loop, prevStyle);\n      }\n      prev = pt;\n      prevStyle = style;\n    }\n    if (start < i - 1) {\n      addStyle(start, i - 1, segment.loop, prevStyle);\n    }\n  }\n  return result;\n}\nfunction readStyle(options) {\n  return {\n    backgroundColor: options.backgroundColor,\n    borderCapStyle: options.borderCapStyle,\n    borderDash: options.borderDash,\n    borderDashOffset: options.borderDashOffset,\n    borderJoinStyle: options.borderJoinStyle,\n    borderWidth: options.borderWidth,\n    borderColor: options.borderColor\n  };\n}\nfunction styleChanged(style, prevStyle) {\n  return prevStyle && JSON.stringify(style) !== JSON.stringify(prevStyle);\n}\n\nvar helpers = /*#__PURE__*/Object.freeze({\n__proto__: null,\neasingEffects: effects,\nisPatternOrGradient: isPatternOrGradient,\ncolor: color,\ngetHoverColor: getHoverColor,\nnoop: noop,\nuid: uid,\nisNullOrUndef: isNullOrUndef,\nisArray: isArray,\nisObject: isObject,\nisFinite: isNumberFinite,\nfiniteOrDefault: finiteOrDefault,\nvalueOrDefault: valueOrDefault,\ntoPercentage: toPercentage,\ntoDimension: toDimension,\ncallback: callback,\neach: each,\n_elementsEqual: _elementsEqual,\nclone: clone$1,\n_merger: _merger,\nmerge: merge,\nmergeIf: mergeIf,\n_mergerIf: _mergerIf,\n_deprecated: _deprecated,\nresolveObjectKey: resolveObjectKey,\n_splitKey: _splitKey,\n_capitalize: _capitalize,\ndefined: defined,\nisFunction: isFunction,\nsetsEqual: setsEqual,\n_isClickEvent: _isClickEvent,\ntoFontString: toFontString,\n_measureText: _measureText,\n_longestText: _longestText,\n_alignPixel: _alignPixel,\nclearCanvas: clearCanvas,\ndrawPoint: drawPoint,\ndrawPointLegend: drawPointLegend,\n_isPointInArea: _isPointInArea,\nclipArea: clipArea,\nunclipArea: unclipArea,\n_steppedLineTo: _steppedLineTo,\n_bezierCurveTo: _bezierCurveTo,\nrenderText: renderText,\naddRoundedRectPath: addRoundedRectPath,\n_lookup: _lookup,\n_lookupByKey: _lookupByKey,\n_rlookupByKey: _rlookupByKey,\n_filterBetween: _filterBetween,\nlistenArrayEvents: listenArrayEvents,\nunlistenArrayEvents: unlistenArrayEvents,\n_arrayUnique: _arrayUnique,\n_createResolver: _createResolver,\n_attachContext: _attachContext,\n_descriptors: _descriptors,\n_parseObjectDataRadialScale: _parseObjectDataRadialScale,\nsplineCurve: splineCurve,\nsplineCurveMonotone: splineCurveMonotone,\n_updateBezierControlPoints: _updateBezierControlPoints,\n_isDomSupported: _isDomSupported,\n_getParentNode: _getParentNode,\ngetStyle: getStyle,\ngetRelativePosition: getRelativePosition,\ngetMaximumSize: getMaximumSize,\nretinaScale: retinaScale,\nsupportsEventListenerOptions: supportsEventListenerOptions,\nreadUsedSize: readUsedSize,\nfontString: fontString,\nrequestAnimFrame: requestAnimFrame,\nthrottled: throttled,\ndebounce: debounce,\n_toLeftRightCenter: _toLeftRightCenter,\n_alignStartEnd: _alignStartEnd,\n_textX: _textX,\n_getStartAndCountOfVisiblePoints: _getStartAndCountOfVisiblePoints,\n_scaleRangesChanged: _scaleRangesChanged,\n_pointInLine: _pointInLine,\n_steppedInterpolation: _steppedInterpolation,\n_bezierInterpolation: _bezierInterpolation,\nformatNumber: formatNumber,\ntoLineHeight: toLineHeight,\n_readValueToProps: _readValueToProps,\ntoTRBL: toTRBL,\ntoTRBLCorners: toTRBLCorners,\ntoPadding: toPadding,\ntoFont: toFont,\nresolve: resolve,\n_addGrace: _addGrace,\ncreateContext: createContext,\nPI: PI,\nTAU: TAU,\nPITAU: PITAU,\nINFINITY: INFINITY,\nRAD_PER_DEG: RAD_PER_DEG,\nHALF_PI: HALF_PI,\nQUARTER_PI: QUARTER_PI,\nTWO_THIRDS_PI: TWO_THIRDS_PI,\nlog10: log10,\nsign: sign,\nniceNum: niceNum,\n_factorize: _factorize,\nisNumber: isNumber,\nalmostEquals: almostEquals,\nalmostWhole: almostWhole,\n_setMinAndMaxByKey: _setMinAndMaxByKey,\ntoRadians: toRadians,\ntoDegrees: toDegrees,\n_decimalPlaces: _decimalPlaces,\ngetAngleFromPoint: getAngleFromPoint,\ndistanceBetweenPoints: distanceBetweenPoints,\n_angleDiff: _angleDiff,\n_normalizeAngle: _normalizeAngle,\n_angleBetween: _angleBetween,\n_limitValue: _limitValue,\n_int16Range: _int16Range,\n_isBetween: _isBetween,\ngetRtlAdapter: getRtlAdapter,\noverrideTextDirection: overrideTextDirection,\nrestoreTextDirection: restoreTextDirection,\n_boundSegment: _boundSegment,\n_boundSegments: _boundSegments,\n_computeSegments: _computeSegments\n});\n\nfunction binarySearch(metaset, axis, value, intersect) {\n  const {controller, data, _sorted} = metaset;\n  const iScale = controller._cachedMeta.iScale;\n  if (iScale && axis === iScale.axis && axis !== 'r' && _sorted && data.length) {\n    const lookupMethod = iScale._reversePixels ? _rlookupByKey : _lookupByKey;\n    if (!intersect) {\n      return lookupMethod(data, axis, value);\n    } else if (controller._sharedOptions) {\n      const el = data[0];\n      const range = typeof el.getRange === 'function' && el.getRange(axis);\n      if (range) {\n        const start = lookupMethod(data, axis, value - range);\n        const end = lookupMethod(data, axis, value + range);\n        return {lo: start.lo, hi: end.hi};\n      }\n    }\n  }\n  return {lo: 0, hi: data.length - 1};\n}\nfunction evaluateInteractionItems(chart, axis, position, handler, intersect) {\n  const metasets = chart.getSortedVisibleDatasetMetas();\n  const value = position[axis];\n  for (let i = 0, ilen = metasets.length; i < ilen; ++i) {\n    const {index, data} = metasets[i];\n    const {lo, hi} = binarySearch(metasets[i], axis, value, intersect);\n    for (let j = lo; j <= hi; ++j) {\n      const element = data[j];\n      if (!element.skip) {\n        handler(element, index, j);\n      }\n    }\n  }\n}\nfunction getDistanceMetricForAxis(axis) {\n  const useX = axis.indexOf('x') !== -1;\n  const useY = axis.indexOf('y') !== -1;\n  return function(pt1, pt2) {\n    const deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\n    const deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\n    return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\n  };\n}\nfunction getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) {\n  const items = [];\n  if (!includeInvisible && !chart.isPointInArea(position)) {\n    return items;\n  }\n  const evaluationFunc = function(element, datasetIndex, index) {\n    if (!includeInvisible && !_isPointInArea(element, chart.chartArea, 0)) {\n      return;\n    }\n    if (element.inRange(position.x, position.y, useFinalPosition)) {\n      items.push({element, datasetIndex, index});\n    }\n  };\n  evaluateInteractionItems(chart, axis, position, evaluationFunc, true);\n  return items;\n}\nfunction getNearestRadialItems(chart, position, axis, useFinalPosition) {\n  let items = [];\n  function evaluationFunc(element, datasetIndex, index) {\n    const {startAngle, endAngle} = element.getProps(['startAngle', 'endAngle'], useFinalPosition);\n    const {angle} = getAngleFromPoint(element, {x: position.x, y: position.y});\n    if (_angleBetween(angle, startAngle, endAngle)) {\n      items.push({element, datasetIndex, index});\n    }\n  }\n  evaluateInteractionItems(chart, axis, position, evaluationFunc);\n  return items;\n}\nfunction getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {\n  let items = [];\n  const distanceMetric = getDistanceMetricForAxis(axis);\n  let minDistance = Number.POSITIVE_INFINITY;\n  function evaluationFunc(element, datasetIndex, index) {\n    const inRange = element.inRange(position.x, position.y, useFinalPosition);\n    if (intersect && !inRange) {\n      return;\n    }\n    const center = element.getCenterPoint(useFinalPosition);\n    const pointInArea = !!includeInvisible || chart.isPointInArea(center);\n    if (!pointInArea && !inRange) {\n      return;\n    }\n    const distance = distanceMetric(position, center);\n    if (distance < minDistance) {\n      items = [{element, datasetIndex, index}];\n      minDistance = distance;\n    } else if (distance === minDistance) {\n      items.push({element, datasetIndex, index});\n    }\n  }\n  evaluateInteractionItems(chart, axis, position, evaluationFunc);\n  return items;\n}\nfunction getNearestItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {\n  if (!includeInvisible && !chart.isPointInArea(position)) {\n    return [];\n  }\n  return axis === 'r' && !intersect\n    ? getNearestRadialItems(chart, position, axis, useFinalPosition)\n    : getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible);\n}\nfunction getAxisItems(chart, position, axis, intersect, useFinalPosition) {\n  const items = [];\n  const rangeMethod = axis === 'x' ? 'inXRange' : 'inYRange';\n  let intersectsItem = false;\n  evaluateInteractionItems(chart, axis, position, (element, datasetIndex, index) => {\n    if (element[rangeMethod](position[axis], useFinalPosition)) {\n      items.push({element, datasetIndex, index});\n      intersectsItem = intersectsItem || element.inRange(position.x, position.y, useFinalPosition);\n    }\n  });\n  if (intersect && !intersectsItem) {\n    return [];\n  }\n  return items;\n}\nvar Interaction = {\n  evaluateInteractionItems,\n  modes: {\n    index(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'x';\n      const includeInvisible = options.includeInvisible || false;\n      const items = options.intersect\n        ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible)\n        : getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible);\n      const elements = [];\n      if (!items.length) {\n        return [];\n      }\n      chart.getSortedVisibleDatasetMetas().forEach((meta) => {\n        const index = items[0].index;\n        const element = meta.data[index];\n        if (element && !element.skip) {\n          elements.push({element, datasetIndex: meta.index, index});\n        }\n      });\n      return elements;\n    },\n    dataset(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      let items = options.intersect\n        ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) :\n        getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible);\n      if (items.length > 0) {\n        const datasetIndex = items[0].datasetIndex;\n        const data = chart.getDatasetMeta(datasetIndex).data;\n        items = [];\n        for (let i = 0; i < data.length; ++i) {\n          items.push({element: data[i], datasetIndex, index: i});\n        }\n      }\n      return items;\n    },\n    point(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      return getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible);\n    },\n    nearest(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      return getNearestItems(chart, position, axis, options.intersect, useFinalPosition, includeInvisible);\n    },\n    x(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      return getAxisItems(chart, position, 'x', options.intersect, useFinalPosition);\n    },\n    y(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      return getAxisItems(chart, position, 'y', options.intersect, useFinalPosition);\n    }\n  }\n};\n\nconst STATIC_POSITIONS = ['left', 'top', 'right', 'bottom'];\nfunction filterByPosition(array, position) {\n  return array.filter(v => v.pos === position);\n}\nfunction filterDynamicPositionByAxis(array, axis) {\n  return array.filter(v => STATIC_POSITIONS.indexOf(v.pos) === -1 && v.box.axis === axis);\n}\nfunction sortByWeight(array, reverse) {\n  return array.sort((a, b) => {\n    const v0 = reverse ? b : a;\n    const v1 = reverse ? a : b;\n    return v0.weight === v1.weight ?\n      v0.index - v1.index :\n      v0.weight - v1.weight;\n  });\n}\nfunction wrapBoxes(boxes) {\n  const layoutBoxes = [];\n  let i, ilen, box, pos, stack, stackWeight;\n  for (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\n    box = boxes[i];\n    ({position: pos, options: {stack, stackWeight = 1}} = box);\n    layoutBoxes.push({\n      index: i,\n      box,\n      pos,\n      horizontal: box.isHorizontal(),\n      weight: box.weight,\n      stack: stack && (pos + stack),\n      stackWeight\n    });\n  }\n  return layoutBoxes;\n}\nfunction buildStacks(layouts) {\n  const stacks = {};\n  for (const wrap of layouts) {\n    const {stack, pos, stackWeight} = wrap;\n    if (!stack || !STATIC_POSITIONS.includes(pos)) {\n      continue;\n    }\n    const _stack = stacks[stack] || (stacks[stack] = {count: 0, placed: 0, weight: 0, size: 0});\n    _stack.count++;\n    _stack.weight += stackWeight;\n  }\n  return stacks;\n}\nfunction setLayoutDims(layouts, params) {\n  const stacks = buildStacks(layouts);\n  const {vBoxMaxWidth, hBoxMaxHeight} = params;\n  let i, ilen, layout;\n  for (i = 0, ilen = layouts.length; i < ilen; ++i) {\n    layout = layouts[i];\n    const {fullSize} = layout.box;\n    const stack = stacks[layout.stack];\n    const factor = stack && layout.stackWeight / stack.weight;\n    if (layout.horizontal) {\n      layout.width = factor ? factor * vBoxMaxWidth : fullSize && params.availableWidth;\n      layout.height = hBoxMaxHeight;\n    } else {\n      layout.width = vBoxMaxWidth;\n      layout.height = factor ? factor * hBoxMaxHeight : fullSize && params.availableHeight;\n    }\n  }\n  return stacks;\n}\nfunction buildLayoutBoxes(boxes) {\n  const layoutBoxes = wrapBoxes(boxes);\n  const fullSize = sortByWeight(layoutBoxes.filter(wrap => wrap.box.fullSize), true);\n  const left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\n  const right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\n  const top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\n  const bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\n  const centerHorizontal = filterDynamicPositionByAxis(layoutBoxes, 'x');\n  const centerVertical = filterDynamicPositionByAxis(layoutBoxes, 'y');\n  return {\n    fullSize,\n    leftAndTop: left.concat(top),\n    rightAndBottom: right.concat(centerVertical).concat(bottom).concat(centerHorizontal),\n    chartArea: filterByPosition(layoutBoxes, 'chartArea'),\n    vertical: left.concat(right).concat(centerVertical),\n    horizontal: top.concat(bottom).concat(centerHorizontal)\n  };\n}\nfunction getCombinedMax(maxPadding, chartArea, a, b) {\n  return Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\n}\nfunction updateMaxPadding(maxPadding, boxPadding) {\n  maxPadding.top = Math.max(maxPadding.top, boxPadding.top);\n  maxPadding.left = Math.max(maxPadding.left, boxPadding.left);\n  maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\n  maxPadding.right = Math.max(maxPadding.right, boxPadding.right);\n}\nfunction updateDims(chartArea, params, layout, stacks) {\n  const {pos, box} = layout;\n  const maxPadding = chartArea.maxPadding;\n  if (!isObject(pos)) {\n    if (layout.size) {\n      chartArea[pos] -= layout.size;\n    }\n    const stack = stacks[layout.stack] || {size: 0, count: 1};\n    stack.size = Math.max(stack.size, layout.horizontal ? box.height : box.width);\n    layout.size = stack.size / stack.count;\n    chartArea[pos] += layout.size;\n  }\n  if (box.getPadding) {\n    updateMaxPadding(maxPadding, box.getPadding());\n  }\n  const newWidth = Math.max(0, params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right'));\n  const newHeight = Math.max(0, params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom'));\n  const widthChanged = newWidth !== chartArea.w;\n  const heightChanged = newHeight !== chartArea.h;\n  chartArea.w = newWidth;\n  chartArea.h = newHeight;\n  return layout.horizontal\n    ? {same: widthChanged, other: heightChanged}\n    : {same: heightChanged, other: widthChanged};\n}\nfunction handleMaxPadding(chartArea) {\n  const maxPadding = chartArea.maxPadding;\n  function updatePos(pos) {\n    const change = Math.max(maxPadding[pos] - chartArea[pos], 0);\n    chartArea[pos] += change;\n    return change;\n  }\n  chartArea.y += updatePos('top');\n  chartArea.x += updatePos('left');\n  updatePos('right');\n  updatePos('bottom');\n}\nfunction getMargins(horizontal, chartArea) {\n  const maxPadding = chartArea.maxPadding;\n  function marginForPositions(positions) {\n    const margin = {left: 0, top: 0, right: 0, bottom: 0};\n    positions.forEach((pos) => {\n      margin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\n    });\n    return margin;\n  }\n  return horizontal\n    ? marginForPositions(['left', 'right'])\n    : marginForPositions(['top', 'bottom']);\n}\nfunction fitBoxes(boxes, chartArea, params, stacks) {\n  const refitBoxes = [];\n  let i, ilen, layout, box, refit, changed;\n  for (i = 0, ilen = boxes.length, refit = 0; i < ilen; ++i) {\n    layout = boxes[i];\n    box = layout.box;\n    box.update(\n      layout.width || chartArea.w,\n      layout.height || chartArea.h,\n      getMargins(layout.horizontal, chartArea)\n    );\n    const {same, other} = updateDims(chartArea, params, layout, stacks);\n    refit |= same && refitBoxes.length;\n    changed = changed || other;\n    if (!box.fullSize) {\n      refitBoxes.push(layout);\n    }\n  }\n  return refit && fitBoxes(refitBoxes, chartArea, params, stacks) || changed;\n}\nfunction setBoxDims(box, left, top, width, height) {\n  box.top = top;\n  box.left = left;\n  box.right = left + width;\n  box.bottom = top + height;\n  box.width = width;\n  box.height = height;\n}\nfunction placeBoxes(boxes, chartArea, params, stacks) {\n  const userPadding = params.padding;\n  let {x, y} = chartArea;\n  for (const layout of boxes) {\n    const box = layout.box;\n    const stack = stacks[layout.stack] || {count: 1, placed: 0, weight: 1};\n    const weight = (layout.stackWeight / stack.weight) || 1;\n    if (layout.horizontal) {\n      const width = chartArea.w * weight;\n      const height = stack.size || box.height;\n      if (defined(stack.start)) {\n        y = stack.start;\n      }\n      if (box.fullSize) {\n        setBoxDims(box, userPadding.left, y, params.outerWidth - userPadding.right - userPadding.left, height);\n      } else {\n        setBoxDims(box, chartArea.left + stack.placed, y, width, height);\n      }\n      stack.start = y;\n      stack.placed += width;\n      y = box.bottom;\n    } else {\n      const height = chartArea.h * weight;\n      const width = stack.size || box.width;\n      if (defined(stack.start)) {\n        x = stack.start;\n      }\n      if (box.fullSize) {\n        setBoxDims(box, x, userPadding.top, width, params.outerHeight - userPadding.bottom - userPadding.top);\n      } else {\n        setBoxDims(box, x, chartArea.top + stack.placed, width, height);\n      }\n      stack.start = x;\n      stack.placed += height;\n      x = box.right;\n    }\n  }\n  chartArea.x = x;\n  chartArea.y = y;\n}\ndefaults.set('layout', {\n  autoPadding: true,\n  padding: {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0\n  }\n});\nvar layouts = {\n  addBox(chart, item) {\n    if (!chart.boxes) {\n      chart.boxes = [];\n    }\n    item.fullSize = item.fullSize || false;\n    item.position = item.position || 'top';\n    item.weight = item.weight || 0;\n    item._layers = item._layers || function() {\n      return [{\n        z: 0,\n        draw(chartArea) {\n          item.draw(chartArea);\n        }\n      }];\n    };\n    chart.boxes.push(item);\n  },\n  removeBox(chart, layoutItem) {\n    const index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\n    if (index !== -1) {\n      chart.boxes.splice(index, 1);\n    }\n  },\n  configure(chart, item, options) {\n    item.fullSize = options.fullSize;\n    item.position = options.position;\n    item.weight = options.weight;\n  },\n  update(chart, width, height, minPadding) {\n    if (!chart) {\n      return;\n    }\n    const padding = toPadding(chart.options.layout.padding);\n    const availableWidth = Math.max(width - padding.width, 0);\n    const availableHeight = Math.max(height - padding.height, 0);\n    const boxes = buildLayoutBoxes(chart.boxes);\n    const verticalBoxes = boxes.vertical;\n    const horizontalBoxes = boxes.horizontal;\n    each(chart.boxes, box => {\n      if (typeof box.beforeLayout === 'function') {\n        box.beforeLayout();\n      }\n    });\n    const visibleVerticalBoxCount = verticalBoxes.reduce((total, wrap) =>\n      wrap.box.options && wrap.box.options.display === false ? total : total + 1, 0) || 1;\n    const params = Object.freeze({\n      outerWidth: width,\n      outerHeight: height,\n      padding,\n      availableWidth,\n      availableHeight,\n      vBoxMaxWidth: availableWidth / 2 / visibleVerticalBoxCount,\n      hBoxMaxHeight: availableHeight / 2\n    });\n    const maxPadding = Object.assign({}, padding);\n    updateMaxPadding(maxPadding, toPadding(minPadding));\n    const chartArea = Object.assign({\n      maxPadding,\n      w: availableWidth,\n      h: availableHeight,\n      x: padding.left,\n      y: padding.top\n    }, padding);\n    const stacks = setLayoutDims(verticalBoxes.concat(horizontalBoxes), params);\n    fitBoxes(boxes.fullSize, chartArea, params, stacks);\n    fitBoxes(verticalBoxes, chartArea, params, stacks);\n    if (fitBoxes(horizontalBoxes, chartArea, params, stacks)) {\n      fitBoxes(verticalBoxes, chartArea, params, stacks);\n    }\n    handleMaxPadding(chartArea);\n    placeBoxes(boxes.leftAndTop, chartArea, params, stacks);\n    chartArea.x += chartArea.w;\n    chartArea.y += chartArea.h;\n    placeBoxes(boxes.rightAndBottom, chartArea, params, stacks);\n    chart.chartArea = {\n      left: chartArea.left,\n      top: chartArea.top,\n      right: chartArea.left + chartArea.w,\n      bottom: chartArea.top + chartArea.h,\n      height: chartArea.h,\n      width: chartArea.w,\n    };\n    each(boxes.chartArea, (layout) => {\n      const box = layout.box;\n      Object.assign(box, chart.chartArea);\n      box.update(chartArea.w, chartArea.h, {left: 0, top: 0, right: 0, bottom: 0});\n    });\n  }\n};\n\nclass BasePlatform {\n  acquireContext(canvas, aspectRatio) {}\n  releaseContext(context) {\n    return false;\n  }\n  addEventListener(chart, type, listener) {}\n  removeEventListener(chart, type, listener) {}\n  getDevicePixelRatio() {\n    return 1;\n  }\n  getMaximumSize(element, width, height, aspectRatio) {\n    width = Math.max(0, width || element.width);\n    height = height || element.height;\n    return {\n      width,\n      height: Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height)\n    };\n  }\n  isAttached(canvas) {\n    return true;\n  }\n  updateConfig(config) {\n  }\n}\n\nclass BasicPlatform extends BasePlatform {\n  acquireContext(item) {\n    return item && item.getContext && item.getContext('2d') || null;\n  }\n  updateConfig(config) {\n    config.options.animation = false;\n  }\n}\n\nconst EXPANDO_KEY = '$chartjs';\nconst EVENT_TYPES = {\n  touchstart: 'mousedown',\n  touchmove: 'mousemove',\n  touchend: 'mouseup',\n  pointerenter: 'mouseenter',\n  pointerdown: 'mousedown',\n  pointermove: 'mousemove',\n  pointerup: 'mouseup',\n  pointerleave: 'mouseout',\n  pointerout: 'mouseout'\n};\nconst isNullOrEmpty = value => value === null || value === '';\nfunction initCanvas(canvas, aspectRatio) {\n  const style = canvas.style;\n  const renderHeight = canvas.getAttribute('height');\n  const renderWidth = canvas.getAttribute('width');\n  canvas[EXPANDO_KEY] = {\n    initial: {\n      height: renderHeight,\n      width: renderWidth,\n      style: {\n        display: style.display,\n        height: style.height,\n        width: style.width\n      }\n    }\n  };\n  style.display = style.display || 'block';\n  style.boxSizing = style.boxSizing || 'border-box';\n  if (isNullOrEmpty(renderWidth)) {\n    const displayWidth = readUsedSize(canvas, 'width');\n    if (displayWidth !== undefined) {\n      canvas.width = displayWidth;\n    }\n  }\n  if (isNullOrEmpty(renderHeight)) {\n    if (canvas.style.height === '') {\n      canvas.height = canvas.width / (aspectRatio || 2);\n    } else {\n      const displayHeight = readUsedSize(canvas, 'height');\n      if (displayHeight !== undefined) {\n        canvas.height = displayHeight;\n      }\n    }\n  }\n  return canvas;\n}\nconst eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;\nfunction addListener(node, type, listener) {\n  node.addEventListener(type, listener, eventListenerOptions);\n}\nfunction removeListener(chart, type, listener) {\n  chart.canvas.removeEventListener(type, listener, eventListenerOptions);\n}\nfunction fromNativeEvent(event, chart) {\n  const type = EVENT_TYPES[event.type] || event.type;\n  const {x, y} = getRelativePosition(event, chart);\n  return {\n    type,\n    chart,\n    native: event,\n    x: x !== undefined ? x : null,\n    y: y !== undefined ? y : null,\n  };\n}\nfunction nodeListContains(nodeList, canvas) {\n  for (const node of nodeList) {\n    if (node === canvas || node.contains(canvas)) {\n      return true;\n    }\n  }\n}\nfunction createAttachObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const observer = new MutationObserver(entries => {\n    let trigger = false;\n    for (const entry of entries) {\n      trigger = trigger || nodeListContains(entry.addedNodes, canvas);\n      trigger = trigger && !nodeListContains(entry.removedNodes, canvas);\n    }\n    if (trigger) {\n      listener();\n    }\n  });\n  observer.observe(document, {childList: true, subtree: true});\n  return observer;\n}\nfunction createDetachObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const observer = new MutationObserver(entries => {\n    let trigger = false;\n    for (const entry of entries) {\n      trigger = trigger || nodeListContains(entry.removedNodes, canvas);\n      trigger = trigger && !nodeListContains(entry.addedNodes, canvas);\n    }\n    if (trigger) {\n      listener();\n    }\n  });\n  observer.observe(document, {childList: true, subtree: true});\n  return observer;\n}\nconst drpListeningCharts = new Map();\nlet oldDevicePixelRatio = 0;\nfunction onWindowResize() {\n  const dpr = window.devicePixelRatio;\n  if (dpr === oldDevicePixelRatio) {\n    return;\n  }\n  oldDevicePixelRatio = dpr;\n  drpListeningCharts.forEach((resize, chart) => {\n    if (chart.currentDevicePixelRatio !== dpr) {\n      resize();\n    }\n  });\n}\nfunction listenDevicePixelRatioChanges(chart, resize) {\n  if (!drpListeningCharts.size) {\n    window.addEventListener('resize', onWindowResize);\n  }\n  drpListeningCharts.set(chart, resize);\n}\nfunction unlistenDevicePixelRatioChanges(chart) {\n  drpListeningCharts.delete(chart);\n  if (!drpListeningCharts.size) {\n    window.removeEventListener('resize', onWindowResize);\n  }\n}\nfunction createResizeObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const container = canvas && _getParentNode(canvas);\n  if (!container) {\n    return;\n  }\n  const resize = throttled((width, height) => {\n    const w = container.clientWidth;\n    listener(width, height);\n    if (w < container.clientWidth) {\n      listener();\n    }\n  }, window);\n  const observer = new ResizeObserver(entries => {\n    const entry = entries[0];\n    const width = entry.contentRect.width;\n    const height = entry.contentRect.height;\n    if (width === 0 && height === 0) {\n      return;\n    }\n    resize(width, height);\n  });\n  observer.observe(container);\n  listenDevicePixelRatioChanges(chart, resize);\n  return observer;\n}\nfunction releaseObserver(chart, type, observer) {\n  if (observer) {\n    observer.disconnect();\n  }\n  if (type === 'resize') {\n    unlistenDevicePixelRatioChanges(chart);\n  }\n}\nfunction createProxyAndListen(chart, type, listener) {\n  const canvas = chart.canvas;\n  const proxy = throttled((event) => {\n    if (chart.ctx !== null) {\n      listener(fromNativeEvent(event, chart));\n    }\n  }, chart, (args) => {\n    const event = args[0];\n    return [event, event.offsetX, event.offsetY];\n  });\n  addListener(canvas, type, proxy);\n  return proxy;\n}\nclass DomPlatform extends BasePlatform {\n  acquireContext(canvas, aspectRatio) {\n    const context = canvas && canvas.getContext && canvas.getContext('2d');\n    if (context && context.canvas === canvas) {\n      initCanvas(canvas, aspectRatio);\n      return context;\n    }\n    return null;\n  }\n  releaseContext(context) {\n    const canvas = context.canvas;\n    if (!canvas[EXPANDO_KEY]) {\n      return false;\n    }\n    const initial = canvas[EXPANDO_KEY].initial;\n    ['height', 'width'].forEach((prop) => {\n      const value = initial[prop];\n      if (isNullOrUndef(value)) {\n        canvas.removeAttribute(prop);\n      } else {\n        canvas.setAttribute(prop, value);\n      }\n    });\n    const style = initial.style || {};\n    Object.keys(style).forEach((key) => {\n      canvas.style[key] = style[key];\n    });\n    canvas.width = canvas.width;\n    delete canvas[EXPANDO_KEY];\n    return true;\n  }\n  addEventListener(chart, type, listener) {\n    this.removeEventListener(chart, type);\n    const proxies = chart.$proxies || (chart.$proxies = {});\n    const handlers = {\n      attach: createAttachObserver,\n      detach: createDetachObserver,\n      resize: createResizeObserver\n    };\n    const handler = handlers[type] || createProxyAndListen;\n    proxies[type] = handler(chart, type, listener);\n  }\n  removeEventListener(chart, type) {\n    const proxies = chart.$proxies || (chart.$proxies = {});\n    const proxy = proxies[type];\n    if (!proxy) {\n      return;\n    }\n    const handlers = {\n      attach: releaseObserver,\n      detach: releaseObserver,\n      resize: releaseObserver\n    };\n    const handler = handlers[type] || removeListener;\n    handler(chart, type, proxy);\n    proxies[type] = undefined;\n  }\n  getDevicePixelRatio() {\n    return window.devicePixelRatio;\n  }\n  getMaximumSize(canvas, width, height, aspectRatio) {\n    return getMaximumSize(canvas, width, height, aspectRatio);\n  }\n  isAttached(canvas) {\n    const container = _getParentNode(canvas);\n    return !!(container && container.isConnected);\n  }\n}\n\nfunction _detectPlatform(canvas) {\n  if (!_isDomSupported() || (typeof OffscreenCanvas !== 'undefined' && canvas instanceof OffscreenCanvas)) {\n    return BasicPlatform;\n  }\n  return DomPlatform;\n}\n\nvar platforms = /*#__PURE__*/Object.freeze({\n__proto__: null,\n_detectPlatform: _detectPlatform,\nBasePlatform: BasePlatform,\nBasicPlatform: BasicPlatform,\nDomPlatform: DomPlatform\n});\n\nconst transparent = 'transparent';\nconst interpolators = {\n  boolean(from, to, factor) {\n    return factor > 0.5 ? to : from;\n  },\n  color(from, to, factor) {\n    const c0 = color(from || transparent);\n    const c1 = c0.valid && color(to || transparent);\n    return c1 && c1.valid\n      ? c1.mix(c0, factor).hexString()\n      : to;\n  },\n  number(from, to, factor) {\n    return from + (to - from) * factor;\n  }\n};\nclass Animation {\n  constructor(cfg, target, prop, to) {\n    const currentValue = target[prop];\n    to = resolve([cfg.to, to, currentValue, cfg.from]);\n    const from = resolve([cfg.from, currentValue, to]);\n    this._active = true;\n    this._fn = cfg.fn || interpolators[cfg.type || typeof from];\n    this._easing = effects[cfg.easing] || effects.linear;\n    this._start = Math.floor(Date.now() + (cfg.delay || 0));\n    this._duration = this._total = Math.floor(cfg.duration);\n    this._loop = !!cfg.loop;\n    this._target = target;\n    this._prop = prop;\n    this._from = from;\n    this._to = to;\n    this._promises = undefined;\n  }\n  active() {\n    return this._active;\n  }\n  update(cfg, to, date) {\n    if (this._active) {\n      this._notify(false);\n      const currentValue = this._target[this._prop];\n      const elapsed = date - this._start;\n      const remain = this._duration - elapsed;\n      this._start = date;\n      this._duration = Math.floor(Math.max(remain, cfg.duration));\n      this._total += elapsed;\n      this._loop = !!cfg.loop;\n      this._to = resolve([cfg.to, to, currentValue, cfg.from]);\n      this._from = resolve([cfg.from, currentValue, to]);\n    }\n  }\n  cancel() {\n    if (this._active) {\n      this.tick(Date.now());\n      this._active = false;\n      this._notify(false);\n    }\n  }\n  tick(date) {\n    const elapsed = date - this._start;\n    const duration = this._duration;\n    const prop = this._prop;\n    const from = this._from;\n    const loop = this._loop;\n    const to = this._to;\n    let factor;\n    this._active = from !== to && (loop || (elapsed < duration));\n    if (!this._active) {\n      this._target[prop] = to;\n      this._notify(true);\n      return;\n    }\n    if (elapsed < 0) {\n      this._target[prop] = from;\n      return;\n    }\n    factor = (elapsed / duration) % 2;\n    factor = loop && factor > 1 ? 2 - factor : factor;\n    factor = this._easing(Math.min(1, Math.max(0, factor)));\n    this._target[prop] = this._fn(from, to, factor);\n  }\n  wait() {\n    const promises = this._promises || (this._promises = []);\n    return new Promise((res, rej) => {\n      promises.push({res, rej});\n    });\n  }\n  _notify(resolved) {\n    const method = resolved ? 'res' : 'rej';\n    const promises = this._promises || [];\n    for (let i = 0; i < promises.length; i++) {\n      promises[i][method]();\n    }\n  }\n}\n\nconst numbers = ['x', 'y', 'borderWidth', 'radius', 'tension'];\nconst colors = ['color', 'borderColor', 'backgroundColor'];\ndefaults.set('animation', {\n  delay: undefined,\n  duration: 1000,\n  easing: 'easeOutQuart',\n  fn: undefined,\n  from: undefined,\n  loop: undefined,\n  to: undefined,\n  type: undefined,\n});\nconst animationOptions = Object.keys(defaults.animation);\ndefaults.describe('animation', {\n  _fallback: false,\n  _indexable: false,\n  _scriptable: (name) => name !== 'onProgress' && name !== 'onComplete' && name !== 'fn',\n});\ndefaults.set('animations', {\n  colors: {\n    type: 'color',\n    properties: colors\n  },\n  numbers: {\n    type: 'number',\n    properties: numbers\n  },\n});\ndefaults.describe('animations', {\n  _fallback: 'animation',\n});\ndefaults.set('transitions', {\n  active: {\n    animation: {\n      duration: 400\n    }\n  },\n  resize: {\n    animation: {\n      duration: 0\n    }\n  },\n  show: {\n    animations: {\n      colors: {\n        from: 'transparent'\n      },\n      visible: {\n        type: 'boolean',\n        duration: 0\n      },\n    }\n  },\n  hide: {\n    animations: {\n      colors: {\n        to: 'transparent'\n      },\n      visible: {\n        type: 'boolean',\n        easing: 'linear',\n        fn: v => v | 0\n      },\n    }\n  }\n});\nclass Animations {\n  constructor(chart, config) {\n    this._chart = chart;\n    this._properties = new Map();\n    this.configure(config);\n  }\n  configure(config) {\n    if (!isObject(config)) {\n      return;\n    }\n    const animatedProps = this._properties;\n    Object.getOwnPropertyNames(config).forEach(key => {\n      const cfg = config[key];\n      if (!isObject(cfg)) {\n        return;\n      }\n      const resolved = {};\n      for (const option of animationOptions) {\n        resolved[option] = cfg[option];\n      }\n      (isArray(cfg.properties) && cfg.properties || [key]).forEach((prop) => {\n        if (prop === key || !animatedProps.has(prop)) {\n          animatedProps.set(prop, resolved);\n        }\n      });\n    });\n  }\n  _animateOptions(target, values) {\n    const newOptions = values.options;\n    const options = resolveTargetOptions(target, newOptions);\n    if (!options) {\n      return [];\n    }\n    const animations = this._createAnimations(options, newOptions);\n    if (newOptions.$shared) {\n      awaitAll(target.options.$animations, newOptions).then(() => {\n        target.options = newOptions;\n      }, () => {\n      });\n    }\n    return animations;\n  }\n  _createAnimations(target, values) {\n    const animatedProps = this._properties;\n    const animations = [];\n    const running = target.$animations || (target.$animations = {});\n    const props = Object.keys(values);\n    const date = Date.now();\n    let i;\n    for (i = props.length - 1; i >= 0; --i) {\n      const prop = props[i];\n      if (prop.charAt(0) === '$') {\n        continue;\n      }\n      if (prop === 'options') {\n        animations.push(...this._animateOptions(target, values));\n        continue;\n      }\n      const value = values[prop];\n      let animation = running[prop];\n      const cfg = animatedProps.get(prop);\n      if (animation) {\n        if (cfg && animation.active()) {\n          animation.update(cfg, value, date);\n          continue;\n        } else {\n          animation.cancel();\n        }\n      }\n      if (!cfg || !cfg.duration) {\n        target[prop] = value;\n        continue;\n      }\n      running[prop] = animation = new Animation(cfg, target, prop, value);\n      animations.push(animation);\n    }\n    return animations;\n  }\n  update(target, values) {\n    if (this._properties.size === 0) {\n      Object.assign(target, values);\n      return;\n    }\n    const animations = this._createAnimations(target, values);\n    if (animations.length) {\n      animator.add(this._chart, animations);\n      return true;\n    }\n  }\n}\nfunction awaitAll(animations, properties) {\n  const running = [];\n  const keys = Object.keys(properties);\n  for (let i = 0; i < keys.length; i++) {\n    const anim = animations[keys[i]];\n    if (anim && anim.active()) {\n      running.push(anim.wait());\n    }\n  }\n  return Promise.all(running);\n}\nfunction resolveTargetOptions(target, newOptions) {\n  if (!newOptions) {\n    return;\n  }\n  let options = target.options;\n  if (!options) {\n    target.options = newOptions;\n    return;\n  }\n  if (options.$shared) {\n    target.options = options = Object.assign({}, options, {$shared: false, $animations: {}});\n  }\n  return options;\n}\n\nfunction scaleClip(scale, allowedOverflow) {\n  const opts = scale && scale.options || {};\n  const reverse = opts.reverse;\n  const min = opts.min === undefined ? allowedOverflow : 0;\n  const max = opts.max === undefined ? allowedOverflow : 0;\n  return {\n    start: reverse ? max : min,\n    end: reverse ? min : max\n  };\n}\nfunction defaultClip(xScale, yScale, allowedOverflow) {\n  if (allowedOverflow === false) {\n    return false;\n  }\n  const x = scaleClip(xScale, allowedOverflow);\n  const y = scaleClip(yScale, allowedOverflow);\n  return {\n    top: y.end,\n    right: x.end,\n    bottom: y.start,\n    left: x.start\n  };\n}\nfunction toClip(value) {\n  let t, r, b, l;\n  if (isObject(value)) {\n    t = value.top;\n    r = value.right;\n    b = value.bottom;\n    l = value.left;\n  } else {\n    t = r = b = l = value;\n  }\n  return {\n    top: t,\n    right: r,\n    bottom: b,\n    left: l,\n    disabled: value === false\n  };\n}\nfunction getSortedDatasetIndices(chart, filterVisible) {\n  const keys = [];\n  const metasets = chart._getSortedDatasetMetas(filterVisible);\n  let i, ilen;\n  for (i = 0, ilen = metasets.length; i < ilen; ++i) {\n    keys.push(metasets[i].index);\n  }\n  return keys;\n}\nfunction applyStack(stack, value, dsIndex, options = {}) {\n  const keys = stack.keys;\n  const singleMode = options.mode === 'single';\n  let i, ilen, datasetIndex, otherValue;\n  if (value === null) {\n    return;\n  }\n  for (i = 0, ilen = keys.length; i < ilen; ++i) {\n    datasetIndex = +keys[i];\n    if (datasetIndex === dsIndex) {\n      if (options.all) {\n        continue;\n      }\n      break;\n    }\n    otherValue = stack.values[datasetIndex];\n    if (isNumberFinite(otherValue) && (singleMode || (value === 0 || sign(value) === sign(otherValue)))) {\n      value += otherValue;\n    }\n  }\n  return value;\n}\nfunction convertObjectDataToArray(data) {\n  const keys = Object.keys(data);\n  const adata = new Array(keys.length);\n  let i, ilen, key;\n  for (i = 0, ilen = keys.length; i < ilen; ++i) {\n    key = keys[i];\n    adata[i] = {\n      x: key,\n      y: data[key]\n    };\n  }\n  return adata;\n}\nfunction isStacked(scale, meta) {\n  const stacked = scale && scale.options.stacked;\n  return stacked || (stacked === undefined && meta.stack !== undefined);\n}\nfunction getStackKey(indexScale, valueScale, meta) {\n  return `${indexScale.id}.${valueScale.id}.${meta.stack || meta.type}`;\n}\nfunction getUserBounds(scale) {\n  const {min, max, minDefined, maxDefined} = scale.getUserBounds();\n  return {\n    min: minDefined ? min : Number.NEGATIVE_INFINITY,\n    max: maxDefined ? max : Number.POSITIVE_INFINITY\n  };\n}\nfunction getOrCreateStack(stacks, stackKey, indexValue) {\n  const subStack = stacks[stackKey] || (stacks[stackKey] = {});\n  return subStack[indexValue] || (subStack[indexValue] = {});\n}\nfunction getLastIndexInStack(stack, vScale, positive, type) {\n  for (const meta of vScale.getMatchingVisibleMetas(type).reverse()) {\n    const value = stack[meta.index];\n    if ((positive && value > 0) || (!positive && value < 0)) {\n      return meta.index;\n    }\n  }\n  return null;\n}\nfunction updateStacks(controller, parsed) {\n  const {chart, _cachedMeta: meta} = controller;\n  const stacks = chart._stacks || (chart._stacks = {});\n  const {iScale, vScale, index: datasetIndex} = meta;\n  const iAxis = iScale.axis;\n  const vAxis = vScale.axis;\n  const key = getStackKey(iScale, vScale, meta);\n  const ilen = parsed.length;\n  let stack;\n  for (let i = 0; i < ilen; ++i) {\n    const item = parsed[i];\n    const {[iAxis]: index, [vAxis]: value} = item;\n    const itemStacks = item._stacks || (item._stacks = {});\n    stack = itemStacks[vAxis] = getOrCreateStack(stacks, key, index);\n    stack[datasetIndex] = value;\n    stack._top = getLastIndexInStack(stack, vScale, true, meta.type);\n    stack._bottom = getLastIndexInStack(stack, vScale, false, meta.type);\n  }\n}\nfunction getFirstScaleId(chart, axis) {\n  const scales = chart.scales;\n  return Object.keys(scales).filter(key => scales[key].axis === axis).shift();\n}\nfunction createDatasetContext(parent, index) {\n  return createContext(parent,\n    {\n      active: false,\n      dataset: undefined,\n      datasetIndex: index,\n      index,\n      mode: 'default',\n      type: 'dataset'\n    }\n  );\n}\nfunction createDataContext(parent, index, element) {\n  return createContext(parent, {\n    active: false,\n    dataIndex: index,\n    parsed: undefined,\n    raw: undefined,\n    element,\n    index,\n    mode: 'default',\n    type: 'data'\n  });\n}\nfunction clearStacks(meta, items) {\n  const datasetIndex = meta.controller.index;\n  const axis = meta.vScale && meta.vScale.axis;\n  if (!axis) {\n    return;\n  }\n  items = items || meta._parsed;\n  for (const parsed of items) {\n    const stacks = parsed._stacks;\n    if (!stacks || stacks[axis] === undefined || stacks[axis][datasetIndex] === undefined) {\n      return;\n    }\n    delete stacks[axis][datasetIndex];\n  }\n}\nconst isDirectUpdateMode = (mode) => mode === 'reset' || mode === 'none';\nconst cloneIfNotShared = (cached, shared) => shared ? cached : Object.assign({}, cached);\nconst createStack = (canStack, meta, chart) => canStack && !meta.hidden && meta._stacked\n  && {keys: getSortedDatasetIndices(chart, true), values: null};\nclass DatasetController {\n  constructor(chart, datasetIndex) {\n    this.chart = chart;\n    this._ctx = chart.ctx;\n    this.index = datasetIndex;\n    this._cachedDataOpts = {};\n    this._cachedMeta = this.getMeta();\n    this._type = this._cachedMeta.type;\n    this.options = undefined;\n    this._parsing = false;\n    this._data = undefined;\n    this._objectData = undefined;\n    this._sharedOptions = undefined;\n    this._drawStart = undefined;\n    this._drawCount = undefined;\n    this.enableOptionSharing = false;\n    this.supportsDecimation = false;\n    this.$context = undefined;\n    this._syncList = [];\n    this.initialize();\n  }\n  initialize() {\n    const meta = this._cachedMeta;\n    this.configure();\n    this.linkScales();\n    meta._stacked = isStacked(meta.vScale, meta);\n    this.addElements();\n  }\n  updateIndex(datasetIndex) {\n    if (this.index !== datasetIndex) {\n      clearStacks(this._cachedMeta);\n    }\n    this.index = datasetIndex;\n  }\n  linkScales() {\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const dataset = this.getDataset();\n    const chooseId = (axis, x, y, r) => axis === 'x' ? x : axis === 'r' ? r : y;\n    const xid = meta.xAxisID = valueOrDefault(dataset.xAxisID, getFirstScaleId(chart, 'x'));\n    const yid = meta.yAxisID = valueOrDefault(dataset.yAxisID, getFirstScaleId(chart, 'y'));\n    const rid = meta.rAxisID = valueOrDefault(dataset.rAxisID, getFirstScaleId(chart, 'r'));\n    const indexAxis = meta.indexAxis;\n    const iid = meta.iAxisID = chooseId(indexAxis, xid, yid, rid);\n    const vid = meta.vAxisID = chooseId(indexAxis, yid, xid, rid);\n    meta.xScale = this.getScaleForId(xid);\n    meta.yScale = this.getScaleForId(yid);\n    meta.rScale = this.getScaleForId(rid);\n    meta.iScale = this.getScaleForId(iid);\n    meta.vScale = this.getScaleForId(vid);\n  }\n  getDataset() {\n    return this.chart.data.datasets[this.index];\n  }\n  getMeta() {\n    return this.chart.getDatasetMeta(this.index);\n  }\n  getScaleForId(scaleID) {\n    return this.chart.scales[scaleID];\n  }\n  _getOtherScale(scale) {\n    const meta = this._cachedMeta;\n    return scale === meta.iScale\n      ? meta.vScale\n      : meta.iScale;\n  }\n  reset() {\n    this._update('reset');\n  }\n  _destroy() {\n    const meta = this._cachedMeta;\n    if (this._data) {\n      unlistenArrayEvents(this._data, this);\n    }\n    if (meta._stacked) {\n      clearStacks(meta);\n    }\n  }\n  _dataCheck() {\n    const dataset = this.getDataset();\n    const data = dataset.data || (dataset.data = []);\n    const _data = this._data;\n    if (isObject(data)) {\n      this._data = convertObjectDataToArray(data);\n    } else if (_data !== data) {\n      if (_data) {\n        unlistenArrayEvents(_data, this);\n        const meta = this._cachedMeta;\n        clearStacks(meta);\n        meta._parsed = [];\n      }\n      if (data && Object.isExtensible(data)) {\n        listenArrayEvents(data, this);\n      }\n      this._syncList = [];\n      this._data = data;\n    }\n  }\n  addElements() {\n    const meta = this._cachedMeta;\n    this._dataCheck();\n    if (this.datasetElementType) {\n      meta.dataset = new this.datasetElementType();\n    }\n  }\n  buildOrUpdateElements(resetNewElements) {\n    const meta = this._cachedMeta;\n    const dataset = this.getDataset();\n    let stackChanged = false;\n    this._dataCheck();\n    const oldStacked = meta._stacked;\n    meta._stacked = isStacked(meta.vScale, meta);\n    if (meta.stack !== dataset.stack) {\n      stackChanged = true;\n      clearStacks(meta);\n      meta.stack = dataset.stack;\n    }\n    this._resyncElements(resetNewElements);\n    if (stackChanged || oldStacked !== meta._stacked) {\n      updateStacks(this, meta._parsed);\n    }\n  }\n  configure() {\n    const config = this.chart.config;\n    const scopeKeys = config.datasetScopeKeys(this._type);\n    const scopes = config.getOptionScopes(this.getDataset(), scopeKeys, true);\n    this.options = config.createResolver(scopes, this.getContext());\n    this._parsing = this.options.parsing;\n    this._cachedDataOpts = {};\n  }\n  parse(start, count) {\n    const {_cachedMeta: meta, _data: data} = this;\n    const {iScale, _stacked} = meta;\n    const iAxis = iScale.axis;\n    let sorted = start === 0 && count === data.length ? true : meta._sorted;\n    let prev = start > 0 && meta._parsed[start - 1];\n    let i, cur, parsed;\n    if (this._parsing === false) {\n      meta._parsed = data;\n      meta._sorted = true;\n      parsed = data;\n    } else {\n      if (isArray(data[start])) {\n        parsed = this.parseArrayData(meta, data, start, count);\n      } else if (isObject(data[start])) {\n        parsed = this.parseObjectData(meta, data, start, count);\n      } else {\n        parsed = this.parsePrimitiveData(meta, data, start, count);\n      }\n      const isNotInOrderComparedToPrev = () => cur[iAxis] === null || (prev && cur[iAxis] < prev[iAxis]);\n      for (i = 0; i < count; ++i) {\n        meta._parsed[i + start] = cur = parsed[i];\n        if (sorted) {\n          if (isNotInOrderComparedToPrev()) {\n            sorted = false;\n          }\n          prev = cur;\n        }\n      }\n      meta._sorted = sorted;\n    }\n    if (_stacked) {\n      updateStacks(this, parsed);\n    }\n  }\n  parsePrimitiveData(meta, data, start, count) {\n    const {iScale, vScale} = meta;\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const labels = iScale.getLabels();\n    const singleScale = iScale === vScale;\n    const parsed = new Array(count);\n    let i, ilen, index;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      parsed[i] = {\n        [iAxis]: singleScale || iScale.parse(labels[index], index),\n        [vAxis]: vScale.parse(data[index], index)\n      };\n    }\n    return parsed;\n  }\n  parseArrayData(meta, data, start, count) {\n    const {xScale, yScale} = meta;\n    const parsed = new Array(count);\n    let i, ilen, index, item;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      item = data[index];\n      parsed[i] = {\n        x: xScale.parse(item[0], index),\n        y: yScale.parse(item[1], index)\n      };\n    }\n    return parsed;\n  }\n  parseObjectData(meta, data, start, count) {\n    const {xScale, yScale} = meta;\n    const {xAxisKey = 'x', yAxisKey = 'y'} = this._parsing;\n    const parsed = new Array(count);\n    let i, ilen, index, item;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      item = data[index];\n      parsed[i] = {\n        x: xScale.parse(resolveObjectKey(item, xAxisKey), index),\n        y: yScale.parse(resolveObjectKey(item, yAxisKey), index)\n      };\n    }\n    return parsed;\n  }\n  getParsed(index) {\n    return this._cachedMeta._parsed[index];\n  }\n  getDataElement(index) {\n    return this._cachedMeta.data[index];\n  }\n  applyStack(scale, parsed, mode) {\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const value = parsed[scale.axis];\n    const stack = {\n      keys: getSortedDatasetIndices(chart, true),\n      values: parsed._stacks[scale.axis]\n    };\n    return applyStack(stack, value, meta.index, {mode});\n  }\n  updateRangeFromParsed(range, scale, parsed, stack) {\n    const parsedValue = parsed[scale.axis];\n    let value = parsedValue === null ? NaN : parsedValue;\n    const values = stack && parsed._stacks[scale.axis];\n    if (stack && values) {\n      stack.values = values;\n      value = applyStack(stack, parsedValue, this._cachedMeta.index);\n    }\n    range.min = Math.min(range.min, value);\n    range.max = Math.max(range.max, value);\n  }\n  getMinMax(scale, canStack) {\n    const meta = this._cachedMeta;\n    const _parsed = meta._parsed;\n    const sorted = meta._sorted && scale === meta.iScale;\n    const ilen = _parsed.length;\n    const otherScale = this._getOtherScale(scale);\n    const stack = createStack(canStack, meta, this.chart);\n    const range = {min: Number.POSITIVE_INFINITY, max: Number.NEGATIVE_INFINITY};\n    const {min: otherMin, max: otherMax} = getUserBounds(otherScale);\n    let i, parsed;\n    function _skip() {\n      parsed = _parsed[i];\n      const otherValue = parsed[otherScale.axis];\n      return !isNumberFinite(parsed[scale.axis]) || otherMin > otherValue || otherMax < otherValue;\n    }\n    for (i = 0; i < ilen; ++i) {\n      if (_skip()) {\n        continue;\n      }\n      this.updateRangeFromParsed(range, scale, parsed, stack);\n      if (sorted) {\n        break;\n      }\n    }\n    if (sorted) {\n      for (i = ilen - 1; i >= 0; --i) {\n        if (_skip()) {\n          continue;\n        }\n        this.updateRangeFromParsed(range, scale, parsed, stack);\n        break;\n      }\n    }\n    return range;\n  }\n  getAllParsedValues(scale) {\n    const parsed = this._cachedMeta._parsed;\n    const values = [];\n    let i, ilen, value;\n    for (i = 0, ilen = parsed.length; i < ilen; ++i) {\n      value = parsed[i][scale.axis];\n      if (isNumberFinite(value)) {\n        values.push(value);\n      }\n    }\n    return values;\n  }\n  getMaxOverflow() {\n    return false;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const iScale = meta.iScale;\n    const vScale = meta.vScale;\n    const parsed = this.getParsed(index);\n    return {\n      label: iScale ? '' + iScale.getLabelForValue(parsed[iScale.axis]) : '',\n      value: vScale ? '' + vScale.getLabelForValue(parsed[vScale.axis]) : ''\n    };\n  }\n  _update(mode) {\n    const meta = this._cachedMeta;\n    this.update(mode || 'default');\n    meta._clip = toClip(valueOrDefault(this.options.clip, defaultClip(meta.xScale, meta.yScale, this.getMaxOverflow())));\n  }\n  update(mode) {}\n  draw() {\n    const ctx = this._ctx;\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const elements = meta.data || [];\n    const area = chart.chartArea;\n    const active = [];\n    const start = this._drawStart || 0;\n    const count = this._drawCount || (elements.length - start);\n    const drawActiveElementsOnTop = this.options.drawActiveElementsOnTop;\n    let i;\n    if (meta.dataset) {\n      meta.dataset.draw(ctx, area, start, count);\n    }\n    for (i = start; i < start + count; ++i) {\n      const element = elements[i];\n      if (element.hidden) {\n        continue;\n      }\n      if (element.active && drawActiveElementsOnTop) {\n        active.push(element);\n      } else {\n        element.draw(ctx, area);\n      }\n    }\n    for (i = 0; i < active.length; ++i) {\n      active[i].draw(ctx, area);\n    }\n  }\n  getStyle(index, active) {\n    const mode = active ? 'active' : 'default';\n    return index === undefined && this._cachedMeta.dataset\n      ? this.resolveDatasetElementOptions(mode)\n      : this.resolveDataElementOptions(index || 0, mode);\n  }\n  getContext(index, active, mode) {\n    const dataset = this.getDataset();\n    let context;\n    if (index >= 0 && index < this._cachedMeta.data.length) {\n      const element = this._cachedMeta.data[index];\n      context = element.$context ||\n        (element.$context = createDataContext(this.getContext(), index, element));\n      context.parsed = this.getParsed(index);\n      context.raw = dataset.data[index];\n      context.index = context.dataIndex = index;\n    } else {\n      context = this.$context ||\n        (this.$context = createDatasetContext(this.chart.getContext(), this.index));\n      context.dataset = dataset;\n      context.index = context.datasetIndex = this.index;\n    }\n    context.active = !!active;\n    context.mode = mode;\n    return context;\n  }\n  resolveDatasetElementOptions(mode) {\n    return this._resolveElementOptions(this.datasetElementType.id, mode);\n  }\n  resolveDataElementOptions(index, mode) {\n    return this._resolveElementOptions(this.dataElementType.id, mode, index);\n  }\n  _resolveElementOptions(elementType, mode = 'default', index) {\n    const active = mode === 'active';\n    const cache = this._cachedDataOpts;\n    const cacheKey = elementType + '-' + mode;\n    const cached = cache[cacheKey];\n    const sharing = this.enableOptionSharing && defined(index);\n    if (cached) {\n      return cloneIfNotShared(cached, sharing);\n    }\n    const config = this.chart.config;\n    const scopeKeys = config.datasetElementScopeKeys(this._type, elementType);\n    const prefixes = active ? [`${elementType}Hover`, 'hover', elementType, ''] : [elementType, ''];\n    const scopes = config.getOptionScopes(this.getDataset(), scopeKeys);\n    const names = Object.keys(defaults.elements[elementType]);\n    const context = () => this.getContext(index, active);\n    const values = config.resolveNamedOptions(scopes, names, context, prefixes);\n    if (values.$shared) {\n      values.$shared = sharing;\n      cache[cacheKey] = Object.freeze(cloneIfNotShared(values, sharing));\n    }\n    return values;\n  }\n  _resolveAnimations(index, transition, active) {\n    const chart = this.chart;\n    const cache = this._cachedDataOpts;\n    const cacheKey = `animation-${transition}`;\n    const cached = cache[cacheKey];\n    if (cached) {\n      return cached;\n    }\n    let options;\n    if (chart.options.animation !== false) {\n      const config = this.chart.config;\n      const scopeKeys = config.datasetAnimationScopeKeys(this._type, transition);\n      const scopes = config.getOptionScopes(this.getDataset(), scopeKeys);\n      options = config.createResolver(scopes, this.getContext(index, active, transition));\n    }\n    const animations = new Animations(chart, options && options.animations);\n    if (options && options._cacheable) {\n      cache[cacheKey] = Object.freeze(animations);\n    }\n    return animations;\n  }\n  getSharedOptions(options) {\n    if (!options.$shared) {\n      return;\n    }\n    return this._sharedOptions || (this._sharedOptions = Object.assign({}, options));\n  }\n  includeOptions(mode, sharedOptions) {\n    return !sharedOptions || isDirectUpdateMode(mode) || this.chart._animationsDisabled;\n  }\n  _getSharedOptions(start, mode) {\n    const firstOpts = this.resolveDataElementOptions(start, mode);\n    const previouslySharedOptions = this._sharedOptions;\n    const sharedOptions = this.getSharedOptions(firstOpts);\n    const includeOptions = this.includeOptions(mode, sharedOptions) || (sharedOptions !== previouslySharedOptions);\n    this.updateSharedOptions(sharedOptions, mode, firstOpts);\n    return {sharedOptions, includeOptions};\n  }\n  updateElement(element, index, properties, mode) {\n    if (isDirectUpdateMode(mode)) {\n      Object.assign(element, properties);\n    } else {\n      this._resolveAnimations(index, mode).update(element, properties);\n    }\n  }\n  updateSharedOptions(sharedOptions, mode, newOptions) {\n    if (sharedOptions && !isDirectUpdateMode(mode)) {\n      this._resolveAnimations(undefined, mode).update(sharedOptions, newOptions);\n    }\n  }\n  _setStyle(element, index, mode, active) {\n    element.active = active;\n    const options = this.getStyle(index, active);\n    this._resolveAnimations(index, mode, active).update(element, {\n      options: (!active && this.getSharedOptions(options)) || options\n    });\n  }\n  removeHoverStyle(element, datasetIndex, index) {\n    this._setStyle(element, index, 'active', false);\n  }\n  setHoverStyle(element, datasetIndex, index) {\n    this._setStyle(element, index, 'active', true);\n  }\n  _removeDatasetHoverStyle() {\n    const element = this._cachedMeta.dataset;\n    if (element) {\n      this._setStyle(element, undefined, 'active', false);\n    }\n  }\n  _setDatasetHoverStyle() {\n    const element = this._cachedMeta.dataset;\n    if (element) {\n      this._setStyle(element, undefined, 'active', true);\n    }\n  }\n  _resyncElements(resetNewElements) {\n    const data = this._data;\n    const elements = this._cachedMeta.data;\n    for (const [method, arg1, arg2] of this._syncList) {\n      this[method](arg1, arg2);\n    }\n    this._syncList = [];\n    const numMeta = elements.length;\n    const numData = data.length;\n    const count = Math.min(numData, numMeta);\n    if (count) {\n      this.parse(0, count);\n    }\n    if (numData > numMeta) {\n      this._insertElements(numMeta, numData - numMeta, resetNewElements);\n    } else if (numData < numMeta) {\n      this._removeElements(numData, numMeta - numData);\n    }\n  }\n  _insertElements(start, count, resetNewElements = true) {\n    const meta = this._cachedMeta;\n    const data = meta.data;\n    const end = start + count;\n    let i;\n    const move = (arr) => {\n      arr.length += count;\n      for (i = arr.length - 1; i >= end; i--) {\n        arr[i] = arr[i - count];\n      }\n    };\n    move(data);\n    for (i = start; i < end; ++i) {\n      data[i] = new this.dataElementType();\n    }\n    if (this._parsing) {\n      move(meta._parsed);\n    }\n    this.parse(start, count);\n    if (resetNewElements) {\n      this.updateElements(data, start, count, 'reset');\n    }\n  }\n  updateElements(element, start, count, mode) {}\n  _removeElements(start, count) {\n    const meta = this._cachedMeta;\n    if (this._parsing) {\n      const removed = meta._parsed.splice(start, count);\n      if (meta._stacked) {\n        clearStacks(meta, removed);\n      }\n    }\n    meta.data.splice(start, count);\n  }\n  _sync(args) {\n    if (this._parsing) {\n      this._syncList.push(args);\n    } else {\n      const [method, arg1, arg2] = args;\n      this[method](arg1, arg2);\n    }\n    this.chart._dataChanges.push([this.index, ...args]);\n  }\n  _onDataPush() {\n    const count = arguments.length;\n    this._sync(['_insertElements', this.getDataset().data.length - count, count]);\n  }\n  _onDataPop() {\n    this._sync(['_removeElements', this._cachedMeta.data.length - 1, 1]);\n  }\n  _onDataShift() {\n    this._sync(['_removeElements', 0, 1]);\n  }\n  _onDataSplice(start, count) {\n    if (count) {\n      this._sync(['_removeElements', start, count]);\n    }\n    const newCount = arguments.length - 2;\n    if (newCount) {\n      this._sync(['_insertElements', start, newCount]);\n    }\n  }\n  _onDataUnshift() {\n    this._sync(['_insertElements', 0, arguments.length]);\n  }\n}\nDatasetController.defaults = {};\nDatasetController.prototype.datasetElementType = null;\nDatasetController.prototype.dataElementType = null;\n\nclass Element {\n  constructor() {\n    this.x = undefined;\n    this.y = undefined;\n    this.active = false;\n    this.options = undefined;\n    this.$animations = undefined;\n  }\n  tooltipPosition(useFinalPosition) {\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return {x, y};\n  }\n  hasValue() {\n    return isNumber(this.x) && isNumber(this.y);\n  }\n  getProps(props, final) {\n    const anims = this.$animations;\n    if (!final || !anims) {\n      return this;\n    }\n    const ret = {};\n    props.forEach(prop => {\n      ret[prop] = anims[prop] && anims[prop].active() ? anims[prop]._to : this[prop];\n    });\n    return ret;\n  }\n}\nElement.defaults = {};\nElement.defaultRoutes = undefined;\n\nconst formatters = {\n  values(value) {\n    return isArray(value) ? value : '' + value;\n  },\n  numeric(tickValue, index, ticks) {\n    if (tickValue === 0) {\n      return '0';\n    }\n    const locale = this.chart.options.locale;\n    let notation;\n    let delta = tickValue;\n    if (ticks.length > 1) {\n      const maxTick = Math.max(Math.abs(ticks[0].value), Math.abs(ticks[ticks.length - 1].value));\n      if (maxTick < 1e-4 || maxTick > 1e+15) {\n        notation = 'scientific';\n      }\n      delta = calculateDelta(tickValue, ticks);\n    }\n    const logDelta = log10(Math.abs(delta));\n    const numDecimal = Math.max(Math.min(-1 * Math.floor(logDelta), 20), 0);\n    const options = {notation, minimumFractionDigits: numDecimal, maximumFractionDigits: numDecimal};\n    Object.assign(options, this.options.ticks.format);\n    return formatNumber(tickValue, locale, options);\n  },\n  logarithmic(tickValue, index, ticks) {\n    if (tickValue === 0) {\n      return '0';\n    }\n    const remain = tickValue / (Math.pow(10, Math.floor(log10(tickValue))));\n    if (remain === 1 || remain === 2 || remain === 5) {\n      return formatters.numeric.call(this, tickValue, index, ticks);\n    }\n    return '';\n  }\n};\nfunction calculateDelta(tickValue, ticks) {\n  let delta = ticks.length > 3 ? ticks[2].value - ticks[1].value : ticks[1].value - ticks[0].value;\n  if (Math.abs(delta) >= 1 && tickValue !== Math.floor(tickValue)) {\n    delta = tickValue - Math.floor(tickValue);\n  }\n  return delta;\n}\nvar Ticks = {formatters};\n\ndefaults.set('scale', {\n  display: true,\n  offset: false,\n  reverse: false,\n  beginAtZero: false,\n  bounds: 'ticks',\n  grace: 0,\n  grid: {\n    display: true,\n    lineWidth: 1,\n    drawBorder: true,\n    drawOnChartArea: true,\n    drawTicks: true,\n    tickLength: 8,\n    tickWidth: (_ctx, options) => options.lineWidth,\n    tickColor: (_ctx, options) => options.color,\n    offset: false,\n    borderDash: [],\n    borderDashOffset: 0.0,\n    borderWidth: 1\n  },\n  title: {\n    display: false,\n    text: '',\n    padding: {\n      top: 4,\n      bottom: 4\n    }\n  },\n  ticks: {\n    minRotation: 0,\n    maxRotation: 50,\n    mirror: false,\n    textStrokeWidth: 0,\n    textStrokeColor: '',\n    padding: 3,\n    display: true,\n    autoSkip: true,\n    autoSkipPadding: 3,\n    labelOffset: 0,\n    callback: Ticks.formatters.values,\n    minor: {},\n    major: {},\n    align: 'center',\n    crossAlign: 'near',\n    showLabelBackdrop: false,\n    backdropColor: 'rgba(255, 255, 255, 0.75)',\n    backdropPadding: 2,\n  }\n});\ndefaults.route('scale.ticks', 'color', '', 'color');\ndefaults.route('scale.grid', 'color', '', 'borderColor');\ndefaults.route('scale.grid', 'borderColor', '', 'borderColor');\ndefaults.route('scale.title', 'color', '', 'color');\ndefaults.describe('scale', {\n  _fallback: false,\n  _scriptable: (name) => !name.startsWith('before') && !name.startsWith('after') && name !== 'callback' && name !== 'parser',\n  _indexable: (name) => name !== 'borderDash' && name !== 'tickBorderDash',\n});\ndefaults.describe('scales', {\n  _fallback: 'scale',\n});\ndefaults.describe('scale.ticks', {\n  _scriptable: (name) => name !== 'backdropPadding' && name !== 'callback',\n  _indexable: (name) => name !== 'backdropPadding',\n});\n\nfunction autoSkip(scale, ticks) {\n  const tickOpts = scale.options.ticks;\n  const ticksLimit = tickOpts.maxTicksLimit || determineMaxTicks(scale);\n  const majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\n  const numMajorIndices = majorIndices.length;\n  const first = majorIndices[0];\n  const last = majorIndices[numMajorIndices - 1];\n  const newTicks = [];\n  if (numMajorIndices > ticksLimit) {\n    skipMajors(ticks, newTicks, majorIndices, numMajorIndices / ticksLimit);\n    return newTicks;\n  }\n  const spacing = calculateSpacing(majorIndices, ticks, ticksLimit);\n  if (numMajorIndices > 0) {\n    let i, ilen;\n    const avgMajorSpacing = numMajorIndices > 1 ? Math.round((last - first) / (numMajorIndices - 1)) : null;\n    skip(ticks, newTicks, spacing, isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\n    for (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\n      skip(ticks, newTicks, spacing, majorIndices[i], majorIndices[i + 1]);\n    }\n    skip(ticks, newTicks, spacing, last, isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\n    return newTicks;\n  }\n  skip(ticks, newTicks, spacing);\n  return newTicks;\n}\nfunction determineMaxTicks(scale) {\n  const offset = scale.options.offset;\n  const tickLength = scale._tickSize();\n  const maxScale = scale._length / tickLength + (offset ? 0 : 1);\n  const maxChart = scale._maxLength / tickLength;\n  return Math.floor(Math.min(maxScale, maxChart));\n}\nfunction calculateSpacing(majorIndices, ticks, ticksLimit) {\n  const evenMajorSpacing = getEvenSpacing(majorIndices);\n  const spacing = ticks.length / ticksLimit;\n  if (!evenMajorSpacing) {\n    return Math.max(spacing, 1);\n  }\n  const factors = _factorize(evenMajorSpacing);\n  for (let i = 0, ilen = factors.length - 1; i < ilen; i++) {\n    const factor = factors[i];\n    if (factor > spacing) {\n      return factor;\n    }\n  }\n  return Math.max(spacing, 1);\n}\nfunction getMajorIndices(ticks) {\n  const result = [];\n  let i, ilen;\n  for (i = 0, ilen = ticks.length; i < ilen; i++) {\n    if (ticks[i].major) {\n      result.push(i);\n    }\n  }\n  return result;\n}\nfunction skipMajors(ticks, newTicks, majorIndices, spacing) {\n  let count = 0;\n  let next = majorIndices[0];\n  let i;\n  spacing = Math.ceil(spacing);\n  for (i = 0; i < ticks.length; i++) {\n    if (i === next) {\n      newTicks.push(ticks[i]);\n      count++;\n      next = majorIndices[count * spacing];\n    }\n  }\n}\nfunction skip(ticks, newTicks, spacing, majorStart, majorEnd) {\n  const start = valueOrDefault(majorStart, 0);\n  const end = Math.min(valueOrDefault(majorEnd, ticks.length), ticks.length);\n  let count = 0;\n  let length, i, next;\n  spacing = Math.ceil(spacing);\n  if (majorEnd) {\n    length = majorEnd - majorStart;\n    spacing = length / Math.floor(length / spacing);\n  }\n  next = start;\n  while (next < 0) {\n    count++;\n    next = Math.round(start + count * spacing);\n  }\n  for (i = Math.max(start, 0); i < end; i++) {\n    if (i === next) {\n      newTicks.push(ticks[i]);\n      count++;\n      next = Math.round(start + count * spacing);\n    }\n  }\n}\nfunction getEvenSpacing(arr) {\n  const len = arr.length;\n  let i, diff;\n  if (len < 2) {\n    return false;\n  }\n  for (diff = arr[0], i = 1; i < len; ++i) {\n    if (arr[i] - arr[i - 1] !== diff) {\n      return false;\n    }\n  }\n  return diff;\n}\n\nconst reverseAlign = (align) => align === 'left' ? 'right' : align === 'right' ? 'left' : align;\nconst offsetFromEdge = (scale, edge, offset) => edge === 'top' || edge === 'left' ? scale[edge] + offset : scale[edge] - offset;\nfunction sample(arr, numItems) {\n  const result = [];\n  const increment = arr.length / numItems;\n  const len = arr.length;\n  let i = 0;\n  for (; i < len; i += increment) {\n    result.push(arr[Math.floor(i)]);\n  }\n  return result;\n}\nfunction getPixelForGridLine(scale, index, offsetGridLines) {\n  const length = scale.ticks.length;\n  const validIndex = Math.min(index, length - 1);\n  const start = scale._startPixel;\n  const end = scale._endPixel;\n  const epsilon = 1e-6;\n  let lineValue = scale.getPixelForTick(validIndex);\n  let offset;\n  if (offsetGridLines) {\n    if (length === 1) {\n      offset = Math.max(lineValue - start, end - lineValue);\n    } else if (index === 0) {\n      offset = (scale.getPixelForTick(1) - lineValue) / 2;\n    } else {\n      offset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\n    }\n    lineValue += validIndex < index ? offset : -offset;\n    if (lineValue < start - epsilon || lineValue > end + epsilon) {\n      return;\n    }\n  }\n  return lineValue;\n}\nfunction garbageCollect(caches, length) {\n  each(caches, (cache) => {\n    const gc = cache.gc;\n    const gcLen = gc.length / 2;\n    let i;\n    if (gcLen > length) {\n      for (i = 0; i < gcLen; ++i) {\n        delete cache.data[gc[i]];\n      }\n      gc.splice(0, gcLen);\n    }\n  });\n}\nfunction getTickMarkLength(options) {\n  return options.drawTicks ? options.tickLength : 0;\n}\nfunction getTitleHeight(options, fallback) {\n  if (!options.display) {\n    return 0;\n  }\n  const font = toFont(options.font, fallback);\n  const padding = toPadding(options.padding);\n  const lines = isArray(options.text) ? options.text.length : 1;\n  return (lines * font.lineHeight) + padding.height;\n}\nfunction createScaleContext(parent, scale) {\n  return createContext(parent, {\n    scale,\n    type: 'scale'\n  });\n}\nfunction createTickContext(parent, index, tick) {\n  return createContext(parent, {\n    tick,\n    index,\n    type: 'tick'\n  });\n}\nfunction titleAlign(align, position, reverse) {\n  let ret = _toLeftRightCenter(align);\n  if ((reverse && position !== 'right') || (!reverse && position === 'right')) {\n    ret = reverseAlign(ret);\n  }\n  return ret;\n}\nfunction titleArgs(scale, offset, position, align) {\n  const {top, left, bottom, right, chart} = scale;\n  const {chartArea, scales} = chart;\n  let rotation = 0;\n  let maxWidth, titleX, titleY;\n  const height = bottom - top;\n  const width = right - left;\n  if (scale.isHorizontal()) {\n    titleX = _alignStartEnd(align, left, right);\n    if (isObject(position)) {\n      const positionAxisID = Object.keys(position)[0];\n      const value = position[positionAxisID];\n      titleY = scales[positionAxisID].getPixelForValue(value) + height - offset;\n    } else if (position === 'center') {\n      titleY = (chartArea.bottom + chartArea.top) / 2 + height - offset;\n    } else {\n      titleY = offsetFromEdge(scale, position, offset);\n    }\n    maxWidth = right - left;\n  } else {\n    if (isObject(position)) {\n      const positionAxisID = Object.keys(position)[0];\n      const value = position[positionAxisID];\n      titleX = scales[positionAxisID].getPixelForValue(value) - width + offset;\n    } else if (position === 'center') {\n      titleX = (chartArea.left + chartArea.right) / 2 - width + offset;\n    } else {\n      titleX = offsetFromEdge(scale, position, offset);\n    }\n    titleY = _alignStartEnd(align, bottom, top);\n    rotation = position === 'left' ? -HALF_PI : HALF_PI;\n  }\n  return {titleX, titleY, maxWidth, rotation};\n}\nclass Scale extends Element {\n  constructor(cfg) {\n    super();\n    this.id = cfg.id;\n    this.type = cfg.type;\n    this.options = undefined;\n    this.ctx = cfg.ctx;\n    this.chart = cfg.chart;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this._margins = {\n      left: 0,\n      right: 0,\n      top: 0,\n      bottom: 0\n    };\n    this.maxWidth = undefined;\n    this.maxHeight = undefined;\n    this.paddingTop = undefined;\n    this.paddingBottom = undefined;\n    this.paddingLeft = undefined;\n    this.paddingRight = undefined;\n    this.axis = undefined;\n    this.labelRotation = undefined;\n    this.min = undefined;\n    this.max = undefined;\n    this._range = undefined;\n    this.ticks = [];\n    this._gridLineItems = null;\n    this._labelItems = null;\n    this._labelSizes = null;\n    this._length = 0;\n    this._maxLength = 0;\n    this._longestTextCache = {};\n    this._startPixel = undefined;\n    this._endPixel = undefined;\n    this._reversePixels = false;\n    this._userMax = undefined;\n    this._userMin = undefined;\n    this._suggestedMax = undefined;\n    this._suggestedMin = undefined;\n    this._ticksLength = 0;\n    this._borderValue = 0;\n    this._cache = {};\n    this._dataLimitsCached = false;\n    this.$context = undefined;\n  }\n  init(options) {\n    this.options = options.setContext(this.getContext());\n    this.axis = options.axis;\n    this._userMin = this.parse(options.min);\n    this._userMax = this.parse(options.max);\n    this._suggestedMin = this.parse(options.suggestedMin);\n    this._suggestedMax = this.parse(options.suggestedMax);\n  }\n  parse(raw, index) {\n    return raw;\n  }\n  getUserBounds() {\n    let {_userMin, _userMax, _suggestedMin, _suggestedMax} = this;\n    _userMin = finiteOrDefault(_userMin, Number.POSITIVE_INFINITY);\n    _userMax = finiteOrDefault(_userMax, Number.NEGATIVE_INFINITY);\n    _suggestedMin = finiteOrDefault(_suggestedMin, Number.POSITIVE_INFINITY);\n    _suggestedMax = finiteOrDefault(_suggestedMax, Number.NEGATIVE_INFINITY);\n    return {\n      min: finiteOrDefault(_userMin, _suggestedMin),\n      max: finiteOrDefault(_userMax, _suggestedMax),\n      minDefined: isNumberFinite(_userMin),\n      maxDefined: isNumberFinite(_userMax)\n    };\n  }\n  getMinMax(canStack) {\n    let {min, max, minDefined, maxDefined} = this.getUserBounds();\n    let range;\n    if (minDefined && maxDefined) {\n      return {min, max};\n    }\n    const metas = this.getMatchingVisibleMetas();\n    for (let i = 0, ilen = metas.length; i < ilen; ++i) {\n      range = metas[i].controller.getMinMax(this, canStack);\n      if (!minDefined) {\n        min = Math.min(min, range.min);\n      }\n      if (!maxDefined) {\n        max = Math.max(max, range.max);\n      }\n    }\n    min = maxDefined && min > max ? max : min;\n    max = minDefined && min > max ? min : max;\n    return {\n      min: finiteOrDefault(min, finiteOrDefault(max, min)),\n      max: finiteOrDefault(max, finiteOrDefault(min, max))\n    };\n  }\n  getPadding() {\n    return {\n      left: this.paddingLeft || 0,\n      top: this.paddingTop || 0,\n      right: this.paddingRight || 0,\n      bottom: this.paddingBottom || 0\n    };\n  }\n  getTicks() {\n    return this.ticks;\n  }\n  getLabels() {\n    const data = this.chart.data;\n    return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\n  }\n  beforeLayout() {\n    this._cache = {};\n    this._dataLimitsCached = false;\n  }\n  beforeUpdate() {\n    callback(this.options.beforeUpdate, [this]);\n  }\n  update(maxWidth, maxHeight, margins) {\n    const {beginAtZero, grace, ticks: tickOpts} = this.options;\n    const sampleSize = tickOpts.sampleSize;\n    this.beforeUpdate();\n    this.maxWidth = maxWidth;\n    this.maxHeight = maxHeight;\n    this._margins = margins = Object.assign({\n      left: 0,\n      right: 0,\n      top: 0,\n      bottom: 0\n    }, margins);\n    this.ticks = null;\n    this._labelSizes = null;\n    this._gridLineItems = null;\n    this._labelItems = null;\n    this.beforeSetDimensions();\n    this.setDimensions();\n    this.afterSetDimensions();\n    this._maxLength = this.isHorizontal()\n      ? this.width + margins.left + margins.right\n      : this.height + margins.top + margins.bottom;\n    if (!this._dataLimitsCached) {\n      this.beforeDataLimits();\n      this.determineDataLimits();\n      this.afterDataLimits();\n      this._range = _addGrace(this, grace, beginAtZero);\n      this._dataLimitsCached = true;\n    }\n    this.beforeBuildTicks();\n    this.ticks = this.buildTicks() || [];\n    this.afterBuildTicks();\n    const samplingEnabled = sampleSize < this.ticks.length;\n    this._convertTicksToLabels(samplingEnabled ? sample(this.ticks, sampleSize) : this.ticks);\n    this.configure();\n    this.beforeCalculateLabelRotation();\n    this.calculateLabelRotation();\n    this.afterCalculateLabelRotation();\n    if (tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto')) {\n      this.ticks = autoSkip(this, this.ticks);\n      this._labelSizes = null;\n      this.afterAutoSkip();\n    }\n    if (samplingEnabled) {\n      this._convertTicksToLabels(this.ticks);\n    }\n    this.beforeFit();\n    this.fit();\n    this.afterFit();\n    this.afterUpdate();\n  }\n  configure() {\n    let reversePixels = this.options.reverse;\n    let startPixel, endPixel;\n    if (this.isHorizontal()) {\n      startPixel = this.left;\n      endPixel = this.right;\n    } else {\n      startPixel = this.top;\n      endPixel = this.bottom;\n      reversePixels = !reversePixels;\n    }\n    this._startPixel = startPixel;\n    this._endPixel = endPixel;\n    this._reversePixels = reversePixels;\n    this._length = endPixel - startPixel;\n    this._alignToPixels = this.options.alignToPixels;\n  }\n  afterUpdate() {\n    callback(this.options.afterUpdate, [this]);\n  }\n  beforeSetDimensions() {\n    callback(this.options.beforeSetDimensions, [this]);\n  }\n  setDimensions() {\n    if (this.isHorizontal()) {\n      this.width = this.maxWidth;\n      this.left = 0;\n      this.right = this.width;\n    } else {\n      this.height = this.maxHeight;\n      this.top = 0;\n      this.bottom = this.height;\n    }\n    this.paddingLeft = 0;\n    this.paddingTop = 0;\n    this.paddingRight = 0;\n    this.paddingBottom = 0;\n  }\n  afterSetDimensions() {\n    callback(this.options.afterSetDimensions, [this]);\n  }\n  _callHooks(name) {\n    this.chart.notifyPlugins(name, this.getContext());\n    callback(this.options[name], [this]);\n  }\n  beforeDataLimits() {\n    this._callHooks('beforeDataLimits');\n  }\n  determineDataLimits() {}\n  afterDataLimits() {\n    this._callHooks('afterDataLimits');\n  }\n  beforeBuildTicks() {\n    this._callHooks('beforeBuildTicks');\n  }\n  buildTicks() {\n    return [];\n  }\n  afterBuildTicks() {\n    this._callHooks('afterBuildTicks');\n  }\n  beforeTickToLabelConversion() {\n    callback(this.options.beforeTickToLabelConversion, [this]);\n  }\n  generateTickLabels(ticks) {\n    const tickOpts = this.options.ticks;\n    let i, ilen, tick;\n    for (i = 0, ilen = ticks.length; i < ilen; i++) {\n      tick = ticks[i];\n      tick.label = callback(tickOpts.callback, [tick.value, i, ticks], this);\n    }\n  }\n  afterTickToLabelConversion() {\n    callback(this.options.afterTickToLabelConversion, [this]);\n  }\n  beforeCalculateLabelRotation() {\n    callback(this.options.beforeCalculateLabelRotation, [this]);\n  }\n  calculateLabelRotation() {\n    const options = this.options;\n    const tickOpts = options.ticks;\n    const numTicks = this.ticks.length;\n    const minRotation = tickOpts.minRotation || 0;\n    const maxRotation = tickOpts.maxRotation;\n    let labelRotation = minRotation;\n    let tickWidth, maxHeight, maxLabelDiagonal;\n    if (!this._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !this.isHorizontal()) {\n      this.labelRotation = minRotation;\n      return;\n    }\n    const labelSizes = this._getLabelSizes();\n    const maxLabelWidth = labelSizes.widest.width;\n    const maxLabelHeight = labelSizes.highest.height;\n    const maxWidth = _limitValue(this.chart.width - maxLabelWidth, 0, this.maxWidth);\n    tickWidth = options.offset ? this.maxWidth / numTicks : maxWidth / (numTicks - 1);\n    if (maxLabelWidth + 6 > tickWidth) {\n      tickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\n      maxHeight = this.maxHeight - getTickMarkLength(options.grid)\n\t\t\t\t- tickOpts.padding - getTitleHeight(options.title, this.chart.options.font);\n      maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\n      labelRotation = toDegrees(Math.min(\n        Math.asin(_limitValue((labelSizes.highest.height + 6) / tickWidth, -1, 1)),\n        Math.asin(_limitValue(maxHeight / maxLabelDiagonal, -1, 1)) - Math.asin(_limitValue(maxLabelHeight / maxLabelDiagonal, -1, 1))\n      ));\n      labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\n    }\n    this.labelRotation = labelRotation;\n  }\n  afterCalculateLabelRotation() {\n    callback(this.options.afterCalculateLabelRotation, [this]);\n  }\n  afterAutoSkip() {}\n  beforeFit() {\n    callback(this.options.beforeFit, [this]);\n  }\n  fit() {\n    const minSize = {\n      width: 0,\n      height: 0\n    };\n    const {chart, options: {ticks: tickOpts, title: titleOpts, grid: gridOpts}} = this;\n    const display = this._isVisible();\n    const isHorizontal = this.isHorizontal();\n    if (display) {\n      const titleHeight = getTitleHeight(titleOpts, chart.options.font);\n      if (isHorizontal) {\n        minSize.width = this.maxWidth;\n        minSize.height = getTickMarkLength(gridOpts) + titleHeight;\n      } else {\n        minSize.height = this.maxHeight;\n        minSize.width = getTickMarkLength(gridOpts) + titleHeight;\n      }\n      if (tickOpts.display && this.ticks.length) {\n        const {first, last, widest, highest} = this._getLabelSizes();\n        const tickPadding = tickOpts.padding * 2;\n        const angleRadians = toRadians(this.labelRotation);\n        const cos = Math.cos(angleRadians);\n        const sin = Math.sin(angleRadians);\n        if (isHorizontal) {\n          const labelHeight = tickOpts.mirror ? 0 : sin * widest.width + cos * highest.height;\n          minSize.height = Math.min(this.maxHeight, minSize.height + labelHeight + tickPadding);\n        } else {\n          const labelWidth = tickOpts.mirror ? 0 : cos * widest.width + sin * highest.height;\n          minSize.width = Math.min(this.maxWidth, minSize.width + labelWidth + tickPadding);\n        }\n        this._calculatePadding(first, last, sin, cos);\n      }\n    }\n    this._handleMargins();\n    if (isHorizontal) {\n      this.width = this._length = chart.width - this._margins.left - this._margins.right;\n      this.height = minSize.height;\n    } else {\n      this.width = minSize.width;\n      this.height = this._length = chart.height - this._margins.top - this._margins.bottom;\n    }\n  }\n  _calculatePadding(first, last, sin, cos) {\n    const {ticks: {align, padding}, position} = this.options;\n    const isRotated = this.labelRotation !== 0;\n    const labelsBelowTicks = position !== 'top' && this.axis === 'x';\n    if (this.isHorizontal()) {\n      const offsetLeft = this.getPixelForTick(0) - this.left;\n      const offsetRight = this.right - this.getPixelForTick(this.ticks.length - 1);\n      let paddingLeft = 0;\n      let paddingRight = 0;\n      if (isRotated) {\n        if (labelsBelowTicks) {\n          paddingLeft = cos * first.width;\n          paddingRight = sin * last.height;\n        } else {\n          paddingLeft = sin * first.height;\n          paddingRight = cos * last.width;\n        }\n      } else if (align === 'start') {\n        paddingRight = last.width;\n      } else if (align === 'end') {\n        paddingLeft = first.width;\n      } else if (align !== 'inner') {\n        paddingLeft = first.width / 2;\n        paddingRight = last.width / 2;\n      }\n      this.paddingLeft = Math.max((paddingLeft - offsetLeft + padding) * this.width / (this.width - offsetLeft), 0);\n      this.paddingRight = Math.max((paddingRight - offsetRight + padding) * this.width / (this.width - offsetRight), 0);\n    } else {\n      let paddingTop = last.height / 2;\n      let paddingBottom = first.height / 2;\n      if (align === 'start') {\n        paddingTop = 0;\n        paddingBottom = first.height;\n      } else if (align === 'end') {\n        paddingTop = last.height;\n        paddingBottom = 0;\n      }\n      this.paddingTop = paddingTop + padding;\n      this.paddingBottom = paddingBottom + padding;\n    }\n  }\n  _handleMargins() {\n    if (this._margins) {\n      this._margins.left = Math.max(this.paddingLeft, this._margins.left);\n      this._margins.top = Math.max(this.paddingTop, this._margins.top);\n      this._margins.right = Math.max(this.paddingRight, this._margins.right);\n      this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom);\n    }\n  }\n  afterFit() {\n    callback(this.options.afterFit, [this]);\n  }\n  isHorizontal() {\n    const {axis, position} = this.options;\n    return position === 'top' || position === 'bottom' || axis === 'x';\n  }\n  isFullSize() {\n    return this.options.fullSize;\n  }\n  _convertTicksToLabels(ticks) {\n    this.beforeTickToLabelConversion();\n    this.generateTickLabels(ticks);\n    let i, ilen;\n    for (i = 0, ilen = ticks.length; i < ilen; i++) {\n      if (isNullOrUndef(ticks[i].label)) {\n        ticks.splice(i, 1);\n        ilen--;\n        i--;\n      }\n    }\n    this.afterTickToLabelConversion();\n  }\n  _getLabelSizes() {\n    let labelSizes = this._labelSizes;\n    if (!labelSizes) {\n      const sampleSize = this.options.ticks.sampleSize;\n      let ticks = this.ticks;\n      if (sampleSize < ticks.length) {\n        ticks = sample(ticks, sampleSize);\n      }\n      this._labelSizes = labelSizes = this._computeLabelSizes(ticks, ticks.length);\n    }\n    return labelSizes;\n  }\n  _computeLabelSizes(ticks, length) {\n    const {ctx, _longestTextCache: caches} = this;\n    const widths = [];\n    const heights = [];\n    let widestLabelSize = 0;\n    let highestLabelSize = 0;\n    let i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel;\n    for (i = 0; i < length; ++i) {\n      label = ticks[i].label;\n      tickFont = this._resolveTickFontOptions(i);\n      ctx.font = fontString = tickFont.string;\n      cache = caches[fontString] = caches[fontString] || {data: {}, gc: []};\n      lineHeight = tickFont.lineHeight;\n      width = height = 0;\n      if (!isNullOrUndef(label) && !isArray(label)) {\n        width = _measureText(ctx, cache.data, cache.gc, width, label);\n        height = lineHeight;\n      } else if (isArray(label)) {\n        for (j = 0, jlen = label.length; j < jlen; ++j) {\n          nestedLabel = label[j];\n          if (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\n            width = _measureText(ctx, cache.data, cache.gc, width, nestedLabel);\n            height += lineHeight;\n          }\n        }\n      }\n      widths.push(width);\n      heights.push(height);\n      widestLabelSize = Math.max(width, widestLabelSize);\n      highestLabelSize = Math.max(height, highestLabelSize);\n    }\n    garbageCollect(caches, length);\n    const widest = widths.indexOf(widestLabelSize);\n    const highest = heights.indexOf(highestLabelSize);\n    const valueAt = (idx) => ({width: widths[idx] || 0, height: heights[idx] || 0});\n    return {\n      first: valueAt(0),\n      last: valueAt(length - 1),\n      widest: valueAt(widest),\n      highest: valueAt(highest),\n      widths,\n      heights,\n    };\n  }\n  getLabelForValue(value) {\n    return value;\n  }\n  getPixelForValue(value, index) {\n    return NaN;\n  }\n  getValueForPixel(pixel) {}\n  getPixelForTick(index) {\n    const ticks = this.ticks;\n    if (index < 0 || index > ticks.length - 1) {\n      return null;\n    }\n    return this.getPixelForValue(ticks[index].value);\n  }\n  getPixelForDecimal(decimal) {\n    if (this._reversePixels) {\n      decimal = 1 - decimal;\n    }\n    const pixel = this._startPixel + decimal * this._length;\n    return _int16Range(this._alignToPixels ? _alignPixel(this.chart, pixel, 0) : pixel);\n  }\n  getDecimalForPixel(pixel) {\n    const decimal = (pixel - this._startPixel) / this._length;\n    return this._reversePixels ? 1 - decimal : decimal;\n  }\n  getBasePixel() {\n    return this.getPixelForValue(this.getBaseValue());\n  }\n  getBaseValue() {\n    const {min, max} = this;\n    return min < 0 && max < 0 ? max :\n      min > 0 && max > 0 ? min :\n      0;\n  }\n  getContext(index) {\n    const ticks = this.ticks || [];\n    if (index >= 0 && index < ticks.length) {\n      const tick = ticks[index];\n      return tick.$context ||\n\t\t\t\t(tick.$context = createTickContext(this.getContext(), index, tick));\n    }\n    return this.$context ||\n\t\t\t(this.$context = createScaleContext(this.chart.getContext(), this));\n  }\n  _tickSize() {\n    const optionTicks = this.options.ticks;\n    const rot = toRadians(this.labelRotation);\n    const cos = Math.abs(Math.cos(rot));\n    const sin = Math.abs(Math.sin(rot));\n    const labelSizes = this._getLabelSizes();\n    const padding = optionTicks.autoSkipPadding || 0;\n    const w = labelSizes ? labelSizes.widest.width + padding : 0;\n    const h = labelSizes ? labelSizes.highest.height + padding : 0;\n    return this.isHorizontal()\n      ? h * cos > w * sin ? w / cos : h / sin\n      : h * sin < w * cos ? h / cos : w / sin;\n  }\n  _isVisible() {\n    const display = this.options.display;\n    if (display !== 'auto') {\n      return !!display;\n    }\n    return this.getMatchingVisibleMetas().length > 0;\n  }\n  _computeGridLineItems(chartArea) {\n    const axis = this.axis;\n    const chart = this.chart;\n    const options = this.options;\n    const {grid, position} = options;\n    const offset = grid.offset;\n    const isHorizontal = this.isHorizontal();\n    const ticks = this.ticks;\n    const ticksLength = ticks.length + (offset ? 1 : 0);\n    const tl = getTickMarkLength(grid);\n    const items = [];\n    const borderOpts = grid.setContext(this.getContext());\n    const axisWidth = borderOpts.drawBorder ? borderOpts.borderWidth : 0;\n    const axisHalfWidth = axisWidth / 2;\n    const alignBorderValue = function(pixel) {\n      return _alignPixel(chart, pixel, axisWidth);\n    };\n    let borderValue, i, lineValue, alignedLineValue;\n    let tx1, ty1, tx2, ty2, x1, y1, x2, y2;\n    if (position === 'top') {\n      borderValue = alignBorderValue(this.bottom);\n      ty1 = this.bottom - tl;\n      ty2 = borderValue - axisHalfWidth;\n      y1 = alignBorderValue(chartArea.top) + axisHalfWidth;\n      y2 = chartArea.bottom;\n    } else if (position === 'bottom') {\n      borderValue = alignBorderValue(this.top);\n      y1 = chartArea.top;\n      y2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\n      ty1 = borderValue + axisHalfWidth;\n      ty2 = this.top + tl;\n    } else if (position === 'left') {\n      borderValue = alignBorderValue(this.right);\n      tx1 = this.right - tl;\n      tx2 = borderValue - axisHalfWidth;\n      x1 = alignBorderValue(chartArea.left) + axisHalfWidth;\n      x2 = chartArea.right;\n    } else if (position === 'right') {\n      borderValue = alignBorderValue(this.left);\n      x1 = chartArea.left;\n      x2 = alignBorderValue(chartArea.right) - axisHalfWidth;\n      tx1 = borderValue + axisHalfWidth;\n      tx2 = this.left + tl;\n    } else if (axis === 'x') {\n      if (position === 'center') {\n        borderValue = alignBorderValue((chartArea.top + chartArea.bottom) / 2 + 0.5);\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value));\n      }\n      y1 = chartArea.top;\n      y2 = chartArea.bottom;\n      ty1 = borderValue + axisHalfWidth;\n      ty2 = ty1 + tl;\n    } else if (axis === 'y') {\n      if (position === 'center') {\n        borderValue = alignBorderValue((chartArea.left + chartArea.right) / 2);\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value));\n      }\n      tx1 = borderValue - axisHalfWidth;\n      tx2 = tx1 - tl;\n      x1 = chartArea.left;\n      x2 = chartArea.right;\n    }\n    const limit = valueOrDefault(options.ticks.maxTicksLimit, ticksLength);\n    const step = Math.max(1, Math.ceil(ticksLength / limit));\n    for (i = 0; i < ticksLength; i += step) {\n      const optsAtIndex = grid.setContext(this.getContext(i));\n      const lineWidth = optsAtIndex.lineWidth;\n      const lineColor = optsAtIndex.color;\n      const borderDash = optsAtIndex.borderDash || [];\n      const borderDashOffset = optsAtIndex.borderDashOffset;\n      const tickWidth = optsAtIndex.tickWidth;\n      const tickColor = optsAtIndex.tickColor;\n      const tickBorderDash = optsAtIndex.tickBorderDash || [];\n      const tickBorderDashOffset = optsAtIndex.tickBorderDashOffset;\n      lineValue = getPixelForGridLine(this, i, offset);\n      if (lineValue === undefined) {\n        continue;\n      }\n      alignedLineValue = _alignPixel(chart, lineValue, lineWidth);\n      if (isHorizontal) {\n        tx1 = tx2 = x1 = x2 = alignedLineValue;\n      } else {\n        ty1 = ty2 = y1 = y2 = alignedLineValue;\n      }\n      items.push({\n        tx1,\n        ty1,\n        tx2,\n        ty2,\n        x1,\n        y1,\n        x2,\n        y2,\n        width: lineWidth,\n        color: lineColor,\n        borderDash,\n        borderDashOffset,\n        tickWidth,\n        tickColor,\n        tickBorderDash,\n        tickBorderDashOffset,\n      });\n    }\n    this._ticksLength = ticksLength;\n    this._borderValue = borderValue;\n    return items;\n  }\n  _computeLabelItems(chartArea) {\n    const axis = this.axis;\n    const options = this.options;\n    const {position, ticks: optionTicks} = options;\n    const isHorizontal = this.isHorizontal();\n    const ticks = this.ticks;\n    const {align, crossAlign, padding, mirror} = optionTicks;\n    const tl = getTickMarkLength(options.grid);\n    const tickAndPadding = tl + padding;\n    const hTickAndPadding = mirror ? -padding : tickAndPadding;\n    const rotation = -toRadians(this.labelRotation);\n    const items = [];\n    let i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\n    let textBaseline = 'middle';\n    if (position === 'top') {\n      y = this.bottom - hTickAndPadding;\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (position === 'bottom') {\n      y = this.top + hTickAndPadding;\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (position === 'left') {\n      const ret = this._getYAxisLabelAlignment(tl);\n      textAlign = ret.textAlign;\n      x = ret.x;\n    } else if (position === 'right') {\n      const ret = this._getYAxisLabelAlignment(tl);\n      textAlign = ret.textAlign;\n      x = ret.x;\n    } else if (axis === 'x') {\n      if (position === 'center') {\n        y = ((chartArea.top + chartArea.bottom) / 2) + tickAndPadding;\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        y = this.chart.scales[positionAxisID].getPixelForValue(value) + tickAndPadding;\n      }\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (axis === 'y') {\n      if (position === 'center') {\n        x = ((chartArea.left + chartArea.right) / 2) - tickAndPadding;\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        x = this.chart.scales[positionAxisID].getPixelForValue(value);\n      }\n      textAlign = this._getYAxisLabelAlignment(tl).textAlign;\n    }\n    if (axis === 'y') {\n      if (align === 'start') {\n        textBaseline = 'top';\n      } else if (align === 'end') {\n        textBaseline = 'bottom';\n      }\n    }\n    const labelSizes = this._getLabelSizes();\n    for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n      tick = ticks[i];\n      label = tick.label;\n      const optsAtIndex = optionTicks.setContext(this.getContext(i));\n      pixel = this.getPixelForTick(i) + optionTicks.labelOffset;\n      font = this._resolveTickFontOptions(i);\n      lineHeight = font.lineHeight;\n      lineCount = isArray(label) ? label.length : 1;\n      const halfCount = lineCount / 2;\n      const color = optsAtIndex.color;\n      const strokeColor = optsAtIndex.textStrokeColor;\n      const strokeWidth = optsAtIndex.textStrokeWidth;\n      let tickTextAlign = textAlign;\n      if (isHorizontal) {\n        x = pixel;\n        if (textAlign === 'inner') {\n          if (i === ilen - 1) {\n            tickTextAlign = !this.options.reverse ? 'right' : 'left';\n          } else if (i === 0) {\n            tickTextAlign = !this.options.reverse ? 'left' : 'right';\n          } else {\n            tickTextAlign = 'center';\n          }\n        }\n        if (position === 'top') {\n          if (crossAlign === 'near' || rotation !== 0) {\n            textOffset = -lineCount * lineHeight + lineHeight / 2;\n          } else if (crossAlign === 'center') {\n            textOffset = -labelSizes.highest.height / 2 - halfCount * lineHeight + lineHeight;\n          } else {\n            textOffset = -labelSizes.highest.height + lineHeight / 2;\n          }\n        } else {\n          if (crossAlign === 'near' || rotation !== 0) {\n            textOffset = lineHeight / 2;\n          } else if (crossAlign === 'center') {\n            textOffset = labelSizes.highest.height / 2 - halfCount * lineHeight;\n          } else {\n            textOffset = labelSizes.highest.height - lineCount * lineHeight;\n          }\n        }\n        if (mirror) {\n          textOffset *= -1;\n        }\n      } else {\n        y = pixel;\n        textOffset = (1 - lineCount) * lineHeight / 2;\n      }\n      let backdrop;\n      if (optsAtIndex.showLabelBackdrop) {\n        const labelPadding = toPadding(optsAtIndex.backdropPadding);\n        const height = labelSizes.heights[i];\n        const width = labelSizes.widths[i];\n        let top = y + textOffset - labelPadding.top;\n        let left = x - labelPadding.left;\n        switch (textBaseline) {\n        case 'middle':\n          top -= height / 2;\n          break;\n        case 'bottom':\n          top -= height;\n          break;\n        }\n        switch (textAlign) {\n        case 'center':\n          left -= width / 2;\n          break;\n        case 'right':\n          left -= width;\n          break;\n        }\n        backdrop = {\n          left,\n          top,\n          width: width + labelPadding.width,\n          height: height + labelPadding.height,\n          color: optsAtIndex.backdropColor,\n        };\n      }\n      items.push({\n        rotation,\n        label,\n        font,\n        color,\n        strokeColor,\n        strokeWidth,\n        textOffset,\n        textAlign: tickTextAlign,\n        textBaseline,\n        translation: [x, y],\n        backdrop,\n      });\n    }\n    return items;\n  }\n  _getXAxisLabelAlignment() {\n    const {position, ticks} = this.options;\n    const rotation = -toRadians(this.labelRotation);\n    if (rotation) {\n      return position === 'top' ? 'left' : 'right';\n    }\n    let align = 'center';\n    if (ticks.align === 'start') {\n      align = 'left';\n    } else if (ticks.align === 'end') {\n      align = 'right';\n    } else if (ticks.align === 'inner') {\n      align = 'inner';\n    }\n    return align;\n  }\n  _getYAxisLabelAlignment(tl) {\n    const {position, ticks: {crossAlign, mirror, padding}} = this.options;\n    const labelSizes = this._getLabelSizes();\n    const tickAndPadding = tl + padding;\n    const widest = labelSizes.widest.width;\n    let textAlign;\n    let x;\n    if (position === 'left') {\n      if (mirror) {\n        x = this.right + padding;\n        if (crossAlign === 'near') {\n          textAlign = 'left';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x += (widest / 2);\n        } else {\n          textAlign = 'right';\n          x += widest;\n        }\n      } else {\n        x = this.right - tickAndPadding;\n        if (crossAlign === 'near') {\n          textAlign = 'right';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x -= (widest / 2);\n        } else {\n          textAlign = 'left';\n          x = this.left;\n        }\n      }\n    } else if (position === 'right') {\n      if (mirror) {\n        x = this.left + padding;\n        if (crossAlign === 'near') {\n          textAlign = 'right';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x -= (widest / 2);\n        } else {\n          textAlign = 'left';\n          x -= widest;\n        }\n      } else {\n        x = this.left + tickAndPadding;\n        if (crossAlign === 'near') {\n          textAlign = 'left';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x += widest / 2;\n        } else {\n          textAlign = 'right';\n          x = this.right;\n        }\n      }\n    } else {\n      textAlign = 'right';\n    }\n    return {textAlign, x};\n  }\n  _computeLabelArea() {\n    if (this.options.ticks.mirror) {\n      return;\n    }\n    const chart = this.chart;\n    const position = this.options.position;\n    if (position === 'left' || position === 'right') {\n      return {top: 0, left: this.left, bottom: chart.height, right: this.right};\n    } if (position === 'top' || position === 'bottom') {\n      return {top: this.top, left: 0, bottom: this.bottom, right: chart.width};\n    }\n  }\n  drawBackground() {\n    const {ctx, options: {backgroundColor}, left, top, width, height} = this;\n    if (backgroundColor) {\n      ctx.save();\n      ctx.fillStyle = backgroundColor;\n      ctx.fillRect(left, top, width, height);\n      ctx.restore();\n    }\n  }\n  getLineWidthForValue(value) {\n    const grid = this.options.grid;\n    if (!this._isVisible() || !grid.display) {\n      return 0;\n    }\n    const ticks = this.ticks;\n    const index = ticks.findIndex(t => t.value === value);\n    if (index >= 0) {\n      const opts = grid.setContext(this.getContext(index));\n      return opts.lineWidth;\n    }\n    return 0;\n  }\n  drawGrid(chartArea) {\n    const grid = this.options.grid;\n    const ctx = this.ctx;\n    const items = this._gridLineItems || (this._gridLineItems = this._computeGridLineItems(chartArea));\n    let i, ilen;\n    const drawLine = (p1, p2, style) => {\n      if (!style.width || !style.color) {\n        return;\n      }\n      ctx.save();\n      ctx.lineWidth = style.width;\n      ctx.strokeStyle = style.color;\n      ctx.setLineDash(style.borderDash || []);\n      ctx.lineDashOffset = style.borderDashOffset;\n      ctx.beginPath();\n      ctx.moveTo(p1.x, p1.y);\n      ctx.lineTo(p2.x, p2.y);\n      ctx.stroke();\n      ctx.restore();\n    };\n    if (grid.display) {\n      for (i = 0, ilen = items.length; i < ilen; ++i) {\n        const item = items[i];\n        if (grid.drawOnChartArea) {\n          drawLine(\n            {x: item.x1, y: item.y1},\n            {x: item.x2, y: item.y2},\n            item\n          );\n        }\n        if (grid.drawTicks) {\n          drawLine(\n            {x: item.tx1, y: item.ty1},\n            {x: item.tx2, y: item.ty2},\n            {\n              color: item.tickColor,\n              width: item.tickWidth,\n              borderDash: item.tickBorderDash,\n              borderDashOffset: item.tickBorderDashOffset\n            }\n          );\n        }\n      }\n    }\n  }\n  drawBorder() {\n    const {chart, ctx, options: {grid}} = this;\n    const borderOpts = grid.setContext(this.getContext());\n    const axisWidth = grid.drawBorder ? borderOpts.borderWidth : 0;\n    if (!axisWidth) {\n      return;\n    }\n    const lastLineWidth = grid.setContext(this.getContext(0)).lineWidth;\n    const borderValue = this._borderValue;\n    let x1, x2, y1, y2;\n    if (this.isHorizontal()) {\n      x1 = _alignPixel(chart, this.left, axisWidth) - axisWidth / 2;\n      x2 = _alignPixel(chart, this.right, lastLineWidth) + lastLineWidth / 2;\n      y1 = y2 = borderValue;\n    } else {\n      y1 = _alignPixel(chart, this.top, axisWidth) - axisWidth / 2;\n      y2 = _alignPixel(chart, this.bottom, lastLineWidth) + lastLineWidth / 2;\n      x1 = x2 = borderValue;\n    }\n    ctx.save();\n    ctx.lineWidth = borderOpts.borderWidth;\n    ctx.strokeStyle = borderOpts.borderColor;\n    ctx.beginPath();\n    ctx.moveTo(x1, y1);\n    ctx.lineTo(x2, y2);\n    ctx.stroke();\n    ctx.restore();\n  }\n  drawLabels(chartArea) {\n    const optionTicks = this.options.ticks;\n    if (!optionTicks.display) {\n      return;\n    }\n    const ctx = this.ctx;\n    const area = this._computeLabelArea();\n    if (area) {\n      clipArea(ctx, area);\n    }\n    const items = this._labelItems || (this._labelItems = this._computeLabelItems(chartArea));\n    let i, ilen;\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      const item = items[i];\n      const tickFont = item.font;\n      const label = item.label;\n      if (item.backdrop) {\n        ctx.fillStyle = item.backdrop.color;\n        ctx.fillRect(item.backdrop.left, item.backdrop.top, item.backdrop.width, item.backdrop.height);\n      }\n      let y = item.textOffset;\n      renderText(ctx, label, 0, y, tickFont, item);\n    }\n    if (area) {\n      unclipArea(ctx);\n    }\n  }\n  drawTitle() {\n    const {ctx, options: {position, title, reverse}} = this;\n    if (!title.display) {\n      return;\n    }\n    const font = toFont(title.font);\n    const padding = toPadding(title.padding);\n    const align = title.align;\n    let offset = font.lineHeight / 2;\n    if (position === 'bottom' || position === 'center' || isObject(position)) {\n      offset += padding.bottom;\n      if (isArray(title.text)) {\n        offset += font.lineHeight * (title.text.length - 1);\n      }\n    } else {\n      offset += padding.top;\n    }\n    const {titleX, titleY, maxWidth, rotation} = titleArgs(this, offset, position, align);\n    renderText(ctx, title.text, 0, 0, font, {\n      color: title.color,\n      maxWidth,\n      rotation,\n      textAlign: titleAlign(align, position, reverse),\n      textBaseline: 'middle',\n      translation: [titleX, titleY],\n    });\n  }\n  draw(chartArea) {\n    if (!this._isVisible()) {\n      return;\n    }\n    this.drawBackground();\n    this.drawGrid(chartArea);\n    this.drawBorder();\n    this.drawTitle();\n    this.drawLabels(chartArea);\n  }\n  _layers() {\n    const opts = this.options;\n    const tz = opts.ticks && opts.ticks.z || 0;\n    const gz = valueOrDefault(opts.grid && opts.grid.z, -1);\n    if (!this._isVisible() || this.draw !== Scale.prototype.draw) {\n      return [{\n        z: tz,\n        draw: (chartArea) => {\n          this.draw(chartArea);\n        }\n      }];\n    }\n    return [{\n      z: gz,\n      draw: (chartArea) => {\n        this.drawBackground();\n        this.drawGrid(chartArea);\n        this.drawTitle();\n      }\n    }, {\n      z: gz + 1,\n      draw: () => {\n        this.drawBorder();\n      }\n    }, {\n      z: tz,\n      draw: (chartArea) => {\n        this.drawLabels(chartArea);\n      }\n    }];\n  }\n  getMatchingVisibleMetas(type) {\n    const metas = this.chart.getSortedVisibleDatasetMetas();\n    const axisID = this.axis + 'AxisID';\n    const result = [];\n    let i, ilen;\n    for (i = 0, ilen = metas.length; i < ilen; ++i) {\n      const meta = metas[i];\n      if (meta[axisID] === this.id && (!type || meta.type === type)) {\n        result.push(meta);\n      }\n    }\n    return result;\n  }\n  _resolveTickFontOptions(index) {\n    const opts = this.options.ticks.setContext(this.getContext(index));\n    return toFont(opts.font);\n  }\n  _maxDigits() {\n    const fontSize = this._resolveTickFontOptions(0).lineHeight;\n    return (this.isHorizontal() ? this.width : this.height) / fontSize;\n  }\n}\n\nclass TypedRegistry {\n  constructor(type, scope, override) {\n    this.type = type;\n    this.scope = scope;\n    this.override = override;\n    this.items = Object.create(null);\n  }\n  isForType(type) {\n    return Object.prototype.isPrototypeOf.call(this.type.prototype, type.prototype);\n  }\n  register(item) {\n    const proto = Object.getPrototypeOf(item);\n    let parentScope;\n    if (isIChartComponent(proto)) {\n      parentScope = this.register(proto);\n    }\n    const items = this.items;\n    const id = item.id;\n    const scope = this.scope + '.' + id;\n    if (!id) {\n      throw new Error('class does not have id: ' + item);\n    }\n    if (id in items) {\n      return scope;\n    }\n    items[id] = item;\n    registerDefaults(item, scope, parentScope);\n    if (this.override) {\n      defaults.override(item.id, item.overrides);\n    }\n    return scope;\n  }\n  get(id) {\n    return this.items[id];\n  }\n  unregister(item) {\n    const items = this.items;\n    const id = item.id;\n    const scope = this.scope;\n    if (id in items) {\n      delete items[id];\n    }\n    if (scope && id in defaults[scope]) {\n      delete defaults[scope][id];\n      if (this.override) {\n        delete overrides[id];\n      }\n    }\n  }\n}\nfunction registerDefaults(item, scope, parentScope) {\n  const itemDefaults = merge(Object.create(null), [\n    parentScope ? defaults.get(parentScope) : {},\n    defaults.get(scope),\n    item.defaults\n  ]);\n  defaults.set(scope, itemDefaults);\n  if (item.defaultRoutes) {\n    routeDefaults(scope, item.defaultRoutes);\n  }\n  if (item.descriptors) {\n    defaults.describe(scope, item.descriptors);\n  }\n}\nfunction routeDefaults(scope, routes) {\n  Object.keys(routes).forEach(property => {\n    const propertyParts = property.split('.');\n    const sourceName = propertyParts.pop();\n    const sourceScope = [scope].concat(propertyParts).join('.');\n    const parts = routes[property].split('.');\n    const targetName = parts.pop();\n    const targetScope = parts.join('.');\n    defaults.route(sourceScope, sourceName, targetScope, targetName);\n  });\n}\nfunction isIChartComponent(proto) {\n  return 'id' in proto && 'defaults' in proto;\n}\n\nclass Registry {\n  constructor() {\n    this.controllers = new TypedRegistry(DatasetController, 'datasets', true);\n    this.elements = new TypedRegistry(Element, 'elements');\n    this.plugins = new TypedRegistry(Object, 'plugins');\n    this.scales = new TypedRegistry(Scale, 'scales');\n    this._typedRegistries = [this.controllers, this.scales, this.elements];\n  }\n  add(...args) {\n    this._each('register', args);\n  }\n  remove(...args) {\n    this._each('unregister', args);\n  }\n  addControllers(...args) {\n    this._each('register', args, this.controllers);\n  }\n  addElements(...args) {\n    this._each('register', args, this.elements);\n  }\n  addPlugins(...args) {\n    this._each('register', args, this.plugins);\n  }\n  addScales(...args) {\n    this._each('register', args, this.scales);\n  }\n  getController(id) {\n    return this._get(id, this.controllers, 'controller');\n  }\n  getElement(id) {\n    return this._get(id, this.elements, 'element');\n  }\n  getPlugin(id) {\n    return this._get(id, this.plugins, 'plugin');\n  }\n  getScale(id) {\n    return this._get(id, this.scales, 'scale');\n  }\n  removeControllers(...args) {\n    this._each('unregister', args, this.controllers);\n  }\n  removeElements(...args) {\n    this._each('unregister', args, this.elements);\n  }\n  removePlugins(...args) {\n    this._each('unregister', args, this.plugins);\n  }\n  removeScales(...args) {\n    this._each('unregister', args, this.scales);\n  }\n  _each(method, args, typedRegistry) {\n    [...args].forEach(arg => {\n      const reg = typedRegistry || this._getRegistryForType(arg);\n      if (typedRegistry || reg.isForType(arg) || (reg === this.plugins && arg.id)) {\n        this._exec(method, reg, arg);\n      } else {\n        each(arg, item => {\n          const itemReg = typedRegistry || this._getRegistryForType(item);\n          this._exec(method, itemReg, item);\n        });\n      }\n    });\n  }\n  _exec(method, registry, component) {\n    const camelMethod = _capitalize(method);\n    callback(component['before' + camelMethod], [], component);\n    registry[method](component);\n    callback(component['after' + camelMethod], [], component);\n  }\n  _getRegistryForType(type) {\n    for (let i = 0; i < this._typedRegistries.length; i++) {\n      const reg = this._typedRegistries[i];\n      if (reg.isForType(type)) {\n        return reg;\n      }\n    }\n    return this.plugins;\n  }\n  _get(id, typedRegistry, type) {\n    const item = typedRegistry.get(id);\n    if (item === undefined) {\n      throw new Error('\"' + id + '\" is not a registered ' + type + '.');\n    }\n    return item;\n  }\n}\nvar registry = new Registry();\n\nclass PluginService {\n  constructor() {\n    this._init = [];\n  }\n  notify(chart, hook, args, filter) {\n    if (hook === 'beforeInit') {\n      this._init = this._createDescriptors(chart, true);\n      this._notify(this._init, chart, 'install');\n    }\n    const descriptors = filter ? this._descriptors(chart).filter(filter) : this._descriptors(chart);\n    const result = this._notify(descriptors, chart, hook, args);\n    if (hook === 'afterDestroy') {\n      this._notify(descriptors, chart, 'stop');\n      this._notify(this._init, chart, 'uninstall');\n    }\n    return result;\n  }\n  _notify(descriptors, chart, hook, args) {\n    args = args || {};\n    for (const descriptor of descriptors) {\n      const plugin = descriptor.plugin;\n      const method = plugin[hook];\n      const params = [chart, args, descriptor.options];\n      if (callback(method, params, plugin) === false && args.cancelable) {\n        return false;\n      }\n    }\n    return true;\n  }\n  invalidate() {\n    if (!isNullOrUndef(this._cache)) {\n      this._oldCache = this._cache;\n      this._cache = undefined;\n    }\n  }\n  _descriptors(chart) {\n    if (this._cache) {\n      return this._cache;\n    }\n    const descriptors = this._cache = this._createDescriptors(chart);\n    this._notifyStateChanges(chart);\n    return descriptors;\n  }\n  _createDescriptors(chart, all) {\n    const config = chart && chart.config;\n    const options = valueOrDefault(config.options && config.options.plugins, {});\n    const plugins = allPlugins(config);\n    return options === false && !all ? [] : createDescriptors(chart, plugins, options, all);\n  }\n  _notifyStateChanges(chart) {\n    const previousDescriptors = this._oldCache || [];\n    const descriptors = this._cache;\n    const diff = (a, b) => a.filter(x => !b.some(y => x.plugin.id === y.plugin.id));\n    this._notify(diff(previousDescriptors, descriptors), chart, 'stop');\n    this._notify(diff(descriptors, previousDescriptors), chart, 'start');\n  }\n}\nfunction allPlugins(config) {\n  const localIds = {};\n  const plugins = [];\n  const keys = Object.keys(registry.plugins.items);\n  for (let i = 0; i < keys.length; i++) {\n    plugins.push(registry.getPlugin(keys[i]));\n  }\n  const local = config.plugins || [];\n  for (let i = 0; i < local.length; i++) {\n    const plugin = local[i];\n    if (plugins.indexOf(plugin) === -1) {\n      plugins.push(plugin);\n      localIds[plugin.id] = true;\n    }\n  }\n  return {plugins, localIds};\n}\nfunction getOpts(options, all) {\n  if (!all && options === false) {\n    return null;\n  }\n  if (options === true) {\n    return {};\n  }\n  return options;\n}\nfunction createDescriptors(chart, {plugins, localIds}, options, all) {\n  const result = [];\n  const context = chart.getContext();\n  for (const plugin of plugins) {\n    const id = plugin.id;\n    const opts = getOpts(options[id], all);\n    if (opts === null) {\n      continue;\n    }\n    result.push({\n      plugin,\n      options: pluginOpts(chart.config, {plugin, local: localIds[id]}, opts, context)\n    });\n  }\n  return result;\n}\nfunction pluginOpts(config, {plugin, local}, opts, context) {\n  const keys = config.pluginScopeKeys(plugin);\n  const scopes = config.getOptionScopes(opts, keys);\n  if (local && plugin.defaults) {\n    scopes.push(plugin.defaults);\n  }\n  return config.createResolver(scopes, context, [''], {\n    scriptable: false,\n    indexable: false,\n    allKeys: true\n  });\n}\n\nfunction getIndexAxis(type, options) {\n  const datasetDefaults = defaults.datasets[type] || {};\n  const datasetOptions = (options.datasets || {})[type] || {};\n  return datasetOptions.indexAxis || options.indexAxis || datasetDefaults.indexAxis || 'x';\n}\nfunction getAxisFromDefaultScaleID(id, indexAxis) {\n  let axis = id;\n  if (id === '_index_') {\n    axis = indexAxis;\n  } else if (id === '_value_') {\n    axis = indexAxis === 'x' ? 'y' : 'x';\n  }\n  return axis;\n}\nfunction getDefaultScaleIDFromAxis(axis, indexAxis) {\n  return axis === indexAxis ? '_index_' : '_value_';\n}\nfunction axisFromPosition(position) {\n  if (position === 'top' || position === 'bottom') {\n    return 'x';\n  }\n  if (position === 'left' || position === 'right') {\n    return 'y';\n  }\n}\nfunction determineAxis(id, scaleOptions) {\n  if (id === 'x' || id === 'y') {\n    return id;\n  }\n  return scaleOptions.axis || axisFromPosition(scaleOptions.position) || id.charAt(0).toLowerCase();\n}\nfunction mergeScaleConfig(config, options) {\n  const chartDefaults = overrides[config.type] || {scales: {}};\n  const configScales = options.scales || {};\n  const chartIndexAxis = getIndexAxis(config.type, options);\n  const firstIDs = Object.create(null);\n  const scales = Object.create(null);\n  Object.keys(configScales).forEach(id => {\n    const scaleConf = configScales[id];\n    if (!isObject(scaleConf)) {\n      return console.error(`Invalid scale configuration for scale: ${id}`);\n    }\n    if (scaleConf._proxy) {\n      return console.warn(`Ignoring resolver passed as options for scale: ${id}`);\n    }\n    const axis = determineAxis(id, scaleConf);\n    const defaultId = getDefaultScaleIDFromAxis(axis, chartIndexAxis);\n    const defaultScaleOptions = chartDefaults.scales || {};\n    firstIDs[axis] = firstIDs[axis] || id;\n    scales[id] = mergeIf(Object.create(null), [{axis}, scaleConf, defaultScaleOptions[axis], defaultScaleOptions[defaultId]]);\n  });\n  config.data.datasets.forEach(dataset => {\n    const type = dataset.type || config.type;\n    const indexAxis = dataset.indexAxis || getIndexAxis(type, options);\n    const datasetDefaults = overrides[type] || {};\n    const defaultScaleOptions = datasetDefaults.scales || {};\n    Object.keys(defaultScaleOptions).forEach(defaultID => {\n      const axis = getAxisFromDefaultScaleID(defaultID, indexAxis);\n      const id = dataset[axis + 'AxisID'] || firstIDs[axis] || axis;\n      scales[id] = scales[id] || Object.create(null);\n      mergeIf(scales[id], [{axis}, configScales[id], defaultScaleOptions[defaultID]]);\n    });\n  });\n  Object.keys(scales).forEach(key => {\n    const scale = scales[key];\n    mergeIf(scale, [defaults.scales[scale.type], defaults.scale]);\n  });\n  return scales;\n}\nfunction initOptions(config) {\n  const options = config.options || (config.options = {});\n  options.plugins = valueOrDefault(options.plugins, {});\n  options.scales = mergeScaleConfig(config, options);\n}\nfunction initData(data) {\n  data = data || {};\n  data.datasets = data.datasets || [];\n  data.labels = data.labels || [];\n  return data;\n}\nfunction initConfig(config) {\n  config = config || {};\n  config.data = initData(config.data);\n  initOptions(config);\n  return config;\n}\nconst keyCache = new Map();\nconst keysCached = new Set();\nfunction cachedKeys(cacheKey, generate) {\n  let keys = keyCache.get(cacheKey);\n  if (!keys) {\n    keys = generate();\n    keyCache.set(cacheKey, keys);\n    keysCached.add(keys);\n  }\n  return keys;\n}\nconst addIfFound = (set, obj, key) => {\n  const opts = resolveObjectKey(obj, key);\n  if (opts !== undefined) {\n    set.add(opts);\n  }\n};\nclass Config {\n  constructor(config) {\n    this._config = initConfig(config);\n    this._scopeCache = new Map();\n    this._resolverCache = new Map();\n  }\n  get platform() {\n    return this._config.platform;\n  }\n  get type() {\n    return this._config.type;\n  }\n  set type(type) {\n    this._config.type = type;\n  }\n  get data() {\n    return this._config.data;\n  }\n  set data(data) {\n    this._config.data = initData(data);\n  }\n  get options() {\n    return this._config.options;\n  }\n  set options(options) {\n    this._config.options = options;\n  }\n  get plugins() {\n    return this._config.plugins;\n  }\n  update() {\n    const config = this._config;\n    this.clearCache();\n    initOptions(config);\n  }\n  clearCache() {\n    this._scopeCache.clear();\n    this._resolverCache.clear();\n  }\n  datasetScopeKeys(datasetType) {\n    return cachedKeys(datasetType,\n      () => [[\n        `datasets.${datasetType}`,\n        ''\n      ]]);\n  }\n  datasetAnimationScopeKeys(datasetType, transition) {\n    return cachedKeys(`${datasetType}.transition.${transition}`,\n      () => [\n        [\n          `datasets.${datasetType}.transitions.${transition}`,\n          `transitions.${transition}`,\n        ],\n        [\n          `datasets.${datasetType}`,\n          ''\n        ]\n      ]);\n  }\n  datasetElementScopeKeys(datasetType, elementType) {\n    return cachedKeys(`${datasetType}-${elementType}`,\n      () => [[\n        `datasets.${datasetType}.elements.${elementType}`,\n        `datasets.${datasetType}`,\n        `elements.${elementType}`,\n        ''\n      ]]);\n  }\n  pluginScopeKeys(plugin) {\n    const id = plugin.id;\n    const type = this.type;\n    return cachedKeys(`${type}-plugin-${id}`,\n      () => [[\n        `plugins.${id}`,\n        ...plugin.additionalOptionScopes || [],\n      ]]);\n  }\n  _cachedScopes(mainScope, resetCache) {\n    const _scopeCache = this._scopeCache;\n    let cache = _scopeCache.get(mainScope);\n    if (!cache || resetCache) {\n      cache = new Map();\n      _scopeCache.set(mainScope, cache);\n    }\n    return cache;\n  }\n  getOptionScopes(mainScope, keyLists, resetCache) {\n    const {options, type} = this;\n    const cache = this._cachedScopes(mainScope, resetCache);\n    const cached = cache.get(keyLists);\n    if (cached) {\n      return cached;\n    }\n    const scopes = new Set();\n    keyLists.forEach(keys => {\n      if (mainScope) {\n        scopes.add(mainScope);\n        keys.forEach(key => addIfFound(scopes, mainScope, key));\n      }\n      keys.forEach(key => addIfFound(scopes, options, key));\n      keys.forEach(key => addIfFound(scopes, overrides[type] || {}, key));\n      keys.forEach(key => addIfFound(scopes, defaults, key));\n      keys.forEach(key => addIfFound(scopes, descriptors, key));\n    });\n    const array = Array.from(scopes);\n    if (array.length === 0) {\n      array.push(Object.create(null));\n    }\n    if (keysCached.has(keyLists)) {\n      cache.set(keyLists, array);\n    }\n    return array;\n  }\n  chartOptionScopes() {\n    const {options, type} = this;\n    return [\n      options,\n      overrides[type] || {},\n      defaults.datasets[type] || {},\n      {type},\n      defaults,\n      descriptors\n    ];\n  }\n  resolveNamedOptions(scopes, names, context, prefixes = ['']) {\n    const result = {$shared: true};\n    const {resolver, subPrefixes} = getResolver(this._resolverCache, scopes, prefixes);\n    let options = resolver;\n    if (needContext(resolver, names)) {\n      result.$shared = false;\n      context = isFunction(context) ? context() : context;\n      const subResolver = this.createResolver(scopes, context, subPrefixes);\n      options = _attachContext(resolver, context, subResolver);\n    }\n    for (const prop of names) {\n      result[prop] = options[prop];\n    }\n    return result;\n  }\n  createResolver(scopes, context, prefixes = [''], descriptorDefaults) {\n    const {resolver} = getResolver(this._resolverCache, scopes, prefixes);\n    return isObject(context)\n      ? _attachContext(resolver, context, undefined, descriptorDefaults)\n      : resolver;\n  }\n}\nfunction getResolver(resolverCache, scopes, prefixes) {\n  let cache = resolverCache.get(scopes);\n  if (!cache) {\n    cache = new Map();\n    resolverCache.set(scopes, cache);\n  }\n  const cacheKey = prefixes.join();\n  let cached = cache.get(cacheKey);\n  if (!cached) {\n    const resolver = _createResolver(scopes, prefixes);\n    cached = {\n      resolver,\n      subPrefixes: prefixes.filter(p => !p.toLowerCase().includes('hover'))\n    };\n    cache.set(cacheKey, cached);\n  }\n  return cached;\n}\nconst hasFunction = value => isObject(value)\n  && Object.getOwnPropertyNames(value).reduce((acc, key) => acc || isFunction(value[key]), false);\nfunction needContext(proxy, names) {\n  const {isScriptable, isIndexable} = _descriptors(proxy);\n  for (const prop of names) {\n    const scriptable = isScriptable(prop);\n    const indexable = isIndexable(prop);\n    const value = (indexable || scriptable) && proxy[prop];\n    if ((scriptable && (isFunction(value) || hasFunction(value)))\n      || (indexable && isArray(value))) {\n      return true;\n    }\n  }\n  return false;\n}\n\nvar version = \"3.9.1\";\n\nconst KNOWN_POSITIONS = ['top', 'bottom', 'left', 'right', 'chartArea'];\nfunction positionIsHorizontal(position, axis) {\n  return position === 'top' || position === 'bottom' || (KNOWN_POSITIONS.indexOf(position) === -1 && axis === 'x');\n}\nfunction compare2Level(l1, l2) {\n  return function(a, b) {\n    return a[l1] === b[l1]\n      ? a[l2] - b[l2]\n      : a[l1] - b[l1];\n  };\n}\nfunction onAnimationsComplete(context) {\n  const chart = context.chart;\n  const animationOptions = chart.options.animation;\n  chart.notifyPlugins('afterRender');\n  callback(animationOptions && animationOptions.onComplete, [context], chart);\n}\nfunction onAnimationProgress(context) {\n  const chart = context.chart;\n  const animationOptions = chart.options.animation;\n  callback(animationOptions && animationOptions.onProgress, [context], chart);\n}\nfunction getCanvas(item) {\n  if (_isDomSupported() && typeof item === 'string') {\n    item = document.getElementById(item);\n  } else if (item && item.length) {\n    item = item[0];\n  }\n  if (item && item.canvas) {\n    item = item.canvas;\n  }\n  return item;\n}\nconst instances = {};\nconst getChart = (key) => {\n  const canvas = getCanvas(key);\n  return Object.values(instances).filter((c) => c.canvas === canvas).pop();\n};\nfunction moveNumericKeys(obj, start, move) {\n  const keys = Object.keys(obj);\n  for (const key of keys) {\n    const intKey = +key;\n    if (intKey >= start) {\n      const value = obj[key];\n      delete obj[key];\n      if (move > 0 || intKey > start) {\n        obj[intKey + move] = value;\n      }\n    }\n  }\n}\nfunction determineLastEvent(e, lastEvent, inChartArea, isClick) {\n  if (!inChartArea || e.type === 'mouseout') {\n    return null;\n  }\n  if (isClick) {\n    return lastEvent;\n  }\n  return e;\n}\nclass Chart {\n  constructor(item, userConfig) {\n    const config = this.config = new Config(userConfig);\n    const initialCanvas = getCanvas(item);\n    const existingChart = getChart(initialCanvas);\n    if (existingChart) {\n      throw new Error(\n        'Canvas is already in use. Chart with ID \\'' + existingChart.id + '\\'' +\n\t\t\t\t' must be destroyed before the canvas with ID \\'' + existingChart.canvas.id + '\\' can be reused.'\n      );\n    }\n    const options = config.createResolver(config.chartOptionScopes(), this.getContext());\n    this.platform = new (config.platform || _detectPlatform(initialCanvas))();\n    this.platform.updateConfig(config);\n    const context = this.platform.acquireContext(initialCanvas, options.aspectRatio);\n    const canvas = context && context.canvas;\n    const height = canvas && canvas.height;\n    const width = canvas && canvas.width;\n    this.id = uid();\n    this.ctx = context;\n    this.canvas = canvas;\n    this.width = width;\n    this.height = height;\n    this._options = options;\n    this._aspectRatio = this.aspectRatio;\n    this._layers = [];\n    this._metasets = [];\n    this._stacks = undefined;\n    this.boxes = [];\n    this.currentDevicePixelRatio = undefined;\n    this.chartArea = undefined;\n    this._active = [];\n    this._lastEvent = undefined;\n    this._listeners = {};\n    this._responsiveListeners = undefined;\n    this._sortedMetasets = [];\n    this.scales = {};\n    this._plugins = new PluginService();\n    this.$proxies = {};\n    this._hiddenIndices = {};\n    this.attached = false;\n    this._animationsDisabled = undefined;\n    this.$context = undefined;\n    this._doResize = debounce(mode => this.update(mode), options.resizeDelay || 0);\n    this._dataChanges = [];\n    instances[this.id] = this;\n    if (!context || !canvas) {\n      console.error(\"Failed to create chart: can't acquire context from the given item\");\n      return;\n    }\n    animator.listen(this, 'complete', onAnimationsComplete);\n    animator.listen(this, 'progress', onAnimationProgress);\n    this._initialize();\n    if (this.attached) {\n      this.update();\n    }\n  }\n  get aspectRatio() {\n    const {options: {aspectRatio, maintainAspectRatio}, width, height, _aspectRatio} = this;\n    if (!isNullOrUndef(aspectRatio)) {\n      return aspectRatio;\n    }\n    if (maintainAspectRatio && _aspectRatio) {\n      return _aspectRatio;\n    }\n    return height ? width / height : null;\n  }\n  get data() {\n    return this.config.data;\n  }\n  set data(data) {\n    this.config.data = data;\n  }\n  get options() {\n    return this._options;\n  }\n  set options(options) {\n    this.config.options = options;\n  }\n  _initialize() {\n    this.notifyPlugins('beforeInit');\n    if (this.options.responsive) {\n      this.resize();\n    } else {\n      retinaScale(this, this.options.devicePixelRatio);\n    }\n    this.bindEvents();\n    this.notifyPlugins('afterInit');\n    return this;\n  }\n  clear() {\n    clearCanvas(this.canvas, this.ctx);\n    return this;\n  }\n  stop() {\n    animator.stop(this);\n    return this;\n  }\n  resize(width, height) {\n    if (!animator.running(this)) {\n      this._resize(width, height);\n    } else {\n      this._resizeBeforeDraw = {width, height};\n    }\n  }\n  _resize(width, height) {\n    const options = this.options;\n    const canvas = this.canvas;\n    const aspectRatio = options.maintainAspectRatio && this.aspectRatio;\n    const newSize = this.platform.getMaximumSize(canvas, width, height, aspectRatio);\n    const newRatio = options.devicePixelRatio || this.platform.getDevicePixelRatio();\n    const mode = this.width ? 'resize' : 'attach';\n    this.width = newSize.width;\n    this.height = newSize.height;\n    this._aspectRatio = this.aspectRatio;\n    if (!retinaScale(this, newRatio, true)) {\n      return;\n    }\n    this.notifyPlugins('resize', {size: newSize});\n    callback(options.onResize, [this, newSize], this);\n    if (this.attached) {\n      if (this._doResize(mode)) {\n        this.render();\n      }\n    }\n  }\n  ensureScalesHaveIDs() {\n    const options = this.options;\n    const scalesOptions = options.scales || {};\n    each(scalesOptions, (axisOptions, axisID) => {\n      axisOptions.id = axisID;\n    });\n  }\n  buildOrUpdateScales() {\n    const options = this.options;\n    const scaleOpts = options.scales;\n    const scales = this.scales;\n    const updated = Object.keys(scales).reduce((obj, id) => {\n      obj[id] = false;\n      return obj;\n    }, {});\n    let items = [];\n    if (scaleOpts) {\n      items = items.concat(\n        Object.keys(scaleOpts).map((id) => {\n          const scaleOptions = scaleOpts[id];\n          const axis = determineAxis(id, scaleOptions);\n          const isRadial = axis === 'r';\n          const isHorizontal = axis === 'x';\n          return {\n            options: scaleOptions,\n            dposition: isRadial ? 'chartArea' : isHorizontal ? 'bottom' : 'left',\n            dtype: isRadial ? 'radialLinear' : isHorizontal ? 'category' : 'linear'\n          };\n        })\n      );\n    }\n    each(items, (item) => {\n      const scaleOptions = item.options;\n      const id = scaleOptions.id;\n      const axis = determineAxis(id, scaleOptions);\n      const scaleType = valueOrDefault(scaleOptions.type, item.dtype);\n      if (scaleOptions.position === undefined || positionIsHorizontal(scaleOptions.position, axis) !== positionIsHorizontal(item.dposition)) {\n        scaleOptions.position = item.dposition;\n      }\n      updated[id] = true;\n      let scale = null;\n      if (id in scales && scales[id].type === scaleType) {\n        scale = scales[id];\n      } else {\n        const scaleClass = registry.getScale(scaleType);\n        scale = new scaleClass({\n          id,\n          type: scaleType,\n          ctx: this.ctx,\n          chart: this\n        });\n        scales[scale.id] = scale;\n      }\n      scale.init(scaleOptions, options);\n    });\n    each(updated, (hasUpdated, id) => {\n      if (!hasUpdated) {\n        delete scales[id];\n      }\n    });\n    each(scales, (scale) => {\n      layouts.configure(this, scale, scale.options);\n      layouts.addBox(this, scale);\n    });\n  }\n  _updateMetasets() {\n    const metasets = this._metasets;\n    const numData = this.data.datasets.length;\n    const numMeta = metasets.length;\n    metasets.sort((a, b) => a.index - b.index);\n    if (numMeta > numData) {\n      for (let i = numData; i < numMeta; ++i) {\n        this._destroyDatasetMeta(i);\n      }\n      metasets.splice(numData, numMeta - numData);\n    }\n    this._sortedMetasets = metasets.slice(0).sort(compare2Level('order', 'index'));\n  }\n  _removeUnreferencedMetasets() {\n    const {_metasets: metasets, data: {datasets}} = this;\n    if (metasets.length > datasets.length) {\n      delete this._stacks;\n    }\n    metasets.forEach((meta, index) => {\n      if (datasets.filter(x => x === meta._dataset).length === 0) {\n        this._destroyDatasetMeta(index);\n      }\n    });\n  }\n  buildOrUpdateControllers() {\n    const newControllers = [];\n    const datasets = this.data.datasets;\n    let i, ilen;\n    this._removeUnreferencedMetasets();\n    for (i = 0, ilen = datasets.length; i < ilen; i++) {\n      const dataset = datasets[i];\n      let meta = this.getDatasetMeta(i);\n      const type = dataset.type || this.config.type;\n      if (meta.type && meta.type !== type) {\n        this._destroyDatasetMeta(i);\n        meta = this.getDatasetMeta(i);\n      }\n      meta.type = type;\n      meta.indexAxis = dataset.indexAxis || getIndexAxis(type, this.options);\n      meta.order = dataset.order || 0;\n      meta.index = i;\n      meta.label = '' + dataset.label;\n      meta.visible = this.isDatasetVisible(i);\n      if (meta.controller) {\n        meta.controller.updateIndex(i);\n        meta.controller.linkScales();\n      } else {\n        const ControllerClass = registry.getController(type);\n        const {datasetElementType, dataElementType} = defaults.datasets[type];\n        Object.assign(ControllerClass.prototype, {\n          dataElementType: registry.getElement(dataElementType),\n          datasetElementType: datasetElementType && registry.getElement(datasetElementType)\n        });\n        meta.controller = new ControllerClass(this, i);\n        newControllers.push(meta.controller);\n      }\n    }\n    this._updateMetasets();\n    return newControllers;\n  }\n  _resetElements() {\n    each(this.data.datasets, (dataset, datasetIndex) => {\n      this.getDatasetMeta(datasetIndex).controller.reset();\n    }, this);\n  }\n  reset() {\n    this._resetElements();\n    this.notifyPlugins('reset');\n  }\n  update(mode) {\n    const config = this.config;\n    config.update();\n    const options = this._options = config.createResolver(config.chartOptionScopes(), this.getContext());\n    const animsDisabled = this._animationsDisabled = !options.animation;\n    this._updateScales();\n    this._checkEventBindings();\n    this._updateHiddenIndices();\n    this._plugins.invalidate();\n    if (this.notifyPlugins('beforeUpdate', {mode, cancelable: true}) === false) {\n      return;\n    }\n    const newControllers = this.buildOrUpdateControllers();\n    this.notifyPlugins('beforeElementsUpdate');\n    let minPadding = 0;\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; i++) {\n      const {controller} = this.getDatasetMeta(i);\n      const reset = !animsDisabled && newControllers.indexOf(controller) === -1;\n      controller.buildOrUpdateElements(reset);\n      minPadding = Math.max(+controller.getMaxOverflow(), minPadding);\n    }\n    minPadding = this._minPadding = options.layout.autoPadding ? minPadding : 0;\n    this._updateLayout(minPadding);\n    if (!animsDisabled) {\n      each(newControllers, (controller) => {\n        controller.reset();\n      });\n    }\n    this._updateDatasets(mode);\n    this.notifyPlugins('afterUpdate', {mode});\n    this._layers.sort(compare2Level('z', '_idx'));\n    const {_active, _lastEvent} = this;\n    if (_lastEvent) {\n      this._eventHandler(_lastEvent, true);\n    } else if (_active.length) {\n      this._updateHoverStyles(_active, _active, true);\n    }\n    this.render();\n  }\n  _updateScales() {\n    each(this.scales, (scale) => {\n      layouts.removeBox(this, scale);\n    });\n    this.ensureScalesHaveIDs();\n    this.buildOrUpdateScales();\n  }\n  _checkEventBindings() {\n    const options = this.options;\n    const existingEvents = new Set(Object.keys(this._listeners));\n    const newEvents = new Set(options.events);\n    if (!setsEqual(existingEvents, newEvents) || !!this._responsiveListeners !== options.responsive) {\n      this.unbindEvents();\n      this.bindEvents();\n    }\n  }\n  _updateHiddenIndices() {\n    const {_hiddenIndices} = this;\n    const changes = this._getUniformDataChanges() || [];\n    for (const {method, start, count} of changes) {\n      const move = method === '_removeElements' ? -count : count;\n      moveNumericKeys(_hiddenIndices, start, move);\n    }\n  }\n  _getUniformDataChanges() {\n    const _dataChanges = this._dataChanges;\n    if (!_dataChanges || !_dataChanges.length) {\n      return;\n    }\n    this._dataChanges = [];\n    const datasetCount = this.data.datasets.length;\n    const makeSet = (idx) => new Set(\n      _dataChanges\n        .filter(c => c[0] === idx)\n        .map((c, i) => i + ',' + c.splice(1).join(','))\n    );\n    const changeSet = makeSet(0);\n    for (let i = 1; i < datasetCount; i++) {\n      if (!setsEqual(changeSet, makeSet(i))) {\n        return;\n      }\n    }\n    return Array.from(changeSet)\n      .map(c => c.split(','))\n      .map(a => ({method: a[1], start: +a[2], count: +a[3]}));\n  }\n  _updateLayout(minPadding) {\n    if (this.notifyPlugins('beforeLayout', {cancelable: true}) === false) {\n      return;\n    }\n    layouts.update(this, this.width, this.height, minPadding);\n    const area = this.chartArea;\n    const noArea = area.width <= 0 || area.height <= 0;\n    this._layers = [];\n    each(this.boxes, (box) => {\n      if (noArea && box.position === 'chartArea') {\n        return;\n      }\n      if (box.configure) {\n        box.configure();\n      }\n      this._layers.push(...box._layers());\n    }, this);\n    this._layers.forEach((item, index) => {\n      item._idx = index;\n    });\n    this.notifyPlugins('afterLayout');\n  }\n  _updateDatasets(mode) {\n    if (this.notifyPlugins('beforeDatasetsUpdate', {mode, cancelable: true}) === false) {\n      return;\n    }\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this.getDatasetMeta(i).controller.configure();\n    }\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this._updateDataset(i, isFunction(mode) ? mode({datasetIndex: i}) : mode);\n    }\n    this.notifyPlugins('afterDatasetsUpdate', {mode});\n  }\n  _updateDataset(index, mode) {\n    const meta = this.getDatasetMeta(index);\n    const args = {meta, index, mode, cancelable: true};\n    if (this.notifyPlugins('beforeDatasetUpdate', args) === false) {\n      return;\n    }\n    meta.controller._update(mode);\n    args.cancelable = false;\n    this.notifyPlugins('afterDatasetUpdate', args);\n  }\n  render() {\n    if (this.notifyPlugins('beforeRender', {cancelable: true}) === false) {\n      return;\n    }\n    if (animator.has(this)) {\n      if (this.attached && !animator.running(this)) {\n        animator.start(this);\n      }\n    } else {\n      this.draw();\n      onAnimationsComplete({chart: this});\n    }\n  }\n  draw() {\n    let i;\n    if (this._resizeBeforeDraw) {\n      const {width, height} = this._resizeBeforeDraw;\n      this._resize(width, height);\n      this._resizeBeforeDraw = null;\n    }\n    this.clear();\n    if (this.width <= 0 || this.height <= 0) {\n      return;\n    }\n    if (this.notifyPlugins('beforeDraw', {cancelable: true}) === false) {\n      return;\n    }\n    const layers = this._layers;\n    for (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\n      layers[i].draw(this.chartArea);\n    }\n    this._drawDatasets();\n    for (; i < layers.length; ++i) {\n      layers[i].draw(this.chartArea);\n    }\n    this.notifyPlugins('afterDraw');\n  }\n  _getSortedDatasetMetas(filterVisible) {\n    const metasets = this._sortedMetasets;\n    const result = [];\n    let i, ilen;\n    for (i = 0, ilen = metasets.length; i < ilen; ++i) {\n      const meta = metasets[i];\n      if (!filterVisible || meta.visible) {\n        result.push(meta);\n      }\n    }\n    return result;\n  }\n  getSortedVisibleDatasetMetas() {\n    return this._getSortedDatasetMetas(true);\n  }\n  _drawDatasets() {\n    if (this.notifyPlugins('beforeDatasetsDraw', {cancelable: true}) === false) {\n      return;\n    }\n    const metasets = this.getSortedVisibleDatasetMetas();\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      this._drawDataset(metasets[i]);\n    }\n    this.notifyPlugins('afterDatasetsDraw');\n  }\n  _drawDataset(meta) {\n    const ctx = this.ctx;\n    const clip = meta._clip;\n    const useClip = !clip.disabled;\n    const area = this.chartArea;\n    const args = {\n      meta,\n      index: meta.index,\n      cancelable: true\n    };\n    if (this.notifyPlugins('beforeDatasetDraw', args) === false) {\n      return;\n    }\n    if (useClip) {\n      clipArea(ctx, {\n        left: clip.left === false ? 0 : area.left - clip.left,\n        right: clip.right === false ? this.width : area.right + clip.right,\n        top: clip.top === false ? 0 : area.top - clip.top,\n        bottom: clip.bottom === false ? this.height : area.bottom + clip.bottom\n      });\n    }\n    meta.controller.draw();\n    if (useClip) {\n      unclipArea(ctx);\n    }\n    args.cancelable = false;\n    this.notifyPlugins('afterDatasetDraw', args);\n  }\n  isPointInArea(point) {\n    return _isPointInArea(point, this.chartArea, this._minPadding);\n  }\n  getElementsAtEventForMode(e, mode, options, useFinalPosition) {\n    const method = Interaction.modes[mode];\n    if (typeof method === 'function') {\n      return method(this, e, options, useFinalPosition);\n    }\n    return [];\n  }\n  getDatasetMeta(datasetIndex) {\n    const dataset = this.data.datasets[datasetIndex];\n    const metasets = this._metasets;\n    let meta = metasets.filter(x => x && x._dataset === dataset).pop();\n    if (!meta) {\n      meta = {\n        type: null,\n        data: [],\n        dataset: null,\n        controller: null,\n        hidden: null,\n        xAxisID: null,\n        yAxisID: null,\n        order: dataset && dataset.order || 0,\n        index: datasetIndex,\n        _dataset: dataset,\n        _parsed: [],\n        _sorted: false\n      };\n      metasets.push(meta);\n    }\n    return meta;\n  }\n  getContext() {\n    return this.$context || (this.$context = createContext(null, {chart: this, type: 'chart'}));\n  }\n  getVisibleDatasetCount() {\n    return this.getSortedVisibleDatasetMetas().length;\n  }\n  isDatasetVisible(datasetIndex) {\n    const dataset = this.data.datasets[datasetIndex];\n    if (!dataset) {\n      return false;\n    }\n    const meta = this.getDatasetMeta(datasetIndex);\n    return typeof meta.hidden === 'boolean' ? !meta.hidden : !dataset.hidden;\n  }\n  setDatasetVisibility(datasetIndex, visible) {\n    const meta = this.getDatasetMeta(datasetIndex);\n    meta.hidden = !visible;\n  }\n  toggleDataVisibility(index) {\n    this._hiddenIndices[index] = !this._hiddenIndices[index];\n  }\n  getDataVisibility(index) {\n    return !this._hiddenIndices[index];\n  }\n  _updateVisibility(datasetIndex, dataIndex, visible) {\n    const mode = visible ? 'show' : 'hide';\n    const meta = this.getDatasetMeta(datasetIndex);\n    const anims = meta.controller._resolveAnimations(undefined, mode);\n    if (defined(dataIndex)) {\n      meta.data[dataIndex].hidden = !visible;\n      this.update();\n    } else {\n      this.setDatasetVisibility(datasetIndex, visible);\n      anims.update(meta, {visible});\n      this.update((ctx) => ctx.datasetIndex === datasetIndex ? mode : undefined);\n    }\n  }\n  hide(datasetIndex, dataIndex) {\n    this._updateVisibility(datasetIndex, dataIndex, false);\n  }\n  show(datasetIndex, dataIndex) {\n    this._updateVisibility(datasetIndex, dataIndex, true);\n  }\n  _destroyDatasetMeta(datasetIndex) {\n    const meta = this._metasets[datasetIndex];\n    if (meta && meta.controller) {\n      meta.controller._destroy();\n    }\n    delete this._metasets[datasetIndex];\n  }\n  _stop() {\n    let i, ilen;\n    this.stop();\n    animator.remove(this);\n    for (i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this._destroyDatasetMeta(i);\n    }\n  }\n  destroy() {\n    this.notifyPlugins('beforeDestroy');\n    const {canvas, ctx} = this;\n    this._stop();\n    this.config.clearCache();\n    if (canvas) {\n      this.unbindEvents();\n      clearCanvas(canvas, ctx);\n      this.platform.releaseContext(ctx);\n      this.canvas = null;\n      this.ctx = null;\n    }\n    this.notifyPlugins('destroy');\n    delete instances[this.id];\n    this.notifyPlugins('afterDestroy');\n  }\n  toBase64Image(...args) {\n    return this.canvas.toDataURL(...args);\n  }\n  bindEvents() {\n    this.bindUserEvents();\n    if (this.options.responsive) {\n      this.bindResponsiveEvents();\n    } else {\n      this.attached = true;\n    }\n  }\n  bindUserEvents() {\n    const listeners = this._listeners;\n    const platform = this.platform;\n    const _add = (type, listener) => {\n      platform.addEventListener(this, type, listener);\n      listeners[type] = listener;\n    };\n    const listener = (e, x, y) => {\n      e.offsetX = x;\n      e.offsetY = y;\n      this._eventHandler(e);\n    };\n    each(this.options.events, (type) => _add(type, listener));\n  }\n  bindResponsiveEvents() {\n    if (!this._responsiveListeners) {\n      this._responsiveListeners = {};\n    }\n    const listeners = this._responsiveListeners;\n    const platform = this.platform;\n    const _add = (type, listener) => {\n      platform.addEventListener(this, type, listener);\n      listeners[type] = listener;\n    };\n    const _remove = (type, listener) => {\n      if (listeners[type]) {\n        platform.removeEventListener(this, type, listener);\n        delete listeners[type];\n      }\n    };\n    const listener = (width, height) => {\n      if (this.canvas) {\n        this.resize(width, height);\n      }\n    };\n    let detached;\n    const attached = () => {\n      _remove('attach', attached);\n      this.attached = true;\n      this.resize();\n      _add('resize', listener);\n      _add('detach', detached);\n    };\n    detached = () => {\n      this.attached = false;\n      _remove('resize', listener);\n      this._stop();\n      this._resize(0, 0);\n      _add('attach', attached);\n    };\n    if (platform.isAttached(this.canvas)) {\n      attached();\n    } else {\n      detached();\n    }\n  }\n  unbindEvents() {\n    each(this._listeners, (listener, type) => {\n      this.platform.removeEventListener(this, type, listener);\n    });\n    this._listeners = {};\n    each(this._responsiveListeners, (listener, type) => {\n      this.platform.removeEventListener(this, type, listener);\n    });\n    this._responsiveListeners = undefined;\n  }\n  updateHoverStyle(items, mode, enabled) {\n    const prefix = enabled ? 'set' : 'remove';\n    let meta, item, i, ilen;\n    if (mode === 'dataset') {\n      meta = this.getDatasetMeta(items[0].datasetIndex);\n      meta.controller['_' + prefix + 'DatasetHoverStyle']();\n    }\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      item = items[i];\n      const controller = item && this.getDatasetMeta(item.datasetIndex).controller;\n      if (controller) {\n        controller[prefix + 'HoverStyle'](item.element, item.datasetIndex, item.index);\n      }\n    }\n  }\n  getActiveElements() {\n    return this._active || [];\n  }\n  setActiveElements(activeElements) {\n    const lastActive = this._active || [];\n    const active = activeElements.map(({datasetIndex, index}) => {\n      const meta = this.getDatasetMeta(datasetIndex);\n      if (!meta) {\n        throw new Error('No dataset found at index ' + datasetIndex);\n      }\n      return {\n        datasetIndex,\n        element: meta.data[index],\n        index,\n      };\n    });\n    const changed = !_elementsEqual(active, lastActive);\n    if (changed) {\n      this._active = active;\n      this._lastEvent = null;\n      this._updateHoverStyles(active, lastActive);\n    }\n  }\n  notifyPlugins(hook, args, filter) {\n    return this._plugins.notify(this, hook, args, filter);\n  }\n  _updateHoverStyles(active, lastActive, replay) {\n    const hoverOptions = this.options.hover;\n    const diff = (a, b) => a.filter(x => !b.some(y => x.datasetIndex === y.datasetIndex && x.index === y.index));\n    const deactivated = diff(lastActive, active);\n    const activated = replay ? active : diff(active, lastActive);\n    if (deactivated.length) {\n      this.updateHoverStyle(deactivated, hoverOptions.mode, false);\n    }\n    if (activated.length && hoverOptions.mode) {\n      this.updateHoverStyle(activated, hoverOptions.mode, true);\n    }\n  }\n  _eventHandler(e, replay) {\n    const args = {\n      event: e,\n      replay,\n      cancelable: true,\n      inChartArea: this.isPointInArea(e)\n    };\n    const eventFilter = (plugin) => (plugin.options.events || this.options.events).includes(e.native.type);\n    if (this.notifyPlugins('beforeEvent', args, eventFilter) === false) {\n      return;\n    }\n    const changed = this._handleEvent(e, replay, args.inChartArea);\n    args.cancelable = false;\n    this.notifyPlugins('afterEvent', args, eventFilter);\n    if (changed || args.changed) {\n      this.render();\n    }\n    return this;\n  }\n  _handleEvent(e, replay, inChartArea) {\n    const {_active: lastActive = [], options} = this;\n    const useFinalPosition = replay;\n    const active = this._getActiveElements(e, lastActive, inChartArea, useFinalPosition);\n    const isClick = _isClickEvent(e);\n    const lastEvent = determineLastEvent(e, this._lastEvent, inChartArea, isClick);\n    if (inChartArea) {\n      this._lastEvent = null;\n      callback(options.onHover, [e, active, this], this);\n      if (isClick) {\n        callback(options.onClick, [e, active, this], this);\n      }\n    }\n    const changed = !_elementsEqual(active, lastActive);\n    if (changed || replay) {\n      this._active = active;\n      this._updateHoverStyles(active, lastActive, replay);\n    }\n    this._lastEvent = lastEvent;\n    return changed;\n  }\n  _getActiveElements(e, lastActive, inChartArea, useFinalPosition) {\n    if (e.type === 'mouseout') {\n      return [];\n    }\n    if (!inChartArea) {\n      return lastActive;\n    }\n    const hoverOptions = this.options.hover;\n    return this.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions, useFinalPosition);\n  }\n}\nconst invalidatePlugins = () => each(Chart.instances, (chart) => chart._plugins.invalidate());\nconst enumerable = true;\nObject.defineProperties(Chart, {\n  defaults: {\n    enumerable,\n    value: defaults\n  },\n  instances: {\n    enumerable,\n    value: instances\n  },\n  overrides: {\n    enumerable,\n    value: overrides\n  },\n  registry: {\n    enumerable,\n    value: registry\n  },\n  version: {\n    enumerable,\n    value: version\n  },\n  getChart: {\n    enumerable,\n    value: getChart\n  },\n  register: {\n    enumerable,\n    value: (...items) => {\n      registry.add(...items);\n      invalidatePlugins();\n    }\n  },\n  unregister: {\n    enumerable,\n    value: (...items) => {\n      registry.remove(...items);\n      invalidatePlugins();\n    }\n  }\n});\n\nfunction abstract() {\n  throw new Error('This method is not implemented: Check that a complete date adapter is provided.');\n}\nclass DateAdapter {\n  constructor(options) {\n    this.options = options || {};\n  }\n  init(chartOptions) {}\n  formats() {\n    return abstract();\n  }\n  parse(value, format) {\n    return abstract();\n  }\n  format(timestamp, format) {\n    return abstract();\n  }\n  add(timestamp, amount, unit) {\n    return abstract();\n  }\n  diff(a, b, unit) {\n    return abstract();\n  }\n  startOf(timestamp, unit, weekday) {\n    return abstract();\n  }\n  endOf(timestamp, unit) {\n    return abstract();\n  }\n}\nDateAdapter.override = function(members) {\n  Object.assign(DateAdapter.prototype, members);\n};\nvar _adapters = {\n  _date: DateAdapter\n};\n\nfunction getAllScaleValues(scale, type) {\n  if (!scale._cache.$bar) {\n    const visibleMetas = scale.getMatchingVisibleMetas(type);\n    let values = [];\n    for (let i = 0, ilen = visibleMetas.length; i < ilen; i++) {\n      values = values.concat(visibleMetas[i].controller.getAllParsedValues(scale));\n    }\n    scale._cache.$bar = _arrayUnique(values.sort((a, b) => a - b));\n  }\n  return scale._cache.$bar;\n}\nfunction computeMinSampleSize(meta) {\n  const scale = meta.iScale;\n  const values = getAllScaleValues(scale, meta.type);\n  let min = scale._length;\n  let i, ilen, curr, prev;\n  const updateMinAndPrev = () => {\n    if (curr === 32767 || curr === -32768) {\n      return;\n    }\n    if (defined(prev)) {\n      min = Math.min(min, Math.abs(curr - prev) || min);\n    }\n    prev = curr;\n  };\n  for (i = 0, ilen = values.length; i < ilen; ++i) {\n    curr = scale.getPixelForValue(values[i]);\n    updateMinAndPrev();\n  }\n  prev = undefined;\n  for (i = 0, ilen = scale.ticks.length; i < ilen; ++i) {\n    curr = scale.getPixelForTick(i);\n    updateMinAndPrev();\n  }\n  return min;\n}\nfunction computeFitCategoryTraits(index, ruler, options, stackCount) {\n  const thickness = options.barThickness;\n  let size, ratio;\n  if (isNullOrUndef(thickness)) {\n    size = ruler.min * options.categoryPercentage;\n    ratio = options.barPercentage;\n  } else {\n    size = thickness * stackCount;\n    ratio = 1;\n  }\n  return {\n    chunk: size / stackCount,\n    ratio,\n    start: ruler.pixels[index] - (size / 2)\n  };\n}\nfunction computeFlexCategoryTraits(index, ruler, options, stackCount) {\n  const pixels = ruler.pixels;\n  const curr = pixels[index];\n  let prev = index > 0 ? pixels[index - 1] : null;\n  let next = index < pixels.length - 1 ? pixels[index + 1] : null;\n  const percent = options.categoryPercentage;\n  if (prev === null) {\n    prev = curr - (next === null ? ruler.end - ruler.start : next - curr);\n  }\n  if (next === null) {\n    next = curr + curr - prev;\n  }\n  const start = curr - (curr - Math.min(prev, next)) / 2 * percent;\n  const size = Math.abs(next - prev) / 2 * percent;\n  return {\n    chunk: size / stackCount,\n    ratio: options.barPercentage,\n    start\n  };\n}\nfunction parseFloatBar(entry, item, vScale, i) {\n  const startValue = vScale.parse(entry[0], i);\n  const endValue = vScale.parse(entry[1], i);\n  const min = Math.min(startValue, endValue);\n  const max = Math.max(startValue, endValue);\n  let barStart = min;\n  let barEnd = max;\n  if (Math.abs(min) > Math.abs(max)) {\n    barStart = max;\n    barEnd = min;\n  }\n  item[vScale.axis] = barEnd;\n  item._custom = {\n    barStart,\n    barEnd,\n    start: startValue,\n    end: endValue,\n    min,\n    max\n  };\n}\nfunction parseValue(entry, item, vScale, i) {\n  if (isArray(entry)) {\n    parseFloatBar(entry, item, vScale, i);\n  } else {\n    item[vScale.axis] = vScale.parse(entry, i);\n  }\n  return item;\n}\nfunction parseArrayOrPrimitive(meta, data, start, count) {\n  const iScale = meta.iScale;\n  const vScale = meta.vScale;\n  const labels = iScale.getLabels();\n  const singleScale = iScale === vScale;\n  const parsed = [];\n  let i, ilen, item, entry;\n  for (i = start, ilen = start + count; i < ilen; ++i) {\n    entry = data[i];\n    item = {};\n    item[iScale.axis] = singleScale || iScale.parse(labels[i], i);\n    parsed.push(parseValue(entry, item, vScale, i));\n  }\n  return parsed;\n}\nfunction isFloatBar(custom) {\n  return custom && custom.barStart !== undefined && custom.barEnd !== undefined;\n}\nfunction barSign(size, vScale, actualBase) {\n  if (size !== 0) {\n    return sign(size);\n  }\n  return (vScale.isHorizontal() ? 1 : -1) * (vScale.min >= actualBase ? 1 : -1);\n}\nfunction borderProps(properties) {\n  let reverse, start, end, top, bottom;\n  if (properties.horizontal) {\n    reverse = properties.base > properties.x;\n    start = 'left';\n    end = 'right';\n  } else {\n    reverse = properties.base < properties.y;\n    start = 'bottom';\n    end = 'top';\n  }\n  if (reverse) {\n    top = 'end';\n    bottom = 'start';\n  } else {\n    top = 'start';\n    bottom = 'end';\n  }\n  return {start, end, reverse, top, bottom};\n}\nfunction setBorderSkipped(properties, options, stack, index) {\n  let edge = options.borderSkipped;\n  const res = {};\n  if (!edge) {\n    properties.borderSkipped = res;\n    return;\n  }\n  if (edge === true) {\n    properties.borderSkipped = {top: true, right: true, bottom: true, left: true};\n    return;\n  }\n  const {start, end, reverse, top, bottom} = borderProps(properties);\n  if (edge === 'middle' && stack) {\n    properties.enableBorderRadius = true;\n    if ((stack._top || 0) === index) {\n      edge = top;\n    } else if ((stack._bottom || 0) === index) {\n      edge = bottom;\n    } else {\n      res[parseEdge(bottom, start, end, reverse)] = true;\n      edge = top;\n    }\n  }\n  res[parseEdge(edge, start, end, reverse)] = true;\n  properties.borderSkipped = res;\n}\nfunction parseEdge(edge, a, b, reverse) {\n  if (reverse) {\n    edge = swap(edge, a, b);\n    edge = startEnd(edge, b, a);\n  } else {\n    edge = startEnd(edge, a, b);\n  }\n  return edge;\n}\nfunction swap(orig, v1, v2) {\n  return orig === v1 ? v2 : orig === v2 ? v1 : orig;\n}\nfunction startEnd(v, start, end) {\n  return v === 'start' ? start : v === 'end' ? end : v;\n}\nfunction setInflateAmount(properties, {inflateAmount}, ratio) {\n  properties.inflateAmount = inflateAmount === 'auto'\n    ? ratio === 1 ? 0.33 : 0\n    : inflateAmount;\n}\nclass BarController extends DatasetController {\n  parsePrimitiveData(meta, data, start, count) {\n    return parseArrayOrPrimitive(meta, data, start, count);\n  }\n  parseArrayData(meta, data, start, count) {\n    return parseArrayOrPrimitive(meta, data, start, count);\n  }\n  parseObjectData(meta, data, start, count) {\n    const {iScale, vScale} = meta;\n    const {xAxisKey = 'x', yAxisKey = 'y'} = this._parsing;\n    const iAxisKey = iScale.axis === 'x' ? xAxisKey : yAxisKey;\n    const vAxisKey = vScale.axis === 'x' ? xAxisKey : yAxisKey;\n    const parsed = [];\n    let i, ilen, item, obj;\n    for (i = start, ilen = start + count; i < ilen; ++i) {\n      obj = data[i];\n      item = {};\n      item[iScale.axis] = iScale.parse(resolveObjectKey(obj, iAxisKey), i);\n      parsed.push(parseValue(resolveObjectKey(obj, vAxisKey), item, vScale, i));\n    }\n    return parsed;\n  }\n  updateRangeFromParsed(range, scale, parsed, stack) {\n    super.updateRangeFromParsed(range, scale, parsed, stack);\n    const custom = parsed._custom;\n    if (custom && scale === this._cachedMeta.vScale) {\n      range.min = Math.min(range.min, custom.min);\n      range.max = Math.max(range.max, custom.max);\n    }\n  }\n  getMaxOverflow() {\n    return 0;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const {iScale, vScale} = meta;\n    const parsed = this.getParsed(index);\n    const custom = parsed._custom;\n    const value = isFloatBar(custom)\n      ? '[' + custom.start + ', ' + custom.end + ']'\n      : '' + vScale.getLabelForValue(parsed[vScale.axis]);\n    return {\n      label: '' + iScale.getLabelForValue(parsed[iScale.axis]),\n      value\n    };\n  }\n  initialize() {\n    this.enableOptionSharing = true;\n    super.initialize();\n    const meta = this._cachedMeta;\n    meta.stack = this.getDataset().stack;\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    this.updateElements(meta.data, 0, meta.data.length, mode);\n  }\n  updateElements(bars, start, count, mode) {\n    const reset = mode === 'reset';\n    const {index, _cachedMeta: {vScale}} = this;\n    const base = vScale.getBasePixel();\n    const horizontal = vScale.isHorizontal();\n    const ruler = this._getRuler();\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    for (let i = start; i < start + count; i++) {\n      const parsed = this.getParsed(i);\n      const vpixels = reset || isNullOrUndef(parsed[vScale.axis]) ? {base, head: base} : this._calculateBarValuePixels(i);\n      const ipixels = this._calculateBarIndexPixels(i, ruler);\n      const stack = (parsed._stacks || {})[vScale.axis];\n      const properties = {\n        horizontal,\n        base: vpixels.base,\n        enableBorderRadius: !stack || isFloatBar(parsed._custom) || (index === stack._top || index === stack._bottom),\n        x: horizontal ? vpixels.head : ipixels.center,\n        y: horizontal ? ipixels.center : vpixels.head,\n        height: horizontal ? ipixels.size : Math.abs(vpixels.size),\n        width: horizontal ? Math.abs(vpixels.size) : ipixels.size\n      };\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, bars[i].active ? 'active' : mode);\n      }\n      const options = properties.options || bars[i].options;\n      setBorderSkipped(properties, options, stack, index);\n      setInflateAmount(properties, options, ruler.ratio);\n      this.updateElement(bars[i], i, properties, mode);\n    }\n  }\n  _getStacks(last, dataIndex) {\n    const {iScale} = this._cachedMeta;\n    const metasets = iScale.getMatchingVisibleMetas(this._type)\n      .filter(meta => meta.controller.options.grouped);\n    const stacked = iScale.options.stacked;\n    const stacks = [];\n    const skipNull = (meta) => {\n      const parsed = meta.controller.getParsed(dataIndex);\n      const val = parsed && parsed[meta.vScale.axis];\n      if (isNullOrUndef(val) || isNaN(val)) {\n        return true;\n      }\n    };\n    for (const meta of metasets) {\n      if (dataIndex !== undefined && skipNull(meta)) {\n        continue;\n      }\n      if (stacked === false || stacks.indexOf(meta.stack) === -1 ||\n\t\t\t\t(stacked === undefined && meta.stack === undefined)) {\n        stacks.push(meta.stack);\n      }\n      if (meta.index === last) {\n        break;\n      }\n    }\n    if (!stacks.length) {\n      stacks.push(undefined);\n    }\n    return stacks;\n  }\n  _getStackCount(index) {\n    return this._getStacks(undefined, index).length;\n  }\n  _getStackIndex(datasetIndex, name, dataIndex) {\n    const stacks = this._getStacks(datasetIndex, dataIndex);\n    const index = (name !== undefined)\n      ? stacks.indexOf(name)\n      : -1;\n    return (index === -1)\n      ? stacks.length - 1\n      : index;\n  }\n  _getRuler() {\n    const opts = this.options;\n    const meta = this._cachedMeta;\n    const iScale = meta.iScale;\n    const pixels = [];\n    let i, ilen;\n    for (i = 0, ilen = meta.data.length; i < ilen; ++i) {\n      pixels.push(iScale.getPixelForValue(this.getParsed(i)[iScale.axis], i));\n    }\n    const barThickness = opts.barThickness;\n    const min = barThickness || computeMinSampleSize(meta);\n    return {\n      min,\n      pixels,\n      start: iScale._startPixel,\n      end: iScale._endPixel,\n      stackCount: this._getStackCount(),\n      scale: iScale,\n      grouped: opts.grouped,\n      ratio: barThickness ? 1 : opts.categoryPercentage * opts.barPercentage\n    };\n  }\n  _calculateBarValuePixels(index) {\n    const {_cachedMeta: {vScale, _stacked}, options: {base: baseValue, minBarLength}} = this;\n    const actualBase = baseValue || 0;\n    const parsed = this.getParsed(index);\n    const custom = parsed._custom;\n    const floating = isFloatBar(custom);\n    let value = parsed[vScale.axis];\n    let start = 0;\n    let length = _stacked ? this.applyStack(vScale, parsed, _stacked) : value;\n    let head, size;\n    if (length !== value) {\n      start = length - value;\n      length = value;\n    }\n    if (floating) {\n      value = custom.barStart;\n      length = custom.barEnd - custom.barStart;\n      if (value !== 0 && sign(value) !== sign(custom.barEnd)) {\n        start = 0;\n      }\n      start += value;\n    }\n    const startValue = !isNullOrUndef(baseValue) && !floating ? baseValue : start;\n    let base = vScale.getPixelForValue(startValue);\n    if (this.chart.getDataVisibility(index)) {\n      head = vScale.getPixelForValue(start + length);\n    } else {\n      head = base;\n    }\n    size = head - base;\n    if (Math.abs(size) < minBarLength) {\n      size = barSign(size, vScale, actualBase) * minBarLength;\n      if (value === actualBase) {\n        base -= size / 2;\n      }\n      const startPixel = vScale.getPixelForDecimal(0);\n      const endPixel = vScale.getPixelForDecimal(1);\n      const min = Math.min(startPixel, endPixel);\n      const max = Math.max(startPixel, endPixel);\n      base = Math.max(Math.min(base, max), min);\n      head = base + size;\n    }\n    if (base === vScale.getPixelForValue(actualBase)) {\n      const halfGrid = sign(size) * vScale.getLineWidthForValue(actualBase) / 2;\n      base += halfGrid;\n      size -= halfGrid;\n    }\n    return {\n      size,\n      base,\n      head,\n      center: head + size / 2\n    };\n  }\n  _calculateBarIndexPixels(index, ruler) {\n    const scale = ruler.scale;\n    const options = this.options;\n    const skipNull = options.skipNull;\n    const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity);\n    let center, size;\n    if (ruler.grouped) {\n      const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount;\n      const range = options.barThickness === 'flex'\n        ? computeFlexCategoryTraits(index, ruler, options, stackCount)\n        : computeFitCategoryTraits(index, ruler, options, stackCount);\n      const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined);\n      center = range.start + (range.chunk * stackIndex) + (range.chunk / 2);\n      size = Math.min(maxBarThickness, range.chunk * range.ratio);\n    } else {\n      center = scale.getPixelForValue(this.getParsed(index)[scale.axis], index);\n      size = Math.min(maxBarThickness, ruler.min * ruler.ratio);\n    }\n    return {\n      base: center - size / 2,\n      head: center + size / 2,\n      center,\n      size\n    };\n  }\n  draw() {\n    const meta = this._cachedMeta;\n    const vScale = meta.vScale;\n    const rects = meta.data;\n    const ilen = rects.length;\n    let i = 0;\n    for (; i < ilen; ++i) {\n      if (this.getParsed(i)[vScale.axis] !== null) {\n        rects[i].draw(this._ctx);\n      }\n    }\n  }\n}\nBarController.id = 'bar';\nBarController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'bar',\n  categoryPercentage: 0.8,\n  barPercentage: 0.9,\n  grouped: true,\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'base', 'width', 'height']\n    }\n  }\n};\nBarController.overrides = {\n  scales: {\n    _index_: {\n      type: 'category',\n      offset: true,\n      grid: {\n        offset: true\n      }\n    },\n    _value_: {\n      type: 'linear',\n      beginAtZero: true,\n    }\n  }\n};\n\nclass BubbleController extends DatasetController {\n  initialize() {\n    this.enableOptionSharing = true;\n    super.initialize();\n  }\n  parsePrimitiveData(meta, data, start, count) {\n    const parsed = super.parsePrimitiveData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      parsed[i]._custom = this.resolveDataElementOptions(i + start).radius;\n    }\n    return parsed;\n  }\n  parseArrayData(meta, data, start, count) {\n    const parsed = super.parseArrayData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      const item = data[start + i];\n      parsed[i]._custom = valueOrDefault(item[2], this.resolveDataElementOptions(i + start).radius);\n    }\n    return parsed;\n  }\n  parseObjectData(meta, data, start, count) {\n    const parsed = super.parseObjectData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      const item = data[start + i];\n      parsed[i]._custom = valueOrDefault(item && item.r && +item.r, this.resolveDataElementOptions(i + start).radius);\n    }\n    return parsed;\n  }\n  getMaxOverflow() {\n    const data = this._cachedMeta.data;\n    let max = 0;\n    for (let i = data.length - 1; i >= 0; --i) {\n      max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2);\n    }\n    return max > 0 && max;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const {xScale, yScale} = meta;\n    const parsed = this.getParsed(index);\n    const x = xScale.getLabelForValue(parsed.x);\n    const y = yScale.getLabelForValue(parsed.y);\n    const r = parsed._custom;\n    return {\n      label: meta.label,\n      value: '(' + x + ', ' + y + (r ? ', ' + r : '') + ')'\n    };\n  }\n  update(mode) {\n    const points = this._cachedMeta.data;\n    this.updateElements(points, 0, points.length, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale} = this._cachedMeta;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    for (let i = start; i < start + count; i++) {\n      const point = points[i];\n      const parsed = !reset && this.getParsed(i);\n      const properties = {};\n      const iPixel = properties[iAxis] = reset ? iScale.getPixelForDecimal(0.5) : iScale.getPixelForValue(parsed[iAxis]);\n      const vPixel = properties[vAxis] = reset ? vScale.getBasePixel() : vScale.getPixelForValue(parsed[vAxis]);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel);\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n        if (reset) {\n          properties.options.radius = 0;\n        }\n      }\n      this.updateElement(point, i, properties, mode);\n    }\n  }\n  resolveDataElementOptions(index, mode) {\n    const parsed = this.getParsed(index);\n    let values = super.resolveDataElementOptions(index, mode);\n    if (values.$shared) {\n      values = Object.assign({}, values, {$shared: false});\n    }\n    const radius = values.radius;\n    if (mode !== 'active') {\n      values.radius = 0;\n    }\n    values.radius += valueOrDefault(parsed && parsed._custom, radius);\n    return values;\n  }\n}\nBubbleController.id = 'bubble';\nBubbleController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'point',\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'borderWidth', 'radius']\n    }\n  }\n};\nBubbleController.overrides = {\n  scales: {\n    x: {\n      type: 'linear'\n    },\n    y: {\n      type: 'linear'\n    }\n  },\n  plugins: {\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        }\n      }\n    }\n  }\n};\n\nfunction getRatioAndOffset(rotation, circumference, cutout) {\n  let ratioX = 1;\n  let ratioY = 1;\n  let offsetX = 0;\n  let offsetY = 0;\n  if (circumference < TAU) {\n    const startAngle = rotation;\n    const endAngle = startAngle + circumference;\n    const startX = Math.cos(startAngle);\n    const startY = Math.sin(startAngle);\n    const endX = Math.cos(endAngle);\n    const endY = Math.sin(endAngle);\n    const calcMax = (angle, a, b) => _angleBetween(angle, startAngle, endAngle, true) ? 1 : Math.max(a, a * cutout, b, b * cutout);\n    const calcMin = (angle, a, b) => _angleBetween(angle, startAngle, endAngle, true) ? -1 : Math.min(a, a * cutout, b, b * cutout);\n    const maxX = calcMax(0, startX, endX);\n    const maxY = calcMax(HALF_PI, startY, endY);\n    const minX = calcMin(PI, startX, endX);\n    const minY = calcMin(PI + HALF_PI, startY, endY);\n    ratioX = (maxX - minX) / 2;\n    ratioY = (maxY - minY) / 2;\n    offsetX = -(maxX + minX) / 2;\n    offsetY = -(maxY + minY) / 2;\n  }\n  return {ratioX, ratioY, offsetX, offsetY};\n}\nclass DoughnutController extends DatasetController {\n  constructor(chart, datasetIndex) {\n    super(chart, datasetIndex);\n    this.enableOptionSharing = true;\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n    this.offsetX = undefined;\n    this.offsetY = undefined;\n  }\n  linkScales() {}\n  parse(start, count) {\n    const data = this.getDataset().data;\n    const meta = this._cachedMeta;\n    if (this._parsing === false) {\n      meta._parsed = data;\n    } else {\n      let getter = (i) => +data[i];\n      if (isObject(data[start])) {\n        const {key = 'value'} = this._parsing;\n        getter = (i) => +resolveObjectKey(data[i], key);\n      }\n      let i, ilen;\n      for (i = start, ilen = start + count; i < ilen; ++i) {\n        meta._parsed[i] = getter(i);\n      }\n    }\n  }\n  _getRotation() {\n    return toRadians(this.options.rotation - 90);\n  }\n  _getCircumference() {\n    return toRadians(this.options.circumference);\n  }\n  _getRotationExtents() {\n    let min = TAU;\n    let max = -TAU;\n    for (let i = 0; i < this.chart.data.datasets.length; ++i) {\n      if (this.chart.isDatasetVisible(i)) {\n        const controller = this.chart.getDatasetMeta(i).controller;\n        const rotation = controller._getRotation();\n        const circumference = controller._getCircumference();\n        min = Math.min(min, rotation);\n        max = Math.max(max, rotation + circumference);\n      }\n    }\n    return {\n      rotation: min,\n      circumference: max - min,\n    };\n  }\n  update(mode) {\n    const chart = this.chart;\n    const {chartArea} = chart;\n    const meta = this._cachedMeta;\n    const arcs = meta.data;\n    const spacing = this.getMaxBorderWidth() + this.getMaxOffset(arcs) + this.options.spacing;\n    const maxSize = Math.max((Math.min(chartArea.width, chartArea.height) - spacing) / 2, 0);\n    const cutout = Math.min(toPercentage(this.options.cutout, maxSize), 1);\n    const chartWeight = this._getRingWeight(this.index);\n    const {circumference, rotation} = this._getRotationExtents();\n    const {ratioX, ratioY, offsetX, offsetY} = getRatioAndOffset(rotation, circumference, cutout);\n    const maxWidth = (chartArea.width - spacing) / ratioX;\n    const maxHeight = (chartArea.height - spacing) / ratioY;\n    const maxRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\n    const outerRadius = toDimension(this.options.radius, maxRadius);\n    const innerRadius = Math.max(outerRadius * cutout, 0);\n    const radiusLength = (outerRadius - innerRadius) / this._getVisibleDatasetWeightTotal();\n    this.offsetX = offsetX * outerRadius;\n    this.offsetY = offsetY * outerRadius;\n    meta.total = this.calculateTotal();\n    this.outerRadius = outerRadius - radiusLength * this._getRingWeightOffset(this.index);\n    this.innerRadius = Math.max(this.outerRadius - radiusLength * chartWeight, 0);\n    this.updateElements(arcs, 0, arcs.length, mode);\n  }\n  _circumference(i, reset) {\n    const opts = this.options;\n    const meta = this._cachedMeta;\n    const circumference = this._getCircumference();\n    if ((reset && opts.animation.animateRotate) || !this.chart.getDataVisibility(i) || meta._parsed[i] === null || meta.data[i].hidden) {\n      return 0;\n    }\n    return this.calculateCircumference(meta._parsed[i] * circumference / TAU);\n  }\n  updateElements(arcs, start, count, mode) {\n    const reset = mode === 'reset';\n    const chart = this.chart;\n    const chartArea = chart.chartArea;\n    const opts = chart.options;\n    const animationOpts = opts.animation;\n    const centerX = (chartArea.left + chartArea.right) / 2;\n    const centerY = (chartArea.top + chartArea.bottom) / 2;\n    const animateScale = reset && animationOpts.animateScale;\n    const innerRadius = animateScale ? 0 : this.innerRadius;\n    const outerRadius = animateScale ? 0 : this.outerRadius;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    let startAngle = this._getRotation();\n    let i;\n    for (i = 0; i < start; ++i) {\n      startAngle += this._circumference(i, reset);\n    }\n    for (i = start; i < start + count; ++i) {\n      const circumference = this._circumference(i, reset);\n      const arc = arcs[i];\n      const properties = {\n        x: centerX + this.offsetX,\n        y: centerY + this.offsetY,\n        startAngle,\n        endAngle: startAngle + circumference,\n        circumference,\n        outerRadius,\n        innerRadius\n      };\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, arc.active ? 'active' : mode);\n      }\n      startAngle += circumference;\n      this.updateElement(arc, i, properties, mode);\n    }\n  }\n  calculateTotal() {\n    const meta = this._cachedMeta;\n    const metaData = meta.data;\n    let total = 0;\n    let i;\n    for (i = 0; i < metaData.length; i++) {\n      const value = meta._parsed[i];\n      if (value !== null && !isNaN(value) && this.chart.getDataVisibility(i) && !metaData[i].hidden) {\n        total += Math.abs(value);\n      }\n    }\n    return total;\n  }\n  calculateCircumference(value) {\n    const total = this._cachedMeta.total;\n    if (total > 0 && !isNaN(value)) {\n      return TAU * (Math.abs(value) / total);\n    }\n    return 0;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const chart = this.chart;\n    const labels = chart.data.labels || [];\n    const value = formatNumber(meta._parsed[index], chart.options.locale);\n    return {\n      label: labels[index] || '',\n      value,\n    };\n  }\n  getMaxBorderWidth(arcs) {\n    let max = 0;\n    const chart = this.chart;\n    let i, ilen, meta, controller, options;\n    if (!arcs) {\n      for (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\n        if (chart.isDatasetVisible(i)) {\n          meta = chart.getDatasetMeta(i);\n          arcs = meta.data;\n          controller = meta.controller;\n          break;\n        }\n      }\n    }\n    if (!arcs) {\n      return 0;\n    }\n    for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n      options = controller.resolveDataElementOptions(i);\n      if (options.borderAlign !== 'inner') {\n        max = Math.max(max, options.borderWidth || 0, options.hoverBorderWidth || 0);\n      }\n    }\n    return max;\n  }\n  getMaxOffset(arcs) {\n    let max = 0;\n    for (let i = 0, ilen = arcs.length; i < ilen; ++i) {\n      const options = this.resolveDataElementOptions(i);\n      max = Math.max(max, options.offset || 0, options.hoverOffset || 0);\n    }\n    return max;\n  }\n  _getRingWeightOffset(datasetIndex) {\n    let ringWeightOffset = 0;\n    for (let i = 0; i < datasetIndex; ++i) {\n      if (this.chart.isDatasetVisible(i)) {\n        ringWeightOffset += this._getRingWeight(i);\n      }\n    }\n    return ringWeightOffset;\n  }\n  _getRingWeight(datasetIndex) {\n    return Math.max(valueOrDefault(this.chart.data.datasets[datasetIndex].weight, 1), 0);\n  }\n  _getVisibleDatasetWeightTotal() {\n    return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;\n  }\n}\nDoughnutController.id = 'doughnut';\nDoughnutController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'arc',\n  animation: {\n    animateRotate: true,\n    animateScale: false\n  },\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['circumference', 'endAngle', 'innerRadius', 'outerRadius', 'startAngle', 'x', 'y', 'offset', 'borderWidth', 'spacing']\n    },\n  },\n  cutout: '50%',\n  rotation: 0,\n  circumference: 360,\n  radius: '100%',\n  spacing: 0,\n  indexAxis: 'r',\n};\nDoughnutController.descriptors = {\n  _scriptable: (name) => name !== 'spacing',\n  _indexable: (name) => name !== 'spacing',\n};\nDoughnutController.overrides = {\n  aspectRatio: 1,\n  plugins: {\n    legend: {\n      labels: {\n        generateLabels(chart) {\n          const data = chart.data;\n          if (data.labels.length && data.datasets.length) {\n            const {labels: {pointStyle}} = chart.legend.options;\n            return data.labels.map((label, i) => {\n              const meta = chart.getDatasetMeta(0);\n              const style = meta.controller.getStyle(i);\n              return {\n                text: label,\n                fillStyle: style.backgroundColor,\n                strokeStyle: style.borderColor,\n                lineWidth: style.borderWidth,\n                pointStyle: pointStyle,\n                hidden: !chart.getDataVisibility(i),\n                index: i\n              };\n            });\n          }\n          return [];\n        }\n      },\n      onClick(e, legendItem, legend) {\n        legend.chart.toggleDataVisibility(legendItem.index);\n        legend.chart.update();\n      }\n    },\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(tooltipItem) {\n          let dataLabel = tooltipItem.label;\n          const value = ': ' + tooltipItem.formattedValue;\n          if (isArray(dataLabel)) {\n            dataLabel = dataLabel.slice();\n            dataLabel[0] += value;\n          } else {\n            dataLabel += value;\n          }\n          return dataLabel;\n        }\n      }\n    }\n  }\n};\n\nclass LineController extends DatasetController {\n  initialize() {\n    this.enableOptionSharing = true;\n    this.supportsDecimation = true;\n    super.initialize();\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    const {dataset: line, data: points = [], _dataset} = meta;\n    const animationsDisabled = this.chart._animationsDisabled;\n    let {start, count} = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled);\n    this._drawStart = start;\n    this._drawCount = count;\n    if (_scaleRangesChanged(meta)) {\n      start = 0;\n      count = points.length;\n    }\n    line._chart = this.chart;\n    line._datasetIndex = this.index;\n    line._decimated = !!_dataset._decimated;\n    line.points = points;\n    const options = this.resolveDatasetElementOptions(mode);\n    if (!this.options.showLine) {\n      options.borderWidth = 0;\n    }\n    options.segment = this.options.segment;\n    this.updateElement(line, undefined, {\n      animated: !animationsDisabled,\n      options\n    }, mode);\n    this.updateElements(points, start, count, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale, _stacked, _dataset} = this._cachedMeta;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const {spanGaps, segment} = this.options;\n    const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;\n    const directUpdate = this.chart._animationsDisabled || reset || mode === 'none';\n    let prevParsed = start > 0 && this.getParsed(start - 1);\n    for (let i = start; i < start + count; ++i) {\n      const point = points[i];\n      const parsed = this.getParsed(i);\n      const properties = directUpdate ? point : {};\n      const nullData = isNullOrUndef(parsed[vAxis]);\n      const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i);\n      const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData;\n      properties.stop = i > 0 && (Math.abs(parsed[iAxis] - prevParsed[iAxis])) > maxGapLength;\n      if (segment) {\n        properties.parsed = parsed;\n        properties.raw = _dataset.data[i];\n      }\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      }\n      if (!directUpdate) {\n        this.updateElement(point, i, properties, mode);\n      }\n      prevParsed = parsed;\n    }\n  }\n  getMaxOverflow() {\n    const meta = this._cachedMeta;\n    const dataset = meta.dataset;\n    const border = dataset.options && dataset.options.borderWidth || 0;\n    const data = meta.data || [];\n    if (!data.length) {\n      return border;\n    }\n    const firstPoint = data[0].size(this.resolveDataElementOptions(0));\n    const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1));\n    return Math.max(border, firstPoint, lastPoint) / 2;\n  }\n  draw() {\n    const meta = this._cachedMeta;\n    meta.dataset.updateControlPoints(this.chart.chartArea, meta.iScale.axis);\n    super.draw();\n  }\n}\nLineController.id = 'line';\nLineController.defaults = {\n  datasetElementType: 'line',\n  dataElementType: 'point',\n  showLine: true,\n  spanGaps: false,\n};\nLineController.overrides = {\n  scales: {\n    _index_: {\n      type: 'category',\n    },\n    _value_: {\n      type: 'linear',\n    },\n  }\n};\n\nclass PolarAreaController extends DatasetController {\n  constructor(chart, datasetIndex) {\n    super(chart, datasetIndex);\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const chart = this.chart;\n    const labels = chart.data.labels || [];\n    const value = formatNumber(meta._parsed[index].r, chart.options.locale);\n    return {\n      label: labels[index] || '',\n      value,\n    };\n  }\n  parseObjectData(meta, data, start, count) {\n    return _parseObjectDataRadialScale.bind(this)(meta, data, start, count);\n  }\n  update(mode) {\n    const arcs = this._cachedMeta.data;\n    this._updateRadius();\n    this.updateElements(arcs, 0, arcs.length, mode);\n  }\n  getMinMax() {\n    const meta = this._cachedMeta;\n    const range = {min: Number.POSITIVE_INFINITY, max: Number.NEGATIVE_INFINITY};\n    meta.data.forEach((element, index) => {\n      const parsed = this.getParsed(index).r;\n      if (!isNaN(parsed) && this.chart.getDataVisibility(index)) {\n        if (parsed < range.min) {\n          range.min = parsed;\n        }\n        if (parsed > range.max) {\n          range.max = parsed;\n        }\n      }\n    });\n    return range;\n  }\n  _updateRadius() {\n    const chart = this.chart;\n    const chartArea = chart.chartArea;\n    const opts = chart.options;\n    const minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\n    const outerRadius = Math.max(minSize / 2, 0);\n    const innerRadius = Math.max(opts.cutoutPercentage ? (outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\n    const radiusLength = (outerRadius - innerRadius) / chart.getVisibleDatasetCount();\n    this.outerRadius = outerRadius - (radiusLength * this.index);\n    this.innerRadius = this.outerRadius - radiusLength;\n  }\n  updateElements(arcs, start, count, mode) {\n    const reset = mode === 'reset';\n    const chart = this.chart;\n    const opts = chart.options;\n    const animationOpts = opts.animation;\n    const scale = this._cachedMeta.rScale;\n    const centerX = scale.xCenter;\n    const centerY = scale.yCenter;\n    const datasetStartAngle = scale.getIndexAngle(0) - 0.5 * PI;\n    let angle = datasetStartAngle;\n    let i;\n    const defaultAngle = 360 / this.countVisibleElements();\n    for (i = 0; i < start; ++i) {\n      angle += this._computeAngle(i, mode, defaultAngle);\n    }\n    for (i = start; i < start + count; i++) {\n      const arc = arcs[i];\n      let startAngle = angle;\n      let endAngle = angle + this._computeAngle(i, mode, defaultAngle);\n      let outerRadius = chart.getDataVisibility(i) ? scale.getDistanceFromCenterForValue(this.getParsed(i).r) : 0;\n      angle = endAngle;\n      if (reset) {\n        if (animationOpts.animateScale) {\n          outerRadius = 0;\n        }\n        if (animationOpts.animateRotate) {\n          startAngle = endAngle = datasetStartAngle;\n        }\n      }\n      const properties = {\n        x: centerX,\n        y: centerY,\n        innerRadius: 0,\n        outerRadius,\n        startAngle,\n        endAngle,\n        options: this.resolveDataElementOptions(i, arc.active ? 'active' : mode)\n      };\n      this.updateElement(arc, i, properties, mode);\n    }\n  }\n  countVisibleElements() {\n    const meta = this._cachedMeta;\n    let count = 0;\n    meta.data.forEach((element, index) => {\n      if (!isNaN(this.getParsed(index).r) && this.chart.getDataVisibility(index)) {\n        count++;\n      }\n    });\n    return count;\n  }\n  _computeAngle(index, mode, defaultAngle) {\n    return this.chart.getDataVisibility(index)\n      ? toRadians(this.resolveDataElementOptions(index, mode).angle || defaultAngle)\n      : 0;\n  }\n}\nPolarAreaController.id = 'polarArea';\nPolarAreaController.defaults = {\n  dataElementType: 'arc',\n  animation: {\n    animateRotate: true,\n    animateScale: true\n  },\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'startAngle', 'endAngle', 'innerRadius', 'outerRadius']\n    },\n  },\n  indexAxis: 'r',\n  startAngle: 0,\n};\nPolarAreaController.overrides = {\n  aspectRatio: 1,\n  plugins: {\n    legend: {\n      labels: {\n        generateLabels(chart) {\n          const data = chart.data;\n          if (data.labels.length && data.datasets.length) {\n            const {labels: {pointStyle}} = chart.legend.options;\n            return data.labels.map((label, i) => {\n              const meta = chart.getDatasetMeta(0);\n              const style = meta.controller.getStyle(i);\n              return {\n                text: label,\n                fillStyle: style.backgroundColor,\n                strokeStyle: style.borderColor,\n                lineWidth: style.borderWidth,\n                pointStyle: pointStyle,\n                hidden: !chart.getDataVisibility(i),\n                index: i\n              };\n            });\n          }\n          return [];\n        }\n      },\n      onClick(e, legendItem, legend) {\n        legend.chart.toggleDataVisibility(legendItem.index);\n        legend.chart.update();\n      }\n    },\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(context) {\n          return context.chart.data.labels[context.dataIndex] + ': ' + context.formattedValue;\n        }\n      }\n    }\n  },\n  scales: {\n    r: {\n      type: 'radialLinear',\n      angleLines: {\n        display: false\n      },\n      beginAtZero: true,\n      grid: {\n        circular: true\n      },\n      pointLabels: {\n        display: false\n      },\n      startAngle: 0\n    }\n  }\n};\n\nclass PieController extends DoughnutController {\n}\nPieController.id = 'pie';\nPieController.defaults = {\n  cutout: 0,\n  rotation: 0,\n  circumference: 360,\n  radius: '100%'\n};\n\nclass RadarController extends DatasetController {\n  getLabelAndValue(index) {\n    const vScale = this._cachedMeta.vScale;\n    const parsed = this.getParsed(index);\n    return {\n      label: vScale.getLabels()[index],\n      value: '' + vScale.getLabelForValue(parsed[vScale.axis])\n    };\n  }\n  parseObjectData(meta, data, start, count) {\n    return _parseObjectDataRadialScale.bind(this)(meta, data, start, count);\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    const line = meta.dataset;\n    const points = meta.data || [];\n    const labels = meta.iScale.getLabels();\n    line.points = points;\n    if (mode !== 'resize') {\n      const options = this.resolveDatasetElementOptions(mode);\n      if (!this.options.showLine) {\n        options.borderWidth = 0;\n      }\n      const properties = {\n        _loop: true,\n        _fullLoop: labels.length === points.length,\n        options\n      };\n      this.updateElement(line, undefined, properties, mode);\n    }\n    this.updateElements(points, 0, points.length, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const scale = this._cachedMeta.rScale;\n    const reset = mode === 'reset';\n    for (let i = start; i < start + count; i++) {\n      const point = points[i];\n      const options = this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      const pointPosition = scale.getPointPositionForValue(i, this.getParsed(i).r);\n      const x = reset ? scale.xCenter : pointPosition.x;\n      const y = reset ? scale.yCenter : pointPosition.y;\n      const properties = {\n        x,\n        y,\n        angle: pointPosition.angle,\n        skip: isNaN(x) || isNaN(y),\n        options\n      };\n      this.updateElement(point, i, properties, mode);\n    }\n  }\n}\nRadarController.id = 'radar';\nRadarController.defaults = {\n  datasetElementType: 'line',\n  dataElementType: 'point',\n  indexAxis: 'r',\n  showLine: true,\n  elements: {\n    line: {\n      fill: 'start'\n    }\n  },\n};\nRadarController.overrides = {\n  aspectRatio: 1,\n  scales: {\n    r: {\n      type: 'radialLinear',\n    }\n  }\n};\n\nclass ScatterController extends DatasetController {\n  update(mode) {\n    const meta = this._cachedMeta;\n    const {data: points = []} = meta;\n    const animationsDisabled = this.chart._animationsDisabled;\n    let {start, count} = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled);\n    this._drawStart = start;\n    this._drawCount = count;\n    if (_scaleRangesChanged(meta)) {\n      start = 0;\n      count = points.length;\n    }\n    if (this.options.showLine) {\n      const {dataset: line, _dataset} = meta;\n      line._chart = this.chart;\n      line._datasetIndex = this.index;\n      line._decimated = !!_dataset._decimated;\n      line.points = points;\n      const options = this.resolveDatasetElementOptions(mode);\n      options.segment = this.options.segment;\n      this.updateElement(line, undefined, {\n        animated: !animationsDisabled,\n        options\n      }, mode);\n    }\n    this.updateElements(points, start, count, mode);\n  }\n  addElements() {\n    const {showLine} = this.options;\n    if (!this.datasetElementType && showLine) {\n      this.datasetElementType = registry.getElement('line');\n    }\n    super.addElements();\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale, _stacked, _dataset} = this._cachedMeta;\n    const firstOpts = this.resolveDataElementOptions(start, mode);\n    const sharedOptions = this.getSharedOptions(firstOpts);\n    const includeOptions = this.includeOptions(mode, sharedOptions);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const {spanGaps, segment} = this.options;\n    const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;\n    const directUpdate = this.chart._animationsDisabled || reset || mode === 'none';\n    let prevParsed = start > 0 && this.getParsed(start - 1);\n    for (let i = start; i < start + count; ++i) {\n      const point = points[i];\n      const parsed = this.getParsed(i);\n      const properties = directUpdate ? point : {};\n      const nullData = isNullOrUndef(parsed[vAxis]);\n      const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i);\n      const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData;\n      properties.stop = i > 0 && (Math.abs(parsed[iAxis] - prevParsed[iAxis])) > maxGapLength;\n      if (segment) {\n        properties.parsed = parsed;\n        properties.raw = _dataset.data[i];\n      }\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      }\n      if (!directUpdate) {\n        this.updateElement(point, i, properties, mode);\n      }\n      prevParsed = parsed;\n    }\n    this.updateSharedOptions(sharedOptions, mode, firstOpts);\n  }\n  getMaxOverflow() {\n    const meta = this._cachedMeta;\n    const data = meta.data || [];\n    if (!this.options.showLine) {\n      let max = 0;\n      for (let i = data.length - 1; i >= 0; --i) {\n        max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2);\n      }\n      return max > 0 && max;\n    }\n    const dataset = meta.dataset;\n    const border = dataset.options && dataset.options.borderWidth || 0;\n    if (!data.length) {\n      return border;\n    }\n    const firstPoint = data[0].size(this.resolveDataElementOptions(0));\n    const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1));\n    return Math.max(border, firstPoint, lastPoint) / 2;\n  }\n}\nScatterController.id = 'scatter';\nScatterController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'point',\n  showLine: false,\n  fill: false\n};\nScatterController.overrides = {\n  interaction: {\n    mode: 'point'\n  },\n  plugins: {\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(item) {\n          return '(' + item.label + ', ' + item.formattedValue + ')';\n        }\n      }\n    }\n  },\n  scales: {\n    x: {\n      type: 'linear'\n    },\n    y: {\n      type: 'linear'\n    }\n  }\n};\n\nvar controllers = /*#__PURE__*/Object.freeze({\n__proto__: null,\nBarController: BarController,\nBubbleController: BubbleController,\nDoughnutController: DoughnutController,\nLineController: LineController,\nPolarAreaController: PolarAreaController,\nPieController: PieController,\nRadarController: RadarController,\nScatterController: ScatterController\n});\n\nfunction clipArc(ctx, element, endAngle) {\n  const {startAngle, pixelMargin, x, y, outerRadius, innerRadius} = element;\n  let angleMargin = pixelMargin / outerRadius;\n  ctx.beginPath();\n  ctx.arc(x, y, outerRadius, startAngle - angleMargin, endAngle + angleMargin);\n  if (innerRadius > pixelMargin) {\n    angleMargin = pixelMargin / innerRadius;\n    ctx.arc(x, y, innerRadius, endAngle + angleMargin, startAngle - angleMargin, true);\n  } else {\n    ctx.arc(x, y, pixelMargin, endAngle + HALF_PI, startAngle - HALF_PI);\n  }\n  ctx.closePath();\n  ctx.clip();\n}\nfunction toRadiusCorners(value) {\n  return _readValueToProps(value, ['outerStart', 'outerEnd', 'innerStart', 'innerEnd']);\n}\nfunction parseBorderRadius$1(arc, innerRadius, outerRadius, angleDelta) {\n  const o = toRadiusCorners(arc.options.borderRadius);\n  const halfThickness = (outerRadius - innerRadius) / 2;\n  const innerLimit = Math.min(halfThickness, angleDelta * innerRadius / 2);\n  const computeOuterLimit = (val) => {\n    const outerArcLimit = (outerRadius - Math.min(halfThickness, val)) * angleDelta / 2;\n    return _limitValue(val, 0, Math.min(halfThickness, outerArcLimit));\n  };\n  return {\n    outerStart: computeOuterLimit(o.outerStart),\n    outerEnd: computeOuterLimit(o.outerEnd),\n    innerStart: _limitValue(o.innerStart, 0, innerLimit),\n    innerEnd: _limitValue(o.innerEnd, 0, innerLimit),\n  };\n}\nfunction rThetaToXY(r, theta, x, y) {\n  return {\n    x: x + r * Math.cos(theta),\n    y: y + r * Math.sin(theta),\n  };\n}\nfunction pathArc(ctx, element, offset, spacing, end, circular) {\n  const {x, y, startAngle: start, pixelMargin, innerRadius: innerR} = element;\n  const outerRadius = Math.max(element.outerRadius + spacing + offset - pixelMargin, 0);\n  const innerRadius = innerR > 0 ? innerR + spacing + offset + pixelMargin : 0;\n  let spacingOffset = 0;\n  const alpha = end - start;\n  if (spacing) {\n    const noSpacingInnerRadius = innerR > 0 ? innerR - spacing : 0;\n    const noSpacingOuterRadius = outerRadius > 0 ? outerRadius - spacing : 0;\n    const avNogSpacingRadius = (noSpacingInnerRadius + noSpacingOuterRadius) / 2;\n    const adjustedAngle = avNogSpacingRadius !== 0 ? (alpha * avNogSpacingRadius) / (avNogSpacingRadius + spacing) : alpha;\n    spacingOffset = (alpha - adjustedAngle) / 2;\n  }\n  const beta = Math.max(0.001, alpha * outerRadius - offset / PI) / outerRadius;\n  const angleOffset = (alpha - beta) / 2;\n  const startAngle = start + angleOffset + spacingOffset;\n  const endAngle = end - angleOffset - spacingOffset;\n  const {outerStart, outerEnd, innerStart, innerEnd} = parseBorderRadius$1(element, innerRadius, outerRadius, endAngle - startAngle);\n  const outerStartAdjustedRadius = outerRadius - outerStart;\n  const outerEndAdjustedRadius = outerRadius - outerEnd;\n  const outerStartAdjustedAngle = startAngle + outerStart / outerStartAdjustedRadius;\n  const outerEndAdjustedAngle = endAngle - outerEnd / outerEndAdjustedRadius;\n  const innerStartAdjustedRadius = innerRadius + innerStart;\n  const innerEndAdjustedRadius = innerRadius + innerEnd;\n  const innerStartAdjustedAngle = startAngle + innerStart / innerStartAdjustedRadius;\n  const innerEndAdjustedAngle = endAngle - innerEnd / innerEndAdjustedRadius;\n  ctx.beginPath();\n  if (circular) {\n    ctx.arc(x, y, outerRadius, outerStartAdjustedAngle, outerEndAdjustedAngle);\n    if (outerEnd > 0) {\n      const pCenter = rThetaToXY(outerEndAdjustedRadius, outerEndAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, outerEnd, outerEndAdjustedAngle, endAngle + HALF_PI);\n    }\n    const p4 = rThetaToXY(innerEndAdjustedRadius, endAngle, x, y);\n    ctx.lineTo(p4.x, p4.y);\n    if (innerEnd > 0) {\n      const pCenter = rThetaToXY(innerEndAdjustedRadius, innerEndAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, innerEnd, endAngle + HALF_PI, innerEndAdjustedAngle + Math.PI);\n    }\n    ctx.arc(x, y, innerRadius, endAngle - (innerEnd / innerRadius), startAngle + (innerStart / innerRadius), true);\n    if (innerStart > 0) {\n      const pCenter = rThetaToXY(innerStartAdjustedRadius, innerStartAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, innerStart, innerStartAdjustedAngle + Math.PI, startAngle - HALF_PI);\n    }\n    const p8 = rThetaToXY(outerStartAdjustedRadius, startAngle, x, y);\n    ctx.lineTo(p8.x, p8.y);\n    if (outerStart > 0) {\n      const pCenter = rThetaToXY(outerStartAdjustedRadius, outerStartAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, outerStart, startAngle - HALF_PI, outerStartAdjustedAngle);\n    }\n  } else {\n    ctx.moveTo(x, y);\n    const outerStartX = Math.cos(outerStartAdjustedAngle) * outerRadius + x;\n    const outerStartY = Math.sin(outerStartAdjustedAngle) * outerRadius + y;\n    ctx.lineTo(outerStartX, outerStartY);\n    const outerEndX = Math.cos(outerEndAdjustedAngle) * outerRadius + x;\n    const outerEndY = Math.sin(outerEndAdjustedAngle) * outerRadius + y;\n    ctx.lineTo(outerEndX, outerEndY);\n  }\n  ctx.closePath();\n}\nfunction drawArc(ctx, element, offset, spacing, circular) {\n  const {fullCircles, startAngle, circumference} = element;\n  let endAngle = element.endAngle;\n  if (fullCircles) {\n    pathArc(ctx, element, offset, spacing, startAngle + TAU, circular);\n    for (let i = 0; i < fullCircles; ++i) {\n      ctx.fill();\n    }\n    if (!isNaN(circumference)) {\n      endAngle = startAngle + circumference % TAU;\n      if (circumference % TAU === 0) {\n        endAngle += TAU;\n      }\n    }\n  }\n  pathArc(ctx, element, offset, spacing, endAngle, circular);\n  ctx.fill();\n  return endAngle;\n}\nfunction drawFullCircleBorders(ctx, element, inner) {\n  const {x, y, startAngle, pixelMargin, fullCircles} = element;\n  const outerRadius = Math.max(element.outerRadius - pixelMargin, 0);\n  const innerRadius = element.innerRadius + pixelMargin;\n  let i;\n  if (inner) {\n    clipArc(ctx, element, startAngle + TAU);\n  }\n  ctx.beginPath();\n  ctx.arc(x, y, innerRadius, startAngle + TAU, startAngle, true);\n  for (i = 0; i < fullCircles; ++i) {\n    ctx.stroke();\n  }\n  ctx.beginPath();\n  ctx.arc(x, y, outerRadius, startAngle, startAngle + TAU);\n  for (i = 0; i < fullCircles; ++i) {\n    ctx.stroke();\n  }\n}\nfunction drawBorder(ctx, element, offset, spacing, endAngle, circular) {\n  const {options} = element;\n  const {borderWidth, borderJoinStyle} = options;\n  const inner = options.borderAlign === 'inner';\n  if (!borderWidth) {\n    return;\n  }\n  if (inner) {\n    ctx.lineWidth = borderWidth * 2;\n    ctx.lineJoin = borderJoinStyle || 'round';\n  } else {\n    ctx.lineWidth = borderWidth;\n    ctx.lineJoin = borderJoinStyle || 'bevel';\n  }\n  if (element.fullCircles) {\n    drawFullCircleBorders(ctx, element, inner);\n  }\n  if (inner) {\n    clipArc(ctx, element, endAngle);\n  }\n  pathArc(ctx, element, offset, spacing, endAngle, circular);\n  ctx.stroke();\n}\nclass ArcElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.circumference = undefined;\n    this.startAngle = undefined;\n    this.endAngle = undefined;\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n    this.pixelMargin = 0;\n    this.fullCircles = 0;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  inRange(chartX, chartY, useFinalPosition) {\n    const point = this.getProps(['x', 'y'], useFinalPosition);\n    const {angle, distance} = getAngleFromPoint(point, {x: chartX, y: chartY});\n    const {startAngle, endAngle, innerRadius, outerRadius, circumference} = this.getProps([\n      'startAngle',\n      'endAngle',\n      'innerRadius',\n      'outerRadius',\n      'circumference'\n    ], useFinalPosition);\n    const rAdjust = this.options.spacing / 2;\n    const _circumference = valueOrDefault(circumference, endAngle - startAngle);\n    const betweenAngles = _circumference >= TAU || _angleBetween(angle, startAngle, endAngle);\n    const withinRadius = _isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust);\n    return (betweenAngles && withinRadius);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y, startAngle, endAngle, innerRadius, outerRadius} = this.getProps([\n      'x',\n      'y',\n      'startAngle',\n      'endAngle',\n      'innerRadius',\n      'outerRadius',\n      'circumference',\n    ], useFinalPosition);\n    const {offset, spacing} = this.options;\n    const halfAngle = (startAngle + endAngle) / 2;\n    const halfRadius = (innerRadius + outerRadius + spacing + offset) / 2;\n    return {\n      x: x + Math.cos(halfAngle) * halfRadius,\n      y: y + Math.sin(halfAngle) * halfRadius\n    };\n  }\n  tooltipPosition(useFinalPosition) {\n    return this.getCenterPoint(useFinalPosition);\n  }\n  draw(ctx) {\n    const {options, circumference} = this;\n    const offset = (options.offset || 0) / 2;\n    const spacing = (options.spacing || 0) / 2;\n    const circular = options.circular;\n    this.pixelMargin = (options.borderAlign === 'inner') ? 0.33 : 0;\n    this.fullCircles = circumference > TAU ? Math.floor(circumference / TAU) : 0;\n    if (circumference === 0 || this.innerRadius < 0 || this.outerRadius < 0) {\n      return;\n    }\n    ctx.save();\n    let radiusOffset = 0;\n    if (offset) {\n      radiusOffset = offset / 2;\n      const halfAngle = (this.startAngle + this.endAngle) / 2;\n      ctx.translate(Math.cos(halfAngle) * radiusOffset, Math.sin(halfAngle) * radiusOffset);\n      if (this.circumference >= PI) {\n        radiusOffset = offset;\n      }\n    }\n    ctx.fillStyle = options.backgroundColor;\n    ctx.strokeStyle = options.borderColor;\n    const endAngle = drawArc(ctx, this, radiusOffset, spacing, circular);\n    drawBorder(ctx, this, radiusOffset, spacing, endAngle, circular);\n    ctx.restore();\n  }\n}\nArcElement.id = 'arc';\nArcElement.defaults = {\n  borderAlign: 'center',\n  borderColor: '#fff',\n  borderJoinStyle: undefined,\n  borderRadius: 0,\n  borderWidth: 2,\n  offset: 0,\n  spacing: 0,\n  angle: undefined,\n  circular: true,\n};\nArcElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor'\n};\n\nfunction setStyle(ctx, options, style = options) {\n  ctx.lineCap = valueOrDefault(style.borderCapStyle, options.borderCapStyle);\n  ctx.setLineDash(valueOrDefault(style.borderDash, options.borderDash));\n  ctx.lineDashOffset = valueOrDefault(style.borderDashOffset, options.borderDashOffset);\n  ctx.lineJoin = valueOrDefault(style.borderJoinStyle, options.borderJoinStyle);\n  ctx.lineWidth = valueOrDefault(style.borderWidth, options.borderWidth);\n  ctx.strokeStyle = valueOrDefault(style.borderColor, options.borderColor);\n}\nfunction lineTo(ctx, previous, target) {\n  ctx.lineTo(target.x, target.y);\n}\nfunction getLineMethod(options) {\n  if (options.stepped) {\n    return _steppedLineTo;\n  }\n  if (options.tension || options.cubicInterpolationMode === 'monotone') {\n    return _bezierCurveTo;\n  }\n  return lineTo;\n}\nfunction pathVars(points, segment, params = {}) {\n  const count = points.length;\n  const {start: paramsStart = 0, end: paramsEnd = count - 1} = params;\n  const {start: segmentStart, end: segmentEnd} = segment;\n  const start = Math.max(paramsStart, segmentStart);\n  const end = Math.min(paramsEnd, segmentEnd);\n  const outside = paramsStart < segmentStart && paramsEnd < segmentStart || paramsStart > segmentEnd && paramsEnd > segmentEnd;\n  return {\n    count,\n    start,\n    loop: segment.loop,\n    ilen: end < start && !outside ? count + end - start : end - start\n  };\n}\nfunction pathSegment(ctx, line, segment, params) {\n  const {points, options} = line;\n  const {count, start, loop, ilen} = pathVars(points, segment, params);\n  const lineMethod = getLineMethod(options);\n  let {move = true, reverse} = params || {};\n  let i, point, prev;\n  for (i = 0; i <= ilen; ++i) {\n    point = points[(start + (reverse ? ilen - i : i)) % count];\n    if (point.skip) {\n      continue;\n    } else if (move) {\n      ctx.moveTo(point.x, point.y);\n      move = false;\n    } else {\n      lineMethod(ctx, prev, point, reverse, options.stepped);\n    }\n    prev = point;\n  }\n  if (loop) {\n    point = points[(start + (reverse ? ilen : 0)) % count];\n    lineMethod(ctx, prev, point, reverse, options.stepped);\n  }\n  return !!loop;\n}\nfunction fastPathSegment(ctx, line, segment, params) {\n  const points = line.points;\n  const {count, start, ilen} = pathVars(points, segment, params);\n  const {move = true, reverse} = params || {};\n  let avgX = 0;\n  let countX = 0;\n  let i, point, prevX, minY, maxY, lastY;\n  const pointIndex = (index) => (start + (reverse ? ilen - index : index)) % count;\n  const drawX = () => {\n    if (minY !== maxY) {\n      ctx.lineTo(avgX, maxY);\n      ctx.lineTo(avgX, minY);\n      ctx.lineTo(avgX, lastY);\n    }\n  };\n  if (move) {\n    point = points[pointIndex(0)];\n    ctx.moveTo(point.x, point.y);\n  }\n  for (i = 0; i <= ilen; ++i) {\n    point = points[pointIndex(i)];\n    if (point.skip) {\n      continue;\n    }\n    const x = point.x;\n    const y = point.y;\n    const truncX = x | 0;\n    if (truncX === prevX) {\n      if (y < minY) {\n        minY = y;\n      } else if (y > maxY) {\n        maxY = y;\n      }\n      avgX = (countX * avgX + x) / ++countX;\n    } else {\n      drawX();\n      ctx.lineTo(x, y);\n      prevX = truncX;\n      countX = 0;\n      minY = maxY = y;\n    }\n    lastY = y;\n  }\n  drawX();\n}\nfunction _getSegmentMethod(line) {\n  const opts = line.options;\n  const borderDash = opts.borderDash && opts.borderDash.length;\n  const useFastPath = !line._decimated && !line._loop && !opts.tension && opts.cubicInterpolationMode !== 'monotone' && !opts.stepped && !borderDash;\n  return useFastPath ? fastPathSegment : pathSegment;\n}\nfunction _getInterpolationMethod(options) {\n  if (options.stepped) {\n    return _steppedInterpolation;\n  }\n  if (options.tension || options.cubicInterpolationMode === 'monotone') {\n    return _bezierInterpolation;\n  }\n  return _pointInLine;\n}\nfunction strokePathWithCache(ctx, line, start, count) {\n  let path = line._path;\n  if (!path) {\n    path = line._path = new Path2D();\n    if (line.path(path, start, count)) {\n      path.closePath();\n    }\n  }\n  setStyle(ctx, line.options);\n  ctx.stroke(path);\n}\nfunction strokePathDirect(ctx, line, start, count) {\n  const {segments, options} = line;\n  const segmentMethod = _getSegmentMethod(line);\n  for (const segment of segments) {\n    setStyle(ctx, options, segment.style);\n    ctx.beginPath();\n    if (segmentMethod(ctx, line, segment, {start, end: start + count - 1})) {\n      ctx.closePath();\n    }\n    ctx.stroke();\n  }\n}\nconst usePath2D = typeof Path2D === 'function';\nfunction draw(ctx, line, start, count) {\n  if (usePath2D && !line.options.segment) {\n    strokePathWithCache(ctx, line, start, count);\n  } else {\n    strokePathDirect(ctx, line, start, count);\n  }\n}\nclass LineElement extends Element {\n  constructor(cfg) {\n    super();\n    this.animated = true;\n    this.options = undefined;\n    this._chart = undefined;\n    this._loop = undefined;\n    this._fullLoop = undefined;\n    this._path = undefined;\n    this._points = undefined;\n    this._segments = undefined;\n    this._decimated = false;\n    this._pointsUpdated = false;\n    this._datasetIndex = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  updateControlPoints(chartArea, indexAxis) {\n    const options = this.options;\n    if ((options.tension || options.cubicInterpolationMode === 'monotone') && !options.stepped && !this._pointsUpdated) {\n      const loop = options.spanGaps ? this._loop : this._fullLoop;\n      _updateBezierControlPoints(this._points, options, chartArea, loop, indexAxis);\n      this._pointsUpdated = true;\n    }\n  }\n  set points(points) {\n    this._points = points;\n    delete this._segments;\n    delete this._path;\n    this._pointsUpdated = false;\n  }\n  get points() {\n    return this._points;\n  }\n  get segments() {\n    return this._segments || (this._segments = _computeSegments(this, this.options.segment));\n  }\n  first() {\n    const segments = this.segments;\n    const points = this.points;\n    return segments.length && points[segments[0].start];\n  }\n  last() {\n    const segments = this.segments;\n    const points = this.points;\n    const count = segments.length;\n    return count && points[segments[count - 1].end];\n  }\n  interpolate(point, property) {\n    const options = this.options;\n    const value = point[property];\n    const points = this.points;\n    const segments = _boundSegments(this, {property, start: value, end: value});\n    if (!segments.length) {\n      return;\n    }\n    const result = [];\n    const _interpolate = _getInterpolationMethod(options);\n    let i, ilen;\n    for (i = 0, ilen = segments.length; i < ilen; ++i) {\n      const {start, end} = segments[i];\n      const p1 = points[start];\n      const p2 = points[end];\n      if (p1 === p2) {\n        result.push(p1);\n        continue;\n      }\n      const t = Math.abs((value - p1[property]) / (p2[property] - p1[property]));\n      const interpolated = _interpolate(p1, p2, t, options.stepped);\n      interpolated[property] = point[property];\n      result.push(interpolated);\n    }\n    return result.length === 1 ? result[0] : result;\n  }\n  pathSegment(ctx, segment, params) {\n    const segmentMethod = _getSegmentMethod(this);\n    return segmentMethod(ctx, this, segment, params);\n  }\n  path(ctx, start, count) {\n    const segments = this.segments;\n    const segmentMethod = _getSegmentMethod(this);\n    let loop = this._loop;\n    start = start || 0;\n    count = count || (this.points.length - start);\n    for (const segment of segments) {\n      loop &= segmentMethod(ctx, this, segment, {start, end: start + count - 1});\n    }\n    return !!loop;\n  }\n  draw(ctx, chartArea, start, count) {\n    const options = this.options || {};\n    const points = this.points || [];\n    if (points.length && options.borderWidth) {\n      ctx.save();\n      draw(ctx, this, start, count);\n      ctx.restore();\n    }\n    if (this.animated) {\n      this._pointsUpdated = false;\n      this._path = undefined;\n    }\n  }\n}\nLineElement.id = 'line';\nLineElement.defaults = {\n  borderCapStyle: 'butt',\n  borderDash: [],\n  borderDashOffset: 0,\n  borderJoinStyle: 'miter',\n  borderWidth: 3,\n  capBezierPoints: true,\n  cubicInterpolationMode: 'default',\n  fill: false,\n  spanGaps: false,\n  stepped: false,\n  tension: 0,\n};\nLineElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\nLineElement.descriptors = {\n  _scriptable: true,\n  _indexable: (name) => name !== 'borderDash' && name !== 'fill',\n};\n\nfunction inRange$1(el, pos, axis, useFinalPosition) {\n  const options = el.options;\n  const {[axis]: value} = el.getProps([axis], useFinalPosition);\n  return (Math.abs(pos - value) < options.radius + options.hitRadius);\n}\nclass PointElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.parsed = undefined;\n    this.skip = undefined;\n    this.stop = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  inRange(mouseX, mouseY, useFinalPosition) {\n    const options = this.options;\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return ((Math.pow(mouseX - x, 2) + Math.pow(mouseY - y, 2)) < Math.pow(options.hitRadius + options.radius, 2));\n  }\n  inXRange(mouseX, useFinalPosition) {\n    return inRange$1(this, mouseX, 'x', useFinalPosition);\n  }\n  inYRange(mouseY, useFinalPosition) {\n    return inRange$1(this, mouseY, 'y', useFinalPosition);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return {x, y};\n  }\n  size(options) {\n    options = options || this.options || {};\n    let radius = options.radius || 0;\n    radius = Math.max(radius, radius && options.hoverRadius || 0);\n    const borderWidth = radius && options.borderWidth || 0;\n    return (radius + borderWidth) * 2;\n  }\n  draw(ctx, area) {\n    const options = this.options;\n    if (this.skip || options.radius < 0.1 || !_isPointInArea(this, area, this.size(options) / 2)) {\n      return;\n    }\n    ctx.strokeStyle = options.borderColor;\n    ctx.lineWidth = options.borderWidth;\n    ctx.fillStyle = options.backgroundColor;\n    drawPoint(ctx, options, this.x, this.y);\n  }\n  getRange() {\n    const options = this.options || {};\n    return options.radius + options.hitRadius;\n  }\n}\nPointElement.id = 'point';\nPointElement.defaults = {\n  borderWidth: 1,\n  hitRadius: 1,\n  hoverBorderWidth: 1,\n  hoverRadius: 4,\n  pointStyle: 'circle',\n  radius: 3,\n  rotation: 0\n};\nPointElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\n\nfunction getBarBounds(bar, useFinalPosition) {\n  const {x, y, base, width, height} = bar.getProps(['x', 'y', 'base', 'width', 'height'], useFinalPosition);\n  let left, right, top, bottom, half;\n  if (bar.horizontal) {\n    half = height / 2;\n    left = Math.min(x, base);\n    right = Math.max(x, base);\n    top = y - half;\n    bottom = y + half;\n  } else {\n    half = width / 2;\n    left = x - half;\n    right = x + half;\n    top = Math.min(y, base);\n    bottom = Math.max(y, base);\n  }\n  return {left, top, right, bottom};\n}\nfunction skipOrLimit(skip, value, min, max) {\n  return skip ? 0 : _limitValue(value, min, max);\n}\nfunction parseBorderWidth(bar, maxW, maxH) {\n  const value = bar.options.borderWidth;\n  const skip = bar.borderSkipped;\n  const o = toTRBL(value);\n  return {\n    t: skipOrLimit(skip.top, o.top, 0, maxH),\n    r: skipOrLimit(skip.right, o.right, 0, maxW),\n    b: skipOrLimit(skip.bottom, o.bottom, 0, maxH),\n    l: skipOrLimit(skip.left, o.left, 0, maxW)\n  };\n}\nfunction parseBorderRadius(bar, maxW, maxH) {\n  const {enableBorderRadius} = bar.getProps(['enableBorderRadius']);\n  const value = bar.options.borderRadius;\n  const o = toTRBLCorners(value);\n  const maxR = Math.min(maxW, maxH);\n  const skip = bar.borderSkipped;\n  const enableBorder = enableBorderRadius || isObject(value);\n  return {\n    topLeft: skipOrLimit(!enableBorder || skip.top || skip.left, o.topLeft, 0, maxR),\n    topRight: skipOrLimit(!enableBorder || skip.top || skip.right, o.topRight, 0, maxR),\n    bottomLeft: skipOrLimit(!enableBorder || skip.bottom || skip.left, o.bottomLeft, 0, maxR),\n    bottomRight: skipOrLimit(!enableBorder || skip.bottom || skip.right, o.bottomRight, 0, maxR)\n  };\n}\nfunction boundingRects(bar) {\n  const bounds = getBarBounds(bar);\n  const width = bounds.right - bounds.left;\n  const height = bounds.bottom - bounds.top;\n  const border = parseBorderWidth(bar, width / 2, height / 2);\n  const radius = parseBorderRadius(bar, width / 2, height / 2);\n  return {\n    outer: {\n      x: bounds.left,\n      y: bounds.top,\n      w: width,\n      h: height,\n      radius\n    },\n    inner: {\n      x: bounds.left + border.l,\n      y: bounds.top + border.t,\n      w: width - border.l - border.r,\n      h: height - border.t - border.b,\n      radius: {\n        topLeft: Math.max(0, radius.topLeft - Math.max(border.t, border.l)),\n        topRight: Math.max(0, radius.topRight - Math.max(border.t, border.r)),\n        bottomLeft: Math.max(0, radius.bottomLeft - Math.max(border.b, border.l)),\n        bottomRight: Math.max(0, radius.bottomRight - Math.max(border.b, border.r)),\n      }\n    }\n  };\n}\nfunction inRange(bar, x, y, useFinalPosition) {\n  const skipX = x === null;\n  const skipY = y === null;\n  const skipBoth = skipX && skipY;\n  const bounds = bar && !skipBoth && getBarBounds(bar, useFinalPosition);\n  return bounds\n\t\t&& (skipX || _isBetween(x, bounds.left, bounds.right))\n\t\t&& (skipY || _isBetween(y, bounds.top, bounds.bottom));\n}\nfunction hasRadius(radius) {\n  return radius.topLeft || radius.topRight || radius.bottomLeft || radius.bottomRight;\n}\nfunction addNormalRectPath(ctx, rect) {\n  ctx.rect(rect.x, rect.y, rect.w, rect.h);\n}\nfunction inflateRect(rect, amount, refRect = {}) {\n  const x = rect.x !== refRect.x ? -amount : 0;\n  const y = rect.y !== refRect.y ? -amount : 0;\n  const w = (rect.x + rect.w !== refRect.x + refRect.w ? amount : 0) - x;\n  const h = (rect.y + rect.h !== refRect.y + refRect.h ? amount : 0) - y;\n  return {\n    x: rect.x + x,\n    y: rect.y + y,\n    w: rect.w + w,\n    h: rect.h + h,\n    radius: rect.radius\n  };\n}\nclass BarElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.horizontal = undefined;\n    this.base = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this.inflateAmount = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  draw(ctx) {\n    const {inflateAmount, options: {borderColor, backgroundColor}} = this;\n    const {inner, outer} = boundingRects(this);\n    const addRectPath = hasRadius(outer.radius) ? addRoundedRectPath : addNormalRectPath;\n    ctx.save();\n    if (outer.w !== inner.w || outer.h !== inner.h) {\n      ctx.beginPath();\n      addRectPath(ctx, inflateRect(outer, inflateAmount, inner));\n      ctx.clip();\n      addRectPath(ctx, inflateRect(inner, -inflateAmount, outer));\n      ctx.fillStyle = borderColor;\n      ctx.fill('evenodd');\n    }\n    ctx.beginPath();\n    addRectPath(ctx, inflateRect(inner, inflateAmount));\n    ctx.fillStyle = backgroundColor;\n    ctx.fill();\n    ctx.restore();\n  }\n  inRange(mouseX, mouseY, useFinalPosition) {\n    return inRange(this, mouseX, mouseY, useFinalPosition);\n  }\n  inXRange(mouseX, useFinalPosition) {\n    return inRange(this, mouseX, null, useFinalPosition);\n  }\n  inYRange(mouseY, useFinalPosition) {\n    return inRange(this, null, mouseY, useFinalPosition);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y, base, horizontal} = this.getProps(['x', 'y', 'base', 'horizontal'], useFinalPosition);\n    return {\n      x: horizontal ? (x + base) / 2 : x,\n      y: horizontal ? y : (y + base) / 2\n    };\n  }\n  getRange(axis) {\n    return axis === 'x' ? this.width / 2 : this.height / 2;\n  }\n}\nBarElement.id = 'bar';\nBarElement.defaults = {\n  borderSkipped: 'start',\n  borderWidth: 0,\n  borderRadius: 0,\n  inflateAmount: 'auto',\n  pointStyle: undefined\n};\nBarElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\n\nvar elements = /*#__PURE__*/Object.freeze({\n__proto__: null,\nArcElement: ArcElement,\nLineElement: LineElement,\nPointElement: PointElement,\nBarElement: BarElement\n});\n\nfunction lttbDecimation(data, start, count, availableWidth, options) {\n  const samples = options.samples || availableWidth;\n  if (samples >= count) {\n    return data.slice(start, start + count);\n  }\n  const decimated = [];\n  const bucketWidth = (count - 2) / (samples - 2);\n  let sampledIndex = 0;\n  const endIndex = start + count - 1;\n  let a = start;\n  let i, maxAreaPoint, maxArea, area, nextA;\n  decimated[sampledIndex++] = data[a];\n  for (i = 0; i < samples - 2; i++) {\n    let avgX = 0;\n    let avgY = 0;\n    let j;\n    const avgRangeStart = Math.floor((i + 1) * bucketWidth) + 1 + start;\n    const avgRangeEnd = Math.min(Math.floor((i + 2) * bucketWidth) + 1, count) + start;\n    const avgRangeLength = avgRangeEnd - avgRangeStart;\n    for (j = avgRangeStart; j < avgRangeEnd; j++) {\n      avgX += data[j].x;\n      avgY += data[j].y;\n    }\n    avgX /= avgRangeLength;\n    avgY /= avgRangeLength;\n    const rangeOffs = Math.floor(i * bucketWidth) + 1 + start;\n    const rangeTo = Math.min(Math.floor((i + 1) * bucketWidth) + 1, count) + start;\n    const {x: pointAx, y: pointAy} = data[a];\n    maxArea = area = -1;\n    for (j = rangeOffs; j < rangeTo; j++) {\n      area = 0.5 * Math.abs(\n        (pointAx - avgX) * (data[j].y - pointAy) -\n        (pointAx - data[j].x) * (avgY - pointAy)\n      );\n      if (area > maxArea) {\n        maxArea = area;\n        maxAreaPoint = data[j];\n        nextA = j;\n      }\n    }\n    decimated[sampledIndex++] = maxAreaPoint;\n    a = nextA;\n  }\n  decimated[sampledIndex++] = data[endIndex];\n  return decimated;\n}\nfunction minMaxDecimation(data, start, count, availableWidth) {\n  let avgX = 0;\n  let countX = 0;\n  let i, point, x, y, prevX, minIndex, maxIndex, startIndex, minY, maxY;\n  const decimated = [];\n  const endIndex = start + count - 1;\n  const xMin = data[start].x;\n  const xMax = data[endIndex].x;\n  const dx = xMax - xMin;\n  for (i = start; i < start + count; ++i) {\n    point = data[i];\n    x = (point.x - xMin) / dx * availableWidth;\n    y = point.y;\n    const truncX = x | 0;\n    if (truncX === prevX) {\n      if (y < minY) {\n        minY = y;\n        minIndex = i;\n      } else if (y > maxY) {\n        maxY = y;\n        maxIndex = i;\n      }\n      avgX = (countX * avgX + point.x) / ++countX;\n    } else {\n      const lastIndex = i - 1;\n      if (!isNullOrUndef(minIndex) && !isNullOrUndef(maxIndex)) {\n        const intermediateIndex1 = Math.min(minIndex, maxIndex);\n        const intermediateIndex2 = Math.max(minIndex, maxIndex);\n        if (intermediateIndex1 !== startIndex && intermediateIndex1 !== lastIndex) {\n          decimated.push({\n            ...data[intermediateIndex1],\n            x: avgX,\n          });\n        }\n        if (intermediateIndex2 !== startIndex && intermediateIndex2 !== lastIndex) {\n          decimated.push({\n            ...data[intermediateIndex2],\n            x: avgX\n          });\n        }\n      }\n      if (i > 0 && lastIndex !== startIndex) {\n        decimated.push(data[lastIndex]);\n      }\n      decimated.push(point);\n      prevX = truncX;\n      countX = 0;\n      minY = maxY = y;\n      minIndex = maxIndex = startIndex = i;\n    }\n  }\n  return decimated;\n}\nfunction cleanDecimatedDataset(dataset) {\n  if (dataset._decimated) {\n    const data = dataset._data;\n    delete dataset._decimated;\n    delete dataset._data;\n    Object.defineProperty(dataset, 'data', {value: data});\n  }\n}\nfunction cleanDecimatedData(chart) {\n  chart.data.datasets.forEach((dataset) => {\n    cleanDecimatedDataset(dataset);\n  });\n}\nfunction getStartAndCountOfVisiblePointsSimplified(meta, points) {\n  const pointCount = points.length;\n  let start = 0;\n  let count;\n  const {iScale} = meta;\n  const {min, max, minDefined, maxDefined} = iScale.getUserBounds();\n  if (minDefined) {\n    start = _limitValue(_lookupByKey(points, iScale.axis, min).lo, 0, pointCount - 1);\n  }\n  if (maxDefined) {\n    count = _limitValue(_lookupByKey(points, iScale.axis, max).hi + 1, start, pointCount) - start;\n  } else {\n    count = pointCount - start;\n  }\n  return {start, count};\n}\nvar plugin_decimation = {\n  id: 'decimation',\n  defaults: {\n    algorithm: 'min-max',\n    enabled: false,\n  },\n  beforeElementsUpdate: (chart, args, options) => {\n    if (!options.enabled) {\n      cleanDecimatedData(chart);\n      return;\n    }\n    const availableWidth = chart.width;\n    chart.data.datasets.forEach((dataset, datasetIndex) => {\n      const {_data, indexAxis} = dataset;\n      const meta = chart.getDatasetMeta(datasetIndex);\n      const data = _data || dataset.data;\n      if (resolve([indexAxis, chart.options.indexAxis]) === 'y') {\n        return;\n      }\n      if (!meta.controller.supportsDecimation) {\n        return;\n      }\n      const xAxis = chart.scales[meta.xAxisID];\n      if (xAxis.type !== 'linear' && xAxis.type !== 'time') {\n        return;\n      }\n      if (chart.options.parsing) {\n        return;\n      }\n      let {start, count} = getStartAndCountOfVisiblePointsSimplified(meta, data);\n      const threshold = options.threshold || 4 * availableWidth;\n      if (count <= threshold) {\n        cleanDecimatedDataset(dataset);\n        return;\n      }\n      if (isNullOrUndef(_data)) {\n        dataset._data = data;\n        delete dataset.data;\n        Object.defineProperty(dataset, 'data', {\n          configurable: true,\n          enumerable: true,\n          get: function() {\n            return this._decimated;\n          },\n          set: function(d) {\n            this._data = d;\n          }\n        });\n      }\n      let decimated;\n      switch (options.algorithm) {\n      case 'lttb':\n        decimated = lttbDecimation(data, start, count, availableWidth, options);\n        break;\n      case 'min-max':\n        decimated = minMaxDecimation(data, start, count, availableWidth);\n        break;\n      default:\n        throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`);\n      }\n      dataset._decimated = decimated;\n    });\n  },\n  destroy(chart) {\n    cleanDecimatedData(chart);\n  }\n};\n\nfunction _segments(line, target, property) {\n  const segments = line.segments;\n  const points = line.points;\n  const tpoints = target.points;\n  const parts = [];\n  for (const segment of segments) {\n    let {start, end} = segment;\n    end = _findSegmentEnd(start, end, points);\n    const bounds = _getBounds(property, points[start], points[end], segment.loop);\n    if (!target.segments) {\n      parts.push({\n        source: segment,\n        target: bounds,\n        start: points[start],\n        end: points[end]\n      });\n      continue;\n    }\n    const targetSegments = _boundSegments(target, bounds);\n    for (const tgt of targetSegments) {\n      const subBounds = _getBounds(property, tpoints[tgt.start], tpoints[tgt.end], tgt.loop);\n      const fillSources = _boundSegment(segment, points, subBounds);\n      for (const fillSource of fillSources) {\n        parts.push({\n          source: fillSource,\n          target: tgt,\n          start: {\n            [property]: _getEdge(bounds, subBounds, 'start', Math.max)\n          },\n          end: {\n            [property]: _getEdge(bounds, subBounds, 'end', Math.min)\n          }\n        });\n      }\n    }\n  }\n  return parts;\n}\nfunction _getBounds(property, first, last, loop) {\n  if (loop) {\n    return;\n  }\n  let start = first[property];\n  let end = last[property];\n  if (property === 'angle') {\n    start = _normalizeAngle(start);\n    end = _normalizeAngle(end);\n  }\n  return {property, start, end};\n}\nfunction _pointsFromSegments(boundary, line) {\n  const {x = null, y = null} = boundary || {};\n  const linePoints = line.points;\n  const points = [];\n  line.segments.forEach(({start, end}) => {\n    end = _findSegmentEnd(start, end, linePoints);\n    const first = linePoints[start];\n    const last = linePoints[end];\n    if (y !== null) {\n      points.push({x: first.x, y});\n      points.push({x: last.x, y});\n    } else if (x !== null) {\n      points.push({x, y: first.y});\n      points.push({x, y: last.y});\n    }\n  });\n  return points;\n}\nfunction _findSegmentEnd(start, end, points) {\n  for (;end > start; end--) {\n    const point = points[end];\n    if (!isNaN(point.x) && !isNaN(point.y)) {\n      break;\n    }\n  }\n  return end;\n}\nfunction _getEdge(a, b, prop, fn) {\n  if (a && b) {\n    return fn(a[prop], b[prop]);\n  }\n  return a ? a[prop] : b ? b[prop] : 0;\n}\n\nfunction _createBoundaryLine(boundary, line) {\n  let points = [];\n  let _loop = false;\n  if (isArray(boundary)) {\n    _loop = true;\n    points = boundary;\n  } else {\n    points = _pointsFromSegments(boundary, line);\n  }\n  return points.length ? new LineElement({\n    points,\n    options: {tension: 0},\n    _loop,\n    _fullLoop: _loop\n  }) : null;\n}\nfunction _shouldApplyFill(source) {\n  return source && source.fill !== false;\n}\n\nfunction _resolveTarget(sources, index, propagate) {\n  const source = sources[index];\n  let fill = source.fill;\n  const visited = [index];\n  let target;\n  if (!propagate) {\n    return fill;\n  }\n  while (fill !== false && visited.indexOf(fill) === -1) {\n    if (!isNumberFinite(fill)) {\n      return fill;\n    }\n    target = sources[fill];\n    if (!target) {\n      return false;\n    }\n    if (target.visible) {\n      return fill;\n    }\n    visited.push(fill);\n    fill = target.fill;\n  }\n  return false;\n}\nfunction _decodeFill(line, index, count) {\n  const fill = parseFillOption(line);\n  if (isObject(fill)) {\n    return isNaN(fill.value) ? false : fill;\n  }\n  let target = parseFloat(fill);\n  if (isNumberFinite(target) && Math.floor(target) === target) {\n    return decodeTargetIndex(fill[0], index, target, count);\n  }\n  return ['origin', 'start', 'end', 'stack', 'shape'].indexOf(fill) >= 0 && fill;\n}\nfunction decodeTargetIndex(firstCh, index, target, count) {\n  if (firstCh === '-' || firstCh === '+') {\n    target = index + target;\n  }\n  if (target === index || target < 0 || target >= count) {\n    return false;\n  }\n  return target;\n}\nfunction _getTargetPixel(fill, scale) {\n  let pixel = null;\n  if (fill === 'start') {\n    pixel = scale.bottom;\n  } else if (fill === 'end') {\n    pixel = scale.top;\n  } else if (isObject(fill)) {\n    pixel = scale.getPixelForValue(fill.value);\n  } else if (scale.getBasePixel) {\n    pixel = scale.getBasePixel();\n  }\n  return pixel;\n}\nfunction _getTargetValue(fill, scale, startValue) {\n  let value;\n  if (fill === 'start') {\n    value = startValue;\n  } else if (fill === 'end') {\n    value = scale.options.reverse ? scale.min : scale.max;\n  } else if (isObject(fill)) {\n    value = fill.value;\n  } else {\n    value = scale.getBaseValue();\n  }\n  return value;\n}\nfunction parseFillOption(line) {\n  const options = line.options;\n  const fillOption = options.fill;\n  let fill = valueOrDefault(fillOption && fillOption.target, fillOption);\n  if (fill === undefined) {\n    fill = !!options.backgroundColor;\n  }\n  if (fill === false || fill === null) {\n    return false;\n  }\n  if (fill === true) {\n    return 'origin';\n  }\n  return fill;\n}\n\nfunction _buildStackLine(source) {\n  const {scale, index, line} = source;\n  const points = [];\n  const segments = line.segments;\n  const sourcePoints = line.points;\n  const linesBelow = getLinesBelow(scale, index);\n  linesBelow.push(_createBoundaryLine({x: null, y: scale.bottom}, line));\n  for (let i = 0; i < segments.length; i++) {\n    const segment = segments[i];\n    for (let j = segment.start; j <= segment.end; j++) {\n      addPointsBelow(points, sourcePoints[j], linesBelow);\n    }\n  }\n  return new LineElement({points, options: {}});\n}\nfunction getLinesBelow(scale, index) {\n  const below = [];\n  const metas = scale.getMatchingVisibleMetas('line');\n  for (let i = 0; i < metas.length; i++) {\n    const meta = metas[i];\n    if (meta.index === index) {\n      break;\n    }\n    if (!meta.hidden) {\n      below.unshift(meta.dataset);\n    }\n  }\n  return below;\n}\nfunction addPointsBelow(points, sourcePoint, linesBelow) {\n  const postponed = [];\n  for (let j = 0; j < linesBelow.length; j++) {\n    const line = linesBelow[j];\n    const {first, last, point} = findPoint(line, sourcePoint, 'x');\n    if (!point || (first && last)) {\n      continue;\n    }\n    if (first) {\n      postponed.unshift(point);\n    } else {\n      points.push(point);\n      if (!last) {\n        break;\n      }\n    }\n  }\n  points.push(...postponed);\n}\nfunction findPoint(line, sourcePoint, property) {\n  const point = line.interpolate(sourcePoint, property);\n  if (!point) {\n    return {};\n  }\n  const pointValue = point[property];\n  const segments = line.segments;\n  const linePoints = line.points;\n  let first = false;\n  let last = false;\n  for (let i = 0; i < segments.length; i++) {\n    const segment = segments[i];\n    const firstValue = linePoints[segment.start][property];\n    const lastValue = linePoints[segment.end][property];\n    if (_isBetween(pointValue, firstValue, lastValue)) {\n      first = pointValue === firstValue;\n      last = pointValue === lastValue;\n      break;\n    }\n  }\n  return {first, last, point};\n}\n\nclass simpleArc {\n  constructor(opts) {\n    this.x = opts.x;\n    this.y = opts.y;\n    this.radius = opts.radius;\n  }\n  pathSegment(ctx, bounds, opts) {\n    const {x, y, radius} = this;\n    bounds = bounds || {start: 0, end: TAU};\n    ctx.arc(x, y, radius, bounds.end, bounds.start, true);\n    return !opts.bounds;\n  }\n  interpolate(point) {\n    const {x, y, radius} = this;\n    const angle = point.angle;\n    return {\n      x: x + Math.cos(angle) * radius,\n      y: y + Math.sin(angle) * radius,\n      angle\n    };\n  }\n}\n\nfunction _getTarget(source) {\n  const {chart, fill, line} = source;\n  if (isNumberFinite(fill)) {\n    return getLineByIndex(chart, fill);\n  }\n  if (fill === 'stack') {\n    return _buildStackLine(source);\n  }\n  if (fill === 'shape') {\n    return true;\n  }\n  const boundary = computeBoundary(source);\n  if (boundary instanceof simpleArc) {\n    return boundary;\n  }\n  return _createBoundaryLine(boundary, line);\n}\nfunction getLineByIndex(chart, index) {\n  const meta = chart.getDatasetMeta(index);\n  const visible = meta && chart.isDatasetVisible(index);\n  return visible ? meta.dataset : null;\n}\nfunction computeBoundary(source) {\n  const scale = source.scale || {};\n  if (scale.getPointPositionForValue) {\n    return computeCircularBoundary(source);\n  }\n  return computeLinearBoundary(source);\n}\nfunction computeLinearBoundary(source) {\n  const {scale = {}, fill} = source;\n  const pixel = _getTargetPixel(fill, scale);\n  if (isNumberFinite(pixel)) {\n    const horizontal = scale.isHorizontal();\n    return {\n      x: horizontal ? pixel : null,\n      y: horizontal ? null : pixel\n    };\n  }\n  return null;\n}\nfunction computeCircularBoundary(source) {\n  const {scale, fill} = source;\n  const options = scale.options;\n  const length = scale.getLabels().length;\n  const start = options.reverse ? scale.max : scale.min;\n  const value = _getTargetValue(fill, scale, start);\n  const target = [];\n  if (options.grid.circular) {\n    const center = scale.getPointPositionForValue(0, start);\n    return new simpleArc({\n      x: center.x,\n      y: center.y,\n      radius: scale.getDistanceFromCenterForValue(value)\n    });\n  }\n  for (let i = 0; i < length; ++i) {\n    target.push(scale.getPointPositionForValue(i, value));\n  }\n  return target;\n}\n\nfunction _drawfill(ctx, source, area) {\n  const target = _getTarget(source);\n  const {line, scale, axis} = source;\n  const lineOpts = line.options;\n  const fillOption = lineOpts.fill;\n  const color = lineOpts.backgroundColor;\n  const {above = color, below = color} = fillOption || {};\n  if (target && line.points.length) {\n    clipArea(ctx, area);\n    doFill(ctx, {line, target, above, below, area, scale, axis});\n    unclipArea(ctx);\n  }\n}\nfunction doFill(ctx, cfg) {\n  const {line, target, above, below, area, scale} = cfg;\n  const property = line._loop ? 'angle' : cfg.axis;\n  ctx.save();\n  if (property === 'x' && below !== above) {\n    clipVertical(ctx, target, area.top);\n    fill(ctx, {line, target, color: above, scale, property});\n    ctx.restore();\n    ctx.save();\n    clipVertical(ctx, target, area.bottom);\n  }\n  fill(ctx, {line, target, color: below, scale, property});\n  ctx.restore();\n}\nfunction clipVertical(ctx, target, clipY) {\n  const {segments, points} = target;\n  let first = true;\n  let lineLoop = false;\n  ctx.beginPath();\n  for (const segment of segments) {\n    const {start, end} = segment;\n    const firstPoint = points[start];\n    const lastPoint = points[_findSegmentEnd(start, end, points)];\n    if (first) {\n      ctx.moveTo(firstPoint.x, firstPoint.y);\n      first = false;\n    } else {\n      ctx.lineTo(firstPoint.x, clipY);\n      ctx.lineTo(firstPoint.x, firstPoint.y);\n    }\n    lineLoop = !!target.pathSegment(ctx, segment, {move: lineLoop});\n    if (lineLoop) {\n      ctx.closePath();\n    } else {\n      ctx.lineTo(lastPoint.x, clipY);\n    }\n  }\n  ctx.lineTo(target.first().x, clipY);\n  ctx.closePath();\n  ctx.clip();\n}\nfunction fill(ctx, cfg) {\n  const {line, target, property, color, scale} = cfg;\n  const segments = _segments(line, target, property);\n  for (const {source: src, target: tgt, start, end} of segments) {\n    const {style: {backgroundColor = color} = {}} = src;\n    const notShape = target !== true;\n    ctx.save();\n    ctx.fillStyle = backgroundColor;\n    clipBounds(ctx, scale, notShape && _getBounds(property, start, end));\n    ctx.beginPath();\n    const lineLoop = !!line.pathSegment(ctx, src);\n    let loop;\n    if (notShape) {\n      if (lineLoop) {\n        ctx.closePath();\n      } else {\n        interpolatedLineTo(ctx, target, end, property);\n      }\n      const targetLoop = !!target.pathSegment(ctx, tgt, {move: lineLoop, reverse: true});\n      loop = lineLoop && targetLoop;\n      if (!loop) {\n        interpolatedLineTo(ctx, target, start, property);\n      }\n    }\n    ctx.closePath();\n    ctx.fill(loop ? 'evenodd' : 'nonzero');\n    ctx.restore();\n  }\n}\nfunction clipBounds(ctx, scale, bounds) {\n  const {top, bottom} = scale.chart.chartArea;\n  const {property, start, end} = bounds || {};\n  if (property === 'x') {\n    ctx.beginPath();\n    ctx.rect(start, top, end - start, bottom - top);\n    ctx.clip();\n  }\n}\nfunction interpolatedLineTo(ctx, target, point, property) {\n  const interpolatedPoint = target.interpolate(point, property);\n  if (interpolatedPoint) {\n    ctx.lineTo(interpolatedPoint.x, interpolatedPoint.y);\n  }\n}\n\nvar index = {\n  id: 'filler',\n  afterDatasetsUpdate(chart, _args, options) {\n    const count = (chart.data.datasets || []).length;\n    const sources = [];\n    let meta, i, line, source;\n    for (i = 0; i < count; ++i) {\n      meta = chart.getDatasetMeta(i);\n      line = meta.dataset;\n      source = null;\n      if (line && line.options && line instanceof LineElement) {\n        source = {\n          visible: chart.isDatasetVisible(i),\n          index: i,\n          fill: _decodeFill(line, i, count),\n          chart,\n          axis: meta.controller.options.indexAxis,\n          scale: meta.vScale,\n          line,\n        };\n      }\n      meta.$filler = source;\n      sources.push(source);\n    }\n    for (i = 0; i < count; ++i) {\n      source = sources[i];\n      if (!source || source.fill === false) {\n        continue;\n      }\n      source.fill = _resolveTarget(sources, i, options.propagate);\n    }\n  },\n  beforeDraw(chart, _args, options) {\n    const draw = options.drawTime === 'beforeDraw';\n    const metasets = chart.getSortedVisibleDatasetMetas();\n    const area = chart.chartArea;\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      const source = metasets[i].$filler;\n      if (!source) {\n        continue;\n      }\n      source.line.updateControlPoints(area, source.axis);\n      if (draw && source.fill) {\n        _drawfill(chart.ctx, source, area);\n      }\n    }\n  },\n  beforeDatasetsDraw(chart, _args, options) {\n    if (options.drawTime !== 'beforeDatasetsDraw') {\n      return;\n    }\n    const metasets = chart.getSortedVisibleDatasetMetas();\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      const source = metasets[i].$filler;\n      if (_shouldApplyFill(source)) {\n        _drawfill(chart.ctx, source, chart.chartArea);\n      }\n    }\n  },\n  beforeDatasetDraw(chart, args, options) {\n    const source = args.meta.$filler;\n    if (!_shouldApplyFill(source) || options.drawTime !== 'beforeDatasetDraw') {\n      return;\n    }\n    _drawfill(chart.ctx, source, chart.chartArea);\n  },\n  defaults: {\n    propagate: true,\n    drawTime: 'beforeDatasetDraw'\n  }\n};\n\nconst getBoxSize = (labelOpts, fontSize) => {\n  let {boxHeight = fontSize, boxWidth = fontSize} = labelOpts;\n  if (labelOpts.usePointStyle) {\n    boxHeight = Math.min(boxHeight, fontSize);\n    boxWidth = labelOpts.pointStyleWidth || Math.min(boxWidth, fontSize);\n  }\n  return {\n    boxWidth,\n    boxHeight,\n    itemHeight: Math.max(fontSize, boxHeight)\n  };\n};\nconst itemsEqual = (a, b) => a !== null && b !== null && a.datasetIndex === b.datasetIndex && a.index === b.index;\nclass Legend extends Element {\n  constructor(config) {\n    super();\n    this._added = false;\n    this.legendHitBoxes = [];\n    this._hoveredItem = null;\n    this.doughnutMode = false;\n    this.chart = config.chart;\n    this.options = config.options;\n    this.ctx = config.ctx;\n    this.legendItems = undefined;\n    this.columnSizes = undefined;\n    this.lineWidths = undefined;\n    this.maxHeight = undefined;\n    this.maxWidth = undefined;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.height = undefined;\n    this.width = undefined;\n    this._margins = undefined;\n    this.position = undefined;\n    this.weight = undefined;\n    this.fullSize = undefined;\n  }\n  update(maxWidth, maxHeight, margins) {\n    this.maxWidth = maxWidth;\n    this.maxHeight = maxHeight;\n    this._margins = margins;\n    this.setDimensions();\n    this.buildLabels();\n    this.fit();\n  }\n  setDimensions() {\n    if (this.isHorizontal()) {\n      this.width = this.maxWidth;\n      this.left = this._margins.left;\n      this.right = this.width;\n    } else {\n      this.height = this.maxHeight;\n      this.top = this._margins.top;\n      this.bottom = this.height;\n    }\n  }\n  buildLabels() {\n    const labelOpts = this.options.labels || {};\n    let legendItems = callback(labelOpts.generateLabels, [this.chart], this) || [];\n    if (labelOpts.filter) {\n      legendItems = legendItems.filter((item) => labelOpts.filter(item, this.chart.data));\n    }\n    if (labelOpts.sort) {\n      legendItems = legendItems.sort((a, b) => labelOpts.sort(a, b, this.chart.data));\n    }\n    if (this.options.reverse) {\n      legendItems.reverse();\n    }\n    this.legendItems = legendItems;\n  }\n  fit() {\n    const {options, ctx} = this;\n    if (!options.display) {\n      this.width = this.height = 0;\n      return;\n    }\n    const labelOpts = options.labels;\n    const labelFont = toFont(labelOpts.font);\n    const fontSize = labelFont.size;\n    const titleHeight = this._computeTitleHeight();\n    const {boxWidth, itemHeight} = getBoxSize(labelOpts, fontSize);\n    let width, height;\n    ctx.font = labelFont.string;\n    if (this.isHorizontal()) {\n      width = this.maxWidth;\n      height = this._fitRows(titleHeight, fontSize, boxWidth, itemHeight) + 10;\n    } else {\n      height = this.maxHeight;\n      width = this._fitCols(titleHeight, fontSize, boxWidth, itemHeight) + 10;\n    }\n    this.width = Math.min(width, options.maxWidth || this.maxWidth);\n    this.height = Math.min(height, options.maxHeight || this.maxHeight);\n  }\n  _fitRows(titleHeight, fontSize, boxWidth, itemHeight) {\n    const {ctx, maxWidth, options: {labels: {padding}}} = this;\n    const hitboxes = this.legendHitBoxes = [];\n    const lineWidths = this.lineWidths = [0];\n    const lineHeight = itemHeight + padding;\n    let totalHeight = titleHeight;\n    ctx.textAlign = 'left';\n    ctx.textBaseline = 'middle';\n    let row = -1;\n    let top = -lineHeight;\n    this.legendItems.forEach((legendItem, i) => {\n      const itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n      if (i === 0 || lineWidths[lineWidths.length - 1] + itemWidth + 2 * padding > maxWidth) {\n        totalHeight += lineHeight;\n        lineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\n        top += lineHeight;\n        row++;\n      }\n      hitboxes[i] = {left: 0, top, row, width: itemWidth, height: itemHeight};\n      lineWidths[lineWidths.length - 1] += itemWidth + padding;\n    });\n    return totalHeight;\n  }\n  _fitCols(titleHeight, fontSize, boxWidth, itemHeight) {\n    const {ctx, maxHeight, options: {labels: {padding}}} = this;\n    const hitboxes = this.legendHitBoxes = [];\n    const columnSizes = this.columnSizes = [];\n    const heightLimit = maxHeight - titleHeight;\n    let totalWidth = padding;\n    let currentColWidth = 0;\n    let currentColHeight = 0;\n    let left = 0;\n    let col = 0;\n    this.legendItems.forEach((legendItem, i) => {\n      const itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n      if (i > 0 && currentColHeight + itemHeight + 2 * padding > heightLimit) {\n        totalWidth += currentColWidth + padding;\n        columnSizes.push({width: currentColWidth, height: currentColHeight});\n        left += currentColWidth + padding;\n        col++;\n        currentColWidth = currentColHeight = 0;\n      }\n      hitboxes[i] = {left, top: currentColHeight, col, width: itemWidth, height: itemHeight};\n      currentColWidth = Math.max(currentColWidth, itemWidth);\n      currentColHeight += itemHeight + padding;\n    });\n    totalWidth += currentColWidth;\n    columnSizes.push({width: currentColWidth, height: currentColHeight});\n    return totalWidth;\n  }\n  adjustHitBoxes() {\n    if (!this.options.display) {\n      return;\n    }\n    const titleHeight = this._computeTitleHeight();\n    const {legendHitBoxes: hitboxes, options: {align, labels: {padding}, rtl}} = this;\n    const rtlHelper = getRtlAdapter(rtl, this.left, this.width);\n    if (this.isHorizontal()) {\n      let row = 0;\n      let left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]);\n      for (const hitbox of hitboxes) {\n        if (row !== hitbox.row) {\n          row = hitbox.row;\n          left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]);\n        }\n        hitbox.top += this.top + titleHeight + padding;\n        hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(left), hitbox.width);\n        left += hitbox.width + padding;\n      }\n    } else {\n      let col = 0;\n      let top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height);\n      for (const hitbox of hitboxes) {\n        if (hitbox.col !== col) {\n          col = hitbox.col;\n          top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height);\n        }\n        hitbox.top = top;\n        hitbox.left += this.left + padding;\n        hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(hitbox.left), hitbox.width);\n        top += hitbox.height + padding;\n      }\n    }\n  }\n  isHorizontal() {\n    return this.options.position === 'top' || this.options.position === 'bottom';\n  }\n  draw() {\n    if (this.options.display) {\n      const ctx = this.ctx;\n      clipArea(ctx, this);\n      this._draw();\n      unclipArea(ctx);\n    }\n  }\n  _draw() {\n    const {options: opts, columnSizes, lineWidths, ctx} = this;\n    const {align, labels: labelOpts} = opts;\n    const defaultColor = defaults.color;\n    const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width);\n    const labelFont = toFont(labelOpts.font);\n    const {color: fontColor, padding} = labelOpts;\n    const fontSize = labelFont.size;\n    const halfFontSize = fontSize / 2;\n    let cursor;\n    this.drawTitle();\n    ctx.textAlign = rtlHelper.textAlign('left');\n    ctx.textBaseline = 'middle';\n    ctx.lineWidth = 0.5;\n    ctx.font = labelFont.string;\n    const {boxWidth, boxHeight, itemHeight} = getBoxSize(labelOpts, fontSize);\n    const drawLegendBox = function(x, y, legendItem) {\n      if (isNaN(boxWidth) || boxWidth <= 0 || isNaN(boxHeight) || boxHeight < 0) {\n        return;\n      }\n      ctx.save();\n      const lineWidth = valueOrDefault(legendItem.lineWidth, 1);\n      ctx.fillStyle = valueOrDefault(legendItem.fillStyle, defaultColor);\n      ctx.lineCap = valueOrDefault(legendItem.lineCap, 'butt');\n      ctx.lineDashOffset = valueOrDefault(legendItem.lineDashOffset, 0);\n      ctx.lineJoin = valueOrDefault(legendItem.lineJoin, 'miter');\n      ctx.lineWidth = lineWidth;\n      ctx.strokeStyle = valueOrDefault(legendItem.strokeStyle, defaultColor);\n      ctx.setLineDash(valueOrDefault(legendItem.lineDash, []));\n      if (labelOpts.usePointStyle) {\n        const drawOptions = {\n          radius: boxHeight * Math.SQRT2 / 2,\n          pointStyle: legendItem.pointStyle,\n          rotation: legendItem.rotation,\n          borderWidth: lineWidth\n        };\n        const centerX = rtlHelper.xPlus(x, boxWidth / 2);\n        const centerY = y + halfFontSize;\n        drawPointLegend(ctx, drawOptions, centerX, centerY, labelOpts.pointStyleWidth && boxWidth);\n      } else {\n        const yBoxTop = y + Math.max((fontSize - boxHeight) / 2, 0);\n        const xBoxLeft = rtlHelper.leftForLtr(x, boxWidth);\n        const borderRadius = toTRBLCorners(legendItem.borderRadius);\n        ctx.beginPath();\n        if (Object.values(borderRadius).some(v => v !== 0)) {\n          addRoundedRectPath(ctx, {\n            x: xBoxLeft,\n            y: yBoxTop,\n            w: boxWidth,\n            h: boxHeight,\n            radius: borderRadius,\n          });\n        } else {\n          ctx.rect(xBoxLeft, yBoxTop, boxWidth, boxHeight);\n        }\n        ctx.fill();\n        if (lineWidth !== 0) {\n          ctx.stroke();\n        }\n      }\n      ctx.restore();\n    };\n    const fillText = function(x, y, legendItem) {\n      renderText(ctx, legendItem.text, x, y + (itemHeight / 2), labelFont, {\n        strikethrough: legendItem.hidden,\n        textAlign: rtlHelper.textAlign(legendItem.textAlign)\n      });\n    };\n    const isHorizontal = this.isHorizontal();\n    const titleHeight = this._computeTitleHeight();\n    if (isHorizontal) {\n      cursor = {\n        x: _alignStartEnd(align, this.left + padding, this.right - lineWidths[0]),\n        y: this.top + padding + titleHeight,\n        line: 0\n      };\n    } else {\n      cursor = {\n        x: this.left + padding,\n        y: _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[0].height),\n        line: 0\n      };\n    }\n    overrideTextDirection(this.ctx, opts.textDirection);\n    const lineHeight = itemHeight + padding;\n    this.legendItems.forEach((legendItem, i) => {\n      ctx.strokeStyle = legendItem.fontColor || fontColor;\n      ctx.fillStyle = legendItem.fontColor || fontColor;\n      const textWidth = ctx.measureText(legendItem.text).width;\n      const textAlign = rtlHelper.textAlign(legendItem.textAlign || (legendItem.textAlign = labelOpts.textAlign));\n      const width = boxWidth + halfFontSize + textWidth;\n      let x = cursor.x;\n      let y = cursor.y;\n      rtlHelper.setWidth(this.width);\n      if (isHorizontal) {\n        if (i > 0 && x + width + padding > this.right) {\n          y = cursor.y += lineHeight;\n          cursor.line++;\n          x = cursor.x = _alignStartEnd(align, this.left + padding, this.right - lineWidths[cursor.line]);\n        }\n      } else if (i > 0 && y + lineHeight > this.bottom) {\n        x = cursor.x = x + columnSizes[cursor.line].width + padding;\n        cursor.line++;\n        y = cursor.y = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[cursor.line].height);\n      }\n      const realX = rtlHelper.x(x);\n      drawLegendBox(realX, y, legendItem);\n      x = _textX(textAlign, x + boxWidth + halfFontSize, isHorizontal ? x + width : this.right, opts.rtl);\n      fillText(rtlHelper.x(x), y, legendItem);\n      if (isHorizontal) {\n        cursor.x += width + padding;\n      } else {\n        cursor.y += lineHeight;\n      }\n    });\n    restoreTextDirection(this.ctx, opts.textDirection);\n  }\n  drawTitle() {\n    const opts = this.options;\n    const titleOpts = opts.title;\n    const titleFont = toFont(titleOpts.font);\n    const titlePadding = toPadding(titleOpts.padding);\n    if (!titleOpts.display) {\n      return;\n    }\n    const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width);\n    const ctx = this.ctx;\n    const position = titleOpts.position;\n    const halfFontSize = titleFont.size / 2;\n    const topPaddingPlusHalfFontSize = titlePadding.top + halfFontSize;\n    let y;\n    let left = this.left;\n    let maxWidth = this.width;\n    if (this.isHorizontal()) {\n      maxWidth = Math.max(...this.lineWidths);\n      y = this.top + topPaddingPlusHalfFontSize;\n      left = _alignStartEnd(opts.align, left, this.right - maxWidth);\n    } else {\n      const maxHeight = this.columnSizes.reduce((acc, size) => Math.max(acc, size.height), 0);\n      y = topPaddingPlusHalfFontSize + _alignStartEnd(opts.align, this.top, this.bottom - maxHeight - opts.labels.padding - this._computeTitleHeight());\n    }\n    const x = _alignStartEnd(position, left, left + maxWidth);\n    ctx.textAlign = rtlHelper.textAlign(_toLeftRightCenter(position));\n    ctx.textBaseline = 'middle';\n    ctx.strokeStyle = titleOpts.color;\n    ctx.fillStyle = titleOpts.color;\n    ctx.font = titleFont.string;\n    renderText(ctx, titleOpts.text, x, y, titleFont);\n  }\n  _computeTitleHeight() {\n    const titleOpts = this.options.title;\n    const titleFont = toFont(titleOpts.font);\n    const titlePadding = toPadding(titleOpts.padding);\n    return titleOpts.display ? titleFont.lineHeight + titlePadding.height : 0;\n  }\n  _getLegendItemAt(x, y) {\n    let i, hitBox, lh;\n    if (_isBetween(x, this.left, this.right)\n      && _isBetween(y, this.top, this.bottom)) {\n      lh = this.legendHitBoxes;\n      for (i = 0; i < lh.length; ++i) {\n        hitBox = lh[i];\n        if (_isBetween(x, hitBox.left, hitBox.left + hitBox.width)\n          && _isBetween(y, hitBox.top, hitBox.top + hitBox.height)) {\n          return this.legendItems[i];\n        }\n      }\n    }\n    return null;\n  }\n  handleEvent(e) {\n    const opts = this.options;\n    if (!isListened(e.type, opts)) {\n      return;\n    }\n    const hoveredItem = this._getLegendItemAt(e.x, e.y);\n    if (e.type === 'mousemove' || e.type === 'mouseout') {\n      const previous = this._hoveredItem;\n      const sameItem = itemsEqual(previous, hoveredItem);\n      if (previous && !sameItem) {\n        callback(opts.onLeave, [e, previous, this], this);\n      }\n      this._hoveredItem = hoveredItem;\n      if (hoveredItem && !sameItem) {\n        callback(opts.onHover, [e, hoveredItem, this], this);\n      }\n    } else if (hoveredItem) {\n      callback(opts.onClick, [e, hoveredItem, this], this);\n    }\n  }\n}\nfunction isListened(type, opts) {\n  if ((type === 'mousemove' || type === 'mouseout') && (opts.onHover || opts.onLeave)) {\n    return true;\n  }\n  if (opts.onClick && (type === 'click' || type === 'mouseup')) {\n    return true;\n  }\n  return false;\n}\nvar plugin_legend = {\n  id: 'legend',\n  _element: Legend,\n  start(chart, _args, options) {\n    const legend = chart.legend = new Legend({ctx: chart.ctx, options, chart});\n    layouts.configure(chart, legend, options);\n    layouts.addBox(chart, legend);\n  },\n  stop(chart) {\n    layouts.removeBox(chart, chart.legend);\n    delete chart.legend;\n  },\n  beforeUpdate(chart, _args, options) {\n    const legend = chart.legend;\n    layouts.configure(chart, legend, options);\n    legend.options = options;\n  },\n  afterUpdate(chart) {\n    const legend = chart.legend;\n    legend.buildLabels();\n    legend.adjustHitBoxes();\n  },\n  afterEvent(chart, args) {\n    if (!args.replay) {\n      chart.legend.handleEvent(args.event);\n    }\n  },\n  defaults: {\n    display: true,\n    position: 'top',\n    align: 'center',\n    fullSize: true,\n    reverse: false,\n    weight: 1000,\n    onClick(e, legendItem, legend) {\n      const index = legendItem.datasetIndex;\n      const ci = legend.chart;\n      if (ci.isDatasetVisible(index)) {\n        ci.hide(index);\n        legendItem.hidden = true;\n      } else {\n        ci.show(index);\n        legendItem.hidden = false;\n      }\n    },\n    onHover: null,\n    onLeave: null,\n    labels: {\n      color: (ctx) => ctx.chart.options.color,\n      boxWidth: 40,\n      padding: 10,\n      generateLabels(chart) {\n        const datasets = chart.data.datasets;\n        const {labels: {usePointStyle, pointStyle, textAlign, color}} = chart.legend.options;\n        return chart._getSortedDatasetMetas().map((meta) => {\n          const style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\n          const borderWidth = toPadding(style.borderWidth);\n          return {\n            text: datasets[meta.index].label,\n            fillStyle: style.backgroundColor,\n            fontColor: color,\n            hidden: !meta.visible,\n            lineCap: style.borderCapStyle,\n            lineDash: style.borderDash,\n            lineDashOffset: style.borderDashOffset,\n            lineJoin: style.borderJoinStyle,\n            lineWidth: (borderWidth.width + borderWidth.height) / 4,\n            strokeStyle: style.borderColor,\n            pointStyle: pointStyle || style.pointStyle,\n            rotation: style.rotation,\n            textAlign: textAlign || style.textAlign,\n            borderRadius: 0,\n            datasetIndex: meta.index\n          };\n        }, this);\n      }\n    },\n    title: {\n      color: (ctx) => ctx.chart.options.color,\n      display: false,\n      position: 'center',\n      text: '',\n    }\n  },\n  descriptors: {\n    _scriptable: (name) => !name.startsWith('on'),\n    labels: {\n      _scriptable: (name) => !['generateLabels', 'filter', 'sort'].includes(name),\n    }\n  },\n};\n\nclass Title extends Element {\n  constructor(config) {\n    super();\n    this.chart = config.chart;\n    this.options = config.options;\n    this.ctx = config.ctx;\n    this._padding = undefined;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this.position = undefined;\n    this.weight = undefined;\n    this.fullSize = undefined;\n  }\n  update(maxWidth, maxHeight) {\n    const opts = this.options;\n    this.left = 0;\n    this.top = 0;\n    if (!opts.display) {\n      this.width = this.height = this.right = this.bottom = 0;\n      return;\n    }\n    this.width = this.right = maxWidth;\n    this.height = this.bottom = maxHeight;\n    const lineCount = isArray(opts.text) ? opts.text.length : 1;\n    this._padding = toPadding(opts.padding);\n    const textSize = lineCount * toFont(opts.font).lineHeight + this._padding.height;\n    if (this.isHorizontal()) {\n      this.height = textSize;\n    } else {\n      this.width = textSize;\n    }\n  }\n  isHorizontal() {\n    const pos = this.options.position;\n    return pos === 'top' || pos === 'bottom';\n  }\n  _drawArgs(offset) {\n    const {top, left, bottom, right, options} = this;\n    const align = options.align;\n    let rotation = 0;\n    let maxWidth, titleX, titleY;\n    if (this.isHorizontal()) {\n      titleX = _alignStartEnd(align, left, right);\n      titleY = top + offset;\n      maxWidth = right - left;\n    } else {\n      if (options.position === 'left') {\n        titleX = left + offset;\n        titleY = _alignStartEnd(align, bottom, top);\n        rotation = PI * -0.5;\n      } else {\n        titleX = right - offset;\n        titleY = _alignStartEnd(align, top, bottom);\n        rotation = PI * 0.5;\n      }\n      maxWidth = bottom - top;\n    }\n    return {titleX, titleY, maxWidth, rotation};\n  }\n  draw() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    if (!opts.display) {\n      return;\n    }\n    const fontOpts = toFont(opts.font);\n    const lineHeight = fontOpts.lineHeight;\n    const offset = lineHeight / 2 + this._padding.top;\n    const {titleX, titleY, maxWidth, rotation} = this._drawArgs(offset);\n    renderText(ctx, opts.text, 0, 0, fontOpts, {\n      color: opts.color,\n      maxWidth,\n      rotation,\n      textAlign: _toLeftRightCenter(opts.align),\n      textBaseline: 'middle',\n      translation: [titleX, titleY],\n    });\n  }\n}\nfunction createTitle(chart, titleOpts) {\n  const title = new Title({\n    ctx: chart.ctx,\n    options: titleOpts,\n    chart\n  });\n  layouts.configure(chart, title, titleOpts);\n  layouts.addBox(chart, title);\n  chart.titleBlock = title;\n}\nvar plugin_title = {\n  id: 'title',\n  _element: Title,\n  start(chart, _args, options) {\n    createTitle(chart, options);\n  },\n  stop(chart) {\n    const titleBlock = chart.titleBlock;\n    layouts.removeBox(chart, titleBlock);\n    delete chart.titleBlock;\n  },\n  beforeUpdate(chart, _args, options) {\n    const title = chart.titleBlock;\n    layouts.configure(chart, title, options);\n    title.options = options;\n  },\n  defaults: {\n    align: 'center',\n    display: false,\n    font: {\n      weight: 'bold',\n    },\n    fullSize: true,\n    padding: 10,\n    position: 'top',\n    text: '',\n    weight: 2000\n  },\n  defaultRoutes: {\n    color: 'color'\n  },\n  descriptors: {\n    _scriptable: true,\n    _indexable: false,\n  },\n};\n\nconst map = new WeakMap();\nvar plugin_subtitle = {\n  id: 'subtitle',\n  start(chart, _args, options) {\n    const title = new Title({\n      ctx: chart.ctx,\n      options,\n      chart\n    });\n    layouts.configure(chart, title, options);\n    layouts.addBox(chart, title);\n    map.set(chart, title);\n  },\n  stop(chart) {\n    layouts.removeBox(chart, map.get(chart));\n    map.delete(chart);\n  },\n  beforeUpdate(chart, _args, options) {\n    const title = map.get(chart);\n    layouts.configure(chart, title, options);\n    title.options = options;\n  },\n  defaults: {\n    align: 'center',\n    display: false,\n    font: {\n      weight: 'normal',\n    },\n    fullSize: true,\n    padding: 0,\n    position: 'top',\n    text: '',\n    weight: 1500\n  },\n  defaultRoutes: {\n    color: 'color'\n  },\n  descriptors: {\n    _scriptable: true,\n    _indexable: false,\n  },\n};\n\nconst positioners = {\n  average(items) {\n    if (!items.length) {\n      return false;\n    }\n    let i, len;\n    let x = 0;\n    let y = 0;\n    let count = 0;\n    for (i = 0, len = items.length; i < len; ++i) {\n      const el = items[i].element;\n      if (el && el.hasValue()) {\n        const pos = el.tooltipPosition();\n        x += pos.x;\n        y += pos.y;\n        ++count;\n      }\n    }\n    return {\n      x: x / count,\n      y: y / count\n    };\n  },\n  nearest(items, eventPosition) {\n    if (!items.length) {\n      return false;\n    }\n    let x = eventPosition.x;\n    let y = eventPosition.y;\n    let minDistance = Number.POSITIVE_INFINITY;\n    let i, len, nearestElement;\n    for (i = 0, len = items.length; i < len; ++i) {\n      const el = items[i].element;\n      if (el && el.hasValue()) {\n        const center = el.getCenterPoint();\n        const d = distanceBetweenPoints(eventPosition, center);\n        if (d < minDistance) {\n          minDistance = d;\n          nearestElement = el;\n        }\n      }\n    }\n    if (nearestElement) {\n      const tp = nearestElement.tooltipPosition();\n      x = tp.x;\n      y = tp.y;\n    }\n    return {\n      x,\n      y\n    };\n  }\n};\nfunction pushOrConcat(base, toPush) {\n  if (toPush) {\n    if (isArray(toPush)) {\n      Array.prototype.push.apply(base, toPush);\n    } else {\n      base.push(toPush);\n    }\n  }\n  return base;\n}\nfunction splitNewlines(str) {\n  if ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\n    return str.split('\\n');\n  }\n  return str;\n}\nfunction createTooltipItem(chart, item) {\n  const {element, datasetIndex, index} = item;\n  const controller = chart.getDatasetMeta(datasetIndex).controller;\n  const {label, value} = controller.getLabelAndValue(index);\n  return {\n    chart,\n    label,\n    parsed: controller.getParsed(index),\n    raw: chart.data.datasets[datasetIndex].data[index],\n    formattedValue: value,\n    dataset: controller.getDataset(),\n    dataIndex: index,\n    datasetIndex,\n    element\n  };\n}\nfunction getTooltipSize(tooltip, options) {\n  const ctx = tooltip.chart.ctx;\n  const {body, footer, title} = tooltip;\n  const {boxWidth, boxHeight} = options;\n  const bodyFont = toFont(options.bodyFont);\n  const titleFont = toFont(options.titleFont);\n  const footerFont = toFont(options.footerFont);\n  const titleLineCount = title.length;\n  const footerLineCount = footer.length;\n  const bodyLineItemCount = body.length;\n  const padding = toPadding(options.padding);\n  let height = padding.height;\n  let width = 0;\n  let combinedBodyLength = body.reduce((count, bodyItem) => count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length, 0);\n  combinedBodyLength += tooltip.beforeBody.length + tooltip.afterBody.length;\n  if (titleLineCount) {\n    height += titleLineCount * titleFont.lineHeight\n\t\t\t+ (titleLineCount - 1) * options.titleSpacing\n\t\t\t+ options.titleMarginBottom;\n  }\n  if (combinedBodyLength) {\n    const bodyLineHeight = options.displayColors ? Math.max(boxHeight, bodyFont.lineHeight) : bodyFont.lineHeight;\n    height += bodyLineItemCount * bodyLineHeight\n\t\t\t+ (combinedBodyLength - bodyLineItemCount) * bodyFont.lineHeight\n\t\t\t+ (combinedBodyLength - 1) * options.bodySpacing;\n  }\n  if (footerLineCount) {\n    height += options.footerMarginTop\n\t\t\t+ footerLineCount * footerFont.lineHeight\n\t\t\t+ (footerLineCount - 1) * options.footerSpacing;\n  }\n  let widthPadding = 0;\n  const maxLineWidth = function(line) {\n    width = Math.max(width, ctx.measureText(line).width + widthPadding);\n  };\n  ctx.save();\n  ctx.font = titleFont.string;\n  each(tooltip.title, maxLineWidth);\n  ctx.font = bodyFont.string;\n  each(tooltip.beforeBody.concat(tooltip.afterBody), maxLineWidth);\n  widthPadding = options.displayColors ? (boxWidth + 2 + options.boxPadding) : 0;\n  each(body, (bodyItem) => {\n    each(bodyItem.before, maxLineWidth);\n    each(bodyItem.lines, maxLineWidth);\n    each(bodyItem.after, maxLineWidth);\n  });\n  widthPadding = 0;\n  ctx.font = footerFont.string;\n  each(tooltip.footer, maxLineWidth);\n  ctx.restore();\n  width += padding.width;\n  return {width, height};\n}\nfunction determineYAlign(chart, size) {\n  const {y, height} = size;\n  if (y < height / 2) {\n    return 'top';\n  } else if (y > (chart.height - height / 2)) {\n    return 'bottom';\n  }\n  return 'center';\n}\nfunction doesNotFitWithAlign(xAlign, chart, options, size) {\n  const {x, width} = size;\n  const caret = options.caretSize + options.caretPadding;\n  if (xAlign === 'left' && x + width + caret > chart.width) {\n    return true;\n  }\n  if (xAlign === 'right' && x - width - caret < 0) {\n    return true;\n  }\n}\nfunction determineXAlign(chart, options, size, yAlign) {\n  const {x, width} = size;\n  const {width: chartWidth, chartArea: {left, right}} = chart;\n  let xAlign = 'center';\n  if (yAlign === 'center') {\n    xAlign = x <= (left + right) / 2 ? 'left' : 'right';\n  } else if (x <= width / 2) {\n    xAlign = 'left';\n  } else if (x >= chartWidth - width / 2) {\n    xAlign = 'right';\n  }\n  if (doesNotFitWithAlign(xAlign, chart, options, size)) {\n    xAlign = 'center';\n  }\n  return xAlign;\n}\nfunction determineAlignment(chart, options, size) {\n  const yAlign = size.yAlign || options.yAlign || determineYAlign(chart, size);\n  return {\n    xAlign: size.xAlign || options.xAlign || determineXAlign(chart, options, size, yAlign),\n    yAlign\n  };\n}\nfunction alignX(size, xAlign) {\n  let {x, width} = size;\n  if (xAlign === 'right') {\n    x -= width;\n  } else if (xAlign === 'center') {\n    x -= (width / 2);\n  }\n  return x;\n}\nfunction alignY(size, yAlign, paddingAndSize) {\n  let {y, height} = size;\n  if (yAlign === 'top') {\n    y += paddingAndSize;\n  } else if (yAlign === 'bottom') {\n    y -= height + paddingAndSize;\n  } else {\n    y -= (height / 2);\n  }\n  return y;\n}\nfunction getBackgroundPoint(options, size, alignment, chart) {\n  const {caretSize, caretPadding, cornerRadius} = options;\n  const {xAlign, yAlign} = alignment;\n  const paddingAndSize = caretSize + caretPadding;\n  const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(cornerRadius);\n  let x = alignX(size, xAlign);\n  const y = alignY(size, yAlign, paddingAndSize);\n  if (yAlign === 'center') {\n    if (xAlign === 'left') {\n      x += paddingAndSize;\n    } else if (xAlign === 'right') {\n      x -= paddingAndSize;\n    }\n  } else if (xAlign === 'left') {\n    x -= Math.max(topLeft, bottomLeft) + caretSize;\n  } else if (xAlign === 'right') {\n    x += Math.max(topRight, bottomRight) + caretSize;\n  }\n  return {\n    x: _limitValue(x, 0, chart.width - size.width),\n    y: _limitValue(y, 0, chart.height - size.height)\n  };\n}\nfunction getAlignedX(tooltip, align, options) {\n  const padding = toPadding(options.padding);\n  return align === 'center'\n    ? tooltip.x + tooltip.width / 2\n    : align === 'right'\n      ? tooltip.x + tooltip.width - padding.right\n      : tooltip.x + padding.left;\n}\nfunction getBeforeAfterBodyLines(callback) {\n  return pushOrConcat([], splitNewlines(callback));\n}\nfunction createTooltipContext(parent, tooltip, tooltipItems) {\n  return createContext(parent, {\n    tooltip,\n    tooltipItems,\n    type: 'tooltip'\n  });\n}\nfunction overrideCallbacks(callbacks, context) {\n  const override = context && context.dataset && context.dataset.tooltip && context.dataset.tooltip.callbacks;\n  return override ? callbacks.override(override) : callbacks;\n}\nclass Tooltip extends Element {\n  constructor(config) {\n    super();\n    this.opacity = 0;\n    this._active = [];\n    this._eventPosition = undefined;\n    this._size = undefined;\n    this._cachedAnimations = undefined;\n    this._tooltipItems = [];\n    this.$animations = undefined;\n    this.$context = undefined;\n    this.chart = config.chart || config._chart;\n    this._chart = this.chart;\n    this.options = config.options;\n    this.dataPoints = undefined;\n    this.title = undefined;\n    this.beforeBody = undefined;\n    this.body = undefined;\n    this.afterBody = undefined;\n    this.footer = undefined;\n    this.xAlign = undefined;\n    this.yAlign = undefined;\n    this.x = undefined;\n    this.y = undefined;\n    this.height = undefined;\n    this.width = undefined;\n    this.caretX = undefined;\n    this.caretY = undefined;\n    this.labelColors = undefined;\n    this.labelPointStyles = undefined;\n    this.labelTextColors = undefined;\n  }\n  initialize(options) {\n    this.options = options;\n    this._cachedAnimations = undefined;\n    this.$context = undefined;\n  }\n  _resolveAnimations() {\n    const cached = this._cachedAnimations;\n    if (cached) {\n      return cached;\n    }\n    const chart = this.chart;\n    const options = this.options.setContext(this.getContext());\n    const opts = options.enabled && chart.options.animation && options.animations;\n    const animations = new Animations(this.chart, opts);\n    if (opts._cacheable) {\n      this._cachedAnimations = Object.freeze(animations);\n    }\n    return animations;\n  }\n  getContext() {\n    return this.$context ||\n\t\t\t(this.$context = createTooltipContext(this.chart.getContext(), this, this._tooltipItems));\n  }\n  getTitle(context, options) {\n    const {callbacks} = options;\n    const beforeTitle = callbacks.beforeTitle.apply(this, [context]);\n    const title = callbacks.title.apply(this, [context]);\n    const afterTitle = callbacks.afterTitle.apply(this, [context]);\n    let lines = [];\n    lines = pushOrConcat(lines, splitNewlines(beforeTitle));\n    lines = pushOrConcat(lines, splitNewlines(title));\n    lines = pushOrConcat(lines, splitNewlines(afterTitle));\n    return lines;\n  }\n  getBeforeBody(tooltipItems, options) {\n    return getBeforeAfterBodyLines(options.callbacks.beforeBody.apply(this, [tooltipItems]));\n  }\n  getBody(tooltipItems, options) {\n    const {callbacks} = options;\n    const bodyItems = [];\n    each(tooltipItems, (context) => {\n      const bodyItem = {\n        before: [],\n        lines: [],\n        after: []\n      };\n      const scoped = overrideCallbacks(callbacks, context);\n      pushOrConcat(bodyItem.before, splitNewlines(scoped.beforeLabel.call(this, context)));\n      pushOrConcat(bodyItem.lines, scoped.label.call(this, context));\n      pushOrConcat(bodyItem.after, splitNewlines(scoped.afterLabel.call(this, context)));\n      bodyItems.push(bodyItem);\n    });\n    return bodyItems;\n  }\n  getAfterBody(tooltipItems, options) {\n    return getBeforeAfterBodyLines(options.callbacks.afterBody.apply(this, [tooltipItems]));\n  }\n  getFooter(tooltipItems, options) {\n    const {callbacks} = options;\n    const beforeFooter = callbacks.beforeFooter.apply(this, [tooltipItems]);\n    const footer = callbacks.footer.apply(this, [tooltipItems]);\n    const afterFooter = callbacks.afterFooter.apply(this, [tooltipItems]);\n    let lines = [];\n    lines = pushOrConcat(lines, splitNewlines(beforeFooter));\n    lines = pushOrConcat(lines, splitNewlines(footer));\n    lines = pushOrConcat(lines, splitNewlines(afterFooter));\n    return lines;\n  }\n  _createItems(options) {\n    const active = this._active;\n    const data = this.chart.data;\n    const labelColors = [];\n    const labelPointStyles = [];\n    const labelTextColors = [];\n    let tooltipItems = [];\n    let i, len;\n    for (i = 0, len = active.length; i < len; ++i) {\n      tooltipItems.push(createTooltipItem(this.chart, active[i]));\n    }\n    if (options.filter) {\n      tooltipItems = tooltipItems.filter((element, index, array) => options.filter(element, index, array, data));\n    }\n    if (options.itemSort) {\n      tooltipItems = tooltipItems.sort((a, b) => options.itemSort(a, b, data));\n    }\n    each(tooltipItems, (context) => {\n      const scoped = overrideCallbacks(options.callbacks, context);\n      labelColors.push(scoped.labelColor.call(this, context));\n      labelPointStyles.push(scoped.labelPointStyle.call(this, context));\n      labelTextColors.push(scoped.labelTextColor.call(this, context));\n    });\n    this.labelColors = labelColors;\n    this.labelPointStyles = labelPointStyles;\n    this.labelTextColors = labelTextColors;\n    this.dataPoints = tooltipItems;\n    return tooltipItems;\n  }\n  update(changed, replay) {\n    const options = this.options.setContext(this.getContext());\n    const active = this._active;\n    let properties;\n    let tooltipItems = [];\n    if (!active.length) {\n      if (this.opacity !== 0) {\n        properties = {\n          opacity: 0\n        };\n      }\n    } else {\n      const position = positioners[options.position].call(this, active, this._eventPosition);\n      tooltipItems = this._createItems(options);\n      this.title = this.getTitle(tooltipItems, options);\n      this.beforeBody = this.getBeforeBody(tooltipItems, options);\n      this.body = this.getBody(tooltipItems, options);\n      this.afterBody = this.getAfterBody(tooltipItems, options);\n      this.footer = this.getFooter(tooltipItems, options);\n      const size = this._size = getTooltipSize(this, options);\n      const positionAndSize = Object.assign({}, position, size);\n      const alignment = determineAlignment(this.chart, options, positionAndSize);\n      const backgroundPoint = getBackgroundPoint(options, positionAndSize, alignment, this.chart);\n      this.xAlign = alignment.xAlign;\n      this.yAlign = alignment.yAlign;\n      properties = {\n        opacity: 1,\n        x: backgroundPoint.x,\n        y: backgroundPoint.y,\n        width: size.width,\n        height: size.height,\n        caretX: position.x,\n        caretY: position.y\n      };\n    }\n    this._tooltipItems = tooltipItems;\n    this.$context = undefined;\n    if (properties) {\n      this._resolveAnimations().update(this, properties);\n    }\n    if (changed && options.external) {\n      options.external.call(this, {chart: this.chart, tooltip: this, replay});\n    }\n  }\n  drawCaret(tooltipPoint, ctx, size, options) {\n    const caretPosition = this.getCaretPosition(tooltipPoint, size, options);\n    ctx.lineTo(caretPosition.x1, caretPosition.y1);\n    ctx.lineTo(caretPosition.x2, caretPosition.y2);\n    ctx.lineTo(caretPosition.x3, caretPosition.y3);\n  }\n  getCaretPosition(tooltipPoint, size, options) {\n    const {xAlign, yAlign} = this;\n    const {caretSize, cornerRadius} = options;\n    const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(cornerRadius);\n    const {x: ptX, y: ptY} = tooltipPoint;\n    const {width, height} = size;\n    let x1, x2, x3, y1, y2, y3;\n    if (yAlign === 'center') {\n      y2 = ptY + (height / 2);\n      if (xAlign === 'left') {\n        x1 = ptX;\n        x2 = x1 - caretSize;\n        y1 = y2 + caretSize;\n        y3 = y2 - caretSize;\n      } else {\n        x1 = ptX + width;\n        x2 = x1 + caretSize;\n        y1 = y2 - caretSize;\n        y3 = y2 + caretSize;\n      }\n      x3 = x1;\n    } else {\n      if (xAlign === 'left') {\n        x2 = ptX + Math.max(topLeft, bottomLeft) + (caretSize);\n      } else if (xAlign === 'right') {\n        x2 = ptX + width - Math.max(topRight, bottomRight) - caretSize;\n      } else {\n        x2 = this.caretX;\n      }\n      if (yAlign === 'top') {\n        y1 = ptY;\n        y2 = y1 - caretSize;\n        x1 = x2 - caretSize;\n        x3 = x2 + caretSize;\n      } else {\n        y1 = ptY + height;\n        y2 = y1 + caretSize;\n        x1 = x2 + caretSize;\n        x3 = x2 - caretSize;\n      }\n      y3 = y1;\n    }\n    return {x1, x2, x3, y1, y2, y3};\n  }\n  drawTitle(pt, ctx, options) {\n    const title = this.title;\n    const length = title.length;\n    let titleFont, titleSpacing, i;\n    if (length) {\n      const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n      pt.x = getAlignedX(this, options.titleAlign, options);\n      ctx.textAlign = rtlHelper.textAlign(options.titleAlign);\n      ctx.textBaseline = 'middle';\n      titleFont = toFont(options.titleFont);\n      titleSpacing = options.titleSpacing;\n      ctx.fillStyle = options.titleColor;\n      ctx.font = titleFont.string;\n      for (i = 0; i < length; ++i) {\n        ctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFont.lineHeight / 2);\n        pt.y += titleFont.lineHeight + titleSpacing;\n        if (i + 1 === length) {\n          pt.y += options.titleMarginBottom - titleSpacing;\n        }\n      }\n    }\n  }\n  _drawColorBox(ctx, pt, i, rtlHelper, options) {\n    const labelColors = this.labelColors[i];\n    const labelPointStyle = this.labelPointStyles[i];\n    const {boxHeight, boxWidth, boxPadding} = options;\n    const bodyFont = toFont(options.bodyFont);\n    const colorX = getAlignedX(this, 'left', options);\n    const rtlColorX = rtlHelper.x(colorX);\n    const yOffSet = boxHeight < bodyFont.lineHeight ? (bodyFont.lineHeight - boxHeight) / 2 : 0;\n    const colorY = pt.y + yOffSet;\n    if (options.usePointStyle) {\n      const drawOptions = {\n        radius: Math.min(boxWidth, boxHeight) / 2,\n        pointStyle: labelPointStyle.pointStyle,\n        rotation: labelPointStyle.rotation,\n        borderWidth: 1\n      };\n      const centerX = rtlHelper.leftForLtr(rtlColorX, boxWidth) + boxWidth / 2;\n      const centerY = colorY + boxHeight / 2;\n      ctx.strokeStyle = options.multiKeyBackground;\n      ctx.fillStyle = options.multiKeyBackground;\n      drawPoint(ctx, drawOptions, centerX, centerY);\n      ctx.strokeStyle = labelColors.borderColor;\n      ctx.fillStyle = labelColors.backgroundColor;\n      drawPoint(ctx, drawOptions, centerX, centerY);\n    } else {\n      ctx.lineWidth = isObject(labelColors.borderWidth) ? Math.max(...Object.values(labelColors.borderWidth)) : (labelColors.borderWidth || 1);\n      ctx.strokeStyle = labelColors.borderColor;\n      ctx.setLineDash(labelColors.borderDash || []);\n      ctx.lineDashOffset = labelColors.borderDashOffset || 0;\n      const outerX = rtlHelper.leftForLtr(rtlColorX, boxWidth - boxPadding);\n      const innerX = rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), boxWidth - boxPadding - 2);\n      const borderRadius = toTRBLCorners(labelColors.borderRadius);\n      if (Object.values(borderRadius).some(v => v !== 0)) {\n        ctx.beginPath();\n        ctx.fillStyle = options.multiKeyBackground;\n        addRoundedRectPath(ctx, {\n          x: outerX,\n          y: colorY,\n          w: boxWidth,\n          h: boxHeight,\n          radius: borderRadius,\n        });\n        ctx.fill();\n        ctx.stroke();\n        ctx.fillStyle = labelColors.backgroundColor;\n        ctx.beginPath();\n        addRoundedRectPath(ctx, {\n          x: innerX,\n          y: colorY + 1,\n          w: boxWidth - 2,\n          h: boxHeight - 2,\n          radius: borderRadius,\n        });\n        ctx.fill();\n      } else {\n        ctx.fillStyle = options.multiKeyBackground;\n        ctx.fillRect(outerX, colorY, boxWidth, boxHeight);\n        ctx.strokeRect(outerX, colorY, boxWidth, boxHeight);\n        ctx.fillStyle = labelColors.backgroundColor;\n        ctx.fillRect(innerX, colorY + 1, boxWidth - 2, boxHeight - 2);\n      }\n    }\n    ctx.fillStyle = this.labelTextColors[i];\n  }\n  drawBody(pt, ctx, options) {\n    const {body} = this;\n    const {bodySpacing, bodyAlign, displayColors, boxHeight, boxWidth, boxPadding} = options;\n    const bodyFont = toFont(options.bodyFont);\n    let bodyLineHeight = bodyFont.lineHeight;\n    let xLinePadding = 0;\n    const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n    const fillLineOfText = function(line) {\n      ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyLineHeight / 2);\n      pt.y += bodyLineHeight + bodySpacing;\n    };\n    const bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\n    let bodyItem, textColor, lines, i, j, ilen, jlen;\n    ctx.textAlign = bodyAlign;\n    ctx.textBaseline = 'middle';\n    ctx.font = bodyFont.string;\n    pt.x = getAlignedX(this, bodyAlignForCalculation, options);\n    ctx.fillStyle = options.bodyColor;\n    each(this.beforeBody, fillLineOfText);\n    xLinePadding = displayColors && bodyAlignForCalculation !== 'right'\n      ? bodyAlign === 'center' ? (boxWidth / 2 + boxPadding) : (boxWidth + 2 + boxPadding)\n      : 0;\n    for (i = 0, ilen = body.length; i < ilen; ++i) {\n      bodyItem = body[i];\n      textColor = this.labelTextColors[i];\n      ctx.fillStyle = textColor;\n      each(bodyItem.before, fillLineOfText);\n      lines = bodyItem.lines;\n      if (displayColors && lines.length) {\n        this._drawColorBox(ctx, pt, i, rtlHelper, options);\n        bodyLineHeight = Math.max(bodyFont.lineHeight, boxHeight);\n      }\n      for (j = 0, jlen = lines.length; j < jlen; ++j) {\n        fillLineOfText(lines[j]);\n        bodyLineHeight = bodyFont.lineHeight;\n      }\n      each(bodyItem.after, fillLineOfText);\n    }\n    xLinePadding = 0;\n    bodyLineHeight = bodyFont.lineHeight;\n    each(this.afterBody, fillLineOfText);\n    pt.y -= bodySpacing;\n  }\n  drawFooter(pt, ctx, options) {\n    const footer = this.footer;\n    const length = footer.length;\n    let footerFont, i;\n    if (length) {\n      const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n      pt.x = getAlignedX(this, options.footerAlign, options);\n      pt.y += options.footerMarginTop;\n      ctx.textAlign = rtlHelper.textAlign(options.footerAlign);\n      ctx.textBaseline = 'middle';\n      footerFont = toFont(options.footerFont);\n      ctx.fillStyle = options.footerColor;\n      ctx.font = footerFont.string;\n      for (i = 0; i < length; ++i) {\n        ctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFont.lineHeight / 2);\n        pt.y += footerFont.lineHeight + options.footerSpacing;\n      }\n    }\n  }\n  drawBackground(pt, ctx, tooltipSize, options) {\n    const {xAlign, yAlign} = this;\n    const {x, y} = pt;\n    const {width, height} = tooltipSize;\n    const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(options.cornerRadius);\n    ctx.fillStyle = options.backgroundColor;\n    ctx.strokeStyle = options.borderColor;\n    ctx.lineWidth = options.borderWidth;\n    ctx.beginPath();\n    ctx.moveTo(x + topLeft, y);\n    if (yAlign === 'top') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + width - topRight, y);\n    ctx.quadraticCurveTo(x + width, y, x + width, y + topRight);\n    if (yAlign === 'center' && xAlign === 'right') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + width, y + height - bottomRight);\n    ctx.quadraticCurveTo(x + width, y + height, x + width - bottomRight, y + height);\n    if (yAlign === 'bottom') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + bottomLeft, y + height);\n    ctx.quadraticCurveTo(x, y + height, x, y + height - bottomLeft);\n    if (yAlign === 'center' && xAlign === 'left') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x, y + topLeft);\n    ctx.quadraticCurveTo(x, y, x + topLeft, y);\n    ctx.closePath();\n    ctx.fill();\n    if (options.borderWidth > 0) {\n      ctx.stroke();\n    }\n  }\n  _updateAnimationTarget(options) {\n    const chart = this.chart;\n    const anims = this.$animations;\n    const animX = anims && anims.x;\n    const animY = anims && anims.y;\n    if (animX || animY) {\n      const position = positioners[options.position].call(this, this._active, this._eventPosition);\n      if (!position) {\n        return;\n      }\n      const size = this._size = getTooltipSize(this, options);\n      const positionAndSize = Object.assign({}, position, this._size);\n      const alignment = determineAlignment(chart, options, positionAndSize);\n      const point = getBackgroundPoint(options, positionAndSize, alignment, chart);\n      if (animX._to !== point.x || animY._to !== point.y) {\n        this.xAlign = alignment.xAlign;\n        this.yAlign = alignment.yAlign;\n        this.width = size.width;\n        this.height = size.height;\n        this.caretX = position.x;\n        this.caretY = position.y;\n        this._resolveAnimations().update(this, point);\n      }\n    }\n  }\n  _willRender() {\n    return !!this.opacity;\n  }\n  draw(ctx) {\n    const options = this.options.setContext(this.getContext());\n    let opacity = this.opacity;\n    if (!opacity) {\n      return;\n    }\n    this._updateAnimationTarget(options);\n    const tooltipSize = {\n      width: this.width,\n      height: this.height\n    };\n    const pt = {\n      x: this.x,\n      y: this.y\n    };\n    opacity = Math.abs(opacity) < 1e-3 ? 0 : opacity;\n    const padding = toPadding(options.padding);\n    const hasTooltipContent = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length;\n    if (options.enabled && hasTooltipContent) {\n      ctx.save();\n      ctx.globalAlpha = opacity;\n      this.drawBackground(pt, ctx, tooltipSize, options);\n      overrideTextDirection(ctx, options.textDirection);\n      pt.y += padding.top;\n      this.drawTitle(pt, ctx, options);\n      this.drawBody(pt, ctx, options);\n      this.drawFooter(pt, ctx, options);\n      restoreTextDirection(ctx, options.textDirection);\n      ctx.restore();\n    }\n  }\n  getActiveElements() {\n    return this._active || [];\n  }\n  setActiveElements(activeElements, eventPosition) {\n    const lastActive = this._active;\n    const active = activeElements.map(({datasetIndex, index}) => {\n      const meta = this.chart.getDatasetMeta(datasetIndex);\n      if (!meta) {\n        throw new Error('Cannot find a dataset at index ' + datasetIndex);\n      }\n      return {\n        datasetIndex,\n        element: meta.data[index],\n        index,\n      };\n    });\n    const changed = !_elementsEqual(lastActive, active);\n    const positionChanged = this._positionChanged(active, eventPosition);\n    if (changed || positionChanged) {\n      this._active = active;\n      this._eventPosition = eventPosition;\n      this._ignoreReplayEvents = true;\n      this.update(true);\n    }\n  }\n  handleEvent(e, replay, inChartArea = true) {\n    if (replay && this._ignoreReplayEvents) {\n      return false;\n    }\n    this._ignoreReplayEvents = false;\n    const options = this.options;\n    const lastActive = this._active || [];\n    const active = this._getActiveElements(e, lastActive, replay, inChartArea);\n    const positionChanged = this._positionChanged(active, e);\n    const changed = replay || !_elementsEqual(active, lastActive) || positionChanged;\n    if (changed) {\n      this._active = active;\n      if (options.enabled || options.external) {\n        this._eventPosition = {\n          x: e.x,\n          y: e.y\n        };\n        this.update(true, replay);\n      }\n    }\n    return changed;\n  }\n  _getActiveElements(e, lastActive, replay, inChartArea) {\n    const options = this.options;\n    if (e.type === 'mouseout') {\n      return [];\n    }\n    if (!inChartArea) {\n      return lastActive;\n    }\n    const active = this.chart.getElementsAtEventForMode(e, options.mode, options, replay);\n    if (options.reverse) {\n      active.reverse();\n    }\n    return active;\n  }\n  _positionChanged(active, e) {\n    const {caretX, caretY, options} = this;\n    const position = positioners[options.position].call(this, active, e);\n    return position !== false && (caretX !== position.x || caretY !== position.y);\n  }\n}\nTooltip.positioners = positioners;\nvar plugin_tooltip = {\n  id: 'tooltip',\n  _element: Tooltip,\n  positioners,\n  afterInit(chart, _args, options) {\n    if (options) {\n      chart.tooltip = new Tooltip({chart, options});\n    }\n  },\n  beforeUpdate(chart, _args, options) {\n    if (chart.tooltip) {\n      chart.tooltip.initialize(options);\n    }\n  },\n  reset(chart, _args, options) {\n    if (chart.tooltip) {\n      chart.tooltip.initialize(options);\n    }\n  },\n  afterDraw(chart) {\n    const tooltip = chart.tooltip;\n    if (tooltip && tooltip._willRender()) {\n      const args = {\n        tooltip\n      };\n      if (chart.notifyPlugins('beforeTooltipDraw', args) === false) {\n        return;\n      }\n      tooltip.draw(chart.ctx);\n      chart.notifyPlugins('afterTooltipDraw', args);\n    }\n  },\n  afterEvent(chart, args) {\n    if (chart.tooltip) {\n      const useFinalPosition = args.replay;\n      if (chart.tooltip.handleEvent(args.event, useFinalPosition, args.inChartArea)) {\n        args.changed = true;\n      }\n    }\n  },\n  defaults: {\n    enabled: true,\n    external: null,\n    position: 'average',\n    backgroundColor: 'rgba(0,0,0,0.8)',\n    titleColor: '#fff',\n    titleFont: {\n      weight: 'bold',\n    },\n    titleSpacing: 2,\n    titleMarginBottom: 6,\n    titleAlign: 'left',\n    bodyColor: '#fff',\n    bodySpacing: 2,\n    bodyFont: {\n    },\n    bodyAlign: 'left',\n    footerColor: '#fff',\n    footerSpacing: 2,\n    footerMarginTop: 6,\n    footerFont: {\n      weight: 'bold',\n    },\n    footerAlign: 'left',\n    padding: 6,\n    caretPadding: 2,\n    caretSize: 5,\n    cornerRadius: 6,\n    boxHeight: (ctx, opts) => opts.bodyFont.size,\n    boxWidth: (ctx, opts) => opts.bodyFont.size,\n    multiKeyBackground: '#fff',\n    displayColors: true,\n    boxPadding: 0,\n    borderColor: 'rgba(0,0,0,0)',\n    borderWidth: 0,\n    animation: {\n      duration: 400,\n      easing: 'easeOutQuart',\n    },\n    animations: {\n      numbers: {\n        type: 'number',\n        properties: ['x', 'y', 'width', 'height', 'caretX', 'caretY'],\n      },\n      opacity: {\n        easing: 'linear',\n        duration: 200\n      }\n    },\n    callbacks: {\n      beforeTitle: noop,\n      title(tooltipItems) {\n        if (tooltipItems.length > 0) {\n          const item = tooltipItems[0];\n          const labels = item.chart.data.labels;\n          const labelCount = labels ? labels.length : 0;\n          if (this && this.options && this.options.mode === 'dataset') {\n            return item.dataset.label || '';\n          } else if (item.label) {\n            return item.label;\n          } else if (labelCount > 0 && item.dataIndex < labelCount) {\n            return labels[item.dataIndex];\n          }\n        }\n        return '';\n      },\n      afterTitle: noop,\n      beforeBody: noop,\n      beforeLabel: noop,\n      label(tooltipItem) {\n        if (this && this.options && this.options.mode === 'dataset') {\n          return tooltipItem.label + ': ' + tooltipItem.formattedValue || tooltipItem.formattedValue;\n        }\n        let label = tooltipItem.dataset.label || '';\n        if (label) {\n          label += ': ';\n        }\n        const value = tooltipItem.formattedValue;\n        if (!isNullOrUndef(value)) {\n          label += value;\n        }\n        return label;\n      },\n      labelColor(tooltipItem) {\n        const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex);\n        const options = meta.controller.getStyle(tooltipItem.dataIndex);\n        return {\n          borderColor: options.borderColor,\n          backgroundColor: options.backgroundColor,\n          borderWidth: options.borderWidth,\n          borderDash: options.borderDash,\n          borderDashOffset: options.borderDashOffset,\n          borderRadius: 0,\n        };\n      },\n      labelTextColor() {\n        return this.options.bodyColor;\n      },\n      labelPointStyle(tooltipItem) {\n        const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex);\n        const options = meta.controller.getStyle(tooltipItem.dataIndex);\n        return {\n          pointStyle: options.pointStyle,\n          rotation: options.rotation,\n        };\n      },\n      afterLabel: noop,\n      afterBody: noop,\n      beforeFooter: noop,\n      footer: noop,\n      afterFooter: noop\n    }\n  },\n  defaultRoutes: {\n    bodyFont: 'font',\n    footerFont: 'font',\n    titleFont: 'font'\n  },\n  descriptors: {\n    _scriptable: (name) => name !== 'filter' && name !== 'itemSort' && name !== 'external',\n    _indexable: false,\n    callbacks: {\n      _scriptable: false,\n      _indexable: false,\n    },\n    animation: {\n      _fallback: false\n    },\n    animations: {\n      _fallback: 'animation'\n    }\n  },\n  additionalOptionScopes: ['interaction']\n};\n\nvar plugins = /*#__PURE__*/Object.freeze({\n__proto__: null,\nDecimation: plugin_decimation,\nFiller: index,\nLegend: plugin_legend,\nSubTitle: plugin_subtitle,\nTitle: plugin_title,\nTooltip: plugin_tooltip\n});\n\nconst addIfString = (labels, raw, index, addedLabels) => {\n  if (typeof raw === 'string') {\n    index = labels.push(raw) - 1;\n    addedLabels.unshift({index, label: raw});\n  } else if (isNaN(raw)) {\n    index = null;\n  }\n  return index;\n};\nfunction findOrAddLabel(labels, raw, index, addedLabels) {\n  const first = labels.indexOf(raw);\n  if (first === -1) {\n    return addIfString(labels, raw, index, addedLabels);\n  }\n  const last = labels.lastIndexOf(raw);\n  return first !== last ? index : first;\n}\nconst validIndex = (index, max) => index === null ? null : _limitValue(Math.round(index), 0, max);\nclass CategoryScale extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this._startValue = undefined;\n    this._valueRange = 0;\n    this._addedLabels = [];\n  }\n  init(scaleOptions) {\n    const added = this._addedLabels;\n    if (added.length) {\n      const labels = this.getLabels();\n      for (const {index, label} of added) {\n        if (labels[index] === label) {\n          labels.splice(index, 1);\n        }\n      }\n      this._addedLabels = [];\n    }\n    super.init(scaleOptions);\n  }\n  parse(raw, index) {\n    if (isNullOrUndef(raw)) {\n      return null;\n    }\n    const labels = this.getLabels();\n    index = isFinite(index) && labels[index] === raw ? index\n      : findOrAddLabel(labels, raw, valueOrDefault(index, raw), this._addedLabels);\n    return validIndex(index, labels.length - 1);\n  }\n  determineDataLimits() {\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let {min, max} = this.getMinMax(true);\n    if (this.options.bounds === 'ticks') {\n      if (!minDefined) {\n        min = 0;\n      }\n      if (!maxDefined) {\n        max = this.getLabels().length - 1;\n      }\n    }\n    this.min = min;\n    this.max = max;\n  }\n  buildTicks() {\n    const min = this.min;\n    const max = this.max;\n    const offset = this.options.offset;\n    const ticks = [];\n    let labels = this.getLabels();\n    labels = (min === 0 && max === labels.length - 1) ? labels : labels.slice(min, max + 1);\n    this._valueRange = Math.max(labels.length - (offset ? 0 : 1), 1);\n    this._startValue = this.min - (offset ? 0.5 : 0);\n    for (let value = min; value <= max; value++) {\n      ticks.push({value});\n    }\n    return ticks;\n  }\n  getLabelForValue(value) {\n    const labels = this.getLabels();\n    if (value >= 0 && value < labels.length) {\n      return labels[value];\n    }\n    return value;\n  }\n  configure() {\n    super.configure();\n    if (!this.isHorizontal()) {\n      this._reversePixels = !this._reversePixels;\n    }\n  }\n  getPixelForValue(value) {\n    if (typeof value !== 'number') {\n      value = this.parse(value);\n    }\n    return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange);\n  }\n  getPixelForTick(index) {\n    const ticks = this.ticks;\n    if (index < 0 || index > ticks.length - 1) {\n      return null;\n    }\n    return this.getPixelForValue(ticks[index].value);\n  }\n  getValueForPixel(pixel) {\n    return Math.round(this._startValue + this.getDecimalForPixel(pixel) * this._valueRange);\n  }\n  getBasePixel() {\n    return this.bottom;\n  }\n}\nCategoryScale.id = 'category';\nCategoryScale.defaults = {\n  ticks: {\n    callback: CategoryScale.prototype.getLabelForValue\n  }\n};\n\nfunction generateTicks$1(generationOptions, dataRange) {\n  const ticks = [];\n  const MIN_SPACING = 1e-14;\n  const {bounds, step, min, max, precision, count, maxTicks, maxDigits, includeBounds} = generationOptions;\n  const unit = step || 1;\n  const maxSpaces = maxTicks - 1;\n  const {min: rmin, max: rmax} = dataRange;\n  const minDefined = !isNullOrUndef(min);\n  const maxDefined = !isNullOrUndef(max);\n  const countDefined = !isNullOrUndef(count);\n  const minSpacing = (rmax - rmin) / (maxDigits + 1);\n  let spacing = niceNum((rmax - rmin) / maxSpaces / unit) * unit;\n  let factor, niceMin, niceMax, numSpaces;\n  if (spacing < MIN_SPACING && !minDefined && !maxDefined) {\n    return [{value: rmin}, {value: rmax}];\n  }\n  numSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\n  if (numSpaces > maxSpaces) {\n    spacing = niceNum(numSpaces * spacing / maxSpaces / unit) * unit;\n  }\n  if (!isNullOrUndef(precision)) {\n    factor = Math.pow(10, precision);\n    spacing = Math.ceil(spacing * factor) / factor;\n  }\n  if (bounds === 'ticks') {\n    niceMin = Math.floor(rmin / spacing) * spacing;\n    niceMax = Math.ceil(rmax / spacing) * spacing;\n  } else {\n    niceMin = rmin;\n    niceMax = rmax;\n  }\n  if (minDefined && maxDefined && step && almostWhole((max - min) / step, spacing / 1000)) {\n    numSpaces = Math.round(Math.min((max - min) / spacing, maxTicks));\n    spacing = (max - min) / numSpaces;\n    niceMin = min;\n    niceMax = max;\n  } else if (countDefined) {\n    niceMin = minDefined ? min : niceMin;\n    niceMax = maxDefined ? max : niceMax;\n    numSpaces = count - 1;\n    spacing = (niceMax - niceMin) / numSpaces;\n  } else {\n    numSpaces = (niceMax - niceMin) / spacing;\n    if (almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\n      numSpaces = Math.round(numSpaces);\n    } else {\n      numSpaces = Math.ceil(numSpaces);\n    }\n  }\n  const decimalPlaces = Math.max(\n    _decimalPlaces(spacing),\n    _decimalPlaces(niceMin)\n  );\n  factor = Math.pow(10, isNullOrUndef(precision) ? decimalPlaces : precision);\n  niceMin = Math.round(niceMin * factor) / factor;\n  niceMax = Math.round(niceMax * factor) / factor;\n  let j = 0;\n  if (minDefined) {\n    if (includeBounds && niceMin !== min) {\n      ticks.push({value: min});\n      if (niceMin < min) {\n        j++;\n      }\n      if (almostEquals(Math.round((niceMin + j * spacing) * factor) / factor, min, relativeLabelSize(min, minSpacing, generationOptions))) {\n        j++;\n      }\n    } else if (niceMin < min) {\n      j++;\n    }\n  }\n  for (; j < numSpaces; ++j) {\n    ticks.push({value: Math.round((niceMin + j * spacing) * factor) / factor});\n  }\n  if (maxDefined && includeBounds && niceMax !== max) {\n    if (ticks.length && almostEquals(ticks[ticks.length - 1].value, max, relativeLabelSize(max, minSpacing, generationOptions))) {\n      ticks[ticks.length - 1].value = max;\n    } else {\n      ticks.push({value: max});\n    }\n  } else if (!maxDefined || niceMax === max) {\n    ticks.push({value: niceMax});\n  }\n  return ticks;\n}\nfunction relativeLabelSize(value, minSpacing, {horizontal, minRotation}) {\n  const rad = toRadians(minRotation);\n  const ratio = (horizontal ? Math.sin(rad) : Math.cos(rad)) || 0.001;\n  const length = 0.75 * minSpacing * ('' + value).length;\n  return Math.min(minSpacing / ratio, length);\n}\nclass LinearScaleBase extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this.start = undefined;\n    this.end = undefined;\n    this._startValue = undefined;\n    this._endValue = undefined;\n    this._valueRange = 0;\n  }\n  parse(raw, index) {\n    if (isNullOrUndef(raw)) {\n      return null;\n    }\n    if ((typeof raw === 'number' || raw instanceof Number) && !isFinite(+raw)) {\n      return null;\n    }\n    return +raw;\n  }\n  handleTickRangeOptions() {\n    const {beginAtZero} = this.options;\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let {min, max} = this;\n    const setMin = v => (min = minDefined ? min : v);\n    const setMax = v => (max = maxDefined ? max : v);\n    if (beginAtZero) {\n      const minSign = sign(min);\n      const maxSign = sign(max);\n      if (minSign < 0 && maxSign < 0) {\n        setMax(0);\n      } else if (minSign > 0 && maxSign > 0) {\n        setMin(0);\n      }\n    }\n    if (min === max) {\n      let offset = 1;\n      if (max >= Number.MAX_SAFE_INTEGER || min <= Number.MIN_SAFE_INTEGER) {\n        offset = Math.abs(max * 0.05);\n      }\n      setMax(max + offset);\n      if (!beginAtZero) {\n        setMin(min - offset);\n      }\n    }\n    this.min = min;\n    this.max = max;\n  }\n  getTickLimit() {\n    const tickOpts = this.options.ticks;\n    let {maxTicksLimit, stepSize} = tickOpts;\n    let maxTicks;\n    if (stepSize) {\n      maxTicks = Math.ceil(this.max / stepSize) - Math.floor(this.min / stepSize) + 1;\n      if (maxTicks > 1000) {\n        console.warn(`scales.${this.id}.ticks.stepSize: ${stepSize} would result generating up to ${maxTicks} ticks. Limiting to 1000.`);\n        maxTicks = 1000;\n      }\n    } else {\n      maxTicks = this.computeTickLimit();\n      maxTicksLimit = maxTicksLimit || 11;\n    }\n    if (maxTicksLimit) {\n      maxTicks = Math.min(maxTicksLimit, maxTicks);\n    }\n    return maxTicks;\n  }\n  computeTickLimit() {\n    return Number.POSITIVE_INFINITY;\n  }\n  buildTicks() {\n    const opts = this.options;\n    const tickOpts = opts.ticks;\n    let maxTicks = this.getTickLimit();\n    maxTicks = Math.max(2, maxTicks);\n    const numericGeneratorOptions = {\n      maxTicks,\n      bounds: opts.bounds,\n      min: opts.min,\n      max: opts.max,\n      precision: tickOpts.precision,\n      step: tickOpts.stepSize,\n      count: tickOpts.count,\n      maxDigits: this._maxDigits(),\n      horizontal: this.isHorizontal(),\n      minRotation: tickOpts.minRotation || 0,\n      includeBounds: tickOpts.includeBounds !== false\n    };\n    const dataRange = this._range || this;\n    const ticks = generateTicks$1(numericGeneratorOptions, dataRange);\n    if (opts.bounds === 'ticks') {\n      _setMinAndMaxByKey(ticks, this, 'value');\n    }\n    if (opts.reverse) {\n      ticks.reverse();\n      this.start = this.max;\n      this.end = this.min;\n    } else {\n      this.start = this.min;\n      this.end = this.max;\n    }\n    return ticks;\n  }\n  configure() {\n    const ticks = this.ticks;\n    let start = this.min;\n    let end = this.max;\n    super.configure();\n    if (this.options.offset && ticks.length) {\n      const offset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\n      start -= offset;\n      end += offset;\n    }\n    this._startValue = start;\n    this._endValue = end;\n    this._valueRange = end - start;\n  }\n  getLabelForValue(value) {\n    return formatNumber(value, this.chart.options.locale, this.options.ticks.format);\n  }\n}\n\nclass LinearScale extends LinearScaleBase {\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(true);\n    this.min = isNumberFinite(min) ? min : 0;\n    this.max = isNumberFinite(max) ? max : 1;\n    this.handleTickRangeOptions();\n  }\n  computeTickLimit() {\n    const horizontal = this.isHorizontal();\n    const length = horizontal ? this.width : this.height;\n    const minRotation = toRadians(this.options.ticks.minRotation);\n    const ratio = (horizontal ? Math.sin(minRotation) : Math.cos(minRotation)) || 0.001;\n    const tickFont = this._resolveTickFontOptions(0);\n    return Math.ceil(length / Math.min(40, tickFont.lineHeight / ratio));\n  }\n  getPixelForValue(value) {\n    return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange);\n  }\n  getValueForPixel(pixel) {\n    return this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\n  }\n}\nLinearScale.id = 'linear';\nLinearScale.defaults = {\n  ticks: {\n    callback: Ticks.formatters.numeric\n  }\n};\n\nfunction isMajor(tickVal) {\n  const remain = tickVal / (Math.pow(10, Math.floor(log10(tickVal))));\n  return remain === 1;\n}\nfunction generateTicks(generationOptions, dataRange) {\n  const endExp = Math.floor(log10(dataRange.max));\n  const endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\n  const ticks = [];\n  let tickVal = finiteOrDefault(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\n  let exp = Math.floor(log10(tickVal));\n  let significand = Math.floor(tickVal / Math.pow(10, exp));\n  let precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\n  do {\n    ticks.push({value: tickVal, major: isMajor(tickVal)});\n    ++significand;\n    if (significand === 10) {\n      significand = 1;\n      ++exp;\n      precision = exp >= 0 ? 1 : precision;\n    }\n    tickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\n  } while (exp < endExp || (exp === endExp && significand < endSignificand));\n  const lastTick = finiteOrDefault(generationOptions.max, tickVal);\n  ticks.push({value: lastTick, major: isMajor(tickVal)});\n  return ticks;\n}\nclass LogarithmicScale extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this.start = undefined;\n    this.end = undefined;\n    this._startValue = undefined;\n    this._valueRange = 0;\n  }\n  parse(raw, index) {\n    const value = LinearScaleBase.prototype.parse.apply(this, [raw, index]);\n    if (value === 0) {\n      this._zero = true;\n      return undefined;\n    }\n    return isNumberFinite(value) && value > 0 ? value : null;\n  }\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(true);\n    this.min = isNumberFinite(min) ? Math.max(0, min) : null;\n    this.max = isNumberFinite(max) ? Math.max(0, max) : null;\n    if (this.options.beginAtZero) {\n      this._zero = true;\n    }\n    this.handleTickRangeOptions();\n  }\n  handleTickRangeOptions() {\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let min = this.min;\n    let max = this.max;\n    const setMin = v => (min = minDefined ? min : v);\n    const setMax = v => (max = maxDefined ? max : v);\n    const exp = (v, m) => Math.pow(10, Math.floor(log10(v)) + m);\n    if (min === max) {\n      if (min <= 0) {\n        setMin(1);\n        setMax(10);\n      } else {\n        setMin(exp(min, -1));\n        setMax(exp(max, +1));\n      }\n    }\n    if (min <= 0) {\n      setMin(exp(max, -1));\n    }\n    if (max <= 0) {\n      setMax(exp(min, +1));\n    }\n    if (this._zero && this.min !== this._suggestedMin && min === exp(this.min, 0)) {\n      setMin(exp(min, -1));\n    }\n    this.min = min;\n    this.max = max;\n  }\n  buildTicks() {\n    const opts = this.options;\n    const generationOptions = {\n      min: this._userMin,\n      max: this._userMax\n    };\n    const ticks = generateTicks(generationOptions, this);\n    if (opts.bounds === 'ticks') {\n      _setMinAndMaxByKey(ticks, this, 'value');\n    }\n    if (opts.reverse) {\n      ticks.reverse();\n      this.start = this.max;\n      this.end = this.min;\n    } else {\n      this.start = this.min;\n      this.end = this.max;\n    }\n    return ticks;\n  }\n  getLabelForValue(value) {\n    return value === undefined\n      ? '0'\n      : formatNumber(value, this.chart.options.locale, this.options.ticks.format);\n  }\n  configure() {\n    const start = this.min;\n    super.configure();\n    this._startValue = log10(start);\n    this._valueRange = log10(this.max) - log10(start);\n  }\n  getPixelForValue(value) {\n    if (value === undefined || value === 0) {\n      value = this.min;\n    }\n    if (value === null || isNaN(value)) {\n      return NaN;\n    }\n    return this.getPixelForDecimal(value === this.min\n      ? 0\n      : (log10(value) - this._startValue) / this._valueRange);\n  }\n  getValueForPixel(pixel) {\n    const decimal = this.getDecimalForPixel(pixel);\n    return Math.pow(10, this._startValue + decimal * this._valueRange);\n  }\n}\nLogarithmicScale.id = 'logarithmic';\nLogarithmicScale.defaults = {\n  ticks: {\n    callback: Ticks.formatters.logarithmic,\n    major: {\n      enabled: true\n    }\n  }\n};\n\nfunction getTickBackdropHeight(opts) {\n  const tickOpts = opts.ticks;\n  if (tickOpts.display && opts.display) {\n    const padding = toPadding(tickOpts.backdropPadding);\n    return valueOrDefault(tickOpts.font && tickOpts.font.size, defaults.font.size) + padding.height;\n  }\n  return 0;\n}\nfunction measureLabelSize(ctx, font, label) {\n  label = isArray(label) ? label : [label];\n  return {\n    w: _longestText(ctx, font.string, label),\n    h: label.length * font.lineHeight\n  };\n}\nfunction determineLimits(angle, pos, size, min, max) {\n  if (angle === min || angle === max) {\n    return {\n      start: pos - (size / 2),\n      end: pos + (size / 2)\n    };\n  } else if (angle < min || angle > max) {\n    return {\n      start: pos - size,\n      end: pos\n    };\n  }\n  return {\n    start: pos,\n    end: pos + size\n  };\n}\nfunction fitWithPointLabels(scale) {\n  const orig = {\n    l: scale.left + scale._padding.left,\n    r: scale.right - scale._padding.right,\n    t: scale.top + scale._padding.top,\n    b: scale.bottom - scale._padding.bottom\n  };\n  const limits = Object.assign({}, orig);\n  const labelSizes = [];\n  const padding = [];\n  const valueCount = scale._pointLabels.length;\n  const pointLabelOpts = scale.options.pointLabels;\n  const additionalAngle = pointLabelOpts.centerPointLabels ? PI / valueCount : 0;\n  for (let i = 0; i < valueCount; i++) {\n    const opts = pointLabelOpts.setContext(scale.getPointLabelContext(i));\n    padding[i] = opts.padding;\n    const pointPosition = scale.getPointPosition(i, scale.drawingArea + padding[i], additionalAngle);\n    const plFont = toFont(opts.font);\n    const textSize = measureLabelSize(scale.ctx, plFont, scale._pointLabels[i]);\n    labelSizes[i] = textSize;\n    const angleRadians = _normalizeAngle(scale.getIndexAngle(i) + additionalAngle);\n    const angle = Math.round(toDegrees(angleRadians));\n    const hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\n    const vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\n    updateLimits(limits, orig, angleRadians, hLimits, vLimits);\n  }\n  scale.setCenterPoint(\n    orig.l - limits.l,\n    limits.r - orig.r,\n    orig.t - limits.t,\n    limits.b - orig.b\n  );\n  scale._pointLabelItems = buildPointLabelItems(scale, labelSizes, padding);\n}\nfunction updateLimits(limits, orig, angle, hLimits, vLimits) {\n  const sin = Math.abs(Math.sin(angle));\n  const cos = Math.abs(Math.cos(angle));\n  let x = 0;\n  let y = 0;\n  if (hLimits.start < orig.l) {\n    x = (orig.l - hLimits.start) / sin;\n    limits.l = Math.min(limits.l, orig.l - x);\n  } else if (hLimits.end > orig.r) {\n    x = (hLimits.end - orig.r) / sin;\n    limits.r = Math.max(limits.r, orig.r + x);\n  }\n  if (vLimits.start < orig.t) {\n    y = (orig.t - vLimits.start) / cos;\n    limits.t = Math.min(limits.t, orig.t - y);\n  } else if (vLimits.end > orig.b) {\n    y = (vLimits.end - orig.b) / cos;\n    limits.b = Math.max(limits.b, orig.b + y);\n  }\n}\nfunction buildPointLabelItems(scale, labelSizes, padding) {\n  const items = [];\n  const valueCount = scale._pointLabels.length;\n  const opts = scale.options;\n  const extra = getTickBackdropHeight(opts) / 2;\n  const outerDistance = scale.drawingArea;\n  const additionalAngle = opts.pointLabels.centerPointLabels ? PI / valueCount : 0;\n  for (let i = 0; i < valueCount; i++) {\n    const pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + padding[i], additionalAngle);\n    const angle = Math.round(toDegrees(_normalizeAngle(pointLabelPosition.angle + HALF_PI)));\n    const size = labelSizes[i];\n    const y = yForAngle(pointLabelPosition.y, size.h, angle);\n    const textAlign = getTextAlignForAngle(angle);\n    const left = leftForTextAlign(pointLabelPosition.x, size.w, textAlign);\n    items.push({\n      x: pointLabelPosition.x,\n      y,\n      textAlign,\n      left,\n      top: y,\n      right: left + size.w,\n      bottom: y + size.h\n    });\n  }\n  return items;\n}\nfunction getTextAlignForAngle(angle) {\n  if (angle === 0 || angle === 180) {\n    return 'center';\n  } else if (angle < 180) {\n    return 'left';\n  }\n  return 'right';\n}\nfunction leftForTextAlign(x, w, align) {\n  if (align === 'right') {\n    x -= w;\n  } else if (align === 'center') {\n    x -= (w / 2);\n  }\n  return x;\n}\nfunction yForAngle(y, h, angle) {\n  if (angle === 90 || angle === 270) {\n    y -= (h / 2);\n  } else if (angle > 270 || angle < 90) {\n    y -= h;\n  }\n  return y;\n}\nfunction drawPointLabels(scale, labelCount) {\n  const {ctx, options: {pointLabels}} = scale;\n  for (let i = labelCount - 1; i >= 0; i--) {\n    const optsAtIndex = pointLabels.setContext(scale.getPointLabelContext(i));\n    const plFont = toFont(optsAtIndex.font);\n    const {x, y, textAlign, left, top, right, bottom} = scale._pointLabelItems[i];\n    const {backdropColor} = optsAtIndex;\n    if (!isNullOrUndef(backdropColor)) {\n      const borderRadius = toTRBLCorners(optsAtIndex.borderRadius);\n      const padding = toPadding(optsAtIndex.backdropPadding);\n      ctx.fillStyle = backdropColor;\n      const backdropLeft = left - padding.left;\n      const backdropTop = top - padding.top;\n      const backdropWidth = right - left + padding.width;\n      const backdropHeight = bottom - top + padding.height;\n      if (Object.values(borderRadius).some(v => v !== 0)) {\n        ctx.beginPath();\n        addRoundedRectPath(ctx, {\n          x: backdropLeft,\n          y: backdropTop,\n          w: backdropWidth,\n          h: backdropHeight,\n          radius: borderRadius,\n        });\n        ctx.fill();\n      } else {\n        ctx.fillRect(backdropLeft, backdropTop, backdropWidth, backdropHeight);\n      }\n    }\n    renderText(\n      ctx,\n      scale._pointLabels[i],\n      x,\n      y + (plFont.lineHeight / 2),\n      plFont,\n      {\n        color: optsAtIndex.color,\n        textAlign: textAlign,\n        textBaseline: 'middle'\n      }\n    );\n  }\n}\nfunction pathRadiusLine(scale, radius, circular, labelCount) {\n  const {ctx} = scale;\n  if (circular) {\n    ctx.arc(scale.xCenter, scale.yCenter, radius, 0, TAU);\n  } else {\n    let pointPosition = scale.getPointPosition(0, radius);\n    ctx.moveTo(pointPosition.x, pointPosition.y);\n    for (let i = 1; i < labelCount; i++) {\n      pointPosition = scale.getPointPosition(i, radius);\n      ctx.lineTo(pointPosition.x, pointPosition.y);\n    }\n  }\n}\nfunction drawRadiusLine(scale, gridLineOpts, radius, labelCount) {\n  const ctx = scale.ctx;\n  const circular = gridLineOpts.circular;\n  const {color, lineWidth} = gridLineOpts;\n  if ((!circular && !labelCount) || !color || !lineWidth || radius < 0) {\n    return;\n  }\n  ctx.save();\n  ctx.strokeStyle = color;\n  ctx.lineWidth = lineWidth;\n  ctx.setLineDash(gridLineOpts.borderDash);\n  ctx.lineDashOffset = gridLineOpts.borderDashOffset;\n  ctx.beginPath();\n  pathRadiusLine(scale, radius, circular, labelCount);\n  ctx.closePath();\n  ctx.stroke();\n  ctx.restore();\n}\nfunction createPointLabelContext(parent, index, label) {\n  return createContext(parent, {\n    label,\n    index,\n    type: 'pointLabel'\n  });\n}\nclass RadialLinearScale extends LinearScaleBase {\n  constructor(cfg) {\n    super(cfg);\n    this.xCenter = undefined;\n    this.yCenter = undefined;\n    this.drawingArea = undefined;\n    this._pointLabels = [];\n    this._pointLabelItems = [];\n  }\n  setDimensions() {\n    const padding = this._padding = toPadding(getTickBackdropHeight(this.options) / 2);\n    const w = this.width = this.maxWidth - padding.width;\n    const h = this.height = this.maxHeight - padding.height;\n    this.xCenter = Math.floor(this.left + w / 2 + padding.left);\n    this.yCenter = Math.floor(this.top + h / 2 + padding.top);\n    this.drawingArea = Math.floor(Math.min(w, h) / 2);\n  }\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(false);\n    this.min = isNumberFinite(min) && !isNaN(min) ? min : 0;\n    this.max = isNumberFinite(max) && !isNaN(max) ? max : 0;\n    this.handleTickRangeOptions();\n  }\n  computeTickLimit() {\n    return Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\n  }\n  generateTickLabels(ticks) {\n    LinearScaleBase.prototype.generateTickLabels.call(this, ticks);\n    this._pointLabels = this.getLabels()\n      .map((value, index) => {\n        const label = callback(this.options.pointLabels.callback, [value, index], this);\n        return label || label === 0 ? label : '';\n      })\n      .filter((v, i) => this.chart.getDataVisibility(i));\n  }\n  fit() {\n    const opts = this.options;\n    if (opts.display && opts.pointLabels.display) {\n      fitWithPointLabels(this);\n    } else {\n      this.setCenterPoint(0, 0, 0, 0);\n    }\n  }\n  setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) {\n    this.xCenter += Math.floor((leftMovement - rightMovement) / 2);\n    this.yCenter += Math.floor((topMovement - bottomMovement) / 2);\n    this.drawingArea -= Math.min(this.drawingArea / 2, Math.max(leftMovement, rightMovement, topMovement, bottomMovement));\n  }\n  getIndexAngle(index) {\n    const angleMultiplier = TAU / (this._pointLabels.length || 1);\n    const startAngle = this.options.startAngle || 0;\n    return _normalizeAngle(index * angleMultiplier + toRadians(startAngle));\n  }\n  getDistanceFromCenterForValue(value) {\n    if (isNullOrUndef(value)) {\n      return NaN;\n    }\n    const scalingFactor = this.drawingArea / (this.max - this.min);\n    if (this.options.reverse) {\n      return (this.max - value) * scalingFactor;\n    }\n    return (value - this.min) * scalingFactor;\n  }\n  getValueForDistanceFromCenter(distance) {\n    if (isNullOrUndef(distance)) {\n      return NaN;\n    }\n    const scaledDistance = distance / (this.drawingArea / (this.max - this.min));\n    return this.options.reverse ? this.max - scaledDistance : this.min + scaledDistance;\n  }\n  getPointLabelContext(index) {\n    const pointLabels = this._pointLabels || [];\n    if (index >= 0 && index < pointLabels.length) {\n      const pointLabel = pointLabels[index];\n      return createPointLabelContext(this.getContext(), index, pointLabel);\n    }\n  }\n  getPointPosition(index, distanceFromCenter, additionalAngle = 0) {\n    const angle = this.getIndexAngle(index) - HALF_PI + additionalAngle;\n    return {\n      x: Math.cos(angle) * distanceFromCenter + this.xCenter,\n      y: Math.sin(angle) * distanceFromCenter + this.yCenter,\n      angle\n    };\n  }\n  getPointPositionForValue(index, value) {\n    return this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\n  }\n  getBasePosition(index) {\n    return this.getPointPositionForValue(index || 0, this.getBaseValue());\n  }\n  getPointLabelPosition(index) {\n    const {left, top, right, bottom} = this._pointLabelItems[index];\n    return {\n      left,\n      top,\n      right,\n      bottom,\n    };\n  }\n  drawBackground() {\n    const {backgroundColor, grid: {circular}} = this.options;\n    if (backgroundColor) {\n      const ctx = this.ctx;\n      ctx.save();\n      ctx.beginPath();\n      pathRadiusLine(this, this.getDistanceFromCenterForValue(this._endValue), circular, this._pointLabels.length);\n      ctx.closePath();\n      ctx.fillStyle = backgroundColor;\n      ctx.fill();\n      ctx.restore();\n    }\n  }\n  drawGrid() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    const {angleLines, grid} = opts;\n    const labelCount = this._pointLabels.length;\n    let i, offset, position;\n    if (opts.pointLabels.display) {\n      drawPointLabels(this, labelCount);\n    }\n    if (grid.display) {\n      this.ticks.forEach((tick, index) => {\n        if (index !== 0) {\n          offset = this.getDistanceFromCenterForValue(tick.value);\n          const optsAtIndex = grid.setContext(this.getContext(index - 1));\n          drawRadiusLine(this, optsAtIndex, offset, labelCount);\n        }\n      });\n    }\n    if (angleLines.display) {\n      ctx.save();\n      for (i = labelCount - 1; i >= 0; i--) {\n        const optsAtIndex = angleLines.setContext(this.getPointLabelContext(i));\n        const {color, lineWidth} = optsAtIndex;\n        if (!lineWidth || !color) {\n          continue;\n        }\n        ctx.lineWidth = lineWidth;\n        ctx.strokeStyle = color;\n        ctx.setLineDash(optsAtIndex.borderDash);\n        ctx.lineDashOffset = optsAtIndex.borderDashOffset;\n        offset = this.getDistanceFromCenterForValue(opts.ticks.reverse ? this.min : this.max);\n        position = this.getPointPosition(i, offset);\n        ctx.beginPath();\n        ctx.moveTo(this.xCenter, this.yCenter);\n        ctx.lineTo(position.x, position.y);\n        ctx.stroke();\n      }\n      ctx.restore();\n    }\n  }\n  drawBorder() {}\n  drawLabels() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    const tickOpts = opts.ticks;\n    if (!tickOpts.display) {\n      return;\n    }\n    const startAngle = this.getIndexAngle(0);\n    let offset, width;\n    ctx.save();\n    ctx.translate(this.xCenter, this.yCenter);\n    ctx.rotate(startAngle);\n    ctx.textAlign = 'center';\n    ctx.textBaseline = 'middle';\n    this.ticks.forEach((tick, index) => {\n      if (index === 0 && !opts.reverse) {\n        return;\n      }\n      const optsAtIndex = tickOpts.setContext(this.getContext(index));\n      const tickFont = toFont(optsAtIndex.font);\n      offset = this.getDistanceFromCenterForValue(this.ticks[index].value);\n      if (optsAtIndex.showLabelBackdrop) {\n        ctx.font = tickFont.string;\n        width = ctx.measureText(tick.label).width;\n        ctx.fillStyle = optsAtIndex.backdropColor;\n        const padding = toPadding(optsAtIndex.backdropPadding);\n        ctx.fillRect(\n          -width / 2 - padding.left,\n          -offset - tickFont.size / 2 - padding.top,\n          width + padding.width,\n          tickFont.size + padding.height\n        );\n      }\n      renderText(ctx, tick.label, 0, -offset, tickFont, {\n        color: optsAtIndex.color,\n      });\n    });\n    ctx.restore();\n  }\n  drawTitle() {}\n}\nRadialLinearScale.id = 'radialLinear';\nRadialLinearScale.defaults = {\n  display: true,\n  animate: true,\n  position: 'chartArea',\n  angleLines: {\n    display: true,\n    lineWidth: 1,\n    borderDash: [],\n    borderDashOffset: 0.0\n  },\n  grid: {\n    circular: false\n  },\n  startAngle: 0,\n  ticks: {\n    showLabelBackdrop: true,\n    callback: Ticks.formatters.numeric\n  },\n  pointLabels: {\n    backdropColor: undefined,\n    backdropPadding: 2,\n    display: true,\n    font: {\n      size: 10\n    },\n    callback(label) {\n      return label;\n    },\n    padding: 5,\n    centerPointLabels: false\n  }\n};\nRadialLinearScale.defaultRoutes = {\n  'angleLines.color': 'borderColor',\n  'pointLabels.color': 'color',\n  'ticks.color': 'color'\n};\nRadialLinearScale.descriptors = {\n  angleLines: {\n    _fallback: 'grid'\n  }\n};\n\nconst INTERVALS = {\n  millisecond: {common: true, size: 1, steps: 1000},\n  second: {common: true, size: 1000, steps: 60},\n  minute: {common: true, size: 60000, steps: 60},\n  hour: {common: true, size: 3600000, steps: 24},\n  day: {common: true, size: 86400000, steps: 30},\n  week: {common: false, size: 604800000, steps: 4},\n  month: {common: true, size: 2.628e9, steps: 12},\n  quarter: {common: false, size: 7.884e9, steps: 4},\n  year: {common: true, size: 3.154e10}\n};\nconst UNITS = (Object.keys(INTERVALS));\nfunction sorter(a, b) {\n  return a - b;\n}\nfunction parse(scale, input) {\n  if (isNullOrUndef(input)) {\n    return null;\n  }\n  const adapter = scale._adapter;\n  const {parser, round, isoWeekday} = scale._parseOpts;\n  let value = input;\n  if (typeof parser === 'function') {\n    value = parser(value);\n  }\n  if (!isNumberFinite(value)) {\n    value = typeof parser === 'string'\n      ? adapter.parse(value, parser)\n      : adapter.parse(value);\n  }\n  if (value === null) {\n    return null;\n  }\n  if (round) {\n    value = round === 'week' && (isNumber(isoWeekday) || isoWeekday === true)\n      ? adapter.startOf(value, 'isoWeek', isoWeekday)\n      : adapter.startOf(value, round);\n  }\n  return +value;\n}\nfunction determineUnitForAutoTicks(minUnit, min, max, capacity) {\n  const ilen = UNITS.length;\n  for (let i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\n    const interval = INTERVALS[UNITS[i]];\n    const factor = interval.steps ? interval.steps : Number.MAX_SAFE_INTEGER;\n    if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\n      return UNITS[i];\n    }\n  }\n  return UNITS[ilen - 1];\n}\nfunction determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\n  for (let i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\n    const unit = UNITS[i];\n    if (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\n      return unit;\n    }\n  }\n  return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\n}\nfunction determineMajorUnit(unit) {\n  for (let i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\n    if (INTERVALS[UNITS[i]].common) {\n      return UNITS[i];\n    }\n  }\n}\nfunction addTick(ticks, time, timestamps) {\n  if (!timestamps) {\n    ticks[time] = true;\n  } else if (timestamps.length) {\n    const {lo, hi} = _lookup(timestamps, time);\n    const timestamp = timestamps[lo] >= time ? timestamps[lo] : timestamps[hi];\n    ticks[timestamp] = true;\n  }\n}\nfunction setMajorTicks(scale, ticks, map, majorUnit) {\n  const adapter = scale._adapter;\n  const first = +adapter.startOf(ticks[0].value, majorUnit);\n  const last = ticks[ticks.length - 1].value;\n  let major, index;\n  for (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\n    index = map[major];\n    if (index >= 0) {\n      ticks[index].major = true;\n    }\n  }\n  return ticks;\n}\nfunction ticksFromTimestamps(scale, values, majorUnit) {\n  const ticks = [];\n  const map = {};\n  const ilen = values.length;\n  let i, value;\n  for (i = 0; i < ilen; ++i) {\n    value = values[i];\n    map[value] = i;\n    ticks.push({\n      value,\n      major: false\n    });\n  }\n  return (ilen === 0 || !majorUnit) ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\n}\nclass TimeScale extends Scale {\n  constructor(props) {\n    super(props);\n    this._cache = {\n      data: [],\n      labels: [],\n      all: []\n    };\n    this._unit = 'day';\n    this._majorUnit = undefined;\n    this._offsets = {};\n    this._normalized = false;\n    this._parseOpts = undefined;\n  }\n  init(scaleOpts, opts) {\n    const time = scaleOpts.time || (scaleOpts.time = {});\n    const adapter = this._adapter = new _adapters._date(scaleOpts.adapters.date);\n    adapter.init(opts);\n    mergeIf(time.displayFormats, adapter.formats());\n    this._parseOpts = {\n      parser: time.parser,\n      round: time.round,\n      isoWeekday: time.isoWeekday\n    };\n    super.init(scaleOpts);\n    this._normalized = opts.normalized;\n  }\n  parse(raw, index) {\n    if (raw === undefined) {\n      return null;\n    }\n    return parse(this, raw);\n  }\n  beforeLayout() {\n    super.beforeLayout();\n    this._cache = {\n      data: [],\n      labels: [],\n      all: []\n    };\n  }\n  determineDataLimits() {\n    const options = this.options;\n    const adapter = this._adapter;\n    const unit = options.time.unit || 'day';\n    let {min, max, minDefined, maxDefined} = this.getUserBounds();\n    function _applyBounds(bounds) {\n      if (!minDefined && !isNaN(bounds.min)) {\n        min = Math.min(min, bounds.min);\n      }\n      if (!maxDefined && !isNaN(bounds.max)) {\n        max = Math.max(max, bounds.max);\n      }\n    }\n    if (!minDefined || !maxDefined) {\n      _applyBounds(this._getLabelBounds());\n      if (options.bounds !== 'ticks' || options.ticks.source !== 'labels') {\n        _applyBounds(this.getMinMax(false));\n      }\n    }\n    min = isNumberFinite(min) && !isNaN(min) ? min : +adapter.startOf(Date.now(), unit);\n    max = isNumberFinite(max) && !isNaN(max) ? max : +adapter.endOf(Date.now(), unit) + 1;\n    this.min = Math.min(min, max - 1);\n    this.max = Math.max(min + 1, max);\n  }\n  _getLabelBounds() {\n    const arr = this.getLabelTimestamps();\n    let min = Number.POSITIVE_INFINITY;\n    let max = Number.NEGATIVE_INFINITY;\n    if (arr.length) {\n      min = arr[0];\n      max = arr[arr.length - 1];\n    }\n    return {min, max};\n  }\n  buildTicks() {\n    const options = this.options;\n    const timeOpts = options.time;\n    const tickOpts = options.ticks;\n    const timestamps = tickOpts.source === 'labels' ? this.getLabelTimestamps() : this._generate();\n    if (options.bounds === 'ticks' && timestamps.length) {\n      this.min = this._userMin || timestamps[0];\n      this.max = this._userMax || timestamps[timestamps.length - 1];\n    }\n    const min = this.min;\n    const max = this.max;\n    const ticks = _filterBetween(timestamps, min, max);\n    this._unit = timeOpts.unit || (tickOpts.autoSkip\n      ? determineUnitForAutoTicks(timeOpts.minUnit, this.min, this.max, this._getLabelCapacity(min))\n      : determineUnitForFormatting(this, ticks.length, timeOpts.minUnit, this.min, this.max));\n    this._majorUnit = !tickOpts.major.enabled || this._unit === 'year' ? undefined\n      : determineMajorUnit(this._unit);\n    this.initOffsets(timestamps);\n    if (options.reverse) {\n      ticks.reverse();\n    }\n    return ticksFromTimestamps(this, ticks, this._majorUnit);\n  }\n  afterAutoSkip() {\n    if (this.options.offsetAfterAutoskip) {\n      this.initOffsets(this.ticks.map(tick => +tick.value));\n    }\n  }\n  initOffsets(timestamps) {\n    let start = 0;\n    let end = 0;\n    let first, last;\n    if (this.options.offset && timestamps.length) {\n      first = this.getDecimalForValue(timestamps[0]);\n      if (timestamps.length === 1) {\n        start = 1 - first;\n      } else {\n        start = (this.getDecimalForValue(timestamps[1]) - first) / 2;\n      }\n      last = this.getDecimalForValue(timestamps[timestamps.length - 1]);\n      if (timestamps.length === 1) {\n        end = last;\n      } else {\n        end = (last - this.getDecimalForValue(timestamps[timestamps.length - 2])) / 2;\n      }\n    }\n    const limit = timestamps.length < 3 ? 0.5 : 0.25;\n    start = _limitValue(start, 0, limit);\n    end = _limitValue(end, 0, limit);\n    this._offsets = {start, end, factor: 1 / (start + 1 + end)};\n  }\n  _generate() {\n    const adapter = this._adapter;\n    const min = this.min;\n    const max = this.max;\n    const options = this.options;\n    const timeOpts = options.time;\n    const minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, this._getLabelCapacity(min));\n    const stepSize = valueOrDefault(timeOpts.stepSize, 1);\n    const weekday = minor === 'week' ? timeOpts.isoWeekday : false;\n    const hasWeekday = isNumber(weekday) || weekday === true;\n    const ticks = {};\n    let first = min;\n    let time, count;\n    if (hasWeekday) {\n      first = +adapter.startOf(first, 'isoWeek', weekday);\n    }\n    first = +adapter.startOf(first, hasWeekday ? 'day' : minor);\n    if (adapter.diff(max, min, minor) > 100000 * stepSize) {\n      throw new Error(min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor);\n    }\n    const timestamps = options.ticks.source === 'data' && this.getDataTimestamps();\n    for (time = first, count = 0; time < max; time = +adapter.add(time, stepSize, minor), count++) {\n      addTick(ticks, time, timestamps);\n    }\n    if (time === max || options.bounds === 'ticks' || count === 1) {\n      addTick(ticks, time, timestamps);\n    }\n    return Object.keys(ticks).sort((a, b) => a - b).map(x => +x);\n  }\n  getLabelForValue(value) {\n    const adapter = this._adapter;\n    const timeOpts = this.options.time;\n    if (timeOpts.tooltipFormat) {\n      return adapter.format(value, timeOpts.tooltipFormat);\n    }\n    return adapter.format(value, timeOpts.displayFormats.datetime);\n  }\n  _tickFormatFunction(time, index, ticks, format) {\n    const options = this.options;\n    const formats = options.time.displayFormats;\n    const unit = this._unit;\n    const majorUnit = this._majorUnit;\n    const minorFormat = unit && formats[unit];\n    const majorFormat = majorUnit && formats[majorUnit];\n    const tick = ticks[index];\n    const major = majorUnit && majorFormat && tick && tick.major;\n    const label = this._adapter.format(time, format || (major ? majorFormat : minorFormat));\n    const formatter = options.ticks.callback;\n    return formatter ? callback(formatter, [label, index, ticks], this) : label;\n  }\n  generateTickLabels(ticks) {\n    let i, ilen, tick;\n    for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n      tick = ticks[i];\n      tick.label = this._tickFormatFunction(tick.value, i, ticks);\n    }\n  }\n  getDecimalForValue(value) {\n    return value === null ? NaN : (value - this.min) / (this.max - this.min);\n  }\n  getPixelForValue(value) {\n    const offsets = this._offsets;\n    const pos = this.getDecimalForValue(value);\n    return this.getPixelForDecimal((offsets.start + pos) * offsets.factor);\n  }\n  getValueForPixel(pixel) {\n    const offsets = this._offsets;\n    const pos = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\n    return this.min + pos * (this.max - this.min);\n  }\n  _getLabelSize(label) {\n    const ticksOpts = this.options.ticks;\n    const tickLabelWidth = this.ctx.measureText(label).width;\n    const angle = toRadians(this.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\n    const cosRotation = Math.cos(angle);\n    const sinRotation = Math.sin(angle);\n    const tickFontSize = this._resolveTickFontOptions(0).size;\n    return {\n      w: (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation),\n      h: (tickLabelWidth * sinRotation) + (tickFontSize * cosRotation)\n    };\n  }\n  _getLabelCapacity(exampleTime) {\n    const timeOpts = this.options.time;\n    const displayFormats = timeOpts.displayFormats;\n    const format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\n    const exampleLabel = this._tickFormatFunction(exampleTime, 0, ticksFromTimestamps(this, [exampleTime], this._majorUnit), format);\n    const size = this._getLabelSize(exampleLabel);\n    const capacity = Math.floor(this.isHorizontal() ? this.width / size.w : this.height / size.h) - 1;\n    return capacity > 0 ? capacity : 1;\n  }\n  getDataTimestamps() {\n    let timestamps = this._cache.data || [];\n    let i, ilen;\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const metas = this.getMatchingVisibleMetas();\n    if (this._normalized && metas.length) {\n      return (this._cache.data = metas[0].controller.getAllParsedValues(this));\n    }\n    for (i = 0, ilen = metas.length; i < ilen; ++i) {\n      timestamps = timestamps.concat(metas[i].controller.getAllParsedValues(this));\n    }\n    return (this._cache.data = this.normalize(timestamps));\n  }\n  getLabelTimestamps() {\n    const timestamps = this._cache.labels || [];\n    let i, ilen;\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const labels = this.getLabels();\n    for (i = 0, ilen = labels.length; i < ilen; ++i) {\n      timestamps.push(parse(this, labels[i]));\n    }\n    return (this._cache.labels = this._normalized ? timestamps : this.normalize(timestamps));\n  }\n  normalize(values) {\n    return _arrayUnique(values.sort(sorter));\n  }\n}\nTimeScale.id = 'time';\nTimeScale.defaults = {\n  bounds: 'data',\n  adapters: {},\n  time: {\n    parser: false,\n    unit: false,\n    round: false,\n    isoWeekday: false,\n    minUnit: 'millisecond',\n    displayFormats: {}\n  },\n  ticks: {\n    source: 'auto',\n    major: {\n      enabled: false\n    }\n  }\n};\n\nfunction interpolate(table, val, reverse) {\n  let lo = 0;\n  let hi = table.length - 1;\n  let prevSource, nextSource, prevTarget, nextTarget;\n  if (reverse) {\n    if (val >= table[lo].pos && val <= table[hi].pos) {\n      ({lo, hi} = _lookupByKey(table, 'pos', val));\n    }\n    ({pos: prevSource, time: prevTarget} = table[lo]);\n    ({pos: nextSource, time: nextTarget} = table[hi]);\n  } else {\n    if (val >= table[lo].time && val <= table[hi].time) {\n      ({lo, hi} = _lookupByKey(table, 'time', val));\n    }\n    ({time: prevSource, pos: prevTarget} = table[lo]);\n    ({time: nextSource, pos: nextTarget} = table[hi]);\n  }\n  const span = nextSource - prevSource;\n  return span ? prevTarget + (nextTarget - prevTarget) * (val - prevSource) / span : prevTarget;\n}\nclass TimeSeriesScale extends TimeScale {\n  constructor(props) {\n    super(props);\n    this._table = [];\n    this._minPos = undefined;\n    this._tableRange = undefined;\n  }\n  initOffsets() {\n    const timestamps = this._getTimestampsForTable();\n    const table = this._table = this.buildLookupTable(timestamps);\n    this._minPos = interpolate(table, this.min);\n    this._tableRange = interpolate(table, this.max) - this._minPos;\n    super.initOffsets(timestamps);\n  }\n  buildLookupTable(timestamps) {\n    const {min, max} = this;\n    const items = [];\n    const table = [];\n    let i, ilen, prev, curr, next;\n    for (i = 0, ilen = timestamps.length; i < ilen; ++i) {\n      curr = timestamps[i];\n      if (curr >= min && curr <= max) {\n        items.push(curr);\n      }\n    }\n    if (items.length < 2) {\n      return [\n        {time: min, pos: 0},\n        {time: max, pos: 1}\n      ];\n    }\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      next = items[i + 1];\n      prev = items[i - 1];\n      curr = items[i];\n      if (Math.round((next + prev) / 2) !== curr) {\n        table.push({time: curr, pos: i / (ilen - 1)});\n      }\n    }\n    return table;\n  }\n  _getTimestampsForTable() {\n    let timestamps = this._cache.all || [];\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const data = this.getDataTimestamps();\n    const label = this.getLabelTimestamps();\n    if (data.length && label.length) {\n      timestamps = this.normalize(data.concat(label));\n    } else {\n      timestamps = data.length ? data : label;\n    }\n    timestamps = this._cache.all = timestamps;\n    return timestamps;\n  }\n  getDecimalForValue(value) {\n    return (interpolate(this._table, value) - this._minPos) / this._tableRange;\n  }\n  getValueForPixel(pixel) {\n    const offsets = this._offsets;\n    const decimal = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\n    return interpolate(this._table, decimal * this._tableRange + this._minPos, true);\n  }\n}\nTimeSeriesScale.id = 'timeseries';\nTimeSeriesScale.defaults = TimeScale.defaults;\n\nvar scales = /*#__PURE__*/Object.freeze({\n__proto__: null,\nCategoryScale: CategoryScale,\nLinearScale: LinearScale,\nLogarithmicScale: LogarithmicScale,\nRadialLinearScale: RadialLinearScale,\nTimeScale: TimeScale,\nTimeSeriesScale: TimeSeriesScale\n});\n\nChart.register(controllers, scales, elements, plugins);\nChart.helpers = {...helpers};\nChart._adapters = _adapters;\nChart.Animation = Animation;\nChart.Animations = Animations;\nChart.animator = animator;\nChart.controllers = registry.controllers.items;\nChart.DatasetController = DatasetController;\nChart.Element = Element;\nChart.elements = elements;\nChart.Interaction = Interaction;\nChart.layouts = layouts;\nChart.platforms = platforms;\nChart.Scale = Scale;\nChart.Ticks = Ticks;\nObject.assign(Chart, controllers, scales, elements, plugins, platforms);\nChart.Chart = Chart;\nif (typeof window !== 'undefined') {\n  window.Chart = Chart;\n}\n\nreturn Chart;\n\n}));\n","/*!\n  * chartjs-adapter-moment v1.0.1\n  * https://www.chartjs.org\n  * (c) 2022 chartjs-adapter-moment Contributors\n  * Released under the MIT license\n  */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? factory(require('moment'), require('chart.js')) :\ntypeof define === 'function' && define.amd ? define(['moment', 'chart.js'], factory) :\n(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.moment, global.Chart));\n}(this, (function (moment, chart_js) { 'use strict';\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);\n\nconst FORMATS = {\n  datetime: 'MMM D, YYYY, h:mm:ss a',\n  millisecond: 'h:mm:ss.SSS a',\n  second: 'h:mm:ss a',\n  minute: 'h:mm a',\n  hour: 'hA',\n  day: 'MMM D',\n  week: 'll',\n  month: 'MMM YYYY',\n  quarter: '[Q]Q - YYYY',\n  year: 'YYYY'\n};\n\nchart_js._adapters._date.override(typeof moment__default['default'] === 'function' ? {\n  _id: 'moment', // DEBUG ONLY\n\n  formats: function() {\n    return FORMATS;\n  },\n\n  parse: function(value, format) {\n    if (typeof value === 'string' && typeof format === 'string') {\n      value = moment__default['default'](value, format);\n    } else if (!(value instanceof moment__default['default'])) {\n      value = moment__default['default'](value);\n    }\n    return value.isValid() ? value.valueOf() : null;\n  },\n\n  format: function(time, format) {\n    return moment__default['default'](time).format(format);\n  },\n\n  add: function(time, amount, unit) {\n    return moment__default['default'](time).add(amount, unit).valueOf();\n  },\n\n  diff: function(max, min, unit) {\n    return moment__default['default'](max).diff(moment__default['default'](min), unit);\n  },\n\n  startOf: function(time, unit, weekday) {\n    time = moment__default['default'](time);\n    if (unit === 'isoWeek') {\n      weekday = Math.trunc(Math.min(Math.max(0, weekday), 6));\n      return time.isoWeekday(weekday).startOf('day').valueOf();\n    }\n    return time.startOf(unit).valueOf();\n  },\n\n  endOf: function(time, unit) {\n    return moment__default['default'](time).endOf(unit).valueOf();\n  }\n} : {});\n\n})));\n","/**\n * @license\n * Lodash <https://lodash.com/>\n * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n * Released under MIT license <https://lodash.com/license>\n * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>\n * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n */\n;(function() {\n\n  /** Used as a safe reference for `undefined` in pre-ES5 environments. */\n  var undefined;\n\n  /** Used as the semantic version number. */\n  var VERSION = '4.17.21';\n\n  /** Used as the size to enable large array optimizations. */\n  var LARGE_ARRAY_SIZE = 200;\n\n  /** Error message constants. */\n  var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',\n      FUNC_ERROR_TEXT = 'Expected a function',\n      INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`';\n\n  /** Used to stand-in for `undefined` hash values. */\n  var HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n  /** Used as the maximum memoize cache size. */\n  var MAX_MEMOIZE_SIZE = 500;\n\n  /** Used as the internal argument placeholder. */\n  var PLACEHOLDER = '__lodash_placeholder__';\n\n  /** Used to compose bitmasks for cloning. */\n  var CLONE_DEEP_FLAG = 1,\n      CLONE_FLAT_FLAG = 2,\n      CLONE_SYMBOLS_FLAG = 4;\n\n  /** Used to compose bitmasks for value comparisons. */\n  var COMPARE_PARTIAL_FLAG = 1,\n      COMPARE_UNORDERED_FLAG = 2;\n\n  /** Used to compose bitmasks for function metadata. */\n  var WRAP_BIND_FLAG = 1,\n      WRAP_BIND_KEY_FLAG = 2,\n      WRAP_CURRY_BOUND_FLAG = 4,\n      WRAP_CURRY_FLAG = 8,\n      WRAP_CURRY_RIGHT_FLAG = 16,\n      WRAP_PARTIAL_FLAG = 32,\n      WRAP_PARTIAL_RIGHT_FLAG = 64,\n      WRAP_ARY_FLAG = 128,\n      WRAP_REARG_FLAG = 256,\n      WRAP_FLIP_FLAG = 512;\n\n  /** Used as default options for `_.truncate`. */\n  var DEFAULT_TRUNC_LENGTH = 30,\n      DEFAULT_TRUNC_OMISSION = '...';\n\n  /** Used to detect hot functions by number of calls within a span of milliseconds. */\n  var HOT_COUNT = 800,\n      HOT_SPAN = 16;\n\n  /** Used to indicate the type of lazy iteratees. */\n  var LAZY_FILTER_FLAG = 1,\n      LAZY_MAP_FLAG = 2,\n      LAZY_WHILE_FLAG = 3;\n\n  /** Used as references for various `Number` constants. */\n  var INFINITY = 1 / 0,\n      MAX_SAFE_INTEGER = 9007199254740991,\n      MAX_INTEGER = 1.7976931348623157e+308,\n      NAN = 0 / 0;\n\n  /** Used as references for the maximum length and index of an array. */\n  var MAX_ARRAY_LENGTH = 4294967295,\n      MAX_ARRAY_INDEX = MAX_ARRAY_LENGTH - 1,\n      HALF_MAX_ARRAY_LENGTH = MAX_ARRAY_LENGTH >>> 1;\n\n  /** Used to associate wrap methods with their bit flags. */\n  var wrapFlags = [\n    ['ary', WRAP_ARY_FLAG],\n    ['bind', WRAP_BIND_FLAG],\n    ['bindKey', WRAP_BIND_KEY_FLAG],\n    ['curry', WRAP_CURRY_FLAG],\n    ['curryRight', WRAP_CURRY_RIGHT_FLAG],\n    ['flip', WRAP_FLIP_FLAG],\n    ['partial', WRAP_PARTIAL_FLAG],\n    ['partialRight', WRAP_PARTIAL_RIGHT_FLAG],\n    ['rearg', WRAP_REARG_FLAG]\n  ];\n\n  /** `Object#toString` result references. */\n  var argsTag = '[object Arguments]',\n      arrayTag = '[object Array]',\n      asyncTag = '[object AsyncFunction]',\n      boolTag = '[object Boolean]',\n      dateTag = '[object Date]',\n      domExcTag = '[object DOMException]',\n      errorTag = '[object Error]',\n      funcTag = '[object Function]',\n      genTag = '[object GeneratorFunction]',\n      mapTag = '[object Map]',\n      numberTag = '[object Number]',\n      nullTag = '[object Null]',\n      objectTag = '[object Object]',\n      promiseTag = '[object Promise]',\n      proxyTag = '[object Proxy]',\n      regexpTag = '[object RegExp]',\n      setTag = '[object Set]',\n      stringTag = '[object String]',\n      symbolTag = '[object Symbol]',\n      undefinedTag = '[object Undefined]',\n      weakMapTag = '[object WeakMap]',\n      weakSetTag = '[object WeakSet]';\n\n  var arrayBufferTag = '[object ArrayBuffer]',\n      dataViewTag = '[object DataView]',\n      float32Tag = '[object Float32Array]',\n      float64Tag = '[object Float64Array]',\n      int8Tag = '[object Int8Array]',\n      int16Tag = '[object Int16Array]',\n      int32Tag = '[object Int32Array]',\n      uint8Tag = '[object Uint8Array]',\n      uint8ClampedTag = '[object Uint8ClampedArray]',\n      uint16Tag = '[object Uint16Array]',\n      uint32Tag = '[object Uint32Array]';\n\n  /** Used to match empty string literals in compiled template source. */\n  var reEmptyStringLeading = /\\b__p \\+= '';/g,\n      reEmptyStringMiddle = /\\b(__p \\+=) '' \\+/g,\n      reEmptyStringTrailing = /(__e\\(.*?\\)|\\b__t\\)) \\+\\n'';/g;\n\n  /** Used to match HTML entities and HTML characters. */\n  var reEscapedHtml = /&(?:amp|lt|gt|quot|#39);/g,\n      reUnescapedHtml = /[&<>\"']/g,\n      reHasEscapedHtml = RegExp(reEscapedHtml.source),\n      reHasUnescapedHtml = RegExp(reUnescapedHtml.source);\n\n  /** Used to match template delimiters. */\n  var reEscape = /<%-([\\s\\S]+?)%>/g,\n      reEvaluate = /<%([\\s\\S]+?)%>/g,\n      reInterpolate = /<%=([\\s\\S]+?)%>/g;\n\n  /** Used to match property names within property paths. */\n  var reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n      reIsPlainProp = /^\\w*$/,\n      rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n  /**\n   * Used to match `RegExp`\n   * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n   */\n  var reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g,\n      reHasRegExpChar = RegExp(reRegExpChar.source);\n\n  /** Used to match leading whitespace. */\n  var reTrimStart = /^\\s+/;\n\n  /** Used to match a single whitespace character. */\n  var reWhitespace = /\\s/;\n\n  /** Used to match wrap detail comments. */\n  var reWrapComment = /\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,\n      reWrapDetails = /\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,\n      reSplitDetails = /,? & /;\n\n  /** Used to match words composed of alphanumeric characters. */\n  var reAsciiWord = /[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g;\n\n  /**\n   * Used to validate the `validate` option in `_.template` variable.\n   *\n   * Forbids characters which could potentially change the meaning of the function argument definition:\n   * - \"(),\" (modification of function parameters)\n   * - \"=\" (default value)\n   * - \"[]{}\" (destructuring of function parameters)\n   * - \"/\" (beginning of a comment)\n   * - whitespace\n   */\n  var reForbiddenIdentifierChars = /[()=,{}\\[\\]\\/\\s]/;\n\n  /** Used to match backslashes in property paths. */\n  var reEscapeChar = /\\\\(\\\\)?/g;\n\n  /**\n   * Used to match\n   * [ES template delimiters](http://ecma-international.org/ecma-262/7.0/#sec-template-literal-lexical-components).\n   */\n  var reEsTemplate = /\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g;\n\n  /** Used to match `RegExp` flags from their coerced string values. */\n  var reFlags = /\\w*$/;\n\n  /** Used to detect bad signed hexadecimal string values. */\n  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n  /** Used to detect binary string values. */\n  var reIsBinary = /^0b[01]+$/i;\n\n  /** Used to detect host constructors (Safari). */\n  var reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n  /** Used to detect octal string values. */\n  var reIsOctal = /^0o[0-7]+$/i;\n\n  /** Used to detect unsigned integer values. */\n  var reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n  /** Used to match Latin Unicode letters (excluding mathematical operators). */\n  var reLatin = /[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g;\n\n  /** Used to ensure capturing order of template delimiters. */\n  var reNoMatch = /($^)/;\n\n  /** Used to match unescaped characters in compiled string literals. */\n  var reUnescapedString = /['\\n\\r\\u2028\\u2029\\\\]/g;\n\n  /** Used to compose unicode character classes. */\n  var rsAstralRange = '\\\\ud800-\\\\udfff',\n      rsComboMarksRange = '\\\\u0300-\\\\u036f',\n      reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n      rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n      rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n      rsDingbatRange = '\\\\u2700-\\\\u27bf',\n      rsLowerRange = 'a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff',\n      rsMathOpRange = '\\\\xac\\\\xb1\\\\xd7\\\\xf7',\n      rsNonCharRange = '\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf',\n      rsPunctuationRange = '\\\\u2000-\\\\u206f',\n      rsSpaceRange = ' \\\\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',\n      rsUpperRange = 'A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde',\n      rsVarRange = '\\\\ufe0e\\\\ufe0f',\n      rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;\n\n  /** Used to compose unicode capture groups. */\n  var rsApos = \"['\\u2019]\",\n      rsAstral = '[' + rsAstralRange + ']',\n      rsBreak = '[' + rsBreakRange + ']',\n      rsCombo = '[' + rsComboRange + ']',\n      rsDigits = '\\\\d+',\n      rsDingbat = '[' + rsDingbatRange + ']',\n      rsLower = '[' + rsLowerRange + ']',\n      rsMisc = '[^' + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + ']',\n      rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n      rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n      rsNonAstral = '[^' + rsAstralRange + ']',\n      rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n      rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n      rsUpper = '[' + rsUpperRange + ']',\n      rsZWJ = '\\\\u200d';\n\n  /** Used to compose unicode regexes. */\n  var rsMiscLower = '(?:' + rsLower + '|' + rsMisc + ')',\n      rsMiscUpper = '(?:' + rsUpper + '|' + rsMisc + ')',\n      rsOptContrLower = '(?:' + rsApos + '(?:d|ll|m|re|s|t|ve))?',\n      rsOptContrUpper = '(?:' + rsApos + '(?:D|LL|M|RE|S|T|VE))?',\n      reOptMod = rsModifier + '?',\n      rsOptVar = '[' + rsVarRange + ']?',\n      rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n      rsOrdLower = '\\\\d*(?:1st|2nd|3rd|(?![123])\\\\dth)(?=\\\\b|[A-Z_])',\n      rsOrdUpper = '\\\\d*(?:1ST|2ND|3RD|(?![123])\\\\dTH)(?=\\\\b|[a-z_])',\n      rsSeq = rsOptVar + reOptMod + rsOptJoin,\n      rsEmoji = '(?:' + [rsDingbat, rsRegional, rsSurrPair].join('|') + ')' + rsSeq,\n      rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n  /** Used to match apostrophes. */\n  var reApos = RegExp(rsApos, 'g');\n\n  /**\n   * Used to match [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks) and\n   * [combining diacritical marks for symbols](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks_for_Symbols).\n   */\n  var reComboMark = RegExp(rsCombo, 'g');\n\n  /** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\n  var reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n  /** Used to match complex or compound words. */\n  var reUnicodeWord = RegExp([\n    rsUpper + '?' + rsLower + '+' + rsOptContrLower + '(?=' + [rsBreak, rsUpper, '$'].join('|') + ')',\n    rsMiscUpper + '+' + rsOptContrUpper + '(?=' + [rsBreak, rsUpper + rsMiscLower, '$'].join('|') + ')',\n    rsUpper + '?' + rsMiscLower + '+' + rsOptContrLower,\n    rsUpper + '+' + rsOptContrUpper,\n    rsOrdUpper,\n    rsOrdLower,\n    rsDigits,\n    rsEmoji\n  ].join('|'), 'g');\n\n  /** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\n  var reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange  + rsComboRange + rsVarRange + ']');\n\n  /** Used to detect strings that need a more robust regexp to match words. */\n  var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;\n\n  /** Used to assign default `context` object properties. */\n  var contextProps = [\n    'Array', 'Buffer', 'DataView', 'Date', 'Error', 'Float32Array', 'Float64Array',\n    'Function', 'Int8Array', 'Int16Array', 'Int32Array', 'Map', 'Math', 'Object',\n    'Promise', 'RegExp', 'Set', 'String', 'Symbol', 'TypeError', 'Uint8Array',\n    'Uint8ClampedArray', 'Uint16Array', 'Uint32Array', 'WeakMap',\n    '_', 'clearTimeout', 'isFinite', 'parseInt', 'setTimeout'\n  ];\n\n  /** Used to make template sourceURLs easier to identify. */\n  var templateCounter = -1;\n\n  /** Used to identify `toStringTag` values of typed arrays. */\n  var typedArrayTags = {};\n  typedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\n  typedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\n  typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\n  typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\n  typedArrayTags[uint32Tag] = true;\n  typedArrayTags[argsTag] = typedArrayTags[arrayTag] =\n  typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\n  typedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\n  typedArrayTags[errorTag] = typedArrayTags[funcTag] =\n  typedArrayTags[mapTag] = typedArrayTags[numberTag] =\n  typedArrayTags[objectTag] = typedArrayTags[regexpTag] =\n  typedArrayTags[setTag] = typedArrayTags[stringTag] =\n  typedArrayTags[weakMapTag] = false;\n\n  /** Used to identify `toStringTag` values supported by `_.clone`. */\n  var cloneableTags = {};\n  cloneableTags[argsTag] = cloneableTags[arrayTag] =\n  cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\n  cloneableTags[boolTag] = cloneableTags[dateTag] =\n  cloneableTags[float32Tag] = cloneableTags[float64Tag] =\n  cloneableTags[int8Tag] = cloneableTags[int16Tag] =\n  cloneableTags[int32Tag] = cloneableTags[mapTag] =\n  cloneableTags[numberTag] = cloneableTags[objectTag] =\n  cloneableTags[regexpTag] = cloneableTags[setTag] =\n  cloneableTags[stringTag] = cloneableTags[symbolTag] =\n  cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\n  cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\n  cloneableTags[errorTag] = cloneableTags[funcTag] =\n  cloneableTags[weakMapTag] = false;\n\n  /** Used to map Latin Unicode letters to basic Latin letters. */\n  var deburredLetters = {\n    // Latin-1 Supplement block.\n    '\\xc0': 'A',  '\\xc1': 'A', '\\xc2': 'A', '\\xc3': 'A', '\\xc4': 'A', '\\xc5': 'A',\n    '\\xe0': 'a',  '\\xe1': 'a', '\\xe2': 'a', '\\xe3': 'a', '\\xe4': 'a', '\\xe5': 'a',\n    '\\xc7': 'C',  '\\xe7': 'c',\n    '\\xd0': 'D',  '\\xf0': 'd',\n    '\\xc8': 'E',  '\\xc9': 'E', '\\xca': 'E', '\\xcb': 'E',\n    '\\xe8': 'e',  '\\xe9': 'e', '\\xea': 'e', '\\xeb': 'e',\n    '\\xcc': 'I',  '\\xcd': 'I', '\\xce': 'I', '\\xcf': 'I',\n    '\\xec': 'i',  '\\xed': 'i', '\\xee': 'i', '\\xef': 'i',\n    '\\xd1': 'N',  '\\xf1': 'n',\n    '\\xd2': 'O',  '\\xd3': 'O', '\\xd4': 'O', '\\xd5': 'O', '\\xd6': 'O', '\\xd8': 'O',\n    '\\xf2': 'o',  '\\xf3': 'o', '\\xf4': 'o', '\\xf5': 'o', '\\xf6': 'o', '\\xf8': 'o',\n    '\\xd9': 'U',  '\\xda': 'U', '\\xdb': 'U', '\\xdc': 'U',\n    '\\xf9': 'u',  '\\xfa': 'u', '\\xfb': 'u', '\\xfc': 'u',\n    '\\xdd': 'Y',  '\\xfd': 'y', '\\xff': 'y',\n    '\\xc6': 'Ae', '\\xe6': 'ae',\n    '\\xde': 'Th', '\\xfe': 'th',\n    '\\xdf': 'ss',\n    // Latin Extended-A block.\n    '\\u0100': 'A',  '\\u0102': 'A', '\\u0104': 'A',\n    '\\u0101': 'a',  '\\u0103': 'a', '\\u0105': 'a',\n    '\\u0106': 'C',  '\\u0108': 'C', '\\u010a': 'C', '\\u010c': 'C',\n    '\\u0107': 'c',  '\\u0109': 'c', '\\u010b': 'c', '\\u010d': 'c',\n    '\\u010e': 'D',  '\\u0110': 'D', '\\u010f': 'd', '\\u0111': 'd',\n    '\\u0112': 'E',  '\\u0114': 'E', '\\u0116': 'E', '\\u0118': 'E', '\\u011a': 'E',\n    '\\u0113': 'e',  '\\u0115': 'e', '\\u0117': 'e', '\\u0119': 'e', '\\u011b': 'e',\n    '\\u011c': 'G',  '\\u011e': 'G', '\\u0120': 'G', '\\u0122': 'G',\n    '\\u011d': 'g',  '\\u011f': 'g', '\\u0121': 'g', '\\u0123': 'g',\n    '\\u0124': 'H',  '\\u0126': 'H', '\\u0125': 'h', '\\u0127': 'h',\n    '\\u0128': 'I',  '\\u012a': 'I', '\\u012c': 'I', '\\u012e': 'I', '\\u0130': 'I',\n    '\\u0129': 'i',  '\\u012b': 'i', '\\u012d': 'i', '\\u012f': 'i', '\\u0131': 'i',\n    '\\u0134': 'J',  '\\u0135': 'j',\n    '\\u0136': 'K',  '\\u0137': 'k', '\\u0138': 'k',\n    '\\u0139': 'L',  '\\u013b': 'L', '\\u013d': 'L', '\\u013f': 'L', '\\u0141': 'L',\n    '\\u013a': 'l',  '\\u013c': 'l', '\\u013e': 'l', '\\u0140': 'l', '\\u0142': 'l',\n    '\\u0143': 'N',  '\\u0145': 'N', '\\u0147': 'N', '\\u014a': 'N',\n    '\\u0144': 'n',  '\\u0146': 'n', '\\u0148': 'n', '\\u014b': 'n',\n    '\\u014c': 'O',  '\\u014e': 'O', '\\u0150': 'O',\n    '\\u014d': 'o',  '\\u014f': 'o', '\\u0151': 'o',\n    '\\u0154': 'R',  '\\u0156': 'R', '\\u0158': 'R',\n    '\\u0155': 'r',  '\\u0157': 'r', '\\u0159': 'r',\n    '\\u015a': 'S',  '\\u015c': 'S', '\\u015e': 'S', '\\u0160': 'S',\n    '\\u015b': 's',  '\\u015d': 's', '\\u015f': 's', '\\u0161': 's',\n    '\\u0162': 'T',  '\\u0164': 'T', '\\u0166': 'T',\n    '\\u0163': 't',  '\\u0165': 't', '\\u0167': 't',\n    '\\u0168': 'U',  '\\u016a': 'U', '\\u016c': 'U', '\\u016e': 'U', '\\u0170': 'U', '\\u0172': 'U',\n    '\\u0169': 'u',  '\\u016b': 'u', '\\u016d': 'u', '\\u016f': 'u', '\\u0171': 'u', '\\u0173': 'u',\n    '\\u0174': 'W',  '\\u0175': 'w',\n    '\\u0176': 'Y',  '\\u0177': 'y', '\\u0178': 'Y',\n    '\\u0179': 'Z',  '\\u017b': 'Z', '\\u017d': 'Z',\n    '\\u017a': 'z',  '\\u017c': 'z', '\\u017e': 'z',\n    '\\u0132': 'IJ', '\\u0133': 'ij',\n    '\\u0152': 'Oe', '\\u0153': 'oe',\n    '\\u0149': \"'n\", '\\u017f': 's'\n  };\n\n  /** Used to map characters to HTML entities. */\n  var htmlEscapes = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#39;'\n  };\n\n  /** Used to map HTML entities to characters. */\n  var htmlUnescapes = {\n    '&amp;': '&',\n    '&lt;': '<',\n    '&gt;': '>',\n    '&quot;': '\"',\n    '&#39;': \"'\"\n  };\n\n  /** Used to escape characters for inclusion in compiled string literals. */\n  var stringEscapes = {\n    '\\\\': '\\\\',\n    \"'\": \"'\",\n    '\\n': 'n',\n    '\\r': 'r',\n    '\\u2028': 'u2028',\n    '\\u2029': 'u2029'\n  };\n\n  /** Built-in method references without a dependency on `root`. */\n  var freeParseFloat = parseFloat,\n      freeParseInt = parseInt;\n\n  /** Detect free variable `global` from Node.js. */\n  var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\n  /** Detect free variable `self`. */\n  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n  /** Used as a reference to the global object. */\n  var root = freeGlobal || freeSelf || Function('return this')();\n\n  /** Detect free variable `exports`. */\n  var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n  /** Detect free variable `module`. */\n  var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n  /** Detect the popular CommonJS extension `module.exports`. */\n  var moduleExports = freeModule && freeModule.exports === freeExports;\n\n  /** Detect free variable `process` from Node.js. */\n  var freeProcess = moduleExports && freeGlobal.process;\n\n  /** Used to access faster Node.js helpers. */\n  var nodeUtil = (function() {\n    try {\n      // Use `util.types` for Node.js 10+.\n      var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n      if (types) {\n        return types;\n      }\n\n      // Legacy `process.binding('util')` for Node.js < 10.\n      return freeProcess && freeProcess.binding && freeProcess.binding('util');\n    } catch (e) {}\n  }());\n\n  /* Node.js helper references. */\n  var nodeIsArrayBuffer = nodeUtil && nodeUtil.isArrayBuffer,\n      nodeIsDate = nodeUtil && nodeUtil.isDate,\n      nodeIsMap = nodeUtil && nodeUtil.isMap,\n      nodeIsRegExp = nodeUtil && nodeUtil.isRegExp,\n      nodeIsSet = nodeUtil && nodeUtil.isSet,\n      nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * A faster alternative to `Function#apply`, this function invokes `func`\n   * with the `this` binding of `thisArg` and the arguments of `args`.\n   *\n   * @private\n   * @param {Function} func The function to invoke.\n   * @param {*} thisArg The `this` binding of `func`.\n   * @param {Array} args The arguments to invoke `func` with.\n   * @returns {*} Returns the result of `func`.\n   */\n  function apply(func, thisArg, args) {\n    switch (args.length) {\n      case 0: return func.call(thisArg);\n      case 1: return func.call(thisArg, args[0]);\n      case 2: return func.call(thisArg, args[0], args[1]);\n      case 3: return func.call(thisArg, args[0], args[1], args[2]);\n    }\n    return func.apply(thisArg, args);\n  }\n\n  /**\n   * A specialized version of `baseAggregator` for arrays.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} setter The function to set `accumulator` values.\n   * @param {Function} iteratee The iteratee to transform keys.\n   * @param {Object} accumulator The initial aggregated object.\n   * @returns {Function} Returns `accumulator`.\n   */\n  function arrayAggregator(array, setter, iteratee, accumulator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      var value = array[index];\n      setter(accumulator, value, iteratee(value), array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.forEach` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEach(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (iteratee(array[index], index, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.forEachRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayEachRight(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n\n    while (length--) {\n      if (iteratee(array[length], length, array) === false) {\n        break;\n      }\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.every` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if all elements pass the predicate check,\n   *  else `false`.\n   */\n  function arrayEvery(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (!predicate(array[index], index, array)) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  /**\n   * A specialized version of `_.filter` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {Array} Returns the new filtered array.\n   */\n  function arrayFilter(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (predicate(value, index, array)) {\n        result[resIndex++] = value;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.includes` for arrays without support for\n   * specifying an index to search from.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludes(array, value) {\n    var length = array == null ? 0 : array.length;\n    return !!length && baseIndexOf(array, value, 0) > -1;\n  }\n\n  /**\n   * This function is like `arrayIncludes` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} [array] The array to inspect.\n   * @param {*} target The value to search for.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {boolean} Returns `true` if `target` is found, else `false`.\n   */\n  function arrayIncludesWith(array, value, comparator) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (comparator(value, array[index])) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * A specialized version of `_.map` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the new mapped array.\n   */\n  function arrayMap(array, iteratee) {\n    var index = -1,\n        length = array == null ? 0 : array.length,\n        result = Array(length);\n\n    while (++index < length) {\n      result[index] = iteratee(array[index], index, array);\n    }\n    return result;\n  }\n\n  /**\n   * Appends the elements of `values` to `array`.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {Array} values The values to append.\n   * @returns {Array} Returns `array`.\n   */\n  function arrayPush(array, values) {\n    var index = -1,\n        length = values.length,\n        offset = array.length;\n\n    while (++index < length) {\n      array[offset + index] = values[index];\n    }\n    return array;\n  }\n\n  /**\n   * A specialized version of `_.reduce` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the first element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduce(array, iteratee, accumulator, initAccum) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    if (initAccum && length) {\n      accumulator = array[++index];\n    }\n    while (++index < length) {\n      accumulator = iteratee(accumulator, array[index], index, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.reduceRight` for arrays without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} [accumulator] The initial value.\n   * @param {boolean} [initAccum] Specify using the last element of `array` as\n   *  the initial value.\n   * @returns {*} Returns the accumulated value.\n   */\n  function arrayReduceRight(array, iteratee, accumulator, initAccum) {\n    var length = array == null ? 0 : array.length;\n    if (initAccum && length) {\n      accumulator = array[--length];\n    }\n    while (length--) {\n      accumulator = iteratee(accumulator, array[length], length, array);\n    }\n    return accumulator;\n  }\n\n  /**\n   * A specialized version of `_.some` for arrays without support for iteratee\n   * shorthands.\n   *\n   * @private\n   * @param {Array} [array] The array to iterate over.\n   * @param {Function} predicate The function invoked per iteration.\n   * @returns {boolean} Returns `true` if any element passes the predicate check,\n   *  else `false`.\n   */\n  function arraySome(array, predicate) {\n    var index = -1,\n        length = array == null ? 0 : array.length;\n\n    while (++index < length) {\n      if (predicate(array[index], index, array)) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * Gets the size of an ASCII `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  var asciiSize = baseProperty('length');\n\n  /**\n   * Converts an ASCII `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function asciiToArray(string) {\n    return string.split('');\n  }\n\n  /**\n   * Splits an ASCII `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function asciiWords(string) {\n    return string.match(reAsciiWord) || [];\n  }\n\n  /**\n   * The base implementation of methods like `_.findKey` and `_.findLastKey`,\n   * without support for iteratee shorthands, which iterates over `collection`\n   * using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the found element or its key, else `undefined`.\n   */\n  function baseFindKey(collection, predicate, eachFunc) {\n    var result;\n    eachFunc(collection, function(value, key, collection) {\n      if (predicate(value, key, collection)) {\n        result = key;\n        return false;\n      }\n    });\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.findIndex` and `_.findLastIndex` without\n   * support for iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {Function} predicate The function invoked per iteration.\n   * @param {number} fromIndex The index to search from.\n   * @param {boolean} [fromRight] Specify iterating from right to left.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseFindIndex(array, predicate, fromIndex, fromRight) {\n    var length = array.length,\n        index = fromIndex + (fromRight ? 1 : -1);\n\n    while ((fromRight ? index-- : ++index < length)) {\n      if (predicate(array[index], index, array)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOf(array, value, fromIndex) {\n    return value === value\n      ? strictIndexOf(array, value, fromIndex)\n      : baseFindIndex(array, baseIsNaN, fromIndex);\n  }\n\n  /**\n   * This function is like `baseIndexOf` except that it accepts a comparator.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @param {Function} comparator The comparator invoked per element.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function baseIndexOfWith(array, value, fromIndex, comparator) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (comparator(array[index], value)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * The base implementation of `_.isNaN` without support for number objects.\n   *\n   * @private\n   * @param {*} value The value to check.\n   * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n   */\n  function baseIsNaN(value) {\n    return value !== value;\n  }\n\n  /**\n   * The base implementation of `_.mean` and `_.meanBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the mean.\n   */\n  function baseMean(array, iteratee) {\n    var length = array == null ? 0 : array.length;\n    return length ? (baseSum(array, iteratee) / length) : NAN;\n  }\n\n  /**\n   * The base implementation of `_.property` without support for deep paths.\n   *\n   * @private\n   * @param {string} key The key of the property to get.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function baseProperty(key) {\n    return function(object) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.propertyOf` without support for deep paths.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @returns {Function} Returns the new accessor function.\n   */\n  function basePropertyOf(object) {\n    return function(key) {\n      return object == null ? undefined : object[key];\n    };\n  }\n\n  /**\n   * The base implementation of `_.reduce` and `_.reduceRight`, without support\n   * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n   *\n   * @private\n   * @param {Array|Object} collection The collection to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @param {*} accumulator The initial value.\n   * @param {boolean} initAccum Specify using the first or last element of\n   *  `collection` as the initial value.\n   * @param {Function} eachFunc The function to iterate over `collection`.\n   * @returns {*} Returns the accumulated value.\n   */\n  function baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n    eachFunc(collection, function(value, index, collection) {\n      accumulator = initAccum\n        ? (initAccum = false, value)\n        : iteratee(accumulator, value, index, collection);\n    });\n    return accumulator;\n  }\n\n  /**\n   * The base implementation of `_.sortBy` which uses `comparer` to define the\n   * sort order of `array` and replaces criteria objects with their corresponding\n   * values.\n   *\n   * @private\n   * @param {Array} array The array to sort.\n   * @param {Function} comparer The function to define sort order.\n   * @returns {Array} Returns `array`.\n   */\n  function baseSortBy(array, comparer) {\n    var length = array.length;\n\n    array.sort(comparer);\n    while (length--) {\n      array[length] = array[length].value;\n    }\n    return array;\n  }\n\n  /**\n   * The base implementation of `_.sum` and `_.sumBy` without support for\n   * iteratee shorthands.\n   *\n   * @private\n   * @param {Array} array The array to iterate over.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {number} Returns the sum.\n   */\n  function baseSum(array, iteratee) {\n    var result,\n        index = -1,\n        length = array.length;\n\n    while (++index < length) {\n      var current = iteratee(array[index]);\n      if (current !== undefined) {\n        result = result === undefined ? current : (result + current);\n      }\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.times` without support for iteratee shorthands\n   * or max array length checks.\n   *\n   * @private\n   * @param {number} n The number of times to invoke `iteratee`.\n   * @param {Function} iteratee The function invoked per iteration.\n   * @returns {Array} Returns the array of results.\n   */\n  function baseTimes(n, iteratee) {\n    var index = -1,\n        result = Array(n);\n\n    while (++index < n) {\n      result[index] = iteratee(index);\n    }\n    return result;\n  }\n\n  /**\n   * The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array\n   * of key-value pairs for `object` corresponding to the property names of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the key-value pairs.\n   */\n  function baseToPairs(object, props) {\n    return arrayMap(props, function(key) {\n      return [key, object[key]];\n    });\n  }\n\n  /**\n   * The base implementation of `_.trim`.\n   *\n   * @private\n   * @param {string} string The string to trim.\n   * @returns {string} Returns the trimmed string.\n   */\n  function baseTrim(string) {\n    return string\n      ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n      : string;\n  }\n\n  /**\n   * The base implementation of `_.unary` without support for storing metadata.\n   *\n   * @private\n   * @param {Function} func The function to cap arguments for.\n   * @returns {Function} Returns the new capped function.\n   */\n  function baseUnary(func) {\n    return function(value) {\n      return func(value);\n    };\n  }\n\n  /**\n   * The base implementation of `_.values` and `_.valuesIn` which creates an\n   * array of `object` property values corresponding to the property names\n   * of `props`.\n   *\n   * @private\n   * @param {Object} object The object to query.\n   * @param {Array} props The property names to get values for.\n   * @returns {Object} Returns the array of property values.\n   */\n  function baseValues(object, props) {\n    return arrayMap(props, function(key) {\n      return object[key];\n    });\n  }\n\n  /**\n   * Checks if a `cache` value for `key` exists.\n   *\n   * @private\n   * @param {Object} cache The cache to query.\n   * @param {string} key The key of the entry to check.\n   * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n   */\n  function cacheHas(cache, key) {\n    return cache.has(key);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimStart` to get the index of the first string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the first unmatched string symbol.\n   */\n  function charsStartIndex(strSymbols, chrSymbols) {\n    var index = -1,\n        length = strSymbols.length;\n\n    while (++index < length && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last string symbol\n   * that is not found in the character symbols.\n   *\n   * @private\n   * @param {Array} strSymbols The string symbols to inspect.\n   * @param {Array} chrSymbols The character symbols to find.\n   * @returns {number} Returns the index of the last unmatched string symbol.\n   */\n  function charsEndIndex(strSymbols, chrSymbols) {\n    var index = strSymbols.length;\n\n    while (index-- && baseIndexOf(chrSymbols, strSymbols[index], 0) > -1) {}\n    return index;\n  }\n\n  /**\n   * Gets the number of `placeholder` occurrences in `array`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} placeholder The placeholder to search for.\n   * @returns {number} Returns the placeholder count.\n   */\n  function countHolders(array, placeholder) {\n    var length = array.length,\n        result = 0;\n\n    while (length--) {\n      if (array[length] === placeholder) {\n        ++result;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Used by `_.deburr` to convert Latin-1 Supplement and Latin Extended-A\n   * letters to basic Latin letters.\n   *\n   * @private\n   * @param {string} letter The matched letter to deburr.\n   * @returns {string} Returns the deburred letter.\n   */\n  var deburrLetter = basePropertyOf(deburredLetters);\n\n  /**\n   * Used by `_.escape` to convert characters to HTML entities.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  var escapeHtmlChar = basePropertyOf(htmlEscapes);\n\n  /**\n   * Used by `_.template` to escape characters for inclusion in compiled string literals.\n   *\n   * @private\n   * @param {string} chr The matched character to escape.\n   * @returns {string} Returns the escaped character.\n   */\n  function escapeStringChar(chr) {\n    return '\\\\' + stringEscapes[chr];\n  }\n\n  /**\n   * Gets the value at `key` of `object`.\n   *\n   * @private\n   * @param {Object} [object] The object to query.\n   * @param {string} key The key of the property to get.\n   * @returns {*} Returns the property value.\n   */\n  function getValue(object, key) {\n    return object == null ? undefined : object[key];\n  }\n\n  /**\n   * Checks if `string` contains Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n   */\n  function hasUnicode(string) {\n    return reHasUnicode.test(string);\n  }\n\n  /**\n   * Checks if `string` contains a word composed of Unicode symbols.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {boolean} Returns `true` if a word is found, else `false`.\n   */\n  function hasUnicodeWord(string) {\n    return reHasUnicodeWord.test(string);\n  }\n\n  /**\n   * Converts `iterator` to an array.\n   *\n   * @private\n   * @param {Object} iterator The iterator to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function iteratorToArray(iterator) {\n    var data,\n        result = [];\n\n    while (!(data = iterator.next()).done) {\n      result.push(data.value);\n    }\n    return result;\n  }\n\n  /**\n   * Converts `map` to its key-value pairs.\n   *\n   * @private\n   * @param {Object} map The map to convert.\n   * @returns {Array} Returns the key-value pairs.\n   */\n  function mapToArray(map) {\n    var index = -1,\n        result = Array(map.size);\n\n    map.forEach(function(value, key) {\n      result[++index] = [key, value];\n    });\n    return result;\n  }\n\n  /**\n   * Creates a unary function that invokes `func` with its argument transformed.\n   *\n   * @private\n   * @param {Function} func The function to wrap.\n   * @param {Function} transform The argument transform.\n   * @returns {Function} Returns the new function.\n   */\n  function overArg(func, transform) {\n    return function(arg) {\n      return func(transform(arg));\n    };\n  }\n\n  /**\n   * Replaces all `placeholder` elements in `array` with an internal placeholder\n   * and returns an array of their indexes.\n   *\n   * @private\n   * @param {Array} array The array to modify.\n   * @param {*} placeholder The placeholder to replace.\n   * @returns {Array} Returns the new array of placeholder indexes.\n   */\n  function replaceHolders(array, placeholder) {\n    var index = -1,\n        length = array.length,\n        resIndex = 0,\n        result = [];\n\n    while (++index < length) {\n      var value = array[index];\n      if (value === placeholder || value === PLACEHOLDER) {\n        array[index] = PLACEHOLDER;\n        result[resIndex++] = index;\n      }\n    }\n    return result;\n  }\n\n  /**\n   * Converts `set` to an array of its values.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the values.\n   */\n  function setToArray(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = value;\n    });\n    return result;\n  }\n\n  /**\n   * Converts `set` to its value-value pairs.\n   *\n   * @private\n   * @param {Object} set The set to convert.\n   * @returns {Array} Returns the value-value pairs.\n   */\n  function setToPairs(set) {\n    var index = -1,\n        result = Array(set.size);\n\n    set.forEach(function(value) {\n      result[++index] = [value, value];\n    });\n    return result;\n  }\n\n  /**\n   * A specialized version of `_.indexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictIndexOf(array, value, fromIndex) {\n    var index = fromIndex - 1,\n        length = array.length;\n\n    while (++index < length) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return -1;\n  }\n\n  /**\n   * A specialized version of `_.lastIndexOf` which performs strict equality\n   * comparisons of values, i.e. `===`.\n   *\n   * @private\n   * @param {Array} array The array to inspect.\n   * @param {*} value The value to search for.\n   * @param {number} fromIndex The index to search from.\n   * @returns {number} Returns the index of the matched value, else `-1`.\n   */\n  function strictLastIndexOf(array, value, fromIndex) {\n    var index = fromIndex + 1;\n    while (index--) {\n      if (array[index] === value) {\n        return index;\n      }\n    }\n    return index;\n  }\n\n  /**\n   * Gets the number of symbols in `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the string size.\n   */\n  function stringSize(string) {\n    return hasUnicode(string)\n      ? unicodeSize(string)\n      : asciiSize(string);\n  }\n\n  /**\n   * Converts `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function stringToArray(string) {\n    return hasUnicode(string)\n      ? unicodeToArray(string)\n      : asciiToArray(string);\n  }\n\n  /**\n   * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n   * character of `string`.\n   *\n   * @private\n   * @param {string} string The string to inspect.\n   * @returns {number} Returns the index of the last non-whitespace character.\n   */\n  function trimmedEndIndex(string) {\n    var index = string.length;\n\n    while (index-- && reWhitespace.test(string.charAt(index))) {}\n    return index;\n  }\n\n  /**\n   * Used by `_.unescape` to convert HTML entities to characters.\n   *\n   * @private\n   * @param {string} chr The matched character to unescape.\n   * @returns {string} Returns the unescaped character.\n   */\n  var unescapeHtmlChar = basePropertyOf(htmlUnescapes);\n\n  /**\n   * Gets the size of a Unicode `string`.\n   *\n   * @private\n   * @param {string} string The string inspect.\n   * @returns {number} Returns the string size.\n   */\n  function unicodeSize(string) {\n    var result = reUnicode.lastIndex = 0;\n    while (reUnicode.test(string)) {\n      ++result;\n    }\n    return result;\n  }\n\n  /**\n   * Converts a Unicode `string` to an array.\n   *\n   * @private\n   * @param {string} string The string to convert.\n   * @returns {Array} Returns the converted array.\n   */\n  function unicodeToArray(string) {\n    return string.match(reUnicode) || [];\n  }\n\n  /**\n   * Splits a Unicode `string` into an array of its words.\n   *\n   * @private\n   * @param {string} The string to inspect.\n   * @returns {Array} Returns the words of `string`.\n   */\n  function unicodeWords(string) {\n    return string.match(reUnicodeWord) || [];\n  }\n\n  /*--------------------------------------------------------------------------*/\n\n  /**\n   * Create a new pristine `lodash` function using the `context` object.\n   *\n   * @static\n   * @memberOf _\n   * @since 1.1.0\n   * @category Util\n   * @param {Object} [context=root] The context object.\n   * @returns {Function} Returns a new `lodash` function.\n   * @example\n   *\n   * _.mixin({ 'foo': _.constant('foo') });\n   *\n   * var lodash = _.runInContext();\n   * lodash.mixin({ 'bar': lodash.constant('bar') });\n   *\n   * _.isFunction(_.foo);\n   * // => true\n   * _.isFunction(_.bar);\n   * // => false\n   *\n   * lodash.isFunction(lodash.foo);\n   * // => false\n   * lodash.isFunction(lodash.bar);\n   * // => true\n   *\n   * // Create a suped-up `defer` in Node.js.\n   * var defer = _.runInContext({ 'setTimeout': setImmediate }).defer;\n   */\n  var runInContext = (function runInContext(context) {\n    context = context == null ? root : _.defaults(root.Object(), context, _.pick(root, contextProps));\n\n    /** Built-in constructor references. */\n    var Array = context.Array,\n        Date = context.Date,\n        Error = context.Error,\n        Function = context.Function,\n        Math = context.Math,\n        Object = context.Object,\n        RegExp = context.RegExp,\n        String = context.String,\n        TypeError = context.TypeError;\n\n    /** Used for built-in method references. */\n    var arrayProto = Array.prototype,\n        funcProto = Function.prototype,\n        objectProto = Object.prototype;\n\n    /** Used to detect overreaching core-js shims. */\n    var coreJsData = context['__core-js_shared__'];\n\n    /** Used to resolve the decompiled source of functions. */\n    var funcToString = funcProto.toString;\n\n    /** Used to check objects for own properties. */\n    var hasOwnProperty = objectProto.hasOwnProperty;\n\n    /** Used to generate unique IDs. */\n    var idCounter = 0;\n\n    /** Used to detect methods masquerading as native. */\n    var maskSrcKey = (function() {\n      var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n      return uid ? ('Symbol(src)_1.' + uid) : '';\n    }());\n\n    /**\n     * Used to resolve the\n     * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n     * of values.\n     */\n    var nativeObjectToString = objectProto.toString;\n\n    /** Used to infer the `Object` constructor. */\n    var objectCtorString = funcToString.call(Object);\n\n    /** Used to restore the original `_` reference in `_.noConflict`. */\n    var oldDash = root._;\n\n    /** Used to detect if a method is native. */\n    var reIsNative = RegExp('^' +\n      funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n      .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n    );\n\n    /** Built-in value references. */\n    var Buffer = moduleExports ? context.Buffer : undefined,\n        Symbol = context.Symbol,\n        Uint8Array = context.Uint8Array,\n        allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined,\n        getPrototype = overArg(Object.getPrototypeOf, Object),\n        objectCreate = Object.create,\n        propertyIsEnumerable = objectProto.propertyIsEnumerable,\n        splice = arrayProto.splice,\n        spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined,\n        symIterator = Symbol ? Symbol.iterator : undefined,\n        symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n    var defineProperty = (function() {\n      try {\n        var func = getNative(Object, 'defineProperty');\n        func({}, '', {});\n        return func;\n      } catch (e) {}\n    }());\n\n    /** Mocked built-ins. */\n    var ctxClearTimeout = context.clearTimeout !== root.clearTimeout && context.clearTimeout,\n        ctxNow = Date && Date.now !== root.Date.now && Date.now,\n        ctxSetTimeout = context.setTimeout !== root.setTimeout && context.setTimeout;\n\n    /* Built-in method references for those with the same name as other `lodash` methods. */\n    var nativeCeil = Math.ceil,\n        nativeFloor = Math.floor,\n        nativeGetSymbols = Object.getOwnPropertySymbols,\n        nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,\n        nativeIsFinite = context.isFinite,\n        nativeJoin = arrayProto.join,\n        nativeKeys = overArg(Object.keys, Object),\n        nativeMax = Math.max,\n        nativeMin = Math.min,\n        nativeNow = Date.now,\n        nativeParseInt = context.parseInt,\n        nativeRandom = Math.random,\n        nativeReverse = arrayProto.reverse;\n\n    /* Built-in method references that are verified to be native. */\n    var DataView = getNative(context, 'DataView'),\n        Map = getNative(context, 'Map'),\n        Promise = getNative(context, 'Promise'),\n        Set = getNative(context, 'Set'),\n        WeakMap = getNative(context, 'WeakMap'),\n        nativeCreate = getNative(Object, 'create');\n\n    /** Used to store function metadata. */\n    var metaMap = WeakMap && new WeakMap;\n\n    /** Used to lookup unminified function names. */\n    var realNames = {};\n\n    /** Used to detect maps, sets, and weakmaps. */\n    var dataViewCtorString = toSource(DataView),\n        mapCtorString = toSource(Map),\n        promiseCtorString = toSource(Promise),\n        setCtorString = toSource(Set),\n        weakMapCtorString = toSource(WeakMap);\n\n    /** Used to convert symbols to primitives and strings. */\n    var symbolProto = Symbol ? Symbol.prototype : undefined,\n        symbolValueOf = symbolProto ? symbolProto.valueOf : undefined,\n        symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` object which wraps `value` to enable implicit method\n     * chain sequences. Methods that operate on and return arrays, collections,\n     * and functions can be chained together. Methods that retrieve a single value\n     * or may return a primitive value will automatically end the chain sequence\n     * and return the unwrapped value. Otherwise, the value must be unwrapped\n     * with `_#value`.\n     *\n     * Explicit chain sequences, which must be unwrapped with `_#value`, may be\n     * enabled using `_.chain`.\n     *\n     * The execution of chained methods is lazy, that is, it's deferred until\n     * `_#value` is implicitly or explicitly called.\n     *\n     * Lazy evaluation allows several methods to support shortcut fusion.\n     * Shortcut fusion is an optimization to merge iteratee calls; this avoids\n     * the creation of intermediate arrays and can greatly reduce the number of\n     * iteratee executions. Sections of a chain sequence qualify for shortcut\n     * fusion if the section is applied to an array and iteratees accept only\n     * one argument. The heuristic for whether a section qualifies for shortcut\n     * fusion is subject to change.\n     *\n     * Chaining is supported in custom builds as long as the `_#value` method is\n     * directly or indirectly included in the build.\n     *\n     * In addition to lodash methods, wrappers have `Array` and `String` methods.\n     *\n     * The wrapper `Array` methods are:\n     * `concat`, `join`, `pop`, `push`, `shift`, `sort`, `splice`, and `unshift`\n     *\n     * The wrapper `String` methods are:\n     * `replace` and `split`\n     *\n     * The wrapper methods that support shortcut fusion are:\n     * `at`, `compact`, `drop`, `dropRight`, `dropWhile`, `filter`, `find`,\n     * `findLast`, `head`, `initial`, `last`, `map`, `reject`, `reverse`, `slice`,\n     * `tail`, `take`, `takeRight`, `takeRightWhile`, `takeWhile`, and `toArray`\n     *\n     * The chainable wrapper methods are:\n     * `after`, `ary`, `assign`, `assignIn`, `assignInWith`, `assignWith`, `at`,\n     * `before`, `bind`, `bindAll`, `bindKey`, `castArray`, `chain`, `chunk`,\n     * `commit`, `compact`, `concat`, `conforms`, `constant`, `countBy`, `create`,\n     * `curry`, `debounce`, `defaults`, `defaultsDeep`, `defer`, `delay`,\n     * `difference`, `differenceBy`, `differenceWith`, `drop`, `dropRight`,\n     * `dropRightWhile`, `dropWhile`, `extend`, `extendWith`, `fill`, `filter`,\n     * `flatMap`, `flatMapDeep`, `flatMapDepth`, `flatten`, `flattenDeep`,\n     * `flattenDepth`, `flip`, `flow`, `flowRight`, `fromPairs`, `functions`,\n     * `functionsIn`, `groupBy`, `initial`, `intersection`, `intersectionBy`,\n     * `intersectionWith`, `invert`, `invertBy`, `invokeMap`, `iteratee`, `keyBy`,\n     * `keys`, `keysIn`, `map`, `mapKeys`, `mapValues`, `matches`, `matchesProperty`,\n     * `memoize`, `merge`, `mergeWith`, `method`, `methodOf`, `mixin`, `negate`,\n     * `nthArg`, `omit`, `omitBy`, `once`, `orderBy`, `over`, `overArgs`,\n     * `overEvery`, `overSome`, `partial`, `partialRight`, `partition`, `pick`,\n     * `pickBy`, `plant`, `property`, `propertyOf`, `pull`, `pullAll`, `pullAllBy`,\n     * `pullAllWith`, `pullAt`, `push`, `range`, `rangeRight`, `rearg`, `reject`,\n     * `remove`, `rest`, `reverse`, `sampleSize`, `set`, `setWith`, `shuffle`,\n     * `slice`, `sort`, `sortBy`, `splice`, `spread`, `tail`, `take`, `takeRight`,\n     * `takeRightWhile`, `takeWhile`, `tap`, `throttle`, `thru`, `toArray`,\n     * `toPairs`, `toPairsIn`, `toPath`, `toPlainObject`, `transform`, `unary`,\n     * `union`, `unionBy`, `unionWith`, `uniq`, `uniqBy`, `uniqWith`, `unset`,\n     * `unshift`, `unzip`, `unzipWith`, `update`, `updateWith`, `values`,\n     * `valuesIn`, `without`, `wrap`, `xor`, `xorBy`, `xorWith`, `zip`,\n     * `zipObject`, `zipObjectDeep`, and `zipWith`\n     *\n     * The wrapper methods that are **not** chainable by default are:\n     * `add`, `attempt`, `camelCase`, `capitalize`, `ceil`, `clamp`, `clone`,\n     * `cloneDeep`, `cloneDeepWith`, `cloneWith`, `conformsTo`, `deburr`,\n     * `defaultTo`, `divide`, `each`, `eachRight`, `endsWith`, `eq`, `escape`,\n     * `escapeRegExp`, `every`, `find`, `findIndex`, `findKey`, `findLast`,\n     * `findLastIndex`, `findLastKey`, `first`, `floor`, `forEach`, `forEachRight`,\n     * `forIn`, `forInRight`, `forOwn`, `forOwnRight`, `get`, `gt`, `gte`, `has`,\n     * `hasIn`, `head`, `identity`, `includes`, `indexOf`, `inRange`, `invoke`,\n     * `isArguments`, `isArray`, `isArrayBuffer`, `isArrayLike`, `isArrayLikeObject`,\n     * `isBoolean`, `isBuffer`, `isDate`, `isElement`, `isEmpty`, `isEqual`,\n     * `isEqualWith`, `isError`, `isFinite`, `isFunction`, `isInteger`, `isLength`,\n     * `isMap`, `isMatch`, `isMatchWith`, `isNaN`, `isNative`, `isNil`, `isNull`,\n     * `isNumber`, `isObject`, `isObjectLike`, `isPlainObject`, `isRegExp`,\n     * `isSafeInteger`, `isSet`, `isString`, `isUndefined`, `isTypedArray`,\n     * `isWeakMap`, `isWeakSet`, `join`, `kebabCase`, `last`, `lastIndexOf`,\n     * `lowerCase`, `lowerFirst`, `lt`, `lte`, `max`, `maxBy`, `mean`, `meanBy`,\n     * `min`, `minBy`, `multiply`, `noConflict`, `noop`, `now`, `nth`, `pad`,\n     * `padEnd`, `padStart`, `parseInt`, `pop`, `random`, `reduce`, `reduceRight`,\n     * `repeat`, `result`, `round`, `runInContext`, `sample`, `shift`, `size`,\n     * `snakeCase`, `some`, `sortedIndex`, `sortedIndexBy`, `sortedLastIndex`,\n     * `sortedLastIndexBy`, `startCase`, `startsWith`, `stubArray`, `stubFalse`,\n     * `stubObject`, `stubString`, `stubTrue`, `subtract`, `sum`, `sumBy`,\n     * `template`, `times`, `toFinite`, `toInteger`, `toJSON`, `toLength`,\n     * `toLower`, `toNumber`, `toSafeInteger`, `toString`, `toUpper`, `trim`,\n     * `trimEnd`, `trimStart`, `truncate`, `unescape`, `uniqueId`, `upperCase`,\n     * `upperFirst`, `value`, and `words`\n     *\n     * @name _\n     * @constructor\n     * @category Seq\n     * @param {*} value The value to wrap in a `lodash` instance.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2, 3]);\n     *\n     * // Returns an unwrapped value.\n     * wrapped.reduce(_.add);\n     * // => 6\n     *\n     * // Returns a wrapped value.\n     * var squares = wrapped.map(square);\n     *\n     * _.isArray(squares);\n     * // => false\n     *\n     * _.isArray(squares.value());\n     * // => true\n     */\n    function lodash(value) {\n      if (isObjectLike(value) && !isArray(value) && !(value instanceof LazyWrapper)) {\n        if (value instanceof LodashWrapper) {\n          return value;\n        }\n        if (hasOwnProperty.call(value, '__wrapped__')) {\n          return wrapperClone(value);\n        }\n      }\n      return new LodashWrapper(value);\n    }\n\n    /**\n     * The base implementation of `_.create` without support for assigning\n     * properties to the created object.\n     *\n     * @private\n     * @param {Object} proto The object to inherit from.\n     * @returns {Object} Returns the new object.\n     */\n    var baseCreate = (function() {\n      function object() {}\n      return function(proto) {\n        if (!isObject(proto)) {\n          return {};\n        }\n        if (objectCreate) {\n          return objectCreate(proto);\n        }\n        object.prototype = proto;\n        var result = new object;\n        object.prototype = undefined;\n        return result;\n      };\n    }());\n\n    /**\n     * The function whose prototype chain sequence wrappers inherit from.\n     *\n     * @private\n     */\n    function baseLodash() {\n      // No operation performed.\n    }\n\n    /**\n     * The base constructor for creating `lodash` wrapper objects.\n     *\n     * @private\n     * @param {*} value The value to wrap.\n     * @param {boolean} [chainAll] Enable explicit method chain sequences.\n     */\n    function LodashWrapper(value, chainAll) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__chain__ = !!chainAll;\n      this.__index__ = 0;\n      this.__values__ = undefined;\n    }\n\n    /**\n     * By default, the template delimiters used by lodash are like those in\n     * embedded Ruby (ERB) as well as ES2015 template strings. Change the\n     * following template settings to use alternative delimiters.\n     *\n     * @static\n     * @memberOf _\n     * @type {Object}\n     */\n    lodash.templateSettings = {\n\n      /**\n       * Used to detect `data` property values to be HTML-escaped.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'escape': reEscape,\n\n      /**\n       * Used to detect code to be evaluated.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'evaluate': reEvaluate,\n\n      /**\n       * Used to detect `data` property values to inject.\n       *\n       * @memberOf _.templateSettings\n       * @type {RegExp}\n       */\n      'interpolate': reInterpolate,\n\n      /**\n       * Used to reference the data object in the template text.\n       *\n       * @memberOf _.templateSettings\n       * @type {string}\n       */\n      'variable': '',\n\n      /**\n       * Used to import variables into the compiled template.\n       *\n       * @memberOf _.templateSettings\n       * @type {Object}\n       */\n      'imports': {\n\n        /**\n         * A reference to the `lodash` function.\n         *\n         * @memberOf _.templateSettings.imports\n         * @type {Function}\n         */\n        '_': lodash\n      }\n    };\n\n    // Ensure wrappers are instances of `baseLodash`.\n    lodash.prototype = baseLodash.prototype;\n    lodash.prototype.constructor = lodash;\n\n    LodashWrapper.prototype = baseCreate(baseLodash.prototype);\n    LodashWrapper.prototype.constructor = LodashWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a lazy wrapper object which wraps `value` to enable lazy evaluation.\n     *\n     * @private\n     * @constructor\n     * @param {*} value The value to wrap.\n     */\n    function LazyWrapper(value) {\n      this.__wrapped__ = value;\n      this.__actions__ = [];\n      this.__dir__ = 1;\n      this.__filtered__ = false;\n      this.__iteratees__ = [];\n      this.__takeCount__ = MAX_ARRAY_LENGTH;\n      this.__views__ = [];\n    }\n\n    /**\n     * Creates a clone of the lazy wrapper object.\n     *\n     * @private\n     * @name clone\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the cloned `LazyWrapper` object.\n     */\n    function lazyClone() {\n      var result = new LazyWrapper(this.__wrapped__);\n      result.__actions__ = copyArray(this.__actions__);\n      result.__dir__ = this.__dir__;\n      result.__filtered__ = this.__filtered__;\n      result.__iteratees__ = copyArray(this.__iteratees__);\n      result.__takeCount__ = this.__takeCount__;\n      result.__views__ = copyArray(this.__views__);\n      return result;\n    }\n\n    /**\n     * Reverses the direction of lazy iteration.\n     *\n     * @private\n     * @name reverse\n     * @memberOf LazyWrapper\n     * @returns {Object} Returns the new reversed `LazyWrapper` object.\n     */\n    function lazyReverse() {\n      if (this.__filtered__) {\n        var result = new LazyWrapper(this);\n        result.__dir__ = -1;\n        result.__filtered__ = true;\n      } else {\n        result = this.clone();\n        result.__dir__ *= -1;\n      }\n      return result;\n    }\n\n    /**\n     * Extracts the unwrapped value from its lazy wrapper.\n     *\n     * @private\n     * @name value\n     * @memberOf LazyWrapper\n     * @returns {*} Returns the unwrapped value.\n     */\n    function lazyValue() {\n      var array = this.__wrapped__.value(),\n          dir = this.__dir__,\n          isArr = isArray(array),\n          isRight = dir < 0,\n          arrLength = isArr ? array.length : 0,\n          view = getView(0, arrLength, this.__views__),\n          start = view.start,\n          end = view.end,\n          length = end - start,\n          index = isRight ? end : (start - 1),\n          iteratees = this.__iteratees__,\n          iterLength = iteratees.length,\n          resIndex = 0,\n          takeCount = nativeMin(length, this.__takeCount__);\n\n      if (!isArr || (!isRight && arrLength == length && takeCount == length)) {\n        return baseWrapperValue(array, this.__actions__);\n      }\n      var result = [];\n\n      outer:\n      while (length-- && resIndex < takeCount) {\n        index += dir;\n\n        var iterIndex = -1,\n            value = array[index];\n\n        while (++iterIndex < iterLength) {\n          var data = iteratees[iterIndex],\n              iteratee = data.iteratee,\n              type = data.type,\n              computed = iteratee(value);\n\n          if (type == LAZY_MAP_FLAG) {\n            value = computed;\n          } else if (!computed) {\n            if (type == LAZY_FILTER_FLAG) {\n              continue outer;\n            } else {\n              break outer;\n            }\n          }\n        }\n        result[resIndex++] = value;\n      }\n      return result;\n    }\n\n    // Ensure `LazyWrapper` is an instance of `baseLodash`.\n    LazyWrapper.prototype = baseCreate(baseLodash.prototype);\n    LazyWrapper.prototype.constructor = LazyWrapper;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a hash object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Hash(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the hash.\n     *\n     * @private\n     * @name clear\n     * @memberOf Hash\n     */\n    function hashClear() {\n      this.__data__ = nativeCreate ? nativeCreate(null) : {};\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the hash.\n     *\n     * @private\n     * @name delete\n     * @memberOf Hash\n     * @param {Object} hash The hash to modify.\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function hashDelete(key) {\n      var result = this.has(key) && delete this.__data__[key];\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the hash value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Hash\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function hashGet(key) {\n      var data = this.__data__;\n      if (nativeCreate) {\n        var result = data[key];\n        return result === HASH_UNDEFINED ? undefined : result;\n      }\n      return hasOwnProperty.call(data, key) ? data[key] : undefined;\n    }\n\n    /**\n     * Checks if a hash value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Hash\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function hashHas(key) {\n      var data = this.__data__;\n      return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n    }\n\n    /**\n     * Sets the hash `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Hash\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the hash instance.\n     */\n    function hashSet(key, value) {\n      var data = this.__data__;\n      this.size += this.has(key) ? 0 : 1;\n      data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n      return this;\n    }\n\n    // Add methods to `Hash`.\n    Hash.prototype.clear = hashClear;\n    Hash.prototype['delete'] = hashDelete;\n    Hash.prototype.get = hashGet;\n    Hash.prototype.has = hashHas;\n    Hash.prototype.set = hashSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an list cache object.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function ListCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the list cache.\n     *\n     * @private\n     * @name clear\n     * @memberOf ListCache\n     */\n    function listCacheClear() {\n      this.__data__ = [];\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the list cache.\n     *\n     * @private\n     * @name delete\n     * @memberOf ListCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function listCacheDelete(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        return false;\n      }\n      var lastIndex = data.length - 1;\n      if (index == lastIndex) {\n        data.pop();\n      } else {\n        splice.call(data, index, 1);\n      }\n      --this.size;\n      return true;\n    }\n\n    /**\n     * Gets the list cache value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf ListCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function listCacheGet(key) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      return index < 0 ? undefined : data[index][1];\n    }\n\n    /**\n     * Checks if a list cache value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf ListCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function listCacheHas(key) {\n      return assocIndexOf(this.__data__, key) > -1;\n    }\n\n    /**\n     * Sets the list cache `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf ListCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the list cache instance.\n     */\n    function listCacheSet(key, value) {\n      var data = this.__data__,\n          index = assocIndexOf(data, key);\n\n      if (index < 0) {\n        ++this.size;\n        data.push([key, value]);\n      } else {\n        data[index][1] = value;\n      }\n      return this;\n    }\n\n    // Add methods to `ListCache`.\n    ListCache.prototype.clear = listCacheClear;\n    ListCache.prototype['delete'] = listCacheDelete;\n    ListCache.prototype.get = listCacheGet;\n    ListCache.prototype.has = listCacheHas;\n    ListCache.prototype.set = listCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a map cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function MapCache(entries) {\n      var index = -1,\n          length = entries == null ? 0 : entries.length;\n\n      this.clear();\n      while (++index < length) {\n        var entry = entries[index];\n        this.set(entry[0], entry[1]);\n      }\n    }\n\n    /**\n     * Removes all key-value entries from the map.\n     *\n     * @private\n     * @name clear\n     * @memberOf MapCache\n     */\n    function mapCacheClear() {\n      this.size = 0;\n      this.__data__ = {\n        'hash': new Hash,\n        'map': new (Map || ListCache),\n        'string': new Hash\n      };\n    }\n\n    /**\n     * Removes `key` and its value from the map.\n     *\n     * @private\n     * @name delete\n     * @memberOf MapCache\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function mapCacheDelete(key) {\n      var result = getMapData(this, key)['delete'](key);\n      this.size -= result ? 1 : 0;\n      return result;\n    }\n\n    /**\n     * Gets the map value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf MapCache\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function mapCacheGet(key) {\n      return getMapData(this, key).get(key);\n    }\n\n    /**\n     * Checks if a map value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf MapCache\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function mapCacheHas(key) {\n      return getMapData(this, key).has(key);\n    }\n\n    /**\n     * Sets the map `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf MapCache\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the map cache instance.\n     */\n    function mapCacheSet(key, value) {\n      var data = getMapData(this, key),\n          size = data.size;\n\n      data.set(key, value);\n      this.size += data.size == size ? 0 : 1;\n      return this;\n    }\n\n    // Add methods to `MapCache`.\n    MapCache.prototype.clear = mapCacheClear;\n    MapCache.prototype['delete'] = mapCacheDelete;\n    MapCache.prototype.get = mapCacheGet;\n    MapCache.prototype.has = mapCacheHas;\n    MapCache.prototype.set = mapCacheSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     *\n     * Creates an array cache object to store unique values.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [values] The values to cache.\n     */\n    function SetCache(values) {\n      var index = -1,\n          length = values == null ? 0 : values.length;\n\n      this.__data__ = new MapCache;\n      while (++index < length) {\n        this.add(values[index]);\n      }\n    }\n\n    /**\n     * Adds `value` to the array cache.\n     *\n     * @private\n     * @name add\n     * @memberOf SetCache\n     * @alias push\n     * @param {*} value The value to cache.\n     * @returns {Object} Returns the cache instance.\n     */\n    function setCacheAdd(value) {\n      this.__data__.set(value, HASH_UNDEFINED);\n      return this;\n    }\n\n    /**\n     * Checks if `value` is in the array cache.\n     *\n     * @private\n     * @name has\n     * @memberOf SetCache\n     * @param {*} value The value to search for.\n     * @returns {number} Returns `true` if `value` is found, else `false`.\n     */\n    function setCacheHas(value) {\n      return this.__data__.has(value);\n    }\n\n    // Add methods to `SetCache`.\n    SetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\n    SetCache.prototype.has = setCacheHas;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a stack cache object to store key-value pairs.\n     *\n     * @private\n     * @constructor\n     * @param {Array} [entries] The key-value pairs to cache.\n     */\n    function Stack(entries) {\n      var data = this.__data__ = new ListCache(entries);\n      this.size = data.size;\n    }\n\n    /**\n     * Removes all key-value entries from the stack.\n     *\n     * @private\n     * @name clear\n     * @memberOf Stack\n     */\n    function stackClear() {\n      this.__data__ = new ListCache;\n      this.size = 0;\n    }\n\n    /**\n     * Removes `key` and its value from the stack.\n     *\n     * @private\n     * @name delete\n     * @memberOf Stack\n     * @param {string} key The key of the value to remove.\n     * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n     */\n    function stackDelete(key) {\n      var data = this.__data__,\n          result = data['delete'](key);\n\n      this.size = data.size;\n      return result;\n    }\n\n    /**\n     * Gets the stack value for `key`.\n     *\n     * @private\n     * @name get\n     * @memberOf Stack\n     * @param {string} key The key of the value to get.\n     * @returns {*} Returns the entry value.\n     */\n    function stackGet(key) {\n      return this.__data__.get(key);\n    }\n\n    /**\n     * Checks if a stack value for `key` exists.\n     *\n     * @private\n     * @name has\n     * @memberOf Stack\n     * @param {string} key The key of the entry to check.\n     * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n     */\n    function stackHas(key) {\n      return this.__data__.has(key);\n    }\n\n    /**\n     * Sets the stack `key` to `value`.\n     *\n     * @private\n     * @name set\n     * @memberOf Stack\n     * @param {string} key The key of the value to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns the stack cache instance.\n     */\n    function stackSet(key, value) {\n      var data = this.__data__;\n      if (data instanceof ListCache) {\n        var pairs = data.__data__;\n        if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n          pairs.push([key, value]);\n          this.size = ++data.size;\n          return this;\n        }\n        data = this.__data__ = new MapCache(pairs);\n      }\n      data.set(key, value);\n      this.size = data.size;\n      return this;\n    }\n\n    // Add methods to `Stack`.\n    Stack.prototype.clear = stackClear;\n    Stack.prototype['delete'] = stackDelete;\n    Stack.prototype.get = stackGet;\n    Stack.prototype.has = stackHas;\n    Stack.prototype.set = stackSet;\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of the enumerable property names of the array-like `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @param {boolean} inherited Specify returning inherited property names.\n     * @returns {Array} Returns the array of property names.\n     */\n    function arrayLikeKeys(value, inherited) {\n      var isArr = isArray(value),\n          isArg = !isArr && isArguments(value),\n          isBuff = !isArr && !isArg && isBuffer(value),\n          isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n          skipIndexes = isArr || isArg || isBuff || isType,\n          result = skipIndexes ? baseTimes(value.length, String) : [],\n          length = result.length;\n\n      for (var key in value) {\n        if ((inherited || hasOwnProperty.call(value, key)) &&\n            !(skipIndexes && (\n               // Safari 9 has enumerable `arguments.length` in strict mode.\n               key == 'length' ||\n               // Node.js 0.10 has enumerable non-index properties on buffers.\n               (isBuff && (key == 'offset' || key == 'parent')) ||\n               // PhantomJS 2 has enumerable non-index properties on typed arrays.\n               (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n               // Skip index properties.\n               isIndex(key, length)\n            ))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `_.sample` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @returns {*} Returns the random element.\n     */\n    function arraySample(array) {\n      var length = array.length;\n      return length ? array[baseRandom(0, length - 1)] : undefined;\n    }\n\n    /**\n     * A specialized version of `_.sampleSize` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function arraySampleSize(array, n) {\n      return shuffleSelf(copyArray(array), baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * A specialized version of `_.shuffle` for arrays.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function arrayShuffle(array) {\n      return shuffleSelf(copyArray(array));\n    }\n\n    /**\n     * This function is like `assignValue` except that it doesn't assign\n     * `undefined` values.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignMergeValue(object, key, value) {\n      if ((value !== undefined && !eq(object[key], value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Assigns `value` to `key` of `object` if the existing value is not equivalent\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function assignValue(object, key, value) {\n      var objValue = object[key];\n      if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n          (value === undefined && !(key in object))) {\n        baseAssignValue(object, key, value);\n      }\n    }\n\n    /**\n     * Gets the index at which the `key` is found in `array` of key-value pairs.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {*} key The key to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     */\n    function assocIndexOf(array, key) {\n      var length = array.length;\n      while (length--) {\n        if (eq(array[length][0], key)) {\n          return length;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * Aggregates elements of `collection` on `accumulator` with keys transformed\n     * by `iteratee` and values set by `setter`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform keys.\n     * @param {Object} accumulator The initial aggregated object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseAggregator(collection, setter, iteratee, accumulator) {\n      baseEach(collection, function(value, key, collection) {\n        setter(accumulator, value, iteratee(value), collection);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.assign` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssign(object, source) {\n      return object && copyObject(source, keys(source), object);\n    }\n\n    /**\n     * The base implementation of `_.assignIn` without support for multiple sources\n     * or `customizer` functions.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @returns {Object} Returns `object`.\n     */\n    function baseAssignIn(object, source) {\n      return object && copyObject(source, keysIn(source), object);\n    }\n\n    /**\n     * The base implementation of `assignValue` and `assignMergeValue` without\n     * value checks.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {string} key The key of the property to assign.\n     * @param {*} value The value to assign.\n     */\n    function baseAssignValue(object, key, value) {\n      if (key == '__proto__' && defineProperty) {\n        defineProperty(object, key, {\n          'configurable': true,\n          'enumerable': true,\n          'value': value,\n          'writable': true\n        });\n      } else {\n        object[key] = value;\n      }\n    }\n\n    /**\n     * The base implementation of `_.at` without support for individual paths.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Array} Returns the picked elements.\n     */\n    function baseAt(object, paths) {\n      var index = -1,\n          length = paths.length,\n          result = Array(length),\n          skip = object == null;\n\n      while (++index < length) {\n        result[index] = skip ? undefined : get(object, paths[index]);\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.clamp` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     */\n    function baseClamp(number, lower, upper) {\n      if (number === number) {\n        if (upper !== undefined) {\n          number = number <= upper ? number : upper;\n        }\n        if (lower !== undefined) {\n          number = number >= lower ? number : lower;\n        }\n      }\n      return number;\n    }\n\n    /**\n     * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n     * traversed objects.\n     *\n     * @private\n     * @param {*} value The value to clone.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Deep clone\n     *  2 - Flatten inherited properties\n     *  4 - Clone symbols\n     * @param {Function} [customizer] The function to customize cloning.\n     * @param {string} [key] The key of `value`.\n     * @param {Object} [object] The parent object of `value`.\n     * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n     * @returns {*} Returns the cloned value.\n     */\n    function baseClone(value, bitmask, customizer, key, object, stack) {\n      var result,\n          isDeep = bitmask & CLONE_DEEP_FLAG,\n          isFlat = bitmask & CLONE_FLAT_FLAG,\n          isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n      if (customizer) {\n        result = object ? customizer(value, key, object, stack) : customizer(value);\n      }\n      if (result !== undefined) {\n        return result;\n      }\n      if (!isObject(value)) {\n        return value;\n      }\n      var isArr = isArray(value);\n      if (isArr) {\n        result = initCloneArray(value);\n        if (!isDeep) {\n          return copyArray(value, result);\n        }\n      } else {\n        var tag = getTag(value),\n            isFunc = tag == funcTag || tag == genTag;\n\n        if (isBuffer(value)) {\n          return cloneBuffer(value, isDeep);\n        }\n        if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n          result = (isFlat || isFunc) ? {} : initCloneObject(value);\n          if (!isDeep) {\n            return isFlat\n              ? copySymbolsIn(value, baseAssignIn(result, value))\n              : copySymbols(value, baseAssign(result, value));\n          }\n        } else {\n          if (!cloneableTags[tag]) {\n            return object ? value : {};\n          }\n          result = initCloneByTag(value, tag, isDeep);\n        }\n      }\n      // Check for circular references and return its corresponding clone.\n      stack || (stack = new Stack);\n      var stacked = stack.get(value);\n      if (stacked) {\n        return stacked;\n      }\n      stack.set(value, result);\n\n      if (isSet(value)) {\n        value.forEach(function(subValue) {\n          result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n        });\n      } else if (isMap(value)) {\n        value.forEach(function(subValue, key) {\n          result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n        });\n      }\n\n      var keysFunc = isFull\n        ? (isFlat ? getAllKeysIn : getAllKeys)\n        : (isFlat ? keysIn : keys);\n\n      var props = isArr ? undefined : keysFunc(value);\n      arrayEach(props || value, function(subValue, key) {\n        if (props) {\n          key = subValue;\n          subValue = value[key];\n        }\n        // Recursively populate clone (susceptible to call stack limits).\n        assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.conforms` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseConforms(source) {\n      var props = keys(source);\n      return function(object) {\n        return baseConformsTo(object, source, props);\n      };\n    }\n\n    /**\n     * The base implementation of `_.conformsTo` which accepts `props` to check.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     */\n    function baseConformsTo(object, source, props) {\n      var length = props.length;\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (length--) {\n        var key = props[length],\n            predicate = source[key],\n            value = object[key];\n\n        if ((value === undefined && !(key in object)) || !predicate(value)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.delay` and `_.defer` which accepts `args`\n     * to provide to `func`.\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {Array} args The arguments to provide to `func`.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    function baseDelay(func, wait, args) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return setTimeout(function() { func.apply(undefined, args); }, wait);\n    }\n\n    /**\n     * The base implementation of methods like `_.difference` without support\n     * for excluding multiple arrays or iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Array} values The values to exclude.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     */\n    function baseDifference(array, values, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          isCommon = true,\n          length = array.length,\n          result = [],\n          valuesLength = values.length;\n\n      if (!length) {\n        return result;\n      }\n      if (iteratee) {\n        values = arrayMap(values, baseUnary(iteratee));\n      }\n      if (comparator) {\n        includes = arrayIncludesWith;\n        isCommon = false;\n      }\n      else if (values.length >= LARGE_ARRAY_SIZE) {\n        includes = cacheHas;\n        isCommon = false;\n        values = new SetCache(values);\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee == null ? value : iteratee(value);\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var valuesIndex = valuesLength;\n          while (valuesIndex--) {\n            if (values[valuesIndex] === computed) {\n              continue outer;\n            }\n          }\n          result.push(value);\n        }\n        else if (!includes(values, computed, comparator)) {\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.forEach` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEach = createBaseEach(baseForOwn);\n\n    /**\n     * The base implementation of `_.forEachRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     */\n    var baseEachRight = createBaseEach(baseForOwnRight, true);\n\n    /**\n     * The base implementation of `_.every` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`\n     */\n    function baseEvery(collection, predicate) {\n      var result = true;\n      baseEach(collection, function(value, index, collection) {\n        result = !!predicate(value, index, collection);\n        return result;\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of methods like `_.max` and `_.min` which accepts a\n     * `comparator` to determine the extremum value.\n     *\n     * @private\n     * @param {Array} array The array to iterate over.\n     * @param {Function} iteratee The iteratee invoked per iteration.\n     * @param {Function} comparator The comparator used to compare values.\n     * @returns {*} Returns the extremum value.\n     */\n    function baseExtremum(array, iteratee, comparator) {\n      var index = -1,\n          length = array.length;\n\n      while (++index < length) {\n        var value = array[index],\n            current = iteratee(value);\n\n        if (current != null && (computed === undefined\n              ? (current === current && !isSymbol(current))\n              : comparator(current, computed)\n            )) {\n          var computed = current,\n              result = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.fill` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     */\n    function baseFill(array, value, start, end) {\n      var length = array.length;\n\n      start = toInteger(start);\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = (end === undefined || end > length) ? length : toInteger(end);\n      if (end < 0) {\n        end += length;\n      }\n      end = start > end ? 0 : toLength(end);\n      while (start < end) {\n        array[start++] = value;\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.filter` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     */\n    function baseFilter(collection, predicate) {\n      var result = [];\n      baseEach(collection, function(value, index, collection) {\n        if (predicate(value, index, collection)) {\n          result.push(value);\n        }\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.flatten` with support for restricting flattening.\n     *\n     * @private\n     * @param {Array} array The array to flatten.\n     * @param {number} depth The maximum recursion depth.\n     * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n     * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n     * @param {Array} [result=[]] The initial result value.\n     * @returns {Array} Returns the new flattened array.\n     */\n    function baseFlatten(array, depth, predicate, isStrict, result) {\n      var index = -1,\n          length = array.length;\n\n      predicate || (predicate = isFlattenable);\n      result || (result = []);\n\n      while (++index < length) {\n        var value = array[index];\n        if (depth > 0 && predicate(value)) {\n          if (depth > 1) {\n            // Recursively flatten arrays (susceptible to call stack limits).\n            baseFlatten(value, depth - 1, predicate, isStrict, result);\n          } else {\n            arrayPush(result, value);\n          }\n        } else if (!isStrict) {\n          result[result.length] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `baseForOwn` which iterates over `object`\n     * properties returned by `keysFunc` and invokes `iteratee` for each property.\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseFor = createBaseFor();\n\n    /**\n     * This function is like `baseFor` except that it iterates over properties\n     * in the opposite order.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @returns {Object} Returns `object`.\n     */\n    var baseForRight = createBaseFor(true);\n\n    /**\n     * The base implementation of `_.forOwn` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwn(object, iteratee) {\n      return object && baseFor(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.forOwnRight` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     */\n    function baseForOwnRight(object, iteratee) {\n      return object && baseForRight(object, iteratee, keys);\n    }\n\n    /**\n     * The base implementation of `_.functions` which creates an array of\n     * `object` function property names filtered from `props`.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Array} props The property names to filter.\n     * @returns {Array} Returns the function names.\n     */\n    function baseFunctions(object, props) {\n      return arrayFilter(props, function(key) {\n        return isFunction(object[key]);\n      });\n    }\n\n    /**\n     * The base implementation of `_.get` without support for default values.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseGet(object, path) {\n      path = castPath(path, object);\n\n      var index = 0,\n          length = path.length;\n\n      while (object != null && index < length) {\n        object = object[toKey(path[index++])];\n      }\n      return (index && index == length) ? object : undefined;\n    }\n\n    /**\n     * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n     * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Function} keysFunc The function to get the keys of `object`.\n     * @param {Function} symbolsFunc The function to get the symbols of `object`.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function baseGetAllKeys(object, keysFunc, symbolsFunc) {\n      var result = keysFunc(object);\n      return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n    }\n\n    /**\n     * The base implementation of `getTag` without fallbacks for buggy environments.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    function baseGetTag(value) {\n      if (value == null) {\n        return value === undefined ? undefinedTag : nullTag;\n      }\n      return (symToStringTag && symToStringTag in Object(value))\n        ? getRawTag(value)\n        : objectToString(value);\n    }\n\n    /**\n     * The base implementation of `_.gt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     */\n    function baseGt(value, other) {\n      return value > other;\n    }\n\n    /**\n     * The base implementation of `_.has` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHas(object, key) {\n      return object != null && hasOwnProperty.call(object, key);\n    }\n\n    /**\n     * The base implementation of `_.hasIn` without support for deep paths.\n     *\n     * @private\n     * @param {Object} [object] The object to query.\n     * @param {Array|string} key The key to check.\n     * @returns {boolean} Returns `true` if `key` exists, else `false`.\n     */\n    function baseHasIn(object, key) {\n      return object != null && key in Object(object);\n    }\n\n    /**\n     * The base implementation of `_.inRange` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {number} number The number to check.\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     */\n    function baseInRange(number, start, end) {\n      return number >= nativeMin(start, end) && number < nativeMax(start, end);\n    }\n\n    /**\n     * The base implementation of methods like `_.intersection`, without support\n     * for iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of shared values.\n     */\n    function baseIntersection(arrays, iteratee, comparator) {\n      var includes = comparator ? arrayIncludesWith : arrayIncludes,\n          length = arrays[0].length,\n          othLength = arrays.length,\n          othIndex = othLength,\n          caches = Array(othLength),\n          maxLength = Infinity,\n          result = [];\n\n      while (othIndex--) {\n        var array = arrays[othIndex];\n        if (othIndex && iteratee) {\n          array = arrayMap(array, baseUnary(iteratee));\n        }\n        maxLength = nativeMin(array.length, maxLength);\n        caches[othIndex] = !comparator && (iteratee || (length >= 120 && array.length >= 120))\n          ? new SetCache(othIndex && array)\n          : undefined;\n      }\n      array = arrays[0];\n\n      var index = -1,\n          seen = caches[0];\n\n      outer:\n      while (++index < length && result.length < maxLength) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (!(seen\n              ? cacheHas(seen, computed)\n              : includes(result, computed, comparator)\n            )) {\n          othIndex = othLength;\n          while (--othIndex) {\n            var cache = caches[othIndex];\n            if (!(cache\n                  ? cacheHas(cache, computed)\n                  : includes(arrays[othIndex], computed, comparator))\n                ) {\n              continue outer;\n            }\n          }\n          if (seen) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.invert` and `_.invertBy` which inverts\n     * `object` with values transformed by `iteratee` and set by `setter`.\n     *\n     * @private\n     * @param {Object} object The object to iterate over.\n     * @param {Function} setter The function to set `accumulator` values.\n     * @param {Function} iteratee The iteratee to transform values.\n     * @param {Object} accumulator The initial inverted object.\n     * @returns {Function} Returns `accumulator`.\n     */\n    function baseInverter(object, setter, iteratee, accumulator) {\n      baseForOwn(object, function(value, key, object) {\n        setter(accumulator, iteratee(value), key, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * The base implementation of `_.invoke` without support for individual\n     * method arguments.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {Array} args The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     */\n    function baseInvoke(object, path, args) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      var func = object == null ? object : object[toKey(last(path))];\n      return func == null ? undefined : apply(func, object, args);\n    }\n\n    /**\n     * The base implementation of `_.isArguments`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     */\n    function baseIsArguments(value) {\n      return isObjectLike(value) && baseGetTag(value) == argsTag;\n    }\n\n    /**\n     * The base implementation of `_.isArrayBuffer` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     */\n    function baseIsArrayBuffer(value) {\n      return isObjectLike(value) && baseGetTag(value) == arrayBufferTag;\n    }\n\n    /**\n     * The base implementation of `_.isDate` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     */\n    function baseIsDate(value) {\n      return isObjectLike(value) && baseGetTag(value) == dateTag;\n    }\n\n    /**\n     * The base implementation of `_.isEqual` which supports partial comparisons\n     * and tracks traversed objects.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {boolean} bitmask The bitmask flags.\n     *  1 - Unordered comparison\n     *  2 - Partial comparison\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     */\n    function baseIsEqual(value, other, bitmask, customizer, stack) {\n      if (value === other) {\n        return true;\n      }\n      if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n        return value !== value && other !== other;\n      }\n      return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n    }\n\n    /**\n     * A specialized version of `baseIsEqual` for arrays and objects which performs\n     * deep comparisons and tracks traversed objects enabling objects with circular\n     * references to be compared.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n      var objIsArr = isArray(object),\n          othIsArr = isArray(other),\n          objTag = objIsArr ? arrayTag : getTag(object),\n          othTag = othIsArr ? arrayTag : getTag(other);\n\n      objTag = objTag == argsTag ? objectTag : objTag;\n      othTag = othTag == argsTag ? objectTag : othTag;\n\n      var objIsObj = objTag == objectTag,\n          othIsObj = othTag == objectTag,\n          isSameTag = objTag == othTag;\n\n      if (isSameTag && isBuffer(object)) {\n        if (!isBuffer(other)) {\n          return false;\n        }\n        objIsArr = true;\n        objIsObj = false;\n      }\n      if (isSameTag && !objIsObj) {\n        stack || (stack = new Stack);\n        return (objIsArr || isTypedArray(object))\n          ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n          : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n      }\n      if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n        var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n            othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n        if (objIsWrapped || othIsWrapped) {\n          var objUnwrapped = objIsWrapped ? object.value() : object,\n              othUnwrapped = othIsWrapped ? other.value() : other;\n\n          stack || (stack = new Stack);\n          return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n        }\n      }\n      if (!isSameTag) {\n        return false;\n      }\n      stack || (stack = new Stack);\n      return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n    }\n\n    /**\n     * The base implementation of `_.isMap` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     */\n    function baseIsMap(value) {\n      return isObjectLike(value) && getTag(value) == mapTag;\n    }\n\n    /**\n     * The base implementation of `_.isMatch` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Array} matchData The property names, values, and compare flags to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     */\n    function baseIsMatch(object, source, matchData, customizer) {\n      var index = matchData.length,\n          length = index,\n          noCustomizer = !customizer;\n\n      if (object == null) {\n        return !length;\n      }\n      object = Object(object);\n      while (index--) {\n        var data = matchData[index];\n        if ((noCustomizer && data[2])\n              ? data[1] !== object[data[0]]\n              : !(data[0] in object)\n            ) {\n          return false;\n        }\n      }\n      while (++index < length) {\n        data = matchData[index];\n        var key = data[0],\n            objValue = object[key],\n            srcValue = data[1];\n\n        if (noCustomizer && data[2]) {\n          if (objValue === undefined && !(key in object)) {\n            return false;\n          }\n        } else {\n          var stack = new Stack;\n          if (customizer) {\n            var result = customizer(objValue, srcValue, key, object, source, stack);\n          }\n          if (!(result === undefined\n                ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n                : result\n              )) {\n            return false;\n          }\n        }\n      }\n      return true;\n    }\n\n    /**\n     * The base implementation of `_.isNative` without bad shim checks.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     */\n    function baseIsNative(value) {\n      if (!isObject(value) || isMasked(value)) {\n        return false;\n      }\n      var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n      return pattern.test(toSource(value));\n    }\n\n    /**\n     * The base implementation of `_.isRegExp` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     */\n    function baseIsRegExp(value) {\n      return isObjectLike(value) && baseGetTag(value) == regexpTag;\n    }\n\n    /**\n     * The base implementation of `_.isSet` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     */\n    function baseIsSet(value) {\n      return isObjectLike(value) && getTag(value) == setTag;\n    }\n\n    /**\n     * The base implementation of `_.isTypedArray` without Node.js optimizations.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     */\n    function baseIsTypedArray(value) {\n      return isObjectLike(value) &&\n        isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n    }\n\n    /**\n     * The base implementation of `_.iteratee`.\n     *\n     * @private\n     * @param {*} [value=_.identity] The value to convert to an iteratee.\n     * @returns {Function} Returns the iteratee.\n     */\n    function baseIteratee(value) {\n      // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n      // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n      if (typeof value == 'function') {\n        return value;\n      }\n      if (value == null) {\n        return identity;\n      }\n      if (typeof value == 'object') {\n        return isArray(value)\n          ? baseMatchesProperty(value[0], value[1])\n          : baseMatches(value);\n      }\n      return property(value);\n    }\n\n    /**\n     * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeys(object) {\n      if (!isPrototype(object)) {\n        return nativeKeys(object);\n      }\n      var result = [];\n      for (var key in Object(object)) {\n        if (hasOwnProperty.call(object, key) && key != 'constructor') {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function baseKeysIn(object) {\n      if (!isObject(object)) {\n        return nativeKeysIn(object);\n      }\n      var isProto = isPrototype(object),\n          result = [];\n\n      for (var key in object) {\n        if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.lt` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     */\n    function baseLt(value, other) {\n      return value < other;\n    }\n\n    /**\n     * The base implementation of `_.map` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} iteratee The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     */\n    function baseMap(collection, iteratee) {\n      var index = -1,\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value, key, collection) {\n        result[++index] = iteratee(value, key, collection);\n      });\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.matches` which doesn't clone `source`.\n     *\n     * @private\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatches(source) {\n      var matchData = getMatchData(source);\n      if (matchData.length == 1 && matchData[0][2]) {\n        return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n      }\n      return function(object) {\n        return object === source || baseIsMatch(object, source, matchData);\n      };\n    }\n\n    /**\n     * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n     *\n     * @private\n     * @param {string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function baseMatchesProperty(path, srcValue) {\n      if (isKey(path) && isStrictComparable(srcValue)) {\n        return matchesStrictComparable(toKey(path), srcValue);\n      }\n      return function(object) {\n        var objValue = get(object, path);\n        return (objValue === undefined && objValue === srcValue)\n          ? hasIn(object, path)\n          : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n      };\n    }\n\n    /**\n     * The base implementation of `_.merge` without support for multiple sources.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} [customizer] The function to customize merged values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMerge(object, source, srcIndex, customizer, stack) {\n      if (object === source) {\n        return;\n      }\n      baseFor(source, function(srcValue, key) {\n        stack || (stack = new Stack);\n        if (isObject(srcValue)) {\n          baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n        }\n        else {\n          var newValue = customizer\n            ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n            : undefined;\n\n          if (newValue === undefined) {\n            newValue = srcValue;\n          }\n          assignMergeValue(object, key, newValue);\n        }\n      }, keysIn);\n    }\n\n    /**\n     * A specialized version of `baseMerge` for arrays and objects which performs\n     * deep merges and tracks traversed objects enabling objects with circular\n     * references to be merged.\n     *\n     * @private\n     * @param {Object} object The destination object.\n     * @param {Object} source The source object.\n     * @param {string} key The key of the value to merge.\n     * @param {number} srcIndex The index of `source`.\n     * @param {Function} mergeFunc The function to merge values.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     */\n    function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n      var objValue = safeGet(object, key),\n          srcValue = safeGet(source, key),\n          stacked = stack.get(srcValue);\n\n      if (stacked) {\n        assignMergeValue(object, key, stacked);\n        return;\n      }\n      var newValue = customizer\n        ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n        : undefined;\n\n      var isCommon = newValue === undefined;\n\n      if (isCommon) {\n        var isArr = isArray(srcValue),\n            isBuff = !isArr && isBuffer(srcValue),\n            isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n        newValue = srcValue;\n        if (isArr || isBuff || isTyped) {\n          if (isArray(objValue)) {\n            newValue = objValue;\n          }\n          else if (isArrayLikeObject(objValue)) {\n            newValue = copyArray(objValue);\n          }\n          else if (isBuff) {\n            isCommon = false;\n            newValue = cloneBuffer(srcValue, true);\n          }\n          else if (isTyped) {\n            isCommon = false;\n            newValue = cloneTypedArray(srcValue, true);\n          }\n          else {\n            newValue = [];\n          }\n        }\n        else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n          newValue = objValue;\n          if (isArguments(objValue)) {\n            newValue = toPlainObject(objValue);\n          }\n          else if (!isObject(objValue) || isFunction(objValue)) {\n            newValue = initCloneObject(srcValue);\n          }\n        }\n        else {\n          isCommon = false;\n        }\n      }\n      if (isCommon) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, newValue);\n        mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n        stack['delete'](srcValue);\n      }\n      assignMergeValue(object, key, newValue);\n    }\n\n    /**\n     * The base implementation of `_.nth` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {number} n The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     */\n    function baseNth(array, n) {\n      var length = array.length;\n      if (!length) {\n        return;\n      }\n      n += n < 0 ? length : 0;\n      return isIndex(n, length) ? array[n] : undefined;\n    }\n\n    /**\n     * The base implementation of `_.orderBy` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n     * @param {string[]} orders The sort orders of `iteratees`.\n     * @returns {Array} Returns the new sorted array.\n     */\n    function baseOrderBy(collection, iteratees, orders) {\n      if (iteratees.length) {\n        iteratees = arrayMap(iteratees, function(iteratee) {\n          if (isArray(iteratee)) {\n            return function(value) {\n              return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n            }\n          }\n          return iteratee;\n        });\n      } else {\n        iteratees = [identity];\n      }\n\n      var index = -1;\n      iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n\n      var result = baseMap(collection, function(value, key, collection) {\n        var criteria = arrayMap(iteratees, function(iteratee) {\n          return iteratee(value);\n        });\n        return { 'criteria': criteria, 'index': ++index, 'value': value };\n      });\n\n      return baseSortBy(result, function(object, other) {\n        return compareMultiple(object, other, orders);\n      });\n    }\n\n    /**\n     * The base implementation of `_.pick` without support for individual\n     * property identifiers.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @returns {Object} Returns the new object.\n     */\n    function basePick(object, paths) {\n      return basePickBy(object, paths, function(value, path) {\n        return hasIn(object, path);\n      });\n    }\n\n    /**\n     * The base implementation of  `_.pickBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Object} object The source object.\n     * @param {string[]} paths The property paths to pick.\n     * @param {Function} predicate The function invoked per property.\n     * @returns {Object} Returns the new object.\n     */\n    function basePickBy(object, paths, predicate) {\n      var index = -1,\n          length = paths.length,\n          result = {};\n\n      while (++index < length) {\n        var path = paths[index],\n            value = baseGet(object, path);\n\n        if (predicate(value, path)) {\n          baseSet(result, castPath(path, object), value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseProperty` which supports deep paths.\n     *\n     * @private\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     */\n    function basePropertyDeep(path) {\n      return function(object) {\n        return baseGet(object, path);\n      };\n    }\n\n    /**\n     * The base implementation of `_.pullAllBy` without support for iteratee\n     * shorthands.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAll(array, values, iteratee, comparator) {\n      var indexOf = comparator ? baseIndexOfWith : baseIndexOf,\n          index = -1,\n          length = values.length,\n          seen = array;\n\n      if (array === values) {\n        values = copyArray(values);\n      }\n      if (iteratee) {\n        seen = arrayMap(array, baseUnary(iteratee));\n      }\n      while (++index < length) {\n        var fromIndex = 0,\n            value = values[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        while ((fromIndex = indexOf(seen, computed, fromIndex, comparator)) > -1) {\n          if (seen !== array) {\n            splice.call(seen, fromIndex, 1);\n          }\n          splice.call(array, fromIndex, 1);\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.pullAt` without support for individual\n     * indexes or capturing the removed elements.\n     *\n     * @private\n     * @param {Array} array The array to modify.\n     * @param {number[]} indexes The indexes of elements to remove.\n     * @returns {Array} Returns `array`.\n     */\n    function basePullAt(array, indexes) {\n      var length = array ? indexes.length : 0,\n          lastIndex = length - 1;\n\n      while (length--) {\n        var index = indexes[length];\n        if (length == lastIndex || index !== previous) {\n          var previous = index;\n          if (isIndex(index)) {\n            splice.call(array, index, 1);\n          } else {\n            baseUnset(array, index);\n          }\n        }\n      }\n      return array;\n    }\n\n    /**\n     * The base implementation of `_.random` without support for returning\n     * floating-point numbers.\n     *\n     * @private\n     * @param {number} lower The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the random number.\n     */\n    function baseRandom(lower, upper) {\n      return lower + nativeFloor(nativeRandom() * (upper - lower + 1));\n    }\n\n    /**\n     * The base implementation of `_.range` and `_.rangeRight` which doesn't\n     * coerce arguments.\n     *\n     * @private\n     * @param {number} start The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} step The value to increment or decrement by.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the range of numbers.\n     */\n    function baseRange(start, end, step, fromRight) {\n      var index = -1,\n          length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n          result = Array(length);\n\n      while (length--) {\n        result[fromRight ? length : ++index] = start;\n        start += step;\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.repeat` which doesn't coerce arguments.\n     *\n     * @private\n     * @param {string} string The string to repeat.\n     * @param {number} n The number of times to repeat the string.\n     * @returns {string} Returns the repeated string.\n     */\n    function baseRepeat(string, n) {\n      var result = '';\n      if (!string || n < 1 || n > MAX_SAFE_INTEGER) {\n        return result;\n      }\n      // Leverage the exponentiation by squaring algorithm for a faster repeat.\n      // See https://en.wikipedia.org/wiki/Exponentiation_by_squaring for more details.\n      do {\n        if (n % 2) {\n          result += string;\n        }\n        n = nativeFloor(n / 2);\n        if (n) {\n          string += string;\n        }\n      } while (n);\n\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     */\n    function baseRest(func, start) {\n      return setToString(overRest(func, start, identity), func + '');\n    }\n\n    /**\n     * The base implementation of `_.sample`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     */\n    function baseSample(collection) {\n      return arraySample(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.sampleSize` without param guards.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} n The number of elements to sample.\n     * @returns {Array} Returns the random elements.\n     */\n    function baseSampleSize(collection, n) {\n      var array = values(collection);\n      return shuffleSelf(array, baseClamp(n, 0, array.length));\n    }\n\n    /**\n     * The base implementation of `_.set`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseSet(object, path, value, customizer) {\n      if (!isObject(object)) {\n        return object;\n      }\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          lastIndex = length - 1,\n          nested = object;\n\n      while (nested != null && ++index < length) {\n        var key = toKey(path[index]),\n            newValue = value;\n\n        if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n          return object;\n        }\n\n        if (index != lastIndex) {\n          var objValue = nested[key];\n          newValue = customizer ? customizer(objValue, key, nested) : undefined;\n          if (newValue === undefined) {\n            newValue = isObject(objValue)\n              ? objValue\n              : (isIndex(path[index + 1]) ? [] : {});\n          }\n        }\n        assignValue(nested, key, newValue);\n        nested = nested[key];\n      }\n      return object;\n    }\n\n    /**\n     * The base implementation of `setData` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetData = !metaMap ? identity : function(func, data) {\n      metaMap.set(func, data);\n      return func;\n    };\n\n    /**\n     * The base implementation of `setToString` without support for hot loop shorting.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var baseSetToString = !defineProperty ? identity : function(func, string) {\n      return defineProperty(func, 'toString', {\n        'configurable': true,\n        'enumerable': false,\n        'value': constant(string),\n        'writable': true\n      });\n    };\n\n    /**\n     * The base implementation of `_.shuffle`.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     */\n    function baseShuffle(collection) {\n      return shuffleSelf(values(collection));\n    }\n\n    /**\n     * The base implementation of `_.slice` without an iteratee call guard.\n     *\n     * @private\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseSlice(array, start, end) {\n      var index = -1,\n          length = array.length;\n\n      if (start < 0) {\n        start = -start > length ? 0 : (length + start);\n      }\n      end = end > length ? length : end;\n      if (end < 0) {\n        end += length;\n      }\n      length = start > end ? 0 : ((end - start) >>> 0);\n      start >>>= 0;\n\n      var result = Array(length);\n      while (++index < length) {\n        result[index] = array[index + start];\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.some` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} predicate The function invoked per iteration.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     */\n    function baseSome(collection, predicate) {\n      var result;\n\n      baseEach(collection, function(value, index, collection) {\n        result = predicate(value, index, collection);\n        return !result;\n      });\n      return !!result;\n    }\n\n    /**\n     * The base implementation of `_.sortedIndex` and `_.sortedLastIndex` which\n     * performs a binary search of `array` to determine the index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndex(array, value, retHighest) {\n      var low = 0,\n          high = array == null ? low : array.length;\n\n      if (typeof value == 'number' && value === value && high <= HALF_MAX_ARRAY_LENGTH) {\n        while (low < high) {\n          var mid = (low + high) >>> 1,\n              computed = array[mid];\n\n          if (computed !== null && !isSymbol(computed) &&\n              (retHighest ? (computed <= value) : (computed < value))) {\n            low = mid + 1;\n          } else {\n            high = mid;\n          }\n        }\n        return high;\n      }\n      return baseSortedIndexBy(array, value, identity, retHighest);\n    }\n\n    /**\n     * The base implementation of `_.sortedIndexBy` and `_.sortedLastIndexBy`\n     * which invokes `iteratee` for `value` and each element of `array` to compute\n     * their sort ranking. The iteratee is invoked with one argument; (value).\n     *\n     * @private\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} iteratee The iteratee invoked per element.\n     * @param {boolean} [retHighest] Specify returning the highest qualified index.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     */\n    function baseSortedIndexBy(array, value, iteratee, retHighest) {\n      var low = 0,\n          high = array == null ? 0 : array.length;\n      if (high === 0) {\n        return 0;\n      }\n\n      value = iteratee(value);\n      var valIsNaN = value !== value,\n          valIsNull = value === null,\n          valIsSymbol = isSymbol(value),\n          valIsUndefined = value === undefined;\n\n      while (low < high) {\n        var mid = nativeFloor((low + high) / 2),\n            computed = iteratee(array[mid]),\n            othIsDefined = computed !== undefined,\n            othIsNull = computed === null,\n            othIsReflexive = computed === computed,\n            othIsSymbol = isSymbol(computed);\n\n        if (valIsNaN) {\n          var setLow = retHighest || othIsReflexive;\n        } else if (valIsUndefined) {\n          setLow = othIsReflexive && (retHighest || othIsDefined);\n        } else if (valIsNull) {\n          setLow = othIsReflexive && othIsDefined && (retHighest || !othIsNull);\n        } else if (valIsSymbol) {\n          setLow = othIsReflexive && othIsDefined && !othIsNull && (retHighest || !othIsSymbol);\n        } else if (othIsNull || othIsSymbol) {\n          setLow = false;\n        } else {\n          setLow = retHighest ? (computed <= value) : (computed < value);\n        }\n        if (setLow) {\n          low = mid + 1;\n        } else {\n          high = mid;\n        }\n      }\n      return nativeMin(high, MAX_ARRAY_INDEX);\n    }\n\n    /**\n     * The base implementation of `_.sortedUniq` and `_.sortedUniqBy` without\n     * support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseSortedUniq(array, iteratee) {\n      var index = -1,\n          length = array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        if (!index || !eq(computed, seen)) {\n          var seen = computed;\n          result[resIndex++] = value === 0 ? 0 : value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.toNumber` which doesn't ensure correct\n     * conversions of binary, hexadecimal, or octal string values.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     */\n    function baseToNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      return +value;\n    }\n\n    /**\n     * The base implementation of `_.toString` which doesn't convert nullish\n     * values to empty strings.\n     *\n     * @private\n     * @param {*} value The value to process.\n     * @returns {string} Returns the string.\n     */\n    function baseToString(value) {\n      // Exit early for strings to avoid a performance hit in some environments.\n      if (typeof value == 'string') {\n        return value;\n      }\n      if (isArray(value)) {\n        // Recursively convert values (susceptible to call stack limits).\n        return arrayMap(value, baseToString) + '';\n      }\n      if (isSymbol(value)) {\n        return symbolToString ? symbolToString.call(value) : '';\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     */\n    function baseUniq(array, iteratee, comparator) {\n      var index = -1,\n          includes = arrayIncludes,\n          length = array.length,\n          isCommon = true,\n          result = [],\n          seen = result;\n\n      if (comparator) {\n        isCommon = false;\n        includes = arrayIncludesWith;\n      }\n      else if (length >= LARGE_ARRAY_SIZE) {\n        var set = iteratee ? null : createSet(array);\n        if (set) {\n          return setToArray(set);\n        }\n        isCommon = false;\n        includes = cacheHas;\n        seen = new SetCache;\n      }\n      else {\n        seen = iteratee ? [] : result;\n      }\n      outer:\n      while (++index < length) {\n        var value = array[index],\n            computed = iteratee ? iteratee(value) : value;\n\n        value = (comparator || value !== 0) ? value : 0;\n        if (isCommon && computed === computed) {\n          var seenIndex = seen.length;\n          while (seenIndex--) {\n            if (seen[seenIndex] === computed) {\n              continue outer;\n            }\n          }\n          if (iteratee) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n        else if (!includes(seen, computed, comparator)) {\n          if (seen !== result) {\n            seen.push(computed);\n          }\n          result.push(value);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * The base implementation of `_.unset`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The property path to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     */\n    function baseUnset(object, path) {\n      path = castPath(path, object);\n      object = parent(object, path);\n      return object == null || delete object[toKey(last(path))];\n    }\n\n    /**\n     * The base implementation of `_.update`.\n     *\n     * @private\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to update.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize path creation.\n     * @returns {Object} Returns `object`.\n     */\n    function baseUpdate(object, path, updater, customizer) {\n      return baseSet(object, path, updater(baseGet(object, path)), customizer);\n    }\n\n    /**\n     * The base implementation of methods like `_.dropWhile` and `_.takeWhile`\n     * without support for iteratee shorthands.\n     *\n     * @private\n     * @param {Array} array The array to query.\n     * @param {Function} predicate The function invoked per iteration.\n     * @param {boolean} [isDrop] Specify dropping elements instead of taking them.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function baseWhile(array, predicate, isDrop, fromRight) {\n      var length = array.length,\n          index = fromRight ? length : -1;\n\n      while ((fromRight ? index-- : ++index < length) &&\n        predicate(array[index], index, array)) {}\n\n      return isDrop\n        ? baseSlice(array, (fromRight ? 0 : index), (fromRight ? index + 1 : length))\n        : baseSlice(array, (fromRight ? index + 1 : 0), (fromRight ? length : index));\n    }\n\n    /**\n     * The base implementation of `wrapperValue` which returns the result of\n     * performing a sequence of actions on the unwrapped `value`, where each\n     * successive action is supplied the return value of the previous.\n     *\n     * @private\n     * @param {*} value The unwrapped value.\n     * @param {Array} actions Actions to perform to resolve the unwrapped value.\n     * @returns {*} Returns the resolved value.\n     */\n    function baseWrapperValue(value, actions) {\n      var result = value;\n      if (result instanceof LazyWrapper) {\n        result = result.value();\n      }\n      return arrayReduce(actions, function(result, action) {\n        return action.func.apply(action.thisArg, arrayPush([result], action.args));\n      }, result);\n    }\n\n    /**\n     * The base implementation of methods like `_.xor`, without support for\n     * iteratee shorthands, that accepts an array of arrays to inspect.\n     *\n     * @private\n     * @param {Array} arrays The arrays to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of values.\n     */\n    function baseXor(arrays, iteratee, comparator) {\n      var length = arrays.length;\n      if (length < 2) {\n        return length ? baseUniq(arrays[0]) : [];\n      }\n      var index = -1,\n          result = Array(length);\n\n      while (++index < length) {\n        var array = arrays[index],\n            othIndex = -1;\n\n        while (++othIndex < length) {\n          if (othIndex != index) {\n            result[index] = baseDifference(result[index] || array, arrays[othIndex], iteratee, comparator);\n          }\n        }\n      }\n      return baseUniq(baseFlatten(result, 1), iteratee, comparator);\n    }\n\n    /**\n     * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n     *\n     * @private\n     * @param {Array} props The property identifiers.\n     * @param {Array} values The property values.\n     * @param {Function} assignFunc The function to assign values.\n     * @returns {Object} Returns the new object.\n     */\n    function baseZipObject(props, values, assignFunc) {\n      var index = -1,\n          length = props.length,\n          valsLength = values.length,\n          result = {};\n\n      while (++index < length) {\n        var value = index < valsLength ? values[index] : undefined;\n        assignFunc(result, props[index], value);\n      }\n      return result;\n    }\n\n    /**\n     * Casts `value` to an empty array if it's not an array like object.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Array|Object} Returns the cast array-like object.\n     */\n    function castArrayLikeObject(value) {\n      return isArrayLikeObject(value) ? value : [];\n    }\n\n    /**\n     * Casts `value` to `identity` if it's not a function.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {Function} Returns cast function.\n     */\n    function castFunction(value) {\n      return typeof value == 'function' ? value : identity;\n    }\n\n    /**\n     * Casts `value` to a path array if it's not one.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {Array} Returns the cast property path array.\n     */\n    function castPath(value, object) {\n      if (isArray(value)) {\n        return value;\n      }\n      return isKey(value, object) ? [value] : stringToPath(toString(value));\n    }\n\n    /**\n     * A `baseRest` alias which can be replaced with `identity` by module\n     * replacement plugins.\n     *\n     * @private\n     * @type {Function}\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    var castRest = baseRest;\n\n    /**\n     * Casts `array` to a slice if it's needed.\n     *\n     * @private\n     * @param {Array} array The array to inspect.\n     * @param {number} start The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the cast slice.\n     */\n    function castSlice(array, start, end) {\n      var length = array.length;\n      end = end === undefined ? length : end;\n      return (!start && end >= length) ? array : baseSlice(array, start, end);\n    }\n\n    /**\n     * A simple wrapper around the global [`clearTimeout`](https://mdn.io/clearTimeout).\n     *\n     * @private\n     * @param {number|Object} id The timer id or timeout object of the timer to clear.\n     */\n    var clearTimeout = ctxClearTimeout || function(id) {\n      return root.clearTimeout(id);\n    };\n\n    /**\n     * Creates a clone of  `buffer`.\n     *\n     * @private\n     * @param {Buffer} buffer The buffer to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Buffer} Returns the cloned buffer.\n     */\n    function cloneBuffer(buffer, isDeep) {\n      if (isDeep) {\n        return buffer.slice();\n      }\n      var length = buffer.length,\n          result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n      buffer.copy(result);\n      return result;\n    }\n\n    /**\n     * Creates a clone of `arrayBuffer`.\n     *\n     * @private\n     * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n     * @returns {ArrayBuffer} Returns the cloned array buffer.\n     */\n    function cloneArrayBuffer(arrayBuffer) {\n      var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n      new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n      return result;\n    }\n\n    /**\n     * Creates a clone of `dataView`.\n     *\n     * @private\n     * @param {Object} dataView The data view to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned data view.\n     */\n    function cloneDataView(dataView, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n      return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n    }\n\n    /**\n     * Creates a clone of `regexp`.\n     *\n     * @private\n     * @param {Object} regexp The regexp to clone.\n     * @returns {Object} Returns the cloned regexp.\n     */\n    function cloneRegExp(regexp) {\n      var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n      result.lastIndex = regexp.lastIndex;\n      return result;\n    }\n\n    /**\n     * Creates a clone of the `symbol` object.\n     *\n     * @private\n     * @param {Object} symbol The symbol object to clone.\n     * @returns {Object} Returns the cloned symbol object.\n     */\n    function cloneSymbol(symbol) {\n      return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n    }\n\n    /**\n     * Creates a clone of `typedArray`.\n     *\n     * @private\n     * @param {Object} typedArray The typed array to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the cloned typed array.\n     */\n    function cloneTypedArray(typedArray, isDeep) {\n      var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n      return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n    }\n\n    /**\n     * Compares values to sort them in ascending order.\n     *\n     * @private\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {number} Returns the sort order indicator for `value`.\n     */\n    function compareAscending(value, other) {\n      if (value !== other) {\n        var valIsDefined = value !== undefined,\n            valIsNull = value === null,\n            valIsReflexive = value === value,\n            valIsSymbol = isSymbol(value);\n\n        var othIsDefined = other !== undefined,\n            othIsNull = other === null,\n            othIsReflexive = other === other,\n            othIsSymbol = isSymbol(other);\n\n        if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n            (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n            (valIsNull && othIsDefined && othIsReflexive) ||\n            (!valIsDefined && othIsReflexive) ||\n            !valIsReflexive) {\n          return 1;\n        }\n        if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n            (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n            (othIsNull && valIsDefined && valIsReflexive) ||\n            (!othIsDefined && valIsReflexive) ||\n            !othIsReflexive) {\n          return -1;\n        }\n      }\n      return 0;\n    }\n\n    /**\n     * Used by `_.orderBy` to compare multiple properties of a value to another\n     * and stable sort them.\n     *\n     * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n     * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n     * of corresponding values.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {boolean[]|string[]} orders The order to sort by for each property.\n     * @returns {number} Returns the sort order indicator for `object`.\n     */\n    function compareMultiple(object, other, orders) {\n      var index = -1,\n          objCriteria = object.criteria,\n          othCriteria = other.criteria,\n          length = objCriteria.length,\n          ordersLength = orders.length;\n\n      while (++index < length) {\n        var result = compareAscending(objCriteria[index], othCriteria[index]);\n        if (result) {\n          if (index >= ordersLength) {\n            return result;\n          }\n          var order = orders[index];\n          return result * (order == 'desc' ? -1 : 1);\n        }\n      }\n      // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n      // that causes it, under certain circumstances, to provide the same value for\n      // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n      // for more details.\n      //\n      // This also ensures a stable sort in V8 and other engines.\n      // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n      return object.index - other.index;\n    }\n\n    /**\n     * Creates an array that is the composition of partially applied arguments,\n     * placeholders, and provided arguments into a single array of arguments.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to prepend to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgs(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersLength = holders.length,\n          leftIndex = -1,\n          leftLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(leftLength + rangeLength),\n          isUncurried = !isCurried;\n\n      while (++leftIndex < leftLength) {\n        result[leftIndex] = partials[leftIndex];\n      }\n      while (++argsIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[holders[argsIndex]] = args[argsIndex];\n        }\n      }\n      while (rangeLength--) {\n        result[leftIndex++] = args[argsIndex++];\n      }\n      return result;\n    }\n\n    /**\n     * This function is like `composeArgs` except that the arguments composition\n     * is tailored for `_.partialRight`.\n     *\n     * @private\n     * @param {Array} args The provided arguments.\n     * @param {Array} partials The arguments to append to those provided.\n     * @param {Array} holders The `partials` placeholder indexes.\n     * @params {boolean} [isCurried] Specify composing for a curried function.\n     * @returns {Array} Returns the new array of composed arguments.\n     */\n    function composeArgsRight(args, partials, holders, isCurried) {\n      var argsIndex = -1,\n          argsLength = args.length,\n          holdersIndex = -1,\n          holdersLength = holders.length,\n          rightIndex = -1,\n          rightLength = partials.length,\n          rangeLength = nativeMax(argsLength - holdersLength, 0),\n          result = Array(rangeLength + rightLength),\n          isUncurried = !isCurried;\n\n      while (++argsIndex < rangeLength) {\n        result[argsIndex] = args[argsIndex];\n      }\n      var offset = argsIndex;\n      while (++rightIndex < rightLength) {\n        result[offset + rightIndex] = partials[rightIndex];\n      }\n      while (++holdersIndex < holdersLength) {\n        if (isUncurried || argsIndex < argsLength) {\n          result[offset + holders[holdersIndex]] = args[argsIndex++];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Copies the values of `source` to `array`.\n     *\n     * @private\n     * @param {Array} source The array to copy values from.\n     * @param {Array} [array=[]] The array to copy values to.\n     * @returns {Array} Returns `array`.\n     */\n    function copyArray(source, array) {\n      var index = -1,\n          length = source.length;\n\n      array || (array = Array(length));\n      while (++index < length) {\n        array[index] = source[index];\n      }\n      return array;\n    }\n\n    /**\n     * Copies properties of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy properties from.\n     * @param {Array} props The property identifiers to copy.\n     * @param {Object} [object={}] The object to copy properties to.\n     * @param {Function} [customizer] The function to customize copied values.\n     * @returns {Object} Returns `object`.\n     */\n    function copyObject(source, props, object, customizer) {\n      var isNew = !object;\n      object || (object = {});\n\n      var index = -1,\n          length = props.length;\n\n      while (++index < length) {\n        var key = props[index];\n\n        var newValue = customizer\n          ? customizer(object[key], source[key], key, object, source)\n          : undefined;\n\n        if (newValue === undefined) {\n          newValue = source[key];\n        }\n        if (isNew) {\n          baseAssignValue(object, key, newValue);\n        } else {\n          assignValue(object, key, newValue);\n        }\n      }\n      return object;\n    }\n\n    /**\n     * Copies own symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbols(source, object) {\n      return copyObject(source, getSymbols(source), object);\n    }\n\n    /**\n     * Copies own and inherited symbols of `source` to `object`.\n     *\n     * @private\n     * @param {Object} source The object to copy symbols from.\n     * @param {Object} [object={}] The object to copy symbols to.\n     * @returns {Object} Returns `object`.\n     */\n    function copySymbolsIn(source, object) {\n      return copyObject(source, getSymbolsIn(source), object);\n    }\n\n    /**\n     * Creates a function like `_.groupBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} [initializer] The accumulator object initializer.\n     * @returns {Function} Returns the new aggregator function.\n     */\n    function createAggregator(setter, initializer) {\n      return function(collection, iteratee) {\n        var func = isArray(collection) ? arrayAggregator : baseAggregator,\n            accumulator = initializer ? initializer() : {};\n\n        return func(collection, setter, getIteratee(iteratee, 2), accumulator);\n      };\n    }\n\n    /**\n     * Creates a function like `_.assign`.\n     *\n     * @private\n     * @param {Function} assigner The function to assign values.\n     * @returns {Function} Returns the new assigner function.\n     */\n    function createAssigner(assigner) {\n      return baseRest(function(object, sources) {\n        var index = -1,\n            length = sources.length,\n            customizer = length > 1 ? sources[length - 1] : undefined,\n            guard = length > 2 ? sources[2] : undefined;\n\n        customizer = (assigner.length > 3 && typeof customizer == 'function')\n          ? (length--, customizer)\n          : undefined;\n\n        if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n          customizer = length < 3 ? undefined : customizer;\n          length = 1;\n        }\n        object = Object(object);\n        while (++index < length) {\n          var source = sources[index];\n          if (source) {\n            assigner(object, source, index, customizer);\n          }\n        }\n        return object;\n      });\n    }\n\n    /**\n     * Creates a `baseEach` or `baseEachRight` function.\n     *\n     * @private\n     * @param {Function} eachFunc The function to iterate over a collection.\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseEach(eachFunc, fromRight) {\n      return function(collection, iteratee) {\n        if (collection == null) {\n          return collection;\n        }\n        if (!isArrayLike(collection)) {\n          return eachFunc(collection, iteratee);\n        }\n        var length = collection.length,\n            index = fromRight ? length : -1,\n            iterable = Object(collection);\n\n        while ((fromRight ? index-- : ++index < length)) {\n          if (iteratee(iterable[index], index, iterable) === false) {\n            break;\n          }\n        }\n        return collection;\n      };\n    }\n\n    /**\n     * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new base function.\n     */\n    function createBaseFor(fromRight) {\n      return function(object, iteratee, keysFunc) {\n        var index = -1,\n            iterable = Object(object),\n            props = keysFunc(object),\n            length = props.length;\n\n        while (length--) {\n          var key = props[fromRight ? length : ++index];\n          if (iteratee(iterable[key], key, iterable) === false) {\n            break;\n          }\n        }\n        return object;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the optional `this`\n     * binding of `thisArg`.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createBind(func, bitmask, thisArg) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return fn.apply(isBind ? thisArg : this, arguments);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.lowerFirst`.\n     *\n     * @private\n     * @param {string} methodName The name of the `String` case method to use.\n     * @returns {Function} Returns the new case function.\n     */\n    function createCaseFirst(methodName) {\n      return function(string) {\n        string = toString(string);\n\n        var strSymbols = hasUnicode(string)\n          ? stringToArray(string)\n          : undefined;\n\n        var chr = strSymbols\n          ? strSymbols[0]\n          : string.charAt(0);\n\n        var trailing = strSymbols\n          ? castSlice(strSymbols, 1).join('')\n          : string.slice(1);\n\n        return chr[methodName]() + trailing;\n      };\n    }\n\n    /**\n     * Creates a function like `_.camelCase`.\n     *\n     * @private\n     * @param {Function} callback The function to combine each word.\n     * @returns {Function} Returns the new compounder function.\n     */\n    function createCompounder(callback) {\n      return function(string) {\n        return arrayReduce(words(deburr(string).replace(reApos, '')), callback, '');\n      };\n    }\n\n    /**\n     * Creates a function that produces an instance of `Ctor` regardless of\n     * whether it was invoked as part of a `new` expression or by `call` or `apply`.\n     *\n     * @private\n     * @param {Function} Ctor The constructor to wrap.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCtor(Ctor) {\n      return function() {\n        // Use a `switch` statement to work with class constructors. See\n        // http://ecma-international.org/ecma-262/7.0/#sec-ecmascript-function-objects-call-thisargument-argumentslist\n        // for more details.\n        var args = arguments;\n        switch (args.length) {\n          case 0: return new Ctor;\n          case 1: return new Ctor(args[0]);\n          case 2: return new Ctor(args[0], args[1]);\n          case 3: return new Ctor(args[0], args[1], args[2]);\n          case 4: return new Ctor(args[0], args[1], args[2], args[3]);\n          case 5: return new Ctor(args[0], args[1], args[2], args[3], args[4]);\n          case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);\n          case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);\n        }\n        var thisBinding = baseCreate(Ctor.prototype),\n            result = Ctor.apply(thisBinding, args);\n\n        // Mimic the constructor's `return` behavior.\n        // See https://es5.github.io/#x13.2.2 for more details.\n        return isObject(result) ? result : thisBinding;\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to enable currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {number} arity The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createCurry(func, bitmask, arity) {\n      var Ctor = createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length,\n            placeholder = getHolder(wrapper);\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        var holders = (length < 3 && args[0] !== placeholder && args[length - 1] !== placeholder)\n          ? []\n          : replaceHolders(args, placeholder);\n\n        length -= holders.length;\n        if (length < arity) {\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, undefined,\n            args, holders, undefined, undefined, arity - length);\n        }\n        var fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n        return apply(fn, this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.find` or `_.findLast` function.\n     *\n     * @private\n     * @param {Function} findIndexFunc The function to find the collection index.\n     * @returns {Function} Returns the new find function.\n     */\n    function createFind(findIndexFunc) {\n      return function(collection, predicate, fromIndex) {\n        var iterable = Object(collection);\n        if (!isArrayLike(collection)) {\n          var iteratee = getIteratee(predicate, 3);\n          collection = keys(collection);\n          predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n        }\n        var index = findIndexFunc(collection, predicate, fromIndex);\n        return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n      };\n    }\n\n    /**\n     * Creates a `_.flow` or `_.flowRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new flow function.\n     */\n    function createFlow(fromRight) {\n      return flatRest(function(funcs) {\n        var length = funcs.length,\n            index = length,\n            prereq = LodashWrapper.prototype.thru;\n\n        if (fromRight) {\n          funcs.reverse();\n        }\n        while (index--) {\n          var func = funcs[index];\n          if (typeof func != 'function') {\n            throw new TypeError(FUNC_ERROR_TEXT);\n          }\n          if (prereq && !wrapper && getFuncName(func) == 'wrapper') {\n            var wrapper = new LodashWrapper([], true);\n          }\n        }\n        index = wrapper ? index : length;\n        while (++index < length) {\n          func = funcs[index];\n\n          var funcName = getFuncName(func),\n              data = funcName == 'wrapper' ? getData(func) : undefined;\n\n          if (data && isLaziable(data[0]) &&\n                data[1] == (WRAP_ARY_FLAG | WRAP_CURRY_FLAG | WRAP_PARTIAL_FLAG | WRAP_REARG_FLAG) &&\n                !data[4].length && data[9] == 1\n              ) {\n            wrapper = wrapper[getFuncName(data[0])].apply(wrapper, data[3]);\n          } else {\n            wrapper = (func.length == 1 && isLaziable(func))\n              ? wrapper[funcName]()\n              : wrapper.thru(func);\n          }\n        }\n        return function() {\n          var args = arguments,\n              value = args[0];\n\n          if (wrapper && args.length == 1 && isArray(value)) {\n            return wrapper.plant(value).value();\n          }\n          var index = 0,\n              result = length ? funcs[index].apply(this, args) : value;\n\n          while (++index < length) {\n            result = funcs[index].call(this, result);\n          }\n          return result;\n        };\n      });\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with optional `this`\n     * binding of `thisArg`, partial application, and currying.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [partialsRight] The arguments to append to those provided\n     *  to the new function.\n     * @param {Array} [holdersRight] The `partialsRight` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createHybrid(func, bitmask, thisArg, partials, holders, partialsRight, holdersRight, argPos, ary, arity) {\n      var isAry = bitmask & WRAP_ARY_FLAG,\n          isBind = bitmask & WRAP_BIND_FLAG,\n          isBindKey = bitmask & WRAP_BIND_KEY_FLAG,\n          isCurried = bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG),\n          isFlip = bitmask & WRAP_FLIP_FLAG,\n          Ctor = isBindKey ? undefined : createCtor(func);\n\n      function wrapper() {\n        var length = arguments.length,\n            args = Array(length),\n            index = length;\n\n        while (index--) {\n          args[index] = arguments[index];\n        }\n        if (isCurried) {\n          var placeholder = getHolder(wrapper),\n              holdersCount = countHolders(args, placeholder);\n        }\n        if (partials) {\n          args = composeArgs(args, partials, holders, isCurried);\n        }\n        if (partialsRight) {\n          args = composeArgsRight(args, partialsRight, holdersRight, isCurried);\n        }\n        length -= holdersCount;\n        if (isCurried && length < arity) {\n          var newHolders = replaceHolders(args, placeholder);\n          return createRecurry(\n            func, bitmask, createHybrid, wrapper.placeholder, thisArg,\n            args, newHolders, argPos, ary, arity - length\n          );\n        }\n        var thisBinding = isBind ? thisArg : this,\n            fn = isBindKey ? thisBinding[func] : func;\n\n        length = args.length;\n        if (argPos) {\n          args = reorder(args, argPos);\n        } else if (isFlip && length > 1) {\n          args.reverse();\n        }\n        if (isAry && ary < length) {\n          args.length = ary;\n        }\n        if (this && this !== root && this instanceof wrapper) {\n          fn = Ctor || createCtor(fn);\n        }\n        return fn.apply(thisBinding, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a function like `_.invertBy`.\n     *\n     * @private\n     * @param {Function} setter The function to set accumulator values.\n     * @param {Function} toIteratee The function to resolve iteratees.\n     * @returns {Function} Returns the new inverter function.\n     */\n    function createInverter(setter, toIteratee) {\n      return function(object, iteratee) {\n        return baseInverter(object, setter, toIteratee(iteratee), {});\n      };\n    }\n\n    /**\n     * Creates a function that performs a mathematical operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @param {number} [defaultValue] The value used for `undefined` arguments.\n     * @returns {Function} Returns the new mathematical operation function.\n     */\n    function createMathOperation(operator, defaultValue) {\n      return function(value, other) {\n        var result;\n        if (value === undefined && other === undefined) {\n          return defaultValue;\n        }\n        if (value !== undefined) {\n          result = value;\n        }\n        if (other !== undefined) {\n          if (result === undefined) {\n            return other;\n          }\n          if (typeof value == 'string' || typeof other == 'string') {\n            value = baseToString(value);\n            other = baseToString(other);\n          } else {\n            value = baseToNumber(value);\n            other = baseToNumber(other);\n          }\n          result = operator(value, other);\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function like `_.over`.\n     *\n     * @private\n     * @param {Function} arrayFunc The function to iterate over iteratees.\n     * @returns {Function} Returns the new over function.\n     */\n    function createOver(arrayFunc) {\n      return flatRest(function(iteratees) {\n        iteratees = arrayMap(iteratees, baseUnary(getIteratee()));\n        return baseRest(function(args) {\n          var thisArg = this;\n          return arrayFunc(iteratees, function(iteratee) {\n            return apply(iteratee, thisArg, args);\n          });\n        });\n      });\n    }\n\n    /**\n     * Creates the padding for `string` based on `length`. The `chars` string\n     * is truncated if the number of characters exceeds `length`.\n     *\n     * @private\n     * @param {number} length The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padding for `string`.\n     */\n    function createPadding(length, chars) {\n      chars = chars === undefined ? ' ' : baseToString(chars);\n\n      var charsLength = chars.length;\n      if (charsLength < 2) {\n        return charsLength ? baseRepeat(chars, length) : chars;\n      }\n      var result = baseRepeat(chars, nativeCeil(length / stringSize(chars)));\n      return hasUnicode(chars)\n        ? castSlice(stringToArray(result), 0, length).join('')\n        : result.slice(0, length);\n    }\n\n    /**\n     * Creates a function that wraps `func` to invoke it with the `this` binding\n     * of `thisArg` and `partials` prepended to the arguments it receives.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {Array} partials The arguments to prepend to those provided to\n     *  the new function.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createPartial(func, bitmask, thisArg, partials) {\n      var isBind = bitmask & WRAP_BIND_FLAG,\n          Ctor = createCtor(func);\n\n      function wrapper() {\n        var argsIndex = -1,\n            argsLength = arguments.length,\n            leftIndex = -1,\n            leftLength = partials.length,\n            args = Array(leftLength + argsLength),\n            fn = (this && this !== root && this instanceof wrapper) ? Ctor : func;\n\n        while (++leftIndex < leftLength) {\n          args[leftIndex] = partials[leftIndex];\n        }\n        while (argsLength--) {\n          args[leftIndex++] = arguments[++argsIndex];\n        }\n        return apply(fn, isBind ? thisArg : this, args);\n      }\n      return wrapper;\n    }\n\n    /**\n     * Creates a `_.range` or `_.rangeRight` function.\n     *\n     * @private\n     * @param {boolean} [fromRight] Specify iterating from right to left.\n     * @returns {Function} Returns the new range function.\n     */\n    function createRange(fromRight) {\n      return function(start, end, step) {\n        if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n          end = step = undefined;\n        }\n        // Ensure the sign of `-0` is preserved.\n        start = toFinite(start);\n        if (end === undefined) {\n          end = start;\n          start = 0;\n        } else {\n          end = toFinite(end);\n        }\n        step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n        return baseRange(start, end, step, fromRight);\n      };\n    }\n\n    /**\n     * Creates a function that performs a relational operation on two values.\n     *\n     * @private\n     * @param {Function} operator The function to perform the operation.\n     * @returns {Function} Returns the new relational operation function.\n     */\n    function createRelationalOperation(operator) {\n      return function(value, other) {\n        if (!(typeof value == 'string' && typeof other == 'string')) {\n          value = toNumber(value);\n          other = toNumber(other);\n        }\n        return operator(value, other);\n      };\n    }\n\n    /**\n     * Creates a function that wraps `func` to continue currying.\n     *\n     * @private\n     * @param {Function} func The function to wrap.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @param {Function} wrapFunc The function to create the `func` wrapper.\n     * @param {*} placeholder The placeholder value.\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to prepend to those provided to\n     *  the new function.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createRecurry(func, bitmask, wrapFunc, placeholder, thisArg, partials, holders, argPos, ary, arity) {\n      var isCurry = bitmask & WRAP_CURRY_FLAG,\n          newHolders = isCurry ? holders : undefined,\n          newHoldersRight = isCurry ? undefined : holders,\n          newPartials = isCurry ? partials : undefined,\n          newPartialsRight = isCurry ? undefined : partials;\n\n      bitmask |= (isCurry ? WRAP_PARTIAL_FLAG : WRAP_PARTIAL_RIGHT_FLAG);\n      bitmask &= ~(isCurry ? WRAP_PARTIAL_RIGHT_FLAG : WRAP_PARTIAL_FLAG);\n\n      if (!(bitmask & WRAP_CURRY_BOUND_FLAG)) {\n        bitmask &= ~(WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG);\n      }\n      var newData = [\n        func, bitmask, thisArg, newPartials, newHolders, newPartialsRight,\n        newHoldersRight, argPos, ary, arity\n      ];\n\n      var result = wrapFunc.apply(undefined, newData);\n      if (isLaziable(func)) {\n        setData(result, newData);\n      }\n      result.placeholder = placeholder;\n      return setWrapToString(result, func, bitmask);\n    }\n\n    /**\n     * Creates a function like `_.round`.\n     *\n     * @private\n     * @param {string} methodName The name of the `Math` method to use when rounding.\n     * @returns {Function} Returns the new round function.\n     */\n    function createRound(methodName) {\n      var func = Math[methodName];\n      return function(number, precision) {\n        number = toNumber(number);\n        precision = precision == null ? 0 : nativeMin(toInteger(precision), 292);\n        if (precision && nativeIsFinite(number)) {\n          // Shift with exponential notation to avoid floating-point issues.\n          // See [MDN](https://mdn.io/round#Examples) for more details.\n          var pair = (toString(number) + 'e').split('e'),\n              value = func(pair[0] + 'e' + (+pair[1] + precision));\n\n          pair = (toString(value) + 'e').split('e');\n          return +(pair[0] + 'e' + (+pair[1] - precision));\n        }\n        return func(number);\n      };\n    }\n\n    /**\n     * Creates a set object of `values`.\n     *\n     * @private\n     * @param {Array} values The values to add to the set.\n     * @returns {Object} Returns the new set.\n     */\n    var createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n      return new Set(values);\n    };\n\n    /**\n     * Creates a `_.toPairs` or `_.toPairsIn` function.\n     *\n     * @private\n     * @param {Function} keysFunc The function to get the keys of a given object.\n     * @returns {Function} Returns the new pairs function.\n     */\n    function createToPairs(keysFunc) {\n      return function(object) {\n        var tag = getTag(object);\n        if (tag == mapTag) {\n          return mapToArray(object);\n        }\n        if (tag == setTag) {\n          return setToPairs(object);\n        }\n        return baseToPairs(object, keysFunc(object));\n      };\n    }\n\n    /**\n     * Creates a function that either curries or invokes `func` with optional\n     * `this` binding and partially applied arguments.\n     *\n     * @private\n     * @param {Function|string} func The function or method name to wrap.\n     * @param {number} bitmask The bitmask flags.\n     *    1 - `_.bind`\n     *    2 - `_.bindKey`\n     *    4 - `_.curry` or `_.curryRight` of a bound function\n     *    8 - `_.curry`\n     *   16 - `_.curryRight`\n     *   32 - `_.partial`\n     *   64 - `_.partialRight`\n     *  128 - `_.rearg`\n     *  256 - `_.ary`\n     *  512 - `_.flip`\n     * @param {*} [thisArg] The `this` binding of `func`.\n     * @param {Array} [partials] The arguments to be partially applied.\n     * @param {Array} [holders] The `partials` placeholder indexes.\n     * @param {Array} [argPos] The argument positions of the new function.\n     * @param {number} [ary] The arity cap of `func`.\n     * @param {number} [arity] The arity of `func`.\n     * @returns {Function} Returns the new wrapped function.\n     */\n    function createWrap(func, bitmask, thisArg, partials, holders, argPos, ary, arity) {\n      var isBindKey = bitmask & WRAP_BIND_KEY_FLAG;\n      if (!isBindKey && typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var length = partials ? partials.length : 0;\n      if (!length) {\n        bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);\n        partials = holders = undefined;\n      }\n      ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);\n      arity = arity === undefined ? arity : toInteger(arity);\n      length -= holders ? holders.length : 0;\n\n      if (bitmask & WRAP_PARTIAL_RIGHT_FLAG) {\n        var partialsRight = partials,\n            holdersRight = holders;\n\n        partials = holders = undefined;\n      }\n      var data = isBindKey ? undefined : getData(func);\n\n      var newData = [\n        func, bitmask, thisArg, partials, holders, partialsRight, holdersRight,\n        argPos, ary, arity\n      ];\n\n      if (data) {\n        mergeData(newData, data);\n      }\n      func = newData[0];\n      bitmask = newData[1];\n      thisArg = newData[2];\n      partials = newData[3];\n      holders = newData[4];\n      arity = newData[9] = newData[9] === undefined\n        ? (isBindKey ? 0 : func.length)\n        : nativeMax(newData[9] - length, 0);\n\n      if (!arity && bitmask & (WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG)) {\n        bitmask &= ~(WRAP_CURRY_FLAG | WRAP_CURRY_RIGHT_FLAG);\n      }\n      if (!bitmask || bitmask == WRAP_BIND_FLAG) {\n        var result = createBind(func, bitmask, thisArg);\n      } else if (bitmask == WRAP_CURRY_FLAG || bitmask == WRAP_CURRY_RIGHT_FLAG) {\n        result = createCurry(func, bitmask, arity);\n      } else if ((bitmask == WRAP_PARTIAL_FLAG || bitmask == (WRAP_BIND_FLAG | WRAP_PARTIAL_FLAG)) && !holders.length) {\n        result = createPartial(func, bitmask, thisArg, partials);\n      } else {\n        result = createHybrid.apply(undefined, newData);\n      }\n      var setter = data ? baseSetData : setData;\n      return setWrapToString(setter(result, newData), func, bitmask);\n    }\n\n    /**\n     * Used by `_.defaults` to customize its `_.assignIn` use to assign properties\n     * of source objects to the destination object for all destination properties\n     * that resolve to `undefined`.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to assign.\n     * @param {Object} object The parent object of `objValue`.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsAssignIn(objValue, srcValue, key, object) {\n      if (objValue === undefined ||\n          (eq(objValue, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n        return srcValue;\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.defaultsDeep` to customize its `_.merge` use to merge source\n     * objects into destination objects that are passed thru.\n     *\n     * @private\n     * @param {*} objValue The destination value.\n     * @param {*} srcValue The source value.\n     * @param {string} key The key of the property to merge.\n     * @param {Object} object The parent object of `objValue`.\n     * @param {Object} source The parent object of `srcValue`.\n     * @param {Object} [stack] Tracks traversed source values and their merged\n     *  counterparts.\n     * @returns {*} Returns the value to assign.\n     */\n    function customDefaultsMerge(objValue, srcValue, key, object, source, stack) {\n      if (isObject(objValue) && isObject(srcValue)) {\n        // Recursively merge objects and arrays (susceptible to call stack limits).\n        stack.set(srcValue, objValue);\n        baseMerge(objValue, srcValue, undefined, customDefaultsMerge, stack);\n        stack['delete'](srcValue);\n      }\n      return objValue;\n    }\n\n    /**\n     * Used by `_.omit` to customize its `_.cloneDeep` use to only clone plain\n     * objects.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @param {string} key The key of the property to inspect.\n     * @returns {*} Returns the uncloned value or `undefined` to defer cloning to `_.cloneDeep`.\n     */\n    function customOmitClone(value) {\n      return isPlainObject(value) ? undefined : value;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for arrays with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Array} array The array to compare.\n     * @param {Array} other The other array to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `array` and `other` objects.\n     * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n     */\n    function equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          arrLength = array.length,\n          othLength = other.length;\n\n      if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n        return false;\n      }\n      // Check that cyclic values are equal.\n      var arrStacked = stack.get(array);\n      var othStacked = stack.get(other);\n      if (arrStacked && othStacked) {\n        return arrStacked == other && othStacked == array;\n      }\n      var index = -1,\n          result = true,\n          seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n      stack.set(array, other);\n      stack.set(other, array);\n\n      // Ignore non-index properties.\n      while (++index < arrLength) {\n        var arrValue = array[index],\n            othValue = other[index];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, arrValue, index, other, array, stack)\n            : customizer(arrValue, othValue, index, array, other, stack);\n        }\n        if (compared !== undefined) {\n          if (compared) {\n            continue;\n          }\n          result = false;\n          break;\n        }\n        // Recursively compare arrays (susceptible to call stack limits).\n        if (seen) {\n          if (!arraySome(other, function(othValue, othIndex) {\n                if (!cacheHas(seen, othIndex) &&\n                    (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n                  return seen.push(othIndex);\n                }\n              })) {\n            result = false;\n            break;\n          }\n        } else if (!(\n              arrValue === othValue ||\n                equalFunc(arrValue, othValue, bitmask, customizer, stack)\n            )) {\n          result = false;\n          break;\n        }\n      }\n      stack['delete'](array);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for comparing objects of\n     * the same `toStringTag`.\n     *\n     * **Note:** This function only supports comparing values with tags of\n     * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {string} tag The `toStringTag` of the objects to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n      switch (tag) {\n        case dataViewTag:\n          if ((object.byteLength != other.byteLength) ||\n              (object.byteOffset != other.byteOffset)) {\n            return false;\n          }\n          object = object.buffer;\n          other = other.buffer;\n\n        case arrayBufferTag:\n          if ((object.byteLength != other.byteLength) ||\n              !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n            return false;\n          }\n          return true;\n\n        case boolTag:\n        case dateTag:\n        case numberTag:\n          // Coerce booleans to `1` or `0` and dates to milliseconds.\n          // Invalid dates are coerced to `NaN`.\n          return eq(+object, +other);\n\n        case errorTag:\n          return object.name == other.name && object.message == other.message;\n\n        case regexpTag:\n        case stringTag:\n          // Coerce regexes to strings and treat strings, primitives and objects,\n          // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n          // for more details.\n          return object == (other + '');\n\n        case mapTag:\n          var convert = mapToArray;\n\n        case setTag:\n          var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n          convert || (convert = setToArray);\n\n          if (object.size != other.size && !isPartial) {\n            return false;\n          }\n          // Assume cyclic values are equal.\n          var stacked = stack.get(object);\n          if (stacked) {\n            return stacked == other;\n          }\n          bitmask |= COMPARE_UNORDERED_FLAG;\n\n          // Recursively compare objects (susceptible to call stack limits).\n          stack.set(object, other);\n          var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n          stack['delete'](object);\n          return result;\n\n        case symbolTag:\n          if (symbolValueOf) {\n            return symbolValueOf.call(object) == symbolValueOf.call(other);\n          }\n      }\n      return false;\n    }\n\n    /**\n     * A specialized version of `baseIsEqualDeep` for objects with support for\n     * partial deep comparisons.\n     *\n     * @private\n     * @param {Object} object The object to compare.\n     * @param {Object} other The other object to compare.\n     * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n     * @param {Function} customizer The function to customize comparisons.\n     * @param {Function} equalFunc The function to determine equivalents of values.\n     * @param {Object} stack Tracks traversed `object` and `other` objects.\n     * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n     */\n    function equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n      var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n          objProps = getAllKeys(object),\n          objLength = objProps.length,\n          othProps = getAllKeys(other),\n          othLength = othProps.length;\n\n      if (objLength != othLength && !isPartial) {\n        return false;\n      }\n      var index = objLength;\n      while (index--) {\n        var key = objProps[index];\n        if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n          return false;\n        }\n      }\n      // Check that cyclic values are equal.\n      var objStacked = stack.get(object);\n      var othStacked = stack.get(other);\n      if (objStacked && othStacked) {\n        return objStacked == other && othStacked == object;\n      }\n      var result = true;\n      stack.set(object, other);\n      stack.set(other, object);\n\n      var skipCtor = isPartial;\n      while (++index < objLength) {\n        key = objProps[index];\n        var objValue = object[key],\n            othValue = other[key];\n\n        if (customizer) {\n          var compared = isPartial\n            ? customizer(othValue, objValue, key, other, object, stack)\n            : customizer(objValue, othValue, key, object, other, stack);\n        }\n        // Recursively compare objects (susceptible to call stack limits).\n        if (!(compared === undefined\n              ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n              : compared\n            )) {\n          result = false;\n          break;\n        }\n        skipCtor || (skipCtor = key == 'constructor');\n      }\n      if (result && !skipCtor) {\n        var objCtor = object.constructor,\n            othCtor = other.constructor;\n\n        // Non `Object` object instances with different constructors are not equal.\n        if (objCtor != othCtor &&\n            ('constructor' in object && 'constructor' in other) &&\n            !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n              typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n          result = false;\n        }\n      }\n      stack['delete'](object);\n      stack['delete'](other);\n      return result;\n    }\n\n    /**\n     * A specialized version of `baseRest` which flattens the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @returns {Function} Returns the new function.\n     */\n    function flatRest(func) {\n      return setToString(overRest(func, undefined, flatten), func + '');\n    }\n\n    /**\n     * Creates an array of own enumerable property names and symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeys(object) {\n      return baseGetAllKeys(object, keys, getSymbols);\n    }\n\n    /**\n     * Creates an array of own and inherited enumerable property names and\n     * symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names and symbols.\n     */\n    function getAllKeysIn(object) {\n      return baseGetAllKeys(object, keysIn, getSymbolsIn);\n    }\n\n    /**\n     * Gets metadata for `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {*} Returns the metadata for `func`.\n     */\n    var getData = !metaMap ? noop : function(func) {\n      return metaMap.get(func);\n    };\n\n    /**\n     * Gets the name of `func`.\n     *\n     * @private\n     * @param {Function} func The function to query.\n     * @returns {string} Returns the function name.\n     */\n    function getFuncName(func) {\n      var result = (func.name + ''),\n          array = realNames[result],\n          length = hasOwnProperty.call(realNames, result) ? array.length : 0;\n\n      while (length--) {\n        var data = array[length],\n            otherFunc = data.func;\n        if (otherFunc == null || otherFunc == func) {\n          return data.name;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Gets the argument placeholder value for `func`.\n     *\n     * @private\n     * @param {Function} func The function to inspect.\n     * @returns {*} Returns the placeholder value.\n     */\n    function getHolder(func) {\n      var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func;\n      return object.placeholder;\n    }\n\n    /**\n     * Gets the appropriate \"iteratee\" function. If `_.iteratee` is customized,\n     * this function returns the custom method, otherwise it returns `baseIteratee`.\n     * If arguments are provided, the chosen function is invoked with them and\n     * its result is returned.\n     *\n     * @private\n     * @param {*} [value] The value to convert to an iteratee.\n     * @param {number} [arity] The arity of the created iteratee.\n     * @returns {Function} Returns the chosen function or its result.\n     */\n    function getIteratee() {\n      var result = lodash.iteratee || iteratee;\n      result = result === iteratee ? baseIteratee : result;\n      return arguments.length ? result(arguments[0], arguments[1]) : result;\n    }\n\n    /**\n     * Gets the data for `map`.\n     *\n     * @private\n     * @param {Object} map The map to query.\n     * @param {string} key The reference key.\n     * @returns {*} Returns the map data.\n     */\n    function getMapData(map, key) {\n      var data = map.__data__;\n      return isKeyable(key)\n        ? data[typeof key == 'string' ? 'string' : 'hash']\n        : data.map;\n    }\n\n    /**\n     * Gets the property names, values, and compare flags of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the match data of `object`.\n     */\n    function getMatchData(object) {\n      var result = keys(object),\n          length = result.length;\n\n      while (length--) {\n        var key = result[length],\n            value = object[key];\n\n        result[length] = [key, value, isStrictComparable(value)];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the native function at `key` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the method to get.\n     * @returns {*} Returns the function if it's native, else `undefined`.\n     */\n    function getNative(object, key) {\n      var value = getValue(object, key);\n      return baseIsNative(value) ? value : undefined;\n    }\n\n    /**\n     * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the raw `toStringTag`.\n     */\n    function getRawTag(value) {\n      var isOwn = hasOwnProperty.call(value, symToStringTag),\n          tag = value[symToStringTag];\n\n      try {\n        value[symToStringTag] = undefined;\n        var unmasked = true;\n      } catch (e) {}\n\n      var result = nativeObjectToString.call(value);\n      if (unmasked) {\n        if (isOwn) {\n          value[symToStringTag] = tag;\n        } else {\n          delete value[symToStringTag];\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array of the own enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n      if (object == null) {\n        return [];\n      }\n      object = Object(object);\n      return arrayFilter(nativeGetSymbols(object), function(symbol) {\n        return propertyIsEnumerable.call(object, symbol);\n      });\n    };\n\n    /**\n     * Creates an array of the own and inherited enumerable symbols of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of symbols.\n     */\n    var getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n      var result = [];\n      while (object) {\n        arrayPush(result, getSymbols(object));\n        object = getPrototype(object);\n      }\n      return result;\n    };\n\n    /**\n     * Gets the `toStringTag` of `value`.\n     *\n     * @private\n     * @param {*} value The value to query.\n     * @returns {string} Returns the `toStringTag`.\n     */\n    var getTag = baseGetTag;\n\n    // Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\n    if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n        (Map && getTag(new Map) != mapTag) ||\n        (Promise && getTag(Promise.resolve()) != promiseTag) ||\n        (Set && getTag(new Set) != setTag) ||\n        (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n      getTag = function(value) {\n        var result = baseGetTag(value),\n            Ctor = result == objectTag ? value.constructor : undefined,\n            ctorString = Ctor ? toSource(Ctor) : '';\n\n        if (ctorString) {\n          switch (ctorString) {\n            case dataViewCtorString: return dataViewTag;\n            case mapCtorString: return mapTag;\n            case promiseCtorString: return promiseTag;\n            case setCtorString: return setTag;\n            case weakMapCtorString: return weakMapTag;\n          }\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Gets the view, applying any `transforms` to the `start` and `end` positions.\n     *\n     * @private\n     * @param {number} start The start of the view.\n     * @param {number} end The end of the view.\n     * @param {Array} transforms The transformations to apply to the view.\n     * @returns {Object} Returns an object containing the `start` and `end`\n     *  positions of the view.\n     */\n    function getView(start, end, transforms) {\n      var index = -1,\n          length = transforms.length;\n\n      while (++index < length) {\n        var data = transforms[index],\n            size = data.size;\n\n        switch (data.type) {\n          case 'drop':      start += size; break;\n          case 'dropRight': end -= size; break;\n          case 'take':      end = nativeMin(end, start + size); break;\n          case 'takeRight': start = nativeMax(start, end - size); break;\n        }\n      }\n      return { 'start': start, 'end': end };\n    }\n\n    /**\n     * Extracts wrapper details from the `source` body comment.\n     *\n     * @private\n     * @param {string} source The source to inspect.\n     * @returns {Array} Returns the wrapper details.\n     */\n    function getWrapDetails(source) {\n      var match = source.match(reWrapDetails);\n      return match ? match[1].split(reSplitDetails) : [];\n    }\n\n    /**\n     * Checks if `path` exists on `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @param {Function} hasFunc The function to check properties.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     */\n    function hasPath(object, path, hasFunc) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length,\n          result = false;\n\n      while (++index < length) {\n        var key = toKey(path[index]);\n        if (!(result = object != null && hasFunc(object, key))) {\n          break;\n        }\n        object = object[key];\n      }\n      if (result || ++index != length) {\n        return result;\n      }\n      length = object == null ? 0 : object.length;\n      return !!length && isLength(length) && isIndex(key, length) &&\n        (isArray(object) || isArguments(object));\n    }\n\n    /**\n     * Initializes an array clone.\n     *\n     * @private\n     * @param {Array} array The array to clone.\n     * @returns {Array} Returns the initialized clone.\n     */\n    function initCloneArray(array) {\n      var length = array.length,\n          result = new array.constructor(length);\n\n      // Add properties assigned by `RegExp#exec`.\n      if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n        result.index = array.index;\n        result.input = array.input;\n      }\n      return result;\n    }\n\n    /**\n     * Initializes an object clone.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneObject(object) {\n      return (typeof object.constructor == 'function' && !isPrototype(object))\n        ? baseCreate(getPrototype(object))\n        : {};\n    }\n\n    /**\n     * Initializes an object clone based on its `toStringTag`.\n     *\n     * **Note:** This function only supports cloning values with tags of\n     * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n     *\n     * @private\n     * @param {Object} object The object to clone.\n     * @param {string} tag The `toStringTag` of the object to clone.\n     * @param {boolean} [isDeep] Specify a deep clone.\n     * @returns {Object} Returns the initialized clone.\n     */\n    function initCloneByTag(object, tag, isDeep) {\n      var Ctor = object.constructor;\n      switch (tag) {\n        case arrayBufferTag:\n          return cloneArrayBuffer(object);\n\n        case boolTag:\n        case dateTag:\n          return new Ctor(+object);\n\n        case dataViewTag:\n          return cloneDataView(object, isDeep);\n\n        case float32Tag: case float64Tag:\n        case int8Tag: case int16Tag: case int32Tag:\n        case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n          return cloneTypedArray(object, isDeep);\n\n        case mapTag:\n          return new Ctor;\n\n        case numberTag:\n        case stringTag:\n          return new Ctor(object);\n\n        case regexpTag:\n          return cloneRegExp(object);\n\n        case setTag:\n          return new Ctor;\n\n        case symbolTag:\n          return cloneSymbol(object);\n      }\n    }\n\n    /**\n     * Inserts wrapper `details` in a comment at the top of the `source` body.\n     *\n     * @private\n     * @param {string} source The source to modify.\n     * @returns {Array} details The details to insert.\n     * @returns {string} Returns the modified source.\n     */\n    function insertWrapDetails(source, details) {\n      var length = details.length;\n      if (!length) {\n        return source;\n      }\n      var lastIndex = length - 1;\n      details[lastIndex] = (length > 1 ? '& ' : '') + details[lastIndex];\n      details = details.join(length > 2 ? ', ' : ' ');\n      return source.replace(reWrapComment, '{\\n/* [wrapped with ' + details + '] */\\n');\n    }\n\n    /**\n     * Checks if `value` is a flattenable `arguments` object or array.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n     */\n    function isFlattenable(value) {\n      return isArray(value) || isArguments(value) ||\n        !!(spreadableSymbol && value && value[spreadableSymbol]);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like index.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n     * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n     */\n    function isIndex(value, length) {\n      var type = typeof value;\n      length = length == null ? MAX_SAFE_INTEGER : length;\n\n      return !!length &&\n        (type == 'number' ||\n          (type != 'symbol' && reIsUint.test(value))) &&\n            (value > -1 && value % 1 == 0 && value < length);\n    }\n\n    /**\n     * Checks if the given arguments are from an iteratee call.\n     *\n     * @private\n     * @param {*} value The potential iteratee value argument.\n     * @param {*} index The potential iteratee index or key argument.\n     * @param {*} object The potential iteratee object argument.\n     * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n     *  else `false`.\n     */\n    function isIterateeCall(value, index, object) {\n      if (!isObject(object)) {\n        return false;\n      }\n      var type = typeof index;\n      if (type == 'number'\n            ? (isArrayLike(object) && isIndex(index, object.length))\n            : (type == 'string' && index in object)\n          ) {\n        return eq(object[index], value);\n      }\n      return false;\n    }\n\n    /**\n     * Checks if `value` is a property name and not a property path.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @param {Object} [object] The object to query keys on.\n     * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n     */\n    function isKey(value, object) {\n      if (isArray(value)) {\n        return false;\n      }\n      var type = typeof value;\n      if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n          value == null || isSymbol(value)) {\n        return true;\n      }\n      return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n        (object != null && value in Object(object));\n    }\n\n    /**\n     * Checks if `value` is suitable for use as unique object key.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n     */\n    function isKeyable(value) {\n      var type = typeof value;\n      return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n        ? (value !== '__proto__')\n        : (value === null);\n    }\n\n    /**\n     * Checks if `func` has a lazy counterpart.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` has a lazy counterpart,\n     *  else `false`.\n     */\n    function isLaziable(func) {\n      var funcName = getFuncName(func),\n          other = lodash[funcName];\n\n      if (typeof other != 'function' || !(funcName in LazyWrapper.prototype)) {\n        return false;\n      }\n      if (func === other) {\n        return true;\n      }\n      var data = getData(other);\n      return !!data && func === data[0];\n    }\n\n    /**\n     * Checks if `func` has its source masked.\n     *\n     * @private\n     * @param {Function} func The function to check.\n     * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n     */\n    function isMasked(func) {\n      return !!maskSrcKey && (maskSrcKey in func);\n    }\n\n    /**\n     * Checks if `func` is capable of being masked.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `func` is maskable, else `false`.\n     */\n    var isMaskable = coreJsData ? isFunction : stubFalse;\n\n    /**\n     * Checks if `value` is likely a prototype object.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n     */\n    function isPrototype(value) {\n      var Ctor = value && value.constructor,\n          proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n      return value === proto;\n    }\n\n    /**\n     * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` if suitable for strict\n     *  equality comparisons, else `false`.\n     */\n    function isStrictComparable(value) {\n      return value === value && !isObject(value);\n    }\n\n    /**\n     * A specialized version of `matchesProperty` for source values suitable\n     * for strict equality comparisons, i.e. `===`.\n     *\n     * @private\n     * @param {string} key The key of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     */\n    function matchesStrictComparable(key, srcValue) {\n      return function(object) {\n        if (object == null) {\n          return false;\n        }\n        return object[key] === srcValue &&\n          (srcValue !== undefined || (key in Object(object)));\n      };\n    }\n\n    /**\n     * A specialized version of `_.memoize` which clears the memoized function's\n     * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n     *\n     * @private\n     * @param {Function} func The function to have its output memoized.\n     * @returns {Function} Returns the new memoized function.\n     */\n    function memoizeCapped(func) {\n      var result = memoize(func, function(key) {\n        if (cache.size === MAX_MEMOIZE_SIZE) {\n          cache.clear();\n        }\n        return key;\n      });\n\n      var cache = result.cache;\n      return result;\n    }\n\n    /**\n     * Merges the function metadata of `source` into `data`.\n     *\n     * Merging metadata reduces the number of wrappers used to invoke a function.\n     * This is possible because methods like `_.bind`, `_.curry`, and `_.partial`\n     * may be applied regardless of execution order. Methods like `_.ary` and\n     * `_.rearg` modify function arguments, making the order in which they are\n     * executed important, preventing the merging of metadata. However, we make\n     * an exception for a safe combined case where curried functions have `_.ary`\n     * and or `_.rearg` applied.\n     *\n     * @private\n     * @param {Array} data The destination metadata.\n     * @param {Array} source The source metadata.\n     * @returns {Array} Returns `data`.\n     */\n    function mergeData(data, source) {\n      var bitmask = data[1],\n          srcBitmask = source[1],\n          newBitmask = bitmask | srcBitmask,\n          isCommon = newBitmask < (WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG | WRAP_ARY_FLAG);\n\n      var isCombo =\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_CURRY_FLAG)) ||\n        ((srcBitmask == WRAP_ARY_FLAG) && (bitmask == WRAP_REARG_FLAG) && (data[7].length <= source[8])) ||\n        ((srcBitmask == (WRAP_ARY_FLAG | WRAP_REARG_FLAG)) && (source[7].length <= source[8]) && (bitmask == WRAP_CURRY_FLAG));\n\n      // Exit early if metadata can't be merged.\n      if (!(isCommon || isCombo)) {\n        return data;\n      }\n      // Use source `thisArg` if available.\n      if (srcBitmask & WRAP_BIND_FLAG) {\n        data[2] = source[2];\n        // Set when currying a bound function.\n        newBitmask |= bitmask & WRAP_BIND_FLAG ? 0 : WRAP_CURRY_BOUND_FLAG;\n      }\n      // Compose partial arguments.\n      var value = source[3];\n      if (value) {\n        var partials = data[3];\n        data[3] = partials ? composeArgs(partials, value, source[4]) : value;\n        data[4] = partials ? replaceHolders(data[3], PLACEHOLDER) : source[4];\n      }\n      // Compose partial right arguments.\n      value = source[5];\n      if (value) {\n        partials = data[5];\n        data[5] = partials ? composeArgsRight(partials, value, source[6]) : value;\n        data[6] = partials ? replaceHolders(data[5], PLACEHOLDER) : source[6];\n      }\n      // Use source `argPos` if available.\n      value = source[7];\n      if (value) {\n        data[7] = value;\n      }\n      // Use source `ary` if it's smaller.\n      if (srcBitmask & WRAP_ARY_FLAG) {\n        data[8] = data[8] == null ? source[8] : nativeMin(data[8], source[8]);\n      }\n      // Use source `arity` if one is not provided.\n      if (data[9] == null) {\n        data[9] = source[9];\n      }\n      // Use source `func` and merge bitmasks.\n      data[0] = source[0];\n      data[1] = newBitmask;\n\n      return data;\n    }\n\n    /**\n     * This function is like\n     * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * except that it includes inherited enumerable properties.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     */\n    function nativeKeysIn(object) {\n      var result = [];\n      if (object != null) {\n        for (var key in Object(object)) {\n          result.push(key);\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a string using `Object.prototype.toString`.\n     *\n     * @private\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     */\n    function objectToString(value) {\n      return nativeObjectToString.call(value);\n    }\n\n    /**\n     * A specialized version of `baseRest` which transforms the rest array.\n     *\n     * @private\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @param {Function} transform The rest array transform.\n     * @returns {Function} Returns the new function.\n     */\n    function overRest(func, start, transform) {\n      start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n      return function() {\n        var args = arguments,\n            index = -1,\n            length = nativeMax(args.length - start, 0),\n            array = Array(length);\n\n        while (++index < length) {\n          array[index] = args[start + index];\n        }\n        index = -1;\n        var otherArgs = Array(start + 1);\n        while (++index < start) {\n          otherArgs[index] = args[index];\n        }\n        otherArgs[start] = transform(array);\n        return apply(func, this, otherArgs);\n      };\n    }\n\n    /**\n     * Gets the parent value at `path` of `object`.\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {Array} path The path to get the parent value of.\n     * @returns {*} Returns the parent value.\n     */\n    function parent(object, path) {\n      return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));\n    }\n\n    /**\n     * Reorder `array` according to the specified indexes where the element at\n     * the first index is assigned as the first element, the element at\n     * the second index is assigned as the second element, and so on.\n     *\n     * @private\n     * @param {Array} array The array to reorder.\n     * @param {Array} indexes The arranged array indexes.\n     * @returns {Array} Returns `array`.\n     */\n    function reorder(array, indexes) {\n      var arrLength = array.length,\n          length = nativeMin(indexes.length, arrLength),\n          oldArray = copyArray(array);\n\n      while (length--) {\n        var index = indexes[length];\n        array[length] = isIndex(index, arrLength) ? oldArray[index] : undefined;\n      }\n      return array;\n    }\n\n    /**\n     * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n     *\n     * @private\n     * @param {Object} object The object to query.\n     * @param {string} key The key of the property to get.\n     * @returns {*} Returns the property value.\n     */\n    function safeGet(object, key) {\n      if (key === 'constructor' && typeof object[key] === 'function') {\n        return;\n      }\n\n      if (key == '__proto__') {\n        return;\n      }\n\n      return object[key];\n    }\n\n    /**\n     * Sets metadata for `func`.\n     *\n     * **Note:** If this function becomes hot, i.e. is invoked a lot in a short\n     * period of time, it will trip its breaker and transition to an identity\n     * function to avoid garbage collection pauses in V8. See\n     * [V8 issue 2070](https://bugs.chromium.org/p/v8/issues/detail?id=2070)\n     * for more details.\n     *\n     * @private\n     * @param {Function} func The function to associate metadata with.\n     * @param {*} data The metadata.\n     * @returns {Function} Returns `func`.\n     */\n    var setData = shortOut(baseSetData);\n\n    /**\n     * A simple wrapper around the global [`setTimeout`](https://mdn.io/setTimeout).\n     *\n     * @private\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @returns {number|Object} Returns the timer id or timeout object.\n     */\n    var setTimeout = ctxSetTimeout || function(func, wait) {\n      return root.setTimeout(func, wait);\n    };\n\n    /**\n     * Sets the `toString` method of `func` to return `string`.\n     *\n     * @private\n     * @param {Function} func The function to modify.\n     * @param {Function} string The `toString` result.\n     * @returns {Function} Returns `func`.\n     */\n    var setToString = shortOut(baseSetToString);\n\n    /**\n     * Sets the `toString` method of `wrapper` to mimic the source of `reference`\n     * with wrapper details in a comment at the top of the source body.\n     *\n     * @private\n     * @param {Function} wrapper The function to modify.\n     * @param {Function} reference The reference function.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Function} Returns `wrapper`.\n     */\n    function setWrapToString(wrapper, reference, bitmask) {\n      var source = (reference + '');\n      return setToString(wrapper, insertWrapDetails(source, updateWrapDetails(getWrapDetails(source), bitmask)));\n    }\n\n    /**\n     * Creates a function that'll short out and invoke `identity` instead\n     * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n     * milliseconds.\n     *\n     * @private\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new shortable function.\n     */\n    function shortOut(func) {\n      var count = 0,\n          lastCalled = 0;\n\n      return function() {\n        var stamp = nativeNow(),\n            remaining = HOT_SPAN - (stamp - lastCalled);\n\n        lastCalled = stamp;\n        if (remaining > 0) {\n          if (++count >= HOT_COUNT) {\n            return arguments[0];\n          }\n        } else {\n          count = 0;\n        }\n        return func.apply(undefined, arguments);\n      };\n    }\n\n    /**\n     * A specialized version of `_.shuffle` which mutates and sets the size of `array`.\n     *\n     * @private\n     * @param {Array} array The array to shuffle.\n     * @param {number} [size=array.length] The size of `array`.\n     * @returns {Array} Returns `array`.\n     */\n    function shuffleSelf(array, size) {\n      var index = -1,\n          length = array.length,\n          lastIndex = length - 1;\n\n      size = size === undefined ? length : size;\n      while (++index < size) {\n        var rand = baseRandom(index, lastIndex),\n            value = array[rand];\n\n        array[rand] = array[index];\n        array[index] = value;\n      }\n      array.length = size;\n      return array;\n    }\n\n    /**\n     * Converts `string` to a property path array.\n     *\n     * @private\n     * @param {string} string The string to convert.\n     * @returns {Array} Returns the property path array.\n     */\n    var stringToPath = memoizeCapped(function(string) {\n      var result = [];\n      if (string.charCodeAt(0) === 46 /* . */) {\n        result.push('');\n      }\n      string.replace(rePropName, function(match, number, quote, subString) {\n        result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n      });\n      return result;\n    });\n\n    /**\n     * Converts `value` to a string key if it's not a string or symbol.\n     *\n     * @private\n     * @param {*} value The value to inspect.\n     * @returns {string|symbol} Returns the key.\n     */\n    function toKey(value) {\n      if (typeof value == 'string' || isSymbol(value)) {\n        return value;\n      }\n      var result = (value + '');\n      return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n    }\n\n    /**\n     * Converts `func` to its source code.\n     *\n     * @private\n     * @param {Function} func The function to convert.\n     * @returns {string} Returns the source code.\n     */\n    function toSource(func) {\n      if (func != null) {\n        try {\n          return funcToString.call(func);\n        } catch (e) {}\n        try {\n          return (func + '');\n        } catch (e) {}\n      }\n      return '';\n    }\n\n    /**\n     * Updates wrapper `details` based on `bitmask` flags.\n     *\n     * @private\n     * @returns {Array} details The details to modify.\n     * @param {number} bitmask The bitmask flags. See `createWrap` for more details.\n     * @returns {Array} Returns `details`.\n     */\n    function updateWrapDetails(details, bitmask) {\n      arrayEach(wrapFlags, function(pair) {\n        var value = '_.' + pair[0];\n        if ((bitmask & pair[1]) && !arrayIncludes(details, value)) {\n          details.push(value);\n        }\n      });\n      return details.sort();\n    }\n\n    /**\n     * Creates a clone of `wrapper`.\n     *\n     * @private\n     * @param {Object} wrapper The wrapper to clone.\n     * @returns {Object} Returns the cloned wrapper.\n     */\n    function wrapperClone(wrapper) {\n      if (wrapper instanceof LazyWrapper) {\n        return wrapper.clone();\n      }\n      var result = new LodashWrapper(wrapper.__wrapped__, wrapper.__chain__);\n      result.__actions__ = copyArray(wrapper.__actions__);\n      result.__index__  = wrapper.__index__;\n      result.__values__ = wrapper.__values__;\n      return result;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an array of elements split into groups the length of `size`.\n     * If `array` can't be split evenly, the final chunk will be the remaining\n     * elements.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to process.\n     * @param {number} [size=1] The length of each chunk\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the new array of chunks.\n     * @example\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 2);\n     * // => [['a', 'b'], ['c', 'd']]\n     *\n     * _.chunk(['a', 'b', 'c', 'd'], 3);\n     * // => [['a', 'b', 'c'], ['d']]\n     */\n    function chunk(array, size, guard) {\n      if ((guard ? isIterateeCall(array, size, guard) : size === undefined)) {\n        size = 1;\n      } else {\n        size = nativeMax(toInteger(size), 0);\n      }\n      var length = array == null ? 0 : array.length;\n      if (!length || size < 1) {\n        return [];\n      }\n      var index = 0,\n          resIndex = 0,\n          result = Array(nativeCeil(length / size));\n\n      while (index < length) {\n        result[resIndex++] = baseSlice(array, index, (index += size));\n      }\n      return result;\n    }\n\n    /**\n     * Creates an array with all falsey values removed. The values `false`, `null`,\n     * `0`, `\"\"`, `undefined`, and `NaN` are falsey.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to compact.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.compact([0, 1, false, 2, '', 3]);\n     * // => [1, 2, 3]\n     */\n    function compact(array) {\n      var index = -1,\n          length = array == null ? 0 : array.length,\n          resIndex = 0,\n          result = [];\n\n      while (++index < length) {\n        var value = array[index];\n        if (value) {\n          result[resIndex++] = value;\n        }\n      }\n      return result;\n    }\n\n    /**\n     * Creates a new array concatenating `array` with any additional arrays\n     * and/or values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to concatenate.\n     * @param {...*} [values] The values to concatenate.\n     * @returns {Array} Returns the new concatenated array.\n     * @example\n     *\n     * var array = [1];\n     * var other = _.concat(array, 2, [3], [[4]]);\n     *\n     * console.log(other);\n     * // => [1, 2, 3, [4]]\n     *\n     * console.log(array);\n     * // => [1]\n     */\n    function concat() {\n      var length = arguments.length;\n      if (!length) {\n        return [];\n      }\n      var args = Array(length - 1),\n          array = arguments[0],\n          index = length;\n\n      while (index--) {\n        args[index - 1] = arguments[index];\n      }\n      return arrayPush(isArray(array) ? copyArray(array) : [array], baseFlatten(args, 1));\n    }\n\n    /**\n     * Creates an array of `array` values not included in the other given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * **Note:** Unlike `_.pullAll`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.without, _.xor\n     * @example\n     *\n     * _.difference([2, 1], [2, 3]);\n     * // => [1]\n     */\n    var difference = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `iteratee` which\n     * is invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * **Note:** Unlike `_.pullAllBy`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.differenceBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.differenceBy([{ 'x': 2 }, { 'x': 1 }], [{ 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var differenceBy = baseRest(function(array, values) {\n      var iteratee = last(values);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.difference` except that it accepts `comparator`\n     * which is invoked to compare elements of `array` to `values`. The order and\n     * references of result values are determined by the first array. The comparator\n     * is invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.pullAllWith`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...Array} [values] The values to exclude.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     *\n     * _.differenceWith(objects, [{ 'x': 1, 'y': 2 }], _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }]\n     */\n    var differenceWith = baseRest(function(array, values) {\n      var comparator = last(values);\n      if (isArrayLikeObject(comparator)) {\n        comparator = undefined;\n      }\n      return isArrayLikeObject(array)\n        ? baseDifference(array, baseFlatten(values, 1, isArrayLikeObject, true), undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.drop([1, 2, 3]);\n     * // => [2, 3]\n     *\n     * _.drop([1, 2, 3], 2);\n     * // => [3]\n     *\n     * _.drop([1, 2, 3], 5);\n     * // => []\n     *\n     * _.drop([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function drop(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements dropped from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to drop.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.dropRight([1, 2, 3]);\n     * // => [1, 2]\n     *\n     * _.dropRight([1, 2, 3], 2);\n     * // => [1]\n     *\n     * _.dropRight([1, 2, 3], 5);\n     * // => []\n     *\n     * _.dropRight([1, 2, 3], 0);\n     * // => [1, 2, 3]\n     */\n    function dropRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the end.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.dropRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropRightWhile(users, ['active', false]);\n     * // => objects for ['barney']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropRightWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` excluding elements dropped from the beginning.\n     * Elements are dropped until `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.dropWhile(users, function(o) { return !o.active; });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.dropWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.dropWhile(users, ['active', false]);\n     * // => objects for ['pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.dropWhile(users, 'active');\n     * // => objects for ['barney', 'fred', 'pebbles']\n     */\n    function dropWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), true)\n        : [];\n    }\n\n    /**\n     * Fills elements of `array` with `value` from `start` up to, but not\n     * including, `end`.\n     *\n     * **Note:** This method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Array\n     * @param {Array} array The array to fill.\n     * @param {*} value The value to fill `array` with.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.fill(array, 'a');\n     * console.log(array);\n     * // => ['a', 'a', 'a']\n     *\n     * _.fill(Array(3), 2);\n     * // => [2, 2, 2]\n     *\n     * _.fill([4, 6, 8, 10], '*', 1, 3);\n     * // => [4, '*', '*', 10]\n     */\n    function fill(array, value, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (start && typeof start != 'number' && isIterateeCall(array, value, start)) {\n        start = 0;\n        end = length;\n      }\n      return baseFill(array, value, start, end);\n    }\n\n    /**\n     * This method is like `_.find` except that it returns the index of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.findIndex(users, function(o) { return o.user == 'barney'; });\n     * // => 0\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findIndex(users, { 'user': 'fred', 'active': false });\n     * // => 1\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findIndex(users, ['active', false]);\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findIndex(users, 'active');\n     * // => 2\n     */\n    function findIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index);\n    }\n\n    /**\n     * This method is like `_.findIndex` except that it iterates over elements\n     * of `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the found element, else `-1`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.findLastIndex(users, function(o) { return o.user == 'pebbles'; });\n     * // => 2\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastIndex(users, { 'user': 'barney', 'active': true });\n     * // => 0\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastIndex(users, ['active', false]);\n     * // => 2\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastIndex(users, 'active');\n     * // => 0\n     */\n    function findLastIndex(array, predicate, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length - 1;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = fromIndex < 0\n          ? nativeMax(length + index, 0)\n          : nativeMin(index, length - 1);\n      }\n      return baseFindIndex(array, getIteratee(predicate, 3), index, true);\n    }\n\n    /**\n     * Flattens `array` a single level deep.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flatten([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, [3, [4]], 5]\n     */\n    function flatten(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, 1) : [];\n    }\n\n    /**\n     * Recursively flattens `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * _.flattenDeep([1, [2, [3, [4]], 5]]);\n     * // => [1, 2, 3, 4, 5]\n     */\n    function flattenDeep(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseFlatten(array, INFINITY) : [];\n    }\n\n    /**\n     * Recursively flatten `array` up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Array\n     * @param {Array} array The array to flatten.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * var array = [1, [2, [3, [4]], 5]];\n     *\n     * _.flattenDepth(array, 1);\n     * // => [1, 2, [3, [4]], 5]\n     *\n     * _.flattenDepth(array, 2);\n     * // => [1, 2, 3, [4], 5]\n     */\n    function flattenDepth(array, depth) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(array, depth);\n    }\n\n    /**\n     * The inverse of `_.toPairs`; this method returns an object composed\n     * from key-value `pairs`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} pairs The key-value pairs.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.fromPairs([['a', 1], ['b', 2]]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function fromPairs(pairs) {\n      var index = -1,\n          length = pairs == null ? 0 : pairs.length,\n          result = {};\n\n      while (++index < length) {\n        var pair = pairs[index];\n        result[pair[0]] = pair[1];\n      }\n      return result;\n    }\n\n    /**\n     * Gets the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias first\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the first element of `array`.\n     * @example\n     *\n     * _.head([1, 2, 3]);\n     * // => 1\n     *\n     * _.head([]);\n     * // => undefined\n     */\n    function head(array) {\n      return (array && array.length) ? array[0] : undefined;\n    }\n\n    /**\n     * Gets the index at which the first occurrence of `value` is found in `array`\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. If `fromIndex` is negative, it's used as the\n     * offset from the end of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.indexOf([1, 2, 1, 2], 2);\n     * // => 1\n     *\n     * // Search from the `fromIndex`.\n     * _.indexOf([1, 2, 1, 2], 2, 2);\n     * // => 3\n     */\n    function indexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = fromIndex == null ? 0 : toInteger(fromIndex);\n      if (index < 0) {\n        index = nativeMax(length + index, 0);\n      }\n      return baseIndexOf(array, value, index);\n    }\n\n    /**\n     * Gets all but the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.initial([1, 2, 3]);\n     * // => [1, 2]\n     */\n    function initial(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 0, -1) : [];\n    }\n\n    /**\n     * Creates an array of unique values that are included in all given arrays\n     * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons. The order and references of result values are\n     * determined by the first array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersection([2, 1], [2, 3]);\n     * // => [2]\n     */\n    var intersection = baseRest(function(arrays) {\n      var mapped = arrayMap(arrays, castArrayLikeObject);\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped)\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `iteratee`\n     * which is invoked for each element of each `arrays` to generate the criterion\n     * by which they're compared. The order and references of result values are\n     * determined by the first array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * _.intersectionBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [2.1]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.intersectionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }]\n     */\n    var intersectionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      if (iteratee === last(mapped)) {\n        iteratee = undefined;\n      } else {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, getIteratee(iteratee, 2))\n        : [];\n    });\n\n    /**\n     * This method is like `_.intersection` except that it accepts `comparator`\n     * which is invoked to compare elements of `arrays`. The order and references\n     * of result values are determined by the first array. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of intersecting values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.intersectionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }]\n     */\n    var intersectionWith = baseRest(function(arrays) {\n      var comparator = last(arrays),\n          mapped = arrayMap(arrays, castArrayLikeObject);\n\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      if (comparator) {\n        mapped.pop();\n      }\n      return (mapped.length && mapped[0] === arrays[0])\n        ? baseIntersection(mapped, undefined, comparator)\n        : [];\n    });\n\n    /**\n     * Converts all elements in `array` into a string separated by `separator`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to convert.\n     * @param {string} [separator=','] The element separator.\n     * @returns {string} Returns the joined string.\n     * @example\n     *\n     * _.join(['a', 'b', 'c'], '~');\n     * // => 'a~b~c'\n     */\n    function join(array, separator) {\n      return array == null ? '' : nativeJoin.call(array, separator);\n    }\n\n    /**\n     * Gets the last element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {*} Returns the last element of `array`.\n     * @example\n     *\n     * _.last([1, 2, 3]);\n     * // => 3\n     */\n    function last(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? array[length - 1] : undefined;\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it iterates over elements of\n     * `array` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=array.length-1] The index to search from.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.lastIndexOf([1, 2, 1, 2], 2);\n     * // => 3\n     *\n     * // Search from the `fromIndex`.\n     * _.lastIndexOf([1, 2, 1, 2], 2, 2);\n     * // => 1\n     */\n    function lastIndexOf(array, value, fromIndex) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return -1;\n      }\n      var index = length;\n      if (fromIndex !== undefined) {\n        index = toInteger(fromIndex);\n        index = index < 0 ? nativeMax(length + index, 0) : nativeMin(index, length - 1);\n      }\n      return value === value\n        ? strictLastIndexOf(array, value, index)\n        : baseFindIndex(array, baseIsNaN, index, true);\n    }\n\n    /**\n     * Gets the element at index `n` of `array`. If `n` is negative, the nth\n     * element from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.11.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=0] The index of the element to return.\n     * @returns {*} Returns the nth element of `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     *\n     * _.nth(array, 1);\n     * // => 'b'\n     *\n     * _.nth(array, -2);\n     * // => 'c';\n     */\n    function nth(array, n) {\n      return (array && array.length) ? baseNth(array, toInteger(n)) : undefined;\n    }\n\n    /**\n     * Removes all given values from `array` using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.without`, this method mutates `array`. Use `_.remove`\n     * to remove elements from an array by predicate.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...*} [values] The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pull(array, 'a', 'c');\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    var pull = baseRest(pullAll);\n\n    /**\n     * This method is like `_.pull` except that it accepts an array of values to remove.\n     *\n     * **Note:** Unlike `_.difference`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'a', 'b', 'c'];\n     *\n     * _.pullAll(array, ['a', 'c']);\n     * console.log(array);\n     * // => ['b', 'b']\n     */\n    function pullAll(array, values) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values)\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `iteratee` which is\n     * invoked for each element of `array` and `values` to generate the criterion\n     * by which they're compared. The iteratee is invoked with one argument: (value).\n     *\n     * **Note:** Unlike `_.differenceBy`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1 }, { 'x': 2 }, { 'x': 3 }, { 'x': 1 }];\n     *\n     * _.pullAllBy(array, [{ 'x': 1 }, { 'x': 3 }], 'x');\n     * console.log(array);\n     * // => [{ 'x': 2 }]\n     */\n    function pullAllBy(array, values, iteratee) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, getIteratee(iteratee, 2))\n        : array;\n    }\n\n    /**\n     * This method is like `_.pullAll` except that it accepts `comparator` which\n     * is invoked to compare elements of `array` to `values`. The comparator is\n     * invoked with two arguments: (arrVal, othVal).\n     *\n     * **Note:** Unlike `_.differenceWith`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Array} values The values to remove.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [{ 'x': 1, 'y': 2 }, { 'x': 3, 'y': 4 }, { 'x': 5, 'y': 6 }];\n     *\n     * _.pullAllWith(array, [{ 'x': 3, 'y': 4 }], _.isEqual);\n     * console.log(array);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 5, 'y': 6 }]\n     */\n    function pullAllWith(array, values, comparator) {\n      return (array && array.length && values && values.length)\n        ? basePullAll(array, values, undefined, comparator)\n        : array;\n    }\n\n    /**\n     * Removes elements from `array` corresponding to `indexes` and returns an\n     * array of removed elements.\n     *\n     * **Note:** Unlike `_.at`, this method mutates `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {...(number|number[])} [indexes] The indexes of elements to remove.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = ['a', 'b', 'c', 'd'];\n     * var pulled = _.pullAt(array, [1, 3]);\n     *\n     * console.log(array);\n     * // => ['a', 'c']\n     *\n     * console.log(pulled);\n     * // => ['b', 'd']\n     */\n    var pullAt = flatRest(function(array, indexes) {\n      var length = array == null ? 0 : array.length,\n          result = baseAt(array, indexes);\n\n      basePullAt(array, arrayMap(indexes, function(index) {\n        return isIndex(index, length) ? +index : index;\n      }).sort(compareAscending));\n\n      return result;\n    });\n\n    /**\n     * Removes all elements from `array` that `predicate` returns truthy for\n     * and returns an array of the removed elements. The predicate is invoked\n     * with three arguments: (value, index, array).\n     *\n     * **Note:** Unlike `_.filter`, this method mutates `array`. Use `_.pull`\n     * to pull elements from an array by value.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new array of removed elements.\n     * @example\n     *\n     * var array = [1, 2, 3, 4];\n     * var evens = _.remove(array, function(n) {\n     *   return n % 2 == 0;\n     * });\n     *\n     * console.log(array);\n     * // => [1, 3]\n     *\n     * console.log(evens);\n     * // => [2, 4]\n     */\n    function remove(array, predicate) {\n      var result = [];\n      if (!(array && array.length)) {\n        return result;\n      }\n      var index = -1,\n          indexes = [],\n          length = array.length;\n\n      predicate = getIteratee(predicate, 3);\n      while (++index < length) {\n        var value = array[index];\n        if (predicate(value, index, array)) {\n          result.push(value);\n          indexes.push(index);\n        }\n      }\n      basePullAt(array, indexes);\n      return result;\n    }\n\n    /**\n     * Reverses `array` so that the first element becomes the last, the second\n     * element becomes the second to last, and so on.\n     *\n     * **Note:** This method mutates `array` and is based on\n     * [`Array#reverse`](https://mdn.io/Array/reverse).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to modify.\n     * @returns {Array} Returns `array`.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _.reverse(array);\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function reverse(array) {\n      return array == null ? array : nativeReverse.call(array);\n    }\n\n    /**\n     * Creates a slice of `array` from `start` up to, but not including, `end`.\n     *\n     * **Note:** This method is used instead of\n     * [`Array#slice`](https://mdn.io/Array/slice) to ensure dense arrays are\n     * returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to slice.\n     * @param {number} [start=0] The start position.\n     * @param {number} [end=array.length] The end position.\n     * @returns {Array} Returns the slice of `array`.\n     */\n    function slice(array, start, end) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {\n        start = 0;\n        end = length;\n      }\n      else {\n        start = start == null ? 0 : toInteger(start);\n        end = end === undefined ? length : toInteger(end);\n      }\n      return baseSlice(array, start, end);\n    }\n\n    /**\n     * Uses a binary search to determine the lowest index at which `value`\n     * should be inserted into `array` in order to maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedIndex([30, 50], 40);\n     * // => 1\n     */\n    function sortedIndex(array, value) {\n      return baseSortedIndex(array, value);\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 0\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 0\n     */\n    function sortedIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * This method is like `_.indexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 1\n     */\n    function sortedIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value);\n        if (index < length && eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.sortedIndex` except that it returns the highest\n     * index at which `value` should be inserted into `array` in order to\n     * maintain its sort order.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * _.sortedLastIndex([4, 5, 5, 5, 6], 5);\n     * // => 4\n     */\n    function sortedLastIndex(array, value) {\n      return baseSortedIndex(array, value, true);\n    }\n\n    /**\n     * This method is like `_.sortedLastIndex` except that it accepts `iteratee`\n     * which is invoked for `value` and each element of `array` to compute their\n     * sort ranking. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The sorted array to inspect.\n     * @param {*} value The value to evaluate.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the index at which `value` should be inserted\n     *  into `array`.\n     * @example\n     *\n     * var objects = [{ 'x': 4 }, { 'x': 5 }];\n     *\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, function(o) { return o.x; });\n     * // => 1\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sortedLastIndexBy(objects, { 'x': 4 }, 'x');\n     * // => 1\n     */\n    function sortedLastIndexBy(array, value, iteratee) {\n      return baseSortedIndexBy(array, value, getIteratee(iteratee, 2), true);\n    }\n\n    /**\n     * This method is like `_.lastIndexOf` except that it performs a binary\n     * search on a sorted `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {*} value The value to search for.\n     * @returns {number} Returns the index of the matched value, else `-1`.\n     * @example\n     *\n     * _.sortedLastIndexOf([4, 5, 5, 5, 6], 5);\n     * // => 3\n     */\n    function sortedLastIndexOf(array, value) {\n      var length = array == null ? 0 : array.length;\n      if (length) {\n        var index = baseSortedIndex(array, value, true) - 1;\n        if (eq(array[index], value)) {\n          return index;\n        }\n      }\n      return -1;\n    }\n\n    /**\n     * This method is like `_.uniq` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniq([1, 1, 2]);\n     * // => [1, 2]\n     */\n    function sortedUniq(array) {\n      return (array && array.length)\n        ? baseSortedUniq(array)\n        : [];\n    }\n\n    /**\n     * This method is like `_.uniqBy` except that it's designed and optimized\n     * for sorted arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.sortedUniqBy([1.1, 1.2, 2.3, 2.4], Math.floor);\n     * // => [1.1, 2.3]\n     */\n    function sortedUniqBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSortedUniq(array, getIteratee(iteratee, 2))\n        : [];\n    }\n\n    /**\n     * Gets all but the first element of `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.tail([1, 2, 3]);\n     * // => [2, 3]\n     */\n    function tail(array) {\n      var length = array == null ? 0 : array.length;\n      return length ? baseSlice(array, 1, length) : [];\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the beginning.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.take([1, 2, 3]);\n     * // => [1]\n     *\n     * _.take([1, 2, 3], 2);\n     * // => [1, 2]\n     *\n     * _.take([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.take([1, 2, 3], 0);\n     * // => []\n     */\n    function take(array, n, guard) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      return baseSlice(array, 0, n < 0 ? 0 : n);\n    }\n\n    /**\n     * Creates a slice of `array` with `n` elements taken from the end.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {number} [n=1] The number of elements to take.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * _.takeRight([1, 2, 3]);\n     * // => [3]\n     *\n     * _.takeRight([1, 2, 3], 2);\n     * // => [2, 3]\n     *\n     * _.takeRight([1, 2, 3], 5);\n     * // => [1, 2, 3]\n     *\n     * _.takeRight([1, 2, 3], 0);\n     * // => []\n     */\n    function takeRight(array, n, guard) {\n      var length = array == null ? 0 : array.length;\n      if (!length) {\n        return [];\n      }\n      n = (guard || n === undefined) ? 1 : toInteger(n);\n      n = length - n;\n      return baseSlice(array, n < 0 ? 0 : n, length);\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the end. Elements are\n     * taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': true },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': false }\n     * ];\n     *\n     * _.takeRightWhile(users, function(o) { return !o.active; });\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeRightWhile(users, { 'user': 'pebbles', 'active': false });\n     * // => objects for ['pebbles']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeRightWhile(users, ['active', false]);\n     * // => objects for ['fred', 'pebbles']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeRightWhile(users, 'active');\n     * // => []\n     */\n    function takeRightWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3), false, true)\n        : [];\n    }\n\n    /**\n     * Creates a slice of `array` with elements taken from the beginning. Elements\n     * are taken until `predicate` returns falsey. The predicate is invoked with\n     * three arguments: (value, index, array).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Array\n     * @param {Array} array The array to query.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the slice of `array`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'active': false },\n     *   { 'user': 'fred',    'active': false },\n     *   { 'user': 'pebbles', 'active': true }\n     * ];\n     *\n     * _.takeWhile(users, function(o) { return !o.active; });\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.takeWhile(users, { 'user': 'barney', 'active': false });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.takeWhile(users, ['active', false]);\n     * // => objects for ['barney', 'fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.takeWhile(users, 'active');\n     * // => []\n     */\n    function takeWhile(array, predicate) {\n      return (array && array.length)\n        ? baseWhile(array, getIteratee(predicate, 3))\n        : [];\n    }\n\n    /**\n     * Creates an array of unique values, in order, from all given arrays using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.union([2], [1, 2]);\n     * // => [2, 1]\n     */\n    var union = baseRest(function(arrays) {\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which uniqueness is computed. Result values are chosen from the first\n     * array in which the value occurs. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * _.unionBy([2.1], [1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.unionBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    var unionBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.union` except that it accepts `comparator` which\n     * is invoked to compare elements of `arrays`. Result values are chosen from\n     * the first array in which the value occurs. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of combined values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.unionWith(objects, others, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var unionWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true), undefined, comparator);\n    });\n\n    /**\n     * Creates a duplicate-free version of an array, using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons, in which only the first occurrence of each element\n     * is kept. The order of result values is determined by the order they occur\n     * in the array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniq([2, 1, 2]);\n     * // => [2, 1]\n     */\n    function uniq(array) {\n      return (array && array.length) ? baseUniq(array) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * uniqueness is computed. The order of result values is determined by the\n     * order they occur in the array. The iteratee is invoked with one argument:\n     * (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * _.uniqBy([2.1, 1.2, 2.3], Math.floor);\n     * // => [2.1, 1.2]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.uniqBy([{ 'x': 1 }, { 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 1 }, { 'x': 2 }]\n     */\n    function uniqBy(array, iteratee) {\n      return (array && array.length) ? baseUniq(array, getIteratee(iteratee, 2)) : [];\n    }\n\n    /**\n     * This method is like `_.uniq` except that it accepts `comparator` which\n     * is invoked to compare elements of `array`. The order of result values is\n     * determined by the order they occur in the array.The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new duplicate free array.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.uniqWith(objects, _.isEqual);\n     * // => [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }]\n     */\n    function uniqWith(array, comparator) {\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return (array && array.length) ? baseUniq(array, undefined, comparator) : [];\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts an array of grouped\n     * elements and creates an array regrouping the elements to their pre-zip\n     * configuration.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.2.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     *\n     * _.unzip(zipped);\n     * // => [['a', 'b'], [1, 2], [true, false]]\n     */\n    function unzip(array) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var length = 0;\n      array = arrayFilter(array, function(group) {\n        if (isArrayLikeObject(group)) {\n          length = nativeMax(group.length, length);\n          return true;\n        }\n      });\n      return baseTimes(length, function(index) {\n        return arrayMap(array, baseProperty(index));\n      });\n    }\n\n    /**\n     * This method is like `_.unzip` except that it accepts `iteratee` to specify\n     * how regrouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {Array} array The array of grouped elements to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  regrouped values.\n     * @returns {Array} Returns the new array of regrouped elements.\n     * @example\n     *\n     * var zipped = _.zip([1, 2], [10, 20], [100, 200]);\n     * // => [[1, 10, 100], [2, 20, 200]]\n     *\n     * _.unzipWith(zipped, _.add);\n     * // => [3, 30, 300]\n     */\n    function unzipWith(array, iteratee) {\n      if (!(array && array.length)) {\n        return [];\n      }\n      var result = unzip(array);\n      if (iteratee == null) {\n        return result;\n      }\n      return arrayMap(result, function(group) {\n        return apply(iteratee, undefined, group);\n      });\n    }\n\n    /**\n     * Creates an array excluding all given values using\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * for equality comparisons.\n     *\n     * **Note:** Unlike `_.pull`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {Array} array The array to inspect.\n     * @param {...*} [values] The values to exclude.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.xor\n     * @example\n     *\n     * _.without([2, 1, 2, 3], 1, 2);\n     * // => [3]\n     */\n    var without = baseRest(function(array, values) {\n      return isArrayLikeObject(array)\n        ? baseDifference(array, values)\n        : [];\n    });\n\n    /**\n     * Creates an array of unique values that is the\n     * [symmetric difference](https://en.wikipedia.org/wiki/Symmetric_difference)\n     * of the given arrays. The order of result values is determined by the order\n     * they occur in the arrays.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @returns {Array} Returns the new array of filtered values.\n     * @see _.difference, _.without\n     * @example\n     *\n     * _.xor([2, 1], [2, 3]);\n     * // => [1, 3]\n     */\n    var xor = baseRest(function(arrays) {\n      return baseXor(arrayFilter(arrays, isArrayLikeObject));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `iteratee` which is\n     * invoked for each element of each `arrays` to generate the criterion by\n     * which by which they're compared. The order of result values is determined\n     * by the order they occur in the arrays. The iteratee is invoked with one\n     * argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * _.xorBy([2.1, 1.2], [2.3, 3.4], Math.floor);\n     * // => [1.2, 3.4]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.xorBy([{ 'x': 1 }], [{ 'x': 2 }, { 'x': 1 }], 'x');\n     * // => [{ 'x': 2 }]\n     */\n    var xorBy = baseRest(function(arrays) {\n      var iteratee = last(arrays);\n      if (isArrayLikeObject(iteratee)) {\n        iteratee = undefined;\n      }\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), getIteratee(iteratee, 2));\n    });\n\n    /**\n     * This method is like `_.xor` except that it accepts `comparator` which is\n     * invoked to compare elements of `arrays`. The order of result values is\n     * determined by the order they occur in the arrays. The comparator is invoked\n     * with two arguments: (arrVal, othVal).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to inspect.\n     * @param {Function} [comparator] The comparator invoked per element.\n     * @returns {Array} Returns the new array of filtered values.\n     * @example\n     *\n     * var objects = [{ 'x': 1, 'y': 2 }, { 'x': 2, 'y': 1 }];\n     * var others = [{ 'x': 1, 'y': 1 }, { 'x': 1, 'y': 2 }];\n     *\n     * _.xorWith(objects, others, _.isEqual);\n     * // => [{ 'x': 2, 'y': 1 }, { 'x': 1, 'y': 1 }]\n     */\n    var xorWith = baseRest(function(arrays) {\n      var comparator = last(arrays);\n      comparator = typeof comparator == 'function' ? comparator : undefined;\n      return baseXor(arrayFilter(arrays, isArrayLikeObject), undefined, comparator);\n    });\n\n    /**\n     * Creates an array of grouped elements, the first of which contains the\n     * first elements of the given arrays, the second of which contains the\n     * second elements of the given arrays, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zip(['a', 'b'], [1, 2], [true, false]);\n     * // => [['a', 1, true], ['b', 2, false]]\n     */\n    var zip = baseRest(unzip);\n\n    /**\n     * This method is like `_.fromPairs` except that it accepts two arrays,\n     * one of property identifiers and one of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.4.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObject(['a', 'b'], [1, 2]);\n     * // => { 'a': 1, 'b': 2 }\n     */\n    function zipObject(props, values) {\n      return baseZipObject(props || [], values || [], assignValue);\n    }\n\n    /**\n     * This method is like `_.zipObject` except that it supports property paths.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Array\n     * @param {Array} [props=[]] The property identifiers.\n     * @param {Array} [values=[]] The property values.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * _.zipObjectDeep(['a.b[0].c', 'a.b[1].d'], [1, 2]);\n     * // => { 'a': { 'b': [{ 'c': 1 }, { 'd': 2 }] } }\n     */\n    function zipObjectDeep(props, values) {\n      return baseZipObject(props || [], values || [], baseSet);\n    }\n\n    /**\n     * This method is like `_.zip` except that it accepts `iteratee` to specify\n     * how grouped values should be combined. The iteratee is invoked with the\n     * elements of each group: (...group).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Array\n     * @param {...Array} [arrays] The arrays to process.\n     * @param {Function} [iteratee=_.identity] The function to combine\n     *  grouped values.\n     * @returns {Array} Returns the new array of grouped elements.\n     * @example\n     *\n     * _.zipWith([1, 2], [10, 20], [100, 200], function(a, b, c) {\n     *   return a + b + c;\n     * });\n     * // => [111, 222]\n     */\n    var zipWith = baseRest(function(arrays) {\n      var length = arrays.length,\n          iteratee = length > 1 ? arrays[length - 1] : undefined;\n\n      iteratee = typeof iteratee == 'function' ? (arrays.pop(), iteratee) : undefined;\n      return unzipWith(arrays, iteratee);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates a `lodash` wrapper instance that wraps `value` with explicit method\n     * chain sequences enabled. The result of such sequences must be unwrapped\n     * with `_#value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Seq\n     * @param {*} value The value to wrap.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36 },\n     *   { 'user': 'fred',    'age': 40 },\n     *   { 'user': 'pebbles', 'age': 1 }\n     * ];\n     *\n     * var youngest = _\n     *   .chain(users)\n     *   .sortBy('age')\n     *   .map(function(o) {\n     *     return o.user + ' is ' + o.age;\n     *   })\n     *   .head()\n     *   .value();\n     * // => 'pebbles is 1'\n     */\n    function chain(value) {\n      var result = lodash(value);\n      result.__chain__ = true;\n      return result;\n    }\n\n    /**\n     * This method invokes `interceptor` and returns `value`. The interceptor\n     * is invoked with one argument; (value). The purpose of this method is to\n     * \"tap into\" a method chain sequence in order to modify intermediate results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * _([1, 2, 3])\n     *  .tap(function(array) {\n     *    // Mutate input array.\n     *    array.pop();\n     *  })\n     *  .reverse()\n     *  .value();\n     * // => [2, 1]\n     */\n    function tap(value, interceptor) {\n      interceptor(value);\n      return value;\n    }\n\n    /**\n     * This method is like `_.tap` except that it returns the result of `interceptor`.\n     * The purpose of this method is to \"pass thru\" values replacing intermediate\n     * results in a method chain sequence.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Seq\n     * @param {*} value The value to provide to `interceptor`.\n     * @param {Function} interceptor The function to invoke.\n     * @returns {*} Returns the result of `interceptor`.\n     * @example\n     *\n     * _('  abc  ')\n     *  .chain()\n     *  .trim()\n     *  .thru(function(value) {\n     *    return [value];\n     *  })\n     *  .value();\n     * // => ['abc']\n     */\n    function thru(value, interceptor) {\n      return interceptor(value);\n    }\n\n    /**\n     * This method is the wrapper version of `_.at`.\n     *\n     * @name at\n     * @memberOf _\n     * @since 1.0.0\n     * @category Seq\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _(object).at(['a[0].b.c', 'a[1]']).value();\n     * // => [3, 4]\n     */\n    var wrapperAt = flatRest(function(paths) {\n      var length = paths.length,\n          start = length ? paths[0] : 0,\n          value = this.__wrapped__,\n          interceptor = function(object) { return baseAt(object, paths); };\n\n      if (length > 1 || this.__actions__.length ||\n          !(value instanceof LazyWrapper) || !isIndex(start)) {\n        return this.thru(interceptor);\n      }\n      value = value.slice(start, +start + (length ? 1 : 0));\n      value.__actions__.push({\n        'func': thru,\n        'args': [interceptor],\n        'thisArg': undefined\n      });\n      return new LodashWrapper(value, this.__chain__).thru(function(array) {\n        if (length && !array.length) {\n          array.push(undefined);\n        }\n        return array;\n      });\n    });\n\n    /**\n     * Creates a `lodash` wrapper instance with explicit method chain sequences enabled.\n     *\n     * @name chain\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 40 }\n     * ];\n     *\n     * // A sequence without explicit chaining.\n     * _(users).head();\n     * // => { 'user': 'barney', 'age': 36 }\n     *\n     * // A sequence with explicit chaining.\n     * _(users)\n     *   .chain()\n     *   .head()\n     *   .pick('user')\n     *   .value();\n     * // => { 'user': 'barney' }\n     */\n    function wrapperChain() {\n      return chain(this);\n    }\n\n    /**\n     * Executes the chain sequence and returns the wrapped result.\n     *\n     * @name commit\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2];\n     * var wrapped = _(array).push(3);\n     *\n     * console.log(array);\n     * // => [1, 2]\n     *\n     * wrapped = wrapped.commit();\n     * console.log(array);\n     * // => [1, 2, 3]\n     *\n     * wrapped.last();\n     * // => 3\n     *\n     * console.log(array);\n     * // => [1, 2, 3]\n     */\n    function wrapperCommit() {\n      return new LodashWrapper(this.value(), this.__chain__);\n    }\n\n    /**\n     * Gets the next value on a wrapped object following the\n     * [iterator protocol](https://mdn.io/iteration_protocols#iterator).\n     *\n     * @name next\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the next iterator value.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 1 }\n     *\n     * wrapped.next();\n     * // => { 'done': false, 'value': 2 }\n     *\n     * wrapped.next();\n     * // => { 'done': true, 'value': undefined }\n     */\n    function wrapperNext() {\n      if (this.__values__ === undefined) {\n        this.__values__ = toArray(this.value());\n      }\n      var done = this.__index__ >= this.__values__.length,\n          value = done ? undefined : this.__values__[this.__index__++];\n\n      return { 'done': done, 'value': value };\n    }\n\n    /**\n     * Enables the wrapper to be iterable.\n     *\n     * @name Symbol.iterator\n     * @memberOf _\n     * @since 4.0.0\n     * @category Seq\n     * @returns {Object} Returns the wrapper object.\n     * @example\n     *\n     * var wrapped = _([1, 2]);\n     *\n     * wrapped[Symbol.iterator]() === wrapped;\n     * // => true\n     *\n     * Array.from(wrapped);\n     * // => [1, 2]\n     */\n    function wrapperToIterator() {\n      return this;\n    }\n\n    /**\n     * Creates a clone of the chain sequence planting `value` as the wrapped value.\n     *\n     * @name plant\n     * @memberOf _\n     * @since 3.2.0\n     * @category Seq\n     * @param {*} value The value to plant.\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var wrapped = _([1, 2]).map(square);\n     * var other = wrapped.plant([3, 4]);\n     *\n     * other.value();\n     * // => [9, 16]\n     *\n     * wrapped.value();\n     * // => [1, 4]\n     */\n    function wrapperPlant(value) {\n      var result,\n          parent = this;\n\n      while (parent instanceof baseLodash) {\n        var clone = wrapperClone(parent);\n        clone.__index__ = 0;\n        clone.__values__ = undefined;\n        if (result) {\n          previous.__wrapped__ = clone;\n        } else {\n          result = clone;\n        }\n        var previous = clone;\n        parent = parent.__wrapped__;\n      }\n      previous.__wrapped__ = value;\n      return result;\n    }\n\n    /**\n     * This method is the wrapper version of `_.reverse`.\n     *\n     * **Note:** This method mutates the wrapped array.\n     *\n     * @name reverse\n     * @memberOf _\n     * @since 0.1.0\n     * @category Seq\n     * @returns {Object} Returns the new `lodash` wrapper instance.\n     * @example\n     *\n     * var array = [1, 2, 3];\n     *\n     * _(array).reverse().value()\n     * // => [3, 2, 1]\n     *\n     * console.log(array);\n     * // => [3, 2, 1]\n     */\n    function wrapperReverse() {\n      var value = this.__wrapped__;\n      if (value instanceof LazyWrapper) {\n        var wrapped = value;\n        if (this.__actions__.length) {\n          wrapped = new LazyWrapper(this);\n        }\n        wrapped = wrapped.reverse();\n        wrapped.__actions__.push({\n          'func': thru,\n          'args': [reverse],\n          'thisArg': undefined\n        });\n        return new LodashWrapper(wrapped, this.__chain__);\n      }\n      return this.thru(reverse);\n    }\n\n    /**\n     * Executes the chain sequence to resolve the unwrapped value.\n     *\n     * @name value\n     * @memberOf _\n     * @since 0.1.0\n     * @alias toJSON, valueOf\n     * @category Seq\n     * @returns {*} Returns the resolved unwrapped value.\n     * @example\n     *\n     * _([1, 2, 3]).value();\n     * // => [1, 2, 3]\n     */\n    function wrapperValue() {\n      return baseWrapperValue(this.__wrapped__, this.__actions__);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the number of times the key was returned by `iteratee`. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.countBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': 1, '6': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.countBy(['one', 'two', 'three'], 'length');\n     * // => { '3': 2, '5': 1 }\n     */\n    var countBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        ++result[key];\n      } else {\n        baseAssignValue(result, key, 1);\n      }\n    });\n\n    /**\n     * Checks if `predicate` returns truthy for **all** elements of `collection`.\n     * Iteration is stopped once `predicate` returns falsey. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * **Note:** This method returns `true` for\n     * [empty collections](https://en.wikipedia.org/wiki/Empty_set) because\n     * [everything is true](https://en.wikipedia.org/wiki/Vacuous_truth) of\n     * elements of empty collections.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if all elements pass the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.every([true, 1, null, 'yes'], Boolean);\n     * // => false\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.every(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.every(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.every(users, 'active');\n     * // => false\n     */\n    function every(collection, predicate, guard) {\n      var func = isArray(collection) ? arrayEvery : baseEvery;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning an array of all elements\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * **Note:** Unlike `_.remove`, this method returns a new array.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.reject\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * _.filter(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, { 'age': 36, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.filter(users, 'active');\n     * // => objects for ['barney']\n     *\n     * // Combining several predicates using `_.overEvery` or `_.overSome`.\n     * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n     * // => objects for ['fred', 'barney']\n     */\n    function filter(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Iterates over elements of `collection`, returning the first element\n     * `predicate` returns truthy for. The predicate is invoked with three\n     * arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': true },\n     *   { 'user': 'fred',    'age': 40, 'active': false },\n     *   { 'user': 'pebbles', 'age': 1,  'active': true }\n     * ];\n     *\n     * _.find(users, function(o) { return o.age < 40; });\n     * // => object for 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.find(users, { 'age': 1, 'active': true });\n     * // => object for 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.find(users, ['active', false]);\n     * // => object for 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.find(users, 'active');\n     * // => object for 'barney'\n     */\n    var find = createFind(findIndex);\n\n    /**\n     * This method is like `_.find` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param {number} [fromIndex=collection.length-1] The index to search from.\n     * @returns {*} Returns the matched element, else `undefined`.\n     * @example\n     *\n     * _.findLast([1, 2, 3, 4], function(n) {\n     *   return n % 2 == 1;\n     * });\n     * // => 3\n     */\n    var findLast = createFind(findLastIndex);\n\n    /**\n     * Creates a flattened array of values by running each element in `collection`\n     * thru `iteratee` and flattening the mapped results. The iteratee is invoked\n     * with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [n, n];\n     * }\n     *\n     * _.flatMap([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMap(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), 1);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDeep([1, 2], duplicate);\n     * // => [1, 1, 2, 2]\n     */\n    function flatMapDeep(collection, iteratee) {\n      return baseFlatten(map(collection, iteratee), INFINITY);\n    }\n\n    /**\n     * This method is like `_.flatMap` except that it recursively flattens the\n     * mapped results up to `depth` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {number} [depth=1] The maximum recursion depth.\n     * @returns {Array} Returns the new flattened array.\n     * @example\n     *\n     * function duplicate(n) {\n     *   return [[[n, n]]];\n     * }\n     *\n     * _.flatMapDepth([1, 2], duplicate, 2);\n     * // => [[1, 1], [2, 2]]\n     */\n    function flatMapDepth(collection, iteratee, depth) {\n      depth = depth === undefined ? 1 : toInteger(depth);\n      return baseFlatten(map(collection, iteratee), depth);\n    }\n\n    /**\n     * Iterates over elements of `collection` and invokes `iteratee` for each element.\n     * The iteratee is invoked with three arguments: (value, index|key, collection).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n     * property are iterated like arrays. To avoid this behavior use `_.forIn`\n     * or `_.forOwn` for object iteration.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @alias each\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEachRight\n     * @example\n     *\n     * _.forEach([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `1` then `2`.\n     *\n     * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forEach(collection, iteratee) {\n      var func = isArray(collection) ? arrayEach : baseEach;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forEach` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @alias eachRight\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array|Object} Returns `collection`.\n     * @see _.forEach\n     * @example\n     *\n     * _.forEachRight([1, 2], function(value) {\n     *   console.log(value);\n     * });\n     * // => Logs `2` then `1`.\n     */\n    function forEachRight(collection, iteratee) {\n      var func = isArray(collection) ? arrayEachRight : baseEachRight;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The order of grouped values\n     * is determined by the order they occur in `collection`. The corresponding\n     * value of each key is an array of elements responsible for generating the\n     * key. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * _.groupBy([6.1, 4.2, 6.3], Math.floor);\n     * // => { '4': [4.2], '6': [6.1, 6.3] }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.groupBy(['one', 'two', 'three'], 'length');\n     * // => { '3': ['one', 'two'], '5': ['three'] }\n     */\n    var groupBy = createAggregator(function(result, value, key) {\n      if (hasOwnProperty.call(result, key)) {\n        result[key].push(value);\n      } else {\n        baseAssignValue(result, key, [value]);\n      }\n    });\n\n    /**\n     * Checks if `value` is in `collection`. If `collection` is a string, it's\n     * checked for a substring of `value`, otherwise\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * is used for equality comparisons. If `fromIndex` is negative, it's used as\n     * the offset from the end of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @param {*} value The value to search for.\n     * @param {number} [fromIndex=0] The index to search from.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {boolean} Returns `true` if `value` is found, else `false`.\n     * @example\n     *\n     * _.includes([1, 2, 3], 1);\n     * // => true\n     *\n     * _.includes([1, 2, 3], 1, 2);\n     * // => false\n     *\n     * _.includes({ 'a': 1, 'b': 2 }, 1);\n     * // => true\n     *\n     * _.includes('abcd', 'bc');\n     * // => true\n     */\n    function includes(collection, value, fromIndex, guard) {\n      collection = isArrayLike(collection) ? collection : values(collection);\n      fromIndex = (fromIndex && !guard) ? toInteger(fromIndex) : 0;\n\n      var length = collection.length;\n      if (fromIndex < 0) {\n        fromIndex = nativeMax(length + fromIndex, 0);\n      }\n      return isString(collection)\n        ? (fromIndex <= length && collection.indexOf(value, fromIndex) > -1)\n        : (!!length && baseIndexOf(collection, value, fromIndex) > -1);\n    }\n\n    /**\n     * Invokes the method at `path` of each element in `collection`, returning\n     * an array of the results of each invoked method. Any additional arguments\n     * are provided to each invoked method. If `path` is a function, it's invoked\n     * for, and `this` bound to, each element in `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array|Function|string} path The path of the method to invoke or\n     *  the function invoked per iteration.\n     * @param {...*} [args] The arguments to invoke each method with.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.invokeMap([[5, 1, 7], [3, 2, 1]], 'sort');\n     * // => [[1, 5, 7], [1, 2, 3]]\n     *\n     * _.invokeMap([123, 456], String.prototype.split, '');\n     * // => [['1', '2', '3'], ['4', '5', '6']]\n     */\n    var invokeMap = baseRest(function(collection, path, args) {\n      var index = -1,\n          isFunc = typeof path == 'function',\n          result = isArrayLike(collection) ? Array(collection.length) : [];\n\n      baseEach(collection, function(value) {\n        result[++index] = isFunc ? apply(path, value, args) : baseInvoke(value, path, args);\n      });\n      return result;\n    });\n\n    /**\n     * Creates an object composed of keys generated from the results of running\n     * each element of `collection` thru `iteratee`. The corresponding value of\n     * each key is the last element responsible for generating the key. The\n     * iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee to transform keys.\n     * @returns {Object} Returns the composed aggregate object.\n     * @example\n     *\n     * var array = [\n     *   { 'dir': 'left', 'code': 97 },\n     *   { 'dir': 'right', 'code': 100 }\n     * ];\n     *\n     * _.keyBy(array, function(o) {\n     *   return String.fromCharCode(o.code);\n     * });\n     * // => { 'a': { 'dir': 'left', 'code': 97 }, 'd': { 'dir': 'right', 'code': 100 } }\n     *\n     * _.keyBy(array, 'dir');\n     * // => { 'left': { 'dir': 'left', 'code': 97 }, 'right': { 'dir': 'right', 'code': 100 } }\n     */\n    var keyBy = createAggregator(function(result, value, key) {\n      baseAssignValue(result, key, value);\n    });\n\n    /**\n     * Creates an array of values by running each element in `collection` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n     *\n     * The guarded methods are:\n     * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n     * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n     * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n     * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new mapped array.\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * _.map([4, 8], square);\n     * // => [16, 64]\n     *\n     * _.map({ 'a': 4, 'b': 8 }, square);\n     * // => [16, 64] (iteration order is not guaranteed)\n     *\n     * var users = [\n     *   { 'user': 'barney' },\n     *   { 'user': 'fred' }\n     * ];\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, 'user');\n     * // => ['barney', 'fred']\n     */\n    function map(collection, iteratee) {\n      var func = isArray(collection) ? arrayMap : baseMap;\n      return func(collection, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.sortBy` except that it allows specifying the sort\n     * orders of the iteratees to sort by. If `orders` is unspecified, all values\n     * are sorted in ascending order. Otherwise, specify an order of \"desc\" for\n     * descending or \"asc\" for ascending sort order of corresponding values.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Array[]|Function[]|Object[]|string[]} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @param {string[]} [orders] The sort orders of `iteratees`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.reduce`.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 34 },\n     *   { 'user': 'fred',   'age': 40 },\n     *   { 'user': 'barney', 'age': 36 }\n     * ];\n     *\n     * // Sort by `user` in ascending order and by `age` in descending order.\n     * _.orderBy(users, ['user', 'age'], ['asc', 'desc']);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 40]]\n     */\n    function orderBy(collection, iteratees, orders, guard) {\n      if (collection == null) {\n        return [];\n      }\n      if (!isArray(iteratees)) {\n        iteratees = iteratees == null ? [] : [iteratees];\n      }\n      orders = guard ? undefined : orders;\n      if (!isArray(orders)) {\n        orders = orders == null ? [] : [orders];\n      }\n      return baseOrderBy(collection, iteratees, orders);\n    }\n\n    /**\n     * Creates an array of elements split into two groups, the first of which\n     * contains elements `predicate` returns truthy for, the second of which\n     * contains elements `predicate` returns falsey for. The predicate is\n     * invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of grouped elements.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney',  'age': 36, 'active': false },\n     *   { 'user': 'fred',    'age': 40, 'active': true },\n     *   { 'user': 'pebbles', 'age': 1,  'active': false }\n     * ];\n     *\n     * _.partition(users, function(o) { return o.active; });\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.partition(users, { 'age': 1, 'active': false });\n     * // => objects for [['pebbles'], ['barney', 'fred']]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.partition(users, ['active', false]);\n     * // => objects for [['barney', 'pebbles'], ['fred']]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.partition(users, 'active');\n     * // => objects for [['fred'], ['barney', 'pebbles']]\n     */\n    var partition = createAggregator(function(result, value, key) {\n      result[key ? 0 : 1].push(value);\n    }, function() { return [[], []]; });\n\n    /**\n     * Reduces `collection` to a value which is the accumulated result of running\n     * each element in `collection` thru `iteratee`, where each successive\n     * invocation is supplied the return value of the previous. If `accumulator`\n     * is not given, the first element of `collection` is used as the initial\n     * value. The iteratee is invoked with four arguments:\n     * (accumulator, value, index|key, collection).\n     *\n     * Many lodash methods are guarded to work as iteratees for methods like\n     * `_.reduce`, `_.reduceRight`, and `_.transform`.\n     *\n     * The guarded methods are:\n     * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n     * and `sortBy`\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduceRight\n     * @example\n     *\n     * _.reduce([1, 2], function(sum, n) {\n     *   return sum + n;\n     * }, 0);\n     * // => 3\n     *\n     * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     *   return result;\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n     */\n    function reduce(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduce : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n    }\n\n    /**\n     * This method is like `_.reduce` except that it iterates over elements of\n     * `collection` from right to left.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The initial value.\n     * @returns {*} Returns the accumulated value.\n     * @see _.reduce\n     * @example\n     *\n     * var array = [[0, 1], [2, 3], [4, 5]];\n     *\n     * _.reduceRight(array, function(flattened, other) {\n     *   return flattened.concat(other);\n     * }, []);\n     * // => [4, 5, 2, 3, 0, 1]\n     */\n    function reduceRight(collection, iteratee, accumulator) {\n      var func = isArray(collection) ? arrayReduceRight : baseReduce,\n          initAccum = arguments.length < 3;\n\n      return func(collection, getIteratee(iteratee, 4), accumulator, initAccum, baseEachRight);\n    }\n\n    /**\n     * The opposite of `_.filter`; this method returns the elements of `collection`\n     * that `predicate` does **not** return truthy for.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the new filtered array.\n     * @see _.filter\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': false },\n     *   { 'user': 'fred',   'age': 40, 'active': true }\n     * ];\n     *\n     * _.reject(users, function(o) { return !o.active; });\n     * // => objects for ['fred']\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.reject(users, { 'age': 40, 'active': true });\n     * // => objects for ['barney']\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.reject(users, ['active', false]);\n     * // => objects for ['fred']\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.reject(users, 'active');\n     * // => objects for ['barney']\n     */\n    function reject(collection, predicate) {\n      var func = isArray(collection) ? arrayFilter : baseFilter;\n      return func(collection, negate(getIteratee(predicate, 3)));\n    }\n\n    /**\n     * Gets a random element from `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @returns {*} Returns the random element.\n     * @example\n     *\n     * _.sample([1, 2, 3, 4]);\n     * // => 2\n     */\n    function sample(collection) {\n      var func = isArray(collection) ? arraySample : baseSample;\n      return func(collection);\n    }\n\n    /**\n     * Gets `n` random elements at unique keys from `collection` up to the\n     * size of `collection`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to sample.\n     * @param {number} [n=1] The number of elements to sample.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the random elements.\n     * @example\n     *\n     * _.sampleSize([1, 2, 3], 2);\n     * // => [3, 1]\n     *\n     * _.sampleSize([1, 2, 3], 4);\n     * // => [2, 3, 1]\n     */\n    function sampleSize(collection, n, guard) {\n      if ((guard ? isIterateeCall(collection, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      var func = isArray(collection) ? arraySampleSize : baseSampleSize;\n      return func(collection, n);\n    }\n\n    /**\n     * Creates an array of shuffled values, using a version of the\n     * [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher-Yates_shuffle).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to shuffle.\n     * @returns {Array} Returns the new shuffled array.\n     * @example\n     *\n     * _.shuffle([1, 2, 3, 4]);\n     * // => [4, 1, 3, 2]\n     */\n    function shuffle(collection) {\n      var func = isArray(collection) ? arrayShuffle : baseShuffle;\n      return func(collection);\n    }\n\n    /**\n     * Gets the size of `collection` by returning its length for array-like\n     * values or the number of own enumerable string keyed properties for objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object|string} collection The collection to inspect.\n     * @returns {number} Returns the collection size.\n     * @example\n     *\n     * _.size([1, 2, 3]);\n     * // => 3\n     *\n     * _.size({ 'a': 1, 'b': 2 });\n     * // => 2\n     *\n     * _.size('pebbles');\n     * // => 7\n     */\n    function size(collection) {\n      if (collection == null) {\n        return 0;\n      }\n      if (isArrayLike(collection)) {\n        return isString(collection) ? stringSize(collection) : collection.length;\n      }\n      var tag = getTag(collection);\n      if (tag == mapTag || tag == setTag) {\n        return collection.size;\n      }\n      return baseKeys(collection).length;\n    }\n\n    /**\n     * Checks if `predicate` returns truthy for **any** element of `collection`.\n     * Iteration is stopped once `predicate` returns truthy. The predicate is\n     * invoked with three arguments: (value, index|key, collection).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {boolean} Returns `true` if any element passes the predicate check,\n     *  else `false`.\n     * @example\n     *\n     * _.some([null, 0, 'yes', false], Boolean);\n     * // => true\n     *\n     * var users = [\n     *   { 'user': 'barney', 'active': true },\n     *   { 'user': 'fred',   'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.some(users, { 'user': 'barney', 'active': false });\n     * // => false\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.some(users, ['active', false]);\n     * // => true\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.some(users, 'active');\n     * // => true\n     */\n    function some(collection, predicate, guard) {\n      var func = isArray(collection) ? arraySome : baseSome;\n      if (guard && isIterateeCall(collection, predicate, guard)) {\n        predicate = undefined;\n      }\n      return func(collection, getIteratee(predicate, 3));\n    }\n\n    /**\n     * Creates an array of elements, sorted in ascending order by the results of\n     * running each element in a collection thru each iteratee. This method\n     * performs a stable sort, that is, it preserves the original sort order of\n     * equal elements. The iteratees are invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Collection\n     * @param {Array|Object} collection The collection to iterate over.\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to sort by.\n     * @returns {Array} Returns the new sorted array.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'fred',   'age': 48 },\n     *   { 'user': 'barney', 'age': 36 },\n     *   { 'user': 'fred',   'age': 30 },\n     *   { 'user': 'barney', 'age': 34 }\n     * ];\n     *\n     * _.sortBy(users, [function(o) { return o.user; }]);\n     * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n     *\n     * _.sortBy(users, ['user', 'age']);\n     * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n     */\n    var sortBy = baseRest(function(collection, iteratees) {\n      if (collection == null) {\n        return [];\n      }\n      var length = iteratees.length;\n      if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n        iteratees = [];\n      } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n        iteratees = [iteratees[0]];\n      }\n      return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n    });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Gets the timestamp of the number of milliseconds that have elapsed since\n     * the Unix epoch (1 January 1970 00:00:00 UTC).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Date\n     * @returns {number} Returns the timestamp.\n     * @example\n     *\n     * _.defer(function(stamp) {\n     *   console.log(_.now() - stamp);\n     * }, _.now());\n     * // => Logs the number of milliseconds it took for the deferred invocation.\n     */\n    var now = ctxNow || function() {\n      return root.Date.now();\n    };\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The opposite of `_.before`; this method creates a function that invokes\n     * `func` once it's called `n` or more times.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {number} n The number of calls before `func` is invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var saves = ['profile', 'settings'];\n     *\n     * var done = _.after(saves.length, function() {\n     *   console.log('done saving!');\n     * });\n     *\n     * _.forEach(saves, function(type) {\n     *   asyncSave({ 'type': type, 'complete': done });\n     * });\n     * // => Logs 'done saving!' after the two async saves have completed.\n     */\n    function after(n, func) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n < 1) {\n          return func.apply(this, arguments);\n        }\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func`, with up to `n` arguments,\n     * ignoring any additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @param {number} [n=func.length] The arity cap.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.ary(parseInt, 1));\n     * // => [6, 8, 10]\n     */\n    function ary(func, n, guard) {\n      n = guard ? undefined : n;\n      n = (func && n == null) ? func.length : n;\n      return createWrap(func, WRAP_ARY_FLAG, undefined, undefined, undefined, undefined, n);\n    }\n\n    /**\n     * Creates a function that invokes `func`, with the `this` binding and arguments\n     * of the created function, while it's called less than `n` times. Subsequent\n     * calls to the created function return the result of the last `func` invocation.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {number} n The number of calls at which `func` is no longer invoked.\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * jQuery(element).on('click', _.before(5, addContactToList));\n     * // => Allows adding up to 4 contacts to the list.\n     */\n    function before(n, func) {\n      var result;\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      n = toInteger(n);\n      return function() {\n        if (--n > 0) {\n          result = func.apply(this, arguments);\n        }\n        if (n <= 1) {\n          func = undefined;\n        }\n        return result;\n      };\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of `thisArg`\n     * and `partials` prepended to the arguments it receives.\n     *\n     * The `_.bind.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** Unlike native `Function#bind`, this method doesn't set the \"length\"\n     * property of bound functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to bind.\n     * @param {*} thisArg The `this` binding of `func`.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * function greet(greeting, punctuation) {\n     *   return greeting + ' ' + this.user + punctuation;\n     * }\n     *\n     * var object = { 'user': 'fred' };\n     *\n     * var bound = _.bind(greet, object, 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bind(greet, object, _, '!');\n     * bound('hi');\n     * // => 'hi fred!'\n     */\n    var bind = baseRest(function(func, thisArg, partials) {\n      var bitmask = WRAP_BIND_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bind));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(func, bitmask, thisArg, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes the method at `object[key]` with `partials`\n     * prepended to the arguments it receives.\n     *\n     * This method differs from `_.bind` by allowing bound functions to reference\n     * methods that may be redefined or don't yet exist. See\n     * [Peter Michaux's article](http://peter.michaux.ca/articles/lazy-function-definition-pattern)\n     * for more details.\n     *\n     * The `_.bindKey.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Function\n     * @param {Object} object The object to invoke the method on.\n     * @param {string} key The key of the method.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new bound function.\n     * @example\n     *\n     * var object = {\n     *   'user': 'fred',\n     *   'greet': function(greeting, punctuation) {\n     *     return greeting + ' ' + this.user + punctuation;\n     *   }\n     * };\n     *\n     * var bound = _.bindKey(object, 'greet', 'hi');\n     * bound('!');\n     * // => 'hi fred!'\n     *\n     * object.greet = function(greeting, punctuation) {\n     *   return greeting + 'ya ' + this.user + punctuation;\n     * };\n     *\n     * bound('!');\n     * // => 'hiya fred!'\n     *\n     * // Bound with placeholders.\n     * var bound = _.bindKey(object, 'greet', _, '!');\n     * bound('hi');\n     * // => 'hiya fred!'\n     */\n    var bindKey = baseRest(function(object, key, partials) {\n      var bitmask = WRAP_BIND_FLAG | WRAP_BIND_KEY_FLAG;\n      if (partials.length) {\n        var holders = replaceHolders(partials, getHolder(bindKey));\n        bitmask |= WRAP_PARTIAL_FLAG;\n      }\n      return createWrap(key, bitmask, object, partials, holders);\n    });\n\n    /**\n     * Creates a function that accepts arguments of `func` and either invokes\n     * `func` returning its result, if at least `arity` number of arguments have\n     * been provided, or returns a function that accepts the remaining `func`\n     * arguments, and so on. The arity of `func` may be specified if `func.length`\n     * is not sufficient.\n     *\n     * The `_.curry.placeholder` value, which defaults to `_` in monolithic builds,\n     * may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curry(abc);\n     *\n     * curried(1)(2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2)(3);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(1)(_, 3)(2);\n     * // => [1, 2, 3]\n     */\n    function curry(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curry.placeholder;\n      return result;\n    }\n\n    /**\n     * This method is like `_.curry` except that arguments are applied to `func`\n     * in the manner of `_.partialRight` instead of `_.partial`.\n     *\n     * The `_.curryRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for provided arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of curried functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to curry.\n     * @param {number} [arity=func.length] The arity of `func`.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the new curried function.\n     * @example\n     *\n     * var abc = function(a, b, c) {\n     *   return [a, b, c];\n     * };\n     *\n     * var curried = _.curryRight(abc);\n     *\n     * curried(3)(2)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(2, 3)(1);\n     * // => [1, 2, 3]\n     *\n     * curried(1, 2, 3);\n     * // => [1, 2, 3]\n     *\n     * // Curried with placeholders.\n     * curried(3)(1, _)(2);\n     * // => [1, 2, 3]\n     */\n    function curryRight(func, arity, guard) {\n      arity = guard ? undefined : arity;\n      var result = createWrap(func, WRAP_CURRY_RIGHT_FLAG, undefined, undefined, undefined, undefined, undefined, arity);\n      result.placeholder = curryRight.placeholder;\n      return result;\n    }\n\n    /**\n     * Creates a debounced function that delays invoking `func` until after `wait`\n     * milliseconds have elapsed since the last time the debounced function was\n     * invoked. The debounced function comes with a `cancel` method to cancel\n     * delayed `func` invocations and a `flush` method to immediately invoke them.\n     * Provide `options` to indicate whether `func` should be invoked on the\n     * leading and/or trailing edge of the `wait` timeout. The `func` is invoked\n     * with the last arguments provided to the debounced function. Subsequent\n     * calls to the debounced function return the result of the last `func`\n     * invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the debounced function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.debounce` and `_.throttle`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to debounce.\n     * @param {number} [wait=0] The number of milliseconds to delay.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=false]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {number} [options.maxWait]\n     *  The maximum time `func` is allowed to be delayed before it's invoked.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new debounced function.\n     * @example\n     *\n     * // Avoid costly calculations while the window size is in flux.\n     * jQuery(window).on('resize', _.debounce(calculateLayout, 150));\n     *\n     * // Invoke `sendMail` when clicked, debouncing subsequent calls.\n     * jQuery(element).on('click', _.debounce(sendMail, 300, {\n     *   'leading': true,\n     *   'trailing': false\n     * }));\n     *\n     * // Ensure `batchLog` is invoked once after 1 second of debounced calls.\n     * var debounced = _.debounce(batchLog, 250, { 'maxWait': 1000 });\n     * var source = new EventSource('/stream');\n     * jQuery(source).on('message', debounced);\n     *\n     * // Cancel the trailing debounced invocation.\n     * jQuery(window).on('popstate', debounced.cancel);\n     */\n    function debounce(func, wait, options) {\n      var lastArgs,\n          lastThis,\n          maxWait,\n          result,\n          timerId,\n          lastCallTime,\n          lastInvokeTime = 0,\n          leading = false,\n          maxing = false,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      wait = toNumber(wait) || 0;\n      if (isObject(options)) {\n        leading = !!options.leading;\n        maxing = 'maxWait' in options;\n        maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n\n      function invokeFunc(time) {\n        var args = lastArgs,\n            thisArg = lastThis;\n\n        lastArgs = lastThis = undefined;\n        lastInvokeTime = time;\n        result = func.apply(thisArg, args);\n        return result;\n      }\n\n      function leadingEdge(time) {\n        // Reset any `maxWait` timer.\n        lastInvokeTime = time;\n        // Start the timer for the trailing edge.\n        timerId = setTimeout(timerExpired, wait);\n        // Invoke the leading edge.\n        return leading ? invokeFunc(time) : result;\n      }\n\n      function remainingWait(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime,\n            timeWaiting = wait - timeSinceLastCall;\n\n        return maxing\n          ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke)\n          : timeWaiting;\n      }\n\n      function shouldInvoke(time) {\n        var timeSinceLastCall = time - lastCallTime,\n            timeSinceLastInvoke = time - lastInvokeTime;\n\n        // Either this is the first call, activity has stopped and we're at the\n        // trailing edge, the system time has gone backwards and we're treating\n        // it as the trailing edge, or we've hit the `maxWait` limit.\n        return (lastCallTime === undefined || (timeSinceLastCall >= wait) ||\n          (timeSinceLastCall < 0) || (maxing && timeSinceLastInvoke >= maxWait));\n      }\n\n      function timerExpired() {\n        var time = now();\n        if (shouldInvoke(time)) {\n          return trailingEdge(time);\n        }\n        // Restart the timer.\n        timerId = setTimeout(timerExpired, remainingWait(time));\n      }\n\n      function trailingEdge(time) {\n        timerId = undefined;\n\n        // Only invoke if we have `lastArgs` which means `func` has been\n        // debounced at least once.\n        if (trailing && lastArgs) {\n          return invokeFunc(time);\n        }\n        lastArgs = lastThis = undefined;\n        return result;\n      }\n\n      function cancel() {\n        if (timerId !== undefined) {\n          clearTimeout(timerId);\n        }\n        lastInvokeTime = 0;\n        lastArgs = lastCallTime = lastThis = timerId = undefined;\n      }\n\n      function flush() {\n        return timerId === undefined ? result : trailingEdge(now());\n      }\n\n      function debounced() {\n        var time = now(),\n            isInvoking = shouldInvoke(time);\n\n        lastArgs = arguments;\n        lastThis = this;\n        lastCallTime = time;\n\n        if (isInvoking) {\n          if (timerId === undefined) {\n            return leadingEdge(lastCallTime);\n          }\n          if (maxing) {\n            // Handle invocations in a tight loop.\n            clearTimeout(timerId);\n            timerId = setTimeout(timerExpired, wait);\n            return invokeFunc(lastCallTime);\n          }\n        }\n        if (timerId === undefined) {\n          timerId = setTimeout(timerExpired, wait);\n        }\n        return result;\n      }\n      debounced.cancel = cancel;\n      debounced.flush = flush;\n      return debounced;\n    }\n\n    /**\n     * Defers invoking the `func` until the current call stack has cleared. Any\n     * additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to defer.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.defer(function(text) {\n     *   console.log(text);\n     * }, 'deferred');\n     * // => Logs 'deferred' after one millisecond.\n     */\n    var defer = baseRest(function(func, args) {\n      return baseDelay(func, 1, args);\n    });\n\n    /**\n     * Invokes `func` after `wait` milliseconds. Any additional arguments are\n     * provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to delay.\n     * @param {number} wait The number of milliseconds to delay invocation.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {number} Returns the timer id.\n     * @example\n     *\n     * _.delay(function(text) {\n     *   console.log(text);\n     * }, 1000, 'later');\n     * // => Logs 'later' after one second.\n     */\n    var delay = baseRest(function(func, wait, args) {\n      return baseDelay(func, toNumber(wait) || 0, args);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments reversed.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to flip arguments for.\n     * @returns {Function} Returns the new flipped function.\n     * @example\n     *\n     * var flipped = _.flip(function() {\n     *   return _.toArray(arguments);\n     * });\n     *\n     * flipped('a', 'b', 'c', 'd');\n     * // => ['d', 'c', 'b', 'a']\n     */\n    function flip(func) {\n      return createWrap(func, WRAP_FLIP_FLAG);\n    }\n\n    /**\n     * Creates a function that memoizes the result of `func`. If `resolver` is\n     * provided, it determines the cache key for storing the result based on the\n     * arguments provided to the memoized function. By default, the first argument\n     * provided to the memoized function is used as the map cache key. The `func`\n     * is invoked with the `this` binding of the memoized function.\n     *\n     * **Note:** The cache is exposed as the `cache` property on the memoized\n     * function. Its creation may be customized by replacing the `_.memoize.Cache`\n     * constructor with one whose instances implement the\n     * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n     * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to have its output memoized.\n     * @param {Function} [resolver] The function to resolve the cache key.\n     * @returns {Function} Returns the new memoized function.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     * var other = { 'c': 3, 'd': 4 };\n     *\n     * var values = _.memoize(_.values);\n     * values(object);\n     * // => [1, 2]\n     *\n     * values(other);\n     * // => [3, 4]\n     *\n     * object.a = 2;\n     * values(object);\n     * // => [1, 2]\n     *\n     * // Modify the result cache.\n     * values.cache.set(object, ['a', 'b']);\n     * values(object);\n     * // => ['a', 'b']\n     *\n     * // Replace `_.memoize.Cache`.\n     * _.memoize.Cache = WeakMap;\n     */\n    function memoize(func, resolver) {\n      if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      var memoized = function() {\n        var args = arguments,\n            key = resolver ? resolver.apply(this, args) : args[0],\n            cache = memoized.cache;\n\n        if (cache.has(key)) {\n          return cache.get(key);\n        }\n        var result = func.apply(this, args);\n        memoized.cache = cache.set(key, result) || cache;\n        return result;\n      };\n      memoized.cache = new (memoize.Cache || MapCache);\n      return memoized;\n    }\n\n    // Expose `MapCache`.\n    memoize.Cache = MapCache;\n\n    /**\n     * Creates a function that negates the result of the predicate `func`. The\n     * `func` predicate is invoked with the `this` binding and arguments of the\n     * created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} predicate The predicate to negate.\n     * @returns {Function} Returns the new negated function.\n     * @example\n     *\n     * function isEven(n) {\n     *   return n % 2 == 0;\n     * }\n     *\n     * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven));\n     * // => [1, 3, 5]\n     */\n    function negate(predicate) {\n      if (typeof predicate != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      return function() {\n        var args = arguments;\n        switch (args.length) {\n          case 0: return !predicate.call(this);\n          case 1: return !predicate.call(this, args[0]);\n          case 2: return !predicate.call(this, args[0], args[1]);\n          case 3: return !predicate.call(this, args[0], args[1], args[2]);\n        }\n        return !predicate.apply(this, args);\n      };\n    }\n\n    /**\n     * Creates a function that is restricted to invoking `func` once. Repeat calls\n     * to the function return the value of the first invocation. The `func` is\n     * invoked with the `this` binding and arguments of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to restrict.\n     * @returns {Function} Returns the new restricted function.\n     * @example\n     *\n     * var initialize = _.once(createApplication);\n     * initialize();\n     * initialize();\n     * // => `createApplication` is invoked once\n     */\n    function once(func) {\n      return before(2, func);\n    }\n\n    /**\n     * Creates a function that invokes `func` with its arguments transformed.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Function\n     * @param {Function} func The function to wrap.\n     * @param {...(Function|Function[])} [transforms=[_.identity]]\n     *  The argument transforms.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * function doubled(n) {\n     *   return n * 2;\n     * }\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var func = _.overArgs(function(x, y) {\n     *   return [x, y];\n     * }, [square, doubled]);\n     *\n     * func(9, 3);\n     * // => [81, 6]\n     *\n     * func(10, 5);\n     * // => [100, 10]\n     */\n    var overArgs = castRest(function(func, transforms) {\n      transforms = (transforms.length == 1 && isArray(transforms[0]))\n        ? arrayMap(transforms[0], baseUnary(getIteratee()))\n        : arrayMap(baseFlatten(transforms, 1), baseUnary(getIteratee()));\n\n      var funcsLength = transforms.length;\n      return baseRest(function(args) {\n        var index = -1,\n            length = nativeMin(args.length, funcsLength);\n\n        while (++index < length) {\n          args[index] = transforms[index].call(this, args[index]);\n        }\n        return apply(func, this, args);\n      });\n    });\n\n    /**\n     * Creates a function that invokes `func` with `partials` prepended to the\n     * arguments it receives. This method is like `_.bind` except it does **not**\n     * alter the `this` binding.\n     *\n     * The `_.partial.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.2.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var sayHelloTo = _.partial(greet, 'hello');\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     *\n     * // Partially applied with placeholders.\n     * var greetFred = _.partial(greet, _, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     */\n    var partial = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partial));\n      return createWrap(func, WRAP_PARTIAL_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * This method is like `_.partial` except that partially applied arguments\n     * are appended to the arguments it receives.\n     *\n     * The `_.partialRight.placeholder` value, which defaults to `_` in monolithic\n     * builds, may be used as a placeholder for partially applied arguments.\n     *\n     * **Note:** This method doesn't set the \"length\" property of partially\n     * applied functions.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Function\n     * @param {Function} func The function to partially apply arguments to.\n     * @param {...*} [partials] The arguments to be partially applied.\n     * @returns {Function} Returns the new partially applied function.\n     * @example\n     *\n     * function greet(greeting, name) {\n     *   return greeting + ' ' + name;\n     * }\n     *\n     * var greetFred = _.partialRight(greet, 'fred');\n     * greetFred('hi');\n     * // => 'hi fred'\n     *\n     * // Partially applied with placeholders.\n     * var sayHelloTo = _.partialRight(greet, 'hello', _);\n     * sayHelloTo('fred');\n     * // => 'hello fred'\n     */\n    var partialRight = baseRest(function(func, partials) {\n      var holders = replaceHolders(partials, getHolder(partialRight));\n      return createWrap(func, WRAP_PARTIAL_RIGHT_FLAG, undefined, partials, holders);\n    });\n\n    /**\n     * Creates a function that invokes `func` with arguments arranged according\n     * to the specified `indexes` where the argument value at the first index is\n     * provided as the first argument, the argument value at the second index is\n     * provided as the second argument, and so on.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Function\n     * @param {Function} func The function to rearrange arguments for.\n     * @param {...(number|number[])} indexes The arranged argument indexes.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var rearged = _.rearg(function(a, b, c) {\n     *   return [a, b, c];\n     * }, [2, 0, 1]);\n     *\n     * rearged('b', 'c', 'a')\n     * // => ['a', 'b', 'c']\n     */\n    var rearg = flatRest(function(func, indexes) {\n      return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);\n    });\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * created function and arguments from `start` and beyond provided as\n     * an array.\n     *\n     * **Note:** This method is based on the\n     * [rest parameter](https://mdn.io/rest_parameters).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to apply a rest parameter to.\n     * @param {number} [start=func.length-1] The start position of the rest parameter.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.rest(function(what, names) {\n     *   return what + ' ' + _.initial(names).join(', ') +\n     *     (_.size(names) > 1 ? ', & ' : '') + _.last(names);\n     * });\n     *\n     * say('hello', 'fred', 'barney', 'pebbles');\n     * // => 'hello fred, barney, & pebbles'\n     */\n    function rest(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start === undefined ? start : toInteger(start);\n      return baseRest(func, start);\n    }\n\n    /**\n     * Creates a function that invokes `func` with the `this` binding of the\n     * create function and an array of arguments much like\n     * [`Function#apply`](http://www.ecma-international.org/ecma-262/7.0/#sec-function.prototype.apply).\n     *\n     * **Note:** This method is based on the\n     * [spread operator](https://mdn.io/spread_operator).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Function\n     * @param {Function} func The function to spread arguments over.\n     * @param {number} [start=0] The start position of the spread.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var say = _.spread(function(who, what) {\n     *   return who + ' says ' + what;\n     * });\n     *\n     * say(['fred', 'hello']);\n     * // => 'fred says hello'\n     *\n     * var numbers = Promise.all([\n     *   Promise.resolve(40),\n     *   Promise.resolve(36)\n     * ]);\n     *\n     * numbers.then(_.spread(function(x, y) {\n     *   return x + y;\n     * }));\n     * // => a Promise of 76\n     */\n    function spread(func, start) {\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      start = start == null ? 0 : nativeMax(toInteger(start), 0);\n      return baseRest(function(args) {\n        var array = args[start],\n            otherArgs = castSlice(args, 0, start);\n\n        if (array) {\n          arrayPush(otherArgs, array);\n        }\n        return apply(func, this, otherArgs);\n      });\n    }\n\n    /**\n     * Creates a throttled function that only invokes `func` at most once per\n     * every `wait` milliseconds. The throttled function comes with a `cancel`\n     * method to cancel delayed `func` invocations and a `flush` method to\n     * immediately invoke them. Provide `options` to indicate whether `func`\n     * should be invoked on the leading and/or trailing edge of the `wait`\n     * timeout. The `func` is invoked with the last arguments provided to the\n     * throttled function. Subsequent calls to the throttled function return the\n     * result of the last `func` invocation.\n     *\n     * **Note:** If `leading` and `trailing` options are `true`, `func` is\n     * invoked on the trailing edge of the timeout only if the throttled function\n     * is invoked more than once during the `wait` timeout.\n     *\n     * If `wait` is `0` and `leading` is `false`, `func` invocation is deferred\n     * until to the next tick, similar to `setTimeout` with a timeout of `0`.\n     *\n     * See [David Corbacho's article](https://css-tricks.com/debouncing-throttling-explained-examples/)\n     * for details over the differences between `_.throttle` and `_.debounce`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {Function} func The function to throttle.\n     * @param {number} [wait=0] The number of milliseconds to throttle invocations to.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.leading=true]\n     *  Specify invoking on the leading edge of the timeout.\n     * @param {boolean} [options.trailing=true]\n     *  Specify invoking on the trailing edge of the timeout.\n     * @returns {Function} Returns the new throttled function.\n     * @example\n     *\n     * // Avoid excessively updating the position while scrolling.\n     * jQuery(window).on('scroll', _.throttle(updatePosition, 100));\n     *\n     * // Invoke `renewToken` when the click event is fired, but not more than once every 5 minutes.\n     * var throttled = _.throttle(renewToken, 300000, { 'trailing': false });\n     * jQuery(element).on('click', throttled);\n     *\n     * // Cancel the trailing throttled invocation.\n     * jQuery(window).on('popstate', throttled.cancel);\n     */\n    function throttle(func, wait, options) {\n      var leading = true,\n          trailing = true;\n\n      if (typeof func != 'function') {\n        throw new TypeError(FUNC_ERROR_TEXT);\n      }\n      if (isObject(options)) {\n        leading = 'leading' in options ? !!options.leading : leading;\n        trailing = 'trailing' in options ? !!options.trailing : trailing;\n      }\n      return debounce(func, wait, {\n        'leading': leading,\n        'maxWait': wait,\n        'trailing': trailing\n      });\n    }\n\n    /**\n     * Creates a function that accepts up to one argument, ignoring any\n     * additional arguments.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Function\n     * @param {Function} func The function to cap arguments for.\n     * @returns {Function} Returns the new capped function.\n     * @example\n     *\n     * _.map(['6', '8', '10'], _.unary(parseInt));\n     * // => [6, 8, 10]\n     */\n    function unary(func) {\n      return ary(func, 1);\n    }\n\n    /**\n     * Creates a function that provides `value` to `wrapper` as its first\n     * argument. Any additional arguments provided to the function are appended\n     * to those provided to the `wrapper`. The wrapper is invoked with the `this`\n     * binding of the created function.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Function\n     * @param {*} value The value to wrap.\n     * @param {Function} [wrapper=identity] The wrapper function.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var p = _.wrap(_.escape, function(func, text) {\n     *   return '<p>' + func(text) + '</p>';\n     * });\n     *\n     * p('fred, barney, & pebbles');\n     * // => '<p>fred, barney, &amp; pebbles</p>'\n     */\n    function wrap(value, wrapper) {\n      return partial(castFunction(wrapper), value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Casts `value` as an array if it's not one.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.4.0\n     * @category Lang\n     * @param {*} value The value to inspect.\n     * @returns {Array} Returns the cast array.\n     * @example\n     *\n     * _.castArray(1);\n     * // => [1]\n     *\n     * _.castArray({ 'a': 1 });\n     * // => [{ 'a': 1 }]\n     *\n     * _.castArray('abc');\n     * // => ['abc']\n     *\n     * _.castArray(null);\n     * // => [null]\n     *\n     * _.castArray(undefined);\n     * // => [undefined]\n     *\n     * _.castArray();\n     * // => []\n     *\n     * var array = [1, 2, 3];\n     * console.log(_.castArray(array) === array);\n     * // => true\n     */\n    function castArray() {\n      if (!arguments.length) {\n        return [];\n      }\n      var value = arguments[0];\n      return isArray(value) ? value : [value];\n    }\n\n    /**\n     * Creates a shallow clone of `value`.\n     *\n     * **Note:** This method is loosely based on the\n     * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n     * and supports cloning arrays, array buffers, booleans, date objects, maps,\n     * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n     * arrays. The own enumerable properties of `arguments` objects are cloned\n     * as plain objects. An empty object is returned for uncloneable values such\n     * as error objects, functions, DOM nodes, and WeakMaps.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeep\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var shallow = _.clone(objects);\n     * console.log(shallow[0] === objects[0]);\n     * // => true\n     */\n    function clone(value) {\n      return baseClone(value, CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.clone` except that it accepts `customizer` which\n     * is invoked to produce the cloned value. If `customizer` returns `undefined`,\n     * cloning is handled by the method instead. The `customizer` is invoked with\n     * up to four arguments; (value [, index|key, object, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the cloned value.\n     * @see _.cloneDeepWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(false);\n     *   }\n     * }\n     *\n     * var el = _.cloneWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 0\n     */\n    function cloneWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * This method is like `_.clone` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.clone\n     * @example\n     *\n     * var objects = [{ 'a': 1 }, { 'b': 2 }];\n     *\n     * var deep = _.cloneDeep(objects);\n     * console.log(deep[0] === objects[0]);\n     * // => false\n     */\n    function cloneDeep(value) {\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n    }\n\n    /**\n     * This method is like `_.cloneWith` except that it recursively clones `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to recursively clone.\n     * @param {Function} [customizer] The function to customize cloning.\n     * @returns {*} Returns the deep cloned value.\n     * @see _.cloneWith\n     * @example\n     *\n     * function customizer(value) {\n     *   if (_.isElement(value)) {\n     *     return value.cloneNode(true);\n     *   }\n     * }\n     *\n     * var el = _.cloneDeepWith(document.body, customizer);\n     *\n     * console.log(el === document.body);\n     * // => false\n     * console.log(el.nodeName);\n     * // => 'BODY'\n     * console.log(el.childNodes.length);\n     * // => 20\n     */\n    function cloneDeepWith(value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG, customizer);\n    }\n\n    /**\n     * Checks if `object` conforms to `source` by invoking the predicate\n     * properties of `source` with the corresponding property values of `object`.\n     *\n     * **Note:** This method is equivalent to `_.conforms` when `source` is\n     * partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {boolean} Returns `true` if `object` conforms, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 1; } });\n     * // => true\n     *\n     * _.conformsTo(object, { 'b': function(n) { return n > 2; } });\n     * // => false\n     */\n    function conformsTo(object, source) {\n      return source == null || baseConformsTo(object, source, keys(source));\n    }\n\n    /**\n     * Performs a\n     * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n     * comparison between two values to determine if they are equivalent.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.eq(object, object);\n     * // => true\n     *\n     * _.eq(object, other);\n     * // => false\n     *\n     * _.eq('a', 'a');\n     * // => true\n     *\n     * _.eq('a', Object('a'));\n     * // => false\n     *\n     * _.eq(NaN, NaN);\n     * // => true\n     */\n    function eq(value, other) {\n      return value === other || (value !== value && other !== other);\n    }\n\n    /**\n     * Checks if `value` is greater than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than `other`,\n     *  else `false`.\n     * @see _.lt\n     * @example\n     *\n     * _.gt(3, 1);\n     * // => true\n     *\n     * _.gt(3, 3);\n     * // => false\n     *\n     * _.gt(1, 3);\n     * // => false\n     */\n    var gt = createRelationalOperation(baseGt);\n\n    /**\n     * Checks if `value` is greater than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is greater than or equal to\n     *  `other`, else `false`.\n     * @see _.lte\n     * @example\n     *\n     * _.gte(3, 1);\n     * // => true\n     *\n     * _.gte(3, 3);\n     * // => true\n     *\n     * _.gte(1, 3);\n     * // => false\n     */\n    var gte = createRelationalOperation(function(value, other) {\n      return value >= other;\n    });\n\n    /**\n     * Checks if `value` is likely an `arguments` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArguments(function() { return arguments; }());\n     * // => true\n     *\n     * _.isArguments([1, 2, 3]);\n     * // => false\n     */\n    var isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n      return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n        !propertyIsEnumerable.call(value, 'callee');\n    };\n\n    /**\n     * Checks if `value` is classified as an `Array` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n     * @example\n     *\n     * _.isArray([1, 2, 3]);\n     * // => true\n     *\n     * _.isArray(document.body.children);\n     * // => false\n     *\n     * _.isArray('abc');\n     * // => false\n     *\n     * _.isArray(_.noop);\n     * // => false\n     */\n    var isArray = Array.isArray;\n\n    /**\n     * Checks if `value` is classified as an `ArrayBuffer` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array buffer, else `false`.\n     * @example\n     *\n     * _.isArrayBuffer(new ArrayBuffer(2));\n     * // => true\n     *\n     * _.isArrayBuffer(new Array(2));\n     * // => false\n     */\n    var isArrayBuffer = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;\n\n    /**\n     * Checks if `value` is array-like. A value is considered array-like if it's\n     * not a function and has a `value.length` that's an integer greater than or\n     * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n     * @example\n     *\n     * _.isArrayLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLike(document.body.children);\n     * // => true\n     *\n     * _.isArrayLike('abc');\n     * // => true\n     *\n     * _.isArrayLike(_.noop);\n     * // => false\n     */\n    function isArrayLike(value) {\n      return value != null && isLength(value.length) && !isFunction(value);\n    }\n\n    /**\n     * This method is like `_.isArrayLike` except that it also checks if `value`\n     * is an object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an array-like object,\n     *  else `false`.\n     * @example\n     *\n     * _.isArrayLikeObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isArrayLikeObject(document.body.children);\n     * // => true\n     *\n     * _.isArrayLikeObject('abc');\n     * // => false\n     *\n     * _.isArrayLikeObject(_.noop);\n     * // => false\n     */\n    function isArrayLikeObject(value) {\n      return isObjectLike(value) && isArrayLike(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a boolean primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a boolean, else `false`.\n     * @example\n     *\n     * _.isBoolean(false);\n     * // => true\n     *\n     * _.isBoolean(null);\n     * // => false\n     */\n    function isBoolean(value) {\n      return value === true || value === false ||\n        (isObjectLike(value) && baseGetTag(value) == boolTag);\n    }\n\n    /**\n     * Checks if `value` is a buffer.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n     * @example\n     *\n     * _.isBuffer(new Buffer(2));\n     * // => true\n     *\n     * _.isBuffer(new Uint8Array(2));\n     * // => false\n     */\n    var isBuffer = nativeIsBuffer || stubFalse;\n\n    /**\n     * Checks if `value` is classified as a `Date` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a date object, else `false`.\n     * @example\n     *\n     * _.isDate(new Date);\n     * // => true\n     *\n     * _.isDate('Mon April 23 2012');\n     * // => false\n     */\n    var isDate = nodeIsDate ? baseUnary(nodeIsDate) : baseIsDate;\n\n    /**\n     * Checks if `value` is likely a DOM element.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a DOM element, else `false`.\n     * @example\n     *\n     * _.isElement(document.body);\n     * // => true\n     *\n     * _.isElement('<body>');\n     * // => false\n     */\n    function isElement(value) {\n      return isObjectLike(value) && value.nodeType === 1 && !isPlainObject(value);\n    }\n\n    /**\n     * Checks if `value` is an empty object, collection, map, or set.\n     *\n     * Objects are considered empty if they have no own enumerable string keyed\n     * properties.\n     *\n     * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n     * jQuery-like collections are considered empty if they have a `length` of `0`.\n     * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n     * @example\n     *\n     * _.isEmpty(null);\n     * // => true\n     *\n     * _.isEmpty(true);\n     * // => true\n     *\n     * _.isEmpty(1);\n     * // => true\n     *\n     * _.isEmpty([1, 2, 3]);\n     * // => false\n     *\n     * _.isEmpty({ 'a': 1 });\n     * // => false\n     */\n    function isEmpty(value) {\n      if (value == null) {\n        return true;\n      }\n      if (isArrayLike(value) &&\n          (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n            isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n        return !value.length;\n      }\n      var tag = getTag(value);\n      if (tag == mapTag || tag == setTag) {\n        return !value.size;\n      }\n      if (isPrototype(value)) {\n        return !baseKeys(value).length;\n      }\n      for (var key in value) {\n        if (hasOwnProperty.call(value, key)) {\n          return false;\n        }\n      }\n      return true;\n    }\n\n    /**\n     * Performs a deep comparison between two values to determine if they are\n     * equivalent.\n     *\n     * **Note:** This method supports comparing arrays, array buffers, booleans,\n     * date objects, error objects, maps, numbers, `Object` objects, regexes,\n     * sets, strings, symbols, and typed arrays. `Object` objects are compared\n     * by their own, not inherited, enumerable properties. Functions and DOM\n     * nodes are compared by strict equality, i.e. `===`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     * var other = { 'a': 1 };\n     *\n     * _.isEqual(object, other);\n     * // => true\n     *\n     * object === other;\n     * // => false\n     */\n    function isEqual(value, other) {\n      return baseIsEqual(value, other);\n    }\n\n    /**\n     * This method is like `_.isEqual` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with up to\n     * six arguments: (objValue, othValue [, index|key, object, other, stack]).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, othValue) {\n     *   if (isGreeting(objValue) && isGreeting(othValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var array = ['hello', 'goodbye'];\n     * var other = ['hi', 'goodbye'];\n     *\n     * _.isEqualWith(array, other, customizer);\n     * // => true\n     */\n    function isEqualWith(value, other, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      var result = customizer ? customizer(value, other) : undefined;\n      return result === undefined ? baseIsEqual(value, other, undefined, customizer) : !!result;\n    }\n\n    /**\n     * Checks if `value` is an `Error`, `EvalError`, `RangeError`, `ReferenceError`,\n     * `SyntaxError`, `TypeError`, or `URIError` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an error object, else `false`.\n     * @example\n     *\n     * _.isError(new Error);\n     * // => true\n     *\n     * _.isError(Error);\n     * // => false\n     */\n    function isError(value) {\n      if (!isObjectLike(value)) {\n        return false;\n      }\n      var tag = baseGetTag(value);\n      return tag == errorTag || tag == domExcTag ||\n        (typeof value.message == 'string' && typeof value.name == 'string' && !isPlainObject(value));\n    }\n\n    /**\n     * Checks if `value` is a finite primitive number.\n     *\n     * **Note:** This method is based on\n     * [`Number.isFinite`](https://mdn.io/Number/isFinite).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a finite number, else `false`.\n     * @example\n     *\n     * _.isFinite(3);\n     * // => true\n     *\n     * _.isFinite(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isFinite(Infinity);\n     * // => false\n     *\n     * _.isFinite('3');\n     * // => false\n     */\n    function isFinite(value) {\n      return typeof value == 'number' && nativeIsFinite(value);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Function` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n     * @example\n     *\n     * _.isFunction(_);\n     * // => true\n     *\n     * _.isFunction(/abc/);\n     * // => false\n     */\n    function isFunction(value) {\n      if (!isObject(value)) {\n        return false;\n      }\n      // The use of `Object#toString` avoids issues with the `typeof` operator\n      // in Safari 9 which returns 'object' for typed arrays and other constructors.\n      var tag = baseGetTag(value);\n      return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n    }\n\n    /**\n     * Checks if `value` is an integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isInteger`](https://mdn.io/Number/isInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an integer, else `false`.\n     * @example\n     *\n     * _.isInteger(3);\n     * // => true\n     *\n     * _.isInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isInteger(Infinity);\n     * // => false\n     *\n     * _.isInteger('3');\n     * // => false\n     */\n    function isInteger(value) {\n      return typeof value == 'number' && value == toInteger(value);\n    }\n\n    /**\n     * Checks if `value` is a valid array-like length.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n     * @example\n     *\n     * _.isLength(3);\n     * // => true\n     *\n     * _.isLength(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isLength(Infinity);\n     * // => false\n     *\n     * _.isLength('3');\n     * // => false\n     */\n    function isLength(value) {\n      return typeof value == 'number' &&\n        value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is the\n     * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n     * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n     * @example\n     *\n     * _.isObject({});\n     * // => true\n     *\n     * _.isObject([1, 2, 3]);\n     * // => true\n     *\n     * _.isObject(_.noop);\n     * // => true\n     *\n     * _.isObject(null);\n     * // => false\n     */\n    function isObject(value) {\n      var type = typeof value;\n      return value != null && (type == 'object' || type == 'function');\n    }\n\n    /**\n     * Checks if `value` is object-like. A value is object-like if it's not `null`\n     * and has a `typeof` result of \"object\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n     * @example\n     *\n     * _.isObjectLike({});\n     * // => true\n     *\n     * _.isObjectLike([1, 2, 3]);\n     * // => true\n     *\n     * _.isObjectLike(_.noop);\n     * // => false\n     *\n     * _.isObjectLike(null);\n     * // => false\n     */\n    function isObjectLike(value) {\n      return value != null && typeof value == 'object';\n    }\n\n    /**\n     * Checks if `value` is classified as a `Map` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n     * @example\n     *\n     * _.isMap(new Map);\n     * // => true\n     *\n     * _.isMap(new WeakMap);\n     * // => false\n     */\n    var isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\n    /**\n     * Performs a partial deep comparison between `object` and `source` to\n     * determine if `object` contains equivalent property values.\n     *\n     * **Note:** This method is equivalent to `_.matches` when `source` is\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2 };\n     *\n     * _.isMatch(object, { 'b': 2 });\n     * // => true\n     *\n     * _.isMatch(object, { 'b': 1 });\n     * // => false\n     */\n    function isMatch(object, source) {\n      return object === source || baseIsMatch(object, source, getMatchData(source));\n    }\n\n    /**\n     * This method is like `_.isMatch` except that it accepts `customizer` which\n     * is invoked to compare values. If `customizer` returns `undefined`, comparisons\n     * are handled by the method instead. The `customizer` is invoked with five\n     * arguments: (objValue, srcValue, index|key, object, source).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {Object} object The object to inspect.\n     * @param {Object} source The object of property values to match.\n     * @param {Function} [customizer] The function to customize comparisons.\n     * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n     * @example\n     *\n     * function isGreeting(value) {\n     *   return /^h(?:i|ello)$/.test(value);\n     * }\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (isGreeting(objValue) && isGreeting(srcValue)) {\n     *     return true;\n     *   }\n     * }\n     *\n     * var object = { 'greeting': 'hello' };\n     * var source = { 'greeting': 'hi' };\n     *\n     * _.isMatchWith(object, source, customizer);\n     * // => true\n     */\n    function isMatchWith(object, source, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return baseIsMatch(object, source, getMatchData(source), customizer);\n    }\n\n    /**\n     * Checks if `value` is `NaN`.\n     *\n     * **Note:** This method is based on\n     * [`Number.isNaN`](https://mdn.io/Number/isNaN) and is not the same as\n     * global [`isNaN`](https://mdn.io/isNaN) which returns `true` for\n     * `undefined` and other non-number values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n     * @example\n     *\n     * _.isNaN(NaN);\n     * // => true\n     *\n     * _.isNaN(new Number(NaN));\n     * // => true\n     *\n     * isNaN(undefined);\n     * // => true\n     *\n     * _.isNaN(undefined);\n     * // => false\n     */\n    function isNaN(value) {\n      // An `NaN` primitive is the only value that is not equal to itself.\n      // Perform the `toStringTag` check first to avoid errors with some\n      // ActiveX objects in IE.\n      return isNumber(value) && value != +value;\n    }\n\n    /**\n     * Checks if `value` is a pristine native function.\n     *\n     * **Note:** This method can't reliably detect native functions in the presence\n     * of the core-js package because core-js circumvents this kind of detection.\n     * Despite multiple requests, the core-js maintainer has made it clear: any\n     * attempt to fix the detection will be obstructed. As a result, we're left\n     * with little choice but to throw an error. Unfortunately, this also affects\n     * packages, like [babel-polyfill](https://www.npmjs.com/package/babel-polyfill),\n     * which rely on core-js.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a native function,\n     *  else `false`.\n     * @example\n     *\n     * _.isNative(Array.prototype.push);\n     * // => true\n     *\n     * _.isNative(_);\n     * // => false\n     */\n    function isNative(value) {\n      if (isMaskable(value)) {\n        throw new Error(CORE_ERROR_TEXT);\n      }\n      return baseIsNative(value);\n    }\n\n    /**\n     * Checks if `value` is `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `null`, else `false`.\n     * @example\n     *\n     * _.isNull(null);\n     * // => true\n     *\n     * _.isNull(void 0);\n     * // => false\n     */\n    function isNull(value) {\n      return value === null;\n    }\n\n    /**\n     * Checks if `value` is `null` or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is nullish, else `false`.\n     * @example\n     *\n     * _.isNil(null);\n     * // => true\n     *\n     * _.isNil(void 0);\n     * // => true\n     *\n     * _.isNil(NaN);\n     * // => false\n     */\n    function isNil(value) {\n      return value == null;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Number` primitive or object.\n     *\n     * **Note:** To exclude `Infinity`, `-Infinity`, and `NaN`, which are\n     * classified as numbers, use the `_.isFinite` method.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a number, else `false`.\n     * @example\n     *\n     * _.isNumber(3);\n     * // => true\n     *\n     * _.isNumber(Number.MIN_VALUE);\n     * // => true\n     *\n     * _.isNumber(Infinity);\n     * // => true\n     *\n     * _.isNumber('3');\n     * // => false\n     */\n    function isNumber(value) {\n      return typeof value == 'number' ||\n        (isObjectLike(value) && baseGetTag(value) == numberTag);\n    }\n\n    /**\n     * Checks if `value` is a plain object, that is, an object created by the\n     * `Object` constructor or one with a `[[Prototype]]` of `null`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.8.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * _.isPlainObject(new Foo);\n     * // => false\n     *\n     * _.isPlainObject([1, 2, 3]);\n     * // => false\n     *\n     * _.isPlainObject({ 'x': 0, 'y': 0 });\n     * // => true\n     *\n     * _.isPlainObject(Object.create(null));\n     * // => true\n     */\n    function isPlainObject(value) {\n      if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n        return false;\n      }\n      var proto = getPrototype(value);\n      if (proto === null) {\n        return true;\n      }\n      var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n      return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n        funcToString.call(Ctor) == objectCtorString;\n    }\n\n    /**\n     * Checks if `value` is classified as a `RegExp` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.1.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a regexp, else `false`.\n     * @example\n     *\n     * _.isRegExp(/abc/);\n     * // => true\n     *\n     * _.isRegExp('/abc/');\n     * // => false\n     */\n    var isRegExp = nodeIsRegExp ? baseUnary(nodeIsRegExp) : baseIsRegExp;\n\n    /**\n     * Checks if `value` is a safe integer. An integer is safe if it's an IEEE-754\n     * double precision number which isn't the result of a rounded unsafe integer.\n     *\n     * **Note:** This method is based on\n     * [`Number.isSafeInteger`](https://mdn.io/Number/isSafeInteger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a safe integer, else `false`.\n     * @example\n     *\n     * _.isSafeInteger(3);\n     * // => true\n     *\n     * _.isSafeInteger(Number.MIN_VALUE);\n     * // => false\n     *\n     * _.isSafeInteger(Infinity);\n     * // => false\n     *\n     * _.isSafeInteger('3');\n     * // => false\n     */\n    function isSafeInteger(value) {\n      return isInteger(value) && value >= -MAX_SAFE_INTEGER && value <= MAX_SAFE_INTEGER;\n    }\n\n    /**\n     * Checks if `value` is classified as a `Set` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n     * @example\n     *\n     * _.isSet(new Set);\n     * // => true\n     *\n     * _.isSet(new WeakSet);\n     * // => false\n     */\n    var isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\n    /**\n     * Checks if `value` is classified as a `String` primitive or object.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n     * @example\n     *\n     * _.isString('abc');\n     * // => true\n     *\n     * _.isString(1);\n     * // => false\n     */\n    function isString(value) {\n      return typeof value == 'string' ||\n        (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a `Symbol` primitive or object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n     * @example\n     *\n     * _.isSymbol(Symbol.iterator);\n     * // => true\n     *\n     * _.isSymbol('abc');\n     * // => false\n     */\n    function isSymbol(value) {\n      return typeof value == 'symbol' ||\n        (isObjectLike(value) && baseGetTag(value) == symbolTag);\n    }\n\n    /**\n     * Checks if `value` is classified as a typed array.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n     * @example\n     *\n     * _.isTypedArray(new Uint8Array);\n     * // => true\n     *\n     * _.isTypedArray([]);\n     * // => false\n     */\n    var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\n    /**\n     * Checks if `value` is `undefined`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n     * @example\n     *\n     * _.isUndefined(void 0);\n     * // => true\n     *\n     * _.isUndefined(null);\n     * // => false\n     */\n    function isUndefined(value) {\n      return value === undefined;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakMap` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak map, else `false`.\n     * @example\n     *\n     * _.isWeakMap(new WeakMap);\n     * // => true\n     *\n     * _.isWeakMap(new Map);\n     * // => false\n     */\n    function isWeakMap(value) {\n      return isObjectLike(value) && getTag(value) == weakMapTag;\n    }\n\n    /**\n     * Checks if `value` is classified as a `WeakSet` object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.3.0\n     * @category Lang\n     * @param {*} value The value to check.\n     * @returns {boolean} Returns `true` if `value` is a weak set, else `false`.\n     * @example\n     *\n     * _.isWeakSet(new WeakSet);\n     * // => true\n     *\n     * _.isWeakSet(new Set);\n     * // => false\n     */\n    function isWeakSet(value) {\n      return isObjectLike(value) && baseGetTag(value) == weakSetTag;\n    }\n\n    /**\n     * Checks if `value` is less than `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than `other`,\n     *  else `false`.\n     * @see _.gt\n     * @example\n     *\n     * _.lt(1, 3);\n     * // => true\n     *\n     * _.lt(3, 3);\n     * // => false\n     *\n     * _.lt(3, 1);\n     * // => false\n     */\n    var lt = createRelationalOperation(baseLt);\n\n    /**\n     * Checks if `value` is less than or equal to `other`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.9.0\n     * @category Lang\n     * @param {*} value The value to compare.\n     * @param {*} other The other value to compare.\n     * @returns {boolean} Returns `true` if `value` is less than or equal to\n     *  `other`, else `false`.\n     * @see _.gte\n     * @example\n     *\n     * _.lte(1, 3);\n     * // => true\n     *\n     * _.lte(3, 3);\n     * // => true\n     *\n     * _.lte(3, 1);\n     * // => false\n     */\n    var lte = createRelationalOperation(function(value, other) {\n      return value <= other;\n    });\n\n    /**\n     * Converts `value` to an array.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the converted array.\n     * @example\n     *\n     * _.toArray({ 'a': 1, 'b': 2 });\n     * // => [1, 2]\n     *\n     * _.toArray('abc');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toArray(1);\n     * // => []\n     *\n     * _.toArray(null);\n     * // => []\n     */\n    function toArray(value) {\n      if (!value) {\n        return [];\n      }\n      if (isArrayLike(value)) {\n        return isString(value) ? stringToArray(value) : copyArray(value);\n      }\n      if (symIterator && value[symIterator]) {\n        return iteratorToArray(value[symIterator]());\n      }\n      var tag = getTag(value),\n          func = tag == mapTag ? mapToArray : (tag == setTag ? setToArray : values);\n\n      return func(value);\n    }\n\n    /**\n     * Converts `value` to a finite number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.12.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted number.\n     * @example\n     *\n     * _.toFinite(3.2);\n     * // => 3.2\n     *\n     * _.toFinite(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toFinite(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toFinite('3.2');\n     * // => 3.2\n     */\n    function toFinite(value) {\n      if (!value) {\n        return value === 0 ? value : 0;\n      }\n      value = toNumber(value);\n      if (value === INFINITY || value === -INFINITY) {\n        var sign = (value < 0 ? -1 : 1);\n        return sign * MAX_INTEGER;\n      }\n      return value === value ? value : 0;\n    }\n\n    /**\n     * Converts `value` to an integer.\n     *\n     * **Note:** This method is loosely based on\n     * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toInteger(3.2);\n     * // => 3\n     *\n     * _.toInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toInteger(Infinity);\n     * // => 1.7976931348623157e+308\n     *\n     * _.toInteger('3.2');\n     * // => 3\n     */\n    function toInteger(value) {\n      var result = toFinite(value),\n          remainder = result % 1;\n\n      return result === result ? (remainder ? result - remainder : result) : 0;\n    }\n\n    /**\n     * Converts `value` to an integer suitable for use as the length of an\n     * array-like object.\n     *\n     * **Note:** This method is based on\n     * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toLength(3.2);\n     * // => 3\n     *\n     * _.toLength(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toLength(Infinity);\n     * // => 4294967295\n     *\n     * _.toLength('3.2');\n     * // => 3\n     */\n    function toLength(value) {\n      return value ? baseClamp(toInteger(value), 0, MAX_ARRAY_LENGTH) : 0;\n    }\n\n    /**\n     * Converts `value` to a number.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to process.\n     * @returns {number} Returns the number.\n     * @example\n     *\n     * _.toNumber(3.2);\n     * // => 3.2\n     *\n     * _.toNumber(Number.MIN_VALUE);\n     * // => 5e-324\n     *\n     * _.toNumber(Infinity);\n     * // => Infinity\n     *\n     * _.toNumber('3.2');\n     * // => 3.2\n     */\n    function toNumber(value) {\n      if (typeof value == 'number') {\n        return value;\n      }\n      if (isSymbol(value)) {\n        return NAN;\n      }\n      if (isObject(value)) {\n        var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n        value = isObject(other) ? (other + '') : other;\n      }\n      if (typeof value != 'string') {\n        return value === 0 ? value : +value;\n      }\n      value = baseTrim(value);\n      var isBinary = reIsBinary.test(value);\n      return (isBinary || reIsOctal.test(value))\n        ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n        : (reIsBadHex.test(value) ? NAN : +value);\n    }\n\n    /**\n     * Converts `value` to a plain object flattening inherited enumerable string\n     * keyed properties of `value` to own properties of the plain object.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {Object} Returns the converted plain object.\n     * @example\n     *\n     * function Foo() {\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.assign({ 'a': 1 }, new Foo);\n     * // => { 'a': 1, 'b': 2 }\n     *\n     * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n     * // => { 'a': 1, 'b': 2, 'c': 3 }\n     */\n    function toPlainObject(value) {\n      return copyObject(value, keysIn(value));\n    }\n\n    /**\n     * Converts `value` to a safe integer. A safe integer can be compared and\n     * represented correctly.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.toSafeInteger(3.2);\n     * // => 3\n     *\n     * _.toSafeInteger(Number.MIN_VALUE);\n     * // => 0\n     *\n     * _.toSafeInteger(Infinity);\n     * // => 9007199254740991\n     *\n     * _.toSafeInteger('3.2');\n     * // => 3\n     */\n    function toSafeInteger(value) {\n      return value\n        ? baseClamp(toInteger(value), -MAX_SAFE_INTEGER, MAX_SAFE_INTEGER)\n        : (value === 0 ? value : 0);\n    }\n\n    /**\n     * Converts `value` to a string. An empty string is returned for `null`\n     * and `undefined` values. The sign of `-0` is preserved.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Lang\n     * @param {*} value The value to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.toString(null);\n     * // => ''\n     *\n     * _.toString(-0);\n     * // => '-0'\n     *\n     * _.toString([1, 2, 3]);\n     * // => '1,2,3'\n     */\n    function toString(value) {\n      return value == null ? '' : baseToString(value);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Assigns own enumerable string keyed properties of source objects to the\n     * destination object. Source objects are applied from left to right.\n     * Subsequent sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object` and is loosely based on\n     * [`Object.assign`](https://mdn.io/Object/assign).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assignIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assign({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var assign = createAssigner(function(object, source) {\n      if (isPrototype(source) || isArrayLike(source)) {\n        copyObject(source, keys(source), object);\n        return;\n      }\n      for (var key in source) {\n        if (hasOwnProperty.call(source, key)) {\n          assignValue(object, key, source[key]);\n        }\n      }\n    });\n\n    /**\n     * This method is like `_.assign` except that it iterates over own and\n     * inherited source properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extend\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.assign\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     * }\n     *\n     * function Bar() {\n     *   this.c = 3;\n     * }\n     *\n     * Foo.prototype.b = 2;\n     * Bar.prototype.d = 4;\n     *\n     * _.assignIn({ 'a': 0 }, new Foo, new Bar);\n     * // => { 'a': 1, 'b': 2, 'c': 3, 'd': 4 }\n     */\n    var assignIn = createAssigner(function(object, source) {\n      copyObject(source, keysIn(source), object);\n    });\n\n    /**\n     * This method is like `_.assignIn` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias extendWith\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignInWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignInWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keysIn(source), object, customizer);\n    });\n\n    /**\n     * This method is like `_.assign` except that it accepts `customizer`\n     * which is invoked to produce the assigned values. If `customizer` returns\n     * `undefined`, assignment is handled by the method instead. The `customizer`\n     * is invoked with five arguments: (objValue, srcValue, key, object, source).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @see _.assignInWith\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   return _.isUndefined(objValue) ? srcValue : objValue;\n     * }\n     *\n     * var defaults = _.partialRight(_.assignWith, customizer);\n     *\n     * defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var assignWith = createAssigner(function(object, source, srcIndex, customizer) {\n      copyObject(source, keys(source), object, customizer);\n    });\n\n    /**\n     * Creates an array of values corresponding to `paths` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Array} Returns the picked values.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }, 4] };\n     *\n     * _.at(object, ['a[0].b.c', 'a[1]']);\n     * // => [3, 4]\n     */\n    var at = flatRest(baseAt);\n\n    /**\n     * Creates an object that inherits from the `prototype` object. If a\n     * `properties` object is given, its own enumerable string keyed properties\n     * are assigned to the created object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Object\n     * @param {Object} prototype The object to inherit from.\n     * @param {Object} [properties] The properties to assign to the object.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * function Shape() {\n     *   this.x = 0;\n     *   this.y = 0;\n     * }\n     *\n     * function Circle() {\n     *   Shape.call(this);\n     * }\n     *\n     * Circle.prototype = _.create(Shape.prototype, {\n     *   'constructor': Circle\n     * });\n     *\n     * var circle = new Circle;\n     * circle instanceof Circle;\n     * // => true\n     *\n     * circle instanceof Shape;\n     * // => true\n     */\n    function create(prototype, properties) {\n      var result = baseCreate(prototype);\n      return properties == null ? result : baseAssign(result, properties);\n    }\n\n    /**\n     * Assigns own and inherited enumerable string keyed properties of source\n     * objects to the destination object for all destination properties that\n     * resolve to `undefined`. Source objects are applied from left to right.\n     * Once a property is set, additional values of the same property are ignored.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaultsDeep\n     * @example\n     *\n     * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n     * // => { 'a': 1, 'b': 2 }\n     */\n    var defaults = baseRest(function(object, sources) {\n      object = Object(object);\n\n      var index = -1;\n      var length = sources.length;\n      var guard = length > 2 ? sources[2] : undefined;\n\n      if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n        length = 1;\n      }\n\n      while (++index < length) {\n        var source = sources[index];\n        var props = keysIn(source);\n        var propsIndex = -1;\n        var propsLength = props.length;\n\n        while (++propsIndex < propsLength) {\n          var key = props[propsIndex];\n          var value = object[key];\n\n          if (value === undefined ||\n              (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n            object[key] = source[key];\n          }\n        }\n      }\n\n      return object;\n    });\n\n    /**\n     * This method is like `_.defaults` except that it recursively assigns\n     * default properties.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @see _.defaults\n     * @example\n     *\n     * _.defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });\n     * // => { 'a': { 'b': 2, 'c': 3 } }\n     */\n    var defaultsDeep = baseRest(function(args) {\n      args.push(undefined, customDefaultsMerge);\n      return apply(mergeWith, undefined, args);\n    });\n\n    /**\n     * This method is like `_.find` except that it returns the key of the first\n     * element `predicate` returns truthy for instead of the element itself.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findKey(users, function(o) { return o.age < 40; });\n     * // => 'barney' (iteration order is not guaranteed)\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findKey(users, { 'age': 1, 'active': true });\n     * // => 'pebbles'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findKey(users, 'active');\n     * // => 'barney'\n     */\n    function findKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwn);\n    }\n\n    /**\n     * This method is like `_.findKey` except that it iterates over elements of\n     * a collection in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @param {Function} [predicate=_.identity] The function invoked per iteration.\n     * @returns {string|undefined} Returns the key of the matched element,\n     *  else `undefined`.\n     * @example\n     *\n     * var users = {\n     *   'barney':  { 'age': 36, 'active': true },\n     *   'fred':    { 'age': 40, 'active': false },\n     *   'pebbles': { 'age': 1,  'active': true }\n     * };\n     *\n     * _.findLastKey(users, function(o) { return o.age < 40; });\n     * // => returns 'pebbles' assuming `_.findKey` returns 'barney'\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.findLastKey(users, { 'age': 36, 'active': true });\n     * // => 'barney'\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.findLastKey(users, ['active', false]);\n     * // => 'fred'\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.findLastKey(users, 'active');\n     * // => 'pebbles'\n     */\n    function findLastKey(object, predicate) {\n      return baseFindKey(object, getIteratee(predicate, 3), baseForOwnRight);\n    }\n\n    /**\n     * Iterates over own and inherited enumerable string keyed properties of an\n     * object and invokes `iteratee` for each property. The iteratee is invoked\n     * with three arguments: (value, key, object). Iteratee functions may exit\n     * iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forInRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forIn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n     */\n    function forIn(object, iteratee) {\n      return object == null\n        ? object\n        : baseFor(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * This method is like `_.forIn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forInRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'c', 'b', then 'a' assuming `_.forIn` logs 'a', 'b', then 'c'.\n     */\n    function forInRight(object, iteratee) {\n      return object == null\n        ? object\n        : baseForRight(object, getIteratee(iteratee, 3), keysIn);\n    }\n\n    /**\n     * Iterates over own enumerable string keyed properties of an object and\n     * invokes `iteratee` for each property. The iteratee is invoked with three\n     * arguments: (value, key, object). Iteratee functions may exit iteration\n     * early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwnRight\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwn(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n     */\n    function forOwn(object, iteratee) {\n      return object && baseForOwn(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * This method is like `_.forOwn` except that it iterates over properties of\n     * `object` in the opposite order.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.0.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns `object`.\n     * @see _.forOwn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.forOwnRight(new Foo, function(value, key) {\n     *   console.log(key);\n     * });\n     * // => Logs 'b' then 'a' assuming `_.forOwn` logs 'a' then 'b'.\n     */\n    function forOwnRight(object, iteratee) {\n      return object && baseForOwnRight(object, getIteratee(iteratee, 3));\n    }\n\n    /**\n     * Creates an array of function property names from own enumerable properties\n     * of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functionsIn\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functions(new Foo);\n     * // => ['a', 'b']\n     */\n    function functions(object) {\n      return object == null ? [] : baseFunctions(object, keys(object));\n    }\n\n    /**\n     * Creates an array of function property names from own and inherited\n     * enumerable properties of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to inspect.\n     * @returns {Array} Returns the function names.\n     * @see _.functions\n     * @example\n     *\n     * function Foo() {\n     *   this.a = _.constant('a');\n     *   this.b = _.constant('b');\n     * }\n     *\n     * Foo.prototype.c = _.constant('c');\n     *\n     * _.functionsIn(new Foo);\n     * // => ['a', 'b', 'c']\n     */\n    function functionsIn(object) {\n      return object == null ? [] : baseFunctions(object, keysIn(object));\n    }\n\n    /**\n     * Gets the value at `path` of `object`. If the resolved value is\n     * `undefined`, the `defaultValue` is returned in its place.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.get(object, 'a[0].b.c');\n     * // => 3\n     *\n     * _.get(object, ['a', '0', 'b', 'c']);\n     * // => 3\n     *\n     * _.get(object, 'a.b.c', 'default');\n     * // => 'default'\n     */\n    function get(object, path, defaultValue) {\n      var result = object == null ? undefined : baseGet(object, path);\n      return result === undefined ? defaultValue : result;\n    }\n\n    /**\n     * Checks if `path` is a direct property of `object`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = { 'a': { 'b': 2 } };\n     * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.has(object, 'a');\n     * // => true\n     *\n     * _.has(object, 'a.b');\n     * // => true\n     *\n     * _.has(object, ['a', 'b']);\n     * // => true\n     *\n     * _.has(other, 'a');\n     * // => false\n     */\n    function has(object, path) {\n      return object != null && hasPath(object, path, baseHas);\n    }\n\n    /**\n     * Checks if `path` is a direct or inherited property of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path to check.\n     * @returns {boolean} Returns `true` if `path` exists, else `false`.\n     * @example\n     *\n     * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n     *\n     * _.hasIn(object, 'a');\n     * // => true\n     *\n     * _.hasIn(object, 'a.b');\n     * // => true\n     *\n     * _.hasIn(object, ['a', 'b']);\n     * // => true\n     *\n     * _.hasIn(object, 'b');\n     * // => false\n     */\n    function hasIn(object, path) {\n      return object != null && hasPath(object, path, baseHasIn);\n    }\n\n    /**\n     * Creates an object composed of the inverted keys and values of `object`.\n     * If `object` contains duplicate values, subsequent values overwrite\n     * property assignments of previous values.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invert(object);\n     * // => { '1': 'c', '2': 'b' }\n     */\n    var invert = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      result[value] = key;\n    }, constant(identity));\n\n    /**\n     * This method is like `_.invert` except that the inverted object is generated\n     * from the results of running each element of `object` thru `iteratee`. The\n     * corresponding inverted value of each inverted key is an array of keys\n     * responsible for generating the inverted value. The iteratee is invoked\n     * with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.1.0\n     * @category Object\n     * @param {Object} object The object to invert.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {Object} Returns the new inverted object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': 2, 'c': 1 };\n     *\n     * _.invertBy(object);\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     *\n     * _.invertBy(object, function(value) {\n     *   return 'group' + value;\n     * });\n     * // => { 'group1': ['a', 'c'], 'group2': ['b'] }\n     */\n    var invertBy = createInverter(function(result, value, key) {\n      if (value != null &&\n          typeof value.toString != 'function') {\n        value = nativeObjectToString.call(value);\n      }\n\n      if (hasOwnProperty.call(result, value)) {\n        result[value].push(key);\n      } else {\n        result[value] = [key];\n      }\n    }, getIteratee);\n\n    /**\n     * Invokes the method at `path` of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {*} Returns the result of the invoked method.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': [1, 2, 3, 4] } }] };\n     *\n     * _.invoke(object, 'a[0].b.c.slice', 1, 3);\n     * // => [2, 3]\n     */\n    var invoke = baseRest(baseInvoke);\n\n    /**\n     * Creates an array of the own enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects. See the\n     * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n     * for more details.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keys(new Foo);\n     * // => ['a', 'b'] (iteration order is not guaranteed)\n     *\n     * _.keys('hi');\n     * // => ['0', '1']\n     */\n    function keys(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable property names of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property names.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.keysIn(new Foo);\n     * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n     */\n    function keysIn(object) {\n      return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n    }\n\n    /**\n     * The opposite of `_.mapValues`; this method creates an object with the\n     * same values as `object` and keys generated by running each own enumerable\n     * string keyed property of `object` thru `iteratee`. The iteratee is invoked\n     * with three arguments: (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.8.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapValues\n     * @example\n     *\n     * _.mapKeys({ 'a': 1, 'b': 2 }, function(value, key) {\n     *   return key + value;\n     * });\n     * // => { 'a1': 1, 'b2': 2 }\n     */\n    function mapKeys(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, iteratee(value, key, object), value);\n      });\n      return result;\n    }\n\n    /**\n     * Creates an object with the same keys as `object` and values generated\n     * by running each own enumerable string keyed property of `object` thru\n     * `iteratee`. The iteratee is invoked with three arguments:\n     * (value, key, object).\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Object} Returns the new mapped object.\n     * @see _.mapKeys\n     * @example\n     *\n     * var users = {\n     *   'fred':    { 'user': 'fred',    'age': 40 },\n     *   'pebbles': { 'user': 'pebbles', 'age': 1 }\n     * };\n     *\n     * _.mapValues(users, function(o) { return o.age; });\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.mapValues(users, 'age');\n     * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n     */\n    function mapValues(object, iteratee) {\n      var result = {};\n      iteratee = getIteratee(iteratee, 3);\n\n      baseForOwn(object, function(value, key, object) {\n        baseAssignValue(result, key, iteratee(value, key, object));\n      });\n      return result;\n    }\n\n    /**\n     * This method is like `_.assign` except that it recursively merges own and\n     * inherited enumerable string keyed properties of source objects into the\n     * destination object. Source properties that resolve to `undefined` are\n     * skipped if a destination value exists. Array and plain object properties\n     * are merged recursively. Other objects and value types are overridden by\n     * assignment. Source objects are applied from left to right. Subsequent\n     * sources overwrite property assignments of previous sources.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.5.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} [sources] The source objects.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {\n     *   'a': [{ 'b': 2 }, { 'd': 4 }]\n     * };\n     *\n     * var other = {\n     *   'a': [{ 'c': 3 }, { 'e': 5 }]\n     * };\n     *\n     * _.merge(object, other);\n     * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n     */\n    var merge = createAssigner(function(object, source, srcIndex) {\n      baseMerge(object, source, srcIndex);\n    });\n\n    /**\n     * This method is like `_.merge` except that it accepts `customizer` which\n     * is invoked to produce the merged values of the destination and source\n     * properties. If `customizer` returns `undefined`, merging is handled by the\n     * method instead. The `customizer` is invoked with six arguments:\n     * (objValue, srcValue, key, object, source, stack).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The destination object.\n     * @param {...Object} sources The source objects.\n     * @param {Function} customizer The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * function customizer(objValue, srcValue) {\n     *   if (_.isArray(objValue)) {\n     *     return objValue.concat(srcValue);\n     *   }\n     * }\n     *\n     * var object = { 'a': [1], 'b': [2] };\n     * var other = { 'a': [3], 'b': [4] };\n     *\n     * _.mergeWith(object, other, customizer);\n     * // => { 'a': [1, 3], 'b': [2, 4] }\n     */\n    var mergeWith = createAssigner(function(object, source, srcIndex, customizer) {\n      baseMerge(object, source, srcIndex, customizer);\n    });\n\n    /**\n     * The opposite of `_.pick`; this method creates an object composed of the\n     * own and inherited enumerable property paths of `object` that are not omitted.\n     *\n     * **Note:** This method is considerably slower than `_.pick`.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to omit.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omit(object, ['a', 'c']);\n     * // => { 'b': '2' }\n     */\n    var omit = flatRest(function(object, paths) {\n      var result = {};\n      if (object == null) {\n        return result;\n      }\n      var isDeep = false;\n      paths = arrayMap(paths, function(path) {\n        path = castPath(path, object);\n        isDeep || (isDeep = path.length > 1);\n        return path;\n      });\n      copyObject(object, getAllKeysIn(object), result);\n      if (isDeep) {\n        result = baseClone(result, CLONE_DEEP_FLAG | CLONE_FLAT_FLAG | CLONE_SYMBOLS_FLAG, customOmitClone);\n      }\n      var length = paths.length;\n      while (length--) {\n        baseUnset(result, paths[length]);\n      }\n      return result;\n    });\n\n    /**\n     * The opposite of `_.pickBy`; this method creates an object composed of\n     * the own and inherited enumerable string keyed properties of `object` that\n     * `predicate` doesn't return truthy for. The predicate is invoked with two\n     * arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.omitBy(object, _.isNumber);\n     * // => { 'b': '2' }\n     */\n    function omitBy(object, predicate) {\n      return pickBy(object, negate(getIteratee(predicate)));\n    }\n\n    /**\n     * Creates an object composed of the picked `object` properties.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {...(string|string[])} [paths] The property paths to pick.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pick(object, ['a', 'c']);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    var pick = flatRest(function(object, paths) {\n      return object == null ? {} : basePick(object, paths);\n    });\n\n    /**\n     * Creates an object composed of the `object` properties `predicate` returns\n     * truthy for. The predicate is invoked with two arguments: (value, key).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The source object.\n     * @param {Function} [predicate=_.identity] The function invoked per property.\n     * @returns {Object} Returns the new object.\n     * @example\n     *\n     * var object = { 'a': 1, 'b': '2', 'c': 3 };\n     *\n     * _.pickBy(object, _.isNumber);\n     * // => { 'a': 1, 'c': 3 }\n     */\n    function pickBy(object, predicate) {\n      if (object == null) {\n        return {};\n      }\n      var props = arrayMap(getAllKeysIn(object), function(prop) {\n        return [prop];\n      });\n      predicate = getIteratee(predicate);\n      return basePickBy(object, props, function(value, path) {\n        return predicate(value, path[0]);\n      });\n    }\n\n    /**\n     * This method is like `_.get` except that if the resolved value is a\n     * function it's invoked with the `this` binding of its parent object and\n     * its result is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @param {Array|string} path The path of the property to resolve.\n     * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c1': 3, 'c2': _.constant(4) } }] };\n     *\n     * _.result(object, 'a[0].b.c1');\n     * // => 3\n     *\n     * _.result(object, 'a[0].b.c2');\n     * // => 4\n     *\n     * _.result(object, 'a[0].b.c3', 'default');\n     * // => 'default'\n     *\n     * _.result(object, 'a[0].b.c3', _.constant('default'));\n     * // => 'default'\n     */\n    function result(object, path, defaultValue) {\n      path = castPath(path, object);\n\n      var index = -1,\n          length = path.length;\n\n      // Ensure the loop is entered when path is empty.\n      if (!length) {\n        length = 1;\n        object = undefined;\n      }\n      while (++index < length) {\n        var value = object == null ? undefined : object[toKey(path[index])];\n        if (value === undefined) {\n          index = length;\n          value = defaultValue;\n        }\n        object = isFunction(value) ? value.call(object) : value;\n      }\n      return object;\n    }\n\n    /**\n     * Sets the value at `path` of `object`. If a portion of `path` doesn't exist,\n     * it's created. Arrays are created for missing index properties while objects\n     * are created for all other missing properties. Use `_.setWith` to customize\n     * `path` creation.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.set(object, 'a[0].b.c', 4);\n     * console.log(object.a[0].b.c);\n     * // => 4\n     *\n     * _.set(object, ['x', '0', 'y', 'z'], 5);\n     * console.log(object.x[0].y.z);\n     * // => 5\n     */\n    function set(object, path, value) {\n      return object == null ? object : baseSet(object, path, value);\n    }\n\n    /**\n     * This method is like `_.set` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {*} value The value to set.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.setWith(object, '[0][1]', 'a', Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function setWith(object, path, value, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseSet(object, path, value, customizer);\n    }\n\n    /**\n     * Creates an array of own enumerable string keyed-value pairs for `object`\n     * which can be consumed by `_.fromPairs`. If `object` is a map or set, its\n     * entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entries\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairs(new Foo);\n     * // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)\n     */\n    var toPairs = createToPairs(keys);\n\n    /**\n     * Creates an array of own and inherited enumerable string keyed-value pairs\n     * for `object` which can be consumed by `_.fromPairs`. If `object` is a map\n     * or set, its entries are returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @alias entriesIn\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the key-value pairs.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.toPairsIn(new Foo);\n     * // => [['a', 1], ['b', 2], ['c', 3]] (iteration order is not guaranteed)\n     */\n    var toPairsIn = createToPairs(keysIn);\n\n    /**\n     * An alternative to `_.reduce`; this method transforms `object` to a new\n     * `accumulator` object which is the result of running each of its own\n     * enumerable string keyed properties thru `iteratee`, with each invocation\n     * potentially mutating the `accumulator` object. If `accumulator` is not\n     * provided, a new object with the same `[[Prototype]]` will be used. The\n     * iteratee is invoked with four arguments: (accumulator, value, key, object).\n     * Iteratee functions may exit iteration early by explicitly returning `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.3.0\n     * @category Object\n     * @param {Object} object The object to iterate over.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @param {*} [accumulator] The custom accumulator value.\n     * @returns {*} Returns the accumulated value.\n     * @example\n     *\n     * _.transform([2, 3, 4], function(result, n) {\n     *   result.push(n *= n);\n     *   return n % 2 == 0;\n     * }, []);\n     * // => [4, 9]\n     *\n     * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n     *   (result[value] || (result[value] = [])).push(key);\n     * }, {});\n     * // => { '1': ['a', 'c'], '2': ['b'] }\n     */\n    function transform(object, iteratee, accumulator) {\n      var isArr = isArray(object),\n          isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n      iteratee = getIteratee(iteratee, 4);\n      if (accumulator == null) {\n        var Ctor = object && object.constructor;\n        if (isArrLike) {\n          accumulator = isArr ? new Ctor : [];\n        }\n        else if (isObject(object)) {\n          accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n        }\n        else {\n          accumulator = {};\n        }\n      }\n      (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n        return iteratee(accumulator, value, index, object);\n      });\n      return accumulator;\n    }\n\n    /**\n     * Removes the property at `path` of `object`.\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to unset.\n     * @returns {boolean} Returns `true` if the property is deleted, else `false`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 7 } }] };\n     * _.unset(object, 'a[0].b.c');\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     *\n     * _.unset(object, ['a', '0', 'b', 'c']);\n     * // => true\n     *\n     * console.log(object);\n     * // => { 'a': [{ 'b': {} }] };\n     */\n    function unset(object, path) {\n      return object == null ? true : baseUnset(object, path);\n    }\n\n    /**\n     * This method is like `_.set` except that accepts `updater` to produce the\n     * value to set. Use `_.updateWith` to customize `path` creation. The `updater`\n     * is invoked with one argument: (value).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n     *\n     * _.update(object, 'a[0].b.c', function(n) { return n * n; });\n     * console.log(object.a[0].b.c);\n     * // => 9\n     *\n     * _.update(object, 'x[0].y.z', function(n) { return n ? n + 1 : 0; });\n     * console.log(object.x[0].y.z);\n     * // => 0\n     */\n    function update(object, path, updater) {\n      return object == null ? object : baseUpdate(object, path, castFunction(updater));\n    }\n\n    /**\n     * This method is like `_.update` except that it accepts `customizer` which is\n     * invoked to produce the objects of `path`.  If `customizer` returns `undefined`\n     * path creation is handled by the method instead. The `customizer` is invoked\n     * with three arguments: (nsValue, key, nsObject).\n     *\n     * **Note:** This method mutates `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.6.0\n     * @category Object\n     * @param {Object} object The object to modify.\n     * @param {Array|string} path The path of the property to set.\n     * @param {Function} updater The function to produce the updated value.\n     * @param {Function} [customizer] The function to customize assigned values.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var object = {};\n     *\n     * _.updateWith(object, '[0][1]', _.constant('a'), Object);\n     * // => { '0': { '1': 'a' } }\n     */\n    function updateWith(object, path, updater, customizer) {\n      customizer = typeof customizer == 'function' ? customizer : undefined;\n      return object == null ? object : baseUpdate(object, path, castFunction(updater), customizer);\n    }\n\n    /**\n     * Creates an array of the own enumerable string keyed property values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.values(new Foo);\n     * // => [1, 2] (iteration order is not guaranteed)\n     *\n     * _.values('hi');\n     * // => ['h', 'i']\n     */\n    function values(object) {\n      return object == null ? [] : baseValues(object, keys(object));\n    }\n\n    /**\n     * Creates an array of the own and inherited enumerable string keyed property\n     * values of `object`.\n     *\n     * **Note:** Non-object values are coerced to objects.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Object\n     * @param {Object} object The object to query.\n     * @returns {Array} Returns the array of property values.\n     * @example\n     *\n     * function Foo() {\n     *   this.a = 1;\n     *   this.b = 2;\n     * }\n     *\n     * Foo.prototype.c = 3;\n     *\n     * _.valuesIn(new Foo);\n     * // => [1, 2, 3] (iteration order is not guaranteed)\n     */\n    function valuesIn(object) {\n      return object == null ? [] : baseValues(object, keysIn(object));\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Clamps `number` within the inclusive `lower` and `upper` bounds.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Number\n     * @param {number} number The number to clamp.\n     * @param {number} [lower] The lower bound.\n     * @param {number} upper The upper bound.\n     * @returns {number} Returns the clamped number.\n     * @example\n     *\n     * _.clamp(-10, -5, 5);\n     * // => -5\n     *\n     * _.clamp(10, -5, 5);\n     * // => 5\n     */\n    function clamp(number, lower, upper) {\n      if (upper === undefined) {\n        upper = lower;\n        lower = undefined;\n      }\n      if (upper !== undefined) {\n        upper = toNumber(upper);\n        upper = upper === upper ? upper : 0;\n      }\n      if (lower !== undefined) {\n        lower = toNumber(lower);\n        lower = lower === lower ? lower : 0;\n      }\n      return baseClamp(toNumber(number), lower, upper);\n    }\n\n    /**\n     * Checks if `n` is between `start` and up to, but not including, `end`. If\n     * `end` is not specified, it's set to `start` with `start` then set to `0`.\n     * If `start` is greater than `end` the params are swapped to support\n     * negative ranges.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.3.0\n     * @category Number\n     * @param {number} number The number to check.\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @returns {boolean} Returns `true` if `number` is in the range, else `false`.\n     * @see _.range, _.rangeRight\n     * @example\n     *\n     * _.inRange(3, 2, 4);\n     * // => true\n     *\n     * _.inRange(4, 8);\n     * // => true\n     *\n     * _.inRange(4, 2);\n     * // => false\n     *\n     * _.inRange(2, 2);\n     * // => false\n     *\n     * _.inRange(1.2, 2);\n     * // => true\n     *\n     * _.inRange(5.2, 4);\n     * // => false\n     *\n     * _.inRange(-3, -2, -6);\n     * // => true\n     */\n    function inRange(number, start, end) {\n      start = toFinite(start);\n      if (end === undefined) {\n        end = start;\n        start = 0;\n      } else {\n        end = toFinite(end);\n      }\n      number = toNumber(number);\n      return baseInRange(number, start, end);\n    }\n\n    /**\n     * Produces a random number between the inclusive `lower` and `upper` bounds.\n     * If only one argument is provided a number between `0` and the given number\n     * is returned. If `floating` is `true`, or either `lower` or `upper` are\n     * floats, a floating-point number is returned instead of an integer.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @memberOf _\n     * @since 0.7.0\n     * @category Number\n     * @param {number} [lower=0] The lower bound.\n     * @param {number} [upper=1] The upper bound.\n     * @param {boolean} [floating] Specify returning a floating-point number.\n     * @returns {number} Returns the random number.\n     * @example\n     *\n     * _.random(0, 5);\n     * // => an integer between 0 and 5\n     *\n     * _.random(5);\n     * // => also an integer between 0 and 5\n     *\n     * _.random(5, true);\n     * // => a floating-point number between 0 and 5\n     *\n     * _.random(1.2, 5.2);\n     * // => a floating-point number between 1.2 and 5.2\n     */\n    function random(lower, upper, floating) {\n      if (floating && typeof floating != 'boolean' && isIterateeCall(lower, upper, floating)) {\n        upper = floating = undefined;\n      }\n      if (floating === undefined) {\n        if (typeof upper == 'boolean') {\n          floating = upper;\n          upper = undefined;\n        }\n        else if (typeof lower == 'boolean') {\n          floating = lower;\n          lower = undefined;\n        }\n      }\n      if (lower === undefined && upper === undefined) {\n        lower = 0;\n        upper = 1;\n      }\n      else {\n        lower = toFinite(lower);\n        if (upper === undefined) {\n          upper = lower;\n          lower = 0;\n        } else {\n          upper = toFinite(upper);\n        }\n      }\n      if (lower > upper) {\n        var temp = lower;\n        lower = upper;\n        upper = temp;\n      }\n      if (floating || lower % 1 || upper % 1) {\n        var rand = nativeRandom();\n        return nativeMin(lower + (rand * (upper - lower + freeParseFloat('1e-' + ((rand + '').length - 1)))), upper);\n      }\n      return baseRandom(lower, upper);\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Converts `string` to [camel case](https://en.wikipedia.org/wiki/CamelCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the camel cased string.\n     * @example\n     *\n     * _.camelCase('Foo Bar');\n     * // => 'fooBar'\n     *\n     * _.camelCase('--foo-bar--');\n     * // => 'fooBar'\n     *\n     * _.camelCase('__FOO_BAR__');\n     * // => 'fooBar'\n     */\n    var camelCase = createCompounder(function(result, word, index) {\n      word = word.toLowerCase();\n      return result + (index ? capitalize(word) : word);\n    });\n\n    /**\n     * Converts the first character of `string` to upper case and the remaining\n     * to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to capitalize.\n     * @returns {string} Returns the capitalized string.\n     * @example\n     *\n     * _.capitalize('FRED');\n     * // => 'Fred'\n     */\n    function capitalize(string) {\n      return upperFirst(toString(string).toLowerCase());\n    }\n\n    /**\n     * Deburrs `string` by converting\n     * [Latin-1 Supplement](https://en.wikipedia.org/wiki/Latin-1_Supplement_(Unicode_block)#Character_table)\n     * and [Latin Extended-A](https://en.wikipedia.org/wiki/Latin_Extended-A)\n     * letters to basic Latin letters and removing\n     * [combining diacritical marks](https://en.wikipedia.org/wiki/Combining_Diacritical_Marks).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to deburr.\n     * @returns {string} Returns the deburred string.\n     * @example\n     *\n     * _.deburr('déjà vu');\n     * // => 'deja vu'\n     */\n    function deburr(string) {\n      string = toString(string);\n      return string && string.replace(reLatin, deburrLetter).replace(reComboMark, '');\n    }\n\n    /**\n     * Checks if `string` ends with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=string.length] The position to search up to.\n     * @returns {boolean} Returns `true` if `string` ends with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.endsWith('abc', 'c');\n     * // => true\n     *\n     * _.endsWith('abc', 'b');\n     * // => false\n     *\n     * _.endsWith('abc', 'b', 2);\n     * // => true\n     */\n    function endsWith(string, target, position) {\n      string = toString(string);\n      target = baseToString(target);\n\n      var length = string.length;\n      position = position === undefined\n        ? length\n        : baseClamp(toInteger(position), 0, length);\n\n      var end = position;\n      position -= target.length;\n      return position >= 0 && string.slice(position, end) == target;\n    }\n\n    /**\n     * Converts the characters \"&\", \"<\", \">\", '\"', and \"'\" in `string` to their\n     * corresponding HTML entities.\n     *\n     * **Note:** No other characters are escaped. To escape additional\n     * characters use a third-party library like [_he_](https://mths.be/he).\n     *\n     * Though the \">\" character is escaped for symmetry, characters like\n     * \">\" and \"/\" don't need escaping in HTML and have no special meaning\n     * unless they're part of a tag or unquoted attribute value. See\n     * [Mathias Bynens's article](https://mathiasbynens.be/notes/ambiguous-ampersands)\n     * (under \"semi-related fun fact\") for more details.\n     *\n     * When working with HTML you should always\n     * [quote attribute values](http://wonko.com/post/html-escaping) to reduce\n     * XSS vectors.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escape('fred, barney, & pebbles');\n     * // => 'fred, barney, &amp; pebbles'\n     */\n    function escape(string) {\n      string = toString(string);\n      return (string && reHasUnescapedHtml.test(string))\n        ? string.replace(reUnescapedHtml, escapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Escapes the `RegExp` special characters \"^\", \"$\", \"\\\", \".\", \"*\", \"+\",\n     * \"?\", \"(\", \")\", \"[\", \"]\", \"{\", \"}\", and \"|\" in `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to escape.\n     * @returns {string} Returns the escaped string.\n     * @example\n     *\n     * _.escapeRegExp('[lodash](https://lodash.com/)');\n     * // => '\\[lodash\\]\\(https://lodash\\.com/\\)'\n     */\n    function escapeRegExp(string) {\n      string = toString(string);\n      return (string && reHasRegExpChar.test(string))\n        ? string.replace(reRegExpChar, '\\\\$&')\n        : string;\n    }\n\n    /**\n     * Converts `string` to\n     * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the kebab cased string.\n     * @example\n     *\n     * _.kebabCase('Foo Bar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('fooBar');\n     * // => 'foo-bar'\n     *\n     * _.kebabCase('__FOO_BAR__');\n     * // => 'foo-bar'\n     */\n    var kebabCase = createCompounder(function(result, word, index) {\n      return result + (index ? '-' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts `string`, as space separated words, to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.lowerCase('--Foo-Bar--');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('fooBar');\n     * // => 'foo bar'\n     *\n     * _.lowerCase('__FOO_BAR__');\n     * // => 'foo bar'\n     */\n    var lowerCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Converts the first character of `string` to lower case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.lowerFirst('Fred');\n     * // => 'fred'\n     *\n     * _.lowerFirst('FRED');\n     * // => 'fRED'\n     */\n    var lowerFirst = createCaseFirst('toLowerCase');\n\n    /**\n     * Pads `string` on the left and right sides if it's shorter than `length`.\n     * Padding characters are truncated if they can't be evenly divided by `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.pad('abc', 8);\n     * // => '  abc   '\n     *\n     * _.pad('abc', 8, '_-');\n     * // => '_-abc_-_'\n     *\n     * _.pad('abc', 3);\n     * // => 'abc'\n     */\n    function pad(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      if (!length || strLength >= length) {\n        return string;\n      }\n      var mid = (length - strLength) / 2;\n      return (\n        createPadding(nativeFloor(mid), chars) +\n        string +\n        createPadding(nativeCeil(mid), chars)\n      );\n    }\n\n    /**\n     * Pads `string` on the right side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padEnd('abc', 6);\n     * // => 'abc   '\n     *\n     * _.padEnd('abc', 6, '_-');\n     * // => 'abc_-_'\n     *\n     * _.padEnd('abc', 3);\n     * // => 'abc'\n     */\n    function padEnd(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (string + createPadding(length - strLength, chars))\n        : string;\n    }\n\n    /**\n     * Pads `string` on the left side if it's shorter than `length`. Padding\n     * characters are truncated if they exceed `length`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to pad.\n     * @param {number} [length=0] The padding length.\n     * @param {string} [chars=' '] The string used as padding.\n     * @returns {string} Returns the padded string.\n     * @example\n     *\n     * _.padStart('abc', 6);\n     * // => '   abc'\n     *\n     * _.padStart('abc', 6, '_-');\n     * // => '_-_abc'\n     *\n     * _.padStart('abc', 3);\n     * // => 'abc'\n     */\n    function padStart(string, length, chars) {\n      string = toString(string);\n      length = toInteger(length);\n\n      var strLength = length ? stringSize(string) : 0;\n      return (length && strLength < length)\n        ? (createPadding(length - strLength, chars) + string)\n        : string;\n    }\n\n    /**\n     * Converts `string` to an integer of the specified radix. If `radix` is\n     * `undefined` or `0`, a `radix` of `10` is used unless `value` is a\n     * hexadecimal, in which case a `radix` of `16` is used.\n     *\n     * **Note:** This method aligns with the\n     * [ES5 implementation](https://es5.github.io/#x15.1.2.2) of `parseInt`.\n     *\n     * @static\n     * @memberOf _\n     * @since 1.1.0\n     * @category String\n     * @param {string} string The string to convert.\n     * @param {number} [radix=10] The radix to interpret `value` by.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {number} Returns the converted integer.\n     * @example\n     *\n     * _.parseInt('08');\n     * // => 8\n     *\n     * _.map(['6', '08', '10'], _.parseInt);\n     * // => [6, 8, 10]\n     */\n    function parseInt(string, radix, guard) {\n      if (guard || radix == null) {\n        radix = 0;\n      } else if (radix) {\n        radix = +radix;\n      }\n      return nativeParseInt(toString(string).replace(reTrimStart, ''), radix || 0);\n    }\n\n    /**\n     * Repeats the given string `n` times.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to repeat.\n     * @param {number} [n=1] The number of times to repeat the string.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the repeated string.\n     * @example\n     *\n     * _.repeat('*', 3);\n     * // => '***'\n     *\n     * _.repeat('abc', 2);\n     * // => 'abcabc'\n     *\n     * _.repeat('abc', 0);\n     * // => ''\n     */\n    function repeat(string, n, guard) {\n      if ((guard ? isIterateeCall(string, n, guard) : n === undefined)) {\n        n = 1;\n      } else {\n        n = toInteger(n);\n      }\n      return baseRepeat(toString(string), n);\n    }\n\n    /**\n     * Replaces matches for `pattern` in `string` with `replacement`.\n     *\n     * **Note:** This method is based on\n     * [`String#replace`](https://mdn.io/String/replace).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to modify.\n     * @param {RegExp|string} pattern The pattern to replace.\n     * @param {Function|string} replacement The match replacement.\n     * @returns {string} Returns the modified string.\n     * @example\n     *\n     * _.replace('Hi Fred', 'Fred', 'Barney');\n     * // => 'Hi Barney'\n     */\n    function replace() {\n      var args = arguments,\n          string = toString(args[0]);\n\n      return args.length < 3 ? string : string.replace(args[1], args[2]);\n    }\n\n    /**\n     * Converts `string` to\n     * [snake case](https://en.wikipedia.org/wiki/Snake_case).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the snake cased string.\n     * @example\n     *\n     * _.snakeCase('Foo Bar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('fooBar');\n     * // => 'foo_bar'\n     *\n     * _.snakeCase('--FOO-BAR--');\n     * // => 'foo_bar'\n     */\n    var snakeCase = createCompounder(function(result, word, index) {\n      return result + (index ? '_' : '') + word.toLowerCase();\n    });\n\n    /**\n     * Splits `string` by `separator`.\n     *\n     * **Note:** This method is based on\n     * [`String#split`](https://mdn.io/String/split).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to split.\n     * @param {RegExp|string} separator The separator pattern to split by.\n     * @param {number} [limit] The length to truncate results to.\n     * @returns {Array} Returns the string segments.\n     * @example\n     *\n     * _.split('a-b-c', '-', 2);\n     * // => ['a', 'b']\n     */\n    function split(string, separator, limit) {\n      if (limit && typeof limit != 'number' && isIterateeCall(string, separator, limit)) {\n        separator = limit = undefined;\n      }\n      limit = limit === undefined ? MAX_ARRAY_LENGTH : limit >>> 0;\n      if (!limit) {\n        return [];\n      }\n      string = toString(string);\n      if (string && (\n            typeof separator == 'string' ||\n            (separator != null && !isRegExp(separator))\n          )) {\n        separator = baseToString(separator);\n        if (!separator && hasUnicode(string)) {\n          return castSlice(stringToArray(string), 0, limit);\n        }\n      }\n      return string.split(separator, limit);\n    }\n\n    /**\n     * Converts `string` to\n     * [start case](https://en.wikipedia.org/wiki/Letter_case#Stylistic_or_specialised_usage).\n     *\n     * @static\n     * @memberOf _\n     * @since 3.1.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the start cased string.\n     * @example\n     *\n     * _.startCase('--foo-bar--');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('fooBar');\n     * // => 'Foo Bar'\n     *\n     * _.startCase('__FOO_BAR__');\n     * // => 'FOO BAR'\n     */\n    var startCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + upperFirst(word);\n    });\n\n    /**\n     * Checks if `string` starts with the given target string.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {string} [target] The string to search for.\n     * @param {number} [position=0] The position to search from.\n     * @returns {boolean} Returns `true` if `string` starts with `target`,\n     *  else `false`.\n     * @example\n     *\n     * _.startsWith('abc', 'a');\n     * // => true\n     *\n     * _.startsWith('abc', 'b');\n     * // => false\n     *\n     * _.startsWith('abc', 'b', 1);\n     * // => true\n     */\n    function startsWith(string, target, position) {\n      string = toString(string);\n      position = position == null\n        ? 0\n        : baseClamp(toInteger(position), 0, string.length);\n\n      target = baseToString(target);\n      return string.slice(position, position + target.length) == target;\n    }\n\n    /**\n     * Creates a compiled template function that can interpolate data properties\n     * in \"interpolate\" delimiters, HTML-escape interpolated data properties in\n     * \"escape\" delimiters, and execute JavaScript in \"evaluate\" delimiters. Data\n     * properties may be accessed as free variables in the template. If a setting\n     * object is given, it takes precedence over `_.templateSettings` values.\n     *\n     * **Note:** In the development build `_.template` utilizes\n     * [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)\n     * for easier debugging.\n     *\n     * For more information on precompiling templates see\n     * [lodash's custom builds documentation](https://lodash.com/custom-builds).\n     *\n     * For more information on Chrome extension sandboxes see\n     * [Chrome's extensions documentation](https://developer.chrome.com/extensions/sandboxingEval).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category String\n     * @param {string} [string=''] The template string.\n     * @param {Object} [options={}] The options object.\n     * @param {RegExp} [options.escape=_.templateSettings.escape]\n     *  The HTML \"escape\" delimiter.\n     * @param {RegExp} [options.evaluate=_.templateSettings.evaluate]\n     *  The \"evaluate\" delimiter.\n     * @param {Object} [options.imports=_.templateSettings.imports]\n     *  An object to import into the template as free variables.\n     * @param {RegExp} [options.interpolate=_.templateSettings.interpolate]\n     *  The \"interpolate\" delimiter.\n     * @param {string} [options.sourceURL='lodash.templateSources[n]']\n     *  The sourceURL of the compiled template.\n     * @param {string} [options.variable='obj']\n     *  The data object variable name.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Function} Returns the compiled template function.\n     * @example\n     *\n     * // Use the \"interpolate\" delimiter to create a compiled template.\n     * var compiled = _.template('hello <%= user %>!');\n     * compiled({ 'user': 'fred' });\n     * // => 'hello fred!'\n     *\n     * // Use the HTML \"escape\" delimiter to escape data property values.\n     * var compiled = _.template('<b><%- value %></b>');\n     * compiled({ 'value': '<script>' });\n     * // => '<b>&lt;script&gt;</b>'\n     *\n     * // Use the \"evaluate\" delimiter to execute JavaScript and generate HTML.\n     * var compiled = _.template('<% _.forEach(users, function(user) { %><li><%- user %></li><% }); %>');\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the internal `print` function in \"evaluate\" delimiters.\n     * var compiled = _.template('<% print(\"hello \" + user); %>!');\n     * compiled({ 'user': 'barney' });\n     * // => 'hello barney!'\n     *\n     * // Use the ES template literal delimiter as an \"interpolate\" delimiter.\n     * // Disable support by replacing the \"interpolate\" delimiter.\n     * var compiled = _.template('hello ${ user }!');\n     * compiled({ 'user': 'pebbles' });\n     * // => 'hello pebbles!'\n     *\n     * // Use backslashes to treat delimiters as plain text.\n     * var compiled = _.template('<%= \"\\\\<%- value %\\\\>\" %>');\n     * compiled({ 'value': 'ignored' });\n     * // => '<%- value %>'\n     *\n     * // Use the `imports` option to import `jQuery` as `jq`.\n     * var text = '<% jq.each(users, function(user) { %><li><%- user %></li><% }); %>';\n     * var compiled = _.template(text, { 'imports': { 'jq': jQuery } });\n     * compiled({ 'users': ['fred', 'barney'] });\n     * // => '<li>fred</li><li>barney</li>'\n     *\n     * // Use the `sourceURL` option to specify a custom sourceURL for the template.\n     * var compiled = _.template('hello <%= user %>!', { 'sourceURL': '/basic/greeting.jst' });\n     * compiled(data);\n     * // => Find the source of \"greeting.jst\" under the Sources tab or Resources panel of the web inspector.\n     *\n     * // Use the `variable` option to ensure a with-statement isn't used in the compiled template.\n     * var compiled = _.template('hi <%= data.user %>!', { 'variable': 'data' });\n     * compiled.source;\n     * // => function(data) {\n     * //   var __t, __p = '';\n     * //   __p += 'hi ' + ((__t = ( data.user )) == null ? '' : __t) + '!';\n     * //   return __p;\n     * // }\n     *\n     * // Use custom template delimiters.\n     * _.templateSettings.interpolate = /{{([\\s\\S]+?)}}/g;\n     * var compiled = _.template('hello {{ user }}!');\n     * compiled({ 'user': 'mustache' });\n     * // => 'hello mustache!'\n     *\n     * // Use the `source` property to inline compiled templates for meaningful\n     * // line numbers in error messages and stack traces.\n     * fs.writeFileSync(path.join(process.cwd(), 'jst.js'), '\\\n     *   var JST = {\\\n     *     \"main\": ' + _.template(mainText).source + '\\\n     *   };\\\n     * ');\n     */\n    function template(string, options, guard) {\n      // Based on John Resig's `tmpl` implementation\n      // (http://ejohn.org/blog/javascript-micro-templating/)\n      // and Laura Doktorova's doT.js (https://github.com/olado/doT).\n      var settings = lodash.templateSettings;\n\n      if (guard && isIterateeCall(string, options, guard)) {\n        options = undefined;\n      }\n      string = toString(string);\n      options = assignInWith({}, options, settings, customDefaultsAssignIn);\n\n      var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn),\n          importsKeys = keys(imports),\n          importsValues = baseValues(imports, importsKeys);\n\n      var isEscaping,\n          isEvaluating,\n          index = 0,\n          interpolate = options.interpolate || reNoMatch,\n          source = \"__p += '\";\n\n      // Compile the regexp to match each delimiter.\n      var reDelimiters = RegExp(\n        (options.escape || reNoMatch).source + '|' +\n        interpolate.source + '|' +\n        (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + '|' +\n        (options.evaluate || reNoMatch).source + '|$'\n      , 'g');\n\n      // Use a sourceURL for easier debugging.\n      // The sourceURL gets injected into the source that's eval-ed, so be careful\n      // to normalize all kinds of whitespace, so e.g. newlines (and unicode versions of it) can't sneak in\n      // and escape the comment, thus injecting code that gets evaled.\n      var sourceURL = '//# sourceURL=' +\n        (hasOwnProperty.call(options, 'sourceURL')\n          ? (options.sourceURL + '').replace(/\\s/g, ' ')\n          : ('lodash.templateSources[' + (++templateCounter) + ']')\n        ) + '\\n';\n\n      string.replace(reDelimiters, function(match, escapeValue, interpolateValue, esTemplateValue, evaluateValue, offset) {\n        interpolateValue || (interpolateValue = esTemplateValue);\n\n        // Escape characters that can't be included in string literals.\n        source += string.slice(index, offset).replace(reUnescapedString, escapeStringChar);\n\n        // Replace delimiters with snippets.\n        if (escapeValue) {\n          isEscaping = true;\n          source += \"' +\\n__e(\" + escapeValue + \") +\\n'\";\n        }\n        if (evaluateValue) {\n          isEvaluating = true;\n          source += \"';\\n\" + evaluateValue + \";\\n__p += '\";\n        }\n        if (interpolateValue) {\n          source += \"' +\\n((__t = (\" + interpolateValue + \")) == null ? '' : __t) +\\n'\";\n        }\n        index = offset + match.length;\n\n        // The JS engine embedded in Adobe products needs `match` returned in\n        // order to produce the correct `offset` value.\n        return match;\n      });\n\n      source += \"';\\n\";\n\n      // If `variable` is not specified wrap a with-statement around the generated\n      // code to add the data object to the top of the scope chain.\n      var variable = hasOwnProperty.call(options, 'variable') && options.variable;\n      if (!variable) {\n        source = 'with (obj) {\\n' + source + '\\n}\\n';\n      }\n      // Throw an error if a forbidden character was found in `variable`, to prevent\n      // potential command injection attacks.\n      else if (reForbiddenIdentifierChars.test(variable)) {\n        throw new Error(INVALID_TEMPL_VAR_ERROR_TEXT);\n      }\n\n      // Cleanup code by stripping empty strings.\n      source = (isEvaluating ? source.replace(reEmptyStringLeading, '') : source)\n        .replace(reEmptyStringMiddle, '$1')\n        .replace(reEmptyStringTrailing, '$1;');\n\n      // Frame code as the function body.\n      source = 'function(' + (variable || 'obj') + ') {\\n' +\n        (variable\n          ? ''\n          : 'obj || (obj = {});\\n'\n        ) +\n        \"var __t, __p = ''\" +\n        (isEscaping\n           ? ', __e = _.escape'\n           : ''\n        ) +\n        (isEvaluating\n          ? ', __j = Array.prototype.join;\\n' +\n            \"function print() { __p += __j.call(arguments, '') }\\n\"\n          : ';\\n'\n        ) +\n        source +\n        'return __p\\n}';\n\n      var result = attempt(function() {\n        return Function(importsKeys, sourceURL + 'return ' + source)\n          .apply(undefined, importsValues);\n      });\n\n      // Provide the compiled function's source by its `toString` method or\n      // the `source` property as a convenience for inlining compiled templates.\n      result.source = source;\n      if (isError(result)) {\n        throw result;\n      }\n      return result;\n    }\n\n    /**\n     * Converts `string`, as a whole, to lower case just like\n     * [String#toLowerCase](https://mdn.io/toLowerCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the lower cased string.\n     * @example\n     *\n     * _.toLower('--Foo-Bar--');\n     * // => '--foo-bar--'\n     *\n     * _.toLower('fooBar');\n     * // => 'foobar'\n     *\n     * _.toLower('__FOO_BAR__');\n     * // => '__foo_bar__'\n     */\n    function toLower(value) {\n      return toString(value).toLowerCase();\n    }\n\n    /**\n     * Converts `string`, as a whole, to upper case just like\n     * [String#toUpperCase](https://mdn.io/toUpperCase).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.toUpper('--foo-bar--');\n     * // => '--FOO-BAR--'\n     *\n     * _.toUpper('fooBar');\n     * // => 'FOOBAR'\n     *\n     * _.toUpper('__foo_bar__');\n     * // => '__FOO_BAR__'\n     */\n    function toUpper(value) {\n      return toString(value).toUpperCase();\n    }\n\n    /**\n     * Removes leading and trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trim('  abc  ');\n     * // => 'abc'\n     *\n     * _.trim('-_-abc-_-', '_-');\n     * // => 'abc'\n     *\n     * _.map(['  foo  ', '  bar  '], _.trim);\n     * // => ['foo', 'bar']\n     */\n    function trim(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return baseTrim(string);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          chrSymbols = stringToArray(chars),\n          start = charsStartIndex(strSymbols, chrSymbols),\n          end = charsEndIndex(strSymbols, chrSymbols) + 1;\n\n      return castSlice(strSymbols, start, end).join('');\n    }\n\n    /**\n     * Removes trailing whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimEnd('  abc  ');\n     * // => '  abc'\n     *\n     * _.trimEnd('-_-abc-_-', '_-');\n     * // => '-_-abc'\n     */\n    function trimEnd(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.slice(0, trimmedEndIndex(string) + 1);\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          end = charsEndIndex(strSymbols, stringToArray(chars)) + 1;\n\n      return castSlice(strSymbols, 0, end).join('');\n    }\n\n    /**\n     * Removes leading whitespace or specified characters from `string`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to trim.\n     * @param {string} [chars=whitespace] The characters to trim.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {string} Returns the trimmed string.\n     * @example\n     *\n     * _.trimStart('  abc  ');\n     * // => 'abc  '\n     *\n     * _.trimStart('-_-abc-_-', '_-');\n     * // => 'abc-_-'\n     */\n    function trimStart(string, chars, guard) {\n      string = toString(string);\n      if (string && (guard || chars === undefined)) {\n        return string.replace(reTrimStart, '');\n      }\n      if (!string || !(chars = baseToString(chars))) {\n        return string;\n      }\n      var strSymbols = stringToArray(string),\n          start = charsStartIndex(strSymbols, stringToArray(chars));\n\n      return castSlice(strSymbols, start).join('');\n    }\n\n    /**\n     * Truncates `string` if it's longer than the given maximum string length.\n     * The last characters of the truncated string are replaced with the omission\n     * string which defaults to \"...\".\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to truncate.\n     * @param {Object} [options={}] The options object.\n     * @param {number} [options.length=30] The maximum string length.\n     * @param {string} [options.omission='...'] The string to indicate text is omitted.\n     * @param {RegExp|string} [options.separator] The separator pattern to truncate to.\n     * @returns {string} Returns the truncated string.\n     * @example\n     *\n     * _.truncate('hi-diddly-ho there, neighborino');\n     * // => 'hi-diddly-ho there, neighbo...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': ' '\n     * });\n     * // => 'hi-diddly-ho there,...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'length': 24,\n     *   'separator': /,? +/\n     * });\n     * // => 'hi-diddly-ho there...'\n     *\n     * _.truncate('hi-diddly-ho there, neighborino', {\n     *   'omission': ' [...]'\n     * });\n     * // => 'hi-diddly-ho there, neig [...]'\n     */\n    function truncate(string, options) {\n      var length = DEFAULT_TRUNC_LENGTH,\n          omission = DEFAULT_TRUNC_OMISSION;\n\n      if (isObject(options)) {\n        var separator = 'separator' in options ? options.separator : separator;\n        length = 'length' in options ? toInteger(options.length) : length;\n        omission = 'omission' in options ? baseToString(options.omission) : omission;\n      }\n      string = toString(string);\n\n      var strLength = string.length;\n      if (hasUnicode(string)) {\n        var strSymbols = stringToArray(string);\n        strLength = strSymbols.length;\n      }\n      if (length >= strLength) {\n        return string;\n      }\n      var end = length - stringSize(omission);\n      if (end < 1) {\n        return omission;\n      }\n      var result = strSymbols\n        ? castSlice(strSymbols, 0, end).join('')\n        : string.slice(0, end);\n\n      if (separator === undefined) {\n        return result + omission;\n      }\n      if (strSymbols) {\n        end += (result.length - end);\n      }\n      if (isRegExp(separator)) {\n        if (string.slice(end).search(separator)) {\n          var match,\n              substring = result;\n\n          if (!separator.global) {\n            separator = RegExp(separator.source, toString(reFlags.exec(separator)) + 'g');\n          }\n          separator.lastIndex = 0;\n          while ((match = separator.exec(substring))) {\n            var newEnd = match.index;\n          }\n          result = result.slice(0, newEnd === undefined ? end : newEnd);\n        }\n      } else if (string.indexOf(baseToString(separator), end) != end) {\n        var index = result.lastIndexOf(separator);\n        if (index > -1) {\n          result = result.slice(0, index);\n        }\n      }\n      return result + omission;\n    }\n\n    /**\n     * The inverse of `_.escape`; this method converts the HTML entities\n     * `&amp;`, `&lt;`, `&gt;`, `&quot;`, and `&#39;` in `string` to\n     * their corresponding characters.\n     *\n     * **Note:** No other HTML entities are unescaped. To unescape additional\n     * HTML entities use a third-party library like [_he_](https://mths.be/he).\n     *\n     * @static\n     * @memberOf _\n     * @since 0.6.0\n     * @category String\n     * @param {string} [string=''] The string to unescape.\n     * @returns {string} Returns the unescaped string.\n     * @example\n     *\n     * _.unescape('fred, barney, &amp; pebbles');\n     * // => 'fred, barney, & pebbles'\n     */\n    function unescape(string) {\n      string = toString(string);\n      return (string && reHasEscapedHtml.test(string))\n        ? string.replace(reEscapedHtml, unescapeHtmlChar)\n        : string;\n    }\n\n    /**\n     * Converts `string`, as space separated words, to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the upper cased string.\n     * @example\n     *\n     * _.upperCase('--foo-bar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('fooBar');\n     * // => 'FOO BAR'\n     *\n     * _.upperCase('__foo_bar__');\n     * // => 'FOO BAR'\n     */\n    var upperCase = createCompounder(function(result, word, index) {\n      return result + (index ? ' ' : '') + word.toUpperCase();\n    });\n\n    /**\n     * Converts the first character of `string` to upper case.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category String\n     * @param {string} [string=''] The string to convert.\n     * @returns {string} Returns the converted string.\n     * @example\n     *\n     * _.upperFirst('fred');\n     * // => 'Fred'\n     *\n     * _.upperFirst('FRED');\n     * // => 'FRED'\n     */\n    var upperFirst = createCaseFirst('toUpperCase');\n\n    /**\n     * Splits `string` into an array of its words.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category String\n     * @param {string} [string=''] The string to inspect.\n     * @param {RegExp|string} [pattern] The pattern to match words.\n     * @param- {Object} [guard] Enables use as an iteratee for methods like `_.map`.\n     * @returns {Array} Returns the words of `string`.\n     * @example\n     *\n     * _.words('fred, barney, & pebbles');\n     * // => ['fred', 'barney', 'pebbles']\n     *\n     * _.words('fred, barney, & pebbles', /[^, ]+/g);\n     * // => ['fred', 'barney', '&', 'pebbles']\n     */\n    function words(string, pattern, guard) {\n      string = toString(string);\n      pattern = guard ? undefined : pattern;\n\n      if (pattern === undefined) {\n        return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);\n      }\n      return string.match(pattern) || [];\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Attempts to invoke `func`, returning either the result or the caught error\n     * object. Any additional arguments are provided to `func` when it's invoked.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Function} func The function to attempt.\n     * @param {...*} [args] The arguments to invoke `func` with.\n     * @returns {*} Returns the `func` result or error object.\n     * @example\n     *\n     * // Avoid throwing errors for invalid selectors.\n     * var elements = _.attempt(function(selector) {\n     *   return document.querySelectorAll(selector);\n     * }, '>_>');\n     *\n     * if (_.isError(elements)) {\n     *   elements = [];\n     * }\n     */\n    var attempt = baseRest(function(func, args) {\n      try {\n        return apply(func, undefined, args);\n      } catch (e) {\n        return isError(e) ? e : new Error(e);\n      }\n    });\n\n    /**\n     * Binds methods of an object to the object itself, overwriting the existing\n     * method.\n     *\n     * **Note:** This method doesn't set the \"length\" property of bound functions.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Object} object The object to bind and assign the bound methods to.\n     * @param {...(string|string[])} methodNames The object method names to bind.\n     * @returns {Object} Returns `object`.\n     * @example\n     *\n     * var view = {\n     *   'label': 'docs',\n     *   'click': function() {\n     *     console.log('clicked ' + this.label);\n     *   }\n     * };\n     *\n     * _.bindAll(view, ['click']);\n     * jQuery(element).on('click', view.click);\n     * // => Logs 'clicked docs' when clicked.\n     */\n    var bindAll = flatRest(function(object, methodNames) {\n      arrayEach(methodNames, function(key) {\n        key = toKey(key);\n        baseAssignValue(object, key, bind(object[key], object));\n      });\n      return object;\n    });\n\n    /**\n     * Creates a function that iterates over `pairs` and invokes the corresponding\n     * function of the first predicate to return truthy. The predicate-function\n     * pairs are invoked with the `this` binding and arguments of the created\n     * function.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Array} pairs The predicate-function pairs.\n     * @returns {Function} Returns the new composite function.\n     * @example\n     *\n     * var func = _.cond([\n     *   [_.matches({ 'a': 1 }),           _.constant('matches A')],\n     *   [_.conforms({ 'b': _.isNumber }), _.constant('matches B')],\n     *   [_.stubTrue,                      _.constant('no match')]\n     * ]);\n     *\n     * func({ 'a': 1, 'b': 2 });\n     * // => 'matches A'\n     *\n     * func({ 'a': 0, 'b': 1 });\n     * // => 'matches B'\n     *\n     * func({ 'a': '1', 'b': '2' });\n     * // => 'no match'\n     */\n    function cond(pairs) {\n      var length = pairs == null ? 0 : pairs.length,\n          toIteratee = getIteratee();\n\n      pairs = !length ? [] : arrayMap(pairs, function(pair) {\n        if (typeof pair[1] != 'function') {\n          throw new TypeError(FUNC_ERROR_TEXT);\n        }\n        return [toIteratee(pair[0]), pair[1]];\n      });\n\n      return baseRest(function(args) {\n        var index = -1;\n        while (++index < length) {\n          var pair = pairs[index];\n          if (apply(pair[0], this, args)) {\n            return apply(pair[1], this, args);\n          }\n        }\n      });\n    }\n\n    /**\n     * Creates a function that invokes the predicate properties of `source` with\n     * the corresponding property values of a given object, returning `true` if\n     * all predicates return truthy, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.conformsTo` with\n     * `source` partially applied.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {Object} source The object of property predicates to conform to.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 2, 'b': 1 },\n     *   { 'a': 1, 'b': 2 }\n     * ];\n     *\n     * _.filter(objects, _.conforms({ 'b': function(n) { return n > 1; } }));\n     * // => [{ 'a': 1, 'b': 2 }]\n     */\n    function conforms(source) {\n      return baseConforms(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that returns `value`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {*} value The value to return from the new function.\n     * @returns {Function} Returns the new constant function.\n     * @example\n     *\n     * var objects = _.times(2, _.constant({ 'a': 1 }));\n     *\n     * console.log(objects);\n     * // => [{ 'a': 1 }, { 'a': 1 }]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => true\n     */\n    function constant(value) {\n      return function() {\n        return value;\n      };\n    }\n\n    /**\n     * Checks `value` to determine whether a default value should be returned in\n     * its place. The `defaultValue` is returned if `value` is `NaN`, `null`,\n     * or `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.14.0\n     * @category Util\n     * @param {*} value The value to check.\n     * @param {*} defaultValue The default value.\n     * @returns {*} Returns the resolved value.\n     * @example\n     *\n     * _.defaultTo(1, 10);\n     * // => 1\n     *\n     * _.defaultTo(undefined, 10);\n     * // => 10\n     */\n    function defaultTo(value, defaultValue) {\n      return (value == null || value !== value) ? defaultValue : value;\n    }\n\n    /**\n     * Creates a function that returns the result of invoking the given functions\n     * with the `this` binding of the created function, where each successive\n     * invocation is supplied the return value of the previous.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flowRight\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flow([_.add, square]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flow = createFlow();\n\n    /**\n     * This method is like `_.flow` except that it creates a function that\n     * invokes the given functions from right to left.\n     *\n     * @static\n     * @since 3.0.0\n     * @memberOf _\n     * @category Util\n     * @param {...(Function|Function[])} [funcs] The functions to invoke.\n     * @returns {Function} Returns the new composite function.\n     * @see _.flow\n     * @example\n     *\n     * function square(n) {\n     *   return n * n;\n     * }\n     *\n     * var addSquare = _.flowRight([square, _.add]);\n     * addSquare(1, 2);\n     * // => 9\n     */\n    var flowRight = createFlow(true);\n\n    /**\n     * This method returns the first argument it receives.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {*} value Any value.\n     * @returns {*} Returns `value`.\n     * @example\n     *\n     * var object = { 'a': 1 };\n     *\n     * console.log(_.identity(object) === object);\n     * // => true\n     */\n    function identity(value) {\n      return value;\n    }\n\n    /**\n     * Creates a function that invokes `func` with the arguments of the created\n     * function. If `func` is a property name, the created function returns the\n     * property value for a given element. If `func` is an array or object, the\n     * created function returns `true` for elements that contain the equivalent\n     * source properties, otherwise it returns `false`.\n     *\n     * @static\n     * @since 4.0.0\n     * @memberOf _\n     * @category Util\n     * @param {*} [func=_.identity] The value to convert to a callback.\n     * @returns {Function} Returns the callback.\n     * @example\n     *\n     * var users = [\n     *   { 'user': 'barney', 'age': 36, 'active': true },\n     *   { 'user': 'fred',   'age': 40, 'active': false }\n     * ];\n     *\n     * // The `_.matches` iteratee shorthand.\n     * _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));\n     * // => [{ 'user': 'barney', 'age': 36, 'active': true }]\n     *\n     * // The `_.matchesProperty` iteratee shorthand.\n     * _.filter(users, _.iteratee(['user', 'fred']));\n     * // => [{ 'user': 'fred', 'age': 40 }]\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.map(users, _.iteratee('user'));\n     * // => ['barney', 'fred']\n     *\n     * // Create custom iteratee shorthands.\n     * _.iteratee = _.wrap(_.iteratee, function(iteratee, func) {\n     *   return !_.isRegExp(func) ? iteratee(func) : function(string) {\n     *     return func.test(string);\n     *   };\n     * });\n     *\n     * _.filter(['abc', 'def'], /ef/);\n     * // => ['def']\n     */\n    function iteratee(func) {\n      return baseIteratee(typeof func == 'function' ? func : baseClone(func, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between a given\n     * object and `source`, returning `true` if the given object has equivalent\n     * property values, else `false`.\n     *\n     * **Note:** The created function is equivalent to `_.isMatch` with `source`\n     * partially applied.\n     *\n     * Partial comparisons will match empty array and empty object `source`\n     * values against any array or object value, respectively. See `_.isEqual`\n     * for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} source The object of property values to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.filter(objects, _.matches({ 'a': 4, 'c': 6 }));\n     * // => [{ 'a': 4, 'b': 5, 'c': 6 }]\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matches({ 'a': 1 }), _.matches({ 'a': 4 })]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matches(source) {\n      return baseMatches(baseClone(source, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that performs a partial deep comparison between the\n     * value at `path` of a given object to `srcValue`, returning `true` if the\n     * object value is equivalent, else `false`.\n     *\n     * **Note:** Partial comparisons will match empty array and empty object\n     * `srcValue` values against any array or object value, respectively. See\n     * `_.isEqual` for a list of supported value comparisons.\n     *\n     * **Note:** Multiple values can be checked by combining several matchers\n     * using `_.overSome`\n     *\n     * @static\n     * @memberOf _\n     * @since 3.2.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @param {*} srcValue The value to match.\n     * @returns {Function} Returns the new spec function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': 1, 'b': 2, 'c': 3 },\n     *   { 'a': 4, 'b': 5, 'c': 6 }\n     * ];\n     *\n     * _.find(objects, _.matchesProperty('a', 4));\n     * // => { 'a': 4, 'b': 5, 'c': 6 }\n     *\n     * // Checking for several possible values\n     * _.filter(objects, _.overSome([_.matchesProperty('a', 1), _.matchesProperty('a', 4)]));\n     * // => [{ 'a': 1, 'b': 2, 'c': 3 }, { 'a': 4, 'b': 5, 'c': 6 }]\n     */\n    function matchesProperty(path, srcValue) {\n      return baseMatchesProperty(path, baseClone(srcValue, CLONE_DEEP_FLAG));\n    }\n\n    /**\n     * Creates a function that invokes the method at `path` of a given object.\n     * Any additional arguments are provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Array|string} path The path of the method to invoke.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': _.constant(2) } },\n     *   { 'a': { 'b': _.constant(1) } }\n     * ];\n     *\n     * _.map(objects, _.method('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(objects, _.method(['a', 'b']));\n     * // => [2, 1]\n     */\n    var method = baseRest(function(path, args) {\n      return function(object) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * The opposite of `_.method`; this method creates a function that invokes\n     * the method at a given path of `object`. Any additional arguments are\n     * provided to the invoked method.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.7.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @param {...*} [args] The arguments to invoke the method with.\n     * @returns {Function} Returns the new invoker function.\n     * @example\n     *\n     * var array = _.times(3, _.constant),\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.methodOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.methodOf(object));\n     * // => [2, 0]\n     */\n    var methodOf = baseRest(function(object, args) {\n      return function(path) {\n        return baseInvoke(object, path, args);\n      };\n    });\n\n    /**\n     * Adds all own enumerable string keyed function properties of a source\n     * object to the destination object. If `object` is a function, then methods\n     * are added to its prototype as well.\n     *\n     * **Note:** Use `_.runInContext` to create a pristine `lodash` function to\n     * avoid conflicts caused by modifying the original.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {Function|Object} [object=lodash] The destination object.\n     * @param {Object} source The object of functions to add.\n     * @param {Object} [options={}] The options object.\n     * @param {boolean} [options.chain=true] Specify whether mixins are chainable.\n     * @returns {Function|Object} Returns `object`.\n     * @example\n     *\n     * function vowels(string) {\n     *   return _.filter(string, function(v) {\n     *     return /[aeiou]/i.test(v);\n     *   });\n     * }\n     *\n     * _.mixin({ 'vowels': vowels });\n     * _.vowels('fred');\n     * // => ['e']\n     *\n     * _('fred').vowels().value();\n     * // => ['e']\n     *\n     * _.mixin({ 'vowels': vowels }, { 'chain': false });\n     * _('fred').vowels();\n     * // => ['e']\n     */\n    function mixin(object, source, options) {\n      var props = keys(source),\n          methodNames = baseFunctions(source, props);\n\n      if (options == null &&\n          !(isObject(source) && (methodNames.length || !props.length))) {\n        options = source;\n        source = object;\n        object = this;\n        methodNames = baseFunctions(source, keys(source));\n      }\n      var chain = !(isObject(options) && 'chain' in options) || !!options.chain,\n          isFunc = isFunction(object);\n\n      arrayEach(methodNames, function(methodName) {\n        var func = source[methodName];\n        object[methodName] = func;\n        if (isFunc) {\n          object.prototype[methodName] = function() {\n            var chainAll = this.__chain__;\n            if (chain || chainAll) {\n              var result = object(this.__wrapped__),\n                  actions = result.__actions__ = copyArray(this.__actions__);\n\n              actions.push({ 'func': func, 'args': arguments, 'thisArg': object });\n              result.__chain__ = chainAll;\n              return result;\n            }\n            return func.apply(object, arrayPush([this.value()], arguments));\n          };\n        }\n      });\n\n      return object;\n    }\n\n    /**\n     * Reverts the `_` variable to its previous value and returns a reference to\n     * the `lodash` function.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @returns {Function} Returns the `lodash` function.\n     * @example\n     *\n     * var lodash = _.noConflict();\n     */\n    function noConflict() {\n      if (root._ === this) {\n        root._ = oldDash;\n      }\n      return this;\n    }\n\n    /**\n     * This method returns `undefined`.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.3.0\n     * @category Util\n     * @example\n     *\n     * _.times(2, _.noop);\n     * // => [undefined, undefined]\n     */\n    function noop() {\n      // No operation performed.\n    }\n\n    /**\n     * Creates a function that gets the argument at index `n`. If `n` is negative,\n     * the nth argument from the end is returned.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [n=0] The index of the argument to return.\n     * @returns {Function} Returns the new pass-thru function.\n     * @example\n     *\n     * var func = _.nthArg(1);\n     * func('a', 'b', 'c', 'd');\n     * // => 'b'\n     *\n     * var func = _.nthArg(-2);\n     * func('a', 'b', 'c', 'd');\n     * // => 'c'\n     */\n    function nthArg(n) {\n      n = toInteger(n);\n      return baseRest(function(args) {\n        return baseNth(args, n);\n      });\n    }\n\n    /**\n     * Creates a function that invokes `iteratees` with the arguments it receives\n     * and returns their results.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [iteratees=[_.identity]]\n     *  The iteratees to invoke.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.over([Math.max, Math.min]);\n     *\n     * func(1, 2, 3, 4);\n     * // => [4, 1]\n     */\n    var over = createOver(arrayMap);\n\n    /**\n     * Creates a function that checks if **all** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overEvery([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => false\n     *\n     * func(NaN);\n     * // => false\n     */\n    var overEvery = createOver(arrayEvery);\n\n    /**\n     * Creates a function that checks if **any** of the `predicates` return\n     * truthy when invoked with the arguments it receives.\n     *\n     * Following shorthands are possible for providing predicates.\n     * Pass an `Object` and it will be used as an parameter for `_.matches` to create the predicate.\n     * Pass an `Array` of parameters for `_.matchesProperty` and the predicate will be created using them.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {...(Function|Function[])} [predicates=[_.identity]]\n     *  The predicates to check.\n     * @returns {Function} Returns the new function.\n     * @example\n     *\n     * var func = _.overSome([Boolean, isFinite]);\n     *\n     * func('1');\n     * // => true\n     *\n     * func(null);\n     * // => true\n     *\n     * func(NaN);\n     * // => false\n     *\n     * var matchesFunc = _.overSome([{ 'a': 1 }, { 'a': 2 }])\n     * var matchesPropertyFunc = _.overSome([['a', 1], ['a', 2]])\n     */\n    var overSome = createOver(arraySome);\n\n    /**\n     * Creates a function that returns the value at `path` of a given object.\n     *\n     * @static\n     * @memberOf _\n     * @since 2.4.0\n     * @category Util\n     * @param {Array|string} path The path of the property to get.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var objects = [\n     *   { 'a': { 'b': 2 } },\n     *   { 'a': { 'b': 1 } }\n     * ];\n     *\n     * _.map(objects, _.property('a.b'));\n     * // => [2, 1]\n     *\n     * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n     * // => [1, 2]\n     */\n    function property(path) {\n      return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n    }\n\n    /**\n     * The opposite of `_.property`; this method creates a function that returns\n     * the value at a given path of `object`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.0.0\n     * @category Util\n     * @param {Object} object The object to query.\n     * @returns {Function} Returns the new accessor function.\n     * @example\n     *\n     * var array = [0, 1, 2],\n     *     object = { 'a': array, 'b': array, 'c': array };\n     *\n     * _.map(['a[2]', 'c[0]'], _.propertyOf(object));\n     * // => [2, 0]\n     *\n     * _.map([['a', '2'], ['c', '0']], _.propertyOf(object));\n     * // => [2, 0]\n     */\n    function propertyOf(object) {\n      return function(path) {\n        return object == null ? undefined : baseGet(object, path);\n      };\n    }\n\n    /**\n     * Creates an array of numbers (positive and/or negative) progressing from\n     * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n     * `start` is specified without an `end` or `step`. If `end` is not specified,\n     * it's set to `start` with `start` then set to `0`.\n     *\n     * **Note:** JavaScript follows the IEEE-754 standard for resolving\n     * floating-point values which can produce unexpected results.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.rangeRight\n     * @example\n     *\n     * _.range(4);\n     * // => [0, 1, 2, 3]\n     *\n     * _.range(-4);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 5);\n     * // => [1, 2, 3, 4]\n     *\n     * _.range(0, 20, 5);\n     * // => [0, 5, 10, 15]\n     *\n     * _.range(0, -4, -1);\n     * // => [0, -1, -2, -3]\n     *\n     * _.range(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.range(0);\n     * // => []\n     */\n    var range = createRange();\n\n    /**\n     * This method is like `_.range` except that it populates values in\n     * descending order.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {number} [start=0] The start of the range.\n     * @param {number} end The end of the range.\n     * @param {number} [step=1] The value to increment or decrement by.\n     * @returns {Array} Returns the range of numbers.\n     * @see _.inRange, _.range\n     * @example\n     *\n     * _.rangeRight(4);\n     * // => [3, 2, 1, 0]\n     *\n     * _.rangeRight(-4);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 5);\n     * // => [4, 3, 2, 1]\n     *\n     * _.rangeRight(0, 20, 5);\n     * // => [15, 10, 5, 0]\n     *\n     * _.rangeRight(0, -4, -1);\n     * // => [-3, -2, -1, 0]\n     *\n     * _.rangeRight(1, 4, 0);\n     * // => [1, 1, 1]\n     *\n     * _.rangeRight(0);\n     * // => []\n     */\n    var rangeRight = createRange(true);\n\n    /**\n     * This method returns a new empty array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Array} Returns the new empty array.\n     * @example\n     *\n     * var arrays = _.times(2, _.stubArray);\n     *\n     * console.log(arrays);\n     * // => [[], []]\n     *\n     * console.log(arrays[0] === arrays[1]);\n     * // => false\n     */\n    function stubArray() {\n      return [];\n    }\n\n    /**\n     * This method returns `false`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `false`.\n     * @example\n     *\n     * _.times(2, _.stubFalse);\n     * // => [false, false]\n     */\n    function stubFalse() {\n      return false;\n    }\n\n    /**\n     * This method returns a new empty object.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {Object} Returns the new empty object.\n     * @example\n     *\n     * var objects = _.times(2, _.stubObject);\n     *\n     * console.log(objects);\n     * // => [{}, {}]\n     *\n     * console.log(objects[0] === objects[1]);\n     * // => false\n     */\n    function stubObject() {\n      return {};\n    }\n\n    /**\n     * This method returns an empty string.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {string} Returns the empty string.\n     * @example\n     *\n     * _.times(2, _.stubString);\n     * // => ['', '']\n     */\n    function stubString() {\n      return '';\n    }\n\n    /**\n     * This method returns `true`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.13.0\n     * @category Util\n     * @returns {boolean} Returns `true`.\n     * @example\n     *\n     * _.times(2, _.stubTrue);\n     * // => [true, true]\n     */\n    function stubTrue() {\n      return true;\n    }\n\n    /**\n     * Invokes the iteratee `n` times, returning an array of the results of\n     * each invocation. The iteratee is invoked with one argument; (index).\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {number} n The number of times to invoke `iteratee`.\n     * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n     * @returns {Array} Returns the array of results.\n     * @example\n     *\n     * _.times(3, String);\n     * // => ['0', '1', '2']\n     *\n     *  _.times(4, _.constant(0));\n     * // => [0, 0, 0, 0]\n     */\n    function times(n, iteratee) {\n      n = toInteger(n);\n      if (n < 1 || n > MAX_SAFE_INTEGER) {\n        return [];\n      }\n      var index = MAX_ARRAY_LENGTH,\n          length = nativeMin(n, MAX_ARRAY_LENGTH);\n\n      iteratee = getIteratee(iteratee);\n      n -= MAX_ARRAY_LENGTH;\n\n      var result = baseTimes(length, iteratee);\n      while (++index < n) {\n        iteratee(index);\n      }\n      return result;\n    }\n\n    /**\n     * Converts `value` to a property path array.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Util\n     * @param {*} value The value to convert.\n     * @returns {Array} Returns the new property path array.\n     * @example\n     *\n     * _.toPath('a.b.c');\n     * // => ['a', 'b', 'c']\n     *\n     * _.toPath('a[0].b.c');\n     * // => ['a', '0', 'b', 'c']\n     */\n    function toPath(value) {\n      if (isArray(value)) {\n        return arrayMap(value, toKey);\n      }\n      return isSymbol(value) ? [value] : copyArray(stringToPath(toString(value)));\n    }\n\n    /**\n     * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Util\n     * @param {string} [prefix=''] The value to prefix the ID with.\n     * @returns {string} Returns the unique ID.\n     * @example\n     *\n     * _.uniqueId('contact_');\n     * // => 'contact_104'\n     *\n     * _.uniqueId();\n     * // => '105'\n     */\n    function uniqueId(prefix) {\n      var id = ++idCounter;\n      return toString(prefix) + id;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * Adds two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {number} augend The first number in an addition.\n     * @param {number} addend The second number in an addition.\n     * @returns {number} Returns the total.\n     * @example\n     *\n     * _.add(6, 4);\n     * // => 10\n     */\n    var add = createMathOperation(function(augend, addend) {\n      return augend + addend;\n    }, 0);\n\n    /**\n     * Computes `number` rounded up to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round up.\n     * @param {number} [precision=0] The precision to round up to.\n     * @returns {number} Returns the rounded up number.\n     * @example\n     *\n     * _.ceil(4.006);\n     * // => 5\n     *\n     * _.ceil(6.004, 2);\n     * // => 6.01\n     *\n     * _.ceil(6040, -2);\n     * // => 6100\n     */\n    var ceil = createRound('ceil');\n\n    /**\n     * Divide two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} dividend The first number in a division.\n     * @param {number} divisor The second number in a division.\n     * @returns {number} Returns the quotient.\n     * @example\n     *\n     * _.divide(6, 4);\n     * // => 1.5\n     */\n    var divide = createMathOperation(function(dividend, divisor) {\n      return dividend / divisor;\n    }, 1);\n\n    /**\n     * Computes `number` rounded down to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round down.\n     * @param {number} [precision=0] The precision to round down to.\n     * @returns {number} Returns the rounded down number.\n     * @example\n     *\n     * _.floor(4.006);\n     * // => 4\n     *\n     * _.floor(0.046, 2);\n     * // => 0.04\n     *\n     * _.floor(4060, -2);\n     * // => 4000\n     */\n    var floor = createRound('floor');\n\n    /**\n     * Computes the maximum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * _.max([4, 2, 8, 6]);\n     * // => 8\n     *\n     * _.max([]);\n     * // => undefined\n     */\n    function max(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseGt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.max` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the maximum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.maxBy(objects, function(o) { return o.n; });\n     * // => { 'n': 2 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.maxBy(objects, 'n');\n     * // => { 'n': 2 }\n     */\n    function maxBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseGt)\n        : undefined;\n    }\n\n    /**\n     * Computes the mean of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * _.mean([4, 2, 8, 6]);\n     * // => 5\n     */\n    function mean(array) {\n      return baseMean(array, identity);\n    }\n\n    /**\n     * This method is like `_.mean` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be averaged.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the mean.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.meanBy(objects, function(o) { return o.n; });\n     * // => 5\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.meanBy(objects, 'n');\n     * // => 5\n     */\n    function meanBy(array, iteratee) {\n      return baseMean(array, getIteratee(iteratee, 2));\n    }\n\n    /**\n     * Computes the minimum value of `array`. If `array` is empty or falsey,\n     * `undefined` is returned.\n     *\n     * @static\n     * @since 0.1.0\n     * @memberOf _\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * _.min([4, 2, 8, 6]);\n     * // => 2\n     *\n     * _.min([]);\n     * // => undefined\n     */\n    function min(array) {\n      return (array && array.length)\n        ? baseExtremum(array, identity, baseLt)\n        : undefined;\n    }\n\n    /**\n     * This method is like `_.min` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the criterion by which\n     * the value is ranked. The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {*} Returns the minimum value.\n     * @example\n     *\n     * var objects = [{ 'n': 1 }, { 'n': 2 }];\n     *\n     * _.minBy(objects, function(o) { return o.n; });\n     * // => { 'n': 1 }\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.minBy(objects, 'n');\n     * // => { 'n': 1 }\n     */\n    function minBy(array, iteratee) {\n      return (array && array.length)\n        ? baseExtremum(array, getIteratee(iteratee, 2), baseLt)\n        : undefined;\n    }\n\n    /**\n     * Multiply two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.7.0\n     * @category Math\n     * @param {number} multiplier The first number in a multiplication.\n     * @param {number} multiplicand The second number in a multiplication.\n     * @returns {number} Returns the product.\n     * @example\n     *\n     * _.multiply(6, 4);\n     * // => 24\n     */\n    var multiply = createMathOperation(function(multiplier, multiplicand) {\n      return multiplier * multiplicand;\n    }, 1);\n\n    /**\n     * Computes `number` rounded to `precision`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.10.0\n     * @category Math\n     * @param {number} number The number to round.\n     * @param {number} [precision=0] The precision to round to.\n     * @returns {number} Returns the rounded number.\n     * @example\n     *\n     * _.round(4.006);\n     * // => 4\n     *\n     * _.round(4.006, 2);\n     * // => 4.01\n     *\n     * _.round(4060, -2);\n     * // => 4100\n     */\n    var round = createRound('round');\n\n    /**\n     * Subtract two numbers.\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {number} minuend The first number in a subtraction.\n     * @param {number} subtrahend The second number in a subtraction.\n     * @returns {number} Returns the difference.\n     * @example\n     *\n     * _.subtract(6, 4);\n     * // => 2\n     */\n    var subtract = createMathOperation(function(minuend, subtrahend) {\n      return minuend - subtrahend;\n    }, 0);\n\n    /**\n     * Computes the sum of the values in `array`.\n     *\n     * @static\n     * @memberOf _\n     * @since 3.4.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * _.sum([4, 2, 8, 6]);\n     * // => 20\n     */\n    function sum(array) {\n      return (array && array.length)\n        ? baseSum(array, identity)\n        : 0;\n    }\n\n    /**\n     * This method is like `_.sum` except that it accepts `iteratee` which is\n     * invoked for each element in `array` to generate the value to be summed.\n     * The iteratee is invoked with one argument: (value).\n     *\n     * @static\n     * @memberOf _\n     * @since 4.0.0\n     * @category Math\n     * @param {Array} array The array to iterate over.\n     * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n     * @returns {number} Returns the sum.\n     * @example\n     *\n     * var objects = [{ 'n': 4 }, { 'n': 2 }, { 'n': 8 }, { 'n': 6 }];\n     *\n     * _.sumBy(objects, function(o) { return o.n; });\n     * // => 20\n     *\n     * // The `_.property` iteratee shorthand.\n     * _.sumBy(objects, 'n');\n     * // => 20\n     */\n    function sumBy(array, iteratee) {\n      return (array && array.length)\n        ? baseSum(array, getIteratee(iteratee, 2))\n        : 0;\n    }\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return wrapped values in chain sequences.\n    lodash.after = after;\n    lodash.ary = ary;\n    lodash.assign = assign;\n    lodash.assignIn = assignIn;\n    lodash.assignInWith = assignInWith;\n    lodash.assignWith = assignWith;\n    lodash.at = at;\n    lodash.before = before;\n    lodash.bind = bind;\n    lodash.bindAll = bindAll;\n    lodash.bindKey = bindKey;\n    lodash.castArray = castArray;\n    lodash.chain = chain;\n    lodash.chunk = chunk;\n    lodash.compact = compact;\n    lodash.concat = concat;\n    lodash.cond = cond;\n    lodash.conforms = conforms;\n    lodash.constant = constant;\n    lodash.countBy = countBy;\n    lodash.create = create;\n    lodash.curry = curry;\n    lodash.curryRight = curryRight;\n    lodash.debounce = debounce;\n    lodash.defaults = defaults;\n    lodash.defaultsDeep = defaultsDeep;\n    lodash.defer = defer;\n    lodash.delay = delay;\n    lodash.difference = difference;\n    lodash.differenceBy = differenceBy;\n    lodash.differenceWith = differenceWith;\n    lodash.drop = drop;\n    lodash.dropRight = dropRight;\n    lodash.dropRightWhile = dropRightWhile;\n    lodash.dropWhile = dropWhile;\n    lodash.fill = fill;\n    lodash.filter = filter;\n    lodash.flatMap = flatMap;\n    lodash.flatMapDeep = flatMapDeep;\n    lodash.flatMapDepth = flatMapDepth;\n    lodash.flatten = flatten;\n    lodash.flattenDeep = flattenDeep;\n    lodash.flattenDepth = flattenDepth;\n    lodash.flip = flip;\n    lodash.flow = flow;\n    lodash.flowRight = flowRight;\n    lodash.fromPairs = fromPairs;\n    lodash.functions = functions;\n    lodash.functionsIn = functionsIn;\n    lodash.groupBy = groupBy;\n    lodash.initial = initial;\n    lodash.intersection = intersection;\n    lodash.intersectionBy = intersectionBy;\n    lodash.intersectionWith = intersectionWith;\n    lodash.invert = invert;\n    lodash.invertBy = invertBy;\n    lodash.invokeMap = invokeMap;\n    lodash.iteratee = iteratee;\n    lodash.keyBy = keyBy;\n    lodash.keys = keys;\n    lodash.keysIn = keysIn;\n    lodash.map = map;\n    lodash.mapKeys = mapKeys;\n    lodash.mapValues = mapValues;\n    lodash.matches = matches;\n    lodash.matchesProperty = matchesProperty;\n    lodash.memoize = memoize;\n    lodash.merge = merge;\n    lodash.mergeWith = mergeWith;\n    lodash.method = method;\n    lodash.methodOf = methodOf;\n    lodash.mixin = mixin;\n    lodash.negate = negate;\n    lodash.nthArg = nthArg;\n    lodash.omit = omit;\n    lodash.omitBy = omitBy;\n    lodash.once = once;\n    lodash.orderBy = orderBy;\n    lodash.over = over;\n    lodash.overArgs = overArgs;\n    lodash.overEvery = overEvery;\n    lodash.overSome = overSome;\n    lodash.partial = partial;\n    lodash.partialRight = partialRight;\n    lodash.partition = partition;\n    lodash.pick = pick;\n    lodash.pickBy = pickBy;\n    lodash.property = property;\n    lodash.propertyOf = propertyOf;\n    lodash.pull = pull;\n    lodash.pullAll = pullAll;\n    lodash.pullAllBy = pullAllBy;\n    lodash.pullAllWith = pullAllWith;\n    lodash.pullAt = pullAt;\n    lodash.range = range;\n    lodash.rangeRight = rangeRight;\n    lodash.rearg = rearg;\n    lodash.reject = reject;\n    lodash.remove = remove;\n    lodash.rest = rest;\n    lodash.reverse = reverse;\n    lodash.sampleSize = sampleSize;\n    lodash.set = set;\n    lodash.setWith = setWith;\n    lodash.shuffle = shuffle;\n    lodash.slice = slice;\n    lodash.sortBy = sortBy;\n    lodash.sortedUniq = sortedUniq;\n    lodash.sortedUniqBy = sortedUniqBy;\n    lodash.split = split;\n    lodash.spread = spread;\n    lodash.tail = tail;\n    lodash.take = take;\n    lodash.takeRight = takeRight;\n    lodash.takeRightWhile = takeRightWhile;\n    lodash.takeWhile = takeWhile;\n    lodash.tap = tap;\n    lodash.throttle = throttle;\n    lodash.thru = thru;\n    lodash.toArray = toArray;\n    lodash.toPairs = toPairs;\n    lodash.toPairsIn = toPairsIn;\n    lodash.toPath = toPath;\n    lodash.toPlainObject = toPlainObject;\n    lodash.transform = transform;\n    lodash.unary = unary;\n    lodash.union = union;\n    lodash.unionBy = unionBy;\n    lodash.unionWith = unionWith;\n    lodash.uniq = uniq;\n    lodash.uniqBy = uniqBy;\n    lodash.uniqWith = uniqWith;\n    lodash.unset = unset;\n    lodash.unzip = unzip;\n    lodash.unzipWith = unzipWith;\n    lodash.update = update;\n    lodash.updateWith = updateWith;\n    lodash.values = values;\n    lodash.valuesIn = valuesIn;\n    lodash.without = without;\n    lodash.words = words;\n    lodash.wrap = wrap;\n    lodash.xor = xor;\n    lodash.xorBy = xorBy;\n    lodash.xorWith = xorWith;\n    lodash.zip = zip;\n    lodash.zipObject = zipObject;\n    lodash.zipObjectDeep = zipObjectDeep;\n    lodash.zipWith = zipWith;\n\n    // Add aliases.\n    lodash.entries = toPairs;\n    lodash.entriesIn = toPairsIn;\n    lodash.extend = assignIn;\n    lodash.extendWith = assignInWith;\n\n    // Add methods to `lodash.prototype`.\n    mixin(lodash, lodash);\n\n    /*------------------------------------------------------------------------*/\n\n    // Add methods that return unwrapped values in chain sequences.\n    lodash.add = add;\n    lodash.attempt = attempt;\n    lodash.camelCase = camelCase;\n    lodash.capitalize = capitalize;\n    lodash.ceil = ceil;\n    lodash.clamp = clamp;\n    lodash.clone = clone;\n    lodash.cloneDeep = cloneDeep;\n    lodash.cloneDeepWith = cloneDeepWith;\n    lodash.cloneWith = cloneWith;\n    lodash.conformsTo = conformsTo;\n    lodash.deburr = deburr;\n    lodash.defaultTo = defaultTo;\n    lodash.divide = divide;\n    lodash.endsWith = endsWith;\n    lodash.eq = eq;\n    lodash.escape = escape;\n    lodash.escapeRegExp = escapeRegExp;\n    lodash.every = every;\n    lodash.find = find;\n    lodash.findIndex = findIndex;\n    lodash.findKey = findKey;\n    lodash.findLast = findLast;\n    lodash.findLastIndex = findLastIndex;\n    lodash.findLastKey = findLastKey;\n    lodash.floor = floor;\n    lodash.forEach = forEach;\n    lodash.forEachRight = forEachRight;\n    lodash.forIn = forIn;\n    lodash.forInRight = forInRight;\n    lodash.forOwn = forOwn;\n    lodash.forOwnRight = forOwnRight;\n    lodash.get = get;\n    lodash.gt = gt;\n    lodash.gte = gte;\n    lodash.has = has;\n    lodash.hasIn = hasIn;\n    lodash.head = head;\n    lodash.identity = identity;\n    lodash.includes = includes;\n    lodash.indexOf = indexOf;\n    lodash.inRange = inRange;\n    lodash.invoke = invoke;\n    lodash.isArguments = isArguments;\n    lodash.isArray = isArray;\n    lodash.isArrayBuffer = isArrayBuffer;\n    lodash.isArrayLike = isArrayLike;\n    lodash.isArrayLikeObject = isArrayLikeObject;\n    lodash.isBoolean = isBoolean;\n    lodash.isBuffer = isBuffer;\n    lodash.isDate = isDate;\n    lodash.isElement = isElement;\n    lodash.isEmpty = isEmpty;\n    lodash.isEqual = isEqual;\n    lodash.isEqualWith = isEqualWith;\n    lodash.isError = isError;\n    lodash.isFinite = isFinite;\n    lodash.isFunction = isFunction;\n    lodash.isInteger = isInteger;\n    lodash.isLength = isLength;\n    lodash.isMap = isMap;\n    lodash.isMatch = isMatch;\n    lodash.isMatchWith = isMatchWith;\n    lodash.isNaN = isNaN;\n    lodash.isNative = isNative;\n    lodash.isNil = isNil;\n    lodash.isNull = isNull;\n    lodash.isNumber = isNumber;\n    lodash.isObject = isObject;\n    lodash.isObjectLike = isObjectLike;\n    lodash.isPlainObject = isPlainObject;\n    lodash.isRegExp = isRegExp;\n    lodash.isSafeInteger = isSafeInteger;\n    lodash.isSet = isSet;\n    lodash.isString = isString;\n    lodash.isSymbol = isSymbol;\n    lodash.isTypedArray = isTypedArray;\n    lodash.isUndefined = isUndefined;\n    lodash.isWeakMap = isWeakMap;\n    lodash.isWeakSet = isWeakSet;\n    lodash.join = join;\n    lodash.kebabCase = kebabCase;\n    lodash.last = last;\n    lodash.lastIndexOf = lastIndexOf;\n    lodash.lowerCase = lowerCase;\n    lodash.lowerFirst = lowerFirst;\n    lodash.lt = lt;\n    lodash.lte = lte;\n    lodash.max = max;\n    lodash.maxBy = maxBy;\n    lodash.mean = mean;\n    lodash.meanBy = meanBy;\n    lodash.min = min;\n    lodash.minBy = minBy;\n    lodash.stubArray = stubArray;\n    lodash.stubFalse = stubFalse;\n    lodash.stubObject = stubObject;\n    lodash.stubString = stubString;\n    lodash.stubTrue = stubTrue;\n    lodash.multiply = multiply;\n    lodash.nth = nth;\n    lodash.noConflict = noConflict;\n    lodash.noop = noop;\n    lodash.now = now;\n    lodash.pad = pad;\n    lodash.padEnd = padEnd;\n    lodash.padStart = padStart;\n    lodash.parseInt = parseInt;\n    lodash.random = random;\n    lodash.reduce = reduce;\n    lodash.reduceRight = reduceRight;\n    lodash.repeat = repeat;\n    lodash.replace = replace;\n    lodash.result = result;\n    lodash.round = round;\n    lodash.runInContext = runInContext;\n    lodash.sample = sample;\n    lodash.size = size;\n    lodash.snakeCase = snakeCase;\n    lodash.some = some;\n    lodash.sortedIndex = sortedIndex;\n    lodash.sortedIndexBy = sortedIndexBy;\n    lodash.sortedIndexOf = sortedIndexOf;\n    lodash.sortedLastIndex = sortedLastIndex;\n    lodash.sortedLastIndexBy = sortedLastIndexBy;\n    lodash.sortedLastIndexOf = sortedLastIndexOf;\n    lodash.startCase = startCase;\n    lodash.startsWith = startsWith;\n    lodash.subtract = subtract;\n    lodash.sum = sum;\n    lodash.sumBy = sumBy;\n    lodash.template = template;\n    lodash.times = times;\n    lodash.toFinite = toFinite;\n    lodash.toInteger = toInteger;\n    lodash.toLength = toLength;\n    lodash.toLower = toLower;\n    lodash.toNumber = toNumber;\n    lodash.toSafeInteger = toSafeInteger;\n    lodash.toString = toString;\n    lodash.toUpper = toUpper;\n    lodash.trim = trim;\n    lodash.trimEnd = trimEnd;\n    lodash.trimStart = trimStart;\n    lodash.truncate = truncate;\n    lodash.unescape = unescape;\n    lodash.uniqueId = uniqueId;\n    lodash.upperCase = upperCase;\n    lodash.upperFirst = upperFirst;\n\n    // Add aliases.\n    lodash.each = forEach;\n    lodash.eachRight = forEachRight;\n    lodash.first = head;\n\n    mixin(lodash, (function() {\n      var source = {};\n      baseForOwn(lodash, function(func, methodName) {\n        if (!hasOwnProperty.call(lodash.prototype, methodName)) {\n          source[methodName] = func;\n        }\n      });\n      return source;\n    }()), { 'chain': false });\n\n    /*------------------------------------------------------------------------*/\n\n    /**\n     * The semantic version number.\n     *\n     * @static\n     * @memberOf _\n     * @type {string}\n     */\n    lodash.VERSION = VERSION;\n\n    // Assign default placeholders.\n    arrayEach(['bind', 'bindKey', 'curry', 'curryRight', 'partial', 'partialRight'], function(methodName) {\n      lodash[methodName].placeholder = lodash;\n    });\n\n    // Add `LazyWrapper` methods for `_.drop` and `_.take` variants.\n    arrayEach(['drop', 'take'], function(methodName, index) {\n      LazyWrapper.prototype[methodName] = function(n) {\n        n = n === undefined ? 1 : nativeMax(toInteger(n), 0);\n\n        var result = (this.__filtered__ && !index)\n          ? new LazyWrapper(this)\n          : this.clone();\n\n        if (result.__filtered__) {\n          result.__takeCount__ = nativeMin(n, result.__takeCount__);\n        } else {\n          result.__views__.push({\n            'size': nativeMin(n, MAX_ARRAY_LENGTH),\n            'type': methodName + (result.__dir__ < 0 ? 'Right' : '')\n          });\n        }\n        return result;\n      };\n\n      LazyWrapper.prototype[methodName + 'Right'] = function(n) {\n        return this.reverse()[methodName](n).reverse();\n      };\n    });\n\n    // Add `LazyWrapper` methods that accept an `iteratee` value.\n    arrayEach(['filter', 'map', 'takeWhile'], function(methodName, index) {\n      var type = index + 1,\n          isFilter = type == LAZY_FILTER_FLAG || type == LAZY_WHILE_FLAG;\n\n      LazyWrapper.prototype[methodName] = function(iteratee) {\n        var result = this.clone();\n        result.__iteratees__.push({\n          'iteratee': getIteratee(iteratee, 3),\n          'type': type\n        });\n        result.__filtered__ = result.__filtered__ || isFilter;\n        return result;\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.head` and `_.last`.\n    arrayEach(['head', 'last'], function(methodName, index) {\n      var takeName = 'take' + (index ? 'Right' : '');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this[takeName](1).value()[0];\n      };\n    });\n\n    // Add `LazyWrapper` methods for `_.initial` and `_.tail`.\n    arrayEach(['initial', 'tail'], function(methodName, index) {\n      var dropName = 'drop' + (index ? '' : 'Right');\n\n      LazyWrapper.prototype[methodName] = function() {\n        return this.__filtered__ ? new LazyWrapper(this) : this[dropName](1);\n      };\n    });\n\n    LazyWrapper.prototype.compact = function() {\n      return this.filter(identity);\n    };\n\n    LazyWrapper.prototype.find = function(predicate) {\n      return this.filter(predicate).head();\n    };\n\n    LazyWrapper.prototype.findLast = function(predicate) {\n      return this.reverse().find(predicate);\n    };\n\n    LazyWrapper.prototype.invokeMap = baseRest(function(path, args) {\n      if (typeof path == 'function') {\n        return new LazyWrapper(this);\n      }\n      return this.map(function(value) {\n        return baseInvoke(value, path, args);\n      });\n    });\n\n    LazyWrapper.prototype.reject = function(predicate) {\n      return this.filter(negate(getIteratee(predicate)));\n    };\n\n    LazyWrapper.prototype.slice = function(start, end) {\n      start = toInteger(start);\n\n      var result = this;\n      if (result.__filtered__ && (start > 0 || end < 0)) {\n        return new LazyWrapper(result);\n      }\n      if (start < 0) {\n        result = result.takeRight(-start);\n      } else if (start) {\n        result = result.drop(start);\n      }\n      if (end !== undefined) {\n        end = toInteger(end);\n        result = end < 0 ? result.dropRight(-end) : result.take(end - start);\n      }\n      return result;\n    };\n\n    LazyWrapper.prototype.takeRightWhile = function(predicate) {\n      return this.reverse().takeWhile(predicate).reverse();\n    };\n\n    LazyWrapper.prototype.toArray = function() {\n      return this.take(MAX_ARRAY_LENGTH);\n    };\n\n    // Add `LazyWrapper` methods to `lodash.prototype`.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var checkIteratee = /^(?:filter|find|map|reject)|While$/.test(methodName),\n          isTaker = /^(?:head|last)$/.test(methodName),\n          lodashFunc = lodash[isTaker ? ('take' + (methodName == 'last' ? 'Right' : '')) : methodName],\n          retUnwrapped = isTaker || /^find/.test(methodName);\n\n      if (!lodashFunc) {\n        return;\n      }\n      lodash.prototype[methodName] = function() {\n        var value = this.__wrapped__,\n            args = isTaker ? [1] : arguments,\n            isLazy = value instanceof LazyWrapper,\n            iteratee = args[0],\n            useLazy = isLazy || isArray(value);\n\n        var interceptor = function(value) {\n          var result = lodashFunc.apply(lodash, arrayPush([value], args));\n          return (isTaker && chainAll) ? result[0] : result;\n        };\n\n        if (useLazy && checkIteratee && typeof iteratee == 'function' && iteratee.length != 1) {\n          // Avoid lazy use if the iteratee has a \"length\" value other than `1`.\n          isLazy = useLazy = false;\n        }\n        var chainAll = this.__chain__,\n            isHybrid = !!this.__actions__.length,\n            isUnwrapped = retUnwrapped && !chainAll,\n            onlyLazy = isLazy && !isHybrid;\n\n        if (!retUnwrapped && useLazy) {\n          value = onlyLazy ? value : new LazyWrapper(this);\n          var result = func.apply(value, args);\n          result.__actions__.push({ 'func': thru, 'args': [interceptor], 'thisArg': undefined });\n          return new LodashWrapper(result, chainAll);\n        }\n        if (isUnwrapped && onlyLazy) {\n          return func.apply(this, args);\n        }\n        result = this.thru(interceptor);\n        return isUnwrapped ? (isTaker ? result.value()[0] : result.value()) : result;\n      };\n    });\n\n    // Add `Array` methods to `lodash.prototype`.\n    arrayEach(['pop', 'push', 'shift', 'sort', 'splice', 'unshift'], function(methodName) {\n      var func = arrayProto[methodName],\n          chainName = /^(?:push|sort|unshift)$/.test(methodName) ? 'tap' : 'thru',\n          retUnwrapped = /^(?:pop|shift)$/.test(methodName);\n\n      lodash.prototype[methodName] = function() {\n        var args = arguments;\n        if (retUnwrapped && !this.__chain__) {\n          var value = this.value();\n          return func.apply(isArray(value) ? value : [], args);\n        }\n        return this[chainName](function(value) {\n          return func.apply(isArray(value) ? value : [], args);\n        });\n      };\n    });\n\n    // Map minified method names to their real names.\n    baseForOwn(LazyWrapper.prototype, function(func, methodName) {\n      var lodashFunc = lodash[methodName];\n      if (lodashFunc) {\n        var key = lodashFunc.name + '';\n        if (!hasOwnProperty.call(realNames, key)) {\n          realNames[key] = [];\n        }\n        realNames[key].push({ 'name': methodName, 'func': lodashFunc });\n      }\n    });\n\n    realNames[createHybrid(undefined, WRAP_BIND_KEY_FLAG).name] = [{\n      'name': 'wrapper',\n      'func': undefined\n    }];\n\n    // Add methods to `LazyWrapper`.\n    LazyWrapper.prototype.clone = lazyClone;\n    LazyWrapper.prototype.reverse = lazyReverse;\n    LazyWrapper.prototype.value = lazyValue;\n\n    // Add chain sequence methods to the `lodash` wrapper.\n    lodash.prototype.at = wrapperAt;\n    lodash.prototype.chain = wrapperChain;\n    lodash.prototype.commit = wrapperCommit;\n    lodash.prototype.next = wrapperNext;\n    lodash.prototype.plant = wrapperPlant;\n    lodash.prototype.reverse = wrapperReverse;\n    lodash.prototype.toJSON = lodash.prototype.valueOf = lodash.prototype.value = wrapperValue;\n\n    // Add lazy aliases.\n    lodash.prototype.first = lodash.prototype.head;\n\n    if (symIterator) {\n      lodash.prototype[symIterator] = wrapperToIterator;\n    }\n    return lodash;\n  });\n\n  /*--------------------------------------------------------------------------*/\n\n  // Export lodash.\n  var _ = runInContext();\n\n  // Some AMD build optimizers, like r.js, check for condition patterns like:\n  if (typeof define == 'function' && typeof define.amd == 'object' && define.amd) {\n    // Expose Lodash on the global object to prevent errors when Lodash is\n    // loaded by a script tag in the presence of an AMD loader.\n    // See http://requirejs.org/docs/errors.html#mismatch for more details.\n    // Use `_.noConflict` to remove Lodash from the global object.\n    root._ = _;\n\n    // Define as an anonymous module so, through path mapping, it can be\n    // referenced as the \"underscore\" module.\n    define(function() {\n      return _;\n    });\n  }\n  // Check for `exports` after `define` in case a build optimizer adds it.\n  else if (freeModule) {\n    // Export for Node.js.\n    (freeModule.exports = _)._ = _;\n    // Export for CommonJS support.\n    freeExports._ = _;\n  }\n  else {\n    // Export to the global object.\n    root._ = _;\n  }\n}.call(this));\n","if (typeof FastBoot === 'undefined') { /*\n * Toastr\n * Copyright 2012-2015\n * Authors: John Papa, Hans Fjällemark, and Tim Ferrell.\n * All Rights Reserved.\n * Use, reproduction, distribution, and modification of this code is subject to the terms and\n * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php\n *\n * ARIA Support: Greta Krafsig\n *\n * Project: https://github.com/CodeSeven/toastr\n */\n/* global define */\n(function (define) {\n    define(['jquery'], function ($) {\n        return (function () {\n            var $container;\n            var listener;\n            var toastId = 0;\n            var toastType = {\n                error: 'error',\n                info: 'info',\n                success: 'success',\n                warning: 'warning'\n            };\n\n            var toastr = {\n                clear: clear,\n                remove: remove,\n                error: error,\n                getContainer: getContainer,\n                info: info,\n                options: {},\n                subscribe: subscribe,\n                success: success,\n                version: '2.1.4',\n                warning: warning\n            };\n\n            var previousToast;\n\n            return toastr;\n\n            ////////////////\n\n            function error(message, title, optionsOverride) {\n                return notify({\n                    type: toastType.error,\n                    iconClass: getOptions().iconClasses.error,\n                    message: message,\n                    optionsOverride: optionsOverride,\n                    title: title\n                });\n            }\n\n            function getContainer(options, create) {\n                if (!options) { options = getOptions(); }\n                $container = $('#' + options.containerId);\n                if ($container.length) {\n                    return $container;\n                }\n                if (create) {\n                    $container = createContainer(options);\n                }\n                return $container;\n            }\n\n            function info(message, title, optionsOverride) {\n                return notify({\n                    type: toastType.info,\n                    iconClass: getOptions().iconClasses.info,\n                    message: message,\n                    optionsOverride: optionsOverride,\n                    title: title\n                });\n            }\n\n            function subscribe(callback) {\n                listener = callback;\n            }\n\n            function success(message, title, optionsOverride) {\n                return notify({\n                    type: toastType.success,\n                    iconClass: getOptions().iconClasses.success,\n                    message: message,\n                    optionsOverride: optionsOverride,\n                    title: title\n                });\n            }\n\n            function warning(message, title, optionsOverride) {\n                return notify({\n                    type: toastType.warning,\n                    iconClass: getOptions().iconClasses.warning,\n                    message: message,\n                    optionsOverride: optionsOverride,\n                    title: title\n                });\n            }\n\n            function clear($toastElement, clearOptions) {\n                var options = getOptions();\n                if (!$container) { getContainer(options); }\n                if (!clearToast($toastElement, options, clearOptions)) {\n                    clearContainer(options);\n                }\n            }\n\n            function remove($toastElement) {\n                var options = getOptions();\n                if (!$container) { getContainer(options); }\n                if ($toastElement && $(':focus', $toastElement).length === 0) {\n                    removeToast($toastElement);\n                    return;\n                }\n                if ($container.children().length) {\n                    $container.remove();\n                }\n            }\n\n            // internal functions\n\n            function clearContainer (options) {\n                var toastsToClear = $container.children();\n                for (var i = toastsToClear.length - 1; i >= 0; i--) {\n                    clearToast($(toastsToClear[i]), options);\n                }\n            }\n\n            function clearToast ($toastElement, options, clearOptions) {\n                var force = clearOptions && clearOptions.force ? clearOptions.force : false;\n                if ($toastElement && (force || $(':focus', $toastElement).length === 0)) {\n                    $toastElement[options.hideMethod]({\n                        duration: options.hideDuration,\n                        easing: options.hideEasing,\n                        complete: function () { removeToast($toastElement); }\n                    });\n                    return true;\n                }\n                return false;\n            }\n\n            function createContainer(options) {\n                $container = $('<div/>')\n                    .attr('id', options.containerId)\n                    .addClass(options.positionClass);\n\n                $container.appendTo($(options.target));\n                return $container;\n            }\n\n            function getDefaults() {\n                return {\n                    tapToDismiss: true,\n                    toastClass: 'toast',\n                    containerId: 'toast-container',\n                    debug: false,\n\n                    showMethod: 'fadeIn', //fadeIn, slideDown, and show are built into jQuery\n                    showDuration: 300,\n                    showEasing: 'swing', //swing and linear are built into jQuery\n                    onShown: undefined,\n                    hideMethod: 'fadeOut',\n                    hideDuration: 1000,\n                    hideEasing: 'swing',\n                    onHidden: undefined,\n                    closeMethod: false,\n                    closeDuration: false,\n                    closeEasing: false,\n                    closeOnHover: true,\n\n                    extendedTimeOut: 1000,\n                    iconClasses: {\n                        error: 'toast-error',\n                        info: 'toast-info',\n                        success: 'toast-success',\n                        warning: 'toast-warning'\n                    },\n                    iconClass: 'toast-info',\n                    positionClass: 'toast-top-right',\n                    timeOut: 5000, // Set timeOut and extendedTimeOut to 0 to make it sticky\n                    titleClass: 'toast-title',\n                    messageClass: 'toast-message',\n                    escapeHtml: false,\n                    target: 'body',\n                    closeHtml: '<button type=\"button\">&times;</button>',\n                    closeClass: 'toast-close-button',\n                    newestOnTop: true,\n                    preventDuplicates: false,\n                    progressBar: false,\n                    progressClass: 'toast-progress',\n                    rtl: false\n                };\n            }\n\n            function publish(args) {\n                if (!listener) { return; }\n                listener(args);\n            }\n\n            function notify(map) {\n                var options = getOptions();\n                var iconClass = map.iconClass || options.iconClass;\n\n                if (typeof (map.optionsOverride) !== 'undefined') {\n                    options = $.extend(options, map.optionsOverride);\n                    iconClass = map.optionsOverride.iconClass || iconClass;\n                }\n\n                if (shouldExit(options, map)) { return; }\n\n                toastId++;\n\n                $container = getContainer(options, true);\n\n                var intervalId = null;\n                var $toastElement = $('<div/>');\n                var $titleElement = $('<div/>');\n                var $messageElement = $('<div/>');\n                var $progressElement = $('<div/>');\n                var $closeElement = $(options.closeHtml);\n                var progressBar = {\n                    intervalId: null,\n                    hideEta: null,\n                    maxHideTime: null\n                };\n                var response = {\n                    toastId: toastId,\n                    state: 'visible',\n                    startTime: new Date(),\n                    options: options,\n                    map: map\n                };\n\n                personalizeToast();\n\n                displayToast();\n\n                handleEvents();\n\n                publish(response);\n\n                if (options.debug && console) {\n                    console.log(response);\n                }\n\n                return $toastElement;\n\n                function escapeHtml(source) {\n                    if (source == null) {\n                        source = '';\n                    }\n\n                    return source\n                        .replace(/&/g, '&amp;')\n                        .replace(/\"/g, '&quot;')\n                        .replace(/'/g, '&#39;')\n                        .replace(/</g, '&lt;')\n                        .replace(/>/g, '&gt;');\n                }\n\n                function personalizeToast() {\n                    setIcon();\n                    setTitle();\n                    setMessage();\n                    setCloseButton();\n                    setProgressBar();\n                    setRTL();\n                    setSequence();\n                    setAria();\n                }\n\n                function setAria() {\n                    var ariaValue = '';\n                    switch (map.iconClass) {\n                        case 'toast-success':\n                        case 'toast-info':\n                            ariaValue =  'polite';\n                            break;\n                        default:\n                            ariaValue = 'assertive';\n                    }\n                    $toastElement.attr('aria-live', ariaValue);\n                }\n\n                function handleEvents() {\n                    if (options.closeOnHover) {\n                        $toastElement.hover(stickAround, delayedHideToast);\n                    }\n\n                    if (!options.onclick && options.tapToDismiss) {\n                        $toastElement.click(hideToast);\n                    }\n\n                    if (options.closeButton && $closeElement) {\n                        $closeElement.click(function (event) {\n                            if (event.stopPropagation) {\n                                event.stopPropagation();\n                            } else if (event.cancelBubble !== undefined && event.cancelBubble !== true) {\n                                event.cancelBubble = true;\n                            }\n\n                            if (options.onCloseClick) {\n                                options.onCloseClick(event);\n                            }\n\n                            hideToast(true);\n                        });\n                    }\n\n                    if (options.onclick) {\n                        $toastElement.click(function (event) {\n                            options.onclick(event);\n                            hideToast();\n                        });\n                    }\n                }\n\n                function displayToast() {\n                    $toastElement.hide();\n\n                    $toastElement[options.showMethod](\n                        {duration: options.showDuration, easing: options.showEasing, complete: options.onShown}\n                    );\n\n                    if (options.timeOut > 0) {\n                        intervalId = setTimeout(hideToast, options.timeOut);\n                        progressBar.maxHideTime = parseFloat(options.timeOut);\n                        progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;\n                        if (options.progressBar) {\n                            progressBar.intervalId = setInterval(updateProgress, 10);\n                        }\n                    }\n                }\n\n                function setIcon() {\n                    if (map.iconClass) {\n                        $toastElement.addClass(options.toastClass).addClass(iconClass);\n                    }\n                }\n\n                function setSequence() {\n                    if (options.newestOnTop) {\n                        $container.prepend($toastElement);\n                    } else {\n                        $container.append($toastElement);\n                    }\n                }\n\n                function setTitle() {\n                    if (map.title) {\n                        var suffix = map.title;\n                        if (options.escapeHtml) {\n                            suffix = escapeHtml(map.title);\n                        }\n                        $titleElement.append(suffix).addClass(options.titleClass);\n                        $toastElement.append($titleElement);\n                    }\n                }\n\n                function setMessage() {\n                    if (map.message) {\n                        var suffix = map.message;\n                        if (options.escapeHtml) {\n                            suffix = escapeHtml(map.message);\n                        }\n                        $messageElement.append(suffix).addClass(options.messageClass);\n                        $toastElement.append($messageElement);\n                    }\n                }\n\n                function setCloseButton() {\n                    if (options.closeButton) {\n                        $closeElement.addClass(options.closeClass).attr('role', 'button');\n                        $toastElement.prepend($closeElement);\n                    }\n                }\n\n                function setProgressBar() {\n                    if (options.progressBar) {\n                        $progressElement.addClass(options.progressClass);\n                        $toastElement.prepend($progressElement);\n                    }\n                }\n\n                function setRTL() {\n                    if (options.rtl) {\n                        $toastElement.addClass('rtl');\n                    }\n                }\n\n                function shouldExit(options, map) {\n                    if (options.preventDuplicates) {\n                        if (map.message === previousToast) {\n                            return true;\n                        } else {\n                            previousToast = map.message;\n                        }\n                    }\n                    return false;\n                }\n\n                function hideToast(override) {\n                    var method = override && options.closeMethod !== false ? options.closeMethod : options.hideMethod;\n                    var duration = override && options.closeDuration !== false ?\n                        options.closeDuration : options.hideDuration;\n                    var easing = override && options.closeEasing !== false ? options.closeEasing : options.hideEasing;\n                    if ($(':focus', $toastElement).length && !override) {\n                        return;\n                    }\n                    clearTimeout(progressBar.intervalId);\n                    return $toastElement[method]({\n                        duration: duration,\n                        easing: easing,\n                        complete: function () {\n                            removeToast($toastElement);\n                            clearTimeout(intervalId);\n                            if (options.onHidden && response.state !== 'hidden') {\n                                options.onHidden();\n                            }\n                            response.state = 'hidden';\n                            response.endTime = new Date();\n                            publish(response);\n                        }\n                    });\n                }\n\n                function delayedHideToast() {\n                    if (options.timeOut > 0 || options.extendedTimeOut > 0) {\n                        intervalId = setTimeout(hideToast, options.extendedTimeOut);\n                        progressBar.maxHideTime = parseFloat(options.extendedTimeOut);\n                        progressBar.hideEta = new Date().getTime() + progressBar.maxHideTime;\n                    }\n                }\n\n                function stickAround() {\n                    clearTimeout(intervalId);\n                    progressBar.hideEta = 0;\n                    $toastElement.stop(true, true)[options.showMethod](\n                        {duration: options.showDuration, easing: options.showEasing}\n                    );\n                }\n\n                function updateProgress() {\n                    var percentage = ((progressBar.hideEta - (new Date().getTime())) / progressBar.maxHideTime) * 100;\n                    $progressElement.width(percentage + '%');\n                }\n            }\n\n            function getOptions() {\n                return $.extend({}, getDefaults(), toastr.options);\n            }\n\n            function removeToast($toastElement) {\n                if (!$container) { $container = getContainer(); }\n                if ($toastElement.is(':visible')) {\n                    return;\n                }\n                $toastElement.remove();\n                $toastElement = null;\n                if ($container.children().length === 0) {\n                    $container.remove();\n                    previousToast = undefined;\n                }\n            }\n\n        })();\n    });\n}(typeof define === 'function' && define.amd ? define : function (deps, factory) {\n    if (typeof module !== 'undefined' && module.exports) { //Node\n        module.exports = factory(require('jquery'));\n    } else {\n        window.toastr = factory(window.jQuery);\n    }\n}));\n }","//! 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","export default (thing: any) => !!(thing && thing.Window) && thing instanceof thing.Window\n","import isWindow from './isWindow'\n\nexport let realWindow = undefined as Window\n\nlet win = undefined as Window\nexport { win as window }\n\nexport function init(window: Window & { wrap?: (...args: any[]) => any }) {\n  // get wrapped window if using Shadow DOM polyfill\n\n  realWindow = window\n\n  // create a TextNode\n  const el = window.document.createTextNode('')\n\n  // check if it's wrapped by a polyfill\n  if (el.ownerDocument !== window.document && typeof window.wrap === 'function' && window.wrap(el) === el) {\n    // use wrapped window\n    window = window.wrap(window)\n  }\n\n  win = window\n}\n\nif (typeof window !== 'undefined' && !!window) {\n  init(window)\n}\n\nexport function getWindow(node: any) {\n  if (isWindow(node)) {\n    return node\n  }\n\n  const rootNode = node.ownerDocument || node\n\n  return rootNode.defaultView || win.window\n}\n","import isWindow from './isWindow'\nimport * as win from './window'\n\nconst window = (thing: any): thing is Window => thing === win.window || isWindow(thing)\n\nconst docFrag = (thing: any): thing is DocumentFragment => object(thing) && thing.nodeType === 11\n\nconst object = (thing: any): thing is { [index: string]: any } => !!thing && typeof thing === 'object'\n\nconst func = (thing: any): thing is (...args: any[]) => any => typeof thing === 'function'\n\nconst number = (thing: any): thing is number => typeof thing === 'number'\n\nconst bool = (thing: any): thing is boolean => typeof thing === 'boolean'\n\nconst string = (thing: any): thing is string => typeof thing === 'string'\n\nconst element = (thing: any): thing is HTMLElement | SVGElement => {\n  if (!thing || typeof thing !== 'object') {\n    return false\n  }\n\n  const _window = win.getWindow(thing) || win.window\n\n  return /object|function/.test(typeof Element)\n    ? thing instanceof Element || thing instanceof _window.Element\n    : thing.nodeType === 1 && typeof thing.nodeName === 'string'\n}\n\nconst plainObject: typeof object = (thing: any): thing is { [index: string]: any } =>\n  object(thing) && !!thing.constructor && /function Object\\b/.test(thing.constructor.toString())\n\nconst array = <T extends unknown>(thing: any): thing is T[] =>\n  object(thing) && typeof thing.length !== 'undefined' && func(thing.splice)\n\nexport default {\n  window,\n  docFrag,\n  object,\n  func,\n  number,\n  bool,\n  string,\n  element,\n  plainObject,\n  array,\n}\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { InteractEvent } from '@interactjs/core/InteractEvent'\nimport type { PerActionDefaults } from '@interactjs/core/options'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { ListenersArg, OrBoolean } from '@interactjs/core/types'\nimport is from '@interactjs/utils/is'\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    draggable(options: Partial<OrBoolean<DraggableOptions>> | boolean): this\n    draggable(): DraggableOptions\n    /**\n     * ```js\n     * interact(element).draggable({\n     *     onstart: function (event) {},\n     *     onmove : function (event) {},\n     *     onend  : function (event) {},\n     *\n     *     // the axis in which the first movement must be\n     *     // for the drag sequence to start\n     *     // 'xy' by default - any direction\n     *     startAxis: 'x' || 'y' || 'xy',\n     *\n     *     // 'xy' by default - don't restrict to one axis (move in any direction)\n     *     // 'x' or 'y' to restrict movement to either axis\n     *     // 'start' to restrict movement to the axis the drag started in\n     *     lockAxis: 'x' || 'y' || 'xy' || 'start',\n     *\n     *     // max number of drags that can happen concurrently\n     *     // with elements of this Interactable. Infinity by default\n     *     max: Infinity,\n     *\n     *     // max number of drags that can target the same element+Interactable\n     *     // 1 by default\n     *     maxPerElement: 2\n     * })\n     *\n     * var isDraggable = interact('element').draggable(); // true\n     * ```\n     *\n     * Get or set whether drag actions can be performed on the target\n     *\n     * @param options - true/false or An object with event\n     * listeners to be fired on drag events (object makes the Interactable\n     * draggable)\n     */\n    draggable(options?: Partial<OrBoolean<DraggableOptions>> | boolean): this | DraggableOptions\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface ActionDefaults {\n    drag: DraggableOptions\n  }\n}\n\ndeclare module '@interactjs/core/types' {\n  interface ActionMap {\n    drag?: typeof drag\n  }\n}\n\nexport type DragEvent = InteractEvent<'drag'>\n\nexport interface DraggableOptions extends PerActionDefaults {\n  startAxis?: 'x' | 'y' | 'xy'\n  lockAxis?: 'x' | 'y' | 'xy' | 'start'\n  oninertiastart?: ListenersArg\n  onstart?: ListenersArg\n  onmove?: ListenersArg\n  onend?: ListenersArg\n}\n\nfunction install(scope: Scope) {\n  const { actions, Interactable, defaults } = scope\n\n  Interactable.prototype.draggable = drag.draggable\n\n  actions.map.drag = drag\n  actions.methodDict.drag = 'draggable'\n\n  defaults.actions.drag = drag.defaults\n}\n\nfunction beforeMove({ interaction }) {\n  if (interaction.prepared.name !== 'drag') return\n\n  const axis = interaction.prepared.axis\n\n  if (axis === 'x') {\n    interaction.coords.cur.page.y = interaction.coords.start.page.y\n    interaction.coords.cur.client.y = interaction.coords.start.client.y\n\n    interaction.coords.velocity.client.y = 0\n    interaction.coords.velocity.page.y = 0\n  } else if (axis === 'y') {\n    interaction.coords.cur.page.x = interaction.coords.start.page.x\n    interaction.coords.cur.client.x = interaction.coords.start.client.x\n\n    interaction.coords.velocity.client.x = 0\n    interaction.coords.velocity.page.x = 0\n  }\n}\n\nfunction move({ iEvent, interaction }) {\n  if (interaction.prepared.name !== 'drag') return\n\n  const axis = interaction.prepared.axis\n\n  if (axis === 'x' || axis === 'y') {\n    const opposite = axis === 'x' ? 'y' : 'x'\n\n    iEvent.page[opposite] = interaction.coords.start.page[opposite]\n    iEvent.client[opposite] = interaction.coords.start.client[opposite]\n    iEvent.delta[opposite] = 0\n  }\n}\n\nconst draggable: Interactable['draggable'] = function draggable(\n  this: Interactable,\n  options?: DraggableOptions | boolean,\n): any {\n  if (is.object(options)) {\n    this.options.drag.enabled = options.enabled !== false\n    this.setPerAction('drag', options)\n    this.setOnEvents('drag', options)\n\n    if (/^(xy|x|y|start)$/.test(options.lockAxis)) {\n      this.options.drag.lockAxis = options.lockAxis\n    }\n    if (/^(xy|x|y)$/.test(options.startAxis)) {\n      this.options.drag.startAxis = options.startAxis\n    }\n\n    return this\n  }\n\n  if (is.bool(options)) {\n    this.options.drag.enabled = options\n\n    return this\n  }\n\n  return this.options.drag as DraggableOptions\n}\n\nconst drag: Plugin = {\n  id: 'actions/drag',\n  install,\n  listeners: {\n    'interactions:before-action-move': beforeMove,\n    'interactions:action-resume': beforeMove,\n\n    // dragmove\n    'interactions:action-move': move,\n    'auto-start:check': (arg) => {\n      const { interaction, interactable, buttons } = arg\n      const dragOptions = interactable.options.drag\n\n      if (\n        !(dragOptions && dragOptions.enabled) ||\n        // check mouseButton setting if the pointer is down\n        (interaction.pointerIsDown &&\n          /mouse|pointer/.test(interaction.pointerType) &&\n          (buttons & interactable.options.drag.mouseButtons) === 0)\n      ) {\n        return undefined\n      }\n\n      arg.action = {\n        name: 'drag',\n        axis: dragOptions.lockAxis === 'start' ? dragOptions.startAxis : dragOptions.lockAxis,\n      }\n\n      return false\n    },\n  },\n  draggable,\n  beforeMove,\n  move,\n  defaults: {\n    startAxis: 'xy',\n    lockAxis: 'xy',\n  } as DraggableOptions,\n\n  getCursor() {\n    return 'move'\n  },\n\n  filterEventType: (type: string) => type.search('drag') === 0,\n}\n\nexport default drag\n","const domObjects: {\n  init: any\n  document: Document\n  DocumentFragment: typeof DocumentFragment\n  SVGElement: typeof SVGElement\n  SVGSVGElement: typeof SVGSVGElement\n  SVGElementInstance: any\n  Element: typeof Element\n  HTMLElement: typeof HTMLElement\n  Event: typeof Event\n  Touch: typeof Touch\n  PointerEvent: typeof PointerEvent\n} = {\n  init,\n  document: null,\n  DocumentFragment: null,\n  SVGElement: null,\n  SVGSVGElement: null,\n  SVGElementInstance: null,\n  Element: null,\n  HTMLElement: null,\n  Event: null,\n  Touch: null,\n  PointerEvent: null,\n}\n\nfunction blank() {}\n\nexport default domObjects\n\nfunction init(window: Window) {\n  const win = window as any\n\n  domObjects.document = win.document\n  domObjects.DocumentFragment = win.DocumentFragment || blank\n  domObjects.SVGElement = win.SVGElement || blank\n  domObjects.SVGSVGElement = win.SVGSVGElement || blank\n  domObjects.SVGElementInstance = win.SVGElementInstance || blank\n  domObjects.Element = win.Element || blank\n  domObjects.HTMLElement = win.HTMLElement || domObjects.Element\n\n  domObjects.Event = win.Event\n  domObjects.Touch = win.Touch || blank\n  domObjects.PointerEvent = win.PointerEvent || win.MSPointerEvent\n}\n","import domObjects from './domObjects'\nimport is from './is'\n\nconst browser = {\n  init,\n  supportsTouch: null as boolean,\n  supportsPointerEvent: null as boolean,\n  isIOS7: null as boolean,\n  isIOS: null as boolean,\n  isIe9: null as boolean,\n  isOperaMobile: null as boolean,\n  prefixedMatchesSelector: null as 'matches',\n  pEventTypes: null as {\n    up: string\n    down: string\n    over: string\n    out: string\n    move: string\n    cancel: string\n  },\n  wheelEvent: null as string,\n}\n\nfunction init(window: any) {\n  const Element = domObjects.Element\n  const navigator: Partial<Navigator> = window.navigator || {}\n\n  // Does the browser support touch input?\n  browser.supportsTouch =\n    'ontouchstart' in window ||\n    (is.func(window.DocumentTouch) && domObjects.document instanceof window.DocumentTouch)\n\n  // Does the browser support PointerEvents\n  // https://github.com/taye/interact.js/issues/703#issuecomment-471570492\n  browser.supportsPointerEvent = (navigator as any).pointerEnabled !== false && !!domObjects.PointerEvent\n\n  browser.isIOS = /iP(hone|od|ad)/.test(navigator.platform)\n\n  // scrolling doesn't change the result of getClientRects on iOS 7\n  browser.isIOS7 = /iP(hone|od|ad)/.test(navigator.platform) && /OS 7[^\\d]/.test(navigator.appVersion)\n\n  browser.isIe9 = /MSIE 9/.test(navigator.userAgent)\n\n  // Opera Mobile must be handled differently\n  browser.isOperaMobile =\n    navigator.appName === 'Opera' && browser.supportsTouch && /Presto/.test(navigator.userAgent)\n\n  // prefix matchesSelector\n  browser.prefixedMatchesSelector = (\n    'matches' in Element.prototype\n      ? 'matches'\n      : 'webkitMatchesSelector' in Element.prototype\n        ? 'webkitMatchesSelector'\n        : 'mozMatchesSelector' in Element.prototype\n          ? 'mozMatchesSelector'\n          : 'oMatchesSelector' in Element.prototype\n            ? 'oMatchesSelector'\n            : 'msMatchesSelector'\n  ) as 'matches'\n\n  browser.pEventTypes = browser.supportsPointerEvent\n    ? domObjects.PointerEvent === window.MSPointerEvent\n      ? {\n          up: 'MSPointerUp',\n          down: 'MSPointerDown',\n          over: 'mouseover',\n          out: 'mouseout',\n          move: 'MSPointerMove',\n          cancel: 'MSPointerCancel',\n        }\n      : {\n          up: 'pointerup',\n          down: 'pointerdown',\n          over: 'pointerover',\n          out: 'pointerout',\n          move: 'pointermove',\n          cancel: 'pointercancel',\n        }\n    : null\n\n  // because Webkit and Opera still use 'mousewheel' event type\n  browser.wheelEvent = domObjects.document && 'onmousewheel' in domObjects.document ? 'mousewheel' : 'wheel'\n}\n\nexport default browser\n","import type { Rect, Target, Element } from '@interactjs/core/types'\n\nimport browser from './browser'\nimport domObjects from './domObjects'\nimport is from './is'\nimport * as win from './window'\n\nexport function nodeContains(parent: Node, child: Node) {\n  if (parent.contains) {\n    return parent.contains(child as Node)\n  }\n\n  while (child) {\n    if (child === parent) {\n      return true\n    }\n\n    child = (child as Node).parentNode\n  }\n\n  return false\n}\n\nexport function closest(element: Node, selector: string) {\n  while (is.element(element)) {\n    if (matchesSelector(element, selector)) {\n      return element\n    }\n\n    element = parentNode(element)\n  }\n\n  return null\n}\n\nexport function parentNode(node: Node | Document) {\n  let parent = node.parentNode\n\n  if (is.docFrag(parent)) {\n    // skip past #shado-root fragments\n    // tslint:disable-next-line\n    while ((parent = (parent as any).host) && is.docFrag(parent)) {\n      continue\n    }\n\n    return parent\n  }\n\n  return parent\n}\n\nexport function matchesSelector(element: Element, selector: string) {\n  // remove /deep/ from selectors if shadowDOM polyfill is used\n  if (win.window !== win.realWindow) {\n    selector = selector.replace(/\\/deep\\//g, ' ')\n  }\n\n  return element[browser.prefixedMatchesSelector](selector)\n}\n\nconst getParent = (el: Node | Document | ShadowRoot) => el.parentNode || (el as ShadowRoot).host\n\n// Test for the element that's \"above\" all other qualifiers\nexport function indexOfDeepestElement(elements: Element[] | NodeListOf<globalThis.Element>) {\n  let deepestNodeParents: Node[] = []\n  let deepestNodeIndex: number\n\n  for (let i = 0; i < elements.length; i++) {\n    const currentNode = elements[i]\n    const deepestNode: Node = elements[deepestNodeIndex]\n\n    // node may appear in elements array multiple times\n    if (!currentNode || i === deepestNodeIndex) {\n      continue\n    }\n\n    if (!deepestNode) {\n      deepestNodeIndex = i\n      continue\n    }\n\n    const currentNodeParent = getParent(currentNode)\n    const deepestNodeParent = getParent(deepestNode)\n\n    // check if the deepest or current are document.documentElement/rootElement\n    // - if the current node is, do nothing and continue\n    if (currentNodeParent === currentNode.ownerDocument) {\n      continue\n    }\n    // - if deepest is, update with the current node and continue to next\n    else if (deepestNodeParent === currentNode.ownerDocument) {\n      deepestNodeIndex = i\n      continue\n    }\n\n    // compare zIndex of siblings\n    if (currentNodeParent === deepestNodeParent) {\n      if (zIndexIsHigherThan(currentNode, deepestNode)) {\n        deepestNodeIndex = i\n      }\n\n      continue\n    }\n\n    // populate the ancestry array for the latest deepest node\n    deepestNodeParents = deepestNodeParents.length ? deepestNodeParents : getNodeParents(deepestNode)\n\n    let ancestryStart: Node\n\n    // if the deepest node is an HTMLElement and the current node is a non root svg element\n    if (\n      deepestNode instanceof domObjects.HTMLElement &&\n      currentNode instanceof domObjects.SVGElement &&\n      !(currentNode instanceof domObjects.SVGSVGElement)\n    ) {\n      // TODO: is this check necessary? Was this for HTML elements embedded in SVG?\n      if (currentNode === deepestNodeParent) {\n        continue\n      }\n\n      ancestryStart = currentNode.ownerSVGElement\n    } else {\n      ancestryStart = currentNode\n    }\n\n    const currentNodeParents = getNodeParents(ancestryStart, deepestNode.ownerDocument)\n    let commonIndex = 0\n\n    // get (position of closest common ancestor) + 1\n    while (\n      currentNodeParents[commonIndex] &&\n      currentNodeParents[commonIndex] === deepestNodeParents[commonIndex]\n    ) {\n      commonIndex++\n    }\n\n    const parents = [\n      currentNodeParents[commonIndex - 1],\n      currentNodeParents[commonIndex],\n      deepestNodeParents[commonIndex],\n    ]\n\n    if (parents[0]) {\n      let child = parents[0].lastChild\n\n      while (child) {\n        if (child === parents[1]) {\n          deepestNodeIndex = i\n          deepestNodeParents = currentNodeParents\n\n          break\n        } else if (child === parents[2]) {\n          break\n        }\n\n        child = child.previousSibling\n      }\n    }\n  }\n\n  return deepestNodeIndex\n}\n\nfunction getNodeParents(node: Node, limit?: Node) {\n  const parents: Node[] = []\n  let parent: Node = node\n  let parentParent: Node\n\n  while ((parentParent = getParent(parent)) && parent !== limit && parentParent !== parent.ownerDocument) {\n    parents.unshift(parent)\n    parent = parentParent\n  }\n\n  return parents\n}\n\nfunction zIndexIsHigherThan(higherNode: Node, lowerNode: Node) {\n  const higherIndex = parseInt(win.getWindow(higherNode).getComputedStyle(higherNode).zIndex, 10) || 0\n  const lowerIndex = parseInt(win.getWindow(lowerNode).getComputedStyle(lowerNode).zIndex, 10) || 0\n\n  return higherIndex >= lowerIndex\n}\n\nexport function matchesUpTo(element: Element, selector: string, limit: Node) {\n  while (is.element(element)) {\n    if (matchesSelector(element, selector)) {\n      return true\n    }\n\n    element = parentNode(element) as Element\n\n    if (element === limit) {\n      return matchesSelector(element, selector)\n    }\n  }\n\n  return false\n}\n\nexport function getActualElement(element: Element) {\n  return (element as any).correspondingUseElement || element\n}\n\nexport function getScrollXY(relevantWindow?: Window) {\n  relevantWindow = relevantWindow || win.window\n  return {\n    x: relevantWindow.scrollX || relevantWindow.document.documentElement.scrollLeft,\n    y: relevantWindow.scrollY || relevantWindow.document.documentElement.scrollTop,\n  }\n}\n\nexport function getElementClientRect(element: Element): Required<Rect> {\n  const clientRect =\n    element instanceof domObjects.SVGElement ? element.getBoundingClientRect() : element.getClientRects()[0]\n\n  return (\n    clientRect && {\n      left: clientRect.left,\n      right: clientRect.right,\n      top: clientRect.top,\n      bottom: clientRect.bottom,\n      width: clientRect.width || clientRect.right - clientRect.left,\n      height: clientRect.height || clientRect.bottom - clientRect.top,\n    }\n  )\n}\n\nexport function getElementRect(element: Element) {\n  const clientRect = getElementClientRect(element)\n\n  if (!browser.isIOS7 && clientRect) {\n    const scroll = getScrollXY(win.getWindow(element))\n\n    clientRect.left += scroll.x\n    clientRect.right += scroll.x\n    clientRect.top += scroll.y\n    clientRect.bottom += scroll.y\n  }\n\n  return clientRect\n}\n\nexport function getPath(node: Node | Document) {\n  const path = []\n\n  while (node) {\n    path.push(node)\n    node = parentNode(node)\n  }\n\n  return path\n}\n\nexport function trySelector(value: Target) {\n  if (!is.string(value)) {\n    return false\n  }\n\n  // an exception will be raised if it is invalid\n  domObjects.document.querySelector(value)\n  return true\n}\n","export default function extend<T, U extends object>(dest: U & Partial<T>, source: T): T & U {\n  for (const prop in source) {\n    ;(dest as unknown as T)[prop] = source[prop]\n  }\n\n  const ret = dest as T & U\n\n  return ret\n}\n","import type {\n  HasGetRect,\n  RectResolvable,\n  Rect,\n  Element,\n  Point,\n  FullRect,\n  EdgeOptions,\n} from '@interactjs/core/types'\n\nimport { closest, getElementRect, parentNode } from './domUtils'\nimport extend from './extend'\nimport is from './is'\n\nexport function getStringOptionResult(value: any, target: HasGetRect, element: Node) {\n  if (value === 'parent') {\n    return parentNode(element)\n  }\n\n  if (value === 'self') {\n    return target.getRect(element as Element)\n  }\n\n  return closest(element, value)\n}\n\nexport function resolveRectLike<T extends any[]>(\n  value: RectResolvable<T>,\n  target?: HasGetRect,\n  element?: Node,\n  functionArgs?: T,\n) {\n  let returnValue: any = value\n  if (is.string(returnValue)) {\n    returnValue = getStringOptionResult(returnValue, target, element)\n  } else if (is.func(returnValue)) {\n    returnValue = returnValue(...functionArgs)\n  }\n\n  if (is.element(returnValue)) {\n    returnValue = getElementRect(returnValue)\n  }\n\n  return returnValue as Rect\n}\n\nexport function toFullRect(rect: Rect): FullRect {\n  const { top, left, bottom, right } = rect\n  const width = rect.width ?? rect.right - rect.left\n  const height = rect.height ?? rect.bottom - rect.top\n\n  return { top, left, bottom, right, width, height }\n}\n\nexport function rectToXY(rect: Rect | Point) {\n  return (\n    rect && {\n      x: 'x' in rect ? rect.x : rect.left,\n      y: 'y' in rect ? rect.y : rect.top,\n    }\n  )\n}\n\nexport function xywhToTlbr<T extends Partial<Rect & Point>>(rect: T) {\n  if (rect && !('left' in rect && 'top' in rect)) {\n    rect = extend({}, rect)\n\n    rect.left = rect.x || 0\n    rect.top = rect.y || 0\n    rect.right = rect.right || rect.left + rect.width\n    rect.bottom = rect.bottom || rect.top + rect.height\n  }\n\n  return rect as Rect & T\n}\n\nexport function tlbrToXywh(rect: Rect & Partial<Point>) {\n  if (rect && !('x' in rect && 'y' in rect)) {\n    rect = extend({}, rect)\n\n    rect.x = rect.left || 0\n    rect.y = rect.top || 0\n    rect.width = rect.width || (rect.right || 0) - rect.x\n    rect.height = rect.height || (rect.bottom || 0) - rect.y\n  }\n\n  return rect as FullRect & Point\n}\n\nexport function addEdges(edges: EdgeOptions, rect: Rect, delta: Point) {\n  if (edges.left) {\n    rect.left += delta.x\n  }\n  if (edges.right) {\n    rect.right += delta.x\n  }\n  if (edges.top) {\n    rect.top += delta.y\n  }\n  if (edges.bottom) {\n    rect.bottom += delta.y\n  }\n\n  rect.width = rect.right - rect.left\n  rect.height = rect.bottom - rect.top\n}\n","import type { PerActionDefaults } from '@interactjs/core/options'\nimport type { ActionName, HasGetRect } from '@interactjs/core/types'\n\nimport { rectToXY, resolveRectLike } from './rect'\n\nexport default function getOriginXY(\n  target: HasGetRect & { options: PerActionDefaults },\n  element: Node,\n  actionName?: ActionName,\n) {\n  const actionOptions = actionName && (target.options as any)[actionName]\n  const actionOrigin = actionOptions && actionOptions.origin\n  const origin = actionOrigin || target.options.origin\n\n  const originRect = resolveRectLike(origin, target, element, [target && element])\n\n  return rectToXY(originRect) || { x: 0, y: 0 }\n}\n","import type { EventTypes, Listener, ListenersArg } from '@interactjs/core/types'\n\nimport is from './is'\n\nexport interface NormalizedListeners {\n  [type: string]: Listener[]\n}\n\nexport default function normalize(\n  type: EventTypes,\n  listeners?: ListenersArg | ListenersArg[] | null,\n  filter = (_typeOrPrefix: string) => true,\n  result?: NormalizedListeners,\n): NormalizedListeners {\n  result = result || {}\n\n  if (is.string(type) && type.search(' ') !== -1) {\n    type = split(type)\n  }\n\n  if (is.array(type)) {\n    type.forEach((t) => normalize(t, listeners, filter, result))\n    return result\n  }\n\n  // before:  type = [{ drag: () => {} }], listeners = undefined\n  // after:   type = ''                  , listeners = [{ drag: () => {} }]\n  if (is.object(type)) {\n    listeners = type\n    type = ''\n  }\n\n  if (is.func(listeners) && filter(type)) {\n    result[type] = result[type] || []\n    result[type].push(listeners)\n  } else if (is.array(listeners)) {\n    for (const l of listeners) {\n      normalize(type, l, filter, result)\n    }\n  } else if (is.object(listeners)) {\n    for (const prefix in listeners) {\n      const combinedTypes = split(prefix).map((p) => `${type}${p}`)\n\n      normalize(combinedTypes, listeners[prefix], filter, result)\n    }\n  }\n\n  return result as NormalizedListeners\n}\n\nfunction split(type: string) {\n  return type.trim().split(/ +/)\n}\n","export default (x: number, y: number) => Math.sqrt(x * x + y * y)\n","const VENDOR_PREFIXES = ['webkit', 'moz']\n\nexport default function pointerExtend<T>(dest: Partial<T & { __set?: Partial<T> }>, source: T) {\n  dest.__set ||= {} as any\n\n  for (const prop in source) {\n    // skip deprecated prefixed properties\n    if (VENDOR_PREFIXES.some((prefix) => prop.indexOf(prefix) === 0)) continue\n\n    if (typeof dest[prop] !== 'function' && prop !== '__set') {\n      Object.defineProperty(dest, prop, {\n        get() {\n          if (prop in dest.__set) return dest.__set[prop]\n\n          return (dest.__set[prop] = source[prop] as any)\n        },\n        set(value: any) {\n          dest.__set[prop] = value\n        },\n        configurable: true,\n      })\n    }\n  }\n  return dest\n}\n","import type { InteractEvent } from '@interactjs/core/InteractEvent'\nimport type { CoordsSetMember, PointerType, Point, PointerEventType, Element } from '@interactjs/core/types'\n\nimport browser from './browser'\nimport dom from './domObjects'\nimport * as domUtils from './domUtils'\nimport hypot from './hypot'\nimport is from './is'\nimport pointerExtend from './pointerExtend'\n\nexport function copyCoords(dest: CoordsSetMember, src: CoordsSetMember) {\n  dest.page = dest.page || ({} as any)\n  dest.page.x = src.page.x\n  dest.page.y = src.page.y\n\n  dest.client = dest.client || ({} as any)\n  dest.client.x = src.client.x\n  dest.client.y = src.client.y\n\n  dest.timeStamp = src.timeStamp\n}\n\nexport function setCoordDeltas(targetObj: CoordsSetMember, prev: CoordsSetMember, cur: CoordsSetMember) {\n  targetObj.page.x = cur.page.x - prev.page.x\n  targetObj.page.y = cur.page.y - prev.page.y\n  targetObj.client.x = cur.client.x - prev.client.x\n  targetObj.client.y = cur.client.y - prev.client.y\n  targetObj.timeStamp = cur.timeStamp - prev.timeStamp\n}\n\nexport function setCoordVelocity(targetObj: CoordsSetMember, delta: CoordsSetMember) {\n  const dt = Math.max(delta.timeStamp / 1000, 0.001)\n\n  targetObj.page.x = delta.page.x / dt\n  targetObj.page.y = delta.page.y / dt\n  targetObj.client.x = delta.client.x / dt\n  targetObj.client.y = delta.client.y / dt\n  targetObj.timeStamp = dt\n}\n\nexport function setZeroCoords(targetObj: CoordsSetMember) {\n  targetObj.page.x = 0\n  targetObj.page.y = 0\n  targetObj.client.x = 0\n  targetObj.client.y = 0\n}\n\nexport function isNativePointer(pointer: any) {\n  return pointer instanceof dom.Event || pointer instanceof dom.Touch\n}\n\n// Get specified X/Y coords for mouse or event.touches[0]\nexport function getXY(type: string, pointer: PointerType | InteractEvent, xy: Point) {\n  xy = xy || ({} as Point)\n  type = type || 'page'\n\n  xy.x = pointer[(type + 'X') as 'pageX']\n  xy.y = pointer[(type + 'Y') as 'pageY']\n\n  return xy\n}\n\nexport function getPageXY(pointer: PointerType | InteractEvent, page?: Point) {\n  page = page || { x: 0, y: 0 }\n\n  // Opera Mobile handles the viewport and scrolling oddly\n  if (browser.isOperaMobile && isNativePointer(pointer)) {\n    getXY('screen', pointer, page)\n\n    page.x += window.scrollX\n    page.y += window.scrollY\n  } else {\n    getXY('page', pointer, page)\n  }\n\n  return page\n}\n\nexport function getClientXY(pointer: PointerType, client: Point) {\n  client = client || ({} as any)\n\n  if (browser.isOperaMobile && isNativePointer(pointer)) {\n    // Opera Mobile handles the viewport and scrolling oddly\n    getXY('screen', pointer, client)\n  } else {\n    getXY('client', pointer, client)\n  }\n\n  return client\n}\n\nexport function getPointerId(pointer: { pointerId?: number; identifier?: number; type?: string }) {\n  return is.number(pointer.pointerId) ? pointer.pointerId! : pointer.identifier!\n}\n\nexport function setCoords(dest: CoordsSetMember, pointers: any[], timeStamp: number) {\n  const pointer = pointers.length > 1 ? pointerAverage(pointers) : pointers[0]\n\n  getPageXY(pointer, dest.page)\n  getClientXY(pointer, dest.client)\n\n  dest.timeStamp = timeStamp\n}\n\nexport function getTouchPair(event: TouchEvent | PointerType[]) {\n  const touches: PointerType[] = []\n\n  // array of touches is supplied\n  if (is.array(event)) {\n    touches[0] = event[0]\n    touches[1] = event[1]\n  }\n  // an event\n  else {\n    if (event.type === 'touchend') {\n      if (event.touches.length === 1) {\n        touches[0] = event.touches[0]\n        touches[1] = event.changedTouches[0]\n      } else if (event.touches.length === 0) {\n        touches[0] = event.changedTouches[0]\n        touches[1] = event.changedTouches[1]\n      }\n    } else {\n      touches[0] = event.touches[0]\n      touches[1] = event.touches[1]\n    }\n  }\n\n  return touches\n}\n\nexport function pointerAverage(pointers: PointerType[]) {\n  const average = {\n    pageX: 0,\n    pageY: 0,\n    clientX: 0,\n    clientY: 0,\n    screenX: 0,\n    screenY: 0,\n  }\n\n  type CoordKeys = keyof typeof average\n\n  for (const pointer of pointers) {\n    for (const prop in average) {\n      average[prop as CoordKeys] += pointer[prop as CoordKeys]\n    }\n  }\n  for (const prop in average) {\n    average[prop as CoordKeys] /= pointers.length\n  }\n\n  return average\n}\n\nexport function touchBBox(event: PointerType[]) {\n  if (!event.length) {\n    return null\n  }\n\n  const touches = getTouchPair(event)\n  const minX = Math.min(touches[0].pageX, touches[1].pageX)\n  const minY = Math.min(touches[0].pageY, touches[1].pageY)\n  const maxX = Math.max(touches[0].pageX, touches[1].pageX)\n  const maxY = Math.max(touches[0].pageY, touches[1].pageY)\n\n  return {\n    x: minX,\n    y: minY,\n    left: minX,\n    top: minY,\n    right: maxX,\n    bottom: maxY,\n    width: maxX - minX,\n    height: maxY - minY,\n  }\n}\n\nexport function touchDistance(event: PointerType[] | TouchEvent, deltaSource: string) {\n  const sourceX = (deltaSource + 'X') as 'pageX'\n  const sourceY = (deltaSource + 'Y') as 'pageY'\n  const touches = getTouchPair(event)\n\n  const dx = touches[0][sourceX] - touches[1][sourceX]\n  const dy = touches[0][sourceY] - touches[1][sourceY]\n\n  return hypot(dx, dy)\n}\n\nexport function touchAngle(event: PointerType[] | TouchEvent, deltaSource: string) {\n  const sourceX = (deltaSource + 'X') as 'pageX'\n  const sourceY = (deltaSource + 'Y') as 'pageY'\n  const touches = getTouchPair(event)\n  const dx = touches[1][sourceX] - touches[0][sourceX]\n  const dy = touches[1][sourceY] - touches[0][sourceY]\n  const angle = (180 * Math.atan2(dy, dx)) / Math.PI\n\n  return angle\n}\n\nexport function getPointerType(pointer: { pointerType?: string; identifier?: number; type?: string }) {\n  return is.string(pointer.pointerType)\n    ? pointer.pointerType\n    : is.number(pointer.pointerType)\n      ? [undefined, undefined, 'touch', 'pen', 'mouse'][pointer.pointerType]!\n      : // if the PointerEvent API isn't available, then the \"pointer\" must\n        // be either a MouseEvent, TouchEvent, or Touch object\n        /touch/.test(pointer.type || '') || pointer instanceof dom.Touch\n        ? 'touch'\n        : 'mouse'\n}\n\n// [ event.target, event.currentTarget ]\nexport function getEventTargets(event: Event) {\n  const path = is.func(event.composedPath)\n    ? (event.composedPath() as Element[])\n    : (event as unknown as { path: Element[] }).path\n\n  return [\n    domUtils.getActualElement(path ? path[0] : (event.target as Element)),\n    domUtils.getActualElement(event.currentTarget as Element),\n  ]\n}\n\nexport function newCoords(): CoordsSetMember {\n  return {\n    page: { x: 0, y: 0 },\n    client: { x: 0, y: 0 },\n    timeStamp: 0,\n  }\n}\n\nexport function coordsToEvent(coords: MockCoords) {\n  const event = {\n    coords,\n    get page() {\n      return this.coords.page\n    },\n    get client() {\n      return this.coords.client\n    },\n    get timeStamp() {\n      return this.coords.timeStamp\n    },\n    get pageX() {\n      return this.coords.page.x\n    },\n    get pageY() {\n      return this.coords.page.y\n    },\n    get clientX() {\n      return this.coords.client.x\n    },\n    get clientY() {\n      return this.coords.client.y\n    },\n    get pointerId() {\n      return this.coords.pointerId\n    },\n    get target() {\n      return this.coords.target\n    },\n    get type() {\n      return this.coords.type\n    },\n    get pointerType() {\n      return this.coords.pointerType\n    },\n    get buttons() {\n      return this.coords.buttons\n    },\n    preventDefault() {},\n  }\n\n  return event as typeof event & PointerType & PointerEventType\n}\n\nexport interface MockCoords {\n  page: Point\n  client: Point\n  timeStamp?: number\n  pointerId?: any\n  target?: any\n  type?: string\n  pointerType?: string\n  buttons?: number\n}\n\nexport { pointerExtend }\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { Interaction, InteractionProxy } from '@interactjs/core/Interaction'\nimport type { ActionName } from '@interactjs/core/types'\n\nexport class BaseEvent<T extends ActionName | null = never> {\n  declare type: string\n  declare target: EventTarget\n  declare currentTarget: Node\n  declare interactable: Interactable\n  /** @internal */\n  declare _interaction: Interaction<T>\n  declare timeStamp: number\n  immediatePropagationStopped = false\n  propagationStopped = false\n\n  constructor(interaction: Interaction<T>) {\n    this._interaction = interaction\n  }\n\n  preventDefault() {}\n\n  /**\n   * Don't call any other listeners (even on the current target)\n   */\n  stopPropagation() {\n    this.propagationStopped = true\n  }\n\n  /**\n   * Don't call listeners on the remaining targets\n   */\n  stopImmediatePropagation() {\n    this.immediatePropagationStopped = this.propagationStopped = true\n  }\n}\n\n// defined outside of class definition to avoid assignment of undefined during\n// construction\nexport interface BaseEvent<T extends ActionName | null = never> {\n  interaction: InteractionProxy<T>\n}\n\n// getters and setters defined here to support typescript 3.6 and below which\n// don't support getter and setters in .d.ts files\nObject.defineProperty(BaseEvent.prototype, 'interaction', {\n  get(this: BaseEvent) {\n    return this._interaction._proxy\n  },\n  set(this: BaseEvent) {},\n})\n","type Filter<T> = (element: T, index: number, array: T[]) => boolean\n\nexport const contains = <T>(array: T[], target: T) => array.indexOf(target) !== -1\n\nexport const remove = <T>(array: T[], target: T) => array.splice(array.indexOf(target), 1)\n\nexport const merge = <T, U>(target: Array<T | U>, source: U[]) => {\n  for (const item of source) {\n    target.push(item)\n  }\n\n  return target\n}\n\nexport const from = <T = any>(source: ArrayLike<T>) => merge([] as T[], source as T[])\n\nexport const findIndex = <T>(array: T[], func: Filter<T>) => {\n  for (let i = 0; i < array.length; i++) {\n    if (func(array[i], i, array)) {\n      return i\n    }\n  }\n\n  return -1\n}\n\nexport const find = <T = any>(array: T[], func: Filter<T>): T | undefined => array[findIndex(array, func)]\n","import { BaseEvent } from '@interactjs/core/BaseEvent'\nimport type { Interactable } from '@interactjs/core/Interactable'\nimport type { InteractEvent } from '@interactjs/core/InteractEvent'\nimport type { Element } from '@interactjs/core/types'\nimport * as arr from '@interactjs/utils/arr'\n\nimport type { DropState } from './plugin'\n\nexport class DropEvent extends BaseEvent<'drag'> {\n  declare target: Element\n  dropzone: Interactable\n  dragEvent: InteractEvent<'drag'>\n  relatedTarget: Element\n  draggable: Interactable\n  propagationStopped = false\n  immediatePropagationStopped = false\n\n  /**\n   * Class of events fired on dropzones during drags with acceptable targets.\n   */\n  constructor(dropState: DropState, dragEvent: InteractEvent<'drag'>, type: string) {\n    super(dragEvent._interaction)\n\n    const { element, dropzone } = type === 'dragleave' ? dropState.prev : dropState.cur\n\n    this.type = type\n    this.target = element\n    this.currentTarget = element\n    this.dropzone = dropzone\n    this.dragEvent = dragEvent\n    this.relatedTarget = dragEvent.target\n    this.draggable = dragEvent.interactable\n    this.timeStamp = dragEvent.timeStamp\n  }\n\n  /**\n   * If this is a `dropactivate` event, the dropzone element will be\n   * deactivated.\n   *\n   * If this is a `dragmove` or `dragenter`, a `dragleave` will be fired on the\n   * dropzone element and more.\n   */\n  reject() {\n    const { dropState } = this._interaction\n\n    if (\n      this.type !== 'dropactivate' &&\n      (!this.dropzone || dropState.cur.dropzone !== this.dropzone || dropState.cur.element !== this.target)\n    ) {\n      return\n    }\n\n    dropState.prev.dropzone = this.dropzone\n    dropState.prev.element = this.target\n\n    dropState.rejected = true\n    dropState.events.enter = null\n\n    this.stopImmediatePropagation()\n\n    if (this.type === 'dropactivate') {\n      const activeDrops = dropState.activeDrops\n      const index = arr.findIndex(\n        activeDrops,\n        ({ dropzone, element }) => dropzone === this.dropzone && element === this.target,\n      )\n\n      dropState.activeDrops.splice(index, 1)\n\n      const deactivateEvent = new DropEvent(dropState, this.dragEvent, 'dropdeactivate')\n\n      deactivateEvent.dropzone = this.dropzone\n      deactivateEvent.target = this.target\n\n      this.dropzone.fire(deactivateEvent)\n    } else {\n      this.dropzone.fire(new DropEvent(dropState, this.dragEvent, 'dragleave'))\n    }\n  }\n\n  preventDefault() {}\n\n  stopPropagation() {\n    this.propagationStopped = true\n  }\n\n  stopImmediatePropagation() {\n    this.immediatePropagationStopped = this.propagationStopped = true\n  }\n}\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { EventPhase, InteractEvent } from '@interactjs/core/InteractEvent'\nimport type { Interaction, DoPhaseArg } from '@interactjs/core/Interaction'\nimport type { PerActionDefaults } from '@interactjs/core/options'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { Element, PointerEventType, Rect, ListenersArg } from '@interactjs/core/types'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport getOriginXY from '@interactjs/utils/getOriginXY'\nimport is from '@interactjs/utils/is'\nimport normalizeListeners from '@interactjs/utils/normalizeListeners'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport '../drag/plugin'\n\nimport type { DragEvent } from '../drag/plugin'\nimport drag from '../drag/plugin'\n/* eslint-enable import/no-duplicates */\n\nimport { DropEvent } from './DropEvent'\n\nexport type DropFunctionChecker = (\n  dragEvent: any, // related drag operation\n  event: any, // touch or mouse EventEmitter\n  dropped: boolean, // default checker result\n  dropzone: Interactable, // dropzone interactable\n  dropElement: Element, // drop zone element\n  draggable: Interactable, // draggable's Interactable\n  draggableElement: Element, // dragged element\n) => boolean\n\nexport interface DropzoneOptions extends PerActionDefaults {\n  accept?:\n    | string\n    | Element\n    | (({ dropzone, draggableElement }: { dropzone: Interactable; draggableElement: Element }) => boolean)\n  // How the overlap is checked on the drop zone\n  overlap?: 'pointer' | 'center' | number\n  checker?: DropFunctionChecker\n\n  ondropactivate?: ListenersArg\n  ondropdeactivate?: ListenersArg\n  ondragenter?: ListenersArg\n  ondragleave?: ListenersArg\n  ondropmove?: ListenersArg\n  ondrop?: ListenersArg\n}\n\nexport interface DropzoneMethod {\n  (this: Interactable, options: DropzoneOptions | boolean): Interactable\n  (): DropzoneOptions\n}\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    /**\n     *\n     * ```js\n     * interact('.drop').dropzone({\n     *   accept: '.can-drop' || document.getElementById('single-drop'),\n     *   overlap: 'pointer' || 'center' || zeroToOne\n     * }\n     * ```\n     *\n     * Returns or sets whether draggables can be dropped onto this target to\n     * trigger drop events\n     *\n     * Dropzones can receive the following events:\n     *  - `dropactivate` and `dropdeactivate` when an acceptable drag starts and ends\n     *  - `dragenter` and `dragleave` when a draggable enters and leaves the dropzone\n     *  - `dragmove` when a draggable that has entered the dropzone is moved\n     *  - `drop` when a draggable is dropped into this dropzone\n     *\n     * Use the `accept` option to allow only elements that match the given CSS\n     * selector or element. The value can be:\n     *\n     *  - **an Element** - only that element can be dropped into this dropzone.\n     *  - **a string**, - the element being dragged must match it as a CSS selector.\n     *  - **`null`** - accept options is cleared - it accepts any element.\n     *\n     * Use the `overlap` option to set how drops are checked for. The allowed\n     * values are:\n     *\n     *   - `'pointer'`, the pointer must be over the dropzone (default)\n     *   - `'center'`, the draggable element's center must be over the dropzone\n     *   - a number from 0-1 which is the `(intersection area) / (draggable area)`.\n     *   e.g. `0.5` for drop to happen when half of the area of the draggable is\n     *   over the dropzone\n     *\n     * Use the `checker` option to specify a function to check if a dragged element\n     * is over this Interactable.\n     *\n     * @param options - The new options to be set\n     */\n    dropzone(options: DropzoneOptions | boolean): Interactable\n    /** @returns The current setting */\n    dropzone(): DropzoneOptions\n\n    /**\n     * ```js\n     * interact(target)\n     * .dropChecker(function(dragEvent,         // related dragmove or dragend event\n     *                       event,             // TouchEvent/PointerEvent/MouseEvent\n     *                       dropped,           // bool result of the default checker\n     *                       dropzone,          // dropzone Interactable\n     *                       dropElement,       // dropzone elemnt\n     *                       draggable,         // draggable Interactable\n     *                       draggableElement) {// draggable element\n     *\n     *   return dropped && event.target.hasAttribute('allow-drop')\n     * }\n     * ```\n     */\n    dropCheck(\n      dragEvent: InteractEvent,\n      event: PointerEventType,\n      draggable: Interactable,\n      draggableElement: Element,\n      dropElemen: Element,\n      rect: any,\n    ): boolean\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    dropState?: DropState\n  }\n}\n\ndeclare module '@interactjs/core/InteractEvent' {\n  interface InteractEvent {\n    /** @internal */\n    prevDropzone?: Interactable\n    dropzone?: Interactable\n    dragEnter?: Element\n    dragLeave?: Element\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface ActionDefaults {\n    drop: DropzoneOptions\n  }\n}\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    dynamicDrop?: boolean\n  }\n\n  interface SignalArgs {\n    'actions/drop:start': DropSignalArg\n    'actions/drop:move': DropSignalArg\n    'actions/drop:end': DropSignalArg\n  }\n}\n\ndeclare module '@interactjs/core/types' {\n  interface ActionMap {\n    drop?: typeof drop\n  }\n}\n\ndeclare module '@interactjs/core/InteractStatic' {\n  interface InteractStatic {\n    /**\n     * Returns or sets whether the dimensions of dropzone elements are calculated\n     * on every dragmove or only on dragstart for the default dropChecker\n     *\n     * @param {boolean} [newValue] True to check on each move. False to check only\n     * before start\n     * @return {boolean | interact} The current setting or interact\n     */\n    dynamicDrop: (newValue?: boolean) => boolean | this\n  }\n}\n\ninterface DropSignalArg {\n  interaction: Interaction<'drag'>\n  dragEvent: DragEvent\n}\n\nexport interface ActiveDrop {\n  dropzone: Interactable\n  element: Element\n  rect: Rect\n}\n\nexport interface DropState {\n  cur: {\n    // the dropzone a drag target might be dropped into\n    dropzone: Interactable\n    // the element at the time of checking\n    element: Element\n  }\n  prev: {\n    // the dropzone that was recently dragged away from\n    dropzone: Interactable\n    // the element at the time of checking\n    element: Element\n  }\n  // wheather the potential drop was rejected from a listener\n  rejected: boolean\n  // the drop events related to the current drag event\n  events: FiredDropEvents\n  activeDrops: ActiveDrop[]\n}\n\nfunction install(scope: Scope) {\n  const { actions, interactStatic: interact, Interactable, defaults } = scope\n\n  scope.usePlugin(drag)\n\n  Interactable.prototype.dropzone = function (this: Interactable, options) {\n    return dropzoneMethod(this, options)\n  } as Interactable['dropzone']\n\n  Interactable.prototype.dropCheck = function (\n    this: Interactable,\n    dragEvent,\n    event,\n    draggable,\n    draggableElement,\n    dropElement,\n    rect,\n  ) {\n    return dropCheckMethod(this, dragEvent, event, draggable, draggableElement, dropElement, rect)\n  }\n\n  interact.dynamicDrop = function (newValue?: boolean) {\n    if (is.bool(newValue)) {\n      // if (dragging && scope.dynamicDrop !== newValue && !newValue) {\n      //  calcRects(dropzones)\n      // }\n\n      scope.dynamicDrop = newValue\n\n      return interact\n    }\n    return scope.dynamicDrop!\n  }\n\n  extend(actions.phaselessTypes, {\n    dragenter: true,\n    dragleave: true,\n    dropactivate: true,\n    dropdeactivate: true,\n    dropmove: true,\n    drop: true,\n  })\n  actions.methodDict.drop = 'dropzone'\n\n  scope.dynamicDrop = false\n\n  defaults.actions.drop = drop.defaults\n}\n\nfunction collectDropzones({ interactables }: Scope, draggableElement: Element) {\n  const drops: ActiveDrop[] = []\n\n  // collect all dropzones and their elements which qualify for a drop\n  for (const dropzone of interactables.list) {\n    if (!dropzone.options.drop.enabled) {\n      continue\n    }\n\n    const accept = dropzone.options.drop.accept\n\n    // test the draggable draggableElement against the dropzone's accept setting\n    if (\n      (is.element(accept) && accept !== draggableElement) ||\n      (is.string(accept) && !domUtils.matchesSelector(draggableElement, accept)) ||\n      (is.func(accept) && !accept({ dropzone, draggableElement }))\n    ) {\n      continue\n    }\n\n    for (const dropzoneElement of dropzone.getAllElements()) {\n      if (dropzoneElement !== draggableElement) {\n        drops.push({\n          dropzone,\n          element: dropzoneElement,\n          rect: dropzone.getRect(dropzoneElement),\n        })\n      }\n    }\n  }\n\n  return drops\n}\n\nfunction fireActivationEvents(activeDrops: ActiveDrop[], event: DropEvent) {\n  // loop through all active dropzones and trigger event\n  for (const { dropzone, element } of activeDrops.slice()) {\n    event.dropzone = dropzone\n\n    // set current element as event target\n    event.target = element\n    dropzone.fire(event)\n    event.propagationStopped = event.immediatePropagationStopped = false\n  }\n}\n\n// return a new array of possible drops. getActiveDrops should always be\n// called when a drag has just started or a drag event happens while\n// dynamicDrop is true\nfunction getActiveDrops(scope: Scope, dragElement: Element) {\n  // get dropzones and their elements that could receive the draggable\n  const activeDrops = collectDropzones(scope, dragElement)\n\n  for (const activeDrop of activeDrops) {\n    activeDrop.rect = activeDrop.dropzone.getRect(activeDrop.element)\n  }\n\n  return activeDrops\n}\n\nfunction getDrop(\n  { dropState, interactable: draggable, element: dragElement }: Interaction,\n  dragEvent,\n  pointerEvent,\n) {\n  const validDrops: Element[] = []\n\n  // collect all dropzones and their elements which qualify for a drop\n  for (const { dropzone, element: dropzoneElement, rect } of dropState.activeDrops) {\n    const isValid = dropzone.dropCheck(\n      dragEvent,\n      pointerEvent,\n      draggable!,\n      dragElement!,\n      dropzoneElement,\n      rect,\n    )\n    validDrops.push(isValid ? dropzoneElement : null)\n  }\n\n  // get the most appropriate dropzone based on DOM depth and order\n  const dropIndex = domUtils.indexOfDeepestElement(validDrops)\n\n  return dropState!.activeDrops[dropIndex] || null\n}\n\nfunction getDropEvents(interaction: Interaction, _pointerEvent, dragEvent: DragEvent) {\n  const dropState = interaction.dropState!\n  const dropEvents: Record<string, DropEvent | null> = {\n    enter: null,\n    leave: null,\n    activate: null,\n    deactivate: null,\n    move: null,\n    drop: null,\n  }\n\n  if (dragEvent.type === 'dragstart') {\n    dropEvents.activate = new DropEvent(dropState, dragEvent, 'dropactivate')\n\n    dropEvents.activate.target = null as never\n    dropEvents.activate.dropzone = null as never\n  }\n  if (dragEvent.type === 'dragend') {\n    dropEvents.deactivate = new DropEvent(dropState, dragEvent, 'dropdeactivate')\n\n    dropEvents.deactivate.target = null as never\n    dropEvents.deactivate.dropzone = null as never\n  }\n\n  if (dropState.rejected) {\n    return dropEvents\n  }\n\n  if (dropState.cur.element !== dropState.prev.element) {\n    // if there was a previous dropzone, create a dragleave event\n    if (dropState.prev.dropzone) {\n      dropEvents.leave = new DropEvent(dropState, dragEvent, 'dragleave')\n\n      dragEvent.dragLeave = dropEvents.leave.target = dropState.prev.element\n      dragEvent.prevDropzone = dropEvents.leave.dropzone = dropState.prev.dropzone\n    }\n    // if dropzone is not null, create a dragenter event\n    if (dropState.cur.dropzone) {\n      dropEvents.enter = new DropEvent(dropState, dragEvent, 'dragenter')\n\n      dragEvent.dragEnter = dropState.cur.element\n      dragEvent.dropzone = dropState.cur.dropzone\n    }\n  }\n\n  if (dragEvent.type === 'dragend' && dropState.cur.dropzone) {\n    dropEvents.drop = new DropEvent(dropState, dragEvent, 'drop')\n\n    dragEvent.dropzone = dropState.cur.dropzone\n    dragEvent.relatedTarget = dropState.cur.element\n  }\n  if (dragEvent.type === 'dragmove' && dropState.cur.dropzone) {\n    dropEvents.move = new DropEvent(dropState, dragEvent, 'dropmove')\n\n    dragEvent.dropzone = dropState.cur.dropzone\n  }\n\n  return dropEvents\n}\n\ntype FiredDropEvents = Partial<\n  Record<'leave' | 'enter' | 'move' | 'drop' | 'activate' | 'deactivate', DropEvent>\n>\n\nfunction fireDropEvents(interaction: Interaction, events: FiredDropEvents) {\n  const dropState = interaction.dropState!\n  const { activeDrops, cur, prev } = dropState\n\n  if (events.leave) {\n    prev.dropzone.fire(events.leave)\n  }\n  if (events.enter) {\n    cur.dropzone.fire(events.enter)\n  }\n  if (events.move) {\n    cur.dropzone.fire(events.move)\n  }\n  if (events.drop) {\n    cur.dropzone.fire(events.drop)\n  }\n\n  if (events.deactivate) {\n    fireActivationEvents(activeDrops, events.deactivate)\n  }\n\n  dropState.prev.dropzone = cur.dropzone\n  dropState.prev.element = cur.element\n}\n\nfunction onEventCreated({ interaction, iEvent, event }: DoPhaseArg<'drag', EventPhase>, scope: Scope) {\n  if (iEvent.type !== 'dragmove' && iEvent.type !== 'dragend') {\n    return\n  }\n\n  const dropState = interaction.dropState!\n\n  if (scope.dynamicDrop) {\n    dropState.activeDrops = getActiveDrops(scope, interaction.element!)\n  }\n\n  const dragEvent = iEvent\n  const dropResult = getDrop(interaction, dragEvent, event)\n\n  // update rejected status\n  dropState.rejected =\n    dropState.rejected &&\n    !!dropResult &&\n    dropResult.dropzone === dropState.cur.dropzone &&\n    dropResult.element === dropState.cur.element\n\n  dropState.cur.dropzone = dropResult && dropResult.dropzone\n  dropState.cur.element = dropResult && dropResult.element\n\n  dropState.events = getDropEvents(interaction, event, dragEvent)\n}\n\nfunction dropzoneMethod(interactable: Interactable): DropzoneOptions\nfunction dropzoneMethod(interactable: Interactable, options: DropzoneOptions | boolean): Interactable\nfunction dropzoneMethod(interactable: Interactable, options?: DropzoneOptions | boolean) {\n  if (is.object(options)) {\n    interactable.options.drop.enabled = options.enabled !== false\n\n    if (options.listeners) {\n      const normalized = normalizeListeners(options.listeners)\n      // rename 'drop' to '' as it will be prefixed with 'drop'\n      const corrected = Object.keys(normalized).reduce((acc, type) => {\n        const correctedType = /^(enter|leave)/.test(type)\n          ? `drag${type}`\n          : /^(activate|deactivate|move)/.test(type)\n            ? `drop${type}`\n            : type\n\n        acc[correctedType] = normalized[type]\n\n        return acc\n      }, {})\n\n      const prevListeners = interactable.options.drop.listeners\n      prevListeners && interactable.off(prevListeners)\n\n      interactable.on(corrected)\n      interactable.options.drop.listeners = corrected\n    }\n\n    if (is.func(options.ondrop)) {\n      interactable.on('drop', options.ondrop)\n    }\n    if (is.func(options.ondropactivate)) {\n      interactable.on('dropactivate', options.ondropactivate)\n    }\n    if (is.func(options.ondropdeactivate)) {\n      interactable.on('dropdeactivate', options.ondropdeactivate)\n    }\n    if (is.func(options.ondragenter)) {\n      interactable.on('dragenter', options.ondragenter)\n    }\n    if (is.func(options.ondragleave)) {\n      interactable.on('dragleave', options.ondragleave)\n    }\n    if (is.func(options.ondropmove)) {\n      interactable.on('dropmove', options.ondropmove)\n    }\n\n    if (/^(pointer|center)$/.test(options.overlap as string)) {\n      interactable.options.drop.overlap = options.overlap\n    } else if (is.number(options.overlap)) {\n      interactable.options.drop.overlap = Math.max(Math.min(1, options.overlap), 0)\n    }\n    if ('accept' in options) {\n      interactable.options.drop.accept = options.accept\n    }\n    if ('checker' in options) {\n      interactable.options.drop.checker = options.checker\n    }\n\n    return interactable\n  }\n\n  if (is.bool(options)) {\n    interactable.options.drop.enabled = options\n\n    return interactable\n  }\n\n  return interactable.options.drop\n}\n\nfunction dropCheckMethod(\n  interactable: Interactable,\n  dragEvent: InteractEvent,\n  event: PointerEventType,\n  draggable: Interactable,\n  draggableElement: Element,\n  dropElement: Element,\n  rect: any,\n) {\n  let dropped = false\n\n  // if the dropzone has no rect (eg. display: none)\n  // call the custom dropChecker or just return false\n  if (!(rect = rect || interactable.getRect(dropElement))) {\n    return interactable.options.drop.checker\n      ? interactable.options.drop.checker(\n          dragEvent,\n          event,\n          dropped,\n          interactable,\n          dropElement,\n          draggable,\n          draggableElement,\n        )\n      : false\n  }\n\n  const dropOverlap = interactable.options.drop.overlap\n\n  if (dropOverlap === 'pointer') {\n    const origin = getOriginXY(draggable, draggableElement, 'drag')\n    const page = pointerUtils.getPageXY(dragEvent)\n\n    page.x += origin.x\n    page.y += origin.y\n\n    const horizontal = page.x > rect.left && page.x < rect.right\n    const vertical = page.y > rect.top && page.y < rect.bottom\n\n    dropped = horizontal && vertical\n  }\n\n  const dragRect = draggable.getRect(draggableElement)\n\n  if (dragRect && dropOverlap === 'center') {\n    const cx = dragRect.left + dragRect.width / 2\n    const cy = dragRect.top + dragRect.height / 2\n\n    dropped = cx >= rect.left && cx <= rect.right && cy >= rect.top && cy <= rect.bottom\n  }\n\n  if (dragRect && is.number(dropOverlap)) {\n    const overlapArea =\n      Math.max(0, Math.min(rect.right, dragRect.right) - Math.max(rect.left, dragRect.left)) *\n      Math.max(0, Math.min(rect.bottom, dragRect.bottom) - Math.max(rect.top, dragRect.top))\n\n    const overlapRatio = overlapArea / (dragRect.width * dragRect.height)\n\n    dropped = overlapRatio >= dropOverlap\n  }\n\n  if (interactable.options.drop.checker) {\n    dropped = interactable.options.drop.checker(\n      dragEvent,\n      event,\n      dropped,\n      interactable,\n      dropElement,\n      draggable,\n      draggableElement,\n    )\n  }\n\n  return dropped\n}\n\nconst drop: Plugin = {\n  id: 'actions/drop',\n  install,\n  listeners: {\n    'interactions:before-action-start': ({ interaction }) => {\n      if (interaction.prepared.name !== 'drag') {\n        return\n      }\n\n      interaction.dropState = {\n        cur: {\n          dropzone: null,\n          element: null,\n        },\n        prev: {\n          dropzone: null,\n          element: null,\n        },\n        rejected: null,\n        events: null,\n        activeDrops: [],\n      }\n    },\n\n    'interactions:after-action-start': (\n      { interaction, event, iEvent: dragEvent }: DoPhaseArg<'drag', EventPhase>,\n      scope,\n    ) => {\n      if (interaction.prepared.name !== 'drag') {\n        return\n      }\n\n      const dropState = interaction.dropState!\n\n      // reset active dropzones\n      dropState.activeDrops = []\n      dropState.events = {}\n      dropState.activeDrops = getActiveDrops(scope, interaction.element!)\n      dropState.events = getDropEvents(interaction, event, dragEvent)\n\n      if (dropState.events.activate) {\n        fireActivationEvents(dropState.activeDrops, dropState.events.activate)\n        scope.fire('actions/drop:start', { interaction, dragEvent })\n      }\n    },\n\n    'interactions:action-move': onEventCreated,\n\n    'interactions:after-action-move': (\n      { interaction, iEvent: dragEvent }: DoPhaseArg<'drag', EventPhase>,\n      scope,\n    ) => {\n      if (interaction.prepared.name !== 'drag') {\n        return\n      }\n\n      const dropState = interaction.dropState!\n      fireDropEvents(interaction, dropState.events)\n\n      scope.fire('actions/drop:move', { interaction, dragEvent })\n      dropState.events = {}\n    },\n\n    'interactions:action-end': (arg: DoPhaseArg<'drag', EventPhase>, scope) => {\n      if (arg.interaction.prepared.name !== 'drag') {\n        return\n      }\n\n      const { interaction, iEvent: dragEvent } = arg\n\n      onEventCreated(arg, scope)\n      fireDropEvents(interaction, interaction.dropState!.events)\n      scope.fire('actions/drop:end', { interaction, dragEvent })\n    },\n\n    'interactions:stop': ({ interaction }) => {\n      if (interaction.prepared.name !== 'drag') {\n        return\n      }\n\n      const { dropState } = interaction\n\n      if (dropState) {\n        dropState.activeDrops = null as never\n        dropState.events = null as never\n        dropState.cur.dropzone = null as never\n        dropState.cur.element = null as never\n        dropState.prev.dropzone = null as never\n        dropState.prev.element = null as never\n        dropState.rejected = false\n      }\n    },\n  },\n  getActiveDrops,\n  getDrop,\n  getDropEvents,\n  fireDropEvents,\n\n  filterEventType: (type: string) => type.search('drag') === 0 || type.search('drop') === 0,\n\n  defaults: {\n    enabled: false,\n    accept: null as never,\n    overlap: 'pointer',\n  } as DropzoneOptions,\n}\n\nexport default drop\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { InteractEvent, EventPhase } from '@interactjs/core/InteractEvent'\nimport type { Interaction, DoPhaseArg } from '@interactjs/core/Interaction'\nimport type { PerActionDefaults } from '@interactjs/core/options'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { Rect, PointerType, ListenersArg, OrBoolean } from '@interactjs/core/types'\nimport is from '@interactjs/utils/is'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    gesture?: {\n      angle: number // angle from first to second touch\n      distance: number\n      scale: number // gesture.distance / gesture.startDistance\n      startAngle: number // angle of line joining two touches\n      startDistance: number // distance between two touches of touchStart\n    }\n  }\n}\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    gesturable(options: Partial<OrBoolean<GesturableOptions>> | boolean): this\n    gesturable(): GesturableOptions\n    /**\n     * ```js\n     * interact(element).gesturable({\n     *     onstart: function (event) {},\n     *     onmove : function (event) {},\n     *     onend  : function (event) {},\n     *\n     *     // limit multiple gestures.\n     *     // See the explanation in {@link Interactable.draggable} example\n     *     max: Infinity,\n     *     maxPerElement: 1,\n     * })\n     *\n     * var isGestureable = interact(element).gesturable()\n     * ```\n     *\n     * Gets or sets whether multitouch gestures can be performed on the target\n     *\n     * @param options - true/false or An object with event listeners to be fired on gesture events (makes the Interactable gesturable)\n     * @returns A boolean indicating if this can be the target of gesture events, or this Interactable\n     */\n    gesturable(options?: Partial<OrBoolean<GesturableOptions>> | boolean): this | GesturableOptions\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface ActionDefaults {\n    gesture: GesturableOptions\n  }\n}\n\ndeclare module '@interactjs/core/types' {\n  interface ActionMap {\n    gesture?: typeof gesture\n  }\n}\n\nexport interface GesturableOptions extends PerActionDefaults {\n  onstart?: ListenersArg\n  onmove?: ListenersArg\n  onend?: ListenersArg\n}\n\nexport interface GestureEvent extends InteractEvent<'gesture'> {\n  distance: number\n  angle: number\n  da: number // angle change\n  scale: number // ratio of distance start to current event\n  ds: number // scale change\n  box: Rect // enclosing box of all points\n  touches: PointerType[]\n}\n\nexport interface GestureSignalArg extends DoPhaseArg<'gesture', EventPhase> {\n  iEvent: GestureEvent\n  interaction: Interaction<'gesture'>\n}\n\nfunction install(scope: Scope) {\n  const { actions, Interactable, defaults } = scope\n\n  Interactable.prototype.gesturable = function (\n    this: InstanceType<typeof Interactable>,\n    options: GesturableOptions | boolean,\n  ) {\n    if (is.object(options)) {\n      this.options.gesture.enabled = options.enabled !== false\n      this.setPerAction('gesture', options)\n      this.setOnEvents('gesture', options)\n\n      return this\n    }\n\n    if (is.bool(options)) {\n      this.options.gesture.enabled = options\n\n      return this\n    }\n\n    return this.options.gesture as GesturableOptions\n  } as Interactable['gesturable']\n\n  actions.map.gesture = gesture\n  actions.methodDict.gesture = 'gesturable'\n\n  defaults.actions.gesture = gesture.defaults\n}\n\nfunction updateGestureProps({ interaction, iEvent, phase }: GestureSignalArg) {\n  if (interaction.prepared.name !== 'gesture') return\n\n  const pointers = interaction.pointers.map((p) => p.pointer)\n  const starting = phase === 'start'\n  const ending = phase === 'end'\n  const deltaSource = interaction.interactable.options.deltaSource\n\n  iEvent.touches = [pointers[0], pointers[1]]\n\n  if (starting) {\n    iEvent.distance = pointerUtils.touchDistance(pointers, deltaSource)\n    iEvent.box = pointerUtils.touchBBox(pointers)\n    iEvent.scale = 1\n    iEvent.ds = 0\n    iEvent.angle = pointerUtils.touchAngle(pointers, deltaSource)\n    iEvent.da = 0\n\n    interaction.gesture.startDistance = iEvent.distance\n    interaction.gesture.startAngle = iEvent.angle\n  } else if (ending || interaction.pointers.length < 2) {\n    const prevEvent = interaction.prevEvent as GestureEvent\n\n    iEvent.distance = prevEvent.distance\n    iEvent.box = prevEvent.box\n    iEvent.scale = prevEvent.scale\n    iEvent.ds = 0\n    iEvent.angle = prevEvent.angle\n    iEvent.da = 0\n  } else {\n    iEvent.distance = pointerUtils.touchDistance(pointers, deltaSource)\n    iEvent.box = pointerUtils.touchBBox(pointers)\n    iEvent.scale = iEvent.distance / interaction.gesture.startDistance\n    iEvent.angle = pointerUtils.touchAngle(pointers, deltaSource)\n\n    iEvent.ds = iEvent.scale - interaction.gesture.scale\n    iEvent.da = iEvent.angle - interaction.gesture.angle\n  }\n\n  interaction.gesture.distance = iEvent.distance\n  interaction.gesture.angle = iEvent.angle\n\n  if (is.number(iEvent.scale) && iEvent.scale !== Infinity && !isNaN(iEvent.scale)) {\n    interaction.gesture.scale = iEvent.scale\n  }\n}\n\nconst gesture: Plugin = {\n  id: 'actions/gesture',\n  before: ['actions/drag', 'actions/resize'],\n  install,\n  listeners: {\n    'interactions:action-start': updateGestureProps,\n    'interactions:action-move': updateGestureProps,\n    'interactions:action-end': updateGestureProps,\n\n    'interactions:new': ({ interaction }) => {\n      interaction.gesture = {\n        angle: 0,\n        distance: 0,\n        scale: 1,\n        startAngle: 0,\n        startDistance: 0,\n      }\n    },\n\n    'auto-start:check': (arg) => {\n      if (arg.interaction.pointers.length < 2) {\n        return undefined\n      }\n\n      const gestureOptions = arg.interactable.options.gesture\n\n      if (!(gestureOptions && gestureOptions.enabled)) {\n        return undefined\n      }\n\n      arg.action = { name: 'gesture' }\n\n      return false\n    },\n  },\n\n  defaults: {},\n\n  getCursor() {\n    return ''\n  },\n\n  filterEventType: (type: string) => type.search('gesture') === 0,\n}\n\nexport default gesture\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { EventPhase, InteractEvent } from '@interactjs/core/InteractEvent'\nimport type { Interaction } from '@interactjs/core/Interaction'\nimport type { PerActionDefaults } from '@interactjs/core/options'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type {\n  ActionName,\n  ActionProps,\n  EdgeOptions,\n  FullRect,\n  ListenersArg,\n  OrBoolean,\n  Point,\n  Rect,\n} from '@interactjs/core/types'\nimport * as dom from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\n\nexport type EdgeName = 'top' | 'left' | 'bottom' | 'right'\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    resizable(): ResizableOptions\n    resizable(options: Partial<OrBoolean<ResizableOptions>> | boolean): this\n    /**\n     * ```js\n     * interact(element).resizable({\n     *   onstart: function (event) {},\n     *   onmove : function (event) {},\n     *   onend  : function (event) {},\n     *\n     *   edges: {\n     *     top   : true,       // Use pointer coords to check for resize.\n     *     left  : false,      // Disable resizing from left edge.\n     *     bottom: '.resize-s',// Resize if pointer target matches selector\n     *     right : handleEl    // Resize if pointer target is the given Element\n     *   },\n     *\n     *   // Width and height can be adjusted independently. When `true`, width and\n     *   // height are adjusted at a 1:1 ratio.\n     *   square: false,\n     *\n     *   // Width and height can be adjusted independently. When `true`, width and\n     *   // height maintain the aspect ratio they had when resizing started.\n     *   preserveAspectRatio: false,\n     *\n     *   // a value of 'none' will limit the resize rect to a minimum of 0x0\n     *   // 'negate' will allow the rect to have negative width/height\n     *   // 'reposition' will keep the width/height positive by swapping\n     *   // the top and bottom edges and/or swapping the left and right edges\n     *   invert: 'none' || 'negate' || 'reposition'\n     *\n     *   // limit multiple resizes.\n     *   // See the explanation in the {@link Interactable.draggable} example\n     *   max: Infinity,\n     *   maxPerElement: 1,\n     * })\n     *\n     * var isResizeable = interact(element).resizable()\n     * ```\n     *\n     * Gets or sets whether resize actions can be performed on the target\n     *\n     * @param options - true/false or An object with event\n     * listeners to be fired on resize events (object makes the Interactable\n     * resizable)\n     * @returns A boolean indicating if this can be the\n     * target of resize elements, or this Interactable\n     */\n    resizable(options?: Partial<OrBoolean<ResizableOptions>> | boolean): this | ResizableOptions\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction<T extends ActionName | null = ActionName> {\n    resizeAxes: 'x' | 'y' | 'xy'\n    styleCursor(newValue: boolean): this\n    styleCursor(): boolean\n    resizeStartAspectRatio: number\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface ActionDefaults {\n    resize: ResizableOptions\n  }\n}\n\ndeclare module '@interactjs/core/types' {\n  interface ActionMap {\n    resize?: typeof resize\n  }\n}\n\nexport interface ResizableOptions extends PerActionDefaults {\n  square?: boolean\n  preserveAspectRatio?: boolean\n  edges?: EdgeOptions | null\n  axis?: 'x' | 'y' | 'xy' // deprecated\n  invert?: 'none' | 'negate' | 'reposition'\n  margin?: number\n  squareResize?: boolean\n  oninertiastart?: ListenersArg\n  onstart?: ListenersArg\n  onmove?: ListenersArg\n  onend?: ListenersArg\n}\n\nexport interface ResizeEvent<P extends EventPhase = EventPhase> extends InteractEvent<'resize', P> {\n  deltaRect?: FullRect\n  edges?: ActionProps['edges']\n}\n\nfunction install(scope: Scope) {\n  const {\n    actions,\n    browser,\n    Interactable, // tslint:disable-line no-shadowed-variable\n    defaults,\n  } = scope\n\n  // Less Precision with touch input\n\n  resize.cursors = initCursors(browser)\n  resize.defaultMargin = browser.supportsTouch || browser.supportsPointerEvent ? 20 : 10\n\n  Interactable.prototype.resizable = function (this: Interactable, options: ResizableOptions | boolean) {\n    return resizable(this, options, scope)\n  } as Interactable['resizable']\n\n  actions.map.resize = resize\n  actions.methodDict.resize = 'resizable'\n\n  defaults.actions.resize = resize.defaults\n}\n\nfunction resizeChecker(arg) {\n  const { interaction, interactable, element, rect, buttons } = arg\n\n  if (!rect) {\n    return undefined\n  }\n\n  const page = extend({}, interaction.coords.cur.page)\n  const resizeOptions = interactable.options.resize\n\n  if (\n    !(resizeOptions && resizeOptions.enabled) ||\n    // check mouseButton setting if the pointer is down\n    (interaction.pointerIsDown &&\n      /mouse|pointer/.test(interaction.pointerType) &&\n      (buttons & resizeOptions.mouseButtons) === 0)\n  ) {\n    return undefined\n  }\n\n  // if using resize.edges\n  if (is.object(resizeOptions.edges)) {\n    const resizeEdges = {\n      left: false,\n      right: false,\n      top: false,\n      bottom: false,\n    }\n\n    for (const edge in resizeEdges) {\n      resizeEdges[edge] = checkResizeEdge(\n        edge,\n        resizeOptions.edges[edge],\n        page,\n        interaction._latestPointer.eventTarget,\n        element,\n        rect,\n        resizeOptions.margin || resize.defaultMargin,\n      )\n    }\n\n    resizeEdges.left = resizeEdges.left && !resizeEdges.right\n    resizeEdges.top = resizeEdges.top && !resizeEdges.bottom\n\n    if (resizeEdges.left || resizeEdges.right || resizeEdges.top || resizeEdges.bottom) {\n      arg.action = {\n        name: 'resize',\n        edges: resizeEdges,\n      }\n    }\n  } else {\n    const right = resizeOptions.axis !== 'y' && page.x > rect.right - resize.defaultMargin\n    const bottom = resizeOptions.axis !== 'x' && page.y > rect.bottom - resize.defaultMargin\n\n    if (right || bottom) {\n      arg.action = {\n        name: 'resize',\n        axes: (right ? 'x' : '') + (bottom ? 'y' : ''),\n      }\n    }\n  }\n\n  return arg.action ? false : undefined\n}\n\nfunction resizable(interactable: Interactable, options: OrBoolean<ResizableOptions> | boolean, scope: Scope) {\n  if (is.object(options)) {\n    interactable.options.resize.enabled = options.enabled !== false\n    interactable.setPerAction('resize', options)\n    interactable.setOnEvents('resize', options)\n\n    if (is.string(options.axis) && /^x$|^y$|^xy$/.test(options.axis)) {\n      interactable.options.resize.axis = options.axis\n    } else if (options.axis === null) {\n      interactable.options.resize.axis = scope.defaults.actions.resize.axis\n    }\n\n    if (is.bool(options.preserveAspectRatio)) {\n      interactable.options.resize.preserveAspectRatio = options.preserveAspectRatio\n    } else if (is.bool(options.square)) {\n      interactable.options.resize.square = options.square\n    }\n\n    return interactable\n  }\n  if (is.bool(options)) {\n    interactable.options.resize.enabled = options\n\n    return interactable\n  }\n  return interactable.options.resize\n}\n\nfunction checkResizeEdge(\n  name: string,\n  value: any,\n  page: Point,\n  element: Node,\n  interactableElement: Element,\n  rect: Rect,\n  margin: number,\n) {\n  // false, '', undefined, null\n  if (!value) {\n    return false\n  }\n\n  // true value, use pointer coords and element rect\n  if (value === true) {\n    // if dimensions are negative, \"switch\" edges\n    const width = is.number(rect.width) ? rect.width : rect.right - rect.left\n    const height = is.number(rect.height) ? rect.height : rect.bottom - rect.top\n\n    // don't use margin greater than half the relevent dimension\n    margin = Math.min(margin, Math.abs((name === 'left' || name === 'right' ? width : height) / 2))\n\n    if (width < 0) {\n      if (name === 'left') {\n        name = 'right'\n      } else if (name === 'right') {\n        name = 'left'\n      }\n    }\n    if (height < 0) {\n      if (name === 'top') {\n        name = 'bottom'\n      } else if (name === 'bottom') {\n        name = 'top'\n      }\n    }\n\n    if (name === 'left') {\n      const edge = width >= 0 ? rect.left : rect.right\n      return page.x < edge + margin\n    }\n    if (name === 'top') {\n      const edge = height >= 0 ? rect.top : rect.bottom\n      return page.y < edge + margin\n    }\n\n    if (name === 'right') {\n      return page.x > (width >= 0 ? rect.right : rect.left) - margin\n    }\n    if (name === 'bottom') {\n      return page.y > (height >= 0 ? rect.bottom : rect.top) - margin\n    }\n  }\n\n  // the remaining checks require an element\n  if (!is.element(element)) {\n    return false\n  }\n\n  return is.element(value)\n    ? // the value is an element to use as a resize handle\n      value === element\n    : // otherwise check if element matches value as selector\n      dom.matchesUpTo(element, value, interactableElement)\n}\n\n/* eslint-disable multiline-ternary */\n// eslint-disable-next-line @typescript-eslint/consistent-type-imports\nfunction initCursors(browser: typeof import('@interactjs/utils/browser').default) {\n  return browser.isIe9\n    ? {\n        x: 'e-resize',\n        y: 's-resize',\n        xy: 'se-resize',\n\n        top: 'n-resize',\n        left: 'w-resize',\n        bottom: 's-resize',\n        right: 'e-resize',\n        topleft: 'se-resize',\n        bottomright: 'se-resize',\n        topright: 'ne-resize',\n        bottomleft: 'ne-resize',\n      }\n    : {\n        x: 'ew-resize',\n        y: 'ns-resize',\n        xy: 'nwse-resize',\n\n        top: 'ns-resize',\n        left: 'ew-resize',\n        bottom: 'ns-resize',\n        right: 'ew-resize',\n        topleft: 'nwse-resize',\n        bottomright: 'nwse-resize',\n        topright: 'nesw-resize',\n        bottomleft: 'nesw-resize',\n      }\n}\n/* eslint-enable multiline-ternary */\n\nfunction start({ iEvent, interaction }: { iEvent: InteractEvent<any, any>; interaction: Interaction }) {\n  if (interaction.prepared.name !== 'resize' || !interaction.prepared.edges) {\n    return\n  }\n\n  const resizeEvent = iEvent as ResizeEvent\n  const rect = interaction.rect\n\n  interaction._rects = {\n    start: extend({}, rect),\n    corrected: extend({}, rect),\n    previous: extend({}, rect),\n    delta: {\n      left: 0,\n      right: 0,\n      width: 0,\n      top: 0,\n      bottom: 0,\n      height: 0,\n    },\n  }\n\n  resizeEvent.edges = interaction.prepared.edges\n  resizeEvent.rect = interaction._rects.corrected\n  resizeEvent.deltaRect = interaction._rects.delta\n}\n\nfunction move({ iEvent, interaction }: { iEvent: InteractEvent<any, any>; interaction: Interaction }) {\n  if (interaction.prepared.name !== 'resize' || !interaction.prepared.edges) return\n\n  const resizeEvent = iEvent as ResizeEvent\n  const resizeOptions = interaction.interactable.options.resize\n  const invert = resizeOptions.invert\n  const invertible = invert === 'reposition' || invert === 'negate'\n\n  const current = interaction.rect\n  const { start: startRect, corrected, delta: deltaRect, previous } = interaction._rects\n\n  extend(previous, corrected)\n\n  if (invertible) {\n    // if invertible, copy the current rect\n    extend(corrected, current)\n\n    if (invert === 'reposition') {\n      // swap edge values if necessary to keep width/height positive\n      if (corrected.top > corrected.bottom) {\n        const swap = corrected.top\n\n        corrected.top = corrected.bottom\n        corrected.bottom = swap\n      }\n      if (corrected.left > corrected.right) {\n        const swap = corrected.left\n\n        corrected.left = corrected.right\n        corrected.right = swap\n      }\n    }\n  } else {\n    // if not invertible, restrict to minimum of 0x0 rect\n    corrected.top = Math.min(current.top, startRect.bottom)\n    corrected.bottom = Math.max(current.bottom, startRect.top)\n    corrected.left = Math.min(current.left, startRect.right)\n    corrected.right = Math.max(current.right, startRect.left)\n  }\n\n  corrected.width = corrected.right - corrected.left\n  corrected.height = corrected.bottom - corrected.top\n\n  for (const edge in corrected) {\n    deltaRect[edge] = corrected[edge] - previous[edge]\n  }\n\n  resizeEvent.edges = interaction.prepared.edges\n  resizeEvent.rect = corrected\n  resizeEvent.deltaRect = deltaRect\n}\n\nfunction end({ iEvent, interaction }: { iEvent: InteractEvent<any, any>; interaction: Interaction }) {\n  if (interaction.prepared.name !== 'resize' || !interaction.prepared.edges) return\n\n  const resizeEvent = iEvent as ResizeEvent\n\n  resizeEvent.edges = interaction.prepared.edges\n  resizeEvent.rect = interaction._rects.corrected\n  resizeEvent.deltaRect = interaction._rects.delta\n}\n\nfunction updateEventAxes({\n  iEvent,\n  interaction,\n}: {\n  iEvent: InteractEvent<any, any>\n  interaction: Interaction\n}) {\n  if (interaction.prepared.name !== 'resize' || !interaction.resizeAxes) return\n\n  const options = interaction.interactable.options\n  const resizeEvent = iEvent as ResizeEvent\n\n  if (options.resize.square) {\n    if (interaction.resizeAxes === 'y') {\n      resizeEvent.delta.x = resizeEvent.delta.y\n    } else {\n      resizeEvent.delta.y = resizeEvent.delta.x\n    }\n    resizeEvent.axes = 'xy'\n  } else {\n    resizeEvent.axes = interaction.resizeAxes\n\n    if (interaction.resizeAxes === 'x') {\n      resizeEvent.delta.y = 0\n    } else if (interaction.resizeAxes === 'y') {\n      resizeEvent.delta.x = 0\n    }\n  }\n}\n\nconst resize: Plugin = {\n  id: 'actions/resize',\n  before: ['actions/drag'],\n  install,\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.resizeAxes = 'xy'\n    },\n\n    'interactions:action-start': (arg) => {\n      start(arg)\n      updateEventAxes(arg)\n    },\n    'interactions:action-move': (arg) => {\n      move(arg)\n      updateEventAxes(arg)\n    },\n    'interactions:action-end': end,\n    'auto-start:check': resizeChecker,\n  },\n\n  defaults: {\n    square: false,\n    preserveAspectRatio: false,\n    axis: 'xy',\n\n    // use default margin\n    margin: NaN,\n\n    // object with props left, right, top, bottom which are\n    // true/false values to resize when the pointer is over that edge,\n    // CSS selectors to match the handles for each direction\n    // or the Elements for each handle\n    edges: null,\n\n    // a value of 'none' will limit the resize rect to a minimum of 0x0\n    // 'negate' will alow the rect to have negative width/height\n    // 'reposition' will keep the width/height positive by swapping\n    // the top and bottom edges and/or swapping the left and right edges\n    invert: 'none',\n  } as ResizableOptions,\n\n  cursors: null as ReturnType<typeof initCursors>,\n\n  getCursor({ edges, axis, name }: ActionProps) {\n    const cursors = resize.cursors\n    let result: string = null\n\n    if (axis) {\n      result = cursors[name + axis]\n    } else if (edges) {\n      let cursorKey = ''\n\n      for (const edge of ['top', 'bottom', 'left', 'right']) {\n        if (edges[edge]) {\n          cursorKey += edge\n        }\n      }\n\n      result = cursors[cursorKey]\n    }\n\n    return result\n  },\n\n  filterEventType: (type: string) => type.search('resize') === 0,\n\n  defaultMargin: null as number,\n}\n\nexport default resize\n","import type { Scope } from '@interactjs/core/scope'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './drag/plugin'\nimport './drop/plugin'\nimport './gesture/plugin'\nimport './resize/plugin'\n\nimport drag from './drag/plugin'\nimport drop from './drop/plugin'\nimport gesture from './gesture/plugin'\nimport resize from './resize/plugin'\n/* eslint-enable import/no-duplicates */\n\nexport default {\n  id: 'actions',\n  install(scope: Scope) {\n    scope.usePlugin(gesture)\n    scope.usePlugin(resize)\n    scope.usePlugin(drag)\n    scope.usePlugin(drop)\n  },\n}\n","let lastTime = 0\nlet request: typeof requestAnimationFrame\nlet cancel: typeof cancelAnimationFrame\n\nfunction init(global: Window | typeof globalThis) {\n  request = global.requestAnimationFrame\n  cancel = global.cancelAnimationFrame\n\n  if (!request) {\n    const vendors = ['ms', 'moz', 'webkit', 'o']\n\n    for (const vendor of vendors) {\n      request = global[`${vendor}RequestAnimationFrame` as 'requestAnimationFrame']\n      cancel =\n        global[`${vendor}CancelAnimationFrame` as 'cancelAnimationFrame'] ||\n        global[`${vendor}CancelRequestAnimationFrame` as 'cancelAnimationFrame']\n    }\n  }\n\n  request = request && request.bind(global)\n  cancel = cancel && cancel.bind(global)\n\n  if (!request) {\n    request = (callback) => {\n      const currTime = Date.now()\n      const timeToCall = Math.max(0, 16 - (currTime - lastTime))\n      const token = global.setTimeout(() => {\n        // eslint-disable-next-line n/no-callback-literal\n        callback(currTime + timeToCall)\n      }, timeToCall)\n\n      lastTime = currTime + timeToCall\n      return token as any\n    }\n\n    cancel = (token) => clearTimeout(token)\n  }\n}\n\nexport default {\n  request: (callback: FrameRequestCallback) => request(callback),\n  cancel: (token: number) => cancel(token),\n  init,\n}\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { ActionName, PointerType } from '@interactjs/core/types'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport is from '@interactjs/utils/is'\nimport raf from '@interactjs/utils/raf'\nimport { getStringOptionResult } from '@interactjs/utils/rect'\nimport { getWindow } from '@interactjs/utils/window'\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    autoScroll: typeof autoScroll\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    autoScroll?: typeof autoScroll\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface PerActionDefaults {\n    autoScroll?: AutoScrollOptions\n  }\n}\n\nexport interface AutoScrollOptions {\n  container?: Window | HTMLElement | string\n  margin?: number\n  distance?: number\n  interval?: number\n  speed?: number\n  enabled?: boolean\n}\n\nfunction install(scope: Scope) {\n  const { defaults, actions } = scope\n\n  scope.autoScroll = autoScroll\n  autoScroll.now = () => scope.now()\n\n  actions.phaselessTypes.autoscroll = true\n  defaults.perAction.autoScroll = autoScroll.defaults\n}\n\nconst autoScroll = {\n  defaults: {\n    enabled: false,\n    margin: 60,\n\n    // the item that is scrolled (Window or HTMLElement)\n    container: null as AutoScrollOptions['container'],\n\n    // the scroll speed in pixels per second\n    speed: 300,\n  } as AutoScrollOptions,\n\n  now: Date.now,\n\n  interaction: null as Interaction<ActionName> | null,\n  i: 0, // the handle returned by window.setInterval\n\n  // Direction each pulse is to scroll in\n  x: 0,\n  y: 0,\n\n  isScrolling: false,\n  prevTime: 0,\n  margin: 0,\n  speed: 0,\n\n  start(interaction: Interaction) {\n    autoScroll.isScrolling = true\n    raf.cancel(autoScroll.i)\n\n    interaction.autoScroll = autoScroll\n    autoScroll.interaction = interaction\n    autoScroll.prevTime = autoScroll.now()\n    autoScroll.i = raf.request(autoScroll.scroll)\n  },\n\n  stop() {\n    autoScroll.isScrolling = false\n    if (autoScroll.interaction) {\n      autoScroll.interaction.autoScroll = null\n    }\n    raf.cancel(autoScroll.i)\n  },\n\n  // scroll the window by the values in scroll.x/y\n  scroll() {\n    const { interaction } = autoScroll\n    const { interactable, element } = interaction\n    const actionName = interaction.prepared.name\n    const options = interactable.options[actionName].autoScroll\n    const container = getContainer(options.container, interactable, element)\n    const now = autoScroll.now()\n    // change in time in seconds\n    const dt = (now - autoScroll.prevTime) / 1000\n    // displacement\n    const s = options.speed * dt\n\n    if (s >= 1) {\n      const scrollBy = {\n        x: autoScroll.x * s,\n        y: autoScroll.y * s,\n      }\n\n      if (scrollBy.x || scrollBy.y) {\n        const prevScroll = getScroll(container)\n\n        if (is.window(container)) {\n          container.scrollBy(scrollBy.x, scrollBy.y)\n        } else if (container) {\n          container.scrollLeft += scrollBy.x\n          container.scrollTop += scrollBy.y\n        }\n\n        const curScroll = getScroll(container)\n        const delta = {\n          x: curScroll.x - prevScroll.x,\n          y: curScroll.y - prevScroll.y,\n        }\n\n        if (delta.x || delta.y) {\n          interactable.fire({\n            type: 'autoscroll',\n            target: element,\n            interactable,\n            delta,\n            interaction,\n            container,\n          })\n        }\n      }\n\n      autoScroll.prevTime = now\n    }\n\n    if (autoScroll.isScrolling) {\n      raf.cancel(autoScroll.i)\n      autoScroll.i = raf.request(autoScroll.scroll)\n    }\n  },\n  check(interactable: Interactable, actionName: ActionName) {\n    const options = interactable.options\n\n    return options[actionName].autoScroll?.enabled\n  },\n  onInteractionMove<T extends ActionName>({\n    interaction,\n    pointer,\n  }: {\n    interaction: Interaction<T>\n    pointer: PointerType\n  }) {\n    if (\n      !(interaction.interacting() && autoScroll.check(interaction.interactable, interaction.prepared.name))\n    ) {\n      return\n    }\n\n    if (interaction.simulation) {\n      autoScroll.x = autoScroll.y = 0\n      return\n    }\n\n    let top: boolean\n    let right: boolean\n    let bottom: boolean\n    let left: boolean\n\n    const { interactable, element } = interaction\n    const actionName = interaction.prepared.name\n    const options = interactable.options[actionName].autoScroll\n    const container = getContainer(options.container, interactable, element)\n\n    if (is.window(container)) {\n      left = pointer.clientX < autoScroll.margin\n      top = pointer.clientY < autoScroll.margin\n      right = pointer.clientX > container.innerWidth - autoScroll.margin\n      bottom = pointer.clientY > container.innerHeight - autoScroll.margin\n    } else {\n      const rect = domUtils.getElementClientRect(container)\n\n      left = pointer.clientX < rect.left + autoScroll.margin\n      top = pointer.clientY < rect.top + autoScroll.margin\n      right = pointer.clientX > rect.right - autoScroll.margin\n      bottom = pointer.clientY > rect.bottom - autoScroll.margin\n    }\n\n    autoScroll.x = right ? 1 : left ? -1 : 0\n    autoScroll.y = bottom ? 1 : top ? -1 : 0\n\n    if (!autoScroll.isScrolling) {\n      // set the autoScroll properties to those of the target\n      autoScroll.margin = options.margin\n      autoScroll.speed = options.speed\n\n      autoScroll.start(interaction)\n    }\n  },\n}\n\nexport function getContainer(value: any, interactable: Interactable, element: Element) {\n  return (\n    (is.string(value) ? getStringOptionResult(value, interactable, element) : value) || getWindow(element)\n  )\n}\n\nexport function getScroll(container: any) {\n  if (is.window(container)) {\n    container = window.document.body\n  }\n\n  return { x: container.scrollLeft, y: container.scrollTop }\n}\n\nexport function getScrollSize(container: any) {\n  if (is.window(container)) {\n    container = window.document.body\n  }\n\n  return { x: container.scrollWidth, y: container.scrollHeight }\n}\n\nexport function getScrollSizeDelta<T extends ActionName>(\n  {\n    interaction,\n    element,\n  }: {\n    interaction: Partial<Interaction<T>>\n    element: Element\n  },\n  func: any,\n) {\n  const scrollOptions = interaction && interaction.interactable.options[interaction.prepared.name].autoScroll\n\n  if (!scrollOptions || !scrollOptions.enabled) {\n    func()\n    return { x: 0, y: 0 }\n  }\n\n  const scrollContainer = getContainer(scrollOptions.container, interaction.interactable, element)\n\n  const prevSize = getScroll(scrollContainer)\n  func()\n  const curSize = getScroll(scrollContainer)\n\n  return {\n    x: curSize.x - prevSize.x,\n    y: curSize.y - prevSize.y,\n  }\n}\n\nconst autoScrollPlugin: Plugin = {\n  id: 'auto-scroll',\n  install,\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.autoScroll = null\n    },\n\n    'interactions:destroy': ({ interaction }) => {\n      interaction.autoScroll = null\n      autoScroll.stop()\n      if (autoScroll.interaction) {\n        autoScroll.interaction = null\n      }\n    },\n\n    'interactions:stop': autoScroll.stop,\n\n    'interactions:action-move': (arg: any) => autoScroll.onInteractionMove(arg),\n  },\n}\n\nexport default autoScrollPlugin\n","import type { ActionName, ActionProps } from '@interactjs/core/types'\n\nimport { window } from './window'\n\nexport function warnOnce<T>(this: T, method: (...args: any[]) => any, message: string) {\n  let warned = false\n\n  return function (this: T) {\n    if (!warned) {\n      ;(window as any).console.warn(message)\n      warned = true\n    }\n\n    return method.apply(this, arguments)\n  }\n}\n\nexport function copyAction<T extends ActionName>(dest: ActionProps<any>, src: ActionProps<T>) {\n  dest.name = src.name\n  dest.axis = src.axis\n  dest.edges = src.edges\n\n  return dest\n}\n\nexport const sign = (n: number) => (n >= 0 ? 1 : -1)\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { Interaction } from '@interactjs/core/Interaction'\nimport type { Scope } from '@interactjs/core/scope'\nimport type { ActionProps, PointerType, PointerEventType, Element } from '@interactjs/core/types'\nimport is from '@interactjs/utils/is'\nimport { warnOnce } from '@interactjs/utils/misc'\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    getAction: (\n      this: Interactable,\n      pointer: PointerType,\n      event: PointerEventType,\n      interaction: Interaction,\n      element: Element,\n    ) => ActionProps | null\n    styleCursor(newValue: boolean): this\n    styleCursor(): boolean\n    /**\n     * Returns or sets whether the the cursor should be changed depending on the\n     * action that would be performed if the mouse were pressed and dragged.\n     *\n     * @param {boolean} [newValue]\n     * @return {boolean | Interactable} The current setting or this Interactable\n     */\n    styleCursor(newValue?: boolean): boolean | this\n    actionChecker(checker: Function): Interactable\n    actionChecker(): Function\n    /**\n     * ```js\n     * interact('.resize-drag')\n     *   .resizable(true)\n     *   .draggable(true)\n     *   .actionChecker(function (pointer, event, action, interactable, element, interaction) {\n     *\n     *     if (interact.matchesSelector(event.target, '.drag-handle')) {\n     *       // force drag with handle target\n     *       action.name = drag\n     *     }\n     *     else {\n     *       // resize from the top and right edges\n     *       action.name  = 'resize'\n     *       action.edges = { top: true, right: true }\n     *     }\n     *\n     *     return action\n     * })\n     * ```\n     *\n     * Returns or sets the function used to check action to be performed on\n     * pointerDown\n     *\n     * @param checker - A function which takes a pointer event,\n     * defaultAction string, interactable, element and interaction as parameters\n     * and returns an object with name property 'drag' 'resize' or 'gesture' and\n     * optionally an `edges` object with boolean 'top', 'left', 'bottom' and right\n     * props.\n     * @returns The checker function or this Interactable\n     */\n    actionChecker(checker?: Function): Interactable | Function\n    /** @returns This interactable */\n    ignoreFrom(newValue: string | Element | null): Interactable\n    /** @returns The current ignoreFrom value */\n    ignoreFrom(): string | Element | null\n    /**\n     * If the target of the `mousedown`, `pointerdown` or `touchstart` event or any\n     * of it's parents match the given CSS selector or Element, no\n     * drag/resize/gesture is started.\n     *\n     * @deprecated\n     * Don't use this method. Instead set the `ignoreFrom` option for each action\n     * or for `pointerEvents`\n     *\n     * ```js\n     * interact(targett)\n     *   .draggable({\n     *     ignoreFrom: 'input, textarea, a[href]'',\n     *   })\n     *   .pointerEvents({\n     *     ignoreFrom: '[no-pointer]',\n     *   })\n     * ```\n     * Interactable\n     */\n    ignoreFrom(\n      /** a CSS selector string, an Element or `null` to not ignore any elements */\n      newValue?: string | Element | null,\n    ): Interactable | string | Element | null\n    allowFrom(): boolean\n    /**\n     *\n     * A drag/resize/gesture is started only If the target of the `mousedown`,\n     * `pointerdown` or `touchstart` event or any of it's parents match the given\n     * CSS selector or Element.\n     *\n     * @deprecated\n     * Don't use this method. Instead set the `allowFrom` option for each action\n     * or for `pointerEvents`\n     *\n     * ```js\n     * interact(targett)\n     *   .resizable({\n     *     allowFrom: '.resize-handle',\n     *   .pointerEvents({\n     *     allowFrom: '.handle',,\n     *   })\n     * ```\n     *\n     * @param {string | Element | null} [newValue]\n     * @return {string | Element | object} The current allowFrom value or this\n     * Interactable\n     */\n    allowFrom(\n      /** A CSS selector string, an Element or `null` to allow from any element */\n      newValue: string | Element | null,\n    ): Interactable\n  }\n}\n\nfunction install(scope: Scope) {\n  const {\n    Interactable, // tslint:disable-line no-shadowed-variable\n  } = scope\n\n  Interactable.prototype.getAction = function getAction(\n    this: Interactable,\n    pointer: PointerType,\n    event: PointerEventType,\n    interaction: Interaction,\n    element: Element,\n  ): ActionProps {\n    const action = defaultActionChecker(this, event, interaction, element, scope)\n\n    if (this.options.actionChecker) {\n      return this.options.actionChecker(pointer, event, action, this, element, interaction)\n    }\n\n    return action\n  }\n\n  Interactable.prototype.ignoreFrom = warnOnce(function (this: Interactable, newValue) {\n    return this._backCompatOption('ignoreFrom', newValue)\n  }, 'Interactable.ignoreFrom() has been deprecated. Use Interactble.draggable({ignoreFrom: newValue}).')\n\n  Interactable.prototype.allowFrom = warnOnce(function (this: Interactable, newValue) {\n    return this._backCompatOption('allowFrom', newValue)\n  }, 'Interactable.allowFrom() has been deprecated. Use Interactble.draggable({allowFrom: newValue}).')\n\n  Interactable.prototype.actionChecker = actionChecker\n\n  Interactable.prototype.styleCursor = styleCursor\n}\n\nfunction defaultActionChecker(\n  interactable: Interactable,\n  event: PointerEventType,\n  interaction: Interaction,\n  element: Element,\n  scope: Scope,\n) {\n  const rect = interactable.getRect(element)\n  const buttons =\n    (event as MouseEvent).buttons ||\n    {\n      0: 1,\n      1: 4,\n      3: 8,\n      4: 16,\n    }[(event as MouseEvent).button as 0 | 1 | 3 | 4]\n  const arg = {\n    action: null,\n    interactable,\n    interaction,\n    element,\n    rect,\n    buttons,\n  }\n\n  scope.fire('auto-start:check', arg)\n\n  return arg.action\n}\n\nfunction styleCursor(this: Interactable, newValue?: boolean) {\n  if (is.bool(newValue)) {\n    this.options.styleCursor = newValue\n\n    return this\n  }\n\n  if (newValue === null) {\n    delete this.options.styleCursor\n\n    return this\n  }\n\n  return this.options.styleCursor\n}\n\nfunction actionChecker(this: Interactable, checker?: any) {\n  if (is.func(checker)) {\n    this.options.actionChecker = checker\n\n    return this\n  }\n\n  if (checker === null) {\n    delete this.options.actionChecker\n\n    return this\n  }\n\n  return this.options.actionChecker\n}\n\nexport default {\n  id: 'auto-start/interactableMethods',\n  install,\n}\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { Interaction } from '@interactjs/core/Interaction'\nimport type { Scope, SignalArgs, Plugin } from '@interactjs/core/scope'\nimport type {\n  CursorChecker,\n  PointerType,\n  PointerEventType,\n  Element,\n  ActionName,\n  ActionProps,\n} from '@interactjs/core/types'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\nimport { copyAction } from '@interactjs/utils/misc'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './InteractableMethods'\nimport InteractableMethods from './InteractableMethods'\n/* eslint-enable import/no-duplicates */\n\ndeclare module '@interactjs/core/InteractStatic' {\n  export interface InteractStatic {\n    /**\n     * Returns or sets the maximum number of concurrent interactions allowed.  By\n     * default only 1 interaction is allowed at a time (for backwards\n     * compatibility). To allow multiple interactions on the same Interactables and\n     * elements, you need to enable it in the draggable, resizable and gesturable\n     * `'max'` and `'maxPerElement'` options.\n     *\n     * @param {number} [newValue] Any number. newValue <= 0 means no interactions.\n     */\n    maxInteractions: (newValue: any) => any\n  }\n}\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    autoStart: AutoStart\n  }\n\n  interface SignalArgs {\n    'autoStart:before-start': Omit<SignalArgs['interactions:move'], 'interaction'> & {\n      interaction: Interaction<ActionName>\n    }\n    'autoStart:prepared': { interaction: Interaction }\n    'auto-start:check': CheckSignalArg\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface BaseDefaults {\n    actionChecker?: any\n    cursorChecker?: any\n    styleCursor?: any\n  }\n\n  interface PerActionDefaults {\n    manualStart?: boolean\n    max?: number\n    maxPerElement?: number\n    allowFrom?: string | Element\n    ignoreFrom?: string | Element\n    cursorChecker?: CursorChecker\n\n    // only allow left button by default\n    // see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons#Return_value\n    // TODO: docst\n    mouseButtons?: 0 | 1 | 2 | 4 | 8 | 16\n  }\n}\n\ninterface CheckSignalArg {\n  interactable: Interactable\n  interaction: Interaction\n  element: Element\n  action: ActionProps<ActionName>\n  buttons: number\n}\n\nexport interface AutoStart {\n  // Allow this many interactions to happen simultaneously\n  maxInteractions: number\n  withinInteractionLimit: typeof withinInteractionLimit\n  cursorElement: Element\n}\n\nfunction install(scope: Scope) {\n  const { interactStatic: interact, defaults } = scope\n\n  scope.usePlugin(InteractableMethods)\n\n  defaults.base.actionChecker = null\n  defaults.base.styleCursor = true\n\n  extend(defaults.perAction, {\n    manualStart: false,\n    max: Infinity,\n    maxPerElement: 1,\n    allowFrom: null,\n    ignoreFrom: null,\n\n    // only allow left button by default\n    // see https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/buttons#Return_value\n    mouseButtons: 1,\n  })\n\n  interact.maxInteractions = (newValue: number) => maxInteractions(newValue, scope)\n\n  scope.autoStart = {\n    // Allow this many interactions to happen simultaneously\n    maxInteractions: Infinity,\n    withinInteractionLimit,\n    cursorElement: null,\n  }\n}\n\nfunction prepareOnDown(\n  { interaction, pointer, event, eventTarget }: SignalArgs['interactions:down'],\n  scope: Scope,\n) {\n  if (interaction.interacting()) return\n\n  const actionInfo = getActionInfo(interaction, pointer, event, eventTarget, scope)\n  prepare(interaction, actionInfo, scope)\n}\n\nfunction prepareOnMove(\n  { interaction, pointer, event, eventTarget }: SignalArgs['interactions:move'],\n  scope: Scope,\n) {\n  if (interaction.pointerType !== 'mouse' || interaction.pointerIsDown || interaction.interacting()) return\n\n  const actionInfo = getActionInfo(interaction, pointer, event, eventTarget as Element, scope)\n  prepare(interaction, actionInfo, scope)\n}\n\nfunction startOnMove(arg: SignalArgs['interactions:move'], scope: Scope) {\n  const { interaction } = arg\n\n  if (\n    !interaction.pointerIsDown ||\n    interaction.interacting() ||\n    !interaction.pointerWasMoved ||\n    !interaction.prepared.name\n  ) {\n    return\n  }\n\n  scope.fire('autoStart:before-start', arg)\n\n  const { interactable } = interaction\n  const actionName = (interaction as Interaction<ActionName>).prepared.name\n\n  if (actionName && interactable) {\n    // check manualStart and interaction limit\n    if (\n      interactable.options[actionName].manualStart ||\n      !withinInteractionLimit(interactable, interaction.element, interaction.prepared, scope)\n    ) {\n      interaction.stop()\n    } else {\n      interaction.start(interaction.prepared, interactable, interaction.element)\n      setInteractionCursor(interaction, scope)\n    }\n  }\n}\n\nfunction clearCursorOnStop({ interaction }: { interaction: Interaction }, scope: Scope) {\n  const { interactable } = interaction\n\n  if (interactable && interactable.options.styleCursor) {\n    setCursor(interaction.element, '', scope)\n  }\n}\n\n// Check if the current interactable supports the action.\n// If so, return the validated action. Otherwise, return null\nfunction validateAction<T extends ActionName>(\n  action: ActionProps<T>,\n  interactable: Interactable,\n  element: Element,\n  eventTarget: Node,\n  scope: Scope,\n) {\n  if (\n    interactable.testIgnoreAllow(interactable.options[action.name], element, eventTarget) &&\n    interactable.options[action.name].enabled &&\n    withinInteractionLimit(interactable, element, action, scope)\n  ) {\n    return action\n  }\n\n  return null\n}\n\nfunction validateMatches(\n  interaction: Interaction,\n  pointer: PointerType,\n  event: PointerEventType,\n  matches: Interactable[],\n  matchElements: Element[],\n  eventTarget: Node,\n  scope: Scope,\n) {\n  for (let i = 0, len = matches.length; i < len; i++) {\n    const match = matches[i]\n    const matchElement = matchElements[i]\n    const matchAction = match.getAction(pointer, event, interaction, matchElement)\n\n    if (!matchAction) {\n      continue\n    }\n\n    const action = validateAction<ActionName>(matchAction, match, matchElement, eventTarget, scope)\n\n    if (action) {\n      return {\n        action,\n        interactable: match,\n        element: matchElement,\n      }\n    }\n  }\n\n  return { action: null, interactable: null, element: null }\n}\n\nfunction getActionInfo(\n  interaction: Interaction,\n  pointer: PointerType,\n  event: PointerEventType,\n  eventTarget: Node,\n  scope: Scope,\n) {\n  let matches: Interactable[] = []\n  let matchElements: Element[] = []\n\n  let element = eventTarget as Element\n\n  function pushMatches(interactable: Interactable) {\n    matches.push(interactable)\n    matchElements.push(element)\n  }\n\n  while (is.element(element)) {\n    matches = []\n    matchElements = []\n\n    scope.interactables.forEachMatch(element, pushMatches)\n\n    const actionInfo = validateMatches(\n      interaction,\n      pointer,\n      event,\n      matches,\n      matchElements,\n      eventTarget,\n      scope,\n    )\n\n    if (actionInfo.action && !actionInfo.interactable.options[actionInfo.action.name].manualStart) {\n      return actionInfo\n    }\n\n    element = domUtils.parentNode(element) as Element\n  }\n\n  return { action: null, interactable: null, element: null }\n}\n\nfunction prepare(\n  interaction: Interaction,\n  {\n    action,\n    interactable,\n    element,\n  }: {\n    action: ActionProps<any>\n    interactable: Interactable\n    element: Element\n  },\n  scope: Scope,\n) {\n  action = action || { name: null }\n\n  interaction.interactable = interactable\n  interaction.element = element\n  copyAction(interaction.prepared, action)\n\n  interaction.rect = interactable && action.name ? interactable.getRect(element) : null\n\n  setInteractionCursor(interaction, scope)\n\n  scope.fire('autoStart:prepared', { interaction })\n}\n\nfunction withinInteractionLimit<T extends ActionName>(\n  interactable: Interactable,\n  element: Element,\n  action: ActionProps<T>,\n  scope: Scope,\n) {\n  const options = interactable.options\n  const maxActions = options[action.name].max\n  const maxPerElement = options[action.name].maxPerElement\n  const autoStartMax = scope.autoStart.maxInteractions\n  let activeInteractions = 0\n  let interactableCount = 0\n  let elementCount = 0\n\n  // no actions if any of these values == 0\n  if (!(maxActions && maxPerElement && autoStartMax)) {\n    return false\n  }\n\n  for (const interaction of scope.interactions.list) {\n    const otherAction = interaction.prepared.name\n\n    if (!interaction.interacting()) {\n      continue\n    }\n\n    activeInteractions++\n\n    if (activeInteractions >= autoStartMax) {\n      return false\n    }\n\n    if (interaction.interactable !== interactable) {\n      continue\n    }\n\n    interactableCount += otherAction === action.name ? 1 : 0\n\n    if (interactableCount >= maxActions) {\n      return false\n    }\n\n    if (interaction.element === element) {\n      elementCount++\n\n      if (otherAction === action.name && elementCount >= maxPerElement) {\n        return false\n      }\n    }\n  }\n\n  return autoStartMax > 0\n}\n\nfunction maxInteractions(newValue: any, scope: Scope) {\n  if (is.number(newValue)) {\n    scope.autoStart.maxInteractions = newValue\n\n    return this\n  }\n\n  return scope.autoStart.maxInteractions\n}\n\nfunction setCursor(element: Element, cursor: string, scope: Scope) {\n  const { cursorElement: prevCursorElement } = scope.autoStart\n\n  if (prevCursorElement && prevCursorElement !== element) {\n    prevCursorElement.style.cursor = ''\n  }\n\n  element.ownerDocument.documentElement.style.cursor = cursor\n  element.style.cursor = cursor\n  scope.autoStart.cursorElement = cursor ? element : null\n}\n\nfunction setInteractionCursor<T extends ActionName>(interaction: Interaction<T>, scope: Scope) {\n  const { interactable, element, prepared } = interaction\n\n  if (!(interaction.pointerType === 'mouse' && interactable && interactable.options.styleCursor)) {\n    // clear previous target element cursor\n    if (scope.autoStart.cursorElement) {\n      setCursor(scope.autoStart.cursorElement, '', scope)\n    }\n\n    return\n  }\n\n  let cursor = ''\n\n  if (prepared.name) {\n    const cursorChecker = interactable.options[prepared.name].cursorChecker\n\n    if (is.func(cursorChecker)) {\n      cursor = cursorChecker(prepared, interactable, element, interaction._interacting)\n    } else {\n      cursor = scope.actions.map[prepared.name].getCursor(prepared)\n    }\n  }\n\n  setCursor(interaction.element, cursor || '', scope)\n}\n\nconst autoStart: Plugin = {\n  id: 'auto-start/base',\n  before: ['actions'],\n  install,\n  listeners: {\n    'interactions:down': prepareOnDown,\n    'interactions:move': (arg, scope) => {\n      prepareOnMove(arg, scope)\n      startOnMove(arg, scope)\n    },\n    'interactions:stop': clearCursorOnStop,\n  },\n  maxInteractions,\n  withinInteractionLimit,\n  validateAction,\n}\n\nexport default autoStart\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { SignalArgs, Scope } from '@interactjs/core/scope'\nimport type { ActionName, Element } from '@interactjs/core/types'\nimport { parentNode } from '@interactjs/utils/domUtils'\nimport is from '@interactjs/utils/is'\n\nimport autoStart from './base'\n\nfunction beforeStart({ interaction, eventTarget, dx, dy }: SignalArgs['interactions:move'], scope: Scope) {\n  if (interaction.prepared.name !== 'drag') return\n\n  // check if a drag is in the correct axis\n  const absX = Math.abs(dx)\n  const absY = Math.abs(dy)\n  const targetOptions = interaction.interactable.options.drag\n  const startAxis = targetOptions.startAxis\n  const currentAxis = absX > absY ? 'x' : absX < absY ? 'y' : 'xy'\n\n  interaction.prepared.axis =\n    targetOptions.lockAxis === 'start'\n      ? (currentAxis[0] as 'x' | 'y') // always lock to one axis even if currentAxis === 'xy'\n      : targetOptions.lockAxis\n\n  // if the movement isn't in the startAxis of the interactable\n  if (currentAxis !== 'xy' && startAxis !== 'xy' && startAxis !== currentAxis) {\n    // cancel the prepared action\n    ;(interaction as Interaction<ActionName>).prepared.name = null\n\n    // then try to get a drag from another ineractable\n    let element = eventTarget as Element\n\n    const getDraggable = function (interactable: Interactable): Interactable | void {\n      if (interactable === interaction.interactable) return\n\n      const options = interaction.interactable.options.drag\n\n      if (!options.manualStart && interactable.testIgnoreAllow(options, element, eventTarget)) {\n        const action = interactable.getAction(\n          interaction.downPointer,\n          interaction.downEvent,\n          interaction,\n          element,\n        )\n\n        if (\n          action &&\n          action.name === 'drag' &&\n          checkStartAxis(currentAxis, interactable) &&\n          autoStart.validateAction(action, interactable, element, eventTarget, scope)\n        ) {\n          return interactable\n        }\n      }\n    }\n\n    // check all interactables\n    while (is.element(element)) {\n      const interactable = scope.interactables.forEachMatch(element, getDraggable)\n\n      if (interactable) {\n        ;(interaction as Interaction<ActionName>).prepared.name = 'drag'\n        interaction.interactable = interactable\n        interaction.element = element\n        break\n      }\n\n      element = parentNode(element) as Element\n    }\n  }\n}\n\nfunction checkStartAxis(startAxis: string, interactable: Interactable) {\n  if (!interactable) {\n    return false\n  }\n\n  const thisAxis = interactable.options.drag.startAxis\n\n  return startAxis === 'xy' || thisAxis === 'xy' || thisAxis === startAxis\n}\n\nexport default {\n  id: 'auto-start/dragAxis',\n  listeners: { 'autoStart:before-start': beforeStart },\n}\n","import type Interaction from '@interactjs/core/Interaction'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './base'\nimport basePlugin from './base'\n/* eslint-enable */\n\ndeclare module '@interactjs/core/options' {\n  interface PerActionDefaults {\n    hold?: number\n    delay?: number\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    autoStartHoldTimer?: any\n  }\n}\n\nfunction install(scope: Scope) {\n  const { defaults } = scope\n\n  scope.usePlugin(basePlugin)\n\n  defaults.perAction.hold = 0\n  defaults.perAction.delay = 0\n}\n\nfunction getHoldDuration(interaction: Interaction) {\n  const actionName = interaction.prepared && interaction.prepared.name\n\n  if (!actionName) {\n    return null\n  }\n\n  const options = interaction.interactable.options\n\n  return options[actionName].hold || options[actionName].delay\n}\n\nconst hold: Plugin = {\n  id: 'auto-start/hold',\n  install,\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.autoStartHoldTimer = null\n    },\n\n    'autoStart:prepared': ({ interaction }) => {\n      const hold = getHoldDuration(interaction)\n\n      if (hold > 0) {\n        interaction.autoStartHoldTimer = setTimeout(() => {\n          interaction.start(interaction.prepared, interaction.interactable, interaction.element)\n        }, hold)\n      }\n    },\n\n    'interactions:move': ({ interaction, duplicate }) => {\n      if (interaction.autoStartHoldTimer && interaction.pointerWasMoved && !duplicate) {\n        clearTimeout(interaction.autoStartHoldTimer)\n        interaction.autoStartHoldTimer = null\n      }\n    },\n\n    // prevent regular down->move autoStart\n    'autoStart:before-start': ({ interaction }) => {\n      const holdDuration = getHoldDuration(interaction)\n\n      if (holdDuration > 0) {\n        interaction.prepared.name = null\n      }\n    },\n  },\n  getHoldDuration,\n}\nexport default hold\n","import type { Scope } from '@interactjs/core/scope'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './base'\nimport './dragAxis'\nimport './hold'\n\nimport autoStart from './base'\nimport dragAxis from './dragAxis'\nimport hold from './hold'\n/* eslint-enable import/no-duplicates */\n\nexport default {\n  id: 'auto-start',\n  install(scope: Scope) {\n    scope.usePlugin(autoStart)\n    scope.usePlugin(hold)\n    scope.usePlugin(dragAxis)\n  },\n}\n","import { matchesSelector, nodeContains } from '@interactjs/utils/domUtils'\nimport is from '@interactjs/utils/is'\nimport { getWindow } from '@interactjs/utils/window'\n\nimport type { Interactable } from '@interactjs/core/Interactable'\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { Scope } from '@interactjs/core/scope'\nimport type { PointerEventType } from '@interactjs/core/types'\n\ntype PreventDefaultValue = 'always' | 'never' | 'auto'\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    preventDefault(newValue: PreventDefaultValue): this\n    preventDefault(): PreventDefaultValue\n    /**\n     * Returns or sets whether to prevent the browser's default behaviour in\n     * response to pointer events. Can be set to:\n     *  - `'always'` to always prevent\n     *  - `'never'` to never prevent\n     *  - `'auto'` to let interact.js try to determine what would be best\n     *\n     * @param newValue - `'always'`, `'never'` or `'auto'`\n     * @returns The current setting or this Interactable\n     */\n    preventDefault(newValue?: PreventDefaultValue): PreventDefaultValue | this\n    checkAndPreventDefault(event: Event): void\n  }\n}\n\nconst preventDefault = function preventDefault(this: Interactable, newValue?: PreventDefaultValue) {\n  if (/^(always|never|auto)$/.test(newValue)) {\n    this.options.preventDefault = newValue\n    return this\n  }\n\n  if (is.bool(newValue)) {\n    this.options.preventDefault = newValue ? 'always' : 'never'\n    return this\n  }\n\n  return this.options.preventDefault\n} as Interactable['preventDefault']\n\nfunction checkAndPreventDefault(interactable: Interactable, scope: Scope, event: Event) {\n  const setting = interactable.options.preventDefault\n\n  if (setting === 'never') return\n\n  if (setting === 'always') {\n    event.preventDefault()\n    return\n  }\n\n  // setting === 'auto'\n\n  // if the browser supports passive event listeners and isn't running on iOS,\n  // don't preventDefault of touch{start,move} events. CSS touch-action and\n  // user-select should be used instead of calling event.preventDefault().\n  if (scope.events.supportsPassive && /^touch(start|move)$/.test(event.type)) {\n    const doc = getWindow(event.target).document\n    const docOptions = scope.getDocOptions(doc)\n\n    if (!(docOptions && docOptions.events) || docOptions.events.passive !== false) {\n      return\n    }\n  }\n\n  // don't preventDefault of pointerdown events\n  if (/^(mouse|pointer|touch)*(down|start)/i.test(event.type)) {\n    return\n  }\n\n  // don't preventDefault on editable elements\n  if (\n    is.element(event.target) &&\n    matchesSelector(event.target, 'input,select,textarea,[contenteditable=true],[contenteditable=true] *')\n  ) {\n    return\n  }\n\n  event.preventDefault()\n}\n\nfunction onInteractionEvent({ interaction, event }: { interaction: Interaction; event: PointerEventType }) {\n  if (interaction.interactable) {\n    interaction.interactable.checkAndPreventDefault(event as Event)\n  }\n}\n\nexport function install(scope: Scope) {\n  const { Interactable } = scope\n\n  Interactable.prototype.preventDefault = preventDefault\n\n  Interactable.prototype.checkAndPreventDefault = function (event) {\n    return checkAndPreventDefault(this, scope, event)\n  }\n\n  // prevent native HTML5 drag on interact.js target elements\n  scope.interactions.docEvents.push({\n    type: 'dragstart',\n    listener(event) {\n      for (const interaction of scope.interactions.list) {\n        if (\n          interaction.element &&\n          (interaction.element === event.target || nodeContains(interaction.element, event.target))\n        ) {\n          interaction.interactable.checkAndPreventDefault(event)\n          return\n        }\n      }\n    },\n  })\n}\n\nexport default {\n  id: 'core/interactablePreventDefault',\n  install,\n  listeners: ['down', 'move', 'up', 'cancel'].reduce((acc, eventType) => {\n    acc[`interactions:${eventType}`] = onInteractionEvent\n    return acc\n  }, {} as any),\n}\n","import type { Actions } from '@interactjs/core/types'\n\nexport default function isNonNativeEvent(type: string, actions: Actions) {\n  if (actions.phaselessTypes[type]) {\n    return true\n  }\n\n  for (const name in actions.map) {\n    if (type.indexOf(name) === 0 && type.substr(name.length) in actions.phases) {\n      return true\n    }\n  }\n\n  return false\n}\n","import type Interaction from '@interactjs/core/Interaction'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { Element, OptionMethod } from '@interactjs/core/types'\nimport domObjects from '@interactjs/utils/domObjects'\nimport { parentNode } from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\nimport isNonNativeEvent from '@interactjs/utils/isNonNativeEvent'\nimport normalizeListeners from '@interactjs/utils/normalizeListeners'\nimport * as win from '@interactjs/utils/window'\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    logger: Logger\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface BaseDefaults {\n    devTools?: DevToolsOptions\n  }\n}\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    devTools: OptionMethod<DevToolsOptions>\n  }\n}\n\nexport interface DevToolsOptions {\n  ignore: { [P in keyof typeof CheckName]?: boolean }\n}\n\nexport interface Logger {\n  warn: (...args: any[]) => void\n  error: (...args: any[]) => void\n  log: (...args: any[]) => void\n}\n\nexport interface Check {\n  name: CheckName\n  text: string\n  perform: (interaction: Interaction) => boolean\n  getInfo: (interaction: Interaction) => any[]\n}\n\nenum CheckName {\n  touchAction = 'touchAction',\n  boxSizing = 'boxSizing',\n  noListeners = 'noListeners',\n}\n\nconst prefix = '[interact.js] '\nconst links = {\n  touchAction: 'https://developer.mozilla.org/en-US/docs/Web/CSS/touch-action',\n  boxSizing: 'https://developer.mozilla.org/en-US/docs/Web/CSS/box-sizing',\n}\n\n// eslint-disable-next-line no-undef\nconst isProduction = process.env.NODE_ENV === 'production'\n\nfunction install(scope: Scope, { logger }: { logger?: Logger } = {}) {\n  const { Interactable, defaults } = scope\n\n  scope.logger = logger || console\n\n  defaults.base.devTools = {\n    ignore: {},\n  }\n\n  Interactable.prototype.devTools = function (options?: object) {\n    if (options) {\n      extend(this.options.devTools, options)\n      return this\n    }\n\n    return this.options.devTools\n  }\n\n  // can't set native events on non string targets without `addEventListener` prop\n  const { _onOff } = Interactable.prototype\n  Interactable.prototype._onOff = function (method, typeArg, listenerArg, options, filter) {\n    if (is.string(this.target) || this.target.addEventListener) {\n      return _onOff.call(this, method, typeArg, listenerArg, options, filter)\n    }\n\n    if (is.object(typeArg) && !is.array(typeArg)) {\n      options = listenerArg\n      listenerArg = null\n    }\n\n    const normalizedListeners = normalizeListeners(typeArg, listenerArg, filter)\n\n    for (const type in normalizedListeners) {\n      if (isNonNativeEvent(type, scope.actions)) continue\n      scope.logger.warn(\n        prefix +\n          `Can't add native \"${type}\" event listener to target without \\`addEventListener(type, listener, options)\\` prop.`,\n      )\n    }\n\n    return _onOff.call(this, method, normalizedListeners, options)\n  }\n}\n\nconst checks: Check[] = [\n  {\n    name: CheckName.touchAction,\n    perform({ element }) {\n      return !!element && !parentHasStyle(element, 'touchAction', /pan-|pinch|none/)\n    },\n    getInfo({ element }) {\n      return [element, links.touchAction]\n    },\n    text: 'Consider adding CSS \"touch-action: none\" to this element\\n',\n  },\n\n  {\n    name: CheckName.boxSizing,\n    perform(interaction) {\n      const { element } = interaction\n\n      return (\n        interaction.prepared.name === 'resize' &&\n        element instanceof domObjects.HTMLElement &&\n        !hasStyle(element, 'boxSizing', /border-box/)\n      )\n    },\n    text: 'Consider adding CSS \"box-sizing: border-box\" to this resizable element',\n    getInfo({ element }) {\n      return [element, links.boxSizing]\n    },\n  },\n\n  {\n    name: CheckName.noListeners,\n    perform(interaction) {\n      const actionName = interaction.prepared.name\n      const moveListeners = interaction.interactable?.events.types[`${actionName}move`] || []\n\n      return !moveListeners.length\n    },\n    getInfo(interaction) {\n      return [interaction.prepared.name, interaction.interactable]\n    },\n    text: 'There are no listeners set for this action',\n  },\n]\n\nfunction hasStyle(element: HTMLElement, prop: keyof CSSStyleDeclaration, styleRe: RegExp) {\n  const value = element.style[prop] || win.window.getComputedStyle(element)[prop]\n  return styleRe.test((value || '').toString())\n}\n\nfunction parentHasStyle(element: Element, prop: keyof CSSStyleDeclaration, styleRe: RegExp) {\n  let parent = element as HTMLElement\n\n  while (is.element(parent)) {\n    if (hasStyle(parent, prop, styleRe)) {\n      return true\n    }\n\n    parent = parentNode(parent) as HTMLElement\n  }\n\n  return false\n}\n\nconst id = 'dev-tools'\nconst defaultExport: Plugin = isProduction\n  ? { id, install: () => {} }\n  : {\n      id,\n      install,\n      listeners: {\n        'interactions:action-start': ({ interaction }, scope) => {\n          for (const check of checks) {\n            const options = interaction.interactable && interaction.interactable.options\n\n            if (\n              !(options && options.devTools && options.devTools.ignore[check.name]) &&\n              check.perform(interaction)\n            ) {\n              scope.logger.warn(prefix + check.text, ...check.getInfo(interaction))\n            }\n          }\n        },\n      },\n      checks,\n      CheckName,\n      links,\n      prefix,\n    }\n\nexport default defaultExport\n","import * as arr from './arr'\nimport is from './is'\n\n// tslint:disable-next-line ban-types\nexport default function clone<T extends Object>(source: T): Partial<T> {\n  const dest = {} as Partial<T>\n\n  for (const prop in source) {\n    const value = source[prop]\n\n    if (is.plainObject(value)) {\n      dest[prop] = clone(value) as any\n    } else if (is.array(value)) {\n      dest[prop] = arr.from(value) as typeof value\n    } else {\n      dest[prop] = value\n    }\n  }\n\n  return dest\n}\n","import type { EventPhase } from '@interactjs/core/InteractEvent'\nimport type { Interaction, DoAnyPhaseArg } from '@interactjs/core/Interaction'\nimport type { EdgeOptions, FullRect, Point, Rect } from '@interactjs/core/types'\nimport clone from '@interactjs/utils/clone'\nimport extend from '@interactjs/utils/extend'\nimport * as rectUtils from '@interactjs/utils/rect'\n\nimport type { Modifier, ModifierArg, ModifierState } from './types'\n\nexport interface ModificationResult {\n  delta: Point\n  rectDelta: Rect\n  coords: Point\n  rect: FullRect\n  eventProps: any[]\n  changed: boolean\n}\n\ninterface MethodArg {\n  phase: EventPhase\n  pageCoords: Point\n  rect: FullRect\n  coords: Point\n  preEnd?: boolean\n  skipModifiers?: number\n}\n\nexport class Modification {\n  states: ModifierState[] = []\n  startOffset: Rect = { left: 0, right: 0, top: 0, bottom: 0 }\n  startDelta!: Point\n  result!: ModificationResult\n  endResult!: Point\n  startEdges!: EdgeOptions\n  edges: EdgeOptions\n  readonly interaction: Readonly<Interaction>\n\n  constructor(interaction: Interaction) {\n    this.interaction = interaction\n    this.result = createResult()\n    this.edges = {\n      left: false,\n      right: false,\n      top: false,\n      bottom: false,\n    }\n  }\n\n  start({ phase }: { phase: EventPhase }, pageCoords: Point) {\n    const { interaction } = this\n    const modifierList = getModifierList(interaction)\n    this.prepareStates(modifierList)\n\n    this.startEdges = extend({}, interaction.edges)\n    this.edges = extend({}, this.startEdges)\n    this.startOffset = getRectOffset(interaction.rect, pageCoords)\n    this.startDelta = { x: 0, y: 0 }\n\n    const arg = this.fillArg({\n      phase,\n      pageCoords,\n      preEnd: false,\n    })\n\n    this.result = createResult()\n    this.startAll(arg)\n\n    const result = (this.result = this.setAll(arg))\n\n    return result\n  }\n\n  fillArg(arg: Partial<ModifierArg>) {\n    const { interaction } = this\n\n    arg.interaction = interaction\n    arg.interactable = interaction.interactable\n    arg.element = interaction.element\n    arg.rect ||= interaction.rect\n    arg.edges ||= this.startEdges\n    arg.startOffset = this.startOffset\n\n    return arg as ModifierArg\n  }\n\n  startAll(arg: MethodArg & Partial<ModifierArg>) {\n    for (const state of this.states) {\n      if (state.methods.start) {\n        arg.state = state\n        state.methods.start(arg as ModifierArg)\n      }\n    }\n  }\n\n  setAll(arg: MethodArg & Partial<ModifierArg>): ModificationResult {\n    const { phase, preEnd, skipModifiers, rect: unmodifiedRect, edges: unmodifiedEdges } = arg\n\n    arg.coords = extend({}, arg.pageCoords)\n    arg.rect = extend({}, unmodifiedRect)\n    arg.edges = extend({}, unmodifiedEdges)\n\n    const states = skipModifiers ? this.states.slice(skipModifiers) : this.states\n\n    const newResult = createResult(arg.coords, arg.rect)\n\n    for (const state of states) {\n      const { options } = state\n      const lastModifierCoords = extend({}, arg.coords)\n      let returnValue = null\n\n      if (state.methods?.set && this.shouldDo(options, preEnd, phase)) {\n        arg.state = state\n        returnValue = state.methods.set(arg as ModifierArg<never>)\n\n        rectUtils.addEdges(arg.edges, arg.rect, {\n          x: arg.coords.x - lastModifierCoords.x,\n          y: arg.coords.y - lastModifierCoords.y,\n        })\n      }\n\n      newResult.eventProps.push(returnValue)\n    }\n\n    extend(this.edges, arg.edges)\n\n    newResult.delta.x = arg.coords.x - arg.pageCoords.x\n    newResult.delta.y = arg.coords.y - arg.pageCoords.y\n\n    newResult.rectDelta.left = arg.rect.left - unmodifiedRect.left\n    newResult.rectDelta.right = arg.rect.right - unmodifiedRect.right\n    newResult.rectDelta.top = arg.rect.top - unmodifiedRect.top\n    newResult.rectDelta.bottom = arg.rect.bottom - unmodifiedRect.bottom\n\n    const prevCoords = this.result.coords\n    const prevRect = this.result.rect\n\n    if (prevCoords && prevRect) {\n      const rectChanged =\n        newResult.rect.left !== prevRect.left ||\n        newResult.rect.right !== prevRect.right ||\n        newResult.rect.top !== prevRect.top ||\n        newResult.rect.bottom !== prevRect.bottom\n\n      newResult.changed =\n        rectChanged || prevCoords.x !== newResult.coords.x || prevCoords.y !== newResult.coords.y\n    }\n\n    return newResult\n  }\n\n  applyToInteraction(arg: { phase: EventPhase; rect?: Rect }) {\n    const { interaction } = this\n    const { phase } = arg\n    const curCoords = interaction.coords.cur\n    const startCoords = interaction.coords.start\n    const { result, startDelta } = this\n    const curDelta = result.delta\n\n    if (phase === 'start') {\n      extend(this.startDelta, result.delta)\n    }\n\n    for (const [coordsSet, delta] of [\n      [startCoords, startDelta],\n      [curCoords, curDelta],\n    ] as const) {\n      coordsSet.page.x += delta.x\n      coordsSet.page.y += delta.y\n      coordsSet.client.x += delta.x\n      coordsSet.client.y += delta.y\n    }\n\n    const { rectDelta } = this.result\n    const rect = arg.rect || interaction.rect\n\n    rect.left += rectDelta.left\n    rect.right += rectDelta.right\n    rect.top += rectDelta.top\n    rect.bottom += rectDelta.bottom\n\n    rect.width = rect.right - rect.left\n    rect.height = rect.bottom - rect.top\n  }\n\n  setAndApply(\n    arg: Partial<DoAnyPhaseArg> & {\n      phase: EventPhase\n      preEnd?: boolean\n      skipModifiers?: number\n      modifiedCoords?: Point\n    },\n  ): void | false {\n    const { interaction } = this\n    const { phase, preEnd, skipModifiers } = arg\n\n    const result = this.setAll(\n      this.fillArg({\n        preEnd,\n        phase,\n        pageCoords: arg.modifiedCoords || interaction.coords.cur.page,\n      }),\n    )\n\n    this.result = result\n\n    // don't fire an action move if a modifier would keep the event in the same\n    // cordinates as before\n    if (\n      !result.changed &&\n      (!skipModifiers || skipModifiers < this.states.length) &&\n      interaction.interacting()\n    ) {\n      return false\n    }\n\n    if (arg.modifiedCoords) {\n      const { page } = interaction.coords.cur\n      const adjustment = {\n        x: arg.modifiedCoords.x - page.x,\n        y: arg.modifiedCoords.y - page.y,\n      }\n\n      result.coords.x += adjustment.x\n      result.coords.y += adjustment.y\n      result.delta.x += adjustment.x\n      result.delta.y += adjustment.y\n    }\n\n    this.applyToInteraction(arg)\n  }\n\n  beforeEnd(arg: Omit<DoAnyPhaseArg, 'iEvent'> & { state?: ModifierState }): void | false {\n    const { interaction, event } = arg\n    const states = this.states\n\n    if (!states || !states.length) {\n      return\n    }\n\n    let doPreend = false\n\n    for (const state of states) {\n      arg.state = state\n      const { options, methods } = state\n\n      const endPosition = methods.beforeEnd && methods.beforeEnd(arg as unknown as ModifierArg)\n\n      if (endPosition) {\n        this.endResult = endPosition\n        return false\n      }\n\n      doPreend = doPreend || (!doPreend && this.shouldDo(options, true, arg.phase, true))\n    }\n\n    if (doPreend) {\n      // trigger a final modified move before ending\n      interaction.move({ event, preEnd: true })\n    }\n  }\n\n  stop(arg: { interaction: Interaction }) {\n    const { interaction } = arg\n\n    if (!this.states || !this.states.length) {\n      return\n    }\n\n    const modifierArg: Partial<ModifierArg> = extend(\n      {\n        states: this.states,\n        interactable: interaction.interactable,\n        element: interaction.element,\n        rect: null,\n      },\n      arg,\n    )\n\n    this.fillArg(modifierArg)\n\n    for (const state of this.states) {\n      modifierArg.state = state\n\n      if (state.methods.stop) {\n        state.methods.stop(modifierArg as ModifierArg)\n      }\n    }\n\n    this.states = null\n    this.endResult = null\n  }\n\n  prepareStates(modifierList: Modifier[]) {\n    this.states = []\n\n    for (let index = 0; index < modifierList.length; index++) {\n      const { options, methods, name } = modifierList[index]\n\n      this.states.push({\n        options,\n        methods,\n        index,\n        name,\n      })\n    }\n\n    return this.states\n  }\n\n  restoreInteractionCoords({ interaction: { coords, rect, modification } }: { interaction: Interaction }) {\n    if (!modification.result) return\n\n    const { startDelta } = modification\n    const { delta: curDelta, rectDelta } = modification.result\n\n    const coordsAndDeltas = [\n      [coords.start, startDelta],\n      [coords.cur, curDelta],\n    ]\n\n    for (const [coordsSet, delta] of coordsAndDeltas as any) {\n      coordsSet.page.x -= delta.x\n      coordsSet.page.y -= delta.y\n      coordsSet.client.x -= delta.x\n      coordsSet.client.y -= delta.y\n    }\n\n    rect.left -= rectDelta.left\n    rect.right -= rectDelta.right\n    rect.top -= rectDelta.top\n    rect.bottom -= rectDelta.bottom\n  }\n\n  shouldDo(options, preEnd?: boolean, phase?: string, requireEndOnly?: boolean) {\n    if (\n      // ignore disabled modifiers\n      !options ||\n      options.enabled === false ||\n      // check if we require endOnly option to fire move before end\n      (requireEndOnly && !options.endOnly) ||\n      // don't apply endOnly modifiers when not ending\n      (options.endOnly && !preEnd) ||\n      // check if modifier should run be applied on start\n      (phase === 'start' && !options.setStart)\n    ) {\n      return false\n    }\n\n    return true\n  }\n\n  copyFrom(other: Modification) {\n    this.startOffset = other.startOffset\n    this.startDelta = other.startDelta\n    this.startEdges = other.startEdges\n    this.edges = other.edges\n    this.states = other.states.map((s) => clone(s) as ModifierState)\n    this.result = createResult(extend({}, other.result.coords), extend({}, other.result.rect))\n  }\n\n  destroy() {\n    for (const prop in this) {\n      this[prop] = null\n    }\n  }\n}\n\nfunction createResult(coords?: Point, rect?: FullRect): ModificationResult {\n  return {\n    rect,\n    coords,\n    delta: { x: 0, y: 0 },\n    rectDelta: {\n      left: 0,\n      right: 0,\n      top: 0,\n      bottom: 0,\n    },\n    eventProps: [],\n    changed: true,\n  }\n}\n\nfunction getModifierList(interaction) {\n  const actionOptions = interaction.interactable.options[interaction.prepared.name]\n  const actionModifiers = actionOptions.modifiers\n\n  if (actionModifiers && actionModifiers.length) {\n    return actionModifiers\n  }\n\n  return ['snap', 'snapSize', 'snapEdges', 'restrict', 'restrictEdges', 'restrictSize']\n    .map((type) => {\n      const options = actionOptions[type]\n\n      return (\n        options &&\n        options.enabled && {\n          options,\n          methods: options._methods,\n        }\n      )\n    })\n    .filter((m) => !!m)\n}\n\nexport function getRectOffset(rect, coords) {\n  return rect\n    ? {\n        left: coords.x - rect.left,\n        top: coords.y - rect.top,\n        right: rect.right - coords.x,\n        bottom: rect.bottom - coords.y,\n      }\n    : {\n        left: 0,\n        top: 0,\n        right: 0,\n        bottom: 0,\n      }\n}\n","import type { InteractEvent } from '@interactjs/core/InteractEvent'\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { Plugin } from '@interactjs/core/scope'\n\nimport { Modification } from './Modification'\nimport type { Modifier, ModifierModule, ModifierState } from './types'\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    modification?: Modification\n  }\n}\n\ndeclare module '@interactjs/core/InteractEvent' {\n  interface InteractEvent {\n    modifiers?: Array<{\n      name: string\n      [key: string]: any\n    }>\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface PerActionDefaults {\n    modifiers?: Modifier[]\n  }\n}\n\nexport function makeModifier<\n  Defaults extends { enabled?: boolean },\n  State extends ModifierState,\n  Name extends string,\n  Result,\n>(module: ModifierModule<Defaults, State, Result>, name?: Name) {\n  const { defaults } = module\n  const methods = {\n    start: module.start,\n    set: module.set,\n    beforeEnd: module.beforeEnd,\n    stop: module.stop,\n  }\n\n  const modifier = (_options?: Partial<Defaults>) => {\n    const options = (_options || {}) as Defaults\n\n    options.enabled = options.enabled !== false\n\n    // add missing defaults to options\n    for (const prop in defaults) {\n      if (!(prop in options)) {\n        ;(options as any)[prop] = defaults[prop]\n      }\n    }\n\n    const m: Modifier<Defaults, State, Name, Result> = {\n      options,\n      methods,\n      name,\n      enable: () => {\n        options.enabled = true\n        return m\n      },\n      disable: () => {\n        options.enabled = false\n        return m\n      },\n    }\n\n    return m\n  }\n\n  if (name && typeof name === 'string') {\n    // for backwrads compatibility\n    modifier._defaults = defaults\n    modifier._methods = methods\n  }\n\n  return modifier\n}\n\nexport function addEventModifiers({\n  iEvent,\n  interaction,\n}: {\n  iEvent: InteractEvent<any>\n  interaction: Interaction<any>\n}) {\n  const result = interaction.modification!.result\n\n  if (result) {\n    iEvent.modifiers = result.eventProps\n  }\n}\n\nconst modifiersBase: Plugin = {\n  id: 'modifiers/base',\n  before: ['actions'],\n  install: (scope) => {\n    scope.defaults.perAction.modifiers = []\n  },\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.modification = new Modification(interaction)\n    },\n\n    'interactions:before-action-start': (arg) => {\n      const { interaction } = arg\n      const modification = arg.interaction.modification!\n\n      modification.start(arg, interaction.coords.start.page)\n      interaction.edges = modification.edges\n      modification.applyToInteraction(arg)\n    },\n\n    'interactions:before-action-move': (arg) => {\n      const { interaction } = arg\n      const { modification } = interaction\n      const ret = modification.setAndApply(arg)\n      interaction.edges = modification.edges\n\n      return ret\n    },\n\n    'interactions:before-action-end': (arg) => {\n      const { interaction } = arg\n      const { modification } = interaction\n      const ret = modification.beforeEnd(arg)\n      interaction.edges = modification.startEdges\n\n      return ret\n    },\n\n    'interactions:action-start': addEventModifiers,\n    'interactions:action-move': addEventModifiers,\n    'interactions:action-end': addEventModifiers,\n\n    'interactions:after-action-start': (arg) => arg.interaction.modification.restoreInteractionCoords(arg),\n    'interactions:after-action-move': (arg) => arg.interaction.modification.restoreInteractionCoords(arg),\n\n    'interactions:stop': (arg) => arg.interaction.modification.stop(arg),\n  },\n}\n\nexport default modifiersBase\n","import type { Point, Listeners, OrBoolean, Element, Rect } from '@interactjs/core/types'\n\nexport interface Defaults {\n  base: BaseDefaults\n  perAction: PerActionDefaults\n  actions: ActionDefaults\n}\n\n// eslint-disable-next-line @typescript-eslint/no-empty-interface\nexport interface ActionDefaults {}\n\nexport interface BaseDefaults {\n  preventDefault?: 'always' | 'never' | 'auto'\n  deltaSource?: 'page' | 'client'\n  context?: Node\n  getRect?: (element: Element) => Rect\n}\n\nexport interface PerActionDefaults {\n  enabled?: boolean\n  origin?: Point | string | Element\n  listeners?: Listeners\n  allowFrom?: string | Element\n  ignoreFrom?: string | Element\n}\n\nexport type Options = Partial<BaseDefaults> &\n  Partial<PerActionDefaults> & {\n    [P in keyof ActionDefaults]?: Partial<ActionDefaults[P]>\n  }\n\nexport interface OptionsArg extends BaseDefaults, OrBoolean<Partial<ActionDefaults>> {}\n\nexport const defaults: Defaults = {\n  base: {\n    preventDefault: 'auto',\n    deltaSource: 'page',\n  },\n\n  perAction: {\n    enabled: false,\n    origin: { x: 0, y: 0 },\n  },\n\n  actions: {} as ActionDefaults,\n}\n","import extend from '@interactjs/utils/extend'\nimport getOriginXY from '@interactjs/utils/getOriginXY'\nimport hypot from '@interactjs/utils/hypot'\n\nimport type { Point, FullRect, PointerEventType, Element, ActionName } from '@interactjs/core/types'\n\nimport { BaseEvent } from './BaseEvent'\nimport type { Interaction } from './Interaction'\nimport { defaults } from './options'\n\nexport type EventPhase = keyof PhaseMap\n\nexport interface PhaseMap {\n  start: true\n  move: true\n  end: true\n}\n\n// defined outside of class definition to avoid assignment of undefined during\n// construction\nexport interface InteractEvent {\n  pageX: number\n  pageY: number\n\n  clientX: number\n  clientY: number\n\n  dx: number\n  dy: number\n\n  velocityX: number\n  velocityY: number\n}\n\nexport class InteractEvent<\n  T extends ActionName = never,\n  P extends EventPhase = EventPhase,\n> extends BaseEvent<T> {\n  declare target: Element\n  declare currentTarget: Element\n  relatedTarget: Element | null = null\n  screenX?: number\n  screenY?: number\n  button: number\n  buttons: number\n  ctrlKey: boolean\n  shiftKey: boolean\n  altKey: boolean\n  metaKey: boolean\n  page: Point\n  client: Point\n  delta: Point\n  rect: FullRect\n  x0: number\n  y0: number\n  t0: number\n  dt: number\n  duration: number\n  clientX0: number\n  clientY0: number\n  velocity: Point\n  speed: number\n  swipe: ReturnType<InteractEvent<T>['getSwipe']>\n  // resize\n  axes?: 'x' | 'y' | 'xy'\n  /** @internal */\n  preEnd?: boolean\n\n  constructor(\n    interaction: Interaction<T>,\n    event: PointerEventType,\n    actionName: T,\n    phase: P,\n    element: Element,\n    preEnd?: boolean,\n    type?: string,\n  ) {\n    super(interaction)\n\n    element = element || interaction.element\n\n    const target = interaction.interactable\n    const deltaSource = (((target && target.options) || defaults) as any).deltaSource as 'page' | 'client'\n    const origin = getOriginXY(target, element, actionName)\n    const starting = phase === 'start'\n    const ending = phase === 'end'\n    const prevEvent = starting ? this : interaction.prevEvent\n    const coords = starting\n      ? interaction.coords.start\n      : ending\n        ? { page: prevEvent.page, client: prevEvent.client, timeStamp: interaction.coords.cur.timeStamp }\n        : interaction.coords.cur\n\n    this.page = extend({}, coords.page)\n    this.client = extend({}, coords.client)\n    this.rect = extend({}, interaction.rect)\n    this.timeStamp = coords.timeStamp\n\n    if (!ending) {\n      this.page.x -= origin.x\n      this.page.y -= origin.y\n\n      this.client.x -= origin.x\n      this.client.y -= origin.y\n    }\n\n    this.ctrlKey = event.ctrlKey\n    this.altKey = event.altKey\n    this.shiftKey = event.shiftKey\n    this.metaKey = event.metaKey\n    this.button = (event as MouseEvent).button\n    this.buttons = (event as MouseEvent).buttons\n    this.target = element\n    this.currentTarget = element\n    this.preEnd = preEnd\n    this.type = type || actionName + (phase || '')\n    this.interactable = target\n\n    this.t0 = starting ? interaction.pointers[interaction.pointers.length - 1].downTime : prevEvent.t0\n\n    this.x0 = interaction.coords.start.page.x - origin.x\n    this.y0 = interaction.coords.start.page.y - origin.y\n    this.clientX0 = interaction.coords.start.client.x - origin.x\n    this.clientY0 = interaction.coords.start.client.y - origin.y\n\n    if (starting || ending) {\n      this.delta = { x: 0, y: 0 }\n    } else {\n      this.delta = {\n        x: this[deltaSource].x - prevEvent[deltaSource].x,\n        y: this[deltaSource].y - prevEvent[deltaSource].y,\n      }\n    }\n\n    this.dt = interaction.coords.delta.timeStamp\n    this.duration = this.timeStamp - this.t0\n\n    // velocity and speed in pixels per second\n    this.velocity = extend({}, interaction.coords.velocity[deltaSource])\n    this.speed = hypot(this.velocity.x, this.velocity.y)\n\n    this.swipe = ending || phase === 'inertiastart' ? this.getSwipe() : null\n  }\n\n  getSwipe() {\n    const interaction = this._interaction\n\n    if (interaction.prevEvent.speed < 600 || this.timeStamp - interaction.prevEvent.timeStamp > 150) {\n      return null\n    }\n\n    let angle = (180 * Math.atan2(interaction.prevEvent.velocityY, interaction.prevEvent.velocityX)) / Math.PI\n    const overlap = 22.5\n\n    if (angle < 0) {\n      angle += 360\n    }\n\n    const left = 135 - overlap <= angle && angle < 225 + overlap\n    const up = 225 - overlap <= angle && angle < 315 + overlap\n\n    const right = !left && (315 - overlap <= angle || angle < 45 + overlap)\n    const down = !up && 45 - overlap <= angle && angle < 135 + overlap\n\n    return {\n      up,\n      down,\n      left,\n      right,\n      angle,\n      speed: interaction.prevEvent.speed,\n      velocity: {\n        x: interaction.prevEvent.velocityX,\n        y: interaction.prevEvent.velocityY,\n      },\n    }\n  }\n\n  preventDefault() {}\n\n  /**\n   * Don't call listeners on the remaining targets\n   */\n  stopImmediatePropagation() {\n    this.immediatePropagationStopped = this.propagationStopped = true\n  }\n\n  /**\n   * Don't call any other listeners (even on the current target)\n   */\n  stopPropagation() {\n    this.propagationStopped = true\n  }\n}\n\n// getters and setters defined here to support typescript 3.6 and below which\n// don't support getter and setters in .d.ts files\nObject.defineProperties(InteractEvent.prototype, {\n  pageX: {\n    get() {\n      return this.page.x\n    },\n    set(value) {\n      this.page.x = value\n    },\n  },\n  pageY: {\n    get() {\n      return this.page.y\n    },\n    set(value) {\n      this.page.y = value\n    },\n  },\n\n  clientX: {\n    get() {\n      return this.client.x\n    },\n    set(value) {\n      this.client.x = value\n    },\n  },\n  clientY: {\n    get() {\n      return this.client.y\n    },\n    set(value) {\n      this.client.y = value\n    },\n  },\n\n  dx: {\n    get() {\n      return this.delta.x\n    },\n    set(value) {\n      this.delta.x = value\n    },\n  },\n  dy: {\n    get() {\n      return this.delta.y\n    },\n    set(value) {\n      this.delta.y = value\n    },\n  },\n\n  velocityX: {\n    get() {\n      return this.velocity.x\n    },\n    set(value) {\n      this.velocity.x = value\n    },\n  },\n  velocityY: {\n    get() {\n      return this.velocity.y\n    },\n    set(value) {\n      this.velocity.y = value\n    },\n  },\n})\n","import type { PointerEventType, PointerType } from '@interactjs/core/types'\n\nexport class PointerInfo {\n  id: number\n  pointer: PointerType\n  event: PointerEventType\n  downTime: number\n  downTarget: Node\n\n  constructor(id: number, pointer: PointerType, event: PointerEventType, downTime: number, downTarget: Node) {\n    this.id = id\n    this.pointer = pointer\n    this.event = event\n    this.downTime = downTime\n    this.downTarget = downTarget\n  }\n}\n","import * as arr from '@interactjs/utils/arr'\nimport extend from '@interactjs/utils/extend'\nimport hypot from '@interactjs/utils/hypot'\nimport { warnOnce, copyAction } from '@interactjs/utils/misc'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\nimport * as rectUtils from '@interactjs/utils/rect'\n\nimport type {\n  Element,\n  EdgeOptions,\n  PointerEventType,\n  PointerType,\n  FullRect,\n  CoordsSet,\n  ActionName,\n  ActionProps,\n} from '@interactjs/core/types'\n\nimport type { Interactable } from './Interactable'\nimport type { EventPhase } from './InteractEvent'\nimport { InteractEvent } from './InteractEvent'\nimport type { ActionDefaults } from './options'\nimport { PointerInfo } from './PointerInfo'\nimport type { Scope } from './scope'\n\nexport enum _ProxyValues {\n  interactable = '',\n  element = '',\n  prepared = '',\n  pointerIsDown = '',\n  pointerWasMoved = '',\n  _proxy = '',\n}\n\nexport enum _ProxyMethods {\n  start = '',\n  move = '',\n  end = '',\n  stop = '',\n  interacting = '',\n}\n\nexport type PointerArgProps<T extends {} = {}> = {\n  pointer: PointerType\n  event: PointerEventType\n  eventTarget: Node\n  pointerIndex: number\n  pointerInfo: PointerInfo\n  interaction: Interaction<never>\n} & T\n\nexport interface DoPhaseArg<T extends ActionName, P extends EventPhase> {\n  event: PointerEventType\n  phase: EventPhase\n  interaction: Interaction<T>\n  iEvent: InteractEvent<T, P>\n  preEnd?: boolean\n  type?: string\n}\n\nexport type DoAnyPhaseArg = DoPhaseArg<ActionName, EventPhase>\n\ndeclare module '@interactjs/core/scope' {\n  interface SignalArgs {\n    'interactions:new': { interaction: Interaction<ActionName> }\n    'interactions:down': PointerArgProps<{\n      type: 'down'\n    }>\n    'interactions:move': PointerArgProps<{\n      type: 'move'\n      dx: number\n      dy: number\n      duplicate: boolean\n    }>\n    'interactions:up': PointerArgProps<{\n      type: 'up'\n      curEventTarget: EventTarget\n    }>\n    'interactions:cancel': SignalArgs['interactions:up'] & {\n      type: 'cancel'\n      curEventTarget: EventTarget\n    }\n    'interactions:update-pointer': PointerArgProps<{\n      down: boolean\n    }>\n    'interactions:remove-pointer': PointerArgProps\n    'interactions:blur': { interaction: Interaction<never>; event: Event; type: 'blur' }\n    'interactions:before-action-start': Omit<DoAnyPhaseArg, 'iEvent'>\n    'interactions:action-start': DoAnyPhaseArg\n    'interactions:after-action-start': DoAnyPhaseArg\n    'interactions:before-action-move': Omit<DoAnyPhaseArg, 'iEvent'>\n    'interactions:action-move': DoAnyPhaseArg\n    'interactions:after-action-move': DoAnyPhaseArg\n    'interactions:before-action-end': Omit<DoAnyPhaseArg, 'iEvent'>\n    'interactions:action-end': DoAnyPhaseArg\n    'interactions:after-action-end': DoAnyPhaseArg\n    'interactions:stop': { interaction: Interaction }\n  }\n}\n\nexport type InteractionProxy<T extends ActionName | null = never> = Pick<\n  Interaction<T>,\n  Exclude<keyof typeof _ProxyValues | keyof typeof _ProxyMethods, '_proxy'>\n>\n\nlet idCounter = 0\n\nexport class Interaction<T extends ActionName | null = ActionName> {\n  /** current interactable being interacted with */\n  interactable: Interactable | null = null\n\n  /** the target element of the interactable */\n  element: Element | null = null\n  rect: FullRect | null = null\n  /** @internal */\n  _rects?: {\n    start: FullRect\n    corrected: FullRect\n    previous: FullRect\n    delta: FullRect\n  }\n  /** @internal */\n  edges: EdgeOptions | null = null\n\n  /** @internal */\n  _scopeFire: Scope['fire']\n\n  // action that's ready to be fired on next move event\n  prepared: ActionProps<T> = {\n    name: null,\n    axis: null,\n    edges: null,\n  }\n\n  pointerType: string\n\n  /** @internal keep track of added pointers */\n  pointers: PointerInfo[] = []\n\n  /** @internal pointerdown/mousedown/touchstart event */\n  downEvent: PointerEventType | null = null\n\n  /** @internal */ downPointer: PointerType = {} as PointerType\n\n  /** @internal */\n  _latestPointer: {\n    pointer: PointerType\n    event: PointerEventType\n    eventTarget: Node\n  } = {\n    pointer: null,\n    event: null,\n    eventTarget: null,\n  }\n\n  /** @internal */ prevEvent: InteractEvent<T, EventPhase> = null\n\n  pointerIsDown = false\n  pointerWasMoved = false\n  /** @internal */ _interacting = false\n  /** @internal */ _ending = false\n  /** @internal */ _stopped = true\n  /** @internal */ _proxy: InteractionProxy<T>\n\n  /** @internal */ simulation = null\n\n  /** @internal */ get pointerMoveTolerance() {\n    return 1\n  }\n\n  doMove = warnOnce(function (this: Interaction, signalArg: any) {\n    this.move(signalArg)\n  }, 'The interaction.doMove() method has been renamed to interaction.move()')\n\n  coords: CoordsSet = {\n    // Starting InteractEvent pointer coordinates\n    start: pointerUtils.newCoords(),\n    // Previous native pointer move event coordinates\n    prev: pointerUtils.newCoords(),\n    // current native pointer move event coordinates\n    cur: pointerUtils.newCoords(),\n    // Change in coordinates and time of the pointer\n    delta: pointerUtils.newCoords(),\n    // pointer velocity\n    velocity: pointerUtils.newCoords(),\n  }\n\n  /** @internal */ readonly _id: number = idCounter++\n\n  constructor({ pointerType, scopeFire }: { pointerType?: string; scopeFire: Scope['fire'] }) {\n    this._scopeFire = scopeFire\n    this.pointerType = pointerType\n\n    const that = this\n\n    this._proxy = {} as InteractionProxy<T>\n\n    for (const key in _ProxyValues) {\n      Object.defineProperty(this._proxy, key, {\n        get() {\n          return that[key]\n        },\n      })\n    }\n\n    for (const key in _ProxyMethods) {\n      Object.defineProperty(this._proxy, key, {\n        value: (...args: any[]) => that[key](...args),\n      })\n    }\n\n    this._scopeFire('interactions:new', { interaction: this })\n  }\n\n  pointerDown(pointer: PointerType, event: PointerEventType, eventTarget: Node) {\n    const pointerIndex = this.updatePointer(pointer, event, eventTarget, true)\n    const pointerInfo = this.pointers[pointerIndex]\n\n    this._scopeFire('interactions:down', {\n      pointer,\n      event,\n      eventTarget,\n      pointerIndex,\n      pointerInfo,\n      type: 'down',\n      interaction: this as unknown as Interaction<never>,\n    })\n  }\n\n  /**\n   * ```js\n   * interact(target)\n   *   .draggable({\n   *     // disable the default drag start by down->move\n   *     manualStart: true\n   *   })\n   *   // start dragging after the user holds the pointer down\n   *   .on('hold', function (event) {\n   *     var interaction = event.interaction\n   *\n   *     if (!interaction.interacting()) {\n   *       interaction.start({ name: 'drag' },\n   *                         event.interactable,\n   *                         event.currentTarget)\n   *     }\n   * })\n   * ```\n   *\n   * Start an action with the given Interactable and Element as tartgets. The\n   * action must be enabled for the target Interactable and an appropriate\n   * number of pointers must be held down - 1 for drag/resize, 2 for gesture.\n   *\n   * Use it with `interactable.<action>able({ manualStart: false })` to always\n   * [start actions manually](https://github.com/taye/interact.js/issues/114)\n   *\n   * @param action - The action to be performed - drag, resize, etc.\n   * @param target - The Interactable to target\n   * @param element - The DOM Element to target\n   * @returns Whether the interaction was successfully started\n   */\n  start<A extends ActionName>(action: ActionProps<A>, interactable: Interactable, element: Element): boolean {\n    if (\n      this.interacting() ||\n      !this.pointerIsDown ||\n      this.pointers.length < (action.name === 'gesture' ? 2 : 1) ||\n      !interactable.options[action.name as keyof ActionDefaults].enabled\n    ) {\n      return false\n    }\n\n    copyAction(this.prepared, action)\n\n    this.interactable = interactable\n    this.element = element\n    this.rect = interactable.getRect(element)\n    this.edges = this.prepared.edges\n      ? extend({}, this.prepared.edges)\n      : { left: true, right: true, top: true, bottom: true }\n    this._stopped = false\n    this._interacting =\n      this._doPhase({\n        interaction: this,\n        event: this.downEvent,\n        phase: 'start',\n      }) && !this._stopped\n\n    return this._interacting\n  }\n\n  pointerMove(pointer: PointerType, event: PointerEventType, eventTarget: Node) {\n    if (!this.simulation && !(this.modification && this.modification.endResult)) {\n      this.updatePointer(pointer, event, eventTarget, false)\n    }\n\n    const duplicateMove =\n      this.coords.cur.page.x === this.coords.prev.page.x &&\n      this.coords.cur.page.y === this.coords.prev.page.y &&\n      this.coords.cur.client.x === this.coords.prev.client.x &&\n      this.coords.cur.client.y === this.coords.prev.client.y\n\n    let dx: number\n    let dy: number\n\n    // register movement greater than pointerMoveTolerance\n    if (this.pointerIsDown && !this.pointerWasMoved) {\n      dx = this.coords.cur.client.x - this.coords.start.client.x\n      dy = this.coords.cur.client.y - this.coords.start.client.y\n\n      this.pointerWasMoved = hypot(dx, dy) > this.pointerMoveTolerance\n    }\n\n    const pointerIndex = this.getPointerIndex(pointer)\n    const signalArg = {\n      pointer,\n      pointerIndex,\n      pointerInfo: this.pointers[pointerIndex],\n      event,\n      type: 'move' as const,\n      eventTarget,\n      dx,\n      dy,\n      duplicate: duplicateMove,\n      interaction: this as unknown as Interaction<never>,\n    }\n\n    if (!duplicateMove) {\n      // set pointer coordinate, time changes and velocity\n      pointerUtils.setCoordVelocity(this.coords.velocity, this.coords.delta)\n    }\n\n    this._scopeFire('interactions:move', signalArg)\n\n    if (!duplicateMove && !this.simulation) {\n      // if interacting, fire an 'action-move' signal etc\n      if (this.interacting()) {\n        signalArg.type = null\n        this.move(signalArg)\n      }\n\n      if (this.pointerWasMoved) {\n        pointerUtils.copyCoords(this.coords.prev, this.coords.cur)\n      }\n    }\n  }\n\n  /**\n   * ```js\n   * interact(target)\n   *   .draggable(true)\n   *   .on('dragmove', function (event) {\n   *     if (someCondition) {\n   *       // change the snap settings\n   *       event.interactable.draggable({ snap: { targets: [] }})\n   *       // fire another move event with re-calculated snap\n   *       event.interaction.move()\n   *     }\n   *   })\n   * ```\n   *\n   * Force a move of the current action at the same coordinates. Useful if\n   * snap/restrict has been changed and you want a movement with the new\n   * settings.\n   */\n  move(signalArg?: any) {\n    if (!signalArg || !signalArg.event) {\n      pointerUtils.setZeroCoords(this.coords.delta)\n    }\n\n    signalArg = extend(\n      {\n        pointer: this._latestPointer.pointer,\n        event: this._latestPointer.event,\n        eventTarget: this._latestPointer.eventTarget,\n        interaction: this,\n      },\n      signalArg || {},\n    )\n\n    signalArg.phase = 'move'\n\n    this._doPhase(signalArg)\n  }\n\n  /**\n   * @internal\n   * End interact move events and stop auto-scroll unless simulation is running\n   */\n  pointerUp(pointer: PointerType, event: PointerEventType, eventTarget: Node, curEventTarget: EventTarget) {\n    let pointerIndex = this.getPointerIndex(pointer)\n\n    if (pointerIndex === -1) {\n      pointerIndex = this.updatePointer(pointer, event, eventTarget, false)\n    }\n\n    const type = /cancel$/i.test(event.type) ? 'cancel' : 'up'\n\n    this._scopeFire(`interactions:${type}` as 'interactions:up' | 'interactions:cancel', {\n      pointer,\n      pointerIndex,\n      pointerInfo: this.pointers[pointerIndex],\n      event,\n      eventTarget,\n      type: type as any,\n      curEventTarget,\n      interaction: this as unknown as Interaction<never>,\n    })\n\n    if (!this.simulation) {\n      this.end(event)\n    }\n\n    this.removePointer(pointer, event)\n  }\n\n  /** @internal */\n  documentBlur(event: Event) {\n    this.end(event as any)\n    this._scopeFire('interactions:blur', {\n      event,\n      type: 'blur',\n      interaction: this as unknown as Interaction<never>,\n    })\n  }\n\n  /**\n   * ```js\n   * interact(target)\n   *   .draggable(true)\n   *   .on('move', function (event) {\n   *     if (event.pageX > 1000) {\n   *       // end the current action\n   *       event.interaction.end()\n   *       // stop all further listeners from being called\n   *       event.stopImmediatePropagation()\n   *     }\n   *   })\n   * ```\n   */\n  end(event?: PointerEventType) {\n    this._ending = true\n    event = event || this._latestPointer.event\n    let endPhaseResult: boolean\n\n    if (this.interacting()) {\n      endPhaseResult = this._doPhase({\n        event,\n        interaction: this,\n        phase: 'end',\n      })\n    }\n\n    this._ending = false\n\n    if (endPhaseResult === true) {\n      this.stop()\n    }\n  }\n\n  currentAction() {\n    return this._interacting ? this.prepared.name : null\n  }\n\n  interacting() {\n    return this._interacting\n  }\n\n  stop() {\n    this._scopeFire('interactions:stop', { interaction: this })\n\n    this.interactable = this.element = null\n\n    this._interacting = false\n    this._stopped = true\n    this.prepared.name = this.prevEvent = null\n  }\n\n  /** @internal */\n  getPointerIndex(pointer: any) {\n    const pointerId = pointerUtils.getPointerId(pointer)\n\n    // mouse and pen interactions may have only one pointer\n    return this.pointerType === 'mouse' || this.pointerType === 'pen'\n      ? this.pointers.length - 1\n      : arr.findIndex(this.pointers, (curPointer) => curPointer.id === pointerId)\n  }\n\n  /** @internal */\n  getPointerInfo(pointer: any) {\n    return this.pointers[this.getPointerIndex(pointer)]\n  }\n\n  /** @internal */\n  updatePointer(pointer: PointerType, event: PointerEventType, eventTarget: Node, down?: boolean) {\n    const id = pointerUtils.getPointerId(pointer)\n    let pointerIndex = this.getPointerIndex(pointer)\n    let pointerInfo = this.pointers[pointerIndex]\n\n    down = down === false ? false : down || /(down|start)$/i.test(event.type)\n\n    if (!pointerInfo) {\n      pointerInfo = new PointerInfo(id, pointer, event, null, null)\n\n      pointerIndex = this.pointers.length\n      this.pointers.push(pointerInfo)\n    } else {\n      pointerInfo.pointer = pointer\n    }\n\n    pointerUtils.setCoords(\n      this.coords.cur,\n      this.pointers.map((p) => p.pointer),\n      this._now(),\n    )\n    pointerUtils.setCoordDeltas(this.coords.delta, this.coords.prev, this.coords.cur)\n\n    if (down) {\n      this.pointerIsDown = true\n\n      pointerInfo.downTime = this.coords.cur.timeStamp\n      pointerInfo.downTarget = eventTarget\n      pointerUtils.pointerExtend(this.downPointer, pointer)\n\n      if (!this.interacting()) {\n        pointerUtils.copyCoords(this.coords.start, this.coords.cur)\n        pointerUtils.copyCoords(this.coords.prev, this.coords.cur)\n\n        this.downEvent = event\n        this.pointerWasMoved = false\n      }\n    }\n\n    this._updateLatestPointer(pointer, event, eventTarget)\n\n    this._scopeFire('interactions:update-pointer', {\n      pointer,\n      event,\n      eventTarget,\n      down,\n      pointerInfo,\n      pointerIndex,\n      interaction: this as unknown as Interaction<never>,\n    })\n\n    return pointerIndex\n  }\n\n  /** @internal */\n  removePointer(pointer: PointerType, event: PointerEventType) {\n    const pointerIndex = this.getPointerIndex(pointer)\n\n    if (pointerIndex === -1) return\n\n    const pointerInfo = this.pointers[pointerIndex]\n\n    this._scopeFire('interactions:remove-pointer', {\n      pointer,\n      event,\n      eventTarget: null,\n      pointerIndex,\n      pointerInfo,\n      interaction: this as unknown as Interaction<never>,\n    })\n\n    this.pointers.splice(pointerIndex, 1)\n    this.pointerIsDown = false\n  }\n\n  /** @internal */\n  _updateLatestPointer(pointer: PointerType, event: PointerEventType, eventTarget: Node) {\n    this._latestPointer.pointer = pointer\n    this._latestPointer.event = event\n    this._latestPointer.eventTarget = eventTarget\n  }\n\n  destroy() {\n    this._latestPointer.pointer = null\n    this._latestPointer.event = null\n    this._latestPointer.eventTarget = null\n  }\n\n  /** @internal */\n  _createPreparedEvent<P extends EventPhase>(\n    event: PointerEventType,\n    phase: P,\n    preEnd?: boolean,\n    type?: string,\n  ) {\n    return new InteractEvent<T, P>(this, event, this.prepared.name, phase, this.element, preEnd, type)\n  }\n\n  /** @internal */\n  _fireEvent<P extends EventPhase>(iEvent: InteractEvent<T, P>) {\n    this.interactable?.fire(iEvent)\n\n    if (!this.prevEvent || iEvent.timeStamp >= this.prevEvent.timeStamp) {\n      this.prevEvent = iEvent\n    }\n  }\n\n  /** @internal */\n  _doPhase<P extends EventPhase>(\n    signalArg: Omit<DoPhaseArg<T, P>, 'iEvent'> & { iEvent?: InteractEvent<T, P> },\n  ) {\n    const { event, phase, preEnd, type } = signalArg\n    const { rect } = this\n\n    if (rect && phase === 'move') {\n      // update the rect changes due to pointer move\n      rectUtils.addEdges(this.edges, rect, this.coords.delta[this.interactable.options.deltaSource])\n\n      rect.width = rect.right - rect.left\n      rect.height = rect.bottom - rect.top\n    }\n\n    const beforeResult = this._scopeFire(`interactions:before-action-${phase}` as any, signalArg)\n\n    if (beforeResult === false) {\n      return false\n    }\n\n    const iEvent = (signalArg.iEvent = this._createPreparedEvent(event, phase, preEnd, type))\n\n    this._scopeFire(`interactions:action-${phase}` as any, signalArg)\n\n    if (phase === 'start') {\n      this.prevEvent = iEvent\n    }\n\n    this._fireEvent(iEvent)\n\n    this._scopeFire(`interactions:after-action-${phase}` as any, signalArg)\n\n    return true\n  }\n\n  /** @internal */\n  _now() {\n    return Date.now()\n  }\n}\n\nexport default Interaction\nexport { PointerInfo }\n","import type Interaction from '@interactjs/core/Interaction'\nimport { _ProxyMethods } from '@interactjs/core/Interaction'\nimport type { Plugin } from '@interactjs/core/scope'\nimport type { Point } from '@interactjs/core/types'\nimport * as rectUtils from '@interactjs/utils/rect'\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    offsetBy?: typeof offsetBy\n    offset: {\n      total: Point\n      pending: Point\n    }\n  }\n\n  enum _ProxyMethods {\n    offsetBy = '',\n  }\n}\n\n;(_ProxyMethods as any).offsetBy = ''\n\nexport function addTotal(interaction: Interaction) {\n  if (!interaction.pointerIsDown) {\n    return\n  }\n\n  addToCoords(interaction.coords.cur, interaction.offset.total)\n\n  interaction.offset.pending.x = 0\n  interaction.offset.pending.y = 0\n}\n\nfunction beforeAction({ interaction }: { interaction: Interaction }) {\n  applyPending(interaction)\n}\n\nfunction beforeEnd({ interaction }: { interaction: Interaction }): boolean | void {\n  const hadPending = applyPending(interaction)\n\n  if (!hadPending) return\n\n  interaction.move({ offset: true })\n  interaction.end()\n\n  return false\n}\n\nfunction end({ interaction }: { interaction: Interaction }) {\n  interaction.offset.total.x = 0\n  interaction.offset.total.y = 0\n  interaction.offset.pending.x = 0\n  interaction.offset.pending.y = 0\n}\n\nexport function applyPending(interaction: Interaction) {\n  if (!hasPending(interaction)) {\n    return false\n  }\n\n  const { pending } = interaction.offset\n\n  addToCoords(interaction.coords.cur, pending)\n  addToCoords(interaction.coords.delta, pending)\n  rectUtils.addEdges(interaction.edges, interaction.rect, pending)\n\n  pending.x = 0\n  pending.y = 0\n\n  return true\n}\n\nfunction offsetBy(this: Interaction, { x, y }: Point) {\n  this.offset.pending.x += x\n  this.offset.pending.y += y\n\n  this.offset.total.x += x\n  this.offset.total.y += y\n}\n\nfunction addToCoords({ page, client }, { x, y }: Point) {\n  page.x += x\n  page.y += y\n  client.x += x\n  client.y += y\n}\n\nfunction hasPending(interaction: Interaction) {\n  return !!(interaction.offset.pending.x || interaction.offset.pending.y)\n}\n\nconst offset: Plugin = {\n  id: 'offset',\n  before: ['modifiers', 'pointer-events', 'actions', 'inertia'],\n  install(scope) {\n    scope.Interaction.prototype.offsetBy = offsetBy\n  },\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.offset = {\n        total: { x: 0, y: 0 },\n        pending: { x: 0, y: 0 },\n      }\n    },\n    'interactions:update-pointer': ({ interaction }) => addTotal(interaction),\n    'interactions:before-action-start': beforeAction,\n    'interactions:before-action-move': beforeAction,\n    'interactions:before-action-end': beforeEnd,\n    'interactions:stop': end,\n  },\n}\n\nexport default offset\n","import type { Interaction, DoPhaseArg } from '@interactjs/core/Interaction'\nimport type { Scope, SignalArgs, Plugin } from '@interactjs/core/scope'\nimport type { ActionName, Point, PointerEventType } from '@interactjs/core/types'\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport '@interactjs/modifiers/base'\nimport '@interactjs/offset/plugin'\nimport * as modifiers from '@interactjs/modifiers/base'\nimport { Modification } from '@interactjs/modifiers/Modification'\nimport type { ModifierArg } from '@interactjs/modifiers/types'\nimport offset from '@interactjs/offset/plugin'\n/* eslint-enable import/no-duplicates */\nimport * as dom from '@interactjs/utils/domUtils'\nimport hypot from '@interactjs/utils/hypot'\nimport is from '@interactjs/utils/is'\nimport { copyCoords } from '@interactjs/utils/pointerUtils'\nimport raf from '@interactjs/utils/raf'\n\ndeclare module '@interactjs/core/InteractEvent' {\n  interface PhaseMap {\n    resume?: true\n    inertiastart?: true\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    inertia?: InertiaState\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface PerActionDefaults {\n    inertia?: {\n      enabled?: boolean\n      resistance?: number // the lambda in exponential decay\n      minSpeed?: number // target speed must be above this for inertia to start\n      endSpeed?: number // the speed at which inertia is slow enough to stop\n      allowResume?: true // allow resuming an action in inertia phase\n      smoothEndDuration?: number // animate to snap/restrict endOnly if there's no inertia\n    }\n  }\n}\n\ndeclare module '@interactjs/core/scope' {\n  interface SignalArgs {\n    'interactions:before-action-inertiastart': Omit<DoPhaseArg<ActionName, 'inertiastart'>, 'iEvent'>\n    'interactions:action-inertiastart': DoPhaseArg<ActionName, 'inertiastart'>\n    'interactions:after-action-inertiastart': DoPhaseArg<ActionName, 'inertiastart'>\n    'interactions:before-action-resume': Omit<DoPhaseArg<ActionName, 'resume'>, 'iEvent'>\n    'interactions:action-resume': DoPhaseArg<ActionName, 'resume'>\n    'interactions:after-action-resume': DoPhaseArg<ActionName, 'resume'>\n  }\n}\n\nfunction install(scope: Scope) {\n  const { defaults } = scope\n\n  scope.usePlugin(offset)\n  scope.usePlugin(modifiers.default)\n  scope.actions.phases.inertiastart = true\n  scope.actions.phases.resume = true\n\n  defaults.perAction.inertia = {\n    enabled: false,\n    resistance: 10, // the lambda in exponential decay\n    minSpeed: 100, // target speed must be above this for inertia to start\n    endSpeed: 10, // the speed at which inertia is slow enough to stop\n    allowResume: true, // allow resuming an action in inertia phase\n    smoothEndDuration: 300, // animate to snap/restrict endOnly if there's no inertia\n  }\n}\n\nexport class InertiaState {\n  active = false\n  isModified = false\n  smoothEnd = false\n  allowResume = false\n\n  modification!: Modification\n  modifierCount = 0\n  modifierArg!: ModifierArg\n\n  startCoords!: Point\n  t0 = 0\n  v0 = 0\n\n  te = 0\n  targetOffset!: Point\n  modifiedOffset!: Point\n  currentOffset!: Point\n\n  lambda_v0? = 0 // eslint-disable-line camelcase\n  one_ve_v0? = 0 // eslint-disable-line camelcase\n  timeout!: number\n  readonly interaction: Interaction\n\n  constructor(interaction: Interaction) {\n    this.interaction = interaction\n  }\n\n  start(event: PointerEventType) {\n    const { interaction } = this\n    const options = getOptions(interaction)\n\n    if (!options || !options.enabled) {\n      return false\n    }\n\n    const { client: velocityClient } = interaction.coords.velocity\n    const pointerSpeed = hypot(velocityClient.x, velocityClient.y)\n    const modification = this.modification || (this.modification = new Modification(interaction))\n\n    modification.copyFrom(interaction.modification)\n\n    this.t0 = interaction._now()\n    this.allowResume = options.allowResume\n    this.v0 = pointerSpeed\n    this.currentOffset = { x: 0, y: 0 }\n    this.startCoords = interaction.coords.cur.page\n\n    this.modifierArg = modification.fillArg({\n      pageCoords: this.startCoords,\n      preEnd: true,\n      phase: 'inertiastart',\n    })\n\n    const thrown =\n      this.t0 - interaction.coords.cur.timeStamp < 50 &&\n      pointerSpeed > options.minSpeed &&\n      pointerSpeed > options.endSpeed\n\n    if (thrown) {\n      this.startInertia()\n    } else {\n      modification.result = modification.setAll(this.modifierArg)\n\n      if (!modification.result.changed) {\n        return false\n      }\n\n      this.startSmoothEnd()\n    }\n\n    // force modification change\n    interaction.modification.result.rect = null\n\n    // bring inertiastart event to the target coords\n    interaction.offsetBy(this.targetOffset)\n    interaction._doPhase({\n      interaction,\n      event,\n      phase: 'inertiastart',\n    })\n    interaction.offsetBy({ x: -this.targetOffset.x, y: -this.targetOffset.y })\n    // force modification change\n    interaction.modification.result.rect = null\n\n    this.active = true\n    interaction.simulation = this\n\n    return true\n  }\n\n  startInertia() {\n    const startVelocity = this.interaction.coords.velocity.client\n    const options = getOptions(this.interaction)\n    const lambda = options.resistance\n    const inertiaDur = -Math.log(options.endSpeed / this.v0) / lambda\n\n    this.targetOffset = {\n      x: (startVelocity.x - inertiaDur) / lambda,\n      y: (startVelocity.y - inertiaDur) / lambda,\n    }\n\n    this.te = inertiaDur\n    this.lambda_v0 = lambda / this.v0\n    this.one_ve_v0 = 1 - options.endSpeed / this.v0\n\n    const { modification, modifierArg } = this\n\n    modifierArg.pageCoords = {\n      x: this.startCoords.x + this.targetOffset.x,\n      y: this.startCoords.y + this.targetOffset.y,\n    }\n\n    modification.result = modification.setAll(modifierArg)\n\n    if (modification.result.changed) {\n      this.isModified = true\n      this.modifiedOffset = {\n        x: this.targetOffset.x + modification.result.delta.x,\n        y: this.targetOffset.y + modification.result.delta.y,\n      }\n    }\n\n    this.onNextFrame(() => this.inertiaTick())\n  }\n\n  startSmoothEnd() {\n    this.smoothEnd = true\n    this.isModified = true\n    this.targetOffset = {\n      x: this.modification.result.delta.x,\n      y: this.modification.result.delta.y,\n    }\n\n    this.onNextFrame(() => this.smoothEndTick())\n  }\n\n  onNextFrame(tickFn: () => void) {\n    this.timeout = raf.request(() => {\n      if (this.active) {\n        tickFn()\n      }\n    })\n  }\n\n  inertiaTick() {\n    const { interaction } = this\n    const options = getOptions(interaction)\n    const lambda = options.resistance\n    const t = (interaction._now() - this.t0) / 1000\n\n    if (t < this.te) {\n      const progress = 1 - (Math.exp(-lambda * t) - this.lambda_v0) / this.one_ve_v0\n      let newOffset: Point\n\n      if (this.isModified) {\n        newOffset = getQuadraticCurvePoint(\n          0,\n          0,\n          this.targetOffset.x,\n          this.targetOffset.y,\n          this.modifiedOffset.x,\n          this.modifiedOffset.y,\n          progress,\n        )\n      } else {\n        newOffset = {\n          x: this.targetOffset.x * progress,\n          y: this.targetOffset.y * progress,\n        }\n      }\n\n      const delta = { x: newOffset.x - this.currentOffset.x, y: newOffset.y - this.currentOffset.y }\n\n      this.currentOffset.x += delta.x\n      this.currentOffset.y += delta.y\n\n      interaction.offsetBy(delta)\n      interaction.move()\n\n      this.onNextFrame(() => this.inertiaTick())\n    } else {\n      interaction.offsetBy({\n        x: this.modifiedOffset.x - this.currentOffset.x,\n        y: this.modifiedOffset.y - this.currentOffset.y,\n      })\n\n      this.end()\n    }\n  }\n\n  smoothEndTick() {\n    const { interaction } = this\n    const t = interaction._now() - this.t0\n    const { smoothEndDuration: duration } = getOptions(interaction)\n\n    if (t < duration) {\n      const newOffset = {\n        x: easeOutQuad(t, 0, this.targetOffset.x, duration),\n        y: easeOutQuad(t, 0, this.targetOffset.y, duration),\n      }\n      const delta = {\n        x: newOffset.x - this.currentOffset.x,\n        y: newOffset.y - this.currentOffset.y,\n      }\n\n      this.currentOffset.x += delta.x\n      this.currentOffset.y += delta.y\n\n      interaction.offsetBy(delta)\n      interaction.move({ skipModifiers: this.modifierCount })\n\n      this.onNextFrame(() => this.smoothEndTick())\n    } else {\n      interaction.offsetBy({\n        x: this.targetOffset.x - this.currentOffset.x,\n        y: this.targetOffset.y - this.currentOffset.y,\n      })\n\n      this.end()\n    }\n  }\n\n  resume({ pointer, event, eventTarget }: SignalArgs['interactions:down']) {\n    const { interaction } = this\n\n    // undo inertia changes to interaction coords\n    interaction.offsetBy({\n      x: -this.currentOffset.x,\n      y: -this.currentOffset.y,\n    })\n\n    // update pointer at pointer down position\n    interaction.updatePointer(pointer, event, eventTarget, true)\n\n    // fire resume signals and event\n    interaction._doPhase({\n      interaction,\n      event,\n      phase: 'resume',\n    })\n    copyCoords(interaction.coords.prev, interaction.coords.cur)\n\n    this.stop()\n  }\n\n  end() {\n    this.interaction.move()\n    this.interaction.end()\n    this.stop()\n  }\n\n  stop() {\n    this.active = this.smoothEnd = false\n    this.interaction.simulation = null\n    raf.cancel(this.timeout)\n  }\n}\n\nfunction start({ interaction, event }: DoPhaseArg<ActionName, 'end'>) {\n  if (!interaction._interacting || interaction.simulation) {\n    return null\n  }\n\n  const started = interaction.inertia.start(event)\n\n  // prevent action end if inertia or smoothEnd\n  return started ? false : null\n}\n\n// Check if the down event hits the current inertia target\n// control should be return to the user\nfunction resume(arg: SignalArgs['interactions:down']) {\n  const { interaction, eventTarget } = arg\n  const state = interaction.inertia\n\n  if (!state.active) return\n\n  let element = eventTarget as Node\n\n  // climb up the DOM tree from the event target\n  while (is.element(element)) {\n    // if interaction element is the current inertia target element\n    if (element === interaction.element) {\n      state.resume(arg)\n      break\n    }\n\n    element = dom.parentNode(element)\n  }\n}\n\nfunction stop({ interaction }: { interaction: Interaction }) {\n  const state = interaction.inertia\n\n  if (state.active) {\n    state.stop()\n  }\n}\n\nfunction getOptions({ interactable, prepared }: Interaction) {\n  return interactable && interactable.options && prepared.name && interactable.options[prepared.name].inertia\n}\n\nconst inertia: Plugin = {\n  id: 'inertia',\n  before: ['modifiers', 'actions'],\n  install,\n  listeners: {\n    'interactions:new': ({ interaction }) => {\n      interaction.inertia = new InertiaState(interaction)\n    },\n\n    'interactions:before-action-end': start,\n    'interactions:down': resume,\n    'interactions:stop': stop,\n\n    'interactions:before-action-resume': (arg) => {\n      const { modification } = arg.interaction\n\n      modification.stop(arg)\n      modification.start(arg, arg.interaction.coords.cur.page)\n      modification.applyToInteraction(arg)\n    },\n\n    'interactions:before-action-inertiastart': (arg) => arg.interaction.modification.setAndApply(arg),\n    'interactions:action-resume': modifiers.addEventModifiers,\n    'interactions:action-inertiastart': modifiers.addEventModifiers,\n    'interactions:after-action-inertiastart': (arg) =>\n      arg.interaction.modification.restoreInteractionCoords(arg),\n    'interactions:after-action-resume': (arg) => arg.interaction.modification.restoreInteractionCoords(arg),\n  },\n}\n\n// http://stackoverflow.com/a/5634528/2280888\nfunction _getQBezierValue(t: number, p1: number, p2: number, p3: number) {\n  const iT = 1 - t\n  return iT * iT * p1 + 2 * iT * t * p2 + t * t * p3\n}\n\nfunction getQuadraticCurvePoint(\n  startX: number,\n  startY: number,\n  cpX: number,\n  cpY: number,\n  endX: number,\n  endY: number,\n  position: number,\n) {\n  return {\n    x: _getQBezierValue(position, startX, cpX, endX),\n    y: _getQBezierValue(position, startY, cpY, endY),\n  }\n}\n\n// http://gizma.com/easing/\nfunction easeOutQuad(t: number, b: number, c: number, d: number) {\n  t /= d\n  return -c * t * (t - 2) + b\n}\n\nexport default inertia\n","import * as arr from '@interactjs/utils/arr'\nimport extend from '@interactjs/utils/extend'\nimport type { NormalizedListeners } from '@interactjs/utils/normalizeListeners'\nimport normalize from '@interactjs/utils/normalizeListeners'\n\nimport type { Listener, ListenersArg, Rect } from '@interactjs/core/types'\n\nfunction fireUntilImmediateStopped(event: any, listeners: Listener[]) {\n  for (const listener of listeners) {\n    if (event.immediatePropagationStopped) {\n      break\n    }\n\n    listener(event)\n  }\n}\n\nexport class Eventable {\n  options: any\n  types: NormalizedListeners = {}\n  propagationStopped = false\n  immediatePropagationStopped = false\n  global: any\n\n  constructor(options?: { [index: string]: any }) {\n    this.options = extend({}, options || {})\n  }\n\n  fire<T extends { type: string; propagationStopped?: boolean }>(event: T) {\n    let listeners: Listener[]\n    const global = this.global\n\n    // Interactable#on() listeners\n    // tslint:disable no-conditional-assignment\n    if ((listeners = this.types[event.type])) {\n      fireUntilImmediateStopped(event, listeners)\n    }\n\n    // interact.on() listeners\n    if (!event.propagationStopped && global && (listeners = global[event.type])) {\n      fireUntilImmediateStopped(event, listeners)\n    }\n  }\n\n  on(type: string, listener: ListenersArg) {\n    const listeners = normalize(type, listener)\n\n    for (type in listeners) {\n      this.types[type] = arr.merge(this.types[type] || [], listeners[type])\n    }\n  }\n\n  off(type: string, listener: ListenersArg) {\n    const listeners = normalize(type, listener)\n\n    for (type in listeners) {\n      const eventList = this.types[type]\n\n      if (!eventList || !eventList.length) {\n        continue\n      }\n\n      for (const subListener of listeners[type]) {\n        const index = eventList.indexOf(subListener)\n\n        if (index !== -1) {\n          eventList.splice(index, 1)\n        }\n      }\n    }\n  }\n\n  getRect(_element: Element): Rect {\n    return null\n  }\n}\n","import * as arr from '@interactjs/utils/arr'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport is from '@interactjs/utils/is'\nimport pExtend from '@interactjs/utils/pointerExtend'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\nimport type { Scope } from '@interactjs/core/scope'\nimport type { Element } from '@interactjs/core/types'\n\nimport type { NativeEventTarget } from './NativeTypes'\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    events: ReturnType<typeof install>\n  }\n}\n\ninterface EventOptions {\n  capture: boolean\n  passive: boolean\n}\n\ntype PartialEventTarget = Partial<NativeEventTarget>\n\ntype ListenerEntry = { func: (event: Event | FakeEvent) => any; options: EventOptions }\n\nfunction install(scope: Scope) {\n  const targets: Array<{\n    eventTarget: PartialEventTarget\n    events: { [type: string]: ListenerEntry[] }\n  }> = []\n\n  const delegatedEvents: {\n    [type: string]: Array<{\n      selector: string\n      context: Node\n      listeners: ListenerEntry[]\n    }>\n  } = {}\n  const documents: Document[] = []\n\n  const eventsMethods = {\n    add,\n    remove,\n\n    addDelegate,\n    removeDelegate,\n\n    delegateListener,\n    delegateUseCapture,\n    delegatedEvents,\n    documents,\n\n    targets,\n\n    supportsOptions: false,\n    supportsPassive: false,\n  }\n\n  // check if browser supports passive events and options arg\n  scope.document?.createElement('div').addEventListener('test', null, {\n    get capture() {\n      return (eventsMethods.supportsOptions = true)\n    },\n    get passive() {\n      return (eventsMethods.supportsPassive = true)\n    },\n  })\n\n  scope.events = eventsMethods\n\n  function add(\n    eventTarget: PartialEventTarget,\n    type: string,\n    listener: ListenerEntry['func'],\n    optionalArg?: boolean | EventOptions,\n  ) {\n    if (!eventTarget.addEventListener) return\n\n    const options = getOptions(optionalArg)\n    let target = arr.find(targets, (t) => t.eventTarget === eventTarget)\n\n    if (!target) {\n      target = {\n        eventTarget,\n        events: {},\n      }\n\n      targets.push(target)\n    }\n\n    if (!target.events[type]) {\n      target.events[type] = []\n    }\n\n    if (!arr.find(target.events[type], (l) => l.func === listener && optionsMatch(l.options, options))) {\n      eventTarget.addEventListener(\n        type,\n        listener as any,\n        eventsMethods.supportsOptions ? options : options.capture,\n      )\n      target.events[type].push({ func: listener, options })\n    }\n  }\n\n  function remove(\n    eventTarget: PartialEventTarget,\n    type: string,\n    listener?: 'all' | ListenerEntry['func'],\n    optionalArg?: boolean | EventOptions,\n  ) {\n    if (!eventTarget.addEventListener || !eventTarget.removeEventListener) return\n\n    const targetIndex = arr.findIndex(targets, (t) => t.eventTarget === eventTarget)\n    const target = targets[targetIndex]\n\n    if (!target || !target.events) {\n      return\n    }\n\n    if (type === 'all') {\n      for (type in target.events) {\n        if (target.events.hasOwnProperty(type)) {\n          remove(eventTarget, type, 'all')\n        }\n      }\n      return\n    }\n\n    let typeIsEmpty = false\n    const typeListeners = target.events[type]\n\n    if (typeListeners) {\n      if (listener === 'all') {\n        for (let i = typeListeners.length - 1; i >= 0; i--) {\n          const entry = typeListeners[i]\n          remove(eventTarget, type, entry.func, entry.options)\n        }\n        return\n      } else {\n        const options = getOptions(optionalArg)\n\n        for (let i = 0; i < typeListeners.length; i++) {\n          const entry = typeListeners[i]\n          if (entry.func === listener && optionsMatch(entry.options, options)) {\n            eventTarget.removeEventListener(\n              type,\n              listener as any,\n              eventsMethods.supportsOptions ? options : options.capture,\n            )\n            typeListeners.splice(i, 1)\n\n            if (typeListeners.length === 0) {\n              delete target.events[type]\n              typeIsEmpty = true\n            }\n\n            break\n          }\n        }\n      }\n    }\n\n    if (typeIsEmpty && !Object.keys(target.events).length) {\n      targets.splice(targetIndex, 1)\n    }\n  }\n\n  function addDelegate(\n    selector: string,\n    context: Node,\n    type: string,\n    listener: ListenerEntry['func'],\n    optionalArg?: any,\n  ) {\n    const options = getOptions(optionalArg)\n    if (!delegatedEvents[type]) {\n      delegatedEvents[type] = []\n\n      // add delegate listener functions\n      for (const doc of documents) {\n        add(doc, type, delegateListener)\n        add(doc, type, delegateUseCapture, true)\n      }\n    }\n\n    const delegates = delegatedEvents[type]\n    let delegate = arr.find(delegates, (d) => d.selector === selector && d.context === context)\n\n    if (!delegate) {\n      delegate = { selector, context, listeners: [] }\n      delegates.push(delegate)\n    }\n\n    delegate.listeners.push({ func: listener, options })\n  }\n\n  function removeDelegate(\n    selector: string,\n    context: Document | Element,\n    type: string,\n    listener?: ListenerEntry['func'],\n    optionalArg?: any,\n  ) {\n    const options = getOptions(optionalArg)\n    const delegates = delegatedEvents[type]\n    let matchFound = false\n    let index: number\n\n    if (!delegates) return\n\n    // count from last index of delegated to 0\n    for (index = delegates.length - 1; index >= 0; index--) {\n      const cur = delegates[index]\n      // look for matching selector and context Node\n      if (cur.selector === selector && cur.context === context) {\n        const { listeners } = cur\n\n        // each item of the listeners array is an array: [function, capture, passive]\n        for (let i = listeners.length - 1; i >= 0; i--) {\n          const entry = listeners[i]\n\n          // check if the listener functions and capture and passive flags match\n          if (entry.func === listener && optionsMatch(entry.options, options)) {\n            // remove the listener from the array of listeners\n            listeners.splice(i, 1)\n\n            // if all listeners for this target have been removed\n            // remove the target from the delegates array\n            if (!listeners.length) {\n              delegates.splice(index, 1)\n\n              // remove delegate function from context\n              remove(context, type, delegateListener)\n              remove(context, type, delegateUseCapture, true)\n            }\n\n            // only remove one listener\n            matchFound = true\n            break\n          }\n        }\n\n        if (matchFound) {\n          break\n        }\n      }\n    }\n  }\n\n  // bound to the interactable context when a DOM event\n  // listener is added to a selector interactable\n  function delegateListener(event: Event | FakeEvent, optionalArg?: any) {\n    const options = getOptions(optionalArg)\n    const fakeEvent = new FakeEvent(event as Event)\n    const delegates = delegatedEvents[event.type]\n    const [eventTarget] = pointerUtils.getEventTargets(event as Event)\n    let element: Node = eventTarget\n\n    // climb up document tree looking for selector matches\n    while (is.element(element)) {\n      for (let i = 0; i < delegates.length; i++) {\n        const cur = delegates[i]\n        const { selector, context } = cur\n\n        if (\n          domUtils.matchesSelector(element, selector) &&\n          domUtils.nodeContains(context, eventTarget) &&\n          domUtils.nodeContains(context, element)\n        ) {\n          const { listeners } = cur\n\n          fakeEvent.currentTarget = element\n\n          for (const entry of listeners) {\n            if (optionsMatch(entry.options, options)) {\n              entry.func(fakeEvent)\n            }\n          }\n        }\n      }\n\n      element = domUtils.parentNode(element)\n    }\n  }\n\n  function delegateUseCapture(this: Element, event: Event | FakeEvent) {\n    return delegateListener.call(this, event, true)\n  }\n\n  // for type inferrence\n  return eventsMethods\n}\n\nclass FakeEvent implements Partial<Event> {\n  currentTarget: Node\n  originalEvent: Event\n  type: string\n\n  constructor(originalEvent: Event) {\n    this.originalEvent = originalEvent\n    // duplicate the event so that currentTarget can be changed\n    pExtend(this, originalEvent)\n  }\n\n  preventOriginalDefault() {\n    this.originalEvent.preventDefault()\n  }\n\n  stopPropagation() {\n    this.originalEvent.stopPropagation()\n  }\n\n  stopImmediatePropagation() {\n    this.originalEvent.stopImmediatePropagation()\n  }\n}\n\nfunction getOptions(param: { [index: string]: any } | boolean): { capture: boolean; passive: boolean } {\n  if (!is.object(param)) {\n    return { capture: !!param, passive: false }\n  }\n\n  return {\n    capture: !!param.capture,\n    passive: !!param.passive,\n  }\n}\n\nfunction optionsMatch(a: Partial<EventOptions> | boolean, b: Partial<EventOptions>) {\n  if (a === b) return true\n\n  if (typeof a === 'boolean') return !!b.capture === a && !!b.passive === false\n\n  return !!a.capture === !!b.capture && !!a.passive === !!b.passive\n}\n\nexport default {\n  id: 'events',\n  install,\n}\n","import * as dom from '@interactjs/utils/domUtils'\n\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { Scope } from '@interactjs/core/scope'\nimport type { PointerType } from '@interactjs/core/types'\n\nexport interface SearchDetails {\n  pointer: PointerType\n  pointerId: number\n  pointerType: string\n  eventType: string\n  eventTarget: EventTarget\n  curEventTarget: EventTarget\n  scope: Scope\n}\n\nconst finder = {\n  methodOrder: ['simulationResume', 'mouseOrPen', 'hasPointer', 'idle'] as const,\n\n  search(details: SearchDetails) {\n    for (const method of finder.methodOrder) {\n      const interaction = finder[method](details)\n\n      if (interaction) {\n        return interaction\n      }\n    }\n\n    return null\n  },\n\n  // try to resume simulation with a new pointer\n  simulationResume({ pointerType, eventType, eventTarget, scope }: SearchDetails) {\n    if (!/down|start/i.test(eventType)) {\n      return null\n    }\n\n    for (const interaction of scope.interactions.list) {\n      let element = eventTarget as Node\n\n      if (\n        interaction.simulation &&\n        interaction.simulation.allowResume &&\n        interaction.pointerType === pointerType\n      ) {\n        while (element) {\n          // if the element is the interaction element\n          if (element === interaction.element) {\n            return interaction\n          }\n          element = dom.parentNode(element)\n        }\n      }\n    }\n\n    return null\n  },\n\n  // if it's a mouse or pen interaction\n  mouseOrPen({ pointerId, pointerType, eventType, scope }: SearchDetails) {\n    if (pointerType !== 'mouse' && pointerType !== 'pen') {\n      return null\n    }\n\n    let firstNonActive\n\n    for (const interaction of scope.interactions.list) {\n      if (interaction.pointerType === pointerType) {\n        // if it's a down event, skip interactions with running simulations\n        if (interaction.simulation && !hasPointerId(interaction, pointerId)) {\n          continue\n        }\n\n        // if the interaction is active, return it immediately\n        if (interaction.interacting()) {\n          return interaction\n        }\n        // otherwise save it and look for another active interaction\n        else if (!firstNonActive) {\n          firstNonActive = interaction\n        }\n      }\n    }\n\n    // if no active mouse interaction was found use the first inactive mouse\n    // interaction\n    if (firstNonActive) {\n      return firstNonActive\n    }\n\n    // find any mouse or pen interaction.\n    // ignore the interaction if the eventType is a *down, and a simulation\n    // is active\n    for (const interaction of scope.interactions.list) {\n      if (interaction.pointerType === pointerType && !(/down/i.test(eventType) && interaction.simulation)) {\n        return interaction\n      }\n    }\n\n    return null\n  },\n\n  // get interaction that has this pointer\n  hasPointer({ pointerId, scope }: SearchDetails) {\n    for (const interaction of scope.interactions.list) {\n      if (hasPointerId(interaction, pointerId)) {\n        return interaction\n      }\n    }\n\n    return null\n  },\n\n  // get first idle interaction with a matching pointerType\n  idle({ pointerType, scope }: SearchDetails) {\n    for (const interaction of scope.interactions.list) {\n      // if there's already a pointer held down\n      if (interaction.pointers.length === 1) {\n        const target = interaction.interactable\n        // don't add this pointer if there is a target interactable and it\n        // isn't gesturable\n        if (target && !(target.options.gesture && target.options.gesture.enabled)) {\n          continue\n        }\n      }\n      // maximum of 2 pointers per interaction\n      else if (interaction.pointers.length >= 2) {\n        continue\n      }\n\n      if (!interaction.interacting() && pointerType === interaction.pointerType) {\n        return interaction\n      }\n    }\n\n    return null\n  },\n}\n\nfunction hasPointerId(interaction: Interaction, pointerId: number) {\n  return interaction.pointers.some(({ id }) => id === pointerId)\n}\n\nexport default finder\n","import browser from '@interactjs/utils/browser'\nimport domObjects from '@interactjs/utils/domObjects'\nimport { nodeContains } from '@interactjs/utils/domUtils'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\nimport type { Scope, SignalArgs, Plugin } from '@interactjs/core/scope'\nimport type { ActionName, Listener } from '@interactjs/core/types'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './interactablePreventDefault'\nimport interactablePreventDefault from './interactablePreventDefault'\nimport InteractionBase from './Interaction'\n/* eslint-enable import/no-duplicates */\nimport type { SearchDetails } from './interactionFinder'\nimport finder from './interactionFinder'\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    Interaction: typeof InteractionBase\n    interactions: {\n      new: <T extends ActionName>(options: any) => InteractionBase<T>\n      list: Array<InteractionBase<ActionName>>\n      listeners: { [type: string]: Listener }\n      docEvents: Array<{ type: string; listener: Listener }>\n      pointerMoveTolerance: number\n    }\n    prevTouchTime: number\n  }\n\n  interface SignalArgs {\n    'interactions:find': {\n      interaction: InteractionBase\n      searchDetails: SearchDetails\n    }\n  }\n}\n\nconst methodNames = [\n  'pointerDown',\n  'pointerMove',\n  'pointerUp',\n  'updatePointer',\n  'removePointer',\n  'windowBlur',\n]\n\nfunction install(scope: Scope) {\n  const listeners = {} as any\n\n  for (const method of methodNames) {\n    listeners[method] = doOnInteractions(method, scope)\n  }\n\n  const pEventTypes = browser.pEventTypes\n  let docEvents: typeof scope.interactions.docEvents\n\n  if (domObjects.PointerEvent) {\n    docEvents = [\n      { type: pEventTypes.down, listener: releasePointersOnRemovedEls },\n      { type: pEventTypes.down, listener: listeners.pointerDown },\n      { type: pEventTypes.move, listener: listeners.pointerMove },\n      { type: pEventTypes.up, listener: listeners.pointerUp },\n      { type: pEventTypes.cancel, listener: listeners.pointerUp },\n    ]\n  } else {\n    docEvents = [\n      { type: 'mousedown', listener: listeners.pointerDown },\n      { type: 'mousemove', listener: listeners.pointerMove },\n      { type: 'mouseup', listener: listeners.pointerUp },\n\n      { type: 'touchstart', listener: releasePointersOnRemovedEls },\n      { type: 'touchstart', listener: listeners.pointerDown },\n      { type: 'touchmove', listener: listeners.pointerMove },\n      { type: 'touchend', listener: listeners.pointerUp },\n      { type: 'touchcancel', listener: listeners.pointerUp },\n    ]\n  }\n\n  docEvents.push({\n    type: 'blur',\n    listener(event) {\n      for (const interaction of scope.interactions.list) {\n        interaction.documentBlur(event)\n      }\n    },\n  })\n\n  // for ignoring browser's simulated mouse events\n  scope.prevTouchTime = 0\n\n  scope.Interaction = class<T extends ActionName> extends InteractionBase<T> {\n    get pointerMoveTolerance() {\n      return scope.interactions.pointerMoveTolerance\n    }\n\n    set pointerMoveTolerance(value) {\n      scope.interactions.pointerMoveTolerance = value\n    }\n\n    _now() {\n      return scope.now()\n    }\n  }\n\n  scope.interactions = {\n    // all active and idle interactions\n    list: [],\n    new<T extends ActionName>(options: { pointerType?: string; scopeFire?: Scope['fire'] }) {\n      options.scopeFire = (name, arg) => scope.fire(name, arg)\n\n      const interaction = new scope.Interaction<T>(options as Required<typeof options>)\n\n      scope.interactions.list.push(interaction)\n      return interaction\n    },\n    listeners,\n    docEvents,\n    pointerMoveTolerance: 1,\n  }\n\n  function releasePointersOnRemovedEls() {\n    // for all inactive touch interactions with pointers down\n    for (const interaction of scope.interactions.list) {\n      if (!interaction.pointerIsDown || interaction.pointerType !== 'touch' || interaction._interacting) {\n        continue\n      }\n\n      // if a pointer is down on an element that is no longer in the DOM tree\n      for (const pointer of interaction.pointers) {\n        if (!scope.documents.some(({ doc }) => nodeContains(doc, pointer.downTarget))) {\n          // remove the pointer from the interaction\n          interaction.removePointer(pointer.pointer, pointer.event)\n        }\n      }\n    }\n  }\n\n  scope.usePlugin(interactablePreventDefault)\n}\n\nfunction doOnInteractions(method: string, scope: Scope) {\n  return function (event: Event) {\n    const interactions = scope.interactions.list\n\n    const pointerType = pointerUtils.getPointerType(event)\n    const [eventTarget, curEventTarget] = pointerUtils.getEventTargets(event)\n    const matches: any[] = [] // [ [pointer, interaction], ...]\n\n    if (/^touch/.test(event.type)) {\n      scope.prevTouchTime = scope.now()\n\n      // @ts-expect-error\n      for (const changedTouch of event.changedTouches) {\n        const pointer = changedTouch\n        const pointerId = pointerUtils.getPointerId(pointer)\n        const searchDetails: SearchDetails = {\n          pointer,\n          pointerId,\n          pointerType,\n          eventType: event.type,\n          eventTarget,\n          curEventTarget,\n          scope,\n        }\n        const interaction = getInteraction(searchDetails)\n\n        matches.push([\n          searchDetails.pointer,\n          searchDetails.eventTarget,\n          searchDetails.curEventTarget,\n          interaction,\n        ])\n      }\n    } else {\n      let invalidPointer = false\n\n      if (!browser.supportsPointerEvent && /mouse/.test(event.type)) {\n        // ignore mouse events while touch interactions are active\n        for (let i = 0; i < interactions.length && !invalidPointer; i++) {\n          invalidPointer = interactions[i].pointerType !== 'mouse' && interactions[i].pointerIsDown\n        }\n\n        // try to ignore mouse events that are simulated by the browser\n        // after a touch event\n        invalidPointer =\n          invalidPointer ||\n          scope.now() - scope.prevTouchTime < 500 ||\n          // on iOS and Firefox Mobile, MouseEvent.timeStamp is zero if simulated\n          event.timeStamp === 0\n      }\n\n      if (!invalidPointer) {\n        const searchDetails = {\n          pointer: event as PointerEvent,\n          pointerId: pointerUtils.getPointerId(event as PointerEvent),\n          pointerType,\n          eventType: event.type,\n          curEventTarget,\n          eventTarget,\n          scope,\n        }\n\n        const interaction = getInteraction(searchDetails)\n\n        matches.push([\n          searchDetails.pointer,\n          searchDetails.eventTarget,\n          searchDetails.curEventTarget,\n          interaction,\n        ])\n      }\n    }\n\n    // eslint-disable-next-line no-shadow\n    for (const [pointer, eventTarget, curEventTarget, interaction] of matches) {\n      interaction[method](pointer, event, eventTarget, curEventTarget)\n    }\n  }\n}\n\nfunction getInteraction(searchDetails: SearchDetails) {\n  const { pointerType, scope } = searchDetails\n\n  const foundInteraction = finder.search(searchDetails)\n  const signalArg = { interaction: foundInteraction, searchDetails }\n\n  scope.fire('interactions:find', signalArg)\n\n  return signalArg.interaction || scope.interactions.new({ pointerType })\n}\n\nfunction onDocSignal<T extends 'scope:add-document' | 'scope:remove-document'>(\n  { doc, scope, options }: SignalArgs[T],\n  eventMethodName: 'add' | 'remove',\n) {\n  const {\n    interactions: { docEvents },\n    events,\n  } = scope\n  const eventMethod = events[eventMethodName]\n\n  if (scope.browser.isIOS && !options.events) {\n    options.events = { passive: false }\n  }\n\n  // delegate event listener\n  for (const eventType in events.delegatedEvents) {\n    eventMethod(doc, eventType, events.delegateListener)\n    eventMethod(doc, eventType, events.delegateUseCapture, true)\n  }\n\n  const eventOptions = options && options.events\n\n  for (const { type, listener } of docEvents) {\n    eventMethod(doc, type, listener, eventOptions)\n  }\n}\n\nconst interactions: Plugin = {\n  id: 'core/interactions',\n  install,\n  listeners: {\n    'scope:add-document': (arg) => onDocSignal(arg, 'add'),\n    'scope:remove-document': (arg) => onDocSignal(arg, 'remove'),\n    'interactable:unset': ({ interactable }, scope) => {\n      // Stop and destroy related interactions when an Interactable is unset\n      for (let i = scope.interactions.list.length - 1; i >= 0; i--) {\n        const interaction = scope.interactions.list[i]\n\n        if (interaction.interactable !== interactable) {\n          continue\n        }\n\n        interaction.stop()\n        scope.fire('interactions:destroy', { interaction })\n        interaction.destroy()\n\n        if (scope.interactions.list.length > 2) {\n          scope.interactions.list.splice(i, 1)\n        }\n      }\n    },\n  },\n  onDocSignal,\n  doOnInteractions,\n  methodNames,\n}\n\nexport default interactions\n","/* eslint-disable no-dupe-class-members */\nimport * as arr from '@interactjs/utils/arr'\nimport browser from '@interactjs/utils/browser'\nimport clone from '@interactjs/utils/clone'\nimport { getElementRect, matchesUpTo, nodeContains, trySelector } from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\nimport isNonNativeEvent from '@interactjs/utils/isNonNativeEvent'\nimport normalizeListeners from '@interactjs/utils/normalizeListeners'\nimport { getWindow } from '@interactjs/utils/window'\n\nimport type { Scope } from '@interactjs/core/scope'\nimport type {\n  ActionMap,\n  ActionMethod,\n  ActionName,\n  Actions,\n  Context,\n  Element,\n  EventTypes,\n  Listeners,\n  ListenersArg,\n  OrBoolean,\n  Target,\n} from '@interactjs/core/types'\n\nimport { Eventable } from './Eventable'\nimport type { ActionDefaults, Defaults, OptionsArg, PerActionDefaults, Options } from './options'\n\ntype IgnoreValue = string | Element | boolean\ntype DeltaSource = 'page' | 'client'\n\nconst enum OnOffMethod {\n  On,\n  Off,\n}\n\n/**\n * ```ts\n * const interactable = interact('.cards')\n *   .draggable({\n *     listeners: { move: event => console.log(event.type, event.pageX, event.pageY) }\n *   })\n *   .resizable({\n *     listeners: { move: event => console.log(event.rect) },\n *     modifiers: [interact.modifiers.restrictEdges({ outer: 'parent' })]\n *   })\n * ```\n */\nexport class Interactable implements Partial<Eventable> {\n  /** @internal */ get _defaults(): Defaults {\n    return {\n      base: {},\n      perAction: {},\n      actions: {} as ActionDefaults,\n    }\n  }\n\n  readonly target: Target\n  /** @internal */ readonly options!: Required<Options>\n  /** @internal */ readonly _actions: Actions\n  /** @internal */ readonly events = new Eventable()\n  /** @internal */ readonly _context: Context\n  /** @internal */ readonly _win: Window\n  /** @internal */ readonly _doc: Document\n  /** @internal */ readonly _scopeEvents: Scope['events']\n\n  constructor(\n    target: Target,\n    options: any,\n    defaultContext: Document | Element,\n    scopeEvents: Scope['events'],\n  ) {\n    this._actions = options.actions\n    this.target = target\n    this._context = options.context || defaultContext\n    this._win = getWindow(trySelector(target) ? this._context : target)\n    this._doc = this._win.document\n    this._scopeEvents = scopeEvents\n\n    this.set(options)\n  }\n\n  setOnEvents(actionName: ActionName, phases: NonNullable<any>) {\n    if (is.func(phases.onstart)) {\n      this.on(`${actionName}start`, phases.onstart)\n    }\n    if (is.func(phases.onmove)) {\n      this.on(`${actionName}move`, phases.onmove)\n    }\n    if (is.func(phases.onend)) {\n      this.on(`${actionName}end`, phases.onend)\n    }\n    if (is.func(phases.oninertiastart)) {\n      this.on(`${actionName}inertiastart`, phases.oninertiastart)\n    }\n\n    return this\n  }\n\n  updatePerActionListeners(actionName: ActionName, prev: Listeners | undefined, cur: Listeners | undefined) {\n    const actionFilter = (this._actions.map[actionName] as { filterEventType?: (type: string) => boolean })\n      ?.filterEventType\n    const filter = (type: string) =>\n      (actionFilter == null || actionFilter(type)) && isNonNativeEvent(type, this._actions)\n\n    if (is.array(prev) || is.object(prev)) {\n      this._onOff(OnOffMethod.Off, actionName, prev, undefined, filter)\n    }\n\n    if (is.array(cur) || is.object(cur)) {\n      this._onOff(OnOffMethod.On, actionName, cur, undefined, filter)\n    }\n  }\n\n  setPerAction(actionName: ActionName, options: OrBoolean<Options>) {\n    const defaults = this._defaults\n\n    // for all the default per-action options\n    for (const optionName_ in options) {\n      const optionName = optionName_ as keyof PerActionDefaults\n      const actionOptions = this.options[actionName]\n      const optionValue: any = options[optionName]\n\n      // remove old event listeners and add new ones\n      if (optionName === 'listeners') {\n        this.updatePerActionListeners(actionName, actionOptions.listeners, optionValue as Listeners)\n      }\n\n      // if the option value is an array\n      if (is.array(optionValue)) {\n        ;(actionOptions[optionName] as any) = arr.from(optionValue)\n      }\n      // if the option value is an object\n      else if (is.plainObject(optionValue)) {\n        // copy the object\n        ;(actionOptions[optionName] as any) = extend(\n          actionOptions[optionName] || ({} as any),\n          clone(optionValue),\n        )\n\n        // set anabled field to true if it exists in the defaults\n        if (\n          is.object(defaults.perAction[optionName]) &&\n          'enabled' in (defaults.perAction[optionName] as any)\n        ) {\n          ;(actionOptions[optionName] as any).enabled = optionValue.enabled !== false\n        }\n      }\n      // if the option value is a boolean and the default is an object\n      else if (is.bool(optionValue) && is.object(defaults.perAction[optionName])) {\n        ;(actionOptions[optionName] as any).enabled = optionValue\n      }\n      // if it's anything else, do a plain assignment\n      else {\n        ;(actionOptions[optionName] as any) = optionValue\n      }\n    }\n  }\n\n  /**\n   * The default function to get an Interactables bounding rect. Can be\n   * overridden using {@link Interactable.rectChecker}.\n   *\n   * @param {Element} [element] The element to measure.\n   * @return {Rect} The object's bounding rectangle.\n   */\n  getRect(element: Element) {\n    element = element || (is.element(this.target) ? this.target : null)\n\n    if (is.string(this.target)) {\n      element = element || this._context.querySelector(this.target)\n    }\n\n    return getElementRect(element)\n  }\n\n  /**\n   * Returns or sets the function used to calculate the interactable's\n   * element's rectangle\n   *\n   * @param {function} [checker] A function which returns this Interactable's\n   * bounding rectangle. See {@link Interactable.getRect}\n   * @return {function | object} The checker function or this Interactable\n   */\n  rectChecker(): (element: Element) => any | null\n  rectChecker(checker: (element: Element) => any): this\n  rectChecker(checker?: (element: Element) => any) {\n    if (is.func(checker)) {\n      this.getRect = (element) => {\n        const rect = extend({}, checker.apply(this, element))\n\n        if (!(('width' in rect) as unknown)) {\n          rect.width = rect.right - rect.left\n          rect.height = rect.bottom - rect.top\n        }\n\n        return rect\n      }\n\n      return this\n    }\n\n    if (checker === null) {\n      delete (this as Partial<typeof this>).getRect\n\n      return this\n    }\n\n    return this.getRect\n  }\n\n  /** @internal */\n  _backCompatOption(optionName: keyof Options, newValue: any) {\n    if (trySelector(newValue) || is.object(newValue)) {\n      ;(this.options[optionName] as any) = newValue\n\n      for (const action in this._actions.map) {\n        ;(this.options[action as keyof ActionMap] as any)[optionName] = newValue\n      }\n\n      return this\n    }\n\n    return this.options[optionName]\n  }\n\n  /**\n   * Gets or sets the origin of the Interactable's element.  The x and y\n   * of the origin will be subtracted from action event coordinates.\n   *\n   * @param {Element | object | string} [origin] An HTML or SVG Element whose\n   * rect will be used, an object eg. { x: 0, y: 0 } or string 'parent', 'self'\n   * or any CSS selector\n   *\n   * @return {object} The current origin or this Interactable\n   */\n  origin(newValue: any) {\n    return this._backCompatOption('origin', newValue)\n  }\n\n  /**\n   * Returns or sets the mouse coordinate types used to calculate the\n   * movement of the pointer.\n   *\n   * @param {string} [newValue] Use 'client' if you will be scrolling while\n   * interacting; Use 'page' if you want autoScroll to work\n   * @return {string | object} The current deltaSource or this Interactable\n   */\n  deltaSource(): DeltaSource\n  deltaSource(newValue: DeltaSource): this\n  deltaSource(newValue?: DeltaSource) {\n    if (newValue === 'page' || newValue === 'client') {\n      this.options.deltaSource = newValue\n\n      return this\n    }\n\n    return this.options.deltaSource\n  }\n\n  /** @internal */\n  getAllElements(): Element[] {\n    const { target } = this\n\n    if (is.string(target)) {\n      return Array.from(this._context.querySelectorAll(target))\n    }\n\n    if (is.func(target) && (target as any).getAllElements) {\n      return (target as any).getAllElements()\n    }\n\n    return is.element(target) ? [target] : []\n  }\n\n  /**\n   * Gets the selector context Node of the Interactable. The default is\n   * `window.document`.\n   *\n   * @return {Node} The context Node of this Interactable\n   */\n  context() {\n    return this._context\n  }\n\n  inContext(element: Document | Node) {\n    return this._context === element.ownerDocument || nodeContains(this._context, element)\n  }\n\n  /** @internal */\n  testIgnoreAllow(\n    this: Interactable,\n    options: { ignoreFrom?: IgnoreValue; allowFrom?: IgnoreValue },\n    targetNode: Node,\n    eventTarget: Node,\n  ) {\n    return (\n      !this.testIgnore(options.ignoreFrom, targetNode, eventTarget) &&\n      this.testAllow(options.allowFrom, targetNode, eventTarget)\n    )\n  }\n\n  /** @internal */\n  testAllow(this: Interactable, allowFrom: IgnoreValue | undefined, targetNode: Node, element: Node) {\n    if (!allowFrom) {\n      return true\n    }\n\n    if (!is.element(element)) {\n      return false\n    }\n\n    if (is.string(allowFrom)) {\n      return matchesUpTo(element, allowFrom, targetNode)\n    } else if (is.element(allowFrom)) {\n      return nodeContains(allowFrom, element)\n    }\n\n    return false\n  }\n\n  /** @internal */\n  testIgnore(this: Interactable, ignoreFrom: IgnoreValue | undefined, targetNode: Node, element: Node) {\n    if (!ignoreFrom || !is.element(element)) {\n      return false\n    }\n\n    if (is.string(ignoreFrom)) {\n      return matchesUpTo(element, ignoreFrom, targetNode)\n    } else if (is.element(ignoreFrom)) {\n      return nodeContains(ignoreFrom, element)\n    }\n\n    return false\n  }\n\n  /**\n   * Calls listeners for the given InteractEvent type bound globally\n   * and directly to this Interactable\n   *\n   * @param {InteractEvent} iEvent The InteractEvent object to be fired on this\n   * Interactable\n   * @return {Interactable} this Interactable\n   */\n  fire<E extends { type: string }>(iEvent: E) {\n    this.events.fire(iEvent)\n\n    return this\n  }\n\n  /** @internal */\n  _onOff(\n    method: OnOffMethod,\n    typeArg: EventTypes,\n    listenerArg?: ListenersArg | null,\n    options?: any,\n    filter?: (type: string) => boolean,\n  ) {\n    if (is.object(typeArg) && !is.array(typeArg)) {\n      options = listenerArg\n      listenerArg = null\n    }\n\n    const listeners = normalizeListeners(typeArg, listenerArg, filter)\n\n    for (let type in listeners) {\n      if (type === 'wheel') {\n        type = browser.wheelEvent\n      }\n\n      for (const listener of listeners[type]) {\n        // if it is an action event type\n        if (isNonNativeEvent(type, this._actions)) {\n          this.events[method === OnOffMethod.On ? 'on' : 'off'](type, listener)\n        }\n        // delegated event\n        else if (is.string(this.target)) {\n          this._scopeEvents[method === OnOffMethod.On ? 'addDelegate' : 'removeDelegate'](\n            this.target,\n            this._context,\n            type,\n            listener,\n            options,\n          )\n        }\n        // remove listener from this Interactable's element\n        else {\n          this._scopeEvents[method === OnOffMethod.On ? 'add' : 'remove'](\n            this.target,\n            type,\n            listener,\n            options,\n          )\n        }\n      }\n    }\n\n    return this\n  }\n\n  /**\n   * Binds a listener for an InteractEvent, pointerEvent or DOM event.\n   *\n   * @param {string | array | object} types The types of events to listen\n   * for\n   * @param {function | array | object} [listener] The event listener function(s)\n   * @param {object | boolean} [options] options object or useCapture flag for\n   * addEventListener\n   * @return {Interactable} This Interactable\n   */\n  on(types: EventTypes, listener?: ListenersArg, options?: any) {\n    return this._onOff(OnOffMethod.On, types, listener, options)\n  }\n\n  /**\n   * Removes an InteractEvent, pointerEvent or DOM event listener.\n   *\n   * @param {string | array | object} types The types of events that were\n   * listened for\n   * @param {function | array | object} [listener] The event listener function(s)\n   * @param {object | boolean} [options] options object or useCapture flag for\n   * removeEventListener\n   * @return {Interactable} This Interactable\n   */\n  off(types: string | string[] | EventTypes, listener?: ListenersArg, options?: any) {\n    return this._onOff(OnOffMethod.Off, types, listener, options)\n  }\n\n  /**\n   * Reset the options of this Interactable\n   *\n   * @param {object} options The new settings to apply\n   * @return {object} This Interactable\n   */\n  set(options: OptionsArg) {\n    const defaults = this._defaults\n\n    if (!is.object(options)) {\n      options = {}\n    }\n\n    ;(this.options as Required<Options>) = clone(defaults.base) as Required<Options>\n\n    for (const actionName_ in this._actions.methodDict) {\n      const actionName = actionName_ as ActionName\n      const methodName = this._actions.methodDict[actionName]\n\n      this.options[actionName] = {}\n      this.setPerAction(actionName, extend(extend({}, defaults.perAction), defaults.actions[actionName]))\n      ;(this[methodName] as ActionMethod<unknown>)(options[actionName])\n    }\n\n    for (const setting in options) {\n      if (setting === 'getRect') {\n        this.rectChecker(options.getRect)\n        continue\n      }\n\n      if (is.func((this as any)[setting])) {\n        ;(this as any)[setting](options[setting as keyof typeof options])\n      }\n    }\n\n    return this\n  }\n\n  /**\n   * Remove this interactable from the list of interactables and remove it's\n   * action capabilities and event listeners\n   */\n  unset() {\n    if (is.string(this.target)) {\n      // remove delegated events\n      for (const type in this._scopeEvents.delegatedEvents) {\n        const delegated = this._scopeEvents.delegatedEvents[type]\n\n        for (let i = delegated.length - 1; i >= 0; i--) {\n          const { selector, context, listeners } = delegated[i]\n\n          if (selector === this.target && context === this._context) {\n            delegated.splice(i, 1)\n          }\n\n          for (let l = listeners.length - 1; l >= 0; l--) {\n            this._scopeEvents.removeDelegate(\n              this.target,\n              this._context,\n              type,\n              listeners[l][0],\n              listeners[l][1],\n            )\n          }\n        }\n      }\n    } else {\n      this._scopeEvents.remove(this.target, 'all')\n    }\n  }\n}\n","import * as arr from '@interactjs/utils/arr'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\n\nimport type { Interactable } from '@interactjs/core/Interactable'\nimport type { OptionsArg, Options } from '@interactjs/core/options'\nimport type { Scope } from '@interactjs/core/scope'\nimport type { Target } from '@interactjs/core/types'\n\ndeclare module '@interactjs/core/scope' {\n  interface SignalArgs {\n    'interactable:new': {\n      interactable: Interactable\n      target: Target\n      options: OptionsArg\n      win: Window\n    }\n  }\n}\n\nexport class InteractableSet {\n  // all set interactables\n  list: Interactable[] = []\n\n  selectorMap: {\n    [selector: string]: Interactable[]\n  } = {}\n\n  scope: Scope\n\n  constructor(scope: Scope) {\n    this.scope = scope\n    scope.addListeners({\n      'interactable:unset': ({ interactable }) => {\n        const { target } = interactable\n        const interactablesOnTarget: Interactable[] = is.string(target)\n          ? this.selectorMap[target]\n          : (target as any)[this.scope.id]\n\n        const targetIndex = arr.findIndex(interactablesOnTarget, (i) => i === interactable)\n        interactablesOnTarget.splice(targetIndex, 1)\n      },\n    })\n  }\n\n  new(target: Target, options?: any): Interactable {\n    options = extend(options || {}, {\n      actions: this.scope.actions,\n    })\n    const interactable = new this.scope.Interactable(target, options, this.scope.document, this.scope.events)\n\n    this.scope.addDocument(interactable._doc)\n    this.list.push(interactable)\n\n    if (is.string(target)) {\n      if (!this.selectorMap[target]) {\n        this.selectorMap[target] = []\n      }\n      this.selectorMap[target].push(interactable)\n    } else {\n      if (!(interactable.target as any)[this.scope.id]) {\n        Object.defineProperty(target, this.scope.id, {\n          value: [],\n          configurable: true,\n        })\n      }\n\n      ;(target as any)[this.scope.id].push(interactable)\n    }\n\n    this.scope.fire('interactable:new', {\n      target,\n      options,\n      interactable,\n      win: this.scope._win,\n    })\n\n    return interactable\n  }\n\n  getExisting(target: Target, options?: Options) {\n    const context = (options && options.context) || this.scope.document\n    const isSelector = is.string(target)\n    const interactablesOnTarget: Interactable[] = isSelector\n      ? this.selectorMap[target as string]\n      : (target as any)[this.scope.id]\n\n    if (!interactablesOnTarget) return undefined\n\n    return arr.find(\n      interactablesOnTarget,\n      (interactable) =>\n        interactable._context === context && (isSelector || interactable.inContext(target as any)),\n    )\n  }\n\n  forEachMatch<T>(node: Node, callback: (interactable: Interactable) => T): T | void {\n    for (const interactable of this.list) {\n      let ret: T\n\n      if (\n        (is.string(interactable.target)\n          ? // target is a selector and the element matches\n            is.element(node) && domUtils.matchesSelector(node, interactable.target)\n          : // target is the element\n            node === interactable.target) &&\n        // the element is in context\n        interactable.inContext(node)\n      ) {\n        ret = callback(interactable)\n      }\n\n      if (ret !== undefined) {\n        return ret\n      }\n    }\n  }\n}\n","import browser from '@interactjs/utils/browser'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport is from '@interactjs/utils/is'\nimport isNonNativeEvent from '@interactjs/utils/isNonNativeEvent'\nimport { warnOnce } from '@interactjs/utils/misc'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { Context, EventTypes, Listener, ListenersArg, Target } from '@interactjs/core/types'\n\nimport type { Interactable } from './Interactable'\nimport type { Options } from './options'\n\n/**\n * ```js\n * interact('#draggable').draggable(true)\n *\n * var rectables = interact('rect')\n * rectables\n *   .gesturable(true)\n *   .on('gesturemove', function (event) {\n *       // ...\n *   })\n * ```\n *\n * The methods of this variable can be used to set elements as interactables\n * and also to change various default settings.\n *\n * Calling it as a function and passing an element or a valid CSS selector\n * string returns an Interactable object which has various methods to configure\n * it.\n *\n * @param {Element | string} target The HTML or SVG Element to interact with\n * or CSS selector\n * @return {Interactable}\n */\nexport interface InteractStatic {\n  (target: Target, options?: Options): Interactable\n  getPointerAverage: typeof pointerUtils.pointerAverage\n  getTouchBBox: typeof pointerUtils.touchBBox\n  getTouchDistance: typeof pointerUtils.touchDistance\n  getTouchAngle: typeof pointerUtils.touchAngle\n  getElementRect: typeof domUtils.getElementRect\n  getElementClientRect: typeof domUtils.getElementClientRect\n  matchesSelector: typeof domUtils.matchesSelector\n  closest: typeof domUtils.closest\n  /** @internal */ globalEvents: any\n  version: string\n  /** @internal */ scope: Scope\n  /**\n   * Use a plugin\n   */\n  use(\n    plugin: Plugin,\n    options?: {\n      [key: string]: any\n    },\n  ): any\n  /**\n   * Check if an element or selector has been set with the `interact(target)`\n   * function\n   *\n   * @return {boolean} Indicates if the element or CSS selector was previously\n   * passed to interact\n   */\n  isSet(\n    /* The Element or string being searched for */\n    target: Target,\n    options?: any,\n  ): boolean\n  on(type: string | EventTypes, listener: ListenersArg, options?: object): any\n  off(type: EventTypes, listener: any, options?: object): any\n  debug(): any\n  /**\n   * Whether or not the browser supports touch input\n   */\n  supportsTouch(): boolean\n  /**\n   * Whether or not the browser supports PointerEvents\n   */\n  supportsPointerEvent(): boolean\n  /**\n   * Cancels all interactions (end events are not fired)\n   */\n  stop(): InteractStatic\n  /**\n   * Returns or sets the distance the pointer must be moved before an action\n   * sequence occurs. This also affects tolerance for tap events.\n   */\n  pointerMoveTolerance(\n    /** The movement from the start position must be greater than this value */\n    newValue?: number,\n  ): InteractStatic | number\n  addDocument(doc: Document, options?: object): void\n  removeDocument(doc: Document): void\n}\n\nexport function createInteractStatic(scope: Scope): InteractStatic {\n  const interact = ((target: Target, options: Options) => {\n    let interactable = scope.interactables.getExisting(target, options)\n\n    if (!interactable) {\n      interactable = scope.interactables.new(target, options)\n      interactable.events.global = interact.globalEvents\n    }\n\n    return interactable\n  }) as InteractStatic\n\n  // expose the functions used to calculate multi-touch properties\n  interact.getPointerAverage = pointerUtils.pointerAverage\n  interact.getTouchBBox = pointerUtils.touchBBox\n  interact.getTouchDistance = pointerUtils.touchDistance\n  interact.getTouchAngle = pointerUtils.touchAngle\n\n  interact.getElementRect = domUtils.getElementRect\n  interact.getElementClientRect = domUtils.getElementClientRect\n  interact.matchesSelector = domUtils.matchesSelector\n  interact.closest = domUtils.closest\n\n  interact.globalEvents = {} as any\n\n  // eslint-disable-next-line no-undef\n  interact.version = process.env.npm_package_version\n  interact.scope = scope\n  interact.use = function (plugin, options) {\n    this.scope.usePlugin(plugin, options)\n\n    return this\n  }\n\n  interact.isSet = function (target: Target, options?: { context?: Context }): boolean {\n    return !!this.scope.interactables.get(target, options && options.context)\n  }\n\n  interact.on = warnOnce(function on(type: string | EventTypes, listener: ListenersArg, options?: object) {\n    if (is.string(type) && type.search(' ') !== -1) {\n      type = type.trim().split(/ +/)\n    }\n\n    if (is.array(type)) {\n      for (const eventType of type as any[]) {\n        this.on(eventType, listener, options)\n      }\n\n      return this\n    }\n\n    if (is.object(type)) {\n      for (const prop in type) {\n        this.on(prop, (type as any)[prop], listener)\n      }\n\n      return this\n    }\n\n    // if it is an InteractEvent type, add listener to globalEvents\n    if (isNonNativeEvent(type, this.scope.actions)) {\n      // if this type of event was never bound\n      if (!this.globalEvents[type]) {\n        this.globalEvents[type] = [listener]\n      } else {\n        this.globalEvents[type].push(listener)\n      }\n    }\n    // If non InteractEvent type, addEventListener to document\n    else {\n      this.scope.events.add(this.scope.document, type, listener as Listener, { options })\n    }\n\n    return this\n  }, 'The interact.on() method is being deprecated')\n\n  interact.off = warnOnce(function off(type: EventTypes, listener: any, options?: object) {\n    if (is.string(type) && type.search(' ') !== -1) {\n      type = type.trim().split(/ +/)\n    }\n\n    if (is.array(type)) {\n      for (const eventType of type) {\n        this.off(eventType, listener, options)\n      }\n\n      return this\n    }\n\n    if (is.object(type)) {\n      for (const prop in type) {\n        this.off(prop, type[prop], listener)\n      }\n\n      return this\n    }\n\n    if (isNonNativeEvent(type, this.scope.actions)) {\n      let index: number\n\n      if (type in this.globalEvents && (index = this.globalEvents[type].indexOf(listener)) !== -1) {\n        this.globalEvents[type].splice(index, 1)\n      }\n    } else {\n      this.scope.events.remove(this.scope.document, type, listener, options)\n    }\n\n    return this\n  }, 'The interact.off() method is being deprecated')\n\n  interact.debug = function () {\n    return this.scope\n  }\n\n  interact.supportsTouch = function () {\n    return browser.supportsTouch\n  }\n\n  interact.supportsPointerEvent = function () {\n    return browser.supportsPointerEvent\n  }\n\n  interact.stop = function () {\n    for (const interaction of this.scope.interactions.list) {\n      interaction.stop()\n    }\n\n    return this\n  }\n\n  interact.pointerMoveTolerance = function (newValue?: number) {\n    if (is.number(newValue)) {\n      this.scope.interactions.pointerMoveTolerance = newValue\n\n      return this\n    }\n\n    return this.scope.interactions.pointerMoveTolerance\n  }\n\n  interact.addDocument = function (doc: Document, options?: object) {\n    this.scope.addDocument(doc, options)\n  }\n\n  interact.removeDocument = function (doc: Document) {\n    this.scope.removeDocument(doc)\n  }\n\n  return interact\n}\n","import browser from '@interactjs/utils/browser'\nimport clone from '@interactjs/utils/clone'\nimport domObjects from '@interactjs/utils/domObjects'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\nimport raf from '@interactjs/utils/raf'\nimport * as win from '@interactjs/utils/window'\n\nimport type Interaction from '@interactjs/core/Interaction'\n\nimport { Eventable } from './Eventable'\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './events'\nimport './interactions'\nimport events from './events'\nimport { Interactable as InteractableBase } from './Interactable'\nimport { InteractableSet } from './InteractableSet'\nimport { InteractEvent } from './InteractEvent'\nimport interactions from './interactions'\n/* eslint-enable import/no-duplicates */\nimport { createInteractStatic } from './InteractStatic'\nimport type { OptionsArg } from './options'\nimport { defaults } from './options'\nimport type { Actions } from './types'\n\nexport interface SignalArgs {\n  'scope:add-document': DocSignalArg\n  'scope:remove-document': DocSignalArg\n  'interactable:unset': { interactable: InteractableBase }\n  'interactable:set': { interactable: InteractableBase; options: OptionsArg }\n  'interactions:destroy': { interaction: Interaction }\n}\n\nexport type ListenerName = keyof SignalArgs\n\nexport type ListenerMap = {\n  [P in ListenerName]?: (arg: SignalArgs[P], scope: Scope, signalName: P) => void | boolean\n}\n\ninterface DocSignalArg {\n  doc: Document\n  window: Window\n  scope: Scope\n  options: Record<string, any>\n}\n\nexport interface Plugin {\n  [key: string]: any\n  id?: string\n  listeners?: ListenerMap\n  before?: string[]\n  install?(scope: Scope, options?: any): void\n}\n\n/** @internal */\nexport class Scope {\n  id = `__interact_scope_${Math.floor(Math.random() * 100)}`\n  isInitialized = false\n  listenerMaps: Array<{\n    map: ListenerMap\n    id?: string\n  }> = []\n\n  browser = browser\n  defaults = clone(defaults) as typeof defaults\n  Eventable = Eventable\n  actions: Actions = {\n    map: {},\n    phases: {\n      start: true,\n      move: true,\n      end: true,\n    },\n    methodDict: {} as any,\n    phaselessTypes: {},\n  }\n\n  interactStatic = createInteractStatic(this)\n  InteractEvent = InteractEvent\n  Interactable: typeof InteractableBase\n  interactables = new InteractableSet(this)\n\n  // main window\n  _win!: Window\n\n  // main document\n  document!: Document\n\n  // main window\n  window!: Window\n\n  // all documents being listened to\n  documents: Array<{ doc: Document; options: any }> = []\n\n  _plugins: {\n    list: Plugin[]\n    map: { [id: string]: Plugin }\n  } = {\n    list: [],\n    map: {},\n  }\n\n  constructor() {\n    const scope = this\n\n    this.Interactable = class extends InteractableBase {\n      get _defaults() {\n        return scope.defaults\n      }\n\n      set<T extends InteractableBase>(this: T, options: OptionsArg) {\n        super.set(options)\n\n        scope.fire('interactable:set', {\n          options,\n          interactable: this,\n        })\n\n        return this\n      }\n\n      unset(this: InteractableBase) {\n        super.unset()\n\n        const index = scope.interactables.list.indexOf(this)\n        if (index < 0) return\n\n        scope.interactables.list.splice(index, 1)\n        scope.fire('interactable:unset', { interactable: this })\n      }\n    }\n  }\n\n  addListeners(map: ListenerMap, id?: string) {\n    this.listenerMaps.push({ id, map })\n  }\n\n  fire<T extends ListenerName>(name: T, arg: SignalArgs[T]): void | false {\n    for (const {\n      map: { [name]: listener },\n    } of this.listenerMaps) {\n      if (!!listener && listener(arg as any, this, name as never) === false) {\n        return false\n      }\n    }\n  }\n\n  onWindowUnload = (event: BeforeUnloadEvent) => this.removeDocument(event.target as Document)\n\n  init(window: Window | typeof globalThis) {\n    return this.isInitialized ? this : initScope(this, window)\n  }\n\n  pluginIsInstalled(plugin: Plugin) {\n    const { id } = plugin\n    return id ? !!this._plugins.map[id] : this._plugins.list.indexOf(plugin) !== -1\n  }\n\n  usePlugin(plugin: Plugin, options?: { [key: string]: any }) {\n    if (!this.isInitialized) {\n      return this\n    }\n\n    if (this.pluginIsInstalled(plugin)) {\n      return this\n    }\n\n    if (plugin.id) {\n      this._plugins.map[plugin.id] = plugin\n    }\n    this._plugins.list.push(plugin)\n\n    if (plugin.install) {\n      plugin.install(this, options)\n    }\n\n    if (plugin.listeners && plugin.before) {\n      let index = 0\n      const len = this.listenerMaps.length\n      const before = plugin.before.reduce((acc, id) => {\n        acc[id] = true\n        acc[pluginIdRoot(id)] = true\n        return acc\n      }, {})\n\n      for (; index < len; index++) {\n        const otherId = this.listenerMaps[index].id\n\n        if (otherId && (before[otherId] || before[pluginIdRoot(otherId)])) {\n          break\n        }\n      }\n\n      this.listenerMaps.splice(index, 0, { id: plugin.id, map: plugin.listeners })\n    } else if (plugin.listeners) {\n      this.listenerMaps.push({ id: plugin.id, map: plugin.listeners })\n    }\n\n    return this\n  }\n\n  addDocument(doc: Document, options?: any): void | false {\n    // do nothing if document is already known\n    if (this.getDocIndex(doc) !== -1) {\n      return false\n    }\n\n    const window = win.getWindow(doc)\n\n    options = options ? extend({}, options) : {}\n\n    this.documents.push({ doc, options })\n    this.events.documents.push(doc)\n\n    // don't add an unload event for the main document\n    // so that the page may be cached in browser history\n    if (doc !== this.document) {\n      this.events.add(window, 'unload', this.onWindowUnload)\n    }\n\n    this.fire('scope:add-document', { doc, window, scope: this, options })\n  }\n\n  removeDocument(doc: Document) {\n    const index = this.getDocIndex(doc)\n\n    const window = win.getWindow(doc)\n    const options = this.documents[index].options\n\n    this.events.remove(window, 'unload', this.onWindowUnload)\n\n    this.documents.splice(index, 1)\n    this.events.documents.splice(index, 1)\n\n    this.fire('scope:remove-document', { doc, window, scope: this, options })\n  }\n\n  getDocIndex(doc: Document) {\n    for (let i = 0; i < this.documents.length; i++) {\n      if (this.documents[i].doc === doc) {\n        return i\n      }\n    }\n\n    return -1\n  }\n\n  getDocOptions(doc: Document) {\n    const docIndex = this.getDocIndex(doc)\n\n    return docIndex === -1 ? null : this.documents[docIndex].options\n  }\n\n  now() {\n    return (((this.window as any).Date as typeof Date) || Date).now()\n  }\n}\n\n// Keep Scope class internal, but expose minimal interface to avoid broken types when Scope is stripped out\nexport interface Scope {\n  fire<T extends ListenerName>(name: T, arg: SignalArgs[T]): void | false\n}\n\n/** @internal */\nexport function initScope(scope: Scope, window: Window | typeof globalThis) {\n  scope.isInitialized = true\n\n  if (is.window(window)) {\n    win.init(window)\n  }\n\n  domObjects.init(window)\n  browser.init(window)\n  raf.init(window)\n\n  // @ts-expect-error\n  scope.window = window\n  scope.document = window.document\n\n  scope.usePlugin(interactions)\n  scope.usePlugin(events)\n\n  return scope\n}\n\nfunction pluginIdRoot(id: string) {\n  return id && id.replace(/\\/.*$/, '')\n}\n","import { Scope } from '@interactjs/core/scope'\n\nconst scope = new Scope()\n\nconst interact = scope.interactStatic\n\nexport default interact\n\nconst _global = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : this\nscope.init(_global)\n","export default () => {}\n","export default () => {}\n","import type { Rect, Point } from '@interactjs/core/types'\nimport type { SnapFunction, SnapTarget } from '@interactjs/modifiers/snap/pointer'\n\nexport interface GridOptionsBase {\n  range?: number\n  limits?: Rect\n  offset?: Point\n}\nexport interface GridOptionsXY extends GridOptionsBase {\n  x: number\n  y: number\n}\nexport interface GridOptionsTopLeft extends GridOptionsBase {\n  top?: number\n  left?: number\n}\nexport interface GridOptionsBottomRight extends GridOptionsBase {\n  bottom?: number\n  right?: number\n}\nexport interface GridOptionsWidthHeight extends GridOptionsBase {\n  width?: number\n  height?: number\n}\n\nexport type GridOptions = GridOptionsXY | GridOptionsTopLeft | GridOptionsBottomRight | GridOptionsWidthHeight\n\nexport default (grid: GridOptions) => {\n  const coordFields = (\n    [\n      ['x', 'y'],\n      ['left', 'top'],\n      ['right', 'bottom'],\n      ['width', 'height'],\n    ] as const\n  ).filter(([xField, yField]) => xField in grid || yField in grid)\n\n  const gridFunc: SnapFunction & {\n    grid: typeof grid\n    coordFields: typeof coordFields\n  } = (x, y) => {\n    const {\n      range,\n      limits = {\n        left: -Infinity,\n        right: Infinity,\n        top: -Infinity,\n        bottom: Infinity,\n      },\n      offset = { x: 0, y: 0 },\n    } = grid\n\n    const result: SnapTarget & {\n      grid: typeof grid\n    } = { range, grid, x: null as number, y: null as number }\n\n    for (const [xField, yField] of coordFields) {\n      const gridx = Math.round((x - offset.x) / (grid as any)[xField])\n      const gridy = Math.round((y - offset.y) / (grid as any)[yField])\n\n      result[xField] = Math.max(limits.left, Math.min(limits.right, gridx * (grid as any)[xField] + offset.x))\n      result[yField] = Math.max(limits.top, Math.min(limits.bottom, gridy * (grid as any)[yField] + offset.y))\n    }\n\n    return result\n  }\n\n  gridFunc.grid = grid\n  gridFunc.coordFields = coordFields\n\n  return gridFunc\n}\n","/* eslint-disable import/no-named-as-default, import/no-unresolved */\nexport { default as edgeTarget } from './edgeTarget'\nexport { default as elements } from './elements'\nexport { default as grid } from './grid'\n","import type { Plugin } from '@interactjs/core/scope'\nimport extend from '@interactjs/utils/extend'\n\nimport * as allSnappers from './all'\n\ndeclare module '@interactjs/core/InteractStatic' {\n  export interface InteractStatic {\n    snappers: typeof allSnappers\n    createSnapGrid: typeof allSnappers.grid\n  }\n}\n\nconst snappersPlugin: Plugin = {\n  id: 'snappers',\n  install(scope) {\n    const { interactStatic: interact } = scope\n\n    interact.snappers = extend(interact.snappers || {}, allSnappers)\n    interact.createSnapGrid = interact.snappers.grid\n  },\n}\n\nexport default snappersPlugin\n","/**\n * @module modifiers/aspectRatio\n *\n * @description\n * This modifier forces elements to be resized with a specified dx/dy ratio.\n *\n * ```js\n * interact(target).resizable({\n *   modifiers: [\n *     interact.modifiers.snapSize({\n *       targets: [ interact.snappers.grid({ x: 20, y: 20 }) ],\n *     }),\n *     interact.aspectRatio({ ratio: 'preserve' }),\n *   ],\n * });\n * ```\n */\n\nimport type { Point, Rect, EdgeOptions } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\nimport { addEdges } from '@interactjs/utils/rect'\n\nimport { makeModifier } from './base'\nimport { Modification } from './Modification'\nimport type { Modifier, ModifierModule, ModifierState } from './types'\n\nexport interface AspectRatioOptions {\n  ratio?: number | 'preserve'\n  equalDelta?: boolean\n  modifiers?: Modifier[]\n  enabled?: boolean\n}\n\nexport type AspectRatioState = ModifierState<\n  AspectRatioOptions,\n  {\n    startCoords: Point\n    startRect: Rect\n    linkedEdges: EdgeOptions\n    ratio: number\n    equalDelta: boolean\n    xIsPrimaryAxis: boolean\n    edgeSign: {\n      x: number\n      y: number\n    }\n    subModification: Modification\n  }\n>\n\nconst aspectRatio: ModifierModule<AspectRatioOptions, AspectRatioState> = {\n  start(arg) {\n    const { state, rect, edges, pageCoords: coords } = arg\n    let { ratio, enabled } = state.options\n    const { equalDelta, modifiers } = state.options\n\n    if (ratio === 'preserve') {\n      ratio = rect.width / rect.height\n    }\n\n    state.startCoords = extend({}, coords)\n    state.startRect = extend({}, rect)\n    state.ratio = ratio\n    state.equalDelta = equalDelta\n\n    const linkedEdges = (state.linkedEdges = {\n      top: edges.top || (edges.left && !edges.bottom),\n      left: edges.left || (edges.top && !edges.right),\n      bottom: edges.bottom || (edges.right && !edges.top),\n      right: edges.right || (edges.bottom && !edges.left),\n    })\n\n    state.xIsPrimaryAxis = !!(edges.left || edges.right)\n\n    if (state.equalDelta) {\n      const sign = (linkedEdges.left ? 1 : -1) * (linkedEdges.top ? 1 : -1)\n      state.edgeSign = {\n        x: sign,\n        y: sign,\n      }\n    } else {\n      state.edgeSign = {\n        x: linkedEdges.left ? -1 : 1,\n        y: linkedEdges.top ? -1 : 1,\n      }\n    }\n\n    if (enabled !== false) {\n      extend(edges, linkedEdges)\n    }\n\n    if (!modifiers?.length) return\n\n    const subModification = new Modification(arg.interaction)\n\n    subModification.copyFrom(arg.interaction.modification)\n    subModification.prepareStates(modifiers)\n\n    state.subModification = subModification\n    subModification.startAll({ ...arg })\n  },\n\n  set(arg) {\n    const { state, rect, coords } = arg\n    const { linkedEdges } = state\n    const initialCoords = extend({}, coords)\n    const aspectMethod = state.equalDelta ? setEqualDelta : setRatio\n\n    extend(arg.edges, linkedEdges)\n    aspectMethod(state, state.xIsPrimaryAxis, coords, rect)\n\n    if (!state.subModification) {\n      return null\n    }\n\n    const correctedRect = extend({}, rect)\n\n    addEdges(linkedEdges, correctedRect, {\n      x: coords.x - initialCoords.x,\n      y: coords.y - initialCoords.y,\n    })\n\n    const result = state.subModification.setAll({\n      ...arg,\n      rect: correctedRect,\n      edges: linkedEdges,\n      pageCoords: coords,\n      prevCoords: coords,\n      prevRect: correctedRect,\n    })\n\n    const { delta } = result\n\n    if (result.changed) {\n      const xIsCriticalAxis = Math.abs(delta.x) > Math.abs(delta.y)\n\n      // do aspect modification again with critical edge axis as primary\n      aspectMethod(state, xIsCriticalAxis, result.coords, result.rect)\n      extend(coords, result.coords)\n    }\n\n    return result.eventProps\n  },\n\n  defaults: {\n    ratio: 'preserve',\n    equalDelta: false,\n    modifiers: [],\n    enabled: false,\n  },\n}\n\nfunction setEqualDelta({ startCoords, edgeSign }: AspectRatioState, xIsPrimaryAxis: boolean, coords: Point) {\n  if (xIsPrimaryAxis) {\n    coords.y = startCoords.y + (coords.x - startCoords.x) * edgeSign.y\n  } else {\n    coords.x = startCoords.x + (coords.y - startCoords.y) * edgeSign.x\n  }\n}\n\nfunction setRatio(\n  { startRect, startCoords, ratio, edgeSign }: AspectRatioState,\n  xIsPrimaryAxis: boolean,\n  coords: Point,\n  rect: Rect,\n) {\n  if (xIsPrimaryAxis) {\n    const newHeight = rect.width / ratio\n\n    coords.y = startCoords.y + (newHeight - startRect.height) * edgeSign.y\n  } else {\n    const newWidth = rect.height * ratio\n\n    coords.x = startCoords.x + (newWidth - startRect.width) * edgeSign.x\n  }\n}\n\nexport default makeModifier(aspectRatio, 'aspectRatio')\nexport { aspectRatio }\n","import type { ModifierFunction } from './types'\n\nconst noop = (() => {}) as unknown as ModifierFunction<any, any, 'noop'>\n\nnoop._defaults = {}\n\nexport default noop\n","import type Interaction from '@interactjs/core/Interaction'\nimport type { RectResolvable, Rect, Point } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\nimport * as rectUtils from '@interactjs/utils/rect'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg, ModifierModule, ModifierState } from '../types'\n\nexport interface RestrictOptions {\n  // where to drag over\n  restriction: RectResolvable<[number, number, Interaction]>\n  // what part of self is allowed to drag over\n  elementRect: Rect\n  offset: Rect\n  // restrict just before the end drag\n  endOnly: boolean\n  enabled?: boolean\n}\n\nexport type RestrictState = ModifierState<\n  RestrictOptions,\n  {\n    offset: Rect\n  }\n>\n\nfunction start({ rect, startOffset, state, interaction, pageCoords }: ModifierArg<RestrictState>) {\n  const { options } = state\n  const { elementRect } = options\n  const offset: Rect = extend(\n    {\n      left: 0,\n      top: 0,\n      right: 0,\n      bottom: 0,\n    },\n    options.offset || {},\n  )\n\n  if (rect && elementRect) {\n    const restriction = getRestrictionRect(options.restriction, interaction, pageCoords)\n\n    if (restriction) {\n      const widthDiff = restriction.right - restriction.left - rect.width\n      const heightDiff = restriction.bottom - restriction.top - rect.height\n\n      if (widthDiff < 0) {\n        offset.left += widthDiff\n        offset.right += widthDiff\n      }\n      if (heightDiff < 0) {\n        offset.top += heightDiff\n        offset.bottom += heightDiff\n      }\n    }\n\n    offset.left += startOffset.left - rect.width * elementRect.left\n    offset.top += startOffset.top - rect.height * elementRect.top\n\n    offset.right += startOffset.right - rect.width * (1 - elementRect.right)\n    offset.bottom += startOffset.bottom - rect.height * (1 - elementRect.bottom)\n  }\n\n  state.offset = offset\n}\n\nfunction set({ coords, interaction, state }: ModifierArg<RestrictState>) {\n  const { options, offset } = state\n\n  const restriction = getRestrictionRect(options.restriction, interaction, coords)\n\n  if (!restriction) return\n\n  const rect = rectUtils.xywhToTlbr(restriction)\n\n  coords.x = Math.max(Math.min(rect.right - offset.right, coords.x), rect.left + offset.left)\n  coords.y = Math.max(Math.min(rect.bottom - offset.bottom, coords.y), rect.top + offset.top)\n}\n\nexport function getRestrictionRect(\n  value: RectResolvable<[number, number, Interaction]>,\n  interaction: Interaction,\n  coords?: Point,\n) {\n  if (is.func(value)) {\n    return rectUtils.resolveRectLike(value, interaction.interactable, interaction.element, [\n      coords.x,\n      coords.y,\n      interaction,\n    ])\n  } else {\n    return rectUtils.resolveRectLike(value, interaction.interactable, interaction.element)\n  }\n}\n\nconst defaults: RestrictOptions = {\n  restriction: null,\n  elementRect: null,\n  offset: null,\n  endOnly: false,\n  enabled: false,\n}\n\nconst restrict: ModifierModule<RestrictOptions, RestrictState> = {\n  start,\n  set,\n  defaults,\n}\n\nexport default makeModifier(restrict, 'restrict')\nexport { restrict }\n","// This modifier adds the options.resize.restrictEdges setting which sets min and\n// max for the top, left, bottom and right edges of the target being resized.\n//\n// interact(target).resize({\n//   edges: { top: true, left: true },\n//   restrictEdges: {\n//     inner: { top: 200, left: 200, right: 400, bottom: 400 },\n//     outer: { top:   0, left:   0, right: 600, bottom: 600 },\n//   },\n// })\n\nimport type { Point, Rect } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\nimport * as rectUtils from '@interactjs/utils/rect'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg, ModifierState } from '../types'\n\nimport type { RestrictOptions } from './pointer'\nimport { getRestrictionRect } from './pointer'\n\nexport interface RestrictEdgesOptions {\n  inner: RestrictOptions['restriction']\n  outer: RestrictOptions['restriction']\n  offset?: RestrictOptions['offset']\n  endOnly: boolean\n  enabled?: boolean\n}\n\nexport type RestrictEdgesState = ModifierState<\n  RestrictEdgesOptions,\n  {\n    inner: Rect\n    outer: Rect\n    offset: RestrictEdgesOptions['offset']\n  }\n>\n\nconst noInner = { top: +Infinity, left: +Infinity, bottom: -Infinity, right: -Infinity }\nconst noOuter = { top: -Infinity, left: -Infinity, bottom: +Infinity, right: +Infinity }\n\nfunction start({ interaction, startOffset, state }: ModifierArg<RestrictEdgesState>) {\n  const { options } = state\n  let offset: Point\n\n  if (options) {\n    const offsetRect = getRestrictionRect(options.offset, interaction, interaction.coords.start.page)\n\n    offset = rectUtils.rectToXY(offsetRect)\n  }\n\n  offset = offset || { x: 0, y: 0 }\n\n  state.offset = {\n    top: offset.y + startOffset.top,\n    left: offset.x + startOffset.left,\n    bottom: offset.y - startOffset.bottom,\n    right: offset.x - startOffset.right,\n  }\n}\n\nfunction set({ coords, edges, interaction, state }: ModifierArg<RestrictEdgesState>) {\n  const { offset, options } = state\n\n  if (!edges) {\n    return\n  }\n\n  const page = extend({}, coords)\n  const inner = getRestrictionRect(options.inner, interaction, page) || ({} as Rect)\n  const outer = getRestrictionRect(options.outer, interaction, page) || ({} as Rect)\n\n  fixRect(inner, noInner)\n  fixRect(outer, noOuter)\n\n  if (edges.top) {\n    coords.y = Math.min(Math.max(outer.top + offset.top, page.y), inner.top + offset.top)\n  } else if (edges.bottom) {\n    coords.y = Math.max(Math.min(outer.bottom + offset.bottom, page.y), inner.bottom + offset.bottom)\n  }\n  if (edges.left) {\n    coords.x = Math.min(Math.max(outer.left + offset.left, page.x), inner.left + offset.left)\n  } else if (edges.right) {\n    coords.x = Math.max(Math.min(outer.right + offset.right, page.x), inner.right + offset.right)\n  }\n}\n\nfunction fixRect(rect: Rect, defaults: Rect) {\n  for (const edge of ['top', 'left', 'bottom', 'right']) {\n    if (!(edge in rect)) {\n      rect[edge] = defaults[edge]\n    }\n  }\n\n  return rect\n}\n\nconst defaults: RestrictEdgesOptions = {\n  inner: null,\n  outer: null,\n  offset: null,\n  endOnly: false,\n  enabled: false,\n}\n\nconst restrictEdges = {\n  noInner,\n  noOuter,\n  start,\n  set,\n  defaults,\n}\n\nexport default makeModifier(restrictEdges, 'restrictEdges')\nexport { restrictEdges }\n","import extend from '@interactjs/utils/extend'\n\nimport { makeModifier } from '../base'\n\nimport { restrict } from './pointer'\n\nconst defaults = extend(\n  {\n    get elementRect() {\n      return { top: 0, left: 0, bottom: 1, right: 1 }\n    },\n    set elementRect(_) {},\n  },\n  restrict.defaults,\n)\n\nconst restrictRect = {\n  start: restrict.start,\n  set: restrict.set,\n  defaults,\n}\n\nexport default makeModifier(restrictRect, 'restrictRect')\nexport { restrictRect }\n","import type { Point, Rect, Size } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\nimport * as rectUtils from '@interactjs/utils/rect'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg, ModifierState } from '../types'\n\nimport type { RestrictEdgesState } from './edges'\nimport { restrictEdges } from './edges'\nimport type { RestrictOptions } from './pointer'\nimport { getRestrictionRect } from './pointer'\n\nconst noMin = { width: -Infinity, height: -Infinity }\nconst noMax = { width: +Infinity, height: +Infinity }\n\nexport interface RestrictSizeOptions {\n  min?: Size | Point | RestrictOptions['restriction']\n  max?: Size | Point | RestrictOptions['restriction']\n  endOnly: boolean\n  enabled?: boolean\n}\n\nfunction start(arg: ModifierArg<RestrictEdgesState>) {\n  return restrictEdges.start(arg)\n}\n\nexport type RestrictSizeState = RestrictEdgesState &\n  ModifierState<\n    RestrictSizeOptions & { inner: Rect; outer: Rect },\n    {\n      min: Rect\n      max: Rect\n    }\n  >\n\nfunction set(arg: ModifierArg<RestrictSizeState>) {\n  const { interaction, state, rect, edges } = arg\n  const { options } = state\n\n  if (!edges) {\n    return\n  }\n\n  const minSize =\n    rectUtils.tlbrToXywh(getRestrictionRect(options.min as any, interaction, arg.coords)) || noMin\n  const maxSize =\n    rectUtils.tlbrToXywh(getRestrictionRect(options.max as any, interaction, arg.coords)) || noMax\n\n  state.options = {\n    endOnly: options.endOnly,\n    inner: extend({}, restrictEdges.noInner),\n    outer: extend({}, restrictEdges.noOuter),\n  }\n\n  if (edges.top) {\n    state.options.inner.top = rect.bottom - minSize.height\n    state.options.outer.top = rect.bottom - maxSize.height\n  } else if (edges.bottom) {\n    state.options.inner.bottom = rect.top + minSize.height\n    state.options.outer.bottom = rect.top + maxSize.height\n  }\n  if (edges.left) {\n    state.options.inner.left = rect.right - minSize.width\n    state.options.outer.left = rect.right - maxSize.width\n  } else if (edges.right) {\n    state.options.inner.right = rect.left + minSize.width\n    state.options.outer.right = rect.left + maxSize.width\n  }\n\n  restrictEdges.set(arg)\n\n  state.options = options\n}\n\nconst defaults: RestrictSizeOptions = {\n  min: null,\n  max: null,\n  endOnly: false,\n  enabled: false,\n}\n\nconst restrictSize = {\n  start,\n  set,\n  defaults,\n}\n\nexport default makeModifier(restrictSize, 'restrictSize')\nexport { restrictSize }\n","import type { Interaction, InteractionProxy } from '@interactjs/core/Interaction'\nimport type { ActionName, Point, RectResolvable, Element } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\nimport getOriginXY from '@interactjs/utils/getOriginXY'\nimport hypot from '@interactjs/utils/hypot'\nimport is from '@interactjs/utils/is'\nimport { resolveRectLike, rectToXY } from '@interactjs/utils/rect'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg, ModifierState } from '../types'\n\nexport interface Offset {\n  x: number\n  y: number\n  index: number\n  relativePoint?: Point | null\n}\n\nexport interface SnapPosition {\n  x?: number\n  y?: number\n  range?: number\n  offset?: Offset\n  [index: string]: any\n}\n\nexport type SnapFunction = (\n  x: number,\n  y: number,\n  interaction: InteractionProxy<ActionName>,\n  offset: Offset,\n  index: number,\n) => SnapPosition\nexport type SnapTarget = SnapPosition | SnapFunction\nexport interface SnapOptions {\n  targets?: SnapTarget[]\n  // target range\n  range?: number\n  // self points for snapping. [0,0] = top left, [1,1] = bottom right\n  relativePoints?: Point[]\n  // startCoords = offset snapping from drag start page position\n  offset?: Point | RectResolvable<[Interaction]> | 'startCoords'\n  offsetWithOrigin?: boolean\n  origin?: RectResolvable<[Element]> | Point\n  endOnly?: boolean\n  enabled?: boolean\n}\n\nexport type SnapState = ModifierState<\n  SnapOptions,\n  {\n    offsets?: Offset[]\n    closest?: any\n    targetFields?: string[][]\n  }\n>\n\nfunction start(arg: ModifierArg<SnapState>) {\n  const { interaction, interactable, element, rect, state, startOffset } = arg\n  const { options } = state\n  const origin = options.offsetWithOrigin ? getOrigin(arg) : { x: 0, y: 0 }\n\n  let snapOffset: Point\n\n  if (options.offset === 'startCoords') {\n    snapOffset = {\n      x: interaction.coords.start.page.x,\n      y: interaction.coords.start.page.y,\n    }\n  } else {\n    const offsetRect = resolveRectLike(options.offset as any, interactable, element, [interaction])\n\n    snapOffset = rectToXY(offsetRect) || { x: 0, y: 0 }\n    snapOffset.x += origin.x\n    snapOffset.y += origin.y\n  }\n\n  const { relativePoints } = options\n\n  state.offsets =\n    rect && relativePoints && relativePoints.length\n      ? relativePoints.map((relativePoint, index) => ({\n          index,\n          relativePoint,\n          x: startOffset.left - rect.width * relativePoint.x + snapOffset.x,\n          y: startOffset.top - rect.height * relativePoint.y + snapOffset.y,\n        }))\n      : [\n          {\n            index: 0,\n            relativePoint: null,\n            x: snapOffset.x,\n            y: snapOffset.y,\n          },\n        ]\n}\n\nfunction set(arg: ModifierArg<SnapState>) {\n  const { interaction, coords, state } = arg\n  const { options, offsets } = state\n\n  const origin = getOriginXY(interaction.interactable!, interaction.element!, interaction.prepared.name)\n  const page = extend({}, coords)\n  const targets: SnapPosition[] = []\n\n  if (!options.offsetWithOrigin) {\n    page.x -= origin.x\n    page.y -= origin.y\n  }\n\n  for (const offset of offsets!) {\n    const relativeX = page.x - offset.x\n    const relativeY = page.y - offset.y\n\n    for (let index = 0, len = options.targets!.length; index < len; index++) {\n      const snapTarget = options.targets![index]\n      let target: SnapPosition\n\n      if (is.func(snapTarget)) {\n        target = snapTarget(relativeX, relativeY, interaction._proxy, offset, index)\n      } else {\n        target = snapTarget\n      }\n\n      if (!target) {\n        continue\n      }\n\n      targets.push({\n        x: (is.number(target.x) ? target.x : relativeX) + offset.x,\n        y: (is.number(target.y) ? target.y : relativeY) + offset.y,\n\n        range: is.number(target.range) ? target.range : options.range,\n        source: snapTarget,\n        index,\n        offset,\n      })\n    }\n  }\n\n  const closest = {\n    target: null,\n    inRange: false,\n    distance: 0,\n    range: 0,\n    delta: { x: 0, y: 0 },\n  }\n\n  for (const target of targets) {\n    const range = target.range\n    const dx = target.x - page.x\n    const dy = target.y - page.y\n    const distance = hypot(dx, dy)\n    let inRange = distance <= range\n\n    // Infinite targets count as being out of range\n    // compared to non infinite ones that are in range\n    if (range === Infinity && closest.inRange && closest.range !== Infinity) {\n      inRange = false\n    }\n\n    if (\n      !closest.target ||\n      (inRange\n        ? // is the closest target in range?\n          closest.inRange && range !== Infinity\n          ? // the pointer is relatively deeper in this target\n            distance / range < closest.distance / closest.range\n          : // this target has Infinite range and the closest doesn't\n            (range === Infinity && closest.range !== Infinity) ||\n            // OR this target is closer that the previous closest\n            distance < closest.distance\n        : // The other is not in range and the pointer is closer to this target\n          !closest.inRange && distance < closest.distance)\n    ) {\n      closest.target = target\n      closest.distance = distance\n      closest.range = range\n      closest.inRange = inRange\n      closest.delta.x = dx\n      closest.delta.y = dy\n    }\n  }\n\n  if (closest.inRange) {\n    coords.x = closest.target.x\n    coords.y = closest.target.y\n  }\n\n  state.closest = closest\n  return closest\n}\n\nfunction getOrigin(arg: Partial<ModifierArg<SnapState>>) {\n  const { element } = arg.interaction\n  const optionsOrigin = rectToXY(resolveRectLike(arg.state.options.origin as any, null, null, [element]))\n  const origin = optionsOrigin || getOriginXY(arg.interactable, element, arg.interaction.prepared.name)\n\n  return origin\n}\n\nconst defaults: SnapOptions = {\n  range: Infinity,\n  targets: null,\n  offset: null,\n  offsetWithOrigin: true,\n  origin: null,\n  relativePoints: null,\n  endOnly: false,\n  enabled: false,\n}\nconst snap = {\n  start,\n  set,\n  defaults,\n}\n\nexport default makeModifier(snap, 'snap')\nexport { snap }\n","// This modifier allows snapping of the size of targets during resize\n// interactions.\n\nimport extend from '@interactjs/utils/extend'\nimport is from '@interactjs/utils/is'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg } from '../types'\n\nimport type { SnapOptions, SnapState } from './pointer'\nimport { snap } from './pointer'\n\nexport type SnapSizeOptions = Pick<SnapOptions, 'targets' | 'offset' | 'endOnly' | 'range' | 'enabled'>\n\nfunction start(arg: ModifierArg<SnapState>) {\n  const { state, edges } = arg\n  const { options } = state\n\n  if (!edges) {\n    return null\n  }\n\n  arg.state = {\n    options: {\n      targets: null,\n      relativePoints: [\n        {\n          x: edges.left ? 0 : 1,\n          y: edges.top ? 0 : 1,\n        },\n      ],\n      offset: options.offset || 'self',\n      origin: { x: 0, y: 0 },\n      range: options.range,\n    },\n  }\n\n  state.targetFields = state.targetFields || [\n    ['width', 'height'],\n    ['x', 'y'],\n  ]\n\n  snap.start(arg)\n  state.offsets = arg.state.offsets\n\n  arg.state = state\n}\n\nfunction set(arg) {\n  const { interaction, state, coords } = arg\n  const { options, offsets } = state\n  const relative = {\n    x: coords.x - offsets[0].x,\n    y: coords.y - offsets[0].y,\n  }\n\n  state.options = extend({}, options)\n  state.options.targets = []\n\n  for (const snapTarget of options.targets || []) {\n    let target\n\n    if (is.func(snapTarget)) {\n      target = snapTarget(relative.x, relative.y, interaction)\n    } else {\n      target = snapTarget\n    }\n\n    if (!target) {\n      continue\n    }\n\n    for (const [xField, yField] of state.targetFields) {\n      if (xField in target || yField in target) {\n        target.x = target[xField]\n        target.y = target[yField]\n\n        break\n      }\n    }\n\n    state.options.targets.push(target)\n  }\n\n  const returnValue = snap.set(arg)\n\n  state.options = options\n\n  return returnValue\n}\n\nconst defaults: SnapSizeOptions = {\n  range: Infinity,\n  targets: null,\n  offset: null,\n  endOnly: false,\n  enabled: false,\n}\n\nconst snapSize = {\n  start,\n  set,\n  defaults,\n}\n\nexport default makeModifier(snapSize, 'snapSize')\nexport { snapSize }\n","/**\n * @module modifiers/snapEdges\n *\n * @description\n * This modifier allows snapping of the edges of targets during resize\n * interactions.\n *\n * ```js\n * interact(target).resizable({\n *   snapEdges: {\n *     targets: [interact.snappers.grid({ x: 100, y: 50 })],\n *   },\n * })\n *\n * interact(target).resizable({\n *   snapEdges: {\n *     targets: [\n *       interact.snappers.grid({\n *        top: 50,\n *        left: 50,\n *        bottom: 100,\n *        right: 100,\n *       }),\n *     ],\n *   },\n * })\n * ```\n */\n\nimport clone from '@interactjs/utils/clone'\nimport extend from '@interactjs/utils/extend'\n\nimport { makeModifier } from '../base'\nimport type { ModifierArg, ModifierModule } from '../types'\n\nimport type { SnapOptions, SnapState } from './pointer'\nimport { snapSize } from './size'\n\nexport type SnapEdgesOptions = Pick<SnapOptions, 'targets' | 'range' | 'offset' | 'endOnly' | 'enabled'>\n\nfunction start(arg: ModifierArg<SnapState>) {\n  const { edges } = arg\n\n  if (!edges) {\n    return null\n  }\n\n  arg.state.targetFields = arg.state.targetFields || [\n    [edges.left ? 'left' : 'right', edges.top ? 'top' : 'bottom'],\n  ]\n\n  return snapSize.start(arg)\n}\n\nconst snapEdges: ModifierModule<SnapEdgesOptions, SnapState, ReturnType<typeof snapSize.set>> = {\n  start,\n  set: snapSize.set,\n  defaults: extend(clone(snapSize.defaults), {\n    targets: undefined,\n    range: undefined,\n    offset: { x: 0, y: 0 },\n  } as const),\n}\n\nexport default makeModifier(snapEdges, 'snapEdges')\nexport { snapEdges }\n","/* eslint-disable n/no-extraneous-import, import/no-unresolved */\nimport aspectRatio from './aspectRatio'\nimport avoid from './avoid/avoid'\nimport restrictEdges from './restrict/edges'\nimport restrict from './restrict/pointer'\nimport restrictRect from './restrict/rect'\nimport restrictSize from './restrict/size'\nimport rubberband from './rubberband/rubberband'\nimport snapEdges from './snap/edges'\nimport snap from './snap/pointer'\nimport snapSize from './snap/size'\nimport spring from './spring/spring'\nimport transform from './transform/transform'\n\nexport default {\n  aspectRatio,\n  restrictEdges,\n  restrict,\n  restrictRect,\n  restrictSize,\n  snapEdges,\n  snap,\n  snapSize,\n\n  spring,\n  avoid,\n  transform,\n  rubberband,\n}\n","import type { Plugin } from '@interactjs/core/scope'\nimport snappers from '@interactjs/snappers/plugin'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './all'\nimport './base'\n\nimport all from './all'\nimport base from './base'\n/* eslint-enable import/no-duplicates */\n\ndeclare module '@interactjs/core/InteractStatic' {\n  export interface InteractStatic {\n    modifiers: typeof all\n  }\n}\n\nconst modifiers: Plugin = {\n  id: 'modifiers',\n  install(scope) {\n    const { interactStatic: interact } = scope\n\n    scope.usePlugin(base)\n    scope.usePlugin(snappers)\n\n    interact.modifiers = all\n\n    // for backwrads compatibility\n    for (const type in all) {\n      const { _defaults, _methods } = all[type as keyof typeof all]\n\n      ;(_defaults as any)._methods = _methods\n      ;(scope.defaults.perAction as any)[type] = _defaults\n    }\n  },\n}\n\nexport default modifiers\n","import { BaseEvent } from '@interactjs/core/BaseEvent'\nimport type Interaction from '@interactjs/core/Interaction'\nimport type { PointerEventType, PointerType, Point } from '@interactjs/core/types'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\n\nexport class PointerEvent<T extends string = any> extends BaseEvent<never> {\n  declare type: T\n  declare originalEvent: PointerEventType\n  declare pointerId: number\n  declare pointerType: string\n  declare double: boolean\n  declare pageX: number\n  declare pageY: number\n  declare clientX: number\n  declare clientY: number\n  declare dt: number\n  declare eventable: any;\n  [key: string]: any\n\n  constructor(\n    type: T,\n    pointer: PointerType | PointerEvent<any>,\n    event: PointerEventType,\n    eventTarget: Node,\n    interaction: Interaction<never>,\n    timeStamp: number,\n  ) {\n    super(interaction)\n    pointerUtils.pointerExtend(this, event)\n\n    if (event !== pointer) {\n      pointerUtils.pointerExtend(this, pointer)\n    }\n\n    this.timeStamp = timeStamp\n    this.originalEvent = event\n    this.type = type\n    this.pointerId = pointerUtils.getPointerId(pointer)\n    this.pointerType = pointerUtils.getPointerType(pointer)\n    this.target = eventTarget\n    this.currentTarget = null\n\n    if (type === 'tap') {\n      const pointerIndex = interaction.getPointerIndex(pointer)\n      this.dt = this.timeStamp - interaction.pointers[pointerIndex].downTime\n\n      const interval = this.timeStamp - interaction.tapTime\n\n      this.double =\n        !!interaction.prevTap &&\n        interaction.prevTap.type !== 'doubletap' &&\n        interaction.prevTap.target === this.target &&\n        interval < 500\n    } else if (type === 'doubletap') {\n      this.dt = (pointer as PointerEvent<'tap'>).timeStamp - interaction.tapTime\n      this.double = true\n    }\n  }\n\n  _subtractOrigin({ x: originX, y: originY }: Point) {\n    this.pageX -= originX\n    this.pageY -= originY\n    this.clientX -= originX\n    this.clientY -= originY\n\n    return this\n  }\n\n  _addOrigin({ x: originX, y: originY }: Point) {\n    this.pageX += originX\n    this.pageY += originY\n    this.clientX += originX\n    this.clientY += originY\n\n    return this\n  }\n\n  /**\n   * Prevent the default behaviour of the original Event\n   */\n  preventDefault() {\n    this.originalEvent.preventDefault()\n  }\n}\n","import type { Eventable } from '@interactjs/core/Eventable'\nimport type { Interaction } from '@interactjs/core/Interaction'\nimport type { PerActionDefaults } from '@interactjs/core/options'\nimport type { Scope, SignalArgs, Plugin } from '@interactjs/core/scope'\nimport type { Point, PointerType, PointerEventType, Element } from '@interactjs/core/types'\nimport * as domUtils from '@interactjs/utils/domUtils'\nimport extend from '@interactjs/utils/extend'\nimport getOriginXY from '@interactjs/utils/getOriginXY'\n\nimport { PointerEvent } from './PointerEvent'\n\nexport type EventTargetList = Array<{\n  node: Node\n  eventable: Eventable\n  props: { [key: string]: any }\n}>\n\nexport interface PointerEventOptions extends PerActionDefaults {\n  enabled?: undefined // not used\n  holdDuration?: number\n  ignoreFrom?: any\n  allowFrom?: any\n  origin?: Point | string | Element\n}\n\ndeclare module '@interactjs/core/scope' {\n  interface Scope {\n    pointerEvents: typeof pointerEvents\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    prevTap?: PointerEvent<string>\n    tapTime?: number\n  }\n}\n\ndeclare module '@interactjs/core/PointerInfo' {\n  interface PointerInfo {\n    hold?: {\n      duration: number\n      timeout: any\n    }\n  }\n}\n\ndeclare module '@interactjs/core/options' {\n  interface ActionDefaults {\n    pointerEvents: Options\n  }\n}\n\ndeclare module '@interactjs/core/scope' {\n  interface SignalArgs {\n    'pointerEvents:new': { pointerEvent: PointerEvent<any> }\n    'pointerEvents:fired': {\n      interaction: Interaction<null>\n      pointer: PointerType | PointerEvent<any>\n      event: PointerEventType | PointerEvent<any>\n      eventTarget: Node\n      pointerEvent: PointerEvent<any>\n      targets?: EventTargetList\n      type: string\n    }\n    'pointerEvents:collect-targets': {\n      interaction: Interaction<any>\n      pointer: PointerType | PointerEvent<any>\n      event: PointerEventType | PointerEvent<any>\n      eventTarget: Node\n      targets?: EventTargetList\n      type: string\n      path: Node[]\n      node: null\n    }\n  }\n}\n\nconst defaults: PointerEventOptions = {\n  holdDuration: 600,\n  ignoreFrom: null,\n  allowFrom: null,\n  origin: { x: 0, y: 0 },\n}\n\nconst pointerEvents: Plugin = {\n  id: 'pointer-events/base',\n  before: ['inertia', 'modifiers', 'auto-start', 'actions'],\n  install,\n  listeners: {\n    'interactions:new': addInteractionProps,\n    'interactions:update-pointer': addHoldInfo,\n    'interactions:move': moveAndClearHold,\n    'interactions:down': (arg, scope) => {\n      downAndStartHold(arg, scope)\n      fire(arg, scope)\n    },\n    'interactions:up': (arg, scope) => {\n      clearHold(arg)\n      fire(arg, scope)\n      tapAfterUp(arg, scope)\n    },\n    'interactions:cancel': (arg, scope) => {\n      clearHold(arg)\n      fire(arg, scope)\n    },\n  },\n  PointerEvent,\n  fire,\n  collectEventTargets,\n  defaults,\n  types: {\n    down: true,\n    move: true,\n    up: true,\n    cancel: true,\n    tap: true,\n    doubletap: true,\n    hold: true,\n  } as { [type: string]: true },\n}\n\nfunction fire<T extends string>(\n  arg: {\n    pointer: PointerType | PointerEvent<any>\n    event: PointerEventType | PointerEvent<any>\n    eventTarget: Node\n    interaction: Interaction<never>\n    type: T\n    targets?: EventTargetList\n  },\n  scope: Scope,\n) {\n  const { interaction, pointer, event, eventTarget, type, targets = collectEventTargets(arg, scope) } = arg\n\n  const pointerEvent = new PointerEvent(type, pointer, event, eventTarget, interaction, scope.now())\n\n  scope.fire('pointerEvents:new', { pointerEvent })\n\n  const signalArg = {\n    interaction,\n    pointer,\n    event,\n    eventTarget,\n    targets,\n    type,\n    pointerEvent,\n  }\n\n  for (let i = 0; i < targets.length; i++) {\n    const target = targets[i]\n\n    for (const prop in target.props || {}) {\n      ;(pointerEvent as any)[prop] = target.props[prop]\n    }\n\n    const origin = getOriginXY(target.eventable, target.node)\n\n    pointerEvent._subtractOrigin(origin)\n    pointerEvent.eventable = target.eventable\n    pointerEvent.currentTarget = target.node\n\n    target.eventable.fire(pointerEvent)\n\n    pointerEvent._addOrigin(origin)\n\n    if (\n      pointerEvent.immediatePropagationStopped ||\n      (pointerEvent.propagationStopped &&\n        i + 1 < targets.length &&\n        targets[i + 1].node !== pointerEvent.currentTarget)\n    ) {\n      break\n    }\n  }\n\n  scope.fire('pointerEvents:fired', signalArg)\n\n  if (type === 'tap') {\n    // if pointerEvent should make a double tap, create and fire a doubletap\n    // PointerEvent and use that as the prevTap\n    const prevTap = pointerEvent.double\n      ? fire(\n          {\n            interaction,\n            pointer,\n            event,\n            eventTarget,\n            type: 'doubletap',\n          },\n          scope,\n        )\n      : pointerEvent\n\n    interaction.prevTap = prevTap\n    interaction.tapTime = prevTap.timeStamp\n  }\n\n  return pointerEvent\n}\n\nfunction collectEventTargets<T extends string>(\n  {\n    interaction,\n    pointer,\n    event,\n    eventTarget,\n    type,\n  }: {\n    interaction: Interaction<any>\n    pointer: PointerType | PointerEvent<any>\n    event: PointerEventType | PointerEvent<any>\n    eventTarget: Node\n    type: T\n  },\n  scope: Scope,\n) {\n  const pointerIndex = interaction.getPointerIndex(pointer)\n  const pointerInfo = interaction.pointers[pointerIndex]\n\n  // do not fire a tap event if the pointer was moved before being lifted\n  if (\n    type === 'tap' &&\n    (interaction.pointerWasMoved ||\n      // or if the pointerup target is different to the pointerdown target\n      !(pointerInfo && pointerInfo.downTarget === eventTarget))\n  ) {\n    return []\n  }\n\n  const path = domUtils.getPath(eventTarget as Element | Document)\n  const signalArg = {\n    interaction,\n    pointer,\n    event,\n    eventTarget,\n    type,\n    path,\n    targets: [] as EventTargetList,\n    node: null,\n  }\n\n  for (const node of path) {\n    signalArg.node = node\n\n    scope.fire('pointerEvents:collect-targets', signalArg)\n  }\n\n  if (type === 'hold') {\n    signalArg.targets = signalArg.targets.filter(\n      (target) =>\n        target.eventable.options.holdDuration === interaction.pointers[pointerIndex]?.hold?.duration,\n    )\n  }\n\n  return signalArg.targets\n}\n\nfunction addInteractionProps({ interaction }) {\n  interaction.prevTap = null // the most recent tap event on this interaction\n  interaction.tapTime = 0 // time of the most recent tap event\n}\n\nfunction addHoldInfo({ down, pointerInfo }: SignalArgs['interactions:update-pointer']) {\n  if (!down && pointerInfo.hold) {\n    return\n  }\n\n  pointerInfo.hold = { duration: Infinity, timeout: null }\n}\n\nfunction clearHold({ interaction, pointerIndex }) {\n  const hold = interaction.pointers[pointerIndex].hold\n\n  if (hold && hold.timeout) {\n    clearTimeout(hold.timeout)\n    hold.timeout = null\n  }\n}\n\nfunction moveAndClearHold(arg: SignalArgs['interactions:move'], scope: Scope) {\n  const { interaction, pointer, event, eventTarget, duplicate } = arg\n\n  if (!duplicate && (!interaction.pointerIsDown || interaction.pointerWasMoved)) {\n    if (interaction.pointerIsDown) {\n      clearHold(arg)\n    }\n\n    fire(\n      {\n        interaction,\n        pointer,\n        event,\n        eventTarget: eventTarget as Element,\n        type: 'move',\n      },\n      scope,\n    )\n  }\n}\n\nfunction downAndStartHold(\n  { interaction, pointer, event, eventTarget, pointerIndex }: SignalArgs['interactions:down'],\n  scope: Scope,\n) {\n  const timer = interaction.pointers[pointerIndex].hold!\n  const path = domUtils.getPath(eventTarget as Element | Document)\n  const signalArg = {\n    interaction,\n    pointer,\n    event,\n    eventTarget,\n    type: 'hold',\n    targets: [] as EventTargetList,\n    path,\n    node: null,\n  }\n\n  for (const node of path) {\n    signalArg.node = node\n\n    scope.fire('pointerEvents:collect-targets', signalArg)\n  }\n\n  if (!signalArg.targets.length) return\n\n  let minDuration = Infinity\n\n  for (const target of signalArg.targets) {\n    const holdDuration = target.eventable.options.holdDuration\n\n    if (holdDuration < minDuration) {\n      minDuration = holdDuration\n    }\n  }\n\n  timer.duration = minDuration\n  timer.timeout = setTimeout(() => {\n    fire(\n      {\n        interaction,\n        eventTarget,\n        pointer,\n        event,\n        type: 'hold',\n      },\n      scope,\n    )\n  }, minDuration)\n}\n\nfunction tapAfterUp(\n  { interaction, pointer, event, eventTarget }: SignalArgs['interactions:up'],\n  scope: Scope,\n) {\n  if (!interaction.pointerWasMoved) {\n    fire({ interaction, eventTarget, pointer, event, type: 'tap' }, scope)\n  }\n}\n\nfunction install(scope: Scope) {\n  scope.pointerEvents = pointerEvents\n  scope.defaults.actions.pointerEvents = pointerEvents.defaults\n  extend(scope.actions.phaselessTypes, pointerEvents.types)\n}\n\nexport default pointerEvents\n","import type Interaction from '@interactjs/core/Interaction'\nimport type { ListenerMap, Scope, SignalArgs, Plugin } from '@interactjs/core/scope'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './base'\nimport basePlugin from './base'\n/* eslint-enable import/no-duplicates */\nimport { type PointerEvent } from './PointerEvent'\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    holdIntervalHandle?: any\n  }\n}\n\ndeclare module '@interactjs/pointer-events/PointerEvent' {\n  interface PointerEvent<T extends string = any> {\n    count?: number\n  }\n}\n\ndeclare module '@interactjs/pointer-events/base' {\n  interface PointerEventOptions {\n    holdRepeatInterval?: number\n  }\n}\n\nfunction install(scope: Scope) {\n  scope.usePlugin(basePlugin)\n\n  const { pointerEvents } = scope\n\n  // don't repeat by default\n  pointerEvents.defaults.holdRepeatInterval = 0\n  pointerEvents.types.holdrepeat = scope.actions.phaselessTypes.holdrepeat = true\n}\n\nfunction onNew({ pointerEvent }: { pointerEvent: PointerEvent<any> }) {\n  if (pointerEvent.type !== 'hold') return\n\n  pointerEvent.count = (pointerEvent.count || 0) + 1\n}\n\nfunction onFired(\n  { interaction, pointerEvent, eventTarget, targets }: SignalArgs['pointerEvents:fired'],\n  scope: Scope,\n) {\n  if (pointerEvent.type !== 'hold' || !targets.length) return\n\n  // get the repeat interval from the first eventable\n  const interval = targets[0].eventable.options.holdRepeatInterval\n\n  // don't repeat if the interval is 0 or less\n  if (interval <= 0) return\n\n  // set a timeout to fire the holdrepeat event\n  interaction.holdIntervalHandle = setTimeout(() => {\n    scope.pointerEvents.fire(\n      {\n        interaction,\n        eventTarget,\n        type: 'hold',\n        pointer: pointerEvent,\n        event: pointerEvent,\n      },\n      scope,\n    )\n  }, interval)\n}\n\nfunction endHoldRepeat({ interaction }: { interaction: Interaction }) {\n  // set the interaction's holdStopTime property\n  // to stop further holdRepeat events\n  if (interaction.holdIntervalHandle) {\n    clearInterval(interaction.holdIntervalHandle)\n    interaction.holdIntervalHandle = null\n  }\n}\n\nconst holdRepeat: Plugin = {\n  id: 'pointer-events/holdRepeat',\n  install,\n  listeners: ['move', 'up', 'cancel', 'endall'].reduce(\n    (acc, enderTypes) => {\n      ;(acc as any)[`pointerEvents:${enderTypes}`] = endHoldRepeat\n      return acc\n    },\n    {\n      'pointerEvents:new': onNew,\n      'pointerEvents:fired': onFired,\n    } as ListenerMap,\n  ),\n}\n\nexport default holdRepeat\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { Element } from '@interactjs/core/types'\nimport extend from '@interactjs/utils/extend'\n\nimport type { PointerEventOptions } from '@interactjs/pointer-events/base'\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    pointerEvents(options: Partial<PointerEventOptions>): this\n    /** @internal */\n    __backCompatOption: (optionName: string, newValue: any) => any\n  }\n}\n\nfunction install(scope: Scope) {\n  const { Interactable } = scope\n\n  Interactable.prototype.pointerEvents = function (\n    this: Interactable,\n    options: Partial<PointerEventOptions>,\n  ) {\n    extend(this.events.options, options)\n\n    return this\n  }\n\n  const __backCompatOption = Interactable.prototype._backCompatOption\n\n  Interactable.prototype._backCompatOption = function (optionName, newValue) {\n    const ret = __backCompatOption.call(this, optionName, newValue)\n\n    if (ret === this) {\n      this.events.options[optionName] = newValue\n    }\n\n    return ret\n  }\n}\n\nconst plugin: Plugin = {\n  id: 'pointer-events/interactableTargets',\n  install,\n  listeners: {\n    'pointerEvents:collect-targets': ({ targets, node, type, eventTarget }, scope) => {\n      scope.interactables.forEachMatch(node, (interactable: Interactable) => {\n        const eventable = interactable.events\n        const options = eventable.options\n\n        if (\n          eventable.types[type] &&\n          eventable.types[type].length &&\n          interactable.testIgnoreAllow(options, node, eventTarget)\n        ) {\n          targets.push({\n            node,\n            eventable,\n            props: { interactable },\n          })\n        }\n      })\n    },\n\n    'interactable:new': ({ interactable }) => {\n      interactable.events.getRect = function (element: Element) {\n        return interactable.getRect(element)\n      }\n    },\n\n    'interactable:set': ({ interactable, options }, scope) => {\n      extend(interactable.events.options, scope.pointerEvents.defaults)\n      extend(interactable.events.options, options.pointerEvents || {})\n    },\n  },\n}\n\nexport default plugin\n","import type { Plugin } from '@interactjs/core/scope'\n\n/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport './base'\nimport './holdRepeat'\nimport './interactableTargets'\n\nimport * as pointerEvents from './base'\nimport holdRepeat from './holdRepeat'\nimport interactableTargets from './interactableTargets'\n/* eslint-enable import/no-duplicates */\n\nconst plugin: Plugin = {\n  id: 'pointer-events',\n  install(scope) {\n    scope.usePlugin(pointerEvents)\n    scope.usePlugin(holdRepeat)\n    scope.usePlugin(interactableTargets)\n  },\n}\n\nexport default plugin\n","import type { Interactable } from '@interactjs/core/Interactable'\nimport type { DoAnyPhaseArg, Interaction } from '@interactjs/core/Interaction'\nimport type { Scope, Plugin } from '@interactjs/core/scope'\nimport type { ActionName, ActionProps, Element } from '@interactjs/core/types'\nimport * as arr from '@interactjs/utils/arr'\nimport { copyAction } from '@interactjs/utils/misc'\nimport * as pointerUtils from '@interactjs/utils/pointerUtils'\nimport { tlbrToXywh } from '@interactjs/utils/rect'\n\ndeclare module '@interactjs/core/scope' {\n  interface SignalArgs {\n    'interactions:before-action-reflow': Omit<DoAnyPhaseArg, 'iEvent'>\n    'interactions:action-reflow': DoAnyPhaseArg\n    'interactions:after-action-reflow': DoAnyPhaseArg\n  }\n}\n\ndeclare module '@interactjs/core/Interactable' {\n  interface Interactable {\n    /**\n     * ```js\n     * const interactable = interact(target)\n     * const drag = { name: drag, axis: 'x' }\n     * const resize = { name: resize, edges: { left: true, bottom: true }\n     *\n     * interactable.reflow(drag)\n     * interactable.reflow(resize)\n     * ```\n     *\n     * Start an action sequence to re-apply modifiers, check drops, etc.\n     *\n     * @param { Object } action The action to begin\n     * @param { string } action.name The name of the action\n     * @returns { Promise } A promise that resolves to the `Interactable` when actions on all targets have ended\n     */\n    reflow<T extends ActionName>(action: ActionProps<T>): ReturnType<typeof doReflow>\n  }\n}\n\ndeclare module '@interactjs/core/Interaction' {\n  interface Interaction {\n    _reflowPromise: Promise<void>\n    _reflowResolve: (...args: unknown[]) => void\n  }\n}\n\ndeclare module '@interactjs/core/InteractEvent' {\n  interface PhaseMap {\n    reflow?: true\n  }\n}\n\nfunction install(scope: Scope) {\n  const { Interactable } = scope\n\n  scope.actions.phases.reflow = true\n\n  Interactable.prototype.reflow = function (action: ActionProps) {\n    return doReflow(this, action, scope)\n  }\n}\n\nfunction doReflow<T extends ActionName>(\n  interactable: Interactable,\n  action: ActionProps<T>,\n  scope: Scope,\n): Promise<Interactable> {\n  const elements = interactable.getAllElements()\n\n  // tslint:disable-next-line variable-name\n  const Promise = (scope.window as any).Promise\n  const promises: Array<Promise<null>> | null = Promise ? [] : null\n\n  for (const element of elements) {\n    const rect = interactable.getRect(element as HTMLElement | SVGElement)\n\n    if (!rect) {\n      break\n    }\n\n    const runningInteraction = arr.find(scope.interactions.list, (interaction: Interaction) => {\n      return (\n        interaction.interacting() &&\n        interaction.interactable === interactable &&\n        interaction.element === element &&\n        interaction.prepared.name === action.name\n      )\n    })\n    let reflowPromise: Promise<null>\n\n    if (runningInteraction) {\n      runningInteraction.move()\n\n      if (promises) {\n        reflowPromise =\n          runningInteraction._reflowPromise ||\n          new Promise((resolve: any) => {\n            runningInteraction._reflowResolve = resolve\n          })\n      }\n    } else {\n      const xywh = tlbrToXywh(rect)\n      const coords = {\n        page: { x: xywh.x, y: xywh.y },\n        client: { x: xywh.x, y: xywh.y },\n        timeStamp: scope.now(),\n      }\n\n      const event = pointerUtils.coordsToEvent(coords)\n      reflowPromise = startReflow<T>(scope, interactable, element, action, event)\n    }\n\n    if (promises) {\n      promises.push(reflowPromise)\n    }\n  }\n\n  return promises && Promise.all(promises).then(() => interactable)\n}\n\nfunction startReflow<T extends ActionName>(\n  scope: Scope,\n  interactable: Interactable,\n  element: Element,\n  action: ActionProps<T>,\n  event: any,\n) {\n  const interaction = scope.interactions.new({ pointerType: 'reflow' })\n  const signalArg = {\n    interaction,\n    event,\n    pointer: event,\n    eventTarget: element,\n    phase: 'reflow',\n  } as const\n\n  interaction.interactable = interactable\n  interaction.element = element\n  interaction.prevEvent = event\n  interaction.updatePointer(event, event, element, true)\n  pointerUtils.setZeroCoords(interaction.coords.delta)\n\n  copyAction(interaction.prepared, action)\n  interaction._doPhase(signalArg)\n\n  const { Promise } = scope.window as unknown as { Promise: PromiseConstructor }\n  const reflowPromise = Promise\n    ? new Promise<undefined>((resolve) => {\n        interaction._reflowResolve = resolve\n      })\n    : undefined\n\n  interaction._reflowPromise = reflowPromise\n  interaction.start(action, interactable, element)\n\n  if (interaction._interacting) {\n    interaction.move(signalArg)\n    interaction.end(event)\n  } else {\n    interaction.stop()\n    interaction._reflowResolve()\n  }\n\n  interaction.removePointer(event, event)\n\n  return reflowPromise\n}\n\nconst reflow: Plugin = {\n  id: 'reflow',\n  install,\n  listeners: {\n    // remove completed reflow interactions\n    'interactions:stop': ({ interaction }, scope) => {\n      if (interaction.pointerType === 'reflow') {\n        if (interaction._reflowResolve) {\n          interaction._reflowResolve()\n        }\n\n        arr.remove(scope.interactions.list, interaction)\n      }\n    },\n  },\n}\n\nexport default reflow\n","/* eslint-disable import/no-duplicates -- for typescript module augmentations */\nimport '@interactjs/actions/plugin'\nimport '@interactjs/auto-scroll/plugin'\nimport '@interactjs/auto-start/plugin'\nimport '@interactjs/core/interactablePreventDefault'\nimport '@interactjs/dev-tools/plugin'\nimport '@interactjs/inertia/plugin'\nimport '@interactjs/interact'\nimport '@interactjs/modifiers/plugin'\nimport '@interactjs/offset/plugin'\nimport '@interactjs/pointer-events/plugin'\nimport '@interactjs/reflow/plugin'\n\nimport actions from '@interactjs/actions/plugin'\nimport autoScroll from '@interactjs/auto-scroll/plugin'\nimport autoStart from '@interactjs/auto-start/plugin'\nimport interactablePreventDefault from '@interactjs/core/interactablePreventDefault'\nimport devTools from '@interactjs/dev-tools/plugin'\nimport inertia from '@interactjs/inertia/plugin'\nimport interact from '@interactjs/interact'\nimport modifiers from '@interactjs/modifiers/plugin'\nimport offset from '@interactjs/offset/plugin'\nimport pointerEvents from '@interactjs/pointer-events/plugin'\nimport reflow from '@interactjs/reflow/plugin'\n/* eslint-enable import/no-duplicates */\n\ninteract.use(interactablePreventDefault)\n\ninteract.use(offset)\n\n// pointerEvents\ninteract.use(pointerEvents)\n\n// inertia\ninteract.use(inertia)\n\n// snap, resize, etc.\ninteract.use(modifiers)\n\n// autoStart, hold\ninteract.use(autoStart)\n\n// drag and drop, resize, gesture\ninteract.use(actions)\n\n// autoScroll\ninteract.use(autoScroll)\n\n// reflow\ninteract.use(reflow)\n\n// eslint-disable-next-line no-undef\nif (process.env.NODE_ENV !== 'production') {\n  interact.use(devTools)\n}\n\nexport default interact\n;(interact as any).default = interact\n","// eslint-disable-next-line import/no-extraneous-dependencies\nimport interact from '@interactjs/interactjs'\n\nexport default interact\n\nif (typeof module === 'object' && !!module) {\n  try {\n    module.exports = interact\n  } catch {}\n}\n\n;(interact as any).default = interact\n","/* globals interact */\n\ndefine('interact', [], function() {\n  'use strict';\n\n  return {\n    'default': interact\n  };\n});\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=e||self).Sweetalert2=t()}(this,function(){\"use strict\";const D=\"SweetAlert2:\",q=e=>e.charAt(0).toUpperCase()+e.slice(1),r=e=>{console.warn(\"\".concat(D,\" \").concat(\"object\"==typeof e?e.join(\" \"):e))},l=e=>{console.error(\"\".concat(D,\" \").concat(e))},V=[],N=(e,t)=>{e='\"'.concat(e,'\" is deprecated and will be removed in the next major release. Please use \"').concat(t,'\" instead.'),V.includes(e)||(V.push(e),r(e))},R=e=>\"function\"==typeof e?e():e,F=e=>e&&\"function\"==typeof e.toPromise,u=e=>F(e)?e.toPromise():Promise.resolve(e),U=e=>e&&Promise.resolve(e)===e;const i={title:\"\",titleText:\"\",text:\"\",html:\"\",footer:\"\",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:\"swal2-show\",backdrop:\"swal2-backdrop-show\",icon:\"swal2-icon-show\"},hideClass:{popup:\"swal2-hide\",backdrop:\"swal2-backdrop-hide\",icon:\"swal2-icon-hide\"},customClass:{},target:\"body\",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:\"OK\",confirmButtonAriaLabel:\"\",confirmButtonColor:void 0,denyButtonText:\"No\",denyButtonAriaLabel:\"\",denyButtonColor:void 0,cancelButtonText:\"Cancel\",cancelButtonAriaLabel:\"\",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:\"&times;\",closeButtonAriaLabel:\"Close this dialog\",loaderHtml:\"\",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:\"\",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:\"\",inputLabel:\"\",inputValue:\"\",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:\"center\",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},W=[\"allowEscapeKey\",\"allowOutsideClick\",\"background\",\"buttonsStyling\",\"cancelButtonAriaLabel\",\"cancelButtonColor\",\"cancelButtonText\",\"closeButtonAriaLabel\",\"closeButtonHtml\",\"color\",\"confirmButtonAriaLabel\",\"confirmButtonColor\",\"confirmButtonText\",\"currentProgressStep\",\"customClass\",\"denyButtonAriaLabel\",\"denyButtonColor\",\"denyButtonText\",\"didClose\",\"didDestroy\",\"footer\",\"hideClass\",\"html\",\"icon\",\"iconColor\",\"iconHtml\",\"imageAlt\",\"imageHeight\",\"imageUrl\",\"imageWidth\",\"preConfirm\",\"preDeny\",\"progressSteps\",\"returnFocus\",\"reverseButtons\",\"showCancelButton\",\"showCloseButton\",\"showConfirmButton\",\"showDenyButton\",\"text\",\"title\",\"titleText\",\"willClose\"],z={},K=[\"allowOutsideClick\",\"allowEnterKey\",\"backdrop\",\"focusConfirm\",\"focusDeny\",\"focusCancel\",\"returnFocus\",\"heightAuto\",\"keydownListenerCapture\"],_=e=>Object.prototype.hasOwnProperty.call(i,e),Y=e=>-1!==W.indexOf(e),Z=e=>z[e],X=e=>{!e.backdrop&&e.allowOutsideClick&&r('\"allowOutsideClick\" parameter requires `backdrop` parameter to be set to `true`');for(const n in e)t=n,_(t)||r('Unknown parameter \"'.concat(t,'\"')),e.toast&&(t=n,K.includes(t)&&r('The parameter \"'.concat(t,'\" is incompatible with toasts'))),t=n,Z(t)&&N(t,Z(t));var t};var e=e=>{const t={};for(const n in e)t[e[n]]=\"swal2-\"+e[n];return t};const p=e([\"container\",\"shown\",\"height-auto\",\"iosfix\",\"popup\",\"modal\",\"no-backdrop\",\"no-transition\",\"toast\",\"toast-shown\",\"show\",\"hide\",\"close\",\"title\",\"html-container\",\"actions\",\"confirm\",\"deny\",\"cancel\",\"default-outline\",\"footer\",\"icon\",\"icon-content\",\"image\",\"input\",\"file\",\"range\",\"select\",\"radio\",\"checkbox\",\"label\",\"textarea\",\"inputerror\",\"input-label\",\"validation-message\",\"progress-steps\",\"active-progress-step\",\"progress-step\",\"progress-step-line\",\"loader\",\"loading\",\"styled\",\"top\",\"top-start\",\"top-end\",\"top-left\",\"top-right\",\"center\",\"center-start\",\"center-end\",\"center-left\",\"center-right\",\"bottom\",\"bottom-start\",\"bottom-end\",\"bottom-left\",\"bottom-right\",\"grow-row\",\"grow-column\",\"grow-fullscreen\",\"rtl\",\"timer-progress-bar\",\"timer-progress-bar-container\",\"scrollbar-measure\",\"icon-success\",\"icon-warning\",\"icon-info\",\"icon-question\",\"icon-error\",\"no-war\"]),o=e([\"success\",\"warning\",\"info\",\"question\",\"error\"]),m=()=>document.body.querySelector(\".\".concat(p.container)),t=e=>{const t=m();return t?t.querySelector(e):null},n=e=>t(\".\".concat(e)),g=()=>n(p.popup),$=()=>n(p.icon),J=()=>n(p.title),G=()=>n(p[\"html-container\"]),Q=()=>n(p.image),ee=()=>n(p[\"progress-steps\"]),te=()=>n(p[\"validation-message\"]),h=()=>t(\".\".concat(p.actions,\" .\").concat(p.confirm)),f=()=>t(\".\".concat(p.actions,\" .\").concat(p.deny));const d=()=>t(\".\".concat(p.loader)),b=()=>t(\".\".concat(p.actions,\" .\").concat(p.cancel)),ne=()=>n(p.actions),oe=()=>n(p.footer),ie=()=>n(p[\"timer-progress-bar\"]),re=()=>n(p.close),ae=()=>{const e=Array.from(g().querySelectorAll('[tabindex]:not([tabindex=\"-1\"]):not([tabindex=\"0\"])')).sort((e,t)=>{e=parseInt(e.getAttribute(\"tabindex\")),t=parseInt(t.getAttribute(\"tabindex\"));return t<e?1:e<t?-1:0});var t=Array.from(g().querySelectorAll('\\n  a[href],\\n  area[href],\\n  input:not([disabled]),\\n  select:not([disabled]),\\n  textarea:not([disabled]),\\n  button:not([disabled]),\\n  iframe,\\n  object,\\n  embed,\\n  [tabindex=\"0\"],\\n  [contenteditable],\\n  audio[controls],\\n  video[controls],\\n  summary\\n')).filter(e=>\"-1\"!==e.getAttribute(\"tabindex\"));return(t=>{const n=[];for(let e=0;e<t.length;e++)-1===n.indexOf(t[e])&&n.push(t[e]);return n})(e.concat(t)).filter(e=>P(e))},se=()=>s(document.body,p.shown)&&!s(document.body,p[\"toast-shown\"])&&!s(document.body,p[\"no-backdrop\"]),ce=()=>g()&&s(g(),p.toast);function le(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1];const n=ie();P(n)&&(t&&(n.style.transition=\"none\",n.style.width=\"100%\"),setTimeout(()=>{n.style.transition=\"width \".concat(e/1e3,\"s linear\"),n.style.width=\"0%\"},10))}const a={previousBodyPadding:null},y=(t,e)=>{if(t.textContent=\"\",e){const n=new DOMParser,o=n.parseFromString(e,\"text/html\");Array.from(o.querySelector(\"head\").childNodes).forEach(e=>{t.appendChild(e)}),Array.from(o.querySelector(\"body\").childNodes).forEach(e=>{t.appendChild(e)})}},s=(t,e)=>{if(!e)return!1;var n=e.split(/\\s+/);for(let e=0;e<n.length;e++)if(!t.classList.contains(n[e]))return!1;return!0},ue=(t,n)=>{Array.from(t.classList).forEach(e=>{Object.values(p).includes(e)||Object.values(o).includes(e)||Object.values(n.showClass).includes(e)||t.classList.remove(e)})},v=(e,t,n)=>{if(ue(e,t),t.customClass&&t.customClass[n]){if(\"string\"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return r(\"Invalid type of customClass.\".concat(n,'! Expected string or iterable object, got \"').concat(typeof t.customClass[n],'\"'));w(e,t.customClass[n])}},de=(e,t)=>{if(!t)return null;switch(t){case\"select\":case\"textarea\":case\"file\":return e.querySelector(\".\".concat(p.popup,\" > .\").concat(p[t]));case\"checkbox\":return e.querySelector(\".\".concat(p.popup,\" > .\").concat(p.checkbox,\" input\"));case\"radio\":return e.querySelector(\".\".concat(p.popup,\" > .\").concat(p.radio,\" input:checked\"))||e.querySelector(\".\".concat(p.popup,\" > .\").concat(p.radio,\" input:first-child\"));case\"range\":return e.querySelector(\".\".concat(p.popup,\" > .\").concat(p.range,\" input\"));default:return e.querySelector(\".\".concat(p.popup,\" > .\").concat(p.input))}},pe=e=>{var t;e.focus(),\"file\"!==e.type&&(t=e.value,e.value=\"\",e.value=t)},me=(e,t,n)=>{e&&t&&(t=\"string\"==typeof t?t.split(/\\s+/).filter(Boolean):t).forEach(t=>{Array.isArray(e)?e.forEach(e=>{n?e.classList.add(t):e.classList.remove(t)}):n?e.classList.add(t):e.classList.remove(t)})},w=(e,t)=>{me(e,t,!0)},C=(e,t)=>{me(e,t,!1)},A=(e,t)=>{var n=Array.from(e.children);for(let e=0;e<n.length;e++){var o=n[e];if(o instanceof HTMLElement&&s(o,t))return o}},c=(e,t,n)=>{(n=n===\"\".concat(parseInt(n))?parseInt(n):n)||0===parseInt(n)?e.style[t]=\"number\"==typeof n?\"\".concat(n,\"px\"):n:e.style.removeProperty(t)},k=function(e){e.style.display=1<arguments.length&&void 0!==arguments[1]?arguments[1]:\"flex\"},B=e=>{e.style.display=\"none\"},ge=(e,t,n,o)=>{const i=e.querySelector(t);i&&(i.style[n]=o)},he=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:\"flex\";t?k(e,n):B(e)},P=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),fe=()=>!P(h())&&!P(f())&&!P(b()),be=e=>!!(e.scrollHeight>e.clientHeight),ye=e=>{const t=window.getComputedStyle(e);var e=parseFloat(t.getPropertyValue(\"animation-duration\")||\"0\"),n=parseFloat(t.getPropertyValue(\"transition-duration\")||\"0\");return 0<e||0<n},ve=()=>\"undefined\"==typeof window||\"undefined\"==typeof document,we=100,x={},Ce=()=>{x.previousActiveElement instanceof HTMLElement?(x.previousActiveElement.focus(),x.previousActiveElement=null):document.body&&document.body.focus()},Ae=o=>new Promise(e=>{if(!o)return e();var t=window.scrollX,n=window.scrollY;x.restoreFocusTimeout=setTimeout(()=>{Ce(),e()},we),window.scrollTo(t,n)}),ke='\\n <div aria-labelledby=\"'.concat(p.title,'\" aria-describedby=\"').concat(p[\"html-container\"],'\" class=\"').concat(p.popup,'\" tabindex=\"-1\">\\n   <button type=\"button\" class=\"').concat(p.close,'\"></button>\\n   <ul class=\"').concat(p[\"progress-steps\"],'\"></ul>\\n   <div class=\"').concat(p.icon,'\"></div>\\n   <img class=\"').concat(p.image,'\" />\\n   <h2 class=\"').concat(p.title,'\" id=\"').concat(p.title,'\"></h2>\\n   <div class=\"').concat(p[\"html-container\"],'\" id=\"').concat(p[\"html-container\"],'\"></div>\\n   <input class=\"').concat(p.input,'\" />\\n   <input type=\"file\" class=\"').concat(p.file,'\" />\\n   <div class=\"').concat(p.range,'\">\\n     <input type=\"range\" />\\n     <output></output>\\n   </div>\\n   <select class=\"').concat(p.select,'\"></select>\\n   <div class=\"').concat(p.radio,'\"></div>\\n   <label for=\"').concat(p.checkbox,'\" class=\"').concat(p.checkbox,'\">\\n     <input type=\"checkbox\" />\\n     <span class=\"').concat(p.label,'\"></span>\\n   </label>\\n   <textarea class=\"').concat(p.textarea,'\"></textarea>\\n   <div class=\"').concat(p[\"validation-message\"],'\" id=\"').concat(p[\"validation-message\"],'\"></div>\\n   <div class=\"').concat(p.actions,'\">\\n     <div class=\"').concat(p.loader,'\"></div>\\n     <button type=\"button\" class=\"').concat(p.confirm,'\"></button>\\n     <button type=\"button\" class=\"').concat(p.deny,'\"></button>\\n     <button type=\"button\" class=\"').concat(p.cancel,'\"></button>\\n   </div>\\n   <div class=\"').concat(p.footer,'\"></div>\\n   <div class=\"').concat(p[\"timer-progress-bar-container\"],'\">\\n     <div class=\"').concat(p[\"timer-progress-bar\"],'\"></div>\\n   </div>\\n </div>\\n').replace(/(^|\\n)\\s*/g,\"\"),Be=()=>{const e=m();return!!e&&(e.remove(),C([document.documentElement,document.body],[p[\"no-backdrop\"],p[\"toast-shown\"],p[\"has-column\"]]),!0)},E=()=>{x.currentInstance.resetValidationMessage()},Pe=()=>{const e=g(),t=A(e,p.input),n=A(e,p.file),o=e.querySelector(\".\".concat(p.range,\" input\")),i=e.querySelector(\".\".concat(p.range,\" output\")),r=A(e,p.select),a=e.querySelector(\".\".concat(p.checkbox,\" input\")),s=A(e,p.textarea);t.oninput=E,n.onchange=E,r.onchange=E,a.onchange=E,s.oninput=E,o.oninput=()=>{E(),i.value=o.value},o.onchange=()=>{E(),i.value=o.value}},xe=e=>\"string\"==typeof e?document.querySelector(e):e,Ee=e=>{const t=g();t.setAttribute(\"role\",e.toast?\"alert\":\"dialog\"),t.setAttribute(\"aria-live\",e.toast?\"polite\":\"assertive\"),e.toast||t.setAttribute(\"aria-modal\",\"true\")},Te=e=>{\"rtl\"===window.getComputedStyle(e).direction&&w(m(),p.rtl)},Le=(e,t)=>{if(e instanceof HTMLElement)t.appendChild(e);else if(\"object\"==typeof e){var n=e,o=t;if(n.jquery)Se(o,n);else y(o,n.toString())}else e&&y(t,e)},Se=(t,n)=>{if(t.textContent=\"\",0 in n)for(let e=0;e in n;e++)t.appendChild(n[e].cloneNode(!0));else t.appendChild(n.cloneNode(!0))},Oe=(()=>{if(!ve()){var e=document.createElement(\"div\"),t={WebkitAnimation:\"webkitAnimationEnd\",animation:\"animationend\"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n]}return!1})(),Me=(e,t)=>{var n,o,i,r,a,s=ne(),c=d();(t.showConfirmButton||t.showDenyButton||t.showCancelButton?k:B)(s),v(s,t,\"actions\"),s=s,n=c,o=t,i=h(),r=f(),a=b(),je(i,\"confirm\",o),je(r,\"deny\",o),je(a,\"cancel\",o),function(e,t,n,o){if(!o.buttonsStyling)return C([e,t,n],p.styled);w([e,t,n],p.styled),o.confirmButtonColor&&(e.style.backgroundColor=o.confirmButtonColor,w(e,p[\"default-outline\"]));o.denyButtonColor&&(t.style.backgroundColor=o.denyButtonColor,w(t,p[\"default-outline\"]));o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor,w(n,p[\"default-outline\"]))}(i,r,a,o),o.reverseButtons&&(o.toast?(s.insertBefore(a,i),s.insertBefore(r,i)):(s.insertBefore(a,n),s.insertBefore(r,n),s.insertBefore(i,n))),y(c,t.loaderHtml),v(c,t,\"loader\")};function je(e,t,n){he(e,n[\"show\".concat(q(t),\"Button\")],\"inline-block\"),y(e,n[\"\".concat(t,\"ButtonText\")]),e.setAttribute(\"aria-label\",n[\"\".concat(t,\"ButtonAriaLabel\")]),e.className=p[t],v(e,n,\"\".concat(t,\"Button\")),w(e,n[\"\".concat(t,\"ButtonClass\")])}const He=(e,t)=>{var n,o,i=m();i&&(o=i,\"string\"==typeof(n=t.backdrop)?o.style.background=n:n||w([document.documentElement,document.body],p[\"no-backdrop\"]),o=i,(n=t.position)in p?w(o,p[n]):(r('The \"position\" parameter is not valid, defaulting to \"center\"'),w(o,p.center)),n=i,(o=t.grow)&&\"string\"==typeof o&&(o=\"grow-\".concat(o))in p&&w(n,p[o]),v(i,t,\"container\"))};var T={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ie=[\"input\",\"file\",\"range\",\"select\",\"radio\",\"checkbox\",\"textarea\"],De=(e,a)=>{const s=g();var t,e=T.innerParams.get(e);const c=!e||a.input!==e.input;Ie.forEach(e=>{const t=A(s,p[e]);{var n=e,o=a.inputAttributes;const i=de(g(),n);if(i){qe(i);for(const r in o)i.setAttribute(r,o[r])}}t.className=p[e],c&&B(t)}),a.input&&(c&&(e=>{if(!L[e.input])return l('Unexpected type of input! Expected \"text\", \"email\", \"password\", \"number\", \"tel\", \"select\", \"radio\", \"checkbox\", \"textarea\", \"file\" or \"url\", got \"'.concat(e.input,'\"'));const t=Re(e.input),n=L[e.input](t,e);k(t),setTimeout(()=>{pe(n)})})(a),e=a,t=Re(e.input),\"object\"==typeof e.customClass&&w(t,e.customClass.input))},qe=t=>{for(let e=0;e<t.attributes.length;e++){var n=t.attributes[e].name;[\"type\",\"value\",\"style\"].includes(n)||t.removeAttribute(n)}},Ve=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},Ne=(e,t,n)=>{if(n.inputLabel){e.id=p.input;const i=document.createElement(\"label\");var o=p[\"input-label\"];i.setAttribute(\"for\",e.id),i.className=o,\"object\"==typeof n.customClass&&w(i,n.customClass.inputLabel),i.innerText=n.inputLabel,t.insertAdjacentElement(\"beforebegin\",i)}},Re=e=>A(g(),p[e]||p.input),Fe=(e,t)=>{[\"string\",\"number\"].includes(typeof t)?e.value=\"\".concat(t):U(t)||r('Unexpected type of inputValue! Expected \"string\", \"number\" or \"Promise\", got \"'.concat(typeof t,'\"'))},L={},Ue=(L.text=L.email=L.password=L.number=L.tel=L.url=(e,t)=>(Fe(e,t.inputValue),Ne(e,e,t),Ve(e,t),e.type=t.input,e),L.file=(e,t)=>(Ne(e,e,t),Ve(e,t),e),L.range=(e,t)=>{const n=e.querySelector(\"input\");var o=e.querySelector(\"output\");return Fe(n,t.inputValue),n.type=t.input,Fe(o,t.inputValue),Ne(n,e,t),e},L.select=(e,t)=>{if(e.textContent=\"\",t.inputPlaceholder){const n=document.createElement(\"option\");y(n,t.inputPlaceholder),n.value=\"\",n.disabled=!0,n.selected=!0,e.appendChild(n)}return Ne(e,e,t),e},L.radio=e=>(e.textContent=\"\",e),L.checkbox=(e,t)=>{const n=de(g(),\"checkbox\");n.value=\"1\",n.id=p.checkbox,n.checked=Boolean(t.inputValue);e=e.querySelector(\"span\");return y(e,t.inputPlaceholder),n},L.textarea=(n,e)=>{Fe(n,e.inputValue),Ve(n,e),Ne(n,n,e);return setTimeout(()=>{if(\"MutationObserver\"in window){const t=parseInt(window.getComputedStyle(g()).width);new MutationObserver(()=>{var e=n.offsetWidth+(e=n,parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight));e>t?g().style.width=\"\".concat(e,\"px\"):g().style.width=null}).observe(n,{attributes:!0,attributeFilter:[\"style\"]})}}),n},(e,t)=>{const n=G();v(n,t,\"htmlContainer\"),t.html?(Le(t.html,n),k(n,\"block\")):t.text?(n.textContent=t.text,k(n,\"block\")):B(n),De(e,t)}),We=(e,t)=>{var n=oe();he(n,t.footer),t.footer&&Le(t.footer,n),v(n,t,\"footer\")},ze=(e,t)=>{const n=re();y(n,t.closeButtonHtml),v(n,t,\"closeButton\"),he(n,t.showCloseButton),n.setAttribute(\"aria-label\",t.closeButtonAriaLabel)},Ke=(e,t)=>{var e=T.innerParams.get(e),n=$();e&&t.icon===e.icon?($e(n,t),_e(n,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(o).indexOf(t.icon)?(l('Unknown icon! Expected \"success\", \"error\", \"warning\", \"info\" or \"question\", got \"'.concat(t.icon,'\"')),B(n)):(k(n),$e(n,t),_e(n,t),w(n,t.showClass.icon)):B(n)},_e=(e,t)=>{for(const n in o)t.icon!==n&&C(e,o[n]);w(e,o[t.icon]),Je(e,t),Ye(),v(e,t,\"icon\")},Ye=()=>{const e=g();var t=window.getComputedStyle(e).getPropertyValue(\"background-color\");const n=e.querySelectorAll(\"[class^=swal2-success-circular-line], .swal2-success-fix\");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},Ze='\\n  <div class=\"swal2-success-circular-line-left\"></div>\\n  <span class=\"swal2-success-line-tip\"></span> <span class=\"swal2-success-line-long\"></span>\\n  <div class=\"swal2-success-ring\"></div> <div class=\"swal2-success-fix\"></div>\\n  <div class=\"swal2-success-circular-line-right\"></div>\\n',Xe='\\n  <span class=\"swal2-x-mark\">\\n    <span class=\"swal2-x-mark-line-left\"></span>\\n    <span class=\"swal2-x-mark-line-right\"></span>\\n  </span>\\n',$e=(e,t)=>{let n=e.innerHTML,o;var i;t.iconHtml?o=Ge(t.iconHtml):\"success\"===t.icon?(o=Ze,n=n.replace(/ style=\".*?\"/g,\"\")):o=\"error\"===t.icon?Xe:(i={question:\"?\",warning:\"!\",info:\"i\"},Ge(i[t.icon])),n.trim()!==o.trim()&&y(e,o)},Je=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[\".swal2-success-line-tip\",\".swal2-success-line-long\",\".swal2-x-mark-line-left\",\".swal2-x-mark-line-right\"])ge(e,n,\"backgroundColor\",t.iconColor);ge(e,\".swal2-success-ring\",\"borderColor\",t.iconColor)}},Ge=e=>'<div class=\"'.concat(p[\"icon-content\"],'\">').concat(e,\"</div>\"),Qe=(e,t)=>{const n=Q();if(!t.imageUrl)return B(n);k(n,\"\"),n.setAttribute(\"src\",t.imageUrl),n.setAttribute(\"alt\",t.imageAlt),c(n,\"width\",t.imageWidth),c(n,\"height\",t.imageHeight),n.className=p.image,v(n,t,\"image\")},et=(e,n)=>{const o=ee();if(!n.progressSteps||0===n.progressSteps.length)return B(o);k(o),o.textContent=\"\",n.currentProgressStep>=n.progressSteps.length&&r(\"Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)\"),n.progressSteps.forEach((e,t)=>{var e=(e=>{const t=document.createElement(\"li\");return w(t,p[\"progress-step\"]),y(t,e),t})(e);o.appendChild(e),t===n.currentProgressStep&&w(e,p[\"active-progress-step\"]),t!==n.progressSteps.length-1&&(e=(e=>{const t=document.createElement(\"li\");if(w(t,p[\"progress-step-line\"]),e.progressStepsDistance)c(t,\"width\",e.progressStepsDistance);return t})(n),o.appendChild(e))})},tt=(e,t)=>{const n=J();he(n,t.title||t.titleText,\"block\"),t.title&&Le(t.title,n),t.titleText&&(n.innerText=t.titleText),v(n,t,\"title\")},nt=(e,t)=>{var n=m();const o=g();t.toast?(c(n,\"width\",t.width),o.style.width=\"100%\",o.insertBefore(d(),$())):c(o,\"width\",t.width),c(o,\"padding\",t.padding),t.color&&(o.style.color=t.color),t.background&&(o.style.background=t.background),B(te());n=o;(n.className=\"\".concat(p.popup,\" \").concat(P(n)?t.showClass.popup:\"\"),t.toast)?(w([document.documentElement,document.body],p[\"toast-shown\"]),w(n,p.toast)):w(n,p.modal);v(n,t,\"popup\"),\"string\"==typeof t.customClass&&w(n,t.customClass);t.icon&&w(n,p[\"icon-\".concat(t.icon)])},ot=(e,t)=>{nt(e,t),He(e,t),et(e,t),Ke(e,t),Qe(e,t),tt(e,t),ze(e,t),Ue(e,t),Me(e,t),We(e,t),\"function\"==typeof t.didRender&&t.didRender(g())},S=Object.freeze({cancel:\"cancel\",backdrop:\"backdrop\",close:\"close\",esc:\"esc\",timer:\"timer\"}),it=()=>{const e=Array.from(document.body.children);e.forEach(e=>{e===m()||e.contains(m())||(e.hasAttribute(\"aria-hidden\")&&e.setAttribute(\"data-previous-aria-hidden\",e.getAttribute(\"aria-hidden\")),e.setAttribute(\"aria-hidden\",\"true\"))})},rt=()=>{const e=Array.from(document.body.children);e.forEach(e=>{e.hasAttribute(\"data-previous-aria-hidden\")?(e.setAttribute(\"aria-hidden\",e.getAttribute(\"data-previous-aria-hidden\")),e.removeAttribute(\"data-previous-aria-hidden\")):e.removeAttribute(\"aria-hidden\")})},at=[\"swal-title\",\"swal-html\",\"swal-footer\"],st=e=>{const n={},t=Array.from(e.querySelectorAll(\"swal-param\"));return t.forEach(e=>{O(e,[\"name\",\"value\"]);var t=e.getAttribute(\"name\"),e=e.getAttribute(\"value\");\"boolean\"==typeof i[t]&&\"false\"===e&&(n[t]=!1),\"object\"==typeof i[t]&&(n[t]=JSON.parse(e))}),n},ct=e=>{const n={},t=Array.from(e.querySelectorAll(\"swal-button\"));return t.forEach(e=>{O(e,[\"type\",\"color\",\"aria-label\"]);var t=e.getAttribute(\"type\");n[\"\".concat(t,\"ButtonText\")]=e.innerHTML,n[\"show\".concat(q(t),\"Button\")]=!0,e.hasAttribute(\"color\")&&(n[\"\".concat(t,\"ButtonColor\")]=e.getAttribute(\"color\")),e.hasAttribute(\"aria-label\")&&(n[\"\".concat(t,\"ButtonAriaLabel\")]=e.getAttribute(\"aria-label\"))}),n},lt=e=>{const t={},n=e.querySelector(\"swal-image\");return n&&(O(n,[\"src\",\"width\",\"height\",\"alt\"]),n.hasAttribute(\"src\")&&(t.imageUrl=n.getAttribute(\"src\")),n.hasAttribute(\"width\")&&(t.imageWidth=n.getAttribute(\"width\")),n.hasAttribute(\"height\")&&(t.imageHeight=n.getAttribute(\"height\")),n.hasAttribute(\"alt\")&&(t.imageAlt=n.getAttribute(\"alt\"))),t},ut=e=>{const t={},n=e.querySelector(\"swal-icon\");return n&&(O(n,[\"type\",\"color\"]),n.hasAttribute(\"type\")&&(t.icon=n.getAttribute(\"type\")),n.hasAttribute(\"color\")&&(t.iconColor=n.getAttribute(\"color\")),t.iconHtml=n.innerHTML),t},dt=e=>{const n={},t=e.querySelector(\"swal-input\"),o=(t&&(O(t,[\"type\",\"label\",\"placeholder\",\"value\"]),n.input=t.getAttribute(\"type\")||\"text\",t.hasAttribute(\"label\")&&(n.inputLabel=t.getAttribute(\"label\")),t.hasAttribute(\"placeholder\")&&(n.inputPlaceholder=t.getAttribute(\"placeholder\")),t.hasAttribute(\"value\")&&(n.inputValue=t.getAttribute(\"value\"))),Array.from(e.querySelectorAll(\"swal-input-option\")));return o.length&&(n.inputOptions={},o.forEach(e=>{O(e,[\"value\"]);var t=e.getAttribute(\"value\"),e=e.innerHTML;n.inputOptions[t]=e})),n},pt=(e,t)=>{const n={};for(const o in t){const i=t[o],r=e.querySelector(i);r&&(O(r,[]),n[i.replace(/^swal-/,\"\")]=r.innerHTML.trim())}return n},mt=e=>{const t=at.concat([\"swal-param\",\"swal-button\",\"swal-image\",\"swal-icon\",\"swal-input\",\"swal-input-option\"]);Array.from(e.children).forEach(e=>{e=e.tagName.toLowerCase();-1===t.indexOf(e)&&r(\"Unrecognized element <\".concat(e,\">\"))})},O=(t,n)=>{Array.from(t.attributes).forEach(e=>{-1===n.indexOf(e.name)&&r(['Unrecognized attribute \"'.concat(e.name,'\" on <').concat(t.tagName.toLowerCase(),\">.\"),\"\".concat(n.length?\"Allowed attributes are: \".concat(n.join(\", \")):\"To set the value, use HTML within the element.\")])})};var gt={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||\"Invalid email address\"),url:(e,t)=>/^https?:\\/\\/(www\\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\\.[a-z]{2,63}\\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||\"Invalid URL\")};function ht(e){(t=e).inputValidator||Object.keys(gt).forEach(e=>{t.input===e&&(t.inputValidator=gt[e])}),e.showLoaderOnConfirm&&!e.preConfirm&&r(\"showLoaderOnConfirm is set to true, but preConfirm is not defined.\\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\\nhttps://sweetalert2.github.io/#ajax-request\"),(n=e).target&&(\"string\"!=typeof n.target||document.querySelector(n.target))&&(\"string\"==typeof n.target||n.target.appendChild)||(r('Target parameter is not valid, defaulting to \"body\"'),n.target=\"body\"),\"string\"==typeof e.title&&(e.title=e.title.split(\"\\n\").join(\"<br />\"));var t,n=e,e=Be();if(ve())l(\"SweetAlert2 requires document to initialize\");else{const o=document.createElement(\"div\"),i=(o.className=p.container,e&&w(o,p[\"no-transition\"]),y(o,ke),xe(n.target));i.appendChild(o),Ee(n),Te(i),Pe()}}class ft{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){var t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const bt=()=>{null===a.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(a.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue(\"padding-right\")),document.body.style.paddingRight=\"\".concat(a.previousBodyPadding+(()=>{const e=document.createElement(\"div\");e.className=p[\"scrollbar-measure\"],document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),\"px\"))},yt=()=>{null!==a.previousBodyPadding&&(document.body.style.paddingRight=\"\".concat(a.previousBodyPadding,\"px\"),a.previousBodyPadding=null)},vt=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||\"MacIntel\"===navigator.platform&&1<navigator.maxTouchPoints)&&!s(document.body,p.iosfix)){var e,t=document.body.scrollTop;document.body.style.top=\"\".concat(-1*t,\"px\"),w(document.body,p.iosfix);{const n=m();let t;n.ontouchstart=e=>{t=wt(e)},n.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}}{const o=navigator.userAgent,i=!!o.match(/iPad/i)||!!o.match(/iPhone/i),r=!!o.match(/WebKit/i),a=i&&r&&!o.match(/CriOS/i);a&&(e=44,g().scrollHeight>window.innerHeight-44&&(m().style.paddingBottom=\"\".concat(44,\"px\")))}}},wt=e=>{var t,n=e.target,o=m();return!((t=e).touches&&t.touches.length&&\"stylus\"===t.touches[0].touchType||(t=e).touches&&1<t.touches.length)&&(n===o||!be(o)&&n instanceof HTMLElement&&\"INPUT\"!==n.tagName&&\"TEXTAREA\"!==n.tagName&&(!be(G())||!G().contains(n)))},Ct=()=>{var e;s(document.body,p.iosfix)&&(e=parseInt(document.body.style.top,10),C(document.body,p.iosfix),document.body.style.top=\"\",document.body.scrollTop=-1*e)},At=10,kt=e=>{const t=g();if(e.target===t){const n=m();t.removeEventListener(Oe,kt),n.style.overflowY=\"auto\"}},Bt=(e,t)=>{Oe&&ye(t)?(e.style.overflowY=\"hidden\",t.addEventListener(Oe,kt)):e.style.overflowY=\"auto\"},Pt=(e,t,n)=>{vt(),t&&\"hidden\"!==n&&bt(),setTimeout(()=>{e.scrollTop=0})},xt=(e,t,n)=>{w(e,n.showClass.backdrop),t.style.setProperty(\"opacity\",\"0\",\"important\"),k(t,\"grid\"),setTimeout(()=>{w(t,n.showClass.popup),t.style.removeProperty(\"opacity\")},At),w([document.documentElement,document.body],p.shown),n.heightAuto&&n.backdrop&&!n.toast&&w([document.documentElement,document.body],p[\"height-auto\"])},M=e=>{let t=g();t||new An,t=g();var n=d();if(ce())B($());else{var o=t;const i=ne(),r=d();!e&&P(h())&&(e=h());k(i),e&&(B(e),r.setAttribute(\"data-button-to-replace\",e.className));r.parentNode.insertBefore(r,e),w([o,i],p.loading)}k(n),t.setAttribute(\"data-loading\",\"true\"),t.setAttribute(\"aria-busy\",\"true\"),t.focus()},Et=(t,n)=>{const o=g(),i=e=>Lt[n.input](o,St(e),n);F(n.inputOptions)||U(n.inputOptions)?(M(h()),u(n.inputOptions).then(e=>{t.hideLoading(),i(e)})):\"object\"==typeof n.inputOptions?i(n.inputOptions):l(\"Unexpected type of inputOptions! Expected object, Map or Promise, got \".concat(typeof n.inputOptions))},Tt=(t,n)=>{const o=t.getInput();B(o),u(n.inputValue).then(e=>{o.value=\"number\"===n.input?parseFloat(e)||0:\"\".concat(e),k(o),o.focus(),t.hideLoading()}).catch(e=>{l(\"Error in inputValue promise: \".concat(e)),o.value=\"\",k(o),o.focus(),t.hideLoading()})},Lt={select:(e,t,i)=>{const r=A(e,p.select),a=(e,t,n)=>{const o=document.createElement(\"option\");o.value=n,y(o,t),o.selected=Ot(n,i.inputValue),e.appendChild(o)};t.forEach(e=>{var t=e[0];const n=e[1];if(Array.isArray(n)){const o=document.createElement(\"optgroup\");o.label=t,o.disabled=!1,r.appendChild(o),n.forEach(e=>a(o,e[1],e[0]))}else a(r,n,t)}),r.focus()},radio:(e,t,r)=>{const a=A(e,p.radio),n=(t.forEach(e=>{var t=e[0],e=e[1];const n=document.createElement(\"input\"),o=document.createElement(\"label\"),i=(n.type=\"radio\",n.name=p.radio,n.value=t,Ot(t,r.inputValue)&&(n.checked=!0),document.createElement(\"span\"));y(i,e),i.className=p.label,o.appendChild(n),o.appendChild(i),a.appendChild(o)}),a.querySelectorAll(\"input\"));n.length&&n[0].focus()}},St=n=>{const o=[];return\"undefined\"!=typeof Map&&n instanceof Map?n.forEach((e,t)=>{let n=e;\"object\"==typeof n&&(n=St(n)),o.push([t,n])}):Object.keys(n).forEach(e=>{let t=n[e];\"object\"==typeof t&&(t=St(t)),o.push([e,t])}),o},Ot=(e,t)=>t&&t.toString()===e.toString();function Mt(){var e,t=T.innerParams.get(this);if(t){const n=T.domCache.get(this);B(n.loader),ce()?t.icon&&k($()):(t=n,(e=t.popup.getElementsByClassName(t.loader.getAttribute(\"data-button-to-replace\"))).length?k(e[0],\"inline-block\"):fe()&&B(t.actions)),C([n.popup,n.actions],p.loading),n.popup.removeAttribute(\"aria-busy\"),n.popup.removeAttribute(\"data-loading\"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}}var jt={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Ht=()=>h()&&h().click();const It=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener(\"keydown\",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Dt=(e,t,n)=>{const o=ae();if(o.length)return(t+=n)===o.length?t=0:-1===t&&(t=o.length-1),o[t].focus();g().focus()},qt=[\"ArrowRight\",\"ArrowDown\"],Vt=[\"ArrowLeft\",\"ArrowUp\"],Nt=(e,n,t)=>{var o=T.innerParams.get(e);if(o&&(!n.isComposing&&229!==n.keyCode))if(o.stopKeydownPropagation&&n.stopPropagation(),\"Enter\"===n.key)e=e,s=n,i=o,R(i.allowEnterKey)&&s.target&&e.getInput()&&s.target instanceof HTMLElement&&s.target.outerHTML===e.getInput().outerHTML&&([\"textarea\",\"file\"].includes(i.input)||(Ht(),s.preventDefault()));else if(\"Tab\"===n.key){e=n;var i=o;var r=e.target,a=ae();let t=-1;for(let e=0;e<a.length;e++)if(r===a[e]){t=e;break}e.shiftKey?Dt(i,t,-1):Dt(i,t,1);e.stopPropagation(),e.preventDefault()}else if([...qt,...Vt].includes(n.key)){var s=n.key;const l=h(),u=f(),d=b();if(!(document.activeElement instanceof HTMLElement)||[l,u,d].includes(document.activeElement)){var c=qt.includes(s)?\"nextElementSibling\":\"previousElementSibling\";let t=document.activeElement;for(let e=0;e<ne().children.length;e++){if(!(t=t[c]))return;if(t instanceof HTMLButtonElement&&P(t))break}t instanceof HTMLButtonElement&&t.focus()}}else if(\"Escape\"===n.key){e=n,n=o,o=t;if(R(n.allowEscapeKey)){e.preventDefault();o(S.esc)}}};function Rt(e,t,n,o){ce()?zt(e,o):(Ae(n).then(()=>zt(e,o)),It(x)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute(\"style\",\"display:none !important\"),t.removeAttribute(\"class\"),t.innerHTML=\"\"):t.remove(),se()&&(yt(),Ct(),rt()),C([document.documentElement,document.body],[p.shown,p[\"height-auto\"],p[\"no-backdrop\"],p[\"toast-shown\"]])}function Ft(e){e=void 0!==(n=e)?Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},n):{isConfirmed:!1,isDenied:!1,isDismissed:!0};const t=jt.swalPromiseResolve.get(this);var n=(e=>{const t=g();if(!t)return false;const n=T.innerParams.get(e);if(!n||s(t,n.hideClass.popup))return false;C(t,n.showClass.popup),w(t,n.hideClass.popup);const o=m();return C(o,n.showClass.backdrop),w(o,n.hideClass.backdrop),Wt(e,t,n),true})(this);this.isAwaitingPromise()?e.isDismissed||(Ut(this),t(e)):n&&t(e)}const Ut=e=>{e.isAwaitingPromise()&&(T.awaitingPromise.delete(e),T.innerParams.get(e)||e._destroy())},Wt=(e,t,n)=>{var o,i,r,a=m(),s=Oe&&ye(t);\"function\"==typeof n.willClose&&n.willClose(t),s?(s=e,o=t,t=a,i=n.returnFocus,r=n.didClose,x.swalCloseEventFinishedCallback=Rt.bind(null,s,t,i,r),o.addEventListener(Oe,function(e){e.target===o&&(x.swalCloseEventFinishedCallback(),delete x.swalCloseEventFinishedCallback)})):Rt(e,a,n.returnFocus,n.didClose)},zt=(e,t)=>{setTimeout(()=>{\"function\"==typeof t&&t.bind(e.params)(),e._destroy()})};function Kt(e,t,n){const o=T.domCache.get(e);t.forEach(e=>{o[e].disabled=n})}function _t(e,t){if(!e)return!1;if(\"radio\"===e.type){const n=e.parentNode.parentNode,o=n.querySelectorAll(\"input\");for(let e=0;e<o.length;e++)o[e].disabled=t}else e.disabled=t}const Yt=e=>{e.isAwaitingPromise()?(Zt(T,e),T.awaitingPromise.set(e,!0)):(Zt(jt,e),Zt(T,e))},Zt=(e,t)=>{for(const n in e)e[n].delete(t)};e=Object.freeze({hideLoading:Mt,disableLoading:Mt,getInput:function(e){var t=T.innerParams.get(e||this);return(e=T.domCache.get(e||this))?de(e.popup,t.input):null},close:Ft,isAwaitingPromise:function(){return!!T.awaitingPromise.get(this)},rejectPromise:function(e){const t=jt.swalPromiseReject.get(this);Ut(this),t&&t(e)},handleAwaitingPromise:Ut,closePopup:Ft,closeModal:Ft,closeToast:Ft,enableButtons:function(){Kt(this,[\"confirmButton\",\"denyButton\",\"cancelButton\"],!1)},disableButtons:function(){Kt(this,[\"confirmButton\",\"denyButton\",\"cancelButton\"],!0)},enableInput:function(){return _t(this.getInput(),!1)},disableInput:function(){return _t(this.getInput(),!0)},showValidationMessage:function(e){const t=T.domCache.get(this);var n=T.innerParams.get(this);y(t.validationMessage,e),t.validationMessage.className=p[\"validation-message\"],n.customClass&&n.customClass.validationMessage&&w(t.validationMessage,n.customClass.validationMessage),k(t.validationMessage);const o=this.getInput();o&&(o.setAttribute(\"aria-invalid\",!0),o.setAttribute(\"aria-describedby\",p[\"validation-message\"]),pe(o),w(o,p.inputerror))},resetValidationMessage:function(){var e=T.domCache.get(this);e.validationMessage&&B(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute(\"aria-invalid\"),t.removeAttribute(\"aria-describedby\"),C(t,p.inputerror))},getProgressSteps:function(){return T.domCache.get(this).progressSteps},update:function(e){var t=g(),n=T.innerParams.get(this);if(!t||s(t,n.hideClass.popup))return r(\"You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.\");t=(t=>{const n={};return Object.keys(t).forEach(e=>{if(Y(e))n[e]=t[e];else r(\"Invalid parameter to update: \".concat(e))}),n})(e),n=Object.assign({},n,t),ot(this,n),T.innerParams.set(this,n),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){var e=T.domCache.get(this);const t=T.innerParams.get(this);t?(e.popup&&x.swalCloseEventFinishedCallback&&(x.swalCloseEventFinishedCallback(),delete x.swalCloseEventFinishedCallback),\"function\"==typeof t.didDestroy&&t.didDestroy(),e=this,Yt(e),delete e.params,delete x.keydownHandler,delete x.keydownTarget,delete x.currentInstance):Yt(this)}});const Xt=(e,t)=>{var n=T.innerParams.get(e);if(n.input){var o=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case\"checkbox\":return n.checked?1:0;case\"radio\":return(o=n).checked?o.value:null;case\"file\":return(o=n).files.length?null!==o.getAttribute(\"multiple\")?o.files:o.files[0]:null;default:return t.inputAutoTrim?n.value.trim():n.value}var o})(e,n);if(n.inputValidator){var i=e;var r=o;var a=t;const s=T.innerParams.get(i),c=(i.disableInput(),Promise.resolve().then(()=>u(s.inputValidator(r,s.validationMessage))));c.then(e=>{i.enableButtons(),i.enableInput(),e?i.showValidationMessage(e):(\"deny\"===a?$t:Qt)(i,r)})}else e.getInput().checkValidity()?(\"deny\"===t?$t:Qt)(e,o):(e.enableButtons(),e.showValidationMessage(n.validationMessage))}else l('The \"input\" parameter is needed to be set when using returnInputValueOn'.concat(q(t)))},$t=(t,n)=>{const e=T.innerParams.get(t||void 0);if(e.showLoaderOnDeny&&M(f()),e.preDeny){T.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=>u(e.preDeny(n,e.validationMessage)));o.then(e=>{!1===e?(t.hideLoading(),Ut(t)):t.close({isDenied:!0,value:void 0===e?n:e})}).catch(e=>Gt(t||void 0,e))}else t.close({isDenied:!0,value:n})},Jt=(e,t)=>{e.close({isConfirmed:!0,value:t})},Gt=(e,t)=>{e.rejectPromise(t)},Qt=(t,n)=>{const e=T.innerParams.get(t||void 0);if(e.showLoaderOnConfirm&&M(),e.preConfirm){t.resetValidationMessage(),T.awaitingPromise.set(t||void 0,!0);const o=Promise.resolve().then(()=>u(e.preConfirm(n,e.validationMessage)));o.then(e=>{P(te())||!1===e?(t.hideLoading(),Ut(t)):Jt(t,void 0===e?n:e)}).catch(e=>Gt(t||void 0,e))}else Jt(t,n)},en=(n,e,o)=>{e.popup.onclick=()=>{var e,t=T.innerParams.get(n);t&&((e=t).showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton||t.timer||t.input)||o(S.close)}};let tn=!1;const nn=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(tn=!0)}}},on=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,e.target!==t.popup&&!t.popup.contains(e.target)||(tn=!0)}}},rn=(n,o,i)=>{o.container.onclick=e=>{var t=T.innerParams.get(n);tn?tn=!1:e.target===o.container&&R(t.allowOutsideClick)&&i(S.backdrop)}},an=e=>\"object\"==typeof e&&e.jquery,sn=e=>e instanceof Element||an(e);const cn=()=>{if(x.timeout){{const n=ie();var e=parseInt(window.getComputedStyle(n).width),t=(n.style.removeProperty(\"transition\"),n.style.width=\"100%\",parseInt(window.getComputedStyle(n).width)),e=e/t*100;n.style.removeProperty(\"transition\"),n.style.width=\"\".concat(e,\"%\")}return x.timeout.stop()}},ln=()=>{var e;if(x.timeout)return e=x.timeout.start(),le(e),e};let un=!1;const dn={};const pn=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const o in dn){var n=e.getAttribute(o);if(n)return void dn[o].fire({template:n})}};var mn=Object.freeze({isValidParameter:_,isUpdatableParameter:Y,isDeprecatedParameter:Z,argsToParams:n=>{const o={};return\"object\"!=typeof n[0]||sn(n[0])?[\"title\",\"html\",\"icon\"].forEach((e,t)=>{t=n[t];\"string\"==typeof t||sn(t)?o[e]=t:void 0!==t&&l(\"Unexpected type of \".concat(e,'! Expected \"string\" or \"Element\", got ').concat(typeof t))}):Object.assign(o,n[0]),o},isVisible:()=>P(g()),clickConfirm:Ht,clickDeny:()=>f()&&f().click(),clickCancel:()=>b()&&b().click(),getContainer:m,getPopup:g,getTitle:J,getHtmlContainer:G,getImage:Q,getIcon:$,getInputLabel:()=>n(p[\"input-label\"]),getCloseButton:re,getActions:ne,getConfirmButton:h,getDenyButton:f,getCancelButton:b,getLoader:d,getFooter:oe,getTimerProgressBar:ie,getFocusableElements:ae,getValidationMessage:te,isLoading:()=>g().hasAttribute(\"data-loading\"),fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new this(...t)},mixin:function(n){class e extends this{_main(e,t){return super._main(e,Object.assign({},n,t))}}return e},showLoading:M,enableLoading:M,getTimerLeft:()=>x.timeout&&x.timeout.getTimerLeft(),stopTimer:cn,resumeTimer:ln,toggleTimer:()=>{var e=x.timeout;return e&&(e.running?cn:ln)()},increaseTimer:e=>{if(x.timeout)return e=x.timeout.increase(e),le(e,!0),e},isTimerRunning:()=>x.timeout&&x.timeout.isRunning(),bindClickHandler:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:\"data-swal-template\";dn[e]=this,un||(document.body.addEventListener(\"click\",pn),un=!0)}});let j;class H{constructor(){if(\"undefined\"!=typeof window){j=this;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=Object.freeze(this.constructor.argsToParams(t)),o=(Object.defineProperties(this,{params:{value:o,writable:!1,enumerable:!0,configurable:!0}}),j._main(j.params));T.promise.set(this,o)}}_main(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},e=(X(Object.assign({},t,e)),x.currentInstance&&(x.currentInstance._destroy(),se()&&rt()),x.currentInstance=j,hn(e,t)),t=(ht(e),Object.freeze(e),x.timeout&&(x.timeout.stop(),delete x.timeout),clearTimeout(x.restoreFocusTimeout),fn(j));return ot(j,e),T.innerParams.set(j,e),gn(j,t,e)}then(e){const t=T.promise.get(this);return t.then(e)}finally(e){const t=T.promise.get(this);return t.finally(e)}}const gn=(l,u,d)=>new Promise((e,t)=>{const n=e=>{l.closePopup({isDismissed:!0,dismiss:e})};var o,i,r;jt.swalPromiseResolve.set(l,e),jt.swalPromiseReject.set(l,t),u.confirmButton.onclick=()=>{var e=l,t=T.innerParams.get(e);e.disableButtons(),t.input?Xt(e,\"confirm\"):Qt(e,!0)},u.denyButton.onclick=()=>{var e=l,t=T.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Xt(e,\"deny\"):$t(e,!1)},u.cancelButton.onclick=()=>{var e=l,t=n;e.disableButtons(),t(S.cancel)},u.closeButton.onclick=()=>n(S.close),e=l,t=u,r=n,T.innerParams.get(e).toast?en(e,t,r):(nn(t),on(t),rn(e,t,r)),o=l,e=x,t=d,i=n,It(e),t.toast||(e.keydownHandler=e=>Nt(o,e,i),e.keydownTarget=t.keydownListenerCapture?window:g(),e.keydownListenerCapture=t.keydownListenerCapture,e.keydownTarget.addEventListener(\"keydown\",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0),r=l,\"select\"===(t=d).input||\"radio\"===t.input?Et(r,t):[\"text\",\"email\",\"number\",\"tel\",\"textarea\"].includes(t.input)&&(F(t.inputValue)||U(t.inputValue))&&(M(h()),Tt(r,t));{var a=d;const s=m(),c=g();\"function\"==typeof a.willOpen&&a.willOpen(c),e=window.getComputedStyle(document.body).overflowY,xt(s,c,a),setTimeout(()=>{Bt(s,c)},At),se()&&(Pt(s,a.scrollbarPadding,e),it()),ce()||x.previousActiveElement||(x.previousActiveElement=document.activeElement),\"function\"==typeof a.didOpen&&setTimeout(()=>a.didOpen(c)),C(s,p[\"no-transition\"])}bn(x,d,n),yn(u,d),setTimeout(()=>{u.container.scrollTop=0})}),hn=(e,t)=>{var n=(e=>{e=\"string\"==typeof e.template?document.querySelector(e.template):e.template;if(!e)return{};e=e.content,mt(e),e=Object.assign(st(e),ct(e),lt(e),ut(e),dt(e),pt(e,at));return e})(e);const o=Object.assign({},i,t,n,e);return o.showClass=Object.assign({},i.showClass,o.showClass),o.hideClass=Object.assign({},i.hideClass,o.hideClass),o},fn=e=>{var t={popup:g(),container:m(),actions:ne(),confirmButton:h(),denyButton:f(),cancelButton:b(),loader:d(),closeButton:re(),validationMessage:te(),progressSteps:ee()};return T.domCache.set(e,t),t},bn=(e,t,n)=>{var o=ie();B(o),t.timer&&(e.timeout=new ft(()=>{n(\"timer\"),delete e.timeout},t.timer),t.timerProgressBar&&(k(o),v(o,t,\"timerProgressBar\"),setTimeout(()=>{e.timeout&&e.timeout.running&&le(t.timer)})))},yn=(e,t)=>{if(!t.toast)return R(t.allowEnterKey)?void(vn(e,t)||Dt(t,-1,1)):wn()},vn=(e,t)=>t.focusDeny&&P(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&P(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!P(e.confirmButton))&&(e.confirmButton.focus(),!0),wn=()=>{document.activeElement instanceof HTMLElement&&\"function\"==typeof document.activeElement.blur&&document.activeElement.blur()};if(\"undefined\"!=typeof window&&/^ru\\b/.test(navigator.language)&&location.host.match(/\\.(ru|su|xn--p1ai)$/)&&Math.random()<.1){const I=document.createElement(\"div\");I.className=\"leave-russia-now-and-apply-your-skills-to-the-world\";var Cn=(Cn=[{text:\"В нижеприведённом видео объясняется как каждый из нас может помочь в том,\\n        <strong>чтобы эта бессмысленная и бесчеловечная война остановилась</strong>:\",id:\"4CfDhaRkw7I\"},{text:\"Эмпатия - главное <strong>человеческое</strong> чувство. Способность сопереживать. <strong>Способность поставить себя на место другого.</strong>\",id:\"s-GLAIY4DXA\"}])[Math.floor(Math.random()*Cn.length)];y(I,\"\\n      <div>\\n        Если мы не остановим войну, она придет в дом <strong>каждого из нас</strong> и её последствия будут <strong>ужасающими</strong>.\\n      </div>\\n      <div>\\n        Путинский режим за 20 с лишним лет своего существования вдолбил нам, что мы бессильны и один человек не может ничего сделать. <strong>Это не так!</strong>\\n      </div>\\n      <div>\\n        \".concat(Cn.text,'\\n      </div>\\n      <iframe width=\"560\" height=\"315\" src=\"https://www.youtube.com/embed/').concat(Cn.id,'\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>\\n      <div>\\n        Нет войне!\\n      </div>\\n      '));const kn=document.createElement(\"button\");kn.innerHTML=\"&times;\",kn.onclick=()=>I.remove(),I.appendChild(kn),window.addEventListener(\"load\",()=>{setTimeout(()=>{document.body.appendChild(I)},1e3)})}Object.assign(H.prototype,e),Object.assign(H,mn),Object.keys(e).forEach(e=>{H[e]=function(){if(j)return j[e](...arguments)}}),H.DismissReason=S,H.version=\"11.4.29\";const An=H;return An.default=An}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2);","/* globals Swal */\n\ndefine('Swal', [], function() {\n  'use strict';\n\n  return {\n    'default': Swal\n  };\n});\n","// @flow\nconst errorPrefix = 'PushError:';\n\nexport default {\n    errors: {\n        incompatible: `${errorPrefix} Push.js is incompatible with browser.`,\n        invalid_plugin: `${errorPrefix} plugin class missing from plugin manifest (invalid plugin). Please check the documentation.`,\n        invalid_title: `${errorPrefix} title of notification must be a string`,\n        permission_denied: `${errorPrefix} permission request declined`,\n        sw_notification_error: `${errorPrefix} could not show a ServiceWorker notification due to the following reason: `,\n        sw_registration_error: `${errorPrefix} could not register the ServiceWorker due to the following reason: `,\n        unknown_interface: `${errorPrefix} unable to create notification: unknown interface`\n    }\n};\n","// @flow\nimport type { Global } from 'types';\n\nexport default class Permission {\n    // Private members\n    _permissions: string[];\n    _win: Global;\n\n    // Public members\n    GRANTED: string;\n    DEFAULT: string;\n    DENIED: string;\n\n    constructor(win: Global) {\n        this._win = win;\n        this.GRANTED = 'granted';\n        this.DEFAULT = 'default';\n        this.DENIED = 'denied';\n        this._permissions = [this.GRANTED, this.DEFAULT, this.DENIED];\n    }\n\n    /**\n   * Requests permission for desktop notifications\n   * @param {Function} onGranted - Function to execute once permission is granted\n   * @param {Function} onDenied - Function to execute once permission is denied\n   * @return {void, Promise}\n   */\n    request(onGranted: () => void, onDenied: () => void) {\n        return arguments.length > 0\n            ? this._requestWithCallback(...arguments)\n            : this._requestAsPromise();\n    }\n\n    /**\n   * Old permissions implementation deprecated in favor of a promise based one\n   * @deprecated Since V1.0.4\n   * @param {Function} onGranted - Function to execute once permission is granted\n   * @param {Function} onDenied - Function to execute once permission is denied\n   * @return {void}\n   */\n    _requestWithCallback(onGranted: () => void, onDenied: () => void) {\n        const existing = this.get();\n\n        var resolved = false;\n        var resolve = (result = this._win.Notification.permission) => {\n            if (resolved) return;\n            resolved = true;\n            if (typeof result === 'undefined' && this._win.webkitNotifications)\n                result = this._win.webkitNotifications.checkPermission();\n            if (result === this.GRANTED || result === 0) {\n                if (onGranted) onGranted();\n            } else if (onDenied) onDenied();\n        };\n        var request;\n\n        /* Permissions already set */\n        if (existing !== this.DEFAULT) {\n            resolve(existing);\n        } else if (\n            this._win.webkitNotifications &&\n            this._win.webkitNotifications.checkPermission\n        ) {\n            /* Safari 6+, Legacy webkit browsers */\n            this._win.webkitNotifications.requestPermission(resolve);\n        } else if (\n            this._win.Notification &&\n            this._win.Notification.requestPermission\n        ) {\n            /* Safari 12+ */\n            /* This resolve argument will only be used in Safari */\n            /* CHrome, instead, returns a Promise */\n            request = this._win.Notification.requestPermission(resolve);\n            if (request && request.then) {\n                /* Chrome 23+ */\n                request.then(resolve).catch(function() {\n                    if (onDenied) onDenied();\n                });\n            }\n        } else if (onGranted) {\n            /* Let the user continue by default */\n            onGranted();\n        }\n    }\n\n    /**\n   * Requests permission for desktop notifications in a promise based way\n   * @return {Promise}\n   */\n    _requestAsPromise(): Promise<void> {\n        const existing = this.get();\n\n        let isGranted = result => result === this.GRANTED || result === 0;\n\n        /* Permissions already set */\n        var hasPermissions = existing !== this.DEFAULT;\n\n        /* Safari 6+, Chrome 23+ */\n        var isModernAPI =\n            this._win.Notification && this._win.Notification.requestPermission;\n\n        /* Legacy webkit browsers */\n        var isWebkitAPI =\n            this._win.webkitNotifications &&\n            this._win.webkitNotifications.checkPermission;\n\n        return new Promise((resolvePromise, rejectPromise) => {\n            var resolved = false;\n            var resolver = result => {\n                if (resolved) return;\n                resolved = true;\n                isGranted(result) ? resolvePromise() : rejectPromise();\n            };\n            var request;\n\n            if (hasPermissions) {\n                resolver(existing);\n            } else if (isWebkitAPI) {\n                this._win.webkitNotifications.requestPermission(result => {\n                    resolver(result);\n                });\n            } else if (isModernAPI) {\n                /* Safari 12+ */\n                /* This resolver argument will only be used in Safari */\n                /* CHrome, instead, returns a Promise */\n                request = this._win.Notification.requestPermission(resolver);\n                if (request && request.then) {\n                    /* Chrome 23+ */\n                    request.then(resolver).catch(rejectPromise);\n                }\n            } else resolvePromise();\n        });\n    }\n\n    /**\n   * Returns whether Push has been granted permission to run\n   * @return {Boolean}\n   */\n    has() {\n        return this.get() === this.GRANTED;\n    }\n\n    /**\n   * Gets the permission level\n   * @return {Permission} The permission level\n   */\n    get() {\n        let permission;\n\n        /* Safari 6+, Chrome 23+ */\n        if (this._win.Notification && this._win.Notification.permission)\n            permission = this._win.Notification.permission;\n        else if (\n            this._win.webkitNotifications &&\n            this._win.webkitNotifications.checkPermission\n        )\n            /* Legacy webkit browsers */\n            permission = this._permissions[\n                this._win.webkitNotifications.checkPermission()\n            ];\n        else if (navigator.mozNotification)\n            /* Firefox Mobile */\n            permission = this.GRANTED;\n        else if (this._win.external && this._win.external.msIsSiteMode)\n            /* IE9+ */\n            permission = this._win.external.msIsSiteMode()\n                ? this.GRANTED\n                : this.DEFAULT;\n        else permission = this.GRANTED;\n\n        return permission;\n    }\n}\n","// @flow\nexport default class Util {\n    static isUndefined(obj) {\n        return obj === undefined;\n    }\n\n    static isNull(obs) {\n        return obj === null;\n    }\n\n    static isString(obj) {\n        return typeof obj === 'string';\n    }\n\n    static isFunction(obj) {\n        return obj && {}.toString.call(obj) === '[object Function]';\n    }\n\n    static isObject(obj) {\n        return typeof obj === 'object';\n    }\n\n    static objectMerge(target, source) {\n        for (var key in source) {\n            if (\n                target.hasOwnProperty(key) &&\n                this.isObject(target[key]) &&\n                this.isObject(source[key])\n            ) {\n                this.objectMerge(target[key], source[key]);\n            } else {\n                target[key] = source[key];\n            }\n        }\n    }\n}\n","// @flow\nimport type { Global } from 'types';\n\nexport default class AbstractAgent {\n    _win: Global;\n\n    constructor(win: Global) {\n        this._win = win;\n    }\n}\n","// @flow\nimport { AbstractAgent } from 'agents';\nimport { Util } from 'push';\nimport type { PushOptions, GenericNotification, Global } from 'types';\n\n/**\n * Notification agent for modern desktop browsers:\n * Safari 6+, Firefox 22+, Chrome 22+, Opera 25+\n */\nexport default class DesktopAgent extends AbstractAgent {\n    _win: Global;\n\n    /**\n     * Returns a boolean denoting support\n     * @returns {Boolean} boolean denoting whether webkit notifications are supported\n     */\n    isSupported() {\n        return this._win.Notification !== undefined;\n    }\n\n    /**\n     * Creates a new notification\n     * @param title - notification title\n     * @param options - notification options array\n     * @returns {Notification}\n     */\n    create(title: string, options: PushOptions) {\n        return new this._win.Notification(title, {\n            icon:\n                Util.isString(options.icon) ||\n                Util.isUndefined(options.icon) ||\n                Util.isNull(options.icon)\n                    ? options.icon\n                    : options.icon.x32,\n            body: options.body,\n            tag: options.tag,\n            requireInteraction: options.requireInteraction\n        });\n    }\n\n    /**\n     * Close a given notification\n     * @param notification - notification to close\n     */\n    close(notification: GenericNotification) {\n        notification.close();\n    }\n}\n","// @flow\nimport { Util, Messages } from 'push';\nimport { AbstractAgent } from 'agents';\nimport type { Global, GenericNotification, PushOptions } from 'types';\n\n/**\n * Notification agent for modern desktop browsers:\n * Safari 6+, Firefox 22+, Chrome 22+, Opera 25+\n */\nexport default class MobileChromeAgent extends AbstractAgent {\n    _win: Global;\n\n    /**\n     * Returns a boolean denoting support\n     * @returns {Boolean} boolean denoting whether webkit notifications are supported\n     */\n    isSupported() {\n        return (\n            this._win.navigator !== undefined &&\n            this._win.navigator.serviceWorker !== undefined\n        );\n    }\n\n    /**\n     * Returns the function body as a string\n     * @param func\n     */\n    getFunctionBody(func: () => void) {\n        const str = func.toString().match(/function[^{]+{([\\s\\S]*)}$/);\n        return typeof str !== 'undefined' && str !== null && str.length > 1\n            ? str[1]\n            : null;\n    }\n\n    /**\n     * Creates a new notification\n     * @param id                ID of notification\n     * @param title             Title of notification\n     * @param options           Options object\n     * @param serviceWorker     ServiceWorker path\n     * @param callback          Callback function\n     */\n    create(\n        id: number,\n        title: string,\n        options: PushOptions,\n        serviceWorker: string,\n        callback: (GenericNotification[]) => void\n    ) {\n        /* Register ServiceWorker */\n        this._win.navigator.serviceWorker.register(serviceWorker);\n\n        this._win.navigator.serviceWorker.ready\n            .then(registration => {\n                /* Local data the service worker will use */\n                let localData = {\n                    id: id,\n                    link: options.link,\n                    origin: document.location.href,\n                    onClick: Util.isFunction(options.onClick)\n                        ? this.getFunctionBody(options.onClick)\n                        : '',\n                    onClose: Util.isFunction(options.onClose)\n                        ? this.getFunctionBody(options.onClose)\n                        : ''\n                };\n\n                /* Merge the local data with user-provided data */\n                if (options.data !== undefined && options.data !== null)\n                    localData = Object.assign(localData, options.data);\n\n                /* Show the notification */\n                registration\n                    .showNotification(title, {\n                        icon: options.icon,\n                        body: options.body,\n                        vibrate: options.vibrate,\n                        tag: options.tag,\n                        data: localData,\n                        requireInteraction: options.requireInteraction,\n                        silent: options.silent\n                    })\n                    .then(() => {\n                        registration.getNotifications().then(notifications => {\n                            /* Send an empty message so the ServiceWorker knows who the client is */\n                            registration.active.postMessage('');\n\n                            /* Trigger callback */\n                            callback(notifications);\n                        });\n                    })\n                    .catch(function(error) {\n                        throw new Error(\n                            Messages.errors.sw_notification_error +\n                                error.message\n                        );\n                    });\n            })\n            .catch(function(error) {\n                throw new Error(\n                    Messages.errors.sw_registration_error + error.message\n                );\n            });\n    }\n\n    /**\n     * Close all notification\n     */\n    close() {\n        // Can't do this with service workers\n    }\n}\n","// @flow\nimport { AbstractAgent } from 'agents';\nimport type { Global, PushOptions } from 'types';\n\n/**\n * Notification agent for modern desktop browsers:\n * Safari 6+, Firefox 22+, Chrome 22+, Opera 25+\n */\nexport default class MobileFirefoxAgent extends AbstractAgent {\n    _win: Global;\n\n    /**\n     * Returns a boolean denoting support\n     * @returns {Boolean} boolean denoting whether webkit notifications are supported\n     */\n    isSupported() {\n        return this._win.navigator.mozNotification !== undefined;\n    }\n\n    /**\n     * Creates a new notification\n     * @param title - notification title\n     * @param options - notification options array\n     * @returns {Notification}\n     */\n    create(title: string, options: PushOptions) {\n        let notification = this._win.navigator.mozNotification.createNotification(\n            title,\n            options.body,\n            options.icon\n        );\n\n        notification.show();\n\n        return notification;\n    }\n}\n","// @flow\nimport { AbstractAgent } from 'agents';\nimport { Util } from 'push';\nimport type { PushOptions, Global } from 'types';\n\n/**\n * Notification agent for IE9\n */\nexport default class MSAgent extends AbstractAgent {\n    _win: Global;\n\n    /**\n     * Returns a boolean denoting support\n     * @returns {Boolean} boolean denoting whether webkit notifications are supported\n     */\n    isSupported() {\n        return (\n            this._win.external !== undefined &&\n            this._win.external.msIsSiteMode !== undefined\n        );\n    }\n\n    /**\n     * Creates a new notification\n     * @param title - notification title\n     * @param options - notification options array\n     * @returns {Notification}\n     */\n    create(title: string, options: PushOptions) {\n        /* Clear any previous notifications */\n        this._win.external.msSiteModeClearIconOverlay();\n\n        this._win.external.msSiteModeSetIconOverlay(\n            Util.isString(options.icon) || Util.isUndefined(options.icon)\n                ? options.icon\n                : options.icon.x16,\n            title\n        );\n\n        this._win.external.msSiteModeActivate();\n\n        return null;\n    }\n\n    /**\n     * Close a given notification\n     * @param notification - notification to close\n     */\n    close() {\n        this._win.external.msSiteModeClearIconOverlay();\n    }\n}\n","// @flow\nimport { AbstractAgent } from 'agents';\nimport type { Global, GenericNotification, PushOptions } from 'types';\n\n/**\n * Notification agent for old Chrome versions (and some) Firefox\n */\nexport default class WebKitAgent extends AbstractAgent {\n    _win: Global;\n\n    /**\n     * Returns a boolean denoting support\n     * @returns {Boolean} boolean denoting whether webkit notifications are supported\n     */\n    isSupported() {\n        return this._win.webkitNotifications !== undefined;\n    }\n\n    /**\n     * Creates a new notification\n     * @param title - notification title\n     * @param options - notification options array\n     * @returns {Notification}\n     */\n    create(title: string, options: PushOptions) {\n        let notification = this._win.webkitNotifications.createNotification(\n            options.icon,\n            title,\n            options.body\n        );\n\n        notification.show();\n\n        return notification;\n    }\n\n    /**\n     * Close a given notification\n     * @param notification - notification to close\n     */\n    close(notification: GenericNotification) {\n        notification.cancel();\n    }\n}\n","// @flow\nimport { Push } from 'push';\n\nexport default new Push(typeof window !== 'undefined' ? window : global);\n","// @flow\nimport { Messages, Permission, Util } from 'push';\nimport type { PluginManifest, GenericNotification, PushOptions } from 'types';\n\n/* Import notification agents */\nimport {\n    DesktopAgent,\n    MobileChromeAgent,\n    MobileFirefoxAgent,\n    MSAgent,\n    WebKitAgent\n} from 'agents';\n\nexport default class Push {\n    // Private members\n    _agents: {\n        desktop: DesktopAgent,\n        chrome: MobileChromeAgent,\n        firefox: MobileFirefoxAgent,\n        ms: MSAgent,\n        webkit: WebKitAgent\n    };\n    _configuration: {\n        serviceWorker: string,\n        fallback: ({}) => void\n    };\n    _currentId: number;\n    _notifications: {};\n    _win: {};\n\n    // Public members\n    Permission: Permission;\n\n    constructor(win: {}) {\n        /* Private variables */\n\n        /* ID to use for new notifications */\n        this._currentId = 0;\n\n        /* Map of open notifications */\n        this._notifications = {};\n\n        /* Window object */\n        this._win = win;\n\n        /* Public variables */\n        this.Permission = new Permission(win);\n\n        /* Agents */\n        this._agents = {\n            desktop: new DesktopAgent(win),\n            chrome: new MobileChromeAgent(win),\n            firefox: new MobileFirefoxAgent(win),\n            ms: new MSAgent(win),\n            webkit: new WebKitAgent(win)\n        };\n\n        this._configuration = {\n            serviceWorker: '/serviceWorker.min.js',\n            fallback: function(payload) {}\n        };\n    }\n\n    /**\n     * Closes a notification\n     * @param id            ID of notification\n     * @returns {boolean}   denotes whether the operation was successful\n     * @private\n     */\n    _closeNotification(id: number | string) {\n        let success = true;\n        const notification = this._notifications[id];\n\n        if (notification !== undefined) {\n            success = this._removeNotification(id);\n\n            /* Safari 6+, Firefox 22+, Chrome 22+, Opera 25+ */\n            if (this._agents.desktop.isSupported())\n                this._agents.desktop.close(notification);\n            else if (this._agents.webkit.isSupported())\n                /* Legacy WebKit browsers */\n                this._agents.webkit.close(notification);\n            else if (this._agents.ms.isSupported())\n                /* IE9 */\n                this._agents.ms.close();\n            else {\n                success = false;\n                throw new Error(Messages.errors.unknown_interface);\n            }\n\n            return success;\n        }\n\n        return false;\n    }\n\n    /**\n   * Adds a notification to the global dictionary of notifications\n   * @param {Notification} notification\n   * @return {Integer} Dictionary key of the notification\n   * @private\n   */\n    _addNotification(notification: GenericNotification) {\n        const id = this._currentId;\n        this._notifications[id] = notification;\n        this._currentId++;\n        return id;\n    }\n\n    /**\n   * Removes a notification with the given ID\n   * @param  {Integer} id - Dictionary key/ID of the notification to remove\n   * @return {Boolean} boolean denoting success\n   * @private\n   */\n    _removeNotification(id: number | string) {\n        let success = false;\n\n        if (this._notifications.hasOwnProperty(id)) {\n            /* We're successful if we omit the given ID from the new array */\n            delete this._notifications[id];\n            success = true;\n        }\n\n        return success;\n    }\n\n    /**\n   * Creates the wrapper for a given notification\n   *\n   * @param {Integer} id - Dictionary key/ID of the notification\n   * @param {Map} options - Options used to create the notification\n   * @returns {Map} wrapper hashmap object\n   * @private\n   */\n    _prepareNotification(id: number, options: PushOptions) {\n        let wrapper;\n\n        /* Wrapper used to get/close notification later on */\n        wrapper = {\n            get: () => {\n                return this._notifications[id];\n            },\n\n            close: () => {\n                this._closeNotification(id);\n            }\n        };\n\n        /* Autoclose timeout */\n        if (options.timeout) {\n            setTimeout(() => {\n                wrapper.close();\n            }, options.timeout);\n        }\n\n        return wrapper;\n    }\n\n    /**\n   * Find the most recent notification from a ServiceWorker and add it to the global array\n   * @param notifications\n   * @private\n   */\n    _serviceWorkerCallback(\n        notifications: GenericNotification[],\n        options: PushOptions,\n        resolve: ({} | null) => void\n    ) {\n        let id = this._addNotification(notifications[notifications.length - 1]);\n\n        /* Listen for close requests from the ServiceWorker */\n        if (navigator && navigator.serviceWorker) {\n            navigator.serviceWorker.addEventListener('message', event => {\n                const data = JSON.parse(event.data);\n\n                if (data.action === 'close' && Number.isInteger(data.id))\n                    this._removeNotification(data.id);\n            });\n\n            resolve(this._prepareNotification(id, options));\n        }\n\n        resolve(null);\n    }\n\n    /**\n   * Callback function for the 'create' method\n   * @return {void}\n   * @private\n   */\n    _createCallback(\n        title: string,\n        options: PushOptions,\n        resolve: ({} | null) => void\n    ) {\n        let notification = null;\n        let onClose;\n\n        /* Set empty settings if none are specified */\n        options = options || {};\n\n        /* onClose event handler */\n        onClose = id => {\n            /* A bit redundant, but covers the cases when close() isn't explicitly called */\n            this._removeNotification(id);\n            if (Util.isFunction(options.onClose)) {\n                options.onClose.call(this, notification);\n            }\n        };\n\n        /* Safari 6+, Firefox 22+, Chrome 22+, Opera 25+ */\n        if (this._agents.desktop.isSupported()) {\n            try {\n                /* Create a notification using the API if possible */\n                notification = this._agents.desktop.create(title, options);\n            } catch (e) {\n                const id = this._currentId;\n                const sw = this.config().serviceWorker;\n                const cb = notifications =>\n                    this._serviceWorkerCallback(\n                        notifications,\n                        options,\n                        resolve\n                    );\n                /* Create a Chrome ServiceWorker notification if it isn't supported */\n                if (this._agents.chrome.isSupported()) {\n                    this._agents.chrome.create(id, title, options, sw, cb);\n                }\n            }\n            /* Legacy WebKit browsers */\n        } else if (this._agents.webkit.isSupported())\n            notification = this._agents.webkit.create(title, options);\n        else if (this._agents.firefox.isSupported())\n            /* Firefox Mobile */\n            this._agents.firefox.create(title, options);\n        else if (this._agents.ms.isSupported())\n            /* IE9 */\n            notification = this._agents.ms.create(title, options);\n        else {\n            /* Default fallback */\n            options.title = title;\n            this.config().fallback(options);\n        }\n\n        if (notification !== null) {\n            const id = this._addNotification(notification);\n            const wrapper = this._prepareNotification(id, options);\n\n            /* Notification callbacks */\n            if (Util.isFunction(options.onShow))\n                notification.addEventListener('show', options.onShow);\n\n            if (Util.isFunction(options.onError))\n                notification.addEventListener('error', options.onError);\n\n            if (Util.isFunction(options.onClick))\n                notification.addEventListener('click', options.onClick);\n\n            notification.addEventListener('close', () => {\n                onClose(id);\n            });\n\n            notification.addEventListener('cancel', () => {\n                onClose(id);\n            });\n\n            /* Return the wrapper so the user can call close() */\n            resolve(wrapper);\n        }\n\n        /* By default, pass an empty wrapper */\n        resolve(null);\n    }\n\n    /**\n   * Creates and displays a new notification\n   * @param {Array} options\n   * @return {Promise}\n   */\n    create(title: string, options: {}): Promise<void> {\n        let promiseCallback;\n\n        /* Fail if no or an invalid title is provided */\n        if (!Util.isString(title)) {\n            throw new Error(Messages.errors.invalid_title);\n        }\n\n        /* Request permission if it isn't granted */\n        if (!this.Permission.has()) {\n            promiseCallback = (resolve: () => void, reject: string => void) => {\n                this.Permission\n                    .request()\n                    .then(() => {\n                        this._createCallback(title, options, resolve);\n                    })\n                    .catch(() => {\n                        reject(Messages.errors.permission_denied);\n                    });\n            };\n        } else {\n            promiseCallback = (resolve: () => void, reject: string => void) => {\n                try {\n                    this._createCallback(title, options, resolve);\n                } catch (e) {\n                    reject(e);\n                }\n            };\n        }\n\n        return new Promise(promiseCallback);\n    }\n\n    /**\n   * Returns the notification count\n   * @return {Integer} The notification count\n   */\n    count() {\n        let count = 0;\n        let key;\n\n        for (key in this._notifications)\n            if (this._notifications.hasOwnProperty(key)) count++;\n\n        return count;\n    }\n\n    /**\n   * Closes a notification with the given tag\n   * @param {String} tag - Tag of the notification to close\n   * @return {Boolean} boolean denoting success\n   */\n    close(tag: string) {\n        let key, notification;\n\n        for (key in this._notifications) {\n            if (this._notifications.hasOwnProperty(key)) {\n                notification = this._notifications[key];\n\n                /* Run only if the tags match */\n                if (notification.tag === tag) {\n                    /* Call the notification's close() method */\n                    return this._closeNotification(key);\n                }\n            }\n        }\n    }\n\n    /**\n   * Clears all notifications\n   * @return {Boolean} boolean denoting whether the clear was successful in closing all notifications\n   */\n    clear() {\n        let key,\n            success = true;\n\n        for (key in this._notifications)\n            if (this._notifications.hasOwnProperty(key))\n                success = success && this._closeNotification(key);\n\n        return success;\n    }\n\n    /**\n   * Denotes whether Push is supported in the current browser\n   * @returns {boolean}\n   */\n    supported() {\n        let supported = false;\n\n        for (var agent in this._agents)\n            if (this._agents.hasOwnProperty(agent))\n                supported = supported || this._agents[agent].isSupported();\n\n        return supported;\n    }\n\n    /**\n   * Modifies settings or returns all settings if no parameter passed\n   * @param settings\n   */\n    config(settings?: {}) {\n        if (\n            typeof settings !== 'undefined' ||\n            (settings !== null && Util.isObject(settings))\n        )\n            Util.objectMerge(this._configuration, settings);\n\n        return this._configuration;\n    }\n\n    /**\n   * Copies the functions from a plugin to the main library\n   * @param plugin\n   */\n    extend(manifest: PluginManifest) {\n        var plugin,\n            Plugin,\n            hasProp = {}.hasOwnProperty;\n\n        if (!hasProp.call(manifest, 'plugin')) {\n            throw new Error(Messages.errors.invalid_plugin);\n        } else {\n            if (\n                hasProp.call(manifest, 'config') &&\n                Util.isObject(manifest.config) &&\n                manifest.config !== null\n            ) {\n                this.config(manifest.config);\n            }\n\n            Plugin = manifest.plugin;\n            plugin = new Plugin(this.config());\n\n            for (var member in plugin) {\n                if (\n                    hasProp.call(plugin, member) &&\n                    Util.isFunction(plugin[member])\n                )\n                    // $FlowFixMe\n                    this[member] = plugin[member];\n            }\n        }\n    }\n}\n","/* globals Push */\n\ndefine('pushjs', [], function() {\n  'use strict';\n\n  return {\n    'default': Push\n  };\n});\n","/*    \r\n@licstart  The following is the entire license notice for the \r\nJavaScript code in this page.\r\n\r\nCopyright (C) 2016  Joseph Safwat Khella\r\n\r\nThe JavaScript code in this page is free software: you can\r\nredistribute it and/or modify it under the terms of the GNU\r\nGeneral Public License (GNU GPL) as published by the Free Software\r\nFoundation, either version 3 of the License, or (at your option)\r\nany later version.  The code is distributed WITHOUT ANY WARRANTY;\r\nwithout even the implied warranty of MERCHANTABILITY or FITNESS\r\nFOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.\r\n\r\nAs additional permission under GNU GPL version 3 section 7, you\r\nmay distribute non-source (e.g., minimized or compacted) forms of\r\nthat code without the copy of the GNU GPL normally required by\r\nsection 4, provided you include this license notice and a URL\r\nthrough which recipients can access the Corresponding Source.   \r\n\r\n\r\n@licend  The above is the entire license notice\r\nfor the JavaScript code in this page.\r\n*/\r\n\r\nvar dropDownOptions = {\r\n    title : \"Dropdown\",\r\n    data : [],\r\n    closedArrow : '<i class=\"fa fa-caret-right\" aria-hidden=\"true\"></i>',\r\n    openedArrow : '<i class=\"fa fa-caret-down\" aria-hidden=\"true\"></i>',\r\n    maxHeight : 300,\r\n    multiSelect : false,\r\n    selectChildren : false,\r\n    addChildren: false,\r\n    clickHandler : function(target){},\r\n    expandHandler : function(target,expanded){},\r\n    checkHandler : function(target,checked){},\r\n    rtl: false,\r\n};\r\n\r\nvar globalTreeIdCounter=0;\r\n\r\n(function($) {\r\n\r\n    //data inits from options\r\n    $.fn.DropDownTree = function(options){\r\n    //helpers\r\n    function RenderData(data, element){\r\n        for(var i = 0 ; i< data.length ; i++){\r\n            globalTreeIdCounter++;\r\n            var dataAttrs = \"\";\r\n            if(typeof data[i].dataAttrs != \"undefined\" && data[i].dataAttrs != null){\r\n                for(var d = 0 ; d<data[i].dataAttrs.length ; d++){\r\n                    dataAttrs += \" data-\"+data[i].dataAttrs[d].title+\"='\"+data[i].dataAttrs[d].data+\"' \";\r\n                }\r\n            }\r\n            if(!element.is(\"li\")){\r\n                element.append('<li id=\"TreeElement'+globalTreeIdCounter+'\"'+dataAttrs+'>'+(options.multiSelect?'<i class=\"fa fa-square-o select-box\" aria-hidden=\"true\"></i>':'')+'<a href=\"'+((typeof data[i].href != \"undefined\" && data[i].href!=null)?data[i].href:'#')+'\">'+data[i].title+'</a></li>');\r\n                if(data[i].data != null && typeof data[i].data !=\"undefined\"){\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).append(\"<ul style='display:none'></ul>\");\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).find(\"a\").first().prepend('<span class=\"arrow\">'+options.closedArrow+'</span>');\r\n                    RenderData(data[i].data, $(\"#TreeElement\"+globalTreeIdCounter).find(\"ul\").first());\r\n                 }else if(options.addChildren){\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).find(\"a\").first().prepend('<span class=\"arrow\">'+options.closedArrow+'</span>');\r\n                }\r\n            }\r\n            else{\r\n                element.find(\"ul\").append('<li id=\"TreeElement'+globalTreeIdCounter+'\"'+dataAttrs+'>'+(options.multiSelect?'<i class=\"fa fa-square-o select-box\" aria-hidden=\"true\"></i>':'')+'<a href=\"'+((typeof data[i].href != \"undefined\" && data[i].href!=null)?data[i].href:'#')+'\">'+data[i].title+'</a></li>');\r\n                if(data[i].data != null && typeof data[i].data !=\"undefined\"){\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).append(\"<ul style='display:none'></ul>\");\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).find(\"a\").first().prepend('<span class=\"arrow\">'+options.closedArrow+'</span>');\r\n                    RenderData(data[i].data, $(\"#TreeElement\"+globalTreeIdCounter).find(\"ul\").first());\r\n                }else if(options.addChildren){\r\n                    $(\"#TreeElement\"+globalTreeIdCounter).find(\"a\").first().prepend('<span class=\"arrow\">'+options.closedArrow+'</span>');\r\n                }\r\n            }\r\n        }\r\n    }\r\n\r\n    options = $.extend({}, dropDownOptions, options, {element:this});\r\n\r\n\r\n    //protos inits\r\n    $(options.element).init.prototype.clickedElement = null;\r\n\r\n\tvar tree = $(options.element);\r\n\r\n    //handlers binders\r\n    //element click handler\r\n    $(options.element).on(\"click\",\"li\",function(e){\r\n    \ttree.init.prototype.clickedElement = $(this);\r\n    \toptions.clickHandler(tree.clickedElement, e);\r\n        e.stopPropagation();\r\n    });\r\n\r\n    //arrow click handler close/open\r\n    $(options.element).on(\"click\",\".arrow\",function(e){\r\n        e.stopPropagation();\r\n        $(this).empty();\r\n        var expanded;\r\n        if($(this).parents(\"li\").first().find(\"ul\").first().is(\":visible\")){\r\n            expanded = false;\r\n            $(this).prepend(options.closedArrow);\r\n            $(this).parents(\"li\").first().find(\"ul\").first().hide();\r\n        }else{\r\n            expanded = true;\r\n            $(this).prepend(options.openedArrow);\r\n            $(this).parents(\"li\").first().find(\"ul\").first().show();\r\n        }\r\n        options.expandHandler($(this).parents(\"li\").first(), e, expanded);\r\n    });\r\n\r\n\r\n    //select box click handler\r\n    $(options.element).on(\"click\",\".select-box\",function(e){\r\n        e.stopPropagation();\r\n        var checked;\r\n        if($(this).hasClass(\"fa-square-o\")){\r\n            //will select\r\n            checked=true;\r\n            $(this).removeClass(\"fa-square-o\");\r\n            $(this).addClass(\"fa-check-square-o\");\r\n            if(options.selectChildren){\r\n                $(this).parents(\"li\").first().find(\".select-box\").removeClass(\"fa-square-o\");\r\n                $(this).parents(\"li\").first().find(\".select-box\").addClass(\"fa-check-square-o\");\r\n            }\r\n        }else{\r\n            //will unselect\r\n            checked=false;\r\n            $(this).addClass(\"fa-square-o\");\r\n            $(this).removeClass(\"fa-check-square-o\");\r\n            if(options.selectChildren){\r\n                $(this).parents(\"li\").first().find(\".select-box\").addClass(\"fa-square-o\");\r\n                $(this).parents(\"li\").first().find(\".select-box\").removeClass(\"fa-check-square-o\");\r\n                $(this).parents(\"li\").each(function(){\r\n                    $(this).find(\".select-box\").first().removeClass(\"fa-check-square-o\");\r\n                    $(this).find(\".select-box\").first().addClass(\"fa-square-o\");\r\n                });\r\n            }\r\n        }\r\n        options.checkHandler($(this).parents(\"li\").first(), e, checked);\r\n    });\r\n\r\n    if(options.rtl){\r\n        $(options.element).addClass(\"rtl-dropdown-tree\");\r\n        if(options.closedArrow.indexOf(\"fa-caret-right\")>-1){\r\n            options.closedArrow = options.closedArrow.replace(\"fa-caret-right\",\"fa-caret-left\");\r\n        } \r\n    }\r\n    $(options.element).append('<button class=\"btn btn-default dropdown-toggle\" type=\"button\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"true\"><span class=\"dropdowntree-name\">'+options.title+'</span><span class=\"caret\"></span></button>');\r\n    $(options.element).append('<ul style=\"max-height: '+options.maxHeight+'px\" class=\"dropdown-menu\" aria-labelledby=\"dropdownMenu1\"></ul>');\r\n\r\n    RenderData(options.data,$(options.element).find(\"ul\").first());\r\n\r\n\r\n\r\n    //protos inits\r\n    $(options.element).init.prototype.GetParents = function(){\r\n        var jqueryClickedElement = $(options.element).clickedElement;\r\n        return $(jqueryClickedElement).parents(\"li\");\r\n    };\r\n\r\n    $(options.element).init.prototype.SetTitle = function(title){\r\n        $(this).find(\".dropdowntree-name\").text(title);\r\n    };\r\n\r\n    $(options.element).init.prototype.GetSelected = function(title){\r\n        var selectedElements = [];\r\n        $(this).find(\".fa-check-square-o\").each(function(){\r\n            selectedElements.push($(this).parents(\"li\").first());\r\n        });\r\n        return selectedElements;\r\n    };\r\n\r\n    $(options.element).init.prototype.AddChildren = function(element, arrOfElements){\r\n        if(options.addChildren && $(element).find(\"ul\").length == 0)\r\n            $(element).append(\"<ul></ul>\");\r\n        element = $(element).find(\"ul\").first();\r\n        if(element.find(\"li\").length==0)\r\n            RenderData(arrOfElements, element);\r\n    };\r\n\r\n};\r\n})(jQuery);","/* globals DropDownTree */\n\ndefine('DropDownTree', [], function() {\n  'use strict';\n\n  return {\n    'default': DropDownTree\n  };\n});\n","function _classCallCheck(t,i){if(!(t instanceof i))throw new TypeError(\"Cannot call a class as a function\")}function _defineProperties(t,i){for(var e=0;e<i.length;e++){var s=i[e];s.enumerable=s.enumerable||!1,s.configurable=!0,\"value\"in s&&(s.writable=!0),Object.defineProperty(t,s.key,s)}}function _createClass(t,i,e){return i&&_defineProperties(t.prototype,i),e&&_defineProperties(t,e),t}var Sticky=function(){function e(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:\"\",i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,e),this.selector=t,this.elements=[],this.version=\"1.3.0\",this.vp=this.getViewportSize(),this.body=document.querySelector(\"body\"),this.options={wrap:i.wrap||!1,wrapWith:i.wrapWith||\"<span></span>\",marginTop:i.marginTop||0,marginBottom:i.marginBottom||0,stickyFor:i.stickyFor||0,stickyClass:i.stickyClass||null,stickyContainer:i.stickyContainer||\"body\"},this.updateScrollTopPosition=this.updateScrollTopPosition.bind(this),this.updateScrollTopPosition(),window.addEventListener(\"load\",this.updateScrollTopPosition),window.addEventListener(\"scroll\",this.updateScrollTopPosition),this.run()}return _createClass(e,[{key:\"run\",value:function(){var i=this,e=setInterval(function(){if(\"complete\"===document.readyState){clearInterval(e);var t=document.querySelectorAll(i.selector);i.forEach(t,function(t){return i.renderElement(t)})}},10)}},{key:\"renderElement\",value:function(t){var i=this;t.sticky={},t.sticky.active=!1,t.sticky.marginTop=parseInt(t.getAttribute(\"data-margin-top\"))||this.options.marginTop,t.sticky.marginBottom=parseInt(t.getAttribute(\"data-margin-bottom\"))||this.options.marginBottom,t.sticky.stickyFor=parseInt(t.getAttribute(\"data-sticky-for\"))||this.options.stickyFor,t.sticky.stickyClass=t.getAttribute(\"data-sticky-class\")||this.options.stickyClass,t.sticky.wrap=!!t.hasAttribute(\"data-sticky-wrap\")||this.options.wrap,t.sticky.stickyContainer=this.options.stickyContainer,t.sticky.container=this.getStickyContainer(t),t.sticky.container.rect=this.getRectangle(t.sticky.container),t.sticky.rect=this.getRectangle(t),\"img\"===t.tagName.toLowerCase()&&(t.onload=function(){return t.sticky.rect=i.getRectangle(t)}),t.sticky.wrap&&this.wrapElement(t),this.activate(t)}},{key:\"wrapElement\",value:function(t){t.insertAdjacentHTML(\"beforebegin\",t.getAttribute(\"data-sticky-wrapWith\")||this.options.wrapWith),t.previousSibling.appendChild(t)}},{key:\"activate\",value:function(t){t.sticky.rect.top+t.sticky.rect.height<t.sticky.container.rect.top+t.sticky.container.rect.height&&t.sticky.stickyFor<this.vp.width&&!t.sticky.active&&(t.sticky.active=!0),this.elements.indexOf(t)<0&&this.elements.push(t),t.sticky.resizeEvent||(this.initResizeEvents(t),t.sticky.resizeEvent=!0),t.sticky.scrollEvent||(this.initScrollEvents(t),t.sticky.scrollEvent=!0),this.setPosition(t)}},{key:\"initResizeEvents\",value:function(t){var i=this;t.sticky.resizeListener=function(){return i.onResizeEvents(t)},window.addEventListener(\"resize\",t.sticky.resizeListener)}},{key:\"destroyResizeEvents\",value:function(t){window.removeEventListener(\"resize\",t.sticky.resizeListener)}},{key:\"onResizeEvents\",value:function(t){this.vp=this.getViewportSize(),t.sticky.rect=this.getRectangle(t),t.sticky.container.rect=this.getRectangle(t.sticky.container),t.sticky.rect.top+t.sticky.rect.height<t.sticky.container.rect.top+t.sticky.container.rect.height&&t.sticky.stickyFor<this.vp.width&&!t.sticky.active?t.sticky.active=!0:(t.sticky.rect.top+t.sticky.rect.height>=t.sticky.container.rect.top+t.sticky.container.rect.height||t.sticky.stickyFor>=this.vp.width&&t.sticky.active)&&(t.sticky.active=!1),this.setPosition(t)}},{key:\"initScrollEvents\",value:function(t){var i=this;t.sticky.scrollListener=function(){return i.onScrollEvents(t)},window.addEventListener(\"scroll\",t.sticky.scrollListener)}},{key:\"destroyScrollEvents\",value:function(t){window.removeEventListener(\"scroll\",t.sticky.scrollListener)}},{key:\"onScrollEvents\",value:function(t){t.sticky&&t.sticky.active&&this.setPosition(t)}},{key:\"setPosition\",value:function(t){this.css(t,{position:\"\",width:\"\",top:\"\",left:\"\"}),this.vp.height<t.sticky.rect.height||!t.sticky.active||(t.sticky.rect.width||(t.sticky.rect=this.getRectangle(t)),t.sticky.wrap&&this.css(t.parentNode,{display:\"block\",width:t.sticky.rect.width+\"px\",height:t.sticky.rect.height+\"px\"}),0===t.sticky.rect.top&&t.sticky.container===this.body?(this.css(t,{position:\"fixed\",top:t.sticky.rect.top+\"px\",left:t.sticky.rect.left+\"px\",width:t.sticky.rect.width+\"px\"}),t.sticky.stickyClass&&t.classList.add(t.sticky.stickyClass)):this.scrollTop>t.sticky.rect.top-t.sticky.marginTop?(this.css(t,{position:\"fixed\",width:t.sticky.rect.width+\"px\",left:t.sticky.rect.left+\"px\"}),this.scrollTop+t.sticky.rect.height+t.sticky.marginTop>t.sticky.container.rect.top+t.sticky.container.offsetHeight-t.sticky.marginBottom?(t.sticky.stickyClass&&t.classList.remove(t.sticky.stickyClass),this.css(t,{top:t.sticky.container.rect.top+t.sticky.container.offsetHeight-(this.scrollTop+t.sticky.rect.height+t.sticky.marginBottom)+\"px\"})):(t.sticky.stickyClass&&t.classList.add(t.sticky.stickyClass),this.css(t,{top:t.sticky.marginTop+\"px\"}))):(t.sticky.stickyClass&&t.classList.remove(t.sticky.stickyClass),this.css(t,{position:\"\",width:\"\",top:\"\",left:\"\"}),t.sticky.wrap&&this.css(t.parentNode,{display:\"\",width:\"\",height:\"\"})))}},{key:\"update\",value:function(){var i=this;this.forEach(this.elements,function(t){t.sticky.rect=i.getRectangle(t),t.sticky.container.rect=i.getRectangle(t.sticky.container),i.activate(t),i.setPosition(t)})}},{key:\"destroy\",value:function(){var i=this;window.removeEventListener(\"load\",this.updateScrollTopPosition),window.removeEventListener(\"scroll\",this.updateScrollTopPosition),this.forEach(this.elements,function(t){i.destroyResizeEvents(t),i.destroyScrollEvents(t),delete t.sticky})}},{key:\"getStickyContainer\",value:function(t){for(var i=t.parentNode;!i.hasAttribute(\"data-sticky-container\")&&!i.parentNode.querySelector(t.sticky.stickyContainer)&&i!==this.body;)i=i.parentNode;return i}},{key:\"getRectangle\",value:function(t){this.css(t,{position:\"\",width:\"\",top:\"\",left:\"\"});for(var i=Math.max(t.offsetWidth,t.clientWidth,t.scrollWidth),e=Math.max(t.offsetHeight,t.clientHeight,t.scrollHeight),s=0,n=0;s+=t.offsetTop||0,n+=t.offsetLeft||0,t=t.offsetParent;);return{top:s,left:n,width:i,height:e}}},{key:\"getViewportSize\",value:function(){return{width:Math.max(document.documentElement.clientWidth,window.innerWidth||0),height:Math.max(document.documentElement.clientHeight,window.innerHeight||0)}}},{key:\"updateScrollTopPosition\",value:function(){this.scrollTop=(window.pageYOffset||document.scrollTop)-(document.clientTop||0)||0}},{key:\"forEach\",value:function(t,i){for(var e=0,s=t.length;e<s;e++)i(t[e])}},{key:\"css\",value:function(t,i){for(var e in i)i.hasOwnProperty(e)&&(t.style[e]=i[e])}}]),e}();!function(t,i){\"undefined\"!=typeof exports?module.exports=i:\"function\"==typeof define&&define.amd?define([],function(){return i}):t.Sticky=i}(this,Sticky);","export default typeof window !== 'undefined' && typeof document !== 'undefined' && typeof navigator !== 'undefined';\n","import isBrowser from './isBrowser';\n\nconst timeoutDuration = (function(){\n  const longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox'];\n  for (let i = 0; i < longerTimeoutBrowsers.length; i += 1) {\n    if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) {\n      return 1;\n    }\n  }\n  return 0;\n}());\n\nexport function microtaskDebounce(fn) {\n  let called = false\n  return () => {\n    if (called) {\n      return\n    }\n    called = true\n    window.Promise.resolve().then(() => {\n      called = false\n      fn()\n    })\n  }\n}\n\nexport function taskDebounce(fn) {\n  let scheduled = false;\n  return () => {\n    if (!scheduled) {\n      scheduled = true;\n      setTimeout(() => {\n        scheduled = false;\n        fn();\n      }, timeoutDuration);\n    }\n  };\n}\n\nconst supportsMicroTasks = isBrowser && window.Promise\n\n\n/**\n* Create a debounced version of a method, that's asynchronously deferred\n* but called in the minimum time possible.\n*\n* @method\n* @memberof Popper.Utils\n* @argument {Function} fn\n* @returns {Function}\n*/\nexport default (supportsMicroTasks\n  ? microtaskDebounce\n  : taskDebounce);\n","/**\n * Check if the given variable is a function\n * @method\n * @memberof Popper.Utils\n * @argument {Any} functionToCheck - variable to check\n * @returns {Boolean} answer to: is a function?\n */\nexport default function isFunction(functionToCheck) {\n  const getType = {};\n  return (\n    functionToCheck &&\n    getType.toString.call(functionToCheck) === '[object Function]'\n  );\n}\n","/**\n * Get CSS computed property of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Eement} element\n * @argument {String} property\n */\nexport default function getStyleComputedProperty(element, property) {\n  if (element.nodeType !== 1) {\n    return [];\n  }\n  // NOTE: 1 DOM access here\n  const window = element.ownerDocument.defaultView;\n  const css = window.getComputedStyle(element, null);\n  return property ? css[property] : css;\n}\n","/**\n * Returns the parentNode or the host of the element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} parent\n */\nexport default function getParentNode(element) {\n  if (element.nodeName === 'HTML') {\n    return element;\n  }\n  return element.parentNode || element.host;\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getParentNode from './getParentNode';\n\n/**\n * Returns the scrolling parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} scroll parent\n */\nexport default function getScrollParent(element) {\n  // Return body, `getScroll` will take care to get the correct `scrollTop` from it\n  if (!element) {\n    return document.body\n  }\n\n  switch (element.nodeName) {\n    case 'HTML':\n    case 'BODY':\n      return element.ownerDocument.body\n    case '#document':\n      return element.body\n  }\n\n  // Firefox want us to check `-x` and `-y` variations as well\n  const { overflow, overflowX, overflowY } = getStyleComputedProperty(element);\n  if (/(auto|scroll|overlay)/.test(overflow + overflowY + overflowX)) {\n    return element;\n  }\n\n  return getScrollParent(getParentNode(element));\n}\n","/**\n * Returns the reference node of the reference object, or the reference object itself.\n * @method\n * @memberof Popper.Utils\n * @param {Element|Object} reference - the reference element (the popper will be relative to this)\n * @returns {Element} parent\n */\nexport default function getReferenceNode(reference) {\n  return reference && reference.referenceNode ? reference.referenceNode : reference;\n}\n","import isBrowser from './isBrowser';\n\nconst isIE11 = isBrowser && !!(window.MSInputMethodContext && document.documentMode);\nconst isIE10 = isBrowser && /MSIE 10/.test(navigator.userAgent);\n\n/**\n * Determines if the browser is Internet Explorer\n * @method\n * @memberof Popper.Utils\n * @param {Number} version to check\n * @returns {Boolean} isIE\n */\nexport default function isIE(version) {\n  if (version === 11) {\n    return isIE11;\n  }\n  if (version === 10) {\n    return isIE10;\n  }\n  return isIE11 || isIE10;\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport isIE from './isIE';\n/**\n * Returns the offset parent of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} offset parent\n */\nexport default function getOffsetParent(element) {\n  if (!element) {\n    return document.documentElement;\n  }\n\n  const noOffsetParent = isIE(10) ? document.body : null;\n\n  // NOTE: 1 DOM access here\n  let offsetParent = element.offsetParent || null;\n  // Skip hidden elements which don't have an offsetParent\n  while (offsetParent === noOffsetParent && element.nextElementSibling) {\n    offsetParent = (element = element.nextElementSibling).offsetParent;\n  }\n\n  const nodeName = offsetParent && offsetParent.nodeName;\n\n  if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n    return element ? element.ownerDocument.documentElement : document.documentElement;\n  }\n\n  // .offsetParent will return the closest TH, TD or TABLE in case\n  // no offsetParent is present, I hate this job...\n  if (\n    ['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 &&\n    getStyleComputedProperty(offsetParent, 'position') === 'static'\n  ) {\n    return getOffsetParent(offsetParent);\n  }\n\n  return offsetParent;\n}\n","import getOffsetParent from './getOffsetParent';\n\nexport default function isOffsetContainer(element) {\n  const { nodeName } = element;\n  if (nodeName === 'BODY') {\n    return false;\n  }\n  return (\n    nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element\n  );\n}\n","/**\n * Finds the root node (document, shadowDOM root) of the given element\n * @method\n * @memberof Popper.Utils\n * @argument {Element} node\n * @returns {Element} root node\n */\nexport default function getRoot(node) {\n  if (node.parentNode !== null) {\n    return getRoot(node.parentNode);\n  }\n\n  return node;\n}\n","import isOffsetContainer from './isOffsetContainer';\nimport getRoot from './getRoot';\nimport getOffsetParent from './getOffsetParent';\n\n/**\n * Finds the offset parent common to the two provided nodes\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element1\n * @argument {Element} element2\n * @returns {Element} common offset parent\n */\nexport default function findCommonOffsetParent(element1, element2) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n  if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) {\n    return document.documentElement;\n  }\n\n  // Here we make sure to give as \"start\" the element that comes first in the DOM\n  const order =\n    element1.compareDocumentPosition(element2) &\n    Node.DOCUMENT_POSITION_FOLLOWING;\n  const start = order ? element1 : element2;\n  const end = order ? element2 : element1;\n\n  // Get common ancestor container\n  const range = document.createRange();\n  range.setStart(start, 0);\n  range.setEnd(end, 0);\n  const { commonAncestorContainer } = range;\n\n  // Both nodes are inside #document\n  if (\n    (element1 !== commonAncestorContainer &&\n      element2 !== commonAncestorContainer) ||\n    start.contains(end)\n  ) {\n    if (isOffsetContainer(commonAncestorContainer)) {\n      return commonAncestorContainer;\n    }\n\n    return getOffsetParent(commonAncestorContainer);\n  }\n\n  // one of the nodes is inside shadowDOM, find which one\n  const element1root = getRoot(element1);\n  if (element1root.host) {\n    return findCommonOffsetParent(element1root.host, element2);\n  } else {\n    return findCommonOffsetParent(element1, getRoot(element2).host);\n  }\n}\n","/**\n * Gets the scroll value of the given element in the given side (top and left)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {String} side `top` or `left`\n * @returns {number} amount of scrolled pixels\n */\nexport default function getScroll(element, side = 'top') {\n  const upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft';\n  const nodeName = element.nodeName;\n\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    const html = element.ownerDocument.documentElement;\n    const scrollingElement = element.ownerDocument.scrollingElement || html;\n    return scrollingElement[upperSide];\n  }\n\n  return element[upperSide];\n}\n","import getScroll from './getScroll';\n\n/*\n * Sum or subtract the element scroll values (left and top) from a given rect object\n * @method\n * @memberof Popper.Utils\n * @param {Object} rect - Rect object you want to change\n * @param {HTMLElement} element - The element from the function reads the scroll values\n * @param {Boolean} subtract - set to true if you want to subtract the scroll values\n * @return {Object} rect - The modifier rect object\n */\nexport default function includeScroll(rect, element, subtract = false) {\n  const scrollTop = getScroll(element, 'top');\n  const scrollLeft = getScroll(element, 'left');\n  const modifier = subtract ? -1 : 1;\n  rect.top += scrollTop * modifier;\n  rect.bottom += scrollTop * modifier;\n  rect.left += scrollLeft * modifier;\n  rect.right += scrollLeft * modifier;\n  return rect;\n}\n","/*\n * Helper to detect borders of a given element\n * @method\n * @memberof Popper.Utils\n * @param {CSSStyleDeclaration} styles\n * Result of `getStyleComputedProperty` on the given element\n * @param {String} axis - `x` or `y`\n * @return {number} borders - The borders size of the given axis\n */\n\nexport default function getBordersSize(styles, axis) {\n  const sideA = axis === 'x' ? 'Left' : 'Top';\n  const sideB = sideA === 'Left' ? 'Right' : 'Bottom';\n\n  return (\n    parseFloat(styles[`border${sideA}Width`]) +\n    parseFloat(styles[`border${sideB}Width`])\n  );\n}\n","import isIE from './isIE';\n\nfunction getSize(axis, body, html, computedStyle) {\n  return Math.max(\n    body[`offset${axis}`],\n    body[`scroll${axis}`],\n    html[`client${axis}`],\n    html[`offset${axis}`],\n    html[`scroll${axis}`],\n    isIE(10)\n      ? (parseInt(html[`offset${axis}`]) + \n      parseInt(computedStyle[`margin${axis === 'Height' ? 'Top' : 'Left'}`]) + \n      parseInt(computedStyle[`margin${axis === 'Height' ? 'Bottom' : 'Right'}`]))\n    : 0 \n  );\n}\n\nexport default function getWindowSizes(document) {\n  const body = document.body;\n  const html = document.documentElement;\n  const computedStyle = isIE(10) && getComputedStyle(html);\n\n  return {\n    height: getSize('Height', body, html, computedStyle),\n    width: getSize('Width', body, html, computedStyle),\n  };\n}\n","/**\n * Given element offsets, generate an output similar to getBoundingClientRect\n * @method\n * @memberof Popper.Utils\n * @argument {Object} offsets\n * @returns {Object} ClientRect like output\n */\nexport default function getClientRect(offsets) {\n  return {\n    ...offsets,\n    right: offsets.left + offsets.width,\n    bottom: offsets.top + offsets.height,\n  };\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getBordersSize from './getBordersSize';\nimport getWindowSizes from './getWindowSizes';\nimport getScroll from './getScroll';\nimport getClientRect from './getClientRect';\nimport isIE from './isIE';\n\n/**\n * Get bounding client rect of given element\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} element\n * @return {Object} client rect\n */\nexport default function getBoundingClientRect(element) {\n  let rect = {};\n\n  // IE10 10 FIX: Please, don't ask, the element isn't\n  // considered in DOM in some circumstances...\n  // This isn't reproducible in IE10 compatibility mode of IE11\n  try {\n    if (isIE(10)) {\n      rect = element.getBoundingClientRect();\n      const scrollTop = getScroll(element, 'top');\n      const scrollLeft = getScroll(element, 'left');\n      rect.top += scrollTop;\n      rect.left += scrollLeft;\n      rect.bottom += scrollTop;\n      rect.right += scrollLeft;\n    }\n    else {\n      rect = element.getBoundingClientRect();\n    }\n  }\n  catch(e){}\n\n  const result = {\n    left: rect.left,\n    top: rect.top,\n    width: rect.right - rect.left,\n    height: rect.bottom - rect.top,\n  };\n\n  // subtract scrollbar size from sizes\n  const sizes = element.nodeName === 'HTML' ? getWindowSizes(element.ownerDocument) : {};\n  const width =\n    sizes.width || element.clientWidth || result.width;\n  const height =\n    sizes.height || element.clientHeight || result.height;\n\n  let horizScrollbar = element.offsetWidth - width;\n  let vertScrollbar = element.offsetHeight - height;\n\n  // if an hypothetical scrollbar is detected, we must be sure it's not a `border`\n  // we make this check conditional for performance reasons\n  if (horizScrollbar || vertScrollbar) {\n    const styles = getStyleComputedProperty(element);\n    horizScrollbar -= getBordersSize(styles, 'x');\n    vertScrollbar -= getBordersSize(styles, 'y');\n\n    result.width -= horizScrollbar;\n    result.height -= vertScrollbar;\n  }\n\n  return getClientRect(result);\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport includeScroll from './includeScroll';\nimport getScrollParent from './getScrollParent';\nimport getBoundingClientRect from './getBoundingClientRect';\nimport runIsIE from './isIE';\nimport getClientRect from './getClientRect';\n\nexport default function getOffsetRectRelativeToArbitraryNode(children, parent, fixedPosition = false) {\n  const isIE10 = runIsIE(10);\n  const isHTML = parent.nodeName === 'HTML';\n  const childrenRect = getBoundingClientRect(children);\n  const parentRect = getBoundingClientRect(parent);\n  const scrollParent = getScrollParent(children);\n\n  const styles = getStyleComputedProperty(parent);\n  const borderTopWidth = parseFloat(styles.borderTopWidth);\n  const borderLeftWidth = parseFloat(styles.borderLeftWidth);\n\n  // In cases where the parent is fixed, we must ignore negative scroll in offset calc\n  if(fixedPosition && isHTML) {\n    parentRect.top = Math.max(parentRect.top, 0);\n    parentRect.left = Math.max(parentRect.left, 0);\n  }\n  let offsets = getClientRect({\n    top: childrenRect.top - parentRect.top - borderTopWidth,\n    left: childrenRect.left - parentRect.left - borderLeftWidth,\n    width: childrenRect.width,\n    height: childrenRect.height,\n  });\n  offsets.marginTop = 0;\n  offsets.marginLeft = 0;\n\n  // Subtract margins of documentElement in case it's being used as parent\n  // we do this only on HTML because it's the only element that behaves\n  // differently when margins are applied to it. The margins are included in\n  // the box of the documentElement, in the other cases not.\n  if (!isIE10 && isHTML) {\n    const marginTop = parseFloat(styles.marginTop);\n    const marginLeft = parseFloat(styles.marginLeft);\n\n    offsets.top -= borderTopWidth - marginTop;\n    offsets.bottom -= borderTopWidth - marginTop;\n    offsets.left -= borderLeftWidth - marginLeft;\n    offsets.right -= borderLeftWidth - marginLeft;\n\n    // Attach marginTop and marginLeft because in some circumstances we may need them\n    offsets.marginTop = marginTop;\n    offsets.marginLeft = marginLeft;\n  }\n\n  if (\n    isIE10 && !fixedPosition\n      ? parent.contains(scrollParent)\n      : parent === scrollParent && scrollParent.nodeName !== 'BODY'\n  ) {\n    offsets = includeScroll(offsets, parent);\n  }\n\n  return offsets;\n}\n","import getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getScroll from './getScroll';\nimport getClientRect from './getClientRect';\n\nexport default function getViewportOffsetRectRelativeToArtbitraryNode(element, excludeScroll = false) {\n  const html = element.ownerDocument.documentElement;\n  const relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html);\n  const width = Math.max(html.clientWidth, window.innerWidth || 0);\n  const height = Math.max(html.clientHeight, window.innerHeight || 0);\n\n  const scrollTop = !excludeScroll ? getScroll(html) : 0;\n  const scrollLeft = !excludeScroll ? getScroll(html, 'left') : 0;\n\n  const offset = {\n    top: scrollTop - relativeOffset.top + relativeOffset.marginTop,\n    left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft,\n    width,\n    height,\n  };\n\n  return getClientRect(offset);\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport getParentNode from './getParentNode';\n\n/**\n * Check if the given element is fixed or is inside a fixed parent\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @argument {Element} customContainer\n * @returns {Boolean} answer to \"isFixed?\"\n */\nexport default function isFixed(element) {\n  const nodeName = element.nodeName;\n  if (nodeName === 'BODY' || nodeName === 'HTML') {\n    return false;\n  }\n  if (getStyleComputedProperty(element, 'position') === 'fixed') {\n    return true;\n  }\n  const parentNode = getParentNode(element);\n  if (!parentNode) {\n    return false;\n  }\n  return isFixed(parentNode);\n}\n","import getStyleComputedProperty from './getStyleComputedProperty';\nimport isIE from './isIE';\n/**\n * Finds the first parent of an element that has a transformed property defined\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Element} first transformed parent or documentElement\n */\n\nexport default function getFixedPositionOffsetParent(element) {\n  // This check is needed to avoid errors in case one of the elements isn't defined for any reason\n   if (!element || !element.parentElement || isIE()) {\n    return document.documentElement;\n  }\n  let el = element.parentElement;\n  while (el && getStyleComputedProperty(el, 'transform') === 'none') {\n    el = el.parentElement;\n  }\n  return el || document.documentElement;\n\n}\n","import getScrollParent from './getScrollParent';\nimport getParentNode from './getParentNode';\nimport getReferenceNode from './getReferenceNode';\nimport findCommonOffsetParent from './findCommonOffsetParent';\nimport getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getViewportOffsetRectRelativeToArtbitraryNode from './getViewportOffsetRectRelativeToArtbitraryNode';\nimport getWindowSizes from './getWindowSizes';\nimport isFixed from './isFixed';\nimport getFixedPositionOffsetParent from './getFixedPositionOffsetParent';\n\n/**\n * Computed the boundaries limits and return them\n * @method\n * @memberof Popper.Utils\n * @param {HTMLElement} popper\n * @param {HTMLElement} reference\n * @param {number} padding\n * @param {HTMLElement} boundariesElement - Element used to define the boundaries\n * @param {Boolean} fixedPosition - Is in fixed position mode\n * @returns {Object} Coordinates of the boundaries\n */\nexport default function getBoundaries(\n  popper,\n  reference,\n  padding,\n  boundariesElement,\n  fixedPosition = false\n) {\n  // NOTE: 1 DOM access here\n\n  let boundaries = { top: 0, left: 0 };\n  const offsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n\n  // Handle viewport case\n  if (boundariesElement === 'viewport' ) {\n    boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent, fixedPosition);\n  }\n\n  else {\n    // Handle other cases based on DOM element used as boundaries\n    let boundariesNode;\n    if (boundariesElement === 'scrollParent') {\n      boundariesNode = getScrollParent(getParentNode(reference));\n      if (boundariesNode.nodeName === 'BODY') {\n        boundariesNode = popper.ownerDocument.documentElement;\n      }\n    } else if (boundariesElement === 'window') {\n      boundariesNode = popper.ownerDocument.documentElement;\n    } else {\n      boundariesNode = boundariesElement;\n    }\n\n    const offsets = getOffsetRectRelativeToArbitraryNode(\n      boundariesNode,\n      offsetParent,\n      fixedPosition\n    );\n\n    // In case of HTML, we need a different computation\n    if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) {\n      const { height, width } = getWindowSizes(popper.ownerDocument);\n      boundaries.top += offsets.top - offsets.marginTop;\n      boundaries.bottom = height + offsets.top;\n      boundaries.left += offsets.left - offsets.marginLeft;\n      boundaries.right = width + offsets.left;\n    } else {\n      // for all the other DOM elements, this one is good\n      boundaries = offsets;\n    }\n  }\n\n  // Add paddings\n  padding = padding || 0;\n  const isPaddingNumber = typeof padding === 'number';\n  boundaries.left += isPaddingNumber ? padding : padding.left || 0; \n  boundaries.top += isPaddingNumber ? padding : padding.top || 0; \n  boundaries.right -= isPaddingNumber ? padding : padding.right || 0; \n  boundaries.bottom -= isPaddingNumber ? padding : padding.bottom || 0; \n\n  return boundaries;\n}\n","import getBoundaries from '../utils/getBoundaries';\n\nfunction getArea({ width, height }) {\n  return width * height;\n}\n\n/**\n * Utility used to transform the `auto` placement to the placement with more\n * available space.\n * @method\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function computeAutoPlacement(\n  placement,\n  refRect,\n  popper,\n  reference,\n  boundariesElement,\n  padding = 0\n) {\n  if (placement.indexOf('auto') === -1) {\n    return placement;\n  }\n\n  const boundaries = getBoundaries(\n    popper,\n    reference,\n    padding,\n    boundariesElement\n  );\n\n  const rects = {\n    top: {\n      width: boundaries.width,\n      height: refRect.top - boundaries.top,\n    },\n    right: {\n      width: boundaries.right - refRect.right,\n      height: boundaries.height,\n    },\n    bottom: {\n      width: boundaries.width,\n      height: boundaries.bottom - refRect.bottom,\n    },\n    left: {\n      width: refRect.left - boundaries.left,\n      height: boundaries.height,\n    },\n  };\n\n  const sortedAreas = Object.keys(rects)\n    .map(key => ({\n      key,\n      ...rects[key],\n      area: getArea(rects[key]),\n    }))\n    .sort((a, b) => b.area - a.area);\n\n  const filteredAreas = sortedAreas.filter(\n    ({ width, height }) =>\n      width >= popper.clientWidth && height >= popper.clientHeight\n  );\n\n  const computedPlacement = filteredAreas.length > 0\n    ? filteredAreas[0].key\n    : sortedAreas[0].key;\n\n  const variation = placement.split('-')[1];\n\n  return computedPlacement + (variation ? `-${variation}` : '');\n}\n","import findCommonOffsetParent from './findCommonOffsetParent';\nimport getOffsetRectRelativeToArbitraryNode from './getOffsetRectRelativeToArbitraryNode';\nimport getFixedPositionOffsetParent from './getFixedPositionOffsetParent';\nimport getReferenceNode from './getReferenceNode';\n\n/**\n * Get offsets to the reference element\n * @method\n * @memberof Popper.Utils\n * @param {Object} state\n * @param {Element} popper - the popper element\n * @param {Element} reference - the reference element (the popper will be relative to this)\n * @param {Element} fixedPosition - is in fixed position mode\n * @returns {Object} An object containing the offsets which will be applied to the popper\n */\nexport default function getReferenceOffsets(state, popper, reference, fixedPosition = null) {\n  const commonOffsetParent = fixedPosition ? getFixedPositionOffsetParent(popper) : findCommonOffsetParent(popper, getReferenceNode(reference));\n  return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent, fixedPosition);\n}\n","/**\n * Get the outer sizes of the given element (offset size + margins)\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element\n * @returns {Object} object containing width and height properties\n */\nexport default function getOuterSizes(element) {\n  const window = element.ownerDocument.defaultView;\n  const styles = window.getComputedStyle(element);\n  const x = parseFloat(styles.marginTop || 0) + parseFloat(styles.marginBottom || 0);\n  const y = parseFloat(styles.marginLeft || 0) + parseFloat(styles.marginRight || 0);\n  const result = {\n    width: element.offsetWidth + y,\n    height: element.offsetHeight + x,\n  };\n  return result;\n}\n","/**\n * Get the opposite placement of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement\n * @returns {String} flipped placement\n */\nexport default function getOppositePlacement(placement) {\n  const hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' };\n  return placement.replace(/left|right|bottom|top/g, matched => hash[matched]);\n}\n","import getOuterSizes from './getOuterSizes';\nimport getOppositePlacement from './getOppositePlacement';\n\n/**\n * Get offsets to the popper\n * @method\n * @memberof Popper.Utils\n * @param {Object} position - CSS position the Popper will get applied\n * @param {HTMLElement} popper - the popper element\n * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this)\n * @param {String} placement - one of the valid placement options\n * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper\n */\nexport default function getPopperOffsets(popper, referenceOffsets, placement) {\n  placement = placement.split('-')[0];\n\n  // Get popper node sizes\n  const popperRect = getOuterSizes(popper);\n\n  // Add position, width and height to our offsets object\n  const popperOffsets = {\n    width: popperRect.width,\n    height: popperRect.height,\n  };\n\n  // depending by the popper placement we have to compute its offsets slightly differently\n  const isHoriz = ['right', 'left'].indexOf(placement) !== -1;\n  const mainSide = isHoriz ? 'top' : 'left';\n  const secondarySide = isHoriz ? 'left' : 'top';\n  const measurement = isHoriz ? 'height' : 'width';\n  const secondaryMeasurement = !isHoriz ? 'height' : 'width';\n\n  popperOffsets[mainSide] =\n    referenceOffsets[mainSide] +\n    referenceOffsets[measurement] / 2 -\n    popperRect[measurement] / 2;\n  if (placement === secondarySide) {\n    popperOffsets[secondarySide] =\n      referenceOffsets[secondarySide] - popperRect[secondaryMeasurement];\n  } else {\n    popperOffsets[secondarySide] =\n      referenceOffsets[getOppositePlacement(secondarySide)];\n  }\n\n  return popperOffsets;\n}\n","/**\n * Mimics the `find` method of Array\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nexport default function find(arr, check) {\n  // use native find if supported\n  if (Array.prototype.find) {\n    return arr.find(check);\n  }\n\n  // use `filter` to obtain the same behavior of `find`\n  return arr.filter(check)[0];\n}\n","import find from './find';\n\n/**\n * Return the index of the matching object\n * @method\n * @memberof Popper.Utils\n * @argument {Array} arr\n * @argument prop\n * @argument value\n * @returns index or -1\n */\nexport default function findIndex(arr, prop, value) {\n  // use native findIndex if supported\n  if (Array.prototype.findIndex) {\n    return arr.findIndex(cur => cur[prop] === value);\n  }\n\n  // use `find` + `indexOf` if `findIndex` isn't supported\n  const match = find(arr, obj => obj[prop] === value);\n  return arr.indexOf(match);\n}\n","import isFunction from './isFunction';\nimport findIndex from './findIndex';\nimport getClientRect from '../utils/getClientRect';\n\n/**\n * Loop trough the list of modifiers and run them in order,\n * each of them will then edit the data object.\n * @method\n * @memberof Popper.Utils\n * @param {dataObject} data\n * @param {Array} modifiers\n * @param {String} ends - Optional modifier name used as stopper\n * @returns {dataObject}\n */\nexport default function runModifiers(modifiers, data, ends) {\n  const modifiersToRun = ends === undefined\n    ? modifiers\n    : modifiers.slice(0, findIndex(modifiers, 'name', ends));\n\n  modifiersToRun.forEach(modifier => {\n    if (modifier['function']) { // eslint-disable-line dot-notation\n      console.warn('`modifier.function` is deprecated, use `modifier.fn`!');\n    }\n    const fn = modifier['function'] || modifier.fn; // eslint-disable-line dot-notation\n    if (modifier.enabled && isFunction(fn)) {\n      // Add properties to offsets to make them a complete clientRect object\n      // we do this before each modifier to make sure the previous one doesn't\n      // mess with these values\n      data.offsets.popper = getClientRect(data.offsets.popper);\n      data.offsets.reference = getClientRect(data.offsets.reference);\n\n      data = fn(data, modifier);\n    }\n  });\n\n  return data;\n}\n","import computeAutoPlacement from '../utils/computeAutoPlacement';\nimport getReferenceOffsets from '../utils/getReferenceOffsets';\nimport getPopperOffsets from '../utils/getPopperOffsets';\nimport runModifiers from '../utils/runModifiers';\n\n/**\n * Updates the position of the popper, computing the new offsets and applying\n * the new style.<br />\n * Prefer `scheduleUpdate` over `update` because of performance reasons.\n * @method\n * @memberof Popper\n */\nexport default function update() {\n  // if popper is destroyed, don't perform any further update\n  if (this.state.isDestroyed) {\n    return;\n  }\n\n  let data = {\n    instance: this,\n    styles: {},\n    arrowStyles: {},\n    attributes: {},\n    flipped: false,\n    offsets: {},\n  };\n\n  // compute reference element offsets\n  data.offsets.reference = getReferenceOffsets(\n    this.state,\n    this.popper,\n    this.reference,\n    this.options.positionFixed\n  );\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  data.placement = computeAutoPlacement(\n    this.options.placement,\n    data.offsets.reference,\n    this.popper,\n    this.reference,\n    this.options.modifiers.flip.boundariesElement,\n    this.options.modifiers.flip.padding\n  );\n\n  // store the computed placement inside `originalPlacement`\n  data.originalPlacement = data.placement;\n\n  data.positionFixed = this.options.positionFixed;\n\n  // compute the popper offsets\n  data.offsets.popper = getPopperOffsets(\n    this.popper,\n    data.offsets.reference,\n    data.placement\n  );\n\n  data.offsets.popper.position = this.options.positionFixed\n    ? 'fixed'\n    : 'absolute';\n\n  // run the modifiers\n  data = runModifiers(this.modifiers, data);\n\n  // the first `update` will call `onCreate` callback\n  // the other ones will call `onUpdate` callback\n  if (!this.state.isCreated) {\n    this.state.isCreated = true;\n    this.options.onCreate(data);\n  } else {\n    this.options.onUpdate(data);\n  }\n}\n","/**\n * Helper used to know if the given modifier is enabled.\n * @method\n * @memberof Popper.Utils\n * @returns {Boolean}\n */\nexport default function isModifierEnabled(modifiers, modifierName) {\n  return modifiers.some(\n    ({ name, enabled }) => enabled && name === modifierName\n  );\n}\n","/**\n * Get the prefixed supported property name\n * @method\n * @memberof Popper.Utils\n * @argument {String} property (camelCase)\n * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix)\n */\nexport default function getSupportedPropertyName(property) {\n  const prefixes = [false, 'ms', 'Webkit', 'Moz', 'O'];\n  const upperProp = property.charAt(0).toUpperCase() + property.slice(1);\n\n  for (let i = 0; i < prefixes.length; i++) {\n    const prefix = prefixes[i];\n    const toCheck = prefix ? `${prefix}${upperProp}` : property;\n    if (typeof document.body.style[toCheck] !== 'undefined') {\n      return toCheck;\n    }\n  }\n  return null;\n}\n","import isModifierEnabled from '../utils/isModifierEnabled';\nimport getSupportedPropertyName from '../utils/getSupportedPropertyName';\n\n/**\n * Destroys the popper.\n * @method\n * @memberof Popper\n */\nexport default function destroy() {\n  this.state.isDestroyed = true;\n\n  // touch DOM only if `applyStyle` modifier is enabled\n  if (isModifierEnabled(this.modifiers, 'applyStyle')) {\n    this.popper.removeAttribute('x-placement');\n    this.popper.style.position = '';\n    this.popper.style.top = '';\n    this.popper.style.left = '';\n    this.popper.style.right = '';\n    this.popper.style.bottom = '';\n    this.popper.style.willChange = '';\n    this.popper.style[getSupportedPropertyName('transform')] = '';\n  }\n\n  this.disableEventListeners();\n\n  // remove the popper if user explicitly asked for the deletion on destroy\n  // do not use `remove` because IE11 doesn't support it\n  if (this.options.removeOnDestroy) {\n    this.popper.parentNode.removeChild(this.popper);\n  }\n  return this;\n}\n","/**\n * Get the window associated with the element\n * @argument {Element} element\n * @returns {Window}\n */\nexport default function getWindow(element) {\n  const ownerDocument = element.ownerDocument;\n  return ownerDocument ? ownerDocument.defaultView : window;\n}\n","import getScrollParent from './getScrollParent';\nimport getWindow from './getWindow';\n\nfunction attachToScrollParents(scrollParent, event, callback, scrollParents) {\n  const isBody = scrollParent.nodeName === 'BODY';\n  const target = isBody ? scrollParent.ownerDocument.defaultView : scrollParent;\n  target.addEventListener(event, callback, { passive: true });\n\n  if (!isBody) {\n    attachToScrollParents(\n      getScrollParent(target.parentNode),\n      event,\n      callback,\n      scrollParents\n    );\n  }\n  scrollParents.push(target);\n}\n\n/**\n * Setup needed event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nexport default function setupEventListeners(\n  reference,\n  options,\n  state,\n  updateBound\n) {\n  // Resize event listener on window\n  state.updateBound = updateBound;\n  getWindow(reference).addEventListener('resize', state.updateBound, { passive: true });\n\n  // Scroll event listener on scroll parents\n  const scrollElement = getScrollParent(reference);\n  attachToScrollParents(\n    scrollElement,\n    'scroll',\n    state.updateBound,\n    state.scrollParents\n  );\n  state.scrollElement = scrollElement;\n  state.eventsEnabled = true;\n\n  return state;\n}\n","import setupEventListeners from '../utils/setupEventListeners';\n\n/**\n * It will add resize/scroll events and start recalculating\n * position of the popper element when they are triggered.\n * @method\n * @memberof Popper\n */\nexport default function enableEventListeners() {\n  if (!this.state.eventsEnabled) {\n    this.state = setupEventListeners(\n      this.reference,\n      this.options,\n      this.state,\n      this.scheduleUpdate\n    );\n  }\n}\n","import getWindow from './getWindow';\n\n/**\n * Remove event listeners used to update the popper position\n * @method\n * @memberof Popper.Utils\n * @private\n */\nexport default function removeEventListeners(reference, state) {\n  // Remove resize event listener on window\n  getWindow(reference).removeEventListener('resize', state.updateBound);\n\n  // Remove scroll event listener on scroll parents\n  state.scrollParents.forEach(target => {\n    target.removeEventListener('scroll', state.updateBound);\n  });\n\n  // Reset state\n  state.updateBound = null;\n  state.scrollParents = [];\n  state.scrollElement = null;\n  state.eventsEnabled = false;\n  return state;\n}\n","import removeEventListeners from '../utils/removeEventListeners';\n\n/**\n * It will remove resize/scroll events and won't recalculate popper position\n * when they are triggered. It also won't trigger `onUpdate` callback anymore,\n * unless you call `update` method manually.\n * @method\n * @memberof Popper\n */\nexport default function disableEventListeners() {\n  if (this.state.eventsEnabled) {\n    cancelAnimationFrame(this.scheduleUpdate);\n    this.state = removeEventListeners(this.reference, this.state);\n  }\n}\n","/**\n * Tells if a given input is a number\n * @method\n * @memberof Popper.Utils\n * @param {*} input to check\n * @return {Boolean}\n */\nexport default function isNumeric(n) {\n  return n !== '' && !isNaN(parseFloat(n)) && isFinite(n);\n}\n","import isNumeric from './isNumeric';\n\n/**\n * Set the style to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the style to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nexport default function setStyles(element, styles) {\n  Object.keys(styles).forEach(prop => {\n    let unit = '';\n    // add unit if the value is numeric and is one of the following\n    if (\n      ['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !==\n        -1 &&\n      isNumeric(styles[prop])\n    ) {\n      unit = 'px';\n    }\n    element.style[prop] = styles[prop] + unit;\n  });\n}\n","/**\n * Set the attributes to the given popper\n * @method\n * @memberof Popper.Utils\n * @argument {Element} element - Element to apply the attributes to\n * @argument {Object} styles\n * Object with a list of properties and values which will be applied to the element\n */\nexport default function setAttributes(element, attributes) {\n  Object.keys(attributes).forEach(function(prop) {\n    const value = attributes[prop];\n    if (value !== false) {\n      element.setAttribute(prop, attributes[prop]);\n    } else {\n      element.removeAttribute(prop);\n    }\n  });\n}\n","import setStyles from '../utils/setStyles';\nimport setAttributes from '../utils/setAttributes';\nimport getReferenceOffsets from '../utils/getReferenceOffsets';\nimport computeAutoPlacement from '../utils/computeAutoPlacement';\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} data.styles - List of style properties - values to apply to popper element\n * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The same data object\n */\nexport default function applyStyle(data) {\n  // any property present in `data.styles` will be applied to the popper,\n  // in this way we can make the 3rd party modifiers add custom styles to it\n  // Be aware, modifiers could override the properties defined in the previous\n  // lines of this modifier!\n  setStyles(data.instance.popper, data.styles);\n\n  // any property present in `data.attributes` will be applied to the popper,\n  // they will be set as HTML attributes of the element\n  setAttributes(data.instance.popper, data.attributes);\n\n  // if arrowElement is defined and arrowStyles has some properties\n  if (data.arrowElement && Object.keys(data.arrowStyles).length) {\n    setStyles(data.arrowElement, data.arrowStyles);\n  }\n\n  return data;\n}\n\n/**\n * Set the x-placement attribute before everything else because it could be used\n * to add margins to the popper margins needs to be calculated to get the\n * correct popper offsets.\n * @method\n * @memberof Popper.modifiers\n * @param {HTMLElement} reference - The reference element used to position the popper\n * @param {HTMLElement} popper - The HTML element used as popper\n * @param {Object} options - Popper.js options\n */\nexport function applyStyleOnLoad(\n  reference,\n  popper,\n  options,\n  modifierOptions,\n  state\n) {\n  // compute reference element offsets\n  const referenceOffsets = getReferenceOffsets(state, popper, reference, options.positionFixed);\n\n  // compute auto placement, store placement inside the data object,\n  // modifiers will be able to edit `placement` if needed\n  // and refer to originalPlacement to know the original value\n  const placement = computeAutoPlacement(\n    options.placement,\n    referenceOffsets,\n    popper,\n    reference,\n    options.modifiers.flip.boundariesElement,\n    options.modifiers.flip.padding\n  );\n\n  popper.setAttribute('x-placement', placement);\n\n  // Apply `position` to popper before anything else because\n  // without the position applied we can't guarantee correct computations\n  setStyles(popper, { position: options.positionFixed ? 'fixed' : 'absolute' });\n\n  return options;\n}\n","/**\n * @function\n * @memberof Popper.Utils\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Boolean} shouldRound - If the offsets should be rounded at all\n * @returns {Object} The popper's position offsets rounded\n *\n * The tale of pixel-perfect positioning. It's still not 100% perfect, but as\n * good as it can be within reason.\n * Discussion here: https://github.com/FezVrasta/popper.js/pull/715\n *\n * Low DPI screens cause a popper to be blurry if not using full pixels (Safari\n * as well on High DPI screens).\n *\n * Firefox prefers no rounding for positioning and does not have blurriness on\n * high DPI screens.\n *\n * Only horizontal placement and left/right values need to be considered.\n */\nexport default function getRoundedOffsets(data, shouldRound) {\n  const { popper, reference } = data.offsets;\n  const { round, floor } = Math;\n  const noRound = v => v;\n  \n  const referenceWidth = round(reference.width);\n  const popperWidth = round(popper.width);\n  \n  const isVertical = ['left', 'right'].indexOf(data.placement) !== -1;\n  const isVariation = data.placement.indexOf('-') !== -1;\n  const sameWidthParity = referenceWidth % 2 === popperWidth % 2;\n  const bothOddWidth = referenceWidth % 2 === 1 && popperWidth % 2 === 1;\n\n  const horizontalToInteger = !shouldRound\n    ? noRound\n    : isVertical || isVariation || sameWidthParity\n    ? round\n    : floor;\n  const verticalToInteger = !shouldRound ? noRound : round;\n\n  return {\n    left: horizontalToInteger(\n      bothOddWidth && !isVariation && shouldRound\n        ? popper.left - 1\n        : popper.left\n    ),\n    top: verticalToInteger(popper.top),\n    bottom: verticalToInteger(popper.bottom),\n    right: horizontalToInteger(popper.right),\n  };\n}\n","import getSupportedPropertyName from '../utils/getSupportedPropertyName';\nimport find from '../utils/find';\nimport getOffsetParent from '../utils/getOffsetParent';\nimport getBoundingClientRect from '../utils/getBoundingClientRect';\nimport getRoundedOffsets from '../utils/getRoundedOffsets';\nimport isBrowser from '../utils/isBrowser';\n\nconst isFirefox = isBrowser && /Firefox/i.test(navigator.userAgent);\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function computeStyle(data, options) {\n  const { x, y } = options;\n  const { popper } = data.offsets;\n\n  // Remove this legacy support in Popper.js v2\n  const legacyGpuAccelerationOption = find(\n    data.instance.modifiers,\n    modifier => modifier.name === 'applyStyle'\n  ).gpuAcceleration;\n  if (legacyGpuAccelerationOption !== undefined) {\n    console.warn(\n      'WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'\n    );\n  }\n  const gpuAcceleration =\n    legacyGpuAccelerationOption !== undefined\n      ? legacyGpuAccelerationOption\n      : options.gpuAcceleration;\n\n  const offsetParent = getOffsetParent(data.instance.popper);\n  const offsetParentRect = getBoundingClientRect(offsetParent);\n\n  // Styles\n  const styles = {\n    position: popper.position,\n  };\n\n  const offsets = getRoundedOffsets(\n    data,\n    window.devicePixelRatio < 2 || !isFirefox\n  );\n\n  const sideA = x === 'bottom' ? 'top' : 'bottom';\n  const sideB = y === 'right' ? 'left' : 'right';\n\n  // if gpuAcceleration is set to `true` and transform is supported,\n  //  we use `translate3d` to apply the position to the popper we\n  // automatically use the supported prefixed version if needed\n  const prefixedProperty = getSupportedPropertyName('transform');\n\n  // now, let's make a step back and look at this code closely (wtf?)\n  // If the content of the popper grows once it's been positioned, it\n  // may happen that the popper gets misplaced because of the new content\n  // overflowing its reference element\n  // To avoid this problem, we provide two options (x and y), which allow\n  // the consumer to define the offset origin.\n  // If we position a popper on top of a reference element, we can set\n  // `x` to `top` to make the popper grow towards its top instead of\n  // its bottom.\n  let left, top;\n  if (sideA === 'bottom') {\n    // when offsetParent is <html> the positioning is relative to the bottom of the screen (excluding the scrollbar)\n    // and not the bottom of the html element\n    if (offsetParent.nodeName === 'HTML') {\n      top = -offsetParent.clientHeight + offsets.bottom;\n    } else {\n      top = -offsetParentRect.height + offsets.bottom;\n    }\n  } else {\n    top = offsets.top;\n  }\n  if (sideB === 'right') {\n    if (offsetParent.nodeName === 'HTML') {\n      left = -offsetParent.clientWidth + offsets.right;\n    } else {\n      left = -offsetParentRect.width + offsets.right;\n    }\n  } else {\n    left = offsets.left;\n  }\n  if (gpuAcceleration && prefixedProperty) {\n    styles[prefixedProperty] = `translate3d(${left}px, ${top}px, 0)`;\n    styles[sideA] = 0;\n    styles[sideB] = 0;\n    styles.willChange = 'transform';\n  } else {\n    // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties\n    const invertTop = sideA === 'bottom' ? -1 : 1;\n    const invertLeft = sideB === 'right' ? -1 : 1;\n    styles[sideA] = top * invertTop;\n    styles[sideB] = left * invertLeft;\n    styles.willChange = `${sideA}, ${sideB}`;\n  }\n\n  // Attributes\n  const attributes = {\n    'x-placement': data.placement,\n  };\n\n  // Update `data` attributes, styles and arrowStyles\n  data.attributes = { ...attributes, ...data.attributes };\n  data.styles = { ...styles, ...data.styles };\n  data.arrowStyles = { ...data.offsets.arrow, ...data.arrowStyles };\n\n  return data;\n}\n","import find from './find';\n\n/**\n * Helper used to know if the given modifier depends from another one.<br />\n * It checks if the needed modifier is listed and enabled.\n * @method\n * @memberof Popper.Utils\n * @param {Array} modifiers - list of modifiers\n * @param {String} requestingName - name of requesting modifier\n * @param {String} requestedName - name of requested modifier\n * @returns {Boolean}\n */\nexport default function isModifierRequired(\n  modifiers,\n  requestingName,\n  requestedName\n) {\n  const requesting = find(modifiers, ({ name }) => name === requestingName);\n\n  const isRequired =\n    !!requesting &&\n    modifiers.some(modifier => {\n      return (\n        modifier.name === requestedName &&\n        modifier.enabled &&\n        modifier.order < requesting.order\n      );\n    });\n\n  if (!isRequired) {\n    const requesting = `\\`${requestingName}\\``;\n    const requested = `\\`${requestedName}\\``;\n    console.warn(\n      `${requested} modifier is required by ${requesting} modifier in order to work, be sure to include it before ${requesting}!`\n    );\n  }\n  return isRequired;\n}\n","import getClientRect from '../utils/getClientRect';\nimport getOuterSizes from '../utils/getOuterSizes';\nimport isModifierRequired from '../utils/isModifierRequired';\nimport getStyleComputedProperty from '../utils/getStyleComputedProperty';\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function arrow(data, options) {\n  // arrow depends on keepTogether in order to work\n  if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) {\n    return data;\n  }\n\n  let arrowElement = options.element;\n\n  // if arrowElement is a string, suppose it's a CSS selector\n  if (typeof arrowElement === 'string') {\n    arrowElement = data.instance.popper.querySelector(arrowElement);\n\n    // if arrowElement is not found, don't run the modifier\n    if (!arrowElement) {\n      return data;\n    }\n  } else {\n    // if the arrowElement isn't a query selector we must check that the\n    // provided DOM node is child of its popper node\n    if (!data.instance.popper.contains(arrowElement)) {\n      console.warn(\n        'WARNING: `arrow.element` must be child of its popper element!'\n      );\n      return data;\n    }\n  }\n\n  const placement = data.placement.split('-')[0];\n  const { popper, reference } = data.offsets;\n  const isVertical = ['left', 'right'].indexOf(placement) !== -1;\n\n  const len = isVertical ? 'height' : 'width';\n  const sideCapitalized = isVertical ? 'Top' : 'Left';\n  const side = sideCapitalized.toLowerCase();\n  const altSide = isVertical ? 'left' : 'top';\n  const opSide = isVertical ? 'bottom' : 'right';\n  const arrowElementSize = getOuterSizes(arrowElement)[len];\n\n  //\n  // extends keepTogether behavior making sure the popper and its\n  // reference have enough pixels in conjunction\n  //\n\n  // top/left side\n  if (reference[opSide] - arrowElementSize < popper[side]) {\n    data.offsets.popper[side] -=\n      popper[side] - (reference[opSide] - arrowElementSize);\n  }\n  // bottom/right side\n  if (reference[side] + arrowElementSize > popper[opSide]) {\n    data.offsets.popper[side] +=\n      reference[side] + arrowElementSize - popper[opSide];\n  }\n  data.offsets.popper = getClientRect(data.offsets.popper);\n\n  // compute center of the popper\n  const center = reference[side] + reference[len] / 2 - arrowElementSize / 2;\n\n  // Compute the sideValue using the updated popper offsets\n  // take popper margin in account because we don't have this info available\n  const css = getStyleComputedProperty(data.instance.popper);\n  const popperMarginSide = parseFloat(css[`margin${sideCapitalized}`]);\n  const popperBorderSide = parseFloat(css[`border${sideCapitalized}Width`]);\n  let sideValue =\n    center - data.offsets.popper[side] - popperMarginSide - popperBorderSide;\n\n  // prevent arrowElement from being placed not contiguously to its popper\n  sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0);\n\n  data.arrowElement = arrowElement;\n  data.offsets.arrow = {\n    [side]: Math.round(sideValue),\n    [altSide]: '', // make sure to unset any eventual altSide value from the DOM node\n  };\n\n  return data;\n}\n","/**\n * Get the opposite placement variation of the given one\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement variation\n * @returns {String} flipped placement variation\n */\nexport default function getOppositeVariation(variation) {\n  if (variation === 'end') {\n    return 'start';\n  } else if (variation === 'start') {\n    return 'end';\n  }\n  return variation;\n}\n","/**\n * List of accepted placements to use as values of the `placement` option.<br />\n * Valid placements are:\n * - `auto`\n * - `top`\n * - `right`\n * - `bottom`\n * - `left`\n *\n * Each placement can have a variation from this list:\n * - `-start`\n * - `-end`\n *\n * Variations are interpreted easily if you think of them as the left to right\n * written languages. Horizontally (`top` and `bottom`), `start` is left and `end`\n * is right.<br />\n * Vertically (`left` and `right`), `start` is top and `end` is bottom.\n *\n * Some valid examples are:\n * - `top-end` (on top of reference, right aligned)\n * - `right-start` (on right of reference, top aligned)\n * - `bottom` (on bottom, centered)\n * - `auto-end` (on the side with more space available, alignment depends by placement)\n *\n * @static\n * @type {Array}\n * @enum {String}\n * @readonly\n * @method placements\n * @memberof Popper\n */\nexport default [\n  'auto-start',\n  'auto',\n  'auto-end',\n  'top-start',\n  'top',\n  'top-end',\n  'right-start',\n  'right',\n  'right-end',\n  'bottom-end',\n  'bottom',\n  'bottom-start',\n  'left-end',\n  'left',\n  'left-start',\n];\n","import placements from '../methods/placements';\n\n// Get rid of `auto` `auto-start` and `auto-end`\nconst validPlacements = placements.slice(3);\n\n/**\n * Given an initial placement, returns all the subsequent placements\n * clockwise (or counter-clockwise).\n *\n * @method\n * @memberof Popper.Utils\n * @argument {String} placement - A valid placement (it accepts variations)\n * @argument {Boolean} counter - Set to true to walk the placements counterclockwise\n * @returns {Array} placements including their variations\n */\nexport default function clockwise(placement, counter = false) {\n  const index = validPlacements.indexOf(placement);\n  const arr = validPlacements\n    .slice(index + 1)\n    .concat(validPlacements.slice(0, index));\n  return counter ? arr.reverse() : arr;\n}\n","import getOppositePlacement from '../utils/getOppositePlacement';\nimport getOppositeVariation from '../utils/getOppositeVariation';\nimport getPopperOffsets from '../utils/getPopperOffsets';\nimport runModifiers from '../utils/runModifiers';\nimport getBoundaries from '../utils/getBoundaries';\nimport isModifierEnabled from '../utils/isModifierEnabled';\nimport clockwise from '../utils/clockwise';\n\nconst BEHAVIORS = {\n  FLIP: 'flip',\n  CLOCKWISE: 'clockwise',\n  COUNTERCLOCKWISE: 'counterclockwise',\n};\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function flip(data, options) {\n  // if `inner` modifier is enabled, we can't use the `flip` modifier\n  if (isModifierEnabled(data.instance.modifiers, 'inner')) {\n    return data;\n  }\n\n  if (data.flipped && data.placement === data.originalPlacement) {\n    // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides\n    return data;\n  }\n\n  const boundaries = getBoundaries(\n    data.instance.popper,\n    data.instance.reference,\n    options.padding,\n    options.boundariesElement,\n    data.positionFixed\n  );\n\n  let placement = data.placement.split('-')[0];\n  let placementOpposite = getOppositePlacement(placement);\n  let variation = data.placement.split('-')[1] || '';\n\n  let flipOrder = [];\n\n  switch (options.behavior) {\n    case BEHAVIORS.FLIP:\n      flipOrder = [placement, placementOpposite];\n      break;\n    case BEHAVIORS.CLOCKWISE:\n      flipOrder = clockwise(placement);\n      break;\n    case BEHAVIORS.COUNTERCLOCKWISE:\n      flipOrder = clockwise(placement, true);\n      break;\n    default:\n      flipOrder = options.behavior;\n  }\n\n  flipOrder.forEach((step, index) => {\n    if (placement !== step || flipOrder.length === index + 1) {\n      return data;\n    }\n\n    placement = data.placement.split('-')[0];\n    placementOpposite = getOppositePlacement(placement);\n\n    const popperOffsets = data.offsets.popper;\n    const refOffsets = data.offsets.reference;\n\n    // using floor because the reference offsets may contain decimals we are not going to consider here\n    const floor = Math.floor;\n    const overlapsRef =\n      (placement === 'left' &&\n        floor(popperOffsets.right) > floor(refOffsets.left)) ||\n      (placement === 'right' &&\n        floor(popperOffsets.left) < floor(refOffsets.right)) ||\n      (placement === 'top' &&\n        floor(popperOffsets.bottom) > floor(refOffsets.top)) ||\n      (placement === 'bottom' &&\n        floor(popperOffsets.top) < floor(refOffsets.bottom));\n\n    const overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left);\n    const overflowsRight = floor(popperOffsets.right) > floor(boundaries.right);\n    const overflowsTop = floor(popperOffsets.top) < floor(boundaries.top);\n    const overflowsBottom =\n      floor(popperOffsets.bottom) > floor(boundaries.bottom);\n\n    const overflowsBoundaries =\n      (placement === 'left' && overflowsLeft) ||\n      (placement === 'right' && overflowsRight) ||\n      (placement === 'top' && overflowsTop) ||\n      (placement === 'bottom' && overflowsBottom);\n\n    // flip the variation if required\n    const isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n\n    // flips variation if reference element overflows boundaries\n    const flippedVariationByRef =\n      !!options.flipVariations &&\n      ((isVertical && variation === 'start' && overflowsLeft) ||\n        (isVertical && variation === 'end' && overflowsRight) ||\n        (!isVertical && variation === 'start' && overflowsTop) ||\n        (!isVertical && variation === 'end' && overflowsBottom));\n\n    // flips variation if popper content overflows boundaries\n    const flippedVariationByContent =\n      !!options.flipVariationsByContent &&\n      ((isVertical && variation === 'start' && overflowsRight) ||\n        (isVertical && variation === 'end' && overflowsLeft) ||\n        (!isVertical && variation === 'start' && overflowsBottom) ||\n        (!isVertical && variation === 'end' && overflowsTop));\n\n    const flippedVariation = flippedVariationByRef || flippedVariationByContent;\n\n    if (overlapsRef || overflowsBoundaries || flippedVariation) {\n      // this boolean to detect any flip loop\n      data.flipped = true;\n\n      if (overlapsRef || overflowsBoundaries) {\n        placement = flipOrder[index + 1];\n      }\n\n      if (flippedVariation) {\n        variation = getOppositeVariation(variation);\n      }\n\n      data.placement = placement + (variation ? '-' + variation : '');\n\n      // this object contains `position`, we want to preserve it along with\n      // any additional property we may add in the future\n      data.offsets.popper = {\n        ...data.offsets.popper,\n        ...getPopperOffsets(\n          data.instance.popper,\n          data.offsets.reference,\n          data.placement\n        ),\n      };\n\n      data = runModifiers(data.instance.modifiers, data, 'flip');\n    }\n  });\n  return data;\n}\n","/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function keepTogether(data) {\n  const { popper, reference } = data.offsets;\n  const placement = data.placement.split('-')[0];\n  const floor = Math.floor;\n  const isVertical = ['top', 'bottom'].indexOf(placement) !== -1;\n  const side = isVertical ? 'right' : 'bottom';\n  const opSide = isVertical ? 'left' : 'top';\n  const measurement = isVertical ? 'width' : 'height';\n\n  if (popper[side] < floor(reference[opSide])) {\n    data.offsets.popper[opSide] =\n      floor(reference[opSide]) - popper[measurement];\n  }\n  if (popper[opSide] > floor(reference[side])) {\n    data.offsets.popper[opSide] = floor(reference[side]);\n  }\n\n  return data;\n}\n","import isNumeric from '../utils/isNumeric';\nimport getClientRect from '../utils/getClientRect';\nimport find from '../utils/find';\n\n/**\n * Converts a string containing value + unit into a px value number\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} str - Value + unit string\n * @argument {String} measurement - `height` or `width`\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @returns {Number|String}\n * Value in pixels, or original string if no values were extracted\n */\nexport function toValue(str, measurement, popperOffsets, referenceOffsets) {\n  // separate value from unit\n  const split = str.match(/((?:\\-|\\+)?\\d*\\.?\\d*)(.*)/);\n  const value = +split[1];\n  const unit = split[2];\n\n  // If it's not a number it's an operator, I guess\n  if (!value) {\n    return str;\n  }\n\n  if (unit.indexOf('%') === 0) {\n    let element;\n    switch (unit) {\n      case '%p':\n        element = popperOffsets;\n        break;\n      case '%':\n      case '%r':\n      default:\n        element = referenceOffsets;\n    }\n\n    const rect = getClientRect(element);\n    return rect[measurement] / 100 * value;\n  } else if (unit === 'vh' || unit === 'vw') {\n    // if is a vh or vw, we calculate the size based on the viewport\n    let size;\n    if (unit === 'vh') {\n      size = Math.max(\n        document.documentElement.clientHeight,\n        window.innerHeight || 0\n      );\n    } else {\n      size = Math.max(\n        document.documentElement.clientWidth,\n        window.innerWidth || 0\n      );\n    }\n    return size / 100 * value;\n  } else {\n    // if is an explicit pixel unit, we get rid of the unit and keep the value\n    // if is an implicit unit, it's px, and we return just the value\n    return value;\n  }\n}\n\n/**\n * Parse an `offset` string to extrapolate `x` and `y` numeric offsets.\n * @function\n * @memberof {modifiers~offset}\n * @private\n * @argument {String} offset\n * @argument {Object} popperOffsets\n * @argument {Object} referenceOffsets\n * @argument {String} basePlacement\n * @returns {Array} a two cells array with x and y offsets in numbers\n */\nexport function parseOffset(\n  offset,\n  popperOffsets,\n  referenceOffsets,\n  basePlacement\n) {\n  const offsets = [0, 0];\n\n  // Use height if placement is left or right and index is 0 otherwise use width\n  // in this way the first offset will use an axis and the second one\n  // will use the other one\n  const useHeight = ['right', 'left'].indexOf(basePlacement) !== -1;\n\n  // Split the offset string to obtain a list of values and operands\n  // The regex addresses values with the plus or minus sign in front (+10, -20, etc)\n  const fragments = offset.split(/(\\+|\\-)/).map(frag => frag.trim());\n\n  // Detect if the offset string contains a pair of values or a single one\n  // they could be separated by comma or space\n  const divider = fragments.indexOf(\n    find(fragments, frag => frag.search(/,|\\s/) !== -1)\n  );\n\n  if (fragments[divider] && fragments[divider].indexOf(',') === -1) {\n    console.warn(\n      'Offsets separated by white space(s) are deprecated, use a comma (,) instead.'\n    );\n  }\n\n  // If divider is found, we divide the list of values and operands to divide\n  // them by ofset X and Y.\n  const splitRegex = /\\s*,\\s*|\\s+/;\n  let ops = divider !== -1\n    ? [\n        fragments\n          .slice(0, divider)\n          .concat([fragments[divider].split(splitRegex)[0]]),\n        [fragments[divider].split(splitRegex)[1]].concat(\n          fragments.slice(divider + 1)\n        ),\n      ]\n    : [fragments];\n\n  // Convert the values with units to absolute pixels to allow our computations\n  ops = ops.map((op, index) => {\n    // Most of the units rely on the orientation of the popper\n    const measurement = (index === 1 ? !useHeight : useHeight)\n      ? 'height'\n      : 'width';\n    let mergeWithPrevious = false;\n    return (\n      op\n        // This aggregates any `+` or `-` sign that aren't considered operators\n        // e.g.: 10 + +5 => [10, +, +5]\n        .reduce((a, b) => {\n          if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) {\n            a[a.length - 1] = b;\n            mergeWithPrevious = true;\n            return a;\n          } else if (mergeWithPrevious) {\n            a[a.length - 1] += b;\n            mergeWithPrevious = false;\n            return a;\n          } else {\n            return a.concat(b);\n          }\n        }, [])\n        // Here we convert the string values into number values (in px)\n        .map(str => toValue(str, measurement, popperOffsets, referenceOffsets))\n    );\n  });\n\n  // Loop trough the offsets arrays and execute the operations\n  ops.forEach((op, index) => {\n    op.forEach((frag, index2) => {\n      if (isNumeric(frag)) {\n        offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1);\n      }\n    });\n  });\n  return offsets;\n}\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @argument {Number|String} options.offset=0\n * The offset value as described in the modifier description\n * @returns {Object} The data object, properly modified\n */\nexport default function offset(data, { offset }) {\n  const { placement, offsets: { popper, reference } } = data;\n  const basePlacement = placement.split('-')[0];\n\n  let offsets;\n  if (isNumeric(+offset)) {\n    offsets = [+offset, 0];\n  } else {\n    offsets = parseOffset(offset, popper, reference, basePlacement);\n  }\n\n  if (basePlacement === 'left') {\n    popper.top += offsets[0];\n    popper.left -= offsets[1];\n  } else if (basePlacement === 'right') {\n    popper.top += offsets[0];\n    popper.left += offsets[1];\n  } else if (basePlacement === 'top') {\n    popper.left += offsets[0];\n    popper.top -= offsets[1];\n  } else if (basePlacement === 'bottom') {\n    popper.left += offsets[0];\n    popper.top += offsets[1];\n  }\n\n  data.popper = popper;\n  return data;\n}\n","import getOffsetParent from '../utils/getOffsetParent';\nimport getBoundaries from '../utils/getBoundaries';\nimport getSupportedPropertyName from '../utils/getSupportedPropertyName';\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function preventOverflow(data, options) {\n  let boundariesElement =\n    options.boundariesElement || getOffsetParent(data.instance.popper);\n\n  // If offsetParent is the reference element, we really want to\n  // go one step up and use the next offsetParent as reference to\n  // avoid to make this modifier completely useless and look like broken\n  if (data.instance.reference === boundariesElement) {\n    boundariesElement = getOffsetParent(boundariesElement);\n  }\n\n  // NOTE: DOM access here\n  // resets the popper's position so that the document size can be calculated excluding\n  // the size of the popper element itself\n  const transformProp = getSupportedPropertyName('transform');\n  const popperStyles = data.instance.popper.style; // assignment to help minification\n  const { top, left, [transformProp]: transform } = popperStyles;\n  popperStyles.top = '';\n  popperStyles.left = '';\n  popperStyles[transformProp] = '';\n\n  const boundaries = getBoundaries(\n    data.instance.popper,\n    data.instance.reference,\n    options.padding,\n    boundariesElement,\n    data.positionFixed\n  );\n\n  // NOTE: DOM access here\n  // restores the original style properties after the offsets have been computed\n  popperStyles.top = top;\n  popperStyles.left = left;\n  popperStyles[transformProp] = transform;\n\n  options.boundaries = boundaries;\n\n  const order = options.priority;\n  let popper = data.offsets.popper;\n\n  const check = {\n    primary(placement) {\n      let value = popper[placement];\n      if (\n        popper[placement] < boundaries[placement] &&\n        !options.escapeWithReference\n      ) {\n        value = Math.max(popper[placement], boundaries[placement]);\n      }\n      return { [placement]: value };\n    },\n    secondary(placement) {\n      const mainSide = placement === 'right' ? 'left' : 'top';\n      let value = popper[mainSide];\n      if (\n        popper[placement] > boundaries[placement] &&\n        !options.escapeWithReference\n      ) {\n        value = Math.min(\n          popper[mainSide],\n          boundaries[placement] -\n            (placement === 'right' ? popper.width : popper.height)\n        );\n      }\n      return { [mainSide]: value };\n    },\n  };\n\n  order.forEach(placement => {\n    const side =\n      ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary';\n    popper = { ...popper, ...check[side](placement) };\n  });\n\n  data.offsets.popper = popper;\n\n  return data;\n}\n","/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function shift(data) {\n  const placement = data.placement;\n  const basePlacement = placement.split('-')[0];\n  const shiftvariation = placement.split('-')[1];\n\n  // if shift shiftvariation is specified, run the modifier\n  if (shiftvariation) {\n    const { reference, popper } = data.offsets;\n    const isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1;\n    const side = isVertical ? 'left' : 'top';\n    const measurement = isVertical ? 'width' : 'height';\n\n    const shiftOffsets = {\n      start: { [side]: reference[side] },\n      end: {\n        [side]: reference[side] + reference[measurement] - popper[measurement],\n      },\n    };\n\n    data.offsets.popper = { ...popper, ...shiftOffsets[shiftvariation] };\n  }\n\n  return data;\n}\n","import isModifierRequired from '../utils/isModifierRequired';\nimport find from '../utils/find';\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by update method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function hide(data) {\n  if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) {\n    return data;\n  }\n\n  const refRect = data.offsets.reference;\n  const bound = find(\n    data.instance.modifiers,\n    modifier => modifier.name === 'preventOverflow'\n  ).boundaries;\n\n  if (\n    refRect.bottom < bound.top ||\n    refRect.left > bound.right ||\n    refRect.top > bound.bottom ||\n    refRect.right < bound.left\n  ) {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === true) {\n      return data;\n    }\n\n    data.hide = true;\n    data.attributes['x-out-of-boundaries'] = '';\n  } else {\n    // Avoid unnecessary DOM access if visibility hasn't changed\n    if (data.hide === false) {\n      return data;\n    }\n\n    data.hide = false;\n    data.attributes['x-out-of-boundaries'] = false;\n  }\n\n  return data;\n}\n","import getClientRect from '../utils/getClientRect';\nimport getOppositePlacement from '../utils/getOppositePlacement';\n\n/**\n * @function\n * @memberof Modifiers\n * @argument {Object} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {Object} The data object, properly modified\n */\nexport default function inner(data) {\n  const placement = data.placement;\n  const basePlacement = placement.split('-')[0];\n  const { popper, reference } = data.offsets;\n  const isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1;\n\n  const subtractLength = ['top', 'left'].indexOf(basePlacement) === -1;\n\n  popper[isHoriz ? 'left' : 'top'] =\n    reference[basePlacement] -\n    (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0);\n\n  data.placement = getOppositePlacement(placement);\n  data.offsets.popper = getClientRect(popper);\n\n  return data;\n}\n","import applyStyle, { applyStyleOnLoad } from './applyStyle';\nimport computeStyle from './computeStyle';\nimport arrow from './arrow';\nimport flip from './flip';\nimport keepTogether from './keepTogether';\nimport offset from './offset';\nimport preventOverflow from './preventOverflow';\nimport shift from './shift';\nimport hide from './hide';\nimport inner from './inner';\n\n/**\n * Modifier function, each modifier can have a function of this type assigned\n * to its `fn` property.<br />\n * These functions will be called on each update, this means that you must\n * make sure they are performant enough to avoid performance bottlenecks.\n *\n * @function ModifierFn\n * @argument {dataObject} data - The data object generated by `update` method\n * @argument {Object} options - Modifiers configuration and options\n * @returns {dataObject} The data object, properly modified\n */\n\n/**\n * Modifiers are plugins used to alter the behavior of your poppers.<br />\n * Popper.js uses a set of 9 modifiers to provide all the basic functionalities\n * needed by the library.\n *\n * Usually you don't want to override the `order`, `fn` and `onLoad` props.\n * All the other properties are configurations that could be tweaked.\n * @namespace modifiers\n */\nexport default {\n  /**\n   * Modifier used to shift the popper on the start or end of its reference\n   * element.<br />\n   * It will read the variation of the `placement` property.<br />\n   * It can be one either `-end` or `-start`.\n   * @memberof modifiers\n   * @inner\n   */\n  shift: {\n    /** @prop {number} order=100 - Index used to define the order of execution */\n    order: 100,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: shift,\n  },\n\n  /**\n   * The `offset` modifier can shift your popper on both its axis.\n   *\n   * It accepts the following units:\n   * - `px` or unit-less, interpreted as pixels\n   * - `%` or `%r`, percentage relative to the length of the reference element\n   * - `%p`, percentage relative to the length of the popper element\n   * - `vw`, CSS viewport width unit\n   * - `vh`, CSS viewport height unit\n   *\n   * For length is intended the main axis relative to the placement of the popper.<br />\n   * This means that if the placement is `top` or `bottom`, the length will be the\n   * `width`. In case of `left` or `right`, it will be the `height`.\n   *\n   * You can provide a single value (as `Number` or `String`), or a pair of values\n   * as `String` divided by a comma or one (or more) white spaces.<br />\n   * The latter is a deprecated method because it leads to confusion and will be\n   * removed in v2.<br />\n   * Additionally, it accepts additions and subtractions between different units.\n   * Note that multiplications and divisions aren't supported.\n   *\n   * Valid examples are:\n   * ```\n   * 10\n   * '10%'\n   * '10, 10'\n   * '10%, 10'\n   * '10 + 10%'\n   * '10 - 5vh + 3%'\n   * '-10px + 5vh, 5px - 6%'\n   * ```\n   * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap\n   * > with their reference element, unfortunately, you will have to disable the `flip` modifier.\n   * > You can read more on this at this [issue](https://github.com/FezVrasta/popper.js/issues/373).\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  offset: {\n    /** @prop {number} order=200 - Index used to define the order of execution */\n    order: 200,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: offset,\n    /** @prop {Number|String} offset=0\n     * The offset value as described in the modifier description\n     */\n    offset: 0,\n  },\n\n  /**\n   * Modifier used to prevent the popper from being positioned outside the boundary.\n   *\n   * A scenario exists where the reference itself is not within the boundaries.<br />\n   * We can say it has \"escaped the boundaries\" — or just \"escaped\".<br />\n   * In this case we need to decide whether the popper should either:\n   *\n   * - detach from the reference and remain \"trapped\" in the boundaries, or\n   * - if it should ignore the boundary and \"escape with its reference\"\n   *\n   * When `escapeWithReference` is set to`true` and reference is completely\n   * outside its boundaries, the popper will overflow (or completely leave)\n   * the boundaries in order to remain attached to the edge of the reference.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  preventOverflow: {\n    /** @prop {number} order=300 - Index used to define the order of execution */\n    order: 300,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: preventOverflow,\n    /**\n     * @prop {Array} [priority=['left','right','top','bottom']]\n     * Popper will try to prevent overflow following these priorities by default,\n     * then, it could overflow on the left and on top of the `boundariesElement`\n     */\n    priority: ['left', 'right', 'top', 'bottom'],\n    /**\n     * @prop {number} padding=5\n     * Amount of pixel used to define a minimum distance between the boundaries\n     * and the popper. This makes sure the popper always has a little padding\n     * between the edges of its container\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='scrollParent'\n     * Boundaries used by the modifier. Can be `scrollParent`, `window`,\n     * `viewport` or any DOM element.\n     */\n    boundariesElement: 'scrollParent',\n  },\n\n  /**\n   * Modifier used to make sure the reference and its popper stay near each other\n   * without leaving any gap between the two. Especially useful when the arrow is\n   * enabled and you want to ensure that it points to its reference element.\n   * It cares only about the first axis. You can still have poppers with margin\n   * between the popper and its reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  keepTogether: {\n    /** @prop {number} order=400 - Index used to define the order of execution */\n    order: 400,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: keepTogether,\n  },\n\n  /**\n   * This modifier is used to move the `arrowElement` of the popper to make\n   * sure it is positioned between the reference element and its popper element.\n   * It will read the outer size of the `arrowElement` node to detect how many\n   * pixels of conjunction are needed.\n   *\n   * It has no effect if no `arrowElement` is provided.\n   * @memberof modifiers\n   * @inner\n   */\n  arrow: {\n    /** @prop {number} order=500 - Index used to define the order of execution */\n    order: 500,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: arrow,\n    /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */\n    element: '[x-arrow]',\n  },\n\n  /**\n   * Modifier used to flip the popper's placement when it starts to overlap its\n   * reference element.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   *\n   * **NOTE:** this modifier will interrupt the current update cycle and will\n   * restart it if it detects the need to flip the placement.\n   * @memberof modifiers\n   * @inner\n   */\n  flip: {\n    /** @prop {number} order=600 - Index used to define the order of execution */\n    order: 600,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: flip,\n    /**\n     * @prop {String|Array} behavior='flip'\n     * The behavior used to change the popper's placement. It can be one of\n     * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid\n     * placements (with optional variations)\n     */\n    behavior: 'flip',\n    /**\n     * @prop {number} padding=5\n     * The popper will flip if it hits the edges of the `boundariesElement`\n     */\n    padding: 5,\n    /**\n     * @prop {String|HTMLElement} boundariesElement='viewport'\n     * The element which will define the boundaries of the popper position.\n     * The popper will never be placed outside of the defined boundaries\n     * (except if `keepTogether` is enabled)\n     */\n    boundariesElement: 'viewport',\n    /**\n     * @prop {Boolean} flipVariations=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the reference element overlaps its boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariations: false,\n    /**\n     * @prop {Boolean} flipVariationsByContent=false\n     * The popper will switch placement variation between `-start` and `-end` when\n     * the popper element overlaps its reference boundaries.\n     *\n     * The original placement should have a set variation.\n     */\n    flipVariationsByContent: false,\n  },\n\n  /**\n   * Modifier used to make the popper flow toward the inner of the reference element.\n   * By default, when this modifier is disabled, the popper will be placed outside\n   * the reference element.\n   * @memberof modifiers\n   * @inner\n   */\n  inner: {\n    /** @prop {number} order=700 - Index used to define the order of execution */\n    order: 700,\n    /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */\n    enabled: false,\n    /** @prop {ModifierFn} */\n    fn: inner,\n  },\n\n  /**\n   * Modifier used to hide the popper when its reference element is outside of the\n   * popper boundaries. It will set a `x-out-of-boundaries` attribute which can\n   * be used to hide with a CSS selector the popper when its reference is\n   * out of boundaries.\n   *\n   * Requires the `preventOverflow` modifier before it in order to work.\n   * @memberof modifiers\n   * @inner\n   */\n  hide: {\n    /** @prop {number} order=800 - Index used to define the order of execution */\n    order: 800,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: hide,\n  },\n\n  /**\n   * Computes the style that will be applied to the popper element to gets\n   * properly positioned.\n   *\n   * Note that this modifier will not touch the DOM, it just prepares the styles\n   * so that `applyStyle` modifier can apply it. This separation is useful\n   * in case you need to replace `applyStyle` with a custom implementation.\n   *\n   * This modifier has `850` as `order` value to maintain backward compatibility\n   * with previous versions of Popper.js. Expect the modifiers ordering method\n   * to change in future major versions of the library.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  computeStyle: {\n    /** @prop {number} order=850 - Index used to define the order of execution */\n    order: 850,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: computeStyle,\n    /**\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: true,\n    /**\n     * @prop {string} [x='bottom']\n     * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin.\n     * Change this if your popper should grow in a direction different from `bottom`\n     */\n    x: 'bottom',\n    /**\n     * @prop {string} [x='left']\n     * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin.\n     * Change this if your popper should grow in a direction different from `right`\n     */\n    y: 'right',\n  },\n\n  /**\n   * Applies the computed styles to the popper element.\n   *\n   * All the DOM manipulations are limited to this modifier. This is useful in case\n   * you want to integrate Popper.js inside a framework or view library and you\n   * want to delegate all the DOM manipulations to it.\n   *\n   * Note that if you disable this modifier, you must make sure the popper element\n   * has its position set to `absolute` before Popper.js can do its work!\n   *\n   * Just disable this modifier and define your own to achieve the desired effect.\n   *\n   * @memberof modifiers\n   * @inner\n   */\n  applyStyle: {\n    /** @prop {number} order=900 - Index used to define the order of execution */\n    order: 900,\n    /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */\n    enabled: true,\n    /** @prop {ModifierFn} */\n    fn: applyStyle,\n    /** @prop {Function} */\n    onLoad: applyStyleOnLoad,\n    /**\n     * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier\n     * @prop {Boolean} gpuAcceleration=true\n     * If true, it uses the CSS 3D transformation to position the popper.\n     * Otherwise, it will use the `top` and `left` properties\n     */\n    gpuAcceleration: undefined,\n  },\n};\n\n/**\n * The `dataObject` is an object containing all the information used by Popper.js.\n * This object is passed to modifiers and to the `onCreate` and `onUpdate` callbacks.\n * @name dataObject\n * @property {Object} data.instance The Popper.js instance\n * @property {String} data.placement Placement applied to popper\n * @property {String} data.originalPlacement Placement originally defined on init\n * @property {Boolean} data.flipped True if popper has been flipped by flip modifier\n * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper\n * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier\n * @property {Object} data.styles Any CSS property defined here will be applied to the popper. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow. It expects the JavaScript nomenclature (eg. `marginBottom`)\n * @property {Object} data.boundaries Offsets of the popper boundaries\n * @property {Object} data.offsets The measurements of popper, reference and arrow elements\n * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values\n * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0\n */\n","import modifiers from '../modifiers/index';\n\n/**\n * Default options provided to Popper.js constructor.<br />\n * These can be overridden using the `options` argument of Popper.js.<br />\n * To override an option, simply pass an object with the same\n * structure of the `options` object, as the 3rd argument. For example:\n * ```\n * new Popper(ref, pop, {\n *   modifiers: {\n *     preventOverflow: { enabled: false }\n *   }\n * })\n * ```\n * @type {Object}\n * @static\n * @memberof Popper\n */\nexport default {\n  /**\n   * Popper's placement.\n   * @prop {Popper.placements} placement='bottom'\n   */\n  placement: 'bottom',\n\n  /**\n   * Set this to true if you want popper to position it self in 'fixed' mode\n   * @prop {Boolean} positionFixed=false\n   */\n  positionFixed: false,\n\n  /**\n   * Whether events (resize, scroll) are initially enabled.\n   * @prop {Boolean} eventsEnabled=true\n   */\n  eventsEnabled: true,\n\n  /**\n   * Set to true if you want to automatically remove the popper when\n   * you call the `destroy` method.\n   * @prop {Boolean} removeOnDestroy=false\n   */\n  removeOnDestroy: false,\n\n  /**\n   * Callback called when the popper is created.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onCreate}\n   */\n  onCreate: () => {},\n\n  /**\n   * Callback called when the popper is updated. This callback is not called\n   * on the initialization/creation of the popper, but only on subsequent\n   * updates.<br />\n   * By default, it is set to no-op.<br />\n   * Access Popper.js instance with `data.instance`.\n   * @prop {onUpdate}\n   */\n  onUpdate: () => {},\n\n  /**\n   * List of modifiers used to modify the offsets before they are applied to the popper.\n   * They provide most of the functionalities of Popper.js.\n   * @prop {modifiers}\n   */\n  modifiers,\n};\n\n/**\n * @callback onCreate\n * @param {dataObject} data\n */\n\n/**\n * @callback onUpdate\n * @param {dataObject} data\n */\n","// Utils\nimport debounce from './utils/debounce';\nimport isFunction from './utils/isFunction';\n\n// Methods\nimport update from './methods/update';\nimport destroy from './methods/destroy';\nimport enableEventListeners from './methods/enableEventListeners';\nimport disableEventListeners from './methods/disableEventListeners';\nimport Defaults from './methods/defaults';\nimport placements from './methods/placements';\n\nexport default class Popper {\n  /**\n   * Creates a new Popper.js instance.\n   * @class Popper\n   * @param {Element|referenceObject} reference - The reference element used to position the popper\n   * @param {Element} popper - The HTML / XML element used as the popper\n   * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults)\n   * @return {Object} instance - The generated Popper.js instance\n   */\n  constructor(reference, popper, options = {}) {\n    // make update() debounced, so that it only runs at most once-per-tick\n    this.update = debounce(this.update.bind(this));\n\n    // with {} we create a new object with the options inside it\n    this.options = { ...Popper.Defaults, ...options };\n\n    // init state\n    this.state = {\n      isDestroyed: false,\n      isCreated: false,\n      scrollParents: [],\n    };\n\n    // get reference and popper elements (allow jQuery wrappers)\n    this.reference = reference && reference.jquery ? reference[0] : reference;\n    this.popper = popper && popper.jquery ? popper[0] : popper;\n\n    // Deep merge modifiers options\n    this.options.modifiers = {};\n    Object.keys({\n      ...Popper.Defaults.modifiers,\n      ...options.modifiers,\n    }).forEach(name => {\n      this.options.modifiers[name] = {\n        // If it's a built-in modifier, use it as base\n        ...(Popper.Defaults.modifiers[name] || {}),\n        // If there are custom options, override and merge with default ones\n        ...(options.modifiers ? options.modifiers[name] : {}),\n      };\n    });\n\n    // Refactoring modifiers' list (Object => Array)\n    this.modifiers = Object.keys(this.options.modifiers)\n      .map(name => ({\n        name,\n        ...this.options.modifiers[name],\n      }))\n      // sort the modifiers by order\n      .sort((a, b) => a.order - b.order);\n\n    // modifiers have the ability to execute arbitrary code when Popper.js get inited\n    // such code is executed in the same order of its modifier\n    // they could add new properties to their options configuration\n    // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`!\n    this.modifiers.forEach(modifierOptions => {\n      if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) {\n        modifierOptions.onLoad(\n          this.reference,\n          this.popper,\n          this.options,\n          modifierOptions,\n          this.state\n        );\n      }\n    });\n\n    // fire the first update to position the popper in the right place\n    this.update();\n\n    const eventsEnabled = this.options.eventsEnabled;\n    if (eventsEnabled) {\n      // setup event listeners, they will take care of update the position in specific situations\n      this.enableEventListeners();\n    }\n\n    this.state.eventsEnabled = eventsEnabled;\n  }\n\n  // We can't use class properties because they don't get listed in the\n  // class prototype and break stuff like Sinon stubs\n  update() {\n    return update.call(this);\n  }\n  destroy() {\n    return destroy.call(this);\n  }\n  enableEventListeners() {\n    return enableEventListeners.call(this);\n  }\n  disableEventListeners() {\n    return disableEventListeners.call(this);\n  }\n\n  /**\n   * Schedules an update. It will run on the next UI update available.\n   * @method scheduleUpdate\n   * @memberof Popper\n   */\n  scheduleUpdate = () => requestAnimationFrame(this.update);\n\n  /**\n   * Collection of utilities useful when writing custom modifiers.\n   * Starting from version 1.7, this method is available only if you\n   * include `popper-utils.js` before `popper.js`.\n   *\n   * **DEPRECATION**: This way to access PopperUtils is deprecated\n   * and will be removed in v2! Use the PopperUtils module directly instead.\n   * Due to the high instability of the methods contained in Utils, we can't\n   * guarantee them to follow semver. Use them at your own risk!\n   * @static\n   * @private\n   * @type {Object}\n   * @deprecated since version 1.8\n   * @member Utils\n   * @memberof Popper\n   */\n  static Utils = (typeof window !== 'undefined' ? window : global).PopperUtils;\n\n  static placements = placements;\n\n  static Defaults = Defaults;\n}\n\n/**\n * The `referenceObject` is an object that provides an interface compatible with Popper.js\n * and lets you use it as replacement of a real DOM node.<br />\n * You can use this method to position a popper relatively to a set of coordinates\n * in case you don't have a DOM node to use as reference.\n *\n * ```\n * new Popper(referenceObject, popperNode);\n * ```\n *\n * NB: This feature isn't supported in Internet Explorer 10.\n * @name referenceObject\n * @property {Function} data.getBoundingClientRect\n * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method.\n * @property {number} data.clientWidth\n * An ES6 getter that will return the width of the virtual reference element.\n * @property {number} data.clientHeight\n * An ES6 getter that will return the height of the virtual reference element.\n */\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): util.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Private TransitionEnd Helpers\n */\n\nconst TRANSITION_END = 'transitionend'\nconst MAX_UID = 1000000\nconst MILLISECONDS_MULTIPLIER = 1000\n\n// Shoutout AngusCroll (https://goo.gl/pxwQGp)\nfunction toType(obj) {\n  if (obj === null || typeof obj === 'undefined') {\n    return `${obj}`\n  }\n\n  return {}.toString.call(obj).match(/\\s([a-z]+)/i)[1].toLowerCase()\n}\n\nfunction getSpecialTransitionEndEvent() {\n  return {\n    bindType: TRANSITION_END,\n    delegateType: TRANSITION_END,\n    handle(event) {\n      if ($(event.target).is(this)) {\n        return event.handleObj.handler.apply(this, arguments) // eslint-disable-line prefer-rest-params\n      }\n\n      return undefined\n    }\n  }\n}\n\nfunction transitionEndEmulator(duration) {\n  let called = false\n\n  $(this).one(Util.TRANSITION_END, () => {\n    called = true\n  })\n\n  setTimeout(() => {\n    if (!called) {\n      Util.triggerTransitionEnd(this)\n    }\n  }, duration)\n\n  return this\n}\n\nfunction setTransitionEndSupport() {\n  $.fn.emulateTransitionEnd = transitionEndEmulator\n  $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent()\n}\n\n/**\n * Public Util API\n */\n\nconst Util = {\n  TRANSITION_END: 'bsTransitionEnd',\n\n  getUID(prefix) {\n    do {\n      // eslint-disable-next-line no-bitwise\n      prefix += ~~(Math.random() * MAX_UID) // \"~~\" acts like a faster Math.floor() here\n    } while (document.getElementById(prefix))\n\n    return prefix\n  },\n\n  getSelectorFromElement(element) {\n    let selector = element.getAttribute('data-target')\n\n    if (!selector || selector === '#') {\n      const hrefAttr = element.getAttribute('href')\n      selector = hrefAttr && hrefAttr !== '#' ? hrefAttr.trim() : ''\n    }\n\n    try {\n      return document.querySelector(selector) ? selector : null\n    } catch (_) {\n      return null\n    }\n  },\n\n  getTransitionDurationFromElement(element) {\n    if (!element) {\n      return 0\n    }\n\n    // Get transition-duration of the element\n    let transitionDuration = $(element).css('transition-duration')\n    let transitionDelay = $(element).css('transition-delay')\n\n    const floatTransitionDuration = parseFloat(transitionDuration)\n    const floatTransitionDelay = parseFloat(transitionDelay)\n\n    // Return 0 if element or transition duration is not found\n    if (!floatTransitionDuration && !floatTransitionDelay) {\n      return 0\n    }\n\n    // If multiple durations are defined, take the first\n    transitionDuration = transitionDuration.split(',')[0]\n    transitionDelay = transitionDelay.split(',')[0]\n\n    return (parseFloat(transitionDuration) + parseFloat(transitionDelay)) * MILLISECONDS_MULTIPLIER\n  },\n\n  reflow(element) {\n    return element.offsetHeight\n  },\n\n  triggerTransitionEnd(element) {\n    $(element).trigger(TRANSITION_END)\n  },\n\n  supportsTransitionEnd() {\n    return Boolean(TRANSITION_END)\n  },\n\n  isElement(obj) {\n    return (obj[0] || obj).nodeType\n  },\n\n  typeCheckConfig(componentName, config, configTypes) {\n    for (const property in configTypes) {\n      if (Object.prototype.hasOwnProperty.call(configTypes, property)) {\n        const expectedTypes = configTypes[property]\n        const value = config[property]\n        const valueType = value && Util.isElement(value) ?\n          'element' : toType(value)\n\n        if (!new RegExp(expectedTypes).test(valueType)) {\n          throw new Error(\n            `${componentName.toUpperCase()}: ` +\n            `Option \"${property}\" provided type \"${valueType}\" ` +\n            `but expected type \"${expectedTypes}\".`)\n        }\n      }\n    }\n  },\n\n  findShadowRoot(element) {\n    if (!document.documentElement.attachShadow) {\n      return null\n    }\n\n    // Can find the shadow root otherwise it'll return the document\n    if (typeof element.getRootNode === 'function') {\n      const root = element.getRootNode()\n      return root instanceof ShadowRoot ? root : null\n    }\n\n    if (element instanceof ShadowRoot) {\n      return element\n    }\n\n    // when we don't find a shadow root\n    if (!element.parentNode) {\n      return null\n    }\n\n    return Util.findShadowRoot(element.parentNode)\n  },\n\n  jQueryDetection() {\n    if (typeof $ === 'undefined') {\n      throw new TypeError('Bootstrap\\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\\'s JavaScript.')\n    }\n\n    const version = $.fn.jquery.split(' ')[0].split('.')\n    const minMajor = 1\n    const ltMajor = 2\n    const minMinor = 9\n    const minPatch = 1\n    const maxMajor = 4\n\n    if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) {\n      throw new Error('Bootstrap\\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0')\n    }\n  }\n}\n\nUtil.jQueryDetection()\nsetTransitionEndSupport()\n\nexport default Util\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): alert.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'alert'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.alert'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_ALERT = 'alert'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\nconst EVENT_CLOSE = `close${EVENT_KEY}`\nconst EVENT_CLOSED = `closed${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DISMISS = '[data-dismiss=\"alert\"]'\n\n/**\n * Class definition\n */\n\nclass Alert {\n  constructor(element) {\n    this._element = element\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  // Public\n  close(element) {\n    let rootElement = this._element\n    if (element) {\n      rootElement = this._getRootElement(element)\n    }\n\n    const customEvent = this._triggerCloseEvent(rootElement)\n\n    if (customEvent.isDefaultPrevented()) {\n      return\n    }\n\n    this._removeElement(rootElement)\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n    this._element = null\n  }\n\n  // Private\n  _getRootElement(element) {\n    const selector = Util.getSelectorFromElement(element)\n    let parent = false\n\n    if (selector) {\n      parent = document.querySelector(selector)\n    }\n\n    if (!parent) {\n      parent = $(element).closest(`.${CLASS_NAME_ALERT}`)[0]\n    }\n\n    return parent\n  }\n\n  _triggerCloseEvent(element) {\n    const closeEvent = $.Event(EVENT_CLOSE)\n\n    $(element).trigger(closeEvent)\n    return closeEvent\n  }\n\n  _removeElement(element) {\n    $(element).removeClass(CLASS_NAME_SHOW)\n\n    if (!$(element).hasClass(CLASS_NAME_FADE)) {\n      this._destroyElement(element)\n      return\n    }\n\n    const transitionDuration = Util.getTransitionDurationFromElement(element)\n\n    $(element)\n      .one(Util.TRANSITION_END, event => this._destroyElement(element, event))\n      .emulateTransitionEnd(transitionDuration)\n  }\n\n  _destroyElement(element) {\n    $(element)\n      .detach()\n      .trigger(EVENT_CLOSED)\n      .remove()\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      const $element = $(this)\n      let data = $element.data(DATA_KEY)\n\n      if (!data) {\n        data = new Alert(this)\n        $element.data(DATA_KEY, data)\n      }\n\n      if (config === 'close') {\n        data[config](this)\n      }\n    })\n  }\n\n  static _handleDismiss(alertInstance) {\n    return function (event) {\n      if (event) {\n        event.preventDefault()\n      }\n\n      alertInstance.close(this)\n    }\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document).on(\n  EVENT_CLICK_DATA_API,\n  SELECTOR_DISMISS,\n  Alert._handleDismiss(new Alert())\n)\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Alert._jQueryInterface\n$.fn[NAME].Constructor = Alert\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Alert._jQueryInterface\n}\n\nexport default Alert\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): button.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\n\n/**\n * Constants\n */\n\nconst NAME = 'button'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.button'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_BUTTON = 'btn'\nconst CLASS_NAME_FOCUS = 'focus'\n\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_FOCUS_BLUR_DATA_API = `focus${EVENT_KEY}${DATA_API_KEY} ` +\n                          `blur${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DATA_TOGGLE_CARROT = '[data-toggle^=\"button\"]'\nconst SELECTOR_DATA_TOGGLES = '[data-toggle=\"buttons\"]'\nconst SELECTOR_DATA_TOGGLE = '[data-toggle=\"button\"]'\nconst SELECTOR_DATA_TOGGLES_BUTTONS = '[data-toggle=\"buttons\"] .btn'\nconst SELECTOR_INPUT = 'input:not([type=\"hidden\"])'\nconst SELECTOR_ACTIVE = '.active'\nconst SELECTOR_BUTTON = '.btn'\n\n/**\n * Class definition\n */\n\nclass Button {\n  constructor(element) {\n    this._element = element\n    this.shouldAvoidTriggerChange = false\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  // Public\n  toggle() {\n    let triggerChangeEvent = true\n    let addAriaPressed = true\n    const rootElement = $(this._element).closest(SELECTOR_DATA_TOGGLES)[0]\n\n    if (rootElement) {\n      const input = this._element.querySelector(SELECTOR_INPUT)\n\n      if (input) {\n        if (input.type === 'radio') {\n          if (input.checked && this._element.classList.contains(CLASS_NAME_ACTIVE)) {\n            triggerChangeEvent = false\n          } else {\n            const activeElement = rootElement.querySelector(SELECTOR_ACTIVE)\n\n            if (activeElement) {\n              $(activeElement).removeClass(CLASS_NAME_ACTIVE)\n            }\n          }\n        }\n\n        if (triggerChangeEvent) {\n          // if it's not a radio button or checkbox don't add a pointless/invalid checked property to the input\n          if (input.type === 'checkbox' || input.type === 'radio') {\n            input.checked = !this._element.classList.contains(CLASS_NAME_ACTIVE)\n          }\n\n          if (!this.shouldAvoidTriggerChange) {\n            $(input).trigger('change')\n          }\n        }\n\n        input.focus()\n        addAriaPressed = false\n      }\n    }\n\n    if (!(this._element.hasAttribute('disabled') || this._element.classList.contains('disabled'))) {\n      if (addAriaPressed) {\n        this._element.setAttribute('aria-pressed', !this._element.classList.contains(CLASS_NAME_ACTIVE))\n      }\n\n      if (triggerChangeEvent) {\n        $(this._element).toggleClass(CLASS_NAME_ACTIVE)\n      }\n    }\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n    this._element = null\n  }\n\n  // Static\n  static _jQueryInterface(config, avoidTriggerChange) {\n    return this.each(function () {\n      const $element = $(this)\n      let data = $element.data(DATA_KEY)\n\n      if (!data) {\n        data = new Button(this)\n        $element.data(DATA_KEY, data)\n      }\n\n      data.shouldAvoidTriggerChange = avoidTriggerChange\n\n      if (config === 'toggle') {\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document)\n  .on(EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE_CARROT, event => {\n    let button = event.target\n    const initialButton = button\n\n    if (!$(button).hasClass(CLASS_NAME_BUTTON)) {\n      button = $(button).closest(SELECTOR_BUTTON)[0]\n    }\n\n    if (!button || button.hasAttribute('disabled') || button.classList.contains('disabled')) {\n      event.preventDefault() // work around Firefox bug #1540995\n    } else {\n      const inputBtn = button.querySelector(SELECTOR_INPUT)\n\n      if (inputBtn && (inputBtn.hasAttribute('disabled') || inputBtn.classList.contains('disabled'))) {\n        event.preventDefault() // work around Firefox bug #1540995\n        return\n      }\n\n      if (initialButton.tagName === 'INPUT' || button.tagName !== 'LABEL') {\n        Button._jQueryInterface.call($(button), 'toggle', initialButton.tagName === 'INPUT')\n      }\n    }\n  })\n  .on(EVENT_FOCUS_BLUR_DATA_API, SELECTOR_DATA_TOGGLE_CARROT, event => {\n    const button = $(event.target).closest(SELECTOR_BUTTON)[0]\n    $(button).toggleClass(CLASS_NAME_FOCUS, /^focus(in)?$/.test(event.type))\n  })\n\n$(window).on(EVENT_LOAD_DATA_API, () => {\n  // ensure correct active class is set to match the controls' actual values/states\n\n  // find all checkboxes/readio buttons inside data-toggle groups\n  let buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLES_BUTTONS))\n  for (let i = 0, len = buttons.length; i < len; i++) {\n    const button = buttons[i]\n    const input = button.querySelector(SELECTOR_INPUT)\n    if (input.checked || input.hasAttribute('checked')) {\n      button.classList.add(CLASS_NAME_ACTIVE)\n    } else {\n      button.classList.remove(CLASS_NAME_ACTIVE)\n    }\n  }\n\n  // find all button toggles\n  buttons = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE))\n  for (let i = 0, len = buttons.length; i < len; i++) {\n    const button = buttons[i]\n    if (button.getAttribute('aria-pressed') === 'true') {\n      button.classList.add(CLASS_NAME_ACTIVE)\n    } else {\n      button.classList.remove(CLASS_NAME_ACTIVE)\n    }\n  }\n})\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Button._jQueryInterface\n$.fn[NAME].Constructor = Button\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Button._jQueryInterface\n}\n\nexport default Button\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): carousel.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'carousel'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.carousel'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ARROW_LEFT_KEYCODE = 37 // KeyboardEvent.which value for left arrow key\nconst ARROW_RIGHT_KEYCODE = 39 // KeyboardEvent.which value for right arrow key\nconst TOUCHEVENT_COMPAT_WAIT = 500 // Time for mouse compat events to fire after touch\nconst SWIPE_THRESHOLD = 40\n\nconst CLASS_NAME_CAROUSEL = 'carousel'\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_SLIDE = 'slide'\nconst CLASS_NAME_RIGHT = 'carousel-item-right'\nconst CLASS_NAME_LEFT = 'carousel-item-left'\nconst CLASS_NAME_NEXT = 'carousel-item-next'\nconst CLASS_NAME_PREV = 'carousel-item-prev'\nconst CLASS_NAME_POINTER_EVENT = 'pointer-event'\n\nconst DIRECTION_NEXT = 'next'\nconst DIRECTION_PREV = 'prev'\nconst DIRECTION_LEFT = 'left'\nconst DIRECTION_RIGHT = 'right'\n\nconst EVENT_SLIDE = `slide${EVENT_KEY}`\nconst EVENT_SLID = `slid${EVENT_KEY}`\nconst EVENT_KEYDOWN = `keydown${EVENT_KEY}`\nconst EVENT_MOUSEENTER = `mouseenter${EVENT_KEY}`\nconst EVENT_MOUSELEAVE = `mouseleave${EVENT_KEY}`\nconst EVENT_TOUCHSTART = `touchstart${EVENT_KEY}`\nconst EVENT_TOUCHMOVE = `touchmove${EVENT_KEY}`\nconst EVENT_TOUCHEND = `touchend${EVENT_KEY}`\nconst EVENT_POINTERDOWN = `pointerdown${EVENT_KEY}`\nconst EVENT_POINTERUP = `pointerup${EVENT_KEY}`\nconst EVENT_DRAG_START = `dragstart${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_ACTIVE = '.active'\nconst SELECTOR_ACTIVE_ITEM = '.active.carousel-item'\nconst SELECTOR_ITEM = '.carousel-item'\nconst SELECTOR_ITEM_IMG = '.carousel-item img'\nconst SELECTOR_NEXT_PREV = '.carousel-item-next, .carousel-item-prev'\nconst SELECTOR_INDICATORS = '.carousel-indicators'\nconst SELECTOR_DATA_SLIDE = '[data-slide], [data-slide-to]'\nconst SELECTOR_DATA_RIDE = '[data-ride=\"carousel\"]'\n\nconst Default = {\n  interval: 5000,\n  keyboard: true,\n  slide: false,\n  pause: 'hover',\n  wrap: true,\n  touch: true\n}\n\nconst DefaultType = {\n  interval: '(number|boolean)',\n  keyboard: 'boolean',\n  slide: '(boolean|string)',\n  pause: '(string|boolean)',\n  wrap: 'boolean',\n  touch: 'boolean'\n}\n\nconst PointerType = {\n  TOUCH: 'touch',\n  PEN: 'pen'\n}\n\n/**\n * Class definition\n */\n\nclass Carousel {\n  constructor(element, config) {\n    this._items = null\n    this._interval = null\n    this._activeElement = null\n    this._isPaused = false\n    this._isSliding = false\n    this.touchTimeout = null\n    this.touchStartX = 0\n    this.touchDeltaX = 0\n\n    this._config = this._getConfig(config)\n    this._element = element\n    this._indicatorsElement = this._element.querySelector(SELECTOR_INDICATORS)\n    this._touchSupported = 'ontouchstart' in document.documentElement || navigator.maxTouchPoints > 0\n    this._pointerEvent = Boolean(window.PointerEvent || window.MSPointerEvent)\n\n    this._addEventListeners()\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n  next() {\n    if (!this._isSliding) {\n      this._slide(DIRECTION_NEXT)\n    }\n  }\n\n  nextWhenVisible() {\n    const $element = $(this._element)\n    // Don't call next when the page isn't visible\n    // or the carousel or its parent isn't visible\n    if (!document.hidden &&\n      ($element.is(':visible') && $element.css('visibility') !== 'hidden')) {\n      this.next()\n    }\n  }\n\n  prev() {\n    if (!this._isSliding) {\n      this._slide(DIRECTION_PREV)\n    }\n  }\n\n  pause(event) {\n    if (!event) {\n      this._isPaused = true\n    }\n\n    if (this._element.querySelector(SELECTOR_NEXT_PREV)) {\n      Util.triggerTransitionEnd(this._element)\n      this.cycle(true)\n    }\n\n    clearInterval(this._interval)\n    this._interval = null\n  }\n\n  cycle(event) {\n    if (!event) {\n      this._isPaused = false\n    }\n\n    if (this._interval) {\n      clearInterval(this._interval)\n      this._interval = null\n    }\n\n    if (this._config.interval && !this._isPaused) {\n      this._updateInterval()\n\n      this._interval = setInterval(\n        (document.visibilityState ? this.nextWhenVisible : this.next).bind(this),\n        this._config.interval\n      )\n    }\n  }\n\n  to(index) {\n    this._activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM)\n\n    const activeIndex = this._getItemIndex(this._activeElement)\n\n    if (index > this._items.length - 1 || index < 0) {\n      return\n    }\n\n    if (this._isSliding) {\n      $(this._element).one(EVENT_SLID, () => this.to(index))\n      return\n    }\n\n    if (activeIndex === index) {\n      this.pause()\n      this.cycle()\n      return\n    }\n\n    const direction = index > activeIndex ?\n      DIRECTION_NEXT :\n      DIRECTION_PREV\n\n    this._slide(direction, this._items[index])\n  }\n\n  dispose() {\n    $(this._element).off(EVENT_KEY)\n    $.removeData(this._element, DATA_KEY)\n\n    this._items = null\n    this._config = null\n    this._element = null\n    this._interval = null\n    this._isPaused = null\n    this._isSliding = null\n    this._activeElement = null\n    this._indicatorsElement = null\n  }\n\n  // Private\n  _getConfig(config) {\n    config = {\n      ...Default,\n      ...config\n    }\n    Util.typeCheckConfig(NAME, config, DefaultType)\n    return config\n  }\n\n  _handleSwipe() {\n    const absDeltax = Math.abs(this.touchDeltaX)\n\n    if (absDeltax <= SWIPE_THRESHOLD) {\n      return\n    }\n\n    const direction = absDeltax / this.touchDeltaX\n\n    this.touchDeltaX = 0\n\n    // swipe left\n    if (direction > 0) {\n      this.prev()\n    }\n\n    // swipe right\n    if (direction < 0) {\n      this.next()\n    }\n  }\n\n  _addEventListeners() {\n    if (this._config.keyboard) {\n      $(this._element).on(EVENT_KEYDOWN, event => this._keydown(event))\n    }\n\n    if (this._config.pause === 'hover') {\n      $(this._element)\n        .on(EVENT_MOUSEENTER, event => this.pause(event))\n        .on(EVENT_MOUSELEAVE, event => this.cycle(event))\n    }\n\n    if (this._config.touch) {\n      this._addTouchEventListeners()\n    }\n  }\n\n  _addTouchEventListeners() {\n    if (!this._touchSupported) {\n      return\n    }\n\n    const start = event => {\n      if (this._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {\n        this.touchStartX = event.originalEvent.clientX\n      } else if (!this._pointerEvent) {\n        this.touchStartX = event.originalEvent.touches[0].clientX\n      }\n    }\n\n    const move = event => {\n      // ensure swiping with one touch and not pinching\n      this.touchDeltaX = event.originalEvent.touches && event.originalEvent.touches.length > 1 ?\n        0 :\n        event.originalEvent.touches[0].clientX - this.touchStartX\n    }\n\n    const end = event => {\n      if (this._pointerEvent && PointerType[event.originalEvent.pointerType.toUpperCase()]) {\n        this.touchDeltaX = event.originalEvent.clientX - this.touchStartX\n      }\n\n      this._handleSwipe()\n      if (this._config.pause === 'hover') {\n        // If it's a touch-enabled device, mouseenter/leave are fired as\n        // part of the mouse compatibility events on first tap - the carousel\n        // would stop cycling until user tapped out of it;\n        // here, we listen for touchend, explicitly pause the carousel\n        // (as if it's the second time we tap on it, mouseenter compat event\n        // is NOT fired) and after a timeout (to allow for mouse compatibility\n        // events to fire) we explicitly restart cycling\n\n        this.pause()\n        if (this.touchTimeout) {\n          clearTimeout(this.touchTimeout)\n        }\n\n        this.touchTimeout = setTimeout(event => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + this._config.interval)\n      }\n    }\n\n    $(this._element.querySelectorAll(SELECTOR_ITEM_IMG))\n      .on(EVENT_DRAG_START, e => e.preventDefault())\n\n    if (this._pointerEvent) {\n      $(this._element).on(EVENT_POINTERDOWN, event => start(event))\n      $(this._element).on(EVENT_POINTERUP, event => end(event))\n\n      this._element.classList.add(CLASS_NAME_POINTER_EVENT)\n    } else {\n      $(this._element).on(EVENT_TOUCHSTART, event => start(event))\n      $(this._element).on(EVENT_TOUCHMOVE, event => move(event))\n      $(this._element).on(EVENT_TOUCHEND, event => end(event))\n    }\n  }\n\n  _keydown(event) {\n    if (/input|textarea/i.test(event.target.tagName)) {\n      return\n    }\n\n    switch (event.which) {\n      case ARROW_LEFT_KEYCODE:\n        event.preventDefault()\n        this.prev()\n        break\n      case ARROW_RIGHT_KEYCODE:\n        event.preventDefault()\n        this.next()\n        break\n      default:\n    }\n  }\n\n  _getItemIndex(element) {\n    this._items = element && element.parentNode ?\n      [].slice.call(element.parentNode.querySelectorAll(SELECTOR_ITEM)) :\n      []\n    return this._items.indexOf(element)\n  }\n\n  _getItemByDirection(direction, activeElement) {\n    const isNextDirection = direction === DIRECTION_NEXT\n    const isPrevDirection = direction === DIRECTION_PREV\n    const activeIndex = this._getItemIndex(activeElement)\n    const lastItemIndex = this._items.length - 1\n    const isGoingToWrap = isPrevDirection && activeIndex === 0 ||\n                            isNextDirection && activeIndex === lastItemIndex\n\n    if (isGoingToWrap && !this._config.wrap) {\n      return activeElement\n    }\n\n    const delta = direction === DIRECTION_PREV ? -1 : 1\n    const itemIndex = (activeIndex + delta) % this._items.length\n\n    return itemIndex === -1 ?\n      this._items[this._items.length - 1] : this._items[itemIndex]\n  }\n\n  _triggerSlideEvent(relatedTarget, eventDirectionName) {\n    const targetIndex = this._getItemIndex(relatedTarget)\n    const fromIndex = this._getItemIndex(this._element.querySelector(SELECTOR_ACTIVE_ITEM))\n    const slideEvent = $.Event(EVENT_SLIDE, {\n      relatedTarget,\n      direction: eventDirectionName,\n      from: fromIndex,\n      to: targetIndex\n    })\n\n    $(this._element).trigger(slideEvent)\n\n    return slideEvent\n  }\n\n  _setActiveIndicatorElement(element) {\n    if (this._indicatorsElement) {\n      const indicators = [].slice.call(this._indicatorsElement.querySelectorAll(SELECTOR_ACTIVE))\n      $(indicators).removeClass(CLASS_NAME_ACTIVE)\n\n      const nextIndicator = this._indicatorsElement.children[\n        this._getItemIndex(element)\n      ]\n\n      if (nextIndicator) {\n        $(nextIndicator).addClass(CLASS_NAME_ACTIVE)\n      }\n    }\n  }\n\n  _updateInterval() {\n    const element = this._activeElement || this._element.querySelector(SELECTOR_ACTIVE_ITEM)\n\n    if (!element) {\n      return\n    }\n\n    const elementInterval = parseInt(element.getAttribute('data-interval'), 10)\n\n    if (elementInterval) {\n      this._config.defaultInterval = this._config.defaultInterval || this._config.interval\n      this._config.interval = elementInterval\n    } else {\n      this._config.interval = this._config.defaultInterval || this._config.interval\n    }\n  }\n\n  _slide(direction, element) {\n    const activeElement = this._element.querySelector(SELECTOR_ACTIVE_ITEM)\n    const activeElementIndex = this._getItemIndex(activeElement)\n    const nextElement = element || activeElement &&\n      this._getItemByDirection(direction, activeElement)\n    const nextElementIndex = this._getItemIndex(nextElement)\n    const isCycling = Boolean(this._interval)\n\n    let directionalClassName\n    let orderClassName\n    let eventDirectionName\n\n    if (direction === DIRECTION_NEXT) {\n      directionalClassName = CLASS_NAME_LEFT\n      orderClassName = CLASS_NAME_NEXT\n      eventDirectionName = DIRECTION_LEFT\n    } else {\n      directionalClassName = CLASS_NAME_RIGHT\n      orderClassName = CLASS_NAME_PREV\n      eventDirectionName = DIRECTION_RIGHT\n    }\n\n    if (nextElement && $(nextElement).hasClass(CLASS_NAME_ACTIVE)) {\n      this._isSliding = false\n      return\n    }\n\n    const slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName)\n    if (slideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    if (!activeElement || !nextElement) {\n      // Some weirdness is happening, so we bail\n      return\n    }\n\n    this._isSliding = true\n\n    if (isCycling) {\n      this.pause()\n    }\n\n    this._setActiveIndicatorElement(nextElement)\n    this._activeElement = nextElement\n\n    const slidEvent = $.Event(EVENT_SLID, {\n      relatedTarget: nextElement,\n      direction: eventDirectionName,\n      from: activeElementIndex,\n      to: nextElementIndex\n    })\n\n    if ($(this._element).hasClass(CLASS_NAME_SLIDE)) {\n      $(nextElement).addClass(orderClassName)\n\n      Util.reflow(nextElement)\n\n      $(activeElement).addClass(directionalClassName)\n      $(nextElement).addClass(directionalClassName)\n\n      const transitionDuration = Util.getTransitionDurationFromElement(activeElement)\n\n      $(activeElement)\n        .one(Util.TRANSITION_END, () => {\n          $(nextElement)\n            .removeClass(`${directionalClassName} ${orderClassName}`)\n            .addClass(CLASS_NAME_ACTIVE)\n\n          $(activeElement).removeClass(`${CLASS_NAME_ACTIVE} ${orderClassName} ${directionalClassName}`)\n\n          this._isSliding = false\n\n          setTimeout(() => $(this._element).trigger(slidEvent), 0)\n        })\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      $(activeElement).removeClass(CLASS_NAME_ACTIVE)\n      $(nextElement).addClass(CLASS_NAME_ACTIVE)\n\n      this._isSliding = false\n      $(this._element).trigger(slidEvent)\n    }\n\n    if (isCycling) {\n      this.cycle()\n    }\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n      let _config = {\n        ...Default,\n        ...$(this).data()\n      }\n\n      if (typeof config === 'object') {\n        _config = {\n          ..._config,\n          ...config\n        }\n      }\n\n      const action = typeof config === 'string' ? config : _config.slide\n\n      if (!data) {\n        data = new Carousel(this, _config)\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'number') {\n        data.to(config)\n      } else if (typeof action === 'string') {\n        if (typeof data[action] === 'undefined') {\n          throw new TypeError(`No method named \"${action}\"`)\n        }\n\n        data[action]()\n      } else if (_config.interval && _config.ride) {\n        data.pause()\n        data.cycle()\n      }\n    })\n  }\n\n  static _dataApiClickHandler(event) {\n    const selector = Util.getSelectorFromElement(this)\n\n    if (!selector) {\n      return\n    }\n\n    const target = $(selector)[0]\n\n    if (!target || !$(target).hasClass(CLASS_NAME_CAROUSEL)) {\n      return\n    }\n\n    const config = {\n      ...$(target).data(),\n      ...$(this).data()\n    }\n    const slideIndex = this.getAttribute('data-slide-to')\n\n    if (slideIndex) {\n      config.interval = false\n    }\n\n    Carousel._jQueryInterface.call($(target), config)\n\n    if (slideIndex) {\n      $(target).data(DATA_KEY).to(slideIndex)\n    }\n\n    event.preventDefault()\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document).on(EVENT_CLICK_DATA_API, SELECTOR_DATA_SLIDE, Carousel._dataApiClickHandler)\n\n$(window).on(EVENT_LOAD_DATA_API, () => {\n  const carousels = [].slice.call(document.querySelectorAll(SELECTOR_DATA_RIDE))\n  for (let i = 0, len = carousels.length; i < len; i++) {\n    const $carousel = $(carousels[i])\n    Carousel._jQueryInterface.call($carousel, $carousel.data())\n  }\n})\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Carousel._jQueryInterface\n$.fn[NAME].Constructor = Carousel\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Carousel._jQueryInterface\n}\n\nexport default Carousel\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): collapse.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'collapse'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.collapse'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_COLLAPSE = 'collapse'\nconst CLASS_NAME_COLLAPSING = 'collapsing'\nconst CLASS_NAME_COLLAPSED = 'collapsed'\n\nconst DIMENSION_WIDTH = 'width'\nconst DIMENSION_HEIGHT = 'height'\n\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_ACTIVES = '.show, .collapsing'\nconst SELECTOR_DATA_TOGGLE = '[data-toggle=\"collapse\"]'\n\nconst Default = {\n  toggle: true,\n  parent: ''\n}\n\nconst DefaultType = {\n  toggle: 'boolean',\n  parent: '(string|element)'\n}\n\n/**\n * Class definition\n */\n\nclass Collapse {\n  constructor(element, config) {\n    this._isTransitioning = false\n    this._element = element\n    this._config = this._getConfig(config)\n    this._triggerArray = [].slice.call(document.querySelectorAll(\n      `[data-toggle=\"collapse\"][href=\"#${element.id}\"],` +\n      `[data-toggle=\"collapse\"][data-target=\"#${element.id}\"]`\n    ))\n\n    const toggleList = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE))\n    for (let i = 0, len = toggleList.length; i < len; i++) {\n      const elem = toggleList[i]\n      const selector = Util.getSelectorFromElement(elem)\n      const filterElement = [].slice.call(document.querySelectorAll(selector))\n        .filter(foundElem => foundElem === element)\n\n      if (selector !== null && filterElement.length > 0) {\n        this._selector = selector\n        this._triggerArray.push(elem)\n      }\n    }\n\n    this._parent = this._config.parent ? this._getParent() : null\n\n    if (!this._config.parent) {\n      this._addAriaAndCollapsedClass(this._element, this._triggerArray)\n    }\n\n    if (this._config.toggle) {\n      this.toggle()\n    }\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n  toggle() {\n    if ($(this._element).hasClass(CLASS_NAME_SHOW)) {\n      this.hide()\n    } else {\n      this.show()\n    }\n  }\n\n  show() {\n    if (this._isTransitioning ||\n      $(this._element).hasClass(CLASS_NAME_SHOW)) {\n      return\n    }\n\n    let actives\n    let activesData\n\n    if (this._parent) {\n      actives = [].slice.call(this._parent.querySelectorAll(SELECTOR_ACTIVES))\n        .filter(elem => {\n          if (typeof this._config.parent === 'string') {\n            return elem.getAttribute('data-parent') === this._config.parent\n          }\n\n          return elem.classList.contains(CLASS_NAME_COLLAPSE)\n        })\n\n      if (actives.length === 0) {\n        actives = null\n      }\n    }\n\n    if (actives) {\n      activesData = $(actives).not(this._selector).data(DATA_KEY)\n      if (activesData && activesData._isTransitioning) {\n        return\n      }\n    }\n\n    const startEvent = $.Event(EVENT_SHOW)\n    $(this._element).trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) {\n      return\n    }\n\n    if (actives) {\n      Collapse._jQueryInterface.call($(actives).not(this._selector), 'hide')\n      if (!activesData) {\n        $(actives).data(DATA_KEY, null)\n      }\n    }\n\n    const dimension = this._getDimension()\n\n    $(this._element)\n      .removeClass(CLASS_NAME_COLLAPSE)\n      .addClass(CLASS_NAME_COLLAPSING)\n\n    this._element.style[dimension] = 0\n\n    if (this._triggerArray.length) {\n      $(this._triggerArray)\n        .removeClass(CLASS_NAME_COLLAPSED)\n        .attr('aria-expanded', true)\n    }\n\n    this.setTransitioning(true)\n\n    const complete = () => {\n      $(this._element)\n        .removeClass(CLASS_NAME_COLLAPSING)\n        .addClass(`${CLASS_NAME_COLLAPSE} ${CLASS_NAME_SHOW}`)\n\n      this._element.style[dimension] = ''\n\n      this.setTransitioning(false)\n\n      $(this._element).trigger(EVENT_SHOWN)\n    }\n\n    const capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1)\n    const scrollSize = `scroll${capitalizedDimension}`\n    const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n    $(this._element)\n      .one(Util.TRANSITION_END, complete)\n      .emulateTransitionEnd(transitionDuration)\n\n    this._element.style[dimension] = `${this._element[scrollSize]}px`\n  }\n\n  hide() {\n    if (this._isTransitioning ||\n      !$(this._element).hasClass(CLASS_NAME_SHOW)) {\n      return\n    }\n\n    const startEvent = $.Event(EVENT_HIDE)\n    $(this._element).trigger(startEvent)\n    if (startEvent.isDefaultPrevented()) {\n      return\n    }\n\n    const dimension = this._getDimension()\n\n    this._element.style[dimension] = `${this._element.getBoundingClientRect()[dimension]}px`\n\n    Util.reflow(this._element)\n\n    $(this._element)\n      .addClass(CLASS_NAME_COLLAPSING)\n      .removeClass(`${CLASS_NAME_COLLAPSE} ${CLASS_NAME_SHOW}`)\n\n    const triggerArrayLength = this._triggerArray.length\n    if (triggerArrayLength > 0) {\n      for (let i = 0; i < triggerArrayLength; i++) {\n        const trigger = this._triggerArray[i]\n        const selector = Util.getSelectorFromElement(trigger)\n\n        if (selector !== null) {\n          const $elem = $([].slice.call(document.querySelectorAll(selector)))\n          if (!$elem.hasClass(CLASS_NAME_SHOW)) {\n            $(trigger).addClass(CLASS_NAME_COLLAPSED)\n              .attr('aria-expanded', false)\n          }\n        }\n      }\n    }\n\n    this.setTransitioning(true)\n\n    const complete = () => {\n      this.setTransitioning(false)\n      $(this._element)\n        .removeClass(CLASS_NAME_COLLAPSING)\n        .addClass(CLASS_NAME_COLLAPSE)\n        .trigger(EVENT_HIDDEN)\n    }\n\n    this._element.style[dimension] = ''\n    const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n    $(this._element)\n      .one(Util.TRANSITION_END, complete)\n      .emulateTransitionEnd(transitionDuration)\n  }\n\n  setTransitioning(isTransitioning) {\n    this._isTransitioning = isTransitioning\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n\n    this._config = null\n    this._parent = null\n    this._element = null\n    this._triggerArray = null\n    this._isTransitioning = null\n  }\n\n  // Private\n  _getConfig(config) {\n    config = {\n      ...Default,\n      ...config\n    }\n    config.toggle = Boolean(config.toggle) // Coerce string values\n    Util.typeCheckConfig(NAME, config, DefaultType)\n    return config\n  }\n\n  _getDimension() {\n    const hasWidth = $(this._element).hasClass(DIMENSION_WIDTH)\n    return hasWidth ? DIMENSION_WIDTH : DIMENSION_HEIGHT\n  }\n\n  _getParent() {\n    let parent\n\n    if (Util.isElement(this._config.parent)) {\n      parent = this._config.parent\n\n      // It's a jQuery object\n      if (typeof this._config.parent.jquery !== 'undefined') {\n        parent = this._config.parent[0]\n      }\n    } else {\n      parent = document.querySelector(this._config.parent)\n    }\n\n    const selector = `[data-toggle=\"collapse\"][data-parent=\"${this._config.parent}\"]`\n    const children = [].slice.call(parent.querySelectorAll(selector))\n\n    $(children).each((i, element) => {\n      this._addAriaAndCollapsedClass(\n        Collapse._getTargetFromElement(element),\n        [element]\n      )\n    })\n\n    return parent\n  }\n\n  _addAriaAndCollapsedClass(element, triggerArray) {\n    const isOpen = $(element).hasClass(CLASS_NAME_SHOW)\n\n    if (triggerArray.length) {\n      $(triggerArray)\n        .toggleClass(CLASS_NAME_COLLAPSED, !isOpen)\n        .attr('aria-expanded', isOpen)\n    }\n  }\n\n  // Static\n  static _getTargetFromElement(element) {\n    const selector = Util.getSelectorFromElement(element)\n    return selector ? document.querySelector(selector) : null\n  }\n\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      const $element = $(this)\n      let data = $element.data(DATA_KEY)\n      const _config = {\n        ...Default,\n        ...$element.data(),\n        ...(typeof config === 'object' && config ? config : {})\n      }\n\n      if (!data && _config.toggle && typeof config === 'string' && /show|hide/.test(config)) {\n        _config.toggle = false\n      }\n\n      if (!data) {\n        data = new Collapse(this, _config)\n        $element.data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document).on(EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  // preventDefault only for <a> elements (which change the URL) not inside the collapsible element\n  if (event.currentTarget.tagName === 'A') {\n    event.preventDefault()\n  }\n\n  const $trigger = $(this)\n  const selector = Util.getSelectorFromElement(this)\n  const selectors = [].slice.call(document.querySelectorAll(selector))\n\n  $(selectors).each(function () {\n    const $target = $(this)\n    const data = $target.data(DATA_KEY)\n    const config = data ? 'toggle' : $trigger.data()\n    Collapse._jQueryInterface.call($target, config)\n  })\n})\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Collapse._jQueryInterface\n$.fn[NAME].Constructor = Collapse\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Collapse._jQueryInterface\n}\n\nexport default Collapse\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): dropdown.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Popper from 'popper.js'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'dropdown'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.dropdown'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key\nconst SPACE_KEYCODE = 32 // KeyboardEvent.which value for space key\nconst TAB_KEYCODE = 9 // KeyboardEvent.which value for tab key\nconst ARROW_UP_KEYCODE = 38 // KeyboardEvent.which value for up arrow key\nconst ARROW_DOWN_KEYCODE = 40 // KeyboardEvent.which value for down arrow key\nconst RIGHT_MOUSE_BUTTON_WHICH = 3 // MouseEvent.which value for the right button (assuming a right-handed mouse)\nconst REGEXP_KEYDOWN = new RegExp(`${ARROW_UP_KEYCODE}|${ARROW_DOWN_KEYCODE}|${ESCAPE_KEYCODE}`)\n\nconst CLASS_NAME_DISABLED = 'disabled'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_DROPUP = 'dropup'\nconst CLASS_NAME_DROPRIGHT = 'dropright'\nconst CLASS_NAME_DROPLEFT = 'dropleft'\nconst CLASS_NAME_MENURIGHT = 'dropdown-menu-right'\nconst CLASS_NAME_POSITION_STATIC = 'position-static'\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_CLICK = `click${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYDOWN_DATA_API = `keydown${EVENT_KEY}${DATA_API_KEY}`\nconst EVENT_KEYUP_DATA_API = `keyup${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DATA_TOGGLE = '[data-toggle=\"dropdown\"]'\nconst SELECTOR_FORM_CHILD = '.dropdown form'\nconst SELECTOR_MENU = '.dropdown-menu'\nconst SELECTOR_NAVBAR_NAV = '.navbar-nav'\nconst SELECTOR_VISIBLE_ITEMS = '.dropdown-menu .dropdown-item:not(.disabled):not(:disabled)'\n\nconst PLACEMENT_TOP = 'top-start'\nconst PLACEMENT_TOPEND = 'top-end'\nconst PLACEMENT_BOTTOM = 'bottom-start'\nconst PLACEMENT_BOTTOMEND = 'bottom-end'\nconst PLACEMENT_RIGHT = 'right-start'\nconst PLACEMENT_LEFT = 'left-start'\n\nconst Default = {\n  offset: 0,\n  flip: true,\n  boundary: 'scrollParent',\n  reference: 'toggle',\n  display: 'dynamic',\n  popperConfig: null\n}\n\nconst DefaultType = {\n  offset: '(number|string|function)',\n  flip: 'boolean',\n  boundary: '(string|element)',\n  reference: '(string|element)',\n  display: 'string',\n  popperConfig: '(null|object)'\n}\n\n/**\n * Class definition\n */\n\nclass Dropdown {\n  constructor(element, config) {\n    this._element = element\n    this._popper = null\n    this._config = this._getConfig(config)\n    this._menu = this._getMenuElement()\n    this._inNavbar = this._detectNavbar()\n\n    this._addEventListeners()\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  // Public\n  toggle() {\n    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED)) {\n      return\n    }\n\n    const isActive = $(this._menu).hasClass(CLASS_NAME_SHOW)\n\n    Dropdown._clearMenus()\n\n    if (isActive) {\n      return\n    }\n\n    this.show(true)\n  }\n\n  show(usePopper = false) {\n    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || $(this._menu).hasClass(CLASS_NAME_SHOW)) {\n      return\n    }\n\n    const relatedTarget = {\n      relatedTarget: this._element\n    }\n    const showEvent = $.Event(EVENT_SHOW, relatedTarget)\n    const parent = Dropdown._getParentFromElement(this._element)\n\n    $(parent).trigger(showEvent)\n\n    if (showEvent.isDefaultPrevented()) {\n      return\n    }\n\n    // Totally disable Popper for Dropdowns in Navbar\n    if (!this._inNavbar && usePopper) {\n      // Check for Popper dependency\n      if (typeof Popper === 'undefined') {\n        throw new TypeError('Bootstrap\\'s dropdowns require Popper (https://popper.js.org)')\n      }\n\n      let referenceElement = this._element\n\n      if (this._config.reference === 'parent') {\n        referenceElement = parent\n      } else if (Util.isElement(this._config.reference)) {\n        referenceElement = this._config.reference\n\n        // Check if it's jQuery element\n        if (typeof this._config.reference.jquery !== 'undefined') {\n          referenceElement = this._config.reference[0]\n        }\n      }\n\n      // If boundary is not `scrollParent`, then set position to `static`\n      // to allow the menu to \"escape\" the scroll parent's boundaries\n      // https://github.com/twbs/bootstrap/issues/24251\n      if (this._config.boundary !== 'scrollParent') {\n        $(parent).addClass(CLASS_NAME_POSITION_STATIC)\n      }\n\n      this._popper = new Popper(referenceElement, this._menu, this._getPopperConfig())\n    }\n\n    // If this is a touch-enabled device we add extra\n    // empty mouseover listeners to the body's immediate children;\n    // only needed because of broken event delegation on iOS\n    // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n    if ('ontouchstart' in document.documentElement &&\n        $(parent).closest(SELECTOR_NAVBAR_NAV).length === 0) {\n      $(document.body).children().on('mouseover', null, $.noop)\n    }\n\n    this._element.focus()\n    this._element.setAttribute('aria-expanded', true)\n\n    $(this._menu).toggleClass(CLASS_NAME_SHOW)\n    $(parent)\n      .toggleClass(CLASS_NAME_SHOW)\n      .trigger($.Event(EVENT_SHOWN, relatedTarget))\n  }\n\n  hide() {\n    if (this._element.disabled || $(this._element).hasClass(CLASS_NAME_DISABLED) || !$(this._menu).hasClass(CLASS_NAME_SHOW)) {\n      return\n    }\n\n    const relatedTarget = {\n      relatedTarget: this._element\n    }\n    const hideEvent = $.Event(EVENT_HIDE, relatedTarget)\n    const parent = Dropdown._getParentFromElement(this._element)\n\n    $(parent).trigger(hideEvent)\n\n    if (hideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    if (this._popper) {\n      this._popper.destroy()\n    }\n\n    $(this._menu).toggleClass(CLASS_NAME_SHOW)\n    $(parent)\n      .toggleClass(CLASS_NAME_SHOW)\n      .trigger($.Event(EVENT_HIDDEN, relatedTarget))\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n    $(this._element).off(EVENT_KEY)\n    this._element = null\n    this._menu = null\n    if (this._popper !== null) {\n      this._popper.destroy()\n      this._popper = null\n    }\n  }\n\n  update() {\n    this._inNavbar = this._detectNavbar()\n    if (this._popper !== null) {\n      this._popper.scheduleUpdate()\n    }\n  }\n\n  // Private\n  _addEventListeners() {\n    $(this._element).on(EVENT_CLICK, event => {\n      event.preventDefault()\n      event.stopPropagation()\n      this.toggle()\n    })\n  }\n\n  _getConfig(config) {\n    config = {\n      ...this.constructor.Default,\n      ...$(this._element).data(),\n      ...config\n    }\n\n    Util.typeCheckConfig(\n      NAME,\n      config,\n      this.constructor.DefaultType\n    )\n\n    return config\n  }\n\n  _getMenuElement() {\n    if (!this._menu) {\n      const parent = Dropdown._getParentFromElement(this._element)\n\n      if (parent) {\n        this._menu = parent.querySelector(SELECTOR_MENU)\n      }\n    }\n\n    return this._menu\n  }\n\n  _getPlacement() {\n    const $parentDropdown = $(this._element.parentNode)\n    let placement = PLACEMENT_BOTTOM\n\n    // Handle dropup\n    if ($parentDropdown.hasClass(CLASS_NAME_DROPUP)) {\n      placement = $(this._menu).hasClass(CLASS_NAME_MENURIGHT) ?\n        PLACEMENT_TOPEND :\n        PLACEMENT_TOP\n    } else if ($parentDropdown.hasClass(CLASS_NAME_DROPRIGHT)) {\n      placement = PLACEMENT_RIGHT\n    } else if ($parentDropdown.hasClass(CLASS_NAME_DROPLEFT)) {\n      placement = PLACEMENT_LEFT\n    } else if ($(this._menu).hasClass(CLASS_NAME_MENURIGHT)) {\n      placement = PLACEMENT_BOTTOMEND\n    }\n\n    return placement\n  }\n\n  _detectNavbar() {\n    return $(this._element).closest('.navbar').length > 0\n  }\n\n  _getOffset() {\n    const offset = {}\n\n    if (typeof this._config.offset === 'function') {\n      offset.fn = data => {\n        data.offsets = {\n          ...data.offsets,\n          ...this._config.offset(data.offsets, this._element)\n        }\n\n        return data\n      }\n    } else {\n      offset.offset = this._config.offset\n    }\n\n    return offset\n  }\n\n  _getPopperConfig() {\n    const popperConfig = {\n      placement: this._getPlacement(),\n      modifiers: {\n        offset: this._getOffset(),\n        flip: {\n          enabled: this._config.flip\n        },\n        preventOverflow: {\n          boundariesElement: this._config.boundary\n        }\n      }\n    }\n\n    // Disable Popper if we have a static display\n    if (this._config.display === 'static') {\n      popperConfig.modifiers.applyStyle = {\n        enabled: false\n      }\n    }\n\n    return {\n      ...popperConfig,\n      ...this._config.popperConfig\n    }\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n      const _config = typeof config === 'object' ? config : null\n\n      if (!data) {\n        data = new Dropdown(this, _config)\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n\n  static _clearMenus(event) {\n    if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH ||\n      event.type === 'keyup' && event.which !== TAB_KEYCODE)) {\n      return\n    }\n\n    const toggles = [].slice.call(document.querySelectorAll(SELECTOR_DATA_TOGGLE))\n\n    for (let i = 0, len = toggles.length; i < len; i++) {\n      const parent = Dropdown._getParentFromElement(toggles[i])\n      const context = $(toggles[i]).data(DATA_KEY)\n      const relatedTarget = {\n        relatedTarget: toggles[i]\n      }\n\n      if (event && event.type === 'click') {\n        relatedTarget.clickEvent = event\n      }\n\n      if (!context) {\n        continue\n      }\n\n      const dropdownMenu = context._menu\n      if (!$(parent).hasClass(CLASS_NAME_SHOW)) {\n        continue\n      }\n\n      if (event && (event.type === 'click' &&\n          /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) &&\n          $.contains(parent, event.target)) {\n        continue\n      }\n\n      const hideEvent = $.Event(EVENT_HIDE, relatedTarget)\n      $(parent).trigger(hideEvent)\n      if (hideEvent.isDefaultPrevented()) {\n        continue\n      }\n\n      // If this is a touch-enabled device we remove the extra\n      // empty mouseover listeners we added for iOS support\n      if ('ontouchstart' in document.documentElement) {\n        $(document.body).children().off('mouseover', null, $.noop)\n      }\n\n      toggles[i].setAttribute('aria-expanded', 'false')\n\n      if (context._popper) {\n        context._popper.destroy()\n      }\n\n      $(dropdownMenu).removeClass(CLASS_NAME_SHOW)\n      $(parent)\n        .removeClass(CLASS_NAME_SHOW)\n        .trigger($.Event(EVENT_HIDDEN, relatedTarget))\n    }\n  }\n\n  static _getParentFromElement(element) {\n    let parent\n    const selector = Util.getSelectorFromElement(element)\n\n    if (selector) {\n      parent = document.querySelector(selector)\n    }\n\n    return parent || element.parentNode\n  }\n\n  // eslint-disable-next-line complexity\n  static _dataApiKeydownHandler(event) {\n    // If not input/textarea:\n    //  - And not a key in REGEXP_KEYDOWN => not a dropdown command\n    // If input/textarea:\n    //  - If space key => not a dropdown command\n    //  - If key is other than escape\n    //    - If key is not up or down => not a dropdown command\n    //    - If trigger inside the menu => not a dropdown command\n    if (/input|textarea/i.test(event.target.tagName) ?\n      event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE &&\n      (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE ||\n        $(event.target).closest(SELECTOR_MENU).length) : !REGEXP_KEYDOWN.test(event.which)) {\n      return\n    }\n\n    if (this.disabled || $(this).hasClass(CLASS_NAME_DISABLED)) {\n      return\n    }\n\n    const parent = Dropdown._getParentFromElement(this)\n    const isActive = $(parent).hasClass(CLASS_NAME_SHOW)\n\n    if (!isActive && event.which === ESCAPE_KEYCODE) {\n      return\n    }\n\n    event.preventDefault()\n    event.stopPropagation()\n\n    if (!isActive || (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) {\n      if (event.which === ESCAPE_KEYCODE) {\n        $(parent.querySelector(SELECTOR_DATA_TOGGLE)).trigger('focus')\n      }\n\n      $(this).trigger('click')\n      return\n    }\n\n    const items = [].slice.call(parent.querySelectorAll(SELECTOR_VISIBLE_ITEMS))\n      .filter(item => $(item).is(':visible'))\n\n    if (items.length === 0) {\n      return\n    }\n\n    let index = items.indexOf(event.target)\n\n    if (event.which === ARROW_UP_KEYCODE && index > 0) { // Up\n      index--\n    }\n\n    if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { // Down\n      index++\n    }\n\n    if (index < 0) {\n      index = 0\n    }\n\n    items[index].focus()\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document)\n  .on(EVENT_KEYDOWN_DATA_API, SELECTOR_DATA_TOGGLE, Dropdown._dataApiKeydownHandler)\n  .on(EVENT_KEYDOWN_DATA_API, SELECTOR_MENU, Dropdown._dataApiKeydownHandler)\n  .on(`${EVENT_CLICK_DATA_API} ${EVENT_KEYUP_DATA_API}`, Dropdown._clearMenus)\n  .on(EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n    event.preventDefault()\n    event.stopPropagation()\n    Dropdown._jQueryInterface.call($(this), 'toggle')\n  })\n  .on(EVENT_CLICK_DATA_API, SELECTOR_FORM_CHILD, e => {\n    e.stopPropagation()\n  })\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Dropdown._jQueryInterface\n$.fn[NAME].Constructor = Dropdown\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Dropdown._jQueryInterface\n}\n\nexport default Dropdown\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): modal.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'modal'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.modal'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst ESCAPE_KEYCODE = 27 // KeyboardEvent.which value for Escape (Esc) key\n\nconst CLASS_NAME_SCROLLABLE = 'modal-dialog-scrollable'\nconst CLASS_NAME_SCROLLBAR_MEASURER = 'modal-scrollbar-measure'\nconst CLASS_NAME_BACKDROP = 'modal-backdrop'\nconst CLASS_NAME_OPEN = 'modal-open'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_STATIC = 'modal-static'\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDE_PREVENTED = `hidePrevented${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_FOCUSIN = `focusin${EVENT_KEY}`\nconst EVENT_RESIZE = `resize${EVENT_KEY}`\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`\nconst EVENT_KEYDOWN_DISMISS = `keydown.dismiss${EVENT_KEY}`\nconst EVENT_MOUSEUP_DISMISS = `mouseup.dismiss${EVENT_KEY}`\nconst EVENT_MOUSEDOWN_DISMISS = `mousedown.dismiss${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DIALOG = '.modal-dialog'\nconst SELECTOR_MODAL_BODY = '.modal-body'\nconst SELECTOR_DATA_TOGGLE = '[data-toggle=\"modal\"]'\nconst SELECTOR_DATA_DISMISS = '[data-dismiss=\"modal\"]'\nconst SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'\nconst SELECTOR_STICKY_CONTENT = '.sticky-top'\n\nconst Default = {\n  backdrop: true,\n  keyboard: true,\n  focus: true,\n  show: true\n}\n\nconst DefaultType = {\n  backdrop: '(boolean|string)',\n  keyboard: 'boolean',\n  focus: 'boolean',\n  show: 'boolean'\n}\n\n/**\n * Class definition\n */\n\nclass Modal {\n  constructor(element, config) {\n    this._config = this._getConfig(config)\n    this._element = element\n    this._dialog = element.querySelector(SELECTOR_DIALOG)\n    this._backdrop = null\n    this._isShown = false\n    this._isBodyOverflowing = false\n    this._ignoreBackdropClick = false\n    this._isTransitioning = false\n    this._scrollbarWidth = 0\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n  toggle(relatedTarget) {\n    return this._isShown ? this.hide() : this.show(relatedTarget)\n  }\n\n  show(relatedTarget) {\n    if (this._isShown || this._isTransitioning) {\n      return\n    }\n\n    const showEvent = $.Event(EVENT_SHOW, {\n      relatedTarget\n    })\n\n    $(this._element).trigger(showEvent)\n\n    if (showEvent.isDefaultPrevented()) {\n      return\n    }\n\n    this._isShown = true\n\n    if ($(this._element).hasClass(CLASS_NAME_FADE)) {\n      this._isTransitioning = true\n    }\n\n    this._checkScrollbar()\n    this._setScrollbar()\n\n    this._adjustDialog()\n\n    this._setEscapeEvent()\n    this._setResizeEvent()\n\n    $(this._element).on(\n      EVENT_CLICK_DISMISS,\n      SELECTOR_DATA_DISMISS,\n      event => this.hide(event)\n    )\n\n    $(this._dialog).on(EVENT_MOUSEDOWN_DISMISS, () => {\n      $(this._element).one(EVENT_MOUSEUP_DISMISS, event => {\n        if ($(event.target).is(this._element)) {\n          this._ignoreBackdropClick = true\n        }\n      })\n    })\n\n    this._showBackdrop(() => this._showElement(relatedTarget))\n  }\n\n  hide(event) {\n    if (event) {\n      event.preventDefault()\n    }\n\n    if (!this._isShown || this._isTransitioning) {\n      return\n    }\n\n    const hideEvent = $.Event(EVENT_HIDE)\n\n    $(this._element).trigger(hideEvent)\n\n    if (!this._isShown || hideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    this._isShown = false\n    const transition = $(this._element).hasClass(CLASS_NAME_FADE)\n\n    if (transition) {\n      this._isTransitioning = true\n    }\n\n    this._setEscapeEvent()\n    this._setResizeEvent()\n\n    $(document).off(EVENT_FOCUSIN)\n\n    $(this._element).removeClass(CLASS_NAME_SHOW)\n\n    $(this._element).off(EVENT_CLICK_DISMISS)\n    $(this._dialog).off(EVENT_MOUSEDOWN_DISMISS)\n\n    if (transition) {\n      const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n      $(this._element)\n        .one(Util.TRANSITION_END, event => this._hideModal(event))\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      this._hideModal()\n    }\n  }\n\n  dispose() {\n    [window, this._element, this._dialog]\n      .forEach(htmlElement => $(htmlElement).off(EVENT_KEY))\n\n    /**\n     * `document` has 2 events `EVENT_FOCUSIN` and `EVENT_CLICK_DATA_API`\n     * Do not move `document` in `htmlElements` array\n     * It will remove `EVENT_CLICK_DATA_API` event that should remain\n     */\n    $(document).off(EVENT_FOCUSIN)\n\n    $.removeData(this._element, DATA_KEY)\n\n    this._config = null\n    this._element = null\n    this._dialog = null\n    this._backdrop = null\n    this._isShown = null\n    this._isBodyOverflowing = null\n    this._ignoreBackdropClick = null\n    this._isTransitioning = null\n    this._scrollbarWidth = null\n  }\n\n  handleUpdate() {\n    this._adjustDialog()\n  }\n\n  // Private\n  _getConfig(config) {\n    config = {\n      ...Default,\n      ...config\n    }\n    Util.typeCheckConfig(NAME, config, DefaultType)\n    return config\n  }\n\n  _triggerBackdropTransition() {\n    const hideEventPrevented = $.Event(EVENT_HIDE_PREVENTED)\n\n    $(this._element).trigger(hideEventPrevented)\n    if (hideEventPrevented.isDefaultPrevented()) {\n      return\n    }\n\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n\n    if (!isModalOverflowing) {\n      this._element.style.overflowY = 'hidden'\n    }\n\n    this._element.classList.add(CLASS_NAME_STATIC)\n\n    const modalTransitionDuration = Util.getTransitionDurationFromElement(this._dialog)\n    $(this._element).off(Util.TRANSITION_END)\n\n    $(this._element).one(Util.TRANSITION_END, () => {\n      this._element.classList.remove(CLASS_NAME_STATIC)\n      if (!isModalOverflowing) {\n        $(this._element).one(Util.TRANSITION_END, () => {\n          this._element.style.overflowY = ''\n        })\n          .emulateTransitionEnd(this._element, modalTransitionDuration)\n      }\n    })\n      .emulateTransitionEnd(modalTransitionDuration)\n    this._element.focus()\n  }\n\n  _showElement(relatedTarget) {\n    const transition = $(this._element).hasClass(CLASS_NAME_FADE)\n    const modalBody = this._dialog ? this._dialog.querySelector(SELECTOR_MODAL_BODY) : null\n\n    if (!this._element.parentNode ||\n        this._element.parentNode.nodeType !== Node.ELEMENT_NODE) {\n      // Don't move modal's DOM position\n      document.body.appendChild(this._element)\n    }\n\n    this._element.style.display = 'block'\n    this._element.removeAttribute('aria-hidden')\n    this._element.setAttribute('aria-modal', true)\n    this._element.setAttribute('role', 'dialog')\n\n    if ($(this._dialog).hasClass(CLASS_NAME_SCROLLABLE) && modalBody) {\n      modalBody.scrollTop = 0\n    } else {\n      this._element.scrollTop = 0\n    }\n\n    if (transition) {\n      Util.reflow(this._element)\n    }\n\n    $(this._element).addClass(CLASS_NAME_SHOW)\n\n    if (this._config.focus) {\n      this._enforceFocus()\n    }\n\n    const shownEvent = $.Event(EVENT_SHOWN, {\n      relatedTarget\n    })\n\n    const transitionComplete = () => {\n      if (this._config.focus) {\n        this._element.focus()\n      }\n\n      this._isTransitioning = false\n      $(this._element).trigger(shownEvent)\n    }\n\n    if (transition) {\n      const transitionDuration = Util.getTransitionDurationFromElement(this._dialog)\n\n      $(this._dialog)\n        .one(Util.TRANSITION_END, transitionComplete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      transitionComplete()\n    }\n  }\n\n  _enforceFocus() {\n    $(document)\n      .off(EVENT_FOCUSIN) // Guard against infinite focus loop\n      .on(EVENT_FOCUSIN, event => {\n        if (document !== event.target &&\n            this._element !== event.target &&\n            $(this._element).has(event.target).length === 0) {\n          this._element.focus()\n        }\n      })\n  }\n\n  _setEscapeEvent() {\n    if (this._isShown) {\n      $(this._element).on(EVENT_KEYDOWN_DISMISS, event => {\n        if (this._config.keyboard && event.which === ESCAPE_KEYCODE) {\n          event.preventDefault()\n          this.hide()\n        } else if (!this._config.keyboard && event.which === ESCAPE_KEYCODE) {\n          this._triggerBackdropTransition()\n        }\n      })\n    } else if (!this._isShown) {\n      $(this._element).off(EVENT_KEYDOWN_DISMISS)\n    }\n  }\n\n  _setResizeEvent() {\n    if (this._isShown) {\n      $(window).on(EVENT_RESIZE, event => this.handleUpdate(event))\n    } else {\n      $(window).off(EVENT_RESIZE)\n    }\n  }\n\n  _hideModal() {\n    this._element.style.display = 'none'\n    this._element.setAttribute('aria-hidden', true)\n    this._element.removeAttribute('aria-modal')\n    this._element.removeAttribute('role')\n    this._isTransitioning = false\n    this._showBackdrop(() => {\n      $(document.body).removeClass(CLASS_NAME_OPEN)\n      this._resetAdjustments()\n      this._resetScrollbar()\n      $(this._element).trigger(EVENT_HIDDEN)\n    })\n  }\n\n  _removeBackdrop() {\n    if (this._backdrop) {\n      $(this._backdrop).remove()\n      this._backdrop = null\n    }\n  }\n\n  _showBackdrop(callback) {\n    const animate = $(this._element).hasClass(CLASS_NAME_FADE) ?\n      CLASS_NAME_FADE : ''\n\n    if (this._isShown && this._config.backdrop) {\n      this._backdrop = document.createElement('div')\n      this._backdrop.className = CLASS_NAME_BACKDROP\n\n      if (animate) {\n        this._backdrop.classList.add(animate)\n      }\n\n      $(this._backdrop).appendTo(document.body)\n\n      $(this._element).on(EVENT_CLICK_DISMISS, event => {\n        if (this._ignoreBackdropClick) {\n          this._ignoreBackdropClick = false\n          return\n        }\n\n        if (event.target !== event.currentTarget) {\n          return\n        }\n\n        if (this._config.backdrop === 'static') {\n          this._triggerBackdropTransition()\n        } else {\n          this.hide()\n        }\n      })\n\n      if (animate) {\n        Util.reflow(this._backdrop)\n      }\n\n      $(this._backdrop).addClass(CLASS_NAME_SHOW)\n\n      if (!callback) {\n        return\n      }\n\n      if (!animate) {\n        callback()\n        return\n      }\n\n      const backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop)\n\n      $(this._backdrop)\n        .one(Util.TRANSITION_END, callback)\n        .emulateTransitionEnd(backdropTransitionDuration)\n    } else if (!this._isShown && this._backdrop) {\n      $(this._backdrop).removeClass(CLASS_NAME_SHOW)\n\n      const callbackRemove = () => {\n        this._removeBackdrop()\n        if (callback) {\n          callback()\n        }\n      }\n\n      if ($(this._element).hasClass(CLASS_NAME_FADE)) {\n        const backdropTransitionDuration = Util.getTransitionDurationFromElement(this._backdrop)\n\n        $(this._backdrop)\n          .one(Util.TRANSITION_END, callbackRemove)\n          .emulateTransitionEnd(backdropTransitionDuration)\n      } else {\n        callbackRemove()\n      }\n    } else if (callback) {\n      callback()\n    }\n  }\n\n  // ----------------------------------------------------------------------\n  // the following methods are used to handle overflowing modals\n  // todo (fat): these should probably be refactored out of modal.js\n  // ----------------------------------------------------------------------\n\n  _adjustDialog() {\n    const isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight\n\n    if (!this._isBodyOverflowing && isModalOverflowing) {\n      this._element.style.paddingLeft = `${this._scrollbarWidth}px`\n    }\n\n    if (this._isBodyOverflowing && !isModalOverflowing) {\n      this._element.style.paddingRight = `${this._scrollbarWidth}px`\n    }\n  }\n\n  _resetAdjustments() {\n    this._element.style.paddingLeft = ''\n    this._element.style.paddingRight = ''\n  }\n\n  _checkScrollbar() {\n    const rect = document.body.getBoundingClientRect()\n    this._isBodyOverflowing = Math.round(rect.left + rect.right) < window.innerWidth\n    this._scrollbarWidth = this._getScrollbarWidth()\n  }\n\n  _setScrollbar() {\n    if (this._isBodyOverflowing) {\n      // Note: DOMNode.style.paddingRight returns the actual value or '' if not set\n      //   while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set\n      const fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT))\n      const stickyContent = [].slice.call(document.querySelectorAll(SELECTOR_STICKY_CONTENT))\n\n      // Adjust fixed content padding\n      $(fixedContent).each((index, element) => {\n        const actualPadding = element.style.paddingRight\n        const calculatedPadding = $(element).css('padding-right')\n        $(element)\n          .data('padding-right', actualPadding)\n          .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`)\n      })\n\n      // Adjust sticky content margin\n      $(stickyContent).each((index, element) => {\n        const actualMargin = element.style.marginRight\n        const calculatedMargin = $(element).css('margin-right')\n        $(element)\n          .data('margin-right', actualMargin)\n          .css('margin-right', `${parseFloat(calculatedMargin) - this._scrollbarWidth}px`)\n      })\n\n      // Adjust body padding\n      const actualPadding = document.body.style.paddingRight\n      const calculatedPadding = $(document.body).css('padding-right')\n      $(document.body)\n        .data('padding-right', actualPadding)\n        .css('padding-right', `${parseFloat(calculatedPadding) + this._scrollbarWidth}px`)\n    }\n\n    $(document.body).addClass(CLASS_NAME_OPEN)\n  }\n\n  _resetScrollbar() {\n    // Restore fixed content padding\n    const fixedContent = [].slice.call(document.querySelectorAll(SELECTOR_FIXED_CONTENT))\n    $(fixedContent).each((index, element) => {\n      const padding = $(element).data('padding-right')\n      $(element).removeData('padding-right')\n      element.style.paddingRight = padding ? padding : ''\n    })\n\n    // Restore sticky content\n    const elements = [].slice.call(document.querySelectorAll(`${SELECTOR_STICKY_CONTENT}`))\n    $(elements).each((index, element) => {\n      const margin = $(element).data('margin-right')\n      if (typeof margin !== 'undefined') {\n        $(element).css('margin-right', margin).removeData('margin-right')\n      }\n    })\n\n    // Restore body padding\n    const padding = $(document.body).data('padding-right')\n    $(document.body).removeData('padding-right')\n    document.body.style.paddingRight = padding ? padding : ''\n  }\n\n  _getScrollbarWidth() { // thx d.walsh\n    const scrollDiv = document.createElement('div')\n    scrollDiv.className = CLASS_NAME_SCROLLBAR_MEASURER\n    document.body.appendChild(scrollDiv)\n    const scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth\n    document.body.removeChild(scrollDiv)\n    return scrollbarWidth\n  }\n\n  // Static\n  static _jQueryInterface(config, relatedTarget) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n      const _config = {\n        ...Default,\n        ...$(this).data(),\n        ...(typeof config === 'object' && config ? config : {})\n      }\n\n      if (!data) {\n        data = new Modal(this, _config)\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config](relatedTarget)\n      } else if (_config.show) {\n        data.show(relatedTarget)\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document).on(EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n  let target\n  const selector = Util.getSelectorFromElement(this)\n\n  if (selector) {\n    target = document.querySelector(selector)\n  }\n\n  const config = $(target).data(DATA_KEY) ?\n    'toggle' : {\n      ...$(target).data(),\n      ...$(this).data()\n    }\n\n  if (this.tagName === 'A' || this.tagName === 'AREA') {\n    event.preventDefault()\n  }\n\n  const $target = $(target).one(EVENT_SHOW, showEvent => {\n    if (showEvent.isDefaultPrevented()) {\n      // Only register focus restorer if modal will actually get shown\n      return\n    }\n\n    $target.one(EVENT_HIDDEN, () => {\n      if ($(this).is(':visible')) {\n        this.focus()\n      }\n    })\n  })\n\n  Modal._jQueryInterface.call($(target), config, this)\n})\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Modal._jQueryInterface\n$.fn[NAME].Constructor = Modal\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Modal._jQueryInterface\n}\n\nexport default Modal\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): tools/sanitizer.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nconst uriAttrs = [\n  'background',\n  'cite',\n  'href',\n  'itemtype',\n  'longdesc',\n  'poster',\n  'src',\n  'xlink:href'\n]\n\nconst ARIA_ATTRIBUTE_PATTERN = /^aria-[\\w-]*$/i\n\nexport const DefaultWhitelist = {\n  // Global attributes allowed on any supplied element below.\n  '*': ['class', 'dir', 'id', 'lang', 'role', ARIA_ATTRIBUTE_PATTERN],\n  a: ['target', 'href', 'title', 'rel'],\n  area: [],\n  b: [],\n  br: [],\n  col: [],\n  code: [],\n  div: [],\n  em: [],\n  hr: [],\n  h1: [],\n  h2: [],\n  h3: [],\n  h4: [],\n  h5: [],\n  h6: [],\n  i: [],\n  img: ['src', 'srcset', 'alt', 'title', 'width', 'height'],\n  li: [],\n  ol: [],\n  p: [],\n  pre: [],\n  s: [],\n  small: [],\n  span: [],\n  sub: [],\n  sup: [],\n  strong: [],\n  u: [],\n  ul: []\n}\n\n/**\n * A pattern that recognizes a commonly useful subset of URLs that are safe.\n *\n * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts\n */\nconst SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i\n\n/**\n * A pattern that matches safe data URLs. Only matches image, video and audio types.\n *\n * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts\n */\nconst DATA_URL_PATTERN = /^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[\\d+/a-z]+=*$/i\n\nfunction allowedAttribute(attr, allowedAttributeList) {\n  const attrName = attr.nodeName.toLowerCase()\n\n  if (allowedAttributeList.indexOf(attrName) !== -1) {\n    if (uriAttrs.indexOf(attrName) !== -1) {\n      return Boolean(SAFE_URL_PATTERN.test(attr.nodeValue) || DATA_URL_PATTERN.test(attr.nodeValue))\n    }\n\n    return true\n  }\n\n  const regExp = allowedAttributeList.filter(attrRegex => attrRegex instanceof RegExp)\n\n  // Check if a regular expression validates the attribute.\n  for (let i = 0, len = regExp.length; i < len; i++) {\n    if (regExp[i].test(attrName)) {\n      return true\n    }\n  }\n\n  return false\n}\n\nexport function sanitizeHtml(unsafeHtml, whiteList, sanitizeFn) {\n  if (unsafeHtml.length === 0) {\n    return unsafeHtml\n  }\n\n  if (sanitizeFn && typeof sanitizeFn === 'function') {\n    return sanitizeFn(unsafeHtml)\n  }\n\n  const domParser = new window.DOMParser()\n  const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html')\n  const whitelistKeys = Object.keys(whiteList)\n  const elements = [].slice.call(createdDocument.body.querySelectorAll('*'))\n\n  for (let i = 0, len = elements.length; i < len; i++) {\n    const el = elements[i]\n    const elName = el.nodeName.toLowerCase()\n\n    if (whitelistKeys.indexOf(el.nodeName.toLowerCase()) === -1) {\n      el.parentNode.removeChild(el)\n\n      continue\n    }\n\n    const attributeList = [].slice.call(el.attributes)\n    // eslint-disable-next-line unicorn/prefer-spread\n    const whitelistedAttributes = [].concat(whiteList['*'] || [], whiteList[elName] || [])\n\n    attributeList.forEach(attr => {\n      if (!allowedAttribute(attr, whitelistedAttributes)) {\n        el.removeAttribute(attr.nodeName)\n      }\n    })\n  }\n\n  return createdDocument.body.innerHTML\n}\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): tooltip.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport { DefaultWhitelist, sanitizeHtml } from './tools/sanitizer'\nimport $ from 'jquery'\nimport Popper from 'popper.js'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'tooltip'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.tooltip'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst CLASS_PREFIX = 'bs-tooltip'\nconst BSCLS_PREFIX_REGEX = new RegExp(`(^|\\\\s)${CLASS_PREFIX}\\\\S+`, 'g')\nconst DISALLOWED_ATTRIBUTES = ['sanitize', 'whiteList', 'sanitizeFn']\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\nconst HOVER_STATE_SHOW = 'show'\nconst HOVER_STATE_OUT = 'out'\n\nconst SELECTOR_TOOLTIP_INNER = '.tooltip-inner'\nconst SELECTOR_ARROW = '.arrow'\n\nconst TRIGGER_HOVER = 'hover'\nconst TRIGGER_FOCUS = 'focus'\nconst TRIGGER_CLICK = 'click'\nconst TRIGGER_MANUAL = 'manual'\n\nconst AttachmentMap = {\n  AUTO: 'auto',\n  TOP: 'top',\n  RIGHT: 'right',\n  BOTTOM: 'bottom',\n  LEFT: 'left'\n}\n\nconst Default = {\n  animation: true,\n  template: '<div class=\"tooltip\" role=\"tooltip\">' +\n                    '<div class=\"arrow\"></div>' +\n                    '<div class=\"tooltip-inner\"></div></div>',\n  trigger: 'hover focus',\n  title: '',\n  delay: 0,\n  html: false,\n  selector: false,\n  placement: 'top',\n  offset: 0,\n  container: false,\n  fallbackPlacement: 'flip',\n  boundary: 'scrollParent',\n  customClass: '',\n  sanitize: true,\n  sanitizeFn: null,\n  whiteList: DefaultWhitelist,\n  popperConfig: null\n}\n\nconst DefaultType = {\n  animation: 'boolean',\n  template: 'string',\n  title: '(string|element|function)',\n  trigger: 'string',\n  delay: '(number|object)',\n  html: 'boolean',\n  selector: '(string|boolean)',\n  placement: '(string|function)',\n  offset: '(number|string|function)',\n  container: '(string|element|boolean)',\n  fallbackPlacement: '(string|array)',\n  boundary: '(string|element)',\n  customClass: '(string|function)',\n  sanitize: 'boolean',\n  sanitizeFn: '(null|function)',\n  whiteList: 'object',\n  popperConfig: '(null|object)'\n}\n\nconst Event = {\n  HIDE: `hide${EVENT_KEY}`,\n  HIDDEN: `hidden${EVENT_KEY}`,\n  SHOW: `show${EVENT_KEY}`,\n  SHOWN: `shown${EVENT_KEY}`,\n  INSERTED: `inserted${EVENT_KEY}`,\n  CLICK: `click${EVENT_KEY}`,\n  FOCUSIN: `focusin${EVENT_KEY}`,\n  FOCUSOUT: `focusout${EVENT_KEY}`,\n  MOUSEENTER: `mouseenter${EVENT_KEY}`,\n  MOUSELEAVE: `mouseleave${EVENT_KEY}`\n}\n\n/**\n * Class definition\n */\n\nclass Tooltip {\n  constructor(element, config) {\n    if (typeof Popper === 'undefined') {\n      throw new TypeError('Bootstrap\\'s tooltips require Popper (https://popper.js.org)')\n    }\n\n    // Private\n    this._isEnabled = true\n    this._timeout = 0\n    this._hoverState = ''\n    this._activeTrigger = {}\n    this._popper = null\n\n    // Protected\n    this.element = element\n    this.config = this._getConfig(config)\n    this.tip = null\n\n    this._setListeners()\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  static get DATA_KEY() {\n    return DATA_KEY\n  }\n\n  static get Event() {\n    return Event\n  }\n\n  static get EVENT_KEY() {\n    return EVENT_KEY\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  // Public\n  enable() {\n    this._isEnabled = true\n  }\n\n  disable() {\n    this._isEnabled = false\n  }\n\n  toggleEnabled() {\n    this._isEnabled = !this._isEnabled\n  }\n\n  toggle(event) {\n    if (!this._isEnabled) {\n      return\n    }\n\n    if (event) {\n      const dataKey = this.constructor.DATA_KEY\n      let context = $(event.currentTarget).data(dataKey)\n\n      if (!context) {\n        context = new this.constructor(\n          event.currentTarget,\n          this._getDelegateConfig()\n        )\n        $(event.currentTarget).data(dataKey, context)\n      }\n\n      context._activeTrigger.click = !context._activeTrigger.click\n\n      if (context._isWithActiveTrigger()) {\n        context._enter(null, context)\n      } else {\n        context._leave(null, context)\n      }\n    } else {\n      if ($(this.getTipElement()).hasClass(CLASS_NAME_SHOW)) {\n        this._leave(null, this)\n        return\n      }\n\n      this._enter(null, this)\n    }\n  }\n\n  dispose() {\n    clearTimeout(this._timeout)\n\n    $.removeData(this.element, this.constructor.DATA_KEY)\n\n    $(this.element).off(this.constructor.EVENT_KEY)\n    $(this.element).closest('.modal').off('hide.bs.modal', this._hideModalHandler)\n\n    if (this.tip) {\n      $(this.tip).remove()\n    }\n\n    this._isEnabled = null\n    this._timeout = null\n    this._hoverState = null\n    this._activeTrigger = null\n    if (this._popper) {\n      this._popper.destroy()\n    }\n\n    this._popper = null\n    this.element = null\n    this.config = null\n    this.tip = null\n  }\n\n  show() {\n    if ($(this.element).css('display') === 'none') {\n      throw new Error('Please use show on visible elements')\n    }\n\n    const showEvent = $.Event(this.constructor.Event.SHOW)\n    if (this.isWithContent() && this._isEnabled) {\n      $(this.element).trigger(showEvent)\n\n      const shadowRoot = Util.findShadowRoot(this.element)\n      const isInTheDom = $.contains(\n        shadowRoot !== null ? shadowRoot : this.element.ownerDocument.documentElement,\n        this.element\n      )\n\n      if (showEvent.isDefaultPrevented() || !isInTheDom) {\n        return\n      }\n\n      const tip = this.getTipElement()\n      const tipId = Util.getUID(this.constructor.NAME)\n\n      tip.setAttribute('id', tipId)\n      this.element.setAttribute('aria-describedby', tipId)\n\n      this.setContent()\n\n      if (this.config.animation) {\n        $(tip).addClass(CLASS_NAME_FADE)\n      }\n\n      const placement = typeof this.config.placement === 'function' ?\n        this.config.placement.call(this, tip, this.element) :\n        this.config.placement\n\n      const attachment = this._getAttachment(placement)\n      this.addAttachmentClass(attachment)\n\n      const container = this._getContainer()\n      $(tip).data(this.constructor.DATA_KEY, this)\n\n      if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) {\n        $(tip).appendTo(container)\n      }\n\n      $(this.element).trigger(this.constructor.Event.INSERTED)\n\n      this._popper = new Popper(this.element, tip, this._getPopperConfig(attachment))\n\n      $(tip).addClass(CLASS_NAME_SHOW)\n      $(tip).addClass(this.config.customClass)\n\n      // If this is a touch-enabled device we add extra\n      // empty mouseover listeners to the body's immediate children;\n      // only needed because of broken event delegation on iOS\n      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n      if ('ontouchstart' in document.documentElement) {\n        $(document.body).children().on('mouseover', null, $.noop)\n      }\n\n      const complete = () => {\n        if (this.config.animation) {\n          this._fixTransition()\n        }\n\n        const prevHoverState = this._hoverState\n        this._hoverState = null\n\n        $(this.element).trigger(this.constructor.Event.SHOWN)\n\n        if (prevHoverState === HOVER_STATE_OUT) {\n          this._leave(null, this)\n        }\n      }\n\n      if ($(this.tip).hasClass(CLASS_NAME_FADE)) {\n        const transitionDuration = Util.getTransitionDurationFromElement(this.tip)\n\n        $(this.tip)\n          .one(Util.TRANSITION_END, complete)\n          .emulateTransitionEnd(transitionDuration)\n      } else {\n        complete()\n      }\n    }\n  }\n\n  hide(callback) {\n    const tip = this.getTipElement()\n    const hideEvent = $.Event(this.constructor.Event.HIDE)\n    const complete = () => {\n      if (this._hoverState !== HOVER_STATE_SHOW && tip.parentNode) {\n        tip.parentNode.removeChild(tip)\n      }\n\n      this._cleanTipClass()\n      this.element.removeAttribute('aria-describedby')\n      $(this.element).trigger(this.constructor.Event.HIDDEN)\n      if (this._popper !== null) {\n        this._popper.destroy()\n      }\n\n      if (callback) {\n        callback()\n      }\n    }\n\n    $(this.element).trigger(hideEvent)\n\n    if (hideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    $(tip).removeClass(CLASS_NAME_SHOW)\n\n    // If this is a touch-enabled device we remove the extra\n    // empty mouseover listeners we added for iOS support\n    if ('ontouchstart' in document.documentElement) {\n      $(document.body).children().off('mouseover', null, $.noop)\n    }\n\n    this._activeTrigger[TRIGGER_CLICK] = false\n    this._activeTrigger[TRIGGER_FOCUS] = false\n    this._activeTrigger[TRIGGER_HOVER] = false\n\n    if ($(this.tip).hasClass(CLASS_NAME_FADE)) {\n      const transitionDuration = Util.getTransitionDurationFromElement(tip)\n\n      $(tip)\n        .one(Util.TRANSITION_END, complete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      complete()\n    }\n\n    this._hoverState = ''\n  }\n\n  update() {\n    if (this._popper !== null) {\n      this._popper.scheduleUpdate()\n    }\n  }\n\n  // Protected\n  isWithContent() {\n    return Boolean(this.getTitle())\n  }\n\n  addAttachmentClass(attachment) {\n    $(this.getTipElement()).addClass(`${CLASS_PREFIX}-${attachment}`)\n  }\n\n  getTipElement() {\n    this.tip = this.tip || $(this.config.template)[0]\n    return this.tip\n  }\n\n  setContent() {\n    const tip = this.getTipElement()\n    this.setElementContent($(tip.querySelectorAll(SELECTOR_TOOLTIP_INNER)), this.getTitle())\n    $(tip).removeClass(`${CLASS_NAME_FADE} ${CLASS_NAME_SHOW}`)\n  }\n\n  setElementContent($element, content) {\n    if (typeof content === 'object' && (content.nodeType || content.jquery)) {\n      // Content is a DOM node or a jQuery\n      if (this.config.html) {\n        if (!$(content).parent().is($element)) {\n          $element.empty().append(content)\n        }\n      } else {\n        $element.text($(content).text())\n      }\n\n      return\n    }\n\n    if (this.config.html) {\n      if (this.config.sanitize) {\n        content = sanitizeHtml(content, this.config.whiteList, this.config.sanitizeFn)\n      }\n\n      $element.html(content)\n    } else {\n      $element.text(content)\n    }\n  }\n\n  getTitle() {\n    let title = this.element.getAttribute('data-original-title')\n\n    if (!title) {\n      title = typeof this.config.title === 'function' ?\n        this.config.title.call(this.element) :\n        this.config.title\n    }\n\n    return title\n  }\n\n  // Private\n  _getPopperConfig(attachment) {\n    const defaultBsConfig = {\n      placement: attachment,\n      modifiers: {\n        offset: this._getOffset(),\n        flip: {\n          behavior: this.config.fallbackPlacement\n        },\n        arrow: {\n          element: SELECTOR_ARROW\n        },\n        preventOverflow: {\n          boundariesElement: this.config.boundary\n        }\n      },\n      onCreate: data => {\n        if (data.originalPlacement !== data.placement) {\n          this._handlePopperPlacementChange(data)\n        }\n      },\n      onUpdate: data => this._handlePopperPlacementChange(data)\n    }\n\n    return {\n      ...defaultBsConfig,\n      ...this.config.popperConfig\n    }\n  }\n\n  _getOffset() {\n    const offset = {}\n\n    if (typeof this.config.offset === 'function') {\n      offset.fn = data => {\n        data.offsets = {\n          ...data.offsets,\n          ...this.config.offset(data.offsets, this.element)\n        }\n\n        return data\n      }\n    } else {\n      offset.offset = this.config.offset\n    }\n\n    return offset\n  }\n\n  _getContainer() {\n    if (this.config.container === false) {\n      return document.body\n    }\n\n    if (Util.isElement(this.config.container)) {\n      return $(this.config.container)\n    }\n\n    return $(document).find(this.config.container)\n  }\n\n  _getAttachment(placement) {\n    return AttachmentMap[placement.toUpperCase()]\n  }\n\n  _setListeners() {\n    const triggers = this.config.trigger.split(' ')\n\n    triggers.forEach(trigger => {\n      if (trigger === 'click') {\n        $(this.element).on(\n          this.constructor.Event.CLICK,\n          this.config.selector,\n          event => this.toggle(event)\n        )\n      } else if (trigger !== TRIGGER_MANUAL) {\n        const eventIn = trigger === TRIGGER_HOVER ?\n          this.constructor.Event.MOUSEENTER :\n          this.constructor.Event.FOCUSIN\n        const eventOut = trigger === TRIGGER_HOVER ?\n          this.constructor.Event.MOUSELEAVE :\n          this.constructor.Event.FOCUSOUT\n\n        $(this.element)\n          .on(eventIn, this.config.selector, event => this._enter(event))\n          .on(eventOut, this.config.selector, event => this._leave(event))\n      }\n    })\n\n    this._hideModalHandler = () => {\n      if (this.element) {\n        this.hide()\n      }\n    }\n\n    $(this.element).closest('.modal').on('hide.bs.modal', this._hideModalHandler)\n\n    if (this.config.selector) {\n      this.config = {\n        ...this.config,\n        trigger: 'manual',\n        selector: ''\n      }\n    } else {\n      this._fixTitle()\n    }\n  }\n\n  _fixTitle() {\n    const titleType = typeof this.element.getAttribute('data-original-title')\n\n    if (this.element.getAttribute('title') || titleType !== 'string') {\n      this.element.setAttribute(\n        'data-original-title',\n        this.element.getAttribute('title') || ''\n      )\n\n      this.element.setAttribute('title', '')\n    }\n  }\n\n  _enter(event, context) {\n    const dataKey = this.constructor.DATA_KEY\n    context = context || $(event.currentTarget).data(dataKey)\n\n    if (!context) {\n      context = new this.constructor(\n        event.currentTarget,\n        this._getDelegateConfig()\n      )\n      $(event.currentTarget).data(dataKey, context)\n    }\n\n    if (event) {\n      context._activeTrigger[\n        event.type === 'focusin' ? TRIGGER_FOCUS : TRIGGER_HOVER\n      ] = true\n    }\n\n    if ($(context.getTipElement()).hasClass(CLASS_NAME_SHOW) || context._hoverState === HOVER_STATE_SHOW) {\n      context._hoverState = HOVER_STATE_SHOW\n      return\n    }\n\n    clearTimeout(context._timeout)\n\n    context._hoverState = HOVER_STATE_SHOW\n\n    if (!context.config.delay || !context.config.delay.show) {\n      context.show()\n      return\n    }\n\n    context._timeout = setTimeout(() => {\n      if (context._hoverState === HOVER_STATE_SHOW) {\n        context.show()\n      }\n    }, context.config.delay.show)\n  }\n\n  _leave(event, context) {\n    const dataKey = this.constructor.DATA_KEY\n    context = context || $(event.currentTarget).data(dataKey)\n\n    if (!context) {\n      context = new this.constructor(\n        event.currentTarget,\n        this._getDelegateConfig()\n      )\n      $(event.currentTarget).data(dataKey, context)\n    }\n\n    if (event) {\n      context._activeTrigger[\n        event.type === 'focusout' ? TRIGGER_FOCUS : TRIGGER_HOVER\n      ] = false\n    }\n\n    if (context._isWithActiveTrigger()) {\n      return\n    }\n\n    clearTimeout(context._timeout)\n\n    context._hoverState = HOVER_STATE_OUT\n\n    if (!context.config.delay || !context.config.delay.hide) {\n      context.hide()\n      return\n    }\n\n    context._timeout = setTimeout(() => {\n      if (context._hoverState === HOVER_STATE_OUT) {\n        context.hide()\n      }\n    }, context.config.delay.hide)\n  }\n\n  _isWithActiveTrigger() {\n    for (const trigger in this._activeTrigger) {\n      if (this._activeTrigger[trigger]) {\n        return true\n      }\n    }\n\n    return false\n  }\n\n  _getConfig(config) {\n    const dataAttributes = $(this.element).data()\n\n    Object.keys(dataAttributes)\n      .forEach(dataAttr => {\n        if (DISALLOWED_ATTRIBUTES.indexOf(dataAttr) !== -1) {\n          delete dataAttributes[dataAttr]\n        }\n      })\n\n    config = {\n      ...this.constructor.Default,\n      ...dataAttributes,\n      ...(typeof config === 'object' && config ? config : {})\n    }\n\n    if (typeof config.delay === 'number') {\n      config.delay = {\n        show: config.delay,\n        hide: config.delay\n      }\n    }\n\n    if (typeof config.title === 'number') {\n      config.title = config.title.toString()\n    }\n\n    if (typeof config.content === 'number') {\n      config.content = config.content.toString()\n    }\n\n    Util.typeCheckConfig(\n      NAME,\n      config,\n      this.constructor.DefaultType\n    )\n\n    if (config.sanitize) {\n      config.template = sanitizeHtml(config.template, config.whiteList, config.sanitizeFn)\n    }\n\n    return config\n  }\n\n  _getDelegateConfig() {\n    const config = {}\n\n    if (this.config) {\n      for (const key in this.config) {\n        if (this.constructor.Default[key] !== this.config[key]) {\n          config[key] = this.config[key]\n        }\n      }\n    }\n\n    return config\n  }\n\n  _cleanTipClass() {\n    const $tip = $(this.getTipElement())\n    const tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX)\n    if (tabClass !== null && tabClass.length) {\n      $tip.removeClass(tabClass.join(''))\n    }\n  }\n\n  _handlePopperPlacementChange(popperData) {\n    this.tip = popperData.instance.popper\n    this._cleanTipClass()\n    this.addAttachmentClass(this._getAttachment(popperData.placement))\n  }\n\n  _fixTransition() {\n    const tip = this.getTipElement()\n    const initConfigAnimation = this.config.animation\n\n    if (tip.getAttribute('x-placement') !== null) {\n      return\n    }\n\n    $(tip).removeClass(CLASS_NAME_FADE)\n    this.config.animation = false\n    this.hide()\n    this.show()\n    this.config.animation = initConfigAnimation\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      const $element = $(this)\n      let data = $element.data(DATA_KEY)\n      const _config = typeof config === 'object' && config\n\n      if (!data && /dispose|hide/.test(config)) {\n        return\n      }\n\n      if (!data) {\n        data = new Tooltip(this, _config)\n        $element.data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Tooltip._jQueryInterface\n$.fn[NAME].Constructor = Tooltip\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Tooltip._jQueryInterface\n}\n\nexport default Tooltip\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): popover.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Tooltip from './tooltip'\n\n/**\n * Constants\n */\n\nconst NAME = 'popover'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.popover'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\nconst CLASS_PREFIX = 'bs-popover'\nconst BSCLS_PREFIX_REGEX = new RegExp(`(^|\\\\s)${CLASS_PREFIX}\\\\S+`, 'g')\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\nconst SELECTOR_TITLE = '.popover-header'\nconst SELECTOR_CONTENT = '.popover-body'\n\nconst Default = {\n  ...Tooltip.Default,\n  placement: 'right',\n  trigger: 'click',\n  content: '',\n  template: '<div class=\"popover\" role=\"tooltip\">' +\n              '<div class=\"arrow\"></div>' +\n              '<h3 class=\"popover-header\"></h3>' +\n              '<div class=\"popover-body\"></div></div>'\n}\n\nconst DefaultType = {\n  ...Tooltip.DefaultType,\n  content: '(string|element|function)'\n}\n\nconst Event = {\n  HIDE: `hide${EVENT_KEY}`,\n  HIDDEN: `hidden${EVENT_KEY}`,\n  SHOW: `show${EVENT_KEY}`,\n  SHOWN: `shown${EVENT_KEY}`,\n  INSERTED: `inserted${EVENT_KEY}`,\n  CLICK: `click${EVENT_KEY}`,\n  FOCUSIN: `focusin${EVENT_KEY}`,\n  FOCUSOUT: `focusout${EVENT_KEY}`,\n  MOUSEENTER: `mouseenter${EVENT_KEY}`,\n  MOUSELEAVE: `mouseleave${EVENT_KEY}`\n}\n\n/**\n * Class definition\n */\n\nclass Popover extends Tooltip {\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  static get NAME() {\n    return NAME\n  }\n\n  static get DATA_KEY() {\n    return DATA_KEY\n  }\n\n  static get Event() {\n    return Event\n  }\n\n  static get EVENT_KEY() {\n    return EVENT_KEY\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  // Overrides\n  isWithContent() {\n    return this.getTitle() || this._getContent()\n  }\n\n  addAttachmentClass(attachment) {\n    $(this.getTipElement()).addClass(`${CLASS_PREFIX}-${attachment}`)\n  }\n\n  getTipElement() {\n    this.tip = this.tip || $(this.config.template)[0]\n    return this.tip\n  }\n\n  setContent() {\n    const $tip = $(this.getTipElement())\n\n    // We use append for html objects to maintain js events\n    this.setElementContent($tip.find(SELECTOR_TITLE), this.getTitle())\n    let content = this._getContent()\n    if (typeof content === 'function') {\n      content = content.call(this.element)\n    }\n\n    this.setElementContent($tip.find(SELECTOR_CONTENT), content)\n\n    $tip.removeClass(`${CLASS_NAME_FADE} ${CLASS_NAME_SHOW}`)\n  }\n\n  // Private\n  _getContent() {\n    return this.element.getAttribute('data-content') ||\n      this.config.content\n  }\n\n  _cleanTipClass() {\n    const $tip = $(this.getTipElement())\n    const tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX)\n    if (tabClass !== null && tabClass.length > 0) {\n      $tip.removeClass(tabClass.join(''))\n    }\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n      const _config = typeof config === 'object' ? config : null\n\n      if (!data && /dispose|hide/.test(config)) {\n        return\n      }\n\n      if (!data) {\n        data = new Popover(this, _config)\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Popover._jQueryInterface\n$.fn[NAME].Constructor = Popover\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Popover._jQueryInterface\n}\n\nexport default Popover\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): scrollspy.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'scrollspy'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.scrollspy'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_DROPDOWN_ITEM = 'dropdown-item'\nconst CLASS_NAME_ACTIVE = 'active'\n\nconst EVENT_ACTIVATE = `activate${EVENT_KEY}`\nconst EVENT_SCROLL = `scroll${EVENT_KEY}`\nconst EVENT_LOAD_DATA_API = `load${EVENT_KEY}${DATA_API_KEY}`\n\nconst METHOD_OFFSET = 'offset'\nconst METHOD_POSITION = 'position'\n\nconst SELECTOR_DATA_SPY = '[data-spy=\"scroll\"]'\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'\nconst SELECTOR_NAV_LINKS = '.nav-link'\nconst SELECTOR_NAV_ITEMS = '.nav-item'\nconst SELECTOR_LIST_ITEMS = '.list-group-item'\nconst SELECTOR_DROPDOWN = '.dropdown'\nconst SELECTOR_DROPDOWN_ITEMS = '.dropdown-item'\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'\n\nconst Default = {\n  offset: 10,\n  method: 'auto',\n  target: ''\n}\n\nconst DefaultType = {\n  offset: 'number',\n  method: 'string',\n  target: '(string|element)'\n}\n\n/**\n * Class definition\n */\n\nclass ScrollSpy {\n  constructor(element, config) {\n    this._element = element\n    this._scrollElement = element.tagName === 'BODY' ? window : element\n    this._config = this._getConfig(config)\n    this._selector = `${this._config.target} ${SELECTOR_NAV_LINKS},` +\n                          `${this._config.target} ${SELECTOR_LIST_ITEMS},` +\n                          `${this._config.target} ${SELECTOR_DROPDOWN_ITEMS}`\n    this._offsets = []\n    this._targets = []\n    this._activeTarget = null\n    this._scrollHeight = 0\n\n    $(this._scrollElement).on(EVENT_SCROLL, event => this._process(event))\n\n    this.refresh()\n    this._process()\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n  refresh() {\n    const autoMethod = this._scrollElement === this._scrollElement.window ?\n      METHOD_OFFSET : METHOD_POSITION\n\n    const offsetMethod = this._config.method === 'auto' ?\n      autoMethod : this._config.method\n\n    const offsetBase = offsetMethod === METHOD_POSITION ?\n      this._getScrollTop() : 0\n\n    this._offsets = []\n    this._targets = []\n\n    this._scrollHeight = this._getScrollHeight()\n\n    const targets = [].slice.call(document.querySelectorAll(this._selector))\n\n    targets\n      .map(element => {\n        let target\n        const targetSelector = Util.getSelectorFromElement(element)\n\n        if (targetSelector) {\n          target = document.querySelector(targetSelector)\n        }\n\n        if (target) {\n          const targetBCR = target.getBoundingClientRect()\n          if (targetBCR.width || targetBCR.height) {\n            // TODO (fat): remove sketch reliance on jQuery position/offset\n            return [\n              $(target)[offsetMethod]().top + offsetBase,\n              targetSelector\n            ]\n          }\n        }\n\n        return null\n      })\n      .filter(Boolean)\n      .sort((a, b) => a[0] - b[0])\n      .forEach(item => {\n        this._offsets.push(item[0])\n        this._targets.push(item[1])\n      })\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n    $(this._scrollElement).off(EVENT_KEY)\n\n    this._element = null\n    this._scrollElement = null\n    this._config = null\n    this._selector = null\n    this._offsets = null\n    this._targets = null\n    this._activeTarget = null\n    this._scrollHeight = null\n  }\n\n  // Private\n  _getConfig(config) {\n    config = {\n      ...Default,\n      ...(typeof config === 'object' && config ? config : {})\n    }\n\n    if (typeof config.target !== 'string' && Util.isElement(config.target)) {\n      let id = $(config.target).attr('id')\n      if (!id) {\n        id = Util.getUID(NAME)\n        $(config.target).attr('id', id)\n      }\n\n      config.target = `#${id}`\n    }\n\n    Util.typeCheckConfig(NAME, config, DefaultType)\n\n    return config\n  }\n\n  _getScrollTop() {\n    return this._scrollElement === window ?\n      this._scrollElement.pageYOffset : this._scrollElement.scrollTop\n  }\n\n  _getScrollHeight() {\n    return this._scrollElement.scrollHeight || Math.max(\n      document.body.scrollHeight,\n      document.documentElement.scrollHeight\n    )\n  }\n\n  _getOffsetHeight() {\n    return this._scrollElement === window ?\n      window.innerHeight : this._scrollElement.getBoundingClientRect().height\n  }\n\n  _process() {\n    const scrollTop = this._getScrollTop() + this._config.offset\n    const scrollHeight = this._getScrollHeight()\n    const maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight()\n\n    if (this._scrollHeight !== scrollHeight) {\n      this.refresh()\n    }\n\n    if (scrollTop >= maxScroll) {\n      const target = this._targets[this._targets.length - 1]\n\n      if (this._activeTarget !== target) {\n        this._activate(target)\n      }\n\n      return\n    }\n\n    if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) {\n      this._activeTarget = null\n      this._clear()\n      return\n    }\n\n    for (let i = this._offsets.length; i--;) {\n      const isActiveTarget = this._activeTarget !== this._targets[i] &&\n          scrollTop >= this._offsets[i] &&\n          (typeof this._offsets[i + 1] === 'undefined' ||\n              scrollTop < this._offsets[i + 1])\n\n      if (isActiveTarget) {\n        this._activate(this._targets[i])\n      }\n    }\n  }\n\n  _activate(target) {\n    this._activeTarget = target\n\n    this._clear()\n\n    const queries = this._selector\n      .split(',')\n      .map(selector => `${selector}[data-target=\"${target}\"],${selector}[href=\"${target}\"]`)\n\n    const $link = $([].slice.call(document.querySelectorAll(queries.join(','))))\n\n    if ($link.hasClass(CLASS_NAME_DROPDOWN_ITEM)) {\n      $link.closest(SELECTOR_DROPDOWN)\n        .find(SELECTOR_DROPDOWN_TOGGLE)\n        .addClass(CLASS_NAME_ACTIVE)\n      $link.addClass(CLASS_NAME_ACTIVE)\n    } else {\n      // Set triggered link as active\n      $link.addClass(CLASS_NAME_ACTIVE)\n      // Set triggered links parents as active\n      // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor\n      $link.parents(SELECTOR_NAV_LIST_GROUP)\n        .prev(`${SELECTOR_NAV_LINKS}, ${SELECTOR_LIST_ITEMS}`)\n        .addClass(CLASS_NAME_ACTIVE)\n      // Handle special case when .nav-link is inside .nav-item\n      $link.parents(SELECTOR_NAV_LIST_GROUP)\n        .prev(SELECTOR_NAV_ITEMS)\n        .children(SELECTOR_NAV_LINKS)\n        .addClass(CLASS_NAME_ACTIVE)\n    }\n\n    $(this._scrollElement).trigger(EVENT_ACTIVATE, {\n      relatedTarget: target\n    })\n  }\n\n  _clear() {\n    [].slice.call(document.querySelectorAll(this._selector))\n      .filter(node => node.classList.contains(CLASS_NAME_ACTIVE))\n      .forEach(node => node.classList.remove(CLASS_NAME_ACTIVE))\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      let data = $(this).data(DATA_KEY)\n      const _config = typeof config === 'object' && config\n\n      if (!data) {\n        data = new ScrollSpy(this, _config)\n        $(this).data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(window).on(EVENT_LOAD_DATA_API, () => {\n  const scrollSpys = [].slice.call(document.querySelectorAll(SELECTOR_DATA_SPY))\n  const scrollSpysLength = scrollSpys.length\n\n  for (let i = scrollSpysLength; i--;) {\n    const $spy = $(scrollSpys[i])\n    ScrollSpy._jQueryInterface.call($spy, $spy.data())\n  }\n})\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = ScrollSpy._jQueryInterface\n$.fn[NAME].Constructor = ScrollSpy\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return ScrollSpy._jQueryInterface\n}\n\nexport default ScrollSpy\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): tab.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'tab'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.tab'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst DATA_API_KEY = '.data-api'\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_DROPDOWN_MENU = 'dropdown-menu'\nconst CLASS_NAME_ACTIVE = 'active'\nconst CLASS_NAME_DISABLED = 'disabled'\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_SHOW = 'show'\n\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\nconst EVENT_CLICK_DATA_API = `click${EVENT_KEY}${DATA_API_KEY}`\n\nconst SELECTOR_DROPDOWN = '.dropdown'\nconst SELECTOR_NAV_LIST_GROUP = '.nav, .list-group'\nconst SELECTOR_ACTIVE = '.active'\nconst SELECTOR_ACTIVE_UL = '> li > .active'\nconst SELECTOR_DATA_TOGGLE = '[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]'\nconst SELECTOR_DROPDOWN_TOGGLE = '.dropdown-toggle'\nconst SELECTOR_DROPDOWN_ACTIVE_CHILD = '> .dropdown-menu .active'\n\n/**\n * Class definition\n */\n\nclass Tab {\n  constructor(element) {\n    this._element = element\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  // Public\n  show() {\n    if (this._element.parentNode &&\n        this._element.parentNode.nodeType === Node.ELEMENT_NODE &&\n        $(this._element).hasClass(CLASS_NAME_ACTIVE) ||\n        $(this._element).hasClass(CLASS_NAME_DISABLED) ||\n        this._element.hasAttribute('disabled')) {\n      return\n    }\n\n    let target\n    let previous\n    const listElement = $(this._element).closest(SELECTOR_NAV_LIST_GROUP)[0]\n    const selector = Util.getSelectorFromElement(this._element)\n\n    if (listElement) {\n      const itemSelector = listElement.nodeName === 'UL' || listElement.nodeName === 'OL' ? SELECTOR_ACTIVE_UL : SELECTOR_ACTIVE\n      previous = $.makeArray($(listElement).find(itemSelector))\n      previous = previous[previous.length - 1]\n    }\n\n    const hideEvent = $.Event(EVENT_HIDE, {\n      relatedTarget: this._element\n    })\n\n    const showEvent = $.Event(EVENT_SHOW, {\n      relatedTarget: previous\n    })\n\n    if (previous) {\n      $(previous).trigger(hideEvent)\n    }\n\n    $(this._element).trigger(showEvent)\n\n    if (showEvent.isDefaultPrevented() ||\n        hideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    if (selector) {\n      target = document.querySelector(selector)\n    }\n\n    this._activate(\n      this._element,\n      listElement\n    )\n\n    const complete = () => {\n      const hiddenEvent = $.Event(EVENT_HIDDEN, {\n        relatedTarget: this._element\n      })\n\n      const shownEvent = $.Event(EVENT_SHOWN, {\n        relatedTarget: previous\n      })\n\n      $(previous).trigger(hiddenEvent)\n      $(this._element).trigger(shownEvent)\n    }\n\n    if (target) {\n      this._activate(target, target.parentNode, complete)\n    } else {\n      complete()\n    }\n  }\n\n  dispose() {\n    $.removeData(this._element, DATA_KEY)\n    this._element = null\n  }\n\n  // Private\n  _activate(element, container, callback) {\n    const activeElements = container && (container.nodeName === 'UL' || container.nodeName === 'OL') ?\n      $(container).find(SELECTOR_ACTIVE_UL) :\n      $(container).children(SELECTOR_ACTIVE)\n\n    const active = activeElements[0]\n    const isTransitioning = callback && (active && $(active).hasClass(CLASS_NAME_FADE))\n    const complete = () => this._transitionComplete(\n      element,\n      active,\n      callback\n    )\n\n    if (active && isTransitioning) {\n      const transitionDuration = Util.getTransitionDurationFromElement(active)\n\n      $(active)\n        .removeClass(CLASS_NAME_SHOW)\n        .one(Util.TRANSITION_END, complete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      complete()\n    }\n  }\n\n  _transitionComplete(element, active, callback) {\n    if (active) {\n      $(active).removeClass(CLASS_NAME_ACTIVE)\n\n      const dropdownChild = $(active.parentNode).find(\n        SELECTOR_DROPDOWN_ACTIVE_CHILD\n      )[0]\n\n      if (dropdownChild) {\n        $(dropdownChild).removeClass(CLASS_NAME_ACTIVE)\n      }\n\n      if (active.getAttribute('role') === 'tab') {\n        active.setAttribute('aria-selected', false)\n      }\n    }\n\n    $(element).addClass(CLASS_NAME_ACTIVE)\n    if (element.getAttribute('role') === 'tab') {\n      element.setAttribute('aria-selected', true)\n    }\n\n    Util.reflow(element)\n\n    if (element.classList.contains(CLASS_NAME_FADE)) {\n      element.classList.add(CLASS_NAME_SHOW)\n    }\n\n    let parent = element.parentNode\n    if (parent && parent.nodeName === 'LI') {\n      parent = parent.parentNode\n    }\n\n    if (parent && $(parent).hasClass(CLASS_NAME_DROPDOWN_MENU)) {\n      const dropdownElement = $(element).closest(SELECTOR_DROPDOWN)[0]\n\n      if (dropdownElement) {\n        const dropdownToggleList = [].slice.call(dropdownElement.querySelectorAll(SELECTOR_DROPDOWN_TOGGLE))\n\n        $(dropdownToggleList).addClass(CLASS_NAME_ACTIVE)\n      }\n\n      element.setAttribute('aria-expanded', true)\n    }\n\n    if (callback) {\n      callback()\n    }\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      const $this = $(this)\n      let data = $this.data(DATA_KEY)\n\n      if (!data) {\n        data = new Tab(this)\n        $this.data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config]()\n      }\n    })\n  }\n}\n\n/**\n * Data API implementation\n */\n\n$(document)\n  .on(EVENT_CLICK_DATA_API, SELECTOR_DATA_TOGGLE, function (event) {\n    event.preventDefault()\n    Tab._jQueryInterface.call($(this), 'show')\n  })\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Tab._jQueryInterface\n$.fn[NAME].Constructor = Tab\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Tab._jQueryInterface\n}\n\nexport default Tab\n","/**\n * --------------------------------------------------------------------------\n * Bootstrap (v4.6.2): toast.js\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n * --------------------------------------------------------------------------\n */\n\nimport $ from 'jquery'\nimport Util from './util'\n\n/**\n * Constants\n */\n\nconst NAME = 'toast'\nconst VERSION = '4.6.2'\nconst DATA_KEY = 'bs.toast'\nconst EVENT_KEY = `.${DATA_KEY}`\nconst JQUERY_NO_CONFLICT = $.fn[NAME]\n\nconst CLASS_NAME_FADE = 'fade'\nconst CLASS_NAME_HIDE = 'hide'\nconst CLASS_NAME_SHOW = 'show'\nconst CLASS_NAME_SHOWING = 'showing'\n\nconst EVENT_CLICK_DISMISS = `click.dismiss${EVENT_KEY}`\nconst EVENT_HIDE = `hide${EVENT_KEY}`\nconst EVENT_HIDDEN = `hidden${EVENT_KEY}`\nconst EVENT_SHOW = `show${EVENT_KEY}`\nconst EVENT_SHOWN = `shown${EVENT_KEY}`\n\nconst SELECTOR_DATA_DISMISS = '[data-dismiss=\"toast\"]'\n\nconst Default = {\n  animation: true,\n  autohide: true,\n  delay: 500\n}\n\nconst DefaultType = {\n  animation: 'boolean',\n  autohide: 'boolean',\n  delay: 'number'\n}\n\n/**\n * Class definition\n */\n\nclass Toast {\n  constructor(element, config) {\n    this._element = element\n    this._config = this._getConfig(config)\n    this._timeout = null\n    this._setListeners()\n  }\n\n  // Getters\n  static get VERSION() {\n    return VERSION\n  }\n\n  static get DefaultType() {\n    return DefaultType\n  }\n\n  static get Default() {\n    return Default\n  }\n\n  // Public\n  show() {\n    const showEvent = $.Event(EVENT_SHOW)\n\n    $(this._element).trigger(showEvent)\n    if (showEvent.isDefaultPrevented()) {\n      return\n    }\n\n    this._clearTimeout()\n\n    if (this._config.animation) {\n      this._element.classList.add(CLASS_NAME_FADE)\n    }\n\n    const complete = () => {\n      this._element.classList.remove(CLASS_NAME_SHOWING)\n      this._element.classList.add(CLASS_NAME_SHOW)\n\n      $(this._element).trigger(EVENT_SHOWN)\n\n      if (this._config.autohide) {\n        this._timeout = setTimeout(() => {\n          this.hide()\n        }, this._config.delay)\n      }\n    }\n\n    this._element.classList.remove(CLASS_NAME_HIDE)\n    Util.reflow(this._element)\n    this._element.classList.add(CLASS_NAME_SHOWING)\n    if (this._config.animation) {\n      const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n      $(this._element)\n        .one(Util.TRANSITION_END, complete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      complete()\n    }\n  }\n\n  hide() {\n    if (!this._element.classList.contains(CLASS_NAME_SHOW)) {\n      return\n    }\n\n    const hideEvent = $.Event(EVENT_HIDE)\n\n    $(this._element).trigger(hideEvent)\n    if (hideEvent.isDefaultPrevented()) {\n      return\n    }\n\n    this._close()\n  }\n\n  dispose() {\n    this._clearTimeout()\n\n    if (this._element.classList.contains(CLASS_NAME_SHOW)) {\n      this._element.classList.remove(CLASS_NAME_SHOW)\n    }\n\n    $(this._element).off(EVENT_CLICK_DISMISS)\n\n    $.removeData(this._element, DATA_KEY)\n    this._element = null\n    this._config = null\n  }\n\n  // Private\n  _getConfig(config) {\n    config = {\n      ...Default,\n      ...$(this._element).data(),\n      ...(typeof config === 'object' && config ? config : {})\n    }\n\n    Util.typeCheckConfig(\n      NAME,\n      config,\n      this.constructor.DefaultType\n    )\n\n    return config\n  }\n\n  _setListeners() {\n    $(this._element).on(EVENT_CLICK_DISMISS, SELECTOR_DATA_DISMISS, () => this.hide())\n  }\n\n  _close() {\n    const complete = () => {\n      this._element.classList.add(CLASS_NAME_HIDE)\n      $(this._element).trigger(EVENT_HIDDEN)\n    }\n\n    this._element.classList.remove(CLASS_NAME_SHOW)\n    if (this._config.animation) {\n      const transitionDuration = Util.getTransitionDurationFromElement(this._element)\n\n      $(this._element)\n        .one(Util.TRANSITION_END, complete)\n        .emulateTransitionEnd(transitionDuration)\n    } else {\n      complete()\n    }\n  }\n\n  _clearTimeout() {\n    clearTimeout(this._timeout)\n    this._timeout = null\n  }\n\n  // Static\n  static _jQueryInterface(config) {\n    return this.each(function () {\n      const $element = $(this)\n      let data = $element.data(DATA_KEY)\n      const _config = typeof config === 'object' && config\n\n      if (!data) {\n        data = new Toast(this, _config)\n        $element.data(DATA_KEY, data)\n      }\n\n      if (typeof config === 'string') {\n        if (typeof data[config] === 'undefined') {\n          throw new TypeError(`No method named \"${config}\"`)\n        }\n\n        data[config](this)\n      }\n    })\n  }\n}\n\n/**\n * jQuery\n */\n\n$.fn[NAME] = Toast._jQueryInterface\n$.fn[NAME].Constructor = Toast\n$.fn[NAME].noConflict = () => {\n  $.fn[NAME] = JQUERY_NO_CONFLICT\n  return Toast._jQueryInterface\n}\n\nexport default Toast\n","/*!\n * AdminLTE v3.0.0-alpha (https://adminlte.io)\n * Copyright 2014-2018 Abdullah Almsaeed <abdullah@almsaeedstudio.com>\n * Licensed under MIT (https://github.com/almasaeed2010/AdminLTE/blob/master/LICENSE)\n */\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n  typeof define === 'function' && define.amd ? define(['exports'], factory) :\n  (factory((global.adminlte = {})));\n}(this, (function (exports) { 'use strict';\n\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) {\n  return typeof obj;\n} : function (obj) {\n  return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n};\n\n\n\n\n\n\n\n\n\n\n\nvar classCallCheck = function (instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\n};\n\n/**\n * --------------------------------------------\n * AdminLTE ControlSidebar.js\n * License MIT\n * --------------------------------------------\n */\n\nvar ControlSidebar = function ($) {\n  /**\n   * Constants\n   * ====================================================\n   */\n\n  var NAME = 'ControlSidebar';\n  var DATA_KEY = 'lte.control.sidebar';\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n  var Selector = {\n    CONTROL_SIDEBAR: '.control-sidebar',\n    DATA_TOGGLE: '[data-widget=\"control-sidebar\"]',\n    MAIN_HEADER: '.main-header',\n    OVERLAY: '#control-sidebar-overlay',\n    WRAPPER: '.wrapper'\n  };\n\n  var ClassName = {\n    CONTROL_SIDEBAR_OPEN: 'control-sidebar-open',\n    CONTROL_SIDEBAR_SLIDE: 'control-sidebar-slide-open'\n  };\n\n  var Default = {\n    slide: true\n\n    /**\n     * Class Definition\n     * ====================================================\n     */\n\n  };\n  var ControlSidebar = function () {\n    function ControlSidebar(element, config) {\n      classCallCheck(this, ControlSidebar);\n\n      this._element = element;\n      this._config = this._getConfig(config);\n\n      if (!$(Selector.OVERLAY).length) {\n        this._addOverlay();\n      }\n    }\n\n    // Public\n\n    ControlSidebar.prototype.show = function show() {\n      // Show the control sidebar\n      if (this._config.slide) {\n        $('body').addClass(ClassName.CONTROL_SIDEBAR_SLIDE);\n      } else {\n        $('body').addClass(ClassName.CONTROL_SIDEBAR_OPEN);\n      }\n    };\n\n    ControlSidebar.prototype.collapse = function collapse() {\n      // Collapse the control sidebar\n      if (this._config.slide) {\n        $('body').removeClass(ClassName.CONTROL_SIDEBAR_SLIDE);\n      } else {\n        $('body').removeClass(ClassName.CONTROL_SIDEBAR_OPEN);\n      }\n    };\n\n    ControlSidebar.prototype.toggle = function toggle() {\n      this._setMargin();\n\n      var shouldOpen = !$('body').hasClass(ClassName.CONTROL_SIDEBAR_OPEN) && !$('body').hasClass(ClassName.CONTROL_SIDEBAR_SLIDE);\n      if (shouldOpen) {\n        // Open the control sidebar\n        this.show();\n      } else {\n        // Close the control sidebar\n        this.collapse();\n      }\n    };\n\n    // Private\n\n    ControlSidebar.prototype._getConfig = function _getConfig(config) {\n      return $.extend({}, Default, config);\n    };\n\n    ControlSidebar.prototype._setMargin = function _setMargin() {\n      $(Selector.CONTROL_SIDEBAR).css({\n        top: $(Selector.MAIN_HEADER).outerHeight()\n      });\n    };\n\n    ControlSidebar.prototype._addOverlay = function _addOverlay() {\n      var _this = this;\n\n      var overlay = $('<div />', {\n        id: 'control-sidebar-overlay'\n      });\n\n      overlay.on('click', function () {\n        _this.collapse();\n      });\n\n      $(Selector.WRAPPER).append(overlay);\n    };\n\n    // Static\n\n    ControlSidebar._jQueryInterface = function _jQueryInterface(operation) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY);\n\n        if (!data) {\n          data = new ControlSidebar(this, $(this).data());\n          $(this).data(DATA_KEY, data);\n        }\n\n        if (data[operation] === 'undefined') {\n          throw new Error(operation + ' is not a function');\n        }\n\n        data[operation]();\n      });\n    };\n\n    return ControlSidebar;\n  }();\n\n  /**\n   *\n   * Data Api implementation\n   * ====================================================\n   */\n\n\n  $(document).on('click', Selector.DATA_TOGGLE, function (event) {\n    event.preventDefault();\n\n    ControlSidebar._jQueryInterface.call($(this), 'toggle');\n  });\n\n  /**\n   * jQuery API\n   * ====================================================\n   */\n\n  $.fn[NAME] = ControlSidebar._jQueryInterface;\n  $.fn[NAME].Constructor = ControlSidebar;\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return ControlSidebar._jQueryInterface;\n  };\n\n  return ControlSidebar;\n}(jQuery);\n\n/**\n * --------------------------------------------\n * AdminLTE Layout.js\n * License MIT\n * --------------------------------------------\n */\n\nvar Layout = function ($) {\n  /**\n   * Constants\n   * ====================================================\n   */\n\n  var NAME = 'Layout';\n  var DATA_KEY = 'lte.layout';\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n\n  var Selector = {\n    SIDEBAR: '.main-sidebar',\n    HEADER: '.main-header',\n    CONTENT: '.content-wrapper',\n    CONTENT_HEADER: '.content-header',\n    WRAPPER: '.wrapper',\n    CONTROL_SIDEBAR: '.control-sidebar',\n    LAYOUT_FIXED: '.layout-fixed',\n    FOOTER: '.main-footer'\n  };\n\n  var ClassName = {\n    HOLD: 'hold-transition',\n    SIDEBAR: 'main-sidebar',\n    LAYOUT_FIXED: 'layout-fixed'\n\n    /**\n     * Class Definition\n     * ====================================================\n     */\n\n  };\n  var Layout = function () {\n    function Layout(element) {\n      classCallCheck(this, Layout);\n\n      this._element = element;\n\n      this._init();\n    }\n\n    // Public\n\n    Layout.prototype.fixLayoutHeight = function fixLayoutHeight() {\n      var heights = {\n        window: $(window).height(),\n        header: $(Selector.HEADER).outerHeight(),\n        footer: $(Selector.FOOTER).outerHeight(),\n        sidebar: $(Selector.SIDEBAR).height()\n      };\n      var max = this._max(heights);\n\n      $(Selector.CONTENT).css('min-height', max - heights.header);\n      $(Selector.SIDEBAR).css('min-height', max - heights.header);\n    };\n\n    // Private\n\n    Layout.prototype._init = function _init() {\n      var _this = this;\n\n      // Enable transitions\n      $('body').removeClass(ClassName.HOLD);\n\n      // Activate layout height watcher\n      this.fixLayoutHeight();\n      $(Selector.SIDEBAR).on('collapsed.lte.treeview expanded.lte.treeview collapsed.lte.pushmenu expanded.lte.pushmenu', function () {\n        _this.fixLayoutHeight();\n      });\n\n      $(window).resize(function () {\n        _this.fixLayoutHeight();\n      });\n\n      $('body, html').css('height', 'auto');\n    };\n\n    Layout.prototype._max = function _max(numbers) {\n      // Calculate the maximum number in a list\n      var max = 0;\n\n      Object.keys(numbers).forEach(function (key) {\n        if (numbers[key] > max) {\n          max = numbers[key];\n        }\n      });\n\n      return max;\n    };\n\n    // Static\n\n    Layout._jQueryInterface = function _jQueryInterface(operation) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY);\n\n        if (!data) {\n          data = new Layout(this);\n          $(this).data(DATA_KEY, data);\n        }\n\n        if (operation) {\n          data[operation]();\n        }\n      });\n    };\n\n    return Layout;\n  }();\n\n  /**\n   * Data API\n   * ====================================================\n   */\n\n\n  $(window).on('load', function () {\n    Layout._jQueryInterface.call($('body'));\n  });\n\n  /**\n   * jQuery API\n   * ====================================================\n   */\n\n  $.fn[NAME] = Layout._jQueryInterface;\n  $.fn[NAME].Constructor = Layout;\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return Layout._jQueryInterface;\n  };\n\n  return Layout;\n}(jQuery);\n\n/**\n * --------------------------------------------\n * AdminLTE PushMenu.js\n * License MIT\n * --------------------------------------------\n */\n\nvar PushMenu = function ($) {\n  /**\n   * Constants\n   * ====================================================\n   */\n\n  var NAME = 'PushMenu';\n  var DATA_KEY = 'lte.pushmenu';\n  var EVENT_KEY = '.' + DATA_KEY;\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n\n  var Event = {\n    COLLAPSED: 'collapsed' + EVENT_KEY,\n    SHOWN: 'shown' + EVENT_KEY\n  };\n\n  var Default = {\n    screenCollapseSize: 768\n  };\n\n  var Selector = {\n    TOGGLE_BUTTON: '[data-widget=\"pushmenu\"]',\n    SIDEBAR_MINI: '.sidebar-mini',\n    SIDEBAR_COLLAPSED: '.sidebar-collapse',\n    BODY: 'body',\n    OVERLAY: '#sidebar-overlay',\n    WRAPPER: '.wrapper'\n  };\n\n  var ClassName = {\n    SIDEBAR_OPEN: 'sidebar-open',\n    COLLAPSED: 'sidebar-collapse',\n    OPEN: 'sidebar-open',\n    SIDEBAR_MINI: 'sidebar-mini'\n\n    /**\n     * Class Definition\n     * ====================================================\n     */\n\n  };\n  var PushMenu = function () {\n    function PushMenu(element, options) {\n      classCallCheck(this, PushMenu);\n\n      this._element = element;\n      this._options = $.extend({}, Default, options);\n\n      if (!$(Selector.OVERLAY).length) {\n        this._addOverlay();\n      }\n    }\n\n    // Public\n\n    PushMenu.prototype.show = function show() {\n      $(Selector.BODY).addClass(ClassName.OPEN).removeClass(ClassName.COLLAPSED);\n\n      var shownEvent = $.Event(Event.SHOWN);\n      $(this._element).trigger(shownEvent);\n    };\n\n    PushMenu.prototype.collapse = function collapse() {\n      $(Selector.BODY).removeClass(ClassName.OPEN).addClass(ClassName.COLLAPSED);\n\n      var collapsedEvent = $.Event(Event.COLLAPSED);\n      $(this._element).trigger(collapsedEvent);\n    };\n\n    PushMenu.prototype.toggle = function toggle() {\n      var isShown = void 0;\n      if ($(window).width() >= this._options.screenCollapseSize) {\n        isShown = !$(Selector.BODY).hasClass(ClassName.COLLAPSED);\n      } else {\n        isShown = $(Selector.BODY).hasClass(ClassName.OPEN);\n      }\n\n      if (isShown) {\n        this.collapse();\n      } else {\n        this.show();\n      }\n    };\n\n    // Private\n\n\n    PushMenu.prototype._addOverlay = function _addOverlay() {\n      var _this = this;\n\n      var overlay = $('<div />', {\n        id: 'sidebar-overlay'\n      });\n\n      overlay.on('click', function () {\n        _this.collapse();\n      });\n\n      $(Selector.WRAPPER).append(overlay);\n    };\n\n    // Static\n\n    PushMenu._jQueryInterface = function _jQueryInterface(operation) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY);\n\n        if (!data) {\n          data = new PushMenu(this);\n          $(this).data(DATA_KEY, data);\n        }\n\n        if (operation) {\n          data[operation]();\n        }\n      });\n    };\n\n    return PushMenu;\n  }();\n\n  /**\n   * Data API\n   * ====================================================\n   */\n\n  $(document).on('click', Selector.TOGGLE_BUTTON, function (event) {\n    event.preventDefault();\n\n    var button = event.currentTarget;\n\n    if ($(button).data('widget') !== 'pushmenu') {\n      button = $(button).closest(Selector.TOGGLE_BUTTON);\n    }\n\n    PushMenu._jQueryInterface.call($(button), 'toggle');\n  });\n\n  /**\n   * jQuery API\n   * ====================================================\n   */\n\n  $.fn[NAME] = PushMenu._jQueryInterface;\n  $.fn[NAME].Constructor = PushMenu;\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return PushMenu._jQueryInterface;\n  };\n\n  return PushMenu;\n}(jQuery);\n\n/**\n * --------------------------------------------\n * AdminLTE Treeview.js\n * License MIT\n * --------------------------------------------\n */\n\nvar Treeview = function ($) {\n  /**\n   * Constants\n   * ====================================================\n   */\n\n  var NAME = 'Treeview';\n  var DATA_KEY = 'lte.treeview';\n  var EVENT_KEY = '.' + DATA_KEY;\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n\n  var Event = {\n    SELECTED: 'selected' + EVENT_KEY,\n    EXPANDED: 'expanded' + EVENT_KEY,\n    COLLAPSED: 'collapsed' + EVENT_KEY,\n    LOAD_DATA_API: 'load' + EVENT_KEY\n  };\n\n  var Selector = {\n    LI: '.nav-item',\n    LINK: '.nav-link',\n    TREEVIEW_MENU: '.nav-treeview',\n    OPEN: '.menu-open',\n    DATA_WIDGET: '[data-widget=\"treeview\"]'\n  };\n\n  var ClassName = {\n    LI: 'nav-item',\n    LINK: 'nav-link',\n    TREEVIEW_MENU: 'nav-treeview',\n    OPEN: 'menu-open'\n  };\n\n  var Default = {\n    trigger: Selector.DATA_WIDGET + ' ' + Selector.LINK,\n    animationSpeed: 300,\n    accordion: true\n\n    /**\n     * Class Definition\n     * ====================================================\n     */\n  };\n  var Treeview = function () {\n    function Treeview(element, config) {\n      classCallCheck(this, Treeview);\n\n      this._config = config;\n      this._element = element;\n    }\n\n    // Public\n\n    Treeview.prototype.init = function init() {\n      this._setupListeners();\n    };\n\n    Treeview.prototype.expand = function expand(treeviewMenu, parentLi) {\n      var _this = this;\n\n      var expandedEvent = $.Event(Event.EXPANDED);\n\n      if (this._config.accordion) {\n        var openMenuLi = parentLi.siblings(Selector.OPEN).first();\n        var openTreeview = openMenuLi.find(Selector.TREEVIEW_MENU).first();\n        this.collapse(openTreeview, openMenuLi);\n      }\n\n      treeviewMenu.slideDown(this._config.animationSpeed, function () {\n        parentLi.addClass(ClassName.OPEN);\n        $(_this._element).trigger(expandedEvent);\n      });\n    };\n\n    Treeview.prototype.collapse = function collapse(treeviewMenu, parentLi) {\n      var _this2 = this;\n\n      var collapsedEvent = $.Event(Event.COLLAPSED);\n\n      treeviewMenu.slideUp(this._config.animationSpeed, function () {\n        parentLi.removeClass(ClassName.OPEN);\n        $(_this2._element).trigger(collapsedEvent);\n        treeviewMenu.find(Selector.OPEN + ' > ' + Selector.TREEVIEW_MENU).slideUp();\n        treeviewMenu.find(Selector.OPEN).removeClass(ClassName.OPEN);\n      });\n    };\n\n    Treeview.prototype.toggle = function toggle(event) {\n      var $relativeTarget = $(event.currentTarget);\n      var treeviewMenu = $relativeTarget.next();\n\n      if (!treeviewMenu.is(Selector.TREEVIEW_MENU)) {\n        return;\n      }\n\n      event.preventDefault();\n\n      var parentLi = $relativeTarget.parents(Selector.LI).first();\n      var isOpen = parentLi.hasClass(ClassName.OPEN);\n\n      if (isOpen) {\n        this.collapse($(treeviewMenu), parentLi);\n      } else {\n        this.expand($(treeviewMenu), parentLi);\n      }\n    };\n\n    // Private\n\n    Treeview.prototype._setupListeners = function _setupListeners() {\n      var _this3 = this;\n\n      $(document).on('click', this._config.trigger, function (event) {\n        _this3.toggle(event);\n      });\n    };\n\n    // Static\n\n    Treeview._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY);\n        var _config = $.extend({}, Default, $(this).data());\n\n        if (!data) {\n          data = new Treeview($(this), _config);\n          $(this).data(DATA_KEY, data);\n        }\n\n        if (config === 'init') {\n          data[config]();\n        }\n      });\n    };\n\n    return Treeview;\n  }();\n\n  /**\n   * Data API\n   * ====================================================\n   */\n\n  $(window).on(Event.LOAD_DATA_API, function () {\n    $(Selector.DATA_WIDGET).each(function () {\n      Treeview._jQueryInterface.call($(this), 'init');\n    });\n  });\n\n  /**\n   * jQuery API\n   * ====================================================\n   */\n\n  $.fn[NAME] = Treeview._jQueryInterface;\n  $.fn[NAME].Constructor = Treeview;\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return Treeview._jQueryInterface;\n  };\n\n  return Treeview;\n}(jQuery);\n\n/**\n * --------------------------------------------\n * AdminLTE Widget.js\n * License MIT\n * --------------------------------------------\n */\n\nvar Widget = function ($) {\n  /**\n   * Constants\n   * ====================================================\n   */\n\n  var NAME = 'Widget';\n  var DATA_KEY = 'lte.widget';\n  var EVENT_KEY = '.' + DATA_KEY;\n  var JQUERY_NO_CONFLICT = $.fn[NAME];\n\n  var Event = {\n    EXPANDED: 'expanded' + EVENT_KEY,\n    COLLAPSED: 'collapsed' + EVENT_KEY,\n    REMOVED: 'removed' + EVENT_KEY\n  };\n\n  var Selector = {\n    DATA_REMOVE: '[data-widget=\"remove\"]',\n    DATA_COLLAPSE: '[data-widget=\"collapse\"]',\n    CARD: '.card',\n    CARD_HEADER: '.card-header',\n    CARD_BODY: '.card-body',\n    CARD_FOOTER: '.card-footer',\n    COLLAPSED: '.collapsed-card'\n  };\n\n  var ClassName = {\n    COLLAPSED: 'collapsed-card'\n  };\n\n  var Default = {\n    animationSpeed: 'normal',\n    collapseTrigger: Selector.DATA_COLLAPSE,\n    removeTrigger: Selector.DATA_REMOVE\n  };\n\n  var Widget = function () {\n    function Widget(element, settings) {\n      classCallCheck(this, Widget);\n\n      this._element = element;\n      this._parent = element.parents(Selector.CARD).first();\n      this._settings = $.extend({}, Default, settings);\n    }\n\n    Widget.prototype.collapse = function collapse() {\n      var _this = this;\n\n      this._parent.children(Selector.CARD_BODY + ', ' + Selector.CARD_FOOTER).slideUp(this._settings.animationSpeed, function () {\n        _this._parent.addClass(ClassName.COLLAPSED);\n      });\n\n      var collapsed = $.Event(Event.COLLAPSED);\n\n      this._element.trigger(collapsed, this._parent);\n    };\n\n    Widget.prototype.expand = function expand() {\n      var _this2 = this;\n\n      this._parent.children(Selector.CARD_BODY + ', ' + Selector.CARD_FOOTER).slideDown(this._settings.animationSpeed, function () {\n        _this2._parent.removeClass(ClassName.COLLAPSED);\n      });\n\n      var expanded = $.Event(Event.EXPANDED);\n\n      this._element.trigger(expanded, this._parent);\n    };\n\n    Widget.prototype.remove = function remove() {\n      this._parent.slideUp();\n\n      var removed = $.Event(Event.REMOVED);\n\n      this._element.trigger(removed, this._parent);\n    };\n\n    Widget.prototype.toggle = function toggle() {\n      if (this._parent.hasClass(ClassName.COLLAPSED)) {\n        this.expand();\n        return;\n      }\n\n      this.collapse();\n    };\n\n    // Private\n\n    Widget.prototype._init = function _init(card) {\n      var _this3 = this;\n\n      this._parent = card;\n\n      $(this).find(this._settings.collapseTrigger).click(function () {\n        _this3.toggle();\n      });\n\n      $(this).find(this._settings.removeTrigger).click(function () {\n        _this3.remove();\n      });\n    };\n\n    // Static\n\n    Widget._jQueryInterface = function _jQueryInterface(config) {\n      return this.each(function () {\n        var data = $(this).data(DATA_KEY);\n\n        if (!data) {\n          data = new Widget($(this), data);\n          $(this).data(DATA_KEY, typeof config === 'string' ? data : config);\n        }\n\n        if (typeof config === 'string' && config.match(/remove|toggle/)) {\n          data[config]();\n        } else if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') {\n          data._init($(this));\n        }\n      });\n    };\n\n    return Widget;\n  }();\n\n  /**\n   * Data API\n   * ====================================================\n   */\n\n  $(document).on('click', Selector.DATA_COLLAPSE, function (event) {\n    if (event) {\n      event.preventDefault();\n    }\n\n    Widget._jQueryInterface.call($(this), 'toggle');\n  });\n\n  $(document).on('click', Selector.DATA_REMOVE, function (event) {\n    if (event) {\n      event.preventDefault();\n    }\n\n    Widget._jQueryInterface.call($(this), 'remove');\n  });\n\n  /**\n   * jQuery API\n   * ====================================================\n   */\n\n  $.fn[NAME] = Widget._jQueryInterface;\n  $.fn[NAME].Constructor = Widget;\n  $.fn[NAME].noConflict = function () {\n    $.fn[NAME] = JQUERY_NO_CONFLICT;\n    return Widget._jQueryInterface;\n  };\n\n  return Widget;\n}(jQuery);\n\nexports.ControlSidebar = ControlSidebar;\nexports.Layout = Layout;\nexports.PushMenu = PushMenu;\nexports.Treeview = Treeview;\nexports.Widget = Widget;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","/*!@preserve\r\n * Tempus Dominus Bootstrap4 v5.39.0 (https://tempusdominus.github.io/bootstrap-4/)\r\n * Copyright 2016-2020 Jonathan Peterson and contributors\r\n * Licensed under MIT (https://github.com/tempusdominus/bootstrap-3/blob/master/LICENSE)\r\n */\r\n\r\nif (typeof jQuery === 'undefined') {\r\n  throw new Error('Tempus Dominus Bootstrap4\\'s requires jQuery. jQuery must be included before Tempus Dominus Bootstrap4\\'s JavaScript.');\r\n}\r\n\r\n+function ($) {\r\n  var version = $.fn.jquery.split(' ')[0].split('.');\r\n  if ((version[0] < 2 && version[1] < 9) || (version[0] === 1 && version[1] === 9 && version[2] < 1) || (version[0] >= 4)) {\r\n    throw new Error('Tempus Dominus Bootstrap4\\'s requires at least jQuery v3.0.0 but less than v4.0.0');\r\n  }\r\n}(jQuery);\r\n\r\n\r\nif (typeof moment === 'undefined') {\r\n  throw new Error('Tempus Dominus Bootstrap4\\'s requires moment.js. Moment.js must be included before Tempus Dominus Bootstrap4\\'s JavaScript.');\r\n}\r\n\r\nvar version = moment.version.split('.')\r\nif ((version[0] <= 2 && version[1] < 17) || (version[0] >= 3)) {\r\n  throw new Error('Tempus Dominus Bootstrap4\\'s requires at least moment.js v2.17.0 but less than v3.0.0');\r\n}\r\n\r\n+function () {\r\n\r\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }\r\n\r\nfunction _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); } }\r\n\r\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\r\n\r\n// ReSharper disable once InconsistentNaming\r\nvar DateTimePicker = function ($, moment) {\r\n  function escapeRegExp(text) {\r\n    return text.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g, '\\\\$&');\r\n  }\r\n\r\n  function isValidDate(date) {\r\n    return Object.prototype.toString.call(date) === '[object Date]' && !isNaN(date.getTime());\r\n  }\r\n\r\n  function isValidDateTimeStr(str) {\r\n    return isValidDate(new Date(str));\r\n  } // ReSharper disable InconsistentNaming\r\n\r\n\r\n  var trim = function trim(str) {\r\n    return str.replace(/(^\\s+)|(\\s+$)/g, '');\r\n  },\r\n      NAME = 'datetimepicker',\r\n      DATA_KEY = \"\" + NAME,\r\n      EVENT_KEY = \".\" + DATA_KEY,\r\n      DATA_API_KEY = '.data-api',\r\n      Selector = {\r\n    DATA_TOGGLE: \"[data-toggle=\\\"\" + DATA_KEY + \"\\\"]\"\r\n  },\r\n      ClassName = {\r\n    INPUT: NAME + \"-input\"\r\n  },\r\n      Event = {\r\n    CHANGE: \"change\" + EVENT_KEY,\r\n    BLUR: \"blur\" + EVENT_KEY,\r\n    KEYUP: \"keyup\" + EVENT_KEY,\r\n    KEYDOWN: \"keydown\" + EVENT_KEY,\r\n    FOCUS: \"focus\" + EVENT_KEY,\r\n    CLICK_DATA_API: \"click\" + EVENT_KEY + DATA_API_KEY,\r\n    //emitted\r\n    UPDATE: \"update\" + EVENT_KEY,\r\n    ERROR: \"error\" + EVENT_KEY,\r\n    HIDE: \"hide\" + EVENT_KEY,\r\n    SHOW: \"show\" + EVENT_KEY\r\n  },\r\n      DatePickerModes = [{\r\n    CLASS_NAME: 'days',\r\n    NAV_FUNCTION: 'M',\r\n    NAV_STEP: 1\r\n  }, {\r\n    CLASS_NAME: 'months',\r\n    NAV_FUNCTION: 'y',\r\n    NAV_STEP: 1\r\n  }, {\r\n    CLASS_NAME: 'years',\r\n    NAV_FUNCTION: 'y',\r\n    NAV_STEP: 10\r\n  }, {\r\n    CLASS_NAME: 'decades',\r\n    NAV_FUNCTION: 'y',\r\n    NAV_STEP: 100\r\n  }],\r\n      KeyMap = {\r\n    'up': 38,\r\n    38: 'up',\r\n    'down': 40,\r\n    40: 'down',\r\n    'left': 37,\r\n    37: 'left',\r\n    'right': 39,\r\n    39: 'right',\r\n    'tab': 9,\r\n    9: 'tab',\r\n    'escape': 27,\r\n    27: 'escape',\r\n    'enter': 13,\r\n    13: 'enter',\r\n    'pageUp': 33,\r\n    33: 'pageUp',\r\n    'pageDown': 34,\r\n    34: 'pageDown',\r\n    'shift': 16,\r\n    16: 'shift',\r\n    'control': 17,\r\n    17: 'control',\r\n    'space': 32,\r\n    32: 'space',\r\n    't': 84,\r\n    84: 't',\r\n    'delete': 46,\r\n    46: 'delete'\r\n  },\r\n      ViewModes = ['times', 'days', 'months', 'years', 'decades'],\r\n      keyState = {},\r\n      keyPressHandled = {},\r\n      optionsSortMap = {\r\n    timeZone: -39,\r\n    format: -38,\r\n    dayViewHeaderFormat: -37,\r\n    extraFormats: -36,\r\n    stepping: -35,\r\n    minDate: -34,\r\n    maxDate: -33,\r\n    useCurrent: -32,\r\n    collapse: -31,\r\n    locale: -30,\r\n    defaultDate: -29,\r\n    disabledDates: -28,\r\n    enabledDates: -27,\r\n    icons: -26,\r\n    tooltips: -25,\r\n    useStrict: -24,\r\n    sideBySide: -23,\r\n    daysOfWeekDisabled: -22,\r\n    calendarWeeks: -21,\r\n    viewMode: -20,\r\n    toolbarPlacement: -19,\r\n    buttons: -18,\r\n    widgetPositioning: -17,\r\n    widgetParent: -16,\r\n    ignoreReadonly: -15,\r\n    keepOpen: -14,\r\n    focusOnShow: -13,\r\n    inline: -12,\r\n    keepInvalid: -11,\r\n    keyBinds: -10,\r\n    debug: -9,\r\n    allowInputToggle: -8,\r\n    disabledTimeIntervals: -7,\r\n    disabledHours: -6,\r\n    enabledHours: -5,\r\n    viewDate: -4,\r\n    allowMultidate: -3,\r\n    multidateSeparator: -2,\r\n    updateOnlyThroughDateOption: -1,\r\n    date: 1\r\n  },\r\n      defaultFeatherIcons = {\r\n    time: 'clock',\r\n    date: 'calendar',\r\n    up: 'arrow-up',\r\n    down: 'arrow-down',\r\n    previous: 'arrow-left',\r\n    next: 'arrow-right',\r\n    today: 'arrow-down-circle',\r\n    clear: 'trash-2',\r\n    close: 'x'\r\n  };\r\n\r\n  function optionsSortFn(optionKeyA, optionKeyB) {\r\n    if (optionsSortMap[optionKeyA] && optionsSortMap[optionKeyB]) {\r\n      if (optionsSortMap[optionKeyA] < 0 && optionsSortMap[optionKeyB] < 0) {\r\n        return Math.abs(optionsSortMap[optionKeyB]) - Math.abs(optionsSortMap[optionKeyA]);\r\n      } else if (optionsSortMap[optionKeyA] < 0) {\r\n        return -1;\r\n      } else if (optionsSortMap[optionKeyB] < 0) {\r\n        return 1;\r\n      }\r\n\r\n      return optionsSortMap[optionKeyA] - optionsSortMap[optionKeyB];\r\n    } else if (optionsSortMap[optionKeyA]) {\r\n      return optionsSortMap[optionKeyA];\r\n    } else if (optionsSortMap[optionKeyB]) {\r\n      return optionsSortMap[optionKeyB];\r\n    }\r\n\r\n    return 0;\r\n  }\r\n\r\n  var Default = {\r\n    timeZone: '',\r\n    format: false,\r\n    dayViewHeaderFormat: 'MMMM YYYY',\r\n    extraFormats: false,\r\n    stepping: 1,\r\n    minDate: false,\r\n    maxDate: false,\r\n    useCurrent: true,\r\n    collapse: true,\r\n    locale: moment.locale(),\r\n    defaultDate: false,\r\n    disabledDates: false,\r\n    enabledDates: false,\r\n    icons: {\r\n      type: 'class',\r\n      time: 'fa fa-clock-o',\r\n      date: 'fa fa-calendar',\r\n      up: 'fa fa-arrow-up',\r\n      down: 'fa fa-arrow-down',\r\n      previous: 'fa fa-chevron-left',\r\n      next: 'fa fa-chevron-right',\r\n      today: 'fa fa-calendar-check-o',\r\n      clear: 'fa fa-trash',\r\n      close: 'fa fa-times'\r\n    },\r\n    tooltips: {\r\n      today: 'Go to today',\r\n      clear: 'Clear selection',\r\n      close: 'Close the picker',\r\n      selectMonth: 'Select Month',\r\n      prevMonth: 'Previous Month',\r\n      nextMonth: 'Next Month',\r\n      selectYear: 'Select Year',\r\n      prevYear: 'Previous Year',\r\n      nextYear: 'Next Year',\r\n      selectDecade: 'Select Decade',\r\n      prevDecade: 'Previous Decade',\r\n      nextDecade: 'Next Decade',\r\n      prevCentury: 'Previous Century',\r\n      nextCentury: 'Next Century',\r\n      pickHour: 'Pick Hour',\r\n      incrementHour: 'Increment Hour',\r\n      decrementHour: 'Decrement Hour',\r\n      pickMinute: 'Pick Minute',\r\n      incrementMinute: 'Increment Minute',\r\n      decrementMinute: 'Decrement Minute',\r\n      pickSecond: 'Pick Second',\r\n      incrementSecond: 'Increment Second',\r\n      decrementSecond: 'Decrement Second',\r\n      togglePeriod: 'Toggle Period',\r\n      selectTime: 'Select Time',\r\n      selectDate: 'Select Date'\r\n    },\r\n    useStrict: false,\r\n    sideBySide: false,\r\n    daysOfWeekDisabled: false,\r\n    calendarWeeks: false,\r\n    viewMode: 'days',\r\n    toolbarPlacement: 'default',\r\n    buttons: {\r\n      showToday: false,\r\n      showClear: false,\r\n      showClose: false\r\n    },\r\n    widgetPositioning: {\r\n      horizontal: 'auto',\r\n      vertical: 'auto'\r\n    },\r\n    widgetParent: null,\r\n    readonly: false,\r\n    ignoreReadonly: false,\r\n    keepOpen: false,\r\n    focusOnShow: true,\r\n    inline: false,\r\n    keepInvalid: false,\r\n    keyBinds: {\r\n      up: function up() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().subtract(7, 'd'));\r\n        } else {\r\n          this.date(d.clone().add(this.stepping(), 'm'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      down: function down() {\r\n        if (!this.widget) {\r\n          this.show();\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().add(7, 'd'));\r\n        } else {\r\n          this.date(d.clone().subtract(this.stepping(), 'm'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      'control up': function controlUp() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().subtract(1, 'y'));\r\n        } else {\r\n          this.date(d.clone().add(1, 'h'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      'control down': function controlDown() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().add(1, 'y'));\r\n        } else {\r\n          this.date(d.clone().subtract(1, 'h'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      left: function left() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().subtract(1, 'd'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      right: function right() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().add(1, 'd'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      pageUp: function pageUp() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().subtract(1, 'M'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      pageDown: function pageDown() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        var d = this._dates[0] || this.getMoment();\r\n\r\n        if (this.widget.find('.datepicker').is(':visible')) {\r\n          this.date(d.clone().add(1, 'M'));\r\n        }\r\n\r\n        return true;\r\n      },\r\n      enter: function enter() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        this.hide();\r\n        return true;\r\n      },\r\n      escape: function escape() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        this.hide();\r\n        return true;\r\n      },\r\n      'control space': function controlSpace() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        if (this.widget.find('.timepicker').is(':visible')) {\r\n          this.widget.find('.btn[data-action=\"togglePeriod\"]').click();\r\n        }\r\n\r\n        return true;\r\n      },\r\n      t: function t() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        this.date(this.getMoment());\r\n        return true;\r\n      },\r\n      'delete': function _delete() {\r\n        if (!this.widget) {\r\n          return false;\r\n        }\r\n\r\n        this.clear();\r\n        return true;\r\n      }\r\n    },\r\n    debug: false,\r\n    allowInputToggle: false,\r\n    disabledTimeIntervals: false,\r\n    disabledHours: false,\r\n    enabledHours: false,\r\n    viewDate: false,\r\n    allowMultidate: false,\r\n    multidateSeparator: ', ',\r\n    updateOnlyThroughDateOption: false,\r\n    promptTimeOnDateChange: false,\r\n    promptTimeOnDateChangeTransitionDelay: 200\r\n  }; // ReSharper restore InconsistentNaming\r\n  // ReSharper disable once DeclarationHides\r\n  // ReSharper disable once InconsistentNaming\r\n\r\n  var DateTimePicker = /*#__PURE__*/function () {\r\n    /** @namespace eData.dateOptions */\r\n\r\n    /** @namespace moment.tz */\r\n    function DateTimePicker(element, options) {\r\n      this._options = this._getOptions(options);\r\n      this._element = element;\r\n      this._dates = [];\r\n      this._datesFormatted = [];\r\n      this._viewDate = null;\r\n      this.unset = true;\r\n      this.component = false;\r\n      this.widget = false;\r\n      this.use24Hours = null;\r\n      this.actualFormat = null;\r\n      this.parseFormats = null;\r\n      this.currentViewMode = null;\r\n      this.MinViewModeNumber = 0;\r\n      this.isInitFormatting = false;\r\n      this.isInit = false;\r\n      this.isDateUpdateThroughDateOptionFromClientCode = false;\r\n      this.hasInitDate = false;\r\n      this.initDate = void 0;\r\n      this._notifyChangeEventContext = void 0;\r\n      this._currentPromptTimeTimeout = null;\r\n\r\n      this._int();\r\n    }\r\n    /**\r\n     * @return {string}\r\n     */\r\n\r\n\r\n    var _proto = DateTimePicker.prototype;\r\n\r\n    //private\r\n    _proto._int = function _int() {\r\n      this.isInit = true;\r\n\r\n      var targetInput = this._element.data('target-input');\r\n\r\n      if (this._element.is('input')) {\r\n        this.input = this._element;\r\n      } else if (targetInput !== undefined) {\r\n        if (targetInput === 'nearest') {\r\n          this.input = this._element.find('input');\r\n        } else {\r\n          this.input = $(targetInput);\r\n        }\r\n      }\r\n\r\n      this._dates = [];\r\n      this._dates[0] = this.getMoment();\r\n      this._viewDate = this.getMoment().clone();\r\n      $.extend(true, this._options, this._dataToOptions());\r\n      this.hasInitDate = false;\r\n      this.initDate = void 0;\r\n      this.options(this._options);\r\n      this.isInitFormatting = true;\r\n\r\n      this._initFormatting();\r\n\r\n      this.isInitFormatting = false;\r\n\r\n      if (this.input !== undefined && this.input.is('input') && this.input.val().trim().length !== 0) {\r\n        this._setValue(this._parseInputDate(this.input.val().trim()), 0);\r\n      } else if (this._options.defaultDate && this.input !== undefined && this.input.attr('placeholder') === undefined) {\r\n        this._setValue(this._options.defaultDate, 0);\r\n      }\r\n\r\n      if (this.hasInitDate) {\r\n        this.date(this.initDate);\r\n      }\r\n\r\n      if (this._options.inline) {\r\n        this.show();\r\n      }\r\n\r\n      this.isInit = false;\r\n    };\r\n\r\n    _proto._update = function _update() {\r\n      if (!this.widget) {\r\n        return;\r\n      }\r\n\r\n      this._fillDate();\r\n\r\n      this._fillTime();\r\n    };\r\n\r\n    _proto._setValue = function _setValue(targetMoment, index) {\r\n      var noIndex = typeof index === 'undefined',\r\n          isClear = !targetMoment && noIndex,\r\n          isDateUpdateThroughDateOptionFromClientCode = this.isDateUpdateThroughDateOptionFromClientCode,\r\n          isNotAllowedProgrammaticUpdate = !this.isInit && this._options.updateOnlyThroughDateOption && !isDateUpdateThroughDateOptionFromClientCode;\r\n      var outpValue = '',\r\n          isInvalid = false,\r\n          oldDate = this.unset ? null : this._dates[index];\r\n\r\n      if (!oldDate && !this.unset && noIndex && isClear) {\r\n        oldDate = this._dates[this._dates.length - 1];\r\n      } // case of calling setValue(null or false)\r\n\r\n\r\n      if (!targetMoment) {\r\n        if (isNotAllowedProgrammaticUpdate) {\r\n          this._notifyEvent({\r\n            type: DateTimePicker.Event.CHANGE,\r\n            date: targetMoment,\r\n            oldDate: oldDate,\r\n            isClear: isClear,\r\n            isInvalid: isInvalid,\r\n            isDateUpdateThroughDateOptionFromClientCode: isDateUpdateThroughDateOptionFromClientCode,\r\n            isInit: this.isInit\r\n          });\r\n\r\n          return;\r\n        }\r\n\r\n        if (!this._options.allowMultidate || this._dates.length === 1 || isClear) {\r\n          this.unset = true;\r\n          this._dates = [];\r\n          this._datesFormatted = [];\r\n        } else {\r\n          outpValue = \"\" + this._element.data('date') + this._options.multidateSeparator;\r\n          outpValue = oldDate && outpValue.replace(\"\" + oldDate.format(this.actualFormat) + this._options.multidateSeparator, '').replace(\"\" + this._options.multidateSeparator + this._options.multidateSeparator, '').replace(new RegExp(escapeRegExp(this._options.multidateSeparator) + \"\\\\s*$\"), '') || '';\r\n\r\n          this._dates.splice(index, 1);\r\n\r\n          this._datesFormatted.splice(index, 1);\r\n        }\r\n\r\n        outpValue = trim(outpValue);\r\n\r\n        if (this.input !== undefined) {\r\n          this.input.val(outpValue);\r\n          this.input.trigger('input');\r\n        }\r\n\r\n        this._element.data('date', outpValue);\r\n\r\n        this._notifyEvent({\r\n          type: DateTimePicker.Event.CHANGE,\r\n          date: false,\r\n          oldDate: oldDate,\r\n          isClear: isClear,\r\n          isInvalid: isInvalid,\r\n          isDateUpdateThroughDateOptionFromClientCode: isDateUpdateThroughDateOptionFromClientCode,\r\n          isInit: this.isInit\r\n        });\r\n\r\n        this._update();\r\n\r\n        return;\r\n      }\r\n\r\n      targetMoment = targetMoment.clone().locale(this._options.locale);\r\n\r\n      if (this._hasTimeZone()) {\r\n        targetMoment.tz(this._options.timeZone);\r\n      }\r\n\r\n      if (this._options.stepping !== 1) {\r\n        targetMoment.minutes(Math.round(targetMoment.minutes() / this._options.stepping) * this._options.stepping).seconds(0);\r\n      }\r\n\r\n      if (this._isValid(targetMoment)) {\r\n        if (isNotAllowedProgrammaticUpdate) {\r\n          this._notifyEvent({\r\n            type: DateTimePicker.Event.CHANGE,\r\n            date: targetMoment.clone(),\r\n            oldDate: oldDate,\r\n            isClear: isClear,\r\n            isInvalid: isInvalid,\r\n            isDateUpdateThroughDateOptionFromClientCode: isDateUpdateThroughDateOptionFromClientCode,\r\n            isInit: this.isInit\r\n          });\r\n\r\n          return;\r\n        }\r\n\r\n        this._dates[index] = targetMoment;\r\n        this._datesFormatted[index] = targetMoment.format('YYYY-MM-DD');\r\n        this._viewDate = targetMoment.clone();\r\n\r\n        if (this._options.allowMultidate && this._dates.length > 1) {\r\n          for (var i = 0; i < this._dates.length; i++) {\r\n            outpValue += \"\" + this._dates[i].format(this.actualFormat) + this._options.multidateSeparator;\r\n          }\r\n\r\n          outpValue = outpValue.replace(new RegExp(this._options.multidateSeparator + \"\\\\s*$\"), '');\r\n        } else {\r\n          outpValue = this._dates[index].format(this.actualFormat);\r\n        }\r\n\r\n        outpValue = trim(outpValue);\r\n\r\n        if (this.input !== undefined) {\r\n          this.input.val(outpValue);\r\n          this.input.trigger('input');\r\n        }\r\n\r\n        this._element.data('date', outpValue);\r\n\r\n        this.unset = false;\r\n\r\n        this._update();\r\n\r\n        this._notifyEvent({\r\n          type: DateTimePicker.Event.CHANGE,\r\n          date: this._dates[index].clone(),\r\n          oldDate: oldDate,\r\n          isClear: isClear,\r\n          isInvalid: isInvalid,\r\n          isDateUpdateThroughDateOptionFromClientCode: isDateUpdateThroughDateOptionFromClientCode,\r\n          isInit: this.isInit\r\n        });\r\n      } else {\r\n        isInvalid = true;\r\n\r\n        if (!this._options.keepInvalid) {\r\n          if (this.input !== undefined) {\r\n            this.input.val(\"\" + (this.unset ? '' : this._dates[index].format(this.actualFormat)));\r\n            this.input.trigger('input');\r\n          }\r\n        } else {\r\n          this._notifyEvent({\r\n            type: DateTimePicker.Event.CHANGE,\r\n            date: targetMoment,\r\n            oldDate: oldDate,\r\n            isClear: isClear,\r\n            isInvalid: isInvalid,\r\n            isDateUpdateThroughDateOptionFromClientCode: isDateUpdateThroughDateOptionFromClientCode,\r\n            isInit: this.isInit\r\n          });\r\n        }\r\n\r\n        this._notifyEvent({\r\n          type: DateTimePicker.Event.ERROR,\r\n          date: targetMoment,\r\n          oldDate: oldDate\r\n        });\r\n      }\r\n    };\r\n\r\n    _proto._change = function _change(e) {\r\n      var val = $(e.target).val().trim(),\r\n          parsedDate = val ? this._parseInputDate(val) : null;\r\n\r\n      this._setValue(parsedDate, 0);\r\n\r\n      e.stopImmediatePropagation();\r\n      return false;\r\n    } //noinspection JSMethodCanBeStatic\r\n    ;\r\n\r\n    _proto._getOptions = function _getOptions(options) {\r\n      options = $.extend(true, {}, Default, options && options.icons && options.icons.type === 'feather' ? {\r\n        icons: defaultFeatherIcons\r\n      } : {}, options);\r\n      return options;\r\n    };\r\n\r\n    _proto._hasTimeZone = function _hasTimeZone() {\r\n      return moment.tz !== undefined && this._options.timeZone !== undefined && this._options.timeZone !== null && this._options.timeZone !== '';\r\n    };\r\n\r\n    _proto._isEnabled = function _isEnabled(granularity) {\r\n      if (typeof granularity !== 'string' || granularity.length > 1) {\r\n        throw new TypeError('isEnabled expects a single character string parameter');\r\n      }\r\n\r\n      switch (granularity) {\r\n        case 'y':\r\n          return this.actualFormat.indexOf('Y') !== -1;\r\n\r\n        case 'M':\r\n          return this.actualFormat.indexOf('M') !== -1;\r\n\r\n        case 'd':\r\n          return this.actualFormat.toLowerCase().indexOf('d') !== -1;\r\n\r\n        case 'h':\r\n        case 'H':\r\n          return this.actualFormat.toLowerCase().indexOf('h') !== -1;\r\n\r\n        case 'm':\r\n          return this.actualFormat.indexOf('m') !== -1;\r\n\r\n        case 's':\r\n          return this.actualFormat.indexOf('s') !== -1;\r\n\r\n        case 'a':\r\n        case 'A':\r\n          return this.actualFormat.toLowerCase().indexOf('a') !== -1;\r\n\r\n        default:\r\n          return false;\r\n      }\r\n    };\r\n\r\n    _proto._hasTime = function _hasTime() {\r\n      return this._isEnabled('h') || this._isEnabled('m') || this._isEnabled('s');\r\n    };\r\n\r\n    _proto._hasDate = function _hasDate() {\r\n      return this._isEnabled('y') || this._isEnabled('M') || this._isEnabled('d');\r\n    };\r\n\r\n    _proto._dataToOptions = function _dataToOptions() {\r\n      var eData = this._element.data();\r\n\r\n      var dataOptions = {};\r\n\r\n      if (eData.dateOptions && eData.dateOptions instanceof Object) {\r\n        dataOptions = $.extend(true, dataOptions, eData.dateOptions);\r\n      }\r\n\r\n      $.each(this._options, function (key) {\r\n        var attributeName = \"date\" + key.charAt(0).toUpperCase() + key.slice(1); //todo data api key\r\n\r\n        if (eData[attributeName] !== undefined) {\r\n          dataOptions[key] = eData[attributeName];\r\n        } else {\r\n          delete dataOptions[key];\r\n        }\r\n      });\r\n      return dataOptions;\r\n    };\r\n\r\n    _proto._format = function _format() {\r\n      return this._options.format || 'YYYY-MM-DD HH:mm';\r\n    };\r\n\r\n    _proto._areSameDates = function _areSameDates(a, b) {\r\n      var format = this._format();\r\n\r\n      return a && b && (a.isSame(b) || moment(a.format(format), format).isSame(moment(b.format(format), format)));\r\n    };\r\n\r\n    _proto._notifyEvent = function _notifyEvent(e) {\r\n      if (e.type === DateTimePicker.Event.CHANGE) {\r\n        this._notifyChangeEventContext = this._notifyChangeEventContext || 0;\r\n        this._notifyChangeEventContext++;\r\n\r\n        if (e.date && this._areSameDates(e.date, e.oldDate) || !e.isClear && !e.date && !e.oldDate || this._notifyChangeEventContext > 1) {\r\n          this._notifyChangeEventContext = void 0;\r\n          return;\r\n        }\r\n\r\n        this._handlePromptTimeIfNeeded(e);\r\n      }\r\n\r\n      this._element.trigger(e);\r\n\r\n      this._notifyChangeEventContext = void 0;\r\n    };\r\n\r\n    _proto._handlePromptTimeIfNeeded = function _handlePromptTimeIfNeeded(e) {\r\n      if (this._options.promptTimeOnDateChange) {\r\n        if (!e.oldDate && this._options.useCurrent) {\r\n          // First time ever. If useCurrent option is set to true (default), do nothing\r\n          // because the first date is selected automatically.\r\n          return;\r\n        } else if (e.oldDate && e.date && (e.oldDate.format('YYYY-MM-DD') === e.date.format('YYYY-MM-DD') || e.oldDate.format('YYYY-MM-DD') !== e.date.format('YYYY-MM-DD') && e.oldDate.format('HH:mm:ss') !== e.date.format('HH:mm:ss'))) {\r\n          // Date didn't change (time did) or date changed because time did.\r\n          return;\r\n        }\r\n\r\n        var that = this;\r\n        clearTimeout(this._currentPromptTimeTimeout);\r\n        this._currentPromptTimeTimeout = setTimeout(function () {\r\n          if (that.widget) {\r\n            that.widget.find('[data-action=\"togglePicker\"]').click();\r\n          }\r\n        }, this._options.promptTimeOnDateChangeTransitionDelay);\r\n      }\r\n    };\r\n\r\n    _proto._viewUpdate = function _viewUpdate(e) {\r\n      if (e === 'y') {\r\n        e = 'YYYY';\r\n      }\r\n\r\n      this._notifyEvent({\r\n        type: DateTimePicker.Event.UPDATE,\r\n        change: e,\r\n        viewDate: this._viewDate.clone()\r\n      });\r\n    };\r\n\r\n    _proto._showMode = function _showMode(dir) {\r\n      if (!this.widget) {\r\n        return;\r\n      }\r\n\r\n      if (dir) {\r\n        this.currentViewMode = Math.max(this.MinViewModeNumber, Math.min(3, this.currentViewMode + dir));\r\n      }\r\n\r\n      this.widget.find('.datepicker > div').hide().filter(\".datepicker-\" + DatePickerModes[this.currentViewMode].CLASS_NAME).show();\r\n    };\r\n\r\n    _proto._isInDisabledDates = function _isInDisabledDates(testDate) {\r\n      return this._options.disabledDates[testDate.format('YYYY-MM-DD')] === true;\r\n    };\r\n\r\n    _proto._isInEnabledDates = function _isInEnabledDates(testDate) {\r\n      return this._options.enabledDates[testDate.format('YYYY-MM-DD')] === true;\r\n    };\r\n\r\n    _proto._isInDisabledHours = function _isInDisabledHours(testDate) {\r\n      return this._options.disabledHours[testDate.format('H')] === true;\r\n    };\r\n\r\n    _proto._isInEnabledHours = function _isInEnabledHours(testDate) {\r\n      return this._options.enabledHours[testDate.format('H')] === true;\r\n    };\r\n\r\n    _proto._isValid = function _isValid(targetMoment, granularity) {\r\n      if (!targetMoment || !targetMoment.isValid()) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.disabledDates && granularity === 'd' && this._isInDisabledDates(targetMoment)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.enabledDates && granularity === 'd' && !this._isInEnabledDates(targetMoment)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.minDate && targetMoment.isBefore(this._options.minDate, granularity)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.maxDate && targetMoment.isAfter(this._options.maxDate, granularity)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.daysOfWeekDisabled && granularity === 'd' && this._options.daysOfWeekDisabled.indexOf(targetMoment.day()) !== -1) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.disabledHours && (granularity === 'h' || granularity === 'm' || granularity === 's') && this._isInDisabledHours(targetMoment)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.enabledHours && (granularity === 'h' || granularity === 'm' || granularity === 's') && !this._isInEnabledHours(targetMoment)) {\r\n        return false;\r\n      }\r\n\r\n      if (this._options.disabledTimeIntervals && (granularity === 'h' || granularity === 'm' || granularity === 's')) {\r\n        var found = false;\r\n        $.each(this._options.disabledTimeIntervals, function () {\r\n          if (targetMoment.isBetween(this[0], this[1])) {\r\n            found = true;\r\n            return false;\r\n          }\r\n        });\r\n\r\n        if (found) {\r\n          return false;\r\n        }\r\n      }\r\n\r\n      return true;\r\n    };\r\n\r\n    _proto._parseInputDate = function _parseInputDate(inputDate, _temp) {\r\n      var _ref = _temp === void 0 ? {} : _temp,\r\n          _ref$isPickerShow = _ref.isPickerShow,\r\n          isPickerShow = _ref$isPickerShow === void 0 ? false : _ref$isPickerShow;\r\n\r\n      if (this._options.parseInputDate === undefined || isPickerShow) {\r\n        if (!moment.isMoment(inputDate)) {\r\n          inputDate = this.getMoment(inputDate);\r\n        }\r\n      } else {\r\n        inputDate = this._options.parseInputDate(inputDate);\r\n      } //inputDate.locale(this.options.locale);\r\n\r\n\r\n      return inputDate;\r\n    };\r\n\r\n    _proto._keydown = function _keydown(e) {\r\n      var handler = null,\r\n          index,\r\n          index2,\r\n          keyBindKeys,\r\n          allModifiersPressed;\r\n      var pressedKeys = [],\r\n          pressedModifiers = {},\r\n          currentKey = e.which,\r\n          pressed = 'p';\r\n      keyState[currentKey] = pressed;\r\n\r\n      for (index in keyState) {\r\n        if (keyState.hasOwnProperty(index) && keyState[index] === pressed) {\r\n          pressedKeys.push(index);\r\n\r\n          if (parseInt(index, 10) !== currentKey) {\r\n            pressedModifiers[index] = true;\r\n          }\r\n        }\r\n      }\r\n\r\n      for (index in this._options.keyBinds) {\r\n        if (this._options.keyBinds.hasOwnProperty(index) && typeof this._options.keyBinds[index] === 'function') {\r\n          keyBindKeys = index.split(' ');\r\n\r\n          if (keyBindKeys.length === pressedKeys.length && KeyMap[currentKey] === keyBindKeys[keyBindKeys.length - 1]) {\r\n            allModifiersPressed = true;\r\n\r\n            for (index2 = keyBindKeys.length - 2; index2 >= 0; index2--) {\r\n              if (!(KeyMap[keyBindKeys[index2]] in pressedModifiers)) {\r\n                allModifiersPressed = false;\r\n                break;\r\n              }\r\n            }\r\n\r\n            if (allModifiersPressed) {\r\n              handler = this._options.keyBinds[index];\r\n              break;\r\n            }\r\n          }\r\n        }\r\n      }\r\n\r\n      if (handler) {\r\n        if (handler.call(this)) {\r\n          e.stopPropagation();\r\n          e.preventDefault();\r\n        }\r\n      }\r\n    } //noinspection JSMethodCanBeStatic,SpellCheckingInspection\r\n    ;\r\n\r\n    _proto._keyup = function _keyup(e) {\r\n      keyState[e.which] = 'r';\r\n\r\n      if (keyPressHandled[e.which]) {\r\n        keyPressHandled[e.which] = false;\r\n        e.stopPropagation();\r\n        e.preventDefault();\r\n      }\r\n    };\r\n\r\n    _proto._indexGivenDates = function _indexGivenDates(givenDatesArray) {\r\n      // Store given enabledDates and disabledDates as keys.\r\n      // This way we can check their existence in O(1) time instead of looping through whole array.\r\n      // (for example: options.enabledDates['2014-02-27'] === true)\r\n      var givenDatesIndexed = {},\r\n          self = this;\r\n      $.each(givenDatesArray, function () {\r\n        var dDate = self._parseInputDate(this);\r\n\r\n        if (dDate.isValid()) {\r\n          givenDatesIndexed[dDate.format('YYYY-MM-DD')] = true;\r\n        }\r\n      });\r\n      return Object.keys(givenDatesIndexed).length ? givenDatesIndexed : false;\r\n    };\r\n\r\n    _proto._indexGivenHours = function _indexGivenHours(givenHoursArray) {\r\n      // Store given enabledHours and disabledHours as keys.\r\n      // This way we can check their existence in O(1) time instead of looping through whole array.\r\n      // (for example: options.enabledHours['2014-02-27'] === true)\r\n      var givenHoursIndexed = {};\r\n      $.each(givenHoursArray, function () {\r\n        givenHoursIndexed[this] = true;\r\n      });\r\n      return Object.keys(givenHoursIndexed).length ? givenHoursIndexed : false;\r\n    };\r\n\r\n    _proto._initFormatting = function _initFormatting() {\r\n      var format = this._options.format || 'L LT',\r\n          self = this;\r\n      this.actualFormat = format.replace(/(\\[[^\\[]*])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g, function (formatInput) {\r\n        return (self.isInitFormatting && self._options.date === null ? self.getMoment() : self._dates[0]).localeData().longDateFormat(formatInput) || formatInput; //todo taking the first date should be ok\r\n      });\r\n      this.parseFormats = this._options.extraFormats ? this._options.extraFormats.slice() : [];\r\n\r\n      if (this.parseFormats.indexOf(format) < 0 && this.parseFormats.indexOf(this.actualFormat) < 0) {\r\n        this.parseFormats.push(this.actualFormat);\r\n      }\r\n\r\n      this.use24Hours = this.actualFormat.toLowerCase().indexOf('a') < 1 && this.actualFormat.replace(/\\[.*?]/g, '').indexOf('h') < 1;\r\n\r\n      if (this._isEnabled('y')) {\r\n        this.MinViewModeNumber = 2;\r\n      }\r\n\r\n      if (this._isEnabled('M')) {\r\n        this.MinViewModeNumber = 1;\r\n      }\r\n\r\n      if (this._isEnabled('d')) {\r\n        this.MinViewModeNumber = 0;\r\n      }\r\n\r\n      this.currentViewMode = Math.max(this.MinViewModeNumber, this.currentViewMode);\r\n\r\n      if (!this.unset) {\r\n        this._setValue(this._dates[0], 0);\r\n      }\r\n    };\r\n\r\n    _proto._getLastPickedDate = function _getLastPickedDate() {\r\n      var lastPickedDate = this._dates[this._getLastPickedDateIndex()];\r\n\r\n      if (!lastPickedDate && this._options.allowMultidate) {\r\n        lastPickedDate = moment(new Date());\r\n      }\r\n\r\n      return lastPickedDate;\r\n    };\r\n\r\n    _proto._getLastPickedDateIndex = function _getLastPickedDateIndex() {\r\n      return this._dates.length - 1;\r\n    } //public\r\n    ;\r\n\r\n    _proto.getMoment = function getMoment(d) {\r\n      var returnMoment;\r\n\r\n      if (d === undefined || d === null) {\r\n        // TODO: Should this use format?\r\n        returnMoment = moment().clone().locale(this._options.locale);\r\n      } else if (this._hasTimeZone()) {\r\n        // There is a string to parse and a default time zone\r\n        // parse with the tz function which takes a default time zone if it is not in the format string\r\n        returnMoment = moment.tz(d, this.parseFormats, this._options.locale, this._options.useStrict, this._options.timeZone);\r\n      } else {\r\n        returnMoment = moment(d, this.parseFormats, this._options.locale, this._options.useStrict);\r\n      }\r\n\r\n      if (this._hasTimeZone()) {\r\n        returnMoment.tz(this._options.timeZone);\r\n      }\r\n\r\n      return returnMoment;\r\n    };\r\n\r\n    _proto.toggle = function toggle() {\r\n      return this.widget ? this.hide() : this.show();\r\n    };\r\n\r\n    _proto.readonly = function readonly(_readonly) {\r\n      if (arguments.length === 0) {\r\n        return this._options.readonly;\r\n      }\r\n\r\n      if (typeof _readonly !== 'boolean') {\r\n        throw new TypeError('readonly() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.readonly = _readonly;\r\n\r\n      if (this.input !== undefined) {\r\n        this.input.prop('readonly', this._options.readonly);\r\n      }\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.ignoreReadonly = function ignoreReadonly(_ignoreReadonly) {\r\n      if (arguments.length === 0) {\r\n        return this._options.ignoreReadonly;\r\n      }\r\n\r\n      if (typeof _ignoreReadonly !== 'boolean') {\r\n        throw new TypeError('ignoreReadonly() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.ignoreReadonly = _ignoreReadonly;\r\n    };\r\n\r\n    _proto.options = function options(newOptions) {\r\n      if (arguments.length === 0) {\r\n        return $.extend(true, {}, this._options);\r\n      }\r\n\r\n      if (!(newOptions instanceof Object)) {\r\n        throw new TypeError('options() this.options parameter should be an object');\r\n      }\r\n\r\n      $.extend(true, this._options, newOptions);\r\n      var self = this,\r\n          optionsKeys = Object.keys(this._options).sort(optionsSortFn);\r\n      $.each(optionsKeys, function (i, key) {\r\n        var value = self._options[key];\r\n\r\n        if (self[key] !== undefined) {\r\n          if (self.isInit && key === 'date') {\r\n            self.hasInitDate = true;\r\n            self.initDate = value;\r\n            return;\r\n          }\r\n\r\n          self[key](value);\r\n        }\r\n      });\r\n    };\r\n\r\n    _proto.date = function date(newDate, index) {\r\n      index = index || 0;\r\n\r\n      if (arguments.length === 0) {\r\n        if (this.unset) {\r\n          return null;\r\n        }\r\n\r\n        if (this._options.allowMultidate) {\r\n          return this._dates.join(this._options.multidateSeparator);\r\n        } else {\r\n          return this._dates[index].clone();\r\n        }\r\n      }\r\n\r\n      if (newDate !== null && typeof newDate !== 'string' && !moment.isMoment(newDate) && !(newDate instanceof Date)) {\r\n        throw new TypeError('date() parameter must be one of [null, string, moment or Date]');\r\n      }\r\n\r\n      if (typeof newDate === 'string' && isValidDateTimeStr(newDate)) {\r\n        newDate = new Date(newDate);\r\n      }\r\n\r\n      this._setValue(newDate === null ? null : this._parseInputDate(newDate), index);\r\n    };\r\n\r\n    _proto.updateOnlyThroughDateOption = function updateOnlyThroughDateOption(_updateOnlyThroughDateOption) {\r\n      if (typeof _updateOnlyThroughDateOption !== 'boolean') {\r\n        throw new TypeError('updateOnlyThroughDateOption() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.updateOnlyThroughDateOption = _updateOnlyThroughDateOption;\r\n    };\r\n\r\n    _proto.format = function format(newFormat) {\r\n      if (arguments.length === 0) {\r\n        return this._options.format;\r\n      }\r\n\r\n      if (typeof newFormat !== 'string' && (typeof newFormat !== 'boolean' || newFormat !== false)) {\r\n        throw new TypeError(\"format() expects a string or boolean:false parameter \" + newFormat);\r\n      }\r\n\r\n      this._options.format = newFormat;\r\n\r\n      if (this.actualFormat) {\r\n        this._initFormatting(); // reinitialize formatting\r\n\r\n      }\r\n    };\r\n\r\n    _proto.timeZone = function timeZone(newZone) {\r\n      if (arguments.length === 0) {\r\n        return this._options.timeZone;\r\n      }\r\n\r\n      if (typeof newZone !== 'string') {\r\n        throw new TypeError('newZone() expects a string parameter');\r\n      }\r\n\r\n      this._options.timeZone = newZone;\r\n    };\r\n\r\n    _proto.dayViewHeaderFormat = function dayViewHeaderFormat(newFormat) {\r\n      if (arguments.length === 0) {\r\n        return this._options.dayViewHeaderFormat;\r\n      }\r\n\r\n      if (typeof newFormat !== 'string') {\r\n        throw new TypeError('dayViewHeaderFormat() expects a string parameter');\r\n      }\r\n\r\n      this._options.dayViewHeaderFormat = newFormat;\r\n    };\r\n\r\n    _proto.extraFormats = function extraFormats(formats) {\r\n      if (arguments.length === 0) {\r\n        return this._options.extraFormats;\r\n      }\r\n\r\n      if (formats !== false && !(formats instanceof Array)) {\r\n        throw new TypeError('extraFormats() expects an array or false parameter');\r\n      }\r\n\r\n      this._options.extraFormats = formats;\r\n\r\n      if (this.parseFormats) {\r\n        this._initFormatting(); // reinit formatting\r\n\r\n      }\r\n    };\r\n\r\n    _proto.disabledDates = function disabledDates(dates) {\r\n      if (arguments.length === 0) {\r\n        return this._options.disabledDates ? $.extend({}, this._options.disabledDates) : this._options.disabledDates;\r\n      }\r\n\r\n      if (!dates) {\r\n        this._options.disabledDates = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(dates instanceof Array)) {\r\n        throw new TypeError('disabledDates() expects an array parameter');\r\n      }\r\n\r\n      this._options.disabledDates = this._indexGivenDates(dates);\r\n      this._options.enabledDates = false;\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.enabledDates = function enabledDates(dates) {\r\n      if (arguments.length === 0) {\r\n        return this._options.enabledDates ? $.extend({}, this._options.enabledDates) : this._options.enabledDates;\r\n      }\r\n\r\n      if (!dates) {\r\n        this._options.enabledDates = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(dates instanceof Array)) {\r\n        throw new TypeError('enabledDates() expects an array parameter');\r\n      }\r\n\r\n      this._options.enabledDates = this._indexGivenDates(dates);\r\n      this._options.disabledDates = false;\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.daysOfWeekDisabled = function daysOfWeekDisabled(_daysOfWeekDisabled) {\r\n      if (arguments.length === 0) {\r\n        return this._options.daysOfWeekDisabled.splice(0);\r\n      }\r\n\r\n      if (typeof _daysOfWeekDisabled === 'boolean' && !_daysOfWeekDisabled) {\r\n        this._options.daysOfWeekDisabled = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(_daysOfWeekDisabled instanceof Array)) {\r\n        throw new TypeError('daysOfWeekDisabled() expects an array parameter');\r\n      }\r\n\r\n      this._options.daysOfWeekDisabled = _daysOfWeekDisabled.reduce(function (previousValue, currentValue) {\r\n        currentValue = parseInt(currentValue, 10);\r\n\r\n        if (currentValue > 6 || currentValue < 0 || isNaN(currentValue)) {\r\n          return previousValue;\r\n        }\r\n\r\n        if (previousValue.indexOf(currentValue) === -1) {\r\n          previousValue.push(currentValue);\r\n        }\r\n\r\n        return previousValue;\r\n      }, []).sort();\r\n\r\n      if (this._options.useCurrent && !this._options.keepInvalid) {\r\n        for (var i = 0; i < this._dates.length; i++) {\r\n          var tries = 0;\r\n\r\n          while (!this._isValid(this._dates[i], 'd')) {\r\n            this._dates[i].add(1, 'd');\r\n\r\n            if (tries === 31) {\r\n              throw 'Tried 31 times to find a valid date';\r\n            }\r\n\r\n            tries++;\r\n          }\r\n\r\n          this._setValue(this._dates[i], i);\r\n        }\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.maxDate = function maxDate(_maxDate) {\r\n      if (arguments.length === 0) {\r\n        return this._options.maxDate ? this._options.maxDate.clone() : this._options.maxDate;\r\n      }\r\n\r\n      if (typeof _maxDate === 'boolean' && _maxDate === false) {\r\n        this._options.maxDate = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (typeof _maxDate === 'string') {\r\n        if (_maxDate === 'now' || _maxDate === 'moment') {\r\n          _maxDate = this.getMoment();\r\n        }\r\n      }\r\n\r\n      var parsedDate = this._parseInputDate(_maxDate);\r\n\r\n      if (!parsedDate.isValid()) {\r\n        throw new TypeError(\"maxDate() Could not parse date parameter: \" + _maxDate);\r\n      }\r\n\r\n      if (this._options.minDate && parsedDate.isBefore(this._options.minDate)) {\r\n        throw new TypeError(\"maxDate() date parameter is before this.options.minDate: \" + parsedDate.format(this.actualFormat));\r\n      }\r\n\r\n      this._options.maxDate = parsedDate;\r\n\r\n      for (var i = 0; i < this._dates.length; i++) {\r\n        if (this._options.useCurrent && !this._options.keepInvalid && this._dates[i].isAfter(_maxDate)) {\r\n          this._setValue(this._options.maxDate, i);\r\n        }\r\n      }\r\n\r\n      if (this._viewDate.isAfter(parsedDate)) {\r\n        this._viewDate = parsedDate.clone().subtract(this._options.stepping, 'm');\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.minDate = function minDate(_minDate) {\r\n      if (arguments.length === 0) {\r\n        return this._options.minDate ? this._options.minDate.clone() : this._options.minDate;\r\n      }\r\n\r\n      if (typeof _minDate === 'boolean' && _minDate === false) {\r\n        this._options.minDate = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (typeof _minDate === 'string') {\r\n        if (_minDate === 'now' || _minDate === 'moment') {\r\n          _minDate = this.getMoment();\r\n        }\r\n      }\r\n\r\n      var parsedDate = this._parseInputDate(_minDate);\r\n\r\n      if (!parsedDate.isValid()) {\r\n        throw new TypeError(\"minDate() Could not parse date parameter: \" + _minDate);\r\n      }\r\n\r\n      if (this._options.maxDate && parsedDate.isAfter(this._options.maxDate)) {\r\n        throw new TypeError(\"minDate() date parameter is after this.options.maxDate: \" + parsedDate.format(this.actualFormat));\r\n      }\r\n\r\n      this._options.minDate = parsedDate;\r\n\r\n      for (var i = 0; i < this._dates.length; i++) {\r\n        if (this._options.useCurrent && !this._options.keepInvalid && this._dates[i].isBefore(_minDate)) {\r\n          this._setValue(this._options.minDate, i);\r\n        }\r\n      }\r\n\r\n      if (this._viewDate.isBefore(parsedDate)) {\r\n        this._viewDate = parsedDate.clone().add(this._options.stepping, 'm');\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.defaultDate = function defaultDate(_defaultDate) {\r\n      if (arguments.length === 0) {\r\n        return this._options.defaultDate ? this._options.defaultDate.clone() : this._options.defaultDate;\r\n      }\r\n\r\n      if (!_defaultDate) {\r\n        this._options.defaultDate = false;\r\n        return true;\r\n      }\r\n\r\n      if (typeof _defaultDate === 'string') {\r\n        if (_defaultDate === 'now' || _defaultDate === 'moment') {\r\n          _defaultDate = this.getMoment();\r\n        } else {\r\n          _defaultDate = this.getMoment(_defaultDate);\r\n        }\r\n      }\r\n\r\n      var parsedDate = this._parseInputDate(_defaultDate);\r\n\r\n      if (!parsedDate.isValid()) {\r\n        throw new TypeError(\"defaultDate() Could not parse date parameter: \" + _defaultDate);\r\n      }\r\n\r\n      if (!this._isValid(parsedDate)) {\r\n        throw new TypeError('defaultDate() date passed is invalid according to component setup validations');\r\n      }\r\n\r\n      this._options.defaultDate = parsedDate;\r\n\r\n      if (this._options.defaultDate && this._options.inline || this.input !== undefined && this.input.val().trim() === '') {\r\n        this._setValue(this._options.defaultDate, 0);\r\n      }\r\n    };\r\n\r\n    _proto.locale = function locale(_locale) {\r\n      if (arguments.length === 0) {\r\n        return this._options.locale;\r\n      }\r\n\r\n      if (!moment.localeData(_locale)) {\r\n        throw new TypeError(\"locale() locale \" + _locale + \" is not loaded from moment locales!\");\r\n      }\r\n\r\n      this._options.locale = _locale;\r\n\r\n      for (var i = 0; i < this._dates.length; i++) {\r\n        this._dates[i].locale(this._options.locale);\r\n      }\r\n\r\n      this._viewDate.locale(this._options.locale);\r\n\r\n      if (this.actualFormat) {\r\n        this._initFormatting(); // reinitialize formatting\r\n\r\n      }\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.stepping = function stepping(_stepping) {\r\n      if (arguments.length === 0) {\r\n        return this._options.stepping;\r\n      }\r\n\r\n      _stepping = parseInt(_stepping, 10);\r\n\r\n      if (isNaN(_stepping) || _stepping < 1) {\r\n        _stepping = 1;\r\n      }\r\n\r\n      this._options.stepping = _stepping;\r\n    };\r\n\r\n    _proto.useCurrent = function useCurrent(_useCurrent) {\r\n      var useCurrentOptions = ['year', 'month', 'day', 'hour', 'minute'];\r\n\r\n      if (arguments.length === 0) {\r\n        return this._options.useCurrent;\r\n      }\r\n\r\n      if (typeof _useCurrent !== 'boolean' && typeof _useCurrent !== 'string') {\r\n        throw new TypeError('useCurrent() expects a boolean or string parameter');\r\n      }\r\n\r\n      if (typeof _useCurrent === 'string' && useCurrentOptions.indexOf(_useCurrent.toLowerCase()) === -1) {\r\n        throw new TypeError(\"useCurrent() expects a string parameter of \" + useCurrentOptions.join(', '));\r\n      }\r\n\r\n      this._options.useCurrent = _useCurrent;\r\n    };\r\n\r\n    _proto.collapse = function collapse(_collapse) {\r\n      if (arguments.length === 0) {\r\n        return this._options.collapse;\r\n      }\r\n\r\n      if (typeof _collapse !== 'boolean') {\r\n        throw new TypeError('collapse() expects a boolean parameter');\r\n      }\r\n\r\n      if (this._options.collapse === _collapse) {\r\n        return true;\r\n      }\r\n\r\n      this._options.collapse = _collapse;\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.icons = function icons(_icons) {\r\n      if (arguments.length === 0) {\r\n        return $.extend({}, this._options.icons);\r\n      }\r\n\r\n      if (!(_icons instanceof Object)) {\r\n        throw new TypeError('icons() expects parameter to be an Object');\r\n      }\r\n\r\n      $.extend(this._options.icons, _icons);\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.tooltips = function tooltips(_tooltips) {\r\n      if (arguments.length === 0) {\r\n        return $.extend({}, this._options.tooltips);\r\n      }\r\n\r\n      if (!(_tooltips instanceof Object)) {\r\n        throw new TypeError('tooltips() expects parameter to be an Object');\r\n      }\r\n\r\n      $.extend(this._options.tooltips, _tooltips);\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.useStrict = function useStrict(_useStrict) {\r\n      if (arguments.length === 0) {\r\n        return this._options.useStrict;\r\n      }\r\n\r\n      if (typeof _useStrict !== 'boolean') {\r\n        throw new TypeError('useStrict() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.useStrict = _useStrict;\r\n    };\r\n\r\n    _proto.sideBySide = function sideBySide(_sideBySide) {\r\n      if (arguments.length === 0) {\r\n        return this._options.sideBySide;\r\n      }\r\n\r\n      if (typeof _sideBySide !== 'boolean') {\r\n        throw new TypeError('sideBySide() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.sideBySide = _sideBySide;\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.viewMode = function viewMode(_viewMode) {\r\n      if (arguments.length === 0) {\r\n        return this._options.viewMode;\r\n      }\r\n\r\n      if (typeof _viewMode !== 'string') {\r\n        throw new TypeError('viewMode() expects a string parameter');\r\n      }\r\n\r\n      if (DateTimePicker.ViewModes.indexOf(_viewMode) === -1) {\r\n        throw new TypeError(\"viewMode() parameter must be one of (\" + DateTimePicker.ViewModes.join(', ') + \") value\");\r\n      }\r\n\r\n      this._options.viewMode = _viewMode;\r\n      this.currentViewMode = Math.max(DateTimePicker.ViewModes.indexOf(_viewMode) - 1, this.MinViewModeNumber);\r\n\r\n      this._showMode();\r\n    };\r\n\r\n    _proto.calendarWeeks = function calendarWeeks(_calendarWeeks) {\r\n      if (arguments.length === 0) {\r\n        return this._options.calendarWeeks;\r\n      }\r\n\r\n      if (typeof _calendarWeeks !== 'boolean') {\r\n        throw new TypeError('calendarWeeks() expects parameter to be a boolean value');\r\n      }\r\n\r\n      this._options.calendarWeeks = _calendarWeeks;\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.buttons = function buttons(_buttons) {\r\n      if (arguments.length === 0) {\r\n        return $.extend({}, this._options.buttons);\r\n      }\r\n\r\n      if (!(_buttons instanceof Object)) {\r\n        throw new TypeError('buttons() expects parameter to be an Object');\r\n      }\r\n\r\n      $.extend(this._options.buttons, _buttons);\r\n\r\n      if (typeof this._options.buttons.showToday !== 'boolean') {\r\n        throw new TypeError('buttons.showToday expects a boolean parameter');\r\n      }\r\n\r\n      if (typeof this._options.buttons.showClear !== 'boolean') {\r\n        throw new TypeError('buttons.showClear expects a boolean parameter');\r\n      }\r\n\r\n      if (typeof this._options.buttons.showClose !== 'boolean') {\r\n        throw new TypeError('buttons.showClose expects a boolean parameter');\r\n      }\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto.keepOpen = function keepOpen(_keepOpen) {\r\n      if (arguments.length === 0) {\r\n        return this._options.keepOpen;\r\n      }\r\n\r\n      if (typeof _keepOpen !== 'boolean') {\r\n        throw new TypeError('keepOpen() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.keepOpen = _keepOpen;\r\n    };\r\n\r\n    _proto.focusOnShow = function focusOnShow(_focusOnShow) {\r\n      if (arguments.length === 0) {\r\n        return this._options.focusOnShow;\r\n      }\r\n\r\n      if (typeof _focusOnShow !== 'boolean') {\r\n        throw new TypeError('focusOnShow() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.focusOnShow = _focusOnShow;\r\n    };\r\n\r\n    _proto.inline = function inline(_inline) {\r\n      if (arguments.length === 0) {\r\n        return this._options.inline;\r\n      }\r\n\r\n      if (typeof _inline !== 'boolean') {\r\n        throw new TypeError('inline() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.inline = _inline;\r\n    };\r\n\r\n    _proto.clear = function clear() {\r\n      this._setValue(null); //todo\r\n\r\n    };\r\n\r\n    _proto.keyBinds = function keyBinds(_keyBinds) {\r\n      if (arguments.length === 0) {\r\n        return this._options.keyBinds;\r\n      }\r\n\r\n      this._options.keyBinds = _keyBinds;\r\n    };\r\n\r\n    _proto.debug = function debug(_debug) {\r\n      if (typeof _debug !== 'boolean') {\r\n        throw new TypeError('debug() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.debug = _debug;\r\n    };\r\n\r\n    _proto.allowInputToggle = function allowInputToggle(_allowInputToggle) {\r\n      if (arguments.length === 0) {\r\n        return this._options.allowInputToggle;\r\n      }\r\n\r\n      if (typeof _allowInputToggle !== 'boolean') {\r\n        throw new TypeError('allowInputToggle() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.allowInputToggle = _allowInputToggle;\r\n    };\r\n\r\n    _proto.keepInvalid = function keepInvalid(_keepInvalid) {\r\n      if (arguments.length === 0) {\r\n        return this._options.keepInvalid;\r\n      }\r\n\r\n      if (typeof _keepInvalid !== 'boolean') {\r\n        throw new TypeError('keepInvalid() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.keepInvalid = _keepInvalid;\r\n    };\r\n\r\n    _proto.datepickerInput = function datepickerInput(_datepickerInput) {\r\n      if (arguments.length === 0) {\r\n        return this._options.datepickerInput;\r\n      }\r\n\r\n      if (typeof _datepickerInput !== 'string') {\r\n        throw new TypeError('datepickerInput() expects a string parameter');\r\n      }\r\n\r\n      this._options.datepickerInput = _datepickerInput;\r\n    };\r\n\r\n    _proto.parseInputDate = function parseInputDate(_parseInputDate2) {\r\n      if (arguments.length === 0) {\r\n        return this._options.parseInputDate;\r\n      }\r\n\r\n      if (typeof _parseInputDate2 !== 'function') {\r\n        throw new TypeError('parseInputDate() should be as function');\r\n      }\r\n\r\n      this._options.parseInputDate = _parseInputDate2;\r\n    };\r\n\r\n    _proto.disabledTimeIntervals = function disabledTimeIntervals(_disabledTimeIntervals) {\r\n      if (arguments.length === 0) {\r\n        return this._options.disabledTimeIntervals ? $.extend({}, this._options.disabledTimeIntervals) : this._options.disabledTimeIntervals;\r\n      }\r\n\r\n      if (!_disabledTimeIntervals) {\r\n        this._options.disabledTimeIntervals = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(_disabledTimeIntervals instanceof Array)) {\r\n        throw new TypeError('disabledTimeIntervals() expects an array parameter');\r\n      }\r\n\r\n      this._options.disabledTimeIntervals = _disabledTimeIntervals;\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.disabledHours = function disabledHours(hours) {\r\n      if (arguments.length === 0) {\r\n        return this._options.disabledHours ? $.extend({}, this._options.disabledHours) : this._options.disabledHours;\r\n      }\r\n\r\n      if (!hours) {\r\n        this._options.disabledHours = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(hours instanceof Array)) {\r\n        throw new TypeError('disabledHours() expects an array parameter');\r\n      }\r\n\r\n      this._options.disabledHours = this._indexGivenHours(hours);\r\n      this._options.enabledHours = false;\r\n\r\n      if (this._options.useCurrent && !this._options.keepInvalid) {\r\n        for (var i = 0; i < this._dates.length; i++) {\r\n          var tries = 0;\r\n\r\n          while (!this._isValid(this._dates[i], 'h')) {\r\n            this._dates[i].add(1, 'h');\r\n\r\n            if (tries === 24) {\r\n              throw 'Tried 24 times to find a valid date';\r\n            }\r\n\r\n            tries++;\r\n          }\r\n\r\n          this._setValue(this._dates[i], i);\r\n        }\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.enabledHours = function enabledHours(hours) {\r\n      if (arguments.length === 0) {\r\n        return this._options.enabledHours ? $.extend({}, this._options.enabledHours) : this._options.enabledHours;\r\n      }\r\n\r\n      if (!hours) {\r\n        this._options.enabledHours = false;\r\n\r\n        this._update();\r\n\r\n        return true;\r\n      }\r\n\r\n      if (!(hours instanceof Array)) {\r\n        throw new TypeError('enabledHours() expects an array parameter');\r\n      }\r\n\r\n      this._options.enabledHours = this._indexGivenHours(hours);\r\n      this._options.disabledHours = false;\r\n\r\n      if (this._options.useCurrent && !this._options.keepInvalid) {\r\n        for (var i = 0; i < this._dates.length; i++) {\r\n          var tries = 0;\r\n\r\n          while (!this._isValid(this._dates[i], 'h')) {\r\n            this._dates[i].add(1, 'h');\r\n\r\n            if (tries === 24) {\r\n              throw 'Tried 24 times to find a valid date';\r\n            }\r\n\r\n            tries++;\r\n          }\r\n\r\n          this._setValue(this._dates[i], i);\r\n        }\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto.viewDate = function viewDate(newDate) {\r\n      if (arguments.length === 0) {\r\n        return this._viewDate.clone();\r\n      }\r\n\r\n      if (!newDate) {\r\n        this._viewDate = (this._dates[0] || this.getMoment()).clone();\r\n        return true;\r\n      }\r\n\r\n      if (typeof newDate !== 'string' && !moment.isMoment(newDate) && !(newDate instanceof Date)) {\r\n        throw new TypeError('viewDate() parameter must be one of [string, moment or Date]');\r\n      }\r\n\r\n      this._viewDate = this._parseInputDate(newDate);\r\n\r\n      this._update();\r\n\r\n      this._viewUpdate(DatePickerModes[this.currentViewMode] && DatePickerModes[this.currentViewMode].NAV_FUNCTION);\r\n    };\r\n\r\n    _proto._fillDate = function _fillDate() {};\r\n\r\n    _proto._useFeatherIcons = function _useFeatherIcons() {\r\n      return this._options.icons.type === 'feather';\r\n    };\r\n\r\n    _proto.allowMultidate = function allowMultidate(_allowMultidate) {\r\n      if (typeof _allowMultidate !== 'boolean') {\r\n        throw new TypeError('allowMultidate() expects a boolean parameter');\r\n      }\r\n\r\n      this._options.allowMultidate = _allowMultidate;\r\n    };\r\n\r\n    _proto.multidateSeparator = function multidateSeparator(_multidateSeparator) {\r\n      if (arguments.length === 0) {\r\n        return this._options.multidateSeparator;\r\n      }\r\n\r\n      if (typeof _multidateSeparator !== 'string') {\r\n        throw new TypeError('multidateSeparator expects a string parameter');\r\n      }\r\n\r\n      this._options.multidateSeparator = _multidateSeparator;\r\n    };\r\n\r\n    _createClass(DateTimePicker, null, [{\r\n      key: \"NAME\",\r\n      get: function get() {\r\n        return NAME;\r\n      }\r\n      /**\r\n       * @return {string}\r\n       */\r\n\r\n    }, {\r\n      key: \"DATA_KEY\",\r\n      get: function get() {\r\n        return DATA_KEY;\r\n      }\r\n      /**\r\n       * @return {string}\r\n       */\r\n\r\n    }, {\r\n      key: \"EVENT_KEY\",\r\n      get: function get() {\r\n        return EVENT_KEY;\r\n      }\r\n      /**\r\n       * @return {string}\r\n       */\r\n\r\n    }, {\r\n      key: \"DATA_API_KEY\",\r\n      get: function get() {\r\n        return DATA_API_KEY;\r\n      }\r\n    }, {\r\n      key: \"DatePickerModes\",\r\n      get: function get() {\r\n        return DatePickerModes;\r\n      }\r\n    }, {\r\n      key: \"ViewModes\",\r\n      get: function get() {\r\n        return ViewModes;\r\n      }\r\n    }, {\r\n      key: \"Event\",\r\n      get: function get() {\r\n        return Event;\r\n      }\r\n    }, {\r\n      key: \"Selector\",\r\n      get: function get() {\r\n        return Selector;\r\n      }\r\n    }, {\r\n      key: \"Default\",\r\n      get: function get() {\r\n        return Default;\r\n      },\r\n      set: function set(value) {\r\n        Default = value;\r\n      }\r\n    }, {\r\n      key: \"ClassName\",\r\n      get: function get() {\r\n        return ClassName;\r\n      }\r\n    }]);\r\n\r\n    return DateTimePicker;\r\n  }();\r\n\r\n  return DateTimePicker;\r\n}(jQuery, moment); //noinspection JSUnusedGlobalSymbols\r\n\r\n/* global DateTimePicker */\r\n\r\n/* global feather */\r\n\r\n\r\nvar TempusDominusBootstrap4 = function ($) {\r\n  // eslint-disable-line no-unused-vars\r\n  // ReSharper disable once InconsistentNaming\r\n  var JQUERY_NO_CONFLICT = $.fn[DateTimePicker.NAME],\r\n      verticalModes = ['top', 'bottom', 'auto'],\r\n      horizontalModes = ['left', 'right', 'auto'],\r\n      toolbarPlacements = ['default', 'top', 'bottom'],\r\n      getSelectorFromElement = function getSelectorFromElement($element) {\r\n    var selector = $element.data('target'),\r\n        $selector;\r\n\r\n    if (!selector) {\r\n      selector = $element.attr('href') || '';\r\n      selector = /^#[a-z]/i.test(selector) ? selector : null;\r\n    }\r\n\r\n    $selector = $(selector);\r\n\r\n    if ($selector.length === 0) {\r\n      return $element;\r\n    }\r\n\r\n    if (!$selector.data(DateTimePicker.DATA_KEY)) {\r\n      $.extend({}, $selector.data(), $(this).data());\r\n    }\r\n\r\n    return $selector;\r\n  }; // ReSharper disable once InconsistentNaming\r\n\r\n\r\n  var TempusDominusBootstrap4 = /*#__PURE__*/function (_DateTimePicker) {\r\n    _inheritsLoose(TempusDominusBootstrap4, _DateTimePicker);\r\n\r\n    function TempusDominusBootstrap4(element, options) {\r\n      var _this;\r\n\r\n      _this = _DateTimePicker.call(this, element, options) || this;\r\n\r\n      _this._init();\r\n\r\n      return _this;\r\n    }\r\n\r\n    var _proto2 = TempusDominusBootstrap4.prototype;\r\n\r\n    _proto2._init = function _init() {\r\n      if (this._element.hasClass('input-group')) {\r\n        var datepickerButton = this._element.find('.datepickerbutton');\r\n\r\n        if (datepickerButton.length === 0) {\r\n          this.component = this._element.find('[data-toggle=\"datetimepicker\"]');\r\n        } else {\r\n          this.component = datepickerButton;\r\n        }\r\n      }\r\n    };\r\n\r\n    _proto2._iconTag = function _iconTag(iconName) {\r\n      if (typeof feather !== 'undefined' && this._useFeatherIcons() && feather.icons[iconName]) {\r\n        return $('<span>').html(feather.icons[iconName].toSvg());\r\n      } else {\r\n        return $('<span>').addClass(iconName);\r\n      }\r\n    };\r\n\r\n    _proto2._getDatePickerTemplate = function _getDatePickerTemplate() {\r\n      var headTemplate = $('<thead>').append($('<tr>').append($('<th>').addClass('prev').attr('data-action', 'previous').append(this._iconTag(this._options.icons.previous))).append($('<th>').addClass('picker-switch').attr('data-action', 'pickerSwitch').attr('colspan', \"\" + (this._options.calendarWeeks ? '6' : '5'))).append($('<th>').addClass('next').attr('data-action', 'next').append(this._iconTag(this._options.icons.next)))),\r\n          contTemplate = $('<tbody>').append($('<tr>').append($('<td>').attr('colspan', \"\" + (this._options.calendarWeeks ? '8' : '7'))));\r\n      return [$('<div>').addClass('datepicker-days').append($('<table>').addClass('table table-sm').append(headTemplate).append($('<tbody>'))), $('<div>').addClass('datepicker-months').append($('<table>').addClass('table-condensed').append(headTemplate.clone()).append(contTemplate.clone())), $('<div>').addClass('datepicker-years').append($('<table>').addClass('table-condensed').append(headTemplate.clone()).append(contTemplate.clone())), $('<div>').addClass('datepicker-decades').append($('<table>').addClass('table-condensed').append(headTemplate.clone()).append(contTemplate.clone()))];\r\n    };\r\n\r\n    _proto2._getTimePickerMainTemplate = function _getTimePickerMainTemplate() {\r\n      var topRow = $('<tr>'),\r\n          middleRow = $('<tr>'),\r\n          bottomRow = $('<tr>');\r\n\r\n      if (this._isEnabled('h')) {\r\n        topRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.incrementHour\r\n        }).addClass('btn').attr('data-action', 'incrementHours').append(this._iconTag(this._options.icons.up))));\r\n        middleRow.append($('<td>').append($('<span>').addClass('timepicker-hour').attr({\r\n          'data-time-component': 'hours',\r\n          'title': this._options.tooltips.pickHour\r\n        }).attr('data-action', 'showHours')));\r\n        bottomRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.decrementHour\r\n        }).addClass('btn').attr('data-action', 'decrementHours').append(this._iconTag(this._options.icons.down))));\r\n      }\r\n\r\n      if (this._isEnabled('m')) {\r\n        if (this._isEnabled('h')) {\r\n          topRow.append($('<td>').addClass('separator'));\r\n          middleRow.append($('<td>').addClass('separator').html(':'));\r\n          bottomRow.append($('<td>').addClass('separator'));\r\n        }\r\n\r\n        topRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.incrementMinute\r\n        }).addClass('btn').attr('data-action', 'incrementMinutes').append(this._iconTag(this._options.icons.up))));\r\n        middleRow.append($('<td>').append($('<span>').addClass('timepicker-minute').attr({\r\n          'data-time-component': 'minutes',\r\n          'title': this._options.tooltips.pickMinute\r\n        }).attr('data-action', 'showMinutes')));\r\n        bottomRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.decrementMinute\r\n        }).addClass('btn').attr('data-action', 'decrementMinutes').append(this._iconTag(this._options.icons.down))));\r\n      }\r\n\r\n      if (this._isEnabled('s')) {\r\n        if (this._isEnabled('m')) {\r\n          topRow.append($('<td>').addClass('separator'));\r\n          middleRow.append($('<td>').addClass('separator').html(':'));\r\n          bottomRow.append($('<td>').addClass('separator'));\r\n        }\r\n\r\n        topRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.incrementSecond\r\n        }).addClass('btn').attr('data-action', 'incrementSeconds').append(this._iconTag(this._options.icons.up))));\r\n        middleRow.append($('<td>').append($('<span>').addClass('timepicker-second').attr({\r\n          'data-time-component': 'seconds',\r\n          'title': this._options.tooltips.pickSecond\r\n        }).attr('data-action', 'showSeconds')));\r\n        bottomRow.append($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.decrementSecond\r\n        }).addClass('btn').attr('data-action', 'decrementSeconds').append(this._iconTag(this._options.icons.down))));\r\n      }\r\n\r\n      if (!this.use24Hours) {\r\n        topRow.append($('<td>').addClass('separator'));\r\n        middleRow.append($('<td>').append($('<button>').addClass('btn btn-primary').attr({\r\n          'data-action': 'togglePeriod',\r\n          tabindex: '-1',\r\n          'title': this._options.tooltips.togglePeriod\r\n        })));\r\n        bottomRow.append($('<td>').addClass('separator'));\r\n      }\r\n\r\n      return $('<div>').addClass('timepicker-picker').append($('<table>').addClass('table-condensed').append([topRow, middleRow, bottomRow]));\r\n    };\r\n\r\n    _proto2._getTimePickerTemplate = function _getTimePickerTemplate() {\r\n      var hoursView = $('<div>').addClass('timepicker-hours').append($('<table>').addClass('table-condensed')),\r\n          minutesView = $('<div>').addClass('timepicker-minutes').append($('<table>').addClass('table-condensed')),\r\n          secondsView = $('<div>').addClass('timepicker-seconds').append($('<table>').addClass('table-condensed')),\r\n          ret = [this._getTimePickerMainTemplate()];\r\n\r\n      if (this._isEnabled('h')) {\r\n        ret.push(hoursView);\r\n      }\r\n\r\n      if (this._isEnabled('m')) {\r\n        ret.push(minutesView);\r\n      }\r\n\r\n      if (this._isEnabled('s')) {\r\n        ret.push(secondsView);\r\n      }\r\n\r\n      return ret;\r\n    };\r\n\r\n    _proto2._getToolbar = function _getToolbar() {\r\n      var row = [];\r\n\r\n      if (this._options.buttons.showToday) {\r\n        row.push($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'data-action': 'today',\r\n          'title': this._options.tooltips.today\r\n        }).append(this._iconTag(this._options.icons.today))));\r\n      }\r\n\r\n      if (!this._options.sideBySide && this._options.collapse && this._hasDate() && this._hasTime()) {\r\n        var title, icon;\r\n\r\n        if (this._options.viewMode === 'times') {\r\n          title = this._options.tooltips.selectDate;\r\n          icon = this._options.icons.date;\r\n        } else {\r\n          title = this._options.tooltips.selectTime;\r\n          icon = this._options.icons.time;\r\n        }\r\n\r\n        row.push($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'data-action': 'togglePicker',\r\n          'title': title\r\n        }).append(this._iconTag(icon))));\r\n      }\r\n\r\n      if (this._options.buttons.showClear) {\r\n        row.push($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'data-action': 'clear',\r\n          'title': this._options.tooltips.clear\r\n        }).append(this._iconTag(this._options.icons.clear))));\r\n      }\r\n\r\n      if (this._options.buttons.showClose) {\r\n        row.push($('<td>').append($('<a>').attr({\r\n          href: '#',\r\n          tabindex: '-1',\r\n          'data-action': 'close',\r\n          'title': this._options.tooltips.close\r\n        }).append(this._iconTag(this._options.icons.close))));\r\n      }\r\n\r\n      return row.length === 0 ? '' : $('<table>').addClass('table-condensed').append($('<tbody>').append($('<tr>').append(row)));\r\n    };\r\n\r\n    _proto2._getTemplate = function _getTemplate() {\r\n      var template = $('<div>').addClass((\"bootstrap-datetimepicker-widget dropdown-menu \" + (this._options.calendarWeeks ? 'tempusdominus-bootstrap-datetimepicker-widget-with-calendar-weeks' : '') + \" \" + ((this._useFeatherIcons() ? 'tempusdominus-bootstrap-datetimepicker-widget-with-feather-icons' : '') + \" \")).trim()),\r\n          dateView = $('<div>').addClass('datepicker').append(this._getDatePickerTemplate()),\r\n          timeView = $('<div>').addClass('timepicker').append(this._getTimePickerTemplate()),\r\n          content = $('<ul>').addClass('list-unstyled'),\r\n          toolbar = $('<li>').addClass((\"picker-switch\" + (this._options.collapse ? ' accordion-toggle' : '') + \" \" + (\"\" + (this._useFeatherIcons() ? 'picker-switch-with-feathers-icons' : ''))).trim()).append(this._getToolbar());\r\n\r\n      if (this._options.inline) {\r\n        template.removeClass('dropdown-menu');\r\n      }\r\n\r\n      if (this.use24Hours) {\r\n        template.addClass('usetwentyfour');\r\n      }\r\n\r\n      if (this.input !== undefined && this.input.prop('readonly') || this._options.readonly) {\r\n        template.addClass('bootstrap-datetimepicker-widget-readonly');\r\n      }\r\n\r\n      if (this._isEnabled('s') && !this.use24Hours) {\r\n        template.addClass('wider');\r\n      }\r\n\r\n      if (this._options.sideBySide && this._hasDate() && this._hasTime()) {\r\n        template.addClass('timepicker-sbs');\r\n\r\n        if (this._options.toolbarPlacement === 'top') {\r\n          template.append(toolbar);\r\n        }\r\n\r\n        template.append($('<div>').addClass('row').append(dateView.addClass('col-md-6')).append(timeView.addClass('col-md-6')));\r\n\r\n        if (this._options.toolbarPlacement === 'bottom' || this._options.toolbarPlacement === 'default') {\r\n          template.append(toolbar);\r\n        }\r\n\r\n        return template;\r\n      }\r\n\r\n      if (this._options.toolbarPlacement === 'top') {\r\n        content.append(toolbar);\r\n      }\r\n\r\n      if (this._hasDate()) {\r\n        content.append($('<li>').addClass(this._options.collapse && this._hasTime() ? 'collapse' : '').addClass(this._options.collapse && this._hasTime() && this._options.viewMode === 'times' ? '' : 'show').append(dateView));\r\n      }\r\n\r\n      if (this._options.toolbarPlacement === 'default') {\r\n        content.append(toolbar);\r\n      }\r\n\r\n      if (this._hasTime()) {\r\n        content.append($('<li>').addClass(this._options.collapse && this._hasDate() ? 'collapse' : '').addClass(this._options.collapse && this._hasDate() && this._options.viewMode === 'times' ? 'show' : '').append(timeView));\r\n      }\r\n\r\n      if (this._options.toolbarPlacement === 'bottom') {\r\n        content.append(toolbar);\r\n      }\r\n\r\n      return template.append(content);\r\n    };\r\n\r\n    _proto2._place = function _place(e) {\r\n      var self = e && e.data && e.data.picker || this,\r\n          vertical = self._options.widgetPositioning.vertical,\r\n          horizontal = self._options.widgetPositioning.horizontal,\r\n          parent;\r\n      var position = (self.component && self.component.length ? self.component : self._element).position(),\r\n          offset = (self.component && self.component.length ? self.component : self._element).offset();\r\n\r\n      if (self._options.widgetParent) {\r\n        parent = self._options.widgetParent.append(self.widget);\r\n      } else if (self._element.is('input')) {\r\n        parent = self._element.after(self.widget).parent();\r\n      } else if (self._options.inline) {\r\n        parent = self._element.append(self.widget);\r\n        return;\r\n      } else {\r\n        parent = self._element;\r\n\r\n        self._element.children().first().after(self.widget);\r\n      } // Top and bottom logic\r\n\r\n\r\n      if (vertical === 'auto') {\r\n        //noinspection JSValidateTypes\r\n        if (offset.top + self.widget.height() * 1.5 >= $(window).height() + $(window).scrollTop() && self.widget.height() + self._element.outerHeight() < offset.top) {\r\n          vertical = 'top';\r\n        } else {\r\n          vertical = 'bottom';\r\n        }\r\n      } // Left and right logic\r\n\r\n\r\n      if (horizontal === 'auto') {\r\n        if (parent.width() < offset.left + self.widget.outerWidth() / 2 && offset.left + self.widget.outerWidth() > $(window).width()) {\r\n          horizontal = 'right';\r\n        } else {\r\n          horizontal = 'left';\r\n        }\r\n      }\r\n\r\n      if (vertical === 'top') {\r\n        self.widget.addClass('top').removeClass('bottom');\r\n      } else {\r\n        self.widget.addClass('bottom').removeClass('top');\r\n      }\r\n\r\n      if (horizontal === 'right') {\r\n        self.widget.addClass('float-right');\r\n      } else {\r\n        self.widget.removeClass('float-right');\r\n      } // find the first parent element that has a relative css positioning\r\n\r\n\r\n      if (parent.css('position') !== 'relative') {\r\n        parent = parent.parents().filter(function () {\r\n          return $(this).css('position') === 'relative';\r\n        }).first();\r\n      }\r\n\r\n      if (parent.length === 0) {\r\n        throw new Error('datetimepicker component should be placed within a relative positioned container');\r\n      }\r\n\r\n      self.widget.css({\r\n        top: vertical === 'top' ? 'auto' : position.top + self._element.outerHeight() + 'px',\r\n        bottom: vertical === 'top' ? parent.outerHeight() - (parent === self._element ? 0 : position.top) + 'px' : 'auto',\r\n        left: horizontal === 'left' ? (parent === self._element ? 0 : position.left) + 'px' : 'auto',\r\n        right: horizontal === 'left' ? 'auto' : parent.outerWidth() - self._element.outerWidth() - (parent === self._element ? 0 : position.left) + 'px'\r\n      });\r\n    };\r\n\r\n    _proto2._fillDow = function _fillDow() {\r\n      var row = $('<tr>'),\r\n          currentDate = this._viewDate.clone().startOf('w').startOf('d');\r\n\r\n      if (this._options.calendarWeeks === true) {\r\n        row.append($('<th>').addClass('cw').text('#'));\r\n      }\r\n\r\n      while (currentDate.isBefore(this._viewDate.clone().endOf('w'))) {\r\n        row.append($('<th>').addClass('dow').text(currentDate.format('dd')));\r\n        currentDate.add(1, 'd');\r\n      }\r\n\r\n      this.widget.find('.datepicker-days thead').append(row);\r\n    };\r\n\r\n    _proto2._fillMonths = function _fillMonths() {\r\n      var spans = [],\r\n          monthsShort = this._viewDate.clone().startOf('y').startOf('d');\r\n\r\n      while (monthsShort.isSame(this._viewDate, 'y')) {\r\n        spans.push($('<span>').attr('data-action', 'selectMonth').addClass('month').text(monthsShort.format('MMM')));\r\n        monthsShort.add(1, 'M');\r\n      }\r\n\r\n      this.widget.find('.datepicker-months td').empty().append(spans);\r\n    };\r\n\r\n    _proto2._updateMonths = function _updateMonths() {\r\n      var monthsView = this.widget.find('.datepicker-months'),\r\n          monthsViewHeader = monthsView.find('th'),\r\n          months = monthsView.find('tbody').find('span'),\r\n          self = this,\r\n          lastPickedDate = this._getLastPickedDate();\r\n\r\n      monthsViewHeader.eq(0).find('span').attr('title', this._options.tooltips.prevYear);\r\n      monthsViewHeader.eq(1).attr('title', this._options.tooltips.selectYear);\r\n      monthsViewHeader.eq(2).find('span').attr('title', this._options.tooltips.nextYear);\r\n      monthsView.find('.disabled').removeClass('disabled');\r\n\r\n      if (!this._isValid(this._viewDate.clone().subtract(1, 'y'), 'y')) {\r\n        monthsViewHeader.eq(0).addClass('disabled');\r\n      }\r\n\r\n      monthsViewHeader.eq(1).text(this._viewDate.year());\r\n\r\n      if (!this._isValid(this._viewDate.clone().add(1, 'y'), 'y')) {\r\n        monthsViewHeader.eq(2).addClass('disabled');\r\n      }\r\n\r\n      months.removeClass('active');\r\n\r\n      if (lastPickedDate && lastPickedDate.isSame(this._viewDate, 'y') && !this.unset) {\r\n        months.eq(lastPickedDate.month()).addClass('active');\r\n      }\r\n\r\n      months.each(function (index) {\r\n        if (!self._isValid(self._viewDate.clone().month(index), 'M')) {\r\n          $(this).addClass('disabled');\r\n        }\r\n      });\r\n    };\r\n\r\n    _proto2._getStartEndYear = function _getStartEndYear(factor, year) {\r\n      var step = factor / 10,\r\n          startYear = Math.floor(year / factor) * factor,\r\n          endYear = startYear + step * 9,\r\n          focusValue = Math.floor(year / step) * step;\r\n      return [startYear, endYear, focusValue];\r\n    };\r\n\r\n    _proto2._updateYears = function _updateYears() {\r\n      var yearsView = this.widget.find('.datepicker-years'),\r\n          yearsViewHeader = yearsView.find('th'),\r\n          yearCaps = this._getStartEndYear(10, this._viewDate.year()),\r\n          startYear = this._viewDate.clone().year(yearCaps[0]),\r\n          endYear = this._viewDate.clone().year(yearCaps[1]);\r\n\r\n      var html = '';\r\n      yearsViewHeader.eq(0).find('span').attr('title', this._options.tooltips.prevDecade);\r\n      yearsViewHeader.eq(1).attr('title', this._options.tooltips.selectDecade);\r\n      yearsViewHeader.eq(2).find('span').attr('title', this._options.tooltips.nextDecade);\r\n      yearsView.find('.disabled').removeClass('disabled');\r\n\r\n      if (this._options.minDate && this._options.minDate.isAfter(startYear, 'y')) {\r\n        yearsViewHeader.eq(0).addClass('disabled');\r\n      }\r\n\r\n      yearsViewHeader.eq(1).text(startYear.year() + \"-\" + endYear.year());\r\n\r\n      if (this._options.maxDate && this._options.maxDate.isBefore(endYear, 'y')) {\r\n        yearsViewHeader.eq(2).addClass('disabled');\r\n      }\r\n\r\n      html += \"<span data-action=\\\"selectYear\\\" class=\\\"year old\" + (!this._isValid(startYear, 'y') ? ' disabled' : '') + \"\\\">\" + (startYear.year() - 1) + \"</span>\";\r\n\r\n      while (!startYear.isAfter(endYear, 'y')) {\r\n        html += \"<span data-action=\\\"selectYear\\\" class=\\\"year\" + (startYear.isSame(this._getLastPickedDate(), 'y') && !this.unset ? ' active' : '') + (!this._isValid(startYear, 'y') ? ' disabled' : '') + \"\\\">\" + startYear.year() + \"</span>\";\r\n        startYear.add(1, 'y');\r\n      }\r\n\r\n      html += \"<span data-action=\\\"selectYear\\\" class=\\\"year old\" + (!this._isValid(startYear, 'y') ? ' disabled' : '') + \"\\\">\" + startYear.year() + \"</span>\";\r\n      yearsView.find('td').html(html);\r\n    };\r\n\r\n    _proto2._updateDecades = function _updateDecades() {\r\n      var decadesView = this.widget.find('.datepicker-decades'),\r\n          decadesViewHeader = decadesView.find('th'),\r\n          yearCaps = this._getStartEndYear(100, this._viewDate.year()),\r\n          startDecade = this._viewDate.clone().year(yearCaps[0]),\r\n          endDecade = this._viewDate.clone().year(yearCaps[1]),\r\n          lastPickedDate = this._getLastPickedDate();\r\n\r\n      var minDateDecade = false,\r\n          maxDateDecade = false,\r\n          endDecadeYear,\r\n          html = '';\r\n      decadesViewHeader.eq(0).find('span').attr('title', this._options.tooltips.prevCentury);\r\n      decadesViewHeader.eq(2).find('span').attr('title', this._options.tooltips.nextCentury);\r\n      decadesView.find('.disabled').removeClass('disabled');\r\n\r\n      if (startDecade.year() === 0 || this._options.minDate && this._options.minDate.isAfter(startDecade, 'y')) {\r\n        decadesViewHeader.eq(0).addClass('disabled');\r\n      }\r\n\r\n      decadesViewHeader.eq(1).text(startDecade.year() + \"-\" + endDecade.year());\r\n\r\n      if (this._options.maxDate && this._options.maxDate.isBefore(endDecade, 'y')) {\r\n        decadesViewHeader.eq(2).addClass('disabled');\r\n      }\r\n\r\n      if (startDecade.year() - 10 < 0) {\r\n        html += '<span>&nbsp;</span>';\r\n      } else {\r\n        html += \"<span data-action=\\\"selectDecade\\\" class=\\\"decade old\\\" data-selection=\\\"\" + (startDecade.year() + 6) + \"\\\">\" + (startDecade.year() - 10) + \"</span>\";\r\n      }\r\n\r\n      while (!startDecade.isAfter(endDecade, 'y')) {\r\n        endDecadeYear = startDecade.year() + 11;\r\n        minDateDecade = this._options.minDate && this._options.minDate.isAfter(startDecade, 'y') && this._options.minDate.year() <= endDecadeYear;\r\n        maxDateDecade = this._options.maxDate && this._options.maxDate.isAfter(startDecade, 'y') && this._options.maxDate.year() <= endDecadeYear;\r\n        html += \"<span data-action=\\\"selectDecade\\\" class=\\\"decade\" + (lastPickedDate && lastPickedDate.isAfter(startDecade) && lastPickedDate.year() <= endDecadeYear ? ' active' : '') + (!this._isValid(startDecade, 'y') && !minDateDecade && !maxDateDecade ? ' disabled' : '') + \"\\\" data-selection=\\\"\" + (startDecade.year() + 6) + \"\\\">\" + startDecade.year() + \"</span>\";\r\n        startDecade.add(10, 'y');\r\n      }\r\n\r\n      html += \"<span data-action=\\\"selectDecade\\\" class=\\\"decade old\\\" data-selection=\\\"\" + (startDecade.year() + 6) + \"\\\">\" + startDecade.year() + \"</span>\";\r\n      decadesView.find('td').html(html);\r\n    };\r\n\r\n    _proto2._fillDate = function _fillDate() {\r\n      _DateTimePicker.prototype._fillDate.call(this);\r\n\r\n      var daysView = this.widget.find('.datepicker-days'),\r\n          daysViewHeader = daysView.find('th'),\r\n          html = [];\r\n      var currentDate, row, clsName, i;\r\n\r\n      if (!this._hasDate()) {\r\n        return;\r\n      }\r\n\r\n      daysViewHeader.eq(0).find('span').attr('title', this._options.tooltips.prevMonth);\r\n      daysViewHeader.eq(1).attr('title', this._options.tooltips.selectMonth);\r\n      daysViewHeader.eq(2).find('span').attr('title', this._options.tooltips.nextMonth);\r\n      daysView.find('.disabled').removeClass('disabled');\r\n      daysViewHeader.eq(1).text(this._viewDate.format(this._options.dayViewHeaderFormat));\r\n\r\n      if (!this._isValid(this._viewDate.clone().subtract(1, 'M'), 'M')) {\r\n        daysViewHeader.eq(0).addClass('disabled');\r\n      }\r\n\r\n      if (!this._isValid(this._viewDate.clone().add(1, 'M'), 'M')) {\r\n        daysViewHeader.eq(2).addClass('disabled');\r\n      }\r\n\r\n      currentDate = this._viewDate.clone().startOf('M').startOf('w').startOf('d');\r\n\r\n      for (i = 0; i < 42; i++) {\r\n        //always display 42 days (should show 6 weeks)\r\n        if (currentDate.weekday() === 0) {\r\n          row = $('<tr>');\r\n\r\n          if (this._options.calendarWeeks) {\r\n            row.append(\"<td class=\\\"cw\\\">\" + currentDate.week() + \"</td>\");\r\n          }\r\n\r\n          html.push(row);\r\n        }\r\n\r\n        clsName = '';\r\n\r\n        if (currentDate.isBefore(this._viewDate, 'M')) {\r\n          clsName += ' old';\r\n        }\r\n\r\n        if (currentDate.isAfter(this._viewDate, 'M')) {\r\n          clsName += ' new';\r\n        }\r\n\r\n        if (this._options.allowMultidate) {\r\n          var index = this._datesFormatted.indexOf(currentDate.format('YYYY-MM-DD'));\r\n\r\n          if (index !== -1) {\r\n            if (currentDate.isSame(this._datesFormatted[index], 'd') && !this.unset) {\r\n              clsName += ' active';\r\n            }\r\n          }\r\n        } else {\r\n          if (currentDate.isSame(this._getLastPickedDate(), 'd') && !this.unset) {\r\n            clsName += ' active';\r\n          }\r\n        }\r\n\r\n        if (!this._isValid(currentDate, 'd')) {\r\n          clsName += ' disabled';\r\n        }\r\n\r\n        if (currentDate.isSame(this.getMoment(), 'd')) {\r\n          clsName += ' today';\r\n        }\r\n\r\n        if (currentDate.day() === 0 || currentDate.day() === 6) {\r\n          clsName += ' weekend';\r\n        }\r\n\r\n        row.append(\"<td data-action=\\\"selectDay\\\" data-day=\\\"\" + currentDate.format('L') + \"\\\" class=\\\"day\" + clsName + \"\\\">\" + currentDate.date() + \"</td>\");\r\n        currentDate.add(1, 'd');\r\n      }\r\n\r\n      $('body').addClass('tempusdominus-bootstrap-datetimepicker-widget-day-click');\r\n      $('body').append('<div class=\"tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel\"></div>');\r\n      daysView.find('tbody').empty().append(html);\r\n      $('body').find('.tempusdominus-bootstrap-datetimepicker-widget-day-click-glass-panel').remove();\r\n      $('body').removeClass('tempusdominus-bootstrap-datetimepicker-widget-day-click');\r\n\r\n      this._updateMonths();\r\n\r\n      this._updateYears();\r\n\r\n      this._updateDecades();\r\n    };\r\n\r\n    _proto2._fillHours = function _fillHours() {\r\n      var table = this.widget.find('.timepicker-hours table'),\r\n          currentHour = this._viewDate.clone().startOf('d'),\r\n          html = [];\r\n\r\n      var row = $('<tr>');\r\n\r\n      if (this._viewDate.hour() > 11 && !this.use24Hours) {\r\n        currentHour.hour(12);\r\n      }\r\n\r\n      while (currentHour.isSame(this._viewDate, 'd') && (this.use24Hours || this._viewDate.hour() < 12 && currentHour.hour() < 12 || this._viewDate.hour() > 11)) {\r\n        if (currentHour.hour() % 4 === 0) {\r\n          row = $('<tr>');\r\n          html.push(row);\r\n        }\r\n\r\n        row.append(\"<td data-action=\\\"selectHour\\\" class=\\\"hour\" + (!this._isValid(currentHour, 'h') ? ' disabled' : '') + \"\\\">\" + currentHour.format(this.use24Hours ? 'HH' : 'hh') + \"</td>\");\r\n        currentHour.add(1, 'h');\r\n      }\r\n\r\n      table.empty().append(html);\r\n    };\r\n\r\n    _proto2._fillMinutes = function _fillMinutes() {\r\n      var table = this.widget.find('.timepicker-minutes table'),\r\n          currentMinute = this._viewDate.clone().startOf('h'),\r\n          html = [],\r\n          step = this._options.stepping === 1 ? 5 : this._options.stepping;\r\n\r\n      var row = $('<tr>');\r\n\r\n      while (this._viewDate.isSame(currentMinute, 'h')) {\r\n        if (currentMinute.minute() % (step * 4) === 0) {\r\n          row = $('<tr>');\r\n          html.push(row);\r\n        }\r\n\r\n        row.append(\"<td data-action=\\\"selectMinute\\\" class=\\\"minute\" + (!this._isValid(currentMinute, 'm') ? ' disabled' : '') + \"\\\">\" + currentMinute.format('mm') + \"</td>\");\r\n        currentMinute.add(step, 'm');\r\n      }\r\n\r\n      table.empty().append(html);\r\n    };\r\n\r\n    _proto2._fillSeconds = function _fillSeconds() {\r\n      var table = this.widget.find('.timepicker-seconds table'),\r\n          currentSecond = this._viewDate.clone().startOf('m'),\r\n          html = [];\r\n\r\n      var row = $('<tr>');\r\n\r\n      while (this._viewDate.isSame(currentSecond, 'm')) {\r\n        if (currentSecond.second() % 20 === 0) {\r\n          row = $('<tr>');\r\n          html.push(row);\r\n        }\r\n\r\n        row.append(\"<td data-action=\\\"selectSecond\\\" class=\\\"second\" + (!this._isValid(currentSecond, 's') ? ' disabled' : '') + \"\\\">\" + currentSecond.format('ss') + \"</td>\");\r\n        currentSecond.add(5, 's');\r\n      }\r\n\r\n      table.empty().append(html);\r\n    };\r\n\r\n    _proto2._fillTime = function _fillTime() {\r\n      var toggle, newDate;\r\n\r\n      var timeComponents = this.widget.find('.timepicker span[data-time-component]'),\r\n          lastPickedDate = this._getLastPickedDate();\r\n\r\n      if (!this.use24Hours) {\r\n        toggle = this.widget.find('.timepicker [data-action=togglePeriod]');\r\n        newDate = lastPickedDate ? lastPickedDate.clone().add(lastPickedDate.hours() >= 12 ? -12 : 12, 'h') : void 0;\r\n        lastPickedDate && toggle.text(lastPickedDate.format('A'));\r\n\r\n        if (this._isValid(newDate, 'h')) {\r\n          toggle.removeClass('disabled');\r\n        } else {\r\n          toggle.addClass('disabled');\r\n        }\r\n      }\r\n\r\n      lastPickedDate && timeComponents.filter('[data-time-component=hours]').text(lastPickedDate.format(\"\" + (this.use24Hours ? 'HH' : 'hh')));\r\n      lastPickedDate && timeComponents.filter('[data-time-component=minutes]').text(lastPickedDate.format('mm'));\r\n      lastPickedDate && timeComponents.filter('[data-time-component=seconds]').text(lastPickedDate.format('ss'));\r\n\r\n      this._fillHours();\r\n\r\n      this._fillMinutes();\r\n\r\n      this._fillSeconds();\r\n    };\r\n\r\n    _proto2._doAction = function _doAction(e, action) {\r\n      var lastPicked = this._getLastPickedDate();\r\n\r\n      if ($(e.currentTarget).is('.disabled')) {\r\n        return false;\r\n      }\r\n\r\n      action = action || $(e.currentTarget).data('action');\r\n\r\n      switch (action) {\r\n        case 'next':\r\n          {\r\n            var navFnc = DateTimePicker.DatePickerModes[this.currentViewMode].NAV_FUNCTION;\r\n\r\n            this._viewDate.add(DateTimePicker.DatePickerModes[this.currentViewMode].NAV_STEP, navFnc);\r\n\r\n            this._fillDate();\r\n\r\n            this._viewUpdate(navFnc);\r\n\r\n            break;\r\n          }\r\n\r\n        case 'previous':\r\n          {\r\n            var _navFnc = DateTimePicker.DatePickerModes[this.currentViewMode].NAV_FUNCTION;\r\n\r\n            this._viewDate.subtract(DateTimePicker.DatePickerModes[this.currentViewMode].NAV_STEP, _navFnc);\r\n\r\n            this._fillDate();\r\n\r\n            this._viewUpdate(_navFnc);\r\n\r\n            break;\r\n          }\r\n\r\n        case 'pickerSwitch':\r\n          this._showMode(1);\r\n\r\n          break;\r\n\r\n        case 'selectMonth':\r\n          {\r\n            var month = $(e.target).closest('tbody').find('span').index($(e.target));\r\n\r\n            this._viewDate.month(month);\r\n\r\n            if (this.currentViewMode === this.MinViewModeNumber) {\r\n              this._setValue(lastPicked.clone().year(this._viewDate.year()).month(this._viewDate.month()), this._getLastPickedDateIndex());\r\n\r\n              if (!this._options.inline) {\r\n                this.hide();\r\n              }\r\n            } else {\r\n              this._showMode(-1);\r\n\r\n              this._fillDate();\r\n            }\r\n\r\n            this._viewUpdate('M');\r\n\r\n            break;\r\n          }\r\n\r\n        case 'selectYear':\r\n          {\r\n            var year = parseInt($(e.target).text(), 10) || 0;\r\n\r\n            this._viewDate.year(year);\r\n\r\n            if (this.currentViewMode === this.MinViewModeNumber) {\r\n              this._setValue(lastPicked.clone().year(this._viewDate.year()), this._getLastPickedDateIndex());\r\n\r\n              if (!this._options.inline) {\r\n                this.hide();\r\n              }\r\n            } else {\r\n              this._showMode(-1);\r\n\r\n              this._fillDate();\r\n            }\r\n\r\n            this._viewUpdate('YYYY');\r\n\r\n            break;\r\n          }\r\n\r\n        case 'selectDecade':\r\n          {\r\n            var _year = parseInt($(e.target).data('selection'), 10) || 0;\r\n\r\n            this._viewDate.year(_year);\r\n\r\n            if (this.currentViewMode === this.MinViewModeNumber) {\r\n              this._setValue(lastPicked.clone().year(this._viewDate.year()), this._getLastPickedDateIndex());\r\n\r\n              if (!this._options.inline) {\r\n                this.hide();\r\n              }\r\n            } else {\r\n              this._showMode(-1);\r\n\r\n              this._fillDate();\r\n            }\r\n\r\n            this._viewUpdate('YYYY');\r\n\r\n            break;\r\n          }\r\n\r\n        case 'selectDay':\r\n          {\r\n            var day = this._viewDate.clone();\r\n\r\n            if ($(e.target).is('.old')) {\r\n              day.subtract(1, 'M');\r\n            }\r\n\r\n            if ($(e.target).is('.new')) {\r\n              day.add(1, 'M');\r\n            }\r\n\r\n            var selectDate = day.date(parseInt($(e.target).text(), 10)),\r\n                index = 0;\r\n\r\n            if (this._options.allowMultidate) {\r\n              index = this._datesFormatted.indexOf(selectDate.format('YYYY-MM-DD'));\r\n\r\n              if (index !== -1) {\r\n                this._setValue(null, index); //deselect multidate\r\n\r\n              } else {\r\n                this._setValue(selectDate, this._getLastPickedDateIndex() + 1);\r\n              }\r\n            } else {\r\n              this._setValue(selectDate, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            if (!this._hasTime() && !this._options.keepOpen && !this._options.inline && !this._options.allowMultidate) {\r\n              this.hide();\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'incrementHours':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var newDate = lastPicked.clone().add(1, 'h');\r\n\r\n            if (this._isValid(newDate, 'h')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(newDate);\r\n              }\r\n\r\n              this._setValue(newDate, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'incrementMinutes':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var _newDate = lastPicked.clone().add(this._options.stepping, 'm');\r\n\r\n            if (this._isValid(_newDate, 'm')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(_newDate);\r\n              }\r\n\r\n              this._setValue(_newDate, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'incrementSeconds':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var _newDate2 = lastPicked.clone().add(1, 's');\r\n\r\n            if (this._isValid(_newDate2, 's')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(_newDate2);\r\n              }\r\n\r\n              this._setValue(_newDate2, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'decrementHours':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var _newDate3 = lastPicked.clone().subtract(1, 'h');\r\n\r\n            if (this._isValid(_newDate3, 'h')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(_newDate3);\r\n              }\r\n\r\n              this._setValue(_newDate3, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'decrementMinutes':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var _newDate4 = lastPicked.clone().subtract(this._options.stepping, 'm');\r\n\r\n            if (this._isValid(_newDate4, 'm')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(_newDate4);\r\n              }\r\n\r\n              this._setValue(_newDate4, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'decrementSeconds':\r\n          {\r\n            if (!lastPicked) {\r\n              break;\r\n            }\r\n\r\n            var _newDate5 = lastPicked.clone().subtract(1, 's');\r\n\r\n            if (this._isValid(_newDate5, 's')) {\r\n              if (this._getLastPickedDateIndex() < 0) {\r\n                this.date(_newDate5);\r\n              }\r\n\r\n              this._setValue(_newDate5, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'togglePeriod':\r\n          {\r\n            this._setValue(lastPicked.clone().add(lastPicked.hours() >= 12 ? -12 : 12, 'h'), this._getLastPickedDateIndex());\r\n\r\n            break;\r\n          }\r\n\r\n        case 'togglePicker':\r\n          {\r\n            var $this = $(e.target),\r\n                $link = $this.closest('a'),\r\n                $parent = $this.closest('ul'),\r\n                expanded = $parent.find('.show'),\r\n                closed = $parent.find('.collapse:not(.show)'),\r\n                $span = $this.is('span') ? $this : $this.find('span');\r\n            var collapseData, inactiveIcon, iconTest;\r\n\r\n            if (expanded && expanded.length) {\r\n              collapseData = expanded.data('collapse');\r\n\r\n              if (collapseData && collapseData.transitioning) {\r\n                return true;\r\n              }\r\n\r\n              if (expanded.collapse) {\r\n                // if collapse plugin is available through bootstrap.js then use it\r\n                expanded.collapse('hide');\r\n                closed.collapse('show');\r\n              } else {\r\n                // otherwise just toggle in class on the two views\r\n                expanded.removeClass('show');\r\n                closed.addClass('show');\r\n              }\r\n\r\n              if (this._useFeatherIcons()) {\r\n                $link.toggleClass(this._options.icons.time + ' ' + this._options.icons.date);\r\n                inactiveIcon = $link.hasClass(this._options.icons.time) ? this._options.icons.date : this._options.icons.time;\r\n                $link.html(this._iconTag(inactiveIcon));\r\n              } else {\r\n                $span.toggleClass(this._options.icons.time + ' ' + this._options.icons.date);\r\n              }\r\n\r\n              if (this._useFeatherIcons()) {\r\n                iconTest = $link.hasClass(this._options.icons.date);\r\n              } else {\r\n                iconTest = $span.hasClass(this._options.icons.date);\r\n              }\r\n\r\n              if (iconTest) {\r\n                $link.attr('title', this._options.tooltips.selectDate);\r\n              } else {\r\n                $link.attr('title', this._options.tooltips.selectTime);\r\n              }\r\n            }\r\n          }\r\n          break;\r\n\r\n        case 'showPicker':\r\n          this.widget.find('.timepicker > div:not(.timepicker-picker)').hide();\r\n          this.widget.find('.timepicker .timepicker-picker').show();\r\n          break;\r\n\r\n        case 'showHours':\r\n          this.widget.find('.timepicker .timepicker-picker').hide();\r\n          this.widget.find('.timepicker .timepicker-hours').show();\r\n          break;\r\n\r\n        case 'showMinutes':\r\n          this.widget.find('.timepicker .timepicker-picker').hide();\r\n          this.widget.find('.timepicker .timepicker-minutes').show();\r\n          break;\r\n\r\n        case 'showSeconds':\r\n          this.widget.find('.timepicker .timepicker-picker').hide();\r\n          this.widget.find('.timepicker .timepicker-seconds').show();\r\n          break;\r\n\r\n        case 'selectHour':\r\n          {\r\n            var hour = parseInt($(e.target).text(), 10);\r\n\r\n            if (!this.use24Hours) {\r\n              if (lastPicked.hours() >= 12) {\r\n                if (hour !== 12) {\r\n                  hour += 12;\r\n                }\r\n              } else {\r\n                if (hour === 12) {\r\n                  hour = 0;\r\n                }\r\n              }\r\n            }\r\n\r\n            this._setValue(lastPicked.clone().hours(hour), this._getLastPickedDateIndex());\r\n\r\n            if (!this._isEnabled('a') && !this._isEnabled('m') && !this._options.keepOpen && !this._options.inline) {\r\n              this.hide();\r\n            } else {\r\n              this._doAction(e, 'showPicker');\r\n            }\r\n\r\n            break;\r\n          }\r\n\r\n        case 'selectMinute':\r\n          this._setValue(lastPicked.clone().minutes(parseInt($(e.target).text(), 10)), this._getLastPickedDateIndex());\r\n\r\n          if (!this._isEnabled('a') && !this._isEnabled('s') && !this._options.keepOpen && !this._options.inline) {\r\n            this.hide();\r\n          } else {\r\n            this._doAction(e, 'showPicker');\r\n          }\r\n\r\n          break;\r\n\r\n        case 'selectSecond':\r\n          this._setValue(lastPicked.clone().seconds(parseInt($(e.target).text(), 10)), this._getLastPickedDateIndex());\r\n\r\n          if (!this._isEnabled('a') && !this._options.keepOpen && !this._options.inline) {\r\n            this.hide();\r\n          } else {\r\n            this._doAction(e, 'showPicker');\r\n          }\r\n\r\n          break;\r\n\r\n        case 'clear':\r\n          this.clear();\r\n          break;\r\n\r\n        case 'close':\r\n          this.hide();\r\n          break;\r\n\r\n        case 'today':\r\n          {\r\n            var todaysDate = this.getMoment();\r\n\r\n            if (this._isValid(todaysDate, 'd')) {\r\n              this._setValue(todaysDate, this._getLastPickedDateIndex());\r\n            }\r\n\r\n            break;\r\n          }\r\n      }\r\n\r\n      return false;\r\n    } //public\r\n    ;\r\n\r\n    _proto2.hide = function hide() {\r\n      var transitioning = false;\r\n\r\n      if (!this.widget) {\r\n        return;\r\n      } // Ignore event if in the middle of a picker transition\r\n\r\n\r\n      this.widget.find('.collapse').each(function () {\r\n        var collapseData = $(this).data('collapse');\r\n\r\n        if (collapseData && collapseData.transitioning) {\r\n          transitioning = true;\r\n          return false;\r\n        }\r\n\r\n        return true;\r\n      });\r\n\r\n      if (transitioning) {\r\n        return;\r\n      }\r\n\r\n      if (this.component && this.component.hasClass('btn')) {\r\n        this.component.toggleClass('active');\r\n      }\r\n\r\n      this.widget.hide();\r\n      $(window).off('resize', this._place);\r\n      this.widget.off('click', '[data-action]');\r\n      this.widget.off('mousedown', false);\r\n      this.widget.remove();\r\n      this.widget = false;\r\n\r\n      if (this.input !== undefined && this.input.val() !== undefined && this.input.val().trim().length !== 0) {\r\n        this._setValue(this._parseInputDate(this.input.val().trim(), {\r\n          isPickerShow: false\r\n        }), 0);\r\n      }\r\n\r\n      var lastPickedDate = this._getLastPickedDate();\r\n\r\n      this._notifyEvent({\r\n        type: DateTimePicker.Event.HIDE,\r\n        date: this.unset ? null : lastPickedDate ? lastPickedDate.clone() : void 0\r\n      });\r\n\r\n      if (this.input !== undefined) {\r\n        this.input.blur();\r\n      }\r\n\r\n      this._viewDate = lastPickedDate ? lastPickedDate.clone() : this.getMoment();\r\n    };\r\n\r\n    _proto2.show = function show() {\r\n      var currentMoment,\r\n          shouldUseCurrentIfUnset = false;\r\n      var useCurrentGranularity = {\r\n        'year': function year(m) {\r\n          return m.month(0).date(1).hours(0).seconds(0).minutes(0);\r\n        },\r\n        'month': function month(m) {\r\n          return m.date(1).hours(0).seconds(0).minutes(0);\r\n        },\r\n        'day': function day(m) {\r\n          return m.hours(0).seconds(0).minutes(0);\r\n        },\r\n        'hour': function hour(m) {\r\n          return m.seconds(0).minutes(0);\r\n        },\r\n        'minute': function minute(m) {\r\n          return m.seconds(0);\r\n        }\r\n      };\r\n\r\n      if (this.input !== undefined) {\r\n        if (this.input.prop('disabled') || !this._options.ignoreReadonly && this.input.prop('readonly') || this.widget) {\r\n          return;\r\n        }\r\n\r\n        if (this.input.val() !== undefined && this.input.val().trim().length !== 0) {\r\n          this._setValue(this._parseInputDate(this.input.val().trim(), {\r\n            isPickerShow: true\r\n          }), 0);\r\n        } else {\r\n          shouldUseCurrentIfUnset = true;\r\n        }\r\n      } else {\r\n        shouldUseCurrentIfUnset = true;\r\n      }\r\n\r\n      if (shouldUseCurrentIfUnset && this.unset && this._options.useCurrent) {\r\n        currentMoment = this.getMoment();\r\n\r\n        if (typeof this._options.useCurrent === 'string') {\r\n          currentMoment = useCurrentGranularity[this._options.useCurrent](currentMoment);\r\n        }\r\n\r\n        this._setValue(currentMoment, 0);\r\n      }\r\n\r\n      this.widget = this._getTemplate();\r\n\r\n      this._fillDow();\r\n\r\n      this._fillMonths();\r\n\r\n      this.widget.find('.timepicker-hours').hide();\r\n      this.widget.find('.timepicker-minutes').hide();\r\n      this.widget.find('.timepicker-seconds').hide();\r\n\r\n      this._update();\r\n\r\n      this._showMode();\r\n\r\n      $(window).on('resize', {\r\n        picker: this\r\n      }, this._place);\r\n      this.widget.on('click', '[data-action]', $.proxy(this._doAction, this)); // this handles clicks on the widget\r\n\r\n      this.widget.on('mousedown', false);\r\n\r\n      if (this.component && this.component.hasClass('btn')) {\r\n        this.component.toggleClass('active');\r\n      }\r\n\r\n      this._place();\r\n\r\n      this.widget.show();\r\n\r\n      if (this.input !== undefined && this._options.focusOnShow && !this.input.is(':focus')) {\r\n        this.input.focus();\r\n      }\r\n\r\n      this._notifyEvent({\r\n        type: DateTimePicker.Event.SHOW\r\n      });\r\n    };\r\n\r\n    _proto2.destroy = function destroy() {\r\n      this.hide(); //todo doc off?\r\n\r\n      this._element.removeData(DateTimePicker.DATA_KEY);\r\n\r\n      this._element.removeData('date');\r\n    };\r\n\r\n    _proto2.disable = function disable() {\r\n      this.hide();\r\n\r\n      if (this.component && this.component.hasClass('btn')) {\r\n        this.component.addClass('disabled');\r\n      }\r\n\r\n      if (this.input !== undefined) {\r\n        this.input.prop('disabled', true); //todo disable this/comp if input is null\r\n      }\r\n    };\r\n\r\n    _proto2.enable = function enable() {\r\n      if (this.component && this.component.hasClass('btn')) {\r\n        this.component.removeClass('disabled');\r\n      }\r\n\r\n      if (this.input !== undefined) {\r\n        this.input.prop('disabled', false); //todo enable comp/this if input is null\r\n      }\r\n    };\r\n\r\n    _proto2.toolbarPlacement = function toolbarPlacement(_toolbarPlacement) {\r\n      if (arguments.length === 0) {\r\n        return this._options.toolbarPlacement;\r\n      }\r\n\r\n      if (typeof _toolbarPlacement !== 'string') {\r\n        throw new TypeError('toolbarPlacement() expects a string parameter');\r\n      }\r\n\r\n      if (toolbarPlacements.indexOf(_toolbarPlacement) === -1) {\r\n        throw new TypeError(\"toolbarPlacement() parameter must be one of (\" + toolbarPlacements.join(', ') + \") value\");\r\n      }\r\n\r\n      this._options.toolbarPlacement = _toolbarPlacement;\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto2.widgetPositioning = function widgetPositioning(_widgetPositioning) {\r\n      if (arguments.length === 0) {\r\n        return $.extend({}, this._options.widgetPositioning);\r\n      }\r\n\r\n      if ({}.toString.call(_widgetPositioning) !== '[object Object]') {\r\n        throw new TypeError('widgetPositioning() expects an object variable');\r\n      }\r\n\r\n      if (_widgetPositioning.horizontal) {\r\n        if (typeof _widgetPositioning.horizontal !== 'string') {\r\n          throw new TypeError('widgetPositioning() horizontal variable must be a string');\r\n        }\r\n\r\n        _widgetPositioning.horizontal = _widgetPositioning.horizontal.toLowerCase();\r\n\r\n        if (horizontalModes.indexOf(_widgetPositioning.horizontal) === -1) {\r\n          throw new TypeError(\"widgetPositioning() expects horizontal parameter to be one of (\" + horizontalModes.join(', ') + \")\");\r\n        }\r\n\r\n        this._options.widgetPositioning.horizontal = _widgetPositioning.horizontal;\r\n      }\r\n\r\n      if (_widgetPositioning.vertical) {\r\n        if (typeof _widgetPositioning.vertical !== 'string') {\r\n          throw new TypeError('widgetPositioning() vertical variable must be a string');\r\n        }\r\n\r\n        _widgetPositioning.vertical = _widgetPositioning.vertical.toLowerCase();\r\n\r\n        if (verticalModes.indexOf(_widgetPositioning.vertical) === -1) {\r\n          throw new TypeError(\"widgetPositioning() expects vertical parameter to be one of (\" + verticalModes.join(', ') + \")\");\r\n        }\r\n\r\n        this._options.widgetPositioning.vertical = _widgetPositioning.vertical;\r\n      }\r\n\r\n      this._update();\r\n    };\r\n\r\n    _proto2.widgetParent = function widgetParent(_widgetParent) {\r\n      if (arguments.length === 0) {\r\n        return this._options.widgetParent;\r\n      }\r\n\r\n      if (typeof _widgetParent === 'string') {\r\n        _widgetParent = $(_widgetParent);\r\n      }\r\n\r\n      if (_widgetParent !== null && typeof _widgetParent !== 'string' && !(_widgetParent instanceof $)) {\r\n        throw new TypeError('widgetParent() expects a string or a jQuery object parameter');\r\n      }\r\n\r\n      this._options.widgetParent = _widgetParent;\r\n\r\n      if (this.widget) {\r\n        this.hide();\r\n        this.show();\r\n      }\r\n    };\r\n\r\n    _proto2.setMultiDate = function setMultiDate(multiDateArray) {\r\n      var dateFormat = this._options.format;\r\n      this.clear();\r\n\r\n      for (var index = 0; index < multiDateArray.length; index++) {\r\n        var date = moment(multiDateArray[index], dateFormat);\r\n\r\n        this._setValue(date, index);\r\n      }\r\n    } //static\r\n    ;\r\n\r\n    TempusDominusBootstrap4._jQueryHandleThis = function _jQueryHandleThis(me, option, argument) {\r\n      var data = $(me).data(DateTimePicker.DATA_KEY);\r\n\r\n      if (typeof option === 'object') {\r\n        $.extend({}, DateTimePicker.Default, option);\r\n      }\r\n\r\n      if (!data) {\r\n        data = new TempusDominusBootstrap4($(me), option);\r\n        $(me).data(DateTimePicker.DATA_KEY, data);\r\n      }\r\n\r\n      if (typeof option === 'string') {\r\n        if (data[option] === undefined) {\r\n          throw new Error(\"No method named \\\"\" + option + \"\\\"\");\r\n        }\r\n\r\n        if (argument === undefined) {\r\n          return data[option]();\r\n        } else {\r\n          if (option === 'date') {\r\n            data.isDateUpdateThroughDateOptionFromClientCode = true;\r\n          }\r\n\r\n          var ret = data[option](argument);\r\n          data.isDateUpdateThroughDateOptionFromClientCode = false;\r\n          return ret;\r\n        }\r\n      }\r\n    };\r\n\r\n    TempusDominusBootstrap4._jQueryInterface = function _jQueryInterface(option, argument) {\r\n      if (this.length === 1) {\r\n        return TempusDominusBootstrap4._jQueryHandleThis(this[0], option, argument);\r\n      }\r\n\r\n      return this.each(function () {\r\n        TempusDominusBootstrap4._jQueryHandleThis(this, option, argument);\r\n      });\r\n    };\r\n\r\n    return TempusDominusBootstrap4;\r\n  }(DateTimePicker);\r\n  /**\r\n  * ------------------------------------------------------------------------\r\n  * jQuery\r\n  * ------------------------------------------------------------------------\r\n  */\r\n\r\n\r\n  $(document).on(DateTimePicker.Event.CLICK_DATA_API, DateTimePicker.Selector.DATA_TOGGLE, function () {\r\n    var $originalTarget = $(this),\r\n        $target = getSelectorFromElement($originalTarget),\r\n        config = $target.data(DateTimePicker.DATA_KEY);\r\n\r\n    if ($target.length === 0) {\r\n      return;\r\n    }\r\n\r\n    if (config._options.allowInputToggle && $originalTarget.is('input[data-toggle=\"datetimepicker\"]')) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, 'toggle');\r\n  }).on(DateTimePicker.Event.CHANGE, \".\" + DateTimePicker.ClassName.INPUT, function (event) {\r\n    var $target = getSelectorFromElement($(this));\r\n\r\n    if ($target.length === 0 || event.isInit) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, '_change', event);\r\n  }).on(DateTimePicker.Event.BLUR, \".\" + DateTimePicker.ClassName.INPUT, function (event) {\r\n    var $target = getSelectorFromElement($(this)),\r\n        config = $target.data(DateTimePicker.DATA_KEY);\r\n\r\n    if ($target.length === 0) {\r\n      return;\r\n    }\r\n\r\n    if (config._options.debug || window.debug) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, 'hide', event);\r\n  }).on(DateTimePicker.Event.KEYDOWN, \".\" + DateTimePicker.ClassName.INPUT, function (event) {\r\n    var $target = getSelectorFromElement($(this));\r\n\r\n    if ($target.length === 0) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, '_keydown', event);\r\n  }).on(DateTimePicker.Event.KEYUP, \".\" + DateTimePicker.ClassName.INPUT, function (event) {\r\n    var $target = getSelectorFromElement($(this));\r\n\r\n    if ($target.length === 0) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, '_keyup', event);\r\n  }).on(DateTimePicker.Event.FOCUS, \".\" + DateTimePicker.ClassName.INPUT, function (event) {\r\n    var $target = getSelectorFromElement($(this)),\r\n        config = $target.data(DateTimePicker.DATA_KEY);\r\n\r\n    if ($target.length === 0) {\r\n      return;\r\n    }\r\n\r\n    if (!config._options.allowInputToggle) {\r\n      return;\r\n    }\r\n\r\n    TempusDominusBootstrap4._jQueryInterface.call($target, 'show', event);\r\n  });\r\n  $.fn[DateTimePicker.NAME] = TempusDominusBootstrap4._jQueryInterface;\r\n  $.fn[DateTimePicker.NAME].Constructor = TempusDominusBootstrap4;\r\n\r\n  $.fn[DateTimePicker.NAME].noConflict = function () {\r\n    $.fn[DateTimePicker.NAME] = JQUERY_NO_CONFLICT;\r\n    return TempusDominusBootstrap4._jQueryInterface;\r\n  };\r\n\r\n  return TempusDominusBootstrap4;\r\n}(jQuery);\r\n\r\n}();\r\n","/*!\n * Font Awesome Icon Picker\n * https://farbelous.github.io/fontawesome-iconpicker/\n *\n * @author Javi Aguilar, itsjavi.com\n * @license MIT License\n * @see https://github.com/farbelous/fontawesome-iconpicker/blob/master/LICENSE\n */\n\n\n!function(e){\"function\"==typeof define&&define.amd?define([\"jquery\"],e):e(jQuery)}(function(j){j.ui=j.ui||{};j.ui.version=\"1.12.1\";!function(){var r,y=Math.max,x=Math.abs,s=/left|center|right/,i=/top|center|bottom/,c=/[\\+\\-]\\d+(\\.[\\d]+)?%?/,f=/^\\w+/,l=/%$/,o=j.fn.pos;function q(e,a,t){return[parseFloat(e[0])*(l.test(e[0])?a/100:1),parseFloat(e[1])*(l.test(e[1])?t/100:1)]}function C(e,a){return parseInt(j.css(e,a),10)||0}j.pos={scrollbarWidth:function(){if(void 0!==r)return r;var e,a,t=j(\"<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>\"),s=t.children()[0];return j(\"body\").append(t),e=s.offsetWidth,t.css(\"overflow\",\"scroll\"),e===(a=s.offsetWidth)&&(a=t[0].clientWidth),t.remove(),r=e-a},getScrollInfo:function(e){var a=e.isWindow||e.isDocument?\"\":e.element.css(\"overflow-x\"),t=e.isWindow||e.isDocument?\"\":e.element.css(\"overflow-y\"),s=\"scroll\"===a||\"auto\"===a&&e.width<e.element[0].scrollWidth;return{width:\"scroll\"===t||\"auto\"===t&&e.height<e.element[0].scrollHeight?j.pos.scrollbarWidth():0,height:s?j.pos.scrollbarWidth():0}},getWithinInfo:function(e){var a=j(e||window),t=j.isWindow(a[0]),s=!!a[0]&&9===a[0].nodeType;return{element:a,isWindow:t,isDocument:s,offset:!t&&!s?j(e).offset():{left:0,top:0},scrollLeft:a.scrollLeft(),scrollTop:a.scrollTop(),width:a.outerWidth(),height:a.outerHeight()}}},j.fn.pos=function(h){if(!h||!h.of)return o.apply(this,arguments);h=j.extend({},h);var m,p,d,T,u,e,a,t,g=j(h.of),b=j.pos.getWithinInfo(h.within),k=j.pos.getScrollInfo(b),w=(h.collision||\"flip\").split(\" \"),v={};return e=9===(t=(a=g)[0]).nodeType?{width:a.width(),height:a.height(),offset:{top:0,left:0}}:j.isWindow(t)?{width:a.width(),height:a.height(),offset:{top:a.scrollTop(),left:a.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:a.outerWidth(),height:a.outerHeight(),offset:a.offset()},g[0].preventDefault&&(h.at=\"left top\"),p=e.width,d=e.height,T=e.offset,u=j.extend({},T),j.each([\"my\",\"at\"],function(){var e,a,t=(h[this]||\"\").split(\" \");1===t.length&&(t=s.test(t[0])?t.concat([\"center\"]):i.test(t[0])?[\"center\"].concat(t):[\"center\",\"center\"]),t[0]=s.test(t[0])?t[0]:\"center\",t[1]=i.test(t[1])?t[1]:\"center\",e=c.exec(t[0]),a=c.exec(t[1]),v[this]=[e?e[0]:0,a?a[0]:0],h[this]=[f.exec(t[0])[0],f.exec(t[1])[0]]}),1===w.length&&(w[1]=w[0]),\"right\"===h.at[0]?u.left+=p:\"center\"===h.at[0]&&(u.left+=p/2),\"bottom\"===h.at[1]?u.top+=d:\"center\"===h.at[1]&&(u.top+=d/2),m=q(v.at,p,d),u.left+=m[0],u.top+=m[1],this.each(function(){var t,e,c=j(this),f=c.outerWidth(),l=c.outerHeight(),a=C(this,\"marginLeft\"),s=C(this,\"marginTop\"),r=f+a+C(this,\"marginRight\")+k.width,i=l+s+C(this,\"marginBottom\")+k.height,o=j.extend({},u),n=q(v.my,c.outerWidth(),c.outerHeight());\"right\"===h.my[0]?o.left-=f:\"center\"===h.my[0]&&(o.left-=f/2),\"bottom\"===h.my[1]?o.top-=l:\"center\"===h.my[1]&&(o.top-=l/2),o.left+=n[0],o.top+=n[1],t={marginLeft:a,marginTop:s},j.each([\"left\",\"top\"],function(e,a){j.ui.pos[w[e]]&&j.ui.pos[w[e]][a](o,{targetWidth:p,targetHeight:d,elemWidth:f,elemHeight:l,collisionPosition:t,collisionWidth:r,collisionHeight:i,offset:[m[0]+n[0],m[1]+n[1]],my:h.my,at:h.at,within:b,elem:c})}),h.using&&(e=function(e){var a=T.left-o.left,t=a+p-f,s=T.top-o.top,r=s+d-l,i={target:{element:g,left:T.left,top:T.top,width:p,height:d},element:{element:c,left:o.left,top:o.top,width:f,height:l},horizontal:t<0?\"left\":0<a?\"right\":\"center\",vertical:r<0?\"top\":0<s?\"bottom\":\"middle\"};p<f&&x(a+t)<p&&(i.horizontal=\"center\"),d<l&&x(s+r)<d&&(i.vertical=\"middle\"),y(x(a),x(t))>y(x(s),x(r))?i.important=\"horizontal\":i.important=\"vertical\",h.using.call(this,e,i)}),c.offset(j.extend(o,{using:e}))})},j.ui.pos={_trigger:function(e,a,t,s){a.elem&&a.elem.trigger({type:t,position:e,positionData:a,triggered:s})},fit:{left:function(e,a){j.ui.pos._trigger(e,a,\"posCollide\",\"fitLeft\");var t,s=a.within,r=s.isWindow?s.scrollLeft:s.offset.left,i=s.width,c=e.left-a.collisionPosition.marginLeft,f=r-c,l=c+a.collisionWidth-i-r;a.collisionWidth>i?0<f&&l<=0?(t=e.left+f+a.collisionWidth-i-r,e.left+=f-t):e.left=0<l&&f<=0?r:l<f?r+i-a.collisionWidth:r:0<f?e.left+=f:0<l?e.left-=l:e.left=y(e.left-c,e.left),j.ui.pos._trigger(e,a,\"posCollided\",\"fitLeft\")},top:function(e,a){j.ui.pos._trigger(e,a,\"posCollide\",\"fitTop\");var t,s=a.within,r=s.isWindow?s.scrollTop:s.offset.top,i=a.within.height,c=e.top-a.collisionPosition.marginTop,f=r-c,l=c+a.collisionHeight-i-r;a.collisionHeight>i?0<f&&l<=0?(t=e.top+f+a.collisionHeight-i-r,e.top+=f-t):e.top=0<l&&f<=0?r:l<f?r+i-a.collisionHeight:r:0<f?e.top+=f:0<l?e.top-=l:e.top=y(e.top-c,e.top),j.ui.pos._trigger(e,a,\"posCollided\",\"fitTop\")}},flip:{left:function(e,a){j.ui.pos._trigger(e,a,\"posCollide\",\"flipLeft\");var t,s,r=a.within,i=r.offset.left+r.scrollLeft,c=r.width,f=r.isWindow?r.scrollLeft:r.offset.left,l=e.left-a.collisionPosition.marginLeft,o=l-f,n=l+a.collisionWidth-c-f,h=\"left\"===a.my[0]?-a.elemWidth:\"right\"===a.my[0]?a.elemWidth:0,m=\"left\"===a.at[0]?a.targetWidth:\"right\"===a.at[0]?-a.targetWidth:0,p=-2*a.offset[0];o<0?((t=e.left+h+m+p+a.collisionWidth-c-i)<0||t<x(o))&&(e.left+=h+m+p):0<n&&(0<(s=e.left-a.collisionPosition.marginLeft+h+m+p-f)||x(s)<n)&&(e.left+=h+m+p),j.ui.pos._trigger(e,a,\"posCollided\",\"flipLeft\")},top:function(e,a){j.ui.pos._trigger(e,a,\"posCollide\",\"flipTop\");var t,s,r=a.within,i=r.offset.top+r.scrollTop,c=r.height,f=r.isWindow?r.scrollTop:r.offset.top,l=e.top-a.collisionPosition.marginTop,o=l-f,n=l+a.collisionHeight-c-f,h=\"top\"===a.my[1]?-a.elemHeight:\"bottom\"===a.my[1]?a.elemHeight:0,m=\"top\"===a.at[1]?a.targetHeight:\"bottom\"===a.at[1]?-a.targetHeight:0,p=-2*a.offset[1];o<0?((s=e.top+h+m+p+a.collisionHeight-c-i)<0||s<x(o))&&(e.top+=h+m+p):0<n&&(0<(t=e.top-a.collisionPosition.marginTop+h+m+p-f)||x(t)<n)&&(e.top+=h+m+p),j.ui.pos._trigger(e,a,\"posCollided\",\"flipTop\")}},flipfit:{left:function(){j.ui.pos.flip.left.apply(this,arguments),j.ui.pos.fit.left.apply(this,arguments)},top:function(){j.ui.pos.flip.top.apply(this,arguments),j.ui.pos.fit.top.apply(this,arguments)}}},function(){var e,a,t,s,r,i=document.getElementsByTagName(\"body\")[0],c=document.createElement(\"div\");for(r in e=document.createElement(i?\"div\":\"body\"),t={visibility:\"hidden\",width:0,height:0,border:0,margin:0,background:\"none\"},i&&j.extend(t,{position:\"absolute\",left:\"-1000px\",top:\"-1000px\"}),t)e.style[r]=t[r];e.appendChild(c),(a=i||document.documentElement).insertBefore(e,a.firstChild),c.style.cssText=\"position: absolute; left: 10.7432222px;\",s=j(c).offset().left,j.support.offsetFractions=10<s&&s<11,e.innerHTML=\"\",a.removeChild(e)}()}();j.ui.position}),function(e){\"use strict\";\"function\"==typeof define&&define.amd?define([\"jquery\"],e):window.jQuery&&!window.jQuery.fn.iconpicker&&e(window.jQuery)}(function(l){\"use strict\";var t=function(e){return!1===e||\"\"===e||null==e},s=function(e){return 0<l(e).length},r=function(e){return\"string\"==typeof e||e instanceof String},i=function(e,a){return-1!==l.inArray(e,a)},c=function(e,a){this._id=c._idCounter++,this.element=l(e).addClass(\"iconpicker-element\"),this._trigger(\"iconpickerCreate\",{iconpickerValue:this.iconpickerValue}),this.options=l.extend({},c.defaultOptions,this.element.data(),a),this.options.templates=l.extend({},c.defaultOptions.templates,this.options.templates),this.options.originalPlacement=this.options.placement,this.container=!!s(this.options.container)&&l(this.options.container),!1===this.container&&(this.element.is(\".dropdown-toggle\")?this.container=l(\"~ .dropdown-menu:first\",this.element):this.container=this.element.is(\"input,textarea,button,.btn\")?this.element.parent():this.element),this.container.addClass(\"iconpicker-container\"),this.isDropdownMenu()&&(this.options.placement=\"inline\"),this.input=!!this.element.is(\"input,textarea\")&&this.element.addClass(\"iconpicker-input\"),!1===this.input&&(this.input=this.container.find(this.options.input),this.input.is(\"input,textarea\")||(this.input=!1)),this.component=this.isDropdownMenu()?this.container.parent().find(this.options.component):this.container.find(this.options.component),0===this.component.length?this.component=!1:this.component.find(\"i\").addClass(\"iconpicker-component\"),this._createPopover(),this._createIconpicker(),0===this.getAcceptButton().length&&(this.options.mustAccept=!1),this.isInputGroup()?this.container.parent().append(this.popover):this.container.append(this.popover),this._bindElementEvents(),this._bindWindowEvents(),this.update(this.options.selected),this.isInline()&&this.show(),this._trigger(\"iconpickerCreated\",{iconpickerValue:this.iconpickerValue})};c._idCounter=0,c.defaultOptions={title:!1,selected:!1,defaultValue:!1,placement:\"bottom\",collision:\"none\",animation:!0,hideOnSelect:!1,showFooter:!1,searchInFooter:!1,mustAccept:!1,selectedCustomClass:\"bg-primary\",icons:[],fullClassFormatter:function(e){return e},input:\"input,.iconpicker-input\",inputSearch:!1,container:!1,component:\".input-group-addon,.iconpicker-component\",templates:{popover:'<div class=\"iconpicker-popover popover\"><div class=\"arrow\"></div><div class=\"popover-title\"></div><div class=\"popover-content\"></div></div>',footer:'<div class=\"popover-footer\"></div>',buttons:'<button class=\"iconpicker-btn iconpicker-btn-cancel btn btn-default btn-sm\">Cancel</button> <button class=\"iconpicker-btn iconpicker-btn-accept btn btn-primary btn-sm\">Accept</button>',search:'<input type=\"search\" class=\"form-control iconpicker-search\" placeholder=\"Type to filter\" />',iconpicker:'<div class=\"iconpicker\"><div class=\"iconpicker-items\"></div></div>',iconpickerItem:'<a role=\"button\" href=\"javascript:;\" class=\"iconpicker-item\"><i></i></a>'}},c.batch=function(e,a){var t=Array.prototype.slice.call(arguments,2);return l(e).each(function(){var e=l(this).data(\"iconpicker\");e&&e[a].apply(e,t)})},c.prototype={constructor:c,options:{},_id:0,_trigger:function(e,a){a=a||{},this.element.trigger(l.extend({type:e,iconpickerInstance:this},a))},_createPopover:function(){this.popover=l(this.options.templates.popover);var e=this.popover.find(\".popover-title\");if(this.options.title&&e.append(l('<div class=\"popover-title-text\">'+this.options.title+\"</div>\")),this.hasSeparatedSearchInput()&&!this.options.searchInFooter?e.append(this.options.templates.search):this.options.title||e.remove(),this.options.showFooter&&!t(this.options.templates.footer)){var a=l(this.options.templates.footer);this.hasSeparatedSearchInput()&&this.options.searchInFooter&&a.append(l(this.options.templates.search)),t(this.options.templates.buttons)||a.append(l(this.options.templates.buttons)),this.popover.append(a)}return!0===this.options.animation&&this.popover.addClass(\"fade\"),this.popover},_createIconpicker:function(){var t=this;this.iconpicker=l(this.options.templates.iconpicker);var e=function(e){var a=l(this);a.is(\"i\")&&(a=a.parent()),t._trigger(\"iconpickerSelect\",{iconpickerItem:a,iconpickerValue:t.iconpickerValue}),!1===t.options.mustAccept?(t.update(a.data(\"iconpickerValue\")),t._trigger(\"iconpickerSelected\",{iconpickerItem:this,iconpickerValue:t.iconpickerValue})):t.update(a.data(\"iconpickerValue\"),!0),t.options.hideOnSelect&&!1===t.options.mustAccept&&t.hide()},a=l(this.options.templates.iconpickerItem),s=[];for(var r in this.options.icons)if(\"string\"==typeof this.options.icons[r].title){var i=a.clone();if(i.find(\"i\").addClass(this.options.fullClassFormatter(this.options.icons[r].title)),i.data(\"iconpickerValue\",this.options.icons[r].title).on(\"click.iconpicker\",e),i.attr(\"title\",\".\"+this.options.icons[r].title),0<this.options.icons[r].searchTerms.length){for(var c=\"\",f=0;f<this.options.icons[r].searchTerms.length;f++)c=c+this.options.icons[r].searchTerms[f]+\" \";i.attr(\"data-search-terms\",c)}s.push(i)}return this.iconpicker.find(\".iconpicker-items\").append(s),this.popover.find(\".popover-content\").append(this.iconpicker),this.iconpicker},_isEventInsideIconpicker:function(e){var a=l(e.target);return!((!a.hasClass(\"iconpicker-element\")||a.hasClass(\"iconpicker-element\")&&!a.is(this.element))&&0===a.parents(\".iconpicker-popover\").length)},_bindElementEvents:function(){var a=this;this.getSearchInput().on(\"keyup.iconpicker\",function(){a.filter(l(this).val().toLowerCase())}),this.getAcceptButton().on(\"click.iconpicker\",function(){var e=a.iconpicker.find(\".iconpicker-selected\").get(0);a.update(a.iconpickerValue),a._trigger(\"iconpickerSelected\",{iconpickerItem:e,iconpickerValue:a.iconpickerValue}),a.isInline()||a.hide()}),this.getCancelButton().on(\"click.iconpicker\",function(){a.isInline()||a.hide()}),this.element.on(\"focus.iconpicker\",function(e){a.show(),e.stopPropagation()}),this.hasComponent()&&this.component.on(\"click.iconpicker\",function(){a.toggle()}),this.hasInput()&&this.input.on(\"keyup.iconpicker\",function(e){i(e.keyCode,[38,40,37,39,16,17,18,9,8,91,93,20,46,186,190,46,78,188,44,86])?a._updateFormGroupStatus(!1!==a.getValid(this.value)):a.update(),!0===a.options.inputSearch&&a.filter(l(this).val().toLowerCase())})},_bindWindowEvents:function(){var e=l(window.document),a=this,t=\".iconpicker.inst\"+this._id;l(window).on(\"resize.iconpicker\"+t+\" orientationchange.iconpicker\"+t,function(e){a.popover.hasClass(\"in\")&&a.updatePlacement()}),a.isInline()||e.on(\"mouseup\"+t,function(e){a._isEventInsideIconpicker(e)||a.isInline()||a.hide()})},_unbindElementEvents:function(){this.popover.off(\".iconpicker\"),this.element.off(\".iconpicker\"),this.hasInput()&&this.input.off(\".iconpicker\"),this.hasComponent()&&this.component.off(\".iconpicker\"),this.hasContainer()&&this.container.off(\".iconpicker\")},_unbindWindowEvents:function(){l(window).off(\".iconpicker.inst\"+this._id),l(window.document).off(\".iconpicker.inst\"+this._id)},updatePlacement:function(e,a){e=e||this.options.placement,this.options.placement=e,a=!0===(a=a||this.options.collision)?\"flip\":a;var t={at:\"right bottom\",my:\"right top\",of:this.hasInput()&&!this.isInputGroup()?this.input:this.container,collision:!0===a?\"flip\":a,within:window};if(this.popover.removeClass(\"inline topLeftCorner topLeft top topRight topRightCorner rightTop right rightBottom bottomRight bottomRightCorner bottom bottomLeft bottomLeftCorner leftBottom left leftTop\"),\"object\"==typeof e)return this.popover.pos(l.extend({},t,e));switch(e){case\"inline\":t=!1;break;case\"topLeftCorner\":t.my=\"right bottom\",t.at=\"left top\";break;case\"topLeft\":t.my=\"left bottom\",t.at=\"left top\";break;case\"top\":t.my=\"center bottom\",t.at=\"center top\";break;case\"topRight\":t.my=\"right bottom\",t.at=\"right top\";break;case\"topRightCorner\":t.my=\"left bottom\",t.at=\"right top\";break;case\"rightTop\":t.my=\"left bottom\",t.at=\"right center\";break;case\"right\":t.my=\"left center\",t.at=\"right center\";break;case\"rightBottom\":t.my=\"left top\",t.at=\"right center\";break;case\"bottomRightCorner\":t.my=\"left top\",t.at=\"right bottom\";break;case\"bottomRight\":t.my=\"right top\",t.at=\"right bottom\";break;case\"bottom\":t.my=\"center top\",t.at=\"center bottom\";break;case\"bottomLeft\":t.my=\"left top\",t.at=\"left bottom\";break;case\"bottomLeftCorner\":t.my=\"right top\",t.at=\"left bottom\";break;case\"leftBottom\":t.my=\"right top\",t.at=\"left center\";break;case\"left\":t.my=\"right center\",t.at=\"left center\";break;case\"leftTop\":t.my=\"right bottom\",t.at=\"left center\";break;default:return!1}return this.popover.css({display:\"inline\"===this.options.placement?\"\":\"block\"}),!1!==t?this.popover.pos(t).css(\"maxWidth\",l(window).width()-this.container.offset().left-5):this.popover.css({top:\"auto\",right:\"auto\",bottom:\"auto\",left:\"auto\",maxWidth:\"none\"}),this.popover.addClass(this.options.placement),!0},_updateComponents:function(){if(this.iconpicker.find(\".iconpicker-item.iconpicker-selected\").removeClass(\"iconpicker-selected \"+this.options.selectedCustomClass),this.iconpickerValue&&this.iconpicker.find(\".\"+this.options.fullClassFormatter(this.iconpickerValue).replace(/ /g,\".\")).parent().addClass(\"iconpicker-selected \"+this.options.selectedCustomClass),this.hasComponent()){var e=this.component.find(\"i\");0<e.length?e.attr(\"class\",this.options.fullClassFormatter(this.iconpickerValue)):this.component.html(this.getHtml())}},_updateFormGroupStatus:function(e){return!!this.hasInput()&&(!1!==e?this.input.parents(\".form-group:first\").removeClass(\"has-error\"):this.input.parents(\".form-group:first\").addClass(\"has-error\"),!0)},getValid:function(e){r(e)||(e=\"\");var a=\"\"===e;e=l.trim(e);for(var t=!1,s=0;s<this.options.icons.length;s++)if(this.options.icons[s].title===e){t=!0;break}return!(!t&&!a)&&e},setValue:function(e){var a=this.getValid(e);return!1!==a?(this.iconpickerValue=a,this._trigger(\"iconpickerSetValue\",{iconpickerValue:a}),this.iconpickerValue):(this._trigger(\"iconpickerInvalid\",{iconpickerValue:e}),!1)},getHtml:function(){return'<i class=\"'+this.options.fullClassFormatter(this.iconpickerValue)+'\"></i>'},setSourceValue:function(e){return!1!==(e=this.setValue(e))&&\"\"!==e&&(this.hasInput()?this.input.val(this.iconpickerValue):this.element.data(\"iconpickerValue\",this.iconpickerValue),this._trigger(\"iconpickerSetSourceValue\",{iconpickerValue:e})),e},getSourceValue:function(e){var a=e=e||this.options.defaultValue;return void 0!==(a=this.hasInput()?this.input.val():this.element.data(\"iconpickerValue\"))&&\"\"!==a&&null!==a&&!1!==a||(a=e),a},hasInput:function(){return!1!==this.input},isInputSearch:function(){return this.hasInput()&&!0===this.options.inputSearch},isInputGroup:function(){return this.container.is(\".input-group\")},isDropdownMenu:function(){return this.container.is(\".dropdown-menu\")},hasSeparatedSearchInput:function(){return!1!==this.options.templates.search&&!this.isInputSearch()},hasComponent:function(){return!1!==this.component},hasContainer:function(){return!1!==this.container},getAcceptButton:function(){return this.popover.find(\".iconpicker-btn-accept\")},getCancelButton:function(){return this.popover.find(\".iconpicker-btn-cancel\")},getSearchInput:function(){return this.popover.find(\".iconpicker-search\")},filter:function(s){if(t(s))return this.iconpicker.find(\".iconpicker-item\").show(),l(!1);var r=[];return this.iconpicker.find(\".iconpicker-item\").each(function(){var e=l(this),a=e.attr(\"title\").toLowerCase();a=a+\" \"+(e.attr(\"data-search-terms\")?e.attr(\"data-search-terms\").toLowerCase():\"\");var t=!1;try{t=new RegExp(\"(^|\\\\W)\"+s,\"g\")}catch(e){t=!1}!1!==t&&a.match(t)?(r.push(e),e.show()):e.hide()}),r},show:function(){if(this.popover.hasClass(\"in\"))return!1;l.iconpicker.batch(l(\".iconpicker-popover.in:not(.inline)\").not(this.popover),\"hide\"),this._trigger(\"iconpickerShow\",{iconpickerValue:this.iconpickerValue}),this.updatePlacement(),this.popover.addClass(\"in\"),setTimeout(l.proxy(function(){this.popover.css(\"display\",this.isInline()?\"\":\"block\"),this._trigger(\"iconpickerShown\",{iconpickerValue:this.iconpickerValue})},this),this.options.animation?300:1)},hide:function(){if(!this.popover.hasClass(\"in\"))return!1;this._trigger(\"iconpickerHide\",{iconpickerValue:this.iconpickerValue}),this.popover.removeClass(\"in\"),setTimeout(l.proxy(function(){this.popover.css(\"display\",\"none\"),this.getSearchInput().val(\"\"),this.filter(\"\"),this._trigger(\"iconpickerHidden\",{iconpickerValue:this.iconpickerValue})},this),this.options.animation?300:1)},toggle:function(){this.popover.is(\":visible\")?this.hide():this.show(!0)},update:function(e,a){return e=e||this.getSourceValue(this.iconpickerValue),this._trigger(\"iconpickerUpdate\",{iconpickerValue:this.iconpickerValue}),!0===a?e=this.setValue(e):(e=this.setSourceValue(e),this._updateFormGroupStatus(!1!==e)),!1!==e&&this._updateComponents(),this._trigger(\"iconpickerUpdated\",{iconpickerValue:this.iconpickerValue}),e},destroy:function(){this._trigger(\"iconpickerDestroy\",{iconpickerValue:this.iconpickerValue}),this.element.removeData(\"iconpicker\").removeData(\"iconpickerValue\").removeClass(\"iconpicker-element\"),this._unbindElementEvents(),this._unbindWindowEvents(),l(this.popover).remove(),this._trigger(\"iconpickerDestroyed\",{iconpickerValue:this.iconpickerValue})},disable:function(){return!!this.hasInput()&&(this.input.prop(\"disabled\",!0),!0)},enable:function(){return!!this.hasInput()&&(this.input.prop(\"disabled\",!1),!0)},isDisabled:function(){return!!this.hasInput()&&!0===this.input.prop(\"disabled\")},isInline:function(){return\"inline\"===this.options.placement||this.popover.hasClass(\"inline\")}},l.iconpicker=c,l.fn.iconpicker=function(a){return this.each(function(){var e=l(this);e.data(\"iconpicker\")||e.data(\"iconpicker\",new c(this,\"object\"==typeof a?a:{}))})},c.defaultOptions=l.extend(c.defaultOptions,{icons:[{title:\"fab fa-500px\",searchTerms:[]},{title:\"fab fa-accessible-icon\",searchTerms:[\"accessibility\",\"handicap\",\"person\",\"wheelchair\",\"wheelchair-alt\"]},{title:\"fab fa-accusoft\",searchTerms:[]},{title:\"fab fa-acquisitions-incorporated\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"game\",\"gaming\",\"tabletop\"]},{title:\"fas fa-ad\",searchTerms:[]},{title:\"fas fa-address-book\",searchTerms:[]},{title:\"far fa-address-book\",searchTerms:[]},{title:\"fas fa-address-card\",searchTerms:[]},{title:\"far fa-address-card\",searchTerms:[]},{title:\"fas fa-adjust\",searchTerms:[\"contrast\"]},{title:\"fab fa-adn\",searchTerms:[]},{title:\"fab fa-adversal\",searchTerms:[]},{title:\"fab fa-affiliatetheme\",searchTerms:[]},{title:\"fas fa-air-freshener\",searchTerms:[]},{title:\"fab fa-algolia\",searchTerms:[]},{title:\"fas fa-align-center\",searchTerms:[\"middle\",\"text\"]},{title:\"fas fa-align-justify\",searchTerms:[\"text\"]},{title:\"fas fa-align-left\",searchTerms:[\"text\"]},{title:\"fas fa-align-right\",searchTerms:[\"text\"]},{title:\"fab fa-alipay\",searchTerms:[]},{title:\"fas fa-allergies\",searchTerms:[\"freckles\",\"hand\",\"intolerances\",\"pox\",\"spots\"]},{title:\"fab fa-amazon\",searchTerms:[]},{title:\"fab fa-amazon-pay\",searchTerms:[]},{title:\"fas fa-ambulance\",searchTerms:[\"help\",\"machine\",\"support\",\"vehicle\"]},{title:\"fas fa-american-sign-language-interpreting\",searchTerms:[]},{title:\"fab fa-amilia\",searchTerms:[]},{title:\"fas fa-anchor\",searchTerms:[\"link\"]},{title:\"fab fa-android\",searchTerms:[\"robot\"]},{title:\"fab fa-angellist\",searchTerms:[]},{title:\"fas fa-angle-double-down\",searchTerms:[\"arrows\"]},{title:\"fas fa-angle-double-left\",searchTerms:[\"arrows\",\"back\",\"laquo\",\"previous\",\"quote\"]},{title:\"fas fa-angle-double-right\",searchTerms:[\"arrows\",\"forward\",\"next\",\"quote\",\"raquo\"]},{title:\"fas fa-angle-double-up\",searchTerms:[\"arrows\"]},{title:\"fas fa-angle-down\",searchTerms:[\"arrow\"]},{title:\"fas fa-angle-left\",searchTerms:[\"arrow\",\"back\",\"previous\"]},{title:\"fas fa-angle-right\",searchTerms:[\"arrow\",\"forward\",\"next\"]},{title:\"fas fa-angle-up\",searchTerms:[\"arrow\"]},{title:\"fas fa-angry\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"mad\",\"upset\"]},{title:\"far fa-angry\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"mad\",\"upset\"]},{title:\"fab fa-angrycreative\",searchTerms:[]},{title:\"fab fa-angular\",searchTerms:[]},{title:\"fas fa-ankh\",searchTerms:[\"amulet\",\"copper\",\"coptic christianity\",\"copts\",\"crux ansata\",\"egyptian\",\"venus\"]},{title:\"fab fa-app-store\",searchTerms:[]},{title:\"fab fa-app-store-ios\",searchTerms:[]},{title:\"fab fa-apper\",searchTerms:[]},{title:\"fab fa-apple\",searchTerms:[\"food\",\"fruit\",\"mac\",\"osx\"]},{title:\"fas fa-apple-alt\",searchTerms:[\"fall\",\"food\",\"fruit\",\"fuji\",\"macintosh\",\"seasonal\"]},{title:\"fab fa-apple-pay\",searchTerms:[]},{title:\"fas fa-archive\",searchTerms:[\"box\",\"package\",\"storage\"]},{title:\"fas fa-archway\",searchTerms:[\"arc\",\"monument\",\"road\",\"street\"]},{title:\"fas fa-arrow-alt-circle-down\",searchTerms:[\"arrow-circle-o-down\",\"download\"]},{title:\"far fa-arrow-alt-circle-down\",searchTerms:[\"arrow-circle-o-down\",\"download\"]},{title:\"fas fa-arrow-alt-circle-left\",searchTerms:[\"arrow-circle-o-left\",\"back\",\"previous\"]},{title:\"far fa-arrow-alt-circle-left\",searchTerms:[\"arrow-circle-o-left\",\"back\",\"previous\"]},{title:\"fas fa-arrow-alt-circle-right\",searchTerms:[\"arrow-circle-o-right\",\"forward\",\"next\"]},{title:\"far fa-arrow-alt-circle-right\",searchTerms:[\"arrow-circle-o-right\",\"forward\",\"next\"]},{title:\"fas fa-arrow-alt-circle-up\",searchTerms:[\"arrow-circle-o-up\"]},{title:\"far fa-arrow-alt-circle-up\",searchTerms:[\"arrow-circle-o-up\"]},{title:\"fas fa-arrow-circle-down\",searchTerms:[\"download\"]},{title:\"fas fa-arrow-circle-left\",searchTerms:[\"back\",\"previous\"]},{title:\"fas fa-arrow-circle-right\",searchTerms:[\"forward\",\"next\"]},{title:\"fas fa-arrow-circle-up\",searchTerms:[]},{title:\"fas fa-arrow-down\",searchTerms:[\"download\"]},{title:\"fas fa-arrow-left\",searchTerms:[\"back\",\"previous\"]},{title:\"fas fa-arrow-right\",searchTerms:[\"forward\",\"next\"]},{title:\"fas fa-arrow-up\",searchTerms:[]},{title:\"fas fa-arrows-alt\",searchTerms:[\"arrow\",\"arrows\",\"bigger\",\"enlarge\",\"expand\",\"fullscreen\",\"move\",\"position\",\"reorder\",\"resize\"]},{title:\"fas fa-arrows-alt-h\",searchTerms:[\"arrows-h\",\"resize\"]},{title:\"fas fa-arrows-alt-v\",searchTerms:[\"arrows-v\",\"resize\"]},{title:\"fas fa-assistive-listening-systems\",searchTerms:[]},{title:\"fas fa-asterisk\",searchTerms:[\"details\"]},{title:\"fab fa-asymmetrik\",searchTerms:[]},{title:\"fas fa-at\",searchTerms:[\"e-mail\",\"email\"]},{title:\"fas fa-atlas\",searchTerms:[\"book\",\"directions\",\"geography\",\"map\",\"wayfinding\"]},{title:\"fas fa-atom\",searchTerms:[\"atheism\",\"chemistry\",\"science\"]},{title:\"fab fa-audible\",searchTerms:[]},{title:\"fas fa-audio-description\",searchTerms:[]},{title:\"fab fa-autoprefixer\",searchTerms:[]},{title:\"fab fa-avianex\",searchTerms:[]},{title:\"fab fa-aviato\",searchTerms:[]},{title:\"fas fa-award\",searchTerms:[\"honor\",\"praise\",\"prize\",\"recognition\",\"ribbon\"]},{title:\"fab fa-aws\",searchTerms:[]},{title:\"fas fa-backspace\",searchTerms:[\"command\",\"delete\",\"keyboard\",\"undo\"]},{title:\"fas fa-backward\",searchTerms:[\"previous\",\"rewind\"]},{title:\"fas fa-balance-scale\",searchTerms:[\"balanced\",\"justice\",\"legal\",\"measure\",\"weight\"]},{title:\"fas fa-ban\",searchTerms:[\"abort\",\"ban\",\"block\",\"cancel\",\"delete\",\"hide\",\"prohibit\",\"remove\",\"stop\",\"trash\"]},{title:\"fas fa-band-aid\",searchTerms:[\"bandage\",\"boo boo\",\"ouch\"]},{title:\"fab fa-bandcamp\",searchTerms:[]},{title:\"fas fa-barcode\",searchTerms:[\"scan\"]},{title:\"fas fa-bars\",searchTerms:[\"checklist\",\"drag\",\"hamburger\",\"list\",\"menu\",\"nav\",\"navigation\",\"ol\",\"reorder\",\"settings\",\"todo\",\"ul\"]},{title:\"fas fa-baseball-ball\",searchTerms:[]},{title:\"fas fa-basketball-ball\",searchTerms:[]},{title:\"fas fa-bath\",searchTerms:[]},{title:\"fas fa-battery-empty\",searchTerms:[\"power\",\"status\"]},{title:\"fas fa-battery-full\",searchTerms:[\"power\",\"status\"]},{title:\"fas fa-battery-half\",searchTerms:[\"power\",\"status\"]},{title:\"fas fa-battery-quarter\",searchTerms:[\"power\",\"status\"]},{title:\"fas fa-battery-three-quarters\",searchTerms:[\"power\",\"status\"]},{title:\"fas fa-bed\",searchTerms:[\"lodging\",\"sleep\",\"travel\"]},{title:\"fas fa-beer\",searchTerms:[\"alcohol\",\"bar\",\"beverage\",\"drink\",\"liquor\",\"mug\",\"stein\"]},{title:\"fab fa-behance\",searchTerms:[]},{title:\"fab fa-behance-square\",searchTerms:[]},{title:\"fas fa-bell\",searchTerms:[\"alert\",\"notification\",\"reminder\"]},{title:\"far fa-bell\",searchTerms:[\"alert\",\"notification\",\"reminder\"]},{title:\"fas fa-bell-slash\",searchTerms:[]},{title:\"far fa-bell-slash\",searchTerms:[]},{title:\"fas fa-bezier-curve\",searchTerms:[\"curves\",\"illustrator\",\"lines\",\"path\",\"vector\"]},{title:\"fas fa-bible\",searchTerms:[\"book\",\"catholicism\",\"christianity\"]},{title:\"fas fa-bicycle\",searchTerms:[\"bike\",\"gears\",\"transportation\",\"vehicle\"]},{title:\"fab fa-bimobject\",searchTerms:[]},{title:\"fas fa-binoculars\",searchTerms:[]},{title:\"fas fa-birthday-cake\",searchTerms:[]},{title:\"fab fa-bitbucket\",searchTerms:[\"bitbucket-square\",\"git\"]},{title:\"fab fa-bitcoin\",searchTerms:[]},{title:\"fab fa-bity\",searchTerms:[]},{title:\"fab fa-black-tie\",searchTerms:[]},{title:\"fab fa-blackberry\",searchTerms:[]},{title:\"fas fa-blender\",searchTerms:[]},{title:\"fas fa-blender-phone\",searchTerms:[\"appliance\",\"fantasy\",\"silly\"]},{title:\"fas fa-blind\",searchTerms:[]},{title:\"fab fa-blogger\",searchTerms:[]},{title:\"fab fa-blogger-b\",searchTerms:[]},{title:\"fab fa-bluetooth\",searchTerms:[]},{title:\"fab fa-bluetooth-b\",searchTerms:[]},{title:\"fas fa-bold\",searchTerms:[]},{title:\"fas fa-bolt\",searchTerms:[\"electricity\",\"lightning\",\"weather\",\"zap\"]},{title:\"fas fa-bomb\",searchTerms:[]},{title:\"fas fa-bone\",searchTerms:[]},{title:\"fas fa-bong\",searchTerms:[\"aparatus\",\"cannabis\",\"marijuana\",\"pipe\",\"smoke\",\"smoking\"]},{title:\"fas fa-book\",searchTerms:[\"documentation\",\"read\"]},{title:\"fas fa-book-dead\",searchTerms:[\"Dungeons & Dragons\",\"crossbones\",\"d&d\",\"dark arts\",\"death\",\"dnd\",\"documentation\",\"evil\",\"fantasy\",\"halloween\",\"holiday\",\"read\",\"skull\",\"spell\"]},{title:\"fas fa-book-open\",searchTerms:[\"flyer\",\"notebook\",\"open book\",\"pamphlet\",\"reading\"]},{title:\"fas fa-book-reader\",searchTerms:[\"library\"]},{title:\"fas fa-bookmark\",searchTerms:[\"save\"]},{title:\"far fa-bookmark\",searchTerms:[\"save\"]},{title:\"fas fa-bowling-ball\",searchTerms:[]},{title:\"fas fa-box\",searchTerms:[\"package\"]},{title:\"fas fa-box-open\",searchTerms:[]},{title:\"fas fa-boxes\",searchTerms:[]},{title:\"fas fa-braille\",searchTerms:[]},{title:\"fas fa-brain\",searchTerms:[\"cerebellum\",\"gray matter\",\"intellect\",\"medulla oblongata\",\"mind\",\"noodle\",\"wit\"]},{title:\"fas fa-briefcase\",searchTerms:[\"bag\",\"business\",\"luggage\",\"office\",\"work\"]},{title:\"fas fa-briefcase-medical\",searchTerms:[\"health briefcase\"]},{title:\"fas fa-broadcast-tower\",searchTerms:[\"airwaves\",\"radio\",\"waves\"]},{title:\"fas fa-broom\",searchTerms:[\"clean\",\"firebolt\",\"fly\",\"halloween\",\"holiday\",\"nimbus 2000\",\"quidditch\",\"sweep\",\"witch\"]},{title:\"fas fa-brush\",searchTerms:[\"bristles\",\"color\",\"handle\",\"painting\"]},{title:\"fab fa-btc\",searchTerms:[]},{title:\"fas fa-bug\",searchTerms:[\"insect\",\"report\"]},{title:\"fas fa-building\",searchTerms:[\"apartment\",\"business\",\"company\",\"office\",\"work\"]},{title:\"far fa-building\",searchTerms:[\"apartment\",\"business\",\"company\",\"office\",\"work\"]},{title:\"fas fa-bullhorn\",searchTerms:[\"announcement\",\"broadcast\",\"louder\",\"megaphone\",\"share\"]},{title:\"fas fa-bullseye\",searchTerms:[\"target\"]},{title:\"fas fa-burn\",searchTerms:[\"energy\"]},{title:\"fab fa-buromobelexperte\",searchTerms:[]},{title:\"fas fa-bus\",searchTerms:[\"machine\",\"public transportation\",\"transportation\",\"vehicle\"]},{title:\"fas fa-bus-alt\",searchTerms:[\"machine\",\"public transportation\",\"transportation\",\"vehicle\"]},{title:\"fas fa-business-time\",searchTerms:[\"briefcase\",\"business socks\",\"clock\",\"flight of the conchords\",\"wednesday\"]},{title:\"fab fa-buysellads\",searchTerms:[]},{title:\"fas fa-calculator\",searchTerms:[]},{title:\"fas fa-calendar\",searchTerms:[\"calendar-o\",\"date\",\"event\",\"schedule\",\"time\",\"when\"]},{title:\"far fa-calendar\",searchTerms:[\"calendar-o\",\"date\",\"event\",\"schedule\",\"time\",\"when\"]},{title:\"fas fa-calendar-alt\",searchTerms:[\"calendar\",\"date\",\"event\",\"schedule\",\"time\",\"when\"]},{title:\"far fa-calendar-alt\",searchTerms:[\"calendar\",\"date\",\"event\",\"schedule\",\"time\",\"when\"]},{title:\"fas fa-calendar-check\",searchTerms:[\"accept\",\"agree\",\"appointment\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\"]},{title:\"far fa-calendar-check\",searchTerms:[\"accept\",\"agree\",\"appointment\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\"]},{title:\"fas fa-calendar-minus\",searchTerms:[\"delete\",\"negative\",\"remove\"]},{title:\"far fa-calendar-minus\",searchTerms:[\"delete\",\"negative\",\"remove\"]},{title:\"fas fa-calendar-plus\",searchTerms:[\"add\",\"create\",\"new\",\"positive\"]},{title:\"far fa-calendar-plus\",searchTerms:[\"add\",\"create\",\"new\",\"positive\"]},{title:\"fas fa-calendar-times\",searchTerms:[\"archive\",\"delete\",\"remove\",\"x\"]},{title:\"far fa-calendar-times\",searchTerms:[\"archive\",\"delete\",\"remove\",\"x\"]},{title:\"fas fa-camera\",searchTerms:[\"photo\",\"picture\",\"record\"]},{title:\"fas fa-camera-retro\",searchTerms:[\"photo\",\"picture\",\"record\"]},{title:\"fas fa-campground\",searchTerms:[\"camping\",\"fall\",\"outdoors\",\"seasonal\",\"tent\"]},{title:\"fas fa-cannabis\",searchTerms:[\"bud\",\"chronic\",\"drugs\",\"endica\",\"endo\",\"ganja\",\"marijuana\",\"mary jane\",\"pot\",\"reefer\",\"sativa\",\"spliff\",\"weed\",\"whacky-tabacky\"]},{title:\"fas fa-capsules\",searchTerms:[\"drugs\",\"medicine\"]},{title:\"fas fa-car\",searchTerms:[\"machine\",\"transportation\",\"vehicle\"]},{title:\"fas fa-car-alt\",searchTerms:[]},{title:\"fas fa-car-battery\",searchTerms:[]},{title:\"fas fa-car-crash\",searchTerms:[]},{title:\"fas fa-car-side\",searchTerms:[]},{title:\"fas fa-caret-down\",searchTerms:[\"arrow\",\"dropdown\",\"menu\",\"more\",\"triangle down\"]},{title:\"fas fa-caret-left\",searchTerms:[\"arrow\",\"back\",\"previous\",\"triangle left\"]},{title:\"fas fa-caret-right\",searchTerms:[\"arrow\",\"forward\",\"next\",\"triangle right\"]},{title:\"fas fa-caret-square-down\",searchTerms:[\"caret-square-o-down\",\"dropdown\",\"menu\",\"more\"]},{title:\"far fa-caret-square-down\",searchTerms:[\"caret-square-o-down\",\"dropdown\",\"menu\",\"more\"]},{title:\"fas fa-caret-square-left\",searchTerms:[\"back\",\"caret-square-o-left\",\"previous\"]},{title:\"far fa-caret-square-left\",searchTerms:[\"back\",\"caret-square-o-left\",\"previous\"]},{title:\"fas fa-caret-square-right\",searchTerms:[\"caret-square-o-right\",\"forward\",\"next\"]},{title:\"far fa-caret-square-right\",searchTerms:[\"caret-square-o-right\",\"forward\",\"next\"]},{title:\"fas fa-caret-square-up\",searchTerms:[\"caret-square-o-up\"]},{title:\"far fa-caret-square-up\",searchTerms:[\"caret-square-o-up\"]},{title:\"fas fa-caret-up\",searchTerms:[\"arrow\",\"triangle up\"]},{title:\"fas fa-cart-arrow-down\",searchTerms:[\"shopping\"]},{title:\"fas fa-cart-plus\",searchTerms:[\"add\",\"create\",\"new\",\"positive\",\"shopping\"]},{title:\"fas fa-cat\",searchTerms:[\"feline\",\"halloween\",\"holiday\",\"kitten\",\"kitty\",\"meow\",\"pet\"]},{title:\"fab fa-cc-amazon-pay\",searchTerms:[]},{title:\"fab fa-cc-amex\",searchTerms:[\"amex\"]},{title:\"fab fa-cc-apple-pay\",searchTerms:[]},{title:\"fab fa-cc-diners-club\",searchTerms:[]},{title:\"fab fa-cc-discover\",searchTerms:[]},{title:\"fab fa-cc-jcb\",searchTerms:[]},{title:\"fab fa-cc-mastercard\",searchTerms:[]},{title:\"fab fa-cc-paypal\",searchTerms:[]},{title:\"fab fa-cc-stripe\",searchTerms:[]},{title:\"fab fa-cc-visa\",searchTerms:[]},{title:\"fab fa-centercode\",searchTerms:[]},{title:\"fas fa-certificate\",searchTerms:[\"badge\",\"star\"]},{title:\"fas fa-chair\",searchTerms:[\"furniture\",\"seat\"]},{title:\"fas fa-chalkboard\",searchTerms:[\"blackboard\",\"learning\",\"school\",\"teaching\",\"whiteboard\",\"writing\"]},{title:\"fas fa-chalkboard-teacher\",searchTerms:[\"blackboard\",\"instructor\",\"learning\",\"professor\",\"school\",\"whiteboard\",\"writing\"]},{title:\"fas fa-charging-station\",searchTerms:[]},{title:\"fas fa-chart-area\",searchTerms:[\"analytics\",\"area-chart\",\"graph\"]},{title:\"fas fa-chart-bar\",searchTerms:[\"analytics\",\"bar-chart\",\"graph\"]},{title:\"far fa-chart-bar\",searchTerms:[\"analytics\",\"bar-chart\",\"graph\"]},{title:\"fas fa-chart-line\",searchTerms:[\"activity\",\"analytics\",\"dashboard\",\"graph\",\"line-chart\"]},{title:\"fas fa-chart-pie\",searchTerms:[\"analytics\",\"graph\",\"pie-chart\"]},{title:\"fas fa-check\",searchTerms:[\"accept\",\"agree\",\"checkmark\",\"confirm\",\"correct\",\"done\",\"notice\",\"notification\",\"notify\",\"ok\",\"select\",\"success\",\"tick\",\"todo\",\"yes\"]},{title:\"fas fa-check-circle\",searchTerms:[\"accept\",\"agree\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\",\"yes\"]},{title:\"far fa-check-circle\",searchTerms:[\"accept\",\"agree\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\",\"yes\"]},{title:\"fas fa-check-double\",searchTerms:[\"accept\",\"agree\",\"checkmark\",\"confirm\",\"correct\",\"done\",\"notice\",\"notification\",\"notify\",\"ok\",\"select\",\"success\",\"tick\",\"todo\"]},{title:\"fas fa-check-square\",searchTerms:[\"accept\",\"agree\",\"checkmark\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\",\"yes\"]},{title:\"far fa-check-square\",searchTerms:[\"accept\",\"agree\",\"checkmark\",\"confirm\",\"correct\",\"done\",\"ok\",\"select\",\"success\",\"todo\",\"yes\"]},{title:\"fas fa-chess\",searchTerms:[]},{title:\"fas fa-chess-bishop\",searchTerms:[]},{title:\"fas fa-chess-board\",searchTerms:[]},{title:\"fas fa-chess-king\",searchTerms:[]},{title:\"fas fa-chess-knight\",searchTerms:[]},{title:\"fas fa-chess-pawn\",searchTerms:[]},{title:\"fas fa-chess-queen\",searchTerms:[]},{title:\"fas fa-chess-rook\",searchTerms:[]},{title:\"fas fa-chevron-circle-down\",searchTerms:[\"arrow\",\"dropdown\",\"menu\",\"more\"]},{title:\"fas fa-chevron-circle-left\",searchTerms:[\"arrow\",\"back\",\"previous\"]},{title:\"fas fa-chevron-circle-right\",searchTerms:[\"arrow\",\"forward\",\"next\"]},{title:\"fas fa-chevron-circle-up\",searchTerms:[\"arrow\"]},{title:\"fas fa-chevron-down\",searchTerms:[]},{title:\"fas fa-chevron-left\",searchTerms:[\"back\",\"bracket\",\"previous\"]},{title:\"fas fa-chevron-right\",searchTerms:[\"bracket\",\"forward\",\"next\"]},{title:\"fas fa-chevron-up\",searchTerms:[]},{title:\"fas fa-child\",searchTerms:[]},{title:\"fab fa-chrome\",searchTerms:[\"browser\"]},{title:\"fas fa-church\",searchTerms:[\"building\",\"community\",\"religion\"]},{title:\"fas fa-circle\",searchTerms:[\"circle-thin\",\"dot\",\"notification\"]},{title:\"far fa-circle\",searchTerms:[\"circle-thin\",\"dot\",\"notification\"]},{title:\"fas fa-circle-notch\",searchTerms:[\"circle-o-notch\"]},{title:\"fas fa-city\",searchTerms:[\"buildings\",\"busy\",\"skyscrapers\",\"urban\",\"windows\"]},{title:\"fas fa-clipboard\",searchTerms:[\"paste\"]},{title:\"far fa-clipboard\",searchTerms:[\"paste\"]},{title:\"fas fa-clipboard-check\",searchTerms:[\"accept\",\"agree\",\"confirm\",\"done\",\"ok\",\"select\",\"success\",\"todo\",\"yes\"]},{title:\"fas fa-clipboard-list\",searchTerms:[\"checklist\",\"completed\",\"done\",\"finished\",\"intinerary\",\"ol\",\"schedule\",\"todo\",\"ul\"]},{title:\"fas fa-clock\",searchTerms:[\"date\",\"late\",\"schedule\",\"timer\",\"timestamp\",\"watch\"]},{title:\"far fa-clock\",searchTerms:[\"date\",\"late\",\"schedule\",\"timer\",\"timestamp\",\"watch\"]},{title:\"fas fa-clone\",searchTerms:[\"copy\",\"duplicate\"]},{title:\"far fa-clone\",searchTerms:[\"copy\",\"duplicate\"]},{title:\"fas fa-closed-captioning\",searchTerms:[\"cc\"]},{title:\"far fa-closed-captioning\",searchTerms:[\"cc\"]},{title:\"fas fa-cloud\",searchTerms:[\"save\"]},{title:\"fas fa-cloud-download-alt\",searchTerms:[\"import\"]},{title:\"fas fa-cloud-meatball\",searchTerms:[]},{title:\"fas fa-cloud-moon\",searchTerms:[\"crescent\",\"evening\",\"halloween\",\"holiday\",\"lunar\",\"night\",\"sky\"]},{title:\"fas fa-cloud-moon-rain\",searchTerms:[]},{title:\"fas fa-cloud-rain\",searchTerms:[\"precipitation\"]},{title:\"fas fa-cloud-showers-heavy\",searchTerms:[\"precipitation\",\"rain\",\"storm\"]},{title:\"fas fa-cloud-sun\",searchTerms:[\"day\",\"daytime\",\"fall\",\"outdoors\",\"seasonal\"]},{title:\"fas fa-cloud-sun-rain\",searchTerms:[]},{title:\"fas fa-cloud-upload-alt\",searchTerms:[\"cloud-upload\"]},{title:\"fab fa-cloudscale\",searchTerms:[]},{title:\"fab fa-cloudsmith\",searchTerms:[]},{title:\"fab fa-cloudversify\",searchTerms:[]},{title:\"fas fa-cocktail\",searchTerms:[\"alcohol\",\"beverage\",\"drink\"]},{title:\"fas fa-code\",searchTerms:[\"brackets\",\"html\"]},{title:\"fas fa-code-branch\",searchTerms:[\"branch\",\"code-fork\",\"fork\",\"git\",\"github\",\"rebase\",\"svn\",\"vcs\",\"version\"]},{title:\"fab fa-codepen\",searchTerms:[]},{title:\"fab fa-codiepie\",searchTerms:[]},{title:\"fas fa-coffee\",searchTerms:[\"beverage\",\"breakfast\",\"cafe\",\"drink\",\"fall\",\"morning\",\"mug\",\"seasonal\",\"tea\"]},{title:\"fas fa-cog\",searchTerms:[\"settings\"]},{title:\"fas fa-cogs\",searchTerms:[\"gears\",\"settings\"]},{title:\"fas fa-coins\",searchTerms:[]},{title:\"fas fa-columns\",searchTerms:[\"dashboard\",\"panes\",\"split\"]},{title:\"fas fa-comment\",searchTerms:[\"bubble\",\"chat\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"far fa-comment\",searchTerms:[\"bubble\",\"chat\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"fas fa-comment-alt\",searchTerms:[\"bubble\",\"chat\",\"commenting\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"far fa-comment-alt\",searchTerms:[\"bubble\",\"chat\",\"commenting\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"fas fa-comment-dollar\",searchTerms:[]},{title:\"fas fa-comment-dots\",searchTerms:[]},{title:\"far fa-comment-dots\",searchTerms:[]},{title:\"fas fa-comment-slash\",searchTerms:[]},{title:\"fas fa-comments\",searchTerms:[\"bubble\",\"chat\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"far fa-comments\",searchTerms:[\"bubble\",\"chat\",\"conversation\",\"feedback\",\"message\",\"note\",\"notification\",\"sms\",\"speech\",\"texting\"]},{title:\"fas fa-comments-dollar\",searchTerms:[]},{title:\"fas fa-compact-disc\",searchTerms:[\"bluray\",\"cd\",\"disc\",\"media\"]},{title:\"fas fa-compass\",searchTerms:[\"directory\",\"location\",\"menu\",\"safari\"]},{title:\"far fa-compass\",searchTerms:[\"directory\",\"location\",\"menu\",\"safari\"]},{title:\"fas fa-compress\",searchTerms:[\"collapse\",\"combine\",\"contract\",\"merge\",\"smaller\"]},{title:\"fas fa-concierge-bell\",searchTerms:[\"attention\",\"hotel\",\"service\",\"support\"]},{title:\"fab fa-connectdevelop\",searchTerms:[]},{title:\"fab fa-contao\",searchTerms:[]},{title:\"fas fa-cookie\",searchTerms:[\"baked good\",\"chips\",\"food\",\"snack\",\"sweet\",\"treat\"]},{title:\"fas fa-cookie-bite\",searchTerms:[\"baked good\",\"bitten\",\"chips\",\"eating\",\"food\",\"snack\",\"sweet\",\"treat\"]},{title:\"fas fa-copy\",searchTerms:[\"clone\",\"duplicate\",\"file\",\"files-o\"]},{title:\"far fa-copy\",searchTerms:[\"clone\",\"duplicate\",\"file\",\"files-o\"]},{title:\"fas fa-copyright\",searchTerms:[]},{title:\"far fa-copyright\",searchTerms:[]},{title:\"fas fa-couch\",searchTerms:[\"furniture\",\"sofa\"]},{title:\"fab fa-cpanel\",searchTerms:[]},{title:\"fab fa-creative-commons\",searchTerms:[]},{title:\"fab fa-creative-commons-by\",searchTerms:[]},{title:\"fab fa-creative-commons-nc\",searchTerms:[]},{title:\"fab fa-creative-commons-nc-eu\",searchTerms:[]},{title:\"fab fa-creative-commons-nc-jp\",searchTerms:[]},{title:\"fab fa-creative-commons-nd\",searchTerms:[]},{title:\"fab fa-creative-commons-pd\",searchTerms:[]},{title:\"fab fa-creative-commons-pd-alt\",searchTerms:[]},{title:\"fab fa-creative-commons-remix\",searchTerms:[]},{title:\"fab fa-creative-commons-sa\",searchTerms:[]},{title:\"fab fa-creative-commons-sampling\",searchTerms:[]},{title:\"fab fa-creative-commons-sampling-plus\",searchTerms:[]},{title:\"fab fa-creative-commons-share\",searchTerms:[]},{title:\"fab fa-creative-commons-zero\",searchTerms:[]},{title:\"fas fa-credit-card\",searchTerms:[\"buy\",\"checkout\",\"credit-card-alt\",\"debit\",\"money\",\"payment\",\"purchase\"]},{title:\"far fa-credit-card\",searchTerms:[\"buy\",\"checkout\",\"credit-card-alt\",\"debit\",\"money\",\"payment\",\"purchase\"]},{title:\"fab fa-critical-role\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"game\",\"gaming\",\"tabletop\"]},{title:\"fas fa-crop\",searchTerms:[\"design\"]},{title:\"fas fa-crop-alt\",searchTerms:[]},{title:\"fas fa-cross\",searchTerms:[\"catholicism\",\"christianity\"]},{title:\"fas fa-crosshairs\",searchTerms:[\"gpd\",\"picker\",\"position\"]},{title:\"fas fa-crow\",searchTerms:[\"bird\",\"bullfrog\",\"fauna\",\"halloween\",\"holiday\",\"toad\"]},{title:\"fas fa-crown\",searchTerms:[]},{title:\"fab fa-css3\",searchTerms:[\"code\"]},{title:\"fab fa-css3-alt\",searchTerms:[]},{title:\"fas fa-cube\",searchTerms:[\"package\"]},{title:\"fas fa-cubes\",searchTerms:[\"packages\"]},{title:\"fas fa-cut\",searchTerms:[\"scissors\"]},{title:\"fab fa-cuttlefish\",searchTerms:[]},{title:\"fab fa-d-and-d\",searchTerms:[]},{title:\"fab fa-d-and-d-beyond\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"gaming\",\"tabletop\"]},{title:\"fab fa-dashcube\",searchTerms:[]},{title:\"fas fa-database\",searchTerms:[]},{title:\"fas fa-deaf\",searchTerms:[]},{title:\"fab fa-delicious\",searchTerms:[]},{title:\"fas fa-democrat\",searchTerms:[\"american\",\"democratic party\",\"donkey\",\"election\",\"left\",\"left-wing\",\"liberal\",\"politics\",\"usa\"]},{title:\"fab fa-deploydog\",searchTerms:[]},{title:\"fab fa-deskpro\",searchTerms:[]},{title:\"fas fa-desktop\",searchTerms:[\"computer\",\"cpu\",\"demo\",\"desktop\",\"device\",\"machine\",\"monitor\",\"pc\",\"screen\"]},{title:\"fab fa-dev\",searchTerms:[]},{title:\"fab fa-deviantart\",searchTerms:[]},{title:\"fas fa-dharmachakra\",searchTerms:[\"buddhism\",\"buddhist\",\"wheel of dharma\"]},{title:\"fas fa-diagnoses\",searchTerms:[]},{title:\"fas fa-dice\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-d20\",searchTerms:[\"Dungeons & Dragons\",\"chance\",\"d&d\",\"dnd\",\"fantasy\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-d6\",searchTerms:[\"Dungeons & Dragons\",\"chance\",\"d&d\",\"dnd\",\"fantasy\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-five\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-four\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-one\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-six\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-three\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fas fa-dice-two\",searchTerms:[\"chance\",\"gambling\",\"game\",\"roll\"]},{title:\"fab fa-digg\",searchTerms:[]},{title:\"fab fa-digital-ocean\",searchTerms:[]},{title:\"fas fa-digital-tachograph\",searchTerms:[]},{title:\"fas fa-directions\",searchTerms:[]},{title:\"fab fa-discord\",searchTerms:[]},{title:\"fab fa-discourse\",searchTerms:[]},{title:\"fas fa-divide\",searchTerms:[]},{title:\"fas fa-dizzy\",searchTerms:[\"dazed\",\"disapprove\",\"emoticon\",\"face\"]},{title:\"far fa-dizzy\",searchTerms:[\"dazed\",\"disapprove\",\"emoticon\",\"face\"]},{title:\"fas fa-dna\",searchTerms:[\"double helix\",\"helix\"]},{title:\"fab fa-dochub\",searchTerms:[]},{title:\"fab fa-docker\",searchTerms:[]},{title:\"fas fa-dog\",searchTerms:[\"canine\",\"fauna\",\"mammmal\",\"pet\",\"pooch\",\"puppy\",\"woof\"]},{title:\"fas fa-dollar-sign\",searchTerms:[\"$\",\"dollar-sign\",\"money\",\"price\",\"usd\"]},{title:\"fas fa-dolly\",searchTerms:[]},{title:\"fas fa-dolly-flatbed\",searchTerms:[]},{title:\"fas fa-donate\",searchTerms:[\"generosity\",\"give\"]},{title:\"fas fa-door-closed\",searchTerms:[]},{title:\"fas fa-door-open\",searchTerms:[]},{title:\"fas fa-dot-circle\",searchTerms:[\"bullseye\",\"notification\",\"target\"]},{title:\"far fa-dot-circle\",searchTerms:[\"bullseye\",\"notification\",\"target\"]},{title:\"fas fa-dove\",searchTerms:[\"bird\",\"fauna\",\"flying\",\"peace\"]},{title:\"fas fa-download\",searchTerms:[\"import\"]},{title:\"fab fa-draft2digital\",searchTerms:[]},{title:\"fas fa-drafting-compass\",searchTerms:[\"mechanical drawing\",\"plot\",\"plotting\"]},{title:\"fas fa-dragon\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\"]},{title:\"fas fa-draw-polygon\",searchTerms:[]},{title:\"fab fa-dribbble\",searchTerms:[]},{title:\"fab fa-dribbble-square\",searchTerms:[]},{title:\"fab fa-dropbox\",searchTerms:[]},{title:\"fas fa-drum\",searchTerms:[\"instrument\",\"music\",\"percussion\",\"snare\",\"sound\"]},{title:\"fas fa-drum-steelpan\",searchTerms:[\"calypso\",\"instrument\",\"music\",\"percussion\",\"reggae\",\"snare\",\"sound\",\"steel\",\"tropical\"]},{title:\"fas fa-drumstick-bite\",searchTerms:[]},{title:\"fab fa-drupal\",searchTerms:[]},{title:\"fas fa-dumbbell\",searchTerms:[\"exercise\",\"gym\",\"strength\",\"weight\",\"weight-lifting\"]},{title:\"fas fa-dungeon\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"door\",\"entrance\",\"fantasy\",\"gate\"]},{title:\"fab fa-dyalog\",searchTerms:[]},{title:\"fab fa-earlybirds\",searchTerms:[]},{title:\"fab fa-ebay\",searchTerms:[]},{title:\"fab fa-edge\",searchTerms:[\"browser\",\"ie\"]},{title:\"fas fa-edit\",searchTerms:[\"edit\",\"pen\",\"pencil\",\"update\",\"write\"]},{title:\"far fa-edit\",searchTerms:[\"edit\",\"pen\",\"pencil\",\"update\",\"write\"]},{title:\"fas fa-eject\",searchTerms:[]},{title:\"fab fa-elementor\",searchTerms:[]},{title:\"fas fa-ellipsis-h\",searchTerms:[\"dots\",\"drag\",\"kebab\",\"list\",\"menu\",\"nav\",\"navigation\",\"ol\",\"reorder\",\"settings\",\"ul\"]},{title:\"fas fa-ellipsis-v\",searchTerms:[\"dots\",\"drag\",\"kebab\",\"list\",\"menu\",\"nav\",\"navigation\",\"ol\",\"reorder\",\"settings\",\"ul\"]},{title:\"fab fa-ello\",searchTerms:[]},{title:\"fab fa-ember\",searchTerms:[]},{title:\"fab fa-empire\",searchTerms:[]},{title:\"fas fa-envelope\",searchTerms:[\"e-mail\",\"email\",\"letter\",\"mail\",\"message\",\"notification\",\"support\"]},{title:\"far fa-envelope\",searchTerms:[\"e-mail\",\"email\",\"letter\",\"mail\",\"message\",\"notification\",\"support\"]},{title:\"fas fa-envelope-open\",searchTerms:[\"e-mail\",\"email\",\"letter\",\"mail\",\"message\",\"notification\",\"support\"]},{title:\"far fa-envelope-open\",searchTerms:[\"e-mail\",\"email\",\"letter\",\"mail\",\"message\",\"notification\",\"support\"]},{title:\"fas fa-envelope-open-text\",searchTerms:[]},{title:\"fas fa-envelope-square\",searchTerms:[\"e-mail\",\"email\",\"letter\",\"mail\",\"message\",\"notification\",\"support\"]},{title:\"fab fa-envira\",searchTerms:[\"leaf\"]},{title:\"fas fa-equals\",searchTerms:[]},{title:\"fas fa-eraser\",searchTerms:[\"delete\",\"remove\"]},{title:\"fab fa-erlang\",searchTerms:[]},{title:\"fab fa-ethereum\",searchTerms:[]},{title:\"fab fa-etsy\",searchTerms:[]},{title:\"fas fa-euro-sign\",searchTerms:[\"eur\"]},{title:\"fas fa-exchange-alt\",searchTerms:[\"arrow\",\"arrows\",\"exchange\",\"reciprocate\",\"return\",\"swap\",\"transfer\"]},{title:\"fas fa-exclamation\",searchTerms:[\"alert\",\"danger\",\"error\",\"important\",\"notice\",\"notification\",\"notify\",\"problem\",\"warning\"]},{title:\"fas fa-exclamation-circle\",searchTerms:[\"alert\",\"danger\",\"error\",\"important\",\"notice\",\"notification\",\"notify\",\"problem\",\"warning\"]},{title:\"fas fa-exclamation-triangle\",searchTerms:[\"alert\",\"danger\",\"error\",\"important\",\"notice\",\"notification\",\"notify\",\"problem\",\"warning\"]},{title:\"fas fa-expand\",searchTerms:[\"bigger\",\"enlarge\",\"resize\"]},{title:\"fas fa-expand-arrows-alt\",searchTerms:[\"arrows-alt\",\"bigger\",\"enlarge\",\"move\",\"resize\"]},{title:\"fab fa-expeditedssl\",searchTerms:[]},{title:\"fas fa-external-link-alt\",searchTerms:[\"external-link\",\"new\",\"open\"]},{title:\"fas fa-external-link-square-alt\",searchTerms:[\"external-link-square\",\"new\",\"open\"]},{title:\"fas fa-eye\",searchTerms:[\"optic\",\"see\",\"seen\",\"show\",\"sight\",\"views\",\"visible\"]},{title:\"far fa-eye\",searchTerms:[\"optic\",\"see\",\"seen\",\"show\",\"sight\",\"views\",\"visible\"]},{title:\"fas fa-eye-dropper\",searchTerms:[\"eyedropper\"]},{title:\"fas fa-eye-slash\",searchTerms:[\"blind\",\"hide\",\"show\",\"toggle\",\"unseen\",\"views\",\"visible\",\"visiblity\"]},{title:\"far fa-eye-slash\",searchTerms:[\"blind\",\"hide\",\"show\",\"toggle\",\"unseen\",\"views\",\"visible\",\"visiblity\"]},{title:\"fab fa-facebook\",searchTerms:[\"facebook-official\",\"social network\"]},{title:\"fab fa-facebook-f\",searchTerms:[\"facebook\"]},{title:\"fab fa-facebook-messenger\",searchTerms:[]},{title:\"fab fa-facebook-square\",searchTerms:[\"social network\"]},{title:\"fab fa-fantasy-flight-games\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"game\",\"gaming\",\"tabletop\"]},{title:\"fas fa-fast-backward\",searchTerms:[\"beginning\",\"first\",\"previous\",\"rewind\",\"start\"]},{title:\"fas fa-fast-forward\",searchTerms:[\"end\",\"last\",\"next\"]},{title:\"fas fa-fax\",searchTerms:[]},{title:\"fas fa-feather\",searchTerms:[\"bird\",\"light\",\"plucked\",\"quill\"]},{title:\"fas fa-feather-alt\",searchTerms:[\"bird\",\"light\",\"plucked\",\"quill\"]},{title:\"fas fa-female\",searchTerms:[\"human\",\"person\",\"profile\",\"user\",\"woman\"]},{title:\"fas fa-fighter-jet\",searchTerms:[\"airplane\",\"fast\",\"fly\",\"goose\",\"maverick\",\"plane\",\"quick\",\"top gun\",\"transportation\",\"travel\"]},{title:\"fas fa-file\",searchTerms:[\"document\",\"new\",\"page\",\"pdf\",\"resume\"]},{title:\"far fa-file\",searchTerms:[\"document\",\"new\",\"page\",\"pdf\",\"resume\"]},{title:\"fas fa-file-alt\",searchTerms:[\"document\",\"file-text\",\"invoice\",\"new\",\"page\",\"pdf\"]},{title:\"far fa-file-alt\",searchTerms:[\"document\",\"file-text\",\"invoice\",\"new\",\"page\",\"pdf\"]},{title:\"fas fa-file-archive\",searchTerms:[\".zip\",\"bundle\",\"compress\",\"compression\",\"download\",\"zip\"]},{title:\"far fa-file-archive\",searchTerms:[\".zip\",\"bundle\",\"compress\",\"compression\",\"download\",\"zip\"]},{title:\"fas fa-file-audio\",searchTerms:[]},{title:\"far fa-file-audio\",searchTerms:[]},{title:\"fas fa-file-code\",searchTerms:[]},{title:\"far fa-file-code\",searchTerms:[]},{title:\"fas fa-file-contract\",searchTerms:[\"agreement\",\"binding\",\"document\",\"legal\",\"signature\"]},{title:\"fas fa-file-csv\",searchTerms:[\"spreadsheets\"]},{title:\"fas fa-file-download\",searchTerms:[]},{title:\"fas fa-file-excel\",searchTerms:[]},{title:\"far fa-file-excel\",searchTerms:[]},{title:\"fas fa-file-export\",searchTerms:[]},{title:\"fas fa-file-image\",searchTerms:[]},{title:\"far fa-file-image\",searchTerms:[]},{title:\"fas fa-file-import\",searchTerms:[]},{title:\"fas fa-file-invoice\",searchTerms:[\"bill\",\"document\",\"receipt\"]},{title:\"fas fa-file-invoice-dollar\",searchTerms:[\"$\",\"bill\",\"document\",\"dollar-sign\",\"money\",\"receipt\",\"usd\"]},{title:\"fas fa-file-medical\",searchTerms:[]},{title:\"fas fa-file-medical-alt\",searchTerms:[]},{title:\"fas fa-file-pdf\",searchTerms:[]},{title:\"far fa-file-pdf\",searchTerms:[]},{title:\"fas fa-file-powerpoint\",searchTerms:[]},{title:\"far fa-file-powerpoint\",searchTerms:[]},{title:\"fas fa-file-prescription\",searchTerms:[\"drugs\",\"medical\",\"medicine\",\"rx\"]},{title:\"fas fa-file-signature\",searchTerms:[\"John Hancock\",\"contract\",\"document\",\"name\"]},{title:\"fas fa-file-upload\",searchTerms:[]},{title:\"fas fa-file-video\",searchTerms:[]},{title:\"far fa-file-video\",searchTerms:[]},{title:\"fas fa-file-word\",searchTerms:[]},{title:\"far fa-file-word\",searchTerms:[]},{title:\"fas fa-fill\",searchTerms:[\"bucket\",\"color\",\"paint\",\"paint bucket\"]},{title:\"fas fa-fill-drip\",searchTerms:[\"bucket\",\"color\",\"drop\",\"paint\",\"paint bucket\",\"spill\"]},{title:\"fas fa-film\",searchTerms:[\"movie\"]},{title:\"fas fa-filter\",searchTerms:[\"funnel\",\"options\"]},{title:\"fas fa-fingerprint\",searchTerms:[\"human\",\"id\",\"identification\",\"lock\",\"smudge\",\"touch\",\"unique\",\"unlock\"]},{title:\"fas fa-fire\",searchTerms:[\"caliente\",\"flame\",\"heat\",\"hot\",\"popular\"]},{title:\"fas fa-fire-extinguisher\",searchTerms:[]},{title:\"fab fa-firefox\",searchTerms:[\"browser\"]},{title:\"fas fa-first-aid\",searchTerms:[]},{title:\"fab fa-first-order\",searchTerms:[]},{title:\"fab fa-first-order-alt\",searchTerms:[]},{title:\"fab fa-firstdraft\",searchTerms:[]},{title:\"fas fa-fish\",searchTerms:[\"fauna\",\"gold\",\"swimming\"]},{title:\"fas fa-fist-raised\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"hand\",\"ki\",\"monk\",\"resist\",\"strength\",\"unarmed combat\"]},{title:\"fas fa-flag\",searchTerms:[\"country\",\"notice\",\"notification\",\"notify\",\"pole\",\"report\",\"symbol\"]},{title:\"far fa-flag\",searchTerms:[\"country\",\"notice\",\"notification\",\"notify\",\"pole\",\"report\",\"symbol\"]},{title:\"fas fa-flag-checkered\",searchTerms:[\"notice\",\"notification\",\"notify\",\"pole\",\"racing\",\"report\",\"symbol\"]},{title:\"fas fa-flag-usa\",searchTerms:[\"betsy ross\",\"country\",\"old glory\",\"stars\",\"stripes\",\"symbol\"]},{title:\"fas fa-flask\",searchTerms:[\"beaker\",\"experimental\",\"labs\",\"science\"]},{title:\"fab fa-flickr\",searchTerms:[]},{title:\"fab fa-flipboard\",searchTerms:[]},{title:\"fas fa-flushed\",searchTerms:[\"embarrassed\",\"emoticon\",\"face\"]},{title:\"far fa-flushed\",searchTerms:[\"embarrassed\",\"emoticon\",\"face\"]},{title:\"fab fa-fly\",searchTerms:[]},{title:\"fas fa-folder\",searchTerms:[]},{title:\"far fa-folder\",searchTerms:[]},{title:\"fas fa-folder-minus\",searchTerms:[\"archive\",\"delete\",\"negative\",\"remove\"]},{title:\"fas fa-folder-open\",searchTerms:[]},{title:\"far fa-folder-open\",searchTerms:[]},{title:\"fas fa-folder-plus\",searchTerms:[\"add\",\"create\",\"new\",\"positive\"]},{title:\"fas fa-font\",searchTerms:[\"text\"]},{title:\"fab fa-font-awesome\",searchTerms:[\"meanpath\"]},{title:\"fab fa-font-awesome-alt\",searchTerms:[]},{title:\"fab fa-font-awesome-flag\",searchTerms:[]},{title:\"far fa-font-awesome-logo-full\",searchTerms:[]},{title:\"fas fa-font-awesome-logo-full\",searchTerms:[]},{title:\"fab fa-font-awesome-logo-full\",searchTerms:[]},{title:\"fab fa-fonticons\",searchTerms:[]},{title:\"fab fa-fonticons-fi\",searchTerms:[]},{title:\"fas fa-football-ball\",searchTerms:[\"fall\",\"pigskin\",\"seasonal\"]},{title:\"fab fa-fort-awesome\",searchTerms:[\"castle\"]},{title:\"fab fa-fort-awesome-alt\",searchTerms:[\"castle\"]},{title:\"fab fa-forumbee\",searchTerms:[]},{title:\"fas fa-forward\",searchTerms:[\"forward\",\"next\"]},{title:\"fab fa-foursquare\",searchTerms:[]},{title:\"fab fa-free-code-camp\",searchTerms:[]},{title:\"fab fa-freebsd\",searchTerms:[]},{title:\"fas fa-frog\",searchTerms:[\"amphibian\",\"bullfrog\",\"fauna\",\"hop\",\"kermit\",\"kiss\",\"prince\",\"ribbit\",\"toad\",\"wart\"]},{title:\"fas fa-frown\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"rating\",\"sad\"]},{title:\"far fa-frown\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"rating\",\"sad\"]},{title:\"fas fa-frown-open\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"rating\",\"sad\"]},{title:\"far fa-frown-open\",searchTerms:[\"disapprove\",\"emoticon\",\"face\",\"rating\",\"sad\"]},{title:\"fab fa-fulcrum\",searchTerms:[]},{title:\"fas fa-funnel-dollar\",searchTerms:[]},{title:\"fas fa-futbol\",searchTerms:[\"ball\",\"football\",\"soccer\"]},{title:\"far fa-futbol\",searchTerms:[\"ball\",\"football\",\"soccer\"]},{title:\"fab fa-galactic-republic\",searchTerms:[\"politics\",\"star wars\"]},{title:\"fab fa-galactic-senate\",searchTerms:[\"star wars\"]},{title:\"fas fa-gamepad\",searchTerms:[\"controller\"]},{title:\"fas fa-gas-pump\",searchTerms:[]},{title:\"fas fa-gavel\",searchTerms:[\"hammer\",\"judge\",\"lawyer\",\"opinion\"]},{title:\"fas fa-gem\",searchTerms:[\"diamond\"]},{title:\"far fa-gem\",searchTerms:[\"diamond\"]},{title:\"fas fa-genderless\",searchTerms:[]},{title:\"fab fa-get-pocket\",searchTerms:[]},{title:\"fab fa-gg\",searchTerms:[]},{title:\"fab fa-gg-circle\",searchTerms:[]},{title:\"fas fa-ghost\",searchTerms:[\"apparition\",\"blinky\",\"clyde\",\"floating\",\"halloween\",\"holiday\",\"inky\",\"pinky\",\"spirit\"]},{title:\"fas fa-gift\",searchTerms:[\"generosity\",\"giving\",\"party\",\"present\",\"wrapped\"]},{title:\"fab fa-git\",searchTerms:[]},{title:\"fab fa-git-square\",searchTerms:[]},{title:\"fab fa-github\",searchTerms:[\"octocat\"]},{title:\"fab fa-github-alt\",searchTerms:[\"octocat\"]},{title:\"fab fa-github-square\",searchTerms:[\"octocat\"]},{title:\"fab fa-gitkraken\",searchTerms:[]},{title:\"fab fa-gitlab\",searchTerms:[\"Axosoft\"]},{title:\"fab fa-gitter\",searchTerms:[]},{title:\"fas fa-glass-martini\",searchTerms:[\"alcohol\",\"bar\",\"beverage\",\"drink\",\"glass\",\"liquor\",\"martini\"]},{title:\"fas fa-glass-martini-alt\",searchTerms:[]},{title:\"fas fa-glasses\",searchTerms:[\"foureyes\",\"hipster\",\"nerd\",\"reading\",\"sight\",\"spectacles\"]},{title:\"fab fa-glide\",searchTerms:[]},{title:\"fab fa-glide-g\",searchTerms:[]},{title:\"fas fa-globe\",searchTerms:[\"all\",\"coordinates\",\"country\",\"earth\",\"global\",\"gps\",\"language\",\"localize\",\"location\",\"map\",\"online\",\"place\",\"planet\",\"translate\",\"travel\",\"world\"]},{title:\"fas fa-globe-africa\",searchTerms:[\"all\",\"country\",\"earth\",\"global\",\"gps\",\"language\",\"localize\",\"location\",\"map\",\"online\",\"place\",\"planet\",\"translate\",\"travel\",\"world\"]},{title:\"fas fa-globe-americas\",searchTerms:[\"all\",\"country\",\"earth\",\"global\",\"gps\",\"language\",\"localize\",\"location\",\"map\",\"online\",\"place\",\"planet\",\"translate\",\"travel\",\"world\"]},{title:\"fas fa-globe-asia\",searchTerms:[\"all\",\"country\",\"earth\",\"global\",\"gps\",\"language\",\"localize\",\"location\",\"map\",\"online\",\"place\",\"planet\",\"translate\",\"travel\",\"world\"]},{title:\"fab fa-gofore\",searchTerms:[]},{title:\"fas fa-golf-ball\",searchTerms:[]},{title:\"fab fa-goodreads\",searchTerms:[]},{title:\"fab fa-goodreads-g\",searchTerms:[]},{title:\"fab fa-google\",searchTerms:[]},{title:\"fab fa-google-drive\",searchTerms:[]},{title:\"fab fa-google-play\",searchTerms:[]},{title:\"fab fa-google-plus\",searchTerms:[\"google-plus-circle\",\"google-plus-official\"]},{title:\"fab fa-google-plus-g\",searchTerms:[\"google-plus\",\"social network\"]},{title:\"fab fa-google-plus-square\",searchTerms:[\"social network\"]},{title:\"fab fa-google-wallet\",searchTerms:[]},{title:\"fas fa-gopuram\",searchTerms:[\"building\",\"entrance\",\"hinduism\",\"temple\",\"tower\"]},{title:\"fas fa-graduation-cap\",searchTerms:[\"learning\",\"school\",\"student\"]},{title:\"fab fa-gratipay\",searchTerms:[\"favorite\",\"heart\",\"like\",\"love\"]},{title:\"fab fa-grav\",searchTerms:[]},{title:\"fas fa-greater-than\",searchTerms:[]},{title:\"fas fa-greater-than-equal\",searchTerms:[]},{title:\"fas fa-grimace\",searchTerms:[\"cringe\",\"emoticon\",\"face\"]},{title:\"far fa-grimace\",searchTerms:[\"cringe\",\"emoticon\",\"face\"]},{title:\"fas fa-grin\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"far fa-grin\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"fas fa-grin-alt\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"far fa-grin-alt\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"fas fa-grin-beam\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"far fa-grin-beam\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"fas fa-grin-beam-sweat\",searchTerms:[\"emoticon\",\"face\",\"smile\"]},{title:\"far fa-grin-beam-sweat\",searchTerms:[\"emoticon\",\"face\",\"smile\"]},{title:\"fas fa-grin-hearts\",searchTerms:[\"emoticon\",\"face\",\"love\",\"smile\"]},{title:\"far fa-grin-hearts\",searchTerms:[\"emoticon\",\"face\",\"love\",\"smile\"]},{title:\"fas fa-grin-squint\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"far fa-grin-squint\",searchTerms:[\"emoticon\",\"face\",\"laugh\",\"smile\"]},{title:\"fas fa-grin-squint-tears\",searchTerms:[\"emoticon\",\"face\",\"happy\",\"smile\"]},{title:\"far fa-grin-squint-tears\",searchTerms:[\"emoticon\",\"face\",\"happy\",\"smile\"]},{title:\"fas fa-grin-stars\",searchTerms:[\"emoticon\",\"face\",\"star-struck\"]},{title:\"far fa-grin-stars\",searchTerms:[\"emoticon\",\"face\",\"star-struck\"]},{title:\"fas fa-grin-tears\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-grin-tears\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-grin-tongue\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-grin-tongue\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-grin-tongue-squint\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-grin-tongue-squint\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-grin-tongue-wink\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-grin-tongue-wink\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-grin-wink\",searchTerms:[\"emoticon\",\"face\",\"flirt\",\"laugh\",\"smile\"]},{title:\"far fa-grin-wink\",searchTerms:[\"emoticon\",\"face\",\"flirt\",\"laugh\",\"smile\"]},{title:\"fas fa-grip-horizontal\",searchTerms:[\"affordance\",\"drag\",\"drop\",\"grab\",\"handle\"]},{title:\"fas fa-grip-vertical\",searchTerms:[\"affordance\",\"drag\",\"drop\",\"grab\",\"handle\"]},{title:\"fab fa-gripfire\",searchTerms:[]},{title:\"fab fa-grunt\",searchTerms:[]},{title:\"fab fa-gulp\",searchTerms:[]},{title:\"fas fa-h-square\",searchTerms:[\"hospital\",\"hotel\"]},{title:\"fab fa-hacker-news\",searchTerms:[]},{title:\"fab fa-hacker-news-square\",searchTerms:[]},{title:\"fab fa-hackerrank\",searchTerms:[]},{title:\"fas fa-hammer\",searchTerms:[\"admin\",\"fix\",\"repair\",\"settings\",\"tool\"]},{title:\"fas fa-hamsa\",searchTerms:[\"amulet\",\"christianity\",\"islam\",\"jewish\",\"judaism\",\"muslim\",\"protection\"]},{title:\"fas fa-hand-holding\",searchTerms:[]},{title:\"fas fa-hand-holding-heart\",searchTerms:[]},{title:\"fas fa-hand-holding-usd\",searchTerms:[\"$\",\"dollar sign\",\"donation\",\"giving\",\"money\",\"price\"]},{title:\"fas fa-hand-lizard\",searchTerms:[]},{title:\"far fa-hand-lizard\",searchTerms:[]},{title:\"fas fa-hand-paper\",searchTerms:[\"stop\"]},{title:\"far fa-hand-paper\",searchTerms:[\"stop\"]},{title:\"fas fa-hand-peace\",searchTerms:[]},{title:\"far fa-hand-peace\",searchTerms:[]},{title:\"fas fa-hand-point-down\",searchTerms:[\"finger\",\"hand-o-down\",\"point\"]},{title:\"far fa-hand-point-down\",searchTerms:[\"finger\",\"hand-o-down\",\"point\"]},{title:\"fas fa-hand-point-left\",searchTerms:[\"back\",\"finger\",\"hand-o-left\",\"left\",\"point\",\"previous\"]},{title:\"far fa-hand-point-left\",searchTerms:[\"back\",\"finger\",\"hand-o-left\",\"left\",\"point\",\"previous\"]},{title:\"fas fa-hand-point-right\",searchTerms:[\"finger\",\"forward\",\"hand-o-right\",\"next\",\"point\",\"right\"]},{title:\"far fa-hand-point-right\",searchTerms:[\"finger\",\"forward\",\"hand-o-right\",\"next\",\"point\",\"right\"]},{title:\"fas fa-hand-point-up\",searchTerms:[\"finger\",\"hand-o-up\",\"point\"]},{title:\"far fa-hand-point-up\",searchTerms:[\"finger\",\"hand-o-up\",\"point\"]},{title:\"fas fa-hand-pointer\",searchTerms:[\"select\"]},{title:\"far fa-hand-pointer\",searchTerms:[\"select\"]},{title:\"fas fa-hand-rock\",searchTerms:[]},{title:\"far fa-hand-rock\",searchTerms:[]},{title:\"fas fa-hand-scissors\",searchTerms:[]},{title:\"far fa-hand-scissors\",searchTerms:[]},{title:\"fas fa-hand-spock\",searchTerms:[]},{title:\"far fa-hand-spock\",searchTerms:[]},{title:\"fas fa-hands\",searchTerms:[]},{title:\"fas fa-hands-helping\",searchTerms:[\"aid\",\"assistance\",\"partnership\",\"volunteering\"]},{title:\"fas fa-handshake\",searchTerms:[\"greeting\",\"partnership\"]},{title:\"far fa-handshake\",searchTerms:[\"greeting\",\"partnership\"]},{title:\"fas fa-hanukiah\",searchTerms:[\"candle\",\"hanukkah\",\"jewish\",\"judaism\",\"light\"]},{title:\"fas fa-hashtag\",searchTerms:[]},{title:\"fas fa-hat-wizard\",searchTerms:[\"Dungeons & Dragons\",\"buckle\",\"cloth\",\"clothing\",\"d&d\",\"dnd\",\"fantasy\",\"halloween\",\"holiday\",\"mage\",\"magic\",\"pointy\",\"witch\"]},{title:\"fas fa-haykal\",searchTerms:[\"bahai\",\"bahá'í\",\"star\"]},{title:\"fas fa-hdd\",searchTerms:[\"cpu\",\"hard drive\",\"harddrive\",\"machine\",\"save\",\"storage\"]},{title:\"far fa-hdd\",searchTerms:[\"cpu\",\"hard drive\",\"harddrive\",\"machine\",\"save\",\"storage\"]},{title:\"fas fa-heading\",searchTerms:[\"header\"]},{title:\"fas fa-headphones\",searchTerms:[\"audio\",\"listen\",\"music\",\"sound\",\"speaker\"]},{title:\"fas fa-headphones-alt\",searchTerms:[\"audio\",\"listen\",\"music\",\"sound\",\"speaker\"]},{title:\"fas fa-headset\",searchTerms:[\"audio\",\"gamer\",\"gaming\",\"listen\",\"live chat\",\"microphone\",\"shot caller\",\"sound\",\"support\",\"telemarketer\"]},{title:\"fas fa-heart\",searchTerms:[\"favorite\",\"like\",\"love\"]},{title:\"far fa-heart\",searchTerms:[\"favorite\",\"like\",\"love\"]},{title:\"fas fa-heartbeat\",searchTerms:[\"ekg\",\"lifeline\",\"vital signs\"]},{title:\"fas fa-helicopter\",searchTerms:[\"airwolf\",\"apache\",\"chopper\",\"flight\",\"fly\"]},{title:\"fas fa-highlighter\",searchTerms:[\"edit\",\"marker\",\"sharpie\",\"update\",\"write\"]},{title:\"fas fa-hiking\",searchTerms:[\"activity\",\"backpack\",\"fall\",\"fitness\",\"outdoors\",\"seasonal\",\"walking\"]},{title:\"fas fa-hippo\",searchTerms:[\"fauna\",\"hungry\",\"mammmal\"]},{title:\"fab fa-hips\",searchTerms:[]},{title:\"fab fa-hire-a-helper\",searchTerms:[]},{title:\"fas fa-history\",searchTerms:[]},{title:\"fas fa-hockey-puck\",searchTerms:[]},{title:\"fas fa-home\",searchTerms:[\"house\",\"main\"]},{title:\"fab fa-hooli\",searchTerms:[]},{title:\"fab fa-hornbill\",searchTerms:[]},{title:\"fas fa-horse\",searchTerms:[\"equus\",\"fauna\",\"mammmal\",\"neigh\"]},{title:\"fas fa-hospital\",searchTerms:[\"building\",\"emergency room\",\"medical center\"]},{title:\"far fa-hospital\",searchTerms:[\"building\",\"emergency room\",\"medical center\"]},{title:\"fas fa-hospital-alt\",searchTerms:[\"building\",\"emergency room\",\"medical center\"]},{title:\"fas fa-hospital-symbol\",searchTerms:[]},{title:\"fas fa-hot-tub\",searchTerms:[]},{title:\"fas fa-hotel\",searchTerms:[\"building\",\"lodging\"]},{title:\"fab fa-hotjar\",searchTerms:[]},{title:\"fas fa-hourglass\",searchTerms:[]},{title:\"far fa-hourglass\",searchTerms:[]},{title:\"fas fa-hourglass-end\",searchTerms:[]},{title:\"fas fa-hourglass-half\",searchTerms:[]},{title:\"fas fa-hourglass-start\",searchTerms:[]},{title:\"fas fa-house-damage\",searchTerms:[\"devastation\",\"home\"]},{title:\"fab fa-houzz\",searchTerms:[]},{title:\"fas fa-hryvnia\",searchTerms:[\"money\"]},{title:\"fab fa-html5\",searchTerms:[]},{title:\"fab fa-hubspot\",searchTerms:[]},{title:\"fas fa-i-cursor\",searchTerms:[]},{title:\"fas fa-id-badge\",searchTerms:[]},{title:\"far fa-id-badge\",searchTerms:[]},{title:\"fas fa-id-card\",searchTerms:[\"document\",\"identification\",\"issued\"]},{title:\"far fa-id-card\",searchTerms:[\"document\",\"identification\",\"issued\"]},{title:\"fas fa-id-card-alt\",searchTerms:[\"demographics\"]},{title:\"fas fa-image\",searchTerms:[\"album\",\"photo\",\"picture\"]},{title:\"far fa-image\",searchTerms:[\"album\",\"photo\",\"picture\"]},{title:\"fas fa-images\",searchTerms:[\"album\",\"photo\",\"picture\"]},{title:\"far fa-images\",searchTerms:[\"album\",\"photo\",\"picture\"]},{title:\"fab fa-imdb\",searchTerms:[]},{title:\"fas fa-inbox\",searchTerms:[]},{title:\"fas fa-indent\",searchTerms:[]},{title:\"fas fa-industry\",searchTerms:[\"factory\",\"manufacturing\"]},{title:\"fas fa-infinity\",searchTerms:[]},{title:\"fas fa-info\",searchTerms:[\"details\",\"help\",\"information\",\"more\"]},{title:\"fas fa-info-circle\",searchTerms:[\"details\",\"help\",\"information\",\"more\"]},{title:\"fab fa-instagram\",searchTerms:[]},{title:\"fab fa-internet-explorer\",searchTerms:[\"browser\",\"ie\"]},{title:\"fab fa-ioxhost\",searchTerms:[]},{title:\"fas fa-italic\",searchTerms:[\"italics\"]},{title:\"fab fa-itunes\",searchTerms:[]},{title:\"fab fa-itunes-note\",searchTerms:[]},{title:\"fab fa-java\",searchTerms:[]},{title:\"fas fa-jedi\",searchTerms:[\"star wars\"]},{title:\"fab fa-jedi-order\",searchTerms:[\"star wars\"]},{title:\"fab fa-jenkins\",searchTerms:[]},{title:\"fab fa-joget\",searchTerms:[]},{title:\"fas fa-joint\",searchTerms:[\"blunt\",\"cannabis\",\"doobie\",\"drugs\",\"marijuana\",\"roach\",\"smoke\",\"smoking\",\"spliff\"]},{title:\"fab fa-joomla\",searchTerms:[]},{title:\"fas fa-journal-whills\",searchTerms:[\"book\",\"jedi\",\"star wars\",\"the force\"]},{title:\"fab fa-js\",searchTerms:[]},{title:\"fab fa-js-square\",searchTerms:[]},{title:\"fab fa-jsfiddle\",searchTerms:[]},{title:\"fas fa-kaaba\",searchTerms:[\"building\",\"cube\",\"islam\",\"muslim\"]},{title:\"fab fa-kaggle\",searchTerms:[]},{title:\"fas fa-key\",searchTerms:[\"password\",\"unlock\"]},{title:\"fab fa-keybase\",searchTerms:[]},{title:\"fas fa-keyboard\",searchTerms:[\"input\",\"type\"]},{title:\"far fa-keyboard\",searchTerms:[\"input\",\"type\"]},{title:\"fab fa-keycdn\",searchTerms:[]},{title:\"fas fa-khanda\",searchTerms:[\"chakkar\",\"sikh\",\"sikhism\",\"sword\"]},{title:\"fab fa-kickstarter\",searchTerms:[]},{title:\"fab fa-kickstarter-k\",searchTerms:[]},{title:\"fas fa-kiss\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"far fa-kiss\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"fas fa-kiss-beam\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"far fa-kiss-beam\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"fas fa-kiss-wink-heart\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"far fa-kiss-wink-heart\",searchTerms:[\"beso\",\"emoticon\",\"face\",\"love\",\"smooch\"]},{title:\"fas fa-kiwi-bird\",searchTerms:[\"bird\",\"fauna\"]},{title:\"fab fa-korvue\",searchTerms:[]},{title:\"fas fa-landmark\",searchTerms:[\"building\",\"historic\",\"memoroable\",\"politics\"]},{title:\"fas fa-language\",searchTerms:[\"dialect\",\"idiom\",\"localize\",\"speech\",\"translate\",\"vernacular\"]},{title:\"fas fa-laptop\",searchTerms:[\"computer\",\"cpu\",\"dell\",\"demo\",\"device\",\"dude you're getting\",\"mac\",\"macbook\",\"machine\",\"pc\"]},{title:\"fas fa-laptop-code\",searchTerms:[]},{title:\"fab fa-laravel\",searchTerms:[]},{title:\"fab fa-lastfm\",searchTerms:[]},{title:\"fab fa-lastfm-square\",searchTerms:[]},{title:\"fas fa-laugh\",searchTerms:[\"LOL\",\"emoticon\",\"face\",\"laugh\"]},{title:\"far fa-laugh\",searchTerms:[\"LOL\",\"emoticon\",\"face\",\"laugh\"]},{title:\"fas fa-laugh-beam\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-laugh-beam\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-laugh-squint\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-laugh-squint\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-laugh-wink\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"far fa-laugh-wink\",searchTerms:[\"LOL\",\"emoticon\",\"face\"]},{title:\"fas fa-layer-group\",searchTerms:[\"layers\"]},{title:\"fas fa-leaf\",searchTerms:[\"eco\",\"flora\",\"nature\",\"plant\"]},{title:\"fab fa-leanpub\",searchTerms:[]},{title:\"fas fa-lemon\",searchTerms:[\"food\"]},{title:\"far fa-lemon\",searchTerms:[\"food\"]},{title:\"fab fa-less\",searchTerms:[]},{title:\"fas fa-less-than\",searchTerms:[]},{title:\"fas fa-less-than-equal\",searchTerms:[]},{title:\"fas fa-level-down-alt\",searchTerms:[\"level-down\"]},{title:\"fas fa-level-up-alt\",searchTerms:[\"level-up\"]},{title:\"fas fa-life-ring\",searchTerms:[\"support\"]},{title:\"far fa-life-ring\",searchTerms:[\"support\"]},{title:\"fas fa-lightbulb\",searchTerms:[\"idea\",\"inspiration\"]},{title:\"far fa-lightbulb\",searchTerms:[\"idea\",\"inspiration\"]},{title:\"fab fa-line\",searchTerms:[]},{title:\"fas fa-link\",searchTerms:[\"chain\"]},{title:\"fab fa-linkedin\",searchTerms:[\"linkedin-square\"]},{title:\"fab fa-linkedin-in\",searchTerms:[\"linkedin\"]},{title:\"fab fa-linode\",searchTerms:[]},{title:\"fab fa-linux\",searchTerms:[\"tux\"]},{title:\"fas fa-lira-sign\",searchTerms:[\"try\",\"turkish\"]},{title:\"fas fa-list\",searchTerms:[\"checklist\",\"completed\",\"done\",\"finished\",\"ol\",\"todo\",\"ul\"]},{title:\"fas fa-list-alt\",searchTerms:[\"checklist\",\"completed\",\"done\",\"finished\",\"ol\",\"todo\",\"ul\"]},{title:\"far fa-list-alt\",searchTerms:[\"checklist\",\"completed\",\"done\",\"finished\",\"ol\",\"todo\",\"ul\"]},{title:\"fas fa-list-ol\",searchTerms:[\"checklist\",\"list\",\"numbers\",\"ol\",\"todo\",\"ul\"]},{title:\"fas fa-list-ul\",searchTerms:[\"checklist\",\"list\",\"ol\",\"todo\",\"ul\"]},{title:\"fas fa-location-arrow\",searchTerms:[\"address\",\"coordinates\",\"gps\",\"location\",\"map\",\"place\",\"where\"]},{title:\"fas fa-lock\",searchTerms:[\"admin\",\"protect\",\"security\"]},{title:\"fas fa-lock-open\",searchTerms:[\"admin\",\"lock\",\"open\",\"password\",\"protect\"]},{title:\"fas fa-long-arrow-alt-down\",searchTerms:[\"long-arrow-down\"]},{title:\"fas fa-long-arrow-alt-left\",searchTerms:[\"back\",\"long-arrow-left\",\"previous\"]},{title:\"fas fa-long-arrow-alt-right\",searchTerms:[\"long-arrow-right\"]},{title:\"fas fa-long-arrow-alt-up\",searchTerms:[\"long-arrow-up\"]},{title:\"fas fa-low-vision\",searchTerms:[]},{title:\"fas fa-luggage-cart\",searchTerms:[]},{title:\"fab fa-lyft\",searchTerms:[]},{title:\"fab fa-magento\",searchTerms:[]},{title:\"fas fa-magic\",searchTerms:[\"autocomplete\",\"automatic\",\"mage\",\"magic\",\"spell\",\"witch\",\"wizard\"]},{title:\"fas fa-magnet\",searchTerms:[]},{title:\"fas fa-mail-bulk\",searchTerms:[]},{title:\"fab fa-mailchimp\",searchTerms:[]},{title:\"fas fa-male\",searchTerms:[\"human\",\"man\",\"person\",\"profile\",\"user\"]},{title:\"fab fa-mandalorian\",searchTerms:[]},{title:\"fas fa-map\",searchTerms:[\"coordinates\",\"location\",\"paper\",\"place\",\"travel\"]},{title:\"far fa-map\",searchTerms:[\"coordinates\",\"location\",\"paper\",\"place\",\"travel\"]},{title:\"fas fa-map-marked\",searchTerms:[\"address\",\"coordinates\",\"destination\",\"gps\",\"localize\",\"location\",\"map\",\"paper\",\"pin\",\"place\",\"point of interest\",\"position\",\"route\",\"travel\",\"where\"]},{title:\"fas fa-map-marked-alt\",searchTerms:[\"address\",\"coordinates\",\"destination\",\"gps\",\"localize\",\"location\",\"map\",\"paper\",\"pin\",\"place\",\"point of interest\",\"position\",\"route\",\"travel\",\"where\"]},{title:\"fas fa-map-marker\",searchTerms:[\"address\",\"coordinates\",\"gps\",\"localize\",\"location\",\"map\",\"pin\",\"place\",\"position\",\"travel\",\"where\"]},{title:\"fas fa-map-marker-alt\",searchTerms:[\"address\",\"coordinates\",\"gps\",\"localize\",\"location\",\"map\",\"pin\",\"place\",\"position\",\"travel\",\"where\"]},{title:\"fas fa-map-pin\",searchTerms:[\"address\",\"coordinates\",\"gps\",\"localize\",\"location\",\"map\",\"marker\",\"place\",\"position\",\"travel\",\"where\"]},{title:\"fas fa-map-signs\",searchTerms:[]},{title:\"fab fa-markdown\",searchTerms:[]},{title:\"fas fa-marker\",searchTerms:[\"edit\",\"sharpie\",\"update\",\"write\"]},{title:\"fas fa-mars\",searchTerms:[\"male\"]},{title:\"fas fa-mars-double\",searchTerms:[]},{title:\"fas fa-mars-stroke\",searchTerms:[]},{title:\"fas fa-mars-stroke-h\",searchTerms:[]},{title:\"fas fa-mars-stroke-v\",searchTerms:[]},{title:\"fas fa-mask\",searchTerms:[\"costume\",\"disguise\",\"halloween\",\"holiday\",\"secret\",\"super hero\"]},{title:\"fab fa-mastodon\",searchTerms:[]},{title:\"fab fa-maxcdn\",searchTerms:[]},{title:\"fas fa-medal\",searchTerms:[]},{title:\"fab fa-medapps\",searchTerms:[]},{title:\"fab fa-medium\",searchTerms:[]},{title:\"fab fa-medium-m\",searchTerms:[]},{title:\"fas fa-medkit\",searchTerms:[\"first aid\",\"firstaid\",\"health\",\"help\",\"support\"]},{title:\"fab fa-medrt\",searchTerms:[]},{title:\"fab fa-meetup\",searchTerms:[]},{title:\"fab fa-megaport\",searchTerms:[]},{title:\"fas fa-meh\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"far fa-meh\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"fas fa-meh-blank\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"far fa-meh-blank\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"fas fa-meh-rolling-eyes\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"far fa-meh-rolling-eyes\",searchTerms:[\"emoticon\",\"face\",\"neutral\",\"rating\"]},{title:\"fas fa-memory\",searchTerms:[\"DIMM\",\"RAM\"]},{title:\"fas fa-menorah\",searchTerms:[\"candle\",\"hanukkah\",\"jewish\",\"judaism\",\"light\"]},{title:\"fas fa-mercury\",searchTerms:[\"transgender\"]},{title:\"fas fa-meteor\",searchTerms:[]},{title:\"fas fa-microchip\",searchTerms:[\"cpu\",\"processor\"]},{title:\"fas fa-microphone\",searchTerms:[\"record\",\"sound\",\"voice\"]},{title:\"fas fa-microphone-alt\",searchTerms:[\"record\",\"sound\",\"voice\"]},{title:\"fas fa-microphone-alt-slash\",searchTerms:[\"disable\",\"mute\",\"record\",\"sound\",\"voice\"]},{title:\"fas fa-microphone-slash\",searchTerms:[\"disable\",\"mute\",\"record\",\"sound\",\"voice\"]},{title:\"fas fa-microscope\",searchTerms:[]},{title:\"fab fa-microsoft\",searchTerms:[]},{title:\"fas fa-minus\",searchTerms:[\"collapse\",\"delete\",\"hide\",\"minify\",\"negative\",\"remove\",\"trash\"]},{title:\"fas fa-minus-circle\",searchTerms:[\"delete\",\"hide\",\"negative\",\"remove\",\"trash\"]},{title:\"fas fa-minus-square\",searchTerms:[\"collapse\",\"delete\",\"hide\",\"minify\",\"negative\",\"remove\",\"trash\"]},{title:\"far fa-minus-square\",searchTerms:[\"collapse\",\"delete\",\"hide\",\"minify\",\"negative\",\"remove\",\"trash\"]},{title:\"fab fa-mix\",searchTerms:[]},{title:\"fab fa-mixcloud\",searchTerms:[]},{title:\"fab fa-mizuni\",searchTerms:[]},{title:\"fas fa-mobile\",searchTerms:[\"apple\",\"call\",\"cell phone\",\"cellphone\",\"device\",\"iphone\",\"number\",\"screen\",\"telephone\",\"text\"]},{title:\"fas fa-mobile-alt\",searchTerms:[\"apple\",\"call\",\"cell phone\",\"cellphone\",\"device\",\"iphone\",\"number\",\"screen\",\"telephone\",\"text\"]},{title:\"fab fa-modx\",searchTerms:[]},{title:\"fab fa-monero\",searchTerms:[]},{title:\"fas fa-money-bill\",searchTerms:[\"buy\",\"cash\",\"checkout\",\"money\",\"payment\",\"price\",\"purchase\"]},{title:\"fas fa-money-bill-alt\",searchTerms:[\"buy\",\"cash\",\"checkout\",\"money\",\"payment\",\"price\",\"purchase\"]},{title:\"far fa-money-bill-alt\",searchTerms:[\"buy\",\"cash\",\"checkout\",\"money\",\"payment\",\"price\",\"purchase\"]},{title:\"fas fa-money-bill-wave\",searchTerms:[]},{title:\"fas fa-money-bill-wave-alt\",searchTerms:[]},{title:\"fas fa-money-check\",searchTerms:[\"bank check\",\"cheque\"]},{title:\"fas fa-money-check-alt\",searchTerms:[\"bank check\",\"cheque\"]},{title:\"fas fa-monument\",searchTerms:[\"building\",\"historic\",\"memoroable\"]},{title:\"fas fa-moon\",searchTerms:[\"contrast\",\"crescent\",\"darker\",\"lunar\",\"night\"]},{title:\"far fa-moon\",searchTerms:[\"contrast\",\"crescent\",\"darker\",\"lunar\",\"night\"]},{title:\"fas fa-mortar-pestle\",searchTerms:[\"crush\",\"culinary\",\"grind\",\"medical\",\"mix\",\"spices\"]},{title:\"fas fa-mosque\",searchTerms:[\"building\",\"islam\",\"muslim\"]},{title:\"fas fa-motorcycle\",searchTerms:[\"bike\",\"machine\",\"transportation\",\"vehicle\"]},{title:\"fas fa-mountain\",searchTerms:[]},{title:\"fas fa-mouse-pointer\",searchTerms:[\"select\"]},{title:\"fas fa-music\",searchTerms:[\"note\",\"sound\"]},{title:\"fab fa-napster\",searchTerms:[]},{title:\"fab fa-neos\",searchTerms:[]},{title:\"fas fa-network-wired\",searchTerms:[]},{title:\"fas fa-neuter\",searchTerms:[]},{title:\"fas fa-newspaper\",searchTerms:[\"article\",\"press\"]},{title:\"far fa-newspaper\",searchTerms:[\"article\",\"press\"]},{title:\"fab fa-nimblr\",searchTerms:[]},{title:\"fab fa-nintendo-switch\",searchTerms:[]},{title:\"fab fa-node\",searchTerms:[]},{title:\"fab fa-node-js\",searchTerms:[]},{title:\"fas fa-not-equal\",searchTerms:[]},{title:\"fas fa-notes-medical\",searchTerms:[]},{title:\"fab fa-npm\",searchTerms:[]},{title:\"fab fa-ns8\",searchTerms:[]},{title:\"fab fa-nutritionix\",searchTerms:[]},{title:\"fas fa-object-group\",searchTerms:[\"design\"]},{title:\"far fa-object-group\",searchTerms:[\"design\"]},{title:\"fas fa-object-ungroup\",searchTerms:[\"design\"]},{title:\"far fa-object-ungroup\",searchTerms:[\"design\"]},{title:\"fab fa-odnoklassniki\",searchTerms:[]},{title:\"fab fa-odnoklassniki-square\",searchTerms:[]},{title:\"fas fa-oil-can\",searchTerms:[]},{title:\"fab fa-old-republic\",searchTerms:[\"politics\",\"star wars\"]},{title:\"fas fa-om\",searchTerms:[\"buddhism\",\"hinduism\",\"jainism\",\"mantra\"]},{title:\"fab fa-opencart\",searchTerms:[]},{title:\"fab fa-openid\",searchTerms:[]},{title:\"fab fa-opera\",searchTerms:[]},{title:\"fab fa-optin-monster\",searchTerms:[]},{title:\"fab fa-osi\",searchTerms:[]},{title:\"fas fa-otter\",searchTerms:[\"fauna\",\"mammmal\"]},{title:\"fas fa-outdent\",searchTerms:[]},{title:\"fab fa-page4\",searchTerms:[]},{title:\"fab fa-pagelines\",searchTerms:[\"eco\",\"flora\",\"leaf\",\"leaves\",\"nature\",\"plant\",\"tree\"]},{title:\"fas fa-paint-brush\",searchTerms:[]},{title:\"fas fa-paint-roller\",searchTerms:[\"brush\",\"painting\",\"tool\"]},{title:\"fas fa-palette\",searchTerms:[\"colors\",\"painting\"]},{title:\"fab fa-palfed\",searchTerms:[]},{title:\"fas fa-pallet\",searchTerms:[]},{title:\"fas fa-paper-plane\",searchTerms:[]},{title:\"far fa-paper-plane\",searchTerms:[]},{title:\"fas fa-paperclip\",searchTerms:[\"attachment\"]},{title:\"fas fa-parachute-box\",searchTerms:[\"aid\",\"assistance\",\"rescue\",\"supplies\"]},{title:\"fas fa-paragraph\",searchTerms:[]},{title:\"fas fa-parking\",searchTerms:[]},{title:\"fas fa-passport\",searchTerms:[\"document\",\"identification\",\"issued\"]},{title:\"fas fa-pastafarianism\",searchTerms:[\"agnosticism\",\"atheism\",\"flying spaghetti monster\",\"fsm\"]},{title:\"fas fa-paste\",searchTerms:[\"clipboard\",\"copy\"]},{title:\"fab fa-patreon\",searchTerms:[]},{title:\"fas fa-pause\",searchTerms:[\"wait\"]},{title:\"fas fa-pause-circle\",searchTerms:[]},{title:\"far fa-pause-circle\",searchTerms:[]},{title:\"fas fa-paw\",searchTerms:[\"animal\",\"pet\"]},{title:\"fab fa-paypal\",searchTerms:[]},{title:\"fas fa-peace\",searchTerms:[]},{title:\"fas fa-pen\",searchTerms:[\"design\",\"edit\",\"update\",\"write\"]},{title:\"fas fa-pen-alt\",searchTerms:[\"design\",\"edit\",\"update\",\"write\"]},{title:\"fas fa-pen-fancy\",searchTerms:[\"design\",\"edit\",\"fountain pen\",\"update\",\"write\"]},{title:\"fas fa-pen-nib\",searchTerms:[\"design\",\"edit\",\"fountain pen\",\"update\",\"write\"]},{title:\"fas fa-pen-square\",searchTerms:[\"edit\",\"pencil-square\",\"update\",\"write\"]},{title:\"fas fa-pencil-alt\",searchTerms:[\"design\",\"edit\",\"pencil\",\"update\",\"write\"]},{title:\"fas fa-pencil-ruler\",searchTerms:[]},{title:\"fab fa-penny-arcade\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"game\",\"gaming\",\"pax\",\"tabletop\"]},{title:\"fas fa-people-carry\",searchTerms:[\"movers\"]},{title:\"fas fa-percent\",searchTerms:[]},{title:\"fas fa-percentage\",searchTerms:[]},{title:\"fab fa-periscope\",searchTerms:[]},{title:\"fas fa-person-booth\",searchTerms:[\"changing\",\"changing room\",\"election\",\"human\",\"person\",\"vote\",\"voting\"]},{title:\"fab fa-phabricator\",searchTerms:[]},{title:\"fab fa-phoenix-framework\",searchTerms:[]},{title:\"fab fa-phoenix-squadron\",searchTerms:[]},{title:\"fas fa-phone\",searchTerms:[\"call\",\"earphone\",\"number\",\"support\",\"telephone\",\"voice\"]},{title:\"fas fa-phone-slash\",searchTerms:[]},{title:\"fas fa-phone-square\",searchTerms:[\"call\",\"number\",\"support\",\"telephone\",\"voice\"]},{title:\"fas fa-phone-volume\",searchTerms:[\"telephone\",\"volume-control-phone\"]},{title:\"fab fa-php\",searchTerms:[]},{title:\"fab fa-pied-piper\",searchTerms:[]},{title:\"fab fa-pied-piper-alt\",searchTerms:[]},{title:\"fab fa-pied-piper-hat\",searchTerms:[\"clothing\"]},{title:\"fab fa-pied-piper-pp\",searchTerms:[]},{title:\"fas fa-piggy-bank\",searchTerms:[\"save\",\"savings\"]},{title:\"fas fa-pills\",searchTerms:[\"drugs\",\"medicine\"]},{title:\"fab fa-pinterest\",searchTerms:[]},{title:\"fab fa-pinterest-p\",searchTerms:[]},{title:\"fab fa-pinterest-square\",searchTerms:[]},{title:\"fas fa-place-of-worship\",searchTerms:[]},{title:\"fas fa-plane\",searchTerms:[\"airplane\",\"destination\",\"fly\",\"location\",\"mode\",\"travel\",\"trip\"]},{title:\"fas fa-plane-arrival\",searchTerms:[\"airplane\",\"arriving\",\"destination\",\"fly\",\"land\",\"landing\",\"location\",\"mode\",\"travel\",\"trip\"]},{title:\"fas fa-plane-departure\",searchTerms:[\"airplane\",\"departing\",\"destination\",\"fly\",\"location\",\"mode\",\"take off\",\"taking off\",\"travel\",\"trip\"]},{title:\"fas fa-play\",searchTerms:[\"music\",\"playing\",\"sound\",\"start\"]},{title:\"fas fa-play-circle\",searchTerms:[\"playing\",\"start\"]},{title:\"far fa-play-circle\",searchTerms:[\"playing\",\"start\"]},{title:\"fab fa-playstation\",searchTerms:[]},{title:\"fas fa-plug\",searchTerms:[\"connect\",\"online\",\"power\"]},{title:\"fas fa-plus\",searchTerms:[\"add\",\"create\",\"expand\",\"new\",\"positive\"]},{title:\"fas fa-plus-circle\",searchTerms:[\"add\",\"create\",\"expand\",\"new\",\"positive\"]},{title:\"fas fa-plus-square\",searchTerms:[\"add\",\"create\",\"expand\",\"new\",\"positive\"]},{title:\"far fa-plus-square\",searchTerms:[\"add\",\"create\",\"expand\",\"new\",\"positive\"]},{title:\"fas fa-podcast\",searchTerms:[]},{title:\"fas fa-poll\",searchTerms:[\"results\",\"survey\",\"vote\",\"voting\"]},{title:\"fas fa-poll-h\",searchTerms:[\"results\",\"survey\",\"vote\",\"voting\"]},{title:\"fas fa-poo\",searchTerms:[]},{title:\"fas fa-poo-storm\",searchTerms:[\"mess\",\"poop\",\"shit\"]},{title:\"fas fa-poop\",searchTerms:[]},{title:\"fas fa-portrait\",searchTerms:[]},{title:\"fas fa-pound-sign\",searchTerms:[\"gbp\"]},{title:\"fas fa-power-off\",searchTerms:[\"on\",\"reboot\",\"restart\"]},{title:\"fas fa-pray\",searchTerms:[]},{title:\"fas fa-praying-hands\",searchTerms:[]},{title:\"fas fa-prescription\",searchTerms:[\"drugs\",\"medical\",\"medicine\",\"rx\"]},{title:\"fas fa-prescription-bottle\",searchTerms:[\"drugs\",\"medical\",\"medicine\",\"rx\"]},{title:\"fas fa-prescription-bottle-alt\",searchTerms:[\"drugs\",\"medical\",\"medicine\",\"rx\"]},{title:\"fas fa-print\",searchTerms:[]},{title:\"fas fa-procedures\",searchTerms:[]},{title:\"fab fa-product-hunt\",searchTerms:[]},{title:\"fas fa-project-diagram\",searchTerms:[]},{title:\"fab fa-pushed\",searchTerms:[]},{title:\"fas fa-puzzle-piece\",searchTerms:[\"add-on\",\"addon\",\"section\"]},{title:\"fab fa-python\",searchTerms:[]},{title:\"fab fa-qq\",searchTerms:[]},{title:\"fas fa-qrcode\",searchTerms:[\"scan\"]},{title:\"fas fa-question\",searchTerms:[\"help\",\"information\",\"support\",\"unknown\"]},{title:\"fas fa-question-circle\",searchTerms:[\"help\",\"information\",\"support\",\"unknown\"]},{title:\"far fa-question-circle\",searchTerms:[\"help\",\"information\",\"support\",\"unknown\"]},{title:\"fas fa-quidditch\",searchTerms:[]},{title:\"fab fa-quinscape\",searchTerms:[]},{title:\"fab fa-quora\",searchTerms:[]},{title:\"fas fa-quote-left\",searchTerms:[]},{title:\"fas fa-quote-right\",searchTerms:[]},{title:\"fas fa-quran\",searchTerms:[\"book\",\"islam\",\"muslim\"]},{title:\"fab fa-r-project\",searchTerms:[]},{title:\"fas fa-rainbow\",searchTerms:[]},{title:\"fas fa-random\",searchTerms:[\"shuffle\",\"sort\"]},{title:\"fab fa-ravelry\",searchTerms:[]},{title:\"fab fa-react\",searchTerms:[]},{title:\"fab fa-reacteurope\",searchTerms:[]},{title:\"fab fa-readme\",searchTerms:[]},{title:\"fab fa-rebel\",searchTerms:[]},{title:\"fas fa-receipt\",searchTerms:[\"check\",\"invoice\",\"table\"]},{title:\"fas fa-recycle\",searchTerms:[]},{title:\"fab fa-red-river\",searchTerms:[]},{title:\"fab fa-reddit\",searchTerms:[]},{title:\"fab fa-reddit-alien\",searchTerms:[]},{title:\"fab fa-reddit-square\",searchTerms:[]},{title:\"fas fa-redo\",searchTerms:[\"forward\",\"refresh\",\"reload\",\"repeat\"]},{title:\"fas fa-redo-alt\",searchTerms:[\"forward\",\"refresh\",\"reload\",\"repeat\"]},{title:\"fas fa-registered\",searchTerms:[]},{title:\"far fa-registered\",searchTerms:[]},{title:\"fab fa-renren\",searchTerms:[]},{title:\"fas fa-reply\",searchTerms:[]},{title:\"fas fa-reply-all\",searchTerms:[]},{title:\"fab fa-replyd\",searchTerms:[]},{title:\"fas fa-republican\",searchTerms:[\"american\",\"conservative\",\"election\",\"elephant\",\"politics\",\"republican party\",\"right\",\"right-wing\",\"usa\"]},{title:\"fab fa-researchgate\",searchTerms:[]},{title:\"fab fa-resolving\",searchTerms:[]},{title:\"fas fa-retweet\",searchTerms:[\"refresh\",\"reload\",\"share\",\"swap\"]},{title:\"fab fa-rev\",searchTerms:[]},{title:\"fas fa-ribbon\",searchTerms:[\"badge\",\"cause\",\"lapel\",\"pin\"]},{title:\"fas fa-ring\",searchTerms:[\"Dungeons & Dragons\",\"Gollum\",\"band\",\"binding\",\"d&d\",\"dnd\",\"fantasy\",\"jewelry\",\"precious\"]},{title:\"fas fa-road\",searchTerms:[\"street\"]},{title:\"fas fa-robot\",searchTerms:[]},{title:\"fas fa-rocket\",searchTerms:[\"app\"]},{title:\"fab fa-rocketchat\",searchTerms:[]},{title:\"fab fa-rockrms\",searchTerms:[]},{title:\"fas fa-route\",searchTerms:[]},{title:\"fas fa-rss\",searchTerms:[\"blog\"]},{title:\"fas fa-rss-square\",searchTerms:[\"blog\",\"feed\"]},{title:\"fas fa-ruble-sign\",searchTerms:[\"rub\"]},{title:\"fas fa-ruler\",searchTerms:[]},{title:\"fas fa-ruler-combined\",searchTerms:[]},{title:\"fas fa-ruler-horizontal\",searchTerms:[]},{title:\"fas fa-ruler-vertical\",searchTerms:[]},{title:\"fas fa-running\",searchTerms:[\"jog\",\"sprint\"]},{title:\"fas fa-rupee-sign\",searchTerms:[\"indian\",\"inr\"]},{title:\"fas fa-sad-cry\",searchTerms:[\"emoticon\",\"face\",\"tear\",\"tears\"]},{title:\"far fa-sad-cry\",searchTerms:[\"emoticon\",\"face\",\"tear\",\"tears\"]},{title:\"fas fa-sad-tear\",searchTerms:[\"emoticon\",\"face\",\"tear\",\"tears\"]},{title:\"far fa-sad-tear\",searchTerms:[\"emoticon\",\"face\",\"tear\",\"tears\"]},{title:\"fab fa-safari\",searchTerms:[\"browser\"]},{title:\"fab fa-sass\",searchTerms:[]},{title:\"fas fa-save\",searchTerms:[\"floppy\",\"floppy-o\"]},{title:\"far fa-save\",searchTerms:[\"floppy\",\"floppy-o\"]},{title:\"fab fa-schlix\",searchTerms:[]},{title:\"fas fa-school\",searchTerms:[]},{title:\"fas fa-screwdriver\",searchTerms:[\"admin\",\"fix\",\"repair\",\"settings\",\"tool\"]},{title:\"fab fa-scribd\",searchTerms:[]},{title:\"fas fa-scroll\",searchTerms:[\"Dungeons & Dragons\",\"announcement\",\"d&d\",\"dnd\",\"fantasy\",\"paper\"]},{title:\"fas fa-search\",searchTerms:[\"bigger\",\"enlarge\",\"magnify\",\"preview\",\"zoom\"]},{title:\"fas fa-search-dollar\",searchTerms:[]},{title:\"fas fa-search-location\",searchTerms:[]},{title:\"fas fa-search-minus\",searchTerms:[\"minify\",\"negative\",\"smaller\",\"zoom\",\"zoom out\"]},{title:\"fas fa-search-plus\",searchTerms:[\"bigger\",\"enlarge\",\"magnify\",\"positive\",\"zoom\",\"zoom in\"]},{title:\"fab fa-searchengin\",searchTerms:[]},{title:\"fas fa-seedling\",searchTerms:[]},{title:\"fab fa-sellcast\",searchTerms:[\"eercast\"]},{title:\"fab fa-sellsy\",searchTerms:[]},{title:\"fas fa-server\",searchTerms:[\"cpu\"]},{title:\"fab fa-servicestack\",searchTerms:[]},{title:\"fas fa-shapes\",searchTerms:[\"circle\",\"square\",\"triangle\"]},{title:\"fas fa-share\",searchTerms:[]},{title:\"fas fa-share-alt\",searchTerms:[]},{title:\"fas fa-share-alt-square\",searchTerms:[]},{title:\"fas fa-share-square\",searchTerms:[\"send\",\"social\"]},{title:\"far fa-share-square\",searchTerms:[\"send\",\"social\"]},{title:\"fas fa-shekel-sign\",searchTerms:[\"ils\"]},{title:\"fas fa-shield-alt\",searchTerms:[\"achievement\",\"award\",\"block\",\"defend\",\"security\",\"winner\"]},{title:\"fas fa-ship\",searchTerms:[\"boat\",\"sea\"]},{title:\"fas fa-shipping-fast\",searchTerms:[]},{title:\"fab fa-shirtsinbulk\",searchTerms:[]},{title:\"fas fa-shoe-prints\",searchTerms:[\"feet\",\"footprints\",\"steps\"]},{title:\"fas fa-shopping-bag\",searchTerms:[]},{title:\"fas fa-shopping-basket\",searchTerms:[]},{title:\"fas fa-shopping-cart\",searchTerms:[\"buy\",\"checkout\",\"payment\",\"purchase\"]},{title:\"fab fa-shopware\",searchTerms:[]},{title:\"fas fa-shower\",searchTerms:[]},{title:\"fas fa-shuttle-van\",searchTerms:[\"machine\",\"public-transportation\",\"transportation\",\"vehicle\"]},{title:\"fas fa-sign\",searchTerms:[]},{title:\"fas fa-sign-in-alt\",searchTerms:[\"arrow\",\"enter\",\"join\",\"log in\",\"login\",\"sign in\",\"sign up\",\"sign-in\",\"signin\",\"signup\"]},{title:\"fas fa-sign-language\",searchTerms:[]},{title:\"fas fa-sign-out-alt\",searchTerms:[\"arrow\",\"exit\",\"leave\",\"log out\",\"logout\",\"sign-out\"]},{title:\"fas fa-signal\",searchTerms:[\"bars\",\"graph\",\"online\",\"status\"]},{title:\"fas fa-signature\",searchTerms:[\"John Hancock\",\"cursive\",\"name\",\"writing\"]},{title:\"fab fa-simplybuilt\",searchTerms:[]},{title:\"fab fa-sistrix\",searchTerms:[]},{title:\"fas fa-sitemap\",searchTerms:[\"directory\",\"hierarchy\",\"ia\",\"information architecture\",\"organization\"]},{title:\"fab fa-sith\",searchTerms:[]},{title:\"fas fa-skull\",searchTerms:[\"bones\",\"skeleton\",\"yorick\"]},{title:\"fas fa-skull-crossbones\",searchTerms:[\"Dungeons & Dragons\",\"alert\",\"bones\",\"d&d\",\"danger\",\"dead\",\"deadly\",\"death\",\"dnd\",\"fantasy\",\"halloween\",\"holiday\",\"jolly-roger\",\"pirate\",\"poison\",\"skeleton\",\"warning\"]},{title:\"fab fa-skyatlas\",searchTerms:[]},{title:\"fab fa-skype\",searchTerms:[]},{title:\"fab fa-slack\",searchTerms:[\"anchor\",\"hash\",\"hashtag\"]},{title:\"fab fa-slack-hash\",searchTerms:[\"anchor\",\"hash\",\"hashtag\"]},{title:\"fas fa-slash\",searchTerms:[]},{title:\"fas fa-sliders-h\",searchTerms:[\"settings\",\"sliders\"]},{title:\"fab fa-slideshare\",searchTerms:[]},{title:\"fas fa-smile\",searchTerms:[\"approve\",\"emoticon\",\"face\",\"happy\",\"rating\",\"satisfied\"]},{title:\"far fa-smile\",searchTerms:[\"approve\",\"emoticon\",\"face\",\"happy\",\"rating\",\"satisfied\"]},{title:\"fas fa-smile-beam\",searchTerms:[\"emoticon\",\"face\",\"happy\",\"positive\"]},{title:\"far fa-smile-beam\",searchTerms:[\"emoticon\",\"face\",\"happy\",\"positive\"]},{title:\"fas fa-smile-wink\",searchTerms:[\"emoticon\",\"face\",\"happy\"]},{title:\"far fa-smile-wink\",searchTerms:[\"emoticon\",\"face\",\"happy\"]},{title:\"fas fa-smog\",searchTerms:[\"dragon\"]},{title:\"fas fa-smoking\",searchTerms:[\"cigarette\",\"nicotine\",\"smoking status\"]},{title:\"fas fa-smoking-ban\",searchTerms:[\"no smoking\",\"non-smoking\"]},{title:\"fab fa-snapchat\",searchTerms:[]},{title:\"fab fa-snapchat-ghost\",searchTerms:[]},{title:\"fab fa-snapchat-square\",searchTerms:[]},{title:\"fas fa-snowflake\",searchTerms:[\"precipitation\",\"seasonal\",\"winter\"]},{title:\"far fa-snowflake\",searchTerms:[\"precipitation\",\"seasonal\",\"winter\"]},{title:\"fas fa-socks\",searchTerms:[\"business socks\",\"business time\",\"flight of the conchords\",\"wednesday\"]},{title:\"fas fa-solar-panel\",searchTerms:[\"clean\",\"eco-friendly\",\"energy\",\"green\",\"sun\"]},{title:\"fas fa-sort\",searchTerms:[\"order\"]},{title:\"fas fa-sort-alpha-down\",searchTerms:[\"sort-alpha-asc\"]},{title:\"fas fa-sort-alpha-up\",searchTerms:[\"sort-alpha-desc\"]},{title:\"fas fa-sort-amount-down\",searchTerms:[\"sort-amount-asc\"]},{title:\"fas fa-sort-amount-up\",searchTerms:[\"sort-amount-desc\"]},{title:\"fas fa-sort-down\",searchTerms:[\"arrow\",\"descending\",\"sort-desc\"]},{title:\"fas fa-sort-numeric-down\",searchTerms:[\"numbers\",\"sort-numeric-asc\"]},{title:\"fas fa-sort-numeric-up\",searchTerms:[\"numbers\",\"sort-numeric-desc\"]},{title:\"fas fa-sort-up\",searchTerms:[\"arrow\",\"ascending\",\"sort-asc\"]},{title:\"fab fa-soundcloud\",searchTerms:[]},{title:\"fas fa-spa\",searchTerms:[\"flora\",\"mindfullness\",\"plant\",\"wellness\"]},{title:\"fas fa-space-shuttle\",searchTerms:[\"astronaut\",\"machine\",\"nasa\",\"rocket\",\"transportation\"]},{title:\"fab fa-speakap\",searchTerms:[]},{title:\"fas fa-spider\",searchTerms:[\"arachnid\",\"bug\",\"charlotte\",\"crawl\",\"eight\",\"halloween\",\"holiday\"]},{title:\"fas fa-spinner\",searchTerms:[\"loading\",\"progress\"]},{title:\"fas fa-splotch\",searchTerms:[]},{title:\"fab fa-spotify\",searchTerms:[]},{title:\"fas fa-spray-can\",searchTerms:[]},{title:\"fas fa-square\",searchTerms:[\"block\",\"box\"]},{title:\"far fa-square\",searchTerms:[\"block\",\"box\"]},{title:\"fas fa-square-full\",searchTerms:[]},{title:\"fas fa-square-root-alt\",searchTerms:[]},{title:\"fab fa-squarespace\",searchTerms:[]},{title:\"fab fa-stack-exchange\",searchTerms:[]},{title:\"fab fa-stack-overflow\",searchTerms:[]},{title:\"fas fa-stamp\",searchTerms:[]},{title:\"fas fa-star\",searchTerms:[\"achievement\",\"award\",\"favorite\",\"important\",\"night\",\"rating\",\"score\"]},{title:\"far fa-star\",searchTerms:[\"achievement\",\"award\",\"favorite\",\"important\",\"night\",\"rating\",\"score\"]},{title:\"fas fa-star-and-crescent\",searchTerms:[\"islam\",\"muslim\"]},{title:\"fas fa-star-half\",searchTerms:[\"achievement\",\"award\",\"rating\",\"score\",\"star-half-empty\",\"star-half-full\"]},{title:\"far fa-star-half\",searchTerms:[\"achievement\",\"award\",\"rating\",\"score\",\"star-half-empty\",\"star-half-full\"]},{title:\"fas fa-star-half-alt\",searchTerms:[\"achievement\",\"award\",\"rating\",\"score\",\"star-half-empty\",\"star-half-full\"]},{title:\"fas fa-star-of-david\",searchTerms:[\"jewish\",\"judaism\"]},{title:\"fas fa-star-of-life\",searchTerms:[]},{title:\"fab fa-staylinked\",searchTerms:[]},{title:\"fab fa-steam\",searchTerms:[]},{title:\"fab fa-steam-square\",searchTerms:[]},{title:\"fab fa-steam-symbol\",searchTerms:[]},{title:\"fas fa-step-backward\",searchTerms:[\"beginning\",\"first\",\"previous\",\"rewind\",\"start\"]},{title:\"fas fa-step-forward\",searchTerms:[\"end\",\"last\",\"next\"]},{title:\"fas fa-stethoscope\",searchTerms:[]},{title:\"fab fa-sticker-mule\",searchTerms:[]},{title:\"fas fa-sticky-note\",searchTerms:[]},{title:\"far fa-sticky-note\",searchTerms:[]},{title:\"fas fa-stop\",searchTerms:[\"block\",\"box\",\"square\"]},{title:\"fas fa-stop-circle\",searchTerms:[]},{title:\"far fa-stop-circle\",searchTerms:[]},{title:\"fas fa-stopwatch\",searchTerms:[\"time\"]},{title:\"fas fa-store\",searchTerms:[]},{title:\"fas fa-store-alt\",searchTerms:[]},{title:\"fab fa-strava\",searchTerms:[]},{title:\"fas fa-stream\",searchTerms:[]},{title:\"fas fa-street-view\",searchTerms:[\"map\"]},{title:\"fas fa-strikethrough\",searchTerms:[]},{title:\"fab fa-stripe\",searchTerms:[]},{title:\"fab fa-stripe-s\",searchTerms:[]},{title:\"fas fa-stroopwafel\",searchTerms:[\"dessert\",\"food\",\"sweets\",\"waffle\"]},{title:\"fab fa-studiovinari\",searchTerms:[]},{title:\"fab fa-stumbleupon\",searchTerms:[]},{title:\"fab fa-stumbleupon-circle\",searchTerms:[]},{title:\"fas fa-subscript\",searchTerms:[]},{title:\"fas fa-subway\",searchTerms:[\"machine\",\"railway\",\"train\",\"transportation\",\"vehicle\"]},{title:\"fas fa-suitcase\",searchTerms:[\"baggage\",\"luggage\",\"move\",\"suitcase\",\"travel\",\"trip\"]},{title:\"fas fa-suitcase-rolling\",searchTerms:[]},{title:\"fas fa-sun\",searchTerms:[\"brighten\",\"contrast\",\"day\",\"lighter\",\"sol\",\"solar\",\"star\",\"weather\"]},{title:\"far fa-sun\",searchTerms:[\"brighten\",\"contrast\",\"day\",\"lighter\",\"sol\",\"solar\",\"star\",\"weather\"]},{title:\"fab fa-superpowers\",searchTerms:[]},{title:\"fas fa-superscript\",searchTerms:[\"exponential\"]},{title:\"fab fa-supple\",searchTerms:[]},{title:\"fas fa-surprise\",searchTerms:[\"emoticon\",\"face\",\"shocked\"]},{title:\"far fa-surprise\",searchTerms:[\"emoticon\",\"face\",\"shocked\"]},{title:\"fas fa-swatchbook\",searchTerms:[]},{title:\"fas fa-swimmer\",searchTerms:[\"athlete\",\"head\",\"man\",\"person\",\"water\"]},{title:\"fas fa-swimming-pool\",searchTerms:[\"ladder\",\"recreation\",\"water\"]},{title:\"fas fa-synagogue\",searchTerms:[\"building\",\"jewish\",\"judaism\",\"star of david\",\"temple\"]},{title:\"fas fa-sync\",searchTerms:[\"exchange\",\"refresh\",\"reload\",\"rotate\",\"swap\"]},{title:\"fas fa-sync-alt\",searchTerms:[\"refresh\",\"reload\",\"rotate\"]},{title:\"fas fa-syringe\",searchTerms:[\"immunizations\",\"needle\"]},{title:\"fas fa-table\",searchTerms:[\"data\",\"excel\",\"spreadsheet\"]},{title:\"fas fa-table-tennis\",searchTerms:[]},{title:\"fas fa-tablet\",searchTerms:[\"apple\",\"device\",\"ipad\",\"kindle\",\"screen\"]},{title:\"fas fa-tablet-alt\",searchTerms:[\"apple\",\"device\",\"ipad\",\"kindle\",\"screen\"]},{title:\"fas fa-tablets\",searchTerms:[\"drugs\",\"medicine\"]},{title:\"fas fa-tachometer-alt\",searchTerms:[\"dashboard\",\"tachometer\"]},{title:\"fas fa-tag\",searchTerms:[\"label\"]},{title:\"fas fa-tags\",searchTerms:[\"labels\"]},{title:\"fas fa-tape\",searchTerms:[]},{title:\"fas fa-tasks\",searchTerms:[\"downloading\",\"downloads\",\"loading\",\"progress\",\"settings\"]},{title:\"fas fa-taxi\",searchTerms:[\"cab\",\"cabbie\",\"car\",\"car service\",\"lyft\",\"machine\",\"transportation\",\"uber\",\"vehicle\"]},{title:\"fab fa-teamspeak\",searchTerms:[]},{title:\"fas fa-teeth\",searchTerms:[]},{title:\"fas fa-teeth-open\",searchTerms:[]},{title:\"fab fa-telegram\",searchTerms:[]},{title:\"fab fa-telegram-plane\",searchTerms:[]},{title:\"fas fa-temperature-high\",searchTerms:[\"mercury\",\"thermometer\",\"warm\"]},{title:\"fas fa-temperature-low\",searchTerms:[\"cool\",\"mercury\",\"thermometer\"]},{title:\"fab fa-tencent-weibo\",searchTerms:[]},{title:\"fas fa-terminal\",searchTerms:[\"code\",\"command\",\"console\",\"prompt\"]},{title:\"fas fa-text-height\",searchTerms:[]},{title:\"fas fa-text-width\",searchTerms:[]},{title:\"fas fa-th\",searchTerms:[\"blocks\",\"boxes\",\"grid\",\"squares\"]},{title:\"fas fa-th-large\",searchTerms:[\"blocks\",\"boxes\",\"grid\",\"squares\"]},{title:\"fas fa-th-list\",searchTerms:[\"checklist\",\"completed\",\"done\",\"finished\",\"ol\",\"todo\",\"ul\"]},{title:\"fab fa-the-red-yeti\",searchTerms:[]},{title:\"fas fa-theater-masks\",searchTerms:[]},{title:\"fab fa-themeco\",searchTerms:[]},{title:\"fab fa-themeisle\",searchTerms:[]},{title:\"fas fa-thermometer\",searchTerms:[\"mercury\",\"status\",\"temperature\"]},{title:\"fas fa-thermometer-empty\",searchTerms:[\"mercury\",\"status\",\"temperature\"]},{title:\"fas fa-thermometer-full\",searchTerms:[\"fever\",\"mercury\",\"status\",\"temperature\"]},{title:\"fas fa-thermometer-half\",searchTerms:[\"mercury\",\"status\",\"temperature\"]},{title:\"fas fa-thermometer-quarter\",searchTerms:[\"mercury\",\"status\",\"temperature\"]},{title:\"fas fa-thermometer-three-quarters\",searchTerms:[\"mercury\",\"status\",\"temperature\"]},{title:\"fab fa-think-peaks\",searchTerms:[]},{title:\"fas fa-thumbs-down\",searchTerms:[\"disagree\",\"disapprove\",\"dislike\",\"hand\",\"thumbs-o-down\"]},{title:\"far fa-thumbs-down\",searchTerms:[\"disagree\",\"disapprove\",\"dislike\",\"hand\",\"thumbs-o-down\"]},{title:\"fas fa-thumbs-up\",searchTerms:[\"agree\",\"approve\",\"favorite\",\"hand\",\"like\",\"ok\",\"okay\",\"success\",\"thumbs-o-up\",\"yes\",\"you got it dude\"]},{title:\"far fa-thumbs-up\",searchTerms:[\"agree\",\"approve\",\"favorite\",\"hand\",\"like\",\"ok\",\"okay\",\"success\",\"thumbs-o-up\",\"yes\",\"you got it dude\"]},{title:\"fas fa-thumbtack\",searchTerms:[\"coordinates\",\"location\",\"marker\",\"pin\",\"thumb-tack\"]},{title:\"fas fa-ticket-alt\",searchTerms:[\"ticket\"]},{title:\"fas fa-times\",searchTerms:[\"close\",\"cross\",\"error\",\"exit\",\"incorrect\",\"notice\",\"notification\",\"notify\",\"problem\",\"wrong\",\"x\"]},{title:\"fas fa-times-circle\",searchTerms:[\"close\",\"cross\",\"exit\",\"incorrect\",\"notice\",\"notification\",\"notify\",\"problem\",\"wrong\",\"x\"]},{title:\"far fa-times-circle\",searchTerms:[\"close\",\"cross\",\"exit\",\"incorrect\",\"notice\",\"notification\",\"notify\",\"problem\",\"wrong\",\"x\"]},{title:\"fas fa-tint\",searchTerms:[\"drop\",\"droplet\",\"raindrop\",\"waterdrop\"]},{title:\"fas fa-tint-slash\",searchTerms:[]},{title:\"fas fa-tired\",searchTerms:[\"emoticon\",\"face\",\"grumpy\"]},{title:\"far fa-tired\",searchTerms:[\"emoticon\",\"face\",\"grumpy\"]},{title:\"fas fa-toggle-off\",searchTerms:[\"switch\"]},{title:\"fas fa-toggle-on\",searchTerms:[\"switch\"]},{title:\"fas fa-toilet-paper\",searchTerms:[\"bathroom\",\"halloween\",\"holiday\",\"lavatory\",\"prank\",\"restroom\",\"roll\"]},{title:\"fas fa-toolbox\",searchTerms:[\"admin\",\"container\",\"fix\",\"repair\",\"settings\",\"tools\"]},{title:\"fas fa-tooth\",searchTerms:[\"bicuspid\",\"dental\",\"molar\",\"mouth\",\"teeth\"]},{title:\"fas fa-torah\",searchTerms:[\"book\",\"jewish\",\"judaism\"]},{title:\"fas fa-torii-gate\",searchTerms:[\"building\",\"shintoism\"]},{title:\"fas fa-tractor\",searchTerms:[]},{title:\"fab fa-trade-federation\",searchTerms:[]},{title:\"fas fa-trademark\",searchTerms:[]},{title:\"fas fa-traffic-light\",searchTerms:[]},{title:\"fas fa-train\",searchTerms:[\"bullet\",\"locomotive\",\"railway\"]},{title:\"fas fa-transgender\",searchTerms:[\"intersex\"]},{title:\"fas fa-transgender-alt\",searchTerms:[]},{title:\"fas fa-trash\",searchTerms:[\"delete\",\"garbage\",\"hide\",\"remove\"]},{title:\"fas fa-trash-alt\",searchTerms:[\"delete\",\"garbage\",\"hide\",\"remove\",\"trash\",\"trash-o\"]},{title:\"far fa-trash-alt\",searchTerms:[\"delete\",\"garbage\",\"hide\",\"remove\",\"trash\",\"trash-o\"]},{title:\"fas fa-tree\",searchTerms:[\"bark\",\"fall\",\"flora\",\"forest\",\"nature\",\"plant\",\"seasonal\"]},{title:\"fab fa-trello\",searchTerms:[]},{title:\"fab fa-tripadvisor\",searchTerms:[]},{title:\"fas fa-trophy\",searchTerms:[\"achievement\",\"award\",\"cup\",\"game\",\"winner\"]},{title:\"fas fa-truck\",searchTerms:[\"delivery\",\"shipping\"]},{title:\"fas fa-truck-loading\",searchTerms:[]},{title:\"fas fa-truck-monster\",searchTerms:[]},{title:\"fas fa-truck-moving\",searchTerms:[]},{title:\"fas fa-truck-pickup\",searchTerms:[]},{title:\"fas fa-tshirt\",searchTerms:[\"cloth\",\"clothing\"]},{title:\"fas fa-tty\",searchTerms:[]},{title:\"fab fa-tumblr\",searchTerms:[]},{title:\"fab fa-tumblr-square\",searchTerms:[]},{title:\"fas fa-tv\",searchTerms:[\"computer\",\"display\",\"monitor\",\"television\"]},{title:\"fab fa-twitch\",searchTerms:[]},{title:\"fab fa-twitter\",searchTerms:[\"social network\",\"tweet\"]},{title:\"fab fa-twitter-square\",searchTerms:[\"social network\",\"tweet\"]},{title:\"fab fa-typo3\",searchTerms:[]},{title:\"fab fa-uber\",searchTerms:[]},{title:\"fab fa-uikit\",searchTerms:[]},{title:\"fas fa-umbrella\",searchTerms:[\"protection\",\"rain\"]},{title:\"fas fa-umbrella-beach\",searchTerms:[\"protection\",\"recreation\",\"sun\"]},{title:\"fas fa-underline\",searchTerms:[]},{title:\"fas fa-undo\",searchTerms:[\"back\",\"control z\",\"exchange\",\"oops\",\"return\",\"rotate\",\"swap\"]},{title:\"fas fa-undo-alt\",searchTerms:[\"back\",\"control z\",\"exchange\",\"oops\",\"return\",\"swap\"]},{title:\"fab fa-uniregistry\",searchTerms:[]},{title:\"fas fa-universal-access\",searchTerms:[]},{title:\"fas fa-university\",searchTerms:[\"bank\",\"institution\"]},{title:\"fas fa-unlink\",searchTerms:[\"chain\",\"chain-broken\",\"remove\"]},{title:\"fas fa-unlock\",searchTerms:[\"admin\",\"lock\",\"password\",\"protect\"]},{title:\"fas fa-unlock-alt\",searchTerms:[\"admin\",\"lock\",\"password\",\"protect\"]},{title:\"fab fa-untappd\",searchTerms:[]},{title:\"fas fa-upload\",searchTerms:[\"export\",\"publish\"]},{title:\"fab fa-usb\",searchTerms:[]},{title:\"fas fa-user\",searchTerms:[\"account\",\"avatar\",\"head\",\"human\",\"man\",\"person\",\"profile\"]},{title:\"far fa-user\",searchTerms:[\"account\",\"avatar\",\"head\",\"human\",\"man\",\"person\",\"profile\"]},{title:\"fas fa-user-alt\",searchTerms:[\"account\",\"avatar\",\"head\",\"human\",\"man\",\"person\",\"profile\"]},{title:\"fas fa-user-alt-slash\",searchTerms:[]},{title:\"fas fa-user-astronaut\",searchTerms:[\"avatar\",\"clothing\",\"cosmonaut\",\"space\",\"suit\"]},{title:\"fas fa-user-check\",searchTerms:[]},{title:\"fas fa-user-circle\",searchTerms:[\"account\",\"avatar\",\"head\",\"human\",\"man\",\"person\",\"profile\"]},{title:\"far fa-user-circle\",searchTerms:[\"account\",\"avatar\",\"head\",\"human\",\"man\",\"person\",\"profile\"]},{title:\"fas fa-user-clock\",searchTerms:[]},{title:\"fas fa-user-cog\",searchTerms:[]},{title:\"fas fa-user-edit\",searchTerms:[]},{title:\"fas fa-user-friends\",searchTerms:[]},{title:\"fas fa-user-graduate\",searchTerms:[\"cap\",\"clothing\",\"commencement\",\"gown\",\"graduation\",\"student\"]},{title:\"fas fa-user-injured\",searchTerms:[\"cast\",\"ouch\",\"sling\"]},{title:\"fas fa-user-lock\",searchTerms:[]},{title:\"fas fa-user-md\",searchTerms:[\"doctor\",\"job\",\"medical\",\"nurse\",\"occupation\",\"profile\"]},{title:\"fas fa-user-minus\",searchTerms:[\"delete\",\"negative\",\"remove\"]},{title:\"fas fa-user-ninja\",searchTerms:[\"assassin\",\"avatar\",\"dangerous\",\"deadly\",\"sneaky\"]},{title:\"fas fa-user-plus\",searchTerms:[\"positive\",\"sign up\",\"signup\"]},{title:\"fas fa-user-secret\",searchTerms:[\"clothing\",\"coat\",\"hat\",\"incognito\",\"privacy\",\"spy\",\"whisper\"]},{title:\"fas fa-user-shield\",searchTerms:[]},{title:\"fas fa-user-slash\",searchTerms:[\"ban\",\"remove\"]},{title:\"fas fa-user-tag\",searchTerms:[]},{title:\"fas fa-user-tie\",searchTerms:[\"avatar\",\"business\",\"clothing\",\"formal\"]},{title:\"fas fa-user-times\",searchTerms:[\"archive\",\"delete\",\"remove\",\"x\"]},{title:\"fas fa-users\",searchTerms:[\"people\",\"persons\",\"profiles\"]},{title:\"fas fa-users-cog\",searchTerms:[]},{title:\"fab fa-ussunnah\",searchTerms:[]},{title:\"fas fa-utensil-spoon\",searchTerms:[\"spoon\"]},{title:\"fas fa-utensils\",searchTerms:[\"cutlery\",\"dinner\",\"eat\",\"food\",\"knife\",\"restaurant\",\"spoon\"]},{title:\"fab fa-vaadin\",searchTerms:[]},{title:\"fas fa-vector-square\",searchTerms:[\"anchors\",\"lines\",\"object\"]},{title:\"fas fa-venus\",searchTerms:[\"female\"]},{title:\"fas fa-venus-double\",searchTerms:[]},{title:\"fas fa-venus-mars\",searchTerms:[]},{title:\"fab fa-viacoin\",searchTerms:[]},{title:\"fab fa-viadeo\",searchTerms:[]},{title:\"fab fa-viadeo-square\",searchTerms:[]},{title:\"fas fa-vial\",searchTerms:[\"test tube\"]},{title:\"fas fa-vials\",searchTerms:[\"lab results\",\"test tubes\"]},{title:\"fab fa-viber\",searchTerms:[]},{title:\"fas fa-video\",searchTerms:[\"camera\",\"film\",\"movie\",\"record\",\"video-camera\"]},{title:\"fas fa-video-slash\",searchTerms:[]},{title:\"fas fa-vihara\",searchTerms:[\"buddhism\",\"buddhist\",\"building\",\"monastery\"]},{title:\"fab fa-vimeo\",searchTerms:[]},{title:\"fab fa-vimeo-square\",searchTerms:[]},{title:\"fab fa-vimeo-v\",searchTerms:[\"vimeo\"]},{title:\"fab fa-vine\",searchTerms:[]},{title:\"fab fa-vk\",searchTerms:[]},{title:\"fab fa-vnv\",searchTerms:[]},{title:\"fas fa-volleyball-ball\",searchTerms:[]},{title:\"fas fa-volume-down\",searchTerms:[\"audio\",\"lower\",\"music\",\"quieter\",\"sound\",\"speaker\"]},{title:\"fas fa-volume-mute\",searchTerms:[]},{title:\"fas fa-volume-off\",searchTerms:[\"audio\",\"music\",\"mute\",\"sound\"]},{title:\"fas fa-volume-up\",searchTerms:[\"audio\",\"higher\",\"louder\",\"music\",\"sound\",\"speaker\"]},{title:\"fas fa-vote-yea\",searchTerms:[\"accept\",\"cast\",\"election\",\"politics\",\"positive\",\"yes\"]},{title:\"fas fa-vr-cardboard\",searchTerms:[\"google\",\"reality\",\"virtual\"]},{title:\"fab fa-vuejs\",searchTerms:[]},{title:\"fas fa-walking\",searchTerms:[]},{title:\"fas fa-wallet\",searchTerms:[]},{title:\"fas fa-warehouse\",searchTerms:[]},{title:\"fas fa-water\",searchTerms:[]},{title:\"fab fa-weebly\",searchTerms:[]},{title:\"fab fa-weibo\",searchTerms:[]},{title:\"fas fa-weight\",searchTerms:[\"measurement\",\"scale\",\"weight\"]},{title:\"fas fa-weight-hanging\",searchTerms:[\"anvil\",\"heavy\",\"measurement\"]},{title:\"fab fa-weixin\",searchTerms:[]},{title:\"fab fa-whatsapp\",searchTerms:[]},{title:\"fab fa-whatsapp-square\",searchTerms:[]},{title:\"fas fa-wheelchair\",searchTerms:[\"handicap\",\"person\"]},{title:\"fab fa-whmcs\",searchTerms:[]},{title:\"fas fa-wifi\",searchTerms:[]},{title:\"fab fa-wikipedia-w\",searchTerms:[]},{title:\"fas fa-wind\",searchTerms:[\"air\",\"blow\",\"breeze\",\"fall\",\"seasonal\"]},{title:\"fas fa-window-close\",searchTerms:[]},{title:\"far fa-window-close\",searchTerms:[]},{title:\"fas fa-window-maximize\",searchTerms:[]},{title:\"far fa-window-maximize\",searchTerms:[]},{title:\"fas fa-window-minimize\",searchTerms:[]},{title:\"far fa-window-minimize\",searchTerms:[]},{title:\"fas fa-window-restore\",searchTerms:[]},{title:\"far fa-window-restore\",searchTerms:[]},{title:\"fab fa-windows\",searchTerms:[\"microsoft\"]},{title:\"fas fa-wine-bottle\",searchTerms:[\"alcohol\",\"beverage\",\"drink\",\"glass\",\"grapes\"]},{title:\"fas fa-wine-glass\",searchTerms:[\"alcohol\",\"beverage\",\"drink\",\"grapes\"]},{title:\"fas fa-wine-glass-alt\",searchTerms:[\"alcohol\",\"beverage\",\"drink\",\"grapes\"]},{title:\"fab fa-wix\",searchTerms:[]},{title:\"fab fa-wizards-of-the-coast\",searchTerms:[\"Dungeons & Dragons\",\"d&d\",\"dnd\",\"fantasy\",\"game\",\"gaming\",\"tabletop\"]},{title:\"fab fa-wolf-pack-battalion\",searchTerms:[]},{title:\"fas fa-won-sign\",searchTerms:[\"krw\"]},{title:\"fab fa-wordpress\",searchTerms:[]},{title:\"fab fa-wordpress-simple\",searchTerms:[]},{title:\"fab fa-wpbeginner\",searchTerms:[]},{title:\"fab fa-wpexplorer\",searchTerms:[]},{title:\"fab fa-wpforms\",searchTerms:[]},{title:\"fab fa-wpressr\",searchTerms:[\"rendact\"]},{title:\"fas fa-wrench\",searchTerms:[\"fix\",\"settings\",\"spanner\",\"tool\",\"update\"]},{title:\"fas fa-x-ray\",searchTerms:[\"radiological images\",\"radiology\"]},{title:\"fab fa-xbox\",searchTerms:[]},{title:\"fab fa-xing\",searchTerms:[]},{title:\"fab fa-xing-square\",searchTerms:[]},{title:\"fab fa-y-combinator\",searchTerms:[]},{title:\"fab fa-yahoo\",searchTerms:[]},{title:\"fab fa-yandex\",searchTerms:[]},{title:\"fab fa-yandex-international\",searchTerms:[]},{title:\"fab fa-yelp\",searchTerms:[]},{title:\"fas fa-yen-sign\",searchTerms:[\"jpy\",\"money\"]},{title:\"fas fa-yin-yang\",searchTerms:[\"daoism\",\"opposites\",\"taoism\"]},{title:\"fab fa-yoast\",searchTerms:[]},{title:\"fab fa-youtube\",searchTerms:[\"film\",\"video\",\"youtube-play\",\"youtube-square\"]},{title:\"fab fa-youtube-square\",searchTerms:[]},{title:\"fab fa-zhihu\",searchTerms:[]}]})});","(function(){/*\n\n Copyright The Closure Library Authors.\n SPDX-License-Identifier: Apache-2.0\n*/\nvar aa=this||self;function k(a,b){a=a.split(\".\");var c=aa;a[0]in c||\"undefined\"==typeof c.execScript||c.execScript(\"var \"+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b}function m(a,b){function c(){}c.prototype=b.prototype;a.$=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.fa=function(d,e,g){for(var f=Array(arguments.length-2),h=2;h<arguments.length;h++)f[h-2]=arguments[h];return b.prototype[e].apply(d,f)}};function ba(a){var b=[],c=0,d;for(d in a)b[c++]=a[d];return b};function ca(a,b){a.sort(b||da)}function da(a,b){return a>b?1:a<b?-1:0};function ea(a,b){this.g=a;this.m=!!b.o;this.i=b.h;this.v=b.type;this.u=!1;switch(this.i){case fa:case ha:case ia:case ja:case ka:case la:case ma:this.u=!0}this.l=b.defaultValue}var ma=1,la=2,fa=3,ha=4,ia=6,ja=16,ka=18;function na(a,b){this.i=a;this.g={};for(a=0;a<b.length;a++){var c=b[a];this.g[c.g]=c}}function oa(a){a=ba(a.g);ca(a,function(b,c){return b.g-c.g});return a};function n(){this.g={};this.l=this.j().g;this.i=this.m=null}n.prototype.has=function(a){return null!=this.g[a.g]};n.prototype.get=function(a,b){return p(this,a.g,b)};n.prototype.set=function(a,b){q(this,a.g,b)};n.prototype.add=function(a,b){r(this,a.g,b)};\nfunction t(a,b){for(var c=oa(a.j()),d=0;d<c.length;d++){var e=c[d],g=e.g;if(null!=b.g[g]){a.i&&delete a.i[e.g];var f=11==e.i||10==e.i;if(e.m){e=u(b,g);for(var h=0;h<e.length;h++)r(a,g,f?e[h].clone():e[h])}else e=v(b,g),f?(f=v(a,g))?t(f,e):q(a,g,e.clone()):q(a,g,e)}}}n.prototype.clone=function(){var a=new this.constructor;a!=this&&(a.g={},a.i&&(a.i={}),t(a,this));return a};\nfunction v(a,b){var c=a.g[b];if(null==c)return null;if(a.m){if(!(b in a.i)){var d=a.m,e=a.l[b];if(null!=c)if(e.m){for(var g=[],f=0;f<c.length;f++)g[f]=d.i(e,c[f]);c=g}else c=d.i(e,c);return a.i[b]=c}return a.i[b]}return c}function p(a,b,c){var d=v(a,b);return a.l[b].m?d[c||0]:d}function w(a,b){if(null!=a.g[b])a=p(a,b,void 0);else a:{a=a.l[b];if(void 0===a.l)if(b=a.v,b===Boolean)a.l=!1;else if(b===Number)a.l=0;else if(b===String)a.l=a.u?\"0\":\"\";else{a=new b;break a}a=a.l}return a}\nfunction u(a,b){return v(a,b)||[]}function x(a,b){return a.l[b].m?null!=a.g[b]?a.g[b].length:0:null!=a.g[b]?1:0}function q(a,b,c){a.g[b]=c;a.i&&(a.i[b]=c)}function r(a,b,c){a.g[b]||(a.g[b]=[]);a.g[b].push(c);a.i&&delete a.i[b]}function y(a,b){var c=[],d;for(d in b)0!=d&&c.push(new ea(d,b[d]));return new na(a,c)};function A(){}A.prototype.g=function(a){new a.i;throw Error(\"Unimplemented\");};A.prototype.i=function(a,b){if(11==a.i||10==a.i)return b instanceof n?b:this.g(a.v.prototype.j(),b);if(14==a.i)return\"string\"===typeof b&&B.test(b)&&(a=Number(b),0<a)?a:b;if(!a.u)return b;a=a.v;if(a===String){if(\"number\"===typeof b)return String(b)}else if(a===Number&&\"string\"===typeof b&&(\"Infinity\"===b||\"-Infinity\"===b||\"NaN\"===b||B.test(b)))return Number(b);return b};var B=/^-?[0-9]+$/;function C(){}m(C,A);C.prototype.g=function(a,b){a=new a.i;a.m=this;a.g=b;a.i={};return a};function D(){}m(D,C);D.prototype.i=function(a,b){return 8==a.i?!!b:A.prototype.i.apply(this,arguments)};D.prototype.g=function(a,b){return D.$.g.call(this,a,b)};function E(a,b){null!=a&&this.g.apply(this,arguments)}E.prototype.i=\"\";E.prototype.set=function(a){this.i=\"\"+a};E.prototype.g=function(a,b,c){this.i+=String(a);if(null!=b)for(var d=1;d<arguments.length;d++)this.i+=arguments[d];return this};E.prototype.toString=function(){return this.i};/*\n\n Protocol Buffer 2 Copyright 2008 Google Inc.\n All other code copyright its respective owners.\n Copyright (C) 2010 The Libphonenumber Authors\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nfunction F(){n.call(this)}m(F,n);var pa=null;function G(){n.call(this)}m(G,n);var qa=null;function H(){n.call(this)}m(H,n);var ra=null;\nF.prototype.j=function(){var a=pa;a||(pa=a=y(F,{0:{name:\"NumberFormat\",s:\"i18n.phonenumbers.NumberFormat\"},1:{name:\"pattern\",required:!0,h:9,type:String},2:{name:\"format\",required:!0,h:9,type:String},3:{name:\"leading_digits_pattern\",o:!0,h:9,type:String},4:{name:\"national_prefix_formatting_rule\",h:9,type:String},6:{name:\"national_prefix_optional_when_formatting\",h:8,defaultValue:!1,type:Boolean},5:{name:\"domestic_carrier_code_formatting_rule\",h:9,type:String}}));return a};F.j=F.prototype.j;\nG.prototype.j=function(){var a=qa;a||(qa=a=y(G,{0:{name:\"PhoneNumberDesc\",s:\"i18n.phonenumbers.PhoneNumberDesc\"},2:{name:\"national_number_pattern\",h:9,type:String},9:{name:\"possible_length\",o:!0,h:5,type:Number},10:{name:\"possible_length_local_only\",o:!0,h:5,type:Number},6:{name:\"example_number\",h:9,type:String}}));return a};G.j=G.prototype.j;\nH.prototype.j=function(){var a=ra;a||(ra=a=y(H,{0:{name:\"PhoneMetadata\",s:\"i18n.phonenumbers.PhoneMetadata\"},1:{name:\"general_desc\",h:11,type:G},2:{name:\"fixed_line\",h:11,type:G},3:{name:\"mobile\",h:11,type:G},4:{name:\"toll_free\",h:11,type:G},5:{name:\"premium_rate\",h:11,type:G},6:{name:\"shared_cost\",h:11,type:G},7:{name:\"personal_number\",h:11,type:G},8:{name:\"voip\",h:11,type:G},21:{name:\"pager\",h:11,type:G},25:{name:\"uan\",h:11,type:G},27:{name:\"emergency\",h:11,type:G},28:{name:\"voicemail\",h:11,type:G},\n29:{name:\"short_code\",h:11,type:G},30:{name:\"standard_rate\",h:11,type:G},31:{name:\"carrier_specific\",h:11,type:G},33:{name:\"sms_services\",h:11,type:G},24:{name:\"no_international_dialling\",h:11,type:G},9:{name:\"id\",required:!0,h:9,type:String},10:{name:\"country_code\",h:5,type:Number},11:{name:\"international_prefix\",h:9,type:String},17:{name:\"preferred_international_prefix\",h:9,type:String},12:{name:\"national_prefix\",h:9,type:String},13:{name:\"preferred_extn_prefix\",h:9,type:String},15:{name:\"national_prefix_for_parsing\",\nh:9,type:String},16:{name:\"national_prefix_transform_rule\",h:9,type:String},18:{name:\"same_mobile_and_fixed_line_pattern\",h:8,defaultValue:!1,type:Boolean},19:{name:\"number_format\",o:!0,h:11,type:F},20:{name:\"intl_number_format\",o:!0,h:11,type:F},22:{name:\"main_country_for_code\",h:8,defaultValue:!1,type:Boolean},23:{name:\"leading_digits\",h:9,type:String}}));return a};H.j=H.prototype.j;function I(){n.call(this)}m(I,n);var sa=null,ta={ea:0,da:1,ca:5,ba:10,aa:20};\nI.prototype.j=function(){var a=sa;a||(sa=a=y(I,{0:{name:\"PhoneNumber\",s:\"i18n.phonenumbers.PhoneNumber\"},1:{name:\"country_code\",required:!0,h:5,type:Number},2:{name:\"national_number\",required:!0,h:4,type:Number},3:{name:\"extension\",h:9,type:String},4:{name:\"italian_leading_zero\",h:8,type:Boolean},8:{name:\"number_of_leading_zeros\",h:5,defaultValue:1,type:Number},5:{name:\"raw_input\",h:9,type:String},6:{name:\"country_code_source\",h:14,defaultValue:0,type:ta},7:{name:\"preferred_domestic_carrier_code\",\nh:9,type:String}}));return a};I.ctor=I;I.ctor.j=I.prototype.j;/*\n\n Copyright (C) 2010 The Libphonenumber Authors\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nvar J={1:\"US AG AI AS BB BM BS CA DM DO GD GU JM KN KY LC MP MS PR SX TC TT VC VG VI\".split(\" \"),7:[\"RU\",\"KZ\"],20:[\"EG\"],27:[\"ZA\"],30:[\"GR\"],31:[\"NL\"],32:[\"BE\"],33:[\"FR\"],34:[\"ES\"],36:[\"HU\"],39:[\"IT\",\"VA\"],40:[\"RO\"],41:[\"CH\"],43:[\"AT\"],44:[\"GB\",\"GG\",\"IM\",\"JE\"],45:[\"DK\"],46:[\"SE\"],47:[\"NO\",\"SJ\"],48:[\"PL\"],49:[\"DE\"],51:[\"PE\"],52:[\"MX\"],53:[\"CU\"],54:[\"AR\"],55:[\"BR\"],56:[\"CL\"],57:[\"CO\"],58:[\"VE\"],60:[\"MY\"],61:[\"AU\",\"CC\",\"CX\"],62:[\"ID\"],63:[\"PH\"],64:[\"NZ\"],65:[\"SG\"],66:[\"TH\"],81:[\"JP\"],82:[\"KR\"],84:[\"VN\"],\n86:[\"CN\"],90:[\"TR\"],91:[\"IN\"],92:[\"PK\"],93:[\"AF\"],94:[\"LK\"],95:[\"MM\"],98:[\"IR\"],211:[\"SS\"],212:[\"MA\",\"EH\"],213:[\"DZ\"],216:[\"TN\"],218:[\"LY\"],220:[\"GM\"],221:[\"SN\"],222:[\"MR\"],223:[\"ML\"],224:[\"GN\"],225:[\"CI\"],226:[\"BF\"],227:[\"NE\"],228:[\"TG\"],229:[\"BJ\"],230:[\"MU\"],231:[\"LR\"],232:[\"SL\"],233:[\"GH\"],234:[\"NG\"],235:[\"TD\"],236:[\"CF\"],237:[\"CM\"],238:[\"CV\"],239:[\"ST\"],240:[\"GQ\"],241:[\"GA\"],242:[\"CG\"],243:[\"CD\"],244:[\"AO\"],245:[\"GW\"],246:[\"IO\"],247:[\"AC\"],248:[\"SC\"],249:[\"SD\"],250:[\"RW\"],251:[\"ET\"],252:[\"SO\"],\n253:[\"DJ\"],254:[\"KE\"],255:[\"TZ\"],256:[\"UG\"],257:[\"BI\"],258:[\"MZ\"],260:[\"ZM\"],261:[\"MG\"],262:[\"RE\",\"YT\"],263:[\"ZW\"],264:[\"NA\"],265:[\"MW\"],266:[\"LS\"],267:[\"BW\"],268:[\"SZ\"],269:[\"KM\"],290:[\"SH\",\"TA\"],291:[\"ER\"],297:[\"AW\"],298:[\"FO\"],299:[\"GL\"],350:[\"GI\"],351:[\"PT\"],352:[\"LU\"],353:[\"IE\"],354:[\"IS\"],355:[\"AL\"],356:[\"MT\"],357:[\"CY\"],358:[\"FI\",\"AX\"],359:[\"BG\"],370:[\"LT\"],371:[\"LV\"],372:[\"EE\"],373:[\"MD\"],374:[\"AM\"],375:[\"BY\"],376:[\"AD\"],377:[\"MC\"],378:[\"SM\"],380:[\"UA\"],381:[\"RS\"],382:[\"ME\"],383:[\"XK\"],385:[\"HR\"],\n386:[\"SI\"],387:[\"BA\"],389:[\"MK\"],420:[\"CZ\"],421:[\"SK\"],423:[\"LI\"],500:[\"FK\"],501:[\"BZ\"],502:[\"GT\"],503:[\"SV\"],504:[\"HN\"],505:[\"NI\"],506:[\"CR\"],507:[\"PA\"],508:[\"PM\"],509:[\"HT\"],590:[\"GP\",\"BL\",\"MF\"],591:[\"BO\"],592:[\"GY\"],593:[\"EC\"],594:[\"GF\"],595:[\"PY\"],596:[\"MQ\"],597:[\"SR\"],598:[\"UY\"],599:[\"CW\",\"BQ\"],670:[\"TL\"],672:[\"NF\"],673:[\"BN\"],674:[\"NR\"],675:[\"PG\"],676:[\"TO\"],677:[\"SB\"],678:[\"VU\"],679:[\"FJ\"],680:[\"PW\"],681:[\"WF\"],682:[\"CK\"],683:[\"NU\"],685:[\"WS\"],686:[\"KI\"],687:[\"NC\"],688:[\"TV\"],689:[\"PF\"],690:[\"TK\"],\n691:[\"FM\"],692:[\"MH\"],800:[\"001\"],808:[\"001\"],850:[\"KP\"],852:[\"HK\"],853:[\"MO\"],855:[\"KH\"],856:[\"LA\"],870:[\"001\"],878:[\"001\"],880:[\"BD\"],881:[\"001\"],882:[\"001\"],883:[\"001\"],886:[\"TW\"],888:[\"001\"],960:[\"MV\"],961:[\"LB\"],962:[\"JO\"],963:[\"SY\"],964:[\"IQ\"],965:[\"KW\"],966:[\"SA\"],967:[\"YE\"],968:[\"OM\"],970:[\"PS\"],971:[\"AE\"],972:[\"IL\"],973:[\"BH\"],974:[\"QA\"],975:[\"BT\"],976:[\"MN\"],977:[\"NP\"],979:[\"001\"],992:[\"TJ\"],993:[\"TM\"],994:[\"AZ\"],995:[\"GE\"],996:[\"KG\"],998:[\"UZ\"]},va={AC:[,[,,\"(?:[01589]\\\\d|[46])\\\\d{4}\",\n,,,,,,[5,6]],[,,\"6[2-467]\\\\d{3}\",,,,\"62889\",,,[5]],[,,\"4\\\\d{4}\",,,,\"40123\",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AC\",247,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"(?:0[1-9]|[1589]\\\\d)\\\\d{4}\",,,,\"542011\",,,[6]],,,[,,,,,,,,,[-1]]],AD:[,[,,\"(?:1|6\\\\d)\\\\d{7}|[135-9]\\\\d{5}\",,,,,,,[6,8,9]],[,,\"[78]\\\\d{5}\",,,,\"712345\",,,[6]],[,,\"690\\\\d{6}|[356]\\\\d{5}\",,,,\"312345\",,,[6,9]],[,,\"180[02]\\\\d{4}\",,,,\"18001234\",,,[8]],[,,\"[19]\\\\d{5}\",,,,\"912345\",,,[6]],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AD\",376,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"[135-9]\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"]]],,[,,,,,,,,,[-1]],,,[,,\"1800\\\\d{4}\",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AE:[,[,,\"(?:[4-7]\\\\d|9[0-689])\\\\d{7}|800\\\\d{2,9}|[2-4679]\\\\d{7}\",,,,,,,[5,6,7,8,9,10,11,12]],[,,\"[2-4679][2-8]\\\\d{6}\",,,,\"22345678\",,,[8],[7]],[,,\"5[024-68]\\\\d{7}\",,,,\"501234567\",,,[9]],[,,\"400\\\\d{6}|800\\\\d{2,9}\",,,,\"800123456\"],\n[,,\"900[02]\\\\d{5}\",,,,\"900234567\",,,[9]],[,,\"700[05]\\\\d{5}\",,,,\"700012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AE\",971,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2,9})\",\"$1 $2\",[\"60|8\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[236]|[479][2-8]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{5})\",\"$1 $2 $3\",[\"[479]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"600[25]\\\\d{5}\",,,,\"600212345\",,,[9]],,,[,,,,,,,,,[-1]]],AF:[,[,,\"[2-7]\\\\d{8}\",,,,,,,[9],[7]],[,,\"(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\\\d{6}\",\n,,,\"234567890\",,,,[7]],[,,\"7\\\\d{8}\",,,,\"701234567\",,,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AF\",93,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[1-9]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-7]\"],\"0$1\"]],[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-7]\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AG:[,[,,\"(?:268|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"268(?:4(?:6[0-38]|84)|56[0-2])\\\\d{4}\",,,,\"2684601234\",\n,,,[7]],[,,\"268(?:464|7(?:1[3-9]|[28]\\\\d|3[0246]|64|7[0-689]))\\\\d{4}\",,,,\"2684641234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,\"26848[01]\\\\d{4}\",,,,\"2684801234\",,,,[7]],\n\"AG\",1,\"011\",\"1\",,,\"([457]\\\\d{6})$|1\",\"268$1\",,,,,[,,\"26840[69]\\\\d{4}\",,,,\"2684061234\",,,,[7]],,\"268\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AI:[,[,,\"(?:264|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"264(?:292|4(?:6[12]|9[78]))\\\\d{4}\",,,,\"2644612345\",,,,[7]],[,,\"264(?:235|4(?:69|76)|5(?:3[6-9]|8[1-4])|7(?:29|72))\\\\d{4}\",,,,\"2642351234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"AI\",1,\"011\",\"1\",,,\"([2457]\\\\d{6})$|1\",\"264$1\",,,,,[,,\"264724\\\\d{4}\",,,,\"2647241234\",,,,[7]],,\"264\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AL:[,[,,\"(?:700\\\\d\\\\d|900)\\\\d{3}|8\\\\d{5,7}|(?:[2-5]|6\\\\d)\\\\d{7}\",,,,,,,[6,7,8,9],[5]],[,,\"4505[0-2]\\\\d{3}|(?:[2358][16-9]\\\\d[2-9]|4410)\\\\d{4}|(?:[2358][2-5][2-9]|4(?:[2-57-9][2-9]|6\\\\d))\\\\d{5}\",,,,\"22345678\",,,[8],[5,6,7]],[,,\"6(?:[78][2-9]|9\\\\d)\\\\d{6}\",,,,\"672123456\",,,[9]],[,,\"800\\\\d{4}\",,,,\"8001234\",,,[7]],[,,\"900[1-9]\\\\d\\\\d\",\n,,,\"900123\",,,[6]],[,,\"808[1-9]\\\\d\\\\d\",,,,\"808123\",,,[6]],[,,\"700[2-9]\\\\d{4}\",,,,\"70021234\",,,[8]],[,,,,,,,,,[-1]],\"AL\",355,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3,4})\",\"$1 $2\",[\"80|9\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"4[2-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2358][2-5]|4\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[23578]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"6\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AM:[,[,,\"(?:[1-489]\\\\d|55|60|77)\\\\d{6}\",\n,,,,,,[8],[5,6]],[,,\"(?:(?:1[0-25]|47)\\\\d|2(?:2[2-46]|3[1-8]|4[2-69]|5[2-7]|6[1-9]|8[1-7])|3[12]2)\\\\d{5}\",,,,\"10123456\",,,,[5,6]],[,,\"(?:33|4[1349]|55|77|88|9[13-9])\\\\d{6}\",,,,\"77123456\"],[,,\"800\\\\d{5}\",,,,\"80012345\"],[,,\"90[016]\\\\d{5}\",,,,\"90012345\"],[,,\"80[1-4]\\\\d{5}\",,,,\"80112345\"],[,,,,,,,,,[-1]],[,,\"60(?:2[78]|3[5-9]|4[02-9]|5[0-46-9]|[6-8]\\\\d|9[01])\\\\d{4}\",,,,\"60271234\"],\"AM\",374,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]0\"],\"0 $1\"],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"2|3[12]\"],\n\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"1|47\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[3-9]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AO:[,[,,\"[29]\\\\d{8}\",,,,,,,[9]],[,,\"2\\\\d(?:[0134][25-9]|[25-9]\\\\d)\\\\d{5}\",,,,\"222123456\"],[,,\"9[1-59]\\\\d{7}\",,,,\"923123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AO\",244,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[29]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n,,[,,,,,,,,,[-1]]],AR:[,[,,\"(?:11|[89]\\\\d\\\\d)\\\\d{8}|[2368]\\\\d{9}\",,,,,,,[10,11],[6,7,8]],[,,\"3888[013-9]\\\\d{5}|3(?:7(?:1[15]|81)|8(?:21|4[16]|69|9[12]))[46]\\\\d{5}|(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\\\d{5}|(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\\\d{5}|(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\\\d{5}|(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\\\d{5}|(?:(?:11[1-8]|670)\\\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6])))\\\\d{6}|2(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\\\d{5}|(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\\\d{5}|(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\\\d{5}\",\n,,,\"1123456789\",,,[10],[6,7,8]],[,,\"93(?:7(?:1[15]|81)[46]|8(?:(?:21|4[16]|69|9[12])[46]|88[013-9]))\\\\d{5}|9(?:29(?:54|66)|3(?:7(?:55|77)|865))[2-8]\\\\d{5}|9(?:2(?:2(?:2[59]|44|52)|3(?:26|44)|473|9(?:[07]2|2[26]|34|46))|3327)[45]\\\\d{5}|9(?:2(?:284|3(?:02|23)|657|920)|3(?:4(?:8[27]|92)|541|878))[2-7]\\\\d{5}|9(?:2(?:(?:26|62)2|320|477|9(?:42|83))|3(?:329|4(?:[47]6|62|89)|564))[2-6]\\\\d{5}|(?:675\\\\d|9(?:11[1-8]\\\\d|2(?:2(?:0[45]|1[2-6]|3[3-6])|3(?:[06]4|7[45])|494|6(?:04|1[2-8]|[36][45]|4[3-6])|80[45]|9(?:[17][4-6]|[48][45]|9[3-6]))|3(?:364|4(?:1[2-7]|[235][4-6]|84)|5(?:1[2-9]|[38][4-6])|6(?:2[45]|44)|7[069][45]|8(?:0[45]|[17][2-6]|3[4-6]|[58][3-6]))))\\\\d{6}|92(?:2(?:21|4[23]|6[145]|7[1-4]|8[356]|9[267])|3(?:16|3[13-8]|43|5[346-8]|9[3-5])|475|6(?:2[46]|4[78]|5[1568])|9(?:03|2[1457-9]|3[1356]|4[08]|[56][23]|82))4\\\\d{5}|9(?:2(?:2(?:57|81)|3(?:24|46|92)|9(?:01|23|64))|3(?:4(?:42|71)|5(?:25|37|4[347]|71)|7(?:18|5[17])))[3-6]\\\\d{5}|9(?:2(?:2(?:02|2[3467]|4[156]|5[45]|6[6-8]|91)|3(?:1[47]|25|[45][25]|96)|47[48]|625|932)|3(?:38[2578]|4(?:0[0-24-9]|3[78]|4[457]|58|6[03-9]|72|83|9[136-8])|5(?:2[124]|[368][23]|4[2689]|7[2-6])|7(?:16|2[15]|3[145]|4[13]|5[468]|7[2-5]|8[26])|8(?:2[5-7]|3[278]|4[3-5]|5[78]|6[1-378]|[78]7|94)))[4-6]\\\\d{5}\",\n,,,\"91123456789\",,,,[6,7,8]],[,,\"800\\\\d{7,8}\",,,,\"8001234567\"],[,,\"60[04579]\\\\d{7}\",,,,\"6001234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AR\",54,\"00\",\"0\",,,\"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?\",\n\"9$1\",,,[[,\"(\\\\d{3})\",\"$1\",[\"0|1(?:0[0-35-7]|1[02-5]|2[015]|3[47]|4[478])|911\"]],[,\"(\\\\d{2})(\\\\d{4})\",\"$1-$2\",[\"[1-9]\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-9]\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[1-8]\"]],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1 $2-$3\",[\"2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])\",\"2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)\",\n\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"],\n\"0$1\",,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"1\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[68]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2-$3\",[\"[23]\"],\"0$1\",,1],[,\"(\\\\d)(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$2 15-$3-$4\",[\"9(?:2[2-469]|3[3-578])\",\"9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))\",\"9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)\",\n\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"],\n\"0$1\"],[,\"(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$2 15-$3-$4\",[\"91\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$2 15-$3-$4\",[\"9\"],\"0$1\"]],[[,\"(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1 $2-$3\",[\"2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])\",\"2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)\",\n\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"],\n\"0$1\",,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"1\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[68]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2-$3\",[\"[23]\"],\"0$1\",,1],[,\"(\\\\d)(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3-$4\",[\"9(?:2[2-469]|3[3-578])\",\"9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))\",\"9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)\",\n\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]\",\"9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]\"]],\n[,\"(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3-$4\",[\"91\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3-$4\",[\"9\"]]],[,,,,,,,,,[-1]],,,[,,\"810\\\\d{7}\",,,,,,,[10]],[,,\"810\\\\d{7}\",,,,\"8101234567\",,,[10]],,,[,,,,,,,,,[-1]]],AS:[,[,,\"(?:[58]\\\\d\\\\d|684|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"6846(?:22|33|44|55|77|88|9[19])\\\\d{4}\",,,,\"6846221234\",,,,[7]],[,,\"684(?:2(?:48|5[2468]|7[26])|7(?:3[13]|70|82))\\\\d{4}\",,,,\"6847331234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",\n,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"AS\",1,\"011\",\"1\",,,\"([267]\\\\d{6})$|1\",\"684$1\",,,,,[,,,,,,,,,[-1]],,\"684\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AT:[,[,,\"1\\\\d{3,12}|2\\\\d{6,12}|43(?:(?:0\\\\d|5[02-9])\\\\d{3,9}|2\\\\d{4,5}|[3467]\\\\d{4}|8\\\\d{4,6}|9\\\\d{4,7})|5\\\\d{4,12}|8\\\\d{7,12}|9\\\\d{8,12}|(?:[367]\\\\d|4[0-24-9])\\\\d{4,11}\",\n,,,,,,[4,5,6,7,8,9,10,11,12,13],[3]],[,,\"1(?:11\\\\d|[2-9]\\\\d{3,11})|(?:316|463|(?:51|66|73)2)\\\\d{3,10}|(?:2(?:1[467]|2[13-8]|5[2357]|6[1-46-8]|7[1-8]|8[124-7]|9[1458])|3(?:1[1-578]|3[23568]|4[5-7]|5[1378]|6[1-38]|8[3-68])|4(?:2[1-8]|35|7[1368]|8[2457])|5(?:2[1-8]|3[357]|4[147]|5[12578]|6[37])|6(?:13|2[1-47]|4[135-8]|5[468])|7(?:2[1-8]|35|4[13478]|5[68]|6[16-8]|7[1-6]|9[45]))\\\\d{4,10}\",,,,\"1234567890\",,,,[3]],[,,\"6(?:5[0-3579]|6[013-9]|[7-9]\\\\d)\\\\d{4,10}\",,,,\"664123456\",,,[7,8,9,10,11,12,13]],[,,\"800\\\\d{6,10}\",\n,,,\"800123456\",,,[9,10,11,12,13]],[,,\"(?:8[69][2-68]|9(?:0[01]|3[019]))\\\\d{6,10}\",,,,\"900123456\",,,[9,10,11,12,13]],[,,\"8(?:10|2[018])\\\\d{6,10}|828\\\\d{5}\",,,,\"810123456\",,,[8,9,10,11,12,13]],[,,,,,,,,,[-1]],[,,\"5(?:0[1-9]|17|[79]\\\\d)\\\\d{2,10}|7[28]0\\\\d{6,10}\",,,,\"780123456\",,,[5,6,7,8,9,10,11,12,13]],\"AT\",43,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})\",\"$1\",[\"14\"]],[,\"(\\\\d)(\\\\d{3,12})\",\"$1 $2\",[\"1(?:11|[2-9])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})\",\"$1 $2\",[\"517\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3,5})\",\"$1 $2\",[\"5[079]\"],\"0$1\"],\n[,\"(\\\\d{6})\",\"$1\",[\"[18]\"]],[,\"(\\\\d{3})(\\\\d{3,10})\",\"$1 $2\",[\"(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3,9})\",\"$1 $2\",[\"[2-467]|5[2-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4,7})\",\"$1 $2 $3\",[\"5\"],\"0$1\"]],[[,\"(\\\\d)(\\\\d{3,12})\",\"$1 $2\",[\"1(?:11|[2-9])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})\",\"$1 $2\",[\"517\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3,5})\",\"$1 $2\",[\"5[079]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3,10})\",\"$1 $2\",[\"(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]\"],\n\"0$1\"],[,\"(\\\\d{4})(\\\\d{3,9})\",\"$1 $2\",[\"[2-467]|5[2-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4,7})\",\"$1 $2 $3\",[\"5\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AU:[,[,,\"1(?:[0-79]\\\\d{7}(?:\\\\d(?:\\\\d{2})?)?|8[0-24-9]\\\\d{7})|[2-478]\\\\d{8}|1\\\\d{4,7}\",,,,,,,[5,6,7,8,9,10,12]],[,,\"(?:(?:2(?:[0-26-9]\\\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\\\d|2[0-8]))\\\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\\\d)\\\\d{3}|9(?:[02-9]\\\\d{3}|1(?:(?:[0-58]\\\\d|6[0135-9])\\\\d|7(?:0[0-24-9]|[1-9]\\\\d)|9(?:[0-46-9]\\\\d|5[0-79])))))\\\\d{3}\",\n,,,\"212345678\",,,[9],[8]],[,,\"4(?:79[01]|83[0-389]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\\\d{6}\",,,,\"412345678\",,,[9]],[,,\"180(?:0\\\\d{3}|2)\\\\d{3}\",,,,\"1800123456\",,,[7,10]],[,,\"190[0-26]\\\\d{6}\",,,,\"1900123456\",,,[10]],[,,\"13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}\",,,,\"1300123456\",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,\"14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}\",,,,\"147101234\",,,[9]],\"AU\",61,\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"0\",,,\n\"(183[12])|0\",,\"0011\",,[[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"16\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"13\"]],[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"19\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"180\",\"1802\"]],[,\"(\\\\d{4})(\\\\d{3,4})\",\"$1 $2\",[\"19\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"16\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"14|4\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[2378]\"],\"(0$1)\",\"$CC ($1)\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:30|[89])\"]],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{4})\",\n\"$1 $2 $3\",[\"130\"]]],[[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"16\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"16\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"14|4\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[2378]\"],\"(0$1)\",\"$CC ($1)\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:30|[89])\"]]],[,,\"163\\\\d{2,6}\",,,,\"1631234\",,,[5,6,7,8,9]],1,,[,,\"1(?:3(?:00\\\\d{5}|45[0-4])|802)\\\\d{3}|1[38]00\\\\d{6}|13\\\\d{4}\",,,,,,,[6,7,8,10,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AW:[,[,,\"(?:[25-79]\\\\d\\\\d|800)\\\\d{4}\",\n,,,,,,[7]],[,,\"5(?:2\\\\d|8[1-9])\\\\d{4}\",,,,\"5212345\"],[,,\"(?:290|5[69]\\\\d|6(?:[03]0|22|4[0-2]|[69]\\\\d)|7(?:[34]\\\\d|7[07])|9(?:6[45]|9[4-8]))\\\\d{4}\",,,,\"5601234\"],[,,\"800\\\\d{4}\",,,,\"8001234\"],[,,\"900\\\\d{4}\",,,,\"9001234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:28\\\\d|501)\\\\d{4}\",,,,\"5011234\"],\"AW\",297,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[25-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],AX:[,[,,\"2\\\\d{4,9}|35\\\\d{4,5}|(?:60\\\\d\\\\d|800)\\\\d{4,6}|7\\\\d{5,11}|(?:[14]\\\\d|3[0-46-9]|50)\\\\d{4,8}\",\n,,,,,,[5,6,7,8,9,10,11,12]],[,,\"18[1-8]\\\\d{3,6}\",,,,\"181234567\",,,[6,7,8,9]],[,,\"4946\\\\d{2,6}|(?:4[0-8]|50)\\\\d{4,8}\",,,,\"412345678\",,,[6,7,8,9,10]],[,,\"800\\\\d{4,6}\",,,,\"800123456\",,,[7,8,9]],[,,\"[67]00\\\\d{5,6}\",,,,\"600123456\",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AX\",358,\"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))\",\"0\",,,\"0\",,\"00\",,,,[,,,,,,,,,[-1]],,\"18\",[,,,,,,,,,[-1]],[,,\"20\\\\d{4,8}|60[12]\\\\d{5,6}|7(?:099\\\\d{4,5}|5[03-9]\\\\d{3,7})|20[2-59]\\\\d\\\\d|(?:606|7(?:0[78]|1|3\\\\d))\\\\d{7}|(?:10|29|3[09]|70[1-5]\\\\d)\\\\d{4,8}\",\n,,,\"10112345\"],,,[,,,,,,,,,[-1]]],AZ:[,[,,\"365\\\\d{6}|(?:[124579]\\\\d|60|88)\\\\d{7}\",,,,,,,[9],[7]],[,,\"(?:2[12]428|3655[02])\\\\d{4}|(?:2(?:22[0-79]|63[0-28])|3654)\\\\d{5}|(?:(?:1[28]|46)\\\\d|2(?:[014-6]2|[23]3))\\\\d{6}\",,,,\"123123456\",,,,[7]],[,,\"36554\\\\d{4}|(?:[16]0|4[04]|5[015]|7[07]|99)\\\\d{7}\",,,,\"401234567\"],[,,\"88\\\\d{7}\",,,,\"881234567\"],[,,\"900200\\\\d{3}\",,,,\"900200123\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"AZ\",994,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[1-9]\"]],[,\n\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"90\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[28]|2|365|46\",\"1[28]|2|365[45]|46\",\"1[28]|2|365(?:4|5[02])|46\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[13-9]\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"90\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[28]|2|365|46\",\"1[28]|2|365[45]|46\",\"1[28]|2|365(?:4|5[02])|46\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",\n[\"[13-9]\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BA:[,[,,\"6\\\\d{8}|(?:[35689]\\\\d|49|70)\\\\d{6}\",,,,,,,[8,9],[6]],[,,\"(?:3(?:[05-79][2-9]|1[4579]|[23][24-9]|4[2-4689]|8[2457-9])|49[2-579]|5(?:0[2-49]|[13][2-9]|[268][2-4679]|4[4689]|5[2-79]|7[2-69]|9[2-4689]))\\\\d{5}\",,,,\"30212345\",,,[8],[6]],[,,\"6040\\\\d{5}|6(?:03|[1-356]|44|7\\\\d)\\\\d{6}\",,,,\"61123456\"],[,,\"8[08]\\\\d{6}\",,,,\"80123456\",,,[8]],[,,\"9[0246]\\\\d{6}\",,,,\"90123456\",,,[8]],[,,\"8[12]\\\\d{6}\",,,,\"82123456\",,,[8]],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BA\",387,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1-$2\",[\"[2-9]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6[1-3]|[7-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2-$3\",[\"[3-5]|6[56]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"6\"],\"0$1\"]],[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6[1-3]|[7-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2-$3\",[\"[3-5]|6[56]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"6\"],\"0$1\"]],[,,,,,,,,,[-1]],\n,,[,,,,,,,,,[-1]],[,,\"703[235]0\\\\d{3}|70(?:2[0-5]|3[0146]|[56]0)\\\\d{4}\",,,,\"70341234\",,,[8]],,,[,,,,,,,,,[-1]]],BB:[,[,,\"(?:246|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"246521[0369]\\\\d{3}|246(?:2(?:2[78]|7[0-4])|4(?:1[024-6]|2\\\\d|3[2-9])|5(?:20|[34]\\\\d|54|7[1-3])|6(?:2\\\\d|38)|7[35]7|9(?:1[89]|63))\\\\d{4}\",,,,\"2464123456\",,,,[7]],[,,\"246(?:(?:2(?:[3568]\\\\d|4[0-57-9])|3(?:5[2-9]|6[0-6])|4(?:46|5\\\\d)|69[5-7]|8(?:[2-5]\\\\d|83))\\\\d|52(?:1[147]|20))\\\\d{3}\",,,,\"2462501234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",\n,,,\"8002123456\"],[,,\"(?:246976|900[2-9]\\\\d\\\\d)\\\\d{4}\",,,,\"9002123456\",,,,[7]],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,\"24631\\\\d{5}\",,,,\"2463101234\",,,,[7]],\"BB\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"246$1\",,,,,[,,,,,,,,,[-1]],,\"246\",[,,,,,,,,,[-1]],[,,\"246(?:292|367|4(?:1[7-9]|3[01]|4[47-9]|67)|7(?:1[2-9]|2\\\\d|3[016]|53))\\\\d{4}\",\n,,,\"2464301234\",,,,[7]],,,[,,,,,,,,,[-1]]],BD:[,[,,\"[1-469]\\\\d{9}|8[0-79]\\\\d{7,8}|[2-79]\\\\d{8}|[2-9]\\\\d{7}|[3-9]\\\\d{6}|[57-9]\\\\d{5}\",,,,,,,[6,7,8,9,10]],[,,\"(?:4(?:31\\\\d\\\\d|423)|5222)\\\\d{3}(?:\\\\d{2})?|8332[6-9]\\\\d\\\\d|(?:3(?:03[56]|224)|4(?:22[25]|653))\\\\d{3,4}|(?:3(?:42[47]|529|823)|4(?:027|525|65(?:28|8))|562|6257|7(?:1(?:5[3-5]|6[12]|7[156]|89)|22[589]56|32|42675|52(?:[25689](?:56|8)|[347]8)|71(?:6[1267]|75|89)|92374)|82(?:2[59]|32)56|9(?:03[23]56|23(?:256|373)|31|5(?:1|2[4589]56)))\\\\d{3}|(?:3(?:02[348]|22[35]|324|422)|4(?:22[67]|32[236-9]|6(?:2[46]|5[57])|953)|5526|6(?:024|6655)|81)\\\\d{4,5}|(?:2(?:7(?:1[0-267]|2[0-289]|3[0-29]|4[01]|5[1-3]|6[013]|7[0178]|91)|8(?:0[125]|1[1-6]|2[0157-9]|3[1-69]|41|6[1-35]|7[1-5]|8[1-8]|9[0-6])|9(?:0[0-2]|1[0-4]|2[568]|3[3-6]|5[5-7]|6[0136-9]|7[0-7]|8[014-9]))|3(?:0(?:2[025-79]|3[2-4])|181|22[12]|32[2356]|824)|4(?:02[09]|22[348]|32[045]|523|6(?:27|54))|666(?:22|53)|7(?:22[57-9]|42[56]|82[35])8|8(?:0[124-9]|2(?:181|2[02-4679]8)|4[12]|[5-7]2)|9(?:[04]2|2(?:2|328)|81))\\\\d{4}|(?:2(?:222|[45]\\\\d)\\\\d|3(?:1(?:2[5-7]|[5-7])|425|822)|4(?:033|1\\\\d|[257]1|332|4(?:2[246]|5[25])|6(?:2[35]|56|62)|8(?:23|54)|92[2-5])|5(?:02[03489]|22[457]|32[35-79]|42[46]|6(?:[18]|53)|724|826)|6(?:023|2(?:2[2-5]|5[3-5]|8)|32[3478]|42[34]|52[47]|6(?:[18]|6(?:2[34]|5[24]))|[78]2[2-5]|92[2-6])|7(?:02|21\\\\d|[3-589]1|6[12]|72[24])|8(?:217|3[12]|[5-7]1)|9[24]1)\\\\d{5}|(?:(?:3[2-8]|5[2-57-9]|6[03-589])1|4[4689][18])\\\\d{5}|[59]1\\\\d{5}\",\n,,,\"27111234\"],[,,\"(?:1[13-9]\\\\d|644)\\\\d{7}|(?:3[78]|44|66)[02-9]\\\\d{7}\",,,,\"1812345678\",,,[10]],[,,\"80[03]\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"96(?:0[469]|1[0-47]|3[389]|6[69]|7[78])\\\\d{6}\",,,,\"9604123456\",,,[10]],\"BD\",880,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{4,6})\",\"$1-$2\",[\"31[5-8]|[459]1\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3,7})\",\"$1-$2\",[\"3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]\"],\n\"0$1\"],[,\"(\\\\d{4})(\\\\d{3,6})\",\"$1-$2\",[\"[13-9]|22\"],\"0$1\"],[,\"(\\\\d)(\\\\d{7,8})\",\"$1-$2\",[\"2\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BE:[,[,,\"4\\\\d{8}|[1-9]\\\\d{7}\",,,,,,,[8,9]],[,,\"80[2-8]\\\\d{5}|(?:1[0-69]|[23][2-8]|4[23]|5\\\\d|6[013-57-9]|71|8[1-79]|9[2-4])\\\\d{6}\",,,,\"12345678\",,,[8]],[,,\"4[5-9]\\\\d{7}\",,,,\"470123456\",,,[9]],[,,\"800[1-9]\\\\d{4}\",,,,\"80012345\",,,[8]],[,,\"(?:70(?:2[0-57]|3[04-7]|44|6[569]|7[0579])|90(?:0[0-8]|1[36]|2[0-3568]|3[0-689]|[47][2-68]|5[1-68]|6[0-378]|9[34679]))\\\\d{4}\",\n,,,\"90012345\",,,[8]],[,,\"7879\\\\d{4}\",,,,\"78791234\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BE\",32,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:80|9)0\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[239]|4[23]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[15-8]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"4\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"78(?:0[57]|1[014-8]|2[25]|3[15-8]|48|[56]0|7[06-8]|9\\\\d)\\\\d{4}\",,,,\"78102345\",,\n,[8]],,,[,,,,,,,,,[-1]]],BF:[,[,,\"[025-7]\\\\d{7}\",,,,,,,[8]],[,,\"2(?:0(?:49|5[23]|6[5-7]|9[016-9])|4(?:4[569]|5[4-6]|6[5-7]|7[0179])|5(?:[34]\\\\d|50|6[5-7]))\\\\d{4}\",,,,\"20491234\"],[,,\"(?:0[1-35-7]|5[1-8]|[67]\\\\d)\\\\d{6}\",,,,\"70123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BF\",226,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[025-7]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BG:[,[,,\"00800\\\\d{7}|[2-7]\\\\d{6,7}|[89]\\\\d{6,8}|2\\\\d{5}\",\n,,,,,,[6,7,8,9,12],[4,5]],[,,\"2\\\\d{5,7}|(?:43[1-6]|70[1-9])\\\\d{4,5}|(?:[36]\\\\d|4[124-7]|[57][1-9]|8[1-6]|9[1-7])\\\\d{5,6}\",,,,\"2123456\",,,[6,7,8],[4,5]],[,,\"(?:43[07-9]|99[69]\\\\d)\\\\d{5}|(?:8[7-9]|98)\\\\d{7}\",,,,\"43012345\",,,[8,9]],[,,\"(?:00800\\\\d\\\\d|800)\\\\d{5}\",,,,\"80012345\",,,[8,12]],[,,\"90\\\\d{6}\",,,,\"90123456\",,,[8]],[,,\"700\\\\d{5}\",,,,\"70012345\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BG\",359,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{6})\",\"$1\",[\"1\"]],[,\"(\\\\d)(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})\",\n\"$1 $2\",[\"43[1-6]|70[1-9]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:70|8)0\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3\",[\"43[1-7]|7\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[48]|9[08]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],[[,\"(\\\\d)(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",\n[\"43[1-6]|70[1-9]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:70|8)0\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3\",[\"43[1-7]|7\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[48]|9[08]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BH:[,[,,\"[136-9]\\\\d{7}\",\n,,,,,,[8]],[,,\"(?:1(?:3[1356]|6[0156]|7\\\\d)\\\\d|6(?:1[16]\\\\d|500|6(?:0\\\\d|3[12]|44|7[7-9]|88)|9[69][69])|7(?:1(?:11|78)|7\\\\d\\\\d))\\\\d{4}\",,,,\"17001234\"],[,,\"(?:3(?:[1-79]\\\\d|8[0-47-9])\\\\d|6(?:3(?:00|33|6[16])|6(?:3[03-9]|[69]\\\\d|7[0-6])))\\\\d{4}\",,,,\"36001234\"],[,,\"80\\\\d{6}\",,,,\"80123456\"],[,,\"(?:87|9[014578])\\\\d{6}\",,,,\"90123456\"],[,,\"84\\\\d{6}\",,,,\"84123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BH\",973,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[13679]|8[047]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BI:[,[,,\"(?:[267]\\\\d|31)\\\\d{6}\",,,,,,,[8]],[,,\"(?:22|31)\\\\d{6}\",,,,\"22201234\"],[,,\"(?:29|[67][125-9])\\\\d{6}\",,,,\"79561234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BI\",257,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2367]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BJ:[,[,,\"[24-689]\\\\d{7}\",,,,,,,[8]],[,,\"2(?:02|1[037]|2[45]|3[68]|4\\\\d)\\\\d{5}\",,,,\"20211234\"],[,,\"(?:4[0-2]|[56]\\\\d|9[013-9])\\\\d{6}\",\n,,,\"90011234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"857[58]\\\\d{4}\",,,,\"85751234\"],\"BJ\",229,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24-689]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"81\\\\d{6}\",,,,\"81123456\"],,,[,,,,,,,,,[-1]]],BL:[,[,,\"(?:590|(?:69|80)\\\\d|976)\\\\d{6}\",,,,,,,[9]],[,,\"590(?:2[7-9]|5[12]|87)\\\\d{4}\",,,,\"590271234\"],[,,\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}\",,,,\"690001234\"],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\"],[,,,,,,,,,[-1]],[,,,\n,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"976[01]\\\\d{5}\",,,,\"976012345\"],\"BL\",590,\"00\",\"0\",,,\"0\",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BM:[,[,,\"(?:441|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"441(?:[46]\\\\d\\\\d|5(?:4\\\\d|60|89))\\\\d{4}\",,,,\"4414123456\",,,,[7]],[,,\"441(?:[2378]\\\\d|5[0-39]|92)\\\\d{5}\",,,,\"4413701234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"BM\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"441$1\",,,,,[,,,,,,,,,[-1]],,\"441\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BN:[,[,,\"[2-578]\\\\d{6}\",,,,,,,[7]],[,,\"22[0-7]\\\\d{4}|(?:2[013-9]|[34]\\\\d|5[0-25-9])\\\\d{5}\",,,,\"2345678\"],[,,\"(?:22[89]|[78]\\\\d\\\\d)\\\\d{4}\",,,,\"7123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"5[34]\\\\d{5}\",,,,\"5345678\"],\"BN\",673,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-578]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],\n[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BO:[,[,,\"(?:[2-467]\\\\d\\\\d|8001)\\\\d{5}\",,,,,,,[8,9],[7]],[,,\"(?:2(?:2\\\\d\\\\d|5(?:11|[258]\\\\d|9[67])|6(?:12|2\\\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\\\d\\\\d|4(?:6\\\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\\\d\\\\d|6(?:11|[24689]\\\\d|72)))\\\\d{4}\",,,,\"22123456\",,,[8],[7]],[,,\"[67]\\\\d{7}\",,,,\"71234567\",,,[8]],[,,\"8001[07]\\\\d{4}\",,,,\"800171234\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BO\",591,\"00(?:1\\\\d)?\",\"0\",\n,,\"0(1\\\\d)?\",,,,[[,\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"[23]|4[46]\"],,\"0$CC $1\"],[,\"(\\\\d{8})\",\"$1\",[\"[67]\"],,\"0$CC $1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],,\"0$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,\"8001[07]\\\\d{4}\",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BQ:[,[,,\"(?:[34]1|7\\\\d)\\\\d{5}\",,,,,,,[7]],[,,\"(?:318[023]|41(?:6[023]|70)|7(?:1[578]|2[05]|50)\\\\d)\\\\d{3}\",,,,\"7151234\"],[,,\"(?:31(?:8[14-8]|9[14578])|416[14-9]|7(?:0[01]|7[07]|8\\\\d|9[056])\\\\d)\\\\d{3}\",,,,\"3181234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BQ\",599,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,\"[347]\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BR:[,[,,\"(?:[1-46-9]\\\\d\\\\d|5(?:[0-46-9]\\\\d|5[0-46-9]))\\\\d{8}|[1-9]\\\\d{9}|[3589]\\\\d{8}|[34]\\\\d{7}\",,,,,,,[8,9,10,11]],[,,\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-5]\\\\d{7}\",,,,\"1123456789\",,,[10],[8]],[,,\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])(?:7|9\\\\d)\\\\d{7}\",,,,\"11961234567\",,,[10,11],[8,9]],[,,\"800\\\\d{6,7}\",,,,\"800123456\",,,\n[9,10]],[,,\"300\\\\d{6}|[59]00\\\\d{6,7}\",,,,\"300123456\",,,[9,10]],[,,\"(?:30[03]\\\\d{3}|4(?:0(?:0\\\\d|20)|370))\\\\d{4}|300\\\\d{5}\",,,,\"40041234\",,,[8,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BR\",55,\"00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)\",\"0\",,,\"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\\\d{10,11}))?\",\"$2\",,,[[,\"(\\\\d{3,6})\",\"$1\",[\"1(?:1[25-8]|2[357-9]|3[02-68]|4[12568]|5|6[0-8]|8[015]|9[0-47-9])|321|610\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"300|4(?:0[02]|37)\",\"4(?:02|37)0|[34]00\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",\n[\"[2-57]\",\"[2357]|4(?:[0-24-9]|3(?:[0-689]|7[1-9]))\"]],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:[358]|90)0\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{4})\",\"$1-$2\",[\"9\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]\"],\"($1)\",\"0 $CC ($1)\"],[,\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1 $2-$3\",[\"[16][1-9]|[2-57-9]\"],\"($1)\",\"0 $CC ($1)\"]],[[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"300|4(?:0[02]|37)\",\"4(?:02|37)0|[34]00\"]],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:[358]|90)0\"],\n\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2-$3\",[\"(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]\"],\"($1)\",\"0 $CC ($1)\"],[,\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1 $2-$3\",[\"[16][1-9]|[2-57-9]\"],\"($1)\",\"0 $CC ($1)\"]],[,,,,,,,,,[-1]],,,[,,\"30(?:0\\\\d{5,7}|3\\\\d{7})|40(?:0\\\\d|20)\\\\d{4}|800\\\\d{6,7}\",,,,,,,[8,9,10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BS:[,[,,\"(?:242|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\\\d{4}\",\n,,,\"2423456789\",,,,[7]],[,,\"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\\\d|[89]9))\\\\d{4}\",,,,\"2423591234\",,,,[7]],[,,\"242300\\\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\",,,,[7]],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"BS\",1,\"011\",\"1\",,,\"([3-8]\\\\d{6})$|1\",\"242$1\",,,,,[,,,,,,,,,[-1]],,\"242\",[,,,,,,,,,[-1]],[,,\"242225\\\\d{4}\",,,,\"2422250123\"],,,[,,,,,,,,,[-1]]],BT:[,[,,\"[17]\\\\d{7}|[2-8]\\\\d{6}\",,,,,,,[7,8],[6]],[,,\"(?:2[3-6]|[34][5-7]|5[236]|6[2-46]|7[246]|8[2-4])\\\\d{5}\",,,,\"2345678\",,,[7],[6]],[,,\"(?:1[67]|77)\\\\d{6}\",,,,\"17123456\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BT\",975,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"[2-7]\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\n\"$1 $2 $3\",[\"[2-68]|7[246]\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[67]|7\"]]],[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-68]|7[246]\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[67]|7\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BW:[,[,,\"(?:0800|(?:[37]|800)\\\\d)\\\\d{6}|(?:[2-6]\\\\d|90)\\\\d{5}\",,,,,,,[7,8,10]],[,,\"(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\\\d|7[013])|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\\\d{4}\",\n,,,\"2401234\",,,[7]],[,,\"(?:321|7(?:[1-7]\\\\d|8[0-4]))\\\\d{5}\",,,,\"71123456\",,,[8]],[,,\"(?:0800|800\\\\d)\\\\d{6}\",,,,\"0800012345\",,,[10]],[,,\"90\\\\d{5}\",,,,\"9012345\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"79(?:1(?:[01]\\\\d|2[0-7])|2[0-7]\\\\d)\\\\d{3}\",,,,\"79101234\",,,[8]],\"BW\",267,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"90\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[24-6]|3[15-79]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[37]\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"0\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\n\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BY:[,[,,\"(?:[12]\\\\d|33|44|902)\\\\d{7}|8(?:0[0-79]\\\\d{5,7}|[1-7]\\\\d{9})|8(?:1[0-489]|[5-79]\\\\d)\\\\d{7}|8[1-79]\\\\d{6,7}|8[0-79]\\\\d{5}|8\\\\d{5}\",,,,,,,[6,7,8,9,10,11],[5]],[,,\"(?:1(?:5(?:1[1-5]|[24]\\\\d|6[2-4]|9[1-7])|6(?:[235]\\\\d|4[1-7])|7\\\\d\\\\d)|2(?:1(?:[246]\\\\d|3[0-35-9]|5[1-9])|2(?:[235]\\\\d|4[0-8])|3(?:[26]\\\\d|3[02-79]|4[024-7]|5[03-7])))\\\\d{5}\",,,,\"152450911\",,,[9],[5,6,7]],[,,\"(?:2(?:5[5-79]|9[1-9])|(?:33|44)\\\\d)\\\\d{6}\",\n,,,\"294911911\",,,[9]],[,,\"800\\\\d{3,7}|8(?:0[13]|20\\\\d)\\\\d{7}\",,,,\"8011234567\"],[,,\"(?:810|902)\\\\d{7}\",,,,\"9021234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"249\\\\d{6}\",,,,\"249123456\",,,[9]],\"BY\",375,\"810\",\"8\",,,\"0|80?\",,\"8~10\",,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"800\"],\"8 $1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2,4})\",\"$1 $2 $3\",[\"800\"],\"8 $1\"],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{3})\",\"$1 $2-$3\",[\"1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])\",\"1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])\"],\n\"8 0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"1(?:[56]|7[467])|2[1-3]\"],\"8 0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[1-4]\"],\"8 0$1\"],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"8 $1\"]],,[,,,,,,,,,[-1]],,,[,,\"800\\\\d{3,7}|(?:8(?:0[13]|10|20\\\\d)|902)\\\\d{7}\"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],BZ:[,[,,\"(?:0800\\\\d|[2-8])\\\\d{6}\",,,,,,,[7,11]],[,,\"(?:2(?:[02]\\\\d|36|[68]0)|[3-58](?:[02]\\\\d|[68]0)|7(?:[02]\\\\d|32|[68]0))\\\\d{4}\",,,,\"2221234\",,,[7]],[,,\"6[0-35-7]\\\\d{5}\",\n,,,\"6221234\",,,[7]],[,,\"0800\\\\d{7}\",,,,\"08001234123\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"BZ\",501,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-8]\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1-$2-$3-$4\",[\"0\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CA:[,[,,\"(?:[2-8]\\\\d|90)\\\\d{8}|3\\\\d{6}\",,,,,,,[7,10]],[,,\"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\\\d{6}\",\n,,,\"5062345678\",,,[10],[7]],[,,\"(?:2(?:04|[23]6|[48]9|50|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|3[178]|50|68|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\\\d{6}\",,,,\"5062345678\",,,[10],[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\",,,[10]],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\",,,[10]],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|(?:5(?:00|2[125-9]|33|44|66|77|88)|622)[2-9]\\\\d{6}\",\n,,,\"5002345678\",,,[10]],[,,\"600[2-9]\\\\d{6}\",,,,\"6002012345\",,,[10]],\"CA\",1,\"011\",\"1\",,,\"1\",,,1,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"310\\\\d{4}\",,,,\"3101234\",,,[7]],,,[,,,,,,,,,[-1]]],CC:[,[,,\"1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}\",,,,,,,[6,7,8,9,10,12]],[,,\"8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\\\d|70[23]|959))\\\\d{3}\",,,,\"891621234\",,,[9],[8]],[,,\"4(?:79[01]|83[0-389]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\\\d{6}\",\n,,,\"412345678\",,,[9]],[,,\"180(?:0\\\\d{3}|2)\\\\d{3}\",,,,\"1800123456\",,,[7,10]],[,,\"190[0-26]\\\\d{6}\",,,,\"1900123456\",,,[10]],[,,\"13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}\",,,,\"1300123456\",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,\"14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}\",,,,\"147101234\",,,[9]],\"CC\",61,\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"0\",,,\"([59]\\\\d{7})$|0\",\"8$1\",\"0011\",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CD:[,[,,\"[189]\\\\d{8}|[1-68]\\\\d{6}\",,,,,,\n,[7,9]],[,,\"12\\\\d{7}|[1-6]\\\\d{6}\",,,,\"1234567\"],[,,\"88\\\\d{5}|(?:8[0-59]|9[017-9])\\\\d{7}\",,,,\"991234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CD\",243,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"88\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"[1-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CF:[,[,,\n\"(?:[27]\\\\d{3}|8776)\\\\d{4}\",,,,,,,[8]],[,,\"2[12]\\\\d{6}\",,,,\"21612345\"],[,,\"7[024-7]\\\\d{6}\",,,,\"70012345\"],[,,,,,,,,,[-1]],[,,\"8776\\\\d{4}\",,,,\"87761234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CF\",236,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[278]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CG:[,[,,\"222\\\\d{6}|(?:0\\\\d|80)\\\\d{7}\",,,,,,,[9]],[,,\"222[1-589]\\\\d{5}\",,,,\"222123456\"],[,,\"026(?:1[0-5]|6[6-9])\\\\d{4}|0(?:[14-6]\\\\d\\\\d|2(?:40|5[5-8]|6[07-9]))\\\\d{5}\",\n,,,\"061234567\"],[,,,,,,,,,[-1]],[,,\"80(?:0\\\\d\\\\d|120)\\\\d{4}\",,,,\"800123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CG\",242,\"00\",,,,,,,,[[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[02]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CH:[,[,,\"8\\\\d{11}|[2-9]\\\\d{8}\",,,,,,,[9,12]],[,,\"(?:2[12467]|3[1-4]|4[134]|5[256]|6[12]|[7-9]1)\\\\d{7}\",,,,\"212345678\",,,[9]],[,,\"7[35-9]\\\\d{7}\",,,,\"781234567\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",\n,,[9]],[,,\"90[016]\\\\d{6}\",,,,\"900123456\",,,[9]],[,,\"84[0248]\\\\d{6}\",,,,\"840123456\",,,[9]],[,,\"878\\\\d{6}\",,,,\"878123456\",,,[9]],[,,,,,,,,,[-1]],\"CH\",41,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8[047]|90\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-79]|81\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"8\"],\"0$1\"]],,[,,\"74[0248]\\\\d{6}\",,,,\"740123456\",,,[9]],,,[,,,,,,,,,[-1]],[,,\"5[18]\\\\d{7}\",,,,\"581234567\",,,[9]],,,[,,\"860\\\\d{9}\",,,,\"860123456789\",\n,,[12]]],CI:[,[,,\"[02]\\\\d{9}\",,,,,,,[10]],[,,\"2(?:[15]\\\\d{3}|7(?:2(?:0[23]|1[2357]|2[245]|3[45]|4[3-5])|3(?:06|1[69]|[2-6]7)))\\\\d{5}\",,,,\"2123456789\"],[,,\"0[157]\\\\d{8}\",,,,\"0123456789\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CI\",225,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d)(\\\\d{5})\",\"$1 $2 $3 $4\",[\"2\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"0\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CK:[,[,,\"[2-578]\\\\d{4}\",,,,,,\n,[5]],[,,\"(?:2\\\\d|3[13-7]|4[1-5])\\\\d{3}\",,,,\"21234\"],[,,\"[578]\\\\d{4}\",,,,\"71234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CK\",682,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"[2-578]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CL:[,[,,\"12300\\\\d{6}|6\\\\d{9,10}|[2-9]\\\\d{8}\",,,,,,,[9,10,11]],[,,\"2(?:1982[0-6]|3314[05-9])\\\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\\\d\\\\d|3(?:[0346]\\\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\\\d\\\\d|9(?:3(?:[0-57-9]\\\\d\\\\d|6(?:0[02-9]|[1-9]\\\\d))|6(?:[0-8]\\\\d\\\\d|9(?:[02-79]\\\\d|1[05-9]))|7[1-9]\\\\d\\\\d|9(?:[03-9]\\\\d\\\\d|1(?:[0235-9]\\\\d|4[0-24-9])|2(?:[0-79]\\\\d|8[0-46-9]))))\\\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\\\d{7}\",\n,,,\"221234567\",,,[9]],[,,\"2(?:1982[0-6]|3314[05-9])\\\\d{3}|(?:2(?:1(?:160|962)|3(?:2\\\\d\\\\d|3(?:[0346]\\\\d|1[0-35-9]|2[1-9]|5[0-24-9]|7[0-3])|600)|646[59])|80[1-9]\\\\d\\\\d|9(?:3(?:[0-57-9]\\\\d\\\\d|6(?:0[02-9]|[1-9]\\\\d))|6(?:[0-8]\\\\d\\\\d|9(?:[02-79]\\\\d|1[05-9]))|7[1-9]\\\\d\\\\d|9(?:[03-9]\\\\d\\\\d|1(?:[0235-9]\\\\d|4[0-24-9])|2(?:[0-79]\\\\d|8[0-46-9]))))\\\\d{4}|(?:22|3[2-5]|[47][1-35]|5[1-3578]|6[13-57]|8[1-9]|9[2458])\\\\d{7}\",,,,\"221234567\",,,[9]],[,,\"(?:123|8)00\\\\d{6}\",,,,\"800123456\",,,[9,11]],[,,,,,,,,,[-1]],[,,\"600\\\\d{7,8}\",\n,,,\"6001234567\",,,[10,11]],[,,,,,,,,,[-1]],[,,\"44\\\\d{7}\",,,,\"441234567\",,,[9]],\"CL\",56,\"(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0\",,,,,,,1,[[,\"(\\\\d{4})\",\"$1\",[\"1(?:[03-589]|21)|[29]0|78\"]],[,\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"219\",\"2196\"],\"($1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"44\"]],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2[1-36]\"],\"($1)\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"9[2-9]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])\"],\n\"($1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"60|8\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"60\"]]],[[,\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"219\",\"2196\"],\"($1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"44\"]],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2[1-36]\"],\"($1)\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"9[2-9]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])\"],\"($1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\n\"$1 $2 $3\",[\"60|8\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"60\"]]],[,,,,,,,,,[-1]],,,[,,\"600\\\\d{7,8}\",,,,,,,[10,11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CM:[,[,,\"[26]\\\\d{8}|88\\\\d{6,7}\",,,,,,,[8,9]],[,,\"2(?:22|33)\\\\d{6}\",,,,\"222123456\",,,[9]],[,,\"(?:24[23]|6[25-9]\\\\d)\\\\d{6}\",,,,\"671234567\",,,[9]],[,,\"88\\\\d{6,7}\",,,,\"88012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CM\",237,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"88\"]],[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[26]|88\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CN:[,[,,\"1[127]\\\\d{8,9}|2\\\\d{9}(?:\\\\d{2})?|[12]\\\\d{6,7}|86\\\\d{6}|(?:1[03-689]\\\\d|6)\\\\d{7,9}|(?:[3-579]\\\\d|8[0-57-9])\\\\d{6,9}\",,,,,,,[7,8,9,10,11,12],[5,6]],[,,\"(?:10(?:[02-79]\\\\d\\\\d|[18](?:0[1-9]|[1-9]\\\\d))|21(?:[18](?:0[1-9]|[1-9]\\\\d)|[2-79]\\\\d\\\\d))\\\\d{5}|(?:43[35]|754)\\\\d{7,8}|8(?:078\\\\d{7}|51\\\\d{7,8})|(?:10|(?:2|85)1|43[35]|754)(?:100\\\\d\\\\d|95\\\\d{3,4})|(?:2[02-57-9]|3(?:11|7[179])|4(?:[15]1|3[12])|5(?:1\\\\d|2[37]|3[12]|51|7[13-79]|9[15])|7(?:[39]1|5[57]|6[09])|8(?:71|98))(?:[02-8]\\\\d{7}|1(?:0(?:0\\\\d\\\\d(?:\\\\d{3})?|[1-9]\\\\d{5})|[1-9]\\\\d{6})|9(?:[0-46-9]\\\\d{6}|5\\\\d{3}(?:\\\\d(?:\\\\d{2})?)?))|(?:3(?:1[02-9]|35|49|5\\\\d|7[02-68]|9[1-68])|4(?:1[02-9]|2[179]|3[46-9]|5[2-9]|6[47-9]|7\\\\d|8[23])|5(?:3[03-9]|4[36]|5[02-9]|6[1-46]|7[028]|80|9[2-46-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[17]\\\\d|2[248]|3[04-9]|4[3-6]|5[0-3689]|6[2368]|9[02-9])|8(?:1[236-8]|2[5-7]|3\\\\d|5[2-9]|7[02-9]|8[36-8]|9[1-7])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:[02-8]\\\\d{6}|1(?:0(?:0\\\\d\\\\d(?:\\\\d{2})?|[1-9]\\\\d{4})|[1-9]\\\\d{5})|9(?:[0-46-9]\\\\d{5}|5\\\\d{3,5}))\",\n,,,\"1012345678\",,,[7,8,9,10,11],[5,6]],[,,\"1740[0-5]\\\\d{6}|1(?:[38]\\\\d|4[57]|[59][0-35-9]|6[25-7]|7[0-35-8])\\\\d{8}\",,,,\"13123456789\",,,[11]],[,,\"(?:(?:10|21)8|8)00\\\\d{7}\",,,,\"8001234567\",,,[10,12]],[,,\"16[08]\\\\d{5}\",,,,\"16812345\",,,[8]],[,,\"10(?:10\\\\d{4}|96\\\\d{3,4})|400\\\\d{7}|950\\\\d{7,8}|(?:2[0-57-9]|3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))96\\\\d{3,4}\",\n,,,\"4001234567\",,,[7,8,9,10,11],[5,6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CN\",86,\"00|1(?:[12]\\\\d|79)\\\\d\\\\d00\",\"0\",,,\"(1(?:[12]\\\\d|79)\\\\d\\\\d)|0\",,\"00\",,[[,\"(\\\\d{5,6})\",\"$1\",[\"10|96\"]],[,\"(\\\\d{2})(\\\\d{5,6})\",\"$1 $2\",[\"(?:10|2[0-57-9])[19]\",\"(?:10|2[0-57-9])(?:10|9[56])\",\"10(?:10|9[56])|2[0-57-9](?:100|9[56])\"],\"0$1\",\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[1-9]\",\"1[1-9]|26|[3-9]|(?:10|2[0-57-9])(?:[0-8]|9[0-47-9])\",\"1(?:0(?:[0-8]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])|6)|[3-9]\"]],\n[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"16[08]\"]],[,\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]\",\"(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))[19]\",\n\"85[23](?:10|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:10|9[56])\",\"85[23](?:100|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:100|9[56])\"],\n\"0$1\",\"$CC $1\"],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[1-9]\",\"1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|2(?:[0-57-9](?:[0-8]|9[0-47-9])|6)|[3-9]\",\"1(?:0(?:[02-8]|1[1-9]|9[0-47-9])|[1-9])|26|3(?:[0268]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|8[1-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23][0-8])|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:33|85[23]9)[0-46-9]|(?:2[0-57-9]|3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:[0-8]|9[0-47-9])\",\n\"1(?:0[02-8]|[1-9])|2(?:[0-57-9][0-8]|6)|3(?:[0268]|3[0-46-9]|4[0-8]|9[079])|4(?:[049]|2[02-68]|[35]0|6[0-356]|8[014-9])|5(?:0|2[0-24-689]|4[0-2457-9]|6[057-9]|90)|6(?:[0-24578]|3[06-9]|6[14-79]|9[03-9])|7(?:0[02-9]|2[0135-79]|3[23]|4[0-27-9]|6[1457]|8)|8(?:[046]|1[01459]|2[0-489]|5(?:0|[23](?:[02-8]|1[1-9]|9[0-46-9]))|8[0-2459]|9[09])|9(?:0[0457]|1[08]|[268]|4[024-9]|5[06-9])|(?:10|2[0-57-9])9[0-47-9]|(?:101|58|85[23]10)[1-9]|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:[02-8]|1(?:0[1-9]|[1-9])|9[0-47-9])\"]],\n[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:4|80)0\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"10|2(?:[02-57-9]|1[1-9])\",\"10|2(?:[02-57-9]|1[1-9])\",\"10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{7,8})\",\n\"$1 $2\",[\"9\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"80\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-578]\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"1[3-9]\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"[12]\"],\"0$1\",,1]],[[,\"(\\\\d{2})(\\\\d{5,6})\",\"$1 $2\",[\"(?:10|2[0-57-9])[19]\",\"(?:10|2[0-57-9])(?:10|9[56])\",\"10(?:10|9[56])|2[0-57-9](?:100|9[56])\"],\"0$1\",\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]\",\n\"(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))[19]\",\"85[23](?:10|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:10|9[56])\",\n\"85[23](?:100|95)|(?:3(?:[157]\\\\d|35|49|9[1-68])|4(?:[17]\\\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\\\d|4[13]|5[1-5]))(?:100|9[56])\"],\"0$1\",\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"(?:4|80)0\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"10|2(?:[02-57-9]|1[1-9])\",\"10|2(?:[02-57-9]|1[1-9])\",\"10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])\"],\n\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{7,8})\",\"$1 $2\",[\"9\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"80\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-578]\"],\"0$1\",\"$CC $1\",1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"1[3-9]\"],,\"$CC $1\"],\n[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"[12]\"],\"0$1\",,1]],[,,,,,,,,,[-1]],,,[,,\"(?:(?:10|21)8|[48])00\\\\d{7}|950\\\\d{7,8}\",,,,,,,[10,11,12]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CO:[,[,,\"(?:60\\\\d\\\\d|9101)\\\\d{6}|(?:1\\\\d|3)\\\\d{9}\",,,,,,,[10,11],[7]],[,,\"601055(?:[0-4]\\\\d|50)\\\\d\\\\d|6010(?:[0-4]\\\\d|5[0-4])\\\\d{4}|60[124-8][2-9]\\\\d{6}\",,,,\"6012345678\",,,[10],[7]],[,,\"3333(?:0(?:0\\\\d|1[0-5])|[4-9]\\\\d\\\\d)\\\\d{3}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\\\d{6}|3(?:0[0-5]|1\\\\d|2[0-3]|5[01]|70)\\\\d{7}\",\n,,,\"3211234567\",,,[10]],[,,\"1800\\\\d{7}\",,,,\"18001234567\",,,[11]],[,,\"19(?:0[01]|4[78])\\\\d{7}\",,,,\"19001234567\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CO\",57,\"00(?:4(?:[14]4|56)|[579])\",\"0\",,,\"0(4(?:[14]4|56)|[579])?\",,,,[[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"6\"],\"($1)\",\"0$CC $1\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"3[0-357]|91\"],,\"0$CC $1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{7})\",\"$1-$2-$3\",[\"1\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"6\"],\"($1)\",\"0$CC $1\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"3[0-357]|91\"],,\"0$CC $1\"],\n[,\"(\\\\d)(\\\\d{3})(\\\\d{7})\",\"$1 $2 $3\",[\"1\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CR:[,[,,\"(?:8\\\\d|90)\\\\d{8}|(?:[24-8]\\\\d{3}|3005)\\\\d{4}\",,,,,,,[8,10]],[,,\"210[7-9]\\\\d{4}|2(?:[024-7]\\\\d|1[1-9])\\\\d{5}\",,,,\"22123456\",,,[8]],[,,\"(?:3005\\\\d|6500[01])\\\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\\\d{6}\",,,,\"83123456\",,,[8]],[,,\"800\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,\"90[059]\\\\d{7}\",,,,\"9001234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:210[0-6]|4\\\\d{3}|5100)\\\\d{4}\",,,,\"40001234\",\n,,[8]],\"CR\",506,\"00\",,,,\"(19(?:0[0-2468]|1[09]|20|66|77|99))\",,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-7]|8[3-9]\"],,\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[89]\"],,\"$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CU:[,[,,\"[27]\\\\d{6,7}|[34]\\\\d{5,7}|(?:5|8\\\\d\\\\d)\\\\d{7}\",,,,,,,[6,7,8,10],[4,5]],[,,\"(?:3[23]|48)\\\\d{4,6}|(?:31|4[36]|8(?:0[25]|78)\\\\d)\\\\d{6}|(?:2[1-4]|4[1257]|7\\\\d)\\\\d{5,6}\",,,,\"71234567\",,,,[4,5]],[,,\"5\\\\d{7}\",,,,\"51234567\",,,[8]],[,,\"800\\\\d{7}\",\n,,,\"8001234567\",,,[10]],[,,,,,,,,,[-1]],[,,\"807\\\\d{7}\",,,,\"8071234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CU\",53,\"119\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{4,6})\",\"$1 $2\",[\"2[1-4]|[34]\"],\"(0$1)\"],[,\"(\\\\d)(\\\\d{6,7})\",\"$1 $2\",[\"7\"],\"(0$1)\"],[,\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"5\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CV:[,[,,\"(?:[2-59]\\\\d\\\\d|800)\\\\d{4}\",,,,,,,[7]],[,,\"2(?:2[1-7]|3[0-8]|4[12]|5[1256]|6\\\\d|7[1-3]|8[1-5])\\\\d{4}\",\n,,,\"2211234\"],[,,\"(?:36|5[1-389]|9\\\\d)\\\\d{5}\",,,,\"9911234\"],[,,\"800\\\\d{4}\",,,,\"8001234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:3[3-5]|4[356])\\\\d{5}\",,,,\"3401234\"],\"CV\",238,\"0\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[2-589]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CW:[,[,,\"(?:[34]1|60|(?:7|9\\\\d)\\\\d)\\\\d{5}\",,,,,,,[7,8]],[,,\"9(?:4(?:3[0-5]|4[14]|6\\\\d)|50\\\\d|7(?:2[014]|3[02-9]|4[4-9]|6[357]|77|8[7-9])|8(?:3[39]|[46]\\\\d|7[01]|8[57-9]))\\\\d{4}\",\n,,,\"94351234\"],[,,\"953[01]\\\\d{4}|9(?:5[12467]|6[5-9])\\\\d{5}\",,,,\"95181234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"60[0-2]\\\\d{4}\",,,,\"6001234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"CW\",599,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[3467]\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9[4-8]\"]]],,[,,\"955\\\\d{5}\",,,,\"95581234\",,,[8]],1,\"[69]\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CX:[,[,,\"1(?:[0-79]\\\\d{8}(?:\\\\d{2})?|8[0-24-9]\\\\d{7})|[148]\\\\d{8}|1\\\\d{5,7}\",,,,,,,[6,7,8,9,10,12]],[,,\"8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\\\d|7(?:0[01]|1[0-2])|958))\\\\d{3}\",\n,,,\"891641234\",,,[9],[8]],[,,\"4(?:79[01]|83[0-389]|93[0-6])\\\\d{5}|4(?:[0-3]\\\\d|4[047-9]|5[0-25-9]|6[016-9]|7[02-8]|8[0-24-9]|9[0-27-9])\\\\d{6}\",,,,\"412345678\",,,[9]],[,,\"180(?:0\\\\d{3}|2)\\\\d{3}\",,,,\"1800123456\",,,[7,10]],[,,\"190[0-26]\\\\d{6}\",,,,\"1900123456\",,,[10]],[,,\"13(?:00\\\\d{6}(?:\\\\d{2})?|45[0-4]\\\\d{3})|13\\\\d{4}\",,,,\"1300123456\",,,[6,8,10,12]],[,,,,,,,,,[-1]],[,,\"14(?:5(?:1[0458]|[23][458])|71\\\\d)\\\\d{4}\",,,,\"147101234\",,,[9]],\"CX\",61,\"001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011\",\"0\",,,\n\"([59]\\\\d{7})$|0\",\"8$1\",\"0011\",,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],CY:[,[,,\"(?:[279]\\\\d|[58]0)\\\\d{6}\",,,,,,,[8]],[,,\"2[2-6]\\\\d{6}\",,,,\"22345678\"],[,,\"9(?:10|[4-79]\\\\d)\\\\d{5}\",,,,\"96123456\"],[,,\"800\\\\d{5}\",,,,\"80001234\"],[,,\"90[09]\\\\d{5}\",,,,\"90012345\"],[,,\"80[1-9]\\\\d{5}\",,,,\"80112345\"],[,,\"700\\\\d{5}\",,,,\"70012345\"],[,,,,,,,,,[-1]],\"CY\",357,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[257-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"(?:50|77)\\\\d{6}\",,,,\"77123456\"],\n,,[,,,,,,,,,[-1]]],CZ:[,[,,\"(?:[2-578]\\\\d|60)\\\\d{7}|9\\\\d{8,11}\",,,,,,,[9,10,11,12]],[,,\"(?:2\\\\d|3[1257-9]|4[16-9]|5[13-9])\\\\d{7}\",,,,\"212345678\",,,[9]],[,,\"(?:60[1-8]|7(?:0[2-5]|[2379]\\\\d))\\\\d{6}\",,,,\"601123456\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\"9(?:0[05689]|76)\\\\d{6}\",,,,\"900123456\",,,[9]],[,,\"8[134]\\\\d{7}\",,,,\"811234567\",,,[9]],[,,\"70[01]\\\\d{6}\",,,,\"700123456\",,,[9]],[,,\"9[17]0\\\\d{6}\",,,,\"910123456\",,,[9]],\"CZ\",420,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-8]|9[015-7]\"]],\n[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"96\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"9(?:5\\\\d|7[2-4])\\\\d{6}\",,,,\"972123456\",,,[9]],,,[,,\"9(?:3\\\\d{9}|6\\\\d{7,10})\",,,,\"93123456789\"]],DE:[,[,,\"[2579]\\\\d{5,14}|49(?:[34]0|69|8\\\\d)\\\\d\\\\d?|49(?:37|49|60|7[089]|9\\\\d)\\\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\\\d{1,8}|(?:1|[368]\\\\d|4[0-8])\\\\d{3,13}|49(?:[015]\\\\d|2[13]|31|[46][1-8])\\\\d{1,9}\",\n,,,,,,[4,5,6,7,8,9,10,11,12,13,14,15],[2,3]],[,,\"32\\\\d{9,11}|49[1-6]\\\\d{10}|322\\\\d{6}|49[0-7]\\\\d{3,9}|(?:[34]0|[68]9)\\\\d{3,13}|(?:2(?:0[1-689]|[1-3569]\\\\d|4[0-8]|7[1-7]|8[0-7])|3(?:[3569]\\\\d|4[0-79]|7[1-7]|8[1-8])|4(?:1[02-9]|[2-48]\\\\d|5[0-6]|6[0-8]|7[0-79])|5(?:0[2-8]|[124-6]\\\\d|[38][0-8]|[79][0-7])|6(?:0[02-9]|[1-358]\\\\d|[47][0-8]|6[1-9])|7(?:0[2-8]|1[1-9]|[27][0-7]|3\\\\d|[4-6][0-8]|8[0-5]|9[013-7])|8(?:0[2-9]|1[0-79]|2\\\\d|3[0-46-9]|4[0-6]|5[013-9]|6[1-8]|7[0-8]|8[0-24-6])|9(?:0[6-9]|[1-4]\\\\d|[589][0-7]|6[0-8]|7[0-467]))\\\\d{3,12}\",\n,,,\"30123456\",,,[5,6,7,8,9,10,11,12,13,14,15],[2,3,4]],[,,\"15[0-25-9]\\\\d{8}|1(?:6[023]|7\\\\d)\\\\d{7,8}\",,,,\"15123456789\",,,[10,11]],[,,\"800\\\\d{7,12}\",,,,\"8001234567890\",,,[10,11,12,13,14,15]],[,,\"(?:137[7-9]|900(?:[135]|9\\\\d))\\\\d{6}\",,,,\"9001234567\",,,[10,11]],[,,\"180\\\\d{5,11}|13(?:7[1-6]\\\\d\\\\d|8)\\\\d{4}\",,,,\"18012345\",,,[7,8,9,10,11,12,13,14]],[,,\"700\\\\d{8}\",,,,\"70012345678\",,,[11]],[,,,,,,,,,[-1]],\"DE\",49,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3,13})\",\"$1 $2\",[\"3[02]|40|[68]9\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3,12})\",\n\"$1 $2\",[\"2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1\",\"2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{2,11})\",\"$1 $2\",[\"[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]\",\"[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]\"],\n\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"138\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{2,10})\",\"$1 $2\",[\"3\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5,11})\",\"$1 $2\",[\"181\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{4,10})\",\"$1 $2 $3\",[\"1(?:3|80)|9\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{7,8})\",\"$1 $2\",[\"1[67]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{7,12})\",\"$1 $2\",[\"8\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{6})\",\"$1 $2\",[\"185\",\"1850\",\"18500\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{7})\",\"$1 $2\",[\"18[68]\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{6})\",\"$1 $2\",[\"15[0568]\"],\"0$1\"],\n[,\"(\\\\d{4})(\\\\d{7})\",\"$1 $2\",[\"15[1279]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{8})\",\"$1 $2\",[\"18\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{7,8})\",\"$1 $2 $3\",[\"1(?:6[023]|7)\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{7})\",\"$1 $2 $3\",[\"15[279]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{8})\",\"$1 $2 $3\",[\"15\"],\"0$1\"]],,[,,\"16(?:4\\\\d{1,10}|[89]\\\\d{1,11})\",,,,\"16412345\",,,[4,5,6,7,8,9,10,11,12,13,14]],,,[,,,,,,,,,[-1]],[,,\"18(?:1\\\\d{5,11}|[2-9]\\\\d{8})\",,,,\"18500123456\",,,[8,9,10,11,12,13,14]],,,[,,\"1(?:6(?:013|255|399)|7(?:(?:[015]1|[69]3)3|[2-4]55|[78]99))\\\\d{7,8}|15(?:(?:[03-68]00|113)\\\\d|2\\\\d55|7\\\\d99|9\\\\d33)\\\\d{7}\",\n,,,\"177991234567\",,,[12,13]]],DJ:[,[,,\"(?:2\\\\d|77)\\\\d{6}\",,,,,,,[8]],[,,\"2(?:1[2-5]|7[45])\\\\d{5}\",,,,\"21360003\"],[,,\"77\\\\d{6}\",,,,\"77831001\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"DJ\",253,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[27]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DK:[,[,,\"[2-9]\\\\d{7}\",,,,,,,[8]],[,,\"(?:[2-7]\\\\d|8[126-9]|9[1-46-9])\\\\d{6}\",,,,\"32123456\"],[,,\"(?:[2-7]\\\\d|8[126-9]|9[1-46-9])\\\\d{6}\",\n,,,\"32123456\"],[,,\"80\\\\d{6}\",,,,\"80123456\"],[,,\"90\\\\d{6}\",,,,\"90123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"DK\",45,\"00\",,,,,,,1,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DM:[,[,,\"(?:[58]\\\\d\\\\d|767|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"767(?:2(?:55|66)|4(?:2[01]|4[0-25-9])|50[0-4])\\\\d{4}\",,,,\"7674201234\",,,,[7]],[,,\"767(?:2(?:[2-4689]5|7[5-7])|31[5-7]|61[1-8]|70[1-6])\\\\d{4}\",,,,\"7672251234\",,,,[7]],\n[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"DM\",1,\"011\",\"1\",,,\"([2-7]\\\\d{6})$|1\",\"767$1\",,,,,[,,,,,,,,,[-1]],,\"767\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],\nDO:[,[,,\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"8(?:[04]9[2-9]\\\\d\\\\d|29(?:2(?:[0-59]\\\\d|6[04-9]|7[0-27]|8[0237-9])|3(?:[0-35-9]\\\\d|4[7-9])|[45]\\\\d\\\\d|6(?:[0-27-9]\\\\d|[3-5][1-9]|6[0135-8])|7(?:0[013-9]|[1-37]\\\\d|4[1-35689]|5[1-4689]|6[1-57-9]|8[1-79]|9[1-8])|8(?:0[146-9]|1[0-48]|[248]\\\\d|3[1-79]|5[01589]|6[013-68]|7[124-8]|9[0-8])|9(?:[0-24]\\\\d|3[02-46-9]|5[0-79]|60|7[0169]|8[57-9]|9[02-9])))\\\\d{4}\",,,,\"8092345678\",,,,[7]],[,,\"8[024]9[2-9]\\\\d{6}\",,,,\"8092345678\",,,,[7]],[,,\"8(?:00(?:14|[2-9]\\\\d)|(?:33|44|55|66|77|88)[2-9]\\\\d)\\\\d{5}\",\n,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"DO\",1,\"011\",\"1\",,,\"1\",,,,,,[,,,,,,,,,[-1]],,\"8001|8[024]9\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],DZ:[,[,,\"(?:[1-4]|[5-79]\\\\d|80)\\\\d{7}\",,,,,,,[8,9]],\n[,,\"9619\\\\d{5}|(?:1\\\\d|2[013-79]|3[0-8]|4[013-689])\\\\d{6}\",,,,\"12345678\"],[,,\"(?:5(?:4[0-29]|5\\\\d|6[0-2])|6(?:[569]\\\\d|7[0-6])|7[7-9]\\\\d)\\\\d{6}\",,,,\"551234567\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\"80[3-689]1\\\\d{5}\",,,,\"808123456\",,,[9]],[,,\"80[12]1\\\\d{5}\",,,,\"801123456\",,,[9]],[,,,,,,,,,[-1]],[,,\"98[23]\\\\d{6}\",,,,\"983123456\",,,[9]],\"DZ\",213,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[1-4]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"9\"],\"0$1\"],\n[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-8]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EC:[,[,,\"1\\\\d{9,10}|(?:[2-7]|9\\\\d)\\\\d{7}\",,,,,,,[8,9,10,11],[7]],[,,\"[2-7][2-7]\\\\d{6}\",,,,\"22123456\",,,[8],[7]],[,,\"964[0-2]\\\\d{5}|9(?:39|[57][89]|6[0-36-9]|[89]\\\\d)\\\\d{6}\",,,,\"991234567\",,,[9]],[,,\"1800\\\\d{7}|1[78]00\\\\d{6}\",,,,\"18001234567\",,,[10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"[2-7]890\\\\d{4}\",,,,\"28901234\",,,[8]],\"EC\",593,\"00\",\"0\",,,\n\"0\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-7]\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2-$3\",[\"[2-7]\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"1\"]]],[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[2-7]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"1\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EE:[,[,,\"8\\\\d{9}|[4578]\\\\d{7}|(?:[3-8]\\\\d|90)\\\\d{5}\",,,,,,,[7,8,10]],[,,\"(?:3[23589]|4[3-8]|6\\\\d|7[1-9]|88)\\\\d{5}\",\n,,,\"3212345\",,,[7]],[,,\"(?:5\\\\d{5}|8(?:1(?:0(?:000|[3-9]\\\\d\\\\d)|(?:1(?:0[236]|1\\\\d)|(?:2[0-59]|[3-79]\\\\d)\\\\d)\\\\d)|2(?:0(?:000|(?:19|[2-7]\\\\d)\\\\d)|(?:(?:[124-6]\\\\d|3[5-9])\\\\d|7(?:[3679]\\\\d|8[13-9])|8(?:[2-6]\\\\d|7[01]))\\\\d)|[349]\\\\d{4}))\\\\d\\\\d|5(?:(?:[02]\\\\d|5[0-478])\\\\d|1(?:[0-8]\\\\d|95)|6(?:4[0-4]|5[1-589]))\\\\d{3}\",,,,\"51234567\",,,[7,8]],[,,\"800(?:(?:0\\\\d\\\\d|1)\\\\d|[2-9])\\\\d{3}\",,,,\"80012345\"],[,,\"(?:40\\\\d\\\\d|900)\\\\d{4}\",,,,\"9001234\",,,[7,8]],[,,,,,,,,,[-1]],[,,\"70[0-2]\\\\d{5}\",,,,\"70012345\",,,[8]],\n[,,,,,,,,,[-1]],\"EE\",372,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88\",\"[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88\"]],[,\"(\\\\d{4})(\\\\d{3,4})\",\"$1 $2\",[\"[45]|8(?:00|[1-49])\",\"[45]|8(?:00[1-9]|[1-49])\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,\"800[2-9]\\\\d{3}\",,,,,,,[7]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EG:[,[,,\"[189]\\\\d{8,9}|[24-6]\\\\d{8}|[135]\\\\d{7}\",\n,,,,,,[8,9,10],[6,7]],[,,\"13[23]\\\\d{6}|(?:15|57)\\\\d{6,7}|(?:2[2-4]|3|4[05-8]|5[05]|6[24-689]|8[2468]|9[235-7])\\\\d{7}\",,,,\"234567890\",,,[8,9],[6,7]],[,,\"1[0-25]\\\\d{8}\",,,,\"1001234567\",,,[10]],[,,\"800\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,\"900\\\\d{7}\",,,,\"9001234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"EG\",20,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{7,8})\",\"$1 $2\",[\"[23]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{6,7})\",\"$1 $2\",[\"1[35]|[4-6]|8[2468]|9[235-7]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[189]\"],\n\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],EH:[,[,,\"[5-8]\\\\d{8}\",,,,,,,[9]],[,,\"528[89]\\\\d{5}\",,,,\"528812345\"],[,,\"(?:6(?:[0-79]\\\\d|8[0-247-9])|7(?:[017]\\\\d|2[0-2]|6[0-8]|8[0-3]))\\\\d{6}\",,,,\"650123456\"],[,,\"80\\\\d{7}\",,,,\"801234567\"],[,,\"89\\\\d{7}\",,,,\"891234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"592(?:4[0-2]|93)\\\\d{4}\",,,,\"592401234\"],\"EH\",212,\"00\",\"0\",,,\"0\",,,,,,[,,,,,,,,,[-1]],,\"528[89]\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ER:[,[,,\"[178]\\\\d{6}\",\n,,,,,,[7],[6]],[,,\"(?:1(?:1[12568]|[24]0|55|6[146])|8\\\\d\\\\d)\\\\d{4}\",,,,\"8370362\",,,,[6]],[,,\"(?:17[1-3]|7\\\\d\\\\d)\\\\d{4}\",,,,\"7123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"ER\",291,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[178]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ES:[,[,,\"[5-9]\\\\d{8}\",,,,,,,[9]],[,,\"96906(?:0[0-8]|1[1-9]|[2-9]\\\\d)\\\\d\\\\d|9(?:69(?:0[0-57-9]|[1-9]\\\\d)|73(?:[0-8]\\\\d|9[1-9]))\\\\d{4}|(?:8(?:[1356]\\\\d|[28][0-8]|[47][1-9])|9(?:[135]\\\\d|[268][0-8]|4[1-9]|7[124-9]))\\\\d{6}\",\n,,,\"810123456\"],[,,\"(?:590[16]00\\\\d|9(?:6906(?:09|10)|7390\\\\d\\\\d))\\\\d\\\\d|(?:6\\\\d|7[1-48])\\\\d{7}\",,,,\"612345678\"],[,,\"[89]00\\\\d{6}\",,,,\"800123456\"],[,,\"80[367]\\\\d{6}\",,,,\"803123456\"],[,,\"90[12]\\\\d{6}\",,,,\"901123456\"],[,,\"70\\\\d{7}\",,,,\"701234567\"],[,,,,,,,,,[-1]],\"ES\",34,\"00\",,,,,,,,[[,\"(\\\\d{4})\",\"$1\",[\"905\"]],[,\"(\\\\d{6})\",\"$1\",[\"[79]9\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]00\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-9]\"]]],[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[89]00\"]],\n[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-9]\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"51\\\\d{7}\",,,,\"511234567\"],,,[,,,,,,,,,[-1]]],ET:[,[,,\"(?:11|[2-579]\\\\d)\\\\d{7}\",,,,,,,[9],[7]],[,,\"11667[01]\\\\d{3}|(?:11(?:1(?:1[124]|2[2-7]|3[1-5]|5[5-8]|8[6-8])|2(?:13|3[6-8]|5[89]|7[05-9]|8[2-6])|3(?:2[01]|3[0-289]|4[1289]|7[1-4]|87)|4(?:1[69]|3[2-49]|4[0-3]|6[5-8])|5(?:1[578]|44|5[0-4])|6(?:1[578]|2[69]|39|4[5-7]|5[0-5]|6[0-59]|8[015-8]))|2(?:2(?:11[1-9]|22[0-7]|33\\\\d|44[1467]|66[1-68])|5(?:11[124-6]|33[2-8]|44[1467]|55[14]|66[1-3679]|77[124-79]|880))|3(?:3(?:11[0-46-8]|(?:22|55)[0-6]|33[0134689]|44[04]|66[01467])|4(?:44[0-8]|55[0-69]|66[0-3]|77[1-5]))|4(?:6(?:119|22[0-24-7]|33[1-5]|44[13-69]|55[14-689]|660|88[1-4])|7(?:(?:11|22)[1-9]|33[13-7]|44[13-6]|55[1-689]))|5(?:7(?:227|55[05]|(?:66|77)[14-8])|8(?:11[149]|22[013-79]|33[0-68]|44[013-8]|550|66[1-5]|77\\\\d)))\\\\d{4}\",\n,,,\"111112345\",,,,[7]],[,,\"7001\\\\d{5}|(?:7(?:0[1-9]|1[01]|77|86|99)|9\\\\d\\\\d)\\\\d{6}\",,,,\"911234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"ET\",251,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-579]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FI:[,[,,\"[1-35689]\\\\d{4}|7\\\\d{10,11}|(?:[124-7]\\\\d|3[0-46-9])\\\\d{8}|[1-9]\\\\d{5,8}\",,,,,,,[5,6,7,8,9,10,11,12]],[,,\"(?:1[3-79][1-8]|[235689][1-8]\\\\d)\\\\d{2,6}\",,,,\"131234567\",\n,,[5,6,7,8,9]],[,,\"4946\\\\d{2,6}|(?:4[0-8]|50)\\\\d{4,8}\",,,,\"412345678\",,,[6,7,8,9,10]],[,,\"800\\\\d{4,6}\",,,,\"800123456\",,,[7,8,9]],[,,\"[67]00\\\\d{5,6}\",,,,\"600123456\",,,[8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"FI\",358,\"00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))\",\"0\",,,\"0\",,\"00\",,[[,\"(\\\\d{5})\",\"$1\",[\"75[12]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4,9})\",\"$1 $2\",[\"[2568][1-8]|3(?:0[1-9]|[1-9])|9\"],\"0$1\"],[,\"(\\\\d{6})\",\"$1\",[\"11\"]],[,\"(\\\\d{3})(\\\\d{3,7})\",\"$1 $2\",[\"[12]00|[368]|70[07-9]\"],\"0$1\"],[,\n\"(\\\\d{2})(\\\\d{4,8})\",\"$1 $2\",[\"[1245]|7[135]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{6,10})\",\"$1 $2\",[\"7\"],\"0$1\"]],[[,\"(\\\\d)(\\\\d{4,9})\",\"$1 $2\",[\"[2568][1-8]|3(?:0[1-9]|[1-9])|9\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3,7})\",\"$1 $2\",[\"[12]00|[368]|70[07-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4,8})\",\"$1 $2\",[\"[1245]|7[135]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{6,10})\",\"$1 $2\",[\"7\"],\"0$1\"]],[,,,,,,,,,[-1]],1,\"1[03-79]|[2-9]\",[,,\"20(?:2[023]|9[89])\\\\d{1,6}|(?:60[12]\\\\d|7099)\\\\d{4,5}|(?:606|7(?:0[78]|1|3\\\\d))\\\\d{7}|(?:[1-3]00|7(?:0[1-5]\\\\d\\\\d|5[03-9]))\\\\d{3,7}\"],\n[,,\"20\\\\d{4,8}|60[12]\\\\d{5,6}|7(?:099\\\\d{4,5}|5[03-9]\\\\d{3,7})|20[2-59]\\\\d\\\\d|(?:606|7(?:0[78]|1|3\\\\d))\\\\d{7}|(?:10|29|3[09]|70[1-5]\\\\d)\\\\d{4,8}\",,,,\"10112345\"],,,[,,,,,,,,,[-1]]],FJ:[,[,,\"45\\\\d{5}|(?:0800\\\\d|[235-9])\\\\d{6}\",,,,,,,[7,11]],[,,\"603\\\\d{4}|(?:3[0-5]|6[25-7]|8[58])\\\\d{5}\",,,,\"3212345\",,,[7]],[,,\"(?:[279]\\\\d|45|5[01568]|8[034679])\\\\d{5}\",,,,\"7012345\",,,[7]],[,,\"0800\\\\d{7}\",,,,\"08001234567\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"FJ\",679,\"0(?:0|52)\",,,,,\n,\"00\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[235-9]|45\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FK:[,[,,\"[2-7]\\\\d{4}\",,,,,,,[5]],[,,\"[2-47]\\\\d{4}\",,,,\"31234\"],[,,\"[56]\\\\d{4}\",,,,\"51234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"FK\",500,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FM:[,[,,\"(?:[39]\\\\d\\\\d|820)\\\\d{4}\",,,,,,,[7]],[,,\"31(?:00[67]|208|309)\\\\d\\\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-6]\\\\d)\\\\d)\\\\d{3}\",\n,,,\"3201234\"],[,,\"31(?:00[67]|208|309)\\\\d\\\\d|(?:3(?:[2357]0[1-9]|602|804|905)|(?:820|9[2-7]\\\\d)\\\\d)\\\\d{3}\",,,,\"3501234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"FM\",691,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[389]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FO:[,[,,\"[2-9]\\\\d{5}\",,,,,,,[6]],[,,\"(?:20|[34]\\\\d|8[19])\\\\d{4}\",,,,\"201234\"],[,,\"(?:[27][1-9]|5\\\\d|9[16])\\\\d{4}\",,,,\"211234\"],[,,\"80[257-9]\\\\d{3}\",,,,\"802123\"],[,,\"90(?:[13-5][15-7]|2[125-7]|9\\\\d)\\\\d\\\\d\",\n,,,\"901123\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:6[0-36]|88)\\\\d{4}\",,,,\"601234\"],\"FO\",298,\"00\",,,,\"(10(?:01|[12]0|88))\",,,,[[,\"(\\\\d{6})\",\"$1\",[\"[2-9]\"],,\"$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],FR:[,[,,\"[1-9]\\\\d{8}\",,,,,,,[9]],[,,\"(?:[1-35]\\\\d|4[1-9])\\\\d{7}\",,,,\"123456789\"],[,,\"(?:6(?:[0-24-8]\\\\d|3[0-8]|9[589])|7[3-9]\\\\d)\\\\d{6}\",,,,\"612345678\"],[,,\"80[0-5]\\\\d{6}\",,,,\"801234567\"],[,,\"836(?:0[0-36-9]|[1-9]\\\\d)\\\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\\\d|8[0-35-9])\\\\d{6}\",\n,,,\"891123456\"],[,,\"8(?:1[01]|2[0156]|4[02]|84)\\\\d{6}\",,,,\"884012345\"],[,,,,,,,,,[-1]],[,,\"9\\\\d{8}\",,,,\"912345678\"],\"FR\",33,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})\",\"$1\",[\"10\"]],[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0 $1\"],[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[1-79]\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0 $1\"],[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[1-79]\"],\"0$1\"]],[,,,,,,,,\n,[-1]],,,[,,,,,,,,,[-1]],[,,\"80[6-9]\\\\d{6}\",,,,\"806123456\"],,,[,,,,,,,,,[-1]]],GA:[,[,,\"(?:[067]\\\\d|11)\\\\d{6}|[2-7]\\\\d{6}\",,,,,,,[7,8]],[,,\"[01]1\\\\d{6}\",,,,\"01441234\",,,[8]],[,,\"(?:(?:0[2-7]|7[467])\\\\d|6(?:0[0-4]|10|[256]\\\\d))\\\\d{5}|[2-7]\\\\d{6}\",,,,\"06031234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GA\",241,\"00\",,,,\"0(11\\\\d{6}|60\\\\d{6}|61\\\\d{6}|6[256]\\\\d{6}|7[467]\\\\d{6})\",\"$1\",,,[[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2-7]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"0\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"11|[67]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GB:[,[,,\"[1-357-9]\\\\d{9}|[18]\\\\d{8}|8\\\\d{6}\",,,,,,,[7,9,10],[4,5,6,8]],[,,\"(?:1(?:1(?:3(?:[0-58]\\\\d\\\\d|73[0235])|4(?:[0-5]\\\\d\\\\d|69[7-9]|70[0-579])|(?:(?:5[0-26-9]|[78][0-49])\\\\d|6(?:[0-4]\\\\d|50))\\\\d)|2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\\\d)\\\\d\\\\d|1(?:[0-7]\\\\d\\\\d|8(?:[02]\\\\d|1[0-246-9])))|(?:3(?:0\\\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\\\d\\\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\\\d{3})\\\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\\\d)|76\\\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\\\d|7[4-79])|295[5-7]|35[34]\\\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\\\d{3}\",\n,,,\"1212345678\",,,[9,10],[4,5,6,7,8]],[,,\"7(?:457[0-57-9]|700[01]|911[028])\\\\d{5}|7(?:[1-3]\\\\d\\\\d|4(?:[0-46-9]\\\\d|5[0-689])|5(?:0[0-8]|[13-9]\\\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\\\d|8[02-9]|9[0-689])|8(?:[014-9]\\\\d|[23][0-8])|9(?:[024-9]\\\\d|1[02-9]|3[0-689]))\\\\d{6}\",,,,\"7400123456\",,,[10]],[,,\"80[08]\\\\d{7}|800\\\\d{6}|8001111\",,,,\"8001234567\"],[,,\"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\\\d|8[2-49]))\\\\d{7}|845464\\\\d\",,,,\"9012345678\",,,[7,10]],[,,,,,,,,,[-1]],[,,\"70\\\\d{8}\",,,,\"7012345678\",,,[10]],[,,\"56\\\\d{8}\",,,,\"5612345678\",\n,,[10]],\"GB\",44,\"00\",\"0\",\" x\",,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"800\",\"8001\",\"80011\",\"800111\",\"8001111\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"845\",\"8454\",\"84546\",\"845464\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"800\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{4,5})\",\"$1 $2\",[\"1(?:38|5[23]|69|76|94)\",\"1(?:(?:38|69)7|5(?:24|39)|768|946)\",\"1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{5,6})\",\"$1 $2\",[\"1(?:[2-69][02-9]|[78])\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[25]|7(?:0|6[02-9])\",\n\"[25]|7(?:0|6(?:[03-9]|2[356]))\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"7\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1389]\"],\"0$1\"]],,[,,\"76(?:464|652)\\\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\\\d{6}\",,,,\"7640123456\",,,[10]],1,,[,,,,,,,,,[-1]],[,,\"(?:3[0347]|55)\\\\d{8}\",,,,\"5512345678\",,,[10]],,,[,,,,,,,,,[-1]]],GD:[,[,,\"(?:473|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"473(?:2(?:3[0-2]|69)|3(?:2[89]|86)|4(?:[06]8|3[5-9]|4[0-49]|5[5-79]|73|90)|63[68]|7(?:58|84)|800|938)\\\\d{4}\",\n,,,\"4732691234\",,,,[7]],[,,\"473(?:4(?:0[2-79]|1[04-9]|2[0-5]|58)|5(?:2[01]|3[3-8])|901)\\\\d{4}\",,,,\"4734031234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\n\"GD\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"473$1\",,,,,[,,,,,,,,,[-1]],,\"473\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GE:[,[,,\"(?:[3-57]\\\\d\\\\d|800)\\\\d{6}\",,,,,,,[9],[6,7]],[,,\"(?:3(?:[256]\\\\d|4[124-9]|7[0-4])|4(?:1\\\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\\\d{6}\",,,,\"322123456\",,,,[6,7]],[,,\"5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\\\d|22252[0-4])\\\\d\\\\d|5(?:00(?:0\\\\d|5[05])|11(?:00|[124]\\\\d|3[01])|(?:520|909)0|75(?:00|[57]5)|8(?:0(?:[01]\\\\d|2[0-4])|58[89]|8(?:55|88)))\\\\d{4}|(?:5(?:[14]4|5[0157-9]|68|7[0147-9]|9[1-35-9])|790)\\\\d{6}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\\\d{3}\",\n,,,\"555123456\"],[,,\"800\\\\d{6}\",,,,\"800123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"70[67]\\\\d{6}\",,,,\"706123456\"],\"GE\",995,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"70\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"32\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[57]\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[348]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,\"70[67]\\\\d{6}\"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GF:[,[,,\"(?:[56]94|80\\\\d|976)\\\\d{6}\",\n,,,,,,[9]],[,,\"594(?:[0239]\\\\d|1[0-2]|4[03-9]|5[6-9]|6[0-3]|80)\\\\d{4}\",,,,\"594101234\"],[,,\"694(?:[0-249]\\\\d|3[0-8])\\\\d{4}\",,,,\"694201234\"],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"976\\\\d{6}\",,,,\"976012345\"],\"GF\",594,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[569]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GG:[,[,,\"(?:1481|[357-9]\\\\d{3})\\\\d{6}|8\\\\d{6}(?:\\\\d{2})?\",\n,,,,,,[7,9,10],[6]],[,,\"1481[25-9]\\\\d{5}\",,,,\"1481256789\",,,[10],[6]],[,,\"7(?:(?:781|839)\\\\d|911[17])\\\\d{5}\",,,,\"7781123456\",,,[10]],[,,\"80[08]\\\\d{7}|800\\\\d{6}|8001111\",,,,\"8001234567\"],[,,\"(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\\\d|8[0-3]))\\\\d{7}|845464\\\\d\",,,,\"9012345678\",,,[7,10]],[,,,,,,,,,[-1]],[,,\"70\\\\d{8}\",,,,\"7012345678\",,,[10]],[,,\"56\\\\d{8}\",,,,\"5612345678\",,,[10]],\"GG\",44,\"00\",\"0\",,,\"([25-9]\\\\d{5})$|0\",\"1481$1\",,,,,[,,\"76(?:464|652)\\\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\\\d{6}\",\n,,,\"7640123456\",,,[10]],,,[,,,,,,,,,[-1]],[,,\"(?:3[0347]|55)\\\\d{8}\",,,,\"5512345678\",,,[10]],,,[,,,,,,,,,[-1]]],GH:[,[,,\"(?:[235]\\\\d{3}|800)\\\\d{5}\",,,,,,,[8,9],[7]],[,,\"3082[0-5]\\\\d{4}|3(?:0(?:[237]\\\\d|8[01])|[167](?:2[0-6]|7\\\\d|80)|2(?:2[0-5]|7\\\\d|80)|3(?:2[0-3]|7\\\\d|80)|4(?:2[013-9]|3[01]|7\\\\d|80)|5(?:2[0-7]|7\\\\d|80)|8(?:2[0-2]|7\\\\d|80)|9(?:[28]0|7\\\\d))\\\\d{5}\",,,,\"302345678\",,,[9],[7]],[,,\"(?:2(?:[0346-9]\\\\d|5[67])|5(?:[03-7]\\\\d|9[1-9]))\\\\d{6}\",,,,\"231234567\",,,[9]],[,,\"800\\\\d{5}\",,,,\"80012345\",\n,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GH\",233,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[237]|8[0-2]\"]],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"8\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[235]\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"8\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[235]\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,\"800\\\\d{5}\",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GI:[,[,,\"(?:[25]\\\\d\\\\d|606)\\\\d{5}\",,,,,,,[8]],[,,\"2190[0-2]\\\\d{3}|2(?:0(?:0\\\\d|20)|16[24-9]|2[2-5]\\\\d)\\\\d{4}\",\n,,,\"20012345\"],[,,\"525(?:0\\\\d|1[0-4])\\\\d{3}|(?:5[146-8]\\\\d|606)\\\\d{5}\",,,,\"57123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GI\",350,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"2\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GL:[,[,,\"(?:19|[2-689]\\\\d|70)\\\\d{4}\",,,,,,,[6]],[,,\"(?:19|3[1-7]|6[14689]|70|8[14-79]|9\\\\d)\\\\d{4}\",,,,\"321000\"],[,,\"[245]\\\\d{5}\",,,,\"221234\"],[,,\"80\\\\d{4}\",,,,\"801234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,\n,,,,,[-1]],[,,\"3[89]\\\\d{4}\",,,,\"381234\"],\"GL\",299,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"19|[2-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GM:[,[,,\"[2-9]\\\\d{6}\",,,,,,,[7]],[,,\"(?:4(?:[23]\\\\d\\\\d|4(?:1[024679]|[6-9]\\\\d))|5(?:5(?:3\\\\d|4[0-7])|6[67]\\\\d|7(?:1[04]|2[035]|3[58]|48))|8\\\\d{3})\\\\d{3}\",,,,\"5661234\"],[,,\"(?:[23679]\\\\d|5[0-389])\\\\d{5}\",,,,\"3012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GM\",220,\"00\",,,\n,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GN:[,[,,\"722\\\\d{6}|(?:3|6\\\\d)\\\\d{7}\",,,,,,,[8,9]],[,,\"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\\\d\\\\d)\\\\d{4}\",,,,\"30241234\",,,[8]],[,,\"6[0-356]\\\\d{7}\",,,,\"601123456\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"722\\\\d{6}\",,,,\"722123456\",,,[9]],\"GN\",224,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"3\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"[67]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GP:[,[,,\"(?:590|(?:69|80)\\\\d|976)\\\\d{6}\",,,,,,,[9]],[,,\"590(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1289]|5[3-579]|6[0-489]|7[08]|8[0-689]|9\\\\d)\\\\d{4}\",,,,\"590201234\"],[,,\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}\",,,,\"690001234\"],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"976[01]\\\\d{5}\",,,,\"976012345\"],\"GP\",590,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",\n[\"[569]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GQ:[,[,,\"222\\\\d{6}|(?:3\\\\d|55|[89]0)\\\\d{7}\",,,,,,,[9]],[,,\"33[0-24-9]\\\\d[46]\\\\d{4}|3(?:33|5\\\\d)\\\\d[7-9]\\\\d{4}\",,,,\"333091234\"],[,,\"(?:222|55\\\\d)\\\\d{6}\",,,,\"222123456\"],[,,\"80\\\\d[1-9]\\\\d{5}\",,,,\"800123456\"],[,,\"90\\\\d[1-9]\\\\d{5}\",,,,\"900123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GQ\",240,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",\n[\"[235]\"]],[,\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[89]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GR:[,[,,\"5005000\\\\d{3}|8\\\\d{9,11}|(?:[269]\\\\d|70)\\\\d{8}\",,,,,,,[10,11,12]],[,,\"2(?:1\\\\d\\\\d|2(?:2[1-46-9]|[36][1-8]|4[1-7]|5[1-4]|7[1-5]|[89][1-9])|3(?:1\\\\d|2[1-57]|[35][1-3]|4[13]|7[1-7]|8[124-6]|9[1-79])|4(?:1\\\\d|2[1-8]|3[1-4]|4[13-5]|6[1-578]|9[1-5])|5(?:1\\\\d|[29][1-4]|3[1-5]|4[124]|5[1-6])|6(?:1\\\\d|[269][1-6]|3[1245]|4[1-7]|5[13-9]|7[14]|8[1-5])|7(?:1\\\\d|2[1-5]|3[1-6]|4[1-7]|5[1-57]|6[135]|9[125-7])|8(?:1\\\\d|2[1-5]|[34][1-4]|9[1-57]))\\\\d{6}\",\n,,,\"2123456789\",,,[10]],[,,\"68[57-9]\\\\d{7}|(?:69|94)\\\\d{8}\",,,,\"6912345678\",,,[10]],[,,\"800\\\\d{7,9}\",,,,\"8001234567\"],[,,\"90[19]\\\\d{7}\",,,,\"9091234567\",,,[10]],[,,\"8(?:0[16]|12|[27]5|50)\\\\d{7}\",,,,\"8011234567\",,,[10]],[,,\"70\\\\d{8}\",,,,\"7012345678\",,,[10]],[,,,,,,,,,[-1]],\"GR\",30,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"21|7\"]],[,\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2689]\"]],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{5})\",\n\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"5005000\\\\d{3}\",,,,\"5005000123\",,,[10]],,,[,,,,,,,,,[-1]]],GT:[,[,,\"(?:1\\\\d{3}|[2-7])\\\\d{7}\",,,,,,,[8,11]],[,,\"[267][2-9]\\\\d{6}\",,,,\"22456789\",,,[8]],[,,\"[3-5]\\\\d{7}\",,,,\"51234567\",,,[8]],[,,\"18[01]\\\\d{8}\",,,,\"18001112222\",,,[11]],[,,\"19\\\\d{9}\",,,,\"19001112222\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GT\",502,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-7]\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]]],,[,,,,,,,,,[-1]],\n,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GU:[,[,,\"(?:[58]\\\\d\\\\d|671|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\\\d{4}\",,,,\"6713001234\",,,,[7]],[,,\"671(?:3(?:00|3[39]|4[349]|55|6[26])|4(?:00|56|7[1-9]|8[02-46-9])|5(?:55|6[2-5]|88)|6(?:3[2-578]|4[24-9]|5[34]|78|8[235-9])|7(?:[0479]7|2[0167]|3[45]|8[7-9])|8(?:[2-57-9]8|6[48])|9(?:2[29]|6[79]|7[1279]|8[7-9]|9[78]))\\\\d{4}\",\n,,,\"6713001234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"GU\",1,\"011\",\"1\",,,\"([3-9]\\\\d{6})$|1\",\"671$1\",,1,,,[,,,,,,,,,[-1]],,\"671\",[,,,,,,,,,[-1]],[,,,,\n,,,,,[-1]],,,[,,,,,,,,,[-1]]],GW:[,[,,\"[49]\\\\d{8}|4\\\\d{6}\",,,,,,,[7,9]],[,,\"443\\\\d{6}\",,,,\"443201234\",,,[9]],[,,\"9(?:5\\\\d|6[569]|77)\\\\d{6}\",,,,\"955012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"40\\\\d{5}\",,,,\"4012345\",,,[7]],\"GW\",245,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"40\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[49]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],GY:[,[,,\"9008\\\\d{3}|(?:[2-467]\\\\d\\\\d|862)\\\\d{4}\",,,,,,,[7]],[,\n,\"(?:2(?:1[6-9]|2[0-35-9]|3[1-4]|5[3-9]|6\\\\d|7[0-24-79])|3(?:2[25-9]|3\\\\d)|4(?:4[0-24]|5[56])|77[1-57])\\\\d{4}\",,,,\"2201234\"],[,,\"(?:6\\\\d\\\\d|70[0-35-7])\\\\d{4}\",,,,\"6091234\"],[,,\"(?:289|862)\\\\d{4}\",,,,\"2891234\"],[,,\"9008\\\\d{3}\",,,,\"9008123\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"GY\",592,\"001\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-46-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HK:[,[,,\"8[0-46-9]\\\\d{6,7}|9\\\\d{4,7}|(?:[2-7]|9\\\\d{3})\\\\d{7}\",,,,,,,[5,6,7,8,\n9,11]],[,,\"(?:2(?:[13-9]\\\\d|2[013-9])\\\\d|3(?:(?:[1569][0-24-9]|4[0-246-9]|7[0-24-69])\\\\d|8(?:[45][0-8]|6[01]|9\\\\d))|58(?:0[1-8]|1[2-9]))\\\\d{4}\",,,,\"21234567\",,,[8]],[,,\"(?:4(?:44[5-9]|6(?:0[0-7]|1[0-6]|4[0-57-9]|6[0-4]|7[0-8]))|573[0-6]|6(?:26[013-8]|66[0-3])|70(?:7[1-5]|8[0-4])|848[015-9]|9(?:29[013-9]|59[0-4]))\\\\d{4}|(?:4(?:4[01]|6[2358])|5(?:[1-59][0-46-9]|6[0-4689]|7[0-246-9])|6(?:0[1-9]|[13-59]\\\\d|[268][0-57-9]|7[0-79])|84[09]|9(?:0[1-9]|1[02-9]|[2358][0-8]|[467]\\\\d))\\\\d{5}\",,,,\"51234567\",,,\n[8]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\"900(?:[0-24-9]\\\\d{7}|3\\\\d{1,4})\",,,,\"90012345678\",,,[5,6,7,8,11]],[,,,,,,,,,[-1]],[,,\"8(?:1[0-4679]\\\\d|2(?:[0-36]\\\\d|7[0-4])|3(?:[034]\\\\d|2[09]|70))\\\\d{4}\",,,,\"81123456\",,,[8]],[,,,,,,,,,[-1]],\"HK\",852,\"00(?:30|5[09]|[126-9]?)\",,,,,,\"00\",,[[,\"(\\\\d{3})(\\\\d{2,5})\",\"$1 $2\",[\"900\",\"9003\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2-7]|8[1-4]|9(?:0[1-9]|[1-8])\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]]],\n,[,,\"7(?:1(?:0[0-38]|1[0-3679]|3[013]|69|9[0136])|2(?:[02389]\\\\d|1[18]|7[27-9])|3(?:[0-38]\\\\d|7[0-369]|9[2357-9])|47\\\\d|5(?:[178]\\\\d|5[0-5])|6(?:0[0-7]|2[236-9]|[35]\\\\d)|7(?:[27]\\\\d|8[7-9])|8(?:[23689]\\\\d|7[1-9])|9(?:[025]\\\\d|6[0-246-8]|7[0-36-9]|8[238]))\\\\d{4}\",,,,\"71123456\",,,[8]],,,[,,,,,,,,,[-1]],[,,\"30(?:0[1-9]|[15-7]\\\\d|2[047]|89)\\\\d{4}\",,,,\"30161234\",,,[8]],,,[,,,,,,,,,[-1]]],HN:[,[,,\"8\\\\d{10}|[237-9]\\\\d{7}\",,,,,,,[8,11]],[,,\"2(?:2(?:0[0-59]|1[1-9]|[23]\\\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\\\d|6[014-69]|7[04]|80)|6(?:[056]\\\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\\\d{4}\",\n,,,\"22123456\",,,[8]],[,,\"[37-9]\\\\d{7}\",,,,\"91234567\",,,[8]],[,,\"8002\\\\d{7}\",,,,\"80021234567\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"HN\",504,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[237-9]\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],[[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[237-9]\"]]],[,,,,,,,,,[-1]],,,[,,\"8002\\\\d{7}\",,,,,,,[11]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HR:[,[,,\"(?:[24-69]\\\\d|3[0-79])\\\\d{7}|80\\\\d{5,7}|[1-79]\\\\d{7}|6\\\\d{5,6}\",,,,,,,[6,7,8,9]],[,,\"1\\\\d{7}|(?:2[0-3]|3[1-5]|4[02-47-9]|5[1-3])\\\\d{6,7}\",\n,,,\"12345678\",,,[8,9],[6,7]],[,,\"98\\\\d{6,7}|975(?:1\\\\d|77|9[67])\\\\d{4}|9(?:0[1-9]|[1259]\\\\d|7[0679])\\\\d{6}\",,,,\"921234567\",,,[8,9]],[,,\"80[01]\\\\d{4,6}\",,,,\"800123456\",,,[7,8,9]],[,,\"6[01459]\\\\d{6}|6[01]\\\\d{4,5}\",,,,\"611234\",,,[6,7,8]],[,,,,,,,,,[-1]],[,,\"7[45]\\\\d{6}\",,,,\"74123456\",,,[8]],[,,,,,,,,,[-1]],\"HR\",385,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"6[01]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\n\"$1 $2 $3\",[\"[67]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-5]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"62\\\\d{6,7}|72\\\\d{6}\",,,,\"62123456\",,,[8,9]],,,[,,,,,,,,,[-1]]],HT:[,[,,\"(?:[2-489]\\\\d|55)\\\\d{6}\",,,,,,,[8]],[,,\"2(?:2\\\\d|5[1-5]|81|9[149])\\\\d{5}\",,,,\"22453300\"],[,,\"(?:[34]\\\\d|55)\\\\d{6}\",,,,\"34101234\"],[,,\"8\\\\d{7}\",,,,\"80012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,\n,,,,,[-1]],[,,\"9(?:[67][0-4]|8[0-3589]|9\\\\d)\\\\d{5}\",,,,\"98901234\"],\"HT\",509,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-589]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],HU:[,[,,\"[235-7]\\\\d{8}|[1-9]\\\\d{7}\",,,,,,,[8,9],[6,7]],[,,\"(?:1\\\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\\\d{6}\",,,,\"12345678\",,,[8],[6,7]],[,,\"(?:[257]0|3[01])\\\\d{7}\",,,,\"201234567\",,,[9]],[,,\"(?:[48]0\\\\d|680[29])\\\\d{5}\",,,,\"80123456\"],[,,\"9[01]\\\\d{6}\",,,,\"90123456\",\n,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"21\\\\d{7}\",,,,\"211234567\",,,[9]],\"HU\",36,\"00\",\"06\",,,\"06\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"(06 $1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]\"],\"(06 $1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-9]\"],\"06 $1\"]],,[,,,,,,,,,[-1]],,,[,,\"(?:[48]0\\\\d|680[29])\\\\d{5}\"],[,,\"38\\\\d{7}\",,,,\"381234567\",,,[9]],,,[,,,,,,,,,[-1]]],ID:[,[,,\"(?:(?:00[1-9]|8\\\\d)\\\\d{4}|[1-36])\\\\d{6}|00\\\\d{10}|[1-9]\\\\d{8,10}|[2-9]\\\\d{7}\",\n,,,,,,[7,8,9,10,11,12,13],[5,6]],[,,\"2[124]\\\\d{7,8}|619\\\\d{8}|2(?:1(?:14|500)|2\\\\d{3})\\\\d{3}|61\\\\d{5,8}|(?:2(?:[35][1-4]|6[0-8]|7[1-6]|8\\\\d|9[1-8])|3(?:1|[25][1-8]|3[1-68]|4[1-3]|6[1-3568]|7[0-469]|8\\\\d)|4(?:0[1-589]|1[01347-9]|2[0-36-8]|3[0-24-68]|43|5[1-378]|6[1-5]|7[134]|8[1245])|5(?:1[1-35-9]|2[25-8]|3[124-9]|4[1-3589]|5[1-46]|6[1-8])|6(?:[25]\\\\d|3[1-69]|4[1-6])|7(?:02|[125][1-9]|[36]\\\\d|4[1-8]|7[0-36-9])|9(?:0[12]|1[013-8]|2[0-479]|5[125-8]|6[23679]|7[159]|8[01346]))\\\\d{5,8}\",,,,\"218350123\",\n,,[7,8,9,10,11],[5,6]],[,,\"8[1-35-9]\\\\d{7,10}\",,,,\"812345678\",,,[9,10,11,12]],[,,\"00[17]803\\\\d{7}|(?:177\\\\d|800)\\\\d{5,7}|001803\\\\d{6}\",,,,\"8001234567\",,,[8,9,10,11,12,13]],[,,\"809\\\\d{7}\",,,,\"8091234567\",,,[10]],[,,\"804\\\\d{7}\",,,,\"8041234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"ID\",62,\"00[89]\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"15\"]],[,\"(\\\\d{2})(\\\\d{5,9})\",\"$1 $2\",[\"2[124]|[36]1\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{5,7})\",\"$1 $2\",[\"800\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5,8})\",\"$1 $2\",[\"[2-79]\"],\n\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{3})\",\"$1-$2-$3\",[\"8[1-35-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6,8})\",\"$1 $2\",[\"1\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"804\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"80\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"001\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"0\"]]],[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"15\"]],[,\"(\\\\d{2})(\\\\d{5,9})\",\"$1 $2\",[\"2[124]|[36]1\"],\n\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{5,7})\",\"$1 $2\",[\"800\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5,8})\",\"$1 $2\",[\"[2-79]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{3})\",\"$1-$2-$3\",[\"8[1-35-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6,8})\",\"$1 $2\",[\"1\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"804\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"80\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1-$2-$3\",[\"8\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,\"001803\\\\d{6,7}|(?:007803\\\\d|8071)\\\\d{6}\",,,,,,,[10,12,13]],[,,\"(?:1500|8071\\\\d{3})\\\\d{3}\",,,,\n\"8071123456\",,,[7,10]],,,[,,,,,,,,,[-1]]],IE:[,[,,\"(?:1\\\\d|[2569])\\\\d{6,8}|4\\\\d{6,9}|7\\\\d{8}|8\\\\d{8,9}\",,,,,,,[7,8,9,10],[5,6]],[,,\"(?:1\\\\d|21)\\\\d{6,7}|(?:2[24-9]|4(?:0[24]|5\\\\d|7)|5(?:0[45]|1\\\\d|8)|6(?:1\\\\d|[237-9])|9(?:1\\\\d|[35-9]))\\\\d{5}|(?:23|4(?:[1-469]|8\\\\d)|5[23679]|6[4-6]|7[14]|9[04])\\\\d{7}\",,,,\"2212345\",,,,[5,6]],[,,\"8(?:22|[35-9]\\\\d)\\\\d{6}\",,,,\"850123456\",,,[9]],[,,\"1800\\\\d{6}\",,,,\"1800123456\",,,[10]],[,,\"15(?:1[2-8]|[2-8]0|9[089])\\\\d{6}\",,,,\"1520123456\",,,[10]],[,,\"18[59]0\\\\d{6}\",,,,\"1850123456\",\n,,[10]],[,,\"700\\\\d{6}\",,,,\"700123456\",,,[9]],[,,\"76\\\\d{7}\",,,,\"761234567\",,,[9]],\"IE\",353,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"2[24-9]|47|58|6[237-9]|9[35-9]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[45]0\"],\"(0$1)\"],[,\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2569]|4[1-69]|7[14]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"70\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"81\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",\n[\"[78]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"4\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,\"18[59]0\\\\d{6}\",,,,,,,[10]],[,,\"818\\\\d{6}\",,,,\"818123456\",,,[9]],,,[,,\"88210[1-9]\\\\d{4}|8(?:[35-79]5\\\\d\\\\d|8(?:[013-9]\\\\d\\\\d|2(?:[01][1-9]|[2-9]\\\\d)))\\\\d{5}\",,,,\"8551234567\",,,[10]]],IL:[,[,,\"1\\\\d{6}(?:\\\\d{3,5})?|[57]\\\\d{8}|[1-489]\\\\d{7}\",,,,,,,[7,8,9,10,11,12]],[,,\"153\\\\d{8,9}|29[1-9]\\\\d{5}|(?:2[0-8]|[3489]\\\\d)\\\\d{6}\",\n,,,\"21234567\",,,[8,11,12],[7]],[,,\"5(?:(?:[02368]\\\\d|[19][2-9]|4[1-9])\\\\d|5(?:01|1[79]|2[2-9]|3[0-3]|4[34]|5[015689]|6[6-8]|7[0-267]|8[7-9]|9[1-9]))\\\\d{5}\",,,,\"502345678\",,,[9]],[,,\"1(?:255|80[019]\\\\d{3})\\\\d{3}\",,,,\"1800123456\",,,[7,10]],[,,\"1212\\\\d{4}|1(?:200|9(?:0[0-2]|19))\\\\d{6}\",,,,\"1919123456\",,,[8,10]],[,,\"1700\\\\d{6}\",,,,\"1700123456\",,,[10]],[,,,,,,,,,[-1]],[,,\"7(?:380|8(?:33|55|77|81))\\\\d{5}|7(?:18|2[23]|3[237]|47|6[258]|7\\\\d|82|9[2-9])\\\\d{6}\",,,,\"771234567\",,,[9]],\"IL\",972,\"0(?:0|1[2-9])\",\n\"0\",,,\"0\",,,,[[,\"(\\\\d{4})(\\\\d{3})\",\"$1-$2\",[\"125\"]],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{2})\",\"$1-$2-$3\",[\"121\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[2-489]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[57]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3\",[\"12\"]],[,\"(\\\\d{4})(\\\\d{6})\",\"$1-$2\",[\"159\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3-$4\",[\"1[7-9]\"]],[,\"(\\\\d{3})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3-$4\",[\"15\"]]],,[,,,,,,,,,[-1]],,,[,,\"1700\\\\d{6}\",,,,,,,[10]],[,,\"1599\\\\d{6}\",,,,\"1599123456\",,\n,[10]],,,[,,\"151\\\\d{8,9}\",,,,\"15112340000\",,,[11,12]]],IM:[,[,,\"1624\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}\",,,,,,,[10],[6]],[,,\"1624(?:230|[5-8]\\\\d\\\\d)\\\\d{3}\",,,,\"1624756789\",,,,[6]],[,,\"76245[06]\\\\d{4}|7(?:4576|[59]24\\\\d|624[0-4689])\\\\d{5}\",,,,\"7924123456\"],[,,\"808162\\\\d{4}\",,,,\"8081624567\"],[,,\"8(?:440[49]06|72299\\\\d)\\\\d{3}|(?:8(?:45|70)|90[0167])624\\\\d{4}\",,,,\"9016247890\"],[,,,,,,,,,[-1]],[,,\"70\\\\d{8}\",,,,\"7012345678\"],[,,\"56\\\\d{8}\",,,,\"5612345678\"],\"IM\",44,\"00\",\"0\",,,\"([25-8]\\\\d{5})$|0\",\"1624$1\",,,,,[,\n,,,,,,,,[-1]],,\"74576|(?:16|7[56])24\",[,,,,,,,,,[-1]],[,,\"3440[49]06\\\\d{3}|(?:3(?:08162|3\\\\d{4}|45624|7(?:0624|2299))|55\\\\d{4})\\\\d{4}\",,,,\"5512345678\"],,,[,,,,,,,,,[-1]]],IN:[,[,,\"(?:000800|[2-9]\\\\d\\\\d)\\\\d{7}|1\\\\d{7,12}\",,,,,,,[8,9,10,11,12,13],[6,7]],[,,\"2717(?:[2-7]\\\\d|95)\\\\d{4}|(?:271[0-689]|782[0-6])[2-7]\\\\d{5}|(?:170[24]|2(?:(?:[02][2-79]|90)\\\\d|80[13468])|(?:3(?:23|80)|683|79[1-7])\\\\d|4(?:20[24]|72[2-8])|552[1-7])\\\\d{6}|(?:11|33|4[04]|80)[2-7]\\\\d{7}|(?:342|674|788)(?:[0189][2-7]|[2-7]\\\\d)\\\\d{5}|(?:1(?:2[0-249]|3[0-25]|4[145]|[59][14]|6[014]|7[1257]|8[01346])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568]|9[14])|3(?:26|4[13]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[014-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|2[14]|3[134]|4[47]|5[15]|[67]1)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91))[2-7]\\\\d{6}|(?:1(?:2[35-8]|3[346-9]|4[236-9]|[59][0235-9]|6[235-9]|7[34689]|8[257-9])|2(?:1[134689]|3[24-8]|4[2-8]|5[25689]|6[2-4679]|7[3-79]|8[2-479]|9[235-9])|3(?:01|1[79]|2[1245]|4[5-8]|5[125689]|6[235-7]|7[157-9]|8[2-46-8])|4(?:1[14578]|2[5689]|3[2-467]|5[4-7]|6[35]|73|8[2689]|9[2389])|5(?:[16][146-9]|2[14-8]|3[1346]|4[14-69]|5[46]|7[2-4]|8[2-8]|9[246])|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])|7(?:1[013-9]|2[0235-9]|3[2679]|4[1-35689]|5[2-46-9]|[67][02-9]|8[013-7]|9[089])|8(?:1[1357-9]|2[235-8]|3[03-57-9]|4[0-24-9]|5\\\\d|6[2457-9]|7[1-6]|8[1256]|9[2-4]))\\\\d[2-7]\\\\d{5}\",\n,,,\"7410410123\",,,[10],[6,7,8]],[,,\"(?:61279|7(?:887[02-9]|9(?:313|79[07-9]))|8(?:079[04-9]|(?:84|91)7[02-8]))\\\\d{5}|(?:6(?:12|[2-47]1|5[17]|6[13]|80)[0189]|7(?:1(?:2[0189]|9[0-5])|2(?:[14][017-9]|8[0-59])|3(?:2[5-8]|[34][017-9]|9[016-9])|4(?:1[015-9]|[29][89]|39|8[389])|5(?:[15][017-9]|2[04-9]|9[7-9])|6(?:0[0-47]|1[0-257-9]|2[0-4]|3[19]|5[4589])|70[0289]|88[089]|97[02-8])|8(?:0(?:6[67]|7[02-8])|70[017-9]|84[01489]|91[0-289]))\\\\d{6}|(?:7(?:31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[0189]\\\\d|7[02-8])\\\\d{5}|(?:6(?:[09]\\\\d|1[04679]|2[03689]|3[05-9]|4[0489]|50|6[069]|7[07]|8[7-9])|7(?:0\\\\d|2[0235-79]|3[05-8]|40|5[0346-8]|6[6-9]|7[1-9]|8[0-79]|9[089])|8(?:0[01589]|1[0-57-9]|2[235-9]|3[03-57-9]|[45]\\\\d|6[02457-9]|7[1-69]|8[0-25-9]|9[02-9])|9\\\\d\\\\d)\\\\d{7}|(?:6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|8[124-6])\\\\d|7(?:[235689]\\\\d|4[0189]))|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-5])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]|881))[0189]\\\\d{5}\",\n,,,\"8123456789\",,,[10]],[,,\"000800\\\\d{7}|1(?:600\\\\d{6}|80(?:0\\\\d{4,9}|3\\\\d{9}))\",,,,\"1800123456\"],[,,\"186[12]\\\\d{9}\",,,,\"1861123456789\",,,[13]],[,,\"1860\\\\d{7}\",,,,\"18603451234\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"IN\",91,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{7})\",\"$1\",[\"575\"]],[,\"(\\\\d{8})\",\"$1\",[\"5(?:0|2[23]|3[03]|[67]1|88)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)\"],,,1],[,\"(\\\\d{4})(\\\\d{4,5})\",\"$1 $2\",[\"180\",\"1800\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",\n[\"140\"],,,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"11|2[02]|33|4[04]|79[1-7]|80[2-46]\",\"11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])\",\"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]\",\n\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]\",\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]\"],\n\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807\",\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]\",\n\"1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\\\d|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]))[2-7]\"],\"0$1\",,1],[,\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"[6-9]\"],\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{2,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:6|8[06])\",\"1(?:6|8[06]0)\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\n\"$1 $2 $3 $4\",[\"0\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"18\"],,,1]],[[,\"(\\\\d{8})\",\"$1\",[\"5(?:0|2[23]|3[03]|[67]1|88)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)\",\"5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)\"],,,1],[,\"(\\\\d{4})(\\\\d{4,5})\",\"$1 $2\",[\"180\",\"1800\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"140\"],,,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"11|2[02]|33|4[04]|79[1-7]|80[2-46]\",\"11|2[02]|33|4[04]|79(?:[1-6]|7[19])|80(?:[2-4]|6[0-589])\",\"11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9])|7(?:1|9[1-6]))|80(?:[2-4]|6[0-589])\"],\n\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|4[47]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67|72)[14]\",\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:2[14]|3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31|4[47])|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]\",\n\"1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:(?:2[14]|5[15])[2-6]|3171|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|(?:74[47]|8(?:16|2[014]|3[126]|6[136]|7[78]|83))(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]\"],\n\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|28|3[129]|4[1-35689]|5[29]|6[02-5]|70)|807\",\"1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1(?:[013-8]|9[6-9])|28[6-8]|3(?:17|2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]\",\n\"1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|83)|73179|807(?:1|9[1-3])|(?:1552|6(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[124-6])\\\\d|7(?:1(?:[013-8]\\\\d|9[6-9])|28[6-8]|3(?:2[0-49]|9[2-57])|4(?:1[2-4]|[29][0-7]|3[0-8]|[56]\\\\d|8[0-24-7])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\\\d|5[0-367])|70[13-7]))[2-7]\"],\"0$1\",,1],[,\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"[6-9]\"],\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{2,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1(?:6|8[06])\",\"1(?:6|8[06]0)\"],,,1],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\n\"$1 $2 $3 $4\",[\"18\"],,,1]],[,,,,,,,,,[-1]],,,[,,\"1(?:600\\\\d{6}|800\\\\d{4,9})|(?:000800|18(?:03\\\\d\\\\d|6(?:0|[12]\\\\d\\\\d)))\\\\d{7}\"],[,,\"140\\\\d{7}\",,,,\"1409305260\",,,[10]],,,[,,,,,,,,,[-1]]],IO:[,[,,\"3\\\\d{6}\",,,,,,,[7]],[,,\"37\\\\d{5}\",,,,\"3709100\"],[,,\"38\\\\d{5}\",,,,\"3801234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"IO\",246,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"3\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IQ:[,[,,\"(?:1|7\\\\d\\\\d)\\\\d{7}|[2-6]\\\\d{7,8}\",\n,,,,,,[8,9,10],[6,7]],[,,\"1\\\\d{7}|(?:2[13-5]|3[02367]|4[023]|5[03]|6[026])\\\\d{6,7}\",,,,\"12345678\",,,[8,9],[6,7]],[,,\"7[3-9]\\\\d{8}\",,,,\"7912345678\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"IQ\",964,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-6]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],IR:[,\n[,,\"[1-9]\\\\d{9}|(?:[1-8]\\\\d\\\\d|9)\\\\d{3,4}\",,,,,,,[4,5,6,7,10],[8]],[,,\"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])(?:[03-57]\\\\d{7}|[16]\\\\d{3}(?:\\\\d{4})?|[289]\\\\d{3}(?:\\\\d(?:\\\\d{3})?)?)|94(?:000[09]|2(?:121|[2689]0\\\\d)|30[0-2]\\\\d|4(?:111|40\\\\d))\\\\d{4}\",,,,\"2123456789\",,,[6,7,10],[4,5,8]],[,,\"9(?:(?:0(?:[0-35]\\\\d|4[4-6])|(?:[13]\\\\d|2[0-3])\\\\d)\\\\d|9(?:[0-46]\\\\d\\\\d|5[15]0|8(?:1\\\\d|88)|9(?:0[0-3]|[19]\\\\d|21|77|8[7-9])))\\\\d{5}\",,,,\"9123456789\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"IR\",98,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4,5})\",\"$1\",[\"96\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4,5})\",\"$1 $2\",[\"(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-8]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,\"9(?:4440\\\\d{5}|6(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19]))\",,,,,,,[4,5,10]],[,,\"96(?:0[12]|2[16-8]|3(?:08|[14]5|[23]|66)|4(?:0|80)|5[01]|6[89]|86|9[19])\",\n,,,\"9601\",,,[4,5]],,,[,,,,,,,,,[-1]]],IS:[,[,,\"(?:38\\\\d|[4-9])\\\\d{6}\",,,,,,,[7,9]],[,,\"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\\\d|8[0-36-8])|5(?:05|[156]\\\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\\\d{4}\",,,,\"4101234\",,,[7]],[,,\"(?:38[589]\\\\d\\\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\\\d)|7(?:5[057]|[6-9]\\\\d)|8(?:2[0-59]|[3-69]\\\\d|8[238]))\\\\d{4}\",,,,\"6111234\"],[,,\"80[0-8]\\\\d{4}\",,,,\"8001234\",,,[7]],[,,\"90(?:0\\\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\\\d{3}\",\n,,,\"9001234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"49[0-24-79]\\\\d{4}\",,,,\"4921234\",,,[7]],\"IS\",354,\"00|1(?:0(?:01|[12]0)|100)\",,,,,,\"00\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[4-9]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"3\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"809\\\\d{4}\",,,,\"8091234\",,,[7]],,,[,,\"(?:689|8(?:7[18]|80)|95[48])\\\\d{4}\",,,,\"6891234\",,,[7]]],IT:[,[,,\"0\\\\d{5,10}|1\\\\d{8,10}|3(?:[0-8]\\\\d{7,10}|9\\\\d{7,8})|(?:55|70)\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?\",,,,,,,[6,7,8,9,10,11,12]],[,,\"0669[0-79]\\\\d{1,6}|0(?:1(?:[0159]\\\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\\\d\\\\d|3(?:[0159]\\\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\\\d|6[0-8])|7(?:[0159]\\\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\\\d|2[3-578]|3[1-356]|[6-8][1-5])|9(?:[0159]\\\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\\\d{2,7}\",\n,,,\"0212345678\",,,[6,7,8,9,10,11]],[,,\"3[1-9]\\\\d{8}|3[2-9]\\\\d{7}\",,,,\"3123456789\",,,[9,10]],[,,\"80(?:0\\\\d{3}|3)\\\\d{3}\",,,,\"800123456\",,,[6,9]],[,,\"(?:0878\\\\d{3}|89(?:2\\\\d|3[04]|4(?:[0-4]|[5-9]\\\\d\\\\d)|5[0-4]))\\\\d\\\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\\\d{6}\",,,,\"899123456\",,,[6,8,9,10]],[,,\"84(?:[08]\\\\d{3}|[17])\\\\d{3}\",,,,\"848123456\",,,[6,9]],[,,\"1(?:78\\\\d|99)\\\\d{6}\",,,,\"1781234567\",,,[9,10]],[,,\"55\\\\d{8}\",,,,\"5512345678\",,,[10]],\"IT\",39,\"00\",,,,,,,,[[,\"(\\\\d{4,5})\",\"$1\",[\"1(?:0|9[246])\",\"1(?:0|9(?:2[2-9]|[46]))\"]],\n[,\"(\\\\d{6})\",\"$1\",[\"1(?:1|92)\"]],[,\"(\\\\d{2})(\\\\d{4,6})\",\"$1 $2\",[\"0[26]\"]],[,\"(\\\\d{3})(\\\\d{3,6})\",\"$1 $2\",[\"0[13-57-9][0159]|8(?:03|4[17]|9[2-5])\",\"0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))\"]],[,\"(\\\\d{4})(\\\\d{2,6})\",\"$1 $2\",[\"0(?:[13-579][2-46-8]|8[236-8])\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"894\"]],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[26]|5\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"1(?:44|[679])|[378]\"]],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[13-57-9][0159]|14\"]],[,\n\"(\\\\d{2})(\\\\d{4})(\\\\d{5})\",\"$1 $2 $3\",[\"0[26]\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"3\"]]],[[,\"(\\\\d{2})(\\\\d{4,6})\",\"$1 $2\",[\"0[26]\"]],[,\"(\\\\d{3})(\\\\d{3,6})\",\"$1 $2\",[\"0[13-57-9][0159]|8(?:03|4[17]|9[2-5])\",\"0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))\"]],[,\"(\\\\d{4})(\\\\d{2,6})\",\"$1 $2\",[\"0(?:[13-579][2-46-8]|8[236-8])\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"894\"]],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[26]|5\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\n\"$1 $2 $3\",[\"1(?:44|[679])|[378]\"]],[,\"(\\\\d{3})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0[13-57-9][0159]|14\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{5})\",\"$1 $2 $3\",[\"0[26]\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"3\"]]],[,,,,,,,,,[-1]],1,,[,,\"848\\\\d{6}\",,,,,,,[9]],[,,,,,,,,,[-1]],,,[,,\"3[2-8]\\\\d{9,10}\",,,,\"33101234501\",,,[11,12]]],JE:[,[,,\"1534\\\\d{6}|(?:[3578]\\\\d|90)\\\\d{8}\",,,,,,,[10],[6]],[,,\"1534[0-24-8]\\\\d{5}\",,,,\"1534456789\",,,,[6]],[,,\"7(?:(?:(?:50|82)9|937)\\\\d|7(?:00[378]|97[7-9]))\\\\d{5}\",\n,,,\"7797712345\"],[,,\"80(?:07(?:35|81)|8901)\\\\d{4}\",,,,\"8007354567\"],[,,\"(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\\\d{4}\",,,,\"9018105678\"],[,,,,,,,,,[-1]],[,,\"701511\\\\d{4}\",,,,\"7015115678\"],[,,\"56\\\\d{8}\",,,,\"5612345678\"],\"JE\",44,\"00\",\"0\",,,\"([0-24-8]\\\\d{5})$|0\",\"1534$1\",,,,,[,,\"76(?:464|652)\\\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\\\d{6}\",,,,\"7640123456\"],,,[,,,,,,,,,[-1]],[,,\"(?:3(?:0(?:07(?:35|81)|8901)|3\\\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\\\d{4})\\\\d{4}\",\n,,,\"5512345678\"],,,[,,,,,,,,,[-1]]],JM:[,[,,\"(?:[58]\\\\d\\\\d|658|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"8766060\\\\d{3}|(?:658(?:2(?:[0-8]\\\\d|9[0-46-9])|[3-9]\\\\d\\\\d)|876(?:52[35]|6(?:0[1-3579]|1[0235-9]|[23]\\\\d|40|5[06]|6[2-589]|7[025-9]|8[04]|9[4-9])|7(?:0[2-689]|[1-6]\\\\d|8[056]|9[45])|9(?:0[1-8]|1[02378]|[2-8]\\\\d|9[2-468])))\\\\d{4}\",,,,\"8765230123\",,,,[7]],[,,\"(?:658295|876(?:2(?:0[1-9]|[13-9]\\\\d|2[013-9])|[348]\\\\d\\\\d|5(?:0[1-9]|[1-9]\\\\d)|6(?:4[89]|6[67])|7(?:0[07]|7\\\\d|8[1-47-9]|9[0-36-9])|9(?:[01]9|9[0579])))\\\\d{4}\",\n,,,\"8762101234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"JM\",1,\"011\",\"1\",,,\"1\",,,,,,[,,,,,,,,,[-1]],,\"658|876\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,\n,,,,[-1]]],JO:[,[,,\"(?:(?:[2689]|7\\\\d)\\\\d|32|53)\\\\d{6}\",,,,,,,[8,9]],[,,\"87(?:000|90[01])\\\\d{3}|(?:2(?:6(?:2[0-35-9]|3[0-578]|4[24-7]|5[0-24-8]|[6-8][023]|9[0-3])|7(?:0[1-79]|10|2[014-7]|3[0-689]|4[019]|5[0-3578]))|32(?:0[1-69]|1[1-35-7]|2[024-7]|3\\\\d|4[0-3]|[5-7][023])|53(?:0[0-3]|[13][023]|2[0-59]|49|5[0-35-9]|6[15]|7[45]|8[1-6]|9[0-36-9])|6(?:2(?:[05]0|22)|3(?:00|33)|4(?:0[0-25]|1[2-7]|2[0569]|[38][07-9]|4[025689]|6[0-589]|7\\\\d|9[0-2])|5(?:[01][056]|2[034]|3[0-57-9]|4[178]|5[0-69]|6[0-35-9]|7[1-379]|8[0-68]|9[0239]))|87(?:20|7[078]|99))\\\\d{4}\",\n,,,\"62001234\",,,[8]],[,,\"7(?:[78][0-25-9]|9\\\\d)\\\\d{6}\",,,,\"790123456\",,,[9]],[,,\"80\\\\d{6}\",,,,\"80012345\",,,[8]],[,,\"9\\\\d{7}\",,,,\"90012345\",,,[8]],[,,\"85\\\\d{6}\",,,,\"85012345\",,,[8]],[,,\"70\\\\d{7}\",,,,\"700123456\",,,[9]],[,,,,,,,,,[-1]],\"JO\",962,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2356]|87\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"70\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],,[,,\"74(?:66|77)\\\\d{5}\",,,,\"746612345\",\n,,[9]],,,[,,,,,,,,,[-1]],[,,\"8(?:10|8\\\\d)\\\\d{5}\",,,,\"88101234\",,,[8]],,,[,,,,,,,,,[-1]]],JP:[,[,,\"00[1-9]\\\\d{6,14}|[257-9]\\\\d{9}|(?:00|[1-9]\\\\d\\\\d)\\\\d{6}\",,,,,,,[8,9,10,11,12,13,14,15,16,17]],[,,\"(?:1(?:1[235-8]|2[3-6]|3[3-9]|4[2-6]|[58][2-8]|6[2-7]|7[2-9]|9[1-9])|(?:2[2-9]|[36][1-9])\\\\d|4(?:[2-578]\\\\d|6[02-8]|9[2-59])|5(?:[2-589]\\\\d|6[1-9]|7[2-8])|7(?:[25-9]\\\\d|3[4-9]|4[02-9])|8(?:[2679]\\\\d|3[2-9]|4[5-9]|5[1-9]|8[03-9])|9(?:[2-58]\\\\d|[679][1-9]))\\\\d{6}\",,,,\"312345678\",,,[9]],[,,\"[7-9]0[1-9]\\\\d{7}\",\n,,,\"9012345678\",,,[10]],[,,\"00777(?:[01]|5\\\\d)\\\\d\\\\d|(?:00(?:7778|882[1245])|(?:120|800\\\\d)\\\\d\\\\d)\\\\d{4}|00(?:37|66|78)\\\\d{6,13}\",,,,\"120123456\"],[,,\"990\\\\d{6}\",,,,\"990123456\",,,[9]],[,,,,,,,,,[-1]],[,,\"60\\\\d{7}\",,,,\"601234567\",,,[9]],[,,\"50[1-9]\\\\d{7}\",,,,\"5012345678\",,,[10]],\"JP\",81,\"010\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"007\",\"0077\",\"00777\",\"00777[01]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3\",[\"(?:12|57|99)0\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d)(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])\",\n\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\",\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"60\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[36]|4(?:2[09]|7[01])\",\"[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))\"],\n\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])\",\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]\",\n\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]\",\n\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]\"],\n\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3\",[\"[14]|[289][2-9]|5[3-9]|7[2-4679]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{3,4})\",\"$1-$2-$3\",[\"007\",\"0077\"]],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3\",[\"008\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"800\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[257-9]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3,4})\",\"$1-$2-$3\",[\"0\"]],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{4,5})\",\"$1-$2-$3\",[\"0\"]],[,\"(\\\\d{4})(\\\\d{5})(\\\\d{5,6})\",\"$1-$2-$3\",[\"0\"]],[,\"(\\\\d{4})(\\\\d{6})(\\\\d{6,7})\",\"$1-$2-$3\",\n[\"0\"]]],[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1-$2-$3\",[\"(?:12|57|99)0\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d)(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51|63)|9(?:80|9[16])\",\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9]|636)|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\",\"1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9]|636[457-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]\"],\n\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"60\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[36]|4(?:2[09]|7[01])\",\"[36]|4(?:2(?:0|9[02-69])|7(?:0[019]|1))\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[27-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])\",\n\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9])|5(?:2|3[045]|4[0-369]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|49|51|6(?:[0-24]|36|5[0-3589]|72|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:49|55|83)[29]|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]\",\n\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]\",\n\"1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|7[015-9]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17|3[015-9]))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3[045]|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9(?:[019]|4[1-3]|6(?:[0-47-9]|5[01346-9])))|3(?:[29]|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[23]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|72|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|829(?:2|66)|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]\"],\n\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3\",[\"[14]|[289][2-9]|5[3-9]|7[2-4679]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"800\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[257-9]\"],\"0$1\"]],[,,\"20\\\\d{8}\",,,,\"2012345678\",,,[10]],,,[,,\"00(?:777(?:[01]|(?:5|8\\\\d)\\\\d)|882[1245]\\\\d\\\\d)\\\\d\\\\d|00(?:37|66|78)\\\\d{6,13}\"],[,,\"570\\\\d{6}\",,,,\"570123456\",,,[9]],,,[,,,,,,,,,[-1]]],KE:[,[,,\"(?:[17]\\\\d\\\\d|900)\\\\d{6}|(?:2|80)0\\\\d{6,7}|[4-6]\\\\d{6,8}\",,,,,,,[7,8,9,10]],[,,\"(?:4[245]|5[1-79]|6[01457-9])\\\\d{5,7}|(?:4[136]|5[08]|62)\\\\d{7}|(?:[24]0|66)\\\\d{6,7}\",\n,,,\"202012345\",,,[7,8,9]],[,,\"(?:1(?:0[0-6]|1[0-5]|2[014]|30)|7\\\\d\\\\d)\\\\d{6}\",,,,\"712123456\",,,[9]],[,,\"800[2-8]\\\\d{5,6}\",,,,\"800223456\",,,[9,10]],[,,\"900[02-9]\\\\d{5}\",,,,\"900223456\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KE\",254,\"000\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{5,7})\",\"$1 $2\",[\"[24-6]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[17]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KG:[,[,,\"8\\\\d{9}|(?:[235-8]\\\\d|99)\\\\d{7}\",\n,,,,,,[9,10],[5,6]],[,,\"312(?:5[0-79]\\\\d|9(?:[0-689]\\\\d|7[0-24-9]))\\\\d{3}|(?:3(?:1(?:2[0-46-8]|3[1-9]|47|[56]\\\\d)|2(?:22|3[0-479]|6[0-7])|4(?:22|5[6-9]|6\\\\d)|5(?:22|3[4-7]|59|6\\\\d)|6(?:22|5[35-7]|6\\\\d)|7(?:22|3[468]|4[1-9]|59|[67]\\\\d)|9(?:22|4[1-8]|6\\\\d))|6(?:09|12|2[2-4])\\\\d)\\\\d{5}\",,,,\"312123456\",,,[9],[5,6]],[,,\"312(?:58\\\\d|973)\\\\d{3}|(?:2(?:0[0-35]|2\\\\d)|5[0-24-7]\\\\d|600|7(?:[07]\\\\d|55)|88[08]|99[05-9])\\\\d{6}\",,,,\"700123456\",,,[9]],[,,\"800\\\\d{6,7}\",,,,\"800123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KG\",996,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"3(?:1[346]|[24-79])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[235-79]|88\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d)(\\\\d{2,3})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KH:[,[,,\"1\\\\d{9}|[1-9]\\\\d{7,8}\",,,,,,,[8,9,10],[6,7]],[,,\"23(?:4(?:[2-4]|[56]\\\\d)|[568]\\\\d\\\\d)\\\\d{4}|23[236-9]\\\\d{5}|(?:2[4-6]|3[2-6]|4[2-4]|[5-7][2-5])(?:(?:[237-9]|4[56]|5\\\\d)\\\\d{5}|6\\\\d{5,6})\",\n,,,\"23756789\",,,[8,9],[6,7]],[,,\"(?:(?:1[28]|3[18]|9[67])\\\\d|6[016-9]|7(?:[07-9]|[16]\\\\d)|8(?:[013-79]|8\\\\d))\\\\d{6}|(?:1\\\\d|9[0-57-9])\\\\d{6}|(?:2[3-6]|3[2-6]|4[2-4]|[5-7][2-5])48\\\\d{5}\",,,,\"91234567\",,,[8,9]],[,,\"1800(?:1\\\\d|2[019])\\\\d{4}\",,,,\"1800123456\",,,[10]],[,,\"1900(?:1\\\\d|2[09])\\\\d{4}\",,,,\"1900123456\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KH\",855,\"00[14-9]\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[1-9]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],\n,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KI:[,[,,\"(?:[37]\\\\d|6[0-79])\\\\d{6}|(?:[2-48]\\\\d|50)\\\\d{3}\",,,,,,,[5,8]],[,,\"(?:[24]\\\\d|3[1-9]|50|65(?:02[12]|12[56]|22[89]|[3-5]00)|7(?:27\\\\d\\\\d|3100|5(?:02[12]|12[56]|22[89]|[34](?:00|81)|500))|8[0-5])\\\\d{3}\",,,,\"31234\"],[,,\"(?:63\\\\d{3}|73(?:0[0-5]\\\\d|140))\\\\d{3}|[67]200[01]\\\\d{3}\",,,,\"72001234\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"30(?:0[01]\\\\d\\\\d|12(?:11|20))\\\\d\\\\d\",,,,\"30010000\",,,[8]],\n\"KI\",686,\"00\",\"0\",,,\"0\",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KM:[,[,,\"[3478]\\\\d{6}\",,,,,,,[7],[4]],[,,\"7[4-7]\\\\d{5}\",,,,\"7712345\",,,,[4]],[,,\"[34]\\\\d{6}\",,,,\"3212345\"],[,,,,,,,,,[-1]],[,,\"8\\\\d{6}\",,,,\"8001234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KM\",269,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[3478]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KN:[,[,,\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"869(?:2(?:29|36)|302|4(?:6[015-9]|70)|56[5-7])\\\\d{4}\",\n,,,\"8692361234\",,,,[7]],[,,\"869(?:48[89]|55[6-8]|66\\\\d|76[02-7])\\\\d{4}\",,,,\"8697652917\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"KN\",1,\"011\",\"1\",,,\"([2-7]\\\\d{6})$|1\",\n\"869$1\",,,,,[,,,,,,,,,[-1]],,\"869\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KP:[,[,,\"85\\\\d{6}|(?:19\\\\d|[2-7])\\\\d{7}\",,,,,,,[8,10],[6,7]],[,,\"(?:(?:195|2)\\\\d|3[19]|4[159]|5[37]|6[17]|7[39]|85)\\\\d{6}\",,,,\"21234567\",,,,[6,7]],[,,\"19[1-3]\\\\d{7}\",,,,\"1921234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KP\",850,\"00|99\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-7]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\n\"$1 $2 $3\",[\"1\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,\"238[02-9]\\\\d{4}|2(?:[0-24-9]\\\\d|3[0-79])\\\\d{5}\",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KR:[,[,,\"00[1-9]\\\\d{8,11}|(?:[12]|5\\\\d{3})\\\\d{7}|[13-6]\\\\d{9}|(?:[1-6]\\\\d|80)\\\\d{7}|[3-6]\\\\d{4,5}|(?:00|7)0\\\\d{8}\",,,,,,,[5,6,8,9,10,11,12,13,14],[3,4,7]],[,,\"(?:2|3[1-3]|[46][1-4]|5[1-5])[1-9]\\\\d{6,7}|(?:3[1-3]|[46][1-4]|5[1-5])1\\\\d{2,3}\",,,,\"22123456\",,,[5,6,8,9,10],[3,4,7]],[,,\"1(?:05(?:[0-8]\\\\d|9[0-6])|22[13]\\\\d)\\\\d{4,5}|1(?:0[1-46-9]|[16-9]\\\\d|2[013-9])\\\\d{6,7}\",\n,,,\"1020000000\",,,[9,10]],[,,\"00(?:308\\\\d{6,7}|798\\\\d{7,9})|(?:00368|80)\\\\d{7}\",,,,\"801234567\",,,[9,11,12,13,14]],[,,\"60[2-9]\\\\d{6}\",,,,\"602345678\",,,[9]],[,,,,,,,,,[-1]],[,,\"50\\\\d{8,9}\",,,,\"5012345678\",,,[10,11]],[,,\"70\\\\d{8}\",,,,\"7012345678\",,,[10]],\"KR\",82,\"00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))\",\"0\",,,\"0(8(?:[1-46-8]|5\\\\d\\\\d))?\",,,,[[,\"(\\\\d{5})\",\"$1\",[\"1[016-9]1\",\"1[016-9]11\",\"1[016-9]114\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1-$2\",[\"(?:3[1-3]|[46][1-4]|5[1-5])1\"],\"0$1\",\"0$CC-$1\"],[,\n\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"1\"]],[,\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"2\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"60|8\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"[1346]|5[1-5]\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[57]\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{5})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"003\",\"0030\"]],[,\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1-$2-$3\",[\"5\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{5})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"0\"]],[,\"(\\\\d{5})(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\n\"$1 $2 $3 $4\",[\"0\"]]],[[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1-$2\",[\"(?:3[1-3]|[46][1-4]|5[1-5])1\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"1\"]],[,\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"2\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"60|8\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1-$2-$3\",[\"[1346]|5[1-5]\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2-$3\",[\"[57]\"],\"0$1\",\"0$CC-$1\"],[,\"(\\\\d{2})(\\\\d{5})(\\\\d{4})\",\"$1-$2-$3\",[\"5\"],\"0$1\",\"0$CC-$1\"]],[,,\"15\\\\d{7,8}\",,,,\"1523456789\",\n,,[9,10]],,,[,,\"00(?:3(?:08\\\\d{6,7}|68\\\\d{7})|798\\\\d{7,9})\",,,,,,,[11,12,13,14]],[,,\"1(?:5(?:22|33|44|66|77|88|99)|6(?:[07]0|44|6[168]|88)|8(?:00|33|55|77|99))\\\\d{4}\",,,,\"15441234\",,,[8]],,,[,,,,,,,,,[-1]]],KW:[,[,,\"18\\\\d{5}|(?:[2569]\\\\d|41)\\\\d{6}\",,,,,,,[7,8]],[,,\"2(?:[23]\\\\d\\\\d|4(?:[1-35-9]\\\\d|44)|5(?:0[034]|[2-46]\\\\d|5[1-3]|7[1-7]))\\\\d{4}\",,,,\"22345678\",,,[8]],[,,\"(?:41\\\\d\\\\d|5(?:(?:[05]\\\\d|1[0-7]|6[56])\\\\d|2(?:22|5[25])|7(?:55|77)|88[58])|6(?:(?:0[034679]|5[015-9]|6\\\\d)\\\\d|1(?:00|11|66)|222|3[36]3|444|7(?:0[013-9]|[67]\\\\d)|888|9(?:[069]\\\\d|3[039]))|9(?:(?:0[09]|22|[4679]\\\\d|8[057-9])\\\\d|1(?:1[01]|99)|3(?:00|33)|5(?:00|5\\\\d)))\\\\d{4}\",\n,,,\"50012345\",,,[8]],[,,\"18\\\\d{5}\",,,,\"1801234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"KW\",965,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{3,4})\",\"$1 $2\",[\"[169]|2(?:[235]|4[1-35-9])|52\"]],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[245]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KY:[,[,,\"(?:345|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"345(?:2(?:22|3[23]|44|66)|333|444|6(?:23|38|40)|7(?:30|4[35-79]|6[6-9]|77)|8(?:00|1[45]|[48]8)|9(?:14|4[035-9]))\\\\d{4}\",,,,\"3452221234\",\n,,,[7]],[,,\"345(?:32[1-9]|42[0-4]|5(?:1[67]|2[5-79]|4[6-9]|50|76)|649|82[56]|9(?:1[679]|2[2-9]|3[06-9]|90))\\\\d{4}\",,,,\"3453231234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"(?:345976|900[2-9]\\\\d\\\\d)\\\\d{4}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"KY\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"345$1\",,,,,[,,\"345849\\\\d{4}\",,,,\"3458491234\"],,\"345\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],KZ:[,[,,\"(?:33622|8\\\\d{8})\\\\d{5}|[78]\\\\d{9}\",,,,,,,[10,14],[5,6,7]],[,,\"(?:33622|7(?:1(?:0(?:[23]\\\\d|4[0-3]|59|63)|1(?:[23]\\\\d|4[0-79]|59)|2(?:[23]\\\\d|59)|3(?:2\\\\d|3[0-79]|4[0-35-9]|59)|4(?:[24]\\\\d|3[013-9]|5[1-9]|97)|5(?:2\\\\d|3[1-9]|4[0-7]|59)|6(?:[2-4]\\\\d|5[19]|61)|72\\\\d|8(?:[27]\\\\d|3[1-46-9]|4[0-5]|59))|2(?:1(?:[23]\\\\d|4[46-9]|5[3469])|2(?:2\\\\d|3[0679]|46|5[12679])|3(?:[2-4]\\\\d|5[139])|4(?:2\\\\d|3[1-35-9]|59)|5(?:[23]\\\\d|4[0-8]|59|61)|6(?:2\\\\d|3[1-9]|4[0-4]|59)|7(?:[2379]\\\\d|40|5[279])|8(?:[23]\\\\d|4[0-3]|59)|9(?:2\\\\d|3[124578]|59))))\\\\d{5}\",\n,,,\"7123456789\",,,[10],[5,6,7]],[,,\"7(?:0[0-25-8]|47|6[0-4]|7[15-8]|85)\\\\d{7}\",,,,\"7710009998\",,,[10]],[,,\"8(?:00|108\\\\d{3})\\\\d{7}\",,,,\"8001234567\"],[,,\"809\\\\d{7}\",,,,\"8091234567\",,,[10]],[,,,,,,,,,[-1]],[,,\"808\\\\d{7}\",,,,\"8081234567\",,,[10]],[,,\"751\\\\d{7}\",,,,\"7511234567\",,,[10]],\"KZ\",7,\"810\",\"8\",,,\"8\",,\"8~10\",,,,[,,,,,,,,,[-1]],,\"33|7\",[,,\"751\\\\d{7}\",,,,,,,[10]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LA:[,[,,\"[23]\\\\d{9}|3\\\\d{8}|(?:[235-8]\\\\d|41)\\\\d{6}\",,,,,,,[8,9,10],[6]],[,,\"(?:2[13]|[35-7][14]|41|8[1468])\\\\d{6}\",\n,,,\"21212862\",,,[8],[6]],[,,\"(?:20(?:[2359]\\\\d|7[6-8]|88)|302\\\\d)\\\\d{6}\",,,,\"2023123456\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LA\",856,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2[13]|3[14]|[4-8]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"30[013-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[23]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"30[013-9]\\\\d{6}\",,,,\"301234567\",,,[9]],,,[,,,,,,\n,,,[-1]]],LB:[,[,,\"[27-9]\\\\d{7}|[13-9]\\\\d{6}\",,,,,,,[7,8]],[,,\"7(?:62|8[0-7]|9[04-9])\\\\d{4}|(?:[14-69]\\\\d|2(?:[14-69]\\\\d|[78][1-9])|7[2-57]|8[02-9])\\\\d{5}\",,,,\"1123456\"],[,,\"793(?:[01]\\\\d|2[0-4])\\\\d{3}|(?:(?:3|81)\\\\d|7(?:[01]\\\\d|6[013-9]|8[89]|9[12]))\\\\d{5}\",,,,\"71123456\"],[,,,,,,,,,[-1]],[,,\"9[01]\\\\d{6}\",,,,\"90123456\",,,[8]],[,,\"80\\\\d{6}\",,,,\"80123456\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LB\",961,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[13-69]|7(?:[2-57]|62|8[0-7]|9[04-9])|8[02-9]\"],\n\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[27-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LC:[,[,,\"(?:[58]\\\\d\\\\d|758|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"758(?:234|4(?:30|5\\\\d|6[2-9]|8[0-2])|57[0-2]|(?:63|75)8)\\\\d{4}\",,,,\"7584305678\",,,,[7]],[,,\"758(?:28[4-7]|384|4(?:6[01]|8[4-9])|5(?:1[89]|20|84)|7(?:1[2-9]|2\\\\d|3[0-3])|812)\\\\d{4}\",,,,\"7582845678\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],\n[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"LC\",1,\"011\",\"1\",,,\"([2-8]\\\\d{6})$|1\",\"758$1\",,,,,[,,,,,,,,,[-1]],,\"758\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LI:[,[,,\"[68]\\\\d{8}|(?:[2378]\\\\d|90)\\\\d{5}\",,,,,,,[7,9]],[,,\"(?:2(?:01|1[27]|2[02]|3\\\\d|6[02-578]|96)|3(?:[24]0|33|7[0135-7]|8[048]|9[0269]))\\\\d{4}\",\n,,,\"2345678\",,,[7]],[,,\"(?:6(?:(?:4[5-9]|5[0-4])\\\\d|6(?:[0245]\\\\d|[17]0|3[7-9]))\\\\d|7(?:[37-9]\\\\d|42|56))\\\\d{4}\",,,,\"660234567\"],[,,\"8002[28]\\\\d\\\\d|80(?:05\\\\d|9)\\\\d{4}\",,,,\"8002222\"],[,,\"90(?:02[258]|1(?:23|3[14])|66[136])\\\\d\\\\d\",,,,\"9002222\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LI\",423,\"00\",\"0\",,,\"(1001)|0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[2379]|8(?:0[09]|7)\",\"[2379]|8(?:0(?:02|9)|7)\"],,\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\n\"$1 $2 $3\",[\"69\"],,\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"],,\"$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"870(?:28|87)\\\\d\\\\d\",,,,\"8702812\",,,[7]],,,[,,\"697(?:42|56|[78]\\\\d)\\\\d{4}\",,,,\"697861234\",,,[9]]],LK:[,[,,\"[1-9]\\\\d{8}\",,,,,,,[9],[7]],[,,\"(?:12[2-9]|602|8[12]\\\\d|9(?:1\\\\d|22|9[245]))\\\\d{6}|(?:11|2[13-7]|3[1-8]|4[157]|5[12457]|6[35-7])[2-57]\\\\d{6}\",,,,\"112345678\",,,,[7]],[,,\"7(?:[0-25-8]\\\\d|4[0-4])\\\\d{6}\",,,,\"712345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,\n,,,,,[-1]],[,,,,,,,,,[-1]],\"LK\",94,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[1-689]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"1973\\\\d{5}\",,,,\"197312345\"],,,[,,,,,,,,,[-1]]],LR:[,[,,\"(?:[25]\\\\d|33|77|88)\\\\d{7}|(?:2\\\\d|[4-6])\\\\d{6}\",,,,,,,[7,8,9]],[,,\"(?:2\\\\d{3}|33333)\\\\d{4}\",,,,\"21234567\",,,[8,9]],[,,\"(?:(?:(?:22|33)0|555|(?:77|88)\\\\d)\\\\d|4[67])\\\\d{5}|[56]\\\\d{6}\",,,,\"770123456\",,,[7,9]],[,,,,,,,,,[-1]],[,,\"332(?:02|[34]\\\\d)\\\\d{4}\",\n,,,\"332021234\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LR\",231,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[4-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[23578]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LS:[,[,,\"(?:[256]\\\\d\\\\d|800)\\\\d{5}\",,,,,,,[8]],[,,\"2\\\\d{7}\",,,,\"22123456\"],[,,\"[56]\\\\d{7}\",,,,\"50123456\"],[,,\"800[256]\\\\d{4}\",,,,\"80021234\"],[,,,,,,,,,[-1]],[,,,,,,,,\n,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LS\",266,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2568]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LT:[,[,,\"(?:[3469]\\\\d|52|[78]0)\\\\d{6}\",,,,,,,[8]],[,,\"(?:3[1478]|4[124-6]|52)\\\\d{6}\",,,,\"31234567\"],[,,\"6\\\\d{7}\",,,,\"61234567\"],[,,\"80[02]\\\\d{5}\",,,,\"80012345\"],[,,\"9(?:0[0239]|10)\\\\d{5}\",,,,\"90012345\"],[,,\"808\\\\d{5}\",,,,\"80812345\"],[,,\"70[05]\\\\d{5}\",,,,\"70012345\"],[,,\"[89]01\\\\d{5}\",,,,\"80123456\"],\"LT\",370,\"00\",\"8\",,,\"[08]\",,,\n,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"52[0-7]\"],\"(8-$1)\",,1],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[7-9]\"],\"8 $1\",,1],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"37|4(?:[15]|6[1-8])\"],\"(8-$1)\",,1],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[3-6]\"],\"(8-$1)\",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"70[67]\\\\d{5}\",,,,\"70712345\"],,,[,,,,,,,,,[-1]]],LU:[,[,,\"35[013-9]\\\\d{4,8}|6\\\\d{8}|35\\\\d{2,4}|(?:[2457-9]\\\\d|3[0-46-9])\\\\d{2,9}\",,,,,,,[4,5,6,7,8,9,10,11]],[,,\"(?:35[013-9]|80[2-9]|90[89])\\\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\\\d|8[13-9]|9[2-579])\\\\d{2,9}\",\n,,,\"27123456\"],[,,\"6(?:[269][18]|5[1568]|7[189]|81)\\\\d{6}\",,,,\"628123456\",,,[9]],[,,\"800\\\\d{5}\",,,,\"80012345\",,,[8]],[,,\"90[015]\\\\d{5}\",,,,\"90012345\",,,[8]],[,,\"801\\\\d{5}\",,,,\"80112345\",,,[8]],[,,,,,,,,,[-1]],[,,\"20(?:1\\\\d{5}|[2-689]\\\\d{1,7})\",,,,\"20201234\",,,[4,5,6,7,8,9,10]],\"LU\",352,\"00\",,,,\"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\\\d)\",,,,[[,\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])\"],\n,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"20[2-689]\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})\",\"$1 $2 $3 $4\",[\"2(?:[0367]|4[3-8])\"],,\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"80[01]|90[015]\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"20\"],,\"$CC $1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,2})\",\"$1 $2 $3 $4 $5\",[\"2(?:[0367]|4[3-8])\"],,\"$CC $1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{1,5})\",\"$1 $2 $3 $4\",\n[\"[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]\"],,\"$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LV:[,[,,\"(?:[268]\\\\d|90)\\\\d{6}\",,,,,,,[8]],[,,\"6\\\\d{7}\",,,,\"63123456\"],[,,\"23(?:23[0-57-9]|33[0238])\\\\d{3}|2(?:[0-24-9]\\\\d\\\\d|3(?:0[07]|[14-9]\\\\d|2[024-9]|3[0-24-9]))\\\\d{4}\",,,,\"21234567\"],[,,\"80\\\\d{6}\",,,,\"80123456\"],[,,\"90\\\\d{6}\",,,,\"90123456\"],[,,\"81\\\\d{6}\",,,,\"81123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LV\",371,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",\n[\"[269]|8[01]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],LY:[,[,,\"[2-9]\\\\d{8}\",,,,,,,[9],[7]],[,,\"(?:2(?:0[56]|[1-6]\\\\d|7[124579]|8[124])|3(?:1\\\\d|2[2356])|4(?:[17]\\\\d|2[1-357]|5[2-4]|8[124])|5(?:[1347]\\\\d|2[1-469]|5[13-5]|8[1-4])|6(?:[1-479]\\\\d|5[2-57]|8[1-5])|7(?:[13]\\\\d|2[13-79])|8(?:[124]\\\\d|5[124]|84))\\\\d{6}\",,,,\"212345678\",,,,[7]],[,,\"9[1-6]\\\\d{7}\",,,,\"912345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"LY\",218,\"00\",\"0\",\n,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{7})\",\"$1-$2\",[\"[2-9]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MA:[,[,,\"[5-8]\\\\d{8}\",,,,,,,[9]],[,,\"5293[01]\\\\d{4}|5(?:2(?:[0-25-7]\\\\d|3[1-578]|4[02-46-8]|8[0235-7]|9[0-289])|3(?:[0-47]\\\\d|5[02-9]|6[02-8]|8[0189]|9[3-9])|(?:4[067]|5[03])\\\\d)\\\\d{5}\",,,,\"520123456\"],[,,\"(?:6(?:[0-79]\\\\d|8[0-247-9])|7(?:[017]\\\\d|2[0-2]|6[0-8]|8[0-3]))\\\\d{6}\",,,,\"650123456\"],[,,\"80\\\\d{7}\",,,,\"801234567\"],[,,\"89\\\\d{7}\",,,,\"891234567\"],[,,,,,,,,,[-1]],[,,,\n,,,,,,[-1]],[,,\"592(?:4[0-2]|93)\\\\d{4}\",,,,\"592401234\"],\"MA\",212,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{5})(\\\\d{4})\",\"$1-$2\",[\"5(?:29|38)\",\"5(?:29[1289]|389)\",\"529(?:1[1-46-9]|2[013-8]|90)|5(?:298|389)[0-46-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"5[45]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{5})\",\"$1-$2\",[\"5(?:2[2-489]|3[5-9]|9)|892\",\"5(?:2(?:[2-49]|8[235-9])|3[5-9]|9)|892\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1-$2\",[\"8\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6})\",\"$1-$2\",[\"[5-7]\"],\"0$1\"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,\n,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MC:[,[,,\"(?:[3489]|6\\\\d)\\\\d{7}\",,,,,,,[8,9]],[,,\"(?:870|9[2-47-9]\\\\d)\\\\d{5}\",,,,\"99123456\",,,[8]],[,,\"4(?:[46]\\\\d|5[1-9])\\\\d{5}|(?:3|6\\\\d)\\\\d{7}\",,,,\"612345678\"],[,,\"(?:800|90\\\\d)\\\\d{5}\",,,,\"90123456\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MC\",377,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3\",[\"87\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"4\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[389]\"]],\n[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"6\"],\"0$1\"]],[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"4\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[389]\"]],[,\"(\\\\d)(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"6\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,\"8[07]0\\\\d{5}\",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MD:[,[,,\"(?:[235-7]\\\\d|[89]0)\\\\d{6}\",,,,,,,[8]],[,,\"(?:(?:2[1-9]|3[1-79])\\\\d|5(?:33|5[257]))\\\\d{5}\",,,,\"22212345\"],[,,\"562\\\\d{5}|(?:6\\\\d|7[16-9])\\\\d{6}\",,,,\"62112345\"],\n[,,\"800\\\\d{5}\",,,,\"80012345\"],[,,\"90[056]\\\\d{5}\",,,,\"90012345\"],[,,\"808\\\\d{5}\",,,,\"80812345\"],[,,,,,,,,,[-1]],[,,\"3[08]\\\\d{6}\",,,,\"30123456\"],\"MD\",373,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"22|3\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[25-7]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"803\\\\d{5}\",,,,\"80312345\"],,,[,,,,,,,,,[-1]]],ME:[,[,,\"(?:20|[3-79]\\\\d)\\\\d{6}|80\\\\d{6,7}\",,,,,,,[8,9],[6]],[,,\"(?:20[2-8]|3(?:[0-2][2-7]|3[24-7])|4(?:0[2-467]|1[2467])|5(?:0[2467]|1[24-7]|2[2-467]))\\\\d{5}\",\n,,,\"30234567\",,,[8],[6]],[,,\"6(?:[07-9]\\\\d|3[024]|6[0-25])\\\\d{5}\",,,,\"67622901\",,,[8]],[,,\"80(?:[0-2578]|9\\\\d)\\\\d{5}\",,,,\"80080002\"],[,,\"9(?:4[1568]|5[178])\\\\d{5}\",,,,\"94515151\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"78[1-49]\\\\d{5}\",,,,\"78108780\",,,[8]],\"ME\",382,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[2-9]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"77[1-9]\\\\d{5}\",,,,\"77273012\",,,[8]],,,[,,,,,,,,,[-1]]],MF:[,[,,\"(?:590|(?:69|80)\\\\d|976)\\\\d{6}\",,,,,,,[9]],[,,\"590(?:0[079]|[14]3|[27][79]|30|5[0-268]|87)\\\\d{4}\",\n,,,\"590271234\"],[,,\"69(?:0\\\\d\\\\d|1(?:2[2-9]|3[0-5]))\\\\d{4}\",,,,\"690001234\"],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"976[01]\\\\d{5}\",,,,\"976012345\"],\"MF\",590,\"00\",\"0\",,,\"0\",,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MG:[,[,,\"[23]\\\\d{8}\",,,,,,,[9],[7]],[,,\"2072[29]\\\\d{4}|20(?:2\\\\d|4[47]|5[3467]|6[279]|7[35]|8[268]|9[245])\\\\d{5}\",,,,\"202123456\",,,,[7]],[,,\"3[2-47-9]\\\\d{7}\",,,,\"321234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\n,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"22\\\\d{7}\",,,,\"221234567\"],\"MG\",261,\"00\",\"0\",,,\"([24-9]\\\\d{6})$|0\",\"20$1\",,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[23]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MH:[,[,,\"329\\\\d{4}|(?:[256]\\\\d|45)\\\\d{5}\",,,,,,,[7]],[,,\"(?:247|528|625)\\\\d{4}\",,,,\"2471234\"],[,,\"(?:(?:23|54)5|329|45[356])\\\\d{4}\",,,,\"2351234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"635\\\\d{4}\",,,,\"6351234\"],\"MH\",692,\"011\",\n\"1\",,,\"1\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[2-6]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MK:[,[,,\"[2-578]\\\\d{7}\",,,,,,,[8],[6,7]],[,,\"(?:(?:2(?:62|77)0|3444)\\\\d|4[56]440)\\\\d{3}|(?:34|4[357])700\\\\d{3}|(?:2(?:[0-3]\\\\d|5[0-578]|6[01]|82)|3(?:1[3-68]|[23][2-68]|4[23568])|4(?:[23][2-68]|4[3-68]|5[2568]|6[25-8]|7[24-68]|8[4-68]))\\\\d{5}\",,,,\"22012345\",,,,[6,7]],[,,\"7(?:3555|(?:474|9[019]7)7)\\\\d{3}|7(?:[0-25-8]\\\\d\\\\d|3(?:[1-48]\\\\d|7[01578])|4(?:2\\\\d|60|7[01578])|9(?:[2-4]\\\\d|5[01]|7[015]))\\\\d{4}\",\n,,,\"72345678\"],[,,\"800\\\\d{5}\",,,,\"80012345\"],[,,\"5\\\\d{7}\",,,,\"50012345\"],[,,\"8(?:0[1-9]|[1-9]\\\\d)\\\\d{5}\",,,,\"80123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MK\",389,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2|34[47]|4(?:[37]7|5[47]|64)\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[347]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[58]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ML:[,[,,\"[24-9]\\\\d{7}\",,,,,,,[8]],[,,\"2(?:07[0-8]|12[67])\\\\d{4}|(?:2(?:02|1[4-689])|4(?:0[0-4]|4[1-39]))\\\\d{5}\",\n,,,\"20212345\"],[,,\"2(?:0(?:01|79)|17\\\\d)\\\\d{4}|(?:5[01]|[679]\\\\d|8[2-49])\\\\d{6}\",,,,\"65012345\"],[,,\"80\\\\d{6}\",,,,\"80012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"ML\",223,\"00\",,,,,,,,[[,\"(\\\\d{4})\",\"$1\",[\"67[057-9]|74[045]\",\"67(?:0[09]|[59]9|77|8[89])|74(?:0[02]|44|55)\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24-9]\"]]],[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24-9]\"]]],[,,,,,,,,,[-1]],,,[,,\"80\\\\d{6}\"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MM:[,\n[,,\"1\\\\d{5,7}|95\\\\d{6}|(?:[4-7]|9[0-46-9])\\\\d{6,8}|(?:2|8\\\\d)\\\\d{5,8}\",,,,,,,[6,7,8,9,10],[5]],[,,\"(?:1(?:(?:2\\\\d|3[56]|[89][0-6])\\\\d|4(?:2[2-469]|39|46|6[25]|7[0-3]|83)|6)|2(?:2(?:00|8[34])|4(?:0\\\\d|2[246]|39|46|62|7[0-3]|83)|51\\\\d\\\\d)|4(?:2(?:2\\\\d\\\\d|48[0-3])|3(?:20\\\\d|4(?:70|83)|56)|420\\\\d|5470)|6(?:0(?:[23]|88\\\\d)|(?:124|[56]2\\\\d)\\\\d|247[23]|3(?:20\\\\d|470)|4(?:2[04]\\\\d|47[23])|7(?:(?:3\\\\d|8[01459])\\\\d|4(?:39|60|7[013]))))\\\\d{4}|5(?:2(?:2\\\\d{5,6}|47[023]\\\\d{4})|(?:347[23]|4(?:2(?:1|86)|470)|522\\\\d|6(?:20\\\\d|483)|7(?:20\\\\d|48[0-2])|8(?:20\\\\d|47[02])|9(?:20\\\\d|47[01]))\\\\d{4})|7(?:(?:0470|4(?:25\\\\d|470)|5(?:202|470|96\\\\d))\\\\d{4}|1(?:20\\\\d{4,5}|4(?:70|83)\\\\d{4}))|8(?:1(?:2\\\\d{5,6}|4(?:10|7[01]\\\\d)\\\\d{3})|2(?:2\\\\d{5,6}|(?:320|490\\\\d)\\\\d{3})|(?:3(?:2\\\\d\\\\d|470)|4[24-7]|5(?:2\\\\d|4[1-9]|51)\\\\d|6[23])\\\\d{4})|(?:1[2-6]\\\\d|4(?:2[24-8]|3[2-7]|[46][2-6]|5[3-5])|5(?:[27][2-8]|3[2-68]|4[24-8]|5[23]|6[2-4]|8[24-7]|9[2-7])|6(?:[19]20|42[03-6]|(?:52|7[45])\\\\d)|7(?:[04][24-8]|[15][2-7]|22|3[2-4])|8(?:1[2-689]|2[2-8]|[35]2\\\\d))\\\\d{4}|25\\\\d{5,6}|(?:2[2-9]|6(?:1[2356]|[24][2-6]|3[24-6]|5[2-4]|6[2-8]|7[235-7]|8[245]|9[24])|8(?:3[24]|5[245]))\\\\d{4}\",\n,,,\"1234567\",,,[6,7,8,9],[5]],[,,\"(?:17[01]|9(?:2(?:[0-4]|[56]\\\\d\\\\d)|(?:3(?:[0-36]|4\\\\d)|(?:6\\\\d|9[4-8])\\\\d|7(?:3|40|[5-9]\\\\d)|8(?:78|[89]\\\\d))\\\\d|4(?:(?:[0245]\\\\d|[1379])\\\\d|88)|5[0-6])\\\\d)\\\\d{4}|9[69]1\\\\d{6}|9(?:[68]\\\\d|9[089])\\\\d{5}\",,,,\"92123456\",,,[7,8,9,10]],[,,\"80080(?:[01][1-9]|2\\\\d)\\\\d{3}\",,,,\"8008001234\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"1333\\\\d{4}|[12]468\\\\d{4}\",,,,\"13331234\",,,[8]],\"MM\",95,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"16|2\"],\"0$1\"],\n[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[45]|6(?:0[23]|[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-6]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[12]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[4-7]|8[1-35]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{4,6})\",\"$1 $2 $3\",[\"9(?:2[0-4]|[35-9]|4[137-9])\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"92\"],\"0$1\"],[,\"(\\\\d)(\\\\d{5})(\\\\d{4})\",\"$1 $2 $3\",\n[\"9\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MN:[,[,,\"[12]\\\\d{7,9}|[5-9]\\\\d{7}\",,,,,,,[8,9,10],[4,5,6]],[,,\"[12]2[1-3]\\\\d{5,6}|7(?:0[0-5]\\\\d|128)\\\\d{4}|(?:[12](?:1|27)|5[368])\\\\d{6}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\\\d{6,7}\",,,,\"53123456\",,,,[4,5,6]],[,,\"(?:83[01]|920)\\\\d{5}|(?:5[05]|6[069]|8[015689]|9[013-9])\\\\d{6}\",,,,\"88123456\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"712[0-79]\\\\d{4}|7(?:1[013-9]|[25-9]\\\\d)\\\\d{5}\",,,,\"75123456\",\n,,[8]],\"MN\",976,\"001\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[12]1\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[5-9]\"]],[,\"(\\\\d{3})(\\\\d{5,6})\",\"$1 $2\",[\"[12]2[1-3]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{5,6})\",\"$1 $2\",[\"[12](?:27|3[2-8]|4[2-68]|5[1-4689])\",\"[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]\"],\"0$1\"],[,\"(\\\\d{5})(\\\\d{4,5})\",\"$1 $2\",[\"[12]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MO:[,[,,\"0800\\\\d{3}|(?:28|[68]\\\\d)\\\\d{6}\",,,,,,,[7,8]],[,,\"(?:28[2-9]|8(?:11|[2-57-9]\\\\d))\\\\d{5}\",\n,,,\"28212345\",,,[8]],[,,\"6800[0-79]\\\\d{3}|6(?:[235]\\\\d\\\\d|6(?:0[0-5]|[1-9]\\\\d)|8(?:0[1-9]|[14-8]\\\\d|2[5-9]|[39][0-4]))\\\\d{4}\",,,,\"66123456\",,,[8]],[,,\"0800\\\\d{3}\",,,,\"0800501\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MO\",853,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{3})\",\"$1 $2\",[\"0\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[268]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MP:[,[,,\"[58]\\\\d{9}|(?:67|90)0\\\\d{7}\",,,,,,,[10],[7]],[,,\"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\\\d{4}\",\n,,,\"6702345678\",,,,[7]],[,,\"670(?:2(?:3[3-7]|56|8[4-8])|32[1-38]|4(?:33|8[348])|5(?:32|55|88)|6(?:64|70|82)|78[3589]|8[3-9]8|989)\\\\d{4}\",,,,\"6702345678\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"MP\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"670$1\",,1,,,[,,,,,,,,,[-1]],,\"670\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MQ:[,[,,\"596\\\\d{6}|(?:69|80|9\\\\d)\\\\d{7}\",,,,,,,[9]],[,,\"596(?:[03-7]\\\\d|10|2[7-9]|8[09]|9[4-9])\\\\d{4}\",,,,\"596301234\"],[,,\"69(?:6(?:[0-46-9]\\\\d|5[0-6])|727)\\\\d{4}\",,,,\"696201234\"],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"9(?:(?:39|47)7[01]|76(?:6\\\\d|7[0-367]))\\\\d{4}\",,,,\"976612345\"],\"MQ\",596,\"00\",\n\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[569]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MR:[,[,,\"(?:[2-4]\\\\d\\\\d|800)\\\\d{5}\",,,,,,,[8]],[,,\"(?:25[08]|35\\\\d|45[1-7])\\\\d{5}\",,,,\"35123456\"],[,,\"[2-4][0-46-9]\\\\d{6}\",,,,\"22123456\"],[,,\"800\\\\d{5}\",,,,\"80012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MR\",222,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"[2-48]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MS:[,[,,\"(?:[58]\\\\d\\\\d|664|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"6644(?:1[0-3]|91)\\\\d{4}\",,,,\"6644912345\",,,,[7]],[,,\"664(?:3(?:49|9[1-6])|49[2-6])\\\\d{4}\",,,,\"6644923456\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"MS\",1,\"011\",\"1\",,,\"([34]\\\\d{6})$|1\",\"664$1\",,,,,[,,,,,,,,,[-1]],,\"664\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MT:[,[,,\"3550\\\\d{4}|(?:[2579]\\\\d\\\\d|800)\\\\d{5}\",,,,,,,[8]],[,,\"20(?:3[1-4]|6[059])\\\\d{4}|2(?:0[19]|[1-357]\\\\d|60)\\\\d{5}\",,,,\"21001234\"],[,,\"(?:7(?:210|[79]\\\\d\\\\d)|9(?:[29]\\\\d\\\\d|69[67]|8(?:1[1-3]|89|97)))\\\\d{4}\",,,,\"96961234\"],[,,\"800(?:02|[3467]\\\\d)\\\\d{3}\",,,,\"80071234\"],[,,\"5(?:0(?:0(?:37|43)|(?:6\\\\d|70|9[0168])\\\\d)|[12]\\\\d0[1-5])\\\\d{3}\",,,,\n\"50037123\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"3550\\\\d{4}\",,,,\"35501234\"],\"MT\",356,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[2357-9]\"]]],,[,,\"7117\\\\d{4}\",,,,\"71171234\"],,,[,,,,,,,,,[-1]],[,,\"501\\\\d{5}\",,,,\"50112345\"],,,[,,,,,,,,,[-1]]],MU:[,[,,\"(?:[57]|8\\\\d\\\\d)\\\\d{7}|[2-468]\\\\d{6}\",,,,,,,[7,8,10]],[,,\"(?:2(?:[0346-8]\\\\d|1[0-7])|4(?:[013568]\\\\d|2[4-7])|54(?:[3-5]\\\\d|71)|6\\\\d\\\\d|8(?:14|3[129]))\\\\d{4}\",,,,\"54480123\",,,[7,8]],[,,\"5(?:4(?:2[1-389]|7[1-9])|87[15-8])\\\\d{4}|(?:5(?:2[5-9]|4[3-689]|[57]\\\\d|8[0-689]|9[0-8])|7(?:01|30))\\\\d{5}\",\n,,,\"52512345\",,,[8]],[,,\"802\\\\d{7}|80[0-2]\\\\d{4}\",,,,\"8001234\",,,[7,10]],[,,\"30\\\\d{5}\",,,,\"3012345\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"3(?:20|9\\\\d)\\\\d{4}\",,,,\"3201234\",,,[7]],\"MU\",230,\"0(?:0|[24-7]0|3[03])\",,,,,,\"020\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-46]|8[013]\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[57]\"]],[,\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MV:[,[,,\"(?:800|9[0-57-9]\\\\d)\\\\d{7}|[34679]\\\\d{6}\",,,,,,,[7,10]],[,,\"(?:3(?:0[0-3]|3[0-59])|6(?:[58][024689]|6[024-68]|7[02468]))\\\\d{4}\",\n,,,\"6701234\",,,[7]],[,,\"(?:46[46]|[79]\\\\d\\\\d)\\\\d{4}\",,,,\"7712345\",,,[7]],[,,\"800\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,\"900\\\\d{7}\",,,,\"9001234567\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MV\",960,\"0(?:0|19)\",,,,,,\"00\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[34679]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"4(?:0[01]|50)\\\\d{4}\",,,,\"4001234\",,,[7]],,,[,,,,,,,,,[-1]]],MW:[,[,,\"(?:[1289]\\\\d|31|77)\\\\d{7}|1\\\\d{6}\",,,,,,,[7,9]],[,,\"(?:1[2-9]|2[12]\\\\d\\\\d)\\\\d{5}\",\n,,,\"1234567\"],[,,\"111\\\\d{6}|(?:31|77|[89][89])\\\\d{7}\",,,,\"991234567\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MW\",265,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1[2-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[137-9]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MX:[,[,,\"1(?:(?:[27]2|44|99)[1-9]|65[0-689])\\\\d{7}|(?:1(?:[01]\\\\d|2[13-9]|[35][1-9]|4[0-35-9]|6[0-46-9]|7[013-9]|8[1-79]|9[1-8])|[2-9]\\\\d)\\\\d{8}\",\n,,,,,,[10,11],[7,8]],[,,\"657[12]\\\\d{6}|(?:2(?:0[01]|2\\\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\\\d|8[1-35-9]|9[2-689])|5(?:[56]\\\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\\\d))\\\\d{7}\",,,,\"2001234567\",,,[10],[7,8]],\n[,,\"657[12]\\\\d{6}|(?:1(?:2(?:2[1-9]|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[24-7][1-9]|3[1-8]|8[1-35-9]|9[2-689])|5(?:[56]\\\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[1-467][1-9]|5[13-9]|8[1-69]|9[17])|8(?:1\\\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|[69][1-9]|7[12]|8[1-8]))|2(?:2\\\\d|3[1-35-8]|4[13-9]|7[1-689]|8[1-578]|9[467])|3(?:1[1-79]|[2458][1-9]|3\\\\d|7[1-8]|9[1-5])|4(?:1[1-57-9]|[25-7][1-9]|3[1-8]|4\\\\d|8[1-35-9]|9[2-689])|5(?:[56]\\\\d|88|9[1-79])|6(?:1[2-68]|[2-4][1-9]|5[1-3689]|6[1-57-9]|7[1-7]|8[67]|9[4-8])|7(?:[13467][1-9]|2\\\\d|5[13-9]|8[1-69]|9[17])|8(?:1\\\\d|2[13-689]|3[1-6]|4[124-6]|6[1246-9]|7[1-378]|9[12479])|9(?:1[346-9]|2[1-4]|3[2-46-8]|5[1348]|6[1-9]|7[12]|8[1-8]|9\\\\d))\\\\d{7}\",\n,,,\"12221234567\",,,,[7,8]],[,,\"8(?:00|88)\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,\"900\\\\d{7}\",,,,\"9001234567\",,,[10]],[,,\"300\\\\d{7}\",,,,\"3001234567\",,,[10]],[,,\"500\\\\d{7}\",,,,\"5001234567\",,,[10]],[,,,,,,,,,[-1]],\"MX\",52,\"0[09]\",\"01\",,,\"0(?:[12]|4[45])|1\",,\"00\",,[[,\"(\\\\d{5})\",\"$1\",[\"53\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"33|5[56]|81\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-9]\"],,,1],[,\"(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$2 $3 $4\",[\"1(?:33|5[56]|81)\"],,,1],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\n\"$2 $3 $4\",[\"1\"],,,1]],[[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"33|5[56]|81\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[2-9]\"],,,1],[,\"(\\\\d)(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$2 $3 $4\",[\"1(?:33|5[56]|81)\"],,,1],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$2 $3 $4\",[\"1\"],,,1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MY:[,[,,\"1\\\\d{8,9}|(?:3\\\\d|[4-9])\\\\d{7}\",,,,,,,[8,9,10],[6,7]],[,,\"(?:3(?:2[0-36-9]|3[0-368]|4[0-278]|5[0-24-8]|6[0-467]|7[1246-9]|8\\\\d|9[0-57])\\\\d|4(?:2[0-689]|[3-79]\\\\d|8[1-35689])|5(?:2[0-589]|[3468]\\\\d|5[0-489]|7[1-9]|9[23])|6(?:2[2-9]|3[1357-9]|[46]\\\\d|5[0-6]|7[0-35-9]|85|9[015-8])|7(?:[2579]\\\\d|3[03-68]|4[0-8]|6[5-9]|8[0-35-9])|8(?:[24][2-8]|3[2-5]|5[2-7]|6[2-589]|7[2-578]|[89][2-9])|9(?:0[57]|13|[25-7]\\\\d|[3489][0-8]))\\\\d{5}\",\n,,,\"323856789\",,,[8,9],[6,7]],[,,\"1(?:1888[689]|4400|8(?:47|8[27])[0-4])\\\\d{4}|1(?:0(?:[23568]\\\\d|4[0-6]|7[016-9]|9[0-8])|1(?:[1-5]\\\\d\\\\d|6(?:0[5-9]|[1-9]\\\\d)|7(?:[0134]\\\\d|2[1-9]|5[0-6]))|(?:[269]\\\\d|[37][1-9]|4[235-9])\\\\d|5(?:31|9\\\\d\\\\d)|8(?:1[23]|[236]\\\\d|4[06]|5(?:46|[7-9])|7[016-9]|8[01]|9[0-8]))\\\\d{5}\",,,,\"123456789\",,,[9,10]],[,,\"1[378]00\\\\d{6}\",,,,\"1300123456\",,,[10]],[,,\"1600\\\\d{6}\",,,,\"1600123456\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"15(?:4(?:6[0-4]\\\\d|8(?:0[125]|[17]\\\\d|21|3[01]|4[01589]|5[014]|6[02]))|6(?:32[0-6]|78\\\\d))\\\\d{4}\",\n,,,\"1546012345\",,,[10]],\"MY\",60,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3\",[\"[4-79]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1-$2 $3\",[\"1(?:[02469]|[378][1-9]|53)|8\",\"1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8\"],\"0$1\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1-$2 $3\",[\"3\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1-$2-$3-$4\",[\"1(?:[367]|80)\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2 $3\",[\"15\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1-$2 $3\",[\"1\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],MZ:[,[,,\"(?:2|8\\\\d)\\\\d{7}\",,,,,,,[8,9]],[,,\"2(?:[1346]\\\\d|5[0-2]|[78][12]|93)\\\\d{5}\",,,,\"21123456\",,,[8]],[,,\"8[2-79]\\\\d{7}\",,,,\"821234567\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"MZ\",258,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2|8[2-79]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NA:[,[,,\"[68]\\\\d{7,8}\",\n,,,,,,[8,9]],[,,\"64426\\\\d{3}|6(?:1(?:2[2-7]|3[01378]|4[0-4])|254|32[0237]|4(?:27|41|5[25])|52[236-8]|626|7(?:2[2-4]|30))\\\\d{4,5}|6(?:1(?:(?:0\\\\d|2[0189]|3[24-69]|4[5-9])\\\\d|17|69|7[014])|2(?:17|5[0-36-8]|69|70)|3(?:17|2[14-689]|34|6[289]|7[01]|81)|4(?:17|2[0-2]|4[06]|5[0137]|69|7[01])|5(?:17|2[0459]|69|7[01])|6(?:17|25|38|42|69|7[01])|7(?:17|2[569]|3[13]|6[89]|7[01]))\\\\d{4}\",,,,\"61221234\"],[,,\"(?:60|8[1245])\\\\d{7}\",,,,\"811234567\",,,[9]],[,,\"80\\\\d{7}\",,,,\"800123456\",,,[9]],[,,\"8701\\\\d{5}\",,,,\"870123456\",\n,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"8(?:3\\\\d\\\\d|86)\\\\d{5}\",,,,\"88612345\"],\"NA\",264,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"88\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"6\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"87\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NC:[,[,,\"(?:050|[2-57-9]\\\\d\\\\d)\\\\d{3}\",,,,,,,[6]],[,,\"(?:2[03-9]|3[0-5]|4[1-7]|88)\\\\d{4}\",,,,\"201234\"],[,\n,\"(?:5[0-4]|[79]\\\\d|8[0-79])\\\\d{4}\",,,,\"751234\"],[,,\"050\\\\d{3}\",,,,\"050012\"],[,,\"36\\\\d{4}\",,,,\"366711\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NC\",687,\"00\",,,,,,,,[[,\"(\\\\d{3})\",\"$1\",[\"5[6-8]\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1.$2.$3\",[\"[02-57-9]\"]]],[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1.$2.$3\",[\"[02-57-9]\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NE:[,[,,\"[027-9]\\\\d{7}\",,,,,,,[8]],[,,\"2(?:0(?:20|3[1-8]|4[13-5]|5[14]|6[14578]|7[1-578])|1(?:4[145]|5[14]|6[14-68]|7[169]|88))\\\\d{4}\",\n,,,\"20201234\"],[,,\"(?:23|7[04]|[89]\\\\d)\\\\d{6}\",,,,\"93123456\"],[,,\"08\\\\d{6}\",,,,\"08123456\"],[,,\"09\\\\d{6}\",,,,\"09123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NE\",227,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"08\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[089]|2[013]|7[04]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NF:[,[,,\"[13]\\\\d{5}\",,,,,,,[6],[5]],[,,\"(?:1(?:06|17|28|39)|3[0-2]\\\\d)\\\\d{3}\",,,,\"106609\",,,,[5]],[,,\"(?:14|3[58])\\\\d{4}\",\n,,,\"381234\",,,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NF\",672,\"00\",,,,\"([0-258]\\\\d{4})$\",\"3$1\",,,[[,\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"1[0-3]\"]],[,\"(\\\\d)(\\\\d{5})\",\"$1 $2\",[\"[13]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NG:[,[,,\"(?:[124-7]|9\\\\d{3})\\\\d{6}|[1-9]\\\\d{7}|[78]\\\\d{9,13}\",,,,,,,[7,8,10,11,12,13,14],[5,6]],[,,\"(?:(?:[1-356]\\\\d|4[02-8]|8[2-9])\\\\d|9(?:0[3-9]|[1-9]\\\\d))\\\\d{5}|7(?:0(?:[013-689]\\\\d|2[0-24-9])\\\\d{3,4}|[1-79]\\\\d{6})|(?:[12]\\\\d|4[147]|5[14579]|6[1578]|7[1-3578])\\\\d{5}\",\n,,,\"18040123\",,,[7,8],[5,6]],[,,\"(?:702[0-24-9]|819[01])\\\\d{6}|(?:70[13-689]|8(?:0[1-9]|1[0-8])|9(?:0[1-9]|1[1-356]))\\\\d{7}\",,,,\"8021234567\",,,[10]],[,,\"800\\\\d{7,11}\",,,,\"80017591759\",,,[10,11,12,13,14]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NG\",234,\"009\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"78\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[12]|9(?:0[3-9]|[1-9])\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[3-7]|8[2-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\n\"$1 $2 $3\",[\"[7-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"[78]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5})(\\\\d{5,6})\",\"$1 $2 $3\",[\"[78]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"700\\\\d{7,11}\",,,,\"7001234567\",,,[10,11,12,13,14]],,,[,,,,,,,,,[-1]]],NI:[,[,,\"(?:1800|[25-8]\\\\d{3})\\\\d{4}\",,,,,,,[8]],[,,\"2\\\\d{7}\",,,,\"21234567\"],[,,\"(?:5(?:5[0-7]|[78]\\\\d)|6(?:20|3[035]|4[045]|5[05]|77|8[1-9]|9[059])|(?:7[5-8]|8\\\\d)\\\\d)\\\\d{5}\",,,,\"81234567\"],[,,\"1800\\\\d{4}\",,,,\"18001234\"],[,,,,,,,,,[-1]],[,,,,,,,,,\n[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NI\",505,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[125-8]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NL:[,[,,\"(?:[124-7]\\\\d\\\\d|3(?:[02-9]\\\\d|1[0-8]))\\\\d{6}|8\\\\d{6,9}|9\\\\d{6,10}|1\\\\d{4,5}\",,,,,,,[5,6,7,8,9,10,11]],[,,\"(?:1(?:[035]\\\\d|1[13-578]|6[124-8]|7[24]|8[0-467])|2(?:[0346]\\\\d|2[2-46-9]|5[125]|9[479])|3(?:[03568]\\\\d|1[3-8]|2[01]|4[1-8])|4(?:[0356]\\\\d|1[1-368]|7[58]|8[15-8]|9[23579])|5(?:[0358]\\\\d|[19][1-9]|2[1-57-9]|4[13-8]|6[126]|7[0-3578])|7\\\\d\\\\d)\\\\d{6}\",\n,,,\"101234567\",,,[9]],[,,\"(?:6[1-58]|970\\\\d)\\\\d{7}\",,,,\"612345678\",,,[9,11]],[,,\"800\\\\d{4,7}\",,,,\"8001234\",,,[7,8,9,10]],[,,\"90[069]\\\\d{4,7}\",,,,\"9061234\",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:85|91)\\\\d{7}\",,,,\"851234567\",,,[9]],\"NL\",31,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})\",\"$1\",[\"1[238]|[34]\"]],[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"14\"]],[,\"(\\\\d{6})\",\"$1\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{4,7})\",\"$1 $2\",[\"[89]0\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"66\"],\"0$1\"],[,\"(\\\\d)(\\\\d{8})\",\"$1 $2\",[\"6\"],\"0$1\"],[,\n\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1[16-8]|2[259]|3[124]|4[17-9]|5[124679]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-578]|91\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\",[\"9\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{4,7})\",\"$1 $2\",[\"[89]0\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"66\"],\"0$1\"],[,\"(\\\\d)(\\\\d{8})\",\"$1 $2\",[\"6\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1[16-8]|2[259]|3[124]|4[17-9]|5[124679]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-578]|91\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\n\"$1 $2 $3\",[\"9\"],\"0$1\"]],[,,\"66\\\\d{7}\",,,,\"662345678\",,,[9]],,,[,,\"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)\\\\d\",,,,,,,[5,6]],[,,\"140(?:1[035]|2[0346]|3[03568]|4[0356]|5[0358]|8[458])|(?:140(?:1[16-8]|2[259]|3[124]|4[17-9]|5[124679]|7)|8[478]\\\\d{6})\\\\d\",,,,\"14020\",,,[5,6,9]],,,[,,,,,,,,,[-1]]],NO:[,[,,\"(?:0|[2-9]\\\\d{3})\\\\d{4}\",,,,,,,[5,8]],[,,\"(?:2[1-4]|3[1-3578]|5[1-35-7]|6[1-4679]|7[0-8])\\\\d{6}\",,,,\"21234567\",,,[8]],[,,\"(?:4[015-8]|59|9\\\\d)\\\\d{6}\",\n,,,\"40612345\",,,[8]],[,,\"80[01]\\\\d{5}\",,,,\"80012345\",,,[8]],[,,\"82[09]\\\\d{5}\",,,,\"82012345\",,,[8]],[,,\"810(?:0[0-6]|[2-8]\\\\d)\\\\d{3}\",,,,\"81021234\",,,[8]],[,,\"880\\\\d{5}\",,,,\"88012345\",,,[8]],[,,\"85[0-5]\\\\d{5}\",,,,\"85012345\",,,[8]],\"NO\",47,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"[489]|59\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[235-7]\"]]],,[,,,,,,,,,[-1]],1,\"[02-689]|7[0-8]\",[,,,,,,,,,[-1]],[,,\"(?:0[2-9]|81(?:0(?:0[7-9]|1\\\\d)|5\\\\d\\\\d))\\\\d{3}\",,,,\"02000\"],,,[,,\"81[23]\\\\d{5}\",\n,,,\"81212345\",,,[8]]],NP:[,[,,\"(?:1\\\\d|9)\\\\d{9}|[1-9]\\\\d{7}\",,,,,,,[8,10,11],[6,7]],[,,\"(?:1[0-6]\\\\d|99[02-6])\\\\d{5}|(?:2[13-79]|3[135-8]|4[146-9]|5[135-7]|6[13-9]|7[15-9]|8[1-46-9]|9[1-7])[2-6]\\\\d{5}\",,,,\"14567890\",,,[8],[6,7]],[,,\"9(?:6[0-3]|7[024-6]|8[0-24-68])\\\\d{7}\",,,,\"9841234567\",,,[10]],[,,\"1(?:66001|800\\\\d\\\\d)\\\\d{5}\",,,,\"16600101234\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NP\",977,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{7})\",\"$1-$2\",[\"1[2-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{6})\",\n\"$1-$2\",[\"1[01]|[2-8]|9(?:[1-59]|[67][2-6])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1-$2\",[\"9\"]],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{5})\",\"$1-$2-$3\",[\"1\"]]],[[,\"(\\\\d)(\\\\d{7})\",\"$1-$2\",[\"1[2-6]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{6})\",\"$1-$2\",[\"1[01]|[2-8]|9(?:[1-59]|[67][2-6])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1-$2\",[\"9\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NR:[,[,,\"(?:444|(?:55|8\\\\d)\\\\d|666)\\\\d{4}\",,,,,,,[7]],[,,\"444\\\\d{4}\",,,,\"4441234\"],[,,\"(?:55[3-9]|666|8\\\\d\\\\d)\\\\d{4}\",,,,\"5551234\"],[,,,,,,\n,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NR\",674,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[4-68]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NU:[,[,,\"(?:[47]|888\\\\d)\\\\d{3}\",,,,,,,[4,7]],[,,\"[47]\\\\d{3}\",,,,\"7012\",,,[4]],[,,\"888[4-9]\\\\d{3}\",,,,\"8884012\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"NU\",683,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],NZ:[,[,,\"[29]\\\\d{7,9}|50\\\\d{5}(?:\\\\d{2,3})?|6[0-35-9]\\\\d{6}|7\\\\d{7,8}|8\\\\d{4,9}|(?:11\\\\d|[34])\\\\d{7}\",,,,,,,[5,6,7,8,9,10]],[,,\"24099\\\\d{3}|(?:3[2-79]|[49][2-9]|6[235-9]|7[2-57-9])\\\\d{6}\",,,,\"32345678\",,,[8],[7]],[,,\"2[0-27-9]\\\\d{7,8}|21\\\\d{6}\",,,,\"211234567\",,,[8,9,10]],[,,\"508\\\\d{6,7}|80\\\\d{6,8}\",,,,\"800123456\",,,[8,9,10]],[,,\"(?:11\\\\d{5}|50(?:0[08]|30|66|77|88))\\\\d{3}|90\\\\d{6,8}\",,,,\"900123456\",,,[7,8,9,10]],[,,,,,,,,,[-1]],[,,\"70\\\\d{7}\",,,,\"701234567\",,,[9]],[,\n,,,,,,,,[-1]],\"NZ\",64,\"0(?:0|161)\",\"0\",,,\"0\",,\"00\",,[[,\"(\\\\d{2})(\\\\d{3,8})\",\"$1 $2\",[\"8[1-579]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"50[036-8]|[89]0\",\"50(?:[0367]|88)|[89]0\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"24|[346]|7[2-57-9]|9[2-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2(?:10|74)|[59]|80\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"1|2[028]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,5})\",\"$1 $2 $3\",[\"2(?:[169]|7[0-35-9])|7|86\"],\"0$1\"]],,[,,\"[28]6\\\\d{6,7}\",\n,,,\"26123456\",,,[8,9]],,,[,,,,,,,,,[-1]],[,,\"8(?:1[6-9]|22|3\\\\d|4[045]|5[459]|7[0-3579]|90)\\\\d{2,7}\",,,,\"83012378\"],,,[,,,,,,,,,[-1]]],OM:[,[,,\"(?:1505|[279]\\\\d{3}|500)\\\\d{4}|800\\\\d{5,6}\",,,,,,,[7,8,9]],[,,\"2[2-6]\\\\d{6}\",,,,\"23123456\",,,[8]],[,,\"1505\\\\d{4}|(?:7(?:[1289]\\\\d|7[0-5])|9(?:0[1-9]|[1-9]\\\\d))\\\\d{5}\",,,,\"92123456\",,,[8]],[,,\"8007\\\\d{4,5}|(?:500|800[05])\\\\d{4}\",,,,\"80071234\"],[,,\"900\\\\d{5}\",,,,\"90012345\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"OM\",968,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4,6})\",\n\"$1 $2\",[\"[58]\"]],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"2\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[179]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PA:[,[,,\"(?:00800|8\\\\d{3})\\\\d{6}|[68]\\\\d{7}|[1-57-9]\\\\d{6}\",,,,,,,[7,8,10,11]],[,,\"(?:1(?:0\\\\d|1[479]|2[37]|3[0137]|4[17]|5[05]|6[58]|7[0167]|8[2358]|9[1389])|2(?:[0235-79]\\\\d|1[0-7]|4[013-9]|8[02-9])|3(?:[089]\\\\d|1[0-7]|2[0-5]|33|4[0-79]|5[0-35]|6[068]|7[0-8])|4(?:00|3[0-579]|4\\\\d|7[0-57-9])|5(?:[01]\\\\d|2[0-7]|[56]0|79)|7(?:0[09]|2[0-26-8]|3[03]|4[04]|5[05-9]|6[056]|7[0-24-9]|8[5-9]|90)|8(?:09|2[89]|3\\\\d|4[0-24-689]|5[014]|8[02])|9(?:0[5-9]|1[0135-8]|2[036-9]|3[35-79]|40|5[0457-9]|6[05-9]|7[04-9]|8[35-8]|9\\\\d))\\\\d{4}\",\n,,,\"2001234\",,,[7]],[,,\"(?:1[16]1|21[89]|6\\\\d{3}|8(?:1[01]|7[23]))\\\\d{4}\",,,,\"61234567\",,,[7,8]],[,,\"800\\\\d{4,5}|(?:00800|800\\\\d)\\\\d{6}\",,,,\"8001234\"],[,,\"(?:8(?:22|55|60|7[78]|86)|9(?:00|81))\\\\d{4}\",,,,\"8601234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"PA\",507,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[1-57-9]\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1-$2\",[\"[68]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PE:[,[,,\"(?:[14-8]|9\\\\d)\\\\d{7}\",\n,,,,,,[8,9],[6,7]],[,,\"(?:(?:4[34]|5[14])[0-8]\\\\d|7(?:173|3[0-8]\\\\d)|8(?:10[05689]|6(?:0[06-9]|1[6-9]|29)|7(?:0[569]|[56]0)))\\\\d{4}|(?:1[0-8]|4[12]|5[236]|6[1-7]|7[246]|8[2-4])\\\\d{6}\",,,,\"11234567\",,,[8],[6,7]],[,,\"9\\\\d{8}\",,,,\"912345678\",,,[9]],[,,\"800\\\\d{5}\",,,,\"80012345\",,,[8]],[,,\"805\\\\d{5}\",,,,\"80512345\",,,[8]],[,,\"801\\\\d{5}\",,,,\"80112345\",,,[8]],[,,\"80[24]\\\\d{5}\",,,,\"80212345\",,,[8]],[,,,,,,,,,[-1]],\"PE\",51,\"00|19(?:1[124]|77|90)00\",\"0\",\" Anexo \",,\"0\",,\"00\",,[[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"80\"],\n\"(0$1)\"],[,\"(\\\\d)(\\\\d{7})\",\"$1 $2\",[\"1\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[4-8]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PF:[,[,,\"4\\\\d{5}(?:\\\\d{2})?|8\\\\d{7,8}\",,,,,,,[6,8,9]],[,,\"4(?:0[4-689]|9[4-68])\\\\d{5}\",,,,\"40412345\",,,[8]],[,,\"8[7-9]\\\\d{6}\",,,,\"87123456\",,,[8]],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"499\\\\d{5}\",,,,\"49901234\",,,[8]],\"PF\",689,\"00\",\n,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"44\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"4|8[7-9]\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,\"44\\\\d{4}\",,,,,,,[6]],[,,\"44\\\\d{4}\",,,,\"440123\",,,[6]],,,[,,,,,,,,,[-1]]],PG:[,[,,\"(?:180|[78]\\\\d{3})\\\\d{4}|(?:[2-589]\\\\d|64)\\\\d{5}\",,,,,,,[7,8]],[,,\"(?:(?:3[0-2]|4[257]|5[34]|9[78])\\\\d|64[1-9]|85[02-46-9])\\\\d{4}\",,,,\"3123456\",,,[7]],[,,\"(?:7\\\\d|8[128])\\\\d{6}\",,,,\"70123456\",,,[8]],[,,\"180\\\\d{4}\",,,\n,\"1801234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"2(?:0[0-57]|7[568])\\\\d{4}\",,,,\"2751234\",,,[7]],\"PG\",675,\"00|140[1-3]\",,,,,,\"00\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"18|[2-69]|85\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[78]\"]]],,[,,\"27[01]\\\\d{4}\",,,,\"2700123\",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PH:[,[,,\"(?:[2-7]|9\\\\d)\\\\d{8}|2\\\\d{5}|(?:1800|8)\\\\d{7,9}\",,,,,,,[6,8,9,10,11,12,13],[4,5,7]],[,,\"(?:(?:2[3-8]|3[2-68]|4[2-9]|5[2-6]|6[2-58]|7[24578])\\\\d{3}|88(?:22\\\\d\\\\d|42))\\\\d{4}|(?:2|8[2-8]\\\\d\\\\d)\\\\d{5}\",\n,,,\"232345678\",,,[6,8,9,10],[4,5,7]],[,,\"(?:8(?:1[37]|9[5-8])|9(?:0[5-9]|1[0-24-9]|[235-7]\\\\d|4[2-9]|8[135-9]|9[1-9]))\\\\d{7}\",,,,\"9051234567\",,,[10]],[,,\"1800\\\\d{7,9}\",,,,\"180012345678\",,,[11,12,13]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"PH\",63,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{5})\",\"$1 $2\",[\"2\"],\"(0$1)\"],[,\"(\\\\d{4})(\\\\d{4,6})\",\"$1 $2\",[\"3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2\",\"3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))\"],\n\"(0$1)\"],[,\"(\\\\d{5})(\\\\d{4})\",\"$1 $2\",[\"346|4(?:27|9[35])|883\",\"3469|4(?:279|9(?:30|56))|8834\"],\"(0$1)\"],[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-7]|8[2-8]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]],[,\"(\\\\d{4})(\\\\d{1,2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"1\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PK:[,[,,\"122\\\\d{6}|[24-8]\\\\d{10,11}|9(?:[013-9]\\\\d{8,10}|2(?:[01]\\\\d\\\\d|2(?:[06-8]\\\\d|1[01]))\\\\d{7})|(?:[2-8]\\\\d{3}|92(?:[0-7]\\\\d|8[1-9]))\\\\d{6}|[24-9]\\\\d{8}|[89]\\\\d{7}\",\n,,,,,,[8,9,10,11,12],[5,6,7]],[,,\"(?:(?:21|42)[2-9]|58[126])\\\\d{7}|(?:2[25]|4[0146-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\\\\d{6,7}|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8]))[2-9]\\\\d{5,6}\",,,,\"2123456789\",,,[9,10],[5,6,7,8]],[,,\"3(?:[0-24]\\\\d|3[0-7]|55|64)\\\\d{7}\",,,,\"3012345678\",,,[10]],[,,\"800\\\\d{5}(?:\\\\d{3})?\",,,,\"80012345\",,,[8,11]],[,,\"900\\\\d{5}\",,,,\"90012345\",,,[8]],[,,,,,,,,,[-1]],[,,\"122\\\\d{6}\",\n,,,\"122044444\",,,[9]],[,,,,,,,,,[-1]],\"PK\",92,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2,7})\",\"$1 $2 $3\",[\"[89]0\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"1\"]],[,\"(\\\\d{3})(\\\\d{6,7})\",\"$1 $2\",[\"2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])\",\"9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]\"],\n\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{7,8})\",\"$1 $2\",[\"(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]\"],\"(0$1)\"],[,\"(\\\\d{5})(\\\\d{5})\",\"$1 $2\",[\"58\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{7})\",\"$1 $2\",[\"3\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[24-9]\"],\"(0$1)\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"(?:2(?:[125]|3[2358]|4[2-4]|9[2-8])|4(?:[0-246-9]|5[3479])|5(?:[1-35-7]|4[2-467])|6(?:0[468]|[1-8])|7(?:[14]|2[236])|8(?:[16]|2[2-689]|3[23578]|4[3478]|5[2356])|9(?:1|22|3[27-9]|4[2-6]|6[3569]|9[2-7]))111\\\\d{6}\",\n,,,\"21111825888\",,,[11,12]],,,[,,,,,,,,,[-1]]],PL:[,[,,\"(?:6|8\\\\d\\\\d)\\\\d{7}|[1-9]\\\\d{6}(?:\\\\d{2})?|[26]\\\\d{5}\",,,,,,,[6,7,8,9,10]],[,,\"47\\\\d{7}|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])(?:[02-9]\\\\d{6}|1(?:[0-8]\\\\d{5}|9\\\\d{3}(?:\\\\d{2})?))\",,,,\"123456789\",,,[7,9]],[,,\"21(?:1(?:[145]\\\\d|3[1-5])|2[0-4]\\\\d)\\\\d{4}|(?:45|5[0137]|6[069]|7[2389]|88)\\\\d{7}\",,,,\"512345678\",,,[9]],[,,\"800\\\\d{6,7}\",,,,\"800123456\",,,[9,10]],[,,\"70[01346-8]\\\\d{6}\",,,,\"701234567\",,,[9]],[,,\"801\\\\d{6}\",\n,,,\"801234567\",,,[9]],[,,,,,,,,,[-1]],[,,\"39\\\\d{7}\",,,,\"391234567\",,,[9]],\"PL\",48,\"00\",,,,,,,,[[,\"(\\\\d{5})\",\"$1\",[\"19\"]],[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"11|20|64\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3\",[\"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1\",\"(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"64\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)\"]],\n[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[2-8]|[2-7]|8[1-79]|9[145]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"8\"]]],,[,,\"64\\\\d{4,7}\",,,,\"641234567\",,,[6,7,8,9]],,,[,,,,,,,,,[-1]],[,,\"804\\\\d{6}\",,,,\"804123456\",,,[9]],,,[,,,,,,,,,[-1]]],PM:[,[,,\"(?:[45]|80\\\\d\\\\d)\\\\d{5}\",,,,,,,[6,9]],[,,\"(?:4[1-356]|50)\\\\d{4}\",,,,\"430123\",,,[6]],[,,\"(?:4[02-4]|5[056])\\\\d{4}\",,,,\"551234\",,,[6]],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"PM\",\n508,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[45]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PR:[,[,,\"(?:[589]\\\\d\\\\d|787)\\\\d{7}\",,,,,,,[10],[7]],[,,\"(?:787|939)[2-9]\\\\d{6}\",,,,\"7872345678\",,,,[7]],[,,\"(?:787|939)[2-9]\\\\d{6}\",,,,\"7872345678\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"PR\",1,\"011\",\"1\",,,\"1\",,,1,,,[,,,,,,,,,[-1]],,\"787|939\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PS:[,[,,\"[2489]2\\\\d{6}|(?:1\\\\d|5)\\\\d{8}\",,,,,,,[8,9,10],[7]],[,,\"(?:22[2-47-9]|42[45]|82[014-68]|92[3569])\\\\d{5}\",,,,\"22234567\",,,[8],[7]],[,,\"5[69]\\\\d{7}\",,,,\"599123456\",,,[9]],[,,\"1800\\\\d{6}\",,,,\"1800123456\",,,[10]],[,,,,,,,,,[-1]],[,,\"1700\\\\d{6}\",,,,\"1700123456\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"PS\",970,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",\n[\"[2489]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PT:[,[,,\"1693\\\\d{5}|(?:[26-9]\\\\d|30)\\\\d{7}\",,,,,,,[9]],[,,\"2(?:[12]\\\\d|3[1-689]|4[1-59]|[57][1-9]|6[1-35689]|8[1-69]|9[1256])\\\\d{6}\",,,,\"212345678\"],[,,\"6(?:[06]92(?:30|9\\\\d)|[35]92(?:3[03]|9\\\\d))\\\\d{3}|(?:(?:16|6[0356])93|9(?:[1-36]\\\\d\\\\d|480))\\\\d{5}\",,,,\"912345678\"],[,,\"80[02]\\\\d{6}\",,,,\"800123456\"],[,,\"(?:6(?:0[178]|4[68])\\\\d|76(?:0[1-57]|1[2-47]|2[237]))\\\\d{5}\",\n,,,\"760123456\"],[,,\"80(?:8\\\\d|9[1579])\\\\d{5}\",,,,\"808123456\"],[,,\"884[0-4689]\\\\d{5}\",,,,\"884123456\"],[,,\"30\\\\d{7}\",,,,\"301234567\"],\"PT\",351,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2[12]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"16|[236-9]\"]]],,[,,\"6222\\\\d{5}\",,,,\"622212345\"],,,[,,,,,,,,,[-1]],[,,\"70(?:7\\\\d|8[17])\\\\d{5}\",,,,\"707123456\"],,,[,,\"600\\\\d{6}|6[06]9233\\\\d{3}\",,,,\"600110000\"]],PW:[,[,,\"(?:[24-8]\\\\d\\\\d|345|900)\\\\d{4}\",,,,,,,[7]],[,,\"(?:2(?:55|77)|345|488|5(?:35|44|87)|6(?:22|54|79)|7(?:33|47)|8(?:24|55|76)|900)\\\\d{4}\",\n,,,\"2771234\"],[,,\"(?:(?:46|83)[0-5]|6[2-4689]0)\\\\d{4}|(?:45|77|88)\\\\d{5}\",,,,\"6201234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"PW\",680,\"01[12]\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],PY:[,[,,\"59\\\\d{4,6}|9\\\\d{5,10}|(?:[2-46-8]\\\\d|5[0-8])\\\\d{4,7}\",,,,,,,[6,7,8,9,10,11],[5]],[,,\"(?:[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36])\\\\d{5,7}|(?:2(?:2[4-68]|[4-68]\\\\d|7[15]|9[1-5])|3(?:18|3[167]|4[2357]|51|[67]\\\\d)|4(?:3[12]|5[13]|9[1-47])|5(?:[1-4]\\\\d|5[02-4])|6(?:3[1-3]|44|7[1-8])|7(?:4[0-4]|5\\\\d|6[1-578]|75|8[0-8])|858)\\\\d{5,6}\",\n,,,\"212345678\",,,[7,8,9],[5,6]],[,,\"9(?:51|6[129]|[78][1-6]|9[1-5])\\\\d{6}\",,,,\"961456789\",,,[9]],[,,\"9800\\\\d{5,7}\",,,,\"98000123456\",,,[9,10,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"8700[0-4]\\\\d{4}\",,,,\"870012345\",,,[9]],\"PY\",595,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3,6})\",\"$1 $2\",[\"[2-9]0\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"[26]1|3[289]|4[1246-8]|7[1-3]|8[1-36]\"],\"(0$1)\"],[,\"(\\\\d{3})(\\\\d{4,5})\",\"$1 $2\",[\"2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\n\"$1 $2 $3\",[\"2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"87\"]],[,\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"9(?:[5-79]|8[1-6])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-8]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"9\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"[2-9]0\\\\d{4,7}\",,,,\"201234567\",,,[6,7,8,9]],,,[,,,,,,,,,[-1]]],QA:[,[,,\"800\\\\d{4}|(?:2|800)\\\\d{6}|(?:0080|[3-7])\\\\d{7}\",,,,,,,[7,8,9,11]],[,,\"4(?:1111|2022)\\\\d{3}|4(?:[04]\\\\d\\\\d|14[0-6]|999)\\\\d{4}\",\n,,,\"44123456\",,,[8]],[,,\"[35-7]\\\\d{7}\",,,,\"33123456\",,,[8]],[,,\"800\\\\d{4}|(?:0080[01]|800)\\\\d{6}\",,,,\"8001234\",,,[7,9,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"QA\",974,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"2[16]|8\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[3-7]\"]]],,[,,\"2(?:1\\\\d|61)\\\\d{4}\",,,,\"2123456\",,,[7]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RE:[,[,,\"(?:26|[689]\\\\d)\\\\d{7}\",,,,,,,[9]],[,,\"26(?:2\\\\d\\\\d|3(?:0\\\\d|1[0-3]))\\\\d{4}\",,,,\"262161234\"],[,,\"(?:69(?:2\\\\d\\\\d|3(?:0[0-46]|1[013]|2[0-2]|3[0-39]|4\\\\d|5[0-5]|6[0-6]|7[0-27]|8[0-8]|9[0-479]))|9(?:399[0-2]|4790|76(?:2[27]|3[0-37]|9\\\\d)))\\\\d{4}\",\n,,,\"692123456\"],[,,\"80\\\\d{7}\",,,,\"801234567\"],[,,\"89[1-37-9]\\\\d{6}\",,,,\"891123456\"],[,,\"8(?:1[019]|2[0156]|84|90)\\\\d{6}\",,,,\"810123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"RE\",262,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2689]\"],\"0$1\"]],,[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RO:[,[,,\"(?:[2378]\\\\d|90)\\\\d{7}|[23]\\\\d{5}\",,,,,,,[6,9]],[,,\"[23][13-6]\\\\d{7}|(?:2(?:19\\\\d|[3-6]\\\\d9)|31\\\\d\\\\d)\\\\d\\\\d\",,,,\"211234567\"],[,,\"7020\\\\d{5}|7(?:0[013-9]|1[0-3]|[2-7]\\\\d|8[03-8]|9[0-29])\\\\d{6}\",\n,,,\"712034567\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\"90[0136]\\\\d{6}\",,,,\"900123456\",,,[9]],[,,\"801\\\\d{6}\",,,,\"801123456\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"RO\",40,\"00\",\"0\",\" int \",,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"2[3-6]\",\"2[3-6]\\\\d9\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"219|31\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[23]1\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[237-9]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"(?:37\\\\d|80[578])\\\\d{6}\",,,,\"372123456\",\n,,[9]],,,[,,,,,,,,,[-1]]],RS:[,[,,\"38[02-9]\\\\d{6,9}|6\\\\d{7,9}|90\\\\d{4,8}|38\\\\d{5,6}|(?:7\\\\d\\\\d|800)\\\\d{3,9}|(?:[12]\\\\d|3[0-79])\\\\d{5,10}\",,,,,,,[6,7,8,9,10,11,12],[4,5]],[,,\"(?:11[1-9]\\\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\\\d))\\\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\\\d{4,9}\",,,,\"10234567\",,,[7,8,9,10,11,12],[4,5,6]],[,,\"6(?:[0-689]|7\\\\d)\\\\d{6,7}\",,,,\"601234567\",,,[8,9,10]],[,,\"800\\\\d{3,9}\",,,,\"80012345\"],[,,\"(?:78\\\\d|90[0169])\\\\d{3,7}\",,,,\"90012345\",,,[6,7,8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],\"RS\",381,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3,9})\",\"$1 $2\",[\"(?:2[389]|39)0|[7-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{5,10})\",\"$1 $2\",[\"[1-36]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"7[06]\\\\d{4,10}\",,,,\"700123456\"],,,[,,,,,,,,,[-1]]],RU:[,[,,\"8\\\\d{13}|[347-9]\\\\d{9}\",,,,,,,[10,14],[7]],[,,\"(?:3(?:0[12]|4[1-35-79]|5[1-3]|65|8[1-58]|9[0145])|4(?:01|1[1356]|2[13467]|7[1-5]|8[1-7]|9[1-689])|8(?:1[1-8]|2[01]|3[13-6]|4[0-8]|5[15]|6[1-35-79]|7[1-37-9]))\\\\d{7}\",,,,\"3011234567\",,,[10],[7]],[,,\"9\\\\d{9}\",\n,,,\"9123456789\",,,[10]],[,,\"8(?:0[04]|108\\\\d{3})\\\\d{7}\",,,,\"8001234567\"],[,,\"80[39]\\\\d{7}\",,,,\"8091234567\",,,[10]],[,,,,,,,,,[-1]],[,,\"808\\\\d{7}\",,,,\"8081234567\",,,[10]],[,,,,,,,,,[-1]],\"RU\",7,\"810\",\"8\",,,\"8\",,\"8~10\",,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1-$2-$3\",[\"[0-79]\"]],[,\"(\\\\d{4})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"7(?:1[0-8]|2[1-9])\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2\"],\"8 ($1)\",,1],[,\"(\\\\d{5})(\\\\d)(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"7(?:1[0-68]|2[1-9])\",\"7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))\",\"7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]\"],\"8 ($1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"8 ($1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[349]|8(?:[02-7]|1[1-8])\"],\"8 ($1)\",,1],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\n\"$1 $2 $3 $4\",[\"8\"],\"8 ($1)\"]],[[,\"(\\\\d{4})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"7(?:1[0-8]|2[1-9])\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))\",\"7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2\"],\"8 ($1)\",,1],[,\"(\\\\d{5})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"7(?:1[0-68]|2[1-9])\",\"7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))\",\"7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]\"],\n\"8 ($1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"8 ($1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[349]|8(?:[02-7]|1[1-8])\"],\"8 ($1)\",,1],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"8\"],\"8 ($1)\"]],[,,,,,,,,,[-1]],1,\"3[04-689]|[489]\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],RW:[,[,,\"(?:06|[27]\\\\d\\\\d|[89]00)\\\\d{6}\",,,,,,,[8,9]],[,,\"(?:06|2[23568]\\\\d)\\\\d{6}\",,,,\"250123456\"],[,,\"7[2389]\\\\d{7}\",,,,\"720123456\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\n\"900\\\\d{6}\",,,,\"900123456\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"RW\",250,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"0\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[7-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SA:[,[,,\"92\\\\d{7}|(?:[15]|8\\\\d)\\\\d{8}\",,,,,,,[9,10],[7]],[,,\"1(?:1\\\\d|2[24-8]|3[35-8]|4[3-68]|6[2-5]|7[235-7])\\\\d{6}\",,,,\"112345678\",,,[9],[7]],[,,\"579[01]\\\\d{5}|5(?:[013-689]\\\\d|7[0-35-8])\\\\d{6}\",\n,,,\"512345678\",,,[9]],[,,\"800\\\\d{7}\",,,,\"8001234567\",,,[10]],[,,\"925\\\\d{6}\",,,,\"925012345\",,,[9]],[,,\"920\\\\d{6}\",,,,\"920012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SA\",966,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"9\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"5\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"81\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"811\\\\d{7}\",,,,\"8110123456\",\n,,[10]],,,[,,,,,,,,,[-1]]],SB:[,[,,\"(?:[1-6]|[7-9]\\\\d\\\\d)\\\\d{4}\",,,,,,,[5,7]],[,,\"(?:1[4-79]|[23]\\\\d|4[0-2]|5[03]|6[0-37])\\\\d{3}\",,,,\"40123\",,,[5]],[,,\"48\\\\d{3}|(?:(?:7[1-9]|8[4-9])\\\\d|9(?:1[2-9]|2[013-9]|3[0-2]|[46]\\\\d|5[0-46-9]|7[0-689]|8[0-79]|9[0-8]))\\\\d{4}\",,,,\"7421234\"],[,,\"1[38]\\\\d{3}\",,,,\"18123\",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"5[12]\\\\d{3}\",,,,\"51123\",,,[5]],\"SB\",677,\"0[01]\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"7|8[4-9]|9(?:[1-8]|9[0-8])\"]]],,[,,,,,,,,,[-1]],,,\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SC:[,[,,\"800\\\\d{4}|(?:[249]\\\\d|64)\\\\d{5}\",,,,,,,[7]],[,,\"4[2-46]\\\\d{5}\",,,,\"4217123\"],[,,\"2[125-8]\\\\d{5}\",,,,\"2510123\"],[,,\"800[08]\\\\d{3}\",,,,\"8000000\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"971\\\\d{4}|(?:64|95)\\\\d{5}\",,,,\"6412345\"],\"SC\",248,\"010|0[0-2]\",,,,,,\"00\",,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[246]|9[57]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SD:[,[,,\"[19]\\\\d{8}\",,,,,,,[9]],[,,\"1(?:5\\\\d|8[35-7])\\\\d{6}\",\n,,,\"153123456\"],[,,\"(?:1[0-2]|9[0-3569])\\\\d{7}\",,,,\"911231234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SD\",249,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[19]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SE:[,[,,\"(?:[26]\\\\d\\\\d|9)\\\\d{9}|[1-9]\\\\d{8}|[1-689]\\\\d{7}|[1-4689]\\\\d{6}|2\\\\d{5}\",,,,,,,[6,7,8,9,10,12]],[,,\"(?:(?:[12][136]|3[356]|4[0246]|6[03]|8\\\\d)\\\\d|90[1-9])\\\\d{4,6}|(?:1(?:2[0-35]|4[0-4]|5[0-25-9]|7[13-6]|[89]\\\\d)|2(?:2[0-7]|4[0136-8]|5[0138]|7[018]|8[01]|9[0-57])|3(?:0[0-4]|1\\\\d|2[0-25]|4[056]|7[0-2]|8[0-3]|9[023])|4(?:1[013-8]|3[0135]|5[14-79]|7[0-246-9]|8[0156]|9[0-689])|5(?:0[0-6]|[15][0-5]|2[0-68]|3[0-4]|4\\\\d|6[03-5]|7[013]|8[0-79]|9[01])|6(?:1[1-3]|2[0-4]|4[02-57]|5[0-37]|6[0-3]|7[0-2]|8[0247]|9[0-356])|9(?:1[0-68]|2\\\\d|3[02-5]|4[0-3]|5[0-4]|[68][01]|7[0135-8]))\\\\d{5,6}\",\n,,,\"8123456\",,,[7,8,9]],[,,\"7[02369]\\\\d{7}\",,,,\"701234567\",,,[9]],[,,\"20\\\\d{4,7}\",,,,\"20123456\",,,[6,7,8,9]],[,,\"649\\\\d{6}|99[1-59]\\\\d{4}(?:\\\\d{3})?|9(?:00|39|44)[1-8]\\\\d{3,6}\",,,,\"9001234567\",,,[7,8,9,10]],[,,\"77[0-7]\\\\d{6}\",,,,\"771234567\",,,[9]],[,,\"75[1-8]\\\\d{6}\",,,,\"751234567\",,,[9]],[,,,,,,,,,[-1]],\"SE\",46,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})\",\"$1-$2 $3\",[\"20\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"9(?:00|39|44|9)\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})\",\"$1-$2 $3\",[\"[12][136]|3[356]|4[0246]|6[03]|90[1-9]\"],\n\"0$1\"],[,\"(\\\\d)(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"8\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{2})\",\"$1-$2 $3\",[\"1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{3})\",\"$1-$2 $3\",[\"9(?:00|39|44)\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"10|7\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\n\"$1-$2 $3 $4\",[\"8\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4\",[\"[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1-$2 $3 $4\",[\"9\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1-$2 $3 $4 $5\",[\"[26]\"],\"0$1\"]],[[,\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})\",\"$1 $2 $3\",[\"20\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"9(?:00|39|44|9)\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3\",[\"[12][136]|3[356]|4[0246]|6[03]|90[1-9]\"]],[,\"(\\\\d)(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"8\"]],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{2})\",\"$1 $2 $3\",[\"1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"]],[,\"(\\\\d{3})(\\\\d{2,3})(\\\\d{3})\",\"$1 $2 $3\",[\"9(?:00|39|44)\"]],[,\"(\\\\d{2})(\\\\d{2,3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"10|7\"]],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"9\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4 $5\",[\"[26]\"]]],[,,\"74[02-9]\\\\d{6}\",,,,\"740123456\",,,[9]],,,[,,,,,,,,,[-1]],[,,\"10[1-8]\\\\d{6}\",,,,\"102345678\",,,[9]],,,[,,\"(?:25[245]|67[3-68])\\\\d{9}\",,,,\"254123456789\",,,[12]]],SG:[,[,,\"(?:(?:1\\\\d|8)\\\\d\\\\d|7000)\\\\d{7}|[3689]\\\\d{7}\",,,,,,,[8,10,11]],[,,\"662[0-24-9]\\\\d{4}|6(?:[0-578]\\\\d|6[013-57-9]|9[0-35-9])\\\\d{5}\",\n,,,\"61234567\",,,[8]],[,,\"8(?:06[0-6]|95[0-2])\\\\d{4}|(?:8(?:0[1-5]|[1-8]\\\\d|9[0-4])|9[0-8]\\\\d)\\\\d{5}\",,,,\"81234567\",,,[8]],[,,\"(?:18|8)00\\\\d{7}\",,,,\"18001234567\",,,[10,11]],[,,\"1900\\\\d{7}\",,,,\"19001234567\",,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:3[12]\\\\d|666)\\\\d{5}\",,,,\"31234567\",,,[8]],\"SG\",65,\"0[0-3]\\\\d\",,,,,,,,[[,\"(\\\\d{4,5})\",\"$1\",[\"1[013-9]|77\",\"1(?:[013-8]|9(?:0[1-9]|[1-9]))|77\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[369]|8(?:0[1-6]|[1-9])\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]],[,\n\"(\\\\d{4})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]]],[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[369]|8(?:0[1-6]|[1-9])\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"]],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"]],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"1\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"7000\\\\d{7}\",,,,\"70001234567\",,,[11]],,,[,,,,,,,,,[-1]]],SH:[,[,,\"(?:[256]\\\\d|8)\\\\d{3}\",,,,,,,[4,5]],[,,\"2(?:[0-57-9]\\\\d|6[4-9])\\\\d\\\\d\",,,,\"22158\"],[,,\"[56]\\\\d{4}\",,,,\"51234\",\n,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"262\\\\d\\\\d\",,,,\"26212\",,,[5]],\"SH\",290,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],1,\"[256]\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SI:[,[,,\"[1-7]\\\\d{7}|8\\\\d{4,7}|90\\\\d{4,6}\",,,,,,,[5,6,7,8]],[,,\"(?:[1-357][2-8]|4[24-8])\\\\d{6}\",,,,\"12345678\",,,[8],[7]],[,,\"65(?:[178]\\\\d|5[56]|6[01])\\\\d{4}|(?:[37][01]|4[0139]|51|6[489])\\\\d{6}\",,,,\"31234567\",,,[8]],[,,\"80\\\\d{4,6}\",,,,\"80123456\",,,[6,7,8]],[,,\"89[1-3]\\\\d{2,5}|90\\\\d{4,6}\",,,,\"90123456\"],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:59\\\\d\\\\d|8(?:1(?:[67]\\\\d|8[0-589])|2(?:0\\\\d|2[0-37-9]|8[0-2489])|3[389]\\\\d))\\\\d{4}\",,,,\"59012345\",,,[8]],\"SI\",386,\"00|10(?:22|66|88|99)\",\"0\",,,\"0\",,\"00\",,[[,\"(\\\\d{2})(\\\\d{3,6})\",\"$1 $2\",[\"8[09]|9\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"59|8\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[37][01]|4[0139]|51|6\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[1-57]\"],\"(0$1)\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],\nSJ:[,[,,\"0\\\\d{4}|(?:[489]\\\\d|[57]9)\\\\d{6}\",,,,,,,[5,8]],[,,\"79\\\\d{6}\",,,,\"79123456\",,,[8]],[,,\"(?:4[015-8]|59|9\\\\d)\\\\d{6}\",,,,\"41234567\",,,[8]],[,,\"80[01]\\\\d{5}\",,,,\"80012345\",,,[8]],[,,\"82[09]\\\\d{5}\",,,,\"82012345\",,,[8]],[,,\"810(?:0[0-6]|[2-8]\\\\d)\\\\d{3}\",,,,\"81021234\",,,[8]],[,,\"880\\\\d{5}\",,,,\"88012345\",,,[8]],[,,\"85[0-5]\\\\d{5}\",,,,\"85012345\",,,[8]],\"SJ\",47,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,\"79\",[,,,,,,,,,[-1]],[,,\"(?:0[2-9]|81(?:0(?:0[7-9]|1\\\\d)|5\\\\d\\\\d))\\\\d{3}\",,,,\"02000\"],,,[,,\"81[23]\\\\d{5}\",,,,\n\"81212345\",,,[8]]],SK:[,[,,\"[2-689]\\\\d{8}|[2-59]\\\\d{6}|[2-5]\\\\d{5}\",,,,,,,[6,7,9]],[,,\"(?:2(?:16|[2-9]\\\\d{3})|(?:(?:[3-5][1-8]\\\\d|819)\\\\d|601[1-5])\\\\d)\\\\d{4}|(?:2|[3-5][1-8])1[67]\\\\d{3}|[3-5][1-8]16\\\\d\\\\d\",,,,\"221234567\"],[,,\"909[1-9]\\\\d{5}|9(?:0[1-8]|1[0-24-9]|4[03-57-9]|5\\\\d)\\\\d{6}\",,,,\"912123456\",,,[9]],[,,\"800\\\\d{6}\",,,,\"800123456\",,,[9]],[,,\"9(?:00|[78]\\\\d)\\\\d{6}\",,,,\"900123456\",,,[9]],[,,\"8[5-9]\\\\d{7}\",,,,\"850123456\",,,[9]],[,,,,,,,,,[-1]],[,,\"6(?:02|5[0-4]|9[0-6])\\\\d{6}\",,,,\"690123456\",,,[9]],\n\"SK\",421,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{2})(\\\\d{3,4})\",\"$1 $2 $3\",[\"21\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[3-5][1-8]1\",\"[3-5][1-8]1[67]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})\",\"$1 $2\",[\"909\",\"9090\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[689]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"[3-5]\"],\"0$1\"]],[[,\"(\\\\d)(\\\\d{2})(\\\\d{3,4})\",\"$1 $2 $3\",[\"21\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2,3})\",\"$1 $2 $3\",[\"[3-5][1-8]1\",\n\"[3-5][1-8]1[67]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{3})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"2\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[689]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1/$2 $3 $4\",[\"[3-5]\"],\"0$1\"]],[,,\"9090\\\\d{3}\",,,,\"9090123\",,,[7]],,,[,,\"9090\\\\d{3}|(?:602|8(?:00|[5-9]\\\\d)|9(?:00|[78]\\\\d))\\\\d{6}\",,,,,,,[7,9]],[,,\"96\\\\d{7}\",,,,\"961234567\",,,[9]],,,[,,,,,,,,,[-1]]],SL:[,[,,\"(?:[237-9]\\\\d|66)\\\\d{6}\",,,,,,,[8],[6]],[,,\"22[2-4][2-9]\\\\d{4}\",,,,\"22221234\",,,,[6]],[,,\"(?:25|3[0-5]|66|7[2-9]|8[08]|9[09])\\\\d{6}\",\n,,,\"25123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SL\",232,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"[236-9]\"],\"(0$1)\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SM:[,[,,\"(?:0549|[5-7]\\\\d)\\\\d{6}\",,,,,,,[8,10],[6]],[,,\"0549(?:8[0157-9]|9\\\\d)\\\\d{4}\",,,,\"0549886377\",,,[10],[6]],[,,\"6[16]\\\\d{6}\",,,,\"66661212\",,,[8]],[,,,,,,,,,[-1]],[,,\"7[178]\\\\d{6}\",,,,\"71123456\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"5[158]\\\\d{6}\",\n,,,\"58001110\",,,[8]],\"SM\",378,\"00\",,,,\"([89]\\\\d{5})$\",\"0549$1\",,,[[,\"(\\\\d{6})\",\"$1\",[\"[89]\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-7]\"]],[,\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"0\"]]],[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[5-7]\"]],[,\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"0\"]]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SN:[,[,,\"(?:[378]\\\\d|93)\\\\d{7}\",,,,,,,[9]],[,,\"3(?:0(?:1[0-2]|80)|282|3(?:8[1-9]|9[3-9])|611)\\\\d{5}\",,,,\"301012345\"],[,,\"7(?:(?:[06-8]\\\\d|21|90)\\\\d|5(?:01|[19]0|25|[38]3|[4-7]\\\\d))\\\\d{5}\",\n,,,\"701234567\"],[,,\"800\\\\d{6}\",,,,\"800123456\"],[,,\"88[4689]\\\\d{6}\",,,,\"884123456\"],[,,\"81[02468]\\\\d{6}\",,,,\"810123456\"],[,,,,,,,,,[-1]],[,,\"(?:3(?:392|9[01]\\\\d)\\\\d|93(?:3[13]0|929))\\\\d{4}\",,,,\"933301234\"],\"SN\",221,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[379]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SO:[,[,,\"[346-9]\\\\d{8}|[12679]\\\\d{7}|[1-5]\\\\d{6}|[1348]\\\\d{5}\",,,,,,,[6,7,8,9]],[,,\n\"(?:1\\\\d|2[0-79]|3[0-46-8]|4[0-7]|5[57-9])\\\\d{5}|(?:[134]\\\\d|8[125])\\\\d{4}\",,,,\"4012345\",,,[6,7]],[,,\"(?:(?:15|(?:3[59]|4[89]|79|8[08])\\\\d|6(?:0[5-7]|[1-9]\\\\d)|9(?:0\\\\d|[2-9]))\\\\d|2(?:4\\\\d|8))\\\\d{5}|(?:[67]\\\\d\\\\d|904)\\\\d{5}\",,,,\"71123456\",,,[7,8,9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SO\",252,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"8[125]\"]],[,\"(\\\\d{6})\",\"$1\",[\"[134]\"]],[,\"(\\\\d)(\\\\d{6})\",\"$1 $2\",[\"[15]|2[0-79]|3[0-46-8]|4[0-7]\"]],[,\"(\\\\d)(\\\\d{7})\",\n\"$1 $2\",[\"(?:2|90)4|[67]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[3478]|64|90\"]],[,\"(\\\\d{2})(\\\\d{5,7})\",\"$1 $2\",[\"1|28|6(?:0[5-7]|[1-35-9])|9[2-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SR:[,[,,\"(?:[2-5]|68|[78]\\\\d)\\\\d{5}\",,,,,,,[6,7]],[,,\"(?:2[1-3]|3[0-7]|(?:4|68)\\\\d|5[2-58])\\\\d{4}\",,,,\"211234\"],[,,\"(?:7[124-7]|8[124-9])\\\\d{5}\",,,,\"7412345\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"56\\\\d{4}\",,,,\"561234\",,,[6]],\"SR\",597,\"00\",\n,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1-$2-$3\",[\"56\"]],[,\"(\\\\d{3})(\\\\d{3})\",\"$1-$2\",[\"[2-5]\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"[6-8]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SS:[,[,,\"[19]\\\\d{8}\",,,,,,,[9]],[,,\"1[89]\\\\d{7}\",,,,\"181234567\"],[,,\"(?:12|9[1257-9])\\\\d{7}\",,,,\"977123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SS\",211,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[19]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,\n,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ST:[,[,,\"(?:22|9\\\\d)\\\\d{5}\",,,,,,,[7]],[,,\"22\\\\d{5}\",,,,\"2221234\"],[,,\"900[5-9]\\\\d{3}|9(?:0[1-9]|[89]\\\\d)\\\\d{4}\",,,,\"9812345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"ST\",239,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[29]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SV:[,[,,\"[267]\\\\d{7}|[89]00\\\\d{4}(?:\\\\d{4})?\",,,,,,,[7,8,11]],[,,\"2(?:[1-6]\\\\d{3}|[79]90[034]|890[0245])\\\\d{3}\",,\n,,\"21234567\",,,[8]],[,,\"66(?:[02-9]\\\\d\\\\d|1(?:[02-9]\\\\d|16))\\\\d{3}|(?:6[0-57-9]|7\\\\d)\\\\d{6}\",,,,\"70123456\",,,[8]],[,,\"800\\\\d{4}(?:\\\\d{4})?\",,,,\"8001234\",,,[7,11]],[,,\"900\\\\d{4}(?:\\\\d{4})?\",,,,\"9001234\",,,[7,11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SV\",503,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[89]\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[267]\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SX:[,[,,\"7215\\\\d{6}|(?:[58]\\\\d\\\\d|900)\\\\d{7}\",\n,,,,,,[10],[7]],[,,\"7215(?:4[2-8]|8[239]|9[056])\\\\d{4}\",,,,\"7215425678\",,,,[7]],[,,\"7215(?:1[02]|2\\\\d|5[034679]|8[014-8])\\\\d{4}\",,,,\"7215205678\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002123456\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002123456\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"SX\",1,\"011\",\"1\",,,\"(5\\\\d{6})$|1\",\"721$1\",,,,,[,,,,,,,,,[-1]],,\"721\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SY:[,[,,\"[1-39]\\\\d{8}|[1-5]\\\\d{7}\",,,,,,,[8,9],[6,7]],[,,\"21\\\\d{6,7}|(?:1(?:[14]\\\\d|[2356])|2[235]|3(?:[13]\\\\d|4)|4[134]|5[1-3])\\\\d{6}\",,,,\"112345678\",,,,[6,7]],[,,\"9[1-689]\\\\d{7}\",,,,\"944567890\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"SY\",963,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",\n[\"[1-5]\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\",,1]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],SZ:[,[,,\"0800\\\\d{4}|(?:[237]\\\\d|900)\\\\d{6}\",,,,,,,[8,9]],[,,\"[23][2-5]\\\\d{6}\",,,,\"22171234\",,,[8]],[,,\"7[6-9]\\\\d{6}\",,,,\"76123456\",,,[8]],[,,\"0800\\\\d{4}\",,,,\"08001234\",,,[8]],[,,\"900\\\\d{6}\",,,,\"900012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"70\\\\d{6}\",,,,\"70012345\",,,[8]],\"SZ\",268,\"00\",,,,,,,,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[0237]\"]],[,\"(\\\\d{5})(\\\\d{4})\",\n\"$1 $2\",[\"9\"]]],,[,,,,,,,,,[-1]],,,[,,\"0800\\\\d{4}\",,,,,,,[8]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TA:[,[,,\"8\\\\d{3}\",,,,,,,[4]],[,,\"8\\\\d{3}\",,,,\"8999\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TA\",290,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,\"8\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TC:[,[,,\"(?:[58]\\\\d\\\\d|649|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"649(?:266|712|9(?:4\\\\d|50))\\\\d{4}\",,,,\"6497121234\",,,,[7]],[,,\"649(?:2(?:3[129]|4[1-79])|3\\\\d\\\\d|4[34][1-3])\\\\d{4}\",\n,,,\"6492311234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,\"649(?:71[01]|966)\\\\d{4}\",,,,\"6497101234\",,,,[7]],\"TC\",1,\"011\",\"1\",,,\"([2-479]\\\\d{6})$|1\",\"649$1\",,,,,[,,,,,\n,,,,[-1]],,\"649\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TD:[,[,,\"(?:22|[69]\\\\d|77)\\\\d{6}\",,,,,,,[8]],[,,\"22(?:[37-9]0|5[0-5]|6[89])\\\\d{4}\",,,,\"22501234\"],[,,\"(?:6[0235689]|77|9\\\\d)\\\\d{6}\",,,,\"63012345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TD\",235,\"00|16\",,,,,,\"00\",,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[2679]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TG:[,[,,\"[279]\\\\d{7}\",,,,,,,[8]],[,,\"2(?:2[2-7]|3[23]|4[45]|55|6[67]|77)\\\\d{5}\",\n,,,\"22212345\"],[,,\"(?:7[019]|9[0-36-9])\\\\d{6}\",,,,\"90112345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TG\",228,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[279]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TH:[,[,,\"(?:001800|[2-57]|[689]\\\\d)\\\\d{7}|1\\\\d{7,9}\",,,,,,,[8,9,10,13]],[,,\"(?:1[0689]|2\\\\d|3[2-9]|4[2-5]|5[2-6]|7[3-7])\\\\d{6}\",,,,\"21234567\",,,[8]],[,,\"671[0-8]\\\\d{5}|(?:14|6[1-6]|[89]\\\\d)\\\\d{7}\",,,,\"812345678\",\n,,[9]],[,,\"(?:001800\\\\d|1800)\\\\d{6}\",,,,\"1800123456\",,,[10,13]],[,,\"1900\\\\d{6}\",,,,\"1900123456\",,,[10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"6[08]\\\\d{7}\",,,,\"601234567\",,,[9]],\"TH\",66,\"00[1-9]\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"2\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[13-9]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"1\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TJ:[,[,,\"(?:00|[1-57-9]\\\\d)\\\\d{7}\",,,,,,,[9],[3,5,6,7]],[,,\"(?:3(?:1[3-5]|2[245]|3[12]|4[24-7]|5[25]|72)|4(?:46|74|87))\\\\d{6}\",\n,,,\"372123456\",,,,[3,5,6,7]],[,,\"41[18]\\\\d{6}|(?:[034]0|1[017]|2[02]|5[05]|7[0178]|8[078]|9\\\\d)\\\\d{7}\",,,,\"917123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TJ\",992,\"810\",,,,,,\"8~10\",,[[,\"(\\\\d{6})(\\\\d)(\\\\d{2})\",\"$1 $2 $3\",[\"331\",\"3317\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[34]7|91[78]\"]],[,\"(\\\\d{4})(\\\\d)(\\\\d{4})\",\"$1 $2 $3\",[\"3[1-5]\"]],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[0-57-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,\n,,,,,[-1]]],TK:[,[,,\"[2-47]\\\\d{3,6}\",,,,,,,[4,5,6,7]],[,,\"(?:2[2-4]|[34]\\\\d)\\\\d{2,5}\",,,,\"3101\"],[,,\"7[2-4]\\\\d{2,5}\",,,,\"7290\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TK\",690,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TL:[,[,,\"7\\\\d{7}|(?:[2-47]\\\\d|[89]0)\\\\d{5}\",,,,,,,[7,8]],[,,\"(?:2[1-5]|3[1-9]|4[1-4])\\\\d{5}\",,,,\"2112345\",,,[7]],[,,\"7[2-8]\\\\d{6}\",,,,\"77212345\",,,[8]],[,,\"80\\\\d{5}\",,,,\"8012345\",,,[7]],[,,\"90\\\\d{5}\",,\n,,\"9012345\",,,[7]],[,,,,,,,,,[-1]],[,,\"70\\\\d{5}\",,,,\"7012345\",,,[7]],[,,,,,,,,,[-1]],\"TL\",670,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[2-489]|70\"]],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"7\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TM:[,[,,\"[1-6]\\\\d{7}\",,,,,,,[8]],[,,\"(?:1(?:2\\\\d|3[1-9])|2(?:22|4[0-35-8])|3(?:22|4[03-9])|4(?:22|3[128]|4\\\\d|6[15])|5(?:22|5[7-9]|6[014-689]))\\\\d{5}\",,,,\"12345678\"],[,,\"6\\\\d{7}\",,,,\"66123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TM\",993,\"810\",\"8\",,,\"8\",,\"8~10\",,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"12\"],\"(8 $1)\"],[,\"(\\\\d{3})(\\\\d)(\\\\d{2})(\\\\d{2})\",\"$1 $2-$3-$4\",[\"[1-5]\"],\"(8 $1)\"],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"6\"],\"8 $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TN:[,[,,\"[2-57-9]\\\\d{7}\",,,,,,,[8]],[,,\"81200\\\\d{3}|(?:3[0-2]|7\\\\d)\\\\d{6}\",,,,\"30010123\"],[,,\"3(?:001|[12]40)\\\\d{4}|(?:(?:[259]\\\\d|4[0-7])\\\\d|3(?:1[1-35]|6[0-4]|91))\\\\d{5}\",,,,\"20123456\"],\n[,,\"8010\\\\d{4}\",,,,\"80101234\"],[,,\"88\\\\d{6}\",,,,\"88123456\"],[,,\"8[12]10\\\\d{4}\",,,,\"81101234\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TN\",216,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-57-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TO:[,[,,\"(?:0800|(?:[5-8]\\\\d\\\\d|999)\\\\d)\\\\d{3}|[2-8]\\\\d{4}\",,,,,,,[5,7]],[,,\"(?:2\\\\d|3[0-8]|4[0-4]|50|6[09]|7[0-24-69]|8[05])\\\\d{3}\",,,,\"20123\",,,[5]],[,,\"(?:55[4-6]|6(?:[09]\\\\d|3[02]|8[15-9])|(?:7\\\\d|8[46-9])\\\\d|999)\\\\d{4}\",,,,\n\"7715123\",,,[7]],[,,\"0800\\\\d{3}\",,,,\"0800222\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"55[0-37-9]\\\\d{4}\",,,,\"5510123\",,,[7]],\"TO\",676,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})\",\"$1-$2\",[\"[2-4]|50|6[09]|7[0-24-69]|8[05]\"]],[,\"(\\\\d{4})(\\\\d{3})\",\"$1 $2\",[\"0\"]],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[5-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TR:[,[,,\"4\\\\d{6}|8\\\\d{11,12}|(?:[2-58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[7,10,12,13]],[,,\"(?:2(?:[13][26]|[28][2468]|[45][268]|[67][246])|3(?:[13][28]|[24-6][2468]|[78][02468]|92)|4(?:[16][246]|[23578][2468]|4[26]))\\\\d{7}\",\n,,,\"2123456789\",,,[10]],[,,\"56161\\\\d{5}|5(?:0[15-7]|1[06]|24|[34]\\\\d|5[1-59]|9[46])\\\\d{7}\",,,,\"5012345678\",,,[10]],[,,\"8(?:00\\\\d{7}(?:\\\\d{2,3})?|11\\\\d{7})\",,,,\"8001234567\",,,[10,12,13]],[,,\"(?:8[89]8|900)\\\\d{7}\",,,,\"9001234567\",,,[10]],[,,,,,,,,,[-1]],[,,\"592(?:21[12]|461)\\\\d{4}\",,,,\"5922121234\",,,[10]],[,,\"850\\\\d{7}\",,,,\"8500123456\",,,[10]],\"TR\",90,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d)(\\\\d{3})\",\"$1 $2 $3\",[\"444\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"512|8[01589]|90\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\n\"$1 $2 $3 $4\",[\"5(?:[0-59]|61)\",\"5(?:[0-59]|616)\",\"5(?:[0-59]|6161)\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24][1-8]|3[1-9]\"],\"(0$1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{6,7})\",\"$1 $2 $3\",[\"80\"],\"0$1\",,1]],[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"512|8[01589]|90\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"5(?:[0-59]|61)\",\"5(?:[0-59]|616)\",\"5(?:[0-59]|6161)\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[24][1-8]|3[1-9]\"],\"(0$1)\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{6,7})\",\n\"$1 $2 $3\",[\"80\"],\"0$1\",,1]],[,,\"512\\\\d{7}\",,,,\"5123456789\",,,[10]],,,[,,\"(?:444|811\\\\d{3})\\\\d{4}\",,,,,,,[7,10]],[,,\"444\\\\d{4}\",,,,\"4441444\",,,[7]],,,[,,,,,,,,,[-1]]],TT:[,[,,\"(?:[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"868(?:2(?:01|1[5-9]|[23]\\\\d|4[0-2])|6(?:0[7-9]|1[02-8]|2[1-9]|[3-69]\\\\d|7[0-79])|82[124])\\\\d{4}\",,,,\"8682211234\",,,,[7]],[,,\"868(?:(?:2[5-9]|3\\\\d)\\\\d|4(?:3[0-6]|[6-9]\\\\d)|6(?:20|78|8\\\\d)|7(?:0[1-9]|1[02-9]|[2-9]\\\\d))\\\\d{4}\",,,,\"8682911234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",\n,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"TT\",1,\"011\",\"1\",,,\"([2-46-8]\\\\d{6})$|1\",\"868$1\",,,,,[,,,,,,,,,[-1]],,\"868\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,\"868619\\\\d{4}\",,,,\"8686191234\",,,,[7]]],TV:[,[,,\n\"(?:2|7\\\\d\\\\d|90)\\\\d{4}\",,,,,,,[5,6,7]],[,,\"2[02-9]\\\\d{3}\",,,,\"20123\",,,[5]],[,,\"(?:7[01]\\\\d|90)\\\\d{4}\",,,,\"901234\",,,[6,7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"TV\",688,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{3})\",\"$1 $2\",[\"2\"]],[,\"(\\\\d{2})(\\\\d{4})\",\"$1 $2\",[\"90\"]],[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"7\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],TW:[,[,,\"[2-689]\\\\d{8}|7\\\\d{9,10}|[2-8]\\\\d{7}|2\\\\d{6}\",,,,,,,[7,8,9,10,11]],[,,\"(?:2[2-8]\\\\d|370|55[01]|7[1-9])\\\\d{6}|4(?:(?:0(?:0[1-9]|[2-48]\\\\d)|1[023]\\\\d)\\\\d{4,5}|(?:[239]\\\\d\\\\d|4(?:0[56]|12|49))\\\\d{5})|6(?:[01]\\\\d{7}|4(?:0[56]|12|24|4[09])\\\\d{4,5})|8(?:(?:2(?:3\\\\d|4[0-269]|[578]0|66)|36[24-9]|90\\\\d\\\\d)\\\\d{4}|4(?:0[56]|12|24|4[09])\\\\d{4,5})|(?:2(?:2(?:0\\\\d\\\\d|4(?:0[68]|[249]0|3[0-467]|5[0-25-9]|6[0235689]))|(?:3(?:[09]\\\\d|1[0-4])|(?:4\\\\d|5[0-49]|6[0-29]|7[0-5])\\\\d)\\\\d)|(?:(?:3[2-9]|5[2-8]|6[0-35-79]|8[7-9])\\\\d\\\\d|4(?:2(?:[089]\\\\d|7[1-9])|(?:3[0-4]|[78]\\\\d|9[01])\\\\d))\\\\d)\\\\d{3}\",\n,,,\"221234567\",,,[8,9]],[,,\"(?:40001[0-2]|9[0-8]\\\\d{4})\\\\d{3}\",,,,\"912345678\",,,[9]],[,,\"80[0-79]\\\\d{6}|800\\\\d{5}\",,,,\"800123456\",,,[8,9]],[,,\"20(?:[013-9]\\\\d\\\\d|2)\\\\d{4}\",,,,\"203123456\",,,[7,9]],[,,,,,,,,,[-1]],[,,\"99\\\\d{7}\",,,,\"990123456\",,,[9]],[,,\"7010(?:[0-2679]\\\\d|3[0-7]|8[0-5])\\\\d{5}|70\\\\d{8}\",,,,\"7012345678\",,,[10,11]],\"TW\",886,\"0(?:0[25-79]|19)\",\"0\",\"#\",,\"0\",,,,[[,\"(\\\\d{2})(\\\\d)(\\\\d{4})\",\"$1 $2 $3\",[\"202\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[258]0\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3,4})(\\\\d{4})\",\n\"$1 $2 $3\",[\"[23568]|4(?:0[02-48]|[1-47-9])|7[1-9]\",\"[23568]|4(?:0[2-48]|[1-47-9])|(?:400|7)[1-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[49]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4,5})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"50[0-46-9]\\\\d{6}\",,,,\"500123456\",,,[9]],,,[,,,,,,,,,[-1]]],TZ:[,[,,\"(?:[25-8]\\\\d|41|90)\\\\d{7}\",,,,,,,[9]],[,,\"2[2-8]\\\\d{7}\",,,,\"222345678\"],[,,\"77[2-9]\\\\d{6}|(?:6[125-9]|7[13-689])\\\\d{7}\",,,,\"621234567\"],[,,\"80[08]\\\\d{6}\",,,,\"800123456\"],[,,\"90\\\\d{7}\",\n,,,\"900123456\"],[,,\"8(?:40|6[01])\\\\d{6}\",,,,\"840123456\"],[,,,,,,,,,[-1]],[,,\"41\\\\d{7}\",,,,\"412345678\"],\"TZ\",255,\"00[056]\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[24]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"5\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[67]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,\"(?:8(?:[04]0|6[01])|90\\\\d)\\\\d{6}\"],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UA:[,[,,\"[89]\\\\d{9}|[3-9]\\\\d{8}\",,,,,,,[9,10],[5,6,7]],[,,\"(?:3[1-8]|4[13-8]|5[1-7]|6[12459])\\\\d{7}\",\n,,,\"311234567\",,,[9],[5,6,7]],[,,\"(?:39|50|6[36-8]|7[1-3]|9[1-9])\\\\d{7}\",,,,\"501234567\",,,[9]],[,,\"800[1-8]\\\\d{5,6}\",,,,\"800123456\"],[,,\"900[239]\\\\d{5,6}\",,,,\"900212345\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"89[1-579]\\\\d{6}\",,,,\"891234567\",,,[9]],\"UA\",380,\"00\",\"0\",,,\"0\",,\"0~0\",,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]\",\"6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",\n[\"3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])\",\"3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[3-7]|89|9[1-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[89]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UG:[,[,,\"800\\\\d{6}|(?:[29]0|[347]\\\\d)\\\\d{7}\",,,,,,,[9],[5,6,7]],[,,\"20(?:(?:240|30[67])\\\\d|6(?:00[0-2]|30[0-4]))\\\\d{3}|(?:20(?:[017]\\\\d|2[5-9]|32|5[0-4]|6[15-9])|[34]\\\\d{3})\\\\d{5}\",\n,,,\"312345678\",,,,[5,6,7]],[,,\"726[01]\\\\d{5}|7(?:[01578]\\\\d|20|36|[46][0-4]|9[89])\\\\d{6}\",,,,\"712345678\"],[,,\"800[1-3]\\\\d{5}\",,,,\"800123456\"],[,,\"90[1-3]\\\\d{6}\",,,,\"901123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"UG\",256,\"00[057]\",\"0\",,,\"0\",,,,[[,\"(\\\\d{4})(\\\\d{5})\",\"$1 $2\",[\"202\",\"2024\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{6})\",\"$1 $2\",[\"[27-9]|4(?:6[45]|[7-9])\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"[34]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],US:[,[,,\"[2-9]\\\\d{9}|3\\\\d{6}\",\n,,,,,,[10],[7]],[,,\"(?:47220[01]|5(?:05(?:[2-57-9]\\\\d\\\\d|6(?:[0-35-9]\\\\d|4[46]))|57200))\\\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\\\d{6}\",\n,,,\"2015550123\",,,,[7]],[,,\"(?:47220[01]|5(?:05(?:[2-57-9]\\\\d\\\\d|6(?:[0-35-9]\\\\d|4[46]))|57200))\\\\d{4}|(?:2(?:0[1-35-9]|1[02-9]|2[03-589]|3[149]|4[08]|5[1-46]|6[0279]|7[0269]|8[13])|3(?:0[1-57-9]|1[02-9]|2[01356]|3[0-24679]|4[167]|5[0-2]|6[014]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-47-9]|1[0235-8]|20|3[0149]|4[01]|5[19]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|[34][016]|5[01679]|6[0-279]|78|8[0-29])|7(?:0[1-46-8]|1[2-9]|2[04-7]|3[1247]|4[037]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[068]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-389]|8[04-69]))[2-9]\\\\d{6}\",\n,,,\"2015550123\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"US\",1,\"011\",\"1\",,,\"1\",,,1,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"310\"],,,1],[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",\n[\"[24-9]|3(?:[02-9]|1[1-9])\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"($1) $2-$3\",[\"[2-9]\"],,,1]],[[,\"(\\\\d{3})(\\\\d{4})\",\"$1-$2\",[\"310\"],,,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1-$2-$3\",[\"[2-9]\"]]],[,,,,,,,,,[-1]],1,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UY:[,[,,\"(?:0004|4)\\\\d{9}|[1249]\\\\d{7}|(?:[49]\\\\d|80)\\\\d{5}\",,,,,,,[7,8,10,13]],[,,\"(?:1(?:770|987)|(?:2\\\\d|4[2-7])\\\\d\\\\d)\\\\d{4}\",,,,\"21231234\",,,[8],[7]],[,,\"9[1-9]\\\\d{6}\",,,,\"94231234\",,,[8]],[,,\"(?:(?:0004|4)\\\\d{5}|80[05])\\\\d{4}|405\\\\d{4}\",,,,\"8001234\",\n,,[7,10,13]],[,,\"90[0-8]\\\\d{4}\",,,,\"9001234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"UY\",598,\"0(?:0|1[3-9]\\\\d)\",\"0\",\" int. \",,\"0\",,\"00\",,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"405|8|90\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"9\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[124]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"4\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3 $4\",[\"0\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],UZ:[,[,,\"(?:33|[5-79]\\\\d|88)\\\\d{7}\",\n,,,,,,[9]],[,,\"(?:55\\\\d\\\\d|6(?:1(?:22|3[124]|4[1-4]|5[1-3578]|64)|2(?:22|3[0-57-9]|41)|5(?:22|3[3-7]|5[024-8])|6\\\\d\\\\d|7(?:[23]\\\\d|7[69])|9(?:22|4[1-8]|6[135]))|7(?:0(?:5[4-9]|6[0146]|7[124-6]|9[135-8])|(?:1[12]|8\\\\d)\\\\d|2(?:22|3[13-57-9]|4[1-3579]|5[14])|3(?:2\\\\d|3[1578]|4[1-35-7]|5[1-57]|61)|4(?:2\\\\d|3[1-579]|7[1-79])|5(?:22|5[1-9]|6[1457])|6(?:22|3[12457]|4[13-8])|9(?:22|5[1-9])))\\\\d{5}\",,,,\"669050123\"],[,,\"(?:(?:33|50|88|9[0-57-9])\\\\d{3}|6(?:1(?:2(?:2[01]|98)|35[0-4]|50\\\\d|61[23]|7(?:[01][017]|4\\\\d|55|9[5-9]))|2(?:(?:11|7\\\\d)\\\\d|2(?:[12]1|9[01379])|5(?:[126]\\\\d|3[0-4]))|5(?:19[01]|2(?:27|9[26])|(?:30|59|7\\\\d)\\\\d)|6(?:2(?:1[5-9]|2[0367]|38|41|52|60)|(?:3[79]|9[0-3])\\\\d|4(?:56|83)|7(?:[07]\\\\d|1[017]|3[07]|4[047]|5[057]|67|8[0178]|9[79]))|7(?:2(?:24|3[237]|4[5-9]|7[15-8])|5(?:7[12]|8[0589])|7(?:0\\\\d|[39][07])|9(?:0\\\\d|7[079]))|9(?:2(?:1[1267]|3[01]|5\\\\d|7[0-4])|(?:5[67]|7\\\\d)\\\\d|6(?:2[0-26]|8\\\\d)))|7(?:[07]\\\\d{3}|1(?:13[01]|6(?:0[47]|1[67]|66)|71[3-69]|98\\\\d)|2(?:2(?:2[79]|95)|3(?:2[5-9]|6[0-6])|57\\\\d|7(?:0\\\\d|1[17]|2[27]|3[37]|44|5[057]|66|88))|3(?:2(?:1[0-6]|21|3[469]|7[159])|(?:33|9[4-6])\\\\d|5(?:0[0-4]|5[579]|9\\\\d)|7(?:[0-3579]\\\\d|4[0467]|6[67]|8[078]))|4(?:2(?:29|5[0257]|6[0-7]|7[1-57])|5(?:1[0-4]|8\\\\d|9[5-9])|7(?:0\\\\d|1[024589]|2[0-27]|3[0137]|[46][07]|5[01]|7[5-9]|9[079])|9(?:7[015-9]|[89]\\\\d))|5(?:112|2(?:0\\\\d|2[29]|[49]4)|3[1568]\\\\d|52[6-9]|7(?:0[01578]|1[017]|[23]7|4[047]|[5-7]\\\\d|8[78]|9[079]))|6(?:2(?:2[1245]|4[2-4])|39\\\\d|41[179]|5(?:[349]\\\\d|5[0-2])|7(?:0[017]|[13]\\\\d|22|44|55|67|88))|9(?:22[128]|3(?:2[0-4]|7\\\\d)|57[02569]|7(?:2[05-9]|3[37]|4\\\\d|60|7[2579]|87|9[07]))))\\\\d{4}\",\n,,,\"912345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"UZ\",998,\"810\",\"8\",,,\"8\",,\"8~10\",,[[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[35-9]\"],\"8 $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VA:[,[,,\"0\\\\d{5,10}|3[0-8]\\\\d{7,10}|55\\\\d{8}|8\\\\d{5}(?:\\\\d{2,4})?|(?:1\\\\d|39)\\\\d{7,8}\",,,,,,,[6,7,8,9,10,11,12]],[,,\"06698\\\\d{1,6}\",,,,\"0669812345\",,,[6,7,8,9,10,11]],[,,\"3[1-9]\\\\d{8}|3[2-9]\\\\d{7}\",,,,\"3123456789\",,,[9,10]],[,,\"80(?:0\\\\d{3}|3)\\\\d{3}\",\n,,,\"800123456\",,,[6,9]],[,,\"(?:0878\\\\d{3}|89(?:2\\\\d|3[04]|4(?:[0-4]|[5-9]\\\\d\\\\d)|5[0-4]))\\\\d\\\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\\\d{6}\",,,,\"899123456\",,,[6,8,9,10]],[,,\"84(?:[08]\\\\d{3}|[17])\\\\d{3}\",,,,\"848123456\",,,[6,9]],[,,\"1(?:78\\\\d|99)\\\\d{6}\",,,,\"1781234567\",,,[9,10]],[,,\"55\\\\d{8}\",,,,\"5512345678\",,,[10]],\"VA\",39,\"00\",,,,,,,,,,[,,,,,,,,,[-1]],,\"06698\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,\"3[2-8]\\\\d{9,10}\",,,,\"33101234501\",,,[11,12]]],VC:[,[,,\"(?:[58]\\\\d\\\\d|784|900)\\\\d{7}\",,,,,,,[10],[7]],\n[,,\"784(?:266|3(?:6[6-9]|7\\\\d|8[0-6])|4(?:38|5[0-36-8]|8[0-8])|5(?:55|7[0-2]|93)|638|784)\\\\d{4}\",,,,\"7842661234\",,,,[7]],[,,\"784(?:4(?:3[0-5]|5[45]|89|9[0-8])|5(?:2[6-9]|3[0-4])|720)\\\\d{4}\",,,,\"7844301234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,\"78451[0-2]\\\\d{4}\",,,,\"7845101234\",,,,[7]],\"VC\",1,\"011\",\"1\",,,\"([2-7]\\\\d{6})$|1\",\"784$1\",,,,,[,,,,,,,,,[-1]],,\"784\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VE:[,[,,\"[68]00\\\\d{7}|(?:[24]\\\\d|[59]0)\\\\d{8}\",,,,,,,[10],[7]],[,,\"(?:2(?:12|3[457-9]|[467]\\\\d|[58][1-9]|9[1-6])|[4-6]00)\\\\d{7}\",,,,\"2121234567\",,,,[7]],[,,\"4(?:1[24-8]|2[46])\\\\d{7}\",,,,\"4121234567\"],[,,\"800\\\\d{7}\",,,,\"8001234567\"],[,,\"90[01]\\\\d{7}\",,,,\"9001234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n\"VE\",58,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{7})\",\"$1-$2\",[\"[24-689]\"],\"0$1\",\"$CC $1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"501\\\\d{7}\",,,,\"5010123456\",,,,[7]],,,[,,,,,,,,,[-1]]],VG:[,[,,\"(?:284|[58]\\\\d\\\\d|900)\\\\d{7}\",,,,,,,[10],[7]],[,,\"284(?:229|4(?:22|9[45])|774|8(?:52|6[459]))\\\\d{4}\",,,,\"2842291234\",,,,[7]],[,,\"284(?:245|3(?:0[0-3]|4[0-7]|68|9[34])|4(?:4[0-6]|68|9[69])|5(?:4[0-7]|68|9[69]))\\\\d{4}\",,,,\"2843001234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",\n,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",,,,\"5002345678\"],[,,,,,,,,,[-1]],\"VG\",1,\"011\",\"1\",,,\"([2-578]\\\\d{6})$|1\",\"284$1\",,,,,[,,,,,,,,,[-1]],,\"284\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VI:[,[,,\"[58]\\\\d{9}|(?:34|90)0\\\\d{7}\",,,,,,,[10],[7]],[,,\"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\\\d)|884|998)\\\\d{4}\",\n,,,\"3406421234\",,,,[7]],[,,\"340(?:2(?:0[0-368]|2[06-8]|4[49]|77)|3(?:32|44)|4(?:2[23]|44|7[34]|89)|5(?:1[34]|55)|6(?:2[56]|4[23]|77|9[023])|7(?:1[2-57-9]|2[57]|7\\\\d)|884|998)\\\\d{4}\",,,,\"3406421234\",,,,[7]],[,,\"8(?:00|33|44|55|66|77|88)[2-9]\\\\d{6}\",,,,\"8002345678\"],[,,\"900[2-9]\\\\d{6}\",,,,\"9002345678\"],[,,,,,,,,,[-1]],[,,\"52(?:3(?:[2-46-9][02-9]\\\\d|5(?:[02-46-9]\\\\d|5[0-46-9]))|4(?:[2-478][02-9]\\\\d|5(?:[034]\\\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\\\d)|9(?:[05-9]\\\\d|2[0-5]|49)))\\\\d{4}|52[34][2-9]1[02-9]\\\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\\\d{6}\",\n,,,\"5002345678\"],[,,,,,,,,,[-1]],\"VI\",1,\"011\",\"1\",,,\"([2-9]\\\\d{6})$|1\",\"340$1\",,1,,,[,,,,,,,,,[-1]],,\"340\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],VN:[,[,,\"[12]\\\\d{9}|[135-9]\\\\d{8}|[16]\\\\d{7}|[16-8]\\\\d{6}\",,,,,,,[7,8,9,10]],[,,\"2(?:0[3-9]|1[0-689]|2[0-25-9]|[38][2-9]|4[2-8]|5[124-9]|6[0-39]|7[0-7]|9[0-4679])\\\\d{7}\",,,,\"2101234567\",,,[10]],[,,\"(?:5(?:2[238]|59)|89[6-9]|99[013-9])\\\\d{6}|(?:3\\\\d|5[689]|7[06-9]|8[1-8]|9[0-8])\\\\d{7}\",,,,\"912345678\",,,[9]],[,,\"1800\\\\d{4,6}|12(?:0[13]|28)\\\\d{4}\",\n,,,\"1800123456\",,,[8,9,10]],[,,\"1900\\\\d{4,6}\",,,,\"1900123456\",,,[8,9,10]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"672\\\\d{6}\",,,,\"672012345\",,,[9]],\"VN\",84,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[17]99\"],\"0$1\",,1],[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"80\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{4,5})\",\"$1 $2\",[\"69\"],\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{4,6})\",\"$1 $2\",[\"1\"],,,1],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[69]\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[3578]\"],\"0$1\",,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\n\"$1 $2 $3\",[\"2[48]\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\",,1]],[[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"80\"],\"0$1\",,1],[,\"(\\\\d{4})(\\\\d{4,6})\",\"$1 $2\",[\"1\"],,,1],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"[69]\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[3578]\"],\"0$1\",,1],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"2[48]\"],\"0$1\",,1],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"2\"],\"0$1\",,1]],[,,,,,,,,,[-1]],,,[,,\"[17]99\\\\d{4}|69\\\\d{5,6}\",,,,,,,[7,8]],[,,\"(?:[17]99|80\\\\d)\\\\d{4}|69\\\\d{5,6}\",\n,,,\"1992000\",,,[7,8]],,,[,,,,,,,,,[-1]]],VU:[,[,,\"[57-9]\\\\d{6}|(?:[238]\\\\d|48)\\\\d{3}\",,,,,,,[5,7]],[,,\"(?:38[0-8]|48[4-9])\\\\d\\\\d|(?:2[02-9]|3[4-7]|88)\\\\d{3}\",,,,\"22123\",,,[5]],[,,\"(?:[58]\\\\d|7[013-7])\\\\d{5}\",,,,\"5912345\",,,[7]],[,,\"81[18]\\\\d\\\\d\",,,,\"81123\",,,[5]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"9(?:0[1-9]|1[01])\\\\d{4}\",,,,\"9010123\",,,[7]],\"VU\",678,\"00\",,,,,,,,[[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"[57-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"(?:3[03]|900\\\\d)\\\\d{3}\",,,,\"30123\"],,\n,[,,,,,,,,,[-1]]],WF:[,[,,\"(?:40|72)\\\\d{4}|8\\\\d{5}(?:\\\\d{3})?\",,,,,,,[6,9]],[,,\"72\\\\d{4}\",,,,\"721234\",,,[6]],[,,\"(?:72|8[23])\\\\d{4}\",,,,\"821234\",,,[6]],[,,\"80[0-5]\\\\d{6}\",,,,\"800012345\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"WF\",681,\"00\",,,,,,,,[[,\"(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3\",[\"[478]\"]],[,\"(\\\\d{3})(\\\\d{2})(\\\\d{2})(\\\\d{2})\",\"$1 $2 $3 $4\",[\"8\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,\"[48]0\\\\d{4}\",,,,\"401234\",,,[6]]],WS:[,[,,\"(?:[2-6]|8\\\\d{5})\\\\d{4}|[78]\\\\d{6}|[68]\\\\d{5}\",\n,,,,,,[5,6,7,10]],[,,\"6[1-9]\\\\d{3}|(?:[2-5]|60)\\\\d{4}\",,,,\"22123\",,,[5,6]],[,,\"(?:7[1-35-7]|8(?:[3-7]|9\\\\d{3}))\\\\d{5}\",,,,\"7212345\",,,[7,10]],[,,\"800\\\\d{3}\",,,,\"800123\",,,[6]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"WS\",685,\"0\",,,,,,,,[[,\"(\\\\d{5})\",\"$1\",[\"[2-5]|6[1-9]\"]],[,\"(\\\\d{3})(\\\\d{3,7})\",\"$1 $2\",[\"[68]\"]],[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"7\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],XK:[,[,,\"[23]\\\\d{7,8}|(?:4\\\\d\\\\d|[89]00)\\\\d{5}\",,,,,,,[8,\n9]],[,,\"(?:2[89]|39)0\\\\d{6}|[23][89]\\\\d{6}\",,,,\"28012345\"],[,,\"4[3-9]\\\\d{6}\",,,,\"43201234\",,,[8]],[,,\"800\\\\d{5}\",,,,\"80001234\",,,[8]],[,,\"900\\\\d{5}\",,,,\"90001234\",,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"XK\",383,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{5})\",\"$1 $2\",[\"[89]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[2-4]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[23]\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YE:[,[,,\"(?:1|7\\\\d)\\\\d{7}|[1-7]\\\\d{6}\",\n,,,,,,[7,8,9],[6]],[,,\"78[0-7]\\\\d{4}|17\\\\d{6}|(?:[12][2-68]|3[2358]|4[2-58]|5[2-6]|6[3-58]|7[24-6])\\\\d{5}\",,,,\"1234567\",,,[7,8],[6]],[,,\"7[01378]\\\\d{7}\",,,,\"712345678\",,,[9]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"YE\",967,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"[1-6]|7(?:[24-6]|8[0-7])\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"7\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],YT:[,[,,\"(?:(?:(?:26|63)9|80\\\\d)\\\\d\\\\d|93980)\\\\d{4}\",\n,,,,,,[9]],[,,\"269(?:0[0-467]|5[0-3]|6\\\\d|[78]0)\\\\d{4}\",,,,\"269601234\"],[,,\"(?:639(?:0[0-79]|1[019]|[267]\\\\d|3[09]|40|5[05-9]|9[04-79])|93980)\\\\d{4}\",,,,\"639012345\"],[,,\"80\\\\d{7}\",,,,\"801234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"YT\",262,\"00\",\"0\",,,\"0\",,,,,,[,,,,,,,,,[-1]],,\"269|63|9398\",[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],ZA:[,[,,\"[1-79]\\\\d{8}|8\\\\d{4,9}\",,,,,,,[5,6,7,8,9,10]],[,,\"(?:2(?:0330|4302)|52087)0\\\\d{3}|(?:1[0-8]|2[1-378]|3[1-69]|4\\\\d|5[1346-8])\\\\d{7}\",\n,,,\"101234567\",,,[9]],[,,\"(?:1(?:3492[0-25]|4495[0235]|549(?:20|5[01]))|4[34]492[01])\\\\d{3}|8[1-4]\\\\d{3,7}|(?:2[27]|47|54)4950\\\\d{3}|(?:1(?:049[2-4]|9[12]\\\\d\\\\d)|(?:6\\\\d|7[0-46-9])\\\\d{3}|8(?:5\\\\d{3}|7(?:08[67]|158|28[5-9]|310)))\\\\d{4}|(?:1[6-8]|28|3[2-69]|4[025689]|5[36-8])4920\\\\d{3}|(?:12|[2-5]1)492\\\\d{4}\",,,,\"711234567\",,,[5,6,7,8,9]],[,,\"80\\\\d{7}\",,,,\"801234567\",,,[9]],[,,\"(?:86[2-9]|9[0-2]\\\\d)\\\\d{6}\",,,,\"862345678\",,,[9]],[,,\"860\\\\d{6}\",,,,\"860123456\",,,[9]],[,,,,,,,,,[-1]],[,,\"87(?:08[0-589]|15[0-79]|28[0-4]|31[1-9])\\\\d{4}|87(?:[02][0-79]|1[0-46-9]|3[02-9]|[4-9]\\\\d)\\\\d{5}\",\n,,,\"871234567\",,,[9]],\"ZA\",27,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{2})(\\\\d{3,4})\",\"$1 $2\",[\"8[1-4]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{2,3})\",\"$1 $2 $3\",[\"8[1-4]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"860\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"[1-9]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"8\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"861\\\\d{6,7}\",,,,\"861123456\",,,[9,10]],,,[,,,,,,,,,[-1]]],ZM:[,[,,\"800\\\\d{6}|(?:21|63|[79]\\\\d)\\\\d{7}\",,,,,,,[9],[6]],[,,\"21[1-8]\\\\d{6}\",,,,\n\"211234567\",,,,[6]],[,,\"(?:7[5-79]|9[5-8])\\\\d{7}\",,,,\"955123456\"],[,,\"800\\\\d{6}\",,,,\"800123456\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"63\\\\d{7}\",,,,\"630123456\"],\"ZM\",260,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3})\",\"$1 $2\",[\"[1-9]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[28]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"[79]\"],\"0$1\"]],[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[28]\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"[79]\"],\"0$1\"]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,\n,,,,,,,,[-1]]],ZW:[,[,,\"2(?:[0-57-9]\\\\d{6,8}|6[0-24-9]\\\\d{6,7})|[38]\\\\d{9}|[35-8]\\\\d{8}|[3-6]\\\\d{7}|[1-689]\\\\d{6}|[1-3569]\\\\d{5}|[1356]\\\\d{4}\",,,,,,,[5,6,7,8,9,10],[3,4]],[,,\"(?:1(?:(?:3\\\\d|9)\\\\d|[4-8])|2(?:(?:(?:0(?:2[014]|5)|(?:2[0157]|31|84|9)\\\\d\\\\d|[56](?:[14]\\\\d\\\\d|20)|7(?:[089]|2[03]|[35]\\\\d\\\\d))\\\\d|4(?:2\\\\d\\\\d|8))\\\\d|1(?:2|[39]\\\\d{4}))|3(?:(?:123|(?:29\\\\d|92)\\\\d)\\\\d\\\\d|7(?:[19]|[56]\\\\d))|5(?:0|1[2-478]|26|[37]2|4(?:2\\\\d{3}|83)|5(?:25\\\\d\\\\d|[78])|[689]\\\\d)|6(?:(?:[16-8]21|28|52[013])\\\\d\\\\d|[39])|8(?:[1349]28|523)\\\\d\\\\d)\\\\d{3}|(?:4\\\\d\\\\d|9[2-9])\\\\d{4,5}|(?:(?:2(?:(?:(?:0|8[146])\\\\d|7[1-7])\\\\d|2(?:[278]\\\\d|92)|58(?:2\\\\d|3))|3(?:[26]|9\\\\d{3})|5(?:4\\\\d|5)\\\\d\\\\d)\\\\d|6(?:(?:(?:[0-246]|[78]\\\\d)\\\\d|37)\\\\d|5[2-8]))\\\\d\\\\d|(?:2(?:[569]\\\\d|8[2-57-9])|3(?:[013-59]\\\\d|8[37])|6[89]8)\\\\d{3}\",\n,,,\"1312345\",,,,[3,4]],[,,\"7(?:[178]\\\\d|3[1-9])\\\\d{6}\",,,,\"712345678\",,,[9]],[,,\"80(?:[01]\\\\d|20|8[0-8])\\\\d{3}\",,,,\"8001234\",,,[7]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"86(?:1[12]|22|30|44|55|77|8[368])\\\\d{6}\",,,,\"8686123456\",,,[10]],\"ZW\",263,\"00\",\"0\",,,\"0\",,,,[[,\"(\\\\d{3})(\\\\d{3,5})\",\"$1 $2\",[\"2(?:0[45]|2[278]|[49]8)|3(?:[09]8|17)|6(?:[29]8|37|75)|[23][78]|(?:33|5[15]|6[68])[78]\"],\"0$1\"],[,\"(\\\\d)(\\\\d{3})(\\\\d{2,4})\",\"$1 $2 $3\",[\"[49]\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{4})\",\"$1 $2\",[\"80\"],\"0$1\"],\n[,\"(\\\\d{2})(\\\\d{7})\",\"$1 $2\",[\"24|8[13-59]|(?:2[05-79]|39|5[45]|6[15-8])2\",\"2(?:02[014]|4|[56]20|[79]2)|392|5(?:42|525)|6(?:[16-8]21|52[013])|8[13-59]\"],\"(0$1)\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"7\"],\"0$1\"],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"2(?:1[39]|2[0157]|[378]|[56][14])|3(?:12|29)\",\"2(?:1[39]|2[0157]|[378]|[56][14])|3(?:123|29)\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{6})\",\"$1 $2\",[\"8\"],\"0$1\"],[,\"(\\\\d{2})(\\\\d{3,5})\",\"$1 $2\",[\"1|2(?:0[0-36-9]|12|29|[56])|3(?:1[0-689]|[24-6])|5(?:[0236-9]|1[2-4])|6(?:[013-59]|7[0-46-9])|(?:33|55|6[68])[0-69]|(?:29|3[09]|62)[0-79]\"],\n\"0$1\"],[,\"(\\\\d{2})(\\\\d{3})(\\\\d{3,4})\",\"$1 $2 $3\",[\"29[013-9]|39|54\"],\"0$1\"],[,\"(\\\\d{4})(\\\\d{3,5})\",\"$1 $2\",[\"(?:25|54)8\",\"258|5483\"],\"0$1\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],800:[,[,,\"(?:00|[1-9]\\\\d)\\\\d{6}\",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:00|[1-9]\\\\d)\\\\d{6}\",,,,\"12345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"001\",800,,,,,,,,1,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"\\\\d\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\n,,[,,,,,,,,,[-1]]],808:[,[,,\"[1-9]\\\\d{7}\",,,,,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"[1-9]\\\\d{7}\",,,,\"12345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"001\",808,,,,,,,,1,[[,\"(\\\\d{4})(\\\\d{4})\",\"$1 $2\",[\"[1-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],870:[,[,,\"7\\\\d{11}|[35-7]\\\\d{8}\",,,,,,,[9,12]],[,,,,,,,,,[-1]],[,,\"(?:[356]|774[45])\\\\d{8}|7[6-8]\\\\d{7}\",,,,\"301234567\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,\n,,,,,,[-1]],\"001\",870,,,,,,,,,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"[35-7]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],878:[,[,,\"10\\\\d{10}\",,,,,,,[12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"10\\\\d{10}\",,,,\"101234567890\"],\"001\",878,,,,,,,,1,[[,\"(\\\\d{2})(\\\\d{5})(\\\\d{5})\",\"$1 $2 $3\",[\"1\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],881:[,[,,\"[0-36-9]\\\\d{8}\",,,,,,,[9]],[,,,,,,,,\n,[-1]],[,,\"[0-36-9]\\\\d{8}\",,,,\"612345678\"],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"001\",881,,,,,,,,,[[,\"(\\\\d)(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\",[\"[0-36-9]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],882:[,[,,\"[13]\\\\d{6}(?:\\\\d{2,5})?|[19]\\\\d{7}|(?:[25]\\\\d\\\\d|4)\\\\d{7}(?:\\\\d{2})?\",,,,,,,[7,8,9,10,11,12]],[,,,,,,,,,[-1]],[,,\"342\\\\d{4}|(?:337|49)\\\\d{6}|(?:3(?:2|47|7\\\\d{3})|50\\\\d{3})\\\\d{7}\",,,,\"3421234\",,,[7,8,9,10,12]],[,,,,,,,,,[-1]],[,\n,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\\\d{4}|6\\\\d{5,10})|(?:345\\\\d|9[89])\\\\d{6}|(?:10|2(?:3|85\\\\d)|3(?:[15]|[69]\\\\d\\\\d)|4[15-8]|51)\\\\d{8}\",,,,\"390123456789\"],\"001\",882,,,,,,,,,[[,\"(\\\\d{2})(\\\\d{5})\",\"$1 $2\",[\"16|342\"]],[,\"(\\\\d{2})(\\\\d{6})\",\"$1 $2\",[\"49\"]],[,\"(\\\\d{2})(\\\\d{2})(\\\\d{4})\",\"$1 $2 $3\",[\"1[36]|9\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{3})\",\"$1 $2 $3\",[\"3[23]\"]],[,\"(\\\\d{2})(\\\\d{3,4})(\\\\d{4})\",\"$1 $2 $3\",[\"16\"]],[,\"(\\\\d{2})(\\\\d{4})(\\\\d{4})\",\n\"$1 $2 $3\",[\"10|23|3(?:[15]|4[57])|4|51\"]],[,\"(\\\\d{3})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"34\"]],[,\"(\\\\d{2})(\\\\d{4,5})(\\\\d{5})\",\"$1 $2 $3\",[\"[1-35]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,\"348[57]\\\\d{7}\",,,,\"34851234567\",,,[11]]],883:[,[,,\"(?:[1-4]\\\\d|51)\\\\d{6,10}\",,,,,,,[8,9,10,11,12]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"(?:2(?:00\\\\d\\\\d|10)|(?:370[1-9]|51\\\\d0)\\\\d)\\\\d{7}|51(?:00\\\\d{5}|[24-9]0\\\\d{4,7})|(?:1[013-79]|2[24-689]|3[02-689]|4[0-4])0\\\\d{5,9}\",\n,,,\"510012345\"],\"001\",883,,,,,,,,1,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{2,8})\",\"$1 $2 $3\",[\"[14]|2[24-689]|3[02-689]|51[24-9]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3\",[\"510\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{4})\",\"$1 $2 $3\",[\"21\"]],[,\"(\\\\d{4})(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"51[13]\"]],[,\"(\\\\d{3})(\\\\d{3})(\\\\d{3})(\\\\d{3})\",\"$1 $2 $3 $4\",[\"[235]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]],888:[,[,,\"\\\\d{11}\",,,,,,,[11]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,\n,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"001\",888,,,,,,,,1,[[,\"(\\\\d{3})(\\\\d{3})(\\\\d{5})\",\"$1 $2 $3\"]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,\"\\\\d{11}\",,,,\"12345678901\"],,,[,,,,,,,,,[-1]]],979:[,[,,\"[1359]\\\\d{8}\",,,,,,,[9],[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,\"[1359]\\\\d{8}\",,,,\"123456789\",,,,[8]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],\"001\",979,,,,,,,,1,[[,\"(\\\\d)(\\\\d{4})(\\\\d{4})\",\"$1 $2 $3\",[\"[1359]\"]]],,[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]],[,,,,,,,,,[-1]],,,[,,,,,,,,,[-1]]]};/*\n\n Copyright (C) 2010 The Libphonenumber Authors.\n\n Licensed under the Apache License, Version 2.0 (the \"License\");\n you may not use this file except in compliance with the License.\n You may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\n Unless required by applicable law or agreed to in writing, software\n distributed under the License is distributed on an \"AS IS\" BASIS,\n WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n See the License for the specific language governing permissions and\n limitations under the License.\n*/\nfunction K(){this.g={}}K.i=void 0;K.g=function(){return K.i?K.i:K.i=new K};\nvar wa={0:\"0\",1:\"1\",2:\"2\",3:\"3\",4:\"4\",5:\"5\",6:\"6\",7:\"7\",8:\"8\",9:\"9\",\"\\uff10\":\"0\",\"\\uff11\":\"1\",\"\\uff12\":\"2\",\"\\uff13\":\"3\",\"\\uff14\":\"4\",\"\\uff15\":\"5\",\"\\uff16\":\"6\",\"\\uff17\":\"7\",\"\\uff18\":\"8\",\"\\uff19\":\"9\",\"\\u0660\":\"0\",\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u06f0\":\"0\",\"\\u06f1\":\"1\",\"\\u06f2\":\"2\",\"\\u06f3\":\"3\",\"\\u06f4\":\"4\",\"\\u06f5\":\"5\",\"\\u06f6\":\"6\",\"\\u06f7\":\"7\",\"\\u06f8\":\"8\",\"\\u06f9\":\"9\"},xa={0:\"0\",1:\"1\",2:\"2\",3:\"3\",4:\"4\",5:\"5\",6:\"6\",\n7:\"7\",8:\"8\",9:\"9\",\"\\uff10\":\"0\",\"\\uff11\":\"1\",\"\\uff12\":\"2\",\"\\uff13\":\"3\",\"\\uff14\":\"4\",\"\\uff15\":\"5\",\"\\uff16\":\"6\",\"\\uff17\":\"7\",\"\\uff18\":\"8\",\"\\uff19\":\"9\",\"\\u0660\":\"0\",\"\\u0661\":\"1\",\"\\u0662\":\"2\",\"\\u0663\":\"3\",\"\\u0664\":\"4\",\"\\u0665\":\"5\",\"\\u0666\":\"6\",\"\\u0667\":\"7\",\"\\u0668\":\"8\",\"\\u0669\":\"9\",\"\\u06f0\":\"0\",\"\\u06f1\":\"1\",\"\\u06f2\":\"2\",\"\\u06f3\":\"3\",\"\\u06f4\":\"4\",\"\\u06f5\":\"5\",\"\\u06f6\":\"6\",\"\\u06f7\":\"7\",\"\\u06f8\":\"8\",\"\\u06f9\":\"9\",A:\"2\",B:\"2\",C:\"2\",D:\"3\",E:\"3\",F:\"3\",G:\"4\",H:\"4\",I:\"4\",J:\"5\",K:\"5\",L:\"5\",M:\"6\",N:\"6\",O:\"6\",P:\"7\",\nQ:\"7\",R:\"7\",S:\"7\",T:\"8\",U:\"8\",V:\"8\",W:\"9\",X:\"9\",Y:\"9\",Z:\"9\"},L=/^[+\\uff0b]+/,ya=/([0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9])/,za=/[+\\uff0b0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9]/,Aa=/[\\\\\\/] *x/,Ba=/[^0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9A-Za-z#]+$/,Ca=/(?:.*?[A-Za-z]){3}.*/;function N(a){return\"([0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9]{1,\"+a+\"})\"}\nfunction Da(){return\";ext=\"+N(\"20\")+\"|[ \\u00a0\\\\t,]*(?:e?xt(?:ensi(?:o\\u0301?|\\u00f3))?n?|\\uff45?\\uff58\\uff54\\uff4e?|\\u0434\\u043e\\u0431|anexo)[:\\\\.\\uff0e]?[ \\u00a0\\\\t,-]*\"+(N(\"20\")+\"#?|[ \\u00a0\\\\t,]*(?:[x\\uff58#\\uff03~\\uff5e]|int|\\uff49\\uff4e\\uff54)[:\\\\.\\uff0e]?[ \\u00a0\\\\t,-]*\")+(N(\"9\")+\"#?|[- ]+\")+(N(\"6\")+\"#|[ \\u00a0\\\\t]*(?:,{2}|;)[:\\\\.\\uff0e]?[ \\u00a0\\\\t,-]*\")+(N(\"15\")+\"#?|[ \\u00a0\\\\t]*(?:,)+[:\\\\.\\uff0e]?[ \\u00a0\\\\t,-]*\")+(N(\"9\")+\"#?\")}\nvar Ea=new RegExp(\"(?:\"+Da()+\")$\",\"i\"),Fa=new RegExp(\"^[0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9]{2}$|^[+\\uff0b]*(?:[-x\\u2010-\\u2015\\u2212\\u30fc\\uff0d-\\uff0f \\u00a0\\u00ad\\u200b\\u2060\\u3000()\\uff08\\uff09\\uff3b\\uff3d.\\\\[\\\\]/~\\u2053\\u223c\\uff5e*]*[0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9]){3,}[-x\\u2010-\\u2015\\u2212\\u30fc\\uff0d-\\uff0f \\u00a0\\u00ad\\u200b\\u2060\\u3000()\\uff08\\uff09\\uff3b\\uff3d.\\\\[\\\\]/~\\u2053\\u223c\\uff5e*A-Za-z0-9\\uff10-\\uff19\\u0660-\\u0669\\u06f0-\\u06f9]*(?:\"+Da()+\")?$\",\"i\"),Ga=/(\\$\\d)/;\nfunction Ha(a){return 2>a.length?!1:O(Fa,a)}function Ia(a){return O(Ca,a)?P(a,xa):P(a,wa)}function Ja(a){var b=Ia(a.toString());a.i=\"\";a.g(b)}function Ka(a){return null!=a&&(1!=x(a,9)||-1!=u(a,9)[0])}function P(a,b){for(var c=new E,d,e=a.length,g=0;g<e;++g)d=a.charAt(g),d=b[d.toUpperCase()],null!=d&&c.g(d);return c.toString()}function Q(a){return null!=a&&isNaN(a)&&a.toUpperCase()in va}\nfunction La(a,b,c){if(0==p(b,2)&&null!=b.g[5]){var d=w(b,5);if(0<d.length)return d}d=w(b,1);var e=R(b);if(0==c)return Ma(d,0,e,\"\");if(!(d in J))return e;a=S(a,d,T(d));b=null!=b.g[3]&&0!=p(b,3).length?3==c?\";ext=\"+p(b,3):null!=a.g[13]?p(a,13)+w(b,3):\" ext. \"+w(b,3):\"\";a:{a=0==u(a,20).length||2==c?u(a,19):u(a,20);for(var g,f=a.length,h=0;h<f;++h){g=a[h];var l=x(g,3);if(0==l||0==e.search(p(g,3,l-1)))if(l=new RegExp(p(g,1)),O(l,e)){a=g;break a}}a=null}null!=a&&(f=a,a=w(f,2),g=new RegExp(p(f,1)),w(f,5),\nf=w(f,4),e=2==c&&null!=f&&0<f.length?e.replace(g,a.replace(Ga,f)):e.replace(g,a),3==c&&(e=e.replace(/^[-x\\u2010-\\u2015\\u2212\\u30fc\\uff0d-\\uff0f \\u00a0\\u00ad\\u200b\\u2060\\u3000()\\uff08\\uff09\\uff3b\\uff3d.\\[\\]/~\\u2053\\u223c\\uff5e]+/,\"\"),e=e.replace(/[-x\\u2010-\\u2015\\u2212\\u30fc\\uff0d-\\uff0f \\u00a0\\u00ad\\u200b\\u2060\\u3000()\\uff08\\uff09\\uff3b\\uff3d.\\[\\]/~\\u2053\\u223c\\uff5e]+/g,\"-\")));return Ma(d,c,e,b)}function S(a,b,c){return\"001\"==c?U(a,\"\"+b):U(a,c)}\nfunction R(a){if(null==a.g[2])return\"\";var b=\"\"+p(a,2);return null!=a.g[4]&&p(a,4)&&0<w(a,8)?Array(w(a,8)+1).join(\"0\")+b:b}function Ma(a,b,c,d){switch(b){case 0:return\"+\"+a+c+d;case 1:return\"+\"+a+\" \"+c+d;case 3:return\"tel:+\"+a+\"-\"+c+d;default:return c+d}}\nfunction V(a,b){switch(b){case 4:return p(a,5);case 3:return p(a,4);case 1:return p(a,3);case 0:case 2:return p(a,2);case 5:return p(a,6);case 6:return p(a,8);case 7:return p(a,7);case 8:return p(a,21);case 9:return p(a,25);case 10:return p(a,28);default:return p(a,1)}}function W(a,b){return X(a,p(b,1))?X(a,p(b,5))?4:X(a,p(b,4))?3:X(a,p(b,6))?5:X(a,p(b,8))?6:X(a,p(b,7))?7:X(a,p(b,21))?8:X(a,p(b,25))?9:X(a,p(b,28))?10:X(a,p(b,2))?p(b,18)||X(a,p(b,3))?2:0:!p(b,18)&&X(a,p(b,3))?1:-1:-1}\nfunction U(a,b){if(null==b)return null;b=b.toUpperCase();var c=a.g[b];if(null==c){c=va[b];if(null==c)return null;c=(new D).g(H.j(),c);a.g[b]=c}return c}function X(a,b){var c=a.length;return 0<x(b,9)&&-1==u(b,9).indexOf(c)?!1:O(w(b,2),a)}\nfunction Na(a,b){if(null==b)return null;var c=w(b,1);c=J[c];if(null==c)a=null;else if(1==c.length)a=c[0];else a:{b=R(b);for(var d,e=c.length,g=0;g<e;g++){d=c[g];var f=U(a,d);if(null!=f.g[23]){if(0==b.search(p(f,23))){a=d;break a}}else if(-1!=W(b,f)){a=d;break a}}a=null}return a}function T(a){a=J[a];return null==a?\"ZZ\":a[0]}\nfunction Y(a,b,c,d){var e=V(c,d),g=0==x(e,9)?u(p(c,1),9):u(e,9);e=u(e,10);if(2==d)if(Ka(V(c,0)))a=V(c,1),Ka(a)&&(g=g.concat(0==x(a,9)?u(p(c,1),9):u(a,9)),g.sort(),0==e.length?e=u(a,10):(e=e.concat(u(a,10)),e.sort()));else return Y(a,b,c,1);if(-1==g[0])return 5;b=b.length;if(-1<e.indexOf(b))return 4;c=g[0];return c==b?0:c>b?2:g[g.length-1]<b?3:-1<g.indexOf(b,1)?0:5}function Oa(a,b){var c=R(b);b=w(b,1);if(!(b in J))return 1;b=S(a,b,T(b));return Y(a,c,b,-1)}\nfunction Pa(a,b,c,d,e,g){if(0==b.length)return 0;b=new E(b);var f;null!=c&&(f=p(c,11));null==f&&(f=\"NonMatch\");var h=b.toString();if(0==h.length)f=20;else if(L.test(h))h=h.replace(L,\"\"),b.i=\"\",b.g(Ia(h)),f=1;else{h=new RegExp(f);Ja(b);f=b.toString();if(0==f.search(h)){h=f.match(h)[0].length;var l=f.substring(h).match(ya);l&&null!=l[1]&&0<l[1].length&&\"0\"==P(l[1],wa)?f=!1:(b.i=\"\",b.g(f.substring(h)),f=!0)}else f=!1;f=f?5:20}e&&q(g,6,f);if(20!=f){if(2>=b.i.length)throw Error(\"Phone number too short after IDD\");\na:{a=b.toString();if(0!=a.length&&\"0\"!=a.charAt(0))for(e=a.length,b=1;3>=b&&b<=e;++b)if(c=parseInt(a.substring(0,b),10),c in J){d.g(a.substring(b));d=c;break a}d=0}if(0!=d)return q(g,1,d),d;throw Error(\"Invalid country calling code\");}if(null!=c&&(f=w(c,10),h=\"\"+f,l=b.toString(),0==l.lastIndexOf(h,0)&&(h=new E(l.substring(h.length)),l=p(c,1),l=new RegExp(w(l,2)),Qa(h,c,null),h=h.toString(),!O(l,b.toString())&&O(l,h)||3==Y(a,b.toString(),c,-1))))return d.g(h),e&&q(g,6,10),q(g,1,f),f;q(g,1,0);return 0}\nfunction Qa(a,b,c){var d=a.toString(),e=d.length,g=p(b,15);if(0!=e&&null!=g&&0!=g.length){var f=new RegExp(\"^(?:\"+g+\")\");if(e=f.exec(d)){g=new RegExp(w(p(b,1),2));var h=O(g,d),l=e.length-1;b=p(b,16);if(null==b||0==b.length||null==e[l]||0==e[l].length){if(!h||O(g,d.substring(e[0].length)))null!=c&&0<l&&null!=e[l]&&c.g(e[1]),a.set(d.substring(e[0].length))}else if(d=d.replace(f,b),!h||O(g,d))null!=c&&0<l&&c.g(e[1]),a.set(d)}}}\nfunction Z(a,b,c){if(!Q(c)&&0<b.length&&\"+\"!=b.charAt(0))throw Error(\"Invalid country calling code\");return Ra(a,b,c,!0)}\nfunction Ra(a,b,c,d){if(null==b)throw Error(\"The string supplied did not seem to be a phone number\");if(250<b.length)throw Error(\"The string supplied is too long to be a phone number\");var e=new E,g=b.indexOf(\";phone-context=\");if(0<=g){var f=g+15;if(\"+\"==b.charAt(f)){var h=b.indexOf(\";\",f);0<h?e.g(b.substring(f,h)):e.g(b.substring(f))}f=b.indexOf(\"tel:\");e.g(b.substring(0<=f?f+4:0,g))}else g=e.g,f=b.search(za),0<=f?(f=b.substring(f),f=f.replace(Ba,\"\"),h=f.search(Aa),0<=h&&(f=f.substring(0,h))):f=\n\"\",g.call(e,f);g=e.toString();f=g.indexOf(\";isub=\");0<f&&(e.i=\"\",e.g(g.substring(0,f)));if(!Ha(e.toString()))throw Error(\"The string supplied did not seem to be a phone number\");g=e.toString();if(!(Q(c)||null!=g&&0<g.length&&L.test(g)))throw Error(\"Invalid country calling code\");g=new I;d&&q(g,5,b);a:{b=e.toString();f=b.search(Ea);if(0<=f&&Ha(b.substring(0,f))){h=b.match(Ea);for(var l=h.length,z=1;z<l;++z)if(null!=h[z]&&0<h[z].length){e.i=\"\";e.g(b.substring(0,f));b=h[z];break a}}b=\"\"}0<b.length&&\nq(g,3,b);f=U(a,c);b=new E;h=0;l=e.toString();try{h=Pa(a,l,f,b,d,g)}catch(M){if(\"Invalid country calling code\"==M.message&&L.test(l)){if(l=l.replace(L,\"\"),h=Pa(a,l,f,b,d,g),0==h)throw M;}else throw M;}0!=h?(e=T(h),e!=c&&(f=S(a,h,e))):(Ja(e),b.g(e.toString()),null!=c?(h=w(f,10),q(g,1,h)):d&&(delete g.g[6],g.i&&delete g.i[6]));if(2>b.i.length)throw Error(\"The string supplied is too short to be a phone number\");null!=f&&(c=new E,e=new E(b.toString()),Qa(e,f,c),a=Y(a,e.toString(),f,-1),2!=a&&4!=a&&5!=\na&&(b=e,d&&0<c.toString().length&&q(g,7,c.toString())));d=b.toString();a=d.length;if(2>a)throw Error(\"The string supplied is too short to be a phone number\");if(17<a)throw Error(\"The string supplied is too long to be a phone number\");if(1<d.length&&\"0\"==d.charAt(0)){q(g,4,!0);for(a=1;a<d.length-1&&\"0\"==d.charAt(a);)a++;1!=a&&q(g,8,a)}q(g,2,parseInt(d,10));return g}function O(a,b){return(a=\"string\"==typeof a?b.match(\"^(?:\"+a+\")$\"):b.match(a))&&a[0].length==b.length?!0:!1};k(\"intlTelInputUtils\",{});k(\"intlTelInputUtils.formatNumber\",function(a,b,c){try{var d=K.g(),e=Z(d,a,b),g=Oa(d,e);return 0==g||4==g?La(d,e,\"undefined\"==typeof c?0:c):a}catch(f){return a}});k(\"intlTelInputUtils.getExampleNumber\",function(a,b,c){try{var d=K.g();a:{if(Q(a)){var e=V(U(d,a),c);try{if(null!=e.g[6]){var g=p(e,6);var f=Ra(d,g,a,!1);break a}}catch(h){}}f=null}return La(d,f,b?2:1)}catch(h){return\"\"}});k(\"intlTelInputUtils.getExtension\",function(a,b){try{return p(Z(K.g(),a,b),3)}catch(c){return\"\"}});\nk(\"intlTelInputUtils.getNumberType\",function(a,b){try{var c=K.g();var d=Z(c,a,b),e=Na(c,d),g=S(c,w(d,1),e);if(null==g)var f=-1;else{var h=R(d);f=W(h,g)}return f}catch(l){return-99}});\nk(\"intlTelInputUtils.getValidationError\",function(a,b){try{var c=K.g(),d=Z(c,a,b);return Oa(c,d)}catch(e){return\"Invalid country calling code\"==e.message?1:\"Phone number too short after IDD\"==e.message||\"The string supplied is too short to be a phone number\"==e.message?2:\"The string supplied is too long to be a phone number\"==e.message?3:-99}});\nk(\"intlTelInputUtils.isValidNumber\",function(a,b){try{var c=K.g(),d=Z(c,a,b);var e=Na(c,d),g=w(d,1),f=S(c,g,e),h;if(!(h=null==f)){var l;if(l=\"001\"!=e){var z=U(c,e);if(null==z)throw Error(\"Invalid region code: \"+e);var M=w(z,10);l=g!=M}h=l}if(h)var ua=!1;else{var Sa=R(d);ua=-1!=W(Sa,f)}return ua}catch(Ta){return!1}});k(\"intlTelInputUtils.numberFormat\",{E164:0,INTERNATIONAL:1,NATIONAL:2,RFC3966:3});\nk(\"intlTelInputUtils.numberType\",{FIXED_LINE:0,MOBILE:1,FIXED_LINE_OR_MOBILE:2,TOLL_FREE:3,PREMIUM_RATE:4,SHARED_COST:5,VOIP:6,PERSONAL_NUMBER:7,PAGER:8,UAN:9,VOICEMAIL:10,UNKNOWN:-1});k(\"intlTelInputUtils.validationError\",{IS_POSSIBLE:0,INVALID_COUNTRY_CODE:1,TOO_SHORT:2,TOO_LONG:3,IS_POSSIBLE_LOCAL_ONLY:4,INVALID_LENGTH:5});})();\n","/*\n * International Telephone Input v17.0.21\n * https://github.com/jackocnr/intl-tel-input.git\n * Licensed under the MIT license\n */\n\n// wrap in UMD\n(function(factory) {\n    if (typeof module === \"object\" && module.exports) module.exports = factory(); else window.intlTelInput = factory();\n})(function(undefined) {\n    \"use strict\";\n    return function() {\n        // Array of country objects for the flag dropdown.\n        // Here is the criteria for the plugin to support a given country/territory\n        // - It has an iso2 code: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2\n        // - It has it's own country calling code (it is not a sub-region of another country): https://en.wikipedia.org/wiki/List_of_country_calling_codes\n        // - It has a flag in the region-flags project: https://github.com/behdad/region-flags/tree/gh-pages/png\n        // - It is supported by libphonenumber (it must be listed on this page): https://github.com/googlei18n/libphonenumber/blob/master/resources/ShortNumberMetadata.xml\n        // Each country array has the following information:\n        // [\n        //    Country name,\n        //    iso2 code,\n        //    International dial code,\n        //    Order (if >1 country with same dial code),\n        //    Area codes\n        // ]\n        var allCountries = [ [ \"Afghanistan (‫افغانستان‬‎)\", \"af\", \"93\" ], [ \"Albania (Shqipëri)\", \"al\", \"355\" ], [ \"Algeria (‫الجزائر‬‎)\", \"dz\", \"213\" ], [ \"American Samoa\", \"as\", \"1\", 5, [ \"684\" ] ], [ \"Andorra\", \"ad\", \"376\" ], [ \"Angola\", \"ao\", \"244\" ], [ \"Anguilla\", \"ai\", \"1\", 6, [ \"264\" ] ], [ \"Antigua and Barbuda\", \"ag\", \"1\", 7, [ \"268\" ] ], [ \"Argentina\", \"ar\", \"54\" ], [ \"Armenia (Հայաստան)\", \"am\", \"374\" ], [ \"Aruba\", \"aw\", \"297\" ], [ \"Ascension Island\", \"ac\", \"247\" ], [ \"Australia\", \"au\", \"61\", 0 ], [ \"Austria (Österreich)\", \"at\", \"43\" ], [ \"Azerbaijan (Azərbaycan)\", \"az\", \"994\" ], [ \"Bahamas\", \"bs\", \"1\", 8, [ \"242\" ] ], [ \"Bahrain (‫البحرين‬‎)\", \"bh\", \"973\" ], [ \"Bangladesh (বাংলাদেশ)\", \"bd\", \"880\" ], [ \"Barbados\", \"bb\", \"1\", 9, [ \"246\" ] ], [ \"Belarus (Беларусь)\", \"by\", \"375\" ], [ \"Belgium (België)\", \"be\", \"32\" ], [ \"Belize\", \"bz\", \"501\" ], [ \"Benin (Bénin)\", \"bj\", \"229\" ], [ \"Bermuda\", \"bm\", \"1\", 10, [ \"441\" ] ], [ \"Bhutan (འབྲུག)\", \"bt\", \"975\" ], [ \"Bolivia\", \"bo\", \"591\" ], [ \"Bosnia and Herzegovina (Босна и Херцеговина)\", \"ba\", \"387\" ], [ \"Botswana\", \"bw\", \"267\" ], [ \"Brazil (Brasil)\", \"br\", \"55\" ], [ \"British Indian Ocean Territory\", \"io\", \"246\" ], [ \"British Virgin Islands\", \"vg\", \"1\", 11, [ \"284\" ] ], [ \"Brunei\", \"bn\", \"673\" ], [ \"Bulgaria (България)\", \"bg\", \"359\" ], [ \"Burkina Faso\", \"bf\", \"226\" ], [ \"Burundi (Uburundi)\", \"bi\", \"257\" ], [ \"Cambodia (កម្ពុជា)\", \"kh\", \"855\" ], [ \"Cameroon (Cameroun)\", \"cm\", \"237\" ], [ \"Canada\", \"ca\", \"1\", 1, [ \"204\", \"226\", \"236\", \"249\", \"250\", \"289\", \"306\", \"343\", \"365\", \"387\", \"403\", \"416\", \"418\", \"431\", \"437\", \"438\", \"450\", \"506\", \"514\", \"519\", \"548\", \"579\", \"581\", \"587\", \"604\", \"613\", \"639\", \"647\", \"672\", \"705\", \"709\", \"742\", \"778\", \"780\", \"782\", \"807\", \"819\", \"825\", \"867\", \"873\", \"902\", \"905\" ] ], [ \"Cape Verde (Kabu Verdi)\", \"cv\", \"238\" ], [ \"Caribbean Netherlands\", \"bq\", \"599\", 1, [ \"3\", \"4\", \"7\" ] ], [ \"Cayman Islands\", \"ky\", \"1\", 12, [ \"345\" ] ], [ \"Central African Republic (République centrafricaine)\", \"cf\", \"236\" ], [ \"Chad (Tchad)\", \"td\", \"235\" ], [ \"Chile\", \"cl\", \"56\" ], [ \"China (中国)\", \"cn\", \"86\" ], [ \"Christmas Island\", \"cx\", \"61\", 2, [ \"89164\" ] ], [ \"Cocos (Keeling) Islands\", \"cc\", \"61\", 1, [ \"89162\" ] ], [ \"Colombia\", \"co\", \"57\" ], [ \"Comoros (‫جزر القمر‬‎)\", \"km\", \"269\" ], [ \"Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)\", \"cd\", \"243\" ], [ \"Congo (Republic) (Congo-Brazzaville)\", \"cg\", \"242\" ], [ \"Cook Islands\", \"ck\", \"682\" ], [ \"Costa Rica\", \"cr\", \"506\" ], [ \"Côte d’Ivoire\", \"ci\", \"225\" ], [ \"Croatia (Hrvatska)\", \"hr\", \"385\" ], [ \"Cuba\", \"cu\", \"53\" ], [ \"Curaçao\", \"cw\", \"599\", 0 ], [ \"Cyprus (Κύπρος)\", \"cy\", \"357\" ], [ \"Czech Republic (Česká republika)\", \"cz\", \"420\" ], [ \"Denmark (Danmark)\", \"dk\", \"45\" ], [ \"Djibouti\", \"dj\", \"253\" ], [ \"Dominica\", \"dm\", \"1\", 13, [ \"767\" ] ], [ \"Dominican Republic (República Dominicana)\", \"do\", \"1\", 2, [ \"809\", \"829\", \"849\" ] ], [ \"Ecuador\", \"ec\", \"593\" ], [ \"Egypt (‫مصر‬‎)\", \"eg\", \"20\" ], [ \"El Salvador\", \"sv\", \"503\" ], [ \"Equatorial Guinea (Guinea Ecuatorial)\", \"gq\", \"240\" ], [ \"Eritrea\", \"er\", \"291\" ], [ \"Estonia (Eesti)\", \"ee\", \"372\" ], [ \"Eswatini\", \"sz\", \"268\" ], [ \"Ethiopia\", \"et\", \"251\" ], [ \"Falkland Islands (Islas Malvinas)\", \"fk\", \"500\" ], [ \"Faroe Islands (Føroyar)\", \"fo\", \"298\" ], [ \"Fiji\", \"fj\", \"679\" ], [ \"Finland (Suomi)\", \"fi\", \"358\", 0 ], [ \"France\", \"fr\", \"33\" ], [ \"French Guiana (Guyane française)\", \"gf\", \"594\" ], [ \"French Polynesia (Polynésie française)\", \"pf\", \"689\" ], [ \"Gabon\", \"ga\", \"241\" ], [ \"Gambia\", \"gm\", \"220\" ], [ \"Georgia (საქართველო)\", \"ge\", \"995\" ], [ \"Germany (Deutschland)\", \"de\", \"49\" ], [ \"Ghana (Gaana)\", \"gh\", \"233\" ], [ \"Gibraltar\", \"gi\", \"350\" ], [ \"Greece (Ελλάδα)\", \"gr\", \"30\" ], [ \"Greenland (Kalaallit Nunaat)\", \"gl\", \"299\" ], [ \"Grenada\", \"gd\", \"1\", 14, [ \"473\" ] ], [ \"Guadeloupe\", \"gp\", \"590\", 0 ], [ \"Guam\", \"gu\", \"1\", 15, [ \"671\" ] ], [ \"Guatemala\", \"gt\", \"502\" ], [ \"Guernsey\", \"gg\", \"44\", 1, [ \"1481\", \"7781\", \"7839\", \"7911\" ] ], [ \"Guinea (Guinée)\", \"gn\", \"224\" ], [ \"Guinea-Bissau (Guiné Bissau)\", \"gw\", \"245\" ], [ \"Guyana\", \"gy\", \"592\" ], [ \"Haiti\", \"ht\", \"509\" ], [ \"Honduras\", \"hn\", \"504\" ], [ \"Hong Kong (香港)\", \"hk\", \"852\" ], [ \"Hungary (Magyarország)\", \"hu\", \"36\" ], [ \"Iceland (Ísland)\", \"is\", \"354\" ], [ \"India (भारत)\", \"in\", \"91\" ], [ \"Indonesia\", \"id\", \"62\" ], [ \"Iran (‫ایران‬‎)\", \"ir\", \"98\" ], [ \"Iraq (‫العراق‬‎)\", \"iq\", \"964\" ], [ \"Ireland\", \"ie\", \"353\" ], [ \"Isle of Man\", \"im\", \"44\", 2, [ \"1624\", \"74576\", \"7524\", \"7924\", \"7624\" ] ], [ \"Israel (‫ישראל‬‎)\", \"il\", \"972\" ], [ \"Italy (Italia)\", \"it\", \"39\", 0 ], [ \"Jamaica\", \"jm\", \"1\", 4, [ \"876\", \"658\" ] ], [ \"Japan (日本)\", \"jp\", \"81\" ], [ \"Jersey\", \"je\", \"44\", 3, [ \"1534\", \"7509\", \"7700\", \"7797\", \"7829\", \"7937\" ] ], [ \"Jordan (‫الأردن‬‎)\", \"jo\", \"962\" ], [ \"Kazakhstan (Казахстан)\", \"kz\", \"7\", 1, [ \"33\", \"7\" ] ], [ \"Kenya\", \"ke\", \"254\" ], [ \"Kiribati\", \"ki\", \"686\" ], [ \"Kosovo\", \"xk\", \"383\" ], [ \"Kuwait (‫الكويت‬‎)\", \"kw\", \"965\" ], [ \"Kyrgyzstan (Кыргызстан)\", \"kg\", \"996\" ], [ \"Laos (ລາວ)\", \"la\", \"856\" ], [ \"Latvia (Latvija)\", \"lv\", \"371\" ], [ \"Lebanon (‫لبنان‬‎)\", \"lb\", \"961\" ], [ \"Lesotho\", \"ls\", \"266\" ], [ \"Liberia\", \"lr\", \"231\" ], [ \"Libya (‫ليبيا‬‎)\", \"ly\", \"218\" ], [ \"Liechtenstein\", \"li\", \"423\" ], [ \"Lithuania (Lietuva)\", \"lt\", \"370\" ], [ \"Luxembourg\", \"lu\", \"352\" ], [ \"Macau (澳門)\", \"mo\", \"853\" ], [ \"Madagascar (Madagasikara)\", \"mg\", \"261\" ], [ \"Malawi\", \"mw\", \"265\" ], [ \"Malaysia\", \"my\", \"60\" ], [ \"Maldives\", \"mv\", \"960\" ], [ \"Mali\", \"ml\", \"223\" ], [ \"Malta\", \"mt\", \"356\" ], [ \"Marshall Islands\", \"mh\", \"692\" ], [ \"Martinique\", \"mq\", \"596\" ], [ \"Mauritania (‫موريتانيا‬‎)\", \"mr\", \"222\" ], [ \"Mauritius (Moris)\", \"mu\", \"230\" ], [ \"Mayotte\", \"yt\", \"262\", 1, [ \"269\", \"639\" ] ], [ \"Mexico (México)\", \"mx\", \"52\" ], [ \"Micronesia\", \"fm\", \"691\" ], [ \"Moldova (Republica Moldova)\", \"md\", \"373\" ], [ \"Monaco\", \"mc\", \"377\" ], [ \"Mongolia (Монгол)\", \"mn\", \"976\" ], [ \"Montenegro (Crna Gora)\", \"me\", \"382\" ], [ \"Montserrat\", \"ms\", \"1\", 16, [ \"664\" ] ], [ \"Morocco (‫المغرب‬‎)\", \"ma\", \"212\", 0 ], [ \"Mozambique (Moçambique)\", \"mz\", \"258\" ], [ \"Myanmar (Burma) (မြန်မာ)\", \"mm\", \"95\" ], [ \"Namibia (Namibië)\", \"na\", \"264\" ], [ \"Nauru\", \"nr\", \"674\" ], [ \"Nepal (नेपाल)\", \"np\", \"977\" ], [ \"Netherlands (Nederland)\", \"nl\", \"31\" ], [ \"New Caledonia (Nouvelle-Calédonie)\", \"nc\", \"687\" ], [ \"New Zealand\", \"nz\", \"64\" ], [ \"Nicaragua\", \"ni\", \"505\" ], [ \"Niger (Nijar)\", \"ne\", \"227\" ], [ \"Nigeria\", \"ng\", \"234\" ], [ \"Niue\", \"nu\", \"683\" ], [ \"Norfolk Island\", \"nf\", \"672\" ], [ \"North Korea (조선 민주주의 인민 공화국)\", \"kp\", \"850\" ], [ \"North Macedonia (Северна Македонија)\", \"mk\", \"389\" ], [ \"Northern Mariana Islands\", \"mp\", \"1\", 17, [ \"670\" ] ], [ \"Norway (Norge)\", \"no\", \"47\", 0 ], [ \"Oman (‫عُمان‬‎)\", \"om\", \"968\" ], [ \"Pakistan (‫پاکستان‬‎)\", \"pk\", \"92\" ], [ \"Palau\", \"pw\", \"680\" ], [ \"Palestine (‫فلسطين‬‎)\", \"ps\", \"970\" ], [ \"Panama (Panamá)\", \"pa\", \"507\" ], [ \"Papua New Guinea\", \"pg\", \"675\" ], [ \"Paraguay\", \"py\", \"595\" ], [ \"Peru (Perú)\", \"pe\", \"51\" ], [ \"Philippines\", \"ph\", \"63\" ], [ \"Poland (Polska)\", \"pl\", \"48\" ], [ \"Portugal\", \"pt\", \"351\" ], [ \"Puerto Rico\", \"pr\", \"1\", 3, [ \"787\", \"939\" ] ], [ \"Qatar (‫قطر‬‎)\", \"qa\", \"974\" ], [ \"Réunion (La Réunion)\", \"re\", \"262\", 0 ], [ \"Romania (România)\", \"ro\", \"40\" ], [ \"Russia (Россия)\", \"ru\", \"7\", 0 ], [ \"Rwanda\", \"rw\", \"250\" ], [ \"Saint Barthélemy\", \"bl\", \"590\", 1 ], [ \"Saint Helena\", \"sh\", \"290\" ], [ \"Saint Kitts and Nevis\", \"kn\", \"1\", 18, [ \"869\" ] ], [ \"Saint Lucia\", \"lc\", \"1\", 19, [ \"758\" ] ], [ \"Saint Martin (Saint-Martin (partie française))\", \"mf\", \"590\", 2 ], [ \"Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)\", \"pm\", \"508\" ], [ \"Saint Vincent and the Grenadines\", \"vc\", \"1\", 20, [ \"784\" ] ], [ \"Samoa\", \"ws\", \"685\" ], [ \"San Marino\", \"sm\", \"378\" ], [ \"São Tomé and Príncipe (São Tomé e Príncipe)\", \"st\", \"239\" ], [ \"Saudi Arabia (‫المملكة العربية السعودية‬‎)\", \"sa\", \"966\" ], [ \"Senegal (Sénégal)\", \"sn\", \"221\" ], [ \"Serbia (Србија)\", \"rs\", \"381\" ], [ \"Seychelles\", \"sc\", \"248\" ], [ \"Sierra Leone\", \"sl\", \"232\" ], [ \"Singapore\", \"sg\", \"65\" ], [ \"Sint Maarten\", \"sx\", \"1\", 21, [ \"721\" ] ], [ \"Slovakia (Slovensko)\", \"sk\", \"421\" ], [ \"Slovenia (Slovenija)\", \"si\", \"386\" ], [ \"Solomon Islands\", \"sb\", \"677\" ], [ \"Somalia (Soomaaliya)\", \"so\", \"252\" ], [ \"South Africa\", \"za\", \"27\" ], [ \"South Korea (대한민국)\", \"kr\", \"82\" ], [ \"South Sudan (‫جنوب السودان‬‎)\", \"ss\", \"211\" ], [ \"Spain (España)\", \"es\", \"34\" ], [ \"Sri Lanka (ශ්‍රී ලංකාව)\", \"lk\", \"94\" ], [ \"Sudan (‫السودان‬‎)\", \"sd\", \"249\" ], [ \"Suriname\", \"sr\", \"597\" ], [ \"Svalbard and Jan Mayen\", \"sj\", \"47\", 1, [ \"79\" ] ], [ \"Sweden (Sverige)\", \"se\", \"46\" ], [ \"Switzerland (Schweiz)\", \"ch\", \"41\" ], [ \"Syria (‫سوريا‬‎)\", \"sy\", \"963\" ], [ \"Taiwan (台灣)\", \"tw\", \"886\" ], [ \"Tajikistan\", \"tj\", \"992\" ], [ \"Tanzania\", \"tz\", \"255\" ], [ \"Thailand (ไทย)\", \"th\", \"66\" ], [ \"Timor-Leste\", \"tl\", \"670\" ], [ \"Togo\", \"tg\", \"228\" ], [ \"Tokelau\", \"tk\", \"690\" ], [ \"Tonga\", \"to\", \"676\" ], [ \"Trinidad and Tobago\", \"tt\", \"1\", 22, [ \"868\" ] ], [ \"Tunisia (‫تونس‬‎)\", \"tn\", \"216\" ], [ \"Turkey (Türkiye)\", \"tr\", \"90\" ], [ \"Turkmenistan\", \"tm\", \"993\" ], [ \"Turks and Caicos Islands\", \"tc\", \"1\", 23, [ \"649\" ] ], [ \"Tuvalu\", \"tv\", \"688\" ], [ \"U.S. Virgin Islands\", \"vi\", \"1\", 24, [ \"340\" ] ], [ \"Uganda\", \"ug\", \"256\" ], [ \"Ukraine (Україна)\", \"ua\", \"380\" ], [ \"United Arab Emirates (‫الإمارات العربية المتحدة‬‎)\", \"ae\", \"971\" ], [ \"United Kingdom\", \"gb\", \"44\", 0 ], [ \"United States\", \"us\", \"1\", 0 ], [ \"Uruguay\", \"uy\", \"598\" ], [ \"Uzbekistan (Oʻzbekiston)\", \"uz\", \"998\" ], [ \"Vanuatu\", \"vu\", \"678\" ], [ \"Vatican City (Città del Vaticano)\", \"va\", \"39\", 1, [ \"06698\" ] ], [ \"Venezuela\", \"ve\", \"58\" ], [ \"Vietnam (Việt Nam)\", \"vn\", \"84\" ], [ \"Wallis and Futuna (Wallis-et-Futuna)\", \"wf\", \"681\" ], [ \"Western Sahara (‫الصحراء الغربية‬‎)\", \"eh\", \"212\", 1, [ \"5288\", \"5289\" ] ], [ \"Yemen (‫اليمن‬‎)\", \"ye\", \"967\" ], [ \"Zambia\", \"zm\", \"260\" ], [ \"Zimbabwe\", \"zw\", \"263\" ], [ \"Åland Islands\", \"ax\", \"358\", 1, [ \"18\" ] ] ];\n        // loop over all of the countries above, restructuring the data to be objects with named keys\n        for (var i = 0; i < allCountries.length; i++) {\n            var c = allCountries[i];\n            allCountries[i] = {\n                name: c[0],\n                iso2: c[1],\n                dialCode: c[2],\n                priority: c[3] || 0,\n                areaCodes: c[4] || null\n            };\n        }\n        \"use strict\";\n        function _classCallCheck(instance, Constructor) {\n            if (!(instance instanceof Constructor)) {\n                throw new TypeError(\"Cannot call a class as a function\");\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        function _createClass(Constructor, protoProps, staticProps) {\n            if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n            if (staticProps) _defineProperties(Constructor, staticProps);\n            return Constructor;\n        }\n        var intlTelInputGlobals = {\n            getInstance: function getInstance(input) {\n                var id = input.getAttribute(\"data-intl-tel-input-id\");\n                return window.intlTelInputGlobals.instances[id];\n            },\n            instances: {},\n            // using a global like this allows us to mock it in the tests\n            documentReady: function documentReady() {\n                return document.readyState === \"complete\";\n            }\n        };\n        if (typeof window === \"object\") window.intlTelInputGlobals = intlTelInputGlobals;\n        // these vars persist through all instances of the plugin\n        var id = 0;\n        var defaults = {\n            // whether or not to allow the dropdown\n            allowDropdown: true,\n            // if there is just a dial code in the input: remove it on blur\n            autoHideDialCode: true,\n            // add a placeholder in the input with an example number for the selected country\n            autoPlaceholder: \"polite\",\n            // modify the parentClass\n            customContainer: \"\",\n            // modify the auto placeholder\n            customPlaceholder: null,\n            // append menu to specified element\n            dropdownContainer: null,\n            // don't display these countries\n            excludeCountries: [],\n            // format the input value during initialisation and on setNumber\n            formatOnDisplay: true,\n            // geoIp lookup function\n            geoIpLookup: null,\n            // inject a hidden input with this name, and on submit, populate it with the result of getNumber\n            hiddenInput: \"\",\n            // initial country\n            initialCountry: \"\",\n            // localized country names e.g. { 'de': 'Deutschland' }\n            localizedCountries: null,\n            // don't insert international dial codes\n            nationalMode: true,\n            // display only these countries\n            onlyCountries: [],\n            // number type to use for placeholders\n            placeholderNumberType: \"MOBILE\",\n            // the countries at the top of the list. defaults to united states and united kingdom\n            preferredCountries: [ \"us\", \"gb\" ],\n            // display the country dial code next to the selected flag so it's not part of the typed number\n            separateDialCode: false,\n            // specify the path to the libphonenumber script to enable validation/formatting\n            utilsScript: \"\"\n        };\n        // https://en.wikipedia.org/wiki/List_of_North_American_Numbering_Plan_area_codes#Non-geographic_area_codes\n        var regionlessNanpNumbers = [ \"800\", \"822\", \"833\", \"844\", \"855\", \"866\", \"877\", \"880\", \"881\", \"882\", \"883\", \"884\", \"885\", \"886\", \"887\", \"888\", \"889\" ];\n        // utility function to iterate over an object. can't use Object.entries or native forEach because\n        // of IE11\n        var forEachProp = function forEachProp(obj, callback) {\n            var keys = Object.keys(obj);\n            for (var i = 0; i < keys.length; i++) {\n                callback(keys[i], obj[keys[i]]);\n            }\n        };\n        // run a method on each instance of the plugin\n        var forEachInstance = function forEachInstance(method) {\n            forEachProp(window.intlTelInputGlobals.instances, function(key) {\n                window.intlTelInputGlobals.instances[key][method]();\n            });\n        };\n        // this is our plugin class that we will create an instance of\n        // eslint-disable-next-line no-unused-vars\n        var Iti = /*#__PURE__*/\n        function() {\n            function Iti(input, options) {\n                var _this = this;\n                _classCallCheck(this, Iti);\n                this.id = id++;\n                this.telInput = input;\n                this.activeItem = null;\n                this.highlightedItem = null;\n                // process specified options / defaults\n                // alternative to Object.assign, which isn't supported by IE11\n                var customOptions = options || {};\n                this.options = {};\n                forEachProp(defaults, function(key, value) {\n                    _this.options[key] = customOptions.hasOwnProperty(key) ? customOptions[key] : value;\n                });\n                this.hadInitialPlaceholder = Boolean(input.getAttribute(\"placeholder\"));\n            }\n            _createClass(Iti, [ {\n                key: \"_init\",\n                value: function _init() {\n                    var _this2 = this;\n                    // if in nationalMode, disable options relating to dial codes\n                    if (this.options.nationalMode) this.options.autoHideDialCode = false;\n                    // if separateDialCode then doesn't make sense to A) insert dial code into input\n                    // (autoHideDialCode), and B) display national numbers (because we're displaying the country\n                    // dial code next to them)\n                    if (this.options.separateDialCode) {\n                        this.options.autoHideDialCode = this.options.nationalMode = false;\n                    }\n                    // we cannot just test screen size as some smartphones/website meta tags will report desktop\n                    // resolutions\n                    // Note: for some reason jasmine breaks if you put this in the main Plugin function with the\n                    // rest of these declarations\n                    // Note: to target Android Mobiles (and not Tablets), we must find 'Android' and 'Mobile'\n                    this.isMobile = /Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n                    if (this.isMobile) {\n                        // trigger the mobile dropdown css\n                        document.body.classList.add(\"iti-mobile\");\n                        // on mobile, we want a full screen dropdown, so we must append it to the body\n                        if (!this.options.dropdownContainer) this.options.dropdownContainer = document.body;\n                    }\n                    // these promises get resolved when their individual requests complete\n                    // this way the dev can do something like iti.promise.then(...) to know when all requests are\n                    // complete\n                    if (typeof Promise !== \"undefined\") {\n                        var autoCountryPromise = new Promise(function(resolve, reject) {\n                            _this2.resolveAutoCountryPromise = resolve;\n                            _this2.rejectAutoCountryPromise = reject;\n                        });\n                        var utilsScriptPromise = new Promise(function(resolve, reject) {\n                            _this2.resolveUtilsScriptPromise = resolve;\n                            _this2.rejectUtilsScriptPromise = reject;\n                        });\n                        this.promise = Promise.all([ autoCountryPromise, utilsScriptPromise ]);\n                    } else {\n                        // prevent errors when Promise doesn't exist\n                        this.resolveAutoCountryPromise = this.rejectAutoCountryPromise = function() {};\n                        this.resolveUtilsScriptPromise = this.rejectUtilsScriptPromise = function() {};\n                    }\n                    // in various situations there could be no country selected initially, but we need to be able\n                    // to assume this variable exists\n                    this.selectedCountryData = {};\n                    // process all the data: onlyCountries, excludeCountries, preferredCountries etc\n                    this._processCountryData();\n                    // generate the markup\n                    this._generateMarkup();\n                    // set the initial state of the input value and the selected flag\n                    this._setInitialState();\n                    // start all of the event listeners: autoHideDialCode, input keydown, selectedFlag click\n                    this._initListeners();\n                    // utils script, and auto country\n                    this._initRequests();\n                }\n            }, {\n                key: \"_processCountryData\",\n                value: function _processCountryData() {\n                    // process onlyCountries or excludeCountries array if present\n                    this._processAllCountries();\n                    // process the countryCodes map\n                    this._processCountryCodes();\n                    // process the preferredCountries\n                    this._processPreferredCountries();\n                    // translate countries according to localizedCountries option\n                    if (this.options.localizedCountries) this._translateCountriesByLocale();\n                    // sort countries by name\n                    if (this.options.onlyCountries.length || this.options.localizedCountries) {\n                        this.countries.sort(this._countryNameSort);\n                    }\n                }\n            }, {\n                key: \"_addCountryCode\",\n                value: function _addCountryCode(iso2, countryCode, priority) {\n                    if (countryCode.length > this.countryCodeMaxLen) {\n                        this.countryCodeMaxLen = countryCode.length;\n                    }\n                    if (!this.countryCodes.hasOwnProperty(countryCode)) {\n                        this.countryCodes[countryCode] = [];\n                    }\n                    // bail if we already have this country for this countryCode\n                    for (var i = 0; i < this.countryCodes[countryCode].length; i++) {\n                        if (this.countryCodes[countryCode][i] === iso2) return;\n                    }\n                    // check for undefined as 0 is falsy\n                    var index = priority !== undefined ? priority : this.countryCodes[countryCode].length;\n                    this.countryCodes[countryCode][index] = iso2;\n                }\n            }, {\n                key: \"_processAllCountries\",\n                value: function _processAllCountries() {\n                    if (this.options.onlyCountries.length) {\n                        var lowerCaseOnlyCountries = this.options.onlyCountries.map(function(country) {\n                            return country.toLowerCase();\n                        });\n                        this.countries = allCountries.filter(function(country) {\n                            return lowerCaseOnlyCountries.indexOf(country.iso2) > -1;\n                        });\n                    } else if (this.options.excludeCountries.length) {\n                        var lowerCaseExcludeCountries = this.options.excludeCountries.map(function(country) {\n                            return country.toLowerCase();\n                        });\n                        this.countries = allCountries.filter(function(country) {\n                            return lowerCaseExcludeCountries.indexOf(country.iso2) === -1;\n                        });\n                    } else {\n                        this.countries = allCountries;\n                    }\n                }\n            }, {\n                key: \"_translateCountriesByLocale\",\n                value: function _translateCountriesByLocale() {\n                    for (var i = 0; i < this.countries.length; i++) {\n                        var iso = this.countries[i].iso2.toLowerCase();\n                        if (this.options.localizedCountries.hasOwnProperty(iso)) {\n                            this.countries[i].name = this.options.localizedCountries[iso];\n                        }\n                    }\n                }\n            }, {\n                key: \"_countryNameSort\",\n                value: function _countryNameSort(a, b) {\n                    return a.name.localeCompare(b.name);\n                }\n            }, {\n                key: \"_processCountryCodes\",\n                value: function _processCountryCodes() {\n                    this.countryCodeMaxLen = 0;\n                    // here we store just dial codes\n                    this.dialCodes = {};\n                    // here we store \"country codes\" (both dial codes and their area codes)\n                    this.countryCodes = {};\n                    // first: add dial codes\n                    for (var i = 0; i < this.countries.length; i++) {\n                        var c = this.countries[i];\n                        if (!this.dialCodes[c.dialCode]) this.dialCodes[c.dialCode] = true;\n                        this._addCountryCode(c.iso2, c.dialCode, c.priority);\n                    }\n                    // next: add area codes\n                    // this is a second loop over countries, to make sure we have all of the \"root\" countries\n                    // already in the map, so that we can access them, as each time we add an area code substring\n                    // to the map, we also need to include the \"root\" country's code, as that also matches\n                    for (var _i = 0; _i < this.countries.length; _i++) {\n                        var _c = this.countries[_i];\n                        // area codes\n                        if (_c.areaCodes) {\n                            var rootCountryCode = this.countryCodes[_c.dialCode][0];\n                            // for each area code\n                            for (var j = 0; j < _c.areaCodes.length; j++) {\n                                var areaCode = _c.areaCodes[j];\n                                // for each digit in the area code to add all partial matches as well\n                                for (var k = 1; k < areaCode.length; k++) {\n                                    var partialDialCode = _c.dialCode + areaCode.substr(0, k);\n                                    // start with the root country, as that also matches this dial code\n                                    this._addCountryCode(rootCountryCode, partialDialCode);\n                                    this._addCountryCode(_c.iso2, partialDialCode);\n                                }\n                                // add the full area code\n                                this._addCountryCode(_c.iso2, _c.dialCode + areaCode);\n                            }\n                        }\n                    }\n                }\n            }, {\n                key: \"_processPreferredCountries\",\n                value: function _processPreferredCountries() {\n                    this.preferredCountries = [];\n                    for (var i = 0; i < this.options.preferredCountries.length; i++) {\n                        var countryCode = this.options.preferredCountries[i].toLowerCase();\n                        var countryData = this._getCountryData(countryCode, false, true);\n                        if (countryData) this.preferredCountries.push(countryData);\n                    }\n                }\n            }, {\n                key: \"_createEl\",\n                value: function _createEl(name, attrs, container) {\n                    var el = document.createElement(name);\n                    if (attrs) forEachProp(attrs, function(key, value) {\n                        return el.setAttribute(key, value);\n                    });\n                    if (container) container.appendChild(el);\n                    return el;\n                }\n            }, {\n                key: \"_generateMarkup\",\n                value: function _generateMarkup() {\n                    // if autocomplete does not exist on the element and its form, then\n                    // prevent autocomplete as there's no safe, cross-browser event we can react to, so it can\n                    // easily put the plugin in an inconsistent state e.g. the wrong flag selected for the\n                    // autocompleted number, which on submit could mean wrong number is saved (esp in nationalMode)\n                    if (!this.telInput.hasAttribute(\"autocomplete\") && !(this.telInput.form && this.telInput.form.hasAttribute(\"autocomplete\"))) {\n                        this.telInput.setAttribute(\"autocomplete\", \"off\");\n                    }\n                    // containers (mostly for positioning)\n                    var parentClass = \"iti\";\n                    if (this.options.allowDropdown) parentClass += \" iti--allow-dropdown\";\n                    if (this.options.separateDialCode) parentClass += \" iti--separate-dial-code\";\n                    if (this.options.customContainer) {\n                        parentClass += \" \";\n                        parentClass += this.options.customContainer;\n                    }\n                    var wrapper = this._createEl(\"div\", {\n                        \"class\": parentClass\n                    });\n                    this.telInput.parentNode.insertBefore(wrapper, this.telInput);\n                    this.flagsContainer = this._createEl(\"div\", {\n                        \"class\": \"iti__flag-container\"\n                    }, wrapper);\n                    wrapper.appendChild(this.telInput);\n                    // selected flag (displayed to left of input)\n                    this.selectedFlag = this._createEl(\"div\", {\n                        \"class\": \"iti__selected-flag\",\n                        role: \"combobox\",\n                        \"aria-controls\": \"iti-\".concat(this.id, \"__country-listbox\"),\n                        \"aria-owns\": \"iti-\".concat(this.id, \"__country-listbox\"),\n                        \"aria-expanded\": \"false\"\n                    }, this.flagsContainer);\n                    this.selectedFlagInner = this._createEl(\"div\", {\n                        \"class\": \"iti__flag\"\n                    }, this.selectedFlag);\n                    if (this.options.separateDialCode) {\n                        this.selectedDialCode = this._createEl(\"div\", {\n                            \"class\": \"iti__selected-dial-code\"\n                        }, this.selectedFlag);\n                    }\n                    if (this.options.allowDropdown) {\n                        // make element focusable and tab navigable\n                        this.selectedFlag.setAttribute(\"tabindex\", \"0\");\n                        this.dropdownArrow = this._createEl(\"div\", {\n                            \"class\": \"iti__arrow\"\n                        }, this.selectedFlag);\n                        // country dropdown: preferred countries, then divider, then all countries\n                        this.countryList = this._createEl(\"ul\", {\n                            \"class\": \"iti__country-list iti__hide\",\n                            id: \"iti-\".concat(this.id, \"__country-listbox\"),\n                            role: \"listbox\",\n                            \"aria-label\": \"List of countries\"\n                        });\n                        if (this.preferredCountries.length) {\n                            this._appendListItems(this.preferredCountries, \"iti__preferred\", true);\n                            this._createEl(\"li\", {\n                                \"class\": \"iti__divider\",\n                                role: \"separator\",\n                                \"aria-disabled\": \"true\"\n                            }, this.countryList);\n                        }\n                        this._appendListItems(this.countries, \"iti__standard\");\n                        // create dropdownContainer markup\n                        if (this.options.dropdownContainer) {\n                            this.dropdown = this._createEl(\"div\", {\n                                \"class\": \"iti iti--container\"\n                            });\n                            this.dropdown.appendChild(this.countryList);\n                        } else {\n                            this.flagsContainer.appendChild(this.countryList);\n                        }\n                    }\n                    if (this.options.hiddenInput) {\n                        var hiddenInputName = this.options.hiddenInput;\n                        var name = this.telInput.getAttribute(\"name\");\n                        if (name) {\n                            var i = name.lastIndexOf(\"[\");\n                            // if input name contains square brackets, then give the hidden input the same name,\n                            // replacing the contents of the last set of brackets with the given hiddenInput name\n                            if (i !== -1) hiddenInputName = \"\".concat(name.substr(0, i), \"[\").concat(hiddenInputName, \"]\");\n                        }\n                        this.hiddenInput = this._createEl(\"input\", {\n                            type: \"hidden\",\n                            name: hiddenInputName\n                        });\n                        wrapper.appendChild(this.hiddenInput);\n                    }\n                }\n            }, {\n                key: \"_appendListItems\",\n                value: function _appendListItems(countries, className, preferred) {\n                    // we create so many DOM elements, it is faster to build a temp string\n                    // and then add everything to the DOM in one go at the end\n                    var tmp = \"\";\n                    // for each country\n                    for (var i = 0; i < countries.length; i++) {\n                        var c = countries[i];\n                        var idSuffix = preferred ? \"-preferred\" : \"\";\n                        // open the list item\n                        tmp += \"<li class='iti__country \".concat(className, \"' tabIndex='-1' id='iti-\").concat(this.id, \"__item-\").concat(c.iso2).concat(idSuffix, \"' role='option' data-dial-code='\").concat(c.dialCode, \"' data-country-code='\").concat(c.iso2, \"' aria-selected='false'>\");\n                        // add the flag\n                        tmp += \"<div class='iti__flag-box'><div class='iti__flag iti__\".concat(c.iso2, \"'></div></div>\");\n                        // and the country name and dial code\n                        tmp += \"<span class='iti__country-name'>\".concat(c.name, \"</span>\");\n                        tmp += \"<span class='iti__dial-code'>+\".concat(c.dialCode, \"</span>\");\n                        // close the list item\n                        tmp += \"</li>\";\n                    }\n                    this.countryList.insertAdjacentHTML(\"beforeend\", tmp);\n                }\n            }, {\n                key: \"_setInitialState\",\n                value: function _setInitialState() {\n                    // fix firefox bug: when first load page (with input with value set to number with intl dial\n                    // code) and initialising plugin removes the dial code from the input, then refresh page,\n                    // and we try to init plugin again but this time on number without dial code so get grey flag\n                    var attributeValue = this.telInput.getAttribute(\"value\");\n                    var inputValue = this.telInput.value;\n                    var useAttribute = attributeValue && attributeValue.charAt(0) === \"+\" && (!inputValue || inputValue.charAt(0) !== \"+\");\n                    var val = useAttribute ? attributeValue : inputValue;\n                    var dialCode = this._getDialCode(val);\n                    var isRegionlessNanp = this._isRegionlessNanp(val);\n                    var _this$options = this.options, initialCountry = _this$options.initialCountry, nationalMode = _this$options.nationalMode, autoHideDialCode = _this$options.autoHideDialCode, separateDialCode = _this$options.separateDialCode;\n                    // if we already have a dial code, and it's not a regionlessNanp, we can go ahead and set the\n                    // flag, else fall back to the default country\n                    if (dialCode && !isRegionlessNanp) {\n                        this._updateFlagFromNumber(val);\n                    } else if (initialCountry !== \"auto\") {\n                        // see if we should select a flag\n                        if (initialCountry) {\n                            this._setFlag(initialCountry.toLowerCase());\n                        } else {\n                            if (dialCode && isRegionlessNanp) {\n                                // has intl dial code, is regionless nanp, and no initialCountry, so default to US\n                                this._setFlag(\"us\");\n                            } else {\n                                // no dial code and no initialCountry, so default to first in list\n                                this.defaultCountry = this.preferredCountries.length ? this.preferredCountries[0].iso2 : this.countries[0].iso2;\n                                if (!val) {\n                                    this._setFlag(this.defaultCountry);\n                                }\n                            }\n                        }\n                        // if empty and no nationalMode and no autoHideDialCode then insert the default dial code\n                        if (!val && !nationalMode && !autoHideDialCode && !separateDialCode) {\n                            this.telInput.value = \"+\".concat(this.selectedCountryData.dialCode);\n                        }\n                    }\n                    // NOTE: if initialCountry is set to auto, that will be handled separately\n                    // format - note this wont be run after _updateDialCode as that's only called if no val\n                    if (val) this._updateValFromNumber(val);\n                }\n            }, {\n                key: \"_initListeners\",\n                value: function _initListeners() {\n                    this._initKeyListeners();\n                    if (this.options.autoHideDialCode) this._initBlurListeners();\n                    if (this.options.allowDropdown) this._initDropdownListeners();\n                    if (this.hiddenInput) this._initHiddenInputListener();\n                }\n            }, {\n                key: \"_initHiddenInputListener\",\n                value: function _initHiddenInputListener() {\n                    var _this3 = this;\n                    this._handleHiddenInputSubmit = function() {\n                        _this3.hiddenInput.value = _this3.getNumber();\n                    };\n                    if (this.telInput.form) this.telInput.form.addEventListener(\"submit\", this._handleHiddenInputSubmit);\n                }\n            }, {\n                key: \"_getClosestLabel\",\n                value: function _getClosestLabel() {\n                    var el = this.telInput;\n                    while (el && el.tagName !== \"LABEL\") {\n                        el = el.parentNode;\n                    }\n                    return el;\n                }\n            }, {\n                key: \"_initDropdownListeners\",\n                value: function _initDropdownListeners() {\n                    var _this4 = this;\n                    // hack for input nested inside label (which is valid markup): clicking the selected-flag to\n                    // open the dropdown would then automatically trigger a 2nd click on the input which would\n                    // close it again\n                    this._handleLabelClick = function(e) {\n                        // if the dropdown is closed, then focus the input, else ignore the click\n                        if (_this4.countryList.classList.contains(\"iti__hide\")) _this4.telInput.focus(); else e.preventDefault();\n                    };\n                    var label = this._getClosestLabel();\n                    if (label) label.addEventListener(\"click\", this._handleLabelClick);\n                    // toggle country dropdown on click\n                    this._handleClickSelectedFlag = function() {\n                        // only intercept this event if we're opening the dropdown\n                        // else let it bubble up to the top (\"click-off-to-close\" listener)\n                        // we cannot just stopPropagation as it may be needed to close another instance\n                        if (_this4.countryList.classList.contains(\"iti__hide\") && !_this4.telInput.disabled && !_this4.telInput.readOnly) {\n                            _this4._showDropdown();\n                        }\n                    };\n                    this.selectedFlag.addEventListener(\"click\", this._handleClickSelectedFlag);\n                    // open dropdown list if currently focused\n                    this._handleFlagsContainerKeydown = function(e) {\n                        var isDropdownHidden = _this4.countryList.classList.contains(\"iti__hide\");\n                        if (isDropdownHidden && [ \"ArrowUp\", \"Up\", \"ArrowDown\", \"Down\", \" \", \"Enter\" ].indexOf(e.key) !== -1) {\n                            // prevent form from being submitted if \"ENTER\" was pressed\n                            e.preventDefault();\n                            // prevent event from being handled again by document\n                            e.stopPropagation();\n                            _this4._showDropdown();\n                        }\n                        // allow navigation from dropdown to input on TAB\n                        if (e.key === \"Tab\") _this4._closeDropdown();\n                    };\n                    this.flagsContainer.addEventListener(\"keydown\", this._handleFlagsContainerKeydown);\n                }\n            }, {\n                key: \"_initRequests\",\n                value: function _initRequests() {\n                    var _this5 = this;\n                    // if the user has specified the path to the utils script, fetch it on window.load, else resolve\n                    if (this.options.utilsScript && !window.intlTelInputUtils) {\n                        // if the plugin is being initialised after the window.load event has already been fired\n                        if (window.intlTelInputGlobals.documentReady()) {\n                            window.intlTelInputGlobals.loadUtils(this.options.utilsScript);\n                        } else {\n                            // wait until the load event so we don't block any other requests e.g. the flags image\n                            window.addEventListener(\"load\", function() {\n                                window.intlTelInputGlobals.loadUtils(_this5.options.utilsScript);\n                            });\n                        }\n                    } else this.resolveUtilsScriptPromise();\n                    if (this.options.initialCountry === \"auto\") this._loadAutoCountry(); else this.resolveAutoCountryPromise();\n                }\n            }, {\n                key: \"_loadAutoCountry\",\n                value: function _loadAutoCountry() {\n                    // 3 options:\n                    // 1) already loaded (we're done)\n                    // 2) not already started loading (start)\n                    // 3) already started loading (do nothing - just wait for loading callback to fire)\n                    if (window.intlTelInputGlobals.autoCountry) {\n                        this.handleAutoCountry();\n                    } else if (!window.intlTelInputGlobals.startedLoadingAutoCountry) {\n                        // don't do this twice!\n                        window.intlTelInputGlobals.startedLoadingAutoCountry = true;\n                        if (typeof this.options.geoIpLookup === \"function\") {\n                            this.options.geoIpLookup(function(countryCode) {\n                                window.intlTelInputGlobals.autoCountry = countryCode.toLowerCase();\n                                // tell all instances the auto country is ready\n                                // TODO: this should just be the current instances\n                                // UPDATE: use setTimeout in case their geoIpLookup function calls this callback straight\n                                // away (e.g. if they have already done the geo ip lookup somewhere else). Using\n                                // setTimeout means that the current thread of execution will finish before executing\n                                // this, which allows the plugin to finish initialising.\n                                setTimeout(function() {\n                                    return forEachInstance(\"handleAutoCountry\");\n                                });\n                            }, function() {\n                                return forEachInstance(\"rejectAutoCountryPromise\");\n                            });\n                        }\n                    }\n                }\n            }, {\n                key: \"_initKeyListeners\",\n                value: function _initKeyListeners() {\n                    var _this6 = this;\n                    // update flag on keyup\n                    this._handleKeyupEvent = function() {\n                        if (_this6._updateFlagFromNumber(_this6.telInput.value)) {\n                            _this6._triggerCountryChange();\n                        }\n                    };\n                    this.telInput.addEventListener(\"keyup\", this._handleKeyupEvent);\n                    // update flag on cut/paste events (now supported in all major browsers)\n                    this._handleClipboardEvent = function() {\n                        // hack because \"paste\" event is fired before input is updated\n                        setTimeout(_this6._handleKeyupEvent);\n                    };\n                    this.telInput.addEventListener(\"cut\", this._handleClipboardEvent);\n                    this.telInput.addEventListener(\"paste\", this._handleClipboardEvent);\n                }\n            }, {\n                key: \"_cap\",\n                value: function _cap(number) {\n                    var max = this.telInput.getAttribute(\"maxlength\");\n                    return max && number.length > max ? number.substr(0, max) : number;\n                }\n            }, {\n                key: \"_initBlurListeners\",\n                value: function _initBlurListeners() {\n                    var _this7 = this;\n                    // on blur or form submit: if just a dial code then remove it\n                    this._handleSubmitOrBlurEvent = function() {\n                        _this7._removeEmptyDialCode();\n                    };\n                    if (this.telInput.form) this.telInput.form.addEventListener(\"submit\", this._handleSubmitOrBlurEvent);\n                    this.telInput.addEventListener(\"blur\", this._handleSubmitOrBlurEvent);\n                }\n            }, {\n                key: \"_removeEmptyDialCode\",\n                value: function _removeEmptyDialCode() {\n                    if (this.telInput.value.charAt(0) === \"+\") {\n                        var numeric = this._getNumeric(this.telInput.value);\n                        // if just a plus, or if just a dial code\n                        if (!numeric || this.selectedCountryData.dialCode === numeric) {\n                            this.telInput.value = \"\";\n                        }\n                    }\n                }\n            }, {\n                key: \"_getNumeric\",\n                value: function _getNumeric(s) {\n                    return s.replace(/\\D/g, \"\");\n                }\n            }, {\n                key: \"_trigger\",\n                value: function _trigger(name) {\n                    // have to use old school document.createEvent as IE11 doesn't support `new Event()` syntax\n                    var e = document.createEvent(\"Event\");\n                    e.initEvent(name, true, true);\n                    // can bubble, and is cancellable\n                    this.telInput.dispatchEvent(e);\n                }\n            }, {\n                key: \"_showDropdown\",\n                value: function _showDropdown() {\n                    this.countryList.classList.remove(\"iti__hide\");\n                    this.selectedFlag.setAttribute(\"aria-expanded\", \"true\");\n                    this._setDropdownPosition();\n                    // update highlighting and scroll to active list item\n                    if (this.activeItem) {\n                        this._highlightListItem(this.activeItem, false);\n                        this._scrollTo(this.activeItem, true);\n                    }\n                    // bind all the dropdown-related listeners: mouseover, click, click-off, keydown\n                    this._bindDropdownListeners();\n                    // update the arrow\n                    this.dropdownArrow.classList.add(\"iti__arrow--up\");\n                    this._trigger(\"open:countrydropdown\");\n                }\n            }, {\n                key: \"_toggleClass\",\n                value: function _toggleClass(el, className, shouldHaveClass) {\n                    if (shouldHaveClass && !el.classList.contains(className)) el.classList.add(className); else if (!shouldHaveClass && el.classList.contains(className)) el.classList.remove(className);\n                }\n            }, {\n                key: \"_setDropdownPosition\",\n                value: function _setDropdownPosition() {\n                    var _this8 = this;\n                    if (this.options.dropdownContainer) {\n                        this.options.dropdownContainer.appendChild(this.dropdown);\n                    }\n                    if (!this.isMobile) {\n                        var pos = this.telInput.getBoundingClientRect();\n                        // windowTop from https://stackoverflow.com/a/14384091/217866\n                        var windowTop = window.pageYOffset || document.documentElement.scrollTop;\n                        var inputTop = pos.top + windowTop;\n                        var dropdownHeight = this.countryList.offsetHeight;\n                        // dropdownFitsBelow = (dropdownBottom < windowBottom)\n                        var dropdownFitsBelow = inputTop + this.telInput.offsetHeight + dropdownHeight < windowTop + window.innerHeight;\n                        var dropdownFitsAbove = inputTop - dropdownHeight > windowTop;\n                        // by default, the dropdown will be below the input. If we want to position it above the\n                        // input, we add the dropup class.\n                        this._toggleClass(this.countryList, \"iti__country-list--dropup\", !dropdownFitsBelow && dropdownFitsAbove);\n                        // if dropdownContainer is enabled, calculate postion\n                        if (this.options.dropdownContainer) {\n                            // by default the dropdown will be directly over the input because it's not in the flow.\n                            // If we want to position it below, we need to add some extra top value.\n                            var extraTop = !dropdownFitsBelow && dropdownFitsAbove ? 0 : this.telInput.offsetHeight;\n                            // calculate placement\n                            this.dropdown.style.top = \"\".concat(inputTop + extraTop, \"px\");\n                            this.dropdown.style.left = \"\".concat(pos.left + document.body.scrollLeft, \"px\");\n                            // close menu on window scroll\n                            this._handleWindowScroll = function() {\n                                return _this8._closeDropdown();\n                            };\n                            window.addEventListener(\"scroll\", this._handleWindowScroll);\n                        }\n                    }\n                }\n            }, {\n                key: \"_getClosestListItem\",\n                value: function _getClosestListItem(target) {\n                    var el = target;\n                    while (el && el !== this.countryList && !el.classList.contains(\"iti__country\")) {\n                        el = el.parentNode;\n                    }\n                    // if we reached the countryList element, then return null\n                    return el === this.countryList ? null : el;\n                }\n            }, {\n                key: \"_bindDropdownListeners\",\n                value: function _bindDropdownListeners() {\n                    var _this9 = this;\n                    // when mouse over a list item, just highlight that one\n                    // we add the class \"highlight\", so if they hit \"enter\" we know which one to select\n                    this._handleMouseoverCountryList = function(e) {\n                        // handle event delegation, as we're listening for this event on the countryList\n                        var listItem = _this9._getClosestListItem(e.target);\n                        if (listItem) _this9._highlightListItem(listItem, false);\n                    };\n                    this.countryList.addEventListener(\"mouseover\", this._handleMouseoverCountryList);\n                    // listen for country selection\n                    this._handleClickCountryList = function(e) {\n                        var listItem = _this9._getClosestListItem(e.target);\n                        if (listItem) _this9._selectListItem(listItem);\n                    };\n                    this.countryList.addEventListener(\"click\", this._handleClickCountryList);\n                    // click off to close\n                    // (except when this initial opening click is bubbling up)\n                    // we cannot just stopPropagation as it may be needed to close another instance\n                    var isOpening = true;\n                    this._handleClickOffToClose = function() {\n                        if (!isOpening) _this9._closeDropdown();\n                        isOpening = false;\n                    };\n                    document.documentElement.addEventListener(\"click\", this._handleClickOffToClose);\n                    // listen for up/down scrolling, enter to select, or letters to jump to country name.\n                    // use keydown as keypress doesn't fire for non-char keys and we want to catch if they\n                    // just hit down and hold it to scroll down (no keyup event).\n                    // listen on the document because that's where key events are triggered if no input has focus\n                    var query = \"\";\n                    var queryTimer = null;\n                    this._handleKeydownOnDropdown = function(e) {\n                        // prevent down key from scrolling the whole page,\n                        // and enter key from submitting a form etc\n                        e.preventDefault();\n                        // up and down to navigate\n                        if (e.key === \"ArrowUp\" || e.key === \"Up\" || e.key === \"ArrowDown\" || e.key === \"Down\") _this9._handleUpDownKey(e.key); else if (e.key === \"Enter\") _this9._handleEnterKey(); else if (e.key === \"Escape\") _this9._closeDropdown(); else if (/^[a-zA-ZÀ-ÿа-яА-Я ]$/.test(e.key)) {\n                            // jump to countries that start with the query string\n                            if (queryTimer) clearTimeout(queryTimer);\n                            query += e.key.toLowerCase();\n                            _this9._searchForCountry(query);\n                            // if the timer hits 1 second, reset the query\n                            queryTimer = setTimeout(function() {\n                                query = \"\";\n                            }, 1e3);\n                        }\n                    };\n                    document.addEventListener(\"keydown\", this._handleKeydownOnDropdown);\n                }\n            }, {\n                key: \"_handleUpDownKey\",\n                value: function _handleUpDownKey(key) {\n                    var next = key === \"ArrowUp\" || key === \"Up\" ? this.highlightedItem.previousElementSibling : this.highlightedItem.nextElementSibling;\n                    if (next) {\n                        // skip the divider\n                        if (next.classList.contains(\"iti__divider\")) {\n                            next = key === \"ArrowUp\" || key === \"Up\" ? next.previousElementSibling : next.nextElementSibling;\n                        }\n                        this._highlightListItem(next, true);\n                    }\n                }\n            }, {\n                key: \"_handleEnterKey\",\n                value: function _handleEnterKey() {\n                    if (this.highlightedItem) this._selectListItem(this.highlightedItem);\n                }\n            }, {\n                key: \"_searchForCountry\",\n                value: function _searchForCountry(query) {\n                    for (var i = 0; i < this.countries.length; i++) {\n                        if (this._startsWith(this.countries[i].name, query)) {\n                            var listItem = this.countryList.querySelector(\"#iti-\".concat(this.id, \"__item-\").concat(this.countries[i].iso2));\n                            // update highlighting and scroll\n                            this._highlightListItem(listItem, false);\n                            this._scrollTo(listItem, true);\n                            break;\n                        }\n                    }\n                }\n            }, {\n                key: \"_startsWith\",\n                value: function _startsWith(a, b) {\n                    return a.substr(0, b.length).toLowerCase() === b;\n                }\n            }, {\n                key: \"_updateValFromNumber\",\n                value: function _updateValFromNumber(originalNumber) {\n                    var number = originalNumber;\n                    if (this.options.formatOnDisplay && window.intlTelInputUtils && this.selectedCountryData) {\n                        var useNational = !this.options.separateDialCode && (this.options.nationalMode || number.charAt(0) !== \"+\");\n                        var _intlTelInputUtils$nu = intlTelInputUtils.numberFormat, NATIONAL = _intlTelInputUtils$nu.NATIONAL, INTERNATIONAL = _intlTelInputUtils$nu.INTERNATIONAL;\n                        var format = useNational ? NATIONAL : INTERNATIONAL;\n                        number = intlTelInputUtils.formatNumber(number, this.selectedCountryData.iso2, format);\n                    }\n                    number = this._beforeSetNumber(number);\n                    this.telInput.value = number;\n                }\n            }, {\n                key: \"_updateFlagFromNumber\",\n                value: function _updateFlagFromNumber(originalNumber) {\n                    // if we're in nationalMode and we already have US/Canada selected, make sure the number starts\n                    // with a +1 so _getDialCode will be able to extract the area code\n                    // update: if we dont yet have selectedCountryData, but we're here (trying to update the flag\n                    // from the number), that means we're initialising the plugin with a number that already has a\n                    // dial code, so fine to ignore this bit\n                    var number = originalNumber;\n                    var selectedDialCode = this.selectedCountryData.dialCode;\n                    var isNanp = selectedDialCode === \"1\";\n                    if (number && this.options.nationalMode && isNanp && number.charAt(0) !== \"+\") {\n                        if (number.charAt(0) !== \"1\") number = \"1\".concat(number);\n                        number = \"+\".concat(number);\n                    }\n                    // update flag if user types area code for another country\n                    if (this.options.separateDialCode && selectedDialCode && number.charAt(0) !== \"+\") {\n                        number = \"+\".concat(selectedDialCode).concat(number);\n                    }\n                    // try and extract valid dial code from input\n                    var dialCode = this._getDialCode(number, true);\n                    var numeric = this._getNumeric(number);\n                    var countryCode = null;\n                    if (dialCode) {\n                        var countryCodes = this.countryCodes[this._getNumeric(dialCode)];\n                        // check if the right country is already selected. this should be false if the number is\n                        // longer than the matched dial code because in this case we need to make sure that if\n                        // there are multiple country matches, that the first one is selected (note: we could\n                        // just check that here, but it requires the same loop that we already have later)\n                        var alreadySelected = countryCodes.indexOf(this.selectedCountryData.iso2) !== -1 && numeric.length <= dialCode.length - 1;\n                        var isRegionlessNanpNumber = selectedDialCode === \"1\" && this._isRegionlessNanp(numeric);\n                        // only update the flag if:\n                        // A) NOT (we currently have a NANP flag selected, and the number is a regionlessNanp)\n                        // AND\n                        // B) the right country is not already selected\n                        if (!isRegionlessNanpNumber && !alreadySelected) {\n                            // if using onlyCountries option, countryCodes[0] may be empty, so we must find the first\n                            // non-empty index\n                            for (var j = 0; j < countryCodes.length; j++) {\n                                if (countryCodes[j]) {\n                                    countryCode = countryCodes[j];\n                                    break;\n                                }\n                            }\n                        }\n                    } else if (number.charAt(0) === \"+\" && numeric.length) {\n                        // invalid dial code, so empty\n                        // Note: use getNumeric here because the number has not been formatted yet, so could contain\n                        // bad chars\n                        countryCode = \"\";\n                    } else if (!number || number === \"+\") {\n                        // empty, or just a plus, so default\n                        countryCode = this.defaultCountry;\n                    }\n                    if (countryCode !== null) {\n                        return this._setFlag(countryCode);\n                    }\n                    return false;\n                }\n            }, {\n                key: \"_isRegionlessNanp\",\n                value: function _isRegionlessNanp(number) {\n                    var numeric = this._getNumeric(number);\n                    if (numeric.charAt(0) === \"1\") {\n                        var areaCode = numeric.substr(1, 3);\n                        return regionlessNanpNumbers.indexOf(areaCode) !== -1;\n                    }\n                    return false;\n                }\n            }, {\n                key: \"_highlightListItem\",\n                value: function _highlightListItem(listItem, shouldFocus) {\n                    var prevItem = this.highlightedItem;\n                    if (prevItem) prevItem.classList.remove(\"iti__highlight\");\n                    this.highlightedItem = listItem;\n                    this.highlightedItem.classList.add(\"iti__highlight\");\n                    if (shouldFocus) this.highlightedItem.focus();\n                }\n            }, {\n                key: \"_getCountryData\",\n                value: function _getCountryData(countryCode, ignoreOnlyCountriesOption, allowFail) {\n                    var countryList = ignoreOnlyCountriesOption ? allCountries : this.countries;\n                    for (var i = 0; i < countryList.length; i++) {\n                        if (countryList[i].iso2 === countryCode) {\n                            return countryList[i];\n                        }\n                    }\n                    if (allowFail) {\n                        return null;\n                    }\n                    throw new Error(\"No country data for '\".concat(countryCode, \"'\"));\n                }\n            }, {\n                key: \"_setFlag\",\n                value: function _setFlag(countryCode) {\n                    var prevCountry = this.selectedCountryData.iso2 ? this.selectedCountryData : {};\n                    // do this first as it will throw an error and stop if countryCode is invalid\n                    this.selectedCountryData = countryCode ? this._getCountryData(countryCode, false, false) : {};\n                    // update the defaultCountry - we only need the iso2 from now on, so just store that\n                    if (this.selectedCountryData.iso2) {\n                        this.defaultCountry = this.selectedCountryData.iso2;\n                    }\n                    this.selectedFlagInner.setAttribute(\"class\", \"iti__flag iti__\".concat(countryCode));\n                    // update the selected country's title attribute\n                    var title = countryCode ? \"\".concat(this.selectedCountryData.name, \": +\").concat(this.selectedCountryData.dialCode) : \"Unknown\";\n                    this.selectedFlag.setAttribute(\"title\", title);\n                    if (this.options.separateDialCode) {\n                        var dialCode = this.selectedCountryData.dialCode ? \"+\".concat(this.selectedCountryData.dialCode) : \"\";\n                        this.selectedDialCode.innerHTML = dialCode;\n                        // offsetWidth is zero if input is in a hidden container during initialisation\n                        var selectedFlagWidth = this.selectedFlag.offsetWidth || this._getHiddenSelectedFlagWidth();\n                        // add 6px of padding after the grey selected-dial-code box, as this is what we use in the css\n                        this.telInput.style.paddingLeft = \"\".concat(selectedFlagWidth + 6, \"px\");\n                    }\n                    // and the input's placeholder\n                    this._updatePlaceholder();\n                    // update the active list item\n                    if (this.options.allowDropdown) {\n                        var prevItem = this.activeItem;\n                        if (prevItem) {\n                            prevItem.classList.remove(\"iti__active\");\n                            prevItem.setAttribute(\"aria-selected\", \"false\");\n                        }\n                        if (countryCode) {\n                            // check if there is a preferred item first, else fall back to standard\n                            var nextItem = this.countryList.querySelector(\"#iti-\".concat(this.id, \"__item-\").concat(countryCode, \"-preferred\")) || this.countryList.querySelector(\"#iti-\".concat(this.id, \"__item-\").concat(countryCode));\n                            nextItem.setAttribute(\"aria-selected\", \"true\");\n                            nextItem.classList.add(\"iti__active\");\n                            this.activeItem = nextItem;\n                            this.selectedFlag.setAttribute(\"aria-activedescendant\", nextItem.getAttribute(\"id\"));\n                        }\n                    }\n                    // return if the flag has changed or not\n                    return prevCountry.iso2 !== countryCode;\n                }\n            }, {\n                key: \"_getHiddenSelectedFlagWidth\",\n                value: function _getHiddenSelectedFlagWidth() {\n                    // to get the right styling to apply, all we need is a shallow clone of the container,\n                    // and then to inject a deep clone of the selectedFlag element\n                    var containerClone = this.telInput.parentNode.cloneNode();\n                    containerClone.style.visibility = \"hidden\";\n                    document.body.appendChild(containerClone);\n                    var flagsContainerClone = this.flagsContainer.cloneNode();\n                    containerClone.appendChild(flagsContainerClone);\n                    var selectedFlagClone = this.selectedFlag.cloneNode(true);\n                    flagsContainerClone.appendChild(selectedFlagClone);\n                    var width = selectedFlagClone.offsetWidth;\n                    containerClone.parentNode.removeChild(containerClone);\n                    return width;\n                }\n            }, {\n                key: \"_updatePlaceholder\",\n                value: function _updatePlaceholder() {\n                    var shouldSetPlaceholder = this.options.autoPlaceholder === \"aggressive\" || !this.hadInitialPlaceholder && this.options.autoPlaceholder === \"polite\";\n                    if (window.intlTelInputUtils && shouldSetPlaceholder) {\n                        var numberType = intlTelInputUtils.numberType[this.options.placeholderNumberType];\n                        var placeholder = this.selectedCountryData.iso2 ? intlTelInputUtils.getExampleNumber(this.selectedCountryData.iso2, this.options.nationalMode, numberType) : \"\";\n                        placeholder = this._beforeSetNumber(placeholder);\n                        if (typeof this.options.customPlaceholder === \"function\") {\n                            placeholder = this.options.customPlaceholder(placeholder, this.selectedCountryData);\n                        }\n                        this.telInput.setAttribute(\"placeholder\", placeholder);\n                    }\n                }\n            }, {\n                key: \"_selectListItem\",\n                value: function _selectListItem(listItem) {\n                    // update selected flag and active list item\n                    var flagChanged = this._setFlag(listItem.getAttribute(\"data-country-code\"));\n                    this._closeDropdown();\n                    this._updateDialCode(listItem.getAttribute(\"data-dial-code\"), true);\n                    // focus the input\n                    this.telInput.focus();\n                    // put cursor at end - this fix is required for FF and IE11 (with nationalMode=false i.e. auto\n                    // inserting dial code), who try to put the cursor at the beginning the first time\n                    var len = this.telInput.value.length;\n                    this.telInput.setSelectionRange(len, len);\n                    if (flagChanged) {\n                        this._triggerCountryChange();\n                    }\n                }\n            }, {\n                key: \"_closeDropdown\",\n                value: function _closeDropdown() {\n                    this.countryList.classList.add(\"iti__hide\");\n                    this.selectedFlag.setAttribute(\"aria-expanded\", \"false\");\n                    // update the arrow\n                    this.dropdownArrow.classList.remove(\"iti__arrow--up\");\n                    // unbind key events\n                    document.removeEventListener(\"keydown\", this._handleKeydownOnDropdown);\n                    document.documentElement.removeEventListener(\"click\", this._handleClickOffToClose);\n                    this.countryList.removeEventListener(\"mouseover\", this._handleMouseoverCountryList);\n                    this.countryList.removeEventListener(\"click\", this._handleClickCountryList);\n                    // remove menu from container\n                    if (this.options.dropdownContainer) {\n                        if (!this.isMobile) window.removeEventListener(\"scroll\", this._handleWindowScroll);\n                        if (this.dropdown.parentNode) this.dropdown.parentNode.removeChild(this.dropdown);\n                    }\n                    this._trigger(\"close:countrydropdown\");\n                }\n            }, {\n                key: \"_scrollTo\",\n                value: function _scrollTo(element, middle) {\n                    var container = this.countryList;\n                    // windowTop from https://stackoverflow.com/a/14384091/217866\n                    var windowTop = window.pageYOffset || document.documentElement.scrollTop;\n                    var containerHeight = container.offsetHeight;\n                    var containerTop = container.getBoundingClientRect().top + windowTop;\n                    var containerBottom = containerTop + containerHeight;\n                    var elementHeight = element.offsetHeight;\n                    var elementTop = element.getBoundingClientRect().top + windowTop;\n                    var elementBottom = elementTop + elementHeight;\n                    var newScrollTop = elementTop - containerTop + container.scrollTop;\n                    var middleOffset = containerHeight / 2 - elementHeight / 2;\n                    if (elementTop < containerTop) {\n                        // scroll up\n                        if (middle) newScrollTop -= middleOffset;\n                        container.scrollTop = newScrollTop;\n                    } else if (elementBottom > containerBottom) {\n                        // scroll down\n                        if (middle) newScrollTop += middleOffset;\n                        var heightDifference = containerHeight - elementHeight;\n                        container.scrollTop = newScrollTop - heightDifference;\n                    }\n                }\n            }, {\n                key: \"_updateDialCode\",\n                value: function _updateDialCode(newDialCodeBare, hasSelectedListItem) {\n                    var inputVal = this.telInput.value;\n                    // save having to pass this every time\n                    var newDialCode = \"+\".concat(newDialCodeBare);\n                    var newNumber;\n                    if (inputVal.charAt(0) === \"+\") {\n                        // there's a plus so we're dealing with a replacement (doesn't matter if nationalMode or not)\n                        var prevDialCode = this._getDialCode(inputVal);\n                        if (prevDialCode) {\n                            // current number contains a valid dial code, so replace it\n                            newNumber = inputVal.replace(prevDialCode, newDialCode);\n                        } else {\n                            // current number contains an invalid dial code, so ditch it\n                            // (no way to determine where the invalid dial code ends and the rest of the number begins)\n                            newNumber = newDialCode;\n                        }\n                    } else if (this.options.nationalMode || this.options.separateDialCode) {\n                        // don't do anything\n                        return;\n                    } else {\n                        // nationalMode is disabled\n                        if (inputVal) {\n                            // there is an existing value with no dial code: prefix the new dial code\n                            newNumber = newDialCode + inputVal;\n                        } else if (hasSelectedListItem || !this.options.autoHideDialCode) {\n                            // no existing value and either they've just selected a list item, or autoHideDialCode is\n                            // disabled: insert new dial code\n                            newNumber = newDialCode;\n                        } else {\n                            return;\n                        }\n                    }\n                    this.telInput.value = newNumber;\n                }\n            }, {\n                key: \"_getDialCode\",\n                value: function _getDialCode(number, includeAreaCode) {\n                    var dialCode = \"\";\n                    // only interested in international numbers (starting with a plus)\n                    if (number.charAt(0) === \"+\") {\n                        var numericChars = \"\";\n                        // iterate over chars\n                        for (var i = 0; i < number.length; i++) {\n                            var c = number.charAt(i);\n                            // if char is number (https://stackoverflow.com/a/8935649/217866)\n                            if (!isNaN(parseInt(c, 10))) {\n                                numericChars += c;\n                                // if current numericChars make a valid dial code\n                                if (includeAreaCode) {\n                                    if (this.countryCodes[numericChars]) {\n                                        // store the actual raw string (useful for matching later)\n                                        dialCode = number.substr(0, i + 1);\n                                    }\n                                } else {\n                                    if (this.dialCodes[numericChars]) {\n                                        dialCode = number.substr(0, i + 1);\n                                        // if we're just looking for a dial code, we can break as soon as we find one\n                                        break;\n                                    }\n                                }\n                                // stop searching as soon as we can - in this case when we hit max len\n                                if (numericChars.length === this.countryCodeMaxLen) {\n                                    break;\n                                }\n                            }\n                        }\n                    }\n                    return dialCode;\n                }\n            }, {\n                key: \"_getFullNumber\",\n                value: function _getFullNumber() {\n                    var val = this.telInput.value.trim();\n                    var dialCode = this.selectedCountryData.dialCode;\n                    var prefix;\n                    var numericVal = this._getNumeric(val);\n                    if (this.options.separateDialCode && val.charAt(0) !== \"+\" && dialCode && numericVal) {\n                        // when using separateDialCode, it is visible so is effectively part of the typed number\n                        prefix = \"+\".concat(dialCode);\n                    } else {\n                        prefix = \"\";\n                    }\n                    return prefix + val;\n                }\n            }, {\n                key: \"_beforeSetNumber\",\n                value: function _beforeSetNumber(originalNumber) {\n                    var number = originalNumber;\n                    if (this.options.separateDialCode) {\n                        var dialCode = this._getDialCode(number);\n                        // if there is a valid dial code\n                        if (dialCode) {\n                            // in case _getDialCode returned an area code as well\n                            dialCode = \"+\".concat(this.selectedCountryData.dialCode);\n                            // a lot of numbers will have a space separating the dial code and the main number, and\n                            // some NANP numbers will have a hyphen e.g. +1 684-733-1234 - in both cases we want to get\n                            // rid of it\n                            // NOTE: don't just trim all non-numerics as may want to preserve an open parenthesis etc\n                            var start = number[dialCode.length] === \" \" || number[dialCode.length] === \"-\" ? dialCode.length + 1 : dialCode.length;\n                            number = number.substr(start);\n                        }\n                    }\n                    return this._cap(number);\n                }\n            }, {\n                key: \"_triggerCountryChange\",\n                value: function _triggerCountryChange() {\n                    this._trigger(\"countrychange\");\n                }\n            }, {\n                key: \"handleAutoCountry\",\n                value: function handleAutoCountry() {\n                    if (this.options.initialCountry === \"auto\") {\n                        // we must set this even if there is an initial val in the input: in case the initial val is\n                        // invalid and they delete it - they should see their auto country\n                        this.defaultCountry = window.intlTelInputGlobals.autoCountry;\n                        // if there's no initial value in the input, then update the flag\n                        if (!this.telInput.value) {\n                            this.setCountry(this.defaultCountry);\n                        }\n                        this.resolveAutoCountryPromise();\n                    }\n                }\n            }, {\n                key: \"handleUtils\",\n                value: function handleUtils() {\n                    // if the request was successful\n                    if (window.intlTelInputUtils) {\n                        // if there's an initial value in the input, then format it\n                        if (this.telInput.value) {\n                            this._updateValFromNumber(this.telInput.value);\n                        }\n                        this._updatePlaceholder();\n                    }\n                    this.resolveUtilsScriptPromise();\n                }\n            }, {\n                key: \"destroy\",\n                value: function destroy() {\n                    var form = this.telInput.form;\n                    if (this.options.allowDropdown) {\n                        // make sure the dropdown is closed (and unbind listeners)\n                        this._closeDropdown();\n                        this.selectedFlag.removeEventListener(\"click\", this._handleClickSelectedFlag);\n                        this.flagsContainer.removeEventListener(\"keydown\", this._handleFlagsContainerKeydown);\n                        // label click hack\n                        var label = this._getClosestLabel();\n                        if (label) label.removeEventListener(\"click\", this._handleLabelClick);\n                    }\n                    // unbind hiddenInput listeners\n                    if (this.hiddenInput && form) form.removeEventListener(\"submit\", this._handleHiddenInputSubmit);\n                    // unbind autoHideDialCode listeners\n                    if (this.options.autoHideDialCode) {\n                        if (form) form.removeEventListener(\"submit\", this._handleSubmitOrBlurEvent);\n                        this.telInput.removeEventListener(\"blur\", this._handleSubmitOrBlurEvent);\n                    }\n                    // unbind key events, and cut/paste events\n                    this.telInput.removeEventListener(\"keyup\", this._handleKeyupEvent);\n                    this.telInput.removeEventListener(\"cut\", this._handleClipboardEvent);\n                    this.telInput.removeEventListener(\"paste\", this._handleClipboardEvent);\n                    // remove attribute of id instance: data-intl-tel-input-id\n                    this.telInput.removeAttribute(\"data-intl-tel-input-id\");\n                    // remove markup (but leave the original input)\n                    var wrapper = this.telInput.parentNode;\n                    wrapper.parentNode.insertBefore(this.telInput, wrapper);\n                    wrapper.parentNode.removeChild(wrapper);\n                    delete window.intlTelInputGlobals.instances[this.id];\n                }\n            }, {\n                key: \"getExtension\",\n                value: function getExtension() {\n                    if (window.intlTelInputUtils) {\n                        return intlTelInputUtils.getExtension(this._getFullNumber(), this.selectedCountryData.iso2);\n                    }\n                    return \"\";\n                }\n            }, {\n                key: \"getNumber\",\n                value: function getNumber(format) {\n                    if (window.intlTelInputUtils) {\n                        var iso2 = this.selectedCountryData.iso2;\n                        return intlTelInputUtils.formatNumber(this._getFullNumber(), iso2, format);\n                    }\n                    return \"\";\n                }\n            }, {\n                key: \"getNumberType\",\n                value: function getNumberType() {\n                    if (window.intlTelInputUtils) {\n                        return intlTelInputUtils.getNumberType(this._getFullNumber(), this.selectedCountryData.iso2);\n                    }\n                    return -99;\n                }\n            }, {\n                key: \"getSelectedCountryData\",\n                value: function getSelectedCountryData() {\n                    return this.selectedCountryData;\n                }\n            }, {\n                key: \"getValidationError\",\n                value: function getValidationError() {\n                    if (window.intlTelInputUtils) {\n                        var iso2 = this.selectedCountryData.iso2;\n                        return intlTelInputUtils.getValidationError(this._getFullNumber(), iso2);\n                    }\n                    return -99;\n                }\n            }, {\n                key: \"isValidNumber\",\n                value: function isValidNumber() {\n                    var val = this._getFullNumber().trim();\n                    var countryCode = this.options.nationalMode ? this.selectedCountryData.iso2 : \"\";\n                    return window.intlTelInputUtils ? intlTelInputUtils.isValidNumber(val, countryCode) : null;\n                }\n            }, {\n                key: \"setCountry\",\n                value: function setCountry(originalCountryCode) {\n                    var countryCode = originalCountryCode.toLowerCase();\n                    // check if already selected\n                    if (!this.selectedFlagInner.classList.contains(\"iti__\".concat(countryCode))) {\n                        this._setFlag(countryCode);\n                        this._updateDialCode(this.selectedCountryData.dialCode, false);\n                        this._triggerCountryChange();\n                    }\n                }\n            }, {\n                key: \"setNumber\",\n                value: function setNumber(number) {\n                    // we must update the flag first, which updates this.selectedCountryData, which is used for\n                    // formatting the number before displaying it\n                    var flagChanged = this._updateFlagFromNumber(number);\n                    this._updateValFromNumber(number);\n                    if (flagChanged) {\n                        this._triggerCountryChange();\n                    }\n                }\n            }, {\n                key: \"setPlaceholderNumberType\",\n                value: function setPlaceholderNumberType(type) {\n                    this.options.placeholderNumberType = type;\n                    this._updatePlaceholder();\n                }\n            } ]);\n            return Iti;\n        }();\n        /********************\n *  STATIC METHODS\n ********************/\n        // get the country data object\n        intlTelInputGlobals.getCountryData = function() {\n            return allCountries;\n        };\n        // inject a <script> element to load utils.js\n        var injectScript = function injectScript(path, handleSuccess, handleFailure) {\n            // inject a new script element into the page\n            var script = document.createElement(\"script\");\n            script.onload = function() {\n                forEachInstance(\"handleUtils\");\n                if (handleSuccess) handleSuccess();\n            };\n            script.onerror = function() {\n                forEachInstance(\"rejectUtilsScriptPromise\");\n                if (handleFailure) handleFailure();\n            };\n            script.className = \"iti-load-utils\";\n            script.async = true;\n            script.src = path;\n            document.body.appendChild(script);\n        };\n        // load the utils script\n        intlTelInputGlobals.loadUtils = function(path) {\n            // 2 options:\n            // 1) not already started loading (start)\n            // 2) already started loading (do nothing - just wait for the onload callback to fire, which will\n            // trigger handleUtils on all instances, invoking their resolveUtilsScriptPromise functions)\n            if (!window.intlTelInputUtils && !window.intlTelInputGlobals.startedLoadingUtilsScript) {\n                // only do this once\n                window.intlTelInputGlobals.startedLoadingUtilsScript = true;\n                // if we have promises, then return a promise\n                if (typeof Promise !== \"undefined\") {\n                    return new Promise(function(resolve, reject) {\n                        return injectScript(path, resolve, reject);\n                    });\n                }\n                injectScript(path);\n            }\n            return null;\n        };\n        // default options\n        intlTelInputGlobals.defaults = defaults;\n        // version\n        intlTelInputGlobals.version = \"17.0.21\";\n        // convenience wrapper\n        return function(input, options) {\n            var iti = new Iti(input, options);\n            iti._init();\n            input.setAttribute(\"data-intl-tel-input-id\", iti.id);\n            window.intlTelInputGlobals.instances[iti.id] = iti;\n            return iti;\n        };\n    }();\n});","// Ion.RangeSlider, 2.3.1, © Denis Ineshin, 2010 - 2019, IonDen.com, Build date: 2019-12-19 16:56:44\n!function(i){\"undefined\"!=typeof jQuery&&jQuery||\"function\"!=typeof define||!define.amd?\"undefined\"!=typeof jQuery&&jQuery||\"object\"!=typeof exports?i(jQuery,document,window,navigator):i(require(\"jquery\"),document,window,navigator):define([\"jquery\"],function(t){return i(t,document,window,navigator)})}(function(a,c,l,t,_){\"use strict\";var i,s,o=0,e=(i=t.userAgent,s=/msie\\s\\d+/i,0<i.search(s)&&s.exec(i).toString().split(\" \")[1]<9&&(a(\"html\").addClass(\"lt-ie9\"),!0));Function.prototype.bind||(Function.prototype.bind=function(o){var e=this,h=[].slice;if(\"function\"!=typeof e)throw new TypeError;var r=h.call(arguments,1),n=function(){if(this instanceof n){var t=function(){};t.prototype=e.prototype;var i=new t,s=e.apply(i,r.concat(h.call(arguments)));return Object(s)===s?s:i}return e.apply(o,r.concat(h.call(arguments)))};return n}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,i){var s;if(null==this)throw new TypeError('\"this\" is null or not defined');var o=Object(this),e=o.length>>>0;if(0==e)return-1;var h=+i||0;if(Math.abs(h)===1/0&&(h=0),e<=h)return-1;for(s=Math.max(0<=h?h:e-Math.abs(h),0);s<e;){if(s in o&&o[s]===t)return s;s++}return-1});function h(t,i,s){this.VERSION=\"2.3.1\",this.input=t,this.plugin_count=s,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.has_tab_index=!0,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,i=i||{},this.$cache={win:a(l),body:a(c.body),input:a(t),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var o,e,h,r=this.$cache.input,n=r.prop(\"value\");for(h in o={skin:\"flat\",type:\"single\",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:\" \",prettify:null,force_edges:!1,keyboard:!0,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:\"\",postfix:\"\",max_postfix:\"\",decorate_both:!0,values_separator:\" — \",input_values_separator:\";\",disable:!1,block:!1,extra_classes:\"\",scope:null,onStart:null,onChange:null,onFinish:null,onUpdate:null},\"INPUT\"!==r[0].nodeName&&console&&console.warn&&console.warn(\"Base element should be <input>!\",r[0]),(e={skin:r.data(\"skin\"),type:r.data(\"type\"),min:r.data(\"min\"),max:r.data(\"max\"),from:r.data(\"from\"),to:r.data(\"to\"),step:r.data(\"step\"),min_interval:r.data(\"minInterval\"),max_interval:r.data(\"maxInterval\"),drag_interval:r.data(\"dragInterval\"),values:r.data(\"values\"),from_fixed:r.data(\"fromFixed\"),from_min:r.data(\"fromMin\"),from_max:r.data(\"fromMax\"),from_shadow:r.data(\"fromShadow\"),to_fixed:r.data(\"toFixed\"),to_min:r.data(\"toMin\"),to_max:r.data(\"toMax\"),to_shadow:r.data(\"toShadow\"),prettify_enabled:r.data(\"prettifyEnabled\"),prettify_separator:r.data(\"prettifySeparator\"),force_edges:r.data(\"forceEdges\"),keyboard:r.data(\"keyboard\"),grid:r.data(\"grid\"),grid_margin:r.data(\"gridMargin\"),grid_num:r.data(\"gridNum\"),grid_snap:r.data(\"gridSnap\"),hide_min_max:r.data(\"hideMinMax\"),hide_from_to:r.data(\"hideFromTo\"),prefix:r.data(\"prefix\"),postfix:r.data(\"postfix\"),max_postfix:r.data(\"maxPostfix\"),decorate_both:r.data(\"decorateBoth\"),values_separator:r.data(\"valuesSeparator\"),input_values_separator:r.data(\"inputValuesSeparator\"),disable:r.data(\"disable\"),block:r.data(\"block\"),extra_classes:r.data(\"extraClasses\")}).values=e.values&&e.values.split(\",\"),e)e.hasOwnProperty(h)&&(e[h]!==_&&\"\"!==e[h]||delete e[h]);n!==_&&\"\"!==n&&((n=n.split(e.input_values_separator||i.input_values_separator||\";\"))[0]&&n[0]==+n[0]&&(n[0]=+n[0]),n[1]&&n[1]==+n[1]&&(n[1]=+n[1]),i&&i.values&&i.values.length?(o.from=n[0]&&i.values.indexOf(n[0]),o.to=n[1]&&i.values.indexOf(n[1])):(o.from=n[0]&&+n[0],o.to=n[1]&&+n[1])),a.extend(o,i),a.extend(o,e),this.options=o,this.update_check={},this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()}h.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target=\"base\",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var t='<span class=\"irs irs--'+this.options.skin+\" js-irs-\"+this.plugin_count+\" \"+this.options.extra_classes+'\"></span>';this.$cache.input.before(t),this.$cache.input.prop(\"readonly\",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class=\"irs\"><span class=\"irs-line\" tabindex=\"0\"></span><span class=\"irs-min\">0</span><span class=\"irs-max\">1</span><span class=\"irs-from\">0</span><span class=\"irs-to\">0</span><span class=\"irs-single\">0</span></span><span class=\"irs-grid\"></span>'),this.$cache.rs=this.$cache.cont.find(\".irs\"),this.$cache.min=this.$cache.cont.find(\".irs-min\"),this.$cache.max=this.$cache.cont.find(\".irs-max\"),this.$cache.from=this.$cache.cont.find(\".irs-from\"),this.$cache.to=this.$cache.cont.find(\".irs-to\"),this.$cache.single=this.$cache.cont.find(\".irs-single\"),this.$cache.line=this.$cache.cont.find(\".irs-line\"),this.$cache.grid=this.$cache.cont.find(\".irs-grid\"),\"single\"===this.options.type?(this.$cache.cont.append('<span class=\"irs-bar irs-bar--single\"></span><span class=\"irs-shadow shadow-single\"></span><span class=\"irs-handle single\"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(\".irs-bar\"),this.$cache.edge=this.$cache.cont.find(\".irs-bar-edge\"),this.$cache.s_single=this.$cache.cont.find(\".single\"),this.$cache.from[0].style.visibility=\"hidden\",this.$cache.to[0].style.visibility=\"hidden\",this.$cache.shad_single=this.$cache.cont.find(\".shadow-single\")):(this.$cache.cont.append('<span class=\"irs-bar\"></span><span class=\"irs-shadow shadow-from\"></span><span class=\"irs-shadow shadow-to\"></span><span class=\"irs-handle from\"><i></i><i></i><i></i></span><span class=\"irs-handle to\"><i></i><i></i><i></i></span>'),this.$cache.bar=this.$cache.cont.find(\".irs-bar\"),this.$cache.s_from=this.$cache.cont.find(\".from\"),this.$cache.s_to=this.$cache.cont.find(\".to\"),this.$cache.shad_from=this.$cache.cont.find(\".shadow-from\"),this.$cache.shad_to=this.$cache.cont.find(\".shadow-to\"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display=\"none\",this.$cache.to[0].style.display=\"none\",this.$cache.single[0].style.display=\"none\"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.input[0].disabled=!1,this.removeDisableMask(),this.bindEvents()),this.options.disable||(this.options.block?this.appendDisableMask():this.removeDisableMask()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor=\"ew-resize\")},setTopHandler:function(){var t=this.options.min,i=this.options.max,s=this.options.from,o=this.options.to;t<s&&o===i?this.$cache.s_from.addClass(\"type_last\"):o<i&&this.$cache.s_to.addClass(\"type_last\")},changeLevel:function(t){switch(t){case\"single\":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake),this.$cache.s_single.addClass(\"state_hover\");break;case\"from\":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass(\"state_hover\"),this.$cache.s_from.addClass(\"type_last\"),this.$cache.s_to.removeClass(\"type_last\");break;case\"to\":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass(\"state_hover\"),this.$cache.s_to.addClass(\"type_last\"),this.$cache.s_from.removeClass(\"type_last\");break;case\"both\":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass(\"type_last\"),this.$cache.s_from.removeClass(\"type_last\")}},appendDisableMask:function(){this.$cache.cont.append('<span class=\"irs-disable-mask\"></span>'),this.$cache.cont.addClass(\"irs-disabled\")},removeDisableMask:function(){this.$cache.cont.remove(\".irs-disable-mask\"),this.$cache.cont.removeClass(\"irs-disabled\")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off(\"keydown.irs_\"+this.plugin_count),this.$cache.body.off(\"touchmove.irs_\"+this.plugin_count),this.$cache.body.off(\"mousemove.irs_\"+this.plugin_count),this.$cache.win.off(\"touchend.irs_\"+this.plugin_count),this.$cache.win.off(\"mouseup.irs_\"+this.plugin_count),e&&(this.$cache.body.off(\"mouseup.irs_\"+this.plugin_count),this.$cache.body.off(\"mouseleave.irs_\"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on(\"touchmove.irs_\"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on(\"mousemove.irs_\"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on(\"touchend.irs_\"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on(\"mouseup.irs_\"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on(\"touchstart.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.line.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.line.on(\"focus.irs_\"+this.plugin_count,this.pointerFocus.bind(this)),this.options.drag_interval&&\"double\"===this.options.type?(this.$cache.bar.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"both\")),this.$cache.bar.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"both\"))):(this.$cache.bar.on(\"touchstart.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.bar.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\"))),\"single\"===this.options.type?(this.$cache.single.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"single\")),this.$cache.s_single.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"single\")),this.$cache.shad_single.on(\"touchstart.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.single.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"single\")),this.$cache.s_single.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"single\")),this.$cache.edge.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.shad_single.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\"))):(this.$cache.single.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"from\")),this.$cache.s_from.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"from\")),this.$cache.to.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"to\")),this.$cache.s_to.on(\"touchstart.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"to\")),this.$cache.shad_from.on(\"touchstart.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.shad_to.on(\"touchstart.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.from.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"from\")),this.$cache.s_from.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"from\")),this.$cache.to.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"to\")),this.$cache.s_to.on(\"mousedown.irs_\"+this.plugin_count,this.pointerDown.bind(this,\"to\")),this.$cache.shad_from.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\")),this.$cache.shad_to.on(\"mousedown.irs_\"+this.plugin_count,this.pointerClick.bind(this,\"click\"))),this.options.keyboard&&this.$cache.line.on(\"keydown.irs_\"+this.plugin_count,this.key.bind(this,\"keyboard\")),e&&(this.$cache.body.on(\"mouseup.irs_\"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on(\"mouseleave.irs_\"+this.plugin_count,this.pointerUp.bind(this))))},pointerFocus:function(t){var i,s;this.target||(i=(s=\"single\"===this.options.type?this.$cache.single:this.$cache.from).offset().left,i+=s.width()/2-1,this.pointerClick(\"single\",{preventDefault:function(){},pageX:i}))},pointerMove:function(t){if(this.dragging){var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=i-this.coords.x_gap,this.calc()}},pointerUp:function(t){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(\".state_hover\").removeClass(\"state_hover\"),this.force_redraw=!0,e&&a(\"*\").prop(\"unselectable\",!1),this.updateScene(),this.restoreOriginalMinInterval(),(a.contains(this.$cache.cont[0],t.target)||this.dragging)&&this.callOnFinish(),this.dragging=!1)},pointerDown:function(t,i){i.preventDefault();var s=i.pageX||i.originalEvent.touches&&i.originalEvent.touches[0].pageX;2!==i.button&&(\"both\"===t&&this.setTempMinInterval(),t=t||(this.target||\"from\"),this.current_plugin=this.plugin_count,this.target=t,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=s-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(t),e&&a(\"*\").prop(\"unselectable\",!0),this.$cache.line.trigger(\"focus\"),this.updateScene())},pointerClick:function(t,i){i.preventDefault();var s=i.pageX||i.originalEvent.touches&&i.originalEvent.touches[0].pageX;2!==i.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(s-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger(\"focus\"))},key:function(t,i){if(!(this.current_plugin!==this.plugin_count||i.altKey||i.ctrlKey||i.shiftKey||i.metaKey)){switch(i.which){case 83:case 65:case 40:case 37:i.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:i.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var i=this.coords.p_pointer,s=(this.options.max-this.options.min)/100;s=this.options.step/s,t?i+=s:i-=s,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*i),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display=\"none\",void(this.$cache.max[0].style.display=\"none\");if(this.options.values.length)this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]));else{var t=this._prettify(this.options.min),i=this._prettify(this.options.max);this.result.min_pretty=t,this.result.max_pretty=i,this.$cache.min.html(this.decorate(t,this.options.min)),this.$cache.max.html(this.decorate(i,this.options.max))}this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&(this.calc_count++,10!==this.calc_count&&!t||(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var i=this.getHandleX();switch(\"both\"===this.target&&(this.coords.p_gap=0,i=this.getHandleX()),\"click\"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,i=this.getHandleX(),this.options.drag_interval?this.target=\"both_one\":this.target=this.chooseHandle(i)),this.target){case\"base\":var s=(this.options.max-this.options.min)/100,o=(this.result.from-this.options.min)/s,e=(this.result.to-this.options.min)/s;this.coords.p_single_real=this.toFixed(o),this.coords.p_from_real=this.toFixed(o),this.coords.p_to_real=this.toFixed(e),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case\"single\":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(i),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case\"from\":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(i),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,\"from\"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,\"from\"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case\"to\":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(i),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,\"to\"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,\"to\"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case\"both\":if(this.options.from_fixed||this.options.to_fixed)break;i=this.toFixed(i+.001*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(i)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,\"from\"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(i)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,\"to\"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case\"both_one\":if(this.options.from_fixed||this.options.to_fixed)break;var h=this.convertToRealPercent(i),r=this.result.from_percent,n=this.result.to_percent-r,a=n/2,c=h-a,l=h+a;c<0&&(l=(c=0)+n),100<l&&(c=(l=100)-n),this.coords.p_from_real=this.calcWithStep(c),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(l),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}\"single\"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.result.from_pretty=this._prettify(this.result.from),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.from_pretty=this._prettify(this.result.from),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.result.to_pretty=this._prettify(this.result.to),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,i=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return i<0?i=0:t<i&&(i=t),i},calcHandlePercent:function(){\"single\"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return\"single\"===this.options.type?\"single\":this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2<=t?this.options.to_fixed?\"from\":\"to\":this.options.from_fixed?\"to\":\"from\"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&(\"single\"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left)),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target=\"base\",this.is_resize=!0),this.coords.w_rs===this.coords.w_rs_old&&!this.force_redraw||(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+\"%\",this.$cache.bar[0].style.width=this.coords.p_bar_w+\"%\",\"single\"===this.options.type?(this.$cache.bar[0].style.left=0,this.$cache.bar[0].style.width=this.coords.p_bar_w+this.coords.p_bar_x+\"%\",this.$cache.s_single[0].style.left=this.coords.p_single_fake+\"%\"):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+\"%\",this.$cache.s_to[0].style.left=this.coords.p_to_fake+\"%\",this.old_from===this.result.from&&!this.force_redraw||(this.$cache.from[0].style.left=this.labels.p_from_left+\"%\"),this.old_to===this.result.to&&!this.force_redraw||(this.$cache.to[0].style.left=this.labels.p_to_left+\"%\")),this.$cache.single[0].style.left=this.labels.p_single_left+\"%\",this.writeToInput(),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||(this.$cache.input.trigger(\"change\"),this.$cache.input.trigger(\"input\")),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,i,s,o,e,h=this.options.values.length,r=this.options.p_values;if(!this.options.hide_from_to)if(\"single\"===this.options.type)t=h?this.decorate(r[this.result.from]):(o=this._prettify(this.result.from),this.decorate(o,this.result.from)),this.$cache.single.html(t),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility=\"hidden\":this.$cache.min[0].style.visibility=\"visible\",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility=\"hidden\":this.$cache.max[0].style.visibility=\"visible\";else{s=h?(this.options.decorate_both?(t=this.decorate(r[this.result.from]),t+=this.options.values_separator,t+=this.decorate(r[this.result.to])):t=this.decorate(r[this.result.from]+this.options.values_separator+r[this.result.to]),i=this.decorate(r[this.result.from]),this.decorate(r[this.result.to])):(o=this._prettify(this.result.from),e=this._prettify(this.result.to),this.options.decorate_both?(t=this.decorate(o,this.result.from),t+=this.options.values_separator,t+=this.decorate(e,this.result.to)):t=this.decorate(o+this.options.values_separator+e,this.result.to),i=this.decorate(o,this.result.from),this.decorate(e,this.result.to)),this.$cache.single.html(t),this.$cache.from.html(i),this.$cache.to.html(s),this.calcLabels();var n=Math.min(this.labels.p_single_left,this.labels.p_from_left),a=this.labels.p_single_left+this.labels.p_single_fake,c=this.labels.p_to_left+this.labels.p_to_fake,l=Math.max(a,c);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility=\"hidden\",this.$cache.to[0].style.visibility=\"hidden\",this.$cache.single[0].style.visibility=\"visible\",l=this.result.from===this.result.to?(\"from\"===this.target?this.$cache.from[0].style.visibility=\"visible\":\"to\"===this.target?this.$cache.to[0].style.visibility=\"visible\":this.target||(this.$cache.from[0].style.visibility=\"visible\"),this.$cache.single[0].style.visibility=\"hidden\",c):(this.$cache.from[0].style.visibility=\"hidden\",this.$cache.to[0].style.visibility=\"hidden\",this.$cache.single[0].style.visibility=\"visible\",Math.max(a,c))):(this.$cache.from[0].style.visibility=\"visible\",this.$cache.to[0].style.visibility=\"visible\",this.$cache.single[0].style.visibility=\"hidden\"),n<this.labels.p_min+1?this.$cache.min[0].style.visibility=\"hidden\":this.$cache.min[0].style.visibility=\"visible\",l>100-this.labels.p_max-1?this.$cache.max[0].style.visibility=\"hidden\":this.$cache.max[0].style.visibility=\"visible\"}}},drawShadow:function(){var t,i,s,o,e=this.options,h=this.$cache,r=\"number\"==typeof e.from_min&&!isNaN(e.from_min),n=\"number\"==typeof e.from_max&&!isNaN(e.from_max),a=\"number\"==typeof e.to_min&&!isNaN(e.to_min),c=\"number\"==typeof e.to_max&&!isNaN(e.to_max);\"single\"===e.type?e.from_shadow&&(r||n)?(t=this.convertToPercent(r?e.from_min:e.min),i=this.convertToPercent(n?e.from_max:e.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),i=this.toFixed(i-this.coords.p_handle/100*i),t+=this.coords.p_handle/2,h.shad_single[0].style.display=\"block\",h.shad_single[0].style.left=t+\"%\",h.shad_single[0].style.width=i+\"%\"):h.shad_single[0].style.display=\"none\":(e.from_shadow&&(r||n)?(t=this.convertToPercent(r?e.from_min:e.min),i=this.convertToPercent(n?e.from_max:e.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),i=this.toFixed(i-this.coords.p_handle/100*i),t+=this.coords.p_handle/2,h.shad_from[0].style.display=\"block\",h.shad_from[0].style.left=t+\"%\",h.shad_from[0].style.width=i+\"%\"):h.shad_from[0].style.display=\"none\",e.to_shadow&&(a||c)?(s=this.convertToPercent(a?e.to_min:e.min),o=this.convertToPercent(c?e.to_max:e.max)-s,s=this.toFixed(s-this.coords.p_handle/100*s),o=this.toFixed(o-this.coords.p_handle/100*o),s+=this.coords.p_handle/2,h.shad_to[0].style.display=\"block\",h.shad_to[0].style.left=s+\"%\",h.shad_to[0].style.width=o+\"%\"):h.shad_to[0].style.display=\"none\")},writeToInput:function(){\"single\"===this.options.type?(this.options.values.length?this.$cache.input.prop(\"value\",this.result.from_value):this.$cache.input.prop(\"value\",this.result.from),this.$cache.input.data(\"from\",this.result.from)):(this.options.values.length?this.$cache.input.prop(\"value\",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop(\"value\",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data(\"from\",this.result.from),this.$cache.input.data(\"to\",this.result.to))},callOnStart:function(){this.writeToInput(),this.options.onStart&&\"function\"==typeof this.options.onStart&&(this.options.scope?this.options.onStart.call(this.options.scope,this.result):this.options.onStart(this.result))},callOnChange:function(){this.writeToInput(),this.options.onChange&&\"function\"==typeof this.options.onChange&&(this.options.scope?this.options.onChange.call(this.options.scope,this.result):this.options.onChange(this.result))},callOnFinish:function(){this.writeToInput(),this.options.onFinish&&\"function\"==typeof this.options.onFinish&&(this.options.scope?this.options.onFinish.call(this.options.scope,this.result):this.options.onFinish(this.result))},callOnUpdate:function(){this.writeToInput(),this.options.onUpdate&&\"function\"==typeof this.options.onUpdate&&(this.options.scope?this.options.onUpdate.call(this.options.scope,this.result):this.options.onUpdate(this.result))},toggleInput:function(){this.$cache.input.toggleClass(\"irs-hidden-input\"),this.has_tab_index?this.$cache.input.prop(\"tabindex\",-1):this.$cache.input.removeProp(\"tabindex\"),this.has_tab_index=!this.has_tab_index},convertToPercent:function(t,i){var s,o=this.options.max-this.options.min,e=o/100;return o?(s=(i?t:t-this.options.min)/e,this.toFixed(s)):(this.no_diapason=!0,0)},convertToValue:function(t){var i,s,o=this.options.min,e=this.options.max,h=o.toString().split(\".\")[1],r=e.toString().split(\".\")[1],n=0,a=0;if(0===t)return this.options.min;if(100===t)return this.options.max;h&&(n=i=h.length),r&&(n=s=r.length),i&&s&&(n=s<=i?i:s),o<0&&(o=+(o+(a=Math.abs(o))).toFixed(n),e=+(e+a).toFixed(n));var c,l=(e-o)/100*t+o,_=this.options.step.toString().split(\".\")[1];return l=_?+l.toFixed(_.length):(l/=this.options.step,+(l*=this.options.step).toFixed(0)),a&&(l-=a),(c=_?+l.toFixed(_.length):this.toFixed(l))<this.options.min?c=this.options.min:c>this.options.max&&(c=this.options.max),c},calcWithStep:function(t){var i=Math.round(t/this.coords.p_step)*this.coords.p_step;return 100<i&&(i=100),100===t&&(i=100),this.toFixed(i)},checkMinInterval:function(t,i,s){var o,e,h=this.options;return h.min_interval?(o=this.convertToValue(t),e=this.convertToValue(i),\"from\"===s?e-o<h.min_interval&&(o=e-h.min_interval):o-e<h.min_interval&&(o=e+h.min_interval),this.convertToPercent(o)):t},checkMaxInterval:function(t,i,s){var o,e,h=this.options;return h.max_interval?(o=this.convertToValue(t),e=this.convertToValue(i),\"from\"===s?e-o>h.max_interval&&(o=e-h.max_interval):o-e>h.max_interval&&(o=e+h.max_interval),this.convertToPercent(o)):t},checkDiapason:function(t,i,s){var o=this.convertToValue(t),e=this.options;return\"number\"!=typeof i&&(i=e.min),\"number\"!=typeof s&&(s=e.max),o<i&&(o=i),s<o&&(o=s),this.convertToPercent(o)},toFixed:function(t){return+(t=t.toFixed(20))},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&\"function\"==typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){return t.toString().replace(/(\\d{1,3}(?=(?:\\d\\d\\d)+(?!\\d)))/g,\"$1\"+this.options.prettify_separator)},checkEdges:function(t,i){return this.options.force_edges&&(t<0?t=0:100-i<t&&(t=100-i)),this.toFixed(t)},validate:function(){var t,i,s=this.options,o=this.result,e=s.values,h=e.length;if(\"string\"==typeof s.min&&(s.min=+s.min),\"string\"==typeof s.max&&(s.max=+s.max),\"string\"==typeof s.from&&(s.from=+s.from),\"string\"==typeof s.to&&(s.to=+s.to),\"string\"==typeof s.step&&(s.step=+s.step),\"string\"==typeof s.from_min&&(s.from_min=+s.from_min),\"string\"==typeof s.from_max&&(s.from_max=+s.from_max),\"string\"==typeof s.to_min&&(s.to_min=+s.to_min),\"string\"==typeof s.to_max&&(s.to_max=+s.to_max),\"string\"==typeof s.grid_num&&(s.grid_num=+s.grid_num),s.max<s.min&&(s.max=s.min),h)for(s.p_values=[],s.min=0,s.max=h-1,s.step=1,s.grid_num=s.max,s.grid_snap=!0,i=0;i<h;i++)t=+e[i],t=isNaN(t)?e[i]:(e[i]=t,this._prettify(t)),s.p_values.push(t);\"number\"==typeof s.from&&!isNaN(s.from)||(s.from=s.min),\"number\"==typeof s.to&&!isNaN(s.to)||(s.to=s.max),\"single\"===s.type?(s.from<s.min&&(s.from=s.min),s.from>s.max&&(s.from=s.max)):(s.from<s.min&&(s.from=s.min),s.from>s.max&&(s.from=s.max),s.to<s.min&&(s.to=s.min),s.to>s.max&&(s.to=s.max),this.update_check.from&&(this.update_check.from!==s.from&&s.from>s.to&&(s.from=s.to),this.update_check.to!==s.to&&s.to<s.from&&(s.to=s.from)),s.from>s.to&&(s.from=s.to),s.to<s.from&&(s.to=s.from)),(\"number\"!=typeof s.step||isNaN(s.step)||!s.step||s.step<0)&&(s.step=1),\"number\"==typeof s.from_min&&s.from<s.from_min&&(s.from=s.from_min),\"number\"==typeof s.from_max&&s.from>s.from_max&&(s.from=s.from_max),\"number\"==typeof s.to_min&&s.to<s.to_min&&(s.to=s.to_min),\"number\"==typeof s.to_max&&s.from>s.to_max&&(s.to=s.to_max),o&&(o.min!==s.min&&(o.min=s.min),o.max!==s.max&&(o.max=s.max),(o.from<o.min||o.from>o.max)&&(o.from=s.from),(o.to<o.min||o.to>o.max)&&(o.to=s.to)),(\"number\"!=typeof s.min_interval||isNaN(s.min_interval)||!s.min_interval||s.min_interval<0)&&(s.min_interval=0),(\"number\"!=typeof s.max_interval||isNaN(s.max_interval)||!s.max_interval||s.max_interval<0)&&(s.max_interval=0),s.min_interval&&s.min_interval>s.max-s.min&&(s.min_interval=s.max-s.min),s.max_interval&&s.max_interval>s.max-s.min&&(s.max_interval=s.max-s.min)},decorate:function(t,i){var s=\"\",o=this.options;return o.prefix&&(s+=o.prefix),s+=t,o.max_postfix&&(o.values.length&&t===o.p_values[o.max]?(s+=o.max_postfix,o.postfix&&(s+=\" \")):i===o.max&&(s+=o.max_postfix,o.postfix&&(s+=\" \"))),o.postfix&&(s+=o.postfix),s},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.result.from_pretty=this._prettify(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.result.to_pretty=this._prettify(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,i,s,o,e,h,r=this.options,n=r.max-r.min,a=r.grid_num,c=0,l=4,_=\"\";for(this.calcGridMargin(),r.grid_snap&&(a=n/r.step),50<a&&(a=50),s=this.toFixed(100/a),4<a&&(l=3),7<a&&(l=2),14<a&&(l=1),28<a&&(l=0),t=0;t<a+1;t++){for(o=l,100<(c=this.toFixed(s*t))&&(c=100),e=((this.coords.big[t]=c)-s*(t-1))/(o+1),i=1;i<=o&&0!==c;i++)_+='<span class=\"irs-grid-pol small\" style=\"left: '+this.toFixed(c-e*i)+'%\"></span>';_+='<span class=\"irs-grid-pol\" style=\"left: '+c+'%\"></span>',h=this.convertToValue(c),_+='<span class=\"irs-grid-text js-grid-text-'+t+'\" style=\"left: '+c+'%\">'+(h=r.values.length?r.p_values[h]:this._prettify(h))+\"</span>\"}this.coords.big_num=Math.ceil(a+1),this.$cache.cont.addClass(\"irs-with-grid\"),this.$cache.grid.html(_),this.cacheGridLabels()}},cacheGridLabels:function(){var t,i,s=this.coords.big_num;for(i=0;i<s;i++)t=this.$cache.grid.find(\".js-grid-text-\"+i),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,i,s=[],o=[],e=this.coords.big_num;for(t=0;t<e;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),s[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),o[t]=this.toFixed(s[t]+this.coords.big_p[t]);for(this.options.force_edges&&(s[0]<-this.coords.grid_gap&&(s[0]=-this.coords.grid_gap,o[0]=this.toFixed(s[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),o[e-1]>100+this.coords.grid_gap&&(o[e-1]=100+this.coords.grid_gap,s[e-1]=this.toFixed(o[e-1]-this.coords.big_p[e-1]),this.coords.big_x[e-1]=this.toFixed(this.coords.big_p[e-1]-this.coords.grid_gap))),this.calcGridCollision(2,s,o),this.calcGridCollision(4,s,o),t=0;t<e;t++)i=this.$cache.grid_labels[t][0],this.coords.big_x[t]!==Number.POSITIVE_INFINITY&&(i.style.marginLeft=-this.coords.big_x[t]+\"%\")},calcGridCollision:function(t,i,s){var o,e,h,r=this.coords.big_num;for(o=0;o<r&&!(r<=(e=o+t/2));o+=t)h=this.$cache.grid_labels[e][0],s[o]<=i[e]?h.style.visibility=\"visible\":h.style.visibility=\"hidden\"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(\"single\"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+\"%\",this.$cache.grid[0].style.left=this.coords.grid_gap+\"%\"))},update:function(t){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.update_check.from=this.result.from,this.update_check.to=this.result.to,this.options=a.extend(this.options,t),this.validate(),this.updateResult(t),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop(\"readonly\",!1),a.data(this.input,\"ionRangeSlider\",null),this.remove(),this.input=null,this.options=null)}},a.fn.ionRangeSlider=function(t){return this.each(function(){a.data(this,\"ionRangeSlider\")||a.data(this,\"ionRangeSlider\",new h(this,t,o++))})},function(){for(var h=0,t=[\"ms\",\"moz\",\"webkit\",\"o\"],i=0;i<t.length&&!l.requestAnimationFrame;++i)l.requestAnimationFrame=l[t[i]+\"RequestAnimationFrame\"],l.cancelAnimationFrame=l[t[i]+\"CancelAnimationFrame\"]||l[t[i]+\"CancelRequestAnimationFrame\"];l.requestAnimationFrame||(l.requestAnimationFrame=function(t,i){var s=(new Date).getTime(),o=Math.max(0,16-(s-h)),e=l.setTimeout(function(){t(s+o)},o);return h=s+o,e}),l.cancelAnimationFrame||(l.cancelAnimationFrame=function(t){clearTimeout(t)})}()});","/*! Copyright (c) 2011 Piotr Rochala (http://rocha.la)\n * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)\n * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.\n *\n * Version: 1.3.8\n *\n */\n(function(e){e.fn.extend({slimScroll:function(f){var a=e.extend({width:\"auto\",height:\"250px\",size:\"7px\",color:\"#000\",position:\"right\",distance:\"1px\",start:\"top\",opacity:.4,alwaysVisible:!1,disableFadeOut:!1,railVisible:!1,railColor:\"#333\",railOpacity:.2,railDraggable:!0,railClass:\"slimScrollRail\",barClass:\"slimScrollBar\",wrapperClass:\"slimScrollDiv\",allowPageScroll:!1,wheelStep:20,touchScrollStep:200,borderRadius:\"7px\",railBorderRadius:\"7px\"},f);this.each(function(){function v(d){if(r){d=d||window.event;\nvar c=0;d.wheelDelta&&(c=-d.wheelDelta/120);d.detail&&(c=d.detail/3);e(d.target||d.srcTarget||d.srcElement).closest(\".\"+a.wrapperClass).is(b.parent())&&n(c,!0);d.preventDefault&&!k&&d.preventDefault();k||(d.returnValue=!1)}}function n(d,g,e){k=!1;var f=b.outerHeight()-c.outerHeight();g&&(g=parseInt(c.css(\"top\"))+d*parseInt(a.wheelStep)/100*c.outerHeight(),g=Math.min(Math.max(g,0),f),g=0<d?Math.ceil(g):Math.floor(g),c.css({top:g+\"px\"}));l=parseInt(c.css(\"top\"))/(b.outerHeight()-c.outerHeight());g=\nl*(b[0].scrollHeight-b.outerHeight());e&&(g=d,d=g/b[0].scrollHeight*b.outerHeight(),d=Math.min(Math.max(d,0),f),c.css({top:d+\"px\"}));b.scrollTop(g);b.trigger(\"slimscrolling\",~~g);w();p()}function x(){u=Math.max(b.outerHeight()/b[0].scrollHeight*b.outerHeight(),30);c.css({height:u+\"px\"});var a=u==b.outerHeight()?\"none\":\"block\";c.css({display:a})}function w(){x();clearTimeout(B);l==~~l?(k=a.allowPageScroll,C!=l&&b.trigger(\"slimscroll\",0==~~l?\"top\":\"bottom\")):k=!1;C=l;u>=b.outerHeight()?k=!0:(c.stop(!0,\n!0).fadeIn(\"fast\"),a.railVisible&&m.stop(!0,!0).fadeIn(\"fast\"))}function p(){a.alwaysVisible||(B=setTimeout(function(){a.disableFadeOut&&r||y||z||(c.fadeOut(\"slow\"),m.fadeOut(\"slow\"))},1E3))}var r,y,z,B,A,u,l,C,k=!1,b=e(this);if(b.parent().hasClass(a.wrapperClass)){var q=b.scrollTop(),c=b.siblings(\".\"+a.barClass),m=b.siblings(\".\"+a.railClass);x();if(e.isPlainObject(f)){if(\"height\"in f&&\"auto\"==f.height){b.parent().css(\"height\",\"auto\");b.css(\"height\",\"auto\");var h=b.parent().parent().height();b.parent().css(\"height\",\nh);b.css(\"height\",h)}else\"height\"in f&&(h=f.height,b.parent().css(\"height\",h),b.css(\"height\",h));if(\"scrollTo\"in f)q=parseInt(a.scrollTo);else if(\"scrollBy\"in f)q+=parseInt(a.scrollBy);else if(\"destroy\"in f){c.remove();m.remove();b.unwrap();return}n(q,!1,!0)}}else if(!(e.isPlainObject(f)&&\"destroy\"in f)){a.height=\"auto\"==a.height?b.parent().height():a.height;q=e(\"<div></div>\").addClass(a.wrapperClass).css({position:\"relative\",overflow:\"hidden\",width:a.width,height:a.height});b.css({overflow:\"hidden\",\nwidth:a.width,height:a.height});var m=e(\"<div></div>\").addClass(a.railClass).css({width:a.size,height:\"100%\",position:\"absolute\",top:0,display:a.alwaysVisible&&a.railVisible?\"block\":\"none\",\"border-radius\":a.railBorderRadius,background:a.railColor,opacity:a.railOpacity,zIndex:90}),c=e(\"<div></div>\").addClass(a.barClass).css({background:a.color,width:a.size,position:\"absolute\",top:0,opacity:a.opacity,display:a.alwaysVisible?\"block\":\"none\",\"border-radius\":a.borderRadius,BorderRadius:a.borderRadius,MozBorderRadius:a.borderRadius,\nWebkitBorderRadius:a.borderRadius,zIndex:99}),h=\"right\"==a.position?{right:a.distance}:{left:a.distance};m.css(h);c.css(h);b.wrap(q);b.parent().append(c);b.parent().append(m);a.railDraggable&&c.bind(\"mousedown\",function(a){var b=e(document);z=!0;t=parseFloat(c.css(\"top\"));pageY=a.pageY;b.bind(\"mousemove.slimscroll\",function(a){currTop=t+a.pageY-pageY;c.css(\"top\",currTop);n(0,c.position().top,!1)});b.bind(\"mouseup.slimscroll\",function(a){z=!1;p();b.unbind(\".slimscroll\")});return!1}).bind(\"selectstart.slimscroll\",\nfunction(a){a.stopPropagation();a.preventDefault();return!1});m.hover(function(){w()},function(){p()});c.hover(function(){y=!0},function(){y=!1});b.hover(function(){r=!0;w();p()},function(){r=!1;p()});b.bind(\"touchstart\",function(a,b){a.originalEvent.touches.length&&(A=a.originalEvent.touches[0].pageY)});b.bind(\"touchmove\",function(b){k||b.originalEvent.preventDefault();b.originalEvent.touches.length&&(n((A-b.originalEvent.touches[0].pageY)/a.touchScrollStep,!0),A=b.originalEvent.touches[0].pageY)});\nx();\"bottom\"===a.start?(c.css({top:b.outerHeight()-c.outerHeight()}),n(0,!0)):\"top\"!==a.start&&(n(e(a.start).position().top,null,!0),a.alwaysVisible||c.hide());window.addEventListener?(this.addEventListener(\"DOMMouseScroll\",v,!1),this.addEventListener(\"mousewheel\",v,!1)):document.attachEvent(\"onmousewheel\",v)}});return this}});e.fn.extend({slimscroll:e.fn.slimScroll})})(jQuery);","/*\n    TimelineJS - ver. 2017-03-31-15-29-59 - 2017-03-31\n    Copyright (c) 2012-2016 Northwestern University\n    a project of the Northwestern University Knight Lab, originally created by Zach Wise\n    https://github.com/NUKnightLab/TimelineJS3\n    This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.\n    If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.\n*/\nfunction TL_Error(t,e){this.name=\"TL.Error\",this.message=t||\"error\",this.message_key=this.message,this.detail=e||\"\";var i=new Error;i.hasOwnProperty(\"stack\")&&(this.stack=i.stack)}!function(t){t.TL={VERSION:\"0.1\",_originalL:t.TL}}(this),TL.debug=!1,TL.Bind=function(t,e){return function(){return t.apply(e,arguments)}},trace=function(t){TL.debug&&(window.console?console.log(t):\"undefined\"!=typeof jsTrace&&jsTrace.send(t))},TL_Error.prototype=Object.create(Error.prototype),TL_Error.prototype.constructor=TL_Error,TL.Error=TL_Error,TL.Util={mergeData:function(t,e){var i;for(i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t},extend:function(t){for(var e,i=Array.prototype.slice.call(arguments,1),n=0,a=i.length;n<a;n++)e=i[n]||{},TL.Util.mergeData(t,e);return t},isEven:function(t){return t==parseFloat(t)?!(t%2):void 0},isTrue:function(t){return null!=t&&(1==t||\"true\"==String(t).toLowerCase()||1==Number(t))},findArrayNumberByUniqueID:function(t,e,i,n){for(var a=n||0,s=0;s<e.length;s++)e[s].data[i]==t&&(a=s);return a},convertUnixTime:function(t){var e,i,n,a,s,o,r=[],l={ymd:\"\",time:\"\",time_array:[],date_array:[],full_array:[]};l.ymd=t.split(\" \")[0],l.time=t.split(\" \")[1],l.date_array=l.ymd.split(\"-\"),l.time_array=l.time.split(\":\"),l.full_array=l.date_array.concat(l.time_array);for(var h=0;h<l.full_array.length;h++)r.push(parseInt(l.full_array[h]));return e=new Date(r[0],r[1],r[2],r[3],r[4],r[5]),i=[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],n=e.getFullYear(),a=i[e.getMonth()],s=e.getDate(),o=a+\", \"+s+\" \"+n},setData:function(t,e){t.data=TL.Util.extend({},t.data,e),\"\"===t.data.unique_id&&(t.data.unique_id=TL.Util.unique_ID(6))},stamp:function(){var t=0,e=\"_tl_id\";return function(i){return i[e]=i[e]||++t,i[e]}}(),isArray:function(){if(Array.isArray)return Array.isArray;var t=Object.prototype.toString,e=t.call([]);return function(i){return t.call(i)===e}}(),getRandomNumber:function(t){return Math.floor(Math.random()*t)},unique_ID:function(t,e){var i=function(t){return Math.floor(Math.random()*t)},n=function(){var t=\"abcdefghijklmnopqurstuvwxyz\";return t.substr(i(32),1)},a=function(t){for(var e=\"\",i=0;i<t;i++)e+=n();return e};return e?e+\"-\"+a(t):\"tl-\"+a(t)},ensureUniqueKey:function(t,e){if(e||(e=TL.Util.unique_ID(6)),!(e in t))return e;var i=e.match(/^(.+)(-\\d+)?$/)[1],n=[];for(key in t)key.match(/^(.+?)(-\\d+)?$/)[1]==i&&n.push(key);e=i+\"-\"+(n.length+1);for(var a=n.length;n.indexOf(e)!=-1;a++)e=i+\"-\"+a;return e},htmlify:function(t){return t.match(/<p>[\\s\\S]*?<\\/p>/)?t:\"<p>\"+t+\"</p>\"},linkify:function(t,e,i){var n=function(t,e,i){i||(i=\"\");var n=30;return e&&e.length>n&&(e=e.substring(0,n)+\"…\"),i+\"<a class='tl-makelink' href='\"+t+\"' onclick='void(0)'>\"+e+\"</a>\"},a=/\\b(?:https?|ftp):\\/\\/([a-z0-9-+&@#\\/%?=~_|!:,.;]*[a-z0-9-+&@#\\/%=~_|])/gim,s=/(^|[^\\/>])(www\\.[\\S]+(\\b|$))/gim,o=/([a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-.]+)/gim;return t.replace(a,function(t,e,i,a){if(i>0){var s=a[i-1];if('\"'==s||\"'\"==s||\"=\"==s)return t}return n(t,e)}).replace(s,function(t,e,i,a,s){return n(\"http://\"+i,i,e)}).replace(o,function(t,e,i,a){return n(\"mailto:\"+e,e)})},unlinkify:function(t){return t?(t=t.replace(/<a\\b[^>]*>/i,\"\"),t=t.replace(/<\\/a>/i,\"\")):t},getParamString:function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(i+\"=\"+t[i]);return\"?\"+e.join(\"&\")},formatNum:function(t,e){var i=Math.pow(10,e||5);return Math.round(t*i)/i},falseFn:function(){return!1},requestAnimFrame:function(){function t(t){window.setTimeout(t,1e3/60)}var e=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||t;return function(i,n,a,s){i=n?TL.Util.bind(i,n):i,a&&e===t?i():e(i,s)}}(),bind:function(t,e){return function(){return t.apply(e,arguments)}},template:function(t,e){return t.replace(/\\{ *([\\w_]+) *\\}/g,function(t,i){var n=e[i];if(!e.hasOwnProperty(i))throw new TL.Error(\"template_value_err\",t);return n})},hexToRgb:function(t){TL.Util.css_named_colors[t.toLowerCase()]&&(t=TL.Util.css_named_colors[t.toLowerCase()]);var e=/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;t=t.replace(e,function(t,e,i,n){return e+e+i+i+n+n});var i=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(t);return i?{r:parseInt(i[1],16),g:parseInt(i[2],16),b:parseInt(i[3],16)}:null},rgbToHex:function(t){var e,i,n;if(\"object\"==typeof t)e=t.r,i=t.g,n=t.b;else if(\"function\"==typeof t.match){var a=t.match(/^rgb\\((\\d+),(\\d+),(\\d+)\\)$/);a&&(e=a[1],i=a[2],n=a[3])}if(isNaN(e)||isNaN(n)||isNaN(i))throw new TL.Error(\"invalid_rgb_err\");return\"#\"+TL.Util.intToHexString(e)+TL.Util.intToHexString(i)+TL.Util.intToHexString(n)},colorObjToHex:function(t){var e=[t.r,t.g,t.b];return TL.Util.rgbToHex(\"rgb(\"+e.join(\",\")+\")\")},css_named_colors:{aliceblue:\"#f0f8ff\",antiquewhite:\"#faebd7\",aqua:\"#00ffff\",aquamarine:\"#7fffd4\",azure:\"#f0ffff\",beige:\"#f5f5dc\",bisque:\"#ffe4c4\",black:\"#000000\",blanchedalmond:\"#ffebcd\",blue:\"#0000ff\",blueviolet:\"#8a2be2\",brown:\"#a52a2a\",burlywood:\"#deb887\",cadetblue:\"#5f9ea0\",chartreuse:\"#7fff00\",chocolate:\"#d2691e\",coral:\"#ff7f50\",cornflowerblue:\"#6495ed\",cornsilk:\"#fff8dc\",crimson:\"#dc143c\",cyan:\"#00ffff\",darkblue:\"#00008b\",darkcyan:\"#008b8b\",darkgoldenrod:\"#b8860b\",darkgray:\"#a9a9a9\",darkgreen:\"#006400\",darkkhaki:\"#bdb76b\",darkmagenta:\"#8b008b\",darkolivegreen:\"#556b2f\",darkorange:\"#ff8c00\",darkorchid:\"#9932cc\",darkred:\"#8b0000\",darksalmon:\"#e9967a\",darkseagreen:\"#8fbc8f\",darkslateblue:\"#483d8b\",darkslategray:\"#2f4f4f\",darkturquoise:\"#00ced1\",darkviolet:\"#9400d3\",deeppink:\"#ff1493\",deepskyblue:\"#00bfff\",dimgray:\"#696969\",dodgerblue:\"#1e90ff\",firebrick:\"#b22222\",floralwhite:\"#fffaf0\",forestgreen:\"#228b22\",fuchsia:\"#ff00ff\",gainsboro:\"#dcdcdc\",ghostwhite:\"#f8f8ff\",gold:\"#ffd700\",goldenrod:\"#daa520\",gray:\"#808080\",green:\"#008000\",greenyellow:\"#adff2f\",honeydew:\"#f0fff0\",hotpink:\"#ff69b4\",indianred:\"#cd5c5c\",indigo:\"#4b0082\",ivory:\"#fffff0\",khaki:\"#f0e68c\",lavender:\"#e6e6fa\",lavenderblush:\"#fff0f5\",lawngreen:\"#7cfc00\",lemonchiffon:\"#fffacd\",lightblue:\"#add8e6\",lightcoral:\"#f08080\",lightcyan:\"#e0ffff\",lightgoldenrodyellow:\"#fafad2\",lightgray:\"#d3d3d3\",lightgreen:\"#90ee90\",lightpink:\"#ffb6c1\",lightsalmon:\"#ffa07a\",lightseagreen:\"#20b2aa\",lightskyblue:\"#87cefa\",lightslategray:\"#778899\",lightsteelblue:\"#b0c4de\",lightyellow:\"#ffffe0\",lime:\"#00ff00\",limegreen:\"#32cd32\",linen:\"#faf0e6\",magenta:\"#ff00ff\",maroon:\"#800000\",mediumaquamarine:\"#66cdaa\",mediumblue:\"#0000cd\",mediumorchid:\"#ba55d3\",mediumpurple:\"#9370db\",mediumseagreen:\"#3cb371\",mediumslateblue:\"#7b68ee\",mediumspringgreen:\"#00fa9a\",mediumturquoise:\"#48d1cc\",mediumvioletred:\"#c71585\",midnightblue:\"#191970\",mintcream:\"#f5fffa\",mistyrose:\"#ffe4e1\",moccasin:\"#ffe4b5\",navajowhite:\"#ffdead\",navy:\"#000080\",oldlace:\"#fdf5e6\",olive:\"#808000\",olivedrab:\"#6b8e23\",orange:\"#ffa500\",orangered:\"#ff4500\",orchid:\"#da70d6\",palegoldenrod:\"#eee8aa\",palegreen:\"#98fb98\",paleturquoise:\"#afeeee\",palevioletred:\"#db7093\",papayawhip:\"#ffefd5\",peachpuff:\"#ffdab9\",peru:\"#cd853f\",pink:\"#ffc0cb\",plum:\"#dda0dd\",powderblue:\"#b0e0e6\",purple:\"#800080\",rebeccapurple:\"#663399\",red:\"#ff0000\",rosybrown:\"#bc8f8f\",royalblue:\"#4169e1\",saddlebrown:\"#8b4513\",salmon:\"#fa8072\",sandybrown:\"#f4a460\",seagreen:\"#2e8b57\",seashell:\"#fff5ee\",sienna:\"#a0522d\",silver:\"#c0c0c0\",skyblue:\"#87ceeb\",slateblue:\"#6a5acd\",slategray:\"#708090\",snow:\"#fffafa\",springgreen:\"#00ff7f\",steelblue:\"#4682b4\",tan:\"#d2b48c\",teal:\"#008080\",thistle:\"#d8bfd8\",tomato:\"#ff6347\",turquoise:\"#40e0d0\",violet:\"#ee82ee\",wheat:\"#f5deb3\",white:\"#ffffff\",whitesmoke:\"#f5f5f5\",yellow:\"#ffff00\",yellowgreen:\"#9acd32\"},ratio:{square:function(t){var e={w:0,h:0};return t.w>t.h&&t.h>0?(e.h=t.h,e.w=t.h):(e.w=t.w,e.h=t.w),e},r16_9:function(t){return null!==t.w&&\"\"!==t.w?Math.round(t.w/16*9):null!==t.h&&\"\"!==t.h?Math.round(t.h/9*16):0},r4_3:function(t){return null!==t.w&&\"\"!==t.w?Math.round(t.w/4*3):null!==t.h&&\"\"!==t.h?Math.round(t.h/3*4):void 0}},getObjectAttributeByIndex:function(t,e){if(\"undefined\"!=typeof t){var i=0;for(var n in t){if(e===i)return t[n];i++}return\"\"}return\"\"},getUrlVars:function(t){var e,i,n,a=[];e=t.toString(),e.match(\"&#038;\")?e=e.replace(\"&#038;\",\"&\"):e.match(\"&#38;\")?e=e.replace(\"&#38;\",\"&\"):e.match(\"&amp;\")&&(e=e.replace(\"&amp;\",\"&\")),n=e.slice(e.indexOf(\"?\")+1).split(\"&\");for(var s=0;s<n.length;s++)i=n[s].split(\"=\"),a.push(i[0]),a[i[0]]=i[1];return a},trim:function(t){return t&&\"function\"==typeof t.replace?t.replace(/^\\s+|\\s+$/g,\"\"):\"\"},slugify:function(t){t=TL.Util.trim(t),t=t.toLowerCase();for(var e=\"ãàáäâẽèéëêìíïîõòóöôùúüûñç·/_,:;\",i=\"aaaaaeeeeeiiiiooooouuuunc------\",n=0,a=e.length;n<a;n++)t=t.replace(new RegExp(e.charAt(n),\"g\"),i.charAt(n));return t=t.replace(/[^a-z0-9 -]/g,\"\").replace(/\\s+/g,\"-\").replace(/-+/g,\"-\"),t=t.replace(/^([0-9])/,\"_$1\")},maxDepth:function(t){for(var e=[],i=0,n=0;n<t.length;n++){if(e.push(t[n]),e.length>1){for(var a=e[e.length-1],s=-1,o=0;o<e.length-1;o++)e[o][1]<a[0]&&(s=o);s>=0&&(e=e.slice(s+1))}e.length>i&&(i=e.length)}return i},pad:function(t,e){for(t=String(t),e=e||2;t.length<e;)t=\"0\"+t;return t},intToHexString:function(t){return TL.Util.pad(parseInt(t,10).toString(16))},findNextGreater:function(t,e,i){for(var n=0;n<t.length;n++)if(e<t[n])return t[n];return i?i:e},findNextLesser:function(t,e,i){for(var n=t.length-1;n>=0;n--)if(e>t[n])return t[n];return i?i:e},isEmptyObject:function(t){var e=[];if(Object.keys)e=Object.keys(t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);for(var n=0;n<e.length;n++){var a=e[n];if(null!=t[a]&&\"string\"!=typeof t[a])return!1;if(0!=TL.Util.trim(t[a]).length)return!1}return!0},parseYouTubeTime:function(t){if(\"string\"==typeof t){if(parts=t.match(/^\\s*(\\d+h)?(\\d+m)?(\\d+s)?\\s*/i),parts){var e=parseInt(parts[1])||0,i=parseInt(parts[2])||0,n=parseInt(parts[3])||0;return n+60*i+60*e*60}}else if(\"number\"==typeof t)return t;return 0},transformImageURL:function(t){return t.replace(/(.*)www.dropbox.com\\/(.*)/,\"$1dl.dropboxusercontent.com/$2\")},base58:function(t){var e=t||\"123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ\",i=e.length;return{encode:function(t){if(\"number\"!=typeof t||t!==parseInt(t))throw'\"encode\" only accepts integers.';for(var n=\"\";t;){var a=t%i;t=Math.floor(t/i),n=e[a].toString()+n}return n},decode:function(t){if(\"string\"!=typeof t)throw'\"decode\" only accepts strings.';for(var n=0;t;){var a=e.indexOf(t[0]);if(a<0)throw'\"decode\" can\\'t find \"'+t[0]+'\" in the alphabet: \"'+e+'\"';var s=t.length-1;n+=a*Math.pow(i,s),t=t.substring(1)}return n}}}()},function(t){var e=function(){function t(t){return null==t?String(t):Z[Y.call(t)]||\"object\"}function e(e){return\"function\"==t(e)}function i(t){return null!=t&&t==t.window}function n(t){return null!=t&&t.nodeType==t.DOCUMENT_NODE}function a(e){return\"object\"==t(e)}function s(t){return a(t)&&!i(t)&&Object.getPrototypeOf(t)==Object.prototype}function o(t){return\"number\"==typeof t.length}function r(t){return E.call(t,function(t){return null!=t})}function l(t){return t.length>0?$.fn.concat.apply([],t):t}function h(t){return t.replace(/::/g,\"/\").replace(/([A-Z]+)([A-Z][a-z])/g,\"$1_$2\").replace(/([a-z\\d])([A-Z])/g,\"$1_$2\").replace(/_/g,\"-\").toLowerCase()}function d(t){return t in N?N[t]:N[t]=new RegExp(\"(^|\\\\s)\"+t+\"(\\\\s|$)\")}function c(t,e){return\"number\"!=typeof e||I[h(t)]?e:e+\"px\"}function u(t){var e,i;return C[t]||(e=S.createElement(t),S.body.appendChild(e),i=getComputedStyle(e,\"\").getPropertyValue(\"display\"),e.parentNode.removeChild(e),\"none\"==i&&(i=\"block\"),C[t]=i),C[t]}function m(t){return\"children\"in t?M.call(t.children):$.map(t.childNodes,function(t){if(1==t.nodeType)return t})}function _(t,e,i){for(w in e)i&&(s(e[w])||X(e[w]))?(s(e[w])&&!s(t[w])&&(t[w]={}),X(e[w])&&!X(t[w])&&(t[w]=[]),_(t[w],e[w],i)):e[w]!==L&&(t[w]=e[w])}function f(t,e){return null==e?$(t):$(t).filter(e)}function p(t,i,n,a){return e(i)?i.call(t,n,a):i}function g(t,e,i){null==i?t.removeAttribute(e):t.setAttribute(e,i)}function v(t,e){var i=t.className,n=i&&i.baseVal!==L;return e===L?n?i.baseVal:i:void(n?i.baseVal=e:t.className=e)}function y(t){var e;try{return t?\"true\"==t||\"false\"!=t&&(\"null\"==t?null:/^0/.test(t)||isNaN(e=Number(t))?/^[\\[\\{]/.test(t)?$.parseJSON(t):t:e):t}catch(e){return t}}function T(t,e){e(t);for(var i in t.childNodes)T(t.childNodes[i],e)}var L,w,$,b,x,k,D=[],M=D.slice,E=D.filter,S=window.document,C={},N={},I={\"column-count\":1,columns:1,\"font-weight\":1,\"line-height\":1,opacity:1,\"z-index\":1,zoom:1},U=/^\\s*<(\\w+|!)[^>]*>/,A=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>|)$/,j=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/gi,O=/^(?:body|html)$/i,P=/([A-Z])/g,z=[\"val\",\"css\",\"html\",\"text\",\"data\",\"width\",\"height\",\"offset\"],B=[\"after\",\"prepend\",\"before\",\"append\"],q=S.createElement(\"table\"),R=S.createElement(\"tr\"),H={tr:S.createElement(\"tbody\"),tbody:q,thead:q,tfoot:q,td:R,th:R,\"*\":S.createElement(\"div\")},F=/complete|loaded|interactive/,W=/^[\\w-]*$/,Z={},Y=Z.toString,G={},J=S.createElement(\"div\"),V={tabindex:\"tabIndex\",readonly:\"readOnly\",for:\"htmlFor\",class:\"className\",maxlength:\"maxLength\",cellspacing:\"cellSpacing\",cellpadding:\"cellPadding\",rowspan:\"rowSpan\",colspan:\"colSpan\",usemap:\"useMap\",frameborder:\"frameBorder\",contenteditable:\"contentEditable\"},X=Array.isArray||function(t){return t instanceof Array};return G.matches=function(t,e){if(!e||!t||1!==t.nodeType)return!1;var i=t.webkitMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.matchesSelector;if(i)return i.call(t,e);var n,a=t.parentNode,s=!a;return s&&(a=J).appendChild(t),n=~G.qsa(a,e).indexOf(t),s&&J.removeChild(t),n},x=function(t){return t.replace(/-+(.)?/g,function(t,e){return e?e.toUpperCase():\"\"})},k=function(t){return E.call(t,function(e,i){return t.indexOf(e)==i})},G.fragment=function(t,e,i){var n,a,o;return A.test(t)&&(n=$(S.createElement(RegExp.$1))),n||(t.replace&&(t=t.replace(j,\"<$1></$2>\")),e===L&&(e=U.test(t)&&RegExp.$1),e in H||(e=\"*\"),o=H[e],o.innerHTML=\"\"+t,n=$.each(M.call(o.childNodes),function(){o.removeChild(this)})),s(i)&&(a=$(n),$.each(i,function(t,e){z.indexOf(t)>-1?a[t](e):a.attr(t,e)})),n},G.Z=function(t,e){return t=t||[],t.__proto__=$.fn,t.selector=e||\"\",t},G.isZ=function(t){return t instanceof G.Z},G.init=function(t,i){var n;if(!t)return G.Z();if(\"string\"==typeof t)if(t=t.trim(),\"<\"==t[0]&&U.test(t))n=G.fragment(t,RegExp.$1,i),t=null;else{if(i!==L)return $(i).find(t);n=G.qsa(S,t)}else{if(e(t))return $(S).ready(t);if(G.isZ(t))return t;if(X(t))n=r(t);else if(a(t))n=[t],t=null;else if(U.test(t))n=G.fragment(t.trim(),RegExp.$1,i),t=null;else{if(i!==L)return $(i).find(t);n=G.qsa(S,t)}}return G.Z(n,t)},$=function(t,e){return G.init(t,e)},$.extend=function(t){var e,i=M.call(arguments,1);return\"boolean\"==typeof t&&(e=t,t=i.shift()),i.forEach(function(i){_(t,i,e)}),t},G.qsa=function(t,e){var i,a=\"#\"==e[0],s=!a&&\".\"==e[0],o=a||s?e.slice(1):e,r=W.test(o);return n(t)&&r&&a?(i=t.getElementById(o))?[i]:[]:1!==t.nodeType&&9!==t.nodeType?[]:M.call(r&&!a?s?t.getElementsByClassName(o):t.getElementsByTagName(e):t.querySelectorAll(e))},$.contains=function(t,e){return t!==e&&t.contains(e)},$.type=t,$.isFunction=e,$.isWindow=i,$.isArray=X,$.isPlainObject=s,$.isEmptyObject=function(t){var e;for(e in t)return!1;return!0},$.inArray=function(t,e,i){return D.indexOf.call(e,t,i)},$.camelCase=x,$.trim=function(t){return null==t?\"\":String.prototype.trim.call(t)},$.uuid=0,$.support={},$.expr={},$.map=function(t,e){var i,n,a,s=[];if(o(t))for(n=0;n<t.length;n++)i=e(t[n],n),null!=i&&s.push(i);else for(a in t)i=e(t[a],a),null!=i&&s.push(i);return l(s)},$.each=function(t,e){var i,n;if(o(t)){for(i=0;i<t.length;i++)if(e.call(t[i],i,t[i])===!1)return t}else for(n in t)if(e.call(t[n],n,t[n])===!1)return t;return t},$.grep=function(t,e){return E.call(t,e)},window.JSON&&($.parseJSON=JSON.parse),$.each(\"Boolean Number String Function Array Date RegExp Object Error\".split(\" \"),function(t,e){Z[\"[object \"+e+\"]\"]=e.toLowerCase()}),$.fn={forEach:D.forEach,reduce:D.reduce,push:D.push,sort:D.sort,indexOf:D.indexOf,concat:D.concat,map:function(t){return $($.map(this,function(e,i){return t.call(e,i,e)}))},slice:function(){return $(M.apply(this,arguments))},ready:function(t){return F.test(S.readyState)&&S.body?t($):S.addEventListener(\"DOMContentLoaded\",function(){t($)},!1),this},get:function(t){return t===L?M.call(this):this[t>=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(t){return D.every.call(this,function(e,i){return t.call(e,i,e)!==!1}),this},filter:function(t){return e(t)?this.not(this.not(t)):$(E.call(this,function(e){return G.matches(e,t)}))},add:function(t,e){return $(k(this.concat($(t,e))))},is:function(t){return this.length>0&&G.matches(this[0],t)},not:function(t){var i=[];if(e(t)&&t.call!==L)this.each(function(e){t.call(this,e)||i.push(this)});else{var n=\"string\"==typeof t?this.filter(t):o(t)&&e(t.item)?M.call(t):$(t);this.forEach(function(t){n.indexOf(t)<0&&i.push(t)})}return $(i)},has:function(t){return this.filter(function(){return a(t)?$.contains(this,t):$(this).find(t).size()})},eq:function(t){return t===-1?this.slice(t):this.slice(t,+t+1)},first:function(){var t=this[0];return t&&!a(t)?t:$(t)},last:function(){var t=this[this.length-1];return t&&!a(t)?t:$(t)},find:function(t){var e,i=this;return e=\"object\"==typeof t?$(t).filter(function(){var t=this;return D.some.call(i,function(e){return $.contains(e,t)})}):1==this.length?$(G.qsa(this[0],t)):this.map(function(){return G.qsa(this,t)})},closest:function(t,e){var i=this[0],a=!1;for(\"object\"==typeof t&&(a=$(t));i&&!(a?a.indexOf(i)>=0:G.matches(i,t));)i=i!==e&&!n(i)&&i.parentNode;return $(i)},parents:function(t){for(var e=[],i=this;i.length>0;)i=$.map(i,function(t){if((t=t.parentNode)&&!n(t)&&e.indexOf(t)<0)return e.push(t),t});return f(e,t)},parent:function(t){return f(k(this.pluck(\"parentNode\")),t)},children:function(t){return f(this.map(function(){return m(this)}),t)},contents:function(){return this.map(function(){return M.call(this.childNodes)})},siblings:function(t){return f(this.map(function(t,e){return E.call(m(e.parentNode),function(t){return t!==e})}),t)},empty:function(){return this.each(function(){this.innerHTML=\"\"})},pluck:function(t){return $.map(this,function(e){return e[t]})},show:function(){return this.each(function(){\"none\"==this.style.display&&(this.style.display=\"\"),\"none\"==getComputedStyle(this,\"\").getPropertyValue(\"display\")&&(this.style.display=u(this.nodeName))})},replaceWith:function(t){return this.before(t).remove()},wrap:function(t){var i=e(t);if(this[0]&&!i)var n=$(t).get(0),a=n.parentNode||this.length>1;return this.each(function(e){$(this).wrapAll(i?t.call(this,e):a?n.cloneNode(!0):n)})},wrapAll:function(t){if(this[0]){$(this[0]).before(t=$(t));for(var e;(e=t.children()).length;)t=e.first();$(t).append(this)}return this},wrapInner:function(t){var i=e(t);return this.each(function(e){var n=$(this),a=n.contents(),s=i?t.call(this,e):t;a.length?a.wrapAll(s):n.append(s)})},unwrap:function(){return this.parent().each(function(){$(this).replaceWith($(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css(\"display\",\"none\")},toggle:function(t){return this.each(function(){var e=$(this);(t===L?\"none\"==e.css(\"display\"):t)?e.show():e.hide()})},prev:function(t){return $(this.pluck(\"previousElementSibling\")).filter(t||\"*\")},next:function(t){return $(this.pluck(\"nextElementSibling\")).filter(t||\"*\")},html:function(t){return 0===arguments.length?this.length>0?this[0].innerHTML:null:this.each(function(e){var i=this.innerHTML;$(this).empty().append(p(this,t,e,i))})},text:function(t){return 0===arguments.length?this.length>0?this[0].textContent:null:this.each(function(){this.textContent=t===L?\"\":\"\"+t})},attr:function(t,e){var i;return\"string\"==typeof t&&e===L?0==this.length||1!==this[0].nodeType?L:\"value\"==t&&\"INPUT\"==this[0].nodeName?this.val():!(i=this[0].getAttribute(t))&&t in this[0]?this[0][t]:i:this.each(function(i){if(1===this.nodeType)if(a(t))for(w in t)g(this,w,t[w]);else g(this,t,p(this,e,i,this.getAttribute(t)))})},removeAttr:function(t){return this.each(function(){1===this.nodeType&&g(this,t)})},prop:function(t,e){return t=V[t]||t,e===L?this[0]&&this[0][t]:this.each(function(i){this[t]=p(this,e,i,this[t])})},data:function(t,e){var i=this.attr(\"data-\"+t.replace(P,\"-$1\").toLowerCase(),e);return null!==i?y(i):L},val:function(t){return 0===arguments.length?this[0]&&(this[0].multiple?$(this[0]).find(\"option\").filter(function(){return this.selected}).pluck(\"value\"):this[0].value):this.each(function(e){this.value=p(this,t,e,this.value)})},offset:function(t){if(t)return this.each(function(e){var i=$(this),n=p(this,t,e,i.offset()),a=i.offsetParent().offset(),s={top:n.top-a.top,left:n.left-a.left};\"static\"==i.css(\"position\")&&(s.position=\"relative\"),i.css(s)});if(0==this.length)return null;var e=this[0].getBoundingClientRect();return{left:e.left+window.pageXOffset,top:e.top+window.pageYOffset,width:Math.round(e.width),height:Math.round(e.height)}},css:function(e,i){if(arguments.length<2){var n=this[0],a=getComputedStyle(n,\"\");if(!n)return;if(\"string\"==typeof e)return n.style[x(e)]||a.getPropertyValue(e);if(X(e)){var s={};return $.each(X(e)?e:[e],function(t,e){s[e]=n.style[x(e)]||a.getPropertyValue(e)}),s}}var o=\"\";if(\"string\"==t(e))i||0===i?o=h(e)+\":\"+c(e,i):this.each(function(){this.style.removeProperty(h(e))});else for(w in e)e[w]||0===e[w]?o+=h(w)+\":\"+c(w,e[w])+\";\":this.each(function(){this.style.removeProperty(h(w))});return this.each(function(){this.style.cssText+=\";\"+o})},index:function(t){return t?this.indexOf($(t)[0]):this.parent().children().indexOf(this[0])},hasClass:function(t){return!!t&&D.some.call(this,function(t){return this.test(v(t))},d(t))},addClass:function(t){return t?this.each(function(e){b=[];var i=v(this),n=p(this,t,e,i);n.split(/\\s+/g).forEach(function(t){$(this).hasClass(t)||b.push(t)},this),b.length&&v(this,i+(i?\" \":\"\")+b.join(\" \"))}):this},removeClass:function(t){return this.each(function(e){return t===L?v(this,\"\"):(b=v(this),p(this,t,e,b).split(/\\s+/g).forEach(function(t){b=b.replace(d(t),\" \")}),void v(this,b.trim()))})},toggleClass:function(t,e){return t?this.each(function(i){var n=$(this),a=p(this,t,i,v(this));a.split(/\\s+/g).forEach(function(t){(e===L?!n.hasClass(t):e)?n.addClass(t):n.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var e=\"scrollTop\"in this[0];return t===L?e?this[0].scrollTop:this[0].pageYOffset:this.each(e?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var e=\"scrollLeft\"in this[0];return t===L?e?this[0].scrollLeft:this[0].pageXOffset:this.each(e?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var t=this[0],e=this.offsetParent(),i=this.offset(),n=O.test(e[0].nodeName)?{top:0,left:0}:e.offset();return i.top-=parseFloat($(t).css(\"margin-top\"))||0,i.left-=parseFloat($(t).css(\"margin-left\"))||0,n.top+=parseFloat($(e[0]).css(\"border-top-width\"))||0,n.left+=parseFloat($(e[0]).css(\"border-left-width\"))||0,{top:i.top-n.top,left:i.left-n.left}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||S.body;t&&!O.test(t.nodeName)&&\"static\"==$(t).css(\"position\");)t=t.offsetParent;return t})}},$.fn.detach=$.fn.remove,[\"width\",\"height\"].forEach(function(t){var e=t.replace(/./,function(t){return t[0].toUpperCase()});$.fn[t]=function(a){var s,o=this[0];return a===L?i(o)?o[\"inner\"+e]:n(o)?o.documentElement[\"scroll\"+e]:(s=this.offset())&&s[t]:this.each(function(e){o=$(this),o.css(t,p(this,a,e,o[t]()))})}}),B.forEach(function(e,i){var n=i%2;$.fn[e]=function(){var e,a,s=$.map(arguments,function(i){return e=t(i),\"object\"==e||\"array\"==e||null==i?i:G.fragment(i)}),o=this.length>1;return s.length<1?this:this.each(function(t,e){a=n?e:e.parentNode,e=0==i?e.nextSibling:1==i?e.firstChild:2==i?e:null,s.forEach(function(t){if(o)t=t.cloneNode(!0);else if(!a)return $(t).remove();T(a.insertBefore(t,e),function(t){null==t.nodeName||\"SCRIPT\"!==t.nodeName.toUpperCase()||t.type&&\"text/javascript\"!==t.type||t.src||window.eval.call(window,t.innerHTML)})})})},$.fn[n?e+\"To\":\"insert\"+(i?\"Before\":\"After\")]=function(t){return $(t)[e](this),this}}),G.Z.prototype=$.fn,G.uniq=k,G.deserializeValue=y,$.zepto=G,$}();window.Zepto=e,void 0===window.$&&(window.$=e),function($){function t(t){return t._zid||(t._zid=c++)}function e(e,a,s,o){if(a=i(a),a.ns)var r=n(a.ns);return(f[t(e)]||[]).filter(function(e){return e&&(!a.e||e.e==a.e)&&(!a.ns||r.test(e.ns))&&(!s||t(e.fn)===t(s))&&(!o||e.sel==o)})}function i(t){var e=(\"\"+t).split(\".\");return{e:e[0],ns:e.slice(1).sort().join(\" \")}}function n(t){return new RegExp(\"(?:^| )\"+t.replace(\" \",\" .* ?\")+\"(?: |$)\")}function a(t,e){return t.del&&!g&&t.e in v||!!e}function s(t){return y[t]||g&&v[t]||t}function o(e,n,o,r,h,c,u){var m=t(e),_=f[m]||(f[m]=[]);n.split(/\\s/).forEach(function(t){if(\"ready\"==t)return $(document).ready(o);var n=i(t);n.fn=o,n.sel=h,n.e in y&&(o=function(t){var e=t.relatedTarget;if(!e||e!==this&&!$.contains(this,e))return n.fn.apply(this,arguments)}),n.del=c;var m=c||o;n.proxy=function(t){if(t=l(t),!t.isImmediatePropagationStopped()){t.data=r;var i=m.apply(e,t._args==d?[t]:[t].concat(t._args));return i===!1&&(t.preventDefault(),t.stopPropagation()),i}},n.i=_.length,_.push(n),\"addEventListener\"in e&&e.addEventListener(s(n.e),n.proxy,a(n,u))})}function r(i,n,o,r,l){var h=t(i);(n||\"\").split(/\\s/).forEach(function(t){e(i,t,o,r).forEach(function(t){delete f[h][t.i],\"removeEventListener\"in i&&i.removeEventListener(s(t.e),t.proxy,a(t,l))})})}function l(t,e){return!e&&t.isDefaultPrevented||(e||(e=t),$.each(b,function(i,n){var a=e[i];t[i]=function(){return this[n]=T,a&&a.apply(e,arguments)},t[n]=L}),(e.defaultPrevented!==d?e.defaultPrevented:\"returnValue\"in e?e.returnValue===!1:e.getPreventDefault&&e.getPreventDefault())&&(t.isDefaultPrevented=T)),t}function h(t){var e,i={originalEvent:t};for(e in t)w.test(e)||t[e]===d||(i[e]=t[e]);return l(i,t)}var d,c=($.zepto.qsa,1),u=Array.prototype.slice,m=$.isFunction,_=function(t){return\"string\"==typeof t},f={},p={},g=\"onfocusin\"in window,v={focus:\"focusin\",blur:\"focusout\"},y={mouseenter:\"mouseover\",mouseleave:\"mouseout\"};p.click=p.mousedown=p.mouseup=p.mousemove=\"MouseEvents\",$.event={add:o,remove:r},$.proxy=function(e,i){if(m(e)){var n=function(){return e.apply(i,arguments)};return n._zid=t(e),n}if(_(i))return $.proxy(e[i],e);throw new TypeError(\"expected function\")},$.fn.bind=function(t,e,i){return this.on(t,e,i)},$.fn.unbind=function(t,e){return this.off(t,e)},$.fn.one=function(t,e,i,n){return this.on(t,e,i,n,1)};var T=function(){return!0},L=function(){return!1},w=/^([A-Z]|returnValue$|layer[XY]$)/,b={preventDefault:\"isDefaultPrevented\",stopImmediatePropagation:\"isImmediatePropagationStopped\",stopPropagation:\"isPropagationStopped\"};$.fn.delegate=function(t,e,i){return this.on(e,t,i)},$.fn.undelegate=function(t,e,i){return this.off(e,t,i)},$.fn.live=function(t,e){return $(document.body).delegate(this.selector,t,e),this},$.fn.die=function(t,e){return $(document.body).undelegate(this.selector,t,e),this},$.fn.on=function(t,e,i,n,a){var s,l,c=this;return t&&!_(t)?($.each(t,function(t,n){c.on(t,e,i,n,a)}),c):(_(e)||m(n)||n===!1||(n=i,i=e,e=d),(m(i)||i===!1)&&(n=i,i=d),n===!1&&(n=L),c.each(function(d,c){a&&(s=function(t){return r(c,t.type,n),n.apply(this,arguments)}),e&&(l=function(t){var i,a=$(t.target).closest(e,c).get(0);if(a&&a!==c)return i=$.extend(h(t),{currentTarget:a,liveFired:c}),(s||n).apply(a,[i].concat(u.call(arguments,1)))}),o(c,t,n,i,e,l||s)}))},$.fn.off=function(t,e,i){var n=this;return t&&!_(t)?($.each(t,function(t,i){n.off(t,e,i)}),n):(_(e)||m(i)||i===!1||(i=e,e=d),i===!1&&(i=L),n.each(function(){r(this,t,i,e)}))},$.fn.trigger=function(t,e){return t=_(t)||$.isPlainObject(t)?$.Event(t):l(t),t._args=e,this.each(function(){\"dispatchEvent\"in this?this.dispatchEvent(t):$(this).triggerHandler(t,e)})},$.fn.triggerHandler=function(t,i){var n,a;return this.each(function(s,o){n=h(_(t)?$.Event(t):t),n._args=i,n.target=o,$.each(e(o,t.type||t),function(t,e){if(a=e.proxy(n),n.isImmediatePropagationStopped())return!1})}),a},\"focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select keydown keypress keyup error\".split(\" \").forEach(function(t){$.fn[t]=function(e){return e?this.bind(t,e):this.trigger(t)}}),[\"focus\",\"blur\"].forEach(function(t){$.fn[t]=function(e){return e?this.bind(t,e):this.each(function(){try{this[t]()}catch(t){}}),this}}),$.Event=function(t,e){_(t)||(e=t,t=e.type);var i=document.createEvent(p[t]||\"Events\"),n=!0;if(e)for(var a in e)\"bubbles\"==a?n=!!e[a]:i[a]=e[a];return i.initEvent(t,n,!0),l(i)}}(e),function($){function t(t,e,i){var n=$.Event(e);return $(t).trigger(n,i),!n.isDefaultPrevented()}function e(e,i,n,a){if(e.global)return t(i||g,n,a)}function i(t){t.global&&0===$.active++&&e(t,null,\"ajaxStart\")}function n(t){t.global&&!--$.active&&e(t,null,\"ajaxStop\")}function a(t,i){var n=i.context;return i.beforeSend.call(n,t,i)!==!1&&e(i,n,\"ajaxBeforeSend\",[t,i])!==!1&&void e(i,n,\"ajaxSend\",[t,i])}function s(t,i,n,a){var s=n.context,o=\"success\";n.success.call(s,t,o,i),a&&a.resolveWith(s,[t,o,i]),e(n,s,\"ajaxSuccess\",[i,n,t]),r(o,i,n)}function o(t,i,n,a,s){var o=a.context;a.error.call(o,n,i,t),s&&s.rejectWith(o,[n,i,t]),e(a,o,\"ajaxError\",[n,a,t||i]),r(i,n,a)}function r(t,i,a){var s=a.context;a.complete.call(s,i,t),e(a,s,\"ajaxComplete\",[i,a]),n(a)}function l(){}function h(t){return t&&(t=t.split(\";\",2)[0]),t&&(t==w?\"html\":t==L?\"json\":y.test(t)?\"script\":T.test(t)&&\"xml\")||\"text\"}function d(t,e){return\"\"==e?t:(t+\"&\"+e).replace(/[&?]{1,2}/,\"?\")}function c(t){t.processData&&t.data&&\"string\"!=$.type(t.data)&&(t.data=$.param(t.data,t.traditional)),!t.data||t.type&&\"GET\"!=t.type.toUpperCase()||(t.url=d(t.url,t.data),t.data=void 0)}function u(t,e,i,n){var a=!$.isFunction(e);return{url:t,data:a?e:void 0,success:a?$.isFunction(i)?i:void 0:e,dataType:a?n||i:i}}function m(t,e,i,n){var a,s=$.isArray(e),o=$.isPlainObject(e);$.each(e,function(e,r){a=$.type(r),n&&(e=i?n:n+\"[\"+(o||\"object\"==a||\"array\"==a?e:\"\")+\"]\"),!n&&s?t.add(r.name,r.value):\"array\"==a||!i&&\"object\"==a?m(t,r,i,e):t.add(e,r)})}var _,f,p=0,g=window.document,v=/<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi,y=/^(?:text|application)\\/javascript/i,T=/^(?:text|application)\\/xml/i,L=\"application/json\",w=\"text/html\",b=/^\\s*$/;$.active=0,$.ajaxJSONP=function(t,e){if(!(\"type\"in t))return $.ajax(t);var i,n,r=t.jsonpCallback,l=($.isFunction(r)?r():r)||\"jsonp\"+ ++p,h=g.createElement(\"script\"),d=window[l],c=function(t){$(h).triggerHandler(\"error\",t||\"abort\")},u={abort:c};return e&&e.promise(u),$(h).on(\"load error\",function(a,r){clearTimeout(n),$(h).off().remove(),\"error\"!=a.type&&i?s(i[0],u,t,e):o(null,r||\"error\",u,t,e),window[l]=d,i&&$.isFunction(d)&&d(i[0]),d=i=void 0}),a(u,t)===!1?(c(\"abort\"),u):(window[l]=function(){i=arguments},h.src=t.url.replace(/\\?(.+)=\\?/,\"?$1=\"+l),g.head.appendChild(h),t.timeout>0&&(n=setTimeout(function(){c(\"timeout\")},t.timeout)),u)},$.ajaxSettings={type:\"GET\",beforeSend:l,success:l,error:l,complete:l,context:null,global:!0,xhr:function(){return new window.XMLHttpRequest},accepts:{script:\"text/javascript, application/javascript, application/x-javascript\",json:L,xml:\"application/xml, text/xml\",html:w,text:\"text/plain\"},crossDomain:!1,timeout:0,processData:!0,cache:!0},$.ajax=function(t){var e=$.extend({},t||{}),n=$.Deferred&&$.Deferred();for(_ in $.ajaxSettings)void 0===e[_]&&(e[_]=$.ajaxSettings[_]);i(e),e.crossDomain||(e.crossDomain=/^([\\w-]+:)?\\/\\/([^\\/]+)/.test(e.url)&&RegExp.$2!=window.location.host),e.url||(e.url=window.location.toString()),c(e),e.cache===!1&&(e.url=d(e.url,\"_=\"+Date.now()));var r=e.dataType,u=/\\?.+=\\?/.test(e.url);if(\"jsonp\"==r||u)return u||(e.url=d(e.url,e.jsonp?e.jsonp+\"=?\":e.jsonp===!1?\"\":\"callback=?\")),$.ajaxJSONP(e,n);var m,p=e.accepts[r],g={},v=function(t,e){\ng[t.toLowerCase()]=[t,e]},y=/^([\\w-]+:)\\/\\//.test(e.url)?RegExp.$1:window.location.protocol,T=e.xhr(),L=T.setRequestHeader;if(n&&n.promise(T),e.crossDomain||v(\"X-Requested-With\",\"XMLHttpRequest\"),v(\"Accept\",p||\"*/*\"),(p=e.mimeType||p)&&(p.indexOf(\",\")>-1&&(p=p.split(\",\",2)[0]),T.overrideMimeType&&T.overrideMimeType(p)),(e.contentType||e.contentType!==!1&&e.data&&\"GET\"!=e.type.toUpperCase())&&v(\"Content-Type\",e.contentType||\"application/x-www-form-urlencoded\"),e.headers)for(f in e.headers)v(f,e.headers[f]);if(T.setRequestHeader=v,T.onreadystatechange=function(){if(4==T.readyState){T.onreadystatechange=l,clearTimeout(m);var t,i=!1;if(T.status>=200&&T.status<300||304==T.status||0==T.status&&\"file:\"==y){r=r||h(e.mimeType||T.getResponseHeader(\"content-type\")),t=T.responseText;try{\"script\"==r?(0,eval)(t):\"xml\"==r?t=T.responseXML:\"json\"==r&&(t=b.test(t)?null:$.parseJSON(t))}catch(t){i=t}i?o(i,\"parsererror\",T,e,n):s(t,T,e,n)}else o(T.statusText||null,T.status?\"error\":\"abort\",T,e,n)}},a(T,e)===!1)return T.abort(),o(null,\"abort\",T,e,n),T;if(e.xhrFields)for(f in e.xhrFields)T[f]=e.xhrFields[f];var w=!(\"async\"in e)||e.async;T.open(e.type,e.url,w,e.username,e.password);for(f in g)L.apply(T,g[f]);return e.timeout>0&&(m=setTimeout(function(){T.onreadystatechange=l,T.abort(),o(null,\"timeout\",T,e,n)},e.timeout)),T.send(e.data?e.data:null),T},$.get=function(t,e,i,n){return $.ajax(u.apply(null,arguments))},$.post=function(t,e,i,n){var a=u.apply(null,arguments);return a.type=\"POST\",$.ajax(a)},$.getJSON=function(t,e,i){var n=u.apply(null,arguments);return n.dataType=\"json\",$.ajax(n)},$.fn.load=function(t,e,i){if(!this.length)return this;var n,a=this,s=t.split(/\\s/),o=u(t,e,i),r=o.success;return s.length>1&&(o.url=s[0],n=s[1]),o.success=function(t){a.html(n?$(\"<div>\").html(t.replace(v,\"\")).find(n):t),r&&r.apply(a,arguments)},$.ajax(o),this};var x=encodeURIComponent;$.param=function(t,e){var i=[];return i.add=function(t,e){this.push(x(t)+\"=\"+x(e))},m(i,t,e),i.join(\"&\").replace(/%20/g,\"+\")}}(e),function($){$.fn.serializeArray=function(){var t,e=[];return $([].slice.call(this.get(0).elements)).each(function(){t=$(this);var i=t.attr(\"type\");\"fieldset\"!=this.nodeName.toLowerCase()&&!this.disabled&&\"submit\"!=i&&\"reset\"!=i&&\"button\"!=i&&(\"radio\"!=i&&\"checkbox\"!=i||this.checked)&&e.push({name:t.attr(\"name\"),value:t.val()})}),e},$.fn.serialize=function(){var t=[];return this.serializeArray().forEach(function(e){t.push(encodeURIComponent(e.name)+\"=\"+encodeURIComponent(e.value))}),t.join(\"&\")},$.fn.submit=function(t){if(t)this.bind(\"submit\",t);else if(this.length){var e=$.Event(\"submit\");this.eq(0).trigger(e),e.isDefaultPrevented()||this.get(0).submit()}return this}}(e),function($){\"__proto__\"in{}||$.extend($.zepto,{Z:function(t,e){return t=t||[],$.extend(t,$.fn),t.selector=e||\"\",t.__Z=!0,t},isZ:function(t){return\"array\"===$.type(t)&&\"__Z\"in t}});try{getComputedStyle(void 0)}catch(e){var t=getComputedStyle;window.getComputedStyle=function(e,i){try{return t(e,i)}catch(t){return null}}}}(e),t.getJSON=e.getJSON,t.ajax=e.ajax}(TL),TL.Class=function(){},TL.Class.extend=function(t){var e=function(){this.initialize&&this.initialize.apply(this,arguments)},i=function(){};i.prototype=this.prototype;var n=new i;n.constructor=e,e.prototype=n,e.superclass=this.prototype;for(var a in this)this.hasOwnProperty(a)&&\"prototype\"!==a&&\"superclass\"!==a&&(e[a]=this[a]);return t.statics&&(TL.Util.extend(e,t.statics),delete t.statics),t.includes&&(TL.Util.extend.apply(null,[n].concat(t.includes)),delete t.includes),t.options&&n.options&&(t.options=TL.Util.extend({},n.options,t.options)),TL.Util.extend(n,t),e.extend=TL.Class.extend,e.include=function(t){TL.Util.extend(this.prototype,t)},e},TL.Events={addEventListener:function(t,e,i){var n=this._tl_events=this._tl_events||{};return n[t]=n[t]||[],n[t].push({action:e,context:i||this}),this},hasEventListeners:function(t){var e=\"_tl_events\";return e in this&&t in this[e]&&this[e][t].length>0},removeEventListener:function(t,e,i){if(!this.hasEventListeners(t))return this;for(var n=0,a=this._tl_events,s=a[t].length;n<s;n++)if(a[t][n].action===e&&(!i||a[t][n].context===i))return a[t].splice(n,1),this;return this},fireEvent:function(t,e){if(!this.hasEventListeners(t))return this;for(var i=TL.Util.mergeData({type:t,target:this},e),n=this._tl_events[t].slice(),a=0,s=n.length;a<s;a++)n[a].action.call(n[a].context||this,i);return this}},TL.Events.on=TL.Events.addEventListener,TL.Events.off=TL.Events.removeEventListener,TL.Events.fire=TL.Events.fireEvent,function(){var t=navigator.userAgent.toLowerCase(),e=document.documentElement,i=\"ActiveXObject\"in window,n=t.indexOf(\"webkit\")!==-1,a=t.indexOf(\"phantom\")!==-1,s=t.search(\"android [23]\")!==-1,o=\"undefined\"!=typeof orientation,r=navigator.msPointerEnabled&&navigator.msMaxTouchPoints&&!window.PointerEvent,l=window.PointerEvent&&navigator.pointerEnabled&&navigator.maxTouchPoints||r,h=i&&\"transition\"in e.style,d=\"WebKitCSSMatrix\"in window&&\"m11\"in new window.WebKitCSSMatrix&&!s,c=\"MozPerspective\"in e.style,u=\"OTransition\"in e.style,m=(window.opera,\"devicePixelRatio\"in window&&window.devicePixelRatio>1);if(!m&&\"matchMedia\"in window){var _=window.matchMedia(\"(min-resolution:144dpi)\");m=_&&_.matches}var f=!window.L_NO_TOUCH&&!a&&(l||\"ontouchstart\"in window||window.DocumentTouch&&document instanceof window.DocumentTouch);TL.Browser={ie:i,ua:t,ie9:Boolean(i&&t.match(/MSIE 9/i)),ielt9:i&&!document.addEventListener,webkit:n,firefox:t.indexOf(\"gecko\")!==-1&&!n&&!window.opera&&!i,android:t.indexOf(\"android\")!==-1,android23:s,chrome:t.indexOf(\"chrome\")!==-1,edge:t.indexOf(\"edge/\")!==-1,ie3d:h,webkit3d:d,gecko3d:c,opera3d:u,any3d:!window.L_DISABLE_3D&&(h||d||c||u)&&!a,mobile:o,mobileWebkit:o&&n,mobileWebkit3d:o&&d,mobileOpera:o&&window.opera,touch:!!f,msPointer:!!r,pointer:!!l,retina:!!m,orientation:function(){var t=window.innerWidth,e=window.innerHeight,i=\"portrait\";return t>e&&(i=\"landscape\"),90==Math.abs(window.orientation),trace(i),i}}}(),TL.Load=function(t){function e(t){var e=0,n=!1;for(e=0;e<i.length;e++)i[e]==t&&(n=!0);return!!n||(i.push(t),!1)}var i=[];return{css:function(t,i,n,a){e(t)?i():TL.LoadIt.css(t,i,n,a)},js:function(t,i,n,a){e(t)?i():TL.LoadIt.js(t,i,n,a)}}}(this.document),TL.LoadIt=function(t){function e(e,i){var n,a=t.createElement(e);for(n in i)i.hasOwnProperty(n)&&a.setAttribute(n,i[n]);return a}function i(t){var e,i,n=h[t];n&&(e=n.callback,i=n.urls,i.shift(),d=0,i.length||(e&&e.call(n.context,n.obj),h[t]=null,c[t].length&&a(t)))}function n(){var e=navigator.userAgent;r={async:t.createElement(\"script\").async===!0},(r.webkit=/AppleWebKit\\//.test(e))||(r.ie=/MSIE/.test(e))||(r.opera=/Opera/.test(e))||(r.gecko=/Gecko\\//.test(e))||(r.unknown=!0)}function a(a,d,u,m,_){var f,p,g,v,y,T,L=function(){i(a)},w=\"css\"===a,b=[];if(r||n(),d)if(d=\"string\"==typeof d?[d]:d.concat(),w||r.async||r.gecko||r.opera)c[a].push({urls:d,callback:u,obj:m,context:_});else for(f=0,p=d.length;f<p;++f)c[a].push({urls:[d[f]],callback:f===p-1?u:null,obj:m,context:_});if(!h[a]&&(v=h[a]=c[a].shift())){for(l||(l=t.head||t.getElementsByTagName(\"head\")[0]),y=v.urls,f=0,p=y.length;f<p;++f)T=y[f],w?g=r.gecko?e(\"style\"):e(\"link\",{href:T,rel:\"stylesheet\"}):(g=e(\"script\",{src:T}),g.async=!1),g.className=\"lazyload\",g.setAttribute(\"charset\",\"utf-8\"),r.ie&&!w?g.onreadystatechange=function(){/loaded|complete/.test(g.readyState)&&(g.onreadystatechange=null,L())}:w&&(r.gecko||r.webkit)?r.webkit?(v.urls[f]=g.href,o()):(g.innerHTML='@import \"'+T+'\";',s(g)):g.onload=g.onerror=L,b.push(g);for(f=0,p=b.length;f<p;++f)l.appendChild(b[f])}}function s(t){var e;try{e=!!t.sheet.cssRules}catch(n){return d+=1,void(d<200?setTimeout(function(){s(t)},50):e&&i(\"css\"))}i(\"css\")}function o(){var t,e=h.css;if(e){for(t=u.length;--t>=0;)if(u[t].href===e.urls[0]){i(\"css\");break}d+=1,e&&(d<200?setTimeout(o,50):i(\"css\"))}}var r,l,h={},d=0,c={css:[],js:[]},u=t.styleSheets;return{css:function(t,e,i,n){a(\"css\",t,e,i,n)},js:function(t,e,i,n){a(\"js\",t,e,i,n)}}}(this.document),TL.TimelineConfig=TL.Class.extend({includes:[],initialize:function(t){if(this.title=\"\",this.scale=\"\",this.events=[],this.eras=[],this.event_dict={},this.messages={errors:[],warnings:[]},\"object\"==typeof t&&t.events){if(this.scale=t.scale,this.events=[],this._ensureValidScale(t.events),t.title){var e=this._assignID(t.title);this._tidyFields(t.title),this.title=t.title,this.event_dict[e]=this.title}for(var i=0;i<t.events.length;i++)try{this.addEvent(t.events[i],!0)}catch(t){this.logError(t)}if(t.eras)for(var i=0;i<t.eras.length;i++)try{this.addEra(t.eras[i],!0)}catch(t){this.logError(\"Era \"+i+\": \"+t)}TL.DateUtil.sortByDate(this.events),TL.DateUtil.sortByDate(this.eras)}},logError:function(t){trace(t),this.messages.errors.push(t)},getErrors:function(t){return t?this.messages.errors.join(t):this.messages.errors},validate:function(){\"undefined\"!=typeof this.events&&\"undefined\"!=typeof this.events.length&&0!=this.events.length||this.logError(\"Timeline configuration has no events.\");for(var t=0;t<this.eras.length;t++)if(\"undefined\"==typeof this.eras[t].start_date||\"undefined\"==typeof this.eras[t].end_date){var e;e=this.eras[t].text&&this.eras[t].text.headline?this.eras[t].text.headline:\"era \"+(t+1),this.logError(\"All eras must have start and end dates. [\"+e+\"]\")}},isValid:function(){return 0==this.messages.errors.length},addEvent:function(t,e){var i=this._assignID(t);if(\"undefined\"==typeof t.start_date)throw new TL.Error(\"missing_start_date_err\",i);return this._processDates(t),this._tidyFields(t),this.events.push(t),this.event_dict[i]=t,e||TL.DateUtil.sortByDate(this.events),i},addEra:function(t,e){var i=this._assignID(t);if(\"undefined\"==typeof t.start_date)throw new TL.Error(\"missing_start_date_err\",i);return this._processDates(t),this._tidyFields(t),this.eras.push(t),this.event_dict[i]=t,e||TL.DateUtil.sortByDate(this.eras),i},_assignID:function(t){var e=t.unique_id;return TL.Util.trim(e)||(e=t.text?TL.Util.slugify(t.text.headline):null),t.unique_id=TL.Util.ensureUniqueKey(this.event_dict,e),t.unique_id},_makeUniqueIdentifiers:function(t,e){for(var i=[t],n=0;n<e.length;n++)TL.Util.trim(e[n].unique_id)&&(e[n].unique_id=TL.Util.slugify(e[n].unique_id),i.indexOf(e[n].unique_id)==-1?i.push(e[n].unique_id):e[n].unique_id=\"\");if(i.length!=e.length+1)for(var n=0;n<e.length;n++)if(!e[n].unique_id){var a=e[n].text?TL.Util.slugify(e[n].text.headline):null;a||(a=TL.Util.unique_ID(6)),i.indexOf(a)!=-1&&(a=a+\"-\"+n),i.push(a),e[n].unique_id=a}},_ensureValidScale:function(t){if(!this.scale){trace(\"Determining scale dynamically\"),this.scale=\"human\";for(var e=0;e<t.length;e++){if(\"cosmological\"==t[e].scale){this.scale=\"cosmological\";break}if(t[e].start_date&&\"undefined\"!=typeof t[e].start_date.year){var i=new TL.BigDate(t[e].start_date),n=i.data.date_obj.year;if(n<-271820||n>275759){this.scale=\"cosmological\";break}}}}var a=TL.DateUtil.SCALE_DATE_CLASSES[this.scale];a||this.logError(\"Don't know how to process dates on scale \"+this.scale)},_processDates:function(t){var e=TL.DateUtil.SCALE_DATE_CLASSES[this.scale];if(!(t.start_date instanceof e)){var i=t.start_date;if(t.start_date=new e(i),\"undefined\"!=typeof t.end_date&&!(t.end_date instanceof e)){var n=t.end_date,a=!0;for(property in i)a=a&&i[property]==n[property];a?(trace(\"End date same as start date is redundant; dropping end date\"),delete t.end_date):t.end_date=new e(n)}}},getEarliestDate:function(){var t=this.events[0].start_date;return this.eras&&this.eras.length>0&&this.eras[0].start_date.isBefore(t)?this.eras[0].start_date:t},getLatestDate:function(){for(var t=[],e=0;e<this.events.length;e++)this.events[e].end_date?t.push({date:this.events[e].end_date}):t.push({date:this.events[e].start_date});for(var e=0;e<this.eras.length;e++)this.eras[e].end_date?t.push({date:this.eras[e].end_date}):t.push({date:this.eras[e].start_date});return TL.DateUtil.sortByDate(t,\"date\"),t.slice(-1)[0].date},_tidyFields:function(t){function e(t,e,i){i||(i=\"\"),t.hasOwnProperty(e)||(t[e]=i)}t.group&&(t.group=TL.Util.trim(t.group)),t.text||(t.text={}),e(t.text,\"text\"),e(t.text,\"headline\")}}),function(t){function e(t){parts={key:null,worksheet:0};var e=/\\bkey=([-_A-Za-z0-9]+)&?/i,i=/docs.google.com\\/spreadsheets(.*?)\\/d\\//;if(t.match(e))parts.key=t.match(e)[1];else if(t.match(i)){var n=t.search(i)+t.match(i)[0].length,a=t.substr(n);parts.key=a.split(\"/\")[0],t.match(/\\?gid=(\\d+)/)&&(parts.worksheet=t.match(/\\?gid=(\\d+)/)[1])}else t.match(/^\\b[-_A-Za-z0-9]+$/)&&(parts.key=t);return parts.key?parts:null}function i(e){var i={};for(k in e)0==k.indexOf(\"gsx$\")&&(i[k.substr(4)]=e[k].$t);if(t.Util.isEmptyObject(i))return null;var n={media:{caption:i.mediacaption||\"\",credit:i.mediacredit||\"\",url:i.media||\"\",thumbnail:i.mediathumbnail||\"\"},text:{headline:i.headline||\"\",text:i.text||\"\"},group:i.tag||\"\",type:i.type||\"\"};return i.startdate&&(n.start_date=t.Date.parseDate(i.startdate)),i.enddate&&(n.end_date=t.Date.parseDate(i.enddate)),n}function n(e){function i(t){if(t)return t.replace(/[\\s,]+/g,\"\")}var n={};for(k in e)0==k.indexOf(\"gsx$\")&&(n[k.substr(4)]=t.Util.trim(e[k].$t));if(t.Util.isEmptyObject(n))return null;var a={media:{caption:n.mediacaption||\"\",credit:n.mediacredit||\"\",url:n.media||\"\",thumbnail:n.mediathumbnail||\"\"},text:{headline:n.headline||\"\",text:n.text||\"\"},start_date:{year:i(n.year),month:i(n.month)||\"\",day:i(n.day)||\"\"},end_date:{year:i(n.endyear)||\"\",month:i(n.endmonth)||\"\",day:i(n.endday)||\"\"},display_date:n.displaydate||\"\",type:n.type||\"\"};if(n.time&&t.Util.mergeData(a.start_date,t.DateUtil.parseTime(n.time)),n.endtime&&t.Util.mergeData(a.end_date,t.DateUtil.parseTime(n.endtime)),n.group&&(a.group=n.group),\"\"==a.end_date.year){var s=a.end_date;if(delete a.end_date,\"\"!=s.month||\"\"!=s.day||\"\"!=s.time){a.text.headline||trace(\"Invalid end date for spreadsheet row. Must have a year if any other date fields are specified.\");trace(e)}}return n.background&&(n.background.match(/^(https?:)?\\/\\/?/)?a.background={url:n.background}:a.background={color:n.background}),a}var a=function(e){if(\"undefined\"==typeof e.feed.entry||0==e.feed.entry.length)throw new t.Error(\"empty_feed_err\");var a=e.feed.entry[0];if(\"undefined\"!=typeof a.gsx$startdate)return i;if(\"undefined\"!=typeof a.gsx$year){return n}throw new t.Error(\"invalid_data_format_err\")},s=function(t){return\"https://spreadsheets.google.com/feeds/list/\"+t.key+\"/1/public/values?alt=json\"},o=function(i){var i=s(e(i)),n=t.ajax({url:i,async:!1});return n=JSON.parse(n.responseText),r(n)},r=function(t){for(var e={events:[],errors:[],warnings:[],eras:[]},i=a(t),n=0;n<t.feed.entry.length;n++)try{var s=i(t.feed.entry[n]);if(s){var o=\"event\";\"undefined\"!=typeof s.type&&(o=s.type,delete s.type),\"title\"==o?e.title?(e.warnings.push(\"Multiple title slides detected.\"),e.events.push(s)):e.title=s:\"era\"==o?e.eras.push(s):e.events.push(s)}}catch(t){t.message&&(t=t.message),e.errors.push(t+\" [\"+n+\"]\")}return e},l=function(i,n){var a,s=e(i);if(s){try{var r=o(i)}catch(e){return a=new t.TimelineConfig,\"NetworkError\"==e.name?a.logError(new t.Error(\"network_err\")):\"TL.Error\"==e.name?a.logError(e):a.logError(new t.Error(\"unknown_read_err\",e.name)),void n(a)}if(a=new t.TimelineConfig(r),r.errors)for(var l=0;l<r.errors.length;l++)a.logError(r.errors[l]);n(a)}else t.ajax({url:i,dataType:\"json\",success:function(e){try{a=new t.TimelineConfig(e)}catch(e){a=new t.TimelineConfig,a.logError(e)}n(a)},error:function(e,i,s){if(a=new t.TimelineConfig,\"parsererror\"==i)var s=new t.Error(\"invalid_url_err\");else var s=new t.Error(\"unknown_read_err\",i);a.logError(s),n(a)}})};t.ConfigFactory={parseGoogleSpreadsheetURL:e,googleFeedJSONtoTimelineJSON:r,fromGoogle:function(t){return console.warn(\"TL.ConfigFactory.fromGoogle is deprecated and will be removed soon. Use TL.ConfigFactory.makeConfig(url,callback)\"),o(t)},makeConfig:l}}(TL),TL.Language=function(t){for(k in TL.Language.languages.en)this[k]=TL.Language.languages.en[k];if(t&&t.language&&\"string\"==typeof t.language&&\"en\"!=t.language){var e=t.language;if(!(e in TL.Language.languages)){if(/\\.json$/.test(e))var i=e;else{var n=\"/locale/\"+e+\".json\",a=t.script_path||TL.Timeline.source_path;/\\/$/.test(a)&&(n=n.substr(1));var i=a+n}var s=TL.ajax({url:i,async:!1});if(200!=s.status)throw\"Could not load language [\"+e+\"]: \"+s.statusText;TL.Language.languages[e]=JSON.parse(s.responseText)}TL.Util.mergeData(this,TL.Language.languages[e])}},TL.Language.formatNumber=function(t,e){if(e.match(/%(\\.(\\d+))?f/)){var i=e.match(/%(\\.(\\d+))?f/),n=i[0];return i[2]&&(t=t.toFixed(i[2])),e.replace(n,t)}return e},TL.Language.prototype.mergeData=function(t){for(k in TL.Language.languages.en)t[k]&&(\"object\"==typeof this[k]?TL.Util.mergeData(t[k],this[k]):this[k]=t[k])},TL.Language.fallback={messages:{}},TL.Language.prototype.getMessage=function(t){return this.messages[t]||TL.Language.fallback.messages[t]||t},TL.Language.prototype._=TL.Language.prototype.getMessage,TL.Language.prototype.formatDate=function(t,e){return t.constructor==Date?this.formatJSDate(t,e):t.constructor==TL.BigYear?this.formatBigYear(t,e):t.data&&t.data.date_obj?this.formatDate(t.data.date_obj,e):(trace(\"Unfamiliar date presented for formatting\"),t.toString())},TL.Language.prototype.formatBigYear=function(t,e){var i=t.year,n=this.bigdateformats[e]||this.bigdateformats.fallback;if(n){for(var a=0;a<n.length;a++){var s=n[a];if(Math.abs(i/s[0])>1)return TL.Language.formatNumber(Math.abs(i/s[0]),s[1])}return i.toString()}return trace(\"Language file dateformats missing cosmological. Falling back.\"),TL.Language.formatNumber(i,e)},TL.Language.prototype.formatJSDate=function(t,e){var i=this,n=function(t,e){var n=i.period_labels[t];if(n)var t=e<12?n[0]:n[1];return\"<span class='tl-timeaxis-timesuffix'>\"+t+\"</span>\"},a=!1,s=/\\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\\d{4})?)\\b/g,o=/[^-+\\dA-Z]/g;e||(e=\"full\");var r=this.dateformats[e]||TL.Language.fallback.dateformats[e];r||(r=e);var l=a?\"getUTC\":\"get\",h=t[l+\"Date\"](),d=t[l+\"Day\"](),c=t[l+\"Month\"](),u=t[l+\"FullYear\"](),m=t[l+\"Hours\"](),_=t[l+\"Minutes\"](),f=t[l+\"Seconds\"](),p=t[l+\"Milliseconds\"](),g=a?0:t.getTimezoneOffset(),v={d:h,dd:TL.Util.pad(h),ddd:this.date.day_abbr[d],dddd:this.date.day[d],m:c+1,mm:TL.Util.pad(c+1),mmm:this.date.month_abbr[c],mmmm:this.date.month[c],yy:String(u).slice(2),yyyy:u<0&&this.has_negative_year_modifier()?Math.abs(u):u,h:m%12||12,hh:TL.Util.pad(m%12||12),H:m,HH:TL.Util.pad(m),M:_,MM:TL.Util.pad(_),s:f,ss:TL.Util.pad(f),l:TL.Util.pad(p,3),L:TL.Util.pad(p>99?Math.round(p/10):p),t:n(\"t\",m),tt:n(\"tt\",m),T:n(\"T\",m),TT:n(\"TT\",m),Z:a?\"UTC\":(String(t).match(s)||[\"\"]).pop().replace(o,\"\"),o:(g>0?\"-\":\"+\")+TL.Util.pad(100*Math.floor(Math.abs(g)/60)+Math.abs(g)%60,4),S:[\"th\",\"st\",\"nd\",\"rd\"][h%10>3?0:(h%100-h%10!=10)*h%10]},y=r.replace(TL.Language.DATE_FORMAT_TOKENS,function(t){return t in v?v[t]:t.slice(1,t.length-1)});return this._applyEra(y,u)},TL.Language.prototype.has_negative_year_modifier=function(){return Boolean(this.era_labels.negative_year.prefix||this.era_labels.negative_year.suffix)},TL.Language.prototype._applyEra=function(t,e){var i=e<0?this.era_labels.negative_year:this.era_labels.positive_year,n=\"\";return i.prefix&&(n+=\"<span>\"+i.prefix+\"</span> \"),n+=t,i.suffix&&(n+=\" <span>\"+i.suffix+\"</span>\"),n},TL.Language.DATE_FORMAT_TOKENS=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\\1?|[LloSZ]|\"[^\"]*\"|'[^']*'/g,TL.Language.languages={en:{name:\"English\",lang:\"en\",api:{wikipedia:\"en\"},messages:{loading:\"Loading\",wikipedia:\"From Wikipedia, the free encyclopedia\",error:\"Error\",contract_timeline:\"Contract Timeline\",return_to_title:\"Return to Title\",loading_content:\"Loading Content\",expand_timeline:\"Expand Timeline\",loading_timeline:\"Loading Timeline... \",swipe_to_navigate:\"Swipe to Navigate<br><span class='tl-button'>OK</span>\",unknown_read_err:\"An unexpected error occurred trying to read your spreadsheet data\",invalid_url_err:\"Unable to read Timeline data. Make sure your URL is for a Google Spreadsheet or a Timeline JSON file.\",network_err:\"Unable to read your Google Spreadsheet. Make sure you have published it to the web.\",empty_feed_err:\"No data entries found\",missing_start_date_err:\"Missing start_date\",invalid_data_format_err:\"Header row has been modified.\",date_compare_err:\"Can't compare TL.Dates on different scales\",invalid_scale_err:\"Invalid scale\",invalid_date_err:\"Invalid date: month, day and year must be numbers.\",invalid_separator_error:\"Invalid time: misuse of : or . as separator.\",invalid_hour_err:\"Invalid time (hour)\",invalid_minute_err:\"Invalid time (minute)\",invalid_second_err:\"Invalid time (second)\",invalid_fractional_err:\"Invalid time (fractional seconds)\",invalid_second_fractional_err:\"Invalid time (seconds and fractional seconds)\",invalid_year_err:\"Invalid year\",flickr_notfound_err:\"Photo not found or private\",flickr_invalidurl_err:\"Invalid Flickr URL\",imgur_invalidurl_err:\"Invalid Imgur URL\",twitter_invalidurl_err:\"Invalid Twitter URL\",twitter_load_err:\"Unable to load Tweet\",twitterembed_invalidurl_err:\"Invalid Twitter Embed url\",wikipedia_load_err:\"Unable to load Wikipedia entry\",youtube_invalidurl_err:\"Invalid YouTube URL\",spotify_invalid_url:\"Invalid Spotify URL\",template_value_err:\"No value provided for variable\",invalid_rgb_err:\"Invalid RGB argument\",time_scale_scale_err:\"Don't know how to get date from time for scale\",axis_helper_no_options_err:\"Axis helper must be configured with options\",axis_helper_scale_err:\"No AxisHelper available for scale\",invalid_integer_option:\"Invalid option value—must be a whole number.\"},date:{month:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],month_abbr:[\"Jan.\",\"Feb.\",\"March\",\"April\",\"May\",\"June\",\"July\",\"Aug.\",\"Sept.\",\"Oct.\",\"Nov.\",\"Dec.\"],day:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],day_abbr:[\"Sun.\",\"Mon.\",\"Tues.\",\"Wed.\",\"Thurs.\",\"Fri.\",\"Sat.\"]},era_labels:{positive_year:{prefix:\"\",suffix:\"\"},negative_year:{prefix:\"\",suffix:\"BCE\"}},period_labels:{t:[\"a\",\"p\"],tt:[\"am\",\"pm\"],T:[\"A\",\"P\"],TT:[\"AM\",\"PM\"]},dateformats:{year:\"yyyy\",month_short:\"mmm\",month:\"mmmm yyyy\",full_short:\"mmm d\",full:\"mmmm d',' yyyy\",time:\"h:MM:ss TT' <small>'mmmm d',' yyyy'</small>'\",time_short:\"h:MM:ss TT\",time_no_seconds_short:\"h:MM TT\",time_no_minutes_short:\"h TT\",time_no_seconds_small_date:\"h:MM TT' <small>'mmmm d',' yyyy'</small>'\",time_milliseconds:\"l\",full_long:\"mmm d',' yyyy 'at' h:MM TT\",full_long_small_date:\"h:MM TT' <small>mmm d',' yyyy'</small>'\"},bigdateformats:{fallback:[[1e9,\"%.2f billion years ago\"],[1e6,\"%.1f million years ago\"],[1e3,\"%.1f thousand years ago\"],[1,\"%f years ago\"]],compact:[[1e9,\"%.2f bya\"],[1e6,\"%.1f mya\"],[1e3,\"%.1f kya\"],[1,\"%f years ago\"]],verbose:[[1e9,\"%.2f billion years ago\"],[1e6,\"%.1f million years ago\"],[1e3,\"%.1f thousand years ago\"],[1,\"%f years ago\"]]}}},TL.Language.fallback=new TL.Language,TL.I18NMixins={getLanguage:function(){return this.options&&this.options.language?this.options.language:(trace(\"Expected a language option\"),TL.Language.fallback)},_:function(t){return this.getLanguage()._(t)}},TL.Easings={ease:[.25,.1,.25,1],linear:[0,0,1,1],easein:[.42,0,1,1],easeout:[0,0,.58,1],easeinout:[.42,0,.58,1]},TL.Ease={KeySpline:function(t){function e(t,e){return 1-3*e+3*t}function i(t,e){return 3*e-6*t}function n(t){return 3*t}function a(t,a,s){return((e(a,s)*t+i(a,s))*t+n(a))*t}function s(t,a,s){return 3*e(a,s)*t*t+2*i(a,s)*t+n(a)}function o(e){for(var i=e,n=0;n<4;++n){var o=s(i,t[0],t[2]);if(0==o)return i;var r=a(i,t[0],t[2])-e;i-=r/o}return i}this.get=function(e){return t[0]==t[1]&&t[2]==t[3]?e:a(o(e),t[1],t[3])}},easeInSpline:function(t){var e=new TL.Ease.KeySpline(TL.Easings.easein);return e.get(t)},easeInOutExpo:function(t){var e=new TL.Ease.KeySpline(TL.Easings.easein);return e.get(t)},easeOut:function(t){return Math.sin(t*Math.PI/2)},easeOutStrong:function(t){return 1==t?1:1-Math.pow(2,-10*t)},easeIn:function(t){return t*t},easeInStrong:function(t){return 0==t?0:Math.pow(2,10*(t-1))},easeOutBounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInBack:function(t){var e=1.70158;return t*t*((e+1)*t-e)},easeOutBack:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},bounce:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bouncePast:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?2-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?2-(7.5625*(t-=2.25/2.75)*t+.9375):2-(7.5625*(t-=2.625/2.75)*t+.984375)},swingTo:function(t){var e=1.70158;return(t-=1)*t*((e+1)*t+e)+1},swingFrom:function(t){var e=1.70158;return t*t*((e+1)*t-e)},elastic:function(t){return-1*Math.pow(4,-8*t)*Math.sin((6*t-1)*(2*Math.PI)/2)+1},spring:function(t){return 1-Math.cos(4.5*t*Math.PI)*Math.exp(6*-t)},blink:function(t,e){return Math.round(t*(e||5))%2},pulse:function(t,e){return-Math.cos(t*((e||5)-.5)*2*Math.PI)/2+.5},wobble:function(t){return-Math.cos(t*Math.PI*(9*t))/2+.5},sinusoidal:function(t){return-Math.cos(t*Math.PI)/2+.5},flicker:function(t){var t=t+(Math.random()-.5)/5;return easings.sinusoidal(t<0?0:t>1?1:t)},mirror:function(t){return t<.5?easings.sinusoidal(2*t):easings.sinusoidal(1-2*(t-.5))},easeInQuad:function(t){return t*t},easeOutQuad:function(t){return t*(2-t)},easeInOutQuad:function(t){return t<.5?2*t*t:-1+(4-2*t)*t},easeInCubic:function(t){return t*t*t},easeOutCubic:function(t){return--t*t*t+1},easeInOutCubic:function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},easeInQuart:function(t){return t*t*t*t},easeOutQuart:function(t){return 1- --t*t*t*t},easeInOutQuart:function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},easeInQuint:function(t){return t*t*t*t*t},easeOutQuint:function(t){return 1+--t*t*t*t*t},easeInOutQuint:function(t){return t<.5?16*t*t*t*t*t:1+16*--t*t*t*t*t}},TL.Animate=function(t,e){var i=new tlanimate(t,e);return i},window.tlanimate=function(){function t(t,e,i){if(Array.prototype.indexOf)return t.indexOf(e);for(i=0;i<t.length;++i)if(t[i]===e)return i}function e(t){var i,n=P.length;for(T&&t>1e12&&(t=L()),b&&(t=L()),i=n;i--;)P[i](t);P.length&&O(e)}function i(t){1===P.push(t)&&O(e)}function n(e){var i,n=t(P,e);n>=0&&(i=P.slice(n+1),P.length=n,P=P.concat(i))}function a(t,e){var i,n={};return(i=t.match(E))&&(n.rotate=f(i[1],e?e.rotate:null)),(i=t.match(S))&&(n.scale=f(i[1],e?e.scale:null)),(i=t.match(C))&&(n.skewx=f(i[1],e?e.skewx:null),n.skewy=f(i[3],e?e.skewy:null)),(i=t.match(N))&&(n.translatex=f(i[1],e?e.translatex:null),n.translatey=f(i[3],e?e.translatey:null)),n}function s(t){var e=\"\";return\"rotate\"in t&&(e+=\"rotate(\"+t.rotate+\"deg) \"),\"scale\"in t&&(e+=\"scale(\"+t.scale+\") \"),\"translatex\"in t&&(e+=\"translate(\"+t.translatex+\"px,\"+t.translatey+\"px) \"),\"skewx\"in t&&(e+=\"skew(\"+t.skewx+\"deg,\"+t.skewy+\"deg)\"),e}function o(t,e,i){return\"#\"+(1<<24|t<<16|e<<8|i).toString(16).slice(1)}function r(t){var e=t.match(/rgba?\\((\\d+),\\s*(\\d+),\\s*(\\d+)/);return(e?o(e[1],e[2],e[3]):t).replace(/#(\\w)(\\w)(\\w)$/,\"#$1$1$2$2$3$3\")}function l(t){return t.replace(/-(.)/g,function(t,e){return e.toUpperCase()})}function h(t){return\"function\"==typeof t}function d(t){return Math.sin(t*Math.PI/2)}function c(t,e,a,s,o,r){function l(t){var i=t-_;return i>c||f?(r=isFinite(r)?r:1,f?g&&e(r):e(r),n(l),a&&a.apply(u)):void e(isFinite(r)?m*s(i/c)+o:s(i/c))}s=h(s)?s:p.easings[s]||d;var c=t||x,u=this,m=r-o,_=L(),f=0,g=0;return i(l),{stop:function(t){f=1,g=t,t||(a=null)}}}function u(t,e){var i,n,a=t.length,s=[];for(i=0;i<a;++i)s[i]=[t[i][0],t[i][1]];for(n=1;n<a;++n)for(i=0;i<a-n;++i)s[i][0]=(1-e)*s[i][0]+e*s[parseInt(i+1,10)][0],s[i][1]=(1-e)*s[i][1]+e*s[parseInt(i+1,10)][1];return[s[0][0],s[0][1]]}function m(t,e,i){var n,a,s,o,r=[];for(n=0;n<6;n++)s=Math.min(15,parseInt(e.charAt(n),16)),o=Math.min(15,parseInt(i.charAt(n),16)),a=Math.floor((o-s)*t+s),a=a>15?15:a<0?0:a,r[n]=a.toString(16);return\"#\"+r.join(\"\")}function _(t,e,i,n,a,s,o){if(\"transform\"==a){o={};for(var r in i[s][a])o[r]=r in n[s][a]?Math.round(((n[s][a][r]-i[s][a][r])*t+i[s][a][r])*x)/x:i[s][a][r];return o}return\"string\"==typeof i[s][a]?m(t,i[s][a],n[s][a]):(o=Math.round(((n[s][a]-i[s][a])*t+i[s][a])*x)/x,a in I||(o+=e[s][a]||\"px\"),o)}function f(t,e,i,n,a){return(i=D.exec(t))?(a=parseFloat(i[2]))&&e+(\"+\"==i[1]?1:-1)*a:parseFloat(t)}function p(t,e){var i,n,o,d=t?d=isFinite(t.length)?t:[t]:[],m=e.complete,p=e.duration,g=e.easing,v=e.bezier,y=[],T=[],L=[],w=[];for(v&&(n=e.left,o=e.top,delete e.right,delete e.bottom,delete e.left,delete e.top),i=d.length;i--;){if(y[i]={},T[i]={},L[i]={},v){var b=j(d[i],\"left\"),x=j(d[i],\"top\"),D=[f(h(n)?n(d[i]):n||0,parseFloat(b)),f(h(o)?o(d[i]):o||0,parseFloat(x))];w[i]=h(v)?v(d[i],D):v,w[i].push(D),w[i].unshift([parseInt(b,10),parseInt(x,10)])}for(var E in e){switch(E){case\"complete\":case\"duration\":case\"easing\":case\"bezier\":continue}var S,C=j(d[i],E),N=h(e[E])?e[E](d[i]):e[E];\"string\"!=typeof N||!k.test(N)||k.test(C)?(y[i][E]=\"transform\"==E?a(C):\"string\"==typeof N&&k.test(N)?r(C).slice(1):parseFloat(C),T[i][E]=\"transform\"==E?a(N,y[i][E]):\"string\"==typeof N&&\"#\"==N.charAt(0)?r(N).slice(1):f(N,parseFloat(C)),\"string\"==typeof N&&(S=N.match(M))&&(L[i][E]=S[1])):delete e[E]}}return c.apply(d,[p,function(t,n,a){for(i=d.length;i--;){v&&(a=u(w[i],t),d[i].style.left=a[0]+\"px\",d[i].style.top=a[1]+\"px\");for(var o in e)n=_(t,L,y,T,o,i),\"transform\"==o?d[i].style[U]=s(n):\"opacity\"!=o||A?d[i].style[l(o)]=n:d[i].style.filter=\"alpha(opacity=\"+100*n+\")\"}},m,g])}var g=document,v=window,y=v.performance,T=y&&(y.now||y.webkitNow||y.msNow||y.mozNow),L=T?function(){return T.call(y)}:function(){return+new Date},w=g.documentElement,b=!1,x=1e3,k=/^rgb\\(|#/,D=/^([+\\-])=([\\d\\.]+)/,M=/^(?:[\\+\\-]=?)?\\d+(?:\\.\\d+)?(%|in|cm|mm|em|ex|pt|pc|px)$/,E=/rotate\\(((?:[+\\-]=)?([\\-\\d\\.]+))deg\\)/,S=/scale\\(((?:[+\\-]=)?([\\d\\.]+))\\)/,C=/skew\\(((?:[+\\-]=)?([\\-\\d\\.]+))deg, ?((?:[+\\-]=)?([\\-\\d\\.]+))deg\\)/,N=/translate\\(((?:[+\\-]=)?([\\-\\d\\.]+))px, ?((?:[+\\-]=)?([\\-\\d\\.]+))px\\)/,I={lineHeight:1,zoom:1,zIndex:1,opacity:1,transform:1},U=function(){var t,e=g.createElement(\"a\").style,i=[\"webkitTransform\",\"MozTransform\",\"OTransform\",\"msTransform\",\"Transform\"];for(t=0;t<i.length;t++)if(i[t]in e)return i[t]}(),A=function(){return\"undefined\"!=typeof g.createElement(\"a\").style.opacity}(),j=g.defaultView&&g.defaultView.getComputedStyle?function(t,e){e=\"transform\"==e?U:e,e=l(e);var i=null,n=g.defaultView.getComputedStyle(t,\"\");return n&&(i=n[e]),t.style[e]||i}:w.currentStyle?function(t,e){if(e=l(e),\"opacity\"==e){var i=100;try{i=t.filters[\"DXImageTransform.Microsoft.Alpha\"].opacity}catch(e){try{i=t.filters(\"alpha\").opacity}catch(t){}}return i/100}var n=t.currentStyle?t.currentStyle[e]:null;return t.style[e]||n}:function(t,e){return t.style[l(e)]},O=function(){return v.requestAnimationFrame||v.webkitRequestAnimationFrame||v.mozRequestAnimationFrame||v.msRequestAnimationFrame||v.oRequestAnimationFrame||function(t){v.setTimeout(function(){t(+new Date)},17)}}(),P=[];return O(function(t){b=t>1e12!=L()>1e12}),p.tween=c,p.getStyle=j,p.bezier=u,p.transform=U,p.parseTransform=a,p.formatTransform=s,p.easings={},p}(),TL.Point=function(t,e,i){this.x=i?Math.round(t):t,this.y=i?Math.round(e):e},TL.Point.prototype={add:function(t){return this.clone()._add(t)},_add:function(t){return this.x+=t.x,this.y+=t.y,this},subtract:function(t){return this.clone()._subtract(t)},_subtract:function(t){return this.x-=t.x,this.y-=t.y,this},divideBy:function(t,e){return new TL.Point(this.x/t,this.y/t,e)},multiplyBy:function(t){return new TL.Point(this.x*t,this.y*t)},distanceTo:function(t){var e=t.x-this.x,i=t.y-this.y;return Math.sqrt(e*e+i*i)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},clone:function(){return new TL.Point(this.x,this.y)},toString:function(){return\"Point(\"+TL.Util.formatNum(this.x)+\", \"+TL.Util.formatNum(this.y)+\")\"}},TL.DomMixins={show:function(t){t||(this._el.container.style.display=\"block\")},hide:function(t){\nthis._el.container.style.display=\"none\"},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},animatePosition:function(t,e){var i={duration:this.options.duration,easing:this.options.ease};for(var n in t)t.hasOwnProperty(n)&&(i[n]=t[n]+\"px\");this.animator&&this.animator.stop(),this.animator=TL.Animate(e,i)},onLoaded:function(){this.fire(\"loaded\",this.data)},onAdd:function(){this.fire(\"added\",this.data)},onRemove:function(){this.fire(\"removed\",this.data)},setPosition:function(t,e){for(var i in t)t.hasOwnProperty(i)&&(e?e.style[i]=t[i]+\"px\":this._el.container.style[i]=t[i]+\"px\")},getPosition:function(){return TL.Dom.getPosition(this._el.container)}},TL.Dom={get:function(t){return\"string\"==typeof t?document.getElementById(t):t},getByClass:function(t){if(t)return document.getElementsByClassName(t)},create:function(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n},createText:function(t,e){var i=document.createTextNode(t);return e&&e.appendChild(i),i},getTranslateString:function(t){return TL.Dom.TRANSLATE_OPEN+t.x+\"px,\"+t.y+\"px\"+TL.Dom.TRANSLATE_CLOSE},setPosition:function(t,e){t._tl_pos=e,TL.Browser.webkit3d?(t.style[TL.Dom.TRANSFORM]=TL.Dom.getTranslateString(e),TL.Browser.android&&(t.style[\"-webkit-perspective\"]=\"1000\",t.style[\"-webkit-backface-visibility\"]=\"hidden\")):(t.style.left=e.x+\"px\",t.style.top=e.y+\"px\")},getPosition:function(t){for(var e={x:0,y:0};t&&!isNaN(t.offsetLeft)&&!isNaN(t.offsetTop);)e.x+=t.offsetLeft,e.y+=t.offsetTop,t=t.offsetParent;return e},testProp:function(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1}},TL.Util.mergeData(TL.Dom,{TRANSITION:TL.Dom.testProp([\"transition\",\"webkitTransition\",\"OTransition\",\"MozTransition\",\"msTransition\"]),TRANSFORM:TL.Dom.testProp([\"transformProperty\",\"WebkitTransform\",\"OTransform\",\"MozTransform\",\"msTransform\"]),TRANSLATE_OPEN:\"translate\"+(TL.Browser.webkit3d?\"3d(\":\"(\"),TRANSLATE_CLOSE:TL.Browser.webkit3d?\",0)\":\")\"}),TL.DomUtil={get:function(t){return\"string\"==typeof t?document.getElementById(t):t},getStyle:function(t,e){var i=t.style[e];if(!i&&t.currentStyle&&(i=t.currentStyle[e]),!i||\"auto\"===i){var n=document.defaultView.getComputedStyle(t,null);i=n?n[e]:null}return\"auto\"===i?null:i},getViewportOffset:function(t){var e=0,i=0,n=t,a=document.body;do{if(e+=n.offsetTop||0,i+=n.offsetLeft||0,n.offsetParent===a&&\"absolute\"===TL.DomUtil.getStyle(n,\"position\"))break;n=n.offsetParent}while(n);n=t;do{if(n===a)break;e-=n.scrollTop||0,i-=n.scrollLeft||0,n=n.parentNode}while(n);return new TL.Point(i,e)},create:function(t,e,i){var n=document.createElement(t);return n.className=e,i&&i.appendChild(n),n},disableTextSelection:function(){document.selection&&document.selection.empty&&document.selection.empty(),this._onselectstart||(this._onselectstart=document.onselectstart,document.onselectstart=TL.Util.falseFn)},enableTextSelection:function(){document.onselectstart=this._onselectstart,this._onselectstart=null},hasClass:function(t,e){return t.className.length>0&&new RegExp(\"(^|\\\\s)\"+e+\"(\\\\s|$)\").test(t.className)},addClass:function(t,e){TL.DomUtil.hasClass(t,e)||(t.className+=(t.className?\" \":\"\")+e)},removeClass:function(t,e){t.className=t.className.replace(/(\\S+)\\s*/g,function(t,i){return i===e?\"\":t}).replace(/^\\s+/,\"\")},setOpacity:function(t,e){TL.Browser.ie?t.style.filter=\"alpha(opacity=\"+Math.round(100*e)+\")\":t.style.opacity=e},testProp:function(t){for(var e=document.documentElement.style,i=0;i<t.length;i++)if(t[i]in e)return t[i];return!1},getTranslateString:function(t){return TL.DomUtil.TRANSLATE_OPEN+t.x+\"px,\"+t.y+\"px\"+TL.DomUtil.TRANSLATE_CLOSE},getScaleString:function(t,e){var i=TL.DomUtil.getTranslateString(e),n=\" scale(\"+t+\") \",a=TL.DomUtil.getTranslateString(e.multiplyBy(-1));return i+n+a},setPosition:function(t,e){t._tl_pos=e,TL.Browser.webkit3d?(t.style[TL.DomUtil.TRANSFORM]=TL.DomUtil.getTranslateString(e),TL.Browser.android&&(t.style[\"-webkit-perspective\"]=\"1000\",t.style[\"-webkit-backface-visibility\"]=\"hidden\")):(t.style.left=e.x+\"px\",t.style.top=e.y+\"px\")},getPosition:function(t){return t._tl_pos}},TL.DomEvent={addListener:function(t,e,i,n){var a=TL.Util.stamp(i),s=\"_tl_\"+e+a;if(!t[s]){var o=function(e){return i.call(n||t,e||TL.DomEvent._getEvent())};if(TL.Browser.touch&&\"dblclick\"===e&&this.addDoubleTapListener)this.addDoubleTapListener(t,o,a);else if(\"addEventListener\"in t)if(\"mousewheel\"===e)t.addEventListener(\"DOMMouseScroll\",o,!1),t.addEventListener(e,o,!1);else if(\"mouseenter\"===e||\"mouseleave\"===e){var r=o,l=\"mouseenter\"===e?\"mouseover\":\"mouseout\";o=function(e){if(TL.DomEvent._checkMouse(t,e))return r(e)},t.addEventListener(l,o,!1)}else t.addEventListener(e,o,!1);else\"attachEvent\"in t&&t.attachEvent(\"on\"+e,o);t[s]=o}},removeListener:function(t,e,i){var n=TL.Util.stamp(i),a=\"_tl_\"+e+n,s=t[a];s&&(TL.Browser.touch&&\"dblclick\"===e&&this.removeDoubleTapListener?this.removeDoubleTapListener(t,n):\"removeEventListener\"in t?\"mousewheel\"===e?(t.removeEventListener(\"DOMMouseScroll\",s,!1),t.removeEventListener(e,s,!1)):\"mouseenter\"===e||\"mouseleave\"===e?t.removeEventListener(\"mouseenter\"===e?\"mouseover\":\"mouseout\",s,!1):t.removeEventListener(e,s,!1):\"detachEvent\"in t&&t.detachEvent(\"on\"+e,s),t[a]=null)},_checkMouse:function(t,e){var i=e.relatedTarget;if(!i)return!0;try{for(;i&&i!==t;)i=i.parentNode}catch(t){return!1}return i!==t},_getEvent:function(){var t=window.event;if(!t)for(var e=arguments.callee.caller;e&&(t=e.arguments[0],!t||window.Event!==t.constructor);)e=e.caller;return t},stopPropagation:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},disableClickPropagation:function(t){TL.DomEvent.addListener(t,TL.Draggable.START,TL.DomEvent.stopPropagation),TL.DomEvent.addListener(t,\"click\",TL.DomEvent.stopPropagation),TL.DomEvent.addListener(t,\"dblclick\",TL.DomEvent.stopPropagation)},preventDefault:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},stop:function(t){TL.DomEvent.preventDefault(t),TL.DomEvent.stopPropagation(t)},getWheelDelta:function(t){var e=0;return t.wheelDelta&&(e=t.wheelDelta/120),t.detail&&(e=-t.detail/3),e}},TL.StyleSheet=TL.Class.extend({includes:[TL.Events],_el:{},initialize:function(){this.style=document.createElement(\"style\"),this.style.appendChild(document.createTextNode(\"\")),document.head.appendChild(this.style),this.sheet=this.style.sheet},addRule:function(t,e,i){var n=0;i&&(n=i),\"insertRule\"in this.sheet?this.sheet.insertRule(t+\"{\"+e+\"}\",n):\"addRule\"in this.sheet&&this.sheet.addRule(t,e,n)},onLoaded:function(t){this._state.loaded=!0,this.fire(\"loaded\",this.data)}}),TL.Date=TL.Class.extend({initialize:function(t,e,i){\"number\"==typeof t?this.data={format:\"yyyy mmmm\",date_obj:new Date(t)}:Date==t.constructor?this.data={format:\"yyyy mmmm\",date_obj:t}:(this.data=JSON.parse(JSON.stringify(t)),this._createDateObj()),this._setFormat(e,i)},setDateFormat:function(t){this.data.format=t},getDisplayDate:function(t,e){if(this.data.display_date)return this.data.display_date;t||(t=TL.Language.fallback),t.constructor!=TL.Language&&(trace(\"First argument to getDisplayDate must be TL.Language\"),t=TL.Language.fallback);var i=e||this.data.format;return t.formatDate(this.data.date_obj,i)},getMillisecond:function(){return this.getTime()},getTime:function(){return this.data.date_obj.getTime()},isBefore:function(t){if(!this.data.date_obj.constructor==t.data.date_obj.constructor)throw new TL.Error(\"date_compare_err\");return\"isBefore\"in this.data.date_obj?this.data.date_obj.isBefore(t.data.date_obj):this.data.date_obj<t.data.date_obj},isAfter:function(t){if(!this.data.date_obj.constructor==t.data.date_obj.constructor)throw new TL.Error(\"date_compare_err\");return\"isAfter\"in this.data.date_obj?this.data.date_obj.isAfter(t.data.date_obj):this.data.date_obj>t.data.date_obj},floor:function(t){for(var e=new Date(this.data.date_obj.getTime()),i=0;i<TL.Date.SCALES.length;i++)if(TL.Date.SCALES[i][2](e),TL.Date.SCALES[i][0]==t)return new TL.Date(e);throw new TL.Error(\"invalid_scale_err\",t)},_getDateData:function(){var t={year:0,month:1,day:1,hour:0,minute:0,second:0,millisecond:0};TL.Util.mergeData(t,this.data);var e=TL.Date.DATE_PARTS;for(var i in e){var n=TL.Util.trim(t[e[i]]);if(!n.match(/^-?\\d*$/))throw new TL.Error(\"invalid_date_err\",e[i]+\" = '\"+t[e[i]]+\"'\");var a=parseInt(t[e[i]]);isNaN(a)&&(a=4==i||5==i?1:0),t[e[i]]=a}return t.month>0&&t.month<=12&&(t.month=t.month-1),t},_createDateObj:function(){var t=this._getDateData();this.data.date_obj=new Date(t.year,t.month,t.day,t.hour,t.minute,t.second,t.millisecond),this.data.date_obj.getFullYear()!=t.year&&this.data.date_obj.setFullYear(t.year)},findBestFormat:function(t){for(var e=TL.Date.DATE_PARTS,i=0;i<e.length;i++)if(this.data[e[i]])return t?t in TL.Date.BEST_DATEFORMATS||(t=\"short\"):t=\"base\",TL.Date.BEST_DATEFORMATS[t][e[i]];return\"\"},_setFormat:function(t,e){t?this.data.format=t:this.data.format||(this.data.format=this.findBestFormat()),e?this.data.format_short=e:this.data.format_short||(this.data.format_short=this.findBestFormat(!0))}}),TL.Date.makeDate=function(t){var e=new TL.Date(t);return isNaN(e.getTime())?new TL.BigDate(t):e},TL.BigYear=TL.Class.extend({initialize:function(t){if(this.year=parseInt(t),isNaN(this.year))throw new TL.Error(\"invalid_year_err\",t)},isBefore:function(t){return this.year<t.year},isAfter:function(t){return this.year>t.year},getTime:function(){return this.year}}),function(t){t.SCALES=[[\"millisecond\",1,function(t){}],[\"second\",1e3,function(t){t.setMilliseconds(0)}],[\"minute\",6e4,function(t){t.setSeconds(0)}],[\"hour\",36e5,function(t){t.setMinutes(0)}],[\"day\",864e5,function(t){t.setHours(0)}],[\"month\",2592e6,function(t){t.setDate(1)}],[\"year\",31536e6,function(t){t.setMonth(0)}],[\"decade\",31536e7,function(t){var e=t.getFullYear();t.setFullYear(e-e%10)}],[\"century\",31536e8,function(t){var e=t.getFullYear();t.setFullYear(e-e%100)}],[\"millennium\",31536e9,function(t){var e=t.getFullYear();t.setFullYear(e-e%1e3)}]],t.DATE_PARTS=[\"millisecond\",\"second\",\"minute\",\"hour\",\"day\",\"month\",\"year\"];var e=/^([\\+-]?\\d+?)(-\\d{2}?)?(-\\d{2}?)?$/,i=/^([\\+-]?\\d{4}(?!\\d{2}\\b))((-?)((0[1-9]|1[0-2])(\\3([12]\\d|0[1-9]|3[01]))?|W([0-4]\\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\\d|[12]\\d{2}|3([0-5]\\d|6[1-6])))([T\\s]((([01]\\d|2[0-3])((:?)[0-5]\\d)?|24\\:?00)([\\.,]\\d+(?!:))?)?(\\17[0-5]\\d([\\.,]\\d+)?)?([zZ]|([\\+-])([01]\\d|2[0-3]):?([0-5]\\d)?)?)?)?$/;t.parseISODate=function(t){var e=new Date(t);if(isNaN(e))throw new TL.Error(\"invalid_date_err\",t);return{year:e.getFullYear(),month:e.getMonth()+1,day:e.getDate(),hour:e.getHours(),minute:e.getMinutes(),second:e.getSeconds(),millisecond:e.getMilliseconds()}},t.parseDate=function(n){if(n.match(e)){var a=n.match(e).slice(1),s={year:a[0].replace(\"+\",\"\")};return a[1]&&(s.month=a[1].replace(\"-\",\"\")),a[2]&&(s.day=a[2].replace(\"-\",\"\")),s}if(n.match(i))return t.parseISODate(n);if(n.match(/^\\-?\\d+$/))return{year:n};var o={};if(n.match(/\\d+\\/\\d+\\/\\d+/)){var r=n.match(/\\d+\\/\\d+\\/\\d+/)[0];n=TL.Util.trim(n.replace(r,\"\"));var l=r.split(\"/\");o.month=l[0],o.day=l[1],o.year=l[2]}if(n.match(/\\d+\\/\\d+/)){var r=n.match(/\\d+\\/\\d+/)[0];n=TL.Util.trim(n.replace(r,\"\"));var l=r.split(\"/\");o.month=l[0],o.year=l[1]}if(n.match(\":\")){var h=n.split(\":\");o.hour=h[0],o.minute=h[1],h[2]&&(second_parts=h[2].split(\".\"),o.second=second_parts[0],o.millisecond=second_parts[1])}return o},t.BEST_DATEFORMATS={base:{millisecond:\"time_short\",second:\"time\",minute:\"time_no_seconds_small_date\",hour:\"time_no_seconds_small_date\",day:\"full\",month:\"month\",year:\"year\",decade:\"year\",century:\"year\",millennium:\"year\",age:\"fallback\",epoch:\"fallback\",era:\"fallback\",eon:\"fallback\",eon2:\"fallback\"},short:{millisecond:\"time_short\",second:\"time_short\",minute:\"time_no_seconds_short\",hour:\"time_no_minutes_short\",day:\"full_short\",month:\"month_short\",year:\"year\",decade:\"year\",century:\"year\",millennium:\"year\",age:\"fallback\",epoch:\"fallback\",era:\"fallback\",eon:\"fallback\",eon2:\"fallback\"}}}(TL.Date),TL.BigDate=TL.Date.extend({initialize:function(t,e,i){TL.BigYear==t.constructor?this.data={date_obj:t}:(this.data=JSON.parse(JSON.stringify(t)),this._createDateObj()),this._setFormat(e,i)},_createDateObj:function(){var t=this._getDateData();this.data.date_obj=new TL.BigYear(t.year)},floor:function(t){for(var e=0;e<TL.BigDate.SCALES.length;e++)if(TL.BigDate.SCALES[e][0]==t){var i=TL.BigDate.SCALES[e][2](this.data.date_obj);return new TL.BigDate(i)}throw new TL.Error(\"invalid_scale_err\",t)}}),function(t){var e=1e6,i=10*e,n=10*i,a=10*n,s=function(t){return function(e){var i=e.getTime();return new TL.BigYear(Math.floor(i/t)*t)}};t.SCALES=[[\"year\",1,new s(1)],[\"decade\",10,new s(10)],[\"century\",100,new s(100)],[\"millennium\",1e3,new s(1e3)],[\"age\",e,new s(e)],[\"epoch\",i,new s(i)],[\"era\",n,new s(n)],[\"eon\",a,new s(a)]]}(TL.BigDate),TL.DateUtil={get:function(t){return\"string\"==typeof t?document.getElementById(t):t},sortByDate:function(t,e){var e=e||\"start_date\";t.sort(function(t,i){return t[e].isBefore(i[e])?-1:t[e].isAfter(i[e])?1:0})},parseTime:function(t){var e={hour:null,minute:null,second:null,millisecond:null},i=null,n=t.match(/(\\s*[AaPp]\\.?[Mm]\\.?\\s*)$/);n&&(i=TL.Util.trim(n[0]),t=TL.Util.trim(t.substring(0,t.lastIndexOf(i))));var a=[],s=t.match(/^\\s*(\\d{1,2})(\\d{2})\\s*$/);if(s?a=s.slice(1):(a=t.split(\":\"),1==a.length&&(a=t.split(\".\"))),a.length>4)throw new TL.Error(\"invalid_separator_error\");if(e.hour=parseInt(a[0]),i&&\"p\"==i.toLowerCase()[0]&&12!=e.hour?e.hour+=12:i&&\"a\"==i.toLowerCase()[0]&&12==e.hour&&(e.hour=0),isNaN(e.hour)||e.hour<0||e.hour>23)throw new TL.Error(\"invalid_hour_err\",e.hour);if(a.length>1&&(e.minute=parseInt(a[1]),isNaN(e.minute)))throw new TL.Error(\"invalid_minute_err\",e.minute);if(a.length>2){var o=a[2].split(/[\\.,]/);if(a=o.concat(a.slice(3)),a.length>2)throw new TL.Error(\"invalid_second_fractional_err\");if(e.second=parseInt(a[0]),isNaN(e.second))throw new TL.Error(\"invalid_second_err\");if(2==a.length){var r=parseInt(a[1]);if(isNaN(r))throw new TL.Error(\"invalid_fractional_err\");e.millisecond=100*r}}return e},SCALE_DATE_CLASSES:{human:TL.Date,cosmological:TL.BigDate}},TL.Draggable=TL.Class.extend({includes:TL.Events,_el:{},mousedrag:{down:\"mousedown\",up:\"mouseup\",leave:\"mouseleave\",move:\"mousemove\"},touchdrag:{down:\"touchstart\",up:\"touchend\",leave:\"mouseleave\",move:\"touchmove\"},initialize:function(t,e,i){this._el={drag:t,move:t},i&&(this._el.move=i),this.options={enable:{x:!0,y:!0},constraint:{top:!1,bottom:!1,left:!1,right:!1},momentum_multiplier:2e3,duration:1e3,ease:TL.Ease.easeInOutQuint},this.animator=null,this.dragevent=this.mousedrag,TL.Browser.touch&&(this.dragevent=this.touchdrag),this.data={sliding:!1,direction:\"none\",pagex:{start:0,end:0},pagey:{start:0,end:0},pos:{start:{x:0,y:0},end:{x:0,y:0}},new_pos:{x:0,y:0},new_pos_parent:{x:0,y:0},time:{start:0,end:0},touch:!1},TL.Util.mergeData(this.options,e)},enable:function(t){this.data.pos.start=0,this._el.move.style.left=this.data.pos.start.x+\"px\",this._el.move.style.top=this.data.pos.start.y+\"px\",this._el.move.style.position=\"absolute\"},disable:function(){TL.DomEvent.removeListener(this._el.drag,this.dragevent.down,this._onDragStart,this),TL.DomEvent.removeListener(this._el.drag,this.dragevent.up,this._onDragEnd,this)},stopMomentum:function(){this.animator&&this.animator.stop()},updateConstraint:function(t){this.options.constraint=t},_onDragStart:function(t){TL.Browser.touch?t.originalEvent?(this.data.pagex.start=t.originalEvent.touches[0].screenX,this.data.pagey.start=t.originalEvent.touches[0].screenY):(this.data.pagex.start=t.targetTouches[0].screenX,this.data.pagey.start=t.targetTouches[0].screenY):(this.data.pagex.start=t.pageX,this.data.pagey.start=t.pageY),this.options.enable.x&&(this._el.move.style.left=this.data.pagex.start-this._el.move.offsetWidth/2+\"px\"),this.options.enable.y&&(this._el.move.style.top=this.data.pagey.start-this._el.move.offsetHeight/2+\"px\"),this.data.pos.start=TL.Dom.getPosition(this._el.drag),this.data.time.start=(new Date).getTime(),this.fire(\"dragstart\",this.data),TL.DomEvent.addListener(this._el.drag,this.dragevent.move,this._onDragMove,this),TL.DomEvent.addListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this)},_onDragEnd:function(t){this.data.sliding=!1,TL.DomEvent.removeListener(this._el.drag,this.dragevent.move,this._onDragMove,this),TL.DomEvent.removeListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this),this.fire(\"dragend\",this.data),this._momentum()},_onDragMove:function(t){t.preventDefault(),this.data.sliding=!0,TL.Browser.touch?t.originalEvent?(this.data.pagex.end=t.originalEvent.touches[0].screenX,this.data.pagey.end=t.originalEvent.touches[0].screenY):(this.data.pagex.end=t.targetTouches[0].screenX,this.data.pagey.end=t.targetTouches[0].screenY):(this.data.pagex.end=t.pageX,this.data.pagey.end=t.pageY),this.data.pos.end=TL.Dom.getPosition(this._el.drag),this.data.new_pos.x=-(this.data.pagex.start-this.data.pagex.end-this.data.pos.start.x),this.data.new_pos.y=-(this.data.pagey.start-this.data.pagey.end-this.data.pos.start.y),this.options.enable.x&&(this._el.move.style.left=this.data.new_pos.x+\"px\"),this.options.enable.y&&(this._el.move.style.top=this.data.new_pos.y+\"px\"),this.fire(\"dragmove\",this.data)},_momentum:function(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i=!1;TL.Browser.touch,t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.pos.end.x+t.x),this.data.new_pos.y=Math.min(this.data.pos.end.y+t.y),this.options.enable.x?this.data.new_pos.x<0&&(this.data.new_pos.x=0):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<3e3&&(i=!0),Math.abs(e.x)>1e4&&(this.data.direction=\"left\",e.x>0&&(this.data.direction=\"right\")),Math.abs(e.y)>1e4&&(this.data.direction=\"up\",e.y>0&&(this.data.direction=\"down\")),this._animateMomentum(),i&&this.fire(\"swipe_\"+this.data.direction,this.data)},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:TL.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y<this.options.constraint.top&&(t.y=this.options.constraint.top)),e.top=Math.floor(t.y)+\"px\"),this.options.enable.x&&((this.options.constraint.left||this.options.constraint.right)&&(t.x>this.options.constraint.left?t.x=this.options.constraint.left:t.x<this.options.constraint.right&&(t.x=this.options.constraint.right)),e.left=Math.floor(t.x)+\"px\"),this.animator=TL.Animate(this._el.move,e),this.fire(\"momentum\",this.data)}}),TL.Swipable=TL.Class.extend({includes:TL.Events,_el:{},mousedrag:{down:\"mousedown\",up:\"mouseup\",leave:\"mouseleave\",move:\"mousemove\"},touchdrag:{down:\"touchstart\",up:\"touchend\",leave:\"mouseleave\",move:\"touchmove\"},initialize:function(t,e,i){this._el={drag:t,move:t},e&&(this._el.move=e),this.options={snap:!1,enable:{x:!0,y:!0},constraint:{top:!1,bottom:!1,left:0,right:!1},momentum_multiplier:2e3,duration:1e3,ease:TL.Ease.easeInOutQuint},this.animator=null,this.dragevent=this.mousedrag,TL.Browser.touch&&(this.dragevent=this.touchdrag),this.data={sliding:!1,direction:\"none\",pagex:{start:0,end:0},pagey:{start:0,end:0},pos:{start:{x:0,y:0},end:{x:0,y:0}},new_pos:{x:0,y:0},new_pos_parent:{x:0,y:0},time:{start:0,end:0},touch:!1},TL.Util.mergeData(this.options,i)},enable:function(t){TL.DomEvent.addListener(this._el.drag,this.dragevent.down,this._onDragStart,this),TL.DomEvent.addListener(this._el.drag,this.dragevent.up,this._onDragEnd,this),this.data.pos.start=0,this._el.move.style.left=this.data.pos.start.x+\"px\",this._el.move.style.top=this.data.pos.start.y+\"px\",this._el.move.style.position=\"absolute\"},disable:function(){TL.DomEvent.removeListener(this._el.drag,this.dragevent.down,this._onDragStart,this),TL.DomEvent.removeListener(this._el.drag,this.dragevent.up,this._onDragEnd,this)},stopMomentum:function(){this.animator&&this.animator.stop()},updateConstraint:function(t){this.options.constraint=t},_onDragStart:function(t){this.animator&&this.animator.stop(),TL.Browser.touch?t.originalEvent?(this.data.pagex.start=t.originalEvent.touches[0].screenX,this.data.pagey.start=t.originalEvent.touches[0].screenY):(this.data.pagex.start=t.targetTouches[0].screenX,this.data.pagey.start=t.targetTouches[0].screenY):(this.data.pagex.start=t.pageX,this.data.pagey.start=t.pageY),this.options.enable.x,this.options.enable.y,this.data.pos.start={x:this._el.move.offsetLeft,y:this._el.move.offsetTop},this.data.time.start=(new Date).getTime(),this.fire(\"dragstart\",this.data),TL.DomEvent.addListener(this._el.drag,this.dragevent.move,this._onDragMove,this),TL.DomEvent.addListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this)},_onDragEnd:function(t){this.data.sliding=!1,TL.DomEvent.removeListener(this._el.drag,this.dragevent.move,this._onDragMove,this),TL.DomEvent.removeListener(this._el.drag,this.dragevent.leave,this._onDragEnd,this),this.fire(\"dragend\",this.data),this._momentum()},_onDragMove:function(t){var e={x:0,y:0};this.data.sliding=!0,TL.Browser.touch?t.originalEvent?(this.data.pagex.end=t.originalEvent.touches[0].screenX,this.data.pagey.end=t.originalEvent.touches[0].screenY):(this.data.pagex.end=t.targetTouches[0].screenX,this.data.pagey.end=t.targetTouches[0].screenY):(this.data.pagex.end=t.pageX,this.data.pagey.end=t.pageY),e.x=this.data.pagex.start-this.data.pagex.end,e.y=this.data.pagey.start-this.data.pagey.end,this.data.pos.end={x:this._el.drag.offsetLeft,y:this._el.drag.offsetTop},this.data.new_pos.x=-(e.x-this.data.pos.start.x),this.data.new_pos.y=-(e.y-this.data.pos.start.y),this.options.enable.x&&Math.abs(e.x)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.left=this.data.new_pos.x+\"px\"),this.options.enable.y&&Math.abs(e.y)>Math.abs(e.y)&&(t.preventDefault(),this._el.move.style.top=this.data.new_pos.y+\"px\"),this.fire(\"dragmove\",this.data)},_momentum:function(){var t={x:0,y:0,time:0},e={x:0,y:0,time:0},i={x:!1,y:!1},n=!1;this.data.direction=null,t.time=10*((new Date).getTime()-this.data.time.start),e.time=10*((new Date).getTime()-this.data.time.start),e.x=this.options.momentum_multiplier*(Math.abs(this.data.pagex.end)-Math.abs(this.data.pagex.start)),e.y=this.options.momentum_multiplier*(Math.abs(this.data.pagey.end)-Math.abs(this.data.pagey.start)),t.x=Math.round(e.x/e.time),t.y=Math.round(e.y/e.time),this.data.new_pos.x=Math.min(this.data.new_pos.x+t.x),this.data.new_pos.y=Math.min(this.data.new_pos.y+t.y),this.options.enable.x?this.options.constraint.left&&this.data.new_pos.x>this.options.constraint.left&&(this.data.new_pos.x=this.options.constraint.left):this.data.new_pos.x=this.data.pos.start.x,this.options.enable.y?this.data.new_pos.y<0&&(this.data.new_pos.y=0):this.data.new_pos.y=this.data.pos.start.y,e.time<2e3&&(n=!0),this.options.enable.x&&this.options.enable.y?Math.abs(e.x)>Math.abs(e.y)?i.x=!0:i.y=!0:this.options.enable.x?Math.abs(e.x)>Math.abs(e.y)&&(i.x=!0):Math.abs(e.y)>Math.abs(e.x)&&(i.y=!0),i.x&&(Math.abs(e.x)>this._el.drag.offsetWidth/2&&(n=!0),Math.abs(e.x)>1e4&&(this.data.direction=\"left\",e.x>0&&(this.data.direction=\"right\"))),i.y&&(Math.abs(e.y)>this._el.drag.offsetHeight/2&&(n=!0),Math.abs(e.y)>1e4&&(this.data.direction=\"up\",e.y>0&&(this.data.direction=\"down\"))),e.time<1e3||this._animateMomentum(),n&&this.data.direction?this.fire(\"swipe_\"+this.data.direction,this.data):this.data.direction?this.fire(\"swipe_nodirection\",this.data):this.options.snap&&(this.animator.stop(),this.animator=TL.Animate(this._el.move,{top:this.data.pos.start.y,left:this.data.pos.start.x,duration:this.options.duration,easing:TL.Ease.easeOutStrong}))},_animateMomentum:function(){var t={x:this.data.new_pos.x,y:this.data.new_pos.y},e={duration:this.options.duration,easing:TL.Ease.easeOutStrong};this.options.enable.y&&((this.options.constraint.top||this.options.constraint.bottom)&&(t.y>this.options.constraint.bottom?t.y=this.options.constraint.bottom:t.y<this.options.constraint.top&&(t.y=this.options.constraint.top)),e.top=Math.floor(t.y)+\"px\"),this.options.enable.x&&(this.options.constraint.left&&t.x>=this.options.constraint.left&&(t.x=this.options.constraint.left),this.options.constraint.right&&t.x<this.options.constraint.right&&(t.x=this.options.constraint.right),e.left=Math.floor(t.x)+\"px\"),this.animator=TL.Animate(this._el.move,e),this.fire(\"momentum\",this.data)}}),TL.MenuBar=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t,e,i){this._el={parent:{},container:{},button_backtostart:{},button_zoomin:{},button_zoomout:{},arrow:{},line:{},coverbar:{},grip:{}},this.collapsed=!1,\"object\"==typeof t?this._el.container=t:this._el.container=TL.Dom.get(t),e&&(this._el.parent=e),this.options={width:600,height:600,duration:1e3,ease:TL.Ease.easeInOutQuint,menubar_default_y:0},this.animator={},TL.Util.mergeData(this.options,i),this._initLayout(),this._initEvents()},show:function(t){var e=this.options.duration;t&&(e=t)},hide:function(t){},toogleZoomIn:function(t){t?TL.DomUtil.removeClass(this._el.button_zoomin,\"tl-menubar-button-inactive\"):TL.DomUtil.addClass(this._el.button_zoomin,\"tl-menubar-button-inactive\")},toogleZoomOut:function(t){t?TL.DomUtil.removeClass(this._el.button_zoomout,\"tl-menubar-button-inactive\"):TL.DomUtil.addClass(this._el.button_zoomout,\"tl-menubar-button-inactive\")},setSticky:function(t){this.options.menubar_default_y=t},setColor:function(t){t?this._el.container.className=\"tl-menubar tl-menubar-inverted\":this._el.container.className=\"tl-menubar\"},updateDisplay:function(t,e,i,n){this._updateDisplay(t,e,i,n)},_onButtonZoomIn:function(t){this.fire(\"zoom_in\",t)},_onButtonZoomOut:function(t){this.fire(\"zoom_out\",t)},_onButtonBackToStart:function(t){this.fire(\"back_to_start\",t)},_initLayout:function(){this._el.button_zoomin=TL.Dom.create(\"span\",\"tl-menubar-button\",this._el.container),this._el.button_zoomout=TL.Dom.create(\"span\",\"tl-menubar-button\",this._el.container),this._el.button_backtostart=TL.Dom.create(\"span\",\"tl-menubar-button\",this._el.container),TL.Browser.mobile&&this._el.container.setAttribute(\"ontouchstart\",\" \"),this._el.button_backtostart.innerHTML=\"<span class='tl-icon-goback'></span>\",this._el.button_zoomin.innerHTML=\"<span class='tl-icon-zoom-in'></span>\",this._el.button_zoomout.innerHTML=\"<span class='tl-icon-zoom-out'></span>\"},_initEvents:function(){TL.DomEvent.addListener(this._el.button_backtostart,\"click\",this._onButtonBackToStart,this),TL.DomEvent.addListener(this._el.button_zoomin,\"click\",this._onButtonZoomIn,this),TL.DomEvent.addListener(this._el.button_zoomout,\"click\",this._onButtonZoomOut,this)},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),TL.Message=TL.Class.extend({includes:[TL.Events,TL.DomMixins,TL.I18NMixins],_el:{},initialize:function(t,e,i){this._el={parent:{},container:{},message_container:{},loading_icon:{},message:{}},this.options={width:600,height:600,message_class:\"tl-message\",message_icon_class:\"tl-loading-icon\"},this._add_to_container=i||{},TL.Util.mergeData(this.data,t),TL.Util.mergeData(this.options,e),this._el.container=TL.Dom.create(\"div\",this.options.message_class),i&&(i.appendChild(this._el.container),this._el.parent=i),this.animator={},this._initLayout(),this._initEvents()},updateMessage:function(t){this._updateMessage(t)},updateDisplay:function(t,e){this._updateDisplay(t,e)},_updateMessage:function(t){t?this._el.message.innerHTML=t:this._el.message.innerHTML=this._(\"loading\"),!this._el.parent.atrributes&&this._add_to_container.attributes&&(this._add_to_container.appendChild(this._el.container),this._el.parent=this._add_to_container)},_onMouseClick:function(){this.fire(\"clicked\",this.options)},_onRemove:function(){this._el.parent={}},_initLayout:function(){this._el.message_container=TL.Dom.create(\"div\",\"tl-message-container\",this._el.container),this._el.loading_icon=TL.Dom.create(\"div\",this.options.message_icon_class,this._el.message_container),this._el.message=TL.Dom.create(\"div\",\"tl-message-content\",this._el.message_container),this._updateMessage()},_initEvents:function(){TL.DomEvent.addListener(this._el.container,\"click\",this._onMouseClick,this),TL.DomEvent.addListener(this,\"removed\",this._onRemove,this)},_updateDisplay:function(t,e,i){}}),TL.MediaType=function(t,e){var i={},n=[{type:\"youtube\",name:\"YouTube\",match_str:\"^(https?:)?/*(www.)?youtube|youtu.be\",cls:TL.Media.YouTube},{type:\"vimeo\",name:\"Vimeo\",match_str:\"^(https?:)?/*(player.)?vimeo.com\",cls:TL.Media.Vimeo},{type:\"dailymotion\",name:\"DailyMotion\",match_str:\"^(https?:)?/*(www.)?dailymotion.com\",cls:TL.Media.DailyMotion},{type:\"vine\",name:\"Vine\",match_str:\"^(https?:)?/*(www.)?vine.co\",cls:TL.Media.Vine},{type:\"soundcloud\",name:\"SoundCloud\",match_str:\"^(https?:)?/*(player.)?soundcloud.com\",cls:TL.Media.SoundCloud},{type:\"twitter\",name:\"Twitter\",match_str:\"^(https?:)?/*(www.)?twitter.com\",cls:TL.Media.Twitter},{type:\"twitterembed\",name:\"TwitterEmbed\",match_str:'<blockquote class=\"twitter-tweet\"',cls:TL.Media.TwitterEmbed},{type:\"googlemaps\",name:\"Google Map\",match_str:/google.+?\\/maps\\/@([-\\d.]+),([-\\d.]+),((?:[-\\d.]+[zmayht],?)*)|google.+?\\/maps\\/search\\/([\\w\\W]+)\\/@([-\\d.]+),([-\\d.]+),((?:[-\\d.]+[zmayht],?)*)|google.+?\\/maps\\/place\\/([\\w\\W]+)\\/@([-\\d.]+),([-\\d.]+),((?:[-\\d.]+[zmayht],?)*)|google.+?\\/maps\\/dir\\/([\\w\\W]+)\\/([\\w\\W]+)\\/@([-\\d.]+),([-\\d.]+),((?:[-\\d.]+[zmayht],?)*)/,cls:TL.Media.GoogleMap},{type:\"googleplus\",name:\"Google+\",match_str:\"^(https?:)?/*plus.google\",cls:TL.Media.GooglePlus},{type:\"flickr\",name:\"Flickr\",match_str:\"^(https?:)?/*(www.)?flickr.com/photos\",cls:TL.Media.Flickr},{type:\"flickr\",name:\"Flickr\",match_str:\"^(https?://)?flic.kr/.*\",cls:TL.Media.Flickr},{type:\"instagram\",name:\"Instagram\",match_str:/^(https?:)?\\/*(www.)?(instagr.am|^(https?:)?\\/*(www.)?instagram.com)\\/p\\//,cls:TL.Media.Instagram},{type:\"profile\",name:\"Profile\",match_str:/^(https?:)?\\/*(www.)?instagr.am\\/[a-zA-Z0-9]{2,}|^(https?:)?\\/*(www.)?instagram.com\\/[a-zA-Z0-9]{2,}/,cls:TL.Media.Profile},{type:\"documentcloud\",name:\"Document Cloud\",match_str:/documentcloud.org\\//,cls:TL.Media.DocumentCloud},{type:\"image\",name:\"Image\",match_str:/(jpg|jpeg|png|gif|svg)(\\?.*)?$/i,cls:TL.Media.Image},{type:\"imgur\",name:\"Imgur\",match_str:/^.*imgur.com\\/.+$/i,cls:TL.Media.Imgur},{type:\"googledocs\",name:\"Google Doc\",match_str:\"^(https?:)?/*[^.]*.google.com/[^/]*/d/[^/]*/[^/]*?usp=sharing|^(https?:)?/*drive.google.com/open?id=[^&]*&authuser=0|^(https?:)?/*drive.google.com/open?id=[^&]*|^(https?:)?/*[^.]*.googledrive.com/host/[^/]*/\",cls:TL.Media.GoogleDoc},{type:\"pdf\",name:\"PDF\",match_str:/^.*\\.pdf(\\?.*)?(\\#.*)?/,cls:TL.Media.PDF},{type:\"wikipedia\",name:\"Wikipedia\",match_str:\"^(https?:)?/*(www.)?wikipedia.org|^(https?:)?/*([a-z][a-z].)?wikipedia.org\",cls:TL.Media.Wikipedia},{type:\"spotify\",name:\"spotify\",match_str:\"spotify\",cls:TL.Media.Spotify},{type:\"iframe\",name:\"iFrame\",match_str:\"iframe\",cls:TL.Media.IFrame},{type:\"storify\",name:\"Storify\",match_str:\"storify\",cls:TL.Media.Storify},{type:\"blockquote\",name:\"Quote\",match_str:\"blockquote\",cls:TL.Media.Blockquote},{type:\"imageblank\",name:\"Imageblank\",match_str:\"\",cls:TL.Media.Image}];if(e){if(t instanceof Array)return!1;for(var a=0;a<n.length;a++)switch(n[a].type){case\"flickr\":case\"image\":case\"imgur\":case\"instagram\":if(t.url.match(n[a].match_str))return i=n[a]}}else for(var a=0;a<n.length;a++){if(t instanceof Array)return i={type:\"slider\",cls:TL.Media.Slider};if(t.url.match(n[a].match_str))return i=n[a]}return!1},TL.Media=TL.Class.extend({includes:[TL.Events,TL.I18NMixins],_el:{},initialize:function(t,e,i){this._el={container:{},content_container:{},\ncontent:{},content_item:{},content_link:{},caption:null,credit:null,parent:{},link:null},this.player=null,this.timer=null,this.load_timer=null,this.message=null,this.media_id=null,this._state={loaded:!1,show_meta:!1,media_loaded:!1},this.data={unique_id:null,url:null,credit:null,caption:null,credit_alternate:null,caption_alternate:null,link:null,link_target:null},this.options={api_key_flickr:\"f2cc870b4d233dd0a5bfe73fd0d64ef0\",api_key_googlemaps:\"AIzaSyB9dW8e_iRrATFa8g24qB6BDBGdkrLDZYI\",api_key_embedly:\"\",credit_height:0,caption_height:0,background:0},this.animator={},TL.Util.mergeData(this.options,e),TL.Util.mergeData(this.data,t),this.options.background||(this._el.container=TL.Dom.create(\"div\",\"tl-media\"),this.data.unique_id&&(this._el.container.id=this.data.unique_id),this._initLayout(),i&&(i.appendChild(this._el.container),this._el.parent=i))},loadMedia:function(){var t=this;if(!this._state.loaded)try{this.load_timer=setTimeout(function(){t.loadingMessage(),t._loadMedia(),t._updateDisplay()},1200)}catch(t){trace(\"Error loading media for \",this._media),trace(t)}},_updateMessage:function(t){this.message&&this.message.updateMessage(t)},loadingMessage:function(){this._updateMessage(this._(\"loading\")+\" \"+this.options.media_name)},errorMessage:function(t){t=t?this._(\"error\")+\": \"+t:this._(\"error\"),this._updateMessage(t)},updateMediaDisplay:function(t){this._state.loaded&&!this.options.background&&(TL.Browser.mobile?this._el.content_item.style.maxHeight=this.options.height/2+\"px\":this._el.content_item.style.maxHeight=this.options.height-this.options.credit_height-this.options.caption_height-30+\"px\",this._el.container.style.maxWidth=this.options.width+\"px\",TL.Browser.firefox&&this._el.content_item.offsetWidth>this._el.content_item.offsetHeight,this._updateMediaDisplay(t),this._state.media_loaded&&(this._el.credit&&(this._el.credit.style.width=this._el.content_item.offsetWidth+\"px\"),this._el.caption&&(this._el.caption.style.width=this._el.content_item.offsetWidth+\"px\")))},_loadMedia:function(){this.onLoaded()},_updateMediaDisplay:function(t){TL.Browser.firefox&&(this._el.content_item.style.maxWidth=this.options.width+\"px\",this._el.content_item.style.width=\"auto\")},_getMeta:function(){},_getImageURL:function(t,e){return\"\"},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container),this.onAdd()},removeFrom:function(t){t.removeChild(this._el.container),this.onRemove()},getImageURL:function(t,e){return this._getImageURL(t,e)},updateDisplay:function(t,e,i){this._updateDisplay(t,e,i)},stopMedia:function(){this._stopMedia()},loadErrorDisplay:function(t){try{this._el.content.removeChild(this._el.content_item)}catch(t){}this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-loaderror\",this._el.content),this._el.content_item.innerHTML=\"<div class='tl-icon-\"+this.options.media_type+\"'></div><p>\"+t+\"</p>\",this.onLoaded(!0)},onLoaded:function(t){this._state.loaded=!0,this.fire(\"loaded\",this.data),this.message&&this.message.hide(),t||this.options.background||this.showMeta(),this.updateDisplay()},onMediaLoaded:function(t){this._state.media_loaded=!0,this.fire(\"media_loaded\",this.data),this._el.credit&&(this._el.credit.style.width=this._el.content_item.offsetWidth+\"px\"),this._el.caption&&(this._el.caption.style.width=this._el.content_item.offsetWidth+\"px\")},showMeta:function(t,e){this._state.show_meta=!0,this.data.credit&&\"\"!=this.data.credit&&(this._el.credit=TL.Dom.create(\"div\",\"tl-credit\",this._el.content_container),this._el.credit.innerHTML=1==this.options.autolink?TL.Util.linkify(this.data.credit):this.data.credit,this.options.credit_height=this._el.credit.offsetHeight),this.data.caption&&\"\"!=this.data.caption&&(this._el.caption=TL.Dom.create(\"div\",\"tl-caption\",this._el.content_container),this._el.caption.innerHTML=1==this.options.autolink?TL.Util.linkify(this.data.caption):this.data.caption,this.options.caption_height=this._el.caption.offsetHeight),this.data.caption&&this.data.credit||this.getMeta()},getMeta:function(){this._getMeta()},updateMeta:function(){!this.data.credit&&this.data.credit_alternate&&(this._el.credit=TL.Dom.create(\"div\",\"tl-credit\",this._el.content_container),this._el.credit.innerHTML=this.data.credit_alternate,this.options.credit_height=this._el.credit.offsetHeight),!this.data.caption&&this.data.caption_alternate&&(this._el.caption=TL.Dom.create(\"div\",\"tl-caption\",this._el.content_container),this._el.caption.innerHTML=this.data.caption_alternate,this.options.caption_height=this._el.caption.offsetHeight),this.updateDisplay()},onAdd:function(){this.fire(\"added\",this.data)},onRemove:function(){this.fire(\"removed\",this.data)},_initLayout:function(){this.message=new TL.Message({},this.options),this.message.addTo(this._el.container),this._el.content_container=TL.Dom.create(\"div\",\"tl-media-content-container\",this._el.container),this.data.link&&\"\"!=this.data.link?(this._el.link=TL.Dom.create(\"a\",\"tl-media-link\",this._el.content_container),this._el.link.href=this.data.link,this.data.link_target&&\"\"!=this.data.link_target?this._el.link.target=this.data.link_target:this._el.link.target=\"_blank\",this._el.content=TL.Dom.create(\"div\",\"tl-media-content\",this._el.link)):this._el.content=TL.Dom.create(\"div\",\"tl-media-content\",this._el.content_container)},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e),i&&(this.options.layout=i),this._el.credit&&(this.options.credit_height=this._el.credit.offsetHeight),this._el.caption&&(this.options.caption_height=this._el.caption.offsetHeight+5),this.updateMediaDisplay(this.options.layout)},_stopMedia:function(){}}),TL.Media.Blockquote=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-blockquote\",this._el.content),this._el.content_container.className=\"tl-media-content-container tl-media-content-container-text\",this.media_id=this.data.url,this._el.content_item.innerHTML=this.media_id,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),TL.Media.DailyMotion=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-dailymotion\",this._el.content),this.data.url.match(\"video\")?this.media_id=this.data.url.split(\"video/\")[1].split(/[?&]/)[0]:this.media_id=this.data.url.split(\"embed/\")[1].split(/[?&]/)[0],t=\"https://www.dailymotion.com/embed/video/\"+this.media_id+\"?api=postMessage\",this._el.content_item.innerHTML=\"<iframe autostart='false' frameborder='0' width='100%' height='100%' src='\"+t+\"'></iframe>\",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=TL.Util.ratio.r16_9({w:this._el.content_item.offsetWidth})+\"px\"},_stopMedia:function(){this._el.content_item.querySelector(\"iframe\").contentWindow.postMessage('{\"command\":\"pause\",\"parameters\":[]}',\"*\")}}),TL.Media.DocumentCloud=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-documentcloud tl-media-shadow\",this._el.content),this._el.content_item.id=TL.Util.unique_ID(7),this.data.url.match(/\\.html$/)?this.data.url=this._transformURL(this.data.url):this.data.url.match(/.(json|js)$/)||trace(\"DOCUMENT CLOUD IN URL BUT INVALID SUFFIX\"),TL.Load.js([\"https://assets.documentcloud.org/viewer/loader.js\",\"https://assets.documentcloud.org/viewer/viewer.js\"],function(){t.createMedia()})},_transformURL:function(t){return t.replace(/(.*)\\.html$/,\"$1.js\")},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"},createMedia:function(){DV.load(this.data.url,{container:\"#\"+this._el.content_item.id,showSidebar:!1}),this.onLoaded()}}),TL.Media.Flickr=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;try{this.establishMediaID(),t=\"https://api.flickr.com/services/rest/?method=flickr.photos.getSizes&api_key=\"+this.options.api_key_flickr+\"&photo_id=\"+this.media_id+\"&format=json&jsoncallback=?\",TL.getJSON(t,function(t){\"ok\"==t.stat?(e.sizes=t.sizes.size,e.options.background||e.createMedia(),e.onLoaded()):e.loadErrorDisplay(e._(\"flickr_notfound_err\"))})}catch(t){e.loadErrorDisplay(e._(t.message_key))}},establishMediaID:function(){if(this.data.url.match(/flic.kr\\/.+/i)){var t=this.data.url.split(\"/\").slice(-1)[0];this.media_id=TL.Util.base58.decode(t)}else{var e=\"flickr.com/photos/\",i=this.data.url.indexOf(e);if(i==-1)throw new TL.Error(\"flickr_invalidurl_err\");var n=i+e.length;this.media_id=this.data.url.substr(n).split(\"/\")[1]}},createMedia:function(){var t=this;this._el.content_link=TL.Dom.create(\"a\",\"\",this._el.content),this._el.content_link.href=this.data.url,this._el.content_link.target=\"_blank\",this._el.content_item=TL.Dom.create(\"img\",\"tl-media-item tl-media-image tl-media-flickr tl-media-shadow\",this._el.content_link),this._el.content_item.addEventListener(\"load\",function(e){t.onMediaLoaded()}),this._el.content_item.src=this.getImageURL(this.options.width,this.options.height)},getImageURL:function(t,e){for(var i=this.size_label(e),n=this.sizes[this.sizes.length-2].source,a=0;a<this.sizes.length;a++)this.sizes[a].label==i&&(n=this.sizes[a].source);return n},_getMeta:function(){var t,e=this;t=\"https://api.flickr.com/services/rest/?method=flickr.photos.getInfo&api_key=\"+this.options.api_key_flickr+\"&photo_id=\"+this.media_id+\"&format=json&jsoncallback=?\",TL.getJSON(t,function(t){e.data.credit_alternate=\"<a href='\"+e.data.url+\"' target='_blank'>\"+t.photo.owner.realname+\"</a>\",e.data.caption_alternate=t.photo.title._content+\" \"+t.photo.description._content,e.updateMeta()})},size_label:function(t){var e=\"\";return e=t<=75?t<=0?\"Large\":\"Thumbnail\":t<=180?\"Small\":t<=240?\"Small 320\":t<=375?\"Medium\":t<=480?\"Medium 640\":\"Large\"}}),TL.Media.GoogleDoc=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;if(this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe\",this._el.content),this.data.url.match(\"open?id=\"))this.media_id=this.data.url.split(\"open?id=\")[1],this.data.url.match(\"&authuser=0\")&&(t=this.media_id.match(\"&authuser=0\")[0]);else if(this.data.url.match(/file\\/d\\/([^\\/]*)\\/?/)){var e=this.data.url.match(/file\\/d\\/([^\\/]*)\\/?/)[1];t=\"https://drive.google.com/file/d/\"+e+\"/preview\"}else t=this.data.url;this._el.content_item.innerHTML=\"<iframe class='doc' frameborder='0' width='100%' height='100%' src='\"+t+\"'></iframe>\",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"}}),TL.Media.GooglePlus=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-googleplus\",this._el.content),this.media_id=this.data.url,t=this.media_id,this._el.content_item.innerHTML=\"<iframe frameborder='0' width='100%' height='100%' src='\"+t+\"'></iframe>\",this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"}}),TL.Media.IFrame=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe\",this._el.content),this.media_id=this.data.url,t=this.media_id,this._el.content_item.innerHTML=t,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"}}),TL.Media.Image=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this.loadingMessage(),this.options.background||this.createMedia(),this.onLoaded()},createMedia:function(){var t=this,e=\"tl-media-item tl-media-image tl-media-shadow\";(this.data.url.match(/.png(\\?.*)?$/)||this.data.url.match(/.svg(\\?.*)?$/))&&(e=\"tl-media-item tl-media-image\"),this.data.link?(this._el.content_link=TL.Dom.create(\"a\",\"\",this._el.content),this._el.content_link.href=this.data.link,this._el.content_link.target=\"_blank\",this._el.content_item=TL.Dom.create(\"img\",e,this._el.content_link)):this._el.content_item=TL.Dom.create(\"img\",e,this._el.content),this._el.content_item.addEventListener(\"load\",function(e){t.onMediaLoaded()}),this._el.content_item.src=this.getImageURL()},getImageURL:function(t,e){return TL.Util.transformImageURL(this.data.url)},_updateMediaDisplay:function(t){TL.Browser.firefox&&(this._el.content_item.style.width=\"auto\")}}),TL.Media.Imgur=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){try{this.media_id=this.data.url.split(\"/\").slice(-1)[0],this.options.background||this.createMedia(),this.onLoaded()}catch(t){this.loadErrorDisplay(this._(\"imgur_invalidurl_err\"))}},createMedia:function(){var t=this;this._el.content_link=TL.Dom.create(\"a\",\"\",this._el.content),this._el.content_link.href=this.data.url,this._el.content_link.target=\"_blank\",this._el.content_item=TL.Dom.create(\"img\",\"tl-media-item tl-media-image tl-media-imgur tl-media-shadow\",this._el.content_link),this._el.content_item.addEventListener(\"load\",function(e){t.onMediaLoaded()}),this._el.content_item.src=this.getImageURL()},getImageURL:function(t,e){return\"https://i.imgur.com/\"+this.media_id+\".jpg\"}}),TL.Media.Instagram=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this.media_id=this.data.url.split(\"/p/\")[1].split(\"/\")[0],this.options.background||this.createMedia(),this.onLoaded()},createMedia:function(){var t=this;this._el.content_link=TL.Dom.create(\"a\",\"\",this._el.content),this._el.content_link.href=this.data.url,this._el.content_link.target=\"_blank\",this._el.content_item=TL.Dom.create(\"img\",\"tl-media-item tl-media-image tl-media-instagram tl-media-shadow\",this._el.content_link),this._el.content_item.addEventListener(\"load\",function(e){t.onMediaLoaded()}),this._el.content_item.src=this.getImageURL(this._el.content.offsetWidth)},getImageURL:function(t,e){return\"https://instagram.com/p/\"+this.media_id+\"/media/?size=\"+this.sizes(t)},_getMeta:function(){var t,e=this;t=\"https://api.instagram.com/oembed?url=https://instagr.am/p/\"+this.media_id+\"&callback=?\",TL.getJSON(t,function(t){e.data.credit_alternate=\"<a href='\"+t.author_url+\"' target='_blank'>\"+t.author_name+\"</a>\",e.data.caption_alternate=t.title,e.updateMeta()})},sizes:function(t){var e=\"\";return e=t<=150?\"t\":t<=306?\"m\":\"l\"}}),TL.Media.GoogleMap=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-map tl-media-shadow\",this._el.content),this.media_id=this.data.url,this.mapframe=TL.Dom.create(\"iframe\",\"\",this._el.content_item),window.stash=this,this.mapframe.width=\"100%\",this.mapframe.height=\"100%\",this.mapframe.frameBorder=\"0\",this.mapframe.src=this.makeGoogleMapsEmbedURL(this.media_id,this.options.api_key_googlemaps),this.onLoaded()},_updateMediaDisplay:function(){if(this._state.loaded){var t=TL.Util.ratio.square({w:this._el.content_item.offsetWidth});this._el.content_item.style.height=t.h+\"px\"}},makeGoogleMapsEmbedURL:function(t,e){function i(t){function i(e,i){if(\"z\"==e.slice(-1))i.zoom=e;else if(\"m\"==e.slice(-1))i.zoom=14,i.maptype=\"satellite\";else if(\"t\"==e.slice(-1)){if(n=!0,\"place\"==mapmode)var s=t.match(h.place)[3]+\",\"+t.match(h.place)[4];else{var s=i.center;delete i.center}i={},i.location=s,streetview_params=e.split(\",\");for(param in a.streetview){var o=parseInt(param)+1;\"pitch\"==a.streetview[param]&&\"90t\"==streetview_params[o]?i[a.streetview[param]]=0:i[a.streetview[param]]=streetview_params[o].slice(0,-1)}}return i}function s(t,s){var o={},r=s[1],l=s[s.length-1];for(param in a[t]){var h=parseInt(param)+2;\"center\"==a[t][param]?o[a[t][param]]=s[h]+\",\"+s[++h]:o[a[t][param]]=s[h]}return o=i(l,o),o.key=e,1==n&&(t=\"streetview\"),r+\"/embed/v1/\"+t+TL.Util.getParamString(o)}return mapmode=\"view\",t.match(h.place)?mapmode=\"place\":t.match(h.directions)?mapmode=\"directions\":t.match(h.search)&&(mapmode=\"search\"),s(mapmode,t.match(h[mapmode]))}var n=!1,a={view:[\"center\"],place:[\"q\",\"center\"],directions:[\"origin\",\"destination\",\"center\"],search:[\"q\",\"center\"],streetview:[\"fov\",\"heading\",\"pitch\"]},s=/(https:\\/\\/.+google.+?\\/maps)/,o=/@([-\\d.]+),([-\\d.]+)/,r=/([\\w\\W]+)/,l=/,((?:[-\\d.]+[zmayht],?)*)/,h={view:new RegExp(s.source+\"/\"+o.source+l.source),place:new RegExp(s.source+\"/place/\"+r.source+\"/\"+o.source+l.source),directions:new RegExp(s.source+\"/dir/\"+r.source+\"/\"+r.source+\"/\"+o.source+l.source),search:new RegExp(s.source+\"/search/\"+r.source+\"/\"+o.source+l.source)};return i(t)}}),TL.Media.PDF=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t=TL.Util.transformImageURL(this.data.url);this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe\",this._el.content);var e=\"\";e=TL.Browser.ie||TL.Browser.edge||t.match(/dl.dropboxusercontent.com/)?\"<iframe class='doc' frameborder='0' width='100%' height='100%' src='//docs.google.com/viewer?url=\"+t+\"&amp;embedded=true'></iframe>\":\"<iframe class='doc' frameborder='0' width='100%' height='100%' src='\"+t+\"'></iframe>\",this._el.content_item.innerHTML=e,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"}}),TL.Media.Profile=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this._el.content_item=TL.Dom.create(\"img\",\"tl-media-item tl-media-image tl-media-profile tl-media-shadow\",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()},_updateMediaDisplay:function(t){TL.Browser.firefox&&(this._el.content_item.style.maxWidth=this.options.width/2-40+\"px\")}}),TL.Media.Slider=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){this._el.content_item=TL.Dom.create(\"img\",\"tl-media-item tl-media-image\",this._el.content),this._el.content_item.src=this.data.url,this.onLoaded()}});var soundCoudCreated=!1;TL.Media.SoundCloud=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-soundcloud tl-media-shadow\",this._el.content),this.media_id=this.data.url,t=\"https://soundcloud.com/oembed?url=\"+this.media_id+\"&format=js&callback=?\",TL.getJSON(t,function(t){TL.Load.js(\"https://w.soundcloud.com/player/api.js\",function(){e.createMedia(t)})})},createMedia:function(t){this._el.content_item.innerHTML=t.html,this.soundCloudCreated=!0,self.widget=SC.Widget(this._el.content_item.querySelector(\"iframe\")),this.onLoaded()},_stopMedia:function(){this.soundCloudCreated&&self.widget.pause()}}),TL.Media.Spotify=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;if(this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-spotify\",this._el.content),(this.data.url.match(/^spotify:track/)||this.data.url.match(/^spotify:user:.+:playlist:/))&&(this.media_id=this.data.url),this.data.url.match(/spotify.com\\/track\\/(.+)/))this.media_id=\"spotify:track:\"+this.data.url.match(/spotify.com\\/track\\/(.+)/)[1];else if(this.data.url.match(/spotify.com\\/user\\/(.+?)\\/playlist\\/(.+)/)){var e=this.data.url.match(/spotify.com\\/user\\/(.+?)\\/playlist\\/(.+)/)[1],i=this.data.url.match(/spotify.com\\/user\\/(.+?)\\/playlist\\/(.+)/)[2];this.media_id=\"spotify:user:\"+e+\":playlist:\"+i}this.media_id?(t=\"https://embed.spotify.com/?uri=\"+this.media_id+\"&theme=white&view=coverart\",this.player=TL.Dom.create(\"iframe\",\"tl-media-shadow\",this._el.content_item),this.player.width=\"100%\",this.player.height=\"100%\",this.player.frameBorder=\"0\",this.player.src=t,this.onLoaded()):this.loadErrorDisplay(this._(\"spotify_invalid_url\"))},_updateMediaDisplay:function(t){var e=this.options.height,i=0,n=0;e=TL.Browser.mobile?this.options.height/2:this.options.height-this.options.credit_height-this.options.caption_height-30,this._el.content_item.style.maxHeight=\"none\",trace(e),trace(this.options.width),e>this.options.width?(trace(\"height is greater\"),i=this.options.width+80+\"px\",n=this.options.width+\"px\"):(trace(\"width is greater\"),trace(this.options.width),i=e+\"px\",n=e-80+\"px\"),this.player.style.width=n,this.player.style.height=i,this._el.credit&&(this._el.credit.style.width=n),this._el.caption&&(this._el.caption.style.width=n)},_stopMedia:function(){}}),TL.Media.Storify=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-storify\",this._el.content),this.media_id=this.data.url,t=\"<iframe frameborder='0' width='100%' height='100%' src='\"+this.media_id+\"/embed'></iframe>\",t+=\"<script src='\"+this.media_id+\".js'></script>\",this._el.content_item.innerHTML=t,this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=this.options.height+\"px\"}}),TL.Media.Text=TL.Class.extend({includes:[TL.Events],_el:{container:{},content_container:{},content:{},headline:{},date:{}},data:{unique_id:\"\",headline:\"headline\",text:\"text\"},options:{title:!1},initialize:function(t,e,i){TL.Util.setData(this,t),TL.Util.mergeData(this.options,e),this._el.container=TL.Dom.create(\"div\",\"tl-text\"),this._el.container.id=this.data.unique_id,this._initLayout(),i&&i.appendChild(this._el.container)},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},headlineHeight:function(){return this._el.headline.offsetHeight+40},addDateText:function(t){this._el.date.innerHTML=t},onLoaded:function(){this.fire(\"loaded\",this.data)},onAdd:function(){this.fire(\"added\",this.data)},onRemove:function(){this.fire(\"removed\",this.data)},_initLayout:function(){if(this._el.content_container=TL.Dom.create(\"div\",\"tl-text-content-container\",this._el.container),this._el.date=TL.Dom.create(\"h3\",\"tl-headline-date\",this._el.content_container),\"\"!=this.data.headline){var t=\"tl-headline\";this.options.title&&(t=\"tl-headline tl-headline-title\"),this._el.headline=TL.Dom.create(\"h2\",t,this._el.content_container),this._el.headline.innerHTML=this.data.headline}if(\"\"!=this.data.text){var e=\"\";e+=TL.Util.htmlify(1==this.options.autolink?TL.Util.linkify(this.data.text):this.data.text),trace(this.data.text),this._el.content=TL.Dom.create(\"div\",\"tl-text-content\",this._el.content_container),this._el.content.innerHTML=e,trace(e),trace(this._el.content)}this.onLoaded()}}),TL.Media.Twitter=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-twitter\",this._el.content),this._el.content_container.className=\"tl-media-content-container tl-media-content-container-text\",this.data.url.match(\"status/\")?this.media_id=this.data.url.split(\"status/\")[1]:this.data.url.match(\"statuses/\")?this.media_id=this.data.url.split(\"statuses/\")[1]:this.media_id=\"\",t=\"https://api.twitter.com/1/statuses/oembed.json?id=\"+this.media_id+\"&omit_script=true&include_entities=true&callback=?\",TL.ajax({type:\"GET\",url:t,dataType:\"json\",success:function(t){e.createMedia(t)},error:function(t,i){var n=\"\";n+=e._(\"twitter_load_err\")+\"<br/>\"+e.media_id+\"<br/>\"+i,e.loadErrorDisplay(n)}})},createMedia:function(t){var e=\"\",i=\"\",n=\"\",a=\"\",s=\"\",o=\"\";i=t.html.split(\"</p>&mdash;\")[0]+\"</p></blockquote>\",n=t.author_url.split(\"twitter.com/\")[1],a=t.html.split(\"</p>&mdash;\")[1].split('<a href=\"')[1],s=a.split('\">')[0],o=a.split('\">')[1].split(\"</a>\")[0],i=i.replace(/<a href/gi,'<a class=\"tl-makelink\" target=\"_blank\" href'),e+=i,e+=\"<div class='vcard'>\",e+=\"<a href='\"+s+\"' class='twitter-date' target='_blank'>\"+o+\"</a>\",e+=\"<div class='author'>\",e+=\"<a class='screen-name url' href='\"+t.author_url+\"' target='_blank'>\",e+=\"<span class='avatar'></span>\",e+=\"<span class='fn'>\"+t.author_name+\" <span class='tl-icon-twitter'></span></span>\",e+=\"<span class='nickname'>@\"+n+\"<span class='thumbnail-inline'></span></span>\",e+=\"</a>\",e+=\"</div>\",e+=\"</div>\",this._el.content_item.innerHTML=e,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),TL.Media.TwitterEmbed=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-twitter\",this._el.content),this._el.content_container.className=\"tl-media-content-container tl-media-content-container-text\";var i=this.data.url.match(/(status|statuses)\\/(\\d+)/);return i&&i.length>2?(this.media_id=i[2],t=\"https://api.twitter.com/1/statuses/oembed.json?id=\"+this.media_id+\"&omit_script=true&include_entities=true&callback=?\",void TL.ajax({type:\"GET\",url:t,dataType:\"json\",success:function(t){e.createMedia(t)},error:function(t,i){var n=\"\";n+=e._(\"twitter_load_err\")+\"<br/>\"+e.media_id+\"<br/>\"+i,e.loadErrorDisplay(n)}})):void e.loadErrorDisplay(e._(\"twitterembed_invalidurl_err\"))},createMedia:function(t){trace(\"create_media\");var e=\"\",i=\"\",n=\"\",a=\"\",s=\"\",o=\"\";i=t.html.split(\"</p>&mdash;\")[0]+\"</p></blockquote>\",n=t.author_url.split(\"twitter.com/\")[1],a=t.html.split(\"</p>&mdash;\")[1].split('<a href=\"')[1],s=a.split('\">')[0],o=a.split('\">')[1].split(\"</a>\")[0],i=i.replace(/<a href/gi,'<a target=\"_blank\" href'),e+=i,e+=\"<div class='vcard'>\",e+=\"<a href='\"+s+\"' class='twitter-date' target='_blank'>\"+o+\"</a>\",e+=\"<div class='author'>\",e+=\"<a class='screen-name url' href='\"+t.author_url+\"' target='_blank'>\",e+=\"<span class='avatar'></span>\",e+=\"<span class='fn'>\"+t.author_name+\" <span class='tl-icon-twitter'></span></span>\",e+=\"<span class='nickname'>@\"+n+\"<span class='thumbnail-inline'></span></span>\",e+=\"</a>\",e+=\"</div>\",e+=\"</div>\",this._el.content_item.innerHTML=e,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),TL.Media.Vimeo=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-vimeo tl-media-shadow\",this._el.content),this.media_id=this.data.url.split(/video\\/|\\/\\/vimeo\\.com\\//)[1].split(/[?&]/)[0],t=\"https://player.vimeo.com/video/\"+this.media_id+\"?api=1&title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff\",this.player=TL.Dom.create(\"iframe\",\"\",this._el.content_item),this.player.addEventListener(\"load\",function(t){e.onMediaLoaded()}),this.player.width=\"100%\",this.player.height=\"100%\",this.player.frameBorder=\"0\",this.player.src=t,this.player.setAttribute(\"allowfullscreen\",\"\"),this.player.setAttribute(\"webkitallowfullscreen\",\"\"),this.player.setAttribute(\"mozallowfullscreen\",\"\"),this.onLoaded()},_updateMediaDisplay:function(){this._el.content_item.style.height=TL.Util.ratio.r16_9({w:this._el.content_item.offsetWidth})+\"px\"},_stopMedia:function(){try{this.player.contentWindow.postMessage(JSON.stringify({method:\"pause\"}),\"https://player.vimeo.com\")}catch(t){trace(t)}}}),TL.Media.Vine=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-iframe tl-media-vine tl-media-shadow\",this._el.content),this.media_id=this.data.url.split(\"vine.co/v/\")[1],t=\"https://vine.co/v/\"+this.media_id+\"/embed/simple\",this._el.content_item.innerHTML=\"<iframe frameborder='0' width='100%' height='100%' src='\"+t+\"'></iframe><script async src='https://platform.vine.co/static/scripts/embed.js' charset='utf-8'></script>\",this.onLoaded()},_updateMediaDisplay:function(){var t=TL.Util.ratio.square({w:this._el.content_item.offsetWidth,h:this.options.height});this._el.content_item.style.height=t.h+\"px\"},_stopMedia:function(){this._el.content_item.querySelector(\"iframe\").contentWindow.postMessage(\"pause\",\"*\")}}),TL.Media.Website=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t=this;this.media_id=this.data.url.replace(/.*?:\\/\\//g,\"\"),this.options.api_key_embedly?(api_url=\"https://api.embed.ly/1/extract?key=\"+this.options.api_key_embedly+\"&url=\"+this.media_id+\"&callback=?\",TL.getJSON(api_url,function(e){t.createMedia(e)})):this.createCardContent()},createCardContent:function(){!function(t,e){var i=\"embedly-platform\",n=\"script\";if(!e.getElementById(i)){t.embedly=t.embedly||function(){(t.embedly.q=t.embedly.q||[]).push(arguments)};var a=e.createElement(n);a.id=i,a.async=1,a.src=(\"https:\"===document.location.protocol?\"https\":\"http\")+\"://cdn.embedly.com/widgets/platform.js\";var s=e.getElementsByTagName(n)[0];s.parentNode.insertBefore(a,s)}}(window,document);var t='<a href=\"'+this.data.url+'\" class=\"embedly-card\">'+this.data.url+\"</a>\";this._setContent(t)},createMedia:function(t){var e=\"\";e+=\"<h4><a href='\"+this.data.url+\"' target='_blank'>\"+t.title+\"</a></h4>\",t.images&&t.images[0]&&(trace(t.images[0].url),e+=\"<img src='\"+t.images[0].url+\"' />\"),t.favicon_url&&(e+=\"<img class='tl-media-website-icon' src='\"+t.favicon_url+\"' />\"),e+=\"<span class='tl-media-website-description'>\"+t.provider_name+\"</span><br/>\",e+=\"<p>\"+t.description+\"</p>\",this._setContent(e)},_setContent:function(t){this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-website\",this._el.content),this._el.content_container.className=\"tl-media-content-container tl-media-content-container-text\",this._el.content_item.innerHTML=t,this.onLoaded()},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),TL.Media.Wikipedia=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e,i=this;this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-wikipedia\",this._el.content),this._el.content_container.className=\"tl-media-content-container tl-media-content-container-text\",this.media_id=this.data.url.split(\"wiki/\")[1].split(\"#\")[0].replace(\"_\",\" \"),this.media_id=this.media_id.replace(\" \",\"%20\"),e=this.data.url.split(\"//\")[1].split(\".wikipedia\")[0],t=\"https://\"+e+\".wikipedia.org/w/api.php?action=query&prop=extracts|pageimages&redirects=&titles=\"+this.media_id+\"&exintro=1&format=json&callback=?\",TL.ajax({type:\"GET\",url:t,dataType:\"json\",success:function(t){i.createMedia(t)},error:function(t,e){var n=\"\";n+=i._(\"wikipedia_load_err\")+\"<br/>\"+i.media_id+\"<br/>\"+e,i.loadErrorDisplay(n)}})},createMedia:function(t){var e=\"\";if(t.query){var i=\"\",e={entry:{},title:\"\",text:\"\",extract:\"\",paragraphs:1,page_image:\"\",text_array:[]};e.entry=TL.Util.getObjectAttributeByIndex(t.query.pages,0),e.extract=e.entry.extract,e.title=e.entry.title,e.page_image=e.entry.thumbnail,e.extract.match(\"<p>\")?e.text_array=e.extract.split(\"<p>\"):e.text_array.push(e.extract);for(var n=0;n<e.text_array.length;n++)n+1<=e.paragraphs&&n+1<e.text_array.length&&(e.text+=\"<p>\"+e.text_array[n+1]);i+=\"<span class='tl-icon-wikipedia'></span>\",i+=\"<div class='tl-wikipedia-title'><h4><a href='\"+this.data.url+\"' target='_blank'>\"+e.title+\"</a></h4>\",i+=\"<span class='tl-wikipedia-source'>\"+this._(\"wikipedia\")+\"</span></div>\",e.page_image,i+=e.text,e.extract.match(\"REDIRECT\")||(this._el.content_item.innerHTML=i,this.onLoaded())}},updateMediaDisplay:function(){},_updateMediaDisplay:function(){}}),TL.Media.YouTube=TL.Media.extend({includes:[TL.Events],_loadMedia:function(){var t,e=this;this.youtube_loaded=!1,this._el.content_item=TL.Dom.create(\"div\",\"tl-media-item tl-media-youtube tl-media-shadow\",this._el.content),this._el.content_item.id=TL.Util.unique_ID(7),t=TL.Util.getUrlVars(this.data.url),this.media_id={},this.data.url.match(\"v=\")?this.media_id.id=t.v:this.data.url.match(\"/embed/\")?this.media_id.id=this.data.url.split(\"embed/\")[1].split(/[?&]/)[0]:this.data.url.match(/v\\/|v=|youtu\\.be\\//)?this.media_id.id=this.data.url.split(/v\\/|v=|youtu\\.be\\//)[1].split(/[?&]/)[0]:trace(\"YOUTUBE IN URL BUT NOT A VALID VIDEO\"),this.media_id.start=parseInt(t.start),isNaN(this.media_id.start)&&(this.media_id.start=TL.Util.parseYouTubeTime(t.t)),this.media_id.end=parseInt(t.end),this.media_id.hd=Boolean(\"undefined\"!=typeof t.hd),TL.Load.js(\"https://www.youtube.com/iframe_api\",function(){e.createMedia()})},_updateMediaDisplay:function(){this._el.content_item.style.height=TL.Util.ratio.r16_9({w:this.options.width})+\"px\",this._el.content_item.style.width=this.options.width+\"px\"},_stopMedia:function(){if(this.youtube_loaded)try{this.player.getPlayerState()==YT.PlayerState.PLAYING&&this.player.pauseVideo()}catch(t){trace(t)}},createMedia:function(){var t=this;clearTimeout(this.timer),\"undefined\"!=typeof YT&&\"undefined\"!=typeof YT.Player?this.player=new YT.Player(this._el.content_item.id,{playerVars:{enablejsapi:1,color:\"white\",autohide:1,showinfo:0,theme:\"light\",start:this.media_id.start,end:this.media_id.end,\nfs:0,rel:0},videoId:this.media_id.id,events:{onReady:function(){t.onPlayerReady(),t.onLoaded()},onStateChange:t.onStateChange}}):this.timer=setTimeout(function(){t.createMedia()},1e3)},onPlayerReady:function(t){this.youtube_loaded=!0,this._el.content_item=document.getElementById(this._el.content_item.id),this.onMediaLoaded()},onStateChange:function(t){t.data==YT.PlayerState.ENDED&&(t.target.seekTo(0),t.target.pauseVideo())}}),TL.Slide=TL.Class.extend({includes:[TL.Events,TL.DomMixins,TL.I18NMixins],_el:{},initialize:function(t,e,i){this._el={container:{},scroll_container:{},background:{},content_container:{},content:{}},this._media=null,this._mediaclass={},this._text={},this._background_media=null,this._state={loaded:!1},this.has={headline:!1,text:!1,media:!1,title:!1,background:{image:!1,color:!1,color_value:\"\"}},this.has.title=i,this.data={unique_id:null,background:null,start_date:null,end_date:null,location:null,text:null,media:null,autolink:!0},this.options={duration:1e3,slide_padding_lr:40,ease:TL.Ease.easeInSpline,width:600,height:600,skinny_size:650,media_name:\"\"},this.active=!1,this.animator={},TL.Util.mergeData(this.options,e),TL.Util.mergeData(this.data,t),this._initLayout(),this._initEvents()},show:function(){this.animator=TL.Animate(this._el.slider_container,{left:-(this._el.container.offsetWidth*n)+\"px\",duration:this.options.duration,easing:this.options.ease})},hide:function(){},setActive:function(t){this.active=t,this.active?(this.data.background&&this.fire(\"background_change\",this.has.background),this.loadMedia()):this.stopMedia()},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},updateDisplay:function(t,e,i){this._updateDisplay(t,e,i)},loadMedia:function(){var t=this;this._media&&!this._state.loaded&&(this._media.loadMedia(),this._state.loaded=!0),this._background_media&&!this._background_media._state.loaded&&(this._background_media.on(\"loaded\",function(){t._updateBackgroundDisplay()}),this._background_media.loadMedia())},stopMedia:function(){this._media&&this._state.loaded&&this._media.stopMedia()},getBackground:function(){return this.has.background},scrollToTop:function(){this._el.container.scrollTop=0},getFormattedDate:function(){if(TL.Util.trim(this.data.display_date).length>0)return this.data.display_date;var t=\"\";return this.has.title||(this.data.end_date&&(t=\" &mdash; \"+this.data.end_date.getDisplayDate(this.getLanguage())),this.data.start_date&&(t=this.data.start_date.getDisplayDate(this.getLanguage())+t)),t},_initLayout:function(){if(this._el.container=TL.Dom.create(\"div\",\"tl-slide\"),this.has.title&&(this._el.container.className=\"tl-slide tl-slide-titleslide\"),this.data.unique_id&&(this._el.container.id=this.data.unique_id),this._el.scroll_container=TL.Dom.create(\"div\",\"tl-slide-scrollable-container\",this._el.container),this._el.content_container=TL.Dom.create(\"div\",\"tl-slide-content-container\",this._el.scroll_container),this._el.content=TL.Dom.create(\"div\",\"tl-slide-content\",this._el.content_container),this._el.background=TL.Dom.create(\"div\",\"tl-slide-background\",this._el.container),this.data.background){if(this.data.background.url){var t=TL.MediaType(this.data.background,!0);t&&(this._background_media=new t.cls(this.data.background,{background:1}),this.has.background.image=!0,this._el.container.className+=\" tl-full-image-background\",this.has.background.color_value=\"#000\",this._el.background.style.display=\"block\")}this.data.background.color&&(this.has.background.color=!0,this._el.container.className+=\" tl-full-color-background\",this.has.background.color_value=this.data.background.color),this.data.background.text_background&&(this._el.container.className+=\" tl-text-background\")}this.data.media&&this.data.media.url&&\"\"!=this.data.media.url&&(this.has.media=!0),this.data.text&&this.data.text.text&&(this.has.text=!0),this.data.text&&this.data.text.headline&&(this.has.headline=!0),this.has.media&&(this.data.media.mediatype=TL.MediaType(this.data.media),this.options.media_name=this.data.media.mediatype.name,this.options.media_type=this.data.media.mediatype.type,this.options.autolink=this.data.autolink,this._media=new this.data.media.mediatype.cls(this.data.media,this.options)),(this.has.text||this.has.headline)&&(this._text=new TL.Media.Text(this.data.text,{title:this.has.title,language:this.options.language,autolink:this.data.autolink}),this._text.addDateText(this.getFormattedDate())),this.has.text||this.has.headline||!this.has.media?this.has.headline&&this.has.media&&!this.has.text?(TL.DomUtil.addClass(this._el.container,\"tl-slide-media-only\"),this._text.addTo(this._el.content),this._media.addTo(this._el.content)):this.has.text&&this.has.media?(this._media.addTo(this._el.content),this._text.addTo(this._el.content)):(this.has.text||this.has.headline)&&(TL.DomUtil.addClass(this._el.container,\"tl-slide-text-only\"),this._text.addTo(this._el.content)):(TL.DomUtil.addClass(this._el.container,\"tl-slide-media-only\"),this._media.addTo(this._el.content)),this.onLoaded()},_initEvents:function(){},_updateDisplay:function(t,e,i){var n,a=this.options.slide_padding_lr,s=this.options.slide_padding_lr;t?this.options.width=t:this.options.width=this._el.container.offsetWidth,n=this.options.width-2*this.options.slide_padding_lr,TL.Browser.mobile&&this.options.width<=this.options.skinny_size?(a=0,s=0,n=this.options.width):\"landscape\"==i||this.options.width<=this.options.skinny_size&&(a=50,s=50,n=this.options.width-a-s),this._el.content.style.paddingLeft=a+\"px\",this._el.content.style.paddingRight=s+\"px\",this._el.content.style.width=n+\"px\",e?this.options.height=e:this.options.height=this._el.container.offsetHeight,this._media&&(!this.has.text&&this.has.headline?this._media.updateDisplay(n,this.options.height-this._text.headlineHeight(),i):this.has.text||this.has.headline?this.options.width<=this.options.skinny_size?this._media.updateDisplay(n,this.options.height,i):this._media.updateDisplay(n/2,this.options.height,i):this._media.updateDisplay(n,this.options.height,i)),this._updateBackgroundDisplay()},_updateBackgroundDisplay:function(){this._background_media&&this._background_media._state.loaded&&(this._el.background.style.backgroundImage=\"url('\"+this._background_media.getImageURL(this.options.width,this.options.height)+\"')\")}}),TL.SlideNav=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t,e,i){this._el={container:{},content_container:{},icon:{},title:{},description:{}},this.mediatype={},this.data={title:\"Navigation\",description:\"Description\",date:\"Date\"},this.options={direction:\"previous\"},this.animator=null,TL.Util.mergeData(this.options,e),TL.Util.mergeData(this.data,t),this._el.container=TL.Dom.create(\"div\",\"tl-slidenav-\"+this.options.direction),TL.Browser.mobile&&this._el.container.setAttribute(\"ontouchstart\",\" \"),this._initLayout(),this._initEvents(),i&&i.appendChild(this._el.container)},update:function(t){var e={title:\"\",description:\"\",date:t.getFormattedDate()};t.data.text&&t.data.text.headline&&(e.title=t.data.text.headline),this._update(e)},setColor:function(t){t?this._el.content_container.className=\"tl-slidenav-content-container tl-slidenav-inverted\":this._el.content_container.className=\"tl-slidenav-content-container\"},_onMouseClick:function(){this.fire(\"clicked\",this.options)},_update:function(t){this.data=TL.Util.mergeData(this.data,t),this._el.title.innerHTML=TL.Util.unlinkify(this.data.title),this._el.description.innerHTML=TL.Util.unlinkify(this.data.date)},_initLayout:function(){this._el.content_container=TL.Dom.create(\"div\",\"tl-slidenav-content-container\",this._el.container),this._el.icon=TL.Dom.create(\"div\",\"tl-slidenav-icon\",this._el.content_container),this._el.title=TL.Dom.create(\"div\",\"tl-slidenav-title\",this._el.content_container),this._el.description=TL.Dom.create(\"div\",\"tl-slidenav-description\",this._el.content_container),this._el.icon.innerHTML=\"&nbsp;\",this._update()},_initEvents:function(){TL.DomEvent.addListener(this._el.container,\"click\",this._onMouseClick,this)}}),TL.StorySlider=TL.Class.extend({includes:[TL.Events,TL.I18NMixins],initialize:function(t,e,i,n){this._el={container:{},background:{},slider_container_mask:{},slider_container:{},slider_item_container:{}},this._nav={},this._nav.previous={},this._nav.next={},this.slide_spacing=0,this._slides=[],this._swipable,this.preloadTimer,this._message,this.current_id=\"\",this.data={},this.options={id:\"\",layout:\"portrait\",width:600,height:600,default_bg_color:{r:255,g:255,b:255},slide_padding_lr:40,start_at_slide:1,slide_default_fade:\"0%\",duration:1e3,ease:TL.Ease.easeInOutQuint,dragging:!0,trackResize:!0},\"object\"==typeof t?(this._el.container=t,this.options.id=TL.Util.unique_ID(6,\"tl\")):(this.options.id=t,this._el.container=TL.Dom.get(t)),this._el.container.id||(this._el.container.id=this.options.id),this.animator=null,TL.Util.mergeData(this.options,i),TL.Util.mergeData(this.data,e),n&&this.init()},init:function(){this._initLayout(),this._initEvents(),this._initData(),this._updateDisplay(),this.goTo(this.options.start_at_slide),this._onLoaded()},_addSlide:function(t){t.addTo(this._el.slider_item_container),t.on(\"added\",this._onSlideAdded,this),t.on(\"background_change\",this._onBackgroundChange,this)},_createSlide:function(t,e,i){var n=new TL.Slide(t,this.options,e);this._addSlide(n),i<0?this._slides.push(n):this._slides.splice(i,0,n)},_createSlides:function(t){for(var e=0;e<t.length;e++)\"\"==t[e].unique_id&&(t[e].unique_id=TL.Util.unique_ID(6,\"tl-slide\")),this._createSlide(t[e],!1,-1)},_removeSlide:function(t){t.removeFrom(this._el.slider_item_container),t.off(\"added\",this._onSlideRemoved,this),t.off(\"background_change\",this._onBackgroundChange)},_destroySlide:function(t){this._removeSlide(this._slides[t]),this._slides.splice(t,1)},_findSlideIndex:function(t){var e=t;return(\"string\"==typeof t||t instanceof String)&&(e=TL.Util.findArrayNumberByUniqueID(t,this._slides,\"unique_id\")),e},updateDisplay:function(t,e,i,n){this._updateDisplay(t,e,i,n)},createSlide:function(t,e){this._createSlide(t,!1,e)},createSlides:function(t){this._createSlides(t)},destroySlide:function(t){this._destroySlide(t)},destroySlideId:function(t){this.destroySlide(this._findSlideIndex(t))},goTo:function(t,e,i){t=parseInt(t),isNaN(t)&&(t=0);var n=this;this.changeBackground({color_value:\"\",image:!1}),this.preloadTimer&&clearTimeout(this.preloadTimer);for(var a=0;a<this._slides.length;a++)this._slides[a].setActive(!1);t<this._slides.length&&t>=0&&(this.current_id=this._slides[t].data.unique_id,this.animator&&this.animator.stop(),this._swipable&&this._swipable.stopMomentum(),e?(this._el.slider_container.style.left=-(this.slide_spacing*t)+\"px\",this._onSlideChange(i)):this.animator=TL.Animate(this._el.slider_container,{left:-(this.slide_spacing*t)+\"px\",duration:this.options.duration,easing:this.options.ease,complete:this._onSlideChange(i)}),this._slides[t].setActive(!0),this._slides[t+1]?(this.showNav(this._nav.next,!0),this._nav.next.update(this._slides[t+1])):this.showNav(this._nav.next,!1),this._slides[t-1]?(this.showNav(this._nav.previous,!0),this._nav.previous.update(this._slides[t-1])):this.showNav(this._nav.previous,!1),this.preloadTimer=setTimeout(function(){n.preloadSlides(t)},this.options.duration))},goToId:function(t,e,i){this.goTo(this._findSlideIndex(t),e,i)},preloadSlides:function(t){this._slides[t+1]&&(this._slides[t+1].loadMedia(),this._slides[t+1].scrollToTop()),this._slides[t+2]&&(this._slides[t+2].loadMedia(),this._slides[t+2].scrollToTop()),this._slides[t-1]&&(this._slides[t-1].loadMedia(),this._slides[t-1].scrollToTop()),this._slides[t-2]&&(this._slides[t-2].loadMedia(),this._slides[t-2].scrollToTop())},next:function(){var t=this._findSlideIndex(this.current_id);t+1<this._slides.length?this.goTo(t+1):this.goTo(t)},previous:function(){var t=this._findSlideIndex(this.current_id);t-1>=0?this.goTo(t-1):this.goTo(t)},showNav:function(t,e){this.options.width<=500&&TL.Browser.mobile||(e?t.show():t.hide())},changeBackground:function(t){var e,i={r:256,g:256,b:256};t.color_value&&\"\"!=t.color_value?(i=TL.Util.hexToRgb(t.color_value),i||(trace(\"Invalid color value \"+t.color_value),i=this.options.default_bg_color)):(i=this.options.default_bg_color,t.color_value=\"rgb(\"+i.r+\" , \"+i.g+\", \"+i.b+\")\"),e=i.r+\",\"+i.g+\",\"+i.b,this._el.background.style.backgroundImage=\"none\",t.color_value?this._el.background.style.backgroundColor=t.color_value:this._el.background.style.backgroundColor=\"transparent\",i.r<255||i.g<255||i.b<255||t.image?(this._nav.next.setColor(!0),this._nav.previous.setColor(!0)):(this._nav.next.setColor(!1),this._nav.previous.setColor(!1))},_updateDisplay:function(t,e,i,n){var a,s;s=\"undefined\"==typeof n?this.options.layout:n,this.options.layout=s,this.slide_spacing=2*this.options.width,t?this.options.width=t:this.options.width=this._el.container.offsetWidth,e?this.options.height=e:this.options.height=this._el.container.offsetHeight,a=this.options.height/2,this._nav.next.setPosition({top:a}),this._nav.previous.setPosition({top:a});for(var o=0;o<this._slides.length;o++)this._slides[o].updateDisplay(this.options.width,this.options.height,s),this._slides[o].setPosition({left:this.slide_spacing*o,top:0});this.goToId(this.current_id,!0,!0)},_updateDrawSlides:function(){for(var t=this.options.layout,e=0;e<this._slides.length;e++)this._slides[e].updateDisplay(this.options.width,this.options.height,t),this._slides[e].setPosition({left:this.slide_spacing*e,top:0});this.goToId(this.current_id,!0,!1)},_initLayout:function(){TL.DomUtil.addClass(this._el.container,\"tl-storyslider\"),this._el.slider_container_mask=TL.Dom.create(\"div\",\"tl-slider-container-mask\",this._el.container),this._el.background=TL.Dom.create(\"div\",\"tl-slider-background tl-animate\",this._el.container),this._el.slider_container=TL.Dom.create(\"div\",\"tl-slider-container tlanimate\",this._el.slider_container_mask),this._el.slider_item_container=TL.Dom.create(\"div\",\"tl-slider-item-container\",this._el.slider_container),this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this._nav.previous=new TL.SlideNav({title:\"Previous\",description:\"description\"},{direction:\"previous\"}),this._nav.next=new TL.SlideNav({title:\"Next\",description:\"description\"},{direction:\"next\"}),this._nav.next.addTo(this._el.container),this._nav.previous.addTo(this._el.container),this._el.slider_container.style.left=\"0px\",TL.Browser.touch&&(this._swipable=new TL.Swipable(this._el.slider_container_mask,this._el.slider_container,{enable:{x:!0,y:!1},snap:!0}),this._swipable.enable(),this._message=new TL.Message({},{message_class:\"tl-message-full\",message_icon_class:\"tl-icon-swipe-left\"}),this._message.updateMessage(this._(\"swipe_to_navigate\")),this._message.addTo(this._el.container))},_initEvents:function(){this._nav.next.on(\"clicked\",this._onNavigation,this),this._nav.previous.on(\"clicked\",this._onNavigation,this),this._message&&this._message.on(\"clicked\",this._onMessageClick,this),this._swipable&&(this._swipable.on(\"swipe_left\",this._onNavigation,this),this._swipable.on(\"swipe_right\",this._onNavigation,this),this._swipable.on(\"swipe_nodirection\",this._onSwipeNoDirection,this))},_initData:function(){this.data.title&&this._createSlide(this.data.title,!0,-1),this._createSlides(this.data.events)},_onBackgroundChange:function(t){var e=this._findSlideIndex(this.current_id),i=this._slides[e].getBackground();this.changeBackground(t),this.fire(\"colorchange\",i)},_onMessageClick:function(t){this._message.hide()},_onSwipeNoDirection:function(t){this.goToId(this.current_id)},_onNavigation:function(t){\"next\"==t.direction||\"left\"==t.direction?this.next():\"previous\"!=t.direction&&\"right\"!=t.direction||this.previous(),this.fire(\"nav_\"+t.direction,this.data)},_onSlideAdded:function(t){trace(\"slideadded\"),this.fire(\"slideAdded\",this.data)},_onSlideRemoved:function(t){this.fire(\"slideRemoved\",this.data)},_onSlideChange:function(t){t||this.fire(\"change\",{unique_id:this.current_id})},_onMouseClick:function(t){},_fireMouseEvent:function(t){if(this._loaded){var e=t.type;e=\"mouseenter\"===e?\"mouseover\":\"mouseleave\"===e?\"mouseout\":e,this.hasEventListeners(e)&&(\"contextmenu\"===e&&TL.DomEvent.preventDefault(t),this.fire(e,{latlng:\"something\",layerPoint:\"something else\"}))}},_onLoaded:function(){this.fire(\"loaded\",this.data)}}),TL.TimeNav=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t,e,i,n){this._el={parent:{},container:{},slider:{},slider_background:{},line:{},marker_container_mask:{},marker_container:{},marker_item_container:{},timeaxis:{},timeaxis_background:{},attribution:{}},this.collapsed=!1,\"object\"==typeof t?this._el.container=t:this._el.container=TL.Dom.get(t),this.config=e,this.options={width:600,height:600,duration:1e3,ease:TL.Ease.easeInOutQuint,has_groups:!1,optimal_tick_width:50,scale_factor:2,marker_padding:5,timenav_height_min:150,marker_height_min:30,marker_width_min:100,zoom_sequence:[.5,1,2,3,5,8,13,21,34,55,89]},this.animator=null,this.ready=!1,this._markers=[],this._eras=[],this.has_eras=!1,this._groups=[],this._calculated_row_height=100,this.current_id=\"\",this.timescale={},this.timeaxis={},this.axishelper={},this.max_rows=6,this.animate_css=!1,this._swipable,TL.Util.mergeData(this.options,i),n&&this.init()},init:function(){this._initLayout(),this._initEvents(),this._initData(),this._updateDisplay(),this._onLoaded()},positionMarkers:function(){this._positionMarkers()},updateDisplay:function(t,e,i,n){this._updateDisplay(t,e,i,n)},_getTimeScale:function(){var t=0;try{t=parseInt(this.options.marker_height_min)}catch(e){trace(\"Invalid value for marker_height_min option.\"),t=30}return 0==t&&(trace(\"marker_height_min option must not be zero.\"),t=30),this.max_rows=Math.round((this.options.height-this._el.timeaxis_background.offsetHeight-this.options.marker_padding)/t),this.max_rows<1&&(this.max_rows=1),new TL.TimeScale(this.config,{display_width:this._el.container.offsetWidth,screen_multiplier:this.options.scale_factor,max_rows:this.max_rows})},_updateTimeScale:function(t){this.options.scale_factor=t,this._updateDrawTimeline()},zoomIn:function(){var t=TL.Util.findNextGreater(this.options.zoom_sequence,this.options.scale_factor);this.setZoomFactor(t)},zoomOut:function(){var t=TL.Util.findNextLesser(this.options.zoom_sequence,this.options.scale_factor);this.setZoomFactor(t)},setZoom:function(t){var e=this.options.zoom_sequence[t];\"number\"==typeof e?this.setZoomFactor(e):console.warn(\"Invalid zoom level. Please use an index number between 0 and \"+(this.options.zoom_sequence.length-1))},setZoomFactor:function(t){t<=this.options.zoom_sequence[0]?this.fire(\"zoomtoggle\",{zoom:\"out\",show:!1}):this.fire(\"zoomtoggle\",{zoom:\"out\",show:!0}),t>=this.options.zoom_sequence[this.options.zoom_sequence.length-1]?this.fire(\"zoomtoggle\",{zoom:\"in\",show:!1}):this.fire(\"zoomtoggle\",{zoom:\"in\",show:!0}),0==t&&(console.warn(\"Zoom factor must be greater than zero. Using 0.1\"),t=.1),this.options.scale_factor=t,this.goToId(this.current_id,!this._updateDrawTimeline(!0),!0)},_createGroups:function(){var t=this.timescale.getGroupLabels();if(t){this.options.has_groups=!0;for(var e=0;e<t.length;e++)this._createGroup(t[e])}},_createGroup:function(t){var e=new TL.TimeGroup(t);this._addGroup(e),this._groups.push(e)},_addGroup:function(t){t.addTo(this._el.container)},_positionGroups:function(){if(this.options.has_groups)for(var t=this.options.height-this._el.timeaxis_background.offsetHeight,e=Math.floor(t/this.timescale.getNumberOfRows()-this.options.marker_padding),i=(this.timescale.getGroupLabels(),0),n=0;i<this._groups.length;i++){var a=Math.floor(n*(e+this.options.marker_padding)),s=!1;a>t-this.options.marker_padding&&(s=!0),this._groups[i].setRowPosition(a,this._calculated_row_height+this.options.marker_padding/2),this._groups[i].setAlternateRowColor(TL.Util.isEven(i),s),n+=this._groups[i].data.rows}},_addMarker:function(t){t.addTo(this._el.marker_item_container),t.on(\"markerclick\",this._onMarkerClick,this),t.on(\"added\",this._onMarkerAdded,this)},_createMarker:function(t,e){var i=new TL.TimeMarker(t,this.options);this._addMarker(i),e<0?this._markers.push(i):this._markers.splice(e,0,i)},_createMarkers:function(t){for(var e=0;e<t.length;e++)this._createMarker(t[e],-1)},_removeMarker:function(t){t.removeFrom(this._el.marker_item_container)},_destroyMarker:function(t){this._removeMarker(this._markers[t]),this._markers.splice(t,1)},_positionMarkers:function(t){for(var e=0;e<this._markers.length;e++){var i=this.timescale.getPositionInfo(e);t?this._markers[e].setClass(\"tl-timemarker tl-timemarker-fast\"):this._markers[e].setClass(\"tl-timemarker\"),this._markers[e].setPosition({left:i.start}),this._markers[e].setWidth(i.width)}},_calculateMarkerHeight:function(t){return t/this.timescale.getNumberOfRows()-this.options.marker_padding},_calculateRowHeight:function(t){return t/this.timescale.getNumberOfRows()},_calculateAvailableHeight:function(){return this.options.height-this._el.timeaxis_background.offsetHeight-this.options.marker_padding},_calculateMinimumTimeNavHeight:function(){return this.timescale.getNumberOfRows()*this.options.marker_height_min+this._el.timeaxis_background.offsetHeight+this.options.marker_padding},getMinimumHeight:function(){return this._calculateMinimumTimeNavHeight()},_assignRowsToMarkers:function(){var t=this._calculateAvailableHeight(),e=this._calculateMarkerHeight(t);this._positionGroups(),this._calculated_row_height=this._calculateRowHeight(t);for(var i=0;i<this._markers.length;i++){this._markers[i].setHeight(e);var n=this.timescale.getPositionInfo(i).row,a=Math.floor(n*(e+this.options.marker_padding))+this.options.marker_padding,s=t-a+this.options.marker_padding;this._markers[i].setRowPosition(a,s)}},_resetMarkersActive:function(){for(var t=0;t<this._markers.length;t++)this._markers[t].setActive(!1)},_findMarkerIndex:function(t){var e=-1;return(\"string\"==typeof t||t instanceof String)&&(e=TL.Util.findArrayNumberByUniqueID(t,this._markers,\"unique_id\",e)),e},_createEras:function(t){for(var e=0;e<t.length;e++)this._createEra(t[e],-1)},_createEra:function(t,e){var i=new TL.TimeEra(t,this.options);this._addEra(i),e<0?this._eras.push(i):this._eras.splice(e,0,i)},_addEra:function(t){t.addTo(this._el.marker_item_container),t.on(\"added\",this._onEraAdded,this)},_removeEra:function(t){t.removeFrom(this._el.marker_item_container)},_destroyEra:function(t){this._removeEra(this._eras[t]),this._eras.splice(t,1)},_positionEras:function(t){for(var e=0,i=0;i<this._eras.length;i++){var n={start:0,end:0,width:0};n.start=this.timescale.getPosition(this._eras[i].data.start_date.getTime()),n.end=this.timescale.getPosition(this._eras[i].data.end_date.getTime()),n.width=n.end-n.start,t?this._eras[i].setClass(\"tl-timeera tl-timeera-fast\"):this._eras[i].setClass(\"tl-timeera\"),this._eras[i].setPosition({left:n.start}),this._eras[i].setWidth(n.width),e++,e>5&&(e=0),this._eras[i].setColor(e)}},createMarker:function(t,e){this._createMarker(t,e)},createMarkers:function(t){this._createMarkers(t)},destroyMarker:function(t){this._destroyMarker(t)},destroyMarkerId:function(t){this.destroyMarker(this._findMarkerIndex(t))},goTo:function(t,e,i){var n=this.options.ease,a=this.options.duration,s=t<0?0:t;this._resetMarkersActive(),t>=0&&t<this._markers.length&&this._markers[t].setActive(!0),this.animator&&this.animator.stop(),e?(this._el.slider.className=\"tl-timenav-slider\",this._el.slider.style.left=-this._markers[s].getLeft()+this.options.width/2+\"px\"):i?(this._el.slider.className=\"tl-timenav-slider tl-timenav-slider-animate\",this.animate_css=!0,this._el.slider.style.left=-this._markers[s].getLeft()+this.options.width/2+\"px\"):(this._el.slider.className=\"tl-timenav-slider\",this.animator=TL.Animate(this._el.slider,{left:-this._markers[s].getLeft()+this.options.width/2+\"px\",duration:a,easing:n})),t>=0&&t<this._markers.length?this.current_id=this._markers[t].data.unique_id:this.current_id=\"\"},goToId:function(t,e,i){this.goTo(this._findMarkerIndex(t),e,i)},_onLoaded:function(){this.ready=!0,this.fire(\"loaded\",this.config)},_onMarkerAdded:function(t){this.fire(\"dateAdded\",this.config)},_onEraAdded:function(t){this.fire(\"eraAdded\",this.config)},_onMarkerRemoved:function(t){this.fire(\"dateRemoved\",this.config)},_onMarkerClick:function(t){this.goToId(t.unique_id),this.fire(\"change\",{unique_id:t.unique_id})},_onMouseScroll:function(t){var e=0,i=0,n={right:-(this.timescale.getPixelWidth()-this.options.width/2),left:this.options.width/2};t||(t=window.event),t.originalEvent&&(t=t.originalEvent),\"undefined\"!=typeof t.wheelDeltaX&&(e=t.wheelDeltaY/6,e=Math.abs(t.wheelDeltaX)>Math.abs(t.wheelDeltaY)?t.wheelDeltaX/6:0),e&&(t.preventDefault&&t.preventDefault(),t.returnValue=!1),i=parseInt(this._el.slider.style.left.replace(\"px\",\"\"))+e,i>n.left?i=n.left:i<n.right&&(i=n.right),this.animate_css&&(this._el.slider.className=\"tl-timenav-slider\",this.animate_css=!1),this._el.slider.style.left=i+\"px\"},_onDragMove:function(t){this.animate_css&&(this._el.slider.className=\"tl-timenav-slider\",this.animate_css=!1)},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&e!=this.options.height&&(this.options.height=e,this.timescale=this._getTimeScale()),this._assignRowsToMarkers(),this._el.slider_background.style.width=this.timescale.getPixelWidth()+this.options.width+\"px\",this._el.slider_background.style.left=-(this.options.width/2)+\"px\",this._el.slider.style.width=this.timescale.getPixelWidth()+this.options.width+\"px\",this._swipable.updateConstraint({top:!1,bottom:!1,left:this.options.width/2,right:-(this.timescale.getPixelWidth()-this.options.width/2)}),this.goToId(this.current_id,!0)},_drawTimeline:function(t){this.timescale=this._getTimeScale(),this.timeaxis.drawTicks(this.timescale,this.options.optimal_tick_width),this._positionMarkers(t),this._assignRowsToMarkers(),this._createGroups(),this._positionGroups(),this.has_eras&&this._positionEras(t)},_updateDrawTimeline:function(t){var e=!1;if(t){var i=new TL.TimeScale(this.config,{display_width:this._el.container.offsetWidth,screen_multiplier:this.options.scale_factor,max_rows:this.max_rows});this.timescale.getMajorScale()==i.getMajorScale()&&this.timescale.getMinorScale()==i.getMinorScale()&&(e=!0)}else e=!0;return e?(this.timescale=this._getTimeScale(),this.timeaxis.positionTicks(this.timescale,this.options.optimal_tick_width),this._positionMarkers(),this._assignRowsToMarkers(),this._positionGroups(),this.has_eras&&this._positionEras(),this._updateDisplay()):this._drawTimeline(!0),e},_initLayout:function(){this._el.attribution=TL.Dom.create(\"div\",\"tl-attribution\",this._el.container),this._el.line=TL.Dom.create(\"div\",\"tl-timenav-line\",this._el.container),this._el.slider=TL.Dom.create(\"div\",\"tl-timenav-slider\",this._el.container),this._el.slider_background=TL.Dom.create(\"div\",\"tl-timenav-slider-background\",this._el.slider),this._el.marker_container_mask=TL.Dom.create(\"div\",\"tl-timenav-container-mask\",this._el.slider),this._el.marker_container=TL.Dom.create(\"div\",\"tl-timenav-container\",this._el.marker_container_mask),this._el.marker_item_container=TL.Dom.create(\"div\",\"tl-timenav-item-container\",this._el.marker_container),this._el.timeaxis=TL.Dom.create(\"div\",\"tl-timeaxis\",this._el.slider),this._el.timeaxis_background=TL.Dom.create(\"div\",\"tl-timeaxis-background\",this._el.container),this._el.attribution.innerHTML=\"<a href='http://timeline.knightlab.com' target='_blank'><span class='tl-knightlab-logo'></span>Timeline JS</a>\",this.timeaxis=new TL.TimeAxis(this._el.timeaxis,this.options),this._swipable=new TL.Swipable(this._el.slider_background,this._el.slider,{enable:{x:!0,y:!1},constraint:{top:!1,bottom:!1,left:this.options.width/2,right:!1},snap:!1}),this._swipable.enable()},_initEvents:function(){this._swipable.on(\"dragmove\",this._onDragMove,this),TL.DomEvent.addListener(this._el.container,\"mousewheel\",this._onMouseScroll,this),TL.DomEvent.addListener(this._el.container,\"DOMMouseScroll\",this._onMouseScroll,this)},_initData:function(){this._createMarkers(this.config.events),this.config.eras&&(this.has_eras=!0,this._createEras(this.config.eras)),this._drawTimeline()}}),TL.TimeMarker=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t,e){this._el={container:{},content_container:{},media_container:{},timespan:{},line_left:{},line_right:{},content:{},text:{},media:{}},this._text={},this._state={loaded:!1},this.data={unique_id:\"\",background:null,date:{year:0,month:0,day:0,hour:0,minute:0,second:0,millisecond:0,thumbnail:\"\",format:\"\"},text:{headline:\"\",text:\"\"},media:null},this.options={duration:1e3,ease:TL.Ease.easeInSpline,width:600,height:600,marker_width_min:100},this.active=!1,this.animator={},this.has_end_date=!1,TL.Util.mergeData(this.options,e),TL.Util.mergeData(this.data,t),this._initLayout(),this._initEvents()},show:function(){},hide:function(){},setActive:function(t){this.active=t,this.active&&this.has_end_date?this._el.container.className=\"tl-timemarker tl-timemarker-with-end tl-timemarker-active\":this.active?this._el.container.className=\"tl-timemarker tl-timemarker-active\":this.has_end_date?this._el.container.className=\"tl-timemarker tl-timemarker-with-end\":this._el.container.className=\"tl-timemarker\"},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},updateDisplay:function(t,e){this._updateDisplay(t,e)},loadMedia:function(){this._media&&!this._state.loaded&&(this._media.loadMedia(),this._state.loaded=!0)},stopMedia:function(){this._media&&this._state.loaded&&this._media.stopMedia()},getLeft:function(){return this._el.container.style.left.slice(0,-2)},getTime:function(){return this.data.start_date.getTime()},getEndTime:function(){return!!this.data.end_date&&this.data.end_date.getTime()},setHeight:function(t){var e=12,i=1;this._el.content_container.style.height=t+\"px\",this._el.timespan_content.style.height=t+\"px\",t<=30?this._el.content.className=\"tl-timemarker-content tl-timemarker-content-small\":this._el.content.className=\"tl-timemarker-content\",t<=56?TL.DomUtil.addClass(this._el.content_container,\"tl-timemarker-content-container-small\"):TL.DomUtil.removeClass(this._el.content_container,\"tl-timemarker-content-container-small\"),TL.Browser.webkit?(i=Math.floor(t/(e+2)),i<1&&(i=1),this._text.className=\"tl-headline\",this._text.style.webkitLineClamp=i):(i=t/e,i>1?this._text.className=\"tl-headline tl-headline-fadeout\":this._text.className=\"tl-headline\",this._text.style.height=i*e+\"px\")},setWidth:function(t){this.data.end_date&&(this._el.container.style.width=t+\"px\",t>this.options.marker_width_min?(this._el.content_container.style.width=t+\"px\",this._el.content_container.className=\"tl-timemarker-content-container tl-timemarker-content-container-long\"):(this._el.content_container.style.width=this.options.marker_width_min+\"px\",this._el.content_container.className=\"tl-timemarker-content-container\"))},setClass:function(t){this._el.container.className=t},setRowPosition:function(t,e){this.setPosition({top:t}),this._el.timespan.style.height=e+\"px\"},_onMarkerClick:function(t){this.fire(\"markerclick\",{unique_id:this.data.unique_id})},_initLayout:function(){if(this._el.container=TL.Dom.create(\"div\",\"tl-timemarker\"),this.data.unique_id&&(this._el.container.id=this.data.unique_id+\"-marker\"),this.data.end_date&&(this.has_end_date=!0,this._el.container.className=\"tl-timemarker tl-timemarker-with-end\"),this._el.timespan=TL.Dom.create(\"div\",\"tl-timemarker-timespan\",this._el.container),this._el.timespan_content=TL.Dom.create(\"div\",\"tl-timemarker-timespan-content\",this._el.timespan),this._el.content_container=TL.Dom.create(\"div\",\"tl-timemarker-content-container\",this._el.container),this._el.content=TL.Dom.create(\"div\",\"tl-timemarker-content\",this._el.content_container),this._el.line_left=TL.Dom.create(\"div\",\"tl-timemarker-line-left\",this._el.timespan),this._el.line_right=TL.Dom.create(\"div\",\"tl-timemarker-line-right\",this._el.timespan),this.data.media){this._el.media_container=TL.Dom.create(\"div\",\"tl-timemarker-media-container\",this._el.content);\nvar t={url:this.data.media.thumbnail},e=this.data.media.thumbnail?TL.MediaType(t,!0):null;if(e){var i=new e.cls(t);i.on(\"loaded\",function(){this._el.media=TL.Dom.create(\"img\",\"tl-timemarker-media\",this._el.media_container),this._el.media.src=i.getImageURL()}.bind(this)),i.loadMedia()}else{var n=TL.MediaType(this.data.media).type;this._el.media=TL.Dom.create(\"span\",\"tl-icon-\"+n,this._el.media_container)}}this._el.text=TL.Dom.create(\"div\",\"tl-timemarker-text\",this._el.content),this._text=TL.Dom.create(\"h2\",\"tl-headline\",this._el.text),this.data.text.headline&&\"\"!=this.data.text.headline?this._text.innerHTML=TL.Util.unlinkify(this.data.text.headline):this.data.text.text&&\"\"!=this.data.text.text?this._text.innerHTML=TL.Util.unlinkify(this.data.text.text):this.data.media.caption&&\"\"!=this.data.media.caption&&(this._text.innerHTML=TL.Util.unlinkify(this.data.media.caption)),this.onLoaded()},_initEvents:function(){TL.DomEvent.addListener(this._el.container,\"click\",this._onMarkerClick,this)},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),TL.TimeEra=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t,e){this._el={container:{},background:{},content_container:{},content:{},text:{}},this._text={},this._state={loaded:!1},this.data={unique_id:\"\",date:{year:0,month:0,day:0,hour:0,minute:0,second:0,millisecond:0,thumbnail:\"\",format:\"\"},text:{headline:\"\",text:\"\"}},this.options={duration:1e3,ease:TL.Ease.easeInSpline,width:600,height:600,marker_width_min:100},this.active=!1,this.animator={},this.has_end_date=!1,TL.Util.mergeData(this.options,e),TL.Util.mergeData(this.data,t),this._initLayout(),this._initEvents()},show:function(){},hide:function(){},setActive:function(t){},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},updateDisplay:function(t,e){this._updateDisplay(t,e)},getLeft:function(){return this._el.container.style.left.slice(0,-2)},getTime:function(){return this.data.start_date.getTime()},getEndTime:function(){return!!this.data.end_date&&this.data.end_date.getTime()},setHeight:function(t){var e=12,i=1;this._el.content_container.style.height=t+\"px\",this._el.content.className=\"tl-timeera-content\",TL.Browser.webkit?(i=Math.floor(t/(e+2)),i<1&&(i=1),this._text.className=\"tl-headline\",this._text.style.webkitLineClamp=i):(i=t/e,i>1?this._text.className=\"tl-headline tl-headline-fadeout\":this._text.className=\"tl-headline\",this._text.style.height=i*e+\"px\")},setWidth:function(t){this.data.end_date&&(this._el.container.style.width=t+\"px\",t>this.options.marker_width_min?(this._el.content_container.style.width=t+\"px\",this._el.content_container.className=\"tl-timeera-content-container tl-timeera-content-container-long\"):(this._el.content_container.style.width=this.options.marker_width_min+\"px\",this._el.content_container.className=\"tl-timeera-content-container\"))},setClass:function(t){this._el.container.className=t},setRowPosition:function(t,e){this.setPosition({top:t})},setColor:function(t){this._el.container.className=\"tl-timeera tl-timeera-color\"+t},_initLayout:function(){this._el.container=TL.Dom.create(\"div\",\"tl-timeera\"),this.data.unique_id&&(this._el.container.id=this.data.unique_id+\"-era\"),this.data.end_date&&(this.has_end_date=!0,this._el.container.className=\"tl-timeera tl-timeera-with-end\"),this._el.content_container=TL.Dom.create(\"div\",\"tl-timeera-content-container\",this._el.container),this._el.background=TL.Dom.create(\"div\",\"tl-timeera-background\",this._el.content_container),this._el.content=TL.Dom.create(\"div\",\"tl-timeera-content\",this._el.content_container),this._el.text=TL.Dom.create(\"div\",\"tl-timeera-text\",this._el.content),this._text=TL.Dom.create(\"h2\",\"tl-headline\",this._el.text),this.data.text.headline&&\"\"!=this.data.text.headline&&(this._text.innerHTML=TL.Util.unlinkify(this.data.text.headline)),this.onLoaded()},_initEvents:function(){},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),TL.TimeGroup=TL.Class.extend({includes:[TL.Events,TL.DomMixins],_el:{},initialize:function(t){this._el={parent:{},container:{},message:{}},this.options={width:600,height:600},this.data={label:\"\",rows:1},this._el.container=TL.Dom.create(\"div\",\"tl-timegroup\"),TL.Util.mergeData(this.data,t),this.animator={},this._initLayout(),this._initEvents()},updateDisplay:function(t,e){},setRowPosition:function(t,e){this.options.height=e*this.data.rows,this.setPosition({top:t}),this._el.container.style.height=this.options.height+\"px\"},setAlternateRowColor:function(t,e){var i=\"tl-timegroup\";t&&(i+=\" tl-timegroup-alternate\"),e&&(i+=\" tl-timegroup-hidden\"),this._el.container.className=i},_onMouseClick:function(){this.fire(\"clicked\",this.options)},_initLayout:function(){this._el.message=TL.Dom.create(\"div\",\"tl-timegroup-message\",this._el.container),this._el.message.innerHTML=this.data.label},_initEvents:function(){TL.DomEvent.addListener(this._el.container,\"click\",this._onMouseClick,this)},_updateDisplay:function(t,e,i){}}),TL.TimeScale=TL.Class.extend({initialize:function(t,e){var i=t.events;this._scale=t.scale,e=TL.Util.mergeData({display_width:500,screen_multiplier:3,max_rows:null},e),this._display_width=e.display_width,this._screen_multiplier=e.screen_multiplier,this._pixel_width=this._screen_multiplier*this._display_width,this._group_labels=void 0,this._positions=[],this._pixels_per_milli=0,this._earliest=t.getEarliestDate().getTime(),this._latest=t.getLatestDate().getTime(),this._span_in_millis=this._latest-this._earliest,this._span_in_millis<=0&&(this._span_in_millis=this._computeDefaultSpan(t)),this._average=this._span_in_millis/i.length,this._pixels_per_milli=this.getPixelWidth()/this._span_in_millis,this._axis_helper=TL.AxisHelper.getBestHelper(this),this._scaled_padding=1/this.getPixelsPerTick()*(this._display_width/2),this._computePositionInfo(i,e.max_rows)},_computeDefaultSpan:function(t){if(\"human\"==t.scale){for(var e={},i=0;i<t.events.length;i++){var n=t.events[i].start_date.findBestFormat();e[n]=e[n]?e[n]+1:1}for(var i=TL.Date.SCALES.length-1;i>=0;i--)if(e.hasOwnProperty(TL.Date.SCALES[i][0])){var a=TL.Date.SCALES[TL.Date.SCALES.length-1];return TL.Date.SCALES[i+1]&&(a=TL.Date.SCALES[i+1]),a[1]}return 31536e6}return 2e5},getGroupLabels:function(){return this._group_labels||[]},getScale:function(){return this._scale},getNumberOfRows:function(){return this._number_of_rows},getPixelWidth:function(){return this._pixel_width},getPosition:function(t){return(t-this._earliest)*this._pixels_per_milli},getPositionInfo:function(t){return this._positions[t]},getPixelsPerTick:function(){return this._axis_helper.getPixelsPerTick(this._pixels_per_milli)},getTicks:function(){return{major:this._axis_helper.getMajorTicks(this),minor:this._axis_helper.getMinorTicks(this)}},getDateFromTime:function(t){if(\"human\"==this._scale)return new TL.Date(t);if(\"cosmological\"==this._scale)return new TL.BigDate(new TL.BigYear(t));throw new TL.Error(\"time_scale_scale_err\",this._scale)},getMajorScale:function(){return this._axis_helper.major.name},getMinorScale:function(){return this._axis_helper.minor.name},_assessGroups:function(t){for(var e=[],i=!1,n=0;n<t.length;n++)t[n].group&&(e.indexOf(t[n].group)<0?e.push(t[n].group):i=!0);return e.length&&i&&e.push(\"\"),e},_computeRowInfo:function(t,e){for(var i=[],n=0,a=0;a<t.length;a++){var s=t[a],o=[];delete s.row;for(var r=0;r<i.length;r++)if(o.push(i[r].end-s.start),o[r]<=0){s.row=r,i[r]=s;break}if(\"undefined\"==typeof s.row)if(null===e)s.row=i.length,i.push(s);else if(e>0)s.row=i.length,i.push(s),e--;else{var l=Math.min.apply(null,o),h=o.indexOf(l);s.row=h,s.end>i[h].end&&(i[h]=s),n++}}return{n_rows:i.length,n_overlaps:n}},_computePositionInfo:function(t,e,i){i=i||100;for(var n=[],a=!1,s=0;s<t.length;s++){var o={start:this.getPosition(t[s].start_date.getTime())};if(this._positions.push(o),\"undefined\"!=typeof t[s].end_date){var r=this.getPosition(t[s].end_date.getTime());o.width=r-o.start,o.width>i?o.end=o.start+o.width:o.end=o.start+i}else o.width=i,o.end=o.start+i;t[s].group?n.indexOf(t[s].group)<0&&n.push(t[s].group):a=!0}if(n.length){a&&n.push(\"\");for(var l=[],s=0;s<n.length;s++)l[s]={label:n[s],idx:s,positions:[],n_rows:1,n_overlaps:0};for(var s=0;s<this._positions.length;s++){var o=this._positions[s];o.group=n.indexOf(t[s].group||\"\"),o.row=0;for(var h=l[o.group],d=h.positions.length-1;d>=0;d--)h.positions[d].end>o.start&&h.n_overlaps++;h.positions.push(o)}for(var c=n.length;;){var u=Math.max(0,e-c);if(!u)break;if(l.sort(function(t,e){return t.n_overlaps>e.n_overlaps?-1:t.n_overlaps<e.n_overlaps?1:t.idx-e.idx}),!l[0].n_overlaps)break;for(var c=0,s=0;s<l.length;s++){var h=l[s];if(h.n_overlaps&&u){var m=this._computeRowInfo(h.positions,h.n_rows+1);h.n_rows=m.n_rows,h.n_overlaps=m.n_overlaps,u--}c+=h.n_rows}}this._number_of_rows=c,this._group_labels=[],l.sort(function(t,e){return t.idx-e.idx});for(var s=0,_=0;s<l.length;s++){this._group_labels.push({label:l[s].label,rows:l[s].n_rows});for(var d=0;d<l[s].positions.length;d++){var o=l[s].positions[d];o.row+=_}_+=l[s].n_rows}}else{var f=this._computeRowInfo(this._positions,e);this._number_of_rows=f.n_rows}}}),TL.TimeAxis=TL.Class.extend({includes:[TL.Events,TL.DomMixins,TL.I18NMixins],_el:{},initialize:function(t,e){this._el={container:{},content_container:{},major:{},minor:{}},this._text={},this._state={loaded:!1},this.data={},this.options={duration:1e3,ease:TL.Ease.easeInSpline,width:600,height:600},this.active=!1,this.animator={},this.axis_helper={},this.minor_ticks=[],this.major_ticks=[],this.dateformat_lookup={millisecond:\"time_milliseconds\",second:\"time_short\",minute:\"time_no_seconds_short\",hour:\"time_no_minutes_short\",day:\"full_short\",month:\"month_short\",year:\"year\",decade:\"year\",century:\"year\",millennium:\"year\",age:\"compact\",epoch:\"compact\",era:\"compact\",eon:\"compact\",eon2:\"compact\"},\"object\"==typeof t?this._el.container=t:this._el.container=TL.Dom.get(t),TL.Util.mergeData(this.options,e),this._initLayout(),this._initEvents()},show:function(){},hide:function(){},addTo:function(t){t.appendChild(this._el.container)},removeFrom:function(t){t.removeChild(this._el.container)},updateDisplay:function(t,e){this._updateDisplay(t,e)},getLeft:function(){return this._el.container.style.left.slice(0,-2)},drawTicks:function(t,e){var i=t.getTicks();({minor:{el:this._el.minor,dateformat:this.dateformat_lookup[i.minor.name],ts_ticks:i.minor.ticks,tick_elements:this.minor_ticks},major:{el:this._el.major,dateformat:this.dateformat_lookup[i.major.name],ts_ticks:i.major.ticks,tick_elements:this.major_ticks}});this._el.major.className=\"tl-timeaxis-major\",this._el.minor.className=\"tl-timeaxis-minor\",this._el.major.style.opacity=0,this._el.minor.style.opacity=0,this.major_ticks=this._createTickElements(i.major.ticks,this._el.major,this.dateformat_lookup[i.major.name]),this.minor_ticks=this._createTickElements(i.minor.ticks,this._el.minor,this.dateformat_lookup[i.minor.name],i.major.ticks),this.positionTicks(t,e,!0),this._el.major.className=\"tl-timeaxis-major tl-animate-opacity tl-timeaxis-animate-opacity\",this._el.minor.className=\"tl-timeaxis-minor tl-animate-opacity tl-timeaxis-animate-opacity\",this._el.major.style.opacity=1,this._el.minor.style.opacity=1},_createTickElements:function(t,e,i,n){e.innerHTML=\"\";var a={},s=new Date(-1,13,-30);if(a[s.getTime()]=!0,n)for(var o=0;o<n.length;o++)a[n[o].getTime()]=!0;for(var r=[],o=0;o<t.length;o++){var l=t[o];if(!(l.getTime()in a)){var h=TL.Dom.create(\"div\",\"tl-timeaxis-tick\",e),d=TL.Dom.create(\"span\",\"tl-timeaxis-tick-text tl-animate-opacity\",h);d.innerHTML=l.getDisplayDate(this.getLanguage(),i),r.push({tick:h,tick_text:d,display_date:l.getDisplayDate(this.getLanguage(),i),date:l})}}return r},positionTicks:function(t,e,i){i?(this._el.major.className=\"tl-timeaxis-major\",this._el.minor.className=\"tl-timeaxis-minor\"):(this._el.major.className=\"tl-timeaxis-major tl-timeaxis-animate\",this._el.minor.className=\"tl-timeaxis-minor tl-timeaxis-animate\"),this._positionTickArray(this.major_ticks,t,e),this._positionTickArray(this.minor_ticks,t,e)},_positionTickArray:function(t,e,i){if(t[1]&&t[0]){var n=e.getPosition(t[1].date.getMillisecond())-e.getPosition(t[0].date.getMillisecond()),a=1;n<i&&(a=Math.round(i/e.getPixelsPerTick()));for(var s=1,o=0;o<t.length;o++){var r=t[o];r.tick.style.left=e.getPosition(r.date.getMillisecond())+\"px\",r.tick_text.innerHTML=r.display_date,a>1?s>=a?(s=1,r.tick_text.style.opacity=1,r.tick.className=\"tl-timeaxis-tick\"):(s++,r.tick_text.style.opacity=0,r.tick.className=\"tl-timeaxis-tick tl-timeaxis-tick-hidden\"):(r.tick_text.style.opacity=1,r.tick.className=\"tl-timeaxis-tick\")}}},_initLayout:function(){this._el.content_container=TL.Dom.create(\"div\",\"tl-timeaxis-content-container\",this._el.container),this._el.major=TL.Dom.create(\"div\",\"tl-timeaxis-major\",this._el.content_container),this._el.minor=TL.Dom.create(\"div\",\"tl-timeaxis-minor\",this._el.content_container),this.onLoaded()},_initEvents:function(){},_updateDisplay:function(t,e,i){t&&(this.options.width=t),e&&(this.options.height=e)}}),TL.AxisHelper=TL.Class.extend({initialize:function(t){if(!t)throw new TL.Error(\"axis_helper_no_options_err\");this.scale=t.scale,this.minor=t.minor,this.major=t.major},getPixelsPerTick:function(t){return t*this.minor.factor},getMajorTicks:function(t){return this._getTicks(t,this.major)},getMinorTicks:function(t){return this._getTicks(t,this.minor)},_getTicks:function(t,e){for(var i=t._scaled_padding*e.factor,n=t._earliest-i,a=t._latest+i,s=[],o=n;o<a;o+=e.factor)s.push(t.getDateFromTime(o).floor(e.name));return{name:e.name,ticks:s}}}),function(t){var e={},i=function(i,n){e[i]=[];for(var a=0;a<n.length-1;a++){var s=n[a],o=n[a+1];e[i].push(new t({scale:s[3],minor:{name:s[0],factor:s[1]},major:{name:o[0],factor:o[1]}}))}};i(\"human\",TL.Date.SCALES),i(\"cosmological\",TL.BigDate.SCALES),t.HELPERS=e,t.getBestHelper=function(t,i){\"number\"!=typeof i&&(i=100);var n=t.getScale(),a=e[n];if(!a)throw new TL.Error(\"axis_helper_scale_err\",n);for(var s=null,o=0;o<a.length;o++){var r=a[o],l=r.getPixelsPerTick(t._pixels_per_milli);if(l>i){if(null==s)return r;var h=Math.abs(i-l),d=Math.abs(i-l);return h<d?r:s}s=r}return a[a.length-1]}}(TL.AxisHelper),TL.Timeline=TL.Class.extend({includes:[TL.Events,TL.I18NMixins],initialize:function(t,e,i){var n=this;if(i||(i={}),this.version=\"3.2.6\",this.ready=!1,this._el={container:{},storyslider:{},timenav:{},menubar:{}},\"object\"==typeof t?this._el.container=t:this._el.container=TL.Dom.get(t),this._storyslider={},this._style_sheet=new TL.StyleSheet,this._timenav={},this._menubar={},this._loaded={storyslider:!1,timenav:!1},this.config=null,this.options={script_path:\"\",height:this._el.container.offsetHeight,width:this._el.container.offsetWidth,debug:!1,is_embed:!1,is_full_embed:!1,hash_bookmark:!1,default_bg_color:{r:255,g:255,b:255},scale_factor:2,layout:\"landscape\",timenav_position:\"bottom\",optimal_tick_width:60,base_class:\"tl-timeline\",timenav_height:null,timenav_height_percentage:25,timenav_mobile_height_percentage:40,timenav_height_min:175,marker_height_min:30,marker_width_min:100,marker_padding:5,start_at_slide:0,start_at_end:!1,menubar_height:0,skinny_size:650,medium_size:800,relative_date:!1,use_bc:!1,duration:1e3,ease:TL.Ease.easeInOutQuint,dragging:!0,trackResize:!0,map_type:\"stamen:toner-lite\",slide_padding_lr:100,slide_default_fade:\"0%\",zoom_sequence:[.5,1,2,3,5,8,13,21,34,55,89],language:\"en\",ga_property_id:null,track_events:[\"back_to_start\",\"nav_next\",\"nav_previous\",\"zoom_in\",\"zoom_out\"]},this.animator_timenav=null,this.animator_storyslider=null,this.animator_menubar=null,this.message=new TL.Message({},{message_class:\"tl-message-full\"},this._el.container),\"string\"==typeof i.default_bg_color){var a=TL.Util.hexToRgb(i.default_bg_color);a?i.default_bg_color=a:(delete i.default_bg_color,trace(\"Invalid default background color. Ignoring.\"))}TL.Util.mergeData(this.options,i),window.addEventListener(\"resize\",function(t){n.updateDisplay()}),TL.debug=this.options.debug,TL.DomUtil.addClass(this._el.container,\"tl-timeline\"),this.options.is_embed&&TL.DomUtil.addClass(this._el.container,\"tl-timeline-embed\"),this.options.is_full_embed&&TL.DomUtil.addClass(this._el.container,\"tl-timeline-full-embed\"),this.options.relative_date?\"undefined\"!=typeof moment?n._loadLanguage(e):TL.Load.js(this.options.script_path+\"/library/moment.js\",function(){n._loadLanguage(e),trace(\"LOAD MOMENTJS\")}):n._loadLanguage(e)},_translateError:function(t){return t.hasOwnProperty(\"stack\")&&trace(t.stack),t.message_key?this._(t.message_key)+(t.detail?\" [\"+t.detail+\"]\":\"\"):t},_loadLanguage:function(t){try{this.options.language=new TL.Language(this.options),this._initData(t)}catch(t){this.showMessage(this._translateError(t))}},goToId:function(t){this.current_id!=t&&(this.current_id=t,this._timenav.goToId(this.current_id),this._storyslider.goToId(this.current_id,!1,!0),this.fire(\"change\",{unique_id:this.current_id},this))},goTo:function(t){this.config.title?0==t?this.goToId(this.config.title.unique_id):this.goToId(this.config.events[t-1].unique_id):this.goToId(this.config.events[t].unique_id)},goToStart:function(){this.goTo(0)},goToEnd:function(){var t=this.config.events.length-1;this.goTo(this.config.title?t+1:t)},goToPrev:function(){this.goTo(this._getSlideIndex(this.current_id)-1)},goToNext:function(){this.goTo(this._getSlideIndex(this.current_id)+1)},add:function(t){var e=this.config.addEvent(t),i=this._getEventIndex(e),n=this.config.events[i];this._storyslider.createSlide(n,this.config.title?i+1:i),this._storyslider._updateDrawSlides(),this._timenav.createMarker(n,i),this._timenav._updateDrawTimeline(!1),this.fire(\"added\",{unique_id:e})},remove:function(t){if(t>=0&&t<this.config.events.length){this.config.events[t].unique_id==this.current_id&&(t<this.config.events.length-1?this.goTo(t+1):this.goTo(t-1));var e=this.config.events.splice(t,1);delete this.config.event_dict[e[0].unique_id],this._storyslider.destroySlide(this.config.title?t+1:t),this._storyslider._updateDrawSlides(),this._timenav.destroyMarker(t),this._timenav._updateDrawTimeline(!1),this.fire(\"removed\",{unique_id:e[0].unique_id})}},removeId:function(t){this.remove(this._getEventIndex(t))},getData:function(t){if(this.config.title){if(0==t)return this.config.title;if(t>0&&t<=this.config.events.length)return this.config.events[t-1]}else if(t>=0&&t<this.config.events.length)return this.config.events[t];return null},getDataById:function(t){return this.getData(this._getSlideIndex(t))},getSlide:function(t){return t>=0&&t<this._storyslider._slides.length?this._storyslider._slides[t]:null},getSlideById:function(t){return this.getSlide(this._getSlideIndex(t))},getCurrentSlide:function(){return this.getSlideById(this.current_id)},updateDisplay:function(){this.ready&&this._updateDisplay()},_calculateTimeNavHeight:function(t,e){var i=0;return t?i=t:(this.options.timenav_height_percentage||e)&&(i=e?Math.round(this.options.height/100*e):Math.round(this.options.height/100*this.options.timenav_height_percentage)),this._timenav.ready&&this.options.timenav_height_min<this._timenav.getMinimumHeight()&&(this.options.timenav_height_min=this._timenav.getMinimumHeight()),i<this.options.timenav_height_min&&(i=this.options.timenav_height_min),i-=2*this.options.marker_padding},_updateDisplay:function(t,e,i){var n=this.options.duration,a=this.options.base_class,s=0;i&&(n=i),this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this.options.width<=this.options.skinny_size?(a+=\" tl-skinny\",this.options.layout=\"portrait\"):this.options.width<=this.options.medium_size?(a+=\" tl-medium\",this.options.layout=\"landscape\"):this.options.layout=\"landscape\",TL.Browser.touch&&(this.options.layout=TL.Browser.orientation()),TL.Browser.mobile?(a+=\" tl-mobile\",this.options.timenav_height=this._calculateTimeNavHeight(t,this.options.timenav_mobile_height_percentage)):this.options.timenav_height=this._calculateTimeNavHeight(t),a+=\"portrait\"==this.options.layout?\" tl-layout-portrait\":\" tl-layout-landscape\",this.options.storyslider_height=this.options.height-this.options.timenav_height,s=\"top\"==this.options.timenav_position?Math.ceil(this.options.timenav_height)/2-this._el.menubar.offsetHeight/2-19.5:Math.round(this.options.storyslider_height+1+Math.ceil(this.options.timenav_height)/2-this._el.menubar.offsetHeight/2-17.5),e?(this._el.timenav.style.height=Math.ceil(this.options.timenav_height)+\"px\",this.animator_storyslider&&this.animator_storyslider.stop(),this.animator_storyslider=TL.Animate(this._el.storyslider,{height:this.options.storyslider_height+\"px\",duration:n/2,easing:TL.Ease.easeOutStrong}),this.animator_menubar&&this.animator_menubar.stop(),this.animator_menubar=TL.Animate(this._el.menubar,{top:s+\"px\",duration:n/2,easing:TL.Ease.easeOutStrong})):(this._el.timenav.style.height=Math.ceil(this.options.timenav_height)+\"px\",this._el.storyslider.style.height=this.options.storyslider_height+\"px\",this._el.menubar.style.top=s+\"px\"),this.message&&this.message.updateDisplay(this.options.width,this.options.height),this._timenav.updateDisplay(this.options.width,this.options.timenav_height,e),this._storyslider.updateDisplay(this.options.width,this.options.storyslider_height,e,this.options.layout),\"rtl\"==this.options.language.direction&&(a+=\" tl-rtl\"),this._el.container.className=a},_updateHashBookmark:function(t){var e=\"#event-\"+t.toString();\"file:\"!=window.location.protocol&&window.history.replaceState(null,\"Browsing TimelineJS\",e),this.fire(\"hash_updated\",{unique_id:this.current_id,hashbookmark:\"#event-\"+t.toString()},this)},_initData:function(t){var e=this;if(\"string\"==typeof t){var e=this;TL.ConfigFactory.makeConfig(t,function(t){e.setConfig(t)})}else TL.TimelineConfig==t.constructor?this.setConfig(t):this.setConfig(new TL.TimelineConfig(t))},setConfig:function(t){if(this.config=t,this.config.validate(),this._validateOptions(),this.config.isValid())try{this._onDataLoaded()}catch(t){this.showMessage(\"<strong>\"+this._(\"error\")+\":</strong> \"+this._translateError(t))}else{for(var e=[],i=0,n=this.config.getErrors();i<n.length;i++)e.push(this._translateError(n[i]));this.showMessage(\"<strong>\"+this._(\"error\")+\":</strong> \"+e.join(\"<br>\"))}},_validateOptions:function(){for(var t=[\"timenav_height\",\"timenav_height_min\",\"marker_height_min\",\"marker_width_min\",\"marker_padding\",\"start_at_slide\",\"slide_padding_lr\"],e=0;e<t.length;e++){var i=t[e],n=this.options[i];valid=!0,\"number\"==typeof n?valid=n==parseInt(n):\"string\"==typeof n&&(valid=n.match(/^\\s*(\\-?\\d+)?\\s*$/)),valid||this.config.logError({message_key:\"invalid_integer_option\",detail:i})}},_initLayout:function(){this.message.removeFrom(this._el.container),this._el.container.innerHTML=\"\",\"top\"==this.options.timenav_position?(this._el.timenav=TL.Dom.create(\"div\",\"tl-timenav\",this._el.container),this._el.storyslider=TL.Dom.create(\"div\",\"tl-storyslider\",this._el.container)):(this._el.storyslider=TL.Dom.create(\"div\",\"tl-storyslider\",this._el.container),this._el.timenav=TL.Dom.create(\"div\",\"tl-timenav\",this._el.container)),this._el.menubar=TL.Dom.create(\"div\",\"tl-menubar\",this._el.container),this.options.width=this._el.container.offsetWidth,this.options.height=this._el.container.offsetHeight,this._el.storyslider.style.top=\"1px\",this.options.timenav_height=this._calculateTimeNavHeight(this.options.timenav_height),this._timenav=new TL.TimeNav(this._el.timenav,this.config,this.options),this._timenav.on(\"loaded\",this._onTimeNavLoaded,this),this._timenav.on(\"update_timenav_min\",this._updateTimeNavHeightMin,this),this._timenav.options.height=this.options.timenav_height,this._timenav.init(),this.options.initial_zoom&&this.setZoom(this.options.initial_zoom),this._storyslider=new TL.StorySlider(this._el.storyslider,this.config,this.options),this._storyslider.on(\"loaded\",this._onStorySliderLoaded,this),this._storyslider.init(),this._menubar=new TL.MenuBar(this._el.menubar,this._el.container,this.options),\"portrait\"==this.options.layout?this.options.storyslider_height=this.options.height-this.options.timenav_height-1:this.options.storyslider_height=this.options.height-1,this._updateDisplay(this._timenav.options.height,!0,2e3)},_initEvents:function(){this._timenav.on(\"change\",this._onTimeNavChange,this),this._timenav.on(\"zoomtoggle\",this._onZoomToggle,this),this._storyslider.on(\"change\",this._onSlideChange,this),this._storyslider.on(\"colorchange\",this._onColorChange,this),this._storyslider.on(\"nav_next\",this._onStorySliderNext,this),this._storyslider.on(\"nav_previous\",this._onStorySliderPrevious,this),this._menubar.on(\"zoom_in\",this._onZoomIn,this),this._menubar.on(\"zoom_out\",this._onZoomOut,this),this._menubar.on(\"back_to_start\",this._onBackToStart,this)},_initGoogleAnalytics:function(){!function(t,e,i,n,a,s,o){t.GoogleAnalyticsObject=a,t[a]=t[a]||function(){(t[a].q=t[a].q||[]).push(arguments)},t[a].l=1*new Date,s=e.createElement(i),o=e.getElementsByTagName(i)[0],s.async=1,s.src=n,o.parentNode.insertBefore(s,o)}(window,document,\"script\",\"//www.google-analytics.com/analytics.js\",\"ga\"),ga(\"create\",this.options.ga_property_id,\"auto\")},_initAnalytics:function(){if(null!==this.options.ga_property_id){this._initGoogleAnalytics(),ga(\"send\",\"pageview\");var t=this.options.track_events;for(i=0;i<t.length;i++){var e=t[i];this.addEventListener(e,function(t){ga(\"send\",\"event\",t.type,\"clicked\")})}}},_onZoomToggle:function(t){\"in\"==t.zoom?this._menubar.toogleZoomIn(t.show):\"out\"==t.zoom&&this._menubar.toogleZoomOut(t.show)},_getEventIndex:function(t){for(var e=0;e<this.config.events.length;e++)if(t==this.config.events[e].unique_id)return e;return-1},_getSlideIndex:function(t){if(this.config.title&&this.config.title.unique_id==t)return 0;for(var e=0;e<this.config.events.length;e++)if(t==this.config.events[e].unique_id)return this.config.title?e+1:e;return-1},_onDataLoaded:function(t){this.fire(\"dataloaded\"),this._initLayout(),this._initEvents(),this._initAnalytics(),this.message&&this.message.hide(),this.ready=!0},showMessage:function(t){this.message?this.message.updateMessage(t):(trace(\"No message display available.\"),trace(t))},_onColorChange:function(t){this.fire(\"color_change\",{unique_id:this.current_id},this),t.color||t.image},_onSlideChange:function(t){this.current_id!=t.unique_id&&(this.current_id=t.unique_id,this._timenav.goToId(this.current_id),this._onChange(t))},_onTimeNavChange:function(t){this.current_id!=t.unique_id&&(this.current_id=t.unique_id,this._storyslider.goToId(this.current_id),this._onChange(t))},_onChange:function(t){this.fire(\"change\",{unique_id:this.current_id},this),this.options.hash_bookmark&&this.current_id&&this._updateHashBookmark(this.current_id)},_onBackToStart:function(t){this._storyslider.goTo(0),this.fire(\"back_to_start\",{unique_id:this.current_id},this)},zoomIn:function(){this._timenav.zoomIn()},zoomOut:function(){this._timenav.zoomOut()},setZoom:function(t){this._timenav.setZoom(t)},_onZoomIn:function(t){this._timenav.zoomIn(),this.fire(\"zoom_in\",{zoom_level:this._timenav.options.scale_factor},this)},_onZoomOut:function(t){this._timenav.zoomOut(),this.fire(\"zoom_out\",{zoom_level:this._timenav.options.scale_factor},this)},_onTimeNavLoaded:function(){this._loaded.timenav=!0,this._onLoaded()},_onStorySliderLoaded:function(){this._loaded.storyslider=!0,this._onLoaded()},_onStorySliderNext:function(t){this.fire(\"nav_next\",t)},_onStorySliderPrevious:function(t){this.fire(\"nav_previous\",t)},_onLoaded:function(){this._loaded.storyslider&&this._loaded.timenav&&(this.fire(\"loaded\",this.config),this.options.hash_bookmark&&\"\"!=window.location.hash?this.goToId(window.location.hash.replace(\"#event-\",\"\")):(TL.Util.isTrue(this.options.start_at_end)||this.options.start_at_slide>this.config.events.length?this.goToEnd():this.goTo(this.options.start_at_slide),this.options.hash_bookmark&&this._updateHashBookmark(this.current_id)))}}),TL.Timeline.source_path=function(){var t=document.getElementsByTagName(\"script\"),e=t[t.length-1].src;return e.substr(0,e.lastIndexOf(\"/\"))}();","/**\n * @license\n * Copyright 2010-2022 Three.js Authors\n * SPDX-License-Identifier: MIT\n */\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n\ttypeof define === 'function' && define.amd ? define(['exports'], factory) :\n\t(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.THREE = {}));\n})(this, (function (exports) { 'use strict';\n\n\tconst REVISION = '142';\n\tconst MOUSE = {\n\t\tLEFT: 0,\n\t\tMIDDLE: 1,\n\t\tRIGHT: 2,\n\t\tROTATE: 0,\n\t\tDOLLY: 1,\n\t\tPAN: 2\n\t};\n\tconst TOUCH = {\n\t\tROTATE: 0,\n\t\tPAN: 1,\n\t\tDOLLY_PAN: 2,\n\t\tDOLLY_ROTATE: 3\n\t};\n\tconst CullFaceNone = 0;\n\tconst CullFaceBack = 1;\n\tconst CullFaceFront = 2;\n\tconst CullFaceFrontBack = 3;\n\tconst BasicShadowMap = 0;\n\tconst PCFShadowMap = 1;\n\tconst PCFSoftShadowMap = 2;\n\tconst VSMShadowMap = 3;\n\tconst FrontSide = 0;\n\tconst BackSide = 1;\n\tconst DoubleSide = 2;\n\tconst FlatShading = 1;\n\tconst SmoothShading = 2;\n\tconst NoBlending = 0;\n\tconst NormalBlending = 1;\n\tconst AdditiveBlending = 2;\n\tconst SubtractiveBlending = 3;\n\tconst MultiplyBlending = 4;\n\tconst CustomBlending = 5;\n\tconst AddEquation = 100;\n\tconst SubtractEquation = 101;\n\tconst ReverseSubtractEquation = 102;\n\tconst MinEquation = 103;\n\tconst MaxEquation = 104;\n\tconst ZeroFactor = 200;\n\tconst OneFactor = 201;\n\tconst SrcColorFactor = 202;\n\tconst OneMinusSrcColorFactor = 203;\n\tconst SrcAlphaFactor = 204;\n\tconst OneMinusSrcAlphaFactor = 205;\n\tconst DstAlphaFactor = 206;\n\tconst OneMinusDstAlphaFactor = 207;\n\tconst DstColorFactor = 208;\n\tconst OneMinusDstColorFactor = 209;\n\tconst SrcAlphaSaturateFactor = 210;\n\tconst NeverDepth = 0;\n\tconst AlwaysDepth = 1;\n\tconst LessDepth = 2;\n\tconst LessEqualDepth = 3;\n\tconst EqualDepth = 4;\n\tconst GreaterEqualDepth = 5;\n\tconst GreaterDepth = 6;\n\tconst NotEqualDepth = 7;\n\tconst MultiplyOperation = 0;\n\tconst MixOperation = 1;\n\tconst AddOperation = 2;\n\tconst NoToneMapping = 0;\n\tconst LinearToneMapping = 1;\n\tconst ReinhardToneMapping = 2;\n\tconst CineonToneMapping = 3;\n\tconst ACESFilmicToneMapping = 4;\n\tconst CustomToneMapping = 5;\n\tconst UVMapping = 300;\n\tconst CubeReflectionMapping = 301;\n\tconst CubeRefractionMapping = 302;\n\tconst EquirectangularReflectionMapping = 303;\n\tconst EquirectangularRefractionMapping = 304;\n\tconst CubeUVReflectionMapping = 306;\n\tconst RepeatWrapping = 1000;\n\tconst ClampToEdgeWrapping = 1001;\n\tconst MirroredRepeatWrapping = 1002;\n\tconst NearestFilter = 1003;\n\tconst NearestMipmapNearestFilter = 1004;\n\tconst NearestMipMapNearestFilter = 1004;\n\tconst NearestMipmapLinearFilter = 1005;\n\tconst NearestMipMapLinearFilter = 1005;\n\tconst LinearFilter = 1006;\n\tconst LinearMipmapNearestFilter = 1007;\n\tconst LinearMipMapNearestFilter = 1007;\n\tconst LinearMipmapLinearFilter = 1008;\n\tconst LinearMipMapLinearFilter = 1008;\n\tconst UnsignedByteType = 1009;\n\tconst ByteType = 1010;\n\tconst ShortType = 1011;\n\tconst UnsignedShortType = 1012;\n\tconst IntType = 1013;\n\tconst UnsignedIntType = 1014;\n\tconst FloatType = 1015;\n\tconst HalfFloatType = 1016;\n\tconst UnsignedShort4444Type = 1017;\n\tconst UnsignedShort5551Type = 1018;\n\tconst UnsignedInt248Type = 1020;\n\tconst AlphaFormat = 1021;\n\tconst RGBFormat = 1022;\n\tconst RGBAFormat = 1023;\n\tconst LuminanceFormat = 1024;\n\tconst LuminanceAlphaFormat = 1025;\n\tconst DepthFormat = 1026;\n\tconst DepthStencilFormat = 1027;\n\tconst RedFormat = 1028;\n\tconst RedIntegerFormat = 1029;\n\tconst RGFormat = 1030;\n\tconst RGIntegerFormat = 1031;\n\tconst RGBAIntegerFormat = 1033;\n\tconst RGB_S3TC_DXT1_Format = 33776;\n\tconst RGBA_S3TC_DXT1_Format = 33777;\n\tconst RGBA_S3TC_DXT3_Format = 33778;\n\tconst RGBA_S3TC_DXT5_Format = 33779;\n\tconst RGB_PVRTC_4BPPV1_Format = 35840;\n\tconst RGB_PVRTC_2BPPV1_Format = 35841;\n\tconst RGBA_PVRTC_4BPPV1_Format = 35842;\n\tconst RGBA_PVRTC_2BPPV1_Format = 35843;\n\tconst RGB_ETC1_Format = 36196;\n\tconst RGB_ETC2_Format = 37492;\n\tconst RGBA_ETC2_EAC_Format = 37496;\n\tconst RGBA_ASTC_4x4_Format = 37808;\n\tconst RGBA_ASTC_5x4_Format = 37809;\n\tconst RGBA_ASTC_5x5_Format = 37810;\n\tconst RGBA_ASTC_6x5_Format = 37811;\n\tconst RGBA_ASTC_6x6_Format = 37812;\n\tconst RGBA_ASTC_8x5_Format = 37813;\n\tconst RGBA_ASTC_8x6_Format = 37814;\n\tconst RGBA_ASTC_8x8_Format = 37815;\n\tconst RGBA_ASTC_10x5_Format = 37816;\n\tconst RGBA_ASTC_10x6_Format = 37817;\n\tconst RGBA_ASTC_10x8_Format = 37818;\n\tconst RGBA_ASTC_10x10_Format = 37819;\n\tconst RGBA_ASTC_12x10_Format = 37820;\n\tconst RGBA_ASTC_12x12_Format = 37821;\n\tconst RGBA_BPTC_Format = 36492;\n\tconst LoopOnce = 2200;\n\tconst LoopRepeat = 2201;\n\tconst LoopPingPong = 2202;\n\tconst InterpolateDiscrete = 2300;\n\tconst InterpolateLinear = 2301;\n\tconst InterpolateSmooth = 2302;\n\tconst ZeroCurvatureEnding = 2400;\n\tconst ZeroSlopeEnding = 2401;\n\tconst WrapAroundEnding = 2402;\n\tconst NormalAnimationBlendMode = 2500;\n\tconst AdditiveAnimationBlendMode = 2501;\n\tconst TrianglesDrawMode = 0;\n\tconst TriangleStripDrawMode = 1;\n\tconst TriangleFanDrawMode = 2;\n\tconst LinearEncoding = 3000;\n\tconst sRGBEncoding = 3001;\n\tconst BasicDepthPacking = 3200;\n\tconst RGBADepthPacking = 3201;\n\tconst TangentSpaceNormalMap = 0;\n\tconst ObjectSpaceNormalMap = 1; // Color space string identifiers, matching CSS Color Module Level 4 and WebGPU names where available.\n\n\tconst NoColorSpace = '';\n\tconst SRGBColorSpace = 'srgb';\n\tconst LinearSRGBColorSpace = 'srgb-linear';\n\tconst ZeroStencilOp = 0;\n\tconst KeepStencilOp = 7680;\n\tconst ReplaceStencilOp = 7681;\n\tconst IncrementStencilOp = 7682;\n\tconst DecrementStencilOp = 7683;\n\tconst IncrementWrapStencilOp = 34055;\n\tconst DecrementWrapStencilOp = 34056;\n\tconst InvertStencilOp = 5386;\n\tconst NeverStencilFunc = 512;\n\tconst LessStencilFunc = 513;\n\tconst EqualStencilFunc = 514;\n\tconst LessEqualStencilFunc = 515;\n\tconst GreaterStencilFunc = 516;\n\tconst NotEqualStencilFunc = 517;\n\tconst GreaterEqualStencilFunc = 518;\n\tconst AlwaysStencilFunc = 519;\n\tconst StaticDrawUsage = 35044;\n\tconst DynamicDrawUsage = 35048;\n\tconst StreamDrawUsage = 35040;\n\tconst StaticReadUsage = 35045;\n\tconst DynamicReadUsage = 35049;\n\tconst StreamReadUsage = 35041;\n\tconst StaticCopyUsage = 35046;\n\tconst DynamicCopyUsage = 35050;\n\tconst StreamCopyUsage = 35042;\n\tconst GLSL1 = '100';\n\tconst GLSL3 = '300 es';\n\tconst _SRGBAFormat = 1035; // fallback for WebGL 1\n\n\t/**\n\t * https://github.com/mrdoob/eventdispatcher.js/\n\t */\n\tclass EventDispatcher {\n\t\taddEventListener(type, listener) {\n\t\t\tif (this._listeners === undefined) this._listeners = {};\n\t\t\tconst listeners = this._listeners;\n\n\t\t\tif (listeners[type] === undefined) {\n\t\t\t\tlisteners[type] = [];\n\t\t\t}\n\n\t\t\tif (listeners[type].indexOf(listener) === -1) {\n\t\t\t\tlisteners[type].push(listener);\n\t\t\t}\n\t\t}\n\n\t\thasEventListener(type, listener) {\n\t\t\tif (this._listeners === undefined) return false;\n\t\t\tconst listeners = this._listeners;\n\t\t\treturn listeners[type] !== undefined && listeners[type].indexOf(listener) !== -1;\n\t\t}\n\n\t\tremoveEventListener(type, listener) {\n\t\t\tif (this._listeners === undefined) return;\n\t\t\tconst listeners = this._listeners;\n\t\t\tconst listenerArray = listeners[type];\n\n\t\t\tif (listenerArray !== undefined) {\n\t\t\t\tconst index = listenerArray.indexOf(listener);\n\n\t\t\t\tif (index !== -1) {\n\t\t\t\t\tlistenerArray.splice(index, 1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tdispatchEvent(event) {\n\t\t\tif (this._listeners === undefined) return;\n\t\t\tconst listeners = this._listeners;\n\t\t\tconst listenerArray = listeners[event.type];\n\n\t\t\tif (listenerArray !== undefined) {\n\t\t\t\tevent.target = this; // Make a copy, in case listeners are removed while iterating.\n\n\t\t\t\tconst array = listenerArray.slice(0);\n\n\t\t\t\tfor (let i = 0, l = array.length; i < l; i++) {\n\t\t\t\t\tarray[i].call(this, event);\n\t\t\t\t}\n\n\t\t\t\tevent.target = null;\n\t\t\t}\n\t\t}\n\n\t}\n\n\tconst _lut = ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '0a', '0b', '0c', '0d', '0e', '0f', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '1a', '1b', '1c', '1d', '1e', '1f', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '2a', '2b', '2c', '2d', '2e', '2f', '30', '31', '32', '33', '34', '35', '36', '37', '38', '39', '3a', '3b', '3c', '3d', '3e', '3f', '40', '41', '42', '43', '44', '45', '46', '47', '48', '49', '4a', '4b', '4c', '4d', '4e', '4f', '50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '5a', '5b', '5c', '5d', '5e', '5f', '60', '61', '62', '63', '64', '65', '66', '67', '68', '69', '6a', '6b', '6c', '6d', '6e', '6f', '70', '71', '72', '73', '74', '75', '76', '77', '78', '79', '7a', '7b', '7c', '7d', '7e', '7f', '80', '81', '82', '83', '84', '85', '86', '87', '88', '89', '8a', '8b', '8c', '8d', '8e', '8f', '90', '91', '92', '93', '94', '95', '96', '97', '98', '99', '9a', '9b', '9c', '9d', '9e', '9f', 'a0', 'a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9', 'aa', 'ab', 'ac', 'ad', 'ae', 'af', 'b0', 'b1', 'b2', 'b3', 'b4', 'b5', 'b6', 'b7', 'b8', 'b9', 'ba', 'bb', 'bc', 'bd', 'be', 'bf', 'c0', 'c1', 'c2', 'c3', 'c4', 'c5', 'c6', 'c7', 'c8', 'c9', 'ca', 'cb', 'cc', 'cd', 'ce', 'cf', 'd0', 'd1', 'd2', 'd3', 'd4', 'd5', 'd6', 'd7', 'd8', 'd9', 'da', 'db', 'dc', 'dd', 'de', 'df', 'e0', 'e1', 'e2', 'e3', 'e4', 'e5', 'e6', 'e7', 'e8', 'e9', 'ea', 'eb', 'ec', 'ed', 'ee', 'ef', 'f0', 'f1', 'f2', 'f3', 'f4', 'f5', 'f6', 'f7', 'f8', 'f9', 'fa', 'fb', 'fc', 'fd', 'fe', 'ff'];\n\tlet _seed = 1234567;\n\tconst DEG2RAD = Math.PI / 180;\n\tconst RAD2DEG = 180 / Math.PI; // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136\n\n\tfunction generateUUID() {\n\t\tconst d0 = Math.random() * 0xffffffff | 0;\n\t\tconst d1 = Math.random() * 0xffffffff | 0;\n\t\tconst d2 = Math.random() * 0xffffffff | 0;\n\t\tconst d3 = Math.random() * 0xffffffff | 0;\n\t\tconst uuid = _lut[d0 & 0xff] + _lut[d0 >> 8 & 0xff] + _lut[d0 >> 16 & 0xff] + _lut[d0 >> 24 & 0xff] + '-' + _lut[d1 & 0xff] + _lut[d1 >> 8 & 0xff] + '-' + _lut[d1 >> 16 & 0x0f | 0x40] + _lut[d1 >> 24 & 0xff] + '-' + _lut[d2 & 0x3f | 0x80] + _lut[d2 >> 8 & 0xff] + '-' + _lut[d2 >> 16 & 0xff] + _lut[d2 >> 24 & 0xff] + _lut[d3 & 0xff] + _lut[d3 >> 8 & 0xff] + _lut[d3 >> 16 & 0xff] + _lut[d3 >> 24 & 0xff]; // .toLowerCase() here flattens concatenated strings to save heap memory space.\n\n\t\treturn uuid.toLowerCase();\n\t}\n\n\tfunction clamp(value, min, max) {\n\t\treturn Math.max(min, Math.min(max, value));\n\t} // compute euclidean modulo of m % n\n\t// https://en.wikipedia.org/wiki/Modulo_operation\n\n\n\tfunction euclideanModulo(n, m) {\n\t\treturn (n % m + m) % m;\n\t} // Linear mapping from range <a1, a2> to range <b1, b2>\n\n\n\tfunction mapLinear(x, a1, a2, b1, b2) {\n\t\treturn b1 + (x - a1) * (b2 - b1) / (a2 - a1);\n\t} // https://www.gamedev.net/tutorials/programming/general-and-gameplay-programming/inverse-lerp-a-super-useful-yet-often-overlooked-function-r5230/\n\n\n\tfunction inverseLerp(x, y, value) {\n\t\tif (x !== y) {\n\t\t\treturn (value - x) / (y - x);\n\t\t} else {\n\t\t\treturn 0;\n\t\t}\n\t} // https://en.wikipedia.org/wiki/Linear_interpolation\n\n\n\tfunction lerp(x, y, t) {\n\t\treturn (1 - t) * x + t * y;\n\t} // http://www.rorydriscoll.com/2016/03/07/frame-rate-independent-damping-using-lerp/\n\n\n\tfunction damp(x, y, lambda, dt) {\n\t\treturn lerp(x, y, 1 - Math.exp(-lambda * dt));\n\t} // https://www.desmos.com/calculator/vcsjnyz7x4\n\n\n\tfunction pingpong(x, length = 1) {\n\t\treturn length - Math.abs(euclideanModulo(x, length * 2) - length);\n\t} // http://en.wikipedia.org/wiki/Smoothstep\n\n\n\tfunction smoothstep(x, min, max) {\n\t\tif (x <= min) return 0;\n\t\tif (x >= max) return 1;\n\t\tx = (x - min) / (max - min);\n\t\treturn x * x * (3 - 2 * x);\n\t}\n\n\tfunction smootherstep(x, min, max) {\n\t\tif (x <= min) return 0;\n\t\tif (x >= max) return 1;\n\t\tx = (x - min) / (max - min);\n\t\treturn x * x * x * (x * (x * 6 - 15) + 10);\n\t} // Random integer from <low, high> interval\n\n\n\tfunction randInt(low, high) {\n\t\treturn low + Math.floor(Math.random() * (high - low + 1));\n\t} // Random float from <low, high> interval\n\n\n\tfunction randFloat(low, high) {\n\t\treturn low + Math.random() * (high - low);\n\t} // Random float from <-range/2, range/2> interval\n\n\n\tfunction randFloatSpread(range) {\n\t\treturn range * (0.5 - Math.random());\n\t} // Deterministic pseudo-random float in the interval [ 0, 1 ]\n\n\n\tfunction seededRandom(s) {\n\t\tif (s !== undefined) _seed = s; // Mulberry32 generator\n\n\t\tlet t = _seed += 0x6D2B79F5;\n\t\tt = Math.imul(t ^ t >>> 15, t | 1);\n\t\tt ^= t + Math.imul(t ^ t >>> 7, t | 61);\n\t\treturn ((t ^ t >>> 14) >>> 0) / 4294967296;\n\t}\n\n\tfunction degToRad(degrees) {\n\t\treturn degrees * DEG2RAD;\n\t}\n\n\tfunction radToDeg(radians) {\n\t\treturn radians * RAD2DEG;\n\t}\n\n\tfunction isPowerOfTwo(value) {\n\t\treturn (value & value - 1) === 0 && value !== 0;\n\t}\n\n\tfunction ceilPowerOfTwo(value) {\n\t\treturn Math.pow(2, Math.ceil(Math.log(value) / Math.LN2));\n\t}\n\n\tfunction floorPowerOfTwo(value) {\n\t\treturn Math.pow(2, Math.floor(Math.log(value) / Math.LN2));\n\t}\n\n\tfunction setQuaternionFromProperEuler(q, a, b, c, order) {\n\t\t// Intrinsic Proper Euler Angles - see https://en.wikipedia.org/wiki/Euler_angles\n\t\t// rotations are applied to the axes in the order specified by 'order'\n\t\t// rotation by angle 'a' is applied first, then by angle 'b', then by angle 'c'\n\t\t// angles are in radians\n\t\tconst cos = Math.cos;\n\t\tconst sin = Math.sin;\n\t\tconst c2 = cos(b / 2);\n\t\tconst s2 = sin(b / 2);\n\t\tconst c13 = cos((a + c) / 2);\n\t\tconst s13 = sin((a + c) / 2);\n\t\tconst c1_3 = cos((a - c) / 2);\n\t\tconst s1_3 = sin((a - c) / 2);\n\t\tconst c3_1 = cos((c - a) / 2);\n\t\tconst s3_1 = sin((c - a) / 2);\n\n\t\tswitch (order) {\n\t\t\tcase 'XYX':\n\t\t\t\tq.set(c2 * s13, s2 * c1_3, s2 * s1_3, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tcase 'YZY':\n\t\t\t\tq.set(s2 * s1_3, c2 * s13, s2 * c1_3, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ZXZ':\n\t\t\t\tq.set(s2 * c1_3, s2 * s1_3, c2 * s13, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tcase 'XZX':\n\t\t\t\tq.set(c2 * s13, s2 * s3_1, s2 * c3_1, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tcase 'YXY':\n\t\t\t\tq.set(s2 * c3_1, c2 * s13, s2 * s3_1, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tcase 'ZYZ':\n\t\t\t\tq.set(s2 * s3_1, s2 * c3_1, c2 * s13, c2 * c13);\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tconsole.warn('THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: ' + order);\n\t\t}\n\t}\n\n\tfunction denormalize$1(value, array) {\n\t\tswitch (array.constructor) {\n\t\t\tcase Float32Array:\n\t\t\t\treturn value;\n\n\t\t\tcase Uint16Array:\n\t\t\t\treturn value / 65535.0;\n\n\t\t\tcase Uint8Array:\n\t\t\t\treturn value / 255.0;\n\n\t\t\tcase Int16Array:\n\t\t\t\treturn Math.max(value / 32767.0, -1.0);\n\n\t\t\tcase Int8Array:\n\t\t\t\treturn Math.max(value / 127.0, -1.0);\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error('Invalid component type.');\n\t\t}\n\t}\n\n\tfunction normalize(value, array) {\n\t\tswitch (array.constructor) {\n\t\t\tcase Float32Array:\n\t\t\t\treturn value;\n\n\t\t\tcase Uint16Array:\n\t\t\t\treturn Math.round(value * 65535.0);\n\n\t\t\tcase Uint8Array:\n\t\t\t\treturn Math.round(value * 255.0);\n\n\t\t\tcase Int16Array:\n\t\t\t\treturn Math.round(value * 32767.0);\n\n\t\t\tcase Int8Array:\n\t\t\t\treturn Math.round(value * 127.0);\n\n\t\t\tdefault:\n\t\t\t\tthrow new Error('Invalid component type.');\n\t\t}\n\t}\n\n\tvar MathUtils = /*#__PURE__*/Object.freeze({\n\t\t__proto__: null,\n\t\tDEG2RAD: DEG2RAD,\n\t\tRAD2DEG: RAD2DEG,\n\t\tgenerateUUID: generateUUID,\n\t\tclamp: clamp,\n\t\teuclideanModulo: euclideanModulo,\n\t\tmapLinear: mapLinear,\n\t\tinverseLerp: inverseLerp,\n\t\tlerp: lerp,\n\t\tdamp: damp,\n\t\tpingpong: pingpong,\n\t\tsmoothstep: smoothstep,\n\t\tsmootherstep: smootherstep,\n\t\trandInt: randInt,\n\t\trandFloat: randFloat,\n\t\trandFloatSpread: randFloatSpread,\n\t\tseededRandom: seededRandom,\n\t\tdegToRad: degToRad,\n\t\tradToDeg: radToDeg,\n\t\tisPowerOfTwo: isPowerOfTwo,\n\t\tceilPowerOfTwo: ceilPowerOfTwo,\n\t\tfloorPowerOfTwo: floorPowerOfTwo,\n\t\tsetQuaternionFromProperEuler: setQuaternionFromProperEuler,\n\t\tnormalize: normalize,\n\t\tdenormalize: denormalize$1\n\t});\n\n\tclass Vector2 {\n\t\tconstructor(x = 0, y = 0) {\n\t\t\tVector2.prototype.isVector2 = true;\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t}\n\n\t\tget width() {\n\t\t\treturn this.x;\n\t\t}\n\n\t\tset width(value) {\n\t\t\tthis.x = value;\n\t\t}\n\n\t\tget height() {\n\t\t\treturn this.y;\n\t\t}\n\n\t\tset height(value) {\n\t\t\tthis.y = value;\n\t\t}\n\n\t\tset(x, y) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetScalar(scalar) {\n\t\t\tthis.x = scalar;\n\t\t\tthis.y = scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetX(x) {\n\t\t\tthis.x = x;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetY(y) {\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetComponent(index, value) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\tthis.x = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.y = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetComponent(index) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\treturn this.x;\n\n\t\t\t\tcase 1:\n\t\t\t\t\treturn this.y;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.x, this.y);\n\t\t}\n\n\t\tcopy(v) {\n\t\t\tthis.x = v.x;\n\t\t\tthis.y = v.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tadd(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector2: .add() now only accepts one argument. Use .addVectors( a, b ) instead.');\n\t\t\t\treturn this.addVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x += v.x;\n\t\t\tthis.y += v.y;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScalar(s) {\n\t\t\tthis.x += s;\n\t\t\tthis.y += s;\n\t\t\treturn this;\n\t\t}\n\n\t\taddVectors(a, b) {\n\t\t\tthis.x = a.x + b.x;\n\t\t\tthis.y = a.y + b.y;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScaledVector(v, s) {\n\t\t\tthis.x += v.x * s;\n\t\t\tthis.y += v.y * s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsub(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector2: .sub() now only accepts one argument. Use .subVectors( a, b ) instead.');\n\t\t\t\treturn this.subVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x -= v.x;\n\t\t\tthis.y -= v.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubScalar(s) {\n\t\t\tthis.x -= s;\n\t\t\tthis.y -= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubVectors(a, b) {\n\t\t\tthis.x = a.x - b.x;\n\t\t\tthis.y = a.y - b.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(v) {\n\t\t\tthis.x *= v.x;\n\t\t\tthis.y *= v.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(scalar) {\n\t\t\tthis.x *= scalar;\n\t\t\tthis.y *= scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tdivide(v) {\n\t\t\tthis.x /= v.x;\n\t\t\tthis.y /= v.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tdivideScalar(scalar) {\n\t\t\treturn this.multiplyScalar(1 / scalar);\n\t\t}\n\n\t\tapplyMatrix3(m) {\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y;\n\t\t\tconst e = m.elements;\n\t\t\tthis.x = e[0] * x + e[3] * y + e[6];\n\t\t\tthis.y = e[1] * x + e[4] * y + e[7];\n\t\t\treturn this;\n\t\t}\n\n\t\tmin(v) {\n\t\t\tthis.x = Math.min(this.x, v.x);\n\t\t\tthis.y = Math.min(this.y, v.y);\n\t\t\treturn this;\n\t\t}\n\n\t\tmax(v) {\n\t\t\tthis.x = Math.max(this.x, v.x);\n\t\t\tthis.y = Math.max(this.y, v.y);\n\t\t\treturn this;\n\t\t}\n\n\t\tclamp(min, max) {\n\t\t\t// assumes min < max, componentwise\n\t\t\tthis.x = Math.max(min.x, Math.min(max.x, this.x));\n\t\t\tthis.y = Math.max(min.y, Math.min(max.y, this.y));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampScalar(minVal, maxVal) {\n\t\t\tthis.x = Math.max(minVal, Math.min(maxVal, this.x));\n\t\t\tthis.y = Math.max(minVal, Math.min(maxVal, this.y));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampLength(min, max) {\n\t\t\tconst length = this.length();\n\t\t\treturn this.divideScalar(length || 1).multiplyScalar(Math.max(min, Math.min(max, length)));\n\t\t}\n\n\t\tfloor() {\n\t\t\tthis.x = Math.floor(this.x);\n\t\t\tthis.y = Math.floor(this.y);\n\t\t\treturn this;\n\t\t}\n\n\t\tceil() {\n\t\t\tthis.x = Math.ceil(this.x);\n\t\t\tthis.y = Math.ceil(this.y);\n\t\t\treturn this;\n\t\t}\n\n\t\tround() {\n\t\t\tthis.x = Math.round(this.x);\n\t\t\tthis.y = Math.round(this.y);\n\t\t\treturn this;\n\t\t}\n\n\t\troundToZero() {\n\t\t\tthis.x = this.x < 0 ? Math.ceil(this.x) : Math.floor(this.x);\n\t\t\tthis.y = this.y < 0 ? Math.ceil(this.y) : Math.floor(this.y);\n\t\t\treturn this;\n\t\t}\n\n\t\tnegate() {\n\t\t\tthis.x = -this.x;\n\t\t\tthis.y = -this.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tdot(v) {\n\t\t\treturn this.x * v.x + this.y * v.y;\n\t\t}\n\n\t\tcross(v) {\n\t\t\treturn this.x * v.y - this.y * v.x;\n\t\t}\n\n\t\tlengthSq() {\n\t\t\treturn this.x * this.x + this.y * this.y;\n\t\t}\n\n\t\tlength() {\n\t\t\treturn Math.sqrt(this.x * this.x + this.y * this.y);\n\t\t}\n\n\t\tmanhattanLength() {\n\t\t\treturn Math.abs(this.x) + Math.abs(this.y);\n\t\t}\n\n\t\tnormalize() {\n\t\t\treturn this.divideScalar(this.length() || 1);\n\t\t}\n\n\t\tangle() {\n\t\t\t// computes the angle in radians with respect to the positive x-axis\n\t\t\tconst angle = Math.atan2(-this.y, -this.x) + Math.PI;\n\t\t\treturn angle;\n\t\t}\n\n\t\tdistanceTo(v) {\n\t\t\treturn Math.sqrt(this.distanceToSquared(v));\n\t\t}\n\n\t\tdistanceToSquared(v) {\n\t\t\tconst dx = this.x - v.x,\n\t\t\t\t\t\tdy = this.y - v.y;\n\t\t\treturn dx * dx + dy * dy;\n\t\t}\n\n\t\tmanhattanDistanceTo(v) {\n\t\t\treturn Math.abs(this.x - v.x) + Math.abs(this.y - v.y);\n\t\t}\n\n\t\tsetLength(length) {\n\t\t\treturn this.normalize().multiplyScalar(length);\n\t\t}\n\n\t\tlerp(v, alpha) {\n\t\t\tthis.x += (v.x - this.x) * alpha;\n\t\t\tthis.y += (v.y - this.y) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerpVectors(v1, v2, alpha) {\n\t\t\tthis.x = v1.x + (v2.x - v1.x) * alpha;\n\t\t\tthis.y = v1.y + (v2.y - v1.y) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(v) {\n\t\t\treturn v.x === this.x && v.y === this.y;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tthis.x = array[offset];\n\t\t\tthis.y = array[offset + 1];\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this.x;\n\t\t\tarray[offset + 1] = this.y;\n\t\t\treturn array;\n\t\t}\n\n\t\tfromBufferAttribute(attribute, index, offset) {\n\t\t\tif (offset !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector2: offset has been removed from .fromBufferAttribute().');\n\t\t\t}\n\n\t\t\tthis.x = attribute.getX(index);\n\t\t\tthis.y = attribute.getY(index);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateAround(center, angle) {\n\t\t\tconst c = Math.cos(angle),\n\t\t\t\t\t\ts = Math.sin(angle);\n\t\t\tconst x = this.x - center.x;\n\t\t\tconst y = this.y - center.y;\n\t\t\tthis.x = x * c - y * s + center.x;\n\t\t\tthis.y = x * s + y * c + center.y;\n\t\t\treturn this;\n\t\t}\n\n\t\trandom() {\n\t\t\tthis.x = Math.random();\n\t\t\tthis.y = Math.random();\n\t\t\treturn this;\n\t\t}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this.x;\n\t\t\tyield this.y;\n\t\t}\n\n\t}\n\n\tclass Matrix3 {\n\t\tconstructor() {\n\t\t\tMatrix3.prototype.isMatrix3 = true;\n\t\t\tthis.elements = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n\n\t\t\tif (arguments.length > 0) {\n\t\t\t\tconsole.error('THREE.Matrix3: the constructor no longer reads arguments. use .set() instead.');\n\t\t\t}\n\t\t}\n\n\t\tset(n11, n12, n13, n21, n22, n23, n31, n32, n33) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] = n11;\n\t\t\tte[1] = n21;\n\t\t\tte[2] = n31;\n\t\t\tte[3] = n12;\n\t\t\tte[4] = n22;\n\t\t\tte[5] = n32;\n\t\t\tte[6] = n13;\n\t\t\tte[7] = n23;\n\t\t\tte[8] = n33;\n\t\t\treturn this;\n\t\t}\n\n\t\tidentity() {\n\t\t\tthis.set(1, 0, 0, 0, 1, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(m) {\n\t\t\tconst te = this.elements;\n\t\t\tconst me = m.elements;\n\t\t\tte[0] = me[0];\n\t\t\tte[1] = me[1];\n\t\t\tte[2] = me[2];\n\t\t\tte[3] = me[3];\n\t\t\tte[4] = me[4];\n\t\t\tte[5] = me[5];\n\t\t\tte[6] = me[6];\n\t\t\tte[7] = me[7];\n\t\t\tte[8] = me[8];\n\t\t\treturn this;\n\t\t}\n\n\t\textractBasis(xAxis, yAxis, zAxis) {\n\t\t\txAxis.setFromMatrix3Column(this, 0);\n\t\t\tyAxis.setFromMatrix3Column(this, 1);\n\t\t\tzAxis.setFromMatrix3Column(this, 2);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromMatrix4(m) {\n\t\t\tconst me = m.elements;\n\t\t\tthis.set(me[0], me[4], me[8], me[1], me[5], me[9], me[2], me[6], me[10]);\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(m) {\n\t\t\treturn this.multiplyMatrices(this, m);\n\t\t}\n\n\t\tpremultiply(m) {\n\t\t\treturn this.multiplyMatrices(m, this);\n\t\t}\n\n\t\tmultiplyMatrices(a, b) {\n\t\t\tconst ae = a.elements;\n\t\t\tconst be = b.elements;\n\t\t\tconst te = this.elements;\n\t\t\tconst a11 = ae[0],\n\t\t\t\t\t\ta12 = ae[3],\n\t\t\t\t\t\ta13 = ae[6];\n\t\t\tconst a21 = ae[1],\n\t\t\t\t\t\ta22 = ae[4],\n\t\t\t\t\t\ta23 = ae[7];\n\t\t\tconst a31 = ae[2],\n\t\t\t\t\t\ta32 = ae[5],\n\t\t\t\t\t\ta33 = ae[8];\n\t\t\tconst b11 = be[0],\n\t\t\t\t\t\tb12 = be[3],\n\t\t\t\t\t\tb13 = be[6];\n\t\t\tconst b21 = be[1],\n\t\t\t\t\t\tb22 = be[4],\n\t\t\t\t\t\tb23 = be[7];\n\t\t\tconst b31 = be[2],\n\t\t\t\t\t\tb32 = be[5],\n\t\t\t\t\t\tb33 = be[8];\n\t\t\tte[0] = a11 * b11 + a12 * b21 + a13 * b31;\n\t\t\tte[3] = a11 * b12 + a12 * b22 + a13 * b32;\n\t\t\tte[6] = a11 * b13 + a12 * b23 + a13 * b33;\n\t\t\tte[1] = a21 * b11 + a22 * b21 + a23 * b31;\n\t\t\tte[4] = a21 * b12 + a22 * b22 + a23 * b32;\n\t\t\tte[7] = a21 * b13 + a22 * b23 + a23 * b33;\n\t\t\tte[2] = a31 * b11 + a32 * b21 + a33 * b31;\n\t\t\tte[5] = a31 * b12 + a32 * b22 + a33 * b32;\n\t\t\tte[8] = a31 * b13 + a32 * b23 + a33 * b33;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(s) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] *= s;\n\t\t\tte[3] *= s;\n\t\t\tte[6] *= s;\n\t\t\tte[1] *= s;\n\t\t\tte[4] *= s;\n\t\t\tte[7] *= s;\n\t\t\tte[2] *= s;\n\t\t\tte[5] *= s;\n\t\t\tte[8] *= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tdeterminant() {\n\t\t\tconst te = this.elements;\n\t\t\tconst a = te[0],\n\t\t\t\t\t\tb = te[1],\n\t\t\t\t\t\tc = te[2],\n\t\t\t\t\t\td = te[3],\n\t\t\t\t\t\te = te[4],\n\t\t\t\t\t\tf = te[5],\n\t\t\t\t\t\tg = te[6],\n\t\t\t\t\t\th = te[7],\n\t\t\t\t\t\ti = te[8];\n\t\t\treturn a * e * i - a * f * h - b * d * i + b * f * g + c * d * h - c * e * g;\n\t\t}\n\n\t\tinvert() {\n\t\t\tconst te = this.elements,\n\t\t\t\t\t\tn11 = te[0],\n\t\t\t\t\t\tn21 = te[1],\n\t\t\t\t\t\tn31 = te[2],\n\t\t\t\t\t\tn12 = te[3],\n\t\t\t\t\t\tn22 = te[4],\n\t\t\t\t\t\tn32 = te[5],\n\t\t\t\t\t\tn13 = te[6],\n\t\t\t\t\t\tn23 = te[7],\n\t\t\t\t\t\tn33 = te[8],\n\t\t\t\t\t\tt11 = n33 * n22 - n32 * n23,\n\t\t\t\t\t\tt12 = n32 * n13 - n33 * n12,\n\t\t\t\t\t\tt13 = n23 * n12 - n22 * n13,\n\t\t\t\t\t\tdet = n11 * t11 + n21 * t12 + n31 * t13;\n\t\t\tif (det === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0);\n\t\t\tconst detInv = 1 / det;\n\t\t\tte[0] = t11 * detInv;\n\t\t\tte[1] = (n31 * n23 - n33 * n21) * detInv;\n\t\t\tte[2] = (n32 * n21 - n31 * n22) * detInv;\n\t\t\tte[3] = t12 * detInv;\n\t\t\tte[4] = (n33 * n11 - n31 * n13) * detInv;\n\t\t\tte[5] = (n31 * n12 - n32 * n11) * detInv;\n\t\t\tte[6] = t13 * detInv;\n\t\t\tte[7] = (n21 * n13 - n23 * n11) * detInv;\n\t\t\tte[8] = (n22 * n11 - n21 * n12) * detInv;\n\t\t\treturn this;\n\t\t}\n\n\t\ttranspose() {\n\t\t\tlet tmp;\n\t\t\tconst m = this.elements;\n\t\t\ttmp = m[1];\n\t\t\tm[1] = m[3];\n\t\t\tm[3] = tmp;\n\t\t\ttmp = m[2];\n\t\t\tm[2] = m[6];\n\t\t\tm[6] = tmp;\n\t\t\ttmp = m[5];\n\t\t\tm[5] = m[7];\n\t\t\tm[7] = tmp;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetNormalMatrix(matrix4) {\n\t\t\treturn this.setFromMatrix4(matrix4).invert().transpose();\n\t\t}\n\n\t\ttransposeIntoArray(r) {\n\t\t\tconst m = this.elements;\n\t\t\tr[0] = m[0];\n\t\t\tr[1] = m[3];\n\t\t\tr[2] = m[6];\n\t\t\tr[3] = m[1];\n\t\t\tr[4] = m[4];\n\t\t\tr[5] = m[7];\n\t\t\tr[6] = m[2];\n\t\t\tr[7] = m[5];\n\t\t\tr[8] = m[8];\n\t\t\treturn this;\n\t\t}\n\n\t\tsetUvTransform(tx, ty, sx, sy, rotation, cx, cy) {\n\t\t\tconst c = Math.cos(rotation);\n\t\t\tconst s = Math.sin(rotation);\n\t\t\tthis.set(sx * c, sx * s, -sx * (c * cx + s * cy) + cx + tx, -sy * s, sy * c, -sy * (-s * cx + c * cy) + cy + ty, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tscale(sx, sy) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] *= sx;\n\t\t\tte[3] *= sx;\n\t\t\tte[6] *= sx;\n\t\t\tte[1] *= sy;\n\t\t\tte[4] *= sy;\n\t\t\tte[7] *= sy;\n\t\t\treturn this;\n\t\t}\n\n\t\trotate(theta) {\n\t\t\tconst c = Math.cos(theta);\n\t\t\tconst s = Math.sin(theta);\n\t\t\tconst te = this.elements;\n\t\t\tconst a11 = te[0],\n\t\t\t\t\t\ta12 = te[3],\n\t\t\t\t\t\ta13 = te[6];\n\t\t\tconst a21 = te[1],\n\t\t\t\t\t\ta22 = te[4],\n\t\t\t\t\t\ta23 = te[7];\n\t\t\tte[0] = c * a11 + s * a21;\n\t\t\tte[3] = c * a12 + s * a22;\n\t\t\tte[6] = c * a13 + s * a23;\n\t\t\tte[1] = -s * a11 + c * a21;\n\t\t\tte[4] = -s * a12 + c * a22;\n\t\t\tte[7] = -s * a13 + c * a23;\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(tx, ty) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] += tx * te[2];\n\t\t\tte[3] += tx * te[5];\n\t\t\tte[6] += tx * te[8];\n\t\t\tte[1] += ty * te[2];\n\t\t\tte[4] += ty * te[5];\n\t\t\tte[7] += ty * te[8];\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(matrix) {\n\t\t\tconst te = this.elements;\n\t\t\tconst me = matrix.elements;\n\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tif (te[i] !== me[i]) return false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.elements[i] = array[i + offset];\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tconst te = this.elements;\n\t\t\tarray[offset] = te[0];\n\t\t\tarray[offset + 1] = te[1];\n\t\t\tarray[offset + 2] = te[2];\n\t\t\tarray[offset + 3] = te[3];\n\t\t\tarray[offset + 4] = te[4];\n\t\t\tarray[offset + 5] = te[5];\n\t\t\tarray[offset + 6] = te[6];\n\t\t\tarray[offset + 7] = te[7];\n\t\t\tarray[offset + 8] = te[8];\n\t\t\treturn array;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().fromArray(this.elements);\n\t\t}\n\n\t}\n\n\tfunction arrayNeedsUint32(array) {\n\t\t// assumes larger values usually on last\n\t\tfor (let i = array.length - 1; i >= 0; --i) {\n\t\t\tif (array[i] > 65535) return true;\n\t\t}\n\n\t\treturn false;\n\t}\n\n\tconst TYPED_ARRAYS = {\n\t\tInt8Array: Int8Array,\n\t\tUint8Array: Uint8Array,\n\t\tUint8ClampedArray: Uint8ClampedArray,\n\t\tInt16Array: Int16Array,\n\t\tUint16Array: Uint16Array,\n\t\tInt32Array: Int32Array,\n\t\tUint32Array: Uint32Array,\n\t\tFloat32Array: Float32Array,\n\t\tFloat64Array: Float64Array\n\t};\n\n\tfunction getTypedArray(type, buffer) {\n\t\treturn new TYPED_ARRAYS[type](buffer);\n\t}\n\n\tfunction createElementNS(name) {\n\t\treturn document.createElementNS('http://www.w3.org/1999/xhtml', name);\n\t}\n\n\tfunction SRGBToLinear(c) {\n\t\treturn c < 0.04045 ? c * 0.0773993808 : Math.pow(c * 0.9478672986 + 0.0521327014, 2.4);\n\t}\n\tfunction LinearToSRGB(c) {\n\t\treturn c < 0.0031308 ? c * 12.92 : 1.055 * Math.pow(c, 0.41666) - 0.055;\n\t} // JavaScript RGB-to-RGB transforms, defined as\n\t// FN[InputColorSpace][OutputColorSpace] callback functions.\n\n\tconst FN = {\n\t\t[SRGBColorSpace]: {\n\t\t\t[LinearSRGBColorSpace]: SRGBToLinear\n\t\t},\n\t\t[LinearSRGBColorSpace]: {\n\t\t\t[SRGBColorSpace]: LinearToSRGB\n\t\t}\n\t};\n\tconst ColorManagement = {\n\t\tlegacyMode: true,\n\n\t\tget workingColorSpace() {\n\t\t\treturn LinearSRGBColorSpace;\n\t\t},\n\n\t\tset workingColorSpace(colorSpace) {\n\t\t\tconsole.warn('THREE.ColorManagement: .workingColorSpace is readonly.');\n\t\t},\n\n\t\tconvert: function (color, sourceColorSpace, targetColorSpace) {\n\t\t\tif (this.legacyMode || sourceColorSpace === targetColorSpace || !sourceColorSpace || !targetColorSpace) {\n\t\t\t\treturn color;\n\t\t\t}\n\n\t\t\tif (FN[sourceColorSpace] && FN[sourceColorSpace][targetColorSpace] !== undefined) {\n\t\t\t\tconst fn = FN[sourceColorSpace][targetColorSpace];\n\t\t\t\tcolor.r = fn(color.r);\n\t\t\t\tcolor.g = fn(color.g);\n\t\t\t\tcolor.b = fn(color.b);\n\t\t\t\treturn color;\n\t\t\t}\n\n\t\t\tthrow new Error('Unsupported color space conversion.');\n\t\t},\n\t\tfromWorkingColorSpace: function (color, targetColorSpace) {\n\t\t\treturn this.convert(color, this.workingColorSpace, targetColorSpace);\n\t\t},\n\t\ttoWorkingColorSpace: function (color, sourceColorSpace) {\n\t\t\treturn this.convert(color, sourceColorSpace, this.workingColorSpace);\n\t\t}\n\t};\n\n\tconst _colorKeywords = {\n\t\t'aliceblue': 0xF0F8FF,\n\t\t'antiquewhite': 0xFAEBD7,\n\t\t'aqua': 0x00FFFF,\n\t\t'aquamarine': 0x7FFFD4,\n\t\t'azure': 0xF0FFFF,\n\t\t'beige': 0xF5F5DC,\n\t\t'bisque': 0xFFE4C4,\n\t\t'black': 0x000000,\n\t\t'blanchedalmond': 0xFFEBCD,\n\t\t'blue': 0x0000FF,\n\t\t'blueviolet': 0x8A2BE2,\n\t\t'brown': 0xA52A2A,\n\t\t'burlywood': 0xDEB887,\n\t\t'cadetblue': 0x5F9EA0,\n\t\t'chartreuse': 0x7FFF00,\n\t\t'chocolate': 0xD2691E,\n\t\t'coral': 0xFF7F50,\n\t\t'cornflowerblue': 0x6495ED,\n\t\t'cornsilk': 0xFFF8DC,\n\t\t'crimson': 0xDC143C,\n\t\t'cyan': 0x00FFFF,\n\t\t'darkblue': 0x00008B,\n\t\t'darkcyan': 0x008B8B,\n\t\t'darkgoldenrod': 0xB8860B,\n\t\t'darkgray': 0xA9A9A9,\n\t\t'darkgreen': 0x006400,\n\t\t'darkgrey': 0xA9A9A9,\n\t\t'darkkhaki': 0xBDB76B,\n\t\t'darkmagenta': 0x8B008B,\n\t\t'darkolivegreen': 0x556B2F,\n\t\t'darkorange': 0xFF8C00,\n\t\t'darkorchid': 0x9932CC,\n\t\t'darkred': 0x8B0000,\n\t\t'darksalmon': 0xE9967A,\n\t\t'darkseagreen': 0x8FBC8F,\n\t\t'darkslateblue': 0x483D8B,\n\t\t'darkslategray': 0x2F4F4F,\n\t\t'darkslategrey': 0x2F4F4F,\n\t\t'darkturquoise': 0x00CED1,\n\t\t'darkviolet': 0x9400D3,\n\t\t'deeppink': 0xFF1493,\n\t\t'deepskyblue': 0x00BFFF,\n\t\t'dimgray': 0x696969,\n\t\t'dimgrey': 0x696969,\n\t\t'dodgerblue': 0x1E90FF,\n\t\t'firebrick': 0xB22222,\n\t\t'floralwhite': 0xFFFAF0,\n\t\t'forestgreen': 0x228B22,\n\t\t'fuchsia': 0xFF00FF,\n\t\t'gainsboro': 0xDCDCDC,\n\t\t'ghostwhite': 0xF8F8FF,\n\t\t'gold': 0xFFD700,\n\t\t'goldenrod': 0xDAA520,\n\t\t'gray': 0x808080,\n\t\t'green': 0x008000,\n\t\t'greenyellow': 0xADFF2F,\n\t\t'grey': 0x808080,\n\t\t'honeydew': 0xF0FFF0,\n\t\t'hotpink': 0xFF69B4,\n\t\t'indianred': 0xCD5C5C,\n\t\t'indigo': 0x4B0082,\n\t\t'ivory': 0xFFFFF0,\n\t\t'khaki': 0xF0E68C,\n\t\t'lavender': 0xE6E6FA,\n\t\t'lavenderblush': 0xFFF0F5,\n\t\t'lawngreen': 0x7CFC00,\n\t\t'lemonchiffon': 0xFFFACD,\n\t\t'lightblue': 0xADD8E6,\n\t\t'lightcoral': 0xF08080,\n\t\t'lightcyan': 0xE0FFFF,\n\t\t'lightgoldenrodyellow': 0xFAFAD2,\n\t\t'lightgray': 0xD3D3D3,\n\t\t'lightgreen': 0x90EE90,\n\t\t'lightgrey': 0xD3D3D3,\n\t\t'lightpink': 0xFFB6C1,\n\t\t'lightsalmon': 0xFFA07A,\n\t\t'lightseagreen': 0x20B2AA,\n\t\t'lightskyblue': 0x87CEFA,\n\t\t'lightslategray': 0x778899,\n\t\t'lightslategrey': 0x778899,\n\t\t'lightsteelblue': 0xB0C4DE,\n\t\t'lightyellow': 0xFFFFE0,\n\t\t'lime': 0x00FF00,\n\t\t'limegreen': 0x32CD32,\n\t\t'linen': 0xFAF0E6,\n\t\t'magenta': 0xFF00FF,\n\t\t'maroon': 0x800000,\n\t\t'mediumaquamarine': 0x66CDAA,\n\t\t'mediumblue': 0x0000CD,\n\t\t'mediumorchid': 0xBA55D3,\n\t\t'mediumpurple': 0x9370DB,\n\t\t'mediumseagreen': 0x3CB371,\n\t\t'mediumslateblue': 0x7B68EE,\n\t\t'mediumspringgreen': 0x00FA9A,\n\t\t'mediumturquoise': 0x48D1CC,\n\t\t'mediumvioletred': 0xC71585,\n\t\t'midnightblue': 0x191970,\n\t\t'mintcream': 0xF5FFFA,\n\t\t'mistyrose': 0xFFE4E1,\n\t\t'moccasin': 0xFFE4B5,\n\t\t'navajowhite': 0xFFDEAD,\n\t\t'navy': 0x000080,\n\t\t'oldlace': 0xFDF5E6,\n\t\t'olive': 0x808000,\n\t\t'olivedrab': 0x6B8E23,\n\t\t'orange': 0xFFA500,\n\t\t'orangered': 0xFF4500,\n\t\t'orchid': 0xDA70D6,\n\t\t'palegoldenrod': 0xEEE8AA,\n\t\t'palegreen': 0x98FB98,\n\t\t'paleturquoise': 0xAFEEEE,\n\t\t'palevioletred': 0xDB7093,\n\t\t'papayawhip': 0xFFEFD5,\n\t\t'peachpuff': 0xFFDAB9,\n\t\t'peru': 0xCD853F,\n\t\t'pink': 0xFFC0CB,\n\t\t'plum': 0xDDA0DD,\n\t\t'powderblue': 0xB0E0E6,\n\t\t'purple': 0x800080,\n\t\t'rebeccapurple': 0x663399,\n\t\t'red': 0xFF0000,\n\t\t'rosybrown': 0xBC8F8F,\n\t\t'royalblue': 0x4169E1,\n\t\t'saddlebrown': 0x8B4513,\n\t\t'salmon': 0xFA8072,\n\t\t'sandybrown': 0xF4A460,\n\t\t'seagreen': 0x2E8B57,\n\t\t'seashell': 0xFFF5EE,\n\t\t'sienna': 0xA0522D,\n\t\t'silver': 0xC0C0C0,\n\t\t'skyblue': 0x87CEEB,\n\t\t'slateblue': 0x6A5ACD,\n\t\t'slategray': 0x708090,\n\t\t'slategrey': 0x708090,\n\t\t'snow': 0xFFFAFA,\n\t\t'springgreen': 0x00FF7F,\n\t\t'steelblue': 0x4682B4,\n\t\t'tan': 0xD2B48C,\n\t\t'teal': 0x008080,\n\t\t'thistle': 0xD8BFD8,\n\t\t'tomato': 0xFF6347,\n\t\t'turquoise': 0x40E0D0,\n\t\t'violet': 0xEE82EE,\n\t\t'wheat': 0xF5DEB3,\n\t\t'white': 0xFFFFFF,\n\t\t'whitesmoke': 0xF5F5F5,\n\t\t'yellow': 0xFFFF00,\n\t\t'yellowgreen': 0x9ACD32\n\t};\n\tconst _rgb = {\n\t\tr: 0,\n\t\tg: 0,\n\t\tb: 0\n\t};\n\tconst _hslA = {\n\t\th: 0,\n\t\ts: 0,\n\t\tl: 0\n\t};\n\tconst _hslB = {\n\t\th: 0,\n\t\ts: 0,\n\t\tl: 0\n\t};\n\n\tfunction hue2rgb(p, q, t) {\n\t\tif (t < 0) t += 1;\n\t\tif (t > 1) t -= 1;\n\t\tif (t < 1 / 6) return p + (q - p) * 6 * t;\n\t\tif (t < 1 / 2) return q;\n\t\tif (t < 2 / 3) return p + (q - p) * 6 * (2 / 3 - t);\n\t\treturn p;\n\t}\n\n\tfunction toComponents(source, target) {\n\t\ttarget.r = source.r;\n\t\ttarget.g = source.g;\n\t\ttarget.b = source.b;\n\t\treturn target;\n\t}\n\n\tclass Color {\n\t\tconstructor(r, g, b) {\n\t\t\tthis.isColor = true;\n\t\t\tthis.r = 1;\n\t\t\tthis.g = 1;\n\t\t\tthis.b = 1;\n\n\t\t\tif (g === undefined && b === undefined) {\n\t\t\t\t// r is THREE.Color, hex or string\n\t\t\t\treturn this.set(r);\n\t\t\t}\n\n\t\t\treturn this.setRGB(r, g, b);\n\t\t}\n\n\t\tset(value) {\n\t\t\tif (value && value.isColor) {\n\t\t\t\tthis.copy(value);\n\t\t\t} else if (typeof value === 'number') {\n\t\t\t\tthis.setHex(value);\n\t\t\t} else if (typeof value === 'string') {\n\t\t\t\tthis.setStyle(value);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetScalar(scalar) {\n\t\t\tthis.r = scalar;\n\t\t\tthis.g = scalar;\n\t\t\tthis.b = scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetHex(hex, colorSpace = SRGBColorSpace) {\n\t\t\thex = Math.floor(hex);\n\t\t\tthis.r = (hex >> 16 & 255) / 255;\n\t\t\tthis.g = (hex >> 8 & 255) / 255;\n\t\t\tthis.b = (hex & 255) / 255;\n\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetRGB(r, g, b, colorSpace = LinearSRGBColorSpace) {\n\t\t\tthis.r = r;\n\t\t\tthis.g = g;\n\t\t\tthis.b = b;\n\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetHSL(h, s, l, colorSpace = LinearSRGBColorSpace) {\n\t\t\t// h,s,l ranges are in 0.0 - 1.0\n\t\t\th = euclideanModulo(h, 1);\n\t\t\ts = clamp(s, 0, 1);\n\t\t\tl = clamp(l, 0, 1);\n\n\t\t\tif (s === 0) {\n\t\t\t\tthis.r = this.g = this.b = l;\n\t\t\t} else {\n\t\t\t\tconst p = l <= 0.5 ? l * (1 + s) : l + s - l * s;\n\t\t\t\tconst q = 2 * l - p;\n\t\t\t\tthis.r = hue2rgb(q, p, h + 1 / 3);\n\t\t\t\tthis.g = hue2rgb(q, p, h);\n\t\t\t\tthis.b = hue2rgb(q, p, h - 1 / 3);\n\t\t\t}\n\n\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetStyle(style, colorSpace = SRGBColorSpace) {\n\t\t\tfunction handleAlpha(string) {\n\t\t\t\tif (string === undefined) return;\n\n\t\t\t\tif (parseFloat(string) < 1) {\n\t\t\t\t\tconsole.warn('THREE.Color: Alpha component of ' + style + ' will be ignored.');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet m;\n\n\t\t\tif (m = /^((?:rgb|hsl)a?)\\(([^\\)]*)\\)/.exec(style)) {\n\t\t\t\t// rgb / hsl\n\t\t\t\tlet color;\n\t\t\t\tconst name = m[1];\n\t\t\t\tconst components = m[2];\n\n\t\t\t\tswitch (name) {\n\t\t\t\t\tcase 'rgb':\n\t\t\t\t\tcase 'rgba':\n\t\t\t\t\t\tif (color = /^\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*(?:,\\s*(\\d*\\.?\\d+)\\s*)?$/.exec(components)) {\n\t\t\t\t\t\t\t// rgb(255,0,0) rgba(255,0,0,0.5)\n\t\t\t\t\t\t\tthis.r = Math.min(255, parseInt(color[1], 10)) / 255;\n\t\t\t\t\t\t\tthis.g = Math.min(255, parseInt(color[2], 10)) / 255;\n\t\t\t\t\t\t\tthis.b = Math.min(255, parseInt(color[3], 10)) / 255;\n\t\t\t\t\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\t\t\t\t\thandleAlpha(color[4]);\n\t\t\t\t\t\t\treturn this;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (color = /^\\s*(\\d+)\\%\\s*,\\s*(\\d+)\\%\\s*,\\s*(\\d+)\\%\\s*(?:,\\s*(\\d*\\.?\\d+)\\s*)?$/.exec(components)) {\n\t\t\t\t\t\t\t// rgb(100%,0%,0%) rgba(100%,0%,0%,0.5)\n\t\t\t\t\t\t\tthis.r = Math.min(100, parseInt(color[1], 10)) / 100;\n\t\t\t\t\t\t\tthis.g = Math.min(100, parseInt(color[2], 10)) / 100;\n\t\t\t\t\t\t\tthis.b = Math.min(100, parseInt(color[3], 10)) / 100;\n\t\t\t\t\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\t\t\t\t\thandleAlpha(color[4]);\n\t\t\t\t\t\t\treturn this;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'hsl':\n\t\t\t\t\tcase 'hsla':\n\t\t\t\t\t\tif (color = /^\\s*(\\d*\\.?\\d+)\\s*,\\s*(\\d+)\\%\\s*,\\s*(\\d+)\\%\\s*(?:,\\s*(\\d*\\.?\\d+)\\s*)?$/.exec(components)) {\n\t\t\t\t\t\t\t// hsl(120,50%,50%) hsla(120,50%,50%,0.5)\n\t\t\t\t\t\t\tconst h = parseFloat(color[1]) / 360;\n\t\t\t\t\t\t\tconst s = parseInt(color[2], 10) / 100;\n\t\t\t\t\t\t\tconst l = parseInt(color[3], 10) / 100;\n\t\t\t\t\t\t\thandleAlpha(color[4]);\n\t\t\t\t\t\t\treturn this.setHSL(h, s, l, colorSpace);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t} else if (m = /^\\#([A-Fa-f\\d]+)$/.exec(style)) {\n\t\t\t\t// hex color\n\t\t\t\tconst hex = m[1];\n\t\t\t\tconst size = hex.length;\n\n\t\t\t\tif (size === 3) {\n\t\t\t\t\t// #ff0\n\t\t\t\t\tthis.r = parseInt(hex.charAt(0) + hex.charAt(0), 16) / 255;\n\t\t\t\t\tthis.g = parseInt(hex.charAt(1) + hex.charAt(1), 16) / 255;\n\t\t\t\t\tthis.b = parseInt(hex.charAt(2) + hex.charAt(2), 16) / 255;\n\t\t\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\t\t\treturn this;\n\t\t\t\t} else if (size === 6) {\n\t\t\t\t\t// #ff0000\n\t\t\t\t\tthis.r = parseInt(hex.charAt(0) + hex.charAt(1), 16) / 255;\n\t\t\t\t\tthis.g = parseInt(hex.charAt(2) + hex.charAt(3), 16) / 255;\n\t\t\t\t\tthis.b = parseInt(hex.charAt(4) + hex.charAt(5), 16) / 255;\n\t\t\t\t\tColorManagement.toWorkingColorSpace(this, colorSpace);\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (style && style.length > 0) {\n\t\t\t\treturn this.setColorName(style, colorSpace);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetColorName(style, colorSpace = SRGBColorSpace) {\n\t\t\t// color keywords\n\t\t\tconst hex = _colorKeywords[style.toLowerCase()];\n\n\t\t\tif (hex !== undefined) {\n\t\t\t\t// red\n\t\t\t\tthis.setHex(hex, colorSpace);\n\t\t\t} else {\n\t\t\t\t// unknown color\n\t\t\t\tconsole.warn('THREE.Color: Unknown color ' + style);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.r, this.g, this.b);\n\t\t}\n\n\t\tcopy(color) {\n\t\t\tthis.r = color.r;\n\t\t\tthis.g = color.g;\n\t\t\tthis.b = color.b;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopySRGBToLinear(color) {\n\t\t\tthis.r = SRGBToLinear(color.r);\n\t\t\tthis.g = SRGBToLinear(color.g);\n\t\t\tthis.b = SRGBToLinear(color.b);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyLinearToSRGB(color) {\n\t\t\tthis.r = LinearToSRGB(color.r);\n\t\t\tthis.g = LinearToSRGB(color.g);\n\t\t\tthis.b = LinearToSRGB(color.b);\n\t\t\treturn this;\n\t\t}\n\n\t\tconvertSRGBToLinear() {\n\t\t\tthis.copySRGBToLinear(this);\n\t\t\treturn this;\n\t\t}\n\n\t\tconvertLinearToSRGB() {\n\t\t\tthis.copyLinearToSRGB(this);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetHex(colorSpace = SRGBColorSpace) {\n\t\t\tColorManagement.fromWorkingColorSpace(toComponents(this, _rgb), colorSpace);\n\t\t\treturn clamp(_rgb.r * 255, 0, 255) << 16 ^ clamp(_rgb.g * 255, 0, 255) << 8 ^ clamp(_rgb.b * 255, 0, 255) << 0;\n\t\t}\n\n\t\tgetHexString(colorSpace = SRGBColorSpace) {\n\t\t\treturn ('000000' + this.getHex(colorSpace).toString(16)).slice(-6);\n\t\t}\n\n\t\tgetHSL(target, colorSpace = LinearSRGBColorSpace) {\n\t\t\t// h,s,l ranges are in 0.0 - 1.0\n\t\t\tColorManagement.fromWorkingColorSpace(toComponents(this, _rgb), colorSpace);\n\t\t\tconst r = _rgb.r,\n\t\t\t\t\t\tg = _rgb.g,\n\t\t\t\t\t\tb = _rgb.b;\n\t\t\tconst max = Math.max(r, g, b);\n\t\t\tconst min = Math.min(r, g, b);\n\t\t\tlet hue, saturation;\n\t\t\tconst lightness = (min + max) / 2.0;\n\n\t\t\tif (min === max) {\n\t\t\t\thue = 0;\n\t\t\t\tsaturation = 0;\n\t\t\t} else {\n\t\t\t\tconst delta = max - min;\n\t\t\t\tsaturation = lightness <= 0.5 ? delta / (max + min) : delta / (2 - max - min);\n\n\t\t\t\tswitch (max) {\n\t\t\t\t\tcase r:\n\t\t\t\t\t\thue = (g - b) / delta + (g < b ? 6 : 0);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase g:\n\t\t\t\t\t\thue = (b - r) / delta + 2;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase b:\n\t\t\t\t\t\thue = (r - g) / delta + 4;\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\thue /= 6;\n\t\t\t}\n\n\t\t\ttarget.h = hue;\n\t\t\ttarget.s = saturation;\n\t\t\ttarget.l = lightness;\n\t\t\treturn target;\n\t\t}\n\n\t\tgetRGB(target, colorSpace = LinearSRGBColorSpace) {\n\t\t\tColorManagement.fromWorkingColorSpace(toComponents(this, _rgb), colorSpace);\n\t\t\ttarget.r = _rgb.r;\n\t\t\ttarget.g = _rgb.g;\n\t\t\ttarget.b = _rgb.b;\n\t\t\treturn target;\n\t\t}\n\n\t\tgetStyle(colorSpace = SRGBColorSpace) {\n\t\t\tColorManagement.fromWorkingColorSpace(toComponents(this, _rgb), colorSpace);\n\n\t\t\tif (colorSpace !== SRGBColorSpace) {\n\t\t\t\t// Requires CSS Color Module Level 4 (https://www.w3.org/TR/css-color-4/).\n\t\t\t\treturn `color(${colorSpace} ${_rgb.r} ${_rgb.g} ${_rgb.b})`;\n\t\t\t}\n\n\t\t\treturn `rgb(${_rgb.r * 255 | 0},${_rgb.g * 255 | 0},${_rgb.b * 255 | 0})`;\n\t\t}\n\n\t\toffsetHSL(h, s, l) {\n\t\t\tthis.getHSL(_hslA);\n\t\t\t_hslA.h += h;\n\t\t\t_hslA.s += s;\n\t\t\t_hslA.l += l;\n\t\t\tthis.setHSL(_hslA.h, _hslA.s, _hslA.l);\n\t\t\treturn this;\n\t\t}\n\n\t\tadd(color) {\n\t\t\tthis.r += color.r;\n\t\t\tthis.g += color.g;\n\t\t\tthis.b += color.b;\n\t\t\treturn this;\n\t\t}\n\n\t\taddColors(color1, color2) {\n\t\t\tthis.r = color1.r + color2.r;\n\t\t\tthis.g = color1.g + color2.g;\n\t\t\tthis.b = color1.b + color2.b;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScalar(s) {\n\t\t\tthis.r += s;\n\t\t\tthis.g += s;\n\t\t\tthis.b += s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsub(color) {\n\t\t\tthis.r = Math.max(0, this.r - color.r);\n\t\t\tthis.g = Math.max(0, this.g - color.g);\n\t\t\tthis.b = Math.max(0, this.b - color.b);\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(color) {\n\t\t\tthis.r *= color.r;\n\t\t\tthis.g *= color.g;\n\t\t\tthis.b *= color.b;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(s) {\n\t\t\tthis.r *= s;\n\t\t\tthis.g *= s;\n\t\t\tthis.b *= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerp(color, alpha) {\n\t\t\tthis.r += (color.r - this.r) * alpha;\n\t\t\tthis.g += (color.g - this.g) * alpha;\n\t\t\tthis.b += (color.b - this.b) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerpColors(color1, color2, alpha) {\n\t\t\tthis.r = color1.r + (color2.r - color1.r) * alpha;\n\t\t\tthis.g = color1.g + (color2.g - color1.g) * alpha;\n\t\t\tthis.b = color1.b + (color2.b - color1.b) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerpHSL(color, alpha) {\n\t\t\tthis.getHSL(_hslA);\n\t\t\tcolor.getHSL(_hslB);\n\t\t\tconst h = lerp(_hslA.h, _hslB.h, alpha);\n\t\t\tconst s = lerp(_hslA.s, _hslB.s, alpha);\n\t\t\tconst l = lerp(_hslA.l, _hslB.l, alpha);\n\t\t\tthis.setHSL(h, s, l);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(c) {\n\t\t\treturn c.r === this.r && c.g === this.g && c.b === this.b;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tthis.r = array[offset];\n\t\t\tthis.g = array[offset + 1];\n\t\t\tthis.b = array[offset + 2];\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this.r;\n\t\t\tarray[offset + 1] = this.g;\n\t\t\tarray[offset + 2] = this.b;\n\t\t\treturn array;\n\t\t}\n\n\t\tfromBufferAttribute(attribute, index) {\n\t\t\tthis.r = attribute.getX(index);\n\t\t\tthis.g = attribute.getY(index);\n\t\t\tthis.b = attribute.getZ(index);\n\n\t\t\tif (attribute.normalized === true) {\n\t\t\t\t// assuming Uint8Array\n\t\t\t\tthis.r /= 255;\n\t\t\t\tthis.g /= 255;\n\t\t\t\tthis.b /= 255;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\treturn this.getHex();\n\t\t}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this.r;\n\t\t\tyield this.g;\n\t\t\tyield this.b;\n\t\t}\n\n\t}\n\n\tColor.NAMES = _colorKeywords;\n\n\tlet _canvas;\n\n\tclass ImageUtils {\n\t\tstatic getDataURL(image) {\n\t\t\tif (/^data:/i.test(image.src)) {\n\t\t\t\treturn image.src;\n\t\t\t}\n\n\t\t\tif (typeof HTMLCanvasElement == 'undefined') {\n\t\t\t\treturn image.src;\n\t\t\t}\n\n\t\t\tlet canvas;\n\n\t\t\tif (image instanceof HTMLCanvasElement) {\n\t\t\t\tcanvas = image;\n\t\t\t} else {\n\t\t\t\tif (_canvas === undefined) _canvas = createElementNS('canvas');\n\t\t\t\t_canvas.width = image.width;\n\t\t\t\t_canvas.height = image.height;\n\n\t\t\t\tconst context = _canvas.getContext('2d');\n\n\t\t\t\tif (image instanceof ImageData) {\n\t\t\t\t\tcontext.putImageData(image, 0, 0);\n\t\t\t\t} else {\n\t\t\t\t\tcontext.drawImage(image, 0, 0, image.width, image.height);\n\t\t\t\t}\n\n\t\t\t\tcanvas = _canvas;\n\t\t\t}\n\n\t\t\tif (canvas.width > 2048 || canvas.height > 2048) {\n\t\t\t\tconsole.warn('THREE.ImageUtils.getDataURL: Image converted to jpg for performance reasons', image);\n\t\t\t\treturn canvas.toDataURL('image/jpeg', 0.6);\n\t\t\t} else {\n\t\t\t\treturn canvas.toDataURL('image/png');\n\t\t\t}\n\t\t}\n\n\t\tstatic sRGBToLinear(image) {\n\t\t\tif (typeof HTMLImageElement !== 'undefined' && image instanceof HTMLImageElement || typeof HTMLCanvasElement !== 'undefined' && image instanceof HTMLCanvasElement || typeof ImageBitmap !== 'undefined' && image instanceof ImageBitmap) {\n\t\t\t\tconst canvas = createElementNS('canvas');\n\t\t\t\tcanvas.width = image.width;\n\t\t\t\tcanvas.height = image.height;\n\t\t\t\tconst context = canvas.getContext('2d');\n\t\t\t\tcontext.drawImage(image, 0, 0, image.width, image.height);\n\t\t\t\tconst imageData = context.getImageData(0, 0, image.width, image.height);\n\t\t\t\tconst data = imageData.data;\n\n\t\t\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\t\t\tdata[i] = SRGBToLinear(data[i] / 255) * 255;\n\t\t\t\t}\n\n\t\t\t\tcontext.putImageData(imageData, 0, 0);\n\t\t\t\treturn canvas;\n\t\t\t} else if (image.data) {\n\t\t\t\tconst data = image.data.slice(0);\n\n\t\t\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\t\t\tif (data instanceof Uint8Array || data instanceof Uint8ClampedArray) {\n\t\t\t\t\t\tdata[i] = Math.floor(SRGBToLinear(data[i] / 255) * 255);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// assuming float\n\t\t\t\t\t\tdata[i] = SRGBToLinear(data[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn {\n\t\t\t\t\tdata: data,\n\t\t\t\t\twidth: image.width,\n\t\t\t\t\theight: image.height\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied.');\n\t\t\t\treturn image;\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass Source {\n\t\tconstructor(data = null) {\n\t\t\tthis.isSource = true;\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.data = data;\n\t\t\tthis.version = 0;\n\t\t}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) this.version++;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst isRootObject = meta === undefined || typeof meta === 'string';\n\n\t\t\tif (!isRootObject && meta.images[this.uuid] !== undefined) {\n\t\t\t\treturn meta.images[this.uuid];\n\t\t\t}\n\n\t\t\tconst output = {\n\t\t\t\tuuid: this.uuid,\n\t\t\t\turl: ''\n\t\t\t};\n\t\t\tconst data = this.data;\n\n\t\t\tif (data !== null) {\n\t\t\t\tlet url;\n\n\t\t\t\tif (Array.isArray(data)) {\n\t\t\t\t\t// cube texture\n\t\t\t\t\turl = [];\n\n\t\t\t\t\tfor (let i = 0, l = data.length; i < l; i++) {\n\t\t\t\t\t\tif (data[i].isDataTexture) {\n\t\t\t\t\t\t\turl.push(serializeImage(data[i].image));\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\turl.push(serializeImage(data[i]));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// texture\n\t\t\t\t\turl = serializeImage(data);\n\t\t\t\t}\n\n\t\t\t\toutput.url = url;\n\t\t\t}\n\n\t\t\tif (!isRootObject) {\n\t\t\t\tmeta.images[this.uuid] = output;\n\t\t\t}\n\n\t\t\treturn output;\n\t\t}\n\n\t}\n\n\tfunction serializeImage(image) {\n\t\tif (typeof HTMLImageElement !== 'undefined' && image instanceof HTMLImageElement || typeof HTMLCanvasElement !== 'undefined' && image instanceof HTMLCanvasElement || typeof ImageBitmap !== 'undefined' && image instanceof ImageBitmap) {\n\t\t\t// default images\n\t\t\treturn ImageUtils.getDataURL(image);\n\t\t} else {\n\t\t\tif (image.data) {\n\t\t\t\t// images of DataTexture\n\t\t\t\treturn {\n\t\t\t\t\tdata: Array.from(image.data),\n\t\t\t\t\twidth: image.width,\n\t\t\t\t\theight: image.height,\n\t\t\t\t\ttype: image.data.constructor.name\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.Texture: Unable to serialize Texture.');\n\t\t\t\treturn {};\n\t\t\t}\n\t\t}\n\t}\n\n\tlet textureId = 0;\n\n\tclass Texture extends EventDispatcher {\n\t\tconstructor(image = Texture.DEFAULT_IMAGE, mapping = Texture.DEFAULT_MAPPING, wrapS = ClampToEdgeWrapping, wrapT = ClampToEdgeWrapping, magFilter = LinearFilter, minFilter = LinearMipmapLinearFilter, format = RGBAFormat, type = UnsignedByteType, anisotropy = 1, encoding = LinearEncoding) {\n\t\t\tsuper();\n\t\t\tthis.isTexture = true;\n\t\t\tObject.defineProperty(this, 'id', {\n\t\t\t\tvalue: textureId++\n\t\t\t});\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.name = '';\n\t\t\tthis.source = new Source(image);\n\t\t\tthis.mipmaps = [];\n\t\t\tthis.mapping = mapping;\n\t\t\tthis.wrapS = wrapS;\n\t\t\tthis.wrapT = wrapT;\n\t\t\tthis.magFilter = magFilter;\n\t\t\tthis.minFilter = minFilter;\n\t\t\tthis.anisotropy = anisotropy;\n\t\t\tthis.format = format;\n\t\t\tthis.internalFormat = null;\n\t\t\tthis.type = type;\n\t\t\tthis.offset = new Vector2(0, 0);\n\t\t\tthis.repeat = new Vector2(1, 1);\n\t\t\tthis.center = new Vector2(0, 0);\n\t\t\tthis.rotation = 0;\n\t\t\tthis.matrixAutoUpdate = true;\n\t\t\tthis.matrix = new Matrix3();\n\t\t\tthis.generateMipmaps = true;\n\t\t\tthis.premultiplyAlpha = false;\n\t\t\tthis.flipY = true;\n\t\t\tthis.unpackAlignment = 4; // valid values: 1, 2, 4, 8 (see http://www.khronos.org/opengles/sdk/docs/man/xhtml/glPixelStorei.xml)\n\t\t\t// Values of encoding !== THREE.LinearEncoding only supported on map, envMap and emissiveMap.\n\t\t\t//\n\t\t\t// Also changing the encoding after already used by a Material will not automatically make the Material\n\t\t\t// update. You need to explicitly call Material.needsUpdate to trigger it to recompile.\n\n\t\t\tthis.encoding = encoding;\n\t\t\tthis.userData = {};\n\t\t\tthis.version = 0;\n\t\t\tthis.onUpdate = null;\n\t\t\tthis.isRenderTargetTexture = false; // indicates whether a texture belongs to a render target or not\n\n\t\t\tthis.needsPMREMUpdate = false; // indicates whether this texture should be processed by PMREMGenerator or not (only relevant for render target textures)\n\t\t}\n\n\t\tget image() {\n\t\t\treturn this.source.data;\n\t\t}\n\n\t\tset image(value) {\n\t\t\tthis.source.data = value;\n\t\t}\n\n\t\tupdateMatrix() {\n\t\t\tthis.matrix.setUvTransform(this.offset.x, this.offset.y, this.repeat.x, this.repeat.y, this.rotation, this.center.x, this.center.y);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.name = source.name;\n\t\t\tthis.source = source.source;\n\t\t\tthis.mipmaps = source.mipmaps.slice(0);\n\t\t\tthis.mapping = source.mapping;\n\t\t\tthis.wrapS = source.wrapS;\n\t\t\tthis.wrapT = source.wrapT;\n\t\t\tthis.magFilter = source.magFilter;\n\t\t\tthis.minFilter = source.minFilter;\n\t\t\tthis.anisotropy = source.anisotropy;\n\t\t\tthis.format = source.format;\n\t\t\tthis.internalFormat = source.internalFormat;\n\t\t\tthis.type = source.type;\n\t\t\tthis.offset.copy(source.offset);\n\t\t\tthis.repeat.copy(source.repeat);\n\t\t\tthis.center.copy(source.center);\n\t\t\tthis.rotation = source.rotation;\n\t\t\tthis.matrixAutoUpdate = source.matrixAutoUpdate;\n\t\t\tthis.matrix.copy(source.matrix);\n\t\t\tthis.generateMipmaps = source.generateMipmaps;\n\t\t\tthis.premultiplyAlpha = source.premultiplyAlpha;\n\t\t\tthis.flipY = source.flipY;\n\t\t\tthis.unpackAlignment = source.unpackAlignment;\n\t\t\tthis.encoding = source.encoding;\n\t\t\tthis.userData = JSON.parse(JSON.stringify(source.userData));\n\t\t\tthis.needsUpdate = true;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst isRootObject = meta === undefined || typeof meta === 'string';\n\n\t\t\tif (!isRootObject && meta.textures[this.uuid] !== undefined) {\n\t\t\t\treturn meta.textures[this.uuid];\n\t\t\t}\n\n\t\t\tconst output = {\n\t\t\t\tmetadata: {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'Texture',\n\t\t\t\t\tgenerator: 'Texture.toJSON'\n\t\t\t\t},\n\t\t\t\tuuid: this.uuid,\n\t\t\t\tname: this.name,\n\t\t\t\timage: this.source.toJSON(meta).uuid,\n\t\t\t\tmapping: this.mapping,\n\t\t\t\trepeat: [this.repeat.x, this.repeat.y],\n\t\t\t\toffset: [this.offset.x, this.offset.y],\n\t\t\t\tcenter: [this.center.x, this.center.y],\n\t\t\t\trotation: this.rotation,\n\t\t\t\twrap: [this.wrapS, this.wrapT],\n\t\t\t\tformat: this.format,\n\t\t\t\ttype: this.type,\n\t\t\t\tencoding: this.encoding,\n\t\t\t\tminFilter: this.minFilter,\n\t\t\t\tmagFilter: this.magFilter,\n\t\t\t\tanisotropy: this.anisotropy,\n\t\t\t\tflipY: this.flipY,\n\t\t\t\tpremultiplyAlpha: this.premultiplyAlpha,\n\t\t\t\tunpackAlignment: this.unpackAlignment\n\t\t\t};\n\t\t\tif (JSON.stringify(this.userData) !== '{}') output.userData = this.userData;\n\n\t\t\tif (!isRootObject) {\n\t\t\t\tmeta.textures[this.uuid] = output;\n\t\t\t}\n\n\t\t\treturn output;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'dispose'\n\t\t\t});\n\t\t}\n\n\t\ttransformUv(uv) {\n\t\t\tif (this.mapping !== UVMapping) return uv;\n\t\t\tuv.applyMatrix3(this.matrix);\n\n\t\t\tif (uv.x < 0 || uv.x > 1) {\n\t\t\t\tswitch (this.wrapS) {\n\t\t\t\t\tcase RepeatWrapping:\n\t\t\t\t\t\tuv.x = uv.x - Math.floor(uv.x);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase ClampToEdgeWrapping:\n\t\t\t\t\t\tuv.x = uv.x < 0 ? 0 : 1;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase MirroredRepeatWrapping:\n\t\t\t\t\t\tif (Math.abs(Math.floor(uv.x) % 2) === 1) {\n\t\t\t\t\t\t\tuv.x = Math.ceil(uv.x) - uv.x;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tuv.x = uv.x - Math.floor(uv.x);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (uv.y < 0 || uv.y > 1) {\n\t\t\t\tswitch (this.wrapT) {\n\t\t\t\t\tcase RepeatWrapping:\n\t\t\t\t\t\tuv.y = uv.y - Math.floor(uv.y);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase ClampToEdgeWrapping:\n\t\t\t\t\t\tuv.y = uv.y < 0 ? 0 : 1;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase MirroredRepeatWrapping:\n\t\t\t\t\t\tif (Math.abs(Math.floor(uv.y) % 2) === 1) {\n\t\t\t\t\t\t\tuv.y = Math.ceil(uv.y) - uv.y;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tuv.y = uv.y - Math.floor(uv.y);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.flipY) {\n\t\t\t\tuv.y = 1 - uv.y;\n\t\t\t}\n\n\t\t\treturn uv;\n\t\t}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) {\n\t\t\t\tthis.version++;\n\t\t\t\tthis.source.needsUpdate = true;\n\t\t\t}\n\t\t}\n\n\t}\n\n\tTexture.DEFAULT_IMAGE = null;\n\tTexture.DEFAULT_MAPPING = UVMapping;\n\n\tclass Vector4 {\n\t\tconstructor(x = 0, y = 0, z = 0, w = 1) {\n\t\t\tVector4.prototype.isVector4 = true;\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t\tthis.z = z;\n\t\t\tthis.w = w;\n\t\t}\n\n\t\tget width() {\n\t\t\treturn this.z;\n\t\t}\n\n\t\tset width(value) {\n\t\t\tthis.z = value;\n\t\t}\n\n\t\tget height() {\n\t\t\treturn this.w;\n\t\t}\n\n\t\tset height(value) {\n\t\t\tthis.w = value;\n\t\t}\n\n\t\tset(x, y, z, w) {\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t\tthis.z = z;\n\t\t\tthis.w = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetScalar(scalar) {\n\t\t\tthis.x = scalar;\n\t\t\tthis.y = scalar;\n\t\t\tthis.z = scalar;\n\t\t\tthis.w = scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetX(x) {\n\t\t\tthis.x = x;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetY(y) {\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetZ(z) {\n\t\t\tthis.z = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetW(w) {\n\t\t\tthis.w = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetComponent(index, value) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\tthis.x = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.y = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 2:\n\t\t\t\t\tthis.z = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 3:\n\t\t\t\t\tthis.w = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetComponent(index) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\treturn this.x;\n\n\t\t\t\tcase 1:\n\t\t\t\t\treturn this.y;\n\n\t\t\t\tcase 2:\n\t\t\t\t\treturn this.z;\n\n\t\t\t\tcase 3:\n\t\t\t\t\treturn this.w;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.x, this.y, this.z, this.w);\n\t\t}\n\n\t\tcopy(v) {\n\t\t\tthis.x = v.x;\n\t\t\tthis.y = v.y;\n\t\t\tthis.z = v.z;\n\t\t\tthis.w = v.w !== undefined ? v.w : 1;\n\t\t\treturn this;\n\t\t}\n\n\t\tadd(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector4: .add() now only accepts one argument. Use .addVectors( a, b ) instead.');\n\t\t\t\treturn this.addVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x += v.x;\n\t\t\tthis.y += v.y;\n\t\t\tthis.z += v.z;\n\t\t\tthis.w += v.w;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScalar(s) {\n\t\t\tthis.x += s;\n\t\t\tthis.y += s;\n\t\t\tthis.z += s;\n\t\t\tthis.w += s;\n\t\t\treturn this;\n\t\t}\n\n\t\taddVectors(a, b) {\n\t\t\tthis.x = a.x + b.x;\n\t\t\tthis.y = a.y + b.y;\n\t\t\tthis.z = a.z + b.z;\n\t\t\tthis.w = a.w + b.w;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScaledVector(v, s) {\n\t\t\tthis.x += v.x * s;\n\t\t\tthis.y += v.y * s;\n\t\t\tthis.z += v.z * s;\n\t\t\tthis.w += v.w * s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsub(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector4: .sub() now only accepts one argument. Use .subVectors( a, b ) instead.');\n\t\t\t\treturn this.subVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x -= v.x;\n\t\t\tthis.y -= v.y;\n\t\t\tthis.z -= v.z;\n\t\t\tthis.w -= v.w;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubScalar(s) {\n\t\t\tthis.x -= s;\n\t\t\tthis.y -= s;\n\t\t\tthis.z -= s;\n\t\t\tthis.w -= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubVectors(a, b) {\n\t\t\tthis.x = a.x - b.x;\n\t\t\tthis.y = a.y - b.y;\n\t\t\tthis.z = a.z - b.z;\n\t\t\tthis.w = a.w - b.w;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(v) {\n\t\t\tthis.x *= v.x;\n\t\t\tthis.y *= v.y;\n\t\t\tthis.z *= v.z;\n\t\t\tthis.w *= v.w;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(scalar) {\n\t\t\tthis.x *= scalar;\n\t\t\tthis.y *= scalar;\n\t\t\tthis.z *= scalar;\n\t\t\tthis.w *= scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyMatrix4(m) {\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y,\n\t\t\t\t\t\tz = this.z,\n\t\t\t\t\t\tw = this.w;\n\t\t\tconst e = m.elements;\n\t\t\tthis.x = e[0] * x + e[4] * y + e[8] * z + e[12] * w;\n\t\t\tthis.y = e[1] * x + e[5] * y + e[9] * z + e[13] * w;\n\t\t\tthis.z = e[2] * x + e[6] * y + e[10] * z + e[14] * w;\n\t\t\tthis.w = e[3] * x + e[7] * y + e[11] * z + e[15] * w;\n\t\t\treturn this;\n\t\t}\n\n\t\tdivideScalar(scalar) {\n\t\t\treturn this.multiplyScalar(1 / scalar);\n\t\t}\n\n\t\tsetAxisAngleFromQuaternion(q) {\n\t\t\t// http://www.euclideanspace.com/maths/geometry/rotations/conversions/quaternionToAngle/index.htm\n\t\t\t// q is assumed to be normalized\n\t\t\tthis.w = 2 * Math.acos(q.w);\n\t\t\tconst s = Math.sqrt(1 - q.w * q.w);\n\n\t\t\tif (s < 0.0001) {\n\t\t\t\tthis.x = 1;\n\t\t\t\tthis.y = 0;\n\t\t\t\tthis.z = 0;\n\t\t\t} else {\n\t\t\t\tthis.x = q.x / s;\n\t\t\t\tthis.y = q.y / s;\n\t\t\t\tthis.z = q.z / s;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetAxisAngleFromRotationMatrix(m) {\n\t\t\t// http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToAngle/index.htm\n\t\t\t// assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\t\t\tlet angle, x, y, z; // variables for result\n\n\t\t\tconst epsilon = 0.01,\n\t\t\t\t\t\t// margin to allow for rounding errors\n\t\t\tepsilon2 = 0.1,\n\t\t\t\t\t\t// margin to distinguish between 0 and 180 degrees\n\t\t\tte = m.elements,\n\t\t\t\t\t\tm11 = te[0],\n\t\t\t\t\t\tm12 = te[4],\n\t\t\t\t\t\tm13 = te[8],\n\t\t\t\t\t\tm21 = te[1],\n\t\t\t\t\t\tm22 = te[5],\n\t\t\t\t\t\tm23 = te[9],\n\t\t\t\t\t\tm31 = te[2],\n\t\t\t\t\t\tm32 = te[6],\n\t\t\t\t\t\tm33 = te[10];\n\n\t\t\tif (Math.abs(m12 - m21) < epsilon && Math.abs(m13 - m31) < epsilon && Math.abs(m23 - m32) < epsilon) {\n\t\t\t\t// singularity found\n\t\t\t\t// first check for identity matrix which must have +1 for all terms\n\t\t\t\t// in leading diagonal and zero in other terms\n\t\t\t\tif (Math.abs(m12 + m21) < epsilon2 && Math.abs(m13 + m31) < epsilon2 && Math.abs(m23 + m32) < epsilon2 && Math.abs(m11 + m22 + m33 - 3) < epsilon2) {\n\t\t\t\t\t// this singularity is identity matrix so angle = 0\n\t\t\t\t\tthis.set(1, 0, 0, 0);\n\t\t\t\t\treturn this; // zero angle, arbitrary axis\n\t\t\t\t} // otherwise this singularity is angle = 180\n\n\n\t\t\t\tangle = Math.PI;\n\t\t\t\tconst xx = (m11 + 1) / 2;\n\t\t\t\tconst yy = (m22 + 1) / 2;\n\t\t\t\tconst zz = (m33 + 1) / 2;\n\t\t\t\tconst xy = (m12 + m21) / 4;\n\t\t\t\tconst xz = (m13 + m31) / 4;\n\t\t\t\tconst yz = (m23 + m32) / 4;\n\n\t\t\t\tif (xx > yy && xx > zz) {\n\t\t\t\t\t// m11 is the largest diagonal term\n\t\t\t\t\tif (xx < epsilon) {\n\t\t\t\t\t\tx = 0;\n\t\t\t\t\t\ty = 0.707106781;\n\t\t\t\t\t\tz = 0.707106781;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tx = Math.sqrt(xx);\n\t\t\t\t\t\ty = xy / x;\n\t\t\t\t\t\tz = xz / x;\n\t\t\t\t\t}\n\t\t\t\t} else if (yy > zz) {\n\t\t\t\t\t// m22 is the largest diagonal term\n\t\t\t\t\tif (yy < epsilon) {\n\t\t\t\t\t\tx = 0.707106781;\n\t\t\t\t\t\ty = 0;\n\t\t\t\t\t\tz = 0.707106781;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ty = Math.sqrt(yy);\n\t\t\t\t\t\tx = xy / y;\n\t\t\t\t\t\tz = yz / y;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// m33 is the largest diagonal term so base result on this\n\t\t\t\t\tif (zz < epsilon) {\n\t\t\t\t\t\tx = 0.707106781;\n\t\t\t\t\t\ty = 0.707106781;\n\t\t\t\t\t\tz = 0;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tz = Math.sqrt(zz);\n\t\t\t\t\t\tx = xz / z;\n\t\t\t\t\t\ty = yz / z;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.set(x, y, z, angle);\n\t\t\t\treturn this; // return 180 deg rotation\n\t\t\t} // as we have reached here there are no singularities so we can handle normally\n\n\n\t\t\tlet s = Math.sqrt((m32 - m23) * (m32 - m23) + (m13 - m31) * (m13 - m31) + (m21 - m12) * (m21 - m12)); // used to normalize\n\n\t\t\tif (Math.abs(s) < 0.001) s = 1; // prevent divide by zero, should not happen if matrix is orthogonal and should be\n\t\t\t// caught by singularity test above, but I've left it in just in case\n\n\t\t\tthis.x = (m32 - m23) / s;\n\t\t\tthis.y = (m13 - m31) / s;\n\t\t\tthis.z = (m21 - m12) / s;\n\t\t\tthis.w = Math.acos((m11 + m22 + m33 - 1) / 2);\n\t\t\treturn this;\n\t\t}\n\n\t\tmin(v) {\n\t\t\tthis.x = Math.min(this.x, v.x);\n\t\t\tthis.y = Math.min(this.y, v.y);\n\t\t\tthis.z = Math.min(this.z, v.z);\n\t\t\tthis.w = Math.min(this.w, v.w);\n\t\t\treturn this;\n\t\t}\n\n\t\tmax(v) {\n\t\t\tthis.x = Math.max(this.x, v.x);\n\t\t\tthis.y = Math.max(this.y, v.y);\n\t\t\tthis.z = Math.max(this.z, v.z);\n\t\t\tthis.w = Math.max(this.w, v.w);\n\t\t\treturn this;\n\t\t}\n\n\t\tclamp(min, max) {\n\t\t\t// assumes min < max, componentwise\n\t\t\tthis.x = Math.max(min.x, Math.min(max.x, this.x));\n\t\t\tthis.y = Math.max(min.y, Math.min(max.y, this.y));\n\t\t\tthis.z = Math.max(min.z, Math.min(max.z, this.z));\n\t\t\tthis.w = Math.max(min.w, Math.min(max.w, this.w));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampScalar(minVal, maxVal) {\n\t\t\tthis.x = Math.max(minVal, Math.min(maxVal, this.x));\n\t\t\tthis.y = Math.max(minVal, Math.min(maxVal, this.y));\n\t\t\tthis.z = Math.max(minVal, Math.min(maxVal, this.z));\n\t\t\tthis.w = Math.max(minVal, Math.min(maxVal, this.w));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampLength(min, max) {\n\t\t\tconst length = this.length();\n\t\t\treturn this.divideScalar(length || 1).multiplyScalar(Math.max(min, Math.min(max, length)));\n\t\t}\n\n\t\tfloor() {\n\t\t\tthis.x = Math.floor(this.x);\n\t\t\tthis.y = Math.floor(this.y);\n\t\t\tthis.z = Math.floor(this.z);\n\t\t\tthis.w = Math.floor(this.w);\n\t\t\treturn this;\n\t\t}\n\n\t\tceil() {\n\t\t\tthis.x = Math.ceil(this.x);\n\t\t\tthis.y = Math.ceil(this.y);\n\t\t\tthis.z = Math.ceil(this.z);\n\t\t\tthis.w = Math.ceil(this.w);\n\t\t\treturn this;\n\t\t}\n\n\t\tround() {\n\t\t\tthis.x = Math.round(this.x);\n\t\t\tthis.y = Math.round(this.y);\n\t\t\tthis.z = Math.round(this.z);\n\t\t\tthis.w = Math.round(this.w);\n\t\t\treturn this;\n\t\t}\n\n\t\troundToZero() {\n\t\t\tthis.x = this.x < 0 ? Math.ceil(this.x) : Math.floor(this.x);\n\t\t\tthis.y = this.y < 0 ? Math.ceil(this.y) : Math.floor(this.y);\n\t\t\tthis.z = this.z < 0 ? Math.ceil(this.z) : Math.floor(this.z);\n\t\t\tthis.w = this.w < 0 ? Math.ceil(this.w) : Math.floor(this.w);\n\t\t\treturn this;\n\t\t}\n\n\t\tnegate() {\n\t\t\tthis.x = -this.x;\n\t\t\tthis.y = -this.y;\n\t\t\tthis.z = -this.z;\n\t\t\tthis.w = -this.w;\n\t\t\treturn this;\n\t\t}\n\n\t\tdot(v) {\n\t\t\treturn this.x * v.x + this.y * v.y + this.z * v.z + this.w * v.w;\n\t\t}\n\n\t\tlengthSq() {\n\t\t\treturn this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w;\n\t\t}\n\n\t\tlength() {\n\t\t\treturn Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z + this.w * this.w);\n\t\t}\n\n\t\tmanhattanLength() {\n\t\t\treturn Math.abs(this.x) + Math.abs(this.y) + Math.abs(this.z) + Math.abs(this.w);\n\t\t}\n\n\t\tnormalize() {\n\t\t\treturn this.divideScalar(this.length() || 1);\n\t\t}\n\n\t\tsetLength(length) {\n\t\t\treturn this.normalize().multiplyScalar(length);\n\t\t}\n\n\t\tlerp(v, alpha) {\n\t\t\tthis.x += (v.x - this.x) * alpha;\n\t\t\tthis.y += (v.y - this.y) * alpha;\n\t\t\tthis.z += (v.z - this.z) * alpha;\n\t\t\tthis.w += (v.w - this.w) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerpVectors(v1, v2, alpha) {\n\t\t\tthis.x = v1.x + (v2.x - v1.x) * alpha;\n\t\t\tthis.y = v1.y + (v2.y - v1.y) * alpha;\n\t\t\tthis.z = v1.z + (v2.z - v1.z) * alpha;\n\t\t\tthis.w = v1.w + (v2.w - v1.w) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(v) {\n\t\t\treturn v.x === this.x && v.y === this.y && v.z === this.z && v.w === this.w;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tthis.x = array[offset];\n\t\t\tthis.y = array[offset + 1];\n\t\t\tthis.z = array[offset + 2];\n\t\t\tthis.w = array[offset + 3];\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this.x;\n\t\t\tarray[offset + 1] = this.y;\n\t\t\tarray[offset + 2] = this.z;\n\t\t\tarray[offset + 3] = this.w;\n\t\t\treturn array;\n\t\t}\n\n\t\tfromBufferAttribute(attribute, index, offset) {\n\t\t\tif (offset !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector4: offset has been removed from .fromBufferAttribute().');\n\t\t\t}\n\n\t\t\tthis.x = attribute.getX(index);\n\t\t\tthis.y = attribute.getY(index);\n\t\t\tthis.z = attribute.getZ(index);\n\t\t\tthis.w = attribute.getW(index);\n\t\t\treturn this;\n\t\t}\n\n\t\trandom() {\n\t\t\tthis.x = Math.random();\n\t\t\tthis.y = Math.random();\n\t\t\tthis.z = Math.random();\n\t\t\tthis.w = Math.random();\n\t\t\treturn this;\n\t\t}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this.x;\n\t\t\tyield this.y;\n\t\t\tyield this.z;\n\t\t\tyield this.w;\n\t\t}\n\n\t}\n\n\t/*\n\t In options, we can specify:\n\t * Texture parameters for an auto-generated target texture\n\t * depthBuffer/stencilBuffer: Booleans to indicate if we should generate these buffers\n\t*/\n\n\tclass WebGLRenderTarget extends EventDispatcher {\n\t\tconstructor(width, height, options = {}) {\n\t\t\tsuper();\n\t\t\tthis.isWebGLRenderTarget = true;\n\t\t\tthis.width = width;\n\t\t\tthis.height = height;\n\t\t\tthis.depth = 1;\n\t\t\tthis.scissor = new Vector4(0, 0, width, height);\n\t\t\tthis.scissorTest = false;\n\t\t\tthis.viewport = new Vector4(0, 0, width, height);\n\t\t\tconst image = {\n\t\t\t\twidth: width,\n\t\t\t\theight: height,\n\t\t\t\tdepth: 1\n\t\t\t};\n\t\t\tthis.texture = new Texture(image, options.mapping, options.wrapS, options.wrapT, options.magFilter, options.minFilter, options.format, options.type, options.anisotropy, options.encoding);\n\t\t\tthis.texture.isRenderTargetTexture = true;\n\t\t\tthis.texture.flipY = false;\n\t\t\tthis.texture.generateMipmaps = options.generateMipmaps !== undefined ? options.generateMipmaps : false;\n\t\t\tthis.texture.internalFormat = options.internalFormat !== undefined ? options.internalFormat : null;\n\t\t\tthis.texture.minFilter = options.minFilter !== undefined ? options.minFilter : LinearFilter;\n\t\t\tthis.depthBuffer = options.depthBuffer !== undefined ? options.depthBuffer : true;\n\t\t\tthis.stencilBuffer = options.stencilBuffer !== undefined ? options.stencilBuffer : false;\n\t\t\tthis.depthTexture = options.depthTexture !== undefined ? options.depthTexture : null;\n\t\t\tthis.samples = options.samples !== undefined ? options.samples : 0;\n\t\t}\n\n\t\tsetSize(width, height, depth = 1) {\n\t\t\tif (this.width !== width || this.height !== height || this.depth !== depth) {\n\t\t\t\tthis.width = width;\n\t\t\t\tthis.height = height;\n\t\t\t\tthis.depth = depth;\n\t\t\t\tthis.texture.image.width = width;\n\t\t\t\tthis.texture.image.height = height;\n\t\t\t\tthis.texture.image.depth = depth;\n\t\t\t\tthis.dispose();\n\t\t\t}\n\n\t\t\tthis.viewport.set(0, 0, width, height);\n\t\t\tthis.scissor.set(0, 0, width, height);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.width = source.width;\n\t\t\tthis.height = source.height;\n\t\t\tthis.depth = source.depth;\n\t\t\tthis.viewport.copy(source.viewport);\n\t\t\tthis.texture = source.texture.clone();\n\t\t\tthis.texture.isRenderTargetTexture = true; // ensure image object is not shared, see #20328\n\n\t\t\tconst image = Object.assign({}, source.texture.image);\n\t\t\tthis.texture.source = new Source(image);\n\t\t\tthis.depthBuffer = source.depthBuffer;\n\t\t\tthis.stencilBuffer = source.stencilBuffer;\n\t\t\tif (source.depthTexture !== null) this.depthTexture = source.depthTexture.clone();\n\t\t\tthis.samples = source.samples;\n\t\t\treturn this;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'dispose'\n\t\t\t});\n\t\t}\n\n\t}\n\n\tclass DataArrayTexture extends Texture {\n\t\tconstructor(data = null, width = 1, height = 1, depth = 1) {\n\t\t\tsuper(null);\n\t\t\tthis.isDataArrayTexture = true;\n\t\t\tthis.image = {\n\t\t\t\tdata,\n\t\t\t\twidth,\n\t\t\t\theight,\n\t\t\t\tdepth\n\t\t\t};\n\t\t\tthis.magFilter = NearestFilter;\n\t\t\tthis.minFilter = NearestFilter;\n\t\t\tthis.wrapR = ClampToEdgeWrapping;\n\t\t\tthis.generateMipmaps = false;\n\t\t\tthis.flipY = false;\n\t\t\tthis.unpackAlignment = 1;\n\t\t}\n\n\t}\n\n\tclass WebGLArrayRenderTarget extends WebGLRenderTarget {\n\t\tconstructor(width, height, depth) {\n\t\t\tsuper(width, height);\n\t\t\tthis.isWebGLArrayRenderTarget = true;\n\t\t\tthis.depth = depth;\n\t\t\tthis.texture = new DataArrayTexture(null, width, height, depth);\n\t\t\tthis.texture.isRenderTargetTexture = true;\n\t\t}\n\n\t}\n\n\tclass Data3DTexture extends Texture {\n\t\tconstructor(data = null, width = 1, height = 1, depth = 1) {\n\t\t\t// We're going to add .setXXX() methods for setting properties later.\n\t\t\t// Users can still set in DataTexture3D directly.\n\t\t\t//\n\t\t\t//\tconst texture = new THREE.DataTexture3D( data, width, height, depth );\n\t\t\t// \ttexture.anisotropy = 16;\n\t\t\t//\n\t\t\t// See #14839\n\t\t\tsuper(null);\n\t\t\tthis.isData3DTexture = true;\n\t\t\tthis.image = {\n\t\t\t\tdata,\n\t\t\t\twidth,\n\t\t\t\theight,\n\t\t\t\tdepth\n\t\t\t};\n\t\t\tthis.magFilter = NearestFilter;\n\t\t\tthis.minFilter = NearestFilter;\n\t\t\tthis.wrapR = ClampToEdgeWrapping;\n\t\t\tthis.generateMipmaps = false;\n\t\t\tthis.flipY = false;\n\t\t\tthis.unpackAlignment = 1;\n\t\t}\n\n\t}\n\n\tclass WebGL3DRenderTarget extends WebGLRenderTarget {\n\t\tconstructor(width, height, depth) {\n\t\t\tsuper(width, height);\n\t\t\tthis.isWebGL3DRenderTarget = true;\n\t\t\tthis.depth = depth;\n\t\t\tthis.texture = new Data3DTexture(null, width, height, depth);\n\t\t\tthis.texture.isRenderTargetTexture = true;\n\t\t}\n\n\t}\n\n\tclass WebGLMultipleRenderTargets extends WebGLRenderTarget {\n\t\tconstructor(width, height, count, options = {}) {\n\t\t\tsuper(width, height, options);\n\t\t\tthis.isWebGLMultipleRenderTargets = true;\n\t\t\tconst texture = this.texture;\n\t\t\tthis.texture = [];\n\n\t\t\tfor (let i = 0; i < count; i++) {\n\t\t\t\tthis.texture[i] = texture.clone();\n\t\t\t\tthis.texture[i].isRenderTargetTexture = true;\n\t\t\t}\n\t\t}\n\n\t\tsetSize(width, height, depth = 1) {\n\t\t\tif (this.width !== width || this.height !== height || this.depth !== depth) {\n\t\t\t\tthis.width = width;\n\t\t\t\tthis.height = height;\n\t\t\t\tthis.depth = depth;\n\n\t\t\t\tfor (let i = 0, il = this.texture.length; i < il; i++) {\n\t\t\t\t\tthis.texture[i].image.width = width;\n\t\t\t\t\tthis.texture[i].image.height = height;\n\t\t\t\t\tthis.texture[i].image.depth = depth;\n\t\t\t\t}\n\n\t\t\t\tthis.dispose();\n\t\t\t}\n\n\t\t\tthis.viewport.set(0, 0, width, height);\n\t\t\tthis.scissor.set(0, 0, width, height);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.dispose();\n\t\t\tthis.width = source.width;\n\t\t\tthis.height = source.height;\n\t\t\tthis.depth = source.depth;\n\t\t\tthis.viewport.set(0, 0, this.width, this.height);\n\t\t\tthis.scissor.set(0, 0, this.width, this.height);\n\t\t\tthis.depthBuffer = source.depthBuffer;\n\t\t\tthis.stencilBuffer = source.stencilBuffer;\n\t\t\tif (source.depthTexture !== null) this.depthTexture = source.depthTexture.clone();\n\t\t\tthis.texture.length = 0;\n\n\t\t\tfor (let i = 0, il = source.texture.length; i < il; i++) {\n\t\t\t\tthis.texture[i] = source.texture[i].clone();\n\t\t\t\tthis.texture[i].isRenderTargetTexture = true;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass Quaternion {\n\t\tconstructor(x = 0, y = 0, z = 0, w = 1) {\n\t\t\tthis.isQuaternion = true;\n\t\t\tthis._x = x;\n\t\t\tthis._y = y;\n\t\t\tthis._z = z;\n\t\t\tthis._w = w;\n\t\t}\n\n\t\tstatic slerp(qa, qb, qm, t) {\n\t\t\tconsole.warn('THREE.Quaternion: Static .slerp() has been deprecated. Use qm.slerpQuaternions( qa, qb, t ) instead.');\n\t\t\treturn qm.slerpQuaternions(qa, qb, t);\n\t\t}\n\n\t\tstatic slerpFlat(dst, dstOffset, src0, srcOffset0, src1, srcOffset1, t) {\n\t\t\t// fuzz-free, array-based Quaternion SLERP operation\n\t\t\tlet x0 = src0[srcOffset0 + 0],\n\t\t\t\t\ty0 = src0[srcOffset0 + 1],\n\t\t\t\t\tz0 = src0[srcOffset0 + 2],\n\t\t\t\t\tw0 = src0[srcOffset0 + 3];\n\t\t\tconst x1 = src1[srcOffset1 + 0],\n\t\t\t\t\t\ty1 = src1[srcOffset1 + 1],\n\t\t\t\t\t\tz1 = src1[srcOffset1 + 2],\n\t\t\t\t\t\tw1 = src1[srcOffset1 + 3];\n\n\t\t\tif (t === 0) {\n\t\t\t\tdst[dstOffset + 0] = x0;\n\t\t\t\tdst[dstOffset + 1] = y0;\n\t\t\t\tdst[dstOffset + 2] = z0;\n\t\t\t\tdst[dstOffset + 3] = w0;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (t === 1) {\n\t\t\t\tdst[dstOffset + 0] = x1;\n\t\t\t\tdst[dstOffset + 1] = y1;\n\t\t\t\tdst[dstOffset + 2] = z1;\n\t\t\t\tdst[dstOffset + 3] = w1;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (w0 !== w1 || x0 !== x1 || y0 !== y1 || z0 !== z1) {\n\t\t\t\tlet s = 1 - t;\n\t\t\t\tconst cos = x0 * x1 + y0 * y1 + z0 * z1 + w0 * w1,\n\t\t\t\t\t\t\tdir = cos >= 0 ? 1 : -1,\n\t\t\t\t\t\t\tsqrSin = 1 - cos * cos; // Skip the Slerp for tiny steps to avoid numeric problems:\n\n\t\t\t\tif (sqrSin > Number.EPSILON) {\n\t\t\t\t\tconst sin = Math.sqrt(sqrSin),\n\t\t\t\t\t\t\t\tlen = Math.atan2(sin, cos * dir);\n\t\t\t\t\ts = Math.sin(s * len) / sin;\n\t\t\t\t\tt = Math.sin(t * len) / sin;\n\t\t\t\t}\n\n\t\t\t\tconst tDir = t * dir;\n\t\t\t\tx0 = x0 * s + x1 * tDir;\n\t\t\t\ty0 = y0 * s + y1 * tDir;\n\t\t\t\tz0 = z0 * s + z1 * tDir;\n\t\t\t\tw0 = w0 * s + w1 * tDir; // Normalize in case we just did a lerp:\n\n\t\t\t\tif (s === 1 - t) {\n\t\t\t\t\tconst f = 1 / Math.sqrt(x0 * x0 + y0 * y0 + z0 * z0 + w0 * w0);\n\t\t\t\t\tx0 *= f;\n\t\t\t\t\ty0 *= f;\n\t\t\t\t\tz0 *= f;\n\t\t\t\t\tw0 *= f;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tdst[dstOffset] = x0;\n\t\t\tdst[dstOffset + 1] = y0;\n\t\t\tdst[dstOffset + 2] = z0;\n\t\t\tdst[dstOffset + 3] = w0;\n\t\t}\n\n\t\tstatic multiplyQuaternionsFlat(dst, dstOffset, src0, srcOffset0, src1, srcOffset1) {\n\t\t\tconst x0 = src0[srcOffset0];\n\t\t\tconst y0 = src0[srcOffset0 + 1];\n\t\t\tconst z0 = src0[srcOffset0 + 2];\n\t\t\tconst w0 = src0[srcOffset0 + 3];\n\t\t\tconst x1 = src1[srcOffset1];\n\t\t\tconst y1 = src1[srcOffset1 + 1];\n\t\t\tconst z1 = src1[srcOffset1 + 2];\n\t\t\tconst w1 = src1[srcOffset1 + 3];\n\t\t\tdst[dstOffset] = x0 * w1 + w0 * x1 + y0 * z1 - z0 * y1;\n\t\t\tdst[dstOffset + 1] = y0 * w1 + w0 * y1 + z0 * x1 - x0 * z1;\n\t\t\tdst[dstOffset + 2] = z0 * w1 + w0 * z1 + x0 * y1 - y0 * x1;\n\t\t\tdst[dstOffset + 3] = w0 * w1 - x0 * x1 - y0 * y1 - z0 * z1;\n\t\t\treturn dst;\n\t\t}\n\n\t\tget x() {\n\t\t\treturn this._x;\n\t\t}\n\n\t\tset x(value) {\n\t\t\tthis._x = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget y() {\n\t\t\treturn this._y;\n\t\t}\n\n\t\tset y(value) {\n\t\t\tthis._y = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget z() {\n\t\t\treturn this._z;\n\t\t}\n\n\t\tset z(value) {\n\t\t\tthis._z = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget w() {\n\t\t\treturn this._w;\n\t\t}\n\n\t\tset w(value) {\n\t\t\tthis._w = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tset(x, y, z, w) {\n\t\t\tthis._x = x;\n\t\t\tthis._y = y;\n\t\t\tthis._z = z;\n\t\t\tthis._w = w;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this._x, this._y, this._z, this._w);\n\t\t}\n\n\t\tcopy(quaternion) {\n\t\t\tthis._x = quaternion.x;\n\t\t\tthis._y = quaternion.y;\n\t\t\tthis._z = quaternion.z;\n\t\t\tthis._w = quaternion.w;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromEuler(euler, update) {\n\t\t\tif (!(euler && euler.isEuler)) {\n\t\t\t\tthrow new Error('THREE.Quaternion: .setFromEuler() now expects an Euler rotation rather than a Vector3 and order.');\n\t\t\t}\n\n\t\t\tconst x = euler._x,\n\t\t\t\t\t\ty = euler._y,\n\t\t\t\t\t\tz = euler._z,\n\t\t\t\t\t\torder = euler._order; // http://www.mathworks.com/matlabcentral/fileexchange/\n\t\t\t// \t20696-function-to-convert-between-dcm-euler-angles-quaternions-and-euler-vectors/\n\t\t\t//\tcontent/SpinCalc.m\n\n\t\t\tconst cos = Math.cos;\n\t\t\tconst sin = Math.sin;\n\t\t\tconst c1 = cos(x / 2);\n\t\t\tconst c2 = cos(y / 2);\n\t\t\tconst c3 = cos(z / 2);\n\t\t\tconst s1 = sin(x / 2);\n\t\t\tconst s2 = sin(y / 2);\n\t\t\tconst s3 = sin(z / 2);\n\n\t\t\tswitch (order) {\n\t\t\t\tcase 'XYZ':\n\t\t\t\t\tthis._x = s1 * c2 * c3 + c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 - s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 + s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 - s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'YXZ':\n\t\t\t\t\tthis._x = s1 * c2 * c3 + c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 - s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 - s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 + s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'ZXY':\n\t\t\t\t\tthis._x = s1 * c2 * c3 - c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 + s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 + s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 - s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'ZYX':\n\t\t\t\t\tthis._x = s1 * c2 * c3 - c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 + s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 - s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 + s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'YZX':\n\t\t\t\t\tthis._x = s1 * c2 * c3 + c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 + s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 - s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 - s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'XZY':\n\t\t\t\t\tthis._x = s1 * c2 * c3 - c1 * s2 * s3;\n\t\t\t\t\tthis._y = c1 * s2 * c3 - s1 * c2 * s3;\n\t\t\t\t\tthis._z = c1 * c2 * s3 + s1 * s2 * c3;\n\t\t\t\t\tthis._w = c1 * c2 * c3 + s1 * s2 * s3;\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tconsole.warn('THREE.Quaternion: .setFromEuler() encountered an unknown order: ' + order);\n\t\t\t}\n\n\t\t\tif (update !== false) this._onChangeCallback();\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromAxisAngle(axis, angle) {\n\t\t\t// http://www.euclideanspace.com/maths/geometry/rotations/conversions/angleToQuaternion/index.htm\n\t\t\t// assumes axis is normalized\n\t\t\tconst halfAngle = angle / 2,\n\t\t\t\t\t\ts = Math.sin(halfAngle);\n\t\t\tthis._x = axis.x * s;\n\t\t\tthis._y = axis.y * s;\n\t\t\tthis._z = axis.z * s;\n\t\t\tthis._w = Math.cos(halfAngle);\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromRotationMatrix(m) {\n\t\t\t// http://www.euclideanspace.com/maths/geometry/rotations/conversions/matrixToQuaternion/index.htm\n\t\t\t// assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\t\t\tconst te = m.elements,\n\t\t\t\t\t\tm11 = te[0],\n\t\t\t\t\t\tm12 = te[4],\n\t\t\t\t\t\tm13 = te[8],\n\t\t\t\t\t\tm21 = te[1],\n\t\t\t\t\t\tm22 = te[5],\n\t\t\t\t\t\tm23 = te[9],\n\t\t\t\t\t\tm31 = te[2],\n\t\t\t\t\t\tm32 = te[6],\n\t\t\t\t\t\tm33 = te[10],\n\t\t\t\t\t\ttrace = m11 + m22 + m33;\n\n\t\t\tif (trace > 0) {\n\t\t\t\tconst s = 0.5 / Math.sqrt(trace + 1.0);\n\t\t\t\tthis._w = 0.25 / s;\n\t\t\t\tthis._x = (m32 - m23) * s;\n\t\t\t\tthis._y = (m13 - m31) * s;\n\t\t\t\tthis._z = (m21 - m12) * s;\n\t\t\t} else if (m11 > m22 && m11 > m33) {\n\t\t\t\tconst s = 2.0 * Math.sqrt(1.0 + m11 - m22 - m33);\n\t\t\t\tthis._w = (m32 - m23) / s;\n\t\t\t\tthis._x = 0.25 * s;\n\t\t\t\tthis._y = (m12 + m21) / s;\n\t\t\t\tthis._z = (m13 + m31) / s;\n\t\t\t} else if (m22 > m33) {\n\t\t\t\tconst s = 2.0 * Math.sqrt(1.0 + m22 - m11 - m33);\n\t\t\t\tthis._w = (m13 - m31) / s;\n\t\t\t\tthis._x = (m12 + m21) / s;\n\t\t\t\tthis._y = 0.25 * s;\n\t\t\t\tthis._z = (m23 + m32) / s;\n\t\t\t} else {\n\t\t\t\tconst s = 2.0 * Math.sqrt(1.0 + m33 - m11 - m22);\n\t\t\t\tthis._w = (m21 - m12) / s;\n\t\t\t\tthis._x = (m13 + m31) / s;\n\t\t\t\tthis._y = (m23 + m32) / s;\n\t\t\t\tthis._z = 0.25 * s;\n\t\t\t}\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromUnitVectors(vFrom, vTo) {\n\t\t\t// assumes direction vectors vFrom and vTo are normalized\n\t\t\tlet r = vFrom.dot(vTo) + 1;\n\n\t\t\tif (r < Number.EPSILON) {\n\t\t\t\t// vFrom and vTo point in opposite directions\n\t\t\t\tr = 0;\n\n\t\t\t\tif (Math.abs(vFrom.x) > Math.abs(vFrom.z)) {\n\t\t\t\t\tthis._x = -vFrom.y;\n\t\t\t\t\tthis._y = vFrom.x;\n\t\t\t\t\tthis._z = 0;\n\t\t\t\t\tthis._w = r;\n\t\t\t\t} else {\n\t\t\t\t\tthis._x = 0;\n\t\t\t\t\tthis._y = -vFrom.z;\n\t\t\t\t\tthis._z = vFrom.y;\n\t\t\t\t\tthis._w = r;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// crossVectors( vFrom, vTo ); // inlined to avoid cyclic dependency on Vector3\n\t\t\t\tthis._x = vFrom.y * vTo.z - vFrom.z * vTo.y;\n\t\t\t\tthis._y = vFrom.z * vTo.x - vFrom.x * vTo.z;\n\t\t\t\tthis._z = vFrom.x * vTo.y - vFrom.y * vTo.x;\n\t\t\t\tthis._w = r;\n\t\t\t}\n\n\t\t\treturn this.normalize();\n\t\t}\n\n\t\tangleTo(q) {\n\t\t\treturn 2 * Math.acos(Math.abs(clamp(this.dot(q), -1, 1)));\n\t\t}\n\n\t\trotateTowards(q, step) {\n\t\t\tconst angle = this.angleTo(q);\n\t\t\tif (angle === 0) return this;\n\t\t\tconst t = Math.min(1, step / angle);\n\t\t\tthis.slerp(q, t);\n\t\t\treturn this;\n\t\t}\n\n\t\tidentity() {\n\t\t\treturn this.set(0, 0, 0, 1);\n\t\t}\n\n\t\tinvert() {\n\t\t\t// quaternion is assumed to have unit length\n\t\t\treturn this.conjugate();\n\t\t}\n\n\t\tconjugate() {\n\t\t\tthis._x *= -1;\n\t\t\tthis._y *= -1;\n\t\t\tthis._z *= -1;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tdot(v) {\n\t\t\treturn this._x * v._x + this._y * v._y + this._z * v._z + this._w * v._w;\n\t\t}\n\n\t\tlengthSq() {\n\t\t\treturn this._x * this._x + this._y * this._y + this._z * this._z + this._w * this._w;\n\t\t}\n\n\t\tlength() {\n\t\t\treturn Math.sqrt(this._x * this._x + this._y * this._y + this._z * this._z + this._w * this._w);\n\t\t}\n\n\t\tnormalize() {\n\t\t\tlet l = this.length();\n\n\t\t\tif (l === 0) {\n\t\t\t\tthis._x = 0;\n\t\t\t\tthis._y = 0;\n\t\t\t\tthis._z = 0;\n\t\t\t\tthis._w = 1;\n\t\t\t} else {\n\t\t\t\tl = 1 / l;\n\t\t\t\tthis._x = this._x * l;\n\t\t\t\tthis._y = this._y * l;\n\t\t\t\tthis._z = this._z * l;\n\t\t\t\tthis._w = this._w * l;\n\t\t\t}\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(q, p) {\n\t\t\tif (p !== undefined) {\n\t\t\t\tconsole.warn('THREE.Quaternion: .multiply() now only accepts one argument. Use .multiplyQuaternions( a, b ) instead.');\n\t\t\t\treturn this.multiplyQuaternions(q, p);\n\t\t\t}\n\n\t\t\treturn this.multiplyQuaternions(this, q);\n\t\t}\n\n\t\tpremultiply(q) {\n\t\t\treturn this.multiplyQuaternions(q, this);\n\t\t}\n\n\t\tmultiplyQuaternions(a, b) {\n\t\t\t// from http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/code/index.htm\n\t\t\tconst qax = a._x,\n\t\t\t\t\t\tqay = a._y,\n\t\t\t\t\t\tqaz = a._z,\n\t\t\t\t\t\tqaw = a._w;\n\t\t\tconst qbx = b._x,\n\t\t\t\t\t\tqby = b._y,\n\t\t\t\t\t\tqbz = b._z,\n\t\t\t\t\t\tqbw = b._w;\n\t\t\tthis._x = qax * qbw + qaw * qbx + qay * qbz - qaz * qby;\n\t\t\tthis._y = qay * qbw + qaw * qby + qaz * qbx - qax * qbz;\n\t\t\tthis._z = qaz * qbw + qaw * qbz + qax * qby - qay * qbx;\n\t\t\tthis._w = qaw * qbw - qax * qbx - qay * qby - qaz * qbz;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tslerp(qb, t) {\n\t\t\tif (t === 0) return this;\n\t\t\tif (t === 1) return this.copy(qb);\n\t\t\tconst x = this._x,\n\t\t\t\t\t\ty = this._y,\n\t\t\t\t\t\tz = this._z,\n\t\t\t\t\t\tw = this._w; // http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/slerp/\n\n\t\t\tlet cosHalfTheta = w * qb._w + x * qb._x + y * qb._y + z * qb._z;\n\n\t\t\tif (cosHalfTheta < 0) {\n\t\t\t\tthis._w = -qb._w;\n\t\t\t\tthis._x = -qb._x;\n\t\t\t\tthis._y = -qb._y;\n\t\t\t\tthis._z = -qb._z;\n\t\t\t\tcosHalfTheta = -cosHalfTheta;\n\t\t\t} else {\n\t\t\t\tthis.copy(qb);\n\t\t\t}\n\n\t\t\tif (cosHalfTheta >= 1.0) {\n\t\t\t\tthis._w = w;\n\t\t\t\tthis._x = x;\n\t\t\t\tthis._y = y;\n\t\t\t\tthis._z = z;\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tconst sqrSinHalfTheta = 1.0 - cosHalfTheta * cosHalfTheta;\n\n\t\t\tif (sqrSinHalfTheta <= Number.EPSILON) {\n\t\t\t\tconst s = 1 - t;\n\t\t\t\tthis._w = s * w + t * this._w;\n\t\t\t\tthis._x = s * x + t * this._x;\n\t\t\t\tthis._y = s * y + t * this._y;\n\t\t\t\tthis._z = s * z + t * this._z;\n\t\t\t\tthis.normalize();\n\n\t\t\t\tthis._onChangeCallback();\n\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tconst sinHalfTheta = Math.sqrt(sqrSinHalfTheta);\n\t\t\tconst halfTheta = Math.atan2(sinHalfTheta, cosHalfTheta);\n\t\t\tconst ratioA = Math.sin((1 - t) * halfTheta) / sinHalfTheta,\n\t\t\t\t\t\tratioB = Math.sin(t * halfTheta) / sinHalfTheta;\n\t\t\tthis._w = w * ratioA + this._w * ratioB;\n\t\t\tthis._x = x * ratioA + this._x * ratioB;\n\t\t\tthis._y = y * ratioA + this._y * ratioB;\n\t\t\tthis._z = z * ratioA + this._z * ratioB;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tslerpQuaternions(qa, qb, t) {\n\t\t\treturn this.copy(qa).slerp(qb, t);\n\t\t}\n\n\t\trandom() {\n\t\t\t// Derived from http://planning.cs.uiuc.edu/node198.html\n\t\t\t// Note, this source uses w, x, y, z ordering,\n\t\t\t// so we swap the order below.\n\t\t\tconst u1 = Math.random();\n\t\t\tconst sqrt1u1 = Math.sqrt(1 - u1);\n\t\t\tconst sqrtu1 = Math.sqrt(u1);\n\t\t\tconst u2 = 2 * Math.PI * Math.random();\n\t\t\tconst u3 = 2 * Math.PI * Math.random();\n\t\t\treturn this.set(sqrt1u1 * Math.cos(u2), sqrtu1 * Math.sin(u3), sqrtu1 * Math.cos(u3), sqrt1u1 * Math.sin(u2));\n\t\t}\n\n\t\tequals(quaternion) {\n\t\t\treturn quaternion._x === this._x && quaternion._y === this._y && quaternion._z === this._z && quaternion._w === this._w;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tthis._x = array[offset];\n\t\t\tthis._y = array[offset + 1];\n\t\t\tthis._z = array[offset + 2];\n\t\t\tthis._w = array[offset + 3];\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this._x;\n\t\t\tarray[offset + 1] = this._y;\n\t\t\tarray[offset + 2] = this._z;\n\t\t\tarray[offset + 3] = this._w;\n\t\t\treturn array;\n\t\t}\n\n\t\tfromBufferAttribute(attribute, index) {\n\t\t\tthis._x = attribute.getX(index);\n\t\t\tthis._y = attribute.getY(index);\n\t\t\tthis._z = attribute.getZ(index);\n\t\t\tthis._w = attribute.getW(index);\n\t\t\treturn this;\n\t\t}\n\n\t\t_onChange(callback) {\n\t\t\tthis._onChangeCallback = callback;\n\t\t\treturn this;\n\t\t}\n\n\t\t_onChangeCallback() {}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this._x;\n\t\t\tyield this._y;\n\t\t\tyield this._z;\n\t\t\tyield this._w;\n\t\t}\n\n\t}\n\n\tclass Vector3 {\n\t\tconstructor(x = 0, y = 0, z = 0) {\n\t\t\tVector3.prototype.isVector3 = true;\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t\tthis.z = z;\n\t\t}\n\n\t\tset(x, y, z) {\n\t\t\tif (z === undefined) z = this.z; // sprite.scale.set(x,y)\n\n\t\t\tthis.x = x;\n\t\t\tthis.y = y;\n\t\t\tthis.z = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetScalar(scalar) {\n\t\t\tthis.x = scalar;\n\t\t\tthis.y = scalar;\n\t\t\tthis.z = scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetX(x) {\n\t\t\tthis.x = x;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetY(y) {\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetZ(z) {\n\t\t\tthis.z = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetComponent(index, value) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\tthis.x = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 1:\n\t\t\t\t\tthis.y = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 2:\n\t\t\t\t\tthis.z = value;\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetComponent(index) {\n\t\t\tswitch (index) {\n\t\t\t\tcase 0:\n\t\t\t\t\treturn this.x;\n\n\t\t\t\tcase 1:\n\t\t\t\t\treturn this.y;\n\n\t\t\t\tcase 2:\n\t\t\t\t\treturn this.z;\n\n\t\t\t\tdefault:\n\t\t\t\t\tthrow new Error('index is out of range: ' + index);\n\t\t\t}\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.x, this.y, this.z);\n\t\t}\n\n\t\tcopy(v) {\n\t\t\tthis.x = v.x;\n\t\t\tthis.y = v.y;\n\t\t\tthis.z = v.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tadd(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector3: .add() now only accepts one argument. Use .addVectors( a, b ) instead.');\n\t\t\t\treturn this.addVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x += v.x;\n\t\t\tthis.y += v.y;\n\t\t\tthis.z += v.z;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScalar(s) {\n\t\t\tthis.x += s;\n\t\t\tthis.y += s;\n\t\t\tthis.z += s;\n\t\t\treturn this;\n\t\t}\n\n\t\taddVectors(a, b) {\n\t\t\tthis.x = a.x + b.x;\n\t\t\tthis.y = a.y + b.y;\n\t\t\tthis.z = a.z + b.z;\n\t\t\treturn this;\n\t\t}\n\n\t\taddScaledVector(v, s) {\n\t\t\tthis.x += v.x * s;\n\t\t\tthis.y += v.y * s;\n\t\t\tthis.z += v.z * s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsub(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector3: .sub() now only accepts one argument. Use .subVectors( a, b ) instead.');\n\t\t\t\treturn this.subVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x -= v.x;\n\t\t\tthis.y -= v.y;\n\t\t\tthis.z -= v.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubScalar(s) {\n\t\t\tthis.x -= s;\n\t\t\tthis.y -= s;\n\t\t\tthis.z -= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tsubVectors(a, b) {\n\t\t\tthis.x = a.x - b.x;\n\t\t\tthis.y = a.y - b.y;\n\t\t\tthis.z = a.z - b.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector3: .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead.');\n\t\t\t\treturn this.multiplyVectors(v, w);\n\t\t\t}\n\n\t\t\tthis.x *= v.x;\n\t\t\tthis.y *= v.y;\n\t\t\tthis.z *= v.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(scalar) {\n\t\t\tthis.x *= scalar;\n\t\t\tthis.y *= scalar;\n\t\t\tthis.z *= scalar;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyVectors(a, b) {\n\t\t\tthis.x = a.x * b.x;\n\t\t\tthis.y = a.y * b.y;\n\t\t\tthis.z = a.z * b.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyEuler(euler) {\n\t\t\tif (!(euler && euler.isEuler)) {\n\t\t\t\tconsole.error('THREE.Vector3: .applyEuler() now expects an Euler rotation rather than a Vector3 and order.');\n\t\t\t}\n\n\t\t\treturn this.applyQuaternion(_quaternion$4.setFromEuler(euler));\n\t\t}\n\n\t\tapplyAxisAngle(axis, angle) {\n\t\t\treturn this.applyQuaternion(_quaternion$4.setFromAxisAngle(axis, angle));\n\t\t}\n\n\t\tapplyMatrix3(m) {\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y,\n\t\t\t\t\t\tz = this.z;\n\t\t\tconst e = m.elements;\n\t\t\tthis.x = e[0] * x + e[3] * y + e[6] * z;\n\t\t\tthis.y = e[1] * x + e[4] * y + e[7] * z;\n\t\t\tthis.z = e[2] * x + e[5] * y + e[8] * z;\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyNormalMatrix(m) {\n\t\t\treturn this.applyMatrix3(m).normalize();\n\t\t}\n\n\t\tapplyMatrix4(m) {\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y,\n\t\t\t\t\t\tz = this.z;\n\t\t\tconst e = m.elements;\n\t\t\tconst w = 1 / (e[3] * x + e[7] * y + e[11] * z + e[15]);\n\t\t\tthis.x = (e[0] * x + e[4] * y + e[8] * z + e[12]) * w;\n\t\t\tthis.y = (e[1] * x + e[5] * y + e[9] * z + e[13]) * w;\n\t\t\tthis.z = (e[2] * x + e[6] * y + e[10] * z + e[14]) * w;\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyQuaternion(q) {\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y,\n\t\t\t\t\t\tz = this.z;\n\t\t\tconst qx = q.x,\n\t\t\t\t\t\tqy = q.y,\n\t\t\t\t\t\tqz = q.z,\n\t\t\t\t\t\tqw = q.w; // calculate quat * vector\n\n\t\t\tconst ix = qw * x + qy * z - qz * y;\n\t\t\tconst iy = qw * y + qz * x - qx * z;\n\t\t\tconst iz = qw * z + qx * y - qy * x;\n\t\t\tconst iw = -qx * x - qy * y - qz * z; // calculate result * inverse quat\n\n\t\t\tthis.x = ix * qw + iw * -qx + iy * -qz - iz * -qy;\n\t\t\tthis.y = iy * qw + iw * -qy + iz * -qx - ix * -qz;\n\t\t\tthis.z = iz * qw + iw * -qz + ix * -qy - iy * -qx;\n\t\t\treturn this;\n\t\t}\n\n\t\tproject(camera) {\n\t\t\treturn this.applyMatrix4(camera.matrixWorldInverse).applyMatrix4(camera.projectionMatrix);\n\t\t}\n\n\t\tunproject(camera) {\n\t\t\treturn this.applyMatrix4(camera.projectionMatrixInverse).applyMatrix4(camera.matrixWorld);\n\t\t}\n\n\t\ttransformDirection(m) {\n\t\t\t// input: THREE.Matrix4 affine matrix\n\t\t\t// vector interpreted as a direction\n\t\t\tconst x = this.x,\n\t\t\t\t\t\ty = this.y,\n\t\t\t\t\t\tz = this.z;\n\t\t\tconst e = m.elements;\n\t\t\tthis.x = e[0] * x + e[4] * y + e[8] * z;\n\t\t\tthis.y = e[1] * x + e[5] * y + e[9] * z;\n\t\t\tthis.z = e[2] * x + e[6] * y + e[10] * z;\n\t\t\treturn this.normalize();\n\t\t}\n\n\t\tdivide(v) {\n\t\t\tthis.x /= v.x;\n\t\t\tthis.y /= v.y;\n\t\t\tthis.z /= v.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tdivideScalar(scalar) {\n\t\t\treturn this.multiplyScalar(1 / scalar);\n\t\t}\n\n\t\tmin(v) {\n\t\t\tthis.x = Math.min(this.x, v.x);\n\t\t\tthis.y = Math.min(this.y, v.y);\n\t\t\tthis.z = Math.min(this.z, v.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tmax(v) {\n\t\t\tthis.x = Math.max(this.x, v.x);\n\t\t\tthis.y = Math.max(this.y, v.y);\n\t\t\tthis.z = Math.max(this.z, v.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tclamp(min, max) {\n\t\t\t// assumes min < max, componentwise\n\t\t\tthis.x = Math.max(min.x, Math.min(max.x, this.x));\n\t\t\tthis.y = Math.max(min.y, Math.min(max.y, this.y));\n\t\t\tthis.z = Math.max(min.z, Math.min(max.z, this.z));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampScalar(minVal, maxVal) {\n\t\t\tthis.x = Math.max(minVal, Math.min(maxVal, this.x));\n\t\t\tthis.y = Math.max(minVal, Math.min(maxVal, this.y));\n\t\t\tthis.z = Math.max(minVal, Math.min(maxVal, this.z));\n\t\t\treturn this;\n\t\t}\n\n\t\tclampLength(min, max) {\n\t\t\tconst length = this.length();\n\t\t\treturn this.divideScalar(length || 1).multiplyScalar(Math.max(min, Math.min(max, length)));\n\t\t}\n\n\t\tfloor() {\n\t\t\tthis.x = Math.floor(this.x);\n\t\t\tthis.y = Math.floor(this.y);\n\t\t\tthis.z = Math.floor(this.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tceil() {\n\t\t\tthis.x = Math.ceil(this.x);\n\t\t\tthis.y = Math.ceil(this.y);\n\t\t\tthis.z = Math.ceil(this.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tround() {\n\t\t\tthis.x = Math.round(this.x);\n\t\t\tthis.y = Math.round(this.y);\n\t\t\tthis.z = Math.round(this.z);\n\t\t\treturn this;\n\t\t}\n\n\t\troundToZero() {\n\t\t\tthis.x = this.x < 0 ? Math.ceil(this.x) : Math.floor(this.x);\n\t\t\tthis.y = this.y < 0 ? Math.ceil(this.y) : Math.floor(this.y);\n\t\t\tthis.z = this.z < 0 ? Math.ceil(this.z) : Math.floor(this.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tnegate() {\n\t\t\tthis.x = -this.x;\n\t\t\tthis.y = -this.y;\n\t\t\tthis.z = -this.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tdot(v) {\n\t\t\treturn this.x * v.x + this.y * v.y + this.z * v.z;\n\t\t} // TODO lengthSquared?\n\n\n\t\tlengthSq() {\n\t\t\treturn this.x * this.x + this.y * this.y + this.z * this.z;\n\t\t}\n\n\t\tlength() {\n\t\t\treturn Math.sqrt(this.x * this.x + this.y * this.y + this.z * this.z);\n\t\t}\n\n\t\tmanhattanLength() {\n\t\t\treturn Math.abs(this.x) + Math.abs(this.y) + Math.abs(this.z);\n\t\t}\n\n\t\tnormalize() {\n\t\t\treturn this.divideScalar(this.length() || 1);\n\t\t}\n\n\t\tsetLength(length) {\n\t\t\treturn this.normalize().multiplyScalar(length);\n\t\t}\n\n\t\tlerp(v, alpha) {\n\t\t\tthis.x += (v.x - this.x) * alpha;\n\t\t\tthis.y += (v.y - this.y) * alpha;\n\t\t\tthis.z += (v.z - this.z) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tlerpVectors(v1, v2, alpha) {\n\t\t\tthis.x = v1.x + (v2.x - v1.x) * alpha;\n\t\t\tthis.y = v1.y + (v2.y - v1.y) * alpha;\n\t\t\tthis.z = v1.z + (v2.z - v1.z) * alpha;\n\t\t\treturn this;\n\t\t}\n\n\t\tcross(v, w) {\n\t\t\tif (w !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector3: .cross() now only accepts one argument. Use .crossVectors( a, b ) instead.');\n\t\t\t\treturn this.crossVectors(v, w);\n\t\t\t}\n\n\t\t\treturn this.crossVectors(this, v);\n\t\t}\n\n\t\tcrossVectors(a, b) {\n\t\t\tconst ax = a.x,\n\t\t\t\t\t\tay = a.y,\n\t\t\t\t\t\taz = a.z;\n\t\t\tconst bx = b.x,\n\t\t\t\t\t\tby = b.y,\n\t\t\t\t\t\tbz = b.z;\n\t\t\tthis.x = ay * bz - az * by;\n\t\t\tthis.y = az * bx - ax * bz;\n\t\t\tthis.z = ax * by - ay * bx;\n\t\t\treturn this;\n\t\t}\n\n\t\tprojectOnVector(v) {\n\t\t\tconst denominator = v.lengthSq();\n\t\t\tif (denominator === 0) return this.set(0, 0, 0);\n\t\t\tconst scalar = v.dot(this) / denominator;\n\t\t\treturn this.copy(v).multiplyScalar(scalar);\n\t\t}\n\n\t\tprojectOnPlane(planeNormal) {\n\t\t\t_vector$c.copy(this).projectOnVector(planeNormal);\n\n\t\t\treturn this.sub(_vector$c);\n\t\t}\n\n\t\treflect(normal) {\n\t\t\t// reflect incident vector off plane orthogonal to normal\n\t\t\t// normal is assumed to have unit length\n\t\t\treturn this.sub(_vector$c.copy(normal).multiplyScalar(2 * this.dot(normal)));\n\t\t}\n\n\t\tangleTo(v) {\n\t\t\tconst denominator = Math.sqrt(this.lengthSq() * v.lengthSq());\n\t\t\tif (denominator === 0) return Math.PI / 2;\n\t\t\tconst theta = this.dot(v) / denominator; // clamp, to handle numerical problems\n\n\t\t\treturn Math.acos(clamp(theta, -1, 1));\n\t\t}\n\n\t\tdistanceTo(v) {\n\t\t\treturn Math.sqrt(this.distanceToSquared(v));\n\t\t}\n\n\t\tdistanceToSquared(v) {\n\t\t\tconst dx = this.x - v.x,\n\t\t\t\t\t\tdy = this.y - v.y,\n\t\t\t\t\t\tdz = this.z - v.z;\n\t\t\treturn dx * dx + dy * dy + dz * dz;\n\t\t}\n\n\t\tmanhattanDistanceTo(v) {\n\t\t\treturn Math.abs(this.x - v.x) + Math.abs(this.y - v.y) + Math.abs(this.z - v.z);\n\t\t}\n\n\t\tsetFromSpherical(s) {\n\t\t\treturn this.setFromSphericalCoords(s.radius, s.phi, s.theta);\n\t\t}\n\n\t\tsetFromSphericalCoords(radius, phi, theta) {\n\t\t\tconst sinPhiRadius = Math.sin(phi) * radius;\n\t\t\tthis.x = sinPhiRadius * Math.sin(theta);\n\t\t\tthis.y = Math.cos(phi) * radius;\n\t\t\tthis.z = sinPhiRadius * Math.cos(theta);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromCylindrical(c) {\n\t\t\treturn this.setFromCylindricalCoords(c.radius, c.theta, c.y);\n\t\t}\n\n\t\tsetFromCylindricalCoords(radius, theta, y) {\n\t\t\tthis.x = radius * Math.sin(theta);\n\t\t\tthis.y = y;\n\t\t\tthis.z = radius * Math.cos(theta);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromMatrixPosition(m) {\n\t\t\tconst e = m.elements;\n\t\t\tthis.x = e[12];\n\t\t\tthis.y = e[13];\n\t\t\tthis.z = e[14];\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromMatrixScale(m) {\n\t\t\tconst sx = this.setFromMatrixColumn(m, 0).length();\n\t\t\tconst sy = this.setFromMatrixColumn(m, 1).length();\n\t\t\tconst sz = this.setFromMatrixColumn(m, 2).length();\n\t\t\tthis.x = sx;\n\t\t\tthis.y = sy;\n\t\t\tthis.z = sz;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromMatrixColumn(m, index) {\n\t\t\treturn this.fromArray(m.elements, index * 4);\n\t\t}\n\n\t\tsetFromMatrix3Column(m, index) {\n\t\t\treturn this.fromArray(m.elements, index * 3);\n\t\t}\n\n\t\tsetFromEuler(e) {\n\t\t\tthis.x = e._x;\n\t\t\tthis.y = e._y;\n\t\t\tthis.z = e._z;\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(v) {\n\t\t\treturn v.x === this.x && v.y === this.y && v.z === this.z;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tthis.x = array[offset];\n\t\t\tthis.y = array[offset + 1];\n\t\t\tthis.z = array[offset + 2];\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this.x;\n\t\t\tarray[offset + 1] = this.y;\n\t\t\tarray[offset + 2] = this.z;\n\t\t\treturn array;\n\t\t}\n\n\t\tfromBufferAttribute(attribute, index, offset) {\n\t\t\tif (offset !== undefined) {\n\t\t\t\tconsole.warn('THREE.Vector3: offset has been removed from .fromBufferAttribute().');\n\t\t\t}\n\n\t\t\tthis.x = attribute.getX(index);\n\t\t\tthis.y = attribute.getY(index);\n\t\t\tthis.z = attribute.getZ(index);\n\t\t\treturn this;\n\t\t}\n\n\t\trandom() {\n\t\t\tthis.x = Math.random();\n\t\t\tthis.y = Math.random();\n\t\t\tthis.z = Math.random();\n\t\t\treturn this;\n\t\t}\n\n\t\trandomDirection() {\n\t\t\t// Derived from https://mathworld.wolfram.com/SpherePointPicking.html\n\t\t\tconst u = (Math.random() - 0.5) * 2;\n\t\t\tconst t = Math.random() * Math.PI * 2;\n\t\t\tconst f = Math.sqrt(1 - u ** 2);\n\t\t\tthis.x = f * Math.cos(t);\n\t\t\tthis.y = f * Math.sin(t);\n\t\t\tthis.z = u;\n\t\t\treturn this;\n\t\t}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this.x;\n\t\t\tyield this.y;\n\t\t\tyield this.z;\n\t\t}\n\n\t}\n\n\tconst _vector$c = /*@__PURE__*/new Vector3();\n\n\tconst _quaternion$4 = /*@__PURE__*/new Quaternion();\n\n\tclass Box3 {\n\t\tconstructor(min = new Vector3(+Infinity, +Infinity, +Infinity), max = new Vector3(-Infinity, -Infinity, -Infinity)) {\n\t\t\tthis.isBox3 = true;\n\t\t\tthis.min = min;\n\t\t\tthis.max = max;\n\t\t}\n\n\t\tset(min, max) {\n\t\t\tthis.min.copy(min);\n\t\t\tthis.max.copy(max);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromArray(array) {\n\t\t\tlet minX = +Infinity;\n\t\t\tlet minY = +Infinity;\n\t\t\tlet minZ = +Infinity;\n\t\t\tlet maxX = -Infinity;\n\t\t\tlet maxY = -Infinity;\n\t\t\tlet maxZ = -Infinity;\n\n\t\t\tfor (let i = 0, l = array.length; i < l; i += 3) {\n\t\t\t\tconst x = array[i];\n\t\t\t\tconst y = array[i + 1];\n\t\t\t\tconst z = array[i + 2];\n\t\t\t\tif (x < minX) minX = x;\n\t\t\t\tif (y < minY) minY = y;\n\t\t\t\tif (z < minZ) minZ = z;\n\t\t\t\tif (x > maxX) maxX = x;\n\t\t\t\tif (y > maxY) maxY = y;\n\t\t\t\tif (z > maxZ) maxZ = z;\n\t\t\t}\n\n\t\t\tthis.min.set(minX, minY, minZ);\n\t\t\tthis.max.set(maxX, maxY, maxZ);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromBufferAttribute(attribute) {\n\t\t\tlet minX = +Infinity;\n\t\t\tlet minY = +Infinity;\n\t\t\tlet minZ = +Infinity;\n\t\t\tlet maxX = -Infinity;\n\t\t\tlet maxY = -Infinity;\n\t\t\tlet maxZ = -Infinity;\n\n\t\t\tfor (let i = 0, l = attribute.count; i < l; i++) {\n\t\t\t\tconst x = attribute.getX(i);\n\t\t\t\tconst y = attribute.getY(i);\n\t\t\t\tconst z = attribute.getZ(i);\n\t\t\t\tif (x < minX) minX = x;\n\t\t\t\tif (y < minY) minY = y;\n\t\t\t\tif (z < minZ) minZ = z;\n\t\t\t\tif (x > maxX) maxX = x;\n\t\t\t\tif (y > maxY) maxY = y;\n\t\t\t\tif (z > maxZ) maxZ = z;\n\t\t\t}\n\n\t\t\tthis.min.set(minX, minY, minZ);\n\t\t\tthis.max.set(maxX, maxY, maxZ);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromPoints(points) {\n\t\t\tthis.makeEmpty();\n\n\t\t\tfor (let i = 0, il = points.length; i < il; i++) {\n\t\t\t\tthis.expandByPoint(points[i]);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromCenterAndSize(center, size) {\n\t\t\tconst halfSize = _vector$b.copy(size).multiplyScalar(0.5);\n\n\t\t\tthis.min.copy(center).sub(halfSize);\n\t\t\tthis.max.copy(center).add(halfSize);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromObject(object, precise = false) {\n\t\t\tthis.makeEmpty();\n\t\t\treturn this.expandByObject(object, precise);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(box) {\n\t\t\tthis.min.copy(box.min);\n\t\t\tthis.max.copy(box.max);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeEmpty() {\n\t\t\tthis.min.x = this.min.y = this.min.z = +Infinity;\n\t\t\tthis.max.x = this.max.y = this.max.z = -Infinity;\n\t\t\treturn this;\n\t\t}\n\n\t\tisEmpty() {\n\t\t\t// this is a more robust check for empty than ( volume <= 0 ) because volume can get positive with two negative axes\n\t\t\treturn this.max.x < this.min.x || this.max.y < this.min.y || this.max.z < this.min.z;\n\t\t}\n\n\t\tgetCenter(target) {\n\t\t\treturn this.isEmpty() ? target.set(0, 0, 0) : target.addVectors(this.min, this.max).multiplyScalar(0.5);\n\t\t}\n\n\t\tgetSize(target) {\n\t\t\treturn this.isEmpty() ? target.set(0, 0, 0) : target.subVectors(this.max, this.min);\n\t\t}\n\n\t\texpandByPoint(point) {\n\t\t\tthis.min.min(point);\n\t\t\tthis.max.max(point);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByVector(vector) {\n\t\t\tthis.min.sub(vector);\n\t\t\tthis.max.add(vector);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByScalar(scalar) {\n\t\t\tthis.min.addScalar(-scalar);\n\t\t\tthis.max.addScalar(scalar);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByObject(object, precise = false) {\n\t\t\t// Computes the world-axis-aligned bounding box of an object (including its children),\n\t\t\t// accounting for both the object's, and children's, world transforms\n\t\t\tobject.updateWorldMatrix(false, false);\n\t\t\tconst geometry = object.geometry;\n\n\t\t\tif (geometry !== undefined) {\n\t\t\t\tif (precise && geometry.attributes != undefined && geometry.attributes.position !== undefined) {\n\t\t\t\t\tconst position = geometry.attributes.position;\n\n\t\t\t\t\tfor (let i = 0, l = position.count; i < l; i++) {\n\t\t\t\t\t\t_vector$b.fromBufferAttribute(position, i).applyMatrix4(object.matrixWorld);\n\n\t\t\t\t\t\tthis.expandByPoint(_vector$b);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (geometry.boundingBox === null) {\n\t\t\t\t\t\tgeometry.computeBoundingBox();\n\t\t\t\t\t}\n\n\t\t\t\t\t_box$3.copy(geometry.boundingBox);\n\n\t\t\t\t\t_box$3.applyMatrix4(object.matrixWorld);\n\n\t\t\t\t\tthis.union(_box$3);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst children = object.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tthis.expandByObject(children[i], precise);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcontainsPoint(point) {\n\t\t\treturn point.x < this.min.x || point.x > this.max.x || point.y < this.min.y || point.y > this.max.y || point.z < this.min.z || point.z > this.max.z ? false : true;\n\t\t}\n\n\t\tcontainsBox(box) {\n\t\t\treturn this.min.x <= box.min.x && box.max.x <= this.max.x && this.min.y <= box.min.y && box.max.y <= this.max.y && this.min.z <= box.min.z && box.max.z <= this.max.z;\n\t\t}\n\n\t\tgetParameter(point, target) {\n\t\t\t// This can potentially have a divide by zero if the box\n\t\t\t// has a size dimension of 0.\n\t\t\treturn target.set((point.x - this.min.x) / (this.max.x - this.min.x), (point.y - this.min.y) / (this.max.y - this.min.y), (point.z - this.min.z) / (this.max.z - this.min.z));\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\t// using 6 splitting planes to rule out intersections.\n\t\t\treturn box.max.x < this.min.x || box.min.x > this.max.x || box.max.y < this.min.y || box.min.y > this.max.y || box.max.z < this.min.z || box.min.z > this.max.z ? false : true;\n\t\t}\n\n\t\tintersectsSphere(sphere) {\n\t\t\t// Find the point on the AABB closest to the sphere center.\n\t\t\tthis.clampPoint(sphere.center, _vector$b); // If that point is inside the sphere, the AABB and sphere intersect.\n\n\t\t\treturn _vector$b.distanceToSquared(sphere.center) <= sphere.radius * sphere.radius;\n\t\t}\n\n\t\tintersectsPlane(plane) {\n\t\t\t// We compute the minimum and maximum dot product values. If those values\n\t\t\t// are on the same side (back or front) of the plane, then there is no intersection.\n\t\t\tlet min, max;\n\n\t\t\tif (plane.normal.x > 0) {\n\t\t\t\tmin = plane.normal.x * this.min.x;\n\t\t\t\tmax = plane.normal.x * this.max.x;\n\t\t\t} else {\n\t\t\t\tmin = plane.normal.x * this.max.x;\n\t\t\t\tmax = plane.normal.x * this.min.x;\n\t\t\t}\n\n\t\t\tif (plane.normal.y > 0) {\n\t\t\t\tmin += plane.normal.y * this.min.y;\n\t\t\t\tmax += plane.normal.y * this.max.y;\n\t\t\t} else {\n\t\t\t\tmin += plane.normal.y * this.max.y;\n\t\t\t\tmax += plane.normal.y * this.min.y;\n\t\t\t}\n\n\t\t\tif (plane.normal.z > 0) {\n\t\t\t\tmin += plane.normal.z * this.min.z;\n\t\t\t\tmax += plane.normal.z * this.max.z;\n\t\t\t} else {\n\t\t\t\tmin += plane.normal.z * this.max.z;\n\t\t\t\tmax += plane.normal.z * this.min.z;\n\t\t\t}\n\n\t\t\treturn min <= -plane.constant && max >= -plane.constant;\n\t\t}\n\n\t\tintersectsTriangle(triangle) {\n\t\t\tif (this.isEmpty()) {\n\t\t\t\treturn false;\n\t\t\t} // compute box center and extents\n\n\n\t\t\tthis.getCenter(_center);\n\n\t\t\t_extents.subVectors(this.max, _center); // translate triangle to aabb origin\n\n\n\t\t\t_v0$2.subVectors(triangle.a, _center);\n\n\t\t\t_v1$7.subVectors(triangle.b, _center);\n\n\t\t\t_v2$3.subVectors(triangle.c, _center); // compute edge vectors for triangle\n\n\n\t\t\t_f0.subVectors(_v1$7, _v0$2);\n\n\t\t\t_f1.subVectors(_v2$3, _v1$7);\n\n\t\t\t_f2.subVectors(_v0$2, _v2$3); // test against axes that are given by cross product combinations of the edges of the triangle and the edges of the aabb\n\t\t\t// make an axis testing of each of the 3 sides of the aabb against each of the 3 sides of the triangle = 9 axis of separation\n\t\t\t// axis_ij = u_i x f_j (u0, u1, u2 = face normals of aabb = x,y,z axes vectors since aabb is axis aligned)\n\n\n\t\t\tlet axes = [0, -_f0.z, _f0.y, 0, -_f1.z, _f1.y, 0, -_f2.z, _f2.y, _f0.z, 0, -_f0.x, _f1.z, 0, -_f1.x, _f2.z, 0, -_f2.x, -_f0.y, _f0.x, 0, -_f1.y, _f1.x, 0, -_f2.y, _f2.x, 0];\n\n\t\t\tif (!satForAxes(axes, _v0$2, _v1$7, _v2$3, _extents)) {\n\t\t\t\treturn false;\n\t\t\t} // test 3 face normals from the aabb\n\n\n\t\t\taxes = [1, 0, 0, 0, 1, 0, 0, 0, 1];\n\n\t\t\tif (!satForAxes(axes, _v0$2, _v1$7, _v2$3, _extents)) {\n\t\t\t\treturn false;\n\t\t\t} // finally testing the face normal of the triangle\n\t\t\t// use already existing triangle edge vectors here\n\n\n\t\t\t_triangleNormal.crossVectors(_f0, _f1);\n\n\t\t\taxes = [_triangleNormal.x, _triangleNormal.y, _triangleNormal.z];\n\t\t\treturn satForAxes(axes, _v0$2, _v1$7, _v2$3, _extents);\n\t\t}\n\n\t\tclampPoint(point, target) {\n\t\t\treturn target.copy(point).clamp(this.min, this.max);\n\t\t}\n\n\t\tdistanceToPoint(point) {\n\t\t\tconst clampedPoint = _vector$b.copy(point).clamp(this.min, this.max);\n\n\t\t\treturn clampedPoint.sub(point).length();\n\t\t}\n\n\t\tgetBoundingSphere(target) {\n\t\t\tthis.getCenter(target.center);\n\t\t\ttarget.radius = this.getSize(_vector$b).length() * 0.5;\n\t\t\treturn target;\n\t\t}\n\n\t\tintersect(box) {\n\t\t\tthis.min.max(box.min);\n\t\t\tthis.max.min(box.max); // ensure that if there is no overlap, the result is fully empty, not slightly empty with non-inf/+inf values that will cause subsequence intersects to erroneously return valid values.\n\n\t\t\tif (this.isEmpty()) this.makeEmpty();\n\t\t\treturn this;\n\t\t}\n\n\t\tunion(box) {\n\t\t\tthis.min.min(box.min);\n\t\t\tthis.max.max(box.max);\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyMatrix4(matrix) {\n\t\t\t// transform of empty box is an empty box.\n\t\t\tif (this.isEmpty()) return this; // NOTE: I am using a binary pattern to specify all 2^3 combinations below\n\n\t\t\t_points[0].set(this.min.x, this.min.y, this.min.z).applyMatrix4(matrix); // 000\n\n\n\t\t\t_points[1].set(this.min.x, this.min.y, this.max.z).applyMatrix4(matrix); // 001\n\n\n\t\t\t_points[2].set(this.min.x, this.max.y, this.min.z).applyMatrix4(matrix); // 010\n\n\n\t\t\t_points[3].set(this.min.x, this.max.y, this.max.z).applyMatrix4(matrix); // 011\n\n\n\t\t\t_points[4].set(this.max.x, this.min.y, this.min.z).applyMatrix4(matrix); // 100\n\n\n\t\t\t_points[5].set(this.max.x, this.min.y, this.max.z).applyMatrix4(matrix); // 101\n\n\n\t\t\t_points[6].set(this.max.x, this.max.y, this.min.z).applyMatrix4(matrix); // 110\n\n\n\t\t\t_points[7].set(this.max.x, this.max.y, this.max.z).applyMatrix4(matrix); // 111\n\n\n\t\t\tthis.setFromPoints(_points);\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(offset) {\n\t\t\tthis.min.add(offset);\n\t\t\tthis.max.add(offset);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(box) {\n\t\t\treturn box.min.equals(this.min) && box.max.equals(this.max);\n\t\t}\n\n\t}\n\n\tconst _points = [/*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3(), /*@__PURE__*/new Vector3()];\n\n\tconst _vector$b = /*@__PURE__*/new Vector3();\n\n\tconst _box$3 = /*@__PURE__*/new Box3(); // triangle centered vertices\n\n\n\tconst _v0$2 = /*@__PURE__*/new Vector3();\n\n\tconst _v1$7 = /*@__PURE__*/new Vector3();\n\n\tconst _v2$3 = /*@__PURE__*/new Vector3(); // triangle edge vectors\n\n\n\tconst _f0 = /*@__PURE__*/new Vector3();\n\n\tconst _f1 = /*@__PURE__*/new Vector3();\n\n\tconst _f2 = /*@__PURE__*/new Vector3();\n\n\tconst _center = /*@__PURE__*/new Vector3();\n\n\tconst _extents = /*@__PURE__*/new Vector3();\n\n\tconst _triangleNormal = /*@__PURE__*/new Vector3();\n\n\tconst _testAxis = /*@__PURE__*/new Vector3();\n\n\tfunction satForAxes(axes, v0, v1, v2, extents) {\n\t\tfor (let i = 0, j = axes.length - 3; i <= j; i += 3) {\n\t\t\t_testAxis.fromArray(axes, i); // project the aabb onto the separating axis\n\n\n\t\t\tconst r = extents.x * Math.abs(_testAxis.x) + extents.y * Math.abs(_testAxis.y) + extents.z * Math.abs(_testAxis.z); // project all 3 vertices of the triangle onto the separating axis\n\n\t\t\tconst p0 = v0.dot(_testAxis);\n\t\t\tconst p1 = v1.dot(_testAxis);\n\t\t\tconst p2 = v2.dot(_testAxis); // actual test, basically see if either of the most extreme of the triangle points intersects r\n\n\t\t\tif (Math.max(-Math.max(p0, p1, p2), Math.min(p0, p1, p2)) > r) {\n\t\t\t\t// points of the projected triangle are outside the projected half-length of the aabb\n\t\t\t\t// the axis is separating and we can exit\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tconst _box$2 = /*@__PURE__*/new Box3();\n\n\tconst _v1$6 = /*@__PURE__*/new Vector3();\n\n\tconst _toFarthestPoint = /*@__PURE__*/new Vector3();\n\n\tconst _toPoint = /*@__PURE__*/new Vector3();\n\n\tclass Sphere {\n\t\tconstructor(center = new Vector3(), radius = -1) {\n\t\t\tthis.center = center;\n\t\t\tthis.radius = radius;\n\t\t}\n\n\t\tset(center, radius) {\n\t\t\tthis.center.copy(center);\n\t\t\tthis.radius = radius;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromPoints(points, optionalCenter) {\n\t\t\tconst center = this.center;\n\n\t\t\tif (optionalCenter !== undefined) {\n\t\t\t\tcenter.copy(optionalCenter);\n\t\t\t} else {\n\t\t\t\t_box$2.setFromPoints(points).getCenter(center);\n\t\t\t}\n\n\t\t\tlet maxRadiusSq = 0;\n\n\t\t\tfor (let i = 0, il = points.length; i < il; i++) {\n\t\t\t\tmaxRadiusSq = Math.max(maxRadiusSq, center.distanceToSquared(points[i]));\n\t\t\t}\n\n\t\t\tthis.radius = Math.sqrt(maxRadiusSq);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(sphere) {\n\t\t\tthis.center.copy(sphere.center);\n\t\t\tthis.radius = sphere.radius;\n\t\t\treturn this;\n\t\t}\n\n\t\tisEmpty() {\n\t\t\treturn this.radius < 0;\n\t\t}\n\n\t\tmakeEmpty() {\n\t\t\tthis.center.set(0, 0, 0);\n\t\t\tthis.radius = -1;\n\t\t\treturn this;\n\t\t}\n\n\t\tcontainsPoint(point) {\n\t\t\treturn point.distanceToSquared(this.center) <= this.radius * this.radius;\n\t\t}\n\n\t\tdistanceToPoint(point) {\n\t\t\treturn point.distanceTo(this.center) - this.radius;\n\t\t}\n\n\t\tintersectsSphere(sphere) {\n\t\t\tconst radiusSum = this.radius + sphere.radius;\n\t\t\treturn sphere.center.distanceToSquared(this.center) <= radiusSum * radiusSum;\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\treturn box.intersectsSphere(this);\n\t\t}\n\n\t\tintersectsPlane(plane) {\n\t\t\treturn Math.abs(plane.distanceToPoint(this.center)) <= this.radius;\n\t\t}\n\n\t\tclampPoint(point, target) {\n\t\t\tconst deltaLengthSq = this.center.distanceToSquared(point);\n\t\t\ttarget.copy(point);\n\n\t\t\tif (deltaLengthSq > this.radius * this.radius) {\n\t\t\t\ttarget.sub(this.center).normalize();\n\t\t\t\ttarget.multiplyScalar(this.radius).add(this.center);\n\t\t\t}\n\n\t\t\treturn target;\n\t\t}\n\n\t\tgetBoundingBox(target) {\n\t\t\tif (this.isEmpty()) {\n\t\t\t\t// Empty sphere produces empty bounding box\n\t\t\t\ttarget.makeEmpty();\n\t\t\t\treturn target;\n\t\t\t}\n\n\t\t\ttarget.set(this.center, this.center);\n\t\t\ttarget.expandByScalar(this.radius);\n\t\t\treturn target;\n\t\t}\n\n\t\tapplyMatrix4(matrix) {\n\t\t\tthis.center.applyMatrix4(matrix);\n\t\t\tthis.radius = this.radius * matrix.getMaxScaleOnAxis();\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(offset) {\n\t\t\tthis.center.add(offset);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByPoint(point) {\n\t\t\t// from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L649-L671\n\t\t\t_toPoint.subVectors(point, this.center);\n\n\t\t\tconst lengthSq = _toPoint.lengthSq();\n\n\t\t\tif (lengthSq > this.radius * this.radius) {\n\t\t\t\tconst length = Math.sqrt(lengthSq);\n\t\t\t\tconst missingRadiusHalf = (length - this.radius) * 0.5; // Nudge this sphere towards the target point. Add half the missing distance to radius,\n\t\t\t\t// and the other half to position. This gives a tighter enclosure, instead of if\n\t\t\t\t// the whole missing distance were just added to radius.\n\n\t\t\t\tthis.center.add(_toPoint.multiplyScalar(missingRadiusHalf / length));\n\t\t\t\tthis.radius += missingRadiusHalf;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tunion(sphere) {\n\t\t\t// from https://github.com/juj/MathGeoLib/blob/2940b99b99cfe575dd45103ef20f4019dee15b54/src/Geometry/Sphere.cpp#L759-L769\n\t\t\t// To enclose another sphere into this sphere, we only need to enclose two points:\n\t\t\t// 1) Enclose the farthest point on the other sphere into this sphere.\n\t\t\t// 2) Enclose the opposite point of the farthest point into this sphere.\n\t\t\tif (this.center.equals(sphere.center) === true) {\n\t\t\t\t_toFarthestPoint.set(0, 0, 1).multiplyScalar(sphere.radius);\n\t\t\t} else {\n\t\t\t\t_toFarthestPoint.subVectors(sphere.center, this.center).normalize().multiplyScalar(sphere.radius);\n\t\t\t}\n\n\t\t\tthis.expandByPoint(_v1$6.copy(sphere.center).add(_toFarthestPoint));\n\t\t\tthis.expandByPoint(_v1$6.copy(sphere.center).sub(_toFarthestPoint));\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(sphere) {\n\t\t\treturn sphere.center.equals(this.center) && sphere.radius === this.radius;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tconst _vector$a = /*@__PURE__*/new Vector3();\n\n\tconst _segCenter = /*@__PURE__*/new Vector3();\n\n\tconst _segDir = /*@__PURE__*/new Vector3();\n\n\tconst _diff = /*@__PURE__*/new Vector3();\n\n\tconst _edge1 = /*@__PURE__*/new Vector3();\n\n\tconst _edge2 = /*@__PURE__*/new Vector3();\n\n\tconst _normal$1 = /*@__PURE__*/new Vector3();\n\n\tclass Ray {\n\t\tconstructor(origin = new Vector3(), direction = new Vector3(0, 0, -1)) {\n\t\t\tthis.origin = origin;\n\t\t\tthis.direction = direction;\n\t\t}\n\n\t\tset(origin, direction) {\n\t\t\tthis.origin.copy(origin);\n\t\t\tthis.direction.copy(direction);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(ray) {\n\t\t\tthis.origin.copy(ray.origin);\n\t\t\tthis.direction.copy(ray.direction);\n\t\t\treturn this;\n\t\t}\n\n\t\tat(t, target) {\n\t\t\treturn target.copy(this.direction).multiplyScalar(t).add(this.origin);\n\t\t}\n\n\t\tlookAt(v) {\n\t\t\tthis.direction.copy(v).sub(this.origin).normalize();\n\t\t\treturn this;\n\t\t}\n\n\t\trecast(t) {\n\t\t\tthis.origin.copy(this.at(t, _vector$a));\n\t\t\treturn this;\n\t\t}\n\n\t\tclosestPointToPoint(point, target) {\n\t\t\ttarget.subVectors(point, this.origin);\n\t\t\tconst directionDistance = target.dot(this.direction);\n\n\t\t\tif (directionDistance < 0) {\n\t\t\t\treturn target.copy(this.origin);\n\t\t\t}\n\n\t\t\treturn target.copy(this.direction).multiplyScalar(directionDistance).add(this.origin);\n\t\t}\n\n\t\tdistanceToPoint(point) {\n\t\t\treturn Math.sqrt(this.distanceSqToPoint(point));\n\t\t}\n\n\t\tdistanceSqToPoint(point) {\n\t\t\tconst directionDistance = _vector$a.subVectors(point, this.origin).dot(this.direction); // point behind the ray\n\n\n\t\t\tif (directionDistance < 0) {\n\t\t\t\treturn this.origin.distanceToSquared(point);\n\t\t\t}\n\n\t\t\t_vector$a.copy(this.direction).multiplyScalar(directionDistance).add(this.origin);\n\n\t\t\treturn _vector$a.distanceToSquared(point);\n\t\t}\n\n\t\tdistanceSqToSegment(v0, v1, optionalPointOnRay, optionalPointOnSegment) {\n\t\t\t// from https://github.com/pmjoniak/GeometricTools/blob/master/GTEngine/Include/Mathematics/GteDistRaySegment.h\n\t\t\t// It returns the min distance between the ray and the segment\n\t\t\t// defined by v0 and v1\n\t\t\t// It can also set two optional targets :\n\t\t\t// - The closest point on the ray\n\t\t\t// - The closest point on the segment\n\t\t\t_segCenter.copy(v0).add(v1).multiplyScalar(0.5);\n\n\t\t\t_segDir.copy(v1).sub(v0).normalize();\n\n\t\t\t_diff.copy(this.origin).sub(_segCenter);\n\n\t\t\tconst segExtent = v0.distanceTo(v1) * 0.5;\n\t\t\tconst a01 = -this.direction.dot(_segDir);\n\n\t\t\tconst b0 = _diff.dot(this.direction);\n\n\t\t\tconst b1 = -_diff.dot(_segDir);\n\n\t\t\tconst c = _diff.lengthSq();\n\n\t\t\tconst det = Math.abs(1 - a01 * a01);\n\t\t\tlet s0, s1, sqrDist, extDet;\n\n\t\t\tif (det > 0) {\n\t\t\t\t// The ray and segment are not parallel.\n\t\t\t\ts0 = a01 * b1 - b0;\n\t\t\t\ts1 = a01 * b0 - b1;\n\t\t\t\textDet = segExtent * det;\n\n\t\t\t\tif (s0 >= 0) {\n\t\t\t\t\tif (s1 >= -extDet) {\n\t\t\t\t\t\tif (s1 <= extDet) {\n\t\t\t\t\t\t\t// region 0\n\t\t\t\t\t\t\t// Minimum at interior points of ray and segment.\n\t\t\t\t\t\t\tconst invDet = 1 / det;\n\t\t\t\t\t\t\ts0 *= invDet;\n\t\t\t\t\t\t\ts1 *= invDet;\n\t\t\t\t\t\t\tsqrDist = s0 * (s0 + a01 * s1 + 2 * b0) + s1 * (a01 * s0 + s1 + 2 * b1) + c;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// region 1\n\t\t\t\t\t\t\ts1 = segExtent;\n\t\t\t\t\t\t\ts0 = Math.max(0, -(a01 * s1 + b0));\n\t\t\t\t\t\t\tsqrDist = -s0 * s0 + s1 * (s1 + 2 * b1) + c;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// region 5\n\t\t\t\t\t\ts1 = -segExtent;\n\t\t\t\t\t\ts0 = Math.max(0, -(a01 * s1 + b0));\n\t\t\t\t\t\tsqrDist = -s0 * s0 + s1 * (s1 + 2 * b1) + c;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (s1 <= -extDet) {\n\t\t\t\t\t\t// region 4\n\t\t\t\t\t\ts0 = Math.max(0, -(-a01 * segExtent + b0));\n\t\t\t\t\t\ts1 = s0 > 0 ? -segExtent : Math.min(Math.max(-segExtent, -b1), segExtent);\n\t\t\t\t\t\tsqrDist = -s0 * s0 + s1 * (s1 + 2 * b1) + c;\n\t\t\t\t\t} else if (s1 <= extDet) {\n\t\t\t\t\t\t// region 3\n\t\t\t\t\t\ts0 = 0;\n\t\t\t\t\t\ts1 = Math.min(Math.max(-segExtent, -b1), segExtent);\n\t\t\t\t\t\tsqrDist = s1 * (s1 + 2 * b1) + c;\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// region 2\n\t\t\t\t\t\ts0 = Math.max(0, -(a01 * segExtent + b0));\n\t\t\t\t\t\ts1 = s0 > 0 ? segExtent : Math.min(Math.max(-segExtent, -b1), segExtent);\n\t\t\t\t\t\tsqrDist = -s0 * s0 + s1 * (s1 + 2 * b1) + c;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// Ray and segment are parallel.\n\t\t\t\ts1 = a01 > 0 ? -segExtent : segExtent;\n\t\t\t\ts0 = Math.max(0, -(a01 * s1 + b0));\n\t\t\t\tsqrDist = -s0 * s0 + s1 * (s1 + 2 * b1) + c;\n\t\t\t}\n\n\t\t\tif (optionalPointOnRay) {\n\t\t\t\toptionalPointOnRay.copy(this.direction).multiplyScalar(s0).add(this.origin);\n\t\t\t}\n\n\t\t\tif (optionalPointOnSegment) {\n\t\t\t\toptionalPointOnSegment.copy(_segDir).multiplyScalar(s1).add(_segCenter);\n\t\t\t}\n\n\t\t\treturn sqrDist;\n\t\t}\n\n\t\tintersectSphere(sphere, target) {\n\t\t\t_vector$a.subVectors(sphere.center, this.origin);\n\n\t\t\tconst tca = _vector$a.dot(this.direction);\n\n\t\t\tconst d2 = _vector$a.dot(_vector$a) - tca * tca;\n\t\t\tconst radius2 = sphere.radius * sphere.radius;\n\t\t\tif (d2 > radius2) return null;\n\t\t\tconst thc = Math.sqrt(radius2 - d2); // t0 = first intersect point - entrance on front of sphere\n\n\t\t\tconst t0 = tca - thc; // t1 = second intersect point - exit point on back of sphere\n\n\t\t\tconst t1 = tca + thc; // test to see if both t0 and t1 are behind the ray - if so, return null\n\n\t\t\tif (t0 < 0 && t1 < 0) return null; // test to see if t0 is behind the ray:\n\t\t\t// if it is, the ray is inside the sphere, so return the second exit point scaled by t1,\n\t\t\t// in order to always return an intersect point that is in front of the ray.\n\n\t\t\tif (t0 < 0) return this.at(t1, target); // else t0 is in front of the ray, so return the first collision point scaled by t0\n\n\t\t\treturn this.at(t0, target);\n\t\t}\n\n\t\tintersectsSphere(sphere) {\n\t\t\treturn this.distanceSqToPoint(sphere.center) <= sphere.radius * sphere.radius;\n\t\t}\n\n\t\tdistanceToPlane(plane) {\n\t\t\tconst denominator = plane.normal.dot(this.direction);\n\n\t\t\tif (denominator === 0) {\n\t\t\t\t// line is coplanar, return origin\n\t\t\t\tif (plane.distanceToPoint(this.origin) === 0) {\n\t\t\t\t\treturn 0;\n\t\t\t\t} // Null is preferable to undefined since undefined means.... it is undefined\n\n\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst t = -(this.origin.dot(plane.normal) + plane.constant) / denominator; // Return if the ray never intersects the plane\n\n\t\t\treturn t >= 0 ? t : null;\n\t\t}\n\n\t\tintersectPlane(plane, target) {\n\t\t\tconst t = this.distanceToPlane(plane);\n\n\t\t\tif (t === null) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn this.at(t, target);\n\t\t}\n\n\t\tintersectsPlane(plane) {\n\t\t\t// check if the ray lies on the plane first\n\t\t\tconst distToPoint = plane.distanceToPoint(this.origin);\n\n\t\t\tif (distToPoint === 0) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tconst denominator = plane.normal.dot(this.direction);\n\n\t\t\tif (denominator * distToPoint < 0) {\n\t\t\t\treturn true;\n\t\t\t} // ray origin is behind the plane (and is pointing behind it)\n\n\n\t\t\treturn false;\n\t\t}\n\n\t\tintersectBox(box, target) {\n\t\t\tlet tmin, tmax, tymin, tymax, tzmin, tzmax;\n\t\t\tconst invdirx = 1 / this.direction.x,\n\t\t\t\t\t\tinvdiry = 1 / this.direction.y,\n\t\t\t\t\t\tinvdirz = 1 / this.direction.z;\n\t\t\tconst origin = this.origin;\n\n\t\t\tif (invdirx >= 0) {\n\t\t\t\ttmin = (box.min.x - origin.x) * invdirx;\n\t\t\t\ttmax = (box.max.x - origin.x) * invdirx;\n\t\t\t} else {\n\t\t\t\ttmin = (box.max.x - origin.x) * invdirx;\n\t\t\t\ttmax = (box.min.x - origin.x) * invdirx;\n\t\t\t}\n\n\t\t\tif (invdiry >= 0) {\n\t\t\t\ttymin = (box.min.y - origin.y) * invdiry;\n\t\t\t\ttymax = (box.max.y - origin.y) * invdiry;\n\t\t\t} else {\n\t\t\t\ttymin = (box.max.y - origin.y) * invdiry;\n\t\t\t\ttymax = (box.min.y - origin.y) * invdiry;\n\t\t\t}\n\n\t\t\tif (tmin > tymax || tymin > tmax) return null; // These lines also handle the case where tmin or tmax is NaN\n\t\t\t// (result of 0 * Infinity). x !== x returns true if x is NaN\n\n\t\t\tif (tymin > tmin || tmin !== tmin) tmin = tymin;\n\t\t\tif (tymax < tmax || tmax !== tmax) tmax = tymax;\n\n\t\t\tif (invdirz >= 0) {\n\t\t\t\ttzmin = (box.min.z - origin.z) * invdirz;\n\t\t\t\ttzmax = (box.max.z - origin.z) * invdirz;\n\t\t\t} else {\n\t\t\t\ttzmin = (box.max.z - origin.z) * invdirz;\n\t\t\t\ttzmax = (box.min.z - origin.z) * invdirz;\n\t\t\t}\n\n\t\t\tif (tmin > tzmax || tzmin > tmax) return null;\n\t\t\tif (tzmin > tmin || tmin !== tmin) tmin = tzmin;\n\t\t\tif (tzmax < tmax || tmax !== tmax) tmax = tzmax; //return point closest to the ray (positive side)\n\n\t\t\tif (tmax < 0) return null;\n\t\t\treturn this.at(tmin >= 0 ? tmin : tmax, target);\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\treturn this.intersectBox(box, _vector$a) !== null;\n\t\t}\n\n\t\tintersectTriangle(a, b, c, backfaceCulling, target) {\n\t\t\t// Compute the offset origin, edges, and normal.\n\t\t\t// from https://github.com/pmjoniak/GeometricTools/blob/master/GTEngine/Include/Mathematics/GteIntrRay3Triangle3.h\n\t\t\t_edge1.subVectors(b, a);\n\n\t\t\t_edge2.subVectors(c, a);\n\n\t\t\t_normal$1.crossVectors(_edge1, _edge2); // Solve Q + t*D = b1*E1 + b2*E2 (Q = kDiff, D = ray direction,\n\t\t\t// E1 = kEdge1, E2 = kEdge2, N = Cross(E1,E2)) by\n\t\t\t//\t |Dot(D,N)|*b1 = sign(Dot(D,N))*Dot(D,Cross(Q,E2))\n\t\t\t//\t |Dot(D,N)|*b2 = sign(Dot(D,N))*Dot(D,Cross(E1,Q))\n\t\t\t//\t |Dot(D,N)|*t = -sign(Dot(D,N))*Dot(Q,N)\n\n\n\t\t\tlet DdN = this.direction.dot(_normal$1);\n\t\t\tlet sign;\n\n\t\t\tif (DdN > 0) {\n\t\t\t\tif (backfaceCulling) return null;\n\t\t\t\tsign = 1;\n\t\t\t} else if (DdN < 0) {\n\t\t\t\tsign = -1;\n\t\t\t\tDdN = -DdN;\n\t\t\t} else {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t_diff.subVectors(this.origin, a);\n\n\t\t\tconst DdQxE2 = sign * this.direction.dot(_edge2.crossVectors(_diff, _edge2)); // b1 < 0, no intersection\n\n\t\t\tif (DdQxE2 < 0) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst DdE1xQ = sign * this.direction.dot(_edge1.cross(_diff)); // b2 < 0, no intersection\n\n\t\t\tif (DdE1xQ < 0) {\n\t\t\t\treturn null;\n\t\t\t} // b1+b2 > 1, no intersection\n\n\n\t\t\tif (DdQxE2 + DdE1xQ > DdN) {\n\t\t\t\treturn null;\n\t\t\t} // Line intersects triangle, check if ray does.\n\n\n\t\t\tconst QdN = -sign * _diff.dot(_normal$1); // t < 0, no intersection\n\n\n\t\t\tif (QdN < 0) {\n\t\t\t\treturn null;\n\t\t\t} // Ray intersects triangle.\n\n\n\t\t\treturn this.at(QdN / DdN, target);\n\t\t}\n\n\t\tapplyMatrix4(matrix4) {\n\t\t\tthis.origin.applyMatrix4(matrix4);\n\t\t\tthis.direction.transformDirection(matrix4);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(ray) {\n\t\t\treturn ray.origin.equals(this.origin) && ray.direction.equals(this.direction);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tclass Matrix4 {\n\t\tconstructor() {\n\t\t\tMatrix4.prototype.isMatrix4 = true;\n\t\t\tthis.elements = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1];\n\n\t\t\tif (arguments.length > 0) {\n\t\t\t\tconsole.error('THREE.Matrix4: the constructor no longer reads arguments. use .set() instead.');\n\t\t\t}\n\t\t}\n\n\t\tset(n11, n12, n13, n14, n21, n22, n23, n24, n31, n32, n33, n34, n41, n42, n43, n44) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] = n11;\n\t\t\tte[4] = n12;\n\t\t\tte[8] = n13;\n\t\t\tte[12] = n14;\n\t\t\tte[1] = n21;\n\t\t\tte[5] = n22;\n\t\t\tte[9] = n23;\n\t\t\tte[13] = n24;\n\t\t\tte[2] = n31;\n\t\t\tte[6] = n32;\n\t\t\tte[10] = n33;\n\t\t\tte[14] = n34;\n\t\t\tte[3] = n41;\n\t\t\tte[7] = n42;\n\t\t\tte[11] = n43;\n\t\t\tte[15] = n44;\n\t\t\treturn this;\n\t\t}\n\n\t\tidentity() {\n\t\t\tthis.set(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new Matrix4().fromArray(this.elements);\n\t\t}\n\n\t\tcopy(m) {\n\t\t\tconst te = this.elements;\n\t\t\tconst me = m.elements;\n\t\t\tte[0] = me[0];\n\t\t\tte[1] = me[1];\n\t\t\tte[2] = me[2];\n\t\t\tte[3] = me[3];\n\t\t\tte[4] = me[4];\n\t\t\tte[5] = me[5];\n\t\t\tte[6] = me[6];\n\t\t\tte[7] = me[7];\n\t\t\tte[8] = me[8];\n\t\t\tte[9] = me[9];\n\t\t\tte[10] = me[10];\n\t\t\tte[11] = me[11];\n\t\t\tte[12] = me[12];\n\t\t\tte[13] = me[13];\n\t\t\tte[14] = me[14];\n\t\t\tte[15] = me[15];\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyPosition(m) {\n\t\t\tconst te = this.elements,\n\t\t\t\t\t\tme = m.elements;\n\t\t\tte[12] = me[12];\n\t\t\tte[13] = me[13];\n\t\t\tte[14] = me[14];\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromMatrix3(m) {\n\t\t\tconst me = m.elements;\n\t\t\tthis.set(me[0], me[3], me[6], 0, me[1], me[4], me[7], 0, me[2], me[5], me[8], 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\textractBasis(xAxis, yAxis, zAxis) {\n\t\t\txAxis.setFromMatrixColumn(this, 0);\n\t\t\tyAxis.setFromMatrixColumn(this, 1);\n\t\t\tzAxis.setFromMatrixColumn(this, 2);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeBasis(xAxis, yAxis, zAxis) {\n\t\t\tthis.set(xAxis.x, yAxis.x, zAxis.x, 0, xAxis.y, yAxis.y, zAxis.y, 0, xAxis.z, yAxis.z, zAxis.z, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\textractRotation(m) {\n\t\t\t// this method does not support reflection matrices\n\t\t\tconst te = this.elements;\n\t\t\tconst me = m.elements;\n\n\t\t\tconst scaleX = 1 / _v1$5.setFromMatrixColumn(m, 0).length();\n\n\t\t\tconst scaleY = 1 / _v1$5.setFromMatrixColumn(m, 1).length();\n\n\t\t\tconst scaleZ = 1 / _v1$5.setFromMatrixColumn(m, 2).length();\n\n\t\t\tte[0] = me[0] * scaleX;\n\t\t\tte[1] = me[1] * scaleX;\n\t\t\tte[2] = me[2] * scaleX;\n\t\t\tte[3] = 0;\n\t\t\tte[4] = me[4] * scaleY;\n\t\t\tte[5] = me[5] * scaleY;\n\t\t\tte[6] = me[6] * scaleY;\n\t\t\tte[7] = 0;\n\t\t\tte[8] = me[8] * scaleZ;\n\t\t\tte[9] = me[9] * scaleZ;\n\t\t\tte[10] = me[10] * scaleZ;\n\t\t\tte[11] = 0;\n\t\t\tte[12] = 0;\n\t\t\tte[13] = 0;\n\t\t\tte[14] = 0;\n\t\t\tte[15] = 1;\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationFromEuler(euler) {\n\t\t\tif (!(euler && euler.isEuler)) {\n\t\t\t\tconsole.error('THREE.Matrix4: .makeRotationFromEuler() now expects a Euler rotation rather than a Vector3 and order.');\n\t\t\t}\n\n\t\t\tconst te = this.elements;\n\t\t\tconst x = euler.x,\n\t\t\t\t\t\ty = euler.y,\n\t\t\t\t\t\tz = euler.z;\n\t\t\tconst a = Math.cos(x),\n\t\t\t\t\t\tb = Math.sin(x);\n\t\t\tconst c = Math.cos(y),\n\t\t\t\t\t\td = Math.sin(y);\n\t\t\tconst e = Math.cos(z),\n\t\t\t\t\t\tf = Math.sin(z);\n\n\t\t\tif (euler.order === 'XYZ') {\n\t\t\t\tconst ae = a * e,\n\t\t\t\t\t\t\taf = a * f,\n\t\t\t\t\t\t\tbe = b * e,\n\t\t\t\t\t\t\tbf = b * f;\n\t\t\t\tte[0] = c * e;\n\t\t\t\tte[4] = -c * f;\n\t\t\t\tte[8] = d;\n\t\t\t\tte[1] = af + be * d;\n\t\t\t\tte[5] = ae - bf * d;\n\t\t\t\tte[9] = -b * c;\n\t\t\t\tte[2] = bf - ae * d;\n\t\t\t\tte[6] = be + af * d;\n\t\t\t\tte[10] = a * c;\n\t\t\t} else if (euler.order === 'YXZ') {\n\t\t\t\tconst ce = c * e,\n\t\t\t\t\t\t\tcf = c * f,\n\t\t\t\t\t\t\tde = d * e,\n\t\t\t\t\t\t\tdf = d * f;\n\t\t\t\tte[0] = ce + df * b;\n\t\t\t\tte[4] = de * b - cf;\n\t\t\t\tte[8] = a * d;\n\t\t\t\tte[1] = a * f;\n\t\t\t\tte[5] = a * e;\n\t\t\t\tte[9] = -b;\n\t\t\t\tte[2] = cf * b - de;\n\t\t\t\tte[6] = df + ce * b;\n\t\t\t\tte[10] = a * c;\n\t\t\t} else if (euler.order === 'ZXY') {\n\t\t\t\tconst ce = c * e,\n\t\t\t\t\t\t\tcf = c * f,\n\t\t\t\t\t\t\tde = d * e,\n\t\t\t\t\t\t\tdf = d * f;\n\t\t\t\tte[0] = ce - df * b;\n\t\t\t\tte[4] = -a * f;\n\t\t\t\tte[8] = de + cf * b;\n\t\t\t\tte[1] = cf + de * b;\n\t\t\t\tte[5] = a * e;\n\t\t\t\tte[9] = df - ce * b;\n\t\t\t\tte[2] = -a * d;\n\t\t\t\tte[6] = b;\n\t\t\t\tte[10] = a * c;\n\t\t\t} else if (euler.order === 'ZYX') {\n\t\t\t\tconst ae = a * e,\n\t\t\t\t\t\t\taf = a * f,\n\t\t\t\t\t\t\tbe = b * e,\n\t\t\t\t\t\t\tbf = b * f;\n\t\t\t\tte[0] = c * e;\n\t\t\t\tte[4] = be * d - af;\n\t\t\t\tte[8] = ae * d + bf;\n\t\t\t\tte[1] = c * f;\n\t\t\t\tte[5] = bf * d + ae;\n\t\t\t\tte[9] = af * d - be;\n\t\t\t\tte[2] = -d;\n\t\t\t\tte[6] = b * c;\n\t\t\t\tte[10] = a * c;\n\t\t\t} else if (euler.order === 'YZX') {\n\t\t\t\tconst ac = a * c,\n\t\t\t\t\t\t\tad = a * d,\n\t\t\t\t\t\t\tbc = b * c,\n\t\t\t\t\t\t\tbd = b * d;\n\t\t\t\tte[0] = c * e;\n\t\t\t\tte[4] = bd - ac * f;\n\t\t\t\tte[8] = bc * f + ad;\n\t\t\t\tte[1] = f;\n\t\t\t\tte[5] = a * e;\n\t\t\t\tte[9] = -b * e;\n\t\t\t\tte[2] = -d * e;\n\t\t\t\tte[6] = ad * f + bc;\n\t\t\t\tte[10] = ac - bd * f;\n\t\t\t} else if (euler.order === 'XZY') {\n\t\t\t\tconst ac = a * c,\n\t\t\t\t\t\t\tad = a * d,\n\t\t\t\t\t\t\tbc = b * c,\n\t\t\t\t\t\t\tbd = b * d;\n\t\t\t\tte[0] = c * e;\n\t\t\t\tte[4] = -f;\n\t\t\t\tte[8] = d * e;\n\t\t\t\tte[1] = ac * f + bd;\n\t\t\t\tte[5] = a * e;\n\t\t\t\tte[9] = ad * f - bc;\n\t\t\t\tte[2] = bc * f - ad;\n\t\t\t\tte[6] = b * e;\n\t\t\t\tte[10] = bd * f + ac;\n\t\t\t} // bottom row\n\n\n\t\t\tte[3] = 0;\n\t\t\tte[7] = 0;\n\t\t\tte[11] = 0; // last column\n\n\t\t\tte[12] = 0;\n\t\t\tte[13] = 0;\n\t\t\tte[14] = 0;\n\t\t\tte[15] = 1;\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationFromQuaternion(q) {\n\t\t\treturn this.compose(_zero, q, _one);\n\t\t}\n\n\t\tlookAt(eye, target, up) {\n\t\t\tconst te = this.elements;\n\n\t\t\t_z.subVectors(eye, target);\n\n\t\t\tif (_z.lengthSq() === 0) {\n\t\t\t\t// eye and target are in the same position\n\t\t\t\t_z.z = 1;\n\t\t\t}\n\n\t\t\t_z.normalize();\n\n\t\t\t_x.crossVectors(up, _z);\n\n\t\t\tif (_x.lengthSq() === 0) {\n\t\t\t\t// up and z are parallel\n\t\t\t\tif (Math.abs(up.z) === 1) {\n\t\t\t\t\t_z.x += 0.0001;\n\t\t\t\t} else {\n\t\t\t\t\t_z.z += 0.0001;\n\t\t\t\t}\n\n\t\t\t\t_z.normalize();\n\n\t\t\t\t_x.crossVectors(up, _z);\n\t\t\t}\n\n\t\t\t_x.normalize();\n\n\t\t\t_y.crossVectors(_z, _x);\n\n\t\t\tte[0] = _x.x;\n\t\t\tte[4] = _y.x;\n\t\t\tte[8] = _z.x;\n\t\t\tte[1] = _x.y;\n\t\t\tte[5] = _y.y;\n\t\t\tte[9] = _z.y;\n\t\t\tte[2] = _x.z;\n\t\t\tte[6] = _y.z;\n\t\t\tte[10] = _z.z;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiply(m, n) {\n\t\t\tif (n !== undefined) {\n\t\t\t\tconsole.warn('THREE.Matrix4: .multiply() now only accepts one argument. Use .multiplyMatrices( a, b ) instead.');\n\t\t\t\treturn this.multiplyMatrices(m, n);\n\t\t\t}\n\n\t\t\treturn this.multiplyMatrices(this, m);\n\t\t}\n\n\t\tpremultiply(m) {\n\t\t\treturn this.multiplyMatrices(m, this);\n\t\t}\n\n\t\tmultiplyMatrices(a, b) {\n\t\t\tconst ae = a.elements;\n\t\t\tconst be = b.elements;\n\t\t\tconst te = this.elements;\n\t\t\tconst a11 = ae[0],\n\t\t\t\t\t\ta12 = ae[4],\n\t\t\t\t\t\ta13 = ae[8],\n\t\t\t\t\t\ta14 = ae[12];\n\t\t\tconst a21 = ae[1],\n\t\t\t\t\t\ta22 = ae[5],\n\t\t\t\t\t\ta23 = ae[9],\n\t\t\t\t\t\ta24 = ae[13];\n\t\t\tconst a31 = ae[2],\n\t\t\t\t\t\ta32 = ae[6],\n\t\t\t\t\t\ta33 = ae[10],\n\t\t\t\t\t\ta34 = ae[14];\n\t\t\tconst a41 = ae[3],\n\t\t\t\t\t\ta42 = ae[7],\n\t\t\t\t\t\ta43 = ae[11],\n\t\t\t\t\t\ta44 = ae[15];\n\t\t\tconst b11 = be[0],\n\t\t\t\t\t\tb12 = be[4],\n\t\t\t\t\t\tb13 = be[8],\n\t\t\t\t\t\tb14 = be[12];\n\t\t\tconst b21 = be[1],\n\t\t\t\t\t\tb22 = be[5],\n\t\t\t\t\t\tb23 = be[9],\n\t\t\t\t\t\tb24 = be[13];\n\t\t\tconst b31 = be[2],\n\t\t\t\t\t\tb32 = be[6],\n\t\t\t\t\t\tb33 = be[10],\n\t\t\t\t\t\tb34 = be[14];\n\t\t\tconst b41 = be[3],\n\t\t\t\t\t\tb42 = be[7],\n\t\t\t\t\t\tb43 = be[11],\n\t\t\t\t\t\tb44 = be[15];\n\t\t\tte[0] = a11 * b11 + a12 * b21 + a13 * b31 + a14 * b41;\n\t\t\tte[4] = a11 * b12 + a12 * b22 + a13 * b32 + a14 * b42;\n\t\t\tte[8] = a11 * b13 + a12 * b23 + a13 * b33 + a14 * b43;\n\t\t\tte[12] = a11 * b14 + a12 * b24 + a13 * b34 + a14 * b44;\n\t\t\tte[1] = a21 * b11 + a22 * b21 + a23 * b31 + a24 * b41;\n\t\t\tte[5] = a21 * b12 + a22 * b22 + a23 * b32 + a24 * b42;\n\t\t\tte[9] = a21 * b13 + a22 * b23 + a23 * b33 + a24 * b43;\n\t\t\tte[13] = a21 * b14 + a22 * b24 + a23 * b34 + a24 * b44;\n\t\t\tte[2] = a31 * b11 + a32 * b21 + a33 * b31 + a34 * b41;\n\t\t\tte[6] = a31 * b12 + a32 * b22 + a33 * b32 + a34 * b42;\n\t\t\tte[10] = a31 * b13 + a32 * b23 + a33 * b33 + a34 * b43;\n\t\t\tte[14] = a31 * b14 + a32 * b24 + a33 * b34 + a34 * b44;\n\t\t\tte[3] = a41 * b11 + a42 * b21 + a43 * b31 + a44 * b41;\n\t\t\tte[7] = a41 * b12 + a42 * b22 + a43 * b32 + a44 * b42;\n\t\t\tte[11] = a41 * b13 + a42 * b23 + a43 * b33 + a44 * b43;\n\t\t\tte[15] = a41 * b14 + a42 * b24 + a43 * b34 + a44 * b44;\n\t\t\treturn this;\n\t\t}\n\n\t\tmultiplyScalar(s) {\n\t\t\tconst te = this.elements;\n\t\t\tte[0] *= s;\n\t\t\tte[4] *= s;\n\t\t\tte[8] *= s;\n\t\t\tte[12] *= s;\n\t\t\tte[1] *= s;\n\t\t\tte[5] *= s;\n\t\t\tte[9] *= s;\n\t\t\tte[13] *= s;\n\t\t\tte[2] *= s;\n\t\t\tte[6] *= s;\n\t\t\tte[10] *= s;\n\t\t\tte[14] *= s;\n\t\t\tte[3] *= s;\n\t\t\tte[7] *= s;\n\t\t\tte[11] *= s;\n\t\t\tte[15] *= s;\n\t\t\treturn this;\n\t\t}\n\n\t\tdeterminant() {\n\t\t\tconst te = this.elements;\n\t\t\tconst n11 = te[0],\n\t\t\t\t\t\tn12 = te[4],\n\t\t\t\t\t\tn13 = te[8],\n\t\t\t\t\t\tn14 = te[12];\n\t\t\tconst n21 = te[1],\n\t\t\t\t\t\tn22 = te[5],\n\t\t\t\t\t\tn23 = te[9],\n\t\t\t\t\t\tn24 = te[13];\n\t\t\tconst n31 = te[2],\n\t\t\t\t\t\tn32 = te[6],\n\t\t\t\t\t\tn33 = te[10],\n\t\t\t\t\t\tn34 = te[14];\n\t\t\tconst n41 = te[3],\n\t\t\t\t\t\tn42 = te[7],\n\t\t\t\t\t\tn43 = te[11],\n\t\t\t\t\t\tn44 = te[15]; //TODO: make this more efficient\n\t\t\t//( based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm )\n\n\t\t\treturn n41 * (+n14 * n23 * n32 - n13 * n24 * n32 - n14 * n22 * n33 + n12 * n24 * n33 + n13 * n22 * n34 - n12 * n23 * n34) + n42 * (+n11 * n23 * n34 - n11 * n24 * n33 + n14 * n21 * n33 - n13 * n21 * n34 + n13 * n24 * n31 - n14 * n23 * n31) + n43 * (+n11 * n24 * n32 - n11 * n22 * n34 - n14 * n21 * n32 + n12 * n21 * n34 + n14 * n22 * n31 - n12 * n24 * n31) + n44 * (-n13 * n22 * n31 - n11 * n23 * n32 + n11 * n22 * n33 + n13 * n21 * n32 - n12 * n21 * n33 + n12 * n23 * n31);\n\t\t}\n\n\t\ttranspose() {\n\t\t\tconst te = this.elements;\n\t\t\tlet tmp;\n\t\t\ttmp = te[1];\n\t\t\tte[1] = te[4];\n\t\t\tte[4] = tmp;\n\t\t\ttmp = te[2];\n\t\t\tte[2] = te[8];\n\t\t\tte[8] = tmp;\n\t\t\ttmp = te[6];\n\t\t\tte[6] = te[9];\n\t\t\tte[9] = tmp;\n\t\t\ttmp = te[3];\n\t\t\tte[3] = te[12];\n\t\t\tte[12] = tmp;\n\t\t\ttmp = te[7];\n\t\t\tte[7] = te[13];\n\t\t\tte[13] = tmp;\n\t\t\ttmp = te[11];\n\t\t\tte[11] = te[14];\n\t\t\tte[14] = tmp;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetPosition(x, y, z) {\n\t\t\tconst te = this.elements;\n\n\t\t\tif (x.isVector3) {\n\t\t\t\tte[12] = x.x;\n\t\t\t\tte[13] = x.y;\n\t\t\t\tte[14] = x.z;\n\t\t\t} else {\n\t\t\t\tte[12] = x;\n\t\t\t\tte[13] = y;\n\t\t\t\tte[14] = z;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tinvert() {\n\t\t\t// based on http://www.euclideanspace.com/maths/algebra/matrix/functions/inverse/fourD/index.htm\n\t\t\tconst te = this.elements,\n\t\t\t\t\t\tn11 = te[0],\n\t\t\t\t\t\tn21 = te[1],\n\t\t\t\t\t\tn31 = te[2],\n\t\t\t\t\t\tn41 = te[3],\n\t\t\t\t\t\tn12 = te[4],\n\t\t\t\t\t\tn22 = te[5],\n\t\t\t\t\t\tn32 = te[6],\n\t\t\t\t\t\tn42 = te[7],\n\t\t\t\t\t\tn13 = te[8],\n\t\t\t\t\t\tn23 = te[9],\n\t\t\t\t\t\tn33 = te[10],\n\t\t\t\t\t\tn43 = te[11],\n\t\t\t\t\t\tn14 = te[12],\n\t\t\t\t\t\tn24 = te[13],\n\t\t\t\t\t\tn34 = te[14],\n\t\t\t\t\t\tn44 = te[15],\n\t\t\t\t\t\tt11 = n23 * n34 * n42 - n24 * n33 * n42 + n24 * n32 * n43 - n22 * n34 * n43 - n23 * n32 * n44 + n22 * n33 * n44,\n\t\t\t\t\t\tt12 = n14 * n33 * n42 - n13 * n34 * n42 - n14 * n32 * n43 + n12 * n34 * n43 + n13 * n32 * n44 - n12 * n33 * n44,\n\t\t\t\t\t\tt13 = n13 * n24 * n42 - n14 * n23 * n42 + n14 * n22 * n43 - n12 * n24 * n43 - n13 * n22 * n44 + n12 * n23 * n44,\n\t\t\t\t\t\tt14 = n14 * n23 * n32 - n13 * n24 * n32 - n14 * n22 * n33 + n12 * n24 * n33 + n13 * n22 * n34 - n12 * n23 * n34;\n\t\t\tconst det = n11 * t11 + n21 * t12 + n31 * t13 + n41 * t14;\n\t\t\tif (det === 0) return this.set(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);\n\t\t\tconst detInv = 1 / det;\n\t\t\tte[0] = t11 * detInv;\n\t\t\tte[1] = (n24 * n33 * n41 - n23 * n34 * n41 - n24 * n31 * n43 + n21 * n34 * n43 + n23 * n31 * n44 - n21 * n33 * n44) * detInv;\n\t\t\tte[2] = (n22 * n34 * n41 - n24 * n32 * n41 + n24 * n31 * n42 - n21 * n34 * n42 - n22 * n31 * n44 + n21 * n32 * n44) * detInv;\n\t\t\tte[3] = (n23 * n32 * n41 - n22 * n33 * n41 - n23 * n31 * n42 + n21 * n33 * n42 + n22 * n31 * n43 - n21 * n32 * n43) * detInv;\n\t\t\tte[4] = t12 * detInv;\n\t\t\tte[5] = (n13 * n34 * n41 - n14 * n33 * n41 + n14 * n31 * n43 - n11 * n34 * n43 - n13 * n31 * n44 + n11 * n33 * n44) * detInv;\n\t\t\tte[6] = (n14 * n32 * n41 - n12 * n34 * n41 - n14 * n31 * n42 + n11 * n34 * n42 + n12 * n31 * n44 - n11 * n32 * n44) * detInv;\n\t\t\tte[7] = (n12 * n33 * n41 - n13 * n32 * n41 + n13 * n31 * n42 - n11 * n33 * n42 - n12 * n31 * n43 + n11 * n32 * n43) * detInv;\n\t\t\tte[8] = t13 * detInv;\n\t\t\tte[9] = (n14 * n23 * n41 - n13 * n24 * n41 - n14 * n21 * n43 + n11 * n24 * n43 + n13 * n21 * n44 - n11 * n23 * n44) * detInv;\n\t\t\tte[10] = (n12 * n24 * n41 - n14 * n22 * n41 + n14 * n21 * n42 - n11 * n24 * n42 - n12 * n21 * n44 + n11 * n22 * n44) * detInv;\n\t\t\tte[11] = (n13 * n22 * n41 - n12 * n23 * n41 - n13 * n21 * n42 + n11 * n23 * n42 + n12 * n21 * n43 - n11 * n22 * n43) * detInv;\n\t\t\tte[12] = t14 * detInv;\n\t\t\tte[13] = (n13 * n24 * n31 - n14 * n23 * n31 + n14 * n21 * n33 - n11 * n24 * n33 - n13 * n21 * n34 + n11 * n23 * n34) * detInv;\n\t\t\tte[14] = (n14 * n22 * n31 - n12 * n24 * n31 - n14 * n21 * n32 + n11 * n24 * n32 + n12 * n21 * n34 - n11 * n22 * n34) * detInv;\n\t\t\tte[15] = (n12 * n23 * n31 - n13 * n22 * n31 + n13 * n21 * n32 - n11 * n23 * n32 - n12 * n21 * n33 + n11 * n22 * n33) * detInv;\n\t\t\treturn this;\n\t\t}\n\n\t\tscale(v) {\n\t\t\tconst te = this.elements;\n\t\t\tconst x = v.x,\n\t\t\t\t\t\ty = v.y,\n\t\t\t\t\t\tz = v.z;\n\t\t\tte[0] *= x;\n\t\t\tte[4] *= y;\n\t\t\tte[8] *= z;\n\t\t\tte[1] *= x;\n\t\t\tte[5] *= y;\n\t\t\tte[9] *= z;\n\t\t\tte[2] *= x;\n\t\t\tte[6] *= y;\n\t\t\tte[10] *= z;\n\t\t\tte[3] *= x;\n\t\t\tte[7] *= y;\n\t\t\tte[11] *= z;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetMaxScaleOnAxis() {\n\t\t\tconst te = this.elements;\n\t\t\tconst scaleXSq = te[0] * te[0] + te[1] * te[1] + te[2] * te[2];\n\t\t\tconst scaleYSq = te[4] * te[4] + te[5] * te[5] + te[6] * te[6];\n\t\t\tconst scaleZSq = te[8] * te[8] + te[9] * te[9] + te[10] * te[10];\n\t\t\treturn Math.sqrt(Math.max(scaleXSq, scaleYSq, scaleZSq));\n\t\t}\n\n\t\tmakeTranslation(x, y, z) {\n\t\t\tthis.set(1, 0, 0, x, 0, 1, 0, y, 0, 0, 1, z, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationX(theta) {\n\t\t\tconst c = Math.cos(theta),\n\t\t\t\t\t\ts = Math.sin(theta);\n\t\t\tthis.set(1, 0, 0, 0, 0, c, -s, 0, 0, s, c, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationY(theta) {\n\t\t\tconst c = Math.cos(theta),\n\t\t\t\t\t\ts = Math.sin(theta);\n\t\t\tthis.set(c, 0, s, 0, 0, 1, 0, 0, -s, 0, c, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationZ(theta) {\n\t\t\tconst c = Math.cos(theta),\n\t\t\t\t\t\ts = Math.sin(theta);\n\t\t\tthis.set(c, -s, 0, 0, s, c, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeRotationAxis(axis, angle) {\n\t\t\t// Based on http://www.gamedev.net/reference/articles/article1199.asp\n\t\t\tconst c = Math.cos(angle);\n\t\t\tconst s = Math.sin(angle);\n\t\t\tconst t = 1 - c;\n\t\t\tconst x = axis.x,\n\t\t\t\t\t\ty = axis.y,\n\t\t\t\t\t\tz = axis.z;\n\t\t\tconst tx = t * x,\n\t\t\t\t\t\tty = t * y;\n\t\t\tthis.set(tx * x + c, tx * y - s * z, tx * z + s * y, 0, tx * y + s * z, ty * y + c, ty * z - s * x, 0, tx * z - s * y, ty * z + s * x, t * z * z + c, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeScale(x, y, z) {\n\t\t\tthis.set(x, 0, 0, 0, 0, y, 0, 0, 0, 0, z, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeShear(xy, xz, yx, yz, zx, zy) {\n\t\t\tthis.set(1, yx, zx, 0, xy, 1, zy, 0, xz, yz, 1, 0, 0, 0, 0, 1);\n\t\t\treturn this;\n\t\t}\n\n\t\tcompose(position, quaternion, scale) {\n\t\t\tconst te = this.elements;\n\t\t\tconst x = quaternion._x,\n\t\t\t\t\t\ty = quaternion._y,\n\t\t\t\t\t\tz = quaternion._z,\n\t\t\t\t\t\tw = quaternion._w;\n\t\t\tconst x2 = x + x,\n\t\t\t\t\t\ty2 = y + y,\n\t\t\t\t\t\tz2 = z + z;\n\t\t\tconst xx = x * x2,\n\t\t\t\t\t\txy = x * y2,\n\t\t\t\t\t\txz = x * z2;\n\t\t\tconst yy = y * y2,\n\t\t\t\t\t\tyz = y * z2,\n\t\t\t\t\t\tzz = z * z2;\n\t\t\tconst wx = w * x2,\n\t\t\t\t\t\twy = w * y2,\n\t\t\t\t\t\twz = w * z2;\n\t\t\tconst sx = scale.x,\n\t\t\t\t\t\tsy = scale.y,\n\t\t\t\t\t\tsz = scale.z;\n\t\t\tte[0] = (1 - (yy + zz)) * sx;\n\t\t\tte[1] = (xy + wz) * sx;\n\t\t\tte[2] = (xz - wy) * sx;\n\t\t\tte[3] = 0;\n\t\t\tte[4] = (xy - wz) * sy;\n\t\t\tte[5] = (1 - (xx + zz)) * sy;\n\t\t\tte[6] = (yz + wx) * sy;\n\t\t\tte[7] = 0;\n\t\t\tte[8] = (xz + wy) * sz;\n\t\t\tte[9] = (yz - wx) * sz;\n\t\t\tte[10] = (1 - (xx + yy)) * sz;\n\t\t\tte[11] = 0;\n\t\t\tte[12] = position.x;\n\t\t\tte[13] = position.y;\n\t\t\tte[14] = position.z;\n\t\t\tte[15] = 1;\n\t\t\treturn this;\n\t\t}\n\n\t\tdecompose(position, quaternion, scale) {\n\t\t\tconst te = this.elements;\n\n\t\t\tlet sx = _v1$5.set(te[0], te[1], te[2]).length();\n\n\t\t\tconst sy = _v1$5.set(te[4], te[5], te[6]).length();\n\n\t\t\tconst sz = _v1$5.set(te[8], te[9], te[10]).length(); // if determine is negative, we need to invert one scale\n\n\n\t\t\tconst det = this.determinant();\n\t\t\tif (det < 0) sx = -sx;\n\t\t\tposition.x = te[12];\n\t\t\tposition.y = te[13];\n\t\t\tposition.z = te[14]; // scale the rotation part\n\n\t\t\t_m1$2.copy(this);\n\n\t\t\tconst invSX = 1 / sx;\n\t\t\tconst invSY = 1 / sy;\n\t\t\tconst invSZ = 1 / sz;\n\t\t\t_m1$2.elements[0] *= invSX;\n\t\t\t_m1$2.elements[1] *= invSX;\n\t\t\t_m1$2.elements[2] *= invSX;\n\t\t\t_m1$2.elements[4] *= invSY;\n\t\t\t_m1$2.elements[5] *= invSY;\n\t\t\t_m1$2.elements[6] *= invSY;\n\t\t\t_m1$2.elements[8] *= invSZ;\n\t\t\t_m1$2.elements[9] *= invSZ;\n\t\t\t_m1$2.elements[10] *= invSZ;\n\t\t\tquaternion.setFromRotationMatrix(_m1$2);\n\t\t\tscale.x = sx;\n\t\t\tscale.y = sy;\n\t\t\tscale.z = sz;\n\t\t\treturn this;\n\t\t}\n\n\t\tmakePerspective(left, right, top, bottom, near, far) {\n\t\t\tif (far === undefined) {\n\t\t\t\tconsole.warn('THREE.Matrix4: .makePerspective() has been redefined and has a new signature. Please check the docs.');\n\t\t\t}\n\n\t\t\tconst te = this.elements;\n\t\t\tconst x = 2 * near / (right - left);\n\t\t\tconst y = 2 * near / (top - bottom);\n\t\t\tconst a = (right + left) / (right - left);\n\t\t\tconst b = (top + bottom) / (top - bottom);\n\t\t\tconst c = -(far + near) / (far - near);\n\t\t\tconst d = -2 * far * near / (far - near);\n\t\t\tte[0] = x;\n\t\t\tte[4] = 0;\n\t\t\tte[8] = a;\n\t\t\tte[12] = 0;\n\t\t\tte[1] = 0;\n\t\t\tte[5] = y;\n\t\t\tte[9] = b;\n\t\t\tte[13] = 0;\n\t\t\tte[2] = 0;\n\t\t\tte[6] = 0;\n\t\t\tte[10] = c;\n\t\t\tte[14] = d;\n\t\t\tte[3] = 0;\n\t\t\tte[7] = 0;\n\t\t\tte[11] = -1;\n\t\t\tte[15] = 0;\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeOrthographic(left, right, top, bottom, near, far) {\n\t\t\tconst te = this.elements;\n\t\t\tconst w = 1.0 / (right - left);\n\t\t\tconst h = 1.0 / (top - bottom);\n\t\t\tconst p = 1.0 / (far - near);\n\t\t\tconst x = (right + left) * w;\n\t\t\tconst y = (top + bottom) * h;\n\t\t\tconst z = (far + near) * p;\n\t\t\tte[0] = 2 * w;\n\t\t\tte[4] = 0;\n\t\t\tte[8] = 0;\n\t\t\tte[12] = -x;\n\t\t\tte[1] = 0;\n\t\t\tte[5] = 2 * h;\n\t\t\tte[9] = 0;\n\t\t\tte[13] = -y;\n\t\t\tte[2] = 0;\n\t\t\tte[6] = 0;\n\t\t\tte[10] = -2 * p;\n\t\t\tte[14] = -z;\n\t\t\tte[3] = 0;\n\t\t\tte[7] = 0;\n\t\t\tte[11] = 0;\n\t\t\tte[15] = 1;\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(matrix) {\n\t\t\tconst te = this.elements;\n\t\t\tconst me = matrix.elements;\n\n\t\t\tfor (let i = 0; i < 16; i++) {\n\t\t\t\tif (te[i] !== me[i]) return false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tfor (let i = 0; i < 16; i++) {\n\t\t\t\tthis.elements[i] = array[i + offset];\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tconst te = this.elements;\n\t\t\tarray[offset] = te[0];\n\t\t\tarray[offset + 1] = te[1];\n\t\t\tarray[offset + 2] = te[2];\n\t\t\tarray[offset + 3] = te[3];\n\t\t\tarray[offset + 4] = te[4];\n\t\t\tarray[offset + 5] = te[5];\n\t\t\tarray[offset + 6] = te[6];\n\t\t\tarray[offset + 7] = te[7];\n\t\t\tarray[offset + 8] = te[8];\n\t\t\tarray[offset + 9] = te[9];\n\t\t\tarray[offset + 10] = te[10];\n\t\t\tarray[offset + 11] = te[11];\n\t\t\tarray[offset + 12] = te[12];\n\t\t\tarray[offset + 13] = te[13];\n\t\t\tarray[offset + 14] = te[14];\n\t\t\tarray[offset + 15] = te[15];\n\t\t\treturn array;\n\t\t}\n\n\t}\n\n\tconst _v1$5 = /*@__PURE__*/new Vector3();\n\n\tconst _m1$2 = /*@__PURE__*/new Matrix4();\n\n\tconst _zero = /*@__PURE__*/new Vector3(0, 0, 0);\n\n\tconst _one = /*@__PURE__*/new Vector3(1, 1, 1);\n\n\tconst _x = /*@__PURE__*/new Vector3();\n\n\tconst _y = /*@__PURE__*/new Vector3();\n\n\tconst _z = /*@__PURE__*/new Vector3();\n\n\tconst _matrix$1 = /*@__PURE__*/new Matrix4();\n\n\tconst _quaternion$3 = /*@__PURE__*/new Quaternion();\n\n\tclass Euler {\n\t\tconstructor(x = 0, y = 0, z = 0, order = Euler.DefaultOrder) {\n\t\t\tthis.isEuler = true;\n\t\t\tthis._x = x;\n\t\t\tthis._y = y;\n\t\t\tthis._z = z;\n\t\t\tthis._order = order;\n\t\t}\n\n\t\tget x() {\n\t\t\treturn this._x;\n\t\t}\n\n\t\tset x(value) {\n\t\t\tthis._x = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget y() {\n\t\t\treturn this._y;\n\t\t}\n\n\t\tset y(value) {\n\t\t\tthis._y = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget z() {\n\t\t\treturn this._z;\n\t\t}\n\n\t\tset z(value) {\n\t\t\tthis._z = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tget order() {\n\t\t\treturn this._order;\n\t\t}\n\n\t\tset order(value) {\n\t\t\tthis._order = value;\n\n\t\t\tthis._onChangeCallback();\n\t\t}\n\n\t\tset(x, y, z, order = this._order) {\n\t\t\tthis._x = x;\n\t\t\tthis._y = y;\n\t\t\tthis._z = z;\n\t\t\tthis._order = order;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this._x, this._y, this._z, this._order);\n\t\t}\n\n\t\tcopy(euler) {\n\t\t\tthis._x = euler._x;\n\t\t\tthis._y = euler._y;\n\t\t\tthis._z = euler._z;\n\t\t\tthis._order = euler._order;\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromRotationMatrix(m, order = this._order, update = true) {\n\t\t\t// assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\t\t\tconst te = m.elements;\n\t\t\tconst m11 = te[0],\n\t\t\t\t\t\tm12 = te[4],\n\t\t\t\t\t\tm13 = te[8];\n\t\t\tconst m21 = te[1],\n\t\t\t\t\t\tm22 = te[5],\n\t\t\t\t\t\tm23 = te[9];\n\t\t\tconst m31 = te[2],\n\t\t\t\t\t\tm32 = te[6],\n\t\t\t\t\t\tm33 = te[10];\n\n\t\t\tswitch (order) {\n\t\t\t\tcase 'XYZ':\n\t\t\t\t\tthis._y = Math.asin(clamp(m13, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m13) < 0.9999999) {\n\t\t\t\t\t\tthis._x = Math.atan2(-m23, m33);\n\t\t\t\t\t\tthis._z = Math.atan2(-m12, m11);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._x = Math.atan2(m32, m22);\n\t\t\t\t\t\tthis._z = 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'YXZ':\n\t\t\t\t\tthis._x = Math.asin(-clamp(m23, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m23) < 0.9999999) {\n\t\t\t\t\t\tthis._y = Math.atan2(m13, m33);\n\t\t\t\t\t\tthis._z = Math.atan2(m21, m22);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._y = Math.atan2(-m31, m11);\n\t\t\t\t\t\tthis._z = 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'ZXY':\n\t\t\t\t\tthis._x = Math.asin(clamp(m32, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m32) < 0.9999999) {\n\t\t\t\t\t\tthis._y = Math.atan2(-m31, m33);\n\t\t\t\t\t\tthis._z = Math.atan2(-m12, m22);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._y = 0;\n\t\t\t\t\t\tthis._z = Math.atan2(m21, m11);\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'ZYX':\n\t\t\t\t\tthis._y = Math.asin(-clamp(m31, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m31) < 0.9999999) {\n\t\t\t\t\t\tthis._x = Math.atan2(m32, m33);\n\t\t\t\t\t\tthis._z = Math.atan2(m21, m11);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._x = 0;\n\t\t\t\t\t\tthis._z = Math.atan2(-m12, m22);\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'YZX':\n\t\t\t\t\tthis._z = Math.asin(clamp(m21, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m21) < 0.9999999) {\n\t\t\t\t\t\tthis._x = Math.atan2(-m23, m22);\n\t\t\t\t\t\tthis._y = Math.atan2(-m31, m11);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._x = 0;\n\t\t\t\t\t\tthis._y = Math.atan2(m13, m33);\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'XZY':\n\t\t\t\t\tthis._z = Math.asin(-clamp(m12, -1, 1));\n\n\t\t\t\t\tif (Math.abs(m12) < 0.9999999) {\n\t\t\t\t\t\tthis._x = Math.atan2(m32, m22);\n\t\t\t\t\t\tthis._y = Math.atan2(m13, m11);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis._x = Math.atan2(-m23, m33);\n\t\t\t\t\t\tthis._y = 0;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tconsole.warn('THREE.Euler: .setFromRotationMatrix() encountered an unknown order: ' + order);\n\t\t\t}\n\n\t\t\tthis._order = order;\n\t\t\tif (update === true) this._onChangeCallback();\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromQuaternion(q, order, update) {\n\t\t\t_matrix$1.makeRotationFromQuaternion(q);\n\n\t\t\treturn this.setFromRotationMatrix(_matrix$1, order, update);\n\t\t}\n\n\t\tsetFromVector3(v, order = this._order) {\n\t\t\treturn this.set(v.x, v.y, v.z, order);\n\t\t}\n\n\t\treorder(newOrder) {\n\t\t\t// WARNING: this discards revolution information -bhouston\n\t\t\t_quaternion$3.setFromEuler(this);\n\n\t\t\treturn this.setFromQuaternion(_quaternion$3, newOrder);\n\t\t}\n\n\t\tequals(euler) {\n\t\t\treturn euler._x === this._x && euler._y === this._y && euler._z === this._z && euler._order === this._order;\n\t\t}\n\n\t\tfromArray(array) {\n\t\t\tthis._x = array[0];\n\t\t\tthis._y = array[1];\n\t\t\tthis._z = array[2];\n\t\t\tif (array[3] !== undefined) this._order = array[3];\n\n\t\t\tthis._onChangeCallback();\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tarray[offset] = this._x;\n\t\t\tarray[offset + 1] = this._y;\n\t\t\tarray[offset + 2] = this._z;\n\t\t\tarray[offset + 3] = this._order;\n\t\t\treturn array;\n\t\t}\n\n\t\t_onChange(callback) {\n\t\t\tthis._onChangeCallback = callback;\n\t\t\treturn this;\n\t\t}\n\n\t\t_onChangeCallback() {}\n\n\t\t*[Symbol.iterator]() {\n\t\t\tyield this._x;\n\t\t\tyield this._y;\n\t\t\tyield this._z;\n\t\t\tyield this._order;\n\t\t} // @deprecated since r138, 02cf0df1cb4575d5842fef9c85bb5a89fe020d53\n\n\n\t\ttoVector3() {\n\t\t\tconsole.error('THREE.Euler: .toVector3() has been removed. Use Vector3.setFromEuler() instead');\n\t\t}\n\n\t}\n\n\tEuler.DefaultOrder = 'XYZ';\n\tEuler.RotationOrders = ['XYZ', 'YZX', 'ZXY', 'XZY', 'YXZ', 'ZYX'];\n\n\tclass Layers {\n\t\tconstructor() {\n\t\t\tthis.mask = 1 | 0;\n\t\t}\n\n\t\tset(channel) {\n\t\t\tthis.mask = (1 << channel | 0) >>> 0;\n\t\t}\n\n\t\tenable(channel) {\n\t\t\tthis.mask |= 1 << channel | 0;\n\t\t}\n\n\t\tenableAll() {\n\t\t\tthis.mask = 0xffffffff | 0;\n\t\t}\n\n\t\ttoggle(channel) {\n\t\t\tthis.mask ^= 1 << channel | 0;\n\t\t}\n\n\t\tdisable(channel) {\n\t\t\tthis.mask &= ~(1 << channel | 0);\n\t\t}\n\n\t\tdisableAll() {\n\t\t\tthis.mask = 0;\n\t\t}\n\n\t\ttest(layers) {\n\t\t\treturn (this.mask & layers.mask) !== 0;\n\t\t}\n\n\t\tisEnabled(channel) {\n\t\t\treturn (this.mask & (1 << channel | 0)) !== 0;\n\t\t}\n\n\t}\n\n\tlet _object3DId = 0;\n\n\tconst _v1$4 = /*@__PURE__*/new Vector3();\n\n\tconst _q1 = /*@__PURE__*/new Quaternion();\n\n\tconst _m1$1 = /*@__PURE__*/new Matrix4();\n\n\tconst _target = /*@__PURE__*/new Vector3();\n\n\tconst _position$3 = /*@__PURE__*/new Vector3();\n\n\tconst _scale$2 = /*@__PURE__*/new Vector3();\n\n\tconst _quaternion$2 = /*@__PURE__*/new Quaternion();\n\n\tconst _xAxis = /*@__PURE__*/new Vector3(1, 0, 0);\n\n\tconst _yAxis = /*@__PURE__*/new Vector3(0, 1, 0);\n\n\tconst _zAxis = /*@__PURE__*/new Vector3(0, 0, 1);\n\n\tconst _addedEvent = {\n\t\ttype: 'added'\n\t};\n\tconst _removedEvent = {\n\t\ttype: 'removed'\n\t};\n\n\tclass Object3D extends EventDispatcher {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isObject3D = true;\n\t\t\tObject.defineProperty(this, 'id', {\n\t\t\t\tvalue: _object3DId++\n\t\t\t});\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.name = '';\n\t\t\tthis.type = 'Object3D';\n\t\t\tthis.parent = null;\n\t\t\tthis.children = [];\n\t\t\tthis.up = Object3D.DefaultUp.clone();\n\t\t\tconst position = new Vector3();\n\t\t\tconst rotation = new Euler();\n\t\t\tconst quaternion = new Quaternion();\n\t\t\tconst scale = new Vector3(1, 1, 1);\n\n\t\t\tfunction onRotationChange() {\n\t\t\t\tquaternion.setFromEuler(rotation, false);\n\t\t\t}\n\n\t\t\tfunction onQuaternionChange() {\n\t\t\t\trotation.setFromQuaternion(quaternion, undefined, false);\n\t\t\t}\n\n\t\t\trotation._onChange(onRotationChange);\n\n\t\t\tquaternion._onChange(onQuaternionChange);\n\n\t\t\tObject.defineProperties(this, {\n\t\t\t\tposition: {\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tvalue: position\n\t\t\t\t},\n\t\t\t\trotation: {\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tvalue: rotation\n\t\t\t\t},\n\t\t\t\tquaternion: {\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tvalue: quaternion\n\t\t\t\t},\n\t\t\t\tscale: {\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tvalue: scale\n\t\t\t\t},\n\t\t\t\tmodelViewMatrix: {\n\t\t\t\t\tvalue: new Matrix4()\n\t\t\t\t},\n\t\t\t\tnormalMatrix: {\n\t\t\t\t\tvalue: new Matrix3()\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.matrix = new Matrix4();\n\t\t\tthis.matrixWorld = new Matrix4();\n\t\t\tthis.matrixAutoUpdate = Object3D.DefaultMatrixAutoUpdate;\n\t\t\tthis.matrixWorldNeedsUpdate = false;\n\t\t\tthis.layers = new Layers();\n\t\t\tthis.visible = true;\n\t\t\tthis.castShadow = false;\n\t\t\tthis.receiveShadow = false;\n\t\t\tthis.frustumCulled = true;\n\t\t\tthis.renderOrder = 0;\n\t\t\tthis.animations = [];\n\t\t\tthis.userData = {};\n\t\t}\n\n\t\tonBeforeRender() {}\n\n\t\tonAfterRender() {}\n\n\t\tapplyMatrix4(matrix) {\n\t\t\tif (this.matrixAutoUpdate) this.updateMatrix();\n\t\t\tthis.matrix.premultiply(matrix);\n\t\t\tthis.matrix.decompose(this.position, this.quaternion, this.scale);\n\t\t}\n\n\t\tapplyQuaternion(q) {\n\t\t\tthis.quaternion.premultiply(q);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetRotationFromAxisAngle(axis, angle) {\n\t\t\t// assumes axis is normalized\n\t\t\tthis.quaternion.setFromAxisAngle(axis, angle);\n\t\t}\n\n\t\tsetRotationFromEuler(euler) {\n\t\t\tthis.quaternion.setFromEuler(euler, true);\n\t\t}\n\n\t\tsetRotationFromMatrix(m) {\n\t\t\t// assumes the upper 3x3 of m is a pure rotation matrix (i.e, unscaled)\n\t\t\tthis.quaternion.setFromRotationMatrix(m);\n\t\t}\n\n\t\tsetRotationFromQuaternion(q) {\n\t\t\t// assumes q is normalized\n\t\t\tthis.quaternion.copy(q);\n\t\t}\n\n\t\trotateOnAxis(axis, angle) {\n\t\t\t// rotate object on axis in object space\n\t\t\t// axis is assumed to be normalized\n\t\t\t_q1.setFromAxisAngle(axis, angle);\n\n\t\t\tthis.quaternion.multiply(_q1);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateOnWorldAxis(axis, angle) {\n\t\t\t// rotate object on axis in world space\n\t\t\t// axis is assumed to be normalized\n\t\t\t// method assumes no rotated parent\n\t\t\t_q1.setFromAxisAngle(axis, angle);\n\n\t\t\tthis.quaternion.premultiply(_q1);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateX(angle) {\n\t\t\treturn this.rotateOnAxis(_xAxis, angle);\n\t\t}\n\n\t\trotateY(angle) {\n\t\t\treturn this.rotateOnAxis(_yAxis, angle);\n\t\t}\n\n\t\trotateZ(angle) {\n\t\t\treturn this.rotateOnAxis(_zAxis, angle);\n\t\t}\n\n\t\ttranslateOnAxis(axis, distance) {\n\t\t\t// translate object by distance along axis in object space\n\t\t\t// axis is assumed to be normalized\n\t\t\t_v1$4.copy(axis).applyQuaternion(this.quaternion);\n\n\t\t\tthis.position.add(_v1$4.multiplyScalar(distance));\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslateX(distance) {\n\t\t\treturn this.translateOnAxis(_xAxis, distance);\n\t\t}\n\n\t\ttranslateY(distance) {\n\t\t\treturn this.translateOnAxis(_yAxis, distance);\n\t\t}\n\n\t\ttranslateZ(distance) {\n\t\t\treturn this.translateOnAxis(_zAxis, distance);\n\t\t}\n\n\t\tlocalToWorld(vector) {\n\t\t\treturn vector.applyMatrix4(this.matrixWorld);\n\t\t}\n\n\t\tworldToLocal(vector) {\n\t\t\treturn vector.applyMatrix4(_m1$1.copy(this.matrixWorld).invert());\n\t\t}\n\n\t\tlookAt(x, y, z) {\n\t\t\t// This method does not support objects having non-uniformly-scaled parent(s)\n\t\t\tif (x.isVector3) {\n\t\t\t\t_target.copy(x);\n\t\t\t} else {\n\t\t\t\t_target.set(x, y, z);\n\t\t\t}\n\n\t\t\tconst parent = this.parent;\n\t\t\tthis.updateWorldMatrix(true, false);\n\n\t\t\t_position$3.setFromMatrixPosition(this.matrixWorld);\n\n\t\t\tif (this.isCamera || this.isLight) {\n\t\t\t\t_m1$1.lookAt(_position$3, _target, this.up);\n\t\t\t} else {\n\t\t\t\t_m1$1.lookAt(_target, _position$3, this.up);\n\t\t\t}\n\n\t\t\tthis.quaternion.setFromRotationMatrix(_m1$1);\n\n\t\t\tif (parent) {\n\t\t\t\t_m1$1.extractRotation(parent.matrixWorld);\n\n\t\t\t\t_q1.setFromRotationMatrix(_m1$1);\n\n\t\t\t\tthis.quaternion.premultiply(_q1.invert());\n\t\t\t}\n\t\t}\n\n\t\tadd(object) {\n\t\t\tif (arguments.length > 1) {\n\t\t\t\tfor (let i = 0; i < arguments.length; i++) {\n\t\t\t\t\tthis.add(arguments[i]);\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tif (object === this) {\n\t\t\t\tconsole.error('THREE.Object3D.add: object can\\'t be added as a child of itself.', object);\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tif (object && object.isObject3D) {\n\t\t\t\tif (object.parent !== null) {\n\t\t\t\t\tobject.parent.remove(object);\n\t\t\t\t}\n\n\t\t\t\tobject.parent = this;\n\t\t\t\tthis.children.push(object);\n\t\t\t\tobject.dispatchEvent(_addedEvent);\n\t\t\t} else {\n\t\t\t\tconsole.error('THREE.Object3D.add: object not an instance of THREE.Object3D.', object);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tremove(object) {\n\t\t\tif (arguments.length > 1) {\n\t\t\t\tfor (let i = 0; i < arguments.length; i++) {\n\t\t\t\t\tthis.remove(arguments[i]);\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tconst index = this.children.indexOf(object);\n\n\t\t\tif (index !== -1) {\n\t\t\t\tobject.parent = null;\n\t\t\t\tthis.children.splice(index, 1);\n\t\t\t\tobject.dispatchEvent(_removedEvent);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tremoveFromParent() {\n\t\t\tconst parent = this.parent;\n\n\t\t\tif (parent !== null) {\n\t\t\t\tparent.remove(this);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclear() {\n\t\t\tfor (let i = 0; i < this.children.length; i++) {\n\t\t\t\tconst object = this.children[i];\n\t\t\t\tobject.parent = null;\n\t\t\t\tobject.dispatchEvent(_removedEvent);\n\t\t\t}\n\n\t\t\tthis.children.length = 0;\n\t\t\treturn this;\n\t\t}\n\n\t\tattach(object) {\n\t\t\t// adds object as a child of this, while maintaining the object's world transform\n\t\t\t// Note: This method does not support scene graphs having non-uniformly-scaled nodes(s)\n\t\t\tthis.updateWorldMatrix(true, false);\n\n\t\t\t_m1$1.copy(this.matrixWorld).invert();\n\n\t\t\tif (object.parent !== null) {\n\t\t\t\tobject.parent.updateWorldMatrix(true, false);\n\n\t\t\t\t_m1$1.multiply(object.parent.matrixWorld);\n\t\t\t}\n\n\t\t\tobject.applyMatrix4(_m1$1);\n\t\t\tthis.add(object);\n\t\t\tobject.updateWorldMatrix(false, true);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetObjectById(id) {\n\t\t\treturn this.getObjectByProperty('id', id);\n\t\t}\n\n\t\tgetObjectByName(name) {\n\t\t\treturn this.getObjectByProperty('name', name);\n\t\t}\n\n\t\tgetObjectByProperty(name, value) {\n\t\t\tif (this[name] === value) return this;\n\n\t\t\tfor (let i = 0, l = this.children.length; i < l; i++) {\n\t\t\t\tconst child = this.children[i];\n\t\t\t\tconst object = child.getObjectByProperty(name, value);\n\n\t\t\t\tif (object !== undefined) {\n\t\t\t\t\treturn object;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn undefined;\n\t\t}\n\n\t\tgetWorldPosition(target) {\n\t\t\tthis.updateWorldMatrix(true, false);\n\t\t\treturn target.setFromMatrixPosition(this.matrixWorld);\n\t\t}\n\n\t\tgetWorldQuaternion(target) {\n\t\t\tthis.updateWorldMatrix(true, false);\n\t\t\tthis.matrixWorld.decompose(_position$3, target, _scale$2);\n\t\t\treturn target;\n\t\t}\n\n\t\tgetWorldScale(target) {\n\t\t\tthis.updateWorldMatrix(true, false);\n\t\t\tthis.matrixWorld.decompose(_position$3, _quaternion$2, target);\n\t\t\treturn target;\n\t\t}\n\n\t\tgetWorldDirection(target) {\n\t\t\tthis.updateWorldMatrix(true, false);\n\t\t\tconst e = this.matrixWorld.elements;\n\t\t\treturn target.set(e[8], e[9], e[10]).normalize();\n\t\t}\n\n\t\traycast() {}\n\n\t\ttraverse(callback) {\n\t\t\tcallback(this);\n\t\t\tconst children = this.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tchildren[i].traverse(callback);\n\t\t\t}\n\t\t}\n\n\t\ttraverseVisible(callback) {\n\t\t\tif (this.visible === false) return;\n\t\t\tcallback(this);\n\t\t\tconst children = this.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tchildren[i].traverseVisible(callback);\n\t\t\t}\n\t\t}\n\n\t\ttraverseAncestors(callback) {\n\t\t\tconst parent = this.parent;\n\n\t\t\tif (parent !== null) {\n\t\t\t\tcallback(parent);\n\t\t\t\tparent.traverseAncestors(callback);\n\t\t\t}\n\t\t}\n\n\t\tupdateMatrix() {\n\t\t\tthis.matrix.compose(this.position, this.quaternion, this.scale);\n\t\t\tthis.matrixWorldNeedsUpdate = true;\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tif (this.matrixAutoUpdate) this.updateMatrix();\n\n\t\t\tif (this.matrixWorldNeedsUpdate || force) {\n\t\t\t\tif (this.parent === null) {\n\t\t\t\t\tthis.matrixWorld.copy(this.matrix);\n\t\t\t\t} else {\n\t\t\t\t\tthis.matrixWorld.multiplyMatrices(this.parent.matrixWorld, this.matrix);\n\t\t\t\t}\n\n\t\t\t\tthis.matrixWorldNeedsUpdate = false;\n\t\t\t\tforce = true;\n\t\t\t} // update children\n\n\n\t\t\tconst children = this.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tchildren[i].updateMatrixWorld(force);\n\t\t\t}\n\t\t}\n\n\t\tupdateWorldMatrix(updateParents, updateChildren) {\n\t\t\tconst parent = this.parent;\n\n\t\t\tif (updateParents === true && parent !== null) {\n\t\t\t\tparent.updateWorldMatrix(true, false);\n\t\t\t}\n\n\t\t\tif (this.matrixAutoUpdate) this.updateMatrix();\n\n\t\t\tif (this.parent === null) {\n\t\t\t\tthis.matrixWorld.copy(this.matrix);\n\t\t\t} else {\n\t\t\t\tthis.matrixWorld.multiplyMatrices(this.parent.matrixWorld, this.matrix);\n\t\t\t} // update children\n\n\n\t\t\tif (updateChildren === true) {\n\t\t\t\tconst children = this.children;\n\n\t\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\t\tchildren[i].updateWorldMatrix(false, true);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\t// meta is a string when called from JSON.stringify\n\t\t\tconst isRootObject = meta === undefined || typeof meta === 'string';\n\t\t\tconst output = {}; // meta is a hash used to collect geometries, materials.\n\t\t\t// not providing it implies that this is the root object\n\t\t\t// being serialized.\n\n\t\t\tif (isRootObject) {\n\t\t\t\t// initialize meta obj\n\t\t\t\tmeta = {\n\t\t\t\t\tgeometries: {},\n\t\t\t\t\tmaterials: {},\n\t\t\t\t\ttextures: {},\n\t\t\t\t\timages: {},\n\t\t\t\t\tshapes: {},\n\t\t\t\t\tskeletons: {},\n\t\t\t\t\tanimations: {},\n\t\t\t\t\tnodes: {}\n\t\t\t\t};\n\t\t\t\toutput.metadata = {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'Object',\n\t\t\t\t\tgenerator: 'Object3D.toJSON'\n\t\t\t\t};\n\t\t\t} // standard Object3D serialization\n\n\n\t\t\tconst object = {};\n\t\t\tobject.uuid = this.uuid;\n\t\t\tobject.type = this.type;\n\t\t\tif (this.name !== '') object.name = this.name;\n\t\t\tif (this.castShadow === true) object.castShadow = true;\n\t\t\tif (this.receiveShadow === true) object.receiveShadow = true;\n\t\t\tif (this.visible === false) object.visible = false;\n\t\t\tif (this.frustumCulled === false) object.frustumCulled = false;\n\t\t\tif (this.renderOrder !== 0) object.renderOrder = this.renderOrder;\n\t\t\tif (JSON.stringify(this.userData) !== '{}') object.userData = this.userData;\n\t\t\tobject.layers = this.layers.mask;\n\t\t\tobject.matrix = this.matrix.toArray();\n\t\t\tif (this.matrixAutoUpdate === false) object.matrixAutoUpdate = false; // object specific properties\n\n\t\t\tif (this.isInstancedMesh) {\n\t\t\t\tobject.type = 'InstancedMesh';\n\t\t\t\tobject.count = this.count;\n\t\t\t\tobject.instanceMatrix = this.instanceMatrix.toJSON();\n\t\t\t\tif (this.instanceColor !== null) object.instanceColor = this.instanceColor.toJSON();\n\t\t\t} //\n\n\n\t\t\tfunction serialize(library, element) {\n\t\t\t\tif (library[element.uuid] === undefined) {\n\t\t\t\t\tlibrary[element.uuid] = element.toJSON(meta);\n\t\t\t\t}\n\n\t\t\t\treturn element.uuid;\n\t\t\t}\n\n\t\t\tif (this.isScene) {\n\t\t\t\tif (this.background) {\n\t\t\t\t\tif (this.background.isColor) {\n\t\t\t\t\t\tobject.background = this.background.toJSON();\n\t\t\t\t\t} else if (this.background.isTexture) {\n\t\t\t\t\t\tobject.background = this.background.toJSON(meta).uuid;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (this.environment && this.environment.isTexture) {\n\t\t\t\t\tobject.environment = this.environment.toJSON(meta).uuid;\n\t\t\t\t}\n\t\t\t} else if (this.isMesh || this.isLine || this.isPoints) {\n\t\t\t\tobject.geometry = serialize(meta.geometries, this.geometry);\n\t\t\t\tconst parameters = this.geometry.parameters;\n\n\t\t\t\tif (parameters !== undefined && parameters.shapes !== undefined) {\n\t\t\t\t\tconst shapes = parameters.shapes;\n\n\t\t\t\t\tif (Array.isArray(shapes)) {\n\t\t\t\t\t\tfor (let i = 0, l = shapes.length; i < l; i++) {\n\t\t\t\t\t\t\tconst shape = shapes[i];\n\t\t\t\t\t\t\tserialize(meta.shapes, shape);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tserialize(meta.shapes, shapes);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.isSkinnedMesh) {\n\t\t\t\tobject.bindMode = this.bindMode;\n\t\t\t\tobject.bindMatrix = this.bindMatrix.toArray();\n\n\t\t\t\tif (this.skeleton !== undefined) {\n\t\t\t\t\tserialize(meta.skeletons, this.skeleton);\n\t\t\t\t\tobject.skeleton = this.skeleton.uuid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.material !== undefined) {\n\t\t\t\tif (Array.isArray(this.material)) {\n\t\t\t\t\tconst uuids = [];\n\n\t\t\t\t\tfor (let i = 0, l = this.material.length; i < l; i++) {\n\t\t\t\t\t\tuuids.push(serialize(meta.materials, this.material[i]));\n\t\t\t\t\t}\n\n\t\t\t\t\tobject.material = uuids;\n\t\t\t\t} else {\n\t\t\t\t\tobject.material = serialize(meta.materials, this.material);\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tif (this.children.length > 0) {\n\t\t\t\tobject.children = [];\n\n\t\t\t\tfor (let i = 0; i < this.children.length; i++) {\n\t\t\t\t\tobject.children.push(this.children[i].toJSON(meta).object);\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tif (this.animations.length > 0) {\n\t\t\t\tobject.animations = [];\n\n\t\t\t\tfor (let i = 0; i < this.animations.length; i++) {\n\t\t\t\t\tconst animation = this.animations[i];\n\t\t\t\t\tobject.animations.push(serialize(meta.animations, animation));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (isRootObject) {\n\t\t\t\tconst geometries = extractFromCache(meta.geometries);\n\t\t\t\tconst materials = extractFromCache(meta.materials);\n\t\t\t\tconst textures = extractFromCache(meta.textures);\n\t\t\t\tconst images = extractFromCache(meta.images);\n\t\t\t\tconst shapes = extractFromCache(meta.shapes);\n\t\t\t\tconst skeletons = extractFromCache(meta.skeletons);\n\t\t\t\tconst animations = extractFromCache(meta.animations);\n\t\t\t\tconst nodes = extractFromCache(meta.nodes);\n\t\t\t\tif (geometries.length > 0) output.geometries = geometries;\n\t\t\t\tif (materials.length > 0) output.materials = materials;\n\t\t\t\tif (textures.length > 0) output.textures = textures;\n\t\t\t\tif (images.length > 0) output.images = images;\n\t\t\t\tif (shapes.length > 0) output.shapes = shapes;\n\t\t\t\tif (skeletons.length > 0) output.skeletons = skeletons;\n\t\t\t\tif (animations.length > 0) output.animations = animations;\n\t\t\t\tif (nodes.length > 0) output.nodes = nodes;\n\t\t\t}\n\n\t\t\toutput.object = object;\n\t\t\treturn output; // extract data from the cache hash\n\t\t\t// remove metadata on each item\n\t\t\t// and return as array\n\n\t\t\tfunction extractFromCache(cache) {\n\t\t\t\tconst values = [];\n\n\t\t\t\tfor (const key in cache) {\n\t\t\t\t\tconst data = cache[key];\n\t\t\t\t\tdelete data.metadata;\n\t\t\t\t\tvalues.push(data);\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\n\t\tclone(recursive) {\n\t\t\treturn new this.constructor().copy(this, recursive);\n\t\t}\n\n\t\tcopy(source, recursive = true) {\n\t\t\tthis.name = source.name;\n\t\t\tthis.up.copy(source.up);\n\t\t\tthis.position.copy(source.position);\n\t\t\tthis.rotation.order = source.rotation.order;\n\t\t\tthis.quaternion.copy(source.quaternion);\n\t\t\tthis.scale.copy(source.scale);\n\t\t\tthis.matrix.copy(source.matrix);\n\t\t\tthis.matrixWorld.copy(source.matrixWorld);\n\t\t\tthis.matrixAutoUpdate = source.matrixAutoUpdate;\n\t\t\tthis.matrixWorldNeedsUpdate = source.matrixWorldNeedsUpdate;\n\t\t\tthis.layers.mask = source.layers.mask;\n\t\t\tthis.visible = source.visible;\n\t\t\tthis.castShadow = source.castShadow;\n\t\t\tthis.receiveShadow = source.receiveShadow;\n\t\t\tthis.frustumCulled = source.frustumCulled;\n\t\t\tthis.renderOrder = source.renderOrder;\n\t\t\tthis.userData = JSON.parse(JSON.stringify(source.userData));\n\n\t\t\tif (recursive === true) {\n\t\t\t\tfor (let i = 0; i < source.children.length; i++) {\n\t\t\t\t\tconst child = source.children[i];\n\t\t\t\t\tthis.add(child.clone());\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tObject3D.DefaultUp = /*@__PURE__*/new Vector3(0, 1, 0);\n\tObject3D.DefaultMatrixAutoUpdate = true;\n\n\tconst _v0$1 = /*@__PURE__*/new Vector3();\n\n\tconst _v1$3 = /*@__PURE__*/new Vector3();\n\n\tconst _v2$2 = /*@__PURE__*/new Vector3();\n\n\tconst _v3$1 = /*@__PURE__*/new Vector3();\n\n\tconst _vab = /*@__PURE__*/new Vector3();\n\n\tconst _vac = /*@__PURE__*/new Vector3();\n\n\tconst _vbc = /*@__PURE__*/new Vector3();\n\n\tconst _vap = /*@__PURE__*/new Vector3();\n\n\tconst _vbp = /*@__PURE__*/new Vector3();\n\n\tconst _vcp = /*@__PURE__*/new Vector3();\n\n\tclass Triangle {\n\t\tconstructor(a = new Vector3(), b = new Vector3(), c = new Vector3()) {\n\t\t\tthis.a = a;\n\t\t\tthis.b = b;\n\t\t\tthis.c = c;\n\t\t}\n\n\t\tstatic getNormal(a, b, c, target) {\n\t\t\ttarget.subVectors(c, b);\n\n\t\t\t_v0$1.subVectors(a, b);\n\n\t\t\ttarget.cross(_v0$1);\n\t\t\tconst targetLengthSq = target.lengthSq();\n\n\t\t\tif (targetLengthSq > 0) {\n\t\t\t\treturn target.multiplyScalar(1 / Math.sqrt(targetLengthSq));\n\t\t\t}\n\n\t\t\treturn target.set(0, 0, 0);\n\t\t} // static/instance method to calculate barycentric coordinates\n\t\t// based on: http://www.blackpawn.com/texts/pointinpoly/default.html\n\n\n\t\tstatic getBarycoord(point, a, b, c, target) {\n\t\t\t_v0$1.subVectors(c, a);\n\n\t\t\t_v1$3.subVectors(b, a);\n\n\t\t\t_v2$2.subVectors(point, a);\n\n\t\t\tconst dot00 = _v0$1.dot(_v0$1);\n\n\t\t\tconst dot01 = _v0$1.dot(_v1$3);\n\n\t\t\tconst dot02 = _v0$1.dot(_v2$2);\n\n\t\t\tconst dot11 = _v1$3.dot(_v1$3);\n\n\t\t\tconst dot12 = _v1$3.dot(_v2$2);\n\n\t\t\tconst denom = dot00 * dot11 - dot01 * dot01; // collinear or singular triangle\n\n\t\t\tif (denom === 0) {\n\t\t\t\t// arbitrary location outside of triangle?\n\t\t\t\t// not sure if this is the best idea, maybe should be returning undefined\n\t\t\t\treturn target.set(-2, -1, -1);\n\t\t\t}\n\n\t\t\tconst invDenom = 1 / denom;\n\t\t\tconst u = (dot11 * dot02 - dot01 * dot12) * invDenom;\n\t\t\tconst v = (dot00 * dot12 - dot01 * dot02) * invDenom; // barycentric coordinates must always sum to 1\n\n\t\t\treturn target.set(1 - u - v, v, u);\n\t\t}\n\n\t\tstatic containsPoint(point, a, b, c) {\n\t\t\tthis.getBarycoord(point, a, b, c, _v3$1);\n\t\t\treturn _v3$1.x >= 0 && _v3$1.y >= 0 && _v3$1.x + _v3$1.y <= 1;\n\t\t}\n\n\t\tstatic getUV(point, p1, p2, p3, uv1, uv2, uv3, target) {\n\t\t\tthis.getBarycoord(point, p1, p2, p3, _v3$1);\n\t\t\ttarget.set(0, 0);\n\t\t\ttarget.addScaledVector(uv1, _v3$1.x);\n\t\t\ttarget.addScaledVector(uv2, _v3$1.y);\n\t\t\ttarget.addScaledVector(uv3, _v3$1.z);\n\t\t\treturn target;\n\t\t}\n\n\t\tstatic isFrontFacing(a, b, c, direction) {\n\t\t\t_v0$1.subVectors(c, b);\n\n\t\t\t_v1$3.subVectors(a, b); // strictly front facing\n\n\n\t\t\treturn _v0$1.cross(_v1$3).dot(direction) < 0 ? true : false;\n\t\t}\n\n\t\tset(a, b, c) {\n\t\t\tthis.a.copy(a);\n\t\t\tthis.b.copy(b);\n\t\t\tthis.c.copy(c);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromPointsAndIndices(points, i0, i1, i2) {\n\t\t\tthis.a.copy(points[i0]);\n\t\t\tthis.b.copy(points[i1]);\n\t\t\tthis.c.copy(points[i2]);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromAttributeAndIndices(attribute, i0, i1, i2) {\n\t\t\tthis.a.fromBufferAttribute(attribute, i0);\n\t\t\tthis.b.fromBufferAttribute(attribute, i1);\n\t\t\tthis.c.fromBufferAttribute(attribute, i2);\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(triangle) {\n\t\t\tthis.a.copy(triangle.a);\n\t\t\tthis.b.copy(triangle.b);\n\t\t\tthis.c.copy(triangle.c);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetArea() {\n\t\t\t_v0$1.subVectors(this.c, this.b);\n\n\t\t\t_v1$3.subVectors(this.a, this.b);\n\n\t\t\treturn _v0$1.cross(_v1$3).length() * 0.5;\n\t\t}\n\n\t\tgetMidpoint(target) {\n\t\t\treturn target.addVectors(this.a, this.b).add(this.c).multiplyScalar(1 / 3);\n\t\t}\n\n\t\tgetNormal(target) {\n\t\t\treturn Triangle.getNormal(this.a, this.b, this.c, target);\n\t\t}\n\n\t\tgetPlane(target) {\n\t\t\treturn target.setFromCoplanarPoints(this.a, this.b, this.c);\n\t\t}\n\n\t\tgetBarycoord(point, target) {\n\t\t\treturn Triangle.getBarycoord(point, this.a, this.b, this.c, target);\n\t\t}\n\n\t\tgetUV(point, uv1, uv2, uv3, target) {\n\t\t\treturn Triangle.getUV(point, this.a, this.b, this.c, uv1, uv2, uv3, target);\n\t\t}\n\n\t\tcontainsPoint(point) {\n\t\t\treturn Triangle.containsPoint(point, this.a, this.b, this.c);\n\t\t}\n\n\t\tisFrontFacing(direction) {\n\t\t\treturn Triangle.isFrontFacing(this.a, this.b, this.c, direction);\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\treturn box.intersectsTriangle(this);\n\t\t}\n\n\t\tclosestPointToPoint(p, target) {\n\t\t\tconst a = this.a,\n\t\t\t\t\t\tb = this.b,\n\t\t\t\t\t\tc = this.c;\n\t\t\tlet v, w; // algorithm thanks to Real-Time Collision Detection by Christer Ericson,\n\t\t\t// published by Morgan Kaufmann Publishers, (c) 2005 Elsevier Inc.,\n\t\t\t// under the accompanying license; see chapter 5.1.5 for detailed explanation.\n\t\t\t// basically, we're distinguishing which of the voronoi regions of the triangle\n\t\t\t// the point lies in with the minimum amount of redundant computation.\n\n\t\t\t_vab.subVectors(b, a);\n\n\t\t\t_vac.subVectors(c, a);\n\n\t\t\t_vap.subVectors(p, a);\n\n\t\t\tconst d1 = _vab.dot(_vap);\n\n\t\t\tconst d2 = _vac.dot(_vap);\n\n\t\t\tif (d1 <= 0 && d2 <= 0) {\n\t\t\t\t// vertex region of A; barycentric coords (1, 0, 0)\n\t\t\t\treturn target.copy(a);\n\t\t\t}\n\n\t\t\t_vbp.subVectors(p, b);\n\n\t\t\tconst d3 = _vab.dot(_vbp);\n\n\t\t\tconst d4 = _vac.dot(_vbp);\n\n\t\t\tif (d3 >= 0 && d4 <= d3) {\n\t\t\t\t// vertex region of B; barycentric coords (0, 1, 0)\n\t\t\t\treturn target.copy(b);\n\t\t\t}\n\n\t\t\tconst vc = d1 * d4 - d3 * d2;\n\n\t\t\tif (vc <= 0 && d1 >= 0 && d3 <= 0) {\n\t\t\t\tv = d1 / (d1 - d3); // edge region of AB; barycentric coords (1-v, v, 0)\n\n\t\t\t\treturn target.copy(a).addScaledVector(_vab, v);\n\t\t\t}\n\n\t\t\t_vcp.subVectors(p, c);\n\n\t\t\tconst d5 = _vab.dot(_vcp);\n\n\t\t\tconst d6 = _vac.dot(_vcp);\n\n\t\t\tif (d6 >= 0 && d5 <= d6) {\n\t\t\t\t// vertex region of C; barycentric coords (0, 0, 1)\n\t\t\t\treturn target.copy(c);\n\t\t\t}\n\n\t\t\tconst vb = d5 * d2 - d1 * d6;\n\n\t\t\tif (vb <= 0 && d2 >= 0 && d6 <= 0) {\n\t\t\t\tw = d2 / (d2 - d6); // edge region of AC; barycentric coords (1-w, 0, w)\n\n\t\t\t\treturn target.copy(a).addScaledVector(_vac, w);\n\t\t\t}\n\n\t\t\tconst va = d3 * d6 - d5 * d4;\n\n\t\t\tif (va <= 0 && d4 - d3 >= 0 && d5 - d6 >= 0) {\n\t\t\t\t_vbc.subVectors(c, b);\n\n\t\t\t\tw = (d4 - d3) / (d4 - d3 + (d5 - d6)); // edge region of BC; barycentric coords (0, 1-w, w)\n\n\t\t\t\treturn target.copy(b).addScaledVector(_vbc, w); // edge region of BC\n\t\t\t} // face region\n\n\n\t\t\tconst denom = 1 / (va + vb + vc); // u = va * denom\n\n\t\t\tv = vb * denom;\n\t\t\tw = vc * denom;\n\t\t\treturn target.copy(a).addScaledVector(_vab, v).addScaledVector(_vac, w);\n\t\t}\n\n\t\tequals(triangle) {\n\t\t\treturn triangle.a.equals(this.a) && triangle.b.equals(this.b) && triangle.c.equals(this.c);\n\t\t}\n\n\t}\n\n\tlet materialId = 0;\n\n\tclass Material extends EventDispatcher {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isMaterial = true;\n\t\t\tObject.defineProperty(this, 'id', {\n\t\t\t\tvalue: materialId++\n\t\t\t});\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.name = '';\n\t\t\tthis.type = 'Material';\n\t\t\tthis.blending = NormalBlending;\n\t\t\tthis.side = FrontSide;\n\t\t\tthis.vertexColors = false;\n\t\t\tthis.opacity = 1;\n\t\t\tthis.transparent = false;\n\t\t\tthis.blendSrc = SrcAlphaFactor;\n\t\t\tthis.blendDst = OneMinusSrcAlphaFactor;\n\t\t\tthis.blendEquation = AddEquation;\n\t\t\tthis.blendSrcAlpha = null;\n\t\t\tthis.blendDstAlpha = null;\n\t\t\tthis.blendEquationAlpha = null;\n\t\t\tthis.depthFunc = LessEqualDepth;\n\t\t\tthis.depthTest = true;\n\t\t\tthis.depthWrite = true;\n\t\t\tthis.stencilWriteMask = 0xff;\n\t\t\tthis.stencilFunc = AlwaysStencilFunc;\n\t\t\tthis.stencilRef = 0;\n\t\t\tthis.stencilFuncMask = 0xff;\n\t\t\tthis.stencilFail = KeepStencilOp;\n\t\t\tthis.stencilZFail = KeepStencilOp;\n\t\t\tthis.stencilZPass = KeepStencilOp;\n\t\t\tthis.stencilWrite = false;\n\t\t\tthis.clippingPlanes = null;\n\t\t\tthis.clipIntersection = false;\n\t\t\tthis.clipShadows = false;\n\t\t\tthis.shadowSide = null;\n\t\t\tthis.colorWrite = true;\n\t\t\tthis.precision = null; // override the renderer's default precision for this material\n\n\t\t\tthis.polygonOffset = false;\n\t\t\tthis.polygonOffsetFactor = 0;\n\t\t\tthis.polygonOffsetUnits = 0;\n\t\t\tthis.dithering = false;\n\t\t\tthis.alphaToCoverage = false;\n\t\t\tthis.premultipliedAlpha = false;\n\t\t\tthis.visible = true;\n\t\t\tthis.toneMapped = true;\n\t\t\tthis.userData = {};\n\t\t\tthis.version = 0;\n\t\t\tthis._alphaTest = 0;\n\t\t}\n\n\t\tget alphaTest() {\n\t\t\treturn this._alphaTest;\n\t\t}\n\n\t\tset alphaTest(value) {\n\t\t\tif (this._alphaTest > 0 !== value > 0) {\n\t\t\t\tthis.version++;\n\t\t\t}\n\n\t\t\tthis._alphaTest = value;\n\t\t}\n\n\t\tonBuild() {}\n\n\t\tonBeforeRender() {}\n\n\t\tonBeforeCompile() {}\n\n\t\tcustomProgramCacheKey() {\n\t\t\treturn this.onBeforeCompile.toString();\n\t\t}\n\n\t\tsetValues(values) {\n\t\t\tif (values === undefined) return;\n\n\t\t\tfor (const key in values) {\n\t\t\t\tconst newValue = values[key];\n\n\t\t\t\tif (newValue === undefined) {\n\t\t\t\t\tconsole.warn('THREE.Material: \\'' + key + '\\' parameter is undefined.');\n\t\t\t\t\tcontinue;\n\t\t\t\t} // for backward compatibility if shading is set in the constructor\n\n\n\t\t\t\tif (key === 'shading') {\n\t\t\t\t\tconsole.warn('THREE.' + this.type + ': .shading has been removed. Use the boolean .flatShading instead.');\n\t\t\t\t\tthis.flatShading = newValue === FlatShading ? true : false;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tconst currentValue = this[key];\n\n\t\t\t\tif (currentValue === undefined) {\n\t\t\t\t\tconsole.warn('THREE.' + this.type + ': \\'' + key + '\\' is not a property of this material.');\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (currentValue && currentValue.isColor) {\n\t\t\t\t\tcurrentValue.set(newValue);\n\t\t\t\t} else if (currentValue && currentValue.isVector3 && newValue && newValue.isVector3) {\n\t\t\t\t\tcurrentValue.copy(newValue);\n\t\t\t\t} else {\n\t\t\t\t\tthis[key] = newValue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst isRootObject = meta === undefined || typeof meta === 'string';\n\n\t\t\tif (isRootObject) {\n\t\t\t\tmeta = {\n\t\t\t\t\ttextures: {},\n\t\t\t\t\timages: {}\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tconst data = {\n\t\t\t\tmetadata: {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'Material',\n\t\t\t\t\tgenerator: 'Material.toJSON'\n\t\t\t\t}\n\t\t\t}; // standard Material serialization\n\n\t\t\tdata.uuid = this.uuid;\n\t\t\tdata.type = this.type;\n\t\t\tif (this.name !== '') data.name = this.name;\n\t\t\tif (this.color && this.color.isColor) data.color = this.color.getHex();\n\t\t\tif (this.roughness !== undefined) data.roughness = this.roughness;\n\t\t\tif (this.metalness !== undefined) data.metalness = this.metalness;\n\t\t\tif (this.sheen !== undefined) data.sheen = this.sheen;\n\t\t\tif (this.sheenColor && this.sheenColor.isColor) data.sheenColor = this.sheenColor.getHex();\n\t\t\tif (this.sheenRoughness !== undefined) data.sheenRoughness = this.sheenRoughness;\n\t\t\tif (this.emissive && this.emissive.isColor) data.emissive = this.emissive.getHex();\n\t\t\tif (this.emissiveIntensity && this.emissiveIntensity !== 1) data.emissiveIntensity = this.emissiveIntensity;\n\t\t\tif (this.specular && this.specular.isColor) data.specular = this.specular.getHex();\n\t\t\tif (this.specularIntensity !== undefined) data.specularIntensity = this.specularIntensity;\n\t\t\tif (this.specularColor && this.specularColor.isColor) data.specularColor = this.specularColor.getHex();\n\t\t\tif (this.shininess !== undefined) data.shininess = this.shininess;\n\t\t\tif (this.clearcoat !== undefined) data.clearcoat = this.clearcoat;\n\t\t\tif (this.clearcoatRoughness !== undefined) data.clearcoatRoughness = this.clearcoatRoughness;\n\n\t\t\tif (this.clearcoatMap && this.clearcoatMap.isTexture) {\n\t\t\t\tdata.clearcoatMap = this.clearcoatMap.toJSON(meta).uuid;\n\t\t\t}\n\n\t\t\tif (this.clearcoatRoughnessMap && this.clearcoatRoughnessMap.isTexture) {\n\t\t\t\tdata.clearcoatRoughnessMap = this.clearcoatRoughnessMap.toJSON(meta).uuid;\n\t\t\t}\n\n\t\t\tif (this.clearcoatNormalMap && this.clearcoatNormalMap.isTexture) {\n\t\t\t\tdata.clearcoatNormalMap = this.clearcoatNormalMap.toJSON(meta).uuid;\n\t\t\t\tdata.clearcoatNormalScale = this.clearcoatNormalScale.toArray();\n\t\t\t}\n\n\t\t\tif (this.iridescence !== undefined) data.iridescence = this.iridescence;\n\t\t\tif (this.iridescenceIOR !== undefined) data.iridescenceIOR = this.iridescenceIOR;\n\t\t\tif (this.iridescenceThicknessRange !== undefined) data.iridescenceThicknessRange = this.iridescenceThicknessRange;\n\n\t\t\tif (this.iridescenceMap && this.iridescenceMap.isTexture) {\n\t\t\t\tdata.iridescenceMap = this.iridescenceMap.toJSON(meta).uuid;\n\t\t\t}\n\n\t\t\tif (this.iridescenceThicknessMap && this.iridescenceThicknessMap.isTexture) {\n\t\t\t\tdata.iridescenceThicknessMap = this.iridescenceThicknessMap.toJSON(meta).uuid;\n\t\t\t}\n\n\t\t\tif (this.map && this.map.isTexture) data.map = this.map.toJSON(meta).uuid;\n\t\t\tif (this.matcap && this.matcap.isTexture) data.matcap = this.matcap.toJSON(meta).uuid;\n\t\t\tif (this.alphaMap && this.alphaMap.isTexture) data.alphaMap = this.alphaMap.toJSON(meta).uuid;\n\n\t\t\tif (this.lightMap && this.lightMap.isTexture) {\n\t\t\t\tdata.lightMap = this.lightMap.toJSON(meta).uuid;\n\t\t\t\tdata.lightMapIntensity = this.lightMapIntensity;\n\t\t\t}\n\n\t\t\tif (this.aoMap && this.aoMap.isTexture) {\n\t\t\t\tdata.aoMap = this.aoMap.toJSON(meta).uuid;\n\t\t\t\tdata.aoMapIntensity = this.aoMapIntensity;\n\t\t\t}\n\n\t\t\tif (this.bumpMap && this.bumpMap.isTexture) {\n\t\t\t\tdata.bumpMap = this.bumpMap.toJSON(meta).uuid;\n\t\t\t\tdata.bumpScale = this.bumpScale;\n\t\t\t}\n\n\t\t\tif (this.normalMap && this.normalMap.isTexture) {\n\t\t\t\tdata.normalMap = this.normalMap.toJSON(meta).uuid;\n\t\t\t\tdata.normalMapType = this.normalMapType;\n\t\t\t\tdata.normalScale = this.normalScale.toArray();\n\t\t\t}\n\n\t\t\tif (this.displacementMap && this.displacementMap.isTexture) {\n\t\t\t\tdata.displacementMap = this.displacementMap.toJSON(meta).uuid;\n\t\t\t\tdata.displacementScale = this.displacementScale;\n\t\t\t\tdata.displacementBias = this.displacementBias;\n\t\t\t}\n\n\t\t\tif (this.roughnessMap && this.roughnessMap.isTexture) data.roughnessMap = this.roughnessMap.toJSON(meta).uuid;\n\t\t\tif (this.metalnessMap && this.metalnessMap.isTexture) data.metalnessMap = this.metalnessMap.toJSON(meta).uuid;\n\t\t\tif (this.emissiveMap && this.emissiveMap.isTexture) data.emissiveMap = this.emissiveMap.toJSON(meta).uuid;\n\t\t\tif (this.specularMap && this.specularMap.isTexture) data.specularMap = this.specularMap.toJSON(meta).uuid;\n\t\t\tif (this.specularIntensityMap && this.specularIntensityMap.isTexture) data.specularIntensityMap = this.specularIntensityMap.toJSON(meta).uuid;\n\t\t\tif (this.specularColorMap && this.specularColorMap.isTexture) data.specularColorMap = this.specularColorMap.toJSON(meta).uuid;\n\n\t\t\tif (this.envMap && this.envMap.isTexture) {\n\t\t\t\tdata.envMap = this.envMap.toJSON(meta).uuid;\n\t\t\t\tif (this.combine !== undefined) data.combine = this.combine;\n\t\t\t}\n\n\t\t\tif (this.envMapIntensity !== undefined) data.envMapIntensity = this.envMapIntensity;\n\t\t\tif (this.reflectivity !== undefined) data.reflectivity = this.reflectivity;\n\t\t\tif (this.refractionRatio !== undefined) data.refractionRatio = this.refractionRatio;\n\n\t\t\tif (this.gradientMap && this.gradientMap.isTexture) {\n\t\t\t\tdata.gradientMap = this.gradientMap.toJSON(meta).uuid;\n\t\t\t}\n\n\t\t\tif (this.transmission !== undefined) data.transmission = this.transmission;\n\t\t\tif (this.transmissionMap && this.transmissionMap.isTexture) data.transmissionMap = this.transmissionMap.toJSON(meta).uuid;\n\t\t\tif (this.thickness !== undefined) data.thickness = this.thickness;\n\t\t\tif (this.thicknessMap && this.thicknessMap.isTexture) data.thicknessMap = this.thicknessMap.toJSON(meta).uuid;\n\t\t\tif (this.attenuationDistance !== undefined) data.attenuationDistance = this.attenuationDistance;\n\t\t\tif (this.attenuationColor !== undefined) data.attenuationColor = this.attenuationColor.getHex();\n\t\t\tif (this.size !== undefined) data.size = this.size;\n\t\t\tif (this.shadowSide !== null) data.shadowSide = this.shadowSide;\n\t\t\tif (this.sizeAttenuation !== undefined) data.sizeAttenuation = this.sizeAttenuation;\n\t\t\tif (this.blending !== NormalBlending) data.blending = this.blending;\n\t\t\tif (this.side !== FrontSide) data.side = this.side;\n\t\t\tif (this.vertexColors) data.vertexColors = true;\n\t\t\tif (this.opacity < 1) data.opacity = this.opacity;\n\t\t\tif (this.transparent === true) data.transparent = this.transparent;\n\t\t\tdata.depthFunc = this.depthFunc;\n\t\t\tdata.depthTest = this.depthTest;\n\t\t\tdata.depthWrite = this.depthWrite;\n\t\t\tdata.colorWrite = this.colorWrite;\n\t\t\tdata.stencilWrite = this.stencilWrite;\n\t\t\tdata.stencilWriteMask = this.stencilWriteMask;\n\t\t\tdata.stencilFunc = this.stencilFunc;\n\t\t\tdata.stencilRef = this.stencilRef;\n\t\t\tdata.stencilFuncMask = this.stencilFuncMask;\n\t\t\tdata.stencilFail = this.stencilFail;\n\t\t\tdata.stencilZFail = this.stencilZFail;\n\t\t\tdata.stencilZPass = this.stencilZPass; // rotation (SpriteMaterial)\n\n\t\t\tif (this.rotation !== undefined && this.rotation !== 0) data.rotation = this.rotation;\n\t\t\tif (this.polygonOffset === true) data.polygonOffset = true;\n\t\t\tif (this.polygonOffsetFactor !== 0) data.polygonOffsetFactor = this.polygonOffsetFactor;\n\t\t\tif (this.polygonOffsetUnits !== 0) data.polygonOffsetUnits = this.polygonOffsetUnits;\n\t\t\tif (this.linewidth !== undefined && this.linewidth !== 1) data.linewidth = this.linewidth;\n\t\t\tif (this.dashSize !== undefined) data.dashSize = this.dashSize;\n\t\t\tif (this.gapSize !== undefined) data.gapSize = this.gapSize;\n\t\t\tif (this.scale !== undefined) data.scale = this.scale;\n\t\t\tif (this.dithering === true) data.dithering = true;\n\t\t\tif (this.alphaTest > 0) data.alphaTest = this.alphaTest;\n\t\t\tif (this.alphaToCoverage === true) data.alphaToCoverage = this.alphaToCoverage;\n\t\t\tif (this.premultipliedAlpha === true) data.premultipliedAlpha = this.premultipliedAlpha;\n\t\t\tif (this.wireframe === true) data.wireframe = this.wireframe;\n\t\t\tif (this.wireframeLinewidth > 1) data.wireframeLinewidth = this.wireframeLinewidth;\n\t\t\tif (this.wireframeLinecap !== 'round') data.wireframeLinecap = this.wireframeLinecap;\n\t\t\tif (this.wireframeLinejoin !== 'round') data.wireframeLinejoin = this.wireframeLinejoin;\n\t\t\tif (this.flatShading === true) data.flatShading = this.flatShading;\n\t\t\tif (this.visible === false) data.visible = false;\n\t\t\tif (this.toneMapped === false) data.toneMapped = false;\n\t\t\tif (this.fog === false) data.fog = false;\n\t\t\tif (JSON.stringify(this.userData) !== '{}') data.userData = this.userData; // TODO: Copied from Object3D.toJSON\n\n\t\t\tfunction extractFromCache(cache) {\n\t\t\t\tconst values = [];\n\n\t\t\t\tfor (const key in cache) {\n\t\t\t\t\tconst data = cache[key];\n\t\t\t\t\tdelete data.metadata;\n\t\t\t\t\tvalues.push(data);\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t}\n\n\t\t\tif (isRootObject) {\n\t\t\t\tconst textures = extractFromCache(meta.textures);\n\t\t\t\tconst images = extractFromCache(meta.images);\n\t\t\t\tif (textures.length > 0) data.textures = textures;\n\t\t\t\tif (images.length > 0) data.images = images;\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.name = source.name;\n\t\t\tthis.blending = source.blending;\n\t\t\tthis.side = source.side;\n\t\t\tthis.vertexColors = source.vertexColors;\n\t\t\tthis.opacity = source.opacity;\n\t\t\tthis.transparent = source.transparent;\n\t\t\tthis.blendSrc = source.blendSrc;\n\t\t\tthis.blendDst = source.blendDst;\n\t\t\tthis.blendEquation = source.blendEquation;\n\t\t\tthis.blendSrcAlpha = source.blendSrcAlpha;\n\t\t\tthis.blendDstAlpha = source.blendDstAlpha;\n\t\t\tthis.blendEquationAlpha = source.blendEquationAlpha;\n\t\t\tthis.depthFunc = source.depthFunc;\n\t\t\tthis.depthTest = source.depthTest;\n\t\t\tthis.depthWrite = source.depthWrite;\n\t\t\tthis.stencilWriteMask = source.stencilWriteMask;\n\t\t\tthis.stencilFunc = source.stencilFunc;\n\t\t\tthis.stencilRef = source.stencilRef;\n\t\t\tthis.stencilFuncMask = source.stencilFuncMask;\n\t\t\tthis.stencilFail = source.stencilFail;\n\t\t\tthis.stencilZFail = source.stencilZFail;\n\t\t\tthis.stencilZPass = source.stencilZPass;\n\t\t\tthis.stencilWrite = source.stencilWrite;\n\t\t\tconst srcPlanes = source.clippingPlanes;\n\t\t\tlet dstPlanes = null;\n\n\t\t\tif (srcPlanes !== null) {\n\t\t\t\tconst n = srcPlanes.length;\n\t\t\t\tdstPlanes = new Array(n);\n\n\t\t\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\t\t\tdstPlanes[i] = srcPlanes[i].clone();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.clippingPlanes = dstPlanes;\n\t\t\tthis.clipIntersection = source.clipIntersection;\n\t\t\tthis.clipShadows = source.clipShadows;\n\t\t\tthis.shadowSide = source.shadowSide;\n\t\t\tthis.colorWrite = source.colorWrite;\n\t\t\tthis.precision = source.precision;\n\t\t\tthis.polygonOffset = source.polygonOffset;\n\t\t\tthis.polygonOffsetFactor = source.polygonOffsetFactor;\n\t\t\tthis.polygonOffsetUnits = source.polygonOffsetUnits;\n\t\t\tthis.dithering = source.dithering;\n\t\t\tthis.alphaTest = source.alphaTest;\n\t\t\tthis.alphaToCoverage = source.alphaToCoverage;\n\t\t\tthis.premultipliedAlpha = source.premultipliedAlpha;\n\t\t\tthis.visible = source.visible;\n\t\t\tthis.toneMapped = source.toneMapped;\n\t\t\tthis.userData = JSON.parse(JSON.stringify(source.userData));\n\t\t\treturn this;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'dispose'\n\t\t\t});\n\t\t}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) this.version++;\n\t\t}\n\n\t}\n\n\tclass MeshBasicMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshBasicMaterial = true;\n\t\t\tthis.type = 'MeshBasicMaterial';\n\t\t\tthis.color = new Color(0xffffff); // emissive\n\n\t\t\tthis.map = null;\n\t\t\tthis.lightMap = null;\n\t\t\tthis.lightMapIntensity = 1.0;\n\t\t\tthis.aoMap = null;\n\t\t\tthis.aoMapIntensity = 1.0;\n\t\t\tthis.specularMap = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.envMap = null;\n\t\t\tthis.combine = MultiplyOperation;\n\t\t\tthis.reflectivity = 1;\n\t\t\tthis.refractionRatio = 0.98;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.wireframeLinecap = 'round';\n\t\t\tthis.wireframeLinejoin = 'round';\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.map = source.map;\n\t\t\tthis.lightMap = source.lightMap;\n\t\t\tthis.lightMapIntensity = source.lightMapIntensity;\n\t\t\tthis.aoMap = source.aoMap;\n\t\t\tthis.aoMapIntensity = source.aoMapIntensity;\n\t\t\tthis.specularMap = source.specularMap;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.envMap = source.envMap;\n\t\t\tthis.combine = source.combine;\n\t\t\tthis.reflectivity = source.reflectivity;\n\t\t\tthis.refractionRatio = source.refractionRatio;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.wireframeLinecap = source.wireframeLinecap;\n\t\t\tthis.wireframeLinejoin = source.wireframeLinejoin;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _vector$9 = /*@__PURE__*/new Vector3();\n\n\tconst _vector2$1 = /*@__PURE__*/new Vector2();\n\n\tclass BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tif (Array.isArray(array)) {\n\t\t\t\tthrow new TypeError('THREE.BufferAttribute: array should be a Typed Array.');\n\t\t\t}\n\n\t\t\tthis.isBufferAttribute = true;\n\t\t\tthis.name = '';\n\t\t\tthis.array = array;\n\t\t\tthis.itemSize = itemSize;\n\t\t\tthis.count = array !== undefined ? array.length / itemSize : 0;\n\t\t\tthis.normalized = normalized === true;\n\t\t\tthis.usage = StaticDrawUsage;\n\t\t\tthis.updateRange = {\n\t\t\t\toffset: 0,\n\t\t\t\tcount: -1\n\t\t\t};\n\t\t\tthis.version = 0;\n\t\t}\n\n\t\tonUploadCallback() {}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) this.version++;\n\t\t}\n\n\t\tsetUsage(value) {\n\t\t\tthis.usage = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.name = source.name;\n\t\t\tthis.array = new source.array.constructor(source.array);\n\t\t\tthis.itemSize = source.itemSize;\n\t\t\tthis.count = source.count;\n\t\t\tthis.normalized = source.normalized;\n\t\t\tthis.usage = source.usage;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyAt(index1, attribute, index2) {\n\t\t\tindex1 *= this.itemSize;\n\t\t\tindex2 *= attribute.itemSize;\n\n\t\t\tfor (let i = 0, l = this.itemSize; i < l; i++) {\n\t\t\t\tthis.array[index1 + i] = attribute.array[index2 + i];\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyArray(array) {\n\t\t\tthis.array.set(array);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyColorsArray(colors) {\n\t\t\tconst array = this.array;\n\t\t\tlet offset = 0;\n\n\t\t\tfor (let i = 0, l = colors.length; i < l; i++) {\n\t\t\t\tlet color = colors[i];\n\n\t\t\t\tif (color === undefined) {\n\t\t\t\t\tconsole.warn('THREE.BufferAttribute.copyColorsArray(): color is undefined', i);\n\t\t\t\t\tcolor = new Color();\n\t\t\t\t}\n\n\t\t\t\tarray[offset++] = color.r;\n\t\t\t\tarray[offset++] = color.g;\n\t\t\t\tarray[offset++] = color.b;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyVector2sArray(vectors) {\n\t\t\tconst array = this.array;\n\t\t\tlet offset = 0;\n\n\t\t\tfor (let i = 0, l = vectors.length; i < l; i++) {\n\t\t\t\tlet vector = vectors[i];\n\n\t\t\t\tif (vector === undefined) {\n\t\t\t\t\tconsole.warn('THREE.BufferAttribute.copyVector2sArray(): vector is undefined', i);\n\t\t\t\t\tvector = new Vector2();\n\t\t\t\t}\n\n\t\t\t\tarray[offset++] = vector.x;\n\t\t\t\tarray[offset++] = vector.y;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyVector3sArray(vectors) {\n\t\t\tconst array = this.array;\n\t\t\tlet offset = 0;\n\n\t\t\tfor (let i = 0, l = vectors.length; i < l; i++) {\n\t\t\t\tlet vector = vectors[i];\n\n\t\t\t\tif (vector === undefined) {\n\t\t\t\t\tconsole.warn('THREE.BufferAttribute.copyVector3sArray(): vector is undefined', i);\n\t\t\t\t\tvector = new Vector3();\n\t\t\t\t}\n\n\t\t\t\tarray[offset++] = vector.x;\n\t\t\t\tarray[offset++] = vector.y;\n\t\t\t\tarray[offset++] = vector.z;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyVector4sArray(vectors) {\n\t\t\tconst array = this.array;\n\t\t\tlet offset = 0;\n\n\t\t\tfor (let i = 0, l = vectors.length; i < l; i++) {\n\t\t\t\tlet vector = vectors[i];\n\n\t\t\t\tif (vector === undefined) {\n\t\t\t\t\tconsole.warn('THREE.BufferAttribute.copyVector4sArray(): vector is undefined', i);\n\t\t\t\t\tvector = new Vector4();\n\t\t\t\t}\n\n\t\t\t\tarray[offset++] = vector.x;\n\t\t\t\tarray[offset++] = vector.y;\n\t\t\t\tarray[offset++] = vector.z;\n\t\t\t\tarray[offset++] = vector.w;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyMatrix3(m) {\n\t\t\tif (this.itemSize === 2) {\n\t\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t\t_vector2$1.fromBufferAttribute(this, i);\n\n\t\t\t\t\t_vector2$1.applyMatrix3(m);\n\n\t\t\t\t\tthis.setXY(i, _vector2$1.x, _vector2$1.y);\n\t\t\t\t}\n\t\t\t} else if (this.itemSize === 3) {\n\t\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t\t_vector$9.fromBufferAttribute(this, i);\n\n\t\t\t\t\t_vector$9.applyMatrix3(m);\n\n\t\t\t\t\tthis.setXYZ(i, _vector$9.x, _vector$9.y, _vector$9.z);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyMatrix4(m) {\n\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t_vector$9.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$9.applyMatrix4(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$9.x, _vector$9.y, _vector$9.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyNormalMatrix(m) {\n\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t_vector$9.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$9.applyNormalMatrix(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$9.x, _vector$9.y, _vector$9.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttransformDirection(m) {\n\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t_vector$9.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$9.transformDirection(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$9.x, _vector$9.y, _vector$9.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tset(value, offset = 0) {\n\t\t\tthis.array.set(value, offset);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetX(index) {\n\t\t\treturn this.array[index * this.itemSize];\n\t\t}\n\n\t\tsetX(index, x) {\n\t\t\tthis.array[index * this.itemSize] = x;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetY(index) {\n\t\t\treturn this.array[index * this.itemSize + 1];\n\t\t}\n\n\t\tsetY(index, y) {\n\t\t\tthis.array[index * this.itemSize + 1] = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetZ(index) {\n\t\t\treturn this.array[index * this.itemSize + 2];\n\t\t}\n\n\t\tsetZ(index, z) {\n\t\t\tthis.array[index * this.itemSize + 2] = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetW(index) {\n\t\t\treturn this.array[index * this.itemSize + 3];\n\t\t}\n\n\t\tsetW(index, w) {\n\t\t\tthis.array[index * this.itemSize + 3] = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetXY(index, x, y) {\n\t\t\tindex *= this.itemSize;\n\t\t\tthis.array[index + 0] = x;\n\t\t\tthis.array[index + 1] = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetXYZ(index, x, y, z) {\n\t\t\tindex *= this.itemSize;\n\t\t\tthis.array[index + 0] = x;\n\t\t\tthis.array[index + 1] = y;\n\t\t\tthis.array[index + 2] = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetXYZW(index, x, y, z, w) {\n\t\t\tindex *= this.itemSize;\n\t\t\tthis.array[index + 0] = x;\n\t\t\tthis.array[index + 1] = y;\n\t\t\tthis.array[index + 2] = z;\n\t\t\tthis.array[index + 3] = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tonUpload(callback) {\n\t\t\tthis.onUploadCallback = callback;\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.array, this.itemSize).copy(this);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = {\n\t\t\t\titemSize: this.itemSize,\n\t\t\t\ttype: this.array.constructor.name,\n\t\t\t\tarray: Array.from(this.array),\n\t\t\t\tnormalized: this.normalized\n\t\t\t};\n\t\t\tif (this.name !== '') data.name = this.name;\n\t\t\tif (this.usage !== StaticDrawUsage) data.usage = this.usage;\n\t\t\tif (this.updateRange.offset !== 0 || this.updateRange.count !== -1) data.updateRange = this.updateRange;\n\t\t\treturn data;\n\t\t}\n\n\t} //\n\n\n\tclass Int8BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Int8Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Uint8BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Uint8Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Uint8ClampedBufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Uint8ClampedArray(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Int16BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Int16Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Uint16BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Uint16Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Int32BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Int32Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Uint32BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Uint32Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Float16BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Uint16Array(array), itemSize, normalized);\n\t\t\tthis.isFloat16BufferAttribute = true;\n\t\t}\n\n\t}\n\n\tclass Float32BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Float32Array(array), itemSize, normalized);\n\t\t}\n\n\t}\n\n\tclass Float64BufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized) {\n\t\t\tsuper(new Float64Array(array), itemSize, normalized);\n\t\t}\n\n\t} //\n\n\tlet _id$1 = 0;\n\n\tconst _m1 = /*@__PURE__*/new Matrix4();\n\n\tconst _obj = /*@__PURE__*/new Object3D();\n\n\tconst _offset = /*@__PURE__*/new Vector3();\n\n\tconst _box$1 = /*@__PURE__*/new Box3();\n\n\tconst _boxMorphTargets = /*@__PURE__*/new Box3();\n\n\tconst _vector$8 = /*@__PURE__*/new Vector3();\n\n\tclass BufferGeometry extends EventDispatcher {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isBufferGeometry = true;\n\t\t\tObject.defineProperty(this, 'id', {\n\t\t\t\tvalue: _id$1++\n\t\t\t});\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.name = '';\n\t\t\tthis.type = 'BufferGeometry';\n\t\t\tthis.index = null;\n\t\t\tthis.attributes = {};\n\t\t\tthis.morphAttributes = {};\n\t\t\tthis.morphTargetsRelative = false;\n\t\t\tthis.groups = [];\n\t\t\tthis.boundingBox = null;\n\t\t\tthis.boundingSphere = null;\n\t\t\tthis.drawRange = {\n\t\t\t\tstart: 0,\n\t\t\t\tcount: Infinity\n\t\t\t};\n\t\t\tthis.userData = {};\n\t\t}\n\n\t\tgetIndex() {\n\t\t\treturn this.index;\n\t\t}\n\n\t\tsetIndex(index) {\n\t\t\tif (Array.isArray(index)) {\n\t\t\t\tthis.index = new (arrayNeedsUint32(index) ? Uint32BufferAttribute : Uint16BufferAttribute)(index, 1);\n\t\t\t} else {\n\t\t\t\tthis.index = index;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetAttribute(name) {\n\t\t\treturn this.attributes[name];\n\t\t}\n\n\t\tsetAttribute(name, attribute) {\n\t\t\tthis.attributes[name] = attribute;\n\t\t\treturn this;\n\t\t}\n\n\t\tdeleteAttribute(name) {\n\t\t\tdelete this.attributes[name];\n\t\t\treturn this;\n\t\t}\n\n\t\thasAttribute(name) {\n\t\t\treturn this.attributes[name] !== undefined;\n\t\t}\n\n\t\taddGroup(start, count, materialIndex = 0) {\n\t\t\tthis.groups.push({\n\t\t\t\tstart: start,\n\t\t\t\tcount: count,\n\t\t\t\tmaterialIndex: materialIndex\n\t\t\t});\n\t\t}\n\n\t\tclearGroups() {\n\t\t\tthis.groups = [];\n\t\t}\n\n\t\tsetDrawRange(start, count) {\n\t\t\tthis.drawRange.start = start;\n\t\t\tthis.drawRange.count = count;\n\t\t}\n\n\t\tapplyMatrix4(matrix) {\n\t\t\tconst position = this.attributes.position;\n\n\t\t\tif (position !== undefined) {\n\t\t\t\tposition.applyMatrix4(matrix);\n\t\t\t\tposition.needsUpdate = true;\n\t\t\t}\n\n\t\t\tconst normal = this.attributes.normal;\n\n\t\t\tif (normal !== undefined) {\n\t\t\t\tconst normalMatrix = new Matrix3().getNormalMatrix(matrix);\n\t\t\t\tnormal.applyNormalMatrix(normalMatrix);\n\t\t\t\tnormal.needsUpdate = true;\n\t\t\t}\n\n\t\t\tconst tangent = this.attributes.tangent;\n\n\t\t\tif (tangent !== undefined) {\n\t\t\t\ttangent.transformDirection(matrix);\n\t\t\t\ttangent.needsUpdate = true;\n\t\t\t}\n\n\t\t\tif (this.boundingBox !== null) {\n\t\t\t\tthis.computeBoundingBox();\n\t\t\t}\n\n\t\t\tif (this.boundingSphere !== null) {\n\t\t\t\tthis.computeBoundingSphere();\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyQuaternion(q) {\n\t\t\t_m1.makeRotationFromQuaternion(q);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateX(angle) {\n\t\t\t// rotate geometry around world x-axis\n\t\t\t_m1.makeRotationX(angle);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateY(angle) {\n\t\t\t// rotate geometry around world y-axis\n\t\t\t_m1.makeRotationY(angle);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\trotateZ(angle) {\n\t\t\t// rotate geometry around world z-axis\n\t\t\t_m1.makeRotationZ(angle);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(x, y, z) {\n\t\t\t// translate geometry\n\t\t\t_m1.makeTranslation(x, y, z);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\tscale(x, y, z) {\n\t\t\t// scale geometry\n\t\t\t_m1.makeScale(x, y, z);\n\n\t\t\tthis.applyMatrix4(_m1);\n\t\t\treturn this;\n\t\t}\n\n\t\tlookAt(vector) {\n\t\t\t_obj.lookAt(vector);\n\n\t\t\t_obj.updateMatrix();\n\n\t\t\tthis.applyMatrix4(_obj.matrix);\n\t\t\treturn this;\n\t\t}\n\n\t\tcenter() {\n\t\t\tthis.computeBoundingBox();\n\t\t\tthis.boundingBox.getCenter(_offset).negate();\n\t\t\tthis.translate(_offset.x, _offset.y, _offset.z);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromPoints(points) {\n\t\t\tconst position = [];\n\n\t\t\tfor (let i = 0, l = points.length; i < l; i++) {\n\t\t\t\tconst point = points[i];\n\t\t\t\tposition.push(point.x, point.y, point.z || 0);\n\t\t\t}\n\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(position, 3));\n\t\t\treturn this;\n\t\t}\n\n\t\tcomputeBoundingBox() {\n\t\t\tif (this.boundingBox === null) {\n\t\t\t\tthis.boundingBox = new Box3();\n\t\t\t}\n\n\t\t\tconst position = this.attributes.position;\n\t\t\tconst morphAttributesPosition = this.morphAttributes.position;\n\n\t\t\tif (position && position.isGLBufferAttribute) {\n\t\t\t\tconsole.error('THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box. Alternatively set \"mesh.frustumCulled\" to \"false\".', this);\n\t\t\t\tthis.boundingBox.set(new Vector3(-Infinity, -Infinity, -Infinity), new Vector3(+Infinity, +Infinity, +Infinity));\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (position !== undefined) {\n\t\t\t\tthis.boundingBox.setFromBufferAttribute(position); // process morph attributes if present\n\n\t\t\t\tif (morphAttributesPosition) {\n\t\t\t\t\tfor (let i = 0, il = morphAttributesPosition.length; i < il; i++) {\n\t\t\t\t\t\tconst morphAttribute = morphAttributesPosition[i];\n\n\t\t\t\t\t\t_box$1.setFromBufferAttribute(morphAttribute);\n\n\t\t\t\t\t\tif (this.morphTargetsRelative) {\n\t\t\t\t\t\t\t_vector$8.addVectors(this.boundingBox.min, _box$1.min);\n\n\t\t\t\t\t\t\tthis.boundingBox.expandByPoint(_vector$8);\n\n\t\t\t\t\t\t\t_vector$8.addVectors(this.boundingBox.max, _box$1.max);\n\n\t\t\t\t\t\t\tthis.boundingBox.expandByPoint(_vector$8);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis.boundingBox.expandByPoint(_box$1.min);\n\t\t\t\t\t\t\tthis.boundingBox.expandByPoint(_box$1.max);\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\tthis.boundingBox.makeEmpty();\n\t\t\t}\n\n\t\t\tif (isNaN(this.boundingBox.min.x) || isNaN(this.boundingBox.min.y) || isNaN(this.boundingBox.min.z)) {\n\t\t\t\tconsole.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The \"position\" attribute is likely to have NaN values.', this);\n\t\t\t}\n\t\t}\n\n\t\tcomputeBoundingSphere() {\n\t\t\tif (this.boundingSphere === null) {\n\t\t\t\tthis.boundingSphere = new Sphere();\n\t\t\t}\n\n\t\t\tconst position = this.attributes.position;\n\t\t\tconst morphAttributesPosition = this.morphAttributes.position;\n\n\t\t\tif (position && position.isGLBufferAttribute) {\n\t\t\t\tconsole.error('THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere. Alternatively set \"mesh.frustumCulled\" to \"false\".', this);\n\t\t\t\tthis.boundingSphere.set(new Vector3(), Infinity);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (position) {\n\t\t\t\t// first, find the center of the bounding sphere\n\t\t\t\tconst center = this.boundingSphere.center;\n\n\t\t\t\t_box$1.setFromBufferAttribute(position); // process morph attributes if present\n\n\n\t\t\t\tif (morphAttributesPosition) {\n\t\t\t\t\tfor (let i = 0, il = morphAttributesPosition.length; i < il; i++) {\n\t\t\t\t\t\tconst morphAttribute = morphAttributesPosition[i];\n\n\t\t\t\t\t\t_boxMorphTargets.setFromBufferAttribute(morphAttribute);\n\n\t\t\t\t\t\tif (this.morphTargetsRelative) {\n\t\t\t\t\t\t\t_vector$8.addVectors(_box$1.min, _boxMorphTargets.min);\n\n\t\t\t\t\t\t\t_box$1.expandByPoint(_vector$8);\n\n\t\t\t\t\t\t\t_vector$8.addVectors(_box$1.max, _boxMorphTargets.max);\n\n\t\t\t\t\t\t\t_box$1.expandByPoint(_vector$8);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t_box$1.expandByPoint(_boxMorphTargets.min);\n\n\t\t\t\t\t\t\t_box$1.expandByPoint(_boxMorphTargets.max);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t_box$1.getCenter(center); // second, try to find a boundingSphere with a radius smaller than the\n\t\t\t\t// boundingSphere of the boundingBox: sqrt(3) smaller in the best case\n\n\n\t\t\t\tlet maxRadiusSq = 0;\n\n\t\t\t\tfor (let i = 0, il = position.count; i < il; i++) {\n\t\t\t\t\t_vector$8.fromBufferAttribute(position, i);\n\n\t\t\t\t\tmaxRadiusSq = Math.max(maxRadiusSq, center.distanceToSquared(_vector$8));\n\t\t\t\t} // process morph attributes if present\n\n\n\t\t\t\tif (morphAttributesPosition) {\n\t\t\t\t\tfor (let i = 0, il = morphAttributesPosition.length; i < il; i++) {\n\t\t\t\t\t\tconst morphAttribute = morphAttributesPosition[i];\n\t\t\t\t\t\tconst morphTargetsRelative = this.morphTargetsRelative;\n\n\t\t\t\t\t\tfor (let j = 0, jl = morphAttribute.count; j < jl; j++) {\n\t\t\t\t\t\t\t_vector$8.fromBufferAttribute(morphAttribute, j);\n\n\t\t\t\t\t\t\tif (morphTargetsRelative) {\n\t\t\t\t\t\t\t\t_offset.fromBufferAttribute(position, j);\n\n\t\t\t\t\t\t\t\t_vector$8.add(_offset);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tmaxRadiusSq = Math.max(maxRadiusSq, center.distanceToSquared(_vector$8));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.boundingSphere.radius = Math.sqrt(maxRadiusSq);\n\n\t\t\t\tif (isNaN(this.boundingSphere.radius)) {\n\t\t\t\t\tconsole.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The \"position\" attribute is likely to have NaN values.', this);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tcomputeTangents() {\n\t\t\tconst index = this.index;\n\t\t\tconst attributes = this.attributes; // based on http://www.terathon.com/code/tangent.html\n\t\t\t// (per vertex tangents)\n\n\t\t\tif (index === null || attributes.position === undefined || attributes.normal === undefined || attributes.uv === undefined) {\n\t\t\t\tconsole.error('THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst indices = index.array;\n\t\t\tconst positions = attributes.position.array;\n\t\t\tconst normals = attributes.normal.array;\n\t\t\tconst uvs = attributes.uv.array;\n\t\t\tconst nVertices = positions.length / 3;\n\n\t\t\tif (this.hasAttribute('tangent') === false) {\n\t\t\t\tthis.setAttribute('tangent', new BufferAttribute(new Float32Array(4 * nVertices), 4));\n\t\t\t}\n\n\t\t\tconst tangents = this.getAttribute('tangent').array;\n\t\t\tconst tan1 = [],\n\t\t\t\t\t\ttan2 = [];\n\n\t\t\tfor (let i = 0; i < nVertices; i++) {\n\t\t\t\ttan1[i] = new Vector3();\n\t\t\t\ttan2[i] = new Vector3();\n\t\t\t}\n\n\t\t\tconst vA = new Vector3(),\n\t\t\t\t\t\tvB = new Vector3(),\n\t\t\t\t\t\tvC = new Vector3(),\n\t\t\t\t\t\tuvA = new Vector2(),\n\t\t\t\t\t\tuvB = new Vector2(),\n\t\t\t\t\t\tuvC = new Vector2(),\n\t\t\t\t\t\tsdir = new Vector3(),\n\t\t\t\t\t\ttdir = new Vector3();\n\n\t\t\tfunction handleTriangle(a, b, c) {\n\t\t\t\tvA.fromArray(positions, a * 3);\n\t\t\t\tvB.fromArray(positions, b * 3);\n\t\t\t\tvC.fromArray(positions, c * 3);\n\t\t\t\tuvA.fromArray(uvs, a * 2);\n\t\t\t\tuvB.fromArray(uvs, b * 2);\n\t\t\t\tuvC.fromArray(uvs, c * 2);\n\t\t\t\tvB.sub(vA);\n\t\t\t\tvC.sub(vA);\n\t\t\t\tuvB.sub(uvA);\n\t\t\t\tuvC.sub(uvA);\n\t\t\t\tconst r = 1.0 / (uvB.x * uvC.y - uvC.x * uvB.y); // silently ignore degenerate uv triangles having coincident or colinear vertices\n\n\t\t\t\tif (!isFinite(r)) return;\n\t\t\t\tsdir.copy(vB).multiplyScalar(uvC.y).addScaledVector(vC, -uvB.y).multiplyScalar(r);\n\t\t\t\ttdir.copy(vC).multiplyScalar(uvB.x).addScaledVector(vB, -uvC.x).multiplyScalar(r);\n\t\t\t\ttan1[a].add(sdir);\n\t\t\t\ttan1[b].add(sdir);\n\t\t\t\ttan1[c].add(sdir);\n\t\t\t\ttan2[a].add(tdir);\n\t\t\t\ttan2[b].add(tdir);\n\t\t\t\ttan2[c].add(tdir);\n\t\t\t}\n\n\t\t\tlet groups = this.groups;\n\n\t\t\tif (groups.length === 0) {\n\t\t\t\tgroups = [{\n\t\t\t\t\tstart: 0,\n\t\t\t\t\tcount: indices.length\n\t\t\t\t}];\n\t\t\t}\n\n\t\t\tfor (let i = 0, il = groups.length; i < il; ++i) {\n\t\t\t\tconst group = groups[i];\n\t\t\t\tconst start = group.start;\n\t\t\t\tconst count = group.count;\n\n\t\t\t\tfor (let j = start, jl = start + count; j < jl; j += 3) {\n\t\t\t\t\thandleTriangle(indices[j + 0], indices[j + 1], indices[j + 2]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst tmp = new Vector3(),\n\t\t\t\t\t\ttmp2 = new Vector3();\n\t\t\tconst n = new Vector3(),\n\t\t\t\t\t\tn2 = new Vector3();\n\n\t\t\tfunction handleVertex(v) {\n\t\t\t\tn.fromArray(normals, v * 3);\n\t\t\t\tn2.copy(n);\n\t\t\t\tconst t = tan1[v]; // Gram-Schmidt orthogonalize\n\n\t\t\t\ttmp.copy(t);\n\t\t\t\ttmp.sub(n.multiplyScalar(n.dot(t))).normalize(); // Calculate handedness\n\n\t\t\t\ttmp2.crossVectors(n2, t);\n\t\t\t\tconst test = tmp2.dot(tan2[v]);\n\t\t\t\tconst w = test < 0.0 ? -1.0 : 1.0;\n\t\t\t\ttangents[v * 4] = tmp.x;\n\t\t\t\ttangents[v * 4 + 1] = tmp.y;\n\t\t\t\ttangents[v * 4 + 2] = tmp.z;\n\t\t\t\ttangents[v * 4 + 3] = w;\n\t\t\t}\n\n\t\t\tfor (let i = 0, il = groups.length; i < il; ++i) {\n\t\t\t\tconst group = groups[i];\n\t\t\t\tconst start = group.start;\n\t\t\t\tconst count = group.count;\n\n\t\t\t\tfor (let j = start, jl = start + count; j < jl; j += 3) {\n\t\t\t\t\thandleVertex(indices[j + 0]);\n\t\t\t\t\thandleVertex(indices[j + 1]);\n\t\t\t\t\thandleVertex(indices[j + 2]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tcomputeVertexNormals() {\n\t\t\tconst index = this.index;\n\t\t\tconst positionAttribute = this.getAttribute('position');\n\n\t\t\tif (positionAttribute !== undefined) {\n\t\t\t\tlet normalAttribute = this.getAttribute('normal');\n\n\t\t\t\tif (normalAttribute === undefined) {\n\t\t\t\t\tnormalAttribute = new BufferAttribute(new Float32Array(positionAttribute.count * 3), 3);\n\t\t\t\t\tthis.setAttribute('normal', normalAttribute);\n\t\t\t\t} else {\n\t\t\t\t\t// reset existing normals to zero\n\t\t\t\t\tfor (let i = 0, il = normalAttribute.count; i < il; i++) {\n\t\t\t\t\t\tnormalAttribute.setXYZ(i, 0, 0, 0);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst pA = new Vector3(),\n\t\t\t\t\t\t\tpB = new Vector3(),\n\t\t\t\t\t\t\tpC = new Vector3();\n\t\t\t\tconst nA = new Vector3(),\n\t\t\t\t\t\t\tnB = new Vector3(),\n\t\t\t\t\t\t\tnC = new Vector3();\n\t\t\t\tconst cb = new Vector3(),\n\t\t\t\t\t\t\tab = new Vector3(); // indexed elements\n\n\t\t\t\tif (index) {\n\t\t\t\t\tfor (let i = 0, il = index.count; i < il; i += 3) {\n\t\t\t\t\t\tconst vA = index.getX(i + 0);\n\t\t\t\t\t\tconst vB = index.getX(i + 1);\n\t\t\t\t\t\tconst vC = index.getX(i + 2);\n\t\t\t\t\t\tpA.fromBufferAttribute(positionAttribute, vA);\n\t\t\t\t\t\tpB.fromBufferAttribute(positionAttribute, vB);\n\t\t\t\t\t\tpC.fromBufferAttribute(positionAttribute, vC);\n\t\t\t\t\t\tcb.subVectors(pC, pB);\n\t\t\t\t\t\tab.subVectors(pA, pB);\n\t\t\t\t\t\tcb.cross(ab);\n\t\t\t\t\t\tnA.fromBufferAttribute(normalAttribute, vA);\n\t\t\t\t\t\tnB.fromBufferAttribute(normalAttribute, vB);\n\t\t\t\t\t\tnC.fromBufferAttribute(normalAttribute, vC);\n\t\t\t\t\t\tnA.add(cb);\n\t\t\t\t\t\tnB.add(cb);\n\t\t\t\t\t\tnC.add(cb);\n\t\t\t\t\t\tnormalAttribute.setXYZ(vA, nA.x, nA.y, nA.z);\n\t\t\t\t\t\tnormalAttribute.setXYZ(vB, nB.x, nB.y, nB.z);\n\t\t\t\t\t\tnormalAttribute.setXYZ(vC, nC.x, nC.y, nC.z);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t// non-indexed elements (unconnected triangle soup)\n\t\t\t\t\tfor (let i = 0, il = positionAttribute.count; i < il; i += 3) {\n\t\t\t\t\t\tpA.fromBufferAttribute(positionAttribute, i + 0);\n\t\t\t\t\t\tpB.fromBufferAttribute(positionAttribute, i + 1);\n\t\t\t\t\t\tpC.fromBufferAttribute(positionAttribute, i + 2);\n\t\t\t\t\t\tcb.subVectors(pC, pB);\n\t\t\t\t\t\tab.subVectors(pA, pB);\n\t\t\t\t\t\tcb.cross(ab);\n\t\t\t\t\t\tnormalAttribute.setXYZ(i + 0, cb.x, cb.y, cb.z);\n\t\t\t\t\t\tnormalAttribute.setXYZ(i + 1, cb.x, cb.y, cb.z);\n\t\t\t\t\t\tnormalAttribute.setXYZ(i + 2, cb.x, cb.y, cb.z);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.normalizeNormals();\n\t\t\t\tnormalAttribute.needsUpdate = true;\n\t\t\t}\n\t\t}\n\n\t\tmerge(geometry, offset) {\n\t\t\tif (!(geometry && geometry.isBufferGeometry)) {\n\t\t\t\tconsole.error('THREE.BufferGeometry.merge(): geometry not an instance of THREE.BufferGeometry.', geometry);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (offset === undefined) {\n\t\t\t\toffset = 0;\n\t\t\t\tconsole.warn('THREE.BufferGeometry.merge(): Overwriting original geometry, starting at offset=0. ' + 'Use BufferGeometryUtils.mergeBufferGeometries() for lossless merge.');\n\t\t\t}\n\n\t\t\tconst attributes = this.attributes;\n\n\t\t\tfor (const key in attributes) {\n\t\t\t\tif (geometry.attributes[key] === undefined) continue;\n\t\t\t\tconst attribute1 = attributes[key];\n\t\t\t\tconst attributeArray1 = attribute1.array;\n\t\t\t\tconst attribute2 = geometry.attributes[key];\n\t\t\t\tconst attributeArray2 = attribute2.array;\n\t\t\t\tconst attributeOffset = attribute2.itemSize * offset;\n\t\t\t\tconst length = Math.min(attributeArray2.length, attributeArray1.length - attributeOffset);\n\n\t\t\t\tfor (let i = 0, j = attributeOffset; i < length; i++, j++) {\n\t\t\t\t\tattributeArray1[j] = attributeArray2[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tnormalizeNormals() {\n\t\t\tconst normals = this.attributes.normal;\n\n\t\t\tfor (let i = 0, il = normals.count; i < il; i++) {\n\t\t\t\t_vector$8.fromBufferAttribute(normals, i);\n\n\t\t\t\t_vector$8.normalize();\n\n\t\t\t\tnormals.setXYZ(i, _vector$8.x, _vector$8.y, _vector$8.z);\n\t\t\t}\n\t\t}\n\n\t\ttoNonIndexed() {\n\t\t\tfunction convertBufferAttribute(attribute, indices) {\n\t\t\t\tconst array = attribute.array;\n\t\t\t\tconst itemSize = attribute.itemSize;\n\t\t\t\tconst normalized = attribute.normalized;\n\t\t\t\tconst array2 = new array.constructor(indices.length * itemSize);\n\t\t\t\tlet index = 0,\n\t\t\t\t\t\tindex2 = 0;\n\n\t\t\t\tfor (let i = 0, l = indices.length; i < l; i++) {\n\t\t\t\t\tif (attribute.isInterleavedBufferAttribute) {\n\t\t\t\t\t\tindex = indices[i] * attribute.data.stride + attribute.offset;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tindex = indices[i] * itemSize;\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let j = 0; j < itemSize; j++) {\n\t\t\t\t\t\tarray2[index2++] = array[index++];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn new BufferAttribute(array2, itemSize, normalized);\n\t\t\t} //\n\n\n\t\t\tif (this.index === null) {\n\t\t\t\tconsole.warn('THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed.');\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tconst geometry2 = new BufferGeometry();\n\t\t\tconst indices = this.index.array;\n\t\t\tconst attributes = this.attributes; // attributes\n\n\t\t\tfor (const name in attributes) {\n\t\t\t\tconst attribute = attributes[name];\n\t\t\t\tconst newAttribute = convertBufferAttribute(attribute, indices);\n\t\t\t\tgeometry2.setAttribute(name, newAttribute);\n\t\t\t} // morph attributes\n\n\n\t\t\tconst morphAttributes = this.morphAttributes;\n\n\t\t\tfor (const name in morphAttributes) {\n\t\t\t\tconst morphArray = [];\n\t\t\t\tconst morphAttribute = morphAttributes[name]; // morphAttribute: array of Float32BufferAttributes\n\n\t\t\t\tfor (let i = 0, il = morphAttribute.length; i < il; i++) {\n\t\t\t\t\tconst attribute = morphAttribute[i];\n\t\t\t\t\tconst newAttribute = convertBufferAttribute(attribute, indices);\n\t\t\t\t\tmorphArray.push(newAttribute);\n\t\t\t\t}\n\n\t\t\t\tgeometry2.morphAttributes[name] = morphArray;\n\t\t\t}\n\n\t\t\tgeometry2.morphTargetsRelative = this.morphTargetsRelative; // groups\n\n\t\t\tconst groups = this.groups;\n\n\t\t\tfor (let i = 0, l = groups.length; i < l; i++) {\n\t\t\t\tconst group = groups[i];\n\t\t\t\tgeometry2.addGroup(group.start, group.count, group.materialIndex);\n\t\t\t}\n\n\t\t\treturn geometry2;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = {\n\t\t\t\tmetadata: {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'BufferGeometry',\n\t\t\t\t\tgenerator: 'BufferGeometry.toJSON'\n\t\t\t\t}\n\t\t\t}; // standard BufferGeometry serialization\n\n\t\t\tdata.uuid = this.uuid;\n\t\t\tdata.type = this.type;\n\t\t\tif (this.name !== '') data.name = this.name;\n\t\t\tif (Object.keys(this.userData).length > 0) data.userData = this.userData;\n\n\t\t\tif (this.parameters !== undefined) {\n\t\t\t\tconst parameters = this.parameters;\n\n\t\t\t\tfor (const key in parameters) {\n\t\t\t\t\tif (parameters[key] !== undefined) data[key] = parameters[key];\n\t\t\t\t}\n\n\t\t\t\treturn data;\n\t\t\t} // for simplicity the code assumes attributes are not shared across geometries, see #15811\n\n\n\t\t\tdata.data = {\n\t\t\t\tattributes: {}\n\t\t\t};\n\t\t\tconst index = this.index;\n\n\t\t\tif (index !== null) {\n\t\t\t\tdata.data.index = {\n\t\t\t\t\ttype: index.array.constructor.name,\n\t\t\t\t\tarray: Array.prototype.slice.call(index.array)\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tconst attributes = this.attributes;\n\n\t\t\tfor (const key in attributes) {\n\t\t\t\tconst attribute = attributes[key];\n\t\t\t\tdata.data.attributes[key] = attribute.toJSON(data.data);\n\t\t\t}\n\n\t\t\tconst morphAttributes = {};\n\t\t\tlet hasMorphAttributes = false;\n\n\t\t\tfor (const key in this.morphAttributes) {\n\t\t\t\tconst attributeArray = this.morphAttributes[key];\n\t\t\t\tconst array = [];\n\n\t\t\t\tfor (let i = 0, il = attributeArray.length; i < il; i++) {\n\t\t\t\t\tconst attribute = attributeArray[i];\n\t\t\t\t\tarray.push(attribute.toJSON(data.data));\n\t\t\t\t}\n\n\t\t\t\tif (array.length > 0) {\n\t\t\t\t\tmorphAttributes[key] = array;\n\t\t\t\t\thasMorphAttributes = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (hasMorphAttributes) {\n\t\t\t\tdata.data.morphAttributes = morphAttributes;\n\t\t\t\tdata.data.morphTargetsRelative = this.morphTargetsRelative;\n\t\t\t}\n\n\t\t\tconst groups = this.groups;\n\n\t\t\tif (groups.length > 0) {\n\t\t\t\tdata.data.groups = JSON.parse(JSON.stringify(groups));\n\t\t\t}\n\n\t\t\tconst boundingSphere = this.boundingSphere;\n\n\t\t\tif (boundingSphere !== null) {\n\t\t\t\tdata.data.boundingSphere = {\n\t\t\t\t\tcenter: boundingSphere.center.toArray(),\n\t\t\t\t\tradius: boundingSphere.radius\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\t// reset\n\t\t\tthis.index = null;\n\t\t\tthis.attributes = {};\n\t\t\tthis.morphAttributes = {};\n\t\t\tthis.groups = [];\n\t\t\tthis.boundingBox = null;\n\t\t\tthis.boundingSphere = null; // used for storing cloned, shared data\n\n\t\t\tconst data = {}; // name\n\n\t\t\tthis.name = source.name; // index\n\n\t\t\tconst index = source.index;\n\n\t\t\tif (index !== null) {\n\t\t\t\tthis.setIndex(index.clone(data));\n\t\t\t} // attributes\n\n\n\t\t\tconst attributes = source.attributes;\n\n\t\t\tfor (const name in attributes) {\n\t\t\t\tconst attribute = attributes[name];\n\t\t\t\tthis.setAttribute(name, attribute.clone(data));\n\t\t\t} // morph attributes\n\n\n\t\t\tconst morphAttributes = source.morphAttributes;\n\n\t\t\tfor (const name in morphAttributes) {\n\t\t\t\tconst array = [];\n\t\t\t\tconst morphAttribute = morphAttributes[name]; // morphAttribute: array of Float32BufferAttributes\n\n\t\t\t\tfor (let i = 0, l = morphAttribute.length; i < l; i++) {\n\t\t\t\t\tarray.push(morphAttribute[i].clone(data));\n\t\t\t\t}\n\n\t\t\t\tthis.morphAttributes[name] = array;\n\t\t\t}\n\n\t\t\tthis.morphTargetsRelative = source.morphTargetsRelative; // groups\n\n\t\t\tconst groups = source.groups;\n\n\t\t\tfor (let i = 0, l = groups.length; i < l; i++) {\n\t\t\t\tconst group = groups[i];\n\t\t\t\tthis.addGroup(group.start, group.count, group.materialIndex);\n\t\t\t} // bounding box\n\n\n\t\t\tconst boundingBox = source.boundingBox;\n\n\t\t\tif (boundingBox !== null) {\n\t\t\t\tthis.boundingBox = boundingBox.clone();\n\t\t\t} // bounding sphere\n\n\n\t\t\tconst boundingSphere = source.boundingSphere;\n\n\t\t\tif (boundingSphere !== null) {\n\t\t\t\tthis.boundingSphere = boundingSphere.clone();\n\t\t\t} // draw range\n\n\n\t\t\tthis.drawRange.start = source.drawRange.start;\n\t\t\tthis.drawRange.count = source.drawRange.count; // user data\n\n\t\t\tthis.userData = source.userData; // geometry generator parameters\n\n\t\t\tif (source.parameters !== undefined) this.parameters = Object.assign({}, source.parameters);\n\t\t\treturn this;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'dispose'\n\t\t\t});\n\t\t}\n\n\t}\n\n\tconst _inverseMatrix$2 = /*@__PURE__*/new Matrix4();\n\n\tconst _ray$2 = /*@__PURE__*/new Ray();\n\n\tconst _sphere$3 = /*@__PURE__*/new Sphere();\n\n\tconst _vA$1 = /*@__PURE__*/new Vector3();\n\n\tconst _vB$1 = /*@__PURE__*/new Vector3();\n\n\tconst _vC$1 = /*@__PURE__*/new Vector3();\n\n\tconst _tempA = /*@__PURE__*/new Vector3();\n\n\tconst _tempB = /*@__PURE__*/new Vector3();\n\n\tconst _tempC = /*@__PURE__*/new Vector3();\n\n\tconst _morphA = /*@__PURE__*/new Vector3();\n\n\tconst _morphB = /*@__PURE__*/new Vector3();\n\n\tconst _morphC = /*@__PURE__*/new Vector3();\n\n\tconst _uvA$1 = /*@__PURE__*/new Vector2();\n\n\tconst _uvB$1 = /*@__PURE__*/new Vector2();\n\n\tconst _uvC$1 = /*@__PURE__*/new Vector2();\n\n\tconst _intersectionPoint = /*@__PURE__*/new Vector3();\n\n\tconst _intersectionPointWorld = /*@__PURE__*/new Vector3();\n\n\tclass Mesh extends Object3D {\n\t\tconstructor(geometry = new BufferGeometry(), material = new MeshBasicMaterial()) {\n\t\t\tsuper();\n\t\t\tthis.isMesh = true;\n\t\t\tthis.type = 'Mesh';\n\t\t\tthis.geometry = geometry;\n\t\t\tthis.material = material;\n\t\t\tthis.updateMorphTargets();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\n\t\t\tif (source.morphTargetInfluences !== undefined) {\n\t\t\t\tthis.morphTargetInfluences = source.morphTargetInfluences.slice();\n\t\t\t}\n\n\t\t\tif (source.morphTargetDictionary !== undefined) {\n\t\t\t\tthis.morphTargetDictionary = Object.assign({}, source.morphTargetDictionary);\n\t\t\t}\n\n\t\t\tthis.material = source.material;\n\t\t\tthis.geometry = source.geometry;\n\t\t\treturn this;\n\t\t}\n\n\t\tupdateMorphTargets() {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst morphAttributes = geometry.morphAttributes;\n\t\t\tconst keys = Object.keys(morphAttributes);\n\n\t\t\tif (keys.length > 0) {\n\t\t\t\tconst morphAttribute = morphAttributes[keys[0]];\n\n\t\t\t\tif (morphAttribute !== undefined) {\n\t\t\t\t\tthis.morphTargetInfluences = [];\n\t\t\t\t\tthis.morphTargetDictionary = {};\n\n\t\t\t\t\tfor (let m = 0, ml = morphAttribute.length; m < ml; m++) {\n\t\t\t\t\t\tconst name = morphAttribute[m].name || String(m);\n\t\t\t\t\t\tthis.morphTargetInfluences.push(0);\n\t\t\t\t\t\tthis.morphTargetDictionary[name] = m;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst material = this.material;\n\t\t\tconst matrixWorld = this.matrixWorld;\n\t\t\tif (material === undefined) return; // Checking boundingSphere distance to ray\n\n\t\t\tif (geometry.boundingSphere === null) geometry.computeBoundingSphere();\n\n\t\t\t_sphere$3.copy(geometry.boundingSphere);\n\n\t\t\t_sphere$3.applyMatrix4(matrixWorld);\n\n\t\t\tif (raycaster.ray.intersectsSphere(_sphere$3) === false) return; //\n\n\t\t\t_inverseMatrix$2.copy(matrixWorld).invert();\n\n\t\t\t_ray$2.copy(raycaster.ray).applyMatrix4(_inverseMatrix$2); // Check boundingBox before continuing\n\n\n\t\t\tif (geometry.boundingBox !== null) {\n\t\t\t\tif (_ray$2.intersectsBox(geometry.boundingBox) === false) return;\n\t\t\t}\n\n\t\t\tlet intersection;\n\t\t\tconst index = geometry.index;\n\t\t\tconst position = geometry.attributes.position;\n\t\t\tconst morphPosition = geometry.morphAttributes.position;\n\t\t\tconst morphTargetsRelative = geometry.morphTargetsRelative;\n\t\t\tconst uv = geometry.attributes.uv;\n\t\t\tconst uv2 = geometry.attributes.uv2;\n\t\t\tconst groups = geometry.groups;\n\t\t\tconst drawRange = geometry.drawRange;\n\n\t\t\tif (index !== null) {\n\t\t\t\t// indexed buffer geometry\n\t\t\t\tif (Array.isArray(material)) {\n\t\t\t\t\tfor (let i = 0, il = groups.length; i < il; i++) {\n\t\t\t\t\t\tconst group = groups[i];\n\t\t\t\t\t\tconst groupMaterial = material[group.materialIndex];\n\t\t\t\t\t\tconst start = Math.max(group.start, drawRange.start);\n\t\t\t\t\t\tconst end = Math.min(index.count, Math.min(group.start + group.count, drawRange.start + drawRange.count));\n\n\t\t\t\t\t\tfor (let j = start, jl = end; j < jl; j += 3) {\n\t\t\t\t\t\t\tconst a = index.getX(j);\n\t\t\t\t\t\t\tconst b = index.getX(j + 1);\n\t\t\t\t\t\t\tconst c = index.getX(j + 2);\n\t\t\t\t\t\t\tintersection = checkBufferGeometryIntersection(this, groupMaterial, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);\n\n\t\t\t\t\t\t\tif (intersection) {\n\t\t\t\t\t\t\t\tintersection.faceIndex = Math.floor(j / 3); // triangle number in indexed buffer semantics\n\n\t\t\t\t\t\t\t\tintersection.face.materialIndex = group.materialIndex;\n\t\t\t\t\t\t\t\tintersects.push(intersection);\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} else {\n\t\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\t\tconst end = Math.min(index.count, drawRange.start + drawRange.count);\n\n\t\t\t\t\tfor (let i = start, il = end; i < il; i += 3) {\n\t\t\t\t\t\tconst a = index.getX(i);\n\t\t\t\t\t\tconst b = index.getX(i + 1);\n\t\t\t\t\t\tconst c = index.getX(i + 2);\n\t\t\t\t\t\tintersection = checkBufferGeometryIntersection(this, material, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);\n\n\t\t\t\t\t\tif (intersection) {\n\t\t\t\t\t\t\tintersection.faceIndex = Math.floor(i / 3); // triangle number in indexed buffer semantics\n\n\t\t\t\t\t\t\tintersects.push(intersection);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (position !== undefined) {\n\t\t\t\t// non-indexed buffer geometry\n\t\t\t\tif (Array.isArray(material)) {\n\t\t\t\t\tfor (let i = 0, il = groups.length; i < il; i++) {\n\t\t\t\t\t\tconst group = groups[i];\n\t\t\t\t\t\tconst groupMaterial = material[group.materialIndex];\n\t\t\t\t\t\tconst start = Math.max(group.start, drawRange.start);\n\t\t\t\t\t\tconst end = Math.min(position.count, Math.min(group.start + group.count, drawRange.start + drawRange.count));\n\n\t\t\t\t\t\tfor (let j = start, jl = end; j < jl; j += 3) {\n\t\t\t\t\t\t\tconst a = j;\n\t\t\t\t\t\t\tconst b = j + 1;\n\t\t\t\t\t\t\tconst c = j + 2;\n\t\t\t\t\t\t\tintersection = checkBufferGeometryIntersection(this, groupMaterial, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);\n\n\t\t\t\t\t\t\tif (intersection) {\n\t\t\t\t\t\t\t\tintersection.faceIndex = Math.floor(j / 3); // triangle number in non-indexed buffer semantics\n\n\t\t\t\t\t\t\t\tintersection.face.materialIndex = group.materialIndex;\n\t\t\t\t\t\t\t\tintersects.push(intersection);\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} else {\n\t\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\t\tconst end = Math.min(position.count, drawRange.start + drawRange.count);\n\n\t\t\t\t\tfor (let i = start, il = end; i < il; i += 3) {\n\t\t\t\t\t\tconst a = i;\n\t\t\t\t\t\tconst b = i + 1;\n\t\t\t\t\t\tconst c = i + 2;\n\t\t\t\t\t\tintersection = checkBufferGeometryIntersection(this, material, raycaster, _ray$2, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c);\n\n\t\t\t\t\t\tif (intersection) {\n\t\t\t\t\t\t\tintersection.faceIndex = Math.floor(i / 3); // triangle number in non-indexed buffer semantics\n\n\t\t\t\t\t\t\tintersects.push(intersection);\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}\n\n\tfunction checkIntersection(object, material, raycaster, ray, pA, pB, pC, point) {\n\t\tlet intersect;\n\n\t\tif (material.side === BackSide) {\n\t\t\tintersect = ray.intersectTriangle(pC, pB, pA, true, point);\n\t\t} else {\n\t\t\tintersect = ray.intersectTriangle(pA, pB, pC, material.side !== DoubleSide, point);\n\t\t}\n\n\t\tif (intersect === null) return null;\n\n\t\t_intersectionPointWorld.copy(point);\n\n\t\t_intersectionPointWorld.applyMatrix4(object.matrixWorld);\n\n\t\tconst distance = raycaster.ray.origin.distanceTo(_intersectionPointWorld);\n\t\tif (distance < raycaster.near || distance > raycaster.far) return null;\n\t\treturn {\n\t\t\tdistance: distance,\n\t\t\tpoint: _intersectionPointWorld.clone(),\n\t\t\tobject: object\n\t\t};\n\t}\n\n\tfunction checkBufferGeometryIntersection(object, material, raycaster, ray, position, morphPosition, morphTargetsRelative, uv, uv2, a, b, c) {\n\t\t_vA$1.fromBufferAttribute(position, a);\n\n\t\t_vB$1.fromBufferAttribute(position, b);\n\n\t\t_vC$1.fromBufferAttribute(position, c);\n\n\t\tconst morphInfluences = object.morphTargetInfluences;\n\n\t\tif (morphPosition && morphInfluences) {\n\t\t\t_morphA.set(0, 0, 0);\n\n\t\t\t_morphB.set(0, 0, 0);\n\n\t\t\t_morphC.set(0, 0, 0);\n\n\t\t\tfor (let i = 0, il = morphPosition.length; i < il; i++) {\n\t\t\t\tconst influence = morphInfluences[i];\n\t\t\t\tconst morphAttribute = morphPosition[i];\n\t\t\t\tif (influence === 0) continue;\n\n\t\t\t\t_tempA.fromBufferAttribute(morphAttribute, a);\n\n\t\t\t\t_tempB.fromBufferAttribute(morphAttribute, b);\n\n\t\t\t\t_tempC.fromBufferAttribute(morphAttribute, c);\n\n\t\t\t\tif (morphTargetsRelative) {\n\t\t\t\t\t_morphA.addScaledVector(_tempA, influence);\n\n\t\t\t\t\t_morphB.addScaledVector(_tempB, influence);\n\n\t\t\t\t\t_morphC.addScaledVector(_tempC, influence);\n\t\t\t\t} else {\n\t\t\t\t\t_morphA.addScaledVector(_tempA.sub(_vA$1), influence);\n\n\t\t\t\t\t_morphB.addScaledVector(_tempB.sub(_vB$1), influence);\n\n\t\t\t\t\t_morphC.addScaledVector(_tempC.sub(_vC$1), influence);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t_vA$1.add(_morphA);\n\n\t\t\t_vB$1.add(_morphB);\n\n\t\t\t_vC$1.add(_morphC);\n\t\t}\n\n\t\tif (object.isSkinnedMesh) {\n\t\t\tobject.boneTransform(a, _vA$1);\n\t\t\tobject.boneTransform(b, _vB$1);\n\t\t\tobject.boneTransform(c, _vC$1);\n\t\t}\n\n\t\tconst intersection = checkIntersection(object, material, raycaster, ray, _vA$1, _vB$1, _vC$1, _intersectionPoint);\n\n\t\tif (intersection) {\n\t\t\tif (uv) {\n\t\t\t\t_uvA$1.fromBufferAttribute(uv, a);\n\n\t\t\t\t_uvB$1.fromBufferAttribute(uv, b);\n\n\t\t\t\t_uvC$1.fromBufferAttribute(uv, c);\n\n\t\t\t\tintersection.uv = Triangle.getUV(_intersectionPoint, _vA$1, _vB$1, _vC$1, _uvA$1, _uvB$1, _uvC$1, new Vector2());\n\t\t\t}\n\n\t\t\tif (uv2) {\n\t\t\t\t_uvA$1.fromBufferAttribute(uv2, a);\n\n\t\t\t\t_uvB$1.fromBufferAttribute(uv2, b);\n\n\t\t\t\t_uvC$1.fromBufferAttribute(uv2, c);\n\n\t\t\t\tintersection.uv2 = Triangle.getUV(_intersectionPoint, _vA$1, _vB$1, _vC$1, _uvA$1, _uvB$1, _uvC$1, new Vector2());\n\t\t\t}\n\n\t\t\tconst face = {\n\t\t\t\ta: a,\n\t\t\t\tb: b,\n\t\t\t\tc: c,\n\t\t\t\tnormal: new Vector3(),\n\t\t\t\tmaterialIndex: 0\n\t\t\t};\n\t\t\tTriangle.getNormal(_vA$1, _vB$1, _vC$1, face.normal);\n\t\t\tintersection.face = face;\n\t\t}\n\n\t\treturn intersection;\n\t}\n\n\tclass BoxGeometry extends BufferGeometry {\n\t\tconstructor(width = 1, height = 1, depth = 1, widthSegments = 1, heightSegments = 1, depthSegments = 1) {\n\t\t\tsuper();\n\t\t\tthis.type = 'BoxGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\twidth: width,\n\t\t\t\theight: height,\n\t\t\t\tdepth: depth,\n\t\t\t\twidthSegments: widthSegments,\n\t\t\t\theightSegments: heightSegments,\n\t\t\t\tdepthSegments: depthSegments\n\t\t\t};\n\t\t\tconst scope = this; // segments\n\n\t\t\twidthSegments = Math.floor(widthSegments);\n\t\t\theightSegments = Math.floor(heightSegments);\n\t\t\tdepthSegments = Math.floor(depthSegments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tlet numberOfVertices = 0;\n\t\t\tlet groupStart = 0; // build each side of the box geometry\n\n\t\t\tbuildPlane('z', 'y', 'x', -1, -1, depth, height, width, depthSegments, heightSegments, 0); // px\n\n\t\t\tbuildPlane('z', 'y', 'x', 1, -1, depth, height, -width, depthSegments, heightSegments, 1); // nx\n\n\t\t\tbuildPlane('x', 'z', 'y', 1, 1, width, depth, height, widthSegments, depthSegments, 2); // py\n\n\t\t\tbuildPlane('x', 'z', 'y', 1, -1, width, depth, -height, widthSegments, depthSegments, 3); // ny\n\n\t\t\tbuildPlane('x', 'y', 'z', 1, -1, width, height, depth, widthSegments, heightSegments, 4); // pz\n\n\t\t\tbuildPlane('x', 'y', 'z', -1, -1, width, height, -depth, widthSegments, heightSegments, 5); // nz\n\t\t\t// build geometry\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\n\t\t\tfunction buildPlane(u, v, w, udir, vdir, width, height, depth, gridX, gridY, materialIndex) {\n\t\t\t\tconst segmentWidth = width / gridX;\n\t\t\t\tconst segmentHeight = height / gridY;\n\t\t\t\tconst widthHalf = width / 2;\n\t\t\t\tconst heightHalf = height / 2;\n\t\t\t\tconst depthHalf = depth / 2;\n\t\t\t\tconst gridX1 = gridX + 1;\n\t\t\t\tconst gridY1 = gridY + 1;\n\t\t\t\tlet vertexCounter = 0;\n\t\t\t\tlet groupCount = 0;\n\t\t\t\tconst vector = new Vector3(); // generate vertices, normals and uvs\n\n\t\t\t\tfor (let iy = 0; iy < gridY1; iy++) {\n\t\t\t\t\tconst y = iy * segmentHeight - heightHalf;\n\n\t\t\t\t\tfor (let ix = 0; ix < gridX1; ix++) {\n\t\t\t\t\t\tconst x = ix * segmentWidth - widthHalf; // set values to correct vector component\n\n\t\t\t\t\t\tvector[u] = x * udir;\n\t\t\t\t\t\tvector[v] = y * vdir;\n\t\t\t\t\t\tvector[w] = depthHalf; // now apply vector to vertex buffer\n\n\t\t\t\t\t\tvertices.push(vector.x, vector.y, vector.z); // set values to correct vector component\n\n\t\t\t\t\t\tvector[u] = 0;\n\t\t\t\t\t\tvector[v] = 0;\n\t\t\t\t\t\tvector[w] = depth > 0 ? 1 : -1; // now apply vector to normal buffer\n\n\t\t\t\t\t\tnormals.push(vector.x, vector.y, vector.z); // uvs\n\n\t\t\t\t\t\tuvs.push(ix / gridX);\n\t\t\t\t\t\tuvs.push(1 - iy / gridY); // counters\n\n\t\t\t\t\t\tvertexCounter += 1;\n\t\t\t\t\t}\n\t\t\t\t} // indices\n\t\t\t\t// 1. you need three indices to draw a single face\n\t\t\t\t// 2. a single segment consists of two faces\n\t\t\t\t// 3. so we need to generate six (2*3) indices per segment\n\n\n\t\t\t\tfor (let iy = 0; iy < gridY; iy++) {\n\t\t\t\t\tfor (let ix = 0; ix < gridX; ix++) {\n\t\t\t\t\t\tconst a = numberOfVertices + ix + gridX1 * iy;\n\t\t\t\t\t\tconst b = numberOfVertices + ix + gridX1 * (iy + 1);\n\t\t\t\t\t\tconst c = numberOfVertices + (ix + 1) + gridX1 * (iy + 1);\n\t\t\t\t\t\tconst d = numberOfVertices + (ix + 1) + gridX1 * iy; // faces\n\n\t\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\t\tindices.push(b, c, d); // increase counter\n\n\t\t\t\t\t\tgroupCount += 6;\n\t\t\t\t\t}\n\t\t\t\t} // add a group to the geometry. this will ensure multi material support\n\n\n\t\t\t\tscope.addGroup(groupStart, groupCount, materialIndex); // calculate new start value for groups\n\n\t\t\t\tgroupStart += groupCount; // update total number of vertices\n\n\t\t\t\tnumberOfVertices += vertexCounter;\n\t\t\t}\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new BoxGeometry(data.width, data.height, data.depth, data.widthSegments, data.heightSegments, data.depthSegments);\n\t\t}\n\n\t}\n\n\t/**\n\t * Uniform Utilities\n\t */\n\tfunction cloneUniforms(src) {\n\t\tconst dst = {};\n\n\t\tfor (const u in src) {\n\t\t\tdst[u] = {};\n\n\t\t\tfor (const p in src[u]) {\n\t\t\t\tconst property = src[u][p];\n\n\t\t\t\tif (property && (property.isColor || property.isMatrix3 || property.isMatrix4 || property.isVector2 || property.isVector3 || property.isVector4 || property.isTexture || property.isQuaternion)) {\n\t\t\t\t\tdst[u][p] = property.clone();\n\t\t\t\t} else if (Array.isArray(property)) {\n\t\t\t\t\tdst[u][p] = property.slice();\n\t\t\t\t} else {\n\t\t\t\t\tdst[u][p] = property;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn dst;\n\t}\n\tfunction mergeUniforms(uniforms) {\n\t\tconst merged = {};\n\n\t\tfor (let u = 0; u < uniforms.length; u++) {\n\t\t\tconst tmp = cloneUniforms(uniforms[u]);\n\n\t\t\tfor (const p in tmp) {\n\t\t\t\tmerged[p] = tmp[p];\n\t\t\t}\n\t\t}\n\n\t\treturn merged;\n\t} // Legacy\n\n\tconst UniformsUtils = {\n\t\tclone: cloneUniforms,\n\t\tmerge: mergeUniforms\n\t};\n\n\tvar default_vertex = \"void main() {\\n\\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\\n}\";\n\n\tvar default_fragment = \"void main() {\\n\\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\\n}\";\n\n\tclass ShaderMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isShaderMaterial = true;\n\t\t\tthis.type = 'ShaderMaterial';\n\t\t\tthis.defines = {};\n\t\t\tthis.uniforms = {};\n\t\t\tthis.vertexShader = default_vertex;\n\t\t\tthis.fragmentShader = default_fragment;\n\t\t\tthis.linewidth = 1;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.fog = false; // set to use scene fog\n\n\t\t\tthis.lights = false; // set to use scene lights\n\n\t\t\tthis.clipping = false; // set to use user-defined clipping planes\n\n\t\t\tthis.extensions = {\n\t\t\t\tderivatives: false,\n\t\t\t\t// set to use derivatives\n\t\t\t\tfragDepth: false,\n\t\t\t\t// set to use fragment depth values\n\t\t\t\tdrawBuffers: false,\n\t\t\t\t// set to use draw buffers\n\t\t\t\tshaderTextureLOD: false // set to use shader texture LOD\n\n\t\t\t}; // When rendered geometry doesn't include these attributes but the material does,\n\t\t\t// use these default values in WebGL. This avoids errors when buffer data is missing.\n\n\t\t\tthis.defaultAttributeValues = {\n\t\t\t\t'color': [1, 1, 1],\n\t\t\t\t'uv': [0, 0],\n\t\t\t\t'uv2': [0, 0]\n\t\t\t};\n\t\t\tthis.index0AttributeName = undefined;\n\t\t\tthis.uniformsNeedUpdate = false;\n\t\t\tthis.glslVersion = null;\n\n\t\t\tif (parameters !== undefined) {\n\t\t\t\tif (parameters.attributes !== undefined) {\n\t\t\t\t\tconsole.error('THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead.');\n\t\t\t\t}\n\n\t\t\t\tthis.setValues(parameters);\n\t\t\t}\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.fragmentShader = source.fragmentShader;\n\t\t\tthis.vertexShader = source.vertexShader;\n\t\t\tthis.uniforms = cloneUniforms(source.uniforms);\n\t\t\tthis.defines = Object.assign({}, source.defines);\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.fog = source.fog;\n\t\t\tthis.lights = source.lights;\n\t\t\tthis.clipping = source.clipping;\n\t\t\tthis.extensions = Object.assign({}, source.extensions);\n\t\t\tthis.glslVersion = source.glslVersion;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.glslVersion = this.glslVersion;\n\t\t\tdata.uniforms = {};\n\n\t\t\tfor (const name in this.uniforms) {\n\t\t\t\tconst uniform = this.uniforms[name];\n\t\t\t\tconst value = uniform.value;\n\n\t\t\t\tif (value && value.isTexture) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 't',\n\t\t\t\t\t\tvalue: value.toJSON(meta).uuid\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isColor) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'c',\n\t\t\t\t\t\tvalue: value.getHex()\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isVector2) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'v2',\n\t\t\t\t\t\tvalue: value.toArray()\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isVector3) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'v3',\n\t\t\t\t\t\tvalue: value.toArray()\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isVector4) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'v4',\n\t\t\t\t\t\tvalue: value.toArray()\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isMatrix3) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'm3',\n\t\t\t\t\t\tvalue: value.toArray()\n\t\t\t\t\t};\n\t\t\t\t} else if (value && value.isMatrix4) {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\ttype: 'm4',\n\t\t\t\t\t\tvalue: value.toArray()\n\t\t\t\t\t};\n\t\t\t\t} else {\n\t\t\t\t\tdata.uniforms[name] = {\n\t\t\t\t\t\tvalue: value\n\t\t\t\t\t}; // note: the array variants v2v, v3v, v4v, m4v and tv are not supported so far\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (Object.keys(this.defines).length > 0) data.defines = this.defines;\n\t\t\tdata.vertexShader = this.vertexShader;\n\t\t\tdata.fragmentShader = this.fragmentShader;\n\t\t\tconst extensions = {};\n\n\t\t\tfor (const key in this.extensions) {\n\t\t\t\tif (this.extensions[key] === true) extensions[key] = true;\n\t\t\t}\n\n\t\t\tif (Object.keys(extensions).length > 0) data.extensions = extensions;\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass Camera extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isCamera = true;\n\t\t\tthis.type = 'Camera';\n\t\t\tthis.matrixWorldInverse = new Matrix4();\n\t\t\tthis.projectionMatrix = new Matrix4();\n\t\t\tthis.projectionMatrixInverse = new Matrix4();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.matrixWorldInverse.copy(source.matrixWorldInverse);\n\t\t\tthis.projectionMatrix.copy(source.projectionMatrix);\n\t\t\tthis.projectionMatrixInverse.copy(source.projectionMatrixInverse);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetWorldDirection(target) {\n\t\t\tthis.updateWorldMatrix(true, false);\n\t\t\tconst e = this.matrixWorld.elements;\n\t\t\treturn target.set(-e[8], -e[9], -e[10]).normalize();\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t\tthis.matrixWorldInverse.copy(this.matrixWorld).invert();\n\t\t}\n\n\t\tupdateWorldMatrix(updateParents, updateChildren) {\n\t\t\tsuper.updateWorldMatrix(updateParents, updateChildren);\n\t\t\tthis.matrixWorldInverse.copy(this.matrixWorld).invert();\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tclass PerspectiveCamera extends Camera {\n\t\tconstructor(fov = 50, aspect = 1, near = 0.1, far = 2000) {\n\t\t\tsuper();\n\t\t\tthis.isPerspectiveCamera = true;\n\t\t\tthis.type = 'PerspectiveCamera';\n\t\t\tthis.fov = fov;\n\t\t\tthis.zoom = 1;\n\t\t\tthis.near = near;\n\t\t\tthis.far = far;\n\t\t\tthis.focus = 10;\n\t\t\tthis.aspect = aspect;\n\t\t\tthis.view = null;\n\t\t\tthis.filmGauge = 35; // width of the film (default in millimeters)\n\n\t\t\tthis.filmOffset = 0; // horizontal film offset (same unit as gauge)\n\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.fov = source.fov;\n\t\t\tthis.zoom = source.zoom;\n\t\t\tthis.near = source.near;\n\t\t\tthis.far = source.far;\n\t\t\tthis.focus = source.focus;\n\t\t\tthis.aspect = source.aspect;\n\t\t\tthis.view = source.view === null ? null : Object.assign({}, source.view);\n\t\t\tthis.filmGauge = source.filmGauge;\n\t\t\tthis.filmOffset = source.filmOffset;\n\t\t\treturn this;\n\t\t}\n\t\t/**\n\t\t * Sets the FOV by focal length in respect to the current .filmGauge.\n\t\t *\n\t\t * The default film gauge is 35, so that the focal length can be specified for\n\t\t * a 35mm (full frame) camera.\n\t\t *\n\t\t * Values for focal length and film gauge must have the same unit.\n\t\t */\n\n\n\t\tsetFocalLength(focalLength) {\n\t\t\t/** see {@link http://www.bobatkins.com/photography/technical/field_of_view.html} */\n\t\t\tconst vExtentSlope = 0.5 * this.getFilmHeight() / focalLength;\n\t\t\tthis.fov = RAD2DEG * 2 * Math.atan(vExtentSlope);\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\t\t/**\n\t\t * Calculates the focal length from the current .fov and .filmGauge.\n\t\t */\n\n\n\t\tgetFocalLength() {\n\t\t\tconst vExtentSlope = Math.tan(DEG2RAD * 0.5 * this.fov);\n\t\t\treturn 0.5 * this.getFilmHeight() / vExtentSlope;\n\t\t}\n\n\t\tgetEffectiveFOV() {\n\t\t\treturn RAD2DEG * 2 * Math.atan(Math.tan(DEG2RAD * 0.5 * this.fov) / this.zoom);\n\t\t}\n\n\t\tgetFilmWidth() {\n\t\t\t// film not completely covered in portrait format (aspect < 1)\n\t\t\treturn this.filmGauge * Math.min(this.aspect, 1);\n\t\t}\n\n\t\tgetFilmHeight() {\n\t\t\t// film not completely covered in landscape format (aspect > 1)\n\t\t\treturn this.filmGauge / Math.max(this.aspect, 1);\n\t\t}\n\t\t/**\n\t\t * Sets an offset in a larger frustum. This is useful for multi-window or\n\t\t * multi-monitor/multi-machine setups.\n\t\t *\n\t\t * For example, if you have 3x2 monitors and each monitor is 1920x1080 and\n\t\t * the monitors are in grid like this\n\t\t *\n\t\t *\t +---+---+---+\n\t\t *\t | A | B | C |\n\t\t *\t +---+---+---+\n\t\t *\t | D | E | F |\n\t\t *\t +---+---+---+\n\t\t *\n\t\t * then for each monitor you would call it like this\n\t\t *\n\t\t *\t const w = 1920;\n\t\t *\t const h = 1080;\n\t\t *\t const fullWidth = w * 3;\n\t\t *\t const fullHeight = h * 2;\n\t\t *\n\t\t *\t --A--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 0, w, h );\n\t\t *\t --B--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 0, w, h );\n\t\t *\t --C--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 0, w, h );\n\t\t *\t --D--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 0, h * 1, w, h );\n\t\t *\t --E--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 1, h * 1, w, h );\n\t\t *\t --F--\n\t\t *\t camera.setViewOffset( fullWidth, fullHeight, w * 2, h * 1, w, h );\n\t\t *\n\t\t *\t Note there is no reason monitors have to be the same size or in a grid.\n\t\t */\n\n\n\t\tsetViewOffset(fullWidth, fullHeight, x, y, width, height) {\n\t\t\tthis.aspect = fullWidth / fullHeight;\n\n\t\t\tif (this.view === null) {\n\t\t\t\tthis.view = {\n\t\t\t\t\tenabled: true,\n\t\t\t\t\tfullWidth: 1,\n\t\t\t\t\tfullHeight: 1,\n\t\t\t\t\toffsetX: 0,\n\t\t\t\t\toffsetY: 0,\n\t\t\t\t\twidth: 1,\n\t\t\t\t\theight: 1\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tthis.view.enabled = true;\n\t\t\tthis.view.fullWidth = fullWidth;\n\t\t\tthis.view.fullHeight = fullHeight;\n\t\t\tthis.view.offsetX = x;\n\t\t\tthis.view.offsetY = y;\n\t\t\tthis.view.width = width;\n\t\t\tthis.view.height = height;\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tclearViewOffset() {\n\t\t\tif (this.view !== null) {\n\t\t\t\tthis.view.enabled = false;\n\t\t\t}\n\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tupdateProjectionMatrix() {\n\t\t\tconst near = this.near;\n\t\t\tlet top = near * Math.tan(DEG2RAD * 0.5 * this.fov) / this.zoom;\n\t\t\tlet height = 2 * top;\n\t\t\tlet width = this.aspect * height;\n\t\t\tlet left = -0.5 * width;\n\t\t\tconst view = this.view;\n\n\t\t\tif (this.view !== null && this.view.enabled) {\n\t\t\t\tconst fullWidth = view.fullWidth,\n\t\t\t\t\t\t\tfullHeight = view.fullHeight;\n\t\t\t\tleft += view.offsetX * width / fullWidth;\n\t\t\t\ttop -= view.offsetY * height / fullHeight;\n\t\t\t\twidth *= view.width / fullWidth;\n\t\t\t\theight *= view.height / fullHeight;\n\t\t\t}\n\n\t\t\tconst skew = this.filmOffset;\n\t\t\tif (skew !== 0) left += near * skew / this.getFilmWidth();\n\t\t\tthis.projectionMatrix.makePerspective(left, left + width, top, top - height, near, this.far);\n\t\t\tthis.projectionMatrixInverse.copy(this.projectionMatrix).invert();\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.object.fov = this.fov;\n\t\t\tdata.object.zoom = this.zoom;\n\t\t\tdata.object.near = this.near;\n\t\t\tdata.object.far = this.far;\n\t\t\tdata.object.focus = this.focus;\n\t\t\tdata.object.aspect = this.aspect;\n\t\t\tif (this.view !== null) data.object.view = Object.assign({}, this.view);\n\t\t\tdata.object.filmGauge = this.filmGauge;\n\t\t\tdata.object.filmOffset = this.filmOffset;\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tconst fov = 90,\n\t\t\t\taspect = 1;\n\n\tclass CubeCamera extends Object3D {\n\t\tconstructor(near, far, renderTarget) {\n\t\t\tsuper();\n\t\t\tthis.type = 'CubeCamera';\n\n\t\t\tif (renderTarget.isWebGLCubeRenderTarget !== true) {\n\t\t\t\tconsole.error('THREE.CubeCamera: The constructor now expects an instance of WebGLCubeRenderTarget as third parameter.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.renderTarget = renderTarget;\n\t\t\tconst cameraPX = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraPX.layers = this.layers;\n\t\t\tcameraPX.up.set(0, -1, 0);\n\t\t\tcameraPX.lookAt(new Vector3(1, 0, 0));\n\t\t\tthis.add(cameraPX);\n\t\t\tconst cameraNX = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraNX.layers = this.layers;\n\t\t\tcameraNX.up.set(0, -1, 0);\n\t\t\tcameraNX.lookAt(new Vector3(-1, 0, 0));\n\t\t\tthis.add(cameraNX);\n\t\t\tconst cameraPY = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraPY.layers = this.layers;\n\t\t\tcameraPY.up.set(0, 0, 1);\n\t\t\tcameraPY.lookAt(new Vector3(0, 1, 0));\n\t\t\tthis.add(cameraPY);\n\t\t\tconst cameraNY = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraNY.layers = this.layers;\n\t\t\tcameraNY.up.set(0, 0, -1);\n\t\t\tcameraNY.lookAt(new Vector3(0, -1, 0));\n\t\t\tthis.add(cameraNY);\n\t\t\tconst cameraPZ = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraPZ.layers = this.layers;\n\t\t\tcameraPZ.up.set(0, -1, 0);\n\t\t\tcameraPZ.lookAt(new Vector3(0, 0, 1));\n\t\t\tthis.add(cameraPZ);\n\t\t\tconst cameraNZ = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tcameraNZ.layers = this.layers;\n\t\t\tcameraNZ.up.set(0, -1, 0);\n\t\t\tcameraNZ.lookAt(new Vector3(0, 0, -1));\n\t\t\tthis.add(cameraNZ);\n\t\t}\n\n\t\tupdate(renderer, scene) {\n\t\t\tif (this.parent === null) this.updateMatrixWorld();\n\t\t\tconst renderTarget = this.renderTarget;\n\t\t\tconst [cameraPX, cameraNX, cameraPY, cameraNY, cameraPZ, cameraNZ] = this.children;\n\t\t\tconst currentRenderTarget = renderer.getRenderTarget();\n\t\t\tconst currentToneMapping = renderer.toneMapping;\n\t\t\tconst currentXrEnabled = renderer.xr.enabled;\n\t\t\trenderer.toneMapping = NoToneMapping;\n\t\t\trenderer.xr.enabled = false;\n\t\t\tconst generateMipmaps = renderTarget.texture.generateMipmaps;\n\t\t\trenderTarget.texture.generateMipmaps = false;\n\t\t\trenderer.setRenderTarget(renderTarget, 0);\n\t\t\trenderer.render(scene, cameraPX);\n\t\t\trenderer.setRenderTarget(renderTarget, 1);\n\t\t\trenderer.render(scene, cameraNX);\n\t\t\trenderer.setRenderTarget(renderTarget, 2);\n\t\t\trenderer.render(scene, cameraPY);\n\t\t\trenderer.setRenderTarget(renderTarget, 3);\n\t\t\trenderer.render(scene, cameraNY);\n\t\t\trenderer.setRenderTarget(renderTarget, 4);\n\t\t\trenderer.render(scene, cameraPZ);\n\t\t\trenderTarget.texture.generateMipmaps = generateMipmaps;\n\t\t\trenderer.setRenderTarget(renderTarget, 5);\n\t\t\trenderer.render(scene, cameraNZ);\n\t\t\trenderer.setRenderTarget(currentRenderTarget);\n\t\t\trenderer.toneMapping = currentToneMapping;\n\t\t\trenderer.xr.enabled = currentXrEnabled;\n\t\t\trenderTarget.texture.needsPMREMUpdate = true;\n\t\t}\n\n\t}\n\n\tclass CubeTexture extends Texture {\n\t\tconstructor(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding) {\n\t\t\timages = images !== undefined ? images : [];\n\t\t\tmapping = mapping !== undefined ? mapping : CubeReflectionMapping;\n\t\t\tsuper(images, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding);\n\t\t\tthis.isCubeTexture = true;\n\t\t\tthis.flipY = false;\n\t\t}\n\n\t\tget images() {\n\t\t\treturn this.image;\n\t\t}\n\n\t\tset images(value) {\n\t\t\tthis.image = value;\n\t\t}\n\n\t}\n\n\tclass WebGLCubeRenderTarget extends WebGLRenderTarget {\n\t\tconstructor(size, options = {}) {\n\t\t\tsuper(size, size, options);\n\t\t\tthis.isWebGLCubeRenderTarget = true;\n\t\t\tconst image = {\n\t\t\t\twidth: size,\n\t\t\t\theight: size,\n\t\t\t\tdepth: 1\n\t\t\t};\n\t\t\tconst images = [image, image, image, image, image, image];\n\t\t\tthis.texture = new CubeTexture(images, options.mapping, options.wrapS, options.wrapT, options.magFilter, options.minFilter, options.format, options.type, options.anisotropy, options.encoding); // By convention -- likely based on the RenderMan spec from the 1990's -- cube maps are specified by WebGL (and three.js)\n\t\t\t// in a coordinate system in which positive-x is to the right when looking up the positive-z axis -- in other words,\n\t\t\t// in a left-handed coordinate system. By continuing this convention, preexisting cube maps continued to render correctly.\n\t\t\t// three.js uses a right-handed coordinate system. So environment maps used in three.js appear to have px and nx swapped\n\t\t\t// and the flag isRenderTargetTexture controls this conversion. The flip is not required when using WebGLCubeRenderTarget.texture\n\t\t\t// as a cube texture (this is detected when isRenderTargetTexture is set to true for cube textures).\n\n\t\t\tthis.texture.isRenderTargetTexture = true;\n\t\t\tthis.texture.generateMipmaps = options.generateMipmaps !== undefined ? options.generateMipmaps : false;\n\t\t\tthis.texture.minFilter = options.minFilter !== undefined ? options.minFilter : LinearFilter;\n\t\t}\n\n\t\tfromEquirectangularTexture(renderer, texture) {\n\t\t\tthis.texture.type = texture.type;\n\t\t\tthis.texture.encoding = texture.encoding;\n\t\t\tthis.texture.generateMipmaps = texture.generateMipmaps;\n\t\t\tthis.texture.minFilter = texture.minFilter;\n\t\t\tthis.texture.magFilter = texture.magFilter;\n\t\t\tconst shader = {\n\t\t\t\tuniforms: {\n\t\t\t\t\ttEquirect: {\n\t\t\t\t\t\tvalue: null\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tvertexShader:\n\t\t\t\t/* glsl */\n\t\t\t\t`\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t`,\n\t\t\t\tfragmentShader:\n\t\t\t\t/* glsl */\n\t\t\t\t`\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t`\n\t\t\t};\n\t\t\tconst geometry = new BoxGeometry(5, 5, 5);\n\t\t\tconst material = new ShaderMaterial({\n\t\t\t\tname: 'CubemapFromEquirect',\n\t\t\t\tuniforms: cloneUniforms(shader.uniforms),\n\t\t\t\tvertexShader: shader.vertexShader,\n\t\t\t\tfragmentShader: shader.fragmentShader,\n\t\t\t\tside: BackSide,\n\t\t\t\tblending: NoBlending\n\t\t\t});\n\t\t\tmaterial.uniforms.tEquirect.value = texture;\n\t\t\tconst mesh = new Mesh(geometry, material);\n\t\t\tconst currentMinFilter = texture.minFilter; // Avoid blurred poles\n\n\t\t\tif (texture.minFilter === LinearMipmapLinearFilter) texture.minFilter = LinearFilter;\n\t\t\tconst camera = new CubeCamera(1, 10, this);\n\t\t\tcamera.update(renderer, mesh);\n\t\t\ttexture.minFilter = currentMinFilter;\n\t\t\tmesh.geometry.dispose();\n\t\t\tmesh.material.dispose();\n\t\t\treturn this;\n\t\t}\n\n\t\tclear(renderer, color, depth, stencil) {\n\t\t\tconst currentRenderTarget = renderer.getRenderTarget();\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\trenderer.setRenderTarget(this, i);\n\t\t\t\trenderer.clear(color, depth, stencil);\n\t\t\t}\n\n\t\t\trenderer.setRenderTarget(currentRenderTarget);\n\t\t}\n\n\t}\n\n\tconst _vector1 = /*@__PURE__*/new Vector3();\n\n\tconst _vector2 = /*@__PURE__*/new Vector3();\n\n\tconst _normalMatrix = /*@__PURE__*/new Matrix3();\n\n\tclass Plane {\n\t\tconstructor(normal = new Vector3(1, 0, 0), constant = 0) {\n\t\t\tthis.isPlane = true; // normal is assumed to be normalized\n\n\t\t\tthis.normal = normal;\n\t\t\tthis.constant = constant;\n\t\t}\n\n\t\tset(normal, constant) {\n\t\t\tthis.normal.copy(normal);\n\t\t\tthis.constant = constant;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetComponents(x, y, z, w) {\n\t\t\tthis.normal.set(x, y, z);\n\t\t\tthis.constant = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromNormalAndCoplanarPoint(normal, point) {\n\t\t\tthis.normal.copy(normal);\n\t\t\tthis.constant = -point.dot(this.normal);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromCoplanarPoints(a, b, c) {\n\t\t\tconst normal = _vector1.subVectors(c, b).cross(_vector2.subVectors(a, b)).normalize(); // Q: should an error be thrown if normal is zero (e.g. degenerate plane)?\n\n\n\t\t\tthis.setFromNormalAndCoplanarPoint(normal, a);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(plane) {\n\t\t\tthis.normal.copy(plane.normal);\n\t\t\tthis.constant = plane.constant;\n\t\t\treturn this;\n\t\t}\n\n\t\tnormalize() {\n\t\t\t// Note: will lead to a divide by zero if the plane is invalid.\n\t\t\tconst inverseNormalLength = 1.0 / this.normal.length();\n\t\t\tthis.normal.multiplyScalar(inverseNormalLength);\n\t\t\tthis.constant *= inverseNormalLength;\n\t\t\treturn this;\n\t\t}\n\n\t\tnegate() {\n\t\t\tthis.constant *= -1;\n\t\t\tthis.normal.negate();\n\t\t\treturn this;\n\t\t}\n\n\t\tdistanceToPoint(point) {\n\t\t\treturn this.normal.dot(point) + this.constant;\n\t\t}\n\n\t\tdistanceToSphere(sphere) {\n\t\t\treturn this.distanceToPoint(sphere.center) - sphere.radius;\n\t\t}\n\n\t\tprojectPoint(point, target) {\n\t\t\treturn target.copy(this.normal).multiplyScalar(-this.distanceToPoint(point)).add(point);\n\t\t}\n\n\t\tintersectLine(line, target) {\n\t\t\tconst direction = line.delta(_vector1);\n\t\t\tconst denominator = this.normal.dot(direction);\n\n\t\t\tif (denominator === 0) {\n\t\t\t\t// line is coplanar, return origin\n\t\t\t\tif (this.distanceToPoint(line.start) === 0) {\n\t\t\t\t\treturn target.copy(line.start);\n\t\t\t\t} // Unsure if this is the correct method to handle this case.\n\n\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst t = -(line.start.dot(this.normal) + this.constant) / denominator;\n\n\t\t\tif (t < 0 || t > 1) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\treturn target.copy(direction).multiplyScalar(t).add(line.start);\n\t\t}\n\n\t\tintersectsLine(line) {\n\t\t\t// Note: this tests if a line intersects the plane, not whether it (or its end-points) are coplanar with it.\n\t\t\tconst startSign = this.distanceToPoint(line.start);\n\t\t\tconst endSign = this.distanceToPoint(line.end);\n\t\t\treturn startSign < 0 && endSign > 0 || endSign < 0 && startSign > 0;\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\treturn box.intersectsPlane(this);\n\t\t}\n\n\t\tintersectsSphere(sphere) {\n\t\t\treturn sphere.intersectsPlane(this);\n\t\t}\n\n\t\tcoplanarPoint(target) {\n\t\t\treturn target.copy(this.normal).multiplyScalar(-this.constant);\n\t\t}\n\n\t\tapplyMatrix4(matrix, optionalNormalMatrix) {\n\t\t\tconst normalMatrix = optionalNormalMatrix || _normalMatrix.getNormalMatrix(matrix);\n\n\t\t\tconst referencePoint = this.coplanarPoint(_vector1).applyMatrix4(matrix);\n\t\t\tconst normal = this.normal.applyMatrix3(normalMatrix).normalize();\n\t\t\tthis.constant = -referencePoint.dot(normal);\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(offset) {\n\t\t\tthis.constant -= offset.dot(this.normal);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(plane) {\n\t\t\treturn plane.normal.equals(this.normal) && plane.constant === this.constant;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tconst _sphere$2 = /*@__PURE__*/new Sphere();\n\n\tconst _vector$7 = /*@__PURE__*/new Vector3();\n\n\tclass Frustum {\n\t\tconstructor(p0 = new Plane(), p1 = new Plane(), p2 = new Plane(), p3 = new Plane(), p4 = new Plane(), p5 = new Plane()) {\n\t\t\tthis.planes = [p0, p1, p2, p3, p4, p5];\n\t\t}\n\n\t\tset(p0, p1, p2, p3, p4, p5) {\n\t\t\tconst planes = this.planes;\n\t\t\tplanes[0].copy(p0);\n\t\t\tplanes[1].copy(p1);\n\t\t\tplanes[2].copy(p2);\n\t\t\tplanes[3].copy(p3);\n\t\t\tplanes[4].copy(p4);\n\t\t\tplanes[5].copy(p5);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(frustum) {\n\t\t\tconst planes = this.planes;\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\tplanes[i].copy(frustum.planes[i]);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromProjectionMatrix(m) {\n\t\t\tconst planes = this.planes;\n\t\t\tconst me = m.elements;\n\t\t\tconst me0 = me[0],\n\t\t\t\t\t\tme1 = me[1],\n\t\t\t\t\t\tme2 = me[2],\n\t\t\t\t\t\tme3 = me[3];\n\t\t\tconst me4 = me[4],\n\t\t\t\t\t\tme5 = me[5],\n\t\t\t\t\t\tme6 = me[6],\n\t\t\t\t\t\tme7 = me[7];\n\t\t\tconst me8 = me[8],\n\t\t\t\t\t\tme9 = me[9],\n\t\t\t\t\t\tme10 = me[10],\n\t\t\t\t\t\tme11 = me[11];\n\t\t\tconst me12 = me[12],\n\t\t\t\t\t\tme13 = me[13],\n\t\t\t\t\t\tme14 = me[14],\n\t\t\t\t\t\tme15 = me[15];\n\t\t\tplanes[0].setComponents(me3 - me0, me7 - me4, me11 - me8, me15 - me12).normalize();\n\t\t\tplanes[1].setComponents(me3 + me0, me7 + me4, me11 + me8, me15 + me12).normalize();\n\t\t\tplanes[2].setComponents(me3 + me1, me7 + me5, me11 + me9, me15 + me13).normalize();\n\t\t\tplanes[3].setComponents(me3 - me1, me7 - me5, me11 - me9, me15 - me13).normalize();\n\t\t\tplanes[4].setComponents(me3 - me2, me7 - me6, me11 - me10, me15 - me14).normalize();\n\t\t\tplanes[5].setComponents(me3 + me2, me7 + me6, me11 + me10, me15 + me14).normalize();\n\t\t\treturn this;\n\t\t}\n\n\t\tintersectsObject(object) {\n\t\t\tconst geometry = object.geometry;\n\t\t\tif (geometry.boundingSphere === null) geometry.computeBoundingSphere();\n\n\t\t\t_sphere$2.copy(geometry.boundingSphere).applyMatrix4(object.matrixWorld);\n\n\t\t\treturn this.intersectsSphere(_sphere$2);\n\t\t}\n\n\t\tintersectsSprite(sprite) {\n\t\t\t_sphere$2.center.set(0, 0, 0);\n\n\t\t\t_sphere$2.radius = 0.7071067811865476;\n\n\t\t\t_sphere$2.applyMatrix4(sprite.matrixWorld);\n\n\t\t\treturn this.intersectsSphere(_sphere$2);\n\t\t}\n\n\t\tintersectsSphere(sphere) {\n\t\t\tconst planes = this.planes;\n\t\t\tconst center = sphere.center;\n\t\t\tconst negRadius = -sphere.radius;\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\tconst distance = planes[i].distanceToPoint(center);\n\n\t\t\t\tif (distance < negRadius) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\tconst planes = this.planes;\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\tconst plane = planes[i]; // corner at max distance\n\n\t\t\t\t_vector$7.x = plane.normal.x > 0 ? box.max.x : box.min.x;\n\t\t\t\t_vector$7.y = plane.normal.y > 0 ? box.max.y : box.min.y;\n\t\t\t\t_vector$7.z = plane.normal.z > 0 ? box.max.z : box.min.z;\n\n\t\t\t\tif (plane.distanceToPoint(_vector$7) < 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tcontainsPoint(point) {\n\t\t\tconst planes = this.planes;\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\tif (planes[i].distanceToPoint(point) < 0) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tfunction WebGLAnimation() {\n\t\tlet context = null;\n\t\tlet isAnimating = false;\n\t\tlet animationLoop = null;\n\t\tlet requestId = null;\n\n\t\tfunction onAnimationFrame(time, frame) {\n\t\t\tanimationLoop(time, frame);\n\t\t\trequestId = context.requestAnimationFrame(onAnimationFrame);\n\t\t}\n\n\t\treturn {\n\t\t\tstart: function () {\n\t\t\t\tif (isAnimating === true) return;\n\t\t\t\tif (animationLoop === null) return;\n\t\t\t\trequestId = context.requestAnimationFrame(onAnimationFrame);\n\t\t\t\tisAnimating = true;\n\t\t\t},\n\t\t\tstop: function () {\n\t\t\t\tcontext.cancelAnimationFrame(requestId);\n\t\t\t\tisAnimating = false;\n\t\t\t},\n\t\t\tsetAnimationLoop: function (callback) {\n\t\t\t\tanimationLoop = callback;\n\t\t\t},\n\t\t\tsetContext: function (value) {\n\t\t\t\tcontext = value;\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction WebGLAttributes(gl, capabilities) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\t\tconst buffers = new WeakMap();\n\n\t\tfunction createBuffer(attribute, bufferType) {\n\t\t\tconst array = attribute.array;\n\t\t\tconst usage = attribute.usage;\n\t\t\tconst buffer = gl.createBuffer();\n\t\t\tgl.bindBuffer(bufferType, buffer);\n\t\t\tgl.bufferData(bufferType, array, usage);\n\t\t\tattribute.onUploadCallback();\n\t\t\tlet type;\n\n\t\t\tif (array instanceof Float32Array) {\n\t\t\t\ttype = gl.FLOAT;\n\t\t\t} else if (array instanceof Uint16Array) {\n\t\t\t\tif (attribute.isFloat16BufferAttribute) {\n\t\t\t\t\tif (isWebGL2) {\n\t\t\t\t\t\ttype = gl.HALF_FLOAT;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error('THREE.WebGLAttributes: Usage of Float16BufferAttribute requires WebGL2.');\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\ttype = gl.UNSIGNED_SHORT;\n\t\t\t\t}\n\t\t\t} else if (array instanceof Int16Array) {\n\t\t\t\ttype = gl.SHORT;\n\t\t\t} else if (array instanceof Uint32Array) {\n\t\t\t\ttype = gl.UNSIGNED_INT;\n\t\t\t} else if (array instanceof Int32Array) {\n\t\t\t\ttype = gl.INT;\n\t\t\t} else if (array instanceof Int8Array) {\n\t\t\t\ttype = gl.BYTE;\n\t\t\t} else if (array instanceof Uint8Array) {\n\t\t\t\ttype = gl.UNSIGNED_BYTE;\n\t\t\t} else if (array instanceof Uint8ClampedArray) {\n\t\t\t\ttype = gl.UNSIGNED_BYTE;\n\t\t\t} else {\n\t\t\t\tthrow new Error('THREE.WebGLAttributes: Unsupported buffer data format: ' + array);\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\tbuffer: buffer,\n\t\t\t\ttype: type,\n\t\t\t\tbytesPerElement: array.BYTES_PER_ELEMENT,\n\t\t\t\tversion: attribute.version\n\t\t\t};\n\t\t}\n\n\t\tfunction updateBuffer(buffer, attribute, bufferType) {\n\t\t\tconst array = attribute.array;\n\t\t\tconst updateRange = attribute.updateRange;\n\t\t\tgl.bindBuffer(bufferType, buffer);\n\n\t\t\tif (updateRange.count === -1) {\n\t\t\t\t// Not using update ranges\n\t\t\t\tgl.bufferSubData(bufferType, 0, array);\n\t\t\t} else {\n\t\t\t\tif (isWebGL2) {\n\t\t\t\t\tgl.bufferSubData(bufferType, updateRange.offset * array.BYTES_PER_ELEMENT, array, updateRange.offset, updateRange.count);\n\t\t\t\t} else {\n\t\t\t\t\tgl.bufferSubData(bufferType, updateRange.offset * array.BYTES_PER_ELEMENT, array.subarray(updateRange.offset, updateRange.offset + updateRange.count));\n\t\t\t\t}\n\n\t\t\t\tupdateRange.count = -1; // reset range\n\t\t\t}\n\t\t} //\n\n\n\t\tfunction get(attribute) {\n\t\t\tif (attribute.isInterleavedBufferAttribute) attribute = attribute.data;\n\t\t\treturn buffers.get(attribute);\n\t\t}\n\n\t\tfunction remove(attribute) {\n\t\t\tif (attribute.isInterleavedBufferAttribute) attribute = attribute.data;\n\t\t\tconst data = buffers.get(attribute);\n\n\t\t\tif (data) {\n\t\t\t\tgl.deleteBuffer(data.buffer);\n\t\t\t\tbuffers.delete(attribute);\n\t\t\t}\n\t\t}\n\n\t\tfunction update(attribute, bufferType) {\n\t\t\tif (attribute.isGLBufferAttribute) {\n\t\t\t\tconst cached = buffers.get(attribute);\n\n\t\t\t\tif (!cached || cached.version < attribute.version) {\n\t\t\t\t\tbuffers.set(attribute, {\n\t\t\t\t\t\tbuffer: attribute.buffer,\n\t\t\t\t\t\ttype: attribute.type,\n\t\t\t\t\t\tbytesPerElement: attribute.elementSize,\n\t\t\t\t\t\tversion: attribute.version\n\t\t\t\t\t});\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (attribute.isInterleavedBufferAttribute) attribute = attribute.data;\n\t\t\tconst data = buffers.get(attribute);\n\n\t\t\tif (data === undefined) {\n\t\t\t\tbuffers.set(attribute, createBuffer(attribute, bufferType));\n\t\t\t} else if (data.version < attribute.version) {\n\t\t\t\tupdateBuffer(data.buffer, attribute, bufferType);\n\t\t\t\tdata.version = attribute.version;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tremove: remove,\n\t\t\tupdate: update\n\t\t};\n\t}\n\n\tclass PlaneGeometry extends BufferGeometry {\n\t\tconstructor(width = 1, height = 1, widthSegments = 1, heightSegments = 1) {\n\t\t\tsuper();\n\t\t\tthis.type = 'PlaneGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\twidth: width,\n\t\t\t\theight: height,\n\t\t\t\twidthSegments: widthSegments,\n\t\t\t\theightSegments: heightSegments\n\t\t\t};\n\t\t\tconst width_half = width / 2;\n\t\t\tconst height_half = height / 2;\n\t\t\tconst gridX = Math.floor(widthSegments);\n\t\t\tconst gridY = Math.floor(heightSegments);\n\t\t\tconst gridX1 = gridX + 1;\n\t\t\tconst gridY1 = gridY + 1;\n\t\t\tconst segment_width = width / gridX;\n\t\t\tconst segment_height = height / gridY; //\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = [];\n\n\t\t\tfor (let iy = 0; iy < gridY1; iy++) {\n\t\t\t\tconst y = iy * segment_height - height_half;\n\n\t\t\t\tfor (let ix = 0; ix < gridX1; ix++) {\n\t\t\t\t\tconst x = ix * segment_width - width_half;\n\t\t\t\t\tvertices.push(x, -y, 0);\n\t\t\t\t\tnormals.push(0, 0, 1);\n\t\t\t\t\tuvs.push(ix / gridX);\n\t\t\t\t\tuvs.push(1 - iy / gridY);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (let iy = 0; iy < gridY; iy++) {\n\t\t\t\tfor (let ix = 0; ix < gridX; ix++) {\n\t\t\t\t\tconst a = ix + gridX1 * iy;\n\t\t\t\t\tconst b = ix + gridX1 * (iy + 1);\n\t\t\t\t\tconst c = ix + 1 + gridX1 * (iy + 1);\n\t\t\t\t\tconst d = ix + 1 + gridX1 * iy;\n\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\tindices.push(b, c, d);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new PlaneGeometry(data.width, data.height, data.widthSegments, data.heightSegments);\n\t\t}\n\n\t}\n\n\tvar alphamap_fragment = \"#ifdef USE_ALPHAMAP\\n\\tdiffuseColor.a *= texture2D( alphaMap, vUv ).g;\\n#endif\";\n\n\tvar alphamap_pars_fragment = \"#ifdef USE_ALPHAMAP\\n\\tuniform sampler2D alphaMap;\\n#endif\";\n\n\tvar alphatest_fragment = \"#ifdef USE_ALPHATEST\\n\\tif ( diffuseColor.a < alphaTest ) discard;\\n#endif\";\n\n\tvar alphatest_pars_fragment = \"#ifdef USE_ALPHATEST\\n\\tuniform float alphaTest;\\n#endif\";\n\n\tvar aomap_fragment = \"#ifdef USE_AOMAP\\n\\tfloat ambientOcclusion = ( texture2D( aoMap, vUv2 ).r - 1.0 ) * aoMapIntensity + 1.0;\\n\\treflectedLight.indirectDiffuse *= ambientOcclusion;\\n\\t#if defined( USE_ENVMAP ) && defined( STANDARD )\\n\\t\\tfloat dotNV = saturate( dot( geometry.normal, geometry.viewDir ) );\\n\\t\\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\\n\\t#endif\\n#endif\";\n\n\tvar aomap_pars_fragment = \"#ifdef USE_AOMAP\\n\\tuniform sampler2D aoMap;\\n\\tuniform float aoMapIntensity;\\n#endif\";\n\n\tvar begin_vertex = \"vec3 transformed = vec3( position );\";\n\n\tvar beginnormal_vertex = \"vec3 objectNormal = vec3( normal );\\n#ifdef USE_TANGENT\\n\\tvec3 objectTangent = vec3( tangent.xyz );\\n#endif\";\n\n\tvar bsdfs = \"vec3 BRDF_Lambert( const in vec3 diffuseColor ) {\\n\\treturn RECIPROCAL_PI * diffuseColor;\\n}\\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\\n\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\n\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\n}\\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\\n\\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\\n\\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\\n}\\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\\n\t\tfloat x = clamp( 1.0 - dotVH, 0.0, 1.0 );\\n\t\tfloat x2 = x * x;\\n\t\tfloat x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\\n\t\treturn ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\\n}\\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\\n\\tfloat a2 = pow2( alpha );\\n\\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\\n\\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\\n\\treturn 0.5 / max( gv + gl, EPSILON );\\n}\\nfloat D_GGX( const in float alpha, const in float dotNH ) {\\n\\tfloat a2 = pow2( alpha );\\n\\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0;\\n\\treturn RECIPROCAL_PI * a2 / pow2( denom );\\n}\\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float roughness ) {\\n\\tfloat alpha = pow2( roughness );\\n\\tvec3 halfDir = normalize( lightDir + viewDir );\\n\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\n\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\n\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\n\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\n\\tvec3 F = F_Schlick( f0, f90, dotVH );\\n\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\n\\tfloat D = D_GGX( alpha, dotNH );\\n\\treturn F * ( V * D );\\n}\\n#ifdef USE_IRIDESCENCE\\nvec3 BRDF_GGX_Iridescence( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 f0, const in float f90, const in float iridescence, const in vec3 iridescenceFresnel, const in float roughness ) {\\n\\tfloat alpha = pow2( roughness );\\n\\tvec3 halfDir = normalize( lightDir + viewDir );\\n\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\n\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\n\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\n\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\n\\tvec3 F = mix(F_Schlick( f0, f90, dotVH ), iridescenceFresnel, iridescence);\\n\\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\\n\\tfloat D = D_GGX( alpha, dotNH );\\n\\treturn F * ( V * D );\\n}\\n#endif\\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\\n\\tconst float LUT_SIZE = 64.0;\\n\\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\\n\\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\\n\\tfloat dotNV = saturate( dot( N, V ) );\\n\\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\\n\\tuv = uv * LUT_SCALE + LUT_BIAS;\\n\\treturn uv;\\n}\\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\\n\\tfloat l = length( f );\\n\\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\\n}\\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\\n\\tfloat x = dot( v1, v2 );\\n\\tfloat y = abs( x );\\n\\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\\n\\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\\n\\tfloat v = a / b;\\n\\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\\n\\treturn cross( v1, v2 ) * theta_sintheta;\\n}\\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\\n\\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\\n\\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\\n\\tvec3 lightNormal = cross( v1, v2 );\\n\\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\\n\\tvec3 T1, T2;\\n\\tT1 = normalize( V - N * dot( V, N ) );\\n\\tT2 = - cross( N, T1 );\\n\\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\\n\\tvec3 coords[ 4 ];\\n\\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\\n\\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\\n\\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\\n\\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\\n\\tcoords[ 0 ] = normalize( coords[ 0 ] );\\n\\tcoords[ 1 ] = normalize( coords[ 1 ] );\\n\\tcoords[ 2 ] = normalize( coords[ 2 ] );\\n\\tcoords[ 3 ] = normalize( coords[ 3 ] );\\n\\tvec3 vectorFormFactor = vec3( 0.0 );\\n\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\\n\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\\n\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\\n\\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\\n\\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\\n\\treturn vec3( result );\\n}\\nfloat G_BlinnPhong_Implicit( ) {\\n\\treturn 0.25;\\n}\\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\\n\\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\\n}\\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\\n\\tvec3 halfDir = normalize( lightDir + viewDir );\\n\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\n\\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\\n\\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\\n\\tfloat G = G_BlinnPhong_Implicit( );\\n\\tfloat D = D_BlinnPhong( shininess, dotNH );\\n\\treturn F * ( G * D );\\n}\\n#if defined( USE_SHEEN )\\nfloat D_Charlie( float roughness, float dotNH ) {\\n\\tfloat alpha = pow2( roughness );\\n\\tfloat invAlpha = 1.0 / alpha;\\n\\tfloat cos2h = dotNH * dotNH;\\n\\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 );\\n\\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\\n}\\nfloat V_Neubelt( float dotNV, float dotNL ) {\\n\\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\\n}\\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\\n\\tvec3 halfDir = normalize( lightDir + viewDir );\\n\\tfloat dotNL = saturate( dot( normal, lightDir ) );\\n\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\n\\tfloat dotNH = saturate( dot( normal, halfDir ) );\\n\\tfloat D = D_Charlie( sheenRoughness, dotNH );\\n\\tfloat V = V_Neubelt( dotNV, dotNL );\\n\\treturn sheenColor * ( D * V );\\n}\\n#endif\";\n\n\tvar iridescence_fragment = \"#ifdef USE_IRIDESCENCE\\nconst mat3 XYZ_TO_REC709 = mat3(\\n\t\t3.2404542, -0.9692660,\t0.0556434,\\n\t -1.5371385,\t1.8760108, -0.2040259,\\n\t -0.4985314,\t0.0415560,\t1.0572252\\n);\\nvec3 Fresnel0ToIor( vec3 fresnel0 ) {\\n\t vec3 sqrtF0 = sqrt( fresnel0 );\\n\t return ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\\n}\\nvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\\n\t return pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\\n}\\nfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\\n\t return pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\\n}\\nvec3 evalSensitivity( float OPD, vec3 shift ) {\\n\t float phase = 2.0 * PI * OPD * 1.0e-9;\\n\t vec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\\n\t vec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\\n\t vec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\\n\t vec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( -pow2( phase ) * var );\\n\t xyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[0] ) * exp( -4.5282e+09 * pow2( phase ) );\\n\t xyz /= 1.0685e-7;\\n\t vec3 srgb = XYZ_TO_REC709 * xyz;\\n\t return srgb;\\n}\\nvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\\n\t vec3 I;\\n\t float iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\\n\t float sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\\n\t float cosTheta2Sq = 1.0 - sinTheta2Sq;\\n\t if ( cosTheta2Sq < 0.0 ) {\\n\t\t\t return vec3( 1.0 );\\n\t }\\n\t float cosTheta2 = sqrt( cosTheta2Sq );\\n\t float R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\\n\t float R12 = F_Schlick( R0, 1.0, cosTheta1 );\\n\t float R21 = R12;\\n\t float T121 = 1.0 - R12;\\n\t float phi12 = 0.0;\\n\t if ( iridescenceIOR < outsideIOR ) phi12 = PI;\\n\t float phi21 = PI - phi12;\\n\t vec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) );\t vec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\\n\t vec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\\n\t vec3 phi23 = vec3( 0.0 );\\n\t if ( baseIOR[0] < iridescenceIOR ) phi23[0] = PI;\\n\t if ( baseIOR[1] < iridescenceIOR ) phi23[1] = PI;\\n\t if ( baseIOR[2] < iridescenceIOR ) phi23[2] = PI;\\n\t float OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\\n\t vec3 phi = vec3( phi21 ) + phi23;\\n\t vec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\\n\t vec3 r123 = sqrt( R123 );\\n\t vec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\\n\t vec3 C0 = R12 + Rs;\\n\t I = C0;\\n\t vec3 Cm = Rs - T121;\\n\t for ( int m = 1; m <= 2; ++m ) {\\n\t\t\t Cm *= r123;\\n\t\t\t vec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\\n\t\t\t I += Cm * Sm;\\n\t }\\n\t return max( I, vec3( 0.0 ) );\\n}\\n#endif\";\n\n\tvar bumpmap_pars_fragment = \"#ifdef USE_BUMPMAP\\n\\tuniform sampler2D bumpMap;\\n\\tuniform float bumpScale;\\n\\tvec2 dHdxy_fwd() {\\n\\t\\tvec2 dSTdx = dFdx( vUv );\\n\\t\\tvec2 dSTdy = dFdy( vUv );\\n\\t\\tfloat Hll = bumpScale * texture2D( bumpMap, vUv ).x;\\n\\t\\tfloat dBx = bumpScale * texture2D( bumpMap, vUv + dSTdx ).x - Hll;\\n\\t\\tfloat dBy = bumpScale * texture2D( bumpMap, vUv + dSTdy ).x - Hll;\\n\\t\\treturn vec2( dBx, dBy );\\n\\t}\\n\\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\\n\\t\\tvec3 vSigmaX = vec3( dFdx( surf_pos.x ), dFdx( surf_pos.y ), dFdx( surf_pos.z ) );\\n\\t\\tvec3 vSigmaY = vec3( dFdy( surf_pos.x ), dFdy( surf_pos.y ), dFdy( surf_pos.z ) );\\n\\t\\tvec3 vN = surf_norm;\\n\\t\\tvec3 R1 = cross( vSigmaY, vN );\\n\\t\\tvec3 R2 = cross( vN, vSigmaX );\\n\\t\\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\\n\\t\\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\\n\\t\\treturn normalize( abs( fDet ) * surf_norm - vGrad );\\n\\t}\\n#endif\";\n\n\tvar clipping_planes_fragment = \"#if NUM_CLIPPING_PLANES > 0\\n\\tvec4 plane;\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\\n\\t\\tplane = clippingPlanes[ i ];\\n\\t\\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\\n\\t\\tbool clipped = true;\\n\\t\\t#pragma unroll_loop_start\\n\\t\\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\\n\\t\\t\\tplane = clippingPlanes[ i ];\\n\\t\\t\\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\\n\\t\\t}\\n\\t\\t#pragma unroll_loop_end\\n\\t\\tif ( clipped ) discard;\\n\\t#endif\\n#endif\";\n\n\tvar clipping_planes_pars_fragment = \"#if NUM_CLIPPING_PLANES > 0\\n\\tvarying vec3 vClipPosition;\\n\\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\\n#endif\";\n\n\tvar clipping_planes_pars_vertex = \"#if NUM_CLIPPING_PLANES > 0\\n\\tvarying vec3 vClipPosition;\\n#endif\";\n\n\tvar clipping_planes_vertex = \"#if NUM_CLIPPING_PLANES > 0\\n\\tvClipPosition = - mvPosition.xyz;\\n#endif\";\n\n\tvar color_fragment = \"#if defined( USE_COLOR_ALPHA )\\n\\tdiffuseColor *= vColor;\\n#elif defined( USE_COLOR )\\n\\tdiffuseColor.rgb *= vColor;\\n#endif\";\n\n\tvar color_pars_fragment = \"#if defined( USE_COLOR_ALPHA )\\n\\tvarying vec4 vColor;\\n#elif defined( USE_COLOR )\\n\\tvarying vec3 vColor;\\n#endif\";\n\n\tvar color_pars_vertex = \"#if defined( USE_COLOR_ALPHA )\\n\\tvarying vec4 vColor;\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\n\\tvarying vec3 vColor;\\n#endif\";\n\n\tvar color_vertex = \"#if defined( USE_COLOR_ALPHA )\\n\\tvColor = vec4( 1.0 );\\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR )\\n\\tvColor = vec3( 1.0 );\\n#endif\\n#ifdef USE_COLOR\\n\\tvColor *= color;\\n#endif\\n#ifdef USE_INSTANCING_COLOR\\n\\tvColor.xyz *= instanceColor.xyz;\\n#endif\";\n\n\tvar common = \"#define PI 3.141592653589793\\n#define PI2 6.283185307179586\\n#define PI_HALF 1.5707963267948966\\n#define RECIPROCAL_PI 0.3183098861837907\\n#define RECIPROCAL_PI2 0.15915494309189535\\n#define EPSILON 1e-6\\n#ifndef saturate\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\n#endif\\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\\nfloat pow2( const in float x ) { return x*x; }\\nvec3 pow2( const in vec3 x ) { return x*x; }\\nfloat pow3( const in float x ) { return x*x*x; }\\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\\nfloat average( const in vec3 color ) { return dot( color, vec3( 0.3333 ) ); }\\nhighp float rand( const in vec2 uv ) {\\n\\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\\n\\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\\n\\treturn fract( sin( sn ) * c );\\n}\\n#ifdef HIGH_PRECISION\\n\\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\\n#else\\n\\tfloat precisionSafeLength( vec3 v ) {\\n\\t\\tfloat maxComponent = max3( abs( v ) );\\n\\t\\treturn length( v / maxComponent ) * maxComponent;\\n\\t}\\n#endif\\nstruct IncidentLight {\\n\\tvec3 color;\\n\\tvec3 direction;\\n\\tbool visible;\\n};\\nstruct ReflectedLight {\\n\\tvec3 directDiffuse;\\n\\tvec3 directSpecular;\\n\\tvec3 indirectDiffuse;\\n\\tvec3 indirectSpecular;\\n};\\nstruct GeometricContext {\\n\\tvec3 position;\\n\\tvec3 normal;\\n\\tvec3 viewDir;\\n#ifdef USE_CLEARCOAT\\n\\tvec3 clearcoatNormal;\\n#endif\\n};\\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\\n\\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\\n}\\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\\n\\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\\n}\\nmat3 transposeMat3( const in mat3 m ) {\\n\\tmat3 tmp;\\n\\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\\n\\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\\n\\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\\n\\treturn tmp;\\n}\\nfloat linearToRelativeLuminance( const in vec3 color ) {\\n\\tvec3 weights = vec3( 0.2126, 0.7152, 0.0722 );\\n\\treturn dot( weights, color.rgb );\\n}\\nbool isPerspectiveMatrix( mat4 m ) {\\n\\treturn m[ 2 ][ 3 ] == - 1.0;\\n}\\nvec2 equirectUv( in vec3 dir ) {\\n\\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\\n\\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\\n\\treturn vec2( u, v );\\n}\";\n\n\tvar cube_uv_reflection_fragment = \"#ifdef ENVMAP_TYPE_CUBE_UV\\n\\t#define cubeUV_minMipLevel 4.0\\n\\t#define cubeUV_minTileSize 16.0\\n\\tfloat getFace( vec3 direction ) {\\n\\t\\tvec3 absDirection = abs( direction );\\n\\t\\tfloat face = - 1.0;\\n\\t\\tif ( absDirection.x > absDirection.z ) {\\n\\t\\t\\tif ( absDirection.x > absDirection.y )\\n\\t\\t\\t\\tface = direction.x > 0.0 ? 0.0 : 3.0;\\n\\t\\t\\telse\\n\\t\\t\\t\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\n\\t\\t} else {\\n\\t\\t\\tif ( absDirection.z > absDirection.y )\\n\\t\\t\\t\\tface = direction.z > 0.0 ? 2.0 : 5.0;\\n\\t\\t\\telse\\n\\t\\t\\t\\tface = direction.y > 0.0 ? 1.0 : 4.0;\\n\\t\\t}\\n\\t\\treturn face;\\n\\t}\\n\\tvec2 getUV( vec3 direction, float face ) {\\n\\t\\tvec2 uv;\\n\\t\\tif ( face == 0.0 ) {\\n\\t\\t\\tuv = vec2( direction.z, direction.y ) / abs( direction.x );\\n\\t\\t} else if ( face == 1.0 ) {\\n\\t\\t\\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y );\\n\\t\\t} else if ( face == 2.0 ) {\\n\\t\\t\\tuv = vec2( - direction.x, direction.y ) / abs( direction.z );\\n\\t\\t} else if ( face == 3.0 ) {\\n\\t\\t\\tuv = vec2( - direction.z, direction.y ) / abs( direction.x );\\n\\t\\t} else if ( face == 4.0 ) {\\n\\t\\t\\tuv = vec2( - direction.x, direction.z ) / abs( direction.y );\\n\\t\\t} else {\\n\\t\\t\\tuv = vec2( direction.x, direction.y ) / abs( direction.z );\\n\\t\\t}\\n\\t\\treturn 0.5 * ( uv + 1.0 );\\n\\t}\\n\\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\\n\\t\\tfloat face = getFace( direction );\\n\\t\\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\\n\\t\\tmipInt = max( mipInt, cubeUV_minMipLevel );\\n\\t\\tfloat faceSize = exp2( mipInt );\\n\\t\\tvec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0;\\n\\t\\tif ( face > 2.0 ) {\\n\\t\\t\\tuv.y += faceSize;\\n\\t\\t\\tface -= 3.0;\\n\\t\\t}\\n\\t\\tuv.x += face * faceSize;\\n\\t\\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\\n\\t\\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\\n\\t\\tuv.x *= CUBEUV_TEXEL_WIDTH;\\n\\t\\tuv.y *= CUBEUV_TEXEL_HEIGHT;\\n\\t\\t#ifdef texture2DGradEXT\\n\\t\\t\\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb;\\n\\t\\t#else\\n\\t\\t\\treturn texture2D( envMap, uv ).rgb;\\n\\t\\t#endif\\n\\t}\\n\\t#define r0 1.0\\n\\t#define v0 0.339\\n\\t#define m0 - 2.0\\n\\t#define r1 0.8\\n\\t#define v1 0.276\\n\\t#define m1 - 1.0\\n\\t#define r4 0.4\\n\\t#define v4 0.046\\n\\t#define m4 2.0\\n\\t#define r5 0.305\\n\\t#define v5 0.016\\n\\t#define m5 3.0\\n\\t#define r6 0.21\\n\\t#define v6 0.0038\\n\\t#define m6 4.0\\n\\tfloat roughnessToMip( float roughness ) {\\n\\t\\tfloat mip = 0.0;\\n\\t\\tif ( roughness >= r1 ) {\\n\\t\\t\\tmip = ( r0 - roughness ) * ( m1 - m0 ) / ( r0 - r1 ) + m0;\\n\\t\\t} else if ( roughness >= r4 ) {\\n\\t\\t\\tmip = ( r1 - roughness ) * ( m4 - m1 ) / ( r1 - r4 ) + m1;\\n\\t\\t} else if ( roughness >= r5 ) {\\n\\t\\t\\tmip = ( r4 - roughness ) * ( m5 - m4 ) / ( r4 - r5 ) + m4;\\n\\t\\t} else if ( roughness >= r6 ) {\\n\\t\\t\\tmip = ( r5 - roughness ) * ( m6 - m5 ) / ( r5 - r6 ) + m5;\\n\\t\\t} else {\\n\\t\\t\\tmip = - 2.0 * log2( 1.16 * roughness );\\t\\t}\\n\\t\\treturn mip;\\n\\t}\\n\\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\\n\\t\\tfloat mip = clamp( roughnessToMip( roughness ), m0, CUBEUV_MAX_MIP );\\n\\t\\tfloat mipF = fract( mip );\\n\\t\\tfloat mipInt = floor( mip );\\n\\t\\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\\n\\t\\tif ( mipF == 0.0 ) {\\n\\t\\t\\treturn vec4( color0, 1.0 );\\n\\t\\t} else {\\n\\t\\t\\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\\n\\t\\t\\treturn vec4( mix( color0, color1, mipF ), 1.0 );\\n\\t\\t}\\n\\t}\\n#endif\";\n\n\tvar defaultnormal_vertex = \"vec3 transformedNormal = objectNormal;\\n#ifdef USE_INSTANCING\\n\\tmat3 m = mat3( instanceMatrix );\\n\\ttransformedNormal /= vec3( dot( m[ 0 ], m[ 0 ] ), dot( m[ 1 ], m[ 1 ] ), dot( m[ 2 ], m[ 2 ] ) );\\n\\ttransformedNormal = m * transformedNormal;\\n#endif\\ntransformedNormal = normalMatrix * transformedNormal;\\n#ifdef FLIP_SIDED\\n\\ttransformedNormal = - transformedNormal;\\n#endif\\n#ifdef USE_TANGENT\\n\\tvec3 transformedTangent = ( modelViewMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\n\\t#ifdef FLIP_SIDED\\n\\t\\ttransformedTangent = - transformedTangent;\\n\\t#endif\\n#endif\";\n\n\tvar displacementmap_pars_vertex = \"#ifdef USE_DISPLACEMENTMAP\\n\\tuniform sampler2D displacementMap;\\n\\tuniform float displacementScale;\\n\\tuniform float displacementBias;\\n#endif\";\n\n\tvar displacementmap_vertex = \"#ifdef USE_DISPLACEMENTMAP\\n\\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vUv ).x * displacementScale + displacementBias );\\n#endif\";\n\n\tvar emissivemap_fragment = \"#ifdef USE_EMISSIVEMAP\\n\\tvec4 emissiveColor = texture2D( emissiveMap, vUv );\\n\\ttotalEmissiveRadiance *= emissiveColor.rgb;\\n#endif\";\n\n\tvar emissivemap_pars_fragment = \"#ifdef USE_EMISSIVEMAP\\n\\tuniform sampler2D emissiveMap;\\n#endif\";\n\n\tvar encodings_fragment = \"gl_FragColor = linearToOutputTexel( gl_FragColor );\";\n\n\tvar encodings_pars_fragment = \"vec4 LinearToLinear( in vec4 value ) {\\n\\treturn value;\\n}\\nvec4 LinearTosRGB( in vec4 value ) {\\n\\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\\n}\";\n\n\tvar envmap_fragment = \"#ifdef USE_ENVMAP\\n\\t#ifdef ENV_WORLDPOS\\n\\t\\tvec3 cameraToFrag;\\n\\t\\tif ( isOrthographic ) {\\n\\t\\t\\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\n\\t\\t} else {\\n\\t\\t\\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\\n\\t\\t}\\n\\t\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\n\\t\\t#ifdef ENVMAP_MODE_REFLECTION\\n\\t\\t\\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\\n\\t\\t#else\\n\\t\\t\\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\\n\\t\\t#endif\\n\\t#else\\n\\t\\tvec3 reflectVec = vReflect;\\n\\t#endif\\n\\t#ifdef ENVMAP_TYPE_CUBE\\n\\t\\tvec4 envColor = textureCube( envMap, vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\\n\\t#elif defined( ENVMAP_TYPE_CUBE_UV )\\n\\t\\tvec4 envColor = textureCubeUV( envMap, reflectVec, 0.0 );\\n\\t#else\\n\\t\\tvec4 envColor = vec4( 0.0 );\\n\\t#endif\\n\\t#ifdef ENVMAP_BLENDING_MULTIPLY\\n\\t\\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\\n\\t#elif defined( ENVMAP_BLENDING_MIX )\\n\\t\\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\\n\\t#elif defined( ENVMAP_BLENDING_ADD )\\n\\t\\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\\n\\t#endif\\n#endif\";\n\n\tvar envmap_common_pars_fragment = \"#ifdef USE_ENVMAP\\n\\tuniform float envMapIntensity;\\n\\tuniform float flipEnvMap;\\n\\t#ifdef ENVMAP_TYPE_CUBE\\n\\t\\tuniform samplerCube envMap;\\n\\t#else\\n\\t\\tuniform sampler2D envMap;\\n\\t#endif\\n\\t\\n#endif\";\n\n\tvar envmap_pars_fragment = \"#ifdef USE_ENVMAP\\n\\tuniform float reflectivity;\\n\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG )\\n\\t\\t#define ENV_WORLDPOS\\n\\t#endif\\n\\t#ifdef ENV_WORLDPOS\\n\\t\\tvarying vec3 vWorldPosition;\\n\\t\\tuniform float refractionRatio;\\n\\t#else\\n\\t\\tvarying vec3 vReflect;\\n\\t#endif\\n#endif\";\n\n\tvar envmap_pars_vertex = \"#ifdef USE_ENVMAP\\n\\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) ||defined( PHONG )\\n\\t\\t#define ENV_WORLDPOS\\n\\t#endif\\n\\t#ifdef ENV_WORLDPOS\\n\\t\\t\\n\\t\\tvarying vec3 vWorldPosition;\\n\\t#else\\n\\t\\tvarying vec3 vReflect;\\n\\t\\tuniform float refractionRatio;\\n\\t#endif\\n#endif\";\n\n\tvar envmap_vertex = \"#ifdef USE_ENVMAP\\n\\t#ifdef ENV_WORLDPOS\\n\\t\\tvWorldPosition = worldPosition.xyz;\\n\\t#else\\n\\t\\tvec3 cameraToVertex;\\n\\t\\tif ( isOrthographic ) {\\n\\t\\t\\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\\n\\t\\t} else {\\n\\t\\t\\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\\n\\t\\t}\\n\\t\\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\n\\t\\t#ifdef ENVMAP_MODE_REFLECTION\\n\\t\\t\\tvReflect = reflect( cameraToVertex, worldNormal );\\n\\t\\t#else\\n\\t\\t\\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\\n\\t\\t#endif\\n\\t#endif\\n#endif\";\n\n\tvar fog_vertex = \"#ifdef USE_FOG\\n\\tvFogDepth = - mvPosition.z;\\n#endif\";\n\n\tvar fog_pars_vertex = \"#ifdef USE_FOG\\n\\tvarying float vFogDepth;\\n#endif\";\n\n\tvar fog_fragment = \"#ifdef USE_FOG\\n\\t#ifdef FOG_EXP2\\n\\t\\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\\n\\t#else\\n\\t\\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\\n\\t#endif\\n\\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\\n#endif\";\n\n\tvar fog_pars_fragment = \"#ifdef USE_FOG\\n\\tuniform vec3 fogColor;\\n\\tvarying float vFogDepth;\\n\\t#ifdef FOG_EXP2\\n\\t\\tuniform float fogDensity;\\n\\t#else\\n\\t\\tuniform float fogNear;\\n\\t\\tuniform float fogFar;\\n\\t#endif\\n#endif\";\n\n\tvar gradientmap_pars_fragment = \"#ifdef USE_GRADIENTMAP\\n\\tuniform sampler2D gradientMap;\\n#endif\\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\\n\\tfloat dotNL = dot( normal, lightDirection );\\n\\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\\n\\t#ifdef USE_GRADIENTMAP\\n\\t\\treturn vec3( texture2D( gradientMap, coord ).r );\\n\\t#else\\n\\t\\treturn ( coord.x < 0.7 ) ? vec3( 0.7 ) : vec3( 1.0 );\\n\\t#endif\\n}\";\n\n\tvar lightmap_fragment = \"#ifdef USE_LIGHTMAP\\n\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\n\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\n\\treflectedLight.indirectDiffuse += lightMapIrradiance;\\n#endif\";\n\n\tvar lightmap_pars_fragment = \"#ifdef USE_LIGHTMAP\\n\\tuniform sampler2D lightMap;\\n\\tuniform float lightMapIntensity;\\n#endif\";\n\n\tvar lights_lambert_vertex = \"vec3 diffuse = vec3( 1.0 );\\nGeometricContext geometry;\\ngeometry.position = mvPosition.xyz;\\ngeometry.normal = normalize( transformedNormal );\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( -mvPosition.xyz );\\nGeometricContext backGeometry;\\nbackGeometry.position = geometry.position;\\nbackGeometry.normal = -geometry.normal;\\nbackGeometry.viewDir = geometry.viewDir;\\nvLightFront = vec3( 0.0 );\\nvIndirectFront = vec3( 0.0 );\\n#ifdef DOUBLE_SIDED\\n\\tvLightBack = vec3( 0.0 );\\n\\tvIndirectBack = vec3( 0.0 );\\n#endif\\nIncidentLight directLight;\\nfloat dotNL;\\nvec3 directLightColor_Diffuse;\\nvIndirectFront += getAmbientLightIrradiance( ambientLightColor );\\nvIndirectFront += getLightProbeIrradiance( lightProbe, geometry.normal );\\n#ifdef DOUBLE_SIDED\\n\\tvIndirectBack += getAmbientLightIrradiance( ambientLightColor );\\n\\tvIndirectBack += getLightProbeIrradiance( lightProbe, backGeometry.normal );\\n#endif\\n#if NUM_POINT_LIGHTS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\n\\t\\tgetPointLightInfo( pointLights[ i ], geometry, directLight );\\n\\t\\tdotNL = dot( geometry.normal, directLight.direction );\\n\\t\\tdirectLightColor_Diffuse = directLight.color;\\n\\t\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\n\\t\\t#ifdef DOUBLE_SIDED\\n\\t\\t\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\n\\t\\t#endif\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if NUM_SPOT_LIGHTS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\n\\t\\tgetSpotLightInfo( spotLights[ i ], geometry, directLight );\\n\\t\\tdotNL = dot( geometry.normal, directLight.direction );\\n\\t\\tdirectLightColor_Diffuse = directLight.color;\\n\\t\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\n\\t\\t#ifdef DOUBLE_SIDED\\n\\t\\t\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\n\\t\\t#endif\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if NUM_DIR_LIGHTS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\n\\t\\tgetDirectionalLightInfo( directionalLights[ i ], geometry, directLight );\\n\\t\\tdotNL = dot( geometry.normal, directLight.direction );\\n\\t\\tdirectLightColor_Diffuse = directLight.color;\\n\\t\\tvLightFront += saturate( dotNL ) * directLightColor_Diffuse;\\n\\t\\t#ifdef DOUBLE_SIDED\\n\\t\\t\\tvLightBack += saturate( - dotNL ) * directLightColor_Diffuse;\\n\\t\\t#endif\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if NUM_HEMI_LIGHTS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\n\\t\\tvIndirectFront += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\n\\t\\t#ifdef DOUBLE_SIDED\\n\\t\\t\\tvIndirectBack += getHemisphereLightIrradiance( hemisphereLights[ i ], backGeometry.normal );\\n\\t\\t#endif\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\";\n\n\tvar lights_pars_begin = \"uniform bool receiveShadow;\\nuniform vec3 ambientLightColor;\\nuniform vec3 lightProbe[ 9 ];\\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\\n\\tfloat x = normal.x, y = normal.y, z = normal.z;\\n\\tvec3 result = shCoefficients[ 0 ] * 0.886227;\\n\\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\\n\\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\\n\\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\\n\\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\\n\\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\\n\\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\\n\\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\\n\\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\\n\\treturn result;\\n}\\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\\n\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\n\\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\\n\\treturn irradiance;\\n}\\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\\n\\tvec3 irradiance = ambientLightColor;\\n\\treturn irradiance;\\n}\\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\\n\\t#if defined ( PHYSICALLY_CORRECT_LIGHTS )\\n\\t\\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\\n\\t\\tif ( cutoffDistance > 0.0 ) {\\n\\t\\t\\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\\n\\t\\t}\\n\\t\\treturn distanceFalloff;\\n\\t#else\\n\\t\\tif ( cutoffDistance > 0.0 && decayExponent > 0.0 ) {\\n\\t\\t\\treturn pow( saturate( - lightDistance / cutoffDistance + 1.0 ), decayExponent );\\n\\t\\t}\\n\\t\\treturn 1.0;\\n\\t#endif\\n}\\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\\n\\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\\n}\\n#if NUM_DIR_LIGHTS > 0\\n\\tstruct DirectionalLight {\\n\\t\\tvec3 direction;\\n\\t\\tvec3 color;\\n\\t};\\n\\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\\n\\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, const in GeometricContext geometry, out IncidentLight light ) {\\n\\t\\tlight.color = directionalLight.color;\\n\\t\\tlight.direction = directionalLight.direction;\\n\\t\\tlight.visible = true;\\n\\t}\\n#endif\\n#if NUM_POINT_LIGHTS > 0\\n\\tstruct PointLight {\\n\\t\\tvec3 position;\\n\\t\\tvec3 color;\\n\\t\\tfloat distance;\\n\\t\\tfloat decay;\\n\\t};\\n\\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\\n\\tvoid getPointLightInfo( const in PointLight pointLight, const in GeometricContext geometry, out IncidentLight light ) {\\n\\t\\tvec3 lVector = pointLight.position - geometry.position;\\n\\t\\tlight.direction = normalize( lVector );\\n\\t\\tfloat lightDistance = length( lVector );\\n\\t\\tlight.color = pointLight.color;\\n\\t\\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\\n\\t\\tlight.visible = ( light.color != vec3( 0.0 ) );\\n\\t}\\n#endif\\n#if NUM_SPOT_LIGHTS > 0\\n\\tstruct SpotLight {\\n\\t\\tvec3 position;\\n\\t\\tvec3 direction;\\n\\t\\tvec3 color;\\n\\t\\tfloat distance;\\n\\t\\tfloat decay;\\n\\t\\tfloat coneCos;\\n\\t\\tfloat penumbraCos;\\n\\t};\\n\\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\\n\\tvoid getSpotLightInfo( const in SpotLight spotLight, const in GeometricContext geometry, out IncidentLight light ) {\\n\\t\\tvec3 lVector = spotLight.position - geometry.position;\\n\\t\\tlight.direction = normalize( lVector );\\n\\t\\tfloat angleCos = dot( light.direction, spotLight.direction );\\n\\t\\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\\n\\t\\tif ( spotAttenuation > 0.0 ) {\\n\\t\\t\\tfloat lightDistance = length( lVector );\\n\\t\\t\\tlight.color = spotLight.color * spotAttenuation;\\n\\t\\t\\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\\n\\t\\t\\tlight.visible = ( light.color != vec3( 0.0 ) );\\n\\t\\t} else {\\n\\t\\t\\tlight.color = vec3( 0.0 );\\n\\t\\t\\tlight.visible = false;\\n\\t\\t}\\n\\t}\\n#endif\\n#if NUM_RECT_AREA_LIGHTS > 0\\n\\tstruct RectAreaLight {\\n\\t\\tvec3 color;\\n\\t\\tvec3 position;\\n\\t\\tvec3 halfWidth;\\n\\t\\tvec3 halfHeight;\\n\\t};\\n\\tuniform sampler2D ltc_1;\\tuniform sampler2D ltc_2;\\n\\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\\n#endif\\n#if NUM_HEMI_LIGHTS > 0\\n\\tstruct HemisphereLight {\\n\\t\\tvec3 direction;\\n\\t\\tvec3 skyColor;\\n\\t\\tvec3 groundColor;\\n\\t};\\n\\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\\n\\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\\n\\t\\tfloat dotNL = dot( normal, hemiLight.direction );\\n\\t\\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\\n\\t\\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\\n\\t\\treturn irradiance;\\n\\t}\\n#endif\";\n\n\tvar envmap_physical_pars_fragment = \"#if defined( USE_ENVMAP )\\n\\tvec3 getIBLIrradiance( const in vec3 normal ) {\\n\\t\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\n\\t\\t\\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\\n\\t\\t\\tvec4 envMapColor = textureCubeUV( envMap, worldNormal, 1.0 );\\n\\t\\t\\treturn PI * envMapColor.rgb * envMapIntensity;\\n\\t\\t#else\\n\\t\\t\\treturn vec3( 0.0 );\\n\\t\\t#endif\\n\\t}\\n\\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\\n\\t\\t#if defined( ENVMAP_TYPE_CUBE_UV )\\n\\t\\t\\tvec3 reflectVec = reflect( - viewDir, normal );\\n\\t\\t\\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\\n\\t\\t\\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\\n\\t\\t\\tvec4 envMapColor = textureCubeUV( envMap, reflectVec, roughness );\\n\\t\\t\\treturn envMapColor.rgb * envMapIntensity;\\n\\t\\t#else\\n\\t\\t\\treturn vec3( 0.0 );\\n\\t\\t#endif\\n\\t}\\n#endif\";\n\n\tvar lights_toon_fragment = \"ToonMaterial material;\\nmaterial.diffuseColor = diffuseColor.rgb;\";\n\n\tvar lights_toon_pars_fragment = \"varying vec3 vViewPosition;\\nstruct ToonMaterial {\\n\\tvec3 diffuseColor;\\n};\\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\n\\tvec3 irradiance = getGradientIrradiance( geometry.normal, directLight.direction ) * directLight.color;\\n\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n}\\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in GeometricContext geometry, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\\n\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n}\\n#define RE_Direct\\t\\t\\t\\tRE_Direct_Toon\\n#define RE_IndirectDiffuse\\t\\tRE_IndirectDiffuse_Toon\\n#define Material_LightProbeLOD( material )\\t(0)\";\n\n\tvar lights_phong_fragment = \"BlinnPhongMaterial material;\\nmaterial.diffuseColor = diffuseColor.rgb;\\nmaterial.specularColor = specular;\\nmaterial.specularShininess = shininess;\\nmaterial.specularStrength = specularStrength;\";\n\n\tvar lights_phong_pars_fragment = \"varying vec3 vViewPosition;\\nstruct BlinnPhongMaterial {\\n\\tvec3 diffuseColor;\\n\\tvec3 specularColor;\\n\\tfloat specularShininess;\\n\\tfloat specularStrength;\\n};\\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\n\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\n\\tvec3 irradiance = dotNL * directLight.color;\\n\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n\\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularShininess ) * material.specularStrength;\\n}\\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in GeometricContext geometry, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\\n\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n}\\n#define RE_Direct\\t\\t\\t\\tRE_Direct_BlinnPhong\\n#define RE_IndirectDiffuse\\t\\tRE_IndirectDiffuse_BlinnPhong\\n#define Material_LightProbeLOD( material )\\t(0)\";\n\n\tvar lights_physical_fragment = \"PhysicalMaterial material;\\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\\nvec3 dxy = max( abs( dFdx( geometryNormal ) ), abs( dFdy( geometryNormal ) ) );\\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\\nmaterial.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness;\\nmaterial.roughness = min( material.roughness, 1.0 );\\n#ifdef IOR\\n\\t#ifdef SPECULAR\\n\\t\\tfloat specularIntensityFactor = specularIntensity;\\n\\t\\tvec3 specularColorFactor = specularColor;\\n\\t\\t#ifdef USE_SPECULARINTENSITYMAP\\n\\t\\t\\tspecularIntensityFactor *= texture2D( specularIntensityMap, vUv ).a;\\n\\t\\t#endif\\n\\t\\t#ifdef USE_SPECULARCOLORMAP\\n\\t\\t\\tspecularColorFactor *= texture2D( specularColorMap, vUv ).rgb;\\n\\t\\t#endif\\n\\t\\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\\n\\t#else\\n\\t\\tfloat specularIntensityFactor = 1.0;\\n\\t\\tvec3 specularColorFactor = vec3( 1.0 );\\n\\t\\tmaterial.specularF90 = 1.0;\\n\\t#endif\\n\\tmaterial.specularColor = mix( min( pow2( ( ior - 1.0 ) / ( ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\\n#else\\n\\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\\n\\tmaterial.specularF90 = 1.0;\\n#endif\\n#ifdef USE_CLEARCOAT\\n\\tmaterial.clearcoat = clearcoat;\\n\\tmaterial.clearcoatRoughness = clearcoatRoughness;\\n\\tmaterial.clearcoatF0 = vec3( 0.04 );\\n\\tmaterial.clearcoatF90 = 1.0;\\n\\t#ifdef USE_CLEARCOATMAP\\n\\t\\tmaterial.clearcoat *= texture2D( clearcoatMap, vUv ).x;\\n\\t#endif\\n\\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\n\\t\\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vUv ).y;\\n\\t#endif\\n\\tmaterial.clearcoat = saturate( material.clearcoat );\\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\\n\\tmaterial.clearcoatRoughness += geometryRoughness;\\n\\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\\n#endif\\n#ifdef USE_IRIDESCENCE\\n\\tmaterial.iridescence = iridescence;\\n\\tmaterial.iridescenceIOR = iridescenceIOR;\\n\\t#ifdef USE_IRIDESCENCEMAP\\n\\t\\tmaterial.iridescence *= texture2D( iridescenceMap, vUv ).r;\\n\\t#endif\\n\\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\\n\\t\\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vUv ).g + iridescenceThicknessMinimum;\\n\\t#else\\n\\t\\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\\n\\t#endif\\n#endif\\n#ifdef USE_SHEEN\\n\\tmaterial.sheenColor = sheenColor;\\n\\t#ifdef USE_SHEENCOLORMAP\\n\\t\\tmaterial.sheenColor *= texture2D( sheenColorMap, vUv ).rgb;\\n\\t#endif\\n\\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\\n\\t#ifdef USE_SHEENROUGHNESSMAP\\n\\t\\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vUv ).a;\\n\\t#endif\\n#endif\";\n\n\tvar lights_physical_pars_fragment = \"struct PhysicalMaterial {\\n\\tvec3 diffuseColor;\\n\\tfloat roughness;\\n\\tvec3 specularColor;\\n\\tfloat specularF90;\\n\\t#ifdef USE_CLEARCOAT\\n\\t\\tfloat clearcoat;\\n\\t\\tfloat clearcoatRoughness;\\n\\t\\tvec3 clearcoatF0;\\n\\t\\tfloat clearcoatF90;\\n\\t#endif\\n\\t#ifdef USE_IRIDESCENCE\\n\\t\\tfloat iridescence;\\n\\t\\tfloat iridescenceIOR;\\n\\t\\tfloat iridescenceThickness;\\n\\t\\tvec3 iridescenceFresnel;\\n\\t\\tvec3 iridescenceF0;\\n\\t#endif\\n\\t#ifdef USE_SHEEN\\n\\t\\tvec3 sheenColor;\\n\\t\\tfloat sheenRoughness;\\n\\t#endif\\n};\\nvec3 clearcoatSpecular = vec3( 0.0 );\\nvec3 sheenSpecular = vec3( 0.0 );\\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness) {\\n\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\n\\tfloat r2 = roughness * roughness;\\n\\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\\n\\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\\n\\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\\n\\treturn saturate( DG * RECIPROCAL_PI );\\n}\\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\\n\\tfloat dotNV = saturate( dot( normal, viewDir ) );\\n\\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\\n\\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\\n\\tvec4 r = roughness * c0 + c1;\\n\\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\\n\\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\\n\\treturn fab;\\n}\\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\\n\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\n\\treturn specularColor * fab.x + specularF90 * fab.y;\\n}\\n#ifdef USE_IRIDESCENCE\\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\n#else\\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\\n#endif\\n\\tvec2 fab = DFGApprox( normal, viewDir, roughness );\\n\\t#ifdef USE_IRIDESCENCE\\n\\t\\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\\n\\t#else\\n\\t\\tvec3 Fr = specularColor;\\n\\t#endif\\n\\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\\n\\tfloat Ess = fab.x + fab.y;\\n\\tfloat Ems = 1.0 - Ess;\\n\\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619;\\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\\n\\tsingleScatter += FssEss;\\n\\tmultiScatter += Fms * Ems;\\n}\\n#if NUM_RECT_AREA_LIGHTS > 0\\n\\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\n\\t\\tvec3 normal = geometry.normal;\\n\\t\\tvec3 viewDir = geometry.viewDir;\\n\\t\\tvec3 position = geometry.position;\\n\\t\\tvec3 lightPos = rectAreaLight.position;\\n\\t\\tvec3 halfWidth = rectAreaLight.halfWidth;\\n\\t\\tvec3 halfHeight = rectAreaLight.halfHeight;\\n\\t\\tvec3 lightColor = rectAreaLight.color;\\n\\t\\tfloat roughness = material.roughness;\\n\\t\\tvec3 rectCoords[ 4 ];\\n\\t\\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight;\\t\\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\\n\\t\\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\\n\\t\\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\\n\\t\\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\\n\\t\\tvec4 t1 = texture2D( ltc_1, uv );\\n\\t\\tvec4 t2 = texture2D( ltc_2, uv );\\n\\t\\tmat3 mInv = mat3(\\n\\t\\t\\tvec3( t1.x, 0, t1.y ),\\n\\t\\t\\tvec3(\t\t0, 1,\t\t0 ),\\n\\t\\t\\tvec3( t1.z, 0, t1.w )\\n\\t\\t);\\n\\t\\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\\n\\t\\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\\n\\t\\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\\n\\t}\\n#endif\\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\n\\tfloat dotNL = saturate( dot( geometry.normal, directLight.direction ) );\\n\\tvec3 irradiance = dotNL * directLight.color;\\n\\t#ifdef USE_CLEARCOAT\\n\\t\\tfloat dotNLcc = saturate( dot( geometry.clearcoatNormal, directLight.direction ) );\\n\\t\\tvec3 ccIrradiance = dotNLcc * directLight.color;\\n\\t\\tclearcoatSpecular += ccIrradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.clearcoatNormal, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\n\\t#endif\\n\\t#ifdef USE_SHEEN\\n\\t\\tsheenSpecular += irradiance * BRDF_Sheen( directLight.direction, geometry.viewDir, geometry.normal, material.sheenColor, material.sheenRoughness );\\n\\t#endif\\n\\t#ifdef USE_IRIDESCENCE\\n\\t\\treflectedLight.directSpecular += irradiance * BRDF_GGX_Iridescence( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness );\\n\\t#else\\n\\t\\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometry.viewDir, geometry.normal, material.specularColor, material.specularF90, material.roughness );\\n\\t#endif\\n\\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n}\\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\\n\\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\\n}\\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in GeometricContext geometry, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\\n\\t#ifdef USE_CLEARCOAT\\n\\t\\tclearcoatSpecular += clearcoatRadiance * EnvironmentBRDF( geometry.clearcoatNormal, geometry.viewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\\n\\t#endif\\n\\t#ifdef USE_SHEEN\\n\\t\\tsheenSpecular += irradiance * material.sheenColor * IBLSheenBRDF( geometry.normal, geometry.viewDir, material.sheenRoughness );\\n\\t#endif\\n\\tvec3 singleScattering = vec3( 0.0 );\\n\\tvec3 multiScattering = vec3( 0.0 );\\n\\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\\n\\t#ifdef USE_IRIDESCENCE\\n\\t\\tcomputeMultiscatteringIridescence( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\\n\\t#else\\n\\t\\tcomputeMultiscattering( geometry.normal, geometry.viewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\\n\\t#endif\\n\\tvec3 totalScattering = singleScattering + multiScattering;\\n\\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\\n\\treflectedLight.indirectSpecular += radiance * singleScattering;\\n\\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\\n\\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\\n}\\n#define RE_Direct\\t\\t\\t\\tRE_Direct_Physical\\n#define RE_Direct_RectArea\\t\\tRE_Direct_RectArea_Physical\\n#define RE_IndirectDiffuse\\t\\tRE_IndirectDiffuse_Physical\\n#define RE_IndirectSpecular\\t\\tRE_IndirectSpecular_Physical\\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\\n\\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\\n}\";\n\n\tvar lights_fragment_begin = \"\\nGeometricContext geometry;\\ngeometry.position = - vViewPosition;\\ngeometry.normal = normal;\\ngeometry.viewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\\n#ifdef USE_CLEARCOAT\\n\\tgeometry.clearcoatNormal = clearcoatNormal;\\n#endif\\n#ifdef USE_IRIDESCENCE\\nfloat dotNVi = saturate( dot( normal, geometry.viewDir ) );\\nif ( material.iridescenceThickness == 0.0 ) {\\n\\tmaterial.iridescence = 0.0;\\n} else {\\n\\tmaterial.iridescence = saturate( material.iridescence );\\n}\\nif ( material.iridescence > 0.0 ) {\\n\\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\\n\\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\\n}\\n#endif\\nIncidentLight directLight;\\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\\n\\tPointLight pointLight;\\n\\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\\n\\tPointLightShadow pointLightShadow;\\n\\t#endif\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\\n\\t\\tpointLight = pointLights[ i ];\\n\\t\\tgetPointLightInfo( pointLight, geometry, directLight );\\n\\t\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\\n\\t\\tpointLightShadow = pointLightShadows[ i ];\\n\\t\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\\n\\t\\t#endif\\n\\t\\tRE_Direct( directLight, geometry, material, reflectedLight );\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\\n\\tSpotLight spotLight;\\n\\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\\n\\tSpotLightShadow spotLightShadow;\\n\\t#endif\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\\n\\t\\tspotLight = spotLights[ i ];\\n\\t\\tgetSpotLightInfo( spotLight, geometry, directLight );\\n\\t\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\\n\\t\\tspotLightShadow = spotLightShadows[ i ];\\n\\t\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\n\\t\\t#endif\\n\\t\\tRE_Direct( directLight, geometry, material, reflectedLight );\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\\n\\tDirectionalLight directionalLight;\\n\\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\\n\\tDirectionalLightShadow directionalLightShadow;\\n\\t#endif\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\\n\\t\\tdirectionalLight = directionalLights[ i ];\\n\\t\\tgetDirectionalLightInfo( directionalLight, geometry, directLight );\\n\\t\\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\\n\\t\\tdirectionalLightShadow = directionalLightShadows[ i ];\\n\\t\\tdirectLight.color *= all( bvec2( directLight.visible, receiveShadow ) ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\n\\t\\t#endif\\n\\t\\tRE_Direct( directLight, geometry, material, reflectedLight );\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\\n\\tRectAreaLight rectAreaLight;\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\\n\\t\\trectAreaLight = rectAreaLights[ i ];\\n\\t\\tRE_Direct_RectArea( rectAreaLight, geometry, material, reflectedLight );\\n\\t}\\n\\t#pragma unroll_loop_end\\n#endif\\n#if defined( RE_IndirectDiffuse )\\n\\tvec3 iblIrradiance = vec3( 0.0 );\\n\\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\\n\\tirradiance += getLightProbeIrradiance( lightProbe, geometry.normal );\\n\\t#if ( NUM_HEMI_LIGHTS > 0 )\\n\\t\\t#pragma unroll_loop_start\\n\\t\\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\\n\\t\\t\\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometry.normal );\\n\\t\\t}\\n\\t\\t#pragma unroll_loop_end\\n\\t#endif\\n#endif\\n#if defined( RE_IndirectSpecular )\\n\\tvec3 radiance = vec3( 0.0 );\\n\\tvec3 clearcoatRadiance = vec3( 0.0 );\\n#endif\";\n\n\tvar lights_fragment_maps = \"#if defined( RE_IndirectDiffuse )\\n\\t#ifdef USE_LIGHTMAP\\n\\t\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\n\\t\\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\\n\\t\\tirradiance += lightMapIrradiance;\\n\\t#endif\\n\\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\\n\\t\\tiblIrradiance += getIBLIrradiance( geometry.normal );\\n\\t#endif\\n#endif\\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\\n\\tradiance += getIBLRadiance( geometry.viewDir, geometry.normal, material.roughness );\\n\\t#ifdef USE_CLEARCOAT\\n\\t\\tclearcoatRadiance += getIBLRadiance( geometry.viewDir, geometry.clearcoatNormal, material.clearcoatRoughness );\\n\\t#endif\\n#endif\";\n\n\tvar lights_fragment_end = \"#if defined( RE_IndirectDiffuse )\\n\\tRE_IndirectDiffuse( irradiance, geometry, material, reflectedLight );\\n#endif\\n#if defined( RE_IndirectSpecular )\\n\\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometry, material, reflectedLight );\\n#endif\";\n\n\tvar logdepthbuf_fragment = \"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\n\\tgl_FragDepthEXT = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\\n#endif\";\n\n\tvar logdepthbuf_pars_fragment = \"#if defined( USE_LOGDEPTHBUF ) && defined( USE_LOGDEPTHBUF_EXT )\\n\\tuniform float logDepthBufFC;\\n\\tvarying float vFragDepth;\\n\\tvarying float vIsPerspective;\\n#endif\";\n\n\tvar logdepthbuf_pars_vertex = \"#ifdef USE_LOGDEPTHBUF\\n\\t#ifdef USE_LOGDEPTHBUF_EXT\\n\\t\\tvarying float vFragDepth;\\n\\t\\tvarying float vIsPerspective;\\n\\t#else\\n\\t\\tuniform float logDepthBufFC;\\n\\t#endif\\n#endif\";\n\n\tvar logdepthbuf_vertex = \"#ifdef USE_LOGDEPTHBUF\\n\\t#ifdef USE_LOGDEPTHBUF_EXT\\n\\t\\tvFragDepth = 1.0 + gl_Position.w;\\n\\t\\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\\n\\t#else\\n\\t\\tif ( isPerspectiveMatrix( projectionMatrix ) ) {\\n\\t\\t\\tgl_Position.z = log2( max( EPSILON, gl_Position.w + 1.0 ) ) * logDepthBufFC - 1.0;\\n\\t\\t\\tgl_Position.z *= gl_Position.w;\\n\\t\\t}\\n\\t#endif\\n#endif\";\n\n\tvar map_fragment = \"#ifdef USE_MAP\\n\\tvec4 sampledDiffuseColor = texture2D( map, vUv );\\n\\t#ifdef DECODE_VIDEO_TEXTURE\\n\\t\\tsampledDiffuseColor = vec4( mix( pow( sampledDiffuseColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), sampledDiffuseColor.rgb * 0.0773993808, vec3( lessThanEqual( sampledDiffuseColor.rgb, vec3( 0.04045 ) ) ) ), sampledDiffuseColor.w );\\n\\t#endif\\n\\tdiffuseColor *= sampledDiffuseColor;\\n#endif\";\n\n\tvar map_pars_fragment = \"#ifdef USE_MAP\\n\\tuniform sampler2D map;\\n#endif\";\n\n\tvar map_particle_fragment = \"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\n\\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\\n#endif\\n#ifdef USE_MAP\\n\\tdiffuseColor *= texture2D( map, uv );\\n#endif\\n#ifdef USE_ALPHAMAP\\n\\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\\n#endif\";\n\n\tvar map_particle_pars_fragment = \"#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\\n\\tuniform mat3 uvTransform;\\n#endif\\n#ifdef USE_MAP\\n\\tuniform sampler2D map;\\n#endif\\n#ifdef USE_ALPHAMAP\\n\\tuniform sampler2D alphaMap;\\n#endif\";\n\n\tvar metalnessmap_fragment = \"float metalnessFactor = metalness;\\n#ifdef USE_METALNESSMAP\\n\\tvec4 texelMetalness = texture2D( metalnessMap, vUv );\\n\\tmetalnessFactor *= texelMetalness.b;\\n#endif\";\n\n\tvar metalnessmap_pars_fragment = \"#ifdef USE_METALNESSMAP\\n\\tuniform sampler2D metalnessMap;\\n#endif\";\n\n\tvar morphcolor_vertex = \"#if defined( USE_MORPHCOLORS ) && defined( MORPHTARGETS_TEXTURE )\\n\\tvColor *= morphTargetBaseInfluence;\\n\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\n\\t\\t#if defined( USE_COLOR_ALPHA )\\n\\t\\t\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\\n\\t\\t#elif defined( USE_COLOR )\\n\\t\\t\\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\\n\\t\\t#endif\\n\\t}\\n#endif\";\n\n\tvar morphnormal_vertex = \"#ifdef USE_MORPHNORMALS\\n\\tobjectNormal *= morphTargetBaseInfluence;\\n\\t#ifdef MORPHTARGETS_TEXTURE\\n\\t\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\n\\t\\t\\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\\n\\t\\t}\\n\\t#else\\n\\t\\tobjectNormal += morphNormal0 * morphTargetInfluences[ 0 ];\\n\\t\\tobjectNormal += morphNormal1 * morphTargetInfluences[ 1 ];\\n\\t\\tobjectNormal += morphNormal2 * morphTargetInfluences[ 2 ];\\n\\t\\tobjectNormal += morphNormal3 * morphTargetInfluences[ 3 ];\\n\\t#endif\\n#endif\";\n\n\tvar morphtarget_pars_vertex = \"#ifdef USE_MORPHTARGETS\\n\\tuniform float morphTargetBaseInfluence;\\n\\t#ifdef MORPHTARGETS_TEXTURE\\n\\t\\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\\n\\t\\tuniform sampler2DArray morphTargetsTexture;\\n\\t\\tuniform ivec2 morphTargetsTextureSize;\\n\\t\\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\\n\\t\\t\\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\\n\\t\\t\\tint y = texelIndex / morphTargetsTextureSize.x;\\n\\t\\t\\tint x = texelIndex - y * morphTargetsTextureSize.x;\\n\\t\\t\\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\\n\\t\\t\\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\\n\\t\\t}\\n\\t#else\\n\\t\\t#ifndef USE_MORPHNORMALS\\n\\t\\t\\tuniform float morphTargetInfluences[ 8 ];\\n\\t\\t#else\\n\\t\\t\\tuniform float morphTargetInfluences[ 4 ];\\n\\t\\t#endif\\n\\t#endif\\n#endif\";\n\n\tvar morphtarget_vertex = \"#ifdef USE_MORPHTARGETS\\n\\ttransformed *= morphTargetBaseInfluence;\\n\\t#ifdef MORPHTARGETS_TEXTURE\\n\\t\\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\\n\\t\\t\\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\\n\\t\\t}\\n\\t#else\\n\\t\\ttransformed += morphTarget0 * morphTargetInfluences[ 0 ];\\n\\t\\ttransformed += morphTarget1 * morphTargetInfluences[ 1 ];\\n\\t\\ttransformed += morphTarget2 * morphTargetInfluences[ 2 ];\\n\\t\\ttransformed += morphTarget3 * morphTargetInfluences[ 3 ];\\n\\t\\t#ifndef USE_MORPHNORMALS\\n\\t\\t\\ttransformed += morphTarget4 * morphTargetInfluences[ 4 ];\\n\\t\\t\\ttransformed += morphTarget5 * morphTargetInfluences[ 5 ];\\n\\t\\t\\ttransformed += morphTarget6 * morphTargetInfluences[ 6 ];\\n\\t\\t\\ttransformed += morphTarget7 * morphTargetInfluences[ 7 ];\\n\\t\\t#endif\\n\\t#endif\\n#endif\";\n\n\tvar normal_fragment_begin = \"float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\\n#ifdef FLAT_SHADED\\n\\tvec3 fdx = vec3( dFdx( vViewPosition.x ), dFdx( vViewPosition.y ), dFdx( vViewPosition.z ) );\\n\\tvec3 fdy = vec3( dFdy( vViewPosition.x ), dFdy( vViewPosition.y ), dFdy( vViewPosition.z ) );\\n\\tvec3 normal = normalize( cross( fdx, fdy ) );\\n#else\\n\\tvec3 normal = normalize( vNormal );\\n\\t#ifdef DOUBLE_SIDED\\n\\t\\tnormal = normal * faceDirection;\\n\\t#endif\\n\\t#ifdef USE_TANGENT\\n\\t\\tvec3 tangent = normalize( vTangent );\\n\\t\\tvec3 bitangent = normalize( vBitangent );\\n\\t\\t#ifdef DOUBLE_SIDED\\n\\t\\t\\ttangent = tangent * faceDirection;\\n\\t\\t\\tbitangent = bitangent * faceDirection;\\n\\t\\t#endif\\n\\t\\t#if defined( TANGENTSPACE_NORMALMAP ) || defined( USE_CLEARCOAT_NORMALMAP )\\n\\t\\t\\tmat3 vTBN = mat3( tangent, bitangent, normal );\\n\\t\\t#endif\\n\\t#endif\\n#endif\\nvec3 geometryNormal = normal;\";\n\n\tvar normal_fragment_maps = \"#ifdef OBJECTSPACE_NORMALMAP\\n\\tnormal = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\n\\t#ifdef FLIP_SIDED\\n\\t\\tnormal = - normal;\\n\\t#endif\\n\\t#ifdef DOUBLE_SIDED\\n\\t\\tnormal = normal * faceDirection;\\n\\t#endif\\n\\tnormal = normalize( normalMatrix * normal );\\n#elif defined( TANGENTSPACE_NORMALMAP )\\n\\tvec3 mapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;\\n\\tmapN.xy *= normalScale;\\n\\t#ifdef USE_TANGENT\\n\\t\\tnormal = normalize( vTBN * mapN );\\n\\t#else\\n\\t\\tnormal = perturbNormal2Arb( - vViewPosition, normal, mapN, faceDirection );\\n\\t#endif\\n#elif defined( USE_BUMPMAP )\\n\\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\\n#endif\";\n\n\tvar normal_pars_fragment = \"#ifndef FLAT_SHADED\\n\\tvarying vec3 vNormal;\\n\\t#ifdef USE_TANGENT\\n\\t\\tvarying vec3 vTangent;\\n\\t\\tvarying vec3 vBitangent;\\n\\t#endif\\n#endif\";\n\n\tvar normal_pars_vertex = \"#ifndef FLAT_SHADED\\n\\tvarying vec3 vNormal;\\n\\t#ifdef USE_TANGENT\\n\\t\\tvarying vec3 vTangent;\\n\\t\\tvarying vec3 vBitangent;\\n\\t#endif\\n#endif\";\n\n\tvar normal_vertex = \"#ifndef FLAT_SHADED\\n\\tvNormal = normalize( transformedNormal );\\n\\t#ifdef USE_TANGENT\\n\\t\\tvTangent = normalize( transformedTangent );\\n\\t\\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\\n\\t#endif\\n#endif\";\n\n\tvar normalmap_pars_fragment = \"#ifdef USE_NORMALMAP\\n\\tuniform sampler2D normalMap;\\n\\tuniform vec2 normalScale;\\n#endif\\n#ifdef OBJECTSPACE_NORMALMAP\\n\\tuniform mat3 normalMatrix;\\n#endif\\n#if ! defined ( USE_TANGENT ) && ( defined ( TANGENTSPACE_NORMALMAP ) || defined ( USE_CLEARCOAT_NORMALMAP ) )\\n\\tvec3 perturbNormal2Arb( vec3 eye_pos, vec3 surf_norm, vec3 mapN, float faceDirection ) {\\n\\t\\tvec3 q0 = vec3( dFdx( eye_pos.x ), dFdx( eye_pos.y ), dFdx( eye_pos.z ) );\\n\\t\\tvec3 q1 = vec3( dFdy( eye_pos.x ), dFdy( eye_pos.y ), dFdy( eye_pos.z ) );\\n\\t\\tvec2 st0 = dFdx( vUv.st );\\n\\t\\tvec2 st1 = dFdy( vUv.st );\\n\\t\\tvec3 N = surf_norm;\\n\\t\\tvec3 q1perp = cross( q1, N );\\n\\t\\tvec3 q0perp = cross( N, q0 );\\n\\t\\tvec3 T = q1perp * st0.x + q0perp * st1.x;\\n\\t\\tvec3 B = q1perp * st0.y + q0perp * st1.y;\\n\\t\\tfloat det = max( dot( T, T ), dot( B, B ) );\\n\\t\\tfloat scale = ( det == 0.0 ) ? 0.0 : faceDirection * inversesqrt( det );\\n\\t\\treturn normalize( T * ( mapN.x * scale ) + B * ( mapN.y * scale ) + N * mapN.z );\\n\\t}\\n#endif\";\n\n\tvar clearcoat_normal_fragment_begin = \"#ifdef USE_CLEARCOAT\\n\\tvec3 clearcoatNormal = geometryNormal;\\n#endif\";\n\n\tvar clearcoat_normal_fragment_maps = \"#ifdef USE_CLEARCOAT_NORMALMAP\\n\\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;\\n\\tclearcoatMapN.xy *= clearcoatNormalScale;\\n\\t#ifdef USE_TANGENT\\n\\t\\tclearcoatNormal = normalize( vTBN * clearcoatMapN );\\n\\t#else\\n\\t\\tclearcoatNormal = perturbNormal2Arb( - vViewPosition, clearcoatNormal, clearcoatMapN, faceDirection );\\n\\t#endif\\n#endif\";\n\n\tvar clearcoat_pars_fragment = \"#ifdef USE_CLEARCOATMAP\\n\\tuniform sampler2D clearcoatMap;\\n#endif\\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\\n\\tuniform sampler2D clearcoatRoughnessMap;\\n#endif\\n#ifdef USE_CLEARCOAT_NORMALMAP\\n\\tuniform sampler2D clearcoatNormalMap;\\n\\tuniform vec2 clearcoatNormalScale;\\n#endif\";\n\n\tvar iridescence_pars_fragment = \"#ifdef USE_IRIDESCENCEMAP\\n\\tuniform sampler2D iridescenceMap;\\n#endif\\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\\n\\tuniform sampler2D iridescenceThicknessMap;\\n#endif\";\n\n\tvar output_fragment = \"#ifdef OPAQUE\\ndiffuseColor.a = 1.0;\\n#endif\\n#ifdef USE_TRANSMISSION\\ndiffuseColor.a *= transmissionAlpha + 0.1;\\n#endif\\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );\";\n\n\tvar packing = \"vec3 packNormalToRGB( const in vec3 normal ) {\\n\\treturn normalize( normal ) * 0.5 + 0.5;\\n}\\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\\n\\treturn 2.0 * rgb.xyz - 1.0;\\n}\\nconst float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;\\nconst vec3 PackFactors = vec3( 256. * 256. * 256., 256. * 256., 256. );\\nconst vec4 UnpackFactors = UnpackDownscale / vec4( PackFactors, 1. );\\nconst float ShiftRight8 = 1. / 256.;\\nvec4 packDepthToRGBA( const in float v ) {\\n\\tvec4 r = vec4( fract( v * PackFactors ), v );\\n\\tr.yzw -= r.xyz * ShiftRight8;\\treturn r * PackUpscale;\\n}\\nfloat unpackRGBAToDepth( const in vec4 v ) {\\n\\treturn dot( v, UnpackFactors );\\n}\\nvec4 pack2HalfToRGBA( vec2 v ) {\\n\\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\\n\\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\\n}\\nvec2 unpackRGBATo2Half( vec4 v ) {\\n\\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\\n}\\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\\n\\treturn ( viewZ + near ) / ( near - far );\\n}\\nfloat orthographicDepthToViewZ( const in float linearClipZ, const in float near, const in float far ) {\\n\\treturn linearClipZ * ( near - far ) - near;\\n}\\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\\n\\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\\n}\\nfloat perspectiveDepthToViewZ( const in float invClipZ, const in float near, const in float far ) {\\n\\treturn ( near * far ) / ( ( far - near ) * invClipZ - far );\\n}\";\n\n\tvar premultiplied_alpha_fragment = \"#ifdef PREMULTIPLIED_ALPHA\\n\\tgl_FragColor.rgb *= gl_FragColor.a;\\n#endif\";\n\n\tvar project_vertex = \"vec4 mvPosition = vec4( transformed, 1.0 );\\n#ifdef USE_INSTANCING\\n\\tmvPosition = instanceMatrix * mvPosition;\\n#endif\\nmvPosition = modelViewMatrix * mvPosition;\\ngl_Position = projectionMatrix * mvPosition;\";\n\n\tvar dithering_fragment = \"#ifdef DITHERING\\n\\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\\n#endif\";\n\n\tvar dithering_pars_fragment = \"#ifdef DITHERING\\n\\tvec3 dithering( vec3 color ) {\\n\\t\\tfloat grid_position = rand( gl_FragCoord.xy );\\n\\t\\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\\n\\t\\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\\n\\t\\treturn color + dither_shift_RGB;\\n\\t}\\n#endif\";\n\n\tvar roughnessmap_fragment = \"float roughnessFactor = roughness;\\n#ifdef USE_ROUGHNESSMAP\\n\\tvec4 texelRoughness = texture2D( roughnessMap, vUv );\\n\\troughnessFactor *= texelRoughness.g;\\n#endif\";\n\n\tvar roughnessmap_pars_fragment = \"#ifdef USE_ROUGHNESSMAP\\n\\tuniform sampler2D roughnessMap;\\n#endif\";\n\n\tvar shadowmap_pars_fragment = \"#ifdef USE_SHADOWMAP\\n\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\n\\t\\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t\\tstruct DirectionalLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t};\\n\\t\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t#endif\\n\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\n\\t\\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t\\tstruct SpotLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t};\\n\\t\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t#endif\\n\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\n\\t\\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t\\tstruct PointLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t\\tfloat shadowCameraNear;\\n\\t\\t\\tfloat shadowCameraFar;\\n\\t\\t};\\n\\t\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t#endif\\n\\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\\n\\t\\treturn step( compare, unpackRGBAToDepth( texture2D( depths, uv ) ) );\\n\\t}\\n\\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\\n\\t\\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\\n\\t}\\n\\tfloat VSMShadow (sampler2D shadow, vec2 uv, float compare ){\\n\\t\\tfloat occlusion = 1.0;\\n\\t\\tvec2 distribution = texture2DDistribution( shadow, uv );\\n\\t\\tfloat hard_shadow = step( compare , distribution.x );\\n\\t\\tif (hard_shadow != 1.0 ) {\\n\\t\\t\\tfloat distance = compare - distribution.x ;\\n\\t\\t\\tfloat variance = max( 0.00000, distribution.y * distribution.y );\\n\\t\\t\\tfloat softness_probability = variance / (variance + distance * distance );\\t\\t\\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 );\\t\\t\\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\\n\\t\\t}\\n\\t\\treturn occlusion;\\n\\t}\\n\\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\\n\\t\\tfloat shadow = 1.0;\\n\\t\\tshadowCoord.xyz /= shadowCoord.w;\\n\\t\\tshadowCoord.z += shadowBias;\\n\\t\\tbvec4 inFrustumVec = bvec4 ( shadowCoord.x >= 0.0, shadowCoord.x <= 1.0, shadowCoord.y >= 0.0, shadowCoord.y <= 1.0 );\\n\\t\\tbool inFrustum = all( inFrustumVec );\\n\\t\\tbvec2 frustumTestVec = bvec2( inFrustum, shadowCoord.z <= 1.0 );\\n\\t\\tbool frustumTest = all( frustumTestVec );\\n\\t\\tif ( frustumTest ) {\\n\\t\\t#if defined( SHADOWMAP_TYPE_PCF )\\n\\t\\t\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\n\\t\\t\\tfloat dx0 = - texelSize.x * shadowRadius;\\n\\t\\t\\tfloat dy0 = - texelSize.y * shadowRadius;\\n\\t\\t\\tfloat dx1 = + texelSize.x * shadowRadius;\\n\\t\\t\\tfloat dy1 = + texelSize.y * shadowRadius;\\n\\t\\t\\tfloat dx2 = dx0 / 2.0;\\n\\t\\t\\tfloat dy2 = dy0 / 2.0;\\n\\t\\t\\tfloat dx3 = dx1 / 2.0;\\n\\t\\t\\tfloat dy3 = dy1 / 2.0;\\n\\t\\t\\tshadow = (\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\\n\\t\\t\\t) * ( 1.0 / 17.0 );\\n\\t\\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\\n\\t\\t\\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\\n\\t\\t\\tfloat dx = texelSize.x;\\n\\t\\t\\tfloat dy = texelSize.y;\\n\\t\\t\\tvec2 uv = shadowCoord.xy;\\n\\t\\t\\tvec2 f = fract( uv * shadowMapSize + 0.5 );\\n\\t\\t\\tuv -= f * texelSize;\\n\\t\\t\\tshadow = (\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\\n\\t\\t\\t\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t f.x ) +\\n\\t\\t\\t\\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t f.x ) +\\n\\t\\t\\t\\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t f.y ) +\\n\\t\\t\\t\\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t f.y ) +\\n\\t\\t\\t\\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t\\t\ttexture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t\\t\tf.x ),\\n\\t\\t\\t\\t\\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ), \\n\\t\\t\\t\\t\\t\\t\ttexture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\\n\\t\\t\\t\\t\\t\\t\tf.x ),\\n\\t\\t\\t\\t\\t f.y )\\n\\t\\t\\t) * ( 1.0 / 9.0 );\\n\\t\\t#elif defined( SHADOWMAP_TYPE_VSM )\\n\\t\\t\\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\\n\\t\\t#else\\n\\t\\t\\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\\n\\t\\t#endif\\n\\t\\t}\\n\\t\\treturn shadow;\\n\\t}\\n\\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\\n\\t\\tvec3 absV = abs( v );\\n\\t\\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\\n\\t\\tabsV *= scaleToCube;\\n\\t\\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\\n\\t\\tvec2 planar = v.xy;\\n\\t\\tfloat almostATexel = 1.5 * texelSizeY;\\n\\t\\tfloat almostOne = 1.0 - almostATexel;\\n\\t\\tif ( absV.z >= almostOne ) {\\n\\t\\t\\tif ( v.z > 0.0 )\\n\\t\\t\\t\\tplanar.x = 4.0 - v.x;\\n\\t\\t} else if ( absV.x >= almostOne ) {\\n\\t\\t\\tfloat signX = sign( v.x );\\n\\t\\t\\tplanar.x = v.z * signX + 2.0 * signX;\\n\\t\\t} else if ( absV.y >= almostOne ) {\\n\\t\\t\\tfloat signY = sign( v.y );\\n\\t\\t\\tplanar.x = v.x + 2.0 * signY + 2.0;\\n\\t\\t\\tplanar.y = v.z * signY - 2.0;\\n\\t\\t}\\n\\t\\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\\n\\t}\\n\\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\\n\\t\\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\\n\\t\\tvec3 lightToPosition = shadowCoord.xyz;\\n\\t\\tfloat dp = ( length( lightToPosition ) - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear );\\t\\tdp += shadowBias;\\n\\t\\tvec3 bd3D = normalize( lightToPosition );\\n\\t\\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\\n\\t\\t\\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\\n\\t\\t\\treturn (\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\\n\\t\\t\\t\\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\\n\\t\\t\\t) * ( 1.0 / 9.0 );\\n\\t\\t#else\\n\\t\\t\\treturn texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\\n\\t\\t#endif\\n\\t}\\n#endif\";\n\n\tvar shadowmap_pars_vertex = \"#ifdef USE_SHADOWMAP\\n\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\n\\t\\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t\\tstruct DirectionalLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t};\\n\\t\\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\\n\\t#endif\\n\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\n\\t\\tuniform mat4 spotShadowMatrix[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vSpotShadowCoord[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t\\tstruct SpotLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t};\\n\\t\\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\\n\\t#endif\\n\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\n\\t\\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t\\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t\\tstruct PointLightShadow {\\n\\t\\t\\tfloat shadowBias;\\n\\t\\t\\tfloat shadowNormalBias;\\n\\t\\t\\tfloat shadowRadius;\\n\\t\\t\\tvec2 shadowMapSize;\\n\\t\\t\\tfloat shadowCameraNear;\\n\\t\\t\\tfloat shadowCameraFar;\\n\\t\\t};\\n\\t\\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\\n\\t#endif\\n#endif\";\n\n\tvar shadowmap_vertex = \"#ifdef USE_SHADOWMAP\\n\\t#if NUM_DIR_LIGHT_SHADOWS > 0 || NUM_SPOT_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0\\n\\t\\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\\n\\t\\tvec4 shadowWorldPosition;\\n\\t#endif\\n\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\\n\\t\\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias, 0 );\\n\\t\\tvSpotShadowCoord[ i ] = spotShadowMatrix[ i ] * shadowWorldPosition;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\\n\\t\\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n#endif\";\n\n\tvar shadowmask_pars_fragment = \"float getShadowMask() {\\n\\tfloat shadow = 1.0;\\n\\t#ifdef USE_SHADOWMAP\\n\\t#if NUM_DIR_LIGHT_SHADOWS > 0\\n\\tDirectionalLightShadow directionalLight;\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tdirectionalLight = directionalLightShadows[ i ];\\n\\t\\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n\\t#if NUM_SPOT_LIGHT_SHADOWS > 0\\n\\tSpotLightShadow spotLight;\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tspotLight = spotLightShadows[ i ];\\n\\t\\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowBias, spotLight.shadowRadius, vSpotShadowCoord[ i ] ) : 1.0;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n\\t#if NUM_POINT_LIGHT_SHADOWS > 0\\n\\tPointLightShadow pointLight;\\n\\t#pragma unroll_loop_start\\n\\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\\n\\t\\tpointLight = pointLightShadows[ i ];\\n\\t\\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\\n\\t}\\n\\t#pragma unroll_loop_end\\n\\t#endif\\n\\t#endif\\n\\treturn shadow;\\n}\";\n\n\tvar skinbase_vertex = \"#ifdef USE_SKINNING\\n\\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\\n\\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\\n\\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\\n\\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\\n#endif\";\n\n\tvar skinning_pars_vertex = \"#ifdef USE_SKINNING\\n\\tuniform mat4 bindMatrix;\\n\\tuniform mat4 bindMatrixInverse;\\n\\tuniform highp sampler2D boneTexture;\\n\\tuniform int boneTextureSize;\\n\\tmat4 getBoneMatrix( const in float i ) {\\n\\t\\tfloat j = i * 4.0;\\n\\t\\tfloat x = mod( j, float( boneTextureSize ) );\\n\\t\\tfloat y = floor( j / float( boneTextureSize ) );\\n\\t\\tfloat dx = 1.0 / float( boneTextureSize );\\n\\t\\tfloat dy = 1.0 / float( boneTextureSize );\\n\\t\\ty = dy * ( y + 0.5 );\\n\\t\\tvec4 v1 = texture2D( boneTexture, vec2( dx * ( x + 0.5 ), y ) );\\n\\t\\tvec4 v2 = texture2D( boneTexture, vec2( dx * ( x + 1.5 ), y ) );\\n\\t\\tvec4 v3 = texture2D( boneTexture, vec2( dx * ( x + 2.5 ), y ) );\\n\\t\\tvec4 v4 = texture2D( boneTexture, vec2( dx * ( x + 3.5 ), y ) );\\n\\t\\tmat4 bone = mat4( v1, v2, v3, v4 );\\n\\t\\treturn bone;\\n\\t}\\n#endif\";\n\n\tvar skinning_vertex = \"#ifdef USE_SKINNING\\n\\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\\n\\tvec4 skinned = vec4( 0.0 );\\n\\tskinned += boneMatX * skinVertex * skinWeight.x;\\n\\tskinned += boneMatY * skinVertex * skinWeight.y;\\n\\tskinned += boneMatZ * skinVertex * skinWeight.z;\\n\\tskinned += boneMatW * skinVertex * skinWeight.w;\\n\\ttransformed = ( bindMatrixInverse * skinned ).xyz;\\n#endif\";\n\n\tvar skinnormal_vertex = \"#ifdef USE_SKINNING\\n\\tmat4 skinMatrix = mat4( 0.0 );\\n\\tskinMatrix += skinWeight.x * boneMatX;\\n\\tskinMatrix += skinWeight.y * boneMatY;\\n\\tskinMatrix += skinWeight.z * boneMatZ;\\n\\tskinMatrix += skinWeight.w * boneMatW;\\n\\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\\n\\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\\n\\t#ifdef USE_TANGENT\\n\\t\\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\\n\\t#endif\\n#endif\";\n\n\tvar specularmap_fragment = \"float specularStrength;\\n#ifdef USE_SPECULARMAP\\n\\tvec4 texelSpecular = texture2D( specularMap, vUv );\\n\\tspecularStrength = texelSpecular.r;\\n#else\\n\\tspecularStrength = 1.0;\\n#endif\";\n\n\tvar specularmap_pars_fragment = \"#ifdef USE_SPECULARMAP\\n\\tuniform sampler2D specularMap;\\n#endif\";\n\n\tvar tonemapping_fragment = \"#if defined( TONE_MAPPING )\\n\\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\\n#endif\";\n\n\tvar tonemapping_pars_fragment = \"#ifndef saturate\\n#define saturate( a ) clamp( a, 0.0, 1.0 )\\n#endif\\nuniform float toneMappingExposure;\\nvec3 LinearToneMapping( vec3 color ) {\\n\\treturn toneMappingExposure * color;\\n}\\nvec3 ReinhardToneMapping( vec3 color ) {\\n\\tcolor *= toneMappingExposure;\\n\\treturn saturate( color / ( vec3( 1.0 ) + color ) );\\n}\\nvec3 OptimizedCineonToneMapping( vec3 color ) {\\n\\tcolor *= toneMappingExposure;\\n\\tcolor = max( vec3( 0.0 ), color - 0.004 );\\n\\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\\n}\\nvec3 RRTAndODTFit( vec3 v ) {\\n\\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\\n\\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\\n\\treturn a / b;\\n}\\nvec3 ACESFilmicToneMapping( vec3 color ) {\\n\\tconst mat3 ACESInputMat = mat3(\\n\\t\\tvec3( 0.59719, 0.07600, 0.02840 ),\\t\\tvec3( 0.35458, 0.90834, 0.13383 ),\\n\\t\\tvec3( 0.04823, 0.01566, 0.83777 )\\n\\t);\\n\\tconst mat3 ACESOutputMat = mat3(\\n\\t\\tvec3(\t1.60475, -0.10208, -0.00327 ),\\t\\tvec3( -0.53108,\t1.10813, -0.07276 ),\\n\\t\\tvec3( -0.07367, -0.00605,\t1.07602 )\\n\\t);\\n\\tcolor *= toneMappingExposure / 0.6;\\n\\tcolor = ACESInputMat * color;\\n\\tcolor = RRTAndODTFit( color );\\n\\tcolor = ACESOutputMat * color;\\n\\treturn saturate( color );\\n}\\nvec3 CustomToneMapping( vec3 color ) { return color; }\";\n\n\tvar transmission_fragment = \"#ifdef USE_TRANSMISSION\\n\\tfloat transmissionAlpha = 1.0;\\n\\tfloat transmissionFactor = transmission;\\n\\tfloat thicknessFactor = thickness;\\n\\t#ifdef USE_TRANSMISSIONMAP\\n\\t\\ttransmissionFactor *= texture2D( transmissionMap, vUv ).r;\\n\\t#endif\\n\\t#ifdef USE_THICKNESSMAP\\n\\t\\tthicknessFactor *= texture2D( thicknessMap, vUv ).g;\\n\\t#endif\\n\\tvec3 pos = vWorldPosition;\\n\\tvec3 v = normalize( cameraPosition - pos );\\n\\tvec3 n = inverseTransformDirection( normal, viewMatrix );\\n\\tvec4 transmission = getIBLVolumeRefraction(\\n\\t\\tn, v, roughnessFactor, material.diffuseColor, material.specularColor, material.specularF90,\\n\\t\\tpos, modelMatrix, viewMatrix, projectionMatrix, ior, thicknessFactor,\\n\\t\\tattenuationColor, attenuationDistance );\\n\\ttotalDiffuse = mix( totalDiffuse, transmission.rgb, transmissionFactor );\\n\\ttransmissionAlpha = mix( transmissionAlpha, transmission.a, transmissionFactor );\\n#endif\";\n\n\tvar transmission_pars_fragment = \"#ifdef USE_TRANSMISSION\\n\\tuniform float transmission;\\n\\tuniform float thickness;\\n\\tuniform float attenuationDistance;\\n\\tuniform vec3 attenuationColor;\\n\\t#ifdef USE_TRANSMISSIONMAP\\n\\t\\tuniform sampler2D transmissionMap;\\n\\t#endif\\n\\t#ifdef USE_THICKNESSMAP\\n\\t\\tuniform sampler2D thicknessMap;\\n\\t#endif\\n\\tuniform vec2 transmissionSamplerSize;\\n\\tuniform sampler2D transmissionSamplerMap;\\n\\tuniform mat4 modelMatrix;\\n\\tuniform mat4 projectionMatrix;\\n\\tvarying vec3 vWorldPosition;\\n\\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\\n\\t\\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\\n\\t\\tvec3 modelScale;\\n\\t\\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\\n\\t\\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\\n\\t\\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\\n\\t\\treturn normalize( refractionVector ) * thickness * modelScale;\\n\\t}\\n\\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\\n\\t\\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\\n\\t}\\n\\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\\n\\t\\tfloat framebufferLod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\\n\\t\\t#ifdef texture2DLodEXT\\n\\t\\t\\treturn texture2DLodEXT( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\n\\t\\t#else\\n\\t\\t\\treturn texture2D( transmissionSamplerMap, fragCoord.xy, framebufferLod );\\n\\t\\t#endif\\n\\t}\\n\\tvec3 applyVolumeAttenuation( const in vec3 radiance, const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\\n\\t\\tif ( attenuationDistance == 0.0 ) {\\n\\t\\t\\treturn radiance;\\n\\t\\t} else {\\n\\t\\t\\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\\n\\t\\t\\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance );\\t\\t\\treturn transmittance * radiance;\\n\\t\\t}\\n\\t}\\n\\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\\n\\t\\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\\n\\t\\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float ior, const in float thickness,\\n\\t\\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\\n\\t\\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\\n\\t\\tvec3 refractedRayExit = position + transmissionRay;\\n\\t\\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\\n\\t\\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\\n\\t\\trefractionCoords += 1.0;\\n\\t\\trefractionCoords /= 2.0;\\n\\t\\tvec4 transmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\\n\\t\\tvec3 attenuatedColor = applyVolumeAttenuation( transmittedLight.rgb, length( transmissionRay ), attenuationColor, attenuationDistance );\\n\\t\\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\\n\\t\\treturn vec4( ( 1.0 - F ) * attenuatedColor * diffuseColor, transmittedLight.a );\\n\\t}\\n#endif\";\n\n\tvar uv_pars_fragment = \"#if ( defined( USE_UV ) && ! defined( UVS_VERTEX_ONLY ) )\\n\\tvarying vec2 vUv;\\n#endif\";\n\n\tvar uv_pars_vertex = \"#ifdef USE_UV\\n\\t#ifdef UVS_VERTEX_ONLY\\n\\t\\tvec2 vUv;\\n\\t#else\\n\\t\\tvarying vec2 vUv;\\n\\t#endif\\n\\tuniform mat3 uvTransform;\\n#endif\";\n\n\tvar uv_vertex = \"#ifdef USE_UV\\n\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\n#endif\";\n\n\tvar uv2_pars_fragment = \"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\n\\tvarying vec2 vUv2;\\n#endif\";\n\n\tvar uv2_pars_vertex = \"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\n\\tattribute vec2 uv2;\\n\\tvarying vec2 vUv2;\\n\\tuniform mat3 uv2Transform;\\n#endif\";\n\n\tvar uv2_vertex = \"#if defined( USE_LIGHTMAP ) || defined( USE_AOMAP )\\n\\tvUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\\n#endif\";\n\n\tvar worldpos_vertex = \"#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION )\\n\\tvec4 worldPosition = vec4( transformed, 1.0 );\\n\\t#ifdef USE_INSTANCING\\n\\t\\tworldPosition = instanceMatrix * worldPosition;\\n\\t#endif\\n\\tworldPosition = modelMatrix * worldPosition;\\n#endif\";\n\n\tconst vertex$g = \"varying vec2 vUv;\\nuniform mat3 uvTransform;\\nvoid main() {\\n\\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\\n\\tgl_Position = vec4( position.xy, 1.0, 1.0 );\\n}\";\n\tconst fragment$g = \"uniform sampler2D t2D;\\nvarying vec2 vUv;\\nvoid main() {\\n\\tgl_FragColor = texture2D( t2D, vUv );\\n\\t#ifdef DECODE_VIDEO_TEXTURE\\n\\t\\tgl_FragColor = vec4( mix( pow( gl_FragColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), gl_FragColor.rgb * 0.0773993808, vec3( lessThanEqual( gl_FragColor.rgb, vec3( 0.04045 ) ) ) ), gl_FragColor.w );\\n\\t#endif\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n}\";\n\n\tconst vertex$f = \"varying vec3 vWorldDirection;\\n#include <common>\\nvoid main() {\\n\\tvWorldDirection = transformDirection( position, modelMatrix );\\n\\t#include <begin_vertex>\\n\\t#include <project_vertex>\\n\\tgl_Position.z = gl_Position.w;\\n}\";\n\tconst fragment$f = \"#include <envmap_common_pars_fragment>\\nuniform float opacity;\\nvarying vec3 vWorldDirection;\\n#include <cube_uv_reflection_fragment>\\nvoid main() {\\n\\tvec3 vReflect = vWorldDirection;\\n\\t#include <envmap_fragment>\\n\\tgl_FragColor = envColor;\\n\\tgl_FragColor.a *= opacity;\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n}\";\n\n\tconst vertex$e = \"#include <common>\\n#include <uv_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvarying vec2 vHighPrecisionZW;\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#ifdef USE_DISPLACEMENTMAP\\n\\t\\t#include <beginnormal_vertex>\\n\\t\\t#include <morphnormal_vertex>\\n\\t\\t#include <skinnormal_vertex>\\n\\t#endif\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\tvHighPrecisionZW = gl_Position.zw;\\n}\";\n\tconst fragment$e = \"#if DEPTH_PACKING == 3200\\n\\tuniform float opacity;\\n#endif\\n#include <common>\\n#include <packing>\\n#include <uv_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvarying vec2 vHighPrecisionZW;\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( 1.0 );\\n\\t#if DEPTH_PACKING == 3200\\n\\t\\tdiffuseColor.a = opacity;\\n\\t#endif\\n\\t#include <map_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <logdepthbuf_fragment>\\n\\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[0] / vHighPrecisionZW[1] + 0.5;\\n\\t#if DEPTH_PACKING == 3200\\n\\t\\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\\n\\t#elif DEPTH_PACKING == 3201\\n\\t\\tgl_FragColor = packDepthToRGBA( fragCoordZ );\\n\\t#endif\\n}\";\n\n\tconst vertex$d = \"#define DISTANCE\\nvarying vec3 vWorldPosition;\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#ifdef USE_DISPLACEMENTMAP\\n\\t\\t#include <beginnormal_vertex>\\n\\t\\t#include <morphnormal_vertex>\\n\\t\\t#include <skinnormal_vertex>\\n\\t#endif\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <worldpos_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\tvWorldPosition = worldPosition.xyz;\\n}\";\n\tconst fragment$d = \"#define DISTANCE\\nuniform vec3 referencePosition;\\nuniform float nearDistance;\\nuniform float farDistance;\\nvarying vec3 vWorldPosition;\\n#include <common>\\n#include <packing>\\n#include <uv_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main () {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( 1.0 );\\n\\t#include <map_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\tfloat dist = length( vWorldPosition - referencePosition );\\n\\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\\n\\tdist = saturate( dist );\\n\\tgl_FragColor = packDepthToRGBA( dist );\\n}\";\n\n\tconst vertex$c = \"varying vec3 vWorldDirection;\\n#include <common>\\nvoid main() {\\n\\tvWorldDirection = transformDirection( position, modelMatrix );\\n\\t#include <begin_vertex>\\n\\t#include <project_vertex>\\n}\";\n\tconst fragment$c = \"uniform sampler2D tEquirect;\\nvarying vec3 vWorldDirection;\\n#include <common>\\nvoid main() {\\n\\tvec3 direction = normalize( vWorldDirection );\\n\\tvec2 sampleUV = equirectUv( direction );\\n\\tgl_FragColor = texture2D( tEquirect, sampleUV );\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n}\";\n\n\tconst vertex$b = \"uniform float scale;\\nattribute float lineDistance;\\nvarying float vLineDistance;\\n#include <common>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\tvLineDistance = scale * lineDistance;\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$b = \"uniform vec3 diffuse;\\nuniform float opacity;\\nuniform float dashSize;\\nuniform float totalSize;\\nvarying float vLineDistance;\\n#include <common>\\n#include <color_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\\n\\t\\tdiscard;\\n\\t}\\n\\tvec3 outgoingLight = vec3( 0.0 );\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <color_fragment>\\n\\toutgoingLight = diffuseColor.rgb;\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n}\";\n\n\tconst vertex$a = \"#include <common>\\n#include <uv_pars_vertex>\\n#include <uv2_pars_vertex>\\n#include <envmap_pars_vertex>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <uv2_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\\n\\t\\t#include <beginnormal_vertex>\\n\\t\\t#include <morphnormal_vertex>\\n\\t\\t#include <skinbase_vertex>\\n\\t\\t#include <skinnormal_vertex>\\n\\t\\t#include <defaultnormal_vertex>\\n\\t#endif\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <worldpos_vertex>\\n\\t#include <envmap_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$a = \"uniform vec3 diffuse;\\nuniform float opacity;\\n#ifndef FLAT_SHADED\\n\\tvarying vec3 vNormal;\\n#endif\\n#include <common>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <uv2_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <aomap_pars_fragment>\\n#include <lightmap_pars_fragment>\\n#include <envmap_common_pars_fragment>\\n#include <envmap_pars_fragment>\\n#include <cube_uv_reflection_fragment>\\n#include <fog_pars_fragment>\\n#include <specularmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <specularmap_fragment>\\n\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\n\\t#ifdef USE_LIGHTMAP\\n\\t\\tvec4 lightMapTexel = texture2D( lightMap, vUv2 );\\n\\t\\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\\n\\t#else\\n\\t\\treflectedLight.indirectDiffuse += vec3( 1.0 );\\n\\t#endif\\n\\t#include <aomap_fragment>\\n\\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\\n\\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\\n\\t#include <envmap_fragment>\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$9 = \"#define LAMBERT\\nvarying vec3 vLightFront;\\nvarying vec3 vIndirectFront;\\n#ifdef DOUBLE_SIDED\\n\\tvarying vec3 vLightBack;\\n\\tvarying vec3 vIndirectBack;\\n#endif\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <uv2_pars_vertex>\\n#include <envmap_pars_vertex>\\n#include <bsdfs>\\n#include <lights_pars_begin>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <shadowmap_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <uv2_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <worldpos_vertex>\\n\\t#include <envmap_vertex>\\n\\t#include <lights_lambert_vertex>\\n\\t#include <shadowmap_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$9 = \"uniform vec3 diffuse;\\nuniform vec3 emissive;\\nuniform float opacity;\\nvarying vec3 vLightFront;\\nvarying vec3 vIndirectFront;\\n#ifdef DOUBLE_SIDED\\n\\tvarying vec3 vLightBack;\\n\\tvarying vec3 vIndirectBack;\\n#endif\\n#include <common>\\n#include <packing>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <uv2_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <aomap_pars_fragment>\\n#include <lightmap_pars_fragment>\\n#include <emissivemap_pars_fragment>\\n#include <envmap_common_pars_fragment>\\n#include <envmap_pars_fragment>\\n#include <cube_uv_reflection_fragment>\\n#include <bsdfs>\\n#include <lights_pars_begin>\\n#include <fog_pars_fragment>\\n#include <shadowmap_pars_fragment>\\n#include <shadowmask_pars_fragment>\\n#include <specularmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\n\\tvec3 totalEmissiveRadiance = emissive;\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <specularmap_fragment>\\n\\t#include <emissivemap_fragment>\\n\\t#ifdef DOUBLE_SIDED\\n\\t\\treflectedLight.indirectDiffuse += ( gl_FrontFacing ) ? vIndirectFront : vIndirectBack;\\n\\t#else\\n\\t\\treflectedLight.indirectDiffuse += vIndirectFront;\\n\\t#endif\\n\\t#include <lightmap_fragment>\\n\\treflectedLight.indirectDiffuse *= BRDF_Lambert( diffuseColor.rgb );\\n\\t#ifdef DOUBLE_SIDED\\n\\t\\treflectedLight.directDiffuse = ( gl_FrontFacing ) ? vLightFront : vLightBack;\\n\\t#else\\n\\t\\treflectedLight.directDiffuse = vLightFront;\\n\\t#endif\\n\\treflectedLight.directDiffuse *= BRDF_Lambert( diffuseColor.rgb ) * getShadowMask();\\n\\t#include <aomap_fragment>\\n\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\n\\t#include <envmap_fragment>\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$8 = \"#define MATCAP\\nvarying vec3 vViewPosition;\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <color_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <normal_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <normal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <fog_vertex>\\n\\tvViewPosition = - mvPosition.xyz;\\n}\";\n\tconst fragment$8 = \"#define MATCAP\\nuniform vec3 diffuse;\\nuniform float opacity;\\nuniform sampler2D matcap;\\nvarying vec3 vViewPosition;\\n#include <common>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <normal_pars_fragment>\\n#include <bumpmap_pars_fragment>\\n#include <normalmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <normal_fragment_begin>\\n\\t#include <normal_fragment_maps>\\n\\tvec3 viewDir = normalize( vViewPosition );\\n\\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\\n\\tvec3 y = cross( viewDir, x );\\n\\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5;\\n\\t#ifdef USE_MATCAP\\n\\t\\tvec4 matcapColor = texture2D( matcap, uv );\\n\\t#else\\n\\t\\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 );\\n\\t#endif\\n\\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$7 = \"#define NORMAL\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\n\\tvarying vec3 vViewPosition;\\n#endif\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <normal_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <normal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\n\\tvViewPosition = - mvPosition.xyz;\\n#endif\\n}\";\n\tconst fragment$7 = \"#define NORMAL\\nuniform float opacity;\\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( TANGENTSPACE_NORMALMAP )\\n\\tvarying vec3 vViewPosition;\\n#endif\\n#include <packing>\\n#include <uv_pars_fragment>\\n#include <normal_pars_fragment>\\n#include <bumpmap_pars_fragment>\\n#include <normalmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <normal_fragment_begin>\\n\\t#include <normal_fragment_maps>\\n\\tgl_FragColor = vec4( packNormalToRGB( normal ), opacity );\\n\\t#ifdef OPAQUE\\n\\t\\tgl_FragColor.a = 1.0;\\n\\t#endif\\n}\";\n\n\tconst vertex$6 = \"#define PHONG\\nvarying vec3 vViewPosition;\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <uv2_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <envmap_pars_vertex>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <normal_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <shadowmap_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <uv2_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <normal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\tvViewPosition = - mvPosition.xyz;\\n\\t#include <worldpos_vertex>\\n\\t#include <envmap_vertex>\\n\\t#include <shadowmap_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$6 = \"#define PHONG\\nuniform vec3 diffuse;\\nuniform vec3 emissive;\\nuniform vec3 specular;\\nuniform float shininess;\\nuniform float opacity;\\n#include <common>\\n#include <packing>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <uv2_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <aomap_pars_fragment>\\n#include <lightmap_pars_fragment>\\n#include <emissivemap_pars_fragment>\\n#include <envmap_common_pars_fragment>\\n#include <envmap_pars_fragment>\\n#include <cube_uv_reflection_fragment>\\n#include <fog_pars_fragment>\\n#include <bsdfs>\\n#include <lights_pars_begin>\\n#include <normal_pars_fragment>\\n#include <lights_phong_pars_fragment>\\n#include <shadowmap_pars_fragment>\\n#include <bumpmap_pars_fragment>\\n#include <normalmap_pars_fragment>\\n#include <specularmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\n\\tvec3 totalEmissiveRadiance = emissive;\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <specularmap_fragment>\\n\\t#include <normal_fragment_begin>\\n\\t#include <normal_fragment_maps>\\n\\t#include <emissivemap_fragment>\\n\\t#include <lights_phong_fragment>\\n\\t#include <lights_fragment_begin>\\n\\t#include <lights_fragment_maps>\\n\\t#include <lights_fragment_end>\\n\\t#include <aomap_fragment>\\n\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\\n\\t#include <envmap_fragment>\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$5 = \"#define STANDARD\\nvarying vec3 vViewPosition;\\n#ifdef USE_TRANSMISSION\\n\\tvarying vec3 vWorldPosition;\\n#endif\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <uv2_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <normal_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <shadowmap_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <uv2_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <normal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\tvViewPosition = - mvPosition.xyz;\\n\\t#include <worldpos_vertex>\\n\\t#include <shadowmap_vertex>\\n\\t#include <fog_vertex>\\n#ifdef USE_TRANSMISSION\\n\\tvWorldPosition = worldPosition.xyz;\\n#endif\\n}\";\n\tconst fragment$5 = \"#define STANDARD\\n#ifdef PHYSICAL\\n\\t#define IOR\\n\\t#define SPECULAR\\n#endif\\nuniform vec3 diffuse;\\nuniform vec3 emissive;\\nuniform float roughness;\\nuniform float metalness;\\nuniform float opacity;\\n#ifdef IOR\\n\\tuniform float ior;\\n#endif\\n#ifdef SPECULAR\\n\\tuniform float specularIntensity;\\n\\tuniform vec3 specularColor;\\n\\t#ifdef USE_SPECULARINTENSITYMAP\\n\\t\\tuniform sampler2D specularIntensityMap;\\n\\t#endif\\n\\t#ifdef USE_SPECULARCOLORMAP\\n\\t\\tuniform sampler2D specularColorMap;\\n\\t#endif\\n#endif\\n#ifdef USE_CLEARCOAT\\n\\tuniform float clearcoat;\\n\\tuniform float clearcoatRoughness;\\n#endif\\n#ifdef USE_IRIDESCENCE\\n\\tuniform float iridescence;\\n\\tuniform float iridescenceIOR;\\n\\tuniform float iridescenceThicknessMinimum;\\n\\tuniform float iridescenceThicknessMaximum;\\n#endif\\n#ifdef USE_SHEEN\\n\\tuniform vec3 sheenColor;\\n\\tuniform float sheenRoughness;\\n\\t#ifdef USE_SHEENCOLORMAP\\n\\t\\tuniform sampler2D sheenColorMap;\\n\\t#endif\\n\\t#ifdef USE_SHEENROUGHNESSMAP\\n\\t\\tuniform sampler2D sheenRoughnessMap;\\n\\t#endif\\n#endif\\nvarying vec3 vViewPosition;\\n#include <common>\\n#include <packing>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <uv2_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <aomap_pars_fragment>\\n#include <lightmap_pars_fragment>\\n#include <emissivemap_pars_fragment>\\n#include <bsdfs>\\n#include <iridescence_fragment>\\n#include <cube_uv_reflection_fragment>\\n#include <envmap_common_pars_fragment>\\n#include <envmap_physical_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <lights_pars_begin>\\n#include <normal_pars_fragment>\\n#include <lights_physical_pars_fragment>\\n#include <transmission_pars_fragment>\\n#include <shadowmap_pars_fragment>\\n#include <bumpmap_pars_fragment>\\n#include <normalmap_pars_fragment>\\n#include <clearcoat_pars_fragment>\\n#include <iridescence_pars_fragment>\\n#include <roughnessmap_pars_fragment>\\n#include <metalnessmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\n\\tvec3 totalEmissiveRadiance = emissive;\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <roughnessmap_fragment>\\n\\t#include <metalnessmap_fragment>\\n\\t#include <normal_fragment_begin>\\n\\t#include <normal_fragment_maps>\\n\\t#include <clearcoat_normal_fragment_begin>\\n\\t#include <clearcoat_normal_fragment_maps>\\n\\t#include <emissivemap_fragment>\\n\\t#include <lights_physical_fragment>\\n\\t#include <lights_fragment_begin>\\n\\t#include <lights_fragment_maps>\\n\\t#include <lights_fragment_end>\\n\\t#include <aomap_fragment>\\n\\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\\n\\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\\n\\t#include <transmission_fragment>\\n\\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\\n\\t#ifdef USE_SHEEN\\n\\t\\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\\n\\t\\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecular;\\n\\t#endif\\n\\t#ifdef USE_CLEARCOAT\\n\\t\\tfloat dotNVcc = saturate( dot( geometry.clearcoatNormal, geometry.viewDir ) );\\n\\t\\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\\n\\t\\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + clearcoatSpecular * material.clearcoat;\\n\\t#endif\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$4 = \"#define TOON\\nvarying vec3 vViewPosition;\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <uv2_pars_vertex>\\n#include <displacementmap_pars_vertex>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <normal_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <shadowmap_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\t#include <uv2_vertex>\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <normal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <displacementmap_vertex>\\n\\t#include <project_vertex>\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\tvViewPosition = - mvPosition.xyz;\\n\\t#include <worldpos_vertex>\\n\\t#include <shadowmap_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$4 = \"#define TOON\\nuniform vec3 diffuse;\\nuniform vec3 emissive;\\nuniform float opacity;\\n#include <common>\\n#include <packing>\\n#include <dithering_pars_fragment>\\n#include <color_pars_fragment>\\n#include <uv_pars_fragment>\\n#include <uv2_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <aomap_pars_fragment>\\n#include <lightmap_pars_fragment>\\n#include <emissivemap_pars_fragment>\\n#include <gradientmap_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <bsdfs>\\n#include <lights_pars_begin>\\n#include <normal_pars_fragment>\\n#include <lights_toon_pars_fragment>\\n#include <shadowmap_pars_fragment>\\n#include <bumpmap_pars_fragment>\\n#include <normalmap_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\\n\\tvec3 totalEmissiveRadiance = emissive;\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\t#include <normal_fragment_begin>\\n\\t#include <normal_fragment_maps>\\n\\t#include <emissivemap_fragment>\\n\\t#include <lights_toon_fragment>\\n\\t#include <lights_fragment_begin>\\n\\t#include <lights_fragment_maps>\\n\\t#include <lights_fragment_end>\\n\\t#include <aomap_fragment>\\n\\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n\\t#include <dithering_fragment>\\n}\";\n\n\tconst vertex$3 = \"uniform float size;\\nuniform float scale;\\n#include <common>\\n#include <color_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <color_vertex>\\n\\t#include <morphcolor_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <project_vertex>\\n\\tgl_PointSize = size;\\n\\t#ifdef USE_SIZEATTENUATION\\n\\t\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\n\\t\\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\\n\\t#endif\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <worldpos_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$3 = \"uniform vec3 diffuse;\\nuniform float opacity;\\n#include <common>\\n#include <color_pars_fragment>\\n#include <map_particle_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec3 outgoingLight = vec3( 0.0 );\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_particle_fragment>\\n\\t#include <color_fragment>\\n\\t#include <alphatest_fragment>\\n\\toutgoingLight = diffuseColor.rgb;\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n\\t#include <premultiplied_alpha_fragment>\\n}\";\n\n\tconst vertex$2 = \"#include <common>\\n#include <fog_pars_vertex>\\n#include <morphtarget_pars_vertex>\\n#include <skinning_pars_vertex>\\n#include <shadowmap_pars_vertex>\\nvoid main() {\\n\\t#include <beginnormal_vertex>\\n\\t#include <morphnormal_vertex>\\n\\t#include <skinbase_vertex>\\n\\t#include <skinnormal_vertex>\\n\\t#include <defaultnormal_vertex>\\n\\t#include <begin_vertex>\\n\\t#include <morphtarget_vertex>\\n\\t#include <skinning_vertex>\\n\\t#include <project_vertex>\\n\\t#include <worldpos_vertex>\\n\\t#include <shadowmap_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$2 = \"uniform vec3 color;\\nuniform float opacity;\\n#include <common>\\n#include <packing>\\n#include <fog_pars_fragment>\\n#include <bsdfs>\\n#include <lights_pars_begin>\\n#include <shadowmap_pars_fragment>\\n#include <shadowmask_pars_fragment>\\nvoid main() {\\n\\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n}\";\n\n\tconst vertex$1 = \"uniform float rotation;\\nuniform vec2 center;\\n#include <common>\\n#include <uv_pars_vertex>\\n#include <fog_pars_vertex>\\n#include <logdepthbuf_pars_vertex>\\n#include <clipping_planes_pars_vertex>\\nvoid main() {\\n\\t#include <uv_vertex>\\n\\tvec4 mvPosition = modelViewMatrix * vec4( 0.0, 0.0, 0.0, 1.0 );\\n\\tvec2 scale;\\n\\tscale.x = length( vec3( modelMatrix[ 0 ].x, modelMatrix[ 0 ].y, modelMatrix[ 0 ].z ) );\\n\\tscale.y = length( vec3( modelMatrix[ 1 ].x, modelMatrix[ 1 ].y, modelMatrix[ 1 ].z ) );\\n\\t#ifndef USE_SIZEATTENUATION\\n\\t\\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\\n\\t\\tif ( isPerspective ) scale *= - mvPosition.z;\\n\\t#endif\\n\\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\\n\\tvec2 rotatedPosition;\\n\\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\\n\\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\\n\\tmvPosition.xy += rotatedPosition;\\n\\tgl_Position = projectionMatrix * mvPosition;\\n\\t#include <logdepthbuf_vertex>\\n\\t#include <clipping_planes_vertex>\\n\\t#include <fog_vertex>\\n}\";\n\tconst fragment$1 = \"uniform vec3 diffuse;\\nuniform float opacity;\\n#include <common>\\n#include <uv_pars_fragment>\\n#include <map_pars_fragment>\\n#include <alphamap_pars_fragment>\\n#include <alphatest_pars_fragment>\\n#include <fog_pars_fragment>\\n#include <logdepthbuf_pars_fragment>\\n#include <clipping_planes_pars_fragment>\\nvoid main() {\\n\\t#include <clipping_planes_fragment>\\n\\tvec3 outgoingLight = vec3( 0.0 );\\n\\tvec4 diffuseColor = vec4( diffuse, opacity );\\n\\t#include <logdepthbuf_fragment>\\n\\t#include <map_fragment>\\n\\t#include <alphamap_fragment>\\n\\t#include <alphatest_fragment>\\n\\toutgoingLight = diffuseColor.rgb;\\n\\t#include <output_fragment>\\n\\t#include <tonemapping_fragment>\\n\\t#include <encodings_fragment>\\n\\t#include <fog_fragment>\\n}\";\n\n\tconst ShaderChunk = {\n\t\talphamap_fragment: alphamap_fragment,\n\t\talphamap_pars_fragment: alphamap_pars_fragment,\n\t\talphatest_fragment: alphatest_fragment,\n\t\talphatest_pars_fragment: alphatest_pars_fragment,\n\t\taomap_fragment: aomap_fragment,\n\t\taomap_pars_fragment: aomap_pars_fragment,\n\t\tbegin_vertex: begin_vertex,\n\t\tbeginnormal_vertex: beginnormal_vertex,\n\t\tbsdfs: bsdfs,\n\t\tiridescence_fragment: iridescence_fragment,\n\t\tbumpmap_pars_fragment: bumpmap_pars_fragment,\n\t\tclipping_planes_fragment: clipping_planes_fragment,\n\t\tclipping_planes_pars_fragment: clipping_planes_pars_fragment,\n\t\tclipping_planes_pars_vertex: clipping_planes_pars_vertex,\n\t\tclipping_planes_vertex: clipping_planes_vertex,\n\t\tcolor_fragment: color_fragment,\n\t\tcolor_pars_fragment: color_pars_fragment,\n\t\tcolor_pars_vertex: color_pars_vertex,\n\t\tcolor_vertex: color_vertex,\n\t\tcommon: common,\n\t\tcube_uv_reflection_fragment: cube_uv_reflection_fragment,\n\t\tdefaultnormal_vertex: defaultnormal_vertex,\n\t\tdisplacementmap_pars_vertex: displacementmap_pars_vertex,\n\t\tdisplacementmap_vertex: displacementmap_vertex,\n\t\temissivemap_fragment: emissivemap_fragment,\n\t\temissivemap_pars_fragment: emissivemap_pars_fragment,\n\t\tencodings_fragment: encodings_fragment,\n\t\tencodings_pars_fragment: encodings_pars_fragment,\n\t\tenvmap_fragment: envmap_fragment,\n\t\tenvmap_common_pars_fragment: envmap_common_pars_fragment,\n\t\tenvmap_pars_fragment: envmap_pars_fragment,\n\t\tenvmap_pars_vertex: envmap_pars_vertex,\n\t\tenvmap_physical_pars_fragment: envmap_physical_pars_fragment,\n\t\tenvmap_vertex: envmap_vertex,\n\t\tfog_vertex: fog_vertex,\n\t\tfog_pars_vertex: fog_pars_vertex,\n\t\tfog_fragment: fog_fragment,\n\t\tfog_pars_fragment: fog_pars_fragment,\n\t\tgradientmap_pars_fragment: gradientmap_pars_fragment,\n\t\tlightmap_fragment: lightmap_fragment,\n\t\tlightmap_pars_fragment: lightmap_pars_fragment,\n\t\tlights_lambert_vertex: lights_lambert_vertex,\n\t\tlights_pars_begin: lights_pars_begin,\n\t\tlights_toon_fragment: lights_toon_fragment,\n\t\tlights_toon_pars_fragment: lights_toon_pars_fragment,\n\t\tlights_phong_fragment: lights_phong_fragment,\n\t\tlights_phong_pars_fragment: lights_phong_pars_fragment,\n\t\tlights_physical_fragment: lights_physical_fragment,\n\t\tlights_physical_pars_fragment: lights_physical_pars_fragment,\n\t\tlights_fragment_begin: lights_fragment_begin,\n\t\tlights_fragment_maps: lights_fragment_maps,\n\t\tlights_fragment_end: lights_fragment_end,\n\t\tlogdepthbuf_fragment: logdepthbuf_fragment,\n\t\tlogdepthbuf_pars_fragment: logdepthbuf_pars_fragment,\n\t\tlogdepthbuf_pars_vertex: logdepthbuf_pars_vertex,\n\t\tlogdepthbuf_vertex: logdepthbuf_vertex,\n\t\tmap_fragment: map_fragment,\n\t\tmap_pars_fragment: map_pars_fragment,\n\t\tmap_particle_fragment: map_particle_fragment,\n\t\tmap_particle_pars_fragment: map_particle_pars_fragment,\n\t\tmetalnessmap_fragment: metalnessmap_fragment,\n\t\tmetalnessmap_pars_fragment: metalnessmap_pars_fragment,\n\t\tmorphcolor_vertex: morphcolor_vertex,\n\t\tmorphnormal_vertex: morphnormal_vertex,\n\t\tmorphtarget_pars_vertex: morphtarget_pars_vertex,\n\t\tmorphtarget_vertex: morphtarget_vertex,\n\t\tnormal_fragment_begin: normal_fragment_begin,\n\t\tnormal_fragment_maps: normal_fragment_maps,\n\t\tnormal_pars_fragment: normal_pars_fragment,\n\t\tnormal_pars_vertex: normal_pars_vertex,\n\t\tnormal_vertex: normal_vertex,\n\t\tnormalmap_pars_fragment: normalmap_pars_fragment,\n\t\tclearcoat_normal_fragment_begin: clearcoat_normal_fragment_begin,\n\t\tclearcoat_normal_fragment_maps: clearcoat_normal_fragment_maps,\n\t\tclearcoat_pars_fragment: clearcoat_pars_fragment,\n\t\tiridescence_pars_fragment: iridescence_pars_fragment,\n\t\toutput_fragment: output_fragment,\n\t\tpacking: packing,\n\t\tpremultiplied_alpha_fragment: premultiplied_alpha_fragment,\n\t\tproject_vertex: project_vertex,\n\t\tdithering_fragment: dithering_fragment,\n\t\tdithering_pars_fragment: dithering_pars_fragment,\n\t\troughnessmap_fragment: roughnessmap_fragment,\n\t\troughnessmap_pars_fragment: roughnessmap_pars_fragment,\n\t\tshadowmap_pars_fragment: shadowmap_pars_fragment,\n\t\tshadowmap_pars_vertex: shadowmap_pars_vertex,\n\t\tshadowmap_vertex: shadowmap_vertex,\n\t\tshadowmask_pars_fragment: shadowmask_pars_fragment,\n\t\tskinbase_vertex: skinbase_vertex,\n\t\tskinning_pars_vertex: skinning_pars_vertex,\n\t\tskinning_vertex: skinning_vertex,\n\t\tskinnormal_vertex: skinnormal_vertex,\n\t\tspecularmap_fragment: specularmap_fragment,\n\t\tspecularmap_pars_fragment: specularmap_pars_fragment,\n\t\ttonemapping_fragment: tonemapping_fragment,\n\t\ttonemapping_pars_fragment: tonemapping_pars_fragment,\n\t\ttransmission_fragment: transmission_fragment,\n\t\ttransmission_pars_fragment: transmission_pars_fragment,\n\t\tuv_pars_fragment: uv_pars_fragment,\n\t\tuv_pars_vertex: uv_pars_vertex,\n\t\tuv_vertex: uv_vertex,\n\t\tuv2_pars_fragment: uv2_pars_fragment,\n\t\tuv2_pars_vertex: uv2_pars_vertex,\n\t\tuv2_vertex: uv2_vertex,\n\t\tworldpos_vertex: worldpos_vertex,\n\t\tbackground_vert: vertex$g,\n\t\tbackground_frag: fragment$g,\n\t\tcube_vert: vertex$f,\n\t\tcube_frag: fragment$f,\n\t\tdepth_vert: vertex$e,\n\t\tdepth_frag: fragment$e,\n\t\tdistanceRGBA_vert: vertex$d,\n\t\tdistanceRGBA_frag: fragment$d,\n\t\tequirect_vert: vertex$c,\n\t\tequirect_frag: fragment$c,\n\t\tlinedashed_vert: vertex$b,\n\t\tlinedashed_frag: fragment$b,\n\t\tmeshbasic_vert: vertex$a,\n\t\tmeshbasic_frag: fragment$a,\n\t\tmeshlambert_vert: vertex$9,\n\t\tmeshlambert_frag: fragment$9,\n\t\tmeshmatcap_vert: vertex$8,\n\t\tmeshmatcap_frag: fragment$8,\n\t\tmeshnormal_vert: vertex$7,\n\t\tmeshnormal_frag: fragment$7,\n\t\tmeshphong_vert: vertex$6,\n\t\tmeshphong_frag: fragment$6,\n\t\tmeshphysical_vert: vertex$5,\n\t\tmeshphysical_frag: fragment$5,\n\t\tmeshtoon_vert: vertex$4,\n\t\tmeshtoon_frag: fragment$4,\n\t\tpoints_vert: vertex$3,\n\t\tpoints_frag: fragment$3,\n\t\tshadow_vert: vertex$2,\n\t\tshadow_frag: fragment$2,\n\t\tsprite_vert: vertex$1,\n\t\tsprite_frag: fragment$1\n\t};\n\n\t/**\n\t * Uniforms library for shared webgl shaders\n\t */\n\n\tconst UniformsLib = {\n\t\tcommon: {\n\t\t\tdiffuse: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0xffffff)\n\t\t\t},\n\t\t\topacity: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\tmap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tuvTransform: {\n\t\t\t\tvalue: /*@__PURE__*/new Matrix3()\n\t\t\t},\n\t\t\tuv2Transform: {\n\t\t\t\tvalue: /*@__PURE__*/new Matrix3()\n\t\t\t},\n\t\t\talphaMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\talphaTest: {\n\t\t\t\tvalue: 0\n\t\t\t}\n\t\t},\n\t\tspecularmap: {\n\t\t\tspecularMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tenvmap: {\n\t\t\tenvMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tflipEnvMap: {\n\t\t\t\tvalue: -1\n\t\t\t},\n\t\t\treflectivity: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\t// basic, lambert, phong\n\t\t\tior: {\n\t\t\t\tvalue: 1.5\n\t\t\t},\n\t\t\t// physical\n\t\t\trefractionRatio: {\n\t\t\t\tvalue: 0.98\n\t\t\t} // basic, lambert, phong\n\n\t\t},\n\t\taomap: {\n\t\t\taoMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\taoMapIntensity: {\n\t\t\t\tvalue: 1\n\t\t\t}\n\t\t},\n\t\tlightmap: {\n\t\t\tlightMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tlightMapIntensity: {\n\t\t\t\tvalue: 1\n\t\t\t}\n\t\t},\n\t\temissivemap: {\n\t\t\temissiveMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tbumpmap: {\n\t\t\tbumpMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tbumpScale: {\n\t\t\t\tvalue: 1\n\t\t\t}\n\t\t},\n\t\tnormalmap: {\n\t\t\tnormalMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tnormalScale: {\n\t\t\t\tvalue: /*@__PURE__*/new Vector2(1, 1)\n\t\t\t}\n\t\t},\n\t\tdisplacementmap: {\n\t\t\tdisplacementMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tdisplacementScale: {\n\t\t\t\tvalue: 1\n\t\t\t},\n\t\t\tdisplacementBias: {\n\t\t\t\tvalue: 0\n\t\t\t}\n\t\t},\n\t\troughnessmap: {\n\t\t\troughnessMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tmetalnessmap: {\n\t\t\tmetalnessMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tgradientmap: {\n\t\t\tgradientMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tfog: {\n\t\t\tfogDensity: {\n\t\t\t\tvalue: 0.00025\n\t\t\t},\n\t\t\tfogNear: {\n\t\t\t\tvalue: 1\n\t\t\t},\n\t\t\tfogFar: {\n\t\t\t\tvalue: 2000\n\t\t\t},\n\t\t\tfogColor: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0xffffff)\n\t\t\t}\n\t\t},\n\t\tlights: {\n\t\t\tambientLightColor: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tlightProbe: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tdirectionalLights: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tdirection: {},\n\t\t\t\t\tcolor: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tdirectionalLightShadows: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tshadowBias: {},\n\t\t\t\t\tshadowNormalBias: {},\n\t\t\t\t\tshadowRadius: {},\n\t\t\t\t\tshadowMapSize: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tdirectionalShadowMap: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tdirectionalShadowMatrix: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tspotLights: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tcolor: {},\n\t\t\t\t\tposition: {},\n\t\t\t\t\tdirection: {},\n\t\t\t\t\tdistance: {},\n\t\t\t\t\tconeCos: {},\n\t\t\t\t\tpenumbraCos: {},\n\t\t\t\t\tdecay: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tspotLightShadows: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tshadowBias: {},\n\t\t\t\t\tshadowNormalBias: {},\n\t\t\t\t\tshadowRadius: {},\n\t\t\t\t\tshadowMapSize: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tspotShadowMap: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tspotShadowMatrix: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tpointLights: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tcolor: {},\n\t\t\t\t\tposition: {},\n\t\t\t\t\tdecay: {},\n\t\t\t\t\tdistance: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tpointLightShadows: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tshadowBias: {},\n\t\t\t\t\tshadowNormalBias: {},\n\t\t\t\t\tshadowRadius: {},\n\t\t\t\t\tshadowMapSize: {},\n\t\t\t\t\tshadowCameraNear: {},\n\t\t\t\t\tshadowCameraFar: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tpointShadowMap: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\tpointShadowMatrix: {\n\t\t\t\tvalue: []\n\t\t\t},\n\t\t\themisphereLights: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tdirection: {},\n\t\t\t\t\tskyColor: {},\n\t\t\t\t\tgroundColor: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\t// TODO (abelnation): RectAreaLight BRDF data needs to be moved from example to main src\n\t\t\trectAreaLights: {\n\t\t\t\tvalue: [],\n\t\t\t\tproperties: {\n\t\t\t\t\tcolor: {},\n\t\t\t\t\tposition: {},\n\t\t\t\t\twidth: {},\n\t\t\t\t\theight: {}\n\t\t\t\t}\n\t\t\t},\n\t\t\tltc_1: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tltc_2: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t},\n\t\tpoints: {\n\t\t\tdiffuse: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0xffffff)\n\t\t\t},\n\t\t\topacity: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\tscale: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\tmap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\talphaMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\talphaTest: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tuvTransform: {\n\t\t\t\tvalue: /*@__PURE__*/new Matrix3()\n\t\t\t}\n\t\t},\n\t\tsprite: {\n\t\t\tdiffuse: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0xffffff)\n\t\t\t},\n\t\t\topacity: {\n\t\t\t\tvalue: 1.0\n\t\t\t},\n\t\t\tcenter: {\n\t\t\t\tvalue: /*@__PURE__*/new Vector2(0.5, 0.5)\n\t\t\t},\n\t\t\trotation: {\n\t\t\t\tvalue: 0.0\n\t\t\t},\n\t\t\tmap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\talphaMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\talphaTest: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tuvTransform: {\n\t\t\t\tvalue: /*@__PURE__*/new Matrix3()\n\t\t\t}\n\t\t}\n\t};\n\n\tconst ShaderLib = {\n\t\tbasic: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.specularmap, UniformsLib.envmap, UniformsLib.aomap, UniformsLib.lightmap, UniformsLib.fog]),\n\t\t\tvertexShader: ShaderChunk.meshbasic_vert,\n\t\t\tfragmentShader: ShaderChunk.meshbasic_frag\n\t\t},\n\t\tlambert: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.specularmap, UniformsLib.envmap, UniformsLib.aomap, UniformsLib.lightmap, UniformsLib.emissivemap, UniformsLib.fog, UniformsLib.lights, {\n\t\t\t\temissive: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshlambert_vert,\n\t\t\tfragmentShader: ShaderChunk.meshlambert_frag\n\t\t},\n\t\tphong: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.specularmap, UniformsLib.envmap, UniformsLib.aomap, UniformsLib.lightmap, UniformsLib.emissivemap, UniformsLib.bumpmap, UniformsLib.normalmap, UniformsLib.displacementmap, UniformsLib.fog, UniformsLib.lights, {\n\t\t\t\temissive: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t\t},\n\t\t\t\tspecular: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x111111)\n\t\t\t\t},\n\t\t\t\tshininess: {\n\t\t\t\t\tvalue: 30\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshphong_vert,\n\t\t\tfragmentShader: ShaderChunk.meshphong_frag\n\t\t},\n\t\tstandard: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.envmap, UniformsLib.aomap, UniformsLib.lightmap, UniformsLib.emissivemap, UniformsLib.bumpmap, UniformsLib.normalmap, UniformsLib.displacementmap, UniformsLib.roughnessmap, UniformsLib.metalnessmap, UniformsLib.fog, UniformsLib.lights, {\n\t\t\t\temissive: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t\t},\n\t\t\t\troughness: {\n\t\t\t\t\tvalue: 1.0\n\t\t\t\t},\n\t\t\t\tmetalness: {\n\t\t\t\t\tvalue: 0.0\n\t\t\t\t},\n\t\t\t\tenvMapIntensity: {\n\t\t\t\t\tvalue: 1\n\t\t\t\t} // temporary\n\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshphysical_vert,\n\t\t\tfragmentShader: ShaderChunk.meshphysical_frag\n\t\t},\n\t\ttoon: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.aomap, UniformsLib.lightmap, UniformsLib.emissivemap, UniformsLib.bumpmap, UniformsLib.normalmap, UniformsLib.displacementmap, UniformsLib.gradientmap, UniformsLib.fog, UniformsLib.lights, {\n\t\t\t\temissive: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshtoon_vert,\n\t\t\tfragmentShader: ShaderChunk.meshtoon_frag\n\t\t},\n\t\tmatcap: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.bumpmap, UniformsLib.normalmap, UniformsLib.displacementmap, UniformsLib.fog, {\n\t\t\t\tmatcap: {\n\t\t\t\t\tvalue: null\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshmatcap_vert,\n\t\t\tfragmentShader: ShaderChunk.meshmatcap_frag\n\t\t},\n\t\tpoints: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.points, UniformsLib.fog]),\n\t\t\tvertexShader: ShaderChunk.points_vert,\n\t\t\tfragmentShader: ShaderChunk.points_frag\n\t\t},\n\t\tdashed: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.fog, {\n\t\t\t\tscale: {\n\t\t\t\t\tvalue: 1\n\t\t\t\t},\n\t\t\t\tdashSize: {\n\t\t\t\t\tvalue: 1\n\t\t\t\t},\n\t\t\t\ttotalSize: {\n\t\t\t\t\tvalue: 2\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.linedashed_vert,\n\t\t\tfragmentShader: ShaderChunk.linedashed_frag\n\t\t},\n\t\tdepth: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.displacementmap]),\n\t\t\tvertexShader: ShaderChunk.depth_vert,\n\t\t\tfragmentShader: ShaderChunk.depth_frag\n\t\t},\n\t\tnormal: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.bumpmap, UniformsLib.normalmap, UniformsLib.displacementmap, {\n\t\t\t\topacity: {\n\t\t\t\t\tvalue: 1.0\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.meshnormal_vert,\n\t\t\tfragmentShader: ShaderChunk.meshnormal_frag\n\t\t},\n\t\tsprite: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.sprite, UniformsLib.fog]),\n\t\t\tvertexShader: ShaderChunk.sprite_vert,\n\t\t\tfragmentShader: ShaderChunk.sprite_frag\n\t\t},\n\t\tbackground: {\n\t\t\tuniforms: {\n\t\t\t\tuvTransform: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Matrix3()\n\t\t\t\t},\n\t\t\t\tt2D: {\n\t\t\t\t\tvalue: null\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: ShaderChunk.background_vert,\n\t\t\tfragmentShader: ShaderChunk.background_frag\n\t\t},\n\t\tcube: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.envmap, {\n\t\t\t\topacity: {\n\t\t\t\t\tvalue: 1.0\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.cube_vert,\n\t\t\tfragmentShader: ShaderChunk.cube_frag\n\t\t},\n\t\tequirect: {\n\t\t\tuniforms: {\n\t\t\t\ttEquirect: {\n\t\t\t\t\tvalue: null\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: ShaderChunk.equirect_vert,\n\t\t\tfragmentShader: ShaderChunk.equirect_frag\n\t\t},\n\t\tdistanceRGBA: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.common, UniformsLib.displacementmap, {\n\t\t\t\treferencePosition: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Vector3()\n\t\t\t\t},\n\t\t\t\tnearDistance: {\n\t\t\t\t\tvalue: 1\n\t\t\t\t},\n\t\t\t\tfarDistance: {\n\t\t\t\t\tvalue: 1000\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.distanceRGBA_vert,\n\t\t\tfragmentShader: ShaderChunk.distanceRGBA_frag\n\t\t},\n\t\tshadow: {\n\t\t\tuniforms: /*@__PURE__*/mergeUniforms([UniformsLib.lights, UniformsLib.fog, {\n\t\t\t\tcolor: {\n\t\t\t\t\tvalue: /*@__PURE__*/new Color(0x00000)\n\t\t\t\t},\n\t\t\t\topacity: {\n\t\t\t\t\tvalue: 1.0\n\t\t\t\t}\n\t\t\t}]),\n\t\t\tvertexShader: ShaderChunk.shadow_vert,\n\t\t\tfragmentShader: ShaderChunk.shadow_frag\n\t\t}\n\t};\n\tShaderLib.physical = {\n\t\tuniforms: /*@__PURE__*/mergeUniforms([ShaderLib.standard.uniforms, {\n\t\t\tclearcoat: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tclearcoatMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tclearcoatRoughness: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tclearcoatRoughnessMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tclearcoatNormalScale: {\n\t\t\t\tvalue: /*@__PURE__*/new Vector2(1, 1)\n\t\t\t},\n\t\t\tclearcoatNormalMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tiridescence: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tiridescenceMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tiridescenceIOR: {\n\t\t\t\tvalue: 1.3\n\t\t\t},\n\t\t\tiridescenceThicknessMinimum: {\n\t\t\t\tvalue: 100\n\t\t\t},\n\t\t\tiridescenceThicknessMaximum: {\n\t\t\t\tvalue: 400\n\t\t\t},\n\t\t\tiridescenceThicknessMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tsheen: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tsheenColor: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t},\n\t\t\tsheenColorMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tsheenRoughness: {\n\t\t\t\tvalue: 1\n\t\t\t},\n\t\t\tsheenRoughnessMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\ttransmission: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\ttransmissionMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\ttransmissionSamplerSize: {\n\t\t\t\tvalue: /*@__PURE__*/new Vector2()\n\t\t\t},\n\t\t\ttransmissionSamplerMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tthickness: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tthicknessMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tattenuationDistance: {\n\t\t\t\tvalue: 0\n\t\t\t},\n\t\t\tattenuationColor: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(0x000000)\n\t\t\t},\n\t\t\tspecularIntensity: {\n\t\t\t\tvalue: 1\n\t\t\t},\n\t\t\tspecularIntensityMap: {\n\t\t\t\tvalue: null\n\t\t\t},\n\t\t\tspecularColor: {\n\t\t\t\tvalue: /*@__PURE__*/new Color(1, 1, 1)\n\t\t\t},\n\t\t\tspecularColorMap: {\n\t\t\t\tvalue: null\n\t\t\t}\n\t\t}]),\n\t\tvertexShader: ShaderChunk.meshphysical_vert,\n\t\tfragmentShader: ShaderChunk.meshphysical_frag\n\t};\n\n\tfunction WebGLBackground(renderer, cubemaps, state, objects, alpha, premultipliedAlpha) {\n\t\tconst clearColor = new Color(0x000000);\n\t\tlet clearAlpha = alpha === true ? 0 : 1;\n\t\tlet planeMesh;\n\t\tlet boxMesh;\n\t\tlet currentBackground = null;\n\t\tlet currentBackgroundVersion = 0;\n\t\tlet currentTonemapping = null;\n\n\t\tfunction render(renderList, scene) {\n\t\t\tlet forceClear = false;\n\t\t\tlet background = scene.isScene === true ? scene.background : null;\n\n\t\t\tif (background && background.isTexture) {\n\t\t\t\tbackground = cubemaps.get(background);\n\t\t\t} // Ignore background in AR\n\t\t\t// TODO: Reconsider this.\n\n\n\t\t\tconst xr = renderer.xr;\n\t\t\tconst session = xr.getSession && xr.getSession();\n\n\t\t\tif (session && session.environmentBlendMode === 'additive') {\n\t\t\t\tbackground = null;\n\t\t\t}\n\n\t\t\tif (background === null) {\n\t\t\t\tsetClear(clearColor, clearAlpha);\n\t\t\t} else if (background && background.isColor) {\n\t\t\t\tsetClear(background, 1);\n\t\t\t\tforceClear = true;\n\t\t\t}\n\n\t\t\tif (renderer.autoClear || forceClear) {\n\t\t\t\trenderer.clear(renderer.autoClearColor, renderer.autoClearDepth, renderer.autoClearStencil);\n\t\t\t}\n\n\t\t\tif (background && (background.isCubeTexture || background.mapping === CubeUVReflectionMapping)) {\n\t\t\t\tif (boxMesh === undefined) {\n\t\t\t\t\tboxMesh = new Mesh(new BoxGeometry(1, 1, 1), new ShaderMaterial({\n\t\t\t\t\t\tname: 'BackgroundCubeMaterial',\n\t\t\t\t\t\tuniforms: cloneUniforms(ShaderLib.cube.uniforms),\n\t\t\t\t\t\tvertexShader: ShaderLib.cube.vertexShader,\n\t\t\t\t\t\tfragmentShader: ShaderLib.cube.fragmentShader,\n\t\t\t\t\t\tside: BackSide,\n\t\t\t\t\t\tdepthTest: false,\n\t\t\t\t\t\tdepthWrite: false,\n\t\t\t\t\t\tfog: false\n\t\t\t\t\t}));\n\t\t\t\t\tboxMesh.geometry.deleteAttribute('normal');\n\t\t\t\t\tboxMesh.geometry.deleteAttribute('uv');\n\n\t\t\t\t\tboxMesh.onBeforeRender = function (renderer, scene, camera) {\n\t\t\t\t\t\tthis.matrixWorld.copyPosition(camera.matrixWorld);\n\t\t\t\t\t}; // enable code injection for non-built-in material\n\n\n\t\t\t\t\tObject.defineProperty(boxMesh.material, 'envMap', {\n\t\t\t\t\t\tget: function () {\n\t\t\t\t\t\t\treturn this.uniforms.envMap.value;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tobjects.update(boxMesh);\n\t\t\t\t}\n\n\t\t\t\tboxMesh.material.uniforms.envMap.value = background;\n\t\t\t\tboxMesh.material.uniforms.flipEnvMap.value = background.isCubeTexture && background.isRenderTargetTexture === false ? -1 : 1;\n\n\t\t\t\tif (currentBackground !== background || currentBackgroundVersion !== background.version || currentTonemapping !== renderer.toneMapping) {\n\t\t\t\t\tboxMesh.material.needsUpdate = true;\n\t\t\t\t\tcurrentBackground = background;\n\t\t\t\t\tcurrentBackgroundVersion = background.version;\n\t\t\t\t\tcurrentTonemapping = renderer.toneMapping;\n\t\t\t\t}\n\n\t\t\t\tboxMesh.layers.enableAll(); // push to the pre-sorted opaque render list\n\n\t\t\t\trenderList.unshift(boxMesh, boxMesh.geometry, boxMesh.material, 0, 0, null);\n\t\t\t} else if (background && background.isTexture) {\n\t\t\t\tif (planeMesh === undefined) {\n\t\t\t\t\tplaneMesh = new Mesh(new PlaneGeometry(2, 2), new ShaderMaterial({\n\t\t\t\t\t\tname: 'BackgroundMaterial',\n\t\t\t\t\t\tuniforms: cloneUniforms(ShaderLib.background.uniforms),\n\t\t\t\t\t\tvertexShader: ShaderLib.background.vertexShader,\n\t\t\t\t\t\tfragmentShader: ShaderLib.background.fragmentShader,\n\t\t\t\t\t\tside: FrontSide,\n\t\t\t\t\t\tdepthTest: false,\n\t\t\t\t\t\tdepthWrite: false,\n\t\t\t\t\t\tfog: false\n\t\t\t\t\t}));\n\t\t\t\t\tplaneMesh.geometry.deleteAttribute('normal'); // enable code injection for non-built-in material\n\n\t\t\t\t\tObject.defineProperty(planeMesh.material, 'map', {\n\t\t\t\t\t\tget: function () {\n\t\t\t\t\t\t\treturn this.uniforms.t2D.value;\n\t\t\t\t\t\t}\n\t\t\t\t\t});\n\t\t\t\t\tobjects.update(planeMesh);\n\t\t\t\t}\n\n\t\t\t\tplaneMesh.material.uniforms.t2D.value = background;\n\n\t\t\t\tif (background.matrixAutoUpdate === true) {\n\t\t\t\t\tbackground.updateMatrix();\n\t\t\t\t}\n\n\t\t\t\tplaneMesh.material.uniforms.uvTransform.value.copy(background.matrix);\n\n\t\t\t\tif (currentBackground !== background || currentBackgroundVersion !== background.version || currentTonemapping !== renderer.toneMapping) {\n\t\t\t\t\tplaneMesh.material.needsUpdate = true;\n\t\t\t\t\tcurrentBackground = background;\n\t\t\t\t\tcurrentBackgroundVersion = background.version;\n\t\t\t\t\tcurrentTonemapping = renderer.toneMapping;\n\t\t\t\t}\n\n\t\t\t\tplaneMesh.layers.enableAll(); // push to the pre-sorted opaque render list\n\n\t\t\t\trenderList.unshift(planeMesh, planeMesh.geometry, planeMesh.material, 0, 0, null);\n\t\t\t}\n\t\t}\n\n\t\tfunction setClear(color, alpha) {\n\t\t\tstate.buffers.color.setClear(color.r, color.g, color.b, alpha, premultipliedAlpha);\n\t\t}\n\n\t\treturn {\n\t\t\tgetClearColor: function () {\n\t\t\t\treturn clearColor;\n\t\t\t},\n\t\t\tsetClearColor: function (color, alpha = 1) {\n\t\t\t\tclearColor.set(color);\n\t\t\t\tclearAlpha = alpha;\n\t\t\t\tsetClear(clearColor, clearAlpha);\n\t\t\t},\n\t\t\tgetClearAlpha: function () {\n\t\t\t\treturn clearAlpha;\n\t\t\t},\n\t\t\tsetClearAlpha: function (alpha) {\n\t\t\t\tclearAlpha = alpha;\n\t\t\t\tsetClear(clearColor, clearAlpha);\n\t\t\t},\n\t\t\trender: render\n\t\t};\n\t}\n\n\tfunction WebGLBindingStates(gl, extensions, attributes, capabilities) {\n\t\tconst maxVertexAttributes = gl.getParameter(gl.MAX_VERTEX_ATTRIBS);\n\t\tconst extension = capabilities.isWebGL2 ? null : extensions.get('OES_vertex_array_object');\n\t\tconst vaoAvailable = capabilities.isWebGL2 || extension !== null;\n\t\tconst bindingStates = {};\n\t\tconst defaultState = createBindingState(null);\n\t\tlet currentState = defaultState;\n\t\tlet forceUpdate = false;\n\n\t\tfunction setup(object, material, program, geometry, index) {\n\t\t\tlet updateBuffers = false;\n\n\t\t\tif (vaoAvailable) {\n\t\t\t\tconst state = getBindingState(geometry, program, material);\n\n\t\t\t\tif (currentState !== state) {\n\t\t\t\t\tcurrentState = state;\n\t\t\t\t\tbindVertexArrayObject(currentState.object);\n\t\t\t\t}\n\n\t\t\t\tupdateBuffers = needsUpdate(object, geometry, program, index);\n\t\t\t\tif (updateBuffers) saveCache(object, geometry, program, index);\n\t\t\t} else {\n\t\t\t\tconst wireframe = material.wireframe === true;\n\n\t\t\t\tif (currentState.geometry !== geometry.id || currentState.program !== program.id || currentState.wireframe !== wireframe) {\n\t\t\t\t\tcurrentState.geometry = geometry.id;\n\t\t\t\t\tcurrentState.program = program.id;\n\t\t\t\t\tcurrentState.wireframe = wireframe;\n\t\t\t\t\tupdateBuffers = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (index !== null) {\n\t\t\t\tattributes.update(index, gl.ELEMENT_ARRAY_BUFFER);\n\t\t\t}\n\n\t\t\tif (updateBuffers || forceUpdate) {\n\t\t\t\tforceUpdate = false;\n\t\t\t\tsetupVertexAttributes(object, material, program, geometry);\n\n\t\t\t\tif (index !== null) {\n\t\t\t\t\tgl.bindBuffer(gl.ELEMENT_ARRAY_BUFFER, attributes.get(index).buffer);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction createVertexArrayObject() {\n\t\t\tif (capabilities.isWebGL2) return gl.createVertexArray();\n\t\t\treturn extension.createVertexArrayOES();\n\t\t}\n\n\t\tfunction bindVertexArrayObject(vao) {\n\t\t\tif (capabilities.isWebGL2) return gl.bindVertexArray(vao);\n\t\t\treturn extension.bindVertexArrayOES(vao);\n\t\t}\n\n\t\tfunction deleteVertexArrayObject(vao) {\n\t\t\tif (capabilities.isWebGL2) return gl.deleteVertexArray(vao);\n\t\t\treturn extension.deleteVertexArrayOES(vao);\n\t\t}\n\n\t\tfunction getBindingState(geometry, program, material) {\n\t\t\tconst wireframe = material.wireframe === true;\n\t\t\tlet programMap = bindingStates[geometry.id];\n\n\t\t\tif (programMap === undefined) {\n\t\t\t\tprogramMap = {};\n\t\t\t\tbindingStates[geometry.id] = programMap;\n\t\t\t}\n\n\t\t\tlet stateMap = programMap[program.id];\n\n\t\t\tif (stateMap === undefined) {\n\t\t\t\tstateMap = {};\n\t\t\t\tprogramMap[program.id] = stateMap;\n\t\t\t}\n\n\t\t\tlet state = stateMap[wireframe];\n\n\t\t\tif (state === undefined) {\n\t\t\t\tstate = createBindingState(createVertexArrayObject());\n\t\t\t\tstateMap[wireframe] = state;\n\t\t\t}\n\n\t\t\treturn state;\n\t\t}\n\n\t\tfunction createBindingState(vao) {\n\t\t\tconst newAttributes = [];\n\t\t\tconst enabledAttributes = [];\n\t\t\tconst attributeDivisors = [];\n\n\t\t\tfor (let i = 0; i < maxVertexAttributes; i++) {\n\t\t\t\tnewAttributes[i] = 0;\n\t\t\t\tenabledAttributes[i] = 0;\n\t\t\t\tattributeDivisors[i] = 0;\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\t// for backward compatibility on non-VAO support browser\n\t\t\t\tgeometry: null,\n\t\t\t\tprogram: null,\n\t\t\t\twireframe: false,\n\t\t\t\tnewAttributes: newAttributes,\n\t\t\t\tenabledAttributes: enabledAttributes,\n\t\t\t\tattributeDivisors: attributeDivisors,\n\t\t\t\tobject: vao,\n\t\t\t\tattributes: {},\n\t\t\t\tindex: null\n\t\t\t};\n\t\t}\n\n\t\tfunction needsUpdate(object, geometry, program, index) {\n\t\t\tconst cachedAttributes = currentState.attributes;\n\t\t\tconst geometryAttributes = geometry.attributes;\n\t\t\tlet attributesNum = 0;\n\t\t\tconst programAttributes = program.getAttributes();\n\n\t\t\tfor (const name in programAttributes) {\n\t\t\t\tconst programAttribute = programAttributes[name];\n\n\t\t\t\tif (programAttribute.location >= 0) {\n\t\t\t\t\tconst cachedAttribute = cachedAttributes[name];\n\t\t\t\t\tlet geometryAttribute = geometryAttributes[name];\n\n\t\t\t\t\tif (geometryAttribute === undefined) {\n\t\t\t\t\t\tif (name === 'instanceMatrix' && object.instanceMatrix) geometryAttribute = object.instanceMatrix;\n\t\t\t\t\t\tif (name === 'instanceColor' && object.instanceColor) geometryAttribute = object.instanceColor;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (cachedAttribute === undefined) return true;\n\t\t\t\t\tif (cachedAttribute.attribute !== geometryAttribute) return true;\n\t\t\t\t\tif (geometryAttribute && cachedAttribute.data !== geometryAttribute.data) return true;\n\t\t\t\t\tattributesNum++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (currentState.attributesNum !== attributesNum) return true;\n\t\t\tif (currentState.index !== index) return true;\n\t\t\treturn false;\n\t\t}\n\n\t\tfunction saveCache(object, geometry, program, index) {\n\t\t\tconst cache = {};\n\t\t\tconst attributes = geometry.attributes;\n\t\t\tlet attributesNum = 0;\n\t\t\tconst programAttributes = program.getAttributes();\n\n\t\t\tfor (const name in programAttributes) {\n\t\t\t\tconst programAttribute = programAttributes[name];\n\n\t\t\t\tif (programAttribute.location >= 0) {\n\t\t\t\t\tlet attribute = attributes[name];\n\n\t\t\t\t\tif (attribute === undefined) {\n\t\t\t\t\t\tif (name === 'instanceMatrix' && object.instanceMatrix) attribute = object.instanceMatrix;\n\t\t\t\t\t\tif (name === 'instanceColor' && object.instanceColor) attribute = object.instanceColor;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst data = {};\n\t\t\t\t\tdata.attribute = attribute;\n\n\t\t\t\t\tif (attribute && attribute.data) {\n\t\t\t\t\t\tdata.data = attribute.data;\n\t\t\t\t\t}\n\n\t\t\t\t\tcache[name] = data;\n\t\t\t\t\tattributesNum++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tcurrentState.attributes = cache;\n\t\t\tcurrentState.attributesNum = attributesNum;\n\t\t\tcurrentState.index = index;\n\t\t}\n\n\t\tfunction initAttributes() {\n\t\t\tconst newAttributes = currentState.newAttributes;\n\n\t\t\tfor (let i = 0, il = newAttributes.length; i < il; i++) {\n\t\t\t\tnewAttributes[i] = 0;\n\t\t\t}\n\t\t}\n\n\t\tfunction enableAttribute(attribute) {\n\t\t\tenableAttributeAndDivisor(attribute, 0);\n\t\t}\n\n\t\tfunction enableAttributeAndDivisor(attribute, meshPerAttribute) {\n\t\t\tconst newAttributes = currentState.newAttributes;\n\t\t\tconst enabledAttributes = currentState.enabledAttributes;\n\t\t\tconst attributeDivisors = currentState.attributeDivisors;\n\t\t\tnewAttributes[attribute] = 1;\n\n\t\t\tif (enabledAttributes[attribute] === 0) {\n\t\t\t\tgl.enableVertexAttribArray(attribute);\n\t\t\t\tenabledAttributes[attribute] = 1;\n\t\t\t}\n\n\t\t\tif (attributeDivisors[attribute] !== meshPerAttribute) {\n\t\t\t\tconst extension = capabilities.isWebGL2 ? gl : extensions.get('ANGLE_instanced_arrays');\n\t\t\t\textension[capabilities.isWebGL2 ? 'vertexAttribDivisor' : 'vertexAttribDivisorANGLE'](attribute, meshPerAttribute);\n\t\t\t\tattributeDivisors[attribute] = meshPerAttribute;\n\t\t\t}\n\t\t}\n\n\t\tfunction disableUnusedAttributes() {\n\t\t\tconst newAttributes = currentState.newAttributes;\n\t\t\tconst enabledAttributes = currentState.enabledAttributes;\n\n\t\t\tfor (let i = 0, il = enabledAttributes.length; i < il; i++) {\n\t\t\t\tif (enabledAttributes[i] !== newAttributes[i]) {\n\t\t\t\t\tgl.disableVertexAttribArray(i);\n\t\t\t\t\tenabledAttributes[i] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction vertexAttribPointer(index, size, type, normalized, stride, offset) {\n\t\t\tif (capabilities.isWebGL2 === true && (type === gl.INT || type === gl.UNSIGNED_INT)) {\n\t\t\t\tgl.vertexAttribIPointer(index, size, type, stride, offset);\n\t\t\t} else {\n\t\t\t\tgl.vertexAttribPointer(index, size, type, normalized, stride, offset);\n\t\t\t}\n\t\t}\n\n\t\tfunction setupVertexAttributes(object, material, program, geometry) {\n\t\t\tif (capabilities.isWebGL2 === false && (object.isInstancedMesh || geometry.isInstancedBufferGeometry)) {\n\t\t\t\tif (extensions.get('ANGLE_instanced_arrays') === null) return;\n\t\t\t}\n\n\t\t\tinitAttributes();\n\t\t\tconst geometryAttributes = geometry.attributes;\n\t\t\tconst programAttributes = program.getAttributes();\n\t\t\tconst materialDefaultAttributeValues = material.defaultAttributeValues;\n\n\t\t\tfor (const name in programAttributes) {\n\t\t\t\tconst programAttribute = programAttributes[name];\n\n\t\t\t\tif (programAttribute.location >= 0) {\n\t\t\t\t\tlet geometryAttribute = geometryAttributes[name];\n\n\t\t\t\t\tif (geometryAttribute === undefined) {\n\t\t\t\t\t\tif (name === 'instanceMatrix' && object.instanceMatrix) geometryAttribute = object.instanceMatrix;\n\t\t\t\t\t\tif (name === 'instanceColor' && object.instanceColor) geometryAttribute = object.instanceColor;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (geometryAttribute !== undefined) {\n\t\t\t\t\t\tconst normalized = geometryAttribute.normalized;\n\t\t\t\t\t\tconst size = geometryAttribute.itemSize;\n\t\t\t\t\t\tconst attribute = attributes.get(geometryAttribute); // TODO Attribute may not be available on context restore\n\n\t\t\t\t\t\tif (attribute === undefined) continue;\n\t\t\t\t\t\tconst buffer = attribute.buffer;\n\t\t\t\t\t\tconst type = attribute.type;\n\t\t\t\t\t\tconst bytesPerElement = attribute.bytesPerElement;\n\n\t\t\t\t\t\tif (geometryAttribute.isInterleavedBufferAttribute) {\n\t\t\t\t\t\t\tconst data = geometryAttribute.data;\n\t\t\t\t\t\t\tconst stride = data.stride;\n\t\t\t\t\t\t\tconst offset = geometryAttribute.offset;\n\n\t\t\t\t\t\t\tif (data.isInstancedInterleavedBuffer) {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\t\tenableAttributeAndDivisor(programAttribute.location + i, data.meshPerAttribute);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (object.isInstancedMesh !== true && geometry._maxInstanceCount === undefined) {\n\t\t\t\t\t\t\t\t\tgeometry._maxInstanceCount = data.meshPerAttribute * data.count;\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\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\t\tenableAttribute(programAttribute.location + i);\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\tgl.bindBuffer(gl.ARRAY_BUFFER, buffer);\n\n\t\t\t\t\t\t\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\tvertexAttribPointer(programAttribute.location + i, size / programAttribute.locationSize, type, normalized, stride * bytesPerElement, (offset + size / programAttribute.locationSize * i) * bytesPerElement);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (geometryAttribute.isInstancedBufferAttribute) {\n\t\t\t\t\t\t\t\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\t\tenableAttributeAndDivisor(programAttribute.location + i, geometryAttribute.meshPerAttribute);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (object.isInstancedMesh !== true && geometry._maxInstanceCount === undefined) {\n\t\t\t\t\t\t\t\t\tgeometry._maxInstanceCount = geometryAttribute.meshPerAttribute * geometryAttribute.count;\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\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\t\tenableAttribute(programAttribute.location + i);\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\tgl.bindBuffer(gl.ARRAY_BUFFER, buffer);\n\n\t\t\t\t\t\t\tfor (let i = 0; i < programAttribute.locationSize; i++) {\n\t\t\t\t\t\t\t\tvertexAttribPointer(programAttribute.location + i, size / programAttribute.locationSize, type, normalized, size * bytesPerElement, size / programAttribute.locationSize * i * bytesPerElement);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (materialDefaultAttributeValues !== undefined) {\n\t\t\t\t\t\tconst value = materialDefaultAttributeValues[name];\n\n\t\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\t\tswitch (value.length) {\n\t\t\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\t\t\tgl.vertexAttrib2fv(programAttribute.location, value);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\t\t\tgl.vertexAttrib3fv(programAttribute.location, value);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase 4:\n\t\t\t\t\t\t\t\t\tgl.vertexAttrib4fv(programAttribute.location, value);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\tgl.vertexAttrib1fv(programAttribute.location, value);\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\n\t\t\tdisableUnusedAttributes();\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\treset();\n\n\t\t\tfor (const geometryId in bindingStates) {\n\t\t\t\tconst programMap = bindingStates[geometryId];\n\n\t\t\t\tfor (const programId in programMap) {\n\t\t\t\t\tconst stateMap = programMap[programId];\n\n\t\t\t\t\tfor (const wireframe in stateMap) {\n\t\t\t\t\t\tdeleteVertexArrayObject(stateMap[wireframe].object);\n\t\t\t\t\t\tdelete stateMap[wireframe];\n\t\t\t\t\t}\n\n\t\t\t\t\tdelete programMap[programId];\n\t\t\t\t}\n\n\t\t\t\tdelete bindingStates[geometryId];\n\t\t\t}\n\t\t}\n\n\t\tfunction releaseStatesOfGeometry(geometry) {\n\t\t\tif (bindingStates[geometry.id] === undefined) return;\n\t\t\tconst programMap = bindingStates[geometry.id];\n\n\t\t\tfor (const programId in programMap) {\n\t\t\t\tconst stateMap = programMap[programId];\n\n\t\t\t\tfor (const wireframe in stateMap) {\n\t\t\t\t\tdeleteVertexArrayObject(stateMap[wireframe].object);\n\t\t\t\t\tdelete stateMap[wireframe];\n\t\t\t\t}\n\n\t\t\t\tdelete programMap[programId];\n\t\t\t}\n\n\t\t\tdelete bindingStates[geometry.id];\n\t\t}\n\n\t\tfunction releaseStatesOfProgram(program) {\n\t\t\tfor (const geometryId in bindingStates) {\n\t\t\t\tconst programMap = bindingStates[geometryId];\n\t\t\t\tif (programMap[program.id] === undefined) continue;\n\t\t\t\tconst stateMap = programMap[program.id];\n\n\t\t\t\tfor (const wireframe in stateMap) {\n\t\t\t\t\tdeleteVertexArrayObject(stateMap[wireframe].object);\n\t\t\t\t\tdelete stateMap[wireframe];\n\t\t\t\t}\n\n\t\t\t\tdelete programMap[program.id];\n\t\t\t}\n\t\t}\n\n\t\tfunction reset() {\n\t\t\tresetDefaultState();\n\t\t\tforceUpdate = true;\n\t\t\tif (currentState === defaultState) return;\n\t\t\tcurrentState = defaultState;\n\t\t\tbindVertexArrayObject(currentState.object);\n\t\t} // for backward-compatibility\n\n\n\t\tfunction resetDefaultState() {\n\t\t\tdefaultState.geometry = null;\n\t\t\tdefaultState.program = null;\n\t\t\tdefaultState.wireframe = false;\n\t\t}\n\n\t\treturn {\n\t\t\tsetup: setup,\n\t\t\treset: reset,\n\t\t\tresetDefaultState: resetDefaultState,\n\t\t\tdispose: dispose,\n\t\t\treleaseStatesOfGeometry: releaseStatesOfGeometry,\n\t\t\treleaseStatesOfProgram: releaseStatesOfProgram,\n\t\t\tinitAttributes: initAttributes,\n\t\t\tenableAttribute: enableAttribute,\n\t\t\tdisableUnusedAttributes: disableUnusedAttributes\n\t\t};\n\t}\n\n\tfunction WebGLBufferRenderer(gl, extensions, info, capabilities) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\t\tlet mode;\n\n\t\tfunction setMode(value) {\n\t\t\tmode = value;\n\t\t}\n\n\t\tfunction render(start, count) {\n\t\t\tgl.drawArrays(mode, start, count);\n\t\t\tinfo.update(count, mode, 1);\n\t\t}\n\n\t\tfunction renderInstances(start, count, primcount) {\n\t\t\tif (primcount === 0) return;\n\t\t\tlet extension, methodName;\n\n\t\t\tif (isWebGL2) {\n\t\t\t\textension = gl;\n\t\t\t\tmethodName = 'drawArraysInstanced';\n\t\t\t} else {\n\t\t\t\textension = extensions.get('ANGLE_instanced_arrays');\n\t\t\t\tmethodName = 'drawArraysInstancedANGLE';\n\n\t\t\t\tif (extension === null) {\n\t\t\t\t\tconsole.error('THREE.WebGLBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\textension[methodName](mode, start, count, primcount);\n\t\t\tinfo.update(count, mode, primcount);\n\t\t} //\n\n\n\t\tthis.setMode = setMode;\n\t\tthis.render = render;\n\t\tthis.renderInstances = renderInstances;\n\t}\n\n\tfunction WebGLCapabilities(gl, extensions, parameters) {\n\t\tlet maxAnisotropy;\n\n\t\tfunction getMaxAnisotropy() {\n\t\t\tif (maxAnisotropy !== undefined) return maxAnisotropy;\n\n\t\t\tif (extensions.has('EXT_texture_filter_anisotropic') === true) {\n\t\t\t\tconst extension = extensions.get('EXT_texture_filter_anisotropic');\n\t\t\t\tmaxAnisotropy = gl.getParameter(extension.MAX_TEXTURE_MAX_ANISOTROPY_EXT);\n\t\t\t} else {\n\t\t\t\tmaxAnisotropy = 0;\n\t\t\t}\n\n\t\t\treturn maxAnisotropy;\n\t\t}\n\n\t\tfunction getMaxPrecision(precision) {\n\t\t\tif (precision === 'highp') {\n\t\t\t\tif (gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.HIGH_FLOAT).precision > 0 && gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.HIGH_FLOAT).precision > 0) {\n\t\t\t\t\treturn 'highp';\n\t\t\t\t}\n\n\t\t\t\tprecision = 'mediump';\n\t\t\t}\n\n\t\t\tif (precision === 'mediump') {\n\t\t\t\tif (gl.getShaderPrecisionFormat(gl.VERTEX_SHADER, gl.MEDIUM_FLOAT).precision > 0 && gl.getShaderPrecisionFormat(gl.FRAGMENT_SHADER, gl.MEDIUM_FLOAT).precision > 0) {\n\t\t\t\t\treturn 'mediump';\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn 'lowp';\n\t\t}\n\n\t\tconst isWebGL2 = typeof WebGL2RenderingContext !== 'undefined' && gl instanceof WebGL2RenderingContext || typeof WebGL2ComputeRenderingContext !== 'undefined' && gl instanceof WebGL2ComputeRenderingContext;\n\t\tlet precision = parameters.precision !== undefined ? parameters.precision : 'highp';\n\t\tconst maxPrecision = getMaxPrecision(precision);\n\n\t\tif (maxPrecision !== precision) {\n\t\t\tconsole.warn('THREE.WebGLRenderer:', precision, 'not supported, using', maxPrecision, 'instead.');\n\t\t\tprecision = maxPrecision;\n\t\t}\n\n\t\tconst drawBuffers = isWebGL2 || extensions.has('WEBGL_draw_buffers');\n\t\tconst logarithmicDepthBuffer = parameters.logarithmicDepthBuffer === true;\n\t\tconst maxTextures = gl.getParameter(gl.MAX_TEXTURE_IMAGE_UNITS);\n\t\tconst maxVertexTextures = gl.getParameter(gl.MAX_VERTEX_TEXTURE_IMAGE_UNITS);\n\t\tconst maxTextureSize = gl.getParameter(gl.MAX_TEXTURE_SIZE);\n\t\tconst maxCubemapSize = gl.getParameter(gl.MAX_CUBE_MAP_TEXTURE_SIZE);\n\t\tconst maxAttributes = gl.getParameter(gl.MAX_VERTEX_ATTRIBS);\n\t\tconst maxVertexUniforms = gl.getParameter(gl.MAX_VERTEX_UNIFORM_VECTORS);\n\t\tconst maxVaryings = gl.getParameter(gl.MAX_VARYING_VECTORS);\n\t\tconst maxFragmentUniforms = gl.getParameter(gl.MAX_FRAGMENT_UNIFORM_VECTORS);\n\t\tconst vertexTextures = maxVertexTextures > 0;\n\t\tconst floatFragmentTextures = isWebGL2 || extensions.has('OES_texture_float');\n\t\tconst floatVertexTextures = vertexTextures && floatFragmentTextures;\n\t\tconst maxSamples = isWebGL2 ? gl.getParameter(gl.MAX_SAMPLES) : 0;\n\t\treturn {\n\t\t\tisWebGL2: isWebGL2,\n\t\t\tdrawBuffers: drawBuffers,\n\t\t\tgetMaxAnisotropy: getMaxAnisotropy,\n\t\t\tgetMaxPrecision: getMaxPrecision,\n\t\t\tprecision: precision,\n\t\t\tlogarithmicDepthBuffer: logarithmicDepthBuffer,\n\t\t\tmaxTextures: maxTextures,\n\t\t\tmaxVertexTextures: maxVertexTextures,\n\t\t\tmaxTextureSize: maxTextureSize,\n\t\t\tmaxCubemapSize: maxCubemapSize,\n\t\t\tmaxAttributes: maxAttributes,\n\t\t\tmaxVertexUniforms: maxVertexUniforms,\n\t\t\tmaxVaryings: maxVaryings,\n\t\t\tmaxFragmentUniforms: maxFragmentUniforms,\n\t\t\tvertexTextures: vertexTextures,\n\t\t\tfloatFragmentTextures: floatFragmentTextures,\n\t\t\tfloatVertexTextures: floatVertexTextures,\n\t\t\tmaxSamples: maxSamples\n\t\t};\n\t}\n\n\tfunction WebGLClipping(properties) {\n\t\tconst scope = this;\n\t\tlet globalState = null,\n\t\t\t\tnumGlobalPlanes = 0,\n\t\t\t\tlocalClippingEnabled = false,\n\t\t\t\trenderingShadows = false;\n\t\tconst plane = new Plane(),\n\t\t\t\t\tviewNormalMatrix = new Matrix3(),\n\t\t\t\t\tuniform = {\n\t\t\tvalue: null,\n\t\t\tneedsUpdate: false\n\t\t};\n\t\tthis.uniform = uniform;\n\t\tthis.numPlanes = 0;\n\t\tthis.numIntersection = 0;\n\n\t\tthis.init = function (planes, enableLocalClipping, camera) {\n\t\t\tconst enabled = planes.length !== 0 || enableLocalClipping || // enable state of previous frame - the clipping code has to\n\t\t\t// run another frame in order to reset the state:\n\t\t\tnumGlobalPlanes !== 0 || localClippingEnabled;\n\t\t\tlocalClippingEnabled = enableLocalClipping;\n\t\t\tglobalState = projectPlanes(planes, camera, 0);\n\t\t\tnumGlobalPlanes = planes.length;\n\t\t\treturn enabled;\n\t\t};\n\n\t\tthis.beginShadows = function () {\n\t\t\trenderingShadows = true;\n\t\t\tprojectPlanes(null);\n\t\t};\n\n\t\tthis.endShadows = function () {\n\t\t\trenderingShadows = false;\n\t\t\tresetGlobalState();\n\t\t};\n\n\t\tthis.setState = function (material, camera, useCache) {\n\t\t\tconst planes = material.clippingPlanes,\n\t\t\t\t\t\tclipIntersection = material.clipIntersection,\n\t\t\t\t\t\tclipShadows = material.clipShadows;\n\t\t\tconst materialProperties = properties.get(material);\n\n\t\t\tif (!localClippingEnabled || planes === null || planes.length === 0 || renderingShadows && !clipShadows) {\n\t\t\t\t// there's no local clipping\n\t\t\t\tif (renderingShadows) {\n\t\t\t\t\t// there's no global clipping\n\t\t\t\t\tprojectPlanes(null);\n\t\t\t\t} else {\n\t\t\t\t\tresetGlobalState();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst nGlobal = renderingShadows ? 0 : numGlobalPlanes,\n\t\t\t\t\t\t\tlGlobal = nGlobal * 4;\n\t\t\t\tlet dstArray = materialProperties.clippingState || null;\n\t\t\t\tuniform.value = dstArray; // ensure unique state\n\n\t\t\t\tdstArray = projectPlanes(planes, camera, lGlobal, useCache);\n\n\t\t\t\tfor (let i = 0; i !== lGlobal; ++i) {\n\t\t\t\t\tdstArray[i] = globalState[i];\n\t\t\t\t}\n\n\t\t\t\tmaterialProperties.clippingState = dstArray;\n\t\t\t\tthis.numIntersection = clipIntersection ? this.numPlanes : 0;\n\t\t\t\tthis.numPlanes += nGlobal;\n\t\t\t}\n\t\t};\n\n\t\tfunction resetGlobalState() {\n\t\t\tif (uniform.value !== globalState) {\n\t\t\t\tuniform.value = globalState;\n\t\t\t\tuniform.needsUpdate = numGlobalPlanes > 0;\n\t\t\t}\n\n\t\t\tscope.numPlanes = numGlobalPlanes;\n\t\t\tscope.numIntersection = 0;\n\t\t}\n\n\t\tfunction projectPlanes(planes, camera, dstOffset, skipTransform) {\n\t\t\tconst nPlanes = planes !== null ? planes.length : 0;\n\t\t\tlet dstArray = null;\n\n\t\t\tif (nPlanes !== 0) {\n\t\t\t\tdstArray = uniform.value;\n\n\t\t\t\tif (skipTransform !== true || dstArray === null) {\n\t\t\t\t\tconst flatSize = dstOffset + nPlanes * 4,\n\t\t\t\t\t\t\t\tviewMatrix = camera.matrixWorldInverse;\n\t\t\t\t\tviewNormalMatrix.getNormalMatrix(viewMatrix);\n\n\t\t\t\t\tif (dstArray === null || dstArray.length < flatSize) {\n\t\t\t\t\t\tdstArray = new Float32Array(flatSize);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let i = 0, i4 = dstOffset; i !== nPlanes; ++i, i4 += 4) {\n\t\t\t\t\t\tplane.copy(planes[i]).applyMatrix4(viewMatrix, viewNormalMatrix);\n\t\t\t\t\t\tplane.normal.toArray(dstArray, i4);\n\t\t\t\t\t\tdstArray[i4 + 3] = plane.constant;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tuniform.value = dstArray;\n\t\t\t\tuniform.needsUpdate = true;\n\t\t\t}\n\n\t\t\tscope.numPlanes = nPlanes;\n\t\t\tscope.numIntersection = 0;\n\t\t\treturn dstArray;\n\t\t}\n\t}\n\n\tfunction WebGLCubeMaps(renderer) {\n\t\tlet cubemaps = new WeakMap();\n\n\t\tfunction mapTextureMapping(texture, mapping) {\n\t\t\tif (mapping === EquirectangularReflectionMapping) {\n\t\t\t\ttexture.mapping = CubeReflectionMapping;\n\t\t\t} else if (mapping === EquirectangularRefractionMapping) {\n\t\t\t\ttexture.mapping = CubeRefractionMapping;\n\t\t\t}\n\n\t\t\treturn texture;\n\t\t}\n\n\t\tfunction get(texture) {\n\t\t\tif (texture && texture.isTexture && texture.isRenderTargetTexture === false) {\n\t\t\t\tconst mapping = texture.mapping;\n\n\t\t\t\tif (mapping === EquirectangularReflectionMapping || mapping === EquirectangularRefractionMapping) {\n\t\t\t\t\tif (cubemaps.has(texture)) {\n\t\t\t\t\t\tconst cubemap = cubemaps.get(texture).texture;\n\t\t\t\t\t\treturn mapTextureMapping(cubemap, texture.mapping);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst image = texture.image;\n\n\t\t\t\t\t\tif (image && image.height > 0) {\n\t\t\t\t\t\t\tconst renderTarget = new WebGLCubeRenderTarget(image.height / 2);\n\t\t\t\t\t\t\trenderTarget.fromEquirectangularTexture(renderer, texture);\n\t\t\t\t\t\t\tcubemaps.set(texture, renderTarget);\n\t\t\t\t\t\t\ttexture.addEventListener('dispose', onTextureDispose);\n\t\t\t\t\t\t\treturn mapTextureMapping(renderTarget.texture, texture.mapping);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// image not yet ready. try the conversion next frame\n\t\t\t\t\t\t\treturn null;\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 texture;\n\t\t}\n\n\t\tfunction onTextureDispose(event) {\n\t\t\tconst texture = event.target;\n\t\t\ttexture.removeEventListener('dispose', onTextureDispose);\n\t\t\tconst cubemap = cubemaps.get(texture);\n\n\t\t\tif (cubemap !== undefined) {\n\t\t\t\tcubemaps.delete(texture);\n\t\t\t\tcubemap.dispose();\n\t\t\t}\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\tcubemaps = new WeakMap();\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tclass OrthographicCamera extends Camera {\n\t\tconstructor(left = -1, right = 1, top = 1, bottom = -1, near = 0.1, far = 2000) {\n\t\t\tsuper();\n\t\t\tthis.isOrthographicCamera = true;\n\t\t\tthis.type = 'OrthographicCamera';\n\t\t\tthis.zoom = 1;\n\t\t\tthis.view = null;\n\t\t\tthis.left = left;\n\t\t\tthis.right = right;\n\t\t\tthis.top = top;\n\t\t\tthis.bottom = bottom;\n\t\t\tthis.near = near;\n\t\t\tthis.far = far;\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.left = source.left;\n\t\t\tthis.right = source.right;\n\t\t\tthis.top = source.top;\n\t\t\tthis.bottom = source.bottom;\n\t\t\tthis.near = source.near;\n\t\t\tthis.far = source.far;\n\t\t\tthis.zoom = source.zoom;\n\t\t\tthis.view = source.view === null ? null : Object.assign({}, source.view);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetViewOffset(fullWidth, fullHeight, x, y, width, height) {\n\t\t\tif (this.view === null) {\n\t\t\t\tthis.view = {\n\t\t\t\t\tenabled: true,\n\t\t\t\t\tfullWidth: 1,\n\t\t\t\t\tfullHeight: 1,\n\t\t\t\t\toffsetX: 0,\n\t\t\t\t\toffsetY: 0,\n\t\t\t\t\twidth: 1,\n\t\t\t\t\theight: 1\n\t\t\t\t};\n\t\t\t}\n\n\t\t\tthis.view.enabled = true;\n\t\t\tthis.view.fullWidth = fullWidth;\n\t\t\tthis.view.fullHeight = fullHeight;\n\t\t\tthis.view.offsetX = x;\n\t\t\tthis.view.offsetY = y;\n\t\t\tthis.view.width = width;\n\t\t\tthis.view.height = height;\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tclearViewOffset() {\n\t\t\tif (this.view !== null) {\n\t\t\t\tthis.view.enabled = false;\n\t\t\t}\n\n\t\t\tthis.updateProjectionMatrix();\n\t\t}\n\n\t\tupdateProjectionMatrix() {\n\t\t\tconst dx = (this.right - this.left) / (2 * this.zoom);\n\t\t\tconst dy = (this.top - this.bottom) / (2 * this.zoom);\n\t\t\tconst cx = (this.right + this.left) / 2;\n\t\t\tconst cy = (this.top + this.bottom) / 2;\n\t\t\tlet left = cx - dx;\n\t\t\tlet right = cx + dx;\n\t\t\tlet top = cy + dy;\n\t\t\tlet bottom = cy - dy;\n\n\t\t\tif (this.view !== null && this.view.enabled) {\n\t\t\t\tconst scaleW = (this.right - this.left) / this.view.fullWidth / this.zoom;\n\t\t\t\tconst scaleH = (this.top - this.bottom) / this.view.fullHeight / this.zoom;\n\t\t\t\tleft += scaleW * this.view.offsetX;\n\t\t\t\tright = left + scaleW * this.view.width;\n\t\t\t\ttop -= scaleH * this.view.offsetY;\n\t\t\t\tbottom = top - scaleH * this.view.height;\n\t\t\t}\n\n\t\t\tthis.projectionMatrix.makeOrthographic(left, right, top, bottom, this.near, this.far);\n\t\t\tthis.projectionMatrixInverse.copy(this.projectionMatrix).invert();\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.object.zoom = this.zoom;\n\t\t\tdata.object.left = this.left;\n\t\t\tdata.object.right = this.right;\n\t\t\tdata.object.top = this.top;\n\t\t\tdata.object.bottom = this.bottom;\n\t\t\tdata.object.near = this.near;\n\t\t\tdata.object.far = this.far;\n\t\t\tif (this.view !== null) data.object.view = Object.assign({}, this.view);\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tconst LOD_MIN = 4; // The standard deviations (radians) associated with the extra mips. These are\n\t// chosen to approximate a Trowbridge-Reitz distribution function times the\n\t// geometric shadowing function. These sigma values squared must match the\n\t// variance #defines in cube_uv_reflection_fragment.glsl.js.\n\n\tconst EXTRA_LOD_SIGMA = [0.125, 0.215, 0.35, 0.446, 0.526, 0.582]; // The maximum length of the blur for loop. Smaller sigmas will use fewer\n\t// samples and exit early, but not recompile the shader.\n\n\tconst MAX_SAMPLES = 20;\n\n\tconst _flatCamera = /*@__PURE__*/new OrthographicCamera();\n\n\tconst _clearColor = /*@__PURE__*/new Color();\n\n\tlet _oldTarget = null; // Golden Ratio\n\n\tconst PHI = (1 + Math.sqrt(5)) / 2;\n\tconst INV_PHI = 1 / PHI; // Vertices of a dodecahedron (except the opposites, which represent the\n\t// same axis), used as axis directions evenly spread on a sphere.\n\n\tconst _axisDirections = [/*@__PURE__*/new Vector3(1, 1, 1), /*@__PURE__*/new Vector3(-1, 1, 1), /*@__PURE__*/new Vector3(1, 1, -1), /*@__PURE__*/new Vector3(-1, 1, -1), /*@__PURE__*/new Vector3(0, PHI, INV_PHI), /*@__PURE__*/new Vector3(0, PHI, -INV_PHI), /*@__PURE__*/new Vector3(INV_PHI, 0, PHI), /*@__PURE__*/new Vector3(-INV_PHI, 0, PHI), /*@__PURE__*/new Vector3(PHI, INV_PHI, 0), /*@__PURE__*/new Vector3(-PHI, INV_PHI, 0)];\n\t/**\n\t * This class generates a Prefiltered, Mipmapped Radiance Environment Map\n\t * (PMREM) from a cubeMap environment texture. This allows different levels of\n\t * blur to be quickly accessed based on material roughness. It is packed into a\n\t * special CubeUV format that allows us to perform custom interpolation so that\n\t * we can support nonlinear formats such as RGBE. Unlike a traditional mipmap\n\t * chain, it only goes down to the LOD_MIN level (above), and then creates extra\n\t * even more filtered 'mips' at the same LOD_MIN resolution, associated with\n\t * higher roughness levels. In this way we maintain resolution to smoothly\n\t * interpolate diffuse lighting while limiting sampling computation.\n\t *\n\t * Paper: Fast, Accurate Image-Based Lighting\n\t * https://drive.google.com/file/d/15y8r_UpKlU9SvV4ILb0C3qCPecS8pvLz/view\n\t*/\n\n\tclass PMREMGenerator {\n\t\tconstructor(renderer) {\n\t\t\tthis._renderer = renderer;\n\t\t\tthis._pingPongRenderTarget = null;\n\t\t\tthis._lodMax = 0;\n\t\t\tthis._cubeSize = 0;\n\t\t\tthis._lodPlanes = [];\n\t\t\tthis._sizeLods = [];\n\t\t\tthis._sigmas = [];\n\t\t\tthis._blurMaterial = null;\n\t\t\tthis._cubemapMaterial = null;\n\t\t\tthis._equirectMaterial = null;\n\n\t\t\tthis._compileMaterial(this._blurMaterial);\n\t\t}\n\t\t/**\n\t\t * Generates a PMREM from a supplied Scene, which can be faster than using an\n\t\t * image if networking bandwidth is low. Optional sigma specifies a blur radius\n\t\t * in radians to be applied to the scene before PMREM generation. Optional near\n\t\t * and far planes ensure the scene is rendered in its entirety (the cubeCamera\n\t\t * is placed at the origin).\n\t\t */\n\n\n\t\tfromScene(scene, sigma = 0, near = 0.1, far = 100) {\n\t\t\t_oldTarget = this._renderer.getRenderTarget();\n\n\t\t\tthis._setSize(256);\n\n\t\t\tconst cubeUVRenderTarget = this._allocateTargets();\n\n\t\t\tcubeUVRenderTarget.depthBuffer = true;\n\n\t\t\tthis._sceneToCubeUV(scene, near, far, cubeUVRenderTarget);\n\n\t\t\tif (sigma > 0) {\n\t\t\t\tthis._blur(cubeUVRenderTarget, 0, 0, sigma);\n\t\t\t}\n\n\t\t\tthis._applyPMREM(cubeUVRenderTarget);\n\n\t\t\tthis._cleanup(cubeUVRenderTarget);\n\n\t\t\treturn cubeUVRenderTarget;\n\t\t}\n\t\t/**\n\t\t * Generates a PMREM from an equirectangular texture, which can be either LDR\n\t\t * or HDR. The ideal input image size is 1k (1024 x 512),\n\t\t * as this matches best with the 256 x 256 cubemap output.\n\t\t */\n\n\n\t\tfromEquirectangular(equirectangular, renderTarget = null) {\n\t\t\treturn this._fromTexture(equirectangular, renderTarget);\n\t\t}\n\t\t/**\n\t\t * Generates a PMREM from an cubemap texture, which can be either LDR\n\t\t * or HDR. The ideal input cube size is 256 x 256,\n\t\t * as this matches best with the 256 x 256 cubemap output.\n\t\t */\n\n\n\t\tfromCubemap(cubemap, renderTarget = null) {\n\t\t\treturn this._fromTexture(cubemap, renderTarget);\n\t\t}\n\t\t/**\n\t\t * Pre-compiles the cubemap shader. You can get faster start-up by invoking this method during\n\t\t * your texture's network fetch for increased concurrency.\n\t\t */\n\n\n\t\tcompileCubemapShader() {\n\t\t\tif (this._cubemapMaterial === null) {\n\t\t\t\tthis._cubemapMaterial = _getCubemapMaterial();\n\n\t\t\t\tthis._compileMaterial(this._cubemapMaterial);\n\t\t\t}\n\t\t}\n\t\t/**\n\t\t * Pre-compiles the equirectangular shader. You can get faster start-up by invoking this method during\n\t\t * your texture's network fetch for increased concurrency.\n\t\t */\n\n\n\t\tcompileEquirectangularShader() {\n\t\t\tif (this._equirectMaterial === null) {\n\t\t\t\tthis._equirectMaterial = _getEquirectMaterial();\n\n\t\t\t\tthis._compileMaterial(this._equirectMaterial);\n\t\t\t}\n\t\t}\n\t\t/**\n\t\t * Disposes of the PMREMGenerator's internal memory. Note that PMREMGenerator is a static class,\n\t\t * so you should not need more than one PMREMGenerator object. If you do, calling dispose() on\n\t\t * one of them will cause any others to also become unusable.\n\t\t */\n\n\n\t\tdispose() {\n\t\t\tthis._dispose();\n\n\t\t\tif (this._cubemapMaterial !== null) this._cubemapMaterial.dispose();\n\t\t\tif (this._equirectMaterial !== null) this._equirectMaterial.dispose();\n\t\t} // private interface\n\n\n\t\t_setSize(cubeSize) {\n\t\t\tthis._lodMax = Math.floor(Math.log2(cubeSize));\n\t\t\tthis._cubeSize = Math.pow(2, this._lodMax);\n\t\t}\n\n\t\t_dispose() {\n\t\t\tif (this._blurMaterial !== null) this._blurMaterial.dispose();\n\t\t\tif (this._pingPongRenderTarget !== null) this._pingPongRenderTarget.dispose();\n\n\t\t\tfor (let i = 0; i < this._lodPlanes.length; i++) {\n\t\t\t\tthis._lodPlanes[i].dispose();\n\t\t\t}\n\t\t}\n\n\t\t_cleanup(outputTarget) {\n\t\t\tthis._renderer.setRenderTarget(_oldTarget);\n\n\t\t\toutputTarget.scissorTest = false;\n\n\t\t\t_setViewport(outputTarget, 0, 0, outputTarget.width, outputTarget.height);\n\t\t}\n\n\t\t_fromTexture(texture, renderTarget) {\n\t\t\tif (texture.mapping === CubeReflectionMapping || texture.mapping === CubeRefractionMapping) {\n\t\t\t\tthis._setSize(texture.image.length === 0 ? 16 : texture.image[0].width || texture.image[0].image.width);\n\t\t\t} else {\n\t\t\t\t// Equirectangular\n\t\t\t\tthis._setSize(texture.image.width / 4);\n\t\t\t}\n\n\t\t\t_oldTarget = this._renderer.getRenderTarget();\n\n\t\t\tconst cubeUVRenderTarget = renderTarget || this._allocateTargets();\n\n\t\t\tthis._textureToCubeUV(texture, cubeUVRenderTarget);\n\n\t\t\tthis._applyPMREM(cubeUVRenderTarget);\n\n\t\t\tthis._cleanup(cubeUVRenderTarget);\n\n\t\t\treturn cubeUVRenderTarget;\n\t\t}\n\n\t\t_allocateTargets() {\n\t\t\tconst width = 3 * Math.max(this._cubeSize, 16 * 7);\n\t\t\tconst height = 4 * this._cubeSize;\n\t\t\tconst params = {\n\t\t\t\tmagFilter: LinearFilter,\n\t\t\t\tminFilter: LinearFilter,\n\t\t\t\tgenerateMipmaps: false,\n\t\t\t\ttype: HalfFloatType,\n\t\t\t\tformat: RGBAFormat,\n\t\t\t\tencoding: LinearEncoding,\n\t\t\t\tdepthBuffer: false\n\t\t\t};\n\n\t\t\tconst cubeUVRenderTarget = _createRenderTarget(width, height, params);\n\n\t\t\tif (this._pingPongRenderTarget === null || this._pingPongRenderTarget.width !== width) {\n\t\t\t\tif (this._pingPongRenderTarget !== null) {\n\t\t\t\t\tthis._dispose();\n\t\t\t\t}\n\n\t\t\t\tthis._pingPongRenderTarget = _createRenderTarget(width, height, params);\n\t\t\t\tconst {\n\t\t\t\t\t_lodMax\n\t\t\t\t} = this;\n\t\t\t\t({\n\t\t\t\t\tsizeLods: this._sizeLods,\n\t\t\t\t\tlodPlanes: this._lodPlanes,\n\t\t\t\t\tsigmas: this._sigmas\n\t\t\t\t} = _createPlanes(_lodMax));\n\t\t\t\tthis._blurMaterial = _getBlurShader(_lodMax, width, height);\n\t\t\t}\n\n\t\t\treturn cubeUVRenderTarget;\n\t\t}\n\n\t\t_compileMaterial(material) {\n\t\t\tconst tmpMesh = new Mesh(this._lodPlanes[0], material);\n\n\t\t\tthis._renderer.compile(tmpMesh, _flatCamera);\n\t\t}\n\n\t\t_sceneToCubeUV(scene, near, far, cubeUVRenderTarget) {\n\t\t\tconst fov = 90;\n\t\t\tconst aspect = 1;\n\t\t\tconst cubeCamera = new PerspectiveCamera(fov, aspect, near, far);\n\t\t\tconst upSign = [1, -1, 1, 1, 1, 1];\n\t\t\tconst forwardSign = [1, 1, 1, -1, -1, -1];\n\t\t\tconst renderer = this._renderer;\n\t\t\tconst originalAutoClear = renderer.autoClear;\n\t\t\tconst toneMapping = renderer.toneMapping;\n\t\t\trenderer.getClearColor(_clearColor);\n\t\t\trenderer.toneMapping = NoToneMapping;\n\t\t\trenderer.autoClear = false;\n\t\t\tconst backgroundMaterial = new MeshBasicMaterial({\n\t\t\t\tname: 'PMREM.Background',\n\t\t\t\tside: BackSide,\n\t\t\t\tdepthWrite: false,\n\t\t\t\tdepthTest: false\n\t\t\t});\n\t\t\tconst backgroundBox = new Mesh(new BoxGeometry(), backgroundMaterial);\n\t\t\tlet useSolidColor = false;\n\t\t\tconst background = scene.background;\n\n\t\t\tif (background) {\n\t\t\t\tif (background.isColor) {\n\t\t\t\t\tbackgroundMaterial.color.copy(background);\n\t\t\t\t\tscene.background = null;\n\t\t\t\t\tuseSolidColor = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tbackgroundMaterial.color.copy(_clearColor);\n\t\t\t\tuseSolidColor = true;\n\t\t\t}\n\n\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\tconst col = i % 3;\n\n\t\t\t\tif (col === 0) {\n\t\t\t\t\tcubeCamera.up.set(0, upSign[i], 0);\n\t\t\t\t\tcubeCamera.lookAt(forwardSign[i], 0, 0);\n\t\t\t\t} else if (col === 1) {\n\t\t\t\t\tcubeCamera.up.set(0, 0, upSign[i]);\n\t\t\t\t\tcubeCamera.lookAt(0, forwardSign[i], 0);\n\t\t\t\t} else {\n\t\t\t\t\tcubeCamera.up.set(0, upSign[i], 0);\n\t\t\t\t\tcubeCamera.lookAt(0, 0, forwardSign[i]);\n\t\t\t\t}\n\n\t\t\t\tconst size = this._cubeSize;\n\n\t\t\t\t_setViewport(cubeUVRenderTarget, col * size, i > 2 ? size : 0, size, size);\n\n\t\t\t\trenderer.setRenderTarget(cubeUVRenderTarget);\n\n\t\t\t\tif (useSolidColor) {\n\t\t\t\t\trenderer.render(backgroundBox, cubeCamera);\n\t\t\t\t}\n\n\t\t\t\trenderer.render(scene, cubeCamera);\n\t\t\t}\n\n\t\t\tbackgroundBox.geometry.dispose();\n\t\t\tbackgroundBox.material.dispose();\n\t\t\trenderer.toneMapping = toneMapping;\n\t\t\trenderer.autoClear = originalAutoClear;\n\t\t\tscene.background = background;\n\t\t}\n\n\t\t_textureToCubeUV(texture, cubeUVRenderTarget) {\n\t\t\tconst renderer = this._renderer;\n\t\t\tconst isCubeTexture = texture.mapping === CubeReflectionMapping || texture.mapping === CubeRefractionMapping;\n\n\t\t\tif (isCubeTexture) {\n\t\t\t\tif (this._cubemapMaterial === null) {\n\t\t\t\t\tthis._cubemapMaterial = _getCubemapMaterial();\n\t\t\t\t}\n\n\t\t\t\tthis._cubemapMaterial.uniforms.flipEnvMap.value = texture.isRenderTargetTexture === false ? -1 : 1;\n\t\t\t} else {\n\t\t\t\tif (this._equirectMaterial === null) {\n\t\t\t\t\tthis._equirectMaterial = _getEquirectMaterial();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst material = isCubeTexture ? this._cubemapMaterial : this._equirectMaterial;\n\t\t\tconst mesh = new Mesh(this._lodPlanes[0], material);\n\t\t\tconst uniforms = material.uniforms;\n\t\t\tuniforms['envMap'].value = texture;\n\t\t\tconst size = this._cubeSize;\n\n\t\t\t_setViewport(cubeUVRenderTarget, 0, 0, 3 * size, 2 * size);\n\n\t\t\trenderer.setRenderTarget(cubeUVRenderTarget);\n\t\t\trenderer.render(mesh, _flatCamera);\n\t\t}\n\n\t\t_applyPMREM(cubeUVRenderTarget) {\n\t\t\tconst renderer = this._renderer;\n\t\t\tconst autoClear = renderer.autoClear;\n\t\t\trenderer.autoClear = false;\n\n\t\t\tfor (let i = 1; i < this._lodPlanes.length; i++) {\n\t\t\t\tconst sigma = Math.sqrt(this._sigmas[i] * this._sigmas[i] - this._sigmas[i - 1] * this._sigmas[i - 1]);\n\t\t\t\tconst poleAxis = _axisDirections[(i - 1) % _axisDirections.length];\n\n\t\t\t\tthis._blur(cubeUVRenderTarget, i - 1, i, sigma, poleAxis);\n\t\t\t}\n\n\t\t\trenderer.autoClear = autoClear;\n\t\t}\n\t\t/**\n\t\t * This is a two-pass Gaussian blur for a cubemap. Normally this is done\n\t\t * vertically and horizontally, but this breaks down on a cube. Here we apply\n\t\t * the blur latitudinally (around the poles), and then longitudinally (towards\n\t\t * the poles) to approximate the orthogonally-separable blur. It is least\n\t\t * accurate at the poles, but still does a decent job.\n\t\t */\n\n\n\t\t_blur(cubeUVRenderTarget, lodIn, lodOut, sigma, poleAxis) {\n\t\t\tconst pingPongRenderTarget = this._pingPongRenderTarget;\n\n\t\t\tthis._halfBlur(cubeUVRenderTarget, pingPongRenderTarget, lodIn, lodOut, sigma, 'latitudinal', poleAxis);\n\n\t\t\tthis._halfBlur(pingPongRenderTarget, cubeUVRenderTarget, lodOut, lodOut, sigma, 'longitudinal', poleAxis);\n\t\t}\n\n\t\t_halfBlur(targetIn, targetOut, lodIn, lodOut, sigmaRadians, direction, poleAxis) {\n\t\t\tconst renderer = this._renderer;\n\t\t\tconst blurMaterial = this._blurMaterial;\n\n\t\t\tif (direction !== 'latitudinal' && direction !== 'longitudinal') {\n\t\t\t\tconsole.error('blur direction must be either latitudinal or longitudinal!');\n\t\t\t} // Number of standard deviations at which to cut off the discrete approximation.\n\n\n\t\t\tconst STANDARD_DEVIATIONS = 3;\n\t\t\tconst blurMesh = new Mesh(this._lodPlanes[lodOut], blurMaterial);\n\t\t\tconst blurUniforms = blurMaterial.uniforms;\n\t\t\tconst pixels = this._sizeLods[lodIn] - 1;\n\t\t\tconst radiansPerPixel = isFinite(sigmaRadians) ? Math.PI / (2 * pixels) : 2 * Math.PI / (2 * MAX_SAMPLES - 1);\n\t\t\tconst sigmaPixels = sigmaRadians / radiansPerPixel;\n\t\t\tconst samples = isFinite(sigmaRadians) ? 1 + Math.floor(STANDARD_DEVIATIONS * sigmaPixels) : MAX_SAMPLES;\n\n\t\t\tif (samples > MAX_SAMPLES) {\n\t\t\t\tconsole.warn(`sigmaRadians, ${sigmaRadians}, is too large and will clip, as it requested ${samples} samples when the maximum is set to ${MAX_SAMPLES}`);\n\t\t\t}\n\n\t\t\tconst weights = [];\n\t\t\tlet sum = 0;\n\n\t\t\tfor (let i = 0; i < MAX_SAMPLES; ++i) {\n\t\t\t\tconst x = i / sigmaPixels;\n\t\t\t\tconst weight = Math.exp(-x * x / 2);\n\t\t\t\tweights.push(weight);\n\n\t\t\t\tif (i === 0) {\n\t\t\t\t\tsum += weight;\n\t\t\t\t} else if (i < samples) {\n\t\t\t\t\tsum += 2 * weight;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (let i = 0; i < weights.length; i++) {\n\t\t\t\tweights[i] = weights[i] / sum;\n\t\t\t}\n\n\t\t\tblurUniforms['envMap'].value = targetIn.texture;\n\t\t\tblurUniforms['samples'].value = samples;\n\t\t\tblurUniforms['weights'].value = weights;\n\t\t\tblurUniforms['latitudinal'].value = direction === 'latitudinal';\n\n\t\t\tif (poleAxis) {\n\t\t\t\tblurUniforms['poleAxis'].value = poleAxis;\n\t\t\t}\n\n\t\t\tconst {\n\t\t\t\t_lodMax\n\t\t\t} = this;\n\t\t\tblurUniforms['dTheta'].value = radiansPerPixel;\n\t\t\tblurUniforms['mipInt'].value = _lodMax - lodIn;\n\t\t\tconst outputSize = this._sizeLods[lodOut];\n\t\t\tconst x = 3 * outputSize * (lodOut > _lodMax - LOD_MIN ? lodOut - _lodMax + LOD_MIN : 0);\n\t\t\tconst y = 4 * (this._cubeSize - outputSize);\n\n\t\t\t_setViewport(targetOut, x, y, 3 * outputSize, 2 * outputSize);\n\n\t\t\trenderer.setRenderTarget(targetOut);\n\t\t\trenderer.render(blurMesh, _flatCamera);\n\t\t}\n\n\t}\n\n\tfunction _createPlanes(lodMax) {\n\t\tconst lodPlanes = [];\n\t\tconst sizeLods = [];\n\t\tconst sigmas = [];\n\t\tlet lod = lodMax;\n\t\tconst totalLods = lodMax - LOD_MIN + 1 + EXTRA_LOD_SIGMA.length;\n\n\t\tfor (let i = 0; i < totalLods; i++) {\n\t\t\tconst sizeLod = Math.pow(2, lod);\n\t\t\tsizeLods.push(sizeLod);\n\t\t\tlet sigma = 1.0 / sizeLod;\n\n\t\t\tif (i > lodMax - LOD_MIN) {\n\t\t\t\tsigma = EXTRA_LOD_SIGMA[i - lodMax + LOD_MIN - 1];\n\t\t\t} else if (i === 0) {\n\t\t\t\tsigma = 0;\n\t\t\t}\n\n\t\t\tsigmas.push(sigma);\n\t\t\tconst texelSize = 1.0 / (sizeLod - 2);\n\t\t\tconst min = -texelSize;\n\t\t\tconst max = 1 + texelSize;\n\t\t\tconst uv1 = [min, min, max, min, max, max, min, min, max, max, min, max];\n\t\t\tconst cubeFaces = 6;\n\t\t\tconst vertices = 6;\n\t\t\tconst positionSize = 3;\n\t\t\tconst uvSize = 2;\n\t\t\tconst faceIndexSize = 1;\n\t\t\tconst position = new Float32Array(positionSize * vertices * cubeFaces);\n\t\t\tconst uv = new Float32Array(uvSize * vertices * cubeFaces);\n\t\t\tconst faceIndex = new Float32Array(faceIndexSize * vertices * cubeFaces);\n\n\t\t\tfor (let face = 0; face < cubeFaces; face++) {\n\t\t\t\tconst x = face % 3 * 2 / 3 - 1;\n\t\t\t\tconst y = face > 2 ? 0 : -1;\n\t\t\t\tconst coordinates = [x, y, 0, x + 2 / 3, y, 0, x + 2 / 3, y + 1, 0, x, y, 0, x + 2 / 3, y + 1, 0, x, y + 1, 0];\n\t\t\t\tposition.set(coordinates, positionSize * vertices * face);\n\t\t\t\tuv.set(uv1, uvSize * vertices * face);\n\t\t\t\tconst fill = [face, face, face, face, face, face];\n\t\t\t\tfaceIndex.set(fill, faceIndexSize * vertices * face);\n\t\t\t}\n\n\t\t\tconst planes = new BufferGeometry();\n\t\t\tplanes.setAttribute('position', new BufferAttribute(position, positionSize));\n\t\t\tplanes.setAttribute('uv', new BufferAttribute(uv, uvSize));\n\t\t\tplanes.setAttribute('faceIndex', new BufferAttribute(faceIndex, faceIndexSize));\n\t\t\tlodPlanes.push(planes);\n\n\t\t\tif (lod > LOD_MIN) {\n\t\t\t\tlod--;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tlodPlanes,\n\t\t\tsizeLods,\n\t\t\tsigmas\n\t\t};\n\t}\n\n\tfunction _createRenderTarget(width, height, params) {\n\t\tconst cubeUVRenderTarget = new WebGLRenderTarget(width, height, params);\n\t\tcubeUVRenderTarget.texture.mapping = CubeUVReflectionMapping;\n\t\tcubeUVRenderTarget.texture.name = 'PMREM.cubeUv';\n\t\tcubeUVRenderTarget.scissorTest = true;\n\t\treturn cubeUVRenderTarget;\n\t}\n\n\tfunction _setViewport(target, x, y, width, height) {\n\t\ttarget.viewport.set(x, y, width, height);\n\t\ttarget.scissor.set(x, y, width, height);\n\t}\n\n\tfunction _getBlurShader(lodMax, width, height) {\n\t\tconst weights = new Float32Array(MAX_SAMPLES);\n\t\tconst poleAxis = new Vector3(0, 1, 0);\n\t\tconst shaderMaterial = new ShaderMaterial({\n\t\t\tname: 'SphericalGaussianBlur',\n\t\t\tdefines: {\n\t\t\t\t'n': MAX_SAMPLES,\n\t\t\t\t'CUBEUV_TEXEL_WIDTH': 1.0 / width,\n\t\t\t\t'CUBEUV_TEXEL_HEIGHT': 1.0 / height,\n\t\t\t\t'CUBEUV_MAX_MIP': `${lodMax}.0`\n\t\t\t},\n\t\t\tuniforms: {\n\t\t\t\t'envMap': {\n\t\t\t\t\tvalue: null\n\t\t\t\t},\n\t\t\t\t'samples': {\n\t\t\t\t\tvalue: 1\n\t\t\t\t},\n\t\t\t\t'weights': {\n\t\t\t\t\tvalue: weights\n\t\t\t\t},\n\t\t\t\t'latitudinal': {\n\t\t\t\t\tvalue: false\n\t\t\t\t},\n\t\t\t\t'dTheta': {\n\t\t\t\t\tvalue: 0\n\t\t\t\t},\n\t\t\t\t'mipInt': {\n\t\t\t\t\tvalue: 0\n\t\t\t\t},\n\t\t\t\t'poleAxis': {\n\t\t\t\t\tvalue: poleAxis\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: _getCommonVertexShader(),\n\t\t\tfragmentShader:\n\t\t\t/* glsl */\n\t\t\t`\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t`,\n\t\t\tblending: NoBlending,\n\t\t\tdepthTest: false,\n\t\t\tdepthWrite: false\n\t\t});\n\t\treturn shaderMaterial;\n\t}\n\n\tfunction _getEquirectMaterial() {\n\t\treturn new ShaderMaterial({\n\t\t\tname: 'EquirectangularToCubeUV',\n\t\t\tuniforms: {\n\t\t\t\t'envMap': {\n\t\t\t\t\tvalue: null\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: _getCommonVertexShader(),\n\t\t\tfragmentShader:\n\t\t\t/* glsl */\n\t\t\t`\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t`,\n\t\t\tblending: NoBlending,\n\t\t\tdepthTest: false,\n\t\t\tdepthWrite: false\n\t\t});\n\t}\n\n\tfunction _getCubemapMaterial() {\n\t\treturn new ShaderMaterial({\n\t\t\tname: 'CubemapToCubeUV',\n\t\t\tuniforms: {\n\t\t\t\t'envMap': {\n\t\t\t\t\tvalue: null\n\t\t\t\t},\n\t\t\t\t'flipEnvMap': {\n\t\t\t\t\tvalue: -1\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: _getCommonVertexShader(),\n\t\t\tfragmentShader:\n\t\t\t/* glsl */\n\t\t\t`\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t`,\n\t\t\tblending: NoBlending,\n\t\t\tdepthTest: false,\n\t\t\tdepthWrite: false\n\t\t});\n\t}\n\n\tfunction _getCommonVertexShader() {\n\t\treturn (\n\t\t\t/* glsl */\n\t\t\t`\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t`\n\t\t);\n\t}\n\n\tfunction WebGLCubeUVMaps(renderer) {\n\t\tlet cubeUVmaps = new WeakMap();\n\t\tlet pmremGenerator = null;\n\n\t\tfunction get(texture) {\n\t\t\tif (texture && texture.isTexture) {\n\t\t\t\tconst mapping = texture.mapping;\n\t\t\t\tconst isEquirectMap = mapping === EquirectangularReflectionMapping || mapping === EquirectangularRefractionMapping;\n\t\t\t\tconst isCubeMap = mapping === CubeReflectionMapping || mapping === CubeRefractionMapping; // equirect/cube map to cubeUV conversion\n\n\t\t\t\tif (isEquirectMap || isCubeMap) {\n\t\t\t\t\tif (texture.isRenderTargetTexture && texture.needsPMREMUpdate === true) {\n\t\t\t\t\t\ttexture.needsPMREMUpdate = false;\n\t\t\t\t\t\tlet renderTarget = cubeUVmaps.get(texture);\n\t\t\t\t\t\tif (pmremGenerator === null) pmremGenerator = new PMREMGenerator(renderer);\n\t\t\t\t\t\trenderTarget = isEquirectMap ? pmremGenerator.fromEquirectangular(texture, renderTarget) : pmremGenerator.fromCubemap(texture, renderTarget);\n\t\t\t\t\t\tcubeUVmaps.set(texture, renderTarget);\n\t\t\t\t\t\treturn renderTarget.texture;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (cubeUVmaps.has(texture)) {\n\t\t\t\t\t\t\treturn cubeUVmaps.get(texture).texture;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst image = texture.image;\n\n\t\t\t\t\t\t\tif (isEquirectMap && image && image.height > 0 || isCubeMap && image && isCubeTextureComplete(image)) {\n\t\t\t\t\t\t\t\tif (pmremGenerator === null) pmremGenerator = new PMREMGenerator(renderer);\n\t\t\t\t\t\t\t\tconst renderTarget = isEquirectMap ? pmremGenerator.fromEquirectangular(texture) : pmremGenerator.fromCubemap(texture);\n\t\t\t\t\t\t\t\tcubeUVmaps.set(texture, renderTarget);\n\t\t\t\t\t\t\t\ttexture.addEventListener('dispose', onTextureDispose);\n\t\t\t\t\t\t\t\treturn renderTarget.texture;\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t// image not yet ready. try the conversion next frame\n\t\t\t\t\t\t\t\treturn null;\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\n\t\t\treturn texture;\n\t\t}\n\n\t\tfunction isCubeTextureComplete(image) {\n\t\t\tlet count = 0;\n\t\t\tconst length = 6;\n\n\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\tif (image[i] !== undefined) count++;\n\t\t\t}\n\n\t\t\treturn count === length;\n\t\t}\n\n\t\tfunction onTextureDispose(event) {\n\t\t\tconst texture = event.target;\n\t\t\ttexture.removeEventListener('dispose', onTextureDispose);\n\t\t\tconst cubemapUV = cubeUVmaps.get(texture);\n\n\t\t\tif (cubemapUV !== undefined) {\n\t\t\t\tcubeUVmaps.delete(texture);\n\t\t\t\tcubemapUV.dispose();\n\t\t\t}\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\tcubeUVmaps = new WeakMap();\n\n\t\t\tif (pmremGenerator !== null) {\n\t\t\t\tpmremGenerator.dispose();\n\t\t\t\tpmremGenerator = null;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tfunction WebGLExtensions(gl) {\n\t\tconst extensions = {};\n\n\t\tfunction getExtension(name) {\n\t\t\tif (extensions[name] !== undefined) {\n\t\t\t\treturn extensions[name];\n\t\t\t}\n\n\t\t\tlet extension;\n\n\t\t\tswitch (name) {\n\t\t\t\tcase 'WEBGL_depth_texture':\n\t\t\t\t\textension = gl.getExtension('WEBGL_depth_texture') || gl.getExtension('MOZ_WEBGL_depth_texture') || gl.getExtension('WEBKIT_WEBGL_depth_texture');\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'EXT_texture_filter_anisotropic':\n\t\t\t\t\textension = gl.getExtension('EXT_texture_filter_anisotropic') || gl.getExtension('MOZ_EXT_texture_filter_anisotropic') || gl.getExtension('WEBKIT_EXT_texture_filter_anisotropic');\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'WEBGL_compressed_texture_s3tc':\n\t\t\t\t\textension = gl.getExtension('WEBGL_compressed_texture_s3tc') || gl.getExtension('MOZ_WEBGL_compressed_texture_s3tc') || gl.getExtension('WEBKIT_WEBGL_compressed_texture_s3tc');\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'WEBGL_compressed_texture_pvrtc':\n\t\t\t\t\textension = gl.getExtension('WEBGL_compressed_texture_pvrtc') || gl.getExtension('WEBKIT_WEBGL_compressed_texture_pvrtc');\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\textension = gl.getExtension(name);\n\t\t\t}\n\n\t\t\textensions[name] = extension;\n\t\t\treturn extension;\n\t\t}\n\n\t\treturn {\n\t\t\thas: function (name) {\n\t\t\t\treturn getExtension(name) !== null;\n\t\t\t},\n\t\t\tinit: function (capabilities) {\n\t\t\t\tif (capabilities.isWebGL2) {\n\t\t\t\t\tgetExtension('EXT_color_buffer_float');\n\t\t\t\t} else {\n\t\t\t\t\tgetExtension('WEBGL_depth_texture');\n\t\t\t\t\tgetExtension('OES_texture_float');\n\t\t\t\t\tgetExtension('OES_texture_half_float');\n\t\t\t\t\tgetExtension('OES_texture_half_float_linear');\n\t\t\t\t\tgetExtension('OES_standard_derivatives');\n\t\t\t\t\tgetExtension('OES_element_index_uint');\n\t\t\t\t\tgetExtension('OES_vertex_array_object');\n\t\t\t\t\tgetExtension('ANGLE_instanced_arrays');\n\t\t\t\t}\n\n\t\t\t\tgetExtension('OES_texture_float_linear');\n\t\t\t\tgetExtension('EXT_color_buffer_half_float');\n\t\t\t\tgetExtension('WEBGL_multisampled_render_to_texture');\n\t\t\t},\n\t\t\tget: function (name) {\n\t\t\t\tconst extension = getExtension(name);\n\n\t\t\t\tif (extension === null) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: ' + name + ' extension not supported.');\n\t\t\t\t}\n\n\t\t\t\treturn extension;\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction WebGLGeometries(gl, attributes, info, bindingStates) {\n\t\tconst geometries = {};\n\t\tconst wireframeAttributes = new WeakMap();\n\n\t\tfunction onGeometryDispose(event) {\n\t\t\tconst geometry = event.target;\n\n\t\t\tif (geometry.index !== null) {\n\t\t\t\tattributes.remove(geometry.index);\n\t\t\t}\n\n\t\t\tfor (const name in geometry.attributes) {\n\t\t\t\tattributes.remove(geometry.attributes[name]);\n\t\t\t}\n\n\t\t\tgeometry.removeEventListener('dispose', onGeometryDispose);\n\t\t\tdelete geometries[geometry.id];\n\t\t\tconst attribute = wireframeAttributes.get(geometry);\n\n\t\t\tif (attribute) {\n\t\t\t\tattributes.remove(attribute);\n\t\t\t\twireframeAttributes.delete(geometry);\n\t\t\t}\n\n\t\t\tbindingStates.releaseStatesOfGeometry(geometry);\n\n\t\t\tif (geometry.isInstancedBufferGeometry === true) {\n\t\t\t\tdelete geometry._maxInstanceCount;\n\t\t\t} //\n\n\n\t\t\tinfo.memory.geometries--;\n\t\t}\n\n\t\tfunction get(object, geometry) {\n\t\t\tif (geometries[geometry.id] === true) return geometry;\n\t\t\tgeometry.addEventListener('dispose', onGeometryDispose);\n\t\t\tgeometries[geometry.id] = true;\n\t\t\tinfo.memory.geometries++;\n\t\t\treturn geometry;\n\t\t}\n\n\t\tfunction update(geometry) {\n\t\t\tconst geometryAttributes = geometry.attributes; // Updating index buffer in VAO now. See WebGLBindingStates.\n\n\t\t\tfor (const name in geometryAttributes) {\n\t\t\t\tattributes.update(geometryAttributes[name], gl.ARRAY_BUFFER);\n\t\t\t} // morph targets\n\n\n\t\t\tconst morphAttributes = geometry.morphAttributes;\n\n\t\t\tfor (const name in morphAttributes) {\n\t\t\t\tconst array = morphAttributes[name];\n\n\t\t\t\tfor (let i = 0, l = array.length; i < l; i++) {\n\t\t\t\t\tattributes.update(array[i], gl.ARRAY_BUFFER);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction updateWireframeAttribute(geometry) {\n\t\t\tconst indices = [];\n\t\t\tconst geometryIndex = geometry.index;\n\t\t\tconst geometryPosition = geometry.attributes.position;\n\t\t\tlet version = 0;\n\n\t\t\tif (geometryIndex !== null) {\n\t\t\t\tconst array = geometryIndex.array;\n\t\t\t\tversion = geometryIndex.version;\n\n\t\t\t\tfor (let i = 0, l = array.length; i < l; i += 3) {\n\t\t\t\t\tconst a = array[i + 0];\n\t\t\t\t\tconst b = array[i + 1];\n\t\t\t\t\tconst c = array[i + 2];\n\t\t\t\t\tindices.push(a, b, b, c, c, a);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst array = geometryPosition.array;\n\t\t\t\tversion = geometryPosition.version;\n\n\t\t\t\tfor (let i = 0, l = array.length / 3 - 1; i < l; i += 3) {\n\t\t\t\t\tconst a = i + 0;\n\t\t\t\t\tconst b = i + 1;\n\t\t\t\t\tconst c = i + 2;\n\t\t\t\t\tindices.push(a, b, b, c, c, a);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst attribute = new (arrayNeedsUint32(indices) ? Uint32BufferAttribute : Uint16BufferAttribute)(indices, 1);\n\t\t\tattribute.version = version; // Updating index buffer in VAO now. See WebGLBindingStates\n\t\t\t//\n\n\t\t\tconst previousAttribute = wireframeAttributes.get(geometry);\n\t\t\tif (previousAttribute) attributes.remove(previousAttribute); //\n\n\t\t\twireframeAttributes.set(geometry, attribute);\n\t\t}\n\n\t\tfunction getWireframeAttribute(geometry) {\n\t\t\tconst currentAttribute = wireframeAttributes.get(geometry);\n\n\t\t\tif (currentAttribute) {\n\t\t\t\tconst geometryIndex = geometry.index;\n\n\t\t\t\tif (geometryIndex !== null) {\n\t\t\t\t\t// if the attribute is obsolete, create a new one\n\t\t\t\t\tif (currentAttribute.version < geometryIndex.version) {\n\t\t\t\t\t\tupdateWireframeAttribute(geometry);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tupdateWireframeAttribute(geometry);\n\t\t\t}\n\n\t\t\treturn wireframeAttributes.get(geometry);\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tupdate: update,\n\t\t\tgetWireframeAttribute: getWireframeAttribute\n\t\t};\n\t}\n\n\tfunction WebGLIndexedBufferRenderer(gl, extensions, info, capabilities) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\t\tlet mode;\n\n\t\tfunction setMode(value) {\n\t\t\tmode = value;\n\t\t}\n\n\t\tlet type, bytesPerElement;\n\n\t\tfunction setIndex(value) {\n\t\t\ttype = value.type;\n\t\t\tbytesPerElement = value.bytesPerElement;\n\t\t}\n\n\t\tfunction render(start, count) {\n\t\t\tgl.drawElements(mode, count, type, start * bytesPerElement);\n\t\t\tinfo.update(count, mode, 1);\n\t\t}\n\n\t\tfunction renderInstances(start, count, primcount) {\n\t\t\tif (primcount === 0) return;\n\t\t\tlet extension, methodName;\n\n\t\t\tif (isWebGL2) {\n\t\t\t\textension = gl;\n\t\t\t\tmethodName = 'drawElementsInstanced';\n\t\t\t} else {\n\t\t\t\textension = extensions.get('ANGLE_instanced_arrays');\n\t\t\t\tmethodName = 'drawElementsInstancedANGLE';\n\n\t\t\t\tif (extension === null) {\n\t\t\t\t\tconsole.error('THREE.WebGLIndexedBufferRenderer: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays.');\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\textension[methodName](mode, count, type, start * bytesPerElement, primcount);\n\t\t\tinfo.update(count, mode, primcount);\n\t\t} //\n\n\n\t\tthis.setMode = setMode;\n\t\tthis.setIndex = setIndex;\n\t\tthis.render = render;\n\t\tthis.renderInstances = renderInstances;\n\t}\n\n\tfunction WebGLInfo(gl) {\n\t\tconst memory = {\n\t\t\tgeometries: 0,\n\t\t\ttextures: 0\n\t\t};\n\t\tconst render = {\n\t\t\tframe: 0,\n\t\t\tcalls: 0,\n\t\t\ttriangles: 0,\n\t\t\tpoints: 0,\n\t\t\tlines: 0\n\t\t};\n\n\t\tfunction update(count, mode, instanceCount) {\n\t\t\trender.calls++;\n\n\t\t\tswitch (mode) {\n\t\t\t\tcase gl.TRIANGLES:\n\t\t\t\t\trender.triangles += instanceCount * (count / 3);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase gl.LINES:\n\t\t\t\t\trender.lines += instanceCount * (count / 2);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase gl.LINE_STRIP:\n\t\t\t\t\trender.lines += instanceCount * (count - 1);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase gl.LINE_LOOP:\n\t\t\t\t\trender.lines += instanceCount * count;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase gl.POINTS:\n\t\t\t\t\trender.points += instanceCount * count;\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tconsole.error('THREE.WebGLInfo: Unknown draw mode:', mode);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfunction reset() {\n\t\t\trender.frame++;\n\t\t\trender.calls = 0;\n\t\t\trender.triangles = 0;\n\t\t\trender.points = 0;\n\t\t\trender.lines = 0;\n\t\t}\n\n\t\treturn {\n\t\t\tmemory: memory,\n\t\t\trender: render,\n\t\t\tprograms: null,\n\t\t\tautoReset: true,\n\t\t\treset: reset,\n\t\t\tupdate: update\n\t\t};\n\t}\n\n\tfunction numericalSort(a, b) {\n\t\treturn a[0] - b[0];\n\t}\n\n\tfunction absNumericalSort(a, b) {\n\t\treturn Math.abs(b[1]) - Math.abs(a[1]);\n\t}\n\n\tfunction denormalize(morph, attribute) {\n\t\tlet denominator = 1;\n\t\tconst array = attribute.isInterleavedBufferAttribute ? attribute.data.array : attribute.array;\n\t\tif (array instanceof Int8Array) denominator = 127;else if (array instanceof Uint8Array) denominator = 255;else if (array instanceof Uint16Array) denominator = 65535;else if (array instanceof Int16Array) denominator = 32767;else if (array instanceof Int32Array) denominator = 2147483647;else console.error('THREE.WebGLMorphtargets: Unsupported morph attribute data type: ', array);\n\t\tmorph.divideScalar(denominator);\n\t}\n\n\tfunction WebGLMorphtargets(gl, capabilities, textures) {\n\t\tconst influencesList = {};\n\t\tconst morphInfluences = new Float32Array(8);\n\t\tconst morphTextures = new WeakMap();\n\t\tconst morph = new Vector4();\n\t\tconst workInfluences = [];\n\n\t\tfor (let i = 0; i < 8; i++) {\n\t\t\tworkInfluences[i] = [i, 0];\n\t\t}\n\n\t\tfunction update(object, geometry, material, program) {\n\t\t\tconst objectInfluences = object.morphTargetInfluences;\n\n\t\t\tif (capabilities.isWebGL2 === true) {\n\t\t\t\t// instead of using attributes, the WebGL 2 code path encodes morph targets\n\t\t\t\t// into an array of data textures. Each layer represents a single morph target.\n\t\t\t\tconst morphAttribute = geometry.morphAttributes.position || geometry.morphAttributes.normal || geometry.morphAttributes.color;\n\t\t\t\tconst morphTargetsCount = morphAttribute !== undefined ? morphAttribute.length : 0;\n\t\t\t\tlet entry = morphTextures.get(geometry);\n\n\t\t\t\tif (entry === undefined || entry.count !== morphTargetsCount) {\n\t\t\t\t\tif (entry !== undefined) entry.texture.dispose();\n\t\t\t\t\tconst hasMorphPosition = geometry.morphAttributes.position !== undefined;\n\t\t\t\t\tconst hasMorphNormals = geometry.morphAttributes.normal !== undefined;\n\t\t\t\t\tconst hasMorphColors = geometry.morphAttributes.color !== undefined;\n\t\t\t\t\tconst morphTargets = geometry.morphAttributes.position || [];\n\t\t\t\t\tconst morphNormals = geometry.morphAttributes.normal || [];\n\t\t\t\t\tconst morphColors = geometry.morphAttributes.color || [];\n\t\t\t\t\tlet vertexDataCount = 0;\n\t\t\t\t\tif (hasMorphPosition === true) vertexDataCount = 1;\n\t\t\t\t\tif (hasMorphNormals === true) vertexDataCount = 2;\n\t\t\t\t\tif (hasMorphColors === true) vertexDataCount = 3;\n\t\t\t\t\tlet width = geometry.attributes.position.count * vertexDataCount;\n\t\t\t\t\tlet height = 1;\n\n\t\t\t\t\tif (width > capabilities.maxTextureSize) {\n\t\t\t\t\t\theight = Math.ceil(width / capabilities.maxTextureSize);\n\t\t\t\t\t\twidth = capabilities.maxTextureSize;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst buffer = new Float32Array(width * height * 4 * morphTargetsCount);\n\t\t\t\t\tconst texture = new DataArrayTexture(buffer, width, height, morphTargetsCount);\n\t\t\t\t\ttexture.type = FloatType;\n\t\t\t\t\ttexture.needsUpdate = true; // fill buffer\n\n\t\t\t\t\tconst vertexDataStride = vertexDataCount * 4;\n\n\t\t\t\t\tfor (let i = 0; i < morphTargetsCount; i++) {\n\t\t\t\t\t\tconst morphTarget = morphTargets[i];\n\t\t\t\t\t\tconst morphNormal = morphNormals[i];\n\t\t\t\t\t\tconst morphColor = morphColors[i];\n\t\t\t\t\t\tconst offset = width * height * 4 * i;\n\n\t\t\t\t\t\tfor (let j = 0; j < morphTarget.count; j++) {\n\t\t\t\t\t\t\tconst stride = j * vertexDataStride;\n\n\t\t\t\t\t\t\tif (hasMorphPosition === true) {\n\t\t\t\t\t\t\t\tmorph.fromBufferAttribute(morphTarget, j);\n\t\t\t\t\t\t\t\tif (morphTarget.normalized === true) denormalize(morph, morphTarget);\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 0] = morph.x;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 1] = morph.y;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 2] = morph.z;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 3] = 0;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (hasMorphNormals === true) {\n\t\t\t\t\t\t\t\tmorph.fromBufferAttribute(morphNormal, j);\n\t\t\t\t\t\t\t\tif (morphNormal.normalized === true) denormalize(morph, morphNormal);\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 4] = morph.x;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 5] = morph.y;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 6] = morph.z;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 7] = 0;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (hasMorphColors === true) {\n\t\t\t\t\t\t\t\tmorph.fromBufferAttribute(morphColor, j);\n\t\t\t\t\t\t\t\tif (morphColor.normalized === true) denormalize(morph, morphColor);\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 8] = morph.x;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 9] = morph.y;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 10] = morph.z;\n\t\t\t\t\t\t\t\tbuffer[offset + stride + 11] = morphColor.itemSize === 4 ? morph.w : 1;\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\tentry = {\n\t\t\t\t\t\tcount: morphTargetsCount,\n\t\t\t\t\t\ttexture: texture,\n\t\t\t\t\t\tsize: new Vector2(width, height)\n\t\t\t\t\t};\n\t\t\t\t\tmorphTextures.set(geometry, entry);\n\n\t\t\t\t\tfunction disposeTexture() {\n\t\t\t\t\t\ttexture.dispose();\n\t\t\t\t\t\tmorphTextures.delete(geometry);\n\t\t\t\t\t\tgeometry.removeEventListener('dispose', disposeTexture);\n\t\t\t\t\t}\n\n\t\t\t\t\tgeometry.addEventListener('dispose', disposeTexture);\n\t\t\t\t} //\n\n\n\t\t\t\tlet morphInfluencesSum = 0;\n\n\t\t\t\tfor (let i = 0; i < objectInfluences.length; i++) {\n\t\t\t\t\tmorphInfluencesSum += objectInfluences[i];\n\t\t\t\t}\n\n\t\t\t\tconst morphBaseInfluence = geometry.morphTargetsRelative ? 1 : 1 - morphInfluencesSum;\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetBaseInfluence', morphBaseInfluence);\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetInfluences', objectInfluences);\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetsTexture', entry.texture, textures);\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetsTextureSize', entry.size);\n\t\t\t} else {\n\t\t\t\t// When object doesn't have morph target influences defined, we treat it as a 0-length array\n\t\t\t\t// This is important to make sure we set up morphTargetBaseInfluence / morphTargetInfluences\n\t\t\t\tconst length = objectInfluences === undefined ? 0 : objectInfluences.length;\n\t\t\t\tlet influences = influencesList[geometry.id];\n\n\t\t\t\tif (influences === undefined || influences.length !== length) {\n\t\t\t\t\t// initialise list\n\t\t\t\t\tinfluences = [];\n\n\t\t\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\t\t\tinfluences[i] = [i, 0];\n\t\t\t\t\t}\n\n\t\t\t\t\tinfluencesList[geometry.id] = influences;\n\t\t\t\t} // Collect influences\n\n\n\t\t\t\tfor (let i = 0; i < length; i++) {\n\t\t\t\t\tconst influence = influences[i];\n\t\t\t\t\tinfluence[0] = i;\n\t\t\t\t\tinfluence[1] = objectInfluences[i];\n\t\t\t\t}\n\n\t\t\t\tinfluences.sort(absNumericalSort);\n\n\t\t\t\tfor (let i = 0; i < 8; i++) {\n\t\t\t\t\tif (i < length && influences[i][1]) {\n\t\t\t\t\t\tworkInfluences[i][0] = influences[i][0];\n\t\t\t\t\t\tworkInfluences[i][1] = influences[i][1];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tworkInfluences[i][0] = Number.MAX_SAFE_INTEGER;\n\t\t\t\t\t\tworkInfluences[i][1] = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tworkInfluences.sort(numericalSort);\n\t\t\t\tconst morphTargets = geometry.morphAttributes.position;\n\t\t\t\tconst morphNormals = geometry.morphAttributes.normal;\n\t\t\t\tlet morphInfluencesSum = 0;\n\n\t\t\t\tfor (let i = 0; i < 8; i++) {\n\t\t\t\t\tconst influence = workInfluences[i];\n\t\t\t\t\tconst index = influence[0];\n\t\t\t\t\tconst value = influence[1];\n\n\t\t\t\t\tif (index !== Number.MAX_SAFE_INTEGER && value) {\n\t\t\t\t\t\tif (morphTargets && geometry.getAttribute('morphTarget' + i) !== morphTargets[index]) {\n\t\t\t\t\t\t\tgeometry.setAttribute('morphTarget' + i, morphTargets[index]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (morphNormals && geometry.getAttribute('morphNormal' + i) !== morphNormals[index]) {\n\t\t\t\t\t\t\tgeometry.setAttribute('morphNormal' + i, morphNormals[index]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tmorphInfluences[i] = value;\n\t\t\t\t\t\tmorphInfluencesSum += value;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (morphTargets && geometry.hasAttribute('morphTarget' + i) === true) {\n\t\t\t\t\t\t\tgeometry.deleteAttribute('morphTarget' + i);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (morphNormals && geometry.hasAttribute('morphNormal' + i) === true) {\n\t\t\t\t\t\t\tgeometry.deleteAttribute('morphNormal' + i);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tmorphInfluences[i] = 0;\n\t\t\t\t\t}\n\t\t\t\t} // GLSL shader uses formula baseinfluence * base + sum(target * influence)\n\t\t\t\t// This allows us to switch between absolute morphs and relative morphs without changing shader code\n\t\t\t\t// When baseinfluence = 1 - sum(influence), the above is equivalent to sum((target - base) * influence)\n\n\n\t\t\t\tconst morphBaseInfluence = geometry.morphTargetsRelative ? 1 : 1 - morphInfluencesSum;\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetBaseInfluence', morphBaseInfluence);\n\t\t\t\tprogram.getUniforms().setValue(gl, 'morphTargetInfluences', morphInfluences);\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tupdate: update\n\t\t};\n\t}\n\n\tfunction WebGLObjects(gl, geometries, attributes, info) {\n\t\tlet updateMap = new WeakMap();\n\n\t\tfunction update(object) {\n\t\t\tconst frame = info.render.frame;\n\t\t\tconst geometry = object.geometry;\n\t\t\tconst buffergeometry = geometries.get(object, geometry); // Update once per frame\n\n\t\t\tif (updateMap.get(buffergeometry) !== frame) {\n\t\t\t\tgeometries.update(buffergeometry);\n\t\t\t\tupdateMap.set(buffergeometry, frame);\n\t\t\t}\n\n\t\t\tif (object.isInstancedMesh) {\n\t\t\t\tif (object.hasEventListener('dispose', onInstancedMeshDispose) === false) {\n\t\t\t\t\tobject.addEventListener('dispose', onInstancedMeshDispose);\n\t\t\t\t}\n\n\t\t\t\tattributes.update(object.instanceMatrix, gl.ARRAY_BUFFER);\n\n\t\t\t\tif (object.instanceColor !== null) {\n\t\t\t\t\tattributes.update(object.instanceColor, gl.ARRAY_BUFFER);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn buffergeometry;\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\tupdateMap = new WeakMap();\n\t\t}\n\n\t\tfunction onInstancedMeshDispose(event) {\n\t\t\tconst instancedMesh = event.target;\n\t\t\tinstancedMesh.removeEventListener('dispose', onInstancedMeshDispose);\n\t\t\tattributes.remove(instancedMesh.instanceMatrix);\n\t\t\tif (instancedMesh.instanceColor !== null) attributes.remove(instancedMesh.instanceColor);\n\t\t}\n\n\t\treturn {\n\t\t\tupdate: update,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\t/**\n\t * Uniforms of a program.\n\t * Those form a tree structure with a special top-level container for the root,\n\t * which you get by calling 'new WebGLUniforms( gl, program )'.\n\t *\n\t *\n\t * Properties of inner nodes including the top-level container:\n\t *\n\t * .seq - array of nested uniforms\n\t * .map - nested uniforms by name\n\t *\n\t *\n\t * Methods of all nodes except the top-level container:\n\t *\n\t * .setValue( gl, value, [textures] )\n\t *\n\t * \t\tuploads a uniform value(s)\n\t *\t\tthe 'textures' parameter is needed for sampler uniforms\n\t *\n\t *\n\t * Static methods of the top-level container (textures factorizations):\n\t *\n\t * .upload( gl, seq, values, textures )\n\t *\n\t * \t\tsets uniforms in 'seq' to 'values[id].value'\n\t *\n\t * .seqWithValue( seq, values ) : filteredSeq\n\t *\n\t * \t\tfilters 'seq' entries with corresponding entry in values\n\t *\n\t *\n\t * Methods of the top-level container (textures factorizations):\n\t *\n\t * .setValue( gl, name, value, textures )\n\t *\n\t * \t\tsets uniform with\tname 'name' to 'value'\n\t *\n\t * .setOptional( gl, obj, prop )\n\t *\n\t * \t\tlike .set for an optional property of the object\n\t *\n\t */\n\tconst emptyTexture = /*@__PURE__*/new Texture();\n\tconst emptyArrayTexture = /*@__PURE__*/new DataArrayTexture();\n\tconst empty3dTexture = /*@__PURE__*/new Data3DTexture();\n\tconst emptyCubeTexture = /*@__PURE__*/new CubeTexture(); // --- Utilities ---\n\t// Array Caches (provide typed arrays for temporary by size)\n\n\tconst arrayCacheF32 = [];\n\tconst arrayCacheI32 = []; // Float32Array caches used for uploading Matrix uniforms\n\n\tconst mat4array = new Float32Array(16);\n\tconst mat3array = new Float32Array(9);\n\tconst mat2array = new Float32Array(4); // Flattening for arrays of vectors and matrices\n\n\tfunction flatten(array, nBlocks, blockSize) {\n\t\tconst firstElem = array[0];\n\t\tif (firstElem <= 0 || firstElem > 0) return array; // unoptimized: ! isNaN( firstElem )\n\t\t// see http://jacksondunstan.com/articles/983\n\n\t\tconst n = nBlocks * blockSize;\n\t\tlet r = arrayCacheF32[n];\n\n\t\tif (r === undefined) {\n\t\t\tr = new Float32Array(n);\n\t\t\tarrayCacheF32[n] = r;\n\t\t}\n\n\t\tif (nBlocks !== 0) {\n\t\t\tfirstElem.toArray(r, 0);\n\n\t\t\tfor (let i = 1, offset = 0; i !== nBlocks; ++i) {\n\t\t\t\toffset += blockSize;\n\t\t\t\tarray[i].toArray(r, offset);\n\t\t\t}\n\t\t}\n\n\t\treturn r;\n\t}\n\n\tfunction arraysEqual(a, b) {\n\t\tif (a.length !== b.length) return false;\n\n\t\tfor (let i = 0, l = a.length; i < l; i++) {\n\t\t\tif (a[i] !== b[i]) return false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tfunction copyArray(a, b) {\n\t\tfor (let i = 0, l = b.length; i < l; i++) {\n\t\t\ta[i] = b[i];\n\t\t}\n\t} // Texture unit allocation\n\n\n\tfunction allocTexUnits(textures, n) {\n\t\tlet r = arrayCacheI32[n];\n\n\t\tif (r === undefined) {\n\t\t\tr = new Int32Array(n);\n\t\t\tarrayCacheI32[n] = r;\n\t\t}\n\n\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\tr[i] = textures.allocateTextureUnit();\n\t\t}\n\n\t\treturn r;\n\t} // --- Setters ---\n\t// Note: Defining these methods externally, because they come in a bunch\n\t// and this way their names minify.\n\t// Single scalar\n\n\n\tfunction setValueV1f(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (cache[0] === v) return;\n\t\tgl.uniform1f(this.addr, v);\n\t\tcache[0] = v;\n\t} // Single float vector (from flat array or THREE.VectorN)\n\n\n\tfunction setValueV2f(gl, v) {\n\t\tconst cache = this.cache;\n\n\t\tif (v.x !== undefined) {\n\t\t\tif (cache[0] !== v.x || cache[1] !== v.y) {\n\t\t\t\tgl.uniform2f(this.addr, v.x, v.y);\n\t\t\t\tcache[0] = v.x;\n\t\t\t\tcache[1] = v.y;\n\t\t\t}\n\t\t} else {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniform2fv(this.addr, v);\n\t\t\tcopyArray(cache, v);\n\t\t}\n\t}\n\n\tfunction setValueV3f(gl, v) {\n\t\tconst cache = this.cache;\n\n\t\tif (v.x !== undefined) {\n\t\t\tif (cache[0] !== v.x || cache[1] !== v.y || cache[2] !== v.z) {\n\t\t\t\tgl.uniform3f(this.addr, v.x, v.y, v.z);\n\t\t\t\tcache[0] = v.x;\n\t\t\t\tcache[1] = v.y;\n\t\t\t\tcache[2] = v.z;\n\t\t\t}\n\t\t} else if (v.r !== undefined) {\n\t\t\tif (cache[0] !== v.r || cache[1] !== v.g || cache[2] !== v.b) {\n\t\t\t\tgl.uniform3f(this.addr, v.r, v.g, v.b);\n\t\t\t\tcache[0] = v.r;\n\t\t\t\tcache[1] = v.g;\n\t\t\t\tcache[2] = v.b;\n\t\t\t}\n\t\t} else {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniform3fv(this.addr, v);\n\t\t\tcopyArray(cache, v);\n\t\t}\n\t}\n\n\tfunction setValueV4f(gl, v) {\n\t\tconst cache = this.cache;\n\n\t\tif (v.x !== undefined) {\n\t\t\tif (cache[0] !== v.x || cache[1] !== v.y || cache[2] !== v.z || cache[3] !== v.w) {\n\t\t\t\tgl.uniform4f(this.addr, v.x, v.y, v.z, v.w);\n\t\t\t\tcache[0] = v.x;\n\t\t\t\tcache[1] = v.y;\n\t\t\t\tcache[2] = v.z;\n\t\t\t\tcache[3] = v.w;\n\t\t\t}\n\t\t} else {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniform4fv(this.addr, v);\n\t\t\tcopyArray(cache, v);\n\t\t}\n\t} // Single matrix (from flat array or THREE.MatrixN)\n\n\n\tfunction setValueM2(gl, v) {\n\t\tconst cache = this.cache;\n\t\tconst elements = v.elements;\n\n\t\tif (elements === undefined) {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniformMatrix2fv(this.addr, false, v);\n\t\t\tcopyArray(cache, v);\n\t\t} else {\n\t\t\tif (arraysEqual(cache, elements)) return;\n\t\t\tmat2array.set(elements);\n\t\t\tgl.uniformMatrix2fv(this.addr, false, mat2array);\n\t\t\tcopyArray(cache, elements);\n\t\t}\n\t}\n\n\tfunction setValueM3(gl, v) {\n\t\tconst cache = this.cache;\n\t\tconst elements = v.elements;\n\n\t\tif (elements === undefined) {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniformMatrix3fv(this.addr, false, v);\n\t\t\tcopyArray(cache, v);\n\t\t} else {\n\t\t\tif (arraysEqual(cache, elements)) return;\n\t\t\tmat3array.set(elements);\n\t\t\tgl.uniformMatrix3fv(this.addr, false, mat3array);\n\t\t\tcopyArray(cache, elements);\n\t\t}\n\t}\n\n\tfunction setValueM4(gl, v) {\n\t\tconst cache = this.cache;\n\t\tconst elements = v.elements;\n\n\t\tif (elements === undefined) {\n\t\t\tif (arraysEqual(cache, v)) return;\n\t\t\tgl.uniformMatrix4fv(this.addr, false, v);\n\t\t\tcopyArray(cache, v);\n\t\t} else {\n\t\t\tif (arraysEqual(cache, elements)) return;\n\t\t\tmat4array.set(elements);\n\t\t\tgl.uniformMatrix4fv(this.addr, false, mat4array);\n\t\t\tcopyArray(cache, elements);\n\t\t}\n\t} // Single integer / boolean\n\n\n\tfunction setValueV1i(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (cache[0] === v) return;\n\t\tgl.uniform1i(this.addr, v);\n\t\tcache[0] = v;\n\t} // Single integer / boolean vector (from flat array)\n\n\n\tfunction setValueV2i(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform2iv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t}\n\n\tfunction setValueV3i(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform3iv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t}\n\n\tfunction setValueV4i(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform4iv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t} // Single unsigned integer\n\n\n\tfunction setValueV1ui(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (cache[0] === v) return;\n\t\tgl.uniform1ui(this.addr, v);\n\t\tcache[0] = v;\n\t} // Single unsigned integer vector (from flat array)\n\n\n\tfunction setValueV2ui(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform2uiv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t}\n\n\tfunction setValueV3ui(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform3uiv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t}\n\n\tfunction setValueV4ui(gl, v) {\n\t\tconst cache = this.cache;\n\t\tif (arraysEqual(cache, v)) return;\n\t\tgl.uniform4uiv(this.addr, v);\n\t\tcopyArray(cache, v);\n\t} // Single texture (2D / Cube)\n\n\n\tfunction setValueT1(gl, v, textures) {\n\t\tconst cache = this.cache;\n\t\tconst unit = textures.allocateTextureUnit();\n\n\t\tif (cache[0] !== unit) {\n\t\t\tgl.uniform1i(this.addr, unit);\n\t\t\tcache[0] = unit;\n\t\t}\n\n\t\ttextures.setTexture2D(v || emptyTexture, unit);\n\t}\n\n\tfunction setValueT3D1(gl, v, textures) {\n\t\tconst cache = this.cache;\n\t\tconst unit = textures.allocateTextureUnit();\n\n\t\tif (cache[0] !== unit) {\n\t\t\tgl.uniform1i(this.addr, unit);\n\t\t\tcache[0] = unit;\n\t\t}\n\n\t\ttextures.setTexture3D(v || empty3dTexture, unit);\n\t}\n\n\tfunction setValueT6(gl, v, textures) {\n\t\tconst cache = this.cache;\n\t\tconst unit = textures.allocateTextureUnit();\n\n\t\tif (cache[0] !== unit) {\n\t\t\tgl.uniform1i(this.addr, unit);\n\t\t\tcache[0] = unit;\n\t\t}\n\n\t\ttextures.setTextureCube(v || emptyCubeTexture, unit);\n\t}\n\n\tfunction setValueT2DArray1(gl, v, textures) {\n\t\tconst cache = this.cache;\n\t\tconst unit = textures.allocateTextureUnit();\n\n\t\tif (cache[0] !== unit) {\n\t\t\tgl.uniform1i(this.addr, unit);\n\t\t\tcache[0] = unit;\n\t\t}\n\n\t\ttextures.setTexture2DArray(v || emptyArrayTexture, unit);\n\t} // Helper to pick the right setter for the singular case\n\n\n\tfunction getSingularSetter(type) {\n\t\tswitch (type) {\n\t\t\tcase 0x1406:\n\t\t\t\treturn setValueV1f;\n\t\t\t// FLOAT\n\n\t\t\tcase 0x8b50:\n\t\t\t\treturn setValueV2f;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8b51:\n\t\t\t\treturn setValueV3f;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8b52:\n\t\t\t\treturn setValueV4f;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x8b5a:\n\t\t\t\treturn setValueM2;\n\t\t\t// _MAT2\n\n\t\t\tcase 0x8b5b:\n\t\t\t\treturn setValueM3;\n\t\t\t// _MAT3\n\n\t\t\tcase 0x8b5c:\n\t\t\t\treturn setValueM4;\n\t\t\t// _MAT4\n\n\t\t\tcase 0x1404:\n\t\t\tcase 0x8b56:\n\t\t\t\treturn setValueV1i;\n\t\t\t// INT, BOOL\n\n\t\t\tcase 0x8b53:\n\t\t\tcase 0x8b57:\n\t\t\t\treturn setValueV2i;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8b54:\n\t\t\tcase 0x8b58:\n\t\t\t\treturn setValueV3i;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8b55:\n\t\t\tcase 0x8b59:\n\t\t\t\treturn setValueV4i;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x1405:\n\t\t\t\treturn setValueV1ui;\n\t\t\t// UINT\n\n\t\t\tcase 0x8dc6:\n\t\t\t\treturn setValueV2ui;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8dc7:\n\t\t\t\treturn setValueV3ui;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8dc8:\n\t\t\t\treturn setValueV4ui;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x8b5e: // SAMPLER_2D\n\n\t\t\tcase 0x8d66: // SAMPLER_EXTERNAL_OES\n\n\t\t\tcase 0x8dca: // INT_SAMPLER_2D\n\n\t\t\tcase 0x8dd2: // UNSIGNED_INT_SAMPLER_2D\n\n\t\t\tcase 0x8b62:\n\t\t\t\t// SAMPLER_2D_SHADOW\n\t\t\t\treturn setValueT1;\n\n\t\t\tcase 0x8b5f: // SAMPLER_3D\n\n\t\t\tcase 0x8dcb: // INT_SAMPLER_3D\n\n\t\t\tcase 0x8dd3:\n\t\t\t\t// UNSIGNED_INT_SAMPLER_3D\n\t\t\t\treturn setValueT3D1;\n\n\t\t\tcase 0x8b60: // SAMPLER_CUBE\n\n\t\t\tcase 0x8dcc: // INT_SAMPLER_CUBE\n\n\t\t\tcase 0x8dd4: // UNSIGNED_INT_SAMPLER_CUBE\n\n\t\t\tcase 0x8dc5:\n\t\t\t\t// SAMPLER_CUBE_SHADOW\n\t\t\t\treturn setValueT6;\n\n\t\t\tcase 0x8dc1: // SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dcf: // INT_SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dd7: // UNSIGNED_INT_SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dc4:\n\t\t\t\t// SAMPLER_2D_ARRAY_SHADOW\n\t\t\t\treturn setValueT2DArray1;\n\t\t}\n\t} // Array of scalars\n\n\n\tfunction setValueV1fArray(gl, v) {\n\t\tgl.uniform1fv(this.addr, v);\n\t} // Array of vectors (from flat array or array of THREE.VectorN)\n\n\n\tfunction setValueV2fArray(gl, v) {\n\t\tconst data = flatten(v, this.size, 2);\n\t\tgl.uniform2fv(this.addr, data);\n\t}\n\n\tfunction setValueV3fArray(gl, v) {\n\t\tconst data = flatten(v, this.size, 3);\n\t\tgl.uniform3fv(this.addr, data);\n\t}\n\n\tfunction setValueV4fArray(gl, v) {\n\t\tconst data = flatten(v, this.size, 4);\n\t\tgl.uniform4fv(this.addr, data);\n\t} // Array of matrices (from flat array or array of THREE.MatrixN)\n\n\n\tfunction setValueM2Array(gl, v) {\n\t\tconst data = flatten(v, this.size, 4);\n\t\tgl.uniformMatrix2fv(this.addr, false, data);\n\t}\n\n\tfunction setValueM3Array(gl, v) {\n\t\tconst data = flatten(v, this.size, 9);\n\t\tgl.uniformMatrix3fv(this.addr, false, data);\n\t}\n\n\tfunction setValueM4Array(gl, v) {\n\t\tconst data = flatten(v, this.size, 16);\n\t\tgl.uniformMatrix4fv(this.addr, false, data);\n\t} // Array of integer / boolean\n\n\n\tfunction setValueV1iArray(gl, v) {\n\t\tgl.uniform1iv(this.addr, v);\n\t} // Array of integer / boolean vectors (from flat array)\n\n\n\tfunction setValueV2iArray(gl, v) {\n\t\tgl.uniform2iv(this.addr, v);\n\t}\n\n\tfunction setValueV3iArray(gl, v) {\n\t\tgl.uniform3iv(this.addr, v);\n\t}\n\n\tfunction setValueV4iArray(gl, v) {\n\t\tgl.uniform4iv(this.addr, v);\n\t} // Array of unsigned integer\n\n\n\tfunction setValueV1uiArray(gl, v) {\n\t\tgl.uniform1uiv(this.addr, v);\n\t} // Array of unsigned integer vectors (from flat array)\n\n\n\tfunction setValueV2uiArray(gl, v) {\n\t\tgl.uniform2uiv(this.addr, v);\n\t}\n\n\tfunction setValueV3uiArray(gl, v) {\n\t\tgl.uniform3uiv(this.addr, v);\n\t}\n\n\tfunction setValueV4uiArray(gl, v) {\n\t\tgl.uniform4uiv(this.addr, v);\n\t} // Array of textures (2D / 3D / Cube / 2DArray)\n\n\n\tfunction setValueT1Array(gl, v, textures) {\n\t\tconst n = v.length;\n\t\tconst units = allocTexUnits(textures, n);\n\t\tgl.uniform1iv(this.addr, units);\n\n\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\ttextures.setTexture2D(v[i] || emptyTexture, units[i]);\n\t\t}\n\t}\n\n\tfunction setValueT3DArray(gl, v, textures) {\n\t\tconst n = v.length;\n\t\tconst units = allocTexUnits(textures, n);\n\t\tgl.uniform1iv(this.addr, units);\n\n\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\ttextures.setTexture3D(v[i] || empty3dTexture, units[i]);\n\t\t}\n\t}\n\n\tfunction setValueT6Array(gl, v, textures) {\n\t\tconst n = v.length;\n\t\tconst units = allocTexUnits(textures, n);\n\t\tgl.uniform1iv(this.addr, units);\n\n\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\ttextures.setTextureCube(v[i] || emptyCubeTexture, units[i]);\n\t\t}\n\t}\n\n\tfunction setValueT2DArrayArray(gl, v, textures) {\n\t\tconst n = v.length;\n\t\tconst units = allocTexUnits(textures, n);\n\t\tgl.uniform1iv(this.addr, units);\n\n\t\tfor (let i = 0; i !== n; ++i) {\n\t\t\ttextures.setTexture2DArray(v[i] || emptyArrayTexture, units[i]);\n\t\t}\n\t} // Helper to pick the right setter for a pure (bottom-level) array\n\n\n\tfunction getPureArraySetter(type) {\n\t\tswitch (type) {\n\t\t\tcase 0x1406:\n\t\t\t\treturn setValueV1fArray;\n\t\t\t// FLOAT\n\n\t\t\tcase 0x8b50:\n\t\t\t\treturn setValueV2fArray;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8b51:\n\t\t\t\treturn setValueV3fArray;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8b52:\n\t\t\t\treturn setValueV4fArray;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x8b5a:\n\t\t\t\treturn setValueM2Array;\n\t\t\t// _MAT2\n\n\t\t\tcase 0x8b5b:\n\t\t\t\treturn setValueM3Array;\n\t\t\t// _MAT3\n\n\t\t\tcase 0x8b5c:\n\t\t\t\treturn setValueM4Array;\n\t\t\t// _MAT4\n\n\t\t\tcase 0x1404:\n\t\t\tcase 0x8b56:\n\t\t\t\treturn setValueV1iArray;\n\t\t\t// INT, BOOL\n\n\t\t\tcase 0x8b53:\n\t\t\tcase 0x8b57:\n\t\t\t\treturn setValueV2iArray;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8b54:\n\t\t\tcase 0x8b58:\n\t\t\t\treturn setValueV3iArray;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8b55:\n\t\t\tcase 0x8b59:\n\t\t\t\treturn setValueV4iArray;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x1405:\n\t\t\t\treturn setValueV1uiArray;\n\t\t\t// UINT\n\n\t\t\tcase 0x8dc6:\n\t\t\t\treturn setValueV2uiArray;\n\t\t\t// _VEC2\n\n\t\t\tcase 0x8dc7:\n\t\t\t\treturn setValueV3uiArray;\n\t\t\t// _VEC3\n\n\t\t\tcase 0x8dc8:\n\t\t\t\treturn setValueV4uiArray;\n\t\t\t// _VEC4\n\n\t\t\tcase 0x8b5e: // SAMPLER_2D\n\n\t\t\tcase 0x8d66: // SAMPLER_EXTERNAL_OES\n\n\t\t\tcase 0x8dca: // INT_SAMPLER_2D\n\n\t\t\tcase 0x8dd2: // UNSIGNED_INT_SAMPLER_2D\n\n\t\t\tcase 0x8b62:\n\t\t\t\t// SAMPLER_2D_SHADOW\n\t\t\t\treturn setValueT1Array;\n\n\t\t\tcase 0x8b5f: // SAMPLER_3D\n\n\t\t\tcase 0x8dcb: // INT_SAMPLER_3D\n\n\t\t\tcase 0x8dd3:\n\t\t\t\t// UNSIGNED_INT_SAMPLER_3D\n\t\t\t\treturn setValueT3DArray;\n\n\t\t\tcase 0x8b60: // SAMPLER_CUBE\n\n\t\t\tcase 0x8dcc: // INT_SAMPLER_CUBE\n\n\t\t\tcase 0x8dd4: // UNSIGNED_INT_SAMPLER_CUBE\n\n\t\t\tcase 0x8dc5:\n\t\t\t\t// SAMPLER_CUBE_SHADOW\n\t\t\t\treturn setValueT6Array;\n\n\t\t\tcase 0x8dc1: // SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dcf: // INT_SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dd7: // UNSIGNED_INT_SAMPLER_2D_ARRAY\n\n\t\t\tcase 0x8dc4:\n\t\t\t\t// SAMPLER_2D_ARRAY_SHADOW\n\t\t\t\treturn setValueT2DArrayArray;\n\t\t}\n\t} // --- Uniform Classes ---\n\n\n\tclass SingleUniform {\n\t\tconstructor(id, activeInfo, addr) {\n\t\t\tthis.id = id;\n\t\t\tthis.addr = addr;\n\t\t\tthis.cache = [];\n\t\t\tthis.setValue = getSingularSetter(activeInfo.type); // this.path = activeInfo.name; // DEBUG\n\t\t}\n\n\t}\n\n\tclass PureArrayUniform {\n\t\tconstructor(id, activeInfo, addr) {\n\t\t\tthis.id = id;\n\t\t\tthis.addr = addr;\n\t\t\tthis.cache = [];\n\t\t\tthis.size = activeInfo.size;\n\t\t\tthis.setValue = getPureArraySetter(activeInfo.type); // this.path = activeInfo.name; // DEBUG\n\t\t}\n\n\t}\n\n\tclass StructuredUniform {\n\t\tconstructor(id) {\n\t\t\tthis.id = id;\n\t\t\tthis.seq = [];\n\t\t\tthis.map = {};\n\t\t}\n\n\t\tsetValue(gl, value, textures) {\n\t\t\tconst seq = this.seq;\n\n\t\t\tfor (let i = 0, n = seq.length; i !== n; ++i) {\n\t\t\t\tconst u = seq[i];\n\t\t\t\tu.setValue(gl, value[u.id], textures);\n\t\t\t}\n\t\t}\n\n\t} // --- Top-level ---\n\t// Parser - builds up the property tree from the path strings\n\n\n\tconst RePathPart = /(\\w+)(\\])?(\\[|\\.)?/g; // extracts\n\t// \t- the identifier (member name or array index)\n\t//\t- followed by an optional right bracket (found when array index)\n\t//\t- followed by an optional left bracket or dot (type of subscript)\n\t//\n\t// Note: These portions can be read in a non-overlapping fashion and\n\t// allow straightforward parsing of the hierarchy that WebGL encodes\n\t// in the uniform names.\n\n\tfunction addUniform(container, uniformObject) {\n\t\tcontainer.seq.push(uniformObject);\n\t\tcontainer.map[uniformObject.id] = uniformObject;\n\t}\n\n\tfunction parseUniform(activeInfo, addr, container) {\n\t\tconst path = activeInfo.name,\n\t\t\t\t\tpathLength = path.length; // reset RegExp object, because of the early exit of a previous run\n\n\t\tRePathPart.lastIndex = 0;\n\n\t\twhile (true) {\n\t\t\tconst match = RePathPart.exec(path),\n\t\t\t\t\t\tmatchEnd = RePathPart.lastIndex;\n\t\t\tlet id = match[1];\n\t\t\tconst idIsIndex = match[2] === ']',\n\t\t\t\t\t\tsubscript = match[3];\n\t\t\tif (idIsIndex) id = id | 0; // convert to integer\n\n\t\t\tif (subscript === undefined || subscript === '[' && matchEnd + 2 === pathLength) {\n\t\t\t\t// bare name or \"pure\" bottom-level array \"[0]\" suffix\n\t\t\t\taddUniform(container, subscript === undefined ? new SingleUniform(id, activeInfo, addr) : new PureArrayUniform(id, activeInfo, addr));\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\t// step into inner node / create it in case it doesn't exist\n\t\t\t\tconst map = container.map;\n\t\t\t\tlet next = map[id];\n\n\t\t\t\tif (next === undefined) {\n\t\t\t\t\tnext = new StructuredUniform(id);\n\t\t\t\t\taddUniform(container, next);\n\t\t\t\t}\n\n\t\t\t\tcontainer = next;\n\t\t\t}\n\t\t}\n\t} // Root Container\n\n\n\tclass WebGLUniforms {\n\t\tconstructor(gl, program) {\n\t\t\tthis.seq = [];\n\t\t\tthis.map = {};\n\t\t\tconst n = gl.getProgramParameter(program, gl.ACTIVE_UNIFORMS);\n\n\t\t\tfor (let i = 0; i < n; ++i) {\n\t\t\t\tconst info = gl.getActiveUniform(program, i),\n\t\t\t\t\t\t\taddr = gl.getUniformLocation(program, info.name);\n\t\t\t\tparseUniform(info, addr, this);\n\t\t\t}\n\t\t}\n\n\t\tsetValue(gl, name, value, textures) {\n\t\t\tconst u = this.map[name];\n\t\t\tif (u !== undefined) u.setValue(gl, value, textures);\n\t\t}\n\n\t\tsetOptional(gl, object, name) {\n\t\t\tconst v = object[name];\n\t\t\tif (v !== undefined) this.setValue(gl, name, v);\n\t\t}\n\n\t\tstatic upload(gl, seq, values, textures) {\n\t\t\tfor (let i = 0, n = seq.length; i !== n; ++i) {\n\t\t\t\tconst u = seq[i],\n\t\t\t\t\t\t\tv = values[u.id];\n\n\t\t\t\tif (v.needsUpdate !== false) {\n\t\t\t\t\t// note: always updating when .needsUpdate is undefined\n\t\t\t\t\tu.setValue(gl, v.value, textures);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tstatic seqWithValue(seq, values) {\n\t\t\tconst r = [];\n\n\t\t\tfor (let i = 0, n = seq.length; i !== n; ++i) {\n\t\t\t\tconst u = seq[i];\n\t\t\t\tif (u.id in values) r.push(u);\n\t\t\t}\n\n\t\t\treturn r;\n\t\t}\n\n\t}\n\n\tfunction WebGLShader(gl, type, string) {\n\t\tconst shader = gl.createShader(type);\n\t\tgl.shaderSource(shader, string);\n\t\tgl.compileShader(shader);\n\t\treturn shader;\n\t}\n\n\tlet programIdCount = 0;\n\n\tfunction handleSource(string, errorLine) {\n\t\tconst lines = string.split('\\n');\n\t\tconst lines2 = [];\n\t\tconst from = Math.max(errorLine - 6, 0);\n\t\tconst to = Math.min(errorLine + 6, lines.length);\n\n\t\tfor (let i = from; i < to; i++) {\n\t\t\tconst line = i + 1;\n\t\t\tlines2.push(`${line === errorLine ? '>' : ' '} ${line}: ${lines[i]}`);\n\t\t}\n\n\t\treturn lines2.join('\\n');\n\t}\n\n\tfunction getEncodingComponents(encoding) {\n\t\tswitch (encoding) {\n\t\t\tcase LinearEncoding:\n\t\t\t\treturn ['Linear', '( value )'];\n\n\t\t\tcase sRGBEncoding:\n\t\t\t\treturn ['sRGB', '( value )'];\n\n\t\t\tdefault:\n\t\t\t\tconsole.warn('THREE.WebGLProgram: Unsupported encoding:', encoding);\n\t\t\t\treturn ['Linear', '( value )'];\n\t\t}\n\t}\n\n\tfunction getShaderErrors(gl, shader, type) {\n\t\tconst status = gl.getShaderParameter(shader, gl.COMPILE_STATUS);\n\t\tconst errors = gl.getShaderInfoLog(shader).trim();\n\t\tif (status && errors === '') return '';\n\t\tconst errorMatches = /ERROR: 0:(\\d+)/.exec(errors);\n\n\t\tif (errorMatches) {\n\t\t\t// --enable-privileged-webgl-extension\n\t\t\t// console.log( '**' + type + '**', gl.getExtension( 'WEBGL_debug_shaders' ).getTranslatedShaderSource( shader ) );\n\t\t\tconst errorLine = parseInt(errorMatches[1]);\n\t\t\treturn type.toUpperCase() + '\\n\\n' + errors + '\\n\\n' + handleSource(gl.getShaderSource(shader), errorLine);\n\t\t} else {\n\t\t\treturn errors;\n\t\t}\n\t}\n\n\tfunction getTexelEncodingFunction(functionName, encoding) {\n\t\tconst components = getEncodingComponents(encoding);\n\t\treturn 'vec4 ' + functionName + '( vec4 value ) { return LinearTo' + components[0] + components[1] + '; }';\n\t}\n\n\tfunction getToneMappingFunction(functionName, toneMapping) {\n\t\tlet toneMappingName;\n\n\t\tswitch (toneMapping) {\n\t\t\tcase LinearToneMapping:\n\t\t\t\ttoneMappingName = 'Linear';\n\t\t\t\tbreak;\n\n\t\t\tcase ReinhardToneMapping:\n\t\t\t\ttoneMappingName = 'Reinhard';\n\t\t\t\tbreak;\n\n\t\t\tcase CineonToneMapping:\n\t\t\t\ttoneMappingName = 'OptimizedCineon';\n\t\t\t\tbreak;\n\n\t\t\tcase ACESFilmicToneMapping:\n\t\t\t\ttoneMappingName = 'ACESFilmic';\n\t\t\t\tbreak;\n\n\t\t\tcase CustomToneMapping:\n\t\t\t\ttoneMappingName = 'Custom';\n\t\t\t\tbreak;\n\n\t\t\tdefault:\n\t\t\t\tconsole.warn('THREE.WebGLProgram: Unsupported toneMapping:', toneMapping);\n\t\t\t\ttoneMappingName = 'Linear';\n\t\t}\n\n\t\treturn 'vec3 ' + functionName + '( vec3 color ) { return ' + toneMappingName + 'ToneMapping( color ); }';\n\t}\n\n\tfunction generateExtensions(parameters) {\n\t\tconst chunks = [parameters.extensionDerivatives || !!parameters.envMapCubeUVHeight || parameters.bumpMap || parameters.tangentSpaceNormalMap || parameters.clearcoatNormalMap || parameters.flatShading || parameters.shaderID === 'physical' ? '#extension GL_OES_standard_derivatives : enable' : '', (parameters.extensionFragDepth || parameters.logarithmicDepthBuffer) && parameters.rendererExtensionFragDepth ? '#extension GL_EXT_frag_depth : enable' : '', parameters.extensionDrawBuffers && parameters.rendererExtensionDrawBuffers ? '#extension GL_EXT_draw_buffers : require' : '', (parameters.extensionShaderTextureLOD || parameters.envMap || parameters.transmission) && parameters.rendererExtensionShaderTextureLod ? '#extension GL_EXT_shader_texture_lod : enable' : ''];\n\t\treturn chunks.filter(filterEmptyLine).join('\\n');\n\t}\n\n\tfunction generateDefines(defines) {\n\t\tconst chunks = [];\n\n\t\tfor (const name in defines) {\n\t\t\tconst value = defines[name];\n\t\t\tif (value === false) continue;\n\t\t\tchunks.push('#define ' + name + ' ' + value);\n\t\t}\n\n\t\treturn chunks.join('\\n');\n\t}\n\n\tfunction fetchAttributeLocations(gl, program) {\n\t\tconst attributes = {};\n\t\tconst n = gl.getProgramParameter(program, gl.ACTIVE_ATTRIBUTES);\n\n\t\tfor (let i = 0; i < n; i++) {\n\t\t\tconst info = gl.getActiveAttrib(program, i);\n\t\t\tconst name = info.name;\n\t\t\tlet locationSize = 1;\n\t\t\tif (info.type === gl.FLOAT_MAT2) locationSize = 2;\n\t\t\tif (info.type === gl.FLOAT_MAT3) locationSize = 3;\n\t\t\tif (info.type === gl.FLOAT_MAT4) locationSize = 4; // console.log( 'THREE.WebGLProgram: ACTIVE VERTEX ATTRIBUTE:', name, i );\n\n\t\t\tattributes[name] = {\n\t\t\t\ttype: info.type,\n\t\t\t\tlocation: gl.getAttribLocation(program, name),\n\t\t\t\tlocationSize: locationSize\n\t\t\t};\n\t\t}\n\n\t\treturn attributes;\n\t}\n\n\tfunction filterEmptyLine(string) {\n\t\treturn string !== '';\n\t}\n\n\tfunction replaceLightNums(string, parameters) {\n\t\treturn string.replace(/NUM_DIR_LIGHTS/g, parameters.numDirLights).replace(/NUM_SPOT_LIGHTS/g, parameters.numSpotLights).replace(/NUM_RECT_AREA_LIGHTS/g, parameters.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g, parameters.numPointLights).replace(/NUM_HEMI_LIGHTS/g, parameters.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g, parameters.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS/g, parameters.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g, parameters.numPointLightShadows);\n\t}\n\n\tfunction replaceClippingPlaneNums(string, parameters) {\n\t\treturn string.replace(/NUM_CLIPPING_PLANES/g, parameters.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g, parameters.numClippingPlanes - parameters.numClipIntersection);\n\t} // Resolve Includes\n\n\n\tconst includePattern = /^[ \\t]*#include +<([\\w\\d./]+)>/gm;\n\n\tfunction resolveIncludes(string) {\n\t\treturn string.replace(includePattern, includeReplacer);\n\t}\n\n\tfunction includeReplacer(match, include) {\n\t\tconst string = ShaderChunk[include];\n\n\t\tif (string === undefined) {\n\t\t\tthrow new Error('Can not resolve #include <' + include + '>');\n\t\t}\n\n\t\treturn resolveIncludes(string);\n\t} // Unroll Loops\n\n\n\tconst deprecatedUnrollLoopPattern = /#pragma unroll_loop[\\s]+?for \\( int i \\= (\\d+)\\; i < (\\d+)\\; i \\+\\+ \\) \\{([\\s\\S]+?)(?=\\})\\}/g;\n\tconst unrollLoopPattern = /#pragma unroll_loop_start\\s+for\\s*\\(\\s*int\\s+i\\s*=\\s*(\\d+)\\s*;\\s*i\\s*<\\s*(\\d+)\\s*;\\s*i\\s*\\+\\+\\s*\\)\\s*{([\\s\\S]+?)}\\s+#pragma unroll_loop_end/g;\n\n\tfunction unrollLoops(string) {\n\t\treturn string.replace(unrollLoopPattern, loopReplacer).replace(deprecatedUnrollLoopPattern, deprecatedLoopReplacer);\n\t}\n\n\tfunction deprecatedLoopReplacer(match, start, end, snippet) {\n\t\tconsole.warn('WebGLProgram: #pragma unroll_loop shader syntax is deprecated. Please use #pragma unroll_loop_start syntax instead.');\n\t\treturn loopReplacer(match, start, end, snippet);\n\t}\n\n\tfunction loopReplacer(match, start, end, snippet) {\n\t\tlet string = '';\n\n\t\tfor (let i = parseInt(start); i < parseInt(end); i++) {\n\t\t\tstring += snippet.replace(/\\[\\s*i\\s*\\]/g, '[ ' + i + ' ]').replace(/UNROLLED_LOOP_INDEX/g, i);\n\t\t}\n\n\t\treturn string;\n\t} //\n\n\n\tfunction generatePrecision(parameters) {\n\t\tlet precisionstring = 'precision ' + parameters.precision + ' float;\\nprecision ' + parameters.precision + ' int;';\n\n\t\tif (parameters.precision === 'highp') {\n\t\t\tprecisionstring += '\\n#define HIGH_PRECISION';\n\t\t} else if (parameters.precision === 'mediump') {\n\t\t\tprecisionstring += '\\n#define MEDIUM_PRECISION';\n\t\t} else if (parameters.precision === 'lowp') {\n\t\t\tprecisionstring += '\\n#define LOW_PRECISION';\n\t\t}\n\n\t\treturn precisionstring;\n\t}\n\n\tfunction generateShadowMapTypeDefine(parameters) {\n\t\tlet shadowMapTypeDefine = 'SHADOWMAP_TYPE_BASIC';\n\n\t\tif (parameters.shadowMapType === PCFShadowMap) {\n\t\t\tshadowMapTypeDefine = 'SHADOWMAP_TYPE_PCF';\n\t\t} else if (parameters.shadowMapType === PCFSoftShadowMap) {\n\t\t\tshadowMapTypeDefine = 'SHADOWMAP_TYPE_PCF_SOFT';\n\t\t} else if (parameters.shadowMapType === VSMShadowMap) {\n\t\t\tshadowMapTypeDefine = 'SHADOWMAP_TYPE_VSM';\n\t\t}\n\n\t\treturn shadowMapTypeDefine;\n\t}\n\n\tfunction generateEnvMapTypeDefine(parameters) {\n\t\tlet envMapTypeDefine = 'ENVMAP_TYPE_CUBE';\n\n\t\tif (parameters.envMap) {\n\t\t\tswitch (parameters.envMapMode) {\n\t\t\t\tcase CubeReflectionMapping:\n\t\t\t\tcase CubeRefractionMapping:\n\t\t\t\t\tenvMapTypeDefine = 'ENVMAP_TYPE_CUBE';\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase CubeUVReflectionMapping:\n\t\t\t\t\tenvMapTypeDefine = 'ENVMAP_TYPE_CUBE_UV';\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn envMapTypeDefine;\n\t}\n\n\tfunction generateEnvMapModeDefine(parameters) {\n\t\tlet envMapModeDefine = 'ENVMAP_MODE_REFLECTION';\n\n\t\tif (parameters.envMap) {\n\t\t\tswitch (parameters.envMapMode) {\n\t\t\t\tcase CubeRefractionMapping:\n\t\t\t\t\tenvMapModeDefine = 'ENVMAP_MODE_REFRACTION';\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn envMapModeDefine;\n\t}\n\n\tfunction generateEnvMapBlendingDefine(parameters) {\n\t\tlet envMapBlendingDefine = 'ENVMAP_BLENDING_NONE';\n\n\t\tif (parameters.envMap) {\n\t\t\tswitch (parameters.combine) {\n\t\t\t\tcase MultiplyOperation:\n\t\t\t\t\tenvMapBlendingDefine = 'ENVMAP_BLENDING_MULTIPLY';\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase MixOperation:\n\t\t\t\t\tenvMapBlendingDefine = 'ENVMAP_BLENDING_MIX';\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase AddOperation:\n\t\t\t\t\tenvMapBlendingDefine = 'ENVMAP_BLENDING_ADD';\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\treturn envMapBlendingDefine;\n\t}\n\n\tfunction generateCubeUVSize(parameters) {\n\t\tconst imageHeight = parameters.envMapCubeUVHeight;\n\t\tif (imageHeight === null) return null;\n\t\tconst maxMip = Math.log2(imageHeight) - 2;\n\t\tconst texelHeight = 1.0 / imageHeight;\n\t\tconst texelWidth = 1.0 / (3 * Math.max(Math.pow(2, maxMip), 7 * 16));\n\t\treturn {\n\t\t\ttexelWidth,\n\t\t\ttexelHeight,\n\t\t\tmaxMip\n\t\t};\n\t}\n\n\tfunction WebGLProgram(renderer, cacheKey, parameters, bindingStates) {\n\t\t// TODO Send this event to Three.js DevTools\n\t\t// console.log( 'WebGLProgram', cacheKey );\n\t\tconst gl = renderer.getContext();\n\t\tconst defines = parameters.defines;\n\t\tlet vertexShader = parameters.vertexShader;\n\t\tlet fragmentShader = parameters.fragmentShader;\n\t\tconst shadowMapTypeDefine = generateShadowMapTypeDefine(parameters);\n\t\tconst envMapTypeDefine = generateEnvMapTypeDefine(parameters);\n\t\tconst envMapModeDefine = generateEnvMapModeDefine(parameters);\n\t\tconst envMapBlendingDefine = generateEnvMapBlendingDefine(parameters);\n\t\tconst envMapCubeUVSize = generateCubeUVSize(parameters);\n\t\tconst customExtensions = parameters.isWebGL2 ? '' : generateExtensions(parameters);\n\t\tconst customDefines = generateDefines(defines);\n\t\tconst program = gl.createProgram();\n\t\tlet prefixVertex, prefixFragment;\n\t\tlet versionString = parameters.glslVersion ? '#version ' + parameters.glslVersion + '\\n' : '';\n\n\t\tif (parameters.isRawShaderMaterial) {\n\t\t\tprefixVertex = [customDefines].filter(filterEmptyLine).join('\\n');\n\n\t\t\tif (prefixVertex.length > 0) {\n\t\t\t\tprefixVertex += '\\n';\n\t\t\t}\n\n\t\t\tprefixFragment = [customExtensions, customDefines].filter(filterEmptyLine).join('\\n');\n\n\t\t\tif (prefixFragment.length > 0) {\n\t\t\t\tprefixFragment += '\\n';\n\t\t\t}\n\t\t} else {\n\t\t\tprefixVertex = [generatePrecision(parameters), '#define SHADER_NAME ' + parameters.shaderName, customDefines, parameters.instancing ? '#define USE_INSTANCING' : '', parameters.instancingColor ? '#define USE_INSTANCING_COLOR' : '', parameters.supportsVertexTextures ? '#define VERTEX_TEXTURES' : '', parameters.useFog && parameters.fog ? '#define USE_FOG' : '', parameters.useFog && parameters.fogExp2 ? '#define FOG_EXP2' : '', parameters.map ? '#define USE_MAP' : '', parameters.envMap ? '#define USE_ENVMAP' : '', parameters.envMap ? '#define ' + envMapModeDefine : '', parameters.lightMap ? '#define USE_LIGHTMAP' : '', parameters.aoMap ? '#define USE_AOMAP' : '', parameters.emissiveMap ? '#define USE_EMISSIVEMAP' : '', parameters.bumpMap ? '#define USE_BUMPMAP' : '', parameters.normalMap ? '#define USE_NORMALMAP' : '', parameters.normalMap && parameters.objectSpaceNormalMap ? '#define OBJECTSPACE_NORMALMAP' : '', parameters.normalMap && parameters.tangentSpaceNormalMap ? '#define TANGENTSPACE_NORMALMAP' : '', parameters.clearcoatMap ? '#define USE_CLEARCOATMAP' : '', parameters.clearcoatRoughnessMap ? '#define USE_CLEARCOAT_ROUGHNESSMAP' : '', parameters.clearcoatNormalMap ? '#define USE_CLEARCOAT_NORMALMAP' : '', parameters.iridescenceMap ? '#define USE_IRIDESCENCEMAP' : '', parameters.iridescenceThicknessMap ? '#define USE_IRIDESCENCE_THICKNESSMAP' : '', parameters.displacementMap && parameters.supportsVertexTextures ? '#define USE_DISPLACEMENTMAP' : '', parameters.specularMap ? '#define USE_SPECULARMAP' : '', parameters.specularIntensityMap ? '#define USE_SPECULARINTENSITYMAP' : '', parameters.specularColorMap ? '#define USE_SPECULARCOLORMAP' : '', parameters.roughnessMap ? '#define USE_ROUGHNESSMAP' : '', parameters.metalnessMap ? '#define USE_METALNESSMAP' : '', parameters.alphaMap ? '#define USE_ALPHAMAP' : '', parameters.transmission ? '#define USE_TRANSMISSION' : '', parameters.transmissionMap ? '#define USE_TRANSMISSIONMAP' : '', parameters.thicknessMap ? '#define USE_THICKNESSMAP' : '', parameters.sheenColorMap ? '#define USE_SHEENCOLORMAP' : '', parameters.sheenRoughnessMap ? '#define USE_SHEENROUGHNESSMAP' : '', parameters.vertexTangents ? '#define USE_TANGENT' : '', parameters.vertexColors ? '#define USE_COLOR' : '', parameters.vertexAlphas ? '#define USE_COLOR_ALPHA' : '', parameters.vertexUvs ? '#define USE_UV' : '', parameters.uvsVertexOnly ? '#define UVS_VERTEX_ONLY' : '', parameters.flatShading ? '#define FLAT_SHADED' : '', parameters.skinning ? '#define USE_SKINNING' : '', parameters.morphTargets ? '#define USE_MORPHTARGETS' : '', parameters.morphNormals && parameters.flatShading === false ? '#define USE_MORPHNORMALS' : '', parameters.morphColors && parameters.isWebGL2 ? '#define USE_MORPHCOLORS' : '', parameters.morphTargetsCount > 0 && parameters.isWebGL2 ? '#define MORPHTARGETS_TEXTURE' : '', parameters.morphTargetsCount > 0 && parameters.isWebGL2 ? '#define MORPHTARGETS_TEXTURE_STRIDE ' + parameters.morphTextureStride : '', parameters.morphTargetsCount > 0 && parameters.isWebGL2 ? '#define MORPHTARGETS_COUNT ' + parameters.morphTargetsCount : '', parameters.doubleSided ? '#define DOUBLE_SIDED' : '', parameters.flipSided ? '#define FLIP_SIDED' : '', parameters.shadowMapEnabled ? '#define USE_SHADOWMAP' : '', parameters.shadowMapEnabled ? '#define ' + shadowMapTypeDefine : '', parameters.sizeAttenuation ? '#define USE_SIZEATTENUATION' : '', parameters.logarithmicDepthBuffer ? '#define USE_LOGDEPTHBUF' : '', parameters.logarithmicDepthBuffer && parameters.rendererExtensionFragDepth ? '#define USE_LOGDEPTHBUF_EXT' : '', 'uniform mat4 modelMatrix;', 'uniform mat4 modelViewMatrix;', 'uniform mat4 projectionMatrix;', 'uniform mat4 viewMatrix;', 'uniform mat3 normalMatrix;', 'uniform vec3 cameraPosition;', 'uniform bool isOrthographic;', '#ifdef USE_INSTANCING', '\tattribute mat4 instanceMatrix;', '#endif', '#ifdef USE_INSTANCING_COLOR', '\tattribute vec3 instanceColor;', '#endif', 'attribute vec3 position;', 'attribute vec3 normal;', 'attribute vec2 uv;', '#ifdef USE_TANGENT', '\tattribute vec4 tangent;', '#endif', '#if defined( USE_COLOR_ALPHA )', '\tattribute vec4 color;', '#elif defined( USE_COLOR )', '\tattribute vec3 color;', '#endif', '#if ( defined( USE_MORPHTARGETS ) && ! defined( MORPHTARGETS_TEXTURE ) )', '\tattribute vec3 morphTarget0;', '\tattribute vec3 morphTarget1;', '\tattribute vec3 morphTarget2;', '\tattribute vec3 morphTarget3;', '\t#ifdef USE_MORPHNORMALS', '\t\tattribute vec3 morphNormal0;', '\t\tattribute vec3 morphNormal1;', '\t\tattribute vec3 morphNormal2;', '\t\tattribute vec3 morphNormal3;', '\t#else', '\t\tattribute vec3 morphTarget4;', '\t\tattribute vec3 morphTarget5;', '\t\tattribute vec3 morphTarget6;', '\t\tattribute vec3 morphTarget7;', '\t#endif', '#endif', '#ifdef USE_SKINNING', '\tattribute vec4 skinIndex;', '\tattribute vec4 skinWeight;', '#endif', '\\n'].filter(filterEmptyLine).join('\\n');\n\t\t\tprefixFragment = [customExtensions, generatePrecision(parameters), '#define SHADER_NAME ' + parameters.shaderName, customDefines, parameters.useFog && parameters.fog ? '#define USE_FOG' : '', parameters.useFog && parameters.fogExp2 ? '#define FOG_EXP2' : '', parameters.map ? '#define USE_MAP' : '', parameters.matcap ? '#define USE_MATCAP' : '', parameters.envMap ? '#define USE_ENVMAP' : '', parameters.envMap ? '#define ' + envMapTypeDefine : '', parameters.envMap ? '#define ' + envMapModeDefine : '', parameters.envMap ? '#define ' + envMapBlendingDefine : '', envMapCubeUVSize ? '#define CUBEUV_TEXEL_WIDTH ' + envMapCubeUVSize.texelWidth : '', envMapCubeUVSize ? '#define CUBEUV_TEXEL_HEIGHT ' + envMapCubeUVSize.texelHeight : '', envMapCubeUVSize ? '#define CUBEUV_MAX_MIP ' + envMapCubeUVSize.maxMip + '.0' : '', parameters.lightMap ? '#define USE_LIGHTMAP' : '', parameters.aoMap ? '#define USE_AOMAP' : '', parameters.emissiveMap ? '#define USE_EMISSIVEMAP' : '', parameters.bumpMap ? '#define USE_BUMPMAP' : '', parameters.normalMap ? '#define USE_NORMALMAP' : '', parameters.normalMap && parameters.objectSpaceNormalMap ? '#define OBJECTSPACE_NORMALMAP' : '', parameters.normalMap && parameters.tangentSpaceNormalMap ? '#define TANGENTSPACE_NORMALMAP' : '', parameters.clearcoat ? '#define USE_CLEARCOAT' : '', parameters.clearcoatMap ? '#define USE_CLEARCOATMAP' : '', parameters.clearcoatRoughnessMap ? '#define USE_CLEARCOAT_ROUGHNESSMAP' : '', parameters.clearcoatNormalMap ? '#define USE_CLEARCOAT_NORMALMAP' : '', parameters.iridescence ? '#define USE_IRIDESCENCE' : '', parameters.iridescenceMap ? '#define USE_IRIDESCENCEMAP' : '', parameters.iridescenceThicknessMap ? '#define USE_IRIDESCENCE_THICKNESSMAP' : '', parameters.specularMap ? '#define USE_SPECULARMAP' : '', parameters.specularIntensityMap ? '#define USE_SPECULARINTENSITYMAP' : '', parameters.specularColorMap ? '#define USE_SPECULARCOLORMAP' : '', parameters.roughnessMap ? '#define USE_ROUGHNESSMAP' : '', parameters.metalnessMap ? '#define USE_METALNESSMAP' : '', parameters.alphaMap ? '#define USE_ALPHAMAP' : '', parameters.alphaTest ? '#define USE_ALPHATEST' : '', parameters.sheen ? '#define USE_SHEEN' : '', parameters.sheenColorMap ? '#define USE_SHEENCOLORMAP' : '', parameters.sheenRoughnessMap ? '#define USE_SHEENROUGHNESSMAP' : '', parameters.transmission ? '#define USE_TRANSMISSION' : '', parameters.transmissionMap ? '#define USE_TRANSMISSIONMAP' : '', parameters.thicknessMap ? '#define USE_THICKNESSMAP' : '', parameters.decodeVideoTexture ? '#define DECODE_VIDEO_TEXTURE' : '', parameters.vertexTangents ? '#define USE_TANGENT' : '', parameters.vertexColors || parameters.instancingColor ? '#define USE_COLOR' : '', parameters.vertexAlphas ? '#define USE_COLOR_ALPHA' : '', parameters.vertexUvs ? '#define USE_UV' : '', parameters.uvsVertexOnly ? '#define UVS_VERTEX_ONLY' : '', parameters.gradientMap ? '#define USE_GRADIENTMAP' : '', parameters.flatShading ? '#define FLAT_SHADED' : '', parameters.doubleSided ? '#define DOUBLE_SIDED' : '', parameters.flipSided ? '#define FLIP_SIDED' : '', parameters.shadowMapEnabled ? '#define USE_SHADOWMAP' : '', parameters.shadowMapEnabled ? '#define ' + shadowMapTypeDefine : '', parameters.premultipliedAlpha ? '#define PREMULTIPLIED_ALPHA' : '', parameters.physicallyCorrectLights ? '#define PHYSICALLY_CORRECT_LIGHTS' : '', parameters.logarithmicDepthBuffer ? '#define USE_LOGDEPTHBUF' : '', parameters.logarithmicDepthBuffer && parameters.rendererExtensionFragDepth ? '#define USE_LOGDEPTHBUF_EXT' : '', 'uniform mat4 viewMatrix;', 'uniform vec3 cameraPosition;', 'uniform bool isOrthographic;', parameters.toneMapping !== NoToneMapping ? '#define TONE_MAPPING' : '', parameters.toneMapping !== NoToneMapping ? ShaderChunk['tonemapping_pars_fragment'] : '', // this code is required here because it is used by the toneMapping() function defined below\n\t\t\tparameters.toneMapping !== NoToneMapping ? getToneMappingFunction('toneMapping', parameters.toneMapping) : '', parameters.dithering ? '#define DITHERING' : '', parameters.opaque ? '#define OPAQUE' : '', ShaderChunk['encodings_pars_fragment'], // this code is required here because it is used by the various encoding/decoding function defined below\n\t\t\tgetTexelEncodingFunction('linearToOutputTexel', parameters.outputEncoding), parameters.useDepthPacking ? '#define DEPTH_PACKING ' + parameters.depthPacking : '', '\\n'].filter(filterEmptyLine).join('\\n');\n\t\t}\n\n\t\tvertexShader = resolveIncludes(vertexShader);\n\t\tvertexShader = replaceLightNums(vertexShader, parameters);\n\t\tvertexShader = replaceClippingPlaneNums(vertexShader, parameters);\n\t\tfragmentShader = resolveIncludes(fragmentShader);\n\t\tfragmentShader = replaceLightNums(fragmentShader, parameters);\n\t\tfragmentShader = replaceClippingPlaneNums(fragmentShader, parameters);\n\t\tvertexShader = unrollLoops(vertexShader);\n\t\tfragmentShader = unrollLoops(fragmentShader);\n\n\t\tif (parameters.isWebGL2 && parameters.isRawShaderMaterial !== true) {\n\t\t\t// GLSL 3.0 conversion for built-in materials and ShaderMaterial\n\t\t\tversionString = '#version 300 es\\n';\n\t\t\tprefixVertex = ['precision mediump sampler2DArray;', '#define attribute in', '#define varying out', '#define texture2D texture'].join('\\n') + '\\n' + prefixVertex;\n\t\t\tprefixFragment = ['#define varying in', parameters.glslVersion === GLSL3 ? '' : 'layout(location = 0) out highp vec4 pc_fragColor;', parameters.glslVersion === GLSL3 ? '' : '#define gl_FragColor pc_fragColor', '#define gl_FragDepthEXT gl_FragDepth', '#define texture2D texture', '#define textureCube texture', '#define texture2DProj textureProj', '#define texture2DLodEXT textureLod', '#define texture2DProjLodEXT textureProjLod', '#define textureCubeLodEXT textureLod', '#define texture2DGradEXT textureGrad', '#define texture2DProjGradEXT textureProjGrad', '#define textureCubeGradEXT textureGrad'].join('\\n') + '\\n' + prefixFragment;\n\t\t}\n\n\t\tconst vertexGlsl = versionString + prefixVertex + vertexShader;\n\t\tconst fragmentGlsl = versionString + prefixFragment + fragmentShader; // console.log( '*VERTEX*', vertexGlsl );\n\t\t// console.log( '*FRAGMENT*', fragmentGlsl );\n\n\t\tconst glVertexShader = WebGLShader(gl, gl.VERTEX_SHADER, vertexGlsl);\n\t\tconst glFragmentShader = WebGLShader(gl, gl.FRAGMENT_SHADER, fragmentGlsl);\n\t\tgl.attachShader(program, glVertexShader);\n\t\tgl.attachShader(program, glFragmentShader); // Force a particular attribute to index 0.\n\n\t\tif (parameters.index0AttributeName !== undefined) {\n\t\t\tgl.bindAttribLocation(program, 0, parameters.index0AttributeName);\n\t\t} else if (parameters.morphTargets === true) {\n\t\t\t// programs with morphTargets displace position out of attribute 0\n\t\t\tgl.bindAttribLocation(program, 0, 'position');\n\t\t}\n\n\t\tgl.linkProgram(program); // check for link errors\n\n\t\tif (renderer.debug.checkShaderErrors) {\n\t\t\tconst programLog = gl.getProgramInfoLog(program).trim();\n\t\t\tconst vertexLog = gl.getShaderInfoLog(glVertexShader).trim();\n\t\t\tconst fragmentLog = gl.getShaderInfoLog(glFragmentShader).trim();\n\t\t\tlet runnable = true;\n\t\t\tlet haveDiagnostics = true;\n\n\t\t\tif (gl.getProgramParameter(program, gl.LINK_STATUS) === false) {\n\t\t\t\trunnable = false;\n\t\t\t\tconst vertexErrors = getShaderErrors(gl, glVertexShader, 'vertex');\n\t\t\t\tconst fragmentErrors = getShaderErrors(gl, glFragmentShader, 'fragment');\n\t\t\t\tconsole.error('THREE.WebGLProgram: Shader Error ' + gl.getError() + ' - ' + 'VALIDATE_STATUS ' + gl.getProgramParameter(program, gl.VALIDATE_STATUS) + '\\n\\n' + 'Program Info Log: ' + programLog + '\\n' + vertexErrors + '\\n' + fragmentErrors);\n\t\t\t} else if (programLog !== '') {\n\t\t\t\tconsole.warn('THREE.WebGLProgram: Program Info Log:', programLog);\n\t\t\t} else if (vertexLog === '' || fragmentLog === '') {\n\t\t\t\thaveDiagnostics = false;\n\t\t\t}\n\n\t\t\tif (haveDiagnostics) {\n\t\t\t\tthis.diagnostics = {\n\t\t\t\t\trunnable: runnable,\n\t\t\t\t\tprogramLog: programLog,\n\t\t\t\t\tvertexShader: {\n\t\t\t\t\t\tlog: vertexLog,\n\t\t\t\t\t\tprefix: prefixVertex\n\t\t\t\t\t},\n\t\t\t\t\tfragmentShader: {\n\t\t\t\t\t\tlog: fragmentLog,\n\t\t\t\t\t\tprefix: prefixFragment\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t} // Clean up\n\t\t// Crashes in iOS9 and iOS10. #18402\n\t\t// gl.detachShader( program, glVertexShader );\n\t\t// gl.detachShader( program, glFragmentShader );\n\n\n\t\tgl.deleteShader(glVertexShader);\n\t\tgl.deleteShader(glFragmentShader); // set up caching for uniform locations\n\n\t\tlet cachedUniforms;\n\n\t\tthis.getUniforms = function () {\n\t\t\tif (cachedUniforms === undefined) {\n\t\t\t\tcachedUniforms = new WebGLUniforms(gl, program);\n\t\t\t}\n\n\t\t\treturn cachedUniforms;\n\t\t}; // set up caching for attribute locations\n\n\n\t\tlet cachedAttributes;\n\n\t\tthis.getAttributes = function () {\n\t\t\tif (cachedAttributes === undefined) {\n\t\t\t\tcachedAttributes = fetchAttributeLocations(gl, program);\n\t\t\t}\n\n\t\t\treturn cachedAttributes;\n\t\t}; // free resource\n\n\n\t\tthis.destroy = function () {\n\t\t\tbindingStates.releaseStatesOfProgram(this);\n\t\t\tgl.deleteProgram(program);\n\t\t\tthis.program = undefined;\n\t\t}; //\n\n\n\t\tthis.name = parameters.shaderName;\n\t\tthis.id = programIdCount++;\n\t\tthis.cacheKey = cacheKey;\n\t\tthis.usedTimes = 1;\n\t\tthis.program = program;\n\t\tthis.vertexShader = glVertexShader;\n\t\tthis.fragmentShader = glFragmentShader;\n\t\treturn this;\n\t}\n\n\tlet _id = 0;\n\n\tclass WebGLShaderCache {\n\t\tconstructor() {\n\t\t\tthis.shaderCache = new Map();\n\t\t\tthis.materialCache = new Map();\n\t\t}\n\n\t\tupdate(material) {\n\t\t\tconst vertexShader = material.vertexShader;\n\t\t\tconst fragmentShader = material.fragmentShader;\n\n\t\t\tconst vertexShaderStage = this._getShaderStage(vertexShader);\n\n\t\t\tconst fragmentShaderStage = this._getShaderStage(fragmentShader);\n\n\t\t\tconst materialShaders = this._getShaderCacheForMaterial(material);\n\n\t\t\tif (materialShaders.has(vertexShaderStage) === false) {\n\t\t\t\tmaterialShaders.add(vertexShaderStage);\n\t\t\t\tvertexShaderStage.usedTimes++;\n\t\t\t}\n\n\t\t\tif (materialShaders.has(fragmentShaderStage) === false) {\n\t\t\t\tmaterialShaders.add(fragmentShaderStage);\n\t\t\t\tfragmentShaderStage.usedTimes++;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tremove(material) {\n\t\t\tconst materialShaders = this.materialCache.get(material);\n\n\t\t\tfor (const shaderStage of materialShaders) {\n\t\t\t\tshaderStage.usedTimes--;\n\t\t\t\tif (shaderStage.usedTimes === 0) this.shaderCache.delete(shaderStage.code);\n\t\t\t}\n\n\t\t\tthis.materialCache.delete(material);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetVertexShaderID(material) {\n\t\t\treturn this._getShaderStage(material.vertexShader).id;\n\t\t}\n\n\t\tgetFragmentShaderID(material) {\n\t\t\treturn this._getShaderStage(material.fragmentShader).id;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.shaderCache.clear();\n\t\t\tthis.materialCache.clear();\n\t\t}\n\n\t\t_getShaderCacheForMaterial(material) {\n\t\t\tconst cache = this.materialCache;\n\n\t\t\tif (cache.has(material) === false) {\n\t\t\t\tcache.set(material, new Set());\n\t\t\t}\n\n\t\t\treturn cache.get(material);\n\t\t}\n\n\t\t_getShaderStage(code) {\n\t\t\tconst cache = this.shaderCache;\n\n\t\t\tif (cache.has(code) === false) {\n\t\t\t\tconst stage = new WebGLShaderStage(code);\n\t\t\t\tcache.set(code, stage);\n\t\t\t}\n\n\t\t\treturn cache.get(code);\n\t\t}\n\n\t}\n\n\tclass WebGLShaderStage {\n\t\tconstructor(code) {\n\t\t\tthis.id = _id++;\n\t\t\tthis.code = code;\n\t\t\tthis.usedTimes = 0;\n\t\t}\n\n\t}\n\n\tfunction WebGLPrograms(renderer, cubemaps, cubeuvmaps, extensions, capabilities, bindingStates, clipping) {\n\t\tconst _programLayers = new Layers();\n\n\t\tconst _customShaders = new WebGLShaderCache();\n\n\t\tconst programs = [];\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\t\tconst logarithmicDepthBuffer = capabilities.logarithmicDepthBuffer;\n\t\tconst vertexTextures = capabilities.vertexTextures;\n\t\tlet precision = capabilities.precision;\n\t\tconst shaderIDs = {\n\t\t\tMeshDepthMaterial: 'depth',\n\t\t\tMeshDistanceMaterial: 'distanceRGBA',\n\t\t\tMeshNormalMaterial: 'normal',\n\t\t\tMeshBasicMaterial: 'basic',\n\t\t\tMeshLambertMaterial: 'lambert',\n\t\t\tMeshPhongMaterial: 'phong',\n\t\t\tMeshToonMaterial: 'toon',\n\t\t\tMeshStandardMaterial: 'physical',\n\t\t\tMeshPhysicalMaterial: 'physical',\n\t\t\tMeshMatcapMaterial: 'matcap',\n\t\t\tLineBasicMaterial: 'basic',\n\t\t\tLineDashedMaterial: 'dashed',\n\t\t\tPointsMaterial: 'points',\n\t\t\tShadowMaterial: 'shadow',\n\t\t\tSpriteMaterial: 'sprite'\n\t\t};\n\n\t\tfunction getParameters(material, lights, shadows, scene, object) {\n\t\t\tconst fog = scene.fog;\n\t\t\tconst geometry = object.geometry;\n\t\t\tconst environment = material.isMeshStandardMaterial ? scene.environment : null;\n\t\t\tconst envMap = (material.isMeshStandardMaterial ? cubeuvmaps : cubemaps).get(material.envMap || environment);\n\t\t\tconst envMapCubeUVHeight = !!envMap && envMap.mapping === CubeUVReflectionMapping ? envMap.image.height : null;\n\t\t\tconst shaderID = shaderIDs[material.type]; // heuristics to create shader parameters according to lights in the scene\n\t\t\t// (not to blow over maxLights budget)\n\n\t\t\tif (material.precision !== null) {\n\t\t\t\tprecision = capabilities.getMaxPrecision(material.precision);\n\n\t\t\t\tif (precision !== material.precision) {\n\t\t\t\t\tconsole.warn('THREE.WebGLProgram.getParameters:', material.precision, 'not supported, using', precision, 'instead.');\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tconst morphAttribute = geometry.morphAttributes.position || geometry.morphAttributes.normal || geometry.morphAttributes.color;\n\t\t\tconst morphTargetsCount = morphAttribute !== undefined ? morphAttribute.length : 0;\n\t\t\tlet morphTextureStride = 0;\n\t\t\tif (geometry.morphAttributes.position !== undefined) morphTextureStride = 1;\n\t\t\tif (geometry.morphAttributes.normal !== undefined) morphTextureStride = 2;\n\t\t\tif (geometry.morphAttributes.color !== undefined) morphTextureStride = 3; //\n\n\t\t\tlet vertexShader, fragmentShader;\n\t\t\tlet customVertexShaderID, customFragmentShaderID;\n\n\t\t\tif (shaderID) {\n\t\t\t\tconst shader = ShaderLib[shaderID];\n\t\t\t\tvertexShader = shader.vertexShader;\n\t\t\t\tfragmentShader = shader.fragmentShader;\n\t\t\t} else {\n\t\t\t\tvertexShader = material.vertexShader;\n\t\t\t\tfragmentShader = material.fragmentShader;\n\n\t\t\t\t_customShaders.update(material);\n\n\t\t\t\tcustomVertexShaderID = _customShaders.getVertexShaderID(material);\n\t\t\t\tcustomFragmentShaderID = _customShaders.getFragmentShaderID(material);\n\t\t\t}\n\n\t\t\tconst currentRenderTarget = renderer.getRenderTarget();\n\t\t\tconst useAlphaTest = material.alphaTest > 0;\n\t\t\tconst useClearcoat = material.clearcoat > 0;\n\t\t\tconst useIridescence = material.iridescence > 0;\n\t\t\tconst parameters = {\n\t\t\t\tisWebGL2: isWebGL2,\n\t\t\t\tshaderID: shaderID,\n\t\t\t\tshaderName: material.type,\n\t\t\t\tvertexShader: vertexShader,\n\t\t\t\tfragmentShader: fragmentShader,\n\t\t\t\tdefines: material.defines,\n\t\t\t\tcustomVertexShaderID: customVertexShaderID,\n\t\t\t\tcustomFragmentShaderID: customFragmentShaderID,\n\t\t\t\tisRawShaderMaterial: material.isRawShaderMaterial === true,\n\t\t\t\tglslVersion: material.glslVersion,\n\t\t\t\tprecision: precision,\n\t\t\t\tinstancing: object.isInstancedMesh === true,\n\t\t\t\tinstancingColor: object.isInstancedMesh === true && object.instanceColor !== null,\n\t\t\t\tsupportsVertexTextures: vertexTextures,\n\t\t\t\toutputEncoding: currentRenderTarget === null ? renderer.outputEncoding : currentRenderTarget.isXRRenderTarget === true ? currentRenderTarget.texture.encoding : LinearEncoding,\n\t\t\t\tmap: !!material.map,\n\t\t\t\tmatcap: !!material.matcap,\n\t\t\t\tenvMap: !!envMap,\n\t\t\t\tenvMapMode: envMap && envMap.mapping,\n\t\t\t\tenvMapCubeUVHeight: envMapCubeUVHeight,\n\t\t\t\tlightMap: !!material.lightMap,\n\t\t\t\taoMap: !!material.aoMap,\n\t\t\t\temissiveMap: !!material.emissiveMap,\n\t\t\t\tbumpMap: !!material.bumpMap,\n\t\t\t\tnormalMap: !!material.normalMap,\n\t\t\t\tobjectSpaceNormalMap: material.normalMapType === ObjectSpaceNormalMap,\n\t\t\t\ttangentSpaceNormalMap: material.normalMapType === TangentSpaceNormalMap,\n\t\t\t\tdecodeVideoTexture: !!material.map && material.map.isVideoTexture === true && material.map.encoding === sRGBEncoding,\n\t\t\t\tclearcoat: useClearcoat,\n\t\t\t\tclearcoatMap: useClearcoat && !!material.clearcoatMap,\n\t\t\t\tclearcoatRoughnessMap: useClearcoat && !!material.clearcoatRoughnessMap,\n\t\t\t\tclearcoatNormalMap: useClearcoat && !!material.clearcoatNormalMap,\n\t\t\t\tiridescence: useIridescence,\n\t\t\t\tiridescenceMap: useIridescence && !!material.iridescenceMap,\n\t\t\t\tiridescenceThicknessMap: useIridescence && !!material.iridescenceThicknessMap,\n\t\t\t\tdisplacementMap: !!material.displacementMap,\n\t\t\t\troughnessMap: !!material.roughnessMap,\n\t\t\t\tmetalnessMap: !!material.metalnessMap,\n\t\t\t\tspecularMap: !!material.specularMap,\n\t\t\t\tspecularIntensityMap: !!material.specularIntensityMap,\n\t\t\t\tspecularColorMap: !!material.specularColorMap,\n\t\t\t\topaque: material.transparent === false && material.blending === NormalBlending,\n\t\t\t\talphaMap: !!material.alphaMap,\n\t\t\t\talphaTest: useAlphaTest,\n\t\t\t\tgradientMap: !!material.gradientMap,\n\t\t\t\tsheen: material.sheen > 0,\n\t\t\t\tsheenColorMap: !!material.sheenColorMap,\n\t\t\t\tsheenRoughnessMap: !!material.sheenRoughnessMap,\n\t\t\t\ttransmission: material.transmission > 0,\n\t\t\t\ttransmissionMap: !!material.transmissionMap,\n\t\t\t\tthicknessMap: !!material.thicknessMap,\n\t\t\t\tcombine: material.combine,\n\t\t\t\tvertexTangents: !!material.normalMap && !!geometry.attributes.tangent,\n\t\t\t\tvertexColors: material.vertexColors,\n\t\t\t\tvertexAlphas: material.vertexColors === true && !!geometry.attributes.color && geometry.attributes.color.itemSize === 4,\n\t\t\t\tvertexUvs: !!material.map || !!material.bumpMap || !!material.normalMap || !!material.specularMap || !!material.alphaMap || !!material.emissiveMap || !!material.roughnessMap || !!material.metalnessMap || !!material.clearcoatMap || !!material.clearcoatRoughnessMap || !!material.clearcoatNormalMap || !!material.iridescenceMap || !!material.iridescenceThicknessMap || !!material.displacementMap || !!material.transmissionMap || !!material.thicknessMap || !!material.specularIntensityMap || !!material.specularColorMap || !!material.sheenColorMap || !!material.sheenRoughnessMap,\n\t\t\t\tuvsVertexOnly: !(!!material.map || !!material.bumpMap || !!material.normalMap || !!material.specularMap || !!material.alphaMap || !!material.emissiveMap || !!material.roughnessMap || !!material.metalnessMap || !!material.clearcoatNormalMap || !!material.iridescenceMap || !!material.iridescenceThicknessMap || material.transmission > 0 || !!material.transmissionMap || !!material.thicknessMap || !!material.specularIntensityMap || !!material.specularColorMap || material.sheen > 0 || !!material.sheenColorMap || !!material.sheenRoughnessMap) && !!material.displacementMap,\n\t\t\t\tfog: !!fog,\n\t\t\t\tuseFog: material.fog === true,\n\t\t\t\tfogExp2: fog && fog.isFogExp2,\n\t\t\t\tflatShading: !!material.flatShading,\n\t\t\t\tsizeAttenuation: material.sizeAttenuation,\n\t\t\t\tlogarithmicDepthBuffer: logarithmicDepthBuffer,\n\t\t\t\tskinning: object.isSkinnedMesh === true,\n\t\t\t\tmorphTargets: geometry.morphAttributes.position !== undefined,\n\t\t\t\tmorphNormals: geometry.morphAttributes.normal !== undefined,\n\t\t\t\tmorphColors: geometry.morphAttributes.color !== undefined,\n\t\t\t\tmorphTargetsCount: morphTargetsCount,\n\t\t\t\tmorphTextureStride: morphTextureStride,\n\t\t\t\tnumDirLights: lights.directional.length,\n\t\t\t\tnumPointLights: lights.point.length,\n\t\t\t\tnumSpotLights: lights.spot.length,\n\t\t\t\tnumRectAreaLights: lights.rectArea.length,\n\t\t\t\tnumHemiLights: lights.hemi.length,\n\t\t\t\tnumDirLightShadows: lights.directionalShadowMap.length,\n\t\t\t\tnumPointLightShadows: lights.pointShadowMap.length,\n\t\t\t\tnumSpotLightShadows: lights.spotShadowMap.length,\n\t\t\t\tnumClippingPlanes: clipping.numPlanes,\n\t\t\t\tnumClipIntersection: clipping.numIntersection,\n\t\t\t\tdithering: material.dithering,\n\t\t\t\tshadowMapEnabled: renderer.shadowMap.enabled && shadows.length > 0,\n\t\t\t\tshadowMapType: renderer.shadowMap.type,\n\t\t\t\ttoneMapping: material.toneMapped ? renderer.toneMapping : NoToneMapping,\n\t\t\t\tphysicallyCorrectLights: renderer.physicallyCorrectLights,\n\t\t\t\tpremultipliedAlpha: material.premultipliedAlpha,\n\t\t\t\tdoubleSided: material.side === DoubleSide,\n\t\t\t\tflipSided: material.side === BackSide,\n\t\t\t\tuseDepthPacking: !!material.depthPacking,\n\t\t\t\tdepthPacking: material.depthPacking || 0,\n\t\t\t\tindex0AttributeName: material.index0AttributeName,\n\t\t\t\textensionDerivatives: material.extensions && material.extensions.derivatives,\n\t\t\t\textensionFragDepth: material.extensions && material.extensions.fragDepth,\n\t\t\t\textensionDrawBuffers: material.extensions && material.extensions.drawBuffers,\n\t\t\t\textensionShaderTextureLOD: material.extensions && material.extensions.shaderTextureLOD,\n\t\t\t\trendererExtensionFragDepth: isWebGL2 || extensions.has('EXT_frag_depth'),\n\t\t\t\trendererExtensionDrawBuffers: isWebGL2 || extensions.has('WEBGL_draw_buffers'),\n\t\t\t\trendererExtensionShaderTextureLod: isWebGL2 || extensions.has('EXT_shader_texture_lod'),\n\t\t\t\tcustomProgramCacheKey: material.customProgramCacheKey()\n\t\t\t};\n\t\t\treturn parameters;\n\t\t}\n\n\t\tfunction getProgramCacheKey(parameters) {\n\t\t\tconst array = [];\n\n\t\t\tif (parameters.shaderID) {\n\t\t\t\tarray.push(parameters.shaderID);\n\t\t\t} else {\n\t\t\t\tarray.push(parameters.customVertexShaderID);\n\t\t\t\tarray.push(parameters.customFragmentShaderID);\n\t\t\t}\n\n\t\t\tif (parameters.defines !== undefined) {\n\t\t\t\tfor (const name in parameters.defines) {\n\t\t\t\t\tarray.push(name);\n\t\t\t\t\tarray.push(parameters.defines[name]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (parameters.isRawShaderMaterial === false) {\n\t\t\t\tgetProgramCacheKeyParameters(array, parameters);\n\t\t\t\tgetProgramCacheKeyBooleans(array, parameters);\n\t\t\t\tarray.push(renderer.outputEncoding);\n\t\t\t}\n\n\t\t\tarray.push(parameters.customProgramCacheKey);\n\t\t\treturn array.join();\n\t\t}\n\n\t\tfunction getProgramCacheKeyParameters(array, parameters) {\n\t\t\tarray.push(parameters.precision);\n\t\t\tarray.push(parameters.outputEncoding);\n\t\t\tarray.push(parameters.envMapMode);\n\t\t\tarray.push(parameters.envMapCubeUVHeight);\n\t\t\tarray.push(parameters.combine);\n\t\t\tarray.push(parameters.vertexUvs);\n\t\t\tarray.push(parameters.fogExp2);\n\t\t\tarray.push(parameters.sizeAttenuation);\n\t\t\tarray.push(parameters.morphTargetsCount);\n\t\t\tarray.push(parameters.morphAttributeCount);\n\t\t\tarray.push(parameters.numDirLights);\n\t\t\tarray.push(parameters.numPointLights);\n\t\t\tarray.push(parameters.numSpotLights);\n\t\t\tarray.push(parameters.numHemiLights);\n\t\t\tarray.push(parameters.numRectAreaLights);\n\t\t\tarray.push(parameters.numDirLightShadows);\n\t\t\tarray.push(parameters.numPointLightShadows);\n\t\t\tarray.push(parameters.numSpotLightShadows);\n\t\t\tarray.push(parameters.shadowMapType);\n\t\t\tarray.push(parameters.toneMapping);\n\t\t\tarray.push(parameters.numClippingPlanes);\n\t\t\tarray.push(parameters.numClipIntersection);\n\t\t\tarray.push(parameters.depthPacking);\n\t\t}\n\n\t\tfunction getProgramCacheKeyBooleans(array, parameters) {\n\t\t\t_programLayers.disableAll();\n\n\t\t\tif (parameters.isWebGL2) _programLayers.enable(0);\n\t\t\tif (parameters.supportsVertexTextures) _programLayers.enable(1);\n\t\t\tif (parameters.instancing) _programLayers.enable(2);\n\t\t\tif (parameters.instancingColor) _programLayers.enable(3);\n\t\t\tif (parameters.map) _programLayers.enable(4);\n\t\t\tif (parameters.matcap) _programLayers.enable(5);\n\t\t\tif (parameters.envMap) _programLayers.enable(6);\n\t\t\tif (parameters.lightMap) _programLayers.enable(7);\n\t\t\tif (parameters.aoMap) _programLayers.enable(8);\n\t\t\tif (parameters.emissiveMap) _programLayers.enable(9);\n\t\t\tif (parameters.bumpMap) _programLayers.enable(10);\n\t\t\tif (parameters.normalMap) _programLayers.enable(11);\n\t\t\tif (parameters.objectSpaceNormalMap) _programLayers.enable(12);\n\t\t\tif (parameters.tangentSpaceNormalMap) _programLayers.enable(13);\n\t\t\tif (parameters.clearcoat) _programLayers.enable(14);\n\t\t\tif (parameters.clearcoatMap) _programLayers.enable(15);\n\t\t\tif (parameters.clearcoatRoughnessMap) _programLayers.enable(16);\n\t\t\tif (parameters.clearcoatNormalMap) _programLayers.enable(17);\n\t\t\tif (parameters.iridescence) _programLayers.enable(18);\n\t\t\tif (parameters.iridescenceMap) _programLayers.enable(19);\n\t\t\tif (parameters.iridescenceThicknessMap) _programLayers.enable(20);\n\t\t\tif (parameters.displacementMap) _programLayers.enable(21);\n\t\t\tif (parameters.specularMap) _programLayers.enable(22);\n\t\t\tif (parameters.roughnessMap) _programLayers.enable(23);\n\t\t\tif (parameters.metalnessMap) _programLayers.enable(24);\n\t\t\tif (parameters.gradientMap) _programLayers.enable(25);\n\t\t\tif (parameters.alphaMap) _programLayers.enable(26);\n\t\t\tif (parameters.alphaTest) _programLayers.enable(27);\n\t\t\tif (parameters.vertexColors) _programLayers.enable(28);\n\t\t\tif (parameters.vertexAlphas) _programLayers.enable(29);\n\t\t\tif (parameters.vertexUvs) _programLayers.enable(30);\n\t\t\tif (parameters.vertexTangents) _programLayers.enable(31);\n\t\t\tif (parameters.uvsVertexOnly) _programLayers.enable(32);\n\t\t\tif (parameters.fog) _programLayers.enable(33);\n\t\t\tarray.push(_programLayers.mask);\n\n\t\t\t_programLayers.disableAll();\n\n\t\t\tif (parameters.useFog) _programLayers.enable(0);\n\t\t\tif (parameters.flatShading) _programLayers.enable(1);\n\t\t\tif (parameters.logarithmicDepthBuffer) _programLayers.enable(2);\n\t\t\tif (parameters.skinning) _programLayers.enable(3);\n\t\t\tif (parameters.morphTargets) _programLayers.enable(4);\n\t\t\tif (parameters.morphNormals) _programLayers.enable(5);\n\t\t\tif (parameters.morphColors) _programLayers.enable(6);\n\t\t\tif (parameters.premultipliedAlpha) _programLayers.enable(7);\n\t\t\tif (parameters.shadowMapEnabled) _programLayers.enable(8);\n\t\t\tif (parameters.physicallyCorrectLights) _programLayers.enable(9);\n\t\t\tif (parameters.doubleSided) _programLayers.enable(10);\n\t\t\tif (parameters.flipSided) _programLayers.enable(11);\n\t\t\tif (parameters.useDepthPacking) _programLayers.enable(12);\n\t\t\tif (parameters.dithering) _programLayers.enable(13);\n\t\t\tif (parameters.specularIntensityMap) _programLayers.enable(14);\n\t\t\tif (parameters.specularColorMap) _programLayers.enable(15);\n\t\t\tif (parameters.transmission) _programLayers.enable(16);\n\t\t\tif (parameters.transmissionMap) _programLayers.enable(17);\n\t\t\tif (parameters.thicknessMap) _programLayers.enable(18);\n\t\t\tif (parameters.sheen) _programLayers.enable(19);\n\t\t\tif (parameters.sheenColorMap) _programLayers.enable(20);\n\t\t\tif (parameters.sheenRoughnessMap) _programLayers.enable(21);\n\t\t\tif (parameters.decodeVideoTexture) _programLayers.enable(22);\n\t\t\tif (parameters.opaque) _programLayers.enable(23);\n\t\t\tarray.push(_programLayers.mask);\n\t\t}\n\n\t\tfunction getUniforms(material) {\n\t\t\tconst shaderID = shaderIDs[material.type];\n\t\t\tlet uniforms;\n\n\t\t\tif (shaderID) {\n\t\t\t\tconst shader = ShaderLib[shaderID];\n\t\t\t\tuniforms = UniformsUtils.clone(shader.uniforms);\n\t\t\t} else {\n\t\t\t\tuniforms = material.uniforms;\n\t\t\t}\n\n\t\t\treturn uniforms;\n\t\t}\n\n\t\tfunction acquireProgram(parameters, cacheKey) {\n\t\t\tlet program; // Check if code has been already compiled\n\n\t\t\tfor (let p = 0, pl = programs.length; p < pl; p++) {\n\t\t\t\tconst preexistingProgram = programs[p];\n\n\t\t\t\tif (preexistingProgram.cacheKey === cacheKey) {\n\t\t\t\t\tprogram = preexistingProgram;\n\t\t\t\t\t++program.usedTimes;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (program === undefined) {\n\t\t\t\tprogram = new WebGLProgram(renderer, cacheKey, parameters, bindingStates);\n\t\t\t\tprograms.push(program);\n\t\t\t}\n\n\t\t\treturn program;\n\t\t}\n\n\t\tfunction releaseProgram(program) {\n\t\t\tif (--program.usedTimes === 0) {\n\t\t\t\t// Remove from unordered set\n\t\t\t\tconst i = programs.indexOf(program);\n\t\t\t\tprograms[i] = programs[programs.length - 1];\n\t\t\t\tprograms.pop(); // Free WebGL resources\n\n\t\t\t\tprogram.destroy();\n\t\t\t}\n\t\t}\n\n\t\tfunction releaseShaderCache(material) {\n\t\t\t_customShaders.remove(material);\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\t_customShaders.dispose();\n\t\t}\n\n\t\treturn {\n\t\t\tgetParameters: getParameters,\n\t\t\tgetProgramCacheKey: getProgramCacheKey,\n\t\t\tgetUniforms: getUniforms,\n\t\t\tacquireProgram: acquireProgram,\n\t\t\treleaseProgram: releaseProgram,\n\t\t\treleaseShaderCache: releaseShaderCache,\n\t\t\t// Exposed for resource monitoring & error feedback via renderer.info:\n\t\t\tprograms: programs,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tfunction WebGLProperties() {\n\t\tlet properties = new WeakMap();\n\n\t\tfunction get(object) {\n\t\t\tlet map = properties.get(object);\n\n\t\t\tif (map === undefined) {\n\t\t\t\tmap = {};\n\t\t\t\tproperties.set(object, map);\n\t\t\t}\n\n\t\t\treturn map;\n\t\t}\n\n\t\tfunction remove(object) {\n\t\t\tproperties.delete(object);\n\t\t}\n\n\t\tfunction update(object, key, value) {\n\t\t\tproperties.get(object)[key] = value;\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\tproperties = new WeakMap();\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tremove: remove,\n\t\t\tupdate: update,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tfunction painterSortStable(a, b) {\n\t\tif (a.groupOrder !== b.groupOrder) {\n\t\t\treturn a.groupOrder - b.groupOrder;\n\t\t} else if (a.renderOrder !== b.renderOrder) {\n\t\t\treturn a.renderOrder - b.renderOrder;\n\t\t} else if (a.material.id !== b.material.id) {\n\t\t\treturn a.material.id - b.material.id;\n\t\t} else if (a.z !== b.z) {\n\t\t\treturn a.z - b.z;\n\t\t} else {\n\t\t\treturn a.id - b.id;\n\t\t}\n\t}\n\n\tfunction reversePainterSortStable(a, b) {\n\t\tif (a.groupOrder !== b.groupOrder) {\n\t\t\treturn a.groupOrder - b.groupOrder;\n\t\t} else if (a.renderOrder !== b.renderOrder) {\n\t\t\treturn a.renderOrder - b.renderOrder;\n\t\t} else if (a.z !== b.z) {\n\t\t\treturn b.z - a.z;\n\t\t} else {\n\t\t\treturn a.id - b.id;\n\t\t}\n\t}\n\n\tfunction WebGLRenderList() {\n\t\tconst renderItems = [];\n\t\tlet renderItemsIndex = 0;\n\t\tconst opaque = [];\n\t\tconst transmissive = [];\n\t\tconst transparent = [];\n\n\t\tfunction init() {\n\t\t\trenderItemsIndex = 0;\n\t\t\topaque.length = 0;\n\t\t\ttransmissive.length = 0;\n\t\t\ttransparent.length = 0;\n\t\t}\n\n\t\tfunction getNextRenderItem(object, geometry, material, groupOrder, z, group) {\n\t\t\tlet renderItem = renderItems[renderItemsIndex];\n\n\t\t\tif (renderItem === undefined) {\n\t\t\t\trenderItem = {\n\t\t\t\t\tid: object.id,\n\t\t\t\t\tobject: object,\n\t\t\t\t\tgeometry: geometry,\n\t\t\t\t\tmaterial: material,\n\t\t\t\t\tgroupOrder: groupOrder,\n\t\t\t\t\trenderOrder: object.renderOrder,\n\t\t\t\t\tz: z,\n\t\t\t\t\tgroup: group\n\t\t\t\t};\n\t\t\t\trenderItems[renderItemsIndex] = renderItem;\n\t\t\t} else {\n\t\t\t\trenderItem.id = object.id;\n\t\t\t\trenderItem.object = object;\n\t\t\t\trenderItem.geometry = geometry;\n\t\t\t\trenderItem.material = material;\n\t\t\t\trenderItem.groupOrder = groupOrder;\n\t\t\t\trenderItem.renderOrder = object.renderOrder;\n\t\t\t\trenderItem.z = z;\n\t\t\t\trenderItem.group = group;\n\t\t\t}\n\n\t\t\trenderItemsIndex++;\n\t\t\treturn renderItem;\n\t\t}\n\n\t\tfunction push(object, geometry, material, groupOrder, z, group) {\n\t\t\tconst renderItem = getNextRenderItem(object, geometry, material, groupOrder, z, group);\n\n\t\t\tif (material.transmission > 0.0) {\n\t\t\t\ttransmissive.push(renderItem);\n\t\t\t} else if (material.transparent === true) {\n\t\t\t\ttransparent.push(renderItem);\n\t\t\t} else {\n\t\t\t\topaque.push(renderItem);\n\t\t\t}\n\t\t}\n\n\t\tfunction unshift(object, geometry, material, groupOrder, z, group) {\n\t\t\tconst renderItem = getNextRenderItem(object, geometry, material, groupOrder, z, group);\n\n\t\t\tif (material.transmission > 0.0) {\n\t\t\t\ttransmissive.unshift(renderItem);\n\t\t\t} else if (material.transparent === true) {\n\t\t\t\ttransparent.unshift(renderItem);\n\t\t\t} else {\n\t\t\t\topaque.unshift(renderItem);\n\t\t\t}\n\t\t}\n\n\t\tfunction sort(customOpaqueSort, customTransparentSort) {\n\t\t\tif (opaque.length > 1) opaque.sort(customOpaqueSort || painterSortStable);\n\t\t\tif (transmissive.length > 1) transmissive.sort(customTransparentSort || reversePainterSortStable);\n\t\t\tif (transparent.length > 1) transparent.sort(customTransparentSort || reversePainterSortStable);\n\t\t}\n\n\t\tfunction finish() {\n\t\t\t// Clear references from inactive renderItems in the list\n\t\t\tfor (let i = renderItemsIndex, il = renderItems.length; i < il; i++) {\n\t\t\t\tconst renderItem = renderItems[i];\n\t\t\t\tif (renderItem.id === null) break;\n\t\t\t\trenderItem.id = null;\n\t\t\t\trenderItem.object = null;\n\t\t\t\trenderItem.geometry = null;\n\t\t\t\trenderItem.material = null;\n\t\t\t\trenderItem.group = null;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\topaque: opaque,\n\t\t\ttransmissive: transmissive,\n\t\t\ttransparent: transparent,\n\t\t\tinit: init,\n\t\t\tpush: push,\n\t\t\tunshift: unshift,\n\t\t\tfinish: finish,\n\t\t\tsort: sort\n\t\t};\n\t}\n\n\tfunction WebGLRenderLists() {\n\t\tlet lists = new WeakMap();\n\n\t\tfunction get(scene, renderCallDepth) {\n\t\t\tlet list;\n\n\t\t\tif (lists.has(scene) === false) {\n\t\t\t\tlist = new WebGLRenderList();\n\t\t\t\tlists.set(scene, [list]);\n\t\t\t} else {\n\t\t\t\tif (renderCallDepth >= lists.get(scene).length) {\n\t\t\t\t\tlist = new WebGLRenderList();\n\t\t\t\t\tlists.get(scene).push(list);\n\t\t\t\t} else {\n\t\t\t\t\tlist = lists.get(scene)[renderCallDepth];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn list;\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\tlists = new WeakMap();\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tfunction UniformsCache() {\n\t\tconst lights = {};\n\t\treturn {\n\t\t\tget: function (light) {\n\t\t\t\tif (lights[light.id] !== undefined) {\n\t\t\t\t\treturn lights[light.id];\n\t\t\t\t}\n\n\t\t\t\tlet uniforms;\n\n\t\t\t\tswitch (light.type) {\n\t\t\t\t\tcase 'DirectionalLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tdirection: new Vector3(),\n\t\t\t\t\t\t\tcolor: new Color()\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'SpotLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tposition: new Vector3(),\n\t\t\t\t\t\t\tdirection: new Vector3(),\n\t\t\t\t\t\t\tcolor: new Color(),\n\t\t\t\t\t\t\tdistance: 0,\n\t\t\t\t\t\t\tconeCos: 0,\n\t\t\t\t\t\t\tpenumbraCos: 0,\n\t\t\t\t\t\t\tdecay: 0\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'PointLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tposition: new Vector3(),\n\t\t\t\t\t\t\tcolor: new Color(),\n\t\t\t\t\t\t\tdistance: 0,\n\t\t\t\t\t\t\tdecay: 0\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'HemisphereLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tdirection: new Vector3(),\n\t\t\t\t\t\t\tskyColor: new Color(),\n\t\t\t\t\t\t\tgroundColor: new Color()\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'RectAreaLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tcolor: new Color(),\n\t\t\t\t\t\t\tposition: new Vector3(),\n\t\t\t\t\t\t\thalfWidth: new Vector3(),\n\t\t\t\t\t\t\thalfHeight: new Vector3()\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tlights[light.id] = uniforms;\n\t\t\t\treturn uniforms;\n\t\t\t}\n\t\t};\n\t}\n\n\tfunction ShadowUniformsCache() {\n\t\tconst lights = {};\n\t\treturn {\n\t\t\tget: function (light) {\n\t\t\t\tif (lights[light.id] !== undefined) {\n\t\t\t\t\treturn lights[light.id];\n\t\t\t\t}\n\n\t\t\t\tlet uniforms;\n\n\t\t\t\tswitch (light.type) {\n\t\t\t\t\tcase 'DirectionalLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tshadowBias: 0,\n\t\t\t\t\t\t\tshadowNormalBias: 0,\n\t\t\t\t\t\t\tshadowRadius: 1,\n\t\t\t\t\t\t\tshadowMapSize: new Vector2()\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'SpotLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tshadowBias: 0,\n\t\t\t\t\t\t\tshadowNormalBias: 0,\n\t\t\t\t\t\t\tshadowRadius: 1,\n\t\t\t\t\t\t\tshadowMapSize: new Vector2()\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'PointLight':\n\t\t\t\t\t\tuniforms = {\n\t\t\t\t\t\t\tshadowBias: 0,\n\t\t\t\t\t\t\tshadowNormalBias: 0,\n\t\t\t\t\t\t\tshadowRadius: 1,\n\t\t\t\t\t\t\tshadowMapSize: new Vector2(),\n\t\t\t\t\t\t\tshadowCameraNear: 1,\n\t\t\t\t\t\t\tshadowCameraFar: 1000\n\t\t\t\t\t\t};\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t// TODO (abelnation): set RectAreaLight shadow uniforms\n\t\t\t\t}\n\n\t\t\t\tlights[light.id] = uniforms;\n\t\t\t\treturn uniforms;\n\t\t\t}\n\t\t};\n\t}\n\n\tlet nextVersion = 0;\n\n\tfunction shadowCastingLightsFirst(lightA, lightB) {\n\t\treturn (lightB.castShadow ? 1 : 0) - (lightA.castShadow ? 1 : 0);\n\t}\n\n\tfunction WebGLLights(extensions, capabilities) {\n\t\tconst cache = new UniformsCache();\n\t\tconst shadowCache = ShadowUniformsCache();\n\t\tconst state = {\n\t\t\tversion: 0,\n\t\t\thash: {\n\t\t\t\tdirectionalLength: -1,\n\t\t\t\tpointLength: -1,\n\t\t\t\tspotLength: -1,\n\t\t\t\trectAreaLength: -1,\n\t\t\t\themiLength: -1,\n\t\t\t\tnumDirectionalShadows: -1,\n\t\t\t\tnumPointShadows: -1,\n\t\t\t\tnumSpotShadows: -1\n\t\t\t},\n\t\t\tambient: [0, 0, 0],\n\t\t\tprobe: [],\n\t\t\tdirectional: [],\n\t\t\tdirectionalShadow: [],\n\t\t\tdirectionalShadowMap: [],\n\t\t\tdirectionalShadowMatrix: [],\n\t\t\tspot: [],\n\t\t\tspotShadow: [],\n\t\t\tspotShadowMap: [],\n\t\t\tspotShadowMatrix: [],\n\t\t\trectArea: [],\n\t\t\trectAreaLTC1: null,\n\t\t\trectAreaLTC2: null,\n\t\t\tpoint: [],\n\t\t\tpointShadow: [],\n\t\t\tpointShadowMap: [],\n\t\t\tpointShadowMatrix: [],\n\t\t\themi: []\n\t\t};\n\n\t\tfor (let i = 0; i < 9; i++) state.probe.push(new Vector3());\n\n\t\tconst vector3 = new Vector3();\n\t\tconst matrix4 = new Matrix4();\n\t\tconst matrix42 = new Matrix4();\n\n\t\tfunction setup(lights, physicallyCorrectLights) {\n\t\t\tlet r = 0,\n\t\t\t\t\tg = 0,\n\t\t\t\t\tb = 0;\n\n\t\t\tfor (let i = 0; i < 9; i++) state.probe[i].set(0, 0, 0);\n\n\t\t\tlet directionalLength = 0;\n\t\t\tlet pointLength = 0;\n\t\t\tlet spotLength = 0;\n\t\t\tlet rectAreaLength = 0;\n\t\t\tlet hemiLength = 0;\n\t\t\tlet numDirectionalShadows = 0;\n\t\t\tlet numPointShadows = 0;\n\t\t\tlet numSpotShadows = 0;\n\t\t\tlights.sort(shadowCastingLightsFirst); // artist-friendly light intensity scaling factor\n\n\t\t\tconst scaleFactor = physicallyCorrectLights !== true ? Math.PI : 1;\n\n\t\t\tfor (let i = 0, l = lights.length; i < l; i++) {\n\t\t\t\tconst light = lights[i];\n\t\t\t\tconst color = light.color;\n\t\t\t\tconst intensity = light.intensity;\n\t\t\t\tconst distance = light.distance;\n\t\t\t\tconst shadowMap = light.shadow && light.shadow.map ? light.shadow.map.texture : null;\n\n\t\t\t\tif (light.isAmbientLight) {\n\t\t\t\t\tr += color.r * intensity * scaleFactor;\n\t\t\t\t\tg += color.g * intensity * scaleFactor;\n\t\t\t\t\tb += color.b * intensity * scaleFactor;\n\t\t\t\t} else if (light.isLightProbe) {\n\t\t\t\t\tfor (let j = 0; j < 9; j++) {\n\t\t\t\t\t\tstate.probe[j].addScaledVector(light.sh.coefficients[j], intensity);\n\t\t\t\t\t}\n\t\t\t\t} else if (light.isDirectionalLight) {\n\t\t\t\t\tconst uniforms = cache.get(light);\n\t\t\t\t\tuniforms.color.copy(light.color).multiplyScalar(light.intensity * scaleFactor);\n\n\t\t\t\t\tif (light.castShadow) {\n\t\t\t\t\t\tconst shadow = light.shadow;\n\t\t\t\t\t\tconst shadowUniforms = shadowCache.get(light);\n\t\t\t\t\t\tshadowUniforms.shadowBias = shadow.bias;\n\t\t\t\t\t\tshadowUniforms.shadowNormalBias = shadow.normalBias;\n\t\t\t\t\t\tshadowUniforms.shadowRadius = shadow.radius;\n\t\t\t\t\t\tshadowUniforms.shadowMapSize = shadow.mapSize;\n\t\t\t\t\t\tstate.directionalShadow[directionalLength] = shadowUniforms;\n\t\t\t\t\t\tstate.directionalShadowMap[directionalLength] = shadowMap;\n\t\t\t\t\t\tstate.directionalShadowMatrix[directionalLength] = light.shadow.matrix;\n\t\t\t\t\t\tnumDirectionalShadows++;\n\t\t\t\t\t}\n\n\t\t\t\t\tstate.directional[directionalLength] = uniforms;\n\t\t\t\t\tdirectionalLength++;\n\t\t\t\t} else if (light.isSpotLight) {\n\t\t\t\t\tconst uniforms = cache.get(light);\n\t\t\t\t\tuniforms.position.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tuniforms.color.copy(color).multiplyScalar(intensity * scaleFactor);\n\t\t\t\t\tuniforms.distance = distance;\n\t\t\t\t\tuniforms.coneCos = Math.cos(light.angle);\n\t\t\t\t\tuniforms.penumbraCos = Math.cos(light.angle * (1 - light.penumbra));\n\t\t\t\t\tuniforms.decay = light.decay;\n\n\t\t\t\t\tif (light.castShadow) {\n\t\t\t\t\t\tconst shadow = light.shadow;\n\t\t\t\t\t\tconst shadowUniforms = shadowCache.get(light);\n\t\t\t\t\t\tshadowUniforms.shadowBias = shadow.bias;\n\t\t\t\t\t\tshadowUniforms.shadowNormalBias = shadow.normalBias;\n\t\t\t\t\t\tshadowUniforms.shadowRadius = shadow.radius;\n\t\t\t\t\t\tshadowUniforms.shadowMapSize = shadow.mapSize;\n\t\t\t\t\t\tstate.spotShadow[spotLength] = shadowUniforms;\n\t\t\t\t\t\tstate.spotShadowMap[spotLength] = shadowMap;\n\t\t\t\t\t\tstate.spotShadowMatrix[spotLength] = light.shadow.matrix;\n\t\t\t\t\t\tnumSpotShadows++;\n\t\t\t\t\t}\n\n\t\t\t\t\tstate.spot[spotLength] = uniforms;\n\t\t\t\t\tspotLength++;\n\t\t\t\t} else if (light.isRectAreaLight) {\n\t\t\t\t\tconst uniforms = cache.get(light); // (a) intensity is the total visible light emitted\n\t\t\t\t\t//uniforms.color.copy( color ).multiplyScalar( intensity / ( light.width * light.height * Math.PI ) );\n\t\t\t\t\t// (b) intensity is the brightness of the light\n\n\t\t\t\t\tuniforms.color.copy(color).multiplyScalar(intensity);\n\t\t\t\t\tuniforms.halfWidth.set(light.width * 0.5, 0.0, 0.0);\n\t\t\t\t\tuniforms.halfHeight.set(0.0, light.height * 0.5, 0.0);\n\t\t\t\t\tstate.rectArea[rectAreaLength] = uniforms;\n\t\t\t\t\trectAreaLength++;\n\t\t\t\t} else if (light.isPointLight) {\n\t\t\t\t\tconst uniforms = cache.get(light);\n\t\t\t\t\tuniforms.color.copy(light.color).multiplyScalar(light.intensity * scaleFactor);\n\t\t\t\t\tuniforms.distance = light.distance;\n\t\t\t\t\tuniforms.decay = light.decay;\n\n\t\t\t\t\tif (light.castShadow) {\n\t\t\t\t\t\tconst shadow = light.shadow;\n\t\t\t\t\t\tconst shadowUniforms = shadowCache.get(light);\n\t\t\t\t\t\tshadowUniforms.shadowBias = shadow.bias;\n\t\t\t\t\t\tshadowUniforms.shadowNormalBias = shadow.normalBias;\n\t\t\t\t\t\tshadowUniforms.shadowRadius = shadow.radius;\n\t\t\t\t\t\tshadowUniforms.shadowMapSize = shadow.mapSize;\n\t\t\t\t\t\tshadowUniforms.shadowCameraNear = shadow.camera.near;\n\t\t\t\t\t\tshadowUniforms.shadowCameraFar = shadow.camera.far;\n\t\t\t\t\t\tstate.pointShadow[pointLength] = shadowUniforms;\n\t\t\t\t\t\tstate.pointShadowMap[pointLength] = shadowMap;\n\t\t\t\t\t\tstate.pointShadowMatrix[pointLength] = light.shadow.matrix;\n\t\t\t\t\t\tnumPointShadows++;\n\t\t\t\t\t}\n\n\t\t\t\t\tstate.point[pointLength] = uniforms;\n\t\t\t\t\tpointLength++;\n\t\t\t\t} else if (light.isHemisphereLight) {\n\t\t\t\t\tconst uniforms = cache.get(light);\n\t\t\t\t\tuniforms.skyColor.copy(light.color).multiplyScalar(intensity * scaleFactor);\n\t\t\t\t\tuniforms.groundColor.copy(light.groundColor).multiplyScalar(intensity * scaleFactor);\n\t\t\t\t\tstate.hemi[hemiLength] = uniforms;\n\t\t\t\t\themiLength++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (rectAreaLength > 0) {\n\t\t\t\tif (capabilities.isWebGL2) {\n\t\t\t\t\t// WebGL 2\n\t\t\t\t\tstate.rectAreaLTC1 = UniformsLib.LTC_FLOAT_1;\n\t\t\t\t\tstate.rectAreaLTC2 = UniformsLib.LTC_FLOAT_2;\n\t\t\t\t} else {\n\t\t\t\t\t// WebGL 1\n\t\t\t\t\tif (extensions.has('OES_texture_float_linear') === true) {\n\t\t\t\t\t\tstate.rectAreaLTC1 = UniformsLib.LTC_FLOAT_1;\n\t\t\t\t\t\tstate.rectAreaLTC2 = UniformsLib.LTC_FLOAT_2;\n\t\t\t\t\t} else if (extensions.has('OES_texture_half_float_linear') === true) {\n\t\t\t\t\t\tstate.rectAreaLTC1 = UniformsLib.LTC_HALF_1;\n\t\t\t\t\t\tstate.rectAreaLTC2 = UniformsLib.LTC_HALF_2;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('THREE.WebGLRenderer: Unable to use RectAreaLight. Missing WebGL extensions.');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstate.ambient[0] = r;\n\t\t\tstate.ambient[1] = g;\n\t\t\tstate.ambient[2] = b;\n\t\t\tconst hash = state.hash;\n\n\t\t\tif (hash.directionalLength !== directionalLength || hash.pointLength !== pointLength || hash.spotLength !== spotLength || hash.rectAreaLength !== rectAreaLength || hash.hemiLength !== hemiLength || hash.numDirectionalShadows !== numDirectionalShadows || hash.numPointShadows !== numPointShadows || hash.numSpotShadows !== numSpotShadows) {\n\t\t\t\tstate.directional.length = directionalLength;\n\t\t\t\tstate.spot.length = spotLength;\n\t\t\t\tstate.rectArea.length = rectAreaLength;\n\t\t\t\tstate.point.length = pointLength;\n\t\t\t\tstate.hemi.length = hemiLength;\n\t\t\t\tstate.directionalShadow.length = numDirectionalShadows;\n\t\t\t\tstate.directionalShadowMap.length = numDirectionalShadows;\n\t\t\t\tstate.pointShadow.length = numPointShadows;\n\t\t\t\tstate.pointShadowMap.length = numPointShadows;\n\t\t\t\tstate.spotShadow.length = numSpotShadows;\n\t\t\t\tstate.spotShadowMap.length = numSpotShadows;\n\t\t\t\tstate.directionalShadowMatrix.length = numDirectionalShadows;\n\t\t\t\tstate.pointShadowMatrix.length = numPointShadows;\n\t\t\t\tstate.spotShadowMatrix.length = numSpotShadows;\n\t\t\t\thash.directionalLength = directionalLength;\n\t\t\t\thash.pointLength = pointLength;\n\t\t\t\thash.spotLength = spotLength;\n\t\t\t\thash.rectAreaLength = rectAreaLength;\n\t\t\t\thash.hemiLength = hemiLength;\n\t\t\t\thash.numDirectionalShadows = numDirectionalShadows;\n\t\t\t\thash.numPointShadows = numPointShadows;\n\t\t\t\thash.numSpotShadows = numSpotShadows;\n\t\t\t\tstate.version = nextVersion++;\n\t\t\t}\n\t\t}\n\n\t\tfunction setupView(lights, camera) {\n\t\t\tlet directionalLength = 0;\n\t\t\tlet pointLength = 0;\n\t\t\tlet spotLength = 0;\n\t\t\tlet rectAreaLength = 0;\n\t\t\tlet hemiLength = 0;\n\t\t\tconst viewMatrix = camera.matrixWorldInverse;\n\n\t\t\tfor (let i = 0, l = lights.length; i < l; i++) {\n\t\t\t\tconst light = lights[i];\n\n\t\t\t\tif (light.isDirectionalLight) {\n\t\t\t\t\tconst uniforms = state.directional[directionalLength];\n\t\t\t\t\tuniforms.direction.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tvector3.setFromMatrixPosition(light.target.matrixWorld);\n\t\t\t\t\tuniforms.direction.sub(vector3);\n\t\t\t\t\tuniforms.direction.transformDirection(viewMatrix);\n\t\t\t\t\tdirectionalLength++;\n\t\t\t\t} else if (light.isSpotLight) {\n\t\t\t\t\tconst uniforms = state.spot[spotLength];\n\t\t\t\t\tuniforms.position.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tuniforms.position.applyMatrix4(viewMatrix);\n\t\t\t\t\tuniforms.direction.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tvector3.setFromMatrixPosition(light.target.matrixWorld);\n\t\t\t\t\tuniforms.direction.sub(vector3);\n\t\t\t\t\tuniforms.direction.transformDirection(viewMatrix);\n\t\t\t\t\tspotLength++;\n\t\t\t\t} else if (light.isRectAreaLight) {\n\t\t\t\t\tconst uniforms = state.rectArea[rectAreaLength];\n\t\t\t\t\tuniforms.position.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tuniforms.position.applyMatrix4(viewMatrix); // extract local rotation of light to derive width/height half vectors\n\n\t\t\t\t\tmatrix42.identity();\n\t\t\t\t\tmatrix4.copy(light.matrixWorld);\n\t\t\t\t\tmatrix4.premultiply(viewMatrix);\n\t\t\t\t\tmatrix42.extractRotation(matrix4);\n\t\t\t\t\tuniforms.halfWidth.set(light.width * 0.5, 0.0, 0.0);\n\t\t\t\t\tuniforms.halfHeight.set(0.0, light.height * 0.5, 0.0);\n\t\t\t\t\tuniforms.halfWidth.applyMatrix4(matrix42);\n\t\t\t\t\tuniforms.halfHeight.applyMatrix4(matrix42);\n\t\t\t\t\trectAreaLength++;\n\t\t\t\t} else if (light.isPointLight) {\n\t\t\t\t\tconst uniforms = state.point[pointLength];\n\t\t\t\t\tuniforms.position.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tuniforms.position.applyMatrix4(viewMatrix);\n\t\t\t\t\tpointLength++;\n\t\t\t\t} else if (light.isHemisphereLight) {\n\t\t\t\t\tconst uniforms = state.hemi[hemiLength];\n\t\t\t\t\tuniforms.direction.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\t\tuniforms.direction.transformDirection(viewMatrix);\n\t\t\t\t\themiLength++;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tsetup: setup,\n\t\t\tsetupView: setupView,\n\t\t\tstate: state\n\t\t};\n\t}\n\n\tfunction WebGLRenderState(extensions, capabilities) {\n\t\tconst lights = new WebGLLights(extensions, capabilities);\n\t\tconst lightsArray = [];\n\t\tconst shadowsArray = [];\n\n\t\tfunction init() {\n\t\t\tlightsArray.length = 0;\n\t\t\tshadowsArray.length = 0;\n\t\t}\n\n\t\tfunction pushLight(light) {\n\t\t\tlightsArray.push(light);\n\t\t}\n\n\t\tfunction pushShadow(shadowLight) {\n\t\t\tshadowsArray.push(shadowLight);\n\t\t}\n\n\t\tfunction setupLights(physicallyCorrectLights) {\n\t\t\tlights.setup(lightsArray, physicallyCorrectLights);\n\t\t}\n\n\t\tfunction setupLightsView(camera) {\n\t\t\tlights.setupView(lightsArray, camera);\n\t\t}\n\n\t\tconst state = {\n\t\t\tlightsArray: lightsArray,\n\t\t\tshadowsArray: shadowsArray,\n\t\t\tlights: lights\n\t\t};\n\t\treturn {\n\t\t\tinit: init,\n\t\t\tstate: state,\n\t\t\tsetupLights: setupLights,\n\t\t\tsetupLightsView: setupLightsView,\n\t\t\tpushLight: pushLight,\n\t\t\tpushShadow: pushShadow\n\t\t};\n\t}\n\n\tfunction WebGLRenderStates(extensions, capabilities) {\n\t\tlet renderStates = new WeakMap();\n\n\t\tfunction get(scene, renderCallDepth = 0) {\n\t\t\tlet renderState;\n\n\t\t\tif (renderStates.has(scene) === false) {\n\t\t\t\trenderState = new WebGLRenderState(extensions, capabilities);\n\t\t\t\trenderStates.set(scene, [renderState]);\n\t\t\t} else {\n\t\t\t\tif (renderCallDepth >= renderStates.get(scene).length) {\n\t\t\t\t\trenderState = new WebGLRenderState(extensions, capabilities);\n\t\t\t\t\trenderStates.get(scene).push(renderState);\n\t\t\t\t} else {\n\t\t\t\t\trenderState = renderStates.get(scene)[renderCallDepth];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn renderState;\n\t\t}\n\n\t\tfunction dispose() {\n\t\t\trenderStates = new WeakMap();\n\t\t}\n\n\t\treturn {\n\t\t\tget: get,\n\t\t\tdispose: dispose\n\t\t};\n\t}\n\n\tclass MeshDepthMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshDepthMaterial = true;\n\t\t\tthis.type = 'MeshDepthMaterial';\n\t\t\tthis.depthPacking = BasicDepthPacking;\n\t\t\tthis.map = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.depthPacking = source.depthPacking;\n\t\t\tthis.map = source.map;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshDistanceMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshDistanceMaterial = true;\n\t\t\tthis.type = 'MeshDistanceMaterial';\n\t\t\tthis.referencePosition = new Vector3();\n\t\t\tthis.nearDistance = 1;\n\t\t\tthis.farDistance = 1000;\n\t\t\tthis.map = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.referencePosition.copy(source.referencePosition);\n\t\t\tthis.nearDistance = source.nearDistance;\n\t\t\tthis.farDistance = source.farDistance;\n\t\t\tthis.map = source.map;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst vertex = \"void main() {\\n\\tgl_Position = vec4( position, 1.0 );\\n}\";\n\tconst fragment = \"uniform sampler2D shadow_pass;\\nuniform vec2 resolution;\\nuniform float radius;\\n#include <packing>\\nvoid main() {\\n\\tconst float samples = float( VSM_SAMPLES );\\n\\tfloat mean = 0.0;\\n\\tfloat squared_mean = 0.0;\\n\\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\\n\\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\\n\\tfor ( float i = 0.0; i < samples; i ++ ) {\\n\\t\\tfloat uvOffset = uvStart + i * uvStride;\\n\\t\\t#ifdef HORIZONTAL_PASS\\n\\t\\t\\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\\n\\t\\t\\tmean += distribution.x;\\n\\t\\t\\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\\n\\t\\t#else\\n\\t\\t\\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\\n\\t\\t\\tmean += depth;\\n\\t\\t\\tsquared_mean += depth * depth;\\n\\t\\t#endif\\n\\t}\\n\\tmean = mean / samples;\\n\\tsquared_mean = squared_mean / samples;\\n\\tfloat std_dev = sqrt( squared_mean - mean * mean );\\n\\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\\n}\";\n\n\tfunction WebGLShadowMap(_renderer, _objects, _capabilities) {\n\t\tlet _frustum = new Frustum();\n\n\t\tconst _shadowMapSize = new Vector2(),\n\t\t\t\t\t_viewportSize = new Vector2(),\n\t\t\t\t\t_viewport = new Vector4(),\n\t\t\t\t\t_depthMaterial = new MeshDepthMaterial({\n\t\t\tdepthPacking: RGBADepthPacking\n\t\t}),\n\t\t\t\t\t_distanceMaterial = new MeshDistanceMaterial(),\n\t\t\t\t\t_materialCache = {},\n\t\t\t\t\t_maxTextureSize = _capabilities.maxTextureSize;\n\n\t\tconst shadowSide = {\n\t\t\t0: BackSide,\n\t\t\t1: FrontSide,\n\t\t\t2: DoubleSide\n\t\t};\n\t\tconst shadowMaterialVertical = new ShaderMaterial({\n\t\t\tdefines: {\n\t\t\t\tVSM_SAMPLES: 8\n\t\t\t},\n\t\t\tuniforms: {\n\t\t\t\tshadow_pass: {\n\t\t\t\t\tvalue: null\n\t\t\t\t},\n\t\t\t\tresolution: {\n\t\t\t\t\tvalue: new Vector2()\n\t\t\t\t},\n\t\t\t\tradius: {\n\t\t\t\t\tvalue: 4.0\n\t\t\t\t}\n\t\t\t},\n\t\t\tvertexShader: vertex,\n\t\t\tfragmentShader: fragment\n\t\t});\n\t\tconst shadowMaterialHorizontal = shadowMaterialVertical.clone();\n\t\tshadowMaterialHorizontal.defines.HORIZONTAL_PASS = 1;\n\t\tconst fullScreenTri = new BufferGeometry();\n\t\tfullScreenTri.setAttribute('position', new BufferAttribute(new Float32Array([-1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5]), 3));\n\t\tconst fullScreenMesh = new Mesh(fullScreenTri, shadowMaterialVertical);\n\t\tconst scope = this;\n\t\tthis.enabled = false;\n\t\tthis.autoUpdate = true;\n\t\tthis.needsUpdate = false;\n\t\tthis.type = PCFShadowMap;\n\n\t\tthis.render = function (lights, scene, camera) {\n\t\t\tif (scope.enabled === false) return;\n\t\t\tif (scope.autoUpdate === false && scope.needsUpdate === false) return;\n\t\t\tif (lights.length === 0) return;\n\n\t\t\tconst currentRenderTarget = _renderer.getRenderTarget();\n\n\t\t\tconst activeCubeFace = _renderer.getActiveCubeFace();\n\n\t\t\tconst activeMipmapLevel = _renderer.getActiveMipmapLevel();\n\n\t\t\tconst _state = _renderer.state; // Set GL state for depth map.\n\n\t\t\t_state.setBlending(NoBlending);\n\n\t\t\t_state.buffers.color.setClear(1, 1, 1, 1);\n\n\t\t\t_state.buffers.depth.setTest(true);\n\n\t\t\t_state.setScissorTest(false); // render depth map\n\n\n\t\t\tfor (let i = 0, il = lights.length; i < il; i++) {\n\t\t\t\tconst light = lights[i];\n\t\t\t\tconst shadow = light.shadow;\n\n\t\t\t\tif (shadow === undefined) {\n\t\t\t\t\tconsole.warn('THREE.WebGLShadowMap:', light, 'has no shadow.');\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tif (shadow.autoUpdate === false && shadow.needsUpdate === false) continue;\n\n\t\t\t\t_shadowMapSize.copy(shadow.mapSize);\n\n\t\t\t\tconst shadowFrameExtents = shadow.getFrameExtents();\n\n\t\t\t\t_shadowMapSize.multiply(shadowFrameExtents);\n\n\t\t\t\t_viewportSize.copy(shadow.mapSize);\n\n\t\t\t\tif (_shadowMapSize.x > _maxTextureSize || _shadowMapSize.y > _maxTextureSize) {\n\t\t\t\t\tif (_shadowMapSize.x > _maxTextureSize) {\n\t\t\t\t\t\t_viewportSize.x = Math.floor(_maxTextureSize / shadowFrameExtents.x);\n\t\t\t\t\t\t_shadowMapSize.x = _viewportSize.x * shadowFrameExtents.x;\n\t\t\t\t\t\tshadow.mapSize.x = _viewportSize.x;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (_shadowMapSize.y > _maxTextureSize) {\n\t\t\t\t\t\t_viewportSize.y = Math.floor(_maxTextureSize / shadowFrameExtents.y);\n\t\t\t\t\t\t_shadowMapSize.y = _viewportSize.y * shadowFrameExtents.y;\n\t\t\t\t\t\tshadow.mapSize.y = _viewportSize.y;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (shadow.map === null) {\n\t\t\t\t\tconst pars = this.type !== VSMShadowMap ? {\n\t\t\t\t\t\tminFilter: NearestFilter,\n\t\t\t\t\t\tmagFilter: NearestFilter\n\t\t\t\t\t} : {};\n\t\t\t\t\tshadow.map = new WebGLRenderTarget(_shadowMapSize.x, _shadowMapSize.y, pars);\n\t\t\t\t\tshadow.map.texture.name = light.name + '.shadowMap';\n\t\t\t\t\tshadow.camera.updateProjectionMatrix();\n\t\t\t\t}\n\n\t\t\t\t_renderer.setRenderTarget(shadow.map);\n\n\t\t\t\t_renderer.clear();\n\n\t\t\t\tconst viewportCount = shadow.getViewportCount();\n\n\t\t\t\tfor (let vp = 0; vp < viewportCount; vp++) {\n\t\t\t\t\tconst viewport = shadow.getViewport(vp);\n\n\t\t\t\t\t_viewport.set(_viewportSize.x * viewport.x, _viewportSize.y * viewport.y, _viewportSize.x * viewport.z, _viewportSize.y * viewport.w);\n\n\t\t\t\t\t_state.viewport(_viewport);\n\n\t\t\t\t\tshadow.updateMatrices(light, vp);\n\t\t\t\t\t_frustum = shadow.getFrustum();\n\t\t\t\t\trenderObject(scene, camera, shadow.camera, light, this.type);\n\t\t\t\t} // do blur pass for VSM\n\n\n\t\t\t\tif (shadow.isPointLightShadow !== true && this.type === VSMShadowMap) {\n\t\t\t\t\tVSMPass(shadow, camera);\n\t\t\t\t}\n\n\t\t\t\tshadow.needsUpdate = false;\n\t\t\t}\n\n\t\t\tscope.needsUpdate = false;\n\n\t\t\t_renderer.setRenderTarget(currentRenderTarget, activeCubeFace, activeMipmapLevel);\n\t\t};\n\n\t\tfunction VSMPass(shadow, camera) {\n\t\t\tconst geometry = _objects.update(fullScreenMesh);\n\n\t\t\tif (shadowMaterialVertical.defines.VSM_SAMPLES !== shadow.blurSamples) {\n\t\t\t\tshadowMaterialVertical.defines.VSM_SAMPLES = shadow.blurSamples;\n\t\t\t\tshadowMaterialHorizontal.defines.VSM_SAMPLES = shadow.blurSamples;\n\t\t\t\tshadowMaterialVertical.needsUpdate = true;\n\t\t\t\tshadowMaterialHorizontal.needsUpdate = true;\n\t\t\t}\n\n\t\t\tif (shadow.mapPass === null) {\n\t\t\t\tshadow.mapPass = new WebGLRenderTarget(_shadowMapSize.x, _shadowMapSize.y);\n\t\t\t} // vertical pass\n\n\n\t\t\tshadowMaterialVertical.uniforms.shadow_pass.value = shadow.map.texture;\n\t\t\tshadowMaterialVertical.uniforms.resolution.value = shadow.mapSize;\n\t\t\tshadowMaterialVertical.uniforms.radius.value = shadow.radius;\n\n\t\t\t_renderer.setRenderTarget(shadow.mapPass);\n\n\t\t\t_renderer.clear();\n\n\t\t\t_renderer.renderBufferDirect(camera, null, geometry, shadowMaterialVertical, fullScreenMesh, null); // horizontal pass\n\n\n\t\t\tshadowMaterialHorizontal.uniforms.shadow_pass.value = shadow.mapPass.texture;\n\t\t\tshadowMaterialHorizontal.uniforms.resolution.value = shadow.mapSize;\n\t\t\tshadowMaterialHorizontal.uniforms.radius.value = shadow.radius;\n\n\t\t\t_renderer.setRenderTarget(shadow.map);\n\n\t\t\t_renderer.clear();\n\n\t\t\t_renderer.renderBufferDirect(camera, null, geometry, shadowMaterialHorizontal, fullScreenMesh, null);\n\t\t}\n\n\t\tfunction getDepthMaterial(object, material, light, shadowCameraNear, shadowCameraFar, type) {\n\t\t\tlet result = null;\n\t\t\tconst customMaterial = light.isPointLight === true ? object.customDistanceMaterial : object.customDepthMaterial;\n\n\t\t\tif (customMaterial !== undefined) {\n\t\t\t\tresult = customMaterial;\n\t\t\t} else {\n\t\t\t\tresult = light.isPointLight === true ? _distanceMaterial : _depthMaterial;\n\t\t\t}\n\n\t\t\tif (_renderer.localClippingEnabled && material.clipShadows === true && Array.isArray(material.clippingPlanes) && material.clippingPlanes.length !== 0 || material.displacementMap && material.displacementScale !== 0 || material.alphaMap && material.alphaTest > 0) {\n\t\t\t\t// in this case we need a unique material instance reflecting the\n\t\t\t\t// appropriate state\n\t\t\t\tconst keyA = result.uuid,\n\t\t\t\t\t\t\tkeyB = material.uuid;\n\t\t\t\tlet materialsForVariant = _materialCache[keyA];\n\n\t\t\t\tif (materialsForVariant === undefined) {\n\t\t\t\t\tmaterialsForVariant = {};\n\t\t\t\t\t_materialCache[keyA] = materialsForVariant;\n\t\t\t\t}\n\n\t\t\t\tlet cachedMaterial = materialsForVariant[keyB];\n\n\t\t\t\tif (cachedMaterial === undefined) {\n\t\t\t\t\tcachedMaterial = result.clone();\n\t\t\t\t\tmaterialsForVariant[keyB] = cachedMaterial;\n\t\t\t\t}\n\n\t\t\t\tresult = cachedMaterial;\n\t\t\t}\n\n\t\t\tresult.visible = material.visible;\n\t\t\tresult.wireframe = material.wireframe;\n\n\t\t\tif (type === VSMShadowMap) {\n\t\t\t\tresult.side = material.shadowSide !== null ? material.shadowSide : material.side;\n\t\t\t} else {\n\t\t\t\tresult.side = material.shadowSide !== null ? material.shadowSide : shadowSide[material.side];\n\t\t\t}\n\n\t\t\tresult.alphaMap = material.alphaMap;\n\t\t\tresult.alphaTest = material.alphaTest;\n\t\t\tresult.clipShadows = material.clipShadows;\n\t\t\tresult.clippingPlanes = material.clippingPlanes;\n\t\t\tresult.clipIntersection = material.clipIntersection;\n\t\t\tresult.displacementMap = material.displacementMap;\n\t\t\tresult.displacementScale = material.displacementScale;\n\t\t\tresult.displacementBias = material.displacementBias;\n\t\t\tresult.wireframeLinewidth = material.wireframeLinewidth;\n\t\t\tresult.linewidth = material.linewidth;\n\n\t\t\tif (light.isPointLight === true && result.isMeshDistanceMaterial === true) {\n\t\t\t\tresult.referencePosition.setFromMatrixPosition(light.matrixWorld);\n\t\t\t\tresult.nearDistance = shadowCameraNear;\n\t\t\t\tresult.farDistance = shadowCameraFar;\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\n\t\tfunction renderObject(object, camera, shadowCamera, light, type) {\n\t\t\tif (object.visible === false) return;\n\t\t\tconst visible = object.layers.test(camera.layers);\n\n\t\t\tif (visible && (object.isMesh || object.isLine || object.isPoints)) {\n\t\t\t\tif ((object.castShadow || object.receiveShadow && type === VSMShadowMap) && (!object.frustumCulled || _frustum.intersectsObject(object))) {\n\t\t\t\t\tobject.modelViewMatrix.multiplyMatrices(shadowCamera.matrixWorldInverse, object.matrixWorld);\n\n\t\t\t\t\tconst geometry = _objects.update(object);\n\n\t\t\t\t\tconst material = object.material;\n\n\t\t\t\t\tif (Array.isArray(material)) {\n\t\t\t\t\t\tconst groups = geometry.groups;\n\n\t\t\t\t\t\tfor (let k = 0, kl = groups.length; k < kl; k++) {\n\t\t\t\t\t\t\tconst group = groups[k];\n\t\t\t\t\t\t\tconst groupMaterial = material[group.materialIndex];\n\n\t\t\t\t\t\t\tif (groupMaterial && groupMaterial.visible) {\n\t\t\t\t\t\t\t\tconst depthMaterial = getDepthMaterial(object, groupMaterial, light, shadowCamera.near, shadowCamera.far, type);\n\n\t\t\t\t\t\t\t\t_renderer.renderBufferDirect(shadowCamera, null, geometry, depthMaterial, object, group);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if (material.visible) {\n\t\t\t\t\t\tconst depthMaterial = getDepthMaterial(object, material, light, shadowCamera.near, shadowCamera.far, type);\n\n\t\t\t\t\t\t_renderer.renderBufferDirect(shadowCamera, null, geometry, depthMaterial, object, null);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst children = object.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\trenderObject(children[i], camera, shadowCamera, light, type);\n\t\t\t}\n\t\t}\n\t}\n\n\tfunction WebGLState(gl, extensions, capabilities) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\n\t\tfunction ColorBuffer() {\n\t\t\tlet locked = false;\n\t\t\tconst color = new Vector4();\n\t\t\tlet currentColorMask = null;\n\t\t\tconst currentColorClear = new Vector4(0, 0, 0, 0);\n\t\t\treturn {\n\t\t\t\tsetMask: function (colorMask) {\n\t\t\t\t\tif (currentColorMask !== colorMask && !locked) {\n\t\t\t\t\t\tgl.colorMask(colorMask, colorMask, colorMask, colorMask);\n\t\t\t\t\t\tcurrentColorMask = colorMask;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetLocked: function (lock) {\n\t\t\t\t\tlocked = lock;\n\t\t\t\t},\n\t\t\t\tsetClear: function (r, g, b, a, premultipliedAlpha) {\n\t\t\t\t\tif (premultipliedAlpha === true) {\n\t\t\t\t\t\tr *= a;\n\t\t\t\t\t\tg *= a;\n\t\t\t\t\t\tb *= a;\n\t\t\t\t\t}\n\n\t\t\t\t\tcolor.set(r, g, b, a);\n\n\t\t\t\t\tif (currentColorClear.equals(color) === false) {\n\t\t\t\t\t\tgl.clearColor(r, g, b, a);\n\t\t\t\t\t\tcurrentColorClear.copy(color);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\treset: function () {\n\t\t\t\t\tlocked = false;\n\t\t\t\t\tcurrentColorMask = null;\n\t\t\t\t\tcurrentColorClear.set(-1, 0, 0, 0); // set to invalid state\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\tfunction DepthBuffer() {\n\t\t\tlet locked = false;\n\t\t\tlet currentDepthMask = null;\n\t\t\tlet currentDepthFunc = null;\n\t\t\tlet currentDepthClear = null;\n\t\t\treturn {\n\t\t\t\tsetTest: function (depthTest) {\n\t\t\t\t\tif (depthTest) {\n\t\t\t\t\t\tenable(gl.DEPTH_TEST);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tdisable(gl.DEPTH_TEST);\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetMask: function (depthMask) {\n\t\t\t\t\tif (currentDepthMask !== depthMask && !locked) {\n\t\t\t\t\t\tgl.depthMask(depthMask);\n\t\t\t\t\t\tcurrentDepthMask = depthMask;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetFunc: function (depthFunc) {\n\t\t\t\t\tif (currentDepthFunc !== depthFunc) {\n\t\t\t\t\t\tif (depthFunc) {\n\t\t\t\t\t\t\tswitch (depthFunc) {\n\t\t\t\t\t\t\t\tcase NeverDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.NEVER);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase AlwaysDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.ALWAYS);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase LessDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.LESS);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase LessEqualDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.LEQUAL);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase EqualDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.EQUAL);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase GreaterEqualDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.GEQUAL);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase GreaterDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.GREATER);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tcase NotEqualDepth:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.NOTEQUAL);\n\t\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\t\tgl.depthFunc(gl.LEQUAL);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tgl.depthFunc(gl.LEQUAL);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcurrentDepthFunc = depthFunc;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetLocked: function (lock) {\n\t\t\t\t\tlocked = lock;\n\t\t\t\t},\n\t\t\t\tsetClear: function (depth) {\n\t\t\t\t\tif (currentDepthClear !== depth) {\n\t\t\t\t\t\tgl.clearDepth(depth);\n\t\t\t\t\t\tcurrentDepthClear = depth;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\treset: function () {\n\t\t\t\t\tlocked = false;\n\t\t\t\t\tcurrentDepthMask = null;\n\t\t\t\t\tcurrentDepthFunc = null;\n\t\t\t\t\tcurrentDepthClear = null;\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\n\t\tfunction StencilBuffer() {\n\t\t\tlet locked = false;\n\t\t\tlet currentStencilMask = null;\n\t\t\tlet currentStencilFunc = null;\n\t\t\tlet currentStencilRef = null;\n\t\t\tlet currentStencilFuncMask = null;\n\t\t\tlet currentStencilFail = null;\n\t\t\tlet currentStencilZFail = null;\n\t\t\tlet currentStencilZPass = null;\n\t\t\tlet currentStencilClear = null;\n\t\t\treturn {\n\t\t\t\tsetTest: function (stencilTest) {\n\t\t\t\t\tif (!locked) {\n\t\t\t\t\t\tif (stencilTest) {\n\t\t\t\t\t\t\tenable(gl.STENCIL_TEST);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tdisable(gl.STENCIL_TEST);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetMask: function (stencilMask) {\n\t\t\t\t\tif (currentStencilMask !== stencilMask && !locked) {\n\t\t\t\t\t\tgl.stencilMask(stencilMask);\n\t\t\t\t\t\tcurrentStencilMask = stencilMask;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetFunc: function (stencilFunc, stencilRef, stencilMask) {\n\t\t\t\t\tif (currentStencilFunc !== stencilFunc || currentStencilRef !== stencilRef || currentStencilFuncMask !== stencilMask) {\n\t\t\t\t\t\tgl.stencilFunc(stencilFunc, stencilRef, stencilMask);\n\t\t\t\t\t\tcurrentStencilFunc = stencilFunc;\n\t\t\t\t\t\tcurrentStencilRef = stencilRef;\n\t\t\t\t\t\tcurrentStencilFuncMask = stencilMask;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetOp: function (stencilFail, stencilZFail, stencilZPass) {\n\t\t\t\t\tif (currentStencilFail !== stencilFail || currentStencilZFail !== stencilZFail || currentStencilZPass !== stencilZPass) {\n\t\t\t\t\t\tgl.stencilOp(stencilFail, stencilZFail, stencilZPass);\n\t\t\t\t\t\tcurrentStencilFail = stencilFail;\n\t\t\t\t\t\tcurrentStencilZFail = stencilZFail;\n\t\t\t\t\t\tcurrentStencilZPass = stencilZPass;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\tsetLocked: function (lock) {\n\t\t\t\t\tlocked = lock;\n\t\t\t\t},\n\t\t\t\tsetClear: function (stencil) {\n\t\t\t\t\tif (currentStencilClear !== stencil) {\n\t\t\t\t\t\tgl.clearStencil(stencil);\n\t\t\t\t\t\tcurrentStencilClear = stencil;\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\treset: function () {\n\t\t\t\t\tlocked = false;\n\t\t\t\t\tcurrentStencilMask = null;\n\t\t\t\t\tcurrentStencilFunc = null;\n\t\t\t\t\tcurrentStencilRef = null;\n\t\t\t\t\tcurrentStencilFuncMask = null;\n\t\t\t\t\tcurrentStencilFail = null;\n\t\t\t\t\tcurrentStencilZFail = null;\n\t\t\t\t\tcurrentStencilZPass = null;\n\t\t\t\t\tcurrentStencilClear = null;\n\t\t\t\t}\n\t\t\t};\n\t\t} //\n\n\n\t\tconst colorBuffer = new ColorBuffer();\n\t\tconst depthBuffer = new DepthBuffer();\n\t\tconst stencilBuffer = new StencilBuffer();\n\t\tlet enabledCapabilities = {};\n\t\tlet currentBoundFramebuffers = {};\n\t\tlet currentDrawbuffers = new WeakMap();\n\t\tlet defaultDrawbuffers = [];\n\t\tlet currentProgram = null;\n\t\tlet currentBlendingEnabled = false;\n\t\tlet currentBlending = null;\n\t\tlet currentBlendEquation = null;\n\t\tlet currentBlendSrc = null;\n\t\tlet currentBlendDst = null;\n\t\tlet currentBlendEquationAlpha = null;\n\t\tlet currentBlendSrcAlpha = null;\n\t\tlet currentBlendDstAlpha = null;\n\t\tlet currentPremultipledAlpha = false;\n\t\tlet currentFlipSided = null;\n\t\tlet currentCullFace = null;\n\t\tlet currentLineWidth = null;\n\t\tlet currentPolygonOffsetFactor = null;\n\t\tlet currentPolygonOffsetUnits = null;\n\t\tconst maxTextures = gl.getParameter(gl.MAX_COMBINED_TEXTURE_IMAGE_UNITS);\n\t\tlet lineWidthAvailable = false;\n\t\tlet version = 0;\n\t\tconst glVersion = gl.getParameter(gl.VERSION);\n\n\t\tif (glVersion.indexOf('WebGL') !== -1) {\n\t\t\tversion = parseFloat(/^WebGL (\\d)/.exec(glVersion)[1]);\n\t\t\tlineWidthAvailable = version >= 1.0;\n\t\t} else if (glVersion.indexOf('OpenGL ES') !== -1) {\n\t\t\tversion = parseFloat(/^OpenGL ES (\\d)/.exec(glVersion)[1]);\n\t\t\tlineWidthAvailable = version >= 2.0;\n\t\t}\n\n\t\tlet currentTextureSlot = null;\n\t\tlet currentBoundTextures = {};\n\t\tconst scissorParam = gl.getParameter(gl.SCISSOR_BOX);\n\t\tconst viewportParam = gl.getParameter(gl.VIEWPORT);\n\t\tconst currentScissor = new Vector4().fromArray(scissorParam);\n\t\tconst currentViewport = new Vector4().fromArray(viewportParam);\n\n\t\tfunction createTexture(type, target, count) {\n\t\t\tconst data = new Uint8Array(4); // 4 is required to match default unpack alignment of 4.\n\n\t\t\tconst texture = gl.createTexture();\n\t\t\tgl.bindTexture(type, texture);\n\t\t\tgl.texParameteri(type, gl.TEXTURE_MIN_FILTER, gl.NEAREST);\n\t\t\tgl.texParameteri(type, gl.TEXTURE_MAG_FILTER, gl.NEAREST);\n\n\t\t\tfor (let i = 0; i < count; i++) {\n\t\t\t\tgl.texImage2D(target + i, 0, gl.RGBA, 1, 1, 0, gl.RGBA, gl.UNSIGNED_BYTE, data);\n\t\t\t}\n\n\t\t\treturn texture;\n\t\t}\n\n\t\tconst emptyTextures = {};\n\t\temptyTextures[gl.TEXTURE_2D] = createTexture(gl.TEXTURE_2D, gl.TEXTURE_2D, 1);\n\t\temptyTextures[gl.TEXTURE_CUBE_MAP] = createTexture(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_CUBE_MAP_POSITIVE_X, 6); // init\n\n\t\tcolorBuffer.setClear(0, 0, 0, 1);\n\t\tdepthBuffer.setClear(1);\n\t\tstencilBuffer.setClear(0);\n\t\tenable(gl.DEPTH_TEST);\n\t\tdepthBuffer.setFunc(LessEqualDepth);\n\t\tsetFlipSided(false);\n\t\tsetCullFace(CullFaceBack);\n\t\tenable(gl.CULL_FACE);\n\t\tsetBlending(NoBlending); //\n\n\t\tfunction enable(id) {\n\t\t\tif (enabledCapabilities[id] !== true) {\n\t\t\t\tgl.enable(id);\n\t\t\t\tenabledCapabilities[id] = true;\n\t\t\t}\n\t\t}\n\n\t\tfunction disable(id) {\n\t\t\tif (enabledCapabilities[id] !== false) {\n\t\t\t\tgl.disable(id);\n\t\t\t\tenabledCapabilities[id] = false;\n\t\t\t}\n\t\t}\n\n\t\tfunction bindFramebuffer(target, framebuffer) {\n\t\t\tif (currentBoundFramebuffers[target] !== framebuffer) {\n\t\t\t\tgl.bindFramebuffer(target, framebuffer);\n\t\t\t\tcurrentBoundFramebuffers[target] = framebuffer;\n\n\t\t\t\tif (isWebGL2) {\n\t\t\t\t\t// gl.DRAW_FRAMEBUFFER is equivalent to gl.FRAMEBUFFER\n\t\t\t\t\tif (target === gl.DRAW_FRAMEBUFFER) {\n\t\t\t\t\t\tcurrentBoundFramebuffers[gl.FRAMEBUFFER] = framebuffer;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (target === gl.FRAMEBUFFER) {\n\t\t\t\t\t\tcurrentBoundFramebuffers[gl.DRAW_FRAMEBUFFER] = framebuffer;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t}\n\n\t\tfunction drawBuffers(renderTarget, framebuffer) {\n\t\t\tlet drawBuffers = defaultDrawbuffers;\n\t\t\tlet needsUpdate = false;\n\n\t\t\tif (renderTarget) {\n\t\t\t\tdrawBuffers = currentDrawbuffers.get(framebuffer);\n\n\t\t\t\tif (drawBuffers === undefined) {\n\t\t\t\t\tdrawBuffers = [];\n\t\t\t\t\tcurrentDrawbuffers.set(framebuffer, drawBuffers);\n\t\t\t\t}\n\n\t\t\t\tif (renderTarget.isWebGLMultipleRenderTargets) {\n\t\t\t\t\tconst textures = renderTarget.texture;\n\n\t\t\t\t\tif (drawBuffers.length !== textures.length || drawBuffers[0] !== gl.COLOR_ATTACHMENT0) {\n\t\t\t\t\t\tfor (let i = 0, il = textures.length; i < il; i++) {\n\t\t\t\t\t\t\tdrawBuffers[i] = gl.COLOR_ATTACHMENT0 + i;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tdrawBuffers.length = textures.length;\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (drawBuffers[0] !== gl.COLOR_ATTACHMENT0) {\n\t\t\t\t\t\tdrawBuffers[0] = gl.COLOR_ATTACHMENT0;\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (drawBuffers[0] !== gl.BACK) {\n\t\t\t\t\tdrawBuffers[0] = gl.BACK;\n\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (needsUpdate) {\n\t\t\t\tif (capabilities.isWebGL2) {\n\t\t\t\t\tgl.drawBuffers(drawBuffers);\n\t\t\t\t} else {\n\t\t\t\t\textensions.get('WEBGL_draw_buffers').drawBuffersWEBGL(drawBuffers);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction useProgram(program) {\n\t\t\tif (currentProgram !== program) {\n\t\t\t\tgl.useProgram(program);\n\t\t\t\tcurrentProgram = program;\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t}\n\n\t\tconst equationToGL = {\n\t\t\t[AddEquation]: gl.FUNC_ADD,\n\t\t\t[SubtractEquation]: gl.FUNC_SUBTRACT,\n\t\t\t[ReverseSubtractEquation]: gl.FUNC_REVERSE_SUBTRACT\n\t\t};\n\n\t\tif (isWebGL2) {\n\t\t\tequationToGL[MinEquation] = gl.MIN;\n\t\t\tequationToGL[MaxEquation] = gl.MAX;\n\t\t} else {\n\t\t\tconst extension = extensions.get('EXT_blend_minmax');\n\n\t\t\tif (extension !== null) {\n\t\t\t\tequationToGL[MinEquation] = extension.MIN_EXT;\n\t\t\t\tequationToGL[MaxEquation] = extension.MAX_EXT;\n\t\t\t}\n\t\t}\n\n\t\tconst factorToGL = {\n\t\t\t[ZeroFactor]: gl.ZERO,\n\t\t\t[OneFactor]: gl.ONE,\n\t\t\t[SrcColorFactor]: gl.SRC_COLOR,\n\t\t\t[SrcAlphaFactor]: gl.SRC_ALPHA,\n\t\t\t[SrcAlphaSaturateFactor]: gl.SRC_ALPHA_SATURATE,\n\t\t\t[DstColorFactor]: gl.DST_COLOR,\n\t\t\t[DstAlphaFactor]: gl.DST_ALPHA,\n\t\t\t[OneMinusSrcColorFactor]: gl.ONE_MINUS_SRC_COLOR,\n\t\t\t[OneMinusSrcAlphaFactor]: gl.ONE_MINUS_SRC_ALPHA,\n\t\t\t[OneMinusDstColorFactor]: gl.ONE_MINUS_DST_COLOR,\n\t\t\t[OneMinusDstAlphaFactor]: gl.ONE_MINUS_DST_ALPHA\n\t\t};\n\n\t\tfunction setBlending(blending, blendEquation, blendSrc, blendDst, blendEquationAlpha, blendSrcAlpha, blendDstAlpha, premultipliedAlpha) {\n\t\t\tif (blending === NoBlending) {\n\t\t\t\tif (currentBlendingEnabled === true) {\n\t\t\t\t\tdisable(gl.BLEND);\n\t\t\t\t\tcurrentBlendingEnabled = false;\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (currentBlendingEnabled === false) {\n\t\t\t\tenable(gl.BLEND);\n\t\t\t\tcurrentBlendingEnabled = true;\n\t\t\t}\n\n\t\t\tif (blending !== CustomBlending) {\n\t\t\t\tif (blending !== currentBlending || premultipliedAlpha !== currentPremultipledAlpha) {\n\t\t\t\t\tif (currentBlendEquation !== AddEquation || currentBlendEquationAlpha !== AddEquation) {\n\t\t\t\t\t\tgl.blendEquation(gl.FUNC_ADD);\n\t\t\t\t\t\tcurrentBlendEquation = AddEquation;\n\t\t\t\t\t\tcurrentBlendEquationAlpha = AddEquation;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (premultipliedAlpha) {\n\t\t\t\t\t\tswitch (blending) {\n\t\t\t\t\t\t\tcase NormalBlending:\n\t\t\t\t\t\t\t\tgl.blendFuncSeparate(gl.ONE, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase AdditiveBlending:\n\t\t\t\t\t\t\t\tgl.blendFunc(gl.ONE, gl.ONE);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase SubtractiveBlending:\n\t\t\t\t\t\t\t\tgl.blendFuncSeparate(gl.ZERO, gl.ONE_MINUS_SRC_COLOR, gl.ZERO, gl.ONE);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase MultiplyBlending:\n\t\t\t\t\t\t\t\tgl.blendFuncSeparate(gl.ZERO, gl.SRC_COLOR, gl.ZERO, gl.SRC_ALPHA);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tconsole.error('THREE.WebGLState: Invalid blending: ', blending);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tswitch (blending) {\n\t\t\t\t\t\t\tcase NormalBlending:\n\t\t\t\t\t\t\t\tgl.blendFuncSeparate(gl.SRC_ALPHA, gl.ONE_MINUS_SRC_ALPHA, gl.ONE, gl.ONE_MINUS_SRC_ALPHA);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase AdditiveBlending:\n\t\t\t\t\t\t\t\tgl.blendFunc(gl.SRC_ALPHA, gl.ONE);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase SubtractiveBlending:\n\t\t\t\t\t\t\t\tgl.blendFuncSeparate(gl.ZERO, gl.ONE_MINUS_SRC_COLOR, gl.ZERO, gl.ONE);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase MultiplyBlending:\n\t\t\t\t\t\t\t\tgl.blendFunc(gl.ZERO, gl.SRC_COLOR);\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tconsole.error('THREE.WebGLState: Invalid blending: ', blending);\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tcurrentBlendSrc = null;\n\t\t\t\t\tcurrentBlendDst = null;\n\t\t\t\t\tcurrentBlendSrcAlpha = null;\n\t\t\t\t\tcurrentBlendDstAlpha = null;\n\t\t\t\t\tcurrentBlending = blending;\n\t\t\t\t\tcurrentPremultipledAlpha = premultipliedAlpha;\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t} // custom blending\n\n\n\t\t\tblendEquationAlpha = blendEquationAlpha || blendEquation;\n\t\t\tblendSrcAlpha = blendSrcAlpha || blendSrc;\n\t\t\tblendDstAlpha = blendDstAlpha || blendDst;\n\n\t\t\tif (blendEquation !== currentBlendEquation || blendEquationAlpha !== currentBlendEquationAlpha) {\n\t\t\t\tgl.blendEquationSeparate(equationToGL[blendEquation], equationToGL[blendEquationAlpha]);\n\t\t\t\tcurrentBlendEquation = blendEquation;\n\t\t\t\tcurrentBlendEquationAlpha = blendEquationAlpha;\n\t\t\t}\n\n\t\t\tif (blendSrc !== currentBlendSrc || blendDst !== currentBlendDst || blendSrcAlpha !== currentBlendSrcAlpha || blendDstAlpha !== currentBlendDstAlpha) {\n\t\t\t\tgl.blendFuncSeparate(factorToGL[blendSrc], factorToGL[blendDst], factorToGL[blendSrcAlpha], factorToGL[blendDstAlpha]);\n\t\t\t\tcurrentBlendSrc = blendSrc;\n\t\t\t\tcurrentBlendDst = blendDst;\n\t\t\t\tcurrentBlendSrcAlpha = blendSrcAlpha;\n\t\t\t\tcurrentBlendDstAlpha = blendDstAlpha;\n\t\t\t}\n\n\t\t\tcurrentBlending = blending;\n\t\t\tcurrentPremultipledAlpha = null;\n\t\t}\n\n\t\tfunction setMaterial(material, frontFaceCW) {\n\t\t\tmaterial.side === DoubleSide ? disable(gl.CULL_FACE) : enable(gl.CULL_FACE);\n\t\t\tlet flipSided = material.side === BackSide;\n\t\t\tif (frontFaceCW) flipSided = !flipSided;\n\t\t\tsetFlipSided(flipSided);\n\t\t\tmaterial.blending === NormalBlending && material.transparent === false ? setBlending(NoBlending) : setBlending(material.blending, material.blendEquation, material.blendSrc, material.blendDst, material.blendEquationAlpha, material.blendSrcAlpha, material.blendDstAlpha, material.premultipliedAlpha);\n\t\t\tdepthBuffer.setFunc(material.depthFunc);\n\t\t\tdepthBuffer.setTest(material.depthTest);\n\t\t\tdepthBuffer.setMask(material.depthWrite);\n\t\t\tcolorBuffer.setMask(material.colorWrite);\n\t\t\tconst stencilWrite = material.stencilWrite;\n\t\t\tstencilBuffer.setTest(stencilWrite);\n\n\t\t\tif (stencilWrite) {\n\t\t\t\tstencilBuffer.setMask(material.stencilWriteMask);\n\t\t\t\tstencilBuffer.setFunc(material.stencilFunc, material.stencilRef, material.stencilFuncMask);\n\t\t\t\tstencilBuffer.setOp(material.stencilFail, material.stencilZFail, material.stencilZPass);\n\t\t\t}\n\n\t\t\tsetPolygonOffset(material.polygonOffset, material.polygonOffsetFactor, material.polygonOffsetUnits);\n\t\t\tmaterial.alphaToCoverage === true ? enable(gl.SAMPLE_ALPHA_TO_COVERAGE) : disable(gl.SAMPLE_ALPHA_TO_COVERAGE);\n\t\t} //\n\n\n\t\tfunction setFlipSided(flipSided) {\n\t\t\tif (currentFlipSided !== flipSided) {\n\t\t\t\tif (flipSided) {\n\t\t\t\t\tgl.frontFace(gl.CW);\n\t\t\t\t} else {\n\t\t\t\t\tgl.frontFace(gl.CCW);\n\t\t\t\t}\n\n\t\t\t\tcurrentFlipSided = flipSided;\n\t\t\t}\n\t\t}\n\n\t\tfunction setCullFace(cullFace) {\n\t\t\tif (cullFace !== CullFaceNone) {\n\t\t\t\tenable(gl.CULL_FACE);\n\n\t\t\t\tif (cullFace !== currentCullFace) {\n\t\t\t\t\tif (cullFace === CullFaceBack) {\n\t\t\t\t\t\tgl.cullFace(gl.BACK);\n\t\t\t\t\t} else if (cullFace === CullFaceFront) {\n\t\t\t\t\t\tgl.cullFace(gl.FRONT);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tgl.cullFace(gl.FRONT_AND_BACK);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdisable(gl.CULL_FACE);\n\t\t\t}\n\n\t\t\tcurrentCullFace = cullFace;\n\t\t}\n\n\t\tfunction setLineWidth(width) {\n\t\t\tif (width !== currentLineWidth) {\n\t\t\t\tif (lineWidthAvailable) gl.lineWidth(width);\n\t\t\t\tcurrentLineWidth = width;\n\t\t\t}\n\t\t}\n\n\t\tfunction setPolygonOffset(polygonOffset, factor, units) {\n\t\t\tif (polygonOffset) {\n\t\t\t\tenable(gl.POLYGON_OFFSET_FILL);\n\n\t\t\t\tif (currentPolygonOffsetFactor !== factor || currentPolygonOffsetUnits !== units) {\n\t\t\t\t\tgl.polygonOffset(factor, units);\n\t\t\t\t\tcurrentPolygonOffsetFactor = factor;\n\t\t\t\t\tcurrentPolygonOffsetUnits = units;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdisable(gl.POLYGON_OFFSET_FILL);\n\t\t\t}\n\t\t}\n\n\t\tfunction setScissorTest(scissorTest) {\n\t\t\tif (scissorTest) {\n\t\t\t\tenable(gl.SCISSOR_TEST);\n\t\t\t} else {\n\t\t\t\tdisable(gl.SCISSOR_TEST);\n\t\t\t}\n\t\t} // texture\n\n\n\t\tfunction activeTexture(webglSlot) {\n\t\t\tif (webglSlot === undefined) webglSlot = gl.TEXTURE0 + maxTextures - 1;\n\n\t\t\tif (currentTextureSlot !== webglSlot) {\n\t\t\t\tgl.activeTexture(webglSlot);\n\t\t\t\tcurrentTextureSlot = webglSlot;\n\t\t\t}\n\t\t}\n\n\t\tfunction bindTexture(webglType, webglTexture) {\n\t\t\tif (currentTextureSlot === null) {\n\t\t\t\tactiveTexture();\n\t\t\t}\n\n\t\t\tlet boundTexture = currentBoundTextures[currentTextureSlot];\n\n\t\t\tif (boundTexture === undefined) {\n\t\t\t\tboundTexture = {\n\t\t\t\t\ttype: undefined,\n\t\t\t\t\ttexture: undefined\n\t\t\t\t};\n\t\t\t\tcurrentBoundTextures[currentTextureSlot] = boundTexture;\n\t\t\t}\n\n\t\t\tif (boundTexture.type !== webglType || boundTexture.texture !== webglTexture) {\n\t\t\t\tgl.bindTexture(webglType, webglTexture || emptyTextures[webglType]);\n\t\t\t\tboundTexture.type = webglType;\n\t\t\t\tboundTexture.texture = webglTexture;\n\t\t\t}\n\t\t}\n\n\t\tfunction unbindTexture() {\n\t\t\tconst boundTexture = currentBoundTextures[currentTextureSlot];\n\n\t\t\tif (boundTexture !== undefined && boundTexture.type !== undefined) {\n\t\t\t\tgl.bindTexture(boundTexture.type, null);\n\t\t\t\tboundTexture.type = undefined;\n\t\t\t\tboundTexture.texture = undefined;\n\t\t\t}\n\t\t}\n\n\t\tfunction compressedTexImage2D() {\n\t\t\ttry {\n\t\t\t\tgl.compressedTexImage2D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texSubImage2D() {\n\t\t\ttry {\n\t\t\t\tgl.texSubImage2D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texSubImage3D() {\n\t\t\ttry {\n\t\t\t\tgl.texSubImage3D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction compressedTexSubImage2D() {\n\t\t\ttry {\n\t\t\t\tgl.compressedTexSubImage2D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texStorage2D() {\n\t\t\ttry {\n\t\t\t\tgl.texStorage2D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texStorage3D() {\n\t\t\ttry {\n\t\t\t\tgl.texStorage3D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texImage2D() {\n\t\t\ttry {\n\t\t\t\tgl.texImage2D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t}\n\n\t\tfunction texImage3D() {\n\t\t\ttry {\n\t\t\t\tgl.texImage3D.apply(gl, arguments);\n\t\t\t} catch (error) {\n\t\t\t\tconsole.error('THREE.WebGLState:', error);\n\t\t\t}\n\t\t} //\n\n\n\t\tfunction scissor(scissor) {\n\t\t\tif (currentScissor.equals(scissor) === false) {\n\t\t\t\tgl.scissor(scissor.x, scissor.y, scissor.z, scissor.w);\n\t\t\t\tcurrentScissor.copy(scissor);\n\t\t\t}\n\t\t}\n\n\t\tfunction viewport(viewport) {\n\t\t\tif (currentViewport.equals(viewport) === false) {\n\t\t\t\tgl.viewport(viewport.x, viewport.y, viewport.z, viewport.w);\n\t\t\t\tcurrentViewport.copy(viewport);\n\t\t\t}\n\t\t} //\n\n\n\t\tfunction reset() {\n\t\t\t// reset state\n\t\t\tgl.disable(gl.BLEND);\n\t\t\tgl.disable(gl.CULL_FACE);\n\t\t\tgl.disable(gl.DEPTH_TEST);\n\t\t\tgl.disable(gl.POLYGON_OFFSET_FILL);\n\t\t\tgl.disable(gl.SCISSOR_TEST);\n\t\t\tgl.disable(gl.STENCIL_TEST);\n\t\t\tgl.disable(gl.SAMPLE_ALPHA_TO_COVERAGE);\n\t\t\tgl.blendEquation(gl.FUNC_ADD);\n\t\t\tgl.blendFunc(gl.ONE, gl.ZERO);\n\t\t\tgl.blendFuncSeparate(gl.ONE, gl.ZERO, gl.ONE, gl.ZERO);\n\t\t\tgl.colorMask(true, true, true, true);\n\t\t\tgl.clearColor(0, 0, 0, 0);\n\t\t\tgl.depthMask(true);\n\t\t\tgl.depthFunc(gl.LESS);\n\t\t\tgl.clearDepth(1);\n\t\t\tgl.stencilMask(0xffffffff);\n\t\t\tgl.stencilFunc(gl.ALWAYS, 0, 0xffffffff);\n\t\t\tgl.stencilOp(gl.KEEP, gl.KEEP, gl.KEEP);\n\t\t\tgl.clearStencil(0);\n\t\t\tgl.cullFace(gl.BACK);\n\t\t\tgl.frontFace(gl.CCW);\n\t\t\tgl.polygonOffset(0, 0);\n\t\t\tgl.activeTexture(gl.TEXTURE0);\n\t\t\tgl.bindFramebuffer(gl.FRAMEBUFFER, null);\n\n\t\t\tif (isWebGL2 === true) {\n\t\t\t\tgl.bindFramebuffer(gl.DRAW_FRAMEBUFFER, null);\n\t\t\t\tgl.bindFramebuffer(gl.READ_FRAMEBUFFER, null);\n\t\t\t}\n\n\t\t\tgl.useProgram(null);\n\t\t\tgl.lineWidth(1);\n\t\t\tgl.scissor(0, 0, gl.canvas.width, gl.canvas.height);\n\t\t\tgl.viewport(0, 0, gl.canvas.width, gl.canvas.height); // reset internals\n\n\t\t\tenabledCapabilities = {};\n\t\t\tcurrentTextureSlot = null;\n\t\t\tcurrentBoundTextures = {};\n\t\t\tcurrentBoundFramebuffers = {};\n\t\t\tcurrentDrawbuffers = new WeakMap();\n\t\t\tdefaultDrawbuffers = [];\n\t\t\tcurrentProgram = null;\n\t\t\tcurrentBlendingEnabled = false;\n\t\t\tcurrentBlending = null;\n\t\t\tcurrentBlendEquation = null;\n\t\t\tcurrentBlendSrc = null;\n\t\t\tcurrentBlendDst = null;\n\t\t\tcurrentBlendEquationAlpha = null;\n\t\t\tcurrentBlendSrcAlpha = null;\n\t\t\tcurrentBlendDstAlpha = null;\n\t\t\tcurrentPremultipledAlpha = false;\n\t\t\tcurrentFlipSided = null;\n\t\t\tcurrentCullFace = null;\n\t\t\tcurrentLineWidth = null;\n\t\t\tcurrentPolygonOffsetFactor = null;\n\t\t\tcurrentPolygonOffsetUnits = null;\n\t\t\tcurrentScissor.set(0, 0, gl.canvas.width, gl.canvas.height);\n\t\t\tcurrentViewport.set(0, 0, gl.canvas.width, gl.canvas.height);\n\t\t\tcolorBuffer.reset();\n\t\t\tdepthBuffer.reset();\n\t\t\tstencilBuffer.reset();\n\t\t}\n\n\t\treturn {\n\t\t\tbuffers: {\n\t\t\t\tcolor: colorBuffer,\n\t\t\t\tdepth: depthBuffer,\n\t\t\t\tstencil: stencilBuffer\n\t\t\t},\n\t\t\tenable: enable,\n\t\t\tdisable: disable,\n\t\t\tbindFramebuffer: bindFramebuffer,\n\t\t\tdrawBuffers: drawBuffers,\n\t\t\tuseProgram: useProgram,\n\t\t\tsetBlending: setBlending,\n\t\t\tsetMaterial: setMaterial,\n\t\t\tsetFlipSided: setFlipSided,\n\t\t\tsetCullFace: setCullFace,\n\t\t\tsetLineWidth: setLineWidth,\n\t\t\tsetPolygonOffset: setPolygonOffset,\n\t\t\tsetScissorTest: setScissorTest,\n\t\t\tactiveTexture: activeTexture,\n\t\t\tbindTexture: bindTexture,\n\t\t\tunbindTexture: unbindTexture,\n\t\t\tcompressedTexImage2D: compressedTexImage2D,\n\t\t\ttexImage2D: texImage2D,\n\t\t\ttexImage3D: texImage3D,\n\t\t\ttexStorage2D: texStorage2D,\n\t\t\ttexStorage3D: texStorage3D,\n\t\t\ttexSubImage2D: texSubImage2D,\n\t\t\ttexSubImage3D: texSubImage3D,\n\t\t\tcompressedTexSubImage2D: compressedTexSubImage2D,\n\t\t\tscissor: scissor,\n\t\t\tviewport: viewport,\n\t\t\treset: reset\n\t\t};\n\t}\n\n\tfunction WebGLTextures(_gl, extensions, state, properties, capabilities, utils, info) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\t\tconst maxTextures = capabilities.maxTextures;\n\t\tconst maxCubemapSize = capabilities.maxCubemapSize;\n\t\tconst maxTextureSize = capabilities.maxTextureSize;\n\t\tconst maxSamples = capabilities.maxSamples;\n\t\tconst multisampledRTTExt = extensions.has('WEBGL_multisampled_render_to_texture') ? extensions.get('WEBGL_multisampled_render_to_texture') : null;\n\t\tconst supportsInvalidateFramebuffer = /OculusBrowser/g.test(navigator.userAgent);\n\n\t\tconst _videoTextures = new WeakMap();\n\n\t\tlet _canvas;\n\n\t\tconst _sources = new WeakMap(); // maps WebglTexture objects to instances of Source\n\t\t// cordova iOS (as of 5.0) still uses UIWebView, which provides OffscreenCanvas,\n\t\t// also OffscreenCanvas.getContext(\"webgl\"), but not OffscreenCanvas.getContext(\"2d\")!\n\t\t// Some implementations may only implement OffscreenCanvas partially (e.g. lacking 2d).\n\n\n\t\tlet useOffscreenCanvas = false;\n\n\t\ttry {\n\t\t\tuseOffscreenCanvas = typeof OffscreenCanvas !== 'undefined' // eslint-disable-next-line compat/compat\n\t\t\t&& new OffscreenCanvas(1, 1).getContext('2d') !== null;\n\t\t} catch (err) {// Ignore any errors\n\t\t}\n\n\t\tfunction createCanvas(width, height) {\n\t\t\t// Use OffscreenCanvas when available. Specially needed in web workers\n\t\t\treturn useOffscreenCanvas ? // eslint-disable-next-line compat/compat\n\t\t\tnew OffscreenCanvas(width, height) : createElementNS('canvas');\n\t\t}\n\n\t\tfunction resizeImage(image, needsPowerOfTwo, needsNewCanvas, maxSize) {\n\t\t\tlet scale = 1; // handle case if texture exceeds max size\n\n\t\t\tif (image.width > maxSize || image.height > maxSize) {\n\t\t\t\tscale = maxSize / Math.max(image.width, image.height);\n\t\t\t} // only perform resize if necessary\n\n\n\t\t\tif (scale < 1 || needsPowerOfTwo === true) {\n\t\t\t\t// only perform resize for certain image types\n\t\t\t\tif (typeof HTMLImageElement !== 'undefined' && image instanceof HTMLImageElement || typeof HTMLCanvasElement !== 'undefined' && image instanceof HTMLCanvasElement || typeof ImageBitmap !== 'undefined' && image instanceof ImageBitmap) {\n\t\t\t\t\tconst floor = needsPowerOfTwo ? floorPowerOfTwo : Math.floor;\n\t\t\t\t\tconst width = floor(scale * image.width);\n\t\t\t\t\tconst height = floor(scale * image.height);\n\t\t\t\t\tif (_canvas === undefined) _canvas = createCanvas(width, height); // cube textures can't reuse the same canvas\n\n\t\t\t\t\tconst canvas = needsNewCanvas ? createCanvas(width, height) : _canvas;\n\t\t\t\t\tcanvas.width = width;\n\t\t\t\t\tcanvas.height = height;\n\t\t\t\t\tconst context = canvas.getContext('2d');\n\t\t\t\t\tcontext.drawImage(image, 0, 0, width, height);\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Texture has been resized from (' + image.width + 'x' + image.height + ') to (' + width + 'x' + height + ').');\n\t\t\t\t\treturn canvas;\n\t\t\t\t} else {\n\t\t\t\t\tif ('data' in image) {\n\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Image in DataTexture is too big (' + image.width + 'x' + image.height + ').');\n\t\t\t\t\t}\n\n\t\t\t\t\treturn image;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn image;\n\t\t}\n\n\t\tfunction isPowerOfTwo$1(image) {\n\t\t\treturn isPowerOfTwo(image.width) && isPowerOfTwo(image.height);\n\t\t}\n\n\t\tfunction textureNeedsPowerOfTwo(texture) {\n\t\t\tif (isWebGL2) return false;\n\t\t\treturn texture.wrapS !== ClampToEdgeWrapping || texture.wrapT !== ClampToEdgeWrapping || texture.minFilter !== NearestFilter && texture.minFilter !== LinearFilter;\n\t\t}\n\n\t\tfunction textureNeedsGenerateMipmaps(texture, supportsMips) {\n\t\t\treturn texture.generateMipmaps && supportsMips && texture.minFilter !== NearestFilter && texture.minFilter !== LinearFilter;\n\t\t}\n\n\t\tfunction generateMipmap(target) {\n\t\t\t_gl.generateMipmap(target);\n\t\t}\n\n\t\tfunction getInternalFormat(internalFormatName, glFormat, glType, encoding, isVideoTexture = false) {\n\t\t\tif (isWebGL2 === false) return glFormat;\n\n\t\t\tif (internalFormatName !== null) {\n\t\t\t\tif (_gl[internalFormatName] !== undefined) return _gl[internalFormatName];\n\t\t\t\tconsole.warn('THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format \\'' + internalFormatName + '\\'');\n\t\t\t}\n\n\t\t\tlet internalFormat = glFormat;\n\n\t\t\tif (glFormat === _gl.RED) {\n\t\t\t\tif (glType === _gl.FLOAT) internalFormat = _gl.R32F;\n\t\t\t\tif (glType === _gl.HALF_FLOAT) internalFormat = _gl.R16F;\n\t\t\t\tif (glType === _gl.UNSIGNED_BYTE) internalFormat = _gl.R8;\n\t\t\t}\n\n\t\t\tif (glFormat === _gl.RG) {\n\t\t\t\tif (glType === _gl.FLOAT) internalFormat = _gl.RG32F;\n\t\t\t\tif (glType === _gl.HALF_FLOAT) internalFormat = _gl.RG16F;\n\t\t\t\tif (glType === _gl.UNSIGNED_BYTE) internalFormat = _gl.RG8;\n\t\t\t}\n\n\t\t\tif (glFormat === _gl.RGBA) {\n\t\t\t\tif (glType === _gl.FLOAT) internalFormat = _gl.RGBA32F;\n\t\t\t\tif (glType === _gl.HALF_FLOAT) internalFormat = _gl.RGBA16F;\n\t\t\t\tif (glType === _gl.UNSIGNED_BYTE) internalFormat = encoding === sRGBEncoding && isVideoTexture === false ? _gl.SRGB8_ALPHA8 : _gl.RGBA8;\n\t\t\t\tif (glType === _gl.UNSIGNED_SHORT_4_4_4_4) internalFormat = _gl.RGBA4;\n\t\t\t\tif (glType === _gl.UNSIGNED_SHORT_5_5_5_1) internalFormat = _gl.RGB5_A1;\n\t\t\t}\n\n\t\t\tif (internalFormat === _gl.R16F || internalFormat === _gl.R32F || internalFormat === _gl.RG16F || internalFormat === _gl.RG32F || internalFormat === _gl.RGBA16F || internalFormat === _gl.RGBA32F) {\n\t\t\t\textensions.get('EXT_color_buffer_float');\n\t\t\t}\n\n\t\t\treturn internalFormat;\n\t\t}\n\n\t\tfunction getMipLevels(texture, image, supportsMips) {\n\t\t\tif (textureNeedsGenerateMipmaps(texture, supportsMips) === true || texture.isFramebufferTexture && texture.minFilter !== NearestFilter && texture.minFilter !== LinearFilter) {\n\t\t\t\treturn Math.log2(Math.max(image.width, image.height)) + 1;\n\t\t\t} else if (texture.mipmaps !== undefined && texture.mipmaps.length > 0) {\n\t\t\t\t// user-defined mipmaps\n\t\t\t\treturn texture.mipmaps.length;\n\t\t\t} else if (texture.isCompressedTexture && Array.isArray(texture.image)) {\n\t\t\t\treturn image.mipmaps.length;\n\t\t\t} else {\n\t\t\t\t// texture without mipmaps (only base level)\n\t\t\t\treturn 1;\n\t\t\t}\n\t\t} // Fallback filters for non-power-of-2 textures\n\n\n\t\tfunction filterFallback(f) {\n\t\t\tif (f === NearestFilter || f === NearestMipmapNearestFilter || f === NearestMipmapLinearFilter) {\n\t\t\t\treturn _gl.NEAREST;\n\t\t\t}\n\n\t\t\treturn _gl.LINEAR;\n\t\t} //\n\n\n\t\tfunction onTextureDispose(event) {\n\t\t\tconst texture = event.target;\n\t\t\ttexture.removeEventListener('dispose', onTextureDispose);\n\t\t\tdeallocateTexture(texture);\n\n\t\t\tif (texture.isVideoTexture) {\n\t\t\t\t_videoTextures.delete(texture);\n\t\t\t}\n\t\t}\n\n\t\tfunction onRenderTargetDispose(event) {\n\t\t\tconst renderTarget = event.target;\n\t\t\trenderTarget.removeEventListener('dispose', onRenderTargetDispose);\n\t\t\tdeallocateRenderTarget(renderTarget);\n\t\t} //\n\n\n\t\tfunction deallocateTexture(texture) {\n\t\t\tconst textureProperties = properties.get(texture);\n\t\t\tif (textureProperties.__webglInit === undefined) return; // check if it's necessary to remove the WebGLTexture object\n\n\t\t\tconst source = texture.source;\n\n\t\t\tconst webglTextures = _sources.get(source);\n\n\t\t\tif (webglTextures) {\n\t\t\t\tconst webglTexture = webglTextures[textureProperties.__cacheKey];\n\t\t\t\twebglTexture.usedTimes--; // the WebGLTexture object is not used anymore, remove it\n\n\t\t\t\tif (webglTexture.usedTimes === 0) {\n\t\t\t\t\tdeleteTexture(texture);\n\t\t\t\t} // remove the weak map entry if no WebGLTexture uses the source anymore\n\n\n\t\t\t\tif (Object.keys(webglTextures).length === 0) {\n\t\t\t\t\t_sources.delete(source);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperties.remove(texture);\n\t\t}\n\n\t\tfunction deleteTexture(texture) {\n\t\t\tconst textureProperties = properties.get(texture);\n\n\t\t\t_gl.deleteTexture(textureProperties.__webglTexture);\n\n\t\t\tconst source = texture.source;\n\n\t\t\tconst webglTextures = _sources.get(source);\n\n\t\t\tdelete webglTextures[textureProperties.__cacheKey];\n\t\t\tinfo.memory.textures--;\n\t\t}\n\n\t\tfunction deallocateRenderTarget(renderTarget) {\n\t\t\tconst texture = renderTarget.texture;\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\tconst textureProperties = properties.get(texture);\n\n\t\t\tif (textureProperties.__webglTexture !== undefined) {\n\t\t\t\t_gl.deleteTexture(textureProperties.__webglTexture);\n\n\t\t\t\tinfo.memory.textures--;\n\t\t\t}\n\n\t\t\tif (renderTarget.depthTexture) {\n\t\t\t\trenderTarget.depthTexture.dispose();\n\t\t\t}\n\n\t\t\tif (renderTarget.isWebGLCubeRenderTarget) {\n\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\t_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer[i]);\n\n\t\t\t\t\tif (renderTargetProperties.__webglDepthbuffer) _gl.deleteRenderbuffer(renderTargetProperties.__webglDepthbuffer[i]);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t_gl.deleteFramebuffer(renderTargetProperties.__webglFramebuffer);\n\n\t\t\t\tif (renderTargetProperties.__webglDepthbuffer) _gl.deleteRenderbuffer(renderTargetProperties.__webglDepthbuffer);\n\t\t\t\tif (renderTargetProperties.__webglMultisampledFramebuffer) _gl.deleteFramebuffer(renderTargetProperties.__webglMultisampledFramebuffer);\n\n\t\t\t\tif (renderTargetProperties.__webglColorRenderbuffer) {\n\t\t\t\t\tfor (let i = 0; i < renderTargetProperties.__webglColorRenderbuffer.length; i++) {\n\t\t\t\t\t\tif (renderTargetProperties.__webglColorRenderbuffer[i]) _gl.deleteRenderbuffer(renderTargetProperties.__webglColorRenderbuffer[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (renderTargetProperties.__webglDepthRenderbuffer) _gl.deleteRenderbuffer(renderTargetProperties.__webglDepthRenderbuffer);\n\t\t\t}\n\n\t\t\tif (renderTarget.isWebGLMultipleRenderTargets) {\n\t\t\t\tfor (let i = 0, il = texture.length; i < il; i++) {\n\t\t\t\t\tconst attachmentProperties = properties.get(texture[i]);\n\n\t\t\t\t\tif (attachmentProperties.__webglTexture) {\n\t\t\t\t\t\t_gl.deleteTexture(attachmentProperties.__webglTexture);\n\n\t\t\t\t\t\tinfo.memory.textures--;\n\t\t\t\t\t}\n\n\t\t\t\t\tproperties.remove(texture[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tproperties.remove(texture);\n\t\t\tproperties.remove(renderTarget);\n\t\t} //\n\n\n\t\tlet textureUnits = 0;\n\n\t\tfunction resetTextureUnits() {\n\t\t\ttextureUnits = 0;\n\t\t}\n\n\t\tfunction allocateTextureUnit() {\n\t\t\tconst textureUnit = textureUnits;\n\n\t\t\tif (textureUnit >= maxTextures) {\n\t\t\t\tconsole.warn('THREE.WebGLTextures: Trying to use ' + textureUnit + ' texture units while this GPU supports only ' + maxTextures);\n\t\t\t}\n\n\t\t\ttextureUnits += 1;\n\t\t\treturn textureUnit;\n\t\t}\n\n\t\tfunction getTextureCacheKey(texture) {\n\t\t\tconst array = [];\n\t\t\tarray.push(texture.wrapS);\n\t\t\tarray.push(texture.wrapT);\n\t\t\tarray.push(texture.magFilter);\n\t\t\tarray.push(texture.minFilter);\n\t\t\tarray.push(texture.anisotropy);\n\t\t\tarray.push(texture.internalFormat);\n\t\t\tarray.push(texture.format);\n\t\t\tarray.push(texture.type);\n\t\t\tarray.push(texture.generateMipmaps);\n\t\t\tarray.push(texture.premultiplyAlpha);\n\t\t\tarray.push(texture.flipY);\n\t\t\tarray.push(texture.unpackAlignment);\n\t\t\tarray.push(texture.encoding);\n\t\t\treturn array.join();\n\t\t} //\n\n\n\t\tfunction setTexture2D(texture, slot) {\n\t\t\tconst textureProperties = properties.get(texture);\n\t\t\tif (texture.isVideoTexture) updateVideoTexture(texture);\n\n\t\t\tif (texture.isRenderTargetTexture === false && texture.version > 0 && textureProperties.__version !== texture.version) {\n\t\t\t\tconst image = texture.image;\n\n\t\t\t\tif (image === null) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Texture marked for update but no image data found.');\n\t\t\t\t} else if (image.complete === false) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Texture marked for update but image is incomplete');\n\t\t\t\t} else {\n\t\t\t\t\tuploadTexture(textureProperties, texture, slot);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(_gl.TEXTURE_2D, textureProperties.__webglTexture);\n\t\t}\n\n\t\tfunction setTexture2DArray(texture, slot) {\n\t\t\tconst textureProperties = properties.get(texture);\n\n\t\t\tif (texture.version > 0 && textureProperties.__version !== texture.version) {\n\t\t\t\tuploadTexture(textureProperties, texture, slot);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(_gl.TEXTURE_2D_ARRAY, textureProperties.__webglTexture);\n\t\t}\n\n\t\tfunction setTexture3D(texture, slot) {\n\t\t\tconst textureProperties = properties.get(texture);\n\n\t\t\tif (texture.version > 0 && textureProperties.__version !== texture.version) {\n\t\t\t\tuploadTexture(textureProperties, texture, slot);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(_gl.TEXTURE_3D, textureProperties.__webglTexture);\n\t\t}\n\n\t\tfunction setTextureCube(texture, slot) {\n\t\t\tconst textureProperties = properties.get(texture);\n\n\t\t\tif (texture.version > 0 && textureProperties.__version !== texture.version) {\n\t\t\t\tuploadCubeTexture(textureProperties, texture, slot);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(_gl.TEXTURE_CUBE_MAP, textureProperties.__webglTexture);\n\t\t}\n\n\t\tconst wrappingToGL = {\n\t\t\t[RepeatWrapping]: _gl.REPEAT,\n\t\t\t[ClampToEdgeWrapping]: _gl.CLAMP_TO_EDGE,\n\t\t\t[MirroredRepeatWrapping]: _gl.MIRRORED_REPEAT\n\t\t};\n\t\tconst filterToGL = {\n\t\t\t[NearestFilter]: _gl.NEAREST,\n\t\t\t[NearestMipmapNearestFilter]: _gl.NEAREST_MIPMAP_NEAREST,\n\t\t\t[NearestMipmapLinearFilter]: _gl.NEAREST_MIPMAP_LINEAR,\n\t\t\t[LinearFilter]: _gl.LINEAR,\n\t\t\t[LinearMipmapNearestFilter]: _gl.LINEAR_MIPMAP_NEAREST,\n\t\t\t[LinearMipmapLinearFilter]: _gl.LINEAR_MIPMAP_LINEAR\n\t\t};\n\n\t\tfunction setTextureParameters(textureType, texture, supportsMips) {\n\t\t\tif (supportsMips) {\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_S, wrappingToGL[texture.wrapS]);\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_T, wrappingToGL[texture.wrapT]);\n\n\t\t\t\tif (textureType === _gl.TEXTURE_3D || textureType === _gl.TEXTURE_2D_ARRAY) {\n\t\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_R, wrappingToGL[texture.wrapR]);\n\t\t\t\t}\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_MAG_FILTER, filterToGL[texture.magFilter]);\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_MIN_FILTER, filterToGL[texture.minFilter]);\n\t\t\t} else {\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_S, _gl.CLAMP_TO_EDGE);\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_T, _gl.CLAMP_TO_EDGE);\n\n\t\t\t\tif (textureType === _gl.TEXTURE_3D || textureType === _gl.TEXTURE_2D_ARRAY) {\n\t\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_WRAP_R, _gl.CLAMP_TO_EDGE);\n\t\t\t\t}\n\n\t\t\t\tif (texture.wrapS !== ClampToEdgeWrapping || texture.wrapT !== ClampToEdgeWrapping) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Texture is not power of two. Texture.wrapS and Texture.wrapT should be set to THREE.ClampToEdgeWrapping.');\n\t\t\t\t}\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_MAG_FILTER, filterFallback(texture.magFilter));\n\n\t\t\t\t_gl.texParameteri(textureType, _gl.TEXTURE_MIN_FILTER, filterFallback(texture.minFilter));\n\n\t\t\t\tif (texture.minFilter !== NearestFilter && texture.minFilter !== LinearFilter) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Texture is not power of two. Texture.minFilter should be set to THREE.NearestFilter or THREE.LinearFilter.');\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (extensions.has('EXT_texture_filter_anisotropic') === true) {\n\t\t\t\tconst extension = extensions.get('EXT_texture_filter_anisotropic');\n\t\t\t\tif (texture.type === FloatType && extensions.has('OES_texture_float_linear') === false) return; // verify extension for WebGL 1 and WebGL 2\n\n\t\t\t\tif (isWebGL2 === false && texture.type === HalfFloatType && extensions.has('OES_texture_half_float_linear') === false) return; // verify extension for WebGL 1 only\n\n\t\t\t\tif (texture.anisotropy > 1 || properties.get(texture).__currentAnisotropy) {\n\t\t\t\t\t_gl.texParameterf(textureType, extension.TEXTURE_MAX_ANISOTROPY_EXT, Math.min(texture.anisotropy, capabilities.getMaxAnisotropy()));\n\n\t\t\t\t\tproperties.get(texture).__currentAnisotropy = texture.anisotropy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction initTexture(textureProperties, texture) {\n\t\t\tlet forceUpload = false;\n\n\t\t\tif (textureProperties.__webglInit === undefined) {\n\t\t\t\ttextureProperties.__webglInit = true;\n\t\t\t\ttexture.addEventListener('dispose', onTextureDispose);\n\t\t\t} // create Source <-> WebGLTextures mapping if necessary\n\n\n\t\t\tconst source = texture.source;\n\n\t\t\tlet webglTextures = _sources.get(source);\n\n\t\t\tif (webglTextures === undefined) {\n\t\t\t\twebglTextures = {};\n\n\t\t\t\t_sources.set(source, webglTextures);\n\t\t\t} // check if there is already a WebGLTexture object for the given texture parameters\n\n\n\t\t\tconst textureCacheKey = getTextureCacheKey(texture);\n\n\t\t\tif (textureCacheKey !== textureProperties.__cacheKey) {\n\t\t\t\t// if not, create a new instance of WebGLTexture\n\t\t\t\tif (webglTextures[textureCacheKey] === undefined) {\n\t\t\t\t\t// create new entry\n\t\t\t\t\twebglTextures[textureCacheKey] = {\n\t\t\t\t\t\ttexture: _gl.createTexture(),\n\t\t\t\t\t\tusedTimes: 0\n\t\t\t\t\t};\n\t\t\t\t\tinfo.memory.textures++; // when a new instance of WebGLTexture was created, a texture upload is required\n\t\t\t\t\t// even if the image contents are identical\n\n\t\t\t\t\tforceUpload = true;\n\t\t\t\t}\n\n\t\t\t\twebglTextures[textureCacheKey].usedTimes++; // every time the texture cache key changes, it's necessary to check if an instance of\n\t\t\t\t// WebGLTexture can be deleted in order to avoid a memory leak.\n\n\t\t\t\tconst webglTexture = webglTextures[textureProperties.__cacheKey];\n\n\t\t\t\tif (webglTexture !== undefined) {\n\t\t\t\t\twebglTextures[textureProperties.__cacheKey].usedTimes--;\n\n\t\t\t\t\tif (webglTexture.usedTimes === 0) {\n\t\t\t\t\t\tdeleteTexture(texture);\n\t\t\t\t\t}\n\t\t\t\t} // store references to cache key and WebGLTexture object\n\n\n\t\t\t\ttextureProperties.__cacheKey = textureCacheKey;\n\t\t\t\ttextureProperties.__webglTexture = webglTextures[textureCacheKey].texture;\n\t\t\t}\n\n\t\t\treturn forceUpload;\n\t\t}\n\n\t\tfunction uploadTexture(textureProperties, texture, slot) {\n\t\t\tlet textureType = _gl.TEXTURE_2D;\n\t\t\tif (texture.isDataArrayTexture) textureType = _gl.TEXTURE_2D_ARRAY;\n\t\t\tif (texture.isData3DTexture) textureType = _gl.TEXTURE_3D;\n\t\t\tconst forceUpload = initTexture(textureProperties, texture);\n\t\t\tconst source = texture.source;\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(textureType, textureProperties.__webglTexture);\n\n\t\t\tif (source.version !== source.__currentVersion || forceUpload === true) {\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL, texture.flipY);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, texture.premultiplyAlpha);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_ALIGNMENT, texture.unpackAlignment);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, _gl.NONE);\n\n\t\t\t\tconst needsPowerOfTwo = textureNeedsPowerOfTwo(texture) && isPowerOfTwo$1(texture.image) === false;\n\t\t\t\tlet image = resizeImage(texture.image, needsPowerOfTwo, false, maxTextureSize);\n\t\t\t\timage = verifyColorSpace(texture, image);\n\t\t\t\tconst supportsMips = isPowerOfTwo$1(image) || isWebGL2,\n\t\t\t\t\t\t\tglFormat = utils.convert(texture.format, texture.encoding);\n\t\t\t\tlet glType = utils.convert(texture.type),\n\t\t\t\t\t\tglInternalFormat = getInternalFormat(texture.internalFormat, glFormat, glType, texture.encoding, texture.isVideoTexture);\n\t\t\t\tsetTextureParameters(textureType, texture, supportsMips);\n\t\t\t\tlet mipmap;\n\t\t\t\tconst mipmaps = texture.mipmaps;\n\t\t\t\tconst useTexStorage = isWebGL2 && texture.isVideoTexture !== true;\n\t\t\t\tconst allocateMemory = source.__currentVersion === undefined || forceUpload === true;\n\t\t\t\tconst levels = getMipLevels(texture, image, supportsMips);\n\n\t\t\t\tif (texture.isDepthTexture) {\n\t\t\t\t\t// populate depth texture with dummy data\n\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT;\n\n\t\t\t\t\tif (isWebGL2) {\n\t\t\t\t\t\tif (texture.type === FloatType) {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT32F;\n\t\t\t\t\t\t} else if (texture.type === UnsignedIntType) {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT24;\n\t\t\t\t\t\t} else if (texture.type === UnsignedInt248Type) {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH24_STENCIL8;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT16; // WebGL2 requires sized internalformat for glTexImage2D\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (texture.type === FloatType) {\n\t\t\t\t\t\t\tconsole.error('WebGLRenderer: Floating point depth texture requires WebGL2.');\n\t\t\t\t\t\t}\n\t\t\t\t\t} // validation checks for WebGL 1\n\n\n\t\t\t\t\tif (texture.format === DepthFormat && glInternalFormat === _gl.DEPTH_COMPONENT) {\n\t\t\t\t\t\t// The error INVALID_OPERATION is generated by texImage2D if format and internalformat are\n\t\t\t\t\t\t// DEPTH_COMPONENT and type is not UNSIGNED_SHORT or UNSIGNED_INT\n\t\t\t\t\t\t// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)\n\t\t\t\t\t\tif (texture.type !== UnsignedShortType && texture.type !== UnsignedIntType) {\n\t\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Use UnsignedShortType or UnsignedIntType for DepthFormat DepthTexture.');\n\t\t\t\t\t\t\ttexture.type = UnsignedIntType;\n\t\t\t\t\t\t\tglType = utils.convert(texture.type);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (texture.format === DepthStencilFormat && glInternalFormat === _gl.DEPTH_COMPONENT) {\n\t\t\t\t\t\t// Depth stencil textures need the DEPTH_STENCIL internal format\n\t\t\t\t\t\t// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)\n\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_STENCIL; // The error INVALID_OPERATION is generated by texImage2D if format and internalformat are\n\t\t\t\t\t\t// DEPTH_STENCIL and type is not UNSIGNED_INT_24_8_WEBGL.\n\t\t\t\t\t\t// (https://www.khronos.org/registry/webgl/extensions/WEBGL_depth_texture/)\n\n\t\t\t\t\t\tif (texture.type !== UnsignedInt248Type) {\n\t\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Use UnsignedInt248Type for DepthStencilFormat DepthTexture.');\n\t\t\t\t\t\t\ttexture.type = UnsignedInt248Type;\n\t\t\t\t\t\t\tglType = utils.convert(texture.type);\n\t\t\t\t\t\t}\n\t\t\t\t\t} //\n\n\n\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, 1, glInternalFormat, image.width, image.height);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, 0, glInternalFormat, image.width, image.height, 0, glFormat, glType, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (texture.isDataTexture) {\n\t\t\t\t\t// use manually created mipmaps if available\n\t\t\t\t\t// if there are no manual mipmaps\n\t\t\t\t\t// set 0 level mipmap and then use GL to generate other mipmap levels\n\t\t\t\t\tif (mipmaps.length > 0 && supportsMips) {\n\t\t\t\t\t\tif (useTexStorage && allocateMemory) {\n\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, mipmaps[0].width, mipmaps[0].height);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (let i = 0, il = mipmaps.length; i < il; i++) {\n\t\t\t\t\t\t\tmipmap = mipmaps[i];\n\n\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_2D, i, 0, 0, mipmap.width, mipmap.height, glFormat, glType, mipmap.data);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, i, glInternalFormat, mipmap.width, mipmap.height, 0, glFormat, glType, mipmap.data);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttexture.generateMipmaps = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, image.width, image.height);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_2D, 0, 0, 0, image.width, image.height, glFormat, glType, image.data);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, 0, glInternalFormat, image.width, image.height, 0, glFormat, glType, image.data);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (texture.isCompressedTexture) {\n\t\t\t\t\tif (useTexStorage && allocateMemory) {\n\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, mipmaps[0].width, mipmaps[0].height);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let i = 0, il = mipmaps.length; i < il; i++) {\n\t\t\t\t\t\tmipmap = mipmaps[i];\n\n\t\t\t\t\t\tif (texture.format !== RGBAFormat) {\n\t\t\t\t\t\t\tif (glFormat !== null) {\n\t\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\t\tstate.compressedTexSubImage2D(_gl.TEXTURE_2D, i, 0, 0, mipmap.width, mipmap.height, glFormat, mipmap.data);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tstate.compressedTexImage2D(_gl.TEXTURE_2D, i, glInternalFormat, mipmap.width, mipmap.height, 0, mipmap.data);\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\tconsole.warn('THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()');\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_2D, i, 0, 0, mipmap.width, mipmap.height, glFormat, glType, mipmap.data);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, i, glInternalFormat, mipmap.width, mipmap.height, 0, glFormat, glType, mipmap.data);\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} else if (texture.isDataArrayTexture) {\n\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\t\tstate.texStorage3D(_gl.TEXTURE_2D_ARRAY, levels, glInternalFormat, image.width, image.height, image.depth);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstate.texSubImage3D(_gl.TEXTURE_2D_ARRAY, 0, 0, 0, 0, image.width, image.height, image.depth, glFormat, glType, image.data);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate.texImage3D(_gl.TEXTURE_2D_ARRAY, 0, glInternalFormat, image.width, image.height, image.depth, 0, glFormat, glType, image.data);\n\t\t\t\t\t}\n\t\t\t\t} else if (texture.isData3DTexture) {\n\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\t\tstate.texStorage3D(_gl.TEXTURE_3D, levels, glInternalFormat, image.width, image.height, image.depth);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstate.texSubImage3D(_gl.TEXTURE_3D, 0, 0, 0, 0, image.width, image.height, image.depth, glFormat, glType, image.data);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate.texImage3D(_gl.TEXTURE_3D, 0, glInternalFormat, image.width, image.height, image.depth, 0, glFormat, glType, image.data);\n\t\t\t\t\t}\n\t\t\t\t} else if (texture.isFramebufferTexture) {\n\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, image.width, image.height);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tlet width = image.width,\n\t\t\t\t\t\t\t\t\theight = image.height;\n\n\t\t\t\t\t\t\tfor (let i = 0; i < levels; i++) {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, i, glInternalFormat, width, height, 0, glFormat, glType, null);\n\t\t\t\t\t\t\t\twidth >>= 1;\n\t\t\t\t\t\t\t\theight >>= 1;\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} else {\n\t\t\t\t\t// regular Texture (image, video, canvas)\n\t\t\t\t\t// use manually created mipmaps if available\n\t\t\t\t\t// if there are no manual mipmaps\n\t\t\t\t\t// set 0 level mipmap and then use GL to generate other mipmap levels\n\t\t\t\t\tif (mipmaps.length > 0 && supportsMips) {\n\t\t\t\t\t\tif (useTexStorage && allocateMemory) {\n\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, mipmaps[0].width, mipmaps[0].height);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tfor (let i = 0, il = mipmaps.length; i < il; i++) {\n\t\t\t\t\t\t\tmipmap = mipmaps[i];\n\n\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_2D, i, 0, 0, glFormat, glType, mipmap);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, i, glInternalFormat, glFormat, glType, mipmap);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttexture.generateMipmaps = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\tif (allocateMemory) {\n\t\t\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_2D, levels, glInternalFormat, image.width, image.height);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_2D, 0, 0, 0, glFormat, glType, image);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_2D, 0, glInternalFormat, glFormat, glType, image);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (textureNeedsGenerateMipmaps(texture, supportsMips)) {\n\t\t\t\t\tgenerateMipmap(textureType);\n\t\t\t\t}\n\n\t\t\t\tsource.__currentVersion = source.version;\n\t\t\t\tif (texture.onUpdate) texture.onUpdate(texture);\n\t\t\t}\n\n\t\t\ttextureProperties.__version = texture.version;\n\t\t}\n\n\t\tfunction uploadCubeTexture(textureProperties, texture, slot) {\n\t\t\tif (texture.image.length !== 6) return;\n\t\t\tconst forceUpload = initTexture(textureProperties, texture);\n\t\t\tconst source = texture.source;\n\t\t\tstate.activeTexture(_gl.TEXTURE0 + slot);\n\t\t\tstate.bindTexture(_gl.TEXTURE_CUBE_MAP, textureProperties.__webglTexture);\n\n\t\t\tif (source.version !== source.__currentVersion || forceUpload === true) {\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL, texture.flipY);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, texture.premultiplyAlpha);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_ALIGNMENT, texture.unpackAlignment);\n\n\t\t\t\t_gl.pixelStorei(_gl.UNPACK_COLORSPACE_CONVERSION_WEBGL, _gl.NONE);\n\n\t\t\t\tconst isCompressed = texture.isCompressedTexture || texture.image[0].isCompressedTexture;\n\t\t\t\tconst isDataTexture = texture.image[0] && texture.image[0].isDataTexture;\n\t\t\t\tconst cubeImage = [];\n\n\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\tif (!isCompressed && !isDataTexture) {\n\t\t\t\t\t\tcubeImage[i] = resizeImage(texture.image[i], false, true, maxCubemapSize);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcubeImage[i] = isDataTexture ? texture.image[i].image : texture.image[i];\n\t\t\t\t\t}\n\n\t\t\t\t\tcubeImage[i] = verifyColorSpace(texture, cubeImage[i]);\n\t\t\t\t}\n\n\t\t\t\tconst image = cubeImage[0],\n\t\t\t\t\t\t\tsupportsMips = isPowerOfTwo$1(image) || isWebGL2,\n\t\t\t\t\t\t\tglFormat = utils.convert(texture.format, texture.encoding),\n\t\t\t\t\t\t\tglType = utils.convert(texture.type),\n\t\t\t\t\t\t\tglInternalFormat = getInternalFormat(texture.internalFormat, glFormat, glType, texture.encoding);\n\t\t\t\tconst useTexStorage = isWebGL2 && texture.isVideoTexture !== true;\n\t\t\t\tconst allocateMemory = source.__currentVersion === undefined || forceUpload === true;\n\t\t\t\tlet levels = getMipLevels(texture, image, supportsMips);\n\t\t\t\tsetTextureParameters(_gl.TEXTURE_CUBE_MAP, texture, supportsMips);\n\t\t\t\tlet mipmaps;\n\n\t\t\t\tif (isCompressed) {\n\t\t\t\t\tif (useTexStorage && allocateMemory) {\n\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_CUBE_MAP, levels, glInternalFormat, image.width, image.height);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\t\tmipmaps = cubeImage[i].mipmaps;\n\n\t\t\t\t\t\tfor (let j = 0; j < mipmaps.length; j++) {\n\t\t\t\t\t\t\tconst mipmap = mipmaps[j];\n\n\t\t\t\t\t\t\tif (texture.format !== RGBAFormat) {\n\t\t\t\t\t\t\t\tif (glFormat !== null) {\n\t\t\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\t\t\tstate.compressedTexSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j, 0, 0, mipmap.width, mipmap.height, glFormat, mipmap.data);\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tstate.compressedTexImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j, glInternalFormat, mipmap.width, mipmap.height, 0, mipmap.data);\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()');\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\tif (useTexStorage) {\n\t\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j, 0, 0, mipmap.width, mipmap.height, glFormat, glType, mipmap.data);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j, glInternalFormat, mipmap.width, mipmap.height, 0, glFormat, glType, mipmap.data);\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} else {\n\t\t\t\t\tmipmaps = texture.mipmaps;\n\n\t\t\t\t\tif (useTexStorage && allocateMemory) {\n\t\t\t\t\t\t// TODO: Uniformly handle mipmap definitions\n\t\t\t\t\t\t// Normal textures and compressed cube textures define base level + mips with their mipmap array\n\t\t\t\t\t\t// Uncompressed cube textures use their mipmap array only for mips (no base level)\n\t\t\t\t\t\tif (mipmaps.length > 0) levels++;\n\t\t\t\t\t\tstate.texStorage2D(_gl.TEXTURE_CUBE_MAP, levels, glInternalFormat, cubeImage[0].width, cubeImage[0].height);\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\t\tif (isDataTexture) {\n\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, 0, 0, cubeImage[i].width, cubeImage[i].height, glFormat, glType, cubeImage[i].data);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, glInternalFormat, cubeImage[i].width, cubeImage[i].height, 0, glFormat, glType, cubeImage[i].data);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tfor (let j = 0; j < mipmaps.length; j++) {\n\t\t\t\t\t\t\t\tconst mipmap = mipmaps[j];\n\t\t\t\t\t\t\t\tconst mipmapImage = mipmap.image[i].image;\n\n\t\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j + 1, 0, 0, mipmapImage.width, mipmapImage.height, glFormat, glType, mipmapImage.data);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j + 1, glInternalFormat, mipmapImage.width, mipmapImage.height, 0, glFormat, glType, mipmapImage.data);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, 0, 0, glFormat, glType, cubeImage[i]);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, 0, glInternalFormat, glFormat, glType, cubeImage[i]);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tfor (let j = 0; j < mipmaps.length; j++) {\n\t\t\t\t\t\t\t\tconst mipmap = mipmaps[j];\n\n\t\t\t\t\t\t\t\tif (useTexStorage) {\n\t\t\t\t\t\t\t\t\tstate.texSubImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j + 1, 0, 0, glFormat, glType, mipmap.image[i]);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tstate.texImage2D(_gl.TEXTURE_CUBE_MAP_POSITIVE_X + i, j + 1, glInternalFormat, glFormat, glType, mipmap.image[i]);\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\tif (textureNeedsGenerateMipmaps(texture, supportsMips)) {\n\t\t\t\t\t// We assume images for cube map have the same size.\n\t\t\t\t\tgenerateMipmap(_gl.TEXTURE_CUBE_MAP);\n\t\t\t\t}\n\n\t\t\t\tsource.__currentVersion = source.version;\n\t\t\t\tif (texture.onUpdate) texture.onUpdate(texture);\n\t\t\t}\n\n\t\t\ttextureProperties.__version = texture.version;\n\t\t} // Render targets\n\t\t// Setup storage for target texture and bind it to correct framebuffer\n\n\n\t\tfunction setupFrameBufferTexture(framebuffer, renderTarget, texture, attachment, textureTarget) {\n\t\t\tconst glFormat = utils.convert(texture.format, texture.encoding);\n\t\t\tconst glType = utils.convert(texture.type);\n\t\t\tconst glInternalFormat = getInternalFormat(texture.internalFormat, glFormat, glType, texture.encoding);\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\n\t\t\tif (!renderTargetProperties.__hasExternalTextures) {\n\t\t\t\tif (textureTarget === _gl.TEXTURE_3D || textureTarget === _gl.TEXTURE_2D_ARRAY) {\n\t\t\t\t\tstate.texImage3D(textureTarget, 0, glInternalFormat, renderTarget.width, renderTarget.height, renderTarget.depth, 0, glFormat, glType, null);\n\t\t\t\t} else {\n\t\t\t\t\tstate.texImage2D(textureTarget, 0, glInternalFormat, renderTarget.width, renderTarget.height, 0, glFormat, glType, null);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, framebuffer);\n\n\t\t\tif (useMultisampledRTT(renderTarget)) {\n\t\t\t\tmultisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER, attachment, textureTarget, properties.get(texture).__webglTexture, 0, getRenderTargetSamples(renderTarget));\n\t\t\t} else {\n\t\t\t\t_gl.framebufferTexture2D(_gl.FRAMEBUFFER, attachment, textureTarget, properties.get(texture).__webglTexture, 0);\n\t\t\t}\n\n\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, null);\n\t\t} // Setup storage for internal depth/stencil buffers and bind to correct framebuffer\n\n\n\t\tfunction setupRenderBufferStorage(renderbuffer, renderTarget, isMultisample) {\n\t\t\t_gl.bindRenderbuffer(_gl.RENDERBUFFER, renderbuffer);\n\n\t\t\tif (renderTarget.depthBuffer && !renderTarget.stencilBuffer) {\n\t\t\t\tlet glInternalFormat = _gl.DEPTH_COMPONENT16;\n\n\t\t\t\tif (isMultisample || useMultisampledRTT(renderTarget)) {\n\t\t\t\t\tconst depthTexture = renderTarget.depthTexture;\n\n\t\t\t\t\tif (depthTexture && depthTexture.isDepthTexture) {\n\t\t\t\t\t\tif (depthTexture.type === FloatType) {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT32F;\n\t\t\t\t\t\t} else if (depthTexture.type === UnsignedIntType) {\n\t\t\t\t\t\t\tglInternalFormat = _gl.DEPTH_COMPONENT24;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tconst samples = getRenderTargetSamples(renderTarget);\n\n\t\t\t\t\tif (useMultisampledRTT(renderTarget)) {\n\t\t\t\t\t\tmultisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER, samples, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER, samples, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\t_gl.renderbufferStorage(_gl.RENDERBUFFER, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t}\n\n\t\t\t\t_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER, _gl.DEPTH_ATTACHMENT, _gl.RENDERBUFFER, renderbuffer);\n\t\t\t} else if (renderTarget.depthBuffer && renderTarget.stencilBuffer) {\n\t\t\t\tconst samples = getRenderTargetSamples(renderTarget);\n\n\t\t\t\tif (isMultisample && useMultisampledRTT(renderTarget) === false) {\n\t\t\t\t\t_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER, samples, _gl.DEPTH24_STENCIL8, renderTarget.width, renderTarget.height);\n\t\t\t\t} else if (useMultisampledRTT(renderTarget)) {\n\t\t\t\t\tmultisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER, samples, _gl.DEPTH24_STENCIL8, renderTarget.width, renderTarget.height);\n\t\t\t\t} else {\n\t\t\t\t\t_gl.renderbufferStorage(_gl.RENDERBUFFER, _gl.DEPTH_STENCIL, renderTarget.width, renderTarget.height);\n\t\t\t\t}\n\n\t\t\t\t_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER, _gl.DEPTH_STENCIL_ATTACHMENT, _gl.RENDERBUFFER, renderbuffer);\n\t\t\t} else {\n\t\t\t\tconst textures = renderTarget.isWebGLMultipleRenderTargets === true ? renderTarget.texture : [renderTarget.texture];\n\n\t\t\t\tfor (let i = 0; i < textures.length; i++) {\n\t\t\t\t\tconst texture = textures[i];\n\t\t\t\t\tconst glFormat = utils.convert(texture.format, texture.encoding);\n\t\t\t\t\tconst glType = utils.convert(texture.type);\n\t\t\t\t\tconst glInternalFormat = getInternalFormat(texture.internalFormat, glFormat, glType, texture.encoding);\n\t\t\t\t\tconst samples = getRenderTargetSamples(renderTarget);\n\n\t\t\t\t\tif (isMultisample && useMultisampledRTT(renderTarget) === false) {\n\t\t\t\t\t\t_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER, samples, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t\t} else if (useMultisampledRTT(renderTarget)) {\n\t\t\t\t\t\tmultisampledRTTExt.renderbufferStorageMultisampleEXT(_gl.RENDERBUFFER, samples, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t_gl.renderbufferStorage(_gl.RENDERBUFFER, glInternalFormat, renderTarget.width, renderTarget.height);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t_gl.bindRenderbuffer(_gl.RENDERBUFFER, null);\n\t\t} // Setup resources for a Depth Texture for a FBO (needs an extension)\n\n\n\t\tfunction setupDepthTexture(framebuffer, renderTarget) {\n\t\t\tconst isCube = renderTarget && renderTarget.isWebGLCubeRenderTarget;\n\t\t\tif (isCube) throw new Error('Depth Texture with cube render targets is not supported');\n\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, framebuffer);\n\n\t\t\tif (!(renderTarget.depthTexture && renderTarget.depthTexture.isDepthTexture)) {\n\t\t\t\tthrow new Error('renderTarget.depthTexture must be an instance of THREE.DepthTexture');\n\t\t\t} // upload an empty depth texture with framebuffer size\n\n\n\t\t\tif (!properties.get(renderTarget.depthTexture).__webglTexture || renderTarget.depthTexture.image.width !== renderTarget.width || renderTarget.depthTexture.image.height !== renderTarget.height) {\n\t\t\t\trenderTarget.depthTexture.image.width = renderTarget.width;\n\t\t\t\trenderTarget.depthTexture.image.height = renderTarget.height;\n\t\t\t\trenderTarget.depthTexture.needsUpdate = true;\n\t\t\t}\n\n\t\t\tsetTexture2D(renderTarget.depthTexture, 0);\n\n\t\t\tconst webglDepthTexture = properties.get(renderTarget.depthTexture).__webglTexture;\n\n\t\t\tconst samples = getRenderTargetSamples(renderTarget);\n\n\t\t\tif (renderTarget.depthTexture.format === DepthFormat) {\n\t\t\t\tif (useMultisampledRTT(renderTarget)) {\n\t\t\t\t\tmultisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER, _gl.DEPTH_ATTACHMENT, _gl.TEXTURE_2D, webglDepthTexture, 0, samples);\n\t\t\t\t} else {\n\t\t\t\t\t_gl.framebufferTexture2D(_gl.FRAMEBUFFER, _gl.DEPTH_ATTACHMENT, _gl.TEXTURE_2D, webglDepthTexture, 0);\n\t\t\t\t}\n\t\t\t} else if (renderTarget.depthTexture.format === DepthStencilFormat) {\n\t\t\t\tif (useMultisampledRTT(renderTarget)) {\n\t\t\t\t\tmultisampledRTTExt.framebufferTexture2DMultisampleEXT(_gl.FRAMEBUFFER, _gl.DEPTH_STENCIL_ATTACHMENT, _gl.TEXTURE_2D, webglDepthTexture, 0, samples);\n\t\t\t\t} else {\n\t\t\t\t\t_gl.framebufferTexture2D(_gl.FRAMEBUFFER, _gl.DEPTH_STENCIL_ATTACHMENT, _gl.TEXTURE_2D, webglDepthTexture, 0);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow new Error('Unknown depthTexture format');\n\t\t\t}\n\t\t} // Setup GL resources for a non-texture depth buffer\n\n\n\t\tfunction setupDepthRenderbuffer(renderTarget) {\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\tconst isCube = renderTarget.isWebGLCubeRenderTarget === true;\n\n\t\t\tif (renderTarget.depthTexture && !renderTargetProperties.__autoAllocateDepthBuffer) {\n\t\t\t\tif (isCube) throw new Error('target.depthTexture not supported in Cube render targets');\n\t\t\t\tsetupDepthTexture(renderTargetProperties.__webglFramebuffer, renderTarget);\n\t\t\t} else {\n\t\t\t\tif (isCube) {\n\t\t\t\t\trenderTargetProperties.__webglDepthbuffer = [];\n\n\t\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglFramebuffer[i]);\n\t\t\t\t\t\trenderTargetProperties.__webglDepthbuffer[i] = _gl.createRenderbuffer();\n\t\t\t\t\t\tsetupRenderBufferStorage(renderTargetProperties.__webglDepthbuffer[i], renderTarget, false);\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglFramebuffer);\n\t\t\t\t\trenderTargetProperties.__webglDepthbuffer = _gl.createRenderbuffer();\n\t\t\t\t\tsetupRenderBufferStorage(renderTargetProperties.__webglDepthbuffer, renderTarget, false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, null);\n\t\t} // rebind framebuffer with external textures\n\n\n\t\tfunction rebindTextures(renderTarget, colorTexture, depthTexture) {\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\n\t\t\tif (colorTexture !== undefined) {\n\t\t\t\tsetupFrameBufferTexture(renderTargetProperties.__webglFramebuffer, renderTarget, renderTarget.texture, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_2D);\n\t\t\t}\n\n\t\t\tif (depthTexture !== undefined) {\n\t\t\t\tsetupDepthRenderbuffer(renderTarget);\n\t\t\t}\n\t\t} // Set up GL resources for the render target\n\n\n\t\tfunction setupRenderTarget(renderTarget) {\n\t\t\tconst texture = renderTarget.texture;\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\tconst textureProperties = properties.get(texture);\n\t\t\trenderTarget.addEventListener('dispose', onRenderTargetDispose);\n\n\t\t\tif (renderTarget.isWebGLMultipleRenderTargets !== true) {\n\t\t\t\tif (textureProperties.__webglTexture === undefined) {\n\t\t\t\t\ttextureProperties.__webglTexture = _gl.createTexture();\n\t\t\t\t}\n\n\t\t\t\ttextureProperties.__version = texture.version;\n\t\t\t\tinfo.memory.textures++;\n\t\t\t}\n\n\t\t\tconst isCube = renderTarget.isWebGLCubeRenderTarget === true;\n\t\t\tconst isMultipleRenderTargets = renderTarget.isWebGLMultipleRenderTargets === true;\n\t\t\tconst supportsMips = isPowerOfTwo$1(renderTarget) || isWebGL2; // Setup framebuffer\n\n\t\t\tif (isCube) {\n\t\t\t\trenderTargetProperties.__webglFramebuffer = [];\n\n\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\trenderTargetProperties.__webglFramebuffer[i] = _gl.createFramebuffer();\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trenderTargetProperties.__webglFramebuffer = _gl.createFramebuffer();\n\n\t\t\t\tif (isMultipleRenderTargets) {\n\t\t\t\t\tif (capabilities.drawBuffers) {\n\t\t\t\t\t\tconst textures = renderTarget.texture;\n\n\t\t\t\t\t\tfor (let i = 0, il = textures.length; i < il; i++) {\n\t\t\t\t\t\t\tconst attachmentProperties = properties.get(textures[i]);\n\n\t\t\t\t\t\t\tif (attachmentProperties.__webglTexture === undefined) {\n\t\t\t\t\t\t\t\tattachmentProperties.__webglTexture = _gl.createTexture();\n\t\t\t\t\t\t\t\tinfo.memory.textures++;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: WebGLMultipleRenderTargets can only be used with WebGL2 or WEBGL_draw_buffers extension.');\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (isWebGL2 && renderTarget.samples > 0 && useMultisampledRTT(renderTarget) === false) {\n\t\t\t\t\tconst textures = isMultipleRenderTargets ? texture : [texture];\n\t\t\t\t\trenderTargetProperties.__webglMultisampledFramebuffer = _gl.createFramebuffer();\n\t\t\t\t\trenderTargetProperties.__webglColorRenderbuffer = [];\n\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglMultisampledFramebuffer);\n\n\t\t\t\t\tfor (let i = 0; i < textures.length; i++) {\n\t\t\t\t\t\tconst texture = textures[i];\n\t\t\t\t\t\trenderTargetProperties.__webglColorRenderbuffer[i] = _gl.createRenderbuffer();\n\n\t\t\t\t\t\t_gl.bindRenderbuffer(_gl.RENDERBUFFER, renderTargetProperties.__webglColorRenderbuffer[i]);\n\n\t\t\t\t\t\tconst glFormat = utils.convert(texture.format, texture.encoding);\n\t\t\t\t\t\tconst glType = utils.convert(texture.type);\n\t\t\t\t\t\tconst glInternalFormat = getInternalFormat(texture.internalFormat, glFormat, glType, texture.encoding);\n\t\t\t\t\t\tconst samples = getRenderTargetSamples(renderTarget);\n\n\t\t\t\t\t\t_gl.renderbufferStorageMultisample(_gl.RENDERBUFFER, samples, glInternalFormat, renderTarget.width, renderTarget.height);\n\n\t\t\t\t\t\t_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0 + i, _gl.RENDERBUFFER, renderTargetProperties.__webglColorRenderbuffer[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t_gl.bindRenderbuffer(_gl.RENDERBUFFER, null);\n\n\t\t\t\t\tif (renderTarget.depthBuffer) {\n\t\t\t\t\t\trenderTargetProperties.__webglDepthRenderbuffer = _gl.createRenderbuffer();\n\t\t\t\t\t\tsetupRenderBufferStorage(renderTargetProperties.__webglDepthRenderbuffer, renderTarget, true);\n\t\t\t\t\t}\n\n\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, null);\n\t\t\t\t}\n\t\t\t} // Setup color buffer\n\n\n\t\t\tif (isCube) {\n\t\t\t\tstate.bindTexture(_gl.TEXTURE_CUBE_MAP, textureProperties.__webglTexture);\n\t\t\t\tsetTextureParameters(_gl.TEXTURE_CUBE_MAP, texture, supportsMips);\n\n\t\t\t\tfor (let i = 0; i < 6; i++) {\n\t\t\t\t\tsetupFrameBufferTexture(renderTargetProperties.__webglFramebuffer[i], renderTarget, texture, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + i);\n\t\t\t\t}\n\n\t\t\t\tif (textureNeedsGenerateMipmaps(texture, supportsMips)) {\n\t\t\t\t\tgenerateMipmap(_gl.TEXTURE_CUBE_MAP);\n\t\t\t\t}\n\n\t\t\t\tstate.unbindTexture();\n\t\t\t} else if (isMultipleRenderTargets) {\n\t\t\t\tconst textures = renderTarget.texture;\n\n\t\t\t\tfor (let i = 0, il = textures.length; i < il; i++) {\n\t\t\t\t\tconst attachment = textures[i];\n\t\t\t\t\tconst attachmentProperties = properties.get(attachment);\n\t\t\t\t\tstate.bindTexture(_gl.TEXTURE_2D, attachmentProperties.__webglTexture);\n\t\t\t\t\tsetTextureParameters(_gl.TEXTURE_2D, attachment, supportsMips);\n\t\t\t\t\tsetupFrameBufferTexture(renderTargetProperties.__webglFramebuffer, renderTarget, attachment, _gl.COLOR_ATTACHMENT0 + i, _gl.TEXTURE_2D);\n\n\t\t\t\t\tif (textureNeedsGenerateMipmaps(attachment, supportsMips)) {\n\t\t\t\t\t\tgenerateMipmap(_gl.TEXTURE_2D);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tstate.unbindTexture();\n\t\t\t} else {\n\t\t\t\tlet glTextureType = _gl.TEXTURE_2D;\n\n\t\t\t\tif (renderTarget.isWebGL3DRenderTarget || renderTarget.isWebGLArrayRenderTarget) {\n\t\t\t\t\tif (isWebGL2) {\n\t\t\t\t\t\tglTextureType = renderTarget.isWebGL3DRenderTarget ? _gl.TEXTURE_3D : _gl.TEXTURE_2D_ARRAY;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error('THREE.WebGLTextures: THREE.Data3DTexture and THREE.DataArrayTexture only supported with WebGL2.');\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tstate.bindTexture(glTextureType, textureProperties.__webglTexture);\n\t\t\t\tsetTextureParameters(glTextureType, texture, supportsMips);\n\t\t\t\tsetupFrameBufferTexture(renderTargetProperties.__webglFramebuffer, renderTarget, texture, _gl.COLOR_ATTACHMENT0, glTextureType);\n\n\t\t\t\tif (textureNeedsGenerateMipmaps(texture, supportsMips)) {\n\t\t\t\t\tgenerateMipmap(glTextureType);\n\t\t\t\t}\n\n\t\t\t\tstate.unbindTexture();\n\t\t\t} // Setup depth and stencil buffers\n\n\n\t\t\tif (renderTarget.depthBuffer) {\n\t\t\t\tsetupDepthRenderbuffer(renderTarget);\n\t\t\t}\n\t\t}\n\n\t\tfunction updateRenderTargetMipmap(renderTarget) {\n\t\t\tconst supportsMips = isPowerOfTwo$1(renderTarget) || isWebGL2;\n\t\t\tconst textures = renderTarget.isWebGLMultipleRenderTargets === true ? renderTarget.texture : [renderTarget.texture];\n\n\t\t\tfor (let i = 0, il = textures.length; i < il; i++) {\n\t\t\t\tconst texture = textures[i];\n\n\t\t\t\tif (textureNeedsGenerateMipmaps(texture, supportsMips)) {\n\t\t\t\t\tconst target = renderTarget.isWebGLCubeRenderTarget ? _gl.TEXTURE_CUBE_MAP : _gl.TEXTURE_2D;\n\n\t\t\t\t\tconst webglTexture = properties.get(texture).__webglTexture;\n\n\t\t\t\t\tstate.bindTexture(target, webglTexture);\n\t\t\t\t\tgenerateMipmap(target);\n\t\t\t\t\tstate.unbindTexture();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction updateMultisampleRenderTarget(renderTarget) {\n\t\t\tif (isWebGL2 && renderTarget.samples > 0 && useMultisampledRTT(renderTarget) === false) {\n\t\t\t\tconst textures = renderTarget.isWebGLMultipleRenderTargets ? renderTarget.texture : [renderTarget.texture];\n\t\t\t\tconst width = renderTarget.width;\n\t\t\t\tconst height = renderTarget.height;\n\t\t\t\tlet mask = _gl.COLOR_BUFFER_BIT;\n\t\t\t\tconst invalidationArray = [];\n\t\t\t\tconst depthStyle = renderTarget.stencilBuffer ? _gl.DEPTH_STENCIL_ATTACHMENT : _gl.DEPTH_ATTACHMENT;\n\t\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\t\tconst isMultipleRenderTargets = renderTarget.isWebGLMultipleRenderTargets === true; // If MRT we need to remove FBO attachments\n\n\t\t\t\tif (isMultipleRenderTargets) {\n\t\t\t\t\tfor (let i = 0; i < textures.length; i++) {\n\t\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglMultisampledFramebuffer);\n\n\t\t\t\t\t\t_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0 + i, _gl.RENDERBUFFER, null);\n\n\t\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglFramebuffer);\n\n\t\t\t\t\t\t_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER, _gl.COLOR_ATTACHMENT0 + i, _gl.TEXTURE_2D, null, 0);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tstate.bindFramebuffer(_gl.READ_FRAMEBUFFER, renderTargetProperties.__webglMultisampledFramebuffer);\n\t\t\t\tstate.bindFramebuffer(_gl.DRAW_FRAMEBUFFER, renderTargetProperties.__webglFramebuffer);\n\n\t\t\t\tfor (let i = 0; i < textures.length; i++) {\n\t\t\t\t\tinvalidationArray.push(_gl.COLOR_ATTACHMENT0 + i);\n\n\t\t\t\t\tif (renderTarget.depthBuffer) {\n\t\t\t\t\t\tinvalidationArray.push(depthStyle);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst ignoreDepthValues = renderTargetProperties.__ignoreDepthValues !== undefined ? renderTargetProperties.__ignoreDepthValues : false;\n\n\t\t\t\t\tif (ignoreDepthValues === false) {\n\t\t\t\t\t\tif (renderTarget.depthBuffer) mask |= _gl.DEPTH_BUFFER_BIT;\n\t\t\t\t\t\tif (renderTarget.stencilBuffer) mask |= _gl.STENCIL_BUFFER_BIT;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (isMultipleRenderTargets) {\n\t\t\t\t\t\t_gl.framebufferRenderbuffer(_gl.READ_FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.RENDERBUFFER, renderTargetProperties.__webglColorRenderbuffer[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (ignoreDepthValues === true) {\n\t\t\t\t\t\t_gl.invalidateFramebuffer(_gl.READ_FRAMEBUFFER, [depthStyle]);\n\n\t\t\t\t\t\t_gl.invalidateFramebuffer(_gl.DRAW_FRAMEBUFFER, [depthStyle]);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (isMultipleRenderTargets) {\n\t\t\t\t\t\tconst webglTexture = properties.get(textures[i]).__webglTexture;\n\n\t\t\t\t\t\t_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_2D, webglTexture, 0);\n\t\t\t\t\t}\n\n\t\t\t\t\t_gl.blitFramebuffer(0, 0, width, height, 0, 0, width, height, mask, _gl.NEAREST);\n\n\t\t\t\t\tif (supportsInvalidateFramebuffer) {\n\t\t\t\t\t\t_gl.invalidateFramebuffer(_gl.READ_FRAMEBUFFER, invalidationArray);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tstate.bindFramebuffer(_gl.READ_FRAMEBUFFER, null);\n\t\t\t\tstate.bindFramebuffer(_gl.DRAW_FRAMEBUFFER, null); // If MRT since pre-blit we removed the FBO we need to reconstruct the attachments\n\n\t\t\t\tif (isMultipleRenderTargets) {\n\t\t\t\t\tfor (let i = 0; i < textures.length; i++) {\n\t\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglMultisampledFramebuffer);\n\n\t\t\t\t\t\t_gl.framebufferRenderbuffer(_gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0 + i, _gl.RENDERBUFFER, renderTargetProperties.__webglColorRenderbuffer[i]);\n\n\t\t\t\t\t\tconst webglTexture = properties.get(textures[i]).__webglTexture;\n\n\t\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, renderTargetProperties.__webglFramebuffer);\n\n\t\t\t\t\t\t_gl.framebufferTexture2D(_gl.DRAW_FRAMEBUFFER, _gl.COLOR_ATTACHMENT0 + i, _gl.TEXTURE_2D, webglTexture, 0);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tstate.bindFramebuffer(_gl.DRAW_FRAMEBUFFER, renderTargetProperties.__webglMultisampledFramebuffer);\n\t\t\t}\n\t\t}\n\n\t\tfunction getRenderTargetSamples(renderTarget) {\n\t\t\treturn Math.min(maxSamples, renderTarget.samples);\n\t\t}\n\n\t\tfunction useMultisampledRTT(renderTarget) {\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\treturn isWebGL2 && renderTarget.samples > 0 && extensions.has('WEBGL_multisampled_render_to_texture') === true && renderTargetProperties.__useRenderToTexture !== false;\n\t\t}\n\n\t\tfunction updateVideoTexture(texture) {\n\t\t\tconst frame = info.render.frame; // Check the last frame we updated the VideoTexture\n\n\t\t\tif (_videoTextures.get(texture) !== frame) {\n\t\t\t\t_videoTextures.set(texture, frame);\n\n\t\t\t\ttexture.update();\n\t\t\t}\n\t\t}\n\n\t\tfunction verifyColorSpace(texture, image) {\n\t\t\tconst encoding = texture.encoding;\n\t\t\tconst format = texture.format;\n\t\t\tconst type = texture.type;\n\t\t\tif (texture.isCompressedTexture === true || texture.isVideoTexture === true || texture.format === _SRGBAFormat) return image;\n\n\t\t\tif (encoding !== LinearEncoding) {\n\t\t\t\t// sRGB\n\t\t\t\tif (encoding === sRGBEncoding) {\n\t\t\t\t\tif (isWebGL2 === false) {\n\t\t\t\t\t\t// in WebGL 1, try to use EXT_sRGB extension and unsized formats\n\t\t\t\t\t\tif (extensions.has('EXT_sRGB') === true && format === RGBAFormat) {\n\t\t\t\t\t\t\ttexture.format = _SRGBAFormat; // it's not possible to generate mips in WebGL 1 with this extension\n\n\t\t\t\t\t\t\ttexture.minFilter = LinearFilter;\n\t\t\t\t\t\t\ttexture.generateMipmaps = false;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// slow fallback (CPU decode)\n\t\t\t\t\t\t\timage = ImageUtils.sRGBToLinear(image);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// in WebGL 2 uncompressed textures can only be sRGB encoded if they have the RGBA8 format\n\t\t\t\t\t\tif (format !== RGBAFormat || type !== UnsignedByteType) {\n\t\t\t\t\t\t\tconsole.warn('THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.');\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('THREE.WebGLTextures: Unsupported texture encoding:', encoding);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn image;\n\t\t} //\n\n\n\t\tthis.allocateTextureUnit = allocateTextureUnit;\n\t\tthis.resetTextureUnits = resetTextureUnits;\n\t\tthis.setTexture2D = setTexture2D;\n\t\tthis.setTexture2DArray = setTexture2DArray;\n\t\tthis.setTexture3D = setTexture3D;\n\t\tthis.setTextureCube = setTextureCube;\n\t\tthis.rebindTextures = rebindTextures;\n\t\tthis.setupRenderTarget = setupRenderTarget;\n\t\tthis.updateRenderTargetMipmap = updateRenderTargetMipmap;\n\t\tthis.updateMultisampleRenderTarget = updateMultisampleRenderTarget;\n\t\tthis.setupDepthRenderbuffer = setupDepthRenderbuffer;\n\t\tthis.setupFrameBufferTexture = setupFrameBufferTexture;\n\t\tthis.useMultisampledRTT = useMultisampledRTT;\n\t}\n\n\tfunction WebGLUtils(gl, extensions, capabilities) {\n\t\tconst isWebGL2 = capabilities.isWebGL2;\n\n\t\tfunction convert(p, encoding = null) {\n\t\t\tlet extension;\n\t\t\tif (p === UnsignedByteType) return gl.UNSIGNED_BYTE;\n\t\t\tif (p === UnsignedShort4444Type) return gl.UNSIGNED_SHORT_4_4_4_4;\n\t\t\tif (p === UnsignedShort5551Type) return gl.UNSIGNED_SHORT_5_5_5_1;\n\t\t\tif (p === ByteType) return gl.BYTE;\n\t\t\tif (p === ShortType) return gl.SHORT;\n\t\t\tif (p === UnsignedShortType) return gl.UNSIGNED_SHORT;\n\t\t\tif (p === IntType) return gl.INT;\n\t\t\tif (p === UnsignedIntType) return gl.UNSIGNED_INT;\n\t\t\tif (p === FloatType) return gl.FLOAT;\n\n\t\t\tif (p === HalfFloatType) {\n\t\t\t\tif (isWebGL2) return gl.HALF_FLOAT;\n\t\t\t\textension = extensions.get('OES_texture_half_float');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\treturn extension.HALF_FLOAT_OES;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (p === AlphaFormat) return gl.ALPHA;\n\t\t\tif (p === RGBAFormat) return gl.RGBA;\n\t\t\tif (p === LuminanceFormat) return gl.LUMINANCE;\n\t\t\tif (p === LuminanceAlphaFormat) return gl.LUMINANCE_ALPHA;\n\t\t\tif (p === DepthFormat) return gl.DEPTH_COMPONENT;\n\t\t\tif (p === DepthStencilFormat) return gl.DEPTH_STENCIL;\n\t\t\tif (p === RedFormat) return gl.RED;\n\n\t\t\tif (p === RGBFormat) {\n\t\t\t\tconsole.warn('THREE.WebGLRenderer: THREE.RGBFormat has been removed. Use THREE.RGBAFormat instead. https://github.com/mrdoob/three.js/pull/23228');\n\t\t\t\treturn gl.RGBA;\n\t\t\t} // WebGL 1 sRGB fallback\n\n\n\t\t\tif (p === _SRGBAFormat) {\n\t\t\t\textension = extensions.get('EXT_sRGB');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\treturn extension.SRGB_ALPHA_EXT;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // WebGL2 formats.\n\n\n\t\t\tif (p === RedIntegerFormat) return gl.RED_INTEGER;\n\t\t\tif (p === RGFormat) return gl.RG;\n\t\t\tif (p === RGIntegerFormat) return gl.RG_INTEGER;\n\t\t\tif (p === RGBAIntegerFormat) return gl.RGBA_INTEGER; // S3TC\n\n\t\t\tif (p === RGB_S3TC_DXT1_Format || p === RGBA_S3TC_DXT1_Format || p === RGBA_S3TC_DXT3_Format || p === RGBA_S3TC_DXT5_Format) {\n\t\t\t\tif (encoding === sRGBEncoding) {\n\t\t\t\t\textension = extensions.get('WEBGL_compressed_texture_s3tc_srgb');\n\n\t\t\t\t\tif (extension !== null) {\n\t\t\t\t\t\tif (p === RGB_S3TC_DXT1_Format) return extension.COMPRESSED_SRGB_S3TC_DXT1_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT1_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT3_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT5_Format) return extension.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\textension = extensions.get('WEBGL_compressed_texture_s3tc');\n\n\t\t\t\t\tif (extension !== null) {\n\t\t\t\t\t\tif (p === RGB_S3TC_DXT1_Format) return extension.COMPRESSED_RGB_S3TC_DXT1_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT1_Format) return extension.COMPRESSED_RGBA_S3TC_DXT1_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT3_Format) return extension.COMPRESSED_RGBA_S3TC_DXT3_EXT;\n\t\t\t\t\t\tif (p === RGBA_S3TC_DXT5_Format) return extension.COMPRESSED_RGBA_S3TC_DXT5_EXT;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} // PVRTC\n\n\n\t\t\tif (p === RGB_PVRTC_4BPPV1_Format || p === RGB_PVRTC_2BPPV1_Format || p === RGBA_PVRTC_4BPPV1_Format || p === RGBA_PVRTC_2BPPV1_Format) {\n\t\t\t\textension = extensions.get('WEBGL_compressed_texture_pvrtc');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\tif (p === RGB_PVRTC_4BPPV1_Format) return extension.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;\n\t\t\t\t\tif (p === RGB_PVRTC_2BPPV1_Format) return extension.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;\n\t\t\t\t\tif (p === RGBA_PVRTC_4BPPV1_Format) return extension.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;\n\t\t\t\t\tif (p === RGBA_PVRTC_2BPPV1_Format) return extension.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // ETC1\n\n\n\t\t\tif (p === RGB_ETC1_Format) {\n\t\t\t\textension = extensions.get('WEBGL_compressed_texture_etc1');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\treturn extension.COMPRESSED_RGB_ETC1_WEBGL;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // ETC2\n\n\n\t\t\tif (p === RGB_ETC2_Format || p === RGBA_ETC2_EAC_Format) {\n\t\t\t\textension = extensions.get('WEBGL_compressed_texture_etc');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\tif (p === RGB_ETC2_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ETC2 : extension.COMPRESSED_RGB8_ETC2;\n\t\t\t\t\tif (p === RGBA_ETC2_EAC_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC : extension.COMPRESSED_RGBA8_ETC2_EAC;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // ASTC\n\n\n\t\t\tif (p === RGBA_ASTC_4x4_Format || p === RGBA_ASTC_5x4_Format || p === RGBA_ASTC_5x5_Format || p === RGBA_ASTC_6x5_Format || p === RGBA_ASTC_6x6_Format || p === RGBA_ASTC_8x5_Format || p === RGBA_ASTC_8x6_Format || p === RGBA_ASTC_8x8_Format || p === RGBA_ASTC_10x5_Format || p === RGBA_ASTC_10x6_Format || p === RGBA_ASTC_10x8_Format || p === RGBA_ASTC_10x10_Format || p === RGBA_ASTC_12x10_Format || p === RGBA_ASTC_12x12_Format) {\n\t\t\t\textension = extensions.get('WEBGL_compressed_texture_astc');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\tif (p === RGBA_ASTC_4x4_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR : extension.COMPRESSED_RGBA_ASTC_4x4_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_5x4_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR : extension.COMPRESSED_RGBA_ASTC_5x4_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_5x5_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR : extension.COMPRESSED_RGBA_ASTC_5x5_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_6x5_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR : extension.COMPRESSED_RGBA_ASTC_6x5_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_6x6_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR : extension.COMPRESSED_RGBA_ASTC_6x6_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_8x5_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR : extension.COMPRESSED_RGBA_ASTC_8x5_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_8x6_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR : extension.COMPRESSED_RGBA_ASTC_8x6_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_8x8_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR : extension.COMPRESSED_RGBA_ASTC_8x8_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_10x5_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR : extension.COMPRESSED_RGBA_ASTC_10x5_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_10x6_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR : extension.COMPRESSED_RGBA_ASTC_10x6_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_10x8_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR : extension.COMPRESSED_RGBA_ASTC_10x8_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_10x10_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR : extension.COMPRESSED_RGBA_ASTC_10x10_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_12x10_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR : extension.COMPRESSED_RGBA_ASTC_12x10_KHR;\n\t\t\t\t\tif (p === RGBA_ASTC_12x12_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR : extension.COMPRESSED_RGBA_ASTC_12x12_KHR;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // BPTC\n\n\n\t\t\tif (p === RGBA_BPTC_Format) {\n\t\t\t\textension = extensions.get('EXT_texture_compression_bptc');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\tif (p === RGBA_BPTC_Format) return encoding === sRGBEncoding ? extension.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT : extension.COMPRESSED_RGBA_BPTC_UNORM_EXT;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tif (p === UnsignedInt248Type) {\n\t\t\t\tif (isWebGL2) return gl.UNSIGNED_INT_24_8;\n\t\t\t\textension = extensions.get('WEBGL_depth_texture');\n\n\t\t\t\tif (extension !== null) {\n\t\t\t\t\treturn extension.UNSIGNED_INT_24_8_WEBGL;\n\t\t\t\t} else {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\t\t\t} // if \"p\" can't be resolved, assume the user defines a WebGL constant as a string (fallback/workaround for packed RGB formats)\n\n\n\t\t\treturn gl[p] !== undefined ? gl[p] : null;\n\t\t}\n\n\t\treturn {\n\t\t\tconvert: convert\n\t\t};\n\t}\n\n\tclass ArrayCamera extends PerspectiveCamera {\n\t\tconstructor(array = []) {\n\t\t\tsuper();\n\t\t\tthis.isArrayCamera = true;\n\t\t\tthis.cameras = array;\n\t\t}\n\n\t}\n\n\tclass Group extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isGroup = true;\n\t\t\tthis.type = 'Group';\n\t\t}\n\n\t}\n\n\tconst _moveEvent = {\n\t\ttype: 'move'\n\t};\n\n\tclass WebXRController {\n\t\tconstructor() {\n\t\t\tthis._targetRay = null;\n\t\t\tthis._grip = null;\n\t\t\tthis._hand = null;\n\t\t}\n\n\t\tgetHandSpace() {\n\t\t\tif (this._hand === null) {\n\t\t\t\tthis._hand = new Group();\n\t\t\t\tthis._hand.matrixAutoUpdate = false;\n\t\t\t\tthis._hand.visible = false;\n\t\t\t\tthis._hand.joints = {};\n\t\t\t\tthis._hand.inputState = {\n\t\t\t\t\tpinching: false\n\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn this._hand;\n\t\t}\n\n\t\tgetTargetRaySpace() {\n\t\t\tif (this._targetRay === null) {\n\t\t\t\tthis._targetRay = new Group();\n\t\t\t\tthis._targetRay.matrixAutoUpdate = false;\n\t\t\t\tthis._targetRay.visible = false;\n\t\t\t\tthis._targetRay.hasLinearVelocity = false;\n\t\t\t\tthis._targetRay.linearVelocity = new Vector3();\n\t\t\t\tthis._targetRay.hasAngularVelocity = false;\n\t\t\t\tthis._targetRay.angularVelocity = new Vector3();\n\t\t\t}\n\n\t\t\treturn this._targetRay;\n\t\t}\n\n\t\tgetGripSpace() {\n\t\t\tif (this._grip === null) {\n\t\t\t\tthis._grip = new Group();\n\t\t\t\tthis._grip.matrixAutoUpdate = false;\n\t\t\t\tthis._grip.visible = false;\n\t\t\t\tthis._grip.hasLinearVelocity = false;\n\t\t\t\tthis._grip.linearVelocity = new Vector3();\n\t\t\t\tthis._grip.hasAngularVelocity = false;\n\t\t\t\tthis._grip.angularVelocity = new Vector3();\n\t\t\t}\n\n\t\t\treturn this._grip;\n\t\t}\n\n\t\tdispatchEvent(event) {\n\t\t\tif (this._targetRay !== null) {\n\t\t\t\tthis._targetRay.dispatchEvent(event);\n\t\t\t}\n\n\t\t\tif (this._grip !== null) {\n\t\t\t\tthis._grip.dispatchEvent(event);\n\t\t\t}\n\n\t\t\tif (this._hand !== null) {\n\t\t\t\tthis._hand.dispatchEvent(event);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tdisconnect(inputSource) {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'disconnected',\n\t\t\t\tdata: inputSource\n\t\t\t});\n\n\t\t\tif (this._targetRay !== null) {\n\t\t\t\tthis._targetRay.visible = false;\n\t\t\t}\n\n\t\t\tif (this._grip !== null) {\n\t\t\t\tthis._grip.visible = false;\n\t\t\t}\n\n\t\t\tif (this._hand !== null) {\n\t\t\t\tthis._hand.visible = false;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tupdate(inputSource, frame, referenceSpace) {\n\t\t\tlet inputPose = null;\n\t\t\tlet gripPose = null;\n\t\t\tlet handPose = null;\n\t\t\tconst targetRay = this._targetRay;\n\t\t\tconst grip = this._grip;\n\t\t\tconst hand = this._hand;\n\n\t\t\tif (inputSource && frame.session.visibilityState !== 'visible-blurred') {\n\t\t\t\tif (hand && inputSource.hand) {\n\t\t\t\t\thandPose = true;\n\n\t\t\t\t\tfor (const inputjoint of inputSource.hand.values()) {\n\t\t\t\t\t\t// Update the joints groups with the XRJoint poses\n\t\t\t\t\t\tconst jointPose = frame.getJointPose(inputjoint, referenceSpace);\n\n\t\t\t\t\t\tif (hand.joints[inputjoint.jointName] === undefined) {\n\t\t\t\t\t\t\t// The transform of this joint will be updated with the joint pose on each frame\n\t\t\t\t\t\t\tconst joint = new Group();\n\t\t\t\t\t\t\tjoint.matrixAutoUpdate = false;\n\t\t\t\t\t\t\tjoint.visible = false;\n\t\t\t\t\t\t\thand.joints[inputjoint.jointName] = joint; // ??\n\n\t\t\t\t\t\t\thand.add(joint);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst joint = hand.joints[inputjoint.jointName];\n\n\t\t\t\t\t\tif (jointPose !== null) {\n\t\t\t\t\t\t\tjoint.matrix.fromArray(jointPose.transform.matrix);\n\t\t\t\t\t\t\tjoint.matrix.decompose(joint.position, joint.rotation, joint.scale);\n\t\t\t\t\t\t\tjoint.jointRadius = jointPose.radius;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tjoint.visible = jointPose !== null;\n\t\t\t\t\t} // Custom events\n\t\t\t\t\t// Check pinchz\n\n\n\t\t\t\t\tconst indexTip = hand.joints['index-finger-tip'];\n\t\t\t\t\tconst thumbTip = hand.joints['thumb-tip'];\n\t\t\t\t\tconst distance = indexTip.position.distanceTo(thumbTip.position);\n\t\t\t\t\tconst distanceToPinch = 0.02;\n\t\t\t\t\tconst threshold = 0.005;\n\n\t\t\t\t\tif (hand.inputState.pinching && distance > distanceToPinch + threshold) {\n\t\t\t\t\t\thand.inputState.pinching = false;\n\t\t\t\t\t\tthis.dispatchEvent({\n\t\t\t\t\t\t\ttype: 'pinchend',\n\t\t\t\t\t\t\thandedness: inputSource.handedness,\n\t\t\t\t\t\t\ttarget: this\n\t\t\t\t\t\t});\n\t\t\t\t\t} else if (!hand.inputState.pinching && distance <= distanceToPinch - threshold) {\n\t\t\t\t\t\thand.inputState.pinching = true;\n\t\t\t\t\t\tthis.dispatchEvent({\n\t\t\t\t\t\t\ttype: 'pinchstart',\n\t\t\t\t\t\t\thandedness: inputSource.handedness,\n\t\t\t\t\t\t\ttarget: this\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tif (grip !== null && inputSource.gripSpace) {\n\t\t\t\t\t\tgripPose = frame.getPose(inputSource.gripSpace, referenceSpace);\n\n\t\t\t\t\t\tif (gripPose !== null) {\n\t\t\t\t\t\t\tgrip.matrix.fromArray(gripPose.transform.matrix);\n\t\t\t\t\t\t\tgrip.matrix.decompose(grip.position, grip.rotation, grip.scale);\n\n\t\t\t\t\t\t\tif (gripPose.linearVelocity) {\n\t\t\t\t\t\t\t\tgrip.hasLinearVelocity = true;\n\t\t\t\t\t\t\t\tgrip.linearVelocity.copy(gripPose.linearVelocity);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tgrip.hasLinearVelocity = false;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tif (gripPose.angularVelocity) {\n\t\t\t\t\t\t\t\tgrip.hasAngularVelocity = true;\n\t\t\t\t\t\t\t\tgrip.angularVelocity.copy(gripPose.angularVelocity);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tgrip.hasAngularVelocity = false;\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\tif (targetRay !== null) {\n\t\t\t\t\tinputPose = frame.getPose(inputSource.targetRaySpace, referenceSpace); // Some runtimes (namely Vive Cosmos with Vive OpenXR Runtime) have only grip space and ray space is equal to it\n\n\t\t\t\t\tif (inputPose === null && gripPose !== null) {\n\t\t\t\t\t\tinputPose = gripPose;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (inputPose !== null) {\n\t\t\t\t\t\ttargetRay.matrix.fromArray(inputPose.transform.matrix);\n\t\t\t\t\t\ttargetRay.matrix.decompose(targetRay.position, targetRay.rotation, targetRay.scale);\n\n\t\t\t\t\t\tif (inputPose.linearVelocity) {\n\t\t\t\t\t\t\ttargetRay.hasLinearVelocity = true;\n\t\t\t\t\t\t\ttargetRay.linearVelocity.copy(inputPose.linearVelocity);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttargetRay.hasLinearVelocity = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (inputPose.angularVelocity) {\n\t\t\t\t\t\t\ttargetRay.hasAngularVelocity = true;\n\t\t\t\t\t\t\ttargetRay.angularVelocity.copy(inputPose.angularVelocity);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttargetRay.hasAngularVelocity = false;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthis.dispatchEvent(_moveEvent);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (targetRay !== null) {\n\t\t\t\ttargetRay.visible = inputPose !== null;\n\t\t\t}\n\n\t\t\tif (grip !== null) {\n\t\t\t\tgrip.visible = gripPose !== null;\n\t\t\t}\n\n\t\t\tif (hand !== null) {\n\t\t\t\thand.visible = handPose !== null;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass DepthTexture extends Texture {\n\t\tconstructor(width, height, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, format) {\n\t\t\tformat = format !== undefined ? format : DepthFormat;\n\n\t\t\tif (format !== DepthFormat && format !== DepthStencilFormat) {\n\t\t\t\tthrow new Error('DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat');\n\t\t\t}\n\n\t\t\tif (type === undefined && format === DepthFormat) type = UnsignedIntType;\n\t\t\tif (type === undefined && format === DepthStencilFormat) type = UnsignedInt248Type;\n\t\t\tsuper(null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy);\n\t\t\tthis.isDepthTexture = true;\n\t\t\tthis.image = {\n\t\t\t\twidth: width,\n\t\t\t\theight: height\n\t\t\t};\n\t\t\tthis.magFilter = magFilter !== undefined ? magFilter : NearestFilter;\n\t\t\tthis.minFilter = minFilter !== undefined ? minFilter : NearestFilter;\n\t\t\tthis.flipY = false;\n\t\t\tthis.generateMipmaps = false;\n\t\t}\n\n\t}\n\n\tclass WebXRManager extends EventDispatcher {\n\t\tconstructor(renderer, gl) {\n\t\t\tsuper();\n\t\t\tconst scope = this;\n\t\t\tlet session = null;\n\t\t\tlet framebufferScaleFactor = 1.0;\n\t\t\tlet referenceSpace = null;\n\t\t\tlet referenceSpaceType = 'local-floor';\n\t\t\tlet customReferenceSpace = null;\n\t\t\tlet pose = null;\n\t\t\tlet glBinding = null;\n\t\t\tlet glProjLayer = null;\n\t\t\tlet glBaseLayer = null;\n\t\t\tlet xrFrame = null;\n\t\t\tconst attributes = gl.getContextAttributes();\n\t\t\tlet initialRenderTarget = null;\n\t\t\tlet newRenderTarget = null;\n\t\t\tconst controllers = [];\n\t\t\tconst controllerInputSources = []; //\n\n\t\t\tconst cameraL = new PerspectiveCamera();\n\t\t\tcameraL.layers.enable(1);\n\t\t\tcameraL.viewport = new Vector4();\n\t\t\tconst cameraR = new PerspectiveCamera();\n\t\t\tcameraR.layers.enable(2);\n\t\t\tcameraR.viewport = new Vector4();\n\t\t\tconst cameras = [cameraL, cameraR];\n\t\t\tconst cameraVR = new ArrayCamera();\n\t\t\tcameraVR.layers.enable(1);\n\t\t\tcameraVR.layers.enable(2);\n\t\t\tlet _currentDepthNear = null;\n\t\t\tlet _currentDepthFar = null; //\n\n\t\t\tthis.cameraAutoUpdate = true;\n\t\t\tthis.enabled = false;\n\t\t\tthis.isPresenting = false;\n\n\t\t\tthis.getController = function (index) {\n\t\t\t\tlet controller = controllers[index];\n\n\t\t\t\tif (controller === undefined) {\n\t\t\t\t\tcontroller = new WebXRController();\n\t\t\t\t\tcontrollers[index] = controller;\n\t\t\t\t}\n\n\t\t\t\treturn controller.getTargetRaySpace();\n\t\t\t};\n\n\t\t\tthis.getControllerGrip = function (index) {\n\t\t\t\tlet controller = controllers[index];\n\n\t\t\t\tif (controller === undefined) {\n\t\t\t\t\tcontroller = new WebXRController();\n\t\t\t\t\tcontrollers[index] = controller;\n\t\t\t\t}\n\n\t\t\t\treturn controller.getGripSpace();\n\t\t\t};\n\n\t\t\tthis.getHand = function (index) {\n\t\t\t\tlet controller = controllers[index];\n\n\t\t\t\tif (controller === undefined) {\n\t\t\t\t\tcontroller = new WebXRController();\n\t\t\t\t\tcontrollers[index] = controller;\n\t\t\t\t}\n\n\t\t\t\treturn controller.getHandSpace();\n\t\t\t}; //\n\n\n\t\t\tfunction onSessionEvent(event) {\n\t\t\t\tconst controllerIndex = controllerInputSources.indexOf(event.inputSource);\n\n\t\t\t\tif (controllerIndex === -1) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst controller = controllers[controllerIndex];\n\n\t\t\t\tif (controller !== undefined) {\n\t\t\t\t\tcontroller.dispatchEvent({\n\t\t\t\t\t\ttype: event.type,\n\t\t\t\t\t\tdata: event.inputSource\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction onSessionEnd() {\n\t\t\t\tsession.removeEventListener('select', onSessionEvent);\n\t\t\t\tsession.removeEventListener('selectstart', onSessionEvent);\n\t\t\t\tsession.removeEventListener('selectend', onSessionEvent);\n\t\t\t\tsession.removeEventListener('squeeze', onSessionEvent);\n\t\t\t\tsession.removeEventListener('squeezestart', onSessionEvent);\n\t\t\t\tsession.removeEventListener('squeezeend', onSessionEvent);\n\t\t\t\tsession.removeEventListener('end', onSessionEnd);\n\t\t\t\tsession.removeEventListener('inputsourceschange', onInputSourcesChange);\n\n\t\t\t\tfor (let i = 0; i < controllers.length; i++) {\n\t\t\t\t\tconst inputSource = controllerInputSources[i];\n\t\t\t\t\tif (inputSource === null) continue;\n\t\t\t\t\tcontrollerInputSources[i] = null;\n\t\t\t\t\tcontrollers[i].disconnect(inputSource);\n\t\t\t\t}\n\n\t\t\t\t_currentDepthNear = null;\n\t\t\t\t_currentDepthFar = null; // restore framebuffer/rendering state\n\n\t\t\t\trenderer.setRenderTarget(initialRenderTarget);\n\t\t\t\tglBaseLayer = null;\n\t\t\t\tglProjLayer = null;\n\t\t\t\tglBinding = null;\n\t\t\t\tsession = null;\n\t\t\t\tnewRenderTarget = null; //\n\n\t\t\t\tanimation.stop();\n\t\t\t\tscope.isPresenting = false;\n\t\t\t\tscope.dispatchEvent({\n\t\t\t\t\ttype: 'sessionend'\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tthis.setFramebufferScaleFactor = function (value) {\n\t\t\t\tframebufferScaleFactor = value;\n\n\t\t\t\tif (scope.isPresenting === true) {\n\t\t\t\t\tconsole.warn('THREE.WebXRManager: Cannot change framebuffer scale while presenting.');\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.setReferenceSpaceType = function (value) {\n\t\t\t\treferenceSpaceType = value;\n\n\t\t\t\tif (scope.isPresenting === true) {\n\t\t\t\t\tconsole.warn('THREE.WebXRManager: Cannot change reference space type while presenting.');\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.getReferenceSpace = function () {\n\t\t\t\treturn customReferenceSpace || referenceSpace;\n\t\t\t};\n\n\t\t\tthis.setReferenceSpace = function (space) {\n\t\t\t\tcustomReferenceSpace = space;\n\t\t\t};\n\n\t\t\tthis.getBaseLayer = function () {\n\t\t\t\treturn glProjLayer !== null ? glProjLayer : glBaseLayer;\n\t\t\t};\n\n\t\t\tthis.getBinding = function () {\n\t\t\t\treturn glBinding;\n\t\t\t};\n\n\t\t\tthis.getFrame = function () {\n\t\t\t\treturn xrFrame;\n\t\t\t};\n\n\t\t\tthis.getSession = function () {\n\t\t\t\treturn session;\n\t\t\t};\n\n\t\t\tthis.setSession = async function (value) {\n\t\t\t\tsession = value;\n\n\t\t\t\tif (session !== null) {\n\t\t\t\t\tinitialRenderTarget = renderer.getRenderTarget();\n\t\t\t\t\tsession.addEventListener('select', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('selectstart', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('selectend', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('squeeze', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('squeezestart', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('squeezeend', onSessionEvent);\n\t\t\t\t\tsession.addEventListener('end', onSessionEnd);\n\t\t\t\t\tsession.addEventListener('inputsourceschange', onInputSourcesChange);\n\n\t\t\t\t\tif (attributes.xrCompatible !== true) {\n\t\t\t\t\t\tawait gl.makeXRCompatible();\n\t\t\t\t\t}\n\n\t\t\t\t\tif (session.renderState.layers === undefined || renderer.capabilities.isWebGL2 === false) {\n\t\t\t\t\t\tconst layerInit = {\n\t\t\t\t\t\t\tantialias: session.renderState.layers === undefined ? attributes.antialias : true,\n\t\t\t\t\t\t\talpha: attributes.alpha,\n\t\t\t\t\t\t\tdepth: attributes.depth,\n\t\t\t\t\t\t\tstencil: attributes.stencil,\n\t\t\t\t\t\t\tframebufferScaleFactor: framebufferScaleFactor\n\t\t\t\t\t\t};\n\t\t\t\t\t\tglBaseLayer = new XRWebGLLayer(session, gl, layerInit);\n\t\t\t\t\t\tsession.updateRenderState({\n\t\t\t\t\t\t\tbaseLayer: glBaseLayer\n\t\t\t\t\t\t});\n\t\t\t\t\t\tnewRenderTarget = new WebGLRenderTarget(glBaseLayer.framebufferWidth, glBaseLayer.framebufferHeight, {\n\t\t\t\t\t\t\tformat: RGBAFormat,\n\t\t\t\t\t\t\ttype: UnsignedByteType,\n\t\t\t\t\t\t\tencoding: renderer.outputEncoding\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tlet depthFormat = null;\n\t\t\t\t\t\tlet depthType = null;\n\t\t\t\t\t\tlet glDepthFormat = null;\n\n\t\t\t\t\t\tif (attributes.depth) {\n\t\t\t\t\t\t\tglDepthFormat = attributes.stencil ? gl.DEPTH24_STENCIL8 : gl.DEPTH_COMPONENT24;\n\t\t\t\t\t\t\tdepthFormat = attributes.stencil ? DepthStencilFormat : DepthFormat;\n\t\t\t\t\t\t\tdepthType = attributes.stencil ? UnsignedInt248Type : UnsignedIntType;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst projectionlayerInit = {\n\t\t\t\t\t\t\tcolorFormat: gl.RGBA8,\n\t\t\t\t\t\t\tdepthFormat: glDepthFormat,\n\t\t\t\t\t\t\tscaleFactor: framebufferScaleFactor\n\t\t\t\t\t\t};\n\t\t\t\t\t\tglBinding = new XRWebGLBinding(session, gl);\n\t\t\t\t\t\tglProjLayer = glBinding.createProjectionLayer(projectionlayerInit);\n\t\t\t\t\t\tsession.updateRenderState({\n\t\t\t\t\t\t\tlayers: [glProjLayer]\n\t\t\t\t\t\t});\n\t\t\t\t\t\tnewRenderTarget = new WebGLRenderTarget(glProjLayer.textureWidth, glProjLayer.textureHeight, {\n\t\t\t\t\t\t\tformat: RGBAFormat,\n\t\t\t\t\t\t\ttype: UnsignedByteType,\n\t\t\t\t\t\t\tdepthTexture: new DepthTexture(glProjLayer.textureWidth, glProjLayer.textureHeight, depthType, undefined, undefined, undefined, undefined, undefined, undefined, depthFormat),\n\t\t\t\t\t\t\tstencilBuffer: attributes.stencil,\n\t\t\t\t\t\t\tencoding: renderer.outputEncoding,\n\t\t\t\t\t\t\tsamples: attributes.antialias ? 4 : 0\n\t\t\t\t\t\t});\n\t\t\t\t\t\tconst renderTargetProperties = renderer.properties.get(newRenderTarget);\n\t\t\t\t\t\trenderTargetProperties.__ignoreDepthValues = glProjLayer.ignoreDepthValues;\n\t\t\t\t\t}\n\n\t\t\t\t\tnewRenderTarget.isXRRenderTarget = true; // TODO Remove this when possible, see #23278\n\t\t\t\t\t// Set foveation to maximum.\n\n\t\t\t\t\tthis.setFoveation(1.0);\n\t\t\t\t\tcustomReferenceSpace = null;\n\t\t\t\t\treferenceSpace = await session.requestReferenceSpace(referenceSpaceType);\n\t\t\t\t\tanimation.setContext(session);\n\t\t\t\t\tanimation.start();\n\t\t\t\t\tscope.isPresenting = true;\n\t\t\t\t\tscope.dispatchEvent({\n\t\t\t\t\t\ttype: 'sessionstart'\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tfunction onInputSourcesChange(event) {\n\t\t\t\t// Notify disconnected\n\t\t\t\tfor (let i = 0; i < event.removed.length; i++) {\n\t\t\t\t\tconst inputSource = event.removed[i];\n\t\t\t\t\tconst index = controllerInputSources.indexOf(inputSource);\n\n\t\t\t\t\tif (index >= 0) {\n\t\t\t\t\t\tcontrollerInputSources[index] = null;\n\t\t\t\t\t\tcontrollers[index].dispatchEvent({\n\t\t\t\t\t\t\ttype: 'disconnected',\n\t\t\t\t\t\t\tdata: inputSource\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} // Notify connected\n\n\n\t\t\t\tfor (let i = 0; i < event.added.length; i++) {\n\t\t\t\t\tconst inputSource = event.added[i];\n\t\t\t\t\tlet controllerIndex = controllerInputSources.indexOf(inputSource);\n\n\t\t\t\t\tif (controllerIndex === -1) {\n\t\t\t\t\t\t// Assign input source a controller that currently has no input source\n\t\t\t\t\t\tfor (let i = 0; i < controllers.length; i++) {\n\t\t\t\t\t\t\tif (i >= controllerInputSources.length) {\n\t\t\t\t\t\t\t\tcontrollerInputSources.push(inputSource);\n\t\t\t\t\t\t\t\tcontrollerIndex = i;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t} else if (controllerInputSources[i] === null) {\n\t\t\t\t\t\t\t\tcontrollerInputSources[i] = inputSource;\n\t\t\t\t\t\t\t\tcontrollerIndex = i;\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} // If all controllers do currently receive input we ignore new ones\n\n\n\t\t\t\t\t\tif (controllerIndex === -1) break;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst controller = controllers[controllerIndex];\n\n\t\t\t\t\tif (controller) {\n\t\t\t\t\t\tcontroller.dispatchEvent({\n\t\t\t\t\t\t\ttype: 'connected',\n\t\t\t\t\t\t\tdata: inputSource\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tconst cameraLPos = new Vector3();\n\t\t\tconst cameraRPos = new Vector3();\n\t\t\t/**\n\t\t\t * Assumes 2 cameras that are parallel and share an X-axis, and that\n\t\t\t * the cameras' projection and world matrices have already been set.\n\t\t\t * And that near and far planes are identical for both cameras.\n\t\t\t * Visualization of this technique: https://computergraphics.stackexchange.com/a/4765\n\t\t\t */\n\n\t\t\tfunction setProjectionFromUnion(camera, cameraL, cameraR) {\n\t\t\t\tcameraLPos.setFromMatrixPosition(cameraL.matrixWorld);\n\t\t\t\tcameraRPos.setFromMatrixPosition(cameraR.matrixWorld);\n\t\t\t\tconst ipd = cameraLPos.distanceTo(cameraRPos);\n\t\t\t\tconst projL = cameraL.projectionMatrix.elements;\n\t\t\t\tconst projR = cameraR.projectionMatrix.elements; // VR systems will have identical far and near planes, and\n\t\t\t\t// most likely identical top and bottom frustum extents.\n\t\t\t\t// Use the left camera for these values.\n\n\t\t\t\tconst near = projL[14] / (projL[10] - 1);\n\t\t\t\tconst far = projL[14] / (projL[10] + 1);\n\t\t\t\tconst topFov = (projL[9] + 1) / projL[5];\n\t\t\t\tconst bottomFov = (projL[9] - 1) / projL[5];\n\t\t\t\tconst leftFov = (projL[8] - 1) / projL[0];\n\t\t\t\tconst rightFov = (projR[8] + 1) / projR[0];\n\t\t\t\tconst left = near * leftFov;\n\t\t\t\tconst right = near * rightFov; // Calculate the new camera's position offset from the\n\t\t\t\t// left camera. xOffset should be roughly half `ipd`.\n\n\t\t\t\tconst zOffset = ipd / (-leftFov + rightFov);\n\t\t\t\tconst xOffset = zOffset * -leftFov; // TODO: Better way to apply this offset?\n\n\t\t\t\tcameraL.matrixWorld.decompose(camera.position, camera.quaternion, camera.scale);\n\t\t\t\tcamera.translateX(xOffset);\n\t\t\t\tcamera.translateZ(zOffset);\n\t\t\t\tcamera.matrixWorld.compose(camera.position, camera.quaternion, camera.scale);\n\t\t\t\tcamera.matrixWorldInverse.copy(camera.matrixWorld).invert(); // Find the union of the frustum values of the cameras and scale\n\t\t\t\t// the values so that the near plane's position does not change in world space,\n\t\t\t\t// although must now be relative to the new union camera.\n\n\t\t\t\tconst near2 = near + zOffset;\n\t\t\t\tconst far2 = far + zOffset;\n\t\t\t\tconst left2 = left - xOffset;\n\t\t\t\tconst right2 = right + (ipd - xOffset);\n\t\t\t\tconst top2 = topFov * far / far2 * near2;\n\t\t\t\tconst bottom2 = bottomFov * far / far2 * near2;\n\t\t\t\tcamera.projectionMatrix.makePerspective(left2, right2, top2, bottom2, near2, far2);\n\t\t\t}\n\n\t\t\tfunction updateCamera(camera, parent) {\n\t\t\t\tif (parent === null) {\n\t\t\t\t\tcamera.matrixWorld.copy(camera.matrix);\n\t\t\t\t} else {\n\t\t\t\t\tcamera.matrixWorld.multiplyMatrices(parent.matrixWorld, camera.matrix);\n\t\t\t\t}\n\n\t\t\t\tcamera.matrixWorldInverse.copy(camera.matrixWorld).invert();\n\t\t\t}\n\n\t\t\tthis.updateCamera = function (camera) {\n\t\t\t\tif (session === null) return;\n\t\t\t\tcameraVR.near = cameraR.near = cameraL.near = camera.near;\n\t\t\t\tcameraVR.far = cameraR.far = cameraL.far = camera.far;\n\n\t\t\t\tif (_currentDepthNear !== cameraVR.near || _currentDepthFar !== cameraVR.far) {\n\t\t\t\t\t// Note that the new renderState won't apply until the next frame. See #18320\n\t\t\t\t\tsession.updateRenderState({\n\t\t\t\t\t\tdepthNear: cameraVR.near,\n\t\t\t\t\t\tdepthFar: cameraVR.far\n\t\t\t\t\t});\n\t\t\t\t\t_currentDepthNear = cameraVR.near;\n\t\t\t\t\t_currentDepthFar = cameraVR.far;\n\t\t\t\t}\n\n\t\t\t\tconst parent = camera.parent;\n\t\t\t\tconst cameras = cameraVR.cameras;\n\t\t\t\tupdateCamera(cameraVR, parent);\n\n\t\t\t\tfor (let i = 0; i < cameras.length; i++) {\n\t\t\t\t\tupdateCamera(cameras[i], parent);\n\t\t\t\t}\n\n\t\t\t\tcameraVR.matrixWorld.decompose(cameraVR.position, cameraVR.quaternion, cameraVR.scale); // update user camera and its children\n\n\t\t\t\tcamera.position.copy(cameraVR.position);\n\t\t\t\tcamera.quaternion.copy(cameraVR.quaternion);\n\t\t\t\tcamera.scale.copy(cameraVR.scale);\n\t\t\t\tcamera.matrix.copy(cameraVR.matrix);\n\t\t\t\tcamera.matrixWorld.copy(cameraVR.matrixWorld);\n\t\t\t\tconst children = camera.children;\n\n\t\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\t\tchildren[i].updateMatrixWorld(true);\n\t\t\t\t} // update projection matrix for proper view frustum culling\n\n\n\t\t\t\tif (cameras.length === 2) {\n\t\t\t\t\tsetProjectionFromUnion(cameraVR, cameraL, cameraR);\n\t\t\t\t} else {\n\t\t\t\t\t// assume single camera setup (AR)\n\t\t\t\t\tcameraVR.projectionMatrix.copy(cameraL.projectionMatrix);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.getCamera = function () {\n\t\t\t\treturn cameraVR;\n\t\t\t};\n\n\t\t\tthis.getFoveation = function () {\n\t\t\t\tif (glProjLayer !== null) {\n\t\t\t\t\treturn glProjLayer.fixedFoveation;\n\t\t\t\t}\n\n\t\t\t\tif (glBaseLayer !== null) {\n\t\t\t\t\treturn glBaseLayer.fixedFoveation;\n\t\t\t\t}\n\n\t\t\t\treturn undefined;\n\t\t\t};\n\n\t\t\tthis.setFoveation = function (foveation) {\n\t\t\t\t// 0 = no foveation = full resolution\n\t\t\t\t// 1 = maximum foveation = the edges render at lower resolution\n\t\t\t\tif (glProjLayer !== null) {\n\t\t\t\t\tglProjLayer.fixedFoveation = foveation;\n\t\t\t\t}\n\n\t\t\t\tif (glBaseLayer !== null && glBaseLayer.fixedFoveation !== undefined) {\n\t\t\t\t\tglBaseLayer.fixedFoveation = foveation;\n\t\t\t\t}\n\t\t\t}; // Animation Loop\n\n\n\t\t\tlet onAnimationFrameCallback = null;\n\n\t\t\tfunction onAnimationFrame(time, frame) {\n\t\t\t\tpose = frame.getViewerPose(customReferenceSpace || referenceSpace);\n\t\t\t\txrFrame = frame;\n\n\t\t\t\tif (pose !== null) {\n\t\t\t\t\tconst views = pose.views;\n\n\t\t\t\t\tif (glBaseLayer !== null) {\n\t\t\t\t\t\trenderer.setRenderTargetFramebuffer(newRenderTarget, glBaseLayer.framebuffer);\n\t\t\t\t\t\trenderer.setRenderTarget(newRenderTarget);\n\t\t\t\t\t}\n\n\t\t\t\t\tlet cameraVRNeedsUpdate = false; // check if it's necessary to rebuild cameraVR's camera list\n\n\t\t\t\t\tif (views.length !== cameraVR.cameras.length) {\n\t\t\t\t\t\tcameraVR.cameras.length = 0;\n\t\t\t\t\t\tcameraVRNeedsUpdate = true;\n\t\t\t\t\t}\n\n\t\t\t\t\tfor (let i = 0; i < views.length; i++) {\n\t\t\t\t\t\tconst view = views[i];\n\t\t\t\t\t\tlet viewport = null;\n\n\t\t\t\t\t\tif (glBaseLayer !== null) {\n\t\t\t\t\t\t\tviewport = glBaseLayer.getViewport(view);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst glSubImage = glBinding.getViewSubImage(glProjLayer, view);\n\t\t\t\t\t\t\tviewport = glSubImage.viewport; // For side-by-side projection, we only produce a single texture for both eyes.\n\n\t\t\t\t\t\t\tif (i === 0) {\n\t\t\t\t\t\t\t\trenderer.setRenderTargetTextures(newRenderTarget, glSubImage.colorTexture, glProjLayer.ignoreDepthValues ? undefined : glSubImage.depthStencilTexture);\n\t\t\t\t\t\t\t\trenderer.setRenderTarget(newRenderTarget);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tlet camera = cameras[i];\n\n\t\t\t\t\t\tif (camera === undefined) {\n\t\t\t\t\t\t\tcamera = new PerspectiveCamera();\n\t\t\t\t\t\t\tcamera.layers.enable(i);\n\t\t\t\t\t\t\tcamera.viewport = new Vector4();\n\t\t\t\t\t\t\tcameras[i] = camera;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcamera.matrix.fromArray(view.transform.matrix);\n\t\t\t\t\t\tcamera.projectionMatrix.fromArray(view.projectionMatrix);\n\t\t\t\t\t\tcamera.viewport.set(viewport.x, viewport.y, viewport.width, viewport.height);\n\n\t\t\t\t\t\tif (i === 0) {\n\t\t\t\t\t\t\tcameraVR.matrix.copy(camera.matrix);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (cameraVRNeedsUpdate === true) {\n\t\t\t\t\t\t\tcameraVR.cameras.push(camera);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} //\n\n\n\t\t\t\tfor (let i = 0; i < controllers.length; i++) {\n\t\t\t\t\tconst inputSource = controllerInputSources[i];\n\t\t\t\t\tconst controller = controllers[i];\n\n\t\t\t\t\tif (inputSource !== null && controller !== undefined) {\n\t\t\t\t\t\tcontroller.update(inputSource, frame, customReferenceSpace || referenceSpace);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (onAnimationFrameCallback) onAnimationFrameCallback(time, frame);\n\t\t\t\txrFrame = null;\n\t\t\t}\n\n\t\t\tconst animation = new WebGLAnimation();\n\t\t\tanimation.setAnimationLoop(onAnimationFrame);\n\n\t\t\tthis.setAnimationLoop = function (callback) {\n\t\t\t\tonAnimationFrameCallback = callback;\n\t\t\t};\n\n\t\t\tthis.dispose = function () {};\n\t\t}\n\n\t}\n\n\tfunction WebGLMaterials(renderer, properties) {\n\t\tfunction refreshFogUniforms(uniforms, fog) {\n\t\t\tuniforms.fogColor.value.copy(fog.color);\n\n\t\t\tif (fog.isFog) {\n\t\t\t\tuniforms.fogNear.value = fog.near;\n\t\t\t\tuniforms.fogFar.value = fog.far;\n\t\t\t} else if (fog.isFogExp2) {\n\t\t\t\tuniforms.fogDensity.value = fog.density;\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshMaterialUniforms(uniforms, material, pixelRatio, height, transmissionRenderTarget) {\n\t\t\tif (material.isMeshBasicMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t} else if (material.isMeshLambertMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t} else if (material.isMeshToonMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t\trefreshUniformsToon(uniforms, material);\n\t\t\t} else if (material.isMeshPhongMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t\trefreshUniformsPhong(uniforms, material);\n\t\t\t} else if (material.isMeshStandardMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t\trefreshUniformsStandard(uniforms, material);\n\n\t\t\t\tif (material.isMeshPhysicalMaterial) {\n\t\t\t\t\trefreshUniformsPhysical(uniforms, material, transmissionRenderTarget);\n\t\t\t\t}\n\t\t\t} else if (material.isMeshMatcapMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t\trefreshUniformsMatcap(uniforms, material);\n\t\t\t} else if (material.isMeshDepthMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t} else if (material.isMeshDistanceMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t\trefreshUniformsDistance(uniforms, material);\n\t\t\t} else if (material.isMeshNormalMaterial) {\n\t\t\t\trefreshUniformsCommon(uniforms, material);\n\t\t\t} else if (material.isLineBasicMaterial) {\n\t\t\t\trefreshUniformsLine(uniforms, material);\n\n\t\t\t\tif (material.isLineDashedMaterial) {\n\t\t\t\t\trefreshUniformsDash(uniforms, material);\n\t\t\t\t}\n\t\t\t} else if (material.isPointsMaterial) {\n\t\t\t\trefreshUniformsPoints(uniforms, material, pixelRatio, height);\n\t\t\t} else if (material.isSpriteMaterial) {\n\t\t\t\trefreshUniformsSprites(uniforms, material);\n\t\t\t} else if (material.isShadowMaterial) {\n\t\t\t\tuniforms.color.value.copy(material.color);\n\t\t\t\tuniforms.opacity.value = material.opacity;\n\t\t\t} else if (material.isShaderMaterial) {\n\t\t\t\tmaterial.uniformsNeedUpdate = false; // #15581\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsCommon(uniforms, material) {\n\t\t\tuniforms.opacity.value = material.opacity;\n\n\t\t\tif (material.color) {\n\t\t\t\tuniforms.diffuse.value.copy(material.color);\n\t\t\t}\n\n\t\t\tif (material.emissive) {\n\t\t\t\tuniforms.emissive.value.copy(material.emissive).multiplyScalar(material.emissiveIntensity);\n\t\t\t}\n\n\t\t\tif (material.map) {\n\t\t\t\tuniforms.map.value = material.map;\n\t\t\t}\n\n\t\t\tif (material.alphaMap) {\n\t\t\t\tuniforms.alphaMap.value = material.alphaMap;\n\t\t\t}\n\n\t\t\tif (material.bumpMap) {\n\t\t\t\tuniforms.bumpMap.value = material.bumpMap;\n\t\t\t\tuniforms.bumpScale.value = material.bumpScale;\n\t\t\t\tif (material.side === BackSide) uniforms.bumpScale.value *= -1;\n\t\t\t}\n\n\t\t\tif (material.displacementMap) {\n\t\t\t\tuniforms.displacementMap.value = material.displacementMap;\n\t\t\t\tuniforms.displacementScale.value = material.displacementScale;\n\t\t\t\tuniforms.displacementBias.value = material.displacementBias;\n\t\t\t}\n\n\t\t\tif (material.emissiveMap) {\n\t\t\t\tuniforms.emissiveMap.value = material.emissiveMap;\n\t\t\t}\n\n\t\t\tif (material.normalMap) {\n\t\t\t\tuniforms.normalMap.value = material.normalMap;\n\t\t\t\tuniforms.normalScale.value.copy(material.normalScale);\n\t\t\t\tif (material.side === BackSide) uniforms.normalScale.value.negate();\n\t\t\t}\n\n\t\t\tif (material.specularMap) {\n\t\t\t\tuniforms.specularMap.value = material.specularMap;\n\t\t\t}\n\n\t\t\tif (material.alphaTest > 0) {\n\t\t\t\tuniforms.alphaTest.value = material.alphaTest;\n\t\t\t}\n\n\t\t\tconst envMap = properties.get(material).envMap;\n\n\t\t\tif (envMap) {\n\t\t\t\tuniforms.envMap.value = envMap;\n\t\t\t\tuniforms.flipEnvMap.value = envMap.isCubeTexture && envMap.isRenderTargetTexture === false ? -1 : 1;\n\t\t\t\tuniforms.reflectivity.value = material.reflectivity;\n\t\t\t\tuniforms.ior.value = material.ior;\n\t\t\t\tuniforms.refractionRatio.value = material.refractionRatio;\n\t\t\t}\n\n\t\t\tif (material.lightMap) {\n\t\t\t\tuniforms.lightMap.value = material.lightMap; // artist-friendly light intensity scaling factor\n\n\t\t\t\tconst scaleFactor = renderer.physicallyCorrectLights !== true ? Math.PI : 1;\n\t\t\t\tuniforms.lightMapIntensity.value = material.lightMapIntensity * scaleFactor;\n\t\t\t}\n\n\t\t\tif (material.aoMap) {\n\t\t\t\tuniforms.aoMap.value = material.aoMap;\n\t\t\t\tuniforms.aoMapIntensity.value = material.aoMapIntensity;\n\t\t\t} // uv repeat and offset setting priorities\n\t\t\t// 1. color map\n\t\t\t// 2. specular map\n\t\t\t// 3. displacementMap map\n\t\t\t// 4. normal map\n\t\t\t// 5. bump map\n\t\t\t// 6. roughnessMap map\n\t\t\t// 7. metalnessMap map\n\t\t\t// 8. alphaMap map\n\t\t\t// 9. emissiveMap map\n\t\t\t// 10. clearcoat map\n\t\t\t// 11. clearcoat normal map\n\t\t\t// 12. clearcoat roughnessMap map\n\t\t\t// 13. iridescence map\n\t\t\t// 14. iridescence thickness map\n\t\t\t// 15. specular intensity map\n\t\t\t// 16. specular tint map\n\t\t\t// 17. transmission map\n\t\t\t// 18. thickness map\n\n\n\t\t\tlet uvScaleMap;\n\n\t\t\tif (material.map) {\n\t\t\t\tuvScaleMap = material.map;\n\t\t\t} else if (material.specularMap) {\n\t\t\t\tuvScaleMap = material.specularMap;\n\t\t\t} else if (material.displacementMap) {\n\t\t\t\tuvScaleMap = material.displacementMap;\n\t\t\t} else if (material.normalMap) {\n\t\t\t\tuvScaleMap = material.normalMap;\n\t\t\t} else if (material.bumpMap) {\n\t\t\t\tuvScaleMap = material.bumpMap;\n\t\t\t} else if (material.roughnessMap) {\n\t\t\t\tuvScaleMap = material.roughnessMap;\n\t\t\t} else if (material.metalnessMap) {\n\t\t\t\tuvScaleMap = material.metalnessMap;\n\t\t\t} else if (material.alphaMap) {\n\t\t\t\tuvScaleMap = material.alphaMap;\n\t\t\t} else if (material.emissiveMap) {\n\t\t\t\tuvScaleMap = material.emissiveMap;\n\t\t\t} else if (material.clearcoatMap) {\n\t\t\t\tuvScaleMap = material.clearcoatMap;\n\t\t\t} else if (material.clearcoatNormalMap) {\n\t\t\t\tuvScaleMap = material.clearcoatNormalMap;\n\t\t\t} else if (material.clearcoatRoughnessMap) {\n\t\t\t\tuvScaleMap = material.clearcoatRoughnessMap;\n\t\t\t} else if (material.iridescenceMap) {\n\t\t\t\tuvScaleMap = material.iridescenceMap;\n\t\t\t} else if (material.iridescenceThicknessMap) {\n\t\t\t\tuvScaleMap = material.iridescenceThicknessMap;\n\t\t\t} else if (material.specularIntensityMap) {\n\t\t\t\tuvScaleMap = material.specularIntensityMap;\n\t\t\t} else if (material.specularColorMap) {\n\t\t\t\tuvScaleMap = material.specularColorMap;\n\t\t\t} else if (material.transmissionMap) {\n\t\t\t\tuvScaleMap = material.transmissionMap;\n\t\t\t} else if (material.thicknessMap) {\n\t\t\t\tuvScaleMap = material.thicknessMap;\n\t\t\t} else if (material.sheenColorMap) {\n\t\t\t\tuvScaleMap = material.sheenColorMap;\n\t\t\t} else if (material.sheenRoughnessMap) {\n\t\t\t\tuvScaleMap = material.sheenRoughnessMap;\n\t\t\t}\n\n\t\t\tif (uvScaleMap !== undefined) {\n\t\t\t\t// backwards compatibility\n\t\t\t\tif (uvScaleMap.isWebGLRenderTarget) {\n\t\t\t\t\tuvScaleMap = uvScaleMap.texture;\n\t\t\t\t}\n\n\t\t\t\tif (uvScaleMap.matrixAutoUpdate === true) {\n\t\t\t\t\tuvScaleMap.updateMatrix();\n\t\t\t\t}\n\n\t\t\t\tuniforms.uvTransform.value.copy(uvScaleMap.matrix);\n\t\t\t} // uv repeat and offset setting priorities for uv2\n\t\t\t// 1. ao map\n\t\t\t// 2. light map\n\n\n\t\t\tlet uv2ScaleMap;\n\n\t\t\tif (material.aoMap) {\n\t\t\t\tuv2ScaleMap = material.aoMap;\n\t\t\t} else if (material.lightMap) {\n\t\t\t\tuv2ScaleMap = material.lightMap;\n\t\t\t}\n\n\t\t\tif (uv2ScaleMap !== undefined) {\n\t\t\t\t// backwards compatibility\n\t\t\t\tif (uv2ScaleMap.isWebGLRenderTarget) {\n\t\t\t\t\tuv2ScaleMap = uv2ScaleMap.texture;\n\t\t\t\t}\n\n\t\t\t\tif (uv2ScaleMap.matrixAutoUpdate === true) {\n\t\t\t\t\tuv2ScaleMap.updateMatrix();\n\t\t\t\t}\n\n\t\t\t\tuniforms.uv2Transform.value.copy(uv2ScaleMap.matrix);\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsLine(uniforms, material) {\n\t\t\tuniforms.diffuse.value.copy(material.color);\n\t\t\tuniforms.opacity.value = material.opacity;\n\t\t}\n\n\t\tfunction refreshUniformsDash(uniforms, material) {\n\t\t\tuniforms.dashSize.value = material.dashSize;\n\t\t\tuniforms.totalSize.value = material.dashSize + material.gapSize;\n\t\t\tuniforms.scale.value = material.scale;\n\t\t}\n\n\t\tfunction refreshUniformsPoints(uniforms, material, pixelRatio, height) {\n\t\t\tuniforms.diffuse.value.copy(material.color);\n\t\t\tuniforms.opacity.value = material.opacity;\n\t\t\tuniforms.size.value = material.size * pixelRatio;\n\t\t\tuniforms.scale.value = height * 0.5;\n\n\t\t\tif (material.map) {\n\t\t\t\tuniforms.map.value = material.map;\n\t\t\t}\n\n\t\t\tif (material.alphaMap) {\n\t\t\t\tuniforms.alphaMap.value = material.alphaMap;\n\t\t\t}\n\n\t\t\tif (material.alphaTest > 0) {\n\t\t\t\tuniforms.alphaTest.value = material.alphaTest;\n\t\t\t} // uv repeat and offset setting priorities\n\t\t\t// 1. color map\n\t\t\t// 2. alpha map\n\n\n\t\t\tlet uvScaleMap;\n\n\t\t\tif (material.map) {\n\t\t\t\tuvScaleMap = material.map;\n\t\t\t} else if (material.alphaMap) {\n\t\t\t\tuvScaleMap = material.alphaMap;\n\t\t\t}\n\n\t\t\tif (uvScaleMap !== undefined) {\n\t\t\t\tif (uvScaleMap.matrixAutoUpdate === true) {\n\t\t\t\t\tuvScaleMap.updateMatrix();\n\t\t\t\t}\n\n\t\t\t\tuniforms.uvTransform.value.copy(uvScaleMap.matrix);\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsSprites(uniforms, material) {\n\t\t\tuniforms.diffuse.value.copy(material.color);\n\t\t\tuniforms.opacity.value = material.opacity;\n\t\t\tuniforms.rotation.value = material.rotation;\n\n\t\t\tif (material.map) {\n\t\t\t\tuniforms.map.value = material.map;\n\t\t\t}\n\n\t\t\tif (material.alphaMap) {\n\t\t\t\tuniforms.alphaMap.value = material.alphaMap;\n\t\t\t}\n\n\t\t\tif (material.alphaTest > 0) {\n\t\t\t\tuniforms.alphaTest.value = material.alphaTest;\n\t\t\t} // uv repeat and offset setting priorities\n\t\t\t// 1. color map\n\t\t\t// 2. alpha map\n\n\n\t\t\tlet uvScaleMap;\n\n\t\t\tif (material.map) {\n\t\t\t\tuvScaleMap = material.map;\n\t\t\t} else if (material.alphaMap) {\n\t\t\t\tuvScaleMap = material.alphaMap;\n\t\t\t}\n\n\t\t\tif (uvScaleMap !== undefined) {\n\t\t\t\tif (uvScaleMap.matrixAutoUpdate === true) {\n\t\t\t\t\tuvScaleMap.updateMatrix();\n\t\t\t\t}\n\n\t\t\t\tuniforms.uvTransform.value.copy(uvScaleMap.matrix);\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsPhong(uniforms, material) {\n\t\t\tuniforms.specular.value.copy(material.specular);\n\t\t\tuniforms.shininess.value = Math.max(material.shininess, 1e-4); // to prevent pow( 0.0, 0.0 )\n\t\t}\n\n\t\tfunction refreshUniformsToon(uniforms, material) {\n\t\t\tif (material.gradientMap) {\n\t\t\t\tuniforms.gradientMap.value = material.gradientMap;\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsStandard(uniforms, material) {\n\t\t\tuniforms.roughness.value = material.roughness;\n\t\t\tuniforms.metalness.value = material.metalness;\n\n\t\t\tif (material.roughnessMap) {\n\t\t\t\tuniforms.roughnessMap.value = material.roughnessMap;\n\t\t\t}\n\n\t\t\tif (material.metalnessMap) {\n\t\t\t\tuniforms.metalnessMap.value = material.metalnessMap;\n\t\t\t}\n\n\t\t\tconst envMap = properties.get(material).envMap;\n\n\t\t\tif (envMap) {\n\t\t\t\t//uniforms.envMap.value = material.envMap; // part of uniforms common\n\t\t\t\tuniforms.envMapIntensity.value = material.envMapIntensity;\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsPhysical(uniforms, material, transmissionRenderTarget) {\n\t\t\tuniforms.ior.value = material.ior; // also part of uniforms common\n\n\t\t\tif (material.sheen > 0) {\n\t\t\t\tuniforms.sheenColor.value.copy(material.sheenColor).multiplyScalar(material.sheen);\n\t\t\t\tuniforms.sheenRoughness.value = material.sheenRoughness;\n\n\t\t\t\tif (material.sheenColorMap) {\n\t\t\t\t\tuniforms.sheenColorMap.value = material.sheenColorMap;\n\t\t\t\t}\n\n\t\t\t\tif (material.sheenRoughnessMap) {\n\t\t\t\t\tuniforms.sheenRoughnessMap.value = material.sheenRoughnessMap;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (material.clearcoat > 0) {\n\t\t\t\tuniforms.clearcoat.value = material.clearcoat;\n\t\t\t\tuniforms.clearcoatRoughness.value = material.clearcoatRoughness;\n\n\t\t\t\tif (material.clearcoatMap) {\n\t\t\t\t\tuniforms.clearcoatMap.value = material.clearcoatMap;\n\t\t\t\t}\n\n\t\t\t\tif (material.clearcoatRoughnessMap) {\n\t\t\t\t\tuniforms.clearcoatRoughnessMap.value = material.clearcoatRoughnessMap;\n\t\t\t\t}\n\n\t\t\t\tif (material.clearcoatNormalMap) {\n\t\t\t\t\tuniforms.clearcoatNormalScale.value.copy(material.clearcoatNormalScale);\n\t\t\t\t\tuniforms.clearcoatNormalMap.value = material.clearcoatNormalMap;\n\n\t\t\t\t\tif (material.side === BackSide) {\n\t\t\t\t\t\tuniforms.clearcoatNormalScale.value.negate();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (material.iridescence > 0) {\n\t\t\t\tuniforms.iridescence.value = material.iridescence;\n\t\t\t\tuniforms.iridescenceIOR.value = material.iridescenceIOR;\n\t\t\t\tuniforms.iridescenceThicknessMinimum.value = material.iridescenceThicknessRange[0];\n\t\t\t\tuniforms.iridescenceThicknessMaximum.value = material.iridescenceThicknessRange[1];\n\n\t\t\t\tif (material.iridescenceMap) {\n\t\t\t\t\tuniforms.iridescenceMap.value = material.iridescenceMap;\n\t\t\t\t}\n\n\t\t\t\tif (material.iridescenceThicknessMap) {\n\t\t\t\t\tuniforms.iridescenceThicknessMap.value = material.iridescenceThicknessMap;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (material.transmission > 0) {\n\t\t\t\tuniforms.transmission.value = material.transmission;\n\t\t\t\tuniforms.transmissionSamplerMap.value = transmissionRenderTarget.texture;\n\t\t\t\tuniforms.transmissionSamplerSize.value.set(transmissionRenderTarget.width, transmissionRenderTarget.height);\n\n\t\t\t\tif (material.transmissionMap) {\n\t\t\t\t\tuniforms.transmissionMap.value = material.transmissionMap;\n\t\t\t\t}\n\n\t\t\t\tuniforms.thickness.value = material.thickness;\n\n\t\t\t\tif (material.thicknessMap) {\n\t\t\t\t\tuniforms.thicknessMap.value = material.thicknessMap;\n\t\t\t\t}\n\n\t\t\t\tuniforms.attenuationDistance.value = material.attenuationDistance;\n\t\t\t\tuniforms.attenuationColor.value.copy(material.attenuationColor);\n\t\t\t}\n\n\t\t\tuniforms.specularIntensity.value = material.specularIntensity;\n\t\t\tuniforms.specularColor.value.copy(material.specularColor);\n\n\t\t\tif (material.specularIntensityMap) {\n\t\t\t\tuniforms.specularIntensityMap.value = material.specularIntensityMap;\n\t\t\t}\n\n\t\t\tif (material.specularColorMap) {\n\t\t\t\tuniforms.specularColorMap.value = material.specularColorMap;\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsMatcap(uniforms, material) {\n\t\t\tif (material.matcap) {\n\t\t\t\tuniforms.matcap.value = material.matcap;\n\t\t\t}\n\t\t}\n\n\t\tfunction refreshUniformsDistance(uniforms, material) {\n\t\t\tuniforms.referencePosition.value.copy(material.referencePosition);\n\t\t\tuniforms.nearDistance.value = material.nearDistance;\n\t\t\tuniforms.farDistance.value = material.farDistance;\n\t\t}\n\n\t\treturn {\n\t\t\trefreshFogUniforms: refreshFogUniforms,\n\t\t\trefreshMaterialUniforms: refreshMaterialUniforms\n\t\t};\n\t}\n\n\tfunction createCanvasElement() {\n\t\tconst canvas = createElementNS('canvas');\n\t\tcanvas.style.display = 'block';\n\t\treturn canvas;\n\t}\n\n\tfunction WebGLRenderer(parameters = {}) {\n\t\tthis.isWebGLRenderer = true;\n\n\t\tconst _canvas = parameters.canvas !== undefined ? parameters.canvas : createCanvasElement(),\n\t\t\t\t\t_context = parameters.context !== undefined ? parameters.context : null,\n\t\t\t\t\t_depth = parameters.depth !== undefined ? parameters.depth : true,\n\t\t\t\t\t_stencil = parameters.stencil !== undefined ? parameters.stencil : true,\n\t\t\t\t\t_antialias = parameters.antialias !== undefined ? parameters.antialias : false,\n\t\t\t\t\t_premultipliedAlpha = parameters.premultipliedAlpha !== undefined ? parameters.premultipliedAlpha : true,\n\t\t\t\t\t_preserveDrawingBuffer = parameters.preserveDrawingBuffer !== undefined ? parameters.preserveDrawingBuffer : false,\n\t\t\t\t\t_powerPreference = parameters.powerPreference !== undefined ? parameters.powerPreference : 'default',\n\t\t\t\t\t_failIfMajorPerformanceCaveat = parameters.failIfMajorPerformanceCaveat !== undefined ? parameters.failIfMajorPerformanceCaveat : false;\n\n\t\tlet _alpha;\n\n\t\tif (_context !== null) {\n\t\t\t_alpha = _context.getContextAttributes().alpha;\n\t\t} else {\n\t\t\t_alpha = parameters.alpha !== undefined ? parameters.alpha : false;\n\t\t}\n\n\t\tlet currentRenderList = null;\n\t\tlet currentRenderState = null; // render() can be called from within a callback triggered by another render.\n\t\t// We track this so that the nested render call gets its list and state isolated from the parent render call.\n\n\t\tconst renderListStack = [];\n\t\tconst renderStateStack = []; // public properties\n\n\t\tthis.domElement = _canvas; // Debug configuration container\n\n\t\tthis.debug = {\n\t\t\t/**\n\t\t\t * Enables error checking and reporting when shader programs are being compiled\n\t\t\t * @type {boolean}\n\t\t\t */\n\t\t\tcheckShaderErrors: true\n\t\t}; // clearing\n\n\t\tthis.autoClear = true;\n\t\tthis.autoClearColor = true;\n\t\tthis.autoClearDepth = true;\n\t\tthis.autoClearStencil = true; // scene graph\n\n\t\tthis.sortObjects = true; // user-defined clipping\n\n\t\tthis.clippingPlanes = [];\n\t\tthis.localClippingEnabled = false; // physically based shading\n\n\t\tthis.outputEncoding = LinearEncoding; // physical lights\n\n\t\tthis.physicallyCorrectLights = false; // tone mapping\n\n\t\tthis.toneMapping = NoToneMapping;\n\t\tthis.toneMappingExposure = 1.0; //\n\n\t\tObject.defineProperties(this, {\n\t\t\t// @deprecated since r136, 0e21088102b4de7e0a0a33140620b7a3424b9e6d\n\t\t\tgammaFactor: {\n\t\t\t\tget: function () {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: .gammaFactor has been removed.');\n\t\t\t\t\treturn 2;\n\t\t\t\t},\n\t\t\t\tset: function () {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: .gammaFactor has been removed.');\n\t\t\t\t}\n\t\t\t}\n\t\t}); // internal properties\n\n\t\tconst _this = this;\n\n\t\tlet _isContextLost = false; // internal state cache\n\n\t\tlet _currentActiveCubeFace = 0;\n\t\tlet _currentActiveMipmapLevel = 0;\n\t\tlet _currentRenderTarget = null;\n\n\t\tlet _currentMaterialId = -1;\n\n\t\tlet _currentCamera = null;\n\n\t\tconst _currentViewport = new Vector4();\n\n\t\tconst _currentScissor = new Vector4();\n\n\t\tlet _currentScissorTest = null; //\n\n\t\tlet _width = _canvas.width;\n\t\tlet _height = _canvas.height;\n\t\tlet _pixelRatio = 1;\n\t\tlet _opaqueSort = null;\n\t\tlet _transparentSort = null;\n\n\t\tconst _viewport = new Vector4(0, 0, _width, _height);\n\n\t\tconst _scissor = new Vector4(0, 0, _width, _height);\n\n\t\tlet _scissorTest = false; // frustum\n\n\t\tconst _frustum = new Frustum(); // clipping\n\n\n\t\tlet _clippingEnabled = false;\n\t\tlet _localClippingEnabled = false; // transmission\n\n\t\tlet _transmissionRenderTarget = null; // camera matrices cache\n\n\t\tconst _projScreenMatrix = new Matrix4();\n\n\t\tconst _vector2 = new Vector2();\n\n\t\tconst _vector3 = new Vector3();\n\n\t\tconst _emptyScene = {\n\t\t\tbackground: null,\n\t\t\tfog: null,\n\t\t\tenvironment: null,\n\t\t\toverrideMaterial: null,\n\t\t\tisScene: true\n\t\t};\n\n\t\tfunction getTargetPixelRatio() {\n\t\t\treturn _currentRenderTarget === null ? _pixelRatio : 1;\n\t\t} // initialize\n\n\n\t\tlet _gl = _context;\n\n\t\tfunction getContext(contextNames, contextAttributes) {\n\t\t\tfor (let i = 0; i < contextNames.length; i++) {\n\t\t\t\tconst contextName = contextNames[i];\n\n\t\t\t\tconst context = _canvas.getContext(contextName, contextAttributes);\n\n\t\t\t\tif (context !== null) return context;\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\n\t\ttry {\n\t\t\tconst contextAttributes = {\n\t\t\t\talpha: true,\n\t\t\t\tdepth: _depth,\n\t\t\t\tstencil: _stencil,\n\t\t\t\tantialias: _antialias,\n\t\t\t\tpremultipliedAlpha: _premultipliedAlpha,\n\t\t\t\tpreserveDrawingBuffer: _preserveDrawingBuffer,\n\t\t\t\tpowerPreference: _powerPreference,\n\t\t\t\tfailIfMajorPerformanceCaveat: _failIfMajorPerformanceCaveat\n\t\t\t}; // OffscreenCanvas does not have setAttribute, see #22811\n\n\t\t\tif ('setAttribute' in _canvas) _canvas.setAttribute('data-engine', `three.js r${REVISION}`); // event listeners must be registered before WebGL context is created, see #12753\n\n\t\t\t_canvas.addEventListener('webglcontextlost', onContextLost, false);\n\n\t\t\t_canvas.addEventListener('webglcontextrestored', onContextRestore, false);\n\n\t\t\t_canvas.addEventListener('webglcontextcreationerror', onContextCreationError, false);\n\n\t\t\tif (_gl === null) {\n\t\t\t\tconst contextNames = ['webgl2', 'webgl', 'experimental-webgl'];\n\n\t\t\t\tif (_this.isWebGL1Renderer === true) {\n\t\t\t\t\tcontextNames.shift();\n\t\t\t\t}\n\n\t\t\t\t_gl = getContext(contextNames, contextAttributes);\n\n\t\t\t\tif (_gl === null) {\n\t\t\t\t\tif (getContext(contextNames)) {\n\t\t\t\t\t\tthrow new Error('Error creating WebGL context with your selected attributes.');\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error('Error creating WebGL context.');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} // Some experimental-webgl implementations do not have getShaderPrecisionFormat\n\n\n\t\t\tif (_gl.getShaderPrecisionFormat === undefined) {\n\t\t\t\t_gl.getShaderPrecisionFormat = function () {\n\t\t\t\t\treturn {\n\t\t\t\t\t\t'rangeMin': 1,\n\t\t\t\t\t\t'rangeMax': 1,\n\t\t\t\t\t\t'precision': 1\n\t\t\t\t\t};\n\t\t\t\t};\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tconsole.error('THREE.WebGLRenderer: ' + error.message);\n\t\t\tthrow error;\n\t\t}\n\n\t\tlet extensions, capabilities, state, info;\n\t\tlet properties, textures, cubemaps, cubeuvmaps, attributes, geometries, objects;\n\t\tlet programCache, materials, renderLists, renderStates, clipping, shadowMap;\n\t\tlet background, morphtargets, bufferRenderer, indexedBufferRenderer;\n\t\tlet utils, bindingStates;\n\n\t\tfunction initGLContext() {\n\t\t\textensions = new WebGLExtensions(_gl);\n\t\t\tcapabilities = new WebGLCapabilities(_gl, extensions, parameters);\n\t\t\textensions.init(capabilities);\n\t\t\tutils = new WebGLUtils(_gl, extensions, capabilities);\n\t\t\tstate = new WebGLState(_gl, extensions, capabilities);\n\t\t\tinfo = new WebGLInfo(_gl);\n\t\t\tproperties = new WebGLProperties();\n\t\t\ttextures = new WebGLTextures(_gl, extensions, state, properties, capabilities, utils, info);\n\t\t\tcubemaps = new WebGLCubeMaps(_this);\n\t\t\tcubeuvmaps = new WebGLCubeUVMaps(_this);\n\t\t\tattributes = new WebGLAttributes(_gl, capabilities);\n\t\t\tbindingStates = new WebGLBindingStates(_gl, extensions, attributes, capabilities);\n\t\t\tgeometries = new WebGLGeometries(_gl, attributes, info, bindingStates);\n\t\t\tobjects = new WebGLObjects(_gl, geometries, attributes, info);\n\t\t\tmorphtargets = new WebGLMorphtargets(_gl, capabilities, textures);\n\t\t\tclipping = new WebGLClipping(properties);\n\t\t\tprogramCache = new WebGLPrograms(_this, cubemaps, cubeuvmaps, extensions, capabilities, bindingStates, clipping);\n\t\t\tmaterials = new WebGLMaterials(_this, properties);\n\t\t\trenderLists = new WebGLRenderLists();\n\t\t\trenderStates = new WebGLRenderStates(extensions, capabilities);\n\t\t\tbackground = new WebGLBackground(_this, cubemaps, state, objects, _alpha, _premultipliedAlpha);\n\t\t\tshadowMap = new WebGLShadowMap(_this, objects, capabilities);\n\t\t\tbufferRenderer = new WebGLBufferRenderer(_gl, extensions, info, capabilities);\n\t\t\tindexedBufferRenderer = new WebGLIndexedBufferRenderer(_gl, extensions, info, capabilities);\n\t\t\tinfo.programs = programCache.programs;\n\t\t\t_this.capabilities = capabilities;\n\t\t\t_this.extensions = extensions;\n\t\t\t_this.properties = properties;\n\t\t\t_this.renderLists = renderLists;\n\t\t\t_this.shadowMap = shadowMap;\n\t\t\t_this.state = state;\n\t\t\t_this.info = info;\n\t\t}\n\n\t\tinitGLContext(); // xr\n\n\t\tconst xr = new WebXRManager(_this, _gl);\n\t\tthis.xr = xr; // API\n\n\t\tthis.getContext = function () {\n\t\t\treturn _gl;\n\t\t};\n\n\t\tthis.getContextAttributes = function () {\n\t\t\treturn _gl.getContextAttributes();\n\t\t};\n\n\t\tthis.forceContextLoss = function () {\n\t\t\tconst extension = extensions.get('WEBGL_lose_context');\n\t\t\tif (extension) extension.loseContext();\n\t\t};\n\n\t\tthis.forceContextRestore = function () {\n\t\t\tconst extension = extensions.get('WEBGL_lose_context');\n\t\t\tif (extension) extension.restoreContext();\n\t\t};\n\n\t\tthis.getPixelRatio = function () {\n\t\t\treturn _pixelRatio;\n\t\t};\n\n\t\tthis.setPixelRatio = function (value) {\n\t\t\tif (value === undefined) return;\n\t\t\t_pixelRatio = value;\n\t\t\tthis.setSize(_width, _height, false);\n\t\t};\n\n\t\tthis.getSize = function (target) {\n\t\t\treturn target.set(_width, _height);\n\t\t};\n\n\t\tthis.setSize = function (width, height, updateStyle) {\n\t\t\tif (xr.isPresenting) {\n\t\t\t\tconsole.warn('THREE.WebGLRenderer: Can\\'t change size while VR device is presenting.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t_width = width;\n\t\t\t_height = height;\n\t\t\t_canvas.width = Math.floor(width * _pixelRatio);\n\t\t\t_canvas.height = Math.floor(height * _pixelRatio);\n\n\t\t\tif (updateStyle !== false) {\n\t\t\t\t_canvas.style.width = width + 'px';\n\t\t\t\t_canvas.style.height = height + 'px';\n\t\t\t}\n\n\t\t\tthis.setViewport(0, 0, width, height);\n\t\t};\n\n\t\tthis.getDrawingBufferSize = function (target) {\n\t\t\treturn target.set(_width * _pixelRatio, _height * _pixelRatio).floor();\n\t\t};\n\n\t\tthis.setDrawingBufferSize = function (width, height, pixelRatio) {\n\t\t\t_width = width;\n\t\t\t_height = height;\n\t\t\t_pixelRatio = pixelRatio;\n\t\t\t_canvas.width = Math.floor(width * pixelRatio);\n\t\t\t_canvas.height = Math.floor(height * pixelRatio);\n\t\t\tthis.setViewport(0, 0, width, height);\n\t\t};\n\n\t\tthis.getCurrentViewport = function (target) {\n\t\t\treturn target.copy(_currentViewport);\n\t\t};\n\n\t\tthis.getViewport = function (target) {\n\t\t\treturn target.copy(_viewport);\n\t\t};\n\n\t\tthis.setViewport = function (x, y, width, height) {\n\t\t\tif (x.isVector4) {\n\t\t\t\t_viewport.set(x.x, x.y, x.z, x.w);\n\t\t\t} else {\n\t\t\t\t_viewport.set(x, y, width, height);\n\t\t\t}\n\n\t\t\tstate.viewport(_currentViewport.copy(_viewport).multiplyScalar(_pixelRatio).floor());\n\t\t};\n\n\t\tthis.getScissor = function (target) {\n\t\t\treturn target.copy(_scissor);\n\t\t};\n\n\t\tthis.setScissor = function (x, y, width, height) {\n\t\t\tif (x.isVector4) {\n\t\t\t\t_scissor.set(x.x, x.y, x.z, x.w);\n\t\t\t} else {\n\t\t\t\t_scissor.set(x, y, width, height);\n\t\t\t}\n\n\t\t\tstate.scissor(_currentScissor.copy(_scissor).multiplyScalar(_pixelRatio).floor());\n\t\t};\n\n\t\tthis.getScissorTest = function () {\n\t\t\treturn _scissorTest;\n\t\t};\n\n\t\tthis.setScissorTest = function (boolean) {\n\t\t\tstate.setScissorTest(_scissorTest = boolean);\n\t\t};\n\n\t\tthis.setOpaqueSort = function (method) {\n\t\t\t_opaqueSort = method;\n\t\t};\n\n\t\tthis.setTransparentSort = function (method) {\n\t\t\t_transparentSort = method;\n\t\t}; // Clearing\n\n\n\t\tthis.getClearColor = function (target) {\n\t\t\treturn target.copy(background.getClearColor());\n\t\t};\n\n\t\tthis.setClearColor = function () {\n\t\t\tbackground.setClearColor.apply(background, arguments);\n\t\t};\n\n\t\tthis.getClearAlpha = function () {\n\t\t\treturn background.getClearAlpha();\n\t\t};\n\n\t\tthis.setClearAlpha = function () {\n\t\t\tbackground.setClearAlpha.apply(background, arguments);\n\t\t};\n\n\t\tthis.clear = function (color = true, depth = true, stencil = true) {\n\t\t\tlet bits = 0;\n\t\t\tif (color) bits |= _gl.COLOR_BUFFER_BIT;\n\t\t\tif (depth) bits |= _gl.DEPTH_BUFFER_BIT;\n\t\t\tif (stencil) bits |= _gl.STENCIL_BUFFER_BIT;\n\n\t\t\t_gl.clear(bits);\n\t\t};\n\n\t\tthis.clearColor = function () {\n\t\t\tthis.clear(true, false, false);\n\t\t};\n\n\t\tthis.clearDepth = function () {\n\t\t\tthis.clear(false, true, false);\n\t\t};\n\n\t\tthis.clearStencil = function () {\n\t\t\tthis.clear(false, false, true);\n\t\t}; //\n\n\n\t\tthis.dispose = function () {\n\t\t\t_canvas.removeEventListener('webglcontextlost', onContextLost, false);\n\n\t\t\t_canvas.removeEventListener('webglcontextrestored', onContextRestore, false);\n\n\t\t\t_canvas.removeEventListener('webglcontextcreationerror', onContextCreationError, false);\n\n\t\t\trenderLists.dispose();\n\t\t\trenderStates.dispose();\n\t\t\tproperties.dispose();\n\t\t\tcubemaps.dispose();\n\t\t\tcubeuvmaps.dispose();\n\t\t\tobjects.dispose();\n\t\t\tbindingStates.dispose();\n\t\t\tprogramCache.dispose();\n\t\t\txr.dispose();\n\t\t\txr.removeEventListener('sessionstart', onXRSessionStart);\n\t\t\txr.removeEventListener('sessionend', onXRSessionEnd);\n\n\t\t\tif (_transmissionRenderTarget) {\n\t\t\t\t_transmissionRenderTarget.dispose();\n\n\t\t\t\t_transmissionRenderTarget = null;\n\t\t\t}\n\n\t\t\tanimation.stop();\n\t\t}; // Events\n\n\n\t\tfunction onContextLost(event) {\n\t\t\tevent.preventDefault();\n\t\t\tconsole.log('THREE.WebGLRenderer: Context Lost.');\n\t\t\t_isContextLost = true;\n\t\t}\n\n\t\tfunction\n\t\t\t/* event */\n\t\tonContextRestore() {\n\t\t\tconsole.log('THREE.WebGLRenderer: Context Restored.');\n\t\t\t_isContextLost = false;\n\t\t\tconst infoAutoReset = info.autoReset;\n\t\t\tconst shadowMapEnabled = shadowMap.enabled;\n\t\t\tconst shadowMapAutoUpdate = shadowMap.autoUpdate;\n\t\t\tconst shadowMapNeedsUpdate = shadowMap.needsUpdate;\n\t\t\tconst shadowMapType = shadowMap.type;\n\t\t\tinitGLContext();\n\t\t\tinfo.autoReset = infoAutoReset;\n\t\t\tshadowMap.enabled = shadowMapEnabled;\n\t\t\tshadowMap.autoUpdate = shadowMapAutoUpdate;\n\t\t\tshadowMap.needsUpdate = shadowMapNeedsUpdate;\n\t\t\tshadowMap.type = shadowMapType;\n\t\t}\n\n\t\tfunction onContextCreationError(event) {\n\t\t\tconsole.error('THREE.WebGLRenderer: A WebGL context could not be created. Reason: ', event.statusMessage);\n\t\t}\n\n\t\tfunction onMaterialDispose(event) {\n\t\t\tconst material = event.target;\n\t\t\tmaterial.removeEventListener('dispose', onMaterialDispose);\n\t\t\tdeallocateMaterial(material);\n\t\t} // Buffer deallocation\n\n\n\t\tfunction deallocateMaterial(material) {\n\t\t\treleaseMaterialProgramReferences(material);\n\t\t\tproperties.remove(material);\n\t\t}\n\n\t\tfunction releaseMaterialProgramReferences(material) {\n\t\t\tconst programs = properties.get(material).programs;\n\n\t\t\tif (programs !== undefined) {\n\t\t\t\tprograms.forEach(function (program) {\n\t\t\t\t\tprogramCache.releaseProgram(program);\n\t\t\t\t});\n\n\t\t\t\tif (material.isShaderMaterial) {\n\t\t\t\t\tprogramCache.releaseShaderCache(material);\n\t\t\t\t}\n\t\t\t}\n\t\t} // Buffer rendering\n\n\n\t\tthis.renderBufferDirect = function (camera, scene, geometry, material, object, group) {\n\t\t\tif (scene === null) scene = _emptyScene; // renderBufferDirect second parameter used to be fog (could be null)\n\n\t\t\tconst frontFaceCW = object.isMesh && object.matrixWorld.determinant() < 0;\n\t\t\tconst program = setProgram(camera, scene, geometry, material, object);\n\t\t\tstate.setMaterial(material, frontFaceCW); //\n\n\t\t\tlet index = geometry.index;\n\t\t\tconst position = geometry.attributes.position; //\n\n\t\t\tif (index === null) {\n\t\t\t\tif (position === undefined || position.count === 0) return;\n\t\t\t} else if (index.count === 0) {\n\t\t\t\treturn;\n\t\t\t} //\n\n\n\t\t\tlet rangeFactor = 1;\n\n\t\t\tif (material.wireframe === true) {\n\t\t\t\tindex = geometries.getWireframeAttribute(geometry);\n\t\t\t\trangeFactor = 2;\n\t\t\t}\n\n\t\t\tbindingStates.setup(object, material, program, geometry, index);\n\t\t\tlet attribute;\n\t\t\tlet renderer = bufferRenderer;\n\n\t\t\tif (index !== null) {\n\t\t\t\tattribute = attributes.get(index);\n\t\t\t\trenderer = indexedBufferRenderer;\n\t\t\t\trenderer.setIndex(attribute);\n\t\t\t} //\n\n\n\t\t\tconst dataCount = index !== null ? index.count : position.count;\n\t\t\tconst rangeStart = geometry.drawRange.start * rangeFactor;\n\t\t\tconst rangeCount = geometry.drawRange.count * rangeFactor;\n\t\t\tconst groupStart = group !== null ? group.start * rangeFactor : 0;\n\t\t\tconst groupCount = group !== null ? group.count * rangeFactor : Infinity;\n\t\t\tconst drawStart = Math.max(rangeStart, groupStart);\n\t\t\tconst drawEnd = Math.min(dataCount, rangeStart + rangeCount, groupStart + groupCount) - 1;\n\t\t\tconst drawCount = Math.max(0, drawEnd - drawStart + 1);\n\t\t\tif (drawCount === 0) return; //\n\n\t\t\tif (object.isMesh) {\n\t\t\t\tif (material.wireframe === true) {\n\t\t\t\t\tstate.setLineWidth(material.wireframeLinewidth * getTargetPixelRatio());\n\t\t\t\t\trenderer.setMode(_gl.LINES);\n\t\t\t\t} else {\n\t\t\t\t\trenderer.setMode(_gl.TRIANGLES);\n\t\t\t\t}\n\t\t\t} else if (object.isLine) {\n\t\t\t\tlet lineWidth = material.linewidth;\n\t\t\t\tif (lineWidth === undefined) lineWidth = 1; // Not using Line*Material\n\n\t\t\t\tstate.setLineWidth(lineWidth * getTargetPixelRatio());\n\n\t\t\t\tif (object.isLineSegments) {\n\t\t\t\t\trenderer.setMode(_gl.LINES);\n\t\t\t\t} else if (object.isLineLoop) {\n\t\t\t\t\trenderer.setMode(_gl.LINE_LOOP);\n\t\t\t\t} else {\n\t\t\t\t\trenderer.setMode(_gl.LINE_STRIP);\n\t\t\t\t}\n\t\t\t} else if (object.isPoints) {\n\t\t\t\trenderer.setMode(_gl.POINTS);\n\t\t\t} else if (object.isSprite) {\n\t\t\t\trenderer.setMode(_gl.TRIANGLES);\n\t\t\t}\n\n\t\t\tif (object.isInstancedMesh) {\n\t\t\t\trenderer.renderInstances(drawStart, drawCount, object.count);\n\t\t\t} else if (geometry.isInstancedBufferGeometry) {\n\t\t\t\tconst instanceCount = Math.min(geometry.instanceCount, geometry._maxInstanceCount);\n\t\t\t\trenderer.renderInstances(drawStart, drawCount, instanceCount);\n\t\t\t} else {\n\t\t\t\trenderer.render(drawStart, drawCount);\n\t\t\t}\n\t\t}; // Compile\n\n\n\t\tthis.compile = function (scene, camera) {\n\t\t\tcurrentRenderState = renderStates.get(scene);\n\t\t\tcurrentRenderState.init();\n\t\t\trenderStateStack.push(currentRenderState);\n\t\t\tscene.traverseVisible(function (object) {\n\t\t\t\tif (object.isLight && object.layers.test(camera.layers)) {\n\t\t\t\t\tcurrentRenderState.pushLight(object);\n\n\t\t\t\t\tif (object.castShadow) {\n\t\t\t\t\t\tcurrentRenderState.pushShadow(object);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\tcurrentRenderState.setupLights(_this.physicallyCorrectLights);\n\t\t\tscene.traverse(function (object) {\n\t\t\t\tconst material = object.material;\n\n\t\t\t\tif (material) {\n\t\t\t\t\tif (Array.isArray(material)) {\n\t\t\t\t\t\tfor (let i = 0; i < material.length; i++) {\n\t\t\t\t\t\t\tconst material2 = material[i];\n\t\t\t\t\t\t\tgetProgram(material2, scene, object);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\tgetProgram(material, scene, object);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\trenderStateStack.pop();\n\t\t\tcurrentRenderState = null;\n\t\t}; // Animation Loop\n\n\n\t\tlet onAnimationFrameCallback = null;\n\n\t\tfunction onAnimationFrame(time) {\n\t\t\tif (onAnimationFrameCallback) onAnimationFrameCallback(time);\n\t\t}\n\n\t\tfunction onXRSessionStart() {\n\t\t\tanimation.stop();\n\t\t}\n\n\t\tfunction onXRSessionEnd() {\n\t\t\tanimation.start();\n\t\t}\n\n\t\tconst animation = new WebGLAnimation();\n\t\tanimation.setAnimationLoop(onAnimationFrame);\n\t\tif (typeof self !== 'undefined') animation.setContext(self);\n\n\t\tthis.setAnimationLoop = function (callback) {\n\t\t\tonAnimationFrameCallback = callback;\n\t\t\txr.setAnimationLoop(callback);\n\t\t\tcallback === null ? animation.stop() : animation.start();\n\t\t};\n\n\t\txr.addEventListener('sessionstart', onXRSessionStart);\n\t\txr.addEventListener('sessionend', onXRSessionEnd); // Rendering\n\n\t\tthis.render = function (scene, camera) {\n\t\t\tif (camera !== undefined && camera.isCamera !== true) {\n\t\t\t\tconsole.error('THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (_isContextLost === true) return; // update scene graph\n\n\t\t\tif (scene.autoUpdate === true) scene.updateMatrixWorld(); // update camera matrices and frustum\n\n\t\t\tif (camera.parent === null) camera.updateMatrixWorld();\n\n\t\t\tif (xr.enabled === true && xr.isPresenting === true) {\n\t\t\t\tif (xr.cameraAutoUpdate === true) xr.updateCamera(camera);\n\t\t\t\tcamera = xr.getCamera(); // use XR camera for rendering\n\t\t\t} //\n\n\n\t\t\tif (scene.isScene === true) scene.onBeforeRender(_this, scene, camera, _currentRenderTarget);\n\t\t\tcurrentRenderState = renderStates.get(scene, renderStateStack.length);\n\t\t\tcurrentRenderState.init();\n\t\t\trenderStateStack.push(currentRenderState);\n\n\t\t\t_projScreenMatrix.multiplyMatrices(camera.projectionMatrix, camera.matrixWorldInverse);\n\n\t\t\t_frustum.setFromProjectionMatrix(_projScreenMatrix);\n\n\t\t\t_localClippingEnabled = this.localClippingEnabled;\n\t\t\t_clippingEnabled = clipping.init(this.clippingPlanes, _localClippingEnabled, camera);\n\t\t\tcurrentRenderList = renderLists.get(scene, renderListStack.length);\n\t\t\tcurrentRenderList.init();\n\t\t\trenderListStack.push(currentRenderList);\n\t\t\tprojectObject(scene, camera, 0, _this.sortObjects);\n\t\t\tcurrentRenderList.finish();\n\n\t\t\tif (_this.sortObjects === true) {\n\t\t\t\tcurrentRenderList.sort(_opaqueSort, _transparentSort);\n\t\t\t} //\n\n\n\t\t\tif (_clippingEnabled === true) clipping.beginShadows();\n\t\t\tconst shadowsArray = currentRenderState.state.shadowsArray;\n\t\t\tshadowMap.render(shadowsArray, scene, camera);\n\t\t\tif (_clippingEnabled === true) clipping.endShadows(); //\n\n\t\t\tif (this.info.autoReset === true) this.info.reset(); //\n\n\t\t\tbackground.render(currentRenderList, scene); // render scene\n\n\t\t\tcurrentRenderState.setupLights(_this.physicallyCorrectLights);\n\n\t\t\tif (camera.isArrayCamera) {\n\t\t\t\tconst cameras = camera.cameras;\n\n\t\t\t\tfor (let i = 0, l = cameras.length; i < l; i++) {\n\t\t\t\t\tconst camera2 = cameras[i];\n\t\t\t\t\trenderScene(currentRenderList, scene, camera2, camera2.viewport);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trenderScene(currentRenderList, scene, camera);\n\t\t\t} //\n\n\n\t\t\tif (_currentRenderTarget !== null) {\n\t\t\t\t// resolve multisample renderbuffers to a single-sample texture if necessary\n\t\t\t\ttextures.updateMultisampleRenderTarget(_currentRenderTarget); // Generate mipmap if we're using any kind of mipmap filtering\n\n\t\t\t\ttextures.updateRenderTargetMipmap(_currentRenderTarget);\n\t\t\t} //\n\n\n\t\t\tif (scene.isScene === true) scene.onAfterRender(_this, scene, camera); // _gl.finish();\n\n\t\t\tbindingStates.resetDefaultState();\n\t\t\t_currentMaterialId = -1;\n\t\t\t_currentCamera = null;\n\t\t\trenderStateStack.pop();\n\n\t\t\tif (renderStateStack.length > 0) {\n\t\t\t\tcurrentRenderState = renderStateStack[renderStateStack.length - 1];\n\t\t\t} else {\n\t\t\t\tcurrentRenderState = null;\n\t\t\t}\n\n\t\t\trenderListStack.pop();\n\n\t\t\tif (renderListStack.length > 0) {\n\t\t\t\tcurrentRenderList = renderListStack[renderListStack.length - 1];\n\t\t\t} else {\n\t\t\t\tcurrentRenderList = null;\n\t\t\t}\n\t\t};\n\n\t\tfunction projectObject(object, camera, groupOrder, sortObjects) {\n\t\t\tif (object.visible === false) return;\n\t\t\tconst visible = object.layers.test(camera.layers);\n\n\t\t\tif (visible) {\n\t\t\t\tif (object.isGroup) {\n\t\t\t\t\tgroupOrder = object.renderOrder;\n\t\t\t\t} else if (object.isLOD) {\n\t\t\t\t\tif (object.autoUpdate === true) object.update(camera);\n\t\t\t\t} else if (object.isLight) {\n\t\t\t\t\tcurrentRenderState.pushLight(object);\n\n\t\t\t\t\tif (object.castShadow) {\n\t\t\t\t\t\tcurrentRenderState.pushShadow(object);\n\t\t\t\t\t}\n\t\t\t\t} else if (object.isSprite) {\n\t\t\t\t\tif (!object.frustumCulled || _frustum.intersectsSprite(object)) {\n\t\t\t\t\t\tif (sortObjects) {\n\t\t\t\t\t\t\t_vector3.setFromMatrixPosition(object.matrixWorld).applyMatrix4(_projScreenMatrix);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst geometry = objects.update(object);\n\t\t\t\t\t\tconst material = object.material;\n\n\t\t\t\t\t\tif (material.visible) {\n\t\t\t\t\t\t\tcurrentRenderList.push(object, geometry, material, groupOrder, _vector3.z, null);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} else if (object.isMesh || object.isLine || object.isPoints) {\n\t\t\t\t\tif (object.isSkinnedMesh) {\n\t\t\t\t\t\t// update skeleton only once in a frame\n\t\t\t\t\t\tif (object.skeleton.frame !== info.render.frame) {\n\t\t\t\t\t\t\tobject.skeleton.update();\n\t\t\t\t\t\t\tobject.skeleton.frame = info.render.frame;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!object.frustumCulled || _frustum.intersectsObject(object)) {\n\t\t\t\t\t\tif (sortObjects) {\n\t\t\t\t\t\t\t_vector3.setFromMatrixPosition(object.matrixWorld).applyMatrix4(_projScreenMatrix);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst geometry = objects.update(object);\n\t\t\t\t\t\tconst material = object.material;\n\n\t\t\t\t\t\tif (Array.isArray(material)) {\n\t\t\t\t\t\t\tconst groups = geometry.groups;\n\n\t\t\t\t\t\t\tfor (let i = 0, l = groups.length; i < l; i++) {\n\t\t\t\t\t\t\t\tconst group = groups[i];\n\t\t\t\t\t\t\t\tconst groupMaterial = material[group.materialIndex];\n\n\t\t\t\t\t\t\t\tif (groupMaterial && groupMaterial.visible) {\n\t\t\t\t\t\t\t\t\tcurrentRenderList.push(object, geometry, groupMaterial, groupOrder, _vector3.z, group);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else if (material.visible) {\n\t\t\t\t\t\t\tcurrentRenderList.push(object, geometry, material, groupOrder, _vector3.z, null);\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\tconst children = object.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tprojectObject(children[i], camera, groupOrder, sortObjects);\n\t\t\t}\n\t\t}\n\n\t\tfunction renderScene(currentRenderList, scene, camera, viewport) {\n\t\t\tconst opaqueObjects = currentRenderList.opaque;\n\t\t\tconst transmissiveObjects = currentRenderList.transmissive;\n\t\t\tconst transparentObjects = currentRenderList.transparent;\n\t\t\tcurrentRenderState.setupLightsView(camera);\n\t\t\tif (transmissiveObjects.length > 0) renderTransmissionPass(opaqueObjects, scene, camera);\n\t\t\tif (viewport) state.viewport(_currentViewport.copy(viewport));\n\t\t\tif (opaqueObjects.length > 0) renderObjects(opaqueObjects, scene, camera);\n\t\t\tif (transmissiveObjects.length > 0) renderObjects(transmissiveObjects, scene, camera);\n\t\t\tif (transparentObjects.length > 0) renderObjects(transparentObjects, scene, camera); // Ensure depth buffer writing is enabled so it can be cleared on next render\n\n\t\t\tstate.buffers.depth.setTest(true);\n\t\t\tstate.buffers.depth.setMask(true);\n\t\t\tstate.buffers.color.setMask(true);\n\t\t\tstate.setPolygonOffset(false);\n\t\t}\n\n\t\tfunction renderTransmissionPass(opaqueObjects, scene, camera) {\n\t\t\tconst isWebGL2 = capabilities.isWebGL2;\n\n\t\t\tif (_transmissionRenderTarget === null) {\n\t\t\t\t_transmissionRenderTarget = new WebGLRenderTarget(1, 1, {\n\t\t\t\t\tgenerateMipmaps: true,\n\t\t\t\t\ttype: extensions.has('EXT_color_buffer_half_float') ? HalfFloatType : UnsignedByteType,\n\t\t\t\t\tminFilter: LinearMipmapLinearFilter,\n\t\t\t\t\tsamples: isWebGL2 && _antialias === true ? 4 : 0\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t_this.getDrawingBufferSize(_vector2);\n\n\t\t\tif (isWebGL2) {\n\t\t\t\t_transmissionRenderTarget.setSize(_vector2.x, _vector2.y);\n\t\t\t} else {\n\t\t\t\t_transmissionRenderTarget.setSize(floorPowerOfTwo(_vector2.x), floorPowerOfTwo(_vector2.y));\n\t\t\t} //\n\n\n\t\t\tconst currentRenderTarget = _this.getRenderTarget();\n\n\t\t\t_this.setRenderTarget(_transmissionRenderTarget);\n\n\t\t\t_this.clear(); // Turn off the features which can affect the frag color for opaque objects pass.\n\t\t\t// Otherwise they are applied twice in opaque objects pass and transmission objects pass.\n\n\n\t\t\tconst currentToneMapping = _this.toneMapping;\n\t\t\t_this.toneMapping = NoToneMapping;\n\t\t\trenderObjects(opaqueObjects, scene, camera);\n\t\t\t_this.toneMapping = currentToneMapping;\n\t\t\ttextures.updateMultisampleRenderTarget(_transmissionRenderTarget);\n\t\t\ttextures.updateRenderTargetMipmap(_transmissionRenderTarget);\n\n\t\t\t_this.setRenderTarget(currentRenderTarget);\n\t\t}\n\n\t\tfunction renderObjects(renderList, scene, camera) {\n\t\t\tconst overrideMaterial = scene.isScene === true ? scene.overrideMaterial : null;\n\n\t\t\tfor (let i = 0, l = renderList.length; i < l; i++) {\n\t\t\t\tconst renderItem = renderList[i];\n\t\t\t\tconst object = renderItem.object;\n\t\t\t\tconst geometry = renderItem.geometry;\n\t\t\t\tconst material = overrideMaterial === null ? renderItem.material : overrideMaterial;\n\t\t\t\tconst group = renderItem.group;\n\n\t\t\t\tif (object.layers.test(camera.layers)) {\n\t\t\t\t\trenderObject(object, scene, camera, geometry, material, group);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfunction renderObject(object, scene, camera, geometry, material, group) {\n\t\t\tobject.onBeforeRender(_this, scene, camera, geometry, material, group);\n\t\t\tobject.modelViewMatrix.multiplyMatrices(camera.matrixWorldInverse, object.matrixWorld);\n\t\t\tobject.normalMatrix.getNormalMatrix(object.modelViewMatrix);\n\t\t\tmaterial.onBeforeRender(_this, scene, camera, geometry, object, group);\n\n\t\t\tif (material.transparent === true && material.side === DoubleSide) {\n\t\t\t\tmaterial.side = BackSide;\n\t\t\t\tmaterial.needsUpdate = true;\n\n\t\t\t\t_this.renderBufferDirect(camera, scene, geometry, material, object, group);\n\n\t\t\t\tmaterial.side = FrontSide;\n\t\t\t\tmaterial.needsUpdate = true;\n\n\t\t\t\t_this.renderBufferDirect(camera, scene, geometry, material, object, group);\n\n\t\t\t\tmaterial.side = DoubleSide;\n\t\t\t} else {\n\t\t\t\t_this.renderBufferDirect(camera, scene, geometry, material, object, group);\n\t\t\t}\n\n\t\t\tobject.onAfterRender(_this, scene, camera, geometry, material, group);\n\t\t}\n\n\t\tfunction getProgram(material, scene, object) {\n\t\t\tif (scene.isScene !== true) scene = _emptyScene; // scene could be a Mesh, Line, Points, ...\n\n\t\t\tconst materialProperties = properties.get(material);\n\t\t\tconst lights = currentRenderState.state.lights;\n\t\t\tconst shadowsArray = currentRenderState.state.shadowsArray;\n\t\t\tconst lightsStateVersion = lights.state.version;\n\t\t\tconst parameters = programCache.getParameters(material, lights.state, shadowsArray, scene, object);\n\t\t\tconst programCacheKey = programCache.getProgramCacheKey(parameters);\n\t\t\tlet programs = materialProperties.programs; // always update environment and fog - changing these trigger an getProgram call, but it's possible that the program doesn't change\n\n\t\t\tmaterialProperties.environment = material.isMeshStandardMaterial ? scene.environment : null;\n\t\t\tmaterialProperties.fog = scene.fog;\n\t\t\tmaterialProperties.envMap = (material.isMeshStandardMaterial ? cubeuvmaps : cubemaps).get(material.envMap || materialProperties.environment);\n\n\t\t\tif (programs === undefined) {\n\t\t\t\t// new material\n\t\t\t\tmaterial.addEventListener('dispose', onMaterialDispose);\n\t\t\t\tprograms = new Map();\n\t\t\t\tmaterialProperties.programs = programs;\n\t\t\t}\n\n\t\t\tlet program = programs.get(programCacheKey);\n\n\t\t\tif (program !== undefined) {\n\t\t\t\t// early out if program and light state is identical\n\t\t\t\tif (materialProperties.currentProgram === program && materialProperties.lightsStateVersion === lightsStateVersion) {\n\t\t\t\t\tupdateCommonMaterialProperties(material, parameters);\n\t\t\t\t\treturn program;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tparameters.uniforms = programCache.getUniforms(material);\n\t\t\t\tmaterial.onBuild(object, parameters, _this);\n\t\t\t\tmaterial.onBeforeCompile(parameters, _this);\n\t\t\t\tprogram = programCache.acquireProgram(parameters, programCacheKey);\n\t\t\t\tprograms.set(programCacheKey, program);\n\t\t\t\tmaterialProperties.uniforms = parameters.uniforms;\n\t\t\t}\n\n\t\t\tconst uniforms = materialProperties.uniforms;\n\n\t\t\tif (!material.isShaderMaterial && !material.isRawShaderMaterial || material.clipping === true) {\n\t\t\t\tuniforms.clippingPlanes = clipping.uniform;\n\t\t\t}\n\n\t\t\tupdateCommonMaterialProperties(material, parameters); // store the light setup it was created for\n\n\t\t\tmaterialProperties.needsLights = materialNeedsLights(material);\n\t\t\tmaterialProperties.lightsStateVersion = lightsStateVersion;\n\n\t\t\tif (materialProperties.needsLights) {\n\t\t\t\t// wire up the material to this renderer's lighting state\n\t\t\t\tuniforms.ambientLightColor.value = lights.state.ambient;\n\t\t\t\tuniforms.lightProbe.value = lights.state.probe;\n\t\t\t\tuniforms.directionalLights.value = lights.state.directional;\n\t\t\t\tuniforms.directionalLightShadows.value = lights.state.directionalShadow;\n\t\t\t\tuniforms.spotLights.value = lights.state.spot;\n\t\t\t\tuniforms.spotLightShadows.value = lights.state.spotShadow;\n\t\t\t\tuniforms.rectAreaLights.value = lights.state.rectArea;\n\t\t\t\tuniforms.ltc_1.value = lights.state.rectAreaLTC1;\n\t\t\t\tuniforms.ltc_2.value = lights.state.rectAreaLTC2;\n\t\t\t\tuniforms.pointLights.value = lights.state.point;\n\t\t\t\tuniforms.pointLightShadows.value = lights.state.pointShadow;\n\t\t\t\tuniforms.hemisphereLights.value = lights.state.hemi;\n\t\t\t\tuniforms.directionalShadowMap.value = lights.state.directionalShadowMap;\n\t\t\t\tuniforms.directionalShadowMatrix.value = lights.state.directionalShadowMatrix;\n\t\t\t\tuniforms.spotShadowMap.value = lights.state.spotShadowMap;\n\t\t\t\tuniforms.spotShadowMatrix.value = lights.state.spotShadowMatrix;\n\t\t\t\tuniforms.pointShadowMap.value = lights.state.pointShadowMap;\n\t\t\t\tuniforms.pointShadowMatrix.value = lights.state.pointShadowMatrix; // TODO (abelnation): add area lights shadow info to uniforms\n\t\t\t}\n\n\t\t\tconst progUniforms = program.getUniforms();\n\t\t\tconst uniformsList = WebGLUniforms.seqWithValue(progUniforms.seq, uniforms);\n\t\t\tmaterialProperties.currentProgram = program;\n\t\t\tmaterialProperties.uniformsList = uniformsList;\n\t\t\treturn program;\n\t\t}\n\n\t\tfunction updateCommonMaterialProperties(material, parameters) {\n\t\t\tconst materialProperties = properties.get(material);\n\t\t\tmaterialProperties.outputEncoding = parameters.outputEncoding;\n\t\t\tmaterialProperties.instancing = parameters.instancing;\n\t\t\tmaterialProperties.skinning = parameters.skinning;\n\t\t\tmaterialProperties.morphTargets = parameters.morphTargets;\n\t\t\tmaterialProperties.morphNormals = parameters.morphNormals;\n\t\t\tmaterialProperties.morphColors = parameters.morphColors;\n\t\t\tmaterialProperties.morphTargetsCount = parameters.morphTargetsCount;\n\t\t\tmaterialProperties.numClippingPlanes = parameters.numClippingPlanes;\n\t\t\tmaterialProperties.numIntersection = parameters.numClipIntersection;\n\t\t\tmaterialProperties.vertexAlphas = parameters.vertexAlphas;\n\t\t\tmaterialProperties.vertexTangents = parameters.vertexTangents;\n\t\t\tmaterialProperties.toneMapping = parameters.toneMapping;\n\t\t}\n\n\t\tfunction setProgram(camera, scene, geometry, material, object) {\n\t\t\tif (scene.isScene !== true) scene = _emptyScene; // scene could be a Mesh, Line, Points, ...\n\n\t\t\ttextures.resetTextureUnits();\n\t\t\tconst fog = scene.fog;\n\t\t\tconst environment = material.isMeshStandardMaterial ? scene.environment : null;\n\t\t\tconst encoding = _currentRenderTarget === null ? _this.outputEncoding : _currentRenderTarget.isXRRenderTarget === true ? _currentRenderTarget.texture.encoding : LinearEncoding;\n\t\t\tconst envMap = (material.isMeshStandardMaterial ? cubeuvmaps : cubemaps).get(material.envMap || environment);\n\t\t\tconst vertexAlphas = material.vertexColors === true && !!geometry.attributes.color && geometry.attributes.color.itemSize === 4;\n\t\t\tconst vertexTangents = !!material.normalMap && !!geometry.attributes.tangent;\n\t\t\tconst morphTargets = !!geometry.morphAttributes.position;\n\t\t\tconst morphNormals = !!geometry.morphAttributes.normal;\n\t\t\tconst morphColors = !!geometry.morphAttributes.color;\n\t\t\tconst toneMapping = material.toneMapped ? _this.toneMapping : NoToneMapping;\n\t\t\tconst morphAttribute = geometry.morphAttributes.position || geometry.morphAttributes.normal || geometry.morphAttributes.color;\n\t\t\tconst morphTargetsCount = morphAttribute !== undefined ? morphAttribute.length : 0;\n\t\t\tconst materialProperties = properties.get(material);\n\t\t\tconst lights = currentRenderState.state.lights;\n\n\t\t\tif (_clippingEnabled === true) {\n\t\t\t\tif (_localClippingEnabled === true || camera !== _currentCamera) {\n\t\t\t\t\tconst useCache = camera === _currentCamera && material.id === _currentMaterialId; // we might want to call this function with some ClippingGroup\n\t\t\t\t\t// object instead of the material, once it becomes feasible\n\t\t\t\t\t// (#8465, #8379)\n\n\t\t\t\t\tclipping.setState(material, camera, useCache);\n\t\t\t\t}\n\t\t\t} //\n\n\n\t\t\tlet needsProgramChange = false;\n\n\t\t\tif (material.version === materialProperties.__version) {\n\t\t\t\tif (materialProperties.needsLights && materialProperties.lightsStateVersion !== lights.state.version) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.outputEncoding !== encoding) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (object.isInstancedMesh && materialProperties.instancing === false) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (!object.isInstancedMesh && materialProperties.instancing === true) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (object.isSkinnedMesh && materialProperties.skinning === false) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (!object.isSkinnedMesh && materialProperties.skinning === true) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.envMap !== envMap) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (material.fog === true && materialProperties.fog !== fog) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.numClippingPlanes !== undefined && (materialProperties.numClippingPlanes !== clipping.numPlanes || materialProperties.numIntersection !== clipping.numIntersection)) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.vertexAlphas !== vertexAlphas) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.vertexTangents !== vertexTangents) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.morphTargets !== morphTargets) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.morphNormals !== morphNormals) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.morphColors !== morphColors) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (materialProperties.toneMapping !== toneMapping) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t} else if (capabilities.isWebGL2 === true && materialProperties.morphTargetsCount !== morphTargetsCount) {\n\t\t\t\t\tneedsProgramChange = true;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tneedsProgramChange = true;\n\t\t\t\tmaterialProperties.__version = material.version;\n\t\t\t} //\n\n\n\t\t\tlet program = materialProperties.currentProgram;\n\n\t\t\tif (needsProgramChange === true) {\n\t\t\t\tprogram = getProgram(material, scene, object);\n\t\t\t}\n\n\t\t\tlet refreshProgram = false;\n\t\t\tlet refreshMaterial = false;\n\t\t\tlet refreshLights = false;\n\t\t\tconst p_uniforms = program.getUniforms(),\n\t\t\t\t\t\tm_uniforms = materialProperties.uniforms;\n\n\t\t\tif (state.useProgram(program.program)) {\n\t\t\t\trefreshProgram = true;\n\t\t\t\trefreshMaterial = true;\n\t\t\t\trefreshLights = true;\n\t\t\t}\n\n\t\t\tif (material.id !== _currentMaterialId) {\n\t\t\t\t_currentMaterialId = material.id;\n\t\t\t\trefreshMaterial = true;\n\t\t\t}\n\n\t\t\tif (refreshProgram || _currentCamera !== camera) {\n\t\t\t\tp_uniforms.setValue(_gl, 'projectionMatrix', camera.projectionMatrix);\n\n\t\t\t\tif (capabilities.logarithmicDepthBuffer) {\n\t\t\t\t\tp_uniforms.setValue(_gl, 'logDepthBufFC', 2.0 / (Math.log(camera.far + 1.0) / Math.LN2));\n\t\t\t\t}\n\n\t\t\t\tif (_currentCamera !== camera) {\n\t\t\t\t\t_currentCamera = camera; // lighting uniforms depend on the camera so enforce an update\n\t\t\t\t\t// now, in case this material supports lights - or later, when\n\t\t\t\t\t// the next material that does gets activated:\n\n\t\t\t\t\trefreshMaterial = true; // set to true on material change\n\n\t\t\t\t\trefreshLights = true; // remains set until update done\n\t\t\t\t} // load material specific uniforms\n\t\t\t\t// (shader material also gets them for the sake of genericity)\n\n\n\t\t\t\tif (material.isShaderMaterial || material.isMeshPhongMaterial || material.isMeshToonMaterial || material.isMeshStandardMaterial || material.envMap) {\n\t\t\t\t\tconst uCamPos = p_uniforms.map.cameraPosition;\n\n\t\t\t\t\tif (uCamPos !== undefined) {\n\t\t\t\t\t\tuCamPos.setValue(_gl, _vector3.setFromMatrixPosition(camera.matrixWorld));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (material.isMeshPhongMaterial || material.isMeshToonMaterial || material.isMeshLambertMaterial || material.isMeshBasicMaterial || material.isMeshStandardMaterial || material.isShaderMaterial) {\n\t\t\t\t\tp_uniforms.setValue(_gl, 'isOrthographic', camera.isOrthographicCamera === true);\n\t\t\t\t}\n\n\t\t\t\tif (material.isMeshPhongMaterial || material.isMeshToonMaterial || material.isMeshLambertMaterial || material.isMeshBasicMaterial || material.isMeshStandardMaterial || material.isShaderMaterial || material.isShadowMaterial || object.isSkinnedMesh) {\n\t\t\t\t\tp_uniforms.setValue(_gl, 'viewMatrix', camera.matrixWorldInverse);\n\t\t\t\t}\n\t\t\t} // skinning and morph target uniforms must be set even if material didn't change\n\t\t\t// auto-setting of texture unit for bone and morph texture must go before other textures\n\t\t\t// otherwise textures used for skinning and morphing can take over texture units reserved for other material textures\n\n\n\t\t\tif (object.isSkinnedMesh) {\n\t\t\t\tp_uniforms.setOptional(_gl, object, 'bindMatrix');\n\t\t\t\tp_uniforms.setOptional(_gl, object, 'bindMatrixInverse');\n\t\t\t\tconst skeleton = object.skeleton;\n\n\t\t\t\tif (skeleton) {\n\t\t\t\t\tif (capabilities.floatVertexTextures) {\n\t\t\t\t\t\tif (skeleton.boneTexture === null) skeleton.computeBoneTexture();\n\t\t\t\t\t\tp_uniforms.setValue(_gl, 'boneTexture', skeleton.boneTexture, textures);\n\t\t\t\t\t\tp_uniforms.setValue(_gl, 'boneTextureSize', skeleton.boneTextureSize);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required.');\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst morphAttributes = geometry.morphAttributes;\n\n\t\t\tif (morphAttributes.position !== undefined || morphAttributes.normal !== undefined || morphAttributes.color !== undefined && capabilities.isWebGL2 === true) {\n\t\t\t\tmorphtargets.update(object, geometry, material, program);\n\t\t\t}\n\n\t\t\tif (refreshMaterial || materialProperties.receiveShadow !== object.receiveShadow) {\n\t\t\t\tmaterialProperties.receiveShadow = object.receiveShadow;\n\t\t\t\tp_uniforms.setValue(_gl, 'receiveShadow', object.receiveShadow);\n\t\t\t}\n\n\t\t\tif (refreshMaterial) {\n\t\t\t\tp_uniforms.setValue(_gl, 'toneMappingExposure', _this.toneMappingExposure);\n\n\t\t\t\tif (materialProperties.needsLights) {\n\t\t\t\t\t// the current material requires lighting info\n\t\t\t\t\t// note: all lighting uniforms are always set correctly\n\t\t\t\t\t// they simply reference the renderer's state for their\n\t\t\t\t\t// values\n\t\t\t\t\t//\n\t\t\t\t\t// use the current material's .needsUpdate flags to set\n\t\t\t\t\t// the GL state when required\n\t\t\t\t\tmarkUniformsLightsNeedsUpdate(m_uniforms, refreshLights);\n\t\t\t\t} // refresh uniforms common to several materials\n\n\n\t\t\t\tif (fog && material.fog === true) {\n\t\t\t\t\tmaterials.refreshFogUniforms(m_uniforms, fog);\n\t\t\t\t}\n\n\t\t\t\tmaterials.refreshMaterialUniforms(m_uniforms, material, _pixelRatio, _height, _transmissionRenderTarget);\n\t\t\t\tWebGLUniforms.upload(_gl, materialProperties.uniformsList, m_uniforms, textures);\n\t\t\t}\n\n\t\t\tif (material.isShaderMaterial && material.uniformsNeedUpdate === true) {\n\t\t\t\tWebGLUniforms.upload(_gl, materialProperties.uniformsList, m_uniforms, textures);\n\t\t\t\tmaterial.uniformsNeedUpdate = false;\n\t\t\t}\n\n\t\t\tif (material.isSpriteMaterial) {\n\t\t\t\tp_uniforms.setValue(_gl, 'center', object.center);\n\t\t\t} // common matrices\n\n\n\t\t\tp_uniforms.setValue(_gl, 'modelViewMatrix', object.modelViewMatrix);\n\t\t\tp_uniforms.setValue(_gl, 'normalMatrix', object.normalMatrix);\n\t\t\tp_uniforms.setValue(_gl, 'modelMatrix', object.matrixWorld);\n\t\t\treturn program;\n\t\t} // If uniforms are marked as clean, they don't need to be loaded to the GPU.\n\n\n\t\tfunction markUniformsLightsNeedsUpdate(uniforms, value) {\n\t\t\tuniforms.ambientLightColor.needsUpdate = value;\n\t\t\tuniforms.lightProbe.needsUpdate = value;\n\t\t\tuniforms.directionalLights.needsUpdate = value;\n\t\t\tuniforms.directionalLightShadows.needsUpdate = value;\n\t\t\tuniforms.pointLights.needsUpdate = value;\n\t\t\tuniforms.pointLightShadows.needsUpdate = value;\n\t\t\tuniforms.spotLights.needsUpdate = value;\n\t\t\tuniforms.spotLightShadows.needsUpdate = value;\n\t\t\tuniforms.rectAreaLights.needsUpdate = value;\n\t\t\tuniforms.hemisphereLights.needsUpdate = value;\n\t\t}\n\n\t\tfunction materialNeedsLights(material) {\n\t\t\treturn material.isMeshLambertMaterial || material.isMeshToonMaterial || material.isMeshPhongMaterial || material.isMeshStandardMaterial || material.isShadowMaterial || material.isShaderMaterial && material.lights === true;\n\t\t}\n\n\t\tthis.getActiveCubeFace = function () {\n\t\t\treturn _currentActiveCubeFace;\n\t\t};\n\n\t\tthis.getActiveMipmapLevel = function () {\n\t\t\treturn _currentActiveMipmapLevel;\n\t\t};\n\n\t\tthis.getRenderTarget = function () {\n\t\t\treturn _currentRenderTarget;\n\t\t};\n\n\t\tthis.setRenderTargetTextures = function (renderTarget, colorTexture, depthTexture) {\n\t\t\tproperties.get(renderTarget.texture).__webglTexture = colorTexture;\n\t\t\tproperties.get(renderTarget.depthTexture).__webglTexture = depthTexture;\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\trenderTargetProperties.__hasExternalTextures = true;\n\n\t\t\tif (renderTargetProperties.__hasExternalTextures) {\n\t\t\t\trenderTargetProperties.__autoAllocateDepthBuffer = depthTexture === undefined;\n\n\t\t\t\tif (!renderTargetProperties.__autoAllocateDepthBuffer) {\n\t\t\t\t\t// The multisample_render_to_texture extension doesn't work properly if there\n\t\t\t\t\t// are midframe flushes and an external depth buffer. Disable use of the extension.\n\t\t\t\t\tif (extensions.has('WEBGL_multisampled_render_to_texture') === true) {\n\t\t\t\t\t\tconsole.warn('THREE.WebGLRenderer: Render-to-texture extension was disabled because an external texture was provided');\n\t\t\t\t\t\trenderTargetProperties.__useRenderToTexture = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tthis.setRenderTargetFramebuffer = function (renderTarget, defaultFramebuffer) {\n\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\t\t\trenderTargetProperties.__webglFramebuffer = defaultFramebuffer;\n\t\t\trenderTargetProperties.__useDefaultFramebuffer = defaultFramebuffer === undefined;\n\t\t};\n\n\t\tthis.setRenderTarget = function (renderTarget, activeCubeFace = 0, activeMipmapLevel = 0) {\n\t\t\t_currentRenderTarget = renderTarget;\n\t\t\t_currentActiveCubeFace = activeCubeFace;\n\t\t\t_currentActiveMipmapLevel = activeMipmapLevel;\n\t\t\tlet useDefaultFramebuffer = true;\n\n\t\t\tif (renderTarget) {\n\t\t\t\tconst renderTargetProperties = properties.get(renderTarget);\n\n\t\t\t\tif (renderTargetProperties.__useDefaultFramebuffer !== undefined) {\n\t\t\t\t\t// We need to make sure to rebind the framebuffer.\n\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, null);\n\t\t\t\t\tuseDefaultFramebuffer = false;\n\t\t\t\t} else if (renderTargetProperties.__webglFramebuffer === undefined) {\n\t\t\t\t\ttextures.setupRenderTarget(renderTarget);\n\t\t\t\t} else if (renderTargetProperties.__hasExternalTextures) {\n\t\t\t\t\t// Color and depth texture must be rebound in order for the swapchain to update.\n\t\t\t\t\ttextures.rebindTextures(renderTarget, properties.get(renderTarget.texture).__webglTexture, properties.get(renderTarget.depthTexture).__webglTexture);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet framebuffer = null;\n\t\t\tlet isCube = false;\n\t\t\tlet isRenderTarget3D = false;\n\n\t\t\tif (renderTarget) {\n\t\t\t\tconst texture = renderTarget.texture;\n\n\t\t\t\tif (texture.isData3DTexture || texture.isDataArrayTexture) {\n\t\t\t\t\tisRenderTarget3D = true;\n\t\t\t\t}\n\n\t\t\t\tconst __webglFramebuffer = properties.get(renderTarget).__webglFramebuffer;\n\n\t\t\t\tif (renderTarget.isWebGLCubeRenderTarget) {\n\t\t\t\t\tframebuffer = __webglFramebuffer[activeCubeFace];\n\t\t\t\t\tisCube = true;\n\t\t\t\t} else if (capabilities.isWebGL2 && renderTarget.samples > 0 && textures.useMultisampledRTT(renderTarget) === false) {\n\t\t\t\t\tframebuffer = properties.get(renderTarget).__webglMultisampledFramebuffer;\n\t\t\t\t} else {\n\t\t\t\t\tframebuffer = __webglFramebuffer;\n\t\t\t\t}\n\n\t\t\t\t_currentViewport.copy(renderTarget.viewport);\n\n\t\t\t\t_currentScissor.copy(renderTarget.scissor);\n\n\t\t\t\t_currentScissorTest = renderTarget.scissorTest;\n\t\t\t} else {\n\t\t\t\t_currentViewport.copy(_viewport).multiplyScalar(_pixelRatio).floor();\n\n\t\t\t\t_currentScissor.copy(_scissor).multiplyScalar(_pixelRatio).floor();\n\n\t\t\t\t_currentScissorTest = _scissorTest;\n\t\t\t}\n\n\t\t\tconst framebufferBound = state.bindFramebuffer(_gl.FRAMEBUFFER, framebuffer);\n\n\t\t\tif (framebufferBound && capabilities.drawBuffers && useDefaultFramebuffer) {\n\t\t\t\tstate.drawBuffers(renderTarget, framebuffer);\n\t\t\t}\n\n\t\t\tstate.viewport(_currentViewport);\n\t\t\tstate.scissor(_currentScissor);\n\t\t\tstate.setScissorTest(_currentScissorTest);\n\n\t\t\tif (isCube) {\n\t\t\t\tconst textureProperties = properties.get(renderTarget.texture);\n\n\t\t\t\t_gl.framebufferTexture2D(_gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, _gl.TEXTURE_CUBE_MAP_POSITIVE_X + activeCubeFace, textureProperties.__webglTexture, activeMipmapLevel);\n\t\t\t} else if (isRenderTarget3D) {\n\t\t\t\tconst textureProperties = properties.get(renderTarget.texture);\n\t\t\t\tconst layer = activeCubeFace || 0;\n\n\t\t\t\t_gl.framebufferTextureLayer(_gl.FRAMEBUFFER, _gl.COLOR_ATTACHMENT0, textureProperties.__webglTexture, activeMipmapLevel || 0, layer);\n\t\t\t}\n\n\t\t\t_currentMaterialId = -1; // reset current material to ensure correct uniform bindings\n\t\t};\n\n\t\tthis.readRenderTargetPixels = function (renderTarget, x, y, width, height, buffer, activeCubeFaceIndex) {\n\t\t\tif (!(renderTarget && renderTarget.isWebGLRenderTarget)) {\n\t\t\t\tconsole.error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tlet framebuffer = properties.get(renderTarget).__webglFramebuffer;\n\n\t\t\tif (renderTarget.isWebGLCubeRenderTarget && activeCubeFaceIndex !== undefined) {\n\t\t\t\tframebuffer = framebuffer[activeCubeFaceIndex];\n\t\t\t}\n\n\t\t\tif (framebuffer) {\n\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, framebuffer);\n\n\t\t\t\ttry {\n\t\t\t\t\tconst texture = renderTarget.texture;\n\t\t\t\t\tconst textureFormat = texture.format;\n\t\t\t\t\tconst textureType = texture.type;\n\n\t\t\t\t\tif (textureFormat !== RGBAFormat && utils.convert(textureFormat) !== _gl.getParameter(_gl.IMPLEMENTATION_COLOR_READ_FORMAT)) {\n\t\t\t\t\t\tconsole.error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst halfFloatSupportedByExt = textureType === HalfFloatType && (extensions.has('EXT_color_buffer_half_float') || capabilities.isWebGL2 && extensions.has('EXT_color_buffer_float'));\n\n\t\t\t\t\tif (textureType !== UnsignedByteType && utils.convert(textureType) !== _gl.getParameter(_gl.IMPLEMENTATION_COLOR_READ_TYPE) && // Edge and Chrome Mac < 52 (#9513)\n\t\t\t\t\t!(textureType === FloatType && (capabilities.isWebGL2 || extensions.has('OES_texture_float') || extensions.has('WEBGL_color_buffer_float'))) && // Chrome Mac >= 52 and Firefox\n\t\t\t\t\t!halfFloatSupportedByExt) {\n\t\t\t\t\t\tconsole.error('THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.');\n\t\t\t\t\t\treturn;\n\t\t\t\t\t} // the following if statement ensures valid read requests (no out-of-bounds pixels, see #8604)\n\n\n\t\t\t\t\tif (x >= 0 && x <= renderTarget.width - width && y >= 0 && y <= renderTarget.height - height) {\n\t\t\t\t\t\t_gl.readPixels(x, y, width, height, utils.convert(textureFormat), utils.convert(textureType), buffer);\n\t\t\t\t\t}\n\t\t\t\t} finally {\n\t\t\t\t\t// restore framebuffer of current render target if necessary\n\t\t\t\t\tconst framebuffer = _currentRenderTarget !== null ? properties.get(_currentRenderTarget).__webglFramebuffer : null;\n\t\t\t\t\tstate.bindFramebuffer(_gl.FRAMEBUFFER, framebuffer);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tthis.copyFramebufferToTexture = function (position, texture, level = 0) {\n\t\t\tconst levelScale = Math.pow(2, -level);\n\t\t\tconst width = Math.floor(texture.image.width * levelScale);\n\t\t\tconst height = Math.floor(texture.image.height * levelScale);\n\t\t\ttextures.setTexture2D(texture, 0);\n\n\t\t\t_gl.copyTexSubImage2D(_gl.TEXTURE_2D, level, 0, 0, position.x, position.y, width, height);\n\n\t\t\tstate.unbindTexture();\n\t\t};\n\n\t\tthis.copyTextureToTexture = function (position, srcTexture, dstTexture, level = 0) {\n\t\t\tconst width = srcTexture.image.width;\n\t\t\tconst height = srcTexture.image.height;\n\t\t\tconst glFormat = utils.convert(dstTexture.format);\n\t\t\tconst glType = utils.convert(dstTexture.type);\n\t\t\ttextures.setTexture2D(dstTexture, 0); // As another texture upload may have changed pixelStorei\n\t\t\t// parameters, make sure they are correct for the dstTexture\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL, dstTexture.flipY);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, dstTexture.premultiplyAlpha);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_ALIGNMENT, dstTexture.unpackAlignment);\n\n\t\t\tif (srcTexture.isDataTexture) {\n\t\t\t\t_gl.texSubImage2D(_gl.TEXTURE_2D, level, position.x, position.y, width, height, glFormat, glType, srcTexture.image.data);\n\t\t\t} else {\n\t\t\t\tif (srcTexture.isCompressedTexture) {\n\t\t\t\t\t_gl.compressedTexSubImage2D(_gl.TEXTURE_2D, level, position.x, position.y, srcTexture.mipmaps[0].width, srcTexture.mipmaps[0].height, glFormat, srcTexture.mipmaps[0].data);\n\t\t\t\t} else {\n\t\t\t\t\t_gl.texSubImage2D(_gl.TEXTURE_2D, level, position.x, position.y, glFormat, glType, srcTexture.image);\n\t\t\t\t}\n\t\t\t} // Generate mipmaps only when copying level 0\n\n\n\t\t\tif (level === 0 && dstTexture.generateMipmaps) _gl.generateMipmap(_gl.TEXTURE_2D);\n\t\t\tstate.unbindTexture();\n\t\t};\n\n\t\tthis.copyTextureToTexture3D = function (sourceBox, position, srcTexture, dstTexture, level = 0) {\n\t\t\tif (_this.isWebGL1Renderer) {\n\t\t\t\tconsole.warn('THREE.WebGLRenderer.copyTextureToTexture3D: can only be used with WebGL2.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst width = sourceBox.max.x - sourceBox.min.x + 1;\n\t\t\tconst height = sourceBox.max.y - sourceBox.min.y + 1;\n\t\t\tconst depth = sourceBox.max.z - sourceBox.min.z + 1;\n\t\t\tconst glFormat = utils.convert(dstTexture.format);\n\t\t\tconst glType = utils.convert(dstTexture.type);\n\t\t\tlet glTarget;\n\n\t\t\tif (dstTexture.isData3DTexture) {\n\t\t\t\ttextures.setTexture3D(dstTexture, 0);\n\t\t\t\tglTarget = _gl.TEXTURE_3D;\n\t\t\t} else if (dstTexture.isDataArrayTexture) {\n\t\t\t\ttextures.setTexture2DArray(dstTexture, 0);\n\t\t\t\tglTarget = _gl.TEXTURE_2D_ARRAY;\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.WebGLRenderer.copyTextureToTexture3D: only supports THREE.DataTexture3D and THREE.DataTexture2DArray.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_FLIP_Y_WEBGL, dstTexture.flipY);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_PREMULTIPLY_ALPHA_WEBGL, dstTexture.premultiplyAlpha);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_ALIGNMENT, dstTexture.unpackAlignment);\n\n\t\t\tconst unpackRowLen = _gl.getParameter(_gl.UNPACK_ROW_LENGTH);\n\n\t\t\tconst unpackImageHeight = _gl.getParameter(_gl.UNPACK_IMAGE_HEIGHT);\n\n\t\t\tconst unpackSkipPixels = _gl.getParameter(_gl.UNPACK_SKIP_PIXELS);\n\n\t\t\tconst unpackSkipRows = _gl.getParameter(_gl.UNPACK_SKIP_ROWS);\n\n\t\t\tconst unpackSkipImages = _gl.getParameter(_gl.UNPACK_SKIP_IMAGES);\n\n\t\t\tconst image = srcTexture.isCompressedTexture ? srcTexture.mipmaps[0] : srcTexture.image;\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_ROW_LENGTH, image.width);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_IMAGE_HEIGHT, image.height);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_PIXELS, sourceBox.min.x);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_ROWS, sourceBox.min.y);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_IMAGES, sourceBox.min.z);\n\n\t\t\tif (srcTexture.isDataTexture || srcTexture.isData3DTexture) {\n\t\t\t\t_gl.texSubImage3D(glTarget, level, position.x, position.y, position.z, width, height, depth, glFormat, glType, image.data);\n\t\t\t} else {\n\t\t\t\tif (srcTexture.isCompressedTexture) {\n\t\t\t\t\tconsole.warn('THREE.WebGLRenderer.copyTextureToTexture3D: untested support for compressed srcTexture.');\n\n\t\t\t\t\t_gl.compressedTexSubImage3D(glTarget, level, position.x, position.y, position.z, width, height, depth, glFormat, image.data);\n\t\t\t\t} else {\n\t\t\t\t\t_gl.texSubImage3D(glTarget, level, position.x, position.y, position.z, width, height, depth, glFormat, glType, image);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_ROW_LENGTH, unpackRowLen);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_IMAGE_HEIGHT, unpackImageHeight);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_PIXELS, unpackSkipPixels);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_ROWS, unpackSkipRows);\n\n\t\t\t_gl.pixelStorei(_gl.UNPACK_SKIP_IMAGES, unpackSkipImages); // Generate mipmaps only when copying level 0\n\n\n\t\t\tif (level === 0 && dstTexture.generateMipmaps) _gl.generateMipmap(glTarget);\n\t\t\tstate.unbindTexture();\n\t\t};\n\n\t\tthis.initTexture = function (texture) {\n\t\t\tif (texture.isCubeTexture) {\n\t\t\t\ttextures.setTextureCube(texture, 0);\n\t\t\t} else if (texture.isData3DTexture) {\n\t\t\t\ttextures.setTexture3D(texture, 0);\n\t\t\t} else if (texture.isDataArrayTexture) {\n\t\t\t\ttextures.setTexture2DArray(texture, 0);\n\t\t\t} else {\n\t\t\t\ttextures.setTexture2D(texture, 0);\n\t\t\t}\n\n\t\t\tstate.unbindTexture();\n\t\t};\n\n\t\tthis.resetState = function () {\n\t\t\t_currentActiveCubeFace = 0;\n\t\t\t_currentActiveMipmapLevel = 0;\n\t\t\t_currentRenderTarget = null;\n\t\t\tstate.reset();\n\t\t\tbindingStates.reset();\n\t\t};\n\n\t\tif (typeof __THREE_DEVTOOLS__ !== 'undefined') {\n\t\t\t__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent('observe', {\n\t\t\t\tdetail: this\n\t\t\t}));\n\t\t}\n\t}\n\n\tclass WebGL1Renderer extends WebGLRenderer {}\n\n\tWebGL1Renderer.prototype.isWebGL1Renderer = true;\n\n\tclass FogExp2 {\n\t\tconstructor(color, density = 0.00025) {\n\t\t\tthis.isFogExp2 = true;\n\t\t\tthis.name = '';\n\t\t\tthis.color = new Color(color);\n\t\t\tthis.density = density;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new FogExp2(this.color, this.density);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\treturn {\n\t\t\t\ttype: 'FogExp2',\n\t\t\t\tcolor: this.color.getHex(),\n\t\t\t\tdensity: this.density\n\t\t\t};\n\t\t}\n\n\t}\n\n\tclass Fog {\n\t\tconstructor(color, near = 1, far = 1000) {\n\t\t\tthis.isFog = true;\n\t\t\tthis.name = '';\n\t\t\tthis.color = new Color(color);\n\t\t\tthis.near = near;\n\t\t\tthis.far = far;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new Fog(this.color, this.near, this.far);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\treturn {\n\t\t\t\ttype: 'Fog',\n\t\t\t\tcolor: this.color.getHex(),\n\t\t\t\tnear: this.near,\n\t\t\t\tfar: this.far\n\t\t\t};\n\t\t}\n\n\t}\n\n\tclass Scene extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isScene = true;\n\t\t\tthis.type = 'Scene';\n\t\t\tthis.background = null;\n\t\t\tthis.environment = null;\n\t\t\tthis.fog = null;\n\t\t\tthis.overrideMaterial = null;\n\t\t\tthis.autoUpdate = true; // checked by the renderer\n\n\t\t\tif (typeof __THREE_DEVTOOLS__ !== 'undefined') {\n\t\t\t\t__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent('observe', {\n\t\t\t\t\tdetail: this\n\t\t\t\t}));\n\t\t\t}\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tif (source.background !== null) this.background = source.background.clone();\n\t\t\tif (source.environment !== null) this.environment = source.environment.clone();\n\t\t\tif (source.fog !== null) this.fog = source.fog.clone();\n\t\t\tif (source.overrideMaterial !== null) this.overrideMaterial = source.overrideMaterial.clone();\n\t\t\tthis.autoUpdate = source.autoUpdate;\n\t\t\tthis.matrixAutoUpdate = source.matrixAutoUpdate;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tif (this.fog !== null) data.object.fog = this.fog.toJSON();\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass InterleavedBuffer {\n\t\tconstructor(array, stride) {\n\t\t\tthis.isInterleavedBuffer = true;\n\t\t\tthis.array = array;\n\t\t\tthis.stride = stride;\n\t\t\tthis.count = array !== undefined ? array.length / stride : 0;\n\t\t\tthis.usage = StaticDrawUsage;\n\t\t\tthis.updateRange = {\n\t\t\t\toffset: 0,\n\t\t\t\tcount: -1\n\t\t\t};\n\t\t\tthis.version = 0;\n\t\t\tthis.uuid = generateUUID();\n\t\t}\n\n\t\tonUploadCallback() {}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) this.version++;\n\t\t}\n\n\t\tsetUsage(value) {\n\t\t\tthis.usage = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.array = new source.array.constructor(source.array);\n\t\t\tthis.count = source.count;\n\t\t\tthis.stride = source.stride;\n\t\t\tthis.usage = source.usage;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopyAt(index1, attribute, index2) {\n\t\t\tindex1 *= this.stride;\n\t\t\tindex2 *= attribute.stride;\n\n\t\t\tfor (let i = 0, l = this.stride; i < l; i++) {\n\t\t\t\tthis.array[index1 + i] = attribute.array[index2 + i];\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tset(value, offset = 0) {\n\t\t\tthis.array.set(value, offset);\n\t\t\treturn this;\n\t\t}\n\n\t\tclone(data) {\n\t\t\tif (data.arrayBuffers === undefined) {\n\t\t\t\tdata.arrayBuffers = {};\n\t\t\t}\n\n\t\t\tif (this.array.buffer._uuid === undefined) {\n\t\t\t\tthis.array.buffer._uuid = generateUUID();\n\t\t\t}\n\n\t\t\tif (data.arrayBuffers[this.array.buffer._uuid] === undefined) {\n\t\t\t\tdata.arrayBuffers[this.array.buffer._uuid] = this.array.slice(0).buffer;\n\t\t\t}\n\n\t\t\tconst array = new this.array.constructor(data.arrayBuffers[this.array.buffer._uuid]);\n\t\t\tconst ib = new this.constructor(array, this.stride);\n\t\t\tib.setUsage(this.usage);\n\t\t\treturn ib;\n\t\t}\n\n\t\tonUpload(callback) {\n\t\t\tthis.onUploadCallback = callback;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(data) {\n\t\t\tif (data.arrayBuffers === undefined) {\n\t\t\t\tdata.arrayBuffers = {};\n\t\t\t} // generate UUID for array buffer if necessary\n\n\n\t\t\tif (this.array.buffer._uuid === undefined) {\n\t\t\t\tthis.array.buffer._uuid = generateUUID();\n\t\t\t}\n\n\t\t\tif (data.arrayBuffers[this.array.buffer._uuid] === undefined) {\n\t\t\t\tdata.arrayBuffers[this.array.buffer._uuid] = Array.from(new Uint32Array(this.array.buffer));\n\t\t\t} //\n\n\n\t\t\treturn {\n\t\t\t\tuuid: this.uuid,\n\t\t\t\tbuffer: this.array.buffer._uuid,\n\t\t\t\ttype: this.array.constructor.name,\n\t\t\t\tstride: this.stride\n\t\t\t};\n\t\t}\n\n\t}\n\n\tconst _vector$6 = /*@__PURE__*/new Vector3();\n\n\tclass InterleavedBufferAttribute {\n\t\tconstructor(interleavedBuffer, itemSize, offset, normalized = false) {\n\t\t\tthis.isInterleavedBufferAttribute = true;\n\t\t\tthis.name = '';\n\t\t\tthis.data = interleavedBuffer;\n\t\t\tthis.itemSize = itemSize;\n\t\t\tthis.offset = offset;\n\t\t\tthis.normalized = normalized === true;\n\t\t}\n\n\t\tget count() {\n\t\t\treturn this.data.count;\n\t\t}\n\n\t\tget array() {\n\t\t\treturn this.data.array;\n\t\t}\n\n\t\tset needsUpdate(value) {\n\t\t\tthis.data.needsUpdate = value;\n\t\t}\n\n\t\tapplyMatrix4(m) {\n\t\t\tfor (let i = 0, l = this.data.count; i < l; i++) {\n\t\t\t\t_vector$6.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$6.applyMatrix4(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$6.x, _vector$6.y, _vector$6.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tapplyNormalMatrix(m) {\n\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t_vector$6.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$6.applyNormalMatrix(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$6.x, _vector$6.y, _vector$6.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttransformDirection(m) {\n\t\t\tfor (let i = 0, l = this.count; i < l; i++) {\n\t\t\t\t_vector$6.fromBufferAttribute(this, i);\n\n\t\t\t\t_vector$6.transformDirection(m);\n\n\t\t\t\tthis.setXYZ(i, _vector$6.x, _vector$6.y, _vector$6.z);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetX(index, x) {\n\t\t\tthis.data.array[index * this.data.stride + this.offset] = x;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetY(index, y) {\n\t\t\tthis.data.array[index * this.data.stride + this.offset + 1] = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetZ(index, z) {\n\t\t\tthis.data.array[index * this.data.stride + this.offset + 2] = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetW(index, w) {\n\t\t\tthis.data.array[index * this.data.stride + this.offset + 3] = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetX(index) {\n\t\t\treturn this.data.array[index * this.data.stride + this.offset];\n\t\t}\n\n\t\tgetY(index) {\n\t\t\treturn this.data.array[index * this.data.stride + this.offset + 1];\n\t\t}\n\n\t\tgetZ(index) {\n\t\t\treturn this.data.array[index * this.data.stride + this.offset + 2];\n\t\t}\n\n\t\tgetW(index) {\n\t\t\treturn this.data.array[index * this.data.stride + this.offset + 3];\n\t\t}\n\n\t\tsetXY(index, x, y) {\n\t\t\tindex = index * this.data.stride + this.offset;\n\t\t\tthis.data.array[index + 0] = x;\n\t\t\tthis.data.array[index + 1] = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetXYZ(index, x, y, z) {\n\t\t\tindex = index * this.data.stride + this.offset;\n\t\t\tthis.data.array[index + 0] = x;\n\t\t\tthis.data.array[index + 1] = y;\n\t\t\tthis.data.array[index + 2] = z;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetXYZW(index, x, y, z, w) {\n\t\t\tindex = index * this.data.stride + this.offset;\n\t\t\tthis.data.array[index + 0] = x;\n\t\t\tthis.data.array[index + 1] = y;\n\t\t\tthis.data.array[index + 2] = z;\n\t\t\tthis.data.array[index + 3] = w;\n\t\t\treturn this;\n\t\t}\n\n\t\tclone(data) {\n\t\t\tif (data === undefined) {\n\t\t\t\tconsole.log('THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will deinterleave buffer data.');\n\t\t\t\tconst array = [];\n\n\t\t\t\tfor (let i = 0; i < this.count; i++) {\n\t\t\t\t\tconst index = i * this.data.stride + this.offset;\n\n\t\t\t\t\tfor (let j = 0; j < this.itemSize; j++) {\n\t\t\t\t\t\tarray.push(this.data.array[index + j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn new BufferAttribute(new this.array.constructor(array), this.itemSize, this.normalized);\n\t\t\t} else {\n\t\t\t\tif (data.interleavedBuffers === undefined) {\n\t\t\t\t\tdata.interleavedBuffers = {};\n\t\t\t\t}\n\n\t\t\t\tif (data.interleavedBuffers[this.data.uuid] === undefined) {\n\t\t\t\t\tdata.interleavedBuffers[this.data.uuid] = this.data.clone(data);\n\t\t\t\t}\n\n\t\t\t\treturn new InterleavedBufferAttribute(data.interleavedBuffers[this.data.uuid], this.itemSize, this.offset, this.normalized);\n\t\t\t}\n\t\t}\n\n\t\ttoJSON(data) {\n\t\t\tif (data === undefined) {\n\t\t\t\tconsole.log('THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will deinterleave buffer data.');\n\t\t\t\tconst array = [];\n\n\t\t\t\tfor (let i = 0; i < this.count; i++) {\n\t\t\t\t\tconst index = i * this.data.stride + this.offset;\n\n\t\t\t\t\tfor (let j = 0; j < this.itemSize; j++) {\n\t\t\t\t\t\tarray.push(this.data.array[index + j]);\n\t\t\t\t\t}\n\t\t\t\t} // deinterleave data and save it as an ordinary buffer attribute for now\n\n\n\t\t\t\treturn {\n\t\t\t\t\titemSize: this.itemSize,\n\t\t\t\t\ttype: this.array.constructor.name,\n\t\t\t\t\tarray: array,\n\t\t\t\t\tnormalized: this.normalized\n\t\t\t\t};\n\t\t\t} else {\n\t\t\t\t// save as true interleaved attribtue\n\t\t\t\tif (data.interleavedBuffers === undefined) {\n\t\t\t\t\tdata.interleavedBuffers = {};\n\t\t\t\t}\n\n\t\t\t\tif (data.interleavedBuffers[this.data.uuid] === undefined) {\n\t\t\t\t\tdata.interleavedBuffers[this.data.uuid] = this.data.toJSON(data);\n\t\t\t\t}\n\n\t\t\t\treturn {\n\t\t\t\t\tisInterleavedBufferAttribute: true,\n\t\t\t\t\titemSize: this.itemSize,\n\t\t\t\t\tdata: this.data.uuid,\n\t\t\t\t\toffset: this.offset,\n\t\t\t\t\tnormalized: this.normalized\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass SpriteMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isSpriteMaterial = true;\n\t\t\tthis.type = 'SpriteMaterial';\n\t\t\tthis.color = new Color(0xffffff);\n\t\t\tthis.map = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.rotation = 0;\n\t\t\tthis.sizeAttenuation = true;\n\t\t\tthis.transparent = true;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.map = source.map;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.rotation = source.rotation;\n\t\t\tthis.sizeAttenuation = source.sizeAttenuation;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tlet _geometry;\n\n\tconst _intersectPoint = /*@__PURE__*/new Vector3();\n\n\tconst _worldScale = /*@__PURE__*/new Vector3();\n\n\tconst _mvPosition = /*@__PURE__*/new Vector3();\n\n\tconst _alignedPosition = /*@__PURE__*/new Vector2();\n\n\tconst _rotatedPosition = /*@__PURE__*/new Vector2();\n\n\tconst _viewWorldMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _vA = /*@__PURE__*/new Vector3();\n\n\tconst _vB = /*@__PURE__*/new Vector3();\n\n\tconst _vC = /*@__PURE__*/new Vector3();\n\n\tconst _uvA = /*@__PURE__*/new Vector2();\n\n\tconst _uvB = /*@__PURE__*/new Vector2();\n\n\tconst _uvC = /*@__PURE__*/new Vector2();\n\n\tclass Sprite extends Object3D {\n\t\tconstructor(material) {\n\t\t\tsuper();\n\t\t\tthis.isSprite = true;\n\t\t\tthis.type = 'Sprite';\n\n\t\t\tif (_geometry === undefined) {\n\t\t\t\t_geometry = new BufferGeometry();\n\t\t\t\tconst float32Array = new Float32Array([-0.5, -0.5, 0, 0, 0, 0.5, -0.5, 0, 1, 0, 0.5, 0.5, 0, 1, 1, -0.5, 0.5, 0, 0, 1]);\n\t\t\t\tconst interleavedBuffer = new InterleavedBuffer(float32Array, 5);\n\n\t\t\t\t_geometry.setIndex([0, 1, 2, 0, 2, 3]);\n\n\t\t\t\t_geometry.setAttribute('position', new InterleavedBufferAttribute(interleavedBuffer, 3, 0, false));\n\n\t\t\t\t_geometry.setAttribute('uv', new InterleavedBufferAttribute(interleavedBuffer, 2, 3, false));\n\t\t\t}\n\n\t\t\tthis.geometry = _geometry;\n\t\t\tthis.material = material !== undefined ? material : new SpriteMaterial();\n\t\t\tthis.center = new Vector2(0.5, 0.5);\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tif (raycaster.camera === null) {\n\t\t\t\tconsole.error('THREE.Sprite: \"Raycaster.camera\" needs to be set in order to raycast against sprites.');\n\t\t\t}\n\n\t\t\t_worldScale.setFromMatrixScale(this.matrixWorld);\n\n\t\t\t_viewWorldMatrix.copy(raycaster.camera.matrixWorld);\n\n\t\t\tthis.modelViewMatrix.multiplyMatrices(raycaster.camera.matrixWorldInverse, this.matrixWorld);\n\n\t\t\t_mvPosition.setFromMatrixPosition(this.modelViewMatrix);\n\n\t\t\tif (raycaster.camera.isPerspectiveCamera && this.material.sizeAttenuation === false) {\n\t\t\t\t_worldScale.multiplyScalar(-_mvPosition.z);\n\t\t\t}\n\n\t\t\tconst rotation = this.material.rotation;\n\t\t\tlet sin, cos;\n\n\t\t\tif (rotation !== 0) {\n\t\t\t\tcos = Math.cos(rotation);\n\t\t\t\tsin = Math.sin(rotation);\n\t\t\t}\n\n\t\t\tconst center = this.center;\n\t\t\ttransformVertex(_vA.set(-0.5, -0.5, 0), _mvPosition, center, _worldScale, sin, cos);\n\t\t\ttransformVertex(_vB.set(0.5, -0.5, 0), _mvPosition, center, _worldScale, sin, cos);\n\t\t\ttransformVertex(_vC.set(0.5, 0.5, 0), _mvPosition, center, _worldScale, sin, cos);\n\n\t\t\t_uvA.set(0, 0);\n\n\t\t\t_uvB.set(1, 0);\n\n\t\t\t_uvC.set(1, 1); // check first triangle\n\n\n\t\t\tlet intersect = raycaster.ray.intersectTriangle(_vA, _vB, _vC, false, _intersectPoint);\n\n\t\t\tif (intersect === null) {\n\t\t\t\t// check second triangle\n\t\t\t\ttransformVertex(_vB.set(-0.5, 0.5, 0), _mvPosition, center, _worldScale, sin, cos);\n\n\t\t\t\t_uvB.set(0, 1);\n\n\t\t\t\tintersect = raycaster.ray.intersectTriangle(_vA, _vC, _vB, false, _intersectPoint);\n\n\t\t\t\tif (intersect === null) {\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst distance = raycaster.ray.origin.distanceTo(_intersectPoint);\n\t\t\tif (distance < raycaster.near || distance > raycaster.far) return;\n\t\t\tintersects.push({\n\t\t\t\tdistance: distance,\n\t\t\t\tpoint: _intersectPoint.clone(),\n\t\t\t\tuv: Triangle.getUV(_intersectPoint, _vA, _vB, _vC, _uvA, _uvB, _uvC, new Vector2()),\n\t\t\t\tface: null,\n\t\t\t\tobject: this\n\t\t\t});\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tif (source.center !== undefined) this.center.copy(source.center);\n\t\t\tthis.material = source.material;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tfunction transformVertex(vertexPosition, mvPosition, center, scale, sin, cos) {\n\t\t// compute position in camera space\n\t\t_alignedPosition.subVectors(vertexPosition, center).addScalar(0.5).multiply(scale); // to check if rotation is not zero\n\n\n\t\tif (sin !== undefined) {\n\t\t\t_rotatedPosition.x = cos * _alignedPosition.x - sin * _alignedPosition.y;\n\t\t\t_rotatedPosition.y = sin * _alignedPosition.x + cos * _alignedPosition.y;\n\t\t} else {\n\t\t\t_rotatedPosition.copy(_alignedPosition);\n\t\t}\n\n\t\tvertexPosition.copy(mvPosition);\n\t\tvertexPosition.x += _rotatedPosition.x;\n\t\tvertexPosition.y += _rotatedPosition.y; // transform to world space\n\n\t\tvertexPosition.applyMatrix4(_viewWorldMatrix);\n\t}\n\n\tconst _v1$2 = /*@__PURE__*/new Vector3();\n\n\tconst _v2$1 = /*@__PURE__*/new Vector3();\n\n\tclass LOD extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis._currentLevel = 0;\n\t\t\tthis.type = 'LOD';\n\t\t\tObject.defineProperties(this, {\n\t\t\t\tlevels: {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tvalue: []\n\t\t\t\t},\n\t\t\t\tisLOD: {\n\t\t\t\t\tvalue: true\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.autoUpdate = true;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source, false);\n\t\t\tconst levels = source.levels;\n\n\t\t\tfor (let i = 0, l = levels.length; i < l; i++) {\n\t\t\t\tconst level = levels[i];\n\t\t\t\tthis.addLevel(level.object.clone(), level.distance);\n\t\t\t}\n\n\t\t\tthis.autoUpdate = source.autoUpdate;\n\t\t\treturn this;\n\t\t}\n\n\t\taddLevel(object, distance = 0) {\n\t\t\tdistance = Math.abs(distance);\n\t\t\tconst levels = this.levels;\n\t\t\tlet l;\n\n\t\t\tfor (l = 0; l < levels.length; l++) {\n\t\t\t\tif (distance < levels[l].distance) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlevels.splice(l, 0, {\n\t\t\t\tdistance: distance,\n\t\t\t\tobject: object\n\t\t\t});\n\t\t\tthis.add(object);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetCurrentLevel() {\n\t\t\treturn this._currentLevel;\n\t\t}\n\n\t\tgetObjectForDistance(distance) {\n\t\t\tconst levels = this.levels;\n\n\t\t\tif (levels.length > 0) {\n\t\t\t\tlet i, l;\n\n\t\t\t\tfor (i = 1, l = levels.length; i < l; i++) {\n\t\t\t\t\tif (distance < levels[i].distance) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn levels[i - 1].object;\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tconst levels = this.levels;\n\n\t\t\tif (levels.length > 0) {\n\t\t\t\t_v1$2.setFromMatrixPosition(this.matrixWorld);\n\n\t\t\t\tconst distance = raycaster.ray.origin.distanceTo(_v1$2);\n\t\t\t\tthis.getObjectForDistance(distance).raycast(raycaster, intersects);\n\t\t\t}\n\t\t}\n\n\t\tupdate(camera) {\n\t\t\tconst levels = this.levels;\n\n\t\t\tif (levels.length > 1) {\n\t\t\t\t_v1$2.setFromMatrixPosition(camera.matrixWorld);\n\n\t\t\t\t_v2$1.setFromMatrixPosition(this.matrixWorld);\n\n\t\t\t\tconst distance = _v1$2.distanceTo(_v2$1) / camera.zoom;\n\t\t\t\tlevels[0].object.visible = true;\n\t\t\t\tlet i, l;\n\n\t\t\t\tfor (i = 1, l = levels.length; i < l; i++) {\n\t\t\t\t\tif (distance >= levels[i].distance) {\n\t\t\t\t\t\tlevels[i - 1].object.visible = false;\n\t\t\t\t\t\tlevels[i].object.visible = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis._currentLevel = i - 1;\n\n\t\t\t\tfor (; i < l; i++) {\n\t\t\t\t\tlevels[i].object.visible = false;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tif (this.autoUpdate === false) data.object.autoUpdate = false;\n\t\t\tdata.object.levels = [];\n\t\t\tconst levels = this.levels;\n\n\t\t\tfor (let i = 0, l = levels.length; i < l; i++) {\n\t\t\t\tconst level = levels[i];\n\t\t\t\tdata.object.levels.push({\n\t\t\t\t\tobject: level.object.uuid,\n\t\t\t\t\tdistance: level.distance\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tconst _basePosition = /*@__PURE__*/new Vector3();\n\n\tconst _skinIndex = /*@__PURE__*/new Vector4();\n\n\tconst _skinWeight = /*@__PURE__*/new Vector4();\n\n\tconst _vector$5 = /*@__PURE__*/new Vector3();\n\n\tconst _matrix = /*@__PURE__*/new Matrix4();\n\n\tclass SkinnedMesh extends Mesh {\n\t\tconstructor(geometry, material) {\n\t\t\tsuper(geometry, material);\n\t\t\tthis.isSkinnedMesh = true;\n\t\t\tthis.type = 'SkinnedMesh';\n\t\t\tthis.bindMode = 'attached';\n\t\t\tthis.bindMatrix = new Matrix4();\n\t\t\tthis.bindMatrixInverse = new Matrix4();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.bindMode = source.bindMode;\n\t\t\tthis.bindMatrix.copy(source.bindMatrix);\n\t\t\tthis.bindMatrixInverse.copy(source.bindMatrixInverse);\n\t\t\tthis.skeleton = source.skeleton;\n\t\t\treturn this;\n\t\t}\n\n\t\tbind(skeleton, bindMatrix) {\n\t\t\tthis.skeleton = skeleton;\n\n\t\t\tif (bindMatrix === undefined) {\n\t\t\t\tthis.updateMatrixWorld(true);\n\t\t\t\tthis.skeleton.calculateInverses();\n\t\t\t\tbindMatrix = this.matrixWorld;\n\t\t\t}\n\n\t\t\tthis.bindMatrix.copy(bindMatrix);\n\t\t\tthis.bindMatrixInverse.copy(bindMatrix).invert();\n\t\t}\n\n\t\tpose() {\n\t\t\tthis.skeleton.pose();\n\t\t}\n\n\t\tnormalizeSkinWeights() {\n\t\t\tconst vector = new Vector4();\n\t\t\tconst skinWeight = this.geometry.attributes.skinWeight;\n\n\t\t\tfor (let i = 0, l = skinWeight.count; i < l; i++) {\n\t\t\t\tvector.fromBufferAttribute(skinWeight, i);\n\t\t\t\tconst scale = 1.0 / vector.manhattanLength();\n\n\t\t\t\tif (scale !== Infinity) {\n\t\t\t\t\tvector.multiplyScalar(scale);\n\t\t\t\t} else {\n\t\t\t\t\tvector.set(1, 0, 0, 0); // do something reasonable\n\t\t\t\t}\n\n\t\t\t\tskinWeight.setXYZW(i, vector.x, vector.y, vector.z, vector.w);\n\t\t\t}\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tsuper.updateMatrixWorld(force);\n\n\t\t\tif (this.bindMode === 'attached') {\n\t\t\t\tthis.bindMatrixInverse.copy(this.matrixWorld).invert();\n\t\t\t} else if (this.bindMode === 'detached') {\n\t\t\t\tthis.bindMatrixInverse.copy(this.bindMatrix).invert();\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.SkinnedMesh: Unrecognized bindMode: ' + this.bindMode);\n\t\t\t}\n\t\t}\n\n\t\tboneTransform(index, target) {\n\t\t\tconst skeleton = this.skeleton;\n\t\t\tconst geometry = this.geometry;\n\n\t\t\t_skinIndex.fromBufferAttribute(geometry.attributes.skinIndex, index);\n\n\t\t\t_skinWeight.fromBufferAttribute(geometry.attributes.skinWeight, index);\n\n\t\t\t_basePosition.copy(target).applyMatrix4(this.bindMatrix);\n\n\t\t\ttarget.set(0, 0, 0);\n\n\t\t\tfor (let i = 0; i < 4; i++) {\n\t\t\t\tconst weight = _skinWeight.getComponent(i);\n\n\t\t\t\tif (weight !== 0) {\n\t\t\t\t\tconst boneIndex = _skinIndex.getComponent(i);\n\n\t\t\t\t\t_matrix.multiplyMatrices(skeleton.bones[boneIndex].matrixWorld, skeleton.boneInverses[boneIndex]);\n\n\t\t\t\t\ttarget.addScaledVector(_vector$5.copy(_basePosition).applyMatrix4(_matrix), weight);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn target.applyMatrix4(this.bindMatrixInverse);\n\t\t}\n\n\t}\n\n\tclass Bone extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isBone = true;\n\t\t\tthis.type = 'Bone';\n\t\t}\n\n\t}\n\n\tclass DataTexture extends Texture {\n\t\tconstructor(data = null, width = 1, height = 1, format, type, mapping, wrapS, wrapT, magFilter = NearestFilter, minFilter = NearestFilter, anisotropy, encoding) {\n\t\t\tsuper(null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding);\n\t\t\tthis.isDataTexture = true;\n\t\t\tthis.image = {\n\t\t\t\tdata: data,\n\t\t\t\twidth: width,\n\t\t\t\theight: height\n\t\t\t};\n\t\t\tthis.generateMipmaps = false;\n\t\t\tthis.flipY = false;\n\t\t\tthis.unpackAlignment = 1;\n\t\t}\n\n\t}\n\n\tconst _offsetMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _identityMatrix = /*@__PURE__*/new Matrix4();\n\n\tclass Skeleton {\n\t\tconstructor(bones = [], boneInverses = []) {\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.bones = bones.slice(0);\n\t\t\tthis.boneInverses = boneInverses;\n\t\t\tthis.boneMatrices = null;\n\t\t\tthis.boneTexture = null;\n\t\t\tthis.boneTextureSize = 0;\n\t\t\tthis.frame = -1;\n\t\t\tthis.init();\n\t\t}\n\n\t\tinit() {\n\t\t\tconst bones = this.bones;\n\t\t\tconst boneInverses = this.boneInverses;\n\t\t\tthis.boneMatrices = new Float32Array(bones.length * 16); // calculate inverse bone matrices if necessary\n\n\t\t\tif (boneInverses.length === 0) {\n\t\t\t\tthis.calculateInverses();\n\t\t\t} else {\n\t\t\t\t// handle special case\n\t\t\t\tif (bones.length !== boneInverses.length) {\n\t\t\t\t\tconsole.warn('THREE.Skeleton: Number of inverse bone matrices does not match amount of bones.');\n\t\t\t\t\tthis.boneInverses = [];\n\n\t\t\t\t\tfor (let i = 0, il = this.bones.length; i < il; i++) {\n\t\t\t\t\t\tthis.boneInverses.push(new Matrix4());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tcalculateInverses() {\n\t\t\tthis.boneInverses.length = 0;\n\n\t\t\tfor (let i = 0, il = this.bones.length; i < il; i++) {\n\t\t\t\tconst inverse = new Matrix4();\n\n\t\t\t\tif (this.bones[i]) {\n\t\t\t\t\tinverse.copy(this.bones[i].matrixWorld).invert();\n\t\t\t\t}\n\n\t\t\t\tthis.boneInverses.push(inverse);\n\t\t\t}\n\t\t}\n\n\t\tpose() {\n\t\t\t// recover the bind-time world matrices\n\t\t\tfor (let i = 0, il = this.bones.length; i < il; i++) {\n\t\t\t\tconst bone = this.bones[i];\n\n\t\t\t\tif (bone) {\n\t\t\t\t\tbone.matrixWorld.copy(this.boneInverses[i]).invert();\n\t\t\t\t}\n\t\t\t} // compute the local matrices, positions, rotations and scales\n\n\n\t\t\tfor (let i = 0, il = this.bones.length; i < il; i++) {\n\t\t\t\tconst bone = this.bones[i];\n\n\t\t\t\tif (bone) {\n\t\t\t\t\tif (bone.parent && bone.parent.isBone) {\n\t\t\t\t\t\tbone.matrix.copy(bone.parent.matrixWorld).invert();\n\t\t\t\t\t\tbone.matrix.multiply(bone.matrixWorld);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tbone.matrix.copy(bone.matrixWorld);\n\t\t\t\t\t}\n\n\t\t\t\t\tbone.matrix.decompose(bone.position, bone.quaternion, bone.scale);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tupdate() {\n\t\t\tconst bones = this.bones;\n\t\t\tconst boneInverses = this.boneInverses;\n\t\t\tconst boneMatrices = this.boneMatrices;\n\t\t\tconst boneTexture = this.boneTexture; // flatten bone matrices to array\n\n\t\t\tfor (let i = 0, il = bones.length; i < il; i++) {\n\t\t\t\t// compute the offset between the current and the original transform\n\t\t\t\tconst matrix = bones[i] ? bones[i].matrixWorld : _identityMatrix;\n\n\t\t\t\t_offsetMatrix.multiplyMatrices(matrix, boneInverses[i]);\n\n\t\t\t\t_offsetMatrix.toArray(boneMatrices, i * 16);\n\t\t\t}\n\n\t\t\tif (boneTexture !== null) {\n\t\t\t\tboneTexture.needsUpdate = true;\n\t\t\t}\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new Skeleton(this.bones, this.boneInverses);\n\t\t}\n\n\t\tcomputeBoneTexture() {\n\t\t\t// layout (1 matrix = 4 pixels)\n\t\t\t//\t\t\tRGBA RGBA RGBA RGBA (=> column1, column2, column3, column4)\n\t\t\t//\twith\t8x8\tpixel texture max\t 16 bones * 4 pixels =\t(8 * 8)\n\t\t\t//\t\t\t 16x16 pixel texture max\t 64 bones * 4 pixels = (16 * 16)\n\t\t\t//\t\t\t 32x32 pixel texture max\t256 bones * 4 pixels = (32 * 32)\n\t\t\t//\t\t\t 64x64 pixel texture max 1024 bones * 4 pixels = (64 * 64)\n\t\t\tlet size = Math.sqrt(this.bones.length * 4); // 4 pixels needed for 1 matrix\n\n\t\t\tsize = ceilPowerOfTwo(size);\n\t\t\tsize = Math.max(size, 4);\n\t\t\tconst boneMatrices = new Float32Array(size * size * 4); // 4 floats per RGBA pixel\n\n\t\t\tboneMatrices.set(this.boneMatrices); // copy current values\n\n\t\t\tconst boneTexture = new DataTexture(boneMatrices, size, size, RGBAFormat, FloatType);\n\t\t\tboneTexture.needsUpdate = true;\n\t\t\tthis.boneMatrices = boneMatrices;\n\t\t\tthis.boneTexture = boneTexture;\n\t\t\tthis.boneTextureSize = size;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetBoneByName(name) {\n\t\t\tfor (let i = 0, il = this.bones.length; i < il; i++) {\n\t\t\t\tconst bone = this.bones[i];\n\n\t\t\t\tif (bone.name === name) {\n\t\t\t\t\treturn bone;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn undefined;\n\t\t}\n\n\t\tdispose() {\n\t\t\tif (this.boneTexture !== null) {\n\t\t\t\tthis.boneTexture.dispose();\n\t\t\t\tthis.boneTexture = null;\n\t\t\t}\n\t\t}\n\n\t\tfromJSON(json, bones) {\n\t\t\tthis.uuid = json.uuid;\n\n\t\t\tfor (let i = 0, l = json.bones.length; i < l; i++) {\n\t\t\t\tconst uuid = json.bones[i];\n\t\t\t\tlet bone = bones[uuid];\n\n\t\t\t\tif (bone === undefined) {\n\t\t\t\t\tconsole.warn('THREE.Skeleton: No bone found with UUID:', uuid);\n\t\t\t\t\tbone = new Bone();\n\t\t\t\t}\n\n\t\t\t\tthis.bones.push(bone);\n\t\t\t\tthis.boneInverses.push(new Matrix4().fromArray(json.boneInverses[i]));\n\t\t\t}\n\n\t\t\tthis.init();\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = {\n\t\t\t\tmetadata: {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'Skeleton',\n\t\t\t\t\tgenerator: 'Skeleton.toJSON'\n\t\t\t\t},\n\t\t\t\tbones: [],\n\t\t\t\tboneInverses: []\n\t\t\t};\n\t\t\tdata.uuid = this.uuid;\n\t\t\tconst bones = this.bones;\n\t\t\tconst boneInverses = this.boneInverses;\n\n\t\t\tfor (let i = 0, l = bones.length; i < l; i++) {\n\t\t\t\tconst bone = bones[i];\n\t\t\t\tdata.bones.push(bone.uuid);\n\t\t\t\tconst boneInverse = boneInverses[i];\n\t\t\t\tdata.boneInverses.push(boneInverse.toArray());\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass InstancedBufferAttribute extends BufferAttribute {\n\t\tconstructor(array, itemSize, normalized, meshPerAttribute = 1) {\n\t\t\tif (typeof normalized === 'number') {\n\t\t\t\tmeshPerAttribute = normalized;\n\t\t\t\tnormalized = false;\n\t\t\t\tconsole.error('THREE.InstancedBufferAttribute: The constructor now expects normalized as the third argument.');\n\t\t\t}\n\n\t\t\tsuper(array, itemSize, normalized);\n\t\t\tthis.isInstancedBufferAttribute = true;\n\t\t\tthis.meshPerAttribute = meshPerAttribute;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.meshPerAttribute = source.meshPerAttribute;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.meshPerAttribute = this.meshPerAttribute;\n\t\t\tdata.isInstancedBufferAttribute = true;\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tconst _instanceLocalMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _instanceWorldMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _instanceIntersects = [];\n\n\tconst _mesh = /*@__PURE__*/new Mesh();\n\n\tclass InstancedMesh extends Mesh {\n\t\tconstructor(geometry, material, count) {\n\t\t\tsuper(geometry, material);\n\t\t\tthis.isInstancedMesh = true;\n\t\t\tthis.instanceMatrix = new InstancedBufferAttribute(new Float32Array(count * 16), 16);\n\t\t\tthis.instanceColor = null;\n\t\t\tthis.count = count;\n\t\t\tthis.frustumCulled = false;\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.instanceMatrix.copy(source.instanceMatrix);\n\t\t\tif (source.instanceColor !== null) this.instanceColor = source.instanceColor.clone();\n\t\t\tthis.count = source.count;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetColorAt(index, color) {\n\t\t\tcolor.fromArray(this.instanceColor.array, index * 3);\n\t\t}\n\n\t\tgetMatrixAt(index, matrix) {\n\t\t\tmatrix.fromArray(this.instanceMatrix.array, index * 16);\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tconst matrixWorld = this.matrixWorld;\n\t\t\tconst raycastTimes = this.count;\n\t\t\t_mesh.geometry = this.geometry;\n\t\t\t_mesh.material = this.material;\n\t\t\tif (_mesh.material === undefined) return;\n\n\t\t\tfor (let instanceId = 0; instanceId < raycastTimes; instanceId++) {\n\t\t\t\t// calculate the world matrix for each instance\n\t\t\t\tthis.getMatrixAt(instanceId, _instanceLocalMatrix);\n\n\t\t\t\t_instanceWorldMatrix.multiplyMatrices(matrixWorld, _instanceLocalMatrix); // the mesh represents this single instance\n\n\n\t\t\t\t_mesh.matrixWorld = _instanceWorldMatrix;\n\n\t\t\t\t_mesh.raycast(raycaster, _instanceIntersects); // process the result of raycast\n\n\n\t\t\t\tfor (let i = 0, l = _instanceIntersects.length; i < l; i++) {\n\t\t\t\t\tconst intersect = _instanceIntersects[i];\n\t\t\t\t\tintersect.instanceId = instanceId;\n\t\t\t\t\tintersect.object = this;\n\t\t\t\t\tintersects.push(intersect);\n\t\t\t\t}\n\n\t\t\t\t_instanceIntersects.length = 0;\n\t\t\t}\n\t\t}\n\n\t\tsetColorAt(index, color) {\n\t\t\tif (this.instanceColor === null) {\n\t\t\t\tthis.instanceColor = new InstancedBufferAttribute(new Float32Array(this.instanceMatrix.count * 3), 3);\n\t\t\t}\n\n\t\t\tcolor.toArray(this.instanceColor.array, index * 3);\n\t\t}\n\n\t\tsetMatrixAt(index, matrix) {\n\t\t\tmatrix.toArray(this.instanceMatrix.array, index * 16);\n\t\t}\n\n\t\tupdateMorphTargets() {}\n\n\t\tdispose() {\n\t\t\tthis.dispatchEvent({\n\t\t\t\ttype: 'dispose'\n\t\t\t});\n\t\t}\n\n\t}\n\n\tclass LineBasicMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isLineBasicMaterial = true;\n\t\t\tthis.type = 'LineBasicMaterial';\n\t\t\tthis.color = new Color(0xffffff);\n\t\t\tthis.linewidth = 1;\n\t\t\tthis.linecap = 'round';\n\t\t\tthis.linejoin = 'round';\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.linewidth = source.linewidth;\n\t\t\tthis.linecap = source.linecap;\n\t\t\tthis.linejoin = source.linejoin;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _start$1 = /*@__PURE__*/new Vector3();\n\n\tconst _end$1 = /*@__PURE__*/new Vector3();\n\n\tconst _inverseMatrix$1 = /*@__PURE__*/new Matrix4();\n\n\tconst _ray$1 = /*@__PURE__*/new Ray();\n\n\tconst _sphere$1 = /*@__PURE__*/new Sphere();\n\n\tclass Line extends Object3D {\n\t\tconstructor(geometry = new BufferGeometry(), material = new LineBasicMaterial()) {\n\t\t\tsuper();\n\t\t\tthis.isLine = true;\n\t\t\tthis.type = 'Line';\n\t\t\tthis.geometry = geometry;\n\t\t\tthis.material = material;\n\t\t\tthis.updateMorphTargets();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.material = source.material;\n\t\t\tthis.geometry = source.geometry;\n\t\t\treturn this;\n\t\t}\n\n\t\tcomputeLineDistances() {\n\t\t\tconst geometry = this.geometry; // we assume non-indexed geometry\n\n\t\t\tif (geometry.index === null) {\n\t\t\t\tconst positionAttribute = geometry.attributes.position;\n\t\t\t\tconst lineDistances = [0];\n\n\t\t\t\tfor (let i = 1, l = positionAttribute.count; i < l; i++) {\n\t\t\t\t\t_start$1.fromBufferAttribute(positionAttribute, i - 1);\n\n\t\t\t\t\t_end$1.fromBufferAttribute(positionAttribute, i);\n\n\t\t\t\t\tlineDistances[i] = lineDistances[i - 1];\n\t\t\t\t\tlineDistances[i] += _start$1.distanceTo(_end$1);\n\t\t\t\t}\n\n\t\t\t\tgeometry.setAttribute('lineDistance', new Float32BufferAttribute(lineDistances, 1));\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.');\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst matrixWorld = this.matrixWorld;\n\t\t\tconst threshold = raycaster.params.Line.threshold;\n\t\t\tconst drawRange = geometry.drawRange; // Checking boundingSphere distance to ray\n\n\t\t\tif (geometry.boundingSphere === null) geometry.computeBoundingSphere();\n\n\t\t\t_sphere$1.copy(geometry.boundingSphere);\n\n\t\t\t_sphere$1.applyMatrix4(matrixWorld);\n\n\t\t\t_sphere$1.radius += threshold;\n\t\t\tif (raycaster.ray.intersectsSphere(_sphere$1) === false) return; //\n\n\t\t\t_inverseMatrix$1.copy(matrixWorld).invert();\n\n\t\t\t_ray$1.copy(raycaster.ray).applyMatrix4(_inverseMatrix$1);\n\n\t\t\tconst localThreshold = threshold / ((this.scale.x + this.scale.y + this.scale.z) / 3);\n\t\t\tconst localThresholdSq = localThreshold * localThreshold;\n\t\t\tconst vStart = new Vector3();\n\t\t\tconst vEnd = new Vector3();\n\t\t\tconst interSegment = new Vector3();\n\t\t\tconst interRay = new Vector3();\n\t\t\tconst step = this.isLineSegments ? 2 : 1;\n\t\t\tconst index = geometry.index;\n\t\t\tconst attributes = geometry.attributes;\n\t\t\tconst positionAttribute = attributes.position;\n\n\t\t\tif (index !== null) {\n\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\tconst end = Math.min(index.count, drawRange.start + drawRange.count);\n\n\t\t\t\tfor (let i = start, l = end - 1; i < l; i += step) {\n\t\t\t\t\tconst a = index.getX(i);\n\t\t\t\t\tconst b = index.getX(i + 1);\n\t\t\t\t\tvStart.fromBufferAttribute(positionAttribute, a);\n\t\t\t\t\tvEnd.fromBufferAttribute(positionAttribute, b);\n\n\t\t\t\t\tconst distSq = _ray$1.distanceSqToSegment(vStart, vEnd, interRay, interSegment);\n\n\t\t\t\t\tif (distSq > localThresholdSq) continue;\n\t\t\t\t\tinterRay.applyMatrix4(this.matrixWorld); //Move back to world space for distance calculation\n\n\t\t\t\t\tconst distance = raycaster.ray.origin.distanceTo(interRay);\n\t\t\t\t\tif (distance < raycaster.near || distance > raycaster.far) continue;\n\t\t\t\t\tintersects.push({\n\t\t\t\t\t\tdistance: distance,\n\t\t\t\t\t\t// What do we want? intersection point on the ray or on the segment??\n\t\t\t\t\t\t// point: raycaster.ray.at( distance ),\n\t\t\t\t\t\tpoint: interSegment.clone().applyMatrix4(this.matrixWorld),\n\t\t\t\t\t\tindex: i,\n\t\t\t\t\t\tface: null,\n\t\t\t\t\t\tfaceIndex: null,\n\t\t\t\t\t\tobject: this\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\tconst end = Math.min(positionAttribute.count, drawRange.start + drawRange.count);\n\n\t\t\t\tfor (let i = start, l = end - 1; i < l; i += step) {\n\t\t\t\t\tvStart.fromBufferAttribute(positionAttribute, i);\n\t\t\t\t\tvEnd.fromBufferAttribute(positionAttribute, i + 1);\n\n\t\t\t\t\tconst distSq = _ray$1.distanceSqToSegment(vStart, vEnd, interRay, interSegment);\n\n\t\t\t\t\tif (distSq > localThresholdSq) continue;\n\t\t\t\t\tinterRay.applyMatrix4(this.matrixWorld); //Move back to world space for distance calculation\n\n\t\t\t\t\tconst distance = raycaster.ray.origin.distanceTo(interRay);\n\t\t\t\t\tif (distance < raycaster.near || distance > raycaster.far) continue;\n\t\t\t\t\tintersects.push({\n\t\t\t\t\t\tdistance: distance,\n\t\t\t\t\t\t// What do we want? intersection point on the ray or on the segment??\n\t\t\t\t\t\t// point: raycaster.ray.at( distance ),\n\t\t\t\t\t\tpoint: interSegment.clone().applyMatrix4(this.matrixWorld),\n\t\t\t\t\t\tindex: i,\n\t\t\t\t\t\tface: null,\n\t\t\t\t\t\tfaceIndex: null,\n\t\t\t\t\t\tobject: this\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tupdateMorphTargets() {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst morphAttributes = geometry.morphAttributes;\n\t\t\tconst keys = Object.keys(morphAttributes);\n\n\t\t\tif (keys.length > 0) {\n\t\t\t\tconst morphAttribute = morphAttributes[keys[0]];\n\n\t\t\t\tif (morphAttribute !== undefined) {\n\t\t\t\t\tthis.morphTargetInfluences = [];\n\t\t\t\t\tthis.morphTargetDictionary = {};\n\n\t\t\t\t\tfor (let m = 0, ml = morphAttribute.length; m < ml; m++) {\n\t\t\t\t\t\tconst name = morphAttribute[m].name || String(m);\n\t\t\t\t\t\tthis.morphTargetInfluences.push(0);\n\t\t\t\t\t\tthis.morphTargetDictionary[name] = m;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n\tconst _start = /*@__PURE__*/new Vector3();\n\n\tconst _end = /*@__PURE__*/new Vector3();\n\n\tclass LineSegments extends Line {\n\t\tconstructor(geometry, material) {\n\t\t\tsuper(geometry, material);\n\t\t\tthis.isLineSegments = true;\n\t\t\tthis.type = 'LineSegments';\n\t\t}\n\n\t\tcomputeLineDistances() {\n\t\t\tconst geometry = this.geometry; // we assume non-indexed geometry\n\n\t\t\tif (geometry.index === null) {\n\t\t\t\tconst positionAttribute = geometry.attributes.position;\n\t\t\t\tconst lineDistances = [];\n\n\t\t\t\tfor (let i = 0, l = positionAttribute.count; i < l; i += 2) {\n\t\t\t\t\t_start.fromBufferAttribute(positionAttribute, i);\n\n\t\t\t\t\t_end.fromBufferAttribute(positionAttribute, i + 1);\n\n\t\t\t\t\tlineDistances[i] = i === 0 ? 0 : lineDistances[i - 1];\n\t\t\t\t\tlineDistances[i + 1] = lineDistances[i] + _start.distanceTo(_end);\n\t\t\t\t}\n\n\t\t\t\tgeometry.setAttribute('lineDistance', new Float32BufferAttribute(lineDistances, 1));\n\t\t\t} else {\n\t\t\t\tconsole.warn('THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.');\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass LineLoop extends Line {\n\t\tconstructor(geometry, material) {\n\t\t\tsuper(geometry, material);\n\t\t\tthis.isLineLoop = true;\n\t\t\tthis.type = 'LineLoop';\n\t\t}\n\n\t}\n\n\tclass PointsMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isPointsMaterial = true;\n\t\t\tthis.type = 'PointsMaterial';\n\t\t\tthis.color = new Color(0xffffff);\n\t\t\tthis.map = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.size = 1;\n\t\t\tthis.sizeAttenuation = true;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.map = source.map;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.size = source.size;\n\t\t\tthis.sizeAttenuation = source.sizeAttenuation;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _inverseMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _ray = /*@__PURE__*/new Ray();\n\n\tconst _sphere = /*@__PURE__*/new Sphere();\n\n\tconst _position$2 = /*@__PURE__*/new Vector3();\n\n\tclass Points extends Object3D {\n\t\tconstructor(geometry = new BufferGeometry(), material = new PointsMaterial()) {\n\t\t\tsuper();\n\t\t\tthis.isPoints = true;\n\t\t\tthis.type = 'Points';\n\t\t\tthis.geometry = geometry;\n\t\t\tthis.material = material;\n\t\t\tthis.updateMorphTargets();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.material = source.material;\n\t\t\tthis.geometry = source.geometry;\n\t\t\treturn this;\n\t\t}\n\n\t\traycast(raycaster, intersects) {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst matrixWorld = this.matrixWorld;\n\t\t\tconst threshold = raycaster.params.Points.threshold;\n\t\t\tconst drawRange = geometry.drawRange; // Checking boundingSphere distance to ray\n\n\t\t\tif (geometry.boundingSphere === null) geometry.computeBoundingSphere();\n\n\t\t\t_sphere.copy(geometry.boundingSphere);\n\n\t\t\t_sphere.applyMatrix4(matrixWorld);\n\n\t\t\t_sphere.radius += threshold;\n\t\t\tif (raycaster.ray.intersectsSphere(_sphere) === false) return; //\n\n\t\t\t_inverseMatrix.copy(matrixWorld).invert();\n\n\t\t\t_ray.copy(raycaster.ray).applyMatrix4(_inverseMatrix);\n\n\t\t\tconst localThreshold = threshold / ((this.scale.x + this.scale.y + this.scale.z) / 3);\n\t\t\tconst localThresholdSq = localThreshold * localThreshold;\n\t\t\tconst index = geometry.index;\n\t\t\tconst attributes = geometry.attributes;\n\t\t\tconst positionAttribute = attributes.position;\n\n\t\t\tif (index !== null) {\n\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\tconst end = Math.min(index.count, drawRange.start + drawRange.count);\n\n\t\t\t\tfor (let i = start, il = end; i < il; i++) {\n\t\t\t\t\tconst a = index.getX(i);\n\n\t\t\t\t\t_position$2.fromBufferAttribute(positionAttribute, a);\n\n\t\t\t\t\ttestPoint(_position$2, a, localThresholdSq, matrixWorld, raycaster, intersects, this);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tconst start = Math.max(0, drawRange.start);\n\t\t\t\tconst end = Math.min(positionAttribute.count, drawRange.start + drawRange.count);\n\n\t\t\t\tfor (let i = start, l = end; i < l; i++) {\n\t\t\t\t\t_position$2.fromBufferAttribute(positionAttribute, i);\n\n\t\t\t\t\ttestPoint(_position$2, i, localThresholdSq, matrixWorld, raycaster, intersects, this);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tupdateMorphTargets() {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst morphAttributes = geometry.morphAttributes;\n\t\t\tconst keys = Object.keys(morphAttributes);\n\n\t\t\tif (keys.length > 0) {\n\t\t\t\tconst morphAttribute = morphAttributes[keys[0]];\n\n\t\t\t\tif (morphAttribute !== undefined) {\n\t\t\t\t\tthis.morphTargetInfluences = [];\n\t\t\t\t\tthis.morphTargetDictionary = {};\n\n\t\t\t\t\tfor (let m = 0, ml = morphAttribute.length; m < ml; m++) {\n\t\t\t\t\t\tconst name = morphAttribute[m].name || String(m);\n\t\t\t\t\t\tthis.morphTargetInfluences.push(0);\n\t\t\t\t\t\tthis.morphTargetDictionary[name] = m;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n\n\tfunction testPoint(point, index, localThresholdSq, matrixWorld, raycaster, intersects, object) {\n\t\tconst rayPointDistanceSq = _ray.distanceSqToPoint(point);\n\n\t\tif (rayPointDistanceSq < localThresholdSq) {\n\t\t\tconst intersectPoint = new Vector3();\n\n\t\t\t_ray.closestPointToPoint(point, intersectPoint);\n\n\t\t\tintersectPoint.applyMatrix4(matrixWorld);\n\t\t\tconst distance = raycaster.ray.origin.distanceTo(intersectPoint);\n\t\t\tif (distance < raycaster.near || distance > raycaster.far) return;\n\t\t\tintersects.push({\n\t\t\t\tdistance: distance,\n\t\t\t\tdistanceToRay: Math.sqrt(rayPointDistanceSq),\n\t\t\t\tpoint: intersectPoint,\n\t\t\t\tindex: index,\n\t\t\t\tface: null,\n\t\t\t\tobject: object\n\t\t\t});\n\t\t}\n\t}\n\n\tclass VideoTexture extends Texture {\n\t\tconstructor(video, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy) {\n\t\t\tsuper(video, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy);\n\t\t\tthis.isVideoTexture = true;\n\t\t\tthis.minFilter = minFilter !== undefined ? minFilter : LinearFilter;\n\t\t\tthis.magFilter = magFilter !== undefined ? magFilter : LinearFilter;\n\t\t\tthis.generateMipmaps = false;\n\t\t\tconst scope = this;\n\n\t\t\tfunction updateVideo() {\n\t\t\t\tscope.needsUpdate = true;\n\t\t\t\tvideo.requestVideoFrameCallback(updateVideo);\n\t\t\t}\n\n\t\t\tif ('requestVideoFrameCallback' in video) {\n\t\t\t\tvideo.requestVideoFrameCallback(updateVideo);\n\t\t\t}\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor(this.image).copy(this);\n\t\t}\n\n\t\tupdate() {\n\t\t\tconst video = this.image;\n\t\t\tconst hasVideoFrameCallback = ('requestVideoFrameCallback' in video);\n\n\t\t\tif (hasVideoFrameCallback === false && video.readyState >= video.HAVE_CURRENT_DATA) {\n\t\t\t\tthis.needsUpdate = true;\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass FramebufferTexture extends Texture {\n\t\tconstructor(width, height, format) {\n\t\t\tsuper({\n\t\t\t\twidth,\n\t\t\t\theight\n\t\t\t});\n\t\t\tthis.isFramebufferTexture = true;\n\t\t\tthis.format = format;\n\t\t\tthis.magFilter = NearestFilter;\n\t\t\tthis.minFilter = NearestFilter;\n\t\t\tthis.generateMipmaps = false;\n\t\t\tthis.needsUpdate = true;\n\t\t}\n\n\t}\n\n\tclass CompressedTexture extends Texture {\n\t\tconstructor(mipmaps, width, height, format, type, mapping, wrapS, wrapT, magFilter, minFilter, anisotropy, encoding) {\n\t\t\tsuper(null, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy, encoding);\n\t\t\tthis.isCompressedTexture = true;\n\t\t\tthis.image = {\n\t\t\t\twidth: width,\n\t\t\t\theight: height\n\t\t\t};\n\t\t\tthis.mipmaps = mipmaps; // no flipping for cube textures\n\t\t\t// (also flipping doesn't work for compressed textures )\n\n\t\t\tthis.flipY = false; // can't generate mipmaps for compressed textures\n\t\t\t// mips must be embedded in DDS files\n\n\t\t\tthis.generateMipmaps = false;\n\t\t}\n\n\t}\n\n\tclass CanvasTexture extends Texture {\n\t\tconstructor(canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy) {\n\t\t\tsuper(canvas, mapping, wrapS, wrapT, magFilter, minFilter, format, type, anisotropy);\n\t\t\tthis.isCanvasTexture = true;\n\t\t\tthis.needsUpdate = true;\n\t\t}\n\n\t}\n\n\t/**\n\t * Extensible curve object.\n\t *\n\t * Some common of curve methods:\n\t * .getPoint( t, optionalTarget ), .getTangent( t, optionalTarget )\n\t * .getPointAt( u, optionalTarget ), .getTangentAt( u, optionalTarget )\n\t * .getPoints(), .getSpacedPoints()\n\t * .getLength()\n\t * .updateArcLengths()\n\t *\n\t * This following curves inherit from THREE.Curve:\n\t *\n\t * -- 2D curves --\n\t * THREE.ArcCurve\n\t * THREE.CubicBezierCurve\n\t * THREE.EllipseCurve\n\t * THREE.LineCurve\n\t * THREE.QuadraticBezierCurve\n\t * THREE.SplineCurve\n\t *\n\t * -- 3D curves --\n\t * THREE.CatmullRomCurve3\n\t * THREE.CubicBezierCurve3\n\t * THREE.LineCurve3\n\t * THREE.QuadraticBezierCurve3\n\t *\n\t * A series of curves can be represented as a THREE.CurvePath.\n\t *\n\t **/\n\n\tclass Curve {\n\t\tconstructor() {\n\t\t\tthis.type = 'Curve';\n\t\t\tthis.arcLengthDivisions = 200;\n\t\t} // Virtual base class method to overwrite and implement in subclasses\n\t\t//\t- t [0 .. 1]\n\n\n\t\tgetPoint() {\n\t\t\tconsole.warn('THREE.Curve: .getPoint() not implemented.');\n\t\t\treturn null;\n\t\t} // Get point at relative position in curve according to arc length\n\t\t// - u [0 .. 1]\n\n\n\t\tgetPointAt(u, optionalTarget) {\n\t\t\tconst t = this.getUtoTmapping(u);\n\t\t\treturn this.getPoint(t, optionalTarget);\n\t\t} // Get sequence of points using getPoint( t )\n\n\n\t\tgetPoints(divisions = 5) {\n\t\t\tconst points = [];\n\n\t\t\tfor (let d = 0; d <= divisions; d++) {\n\t\t\t\tpoints.push(this.getPoint(d / divisions));\n\t\t\t}\n\n\t\t\treturn points;\n\t\t} // Get sequence of points using getPointAt( u )\n\n\n\t\tgetSpacedPoints(divisions = 5) {\n\t\t\tconst points = [];\n\n\t\t\tfor (let d = 0; d <= divisions; d++) {\n\t\t\t\tpoints.push(this.getPointAt(d / divisions));\n\t\t\t}\n\n\t\t\treturn points;\n\t\t} // Get total curve arc length\n\n\n\t\tgetLength() {\n\t\t\tconst lengths = this.getLengths();\n\t\t\treturn lengths[lengths.length - 1];\n\t\t} // Get list of cumulative segment lengths\n\n\n\t\tgetLengths(divisions = this.arcLengthDivisions) {\n\t\t\tif (this.cacheArcLengths && this.cacheArcLengths.length === divisions + 1 && !this.needsUpdate) {\n\t\t\t\treturn this.cacheArcLengths;\n\t\t\t}\n\n\t\t\tthis.needsUpdate = false;\n\t\t\tconst cache = [];\n\t\t\tlet current,\n\t\t\t\t\tlast = this.getPoint(0);\n\t\t\tlet sum = 0;\n\t\t\tcache.push(0);\n\n\t\t\tfor (let p = 1; p <= divisions; p++) {\n\t\t\t\tcurrent = this.getPoint(p / divisions);\n\t\t\t\tsum += current.distanceTo(last);\n\t\t\t\tcache.push(sum);\n\t\t\t\tlast = current;\n\t\t\t}\n\n\t\t\tthis.cacheArcLengths = cache;\n\t\t\treturn cache; // { sums: cache, sum: sum }; Sum is in the last element.\n\t\t}\n\n\t\tupdateArcLengths() {\n\t\t\tthis.needsUpdate = true;\n\t\t\tthis.getLengths();\n\t\t} // Given u ( 0 .. 1 ), get a t to find p. This gives you points which are equidistant\n\n\n\t\tgetUtoTmapping(u, distance) {\n\t\t\tconst arcLengths = this.getLengths();\n\t\t\tlet i = 0;\n\t\t\tconst il = arcLengths.length;\n\t\t\tlet targetArcLength; // The targeted u distance value to get\n\n\t\t\tif (distance) {\n\t\t\t\ttargetArcLength = distance;\n\t\t\t} else {\n\t\t\t\ttargetArcLength = u * arcLengths[il - 1];\n\t\t\t} // binary search for the index with largest value smaller than target u distance\n\n\n\t\t\tlet low = 0,\n\t\t\t\t\thigh = il - 1,\n\t\t\t\t\tcomparison;\n\n\t\t\twhile (low <= high) {\n\t\t\t\ti = Math.floor(low + (high - low) / 2); // less likely to overflow, though probably not issue here, JS doesn't really have integers, all numbers are floats\n\n\t\t\t\tcomparison = arcLengths[i] - targetArcLength;\n\n\t\t\t\tif (comparison < 0) {\n\t\t\t\t\tlow = i + 1;\n\t\t\t\t} else if (comparison > 0) {\n\t\t\t\t\thigh = i - 1;\n\t\t\t\t} else {\n\t\t\t\t\thigh = i;\n\t\t\t\t\tbreak; // DONE\n\t\t\t\t}\n\t\t\t}\n\n\t\t\ti = high;\n\n\t\t\tif (arcLengths[i] === targetArcLength) {\n\t\t\t\treturn i / (il - 1);\n\t\t\t} // we could get finer grain at lengths, or use simple interpolation between two points\n\n\n\t\t\tconst lengthBefore = arcLengths[i];\n\t\t\tconst lengthAfter = arcLengths[i + 1];\n\t\t\tconst segmentLength = lengthAfter - lengthBefore; // determine where we are between the 'before' and 'after' points\n\n\t\t\tconst segmentFraction = (targetArcLength - lengthBefore) / segmentLength; // add that fractional amount to t\n\n\t\t\tconst t = (i + segmentFraction) / (il - 1);\n\t\t\treturn t;\n\t\t} // Returns a unit vector tangent at t\n\t\t// In case any sub curve does not implement its tangent derivation,\n\t\t// 2 points a small delta apart will be used to find its gradient\n\t\t// which seems to give a reasonable approximation\n\n\n\t\tgetTangent(t, optionalTarget) {\n\t\t\tconst delta = 0.0001;\n\t\t\tlet t1 = t - delta;\n\t\t\tlet t2 = t + delta; // Capping in case of danger\n\n\t\t\tif (t1 < 0) t1 = 0;\n\t\t\tif (t2 > 1) t2 = 1;\n\t\t\tconst pt1 = this.getPoint(t1);\n\t\t\tconst pt2 = this.getPoint(t2);\n\t\t\tconst tangent = optionalTarget || (pt1.isVector2 ? new Vector2() : new Vector3());\n\t\t\ttangent.copy(pt2).sub(pt1).normalize();\n\t\t\treturn tangent;\n\t\t}\n\n\t\tgetTangentAt(u, optionalTarget) {\n\t\t\tconst t = this.getUtoTmapping(u);\n\t\t\treturn this.getTangent(t, optionalTarget);\n\t\t}\n\n\t\tcomputeFrenetFrames(segments, closed) {\n\t\t\t// see http://www.cs.indiana.edu/pub/techreports/TR425.pdf\n\t\t\tconst normal = new Vector3();\n\t\t\tconst tangents = [];\n\t\t\tconst normals = [];\n\t\t\tconst binormals = [];\n\t\t\tconst vec = new Vector3();\n\t\t\tconst mat = new Matrix4(); // compute the tangent vectors for each segment on the curve\n\n\t\t\tfor (let i = 0; i <= segments; i++) {\n\t\t\t\tconst u = i / segments;\n\t\t\t\ttangents[i] = this.getTangentAt(u, new Vector3());\n\t\t\t} // select an initial normal vector perpendicular to the first tangent vector,\n\t\t\t// and in the direction of the minimum tangent xyz component\n\n\n\t\t\tnormals[0] = new Vector3();\n\t\t\tbinormals[0] = new Vector3();\n\t\t\tlet min = Number.MAX_VALUE;\n\t\t\tconst tx = Math.abs(tangents[0].x);\n\t\t\tconst ty = Math.abs(tangents[0].y);\n\t\t\tconst tz = Math.abs(tangents[0].z);\n\n\t\t\tif (tx <= min) {\n\t\t\t\tmin = tx;\n\t\t\t\tnormal.set(1, 0, 0);\n\t\t\t}\n\n\t\t\tif (ty <= min) {\n\t\t\t\tmin = ty;\n\t\t\t\tnormal.set(0, 1, 0);\n\t\t\t}\n\n\t\t\tif (tz <= min) {\n\t\t\t\tnormal.set(0, 0, 1);\n\t\t\t}\n\n\t\t\tvec.crossVectors(tangents[0], normal).normalize();\n\t\t\tnormals[0].crossVectors(tangents[0], vec);\n\t\t\tbinormals[0].crossVectors(tangents[0], normals[0]); // compute the slowly-varying normal and binormal vectors for each segment on the curve\n\n\t\t\tfor (let i = 1; i <= segments; i++) {\n\t\t\t\tnormals[i] = normals[i - 1].clone();\n\t\t\t\tbinormals[i] = binormals[i - 1].clone();\n\t\t\t\tvec.crossVectors(tangents[i - 1], tangents[i]);\n\n\t\t\t\tif (vec.length() > Number.EPSILON) {\n\t\t\t\t\tvec.normalize();\n\t\t\t\t\tconst theta = Math.acos(clamp(tangents[i - 1].dot(tangents[i]), -1, 1)); // clamp for floating pt errors\n\n\t\t\t\t\tnormals[i].applyMatrix4(mat.makeRotationAxis(vec, theta));\n\t\t\t\t}\n\n\t\t\t\tbinormals[i].crossVectors(tangents[i], normals[i]);\n\t\t\t} // if the curve is closed, postprocess the vectors so the first and last normal vectors are the same\n\n\n\t\t\tif (closed === true) {\n\t\t\t\tlet theta = Math.acos(clamp(normals[0].dot(normals[segments]), -1, 1));\n\t\t\t\ttheta /= segments;\n\n\t\t\t\tif (tangents[0].dot(vec.crossVectors(normals[0], normals[segments])) > 0) {\n\t\t\t\t\ttheta = -theta;\n\t\t\t\t}\n\n\t\t\t\tfor (let i = 1; i <= segments; i++) {\n\t\t\t\t\t// twist a little...\n\t\t\t\t\tnormals[i].applyMatrix4(mat.makeRotationAxis(tangents[i], theta * i));\n\t\t\t\t\tbinormals[i].crossVectors(tangents[i], normals[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn {\n\t\t\t\ttangents: tangents,\n\t\t\t\tnormals: normals,\n\t\t\t\tbinormals: binormals\n\t\t\t};\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.arcLengthDivisions = source.arcLengthDivisions;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = {\n\t\t\t\tmetadata: {\n\t\t\t\t\tversion: 4.5,\n\t\t\t\t\ttype: 'Curve',\n\t\t\t\t\tgenerator: 'Curve.toJSON'\n\t\t\t\t}\n\t\t\t};\n\t\t\tdata.arcLengthDivisions = this.arcLengthDivisions;\n\t\t\tdata.type = this.type;\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tthis.arcLengthDivisions = json.arcLengthDivisions;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass EllipseCurve extends Curve {\n\t\tconstructor(aX = 0, aY = 0, xRadius = 1, yRadius = 1, aStartAngle = 0, aEndAngle = Math.PI * 2, aClockwise = false, aRotation = 0) {\n\t\t\tsuper();\n\t\t\tthis.isEllipseCurve = true;\n\t\t\tthis.type = 'EllipseCurve';\n\t\t\tthis.aX = aX;\n\t\t\tthis.aY = aY;\n\t\t\tthis.xRadius = xRadius;\n\t\t\tthis.yRadius = yRadius;\n\t\t\tthis.aStartAngle = aStartAngle;\n\t\t\tthis.aEndAngle = aEndAngle;\n\t\t\tthis.aClockwise = aClockwise;\n\t\t\tthis.aRotation = aRotation;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget) {\n\t\t\tconst point = optionalTarget || new Vector2();\n\t\t\tconst twoPi = Math.PI * 2;\n\t\t\tlet deltaAngle = this.aEndAngle - this.aStartAngle;\n\t\t\tconst samePoints = Math.abs(deltaAngle) < Number.EPSILON; // ensures that deltaAngle is 0 .. 2 PI\n\n\t\t\twhile (deltaAngle < 0) deltaAngle += twoPi;\n\n\t\t\twhile (deltaAngle > twoPi) deltaAngle -= twoPi;\n\n\t\t\tif (deltaAngle < Number.EPSILON) {\n\t\t\t\tif (samePoints) {\n\t\t\t\t\tdeltaAngle = 0;\n\t\t\t\t} else {\n\t\t\t\t\tdeltaAngle = twoPi;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.aClockwise === true && !samePoints) {\n\t\t\t\tif (deltaAngle === twoPi) {\n\t\t\t\t\tdeltaAngle = -twoPi;\n\t\t\t\t} else {\n\t\t\t\t\tdeltaAngle = deltaAngle - twoPi;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst angle = this.aStartAngle + t * deltaAngle;\n\t\t\tlet x = this.aX + this.xRadius * Math.cos(angle);\n\t\t\tlet y = this.aY + this.yRadius * Math.sin(angle);\n\n\t\t\tif (this.aRotation !== 0) {\n\t\t\t\tconst cos = Math.cos(this.aRotation);\n\t\t\t\tconst sin = Math.sin(this.aRotation);\n\t\t\t\tconst tx = x - this.aX;\n\t\t\t\tconst ty = y - this.aY; // Rotate the point about the center of the ellipse.\n\n\t\t\t\tx = tx * cos - ty * sin + this.aX;\n\t\t\t\ty = tx * sin + ty * cos + this.aY;\n\t\t\t}\n\n\t\t\treturn point.set(x, y);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.aX = source.aX;\n\t\t\tthis.aY = source.aY;\n\t\t\tthis.xRadius = source.xRadius;\n\t\t\tthis.yRadius = source.yRadius;\n\t\t\tthis.aStartAngle = source.aStartAngle;\n\t\t\tthis.aEndAngle = source.aEndAngle;\n\t\t\tthis.aClockwise = source.aClockwise;\n\t\t\tthis.aRotation = source.aRotation;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.aX = this.aX;\n\t\t\tdata.aY = this.aY;\n\t\t\tdata.xRadius = this.xRadius;\n\t\t\tdata.yRadius = this.yRadius;\n\t\t\tdata.aStartAngle = this.aStartAngle;\n\t\t\tdata.aEndAngle = this.aEndAngle;\n\t\t\tdata.aClockwise = this.aClockwise;\n\t\t\tdata.aRotation = this.aRotation;\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.aX = json.aX;\n\t\t\tthis.aY = json.aY;\n\t\t\tthis.xRadius = json.xRadius;\n\t\t\tthis.yRadius = json.yRadius;\n\t\t\tthis.aStartAngle = json.aStartAngle;\n\t\t\tthis.aEndAngle = json.aEndAngle;\n\t\t\tthis.aClockwise = json.aClockwise;\n\t\t\tthis.aRotation = json.aRotation;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass ArcCurve extends EllipseCurve {\n\t\tconstructor(aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise) {\n\t\t\tsuper(aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise);\n\t\t\tthis.isArcCurve = true;\n\t\t\tthis.type = 'ArcCurve';\n\t\t}\n\n\t}\n\n\t/**\n\t * Centripetal CatmullRom Curve - which is useful for avoiding\n\t * cusps and self-intersections in non-uniform catmull rom curves.\n\t * http://www.cemyuksel.com/research/catmullrom_param/catmullrom.pdf\n\t *\n\t * curve.type accepts centripetal(default), chordal and catmullrom\n\t * curve.tension is used for catmullrom which defaults to 0.5\n\t */\n\n\t/*\n\tBased on an optimized c++ solution in\n\t - http://stackoverflow.com/questions/9489736/catmull-rom-curve-with-no-cusps-and-no-self-intersections/\n\t - http://ideone.com/NoEbVM\n\n\tThis CubicPoly class could be used for reusing some variables and calculations,\n\tbut for three.js curve use, it could be possible inlined and flatten into a single function call\n\twhich can be placed in CurveUtils.\n\t*/\n\n\tfunction CubicPoly() {\n\t\tlet c0 = 0,\n\t\t\t\tc1 = 0,\n\t\t\t\tc2 = 0,\n\t\t\t\tc3 = 0;\n\t\t/*\n\t\t * Compute coefficients for a cubic polynomial\n\t\t *\t p(s) = c0 + c1*s + c2*s^2 + c3*s^3\n\t\t * such that\n\t\t *\t p(0) = x0, p(1) = x1\n\t\t *\tand\n\t\t *\t p'(0) = t0, p'(1) = t1.\n\t\t */\n\n\t\tfunction init(x0, x1, t0, t1) {\n\t\t\tc0 = x0;\n\t\t\tc1 = t0;\n\t\t\tc2 = -3 * x0 + 3 * x1 - 2 * t0 - t1;\n\t\t\tc3 = 2 * x0 - 2 * x1 + t0 + t1;\n\t\t}\n\n\t\treturn {\n\t\t\tinitCatmullRom: function (x0, x1, x2, x3, tension) {\n\t\t\t\tinit(x1, x2, tension * (x2 - x0), tension * (x3 - x1));\n\t\t\t},\n\t\t\tinitNonuniformCatmullRom: function (x0, x1, x2, x3, dt0, dt1, dt2) {\n\t\t\t\t// compute tangents when parameterized in [t1,t2]\n\t\t\t\tlet t1 = (x1 - x0) / dt0 - (x2 - x0) / (dt0 + dt1) + (x2 - x1) / dt1;\n\t\t\t\tlet t2 = (x2 - x1) / dt1 - (x3 - x1) / (dt1 + dt2) + (x3 - x2) / dt2; // rescale tangents for parametrization in [0,1]\n\n\t\t\t\tt1 *= dt1;\n\t\t\t\tt2 *= dt1;\n\t\t\t\tinit(x1, x2, t1, t2);\n\t\t\t},\n\t\t\tcalc: function (t) {\n\t\t\t\tconst t2 = t * t;\n\t\t\t\tconst t3 = t2 * t;\n\t\t\t\treturn c0 + c1 * t + c2 * t2 + c3 * t3;\n\t\t\t}\n\t\t};\n\t} //\n\n\n\tconst tmp = /*@__PURE__*/new Vector3();\n\tconst px = /*@__PURE__*/new CubicPoly();\n\tconst py = /*@__PURE__*/new CubicPoly();\n\tconst pz = /*@__PURE__*/new CubicPoly();\n\n\tclass CatmullRomCurve3 extends Curve {\n\t\tconstructor(points = [], closed = false, curveType = 'centripetal', tension = 0.5) {\n\t\t\tsuper();\n\t\t\tthis.isCatmullRomCurve3 = true;\n\t\t\tthis.type = 'CatmullRomCurve3';\n\t\t\tthis.points = points;\n\t\t\tthis.closed = closed;\n\t\t\tthis.curveType = curveType;\n\t\t\tthis.tension = tension;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector3()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst points = this.points;\n\t\t\tconst l = points.length;\n\t\t\tconst p = (l - (this.closed ? 0 : 1)) * t;\n\t\t\tlet intPoint = Math.floor(p);\n\t\t\tlet weight = p - intPoint;\n\n\t\t\tif (this.closed) {\n\t\t\t\tintPoint += intPoint > 0 ? 0 : (Math.floor(Math.abs(intPoint) / l) + 1) * l;\n\t\t\t} else if (weight === 0 && intPoint === l - 1) {\n\t\t\t\tintPoint = l - 2;\n\t\t\t\tweight = 1;\n\t\t\t}\n\n\t\t\tlet p0, p3; // 4 points (p1 & p2 defined below)\n\n\t\t\tif (this.closed || intPoint > 0) {\n\t\t\t\tp0 = points[(intPoint - 1) % l];\n\t\t\t} else {\n\t\t\t\t// extrapolate first point\n\t\t\t\ttmp.subVectors(points[0], points[1]).add(points[0]);\n\t\t\t\tp0 = tmp;\n\t\t\t}\n\n\t\t\tconst p1 = points[intPoint % l];\n\t\t\tconst p2 = points[(intPoint + 1) % l];\n\n\t\t\tif (this.closed || intPoint + 2 < l) {\n\t\t\t\tp3 = points[(intPoint + 2) % l];\n\t\t\t} else {\n\t\t\t\t// extrapolate last point\n\t\t\t\ttmp.subVectors(points[l - 1], points[l - 2]).add(points[l - 1]);\n\t\t\t\tp3 = tmp;\n\t\t\t}\n\n\t\t\tif (this.curveType === 'centripetal' || this.curveType === 'chordal') {\n\t\t\t\t// init Centripetal / Chordal Catmull-Rom\n\t\t\t\tconst pow = this.curveType === 'chordal' ? 0.5 : 0.25;\n\t\t\t\tlet dt0 = Math.pow(p0.distanceToSquared(p1), pow);\n\t\t\t\tlet dt1 = Math.pow(p1.distanceToSquared(p2), pow);\n\t\t\t\tlet dt2 = Math.pow(p2.distanceToSquared(p3), pow); // safety check for repeated points\n\n\t\t\t\tif (dt1 < 1e-4) dt1 = 1.0;\n\t\t\t\tif (dt0 < 1e-4) dt0 = dt1;\n\t\t\t\tif (dt2 < 1e-4) dt2 = dt1;\n\t\t\t\tpx.initNonuniformCatmullRom(p0.x, p1.x, p2.x, p3.x, dt0, dt1, dt2);\n\t\t\t\tpy.initNonuniformCatmullRom(p0.y, p1.y, p2.y, p3.y, dt0, dt1, dt2);\n\t\t\t\tpz.initNonuniformCatmullRom(p0.z, p1.z, p2.z, p3.z, dt0, dt1, dt2);\n\t\t\t} else if (this.curveType === 'catmullrom') {\n\t\t\t\tpx.initCatmullRom(p0.x, p1.x, p2.x, p3.x, this.tension);\n\t\t\t\tpy.initCatmullRom(p0.y, p1.y, p2.y, p3.y, this.tension);\n\t\t\t\tpz.initCatmullRom(p0.z, p1.z, p2.z, p3.z, this.tension);\n\t\t\t}\n\n\t\t\tpoint.set(px.calc(weight), py.calc(weight), pz.calc(weight));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.points = [];\n\n\t\t\tfor (let i = 0, l = source.points.length; i < l; i++) {\n\t\t\t\tconst point = source.points[i];\n\t\t\t\tthis.points.push(point.clone());\n\t\t\t}\n\n\t\t\tthis.closed = source.closed;\n\t\t\tthis.curveType = source.curveType;\n\t\t\tthis.tension = source.tension;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.points = [];\n\n\t\t\tfor (let i = 0, l = this.points.length; i < l; i++) {\n\t\t\t\tconst point = this.points[i];\n\t\t\t\tdata.points.push(point.toArray());\n\t\t\t}\n\n\t\t\tdata.closed = this.closed;\n\t\t\tdata.curveType = this.curveType;\n\t\t\tdata.tension = this.tension;\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.points = [];\n\n\t\t\tfor (let i = 0, l = json.points.length; i < l; i++) {\n\t\t\t\tconst point = json.points[i];\n\t\t\t\tthis.points.push(new Vector3().fromArray(point));\n\t\t\t}\n\n\t\t\tthis.closed = json.closed;\n\t\t\tthis.curveType = json.curveType;\n\t\t\tthis.tension = json.tension;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\t/**\n\t * Bezier Curves formulas obtained from\n\t * https://en.wikipedia.org/wiki/B%C3%A9zier_curve\n\t */\n\tfunction CatmullRom(t, p0, p1, p2, p3) {\n\t\tconst v0 = (p2 - p0) * 0.5;\n\t\tconst v1 = (p3 - p1) * 0.5;\n\t\tconst t2 = t * t;\n\t\tconst t3 = t * t2;\n\t\treturn (2 * p1 - 2 * p2 + v0 + v1) * t3 + (-3 * p1 + 3 * p2 - 2 * v0 - v1) * t2 + v0 * t + p1;\n\t} //\n\n\n\tfunction QuadraticBezierP0(t, p) {\n\t\tconst k = 1 - t;\n\t\treturn k * k * p;\n\t}\n\n\tfunction QuadraticBezierP1(t, p) {\n\t\treturn 2 * (1 - t) * t * p;\n\t}\n\n\tfunction QuadraticBezierP2(t, p) {\n\t\treturn t * t * p;\n\t}\n\n\tfunction QuadraticBezier(t, p0, p1, p2) {\n\t\treturn QuadraticBezierP0(t, p0) + QuadraticBezierP1(t, p1) + QuadraticBezierP2(t, p2);\n\t} //\n\n\n\tfunction CubicBezierP0(t, p) {\n\t\tconst k = 1 - t;\n\t\treturn k * k * k * p;\n\t}\n\n\tfunction CubicBezierP1(t, p) {\n\t\tconst k = 1 - t;\n\t\treturn 3 * k * k * t * p;\n\t}\n\n\tfunction CubicBezierP2(t, p) {\n\t\treturn 3 * (1 - t) * t * t * p;\n\t}\n\n\tfunction CubicBezierP3(t, p) {\n\t\treturn t * t * t * p;\n\t}\n\n\tfunction CubicBezier(t, p0, p1, p2, p3) {\n\t\treturn CubicBezierP0(t, p0) + CubicBezierP1(t, p1) + CubicBezierP2(t, p2) + CubicBezierP3(t, p3);\n\t}\n\n\tclass CubicBezierCurve extends Curve {\n\t\tconstructor(v0 = new Vector2(), v1 = new Vector2(), v2 = new Vector2(), v3 = new Vector2()) {\n\t\t\tsuper();\n\t\t\tthis.isCubicBezierCurve = true;\n\t\t\tthis.type = 'CubicBezierCurve';\n\t\t\tthis.v0 = v0;\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.v3 = v3;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector2()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst v0 = this.v0,\n\t\t\t\t\t\tv1 = this.v1,\n\t\t\t\t\t\tv2 = this.v2,\n\t\t\t\t\t\tv3 = this.v3;\n\t\t\tpoint.set(CubicBezier(t, v0.x, v1.x, v2.x, v3.x), CubicBezier(t, v0.y, v1.y, v2.y, v3.y));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v0.copy(source.v0);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\tthis.v3.copy(source.v3);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v0 = this.v0.toArray();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\tdata.v3 = this.v3.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v0.fromArray(json.v0);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\tthis.v3.fromArray(json.v3);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass CubicBezierCurve3 extends Curve {\n\t\tconstructor(v0 = new Vector3(), v1 = new Vector3(), v2 = new Vector3(), v3 = new Vector3()) {\n\t\t\tsuper();\n\t\t\tthis.isCubicBezierCurve3 = true;\n\t\t\tthis.type = 'CubicBezierCurve3';\n\t\t\tthis.v0 = v0;\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.v3 = v3;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector3()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst v0 = this.v0,\n\t\t\t\t\t\tv1 = this.v1,\n\t\t\t\t\t\tv2 = this.v2,\n\t\t\t\t\t\tv3 = this.v3;\n\t\t\tpoint.set(CubicBezier(t, v0.x, v1.x, v2.x, v3.x), CubicBezier(t, v0.y, v1.y, v2.y, v3.y), CubicBezier(t, v0.z, v1.z, v2.z, v3.z));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v0.copy(source.v0);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\tthis.v3.copy(source.v3);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v0 = this.v0.toArray();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\tdata.v3 = this.v3.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v0.fromArray(json.v0);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\tthis.v3.fromArray(json.v3);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass LineCurve extends Curve {\n\t\tconstructor(v1 = new Vector2(), v2 = new Vector2()) {\n\t\t\tsuper();\n\t\t\tthis.isLineCurve = true;\n\t\t\tthis.type = 'LineCurve';\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector2()) {\n\t\t\tconst point = optionalTarget;\n\n\t\t\tif (t === 1) {\n\t\t\t\tpoint.copy(this.v2);\n\t\t\t} else {\n\t\t\t\tpoint.copy(this.v2).sub(this.v1);\n\t\t\t\tpoint.multiplyScalar(t).add(this.v1);\n\t\t\t}\n\n\t\t\treturn point;\n\t\t} // Line curve is linear, so we can overwrite default getPointAt\n\n\n\t\tgetPointAt(u, optionalTarget) {\n\t\t\treturn this.getPoint(u, optionalTarget);\n\t\t}\n\n\t\tgetTangent(t, optionalTarget) {\n\t\t\tconst tangent = optionalTarget || new Vector2();\n\t\t\ttangent.copy(this.v2).sub(this.v1).normalize();\n\t\t\treturn tangent;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass LineCurve3 extends Curve {\n\t\tconstructor(v1 = new Vector3(), v2 = new Vector3()) {\n\t\t\tsuper();\n\t\t\tthis.isLineCurve3 = true;\n\t\t\tthis.type = 'LineCurve3';\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector3()) {\n\t\t\tconst point = optionalTarget;\n\n\t\t\tif (t === 1) {\n\t\t\t\tpoint.copy(this.v2);\n\t\t\t} else {\n\t\t\t\tpoint.copy(this.v2).sub(this.v1);\n\t\t\t\tpoint.multiplyScalar(t).add(this.v1);\n\t\t\t}\n\n\t\t\treturn point;\n\t\t} // Line curve is linear, so we can overwrite default getPointAt\n\n\n\t\tgetPointAt(u, optionalTarget) {\n\t\t\treturn this.getPoint(u, optionalTarget);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass QuadraticBezierCurve extends Curve {\n\t\tconstructor(v0 = new Vector2(), v1 = new Vector2(), v2 = new Vector2()) {\n\t\t\tsuper();\n\t\t\tthis.isQuadraticBezierCurve = true;\n\t\t\tthis.type = 'QuadraticBezierCurve';\n\t\t\tthis.v0 = v0;\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector2()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst v0 = this.v0,\n\t\t\t\t\t\tv1 = this.v1,\n\t\t\t\t\t\tv2 = this.v2;\n\t\t\tpoint.set(QuadraticBezier(t, v0.x, v1.x, v2.x), QuadraticBezier(t, v0.y, v1.y, v2.y));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v0.copy(source.v0);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v0 = this.v0.toArray();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v0.fromArray(json.v0);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass QuadraticBezierCurve3 extends Curve {\n\t\tconstructor(v0 = new Vector3(), v1 = new Vector3(), v2 = new Vector3()) {\n\t\t\tsuper();\n\t\t\tthis.isQuadraticBezierCurve3 = true;\n\t\t\tthis.type = 'QuadraticBezierCurve3';\n\t\t\tthis.v0 = v0;\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector3()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst v0 = this.v0,\n\t\t\t\t\t\tv1 = this.v1,\n\t\t\t\t\t\tv2 = this.v2;\n\t\t\tpoint.set(QuadraticBezier(t, v0.x, v1.x, v2.x), QuadraticBezier(t, v0.y, v1.y, v2.y), QuadraticBezier(t, v0.z, v1.z, v2.z));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.v0.copy(source.v0);\n\t\t\tthis.v1.copy(source.v1);\n\t\t\tthis.v2.copy(source.v2);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.v0 = this.v0.toArray();\n\t\t\tdata.v1 = this.v1.toArray();\n\t\t\tdata.v2 = this.v2.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.v0.fromArray(json.v0);\n\t\t\tthis.v1.fromArray(json.v1);\n\t\t\tthis.v2.fromArray(json.v2);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass SplineCurve extends Curve {\n\t\tconstructor(points = []) {\n\t\t\tsuper();\n\t\t\tthis.isSplineCurve = true;\n\t\t\tthis.type = 'SplineCurve';\n\t\t\tthis.points = points;\n\t\t}\n\n\t\tgetPoint(t, optionalTarget = new Vector2()) {\n\t\t\tconst point = optionalTarget;\n\t\t\tconst points = this.points;\n\t\t\tconst p = (points.length - 1) * t;\n\t\t\tconst intPoint = Math.floor(p);\n\t\t\tconst weight = p - intPoint;\n\t\t\tconst p0 = points[intPoint === 0 ? intPoint : intPoint - 1];\n\t\t\tconst p1 = points[intPoint];\n\t\t\tconst p2 = points[intPoint > points.length - 2 ? points.length - 1 : intPoint + 1];\n\t\t\tconst p3 = points[intPoint > points.length - 3 ? points.length - 1 : intPoint + 2];\n\t\t\tpoint.set(CatmullRom(weight, p0.x, p1.x, p2.x, p3.x), CatmullRom(weight, p0.y, p1.y, p2.y, p3.y));\n\t\t\treturn point;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.points = [];\n\n\t\t\tfor (let i = 0, l = source.points.length; i < l; i++) {\n\t\t\t\tconst point = source.points[i];\n\t\t\t\tthis.points.push(point.clone());\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.points = [];\n\n\t\t\tfor (let i = 0, l = this.points.length; i < l; i++) {\n\t\t\t\tconst point = this.points[i];\n\t\t\t\tdata.points.push(point.toArray());\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.points = [];\n\n\t\t\tfor (let i = 0, l = json.points.length; i < l; i++) {\n\t\t\t\tconst point = json.points[i];\n\t\t\t\tthis.points.push(new Vector2().fromArray(point));\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tvar Curves = /*#__PURE__*/Object.freeze({\n\t\t__proto__: null,\n\t\tArcCurve: ArcCurve,\n\t\tCatmullRomCurve3: CatmullRomCurve3,\n\t\tCubicBezierCurve: CubicBezierCurve,\n\t\tCubicBezierCurve3: CubicBezierCurve3,\n\t\tEllipseCurve: EllipseCurve,\n\t\tLineCurve: LineCurve,\n\t\tLineCurve3: LineCurve3,\n\t\tQuadraticBezierCurve: QuadraticBezierCurve,\n\t\tQuadraticBezierCurve3: QuadraticBezierCurve3,\n\t\tSplineCurve: SplineCurve\n\t});\n\n\t/**************************************************************\n\t *\tCurved Path - a curve path is simply a array of connected\n\t *\tcurves, but retains the api of a curve\n\t **************************************************************/\n\n\tclass CurvePath extends Curve {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.type = 'CurvePath';\n\t\t\tthis.curves = [];\n\t\t\tthis.autoClose = false; // Automatically closes the path\n\t\t}\n\n\t\tadd(curve) {\n\t\t\tthis.curves.push(curve);\n\t\t}\n\n\t\tclosePath() {\n\t\t\t// Add a line curve if start and end of lines are not connected\n\t\t\tconst startPoint = this.curves[0].getPoint(0);\n\t\t\tconst endPoint = this.curves[this.curves.length - 1].getPoint(1);\n\n\t\t\tif (!startPoint.equals(endPoint)) {\n\t\t\t\tthis.curves.push(new LineCurve(endPoint, startPoint));\n\t\t\t}\n\t\t} // To get accurate point with reference to\n\t\t// entire path distance at time t,\n\t\t// following has to be done:\n\t\t// 1. Length of each sub path have to be known\n\t\t// 2. Locate and identify type of curve\n\t\t// 3. Get t for the curve\n\t\t// 4. Return curve.getPointAt(t')\n\n\n\t\tgetPoint(t, optionalTarget) {\n\t\t\tconst d = t * this.getLength();\n\t\t\tconst curveLengths = this.getCurveLengths();\n\t\t\tlet i = 0; // To think about boundaries points.\n\n\t\t\twhile (i < curveLengths.length) {\n\t\t\t\tif (curveLengths[i] >= d) {\n\t\t\t\t\tconst diff = curveLengths[i] - d;\n\t\t\t\t\tconst curve = this.curves[i];\n\t\t\t\t\tconst segmentLength = curve.getLength();\n\t\t\t\t\tconst u = segmentLength === 0 ? 0 : 1 - diff / segmentLength;\n\t\t\t\t\treturn curve.getPointAt(u, optionalTarget);\n\t\t\t\t}\n\n\t\t\t\ti++;\n\t\t\t}\n\n\t\t\treturn null; // loop where sum != 0, sum > d , sum+1 <d\n\t\t} // We cannot use the default THREE.Curve getPoint() with getLength() because in\n\t\t// THREE.Curve, getLength() depends on getPoint() but in THREE.CurvePath\n\t\t// getPoint() depends on getLength\n\n\n\t\tgetLength() {\n\t\t\tconst lens = this.getCurveLengths();\n\t\t\treturn lens[lens.length - 1];\n\t\t} // cacheLengths must be recalculated.\n\n\n\t\tupdateArcLengths() {\n\t\t\tthis.needsUpdate = true;\n\t\t\tthis.cacheLengths = null;\n\t\t\tthis.getCurveLengths();\n\t\t} // Compute lengths and cache them\n\t\t// We cannot overwrite getLengths() because UtoT mapping uses it.\n\n\n\t\tgetCurveLengths() {\n\t\t\t// We use cache values if curves and cache array are same length\n\t\t\tif (this.cacheLengths && this.cacheLengths.length === this.curves.length) {\n\t\t\t\treturn this.cacheLengths;\n\t\t\t} // Get length of sub-curve\n\t\t\t// Push sums into cached array\n\n\n\t\t\tconst lengths = [];\n\t\t\tlet sums = 0;\n\n\t\t\tfor (let i = 0, l = this.curves.length; i < l; i++) {\n\t\t\t\tsums += this.curves[i].getLength();\n\t\t\t\tlengths.push(sums);\n\t\t\t}\n\n\t\t\tthis.cacheLengths = lengths;\n\t\t\treturn lengths;\n\t\t}\n\n\t\tgetSpacedPoints(divisions = 40) {\n\t\t\tconst points = [];\n\n\t\t\tfor (let i = 0; i <= divisions; i++) {\n\t\t\t\tpoints.push(this.getPoint(i / divisions));\n\t\t\t}\n\n\t\t\tif (this.autoClose) {\n\t\t\t\tpoints.push(points[0]);\n\t\t\t}\n\n\t\t\treturn points;\n\t\t}\n\n\t\tgetPoints(divisions = 12) {\n\t\t\tconst points = [];\n\t\t\tlet last;\n\n\t\t\tfor (let i = 0, curves = this.curves; i < curves.length; i++) {\n\t\t\t\tconst curve = curves[i];\n\t\t\t\tconst resolution = curve.isEllipseCurve ? divisions * 2 : curve.isLineCurve || curve.isLineCurve3 ? 1 : curve.isSplineCurve ? divisions * curve.points.length : divisions;\n\t\t\t\tconst pts = curve.getPoints(resolution);\n\n\t\t\t\tfor (let j = 0; j < pts.length; j++) {\n\t\t\t\t\tconst point = pts[j];\n\t\t\t\t\tif (last && last.equals(point)) continue; // ensures no consecutive points are duplicates\n\n\t\t\t\t\tpoints.push(point);\n\t\t\t\t\tlast = point;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (this.autoClose && points.length > 1 && !points[points.length - 1].equals(points[0])) {\n\t\t\t\tpoints.push(points[0]);\n\t\t\t}\n\n\t\t\treturn points;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.curves = [];\n\n\t\t\tfor (let i = 0, l = source.curves.length; i < l; i++) {\n\t\t\t\tconst curve = source.curves[i];\n\t\t\t\tthis.curves.push(curve.clone());\n\t\t\t}\n\n\t\t\tthis.autoClose = source.autoClose;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.autoClose = this.autoClose;\n\t\t\tdata.curves = [];\n\n\t\t\tfor (let i = 0, l = this.curves.length; i < l; i++) {\n\t\t\t\tconst curve = this.curves[i];\n\t\t\t\tdata.curves.push(curve.toJSON());\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.autoClose = json.autoClose;\n\t\t\tthis.curves = [];\n\n\t\t\tfor (let i = 0, l = json.curves.length; i < l; i++) {\n\t\t\t\tconst curve = json.curves[i];\n\t\t\t\tthis.curves.push(new Curves[curve.type]().fromJSON(curve));\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass Path extends CurvePath {\n\t\tconstructor(points) {\n\t\t\tsuper();\n\t\t\tthis.type = 'Path';\n\t\t\tthis.currentPoint = new Vector2();\n\n\t\t\tif (points) {\n\t\t\t\tthis.setFromPoints(points);\n\t\t\t}\n\t\t}\n\n\t\tsetFromPoints(points) {\n\t\t\tthis.moveTo(points[0].x, points[0].y);\n\n\t\t\tfor (let i = 1, l = points.length; i < l; i++) {\n\t\t\t\tthis.lineTo(points[i].x, points[i].y);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tmoveTo(x, y) {\n\t\t\tthis.currentPoint.set(x, y); // TODO consider referencing vectors instead of copying?\n\n\t\t\treturn this;\n\t\t}\n\n\t\tlineTo(x, y) {\n\t\t\tconst curve = new LineCurve(this.currentPoint.clone(), new Vector2(x, y));\n\t\t\tthis.curves.push(curve);\n\t\t\tthis.currentPoint.set(x, y);\n\t\t\treturn this;\n\t\t}\n\n\t\tquadraticCurveTo(aCPx, aCPy, aX, aY) {\n\t\t\tconst curve = new QuadraticBezierCurve(this.currentPoint.clone(), new Vector2(aCPx, aCPy), new Vector2(aX, aY));\n\t\t\tthis.curves.push(curve);\n\t\t\tthis.currentPoint.set(aX, aY);\n\t\t\treturn this;\n\t\t}\n\n\t\tbezierCurveTo(aCP1x, aCP1y, aCP2x, aCP2y, aX, aY) {\n\t\t\tconst curve = new CubicBezierCurve(this.currentPoint.clone(), new Vector2(aCP1x, aCP1y), new Vector2(aCP2x, aCP2y), new Vector2(aX, aY));\n\t\t\tthis.curves.push(curve);\n\t\t\tthis.currentPoint.set(aX, aY);\n\t\t\treturn this;\n\t\t}\n\n\t\tsplineThru(pts\n\t\t/*Array of Vector*/\n\t\t) {\n\t\t\tconst npts = [this.currentPoint.clone()].concat(pts);\n\t\t\tconst curve = new SplineCurve(npts);\n\t\t\tthis.curves.push(curve);\n\t\t\tthis.currentPoint.copy(pts[pts.length - 1]);\n\t\t\treturn this;\n\t\t}\n\n\t\tarc(aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise) {\n\t\t\tconst x0 = this.currentPoint.x;\n\t\t\tconst y0 = this.currentPoint.y;\n\t\t\tthis.absarc(aX + x0, aY + y0, aRadius, aStartAngle, aEndAngle, aClockwise);\n\t\t\treturn this;\n\t\t}\n\n\t\tabsarc(aX, aY, aRadius, aStartAngle, aEndAngle, aClockwise) {\n\t\t\tthis.absellipse(aX, aY, aRadius, aRadius, aStartAngle, aEndAngle, aClockwise);\n\t\t\treturn this;\n\t\t}\n\n\t\tellipse(aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation) {\n\t\t\tconst x0 = this.currentPoint.x;\n\t\t\tconst y0 = this.currentPoint.y;\n\t\t\tthis.absellipse(aX + x0, aY + y0, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation);\n\t\t\treturn this;\n\t\t}\n\n\t\tabsellipse(aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation) {\n\t\t\tconst curve = new EllipseCurve(aX, aY, xRadius, yRadius, aStartAngle, aEndAngle, aClockwise, aRotation);\n\n\t\t\tif (this.curves.length > 0) {\n\t\t\t\t// if a previous curve is present, attempt to join\n\t\t\t\tconst firstPoint = curve.getPoint(0);\n\n\t\t\t\tif (!firstPoint.equals(this.currentPoint)) {\n\t\t\t\t\tthis.lineTo(firstPoint.x, firstPoint.y);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tthis.curves.push(curve);\n\t\t\tconst lastPoint = curve.getPoint(1);\n\t\t\tthis.currentPoint.copy(lastPoint);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.currentPoint.copy(source.currentPoint);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.currentPoint = this.currentPoint.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.currentPoint.fromArray(json.currentPoint);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass LatheGeometry extends BufferGeometry {\n\t\tconstructor(points = [new Vector2(0, 0.5), new Vector2(0.5, 0), new Vector2(0, -0.5)], segments = 12, phiStart = 0, phiLength = Math.PI * 2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'LatheGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tpoints: points,\n\t\t\t\tsegments: segments,\n\t\t\t\tphiStart: phiStart,\n\t\t\t\tphiLength: phiLength\n\t\t\t};\n\t\t\tsegments = Math.floor(segments); // clamp phiLength so it's in range of [ 0, 2PI ]\n\n\t\t\tphiLength = clamp(phiLength, 0, Math.PI * 2); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst uvs = [];\n\t\t\tconst initNormals = [];\n\t\t\tconst normals = []; // helper variables\n\n\t\t\tconst inverseSegments = 1.0 / segments;\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst uv = new Vector2();\n\t\t\tconst normal = new Vector3();\n\t\t\tconst curNormal = new Vector3();\n\t\t\tconst prevNormal = new Vector3();\n\t\t\tlet dx = 0;\n\t\t\tlet dy = 0; // pre-compute normals for initial \"meridian\"\n\n\t\t\tfor (let j = 0; j <= points.length - 1; j++) {\n\t\t\t\tswitch (j) {\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\t// special handling for 1st vertex on path\n\t\t\t\t\t\tdx = points[j + 1].x - points[j].x;\n\t\t\t\t\t\tdy = points[j + 1].y - points[j].y;\n\t\t\t\t\t\tnormal.x = dy * 1.0;\n\t\t\t\t\t\tnormal.y = -dx;\n\t\t\t\t\t\tnormal.z = dy * 0.0;\n\t\t\t\t\t\tprevNormal.copy(normal);\n\t\t\t\t\t\tnormal.normalize();\n\t\t\t\t\t\tinitNormals.push(normal.x, normal.y, normal.z);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase points.length - 1:\n\t\t\t\t\t\t// special handling for last Vertex on path\n\t\t\t\t\t\tinitNormals.push(prevNormal.x, prevNormal.y, prevNormal.z);\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// default handling for all vertices in between\n\t\t\t\t\t\tdx = points[j + 1].x - points[j].x;\n\t\t\t\t\t\tdy = points[j + 1].y - points[j].y;\n\t\t\t\t\t\tnormal.x = dy * 1.0;\n\t\t\t\t\t\tnormal.y = -dx;\n\t\t\t\t\t\tnormal.z = dy * 0.0;\n\t\t\t\t\t\tcurNormal.copy(normal);\n\t\t\t\t\t\tnormal.x += prevNormal.x;\n\t\t\t\t\t\tnormal.y += prevNormal.y;\n\t\t\t\t\t\tnormal.z += prevNormal.z;\n\t\t\t\t\t\tnormal.normalize();\n\t\t\t\t\t\tinitNormals.push(normal.x, normal.y, normal.z);\n\t\t\t\t\t\tprevNormal.copy(curNormal);\n\t\t\t\t}\n\t\t\t} // generate vertices, uvs and normals\n\n\n\t\t\tfor (let i = 0; i <= segments; i++) {\n\t\t\t\tconst phi = phiStart + i * inverseSegments * phiLength;\n\t\t\t\tconst sin = Math.sin(phi);\n\t\t\t\tconst cos = Math.cos(phi);\n\n\t\t\t\tfor (let j = 0; j <= points.length - 1; j++) {\n\t\t\t\t\t// vertex\n\t\t\t\t\tvertex.x = points[j].x * sin;\n\t\t\t\t\tvertex.y = points[j].y;\n\t\t\t\t\tvertex.z = points[j].x * cos;\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // uv\n\n\t\t\t\t\tuv.x = i / segments;\n\t\t\t\t\tuv.y = j / (points.length - 1);\n\t\t\t\t\tuvs.push(uv.x, uv.y); // normal\n\n\t\t\t\t\tconst x = initNormals[3 * j + 0] * sin;\n\t\t\t\t\tconst y = initNormals[3 * j + 1];\n\t\t\t\t\tconst z = initNormals[3 * j + 0] * cos;\n\t\t\t\t\tnormals.push(x, y, z);\n\t\t\t\t}\n\t\t\t} // indices\n\n\n\t\t\tfor (let i = 0; i < segments; i++) {\n\t\t\t\tfor (let j = 0; j < points.length - 1; j++) {\n\t\t\t\t\tconst base = j + i * points.length;\n\t\t\t\t\tconst a = base;\n\t\t\t\t\tconst b = base + points.length;\n\t\t\t\t\tconst c = base + points.length + 1;\n\t\t\t\t\tconst d = base + 1; // faces\n\n\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\tindices.push(c, d, b);\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new LatheGeometry(data.points, data.segments, data.phiStart, data.phiLength);\n\t\t}\n\n\t}\n\n\tclass CapsuleGeometry extends LatheGeometry {\n\t\tconstructor(radius = 1, length = 1, capSegments = 4, radialSegments = 8) {\n\t\t\tconst path = new Path();\n\t\t\tpath.absarc(0, -length / 2, radius, Math.PI * 1.5, 0);\n\t\t\tpath.absarc(0, length / 2, radius, 0, Math.PI * 0.5);\n\t\t\tsuper(path.getPoints(capSegments), radialSegments);\n\t\t\tthis.type = 'CapsuleGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\theight: length,\n\t\t\t\tcapSegments: capSegments,\n\t\t\t\tradialSegments: radialSegments\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new CapsuleGeometry(data.radius, data.length, data.capSegments, data.radialSegments);\n\t\t}\n\n\t}\n\n\tclass CircleGeometry extends BufferGeometry {\n\t\tconstructor(radius = 1, segments = 8, thetaStart = 0, thetaLength = Math.PI * 2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'CircleGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\tsegments: segments,\n\t\t\t\tthetaStart: thetaStart,\n\t\t\t\tthetaLength: thetaLength\n\t\t\t};\n\t\t\tsegments = Math.max(3, segments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst uv = new Vector2(); // center point\n\n\t\t\tvertices.push(0, 0, 0);\n\t\t\tnormals.push(0, 0, 1);\n\t\t\tuvs.push(0.5, 0.5);\n\n\t\t\tfor (let s = 0, i = 3; s <= segments; s++, i += 3) {\n\t\t\t\tconst segment = thetaStart + s / segments * thetaLength; // vertex\n\n\t\t\t\tvertex.x = radius * Math.cos(segment);\n\t\t\t\tvertex.y = radius * Math.sin(segment);\n\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\tnormals.push(0, 0, 1); // uvs\n\n\t\t\t\tuv.x = (vertices[i] / radius + 1) / 2;\n\t\t\t\tuv.y = (vertices[i + 1] / radius + 1) / 2;\n\t\t\t\tuvs.push(uv.x, uv.y);\n\t\t\t} // indices\n\n\n\t\t\tfor (let i = 1; i <= segments; i++) {\n\t\t\t\tindices.push(i, i + 1, 0);\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new CircleGeometry(data.radius, data.segments, data.thetaStart, data.thetaLength);\n\t\t}\n\n\t}\n\n\tclass CylinderGeometry extends BufferGeometry {\n\t\tconstructor(radiusTop = 1, radiusBottom = 1, height = 1, radialSegments = 8, heightSegments = 1, openEnded = false, thetaStart = 0, thetaLength = Math.PI * 2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'CylinderGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradiusTop: radiusTop,\n\t\t\t\tradiusBottom: radiusBottom,\n\t\t\t\theight: height,\n\t\t\t\tradialSegments: radialSegments,\n\t\t\t\theightSegments: heightSegments,\n\t\t\t\topenEnded: openEnded,\n\t\t\t\tthetaStart: thetaStart,\n\t\t\t\tthetaLength: thetaLength\n\t\t\t};\n\t\t\tconst scope = this;\n\t\t\tradialSegments = Math.floor(radialSegments);\n\t\t\theightSegments = Math.floor(heightSegments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tlet index = 0;\n\t\t\tconst indexArray = [];\n\t\t\tconst halfHeight = height / 2;\n\t\t\tlet groupStart = 0; // generate geometry\n\n\t\t\tgenerateTorso();\n\n\t\t\tif (openEnded === false) {\n\t\t\t\tif (radiusTop > 0) generateCap(true);\n\t\t\t\tif (radiusBottom > 0) generateCap(false);\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\n\t\t\tfunction generateTorso() {\n\t\t\t\tconst normal = new Vector3();\n\t\t\t\tconst vertex = new Vector3();\n\t\t\t\tlet groupCount = 0; // this will be used to calculate the normal\n\n\t\t\t\tconst slope = (radiusBottom - radiusTop) / height; // generate vertices, normals and uvs\n\n\t\t\t\tfor (let y = 0; y <= heightSegments; y++) {\n\t\t\t\t\tconst indexRow = [];\n\t\t\t\t\tconst v = y / heightSegments; // calculate the radius of the current row\n\n\t\t\t\t\tconst radius = v * (radiusBottom - radiusTop) + radiusTop;\n\n\t\t\t\t\tfor (let x = 0; x <= radialSegments; x++) {\n\t\t\t\t\t\tconst u = x / radialSegments;\n\t\t\t\t\t\tconst theta = u * thetaLength + thetaStart;\n\t\t\t\t\t\tconst sinTheta = Math.sin(theta);\n\t\t\t\t\t\tconst cosTheta = Math.cos(theta); // vertex\n\n\t\t\t\t\t\tvertex.x = radius * sinTheta;\n\t\t\t\t\t\tvertex.y = -v * height + halfHeight;\n\t\t\t\t\t\tvertex.z = radius * cosTheta;\n\t\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\t\t\tnormal.set(sinTheta, slope, cosTheta).normalize();\n\t\t\t\t\t\tnormals.push(normal.x, normal.y, normal.z); // uv\n\n\t\t\t\t\t\tuvs.push(u, 1 - v); // save index of vertex in respective row\n\n\t\t\t\t\t\tindexRow.push(index++);\n\t\t\t\t\t} // now save vertices of the row in our index array\n\n\n\t\t\t\t\tindexArray.push(indexRow);\n\t\t\t\t} // generate indices\n\n\n\t\t\t\tfor (let x = 0; x < radialSegments; x++) {\n\t\t\t\t\tfor (let y = 0; y < heightSegments; y++) {\n\t\t\t\t\t\t// we use the index array to access the correct indices\n\t\t\t\t\t\tconst a = indexArray[y][x];\n\t\t\t\t\t\tconst b = indexArray[y + 1][x];\n\t\t\t\t\t\tconst c = indexArray[y + 1][x + 1];\n\t\t\t\t\t\tconst d = indexArray[y][x + 1]; // faces\n\n\t\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\t\tindices.push(b, c, d); // update group counter\n\n\t\t\t\t\t\tgroupCount += 6;\n\t\t\t\t\t}\n\t\t\t\t} // add a group to the geometry. this will ensure multi material support\n\n\n\t\t\t\tscope.addGroup(groupStart, groupCount, 0); // calculate new start value for groups\n\n\t\t\t\tgroupStart += groupCount;\n\t\t\t}\n\n\t\t\tfunction generateCap(top) {\n\t\t\t\t// save the index of the first center vertex\n\t\t\t\tconst centerIndexStart = index;\n\t\t\t\tconst uv = new Vector2();\n\t\t\t\tconst vertex = new Vector3();\n\t\t\t\tlet groupCount = 0;\n\t\t\t\tconst radius = top === true ? radiusTop : radiusBottom;\n\t\t\t\tconst sign = top === true ? 1 : -1; // first we generate the center vertex data of the cap.\n\t\t\t\t// because the geometry needs one set of uvs per face,\n\t\t\t\t// we must generate a center vertex per face/segment\n\n\t\t\t\tfor (let x = 1; x <= radialSegments; x++) {\n\t\t\t\t\t// vertex\n\t\t\t\t\tvertices.push(0, halfHeight * sign, 0); // normal\n\n\t\t\t\t\tnormals.push(0, sign, 0); // uv\n\n\t\t\t\t\tuvs.push(0.5, 0.5); // increase index\n\n\t\t\t\t\tindex++;\n\t\t\t\t} // save the index of the last center vertex\n\n\n\t\t\t\tconst centerIndexEnd = index; // now we generate the surrounding vertices, normals and uvs\n\n\t\t\t\tfor (let x = 0; x <= radialSegments; x++) {\n\t\t\t\t\tconst u = x / radialSegments;\n\t\t\t\t\tconst theta = u * thetaLength + thetaStart;\n\t\t\t\t\tconst cosTheta = Math.cos(theta);\n\t\t\t\t\tconst sinTheta = Math.sin(theta); // vertex\n\n\t\t\t\t\tvertex.x = radius * sinTheta;\n\t\t\t\t\tvertex.y = halfHeight * sign;\n\t\t\t\t\tvertex.z = radius * cosTheta;\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\t\tnormals.push(0, sign, 0); // uv\n\n\t\t\t\t\tuv.x = cosTheta * 0.5 + 0.5;\n\t\t\t\t\tuv.y = sinTheta * 0.5 * sign + 0.5;\n\t\t\t\t\tuvs.push(uv.x, uv.y); // increase index\n\n\t\t\t\t\tindex++;\n\t\t\t\t} // generate indices\n\n\n\t\t\t\tfor (let x = 0; x < radialSegments; x++) {\n\t\t\t\t\tconst c = centerIndexStart + x;\n\t\t\t\t\tconst i = centerIndexEnd + x;\n\n\t\t\t\t\tif (top === true) {\n\t\t\t\t\t\t// face top\n\t\t\t\t\t\tindices.push(i, i + 1, c);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// face bottom\n\t\t\t\t\t\tindices.push(i + 1, i, c);\n\t\t\t\t\t}\n\n\t\t\t\t\tgroupCount += 3;\n\t\t\t\t} // add a group to the geometry. this will ensure multi material support\n\n\n\t\t\t\tscope.addGroup(groupStart, groupCount, top === true ? 1 : 2); // calculate new start value for groups\n\n\t\t\t\tgroupStart += groupCount;\n\t\t\t}\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new CylinderGeometry(data.radiusTop, data.radiusBottom, data.height, data.radialSegments, data.heightSegments, data.openEnded, data.thetaStart, data.thetaLength);\n\t\t}\n\n\t}\n\n\tclass ConeGeometry extends CylinderGeometry {\n\t\tconstructor(radius = 1, height = 1, radialSegments = 8, heightSegments = 1, openEnded = false, thetaStart = 0, thetaLength = Math.PI * 2) {\n\t\t\tsuper(0, radius, height, radialSegments, heightSegments, openEnded, thetaStart, thetaLength);\n\t\t\tthis.type = 'ConeGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\theight: height,\n\t\t\t\tradialSegments: radialSegments,\n\t\t\t\theightSegments: heightSegments,\n\t\t\t\topenEnded: openEnded,\n\t\t\t\tthetaStart: thetaStart,\n\t\t\t\tthetaLength: thetaLength\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new ConeGeometry(data.radius, data.height, data.radialSegments, data.heightSegments, data.openEnded, data.thetaStart, data.thetaLength);\n\t\t}\n\n\t}\n\n\tclass PolyhedronGeometry extends BufferGeometry {\n\t\tconstructor(vertices = [], indices = [], radius = 1, detail = 0) {\n\t\t\tsuper();\n\t\t\tthis.type = 'PolyhedronGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tvertices: vertices,\n\t\t\t\tindices: indices,\n\t\t\t\tradius: radius,\n\t\t\t\tdetail: detail\n\t\t\t}; // default buffer data\n\n\t\t\tconst vertexBuffer = [];\n\t\t\tconst uvBuffer = []; // the subdivision creates the vertex buffer data\n\n\t\t\tsubdivide(detail); // all vertices should lie on a conceptual sphere with a given radius\n\n\t\t\tapplyRadius(radius); // finally, create the uv data\n\n\t\t\tgenerateUVs(); // build non-indexed geometry\n\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertexBuffer, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(vertexBuffer.slice(), 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvBuffer, 2));\n\n\t\t\tif (detail === 0) {\n\t\t\t\tthis.computeVertexNormals(); // flat normals\n\t\t\t} else {\n\t\t\t\tthis.normalizeNormals(); // smooth normals\n\t\t\t} // helper functions\n\n\n\t\t\tfunction subdivide(detail) {\n\t\t\t\tconst a = new Vector3();\n\t\t\t\tconst b = new Vector3();\n\t\t\t\tconst c = new Vector3(); // iterate over all faces and apply a subdivison with the given detail value\n\n\t\t\t\tfor (let i = 0; i < indices.length; i += 3) {\n\t\t\t\t\t// get the vertices of the face\n\t\t\t\t\tgetVertexByIndex(indices[i + 0], a);\n\t\t\t\t\tgetVertexByIndex(indices[i + 1], b);\n\t\t\t\t\tgetVertexByIndex(indices[i + 2], c); // perform subdivision\n\n\t\t\t\t\tsubdivideFace(a, b, c, detail);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction subdivideFace(a, b, c, detail) {\n\t\t\t\tconst cols = detail + 1; // we use this multidimensional array as a data structure for creating the subdivision\n\n\t\t\t\tconst v = []; // construct all of the vertices for this subdivision\n\n\t\t\t\tfor (let i = 0; i <= cols; i++) {\n\t\t\t\t\tv[i] = [];\n\t\t\t\t\tconst aj = a.clone().lerp(c, i / cols);\n\t\t\t\t\tconst bj = b.clone().lerp(c, i / cols);\n\t\t\t\t\tconst rows = cols - i;\n\n\t\t\t\t\tfor (let j = 0; j <= rows; j++) {\n\t\t\t\t\t\tif (j === 0 && i === cols) {\n\t\t\t\t\t\t\tv[i][j] = aj;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tv[i][j] = aj.clone().lerp(bj, j / rows);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} // construct all of the faces\n\n\n\t\t\t\tfor (let i = 0; i < cols; i++) {\n\t\t\t\t\tfor (let j = 0; j < 2 * (cols - i) - 1; j++) {\n\t\t\t\t\t\tconst k = Math.floor(j / 2);\n\n\t\t\t\t\t\tif (j % 2 === 0) {\n\t\t\t\t\t\t\tpushVertex(v[i][k + 1]);\n\t\t\t\t\t\t\tpushVertex(v[i + 1][k]);\n\t\t\t\t\t\t\tpushVertex(v[i][k]);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tpushVertex(v[i][k + 1]);\n\t\t\t\t\t\t\tpushVertex(v[i + 1][k + 1]);\n\t\t\t\t\t\t\tpushVertex(v[i + 1][k]);\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\tfunction applyRadius(radius) {\n\t\t\t\tconst vertex = new Vector3(); // iterate over the entire buffer and apply the radius to each vertex\n\n\t\t\t\tfor (let i = 0; i < vertexBuffer.length; i += 3) {\n\t\t\t\t\tvertex.x = vertexBuffer[i + 0];\n\t\t\t\t\tvertex.y = vertexBuffer[i + 1];\n\t\t\t\t\tvertex.z = vertexBuffer[i + 2];\n\t\t\t\t\tvertex.normalize().multiplyScalar(radius);\n\t\t\t\t\tvertexBuffer[i + 0] = vertex.x;\n\t\t\t\t\tvertexBuffer[i + 1] = vertex.y;\n\t\t\t\t\tvertexBuffer[i + 2] = vertex.z;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction generateUVs() {\n\t\t\t\tconst vertex = new Vector3();\n\n\t\t\t\tfor (let i = 0; i < vertexBuffer.length; i += 3) {\n\t\t\t\t\tvertex.x = vertexBuffer[i + 0];\n\t\t\t\t\tvertex.y = vertexBuffer[i + 1];\n\t\t\t\t\tvertex.z = vertexBuffer[i + 2];\n\t\t\t\t\tconst u = azimuth(vertex) / 2 / Math.PI + 0.5;\n\t\t\t\t\tconst v = inclination(vertex) / Math.PI + 0.5;\n\t\t\t\t\tuvBuffer.push(u, 1 - v);\n\t\t\t\t}\n\n\t\t\t\tcorrectUVs();\n\t\t\t\tcorrectSeam();\n\t\t\t}\n\n\t\t\tfunction correctSeam() {\n\t\t\t\t// handle case when face straddles the seam, see #3269\n\t\t\t\tfor (let i = 0; i < uvBuffer.length; i += 6) {\n\t\t\t\t\t// uv data of a single face\n\t\t\t\t\tconst x0 = uvBuffer[i + 0];\n\t\t\t\t\tconst x1 = uvBuffer[i + 2];\n\t\t\t\t\tconst x2 = uvBuffer[i + 4];\n\t\t\t\t\tconst max = Math.max(x0, x1, x2);\n\t\t\t\t\tconst min = Math.min(x0, x1, x2); // 0.9 is somewhat arbitrary\n\n\t\t\t\t\tif (max > 0.9 && min < 0.1) {\n\t\t\t\t\t\tif (x0 < 0.2) uvBuffer[i + 0] += 1;\n\t\t\t\t\t\tif (x1 < 0.2) uvBuffer[i + 2] += 1;\n\t\t\t\t\t\tif (x2 < 0.2) uvBuffer[i + 4] += 1;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction pushVertex(vertex) {\n\t\t\t\tvertexBuffer.push(vertex.x, vertex.y, vertex.z);\n\t\t\t}\n\n\t\t\tfunction getVertexByIndex(index, vertex) {\n\t\t\t\tconst stride = index * 3;\n\t\t\t\tvertex.x = vertices[stride + 0];\n\t\t\t\tvertex.y = vertices[stride + 1];\n\t\t\t\tvertex.z = vertices[stride + 2];\n\t\t\t}\n\n\t\t\tfunction correctUVs() {\n\t\t\t\tconst a = new Vector3();\n\t\t\t\tconst b = new Vector3();\n\t\t\t\tconst c = new Vector3();\n\t\t\t\tconst centroid = new Vector3();\n\t\t\t\tconst uvA = new Vector2();\n\t\t\t\tconst uvB = new Vector2();\n\t\t\t\tconst uvC = new Vector2();\n\n\t\t\t\tfor (let i = 0, j = 0; i < vertexBuffer.length; i += 9, j += 6) {\n\t\t\t\t\ta.set(vertexBuffer[i + 0], vertexBuffer[i + 1], vertexBuffer[i + 2]);\n\t\t\t\t\tb.set(vertexBuffer[i + 3], vertexBuffer[i + 4], vertexBuffer[i + 5]);\n\t\t\t\t\tc.set(vertexBuffer[i + 6], vertexBuffer[i + 7], vertexBuffer[i + 8]);\n\t\t\t\t\tuvA.set(uvBuffer[j + 0], uvBuffer[j + 1]);\n\t\t\t\t\tuvB.set(uvBuffer[j + 2], uvBuffer[j + 3]);\n\t\t\t\t\tuvC.set(uvBuffer[j + 4], uvBuffer[j + 5]);\n\t\t\t\t\tcentroid.copy(a).add(b).add(c).divideScalar(3);\n\t\t\t\t\tconst azi = azimuth(centroid);\n\t\t\t\t\tcorrectUV(uvA, j + 0, a, azi);\n\t\t\t\t\tcorrectUV(uvB, j + 2, b, azi);\n\t\t\t\t\tcorrectUV(uvC, j + 4, c, azi);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction correctUV(uv, stride, vector, azimuth) {\n\t\t\t\tif (azimuth < 0 && uv.x === 1) {\n\t\t\t\t\tuvBuffer[stride] = uv.x - 1;\n\t\t\t\t}\n\n\t\t\t\tif (vector.x === 0 && vector.z === 0) {\n\t\t\t\t\tuvBuffer[stride] = azimuth / 2 / Math.PI + 0.5;\n\t\t\t\t}\n\t\t\t} // Angle around the Y axis, counter-clockwise when looking from above.\n\n\n\t\t\tfunction azimuth(vector) {\n\t\t\t\treturn Math.atan2(vector.z, -vector.x);\n\t\t\t} // Angle above the XZ plane.\n\n\n\t\t\tfunction inclination(vector) {\n\t\t\t\treturn Math.atan2(-vector.y, Math.sqrt(vector.x * vector.x + vector.z * vector.z));\n\t\t\t}\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new PolyhedronGeometry(data.vertices, data.indices, data.radius, data.details);\n\t\t}\n\n\t}\n\n\tclass DodecahedronGeometry extends PolyhedronGeometry {\n\t\tconstructor(radius = 1, detail = 0) {\n\t\t\tconst t = (1 + Math.sqrt(5)) / 2;\n\t\t\tconst r = 1 / t;\n\t\t\tconst vertices = [// (±1, ±1, ±1)\n\t\t\t-1, -1, -1, -1, -1, 1, -1, 1, -1, -1, 1, 1, 1, -1, -1, 1, -1, 1, 1, 1, -1, 1, 1, 1, // (0, ±1/φ, ±φ)\n\t\t\t0, -r, -t, 0, -r, t, 0, r, -t, 0, r, t, // (±1/φ, ±φ, 0)\n\t\t\t-r, -t, 0, -r, t, 0, r, -t, 0, r, t, 0, // (±φ, 0, ±1/φ)\n\t\t\t-t, 0, -r, t, 0, -r, -t, 0, r, t, 0, r];\n\t\t\tconst indices = [3, 11, 7, 3, 7, 15, 3, 15, 13, 7, 19, 17, 7, 17, 6, 7, 6, 15, 17, 4, 8, 17, 8, 10, 17, 10, 6, 8, 0, 16, 8, 16, 2, 8, 2, 10, 0, 12, 1, 0, 1, 18, 0, 18, 16, 6, 10, 2, 6, 2, 13, 6, 13, 15, 2, 16, 18, 2, 18, 3, 2, 3, 13, 18, 1, 9, 18, 9, 11, 18, 11, 3, 4, 14, 12, 4, 12, 0, 4, 0, 8, 11, 9, 5, 11, 5, 19, 11, 19, 7, 19, 5, 14, 19, 14, 4, 19, 4, 17, 1, 12, 14, 1, 14, 5, 1, 5, 9];\n\t\t\tsuper(vertices, indices, radius, detail);\n\t\t\tthis.type = 'DodecahedronGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\tdetail: detail\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new DodecahedronGeometry(data.radius, data.detail);\n\t\t}\n\n\t}\n\n\tconst _v0 = /*@__PURE__*/new Vector3();\n\n\tconst _v1$1 = /*@__PURE__*/new Vector3();\n\n\tconst _normal = /*@__PURE__*/new Vector3();\n\n\tconst _triangle = /*@__PURE__*/new Triangle();\n\n\tclass EdgesGeometry extends BufferGeometry {\n\t\tconstructor(geometry = null, thresholdAngle = 1) {\n\t\t\tsuper();\n\t\t\tthis.type = 'EdgesGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tgeometry: geometry,\n\t\t\t\tthresholdAngle: thresholdAngle\n\t\t\t};\n\n\t\t\tif (geometry !== null) {\n\t\t\t\tconst precisionPoints = 4;\n\t\t\t\tconst precision = Math.pow(10, precisionPoints);\n\t\t\t\tconst thresholdDot = Math.cos(DEG2RAD * thresholdAngle);\n\t\t\t\tconst indexAttr = geometry.getIndex();\n\t\t\t\tconst positionAttr = geometry.getAttribute('position');\n\t\t\t\tconst indexCount = indexAttr ? indexAttr.count : positionAttr.count;\n\t\t\t\tconst indexArr = [0, 0, 0];\n\t\t\t\tconst vertKeys = ['a', 'b', 'c'];\n\t\t\t\tconst hashes = new Array(3);\n\t\t\t\tconst edgeData = {};\n\t\t\t\tconst vertices = [];\n\n\t\t\t\tfor (let i = 0; i < indexCount; i += 3) {\n\t\t\t\t\tif (indexAttr) {\n\t\t\t\t\t\tindexArr[0] = indexAttr.getX(i);\n\t\t\t\t\t\tindexArr[1] = indexAttr.getX(i + 1);\n\t\t\t\t\t\tindexArr[2] = indexAttr.getX(i + 2);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tindexArr[0] = i;\n\t\t\t\t\t\tindexArr[1] = i + 1;\n\t\t\t\t\t\tindexArr[2] = i + 2;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst {\n\t\t\t\t\t\ta,\n\t\t\t\t\t\tb,\n\t\t\t\t\t\tc\n\t\t\t\t\t} = _triangle;\n\t\t\t\t\ta.fromBufferAttribute(positionAttr, indexArr[0]);\n\t\t\t\t\tb.fromBufferAttribute(positionAttr, indexArr[1]);\n\t\t\t\t\tc.fromBufferAttribute(positionAttr, indexArr[2]);\n\n\t\t\t\t\t_triangle.getNormal(_normal); // create hashes for the edge from the vertices\n\n\n\t\t\t\t\thashes[0] = `${Math.round(a.x * precision)},${Math.round(a.y * precision)},${Math.round(a.z * precision)}`;\n\t\t\t\t\thashes[1] = `${Math.round(b.x * precision)},${Math.round(b.y * precision)},${Math.round(b.z * precision)}`;\n\t\t\t\t\thashes[2] = `${Math.round(c.x * precision)},${Math.round(c.y * precision)},${Math.round(c.z * precision)}`; // skip degenerate triangles\n\n\t\t\t\t\tif (hashes[0] === hashes[1] || hashes[1] === hashes[2] || hashes[2] === hashes[0]) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t} // iterate over every edge\n\n\n\t\t\t\t\tfor (let j = 0; j < 3; j++) {\n\t\t\t\t\t\t// get the first and next vertex making up the edge\n\t\t\t\t\t\tconst jNext = (j + 1) % 3;\n\t\t\t\t\t\tconst vecHash0 = hashes[j];\n\t\t\t\t\t\tconst vecHash1 = hashes[jNext];\n\t\t\t\t\t\tconst v0 = _triangle[vertKeys[j]];\n\t\t\t\t\t\tconst v1 = _triangle[vertKeys[jNext]];\n\t\t\t\t\t\tconst hash = `${vecHash0}_${vecHash1}`;\n\t\t\t\t\t\tconst reverseHash = `${vecHash1}_${vecHash0}`;\n\n\t\t\t\t\t\tif (reverseHash in edgeData && edgeData[reverseHash]) {\n\t\t\t\t\t\t\t// if we found a sibling edge add it into the vertex array if\n\t\t\t\t\t\t\t// it meets the angle threshold and delete the edge from the map.\n\t\t\t\t\t\t\tif (_normal.dot(edgeData[reverseHash].normal) <= thresholdDot) {\n\t\t\t\t\t\t\t\tvertices.push(v0.x, v0.y, v0.z);\n\t\t\t\t\t\t\t\tvertices.push(v1.x, v1.y, v1.z);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tedgeData[reverseHash] = null;\n\t\t\t\t\t\t} else if (!(hash in edgeData)) {\n\t\t\t\t\t\t\t// if we've already got an edge here then skip adding a new one\n\t\t\t\t\t\t\tedgeData[hash] = {\n\t\t\t\t\t\t\t\tindex0: indexArr[j],\n\t\t\t\t\t\t\t\tindex1: indexArr[jNext],\n\t\t\t\t\t\t\t\tnormal: _normal.clone()\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} // iterate over all remaining, unmatched edges and add them to the vertex array\n\n\n\t\t\t\tfor (const key in edgeData) {\n\t\t\t\t\tif (edgeData[key]) {\n\t\t\t\t\t\tconst {\n\t\t\t\t\t\t\tindex0,\n\t\t\t\t\t\t\tindex1\n\t\t\t\t\t\t} = edgeData[key];\n\n\t\t\t\t\t\t_v0.fromBufferAttribute(positionAttr, index0);\n\n\t\t\t\t\t\t_v1$1.fromBufferAttribute(positionAttr, index1);\n\n\t\t\t\t\t\tvertices.push(_v0.x, _v0.y, _v0.z);\n\t\t\t\t\t\tvertices.push(_v1$1.x, _v1$1.y, _v1$1.z);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass Shape extends Path {\n\t\tconstructor(points) {\n\t\t\tsuper(points);\n\t\t\tthis.uuid = generateUUID();\n\t\t\tthis.type = 'Shape';\n\t\t\tthis.holes = [];\n\t\t}\n\n\t\tgetPointsHoles(divisions) {\n\t\t\tconst holesPts = [];\n\n\t\t\tfor (let i = 0, l = this.holes.length; i < l; i++) {\n\t\t\t\tholesPts[i] = this.holes[i].getPoints(divisions);\n\t\t\t}\n\n\t\t\treturn holesPts;\n\t\t} // get points of shape and holes (keypoints based on segments parameter)\n\n\n\t\textractPoints(divisions) {\n\t\t\treturn {\n\t\t\t\tshape: this.getPoints(divisions),\n\t\t\t\tholes: this.getPointsHoles(divisions)\n\t\t\t};\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.holes = [];\n\n\t\t\tfor (let i = 0, l = source.holes.length; i < l; i++) {\n\t\t\t\tconst hole = source.holes[i];\n\t\t\t\tthis.holes.push(hole.clone());\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.uuid = this.uuid;\n\t\t\tdata.holes = [];\n\n\t\t\tfor (let i = 0, l = this.holes.length; i < l; i++) {\n\t\t\t\tconst hole = this.holes[i];\n\t\t\t\tdata.holes.push(hole.toJSON());\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tsuper.fromJSON(json);\n\t\t\tthis.uuid = json.uuid;\n\t\t\tthis.holes = [];\n\n\t\t\tfor (let i = 0, l = json.holes.length; i < l; i++) {\n\t\t\t\tconst hole = json.holes[i];\n\t\t\t\tthis.holes.push(new Path().fromJSON(hole));\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\t/**\n\t * Port from https://github.com/mapbox/earcut (v2.2.2)\n\t */\n\tconst Earcut = {\n\t\ttriangulate: function (data, holeIndices, dim = 2) {\n\t\t\tconst hasHoles = holeIndices && holeIndices.length;\n\t\t\tconst outerLen = hasHoles ? holeIndices[0] * dim : data.length;\n\t\t\tlet outerNode = linkedList(data, 0, outerLen, dim, true);\n\t\t\tconst triangles = [];\n\t\t\tif (!outerNode || outerNode.next === outerNode.prev) return triangles;\n\t\t\tlet minX, minY, maxX, maxY, x, y, invSize;\n\t\t\tif (hasHoles) outerNode = eliminateHoles(data, holeIndices, outerNode, dim); // if the shape is not too simple, we'll use z-order curve hash later; calculate polygon bbox\n\n\t\t\tif (data.length > 80 * dim) {\n\t\t\t\tminX = maxX = data[0];\n\t\t\t\tminY = maxY = data[1];\n\n\t\t\t\tfor (let i = dim; i < outerLen; i += dim) {\n\t\t\t\t\tx = data[i];\n\t\t\t\t\ty = data[i + 1];\n\t\t\t\t\tif (x < minX) minX = x;\n\t\t\t\t\tif (y < minY) minY = y;\n\t\t\t\t\tif (x > maxX) maxX = x;\n\t\t\t\t\tif (y > maxY) maxY = y;\n\t\t\t\t} // minX, minY and invSize are later used to transform coords into integers for z-order calculation\n\n\n\t\t\t\tinvSize = Math.max(maxX - minX, maxY - minY);\n\t\t\t\tinvSize = invSize !== 0 ? 1 / invSize : 0;\n\t\t\t}\n\n\t\t\tearcutLinked(outerNode, triangles, dim, minX, minY, invSize);\n\t\t\treturn triangles;\n\t\t}\n\t}; // create a circular doubly linked list from polygon points in the specified winding order\n\n\tfunction linkedList(data, start, end, dim, clockwise) {\n\t\tlet i, last;\n\n\t\tif (clockwise === signedArea(data, start, end, dim) > 0) {\n\t\t\tfor (i = start; i < end; i += dim) last = insertNode(i, data[i], data[i + 1], last);\n\t\t} else {\n\t\t\tfor (i = end - dim; i >= start; i -= dim) last = insertNode(i, data[i], data[i + 1], last);\n\t\t}\n\n\t\tif (last && equals(last, last.next)) {\n\t\t\tremoveNode(last);\n\t\t\tlast = last.next;\n\t\t}\n\n\t\treturn last;\n\t} // eliminate colinear or duplicate points\n\n\n\tfunction filterPoints(start, end) {\n\t\tif (!start) return start;\n\t\tif (!end) end = start;\n\t\tlet p = start,\n\t\t\t\tagain;\n\n\t\tdo {\n\t\t\tagain = false;\n\n\t\t\tif (!p.steiner && (equals(p, p.next) || area(p.prev, p, p.next) === 0)) {\n\t\t\t\tremoveNode(p);\n\t\t\t\tp = end = p.prev;\n\t\t\t\tif (p === p.next) break;\n\t\t\t\tagain = true;\n\t\t\t} else {\n\t\t\t\tp = p.next;\n\t\t\t}\n\t\t} while (again || p !== end);\n\n\t\treturn end;\n\t} // main ear slicing loop which triangulates a polygon (given as a linked list)\n\n\n\tfunction earcutLinked(ear, triangles, dim, minX, minY, invSize, pass) {\n\t\tif (!ear) return; // interlink polygon nodes in z-order\n\n\t\tif (!pass && invSize) indexCurve(ear, minX, minY, invSize);\n\t\tlet stop = ear,\n\t\t\t\tprev,\n\t\t\t\tnext; // iterate through ears, slicing them one by one\n\n\t\twhile (ear.prev !== ear.next) {\n\t\t\tprev = ear.prev;\n\t\t\tnext = ear.next;\n\n\t\t\tif (invSize ? isEarHashed(ear, minX, minY, invSize) : isEar(ear)) {\n\t\t\t\t// cut off the triangle\n\t\t\t\ttriangles.push(prev.i / dim);\n\t\t\t\ttriangles.push(ear.i / dim);\n\t\t\t\ttriangles.push(next.i / dim);\n\t\t\t\tremoveNode(ear); // skipping the next vertex leads to less sliver triangles\n\n\t\t\t\tear = next.next;\n\t\t\t\tstop = next.next;\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tear = next; // if we looped through the whole remaining polygon and can't find any more ears\n\n\t\t\tif (ear === stop) {\n\t\t\t\t// try filtering points and slicing again\n\t\t\t\tif (!pass) {\n\t\t\t\t\tearcutLinked(filterPoints(ear), triangles, dim, minX, minY, invSize, 1); // if this didn't work, try curing all small self-intersections locally\n\t\t\t\t} else if (pass === 1) {\n\t\t\t\t\tear = cureLocalIntersections(filterPoints(ear), triangles, dim);\n\t\t\t\t\tearcutLinked(ear, triangles, dim, minX, minY, invSize, 2); // as a last resort, try splitting the remaining polygon into two\n\t\t\t\t} else if (pass === 2) {\n\t\t\t\t\tsplitEarcut(ear, triangles, dim, minX, minY, invSize);\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t} // check whether a polygon node forms a valid ear with adjacent nodes\n\n\n\tfunction isEar(ear) {\n\t\tconst a = ear.prev,\n\t\t\t\t\tb = ear,\n\t\t\t\t\tc = ear.next;\n\t\tif (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\t\t// now make sure we don't have other points inside the potential ear\n\n\t\tlet p = ear.next.next;\n\n\t\twhile (p !== ear.prev) {\n\t\t\tif (pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;\n\t\t\tp = p.next;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tfunction isEarHashed(ear, minX, minY, invSize) {\n\t\tconst a = ear.prev,\n\t\t\t\t\tb = ear,\n\t\t\t\t\tc = ear.next;\n\t\tif (area(a, b, c) >= 0) return false; // reflex, can't be an ear\n\t\t// triangle bbox; min & max are calculated like this for speed\n\n\t\tconst minTX = a.x < b.x ? a.x < c.x ? a.x : c.x : b.x < c.x ? b.x : c.x,\n\t\t\t\t\tminTY = a.y < b.y ? a.y < c.y ? a.y : c.y : b.y < c.y ? b.y : c.y,\n\t\t\t\t\tmaxTX = a.x > b.x ? a.x > c.x ? a.x : c.x : b.x > c.x ? b.x : c.x,\n\t\t\t\t\tmaxTY = a.y > b.y ? a.y > c.y ? a.y : c.y : b.y > c.y ? b.y : c.y; // z-order range for the current triangle bbox;\n\n\t\tconst minZ = zOrder(minTX, minTY, minX, minY, invSize),\n\t\t\t\t\tmaxZ = zOrder(maxTX, maxTY, minX, minY, invSize);\n\t\tlet p = ear.prevZ,\n\t\t\t\tn = ear.nextZ; // look for points inside the triangle in both directions\n\n\t\twhile (p && p.z >= minZ && n && n.z <= maxZ) {\n\t\t\tif (p !== ear.prev && p !== ear.next && pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;\n\t\t\tp = p.prevZ;\n\t\t\tif (n !== ear.prev && n !== ear.next && pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;\n\t\t\tn = n.nextZ;\n\t\t} // look for remaining points in decreasing z-order\n\n\n\t\twhile (p && p.z >= minZ) {\n\t\t\tif (p !== ear.prev && p !== ear.next && pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, p.x, p.y) && area(p.prev, p, p.next) >= 0) return false;\n\t\t\tp = p.prevZ;\n\t\t} // look for remaining points in increasing z-order\n\n\n\t\twhile (n && n.z <= maxZ) {\n\t\t\tif (n !== ear.prev && n !== ear.next && pointInTriangle(a.x, a.y, b.x, b.y, c.x, c.y, n.x, n.y) && area(n.prev, n, n.next) >= 0) return false;\n\t\t\tn = n.nextZ;\n\t\t}\n\n\t\treturn true;\n\t} // go through all polygon nodes and cure small local self-intersections\n\n\n\tfunction cureLocalIntersections(start, triangles, dim) {\n\t\tlet p = start;\n\n\t\tdo {\n\t\t\tconst a = p.prev,\n\t\t\t\t\t\tb = p.next.next;\n\n\t\t\tif (!equals(a, b) && intersects(a, p, p.next, b) && locallyInside(a, b) && locallyInside(b, a)) {\n\t\t\t\ttriangles.push(a.i / dim);\n\t\t\t\ttriangles.push(p.i / dim);\n\t\t\t\ttriangles.push(b.i / dim); // remove two nodes involved\n\n\t\t\t\tremoveNode(p);\n\t\t\t\tremoveNode(p.next);\n\t\t\t\tp = start = b;\n\t\t\t}\n\n\t\t\tp = p.next;\n\t\t} while (p !== start);\n\n\t\treturn filterPoints(p);\n\t} // try splitting polygon into two and triangulate them independently\n\n\n\tfunction splitEarcut(start, triangles, dim, minX, minY, invSize) {\n\t\t// look for a valid diagonal that divides the polygon into two\n\t\tlet a = start;\n\n\t\tdo {\n\t\t\tlet b = a.next.next;\n\n\t\t\twhile (b !== a.prev) {\n\t\t\t\tif (a.i !== b.i && isValidDiagonal(a, b)) {\n\t\t\t\t\t// split the polygon in two by the diagonal\n\t\t\t\t\tlet c = splitPolygon(a, b); // filter colinear points around the cuts\n\n\t\t\t\t\ta = filterPoints(a, a.next);\n\t\t\t\t\tc = filterPoints(c, c.next); // run earcut on each half\n\n\t\t\t\t\tearcutLinked(a, triangles, dim, minX, minY, invSize);\n\t\t\t\t\tearcutLinked(c, triangles, dim, minX, minY, invSize);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tb = b.next;\n\t\t\t}\n\n\t\t\ta = a.next;\n\t\t} while (a !== start);\n\t} // link every hole into the outer loop, producing a single-ring polygon without holes\n\n\n\tfunction eliminateHoles(data, holeIndices, outerNode, dim) {\n\t\tconst queue = [];\n\t\tlet i, len, start, end, list;\n\n\t\tfor (i = 0, len = holeIndices.length; i < len; i++) {\n\t\t\tstart = holeIndices[i] * dim;\n\t\t\tend = i < len - 1 ? holeIndices[i + 1] * dim : data.length;\n\t\t\tlist = linkedList(data, start, end, dim, false);\n\t\t\tif (list === list.next) list.steiner = true;\n\t\t\tqueue.push(getLeftmost(list));\n\t\t}\n\n\t\tqueue.sort(compareX); // process holes from left to right\n\n\t\tfor (i = 0; i < queue.length; i++) {\n\t\t\teliminateHole(queue[i], outerNode);\n\t\t\touterNode = filterPoints(outerNode, outerNode.next);\n\t\t}\n\n\t\treturn outerNode;\n\t}\n\n\tfunction compareX(a, b) {\n\t\treturn a.x - b.x;\n\t} // find a bridge between vertices that connects hole with an outer ring and link it\n\n\n\tfunction eliminateHole(hole, outerNode) {\n\t\touterNode = findHoleBridge(hole, outerNode);\n\n\t\tif (outerNode) {\n\t\t\tconst b = splitPolygon(outerNode, hole); // filter collinear points around the cuts\n\n\t\t\tfilterPoints(outerNode, outerNode.next);\n\t\t\tfilterPoints(b, b.next);\n\t\t}\n\t} // David Eberly's algorithm for finding a bridge between hole and outer polygon\n\n\n\tfunction findHoleBridge(hole, outerNode) {\n\t\tlet p = outerNode;\n\t\tconst hx = hole.x;\n\t\tconst hy = hole.y;\n\t\tlet qx = -Infinity,\n\t\t\t\tm; // find a segment intersected by a ray from the hole's leftmost point to the left;\n\t\t// segment's endpoint with lesser x will be potential connection point\n\n\t\tdo {\n\t\t\tif (hy <= p.y && hy >= p.next.y && p.next.y !== p.y) {\n\t\t\t\tconst x = p.x + (hy - p.y) * (p.next.x - p.x) / (p.next.y - p.y);\n\n\t\t\t\tif (x <= hx && x > qx) {\n\t\t\t\t\tqx = x;\n\n\t\t\t\t\tif (x === hx) {\n\t\t\t\t\t\tif (hy === p.y) return p;\n\t\t\t\t\t\tif (hy === p.next.y) return p.next;\n\t\t\t\t\t}\n\n\t\t\t\t\tm = p.x < p.next.x ? p : p.next;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tp = p.next;\n\t\t} while (p !== outerNode);\n\n\t\tif (!m) return null;\n\t\tif (hx === qx) return m; // hole touches outer segment; pick leftmost endpoint\n\t\t// look for points inside the triangle of hole point, segment intersection and endpoint;\n\t\t// if there are no points found, we have a valid connection;\n\t\t// otherwise choose the point of the minimum angle with the ray as connection point\n\n\t\tconst stop = m,\n\t\t\t\t\tmx = m.x,\n\t\t\t\t\tmy = m.y;\n\t\tlet tanMin = Infinity,\n\t\t\t\ttan;\n\t\tp = m;\n\n\t\tdo {\n\t\t\tif (hx >= p.x && p.x >= mx && hx !== p.x && pointInTriangle(hy < my ? hx : qx, hy, mx, my, hy < my ? qx : hx, hy, p.x, p.y)) {\n\t\t\t\ttan = Math.abs(hy - p.y) / (hx - p.x); // tangential\n\n\t\t\t\tif (locallyInside(p, hole) && (tan < tanMin || tan === tanMin && (p.x > m.x || p.x === m.x && sectorContainsSector(m, p)))) {\n\t\t\t\t\tm = p;\n\t\t\t\t\ttanMin = tan;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tp = p.next;\n\t\t} while (p !== stop);\n\n\t\treturn m;\n\t} // whether sector in vertex m contains sector in vertex p in the same coordinates\n\n\n\tfunction sectorContainsSector(m, p) {\n\t\treturn area(m.prev, m, p.prev) < 0 && area(p.next, m, m.next) < 0;\n\t} // interlink polygon nodes in z-order\n\n\n\tfunction indexCurve(start, minX, minY, invSize) {\n\t\tlet p = start;\n\n\t\tdo {\n\t\t\tif (p.z === null) p.z = zOrder(p.x, p.y, minX, minY, invSize);\n\t\t\tp.prevZ = p.prev;\n\t\t\tp.nextZ = p.next;\n\t\t\tp = p.next;\n\t\t} while (p !== start);\n\n\t\tp.prevZ.nextZ = null;\n\t\tp.prevZ = null;\n\t\tsortLinked(p);\n\t} // Simon Tatham's linked list merge sort algorithm\n\t// http://www.chiark.greenend.org.uk/~sgtatham/algorithms/listsort.html\n\n\n\tfunction sortLinked(list) {\n\t\tlet i,\n\t\t\t\tp,\n\t\t\t\tq,\n\t\t\t\te,\n\t\t\t\ttail,\n\t\t\t\tnumMerges,\n\t\t\t\tpSize,\n\t\t\t\tqSize,\n\t\t\t\tinSize = 1;\n\n\t\tdo {\n\t\t\tp = list;\n\t\t\tlist = null;\n\t\t\ttail = null;\n\t\t\tnumMerges = 0;\n\n\t\t\twhile (p) {\n\t\t\t\tnumMerges++;\n\t\t\t\tq = p;\n\t\t\t\tpSize = 0;\n\n\t\t\t\tfor (i = 0; i < inSize; i++) {\n\t\t\t\t\tpSize++;\n\t\t\t\t\tq = q.nextZ;\n\t\t\t\t\tif (!q) break;\n\t\t\t\t}\n\n\t\t\t\tqSize = inSize;\n\n\t\t\t\twhile (pSize > 0 || qSize > 0 && q) {\n\t\t\t\t\tif (pSize !== 0 && (qSize === 0 || !q || p.z <= q.z)) {\n\t\t\t\t\t\te = p;\n\t\t\t\t\t\tp = p.nextZ;\n\t\t\t\t\t\tpSize--;\n\t\t\t\t\t} else {\n\t\t\t\t\t\te = q;\n\t\t\t\t\t\tq = q.nextZ;\n\t\t\t\t\t\tqSize--;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (tail) tail.nextZ = e;else list = e;\n\t\t\t\t\te.prevZ = tail;\n\t\t\t\t\ttail = e;\n\t\t\t\t}\n\n\t\t\t\tp = q;\n\t\t\t}\n\n\t\t\ttail.nextZ = null;\n\t\t\tinSize *= 2;\n\t\t} while (numMerges > 1);\n\n\t\treturn list;\n\t} // z-order of a point given coords and inverse of the longer side of data bbox\n\n\n\tfunction zOrder(x, y, minX, minY, invSize) {\n\t\t// coords are transformed into non-negative 15-bit integer range\n\t\tx = 32767 * (x - minX) * invSize;\n\t\ty = 32767 * (y - minY) * invSize;\n\t\tx = (x | x << 8) & 0x00FF00FF;\n\t\tx = (x | x << 4) & 0x0F0F0F0F;\n\t\tx = (x | x << 2) & 0x33333333;\n\t\tx = (x | x << 1) & 0x55555555;\n\t\ty = (y | y << 8) & 0x00FF00FF;\n\t\ty = (y | y << 4) & 0x0F0F0F0F;\n\t\ty = (y | y << 2) & 0x33333333;\n\t\ty = (y | y << 1) & 0x55555555;\n\t\treturn x | y << 1;\n\t} // find the leftmost node of a polygon ring\n\n\n\tfunction getLeftmost(start) {\n\t\tlet p = start,\n\t\t\t\tleftmost = start;\n\n\t\tdo {\n\t\t\tif (p.x < leftmost.x || p.x === leftmost.x && p.y < leftmost.y) leftmost = p;\n\t\t\tp = p.next;\n\t\t} while (p !== start);\n\n\t\treturn leftmost;\n\t} // check if a point lies within a convex triangle\n\n\n\tfunction pointInTriangle(ax, ay, bx, by, cx, cy, px, py) {\n\t\treturn (cx - px) * (ay - py) - (ax - px) * (cy - py) >= 0 && (ax - px) * (by - py) - (bx - px) * (ay - py) >= 0 && (bx - px) * (cy - py) - (cx - px) * (by - py) >= 0;\n\t} // check if a diagonal between two polygon nodes is valid (lies in polygon interior)\n\n\n\tfunction isValidDiagonal(a, b) {\n\t\treturn a.next.i !== b.i && a.prev.i !== b.i && !intersectsPolygon(a, b) && ( // doesn't intersect other edges\n\t\tlocallyInside(a, b) && locallyInside(b, a) && middleInside(a, b) && ( // locally visible\n\t\tarea(a.prev, a, b.prev) || area(a, b.prev, b)) || // does not create opposite-facing sectors\n\t\tequals(a, b) && area(a.prev, a, a.next) > 0 && area(b.prev, b, b.next) > 0); // special zero-length case\n\t} // signed area of a triangle\n\n\n\tfunction area(p, q, r) {\n\t\treturn (q.y - p.y) * (r.x - q.x) - (q.x - p.x) * (r.y - q.y);\n\t} // check if two points are equal\n\n\n\tfunction equals(p1, p2) {\n\t\treturn p1.x === p2.x && p1.y === p2.y;\n\t} // check if two segments intersect\n\n\n\tfunction intersects(p1, q1, p2, q2) {\n\t\tconst o1 = sign(area(p1, q1, p2));\n\t\tconst o2 = sign(area(p1, q1, q2));\n\t\tconst o3 = sign(area(p2, q2, p1));\n\t\tconst o4 = sign(area(p2, q2, q1));\n\t\tif (o1 !== o2 && o3 !== o4) return true; // general case\n\n\t\tif (o1 === 0 && onSegment(p1, p2, q1)) return true; // p1, q1 and p2 are collinear and p2 lies on p1q1\n\n\t\tif (o2 === 0 && onSegment(p1, q2, q1)) return true; // p1, q1 and q2 are collinear and q2 lies on p1q1\n\n\t\tif (o3 === 0 && onSegment(p2, p1, q2)) return true; // p2, q2 and p1 are collinear and p1 lies on p2q2\n\n\t\tif (o4 === 0 && onSegment(p2, q1, q2)) return true; // p2, q2 and q1 are collinear and q1 lies on p2q2\n\n\t\treturn false;\n\t} // for collinear points p, q, r, check if point q lies on segment pr\n\n\n\tfunction onSegment(p, q, r) {\n\t\treturn q.x <= Math.max(p.x, r.x) && q.x >= Math.min(p.x, r.x) && q.y <= Math.max(p.y, r.y) && q.y >= Math.min(p.y, r.y);\n\t}\n\n\tfunction sign(num) {\n\t\treturn num > 0 ? 1 : num < 0 ? -1 : 0;\n\t} // check if a polygon diagonal intersects any polygon segments\n\n\n\tfunction intersectsPolygon(a, b) {\n\t\tlet p = a;\n\n\t\tdo {\n\t\t\tif (p.i !== a.i && p.next.i !== a.i && p.i !== b.i && p.next.i !== b.i && intersects(p, p.next, a, b)) return true;\n\t\t\tp = p.next;\n\t\t} while (p !== a);\n\n\t\treturn false;\n\t} // check if a polygon diagonal is locally inside the polygon\n\n\n\tfunction locallyInside(a, b) {\n\t\treturn area(a.prev, a, a.next) < 0 ? area(a, b, a.next) >= 0 && area(a, a.prev, b) >= 0 : area(a, b, a.prev) < 0 || area(a, a.next, b) < 0;\n\t} // check if the middle point of a polygon diagonal is inside the polygon\n\n\n\tfunction middleInside(a, b) {\n\t\tlet p = a,\n\t\t\t\tinside = false;\n\t\tconst px = (a.x + b.x) / 2,\n\t\t\t\t\tpy = (a.y + b.y) / 2;\n\n\t\tdo {\n\t\t\tif (p.y > py !== p.next.y > py && p.next.y !== p.y && px < (p.next.x - p.x) * (py - p.y) / (p.next.y - p.y) + p.x) inside = !inside;\n\t\t\tp = p.next;\n\t\t} while (p !== a);\n\n\t\treturn inside;\n\t} // link two polygon vertices with a bridge; if the vertices belong to the same ring, it splits polygon into two;\n\t// if one belongs to the outer ring and another to a hole, it merges it into a single ring\n\n\n\tfunction splitPolygon(a, b) {\n\t\tconst a2 = new Node(a.i, a.x, a.y),\n\t\t\t\t\tb2 = new Node(b.i, b.x, b.y),\n\t\t\t\t\tan = a.next,\n\t\t\t\t\tbp = b.prev;\n\t\ta.next = b;\n\t\tb.prev = a;\n\t\ta2.next = an;\n\t\tan.prev = a2;\n\t\tb2.next = a2;\n\t\ta2.prev = b2;\n\t\tbp.next = b2;\n\t\tb2.prev = bp;\n\t\treturn b2;\n\t} // create a node and optionally link it with previous one (in a circular doubly linked list)\n\n\n\tfunction insertNode(i, x, y, last) {\n\t\tconst p = new Node(i, x, y);\n\n\t\tif (!last) {\n\t\t\tp.prev = p;\n\t\t\tp.next = p;\n\t\t} else {\n\t\t\tp.next = last.next;\n\t\t\tp.prev = last;\n\t\t\tlast.next.prev = p;\n\t\t\tlast.next = p;\n\t\t}\n\n\t\treturn p;\n\t}\n\n\tfunction removeNode(p) {\n\t\tp.next.prev = p.prev;\n\t\tp.prev.next = p.next;\n\t\tif (p.prevZ) p.prevZ.nextZ = p.nextZ;\n\t\tif (p.nextZ) p.nextZ.prevZ = p.prevZ;\n\t}\n\n\tfunction Node(i, x, y) {\n\t\t// vertex index in coordinates array\n\t\tthis.i = i; // vertex coordinates\n\n\t\tthis.x = x;\n\t\tthis.y = y; // previous and next vertex nodes in a polygon ring\n\n\t\tthis.prev = null;\n\t\tthis.next = null; // z-order curve value\n\n\t\tthis.z = null; // previous and next nodes in z-order\n\n\t\tthis.prevZ = null;\n\t\tthis.nextZ = null; // indicates whether this is a steiner point\n\n\t\tthis.steiner = false;\n\t}\n\n\tfunction signedArea(data, start, end, dim) {\n\t\tlet sum = 0;\n\n\t\tfor (let i = start, j = end - dim; i < end; i += dim) {\n\t\t\tsum += (data[j] - data[i]) * (data[i + 1] + data[j + 1]);\n\t\t\tj = i;\n\t\t}\n\n\t\treturn sum;\n\t}\n\n\tclass ShapeUtils {\n\t\t// calculate area of the contour polygon\n\t\tstatic area(contour) {\n\t\t\tconst n = contour.length;\n\t\t\tlet a = 0.0;\n\n\t\t\tfor (let p = n - 1, q = 0; q < n; p = q++) {\n\t\t\t\ta += contour[p].x * contour[q].y - contour[q].x * contour[p].y;\n\t\t\t}\n\n\t\t\treturn a * 0.5;\n\t\t}\n\n\t\tstatic isClockWise(pts) {\n\t\t\treturn ShapeUtils.area(pts) < 0;\n\t\t}\n\n\t\tstatic triangulateShape(contour, holes) {\n\t\t\tconst vertices = []; // flat array of vertices like [ x0,y0, x1,y1, x2,y2, ... ]\n\n\t\t\tconst holeIndices = []; // array of hole indices\n\n\t\t\tconst faces = []; // final array of vertex indices like [ [ a,b,d ], [ b,c,d ] ]\n\n\t\t\tremoveDupEndPts(contour);\n\t\t\taddContour(vertices, contour); //\n\n\t\t\tlet holeIndex = contour.length;\n\t\t\tholes.forEach(removeDupEndPts);\n\n\t\t\tfor (let i = 0; i < holes.length; i++) {\n\t\t\t\tholeIndices.push(holeIndex);\n\t\t\t\tholeIndex += holes[i].length;\n\t\t\t\taddContour(vertices, holes[i]);\n\t\t\t} //\n\n\n\t\t\tconst triangles = Earcut.triangulate(vertices, holeIndices); //\n\n\t\t\tfor (let i = 0; i < triangles.length; i += 3) {\n\t\t\t\tfaces.push(triangles.slice(i, i + 3));\n\t\t\t}\n\n\t\t\treturn faces;\n\t\t}\n\n\t}\n\n\tfunction removeDupEndPts(points) {\n\t\tconst l = points.length;\n\n\t\tif (l > 2 && points[l - 1].equals(points[0])) {\n\t\t\tpoints.pop();\n\t\t}\n\t}\n\n\tfunction addContour(vertices, contour) {\n\t\tfor (let i = 0; i < contour.length; i++) {\n\t\t\tvertices.push(contour[i].x);\n\t\t\tvertices.push(contour[i].y);\n\t\t}\n\t}\n\n\t/**\n\t * Creates extruded geometry from a path shape.\n\t *\n\t * parameters = {\n\t *\n\t *\tcurveSegments: <int>, // number of points on the curves\n\t *\tsteps: <int>, // number of points for z-side extrusions / used for subdividing segments of extrude spline too\n\t *\tdepth: <float>, // Depth to extrude the shape\n\t *\n\t *\tbevelEnabled: <bool>, // turn on bevel\n\t *\tbevelThickness: <float>, // how deep into the original shape bevel goes\n\t *\tbevelSize: <float>, // how far from shape outline (including bevelOffset) is bevel\n\t *\tbevelOffset: <float>, // how far from shape outline does bevel start\n\t *\tbevelSegments: <int>, // number of bevel layers\n\t *\n\t *\textrudePath: <THREE.Curve> // curve to extrude shape along\n\t *\n\t *\tUVGenerator: <Object> // object that provides UV generator functions\n\t *\n\t * }\n\t */\n\n\tclass ExtrudeGeometry extends BufferGeometry {\n\t\tconstructor(shapes = new Shape([new Vector2(0.5, 0.5), new Vector2(-0.5, 0.5), new Vector2(-0.5, -0.5), new Vector2(0.5, -0.5)]), options = {}) {\n\t\t\tsuper();\n\t\t\tthis.type = 'ExtrudeGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tshapes: shapes,\n\t\t\t\toptions: options\n\t\t\t};\n\t\t\tshapes = Array.isArray(shapes) ? shapes : [shapes];\n\t\t\tconst scope = this;\n\t\t\tconst verticesArray = [];\n\t\t\tconst uvArray = [];\n\n\t\t\tfor (let i = 0, l = shapes.length; i < l; i++) {\n\t\t\t\tconst shape = shapes[i];\n\t\t\t\taddShape(shape);\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(verticesArray, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvArray, 2));\n\t\t\tthis.computeVertexNormals(); // functions\n\n\t\t\tfunction addShape(shape) {\n\t\t\t\tconst placeholder = []; // options\n\n\t\t\t\tconst curveSegments = options.curveSegments !== undefined ? options.curveSegments : 12;\n\t\t\t\tconst steps = options.steps !== undefined ? options.steps : 1;\n\t\t\t\tlet depth = options.depth !== undefined ? options.depth : 1;\n\t\t\t\tlet bevelEnabled = options.bevelEnabled !== undefined ? options.bevelEnabled : true;\n\t\t\t\tlet bevelThickness = options.bevelThickness !== undefined ? options.bevelThickness : 0.2;\n\t\t\t\tlet bevelSize = options.bevelSize !== undefined ? options.bevelSize : bevelThickness - 0.1;\n\t\t\t\tlet bevelOffset = options.bevelOffset !== undefined ? options.bevelOffset : 0;\n\t\t\t\tlet bevelSegments = options.bevelSegments !== undefined ? options.bevelSegments : 3;\n\t\t\t\tconst extrudePath = options.extrudePath;\n\t\t\t\tconst uvgen = options.UVGenerator !== undefined ? options.UVGenerator : WorldUVGenerator; // deprecated options\n\n\t\t\t\tif (options.amount !== undefined) {\n\t\t\t\t\tconsole.warn('THREE.ExtrudeBufferGeometry: amount has been renamed to depth.');\n\t\t\t\t\tdepth = options.amount;\n\t\t\t\t} //\n\n\n\t\t\t\tlet extrudePts,\n\t\t\t\t\t\textrudeByPath = false;\n\t\t\t\tlet splineTube, binormal, normal, position2;\n\n\t\t\t\tif (extrudePath) {\n\t\t\t\t\textrudePts = extrudePath.getSpacedPoints(steps);\n\t\t\t\t\textrudeByPath = true;\n\t\t\t\t\tbevelEnabled = false; // bevels not supported for path extrusion\n\t\t\t\t\t// SETUP TNB variables\n\t\t\t\t\t// TODO1 - have a .isClosed in spline?\n\n\t\t\t\t\tsplineTube = extrudePath.computeFrenetFrames(steps, false); // console.log(splineTube, 'splineTube', splineTube.normals.length, 'steps', steps, 'extrudePts', extrudePts.length);\n\n\t\t\t\t\tbinormal = new Vector3();\n\t\t\t\t\tnormal = new Vector3();\n\t\t\t\t\tposition2 = new Vector3();\n\t\t\t\t} // Safeguards if bevels are not enabled\n\n\n\t\t\t\tif (!bevelEnabled) {\n\t\t\t\t\tbevelSegments = 0;\n\t\t\t\t\tbevelThickness = 0;\n\t\t\t\t\tbevelSize = 0;\n\t\t\t\t\tbevelOffset = 0;\n\t\t\t\t} // Variables initialization\n\n\n\t\t\t\tconst shapePoints = shape.extractPoints(curveSegments);\n\t\t\t\tlet vertices = shapePoints.shape;\n\t\t\t\tconst holes = shapePoints.holes;\n\t\t\t\tconst reverse = !ShapeUtils.isClockWise(vertices);\n\n\t\t\t\tif (reverse) {\n\t\t\t\t\tvertices = vertices.reverse(); // Maybe we should also check if holes are in the opposite direction, just to be safe ...\n\n\t\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\t\tconst ahole = holes[h];\n\n\t\t\t\t\t\tif (ShapeUtils.isClockWise(ahole)) {\n\t\t\t\t\t\t\tholes[h] = ahole.reverse();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst faces = ShapeUtils.triangulateShape(vertices, holes);\n\t\t\t\t/* Vertices */\n\n\t\t\t\tconst contour = vertices; // vertices has all points but contour has only points of circumference\n\n\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\tconst ahole = holes[h];\n\t\t\t\t\tvertices = vertices.concat(ahole);\n\t\t\t\t}\n\n\t\t\t\tfunction scalePt2(pt, vec, size) {\n\t\t\t\t\tif (!vec) console.error('THREE.ExtrudeGeometry: vec does not exist');\n\t\t\t\t\treturn vec.clone().multiplyScalar(size).add(pt);\n\t\t\t\t}\n\n\t\t\t\tconst vlen = vertices.length,\n\t\t\t\t\t\t\tflen = faces.length; // Find directions for point movement\n\n\t\t\t\tfunction getBevelVec(inPt, inPrev, inNext) {\n\t\t\t\t\t// computes for inPt the corresponding point inPt' on a new contour\n\t\t\t\t\t//\t shifted by 1 unit (length of normalized vector) to the left\n\t\t\t\t\t// if we walk along contour clockwise, this new contour is outside the old one\n\t\t\t\t\t//\n\t\t\t\t\t// inPt' is the intersection of the two lines parallel to the two\n\t\t\t\t\t//\tadjacent edges of inPt at a distance of 1 unit on the left side.\n\t\t\t\t\tlet v_trans_x, v_trans_y, shrink_by; // resulting translation vector for inPt\n\t\t\t\t\t// good reading for geometry algorithms (here: line-line intersection)\n\t\t\t\t\t// http://geomalgorithms.com/a05-_intersect-1.html\n\n\t\t\t\t\tconst v_prev_x = inPt.x - inPrev.x,\n\t\t\t\t\t\t\t\tv_prev_y = inPt.y - inPrev.y;\n\t\t\t\t\tconst v_next_x = inNext.x - inPt.x,\n\t\t\t\t\t\t\t\tv_next_y = inNext.y - inPt.y;\n\t\t\t\t\tconst v_prev_lensq = v_prev_x * v_prev_x + v_prev_y * v_prev_y; // check for collinear edges\n\n\t\t\t\t\tconst collinear0 = v_prev_x * v_next_y - v_prev_y * v_next_x;\n\n\t\t\t\t\tif (Math.abs(collinear0) > Number.EPSILON) {\n\t\t\t\t\t\t// not collinear\n\t\t\t\t\t\t// length of vectors for normalizing\n\t\t\t\t\t\tconst v_prev_len = Math.sqrt(v_prev_lensq);\n\t\t\t\t\t\tconst v_next_len = Math.sqrt(v_next_x * v_next_x + v_next_y * v_next_y); // shift adjacent points by unit vectors to the left\n\n\t\t\t\t\t\tconst ptPrevShift_x = inPrev.x - v_prev_y / v_prev_len;\n\t\t\t\t\t\tconst ptPrevShift_y = inPrev.y + v_prev_x / v_prev_len;\n\t\t\t\t\t\tconst ptNextShift_x = inNext.x - v_next_y / v_next_len;\n\t\t\t\t\t\tconst ptNextShift_y = inNext.y + v_next_x / v_next_len; // scaling factor for v_prev to intersection point\n\n\t\t\t\t\t\tconst sf = ((ptNextShift_x - ptPrevShift_x) * v_next_y - (ptNextShift_y - ptPrevShift_y) * v_next_x) / (v_prev_x * v_next_y - v_prev_y * v_next_x); // vector from inPt to intersection point\n\n\t\t\t\t\t\tv_trans_x = ptPrevShift_x + v_prev_x * sf - inPt.x;\n\t\t\t\t\t\tv_trans_y = ptPrevShift_y + v_prev_y * sf - inPt.y; // Don't normalize!, otherwise sharp corners become ugly\n\t\t\t\t\t\t//\tbut prevent crazy spikes\n\n\t\t\t\t\t\tconst v_trans_lensq = v_trans_x * v_trans_x + v_trans_y * v_trans_y;\n\n\t\t\t\t\t\tif (v_trans_lensq <= 2) {\n\t\t\t\t\t\t\treturn new Vector2(v_trans_x, v_trans_y);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tshrink_by = Math.sqrt(v_trans_lensq / 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// handle special case of collinear edges\n\t\t\t\t\t\tlet direction_eq = false; // assumes: opposite\n\n\t\t\t\t\t\tif (v_prev_x > Number.EPSILON) {\n\t\t\t\t\t\t\tif (v_next_x > Number.EPSILON) {\n\t\t\t\t\t\t\t\tdirection_eq = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tif (v_prev_x < -Number.EPSILON) {\n\t\t\t\t\t\t\t\tif (v_next_x < -Number.EPSILON) {\n\t\t\t\t\t\t\t\t\tdirection_eq = true;\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\tif (Math.sign(v_prev_y) === Math.sign(v_next_y)) {\n\t\t\t\t\t\t\t\t\tdirection_eq = true;\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\tif (direction_eq) {\n\t\t\t\t\t\t\t// console.log(\"Warning: lines are a straight sequence\");\n\t\t\t\t\t\t\tv_trans_x = -v_prev_y;\n\t\t\t\t\t\t\tv_trans_y = v_prev_x;\n\t\t\t\t\t\t\tshrink_by = Math.sqrt(v_prev_lensq);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// console.log(\"Warning: lines are a straight spike\");\n\t\t\t\t\t\t\tv_trans_x = v_prev_x;\n\t\t\t\t\t\t\tv_trans_y = v_prev_y;\n\t\t\t\t\t\t\tshrink_by = Math.sqrt(v_prev_lensq / 2);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn new Vector2(v_trans_x / shrink_by, v_trans_y / shrink_by);\n\t\t\t\t}\n\n\t\t\t\tconst contourMovements = [];\n\n\t\t\t\tfor (let i = 0, il = contour.length, j = il - 1, k = i + 1; i < il; i++, j++, k++) {\n\t\t\t\t\tif (j === il) j = 0;\n\t\t\t\t\tif (k === il) k = 0; //\t(j)---(i)---(k)\n\t\t\t\t\t// console.log('i,j,k', i, j , k)\n\n\t\t\t\t\tcontourMovements[i] = getBevelVec(contour[i], contour[j], contour[k]);\n\t\t\t\t}\n\n\t\t\t\tconst holesMovements = [];\n\t\t\t\tlet oneHoleMovements,\n\t\t\t\t\t\tverticesMovements = contourMovements.concat();\n\n\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\tconst ahole = holes[h];\n\t\t\t\t\toneHoleMovements = [];\n\n\t\t\t\t\tfor (let i = 0, il = ahole.length, j = il - 1, k = i + 1; i < il; i++, j++, k++) {\n\t\t\t\t\t\tif (j === il) j = 0;\n\t\t\t\t\t\tif (k === il) k = 0; //\t(j)---(i)---(k)\n\n\t\t\t\t\t\toneHoleMovements[i] = getBevelVec(ahole[i], ahole[j], ahole[k]);\n\t\t\t\t\t}\n\n\t\t\t\t\tholesMovements.push(oneHoleMovements);\n\t\t\t\t\tverticesMovements = verticesMovements.concat(oneHoleMovements);\n\t\t\t\t} // Loop bevelSegments, 1 for the front, 1 for the back\n\n\n\t\t\t\tfor (let b = 0; b < bevelSegments; b++) {\n\t\t\t\t\t//for ( b = bevelSegments; b > 0; b -- ) {\n\t\t\t\t\tconst t = b / bevelSegments;\n\t\t\t\t\tconst z = bevelThickness * Math.cos(t * Math.PI / 2);\n\t\t\t\t\tconst bs = bevelSize * Math.sin(t * Math.PI / 2) + bevelOffset; // contract shape\n\n\t\t\t\t\tfor (let i = 0, il = contour.length; i < il; i++) {\n\t\t\t\t\t\tconst vert = scalePt2(contour[i], contourMovements[i], bs);\n\t\t\t\t\t\tv(vert.x, vert.y, -z);\n\t\t\t\t\t} // expand holes\n\n\n\t\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\t\tconst ahole = holes[h];\n\t\t\t\t\t\toneHoleMovements = holesMovements[h];\n\n\t\t\t\t\t\tfor (let i = 0, il = ahole.length; i < il; i++) {\n\t\t\t\t\t\t\tconst vert = scalePt2(ahole[i], oneHoleMovements[i], bs);\n\t\t\t\t\t\t\tv(vert.x, vert.y, -z);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst bs = bevelSize + bevelOffset; // Back facing vertices\n\n\t\t\t\tfor (let i = 0; i < vlen; i++) {\n\t\t\t\t\tconst vert = bevelEnabled ? scalePt2(vertices[i], verticesMovements[i], bs) : vertices[i];\n\n\t\t\t\t\tif (!extrudeByPath) {\n\t\t\t\t\t\tv(vert.x, vert.y, 0);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// v( vert.x, vert.y + extrudePts[ 0 ].y, extrudePts[ 0 ].x );\n\t\t\t\t\t\tnormal.copy(splineTube.normals[0]).multiplyScalar(vert.x);\n\t\t\t\t\t\tbinormal.copy(splineTube.binormals[0]).multiplyScalar(vert.y);\n\t\t\t\t\t\tposition2.copy(extrudePts[0]).add(normal).add(binormal);\n\t\t\t\t\t\tv(position2.x, position2.y, position2.z);\n\t\t\t\t\t}\n\t\t\t\t} // Add stepped vertices...\n\t\t\t\t// Including front facing vertices\n\n\n\t\t\t\tfor (let s = 1; s <= steps; s++) {\n\t\t\t\t\tfor (let i = 0; i < vlen; i++) {\n\t\t\t\t\t\tconst vert = bevelEnabled ? scalePt2(vertices[i], verticesMovements[i], bs) : vertices[i];\n\n\t\t\t\t\t\tif (!extrudeByPath) {\n\t\t\t\t\t\t\tv(vert.x, vert.y, depth / steps * s);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// v( vert.x, vert.y + extrudePts[ s - 1 ].y, extrudePts[ s - 1 ].x );\n\t\t\t\t\t\t\tnormal.copy(splineTube.normals[s]).multiplyScalar(vert.x);\n\t\t\t\t\t\t\tbinormal.copy(splineTube.binormals[s]).multiplyScalar(vert.y);\n\t\t\t\t\t\t\tposition2.copy(extrudePts[s]).add(normal).add(binormal);\n\t\t\t\t\t\t\tv(position2.x, position2.y, position2.z);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} // Add bevel segments planes\n\t\t\t\t//for ( b = 1; b <= bevelSegments; b ++ ) {\n\n\n\t\t\t\tfor (let b = bevelSegments - 1; b >= 0; b--) {\n\t\t\t\t\tconst t = b / bevelSegments;\n\t\t\t\t\tconst z = bevelThickness * Math.cos(t * Math.PI / 2);\n\t\t\t\t\tconst bs = bevelSize * Math.sin(t * Math.PI / 2) + bevelOffset; // contract shape\n\n\t\t\t\t\tfor (let i = 0, il = contour.length; i < il; i++) {\n\t\t\t\t\t\tconst vert = scalePt2(contour[i], contourMovements[i], bs);\n\t\t\t\t\t\tv(vert.x, vert.y, depth + z);\n\t\t\t\t\t} // expand holes\n\n\n\t\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\t\tconst ahole = holes[h];\n\t\t\t\t\t\toneHoleMovements = holesMovements[h];\n\n\t\t\t\t\t\tfor (let i = 0, il = ahole.length; i < il; i++) {\n\t\t\t\t\t\t\tconst vert = scalePt2(ahole[i], oneHoleMovements[i], bs);\n\n\t\t\t\t\t\t\tif (!extrudeByPath) {\n\t\t\t\t\t\t\t\tv(vert.x, vert.y, depth + z);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tv(vert.x, vert.y + extrudePts[steps - 1].y, extrudePts[steps - 1].x + z);\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\t/* Faces */\n\t\t\t\t// Top and bottom faces\n\n\n\t\t\t\tbuildLidFaces(); // Sides faces\n\n\t\t\t\tbuildSideFaces(); /////\tInternal functions\n\n\t\t\t\tfunction buildLidFaces() {\n\t\t\t\t\tconst start = verticesArray.length / 3;\n\n\t\t\t\t\tif (bevelEnabled) {\n\t\t\t\t\t\tlet layer = 0; // steps + 1\n\n\t\t\t\t\t\tlet offset = vlen * layer; // Bottom faces\n\n\t\t\t\t\t\tfor (let i = 0; i < flen; i++) {\n\t\t\t\t\t\t\tconst face = faces[i];\n\t\t\t\t\t\t\tf3(face[2] + offset, face[1] + offset, face[0] + offset);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tlayer = steps + bevelSegments * 2;\n\t\t\t\t\t\toffset = vlen * layer; // Top faces\n\n\t\t\t\t\t\tfor (let i = 0; i < flen; i++) {\n\t\t\t\t\t\t\tconst face = faces[i];\n\t\t\t\t\t\t\tf3(face[0] + offset, face[1] + offset, face[2] + offset);\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Bottom faces\n\t\t\t\t\t\tfor (let i = 0; i < flen; i++) {\n\t\t\t\t\t\t\tconst face = faces[i];\n\t\t\t\t\t\t\tf3(face[2], face[1], face[0]);\n\t\t\t\t\t\t} // Top faces\n\n\n\t\t\t\t\t\tfor (let i = 0; i < flen; i++) {\n\t\t\t\t\t\t\tconst face = faces[i];\n\t\t\t\t\t\t\tf3(face[0] + vlen * steps, face[1] + vlen * steps, face[2] + vlen * steps);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.addGroup(start, verticesArray.length / 3 - start, 0);\n\t\t\t\t} // Create faces for the z-sides of the shape\n\n\n\t\t\t\tfunction buildSideFaces() {\n\t\t\t\t\tconst start = verticesArray.length / 3;\n\t\t\t\t\tlet layeroffset = 0;\n\t\t\t\t\tsidewalls(contour, layeroffset);\n\t\t\t\t\tlayeroffset += contour.length;\n\n\t\t\t\t\tfor (let h = 0, hl = holes.length; h < hl; h++) {\n\t\t\t\t\t\tconst ahole = holes[h];\n\t\t\t\t\t\tsidewalls(ahole, layeroffset); //, true\n\n\t\t\t\t\t\tlayeroffset += ahole.length;\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.addGroup(start, verticesArray.length / 3 - start, 1);\n\t\t\t\t}\n\n\t\t\t\tfunction sidewalls(contour, layeroffset) {\n\t\t\t\t\tlet i = contour.length;\n\n\t\t\t\t\twhile (--i >= 0) {\n\t\t\t\t\t\tconst j = i;\n\t\t\t\t\t\tlet k = i - 1;\n\t\t\t\t\t\tif (k < 0) k = contour.length - 1; //console.log('b', i,j, i-1, k,vertices.length);\n\n\t\t\t\t\t\tfor (let s = 0, sl = steps + bevelSegments * 2; s < sl; s++) {\n\t\t\t\t\t\t\tconst slen1 = vlen * s;\n\t\t\t\t\t\t\tconst slen2 = vlen * (s + 1);\n\t\t\t\t\t\t\tconst a = layeroffset + j + slen1,\n\t\t\t\t\t\t\t\t\t\tb = layeroffset + k + slen1,\n\t\t\t\t\t\t\t\t\t\tc = layeroffset + k + slen2,\n\t\t\t\t\t\t\t\t\t\td = layeroffset + j + slen2;\n\t\t\t\t\t\t\tf4(a, b, c, d);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tfunction v(x, y, z) {\n\t\t\t\t\tplaceholder.push(x);\n\t\t\t\t\tplaceholder.push(y);\n\t\t\t\t\tplaceholder.push(z);\n\t\t\t\t}\n\n\t\t\t\tfunction f3(a, b, c) {\n\t\t\t\t\taddVertex(a);\n\t\t\t\t\taddVertex(b);\n\t\t\t\t\taddVertex(c);\n\t\t\t\t\tconst nextIndex = verticesArray.length / 3;\n\t\t\t\t\tconst uvs = uvgen.generateTopUV(scope, verticesArray, nextIndex - 3, nextIndex - 2, nextIndex - 1);\n\t\t\t\t\taddUV(uvs[0]);\n\t\t\t\t\taddUV(uvs[1]);\n\t\t\t\t\taddUV(uvs[2]);\n\t\t\t\t}\n\n\t\t\t\tfunction f4(a, b, c, d) {\n\t\t\t\t\taddVertex(a);\n\t\t\t\t\taddVertex(b);\n\t\t\t\t\taddVertex(d);\n\t\t\t\t\taddVertex(b);\n\t\t\t\t\taddVertex(c);\n\t\t\t\t\taddVertex(d);\n\t\t\t\t\tconst nextIndex = verticesArray.length / 3;\n\t\t\t\t\tconst uvs = uvgen.generateSideWallUV(scope, verticesArray, nextIndex - 6, nextIndex - 3, nextIndex - 2, nextIndex - 1);\n\t\t\t\t\taddUV(uvs[0]);\n\t\t\t\t\taddUV(uvs[1]);\n\t\t\t\t\taddUV(uvs[3]);\n\t\t\t\t\taddUV(uvs[1]);\n\t\t\t\t\taddUV(uvs[2]);\n\t\t\t\t\taddUV(uvs[3]);\n\t\t\t\t}\n\n\t\t\t\tfunction addVertex(index) {\n\t\t\t\t\tverticesArray.push(placeholder[index * 3 + 0]);\n\t\t\t\t\tverticesArray.push(placeholder[index * 3 + 1]);\n\t\t\t\t\tverticesArray.push(placeholder[index * 3 + 2]);\n\t\t\t\t}\n\n\t\t\t\tfunction addUV(vector2) {\n\t\t\t\t\tuvArray.push(vector2.x);\n\t\t\t\t\tuvArray.push(vector2.y);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tconst shapes = this.parameters.shapes;\n\t\t\tconst options = this.parameters.options;\n\t\t\treturn toJSON$1(shapes, options, data);\n\t\t}\n\n\t\tstatic fromJSON(data, shapes) {\n\t\t\tconst geometryShapes = [];\n\n\t\t\tfor (let j = 0, jl = data.shapes.length; j < jl; j++) {\n\t\t\t\tconst shape = shapes[data.shapes[j]];\n\t\t\t\tgeometryShapes.push(shape);\n\t\t\t}\n\n\t\t\tconst extrudePath = data.options.extrudePath;\n\n\t\t\tif (extrudePath !== undefined) {\n\t\t\t\tdata.options.extrudePath = new Curves[extrudePath.type]().fromJSON(extrudePath);\n\t\t\t}\n\n\t\t\treturn new ExtrudeGeometry(geometryShapes, data.options);\n\t\t}\n\n\t}\n\n\tconst WorldUVGenerator = {\n\t\tgenerateTopUV: function (geometry, vertices, indexA, indexB, indexC) {\n\t\t\tconst a_x = vertices[indexA * 3];\n\t\t\tconst a_y = vertices[indexA * 3 + 1];\n\t\t\tconst b_x = vertices[indexB * 3];\n\t\t\tconst b_y = vertices[indexB * 3 + 1];\n\t\t\tconst c_x = vertices[indexC * 3];\n\t\t\tconst c_y = vertices[indexC * 3 + 1];\n\t\t\treturn [new Vector2(a_x, a_y), new Vector2(b_x, b_y), new Vector2(c_x, c_y)];\n\t\t},\n\t\tgenerateSideWallUV: function (geometry, vertices, indexA, indexB, indexC, indexD) {\n\t\t\tconst a_x = vertices[indexA * 3];\n\t\t\tconst a_y = vertices[indexA * 3 + 1];\n\t\t\tconst a_z = vertices[indexA * 3 + 2];\n\t\t\tconst b_x = vertices[indexB * 3];\n\t\t\tconst b_y = vertices[indexB * 3 + 1];\n\t\t\tconst b_z = vertices[indexB * 3 + 2];\n\t\t\tconst c_x = vertices[indexC * 3];\n\t\t\tconst c_y = vertices[indexC * 3 + 1];\n\t\t\tconst c_z = vertices[indexC * 3 + 2];\n\t\t\tconst d_x = vertices[indexD * 3];\n\t\t\tconst d_y = vertices[indexD * 3 + 1];\n\t\t\tconst d_z = vertices[indexD * 3 + 2];\n\n\t\t\tif (Math.abs(a_y - b_y) < Math.abs(a_x - b_x)) {\n\t\t\t\treturn [new Vector2(a_x, 1 - a_z), new Vector2(b_x, 1 - b_z), new Vector2(c_x, 1 - c_z), new Vector2(d_x, 1 - d_z)];\n\t\t\t} else {\n\t\t\t\treturn [new Vector2(a_y, 1 - a_z), new Vector2(b_y, 1 - b_z), new Vector2(c_y, 1 - c_z), new Vector2(d_y, 1 - d_z)];\n\t\t\t}\n\t\t}\n\t};\n\n\tfunction toJSON$1(shapes, options, data) {\n\t\tdata.shapes = [];\n\n\t\tif (Array.isArray(shapes)) {\n\t\t\tfor (let i = 0, l = shapes.length; i < l; i++) {\n\t\t\t\tconst shape = shapes[i];\n\t\t\t\tdata.shapes.push(shape.uuid);\n\t\t\t}\n\t\t} else {\n\t\t\tdata.shapes.push(shapes.uuid);\n\t\t}\n\n\t\tdata.options = Object.assign({}, options);\n\t\tif (options.extrudePath !== undefined) data.options.extrudePath = options.extrudePath.toJSON();\n\t\treturn data;\n\t}\n\n\tclass IcosahedronGeometry extends PolyhedronGeometry {\n\t\tconstructor(radius = 1, detail = 0) {\n\t\t\tconst t = (1 + Math.sqrt(5)) / 2;\n\t\t\tconst vertices = [-1, t, 0, 1, t, 0, -1, -t, 0, 1, -t, 0, 0, -1, t, 0, 1, t, 0, -1, -t, 0, 1, -t, t, 0, -1, t, 0, 1, -t, 0, -1, -t, 0, 1];\n\t\t\tconst indices = [0, 11, 5, 0, 5, 1, 0, 1, 7, 0, 7, 10, 0, 10, 11, 1, 5, 9, 5, 11, 4, 11, 10, 2, 10, 7, 6, 7, 1, 8, 3, 9, 4, 3, 4, 2, 3, 2, 6, 3, 6, 8, 3, 8, 9, 4, 9, 5, 2, 4, 11, 6, 2, 10, 8, 6, 7, 9, 8, 1];\n\t\t\tsuper(vertices, indices, radius, detail);\n\t\t\tthis.type = 'IcosahedronGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\tdetail: detail\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new IcosahedronGeometry(data.radius, data.detail);\n\t\t}\n\n\t}\n\n\tclass OctahedronGeometry extends PolyhedronGeometry {\n\t\tconstructor(radius = 1, detail = 0) {\n\t\t\tconst vertices = [1, 0, 0, -1, 0, 0, 0, 1, 0, 0, -1, 0, 0, 0, 1, 0, 0, -1];\n\t\t\tconst indices = [0, 2, 4, 0, 4, 3, 0, 3, 5, 0, 5, 2, 1, 2, 5, 1, 5, 3, 1, 3, 4, 1, 4, 2];\n\t\t\tsuper(vertices, indices, radius, detail);\n\t\t\tthis.type = 'OctahedronGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\tdetail: detail\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new OctahedronGeometry(data.radius, data.detail);\n\t\t}\n\n\t}\n\n\tclass RingGeometry extends BufferGeometry {\n\t\tconstructor(innerRadius = 0.5, outerRadius = 1, thetaSegments = 8, phiSegments = 1, thetaStart = 0, thetaLength = Math.PI * 2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'RingGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tinnerRadius: innerRadius,\n\t\t\t\touterRadius: outerRadius,\n\t\t\t\tthetaSegments: thetaSegments,\n\t\t\t\tphiSegments: phiSegments,\n\t\t\t\tthetaStart: thetaStart,\n\t\t\t\tthetaLength: thetaLength\n\t\t\t};\n\t\t\tthetaSegments = Math.max(3, thetaSegments);\n\t\t\tphiSegments = Math.max(1, phiSegments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // some helper variables\n\n\t\t\tlet radius = innerRadius;\n\t\t\tconst radiusStep = (outerRadius - innerRadius) / phiSegments;\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst uv = new Vector2(); // generate vertices, normals and uvs\n\n\t\t\tfor (let j = 0; j <= phiSegments; j++) {\n\t\t\t\tfor (let i = 0; i <= thetaSegments; i++) {\n\t\t\t\t\t// values are generate from the inside of the ring to the outside\n\t\t\t\t\tconst segment = thetaStart + i / thetaSegments * thetaLength; // vertex\n\n\t\t\t\t\tvertex.x = radius * Math.cos(segment);\n\t\t\t\t\tvertex.y = radius * Math.sin(segment);\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\t\tnormals.push(0, 0, 1); // uv\n\n\t\t\t\t\tuv.x = (vertex.x / outerRadius + 1) / 2;\n\t\t\t\t\tuv.y = (vertex.y / outerRadius + 1) / 2;\n\t\t\t\t\tuvs.push(uv.x, uv.y);\n\t\t\t\t} // increase the radius for next row of vertices\n\n\n\t\t\t\tradius += radiusStep;\n\t\t\t} // indices\n\n\n\t\t\tfor (let j = 0; j < phiSegments; j++) {\n\t\t\t\tconst thetaSegmentLevel = j * (thetaSegments + 1);\n\n\t\t\t\tfor (let i = 0; i < thetaSegments; i++) {\n\t\t\t\t\tconst segment = i + thetaSegmentLevel;\n\t\t\t\t\tconst a = segment;\n\t\t\t\t\tconst b = segment + thetaSegments + 1;\n\t\t\t\t\tconst c = segment + thetaSegments + 2;\n\t\t\t\t\tconst d = segment + 1; // faces\n\n\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\tindices.push(b, c, d);\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new RingGeometry(data.innerRadius, data.outerRadius, data.thetaSegments, data.phiSegments, data.thetaStart, data.thetaLength);\n\t\t}\n\n\t}\n\n\tclass ShapeGeometry extends BufferGeometry {\n\t\tconstructor(shapes = new Shape([new Vector2(0, 0.5), new Vector2(-0.5, -0.5), new Vector2(0.5, -0.5)]), curveSegments = 12) {\n\t\t\tsuper();\n\t\t\tthis.type = 'ShapeGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tshapes: shapes,\n\t\t\t\tcurveSegments: curveSegments\n\t\t\t}; // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tlet groupStart = 0;\n\t\t\tlet groupCount = 0; // allow single and array values for \"shapes\" parameter\n\n\t\t\tif (Array.isArray(shapes) === false) {\n\t\t\t\taddShape(shapes);\n\t\t\t} else {\n\t\t\t\tfor (let i = 0; i < shapes.length; i++) {\n\t\t\t\t\taddShape(shapes[i]);\n\t\t\t\t\tthis.addGroup(groupStart, groupCount, i); // enables MultiMaterial support\n\n\t\t\t\t\tgroupStart += groupCount;\n\t\t\t\t\tgroupCount = 0;\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2)); // helper functions\n\n\t\t\tfunction addShape(shape) {\n\t\t\t\tconst indexOffset = vertices.length / 3;\n\t\t\t\tconst points = shape.extractPoints(curveSegments);\n\t\t\t\tlet shapeVertices = points.shape;\n\t\t\t\tconst shapeHoles = points.holes; // check direction of vertices\n\n\t\t\t\tif (ShapeUtils.isClockWise(shapeVertices) === false) {\n\t\t\t\t\tshapeVertices = shapeVertices.reverse();\n\t\t\t\t}\n\n\t\t\t\tfor (let i = 0, l = shapeHoles.length; i < l; i++) {\n\t\t\t\t\tconst shapeHole = shapeHoles[i];\n\n\t\t\t\t\tif (ShapeUtils.isClockWise(shapeHole) === true) {\n\t\t\t\t\t\tshapeHoles[i] = shapeHole.reverse();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconst faces = ShapeUtils.triangulateShape(shapeVertices, shapeHoles); // join vertices of inner and outer paths to a single array\n\n\t\t\t\tfor (let i = 0, l = shapeHoles.length; i < l; i++) {\n\t\t\t\t\tconst shapeHole = shapeHoles[i];\n\t\t\t\t\tshapeVertices = shapeVertices.concat(shapeHole);\n\t\t\t\t} // vertices, normals, uvs\n\n\n\t\t\t\tfor (let i = 0, l = shapeVertices.length; i < l; i++) {\n\t\t\t\t\tconst vertex = shapeVertices[i];\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, 0);\n\t\t\t\t\tnormals.push(0, 0, 1);\n\t\t\t\t\tuvs.push(vertex.x, vertex.y); // world uvs\n\t\t\t\t} // incides\n\n\n\t\t\t\tfor (let i = 0, l = faces.length; i < l; i++) {\n\t\t\t\t\tconst face = faces[i];\n\t\t\t\t\tconst a = face[0] + indexOffset;\n\t\t\t\t\tconst b = face[1] + indexOffset;\n\t\t\t\t\tconst c = face[2] + indexOffset;\n\t\t\t\t\tindices.push(a, b, c);\n\t\t\t\t\tgroupCount += 3;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tconst shapes = this.parameters.shapes;\n\t\t\treturn toJSON(shapes, data);\n\t\t}\n\n\t\tstatic fromJSON(data, shapes) {\n\t\t\tconst geometryShapes = [];\n\n\t\t\tfor (let j = 0, jl = data.shapes.length; j < jl; j++) {\n\t\t\t\tconst shape = shapes[data.shapes[j]];\n\t\t\t\tgeometryShapes.push(shape);\n\t\t\t}\n\n\t\t\treturn new ShapeGeometry(geometryShapes, data.curveSegments);\n\t\t}\n\n\t}\n\n\tfunction toJSON(shapes, data) {\n\t\tdata.shapes = [];\n\n\t\tif (Array.isArray(shapes)) {\n\t\t\tfor (let i = 0, l = shapes.length; i < l; i++) {\n\t\t\t\tconst shape = shapes[i];\n\t\t\t\tdata.shapes.push(shape.uuid);\n\t\t\t}\n\t\t} else {\n\t\t\tdata.shapes.push(shapes.uuid);\n\t\t}\n\n\t\treturn data;\n\t}\n\n\tclass SphereGeometry extends BufferGeometry {\n\t\tconstructor(radius = 1, widthSegments = 32, heightSegments = 16, phiStart = 0, phiLength = Math.PI * 2, thetaStart = 0, thetaLength = Math.PI) {\n\t\t\tsuper();\n\t\t\tthis.type = 'SphereGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\twidthSegments: widthSegments,\n\t\t\t\theightSegments: heightSegments,\n\t\t\t\tphiStart: phiStart,\n\t\t\t\tphiLength: phiLength,\n\t\t\t\tthetaStart: thetaStart,\n\t\t\t\tthetaLength: thetaLength\n\t\t\t};\n\t\t\twidthSegments = Math.max(3, Math.floor(widthSegments));\n\t\t\theightSegments = Math.max(2, Math.floor(heightSegments));\n\t\t\tconst thetaEnd = Math.min(thetaStart + thetaLength, Math.PI);\n\t\t\tlet index = 0;\n\t\t\tconst grid = [];\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst normal = new Vector3(); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // generate vertices, normals and uvs\n\n\t\t\tfor (let iy = 0; iy <= heightSegments; iy++) {\n\t\t\t\tconst verticesRow = [];\n\t\t\t\tconst v = iy / heightSegments; // special case for the poles\n\n\t\t\t\tlet uOffset = 0;\n\n\t\t\t\tif (iy == 0 && thetaStart == 0) {\n\t\t\t\t\tuOffset = 0.5 / widthSegments;\n\t\t\t\t} else if (iy == heightSegments && thetaEnd == Math.PI) {\n\t\t\t\t\tuOffset = -0.5 / widthSegments;\n\t\t\t\t}\n\n\t\t\t\tfor (let ix = 0; ix <= widthSegments; ix++) {\n\t\t\t\t\tconst u = ix / widthSegments; // vertex\n\n\t\t\t\t\tvertex.x = -radius * Math.cos(phiStart + u * phiLength) * Math.sin(thetaStart + v * thetaLength);\n\t\t\t\t\tvertex.y = radius * Math.cos(thetaStart + v * thetaLength);\n\t\t\t\t\tvertex.z = radius * Math.sin(phiStart + u * phiLength) * Math.sin(thetaStart + v * thetaLength);\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\t\tnormal.copy(vertex).normalize();\n\t\t\t\t\tnormals.push(normal.x, normal.y, normal.z); // uv\n\n\t\t\t\t\tuvs.push(u + uOffset, 1 - v);\n\t\t\t\t\tverticesRow.push(index++);\n\t\t\t\t}\n\n\t\t\t\tgrid.push(verticesRow);\n\t\t\t} // indices\n\n\n\t\t\tfor (let iy = 0; iy < heightSegments; iy++) {\n\t\t\t\tfor (let ix = 0; ix < widthSegments; ix++) {\n\t\t\t\t\tconst a = grid[iy][ix + 1];\n\t\t\t\t\tconst b = grid[iy][ix];\n\t\t\t\t\tconst c = grid[iy + 1][ix];\n\t\t\t\t\tconst d = grid[iy + 1][ix + 1];\n\t\t\t\t\tif (iy !== 0 || thetaStart > 0) indices.push(a, b, d);\n\t\t\t\t\tif (iy !== heightSegments - 1 || thetaEnd < Math.PI) indices.push(b, c, d);\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new SphereGeometry(data.radius, data.widthSegments, data.heightSegments, data.phiStart, data.phiLength, data.thetaStart, data.thetaLength);\n\t\t}\n\n\t}\n\n\tclass TetrahedronGeometry extends PolyhedronGeometry {\n\t\tconstructor(radius = 1, detail = 0) {\n\t\t\tconst vertices = [1, 1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1];\n\t\t\tconst indices = [2, 1, 0, 0, 3, 2, 1, 3, 0, 2, 3, 1];\n\t\t\tsuper(vertices, indices, radius, detail);\n\t\t\tthis.type = 'TetrahedronGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\tdetail: detail\n\t\t\t};\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new TetrahedronGeometry(data.radius, data.detail);\n\t\t}\n\n\t}\n\n\tclass TorusGeometry extends BufferGeometry {\n\t\tconstructor(radius = 1, tube = 0.4, radialSegments = 8, tubularSegments = 6, arc = Math.PI * 2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'TorusGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\ttube: tube,\n\t\t\t\tradialSegments: radialSegments,\n\t\t\t\ttubularSegments: tubularSegments,\n\t\t\t\tarc: arc\n\t\t\t};\n\t\t\tradialSegments = Math.floor(radialSegments);\n\t\t\ttubularSegments = Math.floor(tubularSegments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tconst center = new Vector3();\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst normal = new Vector3(); // generate vertices, normals and uvs\n\n\t\t\tfor (let j = 0; j <= radialSegments; j++) {\n\t\t\t\tfor (let i = 0; i <= tubularSegments; i++) {\n\t\t\t\t\tconst u = i / tubularSegments * arc;\n\t\t\t\t\tconst v = j / radialSegments * Math.PI * 2; // vertex\n\n\t\t\t\t\tvertex.x = (radius + tube * Math.cos(v)) * Math.cos(u);\n\t\t\t\t\tvertex.y = (radius + tube * Math.cos(v)) * Math.sin(u);\n\t\t\t\t\tvertex.z = tube * Math.sin(v);\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal\n\n\t\t\t\t\tcenter.x = radius * Math.cos(u);\n\t\t\t\t\tcenter.y = radius * Math.sin(u);\n\t\t\t\t\tnormal.subVectors(vertex, center).normalize();\n\t\t\t\t\tnormals.push(normal.x, normal.y, normal.z); // uv\n\n\t\t\t\t\tuvs.push(i / tubularSegments);\n\t\t\t\t\tuvs.push(j / radialSegments);\n\t\t\t\t}\n\t\t\t} // generate indices\n\n\n\t\t\tfor (let j = 1; j <= radialSegments; j++) {\n\t\t\t\tfor (let i = 1; i <= tubularSegments; i++) {\n\t\t\t\t\t// indices\n\t\t\t\t\tconst a = (tubularSegments + 1) * j + i - 1;\n\t\t\t\t\tconst b = (tubularSegments + 1) * (j - 1) + i - 1;\n\t\t\t\t\tconst c = (tubularSegments + 1) * (j - 1) + i;\n\t\t\t\t\tconst d = (tubularSegments + 1) * j + i; // faces\n\n\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\tindices.push(b, c, d);\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2));\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new TorusGeometry(data.radius, data.tube, data.radialSegments, data.tubularSegments, data.arc);\n\t\t}\n\n\t}\n\n\tclass TorusKnotGeometry extends BufferGeometry {\n\t\tconstructor(radius = 1, tube = 0.4, tubularSegments = 64, radialSegments = 8, p = 2, q = 3) {\n\t\t\tsuper();\n\t\t\tthis.type = 'TorusKnotGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tradius: radius,\n\t\t\t\ttube: tube,\n\t\t\t\ttubularSegments: tubularSegments,\n\t\t\t\tradialSegments: radialSegments,\n\t\t\t\tp: p,\n\t\t\t\tq: q\n\t\t\t};\n\t\t\ttubularSegments = Math.floor(tubularSegments);\n\t\t\tradialSegments = Math.floor(radialSegments); // buffers\n\n\t\t\tconst indices = [];\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = []; // helper variables\n\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst normal = new Vector3();\n\t\t\tconst P1 = new Vector3();\n\t\t\tconst P2 = new Vector3();\n\t\t\tconst B = new Vector3();\n\t\t\tconst T = new Vector3();\n\t\t\tconst N = new Vector3(); // generate vertices, normals and uvs\n\n\t\t\tfor (let i = 0; i <= tubularSegments; ++i) {\n\t\t\t\t// the radian \"u\" is used to calculate the position on the torus curve of the current tubular segment\n\t\t\t\tconst u = i / tubularSegments * p * Math.PI * 2; // now we calculate two points. P1 is our current position on the curve, P2 is a little farther ahead.\n\t\t\t\t// these points are used to create a special \"coordinate space\", which is necessary to calculate the correct vertex positions\n\n\t\t\t\tcalculatePositionOnCurve(u, p, q, radius, P1);\n\t\t\t\tcalculatePositionOnCurve(u + 0.01, p, q, radius, P2); // calculate orthonormal basis\n\n\t\t\t\tT.subVectors(P2, P1);\n\t\t\t\tN.addVectors(P2, P1);\n\t\t\t\tB.crossVectors(T, N);\n\t\t\t\tN.crossVectors(B, T); // normalize B, N. T can be ignored, we don't use it\n\n\t\t\t\tB.normalize();\n\t\t\t\tN.normalize();\n\n\t\t\t\tfor (let j = 0; j <= radialSegments; ++j) {\n\t\t\t\t\t// now calculate the vertices. they are nothing more than an extrusion of the torus curve.\n\t\t\t\t\t// because we extrude a shape in the xy-plane, there is no need to calculate a z-value.\n\t\t\t\t\tconst v = j / radialSegments * Math.PI * 2;\n\t\t\t\t\tconst cx = -tube * Math.cos(v);\n\t\t\t\t\tconst cy = tube * Math.sin(v); // now calculate the final vertex position.\n\t\t\t\t\t// first we orient the extrusion with our basis vectors, then we add it to the current position on the curve\n\n\t\t\t\t\tvertex.x = P1.x + (cx * N.x + cy * B.x);\n\t\t\t\t\tvertex.y = P1.y + (cx * N.y + cy * B.y);\n\t\t\t\t\tvertex.z = P1.z + (cx * N.z + cy * B.z);\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z); // normal (P1 is always the center/origin of the extrusion, thus we can use it to calculate the normal)\n\n\t\t\t\t\tnormal.subVectors(vertex, P1).normalize();\n\t\t\t\t\tnormals.push(normal.x, normal.y, normal.z); // uv\n\n\t\t\t\t\tuvs.push(i / tubularSegments);\n\t\t\t\t\tuvs.push(j / radialSegments);\n\t\t\t\t}\n\t\t\t} // generate indices\n\n\n\t\t\tfor (let j = 1; j <= tubularSegments; j++) {\n\t\t\t\tfor (let i = 1; i <= radialSegments; i++) {\n\t\t\t\t\t// indices\n\t\t\t\t\tconst a = (radialSegments + 1) * (j - 1) + (i - 1);\n\t\t\t\t\tconst b = (radialSegments + 1) * j + (i - 1);\n\t\t\t\t\tconst c = (radialSegments + 1) * j + i;\n\t\t\t\t\tconst d = (radialSegments + 1) * (j - 1) + i; // faces\n\n\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\tindices.push(b, c, d);\n\t\t\t\t}\n\t\t\t} // build geometry\n\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2)); // this function calculates the current position on the torus curve\n\n\t\t\tfunction calculatePositionOnCurve(u, p, q, radius, position) {\n\t\t\t\tconst cu = Math.cos(u);\n\t\t\t\tconst su = Math.sin(u);\n\t\t\t\tconst quOverP = q / p * u;\n\t\t\t\tconst cs = Math.cos(quOverP);\n\t\t\t\tposition.x = radius * (2 + cs) * 0.5 * cu;\n\t\t\t\tposition.y = radius * (2 + cs) * su * 0.5;\n\t\t\t\tposition.z = radius * Math.sin(quOverP) * 0.5;\n\t\t\t}\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\treturn new TorusKnotGeometry(data.radius, data.tube, data.tubularSegments, data.radialSegments, data.p, data.q);\n\t\t}\n\n\t}\n\n\tclass TubeGeometry extends BufferGeometry {\n\t\tconstructor(path = new QuadraticBezierCurve3(new Vector3(-1, -1, 0), new Vector3(-1, 1, 0), new Vector3(1, 1, 0)), tubularSegments = 64, radius = 1, radialSegments = 8, closed = false) {\n\t\t\tsuper();\n\t\t\tthis.type = 'TubeGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tpath: path,\n\t\t\t\ttubularSegments: tubularSegments,\n\t\t\t\tradius: radius,\n\t\t\t\tradialSegments: radialSegments,\n\t\t\t\tclosed: closed\n\t\t\t};\n\t\t\tconst frames = path.computeFrenetFrames(tubularSegments, closed); // expose internals\n\n\t\t\tthis.tangents = frames.tangents;\n\t\t\tthis.normals = frames.normals;\n\t\t\tthis.binormals = frames.binormals; // helper variables\n\n\t\t\tconst vertex = new Vector3();\n\t\t\tconst normal = new Vector3();\n\t\t\tconst uv = new Vector2();\n\t\t\tlet P = new Vector3(); // buffer\n\n\t\t\tconst vertices = [];\n\t\t\tconst normals = [];\n\t\t\tconst uvs = [];\n\t\t\tconst indices = []; // create buffer data\n\n\t\t\tgenerateBufferData(); // build geometry\n\n\t\t\tthis.setIndex(indices);\n\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tthis.setAttribute('normal', new Float32BufferAttribute(normals, 3));\n\t\t\tthis.setAttribute('uv', new Float32BufferAttribute(uvs, 2)); // functions\n\n\t\t\tfunction generateBufferData() {\n\t\t\t\tfor (let i = 0; i < tubularSegments; i++) {\n\t\t\t\t\tgenerateSegment(i);\n\t\t\t\t} // if the geometry is not closed, generate the last row of vertices and normals\n\t\t\t\t// at the regular position on the given path\n\t\t\t\t//\n\t\t\t\t// if the geometry is closed, duplicate the first row of vertices and normals (uvs will differ)\n\n\n\t\t\t\tgenerateSegment(closed === false ? tubularSegments : 0); // uvs are generated in a separate function.\n\t\t\t\t// this makes it easy compute correct values for closed geometries\n\n\t\t\t\tgenerateUVs(); // finally create faces\n\n\t\t\t\tgenerateIndices();\n\t\t\t}\n\n\t\t\tfunction generateSegment(i) {\n\t\t\t\t// we use getPointAt to sample evenly distributed points from the given path\n\t\t\t\tP = path.getPointAt(i / tubularSegments, P); // retrieve corresponding normal and binormal\n\n\t\t\t\tconst N = frames.normals[i];\n\t\t\t\tconst B = frames.binormals[i]; // generate normals and vertices for the current segment\n\n\t\t\t\tfor (let j = 0; j <= radialSegments; j++) {\n\t\t\t\t\tconst v = j / radialSegments * Math.PI * 2;\n\t\t\t\t\tconst sin = Math.sin(v);\n\t\t\t\t\tconst cos = -Math.cos(v); // normal\n\n\t\t\t\t\tnormal.x = cos * N.x + sin * B.x;\n\t\t\t\t\tnormal.y = cos * N.y + sin * B.y;\n\t\t\t\t\tnormal.z = cos * N.z + sin * B.z;\n\t\t\t\t\tnormal.normalize();\n\t\t\t\t\tnormals.push(normal.x, normal.y, normal.z); // vertex\n\n\t\t\t\t\tvertex.x = P.x + radius * normal.x;\n\t\t\t\t\tvertex.y = P.y + radius * normal.y;\n\t\t\t\t\tvertex.z = P.z + radius * normal.z;\n\t\t\t\t\tvertices.push(vertex.x, vertex.y, vertex.z);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction generateIndices() {\n\t\t\t\tfor (let j = 1; j <= tubularSegments; j++) {\n\t\t\t\t\tfor (let i = 1; i <= radialSegments; i++) {\n\t\t\t\t\t\tconst a = (radialSegments + 1) * (j - 1) + (i - 1);\n\t\t\t\t\t\tconst b = (radialSegments + 1) * j + (i - 1);\n\t\t\t\t\t\tconst c = (radialSegments + 1) * j + i;\n\t\t\t\t\t\tconst d = (radialSegments + 1) * (j - 1) + i; // faces\n\n\t\t\t\t\t\tindices.push(a, b, d);\n\t\t\t\t\t\tindices.push(b, c, d);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfunction generateUVs() {\n\t\t\t\tfor (let i = 0; i <= tubularSegments; i++) {\n\t\t\t\t\tfor (let j = 0; j <= radialSegments; j++) {\n\t\t\t\t\t\tuv.x = i / tubularSegments;\n\t\t\t\t\t\tuv.y = j / radialSegments;\n\t\t\t\t\t\tuvs.push(uv.x, uv.y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON();\n\t\t\tdata.path = this.parameters.path.toJSON();\n\t\t\treturn data;\n\t\t}\n\n\t\tstatic fromJSON(data) {\n\t\t\t// This only works for built-in curves (e.g. CatmullRomCurve3).\n\t\t\t// User defined curves or instances of CurvePath will not be deserialized.\n\t\t\treturn new TubeGeometry(new Curves[data.path.type]().fromJSON(data.path), data.tubularSegments, data.radius, data.radialSegments, data.closed);\n\t\t}\n\n\t}\n\n\tclass WireframeGeometry extends BufferGeometry {\n\t\tconstructor(geometry = null) {\n\t\t\tsuper();\n\t\t\tthis.type = 'WireframeGeometry';\n\t\t\tthis.parameters = {\n\t\t\t\tgeometry: geometry\n\t\t\t};\n\n\t\t\tif (geometry !== null) {\n\t\t\t\t// buffer\n\t\t\t\tconst vertices = [];\n\t\t\t\tconst edges = new Set(); // helper variables\n\n\t\t\t\tconst start = new Vector3();\n\t\t\t\tconst end = new Vector3();\n\n\t\t\t\tif (geometry.index !== null) {\n\t\t\t\t\t// indexed BufferGeometry\n\t\t\t\t\tconst position = geometry.attributes.position;\n\t\t\t\t\tconst indices = geometry.index;\n\t\t\t\t\tlet groups = geometry.groups;\n\n\t\t\t\t\tif (groups.length === 0) {\n\t\t\t\t\t\tgroups = [{\n\t\t\t\t\t\t\tstart: 0,\n\t\t\t\t\t\t\tcount: indices.count,\n\t\t\t\t\t\t\tmaterialIndex: 0\n\t\t\t\t\t\t}];\n\t\t\t\t\t} // create a data structure that contains all edges without duplicates\n\n\n\t\t\t\t\tfor (let o = 0, ol = groups.length; o < ol; ++o) {\n\t\t\t\t\t\tconst group = groups[o];\n\t\t\t\t\t\tconst groupStart = group.start;\n\t\t\t\t\t\tconst groupCount = group.count;\n\n\t\t\t\t\t\tfor (let i = groupStart, l = groupStart + groupCount; i < l; i += 3) {\n\t\t\t\t\t\t\tfor (let j = 0; j < 3; j++) {\n\t\t\t\t\t\t\t\tconst index1 = indices.getX(i + j);\n\t\t\t\t\t\t\t\tconst index2 = indices.getX(i + (j + 1) % 3);\n\t\t\t\t\t\t\t\tstart.fromBufferAttribute(position, index1);\n\t\t\t\t\t\t\t\tend.fromBufferAttribute(position, index2);\n\n\t\t\t\t\t\t\t\tif (isUniqueEdge(start, end, edges) === true) {\n\t\t\t\t\t\t\t\t\tvertices.push(start.x, start.y, start.z);\n\t\t\t\t\t\t\t\t\tvertices.push(end.x, end.y, end.z);\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} else {\n\t\t\t\t\t// non-indexed BufferGeometry\n\t\t\t\t\tconst position = geometry.attributes.position;\n\n\t\t\t\t\tfor (let i = 0, l = position.count / 3; i < l; i++) {\n\t\t\t\t\t\tfor (let j = 0; j < 3; j++) {\n\t\t\t\t\t\t\t// three edges per triangle, an edge is represented as (index1, index2)\n\t\t\t\t\t\t\t// e.g. the first triangle has the following edges: (0,1),(1,2),(2,0)\n\t\t\t\t\t\t\tconst index1 = 3 * i + j;\n\t\t\t\t\t\t\tconst index2 = 3 * i + (j + 1) % 3;\n\t\t\t\t\t\t\tstart.fromBufferAttribute(position, index1);\n\t\t\t\t\t\t\tend.fromBufferAttribute(position, index2);\n\n\t\t\t\t\t\t\tif (isUniqueEdge(start, end, edges) === true) {\n\t\t\t\t\t\t\t\tvertices.push(start.x, start.y, start.z);\n\t\t\t\t\t\t\t\tvertices.push(end.x, end.y, end.z);\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} // build geometry\n\n\n\t\t\t\tthis.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\t}\n\t\t}\n\n\t}\n\n\tfunction isUniqueEdge(start, end, edges) {\n\t\tconst hash1 = `${start.x},${start.y},${start.z}-${end.x},${end.y},${end.z}`;\n\t\tconst hash2 = `${end.x},${end.y},${end.z}-${start.x},${start.y},${start.z}`; // coincident edge\n\n\t\tif (edges.has(hash1) === true || edges.has(hash2) === true) {\n\t\t\treturn false;\n\t\t} else {\n\t\t\tedges.add(hash1);\n\t\t\tedges.add(hash2);\n\t\t\treturn true;\n\t\t}\n\t}\n\n\tvar Geometries = /*#__PURE__*/Object.freeze({\n\t\t__proto__: null,\n\t\tBoxGeometry: BoxGeometry,\n\t\tBoxBufferGeometry: BoxGeometry,\n\t\tCapsuleGeometry: CapsuleGeometry,\n\t\tCapsuleBufferGeometry: CapsuleGeometry,\n\t\tCircleGeometry: CircleGeometry,\n\t\tCircleBufferGeometry: CircleGeometry,\n\t\tConeGeometry: ConeGeometry,\n\t\tConeBufferGeometry: ConeGeometry,\n\t\tCylinderGeometry: CylinderGeometry,\n\t\tCylinderBufferGeometry: CylinderGeometry,\n\t\tDodecahedronGeometry: DodecahedronGeometry,\n\t\tDodecahedronBufferGeometry: DodecahedronGeometry,\n\t\tEdgesGeometry: EdgesGeometry,\n\t\tExtrudeGeometry: ExtrudeGeometry,\n\t\tExtrudeBufferGeometry: ExtrudeGeometry,\n\t\tIcosahedronGeometry: IcosahedronGeometry,\n\t\tIcosahedronBufferGeometry: IcosahedronGeometry,\n\t\tLatheGeometry: LatheGeometry,\n\t\tLatheBufferGeometry: LatheGeometry,\n\t\tOctahedronGeometry: OctahedronGeometry,\n\t\tOctahedronBufferGeometry: OctahedronGeometry,\n\t\tPlaneGeometry: PlaneGeometry,\n\t\tPlaneBufferGeometry: PlaneGeometry,\n\t\tPolyhedronGeometry: PolyhedronGeometry,\n\t\tPolyhedronBufferGeometry: PolyhedronGeometry,\n\t\tRingGeometry: RingGeometry,\n\t\tRingBufferGeometry: RingGeometry,\n\t\tShapeGeometry: ShapeGeometry,\n\t\tShapeBufferGeometry: ShapeGeometry,\n\t\tSphereGeometry: SphereGeometry,\n\t\tSphereBufferGeometry: SphereGeometry,\n\t\tTetrahedronGeometry: TetrahedronGeometry,\n\t\tTetrahedronBufferGeometry: TetrahedronGeometry,\n\t\tTorusGeometry: TorusGeometry,\n\t\tTorusBufferGeometry: TorusGeometry,\n\t\tTorusKnotGeometry: TorusKnotGeometry,\n\t\tTorusKnotBufferGeometry: TorusKnotGeometry,\n\t\tTubeGeometry: TubeGeometry,\n\t\tTubeBufferGeometry: TubeGeometry,\n\t\tWireframeGeometry: WireframeGeometry\n\t});\n\n\tclass ShadowMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isShadowMaterial = true;\n\t\t\tthis.type = 'ShadowMaterial';\n\t\t\tthis.color = new Color(0x000000);\n\t\t\tthis.transparent = true;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass RawShaderMaterial extends ShaderMaterial {\n\t\tconstructor(parameters) {\n\t\t\tsuper(parameters);\n\t\t\tthis.isRawShaderMaterial = true;\n\t\t\tthis.type = 'RawShaderMaterial';\n\t\t}\n\n\t}\n\n\tclass MeshStandardMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshStandardMaterial = true;\n\t\t\tthis.defines = {\n\t\t\t\t'STANDARD': ''\n\t\t\t};\n\t\t\tthis.type = 'MeshStandardMaterial';\n\t\t\tthis.color = new Color(0xffffff); // diffuse\n\n\t\t\tthis.roughness = 1.0;\n\t\t\tthis.metalness = 0.0;\n\t\t\tthis.map = null;\n\t\t\tthis.lightMap = null;\n\t\t\tthis.lightMapIntensity = 1.0;\n\t\t\tthis.aoMap = null;\n\t\t\tthis.aoMapIntensity = 1.0;\n\t\t\tthis.emissive = new Color(0x000000);\n\t\t\tthis.emissiveIntensity = 1.0;\n\t\t\tthis.emissiveMap = null;\n\t\t\tthis.bumpMap = null;\n\t\t\tthis.bumpScale = 1;\n\t\t\tthis.normalMap = null;\n\t\t\tthis.normalMapType = TangentSpaceNormalMap;\n\t\t\tthis.normalScale = new Vector2(1, 1);\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.roughnessMap = null;\n\t\t\tthis.metalnessMap = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.envMap = null;\n\t\t\tthis.envMapIntensity = 1.0;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.wireframeLinecap = 'round';\n\t\t\tthis.wireframeLinejoin = 'round';\n\t\t\tthis.flatShading = false;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.defines = {\n\t\t\t\t'STANDARD': ''\n\t\t\t};\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.roughness = source.roughness;\n\t\t\tthis.metalness = source.metalness;\n\t\t\tthis.map = source.map;\n\t\t\tthis.lightMap = source.lightMap;\n\t\t\tthis.lightMapIntensity = source.lightMapIntensity;\n\t\t\tthis.aoMap = source.aoMap;\n\t\t\tthis.aoMapIntensity = source.aoMapIntensity;\n\t\t\tthis.emissive.copy(source.emissive);\n\t\t\tthis.emissiveMap = source.emissiveMap;\n\t\t\tthis.emissiveIntensity = source.emissiveIntensity;\n\t\t\tthis.bumpMap = source.bumpMap;\n\t\t\tthis.bumpScale = source.bumpScale;\n\t\t\tthis.normalMap = source.normalMap;\n\t\t\tthis.normalMapType = source.normalMapType;\n\t\t\tthis.normalScale.copy(source.normalScale);\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.roughnessMap = source.roughnessMap;\n\t\t\tthis.metalnessMap = source.metalnessMap;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.envMap = source.envMap;\n\t\t\tthis.envMapIntensity = source.envMapIntensity;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.wireframeLinecap = source.wireframeLinecap;\n\t\t\tthis.wireframeLinejoin = source.wireframeLinejoin;\n\t\t\tthis.flatShading = source.flatShading;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshPhysicalMaterial extends MeshStandardMaterial {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshPhysicalMaterial = true;\n\t\t\tthis.defines = {\n\t\t\t\t'STANDARD': '',\n\t\t\t\t'PHYSICAL': ''\n\t\t\t};\n\t\t\tthis.type = 'MeshPhysicalMaterial';\n\t\t\tthis.clearcoatMap = null;\n\t\t\tthis.clearcoatRoughness = 0.0;\n\t\t\tthis.clearcoatRoughnessMap = null;\n\t\t\tthis.clearcoatNormalScale = new Vector2(1, 1);\n\t\t\tthis.clearcoatNormalMap = null;\n\t\t\tthis.ior = 1.5;\n\t\t\tObject.defineProperty(this, 'reflectivity', {\n\t\t\t\tget: function () {\n\t\t\t\t\treturn clamp(2.5 * (this.ior - 1) / (this.ior + 1), 0, 1);\n\t\t\t\t},\n\t\t\t\tset: function (reflectivity) {\n\t\t\t\t\tthis.ior = (1 + 0.4 * reflectivity) / (1 - 0.4 * reflectivity);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.iridescenceMap = null;\n\t\t\tthis.iridescenceIOR = 1.3;\n\t\t\tthis.iridescenceThicknessRange = [100, 400];\n\t\t\tthis.iridescenceThicknessMap = null;\n\t\t\tthis.sheenColor = new Color(0x000000);\n\t\t\tthis.sheenColorMap = null;\n\t\t\tthis.sheenRoughness = 1.0;\n\t\t\tthis.sheenRoughnessMap = null;\n\t\t\tthis.transmissionMap = null;\n\t\t\tthis.thickness = 0;\n\t\t\tthis.thicknessMap = null;\n\t\t\tthis.attenuationDistance = 0.0;\n\t\t\tthis.attenuationColor = new Color(1, 1, 1);\n\t\t\tthis.specularIntensity = 1.0;\n\t\t\tthis.specularIntensityMap = null;\n\t\t\tthis.specularColor = new Color(1, 1, 1);\n\t\t\tthis.specularColorMap = null;\n\t\t\tthis._sheen = 0.0;\n\t\t\tthis._clearcoat = 0;\n\t\t\tthis._iridescence = 0;\n\t\t\tthis._transmission = 0;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tget sheen() {\n\t\t\treturn this._sheen;\n\t\t}\n\n\t\tset sheen(value) {\n\t\t\tif (this._sheen > 0 !== value > 0) {\n\t\t\t\tthis.version++;\n\t\t\t}\n\n\t\t\tthis._sheen = value;\n\t\t}\n\n\t\tget clearcoat() {\n\t\t\treturn this._clearcoat;\n\t\t}\n\n\t\tset clearcoat(value) {\n\t\t\tif (this._clearcoat > 0 !== value > 0) {\n\t\t\t\tthis.version++;\n\t\t\t}\n\n\t\t\tthis._clearcoat = value;\n\t\t}\n\n\t\tget iridescence() {\n\t\t\treturn this._iridescence;\n\t\t}\n\n\t\tset iridescence(value) {\n\t\t\tif (this._iridescence > 0 !== value > 0) {\n\t\t\t\tthis.version++;\n\t\t\t}\n\n\t\t\tthis._iridescence = value;\n\t\t}\n\n\t\tget transmission() {\n\t\t\treturn this._transmission;\n\t\t}\n\n\t\tset transmission(value) {\n\t\t\tif (this._transmission > 0 !== value > 0) {\n\t\t\t\tthis.version++;\n\t\t\t}\n\n\t\t\tthis._transmission = value;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.defines = {\n\t\t\t\t'STANDARD': '',\n\t\t\t\t'PHYSICAL': ''\n\t\t\t};\n\t\t\tthis.clearcoat = source.clearcoat;\n\t\t\tthis.clearcoatMap = source.clearcoatMap;\n\t\t\tthis.clearcoatRoughness = source.clearcoatRoughness;\n\t\t\tthis.clearcoatRoughnessMap = source.clearcoatRoughnessMap;\n\t\t\tthis.clearcoatNormalMap = source.clearcoatNormalMap;\n\t\t\tthis.clearcoatNormalScale.copy(source.clearcoatNormalScale);\n\t\t\tthis.ior = source.ior;\n\t\t\tthis.iridescence = source.iridescence;\n\t\t\tthis.iridescenceMap = source.iridescenceMap;\n\t\t\tthis.iridescenceIOR = source.iridescenceIOR;\n\t\t\tthis.iridescenceThicknessRange = [...source.iridescenceThicknessRange];\n\t\t\tthis.iridescenceThicknessMap = source.iridescenceThicknessMap;\n\t\t\tthis.sheen = source.sheen;\n\t\t\tthis.sheenColor.copy(source.sheenColor);\n\t\t\tthis.sheenColorMap = source.sheenColorMap;\n\t\t\tthis.sheenRoughness = source.sheenRoughness;\n\t\t\tthis.sheenRoughnessMap = source.sheenRoughnessMap;\n\t\t\tthis.transmission = source.transmission;\n\t\t\tthis.transmissionMap = source.transmissionMap;\n\t\t\tthis.thickness = source.thickness;\n\t\t\tthis.thicknessMap = source.thicknessMap;\n\t\t\tthis.attenuationDistance = source.attenuationDistance;\n\t\t\tthis.attenuationColor.copy(source.attenuationColor);\n\t\t\tthis.specularIntensity = source.specularIntensity;\n\t\t\tthis.specularIntensityMap = source.specularIntensityMap;\n\t\t\tthis.specularColor.copy(source.specularColor);\n\t\t\tthis.specularColorMap = source.specularColorMap;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshPhongMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshPhongMaterial = true;\n\t\t\tthis.type = 'MeshPhongMaterial';\n\t\t\tthis.color = new Color(0xffffff); // diffuse\n\n\t\t\tthis.specular = new Color(0x111111);\n\t\t\tthis.shininess = 30;\n\t\t\tthis.map = null;\n\t\t\tthis.lightMap = null;\n\t\t\tthis.lightMapIntensity = 1.0;\n\t\t\tthis.aoMap = null;\n\t\t\tthis.aoMapIntensity = 1.0;\n\t\t\tthis.emissive = new Color(0x000000);\n\t\t\tthis.emissiveIntensity = 1.0;\n\t\t\tthis.emissiveMap = null;\n\t\t\tthis.bumpMap = null;\n\t\t\tthis.bumpScale = 1;\n\t\t\tthis.normalMap = null;\n\t\t\tthis.normalMapType = TangentSpaceNormalMap;\n\t\t\tthis.normalScale = new Vector2(1, 1);\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.specularMap = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.envMap = null;\n\t\t\tthis.combine = MultiplyOperation;\n\t\t\tthis.reflectivity = 1;\n\t\t\tthis.refractionRatio = 0.98;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.wireframeLinecap = 'round';\n\t\t\tthis.wireframeLinejoin = 'round';\n\t\t\tthis.flatShading = false;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.specular.copy(source.specular);\n\t\t\tthis.shininess = source.shininess;\n\t\t\tthis.map = source.map;\n\t\t\tthis.lightMap = source.lightMap;\n\t\t\tthis.lightMapIntensity = source.lightMapIntensity;\n\t\t\tthis.aoMap = source.aoMap;\n\t\t\tthis.aoMapIntensity = source.aoMapIntensity;\n\t\t\tthis.emissive.copy(source.emissive);\n\t\t\tthis.emissiveMap = source.emissiveMap;\n\t\t\tthis.emissiveIntensity = source.emissiveIntensity;\n\t\t\tthis.bumpMap = source.bumpMap;\n\t\t\tthis.bumpScale = source.bumpScale;\n\t\t\tthis.normalMap = source.normalMap;\n\t\t\tthis.normalMapType = source.normalMapType;\n\t\t\tthis.normalScale.copy(source.normalScale);\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.specularMap = source.specularMap;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.envMap = source.envMap;\n\t\t\tthis.combine = source.combine;\n\t\t\tthis.reflectivity = source.reflectivity;\n\t\t\tthis.refractionRatio = source.refractionRatio;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.wireframeLinecap = source.wireframeLinecap;\n\t\t\tthis.wireframeLinejoin = source.wireframeLinejoin;\n\t\t\tthis.flatShading = source.flatShading;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshToonMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshToonMaterial = true;\n\t\t\tthis.defines = {\n\t\t\t\t'TOON': ''\n\t\t\t};\n\t\t\tthis.type = 'MeshToonMaterial';\n\t\t\tthis.color = new Color(0xffffff);\n\t\t\tthis.map = null;\n\t\t\tthis.gradientMap = null;\n\t\t\tthis.lightMap = null;\n\t\t\tthis.lightMapIntensity = 1.0;\n\t\t\tthis.aoMap = null;\n\t\t\tthis.aoMapIntensity = 1.0;\n\t\t\tthis.emissive = new Color(0x000000);\n\t\t\tthis.emissiveIntensity = 1.0;\n\t\t\tthis.emissiveMap = null;\n\t\t\tthis.bumpMap = null;\n\t\t\tthis.bumpScale = 1;\n\t\t\tthis.normalMap = null;\n\t\t\tthis.normalMapType = TangentSpaceNormalMap;\n\t\t\tthis.normalScale = new Vector2(1, 1);\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.wireframeLinecap = 'round';\n\t\t\tthis.wireframeLinejoin = 'round';\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.map = source.map;\n\t\t\tthis.gradientMap = source.gradientMap;\n\t\t\tthis.lightMap = source.lightMap;\n\t\t\tthis.lightMapIntensity = source.lightMapIntensity;\n\t\t\tthis.aoMap = source.aoMap;\n\t\t\tthis.aoMapIntensity = source.aoMapIntensity;\n\t\t\tthis.emissive.copy(source.emissive);\n\t\t\tthis.emissiveMap = source.emissiveMap;\n\t\t\tthis.emissiveIntensity = source.emissiveIntensity;\n\t\t\tthis.bumpMap = source.bumpMap;\n\t\t\tthis.bumpScale = source.bumpScale;\n\t\t\tthis.normalMap = source.normalMap;\n\t\t\tthis.normalMapType = source.normalMapType;\n\t\t\tthis.normalScale.copy(source.normalScale);\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.wireframeLinecap = source.wireframeLinecap;\n\t\t\tthis.wireframeLinejoin = source.wireframeLinejoin;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshNormalMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshNormalMaterial = true;\n\t\t\tthis.type = 'MeshNormalMaterial';\n\t\t\tthis.bumpMap = null;\n\t\t\tthis.bumpScale = 1;\n\t\t\tthis.normalMap = null;\n\t\t\tthis.normalMapType = TangentSpaceNormalMap;\n\t\t\tthis.normalScale = new Vector2(1, 1);\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.flatShading = false;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.bumpMap = source.bumpMap;\n\t\t\tthis.bumpScale = source.bumpScale;\n\t\t\tthis.normalMap = source.normalMap;\n\t\t\tthis.normalMapType = source.normalMapType;\n\t\t\tthis.normalScale.copy(source.normalScale);\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.flatShading = source.flatShading;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshLambertMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshLambertMaterial = true;\n\t\t\tthis.type = 'MeshLambertMaterial';\n\t\t\tthis.color = new Color(0xffffff); // diffuse\n\n\t\t\tthis.map = null;\n\t\t\tthis.lightMap = null;\n\t\t\tthis.lightMapIntensity = 1.0;\n\t\t\tthis.aoMap = null;\n\t\t\tthis.aoMapIntensity = 1.0;\n\t\t\tthis.emissive = new Color(0x000000);\n\t\t\tthis.emissiveIntensity = 1.0;\n\t\t\tthis.emissiveMap = null;\n\t\t\tthis.specularMap = null;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.envMap = null;\n\t\t\tthis.combine = MultiplyOperation;\n\t\t\tthis.reflectivity = 1;\n\t\t\tthis.refractionRatio = 0.98;\n\t\t\tthis.wireframe = false;\n\t\t\tthis.wireframeLinewidth = 1;\n\t\t\tthis.wireframeLinecap = 'round';\n\t\t\tthis.wireframeLinejoin = 'round';\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.map = source.map;\n\t\t\tthis.lightMap = source.lightMap;\n\t\t\tthis.lightMapIntensity = source.lightMapIntensity;\n\t\t\tthis.aoMap = source.aoMap;\n\t\t\tthis.aoMapIntensity = source.aoMapIntensity;\n\t\t\tthis.emissive.copy(source.emissive);\n\t\t\tthis.emissiveMap = source.emissiveMap;\n\t\t\tthis.emissiveIntensity = source.emissiveIntensity;\n\t\t\tthis.specularMap = source.specularMap;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.envMap = source.envMap;\n\t\t\tthis.combine = source.combine;\n\t\t\tthis.reflectivity = source.reflectivity;\n\t\t\tthis.refractionRatio = source.refractionRatio;\n\t\t\tthis.wireframe = source.wireframe;\n\t\t\tthis.wireframeLinewidth = source.wireframeLinewidth;\n\t\t\tthis.wireframeLinecap = source.wireframeLinecap;\n\t\t\tthis.wireframeLinejoin = source.wireframeLinejoin;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass MeshMatcapMaterial extends Material {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isMeshMatcapMaterial = true;\n\t\t\tthis.defines = {\n\t\t\t\t'MATCAP': ''\n\t\t\t};\n\t\t\tthis.type = 'MeshMatcapMaterial';\n\t\t\tthis.color = new Color(0xffffff); // diffuse\n\n\t\t\tthis.matcap = null;\n\t\t\tthis.map = null;\n\t\t\tthis.bumpMap = null;\n\t\t\tthis.bumpScale = 1;\n\t\t\tthis.normalMap = null;\n\t\t\tthis.normalMapType = TangentSpaceNormalMap;\n\t\t\tthis.normalScale = new Vector2(1, 1);\n\t\t\tthis.displacementMap = null;\n\t\t\tthis.displacementScale = 1;\n\t\t\tthis.displacementBias = 0;\n\t\t\tthis.alphaMap = null;\n\t\t\tthis.flatShading = false;\n\t\t\tthis.fog = true;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.defines = {\n\t\t\t\t'MATCAP': ''\n\t\t\t};\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.matcap = source.matcap;\n\t\t\tthis.map = source.map;\n\t\t\tthis.bumpMap = source.bumpMap;\n\t\t\tthis.bumpScale = source.bumpScale;\n\t\t\tthis.normalMap = source.normalMap;\n\t\t\tthis.normalMapType = source.normalMapType;\n\t\t\tthis.normalScale.copy(source.normalScale);\n\t\t\tthis.displacementMap = source.displacementMap;\n\t\t\tthis.displacementScale = source.displacementScale;\n\t\t\tthis.displacementBias = source.displacementBias;\n\t\t\tthis.alphaMap = source.alphaMap;\n\t\t\tthis.flatShading = source.flatShading;\n\t\t\tthis.fog = source.fog;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass LineDashedMaterial extends LineBasicMaterial {\n\t\tconstructor(parameters) {\n\t\t\tsuper();\n\t\t\tthis.isLineDashedMaterial = true;\n\t\t\tthis.type = 'LineDashedMaterial';\n\t\t\tthis.scale = 1;\n\t\t\tthis.dashSize = 3;\n\t\t\tthis.gapSize = 1;\n\t\t\tthis.setValues(parameters);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.scale = source.scale;\n\t\t\tthis.dashSize = source.dashSize;\n\t\t\tthis.gapSize = source.gapSize;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst AnimationUtils = {\n\t\t// same as Array.prototype.slice, but also works on typed arrays\n\t\tarraySlice: function (array, from, to) {\n\t\t\tif (AnimationUtils.isTypedArray(array)) {\n\t\t\t\t// in ios9 array.subarray(from, undefined) will return empty array\n\t\t\t\t// but array.subarray(from) or array.subarray(from, len) is correct\n\t\t\t\treturn new array.constructor(array.subarray(from, to !== undefined ? to : array.length));\n\t\t\t}\n\n\t\t\treturn array.slice(from, to);\n\t\t},\n\t\t// converts an array to a specific type\n\t\tconvertArray: function (array, type, forceClone) {\n\t\t\tif (!array || // let 'undefined' and 'null' pass\n\t\t\t!forceClone && array.constructor === type) return array;\n\n\t\t\tif (typeof type.BYTES_PER_ELEMENT === 'number') {\n\t\t\t\treturn new type(array); // create typed array\n\t\t\t}\n\n\t\t\treturn Array.prototype.slice.call(array); // create Array\n\t\t},\n\t\tisTypedArray: function (object) {\n\t\t\treturn ArrayBuffer.isView(object) && !(object instanceof DataView);\n\t\t},\n\t\t// returns an array by which times and values can be sorted\n\t\tgetKeyframeOrder: function (times) {\n\t\t\tfunction compareTime(i, j) {\n\t\t\t\treturn times[i] - times[j];\n\t\t\t}\n\n\t\t\tconst n = times.length;\n\t\t\tconst result = new Array(n);\n\n\t\t\tfor (let i = 0; i !== n; ++i) result[i] = i;\n\n\t\t\tresult.sort(compareTime);\n\t\t\treturn result;\n\t\t},\n\t\t// uses the array previously returned by 'getKeyframeOrder' to sort data\n\t\tsortedArray: function (values, stride, order) {\n\t\t\tconst nValues = values.length;\n\t\t\tconst result = new values.constructor(nValues);\n\n\t\t\tfor (let i = 0, dstOffset = 0; dstOffset !== nValues; ++i) {\n\t\t\t\tconst srcOffset = order[i] * stride;\n\n\t\t\t\tfor (let j = 0; j !== stride; ++j) {\n\t\t\t\t\tresult[dstOffset++] = values[srcOffset + j];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn result;\n\t\t},\n\t\t// function for parsing AOS keyframe formats\n\t\tflattenJSON: function (jsonKeys, times, values, valuePropertyName) {\n\t\t\tlet i = 1,\n\t\t\t\t\tkey = jsonKeys[0];\n\n\t\t\twhile (key !== undefined && key[valuePropertyName] === undefined) {\n\t\t\t\tkey = jsonKeys[i++];\n\t\t\t}\n\n\t\t\tif (key === undefined) return; // no data\n\n\t\t\tlet value = key[valuePropertyName];\n\t\t\tif (value === undefined) return; // no data\n\n\t\t\tif (Array.isArray(value)) {\n\t\t\t\tdo {\n\t\t\t\t\tvalue = key[valuePropertyName];\n\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\ttimes.push(key.time);\n\t\t\t\t\t\tvalues.push.apply(values, value); // push all elements\n\t\t\t\t\t}\n\n\t\t\t\t\tkey = jsonKeys[i++];\n\t\t\t\t} while (key !== undefined);\n\t\t\t} else if (value.toArray !== undefined) {\n\t\t\t\t// ...assume THREE.Math-ish\n\t\t\t\tdo {\n\t\t\t\t\tvalue = key[valuePropertyName];\n\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\ttimes.push(key.time);\n\t\t\t\t\t\tvalue.toArray(values, values.length);\n\t\t\t\t\t}\n\n\t\t\t\t\tkey = jsonKeys[i++];\n\t\t\t\t} while (key !== undefined);\n\t\t\t} else {\n\t\t\t\t// otherwise push as-is\n\t\t\t\tdo {\n\t\t\t\t\tvalue = key[valuePropertyName];\n\n\t\t\t\t\tif (value !== undefined) {\n\t\t\t\t\t\ttimes.push(key.time);\n\t\t\t\t\t\tvalues.push(value);\n\t\t\t\t\t}\n\n\t\t\t\t\tkey = jsonKeys[i++];\n\t\t\t\t} while (key !== undefined);\n\t\t\t}\n\t\t},\n\t\tsubclip: function (sourceClip, name, startFrame, endFrame, fps = 30) {\n\t\t\tconst clip = sourceClip.clone();\n\t\t\tclip.name = name;\n\t\t\tconst tracks = [];\n\n\t\t\tfor (let i = 0; i < clip.tracks.length; ++i) {\n\t\t\t\tconst track = clip.tracks[i];\n\t\t\t\tconst valueSize = track.getValueSize();\n\t\t\t\tconst times = [];\n\t\t\t\tconst values = [];\n\n\t\t\t\tfor (let j = 0; j < track.times.length; ++j) {\n\t\t\t\t\tconst frame = track.times[j] * fps;\n\t\t\t\t\tif (frame < startFrame || frame >= endFrame) continue;\n\t\t\t\t\ttimes.push(track.times[j]);\n\n\t\t\t\t\tfor (let k = 0; k < valueSize; ++k) {\n\t\t\t\t\t\tvalues.push(track.values[j * valueSize + k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (times.length === 0) continue;\n\t\t\t\ttrack.times = AnimationUtils.convertArray(times, track.times.constructor);\n\t\t\t\ttrack.values = AnimationUtils.convertArray(values, track.values.constructor);\n\t\t\t\ttracks.push(track);\n\t\t\t}\n\n\t\t\tclip.tracks = tracks; // find minimum .times value across all tracks in the trimmed clip\n\n\t\t\tlet minStartTime = Infinity;\n\n\t\t\tfor (let i = 0; i < clip.tracks.length; ++i) {\n\t\t\t\tif (minStartTime > clip.tracks[i].times[0]) {\n\t\t\t\t\tminStartTime = clip.tracks[i].times[0];\n\t\t\t\t}\n\t\t\t} // shift all tracks such that clip begins at t=0\n\n\n\t\t\tfor (let i = 0; i < clip.tracks.length; ++i) {\n\t\t\t\tclip.tracks[i].shift(-1 * minStartTime);\n\t\t\t}\n\n\t\t\tclip.resetDuration();\n\t\t\treturn clip;\n\t\t},\n\t\tmakeClipAdditive: function (targetClip, referenceFrame = 0, referenceClip = targetClip, fps = 30) {\n\t\t\tif (fps <= 0) fps = 30;\n\t\t\tconst numTracks = referenceClip.tracks.length;\n\t\t\tconst referenceTime = referenceFrame / fps; // Make each track's values relative to the values at the reference frame\n\n\t\t\tfor (let i = 0; i < numTracks; ++i) {\n\t\t\t\tconst referenceTrack = referenceClip.tracks[i];\n\t\t\t\tconst referenceTrackType = referenceTrack.ValueTypeName; // Skip this track if it's non-numeric\n\n\t\t\t\tif (referenceTrackType === 'bool' || referenceTrackType === 'string') continue; // Find the track in the target clip whose name and type matches the reference track\n\n\t\t\t\tconst targetTrack = targetClip.tracks.find(function (track) {\n\t\t\t\t\treturn track.name === referenceTrack.name && track.ValueTypeName === referenceTrackType;\n\t\t\t\t});\n\t\t\t\tif (targetTrack === undefined) continue;\n\t\t\t\tlet referenceOffset = 0;\n\t\t\t\tconst referenceValueSize = referenceTrack.getValueSize();\n\n\t\t\t\tif (referenceTrack.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline) {\n\t\t\t\t\treferenceOffset = referenceValueSize / 3;\n\t\t\t\t}\n\n\t\t\t\tlet targetOffset = 0;\n\t\t\t\tconst targetValueSize = targetTrack.getValueSize();\n\n\t\t\t\tif (targetTrack.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline) {\n\t\t\t\t\ttargetOffset = targetValueSize / 3;\n\t\t\t\t}\n\n\t\t\t\tconst lastIndex = referenceTrack.times.length - 1;\n\t\t\t\tlet referenceValue; // Find the value to subtract out of the track\n\n\t\t\t\tif (referenceTime <= referenceTrack.times[0]) {\n\t\t\t\t\t// Reference frame is earlier than the first keyframe, so just use the first keyframe\n\t\t\t\t\tconst startIndex = referenceOffset;\n\t\t\t\t\tconst endIndex = referenceValueSize - referenceOffset;\n\t\t\t\t\treferenceValue = AnimationUtils.arraySlice(referenceTrack.values, startIndex, endIndex);\n\t\t\t\t} else if (referenceTime >= referenceTrack.times[lastIndex]) {\n\t\t\t\t\t// Reference frame is after the last keyframe, so just use the last keyframe\n\t\t\t\t\tconst startIndex = lastIndex * referenceValueSize + referenceOffset;\n\t\t\t\t\tconst endIndex = startIndex + referenceValueSize - referenceOffset;\n\t\t\t\t\treferenceValue = AnimationUtils.arraySlice(referenceTrack.values, startIndex, endIndex);\n\t\t\t\t} else {\n\t\t\t\t\t// Interpolate to the reference value\n\t\t\t\t\tconst interpolant = referenceTrack.createInterpolant();\n\t\t\t\t\tconst startIndex = referenceOffset;\n\t\t\t\t\tconst endIndex = referenceValueSize - referenceOffset;\n\t\t\t\t\tinterpolant.evaluate(referenceTime);\n\t\t\t\t\treferenceValue = AnimationUtils.arraySlice(interpolant.resultBuffer, startIndex, endIndex);\n\t\t\t\t} // Conjugate the quaternion\n\n\n\t\t\t\tif (referenceTrackType === 'quaternion') {\n\t\t\t\t\tconst referenceQuat = new Quaternion().fromArray(referenceValue).normalize().conjugate();\n\t\t\t\t\treferenceQuat.toArray(referenceValue);\n\t\t\t\t} // Subtract the reference value from all of the track values\n\n\n\t\t\t\tconst numTimes = targetTrack.times.length;\n\n\t\t\t\tfor (let j = 0; j < numTimes; ++j) {\n\t\t\t\t\tconst valueStart = j * targetValueSize + targetOffset;\n\n\t\t\t\t\tif (referenceTrackType === 'quaternion') {\n\t\t\t\t\t\t// Multiply the conjugate for quaternion track types\n\t\t\t\t\t\tQuaternion.multiplyQuaternionsFlat(targetTrack.values, valueStart, referenceValue, 0, targetTrack.values, valueStart);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconst valueEnd = targetValueSize - targetOffset * 2; // Subtract each value for all other numeric track types\n\n\t\t\t\t\t\tfor (let k = 0; k < valueEnd; ++k) {\n\t\t\t\t\t\t\ttargetTrack.values[valueStart + k] -= referenceValue[k];\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\ttargetClip.blendMode = AdditiveAnimationBlendMode;\n\t\t\treturn targetClip;\n\t\t}\n\t};\n\n\t/**\n\t * Abstract base class of interpolants over parametric samples.\n\t *\n\t * The parameter domain is one dimensional, typically the time or a path\n\t * along a curve defined by the data.\n\t *\n\t * The sample values can have any dimensionality and derived classes may\n\t * apply special interpretations to the data.\n\t *\n\t * This class provides the interval seek in a Template Method, deferring\n\t * the actual interpolation to derived classes.\n\t *\n\t * Time complexity is O(1) for linear access crossing at most two points\n\t * and O(log N) for random access, where N is the number of positions.\n\t *\n\t * References:\n\t *\n\t * \t\thttp://www.oodesign.com/template-method-pattern.html\n\t *\n\t */\n\tclass Interpolant {\n\t\tconstructor(parameterPositions, sampleValues, sampleSize, resultBuffer) {\n\t\t\tthis.parameterPositions = parameterPositions;\n\t\t\tthis._cachedIndex = 0;\n\t\t\tthis.resultBuffer = resultBuffer !== undefined ? resultBuffer : new sampleValues.constructor(sampleSize);\n\t\t\tthis.sampleValues = sampleValues;\n\t\t\tthis.valueSize = sampleSize;\n\t\t\tthis.settings = null;\n\t\t\tthis.DefaultSettings_ = {};\n\t\t}\n\n\t\tevaluate(t) {\n\t\t\tconst pp = this.parameterPositions;\n\t\t\tlet i1 = this._cachedIndex,\n\t\t\t\t\tt1 = pp[i1],\n\t\t\t\t\tt0 = pp[i1 - 1];\n\n\t\t\tvalidate_interval: {\n\t\t\t\tseek: {\n\t\t\t\t\tlet right;\n\n\t\t\t\t\tlinear_scan: {\n\t\t\t\t\t\t//- See http://jsperf.com/comparison-to-undefined/3\n\t\t\t\t\t\t//- slower code:\n\t\t\t\t\t\t//-\n\t\t\t\t\t\t//- \t\t\t\tif ( t >= t1 || t1 === undefined ) {\n\t\t\t\t\t\tforward_scan: if (!(t < t1)) {\n\t\t\t\t\t\t\tfor (let giveUpAt = i1 + 2;;) {\n\t\t\t\t\t\t\t\tif (t1 === undefined) {\n\t\t\t\t\t\t\t\t\tif (t < t0) break forward_scan; // after end\n\n\t\t\t\t\t\t\t\t\ti1 = pp.length;\n\t\t\t\t\t\t\t\t\tthis._cachedIndex = i1;\n\t\t\t\t\t\t\t\t\treturn this.copySampleValue_(i1 - 1);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (i1 === giveUpAt) break; // this loop\n\n\t\t\t\t\t\t\t\tt0 = t1;\n\t\t\t\t\t\t\t\tt1 = pp[++i1];\n\n\t\t\t\t\t\t\t\tif (t < t1) {\n\t\t\t\t\t\t\t\t\t// we have arrived at the sought interval\n\t\t\t\t\t\t\t\t\tbreak seek;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} // prepare binary search on the right side of the index\n\n\n\t\t\t\t\t\t\tright = pp.length;\n\t\t\t\t\t\t\tbreak linear_scan;\n\t\t\t\t\t\t} //- slower code:\n\t\t\t\t\t\t//-\t\t\t\t\tif ( t < t0 || t0 === undefined ) {\n\n\n\t\t\t\t\t\tif (!(t >= t0)) {\n\t\t\t\t\t\t\t// looping?\n\t\t\t\t\t\t\tconst t1global = pp[1];\n\n\t\t\t\t\t\t\tif (t < t1global) {\n\t\t\t\t\t\t\t\ti1 = 2; // + 1, using the scan for the details\n\n\t\t\t\t\t\t\t\tt0 = t1global;\n\t\t\t\t\t\t\t} // linear reverse scan\n\n\n\t\t\t\t\t\t\tfor (let giveUpAt = i1 - 2;;) {\n\t\t\t\t\t\t\t\tif (t0 === undefined) {\n\t\t\t\t\t\t\t\t\t// before start\n\t\t\t\t\t\t\t\t\tthis._cachedIndex = 0;\n\t\t\t\t\t\t\t\t\treturn this.copySampleValue_(0);\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\tif (i1 === giveUpAt) break; // this loop\n\n\t\t\t\t\t\t\t\tt1 = t0;\n\t\t\t\t\t\t\t\tt0 = pp[--i1 - 1];\n\n\t\t\t\t\t\t\t\tif (t >= t0) {\n\t\t\t\t\t\t\t\t\t// we have arrived at the sought interval\n\t\t\t\t\t\t\t\t\tbreak seek;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} // prepare binary search on the left side of the index\n\n\n\t\t\t\t\t\t\tright = i1;\n\t\t\t\t\t\t\ti1 = 0;\n\t\t\t\t\t\t\tbreak linear_scan;\n\t\t\t\t\t\t} // the interval is valid\n\n\n\t\t\t\t\t\tbreak validate_interval;\n\t\t\t\t\t} // linear scan\n\t\t\t\t\t// binary search\n\n\n\t\t\t\t\twhile (i1 < right) {\n\t\t\t\t\t\tconst mid = i1 + right >>> 1;\n\n\t\t\t\t\t\tif (t < pp[mid]) {\n\t\t\t\t\t\t\tright = mid;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ti1 = mid + 1;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tt1 = pp[i1];\n\t\t\t\t\tt0 = pp[i1 - 1]; // check boundary cases, again\n\n\t\t\t\t\tif (t0 === undefined) {\n\t\t\t\t\t\tthis._cachedIndex = 0;\n\t\t\t\t\t\treturn this.copySampleValue_(0);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (t1 === undefined) {\n\t\t\t\t\t\ti1 = pp.length;\n\t\t\t\t\t\tthis._cachedIndex = i1;\n\t\t\t\t\t\treturn this.copySampleValue_(i1 - 1);\n\t\t\t\t\t}\n\t\t\t\t} // seek\n\n\n\t\t\t\tthis._cachedIndex = i1;\n\t\t\t\tthis.intervalChanged_(i1, t0, t1);\n\t\t\t} // validate_interval\n\n\n\t\t\treturn this.interpolate_(i1, t0, t, t1);\n\t\t}\n\n\t\tgetSettings_() {\n\t\t\treturn this.settings || this.DefaultSettings_;\n\t\t}\n\n\t\tcopySampleValue_(index) {\n\t\t\t// copies a sample value to the result buffer\n\t\t\tconst result = this.resultBuffer,\n\t\t\t\t\t\tvalues = this.sampleValues,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\toffset = index * stride;\n\n\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\tresult[i] = values[offset + i];\n\t\t\t}\n\n\t\t\treturn result;\n\t\t} // Template methods for derived classes:\n\n\n\t\tinterpolate_() {\n\t\t\tthrow new Error('call to abstract method'); // implementations shall return this.resultBuffer\n\t\t}\n\n\t\tintervalChanged_() {// empty\n\t\t}\n\n\t}\n\n\t/**\n\t * Fast and simple cubic spline interpolant.\n\t *\n\t * It was derived from a Hermitian construction setting the first derivative\n\t * at each sample position to the linear slope between neighboring positions\n\t * over their parameter interval.\n\t */\n\n\tclass CubicInterpolant extends Interpolant {\n\t\tconstructor(parameterPositions, sampleValues, sampleSize, resultBuffer) {\n\t\t\tsuper(parameterPositions, sampleValues, sampleSize, resultBuffer);\n\t\t\tthis._weightPrev = -0;\n\t\t\tthis._offsetPrev = -0;\n\t\t\tthis._weightNext = -0;\n\t\t\tthis._offsetNext = -0;\n\t\t\tthis.DefaultSettings_ = {\n\t\t\t\tendingStart: ZeroCurvatureEnding,\n\t\t\t\tendingEnd: ZeroCurvatureEnding\n\t\t\t};\n\t\t}\n\n\t\tintervalChanged_(i1, t0, t1) {\n\t\t\tconst pp = this.parameterPositions;\n\t\t\tlet iPrev = i1 - 2,\n\t\t\t\t\tiNext = i1 + 1,\n\t\t\t\t\ttPrev = pp[iPrev],\n\t\t\t\t\ttNext = pp[iNext];\n\n\t\t\tif (tPrev === undefined) {\n\t\t\t\tswitch (this.getSettings_().endingStart) {\n\t\t\t\t\tcase ZeroSlopeEnding:\n\t\t\t\t\t\t// f'(t0) = 0\n\t\t\t\t\t\tiPrev = i1;\n\t\t\t\t\t\ttPrev = 2 * t0 - t1;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase WrapAroundEnding:\n\t\t\t\t\t\t// use the other end of the curve\n\t\t\t\t\t\tiPrev = pp.length - 2;\n\t\t\t\t\t\ttPrev = t0 + pp[iPrev] - pp[iPrev + 1];\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// ZeroCurvatureEnding\n\t\t\t\t\t\t// f''(t0) = 0 a.k.a. Natural Spline\n\t\t\t\t\t\tiPrev = i1;\n\t\t\t\t\t\ttPrev = t1;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (tNext === undefined) {\n\t\t\t\tswitch (this.getSettings_().endingEnd) {\n\t\t\t\t\tcase ZeroSlopeEnding:\n\t\t\t\t\t\t// f'(tN) = 0\n\t\t\t\t\t\tiNext = i1;\n\t\t\t\t\t\ttNext = 2 * t1 - t0;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase WrapAroundEnding:\n\t\t\t\t\t\t// use the other end of the curve\n\t\t\t\t\t\tiNext = 1;\n\t\t\t\t\t\ttNext = t1 + pp[1] - pp[0];\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\t// ZeroCurvatureEnding\n\t\t\t\t\t\t// f''(tN) = 0, a.k.a. Natural Spline\n\t\t\t\t\t\tiNext = i1 - 1;\n\t\t\t\t\t\ttNext = t0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst halfDt = (t1 - t0) * 0.5,\n\t\t\t\t\t\tstride = this.valueSize;\n\t\t\tthis._weightPrev = halfDt / (t0 - tPrev);\n\t\t\tthis._weightNext = halfDt / (tNext - t1);\n\t\t\tthis._offsetPrev = iPrev * stride;\n\t\t\tthis._offsetNext = iNext * stride;\n\t\t}\n\n\t\tinterpolate_(i1, t0, t, t1) {\n\t\t\tconst result = this.resultBuffer,\n\t\t\t\t\t\tvalues = this.sampleValues,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\to1 = i1 * stride,\n\t\t\t\t\t\to0 = o1 - stride,\n\t\t\t\t\t\toP = this._offsetPrev,\n\t\t\t\t\t\toN = this._offsetNext,\n\t\t\t\t\t\twP = this._weightPrev,\n\t\t\t\t\t\twN = this._weightNext,\n\t\t\t\t\t\tp = (t - t0) / (t1 - t0),\n\t\t\t\t\t\tpp = p * p,\n\t\t\t\t\t\tppp = pp * p; // evaluate polynomials\n\n\t\t\tconst sP = -wP * ppp + 2 * wP * pp - wP * p;\n\t\t\tconst s0 = (1 + wP) * ppp + (-1.5 - 2 * wP) * pp + (-0.5 + wP) * p + 1;\n\t\t\tconst s1 = (-1 - wN) * ppp + (1.5 + wN) * pp + 0.5 * p;\n\t\t\tconst sN = wN * ppp - wN * pp; // combine data linearly\n\n\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\tresult[i] = sP * values[oP + i] + s0 * values[o0 + i] + s1 * values[o1 + i] + sN * values[oN + i];\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\n\t}\n\n\tclass LinearInterpolant extends Interpolant {\n\t\tconstructor(parameterPositions, sampleValues, sampleSize, resultBuffer) {\n\t\t\tsuper(parameterPositions, sampleValues, sampleSize, resultBuffer);\n\t\t}\n\n\t\tinterpolate_(i1, t0, t, t1) {\n\t\t\tconst result = this.resultBuffer,\n\t\t\t\t\t\tvalues = this.sampleValues,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\toffset1 = i1 * stride,\n\t\t\t\t\t\toffset0 = offset1 - stride,\n\t\t\t\t\t\tweight1 = (t - t0) / (t1 - t0),\n\t\t\t\t\t\tweight0 = 1 - weight1;\n\n\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\tresult[i] = values[offset0 + i] * weight0 + values[offset1 + i] * weight1;\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\n\t}\n\n\t/**\n\t *\n\t * Interpolant that evaluates to the sample value at the position preceding\n\t * the parameter.\n\t */\n\n\tclass DiscreteInterpolant extends Interpolant {\n\t\tconstructor(parameterPositions, sampleValues, sampleSize, resultBuffer) {\n\t\t\tsuper(parameterPositions, sampleValues, sampleSize, resultBuffer);\n\t\t}\n\n\t\tinterpolate_(i1\n\t\t/*, t0, t, t1 */\n\t\t) {\n\t\t\treturn this.copySampleValue_(i1 - 1);\n\t\t}\n\n\t}\n\n\tclass KeyframeTrack {\n\t\tconstructor(name, times, values, interpolation) {\n\t\t\tif (name === undefined) throw new Error('THREE.KeyframeTrack: track name is undefined');\n\t\t\tif (times === undefined || times.length === 0) throw new Error('THREE.KeyframeTrack: no keyframes in track named ' + name);\n\t\t\tthis.name = name;\n\t\t\tthis.times = AnimationUtils.convertArray(times, this.TimeBufferType);\n\t\t\tthis.values = AnimationUtils.convertArray(values, this.ValueBufferType);\n\t\t\tthis.setInterpolation(interpolation || this.DefaultInterpolation);\n\t\t} // Serialization (in static context, because of constructor invocation\n\t\t// and automatic invocation of .toJSON):\n\n\n\t\tstatic toJSON(track) {\n\t\t\tconst trackType = track.constructor;\n\t\t\tlet json; // derived classes can define a static toJSON method\n\n\t\t\tif (trackType.toJSON !== this.toJSON) {\n\t\t\t\tjson = trackType.toJSON(track);\n\t\t\t} else {\n\t\t\t\t// by default, we assume the data can be serialized as-is\n\t\t\t\tjson = {\n\t\t\t\t\t'name': track.name,\n\t\t\t\t\t'times': AnimationUtils.convertArray(track.times, Array),\n\t\t\t\t\t'values': AnimationUtils.convertArray(track.values, Array)\n\t\t\t\t};\n\t\t\t\tconst interpolation = track.getInterpolation();\n\n\t\t\t\tif (interpolation !== track.DefaultInterpolation) {\n\t\t\t\t\tjson.interpolation = interpolation;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tjson.type = track.ValueTypeName; // mandatory\n\n\t\t\treturn json;\n\t\t}\n\n\t\tInterpolantFactoryMethodDiscrete(result) {\n\t\t\treturn new DiscreteInterpolant(this.times, this.values, this.getValueSize(), result);\n\t\t}\n\n\t\tInterpolantFactoryMethodLinear(result) {\n\t\t\treturn new LinearInterpolant(this.times, this.values, this.getValueSize(), result);\n\t\t}\n\n\t\tInterpolantFactoryMethodSmooth(result) {\n\t\t\treturn new CubicInterpolant(this.times, this.values, this.getValueSize(), result);\n\t\t}\n\n\t\tsetInterpolation(interpolation) {\n\t\t\tlet factoryMethod;\n\n\t\t\tswitch (interpolation) {\n\t\t\t\tcase InterpolateDiscrete:\n\t\t\t\t\tfactoryMethod = this.InterpolantFactoryMethodDiscrete;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase InterpolateLinear:\n\t\t\t\t\tfactoryMethod = this.InterpolantFactoryMethodLinear;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase InterpolateSmooth:\n\t\t\t\t\tfactoryMethod = this.InterpolantFactoryMethodSmooth;\n\t\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (factoryMethod === undefined) {\n\t\t\t\tconst message = 'unsupported interpolation for ' + this.ValueTypeName + ' keyframe track named ' + this.name;\n\n\t\t\t\tif (this.createInterpolant === undefined) {\n\t\t\t\t\t// fall back to default, unless the default itself is messed up\n\t\t\t\t\tif (interpolation !== this.DefaultInterpolation) {\n\t\t\t\t\t\tthis.setInterpolation(this.DefaultInterpolation);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthrow new Error(message); // fatal, in this case\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tconsole.warn('THREE.KeyframeTrack:', message);\n\t\t\t\treturn this;\n\t\t\t}\n\n\t\t\tthis.createInterpolant = factoryMethod;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetInterpolation() {\n\t\t\tswitch (this.createInterpolant) {\n\t\t\t\tcase this.InterpolantFactoryMethodDiscrete:\n\t\t\t\t\treturn InterpolateDiscrete;\n\n\t\t\t\tcase this.InterpolantFactoryMethodLinear:\n\t\t\t\t\treturn InterpolateLinear;\n\n\t\t\t\tcase this.InterpolantFactoryMethodSmooth:\n\t\t\t\t\treturn InterpolateSmooth;\n\t\t\t}\n\t\t}\n\n\t\tgetValueSize() {\n\t\t\treturn this.values.length / this.times.length;\n\t\t} // move all keyframes either forwards or backwards in time\n\n\n\t\tshift(timeOffset) {\n\t\t\tif (timeOffset !== 0.0) {\n\t\t\t\tconst times = this.times;\n\n\t\t\t\tfor (let i = 0, n = times.length; i !== n; ++i) {\n\t\t\t\t\ttimes[i] += timeOffset;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // scale all keyframe times by a factor (useful for frame <-> seconds conversions)\n\n\n\t\tscale(timeScale) {\n\t\t\tif (timeScale !== 1.0) {\n\t\t\t\tconst times = this.times;\n\n\t\t\t\tfor (let i = 0, n = times.length; i !== n; ++i) {\n\t\t\t\t\ttimes[i] *= timeScale;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // removes keyframes before and after animation without changing any values within the range [startTime, endTime].\n\t\t// IMPORTANT: We do not shift around keys to the start of the track time, because for interpolated keys this will change their values\n\n\n\t\ttrim(startTime, endTime) {\n\t\t\tconst times = this.times,\n\t\t\t\t\t\tnKeys = times.length;\n\t\t\tlet from = 0,\n\t\t\t\t\tto = nKeys - 1;\n\n\t\t\twhile (from !== nKeys && times[from] < startTime) {\n\t\t\t\t++from;\n\t\t\t}\n\n\t\t\twhile (to !== -1 && times[to] > endTime) {\n\t\t\t\t--to;\n\t\t\t}\n\n\t\t\t++to; // inclusive -> exclusive bound\n\n\t\t\tif (from !== 0 || to !== nKeys) {\n\t\t\t\t// empty tracks are forbidden, so keep at least one keyframe\n\t\t\t\tif (from >= to) {\n\t\t\t\t\tto = Math.max(to, 1);\n\t\t\t\t\tfrom = to - 1;\n\t\t\t\t}\n\n\t\t\t\tconst stride = this.getValueSize();\n\t\t\t\tthis.times = AnimationUtils.arraySlice(times, from, to);\n\t\t\t\tthis.values = AnimationUtils.arraySlice(this.values, from * stride, to * stride);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // ensure we do not get a GarbageInGarbageOut situation, make sure tracks are at least minimally viable\n\n\n\t\tvalidate() {\n\t\t\tlet valid = true;\n\t\t\tconst valueSize = this.getValueSize();\n\n\t\t\tif (valueSize - Math.floor(valueSize) !== 0) {\n\t\t\t\tconsole.error('THREE.KeyframeTrack: Invalid value size in track.', this);\n\t\t\t\tvalid = false;\n\t\t\t}\n\n\t\t\tconst times = this.times,\n\t\t\t\t\t\tvalues = this.values,\n\t\t\t\t\t\tnKeys = times.length;\n\n\t\t\tif (nKeys === 0) {\n\t\t\t\tconsole.error('THREE.KeyframeTrack: Track is empty.', this);\n\t\t\t\tvalid = false;\n\t\t\t}\n\n\t\t\tlet prevTime = null;\n\n\t\t\tfor (let i = 0; i !== nKeys; i++) {\n\t\t\t\tconst currTime = times[i];\n\n\t\t\t\tif (typeof currTime === 'number' && isNaN(currTime)) {\n\t\t\t\t\tconsole.error('THREE.KeyframeTrack: Time is not a valid number.', this, i, currTime);\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif (prevTime !== null && prevTime > currTime) {\n\t\t\t\t\tconsole.error('THREE.KeyframeTrack: Out of order keys.', this, i, currTime, prevTime);\n\t\t\t\t\tvalid = false;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tprevTime = currTime;\n\t\t\t}\n\n\t\t\tif (values !== undefined) {\n\t\t\t\tif (AnimationUtils.isTypedArray(values)) {\n\t\t\t\t\tfor (let i = 0, n = values.length; i !== n; ++i) {\n\t\t\t\t\t\tconst value = values[i];\n\n\t\t\t\t\t\tif (isNaN(value)) {\n\t\t\t\t\t\t\tconsole.error('THREE.KeyframeTrack: Value is not a valid number.', this, i, value);\n\t\t\t\t\t\t\tvalid = false;\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}\n\t\t\t}\n\n\t\t\treturn valid;\n\t\t} // removes equivalent sequential keys as common in morph target sequences\n\t\t// (0,0,0,0,1,1,1,0,0,0,0,0,0,0) --> (0,0,1,1,0,0)\n\n\n\t\toptimize() {\n\t\t\t// times or values may be shared with other tracks, so overwriting is unsafe\n\t\t\tconst times = AnimationUtils.arraySlice(this.times),\n\t\t\t\t\t\tvalues = AnimationUtils.arraySlice(this.values),\n\t\t\t\t\t\tstride = this.getValueSize(),\n\t\t\t\t\t\tsmoothInterpolation = this.getInterpolation() === InterpolateSmooth,\n\t\t\t\t\t\tlastIndex = times.length - 1;\n\t\t\tlet writeIndex = 1;\n\n\t\t\tfor (let i = 1; i < lastIndex; ++i) {\n\t\t\t\tlet keep = false;\n\t\t\t\tconst time = times[i];\n\t\t\t\tconst timeNext = times[i + 1]; // remove adjacent keyframes scheduled at the same time\n\n\t\t\t\tif (time !== timeNext && (i !== 1 || time !== times[0])) {\n\t\t\t\t\tif (!smoothInterpolation) {\n\t\t\t\t\t\t// remove unnecessary keyframes same as their neighbors\n\t\t\t\t\t\tconst offset = i * stride,\n\t\t\t\t\t\t\t\t\toffsetP = offset - stride,\n\t\t\t\t\t\t\t\t\toffsetN = offset + stride;\n\n\t\t\t\t\t\tfor (let j = 0; j !== stride; ++j) {\n\t\t\t\t\t\t\tconst value = values[offset + j];\n\n\t\t\t\t\t\t\tif (value !== values[offsetP + j] || value !== values[offsetN + j]) {\n\t\t\t\t\t\t\t\tkeep = true;\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} else {\n\t\t\t\t\t\tkeep = true;\n\t\t\t\t\t}\n\t\t\t\t} // in-place compaction\n\n\n\t\t\t\tif (keep) {\n\t\t\t\t\tif (i !== writeIndex) {\n\t\t\t\t\t\ttimes[writeIndex] = times[i];\n\t\t\t\t\t\tconst readOffset = i * stride,\n\t\t\t\t\t\t\t\t\twriteOffset = writeIndex * stride;\n\n\t\t\t\t\t\tfor (let j = 0; j !== stride; ++j) {\n\t\t\t\t\t\t\tvalues[writeOffset + j] = values[readOffset + j];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t++writeIndex;\n\t\t\t\t}\n\t\t\t} // flush last keyframe (compaction looks ahead)\n\n\n\t\t\tif (lastIndex > 0) {\n\t\t\t\ttimes[writeIndex] = times[lastIndex];\n\n\t\t\t\tfor (let readOffset = lastIndex * stride, writeOffset = writeIndex * stride, j = 0; j !== stride; ++j) {\n\t\t\t\t\tvalues[writeOffset + j] = values[readOffset + j];\n\t\t\t\t}\n\n\t\t\t\t++writeIndex;\n\t\t\t}\n\n\t\t\tif (writeIndex !== times.length) {\n\t\t\t\tthis.times = AnimationUtils.arraySlice(times, 0, writeIndex);\n\t\t\t\tthis.values = AnimationUtils.arraySlice(values, 0, writeIndex * stride);\n\t\t\t} else {\n\t\t\t\tthis.times = times;\n\t\t\t\tthis.values = values;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\tconst times = AnimationUtils.arraySlice(this.times, 0);\n\t\t\tconst values = AnimationUtils.arraySlice(this.values, 0);\n\t\t\tconst TypedKeyframeTrack = this.constructor;\n\t\t\tconst track = new TypedKeyframeTrack(this.name, times, values); // Interpolant argument to constructor is not saved, so copy the factory method directly.\n\n\t\t\ttrack.createInterpolant = this.createInterpolant;\n\t\t\treturn track;\n\t\t}\n\n\t}\n\n\tKeyframeTrack.prototype.TimeBufferType = Float32Array;\n\tKeyframeTrack.prototype.ValueBufferType = Float32Array;\n\tKeyframeTrack.prototype.DefaultInterpolation = InterpolateLinear;\n\n\t/**\n\t * A Track of Boolean keyframe values.\n\t */\n\n\tclass BooleanKeyframeTrack extends KeyframeTrack {}\n\n\tBooleanKeyframeTrack.prototype.ValueTypeName = 'bool';\n\tBooleanKeyframeTrack.prototype.ValueBufferType = Array;\n\tBooleanKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete;\n\tBooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined;\n\tBooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined; // Note: Actually this track could have a optimized / compressed\n\n\t/**\n\t * A Track of keyframe values that represent color.\n\t */\n\n\tclass ColorKeyframeTrack extends KeyframeTrack {}\n\n\tColorKeyframeTrack.prototype.ValueTypeName = 'color'; // ValueBufferType is inherited\n\n\t/**\n\t * A Track of numeric keyframe values.\n\t */\n\n\tclass NumberKeyframeTrack extends KeyframeTrack {}\n\n\tNumberKeyframeTrack.prototype.ValueTypeName = 'number'; // ValueBufferType is inherited\n\n\t/**\n\t * Spherical linear unit quaternion interpolant.\n\t */\n\n\tclass QuaternionLinearInterpolant extends Interpolant {\n\t\tconstructor(parameterPositions, sampleValues, sampleSize, resultBuffer) {\n\t\t\tsuper(parameterPositions, sampleValues, sampleSize, resultBuffer);\n\t\t}\n\n\t\tinterpolate_(i1, t0, t, t1) {\n\t\t\tconst result = this.resultBuffer,\n\t\t\t\t\t\tvalues = this.sampleValues,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\talpha = (t - t0) / (t1 - t0);\n\t\t\tlet offset = i1 * stride;\n\n\t\t\tfor (let end = offset + stride; offset !== end; offset += 4) {\n\t\t\t\tQuaternion.slerpFlat(result, 0, values, offset - stride, values, offset, alpha);\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\n\t}\n\n\t/**\n\t * A Track of quaternion keyframe values.\n\t */\n\n\tclass QuaternionKeyframeTrack extends KeyframeTrack {\n\t\tInterpolantFactoryMethodLinear(result) {\n\t\t\treturn new QuaternionLinearInterpolant(this.times, this.values, this.getValueSize(), result);\n\t\t}\n\n\t}\n\n\tQuaternionKeyframeTrack.prototype.ValueTypeName = 'quaternion'; // ValueBufferType is inherited\n\n\tQuaternionKeyframeTrack.prototype.DefaultInterpolation = InterpolateLinear;\n\tQuaternionKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined;\n\n\t/**\n\t * A Track that interpolates Strings\n\t */\n\n\tclass StringKeyframeTrack extends KeyframeTrack {}\n\n\tStringKeyframeTrack.prototype.ValueTypeName = 'string';\n\tStringKeyframeTrack.prototype.ValueBufferType = Array;\n\tStringKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete;\n\tStringKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined;\n\tStringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined;\n\n\t/**\n\t * A Track of vectored keyframe values.\n\t */\n\n\tclass VectorKeyframeTrack extends KeyframeTrack {}\n\n\tVectorKeyframeTrack.prototype.ValueTypeName = 'vector'; // ValueBufferType is inherited\n\n\tclass AnimationClip {\n\t\tconstructor(name, duration = -1, tracks, blendMode = NormalAnimationBlendMode) {\n\t\t\tthis.name = name;\n\t\t\tthis.tracks = tracks;\n\t\t\tthis.duration = duration;\n\t\t\tthis.blendMode = blendMode;\n\t\t\tthis.uuid = generateUUID(); // this means it should figure out its duration by scanning the tracks\n\n\t\t\tif (this.duration < 0) {\n\t\t\t\tthis.resetDuration();\n\t\t\t}\n\t\t}\n\n\t\tstatic parse(json) {\n\t\t\tconst tracks = [],\n\t\t\t\t\t\tjsonTracks = json.tracks,\n\t\t\t\t\t\tframeTime = 1.0 / (json.fps || 1.0);\n\n\t\t\tfor (let i = 0, n = jsonTracks.length; i !== n; ++i) {\n\t\t\t\ttracks.push(parseKeyframeTrack(jsonTracks[i]).scale(frameTime));\n\t\t\t}\n\n\t\t\tconst clip = new this(json.name, json.duration, tracks, json.blendMode);\n\t\t\tclip.uuid = json.uuid;\n\t\t\treturn clip;\n\t\t}\n\n\t\tstatic toJSON(clip) {\n\t\t\tconst tracks = [],\n\t\t\t\t\t\tclipTracks = clip.tracks;\n\t\t\tconst json = {\n\t\t\t\t'name': clip.name,\n\t\t\t\t'duration': clip.duration,\n\t\t\t\t'tracks': tracks,\n\t\t\t\t'uuid': clip.uuid,\n\t\t\t\t'blendMode': clip.blendMode\n\t\t\t};\n\n\t\t\tfor (let i = 0, n = clipTracks.length; i !== n; ++i) {\n\t\t\t\ttracks.push(KeyframeTrack.toJSON(clipTracks[i]));\n\t\t\t}\n\n\t\t\treturn json;\n\t\t}\n\n\t\tstatic CreateFromMorphTargetSequence(name, morphTargetSequence, fps, noLoop) {\n\t\t\tconst numMorphTargets = morphTargetSequence.length;\n\t\t\tconst tracks = [];\n\n\t\t\tfor (let i = 0; i < numMorphTargets; i++) {\n\t\t\t\tlet times = [];\n\t\t\t\tlet values = [];\n\t\t\t\ttimes.push((i + numMorphTargets - 1) % numMorphTargets, i, (i + 1) % numMorphTargets);\n\t\t\t\tvalues.push(0, 1, 0);\n\t\t\t\tconst order = AnimationUtils.getKeyframeOrder(times);\n\t\t\t\ttimes = AnimationUtils.sortedArray(times, 1, order);\n\t\t\t\tvalues = AnimationUtils.sortedArray(values, 1, order); // if there is a key at the first frame, duplicate it as the\n\t\t\t\t// last frame as well for perfect loop.\n\n\t\t\t\tif (!noLoop && times[0] === 0) {\n\t\t\t\t\ttimes.push(numMorphTargets);\n\t\t\t\t\tvalues.push(values[0]);\n\t\t\t\t}\n\n\t\t\t\ttracks.push(new NumberKeyframeTrack('.morphTargetInfluences[' + morphTargetSequence[i].name + ']', times, values).scale(1.0 / fps));\n\t\t\t}\n\n\t\t\treturn new this(name, -1, tracks);\n\t\t}\n\n\t\tstatic findByName(objectOrClipArray, name) {\n\t\t\tlet clipArray = objectOrClipArray;\n\n\t\t\tif (!Array.isArray(objectOrClipArray)) {\n\t\t\t\tconst o = objectOrClipArray;\n\t\t\t\tclipArray = o.geometry && o.geometry.animations || o.animations;\n\t\t\t}\n\n\t\t\tfor (let i = 0; i < clipArray.length; i++) {\n\t\t\t\tif (clipArray[i].name === name) {\n\t\t\t\t\treturn clipArray[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn null;\n\t\t}\n\n\t\tstatic CreateClipsFromMorphTargetSequences(morphTargets, fps, noLoop) {\n\t\t\tconst animationToMorphTargets = {}; // tested with https://regex101.com/ on trick sequences\n\t\t\t// such flamingo_flyA_003, flamingo_run1_003, crdeath0059\n\n\t\t\tconst pattern = /^([\\w-]*?)([\\d]+)$/; // sort morph target names into animation groups based\n\t\t\t// patterns like Walk_001, Walk_002, Run_001, Run_002\n\n\t\t\tfor (let i = 0, il = morphTargets.length; i < il; i++) {\n\t\t\t\tconst morphTarget = morphTargets[i];\n\t\t\t\tconst parts = morphTarget.name.match(pattern);\n\n\t\t\t\tif (parts && parts.length > 1) {\n\t\t\t\t\tconst name = parts[1];\n\t\t\t\t\tlet animationMorphTargets = animationToMorphTargets[name];\n\n\t\t\t\t\tif (!animationMorphTargets) {\n\t\t\t\t\t\tanimationToMorphTargets[name] = animationMorphTargets = [];\n\t\t\t\t\t}\n\n\t\t\t\t\tanimationMorphTargets.push(morphTarget);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst clips = [];\n\n\t\t\tfor (const name in animationToMorphTargets) {\n\t\t\t\tclips.push(this.CreateFromMorphTargetSequence(name, animationToMorphTargets[name], fps, noLoop));\n\t\t\t}\n\n\t\t\treturn clips;\n\t\t} // parse the animation.hierarchy format\n\n\n\t\tstatic parseAnimation(animation, bones) {\n\t\t\tif (!animation) {\n\t\t\t\tconsole.error('THREE.AnimationClip: No animation in JSONLoader data.');\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst addNonemptyTrack = function (trackType, trackName, animationKeys, propertyName, destTracks) {\n\t\t\t\t// only return track if there are actually keys.\n\t\t\t\tif (animationKeys.length !== 0) {\n\t\t\t\t\tconst times = [];\n\t\t\t\t\tconst values = [];\n\t\t\t\t\tAnimationUtils.flattenJSON(animationKeys, times, values, propertyName); // empty keys are filtered out, so check again\n\n\t\t\t\t\tif (times.length !== 0) {\n\t\t\t\t\t\tdestTracks.push(new trackType(trackName, times, values));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tconst tracks = [];\n\t\t\tconst clipName = animation.name || 'default';\n\t\t\tconst fps = animation.fps || 30;\n\t\t\tconst blendMode = animation.blendMode; // automatic length determination in AnimationClip.\n\n\t\t\tlet duration = animation.length || -1;\n\t\t\tconst hierarchyTracks = animation.hierarchy || [];\n\n\t\t\tfor (let h = 0; h < hierarchyTracks.length; h++) {\n\t\t\t\tconst animationKeys = hierarchyTracks[h].keys; // skip empty tracks\n\n\t\t\t\tif (!animationKeys || animationKeys.length === 0) continue; // process morph targets\n\n\t\t\t\tif (animationKeys[0].morphTargets) {\n\t\t\t\t\t// figure out all morph targets used in this track\n\t\t\t\t\tconst morphTargetNames = {};\n\t\t\t\t\tlet k;\n\n\t\t\t\t\tfor (k = 0; k < animationKeys.length; k++) {\n\t\t\t\t\t\tif (animationKeys[k].morphTargets) {\n\t\t\t\t\t\t\tfor (let m = 0; m < animationKeys[k].morphTargets.length; m++) {\n\t\t\t\t\t\t\t\tmorphTargetNames[animationKeys[k].morphTargets[m]] = -1;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t} // create a track for each morph target with all zero\n\t\t\t\t\t// morphTargetInfluences except for the keys in which\n\t\t\t\t\t// the morphTarget is named.\n\n\n\t\t\t\t\tfor (const morphTargetName in morphTargetNames) {\n\t\t\t\t\t\tconst times = [];\n\t\t\t\t\t\tconst values = [];\n\n\t\t\t\t\t\tfor (let m = 0; m !== animationKeys[k].morphTargets.length; ++m) {\n\t\t\t\t\t\t\tconst animationKey = animationKeys[k];\n\t\t\t\t\t\t\ttimes.push(animationKey.time);\n\t\t\t\t\t\t\tvalues.push(animationKey.morphTarget === morphTargetName ? 1 : 0);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttracks.push(new NumberKeyframeTrack('.morphTargetInfluence[' + morphTargetName + ']', times, values));\n\t\t\t\t\t}\n\n\t\t\t\t\tduration = morphTargetNames.length * fps;\n\t\t\t\t} else {\n\t\t\t\t\t// ...assume skeletal animation\n\t\t\t\t\tconst boneName = '.bones[' + bones[h].name + ']';\n\t\t\t\t\taddNonemptyTrack(VectorKeyframeTrack, boneName + '.position', animationKeys, 'pos', tracks);\n\t\t\t\t\taddNonemptyTrack(QuaternionKeyframeTrack, boneName + '.quaternion', animationKeys, 'rot', tracks);\n\t\t\t\t\taddNonemptyTrack(VectorKeyframeTrack, boneName + '.scale', animationKeys, 'scl', tracks);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (tracks.length === 0) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tconst clip = new this(clipName, duration, tracks, blendMode);\n\t\t\treturn clip;\n\t\t}\n\n\t\tresetDuration() {\n\t\t\tconst tracks = this.tracks;\n\t\t\tlet duration = 0;\n\n\t\t\tfor (let i = 0, n = tracks.length; i !== n; ++i) {\n\t\t\t\tconst track = this.tracks[i];\n\t\t\t\tduration = Math.max(duration, track.times[track.times.length - 1]);\n\t\t\t}\n\n\t\t\tthis.duration = duration;\n\t\t\treturn this;\n\t\t}\n\n\t\ttrim() {\n\t\t\tfor (let i = 0; i < this.tracks.length; i++) {\n\t\t\t\tthis.tracks[i].trim(0, this.duration);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tvalidate() {\n\t\t\tlet valid = true;\n\n\t\t\tfor (let i = 0; i < this.tracks.length; i++) {\n\t\t\t\tvalid = valid && this.tracks[i].validate();\n\t\t\t}\n\n\t\t\treturn valid;\n\t\t}\n\n\t\toptimize() {\n\t\t\tfor (let i = 0; i < this.tracks.length; i++) {\n\t\t\t\tthis.tracks[i].optimize();\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\tconst tracks = [];\n\n\t\t\tfor (let i = 0; i < this.tracks.length; i++) {\n\t\t\t\ttracks.push(this.tracks[i].clone());\n\t\t\t}\n\n\t\t\treturn new this.constructor(this.name, this.duration, tracks, this.blendMode);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\treturn this.constructor.toJSON(this);\n\t\t}\n\n\t}\n\n\tfunction getTrackTypeForValueTypeName(typeName) {\n\t\tswitch (typeName.toLowerCase()) {\n\t\t\tcase 'scalar':\n\t\t\tcase 'double':\n\t\t\tcase 'float':\n\t\t\tcase 'number':\n\t\t\tcase 'integer':\n\t\t\t\treturn NumberKeyframeTrack;\n\n\t\t\tcase 'vector':\n\t\t\tcase 'vector2':\n\t\t\tcase 'vector3':\n\t\t\tcase 'vector4':\n\t\t\t\treturn VectorKeyframeTrack;\n\n\t\t\tcase 'color':\n\t\t\t\treturn ColorKeyframeTrack;\n\n\t\t\tcase 'quaternion':\n\t\t\t\treturn QuaternionKeyframeTrack;\n\n\t\t\tcase 'bool':\n\t\t\tcase 'boolean':\n\t\t\t\treturn BooleanKeyframeTrack;\n\n\t\t\tcase 'string':\n\t\t\t\treturn StringKeyframeTrack;\n\t\t}\n\n\t\tthrow new Error('THREE.KeyframeTrack: Unsupported typeName: ' + typeName);\n\t}\n\n\tfunction parseKeyframeTrack(json) {\n\t\tif (json.type === undefined) {\n\t\t\tthrow new Error('THREE.KeyframeTrack: track type undefined, can not parse');\n\t\t}\n\n\t\tconst trackType = getTrackTypeForValueTypeName(json.type);\n\n\t\tif (json.times === undefined) {\n\t\t\tconst times = [],\n\t\t\t\t\t\tvalues = [];\n\t\t\tAnimationUtils.flattenJSON(json.keys, times, values, 'value');\n\t\t\tjson.times = times;\n\t\t\tjson.values = values;\n\t\t} // derived classes can define a static parse method\n\n\n\t\tif (trackType.parse !== undefined) {\n\t\t\treturn trackType.parse(json);\n\t\t} else {\n\t\t\t// by default, we assume a constructor compatible with the base\n\t\t\treturn new trackType(json.name, json.times, json.values, json.interpolation);\n\t\t}\n\t}\n\n\tconst Cache = {\n\t\tenabled: false,\n\t\tfiles: {},\n\t\tadd: function (key, file) {\n\t\t\tif (this.enabled === false) return; // console.log( 'THREE.Cache', 'Adding key:', key );\n\n\t\t\tthis.files[key] = file;\n\t\t},\n\t\tget: function (key) {\n\t\t\tif (this.enabled === false) return; // console.log( 'THREE.Cache', 'Checking key:', key );\n\n\t\t\treturn this.files[key];\n\t\t},\n\t\tremove: function (key) {\n\t\t\tdelete this.files[key];\n\t\t},\n\t\tclear: function () {\n\t\t\tthis.files = {};\n\t\t}\n\t};\n\n\tclass LoadingManager {\n\t\tconstructor(onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tlet isLoading = false;\n\t\t\tlet itemsLoaded = 0;\n\t\t\tlet itemsTotal = 0;\n\t\t\tlet urlModifier = undefined;\n\t\t\tconst handlers = []; // Refer to #5689 for the reason why we don't set .onStart\n\t\t\t// in the constructor\n\n\t\t\tthis.onStart = undefined;\n\t\t\tthis.onLoad = onLoad;\n\t\t\tthis.onProgress = onProgress;\n\t\t\tthis.onError = onError;\n\n\t\t\tthis.itemStart = function (url) {\n\t\t\t\titemsTotal++;\n\n\t\t\t\tif (isLoading === false) {\n\t\t\t\t\tif (scope.onStart !== undefined) {\n\t\t\t\t\t\tscope.onStart(url, itemsLoaded, itemsTotal);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tisLoading = true;\n\t\t\t};\n\n\t\t\tthis.itemEnd = function (url) {\n\t\t\t\titemsLoaded++;\n\n\t\t\t\tif (scope.onProgress !== undefined) {\n\t\t\t\t\tscope.onProgress(url, itemsLoaded, itemsTotal);\n\t\t\t\t}\n\n\t\t\t\tif (itemsLoaded === itemsTotal) {\n\t\t\t\t\tisLoading = false;\n\n\t\t\t\t\tif (scope.onLoad !== undefined) {\n\t\t\t\t\t\tscope.onLoad();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.itemError = function (url) {\n\t\t\t\tif (scope.onError !== undefined) {\n\t\t\t\t\tscope.onError(url);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\tthis.resolveURL = function (url) {\n\t\t\t\tif (urlModifier) {\n\t\t\t\t\treturn urlModifier(url);\n\t\t\t\t}\n\n\t\t\t\treturn url;\n\t\t\t};\n\n\t\t\tthis.setURLModifier = function (transform) {\n\t\t\t\turlModifier = transform;\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\tthis.addHandler = function (regex, loader) {\n\t\t\t\thandlers.push(regex, loader);\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\tthis.removeHandler = function (regex) {\n\t\t\t\tconst index = handlers.indexOf(regex);\n\n\t\t\t\tif (index !== -1) {\n\t\t\t\t\thandlers.splice(index, 2);\n\t\t\t\t}\n\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\tthis.getHandler = function (file) {\n\t\t\t\tfor (let i = 0, l = handlers.length; i < l; i += 2) {\n\t\t\t\t\tconst regex = handlers[i];\n\t\t\t\t\tconst loader = handlers[i + 1];\n\t\t\t\t\tif (regex.global) regex.lastIndex = 0; // see #17920\n\n\t\t\t\t\tif (regex.test(file)) {\n\t\t\t\t\t\treturn loader;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn null;\n\t\t\t};\n\t\t}\n\n\t}\n\n\tconst DefaultLoadingManager = new LoadingManager();\n\n\tclass Loader {\n\t\tconstructor(manager) {\n\t\t\tthis.manager = manager !== undefined ? manager : DefaultLoadingManager;\n\t\t\tthis.crossOrigin = 'anonymous';\n\t\t\tthis.withCredentials = false;\n\t\t\tthis.path = '';\n\t\t\tthis.resourcePath = '';\n\t\t\tthis.requestHeader = {};\n\t\t}\n\n\t\tload() {}\n\n\t\tloadAsync(url, onProgress) {\n\t\t\tconst scope = this;\n\t\t\treturn new Promise(function (resolve, reject) {\n\t\t\t\tscope.load(url, resolve, onProgress, reject);\n\t\t\t});\n\t\t}\n\n\t\tparse() {}\n\n\t\tsetCrossOrigin(crossOrigin) {\n\t\t\tthis.crossOrigin = crossOrigin;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetWithCredentials(value) {\n\t\t\tthis.withCredentials = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetPath(path) {\n\t\t\tthis.path = path;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetResourcePath(resourcePath) {\n\t\t\tthis.resourcePath = resourcePath;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetRequestHeader(requestHeader) {\n\t\t\tthis.requestHeader = requestHeader;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst loading = {};\n\n\tclass FileLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tif (url === undefined) url = '';\n\t\t\tif (this.path !== undefined) url = this.path + url;\n\t\t\turl = this.manager.resolveURL(url);\n\t\t\tconst cached = Cache.get(url);\n\n\t\t\tif (cached !== undefined) {\n\t\t\t\tthis.manager.itemStart(url);\n\t\t\t\tsetTimeout(() => {\n\t\t\t\t\tif (onLoad) onLoad(cached);\n\t\t\t\t\tthis.manager.itemEnd(url);\n\t\t\t\t}, 0);\n\t\t\t\treturn cached;\n\t\t\t} // Check if request is duplicate\n\n\n\t\t\tif (loading[url] !== undefined) {\n\t\t\t\tloading[url].push({\n\t\t\t\t\tonLoad: onLoad,\n\t\t\t\t\tonProgress: onProgress,\n\t\t\t\t\tonError: onError\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t} // Initialise array for duplicate requests\n\n\n\t\t\tloading[url] = [];\n\t\t\tloading[url].push({\n\t\t\t\tonLoad: onLoad,\n\t\t\t\tonProgress: onProgress,\n\t\t\t\tonError: onError\n\t\t\t}); // create request\n\n\t\t\tconst req = new Request(url, {\n\t\t\t\theaders: new Headers(this.requestHeader),\n\t\t\t\tcredentials: this.withCredentials ? 'include' : 'same-origin' // An abort controller could be added within a future PR\n\n\t\t\t}); // record states ( avoid data race )\n\n\t\t\tconst mimeType = this.mimeType;\n\t\t\tconst responseType = this.responseType; // start the fetch\n\n\t\t\tfetch(req).then(response => {\n\t\t\t\tif (response.status === 200 || response.status === 0) {\n\t\t\t\t\t// Some browsers return HTTP Status 0 when using non-http protocol\n\t\t\t\t\t// e.g. 'file://' or 'data://'. Handle as success.\n\t\t\t\t\tif (response.status === 0) {\n\t\t\t\t\t\tconsole.warn('THREE.FileLoader: HTTP Status 0 received.');\n\t\t\t\t\t} // Workaround: Checking if response.body === undefined for Alipay browser #23548\n\n\n\t\t\t\t\tif (typeof ReadableStream === 'undefined' || response.body === undefined || response.body.getReader === undefined) {\n\t\t\t\t\t\treturn response;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst callbacks = loading[url];\n\t\t\t\t\tconst reader = response.body.getReader();\n\t\t\t\t\tconst contentLength = response.headers.get('Content-Length');\n\t\t\t\t\tconst total = contentLength ? parseInt(contentLength) : 0;\n\t\t\t\t\tconst lengthComputable = total !== 0;\n\t\t\t\t\tlet loaded = 0; // periodically read data into the new stream tracking while download progress\n\n\t\t\t\t\tconst stream = new ReadableStream({\n\t\t\t\t\t\tstart(controller) {\n\t\t\t\t\t\t\treadData();\n\n\t\t\t\t\t\t\tfunction readData() {\n\t\t\t\t\t\t\t\treader.read().then(({\n\t\t\t\t\t\t\t\t\tdone,\n\t\t\t\t\t\t\t\t\tvalue\n\t\t\t\t\t\t\t\t}) => {\n\t\t\t\t\t\t\t\t\tif (done) {\n\t\t\t\t\t\t\t\t\t\tcontroller.close();\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tloaded += value.byteLength;\n\t\t\t\t\t\t\t\t\t\tconst event = new ProgressEvent('progress', {\n\t\t\t\t\t\t\t\t\t\t\tlengthComputable,\n\t\t\t\t\t\t\t\t\t\t\tloaded,\n\t\t\t\t\t\t\t\t\t\t\ttotal\n\t\t\t\t\t\t\t\t\t\t});\n\n\t\t\t\t\t\t\t\t\t\tfor (let i = 0, il = callbacks.length; i < il; i++) {\n\t\t\t\t\t\t\t\t\t\t\tconst callback = callbacks[i];\n\t\t\t\t\t\t\t\t\t\t\tif (callback.onProgress) callback.onProgress(event);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tcontroller.enqueue(value);\n\t\t\t\t\t\t\t\t\t\treadData();\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});\n\t\t\t\t\treturn new Response(stream);\n\t\t\t\t} else {\n\t\t\t\t\tthrow Error(`fetch for \"${response.url}\" responded with ${response.status}: ${response.statusText}`);\n\t\t\t\t}\n\t\t\t}).then(response => {\n\t\t\t\tswitch (responseType) {\n\t\t\t\t\tcase 'arraybuffer':\n\t\t\t\t\t\treturn response.arrayBuffer();\n\n\t\t\t\t\tcase 'blob':\n\t\t\t\t\t\treturn response.blob();\n\n\t\t\t\t\tcase 'document':\n\t\t\t\t\t\treturn response.text().then(text => {\n\t\t\t\t\t\t\tconst parser = new DOMParser();\n\t\t\t\t\t\t\treturn parser.parseFromString(text, mimeType);\n\t\t\t\t\t\t});\n\n\t\t\t\t\tcase 'json':\n\t\t\t\t\t\treturn response.json();\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tif (mimeType === undefined) {\n\t\t\t\t\t\t\treturn response.text();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// sniff encoding\n\t\t\t\t\t\t\tconst re = /charset=\"?([^;\"\\s]*)\"?/i;\n\t\t\t\t\t\t\tconst exec = re.exec(mimeType);\n\t\t\t\t\t\t\tconst label = exec && exec[1] ? exec[1].toLowerCase() : undefined;\n\t\t\t\t\t\t\tconst decoder = new TextDecoder(label);\n\t\t\t\t\t\t\treturn response.arrayBuffer().then(ab => decoder.decode(ab));\n\t\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}).then(data => {\n\t\t\t\t// Add to cache only on HTTP success, so that we do not cache\n\t\t\t\t// error response bodies as proper responses to requests.\n\t\t\t\tCache.add(url, data);\n\t\t\t\tconst callbacks = loading[url];\n\t\t\t\tdelete loading[url];\n\n\t\t\t\tfor (let i = 0, il = callbacks.length; i < il; i++) {\n\t\t\t\t\tconst callback = callbacks[i];\n\t\t\t\t\tif (callback.onLoad) callback.onLoad(data);\n\t\t\t\t}\n\t\t\t}).catch(err => {\n\t\t\t\t// Abort errors and other errors are handled the same\n\t\t\t\tconst callbacks = loading[url];\n\n\t\t\t\tif (callbacks === undefined) {\n\t\t\t\t\t// When onLoad was called and url was deleted in `loading`\n\t\t\t\t\tthis.manager.itemError(url);\n\t\t\t\t\tthrow err;\n\t\t\t\t}\n\n\t\t\t\tdelete loading[url];\n\n\t\t\t\tfor (let i = 0, il = callbacks.length; i < il; i++) {\n\t\t\t\t\tconst callback = callbacks[i];\n\t\t\t\t\tif (callback.onError) callback.onError(err);\n\t\t\t\t}\n\n\t\t\t\tthis.manager.itemError(url);\n\t\t\t}).finally(() => {\n\t\t\t\tthis.manager.itemEnd(url);\n\t\t\t});\n\t\t\tthis.manager.itemStart(url);\n\t\t}\n\n\t\tsetResponseType(value) {\n\t\t\tthis.responseType = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetMimeType(value) {\n\t\t\tthis.mimeType = value;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass AnimationLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setWithCredentials(this.withCredentials);\n\t\t\tloader.load(url, function (text) {\n\t\t\t\ttry {\n\t\t\t\t\tonLoad(scope.parse(JSON.parse(text)));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (onError) {\n\t\t\t\t\t\tonError(e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.manager.itemError(url);\n\t\t\t\t}\n\t\t\t}, onProgress, onError);\n\t\t}\n\n\t\tparse(json) {\n\t\t\tconst animations = [];\n\n\t\t\tfor (let i = 0; i < json.length; i++) {\n\t\t\t\tconst clip = AnimationClip.parse(json[i]);\n\t\t\t\tanimations.push(clip);\n\t\t\t}\n\n\t\t\treturn animations;\n\t\t}\n\n\t}\n\n\t/**\n\t * Abstract Base class to block based textures loader (dds, pvr, ...)\n\t *\n\t * Sub classes have to implement the parse() method which will be used in load().\n\t */\n\n\tclass CompressedTextureLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst images = [];\n\t\t\tconst texture = new CompressedTexture();\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setResponseType('arraybuffer');\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setWithCredentials(scope.withCredentials);\n\t\t\tlet loaded = 0;\n\n\t\t\tfunction loadTexture(i) {\n\t\t\t\tloader.load(url[i], function (buffer) {\n\t\t\t\t\tconst texDatas = scope.parse(buffer, true);\n\t\t\t\t\timages[i] = {\n\t\t\t\t\t\twidth: texDatas.width,\n\t\t\t\t\t\theight: texDatas.height,\n\t\t\t\t\t\tformat: texDatas.format,\n\t\t\t\t\t\tmipmaps: texDatas.mipmaps\n\t\t\t\t\t};\n\t\t\t\t\tloaded += 1;\n\n\t\t\t\t\tif (loaded === 6) {\n\t\t\t\t\t\tif (texDatas.mipmapCount === 1) texture.minFilter = LinearFilter;\n\t\t\t\t\t\ttexture.image = images;\n\t\t\t\t\t\ttexture.format = texDatas.format;\n\t\t\t\t\t\ttexture.needsUpdate = true;\n\t\t\t\t\t\tif (onLoad) onLoad(texture);\n\t\t\t\t\t}\n\t\t\t\t}, onProgress, onError);\n\t\t\t}\n\n\t\t\tif (Array.isArray(url)) {\n\t\t\t\tfor (let i = 0, il = url.length; i < il; ++i) {\n\t\t\t\t\tloadTexture(i);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// compressed cubemap texture stored in a single DDS file\n\t\t\t\tloader.load(url, function (buffer) {\n\t\t\t\t\tconst texDatas = scope.parse(buffer, true);\n\n\t\t\t\t\tif (texDatas.isCubemap) {\n\t\t\t\t\t\tconst faces = texDatas.mipmaps.length / texDatas.mipmapCount;\n\n\t\t\t\t\t\tfor (let f = 0; f < faces; f++) {\n\t\t\t\t\t\t\timages[f] = {\n\t\t\t\t\t\t\t\tmipmaps: []\n\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\tfor (let i = 0; i < texDatas.mipmapCount; i++) {\n\t\t\t\t\t\t\t\timages[f].mipmaps.push(texDatas.mipmaps[f * texDatas.mipmapCount + i]);\n\t\t\t\t\t\t\t\timages[f].format = texDatas.format;\n\t\t\t\t\t\t\t\timages[f].width = texDatas.width;\n\t\t\t\t\t\t\t\timages[f].height = texDatas.height;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttexture.image = images;\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttexture.image.width = texDatas.width;\n\t\t\t\t\t\ttexture.image.height = texDatas.height;\n\t\t\t\t\t\ttexture.mipmaps = texDatas.mipmaps;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (texDatas.mipmapCount === 1) {\n\t\t\t\t\t\ttexture.minFilter = LinearFilter;\n\t\t\t\t\t}\n\n\t\t\t\t\ttexture.format = texDatas.format;\n\t\t\t\t\ttexture.needsUpdate = true;\n\t\t\t\t\tif (onLoad) onLoad(texture);\n\t\t\t\t}, onProgress, onError);\n\t\t\t}\n\n\t\t\treturn texture;\n\t\t}\n\n\t}\n\n\tclass ImageLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tif (this.path !== undefined) url = this.path + url;\n\t\t\turl = this.manager.resolveURL(url);\n\t\t\tconst scope = this;\n\t\t\tconst cached = Cache.get(url);\n\n\t\t\tif (cached !== undefined) {\n\t\t\t\tscope.manager.itemStart(url);\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tif (onLoad) onLoad(cached);\n\t\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t\t}, 0);\n\t\t\t\treturn cached;\n\t\t\t}\n\n\t\t\tconst image = createElementNS('img');\n\n\t\t\tfunction onImageLoad() {\n\t\t\t\tremoveEventListeners();\n\t\t\t\tCache.add(url, this);\n\t\t\t\tif (onLoad) onLoad(this);\n\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t}\n\n\t\t\tfunction onImageError(event) {\n\t\t\t\tremoveEventListeners();\n\t\t\t\tif (onError) onError(event);\n\t\t\t\tscope.manager.itemError(url);\n\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t}\n\n\t\t\tfunction removeEventListeners() {\n\t\t\t\timage.removeEventListener('load', onImageLoad, false);\n\t\t\t\timage.removeEventListener('error', onImageError, false);\n\t\t\t}\n\n\t\t\timage.addEventListener('load', onImageLoad, false);\n\t\t\timage.addEventListener('error', onImageError, false);\n\n\t\t\tif (url.slice(0, 5) !== 'data:') {\n\t\t\t\tif (this.crossOrigin !== undefined) image.crossOrigin = this.crossOrigin;\n\t\t\t}\n\n\t\t\tscope.manager.itemStart(url);\n\t\t\timage.src = url;\n\t\t\treturn image;\n\t\t}\n\n\t}\n\n\tclass CubeTextureLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(urls, onLoad, onProgress, onError) {\n\t\t\tconst texture = new CubeTexture();\n\t\t\tconst loader = new ImageLoader(this.manager);\n\t\t\tloader.setCrossOrigin(this.crossOrigin);\n\t\t\tloader.setPath(this.path);\n\t\t\tlet loaded = 0;\n\n\t\t\tfunction loadTexture(i) {\n\t\t\t\tloader.load(urls[i], function (image) {\n\t\t\t\t\ttexture.images[i] = image;\n\t\t\t\t\tloaded++;\n\n\t\t\t\t\tif (loaded === 6) {\n\t\t\t\t\t\ttexture.needsUpdate = true;\n\t\t\t\t\t\tif (onLoad) onLoad(texture);\n\t\t\t\t\t}\n\t\t\t\t}, undefined, onError);\n\t\t\t}\n\n\t\t\tfor (let i = 0; i < urls.length; ++i) {\n\t\t\t\tloadTexture(i);\n\t\t\t}\n\n\t\t\treturn texture;\n\t\t}\n\n\t}\n\n\t/**\n\t * Abstract Base class to load generic binary textures formats (rgbe, hdr, ...)\n\t *\n\t * Sub classes have to implement the parse() method which will be used in load().\n\t */\n\n\tclass DataTextureLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst texture = new DataTexture();\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setResponseType('arraybuffer');\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setWithCredentials(scope.withCredentials);\n\t\t\tloader.load(url, function (buffer) {\n\t\t\t\tconst texData = scope.parse(buffer);\n\t\t\t\tif (!texData) return;\n\n\t\t\t\tif (texData.image !== undefined) {\n\t\t\t\t\ttexture.image = texData.image;\n\t\t\t\t} else if (texData.data !== undefined) {\n\t\t\t\t\ttexture.image.width = texData.width;\n\t\t\t\t\ttexture.image.height = texData.height;\n\t\t\t\t\ttexture.image.data = texData.data;\n\t\t\t\t}\n\n\t\t\t\ttexture.wrapS = texData.wrapS !== undefined ? texData.wrapS : ClampToEdgeWrapping;\n\t\t\t\ttexture.wrapT = texData.wrapT !== undefined ? texData.wrapT : ClampToEdgeWrapping;\n\t\t\t\ttexture.magFilter = texData.magFilter !== undefined ? texData.magFilter : LinearFilter;\n\t\t\t\ttexture.minFilter = texData.minFilter !== undefined ? texData.minFilter : LinearFilter;\n\t\t\t\ttexture.anisotropy = texData.anisotropy !== undefined ? texData.anisotropy : 1;\n\n\t\t\t\tif (texData.encoding !== undefined) {\n\t\t\t\t\ttexture.encoding = texData.encoding;\n\t\t\t\t}\n\n\t\t\t\tif (texData.flipY !== undefined) {\n\t\t\t\t\ttexture.flipY = texData.flipY;\n\t\t\t\t}\n\n\t\t\t\tif (texData.format !== undefined) {\n\t\t\t\t\ttexture.format = texData.format;\n\t\t\t\t}\n\n\t\t\t\tif (texData.type !== undefined) {\n\t\t\t\t\ttexture.type = texData.type;\n\t\t\t\t}\n\n\t\t\t\tif (texData.mipmaps !== undefined) {\n\t\t\t\t\ttexture.mipmaps = texData.mipmaps;\n\t\t\t\t\ttexture.minFilter = LinearMipmapLinearFilter; // presumably...\n\t\t\t\t}\n\n\t\t\t\tif (texData.mipmapCount === 1) {\n\t\t\t\t\ttexture.minFilter = LinearFilter;\n\t\t\t\t}\n\n\t\t\t\tif (texData.generateMipmaps !== undefined) {\n\t\t\t\t\ttexture.generateMipmaps = texData.generateMipmaps;\n\t\t\t\t}\n\n\t\t\t\ttexture.needsUpdate = true;\n\t\t\t\tif (onLoad) onLoad(texture, texData);\n\t\t\t}, onProgress, onError);\n\t\t\treturn texture;\n\t\t}\n\n\t}\n\n\tclass TextureLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst texture = new Texture();\n\t\t\tconst loader = new ImageLoader(this.manager);\n\t\t\tloader.setCrossOrigin(this.crossOrigin);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.load(url, function (image) {\n\t\t\t\ttexture.image = image;\n\t\t\t\ttexture.needsUpdate = true;\n\n\t\t\t\tif (onLoad !== undefined) {\n\t\t\t\t\tonLoad(texture);\n\t\t\t\t}\n\t\t\t}, onProgress, onError);\n\t\t\treturn texture;\n\t\t}\n\n\t}\n\n\tclass Light extends Object3D {\n\t\tconstructor(color, intensity = 1) {\n\t\t\tsuper();\n\t\t\tthis.isLight = true;\n\t\t\tthis.type = 'Light';\n\t\t\tthis.color = new Color(color);\n\t\t\tthis.intensity = intensity;\n\t\t}\n\n\t\tdispose() {// Empty here in base class; some subclasses override.\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.color.copy(source.color);\n\t\t\tthis.intensity = source.intensity;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.object.color = this.color.getHex();\n\t\t\tdata.object.intensity = this.intensity;\n\t\t\tif (this.groundColor !== undefined) data.object.groundColor = this.groundColor.getHex();\n\t\t\tif (this.distance !== undefined) data.object.distance = this.distance;\n\t\t\tif (this.angle !== undefined) data.object.angle = this.angle;\n\t\t\tif (this.decay !== undefined) data.object.decay = this.decay;\n\t\t\tif (this.penumbra !== undefined) data.object.penumbra = this.penumbra;\n\t\t\tif (this.shadow !== undefined) data.object.shadow = this.shadow.toJSON();\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass HemisphereLight extends Light {\n\t\tconstructor(skyColor, groundColor, intensity) {\n\t\t\tsuper(skyColor, intensity);\n\t\t\tthis.isHemisphereLight = true;\n\t\t\tthis.type = 'HemisphereLight';\n\t\t\tthis.position.copy(Object3D.DefaultUp);\n\t\t\tthis.updateMatrix();\n\t\t\tthis.groundColor = new Color(groundColor);\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.groundColor.copy(source.groundColor);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _projScreenMatrix$1 = /*@__PURE__*/new Matrix4();\n\n\tconst _lightPositionWorld$1 = /*@__PURE__*/new Vector3();\n\n\tconst _lookTarget$1 = /*@__PURE__*/new Vector3();\n\n\tclass LightShadow {\n\t\tconstructor(camera) {\n\t\t\tthis.camera = camera;\n\t\t\tthis.bias = 0;\n\t\t\tthis.normalBias = 0;\n\t\t\tthis.radius = 1;\n\t\t\tthis.blurSamples = 8;\n\t\t\tthis.mapSize = new Vector2(512, 512);\n\t\t\tthis.map = null;\n\t\t\tthis.mapPass = null;\n\t\t\tthis.matrix = new Matrix4();\n\t\t\tthis.autoUpdate = true;\n\t\t\tthis.needsUpdate = false;\n\t\t\tthis._frustum = new Frustum();\n\t\t\tthis._frameExtents = new Vector2(1, 1);\n\t\t\tthis._viewportCount = 1;\n\t\t\tthis._viewports = [new Vector4(0, 0, 1, 1)];\n\t\t}\n\n\t\tgetViewportCount() {\n\t\t\treturn this._viewportCount;\n\t\t}\n\n\t\tgetFrustum() {\n\t\t\treturn this._frustum;\n\t\t}\n\n\t\tupdateMatrices(light) {\n\t\t\tconst shadowCamera = this.camera;\n\t\t\tconst shadowMatrix = this.matrix;\n\n\t\t\t_lightPositionWorld$1.setFromMatrixPosition(light.matrixWorld);\n\n\t\t\tshadowCamera.position.copy(_lightPositionWorld$1);\n\n\t\t\t_lookTarget$1.setFromMatrixPosition(light.target.matrixWorld);\n\n\t\t\tshadowCamera.lookAt(_lookTarget$1);\n\t\t\tshadowCamera.updateMatrixWorld();\n\n\t\t\t_projScreenMatrix$1.multiplyMatrices(shadowCamera.projectionMatrix, shadowCamera.matrixWorldInverse);\n\n\t\t\tthis._frustum.setFromProjectionMatrix(_projScreenMatrix$1);\n\n\t\t\tshadowMatrix.set(0.5, 0.0, 0.0, 0.5, 0.0, 0.5, 0.0, 0.5, 0.0, 0.0, 0.5, 0.5, 0.0, 0.0, 0.0, 1.0);\n\t\t\tshadowMatrix.multiply(shadowCamera.projectionMatrix);\n\t\t\tshadowMatrix.multiply(shadowCamera.matrixWorldInverse);\n\t\t}\n\n\t\tgetViewport(viewportIndex) {\n\t\t\treturn this._viewports[viewportIndex];\n\t\t}\n\n\t\tgetFrameExtents() {\n\t\t\treturn this._frameExtents;\n\t\t}\n\n\t\tdispose() {\n\t\t\tif (this.map) {\n\t\t\t\tthis.map.dispose();\n\t\t\t}\n\n\t\t\tif (this.mapPass) {\n\t\t\t\tthis.mapPass.dispose();\n\t\t\t}\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tthis.camera = source.camera.clone();\n\t\t\tthis.bias = source.bias;\n\t\t\tthis.radius = source.radius;\n\t\t\tthis.mapSize.copy(source.mapSize);\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst object = {};\n\t\t\tif (this.bias !== 0) object.bias = this.bias;\n\t\t\tif (this.normalBias !== 0) object.normalBias = this.normalBias;\n\t\t\tif (this.radius !== 1) object.radius = this.radius;\n\t\t\tif (this.mapSize.x !== 512 || this.mapSize.y !== 512) object.mapSize = this.mapSize.toArray();\n\t\t\tobject.camera = this.camera.toJSON(false).object;\n\t\t\tdelete object.camera.matrix;\n\t\t\treturn object;\n\t\t}\n\n\t}\n\n\tclass SpotLightShadow extends LightShadow {\n\t\tconstructor() {\n\t\t\tsuper(new PerspectiveCamera(50, 1, 0.5, 500));\n\t\t\tthis.isSpotLightShadow = true;\n\t\t\tthis.focus = 1;\n\t\t}\n\n\t\tupdateMatrices(light) {\n\t\t\tconst camera = this.camera;\n\t\t\tconst fov = RAD2DEG * 2 * light.angle * this.focus;\n\t\t\tconst aspect = this.mapSize.width / this.mapSize.height;\n\t\t\tconst far = light.distance || camera.far;\n\n\t\t\tif (fov !== camera.fov || aspect !== camera.aspect || far !== camera.far) {\n\t\t\t\tcamera.fov = fov;\n\t\t\t\tcamera.aspect = aspect;\n\t\t\t\tcamera.far = far;\n\t\t\t\tcamera.updateProjectionMatrix();\n\t\t\t}\n\n\t\t\tsuper.updateMatrices(light);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.focus = source.focus;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass SpotLight extends Light {\n\t\tconstructor(color, intensity, distance = 0, angle = Math.PI / 3, penumbra = 0, decay = 1) {\n\t\t\tsuper(color, intensity);\n\t\t\tthis.isSpotLight = true;\n\t\t\tthis.type = 'SpotLight';\n\t\t\tthis.position.copy(Object3D.DefaultUp);\n\t\t\tthis.updateMatrix();\n\t\t\tthis.target = new Object3D();\n\t\t\tthis.distance = distance;\n\t\t\tthis.angle = angle;\n\t\t\tthis.penumbra = penumbra;\n\t\t\tthis.decay = decay; // for physically correct lights, should be 2.\n\n\t\t\tthis.shadow = new SpotLightShadow();\n\t\t}\n\n\t\tget power() {\n\t\t\t// compute the light's luminous power (in lumens) from its intensity (in candela)\n\t\t\t// by convention for a spotlight, luminous power (lm) = π * luminous intensity (cd)\n\t\t\treturn this.intensity * Math.PI;\n\t\t}\n\n\t\tset power(power) {\n\t\t\t// set the light's intensity (in candela) from the desired luminous power (in lumens)\n\t\t\tthis.intensity = power / Math.PI;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.shadow.dispose();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.distance = source.distance;\n\t\t\tthis.angle = source.angle;\n\t\t\tthis.penumbra = source.penumbra;\n\t\t\tthis.decay = source.decay;\n\t\t\tthis.target = source.target.clone();\n\t\t\tthis.shadow = source.shadow.clone();\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _projScreenMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _lightPositionWorld = /*@__PURE__*/new Vector3();\n\n\tconst _lookTarget = /*@__PURE__*/new Vector3();\n\n\tclass PointLightShadow extends LightShadow {\n\t\tconstructor() {\n\t\t\tsuper(new PerspectiveCamera(90, 1, 0.5, 500));\n\t\t\tthis.isPointLightShadow = true;\n\t\t\tthis._frameExtents = new Vector2(4, 2);\n\t\t\tthis._viewportCount = 6;\n\t\t\tthis._viewports = [// These viewports map a cube-map onto a 2D texture with the\n\t\t\t// following orientation:\n\t\t\t//\n\t\t\t//\txzXZ\n\t\t\t//\t y Y\n\t\t\t//\n\t\t\t// X - Positive x direction\n\t\t\t// x - Negative x direction\n\t\t\t// Y - Positive y direction\n\t\t\t// y - Negative y direction\n\t\t\t// Z - Positive z direction\n\t\t\t// z - Negative z direction\n\t\t\t// positive X\n\t\t\tnew Vector4(2, 1, 1, 1), // negative X\n\t\t\tnew Vector4(0, 1, 1, 1), // positive Z\n\t\t\tnew Vector4(3, 1, 1, 1), // negative Z\n\t\t\tnew Vector4(1, 1, 1, 1), // positive Y\n\t\t\tnew Vector4(3, 0, 1, 1), // negative Y\n\t\t\tnew Vector4(1, 0, 1, 1)];\n\t\t\tthis._cubeDirections = [new Vector3(1, 0, 0), new Vector3(-1, 0, 0), new Vector3(0, 0, 1), new Vector3(0, 0, -1), new Vector3(0, 1, 0), new Vector3(0, -1, 0)];\n\t\t\tthis._cubeUps = [new Vector3(0, 1, 0), new Vector3(0, 1, 0), new Vector3(0, 1, 0), new Vector3(0, 1, 0), new Vector3(0, 0, 1), new Vector3(0, 0, -1)];\n\t\t}\n\n\t\tupdateMatrices(light, viewportIndex = 0) {\n\t\t\tconst camera = this.camera;\n\t\t\tconst shadowMatrix = this.matrix;\n\t\t\tconst far = light.distance || camera.far;\n\n\t\t\tif (far !== camera.far) {\n\t\t\t\tcamera.far = far;\n\t\t\t\tcamera.updateProjectionMatrix();\n\t\t\t}\n\n\t\t\t_lightPositionWorld.setFromMatrixPosition(light.matrixWorld);\n\n\t\t\tcamera.position.copy(_lightPositionWorld);\n\n\t\t\t_lookTarget.copy(camera.position);\n\n\t\t\t_lookTarget.add(this._cubeDirections[viewportIndex]);\n\n\t\t\tcamera.up.copy(this._cubeUps[viewportIndex]);\n\t\t\tcamera.lookAt(_lookTarget);\n\t\t\tcamera.updateMatrixWorld();\n\t\t\tshadowMatrix.makeTranslation(-_lightPositionWorld.x, -_lightPositionWorld.y, -_lightPositionWorld.z);\n\n\t\t\t_projScreenMatrix.multiplyMatrices(camera.projectionMatrix, camera.matrixWorldInverse);\n\n\t\t\tthis._frustum.setFromProjectionMatrix(_projScreenMatrix);\n\t\t}\n\n\t}\n\n\tclass PointLight extends Light {\n\t\tconstructor(color, intensity, distance = 0, decay = 1) {\n\t\t\tsuper(color, intensity);\n\t\t\tthis.isPointLight = true;\n\t\t\tthis.type = 'PointLight';\n\t\t\tthis.distance = distance;\n\t\t\tthis.decay = decay; // for physically correct lights, should be 2.\n\n\t\t\tthis.shadow = new PointLightShadow();\n\t\t}\n\n\t\tget power() {\n\t\t\t// compute the light's luminous power (in lumens) from its intensity (in candela)\n\t\t\t// for an isotropic light source, luminous power (lm) = 4 π luminous intensity (cd)\n\t\t\treturn this.intensity * 4 * Math.PI;\n\t\t}\n\n\t\tset power(power) {\n\t\t\t// set the light's intensity (in candela) from the desired luminous power (in lumens)\n\t\t\tthis.intensity = power / (4 * Math.PI);\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.shadow.dispose();\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.distance = source.distance;\n\t\t\tthis.decay = source.decay;\n\t\t\tthis.shadow = source.shadow.clone();\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass DirectionalLightShadow extends LightShadow {\n\t\tconstructor() {\n\t\t\tsuper(new OrthographicCamera(-5, 5, 5, -5, 0.5, 500));\n\t\t\tthis.isDirectionalLightShadow = true;\n\t\t}\n\n\t}\n\n\tclass DirectionalLight extends Light {\n\t\tconstructor(color, intensity) {\n\t\t\tsuper(color, intensity);\n\t\t\tthis.isDirectionalLight = true;\n\t\t\tthis.type = 'DirectionalLight';\n\t\t\tthis.position.copy(Object3D.DefaultUp);\n\t\t\tthis.updateMatrix();\n\t\t\tthis.target = new Object3D();\n\t\t\tthis.shadow = new DirectionalLightShadow();\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.shadow.dispose();\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.target = source.target.clone();\n\t\t\tthis.shadow = source.shadow.clone();\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass AmbientLight extends Light {\n\t\tconstructor(color, intensity) {\n\t\t\tsuper(color, intensity);\n\t\t\tthis.isAmbientLight = true;\n\t\t\tthis.type = 'AmbientLight';\n\t\t}\n\n\t}\n\n\tclass RectAreaLight extends Light {\n\t\tconstructor(color, intensity, width = 10, height = 10) {\n\t\t\tsuper(color, intensity);\n\t\t\tthis.isRectAreaLight = true;\n\t\t\tthis.type = 'RectAreaLight';\n\t\t\tthis.width = width;\n\t\t\tthis.height = height;\n\t\t}\n\n\t\tget power() {\n\t\t\t// compute the light's luminous power (in lumens) from its intensity (in nits)\n\t\t\treturn this.intensity * this.width * this.height * Math.PI;\n\t\t}\n\n\t\tset power(power) {\n\t\t\t// set the light's intensity (in nits) from the desired luminous power (in lumens)\n\t\t\tthis.intensity = power / (this.width * this.height * Math.PI);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.width = source.width;\n\t\t\tthis.height = source.height;\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.object.width = this.width;\n\t\t\tdata.object.height = this.height;\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\t/**\n\t * Primary reference:\n\t *\t https://graphics.stanford.edu/papers/envmap/envmap.pdf\n\t *\n\t * Secondary reference:\n\t *\t https://www.ppsloan.org/publications/StupidSH36.pdf\n\t */\n\t// 3-band SH defined by 9 coefficients\n\n\tclass SphericalHarmonics3 {\n\t\tconstructor() {\n\t\t\tthis.isSphericalHarmonics3 = true;\n\t\t\tthis.coefficients = [];\n\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients.push(new Vector3());\n\t\t\t}\n\t\t}\n\n\t\tset(coefficients) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].copy(coefficients[i]);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tzero() {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].set(0, 0, 0);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // get the radiance in the direction of the normal\n\t\t// target is a Vector3\n\n\n\t\tgetAt(normal, target) {\n\t\t\t// normal is assumed to be unit length\n\t\t\tconst x = normal.x,\n\t\t\t\t\t\ty = normal.y,\n\t\t\t\t\t\tz = normal.z;\n\t\t\tconst coeff = this.coefficients; // band 0\n\n\t\t\ttarget.copy(coeff[0]).multiplyScalar(0.282095); // band 1\n\n\t\t\ttarget.addScaledVector(coeff[1], 0.488603 * y);\n\t\t\ttarget.addScaledVector(coeff[2], 0.488603 * z);\n\t\t\ttarget.addScaledVector(coeff[3], 0.488603 * x); // band 2\n\n\t\t\ttarget.addScaledVector(coeff[4], 1.092548 * (x * y));\n\t\t\ttarget.addScaledVector(coeff[5], 1.092548 * (y * z));\n\t\t\ttarget.addScaledVector(coeff[6], 0.315392 * (3.0 * z * z - 1.0));\n\t\t\ttarget.addScaledVector(coeff[7], 1.092548 * (x * z));\n\t\t\ttarget.addScaledVector(coeff[8], 0.546274 * (x * x - y * y));\n\t\t\treturn target;\n\t\t} // get the irradiance (radiance convolved with cosine lobe) in the direction of the normal\n\t\t// target is a Vector3\n\t\t// https://graphics.stanford.edu/papers/envmap/envmap.pdf\n\n\n\t\tgetIrradianceAt(normal, target) {\n\t\t\t// normal is assumed to be unit length\n\t\t\tconst x = normal.x,\n\t\t\t\t\t\ty = normal.y,\n\t\t\t\t\t\tz = normal.z;\n\t\t\tconst coeff = this.coefficients; // band 0\n\n\t\t\ttarget.copy(coeff[0]).multiplyScalar(0.886227); // π * 0.282095\n\t\t\t// band 1\n\n\t\t\ttarget.addScaledVector(coeff[1], 2.0 * 0.511664 * y); // ( 2 * π / 3 ) * 0.488603\n\n\t\t\ttarget.addScaledVector(coeff[2], 2.0 * 0.511664 * z);\n\t\t\ttarget.addScaledVector(coeff[3], 2.0 * 0.511664 * x); // band 2\n\n\t\t\ttarget.addScaledVector(coeff[4], 2.0 * 0.429043 * x * y); // ( π / 4 ) * 1.092548\n\n\t\t\ttarget.addScaledVector(coeff[5], 2.0 * 0.429043 * y * z);\n\t\t\ttarget.addScaledVector(coeff[6], 0.743125 * z * z - 0.247708); // ( π / 4 ) * 0.315392 * 3\n\n\t\t\ttarget.addScaledVector(coeff[7], 2.0 * 0.429043 * x * z);\n\t\t\ttarget.addScaledVector(coeff[8], 0.429043 * (x * x - y * y)); // ( π / 4 ) * 0.546274\n\n\t\t\treturn target;\n\t\t}\n\n\t\tadd(sh) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].add(sh.coefficients[i]);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\taddScaledSH(sh, s) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].addScaledVector(sh.coefficients[i], s);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tscale(s) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].multiplyScalar(s);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tlerp(sh, alpha) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tthis.coefficients[i].lerp(sh.coefficients[i], alpha);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(sh) {\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tif (!this.coefficients[i].equals(sh.coefficients[i])) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tcopy(sh) {\n\t\t\treturn this.set(sh.coefficients);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tfromArray(array, offset = 0) {\n\t\t\tconst coefficients = this.coefficients;\n\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tcoefficients[i].fromArray(array, offset + i * 3);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\ttoArray(array = [], offset = 0) {\n\t\t\tconst coefficients = this.coefficients;\n\n\t\t\tfor (let i = 0; i < 9; i++) {\n\t\t\t\tcoefficients[i].toArray(array, offset + i * 3);\n\t\t\t}\n\n\t\t\treturn array;\n\t\t} // evaluate the basis functions\n\t\t// shBasis is an Array[ 9 ]\n\n\n\t\tstatic getBasisAt(normal, shBasis) {\n\t\t\t// normal is assumed to be unit length\n\t\t\tconst x = normal.x,\n\t\t\t\t\t\ty = normal.y,\n\t\t\t\t\t\tz = normal.z; // band 0\n\n\t\t\tshBasis[0] = 0.282095; // band 1\n\n\t\t\tshBasis[1] = 0.488603 * y;\n\t\t\tshBasis[2] = 0.488603 * z;\n\t\t\tshBasis[3] = 0.488603 * x; // band 2\n\n\t\t\tshBasis[4] = 1.092548 * x * y;\n\t\t\tshBasis[5] = 1.092548 * y * z;\n\t\t\tshBasis[6] = 0.315392 * (3 * z * z - 1);\n\t\t\tshBasis[7] = 1.092548 * x * z;\n\t\t\tshBasis[8] = 0.546274 * (x * x - y * y);\n\t\t}\n\n\t}\n\n\tclass LightProbe extends Light {\n\t\tconstructor(sh = new SphericalHarmonics3(), intensity = 1) {\n\t\t\tsuper(undefined, intensity);\n\t\t\tthis.isLightProbe = true;\n\t\t\tthis.sh = sh;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.sh.copy(source.sh);\n\t\t\treturn this;\n\t\t}\n\n\t\tfromJSON(json) {\n\t\t\tthis.intensity = json.intensity; // TODO: Move this bit to Light.fromJSON();\n\n\t\t\tthis.sh.fromArray(json.sh);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoJSON(meta) {\n\t\t\tconst data = super.toJSON(meta);\n\t\t\tdata.object.sh = this.sh.toArray();\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass MaterialLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t\tthis.textures = {};\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst loader = new FileLoader(scope.manager);\n\t\t\tloader.setPath(scope.path);\n\t\t\tloader.setRequestHeader(scope.requestHeader);\n\t\t\tloader.setWithCredentials(scope.withCredentials);\n\t\t\tloader.load(url, function (text) {\n\t\t\t\ttry {\n\t\t\t\t\tonLoad(scope.parse(JSON.parse(text)));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (onError) {\n\t\t\t\t\t\tonError(e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.manager.itemError(url);\n\t\t\t\t}\n\t\t\t}, onProgress, onError);\n\t\t}\n\n\t\tparse(json) {\n\t\t\tconst textures = this.textures;\n\n\t\t\tfunction getTexture(name) {\n\t\t\t\tif (textures[name] === undefined) {\n\t\t\t\t\tconsole.warn('THREE.MaterialLoader: Undefined texture', name);\n\t\t\t\t}\n\n\t\t\t\treturn textures[name];\n\t\t\t}\n\n\t\t\tconst material = MaterialLoader.createMaterialFromType(json.type);\n\t\t\tif (json.uuid !== undefined) material.uuid = json.uuid;\n\t\t\tif (json.name !== undefined) material.name = json.name;\n\t\t\tif (json.color !== undefined && material.color !== undefined) material.color.setHex(json.color);\n\t\t\tif (json.roughness !== undefined) material.roughness = json.roughness;\n\t\t\tif (json.metalness !== undefined) material.metalness = json.metalness;\n\t\t\tif (json.sheen !== undefined) material.sheen = json.sheen;\n\t\t\tif (json.sheenColor !== undefined) material.sheenColor = new Color().setHex(json.sheenColor);\n\t\t\tif (json.sheenRoughness !== undefined) material.sheenRoughness = json.sheenRoughness;\n\t\t\tif (json.emissive !== undefined && material.emissive !== undefined) material.emissive.setHex(json.emissive);\n\t\t\tif (json.specular !== undefined && material.specular !== undefined) material.specular.setHex(json.specular);\n\t\t\tif (json.specularIntensity !== undefined) material.specularIntensity = json.specularIntensity;\n\t\t\tif (json.specularColor !== undefined && material.specularColor !== undefined) material.specularColor.setHex(json.specularColor);\n\t\t\tif (json.shininess !== undefined) material.shininess = json.shininess;\n\t\t\tif (json.clearcoat !== undefined) material.clearcoat = json.clearcoat;\n\t\t\tif (json.clearcoatRoughness !== undefined) material.clearcoatRoughness = json.clearcoatRoughness;\n\t\t\tif (json.iridescence !== undefined) material.iridescence = json.iridescence;\n\t\t\tif (json.iridescenceIOR !== undefined) material.iridescenceIOR = json.iridescenceIOR;\n\t\t\tif (json.iridescenceThicknessRange !== undefined) material.iridescenceThicknessRange = json.iridescenceThicknessRange;\n\t\t\tif (json.transmission !== undefined) material.transmission = json.transmission;\n\t\t\tif (json.thickness !== undefined) material.thickness = json.thickness;\n\t\t\tif (json.attenuationDistance !== undefined) material.attenuationDistance = json.attenuationDistance;\n\t\t\tif (json.attenuationColor !== undefined && material.attenuationColor !== undefined) material.attenuationColor.setHex(json.attenuationColor);\n\t\t\tif (json.fog !== undefined) material.fog = json.fog;\n\t\t\tif (json.flatShading !== undefined) material.flatShading = json.flatShading;\n\t\t\tif (json.blending !== undefined) material.blending = json.blending;\n\t\t\tif (json.combine !== undefined) material.combine = json.combine;\n\t\t\tif (json.side !== undefined) material.side = json.side;\n\t\t\tif (json.shadowSide !== undefined) material.shadowSide = json.shadowSide;\n\t\t\tif (json.opacity !== undefined) material.opacity = json.opacity;\n\t\t\tif (json.transparent !== undefined) material.transparent = json.transparent;\n\t\t\tif (json.alphaTest !== undefined) material.alphaTest = json.alphaTest;\n\t\t\tif (json.depthTest !== undefined) material.depthTest = json.depthTest;\n\t\t\tif (json.depthWrite !== undefined) material.depthWrite = json.depthWrite;\n\t\t\tif (json.colorWrite !== undefined) material.colorWrite = json.colorWrite;\n\t\t\tif (json.stencilWrite !== undefined) material.stencilWrite = json.stencilWrite;\n\t\t\tif (json.stencilWriteMask !== undefined) material.stencilWriteMask = json.stencilWriteMask;\n\t\t\tif (json.stencilFunc !== undefined) material.stencilFunc = json.stencilFunc;\n\t\t\tif (json.stencilRef !== undefined) material.stencilRef = json.stencilRef;\n\t\t\tif (json.stencilFuncMask !== undefined) material.stencilFuncMask = json.stencilFuncMask;\n\t\t\tif (json.stencilFail !== undefined) material.stencilFail = json.stencilFail;\n\t\t\tif (json.stencilZFail !== undefined) material.stencilZFail = json.stencilZFail;\n\t\t\tif (json.stencilZPass !== undefined) material.stencilZPass = json.stencilZPass;\n\t\t\tif (json.wireframe !== undefined) material.wireframe = json.wireframe;\n\t\t\tif (json.wireframeLinewidth !== undefined) material.wireframeLinewidth = json.wireframeLinewidth;\n\t\t\tif (json.wireframeLinecap !== undefined) material.wireframeLinecap = json.wireframeLinecap;\n\t\t\tif (json.wireframeLinejoin !== undefined) material.wireframeLinejoin = json.wireframeLinejoin;\n\t\t\tif (json.rotation !== undefined) material.rotation = json.rotation;\n\t\t\tif (json.linewidth !== 1) material.linewidth = json.linewidth;\n\t\t\tif (json.dashSize !== undefined) material.dashSize = json.dashSize;\n\t\t\tif (json.gapSize !== undefined) material.gapSize = json.gapSize;\n\t\t\tif (json.scale !== undefined) material.scale = json.scale;\n\t\t\tif (json.polygonOffset !== undefined) material.polygonOffset = json.polygonOffset;\n\t\t\tif (json.polygonOffsetFactor !== undefined) material.polygonOffsetFactor = json.polygonOffsetFactor;\n\t\t\tif (json.polygonOffsetUnits !== undefined) material.polygonOffsetUnits = json.polygonOffsetUnits;\n\t\t\tif (json.dithering !== undefined) material.dithering = json.dithering;\n\t\t\tif (json.alphaToCoverage !== undefined) material.alphaToCoverage = json.alphaToCoverage;\n\t\t\tif (json.premultipliedAlpha !== undefined) material.premultipliedAlpha = json.premultipliedAlpha;\n\t\t\tif (json.visible !== undefined) material.visible = json.visible;\n\t\t\tif (json.toneMapped !== undefined) material.toneMapped = json.toneMapped;\n\t\t\tif (json.userData !== undefined) material.userData = json.userData;\n\n\t\t\tif (json.vertexColors !== undefined) {\n\t\t\t\tif (typeof json.vertexColors === 'number') {\n\t\t\t\t\tmaterial.vertexColors = json.vertexColors > 0 ? true : false;\n\t\t\t\t} else {\n\t\t\t\t\tmaterial.vertexColors = json.vertexColors;\n\t\t\t\t}\n\t\t\t} // Shader Material\n\n\n\t\t\tif (json.uniforms !== undefined) {\n\t\t\t\tfor (const name in json.uniforms) {\n\t\t\t\t\tconst uniform = json.uniforms[name];\n\t\t\t\t\tmaterial.uniforms[name] = {};\n\n\t\t\t\t\tswitch (uniform.type) {\n\t\t\t\t\t\tcase 't':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = getTexture(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'c':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Color().setHex(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'v2':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Vector2().fromArray(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'v3':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Vector3().fromArray(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'v4':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Vector4().fromArray(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'm3':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Matrix3().fromArray(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'm4':\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = new Matrix4().fromArray(uniform.value);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tmaterial.uniforms[name].value = uniform.value;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (json.defines !== undefined) material.defines = json.defines;\n\t\t\tif (json.vertexShader !== undefined) material.vertexShader = json.vertexShader;\n\t\t\tif (json.fragmentShader !== undefined) material.fragmentShader = json.fragmentShader;\n\n\t\t\tif (json.extensions !== undefined) {\n\t\t\t\tfor (const key in json.extensions) {\n\t\t\t\t\tmaterial.extensions[key] = json.extensions[key];\n\t\t\t\t}\n\t\t\t} // Deprecated\n\n\n\t\t\tif (json.shading !== undefined) material.flatShading = json.shading === 1; // THREE.FlatShading\n\t\t\t// for PointsMaterial\n\n\t\t\tif (json.size !== undefined) material.size = json.size;\n\t\t\tif (json.sizeAttenuation !== undefined) material.sizeAttenuation = json.sizeAttenuation; // maps\n\n\t\t\tif (json.map !== undefined) material.map = getTexture(json.map);\n\t\t\tif (json.matcap !== undefined) material.matcap = getTexture(json.matcap);\n\t\t\tif (json.alphaMap !== undefined) material.alphaMap = getTexture(json.alphaMap);\n\t\t\tif (json.bumpMap !== undefined) material.bumpMap = getTexture(json.bumpMap);\n\t\t\tif (json.bumpScale !== undefined) material.bumpScale = json.bumpScale;\n\t\t\tif (json.normalMap !== undefined) material.normalMap = getTexture(json.normalMap);\n\t\t\tif (json.normalMapType !== undefined) material.normalMapType = json.normalMapType;\n\n\t\t\tif (json.normalScale !== undefined) {\n\t\t\t\tlet normalScale = json.normalScale;\n\n\t\t\t\tif (Array.isArray(normalScale) === false) {\n\t\t\t\t\t// Blender exporter used to export a scalar. See #7459\n\t\t\t\t\tnormalScale = [normalScale, normalScale];\n\t\t\t\t}\n\n\t\t\t\tmaterial.normalScale = new Vector2().fromArray(normalScale);\n\t\t\t}\n\n\t\t\tif (json.displacementMap !== undefined) material.displacementMap = getTexture(json.displacementMap);\n\t\t\tif (json.displacementScale !== undefined) material.displacementScale = json.displacementScale;\n\t\t\tif (json.displacementBias !== undefined) material.displacementBias = json.displacementBias;\n\t\t\tif (json.roughnessMap !== undefined) material.roughnessMap = getTexture(json.roughnessMap);\n\t\t\tif (json.metalnessMap !== undefined) material.metalnessMap = getTexture(json.metalnessMap);\n\t\t\tif (json.emissiveMap !== undefined) material.emissiveMap = getTexture(json.emissiveMap);\n\t\t\tif (json.emissiveIntensity !== undefined) material.emissiveIntensity = json.emissiveIntensity;\n\t\t\tif (json.specularMap !== undefined) material.specularMap = getTexture(json.specularMap);\n\t\t\tif (json.specularIntensityMap !== undefined) material.specularIntensityMap = getTexture(json.specularIntensityMap);\n\t\t\tif (json.specularColorMap !== undefined) material.specularColorMap = getTexture(json.specularColorMap);\n\t\t\tif (json.envMap !== undefined) material.envMap = getTexture(json.envMap);\n\t\t\tif (json.envMapIntensity !== undefined) material.envMapIntensity = json.envMapIntensity;\n\t\t\tif (json.reflectivity !== undefined) material.reflectivity = json.reflectivity;\n\t\t\tif (json.refractionRatio !== undefined) material.refractionRatio = json.refractionRatio;\n\t\t\tif (json.lightMap !== undefined) material.lightMap = getTexture(json.lightMap);\n\t\t\tif (json.lightMapIntensity !== undefined) material.lightMapIntensity = json.lightMapIntensity;\n\t\t\tif (json.aoMap !== undefined) material.aoMap = getTexture(json.aoMap);\n\t\t\tif (json.aoMapIntensity !== undefined) material.aoMapIntensity = json.aoMapIntensity;\n\t\t\tif (json.gradientMap !== undefined) material.gradientMap = getTexture(json.gradientMap);\n\t\t\tif (json.clearcoatMap !== undefined) material.clearcoatMap = getTexture(json.clearcoatMap);\n\t\t\tif (json.clearcoatRoughnessMap !== undefined) material.clearcoatRoughnessMap = getTexture(json.clearcoatRoughnessMap);\n\t\t\tif (json.clearcoatNormalMap !== undefined) material.clearcoatNormalMap = getTexture(json.clearcoatNormalMap);\n\t\t\tif (json.clearcoatNormalScale !== undefined) material.clearcoatNormalScale = new Vector2().fromArray(json.clearcoatNormalScale);\n\t\t\tif (json.iridescenceMap !== undefined) material.iridescenceMap = getTexture(json.iridescenceMap);\n\t\t\tif (json.iridescenceThicknessMap !== undefined) material.iridescenceThicknessMap = getTexture(json.iridescenceThicknessMap);\n\t\t\tif (json.transmissionMap !== undefined) material.transmissionMap = getTexture(json.transmissionMap);\n\t\t\tif (json.thicknessMap !== undefined) material.thicknessMap = getTexture(json.thicknessMap);\n\t\t\tif (json.sheenColorMap !== undefined) material.sheenColorMap = getTexture(json.sheenColorMap);\n\t\t\tif (json.sheenRoughnessMap !== undefined) material.sheenRoughnessMap = getTexture(json.sheenRoughnessMap);\n\t\t\treturn material;\n\t\t}\n\n\t\tsetTextures(value) {\n\t\t\tthis.textures = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tstatic createMaterialFromType(type) {\n\t\t\tconst materialLib = {\n\t\t\t\tShadowMaterial,\n\t\t\t\tSpriteMaterial,\n\t\t\t\tRawShaderMaterial,\n\t\t\t\tShaderMaterial,\n\t\t\t\tPointsMaterial,\n\t\t\t\tMeshPhysicalMaterial,\n\t\t\t\tMeshStandardMaterial,\n\t\t\t\tMeshPhongMaterial,\n\t\t\t\tMeshToonMaterial,\n\t\t\t\tMeshNormalMaterial,\n\t\t\t\tMeshLambertMaterial,\n\t\t\t\tMeshDepthMaterial,\n\t\t\t\tMeshDistanceMaterial,\n\t\t\t\tMeshBasicMaterial,\n\t\t\t\tMeshMatcapMaterial,\n\t\t\t\tLineDashedMaterial,\n\t\t\t\tLineBasicMaterial,\n\t\t\t\tMaterial\n\t\t\t};\n\t\t\treturn new materialLib[type]();\n\t\t}\n\n\t}\n\n\tclass LoaderUtils {\n\t\tstatic decodeText(array) {\n\t\t\tif (typeof TextDecoder !== 'undefined') {\n\t\t\t\treturn new TextDecoder().decode(array);\n\t\t\t} // Avoid the String.fromCharCode.apply(null, array) shortcut, which\n\t\t\t// throws a \"maximum call stack size exceeded\" error for large arrays.\n\n\n\t\t\tlet s = '';\n\n\t\t\tfor (let i = 0, il = array.length; i < il; i++) {\n\t\t\t\t// Implicitly assumes little-endian.\n\t\t\t\ts += String.fromCharCode(array[i]);\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\t// merges multi-byte utf-8 characters.\n\t\t\t\treturn decodeURIComponent(escape(s));\n\t\t\t} catch (e) {\n\t\t\t\t// see #16358\n\t\t\t\treturn s;\n\t\t\t}\n\t\t}\n\n\t\tstatic extractUrlBase(url) {\n\t\t\tconst index = url.lastIndexOf('/');\n\t\t\tif (index === -1) return './';\n\t\t\treturn url.slice(0, index + 1);\n\t\t}\n\n\t\tstatic resolveURL(url, path) {\n\t\t\t// Invalid URL\n\t\t\tif (typeof url !== 'string' || url === '') return ''; // Host Relative URL\n\n\t\t\tif (/^https?:\\/\\//i.test(path) && /^\\//.test(url)) {\n\t\t\t\tpath = path.replace(/(^https?:\\/\\/[^\\/]+).*/i, '$1');\n\t\t\t} // Absolute URL http://,https://,//\n\n\n\t\t\tif (/^(https?:)?\\/\\//i.test(url)) return url; // Data URI\n\n\t\t\tif (/^data:.*,.*$/i.test(url)) return url; // Blob URL\n\n\t\t\tif (/^blob:.*$/i.test(url)) return url; // Relative URL\n\n\t\t\treturn path + url;\n\t\t}\n\n\t}\n\n\tclass InstancedBufferGeometry extends BufferGeometry {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.isInstancedBufferGeometry = true;\n\t\t\tthis.type = 'InstancedBufferGeometry';\n\t\t\tthis.instanceCount = Infinity;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.instanceCount = source.instanceCount;\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\ttoJSON() {\n\t\t\tconst data = super.toJSON(this);\n\t\t\tdata.instanceCount = this.instanceCount;\n\t\t\tdata.isInstancedBufferGeometry = true;\n\t\t\treturn data;\n\t\t}\n\n\t}\n\n\tclass BufferGeometryLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst loader = new FileLoader(scope.manager);\n\t\t\tloader.setPath(scope.path);\n\t\t\tloader.setRequestHeader(scope.requestHeader);\n\t\t\tloader.setWithCredentials(scope.withCredentials);\n\t\t\tloader.load(url, function (text) {\n\t\t\t\ttry {\n\t\t\t\t\tonLoad(scope.parse(JSON.parse(text)));\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (onError) {\n\t\t\t\t\t\tonError(e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.manager.itemError(url);\n\t\t\t\t}\n\t\t\t}, onProgress, onError);\n\t\t}\n\n\t\tparse(json) {\n\t\t\tconst interleavedBufferMap = {};\n\t\t\tconst arrayBufferMap = {};\n\n\t\t\tfunction getInterleavedBuffer(json, uuid) {\n\t\t\t\tif (interleavedBufferMap[uuid] !== undefined) return interleavedBufferMap[uuid];\n\t\t\t\tconst interleavedBuffers = json.interleavedBuffers;\n\t\t\t\tconst interleavedBuffer = interleavedBuffers[uuid];\n\t\t\t\tconst buffer = getArrayBuffer(json, interleavedBuffer.buffer);\n\t\t\t\tconst array = getTypedArray(interleavedBuffer.type, buffer);\n\t\t\t\tconst ib = new InterleavedBuffer(array, interleavedBuffer.stride);\n\t\t\t\tib.uuid = interleavedBuffer.uuid;\n\t\t\t\tinterleavedBufferMap[uuid] = ib;\n\t\t\t\treturn ib;\n\t\t\t}\n\n\t\t\tfunction getArrayBuffer(json, uuid) {\n\t\t\t\tif (arrayBufferMap[uuid] !== undefined) return arrayBufferMap[uuid];\n\t\t\t\tconst arrayBuffers = json.arrayBuffers;\n\t\t\t\tconst arrayBuffer = arrayBuffers[uuid];\n\t\t\t\tconst ab = new Uint32Array(arrayBuffer).buffer;\n\t\t\t\tarrayBufferMap[uuid] = ab;\n\t\t\t\treturn ab;\n\t\t\t}\n\n\t\t\tconst geometry = json.isInstancedBufferGeometry ? new InstancedBufferGeometry() : new BufferGeometry();\n\t\t\tconst index = json.data.index;\n\n\t\t\tif (index !== undefined) {\n\t\t\t\tconst typedArray = getTypedArray(index.type, index.array);\n\t\t\t\tgeometry.setIndex(new BufferAttribute(typedArray, 1));\n\t\t\t}\n\n\t\t\tconst attributes = json.data.attributes;\n\n\t\t\tfor (const key in attributes) {\n\t\t\t\tconst attribute = attributes[key];\n\t\t\t\tlet bufferAttribute;\n\n\t\t\t\tif (attribute.isInterleavedBufferAttribute) {\n\t\t\t\t\tconst interleavedBuffer = getInterleavedBuffer(json.data, attribute.data);\n\t\t\t\t\tbufferAttribute = new InterleavedBufferAttribute(interleavedBuffer, attribute.itemSize, attribute.offset, attribute.normalized);\n\t\t\t\t} else {\n\t\t\t\t\tconst typedArray = getTypedArray(attribute.type, attribute.array);\n\t\t\t\t\tconst bufferAttributeConstr = attribute.isInstancedBufferAttribute ? InstancedBufferAttribute : BufferAttribute;\n\t\t\t\t\tbufferAttribute = new bufferAttributeConstr(typedArray, attribute.itemSize, attribute.normalized);\n\t\t\t\t}\n\n\t\t\t\tif (attribute.name !== undefined) bufferAttribute.name = attribute.name;\n\t\t\t\tif (attribute.usage !== undefined) bufferAttribute.setUsage(attribute.usage);\n\n\t\t\t\tif (attribute.updateRange !== undefined) {\n\t\t\t\t\tbufferAttribute.updateRange.offset = attribute.updateRange.offset;\n\t\t\t\t\tbufferAttribute.updateRange.count = attribute.updateRange.count;\n\t\t\t\t}\n\n\t\t\t\tgeometry.setAttribute(key, bufferAttribute);\n\t\t\t}\n\n\t\t\tconst morphAttributes = json.data.morphAttributes;\n\n\t\t\tif (morphAttributes) {\n\t\t\t\tfor (const key in morphAttributes) {\n\t\t\t\t\tconst attributeArray = morphAttributes[key];\n\t\t\t\t\tconst array = [];\n\n\t\t\t\t\tfor (let i = 0, il = attributeArray.length; i < il; i++) {\n\t\t\t\t\t\tconst attribute = attributeArray[i];\n\t\t\t\t\t\tlet bufferAttribute;\n\n\t\t\t\t\t\tif (attribute.isInterleavedBufferAttribute) {\n\t\t\t\t\t\t\tconst interleavedBuffer = getInterleavedBuffer(json.data, attribute.data);\n\t\t\t\t\t\t\tbufferAttribute = new InterleavedBufferAttribute(interleavedBuffer, attribute.itemSize, attribute.offset, attribute.normalized);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst typedArray = getTypedArray(attribute.type, attribute.array);\n\t\t\t\t\t\t\tbufferAttribute = new BufferAttribute(typedArray, attribute.itemSize, attribute.normalized);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (attribute.name !== undefined) bufferAttribute.name = attribute.name;\n\t\t\t\t\t\tarray.push(bufferAttribute);\n\t\t\t\t\t}\n\n\t\t\t\t\tgeometry.morphAttributes[key] = array;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst morphTargetsRelative = json.data.morphTargetsRelative;\n\n\t\t\tif (morphTargetsRelative) {\n\t\t\t\tgeometry.morphTargetsRelative = true;\n\t\t\t}\n\n\t\t\tconst groups = json.data.groups || json.data.drawcalls || json.data.offsets;\n\n\t\t\tif (groups !== undefined) {\n\t\t\t\tfor (let i = 0, n = groups.length; i !== n; ++i) {\n\t\t\t\t\tconst group = groups[i];\n\t\t\t\t\tgeometry.addGroup(group.start, group.count, group.materialIndex);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst boundingSphere = json.data.boundingSphere;\n\n\t\t\tif (boundingSphere !== undefined) {\n\t\t\t\tconst center = new Vector3();\n\n\t\t\t\tif (boundingSphere.center !== undefined) {\n\t\t\t\t\tcenter.fromArray(boundingSphere.center);\n\t\t\t\t}\n\n\t\t\t\tgeometry.boundingSphere = new Sphere(center, boundingSphere.radius);\n\t\t\t}\n\n\t\t\tif (json.name) geometry.name = json.name;\n\t\t\tif (json.userData) geometry.userData = json.userData;\n\t\t\treturn geometry;\n\t\t}\n\n\t}\n\n\tclass ObjectLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst path = this.path === '' ? LoaderUtils.extractUrlBase(url) : this.path;\n\t\t\tthis.resourcePath = this.resourcePath || path;\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setWithCredentials(this.withCredentials);\n\t\t\tloader.load(url, function (text) {\n\t\t\t\tlet json = null;\n\n\t\t\t\ttry {\n\t\t\t\t\tjson = JSON.parse(text);\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (onError !== undefined) onError(error);\n\t\t\t\t\tconsole.error('THREE:ObjectLoader: Can\\'t parse ' + url + '.', error.message);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tconst metadata = json.metadata;\n\n\t\t\t\tif (metadata === undefined || metadata.type === undefined || metadata.type.toLowerCase() === 'geometry') {\n\t\t\t\t\tconsole.error('THREE.ObjectLoader: Can\\'t load ' + url);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tscope.parse(json, onLoad);\n\t\t\t}, onProgress, onError);\n\t\t}\n\n\t\tasync loadAsync(url, onProgress) {\n\t\t\tconst scope = this;\n\t\t\tconst path = this.path === '' ? LoaderUtils.extractUrlBase(url) : this.path;\n\t\t\tthis.resourcePath = this.resourcePath || path;\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setWithCredentials(this.withCredentials);\n\t\t\tconst text = await loader.loadAsync(url, onProgress);\n\t\t\tconst json = JSON.parse(text);\n\t\t\tconst metadata = json.metadata;\n\n\t\t\tif (metadata === undefined || metadata.type === undefined || metadata.type.toLowerCase() === 'geometry') {\n\t\t\t\tthrow new Error('THREE.ObjectLoader: Can\\'t load ' + url);\n\t\t\t}\n\n\t\t\treturn await scope.parseAsync(json);\n\t\t}\n\n\t\tparse(json, onLoad) {\n\t\t\tconst animations = this.parseAnimations(json.animations);\n\t\t\tconst shapes = this.parseShapes(json.shapes);\n\t\t\tconst geometries = this.parseGeometries(json.geometries, shapes);\n\t\t\tconst images = this.parseImages(json.images, function () {\n\t\t\t\tif (onLoad !== undefined) onLoad(object);\n\t\t\t});\n\t\t\tconst textures = this.parseTextures(json.textures, images);\n\t\t\tconst materials = this.parseMaterials(json.materials, textures);\n\t\t\tconst object = this.parseObject(json.object, geometries, materials, textures, animations);\n\t\t\tconst skeletons = this.parseSkeletons(json.skeletons, object);\n\t\t\tthis.bindSkeletons(object, skeletons); //\n\n\t\t\tif (onLoad !== undefined) {\n\t\t\t\tlet hasImages = false;\n\n\t\t\t\tfor (const uuid in images) {\n\t\t\t\t\tif (images[uuid].data instanceof HTMLImageElement) {\n\t\t\t\t\t\thasImages = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (hasImages === false) onLoad(object);\n\t\t\t}\n\n\t\t\treturn object;\n\t\t}\n\n\t\tasync parseAsync(json) {\n\t\t\tconst animations = this.parseAnimations(json.animations);\n\t\t\tconst shapes = this.parseShapes(json.shapes);\n\t\t\tconst geometries = this.parseGeometries(json.geometries, shapes);\n\t\t\tconst images = await this.parseImagesAsync(json.images);\n\t\t\tconst textures = this.parseTextures(json.textures, images);\n\t\t\tconst materials = this.parseMaterials(json.materials, textures);\n\t\t\tconst object = this.parseObject(json.object, geometries, materials, textures, animations);\n\t\t\tconst skeletons = this.parseSkeletons(json.skeletons, object);\n\t\t\tthis.bindSkeletons(object, skeletons);\n\t\t\treturn object;\n\t\t}\n\n\t\tparseShapes(json) {\n\t\t\tconst shapes = {};\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tfor (let i = 0, l = json.length; i < l; i++) {\n\t\t\t\t\tconst shape = new Shape().fromJSON(json[i]);\n\t\t\t\t\tshapes[shape.uuid] = shape;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn shapes;\n\t\t}\n\n\t\tparseSkeletons(json, object) {\n\t\t\tconst skeletons = {};\n\t\t\tconst bones = {}; // generate bone lookup table\n\n\t\t\tobject.traverse(function (child) {\n\t\t\t\tif (child.isBone) bones[child.uuid] = child;\n\t\t\t}); // create skeletons\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tfor (let i = 0, l = json.length; i < l; i++) {\n\t\t\t\t\tconst skeleton = new Skeleton().fromJSON(json[i], bones);\n\t\t\t\t\tskeletons[skeleton.uuid] = skeleton;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn skeletons;\n\t\t}\n\n\t\tparseGeometries(json, shapes) {\n\t\t\tconst geometries = {};\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tconst bufferGeometryLoader = new BufferGeometryLoader();\n\n\t\t\t\tfor (let i = 0, l = json.length; i < l; i++) {\n\t\t\t\t\tlet geometry;\n\t\t\t\t\tconst data = json[i];\n\n\t\t\t\t\tswitch (data.type) {\n\t\t\t\t\t\tcase 'BufferGeometry':\n\t\t\t\t\t\tcase 'InstancedBufferGeometry':\n\t\t\t\t\t\t\tgeometry = bufferGeometryLoader.parse(data);\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tcase 'Geometry':\n\t\t\t\t\t\t\tconsole.error('THREE.ObjectLoader: The legacy Geometry type is no longer supported.');\n\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\tif (data.type in Geometries) {\n\t\t\t\t\t\t\t\tgeometry = Geometries[data.type].fromJSON(data, shapes);\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tconsole.warn(`THREE.ObjectLoader: Unsupported geometry type \"${data.type}\"`);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t\tgeometry.uuid = data.uuid;\n\t\t\t\t\tif (data.name !== undefined) geometry.name = data.name;\n\t\t\t\t\tif (geometry.isBufferGeometry === true && data.userData !== undefined) geometry.userData = data.userData;\n\t\t\t\t\tgeometries[data.uuid] = geometry;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn geometries;\n\t\t}\n\n\t\tparseMaterials(json, textures) {\n\t\t\tconst cache = {}; // MultiMaterial\n\n\t\t\tconst materials = {};\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tconst loader = new MaterialLoader();\n\t\t\t\tloader.setTextures(textures);\n\n\t\t\t\tfor (let i = 0, l = json.length; i < l; i++) {\n\t\t\t\t\tconst data = json[i];\n\n\t\t\t\t\tif (data.type === 'MultiMaterial') {\n\t\t\t\t\t\t// Deprecated\n\t\t\t\t\t\tconst array = [];\n\n\t\t\t\t\t\tfor (let j = 0; j < data.materials.length; j++) {\n\t\t\t\t\t\t\tconst material = data.materials[j];\n\n\t\t\t\t\t\t\tif (cache[material.uuid] === undefined) {\n\t\t\t\t\t\t\t\tcache[material.uuid] = loader.parse(material);\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\tarray.push(cache[material.uuid]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tmaterials[data.uuid] = array;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (cache[data.uuid] === undefined) {\n\t\t\t\t\t\t\tcache[data.uuid] = loader.parse(data);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tmaterials[data.uuid] = cache[data.uuid];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn materials;\n\t\t}\n\n\t\tparseAnimations(json) {\n\t\t\tconst animations = {};\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tfor (let i = 0; i < json.length; i++) {\n\t\t\t\t\tconst data = json[i];\n\t\t\t\t\tconst clip = AnimationClip.parse(data);\n\t\t\t\t\tanimations[clip.uuid] = clip;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn animations;\n\t\t}\n\n\t\tparseImages(json, onLoad) {\n\t\t\tconst scope = this;\n\t\t\tconst images = {};\n\t\t\tlet loader;\n\n\t\t\tfunction loadImage(url) {\n\t\t\t\tscope.manager.itemStart(url);\n\t\t\t\treturn loader.load(url, function () {\n\t\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t\t}, undefined, function () {\n\t\t\t\t\tscope.manager.itemError(url);\n\t\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tfunction deserializeImage(image) {\n\t\t\t\tif (typeof image === 'string') {\n\t\t\t\t\tconst url = image;\n\t\t\t\t\tconst path = /^(\\/\\/)|([a-z]+:(\\/\\/)?)/i.test(url) ? url : scope.resourcePath + url;\n\t\t\t\t\treturn loadImage(path);\n\t\t\t\t} else {\n\t\t\t\t\tif (image.data) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tdata: getTypedArray(image.type, image.data),\n\t\t\t\t\t\t\twidth: image.width,\n\t\t\t\t\t\t\theight: image.height\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (json !== undefined && json.length > 0) {\n\t\t\t\tconst manager = new LoadingManager(onLoad);\n\t\t\t\tloader = new ImageLoader(manager);\n\t\t\t\tloader.setCrossOrigin(this.crossOrigin);\n\n\t\t\t\tfor (let i = 0, il = json.length; i < il; i++) {\n\t\t\t\t\tconst image = json[i];\n\t\t\t\t\tconst url = image.url;\n\n\t\t\t\t\tif (Array.isArray(url)) {\n\t\t\t\t\t\t// load array of images e.g CubeTexture\n\t\t\t\t\t\tconst imageArray = [];\n\n\t\t\t\t\t\tfor (let j = 0, jl = url.length; j < jl; j++) {\n\t\t\t\t\t\t\tconst currentUrl = url[j];\n\t\t\t\t\t\t\tconst deserializedImage = deserializeImage(currentUrl);\n\n\t\t\t\t\t\t\tif (deserializedImage !== null) {\n\t\t\t\t\t\t\t\tif (deserializedImage instanceof HTMLImageElement) {\n\t\t\t\t\t\t\t\t\timageArray.push(deserializedImage);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// special case: handle array of data textures for cube textures\n\t\t\t\t\t\t\t\t\timageArray.push(new DataTexture(deserializedImage.data, deserializedImage.width, deserializedImage.height));\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\timages[image.uuid] = new Source(imageArray);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// load single image\n\t\t\t\t\t\tconst deserializedImage = deserializeImage(image.url);\n\t\t\t\t\t\timages[image.uuid] = new Source(deserializedImage);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn images;\n\t\t}\n\n\t\tasync parseImagesAsync(json) {\n\t\t\tconst scope = this;\n\t\t\tconst images = {};\n\t\t\tlet loader;\n\n\t\t\tasync function deserializeImage(image) {\n\t\t\t\tif (typeof image === 'string') {\n\t\t\t\t\tconst url = image;\n\t\t\t\t\tconst path = /^(\\/\\/)|([a-z]+:(\\/\\/)?)/i.test(url) ? url : scope.resourcePath + url;\n\t\t\t\t\treturn await loader.loadAsync(path);\n\t\t\t\t} else {\n\t\t\t\t\tif (image.data) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\tdata: getTypedArray(image.type, image.data),\n\t\t\t\t\t\t\twidth: image.width,\n\t\t\t\t\t\t\theight: image.height\n\t\t\t\t\t\t};\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn null;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (json !== undefined && json.length > 0) {\n\t\t\t\tloader = new ImageLoader(this.manager);\n\t\t\t\tloader.setCrossOrigin(this.crossOrigin);\n\n\t\t\t\tfor (let i = 0, il = json.length; i < il; i++) {\n\t\t\t\t\tconst image = json[i];\n\t\t\t\t\tconst url = image.url;\n\n\t\t\t\t\tif (Array.isArray(url)) {\n\t\t\t\t\t\t// load array of images e.g CubeTexture\n\t\t\t\t\t\tconst imageArray = [];\n\n\t\t\t\t\t\tfor (let j = 0, jl = url.length; j < jl; j++) {\n\t\t\t\t\t\t\tconst currentUrl = url[j];\n\t\t\t\t\t\t\tconst deserializedImage = await deserializeImage(currentUrl);\n\n\t\t\t\t\t\t\tif (deserializedImage !== null) {\n\t\t\t\t\t\t\t\tif (deserializedImage instanceof HTMLImageElement) {\n\t\t\t\t\t\t\t\t\timageArray.push(deserializedImage);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t// special case: handle array of data textures for cube textures\n\t\t\t\t\t\t\t\t\timageArray.push(new DataTexture(deserializedImage.data, deserializedImage.width, deserializedImage.height));\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\timages[image.uuid] = new Source(imageArray);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// load single image\n\t\t\t\t\t\tconst deserializedImage = await deserializeImage(image.url);\n\t\t\t\t\t\timages[image.uuid] = new Source(deserializedImage);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn images;\n\t\t}\n\n\t\tparseTextures(json, images) {\n\t\t\tfunction parseConstant(value, type) {\n\t\t\t\tif (typeof value === 'number') return value;\n\t\t\t\tconsole.warn('THREE.ObjectLoader.parseTexture: Constant should be in numeric form.', value);\n\t\t\t\treturn type[value];\n\t\t\t}\n\n\t\t\tconst textures = {};\n\n\t\t\tif (json !== undefined) {\n\t\t\t\tfor (let i = 0, l = json.length; i < l; i++) {\n\t\t\t\t\tconst data = json[i];\n\n\t\t\t\t\tif (data.image === undefined) {\n\t\t\t\t\t\tconsole.warn('THREE.ObjectLoader: No \"image\" specified for', data.uuid);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (images[data.image] === undefined) {\n\t\t\t\t\t\tconsole.warn('THREE.ObjectLoader: Undefined image', data.image);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst source = images[data.image];\n\t\t\t\t\tconst image = source.data;\n\t\t\t\t\tlet texture;\n\n\t\t\t\t\tif (Array.isArray(image)) {\n\t\t\t\t\t\ttexture = new CubeTexture();\n\t\t\t\t\t\tif (image.length === 6) texture.needsUpdate = true;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tif (image && image.data) {\n\t\t\t\t\t\t\ttexture = new DataTexture();\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\ttexture = new Texture();\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (image) texture.needsUpdate = true; // textures can have undefined image data\n\t\t\t\t\t}\n\n\t\t\t\t\ttexture.source = source;\n\t\t\t\t\ttexture.uuid = data.uuid;\n\t\t\t\t\tif (data.name !== undefined) texture.name = data.name;\n\t\t\t\t\tif (data.mapping !== undefined) texture.mapping = parseConstant(data.mapping, TEXTURE_MAPPING);\n\t\t\t\t\tif (data.offset !== undefined) texture.offset.fromArray(data.offset);\n\t\t\t\t\tif (data.repeat !== undefined) texture.repeat.fromArray(data.repeat);\n\t\t\t\t\tif (data.center !== undefined) texture.center.fromArray(data.center);\n\t\t\t\t\tif (data.rotation !== undefined) texture.rotation = data.rotation;\n\n\t\t\t\t\tif (data.wrap !== undefined) {\n\t\t\t\t\t\ttexture.wrapS = parseConstant(data.wrap[0], TEXTURE_WRAPPING);\n\t\t\t\t\t\ttexture.wrapT = parseConstant(data.wrap[1], TEXTURE_WRAPPING);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (data.format !== undefined) texture.format = data.format;\n\t\t\t\t\tif (data.type !== undefined) texture.type = data.type;\n\t\t\t\t\tif (data.encoding !== undefined) texture.encoding = data.encoding;\n\t\t\t\t\tif (data.minFilter !== undefined) texture.minFilter = parseConstant(data.minFilter, TEXTURE_FILTER);\n\t\t\t\t\tif (data.magFilter !== undefined) texture.magFilter = parseConstant(data.magFilter, TEXTURE_FILTER);\n\t\t\t\t\tif (data.anisotropy !== undefined) texture.anisotropy = data.anisotropy;\n\t\t\t\t\tif (data.flipY !== undefined) texture.flipY = data.flipY;\n\t\t\t\t\tif (data.premultiplyAlpha !== undefined) texture.premultiplyAlpha = data.premultiplyAlpha;\n\t\t\t\t\tif (data.unpackAlignment !== undefined) texture.unpackAlignment = data.unpackAlignment;\n\t\t\t\t\tif (data.userData !== undefined) texture.userData = data.userData;\n\t\t\t\t\ttextures[data.uuid] = texture;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn textures;\n\t\t}\n\n\t\tparseObject(data, geometries, materials, textures, animations) {\n\t\t\tlet object;\n\n\t\t\tfunction getGeometry(name) {\n\t\t\t\tif (geometries[name] === undefined) {\n\t\t\t\t\tconsole.warn('THREE.ObjectLoader: Undefined geometry', name);\n\t\t\t\t}\n\n\t\t\t\treturn geometries[name];\n\t\t\t}\n\n\t\t\tfunction getMaterial(name) {\n\t\t\t\tif (name === undefined) return undefined;\n\n\t\t\t\tif (Array.isArray(name)) {\n\t\t\t\t\tconst array = [];\n\n\t\t\t\t\tfor (let i = 0, l = name.length; i < l; i++) {\n\t\t\t\t\t\tconst uuid = name[i];\n\n\t\t\t\t\t\tif (materials[uuid] === undefined) {\n\t\t\t\t\t\t\tconsole.warn('THREE.ObjectLoader: Undefined material', uuid);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tarray.push(materials[uuid]);\n\t\t\t\t\t}\n\n\t\t\t\t\treturn array;\n\t\t\t\t}\n\n\t\t\t\tif (materials[name] === undefined) {\n\t\t\t\t\tconsole.warn('THREE.ObjectLoader: Undefined material', name);\n\t\t\t\t}\n\n\t\t\t\treturn materials[name];\n\t\t\t}\n\n\t\t\tfunction getTexture(uuid) {\n\t\t\t\tif (textures[uuid] === undefined) {\n\t\t\t\t\tconsole.warn('THREE.ObjectLoader: Undefined texture', uuid);\n\t\t\t\t}\n\n\t\t\t\treturn textures[uuid];\n\t\t\t}\n\n\t\t\tlet geometry, material;\n\n\t\t\tswitch (data.type) {\n\t\t\t\tcase 'Scene':\n\t\t\t\t\tobject = new Scene();\n\n\t\t\t\t\tif (data.background !== undefined) {\n\t\t\t\t\t\tif (Number.isInteger(data.background)) {\n\t\t\t\t\t\t\tobject.background = new Color(data.background);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tobject.background = getTexture(data.background);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tif (data.environment !== undefined) {\n\t\t\t\t\t\tobject.environment = getTexture(data.environment);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (data.fog !== undefined) {\n\t\t\t\t\t\tif (data.fog.type === 'Fog') {\n\t\t\t\t\t\t\tobject.fog = new Fog(data.fog.color, data.fog.near, data.fog.far);\n\t\t\t\t\t\t} else if (data.fog.type === 'FogExp2') {\n\t\t\t\t\t\t\tobject.fog = new FogExp2(data.fog.color, data.fog.density);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'PerspectiveCamera':\n\t\t\t\t\tobject = new PerspectiveCamera(data.fov, data.aspect, data.near, data.far);\n\t\t\t\t\tif (data.focus !== undefined) object.focus = data.focus;\n\t\t\t\t\tif (data.zoom !== undefined) object.zoom = data.zoom;\n\t\t\t\t\tif (data.filmGauge !== undefined) object.filmGauge = data.filmGauge;\n\t\t\t\t\tif (data.filmOffset !== undefined) object.filmOffset = data.filmOffset;\n\t\t\t\t\tif (data.view !== undefined) object.view = Object.assign({}, data.view);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'OrthographicCamera':\n\t\t\t\t\tobject = new OrthographicCamera(data.left, data.right, data.top, data.bottom, data.near, data.far);\n\t\t\t\t\tif (data.zoom !== undefined) object.zoom = data.zoom;\n\t\t\t\t\tif (data.view !== undefined) object.view = Object.assign({}, data.view);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'AmbientLight':\n\t\t\t\t\tobject = new AmbientLight(data.color, data.intensity);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'DirectionalLight':\n\t\t\t\t\tobject = new DirectionalLight(data.color, data.intensity);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'PointLight':\n\t\t\t\t\tobject = new PointLight(data.color, data.intensity, data.distance, data.decay);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'RectAreaLight':\n\t\t\t\t\tobject = new RectAreaLight(data.color, data.intensity, data.width, data.height);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'SpotLight':\n\t\t\t\t\tobject = new SpotLight(data.color, data.intensity, data.distance, data.angle, data.penumbra, data.decay);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'HemisphereLight':\n\t\t\t\t\tobject = new HemisphereLight(data.color, data.groundColor, data.intensity);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'LightProbe':\n\t\t\t\t\tobject = new LightProbe().fromJSON(data);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'SkinnedMesh':\n\t\t\t\t\tgeometry = getGeometry(data.geometry);\n\t\t\t\t\tmaterial = getMaterial(data.material);\n\t\t\t\t\tobject = new SkinnedMesh(geometry, material);\n\t\t\t\t\tif (data.bindMode !== undefined) object.bindMode = data.bindMode;\n\t\t\t\t\tif (data.bindMatrix !== undefined) object.bindMatrix.fromArray(data.bindMatrix);\n\t\t\t\t\tif (data.skeleton !== undefined) object.skeleton = data.skeleton;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Mesh':\n\t\t\t\t\tgeometry = getGeometry(data.geometry);\n\t\t\t\t\tmaterial = getMaterial(data.material);\n\t\t\t\t\tobject = new Mesh(geometry, material);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'InstancedMesh':\n\t\t\t\t\tgeometry = getGeometry(data.geometry);\n\t\t\t\t\tmaterial = getMaterial(data.material);\n\t\t\t\t\tconst count = data.count;\n\t\t\t\t\tconst instanceMatrix = data.instanceMatrix;\n\t\t\t\t\tconst instanceColor = data.instanceColor;\n\t\t\t\t\tobject = new InstancedMesh(geometry, material, count);\n\t\t\t\t\tobject.instanceMatrix = new InstancedBufferAttribute(new Float32Array(instanceMatrix.array), 16);\n\t\t\t\t\tif (instanceColor !== undefined) object.instanceColor = new InstancedBufferAttribute(new Float32Array(instanceColor.array), instanceColor.itemSize);\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'LOD':\n\t\t\t\t\tobject = new LOD();\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Line':\n\t\t\t\t\tobject = new Line(getGeometry(data.geometry), getMaterial(data.material));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'LineLoop':\n\t\t\t\t\tobject = new LineLoop(getGeometry(data.geometry), getMaterial(data.material));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'LineSegments':\n\t\t\t\t\tobject = new LineSegments(getGeometry(data.geometry), getMaterial(data.material));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'PointCloud':\n\t\t\t\tcase 'Points':\n\t\t\t\t\tobject = new Points(getGeometry(data.geometry), getMaterial(data.material));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Sprite':\n\t\t\t\t\tobject = new Sprite(getMaterial(data.material));\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Group':\n\t\t\t\t\tobject = new Group();\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'Bone':\n\t\t\t\t\tobject = new Bone();\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tobject = new Object3D();\n\t\t\t}\n\n\t\t\tobject.uuid = data.uuid;\n\t\t\tif (data.name !== undefined) object.name = data.name;\n\n\t\t\tif (data.matrix !== undefined) {\n\t\t\t\tobject.matrix.fromArray(data.matrix);\n\t\t\t\tif (data.matrixAutoUpdate !== undefined) object.matrixAutoUpdate = data.matrixAutoUpdate;\n\t\t\t\tif (object.matrixAutoUpdate) object.matrix.decompose(object.position, object.quaternion, object.scale);\n\t\t\t} else {\n\t\t\t\tif (data.position !== undefined) object.position.fromArray(data.position);\n\t\t\t\tif (data.rotation !== undefined) object.rotation.fromArray(data.rotation);\n\t\t\t\tif (data.quaternion !== undefined) object.quaternion.fromArray(data.quaternion);\n\t\t\t\tif (data.scale !== undefined) object.scale.fromArray(data.scale);\n\t\t\t}\n\n\t\t\tif (data.castShadow !== undefined) object.castShadow = data.castShadow;\n\t\t\tif (data.receiveShadow !== undefined) object.receiveShadow = data.receiveShadow;\n\n\t\t\tif (data.shadow) {\n\t\t\t\tif (data.shadow.bias !== undefined) object.shadow.bias = data.shadow.bias;\n\t\t\t\tif (data.shadow.normalBias !== undefined) object.shadow.normalBias = data.shadow.normalBias;\n\t\t\t\tif (data.shadow.radius !== undefined) object.shadow.radius = data.shadow.radius;\n\t\t\t\tif (data.shadow.mapSize !== undefined) object.shadow.mapSize.fromArray(data.shadow.mapSize);\n\t\t\t\tif (data.shadow.camera !== undefined) object.shadow.camera = this.parseObject(data.shadow.camera);\n\t\t\t}\n\n\t\t\tif (data.visible !== undefined) object.visible = data.visible;\n\t\t\tif (data.frustumCulled !== undefined) object.frustumCulled = data.frustumCulled;\n\t\t\tif (data.renderOrder !== undefined) object.renderOrder = data.renderOrder;\n\t\t\tif (data.userData !== undefined) object.userData = data.userData;\n\t\t\tif (data.layers !== undefined) object.layers.mask = data.layers;\n\n\t\t\tif (data.children !== undefined) {\n\t\t\t\tconst children = data.children;\n\n\t\t\t\tfor (let i = 0; i < children.length; i++) {\n\t\t\t\t\tobject.add(this.parseObject(children[i], geometries, materials, textures, animations));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (data.animations !== undefined) {\n\t\t\t\tconst objectAnimations = data.animations;\n\n\t\t\t\tfor (let i = 0; i < objectAnimations.length; i++) {\n\t\t\t\t\tconst uuid = objectAnimations[i];\n\t\t\t\t\tobject.animations.push(animations[uuid]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (data.type === 'LOD') {\n\t\t\t\tif (data.autoUpdate !== undefined) object.autoUpdate = data.autoUpdate;\n\t\t\t\tconst levels = data.levels;\n\n\t\t\t\tfor (let l = 0; l < levels.length; l++) {\n\t\t\t\t\tconst level = levels[l];\n\t\t\t\t\tconst child = object.getObjectByProperty('uuid', level.object);\n\n\t\t\t\t\tif (child !== undefined) {\n\t\t\t\t\t\tobject.addLevel(child, level.distance);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn object;\n\t\t}\n\n\t\tbindSkeletons(object, skeletons) {\n\t\t\tif (Object.keys(skeletons).length === 0) return;\n\t\t\tobject.traverse(function (child) {\n\t\t\t\tif (child.isSkinnedMesh === true && child.skeleton !== undefined) {\n\t\t\t\t\tconst skeleton = skeletons[child.skeleton];\n\n\t\t\t\t\tif (skeleton === undefined) {\n\t\t\t\t\t\tconsole.warn('THREE.ObjectLoader: No skeleton found with UUID:', child.skeleton);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tchild.bind(skeleton, child.bindMatrix);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t\t/* DEPRECATED */\n\n\n\t\tsetTexturePath(value) {\n\t\t\tconsole.warn('THREE.ObjectLoader: .setTexturePath() has been renamed to .setResourcePath().');\n\t\t\treturn this.setResourcePath(value);\n\t\t}\n\n\t}\n\n\tconst TEXTURE_MAPPING = {\n\t\tUVMapping: UVMapping,\n\t\tCubeReflectionMapping: CubeReflectionMapping,\n\t\tCubeRefractionMapping: CubeRefractionMapping,\n\t\tEquirectangularReflectionMapping: EquirectangularReflectionMapping,\n\t\tEquirectangularRefractionMapping: EquirectangularRefractionMapping,\n\t\tCubeUVReflectionMapping: CubeUVReflectionMapping\n\t};\n\tconst TEXTURE_WRAPPING = {\n\t\tRepeatWrapping: RepeatWrapping,\n\t\tClampToEdgeWrapping: ClampToEdgeWrapping,\n\t\tMirroredRepeatWrapping: MirroredRepeatWrapping\n\t};\n\tconst TEXTURE_FILTER = {\n\t\tNearestFilter: NearestFilter,\n\t\tNearestMipmapNearestFilter: NearestMipmapNearestFilter,\n\t\tNearestMipmapLinearFilter: NearestMipmapLinearFilter,\n\t\tLinearFilter: LinearFilter,\n\t\tLinearMipmapNearestFilter: LinearMipmapNearestFilter,\n\t\tLinearMipmapLinearFilter: LinearMipmapLinearFilter\n\t};\n\n\tclass ImageBitmapLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t\tthis.isImageBitmapLoader = true;\n\n\t\t\tif (typeof createImageBitmap === 'undefined') {\n\t\t\t\tconsole.warn('THREE.ImageBitmapLoader: createImageBitmap() not supported.');\n\t\t\t}\n\n\t\t\tif (typeof fetch === 'undefined') {\n\t\t\t\tconsole.warn('THREE.ImageBitmapLoader: fetch() not supported.');\n\t\t\t}\n\n\t\t\tthis.options = {\n\t\t\t\tpremultiplyAlpha: 'none'\n\t\t\t};\n\t\t}\n\n\t\tsetOptions(options) {\n\t\t\tthis.options = options;\n\t\t\treturn this;\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tif (url === undefined) url = '';\n\t\t\tif (this.path !== undefined) url = this.path + url;\n\t\t\turl = this.manager.resolveURL(url);\n\t\t\tconst scope = this;\n\t\t\tconst cached = Cache.get(url);\n\n\t\t\tif (cached !== undefined) {\n\t\t\t\tscope.manager.itemStart(url);\n\t\t\t\tsetTimeout(function () {\n\t\t\t\t\tif (onLoad) onLoad(cached);\n\t\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t\t}, 0);\n\t\t\t\treturn cached;\n\t\t\t}\n\n\t\t\tconst fetchOptions = {};\n\t\t\tfetchOptions.credentials = this.crossOrigin === 'anonymous' ? 'same-origin' : 'include';\n\t\t\tfetchOptions.headers = this.requestHeader;\n\t\t\tfetch(url, fetchOptions).then(function (res) {\n\t\t\t\treturn res.blob();\n\t\t\t}).then(function (blob) {\n\t\t\t\treturn createImageBitmap(blob, Object.assign(scope.options, {\n\t\t\t\t\tcolorSpaceConversion: 'none'\n\t\t\t\t}));\n\t\t\t}).then(function (imageBitmap) {\n\t\t\t\tCache.add(url, imageBitmap);\n\t\t\t\tif (onLoad) onLoad(imageBitmap);\n\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t}).catch(function (e) {\n\t\t\t\tif (onError) onError(e);\n\t\t\t\tscope.manager.itemError(url);\n\t\t\t\tscope.manager.itemEnd(url);\n\t\t\t});\n\t\t\tscope.manager.itemStart(url);\n\t\t}\n\n\t}\n\n\tlet _context;\n\n\tconst AudioContext = {\n\t\tgetContext: function () {\n\t\t\tif (_context === undefined) {\n\t\t\t\t_context = new (window.AudioContext || window.webkitAudioContext)();\n\t\t\t}\n\n\t\t\treturn _context;\n\t\t},\n\t\tsetContext: function (value) {\n\t\t\t_context = value;\n\t\t}\n\t};\n\n\tclass AudioLoader extends Loader {\n\t\tconstructor(manager) {\n\t\t\tsuper(manager);\n\t\t}\n\n\t\tload(url, onLoad, onProgress, onError) {\n\t\t\tconst scope = this;\n\t\t\tconst loader = new FileLoader(this.manager);\n\t\t\tloader.setResponseType('arraybuffer');\n\t\t\tloader.setPath(this.path);\n\t\t\tloader.setRequestHeader(this.requestHeader);\n\t\t\tloader.setWithCredentials(this.withCredentials);\n\t\t\tloader.load(url, function (buffer) {\n\t\t\t\ttry {\n\t\t\t\t\t// Create a copy of the buffer. The `decodeAudioData` method\n\t\t\t\t\t// detaches the buffer when complete, preventing reuse.\n\t\t\t\t\tconst bufferCopy = buffer.slice(0);\n\t\t\t\t\tconst context = AudioContext.getContext();\n\t\t\t\t\tcontext.decodeAudioData(bufferCopy, function (audioBuffer) {\n\t\t\t\t\t\tonLoad(audioBuffer);\n\t\t\t\t\t});\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (onError) {\n\t\t\t\t\t\tonError(e);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tconsole.error(e);\n\t\t\t\t\t}\n\n\t\t\t\t\tscope.manager.itemError(url);\n\t\t\t\t}\n\t\t\t}, onProgress, onError);\n\t\t}\n\n\t}\n\n\tclass HemisphereLightProbe extends LightProbe {\n\t\tconstructor(skyColor, groundColor, intensity = 1) {\n\t\t\tsuper(undefined, intensity);\n\t\t\tthis.isHemisphereLightProbe = true;\n\t\t\tconst color1 = new Color().set(skyColor);\n\t\t\tconst color2 = new Color().set(groundColor);\n\t\t\tconst sky = new Vector3(color1.r, color1.g, color1.b);\n\t\t\tconst ground = new Vector3(color2.r, color2.g, color2.b); // without extra factor of PI in the shader, should = 1 / Math.sqrt( Math.PI );\n\n\t\t\tconst c0 = Math.sqrt(Math.PI);\n\t\t\tconst c1 = c0 * Math.sqrt(0.75);\n\t\t\tthis.sh.coefficients[0].copy(sky).add(ground).multiplyScalar(c0);\n\t\t\tthis.sh.coefficients[1].copy(sky).sub(ground).multiplyScalar(c1);\n\t\t}\n\n\t}\n\n\tclass AmbientLightProbe extends LightProbe {\n\t\tconstructor(color, intensity = 1) {\n\t\t\tsuper(undefined, intensity);\n\t\t\tthis.isAmbientLightProbe = true;\n\t\t\tconst color1 = new Color().set(color); // without extra factor of PI in the shader, would be 2 / Math.sqrt( Math.PI );\n\n\t\t\tthis.sh.coefficients[0].set(color1.r, color1.g, color1.b).multiplyScalar(2 * Math.sqrt(Math.PI));\n\t\t}\n\n\t}\n\n\tconst _eyeRight = /*@__PURE__*/new Matrix4();\n\n\tconst _eyeLeft = /*@__PURE__*/new Matrix4();\n\n\tconst _projectionMatrix = /*@__PURE__*/new Matrix4();\n\n\tclass StereoCamera {\n\t\tconstructor() {\n\t\t\tthis.type = 'StereoCamera';\n\t\t\tthis.aspect = 1;\n\t\t\tthis.eyeSep = 0.064;\n\t\t\tthis.cameraL = new PerspectiveCamera();\n\t\t\tthis.cameraL.layers.enable(1);\n\t\t\tthis.cameraL.matrixAutoUpdate = false;\n\t\t\tthis.cameraR = new PerspectiveCamera();\n\t\t\tthis.cameraR.layers.enable(2);\n\t\t\tthis.cameraR.matrixAutoUpdate = false;\n\t\t\tthis._cache = {\n\t\t\t\tfocus: null,\n\t\t\t\tfov: null,\n\t\t\t\taspect: null,\n\t\t\t\tnear: null,\n\t\t\t\tfar: null,\n\t\t\t\tzoom: null,\n\t\t\t\teyeSep: null\n\t\t\t};\n\t\t}\n\n\t\tupdate(camera) {\n\t\t\tconst cache = this._cache;\n\t\t\tconst needsUpdate = cache.focus !== camera.focus || cache.fov !== camera.fov || cache.aspect !== camera.aspect * this.aspect || cache.near !== camera.near || cache.far !== camera.far || cache.zoom !== camera.zoom || cache.eyeSep !== this.eyeSep;\n\n\t\t\tif (needsUpdate) {\n\t\t\t\tcache.focus = camera.focus;\n\t\t\t\tcache.fov = camera.fov;\n\t\t\t\tcache.aspect = camera.aspect * this.aspect;\n\t\t\t\tcache.near = camera.near;\n\t\t\t\tcache.far = camera.far;\n\t\t\t\tcache.zoom = camera.zoom;\n\t\t\t\tcache.eyeSep = this.eyeSep; // Off-axis stereoscopic effect based on\n\t\t\t\t// http://paulbourke.net/stereographics/stereorender/\n\n\t\t\t\t_projectionMatrix.copy(camera.projectionMatrix);\n\n\t\t\t\tconst eyeSepHalf = cache.eyeSep / 2;\n\t\t\t\tconst eyeSepOnProjection = eyeSepHalf * cache.near / cache.focus;\n\t\t\t\tconst ymax = cache.near * Math.tan(DEG2RAD * cache.fov * 0.5) / cache.zoom;\n\t\t\t\tlet xmin, xmax; // translate xOffset\n\n\t\t\t\t_eyeLeft.elements[12] = -eyeSepHalf;\n\t\t\t\t_eyeRight.elements[12] = eyeSepHalf; // for left eye\n\n\t\t\t\txmin = -ymax * cache.aspect + eyeSepOnProjection;\n\t\t\t\txmax = ymax * cache.aspect + eyeSepOnProjection;\n\t\t\t\t_projectionMatrix.elements[0] = 2 * cache.near / (xmax - xmin);\n\t\t\t\t_projectionMatrix.elements[8] = (xmax + xmin) / (xmax - xmin);\n\t\t\t\tthis.cameraL.projectionMatrix.copy(_projectionMatrix); // for right eye\n\n\t\t\t\txmin = -ymax * cache.aspect - eyeSepOnProjection;\n\t\t\t\txmax = ymax * cache.aspect - eyeSepOnProjection;\n\t\t\t\t_projectionMatrix.elements[0] = 2 * cache.near / (xmax - xmin);\n\t\t\t\t_projectionMatrix.elements[8] = (xmax + xmin) / (xmax - xmin);\n\t\t\t\tthis.cameraR.projectionMatrix.copy(_projectionMatrix);\n\t\t\t}\n\n\t\t\tthis.cameraL.matrixWorld.copy(camera.matrixWorld).multiply(_eyeLeft);\n\t\t\tthis.cameraR.matrixWorld.copy(camera.matrixWorld).multiply(_eyeRight);\n\t\t}\n\n\t}\n\n\tclass Clock {\n\t\tconstructor(autoStart = true) {\n\t\t\tthis.autoStart = autoStart;\n\t\t\tthis.startTime = 0;\n\t\t\tthis.oldTime = 0;\n\t\t\tthis.elapsedTime = 0;\n\t\t\tthis.running = false;\n\t\t}\n\n\t\tstart() {\n\t\t\tthis.startTime = now();\n\t\t\tthis.oldTime = this.startTime;\n\t\t\tthis.elapsedTime = 0;\n\t\t\tthis.running = true;\n\t\t}\n\n\t\tstop() {\n\t\t\tthis.getElapsedTime();\n\t\t\tthis.running = false;\n\t\t\tthis.autoStart = false;\n\t\t}\n\n\t\tgetElapsedTime() {\n\t\t\tthis.getDelta();\n\t\t\treturn this.elapsedTime;\n\t\t}\n\n\t\tgetDelta() {\n\t\t\tlet diff = 0;\n\n\t\t\tif (this.autoStart && !this.running) {\n\t\t\t\tthis.start();\n\t\t\t\treturn 0;\n\t\t\t}\n\n\t\t\tif (this.running) {\n\t\t\t\tconst newTime = now();\n\t\t\t\tdiff = (newTime - this.oldTime) / 1000;\n\t\t\t\tthis.oldTime = newTime;\n\t\t\t\tthis.elapsedTime += diff;\n\t\t\t}\n\n\t\t\treturn diff;\n\t\t}\n\n\t}\n\n\tfunction now() {\n\t\treturn (typeof performance === 'undefined' ? Date : performance).now(); // see #10732\n\t}\n\n\tconst _position$1 = /*@__PURE__*/new Vector3();\n\n\tconst _quaternion$1 = /*@__PURE__*/new Quaternion();\n\n\tconst _scale$1 = /*@__PURE__*/new Vector3();\n\n\tconst _orientation$1 = /*@__PURE__*/new Vector3();\n\n\tclass AudioListener extends Object3D {\n\t\tconstructor() {\n\t\t\tsuper();\n\t\t\tthis.type = 'AudioListener';\n\t\t\tthis.context = AudioContext.getContext();\n\t\t\tthis.gain = this.context.createGain();\n\t\t\tthis.gain.connect(this.context.destination);\n\t\t\tthis.filter = null;\n\t\t\tthis.timeDelta = 0; // private\n\n\t\t\tthis._clock = new Clock();\n\t\t}\n\n\t\tgetInput() {\n\t\t\treturn this.gain;\n\t\t}\n\n\t\tremoveFilter() {\n\t\t\tif (this.filter !== null) {\n\t\t\t\tthis.gain.disconnect(this.filter);\n\t\t\t\tthis.filter.disconnect(this.context.destination);\n\t\t\t\tthis.gain.connect(this.context.destination);\n\t\t\t\tthis.filter = null;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetFilter() {\n\t\t\treturn this.filter;\n\t\t}\n\n\t\tsetFilter(value) {\n\t\t\tif (this.filter !== null) {\n\t\t\t\tthis.gain.disconnect(this.filter);\n\t\t\t\tthis.filter.disconnect(this.context.destination);\n\t\t\t} else {\n\t\t\t\tthis.gain.disconnect(this.context.destination);\n\t\t\t}\n\n\t\t\tthis.filter = value;\n\t\t\tthis.gain.connect(this.filter);\n\t\t\tthis.filter.connect(this.context.destination);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetMasterVolume() {\n\t\t\treturn this.gain.gain.value;\n\t\t}\n\n\t\tsetMasterVolume(value) {\n\t\t\tthis.gain.gain.setTargetAtTime(value, this.context.currentTime, 0.01);\n\t\t\treturn this;\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t\tconst listener = this.context.listener;\n\t\t\tconst up = this.up;\n\t\t\tthis.timeDelta = this._clock.getDelta();\n\t\t\tthis.matrixWorld.decompose(_position$1, _quaternion$1, _scale$1);\n\n\t\t\t_orientation$1.set(0, 0, -1).applyQuaternion(_quaternion$1);\n\n\t\t\tif (listener.positionX) {\n\t\t\t\t// code path for Chrome (see #14393)\n\t\t\t\tconst endTime = this.context.currentTime + this.timeDelta;\n\t\t\t\tlistener.positionX.linearRampToValueAtTime(_position$1.x, endTime);\n\t\t\t\tlistener.positionY.linearRampToValueAtTime(_position$1.y, endTime);\n\t\t\t\tlistener.positionZ.linearRampToValueAtTime(_position$1.z, endTime);\n\t\t\t\tlistener.forwardX.linearRampToValueAtTime(_orientation$1.x, endTime);\n\t\t\t\tlistener.forwardY.linearRampToValueAtTime(_orientation$1.y, endTime);\n\t\t\t\tlistener.forwardZ.linearRampToValueAtTime(_orientation$1.z, endTime);\n\t\t\t\tlistener.upX.linearRampToValueAtTime(up.x, endTime);\n\t\t\t\tlistener.upY.linearRampToValueAtTime(up.y, endTime);\n\t\t\t\tlistener.upZ.linearRampToValueAtTime(up.z, endTime);\n\t\t\t} else {\n\t\t\t\tlistener.setPosition(_position$1.x, _position$1.y, _position$1.z);\n\t\t\t\tlistener.setOrientation(_orientation$1.x, _orientation$1.y, _orientation$1.z, up.x, up.y, up.z);\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass Audio extends Object3D {\n\t\tconstructor(listener) {\n\t\t\tsuper();\n\t\t\tthis.type = 'Audio';\n\t\t\tthis.listener = listener;\n\t\t\tthis.context = listener.context;\n\t\t\tthis.gain = this.context.createGain();\n\t\t\tthis.gain.connect(listener.getInput());\n\t\t\tthis.autoplay = false;\n\t\t\tthis.buffer = null;\n\t\t\tthis.detune = 0;\n\t\t\tthis.loop = false;\n\t\t\tthis.loopStart = 0;\n\t\t\tthis.loopEnd = 0;\n\t\t\tthis.offset = 0;\n\t\t\tthis.duration = undefined;\n\t\t\tthis.playbackRate = 1;\n\t\t\tthis.isPlaying = false;\n\t\t\tthis.hasPlaybackControl = true;\n\t\t\tthis.source = null;\n\t\t\tthis.sourceType = 'empty';\n\t\t\tthis._startedAt = 0;\n\t\t\tthis._progress = 0;\n\t\t\tthis._connected = false;\n\t\t\tthis.filters = [];\n\t\t}\n\n\t\tgetOutput() {\n\t\t\treturn this.gain;\n\t\t}\n\n\t\tsetNodeSource(audioNode) {\n\t\t\tthis.hasPlaybackControl = false;\n\t\t\tthis.sourceType = 'audioNode';\n\t\t\tthis.source = audioNode;\n\t\t\tthis.connect();\n\t\t\treturn this;\n\t\t}\n\n\t\tsetMediaElementSource(mediaElement) {\n\t\t\tthis.hasPlaybackControl = false;\n\t\t\tthis.sourceType = 'mediaNode';\n\t\t\tthis.source = this.context.createMediaElementSource(mediaElement);\n\t\t\tthis.connect();\n\t\t\treturn this;\n\t\t}\n\n\t\tsetMediaStreamSource(mediaStream) {\n\t\t\tthis.hasPlaybackControl = false;\n\t\t\tthis.sourceType = 'mediaStreamNode';\n\t\t\tthis.source = this.context.createMediaStreamSource(mediaStream);\n\t\t\tthis.connect();\n\t\t\treturn this;\n\t\t}\n\n\t\tsetBuffer(audioBuffer) {\n\t\t\tthis.buffer = audioBuffer;\n\t\t\tthis.sourceType = 'buffer';\n\t\t\tif (this.autoplay) this.play();\n\t\t\treturn this;\n\t\t}\n\n\t\tplay(delay = 0) {\n\t\t\tif (this.isPlaying === true) {\n\t\t\t\tconsole.warn('THREE.Audio: Audio is already playing.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._startedAt = this.context.currentTime + delay;\n\t\t\tconst source = this.context.createBufferSource();\n\t\t\tsource.buffer = this.buffer;\n\t\t\tsource.loop = this.loop;\n\t\t\tsource.loopStart = this.loopStart;\n\t\t\tsource.loopEnd = this.loopEnd;\n\t\t\tsource.onended = this.onEnded.bind(this);\n\t\t\tsource.start(this._startedAt, this._progress + this.offset, this.duration);\n\t\t\tthis.isPlaying = true;\n\t\t\tthis.source = source;\n\t\t\tthis.setDetune(this.detune);\n\t\t\tthis.setPlaybackRate(this.playbackRate);\n\t\t\treturn this.connect();\n\t\t}\n\n\t\tpause() {\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (this.isPlaying === true) {\n\t\t\t\t// update current progress\n\t\t\t\tthis._progress += Math.max(this.context.currentTime - this._startedAt, 0) * this.playbackRate;\n\n\t\t\t\tif (this.loop === true) {\n\t\t\t\t\t// ensure _progress does not exceed duration with looped audios\n\t\t\t\t\tthis._progress = this._progress % (this.duration || this.buffer.duration);\n\t\t\t\t}\n\n\t\t\t\tthis.source.stop();\n\t\t\t\tthis.source.onended = null;\n\t\t\t\tthis.isPlaying = false;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tstop() {\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._progress = 0;\n\t\t\tthis.source.stop();\n\t\t\tthis.source.onended = null;\n\t\t\tthis.isPlaying = false;\n\t\t\treturn this;\n\t\t}\n\n\t\tconnect() {\n\t\t\tif (this.filters.length > 0) {\n\t\t\t\tthis.source.connect(this.filters[0]);\n\n\t\t\t\tfor (let i = 1, l = this.filters.length; i < l; i++) {\n\t\t\t\t\tthis.filters[i - 1].connect(this.filters[i]);\n\t\t\t\t}\n\n\t\t\t\tthis.filters[this.filters.length - 1].connect(this.getOutput());\n\t\t\t} else {\n\t\t\t\tthis.source.connect(this.getOutput());\n\t\t\t}\n\n\t\t\tthis._connected = true;\n\t\t\treturn this;\n\t\t}\n\n\t\tdisconnect() {\n\t\t\tif (this.filters.length > 0) {\n\t\t\t\tthis.source.disconnect(this.filters[0]);\n\n\t\t\t\tfor (let i = 1, l = this.filters.length; i < l; i++) {\n\t\t\t\t\tthis.filters[i - 1].disconnect(this.filters[i]);\n\t\t\t\t}\n\n\t\t\t\tthis.filters[this.filters.length - 1].disconnect(this.getOutput());\n\t\t\t} else {\n\t\t\t\tthis.source.disconnect(this.getOutput());\n\t\t\t}\n\n\t\t\tthis._connected = false;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetFilters() {\n\t\t\treturn this.filters;\n\t\t}\n\n\t\tsetFilters(value) {\n\t\t\tif (!value) value = [];\n\n\t\t\tif (this._connected === true) {\n\t\t\t\tthis.disconnect();\n\t\t\t\tthis.filters = value.slice();\n\t\t\t\tthis.connect();\n\t\t\t} else {\n\t\t\t\tthis.filters = value.slice();\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetDetune(value) {\n\t\t\tthis.detune = value;\n\t\t\tif (this.source.detune === undefined) return; // only set detune when available\n\n\t\t\tif (this.isPlaying === true) {\n\t\t\t\tthis.source.detune.setTargetAtTime(this.detune, this.context.currentTime, 0.01);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetDetune() {\n\t\t\treturn this.detune;\n\t\t}\n\n\t\tgetFilter() {\n\t\t\treturn this.getFilters()[0];\n\t\t}\n\n\t\tsetFilter(filter) {\n\t\t\treturn this.setFilters(filter ? [filter] : []);\n\t\t}\n\n\t\tsetPlaybackRate(value) {\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.playbackRate = value;\n\n\t\t\tif (this.isPlaying === true) {\n\t\t\t\tthis.source.playbackRate.setTargetAtTime(this.playbackRate, this.context.currentTime, 0.01);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tgetPlaybackRate() {\n\t\t\treturn this.playbackRate;\n\t\t}\n\n\t\tonEnded() {\n\t\t\tthis.isPlaying = false;\n\t\t}\n\n\t\tgetLoop() {\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn this.loop;\n\t\t}\n\n\t\tsetLoop(value) {\n\t\t\tif (this.hasPlaybackControl === false) {\n\t\t\t\tconsole.warn('THREE.Audio: this Audio has no playback control.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.loop = value;\n\n\t\t\tif (this.isPlaying === true) {\n\t\t\t\tthis.source.loop = this.loop;\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetLoopStart(value) {\n\t\t\tthis.loopStart = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetLoopEnd(value) {\n\t\t\tthis.loopEnd = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetVolume() {\n\t\t\treturn this.gain.gain.value;\n\t\t}\n\n\t\tsetVolume(value) {\n\t\t\tthis.gain.gain.setTargetAtTime(value, this.context.currentTime, 0.01);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _position = /*@__PURE__*/new Vector3();\n\n\tconst _quaternion = /*@__PURE__*/new Quaternion();\n\n\tconst _scale = /*@__PURE__*/new Vector3();\n\n\tconst _orientation = /*@__PURE__*/new Vector3();\n\n\tclass PositionalAudio extends Audio {\n\t\tconstructor(listener) {\n\t\t\tsuper(listener);\n\t\t\tthis.panner = this.context.createPanner();\n\t\t\tthis.panner.panningModel = 'HRTF';\n\t\t\tthis.panner.connect(this.gain);\n\t\t}\n\n\t\tdisconnect() {\n\t\t\tsuper.disconnect();\n\t\t\tthis.panner.disconnect(this.gain);\n\t\t}\n\n\t\tgetOutput() {\n\t\t\treturn this.panner;\n\t\t}\n\n\t\tgetRefDistance() {\n\t\t\treturn this.panner.refDistance;\n\t\t}\n\n\t\tsetRefDistance(value) {\n\t\t\tthis.panner.refDistance = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetRolloffFactor() {\n\t\t\treturn this.panner.rolloffFactor;\n\t\t}\n\n\t\tsetRolloffFactor(value) {\n\t\t\tthis.panner.rolloffFactor = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetDistanceModel() {\n\t\t\treturn this.panner.distanceModel;\n\t\t}\n\n\t\tsetDistanceModel(value) {\n\t\t\tthis.panner.distanceModel = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tgetMaxDistance() {\n\t\t\treturn this.panner.maxDistance;\n\t\t}\n\n\t\tsetMaxDistance(value) {\n\t\t\tthis.panner.maxDistance = value;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetDirectionalCone(coneInnerAngle, coneOuterAngle, coneOuterGain) {\n\t\t\tthis.panner.coneInnerAngle = coneInnerAngle;\n\t\t\tthis.panner.coneOuterAngle = coneOuterAngle;\n\t\t\tthis.panner.coneOuterGain = coneOuterGain;\n\t\t\treturn this;\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t\tif (this.hasPlaybackControl === true && this.isPlaying === false) return;\n\t\t\tthis.matrixWorld.decompose(_position, _quaternion, _scale);\n\n\t\t\t_orientation.set(0, 0, 1).applyQuaternion(_quaternion);\n\n\t\t\tconst panner = this.panner;\n\n\t\t\tif (panner.positionX) {\n\t\t\t\t// code path for Chrome and Firefox (see #14393)\n\t\t\t\tconst endTime = this.context.currentTime + this.listener.timeDelta;\n\t\t\t\tpanner.positionX.linearRampToValueAtTime(_position.x, endTime);\n\t\t\t\tpanner.positionY.linearRampToValueAtTime(_position.y, endTime);\n\t\t\t\tpanner.positionZ.linearRampToValueAtTime(_position.z, endTime);\n\t\t\t\tpanner.orientationX.linearRampToValueAtTime(_orientation.x, endTime);\n\t\t\t\tpanner.orientationY.linearRampToValueAtTime(_orientation.y, endTime);\n\t\t\t\tpanner.orientationZ.linearRampToValueAtTime(_orientation.z, endTime);\n\t\t\t} else {\n\t\t\t\tpanner.setPosition(_position.x, _position.y, _position.z);\n\t\t\t\tpanner.setOrientation(_orientation.x, _orientation.y, _orientation.z);\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass AudioAnalyser {\n\t\tconstructor(audio, fftSize = 2048) {\n\t\t\tthis.analyser = audio.context.createAnalyser();\n\t\t\tthis.analyser.fftSize = fftSize;\n\t\t\tthis.data = new Uint8Array(this.analyser.frequencyBinCount);\n\t\t\taudio.getOutput().connect(this.analyser);\n\t\t}\n\n\t\tgetFrequencyData() {\n\t\t\tthis.analyser.getByteFrequencyData(this.data);\n\t\t\treturn this.data;\n\t\t}\n\n\t\tgetAverageFrequency() {\n\t\t\tlet value = 0;\n\t\t\tconst data = this.getFrequencyData();\n\n\t\t\tfor (let i = 0; i < data.length; i++) {\n\t\t\t\tvalue += data[i];\n\t\t\t}\n\n\t\t\treturn value / data.length;\n\t\t}\n\n\t}\n\n\tclass PropertyMixer {\n\t\tconstructor(binding, typeName, valueSize) {\n\t\t\tthis.binding = binding;\n\t\t\tthis.valueSize = valueSize;\n\t\t\tlet mixFunction, mixFunctionAdditive, setIdentity; // buffer layout: [ incoming | accu0 | accu1 | orig | addAccu | (optional work) ]\n\t\t\t//\n\t\t\t// interpolators can use .buffer as their .result\n\t\t\t// the data then goes to 'incoming'\n\t\t\t//\n\t\t\t// 'accu0' and 'accu1' are used frame-interleaved for\n\t\t\t// the cumulative result and are compared to detect\n\t\t\t// changes\n\t\t\t//\n\t\t\t// 'orig' stores the original state of the property\n\t\t\t//\n\t\t\t// 'add' is used for additive cumulative results\n\t\t\t//\n\t\t\t// 'work' is optional and is only present for quaternion types. It is used\n\t\t\t// to store intermediate quaternion multiplication results\n\n\t\t\tswitch (typeName) {\n\t\t\t\tcase 'quaternion':\n\t\t\t\t\tmixFunction = this._slerp;\n\t\t\t\t\tmixFunctionAdditive = this._slerpAdditive;\n\t\t\t\t\tsetIdentity = this._setAdditiveIdentityQuaternion;\n\t\t\t\t\tthis.buffer = new Float64Array(valueSize * 6);\n\t\t\t\t\tthis._workIndex = 5;\n\t\t\t\t\tbreak;\n\n\t\t\t\tcase 'string':\n\t\t\t\tcase 'bool':\n\t\t\t\t\tmixFunction = this._select; // Use the regular mix function and for additive on these types,\n\t\t\t\t\t// additive is not relevant for non-numeric types\n\n\t\t\t\t\tmixFunctionAdditive = this._select;\n\t\t\t\t\tsetIdentity = this._setAdditiveIdentityOther;\n\t\t\t\t\tthis.buffer = new Array(valueSize * 5);\n\t\t\t\t\tbreak;\n\n\t\t\t\tdefault:\n\t\t\t\t\tmixFunction = this._lerp;\n\t\t\t\t\tmixFunctionAdditive = this._lerpAdditive;\n\t\t\t\t\tsetIdentity = this._setAdditiveIdentityNumeric;\n\t\t\t\t\tthis.buffer = new Float64Array(valueSize * 5);\n\t\t\t}\n\n\t\t\tthis._mixBufferRegion = mixFunction;\n\t\t\tthis._mixBufferRegionAdditive = mixFunctionAdditive;\n\t\t\tthis._setIdentity = setIdentity;\n\t\t\tthis._origIndex = 3;\n\t\t\tthis._addIndex = 4;\n\t\t\tthis.cumulativeWeight = 0;\n\t\t\tthis.cumulativeWeightAdditive = 0;\n\t\t\tthis.useCount = 0;\n\t\t\tthis.referenceCount = 0;\n\t\t} // accumulate data in the 'incoming' region into 'accu<i>'\n\n\n\t\taccumulate(accuIndex, weight) {\n\t\t\t// note: happily accumulating nothing when weight = 0, the caller knows\n\t\t\t// the weight and shouldn't have made the call in the first place\n\t\t\tconst buffer = this.buffer,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\toffset = accuIndex * stride + stride;\n\t\t\tlet currentWeight = this.cumulativeWeight;\n\n\t\t\tif (currentWeight === 0) {\n\t\t\t\t// accuN := incoming * weight\n\t\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\t\tbuffer[offset + i] = buffer[i];\n\t\t\t\t}\n\n\t\t\t\tcurrentWeight = weight;\n\t\t\t} else {\n\t\t\t\t// accuN := accuN + incoming * weight\n\t\t\t\tcurrentWeight += weight;\n\t\t\t\tconst mix = weight / currentWeight;\n\n\t\t\t\tthis._mixBufferRegion(buffer, offset, 0, mix, stride);\n\t\t\t}\n\n\t\t\tthis.cumulativeWeight = currentWeight;\n\t\t} // accumulate data in the 'incoming' region into 'add'\n\n\n\t\taccumulateAdditive(weight) {\n\t\t\tconst buffer = this.buffer,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\toffset = stride * this._addIndex;\n\n\t\t\tif (this.cumulativeWeightAdditive === 0) {\n\t\t\t\t// add = identity\n\t\t\t\tthis._setIdentity();\n\t\t\t} // add := add + incoming * weight\n\n\n\t\t\tthis._mixBufferRegionAdditive(buffer, offset, 0, weight, stride);\n\n\t\t\tthis.cumulativeWeightAdditive += weight;\n\t\t} // apply the state of 'accu<i>' to the binding when accus differ\n\n\n\t\tapply(accuIndex) {\n\t\t\tconst stride = this.valueSize,\n\t\t\t\t\t\tbuffer = this.buffer,\n\t\t\t\t\t\toffset = accuIndex * stride + stride,\n\t\t\t\t\t\tweight = this.cumulativeWeight,\n\t\t\t\t\t\tweightAdditive = this.cumulativeWeightAdditive,\n\t\t\t\t\t\tbinding = this.binding;\n\t\t\tthis.cumulativeWeight = 0;\n\t\t\tthis.cumulativeWeightAdditive = 0;\n\n\t\t\tif (weight < 1) {\n\t\t\t\t// accuN := accuN + original * ( 1 - cumulativeWeight )\n\t\t\t\tconst originalValueOffset = stride * this._origIndex;\n\n\t\t\t\tthis._mixBufferRegion(buffer, offset, originalValueOffset, 1 - weight, stride);\n\t\t\t}\n\n\t\t\tif (weightAdditive > 0) {\n\t\t\t\t// accuN := accuN + additive accuN\n\t\t\t\tthis._mixBufferRegionAdditive(buffer, offset, this._addIndex * stride, 1, stride);\n\t\t\t}\n\n\t\t\tfor (let i = stride, e = stride + stride; i !== e; ++i) {\n\t\t\t\tif (buffer[i] !== buffer[i + stride]) {\n\t\t\t\t\t// value has changed -> update scene graph\n\t\t\t\t\tbinding.setValue(buffer, offset);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} // remember the state of the bound property and copy it to both accus\n\n\n\t\tsaveOriginalState() {\n\t\t\tconst binding = this.binding;\n\t\t\tconst buffer = this.buffer,\n\t\t\t\t\t\tstride = this.valueSize,\n\t\t\t\t\t\toriginalValueOffset = stride * this._origIndex;\n\t\t\tbinding.getValue(buffer, originalValueOffset); // accu[0..1] := orig -- initially detect changes against the original\n\n\t\t\tfor (let i = stride, e = originalValueOffset; i !== e; ++i) {\n\t\t\t\tbuffer[i] = buffer[originalValueOffset + i % stride];\n\t\t\t} // Add to identity for additive\n\n\n\t\t\tthis._setIdentity();\n\n\t\t\tthis.cumulativeWeight = 0;\n\t\t\tthis.cumulativeWeightAdditive = 0;\n\t\t} // apply the state previously taken via 'saveOriginalState' to the binding\n\n\n\t\trestoreOriginalState() {\n\t\t\tconst originalValueOffset = this.valueSize * 3;\n\t\t\tthis.binding.setValue(this.buffer, originalValueOffset);\n\t\t}\n\n\t\t_setAdditiveIdentityNumeric() {\n\t\t\tconst startIndex = this._addIndex * this.valueSize;\n\t\t\tconst endIndex = startIndex + this.valueSize;\n\n\t\t\tfor (let i = startIndex; i < endIndex; i++) {\n\t\t\t\tthis.buffer[i] = 0;\n\t\t\t}\n\t\t}\n\n\t\t_setAdditiveIdentityQuaternion() {\n\t\t\tthis._setAdditiveIdentityNumeric();\n\n\t\t\tthis.buffer[this._addIndex * this.valueSize + 3] = 1;\n\t\t}\n\n\t\t_setAdditiveIdentityOther() {\n\t\t\tconst startIndex = this._origIndex * this.valueSize;\n\t\t\tconst targetIndex = this._addIndex * this.valueSize;\n\n\t\t\tfor (let i = 0; i < this.valueSize; i++) {\n\t\t\t\tthis.buffer[targetIndex + i] = this.buffer[startIndex + i];\n\t\t\t}\n\t\t} // mix functions\n\n\n\t\t_select(buffer, dstOffset, srcOffset, t, stride) {\n\t\t\tif (t >= 0.5) {\n\t\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\t\tbuffer[dstOffset + i] = buffer[srcOffset + i];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_slerp(buffer, dstOffset, srcOffset, t) {\n\t\t\tQuaternion.slerpFlat(buffer, dstOffset, buffer, dstOffset, buffer, srcOffset, t);\n\t\t}\n\n\t\t_slerpAdditive(buffer, dstOffset, srcOffset, t, stride) {\n\t\t\tconst workOffset = this._workIndex * stride; // Store result in intermediate buffer offset\n\n\t\t\tQuaternion.multiplyQuaternionsFlat(buffer, workOffset, buffer, dstOffset, buffer, srcOffset); // Slerp to the intermediate result\n\n\t\t\tQuaternion.slerpFlat(buffer, dstOffset, buffer, dstOffset, buffer, workOffset, t);\n\t\t}\n\n\t\t_lerp(buffer, dstOffset, srcOffset, t, stride) {\n\t\t\tconst s = 1 - t;\n\n\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\tconst j = dstOffset + i;\n\t\t\t\tbuffer[j] = buffer[j] * s + buffer[srcOffset + i] * t;\n\t\t\t}\n\t\t}\n\n\t\t_lerpAdditive(buffer, dstOffset, srcOffset, t, stride) {\n\t\t\tfor (let i = 0; i !== stride; ++i) {\n\t\t\t\tconst j = dstOffset + i;\n\t\t\t\tbuffer[j] = buffer[j] + buffer[srcOffset + i] * t;\n\t\t\t}\n\t\t}\n\n\t}\n\n\t// Characters [].:/ are reserved for track binding syntax.\n\tconst _RESERVED_CHARS_RE = '\\\\[\\\\]\\\\.:\\\\/';\n\n\tconst _reservedRe = new RegExp('[' + _RESERVED_CHARS_RE + ']', 'g'); // Attempts to allow node names from any language. ES5's `\\w` regexp matches\n\t// only latin characters, and the unicode \\p{L} is not yet supported. So\n\t// instead, we exclude reserved characters and match everything else.\n\n\n\tconst _wordChar = '[^' + _RESERVED_CHARS_RE + ']';\n\n\tconst _wordCharOrDot = '[^' + _RESERVED_CHARS_RE.replace('\\\\.', '') + ']'; // Parent directories, delimited by '/' or ':'. Currently unused, but must\n\t// be matched to parse the rest of the track name.\n\n\n\tconst _directoryRe = /*@__PURE__*/ /((?:WC+[\\/:])*)/.source.replace('WC', _wordChar); // Target node. May contain word characters (a-zA-Z0-9_) and '.' or '-'.\n\n\n\tconst _nodeRe = /*@__PURE__*/ /(WCOD+)?/.source.replace('WCOD', _wordCharOrDot); // Object on target node, and accessor. May not contain reserved\n\t// characters. Accessor may contain any character except closing bracket.\n\n\n\tconst _objectRe = /*@__PURE__*/ /(?:\\.(WC+)(?:\\[(.+)\\])?)?/.source.replace('WC', _wordChar); // Property and accessor. May not contain reserved characters. Accessor may\n\t// contain any non-bracket characters.\n\n\n\tconst _propertyRe = /*@__PURE__*/ /\\.(WC+)(?:\\[(.+)\\])?/.source.replace('WC', _wordChar);\n\n\tconst _trackRe = new RegExp('' + '^' + _directoryRe + _nodeRe + _objectRe + _propertyRe + '$');\n\n\tconst _supportedObjectNames = ['material', 'materials', 'bones'];\n\n\tclass Composite {\n\t\tconstructor(targetGroup, path, optionalParsedPath) {\n\t\t\tconst parsedPath = optionalParsedPath || PropertyBinding.parseTrackName(path);\n\t\t\tthis._targetGroup = targetGroup;\n\t\t\tthis._bindings = targetGroup.subscribe_(path, parsedPath);\n\t\t}\n\n\t\tgetValue(array, offset) {\n\t\t\tthis.bind(); // bind all binding\n\n\t\t\tconst firstValidIndex = this._targetGroup.nCachedObjects_,\n\t\t\t\t\t\tbinding = this._bindings[firstValidIndex]; // and only call .getValue on the first\n\n\t\t\tif (binding !== undefined) binding.getValue(array, offset);\n\t\t}\n\n\t\tsetValue(array, offset) {\n\t\t\tconst bindings = this._bindings;\n\n\t\t\tfor (let i = this._targetGroup.nCachedObjects_, n = bindings.length; i !== n; ++i) {\n\t\t\t\tbindings[i].setValue(array, offset);\n\t\t\t}\n\t\t}\n\n\t\tbind() {\n\t\t\tconst bindings = this._bindings;\n\n\t\t\tfor (let i = this._targetGroup.nCachedObjects_, n = bindings.length; i !== n; ++i) {\n\t\t\t\tbindings[i].bind();\n\t\t\t}\n\t\t}\n\n\t\tunbind() {\n\t\t\tconst bindings = this._bindings;\n\n\t\t\tfor (let i = this._targetGroup.nCachedObjects_, n = bindings.length; i !== n; ++i) {\n\t\t\t\tbindings[i].unbind();\n\t\t\t}\n\t\t}\n\n\t} // Note: This class uses a State pattern on a per-method basis:\n\t// 'bind' sets 'this.getValue' / 'setValue' and shadows the\n\t// prototype version of these methods with one that represents\n\t// the bound state. When the property is not found, the methods\n\t// become no-ops.\n\n\n\tclass PropertyBinding {\n\t\tconstructor(rootNode, path, parsedPath) {\n\t\t\tthis.path = path;\n\t\t\tthis.parsedPath = parsedPath || PropertyBinding.parseTrackName(path);\n\t\t\tthis.node = PropertyBinding.findNode(rootNode, this.parsedPath.nodeName) || rootNode;\n\t\t\tthis.rootNode = rootNode; // initial state of these methods that calls 'bind'\n\n\t\t\tthis.getValue = this._getValue_unbound;\n\t\t\tthis.setValue = this._setValue_unbound;\n\t\t}\n\n\t\tstatic create(root, path, parsedPath) {\n\t\t\tif (!(root && root.isAnimationObjectGroup)) {\n\t\t\t\treturn new PropertyBinding(root, path, parsedPath);\n\t\t\t} else {\n\t\t\t\treturn new PropertyBinding.Composite(root, path, parsedPath);\n\t\t\t}\n\t\t}\n\t\t/**\n\t\t * Replaces spaces with underscores and removes unsupported characters from\n\t\t * node names, to ensure compatibility with parseTrackName().\n\t\t *\n\t\t * @param {string} name Node name to be sanitized.\n\t\t * @return {string}\n\t\t */\n\n\n\t\tstatic sanitizeNodeName(name) {\n\t\t\treturn name.replace(/\\s/g, '_').replace(_reservedRe, '');\n\t\t}\n\n\t\tstatic parseTrackName(trackName) {\n\t\t\tconst matches = _trackRe.exec(trackName);\n\n\t\t\tif (matches === null) {\n\t\t\t\tthrow new Error('PropertyBinding: Cannot parse trackName: ' + trackName);\n\t\t\t}\n\n\t\t\tconst results = {\n\t\t\t\t// directoryName: matches[ 1 ], // (tschw) currently unused\n\t\t\t\tnodeName: matches[2],\n\t\t\t\tobjectName: matches[3],\n\t\t\t\tobjectIndex: matches[4],\n\t\t\t\tpropertyName: matches[5],\n\t\t\t\t// required\n\t\t\t\tpropertyIndex: matches[6]\n\t\t\t};\n\t\t\tconst lastDot = results.nodeName && results.nodeName.lastIndexOf('.');\n\n\t\t\tif (lastDot !== undefined && lastDot !== -1) {\n\t\t\t\tconst objectName = results.nodeName.substring(lastDot + 1); // Object names must be checked against an allowlist. Otherwise, there\n\t\t\t\t// is no way to parse 'foo.bar.baz': 'baz' must be a property, but\n\t\t\t\t// 'bar' could be the objectName, or part of a nodeName (which can\n\t\t\t\t// include '.' characters).\n\n\t\t\t\tif (_supportedObjectNames.indexOf(objectName) !== -1) {\n\t\t\t\t\tresults.nodeName = results.nodeName.substring(0, lastDot);\n\t\t\t\t\tresults.objectName = objectName;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (results.propertyName === null || results.propertyName.length === 0) {\n\t\t\t\tthrow new Error('PropertyBinding: can not parse propertyName from trackName: ' + trackName);\n\t\t\t}\n\n\t\t\treturn results;\n\t\t}\n\n\t\tstatic findNode(root, nodeName) {\n\t\t\tif (nodeName === undefined || nodeName === '' || nodeName === '.' || nodeName === -1 || nodeName === root.name || nodeName === root.uuid) {\n\t\t\t\treturn root;\n\t\t\t} // search into skeleton bones.\n\n\n\t\t\tif (root.skeleton) {\n\t\t\t\tconst bone = root.skeleton.getBoneByName(nodeName);\n\n\t\t\t\tif (bone !== undefined) {\n\t\t\t\t\treturn bone;\n\t\t\t\t}\n\t\t\t} // search into node subtree.\n\n\n\t\t\tif (root.children) {\n\t\t\t\tconst searchNodeSubtree = function (children) {\n\t\t\t\t\tfor (let i = 0; i < children.length; i++) {\n\t\t\t\t\t\tconst childNode = children[i];\n\n\t\t\t\t\t\tif (childNode.name === nodeName || childNode.uuid === nodeName) {\n\t\t\t\t\t\t\treturn childNode;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tconst result = searchNodeSubtree(childNode.children);\n\t\t\t\t\t\tif (result) return result;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn null;\n\t\t\t\t};\n\n\t\t\t\tconst subTreeNode = searchNodeSubtree(root.children);\n\n\t\t\t\tif (subTreeNode) {\n\t\t\t\t\treturn subTreeNode;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn null;\n\t\t} // these are used to \"bind\" a nonexistent property\n\n\n\t\t_getValue_unavailable() {}\n\n\t\t_setValue_unavailable() {} // Getters\n\n\n\t\t_getValue_direct(buffer, offset) {\n\t\t\tbuffer[offset] = this.targetObject[this.propertyName];\n\t\t}\n\n\t\t_getValue_array(buffer, offset) {\n\t\t\tconst source = this.resolvedProperty;\n\n\t\t\tfor (let i = 0, n = source.length; i !== n; ++i) {\n\t\t\t\tbuffer[offset++] = source[i];\n\t\t\t}\n\t\t}\n\n\t\t_getValue_arrayElement(buffer, offset) {\n\t\t\tbuffer[offset] = this.resolvedProperty[this.propertyIndex];\n\t\t}\n\n\t\t_getValue_toArray(buffer, offset) {\n\t\t\tthis.resolvedProperty.toArray(buffer, offset);\n\t\t} // Direct\n\n\n\t\t_setValue_direct(buffer, offset) {\n\t\t\tthis.targetObject[this.propertyName] = buffer[offset];\n\t\t}\n\n\t\t_setValue_direct_setNeedsUpdate(buffer, offset) {\n\t\t\tthis.targetObject[this.propertyName] = buffer[offset];\n\t\t\tthis.targetObject.needsUpdate = true;\n\t\t}\n\n\t\t_setValue_direct_setMatrixWorldNeedsUpdate(buffer, offset) {\n\t\t\tthis.targetObject[this.propertyName] = buffer[offset];\n\t\t\tthis.targetObject.matrixWorldNeedsUpdate = true;\n\t\t} // EntireArray\n\n\n\t\t_setValue_array(buffer, offset) {\n\t\t\tconst dest = this.resolvedProperty;\n\n\t\t\tfor (let i = 0, n = dest.length; i !== n; ++i) {\n\t\t\t\tdest[i] = buffer[offset++];\n\t\t\t}\n\t\t}\n\n\t\t_setValue_array_setNeedsUpdate(buffer, offset) {\n\t\t\tconst dest = this.resolvedProperty;\n\n\t\t\tfor (let i = 0, n = dest.length; i !== n; ++i) {\n\t\t\t\tdest[i] = buffer[offset++];\n\t\t\t}\n\n\t\t\tthis.targetObject.needsUpdate = true;\n\t\t}\n\n\t\t_setValue_array_setMatrixWorldNeedsUpdate(buffer, offset) {\n\t\t\tconst dest = this.resolvedProperty;\n\n\t\t\tfor (let i = 0, n = dest.length; i !== n; ++i) {\n\t\t\t\tdest[i] = buffer[offset++];\n\t\t\t}\n\n\t\t\tthis.targetObject.matrixWorldNeedsUpdate = true;\n\t\t} // ArrayElement\n\n\n\t\t_setValue_arrayElement(buffer, offset) {\n\t\t\tthis.resolvedProperty[this.propertyIndex] = buffer[offset];\n\t\t}\n\n\t\t_setValue_arrayElement_setNeedsUpdate(buffer, offset) {\n\t\t\tthis.resolvedProperty[this.propertyIndex] = buffer[offset];\n\t\t\tthis.targetObject.needsUpdate = true;\n\t\t}\n\n\t\t_setValue_arrayElement_setMatrixWorldNeedsUpdate(buffer, offset) {\n\t\t\tthis.resolvedProperty[this.propertyIndex] = buffer[offset];\n\t\t\tthis.targetObject.matrixWorldNeedsUpdate = true;\n\t\t} // HasToFromArray\n\n\n\t\t_setValue_fromArray(buffer, offset) {\n\t\t\tthis.resolvedProperty.fromArray(buffer, offset);\n\t\t}\n\n\t\t_setValue_fromArray_setNeedsUpdate(buffer, offset) {\n\t\t\tthis.resolvedProperty.fromArray(buffer, offset);\n\t\t\tthis.targetObject.needsUpdate = true;\n\t\t}\n\n\t\t_setValue_fromArray_setMatrixWorldNeedsUpdate(buffer, offset) {\n\t\t\tthis.resolvedProperty.fromArray(buffer, offset);\n\t\t\tthis.targetObject.matrixWorldNeedsUpdate = true;\n\t\t}\n\n\t\t_getValue_unbound(targetArray, offset) {\n\t\t\tthis.bind();\n\t\t\tthis.getValue(targetArray, offset);\n\t\t}\n\n\t\t_setValue_unbound(sourceArray, offset) {\n\t\t\tthis.bind();\n\t\t\tthis.setValue(sourceArray, offset);\n\t\t} // create getter / setter pair for a property in the scene graph\n\n\n\t\tbind() {\n\t\t\tlet targetObject = this.node;\n\t\t\tconst parsedPath = this.parsedPath;\n\t\t\tconst objectName = parsedPath.objectName;\n\t\t\tconst propertyName = parsedPath.propertyName;\n\t\t\tlet propertyIndex = parsedPath.propertyIndex;\n\n\t\t\tif (!targetObject) {\n\t\t\t\ttargetObject = PropertyBinding.findNode(this.rootNode, parsedPath.nodeName) || this.rootNode;\n\t\t\t\tthis.node = targetObject;\n\t\t\t} // set fail state so we can just 'return' on error\n\n\n\t\t\tthis.getValue = this._getValue_unavailable;\n\t\t\tthis.setValue = this._setValue_unavailable; // ensure there is a value node\n\n\t\t\tif (!targetObject) {\n\t\t\t\tconsole.error('THREE.PropertyBinding: Trying to update node for track: ' + this.path + ' but it wasn\\'t found.');\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (objectName) {\n\t\t\t\tlet objectIndex = parsedPath.objectIndex; // special cases were we need to reach deeper into the hierarchy to get the face materials....\n\n\t\t\t\tswitch (objectName) {\n\t\t\t\t\tcase 'materials':\n\t\t\t\t\t\tif (!targetObject.material) {\n\t\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to material as node does not have a material.', this);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (!targetObject.material.materials) {\n\t\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.', this);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttargetObject = targetObject.material.materials;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 'bones':\n\t\t\t\t\t\tif (!targetObject.skeleton) {\n\t\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.', this);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t} // potential future optimization: skip this if propertyIndex is already an integer\n\t\t\t\t\t\t// and convert the integer string to a true integer.\n\n\n\t\t\t\t\t\ttargetObject = targetObject.skeleton.bones; // support resolving morphTarget names into indices.\n\n\t\t\t\t\t\tfor (let i = 0; i < targetObject.length; i++) {\n\t\t\t\t\t\t\tif (targetObject[i].name === objectIndex) {\n\t\t\t\t\t\t\t\tobjectIndex = i;\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\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tif (targetObject[objectName] === undefined) {\n\t\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to objectName of node undefined.', this);\n\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\ttargetObject = targetObject[objectName];\n\t\t\t\t}\n\n\t\t\t\tif (objectIndex !== undefined) {\n\t\t\t\t\tif (targetObject[objectIndex] === undefined) {\n\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.', this, targetObject);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\ttargetObject = targetObject[objectIndex];\n\t\t\t\t}\n\t\t\t} // resolve property\n\n\n\t\t\tconst nodeProperty = targetObject[propertyName];\n\n\t\t\tif (nodeProperty === undefined) {\n\t\t\t\tconst nodeName = parsedPath.nodeName;\n\t\t\t\tconsole.error('THREE.PropertyBinding: Trying to update property for track: ' + nodeName + '.' + propertyName + ' but it wasn\\'t found.', targetObject);\n\t\t\t\treturn;\n\t\t\t} // determine versioning scheme\n\n\n\t\t\tlet versioning = this.Versioning.None;\n\t\t\tthis.targetObject = targetObject;\n\n\t\t\tif (targetObject.needsUpdate !== undefined) {\n\t\t\t\t// material\n\t\t\t\tversioning = this.Versioning.NeedsUpdate;\n\t\t\t} else if (targetObject.matrixWorldNeedsUpdate !== undefined) {\n\t\t\t\t// node transform\n\t\t\t\tversioning = this.Versioning.MatrixWorldNeedsUpdate;\n\t\t\t} // determine how the property gets bound\n\n\n\t\t\tlet bindingType = this.BindingType.Direct;\n\n\t\t\tif (propertyIndex !== undefined) {\n\t\t\t\t// access a sub element of the property array (only primitives are supported right now)\n\t\t\t\tif (propertyName === 'morphTargetInfluences') {\n\t\t\t\t\t// potential optimization, skip this if propertyIndex is already an integer, and convert the integer string to a true integer.\n\t\t\t\t\t// support resolving morphTarget names into indices.\n\t\t\t\t\tif (!targetObject.geometry) {\n\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.', this);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (!targetObject.geometry.morphAttributes) {\n\t\t\t\t\t\tconsole.error('THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.', this);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (targetObject.morphTargetDictionary[propertyIndex] !== undefined) {\n\t\t\t\t\t\tpropertyIndex = targetObject.morphTargetDictionary[propertyIndex];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tbindingType = this.BindingType.ArrayElement;\n\t\t\t\tthis.resolvedProperty = nodeProperty;\n\t\t\t\tthis.propertyIndex = propertyIndex;\n\t\t\t} else if (nodeProperty.fromArray !== undefined && nodeProperty.toArray !== undefined) {\n\t\t\t\t// must use copy for Object3D.Euler/Quaternion\n\t\t\t\tbindingType = this.BindingType.HasFromToArray;\n\t\t\t\tthis.resolvedProperty = nodeProperty;\n\t\t\t} else if (Array.isArray(nodeProperty)) {\n\t\t\t\tbindingType = this.BindingType.EntireArray;\n\t\t\t\tthis.resolvedProperty = nodeProperty;\n\t\t\t} else {\n\t\t\t\tthis.propertyName = propertyName;\n\t\t\t} // select getter / setter\n\n\n\t\t\tthis.getValue = this.GetterByBindingType[bindingType];\n\t\t\tthis.setValue = this.SetterByBindingTypeAndVersioning[bindingType][versioning];\n\t\t}\n\n\t\tunbind() {\n\t\t\tthis.node = null; // back to the prototype version of getValue / setValue\n\t\t\t// note: avoiding to mutate the shape of 'this' via 'delete'\n\n\t\t\tthis.getValue = this._getValue_unbound;\n\t\t\tthis.setValue = this._setValue_unbound;\n\t\t}\n\n\t}\n\n\tPropertyBinding.Composite = Composite;\n\tPropertyBinding.prototype.BindingType = {\n\t\tDirect: 0,\n\t\tEntireArray: 1,\n\t\tArrayElement: 2,\n\t\tHasFromToArray: 3\n\t};\n\tPropertyBinding.prototype.Versioning = {\n\t\tNone: 0,\n\t\tNeedsUpdate: 1,\n\t\tMatrixWorldNeedsUpdate: 2\n\t};\n\tPropertyBinding.prototype.GetterByBindingType = [PropertyBinding.prototype._getValue_direct, PropertyBinding.prototype._getValue_array, PropertyBinding.prototype._getValue_arrayElement, PropertyBinding.prototype._getValue_toArray];\n\tPropertyBinding.prototype.SetterByBindingTypeAndVersioning = [[// Direct\n\tPropertyBinding.prototype._setValue_direct, PropertyBinding.prototype._setValue_direct_setNeedsUpdate, PropertyBinding.prototype._setValue_direct_setMatrixWorldNeedsUpdate], [// EntireArray\n\tPropertyBinding.prototype._setValue_array, PropertyBinding.prototype._setValue_array_setNeedsUpdate, PropertyBinding.prototype._setValue_array_setMatrixWorldNeedsUpdate], [// ArrayElement\n\tPropertyBinding.prototype._setValue_arrayElement, PropertyBinding.prototype._setValue_arrayElement_setNeedsUpdate, PropertyBinding.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate], [// HasToFromArray\n\tPropertyBinding.prototype._setValue_fromArray, PropertyBinding.prototype._setValue_fromArray_setNeedsUpdate, PropertyBinding.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];\n\n\t/**\n\t *\n\t * A group of objects that receives a shared animation state.\n\t *\n\t * Usage:\n\t *\n\t *\t- Add objects you would otherwise pass as 'root' to the\n\t *\t\tconstructor or the .clipAction method of AnimationMixer.\n\t *\n\t *\t- Instead pass this object as 'root'.\n\t *\n\t *\t- You can also add and remove objects later when the mixer\n\t *\t\tis running.\n\t *\n\t * Note:\n\t *\n\t *\t\tObjects of this class appear as one object to the mixer,\n\t *\t\tso cache control of the individual objects must be done\n\t *\t\ton the group.\n\t *\n\t * Limitation:\n\t *\n\t *\t- The animated properties must be compatible among the\n\t *\t\tall objects in the group.\n\t *\n\t *\t- A single property can either be controlled through a\n\t *\t\ttarget group or directly, but not both.\n\t */\n\n\tclass AnimationObjectGroup {\n\t\tconstructor() {\n\t\t\tthis.isAnimationObjectGroup = true;\n\t\t\tthis.uuid = generateUUID(); // cached objects followed by the active ones\n\n\t\t\tthis._objects = Array.prototype.slice.call(arguments);\n\t\t\tthis.nCachedObjects_ = 0; // threshold\n\t\t\t// note: read by PropertyBinding.Composite\n\n\t\t\tconst indices = {};\n\t\t\tthis._indicesByUUID = indices; // for bookkeeping\n\n\t\t\tfor (let i = 0, n = arguments.length; i !== n; ++i) {\n\t\t\t\tindices[arguments[i].uuid] = i;\n\t\t\t}\n\n\t\t\tthis._paths = []; // inside: string\n\n\t\t\tthis._parsedPaths = []; // inside: { we don't care, here }\n\n\t\t\tthis._bindings = []; // inside: Array< PropertyBinding >\n\n\t\t\tthis._bindingsIndicesByPath = {}; // inside: indices in these arrays\n\n\t\t\tconst scope = this;\n\t\t\tthis.stats = {\n\t\t\t\tobjects: {\n\t\t\t\t\tget total() {\n\t\t\t\t\t\treturn scope._objects.length;\n\t\t\t\t\t},\n\n\t\t\t\t\tget inUse() {\n\t\t\t\t\t\treturn this.total - scope.nCachedObjects_;\n\t\t\t\t\t}\n\n\t\t\t\t},\n\n\t\t\t\tget bindingsPerObject() {\n\t\t\t\t\treturn scope._bindings.length;\n\t\t\t\t}\n\n\t\t\t};\n\t\t}\n\n\t\tadd() {\n\t\t\tconst objects = this._objects,\n\t\t\t\t\t\tindicesByUUID = this._indicesByUUID,\n\t\t\t\t\t\tpaths = this._paths,\n\t\t\t\t\t\tparsedPaths = this._parsedPaths,\n\t\t\t\t\t\tbindings = this._bindings,\n\t\t\t\t\t\tnBindings = bindings.length;\n\t\t\tlet knownObject = undefined,\n\t\t\t\t\tnObjects = objects.length,\n\t\t\t\t\tnCachedObjects = this.nCachedObjects_;\n\n\t\t\tfor (let i = 0, n = arguments.length; i !== n; ++i) {\n\t\t\t\tconst object = arguments[i],\n\t\t\t\t\t\t\tuuid = object.uuid;\n\t\t\t\tlet index = indicesByUUID[uuid];\n\n\t\t\t\tif (index === undefined) {\n\t\t\t\t\t// unknown object -> add it to the ACTIVE region\n\t\t\t\t\tindex = nObjects++;\n\t\t\t\t\tindicesByUUID[uuid] = index;\n\t\t\t\t\tobjects.push(object); // accounting is done, now do the same for all bindings\n\n\t\t\t\t\tfor (let j = 0, m = nBindings; j !== m; ++j) {\n\t\t\t\t\t\tbindings[j].push(new PropertyBinding(object, paths[j], parsedPaths[j]));\n\t\t\t\t\t}\n\t\t\t\t} else if (index < nCachedObjects) {\n\t\t\t\t\tknownObject = objects[index]; // move existing object to the ACTIVE region\n\n\t\t\t\t\tconst firstActiveIndex = --nCachedObjects,\n\t\t\t\t\t\t\t\tlastCachedObject = objects[firstActiveIndex];\n\t\t\t\t\tindicesByUUID[lastCachedObject.uuid] = index;\n\t\t\t\t\tobjects[index] = lastCachedObject;\n\t\t\t\t\tindicesByUUID[uuid] = firstActiveIndex;\n\t\t\t\t\tobjects[firstActiveIndex] = object; // accounting is done, now do the same for all bindings\n\n\t\t\t\t\tfor (let j = 0, m = nBindings; j !== m; ++j) {\n\t\t\t\t\t\tconst bindingsForPath = bindings[j],\n\t\t\t\t\t\t\t\t\tlastCached = bindingsForPath[firstActiveIndex];\n\t\t\t\t\t\tlet binding = bindingsForPath[index];\n\t\t\t\t\t\tbindingsForPath[index] = lastCached;\n\n\t\t\t\t\t\tif (binding === undefined) {\n\t\t\t\t\t\t\t// since we do not bother to create new bindings\n\t\t\t\t\t\t\t// for objects that are cached, the binding may\n\t\t\t\t\t\t\t// or may not exist\n\t\t\t\t\t\t\tbinding = new PropertyBinding(object, paths[j], parsedPaths[j]);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbindingsForPath[firstActiveIndex] = binding;\n\t\t\t\t\t}\n\t\t\t\t} else if (objects[index] !== knownObject) {\n\t\t\t\t\tconsole.error('THREE.AnimationObjectGroup: Different objects with the same UUID ' + 'detected. Clean the caches or recreate your infrastructure when reloading scenes.');\n\t\t\t\t} // else the object is already where we want it to be\n\n\t\t\t} // for arguments\n\n\n\t\t\tthis.nCachedObjects_ = nCachedObjects;\n\t\t}\n\n\t\tremove() {\n\t\t\tconst objects = this._objects,\n\t\t\t\t\t\tindicesByUUID = this._indicesByUUID,\n\t\t\t\t\t\tbindings = this._bindings,\n\t\t\t\t\t\tnBindings = bindings.length;\n\t\t\tlet nCachedObjects = this.nCachedObjects_;\n\n\t\t\tfor (let i = 0, n = arguments.length; i !== n; ++i) {\n\t\t\t\tconst object = arguments[i],\n\t\t\t\t\t\t\tuuid = object.uuid,\n\t\t\t\t\t\t\tindex = indicesByUUID[uuid];\n\n\t\t\t\tif (index !== undefined && index >= nCachedObjects) {\n\t\t\t\t\t// move existing object into the CACHED region\n\t\t\t\t\tconst lastCachedIndex = nCachedObjects++,\n\t\t\t\t\t\t\t\tfirstActiveObject = objects[lastCachedIndex];\n\t\t\t\t\tindicesByUUID[firstActiveObject.uuid] = index;\n\t\t\t\t\tobjects[index] = firstActiveObject;\n\t\t\t\t\tindicesByUUID[uuid] = lastCachedIndex;\n\t\t\t\t\tobjects[lastCachedIndex] = object; // accounting is done, now do the same for all bindings\n\n\t\t\t\t\tfor (let j = 0, m = nBindings; j !== m; ++j) {\n\t\t\t\t\t\tconst bindingsForPath = bindings[j],\n\t\t\t\t\t\t\t\t\tfirstActive = bindingsForPath[lastCachedIndex],\n\t\t\t\t\t\t\t\t\tbinding = bindingsForPath[index];\n\t\t\t\t\t\tbindingsForPath[index] = firstActive;\n\t\t\t\t\t\tbindingsForPath[lastCachedIndex] = binding;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} // for arguments\n\n\n\t\t\tthis.nCachedObjects_ = nCachedObjects;\n\t\t} // remove & forget\n\n\n\t\tuncache() {\n\t\t\tconst objects = this._objects,\n\t\t\t\t\t\tindicesByUUID = this._indicesByUUID,\n\t\t\t\t\t\tbindings = this._bindings,\n\t\t\t\t\t\tnBindings = bindings.length;\n\t\t\tlet nCachedObjects = this.nCachedObjects_,\n\t\t\t\t\tnObjects = objects.length;\n\n\t\t\tfor (let i = 0, n = arguments.length; i !== n; ++i) {\n\t\t\t\tconst object = arguments[i],\n\t\t\t\t\t\t\tuuid = object.uuid,\n\t\t\t\t\t\t\tindex = indicesByUUID[uuid];\n\n\t\t\t\tif (index !== undefined) {\n\t\t\t\t\tdelete indicesByUUID[uuid];\n\n\t\t\t\t\tif (index < nCachedObjects) {\n\t\t\t\t\t\t// object is cached, shrink the CACHED region\n\t\t\t\t\t\tconst firstActiveIndex = --nCachedObjects,\n\t\t\t\t\t\t\t\t\tlastCachedObject = objects[firstActiveIndex],\n\t\t\t\t\t\t\t\t\tlastIndex = --nObjects,\n\t\t\t\t\t\t\t\t\tlastObject = objects[lastIndex]; // last cached object takes this object's place\n\n\t\t\t\t\t\tindicesByUUID[lastCachedObject.uuid] = index;\n\t\t\t\t\t\tobjects[index] = lastCachedObject; // last object goes to the activated slot and pop\n\n\t\t\t\t\t\tindicesByUUID[lastObject.uuid] = firstActiveIndex;\n\t\t\t\t\t\tobjects[firstActiveIndex] = lastObject;\n\t\t\t\t\t\tobjects.pop(); // accounting is done, now do the same for all bindings\n\n\t\t\t\t\t\tfor (let j = 0, m = nBindings; j !== m; ++j) {\n\t\t\t\t\t\t\tconst bindingsForPath = bindings[j],\n\t\t\t\t\t\t\t\t\t\tlastCached = bindingsForPath[firstActiveIndex],\n\t\t\t\t\t\t\t\t\t\tlast = bindingsForPath[lastIndex];\n\t\t\t\t\t\t\tbindingsForPath[index] = lastCached;\n\t\t\t\t\t\t\tbindingsForPath[firstActiveIndex] = last;\n\t\t\t\t\t\t\tbindingsForPath.pop();\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// object is active, just swap with the last and pop\n\t\t\t\t\t\tconst lastIndex = --nObjects,\n\t\t\t\t\t\t\t\t\tlastObject = objects[lastIndex];\n\n\t\t\t\t\t\tif (lastIndex > 0) {\n\t\t\t\t\t\t\tindicesByUUID[lastObject.uuid] = index;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tobjects[index] = lastObject;\n\t\t\t\t\t\tobjects.pop(); // accounting is done, now do the same for all bindings\n\n\t\t\t\t\t\tfor (let j = 0, m = nBindings; j !== m; ++j) {\n\t\t\t\t\t\t\tconst bindingsForPath = bindings[j];\n\t\t\t\t\t\t\tbindingsForPath[index] = bindingsForPath[lastIndex];\n\t\t\t\t\t\t\tbindingsForPath.pop();\n\t\t\t\t\t\t}\n\t\t\t\t\t} // cached or active\n\n\t\t\t\t} // if object is known\n\n\t\t\t} // for arguments\n\n\n\t\t\tthis.nCachedObjects_ = nCachedObjects;\n\t\t} // Internal interface used by befriended PropertyBinding.Composite:\n\n\n\t\tsubscribe_(path, parsedPath) {\n\t\t\t// returns an array of bindings for the given path that is changed\n\t\t\t// according to the contained objects in the group\n\t\t\tconst indicesByPath = this._bindingsIndicesByPath;\n\t\t\tlet index = indicesByPath[path];\n\t\t\tconst bindings = this._bindings;\n\t\t\tif (index !== undefined) return bindings[index];\n\t\t\tconst paths = this._paths,\n\t\t\t\t\t\tparsedPaths = this._parsedPaths,\n\t\t\t\t\t\tobjects = this._objects,\n\t\t\t\t\t\tnObjects = objects.length,\n\t\t\t\t\t\tnCachedObjects = this.nCachedObjects_,\n\t\t\t\t\t\tbindingsForPath = new Array(nObjects);\n\t\t\tindex = bindings.length;\n\t\t\tindicesByPath[path] = index;\n\t\t\tpaths.push(path);\n\t\t\tparsedPaths.push(parsedPath);\n\t\t\tbindings.push(bindingsForPath);\n\n\t\t\tfor (let i = nCachedObjects, n = objects.length; i !== n; ++i) {\n\t\t\t\tconst object = objects[i];\n\t\t\t\tbindingsForPath[i] = new PropertyBinding(object, path, parsedPath);\n\t\t\t}\n\n\t\t\treturn bindingsForPath;\n\t\t}\n\n\t\tunsubscribe_(path) {\n\t\t\t// tells the group to forget about a property path and no longer\n\t\t\t// update the array previously obtained with 'subscribe_'\n\t\t\tconst indicesByPath = this._bindingsIndicesByPath,\n\t\t\t\t\t\tindex = indicesByPath[path];\n\n\t\t\tif (index !== undefined) {\n\t\t\t\tconst paths = this._paths,\n\t\t\t\t\t\t\tparsedPaths = this._parsedPaths,\n\t\t\t\t\t\t\tbindings = this._bindings,\n\t\t\t\t\t\t\tlastBindingsIndex = bindings.length - 1,\n\t\t\t\t\t\t\tlastBindings = bindings[lastBindingsIndex],\n\t\t\t\t\t\t\tlastBindingsPath = path[lastBindingsIndex];\n\t\t\t\tindicesByPath[lastBindingsPath] = index;\n\t\t\t\tbindings[index] = lastBindings;\n\t\t\t\tbindings.pop();\n\t\t\t\tparsedPaths[index] = parsedPaths[lastBindingsIndex];\n\t\t\t\tparsedPaths.pop();\n\t\t\t\tpaths[index] = paths[lastBindingsIndex];\n\t\t\t\tpaths.pop();\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass AnimationAction {\n\t\tconstructor(mixer, clip, localRoot = null, blendMode = clip.blendMode) {\n\t\t\tthis._mixer = mixer;\n\t\t\tthis._clip = clip;\n\t\t\tthis._localRoot = localRoot;\n\t\t\tthis.blendMode = blendMode;\n\t\t\tconst tracks = clip.tracks,\n\t\t\t\t\t\tnTracks = tracks.length,\n\t\t\t\t\t\tinterpolants = new Array(nTracks);\n\t\t\tconst interpolantSettings = {\n\t\t\t\tendingStart: ZeroCurvatureEnding,\n\t\t\t\tendingEnd: ZeroCurvatureEnding\n\t\t\t};\n\n\t\t\tfor (let i = 0; i !== nTracks; ++i) {\n\t\t\t\tconst interpolant = tracks[i].createInterpolant(null);\n\t\t\t\tinterpolants[i] = interpolant;\n\t\t\t\tinterpolant.settings = interpolantSettings;\n\t\t\t}\n\n\t\t\tthis._interpolantSettings = interpolantSettings;\n\t\t\tthis._interpolants = interpolants; // bound by the mixer\n\t\t\t// inside: PropertyMixer (managed by the mixer)\n\n\t\t\tthis._propertyBindings = new Array(nTracks);\n\t\t\tthis._cacheIndex = null; // for the memory manager\n\n\t\t\tthis._byClipCacheIndex = null; // for the memory manager\n\n\t\t\tthis._timeScaleInterpolant = null;\n\t\t\tthis._weightInterpolant = null;\n\t\t\tthis.loop = LoopRepeat;\n\t\t\tthis._loopCount = -1; // global mixer time when the action is to be started\n\t\t\t// it's set back to 'null' upon start of the action\n\n\t\t\tthis._startTime = null; // scaled local time of the action\n\t\t\t// gets clamped or wrapped to 0..clip.duration according to loop\n\n\t\t\tthis.time = 0;\n\t\t\tthis.timeScale = 1;\n\t\t\tthis._effectiveTimeScale = 1;\n\t\t\tthis.weight = 1;\n\t\t\tthis._effectiveWeight = 1;\n\t\t\tthis.repetitions = Infinity; // no. of repetitions when looping\n\n\t\t\tthis.paused = false; // true -> zero effective time scale\n\n\t\t\tthis.enabled = true; // false -> zero effective weight\n\n\t\t\tthis.clampWhenFinished = false; // keep feeding the last frame?\n\n\t\t\tthis.zeroSlopeAtStart = true; // for smooth interpolation w/o separate\n\n\t\t\tthis.zeroSlopeAtEnd = true; // clips for start, loop and end\n\t\t} // State & Scheduling\n\n\n\t\tplay() {\n\t\t\tthis._mixer._activateAction(this);\n\n\t\t\treturn this;\n\t\t}\n\n\t\tstop() {\n\t\t\tthis._mixer._deactivateAction(this);\n\n\t\t\treturn this.reset();\n\t\t}\n\n\t\treset() {\n\t\t\tthis.paused = false;\n\t\t\tthis.enabled = true;\n\t\t\tthis.time = 0; // restart clip\n\n\t\t\tthis._loopCount = -1; // forget previous loops\n\n\t\t\tthis._startTime = null; // forget scheduling\n\n\t\t\treturn this.stopFading().stopWarping();\n\t\t}\n\n\t\tisRunning() {\n\t\t\treturn this.enabled && !this.paused && this.timeScale !== 0 && this._startTime === null && this._mixer._isActiveAction(this);\n\t\t} // return true when play has been called\n\n\n\t\tisScheduled() {\n\t\t\treturn this._mixer._isActiveAction(this);\n\t\t}\n\n\t\tstartAt(time) {\n\t\t\tthis._startTime = time;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetLoop(mode, repetitions) {\n\t\t\tthis.loop = mode;\n\t\t\tthis.repetitions = repetitions;\n\t\t\treturn this;\n\t\t} // Weight\n\t\t// set the weight stopping any scheduled fading\n\t\t// although .enabled = false yields an effective weight of zero, this\n\t\t// method does *not* change .enabled, because it would be confusing\n\n\n\t\tsetEffectiveWeight(weight) {\n\t\t\tthis.weight = weight; // note: same logic as when updated at runtime\n\n\t\t\tthis._effectiveWeight = this.enabled ? weight : 0;\n\t\t\treturn this.stopFading();\n\t\t} // return the weight considering fading and .enabled\n\n\n\t\tgetEffectiveWeight() {\n\t\t\treturn this._effectiveWeight;\n\t\t}\n\n\t\tfadeIn(duration) {\n\t\t\treturn this._scheduleFading(duration, 0, 1);\n\t\t}\n\n\t\tfadeOut(duration) {\n\t\t\treturn this._scheduleFading(duration, 1, 0);\n\t\t}\n\n\t\tcrossFadeFrom(fadeOutAction, duration, warp) {\n\t\t\tfadeOutAction.fadeOut(duration);\n\t\t\tthis.fadeIn(duration);\n\n\t\t\tif (warp) {\n\t\t\t\tconst fadeInDuration = this._clip.duration,\n\t\t\t\t\t\t\tfadeOutDuration = fadeOutAction._clip.duration,\n\t\t\t\t\t\t\tstartEndRatio = fadeOutDuration / fadeInDuration,\n\t\t\t\t\t\t\tendStartRatio = fadeInDuration / fadeOutDuration;\n\t\t\t\tfadeOutAction.warp(1.0, startEndRatio, duration);\n\t\t\t\tthis.warp(endStartRatio, 1.0, duration);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tcrossFadeTo(fadeInAction, duration, warp) {\n\t\t\treturn fadeInAction.crossFadeFrom(this, duration, warp);\n\t\t}\n\n\t\tstopFading() {\n\t\t\tconst weightInterpolant = this._weightInterpolant;\n\n\t\t\tif (weightInterpolant !== null) {\n\t\t\t\tthis._weightInterpolant = null;\n\n\t\t\t\tthis._mixer._takeBackControlInterpolant(weightInterpolant);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // Time Scale Control\n\t\t// set the time scale stopping any scheduled warping\n\t\t// although .paused = true yields an effective time scale of zero, this\n\t\t// method does *not* change .paused, because it would be confusing\n\n\n\t\tsetEffectiveTimeScale(timeScale) {\n\t\t\tthis.timeScale = timeScale;\n\t\t\tthis._effectiveTimeScale = this.paused ? 0 : timeScale;\n\t\t\treturn this.stopWarping();\n\t\t} // return the time scale considering warping and .paused\n\n\n\t\tgetEffectiveTimeScale() {\n\t\t\treturn this._effectiveTimeScale;\n\t\t}\n\n\t\tsetDuration(duration) {\n\t\t\tthis.timeScale = this._clip.duration / duration;\n\t\t\treturn this.stopWarping();\n\t\t}\n\n\t\tsyncWith(action) {\n\t\t\tthis.time = action.time;\n\t\t\tthis.timeScale = action.timeScale;\n\t\t\treturn this.stopWarping();\n\t\t}\n\n\t\thalt(duration) {\n\t\t\treturn this.warp(this._effectiveTimeScale, 0, duration);\n\t\t}\n\n\t\twarp(startTimeScale, endTimeScale, duration) {\n\t\t\tconst mixer = this._mixer,\n\t\t\t\t\t\tnow = mixer.time,\n\t\t\t\t\t\ttimeScale = this.timeScale;\n\t\t\tlet interpolant = this._timeScaleInterpolant;\n\n\t\t\tif (interpolant === null) {\n\t\t\t\tinterpolant = mixer._lendControlInterpolant();\n\t\t\t\tthis._timeScaleInterpolant = interpolant;\n\t\t\t}\n\n\t\t\tconst times = interpolant.parameterPositions,\n\t\t\t\t\t\tvalues = interpolant.sampleValues;\n\t\t\ttimes[0] = now;\n\t\t\ttimes[1] = now + duration;\n\t\t\tvalues[0] = startTimeScale / timeScale;\n\t\t\tvalues[1] = endTimeScale / timeScale;\n\t\t\treturn this;\n\t\t}\n\n\t\tstopWarping() {\n\t\t\tconst timeScaleInterpolant = this._timeScaleInterpolant;\n\n\t\t\tif (timeScaleInterpolant !== null) {\n\t\t\t\tthis._timeScaleInterpolant = null;\n\n\t\t\t\tthis._mixer._takeBackControlInterpolant(timeScaleInterpolant);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // Object Accessors\n\n\n\t\tgetMixer() {\n\t\t\treturn this._mixer;\n\t\t}\n\n\t\tgetClip() {\n\t\t\treturn this._clip;\n\t\t}\n\n\t\tgetRoot() {\n\t\t\treturn this._localRoot || this._mixer._root;\n\t\t} // Interna\n\n\n\t\t_update(time, deltaTime, timeDirection, accuIndex) {\n\t\t\t// called by the mixer\n\t\t\tif (!this.enabled) {\n\t\t\t\t// call ._updateWeight() to update ._effectiveWeight\n\t\t\t\tthis._updateWeight(time);\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst startTime = this._startTime;\n\n\t\t\tif (startTime !== null) {\n\t\t\t\t// check for scheduled start of action\n\t\t\t\tconst timeRunning = (time - startTime) * timeDirection;\n\n\t\t\t\tif (timeRunning < 0 || timeDirection === 0) {\n\t\t\t\t\treturn; // yet to come / don't decide when delta = 0\n\t\t\t\t} // start\n\n\n\t\t\t\tthis._startTime = null; // unschedule\n\n\t\t\t\tdeltaTime = timeDirection * timeRunning;\n\t\t\t} // apply time scale and advance time\n\n\n\t\t\tdeltaTime *= this._updateTimeScale(time);\n\n\t\t\tconst clipTime = this._updateTime(deltaTime); // note: _updateTime may disable the action resulting in\n\t\t\t// an effective weight of 0\n\n\n\t\t\tconst weight = this._updateWeight(time);\n\n\t\t\tif (weight > 0) {\n\t\t\t\tconst interpolants = this._interpolants;\n\t\t\t\tconst propertyMixers = this._propertyBindings;\n\n\t\t\t\tswitch (this.blendMode) {\n\t\t\t\t\tcase AdditiveAnimationBlendMode:\n\t\t\t\t\t\tfor (let j = 0, m = interpolants.length; j !== m; ++j) {\n\t\t\t\t\t\t\tinterpolants[j].evaluate(clipTime);\n\t\t\t\t\t\t\tpropertyMixers[j].accumulateAdditive(weight);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase NormalAnimationBlendMode:\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tfor (let j = 0, m = interpolants.length; j !== m; ++j) {\n\t\t\t\t\t\t\tinterpolants[j].evaluate(clipTime);\n\t\t\t\t\t\t\tpropertyMixers[j].accumulate(accuIndex, weight);\n\t\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_updateWeight(time) {\n\t\t\tlet weight = 0;\n\n\t\t\tif (this.enabled) {\n\t\t\t\tweight = this.weight;\n\t\t\t\tconst interpolant = this._weightInterpolant;\n\n\t\t\t\tif (interpolant !== null) {\n\t\t\t\t\tconst interpolantValue = interpolant.evaluate(time)[0];\n\t\t\t\t\tweight *= interpolantValue;\n\n\t\t\t\t\tif (time > interpolant.parameterPositions[1]) {\n\t\t\t\t\t\tthis.stopFading();\n\n\t\t\t\t\t\tif (interpolantValue === 0) {\n\t\t\t\t\t\t\t// faded out, disable\n\t\t\t\t\t\t\tthis.enabled = false;\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\tthis._effectiveWeight = weight;\n\t\t\treturn weight;\n\t\t}\n\n\t\t_updateTimeScale(time) {\n\t\t\tlet timeScale = 0;\n\n\t\t\tif (!this.paused) {\n\t\t\t\ttimeScale = this.timeScale;\n\t\t\t\tconst interpolant = this._timeScaleInterpolant;\n\n\t\t\t\tif (interpolant !== null) {\n\t\t\t\t\tconst interpolantValue = interpolant.evaluate(time)[0];\n\t\t\t\t\ttimeScale *= interpolantValue;\n\n\t\t\t\t\tif (time > interpolant.parameterPositions[1]) {\n\t\t\t\t\t\tthis.stopWarping();\n\n\t\t\t\t\t\tif (timeScale === 0) {\n\t\t\t\t\t\t\t// motion has halted, pause\n\t\t\t\t\t\t\tthis.paused = true;\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t// warp done - apply final time scale\n\t\t\t\t\t\t\tthis.timeScale = timeScale;\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\tthis._effectiveTimeScale = timeScale;\n\t\t\treturn timeScale;\n\t\t}\n\n\t\t_updateTime(deltaTime) {\n\t\t\tconst duration = this._clip.duration;\n\t\t\tconst loop = this.loop;\n\t\t\tlet time = this.time + deltaTime;\n\t\t\tlet loopCount = this._loopCount;\n\t\t\tconst pingPong = loop === LoopPingPong;\n\n\t\t\tif (deltaTime === 0) {\n\t\t\t\tif (loopCount === -1) return time;\n\t\t\t\treturn pingPong && (loopCount & 1) === 1 ? duration - time : time;\n\t\t\t}\n\n\t\t\tif (loop === LoopOnce) {\n\t\t\t\tif (loopCount === -1) {\n\t\t\t\t\t// just started\n\t\t\t\t\tthis._loopCount = 0;\n\n\t\t\t\t\tthis._setEndings(true, true, false);\n\t\t\t\t}\n\n\t\t\t\thandle_stop: {\n\t\t\t\t\tif (time >= duration) {\n\t\t\t\t\t\ttime = duration;\n\t\t\t\t\t} else if (time < 0) {\n\t\t\t\t\t\ttime = 0;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.time = time;\n\t\t\t\t\t\tbreak handle_stop;\n\t\t\t\t\t}\n\n\t\t\t\t\tif (this.clampWhenFinished) this.paused = true;else this.enabled = false;\n\t\t\t\t\tthis.time = time;\n\n\t\t\t\t\tthis._mixer.dispatchEvent({\n\t\t\t\t\t\ttype: 'finished',\n\t\t\t\t\t\taction: this,\n\t\t\t\t\t\tdirection: deltaTime < 0 ? -1 : 1\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\t// repetitive Repeat or PingPong\n\t\t\t\tif (loopCount === -1) {\n\t\t\t\t\t// just started\n\t\t\t\t\tif (deltaTime >= 0) {\n\t\t\t\t\t\tloopCount = 0;\n\n\t\t\t\t\t\tthis._setEndings(true, this.repetitions === 0, pingPong);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// when looping in reverse direction, the initial\n\t\t\t\t\t\t// transition through zero counts as a repetition,\n\t\t\t\t\t\t// so leave loopCount at -1\n\t\t\t\t\t\tthis._setEndings(this.repetitions === 0, true, pingPong);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (time >= duration || time < 0) {\n\t\t\t\t\t// wrap around\n\t\t\t\t\tconst loopDelta = Math.floor(time / duration); // signed\n\n\t\t\t\t\ttime -= duration * loopDelta;\n\t\t\t\t\tloopCount += Math.abs(loopDelta);\n\t\t\t\t\tconst pending = this.repetitions - loopCount;\n\n\t\t\t\t\tif (pending <= 0) {\n\t\t\t\t\t\t// have to stop (switch state, clamp time, fire event)\n\t\t\t\t\t\tif (this.clampWhenFinished) this.paused = true;else this.enabled = false;\n\t\t\t\t\t\ttime = deltaTime > 0 ? duration : 0;\n\t\t\t\t\t\tthis.time = time;\n\n\t\t\t\t\t\tthis._mixer.dispatchEvent({\n\t\t\t\t\t\t\ttype: 'finished',\n\t\t\t\t\t\t\taction: this,\n\t\t\t\t\t\t\tdirection: deltaTime > 0 ? 1 : -1\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// keep running\n\t\t\t\t\t\tif (pending === 1) {\n\t\t\t\t\t\t\t// entering the last round\n\t\t\t\t\t\t\tconst atStart = deltaTime < 0;\n\n\t\t\t\t\t\t\tthis._setEndings(atStart, !atStart, pingPong);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthis._setEndings(false, false, pingPong);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tthis._loopCount = loopCount;\n\t\t\t\t\t\tthis.time = time;\n\n\t\t\t\t\t\tthis._mixer.dispatchEvent({\n\t\t\t\t\t\t\ttype: 'loop',\n\t\t\t\t\t\t\taction: this,\n\t\t\t\t\t\t\tloopDelta: loopDelta\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tthis.time = time;\n\t\t\t\t}\n\n\t\t\t\tif (pingPong && (loopCount & 1) === 1) {\n\t\t\t\t\t// invert time for the \"pong round\"\n\t\t\t\t\treturn duration - time;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn time;\n\t\t}\n\n\t\t_setEndings(atStart, atEnd, pingPong) {\n\t\t\tconst settings = this._interpolantSettings;\n\n\t\t\tif (pingPong) {\n\t\t\t\tsettings.endingStart = ZeroSlopeEnding;\n\t\t\t\tsettings.endingEnd = ZeroSlopeEnding;\n\t\t\t} else {\n\t\t\t\t// assuming for LoopOnce atStart == atEnd == true\n\t\t\t\tif (atStart) {\n\t\t\t\t\tsettings.endingStart = this.zeroSlopeAtStart ? ZeroSlopeEnding : ZeroCurvatureEnding;\n\t\t\t\t} else {\n\t\t\t\t\tsettings.endingStart = WrapAroundEnding;\n\t\t\t\t}\n\n\t\t\t\tif (atEnd) {\n\t\t\t\t\tsettings.endingEnd = this.zeroSlopeAtEnd ? ZeroSlopeEnding : ZeroCurvatureEnding;\n\t\t\t\t} else {\n\t\t\t\t\tsettings.endingEnd = WrapAroundEnding;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_scheduleFading(duration, weightNow, weightThen) {\n\t\t\tconst mixer = this._mixer,\n\t\t\t\t\t\tnow = mixer.time;\n\t\t\tlet interpolant = this._weightInterpolant;\n\n\t\t\tif (interpolant === null) {\n\t\t\t\tinterpolant = mixer._lendControlInterpolant();\n\t\t\t\tthis._weightInterpolant = interpolant;\n\t\t\t}\n\n\t\t\tconst times = interpolant.parameterPositions,\n\t\t\t\t\t\tvalues = interpolant.sampleValues;\n\t\t\ttimes[0] = now;\n\t\t\tvalues[0] = weightNow;\n\t\t\ttimes[1] = now + duration;\n\t\t\tvalues[1] = weightThen;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tconst _controlInterpolantsResultBuffer = /*@__PURE__*/new Float32Array(1);\n\n\tclass AnimationMixer extends EventDispatcher {\n\t\tconstructor(root) {\n\t\t\tsuper();\n\t\t\tthis._root = root;\n\n\t\t\tthis._initMemoryManager();\n\n\t\t\tthis._accuIndex = 0;\n\t\t\tthis.time = 0;\n\t\t\tthis.timeScale = 1.0;\n\t\t}\n\n\t\t_bindAction(action, prototypeAction) {\n\t\t\tconst root = action._localRoot || this._root,\n\t\t\t\t\t\ttracks = action._clip.tracks,\n\t\t\t\t\t\tnTracks = tracks.length,\n\t\t\t\t\t\tbindings = action._propertyBindings,\n\t\t\t\t\t\tinterpolants = action._interpolants,\n\t\t\t\t\t\trootUuid = root.uuid,\n\t\t\t\t\t\tbindingsByRoot = this._bindingsByRootAndName;\n\t\t\tlet bindingsByName = bindingsByRoot[rootUuid];\n\n\t\t\tif (bindingsByName === undefined) {\n\t\t\t\tbindingsByName = {};\n\t\t\t\tbindingsByRoot[rootUuid] = bindingsByName;\n\t\t\t}\n\n\t\t\tfor (let i = 0; i !== nTracks; ++i) {\n\t\t\t\tconst track = tracks[i],\n\t\t\t\t\t\t\ttrackName = track.name;\n\t\t\t\tlet binding = bindingsByName[trackName];\n\n\t\t\t\tif (binding !== undefined) {\n\t\t\t\t\t++binding.referenceCount;\n\t\t\t\t\tbindings[i] = binding;\n\t\t\t\t} else {\n\t\t\t\t\tbinding = bindings[i];\n\n\t\t\t\t\tif (binding !== undefined) {\n\t\t\t\t\t\t// existing binding, make sure the cache knows\n\t\t\t\t\t\tif (binding._cacheIndex === null) {\n\t\t\t\t\t\t\t++binding.referenceCount;\n\n\t\t\t\t\t\t\tthis._addInactiveBinding(binding, rootUuid, trackName);\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst path = prototypeAction && prototypeAction._propertyBindings[i].binding.parsedPath;\n\t\t\t\t\tbinding = new PropertyMixer(PropertyBinding.create(root, trackName, path), track.ValueTypeName, track.getValueSize());\n\t\t\t\t\t++binding.referenceCount;\n\n\t\t\t\t\tthis._addInactiveBinding(binding, rootUuid, trackName);\n\n\t\t\t\t\tbindings[i] = binding;\n\t\t\t\t}\n\n\t\t\t\tinterpolants[i].resultBuffer = binding.buffer;\n\t\t\t}\n\t\t}\n\n\t\t_activateAction(action) {\n\t\t\tif (!this._isActiveAction(action)) {\n\t\t\t\tif (action._cacheIndex === null) {\n\t\t\t\t\t// this action has been forgotten by the cache, but the user\n\t\t\t\t\t// appears to be still using it -> rebind\n\t\t\t\t\tconst rootUuid = (action._localRoot || this._root).uuid,\n\t\t\t\t\t\t\t\tclipUuid = action._clip.uuid,\n\t\t\t\t\t\t\t\tactionsForClip = this._actionsByClip[clipUuid];\n\n\t\t\t\t\tthis._bindAction(action, actionsForClip && actionsForClip.knownActions[0]);\n\n\t\t\t\t\tthis._addInactiveAction(action, clipUuid, rootUuid);\n\t\t\t\t}\n\n\t\t\t\tconst bindings = action._propertyBindings; // increment reference counts / sort out state\n\n\t\t\t\tfor (let i = 0, n = bindings.length; i !== n; ++i) {\n\t\t\t\t\tconst binding = bindings[i];\n\n\t\t\t\t\tif (binding.useCount++ === 0) {\n\t\t\t\t\t\tthis._lendBinding(binding);\n\n\t\t\t\t\t\tbinding.saveOriginalState();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis._lendAction(action);\n\t\t\t}\n\t\t}\n\n\t\t_deactivateAction(action) {\n\t\t\tif (this._isActiveAction(action)) {\n\t\t\t\tconst bindings = action._propertyBindings; // decrement reference counts / sort out state\n\n\t\t\t\tfor (let i = 0, n = bindings.length; i !== n; ++i) {\n\t\t\t\t\tconst binding = bindings[i];\n\n\t\t\t\t\tif (--binding.useCount === 0) {\n\t\t\t\t\t\tbinding.restoreOriginalState();\n\n\t\t\t\t\t\tthis._takeBackBinding(binding);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tthis._takeBackAction(action);\n\t\t\t}\n\t\t} // Memory manager\n\n\n\t\t_initMemoryManager() {\n\t\t\tthis._actions = []; // 'nActiveActions' followed by inactive ones\n\n\t\t\tthis._nActiveActions = 0;\n\t\t\tthis._actionsByClip = {}; // inside:\n\t\t\t// {\n\t\t\t// \tknownActions: Array< AnimationAction > - used as prototypes\n\t\t\t// \tactionByRoot: AnimationAction - lookup\n\t\t\t// }\n\n\t\t\tthis._bindings = []; // 'nActiveBindings' followed by inactive ones\n\n\t\t\tthis._nActiveBindings = 0;\n\t\t\tthis._bindingsByRootAndName = {}; // inside: Map< name, PropertyMixer >\n\n\t\t\tthis._controlInterpolants = []; // same game as above\n\n\t\t\tthis._nActiveControlInterpolants = 0;\n\t\t\tconst scope = this;\n\t\t\tthis.stats = {\n\t\t\t\tactions: {\n\t\t\t\t\tget total() {\n\t\t\t\t\t\treturn scope._actions.length;\n\t\t\t\t\t},\n\n\t\t\t\t\tget inUse() {\n\t\t\t\t\t\treturn scope._nActiveActions;\n\t\t\t\t\t}\n\n\t\t\t\t},\n\t\t\t\tbindings: {\n\t\t\t\t\tget total() {\n\t\t\t\t\t\treturn scope._bindings.length;\n\t\t\t\t\t},\n\n\t\t\t\t\tget inUse() {\n\t\t\t\t\t\treturn scope._nActiveBindings;\n\t\t\t\t\t}\n\n\t\t\t\t},\n\t\t\t\tcontrolInterpolants: {\n\t\t\t\t\tget total() {\n\t\t\t\t\t\treturn scope._controlInterpolants.length;\n\t\t\t\t\t},\n\n\t\t\t\t\tget inUse() {\n\t\t\t\t\t\treturn scope._nActiveControlInterpolants;\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t};\n\t\t} // Memory management for AnimationAction objects\n\n\n\t\t_isActiveAction(action) {\n\t\t\tconst index = action._cacheIndex;\n\t\t\treturn index !== null && index < this._nActiveActions;\n\t\t}\n\n\t\t_addInactiveAction(action, clipUuid, rootUuid) {\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tactionsByClip = this._actionsByClip;\n\t\t\tlet actionsForClip = actionsByClip[clipUuid];\n\n\t\t\tif (actionsForClip === undefined) {\n\t\t\t\tactionsForClip = {\n\t\t\t\t\tknownActions: [action],\n\t\t\t\t\tactionByRoot: {}\n\t\t\t\t};\n\t\t\t\taction._byClipCacheIndex = 0;\n\t\t\t\tactionsByClip[clipUuid] = actionsForClip;\n\t\t\t} else {\n\t\t\t\tconst knownActions = actionsForClip.knownActions;\n\t\t\t\taction._byClipCacheIndex = knownActions.length;\n\t\t\t\tknownActions.push(action);\n\t\t\t}\n\n\t\t\taction._cacheIndex = actions.length;\n\t\t\tactions.push(action);\n\t\t\tactionsForClip.actionByRoot[rootUuid] = action;\n\t\t}\n\n\t\t_removeInactiveAction(action) {\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tlastInactiveAction = actions[actions.length - 1],\n\t\t\t\t\t\tcacheIndex = action._cacheIndex;\n\t\t\tlastInactiveAction._cacheIndex = cacheIndex;\n\t\t\tactions[cacheIndex] = lastInactiveAction;\n\t\t\tactions.pop();\n\t\t\taction._cacheIndex = null;\n\t\t\tconst clipUuid = action._clip.uuid,\n\t\t\t\t\t\tactionsByClip = this._actionsByClip,\n\t\t\t\t\t\tactionsForClip = actionsByClip[clipUuid],\n\t\t\t\t\t\tknownActionsForClip = actionsForClip.knownActions,\n\t\t\t\t\t\tlastKnownAction = knownActionsForClip[knownActionsForClip.length - 1],\n\t\t\t\t\t\tbyClipCacheIndex = action._byClipCacheIndex;\n\t\t\tlastKnownAction._byClipCacheIndex = byClipCacheIndex;\n\t\t\tknownActionsForClip[byClipCacheIndex] = lastKnownAction;\n\t\t\tknownActionsForClip.pop();\n\t\t\taction._byClipCacheIndex = null;\n\t\t\tconst actionByRoot = actionsForClip.actionByRoot,\n\t\t\t\t\t\trootUuid = (action._localRoot || this._root).uuid;\n\t\t\tdelete actionByRoot[rootUuid];\n\n\t\t\tif (knownActionsForClip.length === 0) {\n\t\t\t\tdelete actionsByClip[clipUuid];\n\t\t\t}\n\n\t\t\tthis._removeInactiveBindingsForAction(action);\n\t\t}\n\n\t\t_removeInactiveBindingsForAction(action) {\n\t\t\tconst bindings = action._propertyBindings;\n\n\t\t\tfor (let i = 0, n = bindings.length; i !== n; ++i) {\n\t\t\t\tconst binding = bindings[i];\n\n\t\t\t\tif (--binding.referenceCount === 0) {\n\t\t\t\t\tthis._removeInactiveBinding(binding);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t_lendAction(action) {\n\t\t\t// [ active actions |\tinactive actions\t]\n\t\t\t// [\tactive actions >| inactive actions ]\n\t\t\t//\t\t\t\t\t\t\t\t s\t\t\t\ta\n\t\t\t//\t\t\t\t\t\t\t\t\t<-swap->\n\t\t\t//\t\t\t\t\t\t\t\t a\t\t\t\ts\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tprevIndex = action._cacheIndex,\n\t\t\t\t\t\tlastActiveIndex = this._nActiveActions++,\n\t\t\t\t\t\tfirstInactiveAction = actions[lastActiveIndex];\n\t\t\taction._cacheIndex = lastActiveIndex;\n\t\t\tactions[lastActiveIndex] = action;\n\t\t\tfirstInactiveAction._cacheIndex = prevIndex;\n\t\t\tactions[prevIndex] = firstInactiveAction;\n\t\t}\n\n\t\t_takeBackAction(action) {\n\t\t\t// [\tactive actions\t| inactive actions ]\n\t\t\t// [ active actions |< inactive actions\t]\n\t\t\t//\t\t\t\ta\t\t\t\ts\n\t\t\t//\t\t\t\t <-swap->\n\t\t\t//\t\t\t\ts\t\t\t\ta\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tprevIndex = action._cacheIndex,\n\t\t\t\t\t\tfirstInactiveIndex = --this._nActiveActions,\n\t\t\t\t\t\tlastActiveAction = actions[firstInactiveIndex];\n\t\t\taction._cacheIndex = firstInactiveIndex;\n\t\t\tactions[firstInactiveIndex] = action;\n\t\t\tlastActiveAction._cacheIndex = prevIndex;\n\t\t\tactions[prevIndex] = lastActiveAction;\n\t\t} // Memory management for PropertyMixer objects\n\n\n\t\t_addInactiveBinding(binding, rootUuid, trackName) {\n\t\t\tconst bindingsByRoot = this._bindingsByRootAndName,\n\t\t\t\t\t\tbindings = this._bindings;\n\t\t\tlet bindingByName = bindingsByRoot[rootUuid];\n\n\t\t\tif (bindingByName === undefined) {\n\t\t\t\tbindingByName = {};\n\t\t\t\tbindingsByRoot[rootUuid] = bindingByName;\n\t\t\t}\n\n\t\t\tbindingByName[trackName] = binding;\n\t\t\tbinding._cacheIndex = bindings.length;\n\t\t\tbindings.push(binding);\n\t\t}\n\n\t\t_removeInactiveBinding(binding) {\n\t\t\tconst bindings = this._bindings,\n\t\t\t\t\t\tpropBinding = binding.binding,\n\t\t\t\t\t\trootUuid = propBinding.rootNode.uuid,\n\t\t\t\t\t\ttrackName = propBinding.path,\n\t\t\t\t\t\tbindingsByRoot = this._bindingsByRootAndName,\n\t\t\t\t\t\tbindingByName = bindingsByRoot[rootUuid],\n\t\t\t\t\t\tlastInactiveBinding = bindings[bindings.length - 1],\n\t\t\t\t\t\tcacheIndex = binding._cacheIndex;\n\t\t\tlastInactiveBinding._cacheIndex = cacheIndex;\n\t\t\tbindings[cacheIndex] = lastInactiveBinding;\n\t\t\tbindings.pop();\n\t\t\tdelete bindingByName[trackName];\n\n\t\t\tif (Object.keys(bindingByName).length === 0) {\n\t\t\t\tdelete bindingsByRoot[rootUuid];\n\t\t\t}\n\t\t}\n\n\t\t_lendBinding(binding) {\n\t\t\tconst bindings = this._bindings,\n\t\t\t\t\t\tprevIndex = binding._cacheIndex,\n\t\t\t\t\t\tlastActiveIndex = this._nActiveBindings++,\n\t\t\t\t\t\tfirstInactiveBinding = bindings[lastActiveIndex];\n\t\t\tbinding._cacheIndex = lastActiveIndex;\n\t\t\tbindings[lastActiveIndex] = binding;\n\t\t\tfirstInactiveBinding._cacheIndex = prevIndex;\n\t\t\tbindings[prevIndex] = firstInactiveBinding;\n\t\t}\n\n\t\t_takeBackBinding(binding) {\n\t\t\tconst bindings = this._bindings,\n\t\t\t\t\t\tprevIndex = binding._cacheIndex,\n\t\t\t\t\t\tfirstInactiveIndex = --this._nActiveBindings,\n\t\t\t\t\t\tlastActiveBinding = bindings[firstInactiveIndex];\n\t\t\tbinding._cacheIndex = firstInactiveIndex;\n\t\t\tbindings[firstInactiveIndex] = binding;\n\t\t\tlastActiveBinding._cacheIndex = prevIndex;\n\t\t\tbindings[prevIndex] = lastActiveBinding;\n\t\t} // Memory management of Interpolants for weight and time scale\n\n\n\t\t_lendControlInterpolant() {\n\t\t\tconst interpolants = this._controlInterpolants,\n\t\t\t\t\t\tlastActiveIndex = this._nActiveControlInterpolants++;\n\t\t\tlet interpolant = interpolants[lastActiveIndex];\n\n\t\t\tif (interpolant === undefined) {\n\t\t\t\tinterpolant = new LinearInterpolant(new Float32Array(2), new Float32Array(2), 1, _controlInterpolantsResultBuffer);\n\t\t\t\tinterpolant.__cacheIndex = lastActiveIndex;\n\t\t\t\tinterpolants[lastActiveIndex] = interpolant;\n\t\t\t}\n\n\t\t\treturn interpolant;\n\t\t}\n\n\t\t_takeBackControlInterpolant(interpolant) {\n\t\t\tconst interpolants = this._controlInterpolants,\n\t\t\t\t\t\tprevIndex = interpolant.__cacheIndex,\n\t\t\t\t\t\tfirstInactiveIndex = --this._nActiveControlInterpolants,\n\t\t\t\t\t\tlastActiveInterpolant = interpolants[firstInactiveIndex];\n\t\t\tinterpolant.__cacheIndex = firstInactiveIndex;\n\t\t\tinterpolants[firstInactiveIndex] = interpolant;\n\t\t\tlastActiveInterpolant.__cacheIndex = prevIndex;\n\t\t\tinterpolants[prevIndex] = lastActiveInterpolant;\n\t\t} // return an action for a clip optionally using a custom root target\n\t\t// object (this method allocates a lot of dynamic memory in case a\n\t\t// previously unknown clip/root combination is specified)\n\n\n\t\tclipAction(clip, optionalRoot, blendMode) {\n\t\t\tconst root = optionalRoot || this._root,\n\t\t\t\t\t\trootUuid = root.uuid;\n\t\t\tlet clipObject = typeof clip === 'string' ? AnimationClip.findByName(root, clip) : clip;\n\t\t\tconst clipUuid = clipObject !== null ? clipObject.uuid : clip;\n\t\t\tconst actionsForClip = this._actionsByClip[clipUuid];\n\t\t\tlet prototypeAction = null;\n\n\t\t\tif (blendMode === undefined) {\n\t\t\t\tif (clipObject !== null) {\n\t\t\t\t\tblendMode = clipObject.blendMode;\n\t\t\t\t} else {\n\t\t\t\t\tblendMode = NormalAnimationBlendMode;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (actionsForClip !== undefined) {\n\t\t\t\tconst existingAction = actionsForClip.actionByRoot[rootUuid];\n\n\t\t\t\tif (existingAction !== undefined && existingAction.blendMode === blendMode) {\n\t\t\t\t\treturn existingAction;\n\t\t\t\t} // we know the clip, so we don't have to parse all\n\t\t\t\t// the bindings again but can just copy\n\n\n\t\t\t\tprototypeAction = actionsForClip.knownActions[0]; // also, take the clip from the prototype action\n\n\t\t\t\tif (clipObject === null) clipObject = prototypeAction._clip;\n\t\t\t} // clip must be known when specified via string\n\n\n\t\t\tif (clipObject === null) return null; // allocate all resources required to run it\n\n\t\t\tconst newAction = new AnimationAction(this, clipObject, optionalRoot, blendMode);\n\n\t\t\tthis._bindAction(newAction, prototypeAction); // and make the action known to the memory manager\n\n\n\t\t\tthis._addInactiveAction(newAction, clipUuid, rootUuid);\n\n\t\t\treturn newAction;\n\t\t} // get an existing action\n\n\n\t\texistingAction(clip, optionalRoot) {\n\t\t\tconst root = optionalRoot || this._root,\n\t\t\t\t\t\trootUuid = root.uuid,\n\t\t\t\t\t\tclipObject = typeof clip === 'string' ? AnimationClip.findByName(root, clip) : clip,\n\t\t\t\t\t\tclipUuid = clipObject ? clipObject.uuid : clip,\n\t\t\t\t\t\tactionsForClip = this._actionsByClip[clipUuid];\n\n\t\t\tif (actionsForClip !== undefined) {\n\t\t\t\treturn actionsForClip.actionByRoot[rootUuid] || null;\n\t\t\t}\n\n\t\t\treturn null;\n\t\t} // deactivates all previously scheduled actions\n\n\n\t\tstopAllAction() {\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tnActions = this._nActiveActions;\n\n\t\t\tfor (let i = nActions - 1; i >= 0; --i) {\n\t\t\t\tactions[i].stop();\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // advance the time and update apply the animation\n\n\n\t\tupdate(deltaTime) {\n\t\t\tdeltaTime *= this.timeScale;\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tnActions = this._nActiveActions,\n\t\t\t\t\t\ttime = this.time += deltaTime,\n\t\t\t\t\t\ttimeDirection = Math.sign(deltaTime),\n\t\t\t\t\t\taccuIndex = this._accuIndex ^= 1; // run active actions\n\n\t\t\tfor (let i = 0; i !== nActions; ++i) {\n\t\t\t\tconst action = actions[i];\n\n\t\t\t\taction._update(time, deltaTime, timeDirection, accuIndex);\n\t\t\t} // update scene graph\n\n\n\t\t\tconst bindings = this._bindings,\n\t\t\t\t\t\tnBindings = this._nActiveBindings;\n\n\t\t\tfor (let i = 0; i !== nBindings; ++i) {\n\t\t\t\tbindings[i].apply(accuIndex);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t} // Allows you to seek to a specific time in an animation.\n\n\n\t\tsetTime(timeInSeconds) {\n\t\t\tthis.time = 0; // Zero out time attribute for AnimationMixer object;\n\n\t\t\tfor (let i = 0; i < this._actions.length; i++) {\n\t\t\t\tthis._actions[i].time = 0; // Zero out time attribute for all associated AnimationAction objects.\n\t\t\t}\n\n\t\t\treturn this.update(timeInSeconds); // Update used to set exact time. Returns \"this\" AnimationMixer object.\n\t\t} // return this mixer's root target object\n\n\n\t\tgetRoot() {\n\t\t\treturn this._root;\n\t\t} // free all resources specific to a particular clip\n\n\n\t\tuncacheClip(clip) {\n\t\t\tconst actions = this._actions,\n\t\t\t\t\t\tclipUuid = clip.uuid,\n\t\t\t\t\t\tactionsByClip = this._actionsByClip,\n\t\t\t\t\t\tactionsForClip = actionsByClip[clipUuid];\n\n\t\t\tif (actionsForClip !== undefined) {\n\t\t\t\t// note: just calling _removeInactiveAction would mess up the\n\t\t\t\t// iteration state and also require updating the state we can\n\t\t\t\t// just throw away\n\t\t\t\tconst actionsToRemove = actionsForClip.knownActions;\n\n\t\t\t\tfor (let i = 0, n = actionsToRemove.length; i !== n; ++i) {\n\t\t\t\t\tconst action = actionsToRemove[i];\n\n\t\t\t\t\tthis._deactivateAction(action);\n\n\t\t\t\t\tconst cacheIndex = action._cacheIndex,\n\t\t\t\t\t\t\t\tlastInactiveAction = actions[actions.length - 1];\n\t\t\t\t\taction._cacheIndex = null;\n\t\t\t\t\taction._byClipCacheIndex = null;\n\t\t\t\t\tlastInactiveAction._cacheIndex = cacheIndex;\n\t\t\t\t\tactions[cacheIndex] = lastInactiveAction;\n\t\t\t\t\tactions.pop();\n\n\t\t\t\t\tthis._removeInactiveBindingsForAction(action);\n\t\t\t\t}\n\n\t\t\t\tdelete actionsByClip[clipUuid];\n\t\t\t}\n\t\t} // free all resources specific to a particular root target object\n\n\n\t\tuncacheRoot(root) {\n\t\t\tconst rootUuid = root.uuid,\n\t\t\t\t\t\tactionsByClip = this._actionsByClip;\n\n\t\t\tfor (const clipUuid in actionsByClip) {\n\t\t\t\tconst actionByRoot = actionsByClip[clipUuid].actionByRoot,\n\t\t\t\t\t\t\taction = actionByRoot[rootUuid];\n\n\t\t\t\tif (action !== undefined) {\n\t\t\t\t\tthis._deactivateAction(action);\n\n\t\t\t\t\tthis._removeInactiveAction(action);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst bindingsByRoot = this._bindingsByRootAndName,\n\t\t\t\t\t\tbindingByName = bindingsByRoot[rootUuid];\n\n\t\t\tif (bindingByName !== undefined) {\n\t\t\t\tfor (const trackName in bindingByName) {\n\t\t\t\t\tconst binding = bindingByName[trackName];\n\t\t\t\t\tbinding.restoreOriginalState();\n\n\t\t\t\t\tthis._removeInactiveBinding(binding);\n\t\t\t\t}\n\t\t\t}\n\t\t} // remove a targeted clip from the cache\n\n\n\t\tuncacheAction(clip, optionalRoot) {\n\t\t\tconst action = this.existingAction(clip, optionalRoot);\n\n\t\t\tif (action !== null) {\n\t\t\t\tthis._deactivateAction(action);\n\n\t\t\t\tthis._removeInactiveAction(action);\n\t\t\t}\n\t\t}\n\n\t}\n\n\tclass Uniform {\n\t\tconstructor(value) {\n\t\t\tif (typeof value === 'string') {\n\t\t\t\tconsole.warn('THREE.Uniform: Type parameter is no longer needed.');\n\t\t\t\tvalue = arguments[1];\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new Uniform(this.value.clone === undefined ? this.value : this.value.clone());\n\t\t}\n\n\t}\n\n\tclass InstancedInterleavedBuffer extends InterleavedBuffer {\n\t\tconstructor(array, stride, meshPerAttribute = 1) {\n\t\t\tsuper(array, stride);\n\t\t\tthis.isInstancedInterleavedBuffer = true;\n\t\t\tthis.meshPerAttribute = meshPerAttribute;\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source);\n\t\t\tthis.meshPerAttribute = source.meshPerAttribute;\n\t\t\treturn this;\n\t\t}\n\n\t\tclone(data) {\n\t\t\tconst ib = super.clone(data);\n\t\t\tib.meshPerAttribute = this.meshPerAttribute;\n\t\t\treturn ib;\n\t\t}\n\n\t\ttoJSON(data) {\n\t\t\tconst json = super.toJSON(data);\n\t\t\tjson.isInstancedInterleavedBuffer = true;\n\t\t\tjson.meshPerAttribute = this.meshPerAttribute;\n\t\t\treturn json;\n\t\t}\n\n\t}\n\n\tclass GLBufferAttribute {\n\t\tconstructor(buffer, type, itemSize, elementSize, count) {\n\t\t\tthis.isGLBufferAttribute = true;\n\t\t\tthis.buffer = buffer;\n\t\t\tthis.type = type;\n\t\t\tthis.itemSize = itemSize;\n\t\t\tthis.elementSize = elementSize;\n\t\t\tthis.count = count;\n\t\t\tthis.version = 0;\n\t\t}\n\n\t\tset needsUpdate(value) {\n\t\t\tif (value === true) this.version++;\n\t\t}\n\n\t\tsetBuffer(buffer) {\n\t\t\tthis.buffer = buffer;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetType(type, elementSize) {\n\t\t\tthis.type = type;\n\t\t\tthis.elementSize = elementSize;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetItemSize(itemSize) {\n\t\t\tthis.itemSize = itemSize;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetCount(count) {\n\t\t\tthis.count = count;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass Raycaster {\n\t\tconstructor(origin, direction, near = 0, far = Infinity) {\n\t\t\tthis.ray = new Ray(origin, direction); // direction is assumed to be normalized (for accurate distance calculations)\n\n\t\t\tthis.near = near;\n\t\t\tthis.far = far;\n\t\t\tthis.camera = null;\n\t\t\tthis.layers = new Layers();\n\t\t\tthis.params = {\n\t\t\t\tMesh: {},\n\t\t\t\tLine: {\n\t\t\t\t\tthreshold: 1\n\t\t\t\t},\n\t\t\t\tLOD: {},\n\t\t\t\tPoints: {\n\t\t\t\t\tthreshold: 1\n\t\t\t\t},\n\t\t\t\tSprite: {}\n\t\t\t};\n\t\t}\n\n\t\tset(origin, direction) {\n\t\t\t// direction is assumed to be normalized (for accurate distance calculations)\n\t\t\tthis.ray.set(origin, direction);\n\t\t}\n\n\t\tsetFromCamera(coords, camera) {\n\t\t\tif (camera.isPerspectiveCamera) {\n\t\t\t\tthis.ray.origin.setFromMatrixPosition(camera.matrixWorld);\n\t\t\t\tthis.ray.direction.set(coords.x, coords.y, 0.5).unproject(camera).sub(this.ray.origin).normalize();\n\t\t\t\tthis.camera = camera;\n\t\t\t} else if (camera.isOrthographicCamera) {\n\t\t\t\tthis.ray.origin.set(coords.x, coords.y, (camera.near + camera.far) / (camera.near - camera.far)).unproject(camera); // set origin in plane of camera\n\n\t\t\t\tthis.ray.direction.set(0, 0, -1).transformDirection(camera.matrixWorld);\n\t\t\t\tthis.camera = camera;\n\t\t\t} else {\n\t\t\t\tconsole.error('THREE.Raycaster: Unsupported camera type: ' + camera.type);\n\t\t\t}\n\t\t}\n\n\t\tintersectObject(object, recursive = true, intersects = []) {\n\t\t\tintersectObject(object, this, intersects, recursive);\n\t\t\tintersects.sort(ascSort);\n\t\t\treturn intersects;\n\t\t}\n\n\t\tintersectObjects(objects, recursive = true, intersects = []) {\n\t\t\tfor (let i = 0, l = objects.length; i < l; i++) {\n\t\t\t\tintersectObject(objects[i], this, intersects, recursive);\n\t\t\t}\n\n\t\t\tintersects.sort(ascSort);\n\t\t\treturn intersects;\n\t\t}\n\n\t}\n\n\tfunction ascSort(a, b) {\n\t\treturn a.distance - b.distance;\n\t}\n\n\tfunction intersectObject(object, raycaster, intersects, recursive) {\n\t\tif (object.layers.test(raycaster.layers)) {\n\t\t\tobject.raycast(raycaster, intersects);\n\t\t}\n\n\t\tif (recursive === true) {\n\t\t\tconst children = object.children;\n\n\t\t\tfor (let i = 0, l = children.length; i < l; i++) {\n\t\t\t\tintersectObject(children[i], raycaster, intersects, true);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Ref: https://en.wikipedia.org/wiki/Spherical_coordinate_system\n\t *\n\t * The polar angle (phi) is measured from the positive y-axis. The positive y-axis is up.\n\t * The azimuthal angle (theta) is measured from the positive z-axis.\n\t */\n\n\tclass Spherical {\n\t\tconstructor(radius = 1, phi = 0, theta = 0) {\n\t\t\tthis.radius = radius;\n\t\t\tthis.phi = phi; // polar angle\n\n\t\t\tthis.theta = theta; // azimuthal angle\n\n\t\t\treturn this;\n\t\t}\n\n\t\tset(radius, phi, theta) {\n\t\t\tthis.radius = radius;\n\t\t\tthis.phi = phi;\n\t\t\tthis.theta = theta;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(other) {\n\t\t\tthis.radius = other.radius;\n\t\t\tthis.phi = other.phi;\n\t\t\tthis.theta = other.theta;\n\t\t\treturn this;\n\t\t} // restrict phi to be between EPS and PI-EPS\n\n\n\t\tmakeSafe() {\n\t\t\tconst EPS = 0.000001;\n\t\t\tthis.phi = Math.max(EPS, Math.min(Math.PI - EPS, this.phi));\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromVector3(v) {\n\t\t\treturn this.setFromCartesianCoords(v.x, v.y, v.z);\n\t\t}\n\n\t\tsetFromCartesianCoords(x, y, z) {\n\t\t\tthis.radius = Math.sqrt(x * x + y * y + z * z);\n\n\t\t\tif (this.radius === 0) {\n\t\t\t\tthis.theta = 0;\n\t\t\t\tthis.phi = 0;\n\t\t\t} else {\n\t\t\t\tthis.theta = Math.atan2(x, z);\n\t\t\t\tthis.phi = Math.acos(clamp(y / this.radius, -1, 1));\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\t/**\n\t * Ref: https://en.wikipedia.org/wiki/Cylindrical_coordinate_system\n\t */\n\tclass Cylindrical {\n\t\tconstructor(radius = 1, theta = 0, y = 0) {\n\t\t\tthis.radius = radius; // distance from the origin to a point in the x-z plane\n\n\t\t\tthis.theta = theta; // counterclockwise angle in the x-z plane measured in radians from the positive z-axis\n\n\t\t\tthis.y = y; // height above the x-z plane\n\n\t\t\treturn this;\n\t\t}\n\n\t\tset(radius, theta, y) {\n\t\t\tthis.radius = radius;\n\t\t\tthis.theta = theta;\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(other) {\n\t\t\tthis.radius = other.radius;\n\t\t\tthis.theta = other.theta;\n\t\t\tthis.y = other.y;\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromVector3(v) {\n\t\t\treturn this.setFromCartesianCoords(v.x, v.y, v.z);\n\t\t}\n\n\t\tsetFromCartesianCoords(x, y, z) {\n\t\t\tthis.radius = Math.sqrt(x * x + z * z);\n\t\t\tthis.theta = Math.atan2(x, z);\n\t\t\tthis.y = y;\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tconst _vector$4 = /*@__PURE__*/new Vector2();\n\n\tclass Box2 {\n\t\tconstructor(min = new Vector2(+Infinity, +Infinity), max = new Vector2(-Infinity, -Infinity)) {\n\t\t\tthis.isBox2 = true;\n\t\t\tthis.min = min;\n\t\t\tthis.max = max;\n\t\t}\n\n\t\tset(min, max) {\n\t\t\tthis.min.copy(min);\n\t\t\tthis.max.copy(max);\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromPoints(points) {\n\t\t\tthis.makeEmpty();\n\n\t\t\tfor (let i = 0, il = points.length; i < il; i++) {\n\t\t\t\tthis.expandByPoint(points[i]);\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\n\t\tsetFromCenterAndSize(center, size) {\n\t\t\tconst halfSize = _vector$4.copy(size).multiplyScalar(0.5);\n\n\t\t\tthis.min.copy(center).sub(halfSize);\n\t\t\tthis.max.copy(center).add(halfSize);\n\t\t\treturn this;\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t\tcopy(box) {\n\t\t\tthis.min.copy(box.min);\n\t\t\tthis.max.copy(box.max);\n\t\t\treturn this;\n\t\t}\n\n\t\tmakeEmpty() {\n\t\t\tthis.min.x = this.min.y = +Infinity;\n\t\t\tthis.max.x = this.max.y = -Infinity;\n\t\t\treturn this;\n\t\t}\n\n\t\tisEmpty() {\n\t\t\t// this is a more robust check for empty than ( volume <= 0 ) because volume can get positive with two negative axes\n\t\t\treturn this.max.x < this.min.x || this.max.y < this.min.y;\n\t\t}\n\n\t\tgetCenter(target) {\n\t\t\treturn this.isEmpty() ? target.set(0, 0) : target.addVectors(this.min, this.max).multiplyScalar(0.5);\n\t\t}\n\n\t\tgetSize(target) {\n\t\t\treturn this.isEmpty() ? target.set(0, 0) : target.subVectors(this.max, this.min);\n\t\t}\n\n\t\texpandByPoint(point) {\n\t\t\tthis.min.min(point);\n\t\t\tthis.max.max(point);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByVector(vector) {\n\t\t\tthis.min.sub(vector);\n\t\t\tthis.max.add(vector);\n\t\t\treturn this;\n\t\t}\n\n\t\texpandByScalar(scalar) {\n\t\t\tthis.min.addScalar(-scalar);\n\t\t\tthis.max.addScalar(scalar);\n\t\t\treturn this;\n\t\t}\n\n\t\tcontainsPoint(point) {\n\t\t\treturn point.x < this.min.x || point.x > this.max.x || point.y < this.min.y || point.y > this.max.y ? false : true;\n\t\t}\n\n\t\tcontainsBox(box) {\n\t\t\treturn this.min.x <= box.min.x && box.max.x <= this.max.x && this.min.y <= box.min.y && box.max.y <= this.max.y;\n\t\t}\n\n\t\tgetParameter(point, target) {\n\t\t\t// This can potentially have a divide by zero if the box\n\t\t\t// has a size dimension of 0.\n\t\t\treturn target.set((point.x - this.min.x) / (this.max.x - this.min.x), (point.y - this.min.y) / (this.max.y - this.min.y));\n\t\t}\n\n\t\tintersectsBox(box) {\n\t\t\t// using 4 splitting planes to rule out intersections\n\t\t\treturn box.max.x < this.min.x || box.min.x > this.max.x || box.max.y < this.min.y || box.min.y > this.max.y ? false : true;\n\t\t}\n\n\t\tclampPoint(point, target) {\n\t\t\treturn target.copy(point).clamp(this.min, this.max);\n\t\t}\n\n\t\tdistanceToPoint(point) {\n\t\t\tconst clampedPoint = _vector$4.copy(point).clamp(this.min, this.max);\n\n\t\t\treturn clampedPoint.sub(point).length();\n\t\t}\n\n\t\tintersect(box) {\n\t\t\tthis.min.max(box.min);\n\t\t\tthis.max.min(box.max);\n\t\t\treturn this;\n\t\t}\n\n\t\tunion(box) {\n\t\t\tthis.min.min(box.min);\n\t\t\tthis.max.max(box.max);\n\t\t\treturn this;\n\t\t}\n\n\t\ttranslate(offset) {\n\t\t\tthis.min.add(offset);\n\t\t\tthis.max.add(offset);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(box) {\n\t\t\treturn box.min.equals(this.min) && box.max.equals(this.max);\n\t\t}\n\n\t}\n\n\tconst _startP = /*@__PURE__*/new Vector3();\n\n\tconst _startEnd = /*@__PURE__*/new Vector3();\n\n\tclass Line3 {\n\t\tconstructor(start = new Vector3(), end = new Vector3()) {\n\t\t\tthis.start = start;\n\t\t\tthis.end = end;\n\t\t}\n\n\t\tset(start, end) {\n\t\t\tthis.start.copy(start);\n\t\t\tthis.end.copy(end);\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(line) {\n\t\t\tthis.start.copy(line.start);\n\t\t\tthis.end.copy(line.end);\n\t\t\treturn this;\n\t\t}\n\n\t\tgetCenter(target) {\n\t\t\treturn target.addVectors(this.start, this.end).multiplyScalar(0.5);\n\t\t}\n\n\t\tdelta(target) {\n\t\t\treturn target.subVectors(this.end, this.start);\n\t\t}\n\n\t\tdistanceSq() {\n\t\t\treturn this.start.distanceToSquared(this.end);\n\t\t}\n\n\t\tdistance() {\n\t\t\treturn this.start.distanceTo(this.end);\n\t\t}\n\n\t\tat(t, target) {\n\t\t\treturn this.delta(target).multiplyScalar(t).add(this.start);\n\t\t}\n\n\t\tclosestPointToPointParameter(point, clampToLine) {\n\t\t\t_startP.subVectors(point, this.start);\n\n\t\t\t_startEnd.subVectors(this.end, this.start);\n\n\t\t\tconst startEnd2 = _startEnd.dot(_startEnd);\n\n\t\t\tconst startEnd_startP = _startEnd.dot(_startP);\n\n\t\t\tlet t = startEnd_startP / startEnd2;\n\n\t\t\tif (clampToLine) {\n\t\t\t\tt = clamp(t, 0, 1);\n\t\t\t}\n\n\t\t\treturn t;\n\t\t}\n\n\t\tclosestPointToPoint(point, clampToLine, target) {\n\t\t\tconst t = this.closestPointToPointParameter(point, clampToLine);\n\t\t\treturn this.delta(target).multiplyScalar(t).add(this.start);\n\t\t}\n\n\t\tapplyMatrix4(matrix) {\n\t\t\tthis.start.applyMatrix4(matrix);\n\t\t\tthis.end.applyMatrix4(matrix);\n\t\t\treturn this;\n\t\t}\n\n\t\tequals(line) {\n\t\t\treturn line.start.equals(this.start) && line.end.equals(this.end);\n\t\t}\n\n\t\tclone() {\n\t\t\treturn new this.constructor().copy(this);\n\t\t}\n\n\t}\n\n\tconst _vector$3 = /*@__PURE__*/new Vector3();\n\n\tclass SpotLightHelper extends Object3D {\n\t\tconstructor(light, color) {\n\t\t\tsuper();\n\t\t\tthis.light = light;\n\t\t\tthis.light.updateMatrixWorld();\n\t\t\tthis.matrix = light.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.color = color;\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tconst positions = [0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, -1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, -1, 1];\n\n\t\t\tfor (let i = 0, j = 1, l = 32; i < l; i++, j++) {\n\t\t\t\tconst p1 = i / l * Math.PI * 2;\n\t\t\t\tconst p2 = j / l * Math.PI * 2;\n\t\t\t\tpositions.push(Math.cos(p1), Math.sin(p1), 1, Math.cos(p2), Math.sin(p2), 1);\n\t\t\t}\n\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(positions, 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tfog: false,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tthis.cone = new LineSegments(geometry, material);\n\t\t\tthis.add(this.cone);\n\t\t\tthis.update();\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.cone.geometry.dispose();\n\t\t\tthis.cone.material.dispose();\n\t\t}\n\n\t\tupdate() {\n\t\t\tthis.light.updateMatrixWorld();\n\t\t\tconst coneLength = this.light.distance ? this.light.distance : 1000;\n\t\t\tconst coneWidth = coneLength * Math.tan(this.light.angle);\n\t\t\tthis.cone.scale.set(coneWidth, coneWidth, coneLength);\n\n\t\t\t_vector$3.setFromMatrixPosition(this.light.target.matrixWorld);\n\n\t\t\tthis.cone.lookAt(_vector$3);\n\n\t\t\tif (this.color !== undefined) {\n\t\t\t\tthis.cone.material.color.set(this.color);\n\t\t\t} else {\n\t\t\t\tthis.cone.material.color.copy(this.light.color);\n\t\t\t}\n\t\t}\n\n\t}\n\n\tconst _vector$2 = /*@__PURE__*/new Vector3();\n\n\tconst _boneMatrix = /*@__PURE__*/new Matrix4();\n\n\tconst _matrixWorldInv = /*@__PURE__*/new Matrix4();\n\n\tclass SkeletonHelper extends LineSegments {\n\t\tconstructor(object) {\n\t\t\tconst bones = getBoneList(object);\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tconst vertices = [];\n\t\t\tconst colors = [];\n\t\t\tconst color1 = new Color(0, 0, 1);\n\t\t\tconst color2 = new Color(0, 1, 0);\n\n\t\t\tfor (let i = 0; i < bones.length; i++) {\n\t\t\t\tconst bone = bones[i];\n\n\t\t\t\tif (bone.parent && bone.parent.isBone) {\n\t\t\t\t\tvertices.push(0, 0, 0);\n\t\t\t\t\tvertices.push(0, 0, 0);\n\t\t\t\t\tcolors.push(color1.r, color1.g, color1.b);\n\t\t\t\t\tcolors.push(color2.r, color2.g, color2.b);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tgeometry.setAttribute('color', new Float32BufferAttribute(colors, 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tvertexColors: true,\n\t\t\t\tdepthTest: false,\n\t\t\t\tdepthWrite: false,\n\t\t\t\ttoneMapped: false,\n\t\t\t\ttransparent: true\n\t\t\t});\n\t\t\tsuper(geometry, material);\n\t\t\tthis.isSkeletonHelper = true;\n\t\t\tthis.type = 'SkeletonHelper';\n\t\t\tthis.root = object;\n\t\t\tthis.bones = bones;\n\t\t\tthis.matrix = object.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tconst bones = this.bones;\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst position = geometry.getAttribute('position');\n\n\t\t\t_matrixWorldInv.copy(this.root.matrixWorld).invert();\n\n\t\t\tfor (let i = 0, j = 0; i < bones.length; i++) {\n\t\t\t\tconst bone = bones[i];\n\n\t\t\t\tif (bone.parent && bone.parent.isBone) {\n\t\t\t\t\t_boneMatrix.multiplyMatrices(_matrixWorldInv, bone.matrixWorld);\n\n\t\t\t\t\t_vector$2.setFromMatrixPosition(_boneMatrix);\n\n\t\t\t\t\tposition.setXYZ(j, _vector$2.x, _vector$2.y, _vector$2.z);\n\n\t\t\t\t\t_boneMatrix.multiplyMatrices(_matrixWorldInv, bone.parent.matrixWorld);\n\n\t\t\t\t\t_vector$2.setFromMatrixPosition(_boneMatrix);\n\n\t\t\t\t\tposition.setXYZ(j + 1, _vector$2.x, _vector$2.y, _vector$2.z);\n\t\t\t\t\tj += 2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tgeometry.getAttribute('position').needsUpdate = true;\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t}\n\n\t}\n\n\tfunction getBoneList(object) {\n\t\tconst boneList = [];\n\n\t\tif (object.isBone === true) {\n\t\t\tboneList.push(object);\n\t\t}\n\n\t\tfor (let i = 0; i < object.children.length; i++) {\n\t\t\tboneList.push.apply(boneList, getBoneList(object.children[i]));\n\t\t}\n\n\t\treturn boneList;\n\t}\n\n\tclass PointLightHelper extends Mesh {\n\t\tconstructor(light, sphereSize, color) {\n\t\t\tconst geometry = new SphereGeometry(sphereSize, 4, 2);\n\t\t\tconst material = new MeshBasicMaterial({\n\t\t\t\twireframe: true,\n\t\t\t\tfog: false,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tsuper(geometry, material);\n\t\t\tthis.light = light;\n\t\t\tthis.light.updateMatrixWorld();\n\t\t\tthis.color = color;\n\t\t\tthis.type = 'PointLightHelper';\n\t\t\tthis.matrix = this.light.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.update();\n\t\t\t/*\n\t\t\t// TODO: delete this comment?\n\t\t\tconst distanceGeometry = new THREE.IcosahedronGeometry( 1, 2 );\n\t\t\tconst distanceMaterial = new THREE.MeshBasicMaterial( { color: hexColor, fog: false, wireframe: true, opacity: 0.1, transparent: true } );\n\t\t\tthis.lightSphere = new THREE.Mesh( bulbGeometry, bulbMaterial );\n\t\t\tthis.lightDistance = new THREE.Mesh( distanceGeometry, distanceMaterial );\n\t\t\tconst d = light.distance;\n\t\t\tif ( d === 0.0 ) {\n\t\t\t\tthis.lightDistance.visible = false;\n\t\t\t} else {\n\t\t\t\tthis.lightDistance.scale.set( d, d, d );\n\t\t\t}\n\t\t\tthis.add( this.lightDistance );\n\t\t\t*/\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.geometry.dispose();\n\t\t\tthis.material.dispose();\n\t\t}\n\n\t\tupdate() {\n\t\t\tif (this.color !== undefined) {\n\t\t\t\tthis.material.color.set(this.color);\n\t\t\t} else {\n\t\t\t\tthis.material.color.copy(this.light.color);\n\t\t\t}\n\t\t\t/*\n\t\t\tconst d = this.light.distance;\n\t\t\t\tif ( d === 0.0 ) {\n\t\t\t\t\tthis.lightDistance.visible = false;\n\t\t\t\t} else {\n\t\t\t\t\tthis.lightDistance.visible = true;\n\t\t\t\tthis.lightDistance.scale.set( d, d, d );\n\t\t\t\t}\n\t\t\t*/\n\n\t\t}\n\n\t}\n\n\tconst _vector$1 = /*@__PURE__*/new Vector3();\n\n\tconst _color1 = /*@__PURE__*/new Color();\n\n\tconst _color2 = /*@__PURE__*/new Color();\n\n\tclass HemisphereLightHelper extends Object3D {\n\t\tconstructor(light, size, color) {\n\t\t\tsuper();\n\t\t\tthis.light = light;\n\t\t\tthis.light.updateMatrixWorld();\n\t\t\tthis.matrix = light.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.color = color;\n\t\t\tconst geometry = new OctahedronGeometry(size);\n\t\t\tgeometry.rotateY(Math.PI * 0.5);\n\t\t\tthis.material = new MeshBasicMaterial({\n\t\t\t\twireframe: true,\n\t\t\t\tfog: false,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tif (this.color === undefined) this.material.vertexColors = true;\n\t\t\tconst position = geometry.getAttribute('position');\n\t\t\tconst colors = new Float32Array(position.count * 3);\n\t\t\tgeometry.setAttribute('color', new BufferAttribute(colors, 3));\n\t\t\tthis.add(new Mesh(geometry, this.material));\n\t\t\tthis.update();\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.children[0].geometry.dispose();\n\t\t\tthis.children[0].material.dispose();\n\t\t}\n\n\t\tupdate() {\n\t\t\tconst mesh = this.children[0];\n\n\t\t\tif (this.color !== undefined) {\n\t\t\t\tthis.material.color.set(this.color);\n\t\t\t} else {\n\t\t\t\tconst colors = mesh.geometry.getAttribute('color');\n\n\t\t\t\t_color1.copy(this.light.color);\n\n\t\t\t\t_color2.copy(this.light.groundColor);\n\n\t\t\t\tfor (let i = 0, l = colors.count; i < l; i++) {\n\t\t\t\t\tconst color = i < l / 2 ? _color1 : _color2;\n\t\t\t\t\tcolors.setXYZ(i, color.r, color.g, color.b);\n\t\t\t\t}\n\n\t\t\t\tcolors.needsUpdate = true;\n\t\t\t}\n\n\t\t\tmesh.lookAt(_vector$1.setFromMatrixPosition(this.light.matrixWorld).negate());\n\t\t}\n\n\t}\n\n\tclass GridHelper extends LineSegments {\n\t\tconstructor(size = 10, divisions = 10, color1 = 0x444444, color2 = 0x888888) {\n\t\t\tcolor1 = new Color(color1);\n\t\t\tcolor2 = new Color(color2);\n\t\t\tconst center = divisions / 2;\n\t\t\tconst step = size / divisions;\n\t\t\tconst halfSize = size / 2;\n\t\t\tconst vertices = [],\n\t\t\t\t\t\tcolors = [];\n\n\t\t\tfor (let i = 0, j = 0, k = -halfSize; i <= divisions; i++, k += step) {\n\t\t\t\tvertices.push(-halfSize, 0, k, halfSize, 0, k);\n\t\t\t\tvertices.push(k, 0, -halfSize, k, 0, halfSize);\n\t\t\t\tconst color = i === center ? color1 : color2;\n\t\t\t\tcolor.toArray(colors, j);\n\t\t\t\tj += 3;\n\t\t\t\tcolor.toArray(colors, j);\n\t\t\t\tj += 3;\n\t\t\t\tcolor.toArray(colors, j);\n\t\t\t\tj += 3;\n\t\t\t\tcolor.toArray(colors, j);\n\t\t\t\tj += 3;\n\t\t\t}\n\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tgeometry.setAttribute('color', new Float32BufferAttribute(colors, 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tvertexColors: true,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tsuper(geometry, material);\n\t\t\tthis.type = 'GridHelper';\n\t\t}\n\n\t}\n\n\tclass PolarGridHelper extends LineSegments {\n\t\tconstructor(radius = 10, radials = 16, circles = 8, divisions = 64, color1 = 0x444444, color2 = 0x888888) {\n\t\t\tcolor1 = new Color(color1);\n\t\t\tcolor2 = new Color(color2);\n\t\t\tconst vertices = [];\n\t\t\tconst colors = []; // create the radials\n\n\t\t\tfor (let i = 0; i <= radials; i++) {\n\t\t\t\tconst v = i / radials * (Math.PI * 2);\n\t\t\t\tconst x = Math.sin(v) * radius;\n\t\t\t\tconst z = Math.cos(v) * radius;\n\t\t\t\tvertices.push(0, 0, 0);\n\t\t\t\tvertices.push(x, 0, z);\n\t\t\t\tconst color = i & 1 ? color1 : color2;\n\t\t\t\tcolors.push(color.r, color.g, color.b);\n\t\t\t\tcolors.push(color.r, color.g, color.b);\n\t\t\t} // create the circles\n\n\n\t\t\tfor (let i = 0; i <= circles; i++) {\n\t\t\t\tconst color = i & 1 ? color1 : color2;\n\t\t\t\tconst r = radius - radius / circles * i;\n\n\t\t\t\tfor (let j = 0; j < divisions; j++) {\n\t\t\t\t\t// first vertex\n\t\t\t\t\tlet v = j / divisions * (Math.PI * 2);\n\t\t\t\t\tlet x = Math.sin(v) * r;\n\t\t\t\t\tlet z = Math.cos(v) * r;\n\t\t\t\t\tvertices.push(x, 0, z);\n\t\t\t\t\tcolors.push(color.r, color.g, color.b); // second vertex\n\n\t\t\t\t\tv = (j + 1) / divisions * (Math.PI * 2);\n\t\t\t\t\tx = Math.sin(v) * r;\n\t\t\t\t\tz = Math.cos(v) * r;\n\t\t\t\t\tvertices.push(x, 0, z);\n\t\t\t\t\tcolors.push(color.r, color.g, color.b);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tgeometry.setAttribute('color', new Float32BufferAttribute(colors, 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tvertexColors: true,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tsuper(geometry, material);\n\t\t\tthis.type = 'PolarGridHelper';\n\t\t}\n\n\t}\n\n\tconst _v1 = /*@__PURE__*/new Vector3();\n\n\tconst _v2 = /*@__PURE__*/new Vector3();\n\n\tconst _v3 = /*@__PURE__*/new Vector3();\n\n\tclass DirectionalLightHelper extends Object3D {\n\t\tconstructor(light, size, color) {\n\t\t\tsuper();\n\t\t\tthis.light = light;\n\t\t\tthis.light.updateMatrixWorld();\n\t\t\tthis.matrix = light.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.color = color;\n\t\t\tif (size === undefined) size = 1;\n\t\t\tlet geometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute([-size, size, 0, size, size, 0, size, -size, 0, -size, -size, 0, -size, size, 0], 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tfog: false,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tthis.lightPlane = new Line(geometry, material);\n\t\t\tthis.add(this.lightPlane);\n\t\t\tgeometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute([0, 0, 0, 0, 0, 1], 3));\n\t\t\tthis.targetLine = new Line(geometry, material);\n\t\t\tthis.add(this.targetLine);\n\t\t\tthis.update();\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.lightPlane.geometry.dispose();\n\t\t\tthis.lightPlane.material.dispose();\n\t\t\tthis.targetLine.geometry.dispose();\n\t\t\tthis.targetLine.material.dispose();\n\t\t}\n\n\t\tupdate() {\n\t\t\t_v1.setFromMatrixPosition(this.light.matrixWorld);\n\n\t\t\t_v2.setFromMatrixPosition(this.light.target.matrixWorld);\n\n\t\t\t_v3.subVectors(_v2, _v1);\n\n\t\t\tthis.lightPlane.lookAt(_v2);\n\n\t\t\tif (this.color !== undefined) {\n\t\t\t\tthis.lightPlane.material.color.set(this.color);\n\t\t\t\tthis.targetLine.material.color.set(this.color);\n\t\t\t} else {\n\t\t\t\tthis.lightPlane.material.color.copy(this.light.color);\n\t\t\t\tthis.targetLine.material.color.copy(this.light.color);\n\t\t\t}\n\n\t\t\tthis.targetLine.lookAt(_v2);\n\t\t\tthis.targetLine.scale.z = _v3.length();\n\t\t}\n\n\t}\n\n\tconst _vector = /*@__PURE__*/new Vector3();\n\n\tconst _camera = /*@__PURE__*/new Camera();\n\t/**\n\t *\t- shows frustum, line of sight and up of the camera\n\t *\t- suitable for fast updates\n\t * \t- based on frustum visualization in lightgl.js shadowmap example\n\t *\t\thttps://github.com/evanw/lightgl.js/blob/master/tests/shadowmap.html\n\t */\n\n\n\tclass CameraHelper extends LineSegments {\n\t\tconstructor(camera) {\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tcolor: 0xffffff,\n\t\t\t\tvertexColors: true,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tconst vertices = [];\n\t\t\tconst colors = [];\n\t\t\tconst pointMap = {}; // near\n\n\t\t\taddLine('n1', 'n2');\n\t\t\taddLine('n2', 'n4');\n\t\t\taddLine('n4', 'n3');\n\t\t\taddLine('n3', 'n1'); // far\n\n\t\t\taddLine('f1', 'f2');\n\t\t\taddLine('f2', 'f4');\n\t\t\taddLine('f4', 'f3');\n\t\t\taddLine('f3', 'f1'); // sides\n\n\t\t\taddLine('n1', 'f1');\n\t\t\taddLine('n2', 'f2');\n\t\t\taddLine('n3', 'f3');\n\t\t\taddLine('n4', 'f4'); // cone\n\n\t\t\taddLine('p', 'n1');\n\t\t\taddLine('p', 'n2');\n\t\t\taddLine('p', 'n3');\n\t\t\taddLine('p', 'n4'); // up\n\n\t\t\taddLine('u1', 'u2');\n\t\t\taddLine('u2', 'u3');\n\t\t\taddLine('u3', 'u1'); // target\n\n\t\t\taddLine('c', 't');\n\t\t\taddLine('p', 'c'); // cross\n\n\t\t\taddLine('cn1', 'cn2');\n\t\t\taddLine('cn3', 'cn4');\n\t\t\taddLine('cf1', 'cf2');\n\t\t\taddLine('cf3', 'cf4');\n\n\t\t\tfunction addLine(a, b) {\n\t\t\t\taddPoint(a);\n\t\t\t\taddPoint(b);\n\t\t\t}\n\n\t\t\tfunction addPoint(id) {\n\t\t\t\tvertices.push(0, 0, 0);\n\t\t\t\tcolors.push(0, 0, 0);\n\n\t\t\t\tif (pointMap[id] === undefined) {\n\t\t\t\t\tpointMap[id] = [];\n\t\t\t\t}\n\n\t\t\t\tpointMap[id].push(vertices.length / 3 - 1);\n\t\t\t}\n\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tgeometry.setAttribute('color', new Float32BufferAttribute(colors, 3));\n\t\t\tsuper(geometry, material);\n\t\t\tthis.type = 'CameraHelper';\n\t\t\tthis.camera = camera;\n\t\t\tif (this.camera.updateProjectionMatrix) this.camera.updateProjectionMatrix();\n\t\t\tthis.matrix = camera.matrixWorld;\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.pointMap = pointMap;\n\t\t\tthis.update(); // colors\n\n\t\t\tconst colorFrustum = new Color(0xffaa00);\n\t\t\tconst colorCone = new Color(0xff0000);\n\t\t\tconst colorUp = new Color(0x00aaff);\n\t\t\tconst colorTarget = new Color(0xffffff);\n\t\t\tconst colorCross = new Color(0x333333);\n\t\t\tthis.setColors(colorFrustum, colorCone, colorUp, colorTarget, colorCross);\n\t\t}\n\n\t\tsetColors(frustum, cone, up, target, cross) {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst colorAttribute = geometry.getAttribute('color'); // near\n\n\t\t\tcolorAttribute.setXYZ(0, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(1, frustum.r, frustum.g, frustum.b); // n1, n2\n\n\t\t\tcolorAttribute.setXYZ(2, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(3, frustum.r, frustum.g, frustum.b); // n2, n4\n\n\t\t\tcolorAttribute.setXYZ(4, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(5, frustum.r, frustum.g, frustum.b); // n4, n3\n\n\t\t\tcolorAttribute.setXYZ(6, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(7, frustum.r, frustum.g, frustum.b); // n3, n1\n\t\t\t// far\n\n\t\t\tcolorAttribute.setXYZ(8, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(9, frustum.r, frustum.g, frustum.b); // f1, f2\n\n\t\t\tcolorAttribute.setXYZ(10, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(11, frustum.r, frustum.g, frustum.b); // f2, f4\n\n\t\t\tcolorAttribute.setXYZ(12, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(13, frustum.r, frustum.g, frustum.b); // f4, f3\n\n\t\t\tcolorAttribute.setXYZ(14, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(15, frustum.r, frustum.g, frustum.b); // f3, f1\n\t\t\t// sides\n\n\t\t\tcolorAttribute.setXYZ(16, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(17, frustum.r, frustum.g, frustum.b); // n1, f1\n\n\t\t\tcolorAttribute.setXYZ(18, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(19, frustum.r, frustum.g, frustum.b); // n2, f2\n\n\t\t\tcolorAttribute.setXYZ(20, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(21, frustum.r, frustum.g, frustum.b); // n3, f3\n\n\t\t\tcolorAttribute.setXYZ(22, frustum.r, frustum.g, frustum.b);\n\t\t\tcolorAttribute.setXYZ(23, frustum.r, frustum.g, frustum.b); // n4, f4\n\t\t\t// cone\n\n\t\t\tcolorAttribute.setXYZ(24, cone.r, cone.g, cone.b);\n\t\t\tcolorAttribute.setXYZ(25, cone.r, cone.g, cone.b); // p, n1\n\n\t\t\tcolorAttribute.setXYZ(26, cone.r, cone.g, cone.b);\n\t\t\tcolorAttribute.setXYZ(27, cone.r, cone.g, cone.b); // p, n2\n\n\t\t\tcolorAttribute.setXYZ(28, cone.r, cone.g, cone.b);\n\t\t\tcolorAttribute.setXYZ(29, cone.r, cone.g, cone.b); // p, n3\n\n\t\t\tcolorAttribute.setXYZ(30, cone.r, cone.g, cone.b);\n\t\t\tcolorAttribute.setXYZ(31, cone.r, cone.g, cone.b); // p, n4\n\t\t\t// up\n\n\t\t\tcolorAttribute.setXYZ(32, up.r, up.g, up.b);\n\t\t\tcolorAttribute.setXYZ(33, up.r, up.g, up.b); // u1, u2\n\n\t\t\tcolorAttribute.setXYZ(34, up.r, up.g, up.b);\n\t\t\tcolorAttribute.setXYZ(35, up.r, up.g, up.b); // u2, u3\n\n\t\t\tcolorAttribute.setXYZ(36, up.r, up.g, up.b);\n\t\t\tcolorAttribute.setXYZ(37, up.r, up.g, up.b); // u3, u1\n\t\t\t// target\n\n\t\t\tcolorAttribute.setXYZ(38, target.r, target.g, target.b);\n\t\t\tcolorAttribute.setXYZ(39, target.r, target.g, target.b); // c, t\n\n\t\t\tcolorAttribute.setXYZ(40, cross.r, cross.g, cross.b);\n\t\t\tcolorAttribute.setXYZ(41, cross.r, cross.g, cross.b); // p, c\n\t\t\t// cross\n\n\t\t\tcolorAttribute.setXYZ(42, cross.r, cross.g, cross.b);\n\t\t\tcolorAttribute.setXYZ(43, cross.r, cross.g, cross.b); // cn1, cn2\n\n\t\t\tcolorAttribute.setXYZ(44, cross.r, cross.g, cross.b);\n\t\t\tcolorAttribute.setXYZ(45, cross.r, cross.g, cross.b); // cn3, cn4\n\n\t\t\tcolorAttribute.setXYZ(46, cross.r, cross.g, cross.b);\n\t\t\tcolorAttribute.setXYZ(47, cross.r, cross.g, cross.b); // cf1, cf2\n\n\t\t\tcolorAttribute.setXYZ(48, cross.r, cross.g, cross.b);\n\t\t\tcolorAttribute.setXYZ(49, cross.r, cross.g, cross.b); // cf3, cf4\n\n\t\t\tcolorAttribute.needsUpdate = true;\n\t\t}\n\n\t\tupdate() {\n\t\t\tconst geometry = this.geometry;\n\t\t\tconst pointMap = this.pointMap;\n\t\t\tconst w = 1,\n\t\t\t\t\t\th = 1; // we need just camera projection matrix inverse\n\t\t\t// world matrix must be identity\n\n\t\t\t_camera.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse); // center / target\n\n\n\t\t\tsetPoint('c', pointMap, geometry, _camera, 0, 0, -1);\n\t\t\tsetPoint('t', pointMap, geometry, _camera, 0, 0, 1); // near\n\n\t\t\tsetPoint('n1', pointMap, geometry, _camera, -w, -h, -1);\n\t\t\tsetPoint('n2', pointMap, geometry, _camera, w, -h, -1);\n\t\t\tsetPoint('n3', pointMap, geometry, _camera, -w, h, -1);\n\t\t\tsetPoint('n4', pointMap, geometry, _camera, w, h, -1); // far\n\n\t\t\tsetPoint('f1', pointMap, geometry, _camera, -w, -h, 1);\n\t\t\tsetPoint('f2', pointMap, geometry, _camera, w, -h, 1);\n\t\t\tsetPoint('f3', pointMap, geometry, _camera, -w, h, 1);\n\t\t\tsetPoint('f4', pointMap, geometry, _camera, w, h, 1); // up\n\n\t\t\tsetPoint('u1', pointMap, geometry, _camera, w * 0.7, h * 1.1, -1);\n\t\t\tsetPoint('u2', pointMap, geometry, _camera, -w * 0.7, h * 1.1, -1);\n\t\t\tsetPoint('u3', pointMap, geometry, _camera, 0, h * 2, -1); // cross\n\n\t\t\tsetPoint('cf1', pointMap, geometry, _camera, -w, 0, 1);\n\t\t\tsetPoint('cf2', pointMap, geometry, _camera, w, 0, 1);\n\t\t\tsetPoint('cf3', pointMap, geometry, _camera, 0, -h, 1);\n\t\t\tsetPoint('cf4', pointMap, geometry, _camera, 0, h, 1);\n\t\t\tsetPoint('cn1', pointMap, geometry, _camera, -w, 0, -1);\n\t\t\tsetPoint('cn2', pointMap, geometry, _camera, w, 0, -1);\n\t\t\tsetPoint('cn3', pointMap, geometry, _camera, 0, -h, -1);\n\t\t\tsetPoint('cn4', pointMap, geometry, _camera, 0, h, -1);\n\t\t\tgeometry.getAttribute('position').needsUpdate = true;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.geometry.dispose();\n\t\t\tthis.material.dispose();\n\t\t}\n\n\t}\n\n\tfunction setPoint(point, pointMap, geometry, camera, x, y, z) {\n\t\t_vector.set(x, y, z).unproject(camera);\n\n\t\tconst points = pointMap[point];\n\n\t\tif (points !== undefined) {\n\t\t\tconst position = geometry.getAttribute('position');\n\n\t\t\tfor (let i = 0, l = points.length; i < l; i++) {\n\t\t\t\tposition.setXYZ(points[i], _vector.x, _vector.y, _vector.z);\n\t\t\t}\n\t\t}\n\t}\n\n\tconst _box = /*@__PURE__*/new Box3();\n\n\tclass BoxHelper extends LineSegments {\n\t\tconstructor(object, color = 0xffff00) {\n\t\t\tconst indices = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]);\n\t\t\tconst positions = new Float32Array(8 * 3);\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setIndex(new BufferAttribute(indices, 1));\n\t\t\tgeometry.setAttribute('position', new BufferAttribute(positions, 3));\n\t\t\tsuper(geometry, new LineBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\ttoneMapped: false\n\t\t\t}));\n\t\t\tthis.object = object;\n\t\t\tthis.type = 'BoxHelper';\n\t\t\tthis.matrixAutoUpdate = false;\n\t\t\tthis.update();\n\t\t}\n\n\t\tupdate(object) {\n\t\t\tif (object !== undefined) {\n\t\t\t\tconsole.warn('THREE.BoxHelper: .update() has no longer arguments.');\n\t\t\t}\n\n\t\t\tif (this.object !== undefined) {\n\t\t\t\t_box.setFromObject(this.object);\n\t\t\t}\n\n\t\t\tif (_box.isEmpty()) return;\n\t\t\tconst min = _box.min;\n\t\t\tconst max = _box.max;\n\t\t\t/*\n\t\t\t\t5____4\n\t\t\t1/___0/|\n\t\t\t| 6__|_7\n\t\t\t2/___3/\n\t\t\t\t0: max.x, max.y, max.z\n\t\t\t1: min.x, max.y, max.z\n\t\t\t2: min.x, min.y, max.z\n\t\t\t3: max.x, min.y, max.z\n\t\t\t4: max.x, max.y, min.z\n\t\t\t5: min.x, max.y, min.z\n\t\t\t6: min.x, min.y, min.z\n\t\t\t7: max.x, min.y, min.z\n\t\t\t*/\n\n\t\t\tconst position = this.geometry.attributes.position;\n\t\t\tconst array = position.array;\n\t\t\tarray[0] = max.x;\n\t\t\tarray[1] = max.y;\n\t\t\tarray[2] = max.z;\n\t\t\tarray[3] = min.x;\n\t\t\tarray[4] = max.y;\n\t\t\tarray[5] = max.z;\n\t\t\tarray[6] = min.x;\n\t\t\tarray[7] = min.y;\n\t\t\tarray[8] = max.z;\n\t\t\tarray[9] = max.x;\n\t\t\tarray[10] = min.y;\n\t\t\tarray[11] = max.z;\n\t\t\tarray[12] = max.x;\n\t\t\tarray[13] = max.y;\n\t\t\tarray[14] = min.z;\n\t\t\tarray[15] = min.x;\n\t\t\tarray[16] = max.y;\n\t\t\tarray[17] = min.z;\n\t\t\tarray[18] = min.x;\n\t\t\tarray[19] = min.y;\n\t\t\tarray[20] = min.z;\n\t\t\tarray[21] = max.x;\n\t\t\tarray[22] = min.y;\n\t\t\tarray[23] = min.z;\n\t\t\tposition.needsUpdate = true;\n\t\t\tthis.geometry.computeBoundingSphere();\n\t\t}\n\n\t\tsetFromObject(object) {\n\t\t\tthis.object = object;\n\t\t\tthis.update();\n\t\t\treturn this;\n\t\t}\n\n\t\tcopy(source, recursive) {\n\t\t\tsuper.copy(source, recursive);\n\t\t\tthis.object = source.object;\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass Box3Helper extends LineSegments {\n\t\tconstructor(box, color = 0xffff00) {\n\t\t\tconst indices = new Uint16Array([0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7]);\n\t\t\tconst positions = [1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1];\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setIndex(new BufferAttribute(indices, 1));\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(positions, 3));\n\t\t\tsuper(geometry, new LineBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\ttoneMapped: false\n\t\t\t}));\n\t\t\tthis.box = box;\n\t\t\tthis.type = 'Box3Helper';\n\t\t\tthis.geometry.computeBoundingSphere();\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tconst box = this.box;\n\t\t\tif (box.isEmpty()) return;\n\t\t\tbox.getCenter(this.position);\n\t\t\tbox.getSize(this.scale);\n\t\t\tthis.scale.multiplyScalar(0.5);\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t}\n\n\t}\n\n\tclass PlaneHelper extends Line {\n\t\tconstructor(plane, size = 1, hex = 0xffff00) {\n\t\t\tconst color = hex;\n\t\t\tconst positions = [1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0];\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(positions, 3));\n\t\t\tgeometry.computeBoundingSphere();\n\t\t\tsuper(geometry, new LineBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\ttoneMapped: false\n\t\t\t}));\n\t\t\tthis.type = 'PlaneHelper';\n\t\t\tthis.plane = plane;\n\t\t\tthis.size = size;\n\t\t\tconst positions2 = [1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1];\n\t\t\tconst geometry2 = new BufferGeometry();\n\t\t\tgeometry2.setAttribute('position', new Float32BufferAttribute(positions2, 3));\n\t\t\tgeometry2.computeBoundingSphere();\n\t\t\tthis.add(new Mesh(geometry2, new MeshBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\topacity: 0.2,\n\t\t\t\ttransparent: true,\n\t\t\t\tdepthWrite: false,\n\t\t\t\ttoneMapped: false\n\t\t\t})));\n\t\t}\n\n\t\tupdateMatrixWorld(force) {\n\t\t\tlet scale = -this.plane.constant;\n\t\t\tif (Math.abs(scale) < 1e-8) scale = 1e-8; // sign does not matter\n\n\t\t\tthis.scale.set(0.5 * this.size, 0.5 * this.size, scale);\n\t\t\tthis.children[0].material.side = scale < 0 ? BackSide : FrontSide; // renderer flips side when determinant < 0; flipping not wanted here\n\n\t\t\tthis.lookAt(this.plane.normal);\n\t\t\tsuper.updateMatrixWorld(force);\n\t\t}\n\n\t}\n\n\tconst _axis = /*@__PURE__*/new Vector3();\n\n\tlet _lineGeometry, _coneGeometry;\n\n\tclass ArrowHelper extends Object3D {\n\t\t// dir is assumed to be normalized\n\t\tconstructor(dir = new Vector3(0, 0, 1), origin = new Vector3(0, 0, 0), length = 1, color = 0xffff00, headLength = length * 0.2, headWidth = headLength * 0.2) {\n\t\t\tsuper();\n\t\t\tthis.type = 'ArrowHelper';\n\n\t\t\tif (_lineGeometry === undefined) {\n\t\t\t\t_lineGeometry = new BufferGeometry();\n\n\t\t\t\t_lineGeometry.setAttribute('position', new Float32BufferAttribute([0, 0, 0, 0, 1, 0], 3));\n\n\t\t\t\t_coneGeometry = new CylinderGeometry(0, 0.5, 1, 5, 1);\n\n\t\t\t\t_coneGeometry.translate(0, -0.5, 0);\n\t\t\t}\n\n\t\t\tthis.position.copy(origin);\n\t\t\tthis.line = new Line(_lineGeometry, new LineBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\ttoneMapped: false\n\t\t\t}));\n\t\t\tthis.line.matrixAutoUpdate = false;\n\t\t\tthis.add(this.line);\n\t\t\tthis.cone = new Mesh(_coneGeometry, new MeshBasicMaterial({\n\t\t\t\tcolor: color,\n\t\t\t\ttoneMapped: false\n\t\t\t}));\n\t\t\tthis.cone.matrixAutoUpdate = false;\n\t\t\tthis.add(this.cone);\n\t\t\tthis.setDirection(dir);\n\t\t\tthis.setLength(length, headLength, headWidth);\n\t\t}\n\n\t\tsetDirection(dir) {\n\t\t\t// dir is assumed to be normalized\n\t\t\tif (dir.y > 0.99999) {\n\t\t\t\tthis.quaternion.set(0, 0, 0, 1);\n\t\t\t} else if (dir.y < -0.99999) {\n\t\t\t\tthis.quaternion.set(1, 0, 0, 0);\n\t\t\t} else {\n\t\t\t\t_axis.set(dir.z, 0, -dir.x).normalize();\n\n\t\t\t\tconst radians = Math.acos(dir.y);\n\t\t\t\tthis.quaternion.setFromAxisAngle(_axis, radians);\n\t\t\t}\n\t\t}\n\n\t\tsetLength(length, headLength = length * 0.2, headWidth = headLength * 0.2) {\n\t\t\tthis.line.scale.set(1, Math.max(0.0001, length - headLength), 1); // see #17458\n\n\t\t\tthis.line.updateMatrix();\n\t\t\tthis.cone.scale.set(headWidth, headLength, headWidth);\n\t\t\tthis.cone.position.y = length;\n\t\t\tthis.cone.updateMatrix();\n\t\t}\n\n\t\tsetColor(color) {\n\t\t\tthis.line.material.color.set(color);\n\t\t\tthis.cone.material.color.set(color);\n\t\t}\n\n\t\tcopy(source) {\n\t\t\tsuper.copy(source, false);\n\t\t\tthis.line.copy(source.line);\n\t\t\tthis.cone.copy(source.cone);\n\t\t\treturn this;\n\t\t}\n\n\t}\n\n\tclass AxesHelper extends LineSegments {\n\t\tconstructor(size = 1) {\n\t\t\tconst vertices = [0, 0, 0, size, 0, 0, 0, 0, 0, 0, size, 0, 0, 0, 0, 0, 0, size];\n\t\t\tconst colors = [1, 0, 0, 1, 0.6, 0, 0, 1, 0, 0.6, 1, 0, 0, 0, 1, 0, 0.6, 1];\n\t\t\tconst geometry = new BufferGeometry();\n\t\t\tgeometry.setAttribute('position', new Float32BufferAttribute(vertices, 3));\n\t\t\tgeometry.setAttribute('color', new Float32BufferAttribute(colors, 3));\n\t\t\tconst material = new LineBasicMaterial({\n\t\t\t\tvertexColors: true,\n\t\t\t\ttoneMapped: false\n\t\t\t});\n\t\t\tsuper(geometry, material);\n\t\t\tthis.type = 'AxesHelper';\n\t\t}\n\n\t\tsetColors(xAxisColor, yAxisColor, zAxisColor) {\n\t\t\tconst color = new Color();\n\t\t\tconst array = this.geometry.attributes.color.array;\n\t\t\tcolor.set(xAxisColor);\n\t\t\tcolor.toArray(array, 0);\n\t\t\tcolor.toArray(array, 3);\n\t\t\tcolor.set(yAxisColor);\n\t\t\tcolor.toArray(array, 6);\n\t\t\tcolor.toArray(array, 9);\n\t\t\tcolor.set(zAxisColor);\n\t\t\tcolor.toArray(array, 12);\n\t\t\tcolor.toArray(array, 15);\n\t\t\tthis.geometry.attributes.color.needsUpdate = true;\n\t\t\treturn this;\n\t\t}\n\n\t\tdispose() {\n\t\t\tthis.geometry.dispose();\n\t\t\tthis.material.dispose();\n\t\t}\n\n\t}\n\n\tclass ShapePath {\n\t\tconstructor() {\n\t\t\tthis.type = 'ShapePath';\n\t\t\tthis.color = new Color();\n\t\t\tthis.subPaths = [];\n\t\t\tthis.currentPath = null;\n\t\t}\n\n\t\tmoveTo(x, y) {\n\t\t\tthis.currentPath = new Path();\n\t\t\tthis.subPaths.push(this.currentPath);\n\t\t\tthis.currentPath.moveTo(x, y);\n\t\t\treturn this;\n\t\t}\n\n\t\tlineTo(x, y) {\n\t\t\tthis.currentPath.lineTo(x, y);\n\t\t\treturn this;\n\t\t}\n\n\t\tquadraticCurveTo(aCPx, aCPy, aX, aY) {\n\t\t\tthis.currentPath.quadraticCurveTo(aCPx, aCPy, aX, aY);\n\t\t\treturn this;\n\t\t}\n\n\t\tbezierCurveTo(aCP1x, aCP1y, aCP2x, aCP2y, aX, aY) {\n\t\t\tthis.currentPath.bezierCurveTo(aCP1x, aCP1y, aCP2x, aCP2y, aX, aY);\n\t\t\treturn this;\n\t\t}\n\n\t\tsplineThru(pts) {\n\t\t\tthis.currentPath.splineThru(pts);\n\t\t\treturn this;\n\t\t}\n\n\t\ttoShapes(isCCW, noHoles) {\n\t\t\tfunction toShapesNoHoles(inSubpaths) {\n\t\t\t\tconst shapes = [];\n\n\t\t\t\tfor (let i = 0, l = inSubpaths.length; i < l; i++) {\n\t\t\t\t\tconst tmpPath = inSubpaths[i];\n\t\t\t\t\tconst tmpShape = new Shape();\n\t\t\t\t\ttmpShape.curves = tmpPath.curves;\n\t\t\t\t\tshapes.push(tmpShape);\n\t\t\t\t}\n\n\t\t\t\treturn shapes;\n\t\t\t}\n\n\t\t\tfunction isPointInsidePolygon(inPt, inPolygon) {\n\t\t\t\tconst polyLen = inPolygon.length; // inPt on polygon contour => immediate success\t\tor\n\t\t\t\t// toggling of inside/outside at every single! intersection point of an edge\n\t\t\t\t//\twith the horizontal line through inPt, left of inPt\n\t\t\t\t//\tnot counting lowerY endpoints of edges and whole edges on that line\n\n\t\t\t\tlet inside = false;\n\n\t\t\t\tfor (let p = polyLen - 1, q = 0; q < polyLen; p = q++) {\n\t\t\t\t\tlet edgeLowPt = inPolygon[p];\n\t\t\t\t\tlet edgeHighPt = inPolygon[q];\n\t\t\t\t\tlet edgeDx = edgeHighPt.x - edgeLowPt.x;\n\t\t\t\t\tlet edgeDy = edgeHighPt.y - edgeLowPt.y;\n\n\t\t\t\t\tif (Math.abs(edgeDy) > Number.EPSILON) {\n\t\t\t\t\t\t// not parallel\n\t\t\t\t\t\tif (edgeDy < 0) {\n\t\t\t\t\t\t\tedgeLowPt = inPolygon[q];\n\t\t\t\t\t\t\tedgeDx = -edgeDx;\n\t\t\t\t\t\t\tedgeHighPt = inPolygon[p];\n\t\t\t\t\t\t\tedgeDy = -edgeDy;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tif (inPt.y < edgeLowPt.y || inPt.y > edgeHighPt.y) continue;\n\n\t\t\t\t\t\tif (inPt.y === edgeLowPt.y) {\n\t\t\t\t\t\t\tif (inPt.x === edgeLowPt.x) return true; // inPt is on contour ?\n\t\t\t\t\t\t\t// continue;\t\t\t\t// no intersection or edgeLowPt => doesn't count !!!\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tconst perpEdge = edgeDy * (inPt.x - edgeLowPt.x) - edgeDx * (inPt.y - edgeLowPt.y);\n\t\t\t\t\t\t\tif (perpEdge === 0) return true; // inPt is on contour ?\n\n\t\t\t\t\t\t\tif (perpEdge < 0) continue;\n\t\t\t\t\t\t\tinside = !inside; // true intersection left of inPt\n\t\t\t\t\t\t}\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// parallel or collinear\n\t\t\t\t\t\tif (inPt.y !== edgeLowPt.y) continue; // parallel\n\t\t\t\t\t\t// edge lies on the same horizontal line as inPt\n\n\t\t\t\t\t\tif (edgeHighPt.x <= inPt.x && inPt.x <= edgeLowPt.x || edgeLowPt.x <= inPt.x && inPt.x <= edgeHighPt.x) return true; // inPt: Point on contour !\n\t\t\t\t\t\t// continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn inside;\n\t\t\t}\n\n\t\t\tconst isClockWise = ShapeUtils.isClockWise;\n\t\t\tconst subPaths = this.subPaths;\n\t\t\tif (subPaths.length === 0) return [];\n\t\t\tif (noHoles === true) return toShapesNoHoles(subPaths);\n\t\t\tlet solid, tmpPath, tmpShape;\n\t\t\tconst shapes = [];\n\n\t\t\tif (subPaths.length === 1) {\n\t\t\t\ttmpPath = subPaths[0];\n\t\t\t\ttmpShape = new Shape();\n\t\t\t\ttmpShape.curves = tmpPath.curves;\n\t\t\t\tshapes.push(tmpShape);\n\t\t\t\treturn shapes;\n\t\t\t}\n\n\t\t\tlet holesFirst = !isClockWise(subPaths[0].getPoints());\n\t\t\tholesFirst = isCCW ? !holesFirst : holesFirst; // console.log(\"Holes first\", holesFirst);\n\n\t\t\tconst betterShapeHoles = [];\n\t\t\tconst newShapes = [];\n\t\t\tlet newShapeHoles = [];\n\t\t\tlet mainIdx = 0;\n\t\t\tlet tmpPoints;\n\t\t\tnewShapes[mainIdx] = undefined;\n\t\t\tnewShapeHoles[mainIdx] = [];\n\n\t\t\tfor (let i = 0, l = subPaths.length; i < l; i++) {\n\t\t\t\ttmpPath = subPaths[i];\n\t\t\t\ttmpPoints = tmpPath.getPoints();\n\t\t\t\tsolid = isClockWise(tmpPoints);\n\t\t\t\tsolid = isCCW ? !solid : solid;\n\n\t\t\t\tif (solid) {\n\t\t\t\t\tif (!holesFirst && newShapes[mainIdx]) mainIdx++;\n\t\t\t\t\tnewShapes[mainIdx] = {\n\t\t\t\t\t\ts: new Shape(),\n\t\t\t\t\t\tp: tmpPoints\n\t\t\t\t\t};\n\t\t\t\t\tnewShapes[mainIdx].s.curves = tmpPath.curves;\n\t\t\t\t\tif (holesFirst) mainIdx++;\n\t\t\t\t\tnewShapeHoles[mainIdx] = []; //console.log('cw', i);\n\t\t\t\t} else {\n\t\t\t\t\tnewShapeHoles[mainIdx].push({\n\t\t\t\t\t\th: tmpPath,\n\t\t\t\t\t\tp: tmpPoints[0]\n\t\t\t\t\t}); //console.log('ccw', i);\n\t\t\t\t}\n\t\t\t} // only Holes? -> probably all Shapes with wrong orientation\n\n\n\t\t\tif (!newShapes[0]) return toShapesNoHoles(subPaths);\n\n\t\t\tif (newShapes.length > 1) {\n\t\t\t\tlet ambiguous = false;\n\t\t\t\tlet toChange = 0;\n\n\t\t\t\tfor (let sIdx = 0, sLen = newShapes.length; sIdx < sLen; sIdx++) {\n\t\t\t\t\tbetterShapeHoles[sIdx] = [];\n\t\t\t\t}\n\n\t\t\t\tfor (let sIdx = 0, sLen = newShapes.length; sIdx < sLen; sIdx++) {\n\t\t\t\t\tconst sho = newShapeHoles[sIdx];\n\n\t\t\t\t\tfor (let hIdx = 0; hIdx < sho.length; hIdx++) {\n\t\t\t\t\t\tconst ho = sho[hIdx];\n\t\t\t\t\t\tlet hole_unassigned = true;\n\n\t\t\t\t\t\tfor (let s2Idx = 0; s2Idx < newShapes.length; s2Idx++) {\n\t\t\t\t\t\t\tif (isPointInsidePolygon(ho.p, newShapes[s2Idx].p)) {\n\t\t\t\t\t\t\t\tif (sIdx !== s2Idx) toChange++;\n\n\t\t\t\t\t\t\t\tif (hole_unassigned) {\n\t\t\t\t\t\t\t\t\thole_unassigned = false;\n\t\t\t\t\t\t\t\t\tbetterShapeHoles[s2Idx].push(ho);\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tambiguous = true;\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\tif (hole_unassigned) {\n\t\t\t\t\t\t\tbetterShapeHoles[sIdx].push(ho);\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (toChange > 0 && ambiguous === false) {\n\t\t\t\t\tnewShapeHoles = betterShapeHoles;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tlet tmpHoles;\n\n\t\t\tfor (let i = 0, il = newShapes.length; i < il; i++) {\n\t\t\t\ttmpShape = newShapes[i].s;\n\t\t\t\tshapes.push(tmpShape);\n\t\t\t\ttmpHoles = newShapeHoles[i];\n\n\t\t\t\tfor (let j = 0, jl = tmpHoles.length; j < jl; j++) {\n\t\t\t\t\ttmpShape.holes.push(tmpHoles[j].h);\n\t\t\t\t}\n\t\t\t} //console.log(\"shape\", shapes);\n\n\n\t\t\treturn shapes;\n\t\t}\n\n\t}\n\n\tconst {\n\t\tfloatView: _floatView,\n\t\tuint32View: _uint32View,\n\t\tbaseTable: _baseTable,\n\t\tshiftTable: _shiftTable,\n\t\tmantissaTable: _mantissaTable,\n\t\texponentTable: _exponentTable,\n\t\toffsetTable: _offsetTable\n\t} = /*@__PURE__*/_generateTables();\n\n\tfunction _generateTables() {\n\t\t// float32 to float16 helpers\n\t\tconst buffer = new ArrayBuffer(4);\n\t\tconst floatView = new Float32Array(buffer);\n\t\tconst uint32View = new Uint32Array(buffer);\n\t\tconst baseTable = new Uint32Array(512);\n\t\tconst shiftTable = new Uint32Array(512);\n\n\t\tfor (let i = 0; i < 256; ++i) {\n\t\t\tconst e = i - 127; // very small number (0, -0)\n\n\t\t\tif (e < -27) {\n\t\t\t\tbaseTable[i] = 0x0000;\n\t\t\t\tbaseTable[i | 0x100] = 0x8000;\n\t\t\t\tshiftTable[i] = 24;\n\t\t\t\tshiftTable[i | 0x100] = 24; // small number (denorm)\n\t\t\t} else if (e < -14) {\n\t\t\t\tbaseTable[i] = 0x0400 >> -e - 14;\n\t\t\t\tbaseTable[i | 0x100] = 0x0400 >> -e - 14 | 0x8000;\n\t\t\t\tshiftTable[i] = -e - 1;\n\t\t\t\tshiftTable[i | 0x100] = -e - 1; // normal number\n\t\t\t} else if (e <= 15) {\n\t\t\t\tbaseTable[i] = e + 15 << 10;\n\t\t\t\tbaseTable[i | 0x100] = e + 15 << 10 | 0x8000;\n\t\t\t\tshiftTable[i] = 13;\n\t\t\t\tshiftTable[i | 0x100] = 13; // large number (Infinity, -Infinity)\n\t\t\t} else if (e < 128) {\n\t\t\t\tbaseTable[i] = 0x7c00;\n\t\t\t\tbaseTable[i | 0x100] = 0xfc00;\n\t\t\t\tshiftTable[i] = 24;\n\t\t\t\tshiftTable[i | 0x100] = 24; // stay (NaN, Infinity, -Infinity)\n\t\t\t} else {\n\t\t\t\tbaseTable[i] = 0x7c00;\n\t\t\t\tbaseTable[i | 0x100] = 0xfc00;\n\t\t\t\tshiftTable[i] = 13;\n\t\t\t\tshiftTable[i | 0x100] = 13;\n\t\t\t}\n\t\t} // float16 to float32 helpers\n\n\n\t\tconst mantissaTable = new Uint32Array(2048);\n\t\tconst exponentTable = new Uint32Array(64);\n\t\tconst offsetTable = new Uint32Array(64);\n\n\t\tfor (let i = 1; i < 1024; ++i) {\n\t\t\tlet m = i << 13; // zero pad mantissa bits\n\n\t\t\tlet e = 0; // zero exponent\n\t\t\t// normalized\n\n\t\t\twhile ((m & 0x00800000) === 0) {\n\t\t\t\tm <<= 1;\n\t\t\t\te -= 0x00800000; // decrement exponent\n\t\t\t}\n\n\t\t\tm &= ~0x00800000; // clear leading 1 bit\n\n\t\t\te += 0x38800000; // adjust bias\n\n\t\t\tmantissaTable[i] = m | e;\n\t\t}\n\n\t\tfor (let i = 1024; i < 2048; ++i) {\n\t\t\tmantissaTable[i] = 0x38000000 + (i - 1024 << 13);\n\t\t}\n\n\t\tfor (let i = 1; i < 31; ++i) {\n\t\t\texponentTable[i] = i << 23;\n\t\t}\n\n\t\texponentTable[31] = 0x47800000;\n\t\texponentTable[32] = 0x80000000;\n\n\t\tfor (let i = 33; i < 63; ++i) {\n\t\t\texponentTable[i] = 0x80000000 + (i - 32 << 23);\n\t\t}\n\n\t\texponentTable[63] = 0xc7800000;\n\n\t\tfor (let i = 1; i < 64; ++i) {\n\t\t\tif (i !== 32) {\n\t\t\t\toffsetTable[i] = 1024;\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tfloatView: floatView,\n\t\t\tuint32View: uint32View,\n\t\t\tbaseTable: baseTable,\n\t\t\tshiftTable: shiftTable,\n\t\t\tmantissaTable: mantissaTable,\n\t\t\texponentTable: exponentTable,\n\t\t\toffsetTable: offsetTable\n\t\t};\n\t} // float32 to float16\n\n\n\tfunction toHalfFloat(val) {\n\t\tif (Math.abs(val) > 65504) console.warn('THREE.DataUtils.toHalfFloat(): Value out of range.');\n\t\tval = clamp(val, -65504, 65504);\n\t\t_floatView[0] = val;\n\t\tconst f = _uint32View[0];\n\t\tconst e = f >> 23 & 0x1ff;\n\t\treturn _baseTable[e] + ((f & 0x007fffff) >> _shiftTable[e]);\n\t} // float16 to float32\n\n\n\tfunction fromHalfFloat(val) {\n\t\tconst m = val >> 10;\n\t\t_uint32View[0] = _mantissaTable[_offsetTable[m] + (val & 0x3ff)] + _exponentTable[m];\n\t\treturn _floatView[0];\n\t}\n\n\tvar DataUtils = /*#__PURE__*/Object.freeze({\n\t\t__proto__: null,\n\t\ttoHalfFloat: toHalfFloat,\n\t\tfromHalfFloat: fromHalfFloat\n\t});\n\n\tclass ParametricGeometry extends BufferGeometry {\n\t\tconstructor() {\n\t\t\tconsole.error('THREE.ParametricGeometry has been moved to /examples/jsm/geometries/ParametricGeometry.js');\n\t\t\tsuper();\n\t\t}\n\n\t} // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92\n\n\tclass TextGeometry extends BufferGeometry {\n\t\tconstructor() {\n\t\t\tconsole.error('THREE.TextGeometry has been moved to /examples/jsm/geometries/TextGeometry.js');\n\t\t\tsuper();\n\t\t}\n\n\t} // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92\n\n\tfunction FontLoader() {\n\t\tconsole.error('THREE.FontLoader has been moved to /examples/jsm/loaders/FontLoader.js');\n\t} // r133, eb58ff153119090d3bbb24474ea0ffc40c70dc92\n\n\tfunction Font() {\n\t\tconsole.error('THREE.Font has been moved to /examples/jsm/loaders/FontLoader.js');\n\t} // r134, d65e0af06644fe5a84a6fc0e372f4318f95a04c0\n\n\tfunction ImmediateRenderObject() {\n\t\tconsole.error('THREE.ImmediateRenderObject has been removed.');\n\t} // r138, 48b05d3500acc084df50be9b4c90781ad9b8cb17\n\n\tclass WebGLMultisampleRenderTarget extends WebGLRenderTarget {\n\t\tconstructor(width, height, options) {\n\t\t\tconsole.error('THREE.WebGLMultisampleRenderTarget has been removed. Use a normal render target and set the \"samples\" property to greater 0 to enable multisampling.');\n\t\t\tsuper(width, height, options);\n\t\t\tthis.samples = 4;\n\t\t}\n\n\t} // r138, f9cd9cab03b7b64244e304900a3a2eeaa3a588ce\n\n\tclass DataTexture2DArray extends DataArrayTexture {\n\t\tconstructor(data, width, height, depth) {\n\t\t\tconsole.warn('THREE.DataTexture2DArray has been renamed to DataArrayTexture.');\n\t\t\tsuper(data, width, height, depth);\n\t\t}\n\n\t} // r138, f9cd9cab03b7b64244e304900a3a2eeaa3a588ce\n\n\tclass DataTexture3D extends Data3DTexture {\n\t\tconstructor(data, width, height, depth) {\n\t\t\tconsole.warn('THREE.DataTexture3D has been renamed to Data3DTexture.');\n\t\t\tsuper(data, width, height, depth);\n\t\t}\n\n\t}\n\n\tif (typeof __THREE_DEVTOOLS__ !== 'undefined') {\n\t\t__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent('register', {\n\t\t\tdetail: {\n\t\t\t\trevision: REVISION\n\t\t\t}\n\t\t}));\n\t}\n\n\tif (typeof window !== 'undefined') {\n\t\tif (window.__THREE__) {\n\t\t\tconsole.warn('WARNING: Multiple instances of Three.js being imported.');\n\t\t} else {\n\t\t\twindow.__THREE__ = REVISION;\n\t\t}\n\t}\n\n\texports.ACESFilmicToneMapping = ACESFilmicToneMapping;\n\texports.AddEquation = AddEquation;\n\texports.AddOperation = AddOperation;\n\texports.AdditiveAnimationBlendMode = AdditiveAnimationBlendMode;\n\texports.AdditiveBlending = AdditiveBlending;\n\texports.AlphaFormat = AlphaFormat;\n\texports.AlwaysDepth = AlwaysDepth;\n\texports.AlwaysStencilFunc = AlwaysStencilFunc;\n\texports.AmbientLight = AmbientLight;\n\texports.AmbientLightProbe = AmbientLightProbe;\n\texports.AnimationClip = AnimationClip;\n\texports.AnimationLoader = AnimationLoader;\n\texports.AnimationMixer = AnimationMixer;\n\texports.AnimationObjectGroup = AnimationObjectGroup;\n\texports.AnimationUtils = AnimationUtils;\n\texports.ArcCurve = ArcCurve;\n\texports.ArrayCamera = ArrayCamera;\n\texports.ArrowHelper = ArrowHelper;\n\texports.Audio = Audio;\n\texports.AudioAnalyser = AudioAnalyser;\n\texports.AudioContext = AudioContext;\n\texports.AudioListener = AudioListener;\n\texports.AudioLoader = AudioLoader;\n\texports.AxesHelper = AxesHelper;\n\texports.BackSide = BackSide;\n\texports.BasicDepthPacking = BasicDepthPacking;\n\texports.BasicShadowMap = BasicShadowMap;\n\texports.Bone = Bone;\n\texports.BooleanKeyframeTrack = BooleanKeyframeTrack;\n\texports.Box2 = Box2;\n\texports.Box3 = Box3;\n\texports.Box3Helper = Box3Helper;\n\texports.BoxBufferGeometry = BoxGeometry;\n\texports.BoxGeometry = BoxGeometry;\n\texports.BoxHelper = BoxHelper;\n\texports.BufferAttribute = BufferAttribute;\n\texports.BufferGeometry = BufferGeometry;\n\texports.BufferGeometryLoader = BufferGeometryLoader;\n\texports.ByteType = ByteType;\n\texports.Cache = Cache;\n\texports.Camera = Camera;\n\texports.CameraHelper = CameraHelper;\n\texports.CanvasTexture = CanvasTexture;\n\texports.CapsuleBufferGeometry = CapsuleGeometry;\n\texports.CapsuleGeometry = CapsuleGeometry;\n\texports.CatmullRomCurve3 = CatmullRomCurve3;\n\texports.CineonToneMapping = CineonToneMapping;\n\texports.CircleBufferGeometry = CircleGeometry;\n\texports.CircleGeometry = CircleGeometry;\n\texports.ClampToEdgeWrapping = ClampToEdgeWrapping;\n\texports.Clock = Clock;\n\texports.Color = Color;\n\texports.ColorKeyframeTrack = ColorKeyframeTrack;\n\texports.ColorManagement = ColorManagement;\n\texports.CompressedTexture = CompressedTexture;\n\texports.CompressedTextureLoader = CompressedTextureLoader;\n\texports.ConeBufferGeometry = ConeGeometry;\n\texports.ConeGeometry = ConeGeometry;\n\texports.CubeCamera = CubeCamera;\n\texports.CubeReflectionMapping = CubeReflectionMapping;\n\texports.CubeRefractionMapping = CubeRefractionMapping;\n\texports.CubeTexture = CubeTexture;\n\texports.CubeTextureLoader = CubeTextureLoader;\n\texports.CubeUVReflectionMapping = CubeUVReflectionMapping;\n\texports.CubicBezierCurve = CubicBezierCurve;\n\texports.CubicBezierCurve3 = CubicBezierCurve3;\n\texports.CubicInterpolant = CubicInterpolant;\n\texports.CullFaceBack = CullFaceBack;\n\texports.CullFaceFront = CullFaceFront;\n\texports.CullFaceFrontBack = CullFaceFrontBack;\n\texports.CullFaceNone = CullFaceNone;\n\texports.Curve = Curve;\n\texports.CurvePath = CurvePath;\n\texports.CustomBlending = CustomBlending;\n\texports.CustomToneMapping = CustomToneMapping;\n\texports.CylinderBufferGeometry = CylinderGeometry;\n\texports.CylinderGeometry = CylinderGeometry;\n\texports.Cylindrical = Cylindrical;\n\texports.Data3DTexture = Data3DTexture;\n\texports.DataArrayTexture = DataArrayTexture;\n\texports.DataTexture = DataTexture;\n\texports.DataTexture2DArray = DataTexture2DArray;\n\texports.DataTexture3D = DataTexture3D;\n\texports.DataTextureLoader = DataTextureLoader;\n\texports.DataUtils = DataUtils;\n\texports.DecrementStencilOp = DecrementStencilOp;\n\texports.DecrementWrapStencilOp = DecrementWrapStencilOp;\n\texports.DefaultLoadingManager = DefaultLoadingManager;\n\texports.DepthFormat = DepthFormat;\n\texports.DepthStencilFormat = DepthStencilFormat;\n\texports.DepthTexture = DepthTexture;\n\texports.DirectionalLight = DirectionalLight;\n\texports.DirectionalLightHelper = DirectionalLightHelper;\n\texports.DiscreteInterpolant = DiscreteInterpolant;\n\texports.DodecahedronBufferGeometry = DodecahedronGeometry;\n\texports.DodecahedronGeometry = DodecahedronGeometry;\n\texports.DoubleSide = DoubleSide;\n\texports.DstAlphaFactor = DstAlphaFactor;\n\texports.DstColorFactor = DstColorFactor;\n\texports.DynamicCopyUsage = DynamicCopyUsage;\n\texports.DynamicDrawUsage = DynamicDrawUsage;\n\texports.DynamicReadUsage = DynamicReadUsage;\n\texports.EdgesGeometry = EdgesGeometry;\n\texports.EllipseCurve = EllipseCurve;\n\texports.EqualDepth = EqualDepth;\n\texports.EqualStencilFunc = EqualStencilFunc;\n\texports.EquirectangularReflectionMapping = EquirectangularReflectionMapping;\n\texports.EquirectangularRefractionMapping = EquirectangularRefractionMapping;\n\texports.Euler = Euler;\n\texports.EventDispatcher = EventDispatcher;\n\texports.ExtrudeBufferGeometry = ExtrudeGeometry;\n\texports.ExtrudeGeometry = ExtrudeGeometry;\n\texports.FileLoader = FileLoader;\n\texports.FlatShading = FlatShading;\n\texports.Float16BufferAttribute = Float16BufferAttribute;\n\texports.Float32BufferAttribute = Float32BufferAttribute;\n\texports.Float64BufferAttribute = Float64BufferAttribute;\n\texports.FloatType = FloatType;\n\texports.Fog = Fog;\n\texports.FogExp2 = FogExp2;\n\texports.Font = Font;\n\texports.FontLoader = FontLoader;\n\texports.FramebufferTexture = FramebufferTexture;\n\texports.FrontSide = FrontSide;\n\texports.Frustum = Frustum;\n\texports.GLBufferAttribute = GLBufferAttribute;\n\texports.GLSL1 = GLSL1;\n\texports.GLSL3 = GLSL3;\n\texports.GreaterDepth = GreaterDepth;\n\texports.GreaterEqualDepth = GreaterEqualDepth;\n\texports.GreaterEqualStencilFunc = GreaterEqualStencilFunc;\n\texports.GreaterStencilFunc = GreaterStencilFunc;\n\texports.GridHelper = GridHelper;\n\texports.Group = Group;\n\texports.HalfFloatType = HalfFloatType;\n\texports.HemisphereLight = HemisphereLight;\n\texports.HemisphereLightHelper = HemisphereLightHelper;\n\texports.HemisphereLightProbe = HemisphereLightProbe;\n\texports.IcosahedronBufferGeometry = IcosahedronGeometry;\n\texports.IcosahedronGeometry = IcosahedronGeometry;\n\texports.ImageBitmapLoader = ImageBitmapLoader;\n\texports.ImageLoader = ImageLoader;\n\texports.ImageUtils = ImageUtils;\n\texports.ImmediateRenderObject = ImmediateRenderObject;\n\texports.IncrementStencilOp = IncrementStencilOp;\n\texports.IncrementWrapStencilOp = IncrementWrapStencilOp;\n\texports.InstancedBufferAttribute = InstancedBufferAttribute;\n\texports.InstancedBufferGeometry = InstancedBufferGeometry;\n\texports.InstancedInterleavedBuffer = InstancedInterleavedBuffer;\n\texports.InstancedMesh = InstancedMesh;\n\texports.Int16BufferAttribute = Int16BufferAttribute;\n\texports.Int32BufferAttribute = Int32BufferAttribute;\n\texports.Int8BufferAttribute = Int8BufferAttribute;\n\texports.IntType = IntType;\n\texports.InterleavedBuffer = InterleavedBuffer;\n\texports.InterleavedBufferAttribute = InterleavedBufferAttribute;\n\texports.Interpolant = Interpolant;\n\texports.InterpolateDiscrete = InterpolateDiscrete;\n\texports.InterpolateLinear = InterpolateLinear;\n\texports.InterpolateSmooth = InterpolateSmooth;\n\texports.InvertStencilOp = InvertStencilOp;\n\texports.KeepStencilOp = KeepStencilOp;\n\texports.KeyframeTrack = KeyframeTrack;\n\texports.LOD = LOD;\n\texports.LatheBufferGeometry = LatheGeometry;\n\texports.LatheGeometry = LatheGeometry;\n\texports.Layers = Layers;\n\texports.LessDepth = LessDepth;\n\texports.LessEqualDepth = LessEqualDepth;\n\texports.LessEqualStencilFunc = LessEqualStencilFunc;\n\texports.LessStencilFunc = LessStencilFunc;\n\texports.Light = Light;\n\texports.LightProbe = LightProbe;\n\texports.Line = Line;\n\texports.Line3 = Line3;\n\texports.LineBasicMaterial = LineBasicMaterial;\n\texports.LineCurve = LineCurve;\n\texports.LineCurve3 = LineCurve3;\n\texports.LineDashedMaterial = LineDashedMaterial;\n\texports.LineLoop = LineLoop;\n\texports.LineSegments = LineSegments;\n\texports.LinearEncoding = LinearEncoding;\n\texports.LinearFilter = LinearFilter;\n\texports.LinearInterpolant = LinearInterpolant;\n\texports.LinearMipMapLinearFilter = LinearMipMapLinearFilter;\n\texports.LinearMipMapNearestFilter = LinearMipMapNearestFilter;\n\texports.LinearMipmapLinearFilter = LinearMipmapLinearFilter;\n\texports.LinearMipmapNearestFilter = LinearMipmapNearestFilter;\n\texports.LinearSRGBColorSpace = LinearSRGBColorSpace;\n\texports.LinearToneMapping = LinearToneMapping;\n\texports.Loader = Loader;\n\texports.LoaderUtils = LoaderUtils;\n\texports.LoadingManager = LoadingManager;\n\texports.LoopOnce = LoopOnce;\n\texports.LoopPingPong = LoopPingPong;\n\texports.LoopRepeat = LoopRepeat;\n\texports.LuminanceAlphaFormat = LuminanceAlphaFormat;\n\texports.LuminanceFormat = LuminanceFormat;\n\texports.MOUSE = MOUSE;\n\texports.Material = Material;\n\texports.MaterialLoader = MaterialLoader;\n\texports.MathUtils = MathUtils;\n\texports.Matrix3 = Matrix3;\n\texports.Matrix4 = Matrix4;\n\texports.MaxEquation = MaxEquation;\n\texports.Mesh = Mesh;\n\texports.MeshBasicMaterial = MeshBasicMaterial;\n\texports.MeshDepthMaterial = MeshDepthMaterial;\n\texports.MeshDistanceMaterial = MeshDistanceMaterial;\n\texports.MeshLambertMaterial = MeshLambertMaterial;\n\texports.MeshMatcapMaterial = MeshMatcapMaterial;\n\texports.MeshNormalMaterial = MeshNormalMaterial;\n\texports.MeshPhongMaterial = MeshPhongMaterial;\n\texports.MeshPhysicalMaterial = MeshPhysicalMaterial;\n\texports.MeshStandardMaterial = MeshStandardMaterial;\n\texports.MeshToonMaterial = MeshToonMaterial;\n\texports.MinEquation = MinEquation;\n\texports.MirroredRepeatWrapping = MirroredRepeatWrapping;\n\texports.MixOperation = MixOperation;\n\texports.MultiplyBlending = MultiplyBlending;\n\texports.MultiplyOperation = MultiplyOperation;\n\texports.NearestFilter = NearestFilter;\n\texports.NearestMipMapLinearFilter = NearestMipMapLinearFilter;\n\texports.NearestMipMapNearestFilter = NearestMipMapNearestFilter;\n\texports.NearestMipmapLinearFilter = NearestMipmapLinearFilter;\n\texports.NearestMipmapNearestFilter = NearestMipmapNearestFilter;\n\texports.NeverDepth = NeverDepth;\n\texports.NeverStencilFunc = NeverStencilFunc;\n\texports.NoBlending = NoBlending;\n\texports.NoColorSpace = NoColorSpace;\n\texports.NoToneMapping = NoToneMapping;\n\texports.NormalAnimationBlendMode = NormalAnimationBlendMode;\n\texports.NormalBlending = NormalBlending;\n\texports.NotEqualDepth = NotEqualDepth;\n\texports.NotEqualStencilFunc = NotEqualStencilFunc;\n\texports.NumberKeyframeTrack = NumberKeyframeTrack;\n\texports.Object3D = Object3D;\n\texports.ObjectLoader = ObjectLoader;\n\texports.ObjectSpaceNormalMap = ObjectSpaceNormalMap;\n\texports.OctahedronBufferGeometry = OctahedronGeometry;\n\texports.OctahedronGeometry = OctahedronGeometry;\n\texports.OneFactor = OneFactor;\n\texports.OneMinusDstAlphaFactor = OneMinusDstAlphaFactor;\n\texports.OneMinusDstColorFactor = OneMinusDstColorFactor;\n\texports.OneMinusSrcAlphaFactor = OneMinusSrcAlphaFactor;\n\texports.OneMinusSrcColorFactor = OneMinusSrcColorFactor;\n\texports.OrthographicCamera = OrthographicCamera;\n\texports.PCFShadowMap = PCFShadowMap;\n\texports.PCFSoftShadowMap = PCFSoftShadowMap;\n\texports.PMREMGenerator = PMREMGenerator;\n\texports.ParametricGeometry = ParametricGeometry;\n\texports.Path = Path;\n\texports.PerspectiveCamera = PerspectiveCamera;\n\texports.Plane = Plane;\n\texports.PlaneBufferGeometry = PlaneGeometry;\n\texports.PlaneGeometry = PlaneGeometry;\n\texports.PlaneHelper = PlaneHelper;\n\texports.PointLight = PointLight;\n\texports.PointLightHelper = PointLightHelper;\n\texports.Points = Points;\n\texports.PointsMaterial = PointsMaterial;\n\texports.PolarGridHelper = PolarGridHelper;\n\texports.PolyhedronBufferGeometry = PolyhedronGeometry;\n\texports.PolyhedronGeometry = PolyhedronGeometry;\n\texports.PositionalAudio = PositionalAudio;\n\texports.PropertyBinding = PropertyBinding;\n\texports.PropertyMixer = PropertyMixer;\n\texports.QuadraticBezierCurve = QuadraticBezierCurve;\n\texports.QuadraticBezierCurve3 = QuadraticBezierCurve3;\n\texports.Quaternion = Quaternion;\n\texports.QuaternionKeyframeTrack = QuaternionKeyframeTrack;\n\texports.QuaternionLinearInterpolant = QuaternionLinearInterpolant;\n\texports.REVISION = REVISION;\n\texports.RGBADepthPacking = RGBADepthPacking;\n\texports.RGBAFormat = RGBAFormat;\n\texports.RGBAIntegerFormat = RGBAIntegerFormat;\n\texports.RGBA_ASTC_10x10_Format = RGBA_ASTC_10x10_Format;\n\texports.RGBA_ASTC_10x5_Format = RGBA_ASTC_10x5_Format;\n\texports.RGBA_ASTC_10x6_Format = RGBA_ASTC_10x6_Format;\n\texports.RGBA_ASTC_10x8_Format = RGBA_ASTC_10x8_Format;\n\texports.RGBA_ASTC_12x10_Format = RGBA_ASTC_12x10_Format;\n\texports.RGBA_ASTC_12x12_Format = RGBA_ASTC_12x12_Format;\n\texports.RGBA_ASTC_4x4_Format = RGBA_ASTC_4x4_Format;\n\texports.RGBA_ASTC_5x4_Format = RGBA_ASTC_5x4_Format;\n\texports.RGBA_ASTC_5x5_Format = RGBA_ASTC_5x5_Format;\n\texports.RGBA_ASTC_6x5_Format = RGBA_ASTC_6x5_Format;\n\texports.RGBA_ASTC_6x6_Format = RGBA_ASTC_6x6_Format;\n\texports.RGBA_ASTC_8x5_Format = RGBA_ASTC_8x5_Format;\n\texports.RGBA_ASTC_8x6_Format = RGBA_ASTC_8x6_Format;\n\texports.RGBA_ASTC_8x8_Format = RGBA_ASTC_8x8_Format;\n\texports.RGBA_BPTC_Format = RGBA_BPTC_Format;\n\texports.RGBA_ETC2_EAC_Format = RGBA_ETC2_EAC_Format;\n\texports.RGBA_PVRTC_2BPPV1_Format = RGBA_PVRTC_2BPPV1_Format;\n\texports.RGBA_PVRTC_4BPPV1_Format = RGBA_PVRTC_4BPPV1_Format;\n\texports.RGBA_S3TC_DXT1_Format = RGBA_S3TC_DXT1_Format;\n\texports.RGBA_S3TC_DXT3_Format = RGBA_S3TC_DXT3_Format;\n\texports.RGBA_S3TC_DXT5_Format = RGBA_S3TC_DXT5_Format;\n\texports.RGBFormat = RGBFormat;\n\texports.RGB_ETC1_Format = RGB_ETC1_Format;\n\texports.RGB_ETC2_Format = RGB_ETC2_Format;\n\texports.RGB_PVRTC_2BPPV1_Format = RGB_PVRTC_2BPPV1_Format;\n\texports.RGB_PVRTC_4BPPV1_Format = RGB_PVRTC_4BPPV1_Format;\n\texports.RGB_S3TC_DXT1_Format = RGB_S3TC_DXT1_Format;\n\texports.RGFormat = RGFormat;\n\texports.RGIntegerFormat = RGIntegerFormat;\n\texports.RawShaderMaterial = RawShaderMaterial;\n\texports.Ray = Ray;\n\texports.Raycaster = Raycaster;\n\texports.RectAreaLight = RectAreaLight;\n\texports.RedFormat = RedFormat;\n\texports.RedIntegerFormat = RedIntegerFormat;\n\texports.ReinhardToneMapping = ReinhardToneMapping;\n\texports.RepeatWrapping = RepeatWrapping;\n\texports.ReplaceStencilOp = ReplaceStencilOp;\n\texports.ReverseSubtractEquation = ReverseSubtractEquation;\n\texports.RingBufferGeometry = RingGeometry;\n\texports.RingGeometry = RingGeometry;\n\texports.SRGBColorSpace = SRGBColorSpace;\n\texports.Scene = Scene;\n\texports.ShaderChunk = ShaderChunk;\n\texports.ShaderLib = ShaderLib;\n\texports.ShaderMaterial = ShaderMaterial;\n\texports.ShadowMaterial = ShadowMaterial;\n\texports.Shape = Shape;\n\texports.ShapeBufferGeometry = ShapeGeometry;\n\texports.ShapeGeometry = ShapeGeometry;\n\texports.ShapePath = ShapePath;\n\texports.ShapeUtils = ShapeUtils;\n\texports.ShortType = ShortType;\n\texports.Skeleton = Skeleton;\n\texports.SkeletonHelper = SkeletonHelper;\n\texports.SkinnedMesh = SkinnedMesh;\n\texports.SmoothShading = SmoothShading;\n\texports.Source = Source;\n\texports.Sphere = Sphere;\n\texports.SphereBufferGeometry = SphereGeometry;\n\texports.SphereGeometry = SphereGeometry;\n\texports.Spherical = Spherical;\n\texports.SphericalHarmonics3 = SphericalHarmonics3;\n\texports.SplineCurve = SplineCurve;\n\texports.SpotLight = SpotLight;\n\texports.SpotLightHelper = SpotLightHelper;\n\texports.Sprite = Sprite;\n\texports.SpriteMaterial = SpriteMaterial;\n\texports.SrcAlphaFactor = SrcAlphaFactor;\n\texports.SrcAlphaSaturateFactor = SrcAlphaSaturateFactor;\n\texports.SrcColorFactor = SrcColorFactor;\n\texports.StaticCopyUsage = StaticCopyUsage;\n\texports.StaticDrawUsage = StaticDrawUsage;\n\texports.StaticReadUsage = StaticReadUsage;\n\texports.StereoCamera = StereoCamera;\n\texports.StreamCopyUsage = StreamCopyUsage;\n\texports.StreamDrawUsage = StreamDrawUsage;\n\texports.StreamReadUsage = StreamReadUsage;\n\texports.StringKeyframeTrack = StringKeyframeTrack;\n\texports.SubtractEquation = SubtractEquation;\n\texports.SubtractiveBlending = SubtractiveBlending;\n\texports.TOUCH = TOUCH;\n\texports.TangentSpaceNormalMap = TangentSpaceNormalMap;\n\texports.TetrahedronBufferGeometry = TetrahedronGeometry;\n\texports.TetrahedronGeometry = TetrahedronGeometry;\n\texports.TextGeometry = TextGeometry;\n\texports.Texture = Texture;\n\texports.TextureLoader = TextureLoader;\n\texports.TorusBufferGeometry = TorusGeometry;\n\texports.TorusGeometry = TorusGeometry;\n\texports.TorusKnotBufferGeometry = TorusKnotGeometry;\n\texports.TorusKnotGeometry = TorusKnotGeometry;\n\texports.Triangle = Triangle;\n\texports.TriangleFanDrawMode = TriangleFanDrawMode;\n\texports.TriangleStripDrawMode = TriangleStripDrawMode;\n\texports.TrianglesDrawMode = TrianglesDrawMode;\n\texports.TubeBufferGeometry = TubeGeometry;\n\texports.TubeGeometry = TubeGeometry;\n\texports.UVMapping = UVMapping;\n\texports.Uint16BufferAttribute = Uint16BufferAttribute;\n\texports.Uint32BufferAttribute = Uint32BufferAttribute;\n\texports.Uint8BufferAttribute = Uint8BufferAttribute;\n\texports.Uint8ClampedBufferAttribute = Uint8ClampedBufferAttribute;\n\texports.Uniform = Uniform;\n\texports.UniformsLib = UniformsLib;\n\texports.UniformsUtils = UniformsUtils;\n\texports.UnsignedByteType = UnsignedByteType;\n\texports.UnsignedInt248Type = UnsignedInt248Type;\n\texports.UnsignedIntType = UnsignedIntType;\n\texports.UnsignedShort4444Type = UnsignedShort4444Type;\n\texports.UnsignedShort5551Type = UnsignedShort5551Type;\n\texports.UnsignedShortType = UnsignedShortType;\n\texports.VSMShadowMap = VSMShadowMap;\n\texports.Vector2 = Vector2;\n\texports.Vector3 = Vector3;\n\texports.Vector4 = Vector4;\n\texports.VectorKeyframeTrack = VectorKeyframeTrack;\n\texports.VideoTexture = VideoTexture;\n\texports.WebGL1Renderer = WebGL1Renderer;\n\texports.WebGL3DRenderTarget = WebGL3DRenderTarget;\n\texports.WebGLArrayRenderTarget = WebGLArrayRenderTarget;\n\texports.WebGLCubeRenderTarget = WebGLCubeRenderTarget;\n\texports.WebGLMultipleRenderTargets = WebGLMultipleRenderTargets;\n\texports.WebGLMultisampleRenderTarget = WebGLMultisampleRenderTarget;\n\texports.WebGLRenderTarget = WebGLRenderTarget;\n\texports.WebGLRenderer = WebGLRenderer;\n\texports.WebGLUtils = WebGLUtils;\n\texports.WireframeGeometry = WireframeGeometry;\n\texports.WrapAroundEnding = WrapAroundEnding;\n\texports.ZeroCurvatureEnding = ZeroCurvatureEnding;\n\texports.ZeroFactor = ZeroFactor;\n\texports.ZeroSlopeEnding = ZeroSlopeEnding;\n\texports.ZeroStencilOp = ZeroStencilOp;\n\texports._SRGBAFormat = _SRGBAFormat;\n\texports.sRGBEncoding = sRGBEncoding;\n\n\tObject.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","( function () {\n\n\t// Unlike TrackballControls, it maintains the \"up\" direction object.up (+Y by default).\n\t//\n\t//    Orbit - left mouse / touch: one-finger move\n\t//    Zoom - middle mouse, or mousewheel / touch: two-finger spread or squish\n\t//    Pan - right mouse, or left mouse + ctrl/meta/shiftKey, or arrow keys / touch: two-finger move\n\n\tconst _changeEvent = {\n\t\ttype: 'change'\n\t};\n\tconst _startEvent = {\n\t\ttype: 'start'\n\t};\n\tconst _endEvent = {\n\t\ttype: 'end'\n\t};\n\n\tclass OrbitControls extends THREE.EventDispatcher {\n\n\t\tconstructor( object, domElement ) {\n\n\t\t\tsuper();\n\t\t\tif ( domElement === undefined ) console.warn( 'THREE.OrbitControls: The second parameter \"domElement\" is now mandatory.' );\n\t\t\tif ( domElement === document ) console.error( 'THREE.OrbitControls: \"document\" should not be used as the target \"domElement\". Please use \"renderer.domElement\" instead.' );\n\t\t\tthis.object = object;\n\t\t\tthis.domElement = domElement;\n\t\t\tthis.domElement.style.touchAction = 'none'; // disable touch scroll\n\t\t\t// Set to false to disable this control\n\n\t\t\tthis.enabled = true; // \"target\" sets the location of focus, where the object orbits around\n\n\t\t\tthis.target = new THREE.Vector3(); // How far you can dolly in and out ( PerspectiveCamera only )\n\n\t\t\tthis.minDistance = 0;\n\t\t\tthis.maxDistance = Infinity; // How far you can zoom in and out ( OrthographicCamera only )\n\n\t\t\tthis.minZoom = 0;\n\t\t\tthis.maxZoom = Infinity; // How far you can orbit vertically, upper and lower limits.\n\t\t\t// Range is 0 to Math.PI radians.\n\n\t\t\tthis.minPolarAngle = 0; // radians\n\n\t\t\tthis.maxPolarAngle = Math.PI; // radians\n\t\t\t// How far you can orbit horizontally, upper and lower limits.\n\t\t\t// If set, the interval [ min, max ] must be a sub-interval of [ - 2 PI, 2 PI ], with ( max - min < 2 PI )\n\n\t\t\tthis.minAzimuthAngle = - Infinity; // radians\n\n\t\t\tthis.maxAzimuthAngle = Infinity; // radians\n\t\t\t// Set to true to enable damping (inertia)\n\t\t\t// If damping is enabled, you must call controls.update() in your animation loop\n\n\t\t\tthis.enableDamping = false;\n\t\t\tthis.dampingFactor = 0.05; // This option actually enables dollying in and out; left as \"zoom\" for backwards compatibility.\n\t\t\t// Set to false to disable zooming\n\n\t\t\tthis.enableZoom = true;\n\t\t\tthis.zoomSpeed = 1.0; // Set to false to disable rotating\n\n\t\t\tthis.enableRotate = true;\n\t\t\tthis.rotateSpeed = 1.0; // Set to false to disable panning\n\n\t\t\tthis.enablePan = true;\n\t\t\tthis.panSpeed = 1.0;\n\t\t\tthis.screenSpacePanning = true; // if false, pan orthogonal to world-space direction camera.up\n\n\t\t\tthis.keyPanSpeed = 7.0; // pixels moved per arrow key push\n\t\t\t// Set to true to automatically rotate around the target\n\t\t\t// If auto-rotate is enabled, you must call controls.update() in your animation loop\n\n\t\t\tthis.autoRotate = false;\n\t\t\tthis.autoRotateSpeed = 2.0; // 30 seconds per orbit when fps is 60\n\t\t\t// The four arrow keys\n\n\t\t\tthis.keys = {\n\t\t\t\tLEFT: 'ArrowLeft',\n\t\t\t\tUP: 'ArrowUp',\n\t\t\t\tRIGHT: 'ArrowRight',\n\t\t\t\tBOTTOM: 'ArrowDown'\n\t\t\t}; // Mouse buttons\n\n\t\t\tthis.mouseButtons = {\n\t\t\t\tLEFT: THREE.MOUSE.ROTATE,\n\t\t\t\tMIDDLE: THREE.MOUSE.DOLLY,\n\t\t\t\tRIGHT: THREE.MOUSE.PAN\n\t\t\t}; // Touch fingers\n\n\t\t\tthis.touches = {\n\t\t\t\tONE: THREE.TOUCH.ROTATE,\n\t\t\t\tTWO: THREE.TOUCH.DOLLY_PAN\n\t\t\t}; // for reset\n\n\t\t\tthis.target0 = this.target.clone();\n\t\t\tthis.position0 = this.object.position.clone();\n\t\t\tthis.zoom0 = this.object.zoom; // the target DOM element for key events\n\n\t\t\tthis._domElementKeyEvents = null; //\n\t\t\t// public methods\n\t\t\t//\n\n\t\t\tthis.getPolarAngle = function () {\n\n\t\t\t\treturn spherical.phi;\n\n\t\t\t};\n\n\t\t\tthis.getAzimuthalAngle = function () {\n\n\t\t\t\treturn spherical.theta;\n\n\t\t\t};\n\n\t\t\tthis.getDistance = function () {\n\n\t\t\t\treturn this.object.position.distanceTo( this.target );\n\n\t\t\t};\n\n\t\t\tthis.listenToKeyEvents = function ( domElement ) {\n\n\t\t\t\tdomElement.addEventListener( 'keydown', onKeyDown );\n\t\t\t\tthis._domElementKeyEvents = domElement;\n\n\t\t\t};\n\n\t\t\tthis.saveState = function () {\n\n\t\t\t\tscope.target0.copy( scope.target );\n\t\t\t\tscope.position0.copy( scope.object.position );\n\t\t\t\tscope.zoom0 = scope.object.zoom;\n\n\t\t\t};\n\n\t\t\tthis.reset = function () {\n\n\t\t\t\tscope.target.copy( scope.target0 );\n\t\t\t\tscope.object.position.copy( scope.position0 );\n\t\t\t\tscope.object.zoom = scope.zoom0;\n\t\t\t\tscope.object.updateProjectionMatrix();\n\t\t\t\tscope.dispatchEvent( _changeEvent );\n\t\t\t\tscope.update();\n\t\t\t\tstate = STATE.NONE;\n\n\t\t\t}; // this method is exposed, but perhaps it would be better if we can make it private...\n\n\n\t\t\tthis.update = function () {\n\n\t\t\t\tconst offset = new THREE.Vector3(); // so camera.up is the orbit axis\n\n\t\t\t\tconst quat = new THREE.Quaternion().setFromUnitVectors( object.up, new THREE.Vector3( 0, 1, 0 ) );\n\t\t\t\tconst quatInverse = quat.clone().invert();\n\t\t\t\tconst lastPosition = new THREE.Vector3();\n\t\t\t\tconst lastQuaternion = new THREE.Quaternion();\n\t\t\t\tconst twoPI = 2 * Math.PI;\n\t\t\t\treturn function update() {\n\n\t\t\t\t\tconst position = scope.object.position;\n\t\t\t\t\toffset.copy( position ).sub( scope.target ); // rotate offset to \"y-axis-is-up\" space\n\n\t\t\t\t\toffset.applyQuaternion( quat ); // angle from z-axis around y-axis\n\n\t\t\t\t\tspherical.setFromVector3( offset );\n\n\t\t\t\t\tif ( scope.autoRotate && state === STATE.NONE ) {\n\n\t\t\t\t\t\trotateLeft( getAutoRotationAngle() );\n\n\t\t\t\t\t}\n\n\t\t\t\t\tif ( scope.enableDamping ) {\n\n\t\t\t\t\t\tspherical.theta += sphericalDelta.theta * scope.dampingFactor;\n\t\t\t\t\t\tspherical.phi += sphericalDelta.phi * scope.dampingFactor;\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tspherical.theta += sphericalDelta.theta;\n\t\t\t\t\t\tspherical.phi += sphericalDelta.phi;\n\n\t\t\t\t\t} // restrict theta to be between desired limits\n\n\n\t\t\t\t\tlet min = scope.minAzimuthAngle;\n\t\t\t\t\tlet max = scope.maxAzimuthAngle;\n\n\t\t\t\t\tif ( isFinite( min ) && isFinite( max ) ) {\n\n\t\t\t\t\t\tif ( min < - Math.PI ) min += twoPI; else if ( min > Math.PI ) min -= twoPI;\n\t\t\t\t\t\tif ( max < - Math.PI ) max += twoPI; else if ( max > Math.PI ) max -= twoPI;\n\n\t\t\t\t\t\tif ( min <= max ) {\n\n\t\t\t\t\t\t\tspherical.theta = Math.max( min, Math.min( max, spherical.theta ) );\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tspherical.theta = spherical.theta > ( min + max ) / 2 ? Math.max( min, spherical.theta ) : Math.min( max, spherical.theta );\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} // restrict phi to be between desired limits\n\n\n\t\t\t\t\tspherical.phi = Math.max( scope.minPolarAngle, Math.min( scope.maxPolarAngle, spherical.phi ) );\n\t\t\t\t\tspherical.makeSafe();\n\t\t\t\t\tspherical.radius *= scale; // restrict radius to be between desired limits\n\n\t\t\t\t\tspherical.radius = Math.max( scope.minDistance, Math.min( scope.maxDistance, spherical.radius ) ); // move target to panned location\n\n\t\t\t\t\tif ( scope.enableDamping === true ) {\n\n\t\t\t\t\t\tscope.target.addScaledVector( panOffset, scope.dampingFactor );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tscope.target.add( panOffset );\n\n\t\t\t\t\t}\n\n\t\t\t\t\toffset.setFromSpherical( spherical ); // rotate offset back to \"camera-up-vector-is-up\" space\n\n\t\t\t\t\toffset.applyQuaternion( quatInverse );\n\t\t\t\t\tposition.copy( scope.target ).add( offset );\n\t\t\t\t\tscope.object.lookAt( scope.target );\n\n\t\t\t\t\tif ( scope.enableDamping === true ) {\n\n\t\t\t\t\t\tsphericalDelta.theta *= 1 - scope.dampingFactor;\n\t\t\t\t\t\tsphericalDelta.phi *= 1 - scope.dampingFactor;\n\t\t\t\t\t\tpanOffset.multiplyScalar( 1 - scope.dampingFactor );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tsphericalDelta.set( 0, 0, 0 );\n\t\t\t\t\t\tpanOffset.set( 0, 0, 0 );\n\n\t\t\t\t\t}\n\n\t\t\t\t\tscale = 1; // update condition is:\n\t\t\t\t\t// min(camera displacement, camera rotation in radians)^2 > EPS\n\t\t\t\t\t// using small-angle approximation cos(x/2) = 1 - x^2 / 8\n\n\t\t\t\t\tif ( zoomChanged || lastPosition.distanceToSquared( scope.object.position ) > EPS || 8 * ( 1 - lastQuaternion.dot( scope.object.quaternion ) ) > EPS ) {\n\n\t\t\t\t\t\tscope.dispatchEvent( _changeEvent );\n\t\t\t\t\t\tlastPosition.copy( scope.object.position );\n\t\t\t\t\t\tlastQuaternion.copy( scope.object.quaternion );\n\t\t\t\t\t\tzoomChanged = false;\n\t\t\t\t\t\treturn true;\n\n\t\t\t\t\t}\n\n\t\t\t\t\treturn false;\n\n\t\t\t\t};\n\n\t\t\t}();\n\n\t\t\tthis.dispose = function () {\n\n\t\t\t\tscope.domElement.removeEventListener( 'contextmenu', onContextMenu );\n\t\t\t\tscope.domElement.removeEventListener( 'pointerdown', onPointerDown );\n\t\t\t\tscope.domElement.removeEventListener( 'pointercancel', onPointerCancel );\n\t\t\t\tscope.domElement.removeEventListener( 'wheel', onMouseWheel );\n\t\t\t\tscope.domElement.removeEventListener( 'pointermove', onPointerMove );\n\t\t\t\tscope.domElement.removeEventListener( 'pointerup', onPointerUp );\n\n\t\t\t\tif ( scope._domElementKeyEvents !== null ) {\n\n\t\t\t\t\tscope._domElementKeyEvents.removeEventListener( 'keydown', onKeyDown );\n\n\t\t\t\t} //scope.dispatchEvent( { type: 'dispose' } ); // should this be added here?\n\n\t\t\t}; //\n\t\t\t// internals\n\t\t\t//\n\n\n\t\t\tconst scope = this;\n\t\t\tconst STATE = {\n\t\t\t\tNONE: - 1,\n\t\t\t\tROTATE: 0,\n\t\t\t\tDOLLY: 1,\n\t\t\t\tPAN: 2,\n\t\t\t\tTOUCH_ROTATE: 3,\n\t\t\t\tTOUCH_PAN: 4,\n\t\t\t\tTOUCH_DOLLY_PAN: 5,\n\t\t\t\tTOUCH_DOLLY_ROTATE: 6\n\t\t\t};\n\t\t\tlet state = STATE.NONE;\n\t\t\tconst EPS = 0.000001; // current position in spherical coordinates\n\n\t\t\tconst spherical = new THREE.Spherical();\n\t\t\tconst sphericalDelta = new THREE.Spherical();\n\t\t\tlet scale = 1;\n\t\t\tconst panOffset = new THREE.Vector3();\n\t\t\tlet zoomChanged = false;\n\t\t\tconst rotateStart = new THREE.Vector2();\n\t\t\tconst rotateEnd = new THREE.Vector2();\n\t\t\tconst rotateDelta = new THREE.Vector2();\n\t\t\tconst panStart = new THREE.Vector2();\n\t\t\tconst panEnd = new THREE.Vector2();\n\t\t\tconst panDelta = new THREE.Vector2();\n\t\t\tconst dollyStart = new THREE.Vector2();\n\t\t\tconst dollyEnd = new THREE.Vector2();\n\t\t\tconst dollyDelta = new THREE.Vector2();\n\t\t\tconst pointers = [];\n\t\t\tconst pointerPositions = {};\n\n\t\t\tfunction getAutoRotationAngle() {\n\n\t\t\t\treturn 2 * Math.PI / 60 / 60 * scope.autoRotateSpeed;\n\n\t\t\t}\n\n\t\t\tfunction getZoomScale() {\n\n\t\t\t\treturn Math.pow( 0.95, scope.zoomSpeed );\n\n\t\t\t}\n\n\t\t\tfunction rotateLeft( angle ) {\n\n\t\t\t\tsphericalDelta.theta -= angle;\n\n\t\t\t}\n\n\t\t\tfunction rotateUp( angle ) {\n\n\t\t\t\tsphericalDelta.phi -= angle;\n\n\t\t\t}\n\n\t\t\tconst panLeft = function () {\n\n\t\t\t\tconst v = new THREE.Vector3();\n\t\t\t\treturn function panLeft( distance, objectMatrix ) {\n\n\t\t\t\t\tv.setFromMatrixColumn( objectMatrix, 0 ); // get X column of objectMatrix\n\n\t\t\t\t\tv.multiplyScalar( - distance );\n\t\t\t\t\tpanOffset.add( v );\n\n\t\t\t\t};\n\n\t\t\t}();\n\n\t\t\tconst panUp = function () {\n\n\t\t\t\tconst v = new THREE.Vector3();\n\t\t\t\treturn function panUp( distance, objectMatrix ) {\n\n\t\t\t\t\tif ( scope.screenSpacePanning === true ) {\n\n\t\t\t\t\t\tv.setFromMatrixColumn( objectMatrix, 1 );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tv.setFromMatrixColumn( objectMatrix, 0 );\n\t\t\t\t\t\tv.crossVectors( scope.object.up, v );\n\n\t\t\t\t\t}\n\n\t\t\t\t\tv.multiplyScalar( distance );\n\t\t\t\t\tpanOffset.add( v );\n\n\t\t\t\t};\n\n\t\t\t}(); // deltaX and deltaY are in pixels; right and down are positive\n\n\n\t\t\tconst pan = function () {\n\n\t\t\t\tconst offset = new THREE.Vector3();\n\t\t\t\treturn function pan( deltaX, deltaY ) {\n\n\t\t\t\t\tconst element = scope.domElement;\n\n\t\t\t\t\tif ( scope.object.isPerspectiveCamera ) {\n\n\t\t\t\t\t\t// perspective\n\t\t\t\t\t\tconst position = scope.object.position;\n\t\t\t\t\t\toffset.copy( position ).sub( scope.target );\n\t\t\t\t\t\tlet targetDistance = offset.length(); // half of the fov is center to top of screen\n\n\t\t\t\t\t\ttargetDistance *= Math.tan( scope.object.fov / 2 * Math.PI / 180.0 ); // we use only clientHeight here so aspect ratio does not distort speed\n\n\t\t\t\t\t\tpanLeft( 2 * deltaX * targetDistance / element.clientHeight, scope.object.matrix );\n\t\t\t\t\t\tpanUp( 2 * deltaY * targetDistance / element.clientHeight, scope.object.matrix );\n\n\t\t\t\t\t} else if ( scope.object.isOrthographicCamera ) {\n\n\t\t\t\t\t\t// orthographic\n\t\t\t\t\t\tpanLeft( deltaX * ( scope.object.right - scope.object.left ) / scope.object.zoom / element.clientWidth, scope.object.matrix );\n\t\t\t\t\t\tpanUp( deltaY * ( scope.object.top - scope.object.bottom ) / scope.object.zoom / element.clientHeight, scope.object.matrix );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// camera neither orthographic nor perspective\n\t\t\t\t\t\tconsole.warn( 'WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.' );\n\t\t\t\t\t\tscope.enablePan = false;\n\n\t\t\t\t\t}\n\n\t\t\t\t};\n\n\t\t\t}();\n\n\t\t\tfunction dollyOut( dollyScale ) {\n\n\t\t\t\tif ( scope.object.isPerspectiveCamera ) {\n\n\t\t\t\t\tscale /= dollyScale;\n\n\t\t\t\t} else if ( scope.object.isOrthographicCamera ) {\n\n\t\t\t\t\tscope.object.zoom = Math.max( scope.minZoom, Math.min( scope.maxZoom, scope.object.zoom * dollyScale ) );\n\t\t\t\t\tscope.object.updateProjectionMatrix();\n\t\t\t\t\tzoomChanged = true;\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconsole.warn( 'WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.' );\n\t\t\t\t\tscope.enableZoom = false;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction dollyIn( dollyScale ) {\n\n\t\t\t\tif ( scope.object.isPerspectiveCamera ) {\n\n\t\t\t\t\tscale *= dollyScale;\n\n\t\t\t\t} else if ( scope.object.isOrthographicCamera ) {\n\n\t\t\t\t\tscope.object.zoom = Math.max( scope.minZoom, Math.min( scope.maxZoom, scope.object.zoom / dollyScale ) );\n\t\t\t\t\tscope.object.updateProjectionMatrix();\n\t\t\t\t\tzoomChanged = true;\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconsole.warn( 'WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled.' );\n\t\t\t\t\tscope.enableZoom = false;\n\n\t\t\t\t}\n\n\t\t\t} //\n\t\t\t// event callbacks - update the object state\n\t\t\t//\n\n\n\t\t\tfunction handleMouseDownRotate( event ) {\n\n\t\t\t\trotateStart.set( event.clientX, event.clientY );\n\n\t\t\t}\n\n\t\t\tfunction handleMouseDownDolly( event ) {\n\n\t\t\t\tdollyStart.set( event.clientX, event.clientY );\n\n\t\t\t}\n\n\t\t\tfunction handleMouseDownPan( event ) {\n\n\t\t\t\tpanStart.set( event.clientX, event.clientY );\n\n\t\t\t}\n\n\t\t\tfunction handleMouseMoveRotate( event ) {\n\n\t\t\t\trotateEnd.set( event.clientX, event.clientY );\n\t\t\t\trotateDelta.subVectors( rotateEnd, rotateStart ).multiplyScalar( scope.rotateSpeed );\n\t\t\t\tconst element = scope.domElement;\n\t\t\t\trotateLeft( 2 * Math.PI * rotateDelta.x / element.clientHeight ); // yes, height\n\n\t\t\t\trotateUp( 2 * Math.PI * rotateDelta.y / element.clientHeight );\n\t\t\t\trotateStart.copy( rotateEnd );\n\t\t\t\tscope.update();\n\n\t\t\t}\n\n\t\t\tfunction handleMouseMoveDolly( event ) {\n\n\t\t\t\tdollyEnd.set( event.clientX, event.clientY );\n\t\t\t\tdollyDelta.subVectors( dollyEnd, dollyStart );\n\n\t\t\t\tif ( dollyDelta.y > 0 ) {\n\n\t\t\t\t\tdollyOut( getZoomScale() );\n\n\t\t\t\t} else if ( dollyDelta.y < 0 ) {\n\n\t\t\t\t\tdollyIn( getZoomScale() );\n\n\t\t\t\t}\n\n\t\t\t\tdollyStart.copy( dollyEnd );\n\t\t\t\tscope.update();\n\n\t\t\t}\n\n\t\t\tfunction handleMouseMovePan( event ) {\n\n\t\t\t\tpanEnd.set( event.clientX, event.clientY );\n\t\t\t\tpanDelta.subVectors( panEnd, panStart ).multiplyScalar( scope.panSpeed );\n\t\t\t\tpan( panDelta.x, panDelta.y );\n\t\t\t\tpanStart.copy( panEnd );\n\t\t\t\tscope.update();\n\n\t\t\t}\n\n\t\t\tfunction handleMouseWheel( event ) {\n\n\t\t\t\tif ( event.deltaY < 0 ) {\n\n\t\t\t\t\tdollyIn( getZoomScale() );\n\n\t\t\t\t} else if ( event.deltaY > 0 ) {\n\n\t\t\t\t\tdollyOut( getZoomScale() );\n\n\t\t\t\t}\n\n\t\t\t\tscope.update();\n\n\t\t\t}\n\n\t\t\tfunction handleKeyDown( event ) {\n\n\t\t\t\tlet needsUpdate = false;\n\n\t\t\t\tswitch ( event.code ) {\n\n\t\t\t\t\tcase scope.keys.UP:\n\t\t\t\t\t\tpan( 0, scope.keyPanSpeed );\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase scope.keys.BOTTOM:\n\t\t\t\t\t\tpan( 0, - scope.keyPanSpeed );\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase scope.keys.LEFT:\n\t\t\t\t\t\tpan( scope.keyPanSpeed, 0 );\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase scope.keys.RIGHT:\n\t\t\t\t\t\tpan( - scope.keyPanSpeed, 0 );\n\t\t\t\t\t\tneedsUpdate = true;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t\tif ( needsUpdate ) {\n\n\t\t\t\t\t// prevent the browser from scrolling on cursor keys\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\tscope.update();\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction handleTouchStartRotate() {\n\n\t\t\t\tif ( pointers.length === 1 ) {\n\n\t\t\t\t\trotateStart.set( pointers[ 0 ].pageX, pointers[ 0 ].pageY );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconst x = 0.5 * ( pointers[ 0 ].pageX + pointers[ 1 ].pageX );\n\t\t\t\t\tconst y = 0.5 * ( pointers[ 0 ].pageY + pointers[ 1 ].pageY );\n\t\t\t\t\trotateStart.set( x, y );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction handleTouchStartPan() {\n\n\t\t\t\tif ( pointers.length === 1 ) {\n\n\t\t\t\t\tpanStart.set( pointers[ 0 ].pageX, pointers[ 0 ].pageY );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconst x = 0.5 * ( pointers[ 0 ].pageX + pointers[ 1 ].pageX );\n\t\t\t\t\tconst y = 0.5 * ( pointers[ 0 ].pageY + pointers[ 1 ].pageY );\n\t\t\t\t\tpanStart.set( x, y );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction handleTouchStartDolly() {\n\n\t\t\t\tconst dx = pointers[ 0 ].pageX - pointers[ 1 ].pageX;\n\t\t\t\tconst dy = pointers[ 0 ].pageY - pointers[ 1 ].pageY;\n\t\t\t\tconst distance = Math.sqrt( dx * dx + dy * dy );\n\t\t\t\tdollyStart.set( 0, distance );\n\n\t\t\t}\n\n\t\t\tfunction handleTouchStartDollyPan() {\n\n\t\t\t\tif ( scope.enableZoom ) handleTouchStartDolly();\n\t\t\t\tif ( scope.enablePan ) handleTouchStartPan();\n\n\t\t\t}\n\n\t\t\tfunction handleTouchStartDollyRotate() {\n\n\t\t\t\tif ( scope.enableZoom ) handleTouchStartDolly();\n\t\t\t\tif ( scope.enableRotate ) handleTouchStartRotate();\n\n\t\t\t}\n\n\t\t\tfunction handleTouchMoveRotate( event ) {\n\n\t\t\t\tif ( pointers.length == 1 ) {\n\n\t\t\t\t\trotateEnd.set( event.pageX, event.pageY );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconst position = getSecondPointerPosition( event );\n\t\t\t\t\tconst x = 0.5 * ( event.pageX + position.x );\n\t\t\t\t\tconst y = 0.5 * ( event.pageY + position.y );\n\t\t\t\t\trotateEnd.set( x, y );\n\n\t\t\t\t}\n\n\t\t\t\trotateDelta.subVectors( rotateEnd, rotateStart ).multiplyScalar( scope.rotateSpeed );\n\t\t\t\tconst element = scope.domElement;\n\t\t\t\trotateLeft( 2 * Math.PI * rotateDelta.x / element.clientHeight ); // yes, height\n\n\t\t\t\trotateUp( 2 * Math.PI * rotateDelta.y / element.clientHeight );\n\t\t\t\trotateStart.copy( rotateEnd );\n\n\t\t\t}\n\n\t\t\tfunction handleTouchMovePan( event ) {\n\n\t\t\t\tif ( pointers.length === 1 ) {\n\n\t\t\t\t\tpanEnd.set( event.pageX, event.pageY );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconst position = getSecondPointerPosition( event );\n\t\t\t\t\tconst x = 0.5 * ( event.pageX + position.x );\n\t\t\t\t\tconst y = 0.5 * ( event.pageY + position.y );\n\t\t\t\t\tpanEnd.set( x, y );\n\n\t\t\t\t}\n\n\t\t\t\tpanDelta.subVectors( panEnd, panStart ).multiplyScalar( scope.panSpeed );\n\t\t\t\tpan( panDelta.x, panDelta.y );\n\t\t\t\tpanStart.copy( panEnd );\n\n\t\t\t}\n\n\t\t\tfunction handleTouchMoveDolly( event ) {\n\n\t\t\t\tconst position = getSecondPointerPosition( event );\n\t\t\t\tconst dx = event.pageX - position.x;\n\t\t\t\tconst dy = event.pageY - position.y;\n\t\t\t\tconst distance = Math.sqrt( dx * dx + dy * dy );\n\t\t\t\tdollyEnd.set( 0, distance );\n\t\t\t\tdollyDelta.set( 0, Math.pow( dollyEnd.y / dollyStart.y, scope.zoomSpeed ) );\n\t\t\t\tdollyOut( dollyDelta.y );\n\t\t\t\tdollyStart.copy( dollyEnd );\n\n\t\t\t}\n\n\t\t\tfunction handleTouchMoveDollyPan( event ) {\n\n\t\t\t\tif ( scope.enableZoom ) handleTouchMoveDolly( event );\n\t\t\t\tif ( scope.enablePan ) handleTouchMovePan( event );\n\n\t\t\t}\n\n\t\t\tfunction handleTouchMoveDollyRotate( event ) {\n\n\t\t\t\tif ( scope.enableZoom ) handleTouchMoveDolly( event );\n\t\t\t\tif ( scope.enableRotate ) handleTouchMoveRotate( event );\n\n\t\t\t} //\n\t\t\t// event handlers - FSM: listen for events and reset state\n\t\t\t//\n\n\n\t\t\tfunction onPointerDown( event ) {\n\n\t\t\t\tif ( scope.enabled === false ) return;\n\n\t\t\t\tif ( pointers.length === 0 ) {\n\n\t\t\t\t\tscope.domElement.setPointerCapture( event.pointerId );\n\t\t\t\t\tscope.domElement.addEventListener( 'pointermove', onPointerMove );\n\t\t\t\t\tscope.domElement.addEventListener( 'pointerup', onPointerUp );\n\n\t\t\t\t} //\n\n\n\t\t\t\taddPointer( event );\n\n\t\t\t\tif ( event.pointerType === 'touch' ) {\n\n\t\t\t\t\tonTouchStart( event );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tonMouseDown( event );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onPointerMove( event ) {\n\n\t\t\t\tif ( scope.enabled === false ) return;\n\n\t\t\t\tif ( event.pointerType === 'touch' ) {\n\n\t\t\t\t\tonTouchMove( event );\n\n\t\t\t\t} else {\n\n\t\t\t\t\tonMouseMove( event );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onPointerUp( event ) {\n\n\t\t\t\tremovePointer( event );\n\n\t\t\t\tif ( pointers.length === 0 ) {\n\n\t\t\t\t\tscope.domElement.releasePointerCapture( event.pointerId );\n\t\t\t\t\tscope.domElement.removeEventListener( 'pointermove', onPointerMove );\n\t\t\t\t\tscope.domElement.removeEventListener( 'pointerup', onPointerUp );\n\n\t\t\t\t}\n\n\t\t\t\tscope.dispatchEvent( _endEvent );\n\t\t\t\tstate = STATE.NONE;\n\n\t\t\t}\n\n\t\t\tfunction onPointerCancel( event ) {\n\n\t\t\t\tremovePointer( event );\n\n\t\t\t}\n\n\t\t\tfunction onMouseDown( event ) {\n\n\t\t\t\tlet mouseAction;\n\n\t\t\t\tswitch ( event.button ) {\n\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tmouseAction = scope.mouseButtons.LEFT;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tmouseAction = scope.mouseButtons.MIDDLE;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tmouseAction = scope.mouseButtons.RIGHT;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tmouseAction = - 1;\n\n\t\t\t\t}\n\n\t\t\t\tswitch ( mouseAction ) {\n\n\t\t\t\t\tcase THREE.MOUSE.DOLLY:\n\t\t\t\t\t\tif ( scope.enableZoom === false ) return;\n\t\t\t\t\t\thandleMouseDownDolly( event );\n\t\t\t\t\t\tstate = STATE.DOLLY;\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase THREE.MOUSE.ROTATE:\n\t\t\t\t\t\tif ( event.ctrlKey || event.metaKey || event.shiftKey ) {\n\n\t\t\t\t\t\t\tif ( scope.enablePan === false ) return;\n\t\t\t\t\t\t\thandleMouseDownPan( event );\n\t\t\t\t\t\t\tstate = STATE.PAN;\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tif ( scope.enableRotate === false ) return;\n\t\t\t\t\t\t\thandleMouseDownRotate( event );\n\t\t\t\t\t\t\tstate = STATE.ROTATE;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase THREE.MOUSE.PAN:\n\t\t\t\t\t\tif ( event.ctrlKey || event.metaKey || event.shiftKey ) {\n\n\t\t\t\t\t\t\tif ( scope.enableRotate === false ) return;\n\t\t\t\t\t\t\thandleMouseDownRotate( event );\n\t\t\t\t\t\t\tstate = STATE.ROTATE;\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\tif ( scope.enablePan === false ) return;\n\t\t\t\t\t\t\thandleMouseDownPan( event );\n\t\t\t\t\t\t\tstate = STATE.PAN;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tstate = STATE.NONE;\n\n\t\t\t\t}\n\n\t\t\t\tif ( state !== STATE.NONE ) {\n\n\t\t\t\t\tscope.dispatchEvent( _startEvent );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onMouseMove( event ) {\n\n\t\t\t\tif ( scope.enabled === false ) return;\n\n\t\t\t\tswitch ( state ) {\n\n\t\t\t\t\tcase STATE.ROTATE:\n\t\t\t\t\t\tif ( scope.enableRotate === false ) return;\n\t\t\t\t\t\thandleMouseMoveRotate( event );\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase STATE.DOLLY:\n\t\t\t\t\t\tif ( scope.enableZoom === false ) return;\n\t\t\t\t\t\thandleMouseMoveDolly( event );\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase STATE.PAN:\n\t\t\t\t\t\tif ( scope.enablePan === false ) return;\n\t\t\t\t\t\thandleMouseMovePan( event );\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onMouseWheel( event ) {\n\n\t\t\t\tif ( scope.enabled === false || scope.enableZoom === false || state !== STATE.NONE ) return;\n\t\t\t\tevent.preventDefault();\n\t\t\t\tscope.dispatchEvent( _startEvent );\n\t\t\t\thandleMouseWheel( event );\n\t\t\t\tscope.dispatchEvent( _endEvent );\n\n\t\t\t}\n\n\t\t\tfunction onKeyDown( event ) {\n\n\t\t\t\tif ( scope.enabled === false || scope.enablePan === false ) return;\n\t\t\t\thandleKeyDown( event );\n\n\t\t\t}\n\n\t\t\tfunction onTouchStart( event ) {\n\n\t\t\t\ttrackPointer( event );\n\n\t\t\t\tswitch ( pointers.length ) {\n\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tswitch ( scope.touches.ONE ) {\n\n\t\t\t\t\t\t\tcase THREE.TOUCH.ROTATE:\n\t\t\t\t\t\t\t\tif ( scope.enableRotate === false ) return;\n\t\t\t\t\t\t\t\thandleTouchStartRotate();\n\t\t\t\t\t\t\t\tstate = STATE.TOUCH_ROTATE;\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase THREE.TOUCH.PAN:\n\t\t\t\t\t\t\t\tif ( scope.enablePan === false ) return;\n\t\t\t\t\t\t\t\thandleTouchStartPan();\n\t\t\t\t\t\t\t\tstate = STATE.TOUCH_PAN;\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tstate = STATE.NONE;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tswitch ( scope.touches.TWO ) {\n\n\t\t\t\t\t\t\tcase THREE.TOUCH.DOLLY_PAN:\n\t\t\t\t\t\t\t\tif ( scope.enableZoom === false && scope.enablePan === false ) return;\n\t\t\t\t\t\t\t\thandleTouchStartDollyPan();\n\t\t\t\t\t\t\t\tstate = STATE.TOUCH_DOLLY_PAN;\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tcase THREE.TOUCH.DOLLY_ROTATE:\n\t\t\t\t\t\t\t\tif ( scope.enableZoom === false && scope.enableRotate === false ) return;\n\t\t\t\t\t\t\t\thandleTouchStartDollyRotate();\n\t\t\t\t\t\t\t\tstate = STATE.TOUCH_DOLLY_ROTATE;\n\t\t\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t\t\tdefault:\n\t\t\t\t\t\t\t\tstate = STATE.NONE;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tstate = STATE.NONE;\n\n\t\t\t\t}\n\n\t\t\t\tif ( state !== STATE.NONE ) {\n\n\t\t\t\t\tscope.dispatchEvent( _startEvent );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onTouchMove( event ) {\n\n\t\t\t\ttrackPointer( event );\n\n\t\t\t\tswitch ( state ) {\n\n\t\t\t\t\tcase STATE.TOUCH_ROTATE:\n\t\t\t\t\t\tif ( scope.enableRotate === false ) return;\n\t\t\t\t\t\thandleTouchMoveRotate( event );\n\t\t\t\t\t\tscope.update();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase STATE.TOUCH_PAN:\n\t\t\t\t\t\tif ( scope.enablePan === false ) return;\n\t\t\t\t\t\thandleTouchMovePan( event );\n\t\t\t\t\t\tscope.update();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase STATE.TOUCH_DOLLY_PAN:\n\t\t\t\t\t\tif ( scope.enableZoom === false && scope.enablePan === false ) return;\n\t\t\t\t\t\thandleTouchMoveDollyPan( event );\n\t\t\t\t\t\tscope.update();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tcase STATE.TOUCH_DOLLY_ROTATE:\n\t\t\t\t\t\tif ( scope.enableZoom === false && scope.enableRotate === false ) return;\n\t\t\t\t\t\thandleTouchMoveDollyRotate( event );\n\t\t\t\t\t\tscope.update();\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\tdefault:\n\t\t\t\t\t\tstate = STATE.NONE;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction onContextMenu( event ) {\n\n\t\t\t\tif ( scope.enabled === false ) return;\n\t\t\t\tevent.preventDefault();\n\n\t\t\t}\n\n\t\t\tfunction addPointer( event ) {\n\n\t\t\t\tpointers.push( event );\n\n\t\t\t}\n\n\t\t\tfunction removePointer( event ) {\n\n\t\t\t\tdelete pointerPositions[ event.pointerId ];\n\n\t\t\t\tfor ( let i = 0; i < pointers.length; i ++ ) {\n\n\t\t\t\t\tif ( pointers[ i ].pointerId == event.pointerId ) {\n\n\t\t\t\t\t\tpointers.splice( i, 1 );\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfunction trackPointer( event ) {\n\n\t\t\t\tlet position = pointerPositions[ event.pointerId ];\n\n\t\t\t\tif ( position === undefined ) {\n\n\t\t\t\t\tposition = new THREE.Vector2();\n\t\t\t\t\tpointerPositions[ event.pointerId ] = position;\n\n\t\t\t\t}\n\n\t\t\t\tposition.set( event.pageX, event.pageY );\n\n\t\t\t}\n\n\t\t\tfunction getSecondPointerPosition( event ) {\n\n\t\t\t\tconst pointer = event.pointerId === pointers[ 0 ].pointerId ? pointers[ 1 ] : pointers[ 0 ];\n\t\t\t\treturn pointerPositions[ pointer.pointerId ];\n\n\t\t\t} //\n\n\n\t\t\tscope.domElement.addEventListener( 'contextmenu', onContextMenu );\n\t\t\tscope.domElement.addEventListener( 'pointerdown', onPointerDown );\n\t\t\tscope.domElement.addEventListener( 'pointercancel', onPointerCancel );\n\t\t\tscope.domElement.addEventListener( 'wheel', onMouseWheel, {\n\t\t\t\tpassive: false\n\t\t\t} ); // force an update at start\n\n\t\t\tthis.update();\n\n\t\t}\n\n\t} // This set of controls performs orbiting, dollying (zooming), and panning.\n\t// Unlike TrackballControls, it maintains the \"up\" direction object.up (+Y by default).\n\t// This is very similar to OrbitControls, another set of touch behavior\n\t//\n\t//    Orbit - right mouse, or left mouse + ctrl/meta/shiftKey / touch: two-finger rotate\n\t//    Zoom - middle mouse, or mousewheel / touch: two-finger spread or squish\n\t//    Pan - left mouse, or arrow keys / touch: one-finger move\n\n\n\tclass MapControls extends OrbitControls {\n\n\t\tconstructor( object, domElement ) {\n\n\t\t\tsuper( object, domElement );\n\t\t\tthis.screenSpacePanning = false; // pan orthogonal to world-space direction camera.up\n\n\t\t\tthis.mouseButtons.LEFT = THREE.MOUSE.PAN;\n\t\t\tthis.mouseButtons.RIGHT = THREE.MOUSE.ROTATE;\n\t\t\tthis.touches.ONE = THREE.TOUCH.PAN;\n\t\t\tthis.touches.TWO = THREE.TOUCH.DOLLY_ROTATE;\n\n\t\t}\n\n\t}\n\n\tTHREE.MapControls = MapControls;\n\tTHREE.OrbitControls = OrbitControls;\n\n} )();\n","( function () {\n\n\tfunction computeTangents() {\n\n\t\tthrow new Error( 'BufferGeometryUtils: computeTangents renamed to computeMikkTSpaceTangents.' );\n\n\t}\n\n\tfunction computeMikkTSpaceTangents( geometry, MikkTSpace, negateSign = true ) {\n\n\t\tif ( ! MikkTSpace || ! MikkTSpace.isReady ) {\n\n\t\t\tthrow new Error( 'BufferGeometryUtils: Initialized MikkTSpace library required.' );\n\n\t\t}\n\n\t\tif ( ! geometry.hasAttribute( 'position' ) || ! geometry.hasAttribute( 'normal' ) || ! geometry.hasAttribute( 'uv' ) ) {\n\n\t\t\tthrow new Error( 'BufferGeometryUtils: Tangents require \"position\", \"normal\", and \"uv\" attributes.' );\n\n\t\t}\n\n\t\tfunction getAttributeArray( attribute ) {\n\n\t\t\tif ( attribute.normalized || attribute.isInterleavedBufferAttribute ) {\n\n\t\t\t\tconst srcArray = attribute.isInterleavedBufferAttribute ? attribute.data.array : attribute.array;\n\t\t\t\tconst dstArray = new Float32Array( attribute.getCount() * attribute.itemSize );\n\n\t\t\t\tfor ( let i = 0, j = 0; i < attribute.getCount(); i ++ ) {\n\n\t\t\t\t\tdstArray[ j ++ ] = THREE.MathUtils.denormalize( attribute.getX( i ), srcArray );\n\t\t\t\t\tdstArray[ j ++ ] = THREE.MathUtils.denormalize( attribute.getY( i ), srcArray );\n\n\t\t\t\t\tif ( attribute.itemSize > 2 ) {\n\n\t\t\t\t\t\tdstArray[ j ++ ] = THREE.MathUtils.denormalize( attribute.getZ( i ), srcArray );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\treturn dstArray;\n\n\t\t\t}\n\n\t\t\tif ( attribute.array instanceof Float32Array ) {\n\n\t\t\t\treturn attribute.array;\n\n\t\t\t}\n\n\t\t\treturn new Float32Array( attribute.array );\n\n\t\t} // MikkTSpace algorithm requires non-indexed input.\n\n\n\t\tconst _geometry = geometry.index ? geometry.toNonIndexed() : geometry; // Compute vertex tangents.\n\n\n\t\tconst tangents = MikkTSpace.generateTangents( getAttributeArray( _geometry.attributes.position ), getAttributeArray( _geometry.attributes.normal ), getAttributeArray( _geometry.attributes.uv ) ); // Texture coordinate convention of glTF differs from the apparent\n\t\t// default of the MikkTSpace library; .w component must be flipped.\n\n\t\tif ( negateSign ) {\n\n\t\t\tfor ( let i = 3; i < tangents.length; i += 4 ) {\n\n\t\t\t\ttangents[ i ] *= - 1;\n\n\t\t\t}\n\n\t\t} //\n\n\n\t\t_geometry.setAttribute( 'tangent', new THREE.BufferAttribute( tangents, 4 ) );\n\n\t\tif ( geometry !== _geometry ) {\n\n\t\t\tgeometry.copy( _geometry );\n\n\t\t}\n\n\t\treturn geometry;\n\n\t}\n\t/**\n * @param  {Array<BufferGeometry>} geometries\n * @param  {Boolean} useGroups\n * @return {BufferGeometry}\n */\n\n\n\tfunction mergeBufferGeometries( geometries, useGroups = false ) {\n\n\t\tconst isIndexed = geometries[ 0 ].index !== null;\n\t\tconst attributesUsed = new Set( Object.keys( geometries[ 0 ].attributes ) );\n\t\tconst morphAttributesUsed = new Set( Object.keys( geometries[ 0 ].morphAttributes ) );\n\t\tconst attributes = {};\n\t\tconst morphAttributes = {};\n\t\tconst morphTargetsRelative = geometries[ 0 ].morphTargetsRelative;\n\t\tconst mergedGeometry = new THREE.BufferGeometry();\n\t\tlet offset = 0;\n\n\t\tfor ( let i = 0; i < geometries.length; ++ i ) {\n\n\t\t\tconst geometry = geometries[ i ];\n\t\t\tlet attributesCount = 0; // ensure that all geometries are indexed, or none\n\n\t\t\tif ( isIndexed !== ( geometry.index !== null ) ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '. All geometries must have compatible attributes; make sure index attribute exists among all geometries, or in none of them.' );\n\t\t\t\treturn null;\n\n\t\t\t} // gather attributes, exit early if they're different\n\n\n\t\t\tfor ( const name in geometry.attributes ) {\n\n\t\t\t\tif ( ! attributesUsed.has( name ) ) {\n\n\t\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '. All geometries must have compatible attributes; make sure \"' + name + '\" attribute exists among all geometries, or in none of them.' );\n\t\t\t\t\treturn null;\n\n\t\t\t\t}\n\n\t\t\t\tif ( attributes[ name ] === undefined ) attributes[ name ] = [];\n\t\t\t\tattributes[ name ].push( geometry.attributes[ name ] );\n\t\t\t\tattributesCount ++;\n\n\t\t\t} // ensure geometries have the same number of attributes\n\n\n\t\t\tif ( attributesCount !== attributesUsed.size ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '. Make sure all geometries have the same number of attributes.' );\n\t\t\t\treturn null;\n\n\t\t\t} // gather morph attributes, exit early if they're different\n\n\n\t\t\tif ( morphTargetsRelative !== geometry.morphTargetsRelative ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '. .morphTargetsRelative must be consistent throughout all geometries.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tfor ( const name in geometry.morphAttributes ) {\n\n\t\t\t\tif ( ! morphAttributesUsed.has( name ) ) {\n\n\t\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '.  .morphAttributes must be consistent throughout all geometries.' );\n\t\t\t\t\treturn null;\n\n\t\t\t\t}\n\n\t\t\t\tif ( morphAttributes[ name ] === undefined ) morphAttributes[ name ] = [];\n\t\t\t\tmorphAttributes[ name ].push( geometry.morphAttributes[ name ] );\n\n\t\t\t} // gather .userData\n\n\n\t\t\tmergedGeometry.userData.mergedUserData = mergedGeometry.userData.mergedUserData || [];\n\t\t\tmergedGeometry.userData.mergedUserData.push( geometry.userData );\n\n\t\t\tif ( useGroups ) {\n\n\t\t\t\tlet count;\n\n\t\t\t\tif ( isIndexed ) {\n\n\t\t\t\t\tcount = geometry.index.count;\n\n\t\t\t\t} else if ( geometry.attributes.position !== undefined ) {\n\n\t\t\t\t\tcount = geometry.attributes.position.count;\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed with geometry at index ' + i + '. The geometry must have either an index or a position attribute' );\n\t\t\t\t\treturn null;\n\n\t\t\t\t}\n\n\t\t\t\tmergedGeometry.addGroup( offset, count, i );\n\t\t\t\toffset += count;\n\n\t\t\t}\n\n\t\t} // merge indices\n\n\n\t\tif ( isIndexed ) {\n\n\t\t\tlet indexOffset = 0;\n\t\t\tconst mergedIndex = [];\n\n\t\t\tfor ( let i = 0; i < geometries.length; ++ i ) {\n\n\t\t\t\tconst index = geometries[ i ].index;\n\n\t\t\t\tfor ( let j = 0; j < index.count; ++ j ) {\n\n\t\t\t\t\tmergedIndex.push( index.getX( j ) + indexOffset );\n\n\t\t\t\t}\n\n\t\t\t\tindexOffset += geometries[ i ].attributes.position.count;\n\n\t\t\t}\n\n\t\t\tmergedGeometry.setIndex( mergedIndex );\n\n\t\t} // merge attributes\n\n\n\t\tfor ( const name in attributes ) {\n\n\t\t\tconst mergedAttribute = mergeBufferAttributes( attributes[ name ] );\n\n\t\t\tif ( ! mergedAttribute ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the ' + name + ' attribute.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tmergedGeometry.setAttribute( name, mergedAttribute );\n\n\t\t} // merge morph attributes\n\n\n\t\tfor ( const name in morphAttributes ) {\n\n\t\t\tconst numMorphTargets = morphAttributes[ name ][ 0 ].length;\n\t\t\tif ( numMorphTargets === 0 ) break;\n\t\t\tmergedGeometry.morphAttributes = mergedGeometry.morphAttributes || {};\n\t\t\tmergedGeometry.morphAttributes[ name ] = [];\n\n\t\t\tfor ( let i = 0; i < numMorphTargets; ++ i ) {\n\n\t\t\t\tconst morphAttributesToMerge = [];\n\n\t\t\t\tfor ( let j = 0; j < morphAttributes[ name ].length; ++ j ) {\n\n\t\t\t\t\tmorphAttributesToMerge.push( morphAttributes[ name ][ j ][ i ] );\n\n\t\t\t\t}\n\n\t\t\t\tconst mergedMorphAttribute = mergeBufferAttributes( morphAttributesToMerge );\n\n\t\t\t\tif ( ! mergedMorphAttribute ) {\n\n\t\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferGeometries() failed while trying to merge the ' + name + ' morphAttribute.' );\n\t\t\t\t\treturn null;\n\n\t\t\t\t}\n\n\t\t\t\tmergedGeometry.morphAttributes[ name ].push( mergedMorphAttribute );\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn mergedGeometry;\n\n\t}\n\t/**\n * @param {Array<BufferAttribute>} attributes\n * @return {BufferAttribute}\n */\n\n\n\tfunction mergeBufferAttributes( attributes ) {\n\n\t\tlet TypedArray;\n\t\tlet itemSize;\n\t\tlet normalized;\n\t\tlet arrayLength = 0;\n\n\t\tfor ( let i = 0; i < attributes.length; ++ i ) {\n\n\t\t\tconst attribute = attributes[ i ];\n\n\t\t\tif ( attribute.isInterleavedBufferAttribute ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. InterleavedBufferAttributes are not supported.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tif ( TypedArray === undefined ) TypedArray = attribute.array.constructor;\n\n\t\t\tif ( TypedArray !== attribute.array.constructor ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. THREE.BufferAttribute.array must be of consistent array types across matching attributes.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tif ( itemSize === undefined ) itemSize = attribute.itemSize;\n\n\t\t\tif ( itemSize !== attribute.itemSize ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. THREE.BufferAttribute.itemSize must be consistent across matching attributes.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tif ( normalized === undefined ) normalized = attribute.normalized;\n\n\t\t\tif ( normalized !== attribute.normalized ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils: .mergeBufferAttributes() failed. THREE.BufferAttribute.normalized must be consistent across matching attributes.' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tarrayLength += attribute.array.length;\n\n\t\t}\n\n\t\tconst array = new TypedArray( arrayLength );\n\t\tlet offset = 0;\n\n\t\tfor ( let i = 0; i < attributes.length; ++ i ) {\n\n\t\t\tarray.set( attributes[ i ].array, offset );\n\t\t\toffset += attributes[ i ].array.length;\n\n\t\t}\n\n\t\treturn new THREE.BufferAttribute( array, itemSize, normalized );\n\n\t}\n\t/**\n * @param {Array<BufferAttribute>} attributes\n * @return {Array<InterleavedBufferAttribute>}\n */\n\n\n\tfunction interleaveAttributes( attributes ) {\n\n\t\t// Interleaves the provided attributes into an THREE.InterleavedBuffer and returns\n\t\t// a set of InterleavedBufferAttributes for each attribute\n\t\tlet TypedArray;\n\t\tlet arrayLength = 0;\n\t\tlet stride = 0; // calculate the the length and type of the interleavedBuffer\n\n\t\tfor ( let i = 0, l = attributes.length; i < l; ++ i ) {\n\n\t\t\tconst attribute = attributes[ i ];\n\t\t\tif ( TypedArray === undefined ) TypedArray = attribute.array.constructor;\n\n\t\t\tif ( TypedArray !== attribute.array.constructor ) {\n\n\t\t\t\tconsole.error( 'AttributeBuffers of different types cannot be interleaved' );\n\t\t\t\treturn null;\n\n\t\t\t}\n\n\t\t\tarrayLength += attribute.array.length;\n\t\t\tstride += attribute.itemSize;\n\n\t\t} // Create the set of buffer attributes\n\n\n\t\tconst interleavedBuffer = new THREE.InterleavedBuffer( new TypedArray( arrayLength ), stride );\n\t\tlet offset = 0;\n\t\tconst res = [];\n\t\tconst getters = [ 'getX', 'getY', 'getZ', 'getW' ];\n\t\tconst setters = [ 'setX', 'setY', 'setZ', 'setW' ];\n\n\t\tfor ( let j = 0, l = attributes.length; j < l; j ++ ) {\n\n\t\t\tconst attribute = attributes[ j ];\n\t\t\tconst itemSize = attribute.itemSize;\n\t\t\tconst count = attribute.count;\n\t\t\tconst iba = new THREE.InterleavedBufferAttribute( interleavedBuffer, itemSize, offset, attribute.normalized );\n\t\t\tres.push( iba );\n\t\t\toffset += itemSize; // Move the data for each attribute into the new interleavedBuffer\n\t\t\t// at the appropriate offset\n\n\t\t\tfor ( let c = 0; c < count; c ++ ) {\n\n\t\t\t\tfor ( let k = 0; k < itemSize; k ++ ) {\n\n\t\t\t\t\tiba[ setters[ k ] ]( c, attribute[ getters[ k ] ]( c ) );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn res;\n\n\t} // returns a new, non-interleaved version of the provided attribute\n\n\n\tfunction deinterleaveAttribute( attribute ) {\n\n\t\tconst cons = attribute.data.array.constructor;\n\t\tconst count = attribute.count;\n\t\tconst itemSize = attribute.itemSize;\n\t\tconst normalized = attribute.normalized;\n\t\tconst array = new cons( count * itemSize );\n\t\tlet newAttribute;\n\n\t\tif ( attribute.isInstancedInterleavedBufferAttribute ) {\n\n\t\t\tnewAttribute = new THREE.InstancedBufferAttribute( array, itemSize, normalized, attribute.meshPerAttribute );\n\n\t\t} else {\n\n\t\t\tnewAttribute = new THREE.BufferAttribute( array, itemSize, normalized );\n\n\t\t}\n\n\t\tfor ( let i = 0; i < count; i ++ ) {\n\n\t\t\tnewAttribute.setX( i, attribute.getX( i ) );\n\n\t\t\tif ( itemSize >= 2 ) {\n\n\t\t\t\tnewAttribute.setY( i, attribute.getY( i ) );\n\n\t\t\t}\n\n\t\t\tif ( itemSize >= 3 ) {\n\n\t\t\t\tnewAttribute.setZ( i, attribute.getZ( i ) );\n\n\t\t\t}\n\n\t\t\tif ( itemSize >= 4 ) {\n\n\t\t\t\tnewAttribute.setW( i, attribute.getW( i ) );\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn newAttribute;\n\n\t} // deinterleaves all attributes on the geometry\n\n\tfunction deinterleaveGeometry( geometry ) {\n\n\t\tconst attributes = geometry.attributes;\n\t\tconst morphTargets = geometry.morphTargets;\n\t\tconst attrMap = new Map();\n\n\t\tfor ( const key in attributes ) {\n\n\t\t\tconst attr = attributes[ key ];\n\n\t\t\tif ( attr.isInterleavedBufferAttribute ) {\n\n\t\t\t\tif ( ! attrMap.has( attr ) ) {\n\n\t\t\t\t\tattrMap.set( attr, deinterleaveAttribute( attr ) );\n\n\t\t\t\t}\n\n\t\t\t\tattributes[ key ] = attrMap.get( attr );\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor ( const key in morphTargets ) {\n\n\t\t\tconst attr = morphTargets[ key ];\n\n\t\t\tif ( attr.isInterleavedBufferAttribute ) {\n\n\t\t\t\tif ( ! attrMap.has( attr ) ) {\n\n\t\t\t\t\tattrMap.set( attr, deinterleaveAttribute( attr ) );\n\n\t\t\t\t}\n\n\t\t\t\tmorphTargets[ key ] = attrMap.get( attr );\n\n\t\t\t}\n\n\t\t}\n\n\t}\n\t/**\n * @param {Array<BufferGeometry>} geometry\n * @return {number}\n */\n\n\tfunction estimateBytesUsed( geometry ) {\n\n\t\t// Return the estimated memory used by this geometry in bytes\n\t\t// Calculate using itemSize, count, and BYTES_PER_ELEMENT to account\n\t\t// for InterleavedBufferAttributes.\n\t\tlet mem = 0;\n\n\t\tfor ( const name in geometry.attributes ) {\n\n\t\t\tconst attr = geometry.getAttribute( name );\n\t\t\tmem += attr.count * attr.itemSize * attr.array.BYTES_PER_ELEMENT;\n\n\t\t}\n\n\t\tconst indices = geometry.getIndex();\n\t\tmem += indices ? indices.count * indices.itemSize * indices.array.BYTES_PER_ELEMENT : 0;\n\t\treturn mem;\n\n\t}\n\t/**\n * @param {BufferGeometry} geometry\n * @param {number} tolerance\n * @return {BufferGeometry>}\n */\n\n\n\tfunction mergeVertices( geometry, tolerance = 1e-4 ) {\n\n\t\ttolerance = Math.max( tolerance, Number.EPSILON ); // Generate an index buffer if the geometry doesn't have one, or optimize it\n\t\t// if it's already available.\n\n\t\tconst hashToIndex = {};\n\t\tconst indices = geometry.getIndex();\n\t\tconst positions = geometry.getAttribute( 'position' );\n\t\tconst vertexCount = indices ? indices.count : positions.count; // next value for triangle indices\n\n\t\tlet nextIndex = 0; // attributes and new attribute arrays\n\n\t\tconst attributeNames = Object.keys( geometry.attributes );\n\t\tconst attrArrays = {};\n\t\tconst morphAttrsArrays = {};\n\t\tconst newIndices = [];\n\t\tconst getters = [ 'getX', 'getY', 'getZ', 'getW' ]; // initialize the arrays\n\n\t\tfor ( let i = 0, l = attributeNames.length; i < l; i ++ ) {\n\n\t\t\tconst name = attributeNames[ i ];\n\t\t\tattrArrays[ name ] = [];\n\t\t\tconst morphAttr = geometry.morphAttributes[ name ];\n\n\t\t\tif ( morphAttr ) {\n\n\t\t\t\tmorphAttrsArrays[ name ] = new Array( morphAttr.length ).fill().map( () => [] );\n\n\t\t\t}\n\n\t\t} // convert the error tolerance to an amount of decimal places to truncate to\n\n\n\t\tconst decimalShift = Math.log10( 1 / tolerance );\n\t\tconst shiftMultiplier = Math.pow( 10, decimalShift );\n\n\t\tfor ( let i = 0; i < vertexCount; i ++ ) {\n\n\t\t\tconst index = indices ? indices.getX( i ) : i; // Generate a hash for the vertex attributes at the current index 'i'\n\n\t\t\tlet hash = '';\n\n\t\t\tfor ( let j = 0, l = attributeNames.length; j < l; j ++ ) {\n\n\t\t\t\tconst name = attributeNames[ j ];\n\t\t\t\tconst attribute = geometry.getAttribute( name );\n\t\t\t\tconst itemSize = attribute.itemSize;\n\n\t\t\t\tfor ( let k = 0; k < itemSize; k ++ ) {\n\n\t\t\t\t\t// double tilde truncates the decimal value\n\t\t\t\t\thash += `${~ ~ ( attribute[ getters[ k ] ]( index ) * shiftMultiplier )},`;\n\n\t\t\t\t}\n\n\t\t\t} // Add another reference to the vertex if it's already\n\t\t\t// used by another index\n\n\n\t\t\tif ( hash in hashToIndex ) {\n\n\t\t\t\tnewIndices.push( hashToIndex[ hash ] );\n\n\t\t\t} else {\n\n\t\t\t\t// copy data to the new index in the attribute arrays\n\t\t\t\tfor ( let j = 0, l = attributeNames.length; j < l; j ++ ) {\n\n\t\t\t\t\tconst name = attributeNames[ j ];\n\t\t\t\t\tconst attribute = geometry.getAttribute( name );\n\t\t\t\t\tconst morphAttr = geometry.morphAttributes[ name ];\n\t\t\t\t\tconst itemSize = attribute.itemSize;\n\t\t\t\t\tconst newarray = attrArrays[ name ];\n\t\t\t\t\tconst newMorphArrays = morphAttrsArrays[ name ];\n\n\t\t\t\t\tfor ( let k = 0; k < itemSize; k ++ ) {\n\n\t\t\t\t\t\tconst getterFunc = getters[ k ];\n\t\t\t\t\t\tnewarray.push( attribute[ getterFunc ]( index ) );\n\n\t\t\t\t\t\tif ( morphAttr ) {\n\n\t\t\t\t\t\t\tfor ( let m = 0, ml = morphAttr.length; m < ml; m ++ ) {\n\n\t\t\t\t\t\t\t\tnewMorphArrays[ m ].push( morphAttr[ m ][ getterFunc ]( index ) );\n\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\thashToIndex[ hash ] = nextIndex;\n\t\t\t\tnewIndices.push( nextIndex );\n\t\t\t\tnextIndex ++;\n\n\t\t\t}\n\n\t\t} // Generate typed arrays from new attribute arrays and update\n\t\t// the attributeBuffers\n\n\n\t\tconst result = geometry.clone();\n\n\t\tfor ( let i = 0, l = attributeNames.length; i < l; i ++ ) {\n\n\t\t\tconst name = attributeNames[ i ];\n\t\t\tconst oldAttribute = geometry.getAttribute( name );\n\t\t\tconst buffer = new oldAttribute.array.constructor( attrArrays[ name ] );\n\t\t\tconst attribute = new THREE.BufferAttribute( buffer, oldAttribute.itemSize, oldAttribute.normalized );\n\t\t\tresult.setAttribute( name, attribute ); // Update the attribute arrays\n\n\t\t\tif ( name in morphAttrsArrays ) {\n\n\t\t\t\tfor ( let j = 0; j < morphAttrsArrays[ name ].length; j ++ ) {\n\n\t\t\t\t\tconst oldMorphAttribute = geometry.morphAttributes[ name ][ j ];\n\t\t\t\t\tconst buffer = new oldMorphAttribute.array.constructor( morphAttrsArrays[ name ][ j ] );\n\t\t\t\t\tconst morphAttribute = new THREE.BufferAttribute( buffer, oldMorphAttribute.itemSize, oldMorphAttribute.normalized );\n\t\t\t\t\tresult.morphAttributes[ name ][ j ] = morphAttribute;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} // indices\n\n\n\t\tresult.setIndex( newIndices );\n\t\treturn result;\n\n\t}\n\t/**\n * @param {BufferGeometry} geometry\n * @param {number} drawMode\n * @return {BufferGeometry>}\n */\n\n\n\tfunction toTrianglesDrawMode( geometry, drawMode ) {\n\n\t\tif ( drawMode === THREE.TrianglesDrawMode ) {\n\n\t\t\tconsole.warn( 'THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles.' );\n\t\t\treturn geometry;\n\n\t\t}\n\n\t\tif ( drawMode === THREE.TriangleFanDrawMode || drawMode === THREE.TriangleStripDrawMode ) {\n\n\t\t\tlet index = geometry.getIndex(); // generate index if not present\n\n\t\t\tif ( index === null ) {\n\n\t\t\t\tconst indices = [];\n\t\t\t\tconst position = geometry.getAttribute( 'position' );\n\n\t\t\t\tif ( position !== undefined ) {\n\n\t\t\t\t\tfor ( let i = 0; i < position.count; i ++ ) {\n\n\t\t\t\t\t\tindices.push( i );\n\n\t\t\t\t\t}\n\n\t\t\t\t\tgeometry.setIndex( indices );\n\t\t\t\t\tindex = geometry.getIndex();\n\n\t\t\t\t} else {\n\n\t\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible.' );\n\t\t\t\t\treturn geometry;\n\n\t\t\t\t}\n\n\t\t\t} //\n\n\n\t\t\tconst numberOfTriangles = index.count - 2;\n\t\t\tconst newIndices = [];\n\n\t\t\tif ( drawMode === THREE.TriangleFanDrawMode ) {\n\n\t\t\t\t// gl.TRIANGLE_FAN\n\t\t\t\tfor ( let i = 1; i <= numberOfTriangles; i ++ ) {\n\n\t\t\t\t\tnewIndices.push( index.getX( 0 ) );\n\t\t\t\t\tnewIndices.push( index.getX( i ) );\n\t\t\t\t\tnewIndices.push( index.getX( i + 1 ) );\n\n\t\t\t\t}\n\n\t\t\t} else {\n\n\t\t\t\t// gl.TRIANGLE_STRIP\n\t\t\t\tfor ( let i = 0; i < numberOfTriangles; i ++ ) {\n\n\t\t\t\t\tif ( i % 2 === 0 ) {\n\n\t\t\t\t\t\tnewIndices.push( index.getX( i ) );\n\t\t\t\t\t\tnewIndices.push( index.getX( i + 1 ) );\n\t\t\t\t\t\tnewIndices.push( index.getX( i + 2 ) );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\tnewIndices.push( index.getX( i + 2 ) );\n\t\t\t\t\t\tnewIndices.push( index.getX( i + 1 ) );\n\t\t\t\t\t\tnewIndices.push( index.getX( i ) );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tif ( newIndices.length / 3 !== numberOfTriangles ) {\n\n\t\t\t\tconsole.error( 'THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.' );\n\n\t\t\t} // build final geometry\n\n\n\t\t\tconst newGeometry = geometry.clone();\n\t\t\tnewGeometry.setIndex( newIndices );\n\t\t\tnewGeometry.clearGroups();\n\t\t\treturn newGeometry;\n\n\t\t} else {\n\n\t\t\tconsole.error( 'THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:', drawMode );\n\t\t\treturn geometry;\n\n\t\t}\n\n\t}\n\t/**\n * Calculates the morphed attributes of a morphed/skinned THREE.BufferGeometry.\n * Helpful for Raytracing or Decals.\n * @param {Mesh | Line | Points} object An instance of Mesh, Line or Points.\n * @return {Object} An Object with original position/normal attributes and morphed ones.\n */\n\n\n\tfunction computeMorphedAttributes( object ) {\n\n\t\tif ( object.geometry.isBufferGeometry !== true ) {\n\n\t\t\tconsole.error( 'THREE.BufferGeometryUtils: Geometry is not of type THREE.BufferGeometry.' );\n\t\t\treturn null;\n\n\t\t}\n\n\t\tconst _vA = new THREE.Vector3();\n\n\t\tconst _vB = new THREE.Vector3();\n\n\t\tconst _vC = new THREE.Vector3();\n\n\t\tconst _tempA = new THREE.Vector3();\n\n\t\tconst _tempB = new THREE.Vector3();\n\n\t\tconst _tempC = new THREE.Vector3();\n\n\t\tconst _morphA = new THREE.Vector3();\n\n\t\tconst _morphB = new THREE.Vector3();\n\n\t\tconst _morphC = new THREE.Vector3();\n\n\t\tfunction _calculateMorphedAttributeData( object, attribute, morphAttribute, morphTargetsRelative, a, b, c, modifiedAttributeArray ) {\n\n\t\t\t_vA.fromBufferAttribute( attribute, a );\n\n\t\t\t_vB.fromBufferAttribute( attribute, b );\n\n\t\t\t_vC.fromBufferAttribute( attribute, c );\n\n\t\t\tconst morphInfluences = object.morphTargetInfluences;\n\n\t\t\tif ( morphAttribute && morphInfluences ) {\n\n\t\t\t\t_morphA.set( 0, 0, 0 );\n\n\t\t\t\t_morphB.set( 0, 0, 0 );\n\n\t\t\t\t_morphC.set( 0, 0, 0 );\n\n\t\t\t\tfor ( let i = 0, il = morphAttribute.length; i < il; i ++ ) {\n\n\t\t\t\t\tconst influence = morphInfluences[ i ];\n\t\t\t\t\tconst morph = morphAttribute[ i ];\n\t\t\t\t\tif ( influence === 0 ) continue;\n\n\t\t\t\t\t_tempA.fromBufferAttribute( morph, a );\n\n\t\t\t\t\t_tempB.fromBufferAttribute( morph, b );\n\n\t\t\t\t\t_tempC.fromBufferAttribute( morph, c );\n\n\t\t\t\t\tif ( morphTargetsRelative ) {\n\n\t\t\t\t\t\t_morphA.addScaledVector( _tempA, influence );\n\n\t\t\t\t\t\t_morphB.addScaledVector( _tempB, influence );\n\n\t\t\t\t\t\t_morphC.addScaledVector( _tempC, influence );\n\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t_morphA.addScaledVector( _tempA.sub( _vA ), influence );\n\n\t\t\t\t\t\t_morphB.addScaledVector( _tempB.sub( _vB ), influence );\n\n\t\t\t\t\t\t_morphC.addScaledVector( _tempC.sub( _vC ), influence );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\t_vA.add( _morphA );\n\n\t\t\t\t_vB.add( _morphB );\n\n\t\t\t\t_vC.add( _morphC );\n\n\t\t\t}\n\n\t\t\tif ( object.isSkinnedMesh ) {\n\n\t\t\t\tobject.boneTransform( a, _vA );\n\t\t\t\tobject.boneTransform( b, _vB );\n\t\t\t\tobject.boneTransform( c, _vC );\n\n\t\t\t}\n\n\t\t\tmodifiedAttributeArray[ a * 3 + 0 ] = _vA.x;\n\t\t\tmodifiedAttributeArray[ a * 3 + 1 ] = _vA.y;\n\t\t\tmodifiedAttributeArray[ a * 3 + 2 ] = _vA.z;\n\t\t\tmodifiedAttributeArray[ b * 3 + 0 ] = _vB.x;\n\t\t\tmodifiedAttributeArray[ b * 3 + 1 ] = _vB.y;\n\t\t\tmodifiedAttributeArray[ b * 3 + 2 ] = _vB.z;\n\t\t\tmodifiedAttributeArray[ c * 3 + 0 ] = _vC.x;\n\t\t\tmodifiedAttributeArray[ c * 3 + 1 ] = _vC.y;\n\t\t\tmodifiedAttributeArray[ c * 3 + 2 ] = _vC.z;\n\n\t\t}\n\n\t\tconst geometry = object.geometry;\n\t\tconst material = object.material;\n\t\tlet a, b, c;\n\t\tconst index = geometry.index;\n\t\tconst positionAttribute = geometry.attributes.position;\n\t\tconst morphPosition = geometry.morphAttributes.position;\n\t\tconst morphTargetsRelative = geometry.morphTargetsRelative;\n\t\tconst normalAttribute = geometry.attributes.normal;\n\t\tconst morphNormal = geometry.morphAttributes.position;\n\t\tconst groups = geometry.groups;\n\t\tconst drawRange = geometry.drawRange;\n\t\tlet i, j, il, jl;\n\t\tlet group;\n\t\tlet start, end;\n\t\tconst modifiedPosition = new Float32Array( positionAttribute.count * positionAttribute.itemSize );\n\t\tconst modifiedNormal = new Float32Array( normalAttribute.count * normalAttribute.itemSize );\n\n\t\tif ( index !== null ) {\n\n\t\t\t// indexed buffer geometry\n\t\t\tif ( Array.isArray( material ) ) {\n\n\t\t\t\tfor ( i = 0, il = groups.length; i < il; i ++ ) {\n\n\t\t\t\t\tgroup = groups[ i ];\n\t\t\t\t\tstart = Math.max( group.start, drawRange.start );\n\t\t\t\t\tend = Math.min( group.start + group.count, drawRange.start + drawRange.count );\n\n\t\t\t\t\tfor ( j = start, jl = end; j < jl; j += 3 ) {\n\n\t\t\t\t\t\ta = index.getX( j );\n\t\t\t\t\t\tb = index.getX( j + 1 );\n\t\t\t\t\t\tc = index.getX( j + 2 );\n\n\t\t\t\t\t\t_calculateMorphedAttributeData( object, positionAttribute, morphPosition, morphTargetsRelative, a, b, c, modifiedPosition );\n\n\t\t\t\t\t\t_calculateMorphedAttributeData( object, normalAttribute, morphNormal, morphTargetsRelative, a, b, c, modifiedNormal );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t} else {\n\n\t\t\t\tstart = Math.max( 0, drawRange.start );\n\t\t\t\tend = Math.min( index.count, drawRange.start + drawRange.count );\n\n\t\t\t\tfor ( i = start, il = end; i < il; i += 3 ) {\n\n\t\t\t\t\ta = index.getX( i );\n\t\t\t\t\tb = index.getX( i + 1 );\n\t\t\t\t\tc = index.getX( i + 2 );\n\n\t\t\t\t\t_calculateMorphedAttributeData( object, positionAttribute, morphPosition, morphTargetsRelative, a, b, c, modifiedPosition );\n\n\t\t\t\t\t_calculateMorphedAttributeData( object, normalAttribute, morphNormal, morphTargetsRelative, a, b, c, modifiedNormal );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// non-indexed buffer geometry\n\t\t\tif ( Array.isArray( material ) ) {\n\n\t\t\t\tfor ( i = 0, il = groups.length; i < il; i ++ ) {\n\n\t\t\t\t\tgroup = groups[ i ];\n\t\t\t\t\tstart = Math.max( group.start, drawRange.start );\n\t\t\t\t\tend = Math.min( group.start + group.count, drawRange.start + drawRange.count );\n\n\t\t\t\t\tfor ( j = start, jl = end; j < jl; j += 3 ) {\n\n\t\t\t\t\t\ta = j;\n\t\t\t\t\t\tb = j + 1;\n\t\t\t\t\t\tc = j + 2;\n\n\t\t\t\t\t\t_calculateMorphedAttributeData( object, positionAttribute, morphPosition, morphTargetsRelative, a, b, c, modifiedPosition );\n\n\t\t\t\t\t\t_calculateMorphedAttributeData( object, normalAttribute, morphNormal, morphTargetsRelative, a, b, c, modifiedNormal );\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t} else {\n\n\t\t\t\tstart = Math.max( 0, drawRange.start );\n\t\t\t\tend = Math.min( positionAttribute.count, drawRange.start + drawRange.count );\n\n\t\t\t\tfor ( i = start, il = end; i < il; i += 3 ) {\n\n\t\t\t\t\ta = i;\n\t\t\t\t\tb = i + 1;\n\t\t\t\t\tc = i + 2;\n\n\t\t\t\t\t_calculateMorphedAttributeData( object, positionAttribute, morphPosition, morphTargetsRelative, a, b, c, modifiedPosition );\n\n\t\t\t\t\t_calculateMorphedAttributeData( object, normalAttribute, morphNormal, morphTargetsRelative, a, b, c, modifiedNormal );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tconst morphedPositionAttribute = new THREE.Float32BufferAttribute( modifiedPosition, 3 );\n\t\tconst morphedNormalAttribute = new THREE.Float32BufferAttribute( modifiedNormal, 3 );\n\t\treturn {\n\t\t\tpositionAttribute: positionAttribute,\n\t\t\tnormalAttribute: normalAttribute,\n\t\t\tmorphedPositionAttribute: morphedPositionAttribute,\n\t\t\tmorphedNormalAttribute: morphedNormalAttribute\n\t\t};\n\n\t}\n\n\tfunction mergeGroups( geometry ) {\n\n\t\tif ( geometry.groups.length === 0 ) {\n\n\t\t\tconsole.warn( 'THREE.BufferGeometryUtils.mergeGroups(): No groups are defined. Nothing to merge.' );\n\t\t\treturn geometry;\n\n\t\t}\n\n\t\tlet groups = geometry.groups; // sort groups by material index\n\n\t\tgroups = groups.sort( ( a, b ) => {\n\n\t\t\tif ( a.materialIndex !== b.materialIndex ) return a.materialIndex - b.materialIndex;\n\t\t\treturn a.start - b.start;\n\n\t\t} ); // create index for non-indexed geometries\n\n\t\tif ( geometry.getIndex() === null ) {\n\n\t\t\tconst positionAttribute = geometry.getAttribute( 'position' );\n\t\t\tconst indices = [];\n\n\t\t\tfor ( let i = 0; i < positionAttribute.count; i += 3 ) {\n\n\t\t\t\tindices.push( i, i + 1, i + 2 );\n\n\t\t\t}\n\n\t\t\tgeometry.setIndex( indices );\n\n\t\t} // sort index\n\n\n\t\tconst index = geometry.getIndex();\n\t\tconst newIndices = [];\n\n\t\tfor ( let i = 0; i < groups.length; i ++ ) {\n\n\t\t\tconst group = groups[ i ];\n\t\t\tconst groupStart = group.start;\n\t\t\tconst groupLength = groupStart + group.count;\n\n\t\t\tfor ( let j = groupStart; j < groupLength; j ++ ) {\n\n\t\t\t\tnewIndices.push( index.getX( j ) );\n\n\t\t\t}\n\n\t\t}\n\n\t\tgeometry.dispose(); // Required to force buffer recreation\n\n\t\tgeometry.setIndex( newIndices ); // update groups indices\n\n\t\tlet start = 0;\n\n\t\tfor ( let i = 0; i < groups.length; i ++ ) {\n\n\t\t\tconst group = groups[ i ];\n\t\t\tgroup.start = start;\n\t\t\tstart += group.count;\n\n\t\t} // merge groups\n\n\n\t\tlet currentGroup = groups[ 0 ];\n\t\tgeometry.groups = [ currentGroup ];\n\n\t\tfor ( let i = 1; i < groups.length; i ++ ) {\n\n\t\t\tconst group = groups[ i ];\n\n\t\t\tif ( currentGroup.materialIndex === group.materialIndex ) {\n\n\t\t\t\tcurrentGroup.count += group.count;\n\n\t\t\t} else {\n\n\t\t\t\tcurrentGroup = group;\n\t\t\t\tgeometry.groups.push( currentGroup );\n\n\t\t\t}\n\n\t\t}\n\n\t\treturn geometry;\n\n\t}\n\n\tTHREE.BufferGeometryUtils = {};\n\tTHREE.BufferGeometryUtils.computeMikkTSpaceTangents = computeMikkTSpaceTangents;\n\tTHREE.BufferGeometryUtils.computeMorphedAttributes = computeMorphedAttributes;\n\tTHREE.BufferGeometryUtils.computeTangents = computeTangents;\n\tTHREE.BufferGeometryUtils.deinterleaveAttribute = deinterleaveAttribute;\n\tTHREE.BufferGeometryUtils.deinterleaveGeometry = deinterleaveGeometry;\n\tTHREE.BufferGeometryUtils.estimateBytesUsed = estimateBytesUsed;\n\tTHREE.BufferGeometryUtils.interleaveAttributes = interleaveAttributes;\n\tTHREE.BufferGeometryUtils.mergeBufferAttributes = mergeBufferAttributes;\n\tTHREE.BufferGeometryUtils.mergeBufferGeometries = mergeBufferGeometries;\n\tTHREE.BufferGeometryUtils.mergeGroups = mergeGroups;\n\tTHREE.BufferGeometryUtils.mergeVertices = mergeVertices;\n\tTHREE.BufferGeometryUtils.toTrianglesDrawMode = toTrianglesDrawMode;\n\n} )();\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nexport default function(color, forceCSSHex) {\n  const colorFormat = color.__state.conversionName.toString();\n\n  const r = Math.round(color.r);\n  const g = Math.round(color.g);\n  const b = Math.round(color.b);\n  const a = color.a;\n  const h = Math.round(color.h);\n  const s = color.s.toFixed(1);\n  const v = color.v.toFixed(1);\n\n  if (forceCSSHex || (colorFormat === 'THREE_CHAR_HEX') || (colorFormat === 'SIX_CHAR_HEX')) {\n    let str = color.hex.toString(16);\n    while (str.length < 6) {\n      str = '0' + str;\n    }\n    return '#' + str;\n  } else if (colorFormat === 'CSS_RGB') {\n    return 'rgb(' + r + ',' + g + ',' + b + ')';\n  } else if (colorFormat === 'CSS_RGBA') {\n    return 'rgba(' + r + ',' + g + ',' + b + ',' + a + ')';\n  } else if (colorFormat === 'HEX') {\n    return '0x' + color.hex.toString(16);\n  } else if (colorFormat === 'RGB_ARRAY') {\n    return '[' + r + ',' + g + ',' + b + ']';\n  } else if (colorFormat === 'RGBA_ARRAY') {\n    return '[' + r + ',' + g + ',' + b + ',' + a + ']';\n  } else if (colorFormat === 'RGB_OBJ') {\n    return '{r:' + r + ',g:' + g + ',b:' + b + '}';\n  } else if (colorFormat === 'RGBA_OBJ') {\n    return '{r:' + r + ',g:' + g + ',b:' + b + ',a:' + a + '}';\n  } else if (colorFormat === 'HSV_OBJ') {\n    return '{h:' + h + ',s:' + s + ',v:' + v + '}';\n  } else if (colorFormat === 'HSVA_OBJ') {\n    return '{h:' + h + ',s:' + s + ',v:' + v + ',a:' + a + '}';\n  }\n\n  return 'unknown format';\n}\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nconst ARR_EACH = Array.prototype.forEach;\nconst ARR_SLICE = Array.prototype.slice;\n\n/**\n * Band-aid methods for things that should be a lot easier in JavaScript.\n * Implementation and structure inspired by underscore.js\n * http://documentcloud.github.com/underscore/\n */\n\nconst Common = {\n  BREAK: {},\n\n  extend: function(target) {\n    this.each(ARR_SLICE.call(arguments, 1), function(obj) {\n      const keys = this.isObject(obj) ? Object.keys(obj) : [];\n      keys.forEach(function(key) {\n        if (!this.isUndefined(obj[key])) {\n          target[key] = obj[key];\n        }\n      }.bind(this));\n    }, this);\n\n    return target;\n  },\n\n  defaults: function(target) {\n    this.each(ARR_SLICE.call(arguments, 1), function(obj) {\n      const keys = this.isObject(obj) ? Object.keys(obj) : [];\n      keys.forEach(function(key) {\n        if (this.isUndefined(target[key])) {\n          target[key] = obj[key];\n        }\n      }.bind(this));\n    }, this);\n\n    return target;\n  },\n\n  compose: function() {\n    const toCall = ARR_SLICE.call(arguments);\n    return function() {\n      let args = ARR_SLICE.call(arguments);\n      for (let i = toCall.length - 1; i >= 0; i--) {\n        args = [toCall[i].apply(this, args)];\n      }\n      return args[0];\n    };\n  },\n\n  each: function(obj, itr, scope) {\n    if (!obj) {\n      return;\n    }\n\n    if (ARR_EACH && obj.forEach && obj.forEach === ARR_EACH) {\n      obj.forEach(itr, scope);\n    } else if (obj.length === obj.length + 0) { // Is number but not NaN\n      let key;\n      let l;\n      for (key = 0, l = obj.length; key < l; key++) {\n        if (key in obj && itr.call(scope, obj[key], key) === this.BREAK) {\n          return;\n        }\n      }\n    } else {\n      for (const key in obj) {\n        if (itr.call(scope, obj[key], key) === this.BREAK) {\n          return;\n        }\n      }\n    }\n  },\n\n  defer: function(fnc) {\n    setTimeout(fnc, 0);\n  },\n\n  // if the function is called repeatedly, wait until threshold passes until we execute the function\n  debounce: function(func, threshold, callImmediately) {\n    let timeout;\n\n    return function() {\n      const obj = this;\n      const args = arguments;\n      function delayed() {\n        timeout = null;\n        if (!callImmediately) func.apply(obj, args);\n      }\n\n      const callNow = callImmediately || !timeout;\n\n      clearTimeout(timeout);\n      timeout = setTimeout(delayed, threshold);\n\n      if (callNow) {\n        func.apply(obj, args);\n      }\n    };\n  },\n\n  toArray: function(obj) {\n    if (obj.toArray) return obj.toArray();\n    return ARR_SLICE.call(obj);\n  },\n\n  isUndefined: function(obj) {\n    return obj === undefined;\n  },\n\n  isNull: function(obj) {\n    return obj === null;\n  },\n\n  isNaN: function(obj) {\n    return isNaN(obj);\n  },\n\n  isArray: Array.isArray || function(obj) {\n    return obj.constructor === Array;\n  },\n\n  isObject: function(obj) {\n    return obj === Object(obj);\n  },\n\n  isNumber: function(obj) {\n    return obj === obj + 0;\n  },\n\n  isString: function(obj) {\n    return obj === obj + '';\n  },\n\n  isBoolean: function(obj) {\n    return obj === false || obj === true;\n  },\n\n  isFunction: function(obj) {\n    return obj instanceof Function;\n  }\n\n};\n\nexport default Common;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport toString from './toString';\nimport common from '../utils/common';\n\nconst INTERPRETATIONS = [\n  // Strings\n  {\n    litmus: common.isString,\n    conversions: {\n      THREE_CHAR_HEX: {\n        read: function(original) {\n          const test = original.match(/^#([A-F0-9])([A-F0-9])([A-F0-9])$/i);\n          if (test === null) {\n            return false;\n          }\n\n          return {\n            space: 'HEX',\n            hex: parseInt(\n              '0x' +\n              test[1].toString() + test[1].toString() +\n              test[2].toString() + test[2].toString() +\n              test[3].toString() + test[3].toString(), 0\n            )\n          };\n        },\n\n        write: toString\n      },\n\n      SIX_CHAR_HEX: {\n        read: function(original) {\n          const test = original.match(/^#([A-F0-9]{6})$/i);\n          if (test === null) {\n            return false;\n          }\n\n          return {\n            space: 'HEX',\n            hex: parseInt('0x' + test[1].toString(), 0)\n          };\n        },\n\n        write: toString\n      },\n\n      CSS_RGB: {\n        read: function(original) {\n          const test = original.match(/^rgb\\(\\s*(\\S+)\\s*,\\s*(\\S+)\\s*,\\s*(\\S+)\\s*\\)/);\n          if (test === null) {\n            return false;\n          }\n\n          return {\n            space: 'RGB',\n            r: parseFloat(test[1]),\n            g: parseFloat(test[2]),\n            b: parseFloat(test[3])\n          };\n        },\n\n        write: toString\n      },\n\n      CSS_RGBA: {\n        read: function(original) {\n          const test = original.match(/^rgba\\(\\s*(\\S+)\\s*,\\s*(\\S+)\\s*,\\s*(\\S+)\\s*,\\s*(\\S+)\\s*\\)/);\n          if (test === null) {\n            return false;\n          }\n\n          return {\n            space: 'RGB',\n            r: parseFloat(test[1]),\n            g: parseFloat(test[2]),\n            b: parseFloat(test[3]),\n            a: parseFloat(test[4])\n          };\n        },\n\n        write: toString\n      }\n    }\n  },\n\n  // Numbers\n  {\n    litmus: common.isNumber,\n\n    conversions: {\n\n      HEX: {\n        read: function(original) {\n          return {\n            space: 'HEX',\n            hex: original,\n            conversionName: 'HEX'\n          };\n        },\n\n        write: function(color) {\n          return color.hex;\n        }\n      }\n\n    }\n\n  },\n\n  // Arrays\n  {\n    litmus: common.isArray,\n    conversions: {\n      RGB_ARRAY: {\n        read: function(original) {\n          if (original.length !== 3) {\n            return false;\n          }\n\n          return {\n            space: 'RGB',\n            r: original[0],\n            g: original[1],\n            b: original[2]\n          };\n        },\n\n        write: function(color) {\n          return [color.r, color.g, color.b];\n        }\n      },\n\n      RGBA_ARRAY: {\n        read: function(original) {\n          if (original.length !== 4) return false;\n          return {\n            space: 'RGB',\n            r: original[0],\n            g: original[1],\n            b: original[2],\n            a: original[3]\n          };\n        },\n\n        write: function(color) {\n          return [color.r, color.g, color.b, color.a];\n        }\n      }\n    }\n  },\n\n  // Objects\n  {\n    litmus: common.isObject,\n    conversions: {\n\n      RGBA_OBJ: {\n        read: function(original) {\n          if (common.isNumber(original.r) &&\n            common.isNumber(original.g) &&\n            common.isNumber(original.b) &&\n            common.isNumber(original.a)) {\n            return {\n              space: 'RGB',\n              r: original.r,\n              g: original.g,\n              b: original.b,\n              a: original.a\n            };\n          }\n          return false;\n        },\n\n        write: function(color) {\n          return {\n            r: color.r,\n            g: color.g,\n            b: color.b,\n            a: color.a\n          };\n        }\n      },\n\n      RGB_OBJ: {\n        read: function(original) {\n          if (common.isNumber(original.r) &&\n            common.isNumber(original.g) &&\n            common.isNumber(original.b)) {\n            return {\n              space: 'RGB',\n              r: original.r,\n              g: original.g,\n              b: original.b\n            };\n          }\n          return false;\n        },\n\n        write: function(color) {\n          return {\n            r: color.r,\n            g: color.g,\n            b: color.b\n          };\n        }\n      },\n\n      HSVA_OBJ: {\n        read: function(original) {\n          if (common.isNumber(original.h) &&\n            common.isNumber(original.s) &&\n            common.isNumber(original.v) &&\n            common.isNumber(original.a)) {\n            return {\n              space: 'HSV',\n              h: original.h,\n              s: original.s,\n              v: original.v,\n              a: original.a\n            };\n          }\n          return false;\n        },\n\n        write: function(color) {\n          return {\n            h: color.h,\n            s: color.s,\n            v: color.v,\n            a: color.a\n          };\n        }\n      },\n\n      HSV_OBJ: {\n        read: function(original) {\n          if (common.isNumber(original.h) &&\n            common.isNumber(original.s) &&\n            common.isNumber(original.v)) {\n            return {\n              space: 'HSV',\n              h: original.h,\n              s: original.s,\n              v: original.v\n            };\n          }\n          return false;\n        },\n\n        write: function(color) {\n          return {\n            h: color.h,\n            s: color.s,\n            v: color.v\n          };\n        }\n      }\n    }\n  }\n];\n\nlet result;\nlet toReturn;\n\nconst interpret = function() {\n  toReturn = false;\n\n  const original = arguments.length > 1 ? common.toArray(arguments) : arguments[0];\n  common.each(INTERPRETATIONS, function(family) {\n    if (family.litmus(original)) {\n      common.each(family.conversions, function(conversion, conversionName) {\n        result = conversion.read(original);\n\n        if (toReturn === false && result !== false) {\n          toReturn = result;\n          result.conversionName = conversionName;\n          result.conversion = conversion;\n          return common.BREAK;\n        }\n      });\n\n      return common.BREAK;\n    }\n  });\n\n  return toReturn;\n};\n\nexport default interpret;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nlet tmpComponent;\n\nconst ColorMath = {\n  hsv_to_rgb: function(h, s, v) {\n    const hi = Math.floor(h / 60) % 6;\n\n    const f = h / 60 - Math.floor(h / 60);\n    const p = v * (1.0 - s);\n    const q = v * (1.0 - (f * s));\n    const t = v * (1.0 - ((1.0 - f) * s));\n\n    const c = [\n      [v, t, p],\n      [q, v, p],\n      [p, v, t],\n      [p, q, v],\n      [t, p, v],\n      [v, p, q]\n    ][hi];\n\n    return {\n      r: c[0] * 255,\n      g: c[1] * 255,\n      b: c[2] * 255\n    };\n  },\n\n  rgb_to_hsv: function(r, g, b) {\n    const min = Math.min(r, g, b);\n    const max = Math.max(r, g, b);\n    const delta = max - min;\n    let h;\n    let s;\n\n    if (max !== 0) {\n      s = delta / max;\n    } else {\n      return {\n        h: NaN,\n        s: 0,\n        v: 0\n      };\n    }\n\n    if (r === max) {\n      h = (g - b) / delta;\n    } else if (g === max) {\n      h = 2 + (b - r) / delta;\n    } else {\n      h = 4 + (r - g) / delta;\n    }\n    h /= 6;\n    if (h < 0) {\n      h += 1;\n    }\n\n    return {\n      h: h * 360,\n      s: s,\n      v: max / 255\n    };\n  },\n\n  rgb_to_hex: function(r, g, b) {\n    let hex = this.hex_with_component(0, 2, r);\n    hex = this.hex_with_component(hex, 1, g);\n    hex = this.hex_with_component(hex, 0, b);\n    return hex;\n  },\n\n  component_from_hex: function(hex, componentIndex) {\n    return (hex >> (componentIndex * 8)) & 0xFF;\n  },\n\n  hex_with_component: function(hex, componentIndex, value) {\n    return value << (tmpComponent = componentIndex * 8) | (hex & ~(0xFF << tmpComponent));\n  }\n};\n\nexport default ColorMath;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport interpret from './interpret';\nimport math from './math';\nimport colorToString from './toString';\nimport common from '../utils/common';\n\nclass Color {\n  constructor() {\n    this.__state = interpret.apply(this, arguments);\n\n    if (this.__state === false) {\n      throw new Error('Failed to interpret color arguments');\n    }\n\n    this.__state.a = this.__state.a || 1;\n  }\n\n  toString() {\n    return colorToString(this);\n  }\n\n  toHexString() {\n    return colorToString(this, true);\n  }\n\n  toOriginal() {\n    return this.__state.conversion.write(this);\n  }\n}\n\nfunction defineRGBComponent(target, component, componentHexIndex) {\n  Object.defineProperty(target, component, {\n    get: function() {\n      if (this.__state.space === 'RGB') {\n        return this.__state[component];\n      }\n\n      Color.recalculateRGB(this, component, componentHexIndex);\n\n      return this.__state[component];\n    },\n\n    set: function(v) {\n      if (this.__state.space !== 'RGB') {\n        Color.recalculateRGB(this, component, componentHexIndex);\n        this.__state.space = 'RGB';\n      }\n\n      this.__state[component] = v;\n    }\n  });\n}\n\nfunction defineHSVComponent(target, component) {\n  Object.defineProperty(target, component, {\n    get: function() {\n      if (this.__state.space === 'HSV') {\n        return this.__state[component];\n      }\n\n      Color.recalculateHSV(this);\n\n      return this.__state[component];\n    },\n\n    set: function(v) {\n      if (this.__state.space !== 'HSV') {\n        Color.recalculateHSV(this);\n        this.__state.space = 'HSV';\n      }\n\n      this.__state[component] = v;\n    }\n  });\n}\n\n\nColor.recalculateRGB = function(color, component, componentHexIndex) {\n  if (color.__state.space === 'HEX') {\n    color.__state[component] = math.component_from_hex(color.__state.hex, componentHexIndex);\n  } else if (color.__state.space === 'HSV') {\n    common.extend(color.__state, math.hsv_to_rgb(color.__state.h, color.__state.s, color.__state.v));\n  } else {\n    throw new Error('Corrupted color state');\n  }\n};\n\nColor.recalculateHSV = function(color) {\n  const result = math.rgb_to_hsv(color.r, color.g, color.b);\n\n  common.extend(color.__state,\n    {\n      s: result.s,\n      v: result.v\n    });\n\n  if (!common.isNaN(result.h)) {\n    color.__state.h = result.h;\n  } else if (common.isUndefined(color.__state.h)) {\n    color.__state.h = 0;\n  }\n};\n\nColor.COMPONENTS = ['r', 'g', 'b', 'h', 's', 'v', 'hex', 'a'];\n\ndefineRGBComponent(Color.prototype, 'r', 2);\ndefineRGBComponent(Color.prototype, 'g', 1);\ndefineRGBComponent(Color.prototype, 'b', 0);\n\ndefineHSVComponent(Color.prototype, 'h');\ndefineHSVComponent(Color.prototype, 's');\ndefineHSVComponent(Color.prototype, 'v');\n\nObject.defineProperty(Color.prototype, 'a', {\n  get: function() {\n    return this.__state.a;\n  },\n\n  set: function(v) {\n    this.__state.a = v;\n  }\n});\n\nObject.defineProperty(Color.prototype, 'hex', {\n  get: function() {\n    if (this.__state.space !== 'HEX') {\n      this.__state.hex = math.rgb_to_hex(this.r, this.g, this.b);\n      this.__state.space = 'HEX';\n    }\n\n    return this.__state.hex;\n  },\n\n  set: function(v) {\n    this.__state.space = 'HEX';\n    this.__state.hex = v;\n  }\n});\n\nexport default Color;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\n/**\n * @class An \"abstract\" class that represents a given property of an object.\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n */\nclass Controller {\n  constructor(object, property) {\n    this.initialValue = object[property];\n\n    /**\n     * Those who extend this class will put their DOM elements in here.\n     * @type {DOMElement}\n     */\n    this.domElement = document.createElement('div');\n\n    /**\n     * The object to manipulate\n     * @type {Object}\n     */\n    this.object = object;\n\n    /**\n     * The name of the property to manipulate\n     * @type {String}\n     */\n    this.property = property;\n\n    /**\n     * The function to be called on change.\n     * @type {Function}\n     * @ignore\n     */\n    this.__onChange = undefined;\n\n    /**\n     * The function to be called on finishing change.\n     * @type {Function}\n     * @ignore\n     */\n    this.__onFinishChange = undefined;\n  }\n\n  /**\n   * Specify that a function fire every time someone changes the value with\n   * this Controller.\n   *\n   * @param {Function} fnc This function will be called whenever the value\n   * is modified via this Controller.\n   * @returns {Controller} this\n   */\n  onChange(fnc) {\n    this.__onChange = fnc;\n    return this;\n  }\n\n  /**\n   * Specify that a function fire every time someone \"finishes\" changing\n   * the value wih this Controller. Useful for values that change\n   * incrementally like numbers or strings.\n   *\n   * @param {Function} fnc This function will be called whenever\n   * someone \"finishes\" changing the value via this Controller.\n   * @returns {Controller} this\n   */\n  onFinishChange(fnc) {\n    this.__onFinishChange = fnc;\n    return this;\n  }\n\n  /**\n   * Change the value of <code>object[property]</code>\n   *\n   * @param {Object} newValue The new value of <code>object[property]</code>\n   */\n  setValue(newValue) {\n    this.object[this.property] = newValue;\n    if (this.__onChange) {\n      this.__onChange.call(this, newValue);\n    }\n\n    this.updateDisplay();\n    return this;\n  }\n\n  /**\n   * Gets the value of <code>object[property]</code>\n   *\n   * @returns {Object} The current value of <code>object[property]</code>\n   */\n  getValue() {\n    return this.object[this.property];\n  }\n\n  /**\n   * Refreshes the visual display of a Controller in order to keep sync\n   * with the object's current value.\n   * @returns {Controller} this\n   */\n  updateDisplay() {\n    return this;\n  }\n\n  /**\n   * @returns {boolean} true if the value has deviated from initialValue\n   */\n  isModified() {\n    return this.initialValue !== this.getValue();\n  }\n}\n\nexport default Controller;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport common from '../utils/common';\n\nconst EVENT_MAP = {\n  HTMLEvents: ['change'],\n  MouseEvents: ['click', 'mousemove', 'mousedown', 'mouseup', 'mouseover'],\n  KeyboardEvents: ['keydown']\n};\n\nconst EVENT_MAP_INV = {};\ncommon.each(EVENT_MAP, function(v, k) {\n  common.each(v, function(e) {\n    EVENT_MAP_INV[e] = k;\n  });\n});\n\nconst CSS_VALUE_PIXELS = /(\\d+(\\.\\d+)?)px/;\n\nfunction cssValueToPixels(val) {\n  if (val === '0' || common.isUndefined(val)) {\n    return 0;\n  }\n\n  const match = val.match(CSS_VALUE_PIXELS);\n\n  if (!common.isNull(match)) {\n    return parseFloat(match[1]);\n  }\n\n  // TODO ...ems? %?\n\n  return 0;\n}\n\n/**\n * @namespace\n * @member dat.dom\n */\nconst dom = {\n\n  /**\n   *\n   * @param elem\n   * @param selectable\n   */\n  makeSelectable: function(elem, selectable) {\n    if (elem === undefined || elem.style === undefined) return;\n\n    elem.onselectstart = selectable ? function() {\n      return false;\n    } : function() {\n    };\n\n    elem.style.MozUserSelect = selectable ? 'auto' : 'none';\n    elem.style.KhtmlUserSelect = selectable ? 'auto' : 'none';\n    elem.unselectable = selectable ? 'on' : 'off';\n  },\n\n  /**\n   *\n   * @param elem\n   * @param horizontal\n   * @param vert\n   */\n  makeFullscreen: function(elem, hor, vert) {\n    let vertical = vert;\n    let horizontal = hor;\n\n    if (common.isUndefined(horizontal)) {\n      horizontal = true;\n    }\n\n    if (common.isUndefined(vertical)) {\n      vertical = true;\n    }\n\n    elem.style.position = 'absolute';\n\n    if (horizontal) {\n      elem.style.left = 0;\n      elem.style.right = 0;\n    }\n    if (vertical) {\n      elem.style.top = 0;\n      elem.style.bottom = 0;\n    }\n  },\n\n  /**\n   *\n   * @param elem\n   * @param eventType\n   * @param params\n   */\n  fakeEvent: function(elem, eventType, pars, aux) {\n    const params = pars || {};\n    const className = EVENT_MAP_INV[eventType];\n    if (!className) {\n      throw new Error('Event type ' + eventType + ' not supported.');\n    }\n    const evt = document.createEvent(className);\n    switch (className) {\n      case 'MouseEvents':\n      {\n        const clientX = params.x || params.clientX || 0;\n        const clientY = params.y || params.clientY || 0;\n        evt.initMouseEvent(eventType, params.bubbles || false,\n          params.cancelable || true, window, params.clickCount || 1,\n          0, // screen X\n          0, // screen Y\n          clientX, // client X\n          clientY, // client Y\n          false, false, false, false, 0, null);\n        break;\n      }\n      case 'KeyboardEvents':\n      {\n        const init = evt.initKeyboardEvent || evt.initKeyEvent; // webkit || moz\n        common.defaults(params, {\n          cancelable: true,\n          ctrlKey: false,\n          altKey: false,\n          shiftKey: false,\n          metaKey: false,\n          keyCode: undefined,\n          charCode: undefined\n        });\n        init(eventType, params.bubbles || false,\n          params.cancelable, window,\n          params.ctrlKey, params.altKey,\n          params.shiftKey, params.metaKey,\n          params.keyCode, params.charCode);\n        break;\n      }\n      default:\n      {\n        evt.initEvent(eventType, params.bubbles || false, params.cancelable || true);\n        break;\n      }\n    }\n    common.defaults(evt, aux);\n    elem.dispatchEvent(evt);\n  },\n\n  /**\n   *\n   * @param elem\n   * @param event\n   * @param func\n   * @param bool\n   */\n  bind: function(elem, event, func, newBool) {\n    const bool = newBool || false;\n    if (elem.addEventListener) {\n      elem.addEventListener(event, func, bool);\n    } else if (elem.attachEvent) {\n      elem.attachEvent('on' + event, func);\n    }\n    return dom;\n  },\n\n  /**\n   *\n   * @param elem\n   * @param event\n   * @param func\n   * @param bool\n   */\n  unbind: function(elem, event, func, newBool) {\n    const bool = newBool || false;\n    if (elem.removeEventListener) {\n      elem.removeEventListener(event, func, bool);\n    } else if (elem.detachEvent) {\n      elem.detachEvent('on' + event, func);\n    }\n    return dom;\n  },\n\n  /**\n   *\n   * @param elem\n   * @param className\n   */\n  addClass: function(elem, className) {\n    if (elem.className === undefined) {\n      elem.className = className;\n    } else if (elem.className !== className) {\n      const classes = elem.className.split(/ +/);\n      if (classes.indexOf(className) === -1) {\n        classes.push(className);\n        elem.className = classes.join(' ').replace(/^\\s+/, '').replace(/\\s+$/, '');\n      }\n    }\n    return dom;\n  },\n\n  /**\n   *\n   * @param elem\n   * @param className\n   */\n  removeClass: function(elem, className) {\n    if (className) {\n      if (elem.className === className) {\n        elem.removeAttribute('class');\n      } else {\n        const classes = elem.className.split(/ +/);\n        const index = classes.indexOf(className);\n        if (index !== -1) {\n          classes.splice(index, 1);\n          elem.className = classes.join(' ');\n        }\n      }\n    } else {\n      elem.className = undefined;\n    }\n    return dom;\n  },\n\n  hasClass: function(elem, className) {\n    return new RegExp('(?:^|\\\\s+)' + className + '(?:\\\\s+|$)').test(elem.className) || false;\n  },\n\n  /**\n   *\n   * @param elem\n   */\n  getWidth: function(elem) {\n    const style = getComputedStyle(elem);\n\n    return cssValueToPixels(style['border-left-width']) +\n      cssValueToPixels(style['border-right-width']) +\n      cssValueToPixels(style['padding-left']) +\n      cssValueToPixels(style['padding-right']) +\n      cssValueToPixels(style.width);\n  },\n\n  /**\n   *\n   * @param elem\n   */\n  getHeight: function(elem) {\n    const style = getComputedStyle(elem);\n\n    return cssValueToPixels(style['border-top-width']) +\n      cssValueToPixels(style['border-bottom-width']) +\n      cssValueToPixels(style['padding-top']) +\n      cssValueToPixels(style['padding-bottom']) +\n      cssValueToPixels(style.height);\n  },\n\n  /**\n   *\n   * @param el\n   */\n  getOffset: function(el) {\n    let elem = el;\n    const offset = { left: 0, top: 0 };\n    if (elem.offsetParent) {\n      do {\n        offset.left += elem.offsetLeft;\n        offset.top += elem.offsetTop;\n        elem = elem.offsetParent;\n      } while (elem);\n    }\n    return offset;\n  },\n\n  // http://stackoverflow.com/posts/2684561/revisions\n  /**\n   *\n   * @param elem\n   */\n  isActive: function(elem) {\n    return elem === document.activeElement && (elem.type || elem.href);\n  }\n\n};\n\nexport default dom;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport dom from '../dom/dom';\n\n/**\n * @class Provides a checkbox input to alter the boolean property of an object.\n *\n * @extends dat.controllers.Controller\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n */\nclass BooleanController extends Controller {\n  constructor(object, property) {\n    super(object, property);\n\n    const _this = this;\n    this.__prev = this.getValue();\n\n    this.__checkbox = document.createElement('input');\n    this.__checkbox.setAttribute('type', 'checkbox');\n\n    function onChange() {\n      _this.setValue(!_this.__prev);\n    }\n\n    dom.bind(this.__checkbox, 'change', onChange, false);\n\n    this.domElement.appendChild(this.__checkbox);\n\n    // Match original value\n    this.updateDisplay();\n  }\n\n  setValue(v) {\n    const toReturn = super.setValue(v);\n    if (this.__onFinishChange) {\n      this.__onFinishChange.call(this, this.getValue());\n    }\n    this.__prev = this.getValue();\n    return toReturn;\n  }\n\n  updateDisplay() {\n    if (this.getValue() === true) {\n      this.__checkbox.setAttribute('checked', 'checked');\n      this.__checkbox.checked = true;\n      this.__prev = true;\n    } else {\n      this.__checkbox.checked = false;\n      this.__prev = false;\n    }\n\n    return super.updateDisplay();\n  }\n}\n\nexport default BooleanController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport dom from '../dom/dom';\nimport common from '../utils/common';\n\n/**\n * @class Provides a select input to alter the property of an object, using a\n * list of accepted values.\n *\n * @extends dat.controllers.Controller\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n * @param {Object|string[]} options A map of labels to acceptable values, or\n * a list of acceptable string values.\n */\nclass OptionController extends Controller {\n  constructor(object, property, opts) {\n    super(object, property);\n\n    let options = opts;\n\n    const _this = this;\n\n    /**\n     * The drop down menu\n     * @ignore\n     */\n    this.__select = document.createElement('select');\n\n    if (common.isArray(options)) {\n      const map = {};\n      common.each(options, function(element) {\n        map[element] = element;\n      });\n      options = map;\n    }\n\n    common.each(options, function(value, key) {\n      const opt = document.createElement('option');\n      opt.innerHTML = key;\n      opt.setAttribute('value', value);\n      _this.__select.appendChild(opt);\n    });\n\n    // Acknowledge original value\n    this.updateDisplay();\n\n    dom.bind(this.__select, 'change', function() {\n      const desiredValue = this.options[this.selectedIndex].value;\n      _this.setValue(desiredValue);\n    });\n\n    this.domElement.appendChild(this.__select);\n  }\n\n  setValue(v) {\n    const toReturn = super.setValue(v);\n\n    if (this.__onFinishChange) {\n      this.__onFinishChange.call(this, this.getValue());\n    }\n    return toReturn;\n  }\n\n  updateDisplay() {\n    if (dom.isActive(this.__select)) return this; // prevent number from updating if user is trying to manually update\n    this.__select.value = this.getValue();\n    return super.updateDisplay();\n  }\n}\n\nexport default OptionController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport dom from '../dom/dom';\n\n/**\n * @class Provides a text input to alter the string property of an object.\n *\n * @extends dat.controllers.Controller\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n */\nclass StringController extends Controller {\n  constructor(object, property) {\n    super(object, property);\n\n    const _this = this;\n\n    function onChange() {\n      _this.setValue(_this.__input.value);\n    }\n\n    function onBlur() {\n      if (_this.__onFinishChange) {\n        _this.__onFinishChange.call(_this, _this.getValue());\n      }\n    }\n\n    this.__input = document.createElement('input');\n    this.__input.setAttribute('type', 'text');\n\n    dom.bind(this.__input, 'keyup', onChange);\n    dom.bind(this.__input, 'change', onChange);\n    dom.bind(this.__input, 'blur', onBlur);\n    dom.bind(this.__input, 'keydown', function(e) {\n      if (e.keyCode === 13) {\n        this.blur();\n      }\n    });\n\n    this.updateDisplay();\n\n    this.domElement.appendChild(this.__input);\n  }\n\n  updateDisplay() {\n    // Stops the caret from moving on account of:\n    // keyup -> setValue -> updateDisplay\n    if (!dom.isActive(this.__input)) {\n      this.__input.value = this.getValue();\n    }\n    return super.updateDisplay();\n  }\n}\n\nexport default StringController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport common from '../utils/common';\n\nfunction numDecimals(x) {\n  const _x = x.toString();\n  if (_x.indexOf('.') > -1) {\n    return _x.length - _x.indexOf('.') - 1;\n  }\n\n  return 0;\n}\n\n/**\n * @class Represents a given property of an object that is a number.\n *\n * @extends dat.controllers.Controller\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n * @param {Object} [params] Optional parameters\n * @param {Number} [params.min] Minimum allowed value\n * @param {Number} [params.max] Maximum allowed value\n * @param {Number} [params.step] Increment by which to change value\n */\nclass NumberController extends Controller {\n  constructor(object, property, params) {\n    super(object, property);\n\n    const _params = params || {};\n\n    this.__min = _params.min;\n    this.__max = _params.max;\n    this.__step = _params.step;\n\n    if (common.isUndefined(this.__step)) {\n      if (this.initialValue === 0) {\n        this.__impliedStep = 1; // What are we, psychics?\n      } else {\n        // Hey Doug, check this out.\n        this.__impliedStep = Math.pow(10, Math.floor(Math.log(Math.abs(this.initialValue)) / Math.LN10)) / 10;\n      }\n    } else {\n      this.__impliedStep = this.__step;\n    }\n\n    this.__precision = numDecimals(this.__impliedStep);\n  }\n\n  setValue(v) {\n    let _v = v;\n\n    if (this.__min !== undefined && _v < this.__min) {\n      _v = this.__min;\n    } else if (this.__max !== undefined && _v > this.__max) {\n      _v = this.__max;\n    }\n\n    if (this.__step !== undefined && _v % this.__step !== 0) {\n      _v = Math.round(_v / this.__step) * this.__step;\n    }\n\n    return super.setValue(_v);\n  }\n\n  /**\n   * Specify a minimum value for <code>object[property]</code>.\n   *\n   * @param {Number} minValue The minimum value for\n   * <code>object[property]</code>\n   * @returns {dat.controllers.NumberController} this\n   */\n  min(minValue) {\n    this.__min = minValue;\n    return this;\n  }\n\n  /**\n   * Specify a maximum value for <code>object[property]</code>.\n   *\n   * @param {Number} maxValue The maximum value for\n   * <code>object[property]</code>\n   * @returns {dat.controllers.NumberController} this\n   */\n  max(maxValue) {\n    this.__max = maxValue;\n    return this;\n  }\n\n  /**\n   * Specify a step value that dat.controllers.NumberController\n   * increments by.\n   *\n   * @param {Number} stepValue The step value for\n   * dat.controllers.NumberController\n   * @default if minimum and maximum specified increment is 1% of the\n   * difference otherwise stepValue is 1\n   * @returns {dat.controllers.NumberController} this\n   */\n  step(stepValue) {\n    this.__step = stepValue;\n    this.__impliedStep = stepValue;\n    this.__precision = numDecimals(stepValue);\n    return this;\n  }\n}\n\nexport default NumberController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport NumberController from './NumberController';\nimport dom from '../dom/dom';\nimport common from '../utils/common';\n\nfunction roundToDecimal(value, decimals) {\n  const tenTo = Math.pow(10, decimals);\n  return Math.round(value * tenTo) / tenTo;\n}\n\n/**\n * @class Represents a given property of an object that is a number and\n * provides an input element with which to manipulate it.\n *\n * @extends dat.controllers.Controller\n * @extends dat.controllers.NumberController\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n * @param {Object} [params] Optional parameters\n * @param {Number} [params.min] Minimum allowed value\n * @param {Number} [params.max] Maximum allowed value\n * @param {Number} [params.step] Increment by which to change value\n */\nclass NumberControllerBox extends NumberController {\n  constructor(object, property, params) {\n    super(object, property, params);\n\n    this.__truncationSuspended = false;\n\n    const _this = this;\n\n    /**\n     * {Number} Previous mouse y position\n     * @ignore\n     */\n    let prevY;\n\n    function onChange() {\n      const attempted = parseFloat(_this.__input.value);\n      if (!common.isNaN(attempted)) {\n        _this.setValue(attempted);\n      }\n    }\n\n    function onFinish() {\n      if (_this.__onFinishChange) {\n        _this.__onFinishChange.call(_this, _this.getValue());\n      }\n    }\n\n    function onBlur() {\n      onFinish();\n    }\n\n    function onMouseDrag(e) {\n      const diff = prevY - e.clientY;\n      _this.setValue(_this.getValue() + diff * _this.__impliedStep);\n\n      prevY = e.clientY;\n    }\n\n    function onMouseUp() {\n      dom.unbind(window, 'mousemove', onMouseDrag);\n      dom.unbind(window, 'mouseup', onMouseUp);\n      onFinish();\n    }\n\n    function onMouseDown(e) {\n      dom.bind(window, 'mousemove', onMouseDrag);\n      dom.bind(window, 'mouseup', onMouseUp);\n      prevY = e.clientY;\n    }\n\n    this.__input = document.createElement('input');\n    this.__input.setAttribute('type', 'text');\n\n    // Makes it so manually specified values are not truncated.\n\n    dom.bind(this.__input, 'change', onChange);\n    dom.bind(this.__input, 'blur', onBlur);\n    dom.bind(this.__input, 'mousedown', onMouseDown);\n    dom.bind(this.__input, 'keydown', function(e) {\n      // When pressing enter, you can be as precise as you want.\n      if (e.keyCode === 13) {\n        _this.__truncationSuspended = true;\n        this.blur();\n        _this.__truncationSuspended = false;\n        onFinish();\n      }\n    });\n\n    this.updateDisplay();\n\n    this.domElement.appendChild(this.__input);\n  }\n\n  updateDisplay() {\n    this.__input.value = this.__truncationSuspended ? this.getValue() : roundToDecimal(this.getValue(), this.__precision);\n    return super.updateDisplay();\n  }\n}\n\nexport default NumberControllerBox;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport NumberController from './NumberController';\nimport dom from '../dom/dom';\n\nfunction map(v, i1, i2, o1, o2) {\n  return o1 + (o2 - o1) * ((v - i1) / (i2 - i1));\n}\n\n/**\n * @class Represents a given property of an object that is a number, contains\n * a minimum and maximum, and provides a slider element with which to\n * manipulate it. It should be noted that the slider element is made up of\n * <code>&lt;div&gt;</code> tags, <strong>not</strong> the html5\n * <code>&lt;slider&gt;</code> element.\n *\n * @extends dat.controllers.Controller\n * @extends dat.controllers.NumberController\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n * @param {Number} minValue Minimum allowed value\n * @param {Number} maxValue Maximum allowed value\n * @param {Number} stepValue Increment by which to change value\n */\nclass NumberControllerSlider extends NumberController {\n  constructor(object, property, min, max, step) {\n    super(object, property, { min: min, max: max, step: step });\n\n    const _this = this;\n\n    this.__background = document.createElement('div');\n    this.__foreground = document.createElement('div');\n\n    dom.bind(this.__background, 'mousedown', onMouseDown);\n    dom.bind(this.__background, 'touchstart', onTouchStart);\n\n    dom.addClass(this.__background, 'slider');\n    dom.addClass(this.__foreground, 'slider-fg');\n\n    function onMouseDown(e) {\n      document.activeElement.blur();\n\n      dom.bind(window, 'mousemove', onMouseDrag);\n      dom.bind(window, 'mouseup', onMouseUp);\n\n      onMouseDrag(e);\n    }\n\n    function onMouseDrag(e) {\n      e.preventDefault();\n\n      const bgRect = _this.__background.getBoundingClientRect();\n\n      _this.setValue(\n        map(e.clientX, bgRect.left, bgRect.right, _this.__min, _this.__max)\n      );\n\n      return false;\n    }\n\n    function onMouseUp() {\n      dom.unbind(window, 'mousemove', onMouseDrag);\n      dom.unbind(window, 'mouseup', onMouseUp);\n      if (_this.__onFinishChange) {\n        _this.__onFinishChange.call(_this, _this.getValue());\n      }\n    }\n\n    function onTouchStart(e) {\n      if (e.touches.length !== 1) { return; }\n      dom.bind(window, 'touchmove', onTouchMove);\n      dom.bind(window, 'touchend', onTouchEnd);\n      onTouchMove(e);\n    }\n\n    function onTouchMove(e) {\n      const clientX = e.touches[0].clientX;\n      const bgRect = _this.__background.getBoundingClientRect();\n\n      _this.setValue(\n        map(clientX, bgRect.left, bgRect.right, _this.__min, _this.__max)\n      );\n    }\n\n    function onTouchEnd() {\n      dom.unbind(window, 'touchmove', onTouchMove);\n      dom.unbind(window, 'touchend', onTouchEnd);\n      if (_this.__onFinishChange) {\n        _this.__onFinishChange.call(_this, _this.getValue());\n      }\n    }\n\n    this.updateDisplay();\n\n    this.__background.appendChild(this.__foreground);\n    this.domElement.appendChild(this.__background);\n  }\n\n  updateDisplay() {\n    const pct = (this.getValue() - this.__min) / (this.__max - this.__min);\n    this.__foreground.style.width = pct * 100 + '%';\n    return super.updateDisplay();\n  }\n}\n\nexport default NumberControllerSlider;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport dom from '../dom/dom';\n\n/**\n * @class Provides a GUI interface to fire a specified method, a property of an object.\n *\n * @extends dat.controllers.Controller\n *\n * @param {Object} object The object to be manipulated\n * @param {string} property The name of the property to be manipulated\n */\nclass FunctionController extends Controller {\n  constructor(object, property, text) {\n    super(object, property);\n\n    const _this = this;\n\n    this.__button = document.createElement('div');\n    this.__button.innerHTML = text === undefined ? 'Fire' : text;\n\n    dom.bind(this.__button, 'click', function(e) {\n      e.preventDefault();\n      _this.fire();\n      return false;\n    });\n\n    dom.addClass(this.__button, 'button');\n\n    this.domElement.appendChild(this.__button);\n  }\n\n  fire() {\n    if (this.__onChange) {\n      this.__onChange.call(this);\n    }\n    this.getValue().call(this.object);\n    if (this.__onFinishChange) {\n      this.__onFinishChange.call(this, this.getValue());\n    }\n  }\n}\n\nexport default FunctionController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Controller from './Controller';\nimport dom from '../dom/dom';\nimport Color from '../color/Color';\nimport interpret from '../color/interpret';\nimport common from '../utils/common';\n\n/**\n * @class Represents a given property of an object that is a color.\n * @param {Object} object\n * @param {string} property\n */\nclass ColorController extends Controller {\n  constructor(object, property) {\n    super(object, property);\n\n    this.__color = new Color(this.getValue());\n    this.__temp = new Color(0);\n\n    const _this = this;\n\n    this.domElement = document.createElement('div');\n\n    dom.makeSelectable(this.domElement, false);\n\n    this.__selector = document.createElement('div');\n    this.__selector.className = 'selector';\n\n    this.__saturation_field = document.createElement('div');\n    this.__saturation_field.className = 'saturation-field';\n\n    this.__field_knob = document.createElement('div');\n    this.__field_knob.className = 'field-knob';\n    this.__field_knob_border = '2px solid ';\n\n    this.__hue_knob = document.createElement('div');\n    this.__hue_knob.className = 'hue-knob';\n\n    this.__hue_field = document.createElement('div');\n    this.__hue_field.className = 'hue-field';\n\n    this.__input = document.createElement('input');\n    this.__input.type = 'text';\n    this.__input_textShadow = '0 1px 1px ';\n\n    dom.bind(this.__input, 'keydown', function(e) {\n      if (e.keyCode === 13) { // on enter\n        onBlur.call(this);\n      }\n    });\n\n    dom.bind(this.__input, 'blur', onBlur);\n\n    dom.bind(this.__selector, 'mousedown', function(/* e */) {\n      dom\n        .addClass(this, 'drag')\n        .bind(window, 'mouseup', function(/* e */) {\n          dom.removeClass(_this.__selector, 'drag');\n        });\n    });\n\n    dom.bind(this.__selector, 'touchstart', function(/* e */) {\n      dom\n        .addClass(this, 'drag')\n        .bind(window, 'touchend', function(/* e */) {\n          dom.removeClass(_this.__selector, 'drag');\n        });\n    });\n\n    const valueField = document.createElement('div');\n\n    common.extend(this.__selector.style, {\n      width: '122px',\n      height: '102px',\n      padding: '3px',\n      backgroundColor: '#222',\n      boxShadow: '0px 1px 3px rgba(0,0,0,0.3)'\n    });\n\n    common.extend(this.__field_knob.style, {\n      position: 'absolute',\n      width: '12px',\n      height: '12px',\n      border: this.__field_knob_border + (this.__color.v < 0.5 ? '#fff' : '#000'),\n      boxShadow: '0px 1px 3px rgba(0,0,0,0.5)',\n      borderRadius: '12px',\n      zIndex: 1\n    });\n\n    common.extend(this.__hue_knob.style, {\n      position: 'absolute',\n      width: '15px',\n      height: '2px',\n      borderRight: '4px solid #fff',\n      zIndex: 1\n    });\n\n    common.extend(this.__saturation_field.style, {\n      width: '100px',\n      height: '100px',\n      border: '1px solid #555',\n      marginRight: '3px',\n      display: 'inline-block',\n      cursor: 'pointer'\n    });\n\n    common.extend(valueField.style, {\n      width: '100%',\n      height: '100%',\n      background: 'none'\n    });\n\n    linearGradient(valueField, 'top', 'rgba(0,0,0,0)', '#000');\n\n    common.extend(this.__hue_field.style, {\n      width: '15px',\n      height: '100px',\n      border: '1px solid #555',\n      cursor: 'ns-resize',\n      position: 'absolute',\n      top: '3px',\n      right: '3px'\n    });\n\n    hueGradient(this.__hue_field);\n\n    common.extend(this.__input.style, {\n      outline: 'none',\n      //      width: '120px',\n      textAlign: 'center',\n      //      padding: '4px',\n      //      marginBottom: '6px',\n      color: '#fff',\n      border: 0,\n      fontWeight: 'bold',\n      textShadow: this.__input_textShadow + 'rgba(0,0,0,0.7)'\n    });\n\n    dom.bind(this.__saturation_field, 'mousedown', fieldDown);\n    dom.bind(this.__saturation_field, 'touchstart', fieldDown);\n\n    dom.bind(this.__field_knob, 'mousedown', fieldDown);\n    dom.bind(this.__field_knob, 'touchstart', fieldDown);\n\n    dom.bind(this.__hue_field, 'mousedown', fieldDownH);\n    dom.bind(this.__hue_field, 'touchstart', fieldDownH);\n\n    function fieldDown(e) {\n      setSV(e);\n      dom.bind(window, 'mousemove', setSV);\n      dom.bind(window, 'touchmove', setSV);\n      dom.bind(window, 'mouseup', fieldUpSV);\n      dom.bind(window, 'touchend', fieldUpSV);\n    }\n\n    function fieldDownH(e) {\n      setH(e);\n      dom.bind(window, 'mousemove', setH);\n      dom.bind(window, 'touchmove', setH);\n      dom.bind(window, 'mouseup', fieldUpH);\n      dom.bind(window, 'touchend', fieldUpH);\n    }\n\n    function fieldUpSV() {\n      dom.unbind(window, 'mousemove', setSV);\n      dom.unbind(window, 'touchmove', setSV);\n      dom.unbind(window, 'mouseup', fieldUpSV);\n      dom.unbind(window, 'touchend', fieldUpSV);\n      onFinish();\n    }\n\n    function fieldUpH() {\n      dom.unbind(window, 'mousemove', setH);\n      dom.unbind(window, 'touchmove', setH);\n      dom.unbind(window, 'mouseup', fieldUpH);\n      dom.unbind(window, 'touchend', fieldUpH);\n      onFinish();\n    }\n\n    function onBlur() {\n      const i = interpret(this.value);\n      if (i !== false) {\n        _this.__color.__state = i;\n        _this.setValue(_this.__color.toOriginal());\n      } else {\n        this.value = _this.__color.toString();\n      }\n    }\n\n    function onFinish() {\n      if (_this.__onFinishChange) {\n        _this.__onFinishChange.call(_this, _this.__color.toOriginal());\n      }\n    }\n\n    this.__saturation_field.appendChild(valueField);\n    this.__selector.appendChild(this.__field_knob);\n    this.__selector.appendChild(this.__saturation_field);\n    this.__selector.appendChild(this.__hue_field);\n    this.__hue_field.appendChild(this.__hue_knob);\n\n    this.domElement.appendChild(this.__input);\n    this.domElement.appendChild(this.__selector);\n\n    this.updateDisplay();\n\n    function setSV(e) {\n      if (e.type.indexOf('touch') === -1) { e.preventDefault(); }\n\n      const fieldRect = _this.__saturation_field.getBoundingClientRect();\n      const { clientX, clientY } = (e.touches && e.touches[0]) || e;\n      let s = (clientX - fieldRect.left) / (fieldRect.right - fieldRect.left);\n      let v = 1 - (clientY - fieldRect.top) / (fieldRect.bottom - fieldRect.top);\n\n      if (v > 1) {\n        v = 1;\n      } else if (v < 0) {\n        v = 0;\n      }\n\n      if (s > 1) {\n        s = 1;\n      } else if (s < 0) {\n        s = 0;\n      }\n\n      _this.__color.v = v;\n      _this.__color.s = s;\n\n      _this.setValue(_this.__color.toOriginal());\n\n\n      return false;\n    }\n\n    function setH(e) {\n      if (e.type.indexOf('touch') === -1) { e.preventDefault(); }\n\n      const fieldRect = _this.__hue_field.getBoundingClientRect();\n      const { clientY } = (e.touches && e.touches[0]) || e;\n      let h = 1 - (clientY - fieldRect.top) / (fieldRect.bottom - fieldRect.top);\n\n      if (h > 1) {\n        h = 1;\n      } else if (h < 0) {\n        h = 0;\n      }\n\n      _this.__color.h = h * 360;\n\n      _this.setValue(_this.__color.toOriginal());\n\n      return false;\n    }\n  }\n\n  updateDisplay() {\n    const i = interpret(this.getValue());\n\n    if (i !== false) {\n      let mismatch = false;\n\n      // Check for mismatch on the interpreted value.\n\n      common.each(Color.COMPONENTS, function(component) {\n        if (!common.isUndefined(i[component]) && !common.isUndefined(this.__color.__state[component]) &&\n          i[component] !== this.__color.__state[component]) {\n          mismatch = true;\n          return {}; // break\n        }\n      }, this);\n\n      // If nothing diverges, we keep our previous values\n      // for statefulness, otherwise we recalculate fresh\n      if (mismatch) {\n        common.extend(this.__color.__state, i);\n      }\n    }\n\n    common.extend(this.__temp.__state, this.__color.__state);\n\n    this.__temp.a = 1;\n\n    const flip = (this.__color.v < 0.5 || this.__color.s > 0.5) ? 255 : 0;\n    const _flip = 255 - flip;\n\n    common.extend(this.__field_knob.style, {\n      marginLeft: 100 * this.__color.s - 7 + 'px',\n      marginTop: 100 * (1 - this.__color.v) - 7 + 'px',\n      backgroundColor: this.__temp.toHexString(),\n      border: this.__field_knob_border + 'rgb(' + flip + ',' + flip + ',' + flip + ')'\n    });\n\n    this.__hue_knob.style.marginTop = (1 - this.__color.h / 360) * 100 + 'px';\n\n    this.__temp.s = 1;\n    this.__temp.v = 1;\n\n    linearGradient(this.__saturation_field, 'left', '#fff', this.__temp.toHexString());\n\n    this.__input.value = this.__color.toString();\n\n    common.extend(this.__input.style, {\n      backgroundColor: this.__color.toHexString(),\n      color: 'rgb(' + flip + ',' + flip + ',' + flip + ')',\n      textShadow: this.__input_textShadow + 'rgba(' + _flip + ',' + _flip + ',' + _flip + ',.7)'\n    });\n  }\n}\n\nconst vendors = ['-moz-', '-o-', '-webkit-', '-ms-', ''];\n\nfunction linearGradient(elem, x, a, b) {\n  elem.style.background = '';\n  common.each(vendors, function(vendor) {\n    elem.style.cssText += 'background: ' + vendor + 'linear-gradient(' + x + ', ' + a + ' 0%, ' + b + ' 100%); ';\n  });\n}\n\nfunction hueGradient(elem) {\n  elem.style.background = '';\n  elem.style.cssText += 'background: -moz-linear-gradient(top,  #ff0000 0%, #ff00ff 17%, #0000ff 34%, #00ffff 50%, #00ff00 67%, #ffff00 84%, #ff0000 100%);';\n  elem.style.cssText += 'background: -webkit-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);';\n  elem.style.cssText += 'background: -o-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);';\n  elem.style.cssText += 'background: -ms-linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);';\n  elem.style.cssText += 'background: linear-gradient(top,  #ff0000 0%,#ff00ff 17%,#0000ff 34%,#00ffff 50%,#00ff00 67%,#ffff00 84%,#ff0000 100%);';\n}\n\nexport default ColorController;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nconst css = {\n  load: function(url, indoc) {\n    const doc = indoc || document;\n    const link = doc.createElement('link');\n    link.type = 'text/css';\n    link.rel = 'stylesheet';\n    link.href = url;\n    doc.getElementsByTagName('head')[0].appendChild(link);\n  },\n\n  inject: function(cssContent, indoc) {\n    const doc = indoc || document;\n    const injected = document.createElement('style');\n    injected.type = 'text/css';\n    injected.innerHTML = cssContent;\n    const head = doc.getElementsByTagName('head')[0];\n    try {\n      head.appendChild(injected);\n    } catch (e) { // Unable to inject CSS, probably because of a Content Security Policy\n    }\n  }\n};\n\nexport default css;\n","const saveDialogContents = `<div id=\"dg-save\" class=\"dg dialogue\">\n\n  Here's the new load parameter for your <code>GUI</code>'s constructor:\n\n  <textarea id=\"dg-new-constructor\"></textarea>\n\n  <div id=\"dg-save-locally\">\n\n    <input id=\"dg-local-storage\" type=\"checkbox\"/> Automatically save\n    values to <code>localStorage</code> on exit.\n\n    <div id=\"dg-local-explain\">The values saved to <code>localStorage</code> will\n      override those passed to <code>dat.GUI</code>'s constructor. This makes it\n      easier to work incrementally, but <code>localStorage</code> is fragile,\n      and your friends may not see the same values you do.\n\n    </div>\n\n  </div>\n\n</div>`;\n\nexport default saveDialogContents;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport OptionController from './OptionController';\nimport NumberControllerBox from './NumberControllerBox';\nimport NumberControllerSlider from './NumberControllerSlider';\nimport StringController from './StringController';\nimport FunctionController from './FunctionController';\nimport BooleanController from './BooleanController';\nimport common from '../utils/common';\n\nconst ControllerFactory = function(object, property) {\n  const initialValue = object[property];\n\n  // Providing options?\n  if (common.isArray(arguments[2]) || common.isObject(arguments[2])) {\n    return new OptionController(object, property, arguments[2]);\n  }\n\n  // Providing a map?\n  if (common.isNumber(initialValue)) {\n    // Has min and max? (slider)\n    if (common.isNumber(arguments[2]) && common.isNumber(arguments[3])) {\n      // has step?\n      if (common.isNumber(arguments[4])) {\n        return new NumberControllerSlider(object, property,\n          arguments[2], arguments[3], arguments[4]);\n      }\n\n      return new NumberControllerSlider(object, property, arguments[2], arguments[3]);\n    }\n\n    // number box\n    if (common.isNumber(arguments[4])) { // has step\n      return new NumberControllerBox(object, property,\n        { min: arguments[2], max: arguments[3], step: arguments[4] });\n    }\n    return new NumberControllerBox(object, property, { min: arguments[2], max: arguments[3] });\n  }\n\n  if (common.isString(initialValue)) {\n    return new StringController(object, property);\n  }\n\n  if (common.isFunction(initialValue)) {\n    return new FunctionController(object, property, '');\n  }\n\n  if (common.isBoolean(initialValue)) {\n    return new BooleanController(object, property);\n  }\n\n  return null;\n};\n\nexport default ControllerFactory;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nfunction requestAnimationFrame(callback) {\n  setTimeout(callback, 1000 / 60);\n}\n\nexport default window.requestAnimationFrame ||\n    window.webkitRequestAnimationFrame ||\n    window.mozRequestAnimationFrame ||\n    window.oRequestAnimationFrame ||\n    window.msRequestAnimationFrame ||\n    requestAnimationFrame;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport dom from './dom';\nimport common from '../utils/common';\n\nclass CenteredDiv {\n  constructor() {\n    this.backgroundElement = document.createElement('div');\n    common.extend(this.backgroundElement.style, {\n      backgroundColor: 'rgba(0,0,0,0.8)',\n      top: 0,\n      left: 0,\n      display: 'none',\n      zIndex: '1000',\n      opacity: 0,\n      WebkitTransition: 'opacity 0.2s linear',\n      transition: 'opacity 0.2s linear'\n    });\n\n    dom.makeFullscreen(this.backgroundElement);\n    this.backgroundElement.style.position = 'fixed';\n\n    this.domElement = document.createElement('div');\n    common.extend(this.domElement.style, {\n      position: 'fixed',\n      display: 'none',\n      zIndex: '1001',\n      opacity: 0,\n      WebkitTransition: '-webkit-transform 0.2s ease-out, opacity 0.2s linear',\n      transition: 'transform 0.2s ease-out, opacity 0.2s linear'\n    });\n\n\n    document.body.appendChild(this.backgroundElement);\n    document.body.appendChild(this.domElement);\n\n    const _this = this;\n    dom.bind(this.backgroundElement, 'click', function() {\n      _this.hide();\n    });\n  }\n\n  show() {\n    const _this = this;\n\n    this.backgroundElement.style.display = 'block';\n\n    this.domElement.style.display = 'block';\n    this.domElement.style.opacity = 0;\n    //    this.domElement.style.top = '52%';\n    this.domElement.style.webkitTransform = 'scale(1.1)';\n\n    this.layout();\n\n    common.defer(function() {\n      _this.backgroundElement.style.opacity = 1;\n      _this.domElement.style.opacity = 1;\n      _this.domElement.style.webkitTransform = 'scale(1)';\n    });\n  }\n\n  /**\n   * Hide centered div\n   */\n  hide() {\n    const _this = this;\n\n    const hide = function() {\n      _this.domElement.style.display = 'none';\n      _this.backgroundElement.style.display = 'none';\n\n      dom.unbind(_this.domElement, 'webkitTransitionEnd', hide);\n      dom.unbind(_this.domElement, 'transitionend', hide);\n      dom.unbind(_this.domElement, 'oTransitionEnd', hide);\n    };\n\n    dom.bind(this.domElement, 'webkitTransitionEnd', hide);\n    dom.bind(this.domElement, 'transitionend', hide);\n    dom.bind(this.domElement, 'oTransitionEnd', hide);\n\n    this.backgroundElement.style.opacity = 0;\n    //    this.domElement.style.top = '48%';\n    this.domElement.style.opacity = 0;\n    this.domElement.style.webkitTransform = 'scale(1.1)';\n  }\n\n  layout() {\n    this.domElement.style.left = window.innerWidth / 2 - dom.getWidth(this.domElement) / 2 + 'px';\n    this.domElement.style.top = window.innerHeight / 2 - dom.getHeight(this.domElement) / 2 + 'px';\n  }\n}\n\nexport default CenteredDiv;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport css from '../utils/css';\nimport saveDialogueContents from './saveDialogue.html';\nimport ControllerFactory from '../controllers/ControllerFactory';\nimport Controller from '../controllers/Controller';\nimport BooleanController from '../controllers/BooleanController';\nimport FunctionController from '../controllers/FunctionController';\nimport NumberControllerBox from '../controllers/NumberControllerBox';\nimport NumberControllerSlider from '../controllers/NumberControllerSlider';\nimport ColorController from '../controllers/ColorController';\nimport requestAnimationFrame from '../utils/requestAnimationFrame';\nimport CenteredDiv from '../dom/CenteredDiv';\nimport dom from '../dom/dom';\nimport common from '../utils/common';\n\nimport styleSheet from './style.scss'; // CSS to embed in build\n\ncss.inject(styleSheet);\n\n/** @ignore Outer-most className for GUI's */\nconst CSS_NAMESPACE = 'dg';\n\nconst HIDE_KEY_CODE = 72;\n\n/** @ignore The only value shared between the JS and SCSS. Use caution. */\nconst CLOSE_BUTTON_HEIGHT = 20;\n\nconst DEFAULT_DEFAULT_PRESET_NAME = 'Default';\n\nconst SUPPORTS_LOCAL_STORAGE = (function() {\n  try {\n    return !!window.localStorage;\n  } catch (e) {\n    return false;\n  }\n}());\n\nlet SAVE_DIALOGUE;\n\n/** @ignore Have we yet to create an autoPlace GUI? */\nlet autoPlaceVirgin = true;\n\n/** @ignore Fixed position div that auto place GUI's go inside */\nlet autoPlaceContainer;\n\n/** @ignore Are we hiding the GUI's ? */\nlet hide = false;\n\n/** @private GUI's which should be hidden */\nconst hideableGuis = [];\n\n/**\n * @class A lightweight controller library for JavaScript. It allows you to easily\n * manipulate variables and fire functions on the fly.\n *\n * @typicalname gui\n *\n * @example\n * // Creating a GUI with options.\n * var gui = new dat.GUI({name: 'My GUI'});\n *\n * @example\n * // Creating a GUI and a subfolder.\n * var gui = new dat.GUI();\n * var folder1 = gui.addFolder('Flow Field');\n *\n * @param {Object} [params]\n * @param {String} [params.name] The name of this GUI.\n * @param {Object} [params.load] JSON object representing the saved state of\n * this GUI.\n * @param {dat.gui.GUI} [params.parent] The GUI I'm nested in.\n * @param {Boolean} [params.autoPlace=true]\n * @param {Boolean} [params.hideable=true] If true, GUI is shown/hidden by <kbd>h</kbd> keypress.\n * @param {Boolean} [params.closed=false] If true, starts closed\n * @param {Boolean} [params.closeOnTop=false] If true, close/open button shows on top of the GUI\n */\nconst GUI = function(pars) {\n  const _this = this;\n\n  let params = pars || {};\n\n  /**\n   * Outermost DOM Element\n   * @type {DOMElement}\n   */\n  this.domElement = document.createElement('div');\n  this.__ul = document.createElement('ul');\n  this.domElement.appendChild(this.__ul);\n\n  dom.addClass(this.domElement, CSS_NAMESPACE);\n\n  /**\n   * Nested GUI's by name\n   * @ignore\n   */\n  this.__folders = {};\n\n  this.__controllers = [];\n\n  /**\n   * List of objects I'm remembering for save, only used in top level GUI\n   * @ignore\n   */\n  this.__rememberedObjects = [];\n\n  /**\n   * Maps the index of remembered objects to a map of controllers, only used\n   * in top level GUI.\n   *\n   * @private\n   * @ignore\n   *\n   * @example\n   * [\n   *  {\n     *    propertyName: Controller,\n     *    anotherPropertyName: Controller\n     *  },\n   *  {\n     *    propertyName: Controller\n     *  }\n   * ]\n   */\n  this.__rememberedObjectIndecesToControllers = [];\n\n  this.__listening = [];\n\n  // Default parameters\n  params = common.defaults(params, {\n    closeOnTop: false,\n    autoPlace: true,\n    width: GUI.DEFAULT_WIDTH\n  });\n\n  params = common.defaults(params, {\n    resizable: params.autoPlace,\n    hideable: params.autoPlace\n  });\n\n  if (!common.isUndefined(params.load)) {\n    // Explicit preset\n    if (params.preset) {\n      params.load.preset = params.preset;\n    }\n  } else {\n    params.load = { preset: DEFAULT_DEFAULT_PRESET_NAME };\n  }\n\n  if (common.isUndefined(params.parent) && params.hideable) {\n    hideableGuis.push(this);\n  }\n\n  // Only root level GUI's are resizable.\n  params.resizable = common.isUndefined(params.parent) && params.resizable;\n\n  if (params.autoPlace && common.isUndefined(params.scrollable)) {\n    params.scrollable = true;\n  }\n  //    params.scrollable = common.isUndefined(params.parent) && params.scrollable === true;\n\n  // Not part of params because I don't want people passing this in via\n  // constructor. Should be a 'remembered' value.\n  let useLocalStorage =\n    SUPPORTS_LOCAL_STORAGE &&\n    localStorage.getItem(getLocalStorageHash(this, 'isLocal')) === 'true';\n\n  let saveToLocalStorage;\n  let titleRow;\n\n  Object.defineProperties(this,\n    /** @lends GUI.prototype */\n    {\n      /**\n       * The parent <code>GUI</code>\n       * @type dat.gui.GUI\n       */\n      parent: {\n        get: function() {\n          return params.parent;\n        }\n      },\n\n      scrollable: {\n        get: function() {\n          return params.scrollable;\n        }\n      },\n\n      /**\n       * Handles <code>GUI</code>'s element placement for you\n       * @type Boolean\n       */\n      autoPlace: {\n        get: function() {\n          return params.autoPlace;\n        }\n      },\n\n      /**\n       * Handles <code>GUI</code>'s position of open/close button\n       * @type Boolean\n       */\n      closeOnTop: {\n        get: function() {\n          return params.closeOnTop;\n        }\n      },\n\n      /**\n       * The identifier for a set of saved values\n       * @type String\n       */\n      preset: {\n        get: function() {\n          if (_this.parent) {\n            return _this.getRoot().preset;\n          }\n\n          return params.load.preset;\n        },\n\n        set: function(v) {\n          if (_this.parent) {\n            _this.getRoot().preset = v;\n          } else {\n            params.load.preset = v;\n          }\n          setPresetSelectIndex(this);\n          _this.revert();\n        }\n      },\n\n      /**\n       * The width of <code>GUI</code> element\n       * @type Number\n       */\n      width: {\n        get: function() {\n          return params.width;\n        },\n        set: function(v) {\n          params.width = v;\n          setWidth(_this, v);\n        }\n      },\n\n      /**\n       * The name of <code>GUI</code>. Used for folders. i.e\n       * a folder's name\n       * @type String\n       */\n      name: {\n        get: function() {\n          return params.name;\n        },\n        set: function(v) {\n          // TODO Check for collisions among sibling folders\n          params.name = v;\n          if (titleRow) {\n            titleRow.innerHTML = params.name;\n          }\n        }\n      },\n\n      /**\n       * Whether the <code>GUI</code> is collapsed or not\n       * @type Boolean\n       */\n      closed: {\n        get: function() {\n          return params.closed;\n        },\n        set: function(v) {\n          params.closed = v;\n          if (params.closed) {\n            dom.addClass(_this.__ul, GUI.CLASS_CLOSED);\n          } else {\n            dom.removeClass(_this.__ul, GUI.CLASS_CLOSED);\n          }\n          // For browsers that aren't going to respect the CSS transition,\n          // Lets just check our height against the window height right off\n          // the bat.\n          this.onResize();\n\n          if (_this.__closeButton) {\n            _this.__closeButton.innerHTML = v ? GUI.TEXT_OPEN : GUI.TEXT_CLOSED;\n          }\n        }\n      },\n\n      /**\n       * Contains all presets\n       * @type Object\n       */\n      load: {\n        get: function() {\n          return params.load;\n        }\n      },\n\n      /**\n       * Determines whether or not to use <a href=\"https://developer.mozilla.org/en/DOM/Storage#localStorage\">localStorage</a> as the means for\n       * <code>remember</code>ing\n       * @type Boolean\n       */\n      useLocalStorage: {\n\n        get: function() {\n          return useLocalStorage;\n        },\n        set: function(bool) {\n          if (SUPPORTS_LOCAL_STORAGE) {\n            useLocalStorage = bool;\n            if (bool) {\n              dom.bind(window, 'unload', saveToLocalStorage);\n            } else {\n              dom.unbind(window, 'unload', saveToLocalStorage);\n            }\n            localStorage.setItem(getLocalStorageHash(_this, 'isLocal'), bool);\n          }\n        }\n      }\n    });\n\n  // Are we a root level GUI?\n  if (common.isUndefined(params.parent)) {\n    this.closed = params.closed || false;\n\n    dom.addClass(this.domElement, GUI.CLASS_MAIN);\n    dom.makeSelectable(this.domElement, false);\n\n    // Are we supposed to be loading locally?\n    if (SUPPORTS_LOCAL_STORAGE) {\n      if (useLocalStorage) {\n        _this.useLocalStorage = true;\n\n        const savedGui = localStorage.getItem(getLocalStorageHash(this, 'gui'));\n\n        if (savedGui) {\n          params.load = JSON.parse(savedGui);\n        }\n      }\n    }\n\n    this.__closeButton = document.createElement('div');\n    this.__closeButton.innerHTML = GUI.TEXT_CLOSED;\n    dom.addClass(this.__closeButton, GUI.CLASS_CLOSE_BUTTON);\n    if (params.closeOnTop) {\n      dom.addClass(this.__closeButton, GUI.CLASS_CLOSE_TOP);\n      this.domElement.insertBefore(this.__closeButton, this.domElement.childNodes[0]);\n    } else {\n      dom.addClass(this.__closeButton, GUI.CLASS_CLOSE_BOTTOM);\n      this.domElement.appendChild(this.__closeButton);\n    }\n\n    dom.bind(this.__closeButton, 'click', function() {\n      _this.closed = !_this.closed;\n    });\n    // Oh, you're a nested GUI!\n  } else {\n    if (params.closed === undefined) {\n      params.closed = true;\n    }\n\n    const titleRowName = document.createTextNode(params.name);\n    dom.addClass(titleRowName, 'controller-name');\n\n    titleRow = addRow(_this, titleRowName);\n\n    const onClickTitle = function(e) {\n      e.preventDefault();\n      _this.closed = !_this.closed;\n      return false;\n    };\n\n    dom.addClass(this.__ul, GUI.CLASS_CLOSED);\n\n    dom.addClass(titleRow, 'title');\n    dom.bind(titleRow, 'click', onClickTitle);\n\n    if (!params.closed) {\n      this.closed = false;\n    }\n  }\n\n  if (params.autoPlace) {\n    if (common.isUndefined(params.parent)) {\n      if (autoPlaceVirgin) {\n        autoPlaceContainer = document.createElement('div');\n        dom.addClass(autoPlaceContainer, CSS_NAMESPACE);\n        dom.addClass(autoPlaceContainer, GUI.CLASS_AUTO_PLACE_CONTAINER);\n        document.body.appendChild(autoPlaceContainer);\n        autoPlaceVirgin = false;\n      }\n\n      // Put it in the dom for you.\n      autoPlaceContainer.appendChild(this.domElement);\n\n      // Apply the auto styles\n      dom.addClass(this.domElement, GUI.CLASS_AUTO_PLACE);\n    }\n\n\n    // Make it not elastic.\n    if (!this.parent) {\n      setWidth(_this, params.width);\n    }\n  }\n\n  this.__resizeHandler = function() {\n    _this.onResizeDebounced();\n  };\n\n  dom.bind(window, 'resize', this.__resizeHandler);\n  dom.bind(this.__ul, 'webkitTransitionEnd', this.__resizeHandler);\n  dom.bind(this.__ul, 'transitionend', this.__resizeHandler);\n  dom.bind(this.__ul, 'oTransitionEnd', this.__resizeHandler);\n  this.onResize();\n\n  if (params.resizable) {\n    addResizeHandle(this);\n  }\n\n  saveToLocalStorage = function() {\n    if (SUPPORTS_LOCAL_STORAGE && localStorage.getItem(getLocalStorageHash(_this, 'isLocal')) === 'true') {\n      localStorage.setItem(getLocalStorageHash(_this, 'gui'), JSON.stringify(_this.getSaveObject()));\n    }\n  };\n\n  // expose this method publicly\n  this.saveToLocalStorageIfPossible = saveToLocalStorage;\n\n  function resetWidth() {\n    const root = _this.getRoot();\n    root.width += 1;\n    common.defer(function() {\n      root.width -= 1;\n    });\n  }\n\n  if (!params.parent) {\n    resetWidth();\n  }\n};\n\nGUI.toggleHide = function() {\n  hide = !hide;\n  common.each(hideableGuis, function(gui) {\n    gui.domElement.style.display = hide ? 'none' : '';\n  });\n};\n\nGUI.CLASS_AUTO_PLACE = 'a';\nGUI.CLASS_AUTO_PLACE_CONTAINER = 'ac';\nGUI.CLASS_MAIN = 'main';\nGUI.CLASS_CONTROLLER_ROW = 'cr';\nGUI.CLASS_TOO_TALL = 'taller-than-window';\nGUI.CLASS_CLOSED = 'closed';\nGUI.CLASS_CLOSE_BUTTON = 'close-button';\nGUI.CLASS_CLOSE_TOP = 'close-top';\nGUI.CLASS_CLOSE_BOTTOM = 'close-bottom';\nGUI.CLASS_DRAG = 'drag';\n\nGUI.DEFAULT_WIDTH = 245;\nGUI.TEXT_CLOSED = 'Close Controls';\nGUI.TEXT_OPEN = 'Open Controls';\n\nGUI._keydownHandler = function(e) {\n  if (document.activeElement.type !== 'text' &&\n    (e.which === HIDE_KEY_CODE || e.keyCode === HIDE_KEY_CODE)) {\n    GUI.toggleHide();\n  }\n};\ndom.bind(window, 'keydown', GUI._keydownHandler, false);\n\ncommon.extend(\n  GUI.prototype,\n\n  /** @lends GUI.prototype */\n  {\n\n    /**\n     * Adds a new {@link Controller} to the GUI. The type of controller created\n     * is inferred from the initial value of <code>object[property]</code>. For\n     * color properties, see {@link addColor}.\n     *\n     * @param {Object} object The object to be manipulated\n     * @param {String} property The name of the property to be manipulated\n     * @param {Number} [min] Minimum allowed value\n     * @param {Number} [max] Maximum allowed value\n     * @param {Number} [step] Increment by which to change value\n     * @returns {Controller} The controller that was added to the GUI.\n     * @instance\n     *\n     * @example\n     * // Add a string controller.\n     * var person = {name: 'Sam'};\n     * gui.add(person, 'name');\n     *\n     * @example\n     * // Add a number controller slider.\n     * var person = {age: 45};\n     * gui.add(person, 'age', 0, 100);\n     */\n    add: function(object, property) {\n      return add(\n        this,\n        object,\n        property,\n        {\n          factoryArgs: Array.prototype.slice.call(arguments, 2)\n        }\n      );\n    },\n\n    /**\n     * Adds a new color controller to the GUI.\n     *\n     * @param object\n     * @param property\n     * @returns {Controller} The controller that was added to the GUI.\n     * @instance\n     *\n     * @example\n     * var palette = {\n     *   color1: '#FF0000', // CSS string\n     *   color2: [ 0, 128, 255 ], // RGB array\n     *   color3: [ 0, 128, 255, 0.3 ], // RGB with alpha\n     *   color4: { h: 350, s: 0.9, v: 0.3 } // Hue, saturation, value\n     * };\n     * gui.addColor(palette, 'color1');\n     * gui.addColor(palette, 'color2');\n     * gui.addColor(palette, 'color3');\n     * gui.addColor(palette, 'color4');\n     */\n    addColor: function(object, property) {\n      return add(\n        this,\n        object,\n        property,\n        {\n          color: true\n        }\n      );\n    },\n\n    /**\n     * Removes the given controller from the GUI.\n     * @param {Controller} controller\n     * @instance\n     */\n    remove: function(controller) {\n      // TODO listening?\n      this.__ul.removeChild(controller.__li);\n      this.__controllers.splice(this.__controllers.indexOf(controller), 1);\n      const _this = this;\n      common.defer(function() {\n        _this.onResize();\n      });\n    },\n\n    /**\n     * Removes the root GUI from the document and unbinds all event listeners.\n     * For subfolders, use `gui.removeFolder(folder)` instead.\n     * @instance\n     */\n    destroy: function() {\n      if (this.parent) {\n        throw new Error(\n          'Only the root GUI should be removed with .destroy(). ' +\n          'For subfolders, use gui.removeFolder(folder) instead.'\n        );\n      }\n\n      if (this.autoPlace) {\n        autoPlaceContainer.removeChild(this.domElement);\n      }\n\n      const _this = this;\n      common.each(this.__folders, function(subfolder) {\n        _this.removeFolder(subfolder);\n      });\n\n      dom.unbind(window, 'keydown', GUI._keydownHandler, false);\n\n      removeListeners(this);\n    },\n\n    /**\n     * Creates a new subfolder GUI instance.\n     * @param name\n     * @returns {dat.gui.GUI} The new folder.\n     * @throws {Error} if this GUI already has a folder by the specified\n     * name\n     * @instance\n     */\n    addFolder: function(name) {\n      // We have to prevent collisions on names in order to have a key\n      // by which to remember saved values\n      if (this.__folders[name] !== undefined) {\n        throw new Error('You already have a folder in this GUI by the' +\n          ' name \"' + name + '\"');\n      }\n\n      const newGuiParams = { name: name, parent: this };\n\n      // We need to pass down the autoPlace trait so that we can\n      // attach event listeners to open/close folder actions to\n      // ensure that a scrollbar appears if the window is too short.\n      newGuiParams.autoPlace = this.autoPlace;\n\n      // Do we have saved appearance data for this folder?\n      if (this.load && // Anything loaded?\n        this.load.folders && // Was my parent a dead-end?\n        this.load.folders[name]) { // Did daddy remember me?\n        // Start me closed if I was closed\n        newGuiParams.closed = this.load.folders[name].closed;\n\n        // Pass down the loaded data\n        newGuiParams.load = this.load.folders[name];\n      }\n\n      const gui = new GUI(newGuiParams);\n      this.__folders[name] = gui;\n\n      const li = addRow(this, gui.domElement);\n      dom.addClass(li, 'folder');\n      return gui;\n    },\n\n    /**\n     * Removes a subfolder GUI instance.\n     * @param {dat.gui.GUI} folder The folder to remove.\n     * @instance\n     */\n    removeFolder: function(folder) {\n      this.__ul.removeChild(folder.domElement.parentElement);\n\n      delete this.__folders[folder.name];\n\n      // Do we have saved appearance data for this folder?\n      if (this.load && // Anything loaded?\n        this.load.folders && // Was my parent a dead-end?\n        this.load.folders[folder.name]) {\n        delete this.load.folders[folder.name];\n      }\n\n      removeListeners(folder);\n\n      const _this = this;\n\n      common.each(folder.__folders, function(subfolder) {\n        folder.removeFolder(subfolder);\n      });\n\n      common.defer(function() {\n        _this.onResize();\n      });\n    },\n\n    /**\n     * Opens the GUI.\n     */\n    open: function() {\n      this.closed = false;\n    },\n\n    /**\n     * Closes the GUI.\n     */\n    close: function() {\n      this.closed = true;\n    },\n\n    /**\n    * Hides the GUI.\n    */\n    hide: function() {\n      this.domElement.style.display = 'none';\n    },\n\n    /**\n    * Shows the GUI.\n    */\n    show: function() {\n      this.domElement.style.display = '';\n    },\n\n\n    onResize: function() {\n      // we debounce this function to prevent performance issues when rotating on tablet/mobile\n      const root = this.getRoot();\n      if (root.scrollable) {\n        const top = dom.getOffset(root.__ul).top;\n        let h = 0;\n\n        common.each(root.__ul.childNodes, function(node) {\n          if (!(root.autoPlace && node === root.__save_row)) {\n            h += dom.getHeight(node);\n          }\n        });\n\n        if (window.innerHeight - top - CLOSE_BUTTON_HEIGHT < h) {\n          dom.addClass(root.domElement, GUI.CLASS_TOO_TALL);\n          root.__ul.style.height = window.innerHeight - top - CLOSE_BUTTON_HEIGHT + 'px';\n        } else {\n          dom.removeClass(root.domElement, GUI.CLASS_TOO_TALL);\n          root.__ul.style.height = 'auto';\n        }\n      }\n\n      if (root.__resize_handle) {\n        common.defer(function() {\n          root.__resize_handle.style.height = root.__ul.offsetHeight + 'px';\n        });\n      }\n\n      if (root.__closeButton) {\n        root.__closeButton.style.width = root.width + 'px';\n      }\n    },\n\n    onResizeDebounced: common.debounce(function() { this.onResize(); }, 50),\n\n    /**\n     * Mark objects for saving. The order of these objects cannot change as\n     * the GUI grows. When remembering new objects, append them to the end\n     * of the list.\n     *\n     * @param {...Object} objects\n     * @throws {Error} if not called on a top level GUI.\n     * @instance\n     * @ignore\n     */\n    remember: function() {\n      if (common.isUndefined(SAVE_DIALOGUE)) {\n        SAVE_DIALOGUE = new CenteredDiv();\n        SAVE_DIALOGUE.domElement.innerHTML = saveDialogueContents;\n      }\n\n      if (this.parent) {\n        throw new Error('You can only call remember on a top level GUI.');\n      }\n\n      const _this = this;\n\n      common.each(Array.prototype.slice.call(arguments), function(object) {\n        if (_this.__rememberedObjects.length === 0) {\n          addSaveMenu(_this);\n        }\n        if (_this.__rememberedObjects.indexOf(object) === -1) {\n          _this.__rememberedObjects.push(object);\n        }\n      });\n\n      if (this.autoPlace) {\n        // Set save row width\n        setWidth(this, this.width);\n      }\n    },\n\n    /**\n     * @returns {dat.gui.GUI} the topmost parent GUI of a nested GUI.\n     * @instance\n     */\n    getRoot: function() {\n      let gui = this;\n      while (gui.parent) {\n        gui = gui.parent;\n      }\n      return gui;\n    },\n\n    /**\n     * @returns {Object} a JSON object representing the current state of\n     * this GUI as well as its remembered properties.\n     * @instance\n     */\n    getSaveObject: function() {\n      const toReturn = this.load;\n      toReturn.closed = this.closed;\n\n      // Am I remembering any values?\n      if (this.__rememberedObjects.length > 0) {\n        toReturn.preset = this.preset;\n\n        if (!toReturn.remembered) {\n          toReturn.remembered = {};\n        }\n\n        toReturn.remembered[this.preset] = getCurrentPreset(this);\n      }\n\n      toReturn.folders = {};\n      common.each(this.__folders, function(element, key) {\n        toReturn.folders[key] = element.getSaveObject();\n      });\n\n      return toReturn;\n    },\n\n    save: function() {\n      if (!this.load.remembered) {\n        this.load.remembered = {};\n      }\n\n      this.load.remembered[this.preset] = getCurrentPreset(this);\n      markPresetModified(this, false);\n      this.saveToLocalStorageIfPossible();\n    },\n\n    saveAs: function(presetName) {\n      if (!this.load.remembered) {\n        // Retain default values upon first save\n        this.load.remembered = {};\n        this.load.remembered[DEFAULT_DEFAULT_PRESET_NAME] = getCurrentPreset(this, true);\n      }\n\n      this.load.remembered[presetName] = getCurrentPreset(this);\n      this.preset = presetName;\n      addPresetOption(this, presetName, true);\n      this.saveToLocalStorageIfPossible();\n    },\n\n    revert: function(gui) {\n      common.each(this.__controllers, function(controller) {\n        // Make revert work on Default.\n        if (!this.getRoot().load.remembered) {\n          controller.setValue(controller.initialValue);\n        } else {\n          recallSavedValue(gui || this.getRoot(), controller);\n        }\n\n        // fire onFinishChange callback\n        if (controller.__onFinishChange) {\n          controller.__onFinishChange.call(controller, controller.getValue());\n        }\n      }, this);\n\n      common.each(this.__folders, function(folder) {\n        folder.revert(folder);\n      });\n\n      if (!gui) {\n        markPresetModified(this.getRoot(), false);\n      }\n    },\n\n    listen: function(controller) {\n      const init = this.__listening.length === 0;\n      this.__listening.push(controller);\n      if (init) {\n        updateDisplays(this.__listening);\n      }\n    },\n\n    updateDisplay: function() {\n      common.each(this.__controllers, function(controller) {\n        controller.updateDisplay();\n      });\n      common.each(this.__folders, function(folder) {\n        folder.updateDisplay();\n      });\n    }\n  }\n);\n\n/**\n * Add a row to the end of the GUI or before another row.\n *\n * @param gui\n * @param [newDom] If specified, inserts the dom content in the new row\n * @param [liBefore] If specified, places the new row before another row\n *\n * @ignore\n */\nfunction addRow(gui, newDom, liBefore) {\n  const li = document.createElement('li');\n  if (newDom) {\n    li.appendChild(newDom);\n  }\n\n  if (liBefore) {\n    gui.__ul.insertBefore(li, liBefore);\n  } else {\n    gui.__ul.appendChild(li);\n  }\n  gui.onResize();\n  return li;\n}\n\nfunction removeListeners(gui) {\n  dom.unbind(window, 'resize', gui.__resizeHandler);\n\n  if (gui.saveToLocalStorageIfPossible) {\n    dom.unbind(window, 'unload', gui.saveToLocalStorageIfPossible);\n  }\n}\n\nfunction markPresetModified(gui, modified) {\n  const opt = gui.__preset_select[gui.__preset_select.selectedIndex];\n\n  if (modified) {\n    opt.innerHTML = opt.value + '*';\n  } else {\n    opt.innerHTML = opt.value;\n  }\n}\n\nfunction augmentController(gui, li, controller) {\n  controller.__li = li;\n  controller.__gui = gui;\n\n  common.extend(controller, /** @lends Controller.prototype */ {\n    /**\n     * @param  {Array|Object} options\n     * @return {Controller}\n     */\n    options: function(options) {\n      if (arguments.length > 1) {\n        const nextSibling = controller.__li.nextElementSibling;\n        controller.remove();\n\n        return add(\n          gui,\n          controller.object,\n          controller.property,\n          {\n            before: nextSibling,\n            factoryArgs: [common.toArray(arguments)]\n          }\n        );\n      }\n\n      if (common.isArray(options) || common.isObject(options)) {\n        const nextSibling = controller.__li.nextElementSibling;\n        controller.remove();\n\n        return add(\n          gui,\n          controller.object,\n          controller.property,\n          {\n            before: nextSibling,\n            factoryArgs: [options]\n          }\n        );\n      }\n    },\n\n    /**\n     * Sets the name of the controller.\n     * @param  {string} name\n     * @return {Controller}\n     */\n    name: function(name) {\n      controller.__li.firstElementChild.firstElementChild.innerHTML = name;\n      return controller;\n    },\n\n    /**\n     * Sets controller to listen for changes on its underlying object.\n     * @return {Controller}\n     */\n    listen: function() {\n      controller.__gui.listen(controller);\n      return controller;\n    },\n\n    /**\n     * Removes the controller from its parent GUI.\n     * @return {Controller}\n     */\n    remove: function() {\n      controller.__gui.remove(controller);\n      return controller;\n    }\n  });\n\n  // All sliders should be accompanied by a box.\n  if (controller instanceof NumberControllerSlider) {\n    const box = new NumberControllerBox(controller.object, controller.property,\n      { min: controller.__min, max: controller.__max, step: controller.__step });\n\n    common.each(['updateDisplay', 'onChange', 'onFinishChange', 'step', 'min', 'max'], function(method) {\n      const pc = controller[method];\n      const pb = box[method];\n      controller[method] = box[method] = function() {\n        const args = Array.prototype.slice.call(arguments);\n        pb.apply(box, args);\n        return pc.apply(controller, args);\n      };\n    });\n\n    dom.addClass(li, 'has-slider');\n    controller.domElement.insertBefore(box.domElement, controller.domElement.firstElementChild);\n  } else if (controller instanceof NumberControllerBox) {\n    const r = function(returned) {\n      // Have we defined both boundaries?\n      if (common.isNumber(controller.__min) && common.isNumber(controller.__max)) {\n        // Well, then lets just replace this with a slider.\n\n        // lets remember if the old controller had a specific name or was listening\n        const oldName = controller.__li.firstElementChild.firstElementChild.innerHTML;\n        const wasListening = controller.__gui.__listening.indexOf(controller) > -1;\n\n        controller.remove();\n        const newController = add(\n          gui,\n          controller.object,\n          controller.property,\n          {\n            before: controller.__li.nextElementSibling,\n            factoryArgs: [controller.__min, controller.__max, controller.__step]\n          }\n        );\n\n        newController.name(oldName);\n        if (wasListening) newController.listen();\n\n        return newController;\n      }\n\n      return returned;\n    };\n\n    controller.min = common.compose(r, controller.min);\n    controller.max = common.compose(r, controller.max);\n  } else if (controller instanceof BooleanController) {\n    dom.bind(li, 'click', function() {\n      dom.fakeEvent(controller.__checkbox, 'click');\n    });\n\n    dom.bind(controller.__checkbox, 'click', function(e) {\n      e.stopPropagation(); // Prevents double-toggle\n    });\n  } else if (controller instanceof FunctionController) {\n    dom.bind(li, 'click', function() {\n      dom.fakeEvent(controller.__button, 'click');\n    });\n\n    dom.bind(li, 'mouseover', function() {\n      dom.addClass(controller.__button, 'hover');\n    });\n\n    dom.bind(li, 'mouseout', function() {\n      dom.removeClass(controller.__button, 'hover');\n    });\n  } else if (controller instanceof ColorController) {\n    dom.addClass(li, 'color');\n    controller.updateDisplay = common.compose(function(val) {\n      li.style.borderLeftColor = controller.__color.toString();\n      return val;\n    }, controller.updateDisplay);\n\n    controller.updateDisplay();\n  }\n\n  controller.setValue = common.compose(function(val) {\n    if (gui.getRoot().__preset_select && controller.isModified()) {\n      markPresetModified(gui.getRoot(), true);\n    }\n\n    return val;\n  }, controller.setValue);\n}\n\nfunction recallSavedValue(gui, controller) {\n  // Find the topmost GUI, that's where remembered objects live.\n  const root = gui.getRoot();\n\n  // Does the object we're controlling match anything we've been told to\n  // remember?\n  const matchedIndex = root.__rememberedObjects.indexOf(controller.object);\n\n  // Why yes, it does!\n  if (matchedIndex !== -1) {\n    // Let me fetch a map of controllers for thcommon.isObject.\n    let controllerMap = root.__rememberedObjectIndecesToControllers[matchedIndex];\n\n    // Ohp, I believe this is the first controller we've created for this\n    // object. Lets make the map fresh.\n    if (controllerMap === undefined) {\n      controllerMap = {};\n      root.__rememberedObjectIndecesToControllers[matchedIndex] =\n        controllerMap;\n    }\n\n    // Keep track of this controller\n    controllerMap[controller.property] = controller;\n\n    // Okay, now have we saved any values for this controller?\n    if (root.load && root.load.remembered) {\n      const presetMap = root.load.remembered;\n\n      // Which preset are we trying to load?\n      let preset;\n\n      if (presetMap[gui.preset]) {\n        preset = presetMap[gui.preset];\n      } else if (presetMap[DEFAULT_DEFAULT_PRESET_NAME]) {\n        // Uhh, you can have the default instead?\n        preset = presetMap[DEFAULT_DEFAULT_PRESET_NAME];\n      } else {\n        // Nada.\n        return;\n      }\n\n      // Did the loaded object remember thcommon.isObject? &&  Did we remember this particular property?\n      if (preset[matchedIndex] && preset[matchedIndex][controller.property] !== undefined) {\n        // We did remember something for this guy ...\n        const value = preset[matchedIndex][controller.property];\n\n        // And that's what it is.\n        controller.initialValue = value;\n        controller.setValue(value);\n      }\n    }\n  }\n}\n\nfunction add(gui, object, property, params) {\n  if (object[property] === undefined) {\n    throw new Error(`Object \"${object}\" has no property \"${property}\"`);\n  }\n\n  let controller;\n\n  if (params.color) {\n    controller = new ColorController(object, property);\n  } else {\n    const factoryArgs = [object, property].concat(params.factoryArgs);\n    controller = ControllerFactory.apply(gui, factoryArgs);\n  }\n\n  if (params.before instanceof Controller) {\n    params.before = params.before.__li;\n  }\n\n  recallSavedValue(gui, controller);\n\n  dom.addClass(controller.domElement, 'c');\n\n  const name = document.createElement('span');\n  dom.addClass(name, 'property-name');\n  name.innerHTML = controller.property;\n\n  const container = document.createElement('div');\n  container.appendChild(name);\n  container.appendChild(controller.domElement);\n\n  const li = addRow(gui, container, params.before);\n\n  dom.addClass(li, GUI.CLASS_CONTROLLER_ROW);\n  if (controller instanceof ColorController) {\n    dom.addClass(li, 'color');\n  } else {\n    dom.addClass(li, typeof controller.getValue());\n  }\n\n  augmentController(gui, li, controller);\n\n  gui.__controllers.push(controller);\n\n  return controller;\n}\n\nfunction getLocalStorageHash(gui, key) {\n  // TODO how does this deal with multiple GUI's?\n  return document.location.href + '.' + key;\n}\n\nfunction addPresetOption(gui, name, setSelected) {\n  const opt = document.createElement('option');\n  opt.innerHTML = name;\n  opt.value = name;\n  gui.__preset_select.appendChild(opt);\n  if (setSelected) {\n    gui.__preset_select.selectedIndex = gui.__preset_select.length - 1;\n  }\n}\n\nfunction showHideExplain(gui, explain) {\n  explain.style.display = gui.useLocalStorage ? 'block' : 'none';\n}\n\nfunction addSaveMenu(gui) {\n  const div = gui.__save_row = document.createElement('li');\n\n  dom.addClass(gui.domElement, 'has-save');\n\n  gui.__ul.insertBefore(div, gui.__ul.firstChild);\n\n  dom.addClass(div, 'save-row');\n\n  const gears = document.createElement('span');\n  gears.innerHTML = '&nbsp;';\n  dom.addClass(gears, 'button gears');\n\n  // TODO replace with FunctionController\n  const button = document.createElement('span');\n  button.innerHTML = 'Save';\n  dom.addClass(button, 'button');\n  dom.addClass(button, 'save');\n\n  const button2 = document.createElement('span');\n  button2.innerHTML = 'New';\n  dom.addClass(button2, 'button');\n  dom.addClass(button2, 'save-as');\n\n  const button3 = document.createElement('span');\n  button3.innerHTML = 'Revert';\n  dom.addClass(button3, 'button');\n  dom.addClass(button3, 'revert');\n\n  const select = gui.__preset_select = document.createElement('select');\n\n  if (gui.load && gui.load.remembered) {\n    common.each(gui.load.remembered, function(value, key) {\n      addPresetOption(gui, key, key === gui.preset);\n    });\n  } else {\n    addPresetOption(gui, DEFAULT_DEFAULT_PRESET_NAME, false);\n  }\n\n  dom.bind(select, 'change', function() {\n    for (let index = 0; index < gui.__preset_select.length; index++) {\n      gui.__preset_select[index].innerHTML = gui.__preset_select[index].value;\n    }\n\n    gui.preset = this.value;\n  });\n\n  div.appendChild(select);\n  div.appendChild(gears);\n  div.appendChild(button);\n  div.appendChild(button2);\n  div.appendChild(button3);\n\n  if (SUPPORTS_LOCAL_STORAGE) {\n    const explain = document.getElementById('dg-local-explain');\n    const localStorageCheckBox = document.getElementById('dg-local-storage');\n    const saveLocally = document.getElementById('dg-save-locally');\n\n    saveLocally.style.display = 'block';\n\n    if (localStorage.getItem(getLocalStorageHash(gui, 'isLocal')) === 'true') {\n      localStorageCheckBox.setAttribute('checked', 'checked');\n    }\n\n    showHideExplain(gui, explain);\n\n    // TODO: Use a boolean controller, fool!\n    dom.bind(localStorageCheckBox, 'change', function() {\n      gui.useLocalStorage = !gui.useLocalStorage;\n      showHideExplain(gui, explain);\n    });\n  }\n\n  const newConstructorTextArea = document.getElementById('dg-new-constructor');\n\n  dom.bind(newConstructorTextArea, 'keydown', function(e) {\n    if (e.metaKey && (e.which === 67 || e.keyCode === 67)) {\n      SAVE_DIALOGUE.hide();\n    }\n  });\n\n  dom.bind(gears, 'click', function() {\n    newConstructorTextArea.innerHTML = JSON.stringify(gui.getSaveObject(), undefined, 2);\n    SAVE_DIALOGUE.show();\n    newConstructorTextArea.focus();\n    newConstructorTextArea.select();\n  });\n\n  dom.bind(button, 'click', function() {\n    gui.save();\n  });\n\n  dom.bind(button2, 'click', function() {\n    const presetName = prompt('Enter a new preset name.');\n    if (presetName) {\n      gui.saveAs(presetName);\n    }\n  });\n\n  dom.bind(button3, 'click', function() {\n    gui.revert();\n  });\n\n  // div.appendChild(button2);\n}\n\nfunction addResizeHandle(gui) {\n  let pmouseX;\n\n  gui.__resize_handle = document.createElement('div');\n\n  common.extend(gui.__resize_handle.style, {\n\n    width: '6px',\n    marginLeft: '-3px',\n    height: '200px',\n    cursor: 'ew-resize',\n    position: 'absolute'\n    // border: '1px solid blue'\n\n  });\n\n  function drag(e) {\n    e.preventDefault();\n\n    gui.width += pmouseX - e.clientX;\n    gui.onResize();\n    pmouseX = e.clientX;\n\n    return false;\n  }\n\n  function dragStop() {\n    dom.removeClass(gui.__closeButton, GUI.CLASS_DRAG);\n    dom.unbind(window, 'mousemove', drag);\n    dom.unbind(window, 'mouseup', dragStop);\n  }\n\n  function dragStart(e) {\n    e.preventDefault();\n\n    pmouseX = e.clientX;\n\n    dom.addClass(gui.__closeButton, GUI.CLASS_DRAG);\n    dom.bind(window, 'mousemove', drag);\n    dom.bind(window, 'mouseup', dragStop);\n\n    return false;\n  }\n\n  dom.bind(gui.__resize_handle, 'mousedown', dragStart);\n  dom.bind(gui.__closeButton, 'mousedown', dragStart);\n\n  gui.domElement.insertBefore(gui.__resize_handle, gui.domElement.firstElementChild);\n}\n\nfunction setWidth(gui, w) {\n  gui.domElement.style.width = w + 'px';\n  // Auto placed save-rows are position fixed, so we have to\n  // set the width manually if we want it to bleed to the edge\n  if (gui.__save_row && gui.autoPlace) {\n    gui.__save_row.style.width = w + 'px';\n  }\n  if (gui.__closeButton) {\n    gui.__closeButton.style.width = w + 'px';\n  }\n}\n\nfunction getCurrentPreset(gui, useInitialValues) {\n  const toReturn = {};\n\n  // For each object I'm remembering\n  common.each(gui.__rememberedObjects, function(val, index) {\n    const savedValues = {};\n\n    // The controllers I've made for thcommon.isObject by property\n    const controllerMap =\n      gui.__rememberedObjectIndecesToControllers[index];\n\n    // Remember each value for each property\n    common.each(controllerMap, function(controller, property) {\n      savedValues[property] = useInitialValues ? controller.initialValue : controller.getValue();\n    });\n\n    // Save the values for thcommon.isObject\n    toReturn[index] = savedValues;\n  });\n\n  return toReturn;\n}\n\nfunction setPresetSelectIndex(gui) {\n  for (let index = 0; index < gui.__preset_select.length; index++) {\n    if (gui.__preset_select[index].value === gui.preset) {\n      gui.__preset_select.selectedIndex = index;\n    }\n  }\n}\n\nfunction updateDisplays(controllerArray) {\n  if (controllerArray.length !== 0) {\n    requestAnimationFrame.call(window, function() {\n      updateDisplays(controllerArray);\n    });\n  }\n\n  common.each(controllerArray, function(c) {\n    c.updateDisplay();\n  });\n}\n\nexport default GUI;\n","/**\n * dat-gui JavaScript Controller Library\n * https://github.com/dataarts/dat.gui\n *\n * Copyright 2011 Data Arts Team, Google Creative Lab\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n */\n\nimport Color from './color/Color';\nimport math from './color/math';\nimport interpret from './color/interpret';\n\nimport Controller from './controllers/Controller';\nimport BooleanController from './controllers/BooleanController';\nimport OptionController from './controllers/OptionController';\nimport StringController from './controllers/StringController';\nimport NumberController from './controllers/NumberController';\nimport NumberControllerBox from './controllers/NumberControllerBox';\nimport NumberControllerSlider from './controllers/NumberControllerSlider';\nimport FunctionController from './controllers/FunctionController';\nimport ColorController from './controllers/ColorController';\n\nimport domImport from './dom/dom';\nimport GUIImport from './gui/GUI';\n\nexport const color = {\n  Color: Color,\n  math: math,\n  interpret: interpret\n};\n\nexport const controllers = {\n  Controller: Controller,\n  BooleanController: BooleanController,\n  OptionController: OptionController,\n  StringController: StringController,\n  NumberController: NumberController,\n  NumberControllerBox: NumberControllerBox,\n  NumberControllerSlider: NumberControllerSlider,\n  FunctionController: FunctionController,\n  ColorController: ColorController\n};\n\nexport const dom = { dom: domImport };\n\nexport const gui = { GUI: GUIImport };\n\nexport const GUI = GUIImport;\n\nexport default {\n  color,\n  controllers,\n  dom,\n  gui,\n  GUI\n};\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e(require(\"three\")):\"function\"==typeof define&&define.amd?define([\"three\"],e):((t=\"undefined\"!=typeof globalThis?globalThis:t||self).THREE=t.THREE||{},t.THREE.TextTexture=e(t.THREE))}(this,(function(t){\"use strict\";let e=class extends t.Texture{constructor(){super(document.createElement(\"canvas\"));let e=null,i=()=>e||(e=this.createDrawable()),n=()=>i().width,o=()=>i().height,r=!0,l=1,a=()=>t.MathUtils.ceilPowerOfTwo(n()*l),s=()=>t.MathUtils.ceilPowerOfTwo(o()*l),h=t=>{if(l!==t){let e=a(),i=s();l=t;let n=a(),o=s();n===e&&o===i||(r=!0)}},c=(()=>{let e=new t.Vector3,i=new t.Vector2,r=new t.Vector3,l=new t.Vector3,a=new t.Vector2;return(s,h,c)=>{if(a.set(n(),o()),a.x&&a.y){s.getWorldPosition(r),c.getWorldPosition(e);let n=r.distanceTo(e);if(c.isPerspectiveCamera&&(n*=2*Math.tan(t.MathUtils.degToRad(c.fov)/2)),(c.isPerspectiveCamera||c.isOrthographicCamera)&&(n/=c.zoom),n){var f,d;s.getWorldScale(l);let t=null!==(f=null===(d=h.capabilities)||void 0===d?void 0:d.maxTextureSize)&&void 0!==f?f:1/0;return h.getDrawingBufferSize(i),Math.min(Math.max(l.x/n*(i.x/a.x),l.y/n*(i.y/a.y)),t/a.x,t/a.y)}}return 0}})();Object.defineProperties(this,{width:{get:n},height:{get:o},pixelRatio:{get:()=>l,set:h},needsRedraw:{set(t){t&&(r=!0,e=null)}}}),Object.assign(this,{redraw(){if(r){let t=this.image,e=t.getContext(\"2d\");e.clearRect(0,0,t.width,t.height),t.width=a(),t.height=s(),t.width&&t.height?(e.save(),e.scale(t.width/n(),t.height/o()),((...t)=>{i().draw(...t)})(e),e.restore()):t.width=t.height=1,r=!1,this.needsUpdate=!0}},setOptimalPixelRatio(...t){h(c(...t))}})}};e.prototype.isDynamicTexture=!0;let i=class extends e{constructor({alignment:t=\"center\",backgroundColor:e=\"rgba(0,0,0,0)\",color:i=\"#fff\",fontFamily:n=\"sans-serif\",fontSize:o=16,fontStyle:r=\"normal\",fontVariant:l=\"normal\",fontWeight:a=\"normal\",lineGap:s=1/4,padding:h=.5,strokeColor:c=\"#fff\",strokeWidth:f=0,text:d=\"\"}={}){super(),Object.entries({alignment:t,backgroundColor:e,color:i,fontFamily:n,fontSize:o,fontStyle:r,fontVariant:l,fontWeight:a,lineGap:s,padding:h,strokeColor:c,strokeWidth:f,text:d}).forEach((([t,e])=>{Object.defineProperty(this,t,{get:()=>e,set(t){e!==t&&(e=t,this.needsRedraw=!0)}})}))}get lines(){let{text:t}=this;return t?t.split(\"\\n\"):[]}get font(){return function(t,e,i,n,o){let r=document.createElement(\"span\");return r.style.font=\"1px serif\",r.style.fontFamily=t,r.style.fontSize=\"\".concat(e,\"px\"),r.style.fontStyle=i,r.style.fontVariant=n,r.style.fontWeight=o,r.style.font}(this.fontFamily,this.fontSize,this.fontStyle,this.fontVariant,this.fontWeight)}checkFontFace(){try{let{font:t}=this;return document.fonts.check(t)}catch{}return!0}async loadFontFace(){try{let{font:t}=this;await document.fonts.load(t)}catch{}}createDrawable(){let{alignment:t,backgroundColor:e,color:i,font:n,fontSize:o,lineGap:r,lines:l,padding:a,strokeColor:s,strokeWidth:h}=this;a*=o,r*=o,h*=o;let c=l.length,f=o+r,d=c?(()=>{let t=document.createElement(\"canvas\").getContext(\"2d\");return t.font=n,Math.max(...l.map((e=>t.measureText(e).width)))})():0,g=a+h/2,u=d+2*g;return{width:u,height:(c?o+f*(c-1):0)+2*g,draw(r){let a;r.fillStyle=e,r.fillRect(0,0,r.canvas.width,r.canvas.height);let c=g+o/2;Object.assign(r,{fillStyle:i,font:n,lineWidth:h,miterLimit:1,strokeStyle:s,textAlign:(()=>{switch(t){case\"left\":return a=g,\"left\";case\"right\":return a=u-g,\"right\"}return a=u/2,\"center\"})(),textBaseline:\"middle\"}),l.forEach((t=>{r.fillText(t,a,c),h&&r.strokeText(t,a,c),c+=f}))}}}};return i.prototype.isTextTexture=!0,i}));\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t(require(\"three\"),require(\"@seregpie/three.text-texture\")):\"function\"==typeof define&&define.amd?define([\"three\",\"@seregpie/three.text-texture\"],t):((e=\"undefined\"!=typeof globalThis?globalThis:e||self).THREE=e.THREE||{},e.THREE.TextSprite=t(e.THREE,e.THREE.TextTexture))}(this,(function(e,t){\"use strict\";function i(e){return e&&\"object\"==typeof e&&\"default\"in e?e:{default:e}}var r=i(t);let o=class extends e.Sprite{constructor({fontSize:t=1,...i}={},o=new e.SpriteMaterial({depthWrite:!1})){super(o);let a=new r.default({fontSize:t,...i});this.material.map=a}onBeforeRender(e,t,i){let{material:r}=this,{map:o}=r;if(o.checkFontFace()){let{scale:t}=this,{height:r,width:a}=o;a&&r?(t.setX(a).setY(r),o.setOptimalPixelRatio(this,e,i),o.redraw()):t.setScalar(1)}else o.loadFontFace()}dispose(){let{material:e}=this,{map:t}=e;t.dispose(),e.dispose()}};return[\"alignment\",\"backgroundColor\",\"color\",\"fontFamily\",\"fontSize\",\"fontStyle\",\"fontVariant\",\"fontWeight\",\"lineGap\",\"padding\",\"strokeColor\",\"strokeWidth\",\"text\"].forEach((e=>{Object.defineProperty(o.prototype,e,{get(){return this.material.map[e]},set(t){this.material.map[e]=t}})})),o.prototype.isTextSprite=!0,o}));\n","(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n  typeof define === 'function' && define.amd ? define(['exports'], factory) :\n  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.troika_worker_utils = {}));\n}(this, (function (exports) { 'use strict';\n\n  /**\n   * Lightweight thenable implementation that is entirely self-contained within a single\n   * function with no external dependencies so it can be easily shipped across to a WorkerModule.\n   *\n   * This implementation conforms fully to the Promises/A+ spec so it can safely interoperate\n   * with other thenable implementations. https://github.com/promises-aplus/promises-spec\n   *\n   * *However*, it is _not_ a full implementation of ES2015 Promises, e.g. it does not\n   * have the same constructor signature and does not expose a `catch` method or the static\n   * `resolve`/`reject`/`all`/`race` initializer methods. If you need to hand a Thenable\n   * instance off to consuming code that may expect a true Promise, you'll want to wrap it\n   * in a native-or-polyfilled Promise first.\n   *\n   * (Why yet another Promises/A+ implementation? Great question. We needed a polyfill-like\n   * thing that was (a) wrapped in a single function for easy serialization across to a Worker,\n   * and (b) was as small as possible -- at ~900B minified (~500B gzipped) this is the smallest\n   * implementation I've found. And also, exercises like this are challenging and fun.)\n   */\n  function BespokeThenable() {\n    var state = 0; // 0=pending, 1=fulfilled, -1=rejected\n    var queue = [];\n    var value;\n    var scheduled = 0;\n    var completeCalled = 0;\n\n    function then(onResolve, onReject) {\n      var nextThenable = BespokeThenable();\n\n      function handleNext() {\n        var cb = state > 0 ? onResolve : onReject;\n        if (isFn(cb)) {\n          try {\n            var result = cb(value);\n            if (result === nextThenable) {\n              recursiveError();\n            }\n            var resultThen = getThenableThen(result);\n            if (resultThen) {\n              resultThen.call(result, nextThenable.resolve, nextThenable.reject);\n            } else {\n              nextThenable.resolve(result);\n            }\n          } catch (err) {\n            nextThenable.reject(err);\n          }\n        } else {\n          nextThenable[state > 0 ? 'resolve' : 'reject'](value);\n        }\n      }\n\n      queue.push(handleNext);\n      if (state) {\n        scheduleQueueFlush();\n      }\n      return nextThenable\n    }\n\n    var resolve = oneTime(function (val) {\n      if (!completeCalled) {\n        complete(1, val);\n      }\n    });\n\n    var reject = oneTime(function (reason) {\n      if (!completeCalled) {\n        complete(-1, reason);\n      }\n    });\n\n    function complete(st, val) {\n      completeCalled++;\n      var ignoreThrow = 0;\n      try {\n        if (val === thenableObj) {\n          recursiveError();\n        }\n        var valThen = st > 0 && getThenableThen(val);\n        if (valThen) {\n          valThen.call(val, oneTime(function (v) {\n            ignoreThrow++;\n            complete(1, v);\n          }), oneTime(function (v) {\n            ignoreThrow++;\n            complete(-1, v);\n          }));\n        } else {\n          state = st;\n          value = val;\n          scheduleQueueFlush();\n        }\n      } catch(e) {\n        if (!state && !ignoreThrow) {\n          complete(-1, e);\n        }\n      }\n    }\n\n    function scheduleQueueFlush() {\n      if (!scheduled) {\n        setTimeout(flushQueue, 0); //TODO setImmediate or postMessage approach if available?\n        scheduled = 1;\n      }\n    }\n\n    function flushQueue() {\n      var q = queue;\n      scheduled = 0;\n      queue = [];\n      q.forEach(callIt);\n    }\n\n    function callIt(fn) {\n      fn();\n    }\n\n    function getThenableThen(val) {\n      var valThen = val && (isFn(val) || typeof val === 'object') && val.then;\n      return isFn(valThen) && valThen\n    }\n\n    function oneTime(fn) {\n      var called = 0;\n      return function() {\n        var args = [], len = arguments.length;\n        while ( len-- ) args[ len ] = arguments[ len ];\n\n        if (!called++) {\n          fn.apply(this, args);\n        }\n      }\n    }\n\n    function recursiveError() {\n      throw new TypeError('Chaining cycle detected')\n    }\n\n    var isFn = function (v) { return typeof v === 'function'; };\n\n    var thenableObj = {\n      then: then,\n      resolve: resolve,\n      reject: reject\n    };\n    return thenableObj\n  }\n\n\n  /**\n   * Thenable implementation that uses a native Promise under the covers. This implementation\n   * is preferred if Promise is available, for better performance and dev tools integration.\n   * @constructor\n   */\n  function NativePromiseThenable() {\n    var resolve, reject;\n    var promise = new Promise(function (res, rej) {\n      resolve = res;\n      reject = rej;\n    });\n    return {\n      then: promise.then.bind(promise),\n      resolve: resolve,\n      reject: reject\n    }\n  }\n\n  /**\n   * Promise.all() impl:\n   */\n  BespokeThenable.all = NativePromiseThenable.all = function(items) {\n    var resultCount = 0;\n    var results = [];\n    var out = DefaultThenable();\n    if (items.length === 0) {\n      out.resolve([]);\n    } else {\n      items.forEach(function (item, i) {\n        var itemThenable = DefaultThenable();\n        itemThenable.resolve(item);\n        itemThenable.then(function (res) {\n          resultCount++;\n          results[i] = res;\n          if (resultCount === items.length) {\n            out.resolve(results);\n          }\n        }, out.reject);\n      });\n    }\n    return out\n  };\n\n\n  /**\n   * Choose the best Thenable implementation and export it as the default.\n   */\n  var DefaultThenable = typeof Promise === 'function' ? NativePromiseThenable : BespokeThenable;\n\n  /**\n   * Main content for the worker that handles the loading and execution of\n   * modules within it.\n   */\n  function workerBootstrap() {\n    var modules = Object.create(null);\n\n    // Handle messages for registering a module\n    function registerModule(ref, callback) {\n      var id = ref.id;\n      var name = ref.name;\n      var dependencies = ref.dependencies; if ( dependencies === void 0 ) dependencies = [];\n      var init = ref.init; if ( init === void 0 ) init = function(){};\n      var getTransferables = ref.getTransferables; if ( getTransferables === void 0 ) getTransferables = null;\n\n      // Only register once\n      if (modules[id]) { return }\n\n      try {\n        // If any dependencies are modules, ensure they're registered and grab their value\n        dependencies = dependencies.map(function (dep) {\n          if (dep && dep.isWorkerModule) {\n            registerModule(dep, function (depResult) {\n              if (depResult instanceof Error) { throw depResult }\n            });\n            dep = modules[dep.id].value;\n          }\n          return dep\n        });\n\n        // Rehydrate functions\n        init = rehydrate((\"<\" + name + \">.init\"), init);\n        if (getTransferables) {\n          getTransferables = rehydrate((\"<\" + name + \">.getTransferables\"), getTransferables);\n        }\n\n        // Initialize the module and store its value\n        var value = null;\n        if (typeof init === 'function') {\n          value = init.apply(void 0, dependencies);\n        } else {\n          console.error('worker module init function failed to rehydrate');\n        }\n        modules[id] = {\n          id: id,\n          value: value,\n          getTransferables: getTransferables\n        };\n        callback(value);\n      } catch(err) {\n        if (!(err && err.noLog)) {\n          console.error(err);\n        }\n        callback(err);\n      }\n    }\n\n    // Handle messages for calling a registered module's result function\n    function callModule(ref, callback) {\n      var ref$1;\n\n      var id = ref.id;\n      var args = ref.args;\n      if (!modules[id] || typeof modules[id].value !== 'function') {\n        callback(new Error((\"Worker module \" + id + \": not found or its 'init' did not return a function\")));\n      }\n      try {\n        var result = (ref$1 = modules[id]).value.apply(ref$1, args);\n        if (result && typeof result.then === 'function') {\n          result.then(handleResult, function (rej) { return callback(rej instanceof Error ? rej : new Error('' + rej)); });\n        } else {\n          handleResult(result);\n        }\n      } catch(err) {\n        callback(err);\n      }\n      function handleResult(result) {\n        try {\n          var tx = modules[id].getTransferables && modules[id].getTransferables(result);\n          if (!tx || !Array.isArray(tx) || !tx.length) {\n            tx = undefined; //postMessage is very picky about not passing null or empty transferables\n          }\n          callback(result, tx);\n        } catch(err) {\n          console.error(err);\n          callback(err);\n        }\n      }\n    }\n\n    function rehydrate(name, str) {\n      var result = void 0;\n      self.troikaDefine = function (r) { return result = r; };\n      var url = URL.createObjectURL(\n        new Blob(\n          [(\"/** \" + (name.replace(/\\*/g, '')) + \" **/\\n\\ntroikaDefine(\\n\" + str + \"\\n)\")],\n          {type: 'application/javascript'}\n        )\n      );\n      try {\n        importScripts(url);\n      } catch(err) {\n        console.error(err);\n      }\n      URL.revokeObjectURL(url);\n      delete self.troikaDefine;\n      return result\n    }\n\n    // Handler for all messages within the worker\n    self.addEventListener('message', function (e) {\n      var ref = e.data;\n      var messageId = ref.messageId;\n      var action = ref.action;\n      var data = ref.data;\n      try {\n        // Module registration\n        if (action === 'registerModule') {\n          registerModule(data, function (result) {\n            if (result instanceof Error) {\n              postMessage({\n                messageId: messageId,\n                success: false,\n                error: result.message\n              });\n            } else {\n              postMessage({\n                messageId: messageId,\n                success: true,\n                result: {isCallable: typeof result === 'function'}\n              });\n            }\n          });\n        }\n        // Invocation\n        if (action === 'callModule') {\n          callModule(data, function (result, transferables) {\n            if (result instanceof Error) {\n              postMessage({\n                messageId: messageId,\n                success: false,\n                error: result.message\n              });\n            } else {\n              postMessage({\n                messageId: messageId,\n                success: true,\n                result: result\n              }, transferables || undefined);\n            }\n          });\n        }\n      } catch(err) {\n        postMessage({\n          messageId: messageId,\n          success: false,\n          error: err.stack\n        });\n      }\n    });\n  }\n\n  /**\n   * Fallback for `defineWorkerModule` that behaves identically but runs in the main\n   * thread, for when the execution environment doesn't support web workers or they\n   * are disallowed due to e.g. CSP security restrictions.\n   */\n  function defineMainThreadModule(options) {\n    var moduleFunc = function() {\n      var args = [], len = arguments.length;\n      while ( len-- ) args[ len ] = arguments[ len ];\n\n      return moduleFunc._getInitResult().then(function (initResult) {\n        if (typeof initResult === 'function') {\n          return initResult.apply(void 0, args)\n        } else {\n          throw new Error('Worker module function was called but `init` did not return a callable function')\n        }\n      })\n    };\n    moduleFunc._getInitResult = function() {\n      // We can ignore getTransferables in main thread. TODO workerId?\n      var dependencies = options.dependencies;\n      var init = options.init;\n\n      // Resolve dependencies\n      dependencies = Array.isArray(dependencies) ? dependencies.map(function (dep) { return dep && dep._getInitResult ? dep._getInitResult() : dep; }\n      ) : [];\n\n      // Invoke init with the resolved dependencies\n      var initThenable = DefaultThenable.all(dependencies).then(function (deps) {\n        return init.apply(null, deps)\n      });\n\n      // Cache the resolved promise for subsequent calls\n      moduleFunc._getInitResult = function () { return initThenable; };\n\n      return initThenable\n    };\n    return moduleFunc\n  }\n\n  var supportsWorkers = function () {\n    var supported = false;\n\n    // Only attempt worker initialization in browsers; elsewhere it would just be\n    // noise e.g. loading into a Node environment for SSR.\n    if (typeof window !== 'undefined' && typeof window.document !== 'undefined') {\n      try {\n        // TODO additional checks for things like importScripts within the worker?\n        //  Would need to be an async check.\n        var worker = new Worker(\n          URL.createObjectURL(new Blob([''], { type: 'application/javascript' }))\n        );\n        worker.terminate();\n        supported = true;\n      } catch (err) {\n        if (typeof process !== 'undefined' && process.env.NODE_ENV === 'test') ; else {\n          console.log(\n            (\"Troika createWorkerModule: web workers not allowed; falling back to main thread execution. Cause: [\" + (err.message) + \"]\")\n          );\n        }\n      }\n    }\n\n    // Cached result\n    supportsWorkers = function () { return supported; };\n    return supported\n  };\n\n  var _workerModuleId = 0;\n  var _messageId = 0;\n  var _allowInitAsString = false;\n  var workers = Object.create(null);\n  var registeredModules = Object.create(null); //workerId -> Set<unregisterFn>\n  var openRequests = Object.create(null);\n\n\n  /**\n   * Define a module of code that will be executed with a web worker. This provides a simple\n   * interface for moving chunks of logic off the main thread, and managing their dependencies\n   * among one another.\n   *\n   * @param {object} options\n   * @param {function} options.init\n   * @param {array} [options.dependencies]\n   * @param {function} [options.getTransferables]\n   * @param {string} [options.name]\n   * @param {string} [options.workerId]\n   * @return {function(...[*]): {then}}\n   */\n  function defineWorkerModule(options) {\n    if ((!options || typeof options.init !== 'function') && !_allowInitAsString) {\n      throw new Error('requires `options.init` function')\n    }\n    var dependencies = options.dependencies;\n    var init = options.init;\n    var getTransferables = options.getTransferables;\n    var workerId = options.workerId;\n\n    if (!supportsWorkers()) {\n      return defineMainThreadModule(options)\n    }\n\n    if (workerId == null) {\n      workerId = '#default';\n    }\n    var id = \"workerModule\" + (++_workerModuleId);\n    var name = options.name || id;\n    var registrationThenable = null;\n\n    dependencies = dependencies && dependencies.map(function (dep) {\n      // Wrap raw functions as worker modules with no dependencies\n      if (typeof dep === 'function' && !dep.workerModuleData) {\n        _allowInitAsString = true;\n        dep = defineWorkerModule({\n          workerId: workerId,\n          name: (\"<\" + name + \"> function dependency: \" + (dep.name)),\n          init: (\"function(){return (\\n\" + (stringifyFunction(dep)) + \"\\n)}\")\n        });\n        _allowInitAsString = false;\n      }\n      // Grab postable data for worker modules\n      if (dep && dep.workerModuleData) {\n        dep = dep.workerModuleData;\n      }\n      return dep\n    });\n\n    function moduleFunc() {\n      var args = [], len = arguments.length;\n      while ( len-- ) args[ len ] = arguments[ len ];\n\n      // Register this module if needed\n      if (!registrationThenable) {\n        registrationThenable = callWorker(workerId,'registerModule', moduleFunc.workerModuleData);\n        var unregister = function () {\n          registrationThenable = null;\n          registeredModules[workerId].delete(unregister);\n        }\n        ;(registeredModules[workerId] || (registeredModules[workerId] = new Set())).add(unregister);\n      }\n\n      // Invoke the module, returning a thenable\n      return registrationThenable.then(function (ref) {\n        var isCallable = ref.isCallable;\n\n        if (isCallable) {\n          return callWorker(workerId,'callModule', {id: id, args: args})\n        } else {\n          throw new Error('Worker module function was called but `init` did not return a callable function')\n        }\n      })\n    }\n    moduleFunc.workerModuleData = {\n      isWorkerModule: true,\n      id: id,\n      name: name,\n      dependencies: dependencies,\n      init: stringifyFunction(init),\n      getTransferables: getTransferables && stringifyFunction(getTransferables)\n    };\n    return moduleFunc\n  }\n\n  /**\n   * Terminate an active Worker by a workerId that was passed to defineWorkerModule.\n   * This only terminates the Worker itself; the worker module will remain available\n   * and if you call it again its Worker will be respawned.\n   * @param {string} workerId\n   */\n  function terminateWorker(workerId) {\n    // Unregister all modules that were registered in that worker\n    if (registeredModules[workerId]) {\n      registeredModules[workerId].forEach(function (unregister) {\n        unregister();\n      });\n    }\n    // Terminate the Worker object\n    if (workers[workerId]) {\n      workers[workerId].terminate();\n      delete workers[workerId];\n    }\n  }\n\n  /**\n   * Stringifies a function into a form that can be deserialized in the worker\n   * @param fn\n   */\n  function stringifyFunction(fn) {\n    var str = fn.toString();\n    // If it was defined in object method/property format, it needs to be modified\n    if (!/^function/.test(str) && /^\\w+\\s*\\(/.test(str)) {\n      str = 'function ' + str;\n    }\n    return str\n  }\n\n\n  function getWorker(workerId) {\n    var worker = workers[workerId];\n    if (!worker) {\n      // Bootstrap the worker's content\n      var bootstrap = stringifyFunction(workerBootstrap);\n\n      // Create the worker from the bootstrap function content\n      worker = workers[workerId] = new Worker(\n        URL.createObjectURL(\n          new Blob(\n            [(\"/** Worker Module Bootstrap: \" + (workerId.replace(/\\*/g, '')) + \" **/\\n\\n;(\" + bootstrap + \")()\")],\n            {type: 'application/javascript'}\n          )\n        )\n      );\n\n      // Single handler for response messages from the worker\n      worker.onmessage = function (e) {\n        var response = e.data;\n        var msgId = response.messageId;\n        var callback = openRequests[msgId];\n        if (!callback) {\n          throw new Error('WorkerModule response with empty or unknown messageId')\n        }\n        delete openRequests[msgId];\n        callback(response);\n      };\n    }\n    return worker\n  }\n\n  // Issue a call to the worker with a callback to handle the response\n  function callWorker(workerId, action, data) {\n    var thenable = DefaultThenable();\n    var messageId = ++_messageId;\n    openRequests[messageId] = function (response) {\n      if (response.success) {\n        thenable.resolve(response.result);\n      } else {\n        thenable.reject(new Error((\"Error in worker \" + action + \" call: \" + (response.error))));\n      }\n    };\n    getWorker(workerId).postMessage({\n      messageId: messageId,\n      action: action,\n      data: data\n    });\n    return thenable\n  }\n\n  /**\n   * Just the {@link Thenable} function wrapped as a worker module. If another worker\n   * module needs Thenable as a dependency, it's better to pass this module rather than\n   * the raw function in its `dependencies` array so it only gets registered once.\n   */\n  var ThenableWorkerModule = /*#__PURE__*/defineWorkerModule({\n    name: 'Thenable',\n    dependencies: [DefaultThenable],\n    init: function(Thenable) {\n      return Thenable\n    }\n  });\n\n  exports.Thenable = DefaultThenable;\n  exports.ThenableWorkerModule = ThenableWorkerModule;\n  exports.defineWorkerModule = defineWorkerModule;\n  exports.stringifyFunction = stringifyFunction;\n  exports.terminateWorker = terminateWorker;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\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 = typeof globalThis !== 'undefined' ? globalThis : global || self, global.webgl_sdf_generator = factory());\n}(this, (function () { 'use strict';\n\n  function SDFGenerator() {\n  var exports = (function (exports) {\n\n    /**\n     * Find the point on a quadratic bezier curve at t where t is in the range [0, 1]\n     */\n    function pointOnQuadraticBezier (x0, y0, x1, y1, x2, y2, t, pointOut) {\n      var t2 = 1 - t;\n      pointOut.x = t2 * t2 * x0 + 2 * t2 * t * x1 + t * t * x2;\n      pointOut.y = t2 * t2 * y0 + 2 * t2 * t * y1 + t * t * y2;\n    }\n\n    /**\n     * Find the point on a cubic bezier curve at t where t is in the range [0, 1]\n     */\n    function pointOnCubicBezier (x0, y0, x1, y1, x2, y2, x3, y3, t, pointOut) {\n      var t2 = 1 - t;\n      pointOut.x = t2 * t2 * t2 * x0 + 3 * t2 * t2 * t * x1 + 3 * t2 * t * t * x2 + t * t * t * x3;\n      pointOut.y = t2 * t2 * t2 * y0 + 3 * t2 * t2 * t * y1 + 3 * t2 * t * t * y2 + t * t * t * y3;\n    }\n\n    /**\n     * Parse a path string into its constituent line/curve commands, invoking a callback for each.\n     * @param {string} pathString - An SVG-like path string to parse; should only contain commands: M/L/Q/C/Z\n     * @param {function(\n     *   command: 'L'|'Q'|'C',\n     *   startX: number,\n     *   startY: number,\n     *   endX: number,\n     *   endY: number,\n     *   ctrl1X?: number,\n     *   ctrl1Y?: number,\n     *   ctrl2X?: number,\n     *   ctrl2Y?: number\n     * )} commandCallback - A callback function that will be called once for each parsed path command, passing the\n     *                      command identifier (only L/Q/C commands) and its numeric arguments.\n     */\n    function forEachPathCommand(pathString, commandCallback) {\n      var segmentRE = /([MLQCZ])([^MLQCZ]*)/g;\n      var match, firstX, firstY, prevX, prevY;\n      while ((match = segmentRE.exec(pathString))) {\n        var args = match[2]\n          .replace(/^\\s*|\\s*$/g, '')\n          .split(/[,\\s]+/)\n          .map(function (v) { return parseFloat(v); });\n        switch (match[1]) {\n          case 'M':\n            prevX = firstX = args[0];\n            prevY = firstY = args[1];\n            break\n          case 'L':\n            if (args[0] !== prevX || args[1] !== prevY) { // yup, some fonts have zero-length line commands\n              commandCallback('L', prevX, prevY, (prevX = args[0]), (prevY = args[1]));\n            }\n            break\n          case 'Q': {\n            commandCallback('Q', prevX, prevY, (prevX = args[2]), (prevY = args[3]), args[0], args[1]);\n            break\n          }\n          case 'C': {\n            commandCallback('C', prevX, prevY, (prevX = args[4]), (prevY = args[5]), args[0], args[1], args[2], args[3]);\n            break\n          }\n          case 'Z':\n            if (prevX !== firstX || prevY !== firstY) {\n              commandCallback('L', prevX, prevY, firstX, firstY);\n            }\n            break\n        }\n      }\n    }\n\n    /**\n     * Convert a path string to a series of straight line segments\n     * @param {string} pathString - An SVG-like path string to parse; should only contain commands: M/L/Q/C/Z\n     * @param {function(x1:number, y1:number, x2:number, y2:number)} segmentCallback - A callback\n     *        function that will be called once for every line segment\n     * @param {number} [curvePoints] - How many straight line segments to use when approximating a\n     *        bezier curve in the path. Defaults to 16.\n     */\n    function pathToLineSegments (pathString, segmentCallback, curvePoints) {\n      if ( curvePoints === void 0 ) curvePoints = 16;\n\n      var tempPoint = { x: 0, y: 0 };\n      forEachPathCommand(pathString, function (command, startX, startY, endX, endY, ctrl1X, ctrl1Y, ctrl2X, ctrl2Y) {\n        switch (command) {\n          case 'L':\n            segmentCallback(startX, startY, endX, endY);\n            break\n          case 'Q': {\n            var prevCurveX = startX;\n            var prevCurveY = startY;\n            for (var i = 1; i < curvePoints; i++) {\n              pointOnQuadraticBezier(\n                startX, startY,\n                ctrl1X, ctrl1Y,\n                endX, endY,\n                i / (curvePoints - 1),\n                tempPoint\n              );\n              segmentCallback(prevCurveX, prevCurveY, tempPoint.x, tempPoint.y);\n              prevCurveX = tempPoint.x;\n              prevCurveY = tempPoint.y;\n            }\n            break\n          }\n          case 'C': {\n            var prevCurveX$1 = startX;\n            var prevCurveY$1 = startY;\n            for (var i$1 = 1; i$1 < curvePoints; i$1++) {\n              pointOnCubicBezier(\n                startX, startY,\n                ctrl1X, ctrl1Y,\n                ctrl2X, ctrl2Y,\n                endX, endY,\n                i$1 / (curvePoints - 1),\n                tempPoint\n              );\n              segmentCallback(prevCurveX$1, prevCurveY$1, tempPoint.x, tempPoint.y);\n              prevCurveX$1 = tempPoint.x;\n              prevCurveY$1 = tempPoint.y;\n            }\n            break\n          }\n        }\n      });\n    }\n\n    var viewportQuadVertex = \"precision highp float;attribute vec2 aUV;varying vec2 vUV;void main(){vUV=aUV;gl_Position=vec4(mix(vec2(-1.0),vec2(1.0),aUV),0.0,1.0);}\";\n\n    var copyTexFragment = \"precision highp float;uniform sampler2D tex;varying vec2 vUV;void main(){gl_FragColor=texture2D(tex,vUV);}\";\n\n    var cache = new WeakMap();\n\n    var glContextParams = {\n      premultipliedAlpha: false,\n      preserveDrawingBuffer: true,\n      antialias: false,\n      depth: false,\n    };\n\n    /**\n     * This is a little helper library for WebGL. It assists with state management for a GL context.\n     * It's pretty tightly wrapped to the needs of this package, not very general-purpose.\n     *\n     * @param { WebGLRenderingContext | HTMLCanvasElement | OffscreenCanvas } glOrCanvas - the GL context to wrap\n     * @param { ({gl, getExtension, withProgram, withTexture, withTextureFramebuffer, handleContextLoss}) => void } callback\n     */\n    function withWebGLContext (glOrCanvas, callback) {\n      var gl = glOrCanvas.getContext ? glOrCanvas.getContext('webgl', glContextParams) : glOrCanvas;\n      var wrapper = cache.get(gl);\n      if (!wrapper) {\n        var isWebGL2 = typeof WebGL2RenderingContext !== 'undefined' && gl instanceof WebGL2RenderingContext;\n        var extensions = {};\n        var programs = {};\n        var textures = {};\n        var textureUnit = -1;\n        var framebufferStack = [];\n\n        gl.canvas.addEventListener('webglcontextlost', function (e) {\n          handleContextLoss();\n          e.preventDefault();\n        }, false);\n\n        function getExtension (name) {\n          var ext = extensions[name];\n          if (!ext) {\n            ext = extensions[name] = gl.getExtension(name);\n            if (!ext) {\n              throw new Error((name + \" not supported\"))\n            }\n          }\n          return ext\n        }\n\n        function compileShader (src, type) {\n          var shader = gl.createShader(type);\n          gl.shaderSource(shader, src);\n          gl.compileShader(shader);\n          // const status = gl.getShaderParameter(shader, gl.COMPILE_STATUS)\n          // if (!status && !gl.isContextLost()) {\n          //   throw new Error(gl.getShaderInfoLog(shader).trim())\n          // }\n          return shader\n        }\n\n        function withProgram (name, vert, frag, func) {\n          if (!programs[name]) {\n            var attributes = {};\n            var uniforms = {};\n            var program = gl.createProgram();\n            gl.attachShader(program, compileShader(vert, gl.VERTEX_SHADER));\n            gl.attachShader(program, compileShader(frag, gl.FRAGMENT_SHADER));\n            gl.linkProgram(program);\n\n            programs[name] = {\n              program: program,\n              transaction: function transaction (func) {\n                gl.useProgram(program);\n                func({\n                  setUniform: function setUniform (type, name) {\n                    var values = [], len = arguments.length - 2;\n                    while ( len-- > 0 ) values[ len ] = arguments[ len + 2 ];\n\n                    var uniformLoc = uniforms[name] || (uniforms[name] = gl.getUniformLocation(program, name));\n                    gl[(\"uniform\" + type)].apply(gl, [ uniformLoc ].concat( values ));\n                  },\n\n                  setAttribute: function setAttribute (name, size, usage, instancingDivisor, data) {\n                    var attr = attributes[name];\n                    if (!attr) {\n                      attr = attributes[name] = {\n                        buf: gl.createBuffer(), // TODO should we destroy our buffers?\n                        loc: gl.getAttribLocation(program, name),\n                        data: null\n                      };\n                    }\n                    gl.bindBuffer(gl.ARRAY_BUFFER, attr.buf);\n                    gl.vertexAttribPointer(attr.loc, size, gl.FLOAT, false, 0, 0);\n                    gl.enableVertexAttribArray(attr.loc);\n                    if (isWebGL2) {\n                      gl.vertexAttribDivisor(attr.loc, instancingDivisor);\n                    } else {\n                      getExtension('ANGLE_instanced_arrays').vertexAttribDivisorANGLE(attr.loc, instancingDivisor);\n                    }\n                    if (data !== attr.data) {\n                      gl.bufferData(gl.ARRAY_BUFFER, data, usage);\n                      attr.data = data;\n                    }\n                  }\n                });\n              }\n            };\n          }\n\n          programs[name].transaction(func);\n        }\n\n        function withTexture (name, func) {\n          textureUnit++;\n          try {\n            gl.activeTexture(gl.TEXTURE0 + textureUnit);\n            var texture = textures[name];\n            if (!texture) {\n              texture = textures[name] = gl.createTexture();\n              gl.bindTexture(gl.TEXTURE_2D, texture);\n              gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST);\n              gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST);\n            }\n            gl.bindTexture(gl.TEXTURE_2D, texture);\n            func(texture, textureUnit);\n          } finally {\n            textureUnit--;\n          }\n        }\n\n        function withTextureFramebuffer (texture, textureUnit, func) {\n          var framebuffer = gl.createFramebuffer();\n          framebufferStack.push(framebuffer);\n          gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);\n          gl.activeTexture(gl.TEXTURE0 + textureUnit);\n          gl.bindTexture(gl.TEXTURE_2D, texture);\n          gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, texture, 0);\n          try {\n            func(framebuffer);\n          } finally {\n            gl.deleteFramebuffer(framebuffer);\n            gl.bindFramebuffer(gl.FRAMEBUFFER, framebufferStack[--framebufferStack.length - 1] || null);\n          }\n        }\n\n        function handleContextLoss () {\n          extensions = {};\n          programs = {};\n          textures = {};\n          textureUnit = -1;\n          framebufferStack.length = 0;\n        }\n\n        cache.set(gl, wrapper = {\n          gl: gl,\n          isWebGL2: isWebGL2,\n          getExtension: getExtension,\n          withProgram: withProgram,\n          withTexture: withTexture,\n          withTextureFramebuffer: withTextureFramebuffer,\n          handleContextLoss: handleContextLoss,\n        });\n      }\n      callback(wrapper);\n    }\n\n\n    function renderImageData(glOrCanvas, imageData, x, y, width, height, channels, framebuffer) {\n      if ( channels === void 0 ) channels = 15;\n      if ( framebuffer === void 0 ) framebuffer = null;\n\n      withWebGLContext(glOrCanvas, function (ref) {\n        var gl = ref.gl;\n        var withProgram = ref.withProgram;\n        var withTexture = ref.withTexture;\n\n        withTexture('copy', function (tex, texUnit) {\n          gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, width, height, 0, gl.RGBA, gl.UNSIGNED_BYTE, imageData);\n          withProgram('copy', viewportQuadVertex, copyTexFragment, function (ref) {\n            var setUniform = ref.setUniform;\n            var setAttribute = ref.setAttribute;\n\n            setAttribute('aUV', 2, gl.STATIC_DRAW, 0, new Float32Array([0, 0, 2, 0, 0, 2]));\n            setUniform('1i', 'image', texUnit);\n            gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer || null);\n            gl.disable(gl.BLEND);\n            gl.colorMask(channels & 8, channels & 4, channels & 2, channels & 1);\n            gl.viewport(x, y, width, height);\n            gl.scissor(x, y, width, height);\n            gl.drawArrays(gl.TRIANGLES, 0, 3);\n          });\n        });\n      });\n    }\n\n    /**\n     * Resizing a canvas clears its contents; this utility copies the previous contents over.\n     * @param canvas\n     * @param newWidth\n     * @param newHeight\n     */\n    function resizeWebGLCanvasWithoutClearing(canvas, newWidth, newHeight) {\n      var width = canvas.width;\n      var height = canvas.height;\n      withWebGLContext(canvas, function (ref) {\n        var gl = ref.gl;\n\n        var data = new Uint8Array(width * height * 4);\n        gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, data);\n        canvas.width = newWidth;\n        canvas.height = newHeight;\n        renderImageData(gl, data, 0, 0, width, height);\n      });\n    }\n\n    var webglUtils = /*#__PURE__*/Object.freeze({\n      __proto__: null,\n      withWebGLContext: withWebGLContext,\n      renderImageData: renderImageData,\n      resizeWebGLCanvasWithoutClearing: resizeWebGLCanvasWithoutClearing\n    });\n\n    function generate$2 (sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n\n      var textureData = new Uint8Array(sdfWidth * sdfHeight);\n\n      var viewBoxWidth = viewBox[2] - viewBox[0];\n      var viewBoxHeight = viewBox[3] - viewBox[1];\n\n      // Decompose all paths into straight line segments and add them to an index\n      var segments = [];\n      pathToLineSegments(path, function (x1, y1, x2, y2) {\n        segments.push({\n          x1: x1, y1: y1, x2: x2, y2: y2,\n          minX: Math.min(x1, x2),\n          minY: Math.min(y1, y2),\n          maxX: Math.max(x1, x2),\n          maxY: Math.max(y1, y2)\n        });\n      });\n\n      // Sort segments by maxX, this will let us short-circuit some loops below\n      segments.sort(function (a, b) { return a.maxX - b.maxX; });\n\n      // For each target SDF texel, find the distance from its center to its nearest line segment,\n      // map that distance to an alpha value, and write that alpha to the texel\n      for (var sdfX = 0; sdfX < sdfWidth; sdfX++) {\n        for (var sdfY = 0; sdfY < sdfHeight; sdfY++) {\n          var signedDist = findNearestSignedDistance(\n            viewBox[0] + viewBoxWidth * (sdfX + 0.5) / sdfWidth,\n            viewBox[1] + viewBoxHeight * (sdfY + 0.5) / sdfHeight\n          );\n\n          // Use an exponential scale to ensure the texels very near the glyph path have adequate\n          // precision, while allowing the distance field to cover the entire texture, given that\n          // there are only 8 bits available. Formula visualized: https://www.desmos.com/calculator/uiaq5aqiam\n          var alpha = Math.pow((1 - Math.abs(signedDist) / maxDistance), sdfExponent) / 2;\n          if (signedDist < 0) {\n            alpha = 1 - alpha;\n          }\n\n          alpha = Math.max(0, Math.min(255, Math.round(alpha * 255))); //clamp\n          textureData[sdfY * sdfWidth + sdfX] = alpha;\n        }\n      }\n\n      return textureData\n\n      /**\n       * For a given x/y, search the index for the closest line segment and return\n       * its signed distance. Negative = inside, positive = outside, zero = on edge\n       * @param x\n       * @param y\n       * @returns {number}\n       */\n      function findNearestSignedDistance (x, y) {\n        var closestDistSq = Infinity;\n        var closestDist = Infinity;\n\n        for (var i = segments.length; i--;) {\n          var seg = segments[i];\n          if (seg.maxX + closestDist <= x) { break } //sorting by maxX means no more can be closer, so we can short-circuit\n          if (x + closestDist > seg.minX && y - closestDist < seg.maxY && y + closestDist > seg.minY) {\n            var distSq = absSquareDistanceToLineSegment(x, y, seg.x1, seg.y1, seg.x2, seg.y2);\n            if (distSq < closestDistSq) {\n              closestDistSq = distSq;\n              closestDist = Math.sqrt(closestDistSq);\n            }\n          }\n        }\n\n        // Flip to negative distance if inside the poly\n        if (isPointInPoly(x, y)) {\n          closestDist = -closestDist;\n        }\n        return closestDist\n      }\n\n      /**\n       * Determine whether the given point lies inside or outside the glyph. Uses a simple\n       * winding-number ray casting algorithm using a ray pointing east from the point.\n       */\n      function isPointInPoly (x, y) {\n        var winding = 0;\n        for (var i = segments.length; i--;) {\n          var seg = segments[i];\n          if (seg.maxX <= x) { break } //sorting by maxX means no more can cross, so we can short-circuit\n          var intersects = ((seg.y1 > y) !== (seg.y2 > y)) && (x < (seg.x2 - seg.x1) * (y - seg.y1) / (seg.y2 - seg.y1) + seg.x1);\n          if (intersects) {\n            winding += seg.y1 < seg.y2 ? 1 : -1;\n          }\n        }\n        return winding !== 0\n      }\n    }\n\n    function generateIntoCanvas$2(sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, canvas, x, y, channel) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( x === void 0 ) x = 0;\n      if ( y === void 0 ) y = 0;\n      if ( channel === void 0 ) channel = 0;\n\n      generateIntoFramebuffer$1(sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, canvas, null, x, y, channel);\n    }\n\n    function generateIntoFramebuffer$1 (sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, glOrCanvas, framebuffer, x, y, channel) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( x === void 0 ) x = 0;\n      if ( y === void 0 ) y = 0;\n      if ( channel === void 0 ) channel = 0;\n\n      var data = generate$2(sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent);\n      // Expand single-channel data to rbga\n      var rgbaData = new Uint8Array(data.length * 4);\n      for (var i = 0; i < data.length; i++) {\n        rgbaData[i * 4 + channel] = data[i];\n      }\n      renderImageData(glOrCanvas, rgbaData, x, y, sdfWidth, sdfHeight, 1 << (3 - channel), framebuffer);\n    }\n\n    /**\n     * Find the absolute distance from a point to a line segment at closest approach\n     */\n    function absSquareDistanceToLineSegment (x, y, lineX0, lineY0, lineX1, lineY1) {\n      var ldx = lineX1 - lineX0;\n      var ldy = lineY1 - lineY0;\n      var lengthSq = ldx * ldx + ldy * ldy;\n      var t = lengthSq ? Math.max(0, Math.min(1, ((x - lineX0) * ldx + (y - lineY0) * ldy) / lengthSq)) : 0;\n      var dx = x - (lineX0 + t * ldx);\n      var dy = y - (lineY0 + t * ldy);\n      return dx * dx + dy * dy\n    }\n\n    var javascript = /*#__PURE__*/Object.freeze({\n      __proto__: null,\n      generate: generate$2,\n      generateIntoCanvas: generateIntoCanvas$2,\n      generateIntoFramebuffer: generateIntoFramebuffer$1\n    });\n\n    var mainVertex = \"precision highp float;uniform vec4 uGlyphBounds;attribute vec2 aUV;attribute vec4 aLineSegment;varying vec4 vLineSegment;varying vec2 vGlyphXY;void main(){vLineSegment=aLineSegment;vGlyphXY=mix(uGlyphBounds.xy,uGlyphBounds.zw,aUV);gl_Position=vec4(mix(vec2(-1.0),vec2(1.0),aUV),0.0,1.0);}\";\n\n    var mainFragment = \"precision highp float;uniform vec4 uGlyphBounds;uniform float uMaxDistance;uniform float uExponent;varying vec4 vLineSegment;varying vec2 vGlyphXY;float absDistToSegment(vec2 point,vec2 lineA,vec2 lineB){vec2 lineDir=lineB-lineA;float lenSq=dot(lineDir,lineDir);float t=lenSq==0.0 ? 0.0 : clamp(dot(point-lineA,lineDir)/lenSq,0.0,1.0);vec2 linePt=lineA+t*lineDir;return distance(point,linePt);}void main(){vec4 seg=vLineSegment;vec2 p=vGlyphXY;float dist=absDistToSegment(p,seg.xy,seg.zw);float val=pow(1.0-clamp(dist/uMaxDistance,0.0,1.0),uExponent)*0.5;bool crossing=(seg.y>p.y!=seg.w>p.y)&&(p.x<(seg.z-seg.x)*(p.y-seg.y)/(seg.w-seg.y)+seg.x);bool crossingUp=crossing&&vLineSegment.y<vLineSegment.w;gl_FragColor=vec4(crossingUp ? 1.0/255.0 : 0.0,crossing&&!crossingUp ? 1.0/255.0 : 0.0,0.0,val);}\";\n\n    var postFragment = \"precision highp float;uniform sampler2D tex;varying vec2 vUV;void main(){vec4 color=texture2D(tex,vUV);bool inside=color.r!=color.g;float val=inside ? 1.0-color.a : color.a;gl_FragColor=vec4(val);}\";\n\n    // Single triangle covering viewport\n    var viewportUVs = new Float32Array([0, 0, 2, 0, 0, 2]);\n\n    var implicitContext = null;\n    var isTestingSupport = false;\n    var NULL_OBJECT = {};\n    var supportByCanvas = new WeakMap(); // canvas -> bool\n\n    function validateSupport (glOrCanvas) {\n      if (!isTestingSupport && !isSupported(glOrCanvas)) {\n        throw new Error('WebGL generation not supported')\n      }\n    }\n\n    function generate$1 (sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, glOrCanvas) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( glOrCanvas === void 0 ) glOrCanvas = null;\n\n      if (!glOrCanvas) {\n        glOrCanvas = implicitContext;\n        if (!glOrCanvas) {\n          var canvas = typeof OffscreenCanvas === 'function'\n            ? new OffscreenCanvas(1, 1)\n            : typeof document !== 'undefined'\n              ? document.createElement('canvas')\n              : null;\n          if (!canvas) {\n            throw new Error('OffscreenCanvas or DOM canvas not supported')\n          }\n          glOrCanvas = implicitContext = canvas.getContext('webgl', { depth: false });\n        }\n      }\n\n      validateSupport(glOrCanvas);\n\n      var rgbaData = new Uint8Array(sdfWidth * sdfHeight * 4); //not Uint8ClampedArray, cuz Safari\n\n      // Render into a background texture framebuffer\n      withWebGLContext(glOrCanvas, function (ref) {\n        var gl = ref.gl;\n        var withTexture = ref.withTexture;\n        var withTextureFramebuffer = ref.withTextureFramebuffer;\n\n        withTexture('readable', function (texture, textureUnit) {\n          gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, sdfWidth, sdfHeight, 0, gl.RGBA, gl.UNSIGNED_BYTE, null);\n\n          withTextureFramebuffer(texture, textureUnit, function (framebuffer) {\n            generateIntoFramebuffer(\n              sdfWidth,\n              sdfHeight,\n              path,\n              viewBox,\n              maxDistance,\n              sdfExponent,\n              gl,\n              framebuffer,\n              0,\n              0,\n              0 // red channel\n            );\n            gl.readPixels(0, 0, sdfWidth, sdfHeight, gl.RGBA, gl.UNSIGNED_BYTE, rgbaData);\n          });\n        });\n      });\n\n      // Throw away all but the red channel\n      var data = new Uint8Array(sdfWidth * sdfHeight);\n      for (var i = 0, j = 0; i < rgbaData.length; i += 4) {\n        data[j++] = rgbaData[i];\n      }\n\n      return data\n    }\n\n    function generateIntoCanvas$1(sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, canvas, x, y, channel) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( x === void 0 ) x = 0;\n      if ( y === void 0 ) y = 0;\n      if ( channel === void 0 ) channel = 0;\n\n      generateIntoFramebuffer(sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, canvas, null, x, y, channel);\n    }\n\n    function generateIntoFramebuffer (sdfWidth, sdfHeight, path, viewBox, maxDistance, sdfExponent, glOrCanvas, framebuffer, x, y, channel) {\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( x === void 0 ) x = 0;\n      if ( y === void 0 ) y = 0;\n      if ( channel === void 0 ) channel = 0;\n\n      // Verify support\n      validateSupport(glOrCanvas);\n\n      // Compute path segments\n      var lineSegmentCoords = [];\n      pathToLineSegments(path, function (x1, y1, x2, y2) {\n        lineSegmentCoords.push(x1, y1, x2, y2);\n      });\n      lineSegmentCoords = new Float32Array(lineSegmentCoords);\n\n      withWebGLContext(glOrCanvas, function (ref) {\n        var gl = ref.gl;\n        var isWebGL2 = ref.isWebGL2;\n        var getExtension = ref.getExtension;\n        var withProgram = ref.withProgram;\n        var withTexture = ref.withTexture;\n        var withTextureFramebuffer = ref.withTextureFramebuffer;\n        var handleContextLoss = ref.handleContextLoss;\n\n        withTexture('rawDistances', function (intermediateTexture, intermediateTextureUnit) {\n          if (sdfWidth !== intermediateTexture._lastWidth || sdfHeight !== intermediateTexture._lastHeight) {\n            gl.texImage2D(\n              gl.TEXTURE_2D, 0, gl.RGBA,\n              intermediateTexture._lastWidth = sdfWidth,\n              intermediateTexture._lastHeight = sdfHeight,\n              0, gl.RGBA, gl.UNSIGNED_BYTE, null\n            );\n          }\n\n          // Unsigned distance pass\n          withProgram('main', mainVertex, mainFragment, function (ref) {\n            var setAttribute = ref.setAttribute;\n            var setUniform = ref.setUniform;\n\n            // Init extensions\n            var instancingExtension = !isWebGL2 && getExtension('ANGLE_instanced_arrays');\n            var blendMinMaxExtension = !isWebGL2 && getExtension('EXT_blend_minmax');\n\n            // Init/update attributes\n            setAttribute('aUV', 2, gl.STATIC_DRAW, 0, viewportUVs);\n            setAttribute('aLineSegment', 4, gl.DYNAMIC_DRAW, 1, lineSegmentCoords);\n\n            // Init/update uniforms\n            setUniform.apply(void 0, [ '4f', 'uGlyphBounds' ].concat( viewBox ));\n            setUniform('1f', 'uMaxDistance', maxDistance);\n            setUniform('1f', 'uExponent', sdfExponent);\n\n            // Render initial unsigned distance / winding number info to a texture\n            withTextureFramebuffer(intermediateTexture, intermediateTextureUnit, function (framebuffer) {\n              gl.enable(gl.BLEND);\n              gl.colorMask(true, true, true, true);\n              gl.viewport(0, 0, sdfWidth, sdfHeight);\n              gl.scissor(0, 0, sdfWidth, sdfHeight);\n              gl.blendFunc(gl.ONE, gl.ONE);\n              // Red+Green channels are incremented (FUNC_ADD) for segment-ray crossings to give a \"winding number\".\n              // Alpha holds the closest (MAX) unsigned distance.\n              gl.blendEquationSeparate(gl.FUNC_ADD, isWebGL2 ? gl.MAX : blendMinMaxExtension.MAX_EXT);\n              gl.clear(gl.COLOR_BUFFER_BIT);\n              if (isWebGL2) {\n                gl.drawArraysInstanced(gl.TRIANGLES, 0, 3, lineSegmentCoords.length / 4);\n              } else {\n                instancingExtension.drawArraysInstancedANGLE(gl.TRIANGLES, 0, 3, lineSegmentCoords.length / 4);\n              }\n              // Debug\n              // const debug = new Uint8Array(sdfWidth * sdfHeight * 4)\n              // gl.readPixels(0, 0, sdfWidth, sdfHeight, gl.RGBA, gl.UNSIGNED_BYTE, debug)\n              // console.log('intermediate texture data: ', debug)\n            });\n          });\n\n          // Use the data stored in the texture to apply inside/outside and write to the output framebuffer rect+channel.\n          withProgram('post', viewportQuadVertex, postFragment, function (program) {\n            program.setAttribute('aUV', 2, gl.STATIC_DRAW, 0, viewportUVs);\n            program.setUniform('1i', 'tex', intermediateTextureUnit);\n            gl.bindFramebuffer(gl.FRAMEBUFFER, framebuffer);\n            gl.disable(gl.BLEND);\n            gl.colorMask(channel === 0, channel === 1, channel === 2, channel === 3);\n            gl.viewport(x, y, sdfWidth, sdfHeight);\n            gl.scissor(x, y, sdfWidth, sdfHeight);\n            gl.drawArrays(gl.TRIANGLES, 0, 3);\n          });\n        });\n\n        // Handle context loss occurring during any of the above calls\n        if (gl.isContextLost()) {\n          handleContextLoss();\n          throw new Error('webgl context lost')\n        }\n      });\n    }\n\n    function isSupported (glOrCanvas) {\n      var key = (!glOrCanvas || glOrCanvas === implicitContext) ? NULL_OBJECT : (glOrCanvas.canvas || glOrCanvas);\n      var supported = supportByCanvas.get(key);\n      if (supported === undefined) {\n        isTestingSupport = true;\n        var failReason = null;\n        try {\n          // Since we can't detect all failure modes up front, let's just do a trial run of a\n          // simple path and compare what we get back to the correct expected result. This will\n          // also serve to prime the shader compilation.\n          var expectedResult = [\n            97, 106, 97, 61,\n            99, 137, 118, 80,\n            80, 118, 137, 99,\n            61, 97, 106, 97\n          ];\n          var testResult = generate$1(\n            4,\n            4,\n            'M8,8L16,8L24,24L16,24Z',\n            [0, 0, 32, 32],\n            24,\n            1,\n            glOrCanvas\n          );\n          supported = testResult && expectedResult.length === testResult.length &&\n            testResult.every(function (val, i) { return val === expectedResult[i]; });\n          if (!supported) {\n            failReason = 'bad trial run results';\n            console.info(expectedResult, testResult);\n          }\n        } catch (err) {\n          // TODO if it threw due to webgl context loss, should we maybe leave isSupported as null and try again later?\n          supported = false;\n          failReason = err.message;\n        }\n        if (failReason) {\n          console.warn('WebGL SDF generation not supported:', failReason);\n        }\n        isTestingSupport = false;\n        supportByCanvas.set(key, supported);\n      }\n      return supported\n    }\n\n    var webgl = /*#__PURE__*/Object.freeze({\n      __proto__: null,\n      generate: generate$1,\n      generateIntoCanvas: generateIntoCanvas$1,\n      generateIntoFramebuffer: generateIntoFramebuffer,\n      isSupported: isSupported\n    });\n\n    /**\n     * Generate an SDF texture image for a 2D path.\n     *\n     * @param {number} sdfWidth - width of the SDF output image in pixels.\n     * @param {number} sdfHeight - height of the SDF output image in pixels.\n     * @param {string} path - an SVG-like path string describing the glyph; should only contain commands: M/L/Q/C/Z.\n     * @param {number[]} viewBox - [minX, minY, maxX, maxY] in font units aligning with the texture's edges.\n     * @param {number} maxDistance - the maximum distance from the glyph path in font units that will be encoded; defaults\n     *        to half the maximum viewBox dimension.\n     * @param {number} [sdfExponent] - specifies an exponent for encoding the SDF's distance values; higher exponents\n     *        will give greater precision nearer the glyph's path.\n     * @return {Uint8Array}\n     */\n    function generate(\n      sdfWidth,\n      sdfHeight,\n      path,\n      viewBox,\n      maxDistance,\n      sdfExponent\n    ) {\n      if ( maxDistance === void 0 ) maxDistance = Math.max(viewBox[2] - viewBox[0], viewBox[3] - viewBox[1]) / 2;\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n\n      try {\n        return generate$1.apply(webgl, arguments)\n      } catch(e) {\n        console.info('WebGL SDF generation failed, falling back to JS', e);\n        return generate$2.apply(javascript, arguments)\n      }\n    }\n\n    /**\n     * Generate an SDF texture image for a 2D path, inserting the result into a WebGL `canvas` at a given x/y position\n     * and color channel. This is generally much faster than calling `generate` because it does not require reading pixels\n     * back from the GPU->CPU -- the `canvas` can be used directly as a WebGL texture image, so it all stays on the GPU.\n     *\n     * @param {number} sdfWidth - width of the SDF output image in pixels.\n     * @param {number} sdfHeight - height of the SDF output image in pixels.\n     * @param {string} path - an SVG-like path string describing the glyph; should only contain commands: M/L/Q/C/Z.\n     * @param {number[]} viewBox - [minX, minY, maxX, maxY] in font units aligning with the texture's edges.\n     * @param {number} maxDistance - the maximum distance from the glyph path in font units that will be encoded; defaults\n     *        to half the maximum viewBox dimension.\n     * @param {number} [sdfExponent] - specifies an exponent for encoding the SDF's distance values; higher exponents\n     *        will give greater precision nearer the glyph's path.\n     * @param {HTMLCanvasElement|OffscreenCanvas} canvas - a WebGL-enabled canvas into which the SDF will be rendered.\n     *        Only the relevant rect/channel will be modified, the rest will be preserved. To avoid unpredictable results\n     *        due to shared GL context state, this canvas should be dedicated to use by this library alone.\n     * @param {number} x - the x position at which to render the SDF.\n     * @param {number} y - the y position at which to render the SDF.\n     * @param {number} channel - the color channel index (0-4) into which the SDF will be rendered.\n     * @return {Uint8Array}\n     */\n    function generateIntoCanvas(\n      sdfWidth,\n      sdfHeight,\n      path,\n      viewBox,\n      maxDistance,\n      sdfExponent,\n      canvas,\n      x,\n      y,\n      channel\n    ) {\n      if ( maxDistance === void 0 ) maxDistance = Math.max(viewBox[2] - viewBox[0], viewBox[3] - viewBox[1]) / 2;\n      if ( sdfExponent === void 0 ) sdfExponent = 1;\n      if ( x === void 0 ) x = 0;\n      if ( y === void 0 ) y = 0;\n      if ( channel === void 0 ) channel = 0;\n\n      try {\n        return generateIntoCanvas$1.apply(webgl, arguments)\n      } catch(e) {\n        console.info('WebGL SDF generation failed, falling back to JS', e);\n        return generateIntoCanvas$2.apply(javascript, arguments)\n      }\n    }\n\n    exports.forEachPathCommand = forEachPathCommand;\n    exports.generate = generate;\n    exports.generateIntoCanvas = generateIntoCanvas;\n    exports.javascript = javascript;\n    exports.pathToLineSegments = pathToLineSegments;\n    exports.webgl = webgl;\n    exports.webglUtils = webglUtils;\n\n    Object.defineProperty(exports, '__esModule', { value: true });\n\n    return exports;\n\n  }({}));\n  return exports\n  }\n\n  return SDFGenerator;\n\n})));\n","(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three')) :\n  typeof define === 'function' && define.amd ? define(['exports', 'three'], factory) :\n  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.troika_three_utils = {}, global.THREE));\n}(this, (function (exports, three) { 'use strict';\n\n  /**\n   * Regular expression for matching the `void main() {` opener line in GLSL.\n   * @type {RegExp}\n   */\n  const voidMainRegExp = /\\bvoid\\s+main\\s*\\(\\s*\\)\\s*{/g;\n\n  /**\n   * Recursively expands all `#include <xyz>` statements within string of shader code.\n   * Copied from three's WebGLProgram#parseIncludes for external use.\n   *\n   * @param {string} source - The GLSL source code to evaluate\n   * @return {string} The GLSL code with all includes expanded\n   */\n  function expandShaderIncludes( source ) {\n    const pattern = /^[ \\t]*#include +<([\\w\\d./]+)>/gm;\n    function replace(match, include) {\n      let chunk = three.ShaderChunk[include];\n      return chunk ? expandShaderIncludes(chunk) : match\n    }\n    return source.replace( pattern, replace )\n  }\n\n  /*\n   * This is a direct copy of MathUtils.generateUUID from Three.js, to preserve compatibility with three\n   * versions before 0.113.0 as it was changed from Math to MathUtils in that version.\n   * https://github.com/mrdoob/three.js/blob/dd8b5aa3b270c17096b90945cd2d6d1b13aaec53/src/math/MathUtils.js#L16\n   */\n\n  const _lut = [];\n\n  for (let i = 0; i < 256; i++) {\n    _lut[i] = (i < 16 ? '0' : '') + (i).toString(16);\n  }\n\n  function generateUUID() {\n\n    // http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript/21963136#21963136\n\n    const d0 = Math.random() * 0xffffffff | 0;\n    const d1 = Math.random() * 0xffffffff | 0;\n    const d2 = Math.random() * 0xffffffff | 0;\n    const d3 = Math.random() * 0xffffffff | 0;\n    const uuid = _lut[d0 & 0xff] + _lut[d0 >> 8 & 0xff] + _lut[d0 >> 16 & 0xff] + _lut[d0 >> 24 & 0xff] + '-' +\n      _lut[d1 & 0xff] + _lut[d1 >> 8 & 0xff] + '-' + _lut[d1 >> 16 & 0x0f | 0x40] + _lut[d1 >> 24 & 0xff] + '-' +\n      _lut[d2 & 0x3f | 0x80] + _lut[d2 >> 8 & 0xff] + '-' + _lut[d2 >> 16 & 0xff] + _lut[d2 >> 24 & 0xff] +\n      _lut[d3 & 0xff] + _lut[d3 >> 8 & 0xff] + _lut[d3 >> 16 & 0xff] + _lut[d3 >> 24 & 0xff];\n\n    // .toUpperCase() here flattens concatenated strings to save heap memory space.\n    return uuid.toUpperCase()\n\n  }\n\n  // Local assign polyfill to avoid importing troika-core\n  const assign = Object.assign || function(/*target, ...sources*/) {\n    let target = arguments[0];\n    for (let i = 1, len = arguments.length; i < len; i++) {\n      let source = arguments[i];\n      if (source) {\n        for (let prop in source) {\n          if (source.hasOwnProperty(prop)) {\n            target[prop] = source[prop];\n          }\n        }\n      }\n    }\n    return target\n  };\n\n\n  const epoch = Date.now();\n  const CONSTRUCTOR_CACHE = new WeakMap();\n  const SHADER_UPGRADE_CACHE = new Map();\n\n  // Material ids must be integers, but we can't access the increment from Three's `Material` module,\n  // so let's choose a sufficiently large starting value that should theoretically never collide.\n  let materialInstanceId = 1e10;\n\n  /**\n   * A utility for creating a custom shader material derived from another material's\n   * shaders. This allows you to inject custom shader logic and transforms into the\n   * builtin ThreeJS materials without having to recreate them from scratch.\n   *\n   * @param {THREE.Material} baseMaterial - the original material to derive from\n   *\n   * @param {Object} options - How the base material should be modified.\n   * @param {Object} options.defines - Custom `defines` for the material\n   * @param {Object} options.extensions - Custom `extensions` for the material, e.g. `{derivatives: true}`\n   * @param {Object} options.uniforms - Custom `uniforms` for use in the modified shader. These can\n   *        be accessed and manipulated via the resulting material's `uniforms` property, just like\n   *        in a ShaderMaterial. You do not need to repeat the base material's own uniforms here.\n   * @param {String} options.timeUniform - If specified, a uniform of this name will be injected into\n   *        both shaders, and it will automatically be updated on each render frame with a number of\n   *        elapsed milliseconds. The \"zero\" epoch time is not significant so don't rely on this as a\n   *        true calendar time.\n   * @param {String} options.vertexDefs - Custom GLSL code to inject into the vertex shader's top-level\n   *        definitions, above the `void main()` function.\n   * @param {String} options.vertexMainIntro - Custom GLSL code to inject at the top of the vertex\n   *        shader's `void main` function.\n   * @param {String} options.vertexMainOutro - Custom GLSL code to inject at the end of the vertex\n   *        shader's `void main` function.\n   * @param {String} options.vertexTransform - Custom GLSL code to manipulate the `position`, `normal`,\n   *        and/or `uv` vertex attributes. This code will be wrapped within a standalone function with\n   *        those attributes exposed by their normal names as read/write values.\n   * @param {String} options.fragmentDefs - Custom GLSL code to inject into the fragment shader's top-level\n   *        definitions, above the `void main()` function.\n   * @param {String} options.fragmentMainIntro - Custom GLSL code to inject at the top of the fragment\n   *        shader's `void main` function.\n   * @param {String} options.fragmentMainOutro - Custom GLSL code to inject at the end of the fragment\n   *        shader's `void main` function. You can manipulate `gl_FragColor` here but keep in mind it goes\n   *        after any of ThreeJS's color postprocessing shader chunks (tonemapping, fog, etc.), so if you\n   *        want those to apply to your changes use `fragmentColorTransform` instead.\n   * @param {String} options.fragmentColorTransform - Custom GLSL code to manipulate the `gl_FragColor`\n   *        output value. Will be injected near the end of the `void main` function, but before any\n   *        of ThreeJS's color postprocessing shader chunks (tonemapping, fog, etc.), and before the\n   *        `fragmentMainOutro`.\n   * @param {function<{vertexShader,fragmentShader}>:{vertexShader,fragmentShader}} options.customRewriter - A function\n   *        for performing custom rewrites of the full shader code. Useful if you need to do something\n   *        special that's not covered by the other builtin options. This function will be executed before\n   *        any other transforms are applied.\n   * @param {boolean} options.chained - Set to `true` to prototype-chain the derived material to the base\n   *        material, rather than the default behavior of copying it. This allows the derived material to\n   *        automatically pick up changes made to the base material and its properties. This can be useful\n   *        where the derived material is hidden from the user as an implementation detail, allowing them\n   *        to work with the original material like normal. But it can result in unexpected behavior if not\n   *        handled carefully.\n   *\n   * @return {THREE.Material}\n   *\n   * The returned material will also have two new methods, `getDepthMaterial()` and `getDistanceMaterial()`,\n   * which can be called to get a variant of the derived material for use in shadow casting. If the\n   * target mesh is expected to cast shadows, then you can assign these to the mesh's `customDepthMaterial`\n   * (for directional and spot lights) and/or `customDistanceMaterial` (for point lights) properties to\n   * allow the cast shadow to honor your derived shader's vertex transforms and discarded fragments. These\n   * will also set a custom `#define IS_DEPTH_MATERIAL` or `#define IS_DISTANCE_MATERIAL` that you can look\n   * for in your derived shaders with `#ifdef` to customize their behavior for the depth or distance\n   * scenarios, e.g. skipping antialiasing or expensive shader logic.\n   */\n  function createDerivedMaterial(baseMaterial, options) {\n    // Generate a key that is unique to the content of these `options`. We'll use this\n    // throughout for caching and for generating the upgraded shader code. This increases\n    // the likelihood that the resulting shaders will line up across multiple calls so\n    // their GL programs can be shared and cached.\n    const optionsKey = getKeyForOptions(options);\n\n    // First check to see if we've already derived from this baseMaterial using this\n    // unique set of options, and if so reuse the constructor to avoid some allocations.\n    let ctorsByDerivation = CONSTRUCTOR_CACHE.get(baseMaterial);\n    if (!ctorsByDerivation) {\n      CONSTRUCTOR_CACHE.set(baseMaterial, (ctorsByDerivation = Object.create(null)));\n    }\n    if (ctorsByDerivation[optionsKey]) {\n      return new ctorsByDerivation[optionsKey]()\n    }\n\n    const privateBeforeCompileProp = `_onBeforeCompile${optionsKey}`;\n\n    // Private onBeforeCompile handler that injects the modified shaders and uniforms when\n    // the renderer switches to this material's program\n    const onBeforeCompile = function (shaderInfo) {\n      baseMaterial.onBeforeCompile.call(this, shaderInfo);\n\n      // Upgrade the shaders, caching the result by incoming source code\n      const cacheKey = this.customProgramCacheKey() + '|' + shaderInfo.vertexShader + '|' + shaderInfo.fragmentShader;\n      let upgradedShaders = SHADER_UPGRADE_CACHE[cacheKey];\n      if (!upgradedShaders) {\n        const upgraded = upgradeShaders(shaderInfo, options, optionsKey);\n        upgradedShaders = SHADER_UPGRADE_CACHE[cacheKey] = upgraded;\n      }\n\n      // Inject upgraded shaders and uniforms into the program\n      shaderInfo.vertexShader = upgradedShaders.vertexShader;\n      shaderInfo.fragmentShader = upgradedShaders.fragmentShader;\n      assign(shaderInfo.uniforms, this.uniforms);\n\n      // Inject auto-updating time uniform if requested\n      if (options.timeUniform) {\n        shaderInfo.uniforms[options.timeUniform] = {\n          get value() {return Date.now() - epoch}\n        };\n      }\n\n      // Users can still add their own handlers on top of ours\n      if (this[privateBeforeCompileProp]) {\n        this[privateBeforeCompileProp](shaderInfo);\n      }\n    };\n\n    const DerivedMaterial = function DerivedMaterial() {\n      return derive(options.chained ? baseMaterial : baseMaterial.clone())\n    };\n\n    const derive = function(base) {\n      // Prototype chain to the base material\n      const derived = Object.create(base, descriptor);\n\n      // Store the baseMaterial for reference; this is always the original even when cloning\n      Object.defineProperty(derived, 'baseMaterial', { value: baseMaterial });\n\n      // Needs its own ids\n      Object.defineProperty(derived, 'id', { value: materialInstanceId++ });\n      derived.uuid = generateUUID();\n\n      // Merge uniforms, defines, and extensions\n      derived.uniforms = assign({}, base.uniforms, options.uniforms);\n      derived.defines = assign({}, base.defines, options.defines);\n      derived.defines[`TROIKA_DERIVED_MATERIAL_${optionsKey}`] = ''; //force a program change from the base material\n      derived.extensions = assign({}, base.extensions, options.extensions);\n\n      // Don't inherit EventDispatcher listeners\n      derived._listeners = undefined;\n\n      return derived\n    };\n\n    const descriptor = {\n      constructor: {value: DerivedMaterial},\n      isDerivedMaterial: {value: true},\n\n      customProgramCacheKey: {\n        writable: true,\n        configurable: true,\n        value: function () {\n          return baseMaterial.customProgramCacheKey() + '|' + optionsKey\n        }\n      },\n\n      onBeforeCompile: {\n        get() {\n          return onBeforeCompile\n        },\n        set(fn) {\n          this[privateBeforeCompileProp] = fn;\n        }\n      },\n\n      copy: {\n        writable: true,\n        configurable: true,\n        value: function (source) {\n          baseMaterial.copy.call(this, source);\n          if (!baseMaterial.isShaderMaterial && !baseMaterial.isDerivedMaterial) {\n            assign(this.extensions, source.extensions);\n            assign(this.defines, source.defines);\n            assign(this.uniforms, three.UniformsUtils.clone(source.uniforms));\n          }\n          return this\n        }\n      },\n\n      clone: {\n        writable: true,\n        configurable: true,\n        value: function () {\n          const newBase = new baseMaterial.constructor();\n          return derive(newBase).copy(this)\n        }\n      },\n\n      /**\n       * Utility to get a MeshDepthMaterial that will honor this derived material's vertex\n       * transformations and discarded fragments.\n       */\n      getDepthMaterial: {\n        writable: true,\n        configurable: true,\n        value: function() {\n          let depthMaterial = this._depthMaterial;\n          if (!depthMaterial) {\n            depthMaterial = this._depthMaterial = createDerivedMaterial(\n              baseMaterial.isDerivedMaterial\n                ? baseMaterial.getDepthMaterial()\n                : new three.MeshDepthMaterial({ depthPacking: three.RGBADepthPacking }),\n              options\n            );\n            depthMaterial.defines.IS_DEPTH_MATERIAL = '';\n            depthMaterial.uniforms = this.uniforms; //automatically recieve same uniform values\n          }\n          return depthMaterial\n        }\n      },\n\n      /**\n       * Utility to get a MeshDistanceMaterial that will honor this derived material's vertex\n       * transformations and discarded fragments.\n       */\n      getDistanceMaterial: {\n        writable: true,\n        configurable: true,\n        value: function() {\n          let distanceMaterial = this._distanceMaterial;\n          if (!distanceMaterial) {\n            distanceMaterial = this._distanceMaterial = createDerivedMaterial(\n              baseMaterial.isDerivedMaterial\n                ? baseMaterial.getDistanceMaterial()\n                : new three.MeshDistanceMaterial(),\n              options\n            );\n            distanceMaterial.defines.IS_DISTANCE_MATERIAL = '';\n            distanceMaterial.uniforms = this.uniforms; //automatically recieve same uniform values\n          }\n          return distanceMaterial\n        }\n      },\n\n      dispose: {\n        writable: true,\n        configurable: true,\n        value() {\n          const {_depthMaterial, _distanceMaterial} = this;\n          if (_depthMaterial) _depthMaterial.dispose();\n          if (_distanceMaterial) _distanceMaterial.dispose();\n          baseMaterial.dispose.call(this);\n        }\n      }\n    };\n\n    ctorsByDerivation[optionsKey] = DerivedMaterial;\n    return new DerivedMaterial()\n  }\n\n\n  function upgradeShaders({vertexShader, fragmentShader}, options, key) {\n    let {\n      vertexDefs,\n      vertexMainIntro,\n      vertexMainOutro,\n      vertexTransform,\n      fragmentDefs,\n      fragmentMainIntro,\n      fragmentMainOutro,\n      fragmentColorTransform,\n      customRewriter,\n      timeUniform\n    } = options;\n\n    vertexDefs = vertexDefs || '';\n    vertexMainIntro = vertexMainIntro || '';\n    vertexMainOutro = vertexMainOutro || '';\n    fragmentDefs = fragmentDefs || '';\n    fragmentMainIntro = fragmentMainIntro || '';\n    fragmentMainOutro = fragmentMainOutro || '';\n\n    // Expand includes if needed\n    if (vertexTransform || customRewriter) {\n      vertexShader = expandShaderIncludes(vertexShader);\n    }\n    if (fragmentColorTransform || customRewriter) {\n      // We need to be able to find postprocessing chunks after include expansion in order to\n      // put them after the fragmentColorTransform, so mark them with comments first. Even if\n      // this particular derivation doesn't have a fragmentColorTransform, other derivations may,\n      // so we still mark them.\n      fragmentShader = fragmentShader.replace(\n        /^[ \\t]*#include <((?:tonemapping|encodings|fog|premultiplied_alpha|dithering)_fragment)>/gm,\n        '\\n//!BEGIN_POST_CHUNK $1\\n$&\\n//!END_POST_CHUNK\\n'\n      );\n      fragmentShader = expandShaderIncludes(fragmentShader);\n    }\n\n    // Apply custom rewriter function\n    if (customRewriter) {\n      let res = customRewriter({vertexShader, fragmentShader});\n      vertexShader = res.vertexShader;\n      fragmentShader = res.fragmentShader;\n    }\n\n    // The fragmentColorTransform needs to go before any postprocessing chunks, so extract\n    // those and re-insert them into the outro in the correct place:\n    if (fragmentColorTransform) {\n      let postChunks = [];\n      fragmentShader = fragmentShader.replace(\n        /^\\/\\/!BEGIN_POST_CHUNK[^]+?^\\/\\/!END_POST_CHUNK/gm, // [^]+? = non-greedy match of any chars including newlines\n        match => {\n          postChunks.push(match);\n          return ''\n        }\n      );\n      fragmentMainOutro = `${fragmentColorTransform}\\n${postChunks.join('\\n')}\\n${fragmentMainOutro}`;\n    }\n\n    // Inject auto-updating time uniform if requested\n    if (timeUniform) {\n      const code = `\\nuniform float ${timeUniform};\\n`;\n      vertexDefs = code + vertexDefs;\n      fragmentDefs = code + fragmentDefs;\n    }\n\n    // Inject a function for the vertexTransform and rename all usages of position/normal/uv\n    if (vertexTransform) {\n      // Hoist these defs to the very top so they work in other function defs\n      vertexShader = `vec3 troika_position_${key};\nvec3 troika_normal_${key};\nvec2 troika_uv_${key};\n${vertexShader}\n`;\n      vertexDefs = `${vertexDefs}\nvoid troikaVertexTransform${key}(inout vec3 position, inout vec3 normal, inout vec2 uv) {\n  ${vertexTransform}\n}\n`;\n      vertexMainIntro = `\ntroika_position_${key} = vec3(position);\ntroika_normal_${key} = vec3(normal);\ntroika_uv_${key} = vec2(uv);\ntroikaVertexTransform${key}(troika_position_${key}, troika_normal_${key}, troika_uv_${key});\n${vertexMainIntro}\n`;\n      vertexShader = vertexShader.replace(/\\b(position|normal|uv)\\b/g, (match, match1, index, fullStr) => {\n        return /\\battribute\\s+vec[23]\\s+$/.test(fullStr.substr(0, index)) ? match1 : `troika_${match1}_${key}`\n      });\n    }\n\n    // Inject defs and intro/outro snippets\n    vertexShader = injectIntoShaderCode(vertexShader, key, vertexDefs, vertexMainIntro, vertexMainOutro);\n    fragmentShader = injectIntoShaderCode(fragmentShader, key, fragmentDefs, fragmentMainIntro, fragmentMainOutro);\n\n    return {\n      vertexShader,\n      fragmentShader\n    }\n  }\n\n  function injectIntoShaderCode(shaderCode, id, defs, intro, outro) {\n    if (intro || outro || defs) {\n      shaderCode = shaderCode.replace(voidMainRegExp, `\n${defs}\nvoid troikaOrigMain${id}() {`\n      );\n      shaderCode += `\nvoid main() {\n  ${intro}\n  troikaOrigMain${id}();\n  ${outro}\n}`;\n    }\n    return shaderCode\n  }\n\n\n  function optionsJsonReplacer(key, value) {\n    return key === 'uniforms' ? undefined : typeof value === 'function' ? value.toString() : value\n  }\n\n  let _idCtr = 0;\n  const optionsHashesToIds = new Map();\n  function getKeyForOptions(options) {\n    const optionsHash = JSON.stringify(options, optionsJsonReplacer);\n    let id = optionsHashesToIds.get(optionsHash);\n    if (id == null) {\n      optionsHashesToIds.set(optionsHash, (id = ++_idCtr));\n    }\n    return id\n  }\n\n  // Copied from threejs WebGLPrograms.js so we can resolve builtin materials to their shaders\n  // TODO how can we keep this from getting stale?\n  const MATERIAL_TYPES_TO_SHADERS = {\n    MeshDepthMaterial: 'depth',\n    MeshDistanceMaterial: 'distanceRGBA',\n    MeshNormalMaterial: 'normal',\n    MeshBasicMaterial: 'basic',\n    MeshLambertMaterial: 'lambert',\n    MeshPhongMaterial: 'phong',\n    MeshToonMaterial: 'toon',\n    MeshStandardMaterial: 'physical',\n    MeshPhysicalMaterial: 'physical',\n    MeshMatcapMaterial: 'matcap',\n    LineBasicMaterial: 'basic',\n    LineDashedMaterial: 'dashed',\n    PointsMaterial: 'points',\n    ShadowMaterial: 'shadow',\n    SpriteMaterial: 'sprite'\n  };\n\n  /**\n   * Given a Three.js `Material` instance, find the shaders/uniforms that will be\n   * used to render that material.\n   *\n   * @param material - the Material instance\n   * @return {object} - the material's shader info: `{uniforms:{}, fragmentShader:'', vertexShader:''}`\n   */\n  function getShadersForMaterial(material) {\n    let builtinType = MATERIAL_TYPES_TO_SHADERS[material.type];\n    return builtinType ? three.ShaderLib[builtinType] : material //TODO fallback for unknown type?\n  }\n\n  /**\n   * Find all uniforms and their types within a shader code string.\n   *\n   * @param {string} shader - The shader code to parse\n   * @return {object} mapping of uniform names to their glsl type\n   */\n  function getShaderUniformTypes(shader) {\n    let uniformRE = /\\buniform\\s+(int|float|vec[234]|mat[34])\\s+([A-Za-z_][\\w]*)/g;\n    let uniforms = Object.create(null);\n    let match;\n    while ((match = uniformRE.exec(shader)) !== null) {\n      uniforms[match[2]] = match[1];\n    }\n    return uniforms\n  }\n\n  /**\n   * Helper for smoothing out the `m.getInverse(x)` --> `m.copy(x).invert()` conversion\n   * that happened in ThreeJS r123.\n   * @param {Matrix4} srcMatrix\n   * @param {Matrix4} [tgtMatrix]\n   */\n  function invertMatrix4(srcMatrix, tgtMatrix = new three.Matrix4()) {\n    if (typeof tgtMatrix.invert === 'function') {\n      tgtMatrix.copy(srcMatrix).invert();\n    } else {\n      tgtMatrix.getInverse(srcMatrix);\n    }\n    return tgtMatrix\n  }\n\n  /*\n  Input geometry is a cylinder with r=1, height in y dimension from 0 to 1,\n  divided into a reasonable number of height segments.\n  */\n\n  const vertexDefs = `\nuniform vec3 pointA;\nuniform vec3 controlA;\nuniform vec3 controlB;\nuniform vec3 pointB;\nuniform float radius;\nvarying float bezierT;\n\nvec3 cubicBezier(vec3 p1, vec3 c1, vec3 c2, vec3 p2, float t) {\n  float t2 = 1.0 - t;\n  float b0 = t2 * t2 * t2;\n  float b1 = 3.0 * t * t2 * t2;\n  float b2 = 3.0 * t * t * t2;\n  float b3 = t * t * t;\n  return b0 * p1 + b1 * c1 + b2 * c2 + b3 * p2;\n}\n\nvec3 cubicBezierDerivative(vec3 p1, vec3 c1, vec3 c2, vec3 p2, float t) {\n  float t2 = 1.0 - t;\n  return -3.0 * p1 * t2 * t2 +\n    c1 * (3.0 * t2 * t2 - 6.0 * t2 * t) +\n    c2 * (6.0 * t2 * t - 3.0 * t * t) +\n    3.0 * p2 * t * t;\n}\n`;\n\n  const vertexTransform = `\nfloat t = position.y;\nbezierT = t;\nvec3 bezierCenterPos = cubicBezier(pointA, controlA, controlB, pointB, t);\nvec3 bezierDir = normalize(cubicBezierDerivative(pointA, controlA, controlB, pointB, t));\n\n// Make \"sideways\" always perpendicular to the camera ray; this ensures that any twists\n// in the cylinder occur where you won't see them: \nvec3 viewDirection = normalMatrix * vec3(0.0, 0.0, 1.0);\nif (bezierDir == viewDirection) {\n  bezierDir = normalize(cubicBezierDerivative(pointA, controlA, controlB, pointB, t == 1.0 ? t - 0.0001 : t + 0.0001));\n}\nvec3 sideways = normalize(cross(bezierDir, viewDirection));\nvec3 upish = normalize(cross(sideways, bezierDir));\n\n// Build a matrix for transforming this disc in the cylinder:\nmat4 discTx;\ndiscTx[0].xyz = sideways * radius;\ndiscTx[1].xyz = bezierDir * radius;\ndiscTx[2].xyz = upish * radius;\ndiscTx[3].xyz = bezierCenterPos;\ndiscTx[3][3] = 1.0;\n\n// Apply transform, ignoring original y\nposition = (discTx * vec4(position.x, 0.0, position.z, 1.0)).xyz;\nnormal = normalize(mat3(discTx) * normal);\n`;\n\n  const fragmentDefs = `\nuniform vec3 dashing;\nvarying float bezierT;\n`;\n\n  const fragmentMainIntro = `\nif (dashing.x + dashing.y > 0.0) {\n  float dashFrac = mod(bezierT - dashing.z, dashing.x + dashing.y);\n  if (dashFrac > dashing.x) {\n    discard;\n  }\n}\n`;\n\n  // Debugging: separate color for each of the 6 sides:\n  // const fragmentColorTransform = `\n  // float sideNum = floor(vUV.x * 6.0);\n  // vec3 mixColor = sideNum < 1.0 ? vec3(1.0, 0.0, 0.0) :\n  //   sideNum < 2.0 ? vec3(0.0, 1.0, 1.0) :\n  //   sideNum < 3.0 ? vec3(1.0, 1.0, 0.0) :\n  //   sideNum < 4.0 ? vec3(0.0, 0.0, 1.0) :\n  //   sideNum < 5.0 ? vec3(0.0, 1.0, 0.0) :\n  //   vec3(1.0, 0.0, 1.0);\n  // gl_FragColor.xyz = mix(gl_FragColor.xyz, mixColor, 0.5);\n  // `\n\n\n\n  function createBezierMeshMaterial(baseMaterial) {\n    return createDerivedMaterial(\n      baseMaterial,\n      {\n        chained: true,\n        uniforms: {\n          pointA: {value: new three.Vector3()},\n          controlA: {value: new three.Vector3()},\n          controlB: {value: new three.Vector3()},\n          pointB: {value: new three.Vector3()},\n          radius: {value: 0.01},\n          dashing: {value: new three.Vector3()} //on, off, offset\n        },\n        vertexDefs,\n        vertexTransform,\n        fragmentDefs,\n        fragmentMainIntro\n      }\n    )\n  }\n\n  let geometry = null;\n\n  const defaultBaseMaterial = /*#__PURE__*/new three.MeshStandardMaterial({color: 0xffffff, side: three.DoubleSide});\n\n\n  /**\n   * A ThreeJS `Mesh` that bends a tube shape along a 3D cubic bezier path. The bending is done\n   * by deforming a straight cylindrical geometry in the vertex shader based on a set of four\n   * control point uniforms. It patches the necessary GLSL into the mesh's assigned `material`\n   * automatically.\n   *\n   * The cubiz bezier path is determined by its four `Vector3` properties:\n   * - `pointA`\n   * - `controlA`\n   * - `controlB`\n   * - `pointB`\n   *\n   * The tube's radius is controlled by its `radius` property, which defaults to `0.01`.\n   *\n   * You can also give the tube a dashed appearance with two properties:\n   *\n   * - `dashArray` - an array of two numbers, defining the length of \"on\" and \"off\" parts of\n   *   the dash. Each is a 0-1 ratio of the entire path's length. (Actually this is the `t` length\n   *   used as input to the cubic bezier function, not its visible length.)\n   * - `dashOffset` - offset of where the dash starts. You can animate this to make the dashes move.\n   *\n   * Note that the dashes will appear like a hollow tube, not solid. This will be more apparent on\n   * thicker tubes.\n   *\n   * TODO: proper geometry bounding sphere and raycasting\n   * TODO: allow control of the geometry's segment counts\n   */\n  class BezierMesh extends three.Mesh {\n    static getGeometry() {\n      return geometry || (geometry =\n        new three.CylinderBufferGeometry(1, 1, 1, 6, 64).translate(0, 0.5, 0)\n      )\n    }\n\n    constructor() {\n      super(\n        BezierMesh.getGeometry(),\n        defaultBaseMaterial\n      );\n\n      this.pointA = new three.Vector3();\n      this.controlA = new three.Vector3();\n      this.controlB = new three.Vector3();\n      this.pointB = new three.Vector3();\n      this.radius = 0.01;\n      this.dashArray = new three.Vector2();\n      this.dashOffset = 0;\n\n      // TODO - disabling frustum culling until I figure out how to customize the\n      //  geometry's bounding sphere that gets used\n      this.frustumCulled = false;\n    }\n\n    // Handler for automatically wrapping the base material with our upgrades. We do the wrapping\n    // lazily on _read_ rather than write to avoid unnecessary wrapping on transient values.\n    get material() {\n      let derivedMaterial = this._derivedMaterial;\n      const baseMaterial = this._baseMaterial || this._defaultMaterial || (this._defaultMaterial = defaultBaseMaterial.clone());\n      if (!derivedMaterial || derivedMaterial.baseMaterial !== baseMaterial) {\n        derivedMaterial = this._derivedMaterial = createBezierMeshMaterial(baseMaterial);\n        // dispose the derived material when its base material is disposed:\n        baseMaterial.addEventListener('dispose', function onDispose() {\n          baseMaterial.removeEventListener('dispose', onDispose);\n          derivedMaterial.dispose();\n        });\n      }\n      return derivedMaterial\n    }\n    set material(baseMaterial) {\n      this._baseMaterial = baseMaterial;\n    }\n\n    // Create and update material for shadows upon request:\n    get customDepthMaterial() {\n      return this.material.getDepthMaterial()\n    }\n    get customDistanceMaterial() {\n      return this.material.getDistanceMaterial()\n    }\n\n    onBeforeRender(shaderInfo) {\n      const {uniforms} = this.material;\n      const {pointA, controlA, controlB, pointB, radius, dashArray, dashOffset} = this;\n      uniforms.pointA.value.copy(pointA);\n      uniforms.controlA.value.copy(controlA);\n      uniforms.controlB.value.copy(controlB);\n      uniforms.pointB.value.copy(pointB);\n      uniforms.radius.value = radius;\n      uniforms.dashing.value.set(dashArray.x, dashArray.y, dashOffset || 0);\n    }\n\n    raycast(raycaster, intersects) {\n      // TODO - just fail for now\n    }\n  }\n\n  exports.BezierMesh = BezierMesh;\n  exports.createDerivedMaterial = createDerivedMaterial;\n  exports.expandShaderIncludes = expandShaderIncludes;\n  exports.getShaderUniformTypes = getShaderUniformTypes;\n  exports.getShadersForMaterial = getShadersForMaterial;\n  exports.invertMatrix4 = invertMatrix4;\n  exports.voidMainRegExp = voidMainRegExp;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('three'), require('troika-worker-utils'), require('webgl-sdf-generator'), require('bidi-js'), require('troika-three-utils')) :\n  typeof define === 'function' && define.amd ? define(['exports', 'three', 'troika-worker-utils', 'webgl-sdf-generator', 'bidi-js', 'troika-three-utils'], factory) :\n  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.troika_three_text = {}, global.THREE, global.troika_worker_utils, global.webgl_sdf_generator, global.bidi_js, global.troika_three_utils));\n}(this, (function (exports, three, troikaWorkerUtils, createSDFGenerator, bidiFactory, troikaThreeUtils) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var createSDFGenerator__default = /*#__PURE__*/_interopDefaultLegacy(createSDFGenerator);\n  var bidiFactory__default = /*#__PURE__*/_interopDefaultLegacy(bidiFactory);\n\n  /**\n   * Factory function that creates a self-contained environment for processing text typesetting requests.\n   *\n   * It is important that this function has no closure dependencies, so that it can be easily injected\n   * into the source for a Worker without requiring a build step or complex dependency loading. All its\n   * dependencies must be passed in at initialization.\n   *\n   * @param {function} fontParser - a function that accepts an ArrayBuffer of the font data and returns\n   * a standardized structure giving access to the font and its glyphs:\n   *   {\n   *     unitsPerEm: number,\n   *     ascender: number,\n   *     descender: number,\n   *     forEachGlyph(string, fontSize, letterSpacing, callback) {\n   *       //invokes callback for each glyph to render, passing it an object:\n   *       callback({\n   *         index: number,\n   *         advanceWidth: number,\n   *         xMin: number,\n   *         yMin: number,\n   *         xMax: number,\n   *         yMax: number,\n   *         pathCommandCount: number,\n   *         forEachPathCommand(callback) {\n   *           //invokes callback for each path command, with args:\n   *           callback(\n   *             type: 'M|L|C|Q|Z',\n   *             ...args //0 to 6 args depending on the type\n   *           )\n   *         }\n   *       })\n   *     }\n   *   }\n   * @param {object} bidi - the bidi.js implementation object\n   * @param {Object} config\n   * @return {Object}\n   */\n  function createTypesetter(fontParser, bidi, config) {\n\n    const {\n      defaultFontURL\n    } = config;\n\n    /**\n     * Holds parsed font objects by url\n     */\n    const fonts = Object.create(null);\n\n    const INF = Infinity;\n\n    // Set of Unicode Default_Ignorable_Code_Point characters, these will not produce visible glyphs\n    const DEFAULT_IGNORABLE_CHARS = /[\\u00AD\\u034F\\u061C\\u115F-\\u1160\\u17B4-\\u17B5\\u180B-\\u180E\\u200B-\\u200F\\u202A-\\u202E\\u2060-\\u206F\\u3164\\uFE00-\\uFE0F\\uFEFF\\uFFA0\\uFFF0-\\uFFF8]/;\n\n    // Incomplete set of characters that allow line breaking after them\n    // In the future we may consider a full Unicode line breaking algorithm impl: https://www.unicode.org/reports/tr14\n    const BREAK_AFTER_CHARS = /[\\s\\-\\u007C\\u00AD\\u2010\\u2012-\\u2014\\u2027\\u2056\\u2E17\\u2E40]/;\n\n    /**\n     * Load a given font url\n     */\n    function doLoadFont(url, callback) {\n      function tryLoad() {\n        const onError = err => {\n          console.error(`Failure loading font ${url}${url === defaultFontURL ? '' : '; trying fallback'}`, err);\n          if (url !== defaultFontURL) {\n            url = defaultFontURL;\n            tryLoad();\n          }\n        };\n        try {\n          const request = new XMLHttpRequest();\n          request.open('get', url, true);\n          request.responseType = 'arraybuffer';\n          request.onload = function () {\n            if (request.status >= 400) {\n              onError(new Error(request.statusText));\n            }\n            else if (request.status > 0) {\n              try {\n                const fontObj = fontParser(request.response);\n                callback(fontObj);\n              } catch (e) {\n                onError(e);\n              }\n            }\n          };\n          request.onerror = onError;\n          request.send();\n        } catch(err) {\n          onError(err);\n        }\n      }\n      tryLoad();\n    }\n\n\n    /**\n     * Load a given font url if needed, invoking a callback when it's loaded. If already\n     * loaded, the callback will be called synchronously.\n     */\n    function loadFont(fontUrl, callback) {\n      if (!fontUrl) fontUrl = defaultFontURL;\n      let font = fonts[fontUrl];\n      if (font) {\n        // if currently loading font, add to callbacks, otherwise execute immediately\n        if (font.pending) {\n          font.pending.push(callback);\n        } else {\n          callback(font);\n        }\n      } else {\n        fonts[fontUrl] = {pending: [callback]};\n        doLoadFont(fontUrl, fontObj => {\n          let callbacks = fonts[fontUrl].pending;\n          fonts[fontUrl] = fontObj;\n          callbacks.forEach(cb => cb(fontObj));\n        });\n      }\n    }\n\n\n    /**\n     * Main entry point.\n     * Process a text string with given font and formatting parameters, and return all info\n     * necessary to render all its glyphs.\n     */\n    function typeset(\n      {\n        text='',\n        font=defaultFontURL,\n        sdfGlyphSize=64,\n        fontSize=1,\n        letterSpacing=0,\n        lineHeight='normal',\n        maxWidth=INF,\n        direction,\n        textAlign='left',\n        textIndent=0,\n        whiteSpace='normal',\n        overflowWrap='normal',\n        anchorX = 0,\n        anchorY = 0,\n        includeCaretPositions=false,\n        chunkedBoundsSize=8192,\n        colorRanges=null\n      },\n      callback,\n      metricsOnly=false\n    ) {\n      const mainStart = now();\n      const timings = {fontLoad: 0, typesetting: 0};\n\n      // Ensure newlines are normalized\n      if (text.indexOf('\\r') > -1) {\n        console.info('Typesetter: got text with \\\\r chars; normalizing to \\\\n');\n        text = text.replace(/\\r\\n/g, '\\n').replace(/\\r/g, '\\n');\n      }\n\n      // Ensure we've got numbers not strings\n      fontSize = +fontSize;\n      letterSpacing = +letterSpacing;\n      maxWidth = +maxWidth;\n      lineHeight = lineHeight || 'normal';\n      textIndent = +textIndent;\n\n      loadFont(font, fontObj => {\n        const hasMaxWidth = isFinite(maxWidth);\n        let glyphIds = null;\n        let glyphPositions = null;\n        let glyphData = null;\n        let glyphColors = null;\n        let caretPositions = null;\n        let visibleBounds = null;\n        let chunkedBounds = null;\n        let maxLineWidth = 0;\n        let renderableGlyphCount = 0;\n        let canWrap = whiteSpace !== 'nowrap';\n        const {ascender, descender, unitsPerEm} = fontObj;\n        timings.fontLoad = now() - mainStart;\n        const typesetStart = now();\n\n        // Find conversion between native font units and fontSize units; this will already be done\n        // for the gx/gy values below but everything else we'll need to convert\n        const fontSizeMult = fontSize / unitsPerEm;\n\n        // Determine appropriate value for 'normal' line height based on the font's actual metrics\n        // TODO this does not guarantee individual glyphs won't exceed the line height, e.g. Roboto; should we use yMin/Max instead?\n        if (lineHeight === 'normal') {\n          lineHeight = (ascender - descender) / unitsPerEm;\n        }\n\n        // Determine line height and leading adjustments\n        lineHeight = lineHeight * fontSize;\n        const halfLeading = (lineHeight - (ascender - descender) * fontSizeMult) / 2;\n        const topBaseline = -(ascender * fontSizeMult + halfLeading);\n        const caretHeight = Math.min(lineHeight, (ascender - descender) * fontSizeMult);\n        const caretBottomOffset = (ascender + descender) / 2 * fontSizeMult - caretHeight / 2;\n\n        // Distribute glyphs into lines based on wrapping\n        let lineXOffset = textIndent;\n        let currentLine = new TextLine();\n        const lines = [currentLine];\n\n        fontObj.forEachGlyph(text, fontSize, letterSpacing, (glyphObj, glyphX, charIndex) => {\n          const char = text.charAt(charIndex);\n          const glyphWidth = glyphObj.advanceWidth * fontSizeMult;\n          const curLineCount = currentLine.count;\n          let nextLine;\n\n          // Calc isWhitespace and isEmpty once per glyphObj\n          if (!('isEmpty' in glyphObj)) {\n            glyphObj.isWhitespace = !!char && /\\s/.test(char);\n            glyphObj.canBreakAfter = !!char && BREAK_AFTER_CHARS.test(char);\n            glyphObj.isEmpty = glyphObj.xMin === glyphObj.xMax || glyphObj.yMin === glyphObj.yMax || DEFAULT_IGNORABLE_CHARS.test(char);\n          }\n          if (!glyphObj.isWhitespace && !glyphObj.isEmpty) {\n            renderableGlyphCount++;\n          }\n\n          // If a non-whitespace character overflows the max width, we need to soft-wrap\n          if (canWrap && hasMaxWidth && !glyphObj.isWhitespace && glyphX + glyphWidth + lineXOffset > maxWidth && curLineCount) {\n            // If it's the first char after a whitespace, start a new line\n            if (currentLine.glyphAt(curLineCount - 1).glyphObj.canBreakAfter) {\n              nextLine = new TextLine();\n              lineXOffset = -glyphX;\n            } else {\n              // Back up looking for a whitespace character to wrap at\n              for (let i = curLineCount; i--;) {\n                // If we got the start of the line there's no soft break point; make hard break if overflowWrap='break-word'\n                if (i === 0 && overflowWrap === 'break-word') {\n                  nextLine = new TextLine();\n                  lineXOffset = -glyphX;\n                  break\n                }\n                // Found a soft break point; move all chars since it to a new line\n                else if (currentLine.glyphAt(i).glyphObj.canBreakAfter) {\n                  nextLine = currentLine.splitAt(i + 1);\n                  const adjustX = nextLine.glyphAt(0).x;\n                  lineXOffset -= adjustX;\n                  for (let j = nextLine.count; j--;) {\n                    nextLine.glyphAt(j).x -= adjustX;\n                  }\n                  break\n                }\n              }\n            }\n            if (nextLine) {\n              currentLine.isSoftWrapped = true;\n              currentLine = nextLine;\n              lines.push(currentLine);\n              maxLineWidth = maxWidth; //after soft wrapping use maxWidth as calculated width\n            }\n          }\n\n          let fly = currentLine.glyphAt(currentLine.count);\n          fly.glyphObj = glyphObj;\n          fly.x = glyphX + lineXOffset;\n          fly.width = glyphWidth;\n          fly.charIndex = charIndex;\n\n          // Handle hard line breaks\n          if (char === '\\n') {\n            currentLine = new TextLine();\n            lines.push(currentLine);\n            lineXOffset = -(glyphX + glyphWidth + (letterSpacing * fontSize)) + textIndent;\n          }\n        });\n\n        // Calculate width of each line (excluding trailing whitespace) and maximum block width\n        lines.forEach(line => {\n          for (let i = line.count; i--;) {\n            let {glyphObj, x, width} = line.glyphAt(i);\n            if (!glyphObj.isWhitespace) {\n              line.width = x + width;\n              if (line.width > maxLineWidth) {\n                maxLineWidth = line.width;\n              }\n              return\n            }\n          }\n        });\n\n        // Find overall position adjustments for anchoring\n        let anchorXOffset = 0;\n        let anchorYOffset = 0;\n        if (anchorX) {\n          if (typeof anchorX === 'number') {\n            anchorXOffset = -anchorX;\n          }\n          else if (typeof anchorX === 'string') {\n            anchorXOffset = -maxLineWidth * (\n              anchorX === 'left' ? 0 :\n              anchorX === 'center' ? 0.5 :\n              anchorX === 'right' ? 1 :\n              parsePercent(anchorX)\n            );\n          }\n        }\n        if (anchorY) {\n          if (typeof anchorY === 'number') {\n            anchorYOffset = -anchorY;\n          }\n          else if (typeof anchorY === 'string') {\n            let height = lines.length * lineHeight;\n            anchorYOffset = anchorY === 'top' ? 0 :\n              anchorY === 'top-baseline' ? -topBaseline :\n              anchorY === 'middle' ? height / 2 :\n              anchorY === 'bottom' ? height :\n              anchorY === 'bottom-baseline' ? height - halfLeading + descender * fontSizeMult :\n              parsePercent(anchorY) * height;\n          }\n        }\n\n        if (!metricsOnly) {\n          // Resolve bidi levels\n          const bidiLevelsResult = bidi.getEmbeddingLevels(text, direction);\n\n          // Process each line, applying alignment offsets, adding each glyph to the atlas, and\n          // collecting all renderable glyphs into a single collection.\n          glyphIds = new Uint16Array(renderableGlyphCount);\n          glyphPositions = new Float32Array(renderableGlyphCount * 2);\n          glyphData = {};\n          visibleBounds = [INF, INF, -INF, -INF];\n          chunkedBounds = [];\n          let lineYOffset = topBaseline;\n          if (includeCaretPositions) {\n            caretPositions = new Float32Array(text.length * 3);\n          }\n          if (colorRanges) {\n            glyphColors = new Uint8Array(renderableGlyphCount * 3);\n          }\n          let renderableGlyphIndex = 0;\n          let prevCharIndex = -1;\n          let colorCharIndex = -1;\n          let chunk;\n          let currentColor;\n          lines.forEach((line, lineIndex) => {\n            let {count:lineGlyphCount, width:lineWidth} = line;\n\n            // Ignore empty lines\n            if (lineGlyphCount > 0) {\n              // Count trailing whitespaces, we want to ignore these for certain things\n              let trailingWhitespaceCount = 0;\n              for (let i = lineGlyphCount; i-- && line.glyphAt(i).glyphObj.isWhitespace;) {\n                trailingWhitespaceCount++;\n              }\n\n              // Apply horizontal alignment adjustments\n              let lineXOffset = 0;\n              let justifyAdjust = 0;\n              if (textAlign === 'center') {\n                lineXOffset = (maxLineWidth - lineWidth) / 2;\n              } else if (textAlign === 'right') {\n                lineXOffset = maxLineWidth - lineWidth;\n              } else if (textAlign === 'justify' && line.isSoftWrapped) {\n                // count non-trailing whitespace characters, and we'll adjust the offsets per character in the next loop\n                let whitespaceCount = 0;\n                for (let i = lineGlyphCount - trailingWhitespaceCount; i--;) {\n                  if (line.glyphAt(i).glyphObj.isWhitespace) {\n                    whitespaceCount++;\n                  }\n                }\n                justifyAdjust = (maxLineWidth - lineWidth) / whitespaceCount;\n              }\n              if (justifyAdjust || lineXOffset) {\n                let justifyOffset = 0;\n                for (let i = 0; i < lineGlyphCount; i++) {\n                  let glyphInfo = line.glyphAt(i);\n                  const glyphObj = glyphInfo.glyphObj;\n                  glyphInfo.x += lineXOffset + justifyOffset;\n                  // Expand non-trailing whitespaces for justify alignment\n                  if (justifyAdjust !== 0 && glyphObj.isWhitespace && i < lineGlyphCount - trailingWhitespaceCount) {\n                    justifyOffset += justifyAdjust;\n                    glyphInfo.width += justifyAdjust;\n                  }\n                }\n              }\n\n              // Perform bidi range flipping\n              const flips = bidi.getReorderSegments(\n                text, bidiLevelsResult, line.glyphAt(0).charIndex, line.glyphAt(line.count - 1).charIndex\n              );\n              for (let fi = 0; fi < flips.length; fi++) {\n                const [start, end] = flips[fi];\n                // Map start/end string indices to indices in the line\n                let left = Infinity, right = -Infinity;\n                for (let i = 0; i < lineGlyphCount; i++) {\n                  if (line.glyphAt(i).charIndex >= start) { // gte to handle removed characters\n                    let startInLine = i, endInLine = i;\n                    for (; endInLine < lineGlyphCount; endInLine++) {\n                      let info = line.glyphAt(endInLine);\n                      if (info.charIndex > end) {\n                        break\n                      }\n                      if (endInLine < lineGlyphCount - trailingWhitespaceCount) { //don't include trailing ws in flip width\n                        left = Math.min(left, info.x);\n                        right = Math.max(right, info.x + info.width);\n                      }\n                    }\n                    for (let j = startInLine; j < endInLine; j++) {\n                      const glyphInfo = line.glyphAt(j);\n                      glyphInfo.x = right - (glyphInfo.x + glyphInfo.width - left);\n                    }\n                    break\n                  }\n                }\n              }\n\n              // Assemble final data arrays\n              let glyphObj;\n              const setGlyphObj = g => glyphObj = g;\n              for (let i = 0; i < lineGlyphCount; i++) {\n                let glyphInfo = line.glyphAt(i);\n                glyphObj = glyphInfo.glyphObj;\n                const glyphId = glyphObj.index;\n\n                // Replace mirrored characters in rtl\n                const rtl = bidiLevelsResult.levels[glyphInfo.charIndex] & 1; //odd level means rtl\n                if (rtl) {\n                  const mirrored = bidi.getMirroredCharacter(text[glyphInfo.charIndex]);\n                  if (mirrored) {\n                    fontObj.forEachGlyph(mirrored, 0, 0, setGlyphObj);\n                  }\n                }\n\n                // Add caret positions\n                if (includeCaretPositions) {\n                  const {charIndex} = glyphInfo;\n                  const caretLeft = glyphInfo.x + anchorXOffset;\n                  const caretRight = glyphInfo.x + glyphInfo.width + anchorXOffset;\n                  caretPositions[charIndex * 3] = rtl ? caretRight : caretLeft; //start edge x\n                  caretPositions[charIndex * 3 + 1] = rtl ? caretLeft : caretRight; //end edge x\n                  caretPositions[charIndex * 3 + 2] = lineYOffset + caretBottomOffset + anchorYOffset; //common bottom y\n\n                  // If we skipped any chars from the previous glyph (due to ligature subs), fill in caret\n                  // positions for those missing char indices; currently this uses a best-guess by dividing\n                  // the ligature's width evenly. In the future we may try to use the font's LigatureCaretList\n                  // table to get better interior caret positions.\n                  const ligCount = charIndex - prevCharIndex;\n                  if (ligCount > 1) {\n                    fillLigatureCaretPositions(caretPositions, prevCharIndex, ligCount);\n                  }\n                  prevCharIndex = charIndex;\n                }\n\n                // Track current color range\n                if (colorRanges) {\n                  const {charIndex} = glyphInfo;\n                  while(charIndex > colorCharIndex) {\n                    colorCharIndex++;\n                    if (colorRanges.hasOwnProperty(colorCharIndex)) {\n                      currentColor = colorRanges[colorCharIndex];\n                    }\n                  }\n                }\n\n                // Get atlas data for renderable glyphs\n                if (!glyphObj.isWhitespace && !glyphObj.isEmpty) {\n                  const idx = renderableGlyphIndex++;\n\n                  // Add this glyph's path data\n                  if (!glyphData[glyphId]) {\n                    glyphData[glyphId] = {\n                      path: glyphObj.path,\n                      pathBounds: [glyphObj.xMin, glyphObj.yMin, glyphObj.xMax, glyphObj.yMax]\n                    };\n                  }\n\n                  // Determine final glyph position and add to glyphPositions array\n                  const glyphX = glyphInfo.x + anchorXOffset;\n                  const glyphY = lineYOffset + anchorYOffset;\n                  glyphPositions[idx * 2] = glyphX;\n                  glyphPositions[idx * 2 + 1] = glyphY;\n\n                  // Track total visible bounds\n                  const visX0 = glyphX + glyphObj.xMin * fontSizeMult;\n                  const visY0 = glyphY + glyphObj.yMin * fontSizeMult;\n                  const visX1 = glyphX + glyphObj.xMax * fontSizeMult;\n                  const visY1 = glyphY + glyphObj.yMax * fontSizeMult;\n                  if (visX0 < visibleBounds[0]) visibleBounds[0] = visX0;\n                  if (visY0 < visibleBounds[1]) visibleBounds[1] = visY0;\n                  if (visX1 > visibleBounds[2]) visibleBounds[2] = visX1;\n                  if (visY1 > visibleBounds[3]) visibleBounds[3] = visY1;\n\n                  // Track bounding rects for each chunk of N glyphs\n                  if (idx % chunkedBoundsSize === 0) {\n                    chunk = {start: idx, end: idx, rect: [INF, INF, -INF, -INF]};\n                    chunkedBounds.push(chunk);\n                  }\n                  chunk.end++;\n                  const chunkRect = chunk.rect;\n                  if (visX0 < chunkRect[0]) chunkRect[0] = visX0;\n                  if (visY0 < chunkRect[1]) chunkRect[1] = visY0;\n                  if (visX1 > chunkRect[2]) chunkRect[2] = visX1;\n                  if (visY1 > chunkRect[3]) chunkRect[3] = visY1;\n\n                  // Add to glyph ids array\n                  glyphIds[idx] = glyphId;\n\n                  // Add colors\n                  if (colorRanges) {\n                    const start = idx * 3;\n                    glyphColors[start] = currentColor >> 16 & 255;\n                    glyphColors[start + 1] = currentColor >> 8 & 255;\n                    glyphColors[start + 2] = currentColor & 255;\n                  }\n                }\n              }\n            }\n\n            // Increment y offset for next line\n            lineYOffset -= lineHeight;\n          });\n\n          // Fill in remaining caret positions in case the final character was a ligature\n          if (caretPositions) {\n            const ligCount = text.length - prevCharIndex;\n            if (ligCount > 1) {\n              fillLigatureCaretPositions(caretPositions, prevCharIndex, ligCount);\n            }\n          }\n        }\n\n        // Timing stats\n        timings.typesetting = now() - typesetStart;\n\n        callback({\n          glyphIds, //font indices for each glyph\n          glyphPositions, //x,y of each glyph's origin in layout\n          glyphData, //dict holding data about each glyph appearing in the text\n          caretPositions, //startX,endX,bottomY caret positions for each char\n          caretHeight, //height of cursor from bottom to top\n          glyphColors, //color for each glyph, if color ranges supplied\n          chunkedBounds, //total rects per (n=chunkedBoundsSize) consecutive glyphs\n          fontSize, //calculated em height\n          unitsPerEm, //font units per em\n          ascender: ascender * fontSizeMult, //font ascender\n          descender: descender * fontSizeMult, //font descender\n          lineHeight, //computed line height\n          topBaseline, //y coordinate of the top line's baseline\n          blockBounds: [ //bounds for the whole block of text, including vertical padding for lineHeight\n            anchorXOffset,\n            anchorYOffset - lines.length * lineHeight,\n            anchorXOffset + maxLineWidth,\n            anchorYOffset\n          ],\n          visibleBounds, //total bounds of visible text paths, may be larger or smaller than totalBounds\n          timings\n        });\n      });\n    }\n\n\n    /**\n     * For a given text string and font parameters, determine the resulting block dimensions\n     * after wrapping for the given maxWidth.\n     * @param args\n     * @param callback\n     */\n    function measure(args, callback) {\n      typeset(args, (result) => {\n        const [x0, y0, x1, y1] = result.blockBounds;\n        callback({\n          width: x1 - x0,\n          height: y1 - y0\n        });\n      }, {metricsOnly: true});\n    }\n\n    function parsePercent(str) {\n      let match = str.match(/^([\\d.]+)%$/);\n      let pct = match ? parseFloat(match[1]) : NaN;\n      return isNaN(pct) ? 0 : pct / 100\n    }\n\n    function fillLigatureCaretPositions(caretPositions, ligStartIndex, ligCount) {\n      const ligStartX = caretPositions[ligStartIndex * 3];\n      const ligEndX = caretPositions[ligStartIndex * 3 + 1];\n      const ligY = caretPositions[ligStartIndex * 3 + 2];\n      const guessedAdvanceX = (ligEndX - ligStartX) / ligCount;\n      for (let i = 0; i < ligCount; i++) {\n        const startIndex = (ligStartIndex + i) * 3;\n        caretPositions[startIndex] = ligStartX + guessedAdvanceX * i;\n        caretPositions[startIndex + 1] = ligStartX + guessedAdvanceX * (i + 1);\n        caretPositions[startIndex + 2] = ligY;\n      }\n    }\n\n    function now() {\n      return (self.performance || Date).now()\n    }\n\n    // Array-backed structure for a single line's glyphs data\n    function TextLine() {\n      this.data = [];\n    }\n    const textLineProps = ['glyphObj', 'x', 'width', 'charIndex'];\n    TextLine.prototype = {\n      width: 0,\n      isSoftWrapped: false,\n      get count() {\n        return Math.ceil(this.data.length / textLineProps.length)\n      },\n      glyphAt(i) {\n        let fly = TextLine.flyweight;\n        fly.data = this.data;\n        fly.index = i;\n        return fly\n      },\n      splitAt(i) {\n        let newLine = new TextLine();\n        newLine.data = this.data.splice(i * textLineProps.length);\n        return newLine\n      }\n    };\n    TextLine.flyweight = textLineProps.reduce((obj, prop, i, all) => {\n      Object.defineProperty(obj, prop, {\n        get() {\n          return this.data[this.index * textLineProps.length + i]\n        },\n        set(val) {\n          this.data[this.index * textLineProps.length + i] = val;\n        }\n      });\n      return obj\n    }, {data: null, index: 0});\n\n\n    return {\n      typeset,\n      measure,\n      loadFont\n    }\n  }\n\n  const now = () => (self.performance || Date).now();\n\n  const mainThreadGenerator = createSDFGenerator__default['default']();\n\n  let warned;\n\n  /**\n   * Generate an SDF texture image for a single glyph path, placing the result into a webgl canvas at a\n   * given location and channel. Utilizes the webgl-sdf-generator external package for GPU-accelerated SDF\n   * generation when supported.\n   */\n  function generateSDF(width, height, path, viewBox, distance, exponent, canvas, x, y, channel, useWebGL = true) {\n    // Allow opt-out\n    if (!useWebGL) {\n      return generateSDF_JS_Worker(width, height, path, viewBox, distance, exponent, canvas, x, y, channel)\n    }\n\n    // Attempt GPU-accelerated generation first\n    return generateSDF_GL(width, height, path, viewBox, distance, exponent, canvas, x, y, channel).then(\n      null,\n      err => {\n        // WebGL failed either due to a hard error or unexpected results; fall back to JS in workers\n        if (!warned) {\n          console.warn(`WebGL SDF generation failed, falling back to JS`, err);\n          warned = true;\n        }\n        return generateSDF_JS_Worker(width, height, path, viewBox, distance, exponent, canvas, x, y, channel)\n      }\n    )\n  }\n\n  /**\n   * WebGL-based implementation executed on the main thread. Requests are executed in time-bounded\n   * macrotask chunks to allow render frames to execute in between.\n   */\n  const generateSDF_GL = /*#__PURE__*/function() {\n    const queue = [];\n    const chunkTimeBudget = 5; //ms\n    let timer = 0;\n    function nextChunk() {\n      const start = now();\n      while (queue.length && now() - start < chunkTimeBudget) {\n        queue.shift()();\n      }\n      timer = queue.length ? setTimeout(nextChunk, 0) : 0;\n    }\n    return (...args) => {\n      const thenable = troikaWorkerUtils.Thenable();\n      queue.push(() => {\n        const start = now();\n        try {\n          mainThreadGenerator.webgl.generateIntoCanvas(...args);\n          thenable.resolve({timing: now() - start});\n        } catch(err) {\n          thenable.reject(err);\n        }\n      });\n      if (!timer) {\n        timer = setTimeout(nextChunk, 0);\n      }\n      return thenable\n    }\n  }();\n\n  /**\n   * Fallback JS-based implementation, fanned out to a number of worker threads for parallelism\n   */\n  const generateSDF_JS_Worker = /*#__PURE__*/function() {\n    const threadCount = 4; //how many workers to spawn\n    const idleTimeout = 2000; //workers will be terminated after being idle this many milliseconds\n    const threads = {};\n    let callNum = 0;\n    return function(width, height, path, viewBox, distance, exponent, canvas, x, y, channel) {\n      const workerId = 'TroikaTextSDFGenerator_JS_' + ((callNum++) % threadCount);\n      let thread = threads[workerId];\n      if (!thread) {\n        thread = threads[workerId] = {\n          workerModule: troikaWorkerUtils.defineWorkerModule({\n            name: workerId,\n            workerId,\n            dependencies: [\n              createSDFGenerator__default['default'],\n              now\n            ],\n            init(_createSDFGenerator, now) {\n              const generate = _createSDFGenerator().javascript.generate;\n              return function (...args) {\n                const start = now();\n                const textureData = generate(...args);\n                return {\n                  textureData,\n                  timing: now() - start\n                }\n              }\n            },\n            getTransferables(result) {\n              return [result.textureData.buffer]\n            }\n          }),\n          requests: 0,\n          idleTimer: null\n        };\n      }\n\n      thread.requests++;\n      clearTimeout(thread.idleTimer);\n      return thread.workerModule(width, height, path, viewBox, distance, exponent)\n        .then(({textureData, timing}) => {\n          // copy result data into the canvas\n          const start = now();\n          // expand single-channel data into rgba\n          const imageData = new Uint8Array(textureData.length * 4);\n          for (let i = 0; i < textureData.length; i++) {\n            imageData[i * 4 + channel] = textureData[i];\n          }\n          mainThreadGenerator.webglUtils.renderImageData(canvas, imageData, x, y, width, height, 1 << (3 - channel));\n          timing += now() - start;\n\n          // clean up workers after a while\n          if (--thread.requests === 0) {\n            thread.idleTimer = setTimeout(() => { troikaWorkerUtils.terminateWorker(workerId); }, idleTimeout);\n          }\n          return {timing}\n        })\n    }\n  }();\n\n  function warmUpSDFCanvas(canvas) {\n    if (!canvas._warm) {\n      mainThreadGenerator.webgl.isSupported(canvas);\n      canvas._warm = true;\n    }\n  }\n\n  const resizeWebGLCanvasWithoutClearing = mainThreadGenerator.webglUtils.resizeWebGLCanvasWithoutClearing;\n\n  /*!\n  Custom build of Typr.ts (https://github.com/fredli74/Typr.ts) for use in Troika text rendering.\n  Original MIT license applies: https://github.com/fredli74/Typr.ts/blob/master/LICENSE\n  */\n  function typrFactory(){return \"undefined\"==typeof window&&(self.window=self),function(r){var e={parse:function(r){var t=e._bin,a=new Uint8Array(r);if(\"ttcf\"==t.readASCII(a,0,4)){var n=4;t.readUshort(a,n),n+=2,t.readUshort(a,n),n+=2;var o=t.readUint(a,n);n+=4;for(var s=[],i=0;i<o;i++){var h=t.readUint(a,n);n+=4,s.push(e._readFont(a,h));}return s}return [e._readFont(a,0)]},_readFont:function(r,t){var a=e._bin,n=t;a.readFixed(r,t),t+=4;var o=a.readUshort(r,t);t+=2,a.readUshort(r,t),t+=2,a.readUshort(r,t),t+=2,a.readUshort(r,t),t+=2;for(var s=[\"cmap\",\"head\",\"hhea\",\"maxp\",\"hmtx\",\"name\",\"OS/2\",\"post\",\"loca\",\"glyf\",\"kern\",\"CFF \",\"GPOS\",\"GSUB\",\"SVG \"],i={_data:r,_offset:n},h={},f=0;f<o;f++){var d=a.readASCII(r,t,4);t+=4,a.readUint(r,t),t+=4;var l=a.readUint(r,t);t+=4;var u=a.readUint(r,t);t+=4,h[d]={offset:l,length:u};}for(f=0;f<s.length;f++){var v=s[f];h[v]&&(i[v.trim()]=e[v.trim()].parse(r,h[v].offset,h[v].length,i));}return i},_tabOffset:function(r,t,a){for(var n=e._bin,o=n.readUshort(r,a+4),s=a+12,i=0;i<o;i++){var h=n.readASCII(r,s,4);s+=4,n.readUint(r,s),s+=4;var f=n.readUint(r,s);if(s+=4,n.readUint(r,s),s+=4,h==t)return f}return 0}};e._bin={readFixed:function(r,e){return (r[e]<<8|r[e+1])+(r[e+2]<<8|r[e+3])/65540},readF2dot14:function(r,t){return e._bin.readShort(r,t)/16384},readInt:function(r,t){return e._bin._view(r).getInt32(t)},readInt8:function(r,t){return e._bin._view(r).getInt8(t)},readShort:function(r,t){return e._bin._view(r).getInt16(t)},readUshort:function(r,t){return e._bin._view(r).getUint16(t)},readUshorts:function(r,t,a){for(var n=[],o=0;o<a;o++)n.push(e._bin.readUshort(r,t+2*o));return n},readUint:function(r,t){return e._bin._view(r).getUint32(t)},readUint64:function(r,t){return 4294967296*e._bin.readUint(r,t)+e._bin.readUint(r,t+4)},readASCII:function(r,e,t){for(var a=\"\",n=0;n<t;n++)a+=String.fromCharCode(r[e+n]);return a},readUnicode:function(r,e,t){for(var a=\"\",n=0;n<t;n++){var o=r[e++]<<8|r[e++];a+=String.fromCharCode(o);}return a},_tdec:\"undefined\"!=typeof window&&window.TextDecoder?new window.TextDecoder:null,readUTF8:function(r,t,a){var n=e._bin._tdec;return n&&0==t&&a==r.length?n.decode(r):e._bin.readASCII(r,t,a)},readBytes:function(r,e,t){for(var a=[],n=0;n<t;n++)a.push(r[e+n]);return a},readASCIIArray:function(r,e,t){for(var a=[],n=0;n<t;n++)a.push(String.fromCharCode(r[e+n]));return a},_view:function(r){return r._dataView||(r._dataView=r.buffer?new DataView(r.buffer,r.byteOffset,r.byteLength):new DataView(new Uint8Array(r).buffer))}},e._lctf={},e._lctf.parse=function(r,t,a,n,o){var s=e._bin,i={},h=t;s.readFixed(r,t),t+=4;var f=s.readUshort(r,t);t+=2;var d=s.readUshort(r,t);t+=2;var l=s.readUshort(r,t);return t+=2,i.scriptList=e._lctf.readScriptList(r,h+f),i.featureList=e._lctf.readFeatureList(r,h+d),i.lookupList=e._lctf.readLookupList(r,h+l,o),i},e._lctf.readLookupList=function(r,t,a){var n=e._bin,o=t,s=[],i=n.readUshort(r,t);t+=2;for(var h=0;h<i;h++){var f=n.readUshort(r,t);t+=2;var d=e._lctf.readLookupTable(r,o+f,a);s.push(d);}return s},e._lctf.readLookupTable=function(r,t,a){var n=e._bin,o=t,s={tabs:[]};s.ltype=n.readUshort(r,t),t+=2,s.flag=n.readUshort(r,t),t+=2;var i=n.readUshort(r,t);t+=2;for(var h=s.ltype,f=0;f<i;f++){var d=n.readUshort(r,t);t+=2;var l=a(r,h,o+d,s);s.tabs.push(l);}return s},e._lctf.numOfOnes=function(r){for(var e=0,t=0;t<32;t++)0!=(r>>>t&1)&&e++;return e},e._lctf.readClassDef=function(r,t){var a=e._bin,n=[],o=a.readUshort(r,t);if(t+=2,1==o){var s=a.readUshort(r,t);t+=2;var i=a.readUshort(r,t);t+=2;for(var h=0;h<i;h++)n.push(s+h),n.push(s+h),n.push(a.readUshort(r,t)),t+=2;}if(2==o){var f=a.readUshort(r,t);t+=2;for(h=0;h<f;h++)n.push(a.readUshort(r,t)),t+=2,n.push(a.readUshort(r,t)),t+=2,n.push(a.readUshort(r,t)),t+=2;}return n},e._lctf.getInterval=function(r,e){for(var t=0;t<r.length;t+=3){var a=r[t],n=r[t+1];if(r[t+2],a<=e&&e<=n)return t}return -1},e._lctf.readCoverage=function(r,t){var a=e._bin,n={};n.fmt=a.readUshort(r,t),t+=2;var o=a.readUshort(r,t);return t+=2,1==n.fmt&&(n.tab=a.readUshorts(r,t,o)),2==n.fmt&&(n.tab=a.readUshorts(r,t,3*o)),n},e._lctf.coverageIndex=function(r,t){var a=r.tab;if(1==r.fmt)return a.indexOf(t);if(2==r.fmt){var n=e._lctf.getInterval(a,t);if(-1!=n)return a[n+2]+(t-a[n])}return -1},e._lctf.readFeatureList=function(r,t){var a=e._bin,n=t,o=[],s=a.readUshort(r,t);t+=2;for(var i=0;i<s;i++){var h=a.readASCII(r,t,4);t+=4;var f=a.readUshort(r,t);t+=2;var d=e._lctf.readFeatureTable(r,n+f);d.tag=h.trim(),o.push(d);}return o},e._lctf.readFeatureTable=function(r,t){var a=e._bin,n=t,o={},s=a.readUshort(r,t);t+=2,s>0&&(o.featureParams=n+s);var i=a.readUshort(r,t);t+=2,o.tab=[];for(var h=0;h<i;h++)o.tab.push(a.readUshort(r,t+2*h));return o},e._lctf.readScriptList=function(r,t){var a=e._bin,n=t,o={},s=a.readUshort(r,t);t+=2;for(var i=0;i<s;i++){var h=a.readASCII(r,t,4);t+=4;var f=a.readUshort(r,t);t+=2,o[h.trim()]=e._lctf.readScriptTable(r,n+f);}return o},e._lctf.readScriptTable=function(r,t){var a=e._bin,n=t,o={},s=a.readUshort(r,t);t+=2,o.default=e._lctf.readLangSysTable(r,n+s);var i=a.readUshort(r,t);t+=2;for(var h=0;h<i;h++){var f=a.readASCII(r,t,4);t+=4;var d=a.readUshort(r,t);t+=2,o[f.trim()]=e._lctf.readLangSysTable(r,n+d);}return o},e._lctf.readLangSysTable=function(r,t){var a=e._bin,n={};a.readUshort(r,t),t+=2,n.reqFeature=a.readUshort(r,t),t+=2;var o=a.readUshort(r,t);return t+=2,n.features=a.readUshorts(r,t,o),n},e.CFF={},e.CFF.parse=function(r,t,a){var n=e._bin;(r=new Uint8Array(r.buffer,t,a))[t=0],r[++t],r[++t],r[++t],t++;var o=[];t=e.CFF.readIndex(r,t,o);for(var s=[],i=0;i<o.length-1;i++)s.push(n.readASCII(r,t+o[i],o[i+1]-o[i]));t+=o[o.length-1];var h=[];t=e.CFF.readIndex(r,t,h);var f=[];for(i=0;i<h.length-1;i++)f.push(e.CFF.readDict(r,t+h[i],t+h[i+1]));t+=h[h.length-1];var d=f[0],l=[];t=e.CFF.readIndex(r,t,l);var u=[];for(i=0;i<l.length-1;i++)u.push(n.readASCII(r,t+l[i],l[i+1]-l[i]));if(t+=l[l.length-1],e.CFF.readSubrs(r,t,d),d.CharStrings){t=d.CharStrings;l=[];t=e.CFF.readIndex(r,t,l);var v=[];for(i=0;i<l.length-1;i++)v.push(n.readBytes(r,t+l[i],l[i+1]-l[i]));d.CharStrings=v;}if(d.ROS){t=d.FDArray;var c=[];t=e.CFF.readIndex(r,t,c),d.FDArray=[];for(i=0;i<c.length-1;i++){var p=e.CFF.readDict(r,t+c[i],t+c[i+1]);e.CFF._readFDict(r,p,u),d.FDArray.push(p);}t+=c[c.length-1],t=d.FDSelect,d.FDSelect=[];var U=r[t];if(t++,3!=U)throw U;var g=n.readUshort(r,t);t+=2;for(i=0;i<g+1;i++)d.FDSelect.push(n.readUshort(r,t),r[t+2]),t+=3;}return d.Encoding&&(d.Encoding=e.CFF.readEncoding(r,d.Encoding,d.CharStrings.length)),d.charset&&(d.charset=e.CFF.readCharset(r,d.charset,d.CharStrings.length)),e.CFF._readFDict(r,d,u),d},e.CFF._readFDict=function(r,t,a){var n;for(var o in t.Private&&(n=t.Private[1],t.Private=e.CFF.readDict(r,n,n+t.Private[0]),t.Private.Subrs&&e.CFF.readSubrs(r,n+t.Private.Subrs,t.Private)),t)-1!=[\"FamilyName\",\"FontName\",\"FullName\",\"Notice\",\"version\",\"Copyright\"].indexOf(o)&&(t[o]=a[t[o]-426+35]);},e.CFF.readSubrs=function(r,t,a){var n=e._bin,o=[];t=e.CFF.readIndex(r,t,o);var s,i=o.length;s=i<1240?107:i<33900?1131:32768,a.Bias=s,a.Subrs=[];for(var h=0;h<o.length-1;h++)a.Subrs.push(n.readBytes(r,t+o[h],o[h+1]-o[h]));},e.CFF.tableSE=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,0,111,112,113,114,0,115,116,117,118,119,120,121,122,0,123,0,124,125,126,127,128,129,130,131,0,132,133,0,134,135,136,137,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,138,0,139,0,0,0,0,140,141,142,143,0,0,0,0,0,144,0,0,0,145,0,0,146,147,148,149,0,0,0,0],e.CFF.glyphByUnicode=function(r,e){for(var t=0;t<r.charset.length;t++)if(r.charset[t]==e)return t;return -1},e.CFF.glyphBySE=function(r,t){return t<0||t>255?-1:e.CFF.glyphByUnicode(r,e.CFF.tableSE[t])},e.CFF.readEncoding=function(r,t,a){e._bin;var n=[\".notdef\"],o=r[t];if(t++,0!=o)throw \"error: unknown encoding format: \"+o;var s=r[t];t++;for(var i=0;i<s;i++)n.push(r[t+i]);return n},e.CFF.readCharset=function(r,t,a){var n=e._bin,o=[\".notdef\"],s=r[t];if(t++,0==s)for(var i=0;i<a;i++){var h=n.readUshort(r,t);t+=2,o.push(h);}else {if(1!=s&&2!=s)throw \"error: format: \"+s;for(;o.length<a;){h=n.readUshort(r,t);t+=2;var f=0;1==s?(f=r[t],t++):(f=n.readUshort(r,t),t+=2);for(i=0;i<=f;i++)o.push(h),h++;}}return o},e.CFF.readIndex=function(r,t,a){var n=e._bin,o=n.readUshort(r,t)+1,s=r[t+=2];if(t++,1==s)for(var i=0;i<o;i++)a.push(r[t+i]);else if(2==s)for(i=0;i<o;i++)a.push(n.readUshort(r,t+2*i));else if(3==s)for(i=0;i<o;i++)a.push(16777215&n.readUint(r,t+3*i-1));else if(1!=o)throw \"unsupported offset size: \"+s+\", count: \"+o;return (t+=o*s)-1},e.CFF.getCharString=function(r,t,a){var n=e._bin,o=r[t],s=r[t+1];r[t+2],r[t+3],r[t+4];var i=1,h=null,f=null;o<=20&&(h=o,i=1),12==o&&(h=100*o+s,i=2),21<=o&&o<=27&&(h=o,i=1),28==o&&(f=n.readShort(r,t+1),i=3),29<=o&&o<=31&&(h=o,i=1),32<=o&&o<=246&&(f=o-139,i=1),247<=o&&o<=250&&(f=256*(o-247)+s+108,i=2),251<=o&&o<=254&&(f=256*-(o-251)-s-108,i=2),255==o&&(f=n.readInt(r,t+1)/65535,i=5),a.val=null!=f?f:\"o\"+h,a.size=i;},e.CFF.readCharString=function(r,t,a){for(var n=t+a,o=e._bin,s=[];t<n;){var i=r[t],h=r[t+1];r[t+2],r[t+3],r[t+4];var f=1,d=null,l=null;i<=20&&(d=i,f=1),12==i&&(d=100*i+h,f=2),19!=i&&20!=i||(d=i,f=2),21<=i&&i<=27&&(d=i,f=1),28==i&&(l=o.readShort(r,t+1),f=3),29<=i&&i<=31&&(d=i,f=1),32<=i&&i<=246&&(l=i-139,f=1),247<=i&&i<=250&&(l=256*(i-247)+h+108,f=2),251<=i&&i<=254&&(l=256*-(i-251)-h-108,f=2),255==i&&(l=o.readInt(r,t+1)/65535,f=5),s.push(null!=l?l:\"o\"+d),t+=f;}return s},e.CFF.readDict=function(r,t,a){for(var n=e._bin,o={},s=[];t<a;){var i=r[t],h=r[t+1];r[t+2],r[t+3],r[t+4];var f=1,d=null,l=null;if(28==i&&(l=n.readShort(r,t+1),f=3),29==i&&(l=n.readInt(r,t+1),f=5),32<=i&&i<=246&&(l=i-139,f=1),247<=i&&i<=250&&(l=256*(i-247)+h+108,f=2),251<=i&&i<=254&&(l=256*-(i-251)-h-108,f=2),255==i)throw l=n.readInt(r,t+1)/65535,f=5,\"unknown number\";if(30==i){var u=[];for(f=1;;){var v=r[t+f];f++;var c=v>>4,p=15&v;if(15!=c&&u.push(c),15!=p&&u.push(p),15==p)break}for(var U=\"\",g=[0,1,2,3,4,5,6,7,8,9,\".\",\"e\",\"e-\",\"reserved\",\"-\",\"endOfNumber\"],S=0;S<u.length;S++)U+=g[u[S]];l=parseFloat(U);}if(i<=21)if(d=[\"version\",\"Notice\",\"FullName\",\"FamilyName\",\"Weight\",\"FontBBox\",\"BlueValues\",\"OtherBlues\",\"FamilyBlues\",\"FamilyOtherBlues\",\"StdHW\",\"StdVW\",\"escape\",\"UniqueID\",\"XUID\",\"charset\",\"Encoding\",\"CharStrings\",\"Private\",\"Subrs\",\"defaultWidthX\",\"nominalWidthX\"][i],f=1,12==i)d=[\"Copyright\",\"isFixedPitch\",\"ItalicAngle\",\"UnderlinePosition\",\"UnderlineThickness\",\"PaintType\",\"CharstringType\",\"FontMatrix\",\"StrokeWidth\",\"BlueScale\",\"BlueShift\",\"BlueFuzz\",\"StemSnapH\",\"StemSnapV\",\"ForceBold\",0,0,\"LanguageGroup\",\"ExpansionFactor\",\"initialRandomSeed\",\"SyntheticBase\",\"PostScript\",\"BaseFontName\",\"BaseFontBlend\",0,0,0,0,0,0,\"ROS\",\"CIDFontVersion\",\"CIDFontRevision\",\"CIDFontType\",\"CIDCount\",\"UIDBase\",\"FDArray\",\"FDSelect\",\"FontName\"][h],f=2;null!=d?(o[d]=1==s.length?s[0]:s,s=[]):s.push(l),t+=f;}return o},e.cmap={},e.cmap.parse=function(r,t,a){r=new Uint8Array(r.buffer,t,a),t=0;var n=e._bin,o={};n.readUshort(r,t),t+=2;var s=n.readUshort(r,t);t+=2;var i=[];o.tables=[];for(var h=0;h<s;h++){var f=n.readUshort(r,t);t+=2;var d=n.readUshort(r,t);t+=2;var l=n.readUint(r,t);t+=4;var u=\"p\"+f+\"e\"+d,v=i.indexOf(l);if(-1==v){var c;v=o.tables.length,i.push(l);var p=n.readUshort(r,l);0==p?c=e.cmap.parse0(r,l):4==p?c=e.cmap.parse4(r,l):6==p?c=e.cmap.parse6(r,l):12==p?c=e.cmap.parse12(r,l):console.debug(\"unknown format: \"+p,f,d,l),o.tables.push(c);}if(null!=o[u])throw \"multiple tables for one platform+encoding\";o[u]=v;}return o},e.cmap.parse0=function(r,t){var a=e._bin,n={};n.format=a.readUshort(r,t),t+=2;var o=a.readUshort(r,t);t+=2,a.readUshort(r,t),t+=2,n.map=[];for(var s=0;s<o-6;s++)n.map.push(r[t+s]);return n},e.cmap.parse4=function(r,t){var a=e._bin,n=t,o={};o.format=a.readUshort(r,t),t+=2;var s=a.readUshort(r,t);t+=2,a.readUshort(r,t),t+=2;var i=a.readUshort(r,t);t+=2;var h=i/2;o.searchRange=a.readUshort(r,t),t+=2,o.entrySelector=a.readUshort(r,t),t+=2,o.rangeShift=a.readUshort(r,t),t+=2,o.endCount=a.readUshorts(r,t,h),t+=2*h,t+=2,o.startCount=a.readUshorts(r,t,h),t+=2*h,o.idDelta=[];for(var f=0;f<h;f++)o.idDelta.push(a.readShort(r,t)),t+=2;for(o.idRangeOffset=a.readUshorts(r,t,h),t+=2*h,o.glyphIdArray=[];t<n+s;)o.glyphIdArray.push(a.readUshort(r,t)),t+=2;return o},e.cmap.parse6=function(r,t){var a=e._bin,n={};n.format=a.readUshort(r,t),t+=2,a.readUshort(r,t),t+=2,a.readUshort(r,t),t+=2,n.firstCode=a.readUshort(r,t),t+=2;var o=a.readUshort(r,t);t+=2,n.glyphIdArray=[];for(var s=0;s<o;s++)n.glyphIdArray.push(a.readUshort(r,t)),t+=2;return n},e.cmap.parse12=function(r,t){var a=e._bin,n={};n.format=a.readUshort(r,t),t+=2,t+=2,a.readUint(r,t),t+=4,a.readUint(r,t),t+=4;var o=a.readUint(r,t);t+=4,n.groups=[];for(var s=0;s<o;s++){var i=t+12*s,h=a.readUint(r,i+0),f=a.readUint(r,i+4),d=a.readUint(r,i+8);n.groups.push([h,f,d]);}return n},e.glyf={},e.glyf.parse=function(r,e,t,a){for(var n=[],o=0;o<a.maxp.numGlyphs;o++)n.push(null);return n},e.glyf._parseGlyf=function(r,t){var a=e._bin,n=r._data,o=e._tabOffset(n,\"glyf\",r._offset)+r.loca[t];if(r.loca[t]==r.loca[t+1])return null;var s={};if(s.noc=a.readShort(n,o),o+=2,s.xMin=a.readShort(n,o),o+=2,s.yMin=a.readShort(n,o),o+=2,s.xMax=a.readShort(n,o),o+=2,s.yMax=a.readShort(n,o),o+=2,s.xMin>=s.xMax||s.yMin>=s.yMax)return null;if(s.noc>0){s.endPts=[];for(var i=0;i<s.noc;i++)s.endPts.push(a.readUshort(n,o)),o+=2;var h=a.readUshort(n,o);if(o+=2,n.length-o<h)return null;s.instructions=a.readBytes(n,o,h),o+=h;var f=s.endPts[s.noc-1]+1;s.flags=[];for(i=0;i<f;i++){var d=n[o];if(o++,s.flags.push(d),0!=(8&d)){var l=n[o];o++;for(var u=0;u<l;u++)s.flags.push(d),i++;}}s.xs=[];for(i=0;i<f;i++){var v=0!=(2&s.flags[i]),c=0!=(16&s.flags[i]);v?(s.xs.push(c?n[o]:-n[o]),o++):c?s.xs.push(0):(s.xs.push(a.readShort(n,o)),o+=2);}s.ys=[];for(i=0;i<f;i++){v=0!=(4&s.flags[i]),c=0!=(32&s.flags[i]);v?(s.ys.push(c?n[o]:-n[o]),o++):c?s.ys.push(0):(s.ys.push(a.readShort(n,o)),o+=2);}var p=0,U=0;for(i=0;i<f;i++)p+=s.xs[i],U+=s.ys[i],s.xs[i]=p,s.ys[i]=U;}else {var g;s.parts=[];do{g=a.readUshort(n,o),o+=2;var S={m:{a:1,b:0,c:0,d:1,tx:0,ty:0},p1:-1,p2:-1};if(s.parts.push(S),S.glyphIndex=a.readUshort(n,o),o+=2,1&g){var m=a.readShort(n,o);o+=2;var b=a.readShort(n,o);o+=2;}else {m=a.readInt8(n,o);o++;b=a.readInt8(n,o);o++;}2&g?(S.m.tx=m,S.m.ty=b):(S.p1=m,S.p2=b),8&g?(S.m.a=S.m.d=a.readF2dot14(n,o),o+=2):64&g?(S.m.a=a.readF2dot14(n,o),o+=2,S.m.d=a.readF2dot14(n,o),o+=2):128&g&&(S.m.a=a.readF2dot14(n,o),o+=2,S.m.b=a.readF2dot14(n,o),o+=2,S.m.c=a.readF2dot14(n,o),o+=2,S.m.d=a.readF2dot14(n,o),o+=2);}while(32&g);if(256&g){var y=a.readUshort(n,o);o+=2,s.instr=[];for(i=0;i<y;i++)s.instr.push(n[o]),o++;}}return s},e.GPOS={},e.GPOS.parse=function(r,t,a,n){return e._lctf.parse(r,t,a,n,e.GPOS.subt)},e.GPOS.subt=function(r,t,a,n){var o=e._bin,s=a,i={};if(i.fmt=o.readUshort(r,a),a+=2,1==t||2==t||3==t||7==t||8==t&&i.fmt<=2){var h=o.readUshort(r,a);a+=2,i.coverage=e._lctf.readCoverage(r,h+s);}if(1==t&&1==i.fmt){var f=o.readUshort(r,a);a+=2;var d=e._lctf.numOfOnes(f);0!=f&&(i.pos=e.GPOS.readValueRecord(r,a,f));}else if(2==t&&i.fmt>=1&&i.fmt<=2){f=o.readUshort(r,a);a+=2;var l=o.readUshort(r,a);a+=2;d=e._lctf.numOfOnes(f);var u=e._lctf.numOfOnes(l);if(1==i.fmt){i.pairsets=[];var v=o.readUshort(r,a);a+=2;for(var c=0;c<v;c++){var p=s+o.readUshort(r,a);a+=2;var U=o.readUshort(r,p);p+=2;for(var g=[],S=0;S<U;S++){var m=o.readUshort(r,p);p+=2,0!=f&&(x=e.GPOS.readValueRecord(r,p,f),p+=2*d),0!=l&&(P=e.GPOS.readValueRecord(r,p,l),p+=2*u),g.push({gid2:m,val1:x,val2:P});}i.pairsets.push(g);}}if(2==i.fmt){var b=o.readUshort(r,a);a+=2;var y=o.readUshort(r,a);a+=2;var F=o.readUshort(r,a);a+=2;var _=o.readUshort(r,a);a+=2,i.classDef1=e._lctf.readClassDef(r,s+b),i.classDef2=e._lctf.readClassDef(r,s+y),i.matrix=[];for(c=0;c<F;c++){var C=[];for(S=0;S<_;S++){var x=null,P=null;0!=f&&(x=e.GPOS.readValueRecord(r,a,f),a+=2*d),0!=l&&(P=e.GPOS.readValueRecord(r,a,l),a+=2*u),C.push({val1:x,val2:P});}i.matrix.push(C);}}}else {if(9==t&&1==i.fmt){var I=o.readUshort(r,a);a+=2;var w=o.readUint(r,a);if(a+=4,9==n.ltype)n.ltype=I;else if(n.ltype!=I)throw \"invalid extension substitution\";return e.GPOS.subt(r,n.ltype,s+w)}console.debug(\"unsupported GPOS table LookupType\",t,\"format\",i.fmt);}return i},e.GPOS.readValueRecord=function(r,t,a){var n=e._bin,o=[];return o.push(1&a?n.readShort(r,t):0),t+=1&a?2:0,o.push(2&a?n.readShort(r,t):0),t+=2&a?2:0,o.push(4&a?n.readShort(r,t):0),t+=4&a?2:0,o.push(8&a?n.readShort(r,t):0),t+=8&a?2:0,o},e.GSUB={},e.GSUB.parse=function(r,t,a,n){return e._lctf.parse(r,t,a,n,e.GSUB.subt)},e.GSUB.subt=function(r,t,a,n){var o=e._bin,s=a,i={};if(i.fmt=o.readUshort(r,a),a+=2,1!=t&&4!=t&&5!=t&&6!=t)return null;if(1==t||4==t||5==t&&i.fmt<=2||6==t&&i.fmt<=2){var h=o.readUshort(r,a);a+=2,i.coverage=e._lctf.readCoverage(r,s+h);}if(1==t&&i.fmt>=1&&i.fmt<=2){if(1==i.fmt)i.delta=o.readShort(r,a),a+=2;else if(2==i.fmt){var f=o.readUshort(r,a);a+=2,i.newg=o.readUshorts(r,a,f),a+=2*i.newg.length;}}else if(4==t){i.vals=[];f=o.readUshort(r,a);a+=2;for(var d=0;d<f;d++){var l=o.readUshort(r,a);a+=2,i.vals.push(e.GSUB.readLigatureSet(r,s+l));}}else if(5==t&&2==i.fmt){if(2==i.fmt){var u=o.readUshort(r,a);a+=2,i.cDef=e._lctf.readClassDef(r,s+u),i.scset=[];var v=o.readUshort(r,a);a+=2;for(d=0;d<v;d++){var c=o.readUshort(r,a);a+=2,i.scset.push(0==c?null:e.GSUB.readSubClassSet(r,s+c));}}}else if(6==t&&3==i.fmt){if(3==i.fmt){for(d=0;d<3;d++){f=o.readUshort(r,a);a+=2;for(var p=[],U=0;U<f;U++)p.push(e._lctf.readCoverage(r,s+o.readUshort(r,a+2*U)));a+=2*f,0==d&&(i.backCvg=p),1==d&&(i.inptCvg=p),2==d&&(i.ahedCvg=p);}f=o.readUshort(r,a);a+=2,i.lookupRec=e.GSUB.readSubstLookupRecords(r,a,f);}}else {if(7==t&&1==i.fmt){var g=o.readUshort(r,a);a+=2;var S=o.readUint(r,a);if(a+=4,9==n.ltype)n.ltype=g;else if(n.ltype!=g)throw \"invalid extension substitution\";return e.GSUB.subt(r,n.ltype,s+S)}console.debug(\"unsupported GSUB table LookupType\",t,\"format\",i.fmt);}return i},e.GSUB.readSubClassSet=function(r,t){var a=e._bin.readUshort,n=t,o=[],s=a(r,t);t+=2;for(var i=0;i<s;i++){var h=a(r,t);t+=2,o.push(e.GSUB.readSubClassRule(r,n+h));}return o},e.GSUB.readSubClassRule=function(r,t){var a=e._bin.readUshort,n={},o=a(r,t),s=a(r,t+=2);t+=2,n.input=[];for(var i=0;i<o-1;i++)n.input.push(a(r,t)),t+=2;return n.substLookupRecords=e.GSUB.readSubstLookupRecords(r,t,s),n},e.GSUB.readSubstLookupRecords=function(r,t,a){for(var n=e._bin.readUshort,o=[],s=0;s<a;s++)o.push(n(r,t),n(r,t+2)),t+=4;return o},e.GSUB.readChainSubClassSet=function(r,t){var a=e._bin,n=t,o=[],s=a.readUshort(r,t);t+=2;for(var i=0;i<s;i++){var h=a.readUshort(r,t);t+=2,o.push(e.GSUB.readChainSubClassRule(r,n+h));}return o},e.GSUB.readChainSubClassRule=function(r,t){for(var a=e._bin,n={},o=[\"backtrack\",\"input\",\"lookahead\"],s=0;s<o.length;s++){var i=a.readUshort(r,t);t+=2,1==s&&i--,n[o[s]]=a.readUshorts(r,t,i),t+=2*n[o[s]].length;}i=a.readUshort(r,t);return t+=2,n.subst=a.readUshorts(r,t,2*i),t+=2*n.subst.length,n},e.GSUB.readLigatureSet=function(r,t){var a=e._bin,n=t,o=[],s=a.readUshort(r,t);t+=2;for(var i=0;i<s;i++){var h=a.readUshort(r,t);t+=2,o.push(e.GSUB.readLigature(r,n+h));}return o},e.GSUB.readLigature=function(r,t){var a=e._bin,n={chain:[]};n.nglyph=a.readUshort(r,t),t+=2;var o=a.readUshort(r,t);t+=2;for(var s=0;s<o-1;s++)n.chain.push(a.readUshort(r,t)),t+=2;return n},e.head={},e.head.parse=function(r,t,a){var n=e._bin,o={};return n.readFixed(r,t),t+=4,o.fontRevision=n.readFixed(r,t),t+=4,n.readUint(r,t),t+=4,n.readUint(r,t),t+=4,o.flags=n.readUshort(r,t),t+=2,o.unitsPerEm=n.readUshort(r,t),t+=2,o.created=n.readUint64(r,t),t+=8,o.modified=n.readUint64(r,t),t+=8,o.xMin=n.readShort(r,t),t+=2,o.yMin=n.readShort(r,t),t+=2,o.xMax=n.readShort(r,t),t+=2,o.yMax=n.readShort(r,t),t+=2,o.macStyle=n.readUshort(r,t),t+=2,o.lowestRecPPEM=n.readUshort(r,t),t+=2,o.fontDirectionHint=n.readShort(r,t),t+=2,o.indexToLocFormat=n.readShort(r,t),t+=2,o.glyphDataFormat=n.readShort(r,t),t+=2,o},e.hhea={},e.hhea.parse=function(r,t,a){var n=e._bin,o={};return n.readFixed(r,t),t+=4,o.ascender=n.readShort(r,t),t+=2,o.descender=n.readShort(r,t),t+=2,o.lineGap=n.readShort(r,t),t+=2,o.advanceWidthMax=n.readUshort(r,t),t+=2,o.minLeftSideBearing=n.readShort(r,t),t+=2,o.minRightSideBearing=n.readShort(r,t),t+=2,o.xMaxExtent=n.readShort(r,t),t+=2,o.caretSlopeRise=n.readShort(r,t),t+=2,o.caretSlopeRun=n.readShort(r,t),t+=2,o.caretOffset=n.readShort(r,t),t+=2,t+=8,o.metricDataFormat=n.readShort(r,t),t+=2,o.numberOfHMetrics=n.readUshort(r,t),t+=2,o},e.hmtx={},e.hmtx.parse=function(r,t,a,n){for(var o=e._bin,s={aWidth:[],lsBearing:[]},i=0,h=0,f=0;f<n.maxp.numGlyphs;f++)f<n.hhea.numberOfHMetrics&&(i=o.readUshort(r,t),t+=2,h=o.readShort(r,t),t+=2),s.aWidth.push(i),s.lsBearing.push(h);return s},e.kern={},e.kern.parse=function(r,t,a,n){var o=e._bin,s=o.readUshort(r,t);if(t+=2,1==s)return e.kern.parseV1(r,t-2,a,n);var i=o.readUshort(r,t);t+=2;for(var h={glyph1:[],rval:[]},f=0;f<i;f++){t+=2;a=o.readUshort(r,t);t+=2;var d=o.readUshort(r,t);t+=2;var l=d>>>8;if(0!=(l&=15))throw \"unknown kern table format: \"+l;t=e.kern.readFormat0(r,t,h);}return h},e.kern.parseV1=function(r,t,a,n){var o=e._bin;o.readFixed(r,t),t+=4;var s=o.readUint(r,t);t+=4;for(var i={glyph1:[],rval:[]},h=0;h<s;h++){o.readUint(r,t),t+=4;var f=o.readUshort(r,t);t+=2,o.readUshort(r,t),t+=2;var d=f>>>8;if(0!=(d&=15))throw \"unknown kern table format: \"+d;t=e.kern.readFormat0(r,t,i);}return i},e.kern.readFormat0=function(r,t,a){var n=e._bin,o=-1,s=n.readUshort(r,t);t+=2,n.readUshort(r,t),t+=2,n.readUshort(r,t),t+=2,n.readUshort(r,t),t+=2;for(var i=0;i<s;i++){var h=n.readUshort(r,t);t+=2;var f=n.readUshort(r,t);t+=2;var d=n.readShort(r,t);t+=2,h!=o&&(a.glyph1.push(h),a.rval.push({glyph2:[],vals:[]}));var l=a.rval[a.rval.length-1];l.glyph2.push(f),l.vals.push(d),o=h;}return t},e.loca={},e.loca.parse=function(r,t,a,n){var o=e._bin,s=[],i=n.head.indexToLocFormat,h=n.maxp.numGlyphs+1;if(0==i)for(var f=0;f<h;f++)s.push(o.readUshort(r,t+(f<<1))<<1);if(1==i)for(f=0;f<h;f++)s.push(o.readUint(r,t+(f<<2)));return s},e.maxp={},e.maxp.parse=function(r,t,a){var n=e._bin,o={},s=n.readUint(r,t);return t+=4,o.numGlyphs=n.readUshort(r,t),t+=2,65536==s&&(o.maxPoints=n.readUshort(r,t),t+=2,o.maxContours=n.readUshort(r,t),t+=2,o.maxCompositePoints=n.readUshort(r,t),t+=2,o.maxCompositeContours=n.readUshort(r,t),t+=2,o.maxZones=n.readUshort(r,t),t+=2,o.maxTwilightPoints=n.readUshort(r,t),t+=2,o.maxStorage=n.readUshort(r,t),t+=2,o.maxFunctionDefs=n.readUshort(r,t),t+=2,o.maxInstructionDefs=n.readUshort(r,t),t+=2,o.maxStackElements=n.readUshort(r,t),t+=2,o.maxSizeOfInstructions=n.readUshort(r,t),t+=2,o.maxComponentElements=n.readUshort(r,t),t+=2,o.maxComponentDepth=n.readUshort(r,t),t+=2),o},e.name={},e.name.parse=function(r,t,a){var n=e._bin,o={};n.readUshort(r,t),t+=2;var s=n.readUshort(r,t);t+=2,n.readUshort(r,t);for(var i,h=[\"copyright\",\"fontFamily\",\"fontSubfamily\",\"ID\",\"fullName\",\"version\",\"postScriptName\",\"trademark\",\"manufacturer\",\"designer\",\"description\",\"urlVendor\",\"urlDesigner\",\"licence\",\"licenceURL\",\"---\",\"typoFamilyName\",\"typoSubfamilyName\",\"compatibleFull\",\"sampleText\",\"postScriptCID\",\"wwsFamilyName\",\"wwsSubfamilyName\",\"lightPalette\",\"darkPalette\"],f=t+=2,d=0;d<s;d++){var l=n.readUshort(r,t);t+=2;var u=n.readUshort(r,t);t+=2;var v=n.readUshort(r,t);t+=2;var c=n.readUshort(r,t);t+=2;var p=n.readUshort(r,t);t+=2;var U=n.readUshort(r,t);t+=2;var g,S=h[c],m=f+12*s+U;if(0==l)g=n.readUnicode(r,m,p/2);else if(3==l&&0==u)g=n.readUnicode(r,m,p/2);else if(0==u)g=n.readASCII(r,m,p);else if(1==u)g=n.readUnicode(r,m,p/2);else if(3==u)g=n.readUnicode(r,m,p/2);else {if(1!=l)throw \"unknown encoding \"+u+\", platformID: \"+l;g=n.readASCII(r,m,p),console.debug(\"reading unknown MAC encoding \"+u+\" as ASCII\");}var b=\"p\"+l+\",\"+v.toString(16);null==o[b]&&(o[b]={}),o[b][void 0!==S?S:c]=g,o[b]._lang=v;}for(var y in o)if(null!=o[y].postScriptName&&1033==o[y]._lang)return o[y];for(var y in o)if(null!=o[y].postScriptName&&0==o[y]._lang)return o[y];for(var y in o)if(null!=o[y].postScriptName&&3084==o[y]._lang)return o[y];for(var y in o)if(null!=o[y].postScriptName)return o[y];for(var y in o){i=y;break}return console.debug(\"returning name table with languageID \"+o[i]._lang),o[i]},e[\"OS/2\"]={},e[\"OS/2\"].parse=function(r,t,a){var n=e._bin.readUshort(r,t);t+=2;var o={};if(0==n)e[\"OS/2\"].version0(r,t,o);else if(1==n)e[\"OS/2\"].version1(r,t,o);else if(2==n||3==n||4==n)e[\"OS/2\"].version2(r,t,o);else {if(5!=n)throw \"unknown OS/2 table version: \"+n;e[\"OS/2\"].version5(r,t,o);}return o},e[\"OS/2\"].version0=function(r,t,a){var n=e._bin;return a.xAvgCharWidth=n.readShort(r,t),t+=2,a.usWeightClass=n.readUshort(r,t),t+=2,a.usWidthClass=n.readUshort(r,t),t+=2,a.fsType=n.readUshort(r,t),t+=2,a.ySubscriptXSize=n.readShort(r,t),t+=2,a.ySubscriptYSize=n.readShort(r,t),t+=2,a.ySubscriptXOffset=n.readShort(r,t),t+=2,a.ySubscriptYOffset=n.readShort(r,t),t+=2,a.ySuperscriptXSize=n.readShort(r,t),t+=2,a.ySuperscriptYSize=n.readShort(r,t),t+=2,a.ySuperscriptXOffset=n.readShort(r,t),t+=2,a.ySuperscriptYOffset=n.readShort(r,t),t+=2,a.yStrikeoutSize=n.readShort(r,t),t+=2,a.yStrikeoutPosition=n.readShort(r,t),t+=2,a.sFamilyClass=n.readShort(r,t),t+=2,a.panose=n.readBytes(r,t,10),t+=10,a.ulUnicodeRange1=n.readUint(r,t),t+=4,a.ulUnicodeRange2=n.readUint(r,t),t+=4,a.ulUnicodeRange3=n.readUint(r,t),t+=4,a.ulUnicodeRange4=n.readUint(r,t),t+=4,a.achVendID=[n.readInt8(r,t),n.readInt8(r,t+1),n.readInt8(r,t+2),n.readInt8(r,t+3)],t+=4,a.fsSelection=n.readUshort(r,t),t+=2,a.usFirstCharIndex=n.readUshort(r,t),t+=2,a.usLastCharIndex=n.readUshort(r,t),t+=2,a.sTypoAscender=n.readShort(r,t),t+=2,a.sTypoDescender=n.readShort(r,t),t+=2,a.sTypoLineGap=n.readShort(r,t),t+=2,a.usWinAscent=n.readUshort(r,t),t+=2,a.usWinDescent=n.readUshort(r,t),t+=2},e[\"OS/2\"].version1=function(r,t,a){var n=e._bin;return t=e[\"OS/2\"].version0(r,t,a),a.ulCodePageRange1=n.readUint(r,t),t+=4,a.ulCodePageRange2=n.readUint(r,t),t+=4},e[\"OS/2\"].version2=function(r,t,a){var n=e._bin;return t=e[\"OS/2\"].version1(r,t,a),a.sxHeight=n.readShort(r,t),t+=2,a.sCapHeight=n.readShort(r,t),t+=2,a.usDefault=n.readUshort(r,t),t+=2,a.usBreak=n.readUshort(r,t),t+=2,a.usMaxContext=n.readUshort(r,t),t+=2},e[\"OS/2\"].version5=function(r,t,a){var n=e._bin;return t=e[\"OS/2\"].version2(r,t,a),a.usLowerOpticalPointSize=n.readUshort(r,t),t+=2,a.usUpperOpticalPointSize=n.readUshort(r,t),t+=2},e.post={},e.post.parse=function(r,t,a){var n=e._bin,o={};return o.version=n.readFixed(r,t),t+=4,o.italicAngle=n.readFixed(r,t),t+=4,o.underlinePosition=n.readShort(r,t),t+=2,o.underlineThickness=n.readShort(r,t),t+=2,o},null==e&&(e={}),null==e.U&&(e.U={}),e.U.codeToGlyph=function(r,e){var t=r.cmap,a=-1;if(null!=t.p0e4?a=t.p0e4:null!=t.p3e1?a=t.p3e1:null!=t.p1e0?a=t.p1e0:null!=t.p0e3&&(a=t.p0e3),-1==a)throw \"no familiar platform and encoding!\";var n=t.tables[a];if(0==n.format)return e>=n.map.length?0:n.map[e];if(4==n.format){for(var o=-1,s=0;s<n.endCount.length;s++)if(e<=n.endCount[s]){o=s;break}if(-1==o)return 0;if(n.startCount[o]>e)return 0;return 65535&(0!=n.idRangeOffset[o]?n.glyphIdArray[e-n.startCount[o]+(n.idRangeOffset[o]>>1)-(n.idRangeOffset.length-o)]:e+n.idDelta[o])}if(12==n.format){if(e>n.groups[n.groups.length-1][1])return 0;for(s=0;s<n.groups.length;s++){var i=n.groups[s];if(i[0]<=e&&e<=i[1])return i[2]+(e-i[0])}return 0}throw \"unknown cmap table format \"+n.format},e.U.glyphToPath=function(r,t){var a={cmds:[],crds:[]};if(r.SVG&&r.SVG.entries[t]){var n=r.SVG.entries[t];return null==n?a:(\"string\"==typeof n&&(n=e.SVG.toPath(n),r.SVG.entries[t]=n),n)}if(r.CFF){var o={x:0,y:0,stack:[],nStems:0,haveWidth:!1,width:r.CFF.Private?r.CFF.Private.defaultWidthX:0,open:!1},s=r.CFF,i=r.CFF.Private;if(s.ROS){for(var h=0;s.FDSelect[h+2]<=t;)h+=2;i=s.FDArray[s.FDSelect[h+1]].Private;}e.U._drawCFF(r.CFF.CharStrings[t],o,s,i,a);}else r.glyf&&e.U._drawGlyf(t,r,a);return a},e.U._drawGlyf=function(r,t,a){var n=t.glyf[r];null==n&&(n=t.glyf[r]=e.glyf._parseGlyf(t,r)),null!=n&&(n.noc>-1?e.U._simpleGlyph(n,a):e.U._compoGlyph(n,t,a));},e.U._simpleGlyph=function(r,t){for(var a=0;a<r.noc;a++){for(var n=0==a?0:r.endPts[a-1]+1,o=r.endPts[a],s=n;s<=o;s++){var i=s==n?o:s-1,h=s==o?n:s+1,f=1&r.flags[s],d=1&r.flags[i],l=1&r.flags[h],u=r.xs[s],v=r.ys[s];if(s==n)if(f){if(!d){e.U.P.moveTo(t,u,v);continue}e.U.P.moveTo(t,r.xs[i],r.ys[i]);}else d?e.U.P.moveTo(t,r.xs[i],r.ys[i]):e.U.P.moveTo(t,(r.xs[i]+u)/2,(r.ys[i]+v)/2);f?d&&e.U.P.lineTo(t,u,v):l?e.U.P.qcurveTo(t,u,v,r.xs[h],r.ys[h]):e.U.P.qcurveTo(t,u,v,(u+r.xs[h])/2,(v+r.ys[h])/2);}e.U.P.closePath(t);}},e.U._compoGlyph=function(r,t,a){for(var n=0;n<r.parts.length;n++){var o={cmds:[],crds:[]},s=r.parts[n];e.U._drawGlyf(s.glyphIndex,t,o);for(var i=s.m,h=0;h<o.crds.length;h+=2){var f=o.crds[h],d=o.crds[h+1];a.crds.push(f*i.a+d*i.b+i.tx),a.crds.push(f*i.c+d*i.d+i.ty);}for(h=0;h<o.cmds.length;h++)a.cmds.push(o.cmds[h]);}},e.U._getGlyphClass=function(r,t){var a=e._lctf.getInterval(t,r);return -1==a?0:t[a+2]},e.U.getPairAdjustment=function(r,t,a){var n=0,o=!1;if(r.GPOS)for(var s=r.GPOS,i=s.lookupList,h=s.featureList,f=[],d=0;d<h.length;d++){var l=h[d];if(\"kern\"==l.tag){o=!0;for(var u=0;u<l.tab.length;u++)if(!f[l.tab[u]]){f[l.tab[u]]=!0;for(var v=i[l.tab[u]],c=0;c<v.tabs.length;c++)if(null!=v.tabs[c]){var p,U=v.tabs[c];if(!U.coverage||-1!=(p=e._lctf.coverageIndex(U.coverage,t)))if(1==v.ltype);else if(2==v.ltype){var g;if(1==U.fmt){var S=U.pairsets[p];for(d=0;d<S.length;d++)S[d].gid2==a&&(g=S[d]);}else if(2==U.fmt){var m=e.U._getGlyphClass(t,U.classDef1),b=e.U._getGlyphClass(a,U.classDef2);g=U.matrix[m][b];}g&&g.val1&&g.val1[2]&&(n+=g.val1[2]),g&&g.val2&&g.val2[0]&&(n+=g.val2[0]);}}}}}if(r.kern&&!o){var y=r.kern.glyph1.indexOf(t);if(-1!=y){var F=r.kern.rval[y].glyph2.indexOf(a);-1!=F&&(n+=r.kern.rval[y].vals[F]);}}return n},e.U._applySubs=function(r,t,a,n){for(var o=r.length-t-1,s=0;s<a.tabs.length;s++)if(null!=a.tabs[s]){var i,h=a.tabs[s];if(!h.coverage||-1!=(i=e._lctf.coverageIndex(h.coverage,r[t])))if(1==a.ltype)r[t],1==h.fmt?r[t]=r[t]+h.delta:r[t]=h.newg[i];else if(4==a.ltype)for(var f=h.vals[i],d=0;d<f.length;d++){var l=f[d],u=l.chain.length;if(!(u>o)){for(var v=!0,c=0,p=0;p<u;p++){for(;-1==r[t+c+(1+p)];)c++;l.chain[p]!=r[t+c+(1+p)]&&(v=!1);}if(v){r[t]=l.nglyph;for(p=0;p<u+c;p++)r[t+p+1]=-1;break}}}else if(5==a.ltype&&2==h.fmt)for(var U=e._lctf.getInterval(h.cDef,r[t]),g=h.cDef[U+2],S=h.scset[g],m=0;m<S.length;m++){var b=S[m],y=b.input;if(!(y.length>o)){for(v=!0,p=0;p<y.length;p++){var F=e._lctf.getInterval(h.cDef,r[t+1+p]);if(-1==U&&h.cDef[F+2]!=y[p]){v=!1;break}}if(v){var _=b.substLookupRecords;for(d=0;d<_.length;d+=2)_[d],_[d+1];}}}else if(6==a.ltype&&3==h.fmt){if(!e.U._glsCovered(r,h.backCvg,t-h.backCvg.length))continue;if(!e.U._glsCovered(r,h.inptCvg,t))continue;if(!e.U._glsCovered(r,h.ahedCvg,t+h.inptCvg.length))continue;var C=h.lookupRec;for(m=0;m<C.length;m+=2){U=C[m];var x=n[C[m+1]];e.U._applySubs(r,t+U,x,n);}}}},e.U._glsCovered=function(r,t,a){for(var n=0;n<t.length;n++){if(-1==e._lctf.coverageIndex(t[n],r[a+n]))return !1}return !0},e.U.glyphsToPath=function(r,t,a){for(var n={cmds:[],crds:[]},o=0,s=0;s<t.length;s++){var i=t[s];if(-1!=i){for(var h=s<t.length-1&&-1!=t[s+1]?t[s+1]:0,f=e.U.glyphToPath(r,i),d=0;d<f.crds.length;d+=2)n.crds.push(f.crds[d]+o),n.crds.push(f.crds[d+1]);a&&n.cmds.push(a);for(d=0;d<f.cmds.length;d++)n.cmds.push(f.cmds[d]);a&&n.cmds.push(\"X\"),o+=r.hmtx.aWidth[i],s<t.length-1&&(o+=e.U.getPairAdjustment(r,i,h));}}return n},e.U.P={},e.U.P.moveTo=function(r,e,t){r.cmds.push(\"M\"),r.crds.push(e,t);},e.U.P.lineTo=function(r,e,t){r.cmds.push(\"L\"),r.crds.push(e,t);},e.U.P.curveTo=function(r,e,t,a,n,o,s){r.cmds.push(\"C\"),r.crds.push(e,t,a,n,o,s);},e.U.P.qcurveTo=function(r,e,t,a,n){r.cmds.push(\"Q\"),r.crds.push(e,t,a,n);},e.U.P.closePath=function(r){r.cmds.push(\"Z\");},e.U._drawCFF=function(r,t,a,n,o){for(var s=t.stack,i=t.nStems,h=t.haveWidth,f=t.width,d=t.open,l=0,u=t.x,v=t.y,c=0,p=0,U=0,g=0,S=0,m=0,b=0,y=0,F=0,_=0,C={val:0,size:0};l<r.length;){e.CFF.getCharString(r,l,C);var x=C.val;if(l+=C.size,\"o1\"==x||\"o18\"==x)s.length%2!=0&&!h&&(f=s.shift()+n.nominalWidthX),i+=s.length>>1,s.length=0,h=!0;else if(\"o3\"==x||\"o23\"==x){s.length%2!=0&&!h&&(f=s.shift()+n.nominalWidthX),i+=s.length>>1,s.length=0,h=!0;}else if(\"o4\"==x)s.length>1&&!h&&(f=s.shift()+n.nominalWidthX,h=!0),d&&e.U.P.closePath(o),v+=s.pop(),e.U.P.moveTo(o,u,v),d=!0;else if(\"o5\"==x)for(;s.length>0;)u+=s.shift(),v+=s.shift(),e.U.P.lineTo(o,u,v);else if(\"o6\"==x||\"o7\"==x)for(var P=s.length,I=\"o6\"==x,w=0;w<P;w++){var O=s.shift();I?u+=O:v+=O,I=!I,e.U.P.lineTo(o,u,v);}else if(\"o8\"==x||\"o24\"==x){P=s.length;for(var T=0;T+6<=P;)c=u+s.shift(),p=v+s.shift(),U=c+s.shift(),g=p+s.shift(),u=U+s.shift(),v=g+s.shift(),e.U.P.curveTo(o,c,p,U,g,u,v),T+=6;\"o24\"==x&&(u+=s.shift(),v+=s.shift(),e.U.P.lineTo(o,u,v));}else {if(\"o11\"==x)break;if(\"o1234\"==x||\"o1235\"==x||\"o1236\"==x||\"o1237\"==x)\"o1234\"==x&&(p=v,U=(c=u+s.shift())+s.shift(),_=g=p+s.shift(),m=g,y=v,u=(b=(S=(F=U+s.shift())+s.shift())+s.shift())+s.shift(),e.U.P.curveTo(o,c,p,U,g,F,_),e.U.P.curveTo(o,S,m,b,y,u,v)),\"o1235\"==x&&(c=u+s.shift(),p=v+s.shift(),U=c+s.shift(),g=p+s.shift(),F=U+s.shift(),_=g+s.shift(),S=F+s.shift(),m=_+s.shift(),b=S+s.shift(),y=m+s.shift(),u=b+s.shift(),v=y+s.shift(),s.shift(),e.U.P.curveTo(o,c,p,U,g,F,_),e.U.P.curveTo(o,S,m,b,y,u,v)),\"o1236\"==x&&(c=u+s.shift(),p=v+s.shift(),U=c+s.shift(),_=g=p+s.shift(),m=g,b=(S=(F=U+s.shift())+s.shift())+s.shift(),y=m+s.shift(),u=b+s.shift(),e.U.P.curveTo(o,c,p,U,g,F,_),e.U.P.curveTo(o,S,m,b,y,u,v)),\"o1237\"==x&&(c=u+s.shift(),p=v+s.shift(),U=c+s.shift(),g=p+s.shift(),F=U+s.shift(),_=g+s.shift(),S=F+s.shift(),m=_+s.shift(),b=S+s.shift(),y=m+s.shift(),Math.abs(b-u)>Math.abs(y-v)?u=b+s.shift():v=y+s.shift(),e.U.P.curveTo(o,c,p,U,g,F,_),e.U.P.curveTo(o,S,m,b,y,u,v));else if(\"o14\"==x){if(s.length>0&&!h&&(f=s.shift()+a.nominalWidthX,h=!0),4==s.length){var k=s.shift(),G=s.shift(),D=s.shift(),B=s.shift(),L=e.CFF.glyphBySE(a,D),R=e.CFF.glyphBySE(a,B);e.U._drawCFF(a.CharStrings[L],t,a,n,o),t.x=k,t.y=G,e.U._drawCFF(a.CharStrings[R],t,a,n,o);}d&&(e.U.P.closePath(o),d=!1);}else if(\"o19\"==x||\"o20\"==x){s.length%2!=0&&!h&&(f=s.shift()+n.nominalWidthX),i+=s.length>>1,s.length=0,h=!0,l+=i+7>>3;}else if(\"o21\"==x)s.length>2&&!h&&(f=s.shift()+n.nominalWidthX,h=!0),v+=s.pop(),u+=s.pop(),d&&e.U.P.closePath(o),e.U.P.moveTo(o,u,v),d=!0;else if(\"o22\"==x)s.length>1&&!h&&(f=s.shift()+n.nominalWidthX,h=!0),u+=s.pop(),d&&e.U.P.closePath(o),e.U.P.moveTo(o,u,v),d=!0;else if(\"o25\"==x){for(;s.length>6;)u+=s.shift(),v+=s.shift(),e.U.P.lineTo(o,u,v);c=u+s.shift(),p=v+s.shift(),U=c+s.shift(),g=p+s.shift(),u=U+s.shift(),v=g+s.shift(),e.U.P.curveTo(o,c,p,U,g,u,v);}else if(\"o26\"==x)for(s.length%2&&(u+=s.shift());s.length>0;)c=u,p=v+s.shift(),u=U=c+s.shift(),v=(g=p+s.shift())+s.shift(),e.U.P.curveTo(o,c,p,U,g,u,v);else if(\"o27\"==x)for(s.length%2&&(v+=s.shift());s.length>0;)p=v,U=(c=u+s.shift())+s.shift(),g=p+s.shift(),u=U+s.shift(),v=g,e.U.P.curveTo(o,c,p,U,g,u,v);else if(\"o10\"==x||\"o29\"==x){var A=\"o10\"==x?n:a;if(0==s.length)console.debug(\"error: empty stack\");else {var W=s.pop(),M=A.Subrs[W+A.Bias];t.x=u,t.y=v,t.nStems=i,t.haveWidth=h,t.width=f,t.open=d,e.U._drawCFF(M,t,a,n,o),u=t.x,v=t.y,i=t.nStems,h=t.haveWidth,f=t.width,d=t.open;}}else if(\"o30\"==x||\"o31\"==x){var V=s.length,N=(T=0,\"o31\"==x);for(T+=V-(P=-3&V);T<P;)N?(p=v,U=(c=u+s.shift())+s.shift(),v=(g=p+s.shift())+s.shift(),P-T==5?(u=U+s.shift(),T++):u=U,N=!1):(c=u,p=v+s.shift(),U=c+s.shift(),g=p+s.shift(),u=U+s.shift(),P-T==5?(v=g+s.shift(),T++):v=g,N=!0),e.U.P.curveTo(o,c,p,U,g,u,v),T+=4;}else {if(\"o\"==(x+\"\").charAt(0))throw console.debug(\"Unknown operation: \"+x,r),x;s.push(x);}}}t.x=u,t.y=v,t.nStems=i,t.haveWidth=h,t.width=f,t.open=d;};var t=e,a={Typr:t};return r.Typr=t,r.default=a,Object.defineProperty(r,\"__esModule\",{value:!0}),r}({}).Typr}\n\n  /*!\n  Custom bundle of woff2otf (https://github.com/arty-name/woff2otf) with fflate\n  (https://github.com/101arrowz/fflate) for use in Troika text rendering. \n  Original licenses apply: \n  - fflate: https://github.com/101arrowz/fflate/blob/master/LICENSE (MIT)\n  - woff2otf.js: https://github.com/arty-name/woff2otf/blob/master/woff2otf.js (Apache2)\n  */\n  function woff2otfFactory(){return function(r){var e=Uint8Array,n=Uint16Array,t=Uint32Array,a=new e([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),i=new e([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,0,0]),o=new e([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),f=function(r,e){for(var a=new n(31),i=0;i<31;++i)a[i]=e+=1<<r[i-1];var o=new t(a[30]);for(i=1;i<30;++i)for(var f=a[i];f<a[i+1];++f)o[f]=f-a[i]<<5|i;return [a,o]},u=f(a,2),v=u[0],s=u[1];v[28]=258,s[258]=28;for(var l=f(i,0)[0],c=new n(32768),g=0;g<32768;++g){var h=(43690&g)>>>1|(21845&g)<<1;h=(61680&(h=(52428&h)>>>2|(13107&h)<<2))>>>4|(3855&h)<<4,c[g]=((65280&h)>>>8|(255&h)<<8)>>>1;}var w=function(r,e,t){for(var a=r.length,i=0,o=new n(e);i<a;++i)++o[r[i]-1];var f,u=new n(e);for(i=0;i<e;++i)u[i]=u[i-1]+o[i-1]<<1;if(t){f=new n(1<<e);var v=15-e;for(i=0;i<a;++i)if(r[i])for(var s=i<<4|r[i],l=e-r[i],g=u[r[i]-1]++<<l,h=g|(1<<l)-1;g<=h;++g)f[c[g]>>>v]=s;}else for(f=new n(a),i=0;i<a;++i)r[i]&&(f[i]=c[u[r[i]-1]++]>>>15-r[i]);return f},d=new e(288);for(g=0;g<144;++g)d[g]=8;for(g=144;g<256;++g)d[g]=9;for(g=256;g<280;++g)d[g]=7;for(g=280;g<288;++g)d[g]=8;var m=new e(32);for(g=0;g<32;++g)m[g]=5;var b=w(d,9,1),p=w(m,5,1),y=function(r){for(var e=r[0],n=1;n<r.length;++n)r[n]>e&&(e=r[n]);return e},L=function(r,e,n){var t=e/8|0;return (r[t]|r[t+1]<<8)>>(7&e)&n},U=function(r,e){var n=e/8|0;return (r[n]|r[n+1]<<8|r[n+2]<<16)>>(7&e)},k=[\"unexpected EOF\",\"invalid block type\",\"invalid length/literal\",\"invalid distance\",\"stream finished\",\"no stream handler\",,\"no callback\",\"invalid UTF-8 data\",\"extra field too long\",\"date not in range 1980-2099\",\"filename too long\",\"stream finishing\",\"invalid zip data\"],T=function(r,e,n){var t=new Error(e||k[r]);if(t.code=r,Error.captureStackTrace&&Error.captureStackTrace(t,T),!n)throw t;return t},O=function(r,f,u){var s=r.length;if(!s||u&&!u.l&&s<5)return f||new e(0);var c=!f||u,g=!u||u.i;u||(u={}),f||(f=new e(3*s));var h,d=function(r){var n=f.length;if(r>n){var t=new e(Math.max(2*n,r));t.set(f),f=t;}},m=u.f||0,k=u.p||0,O=u.b||0,A=u.l,x=u.d,E=u.m,D=u.n,M=8*s;do{if(!A){u.f=m=L(r,k,1);var S=L(r,k+1,3);if(k+=3,!S){var V=r[(I=((h=k)/8|0)+(7&h&&1)+4)-4]|r[I-3]<<8,_=I+V;if(_>s){g&&T(0);break}c&&d(O+V),f.set(r.subarray(I,_),O),u.b=O+=V,u.p=k=8*_;continue}if(1==S)A=b,x=p,E=9,D=5;else if(2==S){var j=L(r,k,31)+257,z=L(r,k+10,15)+4,C=j+L(r,k+5,31)+1;k+=14;for(var F=new e(C),P=new e(19),q=0;q<z;++q)P[o[q]]=L(r,k+3*q,7);k+=3*z;var B=y(P),G=(1<<B)-1,H=w(P,B,1);for(q=0;q<C;){var I,J=H[L(r,k,G)];if(k+=15&J,(I=J>>>4)<16)F[q++]=I;else {var K=0,N=0;for(16==I?(N=3+L(r,k,3),k+=2,K=F[q-1]):17==I?(N=3+L(r,k,7),k+=3):18==I&&(N=11+L(r,k,127),k+=7);N--;)F[q++]=K;}}var Q=F.subarray(0,j),R=F.subarray(j);E=y(Q),D=y(R),A=w(Q,E,1),x=w(R,D,1);}else T(1);if(k>M){g&&T(0);break}}c&&d(O+131072);for(var W=(1<<E)-1,X=(1<<D)-1,Y=k;;Y=k){var Z=(K=A[U(r,k)&W])>>>4;if((k+=15&K)>M){g&&T(0);break}if(K||T(2),Z<256)f[O++]=Z;else {if(256==Z){Y=k,A=null;break}var $=Z-254;if(Z>264){var rr=a[q=Z-257];$=L(r,k,(1<<rr)-1)+v[q],k+=rr;}var er=x[U(r,k)&X],nr=er>>>4;er||T(3),k+=15&er;R=l[nr];if(nr>3){rr=i[nr];R+=U(r,k)&(1<<rr)-1,k+=rr;}if(k>M){g&&T(0);break}c&&d(O+131072);for(var tr=O+$;O<tr;O+=4)f[O]=f[O-R],f[O+1]=f[O+1-R],f[O+2]=f[O+2-R],f[O+3]=f[O+3-R];O=tr;}}u.l=A,u.p=Y,u.b=O,A&&(m=1,u.m=E,u.d=x,u.n=D);}while(!m);return O==f.length?f:function(r,a,i){(null==a||a<0)&&(a=0),(null==i||i>r.length)&&(i=r.length);var o=new(r instanceof n?n:r instanceof t?t:e)(i-a);return o.set(r.subarray(a,i)),o}(f,0,O)},A=new e(0);var x=\"undefined\"!=typeof TextDecoder&&new TextDecoder;try{x.decode(A,{stream:!0}),1;}catch(r){}return r.convert_streams=function(r){var e=new DataView(r),n=0;function t(){var r=e.getUint16(n);return n+=2,r}function a(){var r=e.getUint32(n);return n+=4,r}function i(r){m.setUint16(b,r),b+=2;}function o(r){m.setUint32(b,r),b+=4;}for(var f={signature:a(),flavor:a(),length:a(),numTables:t(),reserved:t(),totalSfntSize:a(),majorVersion:t(),minorVersion:t(),metaOffset:a(),metaLength:a(),metaOrigLength:a(),privOffset:a(),privLength:a()},u=0;Math.pow(2,u)<=f.numTables;)u++;u--;for(var v=16*Math.pow(2,u),s=16*f.numTables-v,l=12,c=[],g=0;g<f.numTables;g++)c.push({tag:a(),offset:a(),compLength:a(),origLength:a(),origChecksum:a()}),l+=16;var h,w=new Uint8Array(12+16*c.length+c.reduce((function(r,e){return r+e.origLength+4}),0)),d=w.buffer,m=new DataView(d),b=0;return o(f.flavor),i(f.numTables),i(v),i(u),i(s),c.forEach((function(r){o(r.tag),o(r.origChecksum),o(l),o(r.origLength),r.outOffset=l,(l+=r.origLength)%4!=0&&(l+=4-l%4);})),c.forEach((function(e){var n,t=r.slice(e.offset,e.offset+e.compLength);if(e.compLength!=e.origLength){var a=new Uint8Array(e.origLength);n=new Uint8Array(t,2),O(n,a);}else a=new Uint8Array(t);w.set(a,e.outOffset);var i=0;(l=e.outOffset+e.origLength)%4!=0&&(i=4-l%4),w.set(new Uint8Array(i).buffer,e.outOffset+e.origLength),h=l+i;})),d.slice(0,h)},Object.defineProperty(r,\"__esModule\",{value:!0}),r}({}).convert_streams}\n\n  /**\n   * A factory wrapper parsing a font file using Typr.\n   * Also adds support for WOFF files (not WOFF2).\n   */\n\n  function parserFactory(Typr, woff2otf) {\n    const cmdArgLengths = {\n      M: 2,\n      L: 2,\n      Q: 4,\n      C: 6,\n      Z: 0\n    };\n\n    // {joinType: \"skip+step,...\"}\n    const joiningTypeRawData = {\"C\":\"18g,ca,368,1kz\",\"D\":\"17k,6,2,2+4,5+c,2+6,2+1,10+1,9+f,j+11,2+1,a,2,2+1,15+2,3,j+2,6+3,2+8,2,2,2+1,w+a,4+e,3+3,2,3+2,3+5,23+w,2f+4,3,2+9,2,b,2+3,3,1k+9,6+1,3+1,2+2,2+d,30g,p+y,1,1+1g,f+x,2,sd2+1d,jf3+4,f+3,2+4,2+2,b+3,42,2,4+2,2+1,2,3,t+1,9f+w,2,el+2,2+g,d+2,2l,2+1,5,3+1,2+1,2,3,6,16wm+1v\",\"R\":\"17m+3,2,2,6+3,m,15+2,2+2,h+h,13,3+8,2,2,3+1,2,p+1,x,5+4,5,a,2,2,3,u,c+2,g+1,5,2+1,4+1,5j,6+1,2,b,2+2,f,2+1,1s+2,2,3+1,7,1ez0,2,2+1,4+4,b,4,3,b,42,2+2,4,3,2+1,2,o+3,ae,ep,x,2o+2,3+1,3,5+1,6\",\"L\":\"x9u,jff,a,fd,jv\",\"T\":\"4t,gj+33,7o+4,1+1,7c+18,2,2+1,2+1,2,21+a,2,1b+k,h,2u+6,3+5,3+1,2+3,y,2,v+q,2k+a,1n+8,a,p+3,2+8,2+2,2+4,18+2,3c+e,2+v,1k,2,5+7,5,4+6,b+1,u,1n,5+3,9,l+1,r,3+1,1m,5+1,5+1,3+2,4,v+1,4,c+1,1m,5+4,2+1,5,l+1,n+5,2,1n,3,2+3,9,8+1,c+1,v,1q,d,1f,4,1m+2,6+2,2+3,8+1,c+1,u,1n,3,7,6+1,l+1,t+1,1m+1,5+3,9,l+1,u,21,8+2,2,2j,3+6,d+7,2r,3+8,c+5,23+1,s,2,2,1k+d,2+4,2+1,6+a,2+z,a,2v+3,2+5,2+1,3+1,q+1,5+2,h+3,e,3+1,7,g,jk+2,qb+2,u+2,u+1,v+1,1t+1,2+6,9,3+a,a,1a+2,3c+1,z,3b+2,5+1,a,7+2,64+1,3,1n,2+6,2,2,3+7,7+9,3,1d+d,1,1+1,1s+3,1d,2+4,2,6,15+8,d+1,x+3,3+1,2+2,1l,2+1,4,2+2,1n+7,3+1,49+2,2+c,2+6,5,7,4+1,5j+1l,2+4,ek,3+1,r+4,1e+4,6+5,2p+c,1+3,1,1+2,1+b,2db+2,3y,2p+v,ff+3,30+1,n9x,1+2,2+9,x+1,29+1,7l,4,5,q+1,6,48+1,r+h,e,13+7,q+a,1b+2,1d,3+3,3+1,14,1w+5,3+1,3+1,d,9,1c,1g,2+2,3+1,6+1,2,17+1,9,6n,3,5,fn5,ki+f,h+f,5s,6y+2,ea,6b,46+4,1af+2,2+1,6+3,15+2,5,4m+1,fy+3,as+1,4a+a,4x,1j+e,1l+2,1e+3,3+1,1y+2,11+4,2+7,1r,d+1,1h+8,b+3,3,2o+2,3,2+1,7,4h,4+7,m+1,1m+1,4,12+6,4+4,5g+7,3+2,2,o,2d+5,2,5+1,2+1,6n+3,7+1,2+1,s+1,2e+7,3,2+1,2z,2,3+5,2,2u+2,3+3,2+4,78+8,2+1,75+1,2,5,41+3,3+1,5,x+9,15+5,3+3,9,a+5,3+2,1b+c,2+1,bb+6,2+5,2,2b+l,3+6,2+1,2+1,3f+5,4,2+1,2+6,2,21+1,4,2,9o+1,470+8,at4+4,1o+6,t5,1s+3,2a,f5l+1,2+3,43o+2,a+7,1+7,3+6,v+3,45+2,1j0+1i,5+1d,9,f,n+4,2+e,11t+6,2+g,3+6,2+1,2+4,7a+6,c6+3,15t+6,32+6,1,gzau,v+2n,3l+6n\"};\n\n    const JT_LEFT = 1, //indicates that a character joins with the subsequent character, but does not join with the preceding character.\n      JT_RIGHT = 2, //indicates that a character joins with the preceding character, but does not join with the subsequent character.\n      JT_DUAL = 4, //indicates that a character joins with the preceding character and joins with the subsequent character.\n      JT_TRANSPARENT = 8, //indicates that the character does not join with adjacent characters and that the character must be skipped over when the shaping engine is evaluating the joining positions in a sequence of characters. When a JT_TRANSPARENT character is encountered in a sequence, the JOINING_TYPE of the preceding character passes through. Diacritical marks are frequently assigned this value.\n      JT_JOIN_CAUSING = 16, //indicates that the character forces the use of joining forms with the preceding and subsequent characters. Kashidas and the Zero Width Joiner (U+200D) are both JOIN_CAUSING characters.\n      JT_NON_JOINING = 32; //indicates that a character does not join with the preceding or with the subsequent character.,\n\n    let joiningTypeMap;\n    function getCharJoiningType(ch) {\n      if (!joiningTypeMap) {\n        const m = {\n          R: JT_RIGHT,\n          L: JT_LEFT,\n          D: JT_DUAL,\n          C: JT_JOIN_CAUSING,\n          U: JT_NON_JOINING,\n          T: JT_TRANSPARENT\n        };\n        joiningTypeMap = new Map();\n        for (let type in joiningTypeRawData) {\n          let lastCode = 0;\n          joiningTypeRawData[type].split(',').forEach(range => {\n            let [skip, step] = range.split('+');\n            skip = parseInt(skip,36);\n            step = step ? parseInt(step, 36) : 0;\n            joiningTypeMap.set(lastCode += skip, m[type]);\n            for (let i = step; i--;) {\n              joiningTypeMap.set(++lastCode, m[type]);\n            }\n          });\n        }\n      }\n      return joiningTypeMap.get(ch) || JT_NON_JOINING\n    }\n\n    const ISOL = 1, INIT = 2, FINA = 3, MEDI = 4;\n    const formsToFeatures = [null, 'isol', 'init', 'fina', 'medi'];\n\n    function detectJoiningForms(str) {\n      // This implements the algorithm described here:\n      // https://github.com/n8willis/opentype-shaping-documents/blob/master/opentype-shaping-arabic-general.md\n      const joiningForms = new Uint8Array(str.length);\n      let prevJoiningType = JT_NON_JOINING;\n      let prevForm = ISOL;\n      let prevIndex = -1;\n      for (let i = 0; i < str.length; i++) {\n        const code = str.codePointAt(i);\n        let joiningType = getCharJoiningType(code) | 0;\n        let form = ISOL;\n        if (joiningType & JT_TRANSPARENT) {\n          continue\n        }\n        if (prevJoiningType & (JT_LEFT | JT_DUAL | JT_JOIN_CAUSING)) {\n          if (joiningType & (JT_RIGHT | JT_DUAL | JT_JOIN_CAUSING)) {\n            form = FINA;\n            // isol->init, fina->medi\n            if (prevForm === ISOL || prevForm === FINA) {\n              joiningForms[prevIndex]++;\n            }\n          }\n          else if (joiningType & (JT_LEFT | JT_NON_JOINING)) {\n            // medi->fina, init->isol\n            if (prevForm === INIT || prevForm === MEDI) {\n              joiningForms[prevIndex]--;\n            }\n          }\n        }\n        else if (prevJoiningType & (JT_RIGHT | JT_NON_JOINING)) {\n          // medi->fina, init->isol\n          if (prevForm === INIT || prevForm === MEDI) {\n            joiningForms[prevIndex]--;\n          }\n        }\n        prevForm = joiningForms[i] = form;\n        prevJoiningType = joiningType;\n        prevIndex = i;\n        if (code > 0xffff) i++;\n      }\n      // console.log(str.split('').map(ch => ch.codePointAt(0).toString(16)))\n      // console.log(str.split('').map(ch => getCharJoiningType(ch.codePointAt(0))))\n      // console.log(Array.from(joiningForms).map(f => formsToFeatures[f] || 'none'))\n      return joiningForms\n    }\n\n    function stringToGlyphs (font, str) {\n      const glyphIds = [];\n      for (let i = 0; i < str.length; i++) {\n        const cc = str.codePointAt(i);\n        if (cc > 0xffff) i++;\n        glyphIds.push(Typr.U.codeToGlyph(font, cc));\n      }\n\n      const gsub = font['GSUB'];\n      if (gsub) {\n        const {lookupList, featureList} = gsub;\n        let joiningForms;\n        const supportedFeatures = /^(rlig|liga|mset|isol|init|fina|medi|half|pres|blws)$/;\n        const usedLookups = [];\n        featureList.forEach(feature => {\n          if (supportedFeatures.test(feature.tag)) {\n            for (let ti = 0; ti < feature.tab.length; ti++) {\n              if (usedLookups[feature.tab[ti]]) continue\n              usedLookups[feature.tab[ti]] = true;\n              const tab = lookupList[feature.tab[ti]];\n              const isJoiningFeature = /^(isol|init|fina|medi)$/.test(feature.tag);\n              if (isJoiningFeature && !joiningForms) { //lazy\n                joiningForms = detectJoiningForms(str);\n              }\n              for (let ci = 0; ci < glyphIds.length; ci++) {\n                if (!joiningForms || !isJoiningFeature || formsToFeatures[joiningForms[ci]] === feature.tag) {\n                  Typr.U._applySubs(glyphIds, ci, tab, lookupList);\n                }\n              }\n            }\n          }\n        });\n      }\n\n      return glyphIds\n    }\n\n\n    function wrapFontObj(typrFont) {\n      const glyphMap = Object.create(null);\n\n      const fontObj = {\n        unitsPerEm: typrFont.head.unitsPerEm,\n        ascender: typrFont.hhea.ascender,\n        descender: typrFont.hhea.descender,\n        forEachGlyph(text, fontSize, letterSpacing, callback) {\n          let glyphX = 0;\n          const fontScale = 1 / fontObj.unitsPerEm * fontSize;\n\n          const glyphIndices = stringToGlyphs(typrFont, text);\n          let charIndex = 0;\n          let prevGlyphIndex = -1;\n          glyphIndices.forEach((glyphIndex, i) => {\n            // Typr returns a glyph index per string codepoint, with -1s in place of those that\n            // were omitted due to ligature substitution. So we can track original index in the\n            // string via simple increment, and skip everything else when seeing a -1.\n            if (glyphIndex !== -1) {\n              let glyphObj = glyphMap[glyphIndex];\n              if (!glyphObj) {\n                const {cmds, crds} = Typr.U.glyphToPath(typrFont, glyphIndex);\n\n                // Build path string\n                let path = '';\n                let crdsIdx = 0;\n                for (let i = 0, len = cmds.length; i < len; i++) {\n                  const numArgs = cmdArgLengths[cmds[i]];\n                  path += cmds[i];\n                  for (let j = 1; j <= numArgs; j++) {\n                    path += (j > 1 ? ',' : '') + crds[crdsIdx++];\n                  }\n                }\n\n                // Find extents - Glyf gives this in metadata but not CFF, and Typr doesn't\n                // normalize the two, so it's simplest just to iterate ourselves.\n                let xMin, yMin, xMax, yMax;\n                if (crds.length) {\n                  xMin = yMin = Infinity;\n                  xMax = yMax = -Infinity;\n                  for (let i = 0, len = crds.length; i < len; i += 2) {\n                    let x = crds[i];\n                    let y = crds[i + 1];\n                    if (x < xMin) xMin = x;\n                    if (y < yMin) yMin = y;\n                    if (x > xMax) xMax = x;\n                    if (y > yMax) yMax = y;\n                  }\n                } else {\n                  xMin = xMax = yMin = yMax = 0;\n                }\n\n                glyphObj = glyphMap[glyphIndex] = {\n                  index: glyphIndex,\n                  advanceWidth: typrFont.hmtx.aWidth[glyphIndex],\n                  xMin,\n                  yMin,\n                  xMax,\n                  yMax,\n                  path,\n                  pathCommandCount: cmds.length,\n                  // forEachPathCommand(callback) {\n                  //   let argsIndex = 0\n                  //   const argsArray = []\n                  //   for (let i = 0, len = cmds.length; i < len; i++) {\n                  //     const numArgs = cmdArgLengths[cmds[i]]\n                  //     argsArray.length = 1 + numArgs\n                  //     argsArray[0] = cmds[i]\n                  //     for (let j = 1; j <= numArgs; j++) {\n                  //       argsArray[j] = crds[argsIndex++]\n                  //     }\n                  //     callback.apply(null, argsArray)\n                  //   }\n                  // }\n                };\n              }\n\n              // Kerning\n              if (prevGlyphIndex !== -1) {\n                glyphX += Typr.U.getPairAdjustment(typrFont, prevGlyphIndex, glyphIndex) * fontScale;\n              }\n\n              callback.call(null, glyphObj, glyphX, charIndex);\n\n              if (glyphObj.advanceWidth) {\n                glyphX += glyphObj.advanceWidth * fontScale;\n              }\n              if (letterSpacing) {\n                glyphX += letterSpacing * fontSize;\n              }\n\n              prevGlyphIndex = glyphIndex;\n            }\n            charIndex += (text.codePointAt(charIndex) > 0xffff ? 2 : 1);\n          });\n          return glyphX\n        }\n      };\n\n      return fontObj\n    }\n\n    return function parse(buffer) {\n      // Look to see if we have a WOFF file and convert it if so:\n      const peek = new Uint8Array(buffer, 0, 4);\n      const tag = Typr._bin.readASCII(peek, 0, 4);\n      if (tag === 'wOFF') {\n        buffer = woff2otf(buffer);\n      } else if (tag === 'wOF2') {\n        throw new Error('woff2 fonts not supported')\n      }\n      return wrapFontObj(Typr.parse(buffer)[0])\n    }\n  }\n\n\n  const workerModule = /*#__PURE__*/troikaWorkerUtils.defineWorkerModule({\n    name: 'Typr Font Parser',\n    dependencies: [typrFactory, woff2otfFactory, parserFactory],\n    init(typrFactory, woff2otfFactory, parserFactory) {\n      const Typr = typrFactory();\n      const woff2otf = woff2otfFactory();\n      return parserFactory(Typr, woff2otf)\n    }\n  });\n\n  const CONFIG = {\n    defaultFontURL: 'https://fonts.gstatic.com/s/roboto/v18/KFOmCnqEu92Fr1Mu4mxM.woff', //Roboto Regular\n    sdfGlyphSize: 64,\n    sdfMargin: 1 / 16,\n    sdfExponent: 9,\n    textureWidth: 2048\n  };\n  const tempColor = /*#__PURE__*/new three.Color();\n  let hasRequested = false;\n\n  function now$1() {\n    return (self.performance || Date).now()\n  }\n\n  /**\n   * Customizes the text builder configuration. This must be called prior to the first font processing\n   * request, and applies to all fonts.\n   *\n   * @param {String} config.defaultFontURL - The URL of the default font to use for text processing\n   *                 requests, in case none is specified or the specifiede font fails to load or parse.\n   *                 Defaults to \"Roboto Regular\" from Google Fonts.\n   * @param {Number} config.sdfGlyphSize - The default size of each glyph's SDF (signed distance field)\n   *                 texture used for rendering. Must be a power-of-two number, and applies to all fonts,\n   *                 but note that this can also be overridden per call to `getTextRenderInfo()`.\n   *                 Larger sizes can improve the quality of glyph rendering by increasing the sharpness\n   *                 of corners and preventing loss of very thin lines, at the expense of memory. Defaults\n   *                 to 64 which is generally a good balance of size and quality.\n   * @param {Number} config.sdfExponent - The exponent used when encoding the SDF values. A higher exponent\n   *                 shifts the encoded 8-bit values to achieve higher precision/accuracy at texels nearer\n   *                 the glyph's path, with lower precision further away. Defaults to 9.\n   * @param {Number} config.sdfMargin - How much space to reserve in the SDF as margin outside the glyph's\n   *                 path, as a percentage of the SDF width. A larger margin increases the quality of\n   *                 extruded glyph outlines, but decreases the precision available for the glyph itself.\n   *                 Defaults to 1/16th of the glyph size.\n   * @param {Number} config.textureWidth - The width of the SDF texture; must be a power of 2. Defaults to\n   *                 2048 which is a safe maximum texture dimension according to the stats at\n   *                 https://webglstats.com/webgl/parameter/MAX_TEXTURE_SIZE and should allow for a\n   *                 reasonably large number of glyphs (default glyph size of 64^2 and safe texture size of\n   *                 2048^2, times 4 channels, allows for 4096 glyphs.) This can be increased if you need to\n   *                 increase the glyph size and/or have an extraordinary number of glyphs.\n   */\n  function configureTextBuilder(config) {\n    if (hasRequested) {\n      console.warn('configureTextBuilder called after first font request; will be ignored.');\n    } else {\n      assign(CONFIG, config);\n    }\n  }\n\n  /**\n   * Repository for all font SDF atlas textures and their glyph mappings. There is a separate atlas for\n   * each sdfGlyphSize. Each atlas has a single Texture that holds all glyphs for all fonts.\n   *\n   *   {\n   *     [sdfGlyphSize]: {\n   *       glyphCount: number,\n   *       sdfGlyphSize: number,\n   *       sdfTexture: Texture,\n   *       sdfCanvas: HTMLCanvasElement,\n   *       contextLost: boolean,\n   *       glyphsByFont: Map<fontURL, Map<glyphID, {path, atlasIndex, sdfViewBox}>>\n   *     }\n   *   }\n   */\n  const atlases = Object.create(null);\n\n  /**\n   * @typedef {object} TroikaTextRenderInfo - Format of the result from `getTextRenderInfo`.\n   * @property {object} parameters - The normalized input arguments to the render call.\n   * @property {Texture} sdfTexture - The SDF atlas texture.\n   * @property {number} sdfGlyphSize - The size of each glyph's SDF; see `configureTextBuilder`.\n   * @property {number} sdfExponent - The exponent used in encoding the SDF's values; see `configureTextBuilder`.\n   * @property {Float32Array} glyphBounds - List of [minX, minY, maxX, maxY] quad bounds for each glyph.\n   * @property {Float32Array} glyphAtlasIndices - List holding each glyph's index in the SDF atlas.\n   * @property {Uint8Array} [glyphColors] - List holding each glyph's [r, g, b] color, if `colorRanges` was supplied.\n   * @property {Float32Array} [caretPositions] - A list of caret positions for all characters in the string; each is\n   *           three elements: the starting X, the ending X, and the bottom Y for the caret.\n   * @property {number} [caretHeight] - An appropriate height for all selection carets.\n   * @property {number} ascender - The font's ascender metric.\n   * @property {number} descender - The font's descender metric.\n   * @property {number} lineHeight - The final computed lineHeight measurement.\n   * @property {number} topBaseline - The y position of the top line's baseline.\n   * @property {Array<number>} blockBounds - The total [minX, minY, maxX, maxY] rect of the whole text block;\n   *           this can include extra vertical space beyond the visible glyphs due to lineHeight, and is\n   *           equivalent to the dimensions of a block-level text element in CSS.\n   * @property {Array<number>} visibleBounds - The total [minX, minY, maxX, maxY] rect of the whole text block;\n   *           unlike `blockBounds` this is tightly wrapped to the visible glyph paths.\n   * @property {Array<number>} totalBounds - DEPRECATED; use blockBounds instead.\n   * @property {Array<number>} totalBlockSize - DEPRECATED; use blockBounds instead\n   * @property {Array<object>} chunkedBounds - List of bounding rects for each consecutive set of N glyphs,\n   *           in the format `{start:N, end:N, rect:[minX, minY, maxX, maxY]}`.\n   * @property {object} timings - Timing info for various parts of the rendering logic including SDF\n   *           generation, typesetting, etc.\n   * @frozen\n   */\n\n  /**\n   * @callback getTextRenderInfo~callback\n   * @param {TroikaTextRenderInfo} textRenderInfo\n   */\n\n  /**\n   * Main entry point for requesting the data needed to render a text string with given font parameters.\n   * This is an asynchronous call, performing most of the logic in a web worker thread.\n   * @param {object} args\n   * @param {getTextRenderInfo~callback} callback\n   */\n  function getTextRenderInfo(args, callback) {\n    hasRequested = true;\n    args = assign({}, args);\n    const totalStart = now$1();\n\n    // Apply default font here to avoid a 'null' atlas, and convert relative\n    // URLs to absolute so they can be resolved in the worker\n    args.font = toAbsoluteURL(args.font || CONFIG.defaultFontURL);\n\n    // Normalize text to a string\n    args.text = '' + args.text;\n\n    args.sdfGlyphSize = args.sdfGlyphSize || CONFIG.sdfGlyphSize;\n\n    // Normalize colors\n    if (args.colorRanges != null) {\n      let colors = {};\n      for (let key in args.colorRanges) {\n        if (args.colorRanges.hasOwnProperty(key)) {\n          let val = args.colorRanges[key];\n          if (typeof val !== 'number') {\n            val = tempColor.set(val).getHex();\n          }\n          colors[key] = val;\n        }\n      }\n      args.colorRanges = colors;\n    }\n\n    Object.freeze(args);\n\n    // Init the atlas if needed\n    const {textureWidth, sdfExponent} = CONFIG;\n    const {sdfGlyphSize} = args;\n    const glyphsPerRow = (textureWidth / sdfGlyphSize * 4);\n    let atlas = atlases[sdfGlyphSize];\n    if (!atlas) {\n      const canvas = document.createElement('canvas');\n      canvas.width = textureWidth;\n      canvas.height = sdfGlyphSize * 256 / glyphsPerRow; // start tall enough to fit 256 glyphs\n      atlas = atlases[sdfGlyphSize] = {\n        glyphCount: 0,\n        sdfGlyphSize,\n        sdfCanvas: canvas,\n        sdfTexture: new three.Texture(\n          canvas,\n          undefined,\n          undefined,\n          undefined,\n          three.LinearFilter,\n          three.LinearFilter\n        ),\n        contextLost: false,\n        glyphsByFont: new Map()\n      };\n      atlas.sdfTexture.generateMipmaps = false;\n      initContextLossHandling(atlas);\n    }\n\n    const {sdfTexture, sdfCanvas} = atlas;\n    let fontGlyphs = atlas.glyphsByFont.get(args.font);\n    if (!fontGlyphs) {\n      atlas.glyphsByFont.set(args.font, fontGlyphs = new Map());\n    }\n\n    // Issue request to the typesetting engine in the worker\n    typesetInWorker(args).then(result => {\n      const {glyphIds, glyphPositions, fontSize, unitsPerEm, timings} = result;\n      const neededSDFs = [];\n      const glyphBounds = new Float32Array(glyphIds.length * 4);\n      const fontSizeMult = fontSize / unitsPerEm;\n      let boundsIdx = 0;\n      let positionsIdx = 0;\n      const quadsStart = now$1();\n      glyphIds.forEach((glyphId, i) => {\n        let glyphInfo = fontGlyphs.get(glyphId);\n\n        // If this is a glyphId not seen before, add it to the atlas\n        if (!glyphInfo) {\n          const {path, pathBounds} = result.glyphData[glyphId];\n\n          // Margin around path edges in SDF, based on a percentage of the glyph's max dimension.\n          // Note we add an extra 0.5 px over the configured value because the outer 0.5 doesn't contain\n          // useful interpolated values and will be ignored anyway.\n          const fontUnitsMargin = Math.max(pathBounds[2] - pathBounds[0], pathBounds[3] - pathBounds[1])\n            / sdfGlyphSize * (CONFIG.sdfMargin * sdfGlyphSize + 0.5);\n\n          const atlasIndex = atlas.glyphCount++;\n          const sdfViewBox = [\n            pathBounds[0] - fontUnitsMargin,\n            pathBounds[1] - fontUnitsMargin,\n            pathBounds[2] + fontUnitsMargin,\n            pathBounds[3] + fontUnitsMargin,\n          ];\n          fontGlyphs.set(glyphId, (glyphInfo = { path, atlasIndex, sdfViewBox }));\n\n          // Collect those that need SDF generation\n          neededSDFs.push(glyphInfo);\n        }\n\n        // Calculate bounds for renderable quads\n        // TODO can we get this back off the main thread?\n        const {sdfViewBox} = glyphInfo;\n        const posX = glyphPositions[positionsIdx++];\n        const posY = glyphPositions[positionsIdx++];\n        glyphBounds[boundsIdx++] = posX + sdfViewBox[0] * fontSizeMult;\n        glyphBounds[boundsIdx++] = posY + sdfViewBox[1] * fontSizeMult;\n        glyphBounds[boundsIdx++] = posX + sdfViewBox[2] * fontSizeMult;\n        glyphBounds[boundsIdx++] = posY + sdfViewBox[3] * fontSizeMult;\n\n        // Convert glyphId to SDF index for the shader\n        glyphIds[i] = glyphInfo.atlasIndex;\n      });\n      timings.quads = (timings.quads || 0) + (now$1() - quadsStart);\n\n      const sdfStart = now$1();\n      timings.sdf = {};\n\n      // Grow the texture height by power of 2 if needed\n      const currentHeight = sdfCanvas.height;\n      const neededRows = Math.ceil(atlas.glyphCount / glyphsPerRow);\n      const neededHeight = Math.pow(2, Math.ceil(Math.log2(neededRows * sdfGlyphSize)));\n      if (neededHeight > currentHeight) {\n        // Since resizing the canvas clears its render buffer, it needs special handling to copy the old contents over\n        console.info(`Increasing SDF texture size ${currentHeight}->${neededHeight}`);\n        resizeWebGLCanvasWithoutClearing(sdfCanvas, textureWidth, neededHeight);\n        // As of Three r136 textures cannot be resized once they're allocated on the GPU, we must dispose to reallocate it\n        sdfTexture.dispose();\n      }\n\n      troikaWorkerUtils.Thenable.all(neededSDFs.map(glyphInfo =>\n        generateGlyphSDF(glyphInfo, atlas, args.gpuAccelerateSDF).then(({timing}) => {\n          timings.sdf[glyphInfo.atlasIndex] = timing;\n        })\n      )).then(() => {\n        if (neededSDFs.length && !atlas.contextLost) {\n          safariPre15Workaround(atlas);\n          sdfTexture.needsUpdate = true;\n        }\n        timings.sdfTotal = now$1() - sdfStart;\n        timings.total = now$1() - totalStart;\n        // console.log(`SDF - ${timings.sdfTotal}, Total - ${timings.total - timings.fontLoad}`)\n\n        // Invoke callback with the text layout arrays and updated texture\n        callback(Object.freeze({\n          parameters: args,\n          sdfTexture,\n          sdfGlyphSize,\n          sdfExponent,\n          glyphBounds,\n          glyphAtlasIndices: glyphIds,\n          glyphColors: result.glyphColors,\n          caretPositions: result.caretPositions,\n          caretHeight: result.caretHeight,\n          chunkedBounds: result.chunkedBounds,\n          ascender: result.ascender,\n          descender: result.descender,\n          lineHeight: result.lineHeight,\n          topBaseline: result.topBaseline,\n          blockBounds: result.blockBounds,\n          visibleBounds: result.visibleBounds,\n          timings: result.timings,\n          get totalBounds() {\n            console.log('totalBounds deprecated, use blockBounds instead');\n            return result.blockBounds\n          },\n          get totalBlockSize() {\n            console.log('totalBlockSize deprecated, use blockBounds instead');\n            const [x0, y0, x1, y1] = result.blockBounds;\n            return [x1 - x0, y1 - y0]\n          }\n        }));\n      });\n    });\n\n    // While the typesetting request is being handled, go ahead and make sure the atlas canvas context is\n    // \"warmed up\"; the first request will be the longest due to shader program compilation so this gets\n    // a head start on that process before SDFs actually start getting processed.\n    troikaWorkerUtils.Thenable.all([]).then(() => {\n      if (!atlas.contextLost) {\n        warmUpSDFCanvas(sdfCanvas);\n      }\n    });\n  }\n\n  function generateGlyphSDF({path, atlasIndex, sdfViewBox}, {sdfGlyphSize, sdfCanvas, contextLost}, useGPU) {\n    if (contextLost) {\n      // If the context is lost there's nothing we can do, just quit silently and let it\n      // get regenerated when the context is restored\n      return Promise.resolve({timing: -1})\n    }\n    const {textureWidth, sdfExponent} = CONFIG;\n    const maxDist = Math.max(sdfViewBox[2] - sdfViewBox[0], sdfViewBox[3] - sdfViewBox[1]);\n    const squareIndex = Math.floor(atlasIndex / 4);\n    const x = squareIndex % (textureWidth / sdfGlyphSize) * sdfGlyphSize;\n    const y = Math.floor(squareIndex / (textureWidth / sdfGlyphSize)) * sdfGlyphSize;\n    const channel = atlasIndex % 4;\n    return generateSDF(sdfGlyphSize, sdfGlyphSize, path, sdfViewBox, maxDist, sdfExponent, sdfCanvas, x, y, channel, useGPU)\n  }\n\n  function initContextLossHandling(atlas) {\n    const canvas = atlas.sdfCanvas;\n\n    /*\n    // Begin context loss simulation\n    if (!window.WebGLDebugUtils) {\n      let script = document.getElementById('WebGLDebugUtilsScript')\n      if (!script) {\n        script = document.createElement('script')\n        script.id = 'WebGLDebugUtils'\n        document.head.appendChild(script)\n        script.src = 'https://cdn.jsdelivr.net/gh/KhronosGroup/WebGLDeveloperTools@b42e702/src/debug/webgl-debug.js'\n      }\n      script.addEventListener('load', () => {\n        initContextLossHandling(atlas)\n      })\n      return\n    }\n    window.WebGLDebugUtils.makeLostContextSimulatingCanvas(canvas)\n    canvas.loseContextInNCalls(500)\n    canvas.addEventListener('webglcontextrestored', (event) => {\n      canvas.loseContextInNCalls(5000)\n    })\n    // End context loss simulation\n    */\n\n    canvas.addEventListener('webglcontextlost', (event) => {\n      console.log('Context Lost', event);\n      event.preventDefault();\n      atlas.contextLost = true;\n    });\n    canvas.addEventListener('webglcontextrestored', (event) => {\n      console.log('Context Restored', event);\n      atlas.contextLost = false;\n      // Regenerate all glyphs into the restored canvas:\n      const promises = [];\n      atlas.glyphsByFont.forEach(glyphMap => {\n        glyphMap.forEach(glyph => {\n          promises.push(generateGlyphSDF(glyph, atlas, true));\n        });\n      });\n      troikaWorkerUtils.Thenable.all(promises).then(() => {\n        safariPre15Workaround(atlas);\n        atlas.sdfTexture.needsUpdate = true;\n      });\n    });\n  }\n\n  /**\n   * Preload a given font and optionally pre-generate glyph SDFs for one or more character sequences.\n   * This can be useful to avoid long pauses when first showing text in a scene, by preloading the\n   * needed fonts and glyphs up front along with other assets.\n   *\n   * @param {object} options\n   * @param {string} options.font - URL of the font file to preload. If not given, the default font will\n   *        be loaded.\n   * @param {string|string[]} options.characters - One or more character sequences for which to pre-\n   *        generate glyph SDFs. Note that this will honor ligature substitution, so you may need\n   *        to specify ligature sequences in addition to their individual characters to get all\n   *        possible glyphs, e.g. `[\"t\", \"h\", \"th\"]` to get the \"t\" and \"h\" glyphs plus the \"th\" ligature.\n   * @param {number} options.sdfGlyphSize - The size at which to prerender the SDF textures for the\n   *        specified `characters`.\n   * @param {function} callback - A function that will be called when the preloading is complete.\n   */\n  function preloadFont({font, characters, sdfGlyphSize}, callback) {\n    let text = Array.isArray(characters) ? characters.join('\\n') : '' + characters;\n    getTextRenderInfo({ font, sdfGlyphSize, text }, callback);\n  }\n\n\n  // Local assign impl so we don't have to import troika-core\n  function assign(toObj, fromObj) {\n    for (let key in fromObj) {\n      if (fromObj.hasOwnProperty(key)) {\n        toObj[key] = fromObj[key];\n      }\n    }\n    return toObj\n  }\n\n  // Utility for making URLs absolute\n  let linkEl;\n  function toAbsoluteURL(path) {\n    if (!linkEl) {\n      linkEl = typeof document === 'undefined' ? {} : document.createElement('a');\n    }\n    linkEl.href = path;\n    return linkEl.href\n  }\n\n  /**\n   * Safari < v15 seems unable to use the SDF webgl canvas as a texture. This applies a workaround\n   * where it reads the pixels out of that canvas and uploads them as a data texture instead, at\n   * a slight performance cost.\n   */\n  function safariPre15Workaround(atlas) {\n    // Use createImageBitmap support as a proxy for Safari<15, all other mainstream browsers\n    // have supported it for a long while so any false positives should be minimal.\n    if (typeof createImageBitmap !== 'function') {\n      console.info('Safari<15: applying SDF canvas workaround');\n      const {sdfCanvas, sdfTexture} = atlas;\n      const {width, height} = sdfCanvas;\n      const gl = atlas.sdfCanvas.getContext('webgl');\n      let pixels = sdfTexture.image.data;\n      if (!pixels || pixels.length !== width * height * 4) {\n        pixels = new Uint8Array(width * height * 4);\n        sdfTexture.image = {width, height, data: pixels};\n        sdfTexture.flipY = false;\n        sdfTexture.isDataTexture = true;\n      }\n      gl.readPixels(0, 0, width, height, gl.RGBA, gl.UNSIGNED_BYTE, pixels);\n    }\n  }\n\n\n  const typesetterWorkerModule = /*#__PURE__*/troikaWorkerUtils.defineWorkerModule({\n    name: 'Typesetter',\n    dependencies: [\n      CONFIG,\n      workerModule,\n      createTypesetter,\n      bidiFactory__default['default']\n    ],\n    init(config, fontParser, createTypesetter, bidiFactory) {\n      const {defaultFontURL} = config;\n      return createTypesetter(fontParser, bidiFactory(), { defaultFontURL })\n    }\n  });\n\n  const typesetInWorker = /*#__PURE__*/troikaWorkerUtils.defineWorkerModule({\n    name: 'Typesetter',\n    dependencies: [\n      typesetterWorkerModule,\n      troikaWorkerUtils.ThenableWorkerModule\n    ],\n    init(typesetter, Thenable) {\n      return function(args) {\n        const thenable = new Thenable();\n        typesetter.typeset(args, thenable.resolve);\n        return thenable\n      }\n    },\n    getTransferables(result) {\n      // Mark array buffers as transferable to avoid cloning during postMessage\n      const transferables = [\n        result.glyphPositions.buffer,\n        result.glyphIds.buffer\n      ];\n      if (result.caretPositions) {\n        transferables.push(result.caretPositions.buffer);\n      }\n      if (result.glyphColors) {\n        transferables.push(result.glyphColors.buffer);\n      }\n      return transferables\n    }\n  });\n\n  function dumpSDFTextures() {\n    Object.keys(atlases).forEach(size => {\n      const canvas = atlases[size].sdfCanvas;\n      const {width, height} = canvas;\n      console.log(\"%c.\", `\n      background: url(${canvas.toDataURL()});\n      background-size: ${width}px ${height}px;\n      color: transparent;\n      font-size: 0;\n      line-height: ${height}px;\n      padding-left: ${width}px;\n    `);\n    });\n  }\n\n  const GlyphsGeometry = /*#__PURE__*/(() => {\n\n    const templateGeometries = {};\n    function getTemplateGeometry(detail) {\n      let geom = templateGeometries[detail];\n      if (!geom) {\n        // Geometry is two planes back-to-back, which will always be rendered FrontSide only but\n        // appear as DoubleSide by default. FrontSide/BackSide are emulated using drawRange.\n        // We do it this way to avoid the performance hit of two draw calls for DoubleSide materials\n        // introduced by Three.js in r130 - see https://github.com/mrdoob/three.js/pull/21967\n        const front = new three.PlaneBufferGeometry(1, 1, detail, detail);\n        const back = front.clone();\n        const frontAttrs = front.attributes;\n        const backAttrs = back.attributes;\n        const combined = new three.BufferGeometry();\n        const vertCount = frontAttrs.uv.count;\n        for (let i = 0; i < vertCount; i++) {\n          backAttrs.position.array[i * 3] *= -1; // flip position x\n          backAttrs.normal.array[i * 3 + 2] *= -1; // flip normal z\n        }\n  ['position', 'normal', 'uv'].forEach(name => {\n          combined.setAttribute(name, new three.Float32BufferAttribute(\n            [...frontAttrs[name].array, ...backAttrs[name].array],\n            frontAttrs[name].itemSize)\n          );\n        });\n        combined.setIndex([...front.index.array, ...back.index.array.map(n => n + vertCount)]);\n        combined.translate(0.5, 0.5, 0);\n        geom = templateGeometries[detail] = combined;\n      }\n      return geom\n    }\n\n    const glyphBoundsAttrName = 'aTroikaGlyphBounds';\n    const glyphIndexAttrName = 'aTroikaGlyphIndex';\n    const glyphColorAttrName = 'aTroikaGlyphColor';\n\n    /**\n    @class GlyphsGeometry\n\n    A specialized Geometry for rendering a set of text glyphs. Uses InstancedBufferGeometry to\n    render the glyphs using GPU instancing of a single quad, rather than constructing a whole\n    geometry with vertices, for much smaller attribute arraybuffers according to this math:\n\n      Where N = number of glyphs...\n\n      Instanced:\n      - position: 4 * 3\n      - index: 2 * 3\n      - normal: 4 * 3\n      - uv: 4 * 2\n      - glyph x/y bounds: N * 4\n      - glyph indices: N * 1\n      = 5N + 38\n\n      Non-instanced:\n      - position: N * 4 * 3\n      - index: N * 2 * 3\n      - normal: N * 4 * 3\n      - uv: N * 4 * 2\n      - glyph indices: N * 1\n      = 39N\n\n    A downside of this is the rare-but-possible lack of the instanced arrays extension,\n    which we could potentially work around with a fallback non-instanced implementation.\n\n    */\n    class GlyphsGeometry extends three.InstancedBufferGeometry {\n      constructor() {\n        super();\n\n        this.detail = 1;\n        this.curveRadius = 0;\n\n        // Define groups for rendering text outline as a separate pass; these will only\n        // be used when the `material` getter returns an array, i.e. outlineWidth > 0.\n        this.groups = [\n          {start: 0, count: Infinity, materialIndex: 0},\n          {start: 0, count: Infinity, materialIndex: 1}\n        ];\n\n        // Preallocate empty bounding objects\n        this.boundingSphere = new three.Sphere();\n        this.boundingBox = new three.Box3();\n      }\n\n      computeBoundingSphere () {\n        // No-op; we'll sync the boundingSphere proactively when needed.\n      }\n\n      computeBoundingBox() {\n        // No-op; we'll sync the boundingBox proactively when needed.\n      }\n\n      // Since our base geometry contains triangles for both front and back sides, we can emulate\n      // the \"side\" by restricting the draw range.\n      setSide(side) {\n        const verts = this.getIndex().count;\n        this.setDrawRange(side === three.BackSide ? verts / 2 : 0, side === three.DoubleSide ? verts : verts / 2);\n      }\n\n      set detail(detail) {\n        if (detail !== this._detail) {\n          this._detail = detail;\n          if (typeof detail !== 'number' || detail < 1) {\n            detail = 1;\n          }\n          let tpl = getTemplateGeometry(detail)\n          ;['position', 'normal', 'uv'].forEach(attr => {\n            this.attributes[attr] = tpl.attributes[attr].clone();\n          });\n          this.setIndex(tpl.getIndex().clone());\n        }\n      }\n      get detail() {\n        return this._detail\n      }\n\n      set curveRadius(r) {\n        if (r !== this._curveRadius) {\n          this._curveRadius = r;\n          this._updateBounds();\n        }\n      }\n      get curveRadius() {\n        return this._curveRadius\n      }\n\n      /**\n       * Update the geometry for a new set of glyphs.\n       * @param {Float32Array} glyphBounds - An array holding the planar bounds for all glyphs\n       *        to be rendered, 4 entries for each glyph: x1,x2,y1,y1\n       * @param {Float32Array} glyphAtlasIndices - An array holding the index of each glyph within\n       *        the SDF atlas texture.\n       * @param {Array} blockBounds - An array holding the [minX, minY, maxX, maxY] across all glyphs\n       * @param {Array} [chunkedBounds] - An array of objects describing bounds for each chunk of N\n       *        consecutive glyphs: `{start:N, end:N, rect:[minX, minY, maxX, maxY]}`. This can be\n       *        used with `applyClipRect` to choose an optimized `instanceCount`.\n       * @param {Uint8Array} [glyphColors] - An array holding r,g,b values for each glyph.\n       */\n      updateGlyphs(glyphBounds, glyphAtlasIndices, blockBounds, chunkedBounds, glyphColors) {\n        // Update the instance attributes\n        updateBufferAttr(this, glyphBoundsAttrName, glyphBounds, 4);\n        updateBufferAttr(this, glyphIndexAttrName, glyphAtlasIndices, 1);\n        updateBufferAttr(this, glyphColorAttrName, glyphColors, 3);\n        this._blockBounds = blockBounds;\n        this._chunkedBounds = chunkedBounds;\n        setInstanceCount(this, glyphAtlasIndices.length);\n        this._updateBounds();\n      }\n\n      _updateBounds() {\n        const bounds = this._blockBounds;\n        if (bounds) {\n          const { curveRadius, boundingBox: bbox } = this;\n          if (curveRadius) {\n            const { PI, floor, min, max, sin, cos } = Math;\n            const halfPi = PI / 2;\n            const twoPi = PI * 2;\n            const absR = Math.abs(curveRadius);\n            const leftAngle = bounds[0] / absR;\n            const rightAngle = bounds[2] / absR;\n            const minX = floor((leftAngle + halfPi) / twoPi) !== floor((rightAngle + halfPi) / twoPi)\n              ? -absR : min(sin(leftAngle) * absR, sin(rightAngle) * absR);\n            const maxX = floor((leftAngle - halfPi) / twoPi) !== floor((rightAngle - halfPi) / twoPi)\n              ? absR : max(sin(leftAngle) * absR, sin(rightAngle) * absR);\n            const maxZ = floor((leftAngle + PI) / twoPi) !== floor((rightAngle + PI) / twoPi)\n              ? absR * 2 : max(absR - cos(leftAngle) * absR, absR - cos(rightAngle) * absR);\n            bbox.min.set(minX, bounds[1], curveRadius < 0 ? -maxZ : 0);\n            bbox.max.set(maxX, bounds[3], curveRadius < 0 ? 0 : maxZ);\n          } else {\n            bbox.min.set(bounds[0], bounds[1], 0);\n            bbox.max.set(bounds[2], bounds[3], 0);\n          }\n          bbox.getBoundingSphere(this.boundingSphere);\n        }\n      }\n\n      /**\n       * Given a clipping rect, and the chunkedBounds from the last updateGlyphs call, choose the lowest\n       * `instanceCount` that will show all glyphs within the clipped view. This is an optimization\n       * for long blocks of text that are clipped, to skip vertex shader evaluation for glyphs that would\n       * be clipped anyway.\n       *\n       * Note that since `drawElementsInstanced[ANGLE]` only accepts an instance count and not a starting\n       * offset, this optimization becomes less effective as the clipRect moves closer to the end of the\n       * text block. We could fix that by switching from instancing to a full geometry with a drawRange,\n       * but at the expense of much larger attribute buffers (see classdoc above.)\n       *\n       * @param {Vector4} clipRect\n       */\n      applyClipRect(clipRect) {\n        let count = this.getAttribute(glyphIndexAttrName).count;\n        let chunks = this._chunkedBounds;\n        if (chunks) {\n          for (let i = chunks.length; i--;) {\n            count = chunks[i].end;\n            let rect = chunks[i].rect;\n            // note: both rects are l-b-r-t\n            if (rect[1] < clipRect.w && rect[3] > clipRect.y && rect[0] < clipRect.z && rect[2] > clipRect.x) {\n              break\n            }\n          }\n        }\n        setInstanceCount(this, count);\n      }\n    }\n\n    // Compat for pre r109:\n    if (!GlyphsGeometry.prototype.setAttribute) {\n      GlyphsGeometry.prototype.setAttribute = function(name, attribute) {\n        this.attributes[ name ] = attribute;\n        return this\n      };\n    }\n\n\n    function updateBufferAttr(geom, attrName, newArray, itemSize) {\n      const attr = geom.getAttribute(attrName);\n      if (newArray) {\n        // If length isn't changing, just update the attribute's array data\n        if (attr && attr.array.length === newArray.length) {\n          attr.array.set(newArray);\n          attr.needsUpdate = true;\n        } else {\n          geom.setAttribute(attrName, new three.InstancedBufferAttribute(newArray, itemSize));\n          // If the new attribute has a different size, we also have to (as of r117) manually clear the\n          // internal cached max instance count. See https://github.com/mrdoob/three.js/issues/19706\n          // It's unclear if this is a threejs bug or a truly unsupported scenario; discussion in\n          // that ticket is ambiguous as to whether replacing a BufferAttribute with one of a\n          // different size is supported, but https://github.com/mrdoob/three.js/pull/17418 strongly\n          // implies it should be supported. It's possible we need to\n          delete geom._maxInstanceCount; //for r117+, could be fragile\n          geom.dispose(); //for r118+, more robust feeling, but more heavy-handed than I'd like\n        }\n      } else if (attr) {\n        geom.deleteAttribute(attrName);\n      }\n    }\n\n    // Handle maxInstancedCount -> instanceCount rename that happened in three r117\n    function setInstanceCount(geom, count) {\n      geom[geom.hasOwnProperty('instanceCount') ? 'instanceCount' : 'maxInstancedCount'] = count;\n    }\n\n    return GlyphsGeometry\n  })();\n\n  // language=GLSL\n  const VERTEX_DEFS = `\nuniform vec2 uTroikaSDFTextureSize;\nuniform float uTroikaSDFGlyphSize;\nuniform vec4 uTroikaTotalBounds;\nuniform vec4 uTroikaClipRect;\nuniform mat3 uTroikaOrient;\nuniform bool uTroikaUseGlyphColors;\nuniform float uTroikaDistanceOffset;\nuniform float uTroikaBlurRadius;\nuniform vec2 uTroikaPositionOffset;\nuniform float uTroikaCurveRadius;\nattribute vec4 aTroikaGlyphBounds;\nattribute float aTroikaGlyphIndex;\nattribute vec3 aTroikaGlyphColor;\nvarying vec2 vTroikaGlyphUV;\nvarying vec4 vTroikaTextureUVBounds;\nvarying float vTroikaTextureChannel;\nvarying vec3 vTroikaGlyphColor;\nvarying vec2 vTroikaGlyphDimensions;\n`;\n\n  // language=GLSL prefix=\"void main() {\" suffix=\"}\"\n  const VERTEX_TRANSFORM = `\nvec4 bounds = aTroikaGlyphBounds;\nbounds.xz += uTroikaPositionOffset.x;\nbounds.yw -= uTroikaPositionOffset.y;\n\nvec4 outlineBounds = vec4(\n  bounds.xy - uTroikaDistanceOffset - uTroikaBlurRadius,\n  bounds.zw + uTroikaDistanceOffset + uTroikaBlurRadius\n);\nvec4 clippedBounds = vec4(\n  clamp(outlineBounds.xy, uTroikaClipRect.xy, uTroikaClipRect.zw),\n  clamp(outlineBounds.zw, uTroikaClipRect.xy, uTroikaClipRect.zw)\n);\n\nvec2 clippedXY = (mix(clippedBounds.xy, clippedBounds.zw, position.xy) - bounds.xy) / (bounds.zw - bounds.xy);\n\nposition.xy = mix(bounds.xy, bounds.zw, clippedXY);\n\nuv = (position.xy - uTroikaTotalBounds.xy) / (uTroikaTotalBounds.zw - uTroikaTotalBounds.xy);\n\nfloat rad = uTroikaCurveRadius;\nif (rad != 0.0) {\n  float angle = position.x / rad;\n  position.xz = vec2(sin(angle) * rad, rad - cos(angle) * rad);\n  normal.xz = vec2(sin(angle), cos(angle));\n}\n  \nposition = uTroikaOrient * position;\nnormal = uTroikaOrient * normal;\n\nvTroikaGlyphUV = clippedXY.xy;\nvTroikaGlyphDimensions = vec2(bounds[2] - bounds[0], bounds[3] - bounds[1]);\n\n${''/* NOTE: it seems important to calculate the glyph's bounding texture UVs here in the\n  vertex shader, rather than in the fragment shader, as the latter gives strange artifacts\n  on some glyphs (those in the leftmost texture column) on some systems. The exact reason\n  isn't understood but doing this here, then mix()-ing in the fragment shader, seems to work. */}\nfloat txCols = uTroikaSDFTextureSize.x / uTroikaSDFGlyphSize;\nvec2 txUvPerSquare = uTroikaSDFGlyphSize / uTroikaSDFTextureSize;\nvec2 txStartUV = txUvPerSquare * vec2(\n  mod(floor(aTroikaGlyphIndex / 4.0), txCols),\n  floor(floor(aTroikaGlyphIndex / 4.0) / txCols)\n);\nvTroikaTextureUVBounds = vec4(txStartUV, vec2(txStartUV) + txUvPerSquare);\nvTroikaTextureChannel = mod(aTroikaGlyphIndex, 4.0);\n`;\n\n  // language=GLSL\n  const FRAGMENT_DEFS = `\nuniform sampler2D uTroikaSDFTexture;\nuniform vec2 uTroikaSDFTextureSize;\nuniform float uTroikaSDFGlyphSize;\nuniform float uTroikaSDFExponent;\nuniform float uTroikaDistanceOffset;\nuniform float uTroikaFillOpacity;\nuniform float uTroikaOutlineOpacity;\nuniform float uTroikaBlurRadius;\nuniform vec3 uTroikaStrokeColor;\nuniform float uTroikaStrokeWidth;\nuniform float uTroikaStrokeOpacity;\nuniform bool uTroikaSDFDebug;\nvarying vec2 vTroikaGlyphUV;\nvarying vec4 vTroikaTextureUVBounds;\nvarying float vTroikaTextureChannel;\nvarying vec2 vTroikaGlyphDimensions;\n\nfloat troikaSdfValueToSignedDistance(float alpha) {\n  // Inverse of exponential encoding in webgl-sdf-generator\n  ${''/* TODO - there's some slight inaccuracy here when dealing with interpolated alpha values; those\n    are linearly interpolated where the encoding is exponential. Look into improving this by rounding\n    to nearest 2 whole texels, decoding those exponential values, and linearly interpolating the result.\n  */}\n  float maxDimension = max(vTroikaGlyphDimensions.x, vTroikaGlyphDimensions.y);\n  float absDist = (1.0 - pow(2.0 * (alpha > 0.5 ? 1.0 - alpha : alpha), 1.0 / uTroikaSDFExponent)) * maxDimension;\n  float signedDist = absDist * (alpha > 0.5 ? -1.0 : 1.0);\n  return signedDist;\n}\n\nfloat troikaGlyphUvToSdfValue(vec2 glyphUV) {\n  vec2 textureUV = mix(vTroikaTextureUVBounds.xy, vTroikaTextureUVBounds.zw, glyphUV);\n  vec4 rgba = texture2D(uTroikaSDFTexture, textureUV);\n  float ch = floor(vTroikaTextureChannel + 0.5); //NOTE: can't use round() in WebGL1\n  return ch == 0.0 ? rgba.r : ch == 1.0 ? rgba.g : ch == 2.0 ? rgba.b : rgba.a;\n}\n\nfloat troikaGlyphUvToDistance(vec2 uv) {\n  return troikaSdfValueToSignedDistance(troikaGlyphUvToSdfValue(uv));\n}\n\nfloat troikaGetAADist() {\n  ${''/*\n    When the standard derivatives extension is available, we choose an antialiasing alpha threshold based\n    on the potential change in the SDF's alpha from this fragment to its neighbor. This strategy maximizes \n    readability and edge crispness at all sizes and screen resolutions.\n  */}\n  #if defined(GL_OES_standard_derivatives) || __VERSION__ >= 300\n  return length(fwidth(vTroikaGlyphUV * vTroikaGlyphDimensions)) * 0.5;\n  #else\n  return vTroikaGlyphDimensions.x / 64.0;\n  #endif\n}\n\nfloat troikaGetFragDistValue() {\n  vec2 clampedGlyphUV = clamp(vTroikaGlyphUV, 0.5 / uTroikaSDFGlyphSize, 1.0 - 0.5 / uTroikaSDFGlyphSize);\n  float distance = troikaGlyphUvToDistance(clampedGlyphUV);\n \n  // Extrapolate distance when outside bounds:\n  distance += clampedGlyphUV == vTroikaGlyphUV ? 0.0 : \n    length((vTroikaGlyphUV - clampedGlyphUV) * vTroikaGlyphDimensions);\n\n  ${''/* \n  // TODO more refined extrapolated distance by adjusting for angle of gradient at edge...\n  // This has potential but currently gives very jagged extensions, maybe due to precision issues?\n  float uvStep = 1.0 / uTroikaSDFGlyphSize;\n  vec2 neighbor1UV = clampedGlyphUV + (\n    vTroikaGlyphUV.x != clampedGlyphUV.x ? vec2(0.0, uvStep * sign(0.5 - vTroikaGlyphUV.y)) :\n    vTroikaGlyphUV.y != clampedGlyphUV.y ? vec2(uvStep * sign(0.5 - vTroikaGlyphUV.x), 0.0) :\n    vec2(0.0)\n  );\n  vec2 neighbor2UV = clampedGlyphUV + (\n    vTroikaGlyphUV.x != clampedGlyphUV.x ? vec2(0.0, uvStep * -sign(0.5 - vTroikaGlyphUV.y)) :\n    vTroikaGlyphUV.y != clampedGlyphUV.y ? vec2(uvStep * -sign(0.5 - vTroikaGlyphUV.x), 0.0) :\n    vec2(0.0)\n  );\n  float neighbor1Distance = troikaGlyphUvToDistance(neighbor1UV);\n  float neighbor2Distance = troikaGlyphUvToDistance(neighbor2UV);\n  float distToUnclamped = length((vTroikaGlyphUV - clampedGlyphUV) * vTroikaGlyphDimensions);\n  float distToNeighbor = length((clampedGlyphUV - neighbor1UV) * vTroikaGlyphDimensions);\n  float gradientAngle1 = min(asin(abs(neighbor1Distance - distance) / distToNeighbor), PI / 2.0);\n  float gradientAngle2 = min(asin(abs(neighbor2Distance - distance) / distToNeighbor), PI / 2.0);\n  distance += (cos(gradientAngle1) + cos(gradientAngle2)) / 2.0 * distToUnclamped;\n  */}\n\n  return distance;\n}\n\nfloat troikaGetEdgeAlpha(float distance, float distanceOffset, float aaDist) {\n  #if defined(IS_DEPTH_MATERIAL) || defined(IS_DISTANCE_MATERIAL)\n  float alpha = step(-distanceOffset, -distance);\n  #else\n\n  float alpha = smoothstep(\n    distanceOffset + aaDist,\n    distanceOffset - aaDist,\n    distance\n  );\n  #endif\n\n  return alpha;\n}\n`;\n\n  // language=GLSL prefix=\"void main() {\" suffix=\"}\"\n  const FRAGMENT_TRANSFORM = `\nfloat aaDist = troikaGetAADist();\nfloat fragDistance = troikaGetFragDistValue();\nfloat edgeAlpha = uTroikaSDFDebug ?\n  troikaGlyphUvToSdfValue(vTroikaGlyphUV) :\n  troikaGetEdgeAlpha(fragDistance, uTroikaDistanceOffset, max(aaDist, uTroikaBlurRadius));\n\n#if !defined(IS_DEPTH_MATERIAL) && !defined(IS_DISTANCE_MATERIAL)\nvec4 fillRGBA = gl_FragColor;\nfillRGBA.a *= uTroikaFillOpacity;\nvec4 strokeRGBA = uTroikaStrokeWidth == 0.0 ? fillRGBA : vec4(uTroikaStrokeColor, uTroikaStrokeOpacity);\nif (fillRGBA.a == 0.0) fillRGBA.rgb = strokeRGBA.rgb;\ngl_FragColor = mix(fillRGBA, strokeRGBA, smoothstep(\n  -uTroikaStrokeWidth - aaDist,\n  -uTroikaStrokeWidth + aaDist,\n  fragDistance\n));\ngl_FragColor.a *= edgeAlpha;\n#endif\n\nif (edgeAlpha == 0.0) {\n  discard;\n}\n`;\n\n\n  /**\n   * Create a material for rendering text, derived from a baseMaterial\n   */\n  function createTextDerivedMaterial(baseMaterial) {\n    const textMaterial = troikaThreeUtils.createDerivedMaterial(baseMaterial, {\n      chained: true,\n      extensions: {\n        derivatives: true\n      },\n      uniforms: {\n        uTroikaSDFTexture: {value: null},\n        uTroikaSDFTextureSize: {value: new three.Vector2()},\n        uTroikaSDFGlyphSize: {value: 0},\n        uTroikaSDFExponent: {value: 0},\n        uTroikaTotalBounds: {value: new three.Vector4(0,0,0,0)},\n        uTroikaClipRect: {value: new three.Vector4(0,0,0,0)},\n        uTroikaDistanceOffset: {value: 0},\n        uTroikaOutlineOpacity: {value: 0},\n        uTroikaFillOpacity: {value: 1},\n        uTroikaPositionOffset: {value: new three.Vector2()},\n        uTroikaCurveRadius: {value: 0},\n        uTroikaBlurRadius: {value: 0},\n        uTroikaStrokeWidth: {value: 0},\n        uTroikaStrokeColor: {value: new three.Color()},\n        uTroikaStrokeOpacity: {value: 1},\n        uTroikaOrient: {value: new three.Matrix3()},\n        uTroikaUseGlyphColors: {value: true},\n        uTroikaSDFDebug: {value: false}\n      },\n      vertexDefs: VERTEX_DEFS,\n      vertexTransform: VERTEX_TRANSFORM,\n      fragmentDefs: FRAGMENT_DEFS,\n      fragmentColorTransform: FRAGMENT_TRANSFORM,\n      customRewriter({vertexShader, fragmentShader}) {\n        let uDiffuseRE = /\\buniform\\s+vec3\\s+diffuse\\b/;\n        if (uDiffuseRE.test(fragmentShader)) {\n          // Replace all instances of `diffuse` with our varying\n          fragmentShader = fragmentShader\n            .replace(uDiffuseRE, 'varying vec3 vTroikaGlyphColor')\n            .replace(/\\bdiffuse\\b/g, 'vTroikaGlyphColor');\n          // Make sure the vertex shader declares the uniform so we can grab it as a fallback\n          if (!uDiffuseRE.test(vertexShader)) {\n            vertexShader = vertexShader.replace(\n              troikaThreeUtils.voidMainRegExp,\n              'uniform vec3 diffuse;\\n$&\\nvTroikaGlyphColor = uTroikaUseGlyphColors ? aTroikaGlyphColor / 255.0 : diffuse;\\n'\n            );\n          }\n        }\n        return { vertexShader, fragmentShader }\n      }\n    });\n\n    // Force transparency - TODO is this reasonable?\n    textMaterial.transparent = true;\n\n    Object.defineProperties(textMaterial, {\n      isTroikaTextMaterial: {value: true},\n\n      // WebGLShadowMap reverses the side of the shadow material by default, which fails\n      // for planes, so here we force the `shadowSide` to always match the main side.\n      shadowSide: {\n        get() {\n          return this.side\n        },\n        set() {\n          //no-op\n        }\n      }\n    });\n\n    return textMaterial\n  }\n\n  const Text = /*#__PURE__*/(() => {\n\n    const defaultMaterial = new three.MeshBasicMaterial({\n      color: 0xffffff,\n      side: three.DoubleSide,\n      transparent: true\n    });\n    const defaultStrokeColor = 0x808080;\n\n    const tempMat4 = new three.Matrix4();\n    const tempVec3a = new three.Vector3();\n    const tempVec3b = new three.Vector3();\n    const tempArray = [];\n    const origin = new three.Vector3();\n    const defaultOrient = '+x+y';\n\n    function first(o) {\n      return Array.isArray(o) ? o[0] : o\n    }\n\n    let getFlatRaycastMesh = () => {\n      const mesh = new three.Mesh(\n        new three.PlaneBufferGeometry(1, 1),\n        defaultMaterial\n      );\n      getFlatRaycastMesh = () => mesh;\n      return mesh\n    };\n    let getCurvedRaycastMesh = () => {\n      const mesh = new three.Mesh(\n        new three.PlaneBufferGeometry(1, 1, 32, 1),\n        defaultMaterial\n      );\n      getCurvedRaycastMesh = () => mesh;\n      return mesh\n    };\n\n    const syncStartEvent = {type: 'syncstart'};\n    const syncCompleteEvent = {type: 'synccomplete'};\n\n    const SYNCABLE_PROPS = [\n      'font',\n      'fontSize',\n      'letterSpacing',\n      'lineHeight',\n      'maxWidth',\n      'overflowWrap',\n      'text',\n      'direction',\n      'textAlign',\n      'textIndent',\n      'whiteSpace',\n      'anchorX',\n      'anchorY',\n      'colorRanges',\n      'sdfGlyphSize'\n    ];\n\n    const COPYABLE_PROPS = SYNCABLE_PROPS.concat(\n      'material',\n      'color',\n      'depthOffset',\n      'clipRect',\n      'curveRadius',\n      'orientation',\n      'glyphGeometryDetail'\n    );\n\n\n\n    /**\n     * @class Text\n     *\n     * A ThreeJS Mesh that renders a string of text on a plane in 3D space using signed distance\n     * fields (SDF).\n     */\n    class Text extends three.Mesh {\n      constructor() {\n        const geometry = new GlyphsGeometry();\n        super(geometry, null);\n\n        // === Text layout properties: === //\n\n        /**\n         * @member {string} text\n         * The string of text to be rendered.\n         */\n        this.text = '';\n\n        /**\n         * @deprecated Use `anchorX` and `anchorY` instead\n         * @member {Array<number>} anchor\n         * Defines where in the text block should correspond to the mesh's local position, as a set\n         * of horizontal and vertical percentages from 0 to 1. A value of `[0, 0]` (the default)\n         * anchors at the top-left, `[1, 1]` at the bottom-right, and `[0.5, 0.5]` centers the\n         * block at the mesh's position.\n         */\n        //this.anchor = null\n\n        /**\n         * @member {number|string} anchorX\n         * Defines the horizontal position in the text block that should line up with the local origin.\n         * Can be specified as a numeric x position in local units, a string percentage of the total\n         * text block width e.g. `'25%'`, or one of the following keyword strings: 'left', 'center',\n         * or 'right'.\n         */\n        this.anchorX = 0;\n\n        /**\n         * @member {number|string} anchorX\n         * Defines the vertical position in the text block that should line up with the local origin.\n         * Can be specified as a numeric y position in local units (note: down is negative y), a string\n         * percentage of the total text block height e.g. `'25%'`, or one of the following keyword strings:\n         * 'top', 'top-baseline', 'middle', 'bottom-baseline', or 'bottom'.\n         */\n        this.anchorY = 0;\n\n        /**\n         * @member {number} curveRadius\n         * Defines a cylindrical radius along which the text's plane will be curved. Positive numbers put\n         * the cylinder's centerline (oriented vertically) that distance in front of the text, for a concave\n         * curvature, while negative numbers put it behind the text for a convex curvature. The centerline\n         * will be aligned with the text's local origin; you can use `anchorX` to offset it.\n         *\n         * Since each glyph is by default rendered with a simple quad, each glyph remains a flat plane\n         * internally. You can use `glyphGeometryDetail` to add more vertices for curvature inside glyphs.\n         */\n        this.curveRadius = 0;\n\n        /**\n         * @member {string} direction\n         * Sets the base direction for the text. The default value of \"auto\" will choose a direction based\n         * on the text's content according to the bidi spec. A value of \"ltr\" or \"rtl\" will force the direction.\n         */\n        this.direction = 'auto';\n\n        /**\n         * @member {string} font\n         * URL of a custom font to be used. Font files can be in .ttf, .otf, or .woff (not .woff2) formats.\n         * Defaults to the Roboto font loaded from Google Fonts.\n         */\n        this.font = null; //will use default from TextBuilder\n\n        /**\n         * @member {number} fontSize\n         * The size at which to render the font in local units; corresponds to the em-box height\n         * of the chosen `font`.\n         */\n        this.fontSize = 0.1;\n\n        /**\n         * @member {number} letterSpacing\n         * Sets a uniform adjustment to spacing between letters after kerning is applied. Positive\n         * numbers increase spacing and negative numbers decrease it.\n         */\n        this.letterSpacing = 0;\n\n        /**\n         * @member {number|string} lineHeight\n         * Sets the height of each line of text, as a multiple of the `fontSize`. Defaults to 'normal'\n         * which chooses a reasonable height based on the chosen font's ascender/descender metrics.\n         */\n        this.lineHeight = 'normal';\n\n        /**\n         * @member {number} maxWidth\n         * The maximum width of the text block, above which text may start wrapping according to the\n         * `whiteSpace` and `overflowWrap` properties.\n         */\n        this.maxWidth = Infinity;\n\n        /**\n         * @member {string} overflowWrap\n         * Defines how text wraps if the `whiteSpace` property is `normal`. Can be either `'normal'`\n         * to break at whitespace characters, or `'break-word'` to allow breaking within words.\n         * Defaults to `'normal'`.\n         */\n        this.overflowWrap = 'normal';\n\n        /**\n         * @member {string} textAlign\n         * The horizontal alignment of each line of text within the overall text bounding box.\n         */\n        this.textAlign = 'left';\n\n        /**\n         * @member {number} textIndent\n         * Indentation for the first character of a line; see CSS `text-indent`.\n         */\n        this.textIndent = 0;\n\n        /**\n         * @member {string} whiteSpace\n         * Defines whether text should wrap when a line reaches the `maxWidth`. Can\n         * be either `'normal'` (the default), to allow wrapping according to the `overflowWrap` property,\n         * or `'nowrap'` to prevent wrapping. Note that `'normal'` here honors newline characters to\n         * manually break lines, making it behave more like `'pre-wrap'` does in CSS.\n         */\n        this.whiteSpace = 'normal';\n\n\n        // === Presentation properties: === //\n\n        /**\n         * @member {THREE.Material} material\n         * Defines a _base_ material to be used when rendering the text. This material will be\n         * automatically replaced with a material derived from it, that adds shader code to\n         * decrease the alpha for each fragment (pixel) outside the text glyphs, with antialiasing.\n         * By default it will derive from a simple white MeshBasicMaterial, but you can use any\n         * of the other mesh materials to gain other features like lighting, texture maps, etc.\n         *\n         * Also see the `color` shortcut property.\n         */\n        this.material = null;\n\n        /**\n         * @member {string|number|THREE.Color} color\n         * This is a shortcut for setting the `color` of the text's material. You can use this\n         * if you don't want to specify a whole custom `material`. Also, if you do use a custom\n         * `material`, this color will only be used for this particuar Text instance, even if\n         * that same material instance is shared across multiple Text objects.\n         */\n        this.color = null;\n\n        /**\n         * @member {object|null} colorRanges\n         * WARNING: This API is experimental and may change.\n         * This allows more fine-grained control of colors for individual or ranges of characters,\n         * taking precedence over the material's `color`. Its format is an Object whose keys each\n         * define a starting character index for a range, and whose values are the color for each\n         * range. The color value can be a numeric hex color value, a `THREE.Color` object, or\n         * any of the strings accepted by `THREE.Color`.\n         */\n        this.colorRanges = null;\n\n        /**\n         * @member {number|string} outlineWidth\n         * WARNING: This API is experimental and may change.\n         * The width of an outline/halo to be drawn around each text glyph using the `outlineColor` and `outlineOpacity`.\n         * Can be specified as either an absolute number in local units, or as a percentage string e.g.\n         * `\"12%\"` which is treated as a percentage of the `fontSize`. Defaults to `0`, which means\n         * no outline will be drawn unless an `outlineOffsetX/Y` or `outlineBlur` is set.\n         */\n        this.outlineWidth = 0;\n\n        /**\n         * @member {string|number|THREE.Color} outlineColor\n         * WARNING: This API is experimental and may change.\n         * The color of the text outline, if `outlineWidth`/`outlineBlur`/`outlineOffsetX/Y` are set.\n         * Defaults to black.\n         */\n        this.outlineColor = 0x000000;\n\n        /**\n         * @member {number} outlineOpacity\n         * WARNING: This API is experimental and may change.\n         * The opacity of the outline, if `outlineWidth`/`outlineBlur`/`outlineOffsetX/Y` are set.\n         * Defaults to `1`.\n         */\n        this.outlineOpacity = 1;\n\n        /**\n         * @member {number|string} outlineBlur\n         * WARNING: This API is experimental and may change.\n         * A blur radius applied to the outer edge of the text's outline. If the `outlineWidth` is\n         * zero, the blur will be applied at the glyph edge, like CSS's `text-shadow` blur radius.\n         * Can be specified as either an absolute number in local units, or as a percentage string e.g.\n         * `\"12%\"` which is treated as a percentage of the `fontSize`. Defaults to `0`.\n         */\n        this.outlineBlur = 0;\n\n        /**\n         * @member {number|string} outlineOffsetX\n         * WARNING: This API is experimental and may change.\n         * A horizontal offset for the text outline.\n         * Can be specified as either an absolute number in local units, or as a percentage string e.g. `\"12%\"`\n         * which is treated as a percentage of the `fontSize`. Defaults to `0`.\n         */\n        this.outlineOffsetX = 0;\n\n        /**\n         * @member {number|string} outlineOffsetY\n         * WARNING: This API is experimental and may change.\n         * A vertical offset for the text outline.\n         * Can be specified as either an absolute number in local units, or as a percentage string e.g. `\"12%\"`\n         * which is treated as a percentage of the `fontSize`. Defaults to `0`.\n         */\n        this.outlineOffsetY = 0;\n\n        /**\n         * @member {number|string} strokeWidth\n         * WARNING: This API is experimental and may change.\n         * The width of an inner stroke drawn inside each text glyph using the `strokeColor` and `strokeOpacity`.\n         * Can be specified as either an absolute number in local units, or as a percentage string e.g. `\"12%\"`\n         * which is treated as a percentage of the `fontSize`. Defaults to `0`.\n         */\n        this.strokeWidth = 0;\n\n        /**\n         * @member {string|number|THREE.Color} strokeColor\n         * WARNING: This API is experimental and may change.\n         * The color of the text stroke, if `strokeWidth` is greater than zero. Defaults to gray.\n         */\n        this.strokeColor = defaultStrokeColor;\n\n        /**\n         * @member {number} strokeOpacity\n         * WARNING: This API is experimental and may change.\n         * The opacity of the stroke, if `strokeWidth` is greater than zero. Defaults to `1`.\n         */\n        this.strokeOpacity = 1;\n\n        /**\n         * @member {number} fillOpacity\n         * WARNING: This API is experimental and may change.\n         * The opacity of the glyph's fill from 0 to 1. This behaves like the material's `opacity` but allows\n         * giving the fill a different opacity than the `strokeOpacity`. A fillOpacity of `0` makes the\n         * interior of the glyph invisible, leaving just the `strokeWidth`. Defaults to `1`.\n         */\n        this.fillOpacity = 1;\n\n        /**\n         * @member {number} depthOffset\n         * This is a shortcut for setting the material's `polygonOffset` and related properties,\n         * which can be useful in preventing z-fighting when this text is laid on top of another\n         * plane in the scene. Positive numbers are further from the camera, negatives closer.\n         */\n        this.depthOffset = 0;\n\n        /**\n         * @member {Array<number>} clipRect\n         * If specified, defines a `[minX, minY, maxX, maxY]` of a rectangle outside of which all\n         * pixels will be discarded. This can be used for example to clip overflowing text when\n         * `whiteSpace='nowrap'`.\n         */\n        this.clipRect = null;\n\n        /**\n         * @member {string} orientation\n         * Defines the axis plane on which the text should be laid out when the mesh has no extra\n         * rotation transform. It is specified as a string with two axes: the horizontal axis with\n         * positive pointing right, and the vertical axis with positive pointing up. By default this\n         * is '+x+y', meaning the text sits on the xy plane with the text's top toward positive y\n         * and facing positive z. A value of '+x-z' would place it on the xz plane with the text's\n         * top toward negative z and facing positive y.\n         */\n        this.orientation = defaultOrient;\n\n        /**\n         * @member {number} glyphGeometryDetail\n         * Controls number of vertical/horizontal segments that make up each glyph's rectangular\n         * plane. Defaults to 1. This can be increased to provide more geometrical detail for custom\n         * vertex shader effects, for example.\n         */\n        this.glyphGeometryDetail = 1;\n\n        /**\n         * @member {number|null} sdfGlyphSize\n         * The size of each glyph's SDF (signed distance field) used for rendering. This must be a\n         * power-of-two number. Defaults to 64 which is generally a good balance of size and quality\n         * for most fonts. Larger sizes can improve the quality of glyph rendering by increasing\n         * the sharpness of corners and preventing loss of very thin lines, at the expense of\n         * increased memory footprint and longer SDF generation time.\n         */\n        this.sdfGlyphSize = null;\n\n        /**\n         * @member {boolean} gpuAccelerateSDF\n         * When `true`, the SDF generation process will be GPU-accelerated with WebGL when possible,\n         * making it much faster especially for complex glyphs, and falling back to a JavaScript version\n         * executed in web workers when support isn't available. It should automatically detect support,\n         * but it's still somewhat experimental, so you can set it to `false` to force it to use the JS\n         * version if you encounter issues with it.\n         */\n        this.gpuAccelerateSDF = true;\n\n        this.debugSDF = false;\n      }\n\n      /**\n       * Updates the text rendering according to the current text-related configuration properties.\n       * This is an async process, so you can pass in a callback function to be executed when it\n       * finishes.\n       * @param {function} [callback]\n       */\n      sync(callback) {\n        if (this._needsSync) {\n          this._needsSync = false;\n\n          // If there's another sync still in progress, queue\n          if (this._isSyncing) {\n            (this._queuedSyncs || (this._queuedSyncs = [])).push(callback);\n          } else {\n            this._isSyncing = true;\n            this.dispatchEvent(syncStartEvent);\n\n            getTextRenderInfo({\n              text: this.text,\n              font: this.font,\n              fontSize: this.fontSize || 0.1,\n              letterSpacing: this.letterSpacing || 0,\n              lineHeight: this.lineHeight || 'normal',\n              maxWidth: this.maxWidth,\n              direction: this.direction || 'auto',\n              textAlign: this.textAlign,\n              textIndent: this.textIndent,\n              whiteSpace: this.whiteSpace,\n              overflowWrap: this.overflowWrap,\n              anchorX: this.anchorX,\n              anchorY: this.anchorY,\n              colorRanges: this.colorRanges,\n              includeCaretPositions: true, //TODO parameterize\n              sdfGlyphSize: this.sdfGlyphSize,\n              gpuAccelerateSDF: this.gpuAccelerateSDF,\n            }, textRenderInfo => {\n              this._isSyncing = false;\n\n              // Save result for later use in onBeforeRender\n              this._textRenderInfo = textRenderInfo;\n\n              // Update the geometry attributes\n              this.geometry.updateGlyphs(\n                textRenderInfo.glyphBounds,\n                textRenderInfo.glyphAtlasIndices,\n                textRenderInfo.blockBounds,\n                textRenderInfo.chunkedBounds,\n                textRenderInfo.glyphColors\n              );\n\n              // If we had extra sync requests queued up, kick it off\n              const queued = this._queuedSyncs;\n              if (queued) {\n                this._queuedSyncs = null;\n                this._needsSync = true;\n                this.sync(() => {\n                  queued.forEach(fn => fn && fn());\n                });\n              }\n\n              this.dispatchEvent(syncCompleteEvent);\n              if (callback) {\n                callback();\n              }\n            });\n          }\n        }\n      }\n\n      /**\n       * Initiate a sync if needed - note it won't complete until next frame at the\n       * earliest so if possible it's a good idea to call sync() manually as soon as\n       * all the properties have been set.\n       * @override\n       */\n      onBeforeRender(renderer, scene, camera, geometry, material, group) {\n        this.sync();\n\n        // This may not always be a text material, e.g. if there's a scene.overrideMaterial present\n        if (material.isTroikaTextMaterial) {\n          this._prepareForRender(material);\n        }\n\n        // We need to force the material to FrontSide to avoid the double-draw-call performance hit\n        // introduced in Three.js r130: https://github.com/mrdoob/three.js/pull/21967 - The sidedness\n        // is instead applied via drawRange in the GlyphsGeometry.\n        material._hadOwnSide = material.hasOwnProperty('side');\n        this.geometry.setSide(material._actualSide = material.side);\n        material.side = three.FrontSide;\n      }\n\n      onAfterRender(renderer, scene, camera, geometry, material, group) {\n        // Restore original material side\n        if (material._hadOwnSide) {\n          material.side = material._actualSide;\n        } else {\n          delete material.side; // back to inheriting from base material\n        }\n      }\n\n      /**\n       * Shortcut to dispose the geometry specific to this instance.\n       * Note: we don't also dispose the derived material here because if anything else is\n       * sharing the same base material it will result in a pause next frame as the program\n       * is recompiled. Instead users can dispose the base material manually, like normal,\n       * and we'll also dispose the derived material at that time.\n       */\n      dispose() {\n        this.geometry.dispose();\n      }\n\n      /**\n       * @property {TroikaTextRenderInfo|null} textRenderInfo\n       * @readonly\n       * The current processed rendering data for this TextMesh, returned by the TextBuilder after\n       * a `sync()` call. This will be `null` initially, and may be stale for a short period until\n       * the asynchrous `sync()` process completes.\n       */\n      get textRenderInfo() {\n        return this._textRenderInfo || null\n      }\n\n      // Handler for automatically wrapping the base material with our upgrades. We do the wrapping\n      // lazily on _read_ rather than write to avoid unnecessary wrapping on transient values.\n      get material() {\n        let derivedMaterial = this._derivedMaterial;\n        const baseMaterial = this._baseMaterial || this._defaultMaterial || (this._defaultMaterial = defaultMaterial.clone());\n        if (!derivedMaterial || derivedMaterial.baseMaterial !== baseMaterial) {\n          derivedMaterial = this._derivedMaterial = createTextDerivedMaterial(baseMaterial);\n          // dispose the derived material when its base material is disposed:\n          baseMaterial.addEventListener('dispose', function onDispose() {\n            baseMaterial.removeEventListener('dispose', onDispose);\n            derivedMaterial.dispose();\n          });\n        }\n        // If text outline is configured, render it as a preliminary draw using Three's multi-material\n        // feature (see GlyphsGeometry which sets up `groups` for this purpose) Doing it with multi\n        // materials ensures the layers are always rendered consecutively in a consistent order.\n        // Each layer will trigger onBeforeRender with the appropriate material.\n        if (this.outlineWidth || this.outlineBlur || this.outlineOffsetX || this.outlineOffsetY) {\n          let outlineMaterial = derivedMaterial._outlineMtl;\n          if (!outlineMaterial) {\n            outlineMaterial = derivedMaterial._outlineMtl = Object.create(derivedMaterial, {\n              id: {value: derivedMaterial.id + 0.1}\n            });\n            outlineMaterial.isTextOutlineMaterial = true;\n            outlineMaterial.depthWrite = false;\n            outlineMaterial.map = null; //???\n            derivedMaterial.addEventListener('dispose', function onDispose() {\n              derivedMaterial.removeEventListener('dispose', onDispose);\n              outlineMaterial.dispose();\n            });\n          }\n          return [\n            outlineMaterial,\n            derivedMaterial\n          ]\n        } else {\n          return derivedMaterial\n        }\n      }\n      set material(baseMaterial) {\n        if (baseMaterial && baseMaterial.isTroikaTextMaterial) { //prevent double-derivation\n          this._derivedMaterial = baseMaterial;\n          this._baseMaterial = baseMaterial.baseMaterial;\n        } else {\n          this._baseMaterial = baseMaterial;\n        }\n      }\n\n      get glyphGeometryDetail() {\n        return this.geometry.detail\n      }\n      set glyphGeometryDetail(detail) {\n        this.geometry.detail = detail;\n      }\n\n      get curveRadius() {\n        return this.geometry.curveRadius\n      }\n      set curveRadius(r) {\n        this.geometry.curveRadius = r;\n      }\n\n      // Create and update material for shadows upon request:\n      get customDepthMaterial() {\n        return first(this.material).getDepthMaterial()\n      }\n      get customDistanceMaterial() {\n        return first(this.material).getDistanceMaterial()\n      }\n\n      _prepareForRender(material) {\n        const isOutline = material.isTextOutlineMaterial;\n        const uniforms = material.uniforms;\n        const textInfo = this.textRenderInfo;\n        if (textInfo) {\n          const {sdfTexture, blockBounds} = textInfo;\n          uniforms.uTroikaSDFTexture.value = sdfTexture;\n          uniforms.uTroikaSDFTextureSize.value.set(sdfTexture.image.width, sdfTexture.image.height);\n          uniforms.uTroikaSDFGlyphSize.value = textInfo.sdfGlyphSize;\n          uniforms.uTroikaSDFExponent.value = textInfo.sdfExponent;\n          uniforms.uTroikaTotalBounds.value.fromArray(blockBounds);\n          uniforms.uTroikaUseGlyphColors.value = !isOutline && !!textInfo.glyphColors;\n\n          let distanceOffset = 0;\n          let blurRadius = 0;\n          let strokeWidth = 0;\n          let fillOpacity;\n          let strokeOpacity;\n          let strokeColor;\n          let offsetX = 0;\n          let offsetY = 0;\n\n          if (isOutline) {\n            let {outlineWidth, outlineOffsetX, outlineOffsetY, outlineBlur, outlineOpacity} = this;\n            distanceOffset = this._parsePercent(outlineWidth) || 0;\n            blurRadius = Math.max(0, this._parsePercent(outlineBlur) || 0);\n            fillOpacity = outlineOpacity;\n            offsetX = this._parsePercent(outlineOffsetX) || 0;\n            offsetY = this._parsePercent(outlineOffsetY) || 0;\n          } else {\n            strokeWidth = Math.max(0, this._parsePercent(this.strokeWidth) || 0);\n            if (strokeWidth) {\n              strokeColor = this.strokeColor;\n              uniforms.uTroikaStrokeColor.value.set(strokeColor == null ? defaultStrokeColor : strokeColor);\n              strokeOpacity = this.strokeOpacity;\n              if (strokeOpacity == null) strokeOpacity = 1;\n            }\n            fillOpacity = this.fillOpacity;\n          }\n\n          uniforms.uTroikaDistanceOffset.value = distanceOffset;\n          uniforms.uTroikaPositionOffset.value.set(offsetX, offsetY);\n          uniforms.uTroikaBlurRadius.value = blurRadius;\n          uniforms.uTroikaStrokeWidth.value = strokeWidth;\n          uniforms.uTroikaStrokeOpacity.value = strokeOpacity;\n          uniforms.uTroikaFillOpacity.value = fillOpacity == null ? 1 : fillOpacity;\n          uniforms.uTroikaCurveRadius.value = this.curveRadius || 0;\n\n          let clipRect = this.clipRect;\n          if (clipRect && Array.isArray(clipRect) && clipRect.length === 4) {\n            uniforms.uTroikaClipRect.value.fromArray(clipRect);\n          } else {\n            // no clipping - choose a finite rect that shouldn't ever be reached by overflowing glyphs or outlines\n            const pad = (this.fontSize || 0.1) * 100;\n            uniforms.uTroikaClipRect.value.set(\n              blockBounds[0] - pad,\n              blockBounds[1] - pad,\n              blockBounds[2] + pad,\n              blockBounds[3] + pad\n            );\n          }\n          this.geometry.applyClipRect(uniforms.uTroikaClipRect.value);\n        }\n        uniforms.uTroikaSDFDebug.value = !!this.debugSDF;\n        material.polygonOffset = !!this.depthOffset;\n        material.polygonOffsetFactor = material.polygonOffsetUnits = this.depthOffset || 0;\n\n        // Shortcut for setting material color via `color` prop on the mesh; this is\n        // applied only to the derived material to avoid mutating a shared base material.\n        const color = isOutline ? (this.outlineColor || 0) : this.color;\n\n        if (color == null) {\n          delete material.color; //inherit from base\n        } else {\n          const colorObj = material.hasOwnProperty('color') ? material.color : (material.color = new three.Color());\n          if (color !== colorObj._input || typeof color === 'object') {\n            colorObj.set(colorObj._input = color);\n          }\n        }\n\n        // base orientation\n        let orient = this.orientation || defaultOrient;\n        if (orient !== material._orientation) {\n          let rotMat = uniforms.uTroikaOrient.value;\n          orient = orient.replace(/[^-+xyz]/g, '');\n          let match = orient !== defaultOrient && orient.match(/^([-+])([xyz])([-+])([xyz])$/);\n          if (match) {\n            let [, hSign, hAxis, vSign, vAxis] = match;\n            tempVec3a.set(0, 0, 0)[hAxis] = hSign === '-' ? 1 : -1;\n            tempVec3b.set(0, 0, 0)[vAxis] = vSign === '-' ? -1 : 1;\n            tempMat4.lookAt(origin, tempVec3a.cross(tempVec3b), tempVec3b);\n            rotMat.setFromMatrix4(tempMat4);\n          } else {\n            rotMat.identity();\n          }\n          material._orientation = orient;\n        }\n      }\n\n      _parsePercent(value) {\n        if (typeof value === 'string') {\n          let match = value.match(/^(-?[\\d.]+)%$/);\n          let pct = match ? parseFloat(match[1]) : NaN;\n          value = (isNaN(pct) ? 0 : pct / 100) * this.fontSize;\n        }\n        return value\n      }\n\n      /**\n       * Translate a point in local space to an x/y in the text plane.\n       */\n      localPositionToTextCoords(position, target = new three.Vector2()) {\n        target.copy(position); //simple non-curved case is 1:1\n        const r = this.curveRadius;\n        if (r) { //flatten the curve\n          target.x = Math.atan2(position.x, Math.abs(r) - Math.abs(position.z)) * Math.abs(r);\n        }\n        return target\n      }\n\n      /**\n       * Translate a point in world space to an x/y in the text plane.\n       */\n      worldPositionToTextCoords(position, target = new three.Vector2()) {\n        tempVec3a.copy(position);\n        return this.localPositionToTextCoords(this.worldToLocal(tempVec3a), target)\n      }\n\n      /**\n       * @override Custom raycasting to test against the whole text block's max rectangular bounds\n       * TODO is there any reason to make this more granular, like within individual line or glyph rects?\n       */\n      raycast(raycaster, intersects) {\n        const {textRenderInfo, curveRadius} = this;\n        if (textRenderInfo) {\n          const bounds = textRenderInfo.blockBounds;\n          const raycastMesh = curveRadius ? getCurvedRaycastMesh() : getFlatRaycastMesh();\n          const geom = raycastMesh.geometry;\n          const {position, uv} = geom.attributes;\n          for (let i = 0; i < uv.count; i++) {\n            let x = bounds[0] + (uv.getX(i) * (bounds[2] - bounds[0]));\n            const y = bounds[1] + (uv.getY(i) * (bounds[3] - bounds[1]));\n            let z = 0;\n            if (curveRadius) {\n              z = curveRadius - Math.cos(x / curveRadius) * curveRadius;\n              x = Math.sin(x / curveRadius) * curveRadius;\n            }\n            position.setXYZ(i, x, y, z);\n          }\n          geom.boundingSphere = this.geometry.boundingSphere;\n          geom.boundingBox = this.geometry.boundingBox;\n          raycastMesh.matrixWorld = this.matrixWorld;\n          raycastMesh.material.side = this.material.side;\n          tempArray.length = 0;\n          raycastMesh.raycast(raycaster, tempArray);\n          for (let i = 0; i < tempArray.length; i++) {\n            tempArray[i].object = this;\n            intersects.push(tempArray[i]);\n          }\n        }\n      }\n\n      copy(source) {\n        // Prevent copying the geometry reference so we don't end up sharing attributes between instances\n        const geom = this.geometry;\n        super.copy(source);\n        this.geometry = geom;\n\n        COPYABLE_PROPS.forEach(prop => {\n          this[prop] = source[prop];\n        });\n        return this\n      }\n\n      clone() {\n        return new this.constructor().copy(this)\n      }\n    }\n\n\n    // Create setters for properties that affect text layout:\n    SYNCABLE_PROPS.forEach(prop => {\n      const privateKey = '_private_' + prop;\n      Object.defineProperty(Text.prototype, prop, {\n        get() {\n          return this[privateKey]\n        },\n        set(value) {\n          if (value !== this[privateKey]) {\n            this[privateKey] = value;\n            this._needsSync = true;\n          }\n        }\n      });\n    });\n\n\n    // Deprecation handler for `anchor` array:\n    let deprMsgShown = false;\n    Object.defineProperty(Text.prototype, 'anchor', {\n      get() {\n        return this._deprecated_anchor\n      },\n      set(val) {\n        this._deprecated_anchor = val;\n        if (!deprMsgShown) {\n          console.warn('TextMesh: `anchor` has been deprecated; use `anchorX` and `anchorY` instead.');\n          deprMsgShown = true;\n        }\n        if (Array.isArray(val)) {\n          this.anchorX = `${(+val[0] || 0) * 100}%`;\n          this.anchorY = `${(+val[1] || 0) * 100}%`;\n        } else {\n          this.anchorX = this.anchorY = 0;\n        }\n      }\n    });\n\n    return Text\n  })();\n\n  //=== Utility functions for dealing with carets and selection ranges ===//\n\n  /**\n   * @typedef {object} TextCaret\n   * @property {number} x - x position of the caret\n   * @property {number} y - y position of the caret's bottom\n   * @property {number} height - height of the caret\n   * @property {number} charIndex - the index in the original input string of this caret's target\n   *   character; the caret will be for the position _before_ that character.\n   */\n\n  /**\n   * Given a local x/y coordinate in the text block plane, find the nearest caret position.\n   * @param {TroikaTextRenderInfo} textRenderInfo - a result object from TextBuilder#getTextRenderInfo\n   * @param {number} x\n   * @param {number} y\n   * @return {TextCaret | null}\n   */\n  function getCaretAtPoint(textRenderInfo, x, y) {\n    let closestCaret = null;\n    const {caretHeight} = textRenderInfo;\n    const caretsByRow = groupCaretsByRow(textRenderInfo);\n\n    // Find nearest row by y first\n    let closestRowY = Infinity;\n    caretsByRow.forEach((carets, rowY) => {\n      if (Math.abs(y - (rowY + caretHeight / 2)) < Math.abs(y - (closestRowY + caretHeight / 2))) {\n        closestRowY = rowY;\n      }\n    });\n\n    // Then find closest caret by x within that row\n    caretsByRow.get(closestRowY).forEach(caret => {\n      if (!closestCaret || Math.abs(x - caret.x) < Math.abs(x - closestCaret.x)) {\n        closestCaret = caret;\n      }\n    });\n    return closestCaret\n  }\n\n\n  const _rectsCache = new WeakMap();\n\n  /**\n   * Given start and end character indexes, return a list of rectangles covering all the\n   * characters within that selection.\n   * @param {TroikaTextRenderInfo} textRenderInfo\n   * @param {number} start - index of the first char in the selection\n   * @param {number} end - index of the first char after the selection\n   * @return {Array<{left, top, right, bottom}> | null}\n   */\n  function getSelectionRects(textRenderInfo, start, end) {\n    let rects;\n    if (textRenderInfo) {\n      // Check cache - textRenderInfo is frozen so it's safe to cache based on it\n      let prevResult = _rectsCache.get(textRenderInfo);\n      if (prevResult && prevResult.start === start && prevResult.end === end) {\n        return prevResult.rects\n      }\n\n      const {caretPositions, caretHeight} = textRenderInfo;\n\n      // Normalize\n      if (end < start) {\n        const s = start;\n        start = end;\n        end = s;\n      }\n      start = Math.max(start, 0);\n      end = Math.min(end, caretPositions.length + 1);\n\n      // Build list of rects, expanding the current rect for all characters in a run and starting\n      // a new rect whenever reaching a new line or a new bidi direction\n      rects = [];\n      let currentRect = null;\n      for (let i = start; i < end; i++) {\n        const x1 = caretPositions[i * 3];\n        const x2 = caretPositions[i * 3 + 1];\n        const left = Math.min(x1, x2);\n        const right = Math.max(x1, x2);\n        const bottom = caretPositions[i * 3 + 2];\n        if (!currentRect || bottom !== currentRect.bottom || left > currentRect.right || right < currentRect.left) {\n          currentRect = {\n            left: Infinity,\n            right: -Infinity,\n            bottom: bottom,\n            top: bottom + caretHeight\n          };\n          rects.push(currentRect);\n        }\n        currentRect.left = Math.min(left, currentRect.left);\n        currentRect.right = Math.max(right, currentRect.right);\n      }\n\n      // Merge any overlapping rects, e.g. those formed by adjacent bidi runs\n      rects.sort((a, b) => b.bottom - a.bottom || a.left - b.left);\n      for (let i = rects.length - 1; i-- > 0;) {\n        const rectA = rects[i];\n        const rectB = rects[i + 1];\n        if (rectA.bottom === rectB.bottom && rectA.left <= rectB.right && rectA.right >= rectB.left) {\n          rectB.left = Math.min(rectB.left, rectA.left);\n          rectB.right = Math.max(rectB.right, rectA.right);\n          rects.splice(i, 1);\n        }\n      }\n\n      _rectsCache.set(textRenderInfo, {start, end, rects});\n    }\n    return rects\n  }\n\n  const _caretsByRowCache = new WeakMap();\n\n  function groupCaretsByRow(textRenderInfo) {\n    // textRenderInfo is frozen so it's safe to cache based on it\n    let caretsByRow = _caretsByRowCache.get(textRenderInfo);\n    if (!caretsByRow) {\n      const {caretPositions, caretHeight} = textRenderInfo;\n      caretsByRow = new Map();\n      for (let i = 0; i < caretPositions.length; i += 3) {\n        const rowY = caretPositions[i + 2];\n        let rowCarets = caretsByRow.get(rowY);\n        if (!rowCarets) {\n          caretsByRow.set(rowY, rowCarets = []);\n        }\n        rowCarets.push({\n          x: caretPositions[i],\n          y: rowY,\n          height: caretHeight,\n          charIndex: i / 3\n        });\n        // Add one more caret after the final char\n        if (i + 3 >= caretPositions.length) {\n          rowCarets.push({\n            x: caretPositions[i + 1],\n            y: rowY,\n            height: caretHeight,\n            charIndex: i / 3 + 1\n          });\n        }\n      }\n    }\n    _caretsByRowCache.set(textRenderInfo, caretsByRow);\n    return caretsByRow\n  }\n\n  exports.GlyphsGeometry = GlyphsGeometry;\n  exports.Text = Text;\n  exports.configureTextBuilder = configureTextBuilder;\n  exports.createTextDerivedMaterial = createTextDerivedMaterial;\n  exports.dumpSDFTextures = dumpSDFTextures;\n  exports.getCaretAtPoint = getCaretAtPoint;\n  exports.getSelectionRects = getSelectionRects;\n  exports.preloadFont = preloadFont;\n  exports.typesetterWorkerModule = typesetterWorkerModule;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n})));\n","/*!\n * Chart.js v3.9.1\n * https://www.chartjs.org\n * (c) 2022 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\ntypeof define === 'function' && define.amd ? define(factory) :\n(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.Chart = factory());\n})(this, (function () { 'use strict';\n\nfunction noop() {}\nconst uid = (function() {\n  let id = 0;\n  return function() {\n    return id++;\n  };\n}());\nfunction isNullOrUndef(value) {\n  return value === null || typeof value === 'undefined';\n}\nfunction isArray(value) {\n  if (Array.isArray && Array.isArray(value)) {\n    return true;\n  }\n  const type = Object.prototype.toString.call(value);\n  if (type.slice(0, 7) === '[object' && type.slice(-6) === 'Array]') {\n    return true;\n  }\n  return false;\n}\nfunction isObject(value) {\n  return value !== null && Object.prototype.toString.call(value) === '[object Object]';\n}\nconst isNumberFinite = (value) => (typeof value === 'number' || value instanceof Number) && isFinite(+value);\nfunction finiteOrDefault(value, defaultValue) {\n  return isNumberFinite(value) ? value : defaultValue;\n}\nfunction valueOrDefault(value, defaultValue) {\n  return typeof value === 'undefined' ? defaultValue : value;\n}\nconst toPercentage = (value, dimension) =>\n  typeof value === 'string' && value.endsWith('%') ?\n    parseFloat(value) / 100\n    : value / dimension;\nconst toDimension = (value, dimension) =>\n  typeof value === 'string' && value.endsWith('%') ?\n    parseFloat(value) / 100 * dimension\n    : +value;\nfunction callback(fn, args, thisArg) {\n  if (fn && typeof fn.call === 'function') {\n    return fn.apply(thisArg, args);\n  }\n}\nfunction each(loopable, fn, thisArg, reverse) {\n  let i, len, keys;\n  if (isArray(loopable)) {\n    len = loopable.length;\n    if (reverse) {\n      for (i = len - 1; i >= 0; i--) {\n        fn.call(thisArg, loopable[i], i);\n      }\n    } else {\n      for (i = 0; i < len; i++) {\n        fn.call(thisArg, loopable[i], i);\n      }\n    }\n  } else if (isObject(loopable)) {\n    keys = Object.keys(loopable);\n    len = keys.length;\n    for (i = 0; i < len; i++) {\n      fn.call(thisArg, loopable[keys[i]], keys[i]);\n    }\n  }\n}\nfunction _elementsEqual(a0, a1) {\n  let i, ilen, v0, v1;\n  if (!a0 || !a1 || a0.length !== a1.length) {\n    return false;\n  }\n  for (i = 0, ilen = a0.length; i < ilen; ++i) {\n    v0 = a0[i];\n    v1 = a1[i];\n    if (v0.datasetIndex !== v1.datasetIndex || v0.index !== v1.index) {\n      return false;\n    }\n  }\n  return true;\n}\nfunction clone$1(source) {\n  if (isArray(source)) {\n    return source.map(clone$1);\n  }\n  if (isObject(source)) {\n    const target = Object.create(null);\n    const keys = Object.keys(source);\n    const klen = keys.length;\n    let k = 0;\n    for (; k < klen; ++k) {\n      target[keys[k]] = clone$1(source[keys[k]]);\n    }\n    return target;\n  }\n  return source;\n}\nfunction isValidKey(key) {\n  return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;\n}\nfunction _merger(key, target, source, options) {\n  if (!isValidKey(key)) {\n    return;\n  }\n  const tval = target[key];\n  const sval = source[key];\n  if (isObject(tval) && isObject(sval)) {\n    merge(tval, sval, options);\n  } else {\n    target[key] = clone$1(sval);\n  }\n}\nfunction merge(target, source, options) {\n  const sources = isArray(source) ? source : [source];\n  const ilen = sources.length;\n  if (!isObject(target)) {\n    return target;\n  }\n  options = options || {};\n  const merger = options.merger || _merger;\n  for (let i = 0; i < ilen; ++i) {\n    source = sources[i];\n    if (!isObject(source)) {\n      continue;\n    }\n    const keys = Object.keys(source);\n    for (let k = 0, klen = keys.length; k < klen; ++k) {\n      merger(keys[k], target, source, options);\n    }\n  }\n  return target;\n}\nfunction mergeIf(target, source) {\n  return merge(target, source, {merger: _mergerIf});\n}\nfunction _mergerIf(key, target, source) {\n  if (!isValidKey(key)) {\n    return;\n  }\n  const tval = target[key];\n  const sval = source[key];\n  if (isObject(tval) && isObject(sval)) {\n    mergeIf(tval, sval);\n  } else if (!Object.prototype.hasOwnProperty.call(target, key)) {\n    target[key] = clone$1(sval);\n  }\n}\nfunction _deprecated(scope, value, previous, current) {\n  if (value !== undefined) {\n    console.warn(scope + ': \"' + previous +\n\t\t\t'\" is deprecated. Please use \"' + current + '\" instead');\n  }\n}\nconst keyResolvers = {\n  '': v => v,\n  x: o => o.x,\n  y: o => o.y\n};\nfunction resolveObjectKey(obj, key) {\n  const resolver = keyResolvers[key] || (keyResolvers[key] = _getKeyResolver(key));\n  return resolver(obj);\n}\nfunction _getKeyResolver(key) {\n  const keys = _splitKey(key);\n  return obj => {\n    for (const k of keys) {\n      if (k === '') {\n        break;\n      }\n      obj = obj && obj[k];\n    }\n    return obj;\n  };\n}\nfunction _splitKey(key) {\n  const parts = key.split('.');\n  const keys = [];\n  let tmp = '';\n  for (const part of parts) {\n    tmp += part;\n    if (tmp.endsWith('\\\\')) {\n      tmp = tmp.slice(0, -1) + '.';\n    } else {\n      keys.push(tmp);\n      tmp = '';\n    }\n  }\n  return keys;\n}\nfunction _capitalize(str) {\n  return str.charAt(0).toUpperCase() + str.slice(1);\n}\nconst defined = (value) => typeof value !== 'undefined';\nconst isFunction = (value) => typeof value === 'function';\nconst setsEqual = (a, b) => {\n  if (a.size !== b.size) {\n    return false;\n  }\n  for (const item of a) {\n    if (!b.has(item)) {\n      return false;\n    }\n  }\n  return true;\n};\nfunction _isClickEvent(e) {\n  return e.type === 'mouseup' || e.type === 'click' || e.type === 'contextmenu';\n}\n\nconst PI = Math.PI;\nconst TAU = 2 * PI;\nconst PITAU = TAU + PI;\nconst INFINITY = Number.POSITIVE_INFINITY;\nconst RAD_PER_DEG = PI / 180;\nconst HALF_PI = PI / 2;\nconst QUARTER_PI = PI / 4;\nconst TWO_THIRDS_PI = PI * 2 / 3;\nconst log10 = Math.log10;\nconst sign = Math.sign;\nfunction niceNum(range) {\n  const roundedRange = Math.round(range);\n  range = almostEquals(range, roundedRange, range / 1000) ? roundedRange : range;\n  const niceRange = Math.pow(10, Math.floor(log10(range)));\n  const fraction = range / niceRange;\n  const niceFraction = fraction <= 1 ? 1 : fraction <= 2 ? 2 : fraction <= 5 ? 5 : 10;\n  return niceFraction * niceRange;\n}\nfunction _factorize(value) {\n  const result = [];\n  const sqrt = Math.sqrt(value);\n  let i;\n  for (i = 1; i < sqrt; i++) {\n    if (value % i === 0) {\n      result.push(i);\n      result.push(value / i);\n    }\n  }\n  if (sqrt === (sqrt | 0)) {\n    result.push(sqrt);\n  }\n  result.sort((a, b) => a - b).pop();\n  return result;\n}\nfunction isNumber(n) {\n  return !isNaN(parseFloat(n)) && isFinite(n);\n}\nfunction almostEquals(x, y, epsilon) {\n  return Math.abs(x - y) < epsilon;\n}\nfunction almostWhole(x, epsilon) {\n  const rounded = Math.round(x);\n  return ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);\n}\nfunction _setMinAndMaxByKey(array, target, property) {\n  let i, ilen, value;\n  for (i = 0, ilen = array.length; i < ilen; i++) {\n    value = array[i][property];\n    if (!isNaN(value)) {\n      target.min = Math.min(target.min, value);\n      target.max = Math.max(target.max, value);\n    }\n  }\n}\nfunction toRadians(degrees) {\n  return degrees * (PI / 180);\n}\nfunction toDegrees(radians) {\n  return radians * (180 / PI);\n}\nfunction _decimalPlaces(x) {\n  if (!isNumberFinite(x)) {\n    return;\n  }\n  let e = 1;\n  let p = 0;\n  while (Math.round(x * e) / e !== x) {\n    e *= 10;\n    p++;\n  }\n  return p;\n}\nfunction getAngleFromPoint(centrePoint, anglePoint) {\n  const distanceFromXCenter = anglePoint.x - centrePoint.x;\n  const distanceFromYCenter = anglePoint.y - centrePoint.y;\n  const radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\n  let angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\n  if (angle < (-0.5 * PI)) {\n    angle += TAU;\n  }\n  return {\n    angle,\n    distance: radialDistanceFromCenter\n  };\n}\nfunction distanceBetweenPoints(pt1, pt2) {\n  return Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\n}\nfunction _angleDiff(a, b) {\n  return (a - b + PITAU) % TAU - PI;\n}\nfunction _normalizeAngle(a) {\n  return (a % TAU + TAU) % TAU;\n}\nfunction _angleBetween(angle, start, end, sameAngleIsFullCircle) {\n  const a = _normalizeAngle(angle);\n  const s = _normalizeAngle(start);\n  const e = _normalizeAngle(end);\n  const angleToStart = _normalizeAngle(s - a);\n  const angleToEnd = _normalizeAngle(e - a);\n  const startToAngle = _normalizeAngle(a - s);\n  const endToAngle = _normalizeAngle(a - e);\n  return a === s || a === e || (sameAngleIsFullCircle && s === e)\n    || (angleToStart > angleToEnd && startToAngle < endToAngle);\n}\nfunction _limitValue(value, min, max) {\n  return Math.max(min, Math.min(max, value));\n}\nfunction _int16Range(value) {\n  return _limitValue(value, -32768, 32767);\n}\nfunction _isBetween(value, start, end, epsilon = 1e-6) {\n  return value >= Math.min(start, end) - epsilon && value <= Math.max(start, end) + epsilon;\n}\n\nfunction _lookup(table, value, cmp) {\n  cmp = cmp || ((index) => table[index] < value);\n  let hi = table.length - 1;\n  let lo = 0;\n  let mid;\n  while (hi - lo > 1) {\n    mid = (lo + hi) >> 1;\n    if (cmp(mid)) {\n      lo = mid;\n    } else {\n      hi = mid;\n    }\n  }\n  return {lo, hi};\n}\nconst _lookupByKey = (table, key, value, last) =>\n  _lookup(table, value, last\n    ? index => table[index][key] <= value\n    : index => table[index][key] < value);\nconst _rlookupByKey = (table, key, value) =>\n  _lookup(table, value, index => table[index][key] >= value);\nfunction _filterBetween(values, min, max) {\n  let start = 0;\n  let end = values.length;\n  while (start < end && values[start] < min) {\n    start++;\n  }\n  while (end > start && values[end - 1] > max) {\n    end--;\n  }\n  return start > 0 || end < values.length\n    ? values.slice(start, end)\n    : values;\n}\nconst arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\nfunction listenArrayEvents(array, listener) {\n  if (array._chartjs) {\n    array._chartjs.listeners.push(listener);\n    return;\n  }\n  Object.defineProperty(array, '_chartjs', {\n    configurable: true,\n    enumerable: false,\n    value: {\n      listeners: [listener]\n    }\n  });\n  arrayEvents.forEach((key) => {\n    const method = '_onData' + _capitalize(key);\n    const base = array[key];\n    Object.defineProperty(array, key, {\n      configurable: true,\n      enumerable: false,\n      value(...args) {\n        const res = base.apply(this, args);\n        array._chartjs.listeners.forEach((object) => {\n          if (typeof object[method] === 'function') {\n            object[method](...args);\n          }\n        });\n        return res;\n      }\n    });\n  });\n}\nfunction unlistenArrayEvents(array, listener) {\n  const stub = array._chartjs;\n  if (!stub) {\n    return;\n  }\n  const listeners = stub.listeners;\n  const index = listeners.indexOf(listener);\n  if (index !== -1) {\n    listeners.splice(index, 1);\n  }\n  if (listeners.length > 0) {\n    return;\n  }\n  arrayEvents.forEach((key) => {\n    delete array[key];\n  });\n  delete array._chartjs;\n}\nfunction _arrayUnique(items) {\n  const set = new Set();\n  let i, ilen;\n  for (i = 0, ilen = items.length; i < ilen; ++i) {\n    set.add(items[i]);\n  }\n  if (set.size === ilen) {\n    return items;\n  }\n  return Array.from(set);\n}\n\nfunction fontString(pixelSize, fontStyle, fontFamily) {\n  return fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\n}\nconst requestAnimFrame = (function() {\n  if (typeof window === 'undefined') {\n    return function(callback) {\n      return callback();\n    };\n  }\n  return window.requestAnimationFrame;\n}());\nfunction throttled(fn, thisArg, updateFn) {\n  const updateArgs = updateFn || ((args) => Array.prototype.slice.call(args));\n  let ticking = false;\n  let args = [];\n  return function(...rest) {\n    args = updateArgs(rest);\n    if (!ticking) {\n      ticking = true;\n      requestAnimFrame.call(window, () => {\n        ticking = false;\n        fn.apply(thisArg, args);\n      });\n    }\n  };\n}\nfunction debounce(fn, delay) {\n  let timeout;\n  return function(...args) {\n    if (delay) {\n      clearTimeout(timeout);\n      timeout = setTimeout(fn, delay, args);\n    } else {\n      fn.apply(this, args);\n    }\n    return delay;\n  };\n}\nconst _toLeftRightCenter = (align) => align === 'start' ? 'left' : align === 'end' ? 'right' : 'center';\nconst _alignStartEnd = (align, start, end) => align === 'start' ? start : align === 'end' ? end : (start + end) / 2;\nconst _textX = (align, left, right, rtl) => {\n  const check = rtl ? 'left' : 'right';\n  return align === check ? right : align === 'center' ? (left + right) / 2 : left;\n};\nfunction _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled) {\n  const pointCount = points.length;\n  let start = 0;\n  let count = pointCount;\n  if (meta._sorted) {\n    const {iScale, _parsed} = meta;\n    const axis = iScale.axis;\n    const {min, max, minDefined, maxDefined} = iScale.getUserBounds();\n    if (minDefined) {\n      start = _limitValue(Math.min(\n        _lookupByKey(_parsed, iScale.axis, min).lo,\n        animationsDisabled ? pointCount : _lookupByKey(points, axis, iScale.getPixelForValue(min)).lo),\n      0, pointCount - 1);\n    }\n    if (maxDefined) {\n      count = _limitValue(Math.max(\n        _lookupByKey(_parsed, iScale.axis, max, true).hi + 1,\n        animationsDisabled ? 0 : _lookupByKey(points, axis, iScale.getPixelForValue(max), true).hi + 1),\n      start, pointCount) - start;\n    } else {\n      count = pointCount - start;\n    }\n  }\n  return {start, count};\n}\nfunction _scaleRangesChanged(meta) {\n  const {xScale, yScale, _scaleRanges} = meta;\n  const newRanges = {\n    xmin: xScale.min,\n    xmax: xScale.max,\n    ymin: yScale.min,\n    ymax: yScale.max\n  };\n  if (!_scaleRanges) {\n    meta._scaleRanges = newRanges;\n    return true;\n  }\n  const changed = _scaleRanges.xmin !== xScale.min\n\t\t|| _scaleRanges.xmax !== xScale.max\n\t\t|| _scaleRanges.ymin !== yScale.min\n\t\t|| _scaleRanges.ymax !== yScale.max;\n  Object.assign(_scaleRanges, newRanges);\n  return changed;\n}\n\nclass Animator {\n  constructor() {\n    this._request = null;\n    this._charts = new Map();\n    this._running = false;\n    this._lastDate = undefined;\n  }\n  _notify(chart, anims, date, type) {\n    const callbacks = anims.listeners[type];\n    const numSteps = anims.duration;\n    callbacks.forEach(fn => fn({\n      chart,\n      initial: anims.initial,\n      numSteps,\n      currentStep: Math.min(date - anims.start, numSteps)\n    }));\n  }\n  _refresh() {\n    if (this._request) {\n      return;\n    }\n    this._running = true;\n    this._request = requestAnimFrame.call(window, () => {\n      this._update();\n      this._request = null;\n      if (this._running) {\n        this._refresh();\n      }\n    });\n  }\n  _update(date = Date.now()) {\n    let remaining = 0;\n    this._charts.forEach((anims, chart) => {\n      if (!anims.running || !anims.items.length) {\n        return;\n      }\n      const items = anims.items;\n      let i = items.length - 1;\n      let draw = false;\n      let item;\n      for (; i >= 0; --i) {\n        item = items[i];\n        if (item._active) {\n          if (item._total > anims.duration) {\n            anims.duration = item._total;\n          }\n          item.tick(date);\n          draw = true;\n        } else {\n          items[i] = items[items.length - 1];\n          items.pop();\n        }\n      }\n      if (draw) {\n        chart.draw();\n        this._notify(chart, anims, date, 'progress');\n      }\n      if (!items.length) {\n        anims.running = false;\n        this._notify(chart, anims, date, 'complete');\n        anims.initial = false;\n      }\n      remaining += items.length;\n    });\n    this._lastDate = date;\n    if (remaining === 0) {\n      this._running = false;\n    }\n  }\n  _getAnims(chart) {\n    const charts = this._charts;\n    let anims = charts.get(chart);\n    if (!anims) {\n      anims = {\n        running: false,\n        initial: true,\n        items: [],\n        listeners: {\n          complete: [],\n          progress: []\n        }\n      };\n      charts.set(chart, anims);\n    }\n    return anims;\n  }\n  listen(chart, event, cb) {\n    this._getAnims(chart).listeners[event].push(cb);\n  }\n  add(chart, items) {\n    if (!items || !items.length) {\n      return;\n    }\n    this._getAnims(chart).items.push(...items);\n  }\n  has(chart) {\n    return this._getAnims(chart).items.length > 0;\n  }\n  start(chart) {\n    const anims = this._charts.get(chart);\n    if (!anims) {\n      return;\n    }\n    anims.running = true;\n    anims.start = Date.now();\n    anims.duration = anims.items.reduce((acc, cur) => Math.max(acc, cur._duration), 0);\n    this._refresh();\n  }\n  running(chart) {\n    if (!this._running) {\n      return false;\n    }\n    const anims = this._charts.get(chart);\n    if (!anims || !anims.running || !anims.items.length) {\n      return false;\n    }\n    return true;\n  }\n  stop(chart) {\n    const anims = this._charts.get(chart);\n    if (!anims || !anims.items.length) {\n      return;\n    }\n    const items = anims.items;\n    let i = items.length - 1;\n    for (; i >= 0; --i) {\n      items[i].cancel();\n    }\n    anims.items = [];\n    this._notify(chart, anims, Date.now(), 'complete');\n  }\n  remove(chart) {\n    return this._charts.delete(chart);\n  }\n}\nvar animator = new Animator();\n\n/*!\n * @kurkle/color v0.2.1\n * https://github.com/kurkle/color#readme\n * (c) 2022 Jukka Kurkela\n * Released under the MIT License\n */\nfunction round(v) {\n  return v + 0.5 | 0;\n}\nconst lim = (v, l, h) => Math.max(Math.min(v, h), l);\nfunction p2b(v) {\n  return lim(round(v * 2.55), 0, 255);\n}\nfunction n2b(v) {\n  return lim(round(v * 255), 0, 255);\n}\nfunction b2n(v) {\n  return lim(round(v / 2.55) / 100, 0, 1);\n}\nfunction n2p(v) {\n  return lim(round(v * 100), 0, 100);\n}\nconst map$1 = {0: 0, 1: 1, 2: 2, 3: 3, 4: 4, 5: 5, 6: 6, 7: 7, 8: 8, 9: 9, A: 10, B: 11, C: 12, D: 13, E: 14, F: 15, a: 10, b: 11, c: 12, d: 13, e: 14, f: 15};\nconst hex = [...'0123456789ABCDEF'];\nconst h1 = b => hex[b & 0xF];\nconst h2 = b => hex[(b & 0xF0) >> 4] + hex[b & 0xF];\nconst eq = b => ((b & 0xF0) >> 4) === (b & 0xF);\nconst isShort = v => eq(v.r) && eq(v.g) && eq(v.b) && eq(v.a);\nfunction hexParse(str) {\n  var len = str.length;\n  var ret;\n  if (str[0] === '#') {\n    if (len === 4 || len === 5) {\n      ret = {\n        r: 255 & map$1[str[1]] * 17,\n        g: 255 & map$1[str[2]] * 17,\n        b: 255 & map$1[str[3]] * 17,\n        a: len === 5 ? map$1[str[4]] * 17 : 255\n      };\n    } else if (len === 7 || len === 9) {\n      ret = {\n        r: map$1[str[1]] << 4 | map$1[str[2]],\n        g: map$1[str[3]] << 4 | map$1[str[4]],\n        b: map$1[str[5]] << 4 | map$1[str[6]],\n        a: len === 9 ? (map$1[str[7]] << 4 | map$1[str[8]]) : 255\n      };\n    }\n  }\n  return ret;\n}\nconst alpha = (a, f) => a < 255 ? f(a) : '';\nfunction hexString(v) {\n  var f = isShort(v) ? h1 : h2;\n  return v\n    ? '#' + f(v.r) + f(v.g) + f(v.b) + alpha(v.a, f)\n    : undefined;\n}\nconst HUE_RE = /^(hsla?|hwb|hsv)\\(\\s*([-+.e\\d]+)(?:deg)?[\\s,]+([-+.e\\d]+)%[\\s,]+([-+.e\\d]+)%(?:[\\s,]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction hsl2rgbn(h, s, l) {\n  const a = s * Math.min(l, 1 - l);\n  const f = (n, k = (n + h / 30) % 12) => l - a * Math.max(Math.min(k - 3, 9 - k, 1), -1);\n  return [f(0), f(8), f(4)];\n}\nfunction hsv2rgbn(h, s, v) {\n  const f = (n, k = (n + h / 60) % 6) => v - v * s * Math.max(Math.min(k, 4 - k, 1), 0);\n  return [f(5), f(3), f(1)];\n}\nfunction hwb2rgbn(h, w, b) {\n  const rgb = hsl2rgbn(h, 1, 0.5);\n  let i;\n  if (w + b > 1) {\n    i = 1 / (w + b);\n    w *= i;\n    b *= i;\n  }\n  for (i = 0; i < 3; i++) {\n    rgb[i] *= 1 - w - b;\n    rgb[i] += w;\n  }\n  return rgb;\n}\nfunction hueValue(r, g, b, d, max) {\n  if (r === max) {\n    return ((g - b) / d) + (g < b ? 6 : 0);\n  }\n  if (g === max) {\n    return (b - r) / d + 2;\n  }\n  return (r - g) / d + 4;\n}\nfunction rgb2hsl(v) {\n  const range = 255;\n  const r = v.r / range;\n  const g = v.g / range;\n  const b = v.b / range;\n  const max = Math.max(r, g, b);\n  const min = Math.min(r, g, b);\n  const l = (max + min) / 2;\n  let h, s, d;\n  if (max !== min) {\n    d = max - min;\n    s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n    h = hueValue(r, g, b, d, max);\n    h = h * 60 + 0.5;\n  }\n  return [h | 0, s || 0, l];\n}\nfunction calln(f, a, b, c) {\n  return (\n    Array.isArray(a)\n      ? f(a[0], a[1], a[2])\n      : f(a, b, c)\n  ).map(n2b);\n}\nfunction hsl2rgb(h, s, l) {\n  return calln(hsl2rgbn, h, s, l);\n}\nfunction hwb2rgb(h, w, b) {\n  return calln(hwb2rgbn, h, w, b);\n}\nfunction hsv2rgb(h, s, v) {\n  return calln(hsv2rgbn, h, s, v);\n}\nfunction hue(h) {\n  return (h % 360 + 360) % 360;\n}\nfunction hueParse(str) {\n  const m = HUE_RE.exec(str);\n  let a = 255;\n  let v;\n  if (!m) {\n    return;\n  }\n  if (m[5] !== v) {\n    a = m[6] ? p2b(+m[5]) : n2b(+m[5]);\n  }\n  const h = hue(+m[2]);\n  const p1 = +m[3] / 100;\n  const p2 = +m[4] / 100;\n  if (m[1] === 'hwb') {\n    v = hwb2rgb(h, p1, p2);\n  } else if (m[1] === 'hsv') {\n    v = hsv2rgb(h, p1, p2);\n  } else {\n    v = hsl2rgb(h, p1, p2);\n  }\n  return {\n    r: v[0],\n    g: v[1],\n    b: v[2],\n    a: a\n  };\n}\nfunction rotate(v, deg) {\n  var h = rgb2hsl(v);\n  h[0] = hue(h[0] + deg);\n  h = hsl2rgb(h);\n  v.r = h[0];\n  v.g = h[1];\n  v.b = h[2];\n}\nfunction hslString(v) {\n  if (!v) {\n    return;\n  }\n  const a = rgb2hsl(v);\n  const h = a[0];\n  const s = n2p(a[1]);\n  const l = n2p(a[2]);\n  return v.a < 255\n    ? `hsla(${h}, ${s}%, ${l}%, ${b2n(v.a)})`\n    : `hsl(${h}, ${s}%, ${l}%)`;\n}\nconst map$2 = {\n  x: 'dark',\n  Z: 'light',\n  Y: 're',\n  X: 'blu',\n  W: 'gr',\n  V: 'medium',\n  U: 'slate',\n  A: 'ee',\n  T: 'ol',\n  S: 'or',\n  B: 'ra',\n  C: 'lateg',\n  D: 'ights',\n  R: 'in',\n  Q: 'turquois',\n  E: 'hi',\n  P: 'ro',\n  O: 'al',\n  N: 'le',\n  M: 'de',\n  L: 'yello',\n  F: 'en',\n  K: 'ch',\n  G: 'arks',\n  H: 'ea',\n  I: 'ightg',\n  J: 'wh'\n};\nconst names$1 = {\n  OiceXe: 'f0f8ff',\n  antiquewEte: 'faebd7',\n  aqua: 'ffff',\n  aquamarRe: '7fffd4',\n  azuY: 'f0ffff',\n  beige: 'f5f5dc',\n  bisque: 'ffe4c4',\n  black: '0',\n  blanKedOmond: 'ffebcd',\n  Xe: 'ff',\n  XeviTet: '8a2be2',\n  bPwn: 'a52a2a',\n  burlywood: 'deb887',\n  caMtXe: '5f9ea0',\n  KartYuse: '7fff00',\n  KocTate: 'd2691e',\n  cSO: 'ff7f50',\n  cSnflowerXe: '6495ed',\n  cSnsilk: 'fff8dc',\n  crimson: 'dc143c',\n  cyan: 'ffff',\n  xXe: '8b',\n  xcyan: '8b8b',\n  xgTMnPd: 'b8860b',\n  xWay: 'a9a9a9',\n  xgYF: '6400',\n  xgYy: 'a9a9a9',\n  xkhaki: 'bdb76b',\n  xmagFta: '8b008b',\n  xTivegYF: '556b2f',\n  xSange: 'ff8c00',\n  xScEd: '9932cc',\n  xYd: '8b0000',\n  xsOmon: 'e9967a',\n  xsHgYF: '8fbc8f',\n  xUXe: '483d8b',\n  xUWay: '2f4f4f',\n  xUgYy: '2f4f4f',\n  xQe: 'ced1',\n  xviTet: '9400d3',\n  dAppRk: 'ff1493',\n  dApskyXe: 'bfff',\n  dimWay: '696969',\n  dimgYy: '696969',\n  dodgerXe: '1e90ff',\n  fiYbrick: 'b22222',\n  flSOwEte: 'fffaf0',\n  foYstWAn: '228b22',\n  fuKsia: 'ff00ff',\n  gaRsbSo: 'dcdcdc',\n  ghostwEte: 'f8f8ff',\n  gTd: 'ffd700',\n  gTMnPd: 'daa520',\n  Way: '808080',\n  gYF: '8000',\n  gYFLw: 'adff2f',\n  gYy: '808080',\n  honeyMw: 'f0fff0',\n  hotpRk: 'ff69b4',\n  RdianYd: 'cd5c5c',\n  Rdigo: '4b0082',\n  ivSy: 'fffff0',\n  khaki: 'f0e68c',\n  lavFMr: 'e6e6fa',\n  lavFMrXsh: 'fff0f5',\n  lawngYF: '7cfc00',\n  NmoncEffon: 'fffacd',\n  ZXe: 'add8e6',\n  ZcSO: 'f08080',\n  Zcyan: 'e0ffff',\n  ZgTMnPdLw: 'fafad2',\n  ZWay: 'd3d3d3',\n  ZgYF: '90ee90',\n  ZgYy: 'd3d3d3',\n  ZpRk: 'ffb6c1',\n  ZsOmon: 'ffa07a',\n  ZsHgYF: '20b2aa',\n  ZskyXe: '87cefa',\n  ZUWay: '778899',\n  ZUgYy: '778899',\n  ZstAlXe: 'b0c4de',\n  ZLw: 'ffffe0',\n  lime: 'ff00',\n  limegYF: '32cd32',\n  lRF: 'faf0e6',\n  magFta: 'ff00ff',\n  maPon: '800000',\n  VaquamarRe: '66cdaa',\n  VXe: 'cd',\n  VScEd: 'ba55d3',\n  VpurpN: '9370db',\n  VsHgYF: '3cb371',\n  VUXe: '7b68ee',\n  VsprRggYF: 'fa9a',\n  VQe: '48d1cc',\n  VviTetYd: 'c71585',\n  midnightXe: '191970',\n  mRtcYam: 'f5fffa',\n  mistyPse: 'ffe4e1',\n  moccasR: 'ffe4b5',\n  navajowEte: 'ffdead',\n  navy: '80',\n  Tdlace: 'fdf5e6',\n  Tive: '808000',\n  TivedBb: '6b8e23',\n  Sange: 'ffa500',\n  SangeYd: 'ff4500',\n  ScEd: 'da70d6',\n  pOegTMnPd: 'eee8aa',\n  pOegYF: '98fb98',\n  pOeQe: 'afeeee',\n  pOeviTetYd: 'db7093',\n  papayawEp: 'ffefd5',\n  pHKpuff: 'ffdab9',\n  peru: 'cd853f',\n  pRk: 'ffc0cb',\n  plum: 'dda0dd',\n  powMrXe: 'b0e0e6',\n  purpN: '800080',\n  YbeccapurpN: '663399',\n  Yd: 'ff0000',\n  Psybrown: 'bc8f8f',\n  PyOXe: '4169e1',\n  saddNbPwn: '8b4513',\n  sOmon: 'fa8072',\n  sandybPwn: 'f4a460',\n  sHgYF: '2e8b57',\n  sHshell: 'fff5ee',\n  siFna: 'a0522d',\n  silver: 'c0c0c0',\n  skyXe: '87ceeb',\n  UXe: '6a5acd',\n  UWay: '708090',\n  UgYy: '708090',\n  snow: 'fffafa',\n  sprRggYF: 'ff7f',\n  stAlXe: '4682b4',\n  tan: 'd2b48c',\n  teO: '8080',\n  tEstN: 'd8bfd8',\n  tomato: 'ff6347',\n  Qe: '40e0d0',\n  viTet: 'ee82ee',\n  JHt: 'f5deb3',\n  wEte: 'ffffff',\n  wEtesmoke: 'f5f5f5',\n  Lw: 'ffff00',\n  LwgYF: '9acd32'\n};\nfunction unpack() {\n  const unpacked = {};\n  const keys = Object.keys(names$1);\n  const tkeys = Object.keys(map$2);\n  let i, j, k, ok, nk;\n  for (i = 0; i < keys.length; i++) {\n    ok = nk = keys[i];\n    for (j = 0; j < tkeys.length; j++) {\n      k = tkeys[j];\n      nk = nk.replace(k, map$2[k]);\n    }\n    k = parseInt(names$1[ok], 16);\n    unpacked[nk] = [k >> 16 & 0xFF, k >> 8 & 0xFF, k & 0xFF];\n  }\n  return unpacked;\n}\nlet names;\nfunction nameParse(str) {\n  if (!names) {\n    names = unpack();\n    names.transparent = [0, 0, 0, 0];\n  }\n  const a = names[str.toLowerCase()];\n  return a && {\n    r: a[0],\n    g: a[1],\n    b: a[2],\n    a: a.length === 4 ? a[3] : 255\n  };\n}\nconst RGB_RE = /^rgba?\\(\\s*([-+.\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?[\\s,]+([-+.e\\d]+)(%)?(?:[\\s,/]+([-+.e\\d]+)(%)?)?\\s*\\)$/;\nfunction rgbParse(str) {\n  const m = RGB_RE.exec(str);\n  let a = 255;\n  let r, g, b;\n  if (!m) {\n    return;\n  }\n  if (m[7] !== r) {\n    const v = +m[7];\n    a = m[8] ? p2b(v) : lim(v * 255, 0, 255);\n  }\n  r = +m[1];\n  g = +m[3];\n  b = +m[5];\n  r = 255 & (m[2] ? p2b(r) : lim(r, 0, 255));\n  g = 255 & (m[4] ? p2b(g) : lim(g, 0, 255));\n  b = 255 & (m[6] ? p2b(b) : lim(b, 0, 255));\n  return {\n    r: r,\n    g: g,\n    b: b,\n    a: a\n  };\n}\nfunction rgbString(v) {\n  return v && (\n    v.a < 255\n      ? `rgba(${v.r}, ${v.g}, ${v.b}, ${b2n(v.a)})`\n      : `rgb(${v.r}, ${v.g}, ${v.b})`\n  );\n}\nconst to = v => v <= 0.0031308 ? v * 12.92 : Math.pow(v, 1.0 / 2.4) * 1.055 - 0.055;\nconst from = v => v <= 0.04045 ? v / 12.92 : Math.pow((v + 0.055) / 1.055, 2.4);\nfunction interpolate$1(rgb1, rgb2, t) {\n  const r = from(b2n(rgb1.r));\n  const g = from(b2n(rgb1.g));\n  const b = from(b2n(rgb1.b));\n  return {\n    r: n2b(to(r + t * (from(b2n(rgb2.r)) - r))),\n    g: n2b(to(g + t * (from(b2n(rgb2.g)) - g))),\n    b: n2b(to(b + t * (from(b2n(rgb2.b)) - b))),\n    a: rgb1.a + t * (rgb2.a - rgb1.a)\n  };\n}\nfunction modHSL(v, i, ratio) {\n  if (v) {\n    let tmp = rgb2hsl(v);\n    tmp[i] = Math.max(0, Math.min(tmp[i] + tmp[i] * ratio, i === 0 ? 360 : 1));\n    tmp = hsl2rgb(tmp);\n    v.r = tmp[0];\n    v.g = tmp[1];\n    v.b = tmp[2];\n  }\n}\nfunction clone(v, proto) {\n  return v ? Object.assign(proto || {}, v) : v;\n}\nfunction fromObject(input) {\n  var v = {r: 0, g: 0, b: 0, a: 255};\n  if (Array.isArray(input)) {\n    if (input.length >= 3) {\n      v = {r: input[0], g: input[1], b: input[2], a: 255};\n      if (input.length > 3) {\n        v.a = n2b(input[3]);\n      }\n    }\n  } else {\n    v = clone(input, {r: 0, g: 0, b: 0, a: 1});\n    v.a = n2b(v.a);\n  }\n  return v;\n}\nfunction functionParse(str) {\n  if (str.charAt(0) === 'r') {\n    return rgbParse(str);\n  }\n  return hueParse(str);\n}\nclass Color {\n  constructor(input) {\n    if (input instanceof Color) {\n      return input;\n    }\n    const type = typeof input;\n    let v;\n    if (type === 'object') {\n      v = fromObject(input);\n    } else if (type === 'string') {\n      v = hexParse(input) || nameParse(input) || functionParse(input);\n    }\n    this._rgb = v;\n    this._valid = !!v;\n  }\n  get valid() {\n    return this._valid;\n  }\n  get rgb() {\n    var v = clone(this._rgb);\n    if (v) {\n      v.a = b2n(v.a);\n    }\n    return v;\n  }\n  set rgb(obj) {\n    this._rgb = fromObject(obj);\n  }\n  rgbString() {\n    return this._valid ? rgbString(this._rgb) : undefined;\n  }\n  hexString() {\n    return this._valid ? hexString(this._rgb) : undefined;\n  }\n  hslString() {\n    return this._valid ? hslString(this._rgb) : undefined;\n  }\n  mix(color, weight) {\n    if (color) {\n      const c1 = this.rgb;\n      const c2 = color.rgb;\n      let w2;\n      const p = weight === w2 ? 0.5 : weight;\n      const w = 2 * p - 1;\n      const a = c1.a - c2.a;\n      const w1 = ((w * a === -1 ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n      w2 = 1 - w1;\n      c1.r = 0xFF & w1 * c1.r + w2 * c2.r + 0.5;\n      c1.g = 0xFF & w1 * c1.g + w2 * c2.g + 0.5;\n      c1.b = 0xFF & w1 * c1.b + w2 * c2.b + 0.5;\n      c1.a = p * c1.a + (1 - p) * c2.a;\n      this.rgb = c1;\n    }\n    return this;\n  }\n  interpolate(color, t) {\n    if (color) {\n      this._rgb = interpolate$1(this._rgb, color._rgb, t);\n    }\n    return this;\n  }\n  clone() {\n    return new Color(this.rgb);\n  }\n  alpha(a) {\n    this._rgb.a = n2b(a);\n    return this;\n  }\n  clearer(ratio) {\n    const rgb = this._rgb;\n    rgb.a *= 1 - ratio;\n    return this;\n  }\n  greyscale() {\n    const rgb = this._rgb;\n    const val = round(rgb.r * 0.3 + rgb.g * 0.59 + rgb.b * 0.11);\n    rgb.r = rgb.g = rgb.b = val;\n    return this;\n  }\n  opaquer(ratio) {\n    const rgb = this._rgb;\n    rgb.a *= 1 + ratio;\n    return this;\n  }\n  negate() {\n    const v = this._rgb;\n    v.r = 255 - v.r;\n    v.g = 255 - v.g;\n    v.b = 255 - v.b;\n    return this;\n  }\n  lighten(ratio) {\n    modHSL(this._rgb, 2, ratio);\n    return this;\n  }\n  darken(ratio) {\n    modHSL(this._rgb, 2, -ratio);\n    return this;\n  }\n  saturate(ratio) {\n    modHSL(this._rgb, 1, ratio);\n    return this;\n  }\n  desaturate(ratio) {\n    modHSL(this._rgb, 1, -ratio);\n    return this;\n  }\n  rotate(deg) {\n    rotate(this._rgb, deg);\n    return this;\n  }\n}\nfunction index_esm(input) {\n  return new Color(input);\n}\n\nfunction isPatternOrGradient(value) {\n  if (value && typeof value === 'object') {\n    const type = value.toString();\n    return type === '[object CanvasPattern]' || type === '[object CanvasGradient]';\n  }\n  return false;\n}\nfunction color(value) {\n  return isPatternOrGradient(value) ? value : index_esm(value);\n}\nfunction getHoverColor(value) {\n  return isPatternOrGradient(value)\n    ? value\n    : index_esm(value).saturate(0.5).darken(0.1).hexString();\n}\n\nconst overrides = Object.create(null);\nconst descriptors = Object.create(null);\nfunction getScope$1(node, key) {\n  if (!key) {\n    return node;\n  }\n  const keys = key.split('.');\n  for (let i = 0, n = keys.length; i < n; ++i) {\n    const k = keys[i];\n    node = node[k] || (node[k] = Object.create(null));\n  }\n  return node;\n}\nfunction set(root, scope, values) {\n  if (typeof scope === 'string') {\n    return merge(getScope$1(root, scope), values);\n  }\n  return merge(getScope$1(root, ''), scope);\n}\nclass Defaults {\n  constructor(_descriptors) {\n    this.animation = undefined;\n    this.backgroundColor = 'rgba(0,0,0,0.1)';\n    this.borderColor = 'rgba(0,0,0,0.1)';\n    this.color = '#666';\n    this.datasets = {};\n    this.devicePixelRatio = (context) => context.chart.platform.getDevicePixelRatio();\n    this.elements = {};\n    this.events = [\n      'mousemove',\n      'mouseout',\n      'click',\n      'touchstart',\n      'touchmove'\n    ];\n    this.font = {\n      family: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\n      size: 12,\n      style: 'normal',\n      lineHeight: 1.2,\n      weight: null\n    };\n    this.hover = {};\n    this.hoverBackgroundColor = (ctx, options) => getHoverColor(options.backgroundColor);\n    this.hoverBorderColor = (ctx, options) => getHoverColor(options.borderColor);\n    this.hoverColor = (ctx, options) => getHoverColor(options.color);\n    this.indexAxis = 'x';\n    this.interaction = {\n      mode: 'nearest',\n      intersect: true,\n      includeInvisible: false\n    };\n    this.maintainAspectRatio = true;\n    this.onHover = null;\n    this.onClick = null;\n    this.parsing = true;\n    this.plugins = {};\n    this.responsive = true;\n    this.scale = undefined;\n    this.scales = {};\n    this.showLine = true;\n    this.drawActiveElementsOnTop = true;\n    this.describe(_descriptors);\n  }\n  set(scope, values) {\n    return set(this, scope, values);\n  }\n  get(scope) {\n    return getScope$1(this, scope);\n  }\n  describe(scope, values) {\n    return set(descriptors, scope, values);\n  }\n  override(scope, values) {\n    return set(overrides, scope, values);\n  }\n  route(scope, name, targetScope, targetName) {\n    const scopeObject = getScope$1(this, scope);\n    const targetScopeObject = getScope$1(this, targetScope);\n    const privateName = '_' + name;\n    Object.defineProperties(scopeObject, {\n      [privateName]: {\n        value: scopeObject[name],\n        writable: true\n      },\n      [name]: {\n        enumerable: true,\n        get() {\n          const local = this[privateName];\n          const target = targetScopeObject[targetName];\n          if (isObject(local)) {\n            return Object.assign({}, target, local);\n          }\n          return valueOrDefault(local, target);\n        },\n        set(value) {\n          this[privateName] = value;\n        }\n      }\n    });\n  }\n}\nvar defaults = new Defaults({\n  _scriptable: (name) => !name.startsWith('on'),\n  _indexable: (name) => name !== 'events',\n  hover: {\n    _fallback: 'interaction'\n  },\n  interaction: {\n    _scriptable: false,\n    _indexable: false,\n  }\n});\n\nfunction _isDomSupported() {\n  return typeof window !== 'undefined' && typeof document !== 'undefined';\n}\nfunction _getParentNode(domNode) {\n  let parent = domNode.parentNode;\n  if (parent && parent.toString() === '[object ShadowRoot]') {\n    parent = parent.host;\n  }\n  return parent;\n}\nfunction parseMaxStyle(styleValue, node, parentProperty) {\n  let valueInPixels;\n  if (typeof styleValue === 'string') {\n    valueInPixels = parseInt(styleValue, 10);\n    if (styleValue.indexOf('%') !== -1) {\n      valueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\n    }\n  } else {\n    valueInPixels = styleValue;\n  }\n  return valueInPixels;\n}\nconst getComputedStyle = (element) => window.getComputedStyle(element, null);\nfunction getStyle(el, property) {\n  return getComputedStyle(el).getPropertyValue(property);\n}\nconst positions = ['top', 'right', 'bottom', 'left'];\nfunction getPositionedStyle(styles, style, suffix) {\n  const result = {};\n  suffix = suffix ? '-' + suffix : '';\n  for (let i = 0; i < 4; i++) {\n    const pos = positions[i];\n    result[pos] = parseFloat(styles[style + '-' + pos + suffix]) || 0;\n  }\n  result.width = result.left + result.right;\n  result.height = result.top + result.bottom;\n  return result;\n}\nconst useOffsetPos = (x, y, target) => (x > 0 || y > 0) && (!target || !target.shadowRoot);\nfunction getCanvasPosition(e, canvas) {\n  const touches = e.touches;\n  const source = touches && touches.length ? touches[0] : e;\n  const {offsetX, offsetY} = source;\n  let box = false;\n  let x, y;\n  if (useOffsetPos(offsetX, offsetY, e.target)) {\n    x = offsetX;\n    y = offsetY;\n  } else {\n    const rect = canvas.getBoundingClientRect();\n    x = source.clientX - rect.left;\n    y = source.clientY - rect.top;\n    box = true;\n  }\n  return {x, y, box};\n}\nfunction getRelativePosition(evt, chart) {\n  if ('native' in evt) {\n    return evt;\n  }\n  const {canvas, currentDevicePixelRatio} = chart;\n  const style = getComputedStyle(canvas);\n  const borderBox = style.boxSizing === 'border-box';\n  const paddings = getPositionedStyle(style, 'padding');\n  const borders = getPositionedStyle(style, 'border', 'width');\n  const {x, y, box} = getCanvasPosition(evt, canvas);\n  const xOffset = paddings.left + (box && borders.left);\n  const yOffset = paddings.top + (box && borders.top);\n  let {width, height} = chart;\n  if (borderBox) {\n    width -= paddings.width + borders.width;\n    height -= paddings.height + borders.height;\n  }\n  return {\n    x: Math.round((x - xOffset) / width * canvas.width / currentDevicePixelRatio),\n    y: Math.round((y - yOffset) / height * canvas.height / currentDevicePixelRatio)\n  };\n}\nfunction getContainerSize(canvas, width, height) {\n  let maxWidth, maxHeight;\n  if (width === undefined || height === undefined) {\n    const container = _getParentNode(canvas);\n    if (!container) {\n      width = canvas.clientWidth;\n      height = canvas.clientHeight;\n    } else {\n      const rect = container.getBoundingClientRect();\n      const containerStyle = getComputedStyle(container);\n      const containerBorder = getPositionedStyle(containerStyle, 'border', 'width');\n      const containerPadding = getPositionedStyle(containerStyle, 'padding');\n      width = rect.width - containerPadding.width - containerBorder.width;\n      height = rect.height - containerPadding.height - containerBorder.height;\n      maxWidth = parseMaxStyle(containerStyle.maxWidth, container, 'clientWidth');\n      maxHeight = parseMaxStyle(containerStyle.maxHeight, container, 'clientHeight');\n    }\n  }\n  return {\n    width,\n    height,\n    maxWidth: maxWidth || INFINITY,\n    maxHeight: maxHeight || INFINITY\n  };\n}\nconst round1 = v => Math.round(v * 10) / 10;\nfunction getMaximumSize(canvas, bbWidth, bbHeight, aspectRatio) {\n  const style = getComputedStyle(canvas);\n  const margins = getPositionedStyle(style, 'margin');\n  const maxWidth = parseMaxStyle(style.maxWidth, canvas, 'clientWidth') || INFINITY;\n  const maxHeight = parseMaxStyle(style.maxHeight, canvas, 'clientHeight') || INFINITY;\n  const containerSize = getContainerSize(canvas, bbWidth, bbHeight);\n  let {width, height} = containerSize;\n  if (style.boxSizing === 'content-box') {\n    const borders = getPositionedStyle(style, 'border', 'width');\n    const paddings = getPositionedStyle(style, 'padding');\n    width -= paddings.width + borders.width;\n    height -= paddings.height + borders.height;\n  }\n  width = Math.max(0, width - margins.width);\n  height = Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height - margins.height);\n  width = round1(Math.min(width, maxWidth, containerSize.maxWidth));\n  height = round1(Math.min(height, maxHeight, containerSize.maxHeight));\n  if (width && !height) {\n    height = round1(width / 2);\n  }\n  return {\n    width,\n    height\n  };\n}\nfunction retinaScale(chart, forceRatio, forceStyle) {\n  const pixelRatio = forceRatio || 1;\n  const deviceHeight = Math.floor(chart.height * pixelRatio);\n  const deviceWidth = Math.floor(chart.width * pixelRatio);\n  chart.height = deviceHeight / pixelRatio;\n  chart.width = deviceWidth / pixelRatio;\n  const canvas = chart.canvas;\n  if (canvas.style && (forceStyle || (!canvas.style.height && !canvas.style.width))) {\n    canvas.style.height = `${chart.height}px`;\n    canvas.style.width = `${chart.width}px`;\n  }\n  if (chart.currentDevicePixelRatio !== pixelRatio\n      || canvas.height !== deviceHeight\n      || canvas.width !== deviceWidth) {\n    chart.currentDevicePixelRatio = pixelRatio;\n    canvas.height = deviceHeight;\n    canvas.width = deviceWidth;\n    chart.ctx.setTransform(pixelRatio, 0, 0, pixelRatio, 0, 0);\n    return true;\n  }\n  return false;\n}\nconst supportsEventListenerOptions = (function() {\n  let passiveSupported = false;\n  try {\n    const options = {\n      get passive() {\n        passiveSupported = true;\n        return false;\n      }\n    };\n    window.addEventListener('test', null, options);\n    window.removeEventListener('test', null, options);\n  } catch (e) {\n  }\n  return passiveSupported;\n}());\nfunction readUsedSize(element, property) {\n  const value = getStyle(element, property);\n  const matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\n  return matches ? +matches[1] : undefined;\n}\n\nfunction toFontString(font) {\n  if (!font || isNullOrUndef(font.size) || isNullOrUndef(font.family)) {\n    return null;\n  }\n  return (font.style ? font.style + ' ' : '')\n\t\t+ (font.weight ? font.weight + ' ' : '')\n\t\t+ font.size + 'px '\n\t\t+ font.family;\n}\nfunction _measureText(ctx, data, gc, longest, string) {\n  let textWidth = data[string];\n  if (!textWidth) {\n    textWidth = data[string] = ctx.measureText(string).width;\n    gc.push(string);\n  }\n  if (textWidth > longest) {\n    longest = textWidth;\n  }\n  return longest;\n}\nfunction _longestText(ctx, font, arrayOfThings, cache) {\n  cache = cache || {};\n  let data = cache.data = cache.data || {};\n  let gc = cache.garbageCollect = cache.garbageCollect || [];\n  if (cache.font !== font) {\n    data = cache.data = {};\n    gc = cache.garbageCollect = [];\n    cache.font = font;\n  }\n  ctx.save();\n  ctx.font = font;\n  let longest = 0;\n  const ilen = arrayOfThings.length;\n  let i, j, jlen, thing, nestedThing;\n  for (i = 0; i < ilen; i++) {\n    thing = arrayOfThings[i];\n    if (thing !== undefined && thing !== null && isArray(thing) !== true) {\n      longest = _measureText(ctx, data, gc, longest, thing);\n    } else if (isArray(thing)) {\n      for (j = 0, jlen = thing.length; j < jlen; j++) {\n        nestedThing = thing[j];\n        if (nestedThing !== undefined && nestedThing !== null && !isArray(nestedThing)) {\n          longest = _measureText(ctx, data, gc, longest, nestedThing);\n        }\n      }\n    }\n  }\n  ctx.restore();\n  const gcLen = gc.length / 2;\n  if (gcLen > arrayOfThings.length) {\n    for (i = 0; i < gcLen; i++) {\n      delete data[gc[i]];\n    }\n    gc.splice(0, gcLen);\n  }\n  return longest;\n}\nfunction _alignPixel(chart, pixel, width) {\n  const devicePixelRatio = chart.currentDevicePixelRatio;\n  const halfWidth = width !== 0 ? Math.max(width / 2, 0.5) : 0;\n  return Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\n}\nfunction clearCanvas(canvas, ctx) {\n  ctx = ctx || canvas.getContext('2d');\n  ctx.save();\n  ctx.resetTransform();\n  ctx.clearRect(0, 0, canvas.width, canvas.height);\n  ctx.restore();\n}\nfunction drawPoint(ctx, options, x, y) {\n  drawPointLegend(ctx, options, x, y, null);\n}\nfunction drawPointLegend(ctx, options, x, y, w) {\n  let type, xOffset, yOffset, size, cornerRadius, width;\n  const style = options.pointStyle;\n  const rotation = options.rotation;\n  const radius = options.radius;\n  let rad = (rotation || 0) * RAD_PER_DEG;\n  if (style && typeof style === 'object') {\n    type = style.toString();\n    if (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\n      ctx.save();\n      ctx.translate(x, y);\n      ctx.rotate(rad);\n      ctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\n      ctx.restore();\n      return;\n    }\n  }\n  if (isNaN(radius) || radius <= 0) {\n    return;\n  }\n  ctx.beginPath();\n  switch (style) {\n  default:\n    if (w) {\n      ctx.ellipse(x, y, w / 2, radius, 0, 0, TAU);\n    } else {\n      ctx.arc(x, y, radius, 0, TAU);\n    }\n    ctx.closePath();\n    break;\n  case 'triangle':\n    ctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    rad += TWO_THIRDS_PI;\n    ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    rad += TWO_THIRDS_PI;\n    ctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\n    ctx.closePath();\n    break;\n  case 'rectRounded':\n    cornerRadius = radius * 0.516;\n    size = radius - cornerRadius;\n    xOffset = Math.cos(rad + QUARTER_PI) * size;\n    yOffset = Math.sin(rad + QUARTER_PI) * size;\n    ctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\n    ctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\n    ctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\n    ctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\n    ctx.closePath();\n    break;\n  case 'rect':\n    if (!rotation) {\n      size = Math.SQRT1_2 * radius;\n      width = w ? w / 2 : size;\n      ctx.rect(x - width, y - size, 2 * width, 2 * size);\n      break;\n    }\n    rad += QUARTER_PI;\n  case 'rectRot':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    ctx.closePath();\n    break;\n  case 'crossRot':\n    rad += QUARTER_PI;\n  case 'cross':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    break;\n  case 'star':\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    rad += QUARTER_PI;\n    xOffset = Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    ctx.moveTo(x + yOffset, y - xOffset);\n    ctx.lineTo(x - yOffset, y + xOffset);\n    break;\n  case 'line':\n    xOffset = w ? w / 2 : Math.cos(rad) * radius;\n    yOffset = Math.sin(rad) * radius;\n    ctx.moveTo(x - xOffset, y - yOffset);\n    ctx.lineTo(x + xOffset, y + yOffset);\n    break;\n  case 'dash':\n    ctx.moveTo(x, y);\n    ctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\n    break;\n  }\n  ctx.fill();\n  if (options.borderWidth > 0) {\n    ctx.stroke();\n  }\n}\nfunction _isPointInArea(point, area, margin) {\n  margin = margin || 0.5;\n  return !area || (point && point.x > area.left - margin && point.x < area.right + margin &&\n\t\tpoint.y > area.top - margin && point.y < area.bottom + margin);\n}\nfunction clipArea(ctx, area) {\n  ctx.save();\n  ctx.beginPath();\n  ctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\n  ctx.clip();\n}\nfunction unclipArea(ctx) {\n  ctx.restore();\n}\nfunction _steppedLineTo(ctx, previous, target, flip, mode) {\n  if (!previous) {\n    return ctx.lineTo(target.x, target.y);\n  }\n  if (mode === 'middle') {\n    const midpoint = (previous.x + target.x) / 2.0;\n    ctx.lineTo(midpoint, previous.y);\n    ctx.lineTo(midpoint, target.y);\n  } else if (mode === 'after' !== !!flip) {\n    ctx.lineTo(previous.x, target.y);\n  } else {\n    ctx.lineTo(target.x, previous.y);\n  }\n  ctx.lineTo(target.x, target.y);\n}\nfunction _bezierCurveTo(ctx, previous, target, flip) {\n  if (!previous) {\n    return ctx.lineTo(target.x, target.y);\n  }\n  ctx.bezierCurveTo(\n    flip ? previous.cp1x : previous.cp2x,\n    flip ? previous.cp1y : previous.cp2y,\n    flip ? target.cp2x : target.cp1x,\n    flip ? target.cp2y : target.cp1y,\n    target.x,\n    target.y);\n}\nfunction renderText(ctx, text, x, y, font, opts = {}) {\n  const lines = isArray(text) ? text : [text];\n  const stroke = opts.strokeWidth > 0 && opts.strokeColor !== '';\n  let i, line;\n  ctx.save();\n  ctx.font = font.string;\n  setRenderOpts(ctx, opts);\n  for (i = 0; i < lines.length; ++i) {\n    line = lines[i];\n    if (stroke) {\n      if (opts.strokeColor) {\n        ctx.strokeStyle = opts.strokeColor;\n      }\n      if (!isNullOrUndef(opts.strokeWidth)) {\n        ctx.lineWidth = opts.strokeWidth;\n      }\n      ctx.strokeText(line, x, y, opts.maxWidth);\n    }\n    ctx.fillText(line, x, y, opts.maxWidth);\n    decorateText(ctx, x, y, line, opts);\n    y += font.lineHeight;\n  }\n  ctx.restore();\n}\nfunction setRenderOpts(ctx, opts) {\n  if (opts.translation) {\n    ctx.translate(opts.translation[0], opts.translation[1]);\n  }\n  if (!isNullOrUndef(opts.rotation)) {\n    ctx.rotate(opts.rotation);\n  }\n  if (opts.color) {\n    ctx.fillStyle = opts.color;\n  }\n  if (opts.textAlign) {\n    ctx.textAlign = opts.textAlign;\n  }\n  if (opts.textBaseline) {\n    ctx.textBaseline = opts.textBaseline;\n  }\n}\nfunction decorateText(ctx, x, y, line, opts) {\n  if (opts.strikethrough || opts.underline) {\n    const metrics = ctx.measureText(line);\n    const left = x - metrics.actualBoundingBoxLeft;\n    const right = x + metrics.actualBoundingBoxRight;\n    const top = y - metrics.actualBoundingBoxAscent;\n    const bottom = y + metrics.actualBoundingBoxDescent;\n    const yDecoration = opts.strikethrough ? (top + bottom) / 2 : bottom;\n    ctx.strokeStyle = ctx.fillStyle;\n    ctx.beginPath();\n    ctx.lineWidth = opts.decorationWidth || 2;\n    ctx.moveTo(left, yDecoration);\n    ctx.lineTo(right, yDecoration);\n    ctx.stroke();\n  }\n}\nfunction addRoundedRectPath(ctx, rect) {\n  const {x, y, w, h, radius} = rect;\n  ctx.arc(x + radius.topLeft, y + radius.topLeft, radius.topLeft, -HALF_PI, PI, true);\n  ctx.lineTo(x, y + h - radius.bottomLeft);\n  ctx.arc(x + radius.bottomLeft, y + h - radius.bottomLeft, radius.bottomLeft, PI, HALF_PI, true);\n  ctx.lineTo(x + w - radius.bottomRight, y + h);\n  ctx.arc(x + w - radius.bottomRight, y + h - radius.bottomRight, radius.bottomRight, HALF_PI, 0, true);\n  ctx.lineTo(x + w, y + radius.topRight);\n  ctx.arc(x + w - radius.topRight, y + radius.topRight, radius.topRight, 0, -HALF_PI, true);\n  ctx.lineTo(x + radius.topLeft, y);\n}\n\nfunction _createResolver(scopes, prefixes = [''], rootScopes = scopes, fallback, getTarget = () => scopes[0]) {\n  if (!defined(fallback)) {\n    fallback = _resolve('_fallback', scopes);\n  }\n  const cache = {\n    [Symbol.toStringTag]: 'Object',\n    _cacheable: true,\n    _scopes: scopes,\n    _rootScopes: rootScopes,\n    _fallback: fallback,\n    _getTarget: getTarget,\n    override: (scope) => _createResolver([scope, ...scopes], prefixes, rootScopes, fallback),\n  };\n  return new Proxy(cache, {\n    deleteProperty(target, prop) {\n      delete target[prop];\n      delete target._keys;\n      delete scopes[0][prop];\n      return true;\n    },\n    get(target, prop) {\n      return _cached(target, prop,\n        () => _resolveWithPrefixes(prop, prefixes, scopes, target));\n    },\n    getOwnPropertyDescriptor(target, prop) {\n      return Reflect.getOwnPropertyDescriptor(target._scopes[0], prop);\n    },\n    getPrototypeOf() {\n      return Reflect.getPrototypeOf(scopes[0]);\n    },\n    has(target, prop) {\n      return getKeysFromAllScopes(target).includes(prop);\n    },\n    ownKeys(target) {\n      return getKeysFromAllScopes(target);\n    },\n    set(target, prop, value) {\n      const storage = target._storage || (target._storage = getTarget());\n      target[prop] = storage[prop] = value;\n      delete target._keys;\n      return true;\n    }\n  });\n}\nfunction _attachContext(proxy, context, subProxy, descriptorDefaults) {\n  const cache = {\n    _cacheable: false,\n    _proxy: proxy,\n    _context: context,\n    _subProxy: subProxy,\n    _stack: new Set(),\n    _descriptors: _descriptors(proxy, descriptorDefaults),\n    setContext: (ctx) => _attachContext(proxy, ctx, subProxy, descriptorDefaults),\n    override: (scope) => _attachContext(proxy.override(scope), context, subProxy, descriptorDefaults)\n  };\n  return new Proxy(cache, {\n    deleteProperty(target, prop) {\n      delete target[prop];\n      delete proxy[prop];\n      return true;\n    },\n    get(target, prop, receiver) {\n      return _cached(target, prop,\n        () => _resolveWithContext(target, prop, receiver));\n    },\n    getOwnPropertyDescriptor(target, prop) {\n      return target._descriptors.allKeys\n        ? Reflect.has(proxy, prop) ? {enumerable: true, configurable: true} : undefined\n        : Reflect.getOwnPropertyDescriptor(proxy, prop);\n    },\n    getPrototypeOf() {\n      return Reflect.getPrototypeOf(proxy);\n    },\n    has(target, prop) {\n      return Reflect.has(proxy, prop);\n    },\n    ownKeys() {\n      return Reflect.ownKeys(proxy);\n    },\n    set(target, prop, value) {\n      proxy[prop] = value;\n      delete target[prop];\n      return true;\n    }\n  });\n}\nfunction _descriptors(proxy, defaults = {scriptable: true, indexable: true}) {\n  const {_scriptable = defaults.scriptable, _indexable = defaults.indexable, _allKeys = defaults.allKeys} = proxy;\n  return {\n    allKeys: _allKeys,\n    scriptable: _scriptable,\n    indexable: _indexable,\n    isScriptable: isFunction(_scriptable) ? _scriptable : () => _scriptable,\n    isIndexable: isFunction(_indexable) ? _indexable : () => _indexable\n  };\n}\nconst readKey = (prefix, name) => prefix ? prefix + _capitalize(name) : name;\nconst needsSubResolver = (prop, value) => isObject(value) && prop !== 'adapters' &&\n  (Object.getPrototypeOf(value) === null || value.constructor === Object);\nfunction _cached(target, prop, resolve) {\n  if (Object.prototype.hasOwnProperty.call(target, prop)) {\n    return target[prop];\n  }\n  const value = resolve();\n  target[prop] = value;\n  return value;\n}\nfunction _resolveWithContext(target, prop, receiver) {\n  const {_proxy, _context, _subProxy, _descriptors: descriptors} = target;\n  let value = _proxy[prop];\n  if (isFunction(value) && descriptors.isScriptable(prop)) {\n    value = _resolveScriptable(prop, value, target, receiver);\n  }\n  if (isArray(value) && value.length) {\n    value = _resolveArray(prop, value, target, descriptors.isIndexable);\n  }\n  if (needsSubResolver(prop, value)) {\n    value = _attachContext(value, _context, _subProxy && _subProxy[prop], descriptors);\n  }\n  return value;\n}\nfunction _resolveScriptable(prop, value, target, receiver) {\n  const {_proxy, _context, _subProxy, _stack} = target;\n  if (_stack.has(prop)) {\n    throw new Error('Recursion detected: ' + Array.from(_stack).join('->') + '->' + prop);\n  }\n  _stack.add(prop);\n  value = value(_context, _subProxy || receiver);\n  _stack.delete(prop);\n  if (needsSubResolver(prop, value)) {\n    value = createSubResolver(_proxy._scopes, _proxy, prop, value);\n  }\n  return value;\n}\nfunction _resolveArray(prop, value, target, isIndexable) {\n  const {_proxy, _context, _subProxy, _descriptors: descriptors} = target;\n  if (defined(_context.index) && isIndexable(prop)) {\n    value = value[_context.index % value.length];\n  } else if (isObject(value[0])) {\n    const arr = value;\n    const scopes = _proxy._scopes.filter(s => s !== arr);\n    value = [];\n    for (const item of arr) {\n      const resolver = createSubResolver(scopes, _proxy, prop, item);\n      value.push(_attachContext(resolver, _context, _subProxy && _subProxy[prop], descriptors));\n    }\n  }\n  return value;\n}\nfunction resolveFallback(fallback, prop, value) {\n  return isFunction(fallback) ? fallback(prop, value) : fallback;\n}\nconst getScope = (key, parent) => key === true ? parent\n  : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined;\nfunction addScopes(set, parentScopes, key, parentFallback, value) {\n  for (const parent of parentScopes) {\n    const scope = getScope(key, parent);\n    if (scope) {\n      set.add(scope);\n      const fallback = resolveFallback(scope._fallback, key, value);\n      if (defined(fallback) && fallback !== key && fallback !== parentFallback) {\n        return fallback;\n      }\n    } else if (scope === false && defined(parentFallback) && key !== parentFallback) {\n      return null;\n    }\n  }\n  return false;\n}\nfunction createSubResolver(parentScopes, resolver, prop, value) {\n  const rootScopes = resolver._rootScopes;\n  const fallback = resolveFallback(resolver._fallback, prop, value);\n  const allScopes = [...parentScopes, ...rootScopes];\n  const set = new Set();\n  set.add(value);\n  let key = addScopesFromKey(set, allScopes, prop, fallback || prop, value);\n  if (key === null) {\n    return false;\n  }\n  if (defined(fallback) && fallback !== prop) {\n    key = addScopesFromKey(set, allScopes, fallback, key, value);\n    if (key === null) {\n      return false;\n    }\n  }\n  return _createResolver(Array.from(set), [''], rootScopes, fallback,\n    () => subGetTarget(resolver, prop, value));\n}\nfunction addScopesFromKey(set, allScopes, key, fallback, item) {\n  while (key) {\n    key = addScopes(set, allScopes, key, fallback, item);\n  }\n  return key;\n}\nfunction subGetTarget(resolver, prop, value) {\n  const parent = resolver._getTarget();\n  if (!(prop in parent)) {\n    parent[prop] = {};\n  }\n  const target = parent[prop];\n  if (isArray(target) && isObject(value)) {\n    return value;\n  }\n  return target;\n}\nfunction _resolveWithPrefixes(prop, prefixes, scopes, proxy) {\n  let value;\n  for (const prefix of prefixes) {\n    value = _resolve(readKey(prefix, prop), scopes);\n    if (defined(value)) {\n      return needsSubResolver(prop, value)\n        ? createSubResolver(scopes, proxy, prop, value)\n        : value;\n    }\n  }\n}\nfunction _resolve(key, scopes) {\n  for (const scope of scopes) {\n    if (!scope) {\n      continue;\n    }\n    const value = scope[key];\n    if (defined(value)) {\n      return value;\n    }\n  }\n}\nfunction getKeysFromAllScopes(target) {\n  let keys = target._keys;\n  if (!keys) {\n    keys = target._keys = resolveKeysFromAllScopes(target._scopes);\n  }\n  return keys;\n}\nfunction resolveKeysFromAllScopes(scopes) {\n  const set = new Set();\n  for (const scope of scopes) {\n    for (const key of Object.keys(scope).filter(k => !k.startsWith('_'))) {\n      set.add(key);\n    }\n  }\n  return Array.from(set);\n}\nfunction _parseObjectDataRadialScale(meta, data, start, count) {\n  const {iScale} = meta;\n  const {key = 'r'} = this._parsing;\n  const parsed = new Array(count);\n  let i, ilen, index, item;\n  for (i = 0, ilen = count; i < ilen; ++i) {\n    index = i + start;\n    item = data[index];\n    parsed[i] = {\n      r: iScale.parse(resolveObjectKey(item, key), index)\n    };\n  }\n  return parsed;\n}\n\nconst EPSILON = Number.EPSILON || 1e-14;\nconst getPoint = (points, i) => i < points.length && !points[i].skip && points[i];\nconst getValueAxis = (indexAxis) => indexAxis === 'x' ? 'y' : 'x';\nfunction splineCurve(firstPoint, middlePoint, afterPoint, t) {\n  const previous = firstPoint.skip ? middlePoint : firstPoint;\n  const current = middlePoint;\n  const next = afterPoint.skip ? middlePoint : afterPoint;\n  const d01 = distanceBetweenPoints(current, previous);\n  const d12 = distanceBetweenPoints(next, current);\n  let s01 = d01 / (d01 + d12);\n  let s12 = d12 / (d01 + d12);\n  s01 = isNaN(s01) ? 0 : s01;\n  s12 = isNaN(s12) ? 0 : s12;\n  const fa = t * s01;\n  const fb = t * s12;\n  return {\n    previous: {\n      x: current.x - fa * (next.x - previous.x),\n      y: current.y - fa * (next.y - previous.y)\n    },\n    next: {\n      x: current.x + fb * (next.x - previous.x),\n      y: current.y + fb * (next.y - previous.y)\n    }\n  };\n}\nfunction monotoneAdjust(points, deltaK, mK) {\n  const pointsLen = points.length;\n  let alphaK, betaK, tauK, squaredMagnitude, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (let i = 0; i < pointsLen - 1; ++i) {\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent || !pointAfter) {\n      continue;\n    }\n    if (almostEquals(deltaK[i], 0, EPSILON)) {\n      mK[i] = mK[i + 1] = 0;\n      continue;\n    }\n    alphaK = mK[i] / deltaK[i];\n    betaK = mK[i + 1] / deltaK[i];\n    squaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\n    if (squaredMagnitude <= 9) {\n      continue;\n    }\n    tauK = 3 / Math.sqrt(squaredMagnitude);\n    mK[i] = alphaK * tauK * deltaK[i];\n    mK[i + 1] = betaK * tauK * deltaK[i];\n  }\n}\nfunction monotoneCompute(points, mK, indexAxis = 'x') {\n  const valueAxis = getValueAxis(indexAxis);\n  const pointsLen = points.length;\n  let delta, pointBefore, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (let i = 0; i < pointsLen; ++i) {\n    pointBefore = pointCurrent;\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent) {\n      continue;\n    }\n    const iPixel = pointCurrent[indexAxis];\n    const vPixel = pointCurrent[valueAxis];\n    if (pointBefore) {\n      delta = (iPixel - pointBefore[indexAxis]) / 3;\n      pointCurrent[`cp1${indexAxis}`] = iPixel - delta;\n      pointCurrent[`cp1${valueAxis}`] = vPixel - delta * mK[i];\n    }\n    if (pointAfter) {\n      delta = (pointAfter[indexAxis] - iPixel) / 3;\n      pointCurrent[`cp2${indexAxis}`] = iPixel + delta;\n      pointCurrent[`cp2${valueAxis}`] = vPixel + delta * mK[i];\n    }\n  }\n}\nfunction splineCurveMonotone(points, indexAxis = 'x') {\n  const valueAxis = getValueAxis(indexAxis);\n  const pointsLen = points.length;\n  const deltaK = Array(pointsLen).fill(0);\n  const mK = Array(pointsLen);\n  let i, pointBefore, pointCurrent;\n  let pointAfter = getPoint(points, 0);\n  for (i = 0; i < pointsLen; ++i) {\n    pointBefore = pointCurrent;\n    pointCurrent = pointAfter;\n    pointAfter = getPoint(points, i + 1);\n    if (!pointCurrent) {\n      continue;\n    }\n    if (pointAfter) {\n      const slopeDelta = pointAfter[indexAxis] - pointCurrent[indexAxis];\n      deltaK[i] = slopeDelta !== 0 ? (pointAfter[valueAxis] - pointCurrent[valueAxis]) / slopeDelta : 0;\n    }\n    mK[i] = !pointBefore ? deltaK[i]\n      : !pointAfter ? deltaK[i - 1]\n      : (sign(deltaK[i - 1]) !== sign(deltaK[i])) ? 0\n      : (deltaK[i - 1] + deltaK[i]) / 2;\n  }\n  monotoneAdjust(points, deltaK, mK);\n  monotoneCompute(points, mK, indexAxis);\n}\nfunction capControlPoint(pt, min, max) {\n  return Math.max(Math.min(pt, max), min);\n}\nfunction capBezierPoints(points, area) {\n  let i, ilen, point, inArea, inAreaPrev;\n  let inAreaNext = _isPointInArea(points[0], area);\n  for (i = 0, ilen = points.length; i < ilen; ++i) {\n    inAreaPrev = inArea;\n    inArea = inAreaNext;\n    inAreaNext = i < ilen - 1 && _isPointInArea(points[i + 1], area);\n    if (!inArea) {\n      continue;\n    }\n    point = points[i];\n    if (inAreaPrev) {\n      point.cp1x = capControlPoint(point.cp1x, area.left, area.right);\n      point.cp1y = capControlPoint(point.cp1y, area.top, area.bottom);\n    }\n    if (inAreaNext) {\n      point.cp2x = capControlPoint(point.cp2x, area.left, area.right);\n      point.cp2y = capControlPoint(point.cp2y, area.top, area.bottom);\n    }\n  }\n}\nfunction _updateBezierControlPoints(points, options, area, loop, indexAxis) {\n  let i, ilen, point, controlPoints;\n  if (options.spanGaps) {\n    points = points.filter((pt) => !pt.skip);\n  }\n  if (options.cubicInterpolationMode === 'monotone') {\n    splineCurveMonotone(points, indexAxis);\n  } else {\n    let prev = loop ? points[points.length - 1] : points[0];\n    for (i = 0, ilen = points.length; i < ilen; ++i) {\n      point = points[i];\n      controlPoints = splineCurve(\n        prev,\n        point,\n        points[Math.min(i + 1, ilen - (loop ? 0 : 1)) % ilen],\n        options.tension\n      );\n      point.cp1x = controlPoints.previous.x;\n      point.cp1y = controlPoints.previous.y;\n      point.cp2x = controlPoints.next.x;\n      point.cp2y = controlPoints.next.y;\n      prev = point;\n    }\n  }\n  if (options.capBezierPoints) {\n    capBezierPoints(points, area);\n  }\n}\n\nconst atEdge = (t) => t === 0 || t === 1;\nconst elasticIn = (t, s, p) => -(Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * TAU / p));\nconst elasticOut = (t, s, p) => Math.pow(2, -10 * t) * Math.sin((t - s) * TAU / p) + 1;\nconst effects = {\n  linear: t => t,\n  easeInQuad: t => t * t,\n  easeOutQuad: t => -t * (t - 2),\n  easeInOutQuad: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t\n    : -0.5 * ((--t) * (t - 2) - 1),\n  easeInCubic: t => t * t * t,\n  easeOutCubic: t => (t -= 1) * t * t + 1,\n  easeInOutCubic: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t\n    : 0.5 * ((t -= 2) * t * t + 2),\n  easeInQuart: t => t * t * t * t,\n  easeOutQuart: t => -((t -= 1) * t * t * t - 1),\n  easeInOutQuart: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t * t\n    : -0.5 * ((t -= 2) * t * t * t - 2),\n  easeInQuint: t => t * t * t * t * t,\n  easeOutQuint: t => (t -= 1) * t * t * t * t + 1,\n  easeInOutQuint: t => ((t /= 0.5) < 1)\n    ? 0.5 * t * t * t * t * t\n    : 0.5 * ((t -= 2) * t * t * t * t + 2),\n  easeInSine: t => -Math.cos(t * HALF_PI) + 1,\n  easeOutSine: t => Math.sin(t * HALF_PI),\n  easeInOutSine: t => -0.5 * (Math.cos(PI * t) - 1),\n  easeInExpo: t => (t === 0) ? 0 : Math.pow(2, 10 * (t - 1)),\n  easeOutExpo: t => (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1,\n  easeInOutExpo: t => atEdge(t) ? t : t < 0.5\n    ? 0.5 * Math.pow(2, 10 * (t * 2 - 1))\n    : 0.5 * (-Math.pow(2, -10 * (t * 2 - 1)) + 2),\n  easeInCirc: t => (t >= 1) ? t : -(Math.sqrt(1 - t * t) - 1),\n  easeOutCirc: t => Math.sqrt(1 - (t -= 1) * t),\n  easeInOutCirc: t => ((t /= 0.5) < 1)\n    ? -0.5 * (Math.sqrt(1 - t * t) - 1)\n    : 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1),\n  easeInElastic: t => atEdge(t) ? t : elasticIn(t, 0.075, 0.3),\n  easeOutElastic: t => atEdge(t) ? t : elasticOut(t, 0.075, 0.3),\n  easeInOutElastic(t) {\n    const s = 0.1125;\n    const p = 0.45;\n    return atEdge(t) ? t :\n      t < 0.5\n        ? 0.5 * elasticIn(t * 2, s, p)\n        : 0.5 + 0.5 * elasticOut(t * 2 - 1, s, p);\n  },\n  easeInBack(t) {\n    const s = 1.70158;\n    return t * t * ((s + 1) * t - s);\n  },\n  easeOutBack(t) {\n    const s = 1.70158;\n    return (t -= 1) * t * ((s + 1) * t + s) + 1;\n  },\n  easeInOutBack(t) {\n    let s = 1.70158;\n    if ((t /= 0.5) < 1) {\n      return 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));\n    }\n    return 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\n  },\n  easeInBounce: t => 1 - effects.easeOutBounce(1 - t),\n  easeOutBounce(t) {\n    const m = 7.5625;\n    const d = 2.75;\n    if (t < (1 / d)) {\n      return m * t * t;\n    }\n    if (t < (2 / d)) {\n      return m * (t -= (1.5 / d)) * t + 0.75;\n    }\n    if (t < (2.5 / d)) {\n      return m * (t -= (2.25 / d)) * t + 0.9375;\n    }\n    return m * (t -= (2.625 / d)) * t + 0.984375;\n  },\n  easeInOutBounce: t => (t < 0.5)\n    ? effects.easeInBounce(t * 2) * 0.5\n    : effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5,\n};\n\nfunction _pointInLine(p1, p2, t, mode) {\n  return {\n    x: p1.x + t * (p2.x - p1.x),\n    y: p1.y + t * (p2.y - p1.y)\n  };\n}\nfunction _steppedInterpolation(p1, p2, t, mode) {\n  return {\n    x: p1.x + t * (p2.x - p1.x),\n    y: mode === 'middle' ? t < 0.5 ? p1.y : p2.y\n    : mode === 'after' ? t < 1 ? p1.y : p2.y\n    : t > 0 ? p2.y : p1.y\n  };\n}\nfunction _bezierInterpolation(p1, p2, t, mode) {\n  const cp1 = {x: p1.cp2x, y: p1.cp2y};\n  const cp2 = {x: p2.cp1x, y: p2.cp1y};\n  const a = _pointInLine(p1, cp1, t);\n  const b = _pointInLine(cp1, cp2, t);\n  const c = _pointInLine(cp2, p2, t);\n  const d = _pointInLine(a, b, t);\n  const e = _pointInLine(b, c, t);\n  return _pointInLine(d, e, t);\n}\n\nconst intlCache = new Map();\nfunction getNumberFormat(locale, options) {\n  options = options || {};\n  const cacheKey = locale + JSON.stringify(options);\n  let formatter = intlCache.get(cacheKey);\n  if (!formatter) {\n    formatter = new Intl.NumberFormat(locale, options);\n    intlCache.set(cacheKey, formatter);\n  }\n  return formatter;\n}\nfunction formatNumber(num, locale, options) {\n  return getNumberFormat(locale, options).format(num);\n}\n\nconst LINE_HEIGHT = new RegExp(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\nconst FONT_STYLE = new RegExp(/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/);\nfunction toLineHeight(value, size) {\n  const matches = ('' + value).match(LINE_HEIGHT);\n  if (!matches || matches[1] === 'normal') {\n    return size * 1.2;\n  }\n  value = +matches[2];\n  switch (matches[3]) {\n  case 'px':\n    return value;\n  case '%':\n    value /= 100;\n    break;\n  }\n  return size * value;\n}\nconst numberOrZero = v => +v || 0;\nfunction _readValueToProps(value, props) {\n  const ret = {};\n  const objProps = isObject(props);\n  const keys = objProps ? Object.keys(props) : props;\n  const read = isObject(value)\n    ? objProps\n      ? prop => valueOrDefault(value[prop], value[props[prop]])\n      : prop => value[prop]\n    : () => value;\n  for (const prop of keys) {\n    ret[prop] = numberOrZero(read(prop));\n  }\n  return ret;\n}\nfunction toTRBL(value) {\n  return _readValueToProps(value, {top: 'y', right: 'x', bottom: 'y', left: 'x'});\n}\nfunction toTRBLCorners(value) {\n  return _readValueToProps(value, ['topLeft', 'topRight', 'bottomLeft', 'bottomRight']);\n}\nfunction toPadding(value) {\n  const obj = toTRBL(value);\n  obj.width = obj.left + obj.right;\n  obj.height = obj.top + obj.bottom;\n  return obj;\n}\nfunction toFont(options, fallback) {\n  options = options || {};\n  fallback = fallback || defaults.font;\n  let size = valueOrDefault(options.size, fallback.size);\n  if (typeof size === 'string') {\n    size = parseInt(size, 10);\n  }\n  let style = valueOrDefault(options.style, fallback.style);\n  if (style && !('' + style).match(FONT_STYLE)) {\n    console.warn('Invalid font style specified: \"' + style + '\"');\n    style = '';\n  }\n  const font = {\n    family: valueOrDefault(options.family, fallback.family),\n    lineHeight: toLineHeight(valueOrDefault(options.lineHeight, fallback.lineHeight), size),\n    size,\n    style,\n    weight: valueOrDefault(options.weight, fallback.weight),\n    string: ''\n  };\n  font.string = toFontString(font);\n  return font;\n}\nfunction resolve(inputs, context, index, info) {\n  let cacheable = true;\n  let i, ilen, value;\n  for (i = 0, ilen = inputs.length; i < ilen; ++i) {\n    value = inputs[i];\n    if (value === undefined) {\n      continue;\n    }\n    if (context !== undefined && typeof value === 'function') {\n      value = value(context);\n      cacheable = false;\n    }\n    if (index !== undefined && isArray(value)) {\n      value = value[index % value.length];\n      cacheable = false;\n    }\n    if (value !== undefined) {\n      if (info && !cacheable) {\n        info.cacheable = false;\n      }\n      return value;\n    }\n  }\n}\nfunction _addGrace(minmax, grace, beginAtZero) {\n  const {min, max} = minmax;\n  const change = toDimension(grace, (max - min) / 2);\n  const keepZero = (value, add) => beginAtZero && value === 0 ? 0 : value + add;\n  return {\n    min: keepZero(min, -Math.abs(change)),\n    max: keepZero(max, change)\n  };\n}\nfunction createContext(parentContext, context) {\n  return Object.assign(Object.create(parentContext), context);\n}\n\nconst getRightToLeftAdapter = function(rectX, width) {\n  return {\n    x(x) {\n      return rectX + rectX + width - x;\n    },\n    setWidth(w) {\n      width = w;\n    },\n    textAlign(align) {\n      if (align === 'center') {\n        return align;\n      }\n      return align === 'right' ? 'left' : 'right';\n    },\n    xPlus(x, value) {\n      return x - value;\n    },\n    leftForLtr(x, itemWidth) {\n      return x - itemWidth;\n    },\n  };\n};\nconst getLeftToRightAdapter = function() {\n  return {\n    x(x) {\n      return x;\n    },\n    setWidth(w) {\n    },\n    textAlign(align) {\n      return align;\n    },\n    xPlus(x, value) {\n      return x + value;\n    },\n    leftForLtr(x, _itemWidth) {\n      return x;\n    },\n  };\n};\nfunction getRtlAdapter(rtl, rectX, width) {\n  return rtl ? getRightToLeftAdapter(rectX, width) : getLeftToRightAdapter();\n}\nfunction overrideTextDirection(ctx, direction) {\n  let style, original;\n  if (direction === 'ltr' || direction === 'rtl') {\n    style = ctx.canvas.style;\n    original = [\n      style.getPropertyValue('direction'),\n      style.getPropertyPriority('direction'),\n    ];\n    style.setProperty('direction', direction, 'important');\n    ctx.prevTextDirection = original;\n  }\n}\nfunction restoreTextDirection(ctx, original) {\n  if (original !== undefined) {\n    delete ctx.prevTextDirection;\n    ctx.canvas.style.setProperty('direction', original[0], original[1]);\n  }\n}\n\nfunction propertyFn(property) {\n  if (property === 'angle') {\n    return {\n      between: _angleBetween,\n      compare: _angleDiff,\n      normalize: _normalizeAngle,\n    };\n  }\n  return {\n    between: _isBetween,\n    compare: (a, b) => a - b,\n    normalize: x => x\n  };\n}\nfunction normalizeSegment({start, end, count, loop, style}) {\n  return {\n    start: start % count,\n    end: end % count,\n    loop: loop && (end - start + 1) % count === 0,\n    style\n  };\n}\nfunction getSegment(segment, points, bounds) {\n  const {property, start: startBound, end: endBound} = bounds;\n  const {between, normalize} = propertyFn(property);\n  const count = points.length;\n  let {start, end, loop} = segment;\n  let i, ilen;\n  if (loop) {\n    start += count;\n    end += count;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      if (!between(normalize(points[start % count][property]), startBound, endBound)) {\n        break;\n      }\n      start--;\n      end--;\n    }\n    start %= count;\n    end %= count;\n  }\n  if (end < start) {\n    end += count;\n  }\n  return {start, end, loop, style: segment.style};\n}\nfunction _boundSegment(segment, points, bounds) {\n  if (!bounds) {\n    return [segment];\n  }\n  const {property, start: startBound, end: endBound} = bounds;\n  const count = points.length;\n  const {compare, between, normalize} = propertyFn(property);\n  const {start, end, loop, style} = getSegment(segment, points, bounds);\n  const result = [];\n  let inside = false;\n  let subStart = null;\n  let value, point, prevValue;\n  const startIsBefore = () => between(startBound, prevValue, value) && compare(startBound, prevValue) !== 0;\n  const endIsBefore = () => compare(endBound, value) === 0 || between(endBound, prevValue, value);\n  const shouldStart = () => inside || startIsBefore();\n  const shouldStop = () => !inside || endIsBefore();\n  for (let i = start, prev = start; i <= end; ++i) {\n    point = points[i % count];\n    if (point.skip) {\n      continue;\n    }\n    value = normalize(point[property]);\n    if (value === prevValue) {\n      continue;\n    }\n    inside = between(value, startBound, endBound);\n    if (subStart === null && shouldStart()) {\n      subStart = compare(value, startBound) === 0 ? i : prev;\n    }\n    if (subStart !== null && shouldStop()) {\n      result.push(normalizeSegment({start: subStart, end: i, loop, count, style}));\n      subStart = null;\n    }\n    prev = i;\n    prevValue = value;\n  }\n  if (subStart !== null) {\n    result.push(normalizeSegment({start: subStart, end, loop, count, style}));\n  }\n  return result;\n}\nfunction _boundSegments(line, bounds) {\n  const result = [];\n  const segments = line.segments;\n  for (let i = 0; i < segments.length; i++) {\n    const sub = _boundSegment(segments[i], line.points, bounds);\n    if (sub.length) {\n      result.push(...sub);\n    }\n  }\n  return result;\n}\nfunction findStartAndEnd(points, count, loop, spanGaps) {\n  let start = 0;\n  let end = count - 1;\n  if (loop && !spanGaps) {\n    while (start < count && !points[start].skip) {\n      start++;\n    }\n  }\n  while (start < count && points[start].skip) {\n    start++;\n  }\n  start %= count;\n  if (loop) {\n    end += start;\n  }\n  while (end > start && points[end % count].skip) {\n    end--;\n  }\n  end %= count;\n  return {start, end};\n}\nfunction solidSegments(points, start, max, loop) {\n  const count = points.length;\n  const result = [];\n  let last = start;\n  let prev = points[start];\n  let end;\n  for (end = start + 1; end <= max; ++end) {\n    const cur = points[end % count];\n    if (cur.skip || cur.stop) {\n      if (!prev.skip) {\n        loop = false;\n        result.push({start: start % count, end: (end - 1) % count, loop});\n        start = last = cur.stop ? end : null;\n      }\n    } else {\n      last = end;\n      if (prev.skip) {\n        start = end;\n      }\n    }\n    prev = cur;\n  }\n  if (last !== null) {\n    result.push({start: start % count, end: last % count, loop});\n  }\n  return result;\n}\nfunction _computeSegments(line, segmentOptions) {\n  const points = line.points;\n  const spanGaps = line.options.spanGaps;\n  const count = points.length;\n  if (!count) {\n    return [];\n  }\n  const loop = !!line._loop;\n  const {start, end} = findStartAndEnd(points, count, loop, spanGaps);\n  if (spanGaps === true) {\n    return splitByStyles(line, [{start, end, loop}], points, segmentOptions);\n  }\n  const max = end < start ? end + count : end;\n  const completeLoop = !!line._fullLoop && start === 0 && end === count - 1;\n  return splitByStyles(line, solidSegments(points, start, max, completeLoop), points, segmentOptions);\n}\nfunction splitByStyles(line, segments, points, segmentOptions) {\n  if (!segmentOptions || !segmentOptions.setContext || !points) {\n    return segments;\n  }\n  return doSplitByStyles(line, segments, points, segmentOptions);\n}\nfunction doSplitByStyles(line, segments, points, segmentOptions) {\n  const chartContext = line._chart.getContext();\n  const baseStyle = readStyle(line.options);\n  const {_datasetIndex: datasetIndex, options: {spanGaps}} = line;\n  const count = points.length;\n  const result = [];\n  let prevStyle = baseStyle;\n  let start = segments[0].start;\n  let i = start;\n  function addStyle(s, e, l, st) {\n    const dir = spanGaps ? -1 : 1;\n    if (s === e) {\n      return;\n    }\n    s += count;\n    while (points[s % count].skip) {\n      s -= dir;\n    }\n    while (points[e % count].skip) {\n      e += dir;\n    }\n    if (s % count !== e % count) {\n      result.push({start: s % count, end: e % count, loop: l, style: st});\n      prevStyle = st;\n      start = e % count;\n    }\n  }\n  for (const segment of segments) {\n    start = spanGaps ? start : segment.start;\n    let prev = points[start % count];\n    let style;\n    for (i = start + 1; i <= segment.end; i++) {\n      const pt = points[i % count];\n      style = readStyle(segmentOptions.setContext(createContext(chartContext, {\n        type: 'segment',\n        p0: prev,\n        p1: pt,\n        p0DataIndex: (i - 1) % count,\n        p1DataIndex: i % count,\n        datasetIndex\n      })));\n      if (styleChanged(style, prevStyle)) {\n        addStyle(start, i - 1, segment.loop, prevStyle);\n      }\n      prev = pt;\n      prevStyle = style;\n    }\n    if (start < i - 1) {\n      addStyle(start, i - 1, segment.loop, prevStyle);\n    }\n  }\n  return result;\n}\nfunction readStyle(options) {\n  return {\n    backgroundColor: options.backgroundColor,\n    borderCapStyle: options.borderCapStyle,\n    borderDash: options.borderDash,\n    borderDashOffset: options.borderDashOffset,\n    borderJoinStyle: options.borderJoinStyle,\n    borderWidth: options.borderWidth,\n    borderColor: options.borderColor\n  };\n}\nfunction styleChanged(style, prevStyle) {\n  return prevStyle && JSON.stringify(style) !== JSON.stringify(prevStyle);\n}\n\nvar helpers = /*#__PURE__*/Object.freeze({\n__proto__: null,\neasingEffects: effects,\nisPatternOrGradient: isPatternOrGradient,\ncolor: color,\ngetHoverColor: getHoverColor,\nnoop: noop,\nuid: uid,\nisNullOrUndef: isNullOrUndef,\nisArray: isArray,\nisObject: isObject,\nisFinite: isNumberFinite,\nfiniteOrDefault: finiteOrDefault,\nvalueOrDefault: valueOrDefault,\ntoPercentage: toPercentage,\ntoDimension: toDimension,\ncallback: callback,\neach: each,\n_elementsEqual: _elementsEqual,\nclone: clone$1,\n_merger: _merger,\nmerge: merge,\nmergeIf: mergeIf,\n_mergerIf: _mergerIf,\n_deprecated: _deprecated,\nresolveObjectKey: resolveObjectKey,\n_splitKey: _splitKey,\n_capitalize: _capitalize,\ndefined: defined,\nisFunction: isFunction,\nsetsEqual: setsEqual,\n_isClickEvent: _isClickEvent,\ntoFontString: toFontString,\n_measureText: _measureText,\n_longestText: _longestText,\n_alignPixel: _alignPixel,\nclearCanvas: clearCanvas,\ndrawPoint: drawPoint,\ndrawPointLegend: drawPointLegend,\n_isPointInArea: _isPointInArea,\nclipArea: clipArea,\nunclipArea: unclipArea,\n_steppedLineTo: _steppedLineTo,\n_bezierCurveTo: _bezierCurveTo,\nrenderText: renderText,\naddRoundedRectPath: addRoundedRectPath,\n_lookup: _lookup,\n_lookupByKey: _lookupByKey,\n_rlookupByKey: _rlookupByKey,\n_filterBetween: _filterBetween,\nlistenArrayEvents: listenArrayEvents,\nunlistenArrayEvents: unlistenArrayEvents,\n_arrayUnique: _arrayUnique,\n_createResolver: _createResolver,\n_attachContext: _attachContext,\n_descriptors: _descriptors,\n_parseObjectDataRadialScale: _parseObjectDataRadialScale,\nsplineCurve: splineCurve,\nsplineCurveMonotone: splineCurveMonotone,\n_updateBezierControlPoints: _updateBezierControlPoints,\n_isDomSupported: _isDomSupported,\n_getParentNode: _getParentNode,\ngetStyle: getStyle,\ngetRelativePosition: getRelativePosition,\ngetMaximumSize: getMaximumSize,\nretinaScale: retinaScale,\nsupportsEventListenerOptions: supportsEventListenerOptions,\nreadUsedSize: readUsedSize,\nfontString: fontString,\nrequestAnimFrame: requestAnimFrame,\nthrottled: throttled,\ndebounce: debounce,\n_toLeftRightCenter: _toLeftRightCenter,\n_alignStartEnd: _alignStartEnd,\n_textX: _textX,\n_getStartAndCountOfVisiblePoints: _getStartAndCountOfVisiblePoints,\n_scaleRangesChanged: _scaleRangesChanged,\n_pointInLine: _pointInLine,\n_steppedInterpolation: _steppedInterpolation,\n_bezierInterpolation: _bezierInterpolation,\nformatNumber: formatNumber,\ntoLineHeight: toLineHeight,\n_readValueToProps: _readValueToProps,\ntoTRBL: toTRBL,\ntoTRBLCorners: toTRBLCorners,\ntoPadding: toPadding,\ntoFont: toFont,\nresolve: resolve,\n_addGrace: _addGrace,\ncreateContext: createContext,\nPI: PI,\nTAU: TAU,\nPITAU: PITAU,\nINFINITY: INFINITY,\nRAD_PER_DEG: RAD_PER_DEG,\nHALF_PI: HALF_PI,\nQUARTER_PI: QUARTER_PI,\nTWO_THIRDS_PI: TWO_THIRDS_PI,\nlog10: log10,\nsign: sign,\nniceNum: niceNum,\n_factorize: _factorize,\nisNumber: isNumber,\nalmostEquals: almostEquals,\nalmostWhole: almostWhole,\n_setMinAndMaxByKey: _setMinAndMaxByKey,\ntoRadians: toRadians,\ntoDegrees: toDegrees,\n_decimalPlaces: _decimalPlaces,\ngetAngleFromPoint: getAngleFromPoint,\ndistanceBetweenPoints: distanceBetweenPoints,\n_angleDiff: _angleDiff,\n_normalizeAngle: _normalizeAngle,\n_angleBetween: _angleBetween,\n_limitValue: _limitValue,\n_int16Range: _int16Range,\n_isBetween: _isBetween,\ngetRtlAdapter: getRtlAdapter,\noverrideTextDirection: overrideTextDirection,\nrestoreTextDirection: restoreTextDirection,\n_boundSegment: _boundSegment,\n_boundSegments: _boundSegments,\n_computeSegments: _computeSegments\n});\n\nfunction binarySearch(metaset, axis, value, intersect) {\n  const {controller, data, _sorted} = metaset;\n  const iScale = controller._cachedMeta.iScale;\n  if (iScale && axis === iScale.axis && axis !== 'r' && _sorted && data.length) {\n    const lookupMethod = iScale._reversePixels ? _rlookupByKey : _lookupByKey;\n    if (!intersect) {\n      return lookupMethod(data, axis, value);\n    } else if (controller._sharedOptions) {\n      const el = data[0];\n      const range = typeof el.getRange === 'function' && el.getRange(axis);\n      if (range) {\n        const start = lookupMethod(data, axis, value - range);\n        const end = lookupMethod(data, axis, value + range);\n        return {lo: start.lo, hi: end.hi};\n      }\n    }\n  }\n  return {lo: 0, hi: data.length - 1};\n}\nfunction evaluateInteractionItems(chart, axis, position, handler, intersect) {\n  const metasets = chart.getSortedVisibleDatasetMetas();\n  const value = position[axis];\n  for (let i = 0, ilen = metasets.length; i < ilen; ++i) {\n    const {index, data} = metasets[i];\n    const {lo, hi} = binarySearch(metasets[i], axis, value, intersect);\n    for (let j = lo; j <= hi; ++j) {\n      const element = data[j];\n      if (!element.skip) {\n        handler(element, index, j);\n      }\n    }\n  }\n}\nfunction getDistanceMetricForAxis(axis) {\n  const useX = axis.indexOf('x') !== -1;\n  const useY = axis.indexOf('y') !== -1;\n  return function(pt1, pt2) {\n    const deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\n    const deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\n    return Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\n  };\n}\nfunction getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) {\n  const items = [];\n  if (!includeInvisible && !chart.isPointInArea(position)) {\n    return items;\n  }\n  const evaluationFunc = function(element, datasetIndex, index) {\n    if (!includeInvisible && !_isPointInArea(element, chart.chartArea, 0)) {\n      return;\n    }\n    if (element.inRange(position.x, position.y, useFinalPosition)) {\n      items.push({element, datasetIndex, index});\n    }\n  };\n  evaluateInteractionItems(chart, axis, position, evaluationFunc, true);\n  return items;\n}\nfunction getNearestRadialItems(chart, position, axis, useFinalPosition) {\n  let items = [];\n  function evaluationFunc(element, datasetIndex, index) {\n    const {startAngle, endAngle} = element.getProps(['startAngle', 'endAngle'], useFinalPosition);\n    const {angle} = getAngleFromPoint(element, {x: position.x, y: position.y});\n    if (_angleBetween(angle, startAngle, endAngle)) {\n      items.push({element, datasetIndex, index});\n    }\n  }\n  evaluateInteractionItems(chart, axis, position, evaluationFunc);\n  return items;\n}\nfunction getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {\n  let items = [];\n  const distanceMetric = getDistanceMetricForAxis(axis);\n  let minDistance = Number.POSITIVE_INFINITY;\n  function evaluationFunc(element, datasetIndex, index) {\n    const inRange = element.inRange(position.x, position.y, useFinalPosition);\n    if (intersect && !inRange) {\n      return;\n    }\n    const center = element.getCenterPoint(useFinalPosition);\n    const pointInArea = !!includeInvisible || chart.isPointInArea(center);\n    if (!pointInArea && !inRange) {\n      return;\n    }\n    const distance = distanceMetric(position, center);\n    if (distance < minDistance) {\n      items = [{element, datasetIndex, index}];\n      minDistance = distance;\n    } else if (distance === minDistance) {\n      items.push({element, datasetIndex, index});\n    }\n  }\n  evaluateInteractionItems(chart, axis, position, evaluationFunc);\n  return items;\n}\nfunction getNearestItems(chart, position, axis, intersect, useFinalPosition, includeInvisible) {\n  if (!includeInvisible && !chart.isPointInArea(position)) {\n    return [];\n  }\n  return axis === 'r' && !intersect\n    ? getNearestRadialItems(chart, position, axis, useFinalPosition)\n    : getNearestCartesianItems(chart, position, axis, intersect, useFinalPosition, includeInvisible);\n}\nfunction getAxisItems(chart, position, axis, intersect, useFinalPosition) {\n  const items = [];\n  const rangeMethod = axis === 'x' ? 'inXRange' : 'inYRange';\n  let intersectsItem = false;\n  evaluateInteractionItems(chart, axis, position, (element, datasetIndex, index) => {\n    if (element[rangeMethod](position[axis], useFinalPosition)) {\n      items.push({element, datasetIndex, index});\n      intersectsItem = intersectsItem || element.inRange(position.x, position.y, useFinalPosition);\n    }\n  });\n  if (intersect && !intersectsItem) {\n    return [];\n  }\n  return items;\n}\nvar Interaction = {\n  evaluateInteractionItems,\n  modes: {\n    index(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'x';\n      const includeInvisible = options.includeInvisible || false;\n      const items = options.intersect\n        ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible)\n        : getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible);\n      const elements = [];\n      if (!items.length) {\n        return [];\n      }\n      chart.getSortedVisibleDatasetMetas().forEach((meta) => {\n        const index = items[0].index;\n        const element = meta.data[index];\n        if (element && !element.skip) {\n          elements.push({element, datasetIndex: meta.index, index});\n        }\n      });\n      return elements;\n    },\n    dataset(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      let items = options.intersect\n        ? getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible) :\n        getNearestItems(chart, position, axis, false, useFinalPosition, includeInvisible);\n      if (items.length > 0) {\n        const datasetIndex = items[0].datasetIndex;\n        const data = chart.getDatasetMeta(datasetIndex).data;\n        items = [];\n        for (let i = 0; i < data.length; ++i) {\n          items.push({element: data[i], datasetIndex, index: i});\n        }\n      }\n      return items;\n    },\n    point(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      return getIntersectItems(chart, position, axis, useFinalPosition, includeInvisible);\n    },\n    nearest(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      const axis = options.axis || 'xy';\n      const includeInvisible = options.includeInvisible || false;\n      return getNearestItems(chart, position, axis, options.intersect, useFinalPosition, includeInvisible);\n    },\n    x(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      return getAxisItems(chart, position, 'x', options.intersect, useFinalPosition);\n    },\n    y(chart, e, options, useFinalPosition) {\n      const position = getRelativePosition(e, chart);\n      return getAxisItems(chart, position, 'y', options.intersect, useFinalPosition);\n    }\n  }\n};\n\nconst STATIC_POSITIONS = ['left', 'top', 'right', 'bottom'];\nfunction filterByPosition(array, position) {\n  return array.filter(v => v.pos === position);\n}\nfunction filterDynamicPositionByAxis(array, axis) {\n  return array.filter(v => STATIC_POSITIONS.indexOf(v.pos) === -1 && v.box.axis === axis);\n}\nfunction sortByWeight(array, reverse) {\n  return array.sort((a, b) => {\n    const v0 = reverse ? b : a;\n    const v1 = reverse ? a : b;\n    return v0.weight === v1.weight ?\n      v0.index - v1.index :\n      v0.weight - v1.weight;\n  });\n}\nfunction wrapBoxes(boxes) {\n  const layoutBoxes = [];\n  let i, ilen, box, pos, stack, stackWeight;\n  for (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\n    box = boxes[i];\n    ({position: pos, options: {stack, stackWeight = 1}} = box);\n    layoutBoxes.push({\n      index: i,\n      box,\n      pos,\n      horizontal: box.isHorizontal(),\n      weight: box.weight,\n      stack: stack && (pos + stack),\n      stackWeight\n    });\n  }\n  return layoutBoxes;\n}\nfunction buildStacks(layouts) {\n  const stacks = {};\n  for (const wrap of layouts) {\n    const {stack, pos, stackWeight} = wrap;\n    if (!stack || !STATIC_POSITIONS.includes(pos)) {\n      continue;\n    }\n    const _stack = stacks[stack] || (stacks[stack] = {count: 0, placed: 0, weight: 0, size: 0});\n    _stack.count++;\n    _stack.weight += stackWeight;\n  }\n  return stacks;\n}\nfunction setLayoutDims(layouts, params) {\n  const stacks = buildStacks(layouts);\n  const {vBoxMaxWidth, hBoxMaxHeight} = params;\n  let i, ilen, layout;\n  for (i = 0, ilen = layouts.length; i < ilen; ++i) {\n    layout = layouts[i];\n    const {fullSize} = layout.box;\n    const stack = stacks[layout.stack];\n    const factor = stack && layout.stackWeight / stack.weight;\n    if (layout.horizontal) {\n      layout.width = factor ? factor * vBoxMaxWidth : fullSize && params.availableWidth;\n      layout.height = hBoxMaxHeight;\n    } else {\n      layout.width = vBoxMaxWidth;\n      layout.height = factor ? factor * hBoxMaxHeight : fullSize && params.availableHeight;\n    }\n  }\n  return stacks;\n}\nfunction buildLayoutBoxes(boxes) {\n  const layoutBoxes = wrapBoxes(boxes);\n  const fullSize = sortByWeight(layoutBoxes.filter(wrap => wrap.box.fullSize), true);\n  const left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\n  const right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\n  const top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\n  const bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\n  const centerHorizontal = filterDynamicPositionByAxis(layoutBoxes, 'x');\n  const centerVertical = filterDynamicPositionByAxis(layoutBoxes, 'y');\n  return {\n    fullSize,\n    leftAndTop: left.concat(top),\n    rightAndBottom: right.concat(centerVertical).concat(bottom).concat(centerHorizontal),\n    chartArea: filterByPosition(layoutBoxes, 'chartArea'),\n    vertical: left.concat(right).concat(centerVertical),\n    horizontal: top.concat(bottom).concat(centerHorizontal)\n  };\n}\nfunction getCombinedMax(maxPadding, chartArea, a, b) {\n  return Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\n}\nfunction updateMaxPadding(maxPadding, boxPadding) {\n  maxPadding.top = Math.max(maxPadding.top, boxPadding.top);\n  maxPadding.left = Math.max(maxPadding.left, boxPadding.left);\n  maxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\n  maxPadding.right = Math.max(maxPadding.right, boxPadding.right);\n}\nfunction updateDims(chartArea, params, layout, stacks) {\n  const {pos, box} = layout;\n  const maxPadding = chartArea.maxPadding;\n  if (!isObject(pos)) {\n    if (layout.size) {\n      chartArea[pos] -= layout.size;\n    }\n    const stack = stacks[layout.stack] || {size: 0, count: 1};\n    stack.size = Math.max(stack.size, layout.horizontal ? box.height : box.width);\n    layout.size = stack.size / stack.count;\n    chartArea[pos] += layout.size;\n  }\n  if (box.getPadding) {\n    updateMaxPadding(maxPadding, box.getPadding());\n  }\n  const newWidth = Math.max(0, params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right'));\n  const newHeight = Math.max(0, params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom'));\n  const widthChanged = newWidth !== chartArea.w;\n  const heightChanged = newHeight !== chartArea.h;\n  chartArea.w = newWidth;\n  chartArea.h = newHeight;\n  return layout.horizontal\n    ? {same: widthChanged, other: heightChanged}\n    : {same: heightChanged, other: widthChanged};\n}\nfunction handleMaxPadding(chartArea) {\n  const maxPadding = chartArea.maxPadding;\n  function updatePos(pos) {\n    const change = Math.max(maxPadding[pos] - chartArea[pos], 0);\n    chartArea[pos] += change;\n    return change;\n  }\n  chartArea.y += updatePos('top');\n  chartArea.x += updatePos('left');\n  updatePos('right');\n  updatePos('bottom');\n}\nfunction getMargins(horizontal, chartArea) {\n  const maxPadding = chartArea.maxPadding;\n  function marginForPositions(positions) {\n    const margin = {left: 0, top: 0, right: 0, bottom: 0};\n    positions.forEach((pos) => {\n      margin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\n    });\n    return margin;\n  }\n  return horizontal\n    ? marginForPositions(['left', 'right'])\n    : marginForPositions(['top', 'bottom']);\n}\nfunction fitBoxes(boxes, chartArea, params, stacks) {\n  const refitBoxes = [];\n  let i, ilen, layout, box, refit, changed;\n  for (i = 0, ilen = boxes.length, refit = 0; i < ilen; ++i) {\n    layout = boxes[i];\n    box = layout.box;\n    box.update(\n      layout.width || chartArea.w,\n      layout.height || chartArea.h,\n      getMargins(layout.horizontal, chartArea)\n    );\n    const {same, other} = updateDims(chartArea, params, layout, stacks);\n    refit |= same && refitBoxes.length;\n    changed = changed || other;\n    if (!box.fullSize) {\n      refitBoxes.push(layout);\n    }\n  }\n  return refit && fitBoxes(refitBoxes, chartArea, params, stacks) || changed;\n}\nfunction setBoxDims(box, left, top, width, height) {\n  box.top = top;\n  box.left = left;\n  box.right = left + width;\n  box.bottom = top + height;\n  box.width = width;\n  box.height = height;\n}\nfunction placeBoxes(boxes, chartArea, params, stacks) {\n  const userPadding = params.padding;\n  let {x, y} = chartArea;\n  for (const layout of boxes) {\n    const box = layout.box;\n    const stack = stacks[layout.stack] || {count: 1, placed: 0, weight: 1};\n    const weight = (layout.stackWeight / stack.weight) || 1;\n    if (layout.horizontal) {\n      const width = chartArea.w * weight;\n      const height = stack.size || box.height;\n      if (defined(stack.start)) {\n        y = stack.start;\n      }\n      if (box.fullSize) {\n        setBoxDims(box, userPadding.left, y, params.outerWidth - userPadding.right - userPadding.left, height);\n      } else {\n        setBoxDims(box, chartArea.left + stack.placed, y, width, height);\n      }\n      stack.start = y;\n      stack.placed += width;\n      y = box.bottom;\n    } else {\n      const height = chartArea.h * weight;\n      const width = stack.size || box.width;\n      if (defined(stack.start)) {\n        x = stack.start;\n      }\n      if (box.fullSize) {\n        setBoxDims(box, x, userPadding.top, width, params.outerHeight - userPadding.bottom - userPadding.top);\n      } else {\n        setBoxDims(box, x, chartArea.top + stack.placed, width, height);\n      }\n      stack.start = x;\n      stack.placed += height;\n      x = box.right;\n    }\n  }\n  chartArea.x = x;\n  chartArea.y = y;\n}\ndefaults.set('layout', {\n  autoPadding: true,\n  padding: {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0\n  }\n});\nvar layouts = {\n  addBox(chart, item) {\n    if (!chart.boxes) {\n      chart.boxes = [];\n    }\n    item.fullSize = item.fullSize || false;\n    item.position = item.position || 'top';\n    item.weight = item.weight || 0;\n    item._layers = item._layers || function() {\n      return [{\n        z: 0,\n        draw(chartArea) {\n          item.draw(chartArea);\n        }\n      }];\n    };\n    chart.boxes.push(item);\n  },\n  removeBox(chart, layoutItem) {\n    const index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\n    if (index !== -1) {\n      chart.boxes.splice(index, 1);\n    }\n  },\n  configure(chart, item, options) {\n    item.fullSize = options.fullSize;\n    item.position = options.position;\n    item.weight = options.weight;\n  },\n  update(chart, width, height, minPadding) {\n    if (!chart) {\n      return;\n    }\n    const padding = toPadding(chart.options.layout.padding);\n    const availableWidth = Math.max(width - padding.width, 0);\n    const availableHeight = Math.max(height - padding.height, 0);\n    const boxes = buildLayoutBoxes(chart.boxes);\n    const verticalBoxes = boxes.vertical;\n    const horizontalBoxes = boxes.horizontal;\n    each(chart.boxes, box => {\n      if (typeof box.beforeLayout === 'function') {\n        box.beforeLayout();\n      }\n    });\n    const visibleVerticalBoxCount = verticalBoxes.reduce((total, wrap) =>\n      wrap.box.options && wrap.box.options.display === false ? total : total + 1, 0) || 1;\n    const params = Object.freeze({\n      outerWidth: width,\n      outerHeight: height,\n      padding,\n      availableWidth,\n      availableHeight,\n      vBoxMaxWidth: availableWidth / 2 / visibleVerticalBoxCount,\n      hBoxMaxHeight: availableHeight / 2\n    });\n    const maxPadding = Object.assign({}, padding);\n    updateMaxPadding(maxPadding, toPadding(minPadding));\n    const chartArea = Object.assign({\n      maxPadding,\n      w: availableWidth,\n      h: availableHeight,\n      x: padding.left,\n      y: padding.top\n    }, padding);\n    const stacks = setLayoutDims(verticalBoxes.concat(horizontalBoxes), params);\n    fitBoxes(boxes.fullSize, chartArea, params, stacks);\n    fitBoxes(verticalBoxes, chartArea, params, stacks);\n    if (fitBoxes(horizontalBoxes, chartArea, params, stacks)) {\n      fitBoxes(verticalBoxes, chartArea, params, stacks);\n    }\n    handleMaxPadding(chartArea);\n    placeBoxes(boxes.leftAndTop, chartArea, params, stacks);\n    chartArea.x += chartArea.w;\n    chartArea.y += chartArea.h;\n    placeBoxes(boxes.rightAndBottom, chartArea, params, stacks);\n    chart.chartArea = {\n      left: chartArea.left,\n      top: chartArea.top,\n      right: chartArea.left + chartArea.w,\n      bottom: chartArea.top + chartArea.h,\n      height: chartArea.h,\n      width: chartArea.w,\n    };\n    each(boxes.chartArea, (layout) => {\n      const box = layout.box;\n      Object.assign(box, chart.chartArea);\n      box.update(chartArea.w, chartArea.h, {left: 0, top: 0, right: 0, bottom: 0});\n    });\n  }\n};\n\nclass BasePlatform {\n  acquireContext(canvas, aspectRatio) {}\n  releaseContext(context) {\n    return false;\n  }\n  addEventListener(chart, type, listener) {}\n  removeEventListener(chart, type, listener) {}\n  getDevicePixelRatio() {\n    return 1;\n  }\n  getMaximumSize(element, width, height, aspectRatio) {\n    width = Math.max(0, width || element.width);\n    height = height || element.height;\n    return {\n      width,\n      height: Math.max(0, aspectRatio ? Math.floor(width / aspectRatio) : height)\n    };\n  }\n  isAttached(canvas) {\n    return true;\n  }\n  updateConfig(config) {\n  }\n}\n\nclass BasicPlatform extends BasePlatform {\n  acquireContext(item) {\n    return item && item.getContext && item.getContext('2d') || null;\n  }\n  updateConfig(config) {\n    config.options.animation = false;\n  }\n}\n\nconst EXPANDO_KEY = '$chartjs';\nconst EVENT_TYPES = {\n  touchstart: 'mousedown',\n  touchmove: 'mousemove',\n  touchend: 'mouseup',\n  pointerenter: 'mouseenter',\n  pointerdown: 'mousedown',\n  pointermove: 'mousemove',\n  pointerup: 'mouseup',\n  pointerleave: 'mouseout',\n  pointerout: 'mouseout'\n};\nconst isNullOrEmpty = value => value === null || value === '';\nfunction initCanvas(canvas, aspectRatio) {\n  const style = canvas.style;\n  const renderHeight = canvas.getAttribute('height');\n  const renderWidth = canvas.getAttribute('width');\n  canvas[EXPANDO_KEY] = {\n    initial: {\n      height: renderHeight,\n      width: renderWidth,\n      style: {\n        display: style.display,\n        height: style.height,\n        width: style.width\n      }\n    }\n  };\n  style.display = style.display || 'block';\n  style.boxSizing = style.boxSizing || 'border-box';\n  if (isNullOrEmpty(renderWidth)) {\n    const displayWidth = readUsedSize(canvas, 'width');\n    if (displayWidth !== undefined) {\n      canvas.width = displayWidth;\n    }\n  }\n  if (isNullOrEmpty(renderHeight)) {\n    if (canvas.style.height === '') {\n      canvas.height = canvas.width / (aspectRatio || 2);\n    } else {\n      const displayHeight = readUsedSize(canvas, 'height');\n      if (displayHeight !== undefined) {\n        canvas.height = displayHeight;\n      }\n    }\n  }\n  return canvas;\n}\nconst eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;\nfunction addListener(node, type, listener) {\n  node.addEventListener(type, listener, eventListenerOptions);\n}\nfunction removeListener(chart, type, listener) {\n  chart.canvas.removeEventListener(type, listener, eventListenerOptions);\n}\nfunction fromNativeEvent(event, chart) {\n  const type = EVENT_TYPES[event.type] || event.type;\n  const {x, y} = getRelativePosition(event, chart);\n  return {\n    type,\n    chart,\n    native: event,\n    x: x !== undefined ? x : null,\n    y: y !== undefined ? y : null,\n  };\n}\nfunction nodeListContains(nodeList, canvas) {\n  for (const node of nodeList) {\n    if (node === canvas || node.contains(canvas)) {\n      return true;\n    }\n  }\n}\nfunction createAttachObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const observer = new MutationObserver(entries => {\n    let trigger = false;\n    for (const entry of entries) {\n      trigger = trigger || nodeListContains(entry.addedNodes, canvas);\n      trigger = trigger && !nodeListContains(entry.removedNodes, canvas);\n    }\n    if (trigger) {\n      listener();\n    }\n  });\n  observer.observe(document, {childList: true, subtree: true});\n  return observer;\n}\nfunction createDetachObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const observer = new MutationObserver(entries => {\n    let trigger = false;\n    for (const entry of entries) {\n      trigger = trigger || nodeListContains(entry.removedNodes, canvas);\n      trigger = trigger && !nodeListContains(entry.addedNodes, canvas);\n    }\n    if (trigger) {\n      listener();\n    }\n  });\n  observer.observe(document, {childList: true, subtree: true});\n  return observer;\n}\nconst drpListeningCharts = new Map();\nlet oldDevicePixelRatio = 0;\nfunction onWindowResize() {\n  const dpr = window.devicePixelRatio;\n  if (dpr === oldDevicePixelRatio) {\n    return;\n  }\n  oldDevicePixelRatio = dpr;\n  drpListeningCharts.forEach((resize, chart) => {\n    if (chart.currentDevicePixelRatio !== dpr) {\n      resize();\n    }\n  });\n}\nfunction listenDevicePixelRatioChanges(chart, resize) {\n  if (!drpListeningCharts.size) {\n    window.addEventListener('resize', onWindowResize);\n  }\n  drpListeningCharts.set(chart, resize);\n}\nfunction unlistenDevicePixelRatioChanges(chart) {\n  drpListeningCharts.delete(chart);\n  if (!drpListeningCharts.size) {\n    window.removeEventListener('resize', onWindowResize);\n  }\n}\nfunction createResizeObserver(chart, type, listener) {\n  const canvas = chart.canvas;\n  const container = canvas && _getParentNode(canvas);\n  if (!container) {\n    return;\n  }\n  const resize = throttled((width, height) => {\n    const w = container.clientWidth;\n    listener(width, height);\n    if (w < container.clientWidth) {\n      listener();\n    }\n  }, window);\n  const observer = new ResizeObserver(entries => {\n    const entry = entries[0];\n    const width = entry.contentRect.width;\n    const height = entry.contentRect.height;\n    if (width === 0 && height === 0) {\n      return;\n    }\n    resize(width, height);\n  });\n  observer.observe(container);\n  listenDevicePixelRatioChanges(chart, resize);\n  return observer;\n}\nfunction releaseObserver(chart, type, observer) {\n  if (observer) {\n    observer.disconnect();\n  }\n  if (type === 'resize') {\n    unlistenDevicePixelRatioChanges(chart);\n  }\n}\nfunction createProxyAndListen(chart, type, listener) {\n  const canvas = chart.canvas;\n  const proxy = throttled((event) => {\n    if (chart.ctx !== null) {\n      listener(fromNativeEvent(event, chart));\n    }\n  }, chart, (args) => {\n    const event = args[0];\n    return [event, event.offsetX, event.offsetY];\n  });\n  addListener(canvas, type, proxy);\n  return proxy;\n}\nclass DomPlatform extends BasePlatform {\n  acquireContext(canvas, aspectRatio) {\n    const context = canvas && canvas.getContext && canvas.getContext('2d');\n    if (context && context.canvas === canvas) {\n      initCanvas(canvas, aspectRatio);\n      return context;\n    }\n    return null;\n  }\n  releaseContext(context) {\n    const canvas = context.canvas;\n    if (!canvas[EXPANDO_KEY]) {\n      return false;\n    }\n    const initial = canvas[EXPANDO_KEY].initial;\n    ['height', 'width'].forEach((prop) => {\n      const value = initial[prop];\n      if (isNullOrUndef(value)) {\n        canvas.removeAttribute(prop);\n      } else {\n        canvas.setAttribute(prop, value);\n      }\n    });\n    const style = initial.style || {};\n    Object.keys(style).forEach((key) => {\n      canvas.style[key] = style[key];\n    });\n    canvas.width = canvas.width;\n    delete canvas[EXPANDO_KEY];\n    return true;\n  }\n  addEventListener(chart, type, listener) {\n    this.removeEventListener(chart, type);\n    const proxies = chart.$proxies || (chart.$proxies = {});\n    const handlers = {\n      attach: createAttachObserver,\n      detach: createDetachObserver,\n      resize: createResizeObserver\n    };\n    const handler = handlers[type] || createProxyAndListen;\n    proxies[type] = handler(chart, type, listener);\n  }\n  removeEventListener(chart, type) {\n    const proxies = chart.$proxies || (chart.$proxies = {});\n    const proxy = proxies[type];\n    if (!proxy) {\n      return;\n    }\n    const handlers = {\n      attach: releaseObserver,\n      detach: releaseObserver,\n      resize: releaseObserver\n    };\n    const handler = handlers[type] || removeListener;\n    handler(chart, type, proxy);\n    proxies[type] = undefined;\n  }\n  getDevicePixelRatio() {\n    return window.devicePixelRatio;\n  }\n  getMaximumSize(canvas, width, height, aspectRatio) {\n    return getMaximumSize(canvas, width, height, aspectRatio);\n  }\n  isAttached(canvas) {\n    const container = _getParentNode(canvas);\n    return !!(container && container.isConnected);\n  }\n}\n\nfunction _detectPlatform(canvas) {\n  if (!_isDomSupported() || (typeof OffscreenCanvas !== 'undefined' && canvas instanceof OffscreenCanvas)) {\n    return BasicPlatform;\n  }\n  return DomPlatform;\n}\n\nvar platforms = /*#__PURE__*/Object.freeze({\n__proto__: null,\n_detectPlatform: _detectPlatform,\nBasePlatform: BasePlatform,\nBasicPlatform: BasicPlatform,\nDomPlatform: DomPlatform\n});\n\nconst transparent = 'transparent';\nconst interpolators = {\n  boolean(from, to, factor) {\n    return factor > 0.5 ? to : from;\n  },\n  color(from, to, factor) {\n    const c0 = color(from || transparent);\n    const c1 = c0.valid && color(to || transparent);\n    return c1 && c1.valid\n      ? c1.mix(c0, factor).hexString()\n      : to;\n  },\n  number(from, to, factor) {\n    return from + (to - from) * factor;\n  }\n};\nclass Animation {\n  constructor(cfg, target, prop, to) {\n    const currentValue = target[prop];\n    to = resolve([cfg.to, to, currentValue, cfg.from]);\n    const from = resolve([cfg.from, currentValue, to]);\n    this._active = true;\n    this._fn = cfg.fn || interpolators[cfg.type || typeof from];\n    this._easing = effects[cfg.easing] || effects.linear;\n    this._start = Math.floor(Date.now() + (cfg.delay || 0));\n    this._duration = this._total = Math.floor(cfg.duration);\n    this._loop = !!cfg.loop;\n    this._target = target;\n    this._prop = prop;\n    this._from = from;\n    this._to = to;\n    this._promises = undefined;\n  }\n  active() {\n    return this._active;\n  }\n  update(cfg, to, date) {\n    if (this._active) {\n      this._notify(false);\n      const currentValue = this._target[this._prop];\n      const elapsed = date - this._start;\n      const remain = this._duration - elapsed;\n      this._start = date;\n      this._duration = Math.floor(Math.max(remain, cfg.duration));\n      this._total += elapsed;\n      this._loop = !!cfg.loop;\n      this._to = resolve([cfg.to, to, currentValue, cfg.from]);\n      this._from = resolve([cfg.from, currentValue, to]);\n    }\n  }\n  cancel() {\n    if (this._active) {\n      this.tick(Date.now());\n      this._active = false;\n      this._notify(false);\n    }\n  }\n  tick(date) {\n    const elapsed = date - this._start;\n    const duration = this._duration;\n    const prop = this._prop;\n    const from = this._from;\n    const loop = this._loop;\n    const to = this._to;\n    let factor;\n    this._active = from !== to && (loop || (elapsed < duration));\n    if (!this._active) {\n      this._target[prop] = to;\n      this._notify(true);\n      return;\n    }\n    if (elapsed < 0) {\n      this._target[prop] = from;\n      return;\n    }\n    factor = (elapsed / duration) % 2;\n    factor = loop && factor > 1 ? 2 - factor : factor;\n    factor = this._easing(Math.min(1, Math.max(0, factor)));\n    this._target[prop] = this._fn(from, to, factor);\n  }\n  wait() {\n    const promises = this._promises || (this._promises = []);\n    return new Promise((res, rej) => {\n      promises.push({res, rej});\n    });\n  }\n  _notify(resolved) {\n    const method = resolved ? 'res' : 'rej';\n    const promises = this._promises || [];\n    for (let i = 0; i < promises.length; i++) {\n      promises[i][method]();\n    }\n  }\n}\n\nconst numbers = ['x', 'y', 'borderWidth', 'radius', 'tension'];\nconst colors = ['color', 'borderColor', 'backgroundColor'];\ndefaults.set('animation', {\n  delay: undefined,\n  duration: 1000,\n  easing: 'easeOutQuart',\n  fn: undefined,\n  from: undefined,\n  loop: undefined,\n  to: undefined,\n  type: undefined,\n});\nconst animationOptions = Object.keys(defaults.animation);\ndefaults.describe('animation', {\n  _fallback: false,\n  _indexable: false,\n  _scriptable: (name) => name !== 'onProgress' && name !== 'onComplete' && name !== 'fn',\n});\ndefaults.set('animations', {\n  colors: {\n    type: 'color',\n    properties: colors\n  },\n  numbers: {\n    type: 'number',\n    properties: numbers\n  },\n});\ndefaults.describe('animations', {\n  _fallback: 'animation',\n});\ndefaults.set('transitions', {\n  active: {\n    animation: {\n      duration: 400\n    }\n  },\n  resize: {\n    animation: {\n      duration: 0\n    }\n  },\n  show: {\n    animations: {\n      colors: {\n        from: 'transparent'\n      },\n      visible: {\n        type: 'boolean',\n        duration: 0\n      },\n    }\n  },\n  hide: {\n    animations: {\n      colors: {\n        to: 'transparent'\n      },\n      visible: {\n        type: 'boolean',\n        easing: 'linear',\n        fn: v => v | 0\n      },\n    }\n  }\n});\nclass Animations {\n  constructor(chart, config) {\n    this._chart = chart;\n    this._properties = new Map();\n    this.configure(config);\n  }\n  configure(config) {\n    if (!isObject(config)) {\n      return;\n    }\n    const animatedProps = this._properties;\n    Object.getOwnPropertyNames(config).forEach(key => {\n      const cfg = config[key];\n      if (!isObject(cfg)) {\n        return;\n      }\n      const resolved = {};\n      for (const option of animationOptions) {\n        resolved[option] = cfg[option];\n      }\n      (isArray(cfg.properties) && cfg.properties || [key]).forEach((prop) => {\n        if (prop === key || !animatedProps.has(prop)) {\n          animatedProps.set(prop, resolved);\n        }\n      });\n    });\n  }\n  _animateOptions(target, values) {\n    const newOptions = values.options;\n    const options = resolveTargetOptions(target, newOptions);\n    if (!options) {\n      return [];\n    }\n    const animations = this._createAnimations(options, newOptions);\n    if (newOptions.$shared) {\n      awaitAll(target.options.$animations, newOptions).then(() => {\n        target.options = newOptions;\n      }, () => {\n      });\n    }\n    return animations;\n  }\n  _createAnimations(target, values) {\n    const animatedProps = this._properties;\n    const animations = [];\n    const running = target.$animations || (target.$animations = {});\n    const props = Object.keys(values);\n    const date = Date.now();\n    let i;\n    for (i = props.length - 1; i >= 0; --i) {\n      const prop = props[i];\n      if (prop.charAt(0) === '$') {\n        continue;\n      }\n      if (prop === 'options') {\n        animations.push(...this._animateOptions(target, values));\n        continue;\n      }\n      const value = values[prop];\n      let animation = running[prop];\n      const cfg = animatedProps.get(prop);\n      if (animation) {\n        if (cfg && animation.active()) {\n          animation.update(cfg, value, date);\n          continue;\n        } else {\n          animation.cancel();\n        }\n      }\n      if (!cfg || !cfg.duration) {\n        target[prop] = value;\n        continue;\n      }\n      running[prop] = animation = new Animation(cfg, target, prop, value);\n      animations.push(animation);\n    }\n    return animations;\n  }\n  update(target, values) {\n    if (this._properties.size === 0) {\n      Object.assign(target, values);\n      return;\n    }\n    const animations = this._createAnimations(target, values);\n    if (animations.length) {\n      animator.add(this._chart, animations);\n      return true;\n    }\n  }\n}\nfunction awaitAll(animations, properties) {\n  const running = [];\n  const keys = Object.keys(properties);\n  for (let i = 0; i < keys.length; i++) {\n    const anim = animations[keys[i]];\n    if (anim && anim.active()) {\n      running.push(anim.wait());\n    }\n  }\n  return Promise.all(running);\n}\nfunction resolveTargetOptions(target, newOptions) {\n  if (!newOptions) {\n    return;\n  }\n  let options = target.options;\n  if (!options) {\n    target.options = newOptions;\n    return;\n  }\n  if (options.$shared) {\n    target.options = options = Object.assign({}, options, {$shared: false, $animations: {}});\n  }\n  return options;\n}\n\nfunction scaleClip(scale, allowedOverflow) {\n  const opts = scale && scale.options || {};\n  const reverse = opts.reverse;\n  const min = opts.min === undefined ? allowedOverflow : 0;\n  const max = opts.max === undefined ? allowedOverflow : 0;\n  return {\n    start: reverse ? max : min,\n    end: reverse ? min : max\n  };\n}\nfunction defaultClip(xScale, yScale, allowedOverflow) {\n  if (allowedOverflow === false) {\n    return false;\n  }\n  const x = scaleClip(xScale, allowedOverflow);\n  const y = scaleClip(yScale, allowedOverflow);\n  return {\n    top: y.end,\n    right: x.end,\n    bottom: y.start,\n    left: x.start\n  };\n}\nfunction toClip(value) {\n  let t, r, b, l;\n  if (isObject(value)) {\n    t = value.top;\n    r = value.right;\n    b = value.bottom;\n    l = value.left;\n  } else {\n    t = r = b = l = value;\n  }\n  return {\n    top: t,\n    right: r,\n    bottom: b,\n    left: l,\n    disabled: value === false\n  };\n}\nfunction getSortedDatasetIndices(chart, filterVisible) {\n  const keys = [];\n  const metasets = chart._getSortedDatasetMetas(filterVisible);\n  let i, ilen;\n  for (i = 0, ilen = metasets.length; i < ilen; ++i) {\n    keys.push(metasets[i].index);\n  }\n  return keys;\n}\nfunction applyStack(stack, value, dsIndex, options = {}) {\n  const keys = stack.keys;\n  const singleMode = options.mode === 'single';\n  let i, ilen, datasetIndex, otherValue;\n  if (value === null) {\n    return;\n  }\n  for (i = 0, ilen = keys.length; i < ilen; ++i) {\n    datasetIndex = +keys[i];\n    if (datasetIndex === dsIndex) {\n      if (options.all) {\n        continue;\n      }\n      break;\n    }\n    otherValue = stack.values[datasetIndex];\n    if (isNumberFinite(otherValue) && (singleMode || (value === 0 || sign(value) === sign(otherValue)))) {\n      value += otherValue;\n    }\n  }\n  return value;\n}\nfunction convertObjectDataToArray(data) {\n  const keys = Object.keys(data);\n  const adata = new Array(keys.length);\n  let i, ilen, key;\n  for (i = 0, ilen = keys.length; i < ilen; ++i) {\n    key = keys[i];\n    adata[i] = {\n      x: key,\n      y: data[key]\n    };\n  }\n  return adata;\n}\nfunction isStacked(scale, meta) {\n  const stacked = scale && scale.options.stacked;\n  return stacked || (stacked === undefined && meta.stack !== undefined);\n}\nfunction getStackKey(indexScale, valueScale, meta) {\n  return `${indexScale.id}.${valueScale.id}.${meta.stack || meta.type}`;\n}\nfunction getUserBounds(scale) {\n  const {min, max, minDefined, maxDefined} = scale.getUserBounds();\n  return {\n    min: minDefined ? min : Number.NEGATIVE_INFINITY,\n    max: maxDefined ? max : Number.POSITIVE_INFINITY\n  };\n}\nfunction getOrCreateStack(stacks, stackKey, indexValue) {\n  const subStack = stacks[stackKey] || (stacks[stackKey] = {});\n  return subStack[indexValue] || (subStack[indexValue] = {});\n}\nfunction getLastIndexInStack(stack, vScale, positive, type) {\n  for (const meta of vScale.getMatchingVisibleMetas(type).reverse()) {\n    const value = stack[meta.index];\n    if ((positive && value > 0) || (!positive && value < 0)) {\n      return meta.index;\n    }\n  }\n  return null;\n}\nfunction updateStacks(controller, parsed) {\n  const {chart, _cachedMeta: meta} = controller;\n  const stacks = chart._stacks || (chart._stacks = {});\n  const {iScale, vScale, index: datasetIndex} = meta;\n  const iAxis = iScale.axis;\n  const vAxis = vScale.axis;\n  const key = getStackKey(iScale, vScale, meta);\n  const ilen = parsed.length;\n  let stack;\n  for (let i = 0; i < ilen; ++i) {\n    const item = parsed[i];\n    const {[iAxis]: index, [vAxis]: value} = item;\n    const itemStacks = item._stacks || (item._stacks = {});\n    stack = itemStacks[vAxis] = getOrCreateStack(stacks, key, index);\n    stack[datasetIndex] = value;\n    stack._top = getLastIndexInStack(stack, vScale, true, meta.type);\n    stack._bottom = getLastIndexInStack(stack, vScale, false, meta.type);\n  }\n}\nfunction getFirstScaleId(chart, axis) {\n  const scales = chart.scales;\n  return Object.keys(scales).filter(key => scales[key].axis === axis).shift();\n}\nfunction createDatasetContext(parent, index) {\n  return createContext(parent,\n    {\n      active: false,\n      dataset: undefined,\n      datasetIndex: index,\n      index,\n      mode: 'default',\n      type: 'dataset'\n    }\n  );\n}\nfunction createDataContext(parent, index, element) {\n  return createContext(parent, {\n    active: false,\n    dataIndex: index,\n    parsed: undefined,\n    raw: undefined,\n    element,\n    index,\n    mode: 'default',\n    type: 'data'\n  });\n}\nfunction clearStacks(meta, items) {\n  const datasetIndex = meta.controller.index;\n  const axis = meta.vScale && meta.vScale.axis;\n  if (!axis) {\n    return;\n  }\n  items = items || meta._parsed;\n  for (const parsed of items) {\n    const stacks = parsed._stacks;\n    if (!stacks || stacks[axis] === undefined || stacks[axis][datasetIndex] === undefined) {\n      return;\n    }\n    delete stacks[axis][datasetIndex];\n  }\n}\nconst isDirectUpdateMode = (mode) => mode === 'reset' || mode === 'none';\nconst cloneIfNotShared = (cached, shared) => shared ? cached : Object.assign({}, cached);\nconst createStack = (canStack, meta, chart) => canStack && !meta.hidden && meta._stacked\n  && {keys: getSortedDatasetIndices(chart, true), values: null};\nclass DatasetController {\n  constructor(chart, datasetIndex) {\n    this.chart = chart;\n    this._ctx = chart.ctx;\n    this.index = datasetIndex;\n    this._cachedDataOpts = {};\n    this._cachedMeta = this.getMeta();\n    this._type = this._cachedMeta.type;\n    this.options = undefined;\n    this._parsing = false;\n    this._data = undefined;\n    this._objectData = undefined;\n    this._sharedOptions = undefined;\n    this._drawStart = undefined;\n    this._drawCount = undefined;\n    this.enableOptionSharing = false;\n    this.supportsDecimation = false;\n    this.$context = undefined;\n    this._syncList = [];\n    this.initialize();\n  }\n  initialize() {\n    const meta = this._cachedMeta;\n    this.configure();\n    this.linkScales();\n    meta._stacked = isStacked(meta.vScale, meta);\n    this.addElements();\n  }\n  updateIndex(datasetIndex) {\n    if (this.index !== datasetIndex) {\n      clearStacks(this._cachedMeta);\n    }\n    this.index = datasetIndex;\n  }\n  linkScales() {\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const dataset = this.getDataset();\n    const chooseId = (axis, x, y, r) => axis === 'x' ? x : axis === 'r' ? r : y;\n    const xid = meta.xAxisID = valueOrDefault(dataset.xAxisID, getFirstScaleId(chart, 'x'));\n    const yid = meta.yAxisID = valueOrDefault(dataset.yAxisID, getFirstScaleId(chart, 'y'));\n    const rid = meta.rAxisID = valueOrDefault(dataset.rAxisID, getFirstScaleId(chart, 'r'));\n    const indexAxis = meta.indexAxis;\n    const iid = meta.iAxisID = chooseId(indexAxis, xid, yid, rid);\n    const vid = meta.vAxisID = chooseId(indexAxis, yid, xid, rid);\n    meta.xScale = this.getScaleForId(xid);\n    meta.yScale = this.getScaleForId(yid);\n    meta.rScale = this.getScaleForId(rid);\n    meta.iScale = this.getScaleForId(iid);\n    meta.vScale = this.getScaleForId(vid);\n  }\n  getDataset() {\n    return this.chart.data.datasets[this.index];\n  }\n  getMeta() {\n    return this.chart.getDatasetMeta(this.index);\n  }\n  getScaleForId(scaleID) {\n    return this.chart.scales[scaleID];\n  }\n  _getOtherScale(scale) {\n    const meta = this._cachedMeta;\n    return scale === meta.iScale\n      ? meta.vScale\n      : meta.iScale;\n  }\n  reset() {\n    this._update('reset');\n  }\n  _destroy() {\n    const meta = this._cachedMeta;\n    if (this._data) {\n      unlistenArrayEvents(this._data, this);\n    }\n    if (meta._stacked) {\n      clearStacks(meta);\n    }\n  }\n  _dataCheck() {\n    const dataset = this.getDataset();\n    const data = dataset.data || (dataset.data = []);\n    const _data = this._data;\n    if (isObject(data)) {\n      this._data = convertObjectDataToArray(data);\n    } else if (_data !== data) {\n      if (_data) {\n        unlistenArrayEvents(_data, this);\n        const meta = this._cachedMeta;\n        clearStacks(meta);\n        meta._parsed = [];\n      }\n      if (data && Object.isExtensible(data)) {\n        listenArrayEvents(data, this);\n      }\n      this._syncList = [];\n      this._data = data;\n    }\n  }\n  addElements() {\n    const meta = this._cachedMeta;\n    this._dataCheck();\n    if (this.datasetElementType) {\n      meta.dataset = new this.datasetElementType();\n    }\n  }\n  buildOrUpdateElements(resetNewElements) {\n    const meta = this._cachedMeta;\n    const dataset = this.getDataset();\n    let stackChanged = false;\n    this._dataCheck();\n    const oldStacked = meta._stacked;\n    meta._stacked = isStacked(meta.vScale, meta);\n    if (meta.stack !== dataset.stack) {\n      stackChanged = true;\n      clearStacks(meta);\n      meta.stack = dataset.stack;\n    }\n    this._resyncElements(resetNewElements);\n    if (stackChanged || oldStacked !== meta._stacked) {\n      updateStacks(this, meta._parsed);\n    }\n  }\n  configure() {\n    const config = this.chart.config;\n    const scopeKeys = config.datasetScopeKeys(this._type);\n    const scopes = config.getOptionScopes(this.getDataset(), scopeKeys, true);\n    this.options = config.createResolver(scopes, this.getContext());\n    this._parsing = this.options.parsing;\n    this._cachedDataOpts = {};\n  }\n  parse(start, count) {\n    const {_cachedMeta: meta, _data: data} = this;\n    const {iScale, _stacked} = meta;\n    const iAxis = iScale.axis;\n    let sorted = start === 0 && count === data.length ? true : meta._sorted;\n    let prev = start > 0 && meta._parsed[start - 1];\n    let i, cur, parsed;\n    if (this._parsing === false) {\n      meta._parsed = data;\n      meta._sorted = true;\n      parsed = data;\n    } else {\n      if (isArray(data[start])) {\n        parsed = this.parseArrayData(meta, data, start, count);\n      } else if (isObject(data[start])) {\n        parsed = this.parseObjectData(meta, data, start, count);\n      } else {\n        parsed = this.parsePrimitiveData(meta, data, start, count);\n      }\n      const isNotInOrderComparedToPrev = () => cur[iAxis] === null || (prev && cur[iAxis] < prev[iAxis]);\n      for (i = 0; i < count; ++i) {\n        meta._parsed[i + start] = cur = parsed[i];\n        if (sorted) {\n          if (isNotInOrderComparedToPrev()) {\n            sorted = false;\n          }\n          prev = cur;\n        }\n      }\n      meta._sorted = sorted;\n    }\n    if (_stacked) {\n      updateStacks(this, parsed);\n    }\n  }\n  parsePrimitiveData(meta, data, start, count) {\n    const {iScale, vScale} = meta;\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const labels = iScale.getLabels();\n    const singleScale = iScale === vScale;\n    const parsed = new Array(count);\n    let i, ilen, index;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      parsed[i] = {\n        [iAxis]: singleScale || iScale.parse(labels[index], index),\n        [vAxis]: vScale.parse(data[index], index)\n      };\n    }\n    return parsed;\n  }\n  parseArrayData(meta, data, start, count) {\n    const {xScale, yScale} = meta;\n    const parsed = new Array(count);\n    let i, ilen, index, item;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      item = data[index];\n      parsed[i] = {\n        x: xScale.parse(item[0], index),\n        y: yScale.parse(item[1], index)\n      };\n    }\n    return parsed;\n  }\n  parseObjectData(meta, data, start, count) {\n    const {xScale, yScale} = meta;\n    const {xAxisKey = 'x', yAxisKey = 'y'} = this._parsing;\n    const parsed = new Array(count);\n    let i, ilen, index, item;\n    for (i = 0, ilen = count; i < ilen; ++i) {\n      index = i + start;\n      item = data[index];\n      parsed[i] = {\n        x: xScale.parse(resolveObjectKey(item, xAxisKey), index),\n        y: yScale.parse(resolveObjectKey(item, yAxisKey), index)\n      };\n    }\n    return parsed;\n  }\n  getParsed(index) {\n    return this._cachedMeta._parsed[index];\n  }\n  getDataElement(index) {\n    return this._cachedMeta.data[index];\n  }\n  applyStack(scale, parsed, mode) {\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const value = parsed[scale.axis];\n    const stack = {\n      keys: getSortedDatasetIndices(chart, true),\n      values: parsed._stacks[scale.axis]\n    };\n    return applyStack(stack, value, meta.index, {mode});\n  }\n  updateRangeFromParsed(range, scale, parsed, stack) {\n    const parsedValue = parsed[scale.axis];\n    let value = parsedValue === null ? NaN : parsedValue;\n    const values = stack && parsed._stacks[scale.axis];\n    if (stack && values) {\n      stack.values = values;\n      value = applyStack(stack, parsedValue, this._cachedMeta.index);\n    }\n    range.min = Math.min(range.min, value);\n    range.max = Math.max(range.max, value);\n  }\n  getMinMax(scale, canStack) {\n    const meta = this._cachedMeta;\n    const _parsed = meta._parsed;\n    const sorted = meta._sorted && scale === meta.iScale;\n    const ilen = _parsed.length;\n    const otherScale = this._getOtherScale(scale);\n    const stack = createStack(canStack, meta, this.chart);\n    const range = {min: Number.POSITIVE_INFINITY, max: Number.NEGATIVE_INFINITY};\n    const {min: otherMin, max: otherMax} = getUserBounds(otherScale);\n    let i, parsed;\n    function _skip() {\n      parsed = _parsed[i];\n      const otherValue = parsed[otherScale.axis];\n      return !isNumberFinite(parsed[scale.axis]) || otherMin > otherValue || otherMax < otherValue;\n    }\n    for (i = 0; i < ilen; ++i) {\n      if (_skip()) {\n        continue;\n      }\n      this.updateRangeFromParsed(range, scale, parsed, stack);\n      if (sorted) {\n        break;\n      }\n    }\n    if (sorted) {\n      for (i = ilen - 1; i >= 0; --i) {\n        if (_skip()) {\n          continue;\n        }\n        this.updateRangeFromParsed(range, scale, parsed, stack);\n        break;\n      }\n    }\n    return range;\n  }\n  getAllParsedValues(scale) {\n    const parsed = this._cachedMeta._parsed;\n    const values = [];\n    let i, ilen, value;\n    for (i = 0, ilen = parsed.length; i < ilen; ++i) {\n      value = parsed[i][scale.axis];\n      if (isNumberFinite(value)) {\n        values.push(value);\n      }\n    }\n    return values;\n  }\n  getMaxOverflow() {\n    return false;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const iScale = meta.iScale;\n    const vScale = meta.vScale;\n    const parsed = this.getParsed(index);\n    return {\n      label: iScale ? '' + iScale.getLabelForValue(parsed[iScale.axis]) : '',\n      value: vScale ? '' + vScale.getLabelForValue(parsed[vScale.axis]) : ''\n    };\n  }\n  _update(mode) {\n    const meta = this._cachedMeta;\n    this.update(mode || 'default');\n    meta._clip = toClip(valueOrDefault(this.options.clip, defaultClip(meta.xScale, meta.yScale, this.getMaxOverflow())));\n  }\n  update(mode) {}\n  draw() {\n    const ctx = this._ctx;\n    const chart = this.chart;\n    const meta = this._cachedMeta;\n    const elements = meta.data || [];\n    const area = chart.chartArea;\n    const active = [];\n    const start = this._drawStart || 0;\n    const count = this._drawCount || (elements.length - start);\n    const drawActiveElementsOnTop = this.options.drawActiveElementsOnTop;\n    let i;\n    if (meta.dataset) {\n      meta.dataset.draw(ctx, area, start, count);\n    }\n    for (i = start; i < start + count; ++i) {\n      const element = elements[i];\n      if (element.hidden) {\n        continue;\n      }\n      if (element.active && drawActiveElementsOnTop) {\n        active.push(element);\n      } else {\n        element.draw(ctx, area);\n      }\n    }\n    for (i = 0; i < active.length; ++i) {\n      active[i].draw(ctx, area);\n    }\n  }\n  getStyle(index, active) {\n    const mode = active ? 'active' : 'default';\n    return index === undefined && this._cachedMeta.dataset\n      ? this.resolveDatasetElementOptions(mode)\n      : this.resolveDataElementOptions(index || 0, mode);\n  }\n  getContext(index, active, mode) {\n    const dataset = this.getDataset();\n    let context;\n    if (index >= 0 && index < this._cachedMeta.data.length) {\n      const element = this._cachedMeta.data[index];\n      context = element.$context ||\n        (element.$context = createDataContext(this.getContext(), index, element));\n      context.parsed = this.getParsed(index);\n      context.raw = dataset.data[index];\n      context.index = context.dataIndex = index;\n    } else {\n      context = this.$context ||\n        (this.$context = createDatasetContext(this.chart.getContext(), this.index));\n      context.dataset = dataset;\n      context.index = context.datasetIndex = this.index;\n    }\n    context.active = !!active;\n    context.mode = mode;\n    return context;\n  }\n  resolveDatasetElementOptions(mode) {\n    return this._resolveElementOptions(this.datasetElementType.id, mode);\n  }\n  resolveDataElementOptions(index, mode) {\n    return this._resolveElementOptions(this.dataElementType.id, mode, index);\n  }\n  _resolveElementOptions(elementType, mode = 'default', index) {\n    const active = mode === 'active';\n    const cache = this._cachedDataOpts;\n    const cacheKey = elementType + '-' + mode;\n    const cached = cache[cacheKey];\n    const sharing = this.enableOptionSharing && defined(index);\n    if (cached) {\n      return cloneIfNotShared(cached, sharing);\n    }\n    const config = this.chart.config;\n    const scopeKeys = config.datasetElementScopeKeys(this._type, elementType);\n    const prefixes = active ? [`${elementType}Hover`, 'hover', elementType, ''] : [elementType, ''];\n    const scopes = config.getOptionScopes(this.getDataset(), scopeKeys);\n    const names = Object.keys(defaults.elements[elementType]);\n    const context = () => this.getContext(index, active);\n    const values = config.resolveNamedOptions(scopes, names, context, prefixes);\n    if (values.$shared) {\n      values.$shared = sharing;\n      cache[cacheKey] = Object.freeze(cloneIfNotShared(values, sharing));\n    }\n    return values;\n  }\n  _resolveAnimations(index, transition, active) {\n    const chart = this.chart;\n    const cache = this._cachedDataOpts;\n    const cacheKey = `animation-${transition}`;\n    const cached = cache[cacheKey];\n    if (cached) {\n      return cached;\n    }\n    let options;\n    if (chart.options.animation !== false) {\n      const config = this.chart.config;\n      const scopeKeys = config.datasetAnimationScopeKeys(this._type, transition);\n      const scopes = config.getOptionScopes(this.getDataset(), scopeKeys);\n      options = config.createResolver(scopes, this.getContext(index, active, transition));\n    }\n    const animations = new Animations(chart, options && options.animations);\n    if (options && options._cacheable) {\n      cache[cacheKey] = Object.freeze(animations);\n    }\n    return animations;\n  }\n  getSharedOptions(options) {\n    if (!options.$shared) {\n      return;\n    }\n    return this._sharedOptions || (this._sharedOptions = Object.assign({}, options));\n  }\n  includeOptions(mode, sharedOptions) {\n    return !sharedOptions || isDirectUpdateMode(mode) || this.chart._animationsDisabled;\n  }\n  _getSharedOptions(start, mode) {\n    const firstOpts = this.resolveDataElementOptions(start, mode);\n    const previouslySharedOptions = this._sharedOptions;\n    const sharedOptions = this.getSharedOptions(firstOpts);\n    const includeOptions = this.includeOptions(mode, sharedOptions) || (sharedOptions !== previouslySharedOptions);\n    this.updateSharedOptions(sharedOptions, mode, firstOpts);\n    return {sharedOptions, includeOptions};\n  }\n  updateElement(element, index, properties, mode) {\n    if (isDirectUpdateMode(mode)) {\n      Object.assign(element, properties);\n    } else {\n      this._resolveAnimations(index, mode).update(element, properties);\n    }\n  }\n  updateSharedOptions(sharedOptions, mode, newOptions) {\n    if (sharedOptions && !isDirectUpdateMode(mode)) {\n      this._resolveAnimations(undefined, mode).update(sharedOptions, newOptions);\n    }\n  }\n  _setStyle(element, index, mode, active) {\n    element.active = active;\n    const options = this.getStyle(index, active);\n    this._resolveAnimations(index, mode, active).update(element, {\n      options: (!active && this.getSharedOptions(options)) || options\n    });\n  }\n  removeHoverStyle(element, datasetIndex, index) {\n    this._setStyle(element, index, 'active', false);\n  }\n  setHoverStyle(element, datasetIndex, index) {\n    this._setStyle(element, index, 'active', true);\n  }\n  _removeDatasetHoverStyle() {\n    const element = this._cachedMeta.dataset;\n    if (element) {\n      this._setStyle(element, undefined, 'active', false);\n    }\n  }\n  _setDatasetHoverStyle() {\n    const element = this._cachedMeta.dataset;\n    if (element) {\n      this._setStyle(element, undefined, 'active', true);\n    }\n  }\n  _resyncElements(resetNewElements) {\n    const data = this._data;\n    const elements = this._cachedMeta.data;\n    for (const [method, arg1, arg2] of this._syncList) {\n      this[method](arg1, arg2);\n    }\n    this._syncList = [];\n    const numMeta = elements.length;\n    const numData = data.length;\n    const count = Math.min(numData, numMeta);\n    if (count) {\n      this.parse(0, count);\n    }\n    if (numData > numMeta) {\n      this._insertElements(numMeta, numData - numMeta, resetNewElements);\n    } else if (numData < numMeta) {\n      this._removeElements(numData, numMeta - numData);\n    }\n  }\n  _insertElements(start, count, resetNewElements = true) {\n    const meta = this._cachedMeta;\n    const data = meta.data;\n    const end = start + count;\n    let i;\n    const move = (arr) => {\n      arr.length += count;\n      for (i = arr.length - 1; i >= end; i--) {\n        arr[i] = arr[i - count];\n      }\n    };\n    move(data);\n    for (i = start; i < end; ++i) {\n      data[i] = new this.dataElementType();\n    }\n    if (this._parsing) {\n      move(meta._parsed);\n    }\n    this.parse(start, count);\n    if (resetNewElements) {\n      this.updateElements(data, start, count, 'reset');\n    }\n  }\n  updateElements(element, start, count, mode) {}\n  _removeElements(start, count) {\n    const meta = this._cachedMeta;\n    if (this._parsing) {\n      const removed = meta._parsed.splice(start, count);\n      if (meta._stacked) {\n        clearStacks(meta, removed);\n      }\n    }\n    meta.data.splice(start, count);\n  }\n  _sync(args) {\n    if (this._parsing) {\n      this._syncList.push(args);\n    } else {\n      const [method, arg1, arg2] = args;\n      this[method](arg1, arg2);\n    }\n    this.chart._dataChanges.push([this.index, ...args]);\n  }\n  _onDataPush() {\n    const count = arguments.length;\n    this._sync(['_insertElements', this.getDataset().data.length - count, count]);\n  }\n  _onDataPop() {\n    this._sync(['_removeElements', this._cachedMeta.data.length - 1, 1]);\n  }\n  _onDataShift() {\n    this._sync(['_removeElements', 0, 1]);\n  }\n  _onDataSplice(start, count) {\n    if (count) {\n      this._sync(['_removeElements', start, count]);\n    }\n    const newCount = arguments.length - 2;\n    if (newCount) {\n      this._sync(['_insertElements', start, newCount]);\n    }\n  }\n  _onDataUnshift() {\n    this._sync(['_insertElements', 0, arguments.length]);\n  }\n}\nDatasetController.defaults = {};\nDatasetController.prototype.datasetElementType = null;\nDatasetController.prototype.dataElementType = null;\n\nclass Element {\n  constructor() {\n    this.x = undefined;\n    this.y = undefined;\n    this.active = false;\n    this.options = undefined;\n    this.$animations = undefined;\n  }\n  tooltipPosition(useFinalPosition) {\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return {x, y};\n  }\n  hasValue() {\n    return isNumber(this.x) && isNumber(this.y);\n  }\n  getProps(props, final) {\n    const anims = this.$animations;\n    if (!final || !anims) {\n      return this;\n    }\n    const ret = {};\n    props.forEach(prop => {\n      ret[prop] = anims[prop] && anims[prop].active() ? anims[prop]._to : this[prop];\n    });\n    return ret;\n  }\n}\nElement.defaults = {};\nElement.defaultRoutes = undefined;\n\nconst formatters = {\n  values(value) {\n    return isArray(value) ? value : '' + value;\n  },\n  numeric(tickValue, index, ticks) {\n    if (tickValue === 0) {\n      return '0';\n    }\n    const locale = this.chart.options.locale;\n    let notation;\n    let delta = tickValue;\n    if (ticks.length > 1) {\n      const maxTick = Math.max(Math.abs(ticks[0].value), Math.abs(ticks[ticks.length - 1].value));\n      if (maxTick < 1e-4 || maxTick > 1e+15) {\n        notation = 'scientific';\n      }\n      delta = calculateDelta(tickValue, ticks);\n    }\n    const logDelta = log10(Math.abs(delta));\n    const numDecimal = Math.max(Math.min(-1 * Math.floor(logDelta), 20), 0);\n    const options = {notation, minimumFractionDigits: numDecimal, maximumFractionDigits: numDecimal};\n    Object.assign(options, this.options.ticks.format);\n    return formatNumber(tickValue, locale, options);\n  },\n  logarithmic(tickValue, index, ticks) {\n    if (tickValue === 0) {\n      return '0';\n    }\n    const remain = tickValue / (Math.pow(10, Math.floor(log10(tickValue))));\n    if (remain === 1 || remain === 2 || remain === 5) {\n      return formatters.numeric.call(this, tickValue, index, ticks);\n    }\n    return '';\n  }\n};\nfunction calculateDelta(tickValue, ticks) {\n  let delta = ticks.length > 3 ? ticks[2].value - ticks[1].value : ticks[1].value - ticks[0].value;\n  if (Math.abs(delta) >= 1 && tickValue !== Math.floor(tickValue)) {\n    delta = tickValue - Math.floor(tickValue);\n  }\n  return delta;\n}\nvar Ticks = {formatters};\n\ndefaults.set('scale', {\n  display: true,\n  offset: false,\n  reverse: false,\n  beginAtZero: false,\n  bounds: 'ticks',\n  grace: 0,\n  grid: {\n    display: true,\n    lineWidth: 1,\n    drawBorder: true,\n    drawOnChartArea: true,\n    drawTicks: true,\n    tickLength: 8,\n    tickWidth: (_ctx, options) => options.lineWidth,\n    tickColor: (_ctx, options) => options.color,\n    offset: false,\n    borderDash: [],\n    borderDashOffset: 0.0,\n    borderWidth: 1\n  },\n  title: {\n    display: false,\n    text: '',\n    padding: {\n      top: 4,\n      bottom: 4\n    }\n  },\n  ticks: {\n    minRotation: 0,\n    maxRotation: 50,\n    mirror: false,\n    textStrokeWidth: 0,\n    textStrokeColor: '',\n    padding: 3,\n    display: true,\n    autoSkip: true,\n    autoSkipPadding: 3,\n    labelOffset: 0,\n    callback: Ticks.formatters.values,\n    minor: {},\n    major: {},\n    align: 'center',\n    crossAlign: 'near',\n    showLabelBackdrop: false,\n    backdropColor: 'rgba(255, 255, 255, 0.75)',\n    backdropPadding: 2,\n  }\n});\ndefaults.route('scale.ticks', 'color', '', 'color');\ndefaults.route('scale.grid', 'color', '', 'borderColor');\ndefaults.route('scale.grid', 'borderColor', '', 'borderColor');\ndefaults.route('scale.title', 'color', '', 'color');\ndefaults.describe('scale', {\n  _fallback: false,\n  _scriptable: (name) => !name.startsWith('before') && !name.startsWith('after') && name !== 'callback' && name !== 'parser',\n  _indexable: (name) => name !== 'borderDash' && name !== 'tickBorderDash',\n});\ndefaults.describe('scales', {\n  _fallback: 'scale',\n});\ndefaults.describe('scale.ticks', {\n  _scriptable: (name) => name !== 'backdropPadding' && name !== 'callback',\n  _indexable: (name) => name !== 'backdropPadding',\n});\n\nfunction autoSkip(scale, ticks) {\n  const tickOpts = scale.options.ticks;\n  const ticksLimit = tickOpts.maxTicksLimit || determineMaxTicks(scale);\n  const majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\n  const numMajorIndices = majorIndices.length;\n  const first = majorIndices[0];\n  const last = majorIndices[numMajorIndices - 1];\n  const newTicks = [];\n  if (numMajorIndices > ticksLimit) {\n    skipMajors(ticks, newTicks, majorIndices, numMajorIndices / ticksLimit);\n    return newTicks;\n  }\n  const spacing = calculateSpacing(majorIndices, ticks, ticksLimit);\n  if (numMajorIndices > 0) {\n    let i, ilen;\n    const avgMajorSpacing = numMajorIndices > 1 ? Math.round((last - first) / (numMajorIndices - 1)) : null;\n    skip(ticks, newTicks, spacing, isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\n    for (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\n      skip(ticks, newTicks, spacing, majorIndices[i], majorIndices[i + 1]);\n    }\n    skip(ticks, newTicks, spacing, last, isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\n    return newTicks;\n  }\n  skip(ticks, newTicks, spacing);\n  return newTicks;\n}\nfunction determineMaxTicks(scale) {\n  const offset = scale.options.offset;\n  const tickLength = scale._tickSize();\n  const maxScale = scale._length / tickLength + (offset ? 0 : 1);\n  const maxChart = scale._maxLength / tickLength;\n  return Math.floor(Math.min(maxScale, maxChart));\n}\nfunction calculateSpacing(majorIndices, ticks, ticksLimit) {\n  const evenMajorSpacing = getEvenSpacing(majorIndices);\n  const spacing = ticks.length / ticksLimit;\n  if (!evenMajorSpacing) {\n    return Math.max(spacing, 1);\n  }\n  const factors = _factorize(evenMajorSpacing);\n  for (let i = 0, ilen = factors.length - 1; i < ilen; i++) {\n    const factor = factors[i];\n    if (factor > spacing) {\n      return factor;\n    }\n  }\n  return Math.max(spacing, 1);\n}\nfunction getMajorIndices(ticks) {\n  const result = [];\n  let i, ilen;\n  for (i = 0, ilen = ticks.length; i < ilen; i++) {\n    if (ticks[i].major) {\n      result.push(i);\n    }\n  }\n  return result;\n}\nfunction skipMajors(ticks, newTicks, majorIndices, spacing) {\n  let count = 0;\n  let next = majorIndices[0];\n  let i;\n  spacing = Math.ceil(spacing);\n  for (i = 0; i < ticks.length; i++) {\n    if (i === next) {\n      newTicks.push(ticks[i]);\n      count++;\n      next = majorIndices[count * spacing];\n    }\n  }\n}\nfunction skip(ticks, newTicks, spacing, majorStart, majorEnd) {\n  const start = valueOrDefault(majorStart, 0);\n  const end = Math.min(valueOrDefault(majorEnd, ticks.length), ticks.length);\n  let count = 0;\n  let length, i, next;\n  spacing = Math.ceil(spacing);\n  if (majorEnd) {\n    length = majorEnd - majorStart;\n    spacing = length / Math.floor(length / spacing);\n  }\n  next = start;\n  while (next < 0) {\n    count++;\n    next = Math.round(start + count * spacing);\n  }\n  for (i = Math.max(start, 0); i < end; i++) {\n    if (i === next) {\n      newTicks.push(ticks[i]);\n      count++;\n      next = Math.round(start + count * spacing);\n    }\n  }\n}\nfunction getEvenSpacing(arr) {\n  const len = arr.length;\n  let i, diff;\n  if (len < 2) {\n    return false;\n  }\n  for (diff = arr[0], i = 1; i < len; ++i) {\n    if (arr[i] - arr[i - 1] !== diff) {\n      return false;\n    }\n  }\n  return diff;\n}\n\nconst reverseAlign = (align) => align === 'left' ? 'right' : align === 'right' ? 'left' : align;\nconst offsetFromEdge = (scale, edge, offset) => edge === 'top' || edge === 'left' ? scale[edge] + offset : scale[edge] - offset;\nfunction sample(arr, numItems) {\n  const result = [];\n  const increment = arr.length / numItems;\n  const len = arr.length;\n  let i = 0;\n  for (; i < len; i += increment) {\n    result.push(arr[Math.floor(i)]);\n  }\n  return result;\n}\nfunction getPixelForGridLine(scale, index, offsetGridLines) {\n  const length = scale.ticks.length;\n  const validIndex = Math.min(index, length - 1);\n  const start = scale._startPixel;\n  const end = scale._endPixel;\n  const epsilon = 1e-6;\n  let lineValue = scale.getPixelForTick(validIndex);\n  let offset;\n  if (offsetGridLines) {\n    if (length === 1) {\n      offset = Math.max(lineValue - start, end - lineValue);\n    } else if (index === 0) {\n      offset = (scale.getPixelForTick(1) - lineValue) / 2;\n    } else {\n      offset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\n    }\n    lineValue += validIndex < index ? offset : -offset;\n    if (lineValue < start - epsilon || lineValue > end + epsilon) {\n      return;\n    }\n  }\n  return lineValue;\n}\nfunction garbageCollect(caches, length) {\n  each(caches, (cache) => {\n    const gc = cache.gc;\n    const gcLen = gc.length / 2;\n    let i;\n    if (gcLen > length) {\n      for (i = 0; i < gcLen; ++i) {\n        delete cache.data[gc[i]];\n      }\n      gc.splice(0, gcLen);\n    }\n  });\n}\nfunction getTickMarkLength(options) {\n  return options.drawTicks ? options.tickLength : 0;\n}\nfunction getTitleHeight(options, fallback) {\n  if (!options.display) {\n    return 0;\n  }\n  const font = toFont(options.font, fallback);\n  const padding = toPadding(options.padding);\n  const lines = isArray(options.text) ? options.text.length : 1;\n  return (lines * font.lineHeight) + padding.height;\n}\nfunction createScaleContext(parent, scale) {\n  return createContext(parent, {\n    scale,\n    type: 'scale'\n  });\n}\nfunction createTickContext(parent, index, tick) {\n  return createContext(parent, {\n    tick,\n    index,\n    type: 'tick'\n  });\n}\nfunction titleAlign(align, position, reverse) {\n  let ret = _toLeftRightCenter(align);\n  if ((reverse && position !== 'right') || (!reverse && position === 'right')) {\n    ret = reverseAlign(ret);\n  }\n  return ret;\n}\nfunction titleArgs(scale, offset, position, align) {\n  const {top, left, bottom, right, chart} = scale;\n  const {chartArea, scales} = chart;\n  let rotation = 0;\n  let maxWidth, titleX, titleY;\n  const height = bottom - top;\n  const width = right - left;\n  if (scale.isHorizontal()) {\n    titleX = _alignStartEnd(align, left, right);\n    if (isObject(position)) {\n      const positionAxisID = Object.keys(position)[0];\n      const value = position[positionAxisID];\n      titleY = scales[positionAxisID].getPixelForValue(value) + height - offset;\n    } else if (position === 'center') {\n      titleY = (chartArea.bottom + chartArea.top) / 2 + height - offset;\n    } else {\n      titleY = offsetFromEdge(scale, position, offset);\n    }\n    maxWidth = right - left;\n  } else {\n    if (isObject(position)) {\n      const positionAxisID = Object.keys(position)[0];\n      const value = position[positionAxisID];\n      titleX = scales[positionAxisID].getPixelForValue(value) - width + offset;\n    } else if (position === 'center') {\n      titleX = (chartArea.left + chartArea.right) / 2 - width + offset;\n    } else {\n      titleX = offsetFromEdge(scale, position, offset);\n    }\n    titleY = _alignStartEnd(align, bottom, top);\n    rotation = position === 'left' ? -HALF_PI : HALF_PI;\n  }\n  return {titleX, titleY, maxWidth, rotation};\n}\nclass Scale extends Element {\n  constructor(cfg) {\n    super();\n    this.id = cfg.id;\n    this.type = cfg.type;\n    this.options = undefined;\n    this.ctx = cfg.ctx;\n    this.chart = cfg.chart;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this._margins = {\n      left: 0,\n      right: 0,\n      top: 0,\n      bottom: 0\n    };\n    this.maxWidth = undefined;\n    this.maxHeight = undefined;\n    this.paddingTop = undefined;\n    this.paddingBottom = undefined;\n    this.paddingLeft = undefined;\n    this.paddingRight = undefined;\n    this.axis = undefined;\n    this.labelRotation = undefined;\n    this.min = undefined;\n    this.max = undefined;\n    this._range = undefined;\n    this.ticks = [];\n    this._gridLineItems = null;\n    this._labelItems = null;\n    this._labelSizes = null;\n    this._length = 0;\n    this._maxLength = 0;\n    this._longestTextCache = {};\n    this._startPixel = undefined;\n    this._endPixel = undefined;\n    this._reversePixels = false;\n    this._userMax = undefined;\n    this._userMin = undefined;\n    this._suggestedMax = undefined;\n    this._suggestedMin = undefined;\n    this._ticksLength = 0;\n    this._borderValue = 0;\n    this._cache = {};\n    this._dataLimitsCached = false;\n    this.$context = undefined;\n  }\n  init(options) {\n    this.options = options.setContext(this.getContext());\n    this.axis = options.axis;\n    this._userMin = this.parse(options.min);\n    this._userMax = this.parse(options.max);\n    this._suggestedMin = this.parse(options.suggestedMin);\n    this._suggestedMax = this.parse(options.suggestedMax);\n  }\n  parse(raw, index) {\n    return raw;\n  }\n  getUserBounds() {\n    let {_userMin, _userMax, _suggestedMin, _suggestedMax} = this;\n    _userMin = finiteOrDefault(_userMin, Number.POSITIVE_INFINITY);\n    _userMax = finiteOrDefault(_userMax, Number.NEGATIVE_INFINITY);\n    _suggestedMin = finiteOrDefault(_suggestedMin, Number.POSITIVE_INFINITY);\n    _suggestedMax = finiteOrDefault(_suggestedMax, Number.NEGATIVE_INFINITY);\n    return {\n      min: finiteOrDefault(_userMin, _suggestedMin),\n      max: finiteOrDefault(_userMax, _suggestedMax),\n      minDefined: isNumberFinite(_userMin),\n      maxDefined: isNumberFinite(_userMax)\n    };\n  }\n  getMinMax(canStack) {\n    let {min, max, minDefined, maxDefined} = this.getUserBounds();\n    let range;\n    if (minDefined && maxDefined) {\n      return {min, max};\n    }\n    const metas = this.getMatchingVisibleMetas();\n    for (let i = 0, ilen = metas.length; i < ilen; ++i) {\n      range = metas[i].controller.getMinMax(this, canStack);\n      if (!minDefined) {\n        min = Math.min(min, range.min);\n      }\n      if (!maxDefined) {\n        max = Math.max(max, range.max);\n      }\n    }\n    min = maxDefined && min > max ? max : min;\n    max = minDefined && min > max ? min : max;\n    return {\n      min: finiteOrDefault(min, finiteOrDefault(max, min)),\n      max: finiteOrDefault(max, finiteOrDefault(min, max))\n    };\n  }\n  getPadding() {\n    return {\n      left: this.paddingLeft || 0,\n      top: this.paddingTop || 0,\n      right: this.paddingRight || 0,\n      bottom: this.paddingBottom || 0\n    };\n  }\n  getTicks() {\n    return this.ticks;\n  }\n  getLabels() {\n    const data = this.chart.data;\n    return this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\n  }\n  beforeLayout() {\n    this._cache = {};\n    this._dataLimitsCached = false;\n  }\n  beforeUpdate() {\n    callback(this.options.beforeUpdate, [this]);\n  }\n  update(maxWidth, maxHeight, margins) {\n    const {beginAtZero, grace, ticks: tickOpts} = this.options;\n    const sampleSize = tickOpts.sampleSize;\n    this.beforeUpdate();\n    this.maxWidth = maxWidth;\n    this.maxHeight = maxHeight;\n    this._margins = margins = Object.assign({\n      left: 0,\n      right: 0,\n      top: 0,\n      bottom: 0\n    }, margins);\n    this.ticks = null;\n    this._labelSizes = null;\n    this._gridLineItems = null;\n    this._labelItems = null;\n    this.beforeSetDimensions();\n    this.setDimensions();\n    this.afterSetDimensions();\n    this._maxLength = this.isHorizontal()\n      ? this.width + margins.left + margins.right\n      : this.height + margins.top + margins.bottom;\n    if (!this._dataLimitsCached) {\n      this.beforeDataLimits();\n      this.determineDataLimits();\n      this.afterDataLimits();\n      this._range = _addGrace(this, grace, beginAtZero);\n      this._dataLimitsCached = true;\n    }\n    this.beforeBuildTicks();\n    this.ticks = this.buildTicks() || [];\n    this.afterBuildTicks();\n    const samplingEnabled = sampleSize < this.ticks.length;\n    this._convertTicksToLabels(samplingEnabled ? sample(this.ticks, sampleSize) : this.ticks);\n    this.configure();\n    this.beforeCalculateLabelRotation();\n    this.calculateLabelRotation();\n    this.afterCalculateLabelRotation();\n    if (tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto')) {\n      this.ticks = autoSkip(this, this.ticks);\n      this._labelSizes = null;\n      this.afterAutoSkip();\n    }\n    if (samplingEnabled) {\n      this._convertTicksToLabels(this.ticks);\n    }\n    this.beforeFit();\n    this.fit();\n    this.afterFit();\n    this.afterUpdate();\n  }\n  configure() {\n    let reversePixels = this.options.reverse;\n    let startPixel, endPixel;\n    if (this.isHorizontal()) {\n      startPixel = this.left;\n      endPixel = this.right;\n    } else {\n      startPixel = this.top;\n      endPixel = this.bottom;\n      reversePixels = !reversePixels;\n    }\n    this._startPixel = startPixel;\n    this._endPixel = endPixel;\n    this._reversePixels = reversePixels;\n    this._length = endPixel - startPixel;\n    this._alignToPixels = this.options.alignToPixels;\n  }\n  afterUpdate() {\n    callback(this.options.afterUpdate, [this]);\n  }\n  beforeSetDimensions() {\n    callback(this.options.beforeSetDimensions, [this]);\n  }\n  setDimensions() {\n    if (this.isHorizontal()) {\n      this.width = this.maxWidth;\n      this.left = 0;\n      this.right = this.width;\n    } else {\n      this.height = this.maxHeight;\n      this.top = 0;\n      this.bottom = this.height;\n    }\n    this.paddingLeft = 0;\n    this.paddingTop = 0;\n    this.paddingRight = 0;\n    this.paddingBottom = 0;\n  }\n  afterSetDimensions() {\n    callback(this.options.afterSetDimensions, [this]);\n  }\n  _callHooks(name) {\n    this.chart.notifyPlugins(name, this.getContext());\n    callback(this.options[name], [this]);\n  }\n  beforeDataLimits() {\n    this._callHooks('beforeDataLimits');\n  }\n  determineDataLimits() {}\n  afterDataLimits() {\n    this._callHooks('afterDataLimits');\n  }\n  beforeBuildTicks() {\n    this._callHooks('beforeBuildTicks');\n  }\n  buildTicks() {\n    return [];\n  }\n  afterBuildTicks() {\n    this._callHooks('afterBuildTicks');\n  }\n  beforeTickToLabelConversion() {\n    callback(this.options.beforeTickToLabelConversion, [this]);\n  }\n  generateTickLabels(ticks) {\n    const tickOpts = this.options.ticks;\n    let i, ilen, tick;\n    for (i = 0, ilen = ticks.length; i < ilen; i++) {\n      tick = ticks[i];\n      tick.label = callback(tickOpts.callback, [tick.value, i, ticks], this);\n    }\n  }\n  afterTickToLabelConversion() {\n    callback(this.options.afterTickToLabelConversion, [this]);\n  }\n  beforeCalculateLabelRotation() {\n    callback(this.options.beforeCalculateLabelRotation, [this]);\n  }\n  calculateLabelRotation() {\n    const options = this.options;\n    const tickOpts = options.ticks;\n    const numTicks = this.ticks.length;\n    const minRotation = tickOpts.minRotation || 0;\n    const maxRotation = tickOpts.maxRotation;\n    let labelRotation = minRotation;\n    let tickWidth, maxHeight, maxLabelDiagonal;\n    if (!this._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !this.isHorizontal()) {\n      this.labelRotation = minRotation;\n      return;\n    }\n    const labelSizes = this._getLabelSizes();\n    const maxLabelWidth = labelSizes.widest.width;\n    const maxLabelHeight = labelSizes.highest.height;\n    const maxWidth = _limitValue(this.chart.width - maxLabelWidth, 0, this.maxWidth);\n    tickWidth = options.offset ? this.maxWidth / numTicks : maxWidth / (numTicks - 1);\n    if (maxLabelWidth + 6 > tickWidth) {\n      tickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\n      maxHeight = this.maxHeight - getTickMarkLength(options.grid)\n\t\t\t\t- tickOpts.padding - getTitleHeight(options.title, this.chart.options.font);\n      maxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\n      labelRotation = toDegrees(Math.min(\n        Math.asin(_limitValue((labelSizes.highest.height + 6) / tickWidth, -1, 1)),\n        Math.asin(_limitValue(maxHeight / maxLabelDiagonal, -1, 1)) - Math.asin(_limitValue(maxLabelHeight / maxLabelDiagonal, -1, 1))\n      ));\n      labelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\n    }\n    this.labelRotation = labelRotation;\n  }\n  afterCalculateLabelRotation() {\n    callback(this.options.afterCalculateLabelRotation, [this]);\n  }\n  afterAutoSkip() {}\n  beforeFit() {\n    callback(this.options.beforeFit, [this]);\n  }\n  fit() {\n    const minSize = {\n      width: 0,\n      height: 0\n    };\n    const {chart, options: {ticks: tickOpts, title: titleOpts, grid: gridOpts}} = this;\n    const display = this._isVisible();\n    const isHorizontal = this.isHorizontal();\n    if (display) {\n      const titleHeight = getTitleHeight(titleOpts, chart.options.font);\n      if (isHorizontal) {\n        minSize.width = this.maxWidth;\n        minSize.height = getTickMarkLength(gridOpts) + titleHeight;\n      } else {\n        minSize.height = this.maxHeight;\n        minSize.width = getTickMarkLength(gridOpts) + titleHeight;\n      }\n      if (tickOpts.display && this.ticks.length) {\n        const {first, last, widest, highest} = this._getLabelSizes();\n        const tickPadding = tickOpts.padding * 2;\n        const angleRadians = toRadians(this.labelRotation);\n        const cos = Math.cos(angleRadians);\n        const sin = Math.sin(angleRadians);\n        if (isHorizontal) {\n          const labelHeight = tickOpts.mirror ? 0 : sin * widest.width + cos * highest.height;\n          minSize.height = Math.min(this.maxHeight, minSize.height + labelHeight + tickPadding);\n        } else {\n          const labelWidth = tickOpts.mirror ? 0 : cos * widest.width + sin * highest.height;\n          minSize.width = Math.min(this.maxWidth, minSize.width + labelWidth + tickPadding);\n        }\n        this._calculatePadding(first, last, sin, cos);\n      }\n    }\n    this._handleMargins();\n    if (isHorizontal) {\n      this.width = this._length = chart.width - this._margins.left - this._margins.right;\n      this.height = minSize.height;\n    } else {\n      this.width = minSize.width;\n      this.height = this._length = chart.height - this._margins.top - this._margins.bottom;\n    }\n  }\n  _calculatePadding(first, last, sin, cos) {\n    const {ticks: {align, padding}, position} = this.options;\n    const isRotated = this.labelRotation !== 0;\n    const labelsBelowTicks = position !== 'top' && this.axis === 'x';\n    if (this.isHorizontal()) {\n      const offsetLeft = this.getPixelForTick(0) - this.left;\n      const offsetRight = this.right - this.getPixelForTick(this.ticks.length - 1);\n      let paddingLeft = 0;\n      let paddingRight = 0;\n      if (isRotated) {\n        if (labelsBelowTicks) {\n          paddingLeft = cos * first.width;\n          paddingRight = sin * last.height;\n        } else {\n          paddingLeft = sin * first.height;\n          paddingRight = cos * last.width;\n        }\n      } else if (align === 'start') {\n        paddingRight = last.width;\n      } else if (align === 'end') {\n        paddingLeft = first.width;\n      } else if (align !== 'inner') {\n        paddingLeft = first.width / 2;\n        paddingRight = last.width / 2;\n      }\n      this.paddingLeft = Math.max((paddingLeft - offsetLeft + padding) * this.width / (this.width - offsetLeft), 0);\n      this.paddingRight = Math.max((paddingRight - offsetRight + padding) * this.width / (this.width - offsetRight), 0);\n    } else {\n      let paddingTop = last.height / 2;\n      let paddingBottom = first.height / 2;\n      if (align === 'start') {\n        paddingTop = 0;\n        paddingBottom = first.height;\n      } else if (align === 'end') {\n        paddingTop = last.height;\n        paddingBottom = 0;\n      }\n      this.paddingTop = paddingTop + padding;\n      this.paddingBottom = paddingBottom + padding;\n    }\n  }\n  _handleMargins() {\n    if (this._margins) {\n      this._margins.left = Math.max(this.paddingLeft, this._margins.left);\n      this._margins.top = Math.max(this.paddingTop, this._margins.top);\n      this._margins.right = Math.max(this.paddingRight, this._margins.right);\n      this._margins.bottom = Math.max(this.paddingBottom, this._margins.bottom);\n    }\n  }\n  afterFit() {\n    callback(this.options.afterFit, [this]);\n  }\n  isHorizontal() {\n    const {axis, position} = this.options;\n    return position === 'top' || position === 'bottom' || axis === 'x';\n  }\n  isFullSize() {\n    return this.options.fullSize;\n  }\n  _convertTicksToLabels(ticks) {\n    this.beforeTickToLabelConversion();\n    this.generateTickLabels(ticks);\n    let i, ilen;\n    for (i = 0, ilen = ticks.length; i < ilen; i++) {\n      if (isNullOrUndef(ticks[i].label)) {\n        ticks.splice(i, 1);\n        ilen--;\n        i--;\n      }\n    }\n    this.afterTickToLabelConversion();\n  }\n  _getLabelSizes() {\n    let labelSizes = this._labelSizes;\n    if (!labelSizes) {\n      const sampleSize = this.options.ticks.sampleSize;\n      let ticks = this.ticks;\n      if (sampleSize < ticks.length) {\n        ticks = sample(ticks, sampleSize);\n      }\n      this._labelSizes = labelSizes = this._computeLabelSizes(ticks, ticks.length);\n    }\n    return labelSizes;\n  }\n  _computeLabelSizes(ticks, length) {\n    const {ctx, _longestTextCache: caches} = this;\n    const widths = [];\n    const heights = [];\n    let widestLabelSize = 0;\n    let highestLabelSize = 0;\n    let i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel;\n    for (i = 0; i < length; ++i) {\n      label = ticks[i].label;\n      tickFont = this._resolveTickFontOptions(i);\n      ctx.font = fontString = tickFont.string;\n      cache = caches[fontString] = caches[fontString] || {data: {}, gc: []};\n      lineHeight = tickFont.lineHeight;\n      width = height = 0;\n      if (!isNullOrUndef(label) && !isArray(label)) {\n        width = _measureText(ctx, cache.data, cache.gc, width, label);\n        height = lineHeight;\n      } else if (isArray(label)) {\n        for (j = 0, jlen = label.length; j < jlen; ++j) {\n          nestedLabel = label[j];\n          if (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\n            width = _measureText(ctx, cache.data, cache.gc, width, nestedLabel);\n            height += lineHeight;\n          }\n        }\n      }\n      widths.push(width);\n      heights.push(height);\n      widestLabelSize = Math.max(width, widestLabelSize);\n      highestLabelSize = Math.max(height, highestLabelSize);\n    }\n    garbageCollect(caches, length);\n    const widest = widths.indexOf(widestLabelSize);\n    const highest = heights.indexOf(highestLabelSize);\n    const valueAt = (idx) => ({width: widths[idx] || 0, height: heights[idx] || 0});\n    return {\n      first: valueAt(0),\n      last: valueAt(length - 1),\n      widest: valueAt(widest),\n      highest: valueAt(highest),\n      widths,\n      heights,\n    };\n  }\n  getLabelForValue(value) {\n    return value;\n  }\n  getPixelForValue(value, index) {\n    return NaN;\n  }\n  getValueForPixel(pixel) {}\n  getPixelForTick(index) {\n    const ticks = this.ticks;\n    if (index < 0 || index > ticks.length - 1) {\n      return null;\n    }\n    return this.getPixelForValue(ticks[index].value);\n  }\n  getPixelForDecimal(decimal) {\n    if (this._reversePixels) {\n      decimal = 1 - decimal;\n    }\n    const pixel = this._startPixel + decimal * this._length;\n    return _int16Range(this._alignToPixels ? _alignPixel(this.chart, pixel, 0) : pixel);\n  }\n  getDecimalForPixel(pixel) {\n    const decimal = (pixel - this._startPixel) / this._length;\n    return this._reversePixels ? 1 - decimal : decimal;\n  }\n  getBasePixel() {\n    return this.getPixelForValue(this.getBaseValue());\n  }\n  getBaseValue() {\n    const {min, max} = this;\n    return min < 0 && max < 0 ? max :\n      min > 0 && max > 0 ? min :\n      0;\n  }\n  getContext(index) {\n    const ticks = this.ticks || [];\n    if (index >= 0 && index < ticks.length) {\n      const tick = ticks[index];\n      return tick.$context ||\n\t\t\t\t(tick.$context = createTickContext(this.getContext(), index, tick));\n    }\n    return this.$context ||\n\t\t\t(this.$context = createScaleContext(this.chart.getContext(), this));\n  }\n  _tickSize() {\n    const optionTicks = this.options.ticks;\n    const rot = toRadians(this.labelRotation);\n    const cos = Math.abs(Math.cos(rot));\n    const sin = Math.abs(Math.sin(rot));\n    const labelSizes = this._getLabelSizes();\n    const padding = optionTicks.autoSkipPadding || 0;\n    const w = labelSizes ? labelSizes.widest.width + padding : 0;\n    const h = labelSizes ? labelSizes.highest.height + padding : 0;\n    return this.isHorizontal()\n      ? h * cos > w * sin ? w / cos : h / sin\n      : h * sin < w * cos ? h / cos : w / sin;\n  }\n  _isVisible() {\n    const display = this.options.display;\n    if (display !== 'auto') {\n      return !!display;\n    }\n    return this.getMatchingVisibleMetas().length > 0;\n  }\n  _computeGridLineItems(chartArea) {\n    const axis = this.axis;\n    const chart = this.chart;\n    const options = this.options;\n    const {grid, position} = options;\n    const offset = grid.offset;\n    const isHorizontal = this.isHorizontal();\n    const ticks = this.ticks;\n    const ticksLength = ticks.length + (offset ? 1 : 0);\n    const tl = getTickMarkLength(grid);\n    const items = [];\n    const borderOpts = grid.setContext(this.getContext());\n    const axisWidth = borderOpts.drawBorder ? borderOpts.borderWidth : 0;\n    const axisHalfWidth = axisWidth / 2;\n    const alignBorderValue = function(pixel) {\n      return _alignPixel(chart, pixel, axisWidth);\n    };\n    let borderValue, i, lineValue, alignedLineValue;\n    let tx1, ty1, tx2, ty2, x1, y1, x2, y2;\n    if (position === 'top') {\n      borderValue = alignBorderValue(this.bottom);\n      ty1 = this.bottom - tl;\n      ty2 = borderValue - axisHalfWidth;\n      y1 = alignBorderValue(chartArea.top) + axisHalfWidth;\n      y2 = chartArea.bottom;\n    } else if (position === 'bottom') {\n      borderValue = alignBorderValue(this.top);\n      y1 = chartArea.top;\n      y2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\n      ty1 = borderValue + axisHalfWidth;\n      ty2 = this.top + tl;\n    } else if (position === 'left') {\n      borderValue = alignBorderValue(this.right);\n      tx1 = this.right - tl;\n      tx2 = borderValue - axisHalfWidth;\n      x1 = alignBorderValue(chartArea.left) + axisHalfWidth;\n      x2 = chartArea.right;\n    } else if (position === 'right') {\n      borderValue = alignBorderValue(this.left);\n      x1 = chartArea.left;\n      x2 = alignBorderValue(chartArea.right) - axisHalfWidth;\n      tx1 = borderValue + axisHalfWidth;\n      tx2 = this.left + tl;\n    } else if (axis === 'x') {\n      if (position === 'center') {\n        borderValue = alignBorderValue((chartArea.top + chartArea.bottom) / 2 + 0.5);\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value));\n      }\n      y1 = chartArea.top;\n      y2 = chartArea.bottom;\n      ty1 = borderValue + axisHalfWidth;\n      ty2 = ty1 + tl;\n    } else if (axis === 'y') {\n      if (position === 'center') {\n        borderValue = alignBorderValue((chartArea.left + chartArea.right) / 2);\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        borderValue = alignBorderValue(this.chart.scales[positionAxisID].getPixelForValue(value));\n      }\n      tx1 = borderValue - axisHalfWidth;\n      tx2 = tx1 - tl;\n      x1 = chartArea.left;\n      x2 = chartArea.right;\n    }\n    const limit = valueOrDefault(options.ticks.maxTicksLimit, ticksLength);\n    const step = Math.max(1, Math.ceil(ticksLength / limit));\n    for (i = 0; i < ticksLength; i += step) {\n      const optsAtIndex = grid.setContext(this.getContext(i));\n      const lineWidth = optsAtIndex.lineWidth;\n      const lineColor = optsAtIndex.color;\n      const borderDash = optsAtIndex.borderDash || [];\n      const borderDashOffset = optsAtIndex.borderDashOffset;\n      const tickWidth = optsAtIndex.tickWidth;\n      const tickColor = optsAtIndex.tickColor;\n      const tickBorderDash = optsAtIndex.tickBorderDash || [];\n      const tickBorderDashOffset = optsAtIndex.tickBorderDashOffset;\n      lineValue = getPixelForGridLine(this, i, offset);\n      if (lineValue === undefined) {\n        continue;\n      }\n      alignedLineValue = _alignPixel(chart, lineValue, lineWidth);\n      if (isHorizontal) {\n        tx1 = tx2 = x1 = x2 = alignedLineValue;\n      } else {\n        ty1 = ty2 = y1 = y2 = alignedLineValue;\n      }\n      items.push({\n        tx1,\n        ty1,\n        tx2,\n        ty2,\n        x1,\n        y1,\n        x2,\n        y2,\n        width: lineWidth,\n        color: lineColor,\n        borderDash,\n        borderDashOffset,\n        tickWidth,\n        tickColor,\n        tickBorderDash,\n        tickBorderDashOffset,\n      });\n    }\n    this._ticksLength = ticksLength;\n    this._borderValue = borderValue;\n    return items;\n  }\n  _computeLabelItems(chartArea) {\n    const axis = this.axis;\n    const options = this.options;\n    const {position, ticks: optionTicks} = options;\n    const isHorizontal = this.isHorizontal();\n    const ticks = this.ticks;\n    const {align, crossAlign, padding, mirror} = optionTicks;\n    const tl = getTickMarkLength(options.grid);\n    const tickAndPadding = tl + padding;\n    const hTickAndPadding = mirror ? -padding : tickAndPadding;\n    const rotation = -toRadians(this.labelRotation);\n    const items = [];\n    let i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\n    let textBaseline = 'middle';\n    if (position === 'top') {\n      y = this.bottom - hTickAndPadding;\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (position === 'bottom') {\n      y = this.top + hTickAndPadding;\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (position === 'left') {\n      const ret = this._getYAxisLabelAlignment(tl);\n      textAlign = ret.textAlign;\n      x = ret.x;\n    } else if (position === 'right') {\n      const ret = this._getYAxisLabelAlignment(tl);\n      textAlign = ret.textAlign;\n      x = ret.x;\n    } else if (axis === 'x') {\n      if (position === 'center') {\n        y = ((chartArea.top + chartArea.bottom) / 2) + tickAndPadding;\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        y = this.chart.scales[positionAxisID].getPixelForValue(value) + tickAndPadding;\n      }\n      textAlign = this._getXAxisLabelAlignment();\n    } else if (axis === 'y') {\n      if (position === 'center') {\n        x = ((chartArea.left + chartArea.right) / 2) - tickAndPadding;\n      } else if (isObject(position)) {\n        const positionAxisID = Object.keys(position)[0];\n        const value = position[positionAxisID];\n        x = this.chart.scales[positionAxisID].getPixelForValue(value);\n      }\n      textAlign = this._getYAxisLabelAlignment(tl).textAlign;\n    }\n    if (axis === 'y') {\n      if (align === 'start') {\n        textBaseline = 'top';\n      } else if (align === 'end') {\n        textBaseline = 'bottom';\n      }\n    }\n    const labelSizes = this._getLabelSizes();\n    for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n      tick = ticks[i];\n      label = tick.label;\n      const optsAtIndex = optionTicks.setContext(this.getContext(i));\n      pixel = this.getPixelForTick(i) + optionTicks.labelOffset;\n      font = this._resolveTickFontOptions(i);\n      lineHeight = font.lineHeight;\n      lineCount = isArray(label) ? label.length : 1;\n      const halfCount = lineCount / 2;\n      const color = optsAtIndex.color;\n      const strokeColor = optsAtIndex.textStrokeColor;\n      const strokeWidth = optsAtIndex.textStrokeWidth;\n      let tickTextAlign = textAlign;\n      if (isHorizontal) {\n        x = pixel;\n        if (textAlign === 'inner') {\n          if (i === ilen - 1) {\n            tickTextAlign = !this.options.reverse ? 'right' : 'left';\n          } else if (i === 0) {\n            tickTextAlign = !this.options.reverse ? 'left' : 'right';\n          } else {\n            tickTextAlign = 'center';\n          }\n        }\n        if (position === 'top') {\n          if (crossAlign === 'near' || rotation !== 0) {\n            textOffset = -lineCount * lineHeight + lineHeight / 2;\n          } else if (crossAlign === 'center') {\n            textOffset = -labelSizes.highest.height / 2 - halfCount * lineHeight + lineHeight;\n          } else {\n            textOffset = -labelSizes.highest.height + lineHeight / 2;\n          }\n        } else {\n          if (crossAlign === 'near' || rotation !== 0) {\n            textOffset = lineHeight / 2;\n          } else if (crossAlign === 'center') {\n            textOffset = labelSizes.highest.height / 2 - halfCount * lineHeight;\n          } else {\n            textOffset = labelSizes.highest.height - lineCount * lineHeight;\n          }\n        }\n        if (mirror) {\n          textOffset *= -1;\n        }\n      } else {\n        y = pixel;\n        textOffset = (1 - lineCount) * lineHeight / 2;\n      }\n      let backdrop;\n      if (optsAtIndex.showLabelBackdrop) {\n        const labelPadding = toPadding(optsAtIndex.backdropPadding);\n        const height = labelSizes.heights[i];\n        const width = labelSizes.widths[i];\n        let top = y + textOffset - labelPadding.top;\n        let left = x - labelPadding.left;\n        switch (textBaseline) {\n        case 'middle':\n          top -= height / 2;\n          break;\n        case 'bottom':\n          top -= height;\n          break;\n        }\n        switch (textAlign) {\n        case 'center':\n          left -= width / 2;\n          break;\n        case 'right':\n          left -= width;\n          break;\n        }\n        backdrop = {\n          left,\n          top,\n          width: width + labelPadding.width,\n          height: height + labelPadding.height,\n          color: optsAtIndex.backdropColor,\n        };\n      }\n      items.push({\n        rotation,\n        label,\n        font,\n        color,\n        strokeColor,\n        strokeWidth,\n        textOffset,\n        textAlign: tickTextAlign,\n        textBaseline,\n        translation: [x, y],\n        backdrop,\n      });\n    }\n    return items;\n  }\n  _getXAxisLabelAlignment() {\n    const {position, ticks} = this.options;\n    const rotation = -toRadians(this.labelRotation);\n    if (rotation) {\n      return position === 'top' ? 'left' : 'right';\n    }\n    let align = 'center';\n    if (ticks.align === 'start') {\n      align = 'left';\n    } else if (ticks.align === 'end') {\n      align = 'right';\n    } else if (ticks.align === 'inner') {\n      align = 'inner';\n    }\n    return align;\n  }\n  _getYAxisLabelAlignment(tl) {\n    const {position, ticks: {crossAlign, mirror, padding}} = this.options;\n    const labelSizes = this._getLabelSizes();\n    const tickAndPadding = tl + padding;\n    const widest = labelSizes.widest.width;\n    let textAlign;\n    let x;\n    if (position === 'left') {\n      if (mirror) {\n        x = this.right + padding;\n        if (crossAlign === 'near') {\n          textAlign = 'left';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x += (widest / 2);\n        } else {\n          textAlign = 'right';\n          x += widest;\n        }\n      } else {\n        x = this.right - tickAndPadding;\n        if (crossAlign === 'near') {\n          textAlign = 'right';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x -= (widest / 2);\n        } else {\n          textAlign = 'left';\n          x = this.left;\n        }\n      }\n    } else if (position === 'right') {\n      if (mirror) {\n        x = this.left + padding;\n        if (crossAlign === 'near') {\n          textAlign = 'right';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x -= (widest / 2);\n        } else {\n          textAlign = 'left';\n          x -= widest;\n        }\n      } else {\n        x = this.left + tickAndPadding;\n        if (crossAlign === 'near') {\n          textAlign = 'left';\n        } else if (crossAlign === 'center') {\n          textAlign = 'center';\n          x += widest / 2;\n        } else {\n          textAlign = 'right';\n          x = this.right;\n        }\n      }\n    } else {\n      textAlign = 'right';\n    }\n    return {textAlign, x};\n  }\n  _computeLabelArea() {\n    if (this.options.ticks.mirror) {\n      return;\n    }\n    const chart = this.chart;\n    const position = this.options.position;\n    if (position === 'left' || position === 'right') {\n      return {top: 0, left: this.left, bottom: chart.height, right: this.right};\n    } if (position === 'top' || position === 'bottom') {\n      return {top: this.top, left: 0, bottom: this.bottom, right: chart.width};\n    }\n  }\n  drawBackground() {\n    const {ctx, options: {backgroundColor}, left, top, width, height} = this;\n    if (backgroundColor) {\n      ctx.save();\n      ctx.fillStyle = backgroundColor;\n      ctx.fillRect(left, top, width, height);\n      ctx.restore();\n    }\n  }\n  getLineWidthForValue(value) {\n    const grid = this.options.grid;\n    if (!this._isVisible() || !grid.display) {\n      return 0;\n    }\n    const ticks = this.ticks;\n    const index = ticks.findIndex(t => t.value === value);\n    if (index >= 0) {\n      const opts = grid.setContext(this.getContext(index));\n      return opts.lineWidth;\n    }\n    return 0;\n  }\n  drawGrid(chartArea) {\n    const grid = this.options.grid;\n    const ctx = this.ctx;\n    const items = this._gridLineItems || (this._gridLineItems = this._computeGridLineItems(chartArea));\n    let i, ilen;\n    const drawLine = (p1, p2, style) => {\n      if (!style.width || !style.color) {\n        return;\n      }\n      ctx.save();\n      ctx.lineWidth = style.width;\n      ctx.strokeStyle = style.color;\n      ctx.setLineDash(style.borderDash || []);\n      ctx.lineDashOffset = style.borderDashOffset;\n      ctx.beginPath();\n      ctx.moveTo(p1.x, p1.y);\n      ctx.lineTo(p2.x, p2.y);\n      ctx.stroke();\n      ctx.restore();\n    };\n    if (grid.display) {\n      for (i = 0, ilen = items.length; i < ilen; ++i) {\n        const item = items[i];\n        if (grid.drawOnChartArea) {\n          drawLine(\n            {x: item.x1, y: item.y1},\n            {x: item.x2, y: item.y2},\n            item\n          );\n        }\n        if (grid.drawTicks) {\n          drawLine(\n            {x: item.tx1, y: item.ty1},\n            {x: item.tx2, y: item.ty2},\n            {\n              color: item.tickColor,\n              width: item.tickWidth,\n              borderDash: item.tickBorderDash,\n              borderDashOffset: item.tickBorderDashOffset\n            }\n          );\n        }\n      }\n    }\n  }\n  drawBorder() {\n    const {chart, ctx, options: {grid}} = this;\n    const borderOpts = grid.setContext(this.getContext());\n    const axisWidth = grid.drawBorder ? borderOpts.borderWidth : 0;\n    if (!axisWidth) {\n      return;\n    }\n    const lastLineWidth = grid.setContext(this.getContext(0)).lineWidth;\n    const borderValue = this._borderValue;\n    let x1, x2, y1, y2;\n    if (this.isHorizontal()) {\n      x1 = _alignPixel(chart, this.left, axisWidth) - axisWidth / 2;\n      x2 = _alignPixel(chart, this.right, lastLineWidth) + lastLineWidth / 2;\n      y1 = y2 = borderValue;\n    } else {\n      y1 = _alignPixel(chart, this.top, axisWidth) - axisWidth / 2;\n      y2 = _alignPixel(chart, this.bottom, lastLineWidth) + lastLineWidth / 2;\n      x1 = x2 = borderValue;\n    }\n    ctx.save();\n    ctx.lineWidth = borderOpts.borderWidth;\n    ctx.strokeStyle = borderOpts.borderColor;\n    ctx.beginPath();\n    ctx.moveTo(x1, y1);\n    ctx.lineTo(x2, y2);\n    ctx.stroke();\n    ctx.restore();\n  }\n  drawLabels(chartArea) {\n    const optionTicks = this.options.ticks;\n    if (!optionTicks.display) {\n      return;\n    }\n    const ctx = this.ctx;\n    const area = this._computeLabelArea();\n    if (area) {\n      clipArea(ctx, area);\n    }\n    const items = this._labelItems || (this._labelItems = this._computeLabelItems(chartArea));\n    let i, ilen;\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      const item = items[i];\n      const tickFont = item.font;\n      const label = item.label;\n      if (item.backdrop) {\n        ctx.fillStyle = item.backdrop.color;\n        ctx.fillRect(item.backdrop.left, item.backdrop.top, item.backdrop.width, item.backdrop.height);\n      }\n      let y = item.textOffset;\n      renderText(ctx, label, 0, y, tickFont, item);\n    }\n    if (area) {\n      unclipArea(ctx);\n    }\n  }\n  drawTitle() {\n    const {ctx, options: {position, title, reverse}} = this;\n    if (!title.display) {\n      return;\n    }\n    const font = toFont(title.font);\n    const padding = toPadding(title.padding);\n    const align = title.align;\n    let offset = font.lineHeight / 2;\n    if (position === 'bottom' || position === 'center' || isObject(position)) {\n      offset += padding.bottom;\n      if (isArray(title.text)) {\n        offset += font.lineHeight * (title.text.length - 1);\n      }\n    } else {\n      offset += padding.top;\n    }\n    const {titleX, titleY, maxWidth, rotation} = titleArgs(this, offset, position, align);\n    renderText(ctx, title.text, 0, 0, font, {\n      color: title.color,\n      maxWidth,\n      rotation,\n      textAlign: titleAlign(align, position, reverse),\n      textBaseline: 'middle',\n      translation: [titleX, titleY],\n    });\n  }\n  draw(chartArea) {\n    if (!this._isVisible()) {\n      return;\n    }\n    this.drawBackground();\n    this.drawGrid(chartArea);\n    this.drawBorder();\n    this.drawTitle();\n    this.drawLabels(chartArea);\n  }\n  _layers() {\n    const opts = this.options;\n    const tz = opts.ticks && opts.ticks.z || 0;\n    const gz = valueOrDefault(opts.grid && opts.grid.z, -1);\n    if (!this._isVisible() || this.draw !== Scale.prototype.draw) {\n      return [{\n        z: tz,\n        draw: (chartArea) => {\n          this.draw(chartArea);\n        }\n      }];\n    }\n    return [{\n      z: gz,\n      draw: (chartArea) => {\n        this.drawBackground();\n        this.drawGrid(chartArea);\n        this.drawTitle();\n      }\n    }, {\n      z: gz + 1,\n      draw: () => {\n        this.drawBorder();\n      }\n    }, {\n      z: tz,\n      draw: (chartArea) => {\n        this.drawLabels(chartArea);\n      }\n    }];\n  }\n  getMatchingVisibleMetas(type) {\n    const metas = this.chart.getSortedVisibleDatasetMetas();\n    const axisID = this.axis + 'AxisID';\n    const result = [];\n    let i, ilen;\n    for (i = 0, ilen = metas.length; i < ilen; ++i) {\n      const meta = metas[i];\n      if (meta[axisID] === this.id && (!type || meta.type === type)) {\n        result.push(meta);\n      }\n    }\n    return result;\n  }\n  _resolveTickFontOptions(index) {\n    const opts = this.options.ticks.setContext(this.getContext(index));\n    return toFont(opts.font);\n  }\n  _maxDigits() {\n    const fontSize = this._resolveTickFontOptions(0).lineHeight;\n    return (this.isHorizontal() ? this.width : this.height) / fontSize;\n  }\n}\n\nclass TypedRegistry {\n  constructor(type, scope, override) {\n    this.type = type;\n    this.scope = scope;\n    this.override = override;\n    this.items = Object.create(null);\n  }\n  isForType(type) {\n    return Object.prototype.isPrototypeOf.call(this.type.prototype, type.prototype);\n  }\n  register(item) {\n    const proto = Object.getPrototypeOf(item);\n    let parentScope;\n    if (isIChartComponent(proto)) {\n      parentScope = this.register(proto);\n    }\n    const items = this.items;\n    const id = item.id;\n    const scope = this.scope + '.' + id;\n    if (!id) {\n      throw new Error('class does not have id: ' + item);\n    }\n    if (id in items) {\n      return scope;\n    }\n    items[id] = item;\n    registerDefaults(item, scope, parentScope);\n    if (this.override) {\n      defaults.override(item.id, item.overrides);\n    }\n    return scope;\n  }\n  get(id) {\n    return this.items[id];\n  }\n  unregister(item) {\n    const items = this.items;\n    const id = item.id;\n    const scope = this.scope;\n    if (id in items) {\n      delete items[id];\n    }\n    if (scope && id in defaults[scope]) {\n      delete defaults[scope][id];\n      if (this.override) {\n        delete overrides[id];\n      }\n    }\n  }\n}\nfunction registerDefaults(item, scope, parentScope) {\n  const itemDefaults = merge(Object.create(null), [\n    parentScope ? defaults.get(parentScope) : {},\n    defaults.get(scope),\n    item.defaults\n  ]);\n  defaults.set(scope, itemDefaults);\n  if (item.defaultRoutes) {\n    routeDefaults(scope, item.defaultRoutes);\n  }\n  if (item.descriptors) {\n    defaults.describe(scope, item.descriptors);\n  }\n}\nfunction routeDefaults(scope, routes) {\n  Object.keys(routes).forEach(property => {\n    const propertyParts = property.split('.');\n    const sourceName = propertyParts.pop();\n    const sourceScope = [scope].concat(propertyParts).join('.');\n    const parts = routes[property].split('.');\n    const targetName = parts.pop();\n    const targetScope = parts.join('.');\n    defaults.route(sourceScope, sourceName, targetScope, targetName);\n  });\n}\nfunction isIChartComponent(proto) {\n  return 'id' in proto && 'defaults' in proto;\n}\n\nclass Registry {\n  constructor() {\n    this.controllers = new TypedRegistry(DatasetController, 'datasets', true);\n    this.elements = new TypedRegistry(Element, 'elements');\n    this.plugins = new TypedRegistry(Object, 'plugins');\n    this.scales = new TypedRegistry(Scale, 'scales');\n    this._typedRegistries = [this.controllers, this.scales, this.elements];\n  }\n  add(...args) {\n    this._each('register', args);\n  }\n  remove(...args) {\n    this._each('unregister', args);\n  }\n  addControllers(...args) {\n    this._each('register', args, this.controllers);\n  }\n  addElements(...args) {\n    this._each('register', args, this.elements);\n  }\n  addPlugins(...args) {\n    this._each('register', args, this.plugins);\n  }\n  addScales(...args) {\n    this._each('register', args, this.scales);\n  }\n  getController(id) {\n    return this._get(id, this.controllers, 'controller');\n  }\n  getElement(id) {\n    return this._get(id, this.elements, 'element');\n  }\n  getPlugin(id) {\n    return this._get(id, this.plugins, 'plugin');\n  }\n  getScale(id) {\n    return this._get(id, this.scales, 'scale');\n  }\n  removeControllers(...args) {\n    this._each('unregister', args, this.controllers);\n  }\n  removeElements(...args) {\n    this._each('unregister', args, this.elements);\n  }\n  removePlugins(...args) {\n    this._each('unregister', args, this.plugins);\n  }\n  removeScales(...args) {\n    this._each('unregister', args, this.scales);\n  }\n  _each(method, args, typedRegistry) {\n    [...args].forEach(arg => {\n      const reg = typedRegistry || this._getRegistryForType(arg);\n      if (typedRegistry || reg.isForType(arg) || (reg === this.plugins && arg.id)) {\n        this._exec(method, reg, arg);\n      } else {\n        each(arg, item => {\n          const itemReg = typedRegistry || this._getRegistryForType(item);\n          this._exec(method, itemReg, item);\n        });\n      }\n    });\n  }\n  _exec(method, registry, component) {\n    const camelMethod = _capitalize(method);\n    callback(component['before' + camelMethod], [], component);\n    registry[method](component);\n    callback(component['after' + camelMethod], [], component);\n  }\n  _getRegistryForType(type) {\n    for (let i = 0; i < this._typedRegistries.length; i++) {\n      const reg = this._typedRegistries[i];\n      if (reg.isForType(type)) {\n        return reg;\n      }\n    }\n    return this.plugins;\n  }\n  _get(id, typedRegistry, type) {\n    const item = typedRegistry.get(id);\n    if (item === undefined) {\n      throw new Error('\"' + id + '\" is not a registered ' + type + '.');\n    }\n    return item;\n  }\n}\nvar registry = new Registry();\n\nclass PluginService {\n  constructor() {\n    this._init = [];\n  }\n  notify(chart, hook, args, filter) {\n    if (hook === 'beforeInit') {\n      this._init = this._createDescriptors(chart, true);\n      this._notify(this._init, chart, 'install');\n    }\n    const descriptors = filter ? this._descriptors(chart).filter(filter) : this._descriptors(chart);\n    const result = this._notify(descriptors, chart, hook, args);\n    if (hook === 'afterDestroy') {\n      this._notify(descriptors, chart, 'stop');\n      this._notify(this._init, chart, 'uninstall');\n    }\n    return result;\n  }\n  _notify(descriptors, chart, hook, args) {\n    args = args || {};\n    for (const descriptor of descriptors) {\n      const plugin = descriptor.plugin;\n      const method = plugin[hook];\n      const params = [chart, args, descriptor.options];\n      if (callback(method, params, plugin) === false && args.cancelable) {\n        return false;\n      }\n    }\n    return true;\n  }\n  invalidate() {\n    if (!isNullOrUndef(this._cache)) {\n      this._oldCache = this._cache;\n      this._cache = undefined;\n    }\n  }\n  _descriptors(chart) {\n    if (this._cache) {\n      return this._cache;\n    }\n    const descriptors = this._cache = this._createDescriptors(chart);\n    this._notifyStateChanges(chart);\n    return descriptors;\n  }\n  _createDescriptors(chart, all) {\n    const config = chart && chart.config;\n    const options = valueOrDefault(config.options && config.options.plugins, {});\n    const plugins = allPlugins(config);\n    return options === false && !all ? [] : createDescriptors(chart, plugins, options, all);\n  }\n  _notifyStateChanges(chart) {\n    const previousDescriptors = this._oldCache || [];\n    const descriptors = this._cache;\n    const diff = (a, b) => a.filter(x => !b.some(y => x.plugin.id === y.plugin.id));\n    this._notify(diff(previousDescriptors, descriptors), chart, 'stop');\n    this._notify(diff(descriptors, previousDescriptors), chart, 'start');\n  }\n}\nfunction allPlugins(config) {\n  const localIds = {};\n  const plugins = [];\n  const keys = Object.keys(registry.plugins.items);\n  for (let i = 0; i < keys.length; i++) {\n    plugins.push(registry.getPlugin(keys[i]));\n  }\n  const local = config.plugins || [];\n  for (let i = 0; i < local.length; i++) {\n    const plugin = local[i];\n    if (plugins.indexOf(plugin) === -1) {\n      plugins.push(plugin);\n      localIds[plugin.id] = true;\n    }\n  }\n  return {plugins, localIds};\n}\nfunction getOpts(options, all) {\n  if (!all && options === false) {\n    return null;\n  }\n  if (options === true) {\n    return {};\n  }\n  return options;\n}\nfunction createDescriptors(chart, {plugins, localIds}, options, all) {\n  const result = [];\n  const context = chart.getContext();\n  for (const plugin of plugins) {\n    const id = plugin.id;\n    const opts = getOpts(options[id], all);\n    if (opts === null) {\n      continue;\n    }\n    result.push({\n      plugin,\n      options: pluginOpts(chart.config, {plugin, local: localIds[id]}, opts, context)\n    });\n  }\n  return result;\n}\nfunction pluginOpts(config, {plugin, local}, opts, context) {\n  const keys = config.pluginScopeKeys(plugin);\n  const scopes = config.getOptionScopes(opts, keys);\n  if (local && plugin.defaults) {\n    scopes.push(plugin.defaults);\n  }\n  return config.createResolver(scopes, context, [''], {\n    scriptable: false,\n    indexable: false,\n    allKeys: true\n  });\n}\n\nfunction getIndexAxis(type, options) {\n  const datasetDefaults = defaults.datasets[type] || {};\n  const datasetOptions = (options.datasets || {})[type] || {};\n  return datasetOptions.indexAxis || options.indexAxis || datasetDefaults.indexAxis || 'x';\n}\nfunction getAxisFromDefaultScaleID(id, indexAxis) {\n  let axis = id;\n  if (id === '_index_') {\n    axis = indexAxis;\n  } else if (id === '_value_') {\n    axis = indexAxis === 'x' ? 'y' : 'x';\n  }\n  return axis;\n}\nfunction getDefaultScaleIDFromAxis(axis, indexAxis) {\n  return axis === indexAxis ? '_index_' : '_value_';\n}\nfunction axisFromPosition(position) {\n  if (position === 'top' || position === 'bottom') {\n    return 'x';\n  }\n  if (position === 'left' || position === 'right') {\n    return 'y';\n  }\n}\nfunction determineAxis(id, scaleOptions) {\n  if (id === 'x' || id === 'y') {\n    return id;\n  }\n  return scaleOptions.axis || axisFromPosition(scaleOptions.position) || id.charAt(0).toLowerCase();\n}\nfunction mergeScaleConfig(config, options) {\n  const chartDefaults = overrides[config.type] || {scales: {}};\n  const configScales = options.scales || {};\n  const chartIndexAxis = getIndexAxis(config.type, options);\n  const firstIDs = Object.create(null);\n  const scales = Object.create(null);\n  Object.keys(configScales).forEach(id => {\n    const scaleConf = configScales[id];\n    if (!isObject(scaleConf)) {\n      return console.error(`Invalid scale configuration for scale: ${id}`);\n    }\n    if (scaleConf._proxy) {\n      return console.warn(`Ignoring resolver passed as options for scale: ${id}`);\n    }\n    const axis = determineAxis(id, scaleConf);\n    const defaultId = getDefaultScaleIDFromAxis(axis, chartIndexAxis);\n    const defaultScaleOptions = chartDefaults.scales || {};\n    firstIDs[axis] = firstIDs[axis] || id;\n    scales[id] = mergeIf(Object.create(null), [{axis}, scaleConf, defaultScaleOptions[axis], defaultScaleOptions[defaultId]]);\n  });\n  config.data.datasets.forEach(dataset => {\n    const type = dataset.type || config.type;\n    const indexAxis = dataset.indexAxis || getIndexAxis(type, options);\n    const datasetDefaults = overrides[type] || {};\n    const defaultScaleOptions = datasetDefaults.scales || {};\n    Object.keys(defaultScaleOptions).forEach(defaultID => {\n      const axis = getAxisFromDefaultScaleID(defaultID, indexAxis);\n      const id = dataset[axis + 'AxisID'] || firstIDs[axis] || axis;\n      scales[id] = scales[id] || Object.create(null);\n      mergeIf(scales[id], [{axis}, configScales[id], defaultScaleOptions[defaultID]]);\n    });\n  });\n  Object.keys(scales).forEach(key => {\n    const scale = scales[key];\n    mergeIf(scale, [defaults.scales[scale.type], defaults.scale]);\n  });\n  return scales;\n}\nfunction initOptions(config) {\n  const options = config.options || (config.options = {});\n  options.plugins = valueOrDefault(options.plugins, {});\n  options.scales = mergeScaleConfig(config, options);\n}\nfunction initData(data) {\n  data = data || {};\n  data.datasets = data.datasets || [];\n  data.labels = data.labels || [];\n  return data;\n}\nfunction initConfig(config) {\n  config = config || {};\n  config.data = initData(config.data);\n  initOptions(config);\n  return config;\n}\nconst keyCache = new Map();\nconst keysCached = new Set();\nfunction cachedKeys(cacheKey, generate) {\n  let keys = keyCache.get(cacheKey);\n  if (!keys) {\n    keys = generate();\n    keyCache.set(cacheKey, keys);\n    keysCached.add(keys);\n  }\n  return keys;\n}\nconst addIfFound = (set, obj, key) => {\n  const opts = resolveObjectKey(obj, key);\n  if (opts !== undefined) {\n    set.add(opts);\n  }\n};\nclass Config {\n  constructor(config) {\n    this._config = initConfig(config);\n    this._scopeCache = new Map();\n    this._resolverCache = new Map();\n  }\n  get platform() {\n    return this._config.platform;\n  }\n  get type() {\n    return this._config.type;\n  }\n  set type(type) {\n    this._config.type = type;\n  }\n  get data() {\n    return this._config.data;\n  }\n  set data(data) {\n    this._config.data = initData(data);\n  }\n  get options() {\n    return this._config.options;\n  }\n  set options(options) {\n    this._config.options = options;\n  }\n  get plugins() {\n    return this._config.plugins;\n  }\n  update() {\n    const config = this._config;\n    this.clearCache();\n    initOptions(config);\n  }\n  clearCache() {\n    this._scopeCache.clear();\n    this._resolverCache.clear();\n  }\n  datasetScopeKeys(datasetType) {\n    return cachedKeys(datasetType,\n      () => [[\n        `datasets.${datasetType}`,\n        ''\n      ]]);\n  }\n  datasetAnimationScopeKeys(datasetType, transition) {\n    return cachedKeys(`${datasetType}.transition.${transition}`,\n      () => [\n        [\n          `datasets.${datasetType}.transitions.${transition}`,\n          `transitions.${transition}`,\n        ],\n        [\n          `datasets.${datasetType}`,\n          ''\n        ]\n      ]);\n  }\n  datasetElementScopeKeys(datasetType, elementType) {\n    return cachedKeys(`${datasetType}-${elementType}`,\n      () => [[\n        `datasets.${datasetType}.elements.${elementType}`,\n        `datasets.${datasetType}`,\n        `elements.${elementType}`,\n        ''\n      ]]);\n  }\n  pluginScopeKeys(plugin) {\n    const id = plugin.id;\n    const type = this.type;\n    return cachedKeys(`${type}-plugin-${id}`,\n      () => [[\n        `plugins.${id}`,\n        ...plugin.additionalOptionScopes || [],\n      ]]);\n  }\n  _cachedScopes(mainScope, resetCache) {\n    const _scopeCache = this._scopeCache;\n    let cache = _scopeCache.get(mainScope);\n    if (!cache || resetCache) {\n      cache = new Map();\n      _scopeCache.set(mainScope, cache);\n    }\n    return cache;\n  }\n  getOptionScopes(mainScope, keyLists, resetCache) {\n    const {options, type} = this;\n    const cache = this._cachedScopes(mainScope, resetCache);\n    const cached = cache.get(keyLists);\n    if (cached) {\n      return cached;\n    }\n    const scopes = new Set();\n    keyLists.forEach(keys => {\n      if (mainScope) {\n        scopes.add(mainScope);\n        keys.forEach(key => addIfFound(scopes, mainScope, key));\n      }\n      keys.forEach(key => addIfFound(scopes, options, key));\n      keys.forEach(key => addIfFound(scopes, overrides[type] || {}, key));\n      keys.forEach(key => addIfFound(scopes, defaults, key));\n      keys.forEach(key => addIfFound(scopes, descriptors, key));\n    });\n    const array = Array.from(scopes);\n    if (array.length === 0) {\n      array.push(Object.create(null));\n    }\n    if (keysCached.has(keyLists)) {\n      cache.set(keyLists, array);\n    }\n    return array;\n  }\n  chartOptionScopes() {\n    const {options, type} = this;\n    return [\n      options,\n      overrides[type] || {},\n      defaults.datasets[type] || {},\n      {type},\n      defaults,\n      descriptors\n    ];\n  }\n  resolveNamedOptions(scopes, names, context, prefixes = ['']) {\n    const result = {$shared: true};\n    const {resolver, subPrefixes} = getResolver(this._resolverCache, scopes, prefixes);\n    let options = resolver;\n    if (needContext(resolver, names)) {\n      result.$shared = false;\n      context = isFunction(context) ? context() : context;\n      const subResolver = this.createResolver(scopes, context, subPrefixes);\n      options = _attachContext(resolver, context, subResolver);\n    }\n    for (const prop of names) {\n      result[prop] = options[prop];\n    }\n    return result;\n  }\n  createResolver(scopes, context, prefixes = [''], descriptorDefaults) {\n    const {resolver} = getResolver(this._resolverCache, scopes, prefixes);\n    return isObject(context)\n      ? _attachContext(resolver, context, undefined, descriptorDefaults)\n      : resolver;\n  }\n}\nfunction getResolver(resolverCache, scopes, prefixes) {\n  let cache = resolverCache.get(scopes);\n  if (!cache) {\n    cache = new Map();\n    resolverCache.set(scopes, cache);\n  }\n  const cacheKey = prefixes.join();\n  let cached = cache.get(cacheKey);\n  if (!cached) {\n    const resolver = _createResolver(scopes, prefixes);\n    cached = {\n      resolver,\n      subPrefixes: prefixes.filter(p => !p.toLowerCase().includes('hover'))\n    };\n    cache.set(cacheKey, cached);\n  }\n  return cached;\n}\nconst hasFunction = value => isObject(value)\n  && Object.getOwnPropertyNames(value).reduce((acc, key) => acc || isFunction(value[key]), false);\nfunction needContext(proxy, names) {\n  const {isScriptable, isIndexable} = _descriptors(proxy);\n  for (const prop of names) {\n    const scriptable = isScriptable(prop);\n    const indexable = isIndexable(prop);\n    const value = (indexable || scriptable) && proxy[prop];\n    if ((scriptable && (isFunction(value) || hasFunction(value)))\n      || (indexable && isArray(value))) {\n      return true;\n    }\n  }\n  return false;\n}\n\nvar version = \"3.9.1\";\n\nconst KNOWN_POSITIONS = ['top', 'bottom', 'left', 'right', 'chartArea'];\nfunction positionIsHorizontal(position, axis) {\n  return position === 'top' || position === 'bottom' || (KNOWN_POSITIONS.indexOf(position) === -1 && axis === 'x');\n}\nfunction compare2Level(l1, l2) {\n  return function(a, b) {\n    return a[l1] === b[l1]\n      ? a[l2] - b[l2]\n      : a[l1] - b[l1];\n  };\n}\nfunction onAnimationsComplete(context) {\n  const chart = context.chart;\n  const animationOptions = chart.options.animation;\n  chart.notifyPlugins('afterRender');\n  callback(animationOptions && animationOptions.onComplete, [context], chart);\n}\nfunction onAnimationProgress(context) {\n  const chart = context.chart;\n  const animationOptions = chart.options.animation;\n  callback(animationOptions && animationOptions.onProgress, [context], chart);\n}\nfunction getCanvas(item) {\n  if (_isDomSupported() && typeof item === 'string') {\n    item = document.getElementById(item);\n  } else if (item && item.length) {\n    item = item[0];\n  }\n  if (item && item.canvas) {\n    item = item.canvas;\n  }\n  return item;\n}\nconst instances = {};\nconst getChart = (key) => {\n  const canvas = getCanvas(key);\n  return Object.values(instances).filter((c) => c.canvas === canvas).pop();\n};\nfunction moveNumericKeys(obj, start, move) {\n  const keys = Object.keys(obj);\n  for (const key of keys) {\n    const intKey = +key;\n    if (intKey >= start) {\n      const value = obj[key];\n      delete obj[key];\n      if (move > 0 || intKey > start) {\n        obj[intKey + move] = value;\n      }\n    }\n  }\n}\nfunction determineLastEvent(e, lastEvent, inChartArea, isClick) {\n  if (!inChartArea || e.type === 'mouseout') {\n    return null;\n  }\n  if (isClick) {\n    return lastEvent;\n  }\n  return e;\n}\nclass Chart {\n  constructor(item, userConfig) {\n    const config = this.config = new Config(userConfig);\n    const initialCanvas = getCanvas(item);\n    const existingChart = getChart(initialCanvas);\n    if (existingChart) {\n      throw new Error(\n        'Canvas is already in use. Chart with ID \\'' + existingChart.id + '\\'' +\n\t\t\t\t' must be destroyed before the canvas with ID \\'' + existingChart.canvas.id + '\\' can be reused.'\n      );\n    }\n    const options = config.createResolver(config.chartOptionScopes(), this.getContext());\n    this.platform = new (config.platform || _detectPlatform(initialCanvas))();\n    this.platform.updateConfig(config);\n    const context = this.platform.acquireContext(initialCanvas, options.aspectRatio);\n    const canvas = context && context.canvas;\n    const height = canvas && canvas.height;\n    const width = canvas && canvas.width;\n    this.id = uid();\n    this.ctx = context;\n    this.canvas = canvas;\n    this.width = width;\n    this.height = height;\n    this._options = options;\n    this._aspectRatio = this.aspectRatio;\n    this._layers = [];\n    this._metasets = [];\n    this._stacks = undefined;\n    this.boxes = [];\n    this.currentDevicePixelRatio = undefined;\n    this.chartArea = undefined;\n    this._active = [];\n    this._lastEvent = undefined;\n    this._listeners = {};\n    this._responsiveListeners = undefined;\n    this._sortedMetasets = [];\n    this.scales = {};\n    this._plugins = new PluginService();\n    this.$proxies = {};\n    this._hiddenIndices = {};\n    this.attached = false;\n    this._animationsDisabled = undefined;\n    this.$context = undefined;\n    this._doResize = debounce(mode => this.update(mode), options.resizeDelay || 0);\n    this._dataChanges = [];\n    instances[this.id] = this;\n    if (!context || !canvas) {\n      console.error(\"Failed to create chart: can't acquire context from the given item\");\n      return;\n    }\n    animator.listen(this, 'complete', onAnimationsComplete);\n    animator.listen(this, 'progress', onAnimationProgress);\n    this._initialize();\n    if (this.attached) {\n      this.update();\n    }\n  }\n  get aspectRatio() {\n    const {options: {aspectRatio, maintainAspectRatio}, width, height, _aspectRatio} = this;\n    if (!isNullOrUndef(aspectRatio)) {\n      return aspectRatio;\n    }\n    if (maintainAspectRatio && _aspectRatio) {\n      return _aspectRatio;\n    }\n    return height ? width / height : null;\n  }\n  get data() {\n    return this.config.data;\n  }\n  set data(data) {\n    this.config.data = data;\n  }\n  get options() {\n    return this._options;\n  }\n  set options(options) {\n    this.config.options = options;\n  }\n  _initialize() {\n    this.notifyPlugins('beforeInit');\n    if (this.options.responsive) {\n      this.resize();\n    } else {\n      retinaScale(this, this.options.devicePixelRatio);\n    }\n    this.bindEvents();\n    this.notifyPlugins('afterInit');\n    return this;\n  }\n  clear() {\n    clearCanvas(this.canvas, this.ctx);\n    return this;\n  }\n  stop() {\n    animator.stop(this);\n    return this;\n  }\n  resize(width, height) {\n    if (!animator.running(this)) {\n      this._resize(width, height);\n    } else {\n      this._resizeBeforeDraw = {width, height};\n    }\n  }\n  _resize(width, height) {\n    const options = this.options;\n    const canvas = this.canvas;\n    const aspectRatio = options.maintainAspectRatio && this.aspectRatio;\n    const newSize = this.platform.getMaximumSize(canvas, width, height, aspectRatio);\n    const newRatio = options.devicePixelRatio || this.platform.getDevicePixelRatio();\n    const mode = this.width ? 'resize' : 'attach';\n    this.width = newSize.width;\n    this.height = newSize.height;\n    this._aspectRatio = this.aspectRatio;\n    if (!retinaScale(this, newRatio, true)) {\n      return;\n    }\n    this.notifyPlugins('resize', {size: newSize});\n    callback(options.onResize, [this, newSize], this);\n    if (this.attached) {\n      if (this._doResize(mode)) {\n        this.render();\n      }\n    }\n  }\n  ensureScalesHaveIDs() {\n    const options = this.options;\n    const scalesOptions = options.scales || {};\n    each(scalesOptions, (axisOptions, axisID) => {\n      axisOptions.id = axisID;\n    });\n  }\n  buildOrUpdateScales() {\n    const options = this.options;\n    const scaleOpts = options.scales;\n    const scales = this.scales;\n    const updated = Object.keys(scales).reduce((obj, id) => {\n      obj[id] = false;\n      return obj;\n    }, {});\n    let items = [];\n    if (scaleOpts) {\n      items = items.concat(\n        Object.keys(scaleOpts).map((id) => {\n          const scaleOptions = scaleOpts[id];\n          const axis = determineAxis(id, scaleOptions);\n          const isRadial = axis === 'r';\n          const isHorizontal = axis === 'x';\n          return {\n            options: scaleOptions,\n            dposition: isRadial ? 'chartArea' : isHorizontal ? 'bottom' : 'left',\n            dtype: isRadial ? 'radialLinear' : isHorizontal ? 'category' : 'linear'\n          };\n        })\n      );\n    }\n    each(items, (item) => {\n      const scaleOptions = item.options;\n      const id = scaleOptions.id;\n      const axis = determineAxis(id, scaleOptions);\n      const scaleType = valueOrDefault(scaleOptions.type, item.dtype);\n      if (scaleOptions.position === undefined || positionIsHorizontal(scaleOptions.position, axis) !== positionIsHorizontal(item.dposition)) {\n        scaleOptions.position = item.dposition;\n      }\n      updated[id] = true;\n      let scale = null;\n      if (id in scales && scales[id].type === scaleType) {\n        scale = scales[id];\n      } else {\n        const scaleClass = registry.getScale(scaleType);\n        scale = new scaleClass({\n          id,\n          type: scaleType,\n          ctx: this.ctx,\n          chart: this\n        });\n        scales[scale.id] = scale;\n      }\n      scale.init(scaleOptions, options);\n    });\n    each(updated, (hasUpdated, id) => {\n      if (!hasUpdated) {\n        delete scales[id];\n      }\n    });\n    each(scales, (scale) => {\n      layouts.configure(this, scale, scale.options);\n      layouts.addBox(this, scale);\n    });\n  }\n  _updateMetasets() {\n    const metasets = this._metasets;\n    const numData = this.data.datasets.length;\n    const numMeta = metasets.length;\n    metasets.sort((a, b) => a.index - b.index);\n    if (numMeta > numData) {\n      for (let i = numData; i < numMeta; ++i) {\n        this._destroyDatasetMeta(i);\n      }\n      metasets.splice(numData, numMeta - numData);\n    }\n    this._sortedMetasets = metasets.slice(0).sort(compare2Level('order', 'index'));\n  }\n  _removeUnreferencedMetasets() {\n    const {_metasets: metasets, data: {datasets}} = this;\n    if (metasets.length > datasets.length) {\n      delete this._stacks;\n    }\n    metasets.forEach((meta, index) => {\n      if (datasets.filter(x => x === meta._dataset).length === 0) {\n        this._destroyDatasetMeta(index);\n      }\n    });\n  }\n  buildOrUpdateControllers() {\n    const newControllers = [];\n    const datasets = this.data.datasets;\n    let i, ilen;\n    this._removeUnreferencedMetasets();\n    for (i = 0, ilen = datasets.length; i < ilen; i++) {\n      const dataset = datasets[i];\n      let meta = this.getDatasetMeta(i);\n      const type = dataset.type || this.config.type;\n      if (meta.type && meta.type !== type) {\n        this._destroyDatasetMeta(i);\n        meta = this.getDatasetMeta(i);\n      }\n      meta.type = type;\n      meta.indexAxis = dataset.indexAxis || getIndexAxis(type, this.options);\n      meta.order = dataset.order || 0;\n      meta.index = i;\n      meta.label = '' + dataset.label;\n      meta.visible = this.isDatasetVisible(i);\n      if (meta.controller) {\n        meta.controller.updateIndex(i);\n        meta.controller.linkScales();\n      } else {\n        const ControllerClass = registry.getController(type);\n        const {datasetElementType, dataElementType} = defaults.datasets[type];\n        Object.assign(ControllerClass.prototype, {\n          dataElementType: registry.getElement(dataElementType),\n          datasetElementType: datasetElementType && registry.getElement(datasetElementType)\n        });\n        meta.controller = new ControllerClass(this, i);\n        newControllers.push(meta.controller);\n      }\n    }\n    this._updateMetasets();\n    return newControllers;\n  }\n  _resetElements() {\n    each(this.data.datasets, (dataset, datasetIndex) => {\n      this.getDatasetMeta(datasetIndex).controller.reset();\n    }, this);\n  }\n  reset() {\n    this._resetElements();\n    this.notifyPlugins('reset');\n  }\n  update(mode) {\n    const config = this.config;\n    config.update();\n    const options = this._options = config.createResolver(config.chartOptionScopes(), this.getContext());\n    const animsDisabled = this._animationsDisabled = !options.animation;\n    this._updateScales();\n    this._checkEventBindings();\n    this._updateHiddenIndices();\n    this._plugins.invalidate();\n    if (this.notifyPlugins('beforeUpdate', {mode, cancelable: true}) === false) {\n      return;\n    }\n    const newControllers = this.buildOrUpdateControllers();\n    this.notifyPlugins('beforeElementsUpdate');\n    let minPadding = 0;\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; i++) {\n      const {controller} = this.getDatasetMeta(i);\n      const reset = !animsDisabled && newControllers.indexOf(controller) === -1;\n      controller.buildOrUpdateElements(reset);\n      minPadding = Math.max(+controller.getMaxOverflow(), minPadding);\n    }\n    minPadding = this._minPadding = options.layout.autoPadding ? minPadding : 0;\n    this._updateLayout(minPadding);\n    if (!animsDisabled) {\n      each(newControllers, (controller) => {\n        controller.reset();\n      });\n    }\n    this._updateDatasets(mode);\n    this.notifyPlugins('afterUpdate', {mode});\n    this._layers.sort(compare2Level('z', '_idx'));\n    const {_active, _lastEvent} = this;\n    if (_lastEvent) {\n      this._eventHandler(_lastEvent, true);\n    } else if (_active.length) {\n      this._updateHoverStyles(_active, _active, true);\n    }\n    this.render();\n  }\n  _updateScales() {\n    each(this.scales, (scale) => {\n      layouts.removeBox(this, scale);\n    });\n    this.ensureScalesHaveIDs();\n    this.buildOrUpdateScales();\n  }\n  _checkEventBindings() {\n    const options = this.options;\n    const existingEvents = new Set(Object.keys(this._listeners));\n    const newEvents = new Set(options.events);\n    if (!setsEqual(existingEvents, newEvents) || !!this._responsiveListeners !== options.responsive) {\n      this.unbindEvents();\n      this.bindEvents();\n    }\n  }\n  _updateHiddenIndices() {\n    const {_hiddenIndices} = this;\n    const changes = this._getUniformDataChanges() || [];\n    for (const {method, start, count} of changes) {\n      const move = method === '_removeElements' ? -count : count;\n      moveNumericKeys(_hiddenIndices, start, move);\n    }\n  }\n  _getUniformDataChanges() {\n    const _dataChanges = this._dataChanges;\n    if (!_dataChanges || !_dataChanges.length) {\n      return;\n    }\n    this._dataChanges = [];\n    const datasetCount = this.data.datasets.length;\n    const makeSet = (idx) => new Set(\n      _dataChanges\n        .filter(c => c[0] === idx)\n        .map((c, i) => i + ',' + c.splice(1).join(','))\n    );\n    const changeSet = makeSet(0);\n    for (let i = 1; i < datasetCount; i++) {\n      if (!setsEqual(changeSet, makeSet(i))) {\n        return;\n      }\n    }\n    return Array.from(changeSet)\n      .map(c => c.split(','))\n      .map(a => ({method: a[1], start: +a[2], count: +a[3]}));\n  }\n  _updateLayout(minPadding) {\n    if (this.notifyPlugins('beforeLayout', {cancelable: true}) === false) {\n      return;\n    }\n    layouts.update(this, this.width, this.height, minPadding);\n    const area = this.chartArea;\n    const noArea = area.width <= 0 || area.height <= 0;\n    this._layers = [];\n    each(this.boxes, (box) => {\n      if (noArea && box.position === 'chartArea') {\n        return;\n      }\n      if (box.configure) {\n        box.configure();\n      }\n      this._layers.push(...box._layers());\n    }, this);\n    this._layers.forEach((item, index) => {\n      item._idx = index;\n    });\n    this.notifyPlugins('afterLayout');\n  }\n  _updateDatasets(mode) {\n    if (this.notifyPlugins('beforeDatasetsUpdate', {mode, cancelable: true}) === false) {\n      return;\n    }\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this.getDatasetMeta(i).controller.configure();\n    }\n    for (let i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this._updateDataset(i, isFunction(mode) ? mode({datasetIndex: i}) : mode);\n    }\n    this.notifyPlugins('afterDatasetsUpdate', {mode});\n  }\n  _updateDataset(index, mode) {\n    const meta = this.getDatasetMeta(index);\n    const args = {meta, index, mode, cancelable: true};\n    if (this.notifyPlugins('beforeDatasetUpdate', args) === false) {\n      return;\n    }\n    meta.controller._update(mode);\n    args.cancelable = false;\n    this.notifyPlugins('afterDatasetUpdate', args);\n  }\n  render() {\n    if (this.notifyPlugins('beforeRender', {cancelable: true}) === false) {\n      return;\n    }\n    if (animator.has(this)) {\n      if (this.attached && !animator.running(this)) {\n        animator.start(this);\n      }\n    } else {\n      this.draw();\n      onAnimationsComplete({chart: this});\n    }\n  }\n  draw() {\n    let i;\n    if (this._resizeBeforeDraw) {\n      const {width, height} = this._resizeBeforeDraw;\n      this._resize(width, height);\n      this._resizeBeforeDraw = null;\n    }\n    this.clear();\n    if (this.width <= 0 || this.height <= 0) {\n      return;\n    }\n    if (this.notifyPlugins('beforeDraw', {cancelable: true}) === false) {\n      return;\n    }\n    const layers = this._layers;\n    for (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\n      layers[i].draw(this.chartArea);\n    }\n    this._drawDatasets();\n    for (; i < layers.length; ++i) {\n      layers[i].draw(this.chartArea);\n    }\n    this.notifyPlugins('afterDraw');\n  }\n  _getSortedDatasetMetas(filterVisible) {\n    const metasets = this._sortedMetasets;\n    const result = [];\n    let i, ilen;\n    for (i = 0, ilen = metasets.length; i < ilen; ++i) {\n      const meta = metasets[i];\n      if (!filterVisible || meta.visible) {\n        result.push(meta);\n      }\n    }\n    return result;\n  }\n  getSortedVisibleDatasetMetas() {\n    return this._getSortedDatasetMetas(true);\n  }\n  _drawDatasets() {\n    if (this.notifyPlugins('beforeDatasetsDraw', {cancelable: true}) === false) {\n      return;\n    }\n    const metasets = this.getSortedVisibleDatasetMetas();\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      this._drawDataset(metasets[i]);\n    }\n    this.notifyPlugins('afterDatasetsDraw');\n  }\n  _drawDataset(meta) {\n    const ctx = this.ctx;\n    const clip = meta._clip;\n    const useClip = !clip.disabled;\n    const area = this.chartArea;\n    const args = {\n      meta,\n      index: meta.index,\n      cancelable: true\n    };\n    if (this.notifyPlugins('beforeDatasetDraw', args) === false) {\n      return;\n    }\n    if (useClip) {\n      clipArea(ctx, {\n        left: clip.left === false ? 0 : area.left - clip.left,\n        right: clip.right === false ? this.width : area.right + clip.right,\n        top: clip.top === false ? 0 : area.top - clip.top,\n        bottom: clip.bottom === false ? this.height : area.bottom + clip.bottom\n      });\n    }\n    meta.controller.draw();\n    if (useClip) {\n      unclipArea(ctx);\n    }\n    args.cancelable = false;\n    this.notifyPlugins('afterDatasetDraw', args);\n  }\n  isPointInArea(point) {\n    return _isPointInArea(point, this.chartArea, this._minPadding);\n  }\n  getElementsAtEventForMode(e, mode, options, useFinalPosition) {\n    const method = Interaction.modes[mode];\n    if (typeof method === 'function') {\n      return method(this, e, options, useFinalPosition);\n    }\n    return [];\n  }\n  getDatasetMeta(datasetIndex) {\n    const dataset = this.data.datasets[datasetIndex];\n    const metasets = this._metasets;\n    let meta = metasets.filter(x => x && x._dataset === dataset).pop();\n    if (!meta) {\n      meta = {\n        type: null,\n        data: [],\n        dataset: null,\n        controller: null,\n        hidden: null,\n        xAxisID: null,\n        yAxisID: null,\n        order: dataset && dataset.order || 0,\n        index: datasetIndex,\n        _dataset: dataset,\n        _parsed: [],\n        _sorted: false\n      };\n      metasets.push(meta);\n    }\n    return meta;\n  }\n  getContext() {\n    return this.$context || (this.$context = createContext(null, {chart: this, type: 'chart'}));\n  }\n  getVisibleDatasetCount() {\n    return this.getSortedVisibleDatasetMetas().length;\n  }\n  isDatasetVisible(datasetIndex) {\n    const dataset = this.data.datasets[datasetIndex];\n    if (!dataset) {\n      return false;\n    }\n    const meta = this.getDatasetMeta(datasetIndex);\n    return typeof meta.hidden === 'boolean' ? !meta.hidden : !dataset.hidden;\n  }\n  setDatasetVisibility(datasetIndex, visible) {\n    const meta = this.getDatasetMeta(datasetIndex);\n    meta.hidden = !visible;\n  }\n  toggleDataVisibility(index) {\n    this._hiddenIndices[index] = !this._hiddenIndices[index];\n  }\n  getDataVisibility(index) {\n    return !this._hiddenIndices[index];\n  }\n  _updateVisibility(datasetIndex, dataIndex, visible) {\n    const mode = visible ? 'show' : 'hide';\n    const meta = this.getDatasetMeta(datasetIndex);\n    const anims = meta.controller._resolveAnimations(undefined, mode);\n    if (defined(dataIndex)) {\n      meta.data[dataIndex].hidden = !visible;\n      this.update();\n    } else {\n      this.setDatasetVisibility(datasetIndex, visible);\n      anims.update(meta, {visible});\n      this.update((ctx) => ctx.datasetIndex === datasetIndex ? mode : undefined);\n    }\n  }\n  hide(datasetIndex, dataIndex) {\n    this._updateVisibility(datasetIndex, dataIndex, false);\n  }\n  show(datasetIndex, dataIndex) {\n    this._updateVisibility(datasetIndex, dataIndex, true);\n  }\n  _destroyDatasetMeta(datasetIndex) {\n    const meta = this._metasets[datasetIndex];\n    if (meta && meta.controller) {\n      meta.controller._destroy();\n    }\n    delete this._metasets[datasetIndex];\n  }\n  _stop() {\n    let i, ilen;\n    this.stop();\n    animator.remove(this);\n    for (i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\n      this._destroyDatasetMeta(i);\n    }\n  }\n  destroy() {\n    this.notifyPlugins('beforeDestroy');\n    const {canvas, ctx} = this;\n    this._stop();\n    this.config.clearCache();\n    if (canvas) {\n      this.unbindEvents();\n      clearCanvas(canvas, ctx);\n      this.platform.releaseContext(ctx);\n      this.canvas = null;\n      this.ctx = null;\n    }\n    this.notifyPlugins('destroy');\n    delete instances[this.id];\n    this.notifyPlugins('afterDestroy');\n  }\n  toBase64Image(...args) {\n    return this.canvas.toDataURL(...args);\n  }\n  bindEvents() {\n    this.bindUserEvents();\n    if (this.options.responsive) {\n      this.bindResponsiveEvents();\n    } else {\n      this.attached = true;\n    }\n  }\n  bindUserEvents() {\n    const listeners = this._listeners;\n    const platform = this.platform;\n    const _add = (type, listener) => {\n      platform.addEventListener(this, type, listener);\n      listeners[type] = listener;\n    };\n    const listener = (e, x, y) => {\n      e.offsetX = x;\n      e.offsetY = y;\n      this._eventHandler(e);\n    };\n    each(this.options.events, (type) => _add(type, listener));\n  }\n  bindResponsiveEvents() {\n    if (!this._responsiveListeners) {\n      this._responsiveListeners = {};\n    }\n    const listeners = this._responsiveListeners;\n    const platform = this.platform;\n    const _add = (type, listener) => {\n      platform.addEventListener(this, type, listener);\n      listeners[type] = listener;\n    };\n    const _remove = (type, listener) => {\n      if (listeners[type]) {\n        platform.removeEventListener(this, type, listener);\n        delete listeners[type];\n      }\n    };\n    const listener = (width, height) => {\n      if (this.canvas) {\n        this.resize(width, height);\n      }\n    };\n    let detached;\n    const attached = () => {\n      _remove('attach', attached);\n      this.attached = true;\n      this.resize();\n      _add('resize', listener);\n      _add('detach', detached);\n    };\n    detached = () => {\n      this.attached = false;\n      _remove('resize', listener);\n      this._stop();\n      this._resize(0, 0);\n      _add('attach', attached);\n    };\n    if (platform.isAttached(this.canvas)) {\n      attached();\n    } else {\n      detached();\n    }\n  }\n  unbindEvents() {\n    each(this._listeners, (listener, type) => {\n      this.platform.removeEventListener(this, type, listener);\n    });\n    this._listeners = {};\n    each(this._responsiveListeners, (listener, type) => {\n      this.platform.removeEventListener(this, type, listener);\n    });\n    this._responsiveListeners = undefined;\n  }\n  updateHoverStyle(items, mode, enabled) {\n    const prefix = enabled ? 'set' : 'remove';\n    let meta, item, i, ilen;\n    if (mode === 'dataset') {\n      meta = this.getDatasetMeta(items[0].datasetIndex);\n      meta.controller['_' + prefix + 'DatasetHoverStyle']();\n    }\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      item = items[i];\n      const controller = item && this.getDatasetMeta(item.datasetIndex).controller;\n      if (controller) {\n        controller[prefix + 'HoverStyle'](item.element, item.datasetIndex, item.index);\n      }\n    }\n  }\n  getActiveElements() {\n    return this._active || [];\n  }\n  setActiveElements(activeElements) {\n    const lastActive = this._active || [];\n    const active = activeElements.map(({datasetIndex, index}) => {\n      const meta = this.getDatasetMeta(datasetIndex);\n      if (!meta) {\n        throw new Error('No dataset found at index ' + datasetIndex);\n      }\n      return {\n        datasetIndex,\n        element: meta.data[index],\n        index,\n      };\n    });\n    const changed = !_elementsEqual(active, lastActive);\n    if (changed) {\n      this._active = active;\n      this._lastEvent = null;\n      this._updateHoverStyles(active, lastActive);\n    }\n  }\n  notifyPlugins(hook, args, filter) {\n    return this._plugins.notify(this, hook, args, filter);\n  }\n  _updateHoverStyles(active, lastActive, replay) {\n    const hoverOptions = this.options.hover;\n    const diff = (a, b) => a.filter(x => !b.some(y => x.datasetIndex === y.datasetIndex && x.index === y.index));\n    const deactivated = diff(lastActive, active);\n    const activated = replay ? active : diff(active, lastActive);\n    if (deactivated.length) {\n      this.updateHoverStyle(deactivated, hoverOptions.mode, false);\n    }\n    if (activated.length && hoverOptions.mode) {\n      this.updateHoverStyle(activated, hoverOptions.mode, true);\n    }\n  }\n  _eventHandler(e, replay) {\n    const args = {\n      event: e,\n      replay,\n      cancelable: true,\n      inChartArea: this.isPointInArea(e)\n    };\n    const eventFilter = (plugin) => (plugin.options.events || this.options.events).includes(e.native.type);\n    if (this.notifyPlugins('beforeEvent', args, eventFilter) === false) {\n      return;\n    }\n    const changed = this._handleEvent(e, replay, args.inChartArea);\n    args.cancelable = false;\n    this.notifyPlugins('afterEvent', args, eventFilter);\n    if (changed || args.changed) {\n      this.render();\n    }\n    return this;\n  }\n  _handleEvent(e, replay, inChartArea) {\n    const {_active: lastActive = [], options} = this;\n    const useFinalPosition = replay;\n    const active = this._getActiveElements(e, lastActive, inChartArea, useFinalPosition);\n    const isClick = _isClickEvent(e);\n    const lastEvent = determineLastEvent(e, this._lastEvent, inChartArea, isClick);\n    if (inChartArea) {\n      this._lastEvent = null;\n      callback(options.onHover, [e, active, this], this);\n      if (isClick) {\n        callback(options.onClick, [e, active, this], this);\n      }\n    }\n    const changed = !_elementsEqual(active, lastActive);\n    if (changed || replay) {\n      this._active = active;\n      this._updateHoverStyles(active, lastActive, replay);\n    }\n    this._lastEvent = lastEvent;\n    return changed;\n  }\n  _getActiveElements(e, lastActive, inChartArea, useFinalPosition) {\n    if (e.type === 'mouseout') {\n      return [];\n    }\n    if (!inChartArea) {\n      return lastActive;\n    }\n    const hoverOptions = this.options.hover;\n    return this.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions, useFinalPosition);\n  }\n}\nconst invalidatePlugins = () => each(Chart.instances, (chart) => chart._plugins.invalidate());\nconst enumerable = true;\nObject.defineProperties(Chart, {\n  defaults: {\n    enumerable,\n    value: defaults\n  },\n  instances: {\n    enumerable,\n    value: instances\n  },\n  overrides: {\n    enumerable,\n    value: overrides\n  },\n  registry: {\n    enumerable,\n    value: registry\n  },\n  version: {\n    enumerable,\n    value: version\n  },\n  getChart: {\n    enumerable,\n    value: getChart\n  },\n  register: {\n    enumerable,\n    value: (...items) => {\n      registry.add(...items);\n      invalidatePlugins();\n    }\n  },\n  unregister: {\n    enumerable,\n    value: (...items) => {\n      registry.remove(...items);\n      invalidatePlugins();\n    }\n  }\n});\n\nfunction abstract() {\n  throw new Error('This method is not implemented: Check that a complete date adapter is provided.');\n}\nclass DateAdapter {\n  constructor(options) {\n    this.options = options || {};\n  }\n  init(chartOptions) {}\n  formats() {\n    return abstract();\n  }\n  parse(value, format) {\n    return abstract();\n  }\n  format(timestamp, format) {\n    return abstract();\n  }\n  add(timestamp, amount, unit) {\n    return abstract();\n  }\n  diff(a, b, unit) {\n    return abstract();\n  }\n  startOf(timestamp, unit, weekday) {\n    return abstract();\n  }\n  endOf(timestamp, unit) {\n    return abstract();\n  }\n}\nDateAdapter.override = function(members) {\n  Object.assign(DateAdapter.prototype, members);\n};\nvar _adapters = {\n  _date: DateAdapter\n};\n\nfunction getAllScaleValues(scale, type) {\n  if (!scale._cache.$bar) {\n    const visibleMetas = scale.getMatchingVisibleMetas(type);\n    let values = [];\n    for (let i = 0, ilen = visibleMetas.length; i < ilen; i++) {\n      values = values.concat(visibleMetas[i].controller.getAllParsedValues(scale));\n    }\n    scale._cache.$bar = _arrayUnique(values.sort((a, b) => a - b));\n  }\n  return scale._cache.$bar;\n}\nfunction computeMinSampleSize(meta) {\n  const scale = meta.iScale;\n  const values = getAllScaleValues(scale, meta.type);\n  let min = scale._length;\n  let i, ilen, curr, prev;\n  const updateMinAndPrev = () => {\n    if (curr === 32767 || curr === -32768) {\n      return;\n    }\n    if (defined(prev)) {\n      min = Math.min(min, Math.abs(curr - prev) || min);\n    }\n    prev = curr;\n  };\n  for (i = 0, ilen = values.length; i < ilen; ++i) {\n    curr = scale.getPixelForValue(values[i]);\n    updateMinAndPrev();\n  }\n  prev = undefined;\n  for (i = 0, ilen = scale.ticks.length; i < ilen; ++i) {\n    curr = scale.getPixelForTick(i);\n    updateMinAndPrev();\n  }\n  return min;\n}\nfunction computeFitCategoryTraits(index, ruler, options, stackCount) {\n  const thickness = options.barThickness;\n  let size, ratio;\n  if (isNullOrUndef(thickness)) {\n    size = ruler.min * options.categoryPercentage;\n    ratio = options.barPercentage;\n  } else {\n    size = thickness * stackCount;\n    ratio = 1;\n  }\n  return {\n    chunk: size / stackCount,\n    ratio,\n    start: ruler.pixels[index] - (size / 2)\n  };\n}\nfunction computeFlexCategoryTraits(index, ruler, options, stackCount) {\n  const pixels = ruler.pixels;\n  const curr = pixels[index];\n  let prev = index > 0 ? pixels[index - 1] : null;\n  let next = index < pixels.length - 1 ? pixels[index + 1] : null;\n  const percent = options.categoryPercentage;\n  if (prev === null) {\n    prev = curr - (next === null ? ruler.end - ruler.start : next - curr);\n  }\n  if (next === null) {\n    next = curr + curr - prev;\n  }\n  const start = curr - (curr - Math.min(prev, next)) / 2 * percent;\n  const size = Math.abs(next - prev) / 2 * percent;\n  return {\n    chunk: size / stackCount,\n    ratio: options.barPercentage,\n    start\n  };\n}\nfunction parseFloatBar(entry, item, vScale, i) {\n  const startValue = vScale.parse(entry[0], i);\n  const endValue = vScale.parse(entry[1], i);\n  const min = Math.min(startValue, endValue);\n  const max = Math.max(startValue, endValue);\n  let barStart = min;\n  let barEnd = max;\n  if (Math.abs(min) > Math.abs(max)) {\n    barStart = max;\n    barEnd = min;\n  }\n  item[vScale.axis] = barEnd;\n  item._custom = {\n    barStart,\n    barEnd,\n    start: startValue,\n    end: endValue,\n    min,\n    max\n  };\n}\nfunction parseValue(entry, item, vScale, i) {\n  if (isArray(entry)) {\n    parseFloatBar(entry, item, vScale, i);\n  } else {\n    item[vScale.axis] = vScale.parse(entry, i);\n  }\n  return item;\n}\nfunction parseArrayOrPrimitive(meta, data, start, count) {\n  const iScale = meta.iScale;\n  const vScale = meta.vScale;\n  const labels = iScale.getLabels();\n  const singleScale = iScale === vScale;\n  const parsed = [];\n  let i, ilen, item, entry;\n  for (i = start, ilen = start + count; i < ilen; ++i) {\n    entry = data[i];\n    item = {};\n    item[iScale.axis] = singleScale || iScale.parse(labels[i], i);\n    parsed.push(parseValue(entry, item, vScale, i));\n  }\n  return parsed;\n}\nfunction isFloatBar(custom) {\n  return custom && custom.barStart !== undefined && custom.barEnd !== undefined;\n}\nfunction barSign(size, vScale, actualBase) {\n  if (size !== 0) {\n    return sign(size);\n  }\n  return (vScale.isHorizontal() ? 1 : -1) * (vScale.min >= actualBase ? 1 : -1);\n}\nfunction borderProps(properties) {\n  let reverse, start, end, top, bottom;\n  if (properties.horizontal) {\n    reverse = properties.base > properties.x;\n    start = 'left';\n    end = 'right';\n  } else {\n    reverse = properties.base < properties.y;\n    start = 'bottom';\n    end = 'top';\n  }\n  if (reverse) {\n    top = 'end';\n    bottom = 'start';\n  } else {\n    top = 'start';\n    bottom = 'end';\n  }\n  return {start, end, reverse, top, bottom};\n}\nfunction setBorderSkipped(properties, options, stack, index) {\n  let edge = options.borderSkipped;\n  const res = {};\n  if (!edge) {\n    properties.borderSkipped = res;\n    return;\n  }\n  if (edge === true) {\n    properties.borderSkipped = {top: true, right: true, bottom: true, left: true};\n    return;\n  }\n  const {start, end, reverse, top, bottom} = borderProps(properties);\n  if (edge === 'middle' && stack) {\n    properties.enableBorderRadius = true;\n    if ((stack._top || 0) === index) {\n      edge = top;\n    } else if ((stack._bottom || 0) === index) {\n      edge = bottom;\n    } else {\n      res[parseEdge(bottom, start, end, reverse)] = true;\n      edge = top;\n    }\n  }\n  res[parseEdge(edge, start, end, reverse)] = true;\n  properties.borderSkipped = res;\n}\nfunction parseEdge(edge, a, b, reverse) {\n  if (reverse) {\n    edge = swap(edge, a, b);\n    edge = startEnd(edge, b, a);\n  } else {\n    edge = startEnd(edge, a, b);\n  }\n  return edge;\n}\nfunction swap(orig, v1, v2) {\n  return orig === v1 ? v2 : orig === v2 ? v1 : orig;\n}\nfunction startEnd(v, start, end) {\n  return v === 'start' ? start : v === 'end' ? end : v;\n}\nfunction setInflateAmount(properties, {inflateAmount}, ratio) {\n  properties.inflateAmount = inflateAmount === 'auto'\n    ? ratio === 1 ? 0.33 : 0\n    : inflateAmount;\n}\nclass BarController extends DatasetController {\n  parsePrimitiveData(meta, data, start, count) {\n    return parseArrayOrPrimitive(meta, data, start, count);\n  }\n  parseArrayData(meta, data, start, count) {\n    return parseArrayOrPrimitive(meta, data, start, count);\n  }\n  parseObjectData(meta, data, start, count) {\n    const {iScale, vScale} = meta;\n    const {xAxisKey = 'x', yAxisKey = 'y'} = this._parsing;\n    const iAxisKey = iScale.axis === 'x' ? xAxisKey : yAxisKey;\n    const vAxisKey = vScale.axis === 'x' ? xAxisKey : yAxisKey;\n    const parsed = [];\n    let i, ilen, item, obj;\n    for (i = start, ilen = start + count; i < ilen; ++i) {\n      obj = data[i];\n      item = {};\n      item[iScale.axis] = iScale.parse(resolveObjectKey(obj, iAxisKey), i);\n      parsed.push(parseValue(resolveObjectKey(obj, vAxisKey), item, vScale, i));\n    }\n    return parsed;\n  }\n  updateRangeFromParsed(range, scale, parsed, stack) {\n    super.updateRangeFromParsed(range, scale, parsed, stack);\n    const custom = parsed._custom;\n    if (custom && scale === this._cachedMeta.vScale) {\n      range.min = Math.min(range.min, custom.min);\n      range.max = Math.max(range.max, custom.max);\n    }\n  }\n  getMaxOverflow() {\n    return 0;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const {iScale, vScale} = meta;\n    const parsed = this.getParsed(index);\n    const custom = parsed._custom;\n    const value = isFloatBar(custom)\n      ? '[' + custom.start + ', ' + custom.end + ']'\n      : '' + vScale.getLabelForValue(parsed[vScale.axis]);\n    return {\n      label: '' + iScale.getLabelForValue(parsed[iScale.axis]),\n      value\n    };\n  }\n  initialize() {\n    this.enableOptionSharing = true;\n    super.initialize();\n    const meta = this._cachedMeta;\n    meta.stack = this.getDataset().stack;\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    this.updateElements(meta.data, 0, meta.data.length, mode);\n  }\n  updateElements(bars, start, count, mode) {\n    const reset = mode === 'reset';\n    const {index, _cachedMeta: {vScale}} = this;\n    const base = vScale.getBasePixel();\n    const horizontal = vScale.isHorizontal();\n    const ruler = this._getRuler();\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    for (let i = start; i < start + count; i++) {\n      const parsed = this.getParsed(i);\n      const vpixels = reset || isNullOrUndef(parsed[vScale.axis]) ? {base, head: base} : this._calculateBarValuePixels(i);\n      const ipixels = this._calculateBarIndexPixels(i, ruler);\n      const stack = (parsed._stacks || {})[vScale.axis];\n      const properties = {\n        horizontal,\n        base: vpixels.base,\n        enableBorderRadius: !stack || isFloatBar(parsed._custom) || (index === stack._top || index === stack._bottom),\n        x: horizontal ? vpixels.head : ipixels.center,\n        y: horizontal ? ipixels.center : vpixels.head,\n        height: horizontal ? ipixels.size : Math.abs(vpixels.size),\n        width: horizontal ? Math.abs(vpixels.size) : ipixels.size\n      };\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, bars[i].active ? 'active' : mode);\n      }\n      const options = properties.options || bars[i].options;\n      setBorderSkipped(properties, options, stack, index);\n      setInflateAmount(properties, options, ruler.ratio);\n      this.updateElement(bars[i], i, properties, mode);\n    }\n  }\n  _getStacks(last, dataIndex) {\n    const {iScale} = this._cachedMeta;\n    const metasets = iScale.getMatchingVisibleMetas(this._type)\n      .filter(meta => meta.controller.options.grouped);\n    const stacked = iScale.options.stacked;\n    const stacks = [];\n    const skipNull = (meta) => {\n      const parsed = meta.controller.getParsed(dataIndex);\n      const val = parsed && parsed[meta.vScale.axis];\n      if (isNullOrUndef(val) || isNaN(val)) {\n        return true;\n      }\n    };\n    for (const meta of metasets) {\n      if (dataIndex !== undefined && skipNull(meta)) {\n        continue;\n      }\n      if (stacked === false || stacks.indexOf(meta.stack) === -1 ||\n\t\t\t\t(stacked === undefined && meta.stack === undefined)) {\n        stacks.push(meta.stack);\n      }\n      if (meta.index === last) {\n        break;\n      }\n    }\n    if (!stacks.length) {\n      stacks.push(undefined);\n    }\n    return stacks;\n  }\n  _getStackCount(index) {\n    return this._getStacks(undefined, index).length;\n  }\n  _getStackIndex(datasetIndex, name, dataIndex) {\n    const stacks = this._getStacks(datasetIndex, dataIndex);\n    const index = (name !== undefined)\n      ? stacks.indexOf(name)\n      : -1;\n    return (index === -1)\n      ? stacks.length - 1\n      : index;\n  }\n  _getRuler() {\n    const opts = this.options;\n    const meta = this._cachedMeta;\n    const iScale = meta.iScale;\n    const pixels = [];\n    let i, ilen;\n    for (i = 0, ilen = meta.data.length; i < ilen; ++i) {\n      pixels.push(iScale.getPixelForValue(this.getParsed(i)[iScale.axis], i));\n    }\n    const barThickness = opts.barThickness;\n    const min = barThickness || computeMinSampleSize(meta);\n    return {\n      min,\n      pixels,\n      start: iScale._startPixel,\n      end: iScale._endPixel,\n      stackCount: this._getStackCount(),\n      scale: iScale,\n      grouped: opts.grouped,\n      ratio: barThickness ? 1 : opts.categoryPercentage * opts.barPercentage\n    };\n  }\n  _calculateBarValuePixels(index) {\n    const {_cachedMeta: {vScale, _stacked}, options: {base: baseValue, minBarLength}} = this;\n    const actualBase = baseValue || 0;\n    const parsed = this.getParsed(index);\n    const custom = parsed._custom;\n    const floating = isFloatBar(custom);\n    let value = parsed[vScale.axis];\n    let start = 0;\n    let length = _stacked ? this.applyStack(vScale, parsed, _stacked) : value;\n    let head, size;\n    if (length !== value) {\n      start = length - value;\n      length = value;\n    }\n    if (floating) {\n      value = custom.barStart;\n      length = custom.barEnd - custom.barStart;\n      if (value !== 0 && sign(value) !== sign(custom.barEnd)) {\n        start = 0;\n      }\n      start += value;\n    }\n    const startValue = !isNullOrUndef(baseValue) && !floating ? baseValue : start;\n    let base = vScale.getPixelForValue(startValue);\n    if (this.chart.getDataVisibility(index)) {\n      head = vScale.getPixelForValue(start + length);\n    } else {\n      head = base;\n    }\n    size = head - base;\n    if (Math.abs(size) < minBarLength) {\n      size = barSign(size, vScale, actualBase) * minBarLength;\n      if (value === actualBase) {\n        base -= size / 2;\n      }\n      const startPixel = vScale.getPixelForDecimal(0);\n      const endPixel = vScale.getPixelForDecimal(1);\n      const min = Math.min(startPixel, endPixel);\n      const max = Math.max(startPixel, endPixel);\n      base = Math.max(Math.min(base, max), min);\n      head = base + size;\n    }\n    if (base === vScale.getPixelForValue(actualBase)) {\n      const halfGrid = sign(size) * vScale.getLineWidthForValue(actualBase) / 2;\n      base += halfGrid;\n      size -= halfGrid;\n    }\n    return {\n      size,\n      base,\n      head,\n      center: head + size / 2\n    };\n  }\n  _calculateBarIndexPixels(index, ruler) {\n    const scale = ruler.scale;\n    const options = this.options;\n    const skipNull = options.skipNull;\n    const maxBarThickness = valueOrDefault(options.maxBarThickness, Infinity);\n    let center, size;\n    if (ruler.grouped) {\n      const stackCount = skipNull ? this._getStackCount(index) : ruler.stackCount;\n      const range = options.barThickness === 'flex'\n        ? computeFlexCategoryTraits(index, ruler, options, stackCount)\n        : computeFitCategoryTraits(index, ruler, options, stackCount);\n      const stackIndex = this._getStackIndex(this.index, this._cachedMeta.stack, skipNull ? index : undefined);\n      center = range.start + (range.chunk * stackIndex) + (range.chunk / 2);\n      size = Math.min(maxBarThickness, range.chunk * range.ratio);\n    } else {\n      center = scale.getPixelForValue(this.getParsed(index)[scale.axis], index);\n      size = Math.min(maxBarThickness, ruler.min * ruler.ratio);\n    }\n    return {\n      base: center - size / 2,\n      head: center + size / 2,\n      center,\n      size\n    };\n  }\n  draw() {\n    const meta = this._cachedMeta;\n    const vScale = meta.vScale;\n    const rects = meta.data;\n    const ilen = rects.length;\n    let i = 0;\n    for (; i < ilen; ++i) {\n      if (this.getParsed(i)[vScale.axis] !== null) {\n        rects[i].draw(this._ctx);\n      }\n    }\n  }\n}\nBarController.id = 'bar';\nBarController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'bar',\n  categoryPercentage: 0.8,\n  barPercentage: 0.9,\n  grouped: true,\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'base', 'width', 'height']\n    }\n  }\n};\nBarController.overrides = {\n  scales: {\n    _index_: {\n      type: 'category',\n      offset: true,\n      grid: {\n        offset: true\n      }\n    },\n    _value_: {\n      type: 'linear',\n      beginAtZero: true,\n    }\n  }\n};\n\nclass BubbleController extends DatasetController {\n  initialize() {\n    this.enableOptionSharing = true;\n    super.initialize();\n  }\n  parsePrimitiveData(meta, data, start, count) {\n    const parsed = super.parsePrimitiveData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      parsed[i]._custom = this.resolveDataElementOptions(i + start).radius;\n    }\n    return parsed;\n  }\n  parseArrayData(meta, data, start, count) {\n    const parsed = super.parseArrayData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      const item = data[start + i];\n      parsed[i]._custom = valueOrDefault(item[2], this.resolveDataElementOptions(i + start).radius);\n    }\n    return parsed;\n  }\n  parseObjectData(meta, data, start, count) {\n    const parsed = super.parseObjectData(meta, data, start, count);\n    for (let i = 0; i < parsed.length; i++) {\n      const item = data[start + i];\n      parsed[i]._custom = valueOrDefault(item && item.r && +item.r, this.resolveDataElementOptions(i + start).radius);\n    }\n    return parsed;\n  }\n  getMaxOverflow() {\n    const data = this._cachedMeta.data;\n    let max = 0;\n    for (let i = data.length - 1; i >= 0; --i) {\n      max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2);\n    }\n    return max > 0 && max;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const {xScale, yScale} = meta;\n    const parsed = this.getParsed(index);\n    const x = xScale.getLabelForValue(parsed.x);\n    const y = yScale.getLabelForValue(parsed.y);\n    const r = parsed._custom;\n    return {\n      label: meta.label,\n      value: '(' + x + ', ' + y + (r ? ', ' + r : '') + ')'\n    };\n  }\n  update(mode) {\n    const points = this._cachedMeta.data;\n    this.updateElements(points, 0, points.length, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale} = this._cachedMeta;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    for (let i = start; i < start + count; i++) {\n      const point = points[i];\n      const parsed = !reset && this.getParsed(i);\n      const properties = {};\n      const iPixel = properties[iAxis] = reset ? iScale.getPixelForDecimal(0.5) : iScale.getPixelForValue(parsed[iAxis]);\n      const vPixel = properties[vAxis] = reset ? vScale.getBasePixel() : vScale.getPixelForValue(parsed[vAxis]);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel);\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n        if (reset) {\n          properties.options.radius = 0;\n        }\n      }\n      this.updateElement(point, i, properties, mode);\n    }\n  }\n  resolveDataElementOptions(index, mode) {\n    const parsed = this.getParsed(index);\n    let values = super.resolveDataElementOptions(index, mode);\n    if (values.$shared) {\n      values = Object.assign({}, values, {$shared: false});\n    }\n    const radius = values.radius;\n    if (mode !== 'active') {\n      values.radius = 0;\n    }\n    values.radius += valueOrDefault(parsed && parsed._custom, radius);\n    return values;\n  }\n}\nBubbleController.id = 'bubble';\nBubbleController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'point',\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'borderWidth', 'radius']\n    }\n  }\n};\nBubbleController.overrides = {\n  scales: {\n    x: {\n      type: 'linear'\n    },\n    y: {\n      type: 'linear'\n    }\n  },\n  plugins: {\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        }\n      }\n    }\n  }\n};\n\nfunction getRatioAndOffset(rotation, circumference, cutout) {\n  let ratioX = 1;\n  let ratioY = 1;\n  let offsetX = 0;\n  let offsetY = 0;\n  if (circumference < TAU) {\n    const startAngle = rotation;\n    const endAngle = startAngle + circumference;\n    const startX = Math.cos(startAngle);\n    const startY = Math.sin(startAngle);\n    const endX = Math.cos(endAngle);\n    const endY = Math.sin(endAngle);\n    const calcMax = (angle, a, b) => _angleBetween(angle, startAngle, endAngle, true) ? 1 : Math.max(a, a * cutout, b, b * cutout);\n    const calcMin = (angle, a, b) => _angleBetween(angle, startAngle, endAngle, true) ? -1 : Math.min(a, a * cutout, b, b * cutout);\n    const maxX = calcMax(0, startX, endX);\n    const maxY = calcMax(HALF_PI, startY, endY);\n    const minX = calcMin(PI, startX, endX);\n    const minY = calcMin(PI + HALF_PI, startY, endY);\n    ratioX = (maxX - minX) / 2;\n    ratioY = (maxY - minY) / 2;\n    offsetX = -(maxX + minX) / 2;\n    offsetY = -(maxY + minY) / 2;\n  }\n  return {ratioX, ratioY, offsetX, offsetY};\n}\nclass DoughnutController extends DatasetController {\n  constructor(chart, datasetIndex) {\n    super(chart, datasetIndex);\n    this.enableOptionSharing = true;\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n    this.offsetX = undefined;\n    this.offsetY = undefined;\n  }\n  linkScales() {}\n  parse(start, count) {\n    const data = this.getDataset().data;\n    const meta = this._cachedMeta;\n    if (this._parsing === false) {\n      meta._parsed = data;\n    } else {\n      let getter = (i) => +data[i];\n      if (isObject(data[start])) {\n        const {key = 'value'} = this._parsing;\n        getter = (i) => +resolveObjectKey(data[i], key);\n      }\n      let i, ilen;\n      for (i = start, ilen = start + count; i < ilen; ++i) {\n        meta._parsed[i] = getter(i);\n      }\n    }\n  }\n  _getRotation() {\n    return toRadians(this.options.rotation - 90);\n  }\n  _getCircumference() {\n    return toRadians(this.options.circumference);\n  }\n  _getRotationExtents() {\n    let min = TAU;\n    let max = -TAU;\n    for (let i = 0; i < this.chart.data.datasets.length; ++i) {\n      if (this.chart.isDatasetVisible(i)) {\n        const controller = this.chart.getDatasetMeta(i).controller;\n        const rotation = controller._getRotation();\n        const circumference = controller._getCircumference();\n        min = Math.min(min, rotation);\n        max = Math.max(max, rotation + circumference);\n      }\n    }\n    return {\n      rotation: min,\n      circumference: max - min,\n    };\n  }\n  update(mode) {\n    const chart = this.chart;\n    const {chartArea} = chart;\n    const meta = this._cachedMeta;\n    const arcs = meta.data;\n    const spacing = this.getMaxBorderWidth() + this.getMaxOffset(arcs) + this.options.spacing;\n    const maxSize = Math.max((Math.min(chartArea.width, chartArea.height) - spacing) / 2, 0);\n    const cutout = Math.min(toPercentage(this.options.cutout, maxSize), 1);\n    const chartWeight = this._getRingWeight(this.index);\n    const {circumference, rotation} = this._getRotationExtents();\n    const {ratioX, ratioY, offsetX, offsetY} = getRatioAndOffset(rotation, circumference, cutout);\n    const maxWidth = (chartArea.width - spacing) / ratioX;\n    const maxHeight = (chartArea.height - spacing) / ratioY;\n    const maxRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\n    const outerRadius = toDimension(this.options.radius, maxRadius);\n    const innerRadius = Math.max(outerRadius * cutout, 0);\n    const radiusLength = (outerRadius - innerRadius) / this._getVisibleDatasetWeightTotal();\n    this.offsetX = offsetX * outerRadius;\n    this.offsetY = offsetY * outerRadius;\n    meta.total = this.calculateTotal();\n    this.outerRadius = outerRadius - radiusLength * this._getRingWeightOffset(this.index);\n    this.innerRadius = Math.max(this.outerRadius - radiusLength * chartWeight, 0);\n    this.updateElements(arcs, 0, arcs.length, mode);\n  }\n  _circumference(i, reset) {\n    const opts = this.options;\n    const meta = this._cachedMeta;\n    const circumference = this._getCircumference();\n    if ((reset && opts.animation.animateRotate) || !this.chart.getDataVisibility(i) || meta._parsed[i] === null || meta.data[i].hidden) {\n      return 0;\n    }\n    return this.calculateCircumference(meta._parsed[i] * circumference / TAU);\n  }\n  updateElements(arcs, start, count, mode) {\n    const reset = mode === 'reset';\n    const chart = this.chart;\n    const chartArea = chart.chartArea;\n    const opts = chart.options;\n    const animationOpts = opts.animation;\n    const centerX = (chartArea.left + chartArea.right) / 2;\n    const centerY = (chartArea.top + chartArea.bottom) / 2;\n    const animateScale = reset && animationOpts.animateScale;\n    const innerRadius = animateScale ? 0 : this.innerRadius;\n    const outerRadius = animateScale ? 0 : this.outerRadius;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    let startAngle = this._getRotation();\n    let i;\n    for (i = 0; i < start; ++i) {\n      startAngle += this._circumference(i, reset);\n    }\n    for (i = start; i < start + count; ++i) {\n      const circumference = this._circumference(i, reset);\n      const arc = arcs[i];\n      const properties = {\n        x: centerX + this.offsetX,\n        y: centerY + this.offsetY,\n        startAngle,\n        endAngle: startAngle + circumference,\n        circumference,\n        outerRadius,\n        innerRadius\n      };\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, arc.active ? 'active' : mode);\n      }\n      startAngle += circumference;\n      this.updateElement(arc, i, properties, mode);\n    }\n  }\n  calculateTotal() {\n    const meta = this._cachedMeta;\n    const metaData = meta.data;\n    let total = 0;\n    let i;\n    for (i = 0; i < metaData.length; i++) {\n      const value = meta._parsed[i];\n      if (value !== null && !isNaN(value) && this.chart.getDataVisibility(i) && !metaData[i].hidden) {\n        total += Math.abs(value);\n      }\n    }\n    return total;\n  }\n  calculateCircumference(value) {\n    const total = this._cachedMeta.total;\n    if (total > 0 && !isNaN(value)) {\n      return TAU * (Math.abs(value) / total);\n    }\n    return 0;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const chart = this.chart;\n    const labels = chart.data.labels || [];\n    const value = formatNumber(meta._parsed[index], chart.options.locale);\n    return {\n      label: labels[index] || '',\n      value,\n    };\n  }\n  getMaxBorderWidth(arcs) {\n    let max = 0;\n    const chart = this.chart;\n    let i, ilen, meta, controller, options;\n    if (!arcs) {\n      for (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\n        if (chart.isDatasetVisible(i)) {\n          meta = chart.getDatasetMeta(i);\n          arcs = meta.data;\n          controller = meta.controller;\n          break;\n        }\n      }\n    }\n    if (!arcs) {\n      return 0;\n    }\n    for (i = 0, ilen = arcs.length; i < ilen; ++i) {\n      options = controller.resolveDataElementOptions(i);\n      if (options.borderAlign !== 'inner') {\n        max = Math.max(max, options.borderWidth || 0, options.hoverBorderWidth || 0);\n      }\n    }\n    return max;\n  }\n  getMaxOffset(arcs) {\n    let max = 0;\n    for (let i = 0, ilen = arcs.length; i < ilen; ++i) {\n      const options = this.resolveDataElementOptions(i);\n      max = Math.max(max, options.offset || 0, options.hoverOffset || 0);\n    }\n    return max;\n  }\n  _getRingWeightOffset(datasetIndex) {\n    let ringWeightOffset = 0;\n    for (let i = 0; i < datasetIndex; ++i) {\n      if (this.chart.isDatasetVisible(i)) {\n        ringWeightOffset += this._getRingWeight(i);\n      }\n    }\n    return ringWeightOffset;\n  }\n  _getRingWeight(datasetIndex) {\n    return Math.max(valueOrDefault(this.chart.data.datasets[datasetIndex].weight, 1), 0);\n  }\n  _getVisibleDatasetWeightTotal() {\n    return this._getRingWeightOffset(this.chart.data.datasets.length) || 1;\n  }\n}\nDoughnutController.id = 'doughnut';\nDoughnutController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'arc',\n  animation: {\n    animateRotate: true,\n    animateScale: false\n  },\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['circumference', 'endAngle', 'innerRadius', 'outerRadius', 'startAngle', 'x', 'y', 'offset', 'borderWidth', 'spacing']\n    },\n  },\n  cutout: '50%',\n  rotation: 0,\n  circumference: 360,\n  radius: '100%',\n  spacing: 0,\n  indexAxis: 'r',\n};\nDoughnutController.descriptors = {\n  _scriptable: (name) => name !== 'spacing',\n  _indexable: (name) => name !== 'spacing',\n};\nDoughnutController.overrides = {\n  aspectRatio: 1,\n  plugins: {\n    legend: {\n      labels: {\n        generateLabels(chart) {\n          const data = chart.data;\n          if (data.labels.length && data.datasets.length) {\n            const {labels: {pointStyle}} = chart.legend.options;\n            return data.labels.map((label, i) => {\n              const meta = chart.getDatasetMeta(0);\n              const style = meta.controller.getStyle(i);\n              return {\n                text: label,\n                fillStyle: style.backgroundColor,\n                strokeStyle: style.borderColor,\n                lineWidth: style.borderWidth,\n                pointStyle: pointStyle,\n                hidden: !chart.getDataVisibility(i),\n                index: i\n              };\n            });\n          }\n          return [];\n        }\n      },\n      onClick(e, legendItem, legend) {\n        legend.chart.toggleDataVisibility(legendItem.index);\n        legend.chart.update();\n      }\n    },\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(tooltipItem) {\n          let dataLabel = tooltipItem.label;\n          const value = ': ' + tooltipItem.formattedValue;\n          if (isArray(dataLabel)) {\n            dataLabel = dataLabel.slice();\n            dataLabel[0] += value;\n          } else {\n            dataLabel += value;\n          }\n          return dataLabel;\n        }\n      }\n    }\n  }\n};\n\nclass LineController extends DatasetController {\n  initialize() {\n    this.enableOptionSharing = true;\n    this.supportsDecimation = true;\n    super.initialize();\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    const {dataset: line, data: points = [], _dataset} = meta;\n    const animationsDisabled = this.chart._animationsDisabled;\n    let {start, count} = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled);\n    this._drawStart = start;\n    this._drawCount = count;\n    if (_scaleRangesChanged(meta)) {\n      start = 0;\n      count = points.length;\n    }\n    line._chart = this.chart;\n    line._datasetIndex = this.index;\n    line._decimated = !!_dataset._decimated;\n    line.points = points;\n    const options = this.resolveDatasetElementOptions(mode);\n    if (!this.options.showLine) {\n      options.borderWidth = 0;\n    }\n    options.segment = this.options.segment;\n    this.updateElement(line, undefined, {\n      animated: !animationsDisabled,\n      options\n    }, mode);\n    this.updateElements(points, start, count, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale, _stacked, _dataset} = this._cachedMeta;\n    const {sharedOptions, includeOptions} = this._getSharedOptions(start, mode);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const {spanGaps, segment} = this.options;\n    const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;\n    const directUpdate = this.chart._animationsDisabled || reset || mode === 'none';\n    let prevParsed = start > 0 && this.getParsed(start - 1);\n    for (let i = start; i < start + count; ++i) {\n      const point = points[i];\n      const parsed = this.getParsed(i);\n      const properties = directUpdate ? point : {};\n      const nullData = isNullOrUndef(parsed[vAxis]);\n      const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i);\n      const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData;\n      properties.stop = i > 0 && (Math.abs(parsed[iAxis] - prevParsed[iAxis])) > maxGapLength;\n      if (segment) {\n        properties.parsed = parsed;\n        properties.raw = _dataset.data[i];\n      }\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      }\n      if (!directUpdate) {\n        this.updateElement(point, i, properties, mode);\n      }\n      prevParsed = parsed;\n    }\n  }\n  getMaxOverflow() {\n    const meta = this._cachedMeta;\n    const dataset = meta.dataset;\n    const border = dataset.options && dataset.options.borderWidth || 0;\n    const data = meta.data || [];\n    if (!data.length) {\n      return border;\n    }\n    const firstPoint = data[0].size(this.resolveDataElementOptions(0));\n    const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1));\n    return Math.max(border, firstPoint, lastPoint) / 2;\n  }\n  draw() {\n    const meta = this._cachedMeta;\n    meta.dataset.updateControlPoints(this.chart.chartArea, meta.iScale.axis);\n    super.draw();\n  }\n}\nLineController.id = 'line';\nLineController.defaults = {\n  datasetElementType: 'line',\n  dataElementType: 'point',\n  showLine: true,\n  spanGaps: false,\n};\nLineController.overrides = {\n  scales: {\n    _index_: {\n      type: 'category',\n    },\n    _value_: {\n      type: 'linear',\n    },\n  }\n};\n\nclass PolarAreaController extends DatasetController {\n  constructor(chart, datasetIndex) {\n    super(chart, datasetIndex);\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n  }\n  getLabelAndValue(index) {\n    const meta = this._cachedMeta;\n    const chart = this.chart;\n    const labels = chart.data.labels || [];\n    const value = formatNumber(meta._parsed[index].r, chart.options.locale);\n    return {\n      label: labels[index] || '',\n      value,\n    };\n  }\n  parseObjectData(meta, data, start, count) {\n    return _parseObjectDataRadialScale.bind(this)(meta, data, start, count);\n  }\n  update(mode) {\n    const arcs = this._cachedMeta.data;\n    this._updateRadius();\n    this.updateElements(arcs, 0, arcs.length, mode);\n  }\n  getMinMax() {\n    const meta = this._cachedMeta;\n    const range = {min: Number.POSITIVE_INFINITY, max: Number.NEGATIVE_INFINITY};\n    meta.data.forEach((element, index) => {\n      const parsed = this.getParsed(index).r;\n      if (!isNaN(parsed) && this.chart.getDataVisibility(index)) {\n        if (parsed < range.min) {\n          range.min = parsed;\n        }\n        if (parsed > range.max) {\n          range.max = parsed;\n        }\n      }\n    });\n    return range;\n  }\n  _updateRadius() {\n    const chart = this.chart;\n    const chartArea = chart.chartArea;\n    const opts = chart.options;\n    const minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\n    const outerRadius = Math.max(minSize / 2, 0);\n    const innerRadius = Math.max(opts.cutoutPercentage ? (outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\n    const radiusLength = (outerRadius - innerRadius) / chart.getVisibleDatasetCount();\n    this.outerRadius = outerRadius - (radiusLength * this.index);\n    this.innerRadius = this.outerRadius - radiusLength;\n  }\n  updateElements(arcs, start, count, mode) {\n    const reset = mode === 'reset';\n    const chart = this.chart;\n    const opts = chart.options;\n    const animationOpts = opts.animation;\n    const scale = this._cachedMeta.rScale;\n    const centerX = scale.xCenter;\n    const centerY = scale.yCenter;\n    const datasetStartAngle = scale.getIndexAngle(0) - 0.5 * PI;\n    let angle = datasetStartAngle;\n    let i;\n    const defaultAngle = 360 / this.countVisibleElements();\n    for (i = 0; i < start; ++i) {\n      angle += this._computeAngle(i, mode, defaultAngle);\n    }\n    for (i = start; i < start + count; i++) {\n      const arc = arcs[i];\n      let startAngle = angle;\n      let endAngle = angle + this._computeAngle(i, mode, defaultAngle);\n      let outerRadius = chart.getDataVisibility(i) ? scale.getDistanceFromCenterForValue(this.getParsed(i).r) : 0;\n      angle = endAngle;\n      if (reset) {\n        if (animationOpts.animateScale) {\n          outerRadius = 0;\n        }\n        if (animationOpts.animateRotate) {\n          startAngle = endAngle = datasetStartAngle;\n        }\n      }\n      const properties = {\n        x: centerX,\n        y: centerY,\n        innerRadius: 0,\n        outerRadius,\n        startAngle,\n        endAngle,\n        options: this.resolveDataElementOptions(i, arc.active ? 'active' : mode)\n      };\n      this.updateElement(arc, i, properties, mode);\n    }\n  }\n  countVisibleElements() {\n    const meta = this._cachedMeta;\n    let count = 0;\n    meta.data.forEach((element, index) => {\n      if (!isNaN(this.getParsed(index).r) && this.chart.getDataVisibility(index)) {\n        count++;\n      }\n    });\n    return count;\n  }\n  _computeAngle(index, mode, defaultAngle) {\n    return this.chart.getDataVisibility(index)\n      ? toRadians(this.resolveDataElementOptions(index, mode).angle || defaultAngle)\n      : 0;\n  }\n}\nPolarAreaController.id = 'polarArea';\nPolarAreaController.defaults = {\n  dataElementType: 'arc',\n  animation: {\n    animateRotate: true,\n    animateScale: true\n  },\n  animations: {\n    numbers: {\n      type: 'number',\n      properties: ['x', 'y', 'startAngle', 'endAngle', 'innerRadius', 'outerRadius']\n    },\n  },\n  indexAxis: 'r',\n  startAngle: 0,\n};\nPolarAreaController.overrides = {\n  aspectRatio: 1,\n  plugins: {\n    legend: {\n      labels: {\n        generateLabels(chart) {\n          const data = chart.data;\n          if (data.labels.length && data.datasets.length) {\n            const {labels: {pointStyle}} = chart.legend.options;\n            return data.labels.map((label, i) => {\n              const meta = chart.getDatasetMeta(0);\n              const style = meta.controller.getStyle(i);\n              return {\n                text: label,\n                fillStyle: style.backgroundColor,\n                strokeStyle: style.borderColor,\n                lineWidth: style.borderWidth,\n                pointStyle: pointStyle,\n                hidden: !chart.getDataVisibility(i),\n                index: i\n              };\n            });\n          }\n          return [];\n        }\n      },\n      onClick(e, legendItem, legend) {\n        legend.chart.toggleDataVisibility(legendItem.index);\n        legend.chart.update();\n      }\n    },\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(context) {\n          return context.chart.data.labels[context.dataIndex] + ': ' + context.formattedValue;\n        }\n      }\n    }\n  },\n  scales: {\n    r: {\n      type: 'radialLinear',\n      angleLines: {\n        display: false\n      },\n      beginAtZero: true,\n      grid: {\n        circular: true\n      },\n      pointLabels: {\n        display: false\n      },\n      startAngle: 0\n    }\n  }\n};\n\nclass PieController extends DoughnutController {\n}\nPieController.id = 'pie';\nPieController.defaults = {\n  cutout: 0,\n  rotation: 0,\n  circumference: 360,\n  radius: '100%'\n};\n\nclass RadarController extends DatasetController {\n  getLabelAndValue(index) {\n    const vScale = this._cachedMeta.vScale;\n    const parsed = this.getParsed(index);\n    return {\n      label: vScale.getLabels()[index],\n      value: '' + vScale.getLabelForValue(parsed[vScale.axis])\n    };\n  }\n  parseObjectData(meta, data, start, count) {\n    return _parseObjectDataRadialScale.bind(this)(meta, data, start, count);\n  }\n  update(mode) {\n    const meta = this._cachedMeta;\n    const line = meta.dataset;\n    const points = meta.data || [];\n    const labels = meta.iScale.getLabels();\n    line.points = points;\n    if (mode !== 'resize') {\n      const options = this.resolveDatasetElementOptions(mode);\n      if (!this.options.showLine) {\n        options.borderWidth = 0;\n      }\n      const properties = {\n        _loop: true,\n        _fullLoop: labels.length === points.length,\n        options\n      };\n      this.updateElement(line, undefined, properties, mode);\n    }\n    this.updateElements(points, 0, points.length, mode);\n  }\n  updateElements(points, start, count, mode) {\n    const scale = this._cachedMeta.rScale;\n    const reset = mode === 'reset';\n    for (let i = start; i < start + count; i++) {\n      const point = points[i];\n      const options = this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      const pointPosition = scale.getPointPositionForValue(i, this.getParsed(i).r);\n      const x = reset ? scale.xCenter : pointPosition.x;\n      const y = reset ? scale.yCenter : pointPosition.y;\n      const properties = {\n        x,\n        y,\n        angle: pointPosition.angle,\n        skip: isNaN(x) || isNaN(y),\n        options\n      };\n      this.updateElement(point, i, properties, mode);\n    }\n  }\n}\nRadarController.id = 'radar';\nRadarController.defaults = {\n  datasetElementType: 'line',\n  dataElementType: 'point',\n  indexAxis: 'r',\n  showLine: true,\n  elements: {\n    line: {\n      fill: 'start'\n    }\n  },\n};\nRadarController.overrides = {\n  aspectRatio: 1,\n  scales: {\n    r: {\n      type: 'radialLinear',\n    }\n  }\n};\n\nclass ScatterController extends DatasetController {\n  update(mode) {\n    const meta = this._cachedMeta;\n    const {data: points = []} = meta;\n    const animationsDisabled = this.chart._animationsDisabled;\n    let {start, count} = _getStartAndCountOfVisiblePoints(meta, points, animationsDisabled);\n    this._drawStart = start;\n    this._drawCount = count;\n    if (_scaleRangesChanged(meta)) {\n      start = 0;\n      count = points.length;\n    }\n    if (this.options.showLine) {\n      const {dataset: line, _dataset} = meta;\n      line._chart = this.chart;\n      line._datasetIndex = this.index;\n      line._decimated = !!_dataset._decimated;\n      line.points = points;\n      const options = this.resolveDatasetElementOptions(mode);\n      options.segment = this.options.segment;\n      this.updateElement(line, undefined, {\n        animated: !animationsDisabled,\n        options\n      }, mode);\n    }\n    this.updateElements(points, start, count, mode);\n  }\n  addElements() {\n    const {showLine} = this.options;\n    if (!this.datasetElementType && showLine) {\n      this.datasetElementType = registry.getElement('line');\n    }\n    super.addElements();\n  }\n  updateElements(points, start, count, mode) {\n    const reset = mode === 'reset';\n    const {iScale, vScale, _stacked, _dataset} = this._cachedMeta;\n    const firstOpts = this.resolveDataElementOptions(start, mode);\n    const sharedOptions = this.getSharedOptions(firstOpts);\n    const includeOptions = this.includeOptions(mode, sharedOptions);\n    const iAxis = iScale.axis;\n    const vAxis = vScale.axis;\n    const {spanGaps, segment} = this.options;\n    const maxGapLength = isNumber(spanGaps) ? spanGaps : Number.POSITIVE_INFINITY;\n    const directUpdate = this.chart._animationsDisabled || reset || mode === 'none';\n    let prevParsed = start > 0 && this.getParsed(start - 1);\n    for (let i = start; i < start + count; ++i) {\n      const point = points[i];\n      const parsed = this.getParsed(i);\n      const properties = directUpdate ? point : {};\n      const nullData = isNullOrUndef(parsed[vAxis]);\n      const iPixel = properties[iAxis] = iScale.getPixelForValue(parsed[iAxis], i);\n      const vPixel = properties[vAxis] = reset || nullData ? vScale.getBasePixel() : vScale.getPixelForValue(_stacked ? this.applyStack(vScale, parsed, _stacked) : parsed[vAxis], i);\n      properties.skip = isNaN(iPixel) || isNaN(vPixel) || nullData;\n      properties.stop = i > 0 && (Math.abs(parsed[iAxis] - prevParsed[iAxis])) > maxGapLength;\n      if (segment) {\n        properties.parsed = parsed;\n        properties.raw = _dataset.data[i];\n      }\n      if (includeOptions) {\n        properties.options = sharedOptions || this.resolveDataElementOptions(i, point.active ? 'active' : mode);\n      }\n      if (!directUpdate) {\n        this.updateElement(point, i, properties, mode);\n      }\n      prevParsed = parsed;\n    }\n    this.updateSharedOptions(sharedOptions, mode, firstOpts);\n  }\n  getMaxOverflow() {\n    const meta = this._cachedMeta;\n    const data = meta.data || [];\n    if (!this.options.showLine) {\n      let max = 0;\n      for (let i = data.length - 1; i >= 0; --i) {\n        max = Math.max(max, data[i].size(this.resolveDataElementOptions(i)) / 2);\n      }\n      return max > 0 && max;\n    }\n    const dataset = meta.dataset;\n    const border = dataset.options && dataset.options.borderWidth || 0;\n    if (!data.length) {\n      return border;\n    }\n    const firstPoint = data[0].size(this.resolveDataElementOptions(0));\n    const lastPoint = data[data.length - 1].size(this.resolveDataElementOptions(data.length - 1));\n    return Math.max(border, firstPoint, lastPoint) / 2;\n  }\n}\nScatterController.id = 'scatter';\nScatterController.defaults = {\n  datasetElementType: false,\n  dataElementType: 'point',\n  showLine: false,\n  fill: false\n};\nScatterController.overrides = {\n  interaction: {\n    mode: 'point'\n  },\n  plugins: {\n    tooltip: {\n      callbacks: {\n        title() {\n          return '';\n        },\n        label(item) {\n          return '(' + item.label + ', ' + item.formattedValue + ')';\n        }\n      }\n    }\n  },\n  scales: {\n    x: {\n      type: 'linear'\n    },\n    y: {\n      type: 'linear'\n    }\n  }\n};\n\nvar controllers = /*#__PURE__*/Object.freeze({\n__proto__: null,\nBarController: BarController,\nBubbleController: BubbleController,\nDoughnutController: DoughnutController,\nLineController: LineController,\nPolarAreaController: PolarAreaController,\nPieController: PieController,\nRadarController: RadarController,\nScatterController: ScatterController\n});\n\nfunction clipArc(ctx, element, endAngle) {\n  const {startAngle, pixelMargin, x, y, outerRadius, innerRadius} = element;\n  let angleMargin = pixelMargin / outerRadius;\n  ctx.beginPath();\n  ctx.arc(x, y, outerRadius, startAngle - angleMargin, endAngle + angleMargin);\n  if (innerRadius > pixelMargin) {\n    angleMargin = pixelMargin / innerRadius;\n    ctx.arc(x, y, innerRadius, endAngle + angleMargin, startAngle - angleMargin, true);\n  } else {\n    ctx.arc(x, y, pixelMargin, endAngle + HALF_PI, startAngle - HALF_PI);\n  }\n  ctx.closePath();\n  ctx.clip();\n}\nfunction toRadiusCorners(value) {\n  return _readValueToProps(value, ['outerStart', 'outerEnd', 'innerStart', 'innerEnd']);\n}\nfunction parseBorderRadius$1(arc, innerRadius, outerRadius, angleDelta) {\n  const o = toRadiusCorners(arc.options.borderRadius);\n  const halfThickness = (outerRadius - innerRadius) / 2;\n  const innerLimit = Math.min(halfThickness, angleDelta * innerRadius / 2);\n  const computeOuterLimit = (val) => {\n    const outerArcLimit = (outerRadius - Math.min(halfThickness, val)) * angleDelta / 2;\n    return _limitValue(val, 0, Math.min(halfThickness, outerArcLimit));\n  };\n  return {\n    outerStart: computeOuterLimit(o.outerStart),\n    outerEnd: computeOuterLimit(o.outerEnd),\n    innerStart: _limitValue(o.innerStart, 0, innerLimit),\n    innerEnd: _limitValue(o.innerEnd, 0, innerLimit),\n  };\n}\nfunction rThetaToXY(r, theta, x, y) {\n  return {\n    x: x + r * Math.cos(theta),\n    y: y + r * Math.sin(theta),\n  };\n}\nfunction pathArc(ctx, element, offset, spacing, end, circular) {\n  const {x, y, startAngle: start, pixelMargin, innerRadius: innerR} = element;\n  const outerRadius = Math.max(element.outerRadius + spacing + offset - pixelMargin, 0);\n  const innerRadius = innerR > 0 ? innerR + spacing + offset + pixelMargin : 0;\n  let spacingOffset = 0;\n  const alpha = end - start;\n  if (spacing) {\n    const noSpacingInnerRadius = innerR > 0 ? innerR - spacing : 0;\n    const noSpacingOuterRadius = outerRadius > 0 ? outerRadius - spacing : 0;\n    const avNogSpacingRadius = (noSpacingInnerRadius + noSpacingOuterRadius) / 2;\n    const adjustedAngle = avNogSpacingRadius !== 0 ? (alpha * avNogSpacingRadius) / (avNogSpacingRadius + spacing) : alpha;\n    spacingOffset = (alpha - adjustedAngle) / 2;\n  }\n  const beta = Math.max(0.001, alpha * outerRadius - offset / PI) / outerRadius;\n  const angleOffset = (alpha - beta) / 2;\n  const startAngle = start + angleOffset + spacingOffset;\n  const endAngle = end - angleOffset - spacingOffset;\n  const {outerStart, outerEnd, innerStart, innerEnd} = parseBorderRadius$1(element, innerRadius, outerRadius, endAngle - startAngle);\n  const outerStartAdjustedRadius = outerRadius - outerStart;\n  const outerEndAdjustedRadius = outerRadius - outerEnd;\n  const outerStartAdjustedAngle = startAngle + outerStart / outerStartAdjustedRadius;\n  const outerEndAdjustedAngle = endAngle - outerEnd / outerEndAdjustedRadius;\n  const innerStartAdjustedRadius = innerRadius + innerStart;\n  const innerEndAdjustedRadius = innerRadius + innerEnd;\n  const innerStartAdjustedAngle = startAngle + innerStart / innerStartAdjustedRadius;\n  const innerEndAdjustedAngle = endAngle - innerEnd / innerEndAdjustedRadius;\n  ctx.beginPath();\n  if (circular) {\n    ctx.arc(x, y, outerRadius, outerStartAdjustedAngle, outerEndAdjustedAngle);\n    if (outerEnd > 0) {\n      const pCenter = rThetaToXY(outerEndAdjustedRadius, outerEndAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, outerEnd, outerEndAdjustedAngle, endAngle + HALF_PI);\n    }\n    const p4 = rThetaToXY(innerEndAdjustedRadius, endAngle, x, y);\n    ctx.lineTo(p4.x, p4.y);\n    if (innerEnd > 0) {\n      const pCenter = rThetaToXY(innerEndAdjustedRadius, innerEndAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, innerEnd, endAngle + HALF_PI, innerEndAdjustedAngle + Math.PI);\n    }\n    ctx.arc(x, y, innerRadius, endAngle - (innerEnd / innerRadius), startAngle + (innerStart / innerRadius), true);\n    if (innerStart > 0) {\n      const pCenter = rThetaToXY(innerStartAdjustedRadius, innerStartAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, innerStart, innerStartAdjustedAngle + Math.PI, startAngle - HALF_PI);\n    }\n    const p8 = rThetaToXY(outerStartAdjustedRadius, startAngle, x, y);\n    ctx.lineTo(p8.x, p8.y);\n    if (outerStart > 0) {\n      const pCenter = rThetaToXY(outerStartAdjustedRadius, outerStartAdjustedAngle, x, y);\n      ctx.arc(pCenter.x, pCenter.y, outerStart, startAngle - HALF_PI, outerStartAdjustedAngle);\n    }\n  } else {\n    ctx.moveTo(x, y);\n    const outerStartX = Math.cos(outerStartAdjustedAngle) * outerRadius + x;\n    const outerStartY = Math.sin(outerStartAdjustedAngle) * outerRadius + y;\n    ctx.lineTo(outerStartX, outerStartY);\n    const outerEndX = Math.cos(outerEndAdjustedAngle) * outerRadius + x;\n    const outerEndY = Math.sin(outerEndAdjustedAngle) * outerRadius + y;\n    ctx.lineTo(outerEndX, outerEndY);\n  }\n  ctx.closePath();\n}\nfunction drawArc(ctx, element, offset, spacing, circular) {\n  const {fullCircles, startAngle, circumference} = element;\n  let endAngle = element.endAngle;\n  if (fullCircles) {\n    pathArc(ctx, element, offset, spacing, startAngle + TAU, circular);\n    for (let i = 0; i < fullCircles; ++i) {\n      ctx.fill();\n    }\n    if (!isNaN(circumference)) {\n      endAngle = startAngle + circumference % TAU;\n      if (circumference % TAU === 0) {\n        endAngle += TAU;\n      }\n    }\n  }\n  pathArc(ctx, element, offset, spacing, endAngle, circular);\n  ctx.fill();\n  return endAngle;\n}\nfunction drawFullCircleBorders(ctx, element, inner) {\n  const {x, y, startAngle, pixelMargin, fullCircles} = element;\n  const outerRadius = Math.max(element.outerRadius - pixelMargin, 0);\n  const innerRadius = element.innerRadius + pixelMargin;\n  let i;\n  if (inner) {\n    clipArc(ctx, element, startAngle + TAU);\n  }\n  ctx.beginPath();\n  ctx.arc(x, y, innerRadius, startAngle + TAU, startAngle, true);\n  for (i = 0; i < fullCircles; ++i) {\n    ctx.stroke();\n  }\n  ctx.beginPath();\n  ctx.arc(x, y, outerRadius, startAngle, startAngle + TAU);\n  for (i = 0; i < fullCircles; ++i) {\n    ctx.stroke();\n  }\n}\nfunction drawBorder(ctx, element, offset, spacing, endAngle, circular) {\n  const {options} = element;\n  const {borderWidth, borderJoinStyle} = options;\n  const inner = options.borderAlign === 'inner';\n  if (!borderWidth) {\n    return;\n  }\n  if (inner) {\n    ctx.lineWidth = borderWidth * 2;\n    ctx.lineJoin = borderJoinStyle || 'round';\n  } else {\n    ctx.lineWidth = borderWidth;\n    ctx.lineJoin = borderJoinStyle || 'bevel';\n  }\n  if (element.fullCircles) {\n    drawFullCircleBorders(ctx, element, inner);\n  }\n  if (inner) {\n    clipArc(ctx, element, endAngle);\n  }\n  pathArc(ctx, element, offset, spacing, endAngle, circular);\n  ctx.stroke();\n}\nclass ArcElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.circumference = undefined;\n    this.startAngle = undefined;\n    this.endAngle = undefined;\n    this.innerRadius = undefined;\n    this.outerRadius = undefined;\n    this.pixelMargin = 0;\n    this.fullCircles = 0;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  inRange(chartX, chartY, useFinalPosition) {\n    const point = this.getProps(['x', 'y'], useFinalPosition);\n    const {angle, distance} = getAngleFromPoint(point, {x: chartX, y: chartY});\n    const {startAngle, endAngle, innerRadius, outerRadius, circumference} = this.getProps([\n      'startAngle',\n      'endAngle',\n      'innerRadius',\n      'outerRadius',\n      'circumference'\n    ], useFinalPosition);\n    const rAdjust = this.options.spacing / 2;\n    const _circumference = valueOrDefault(circumference, endAngle - startAngle);\n    const betweenAngles = _circumference >= TAU || _angleBetween(angle, startAngle, endAngle);\n    const withinRadius = _isBetween(distance, innerRadius + rAdjust, outerRadius + rAdjust);\n    return (betweenAngles && withinRadius);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y, startAngle, endAngle, innerRadius, outerRadius} = this.getProps([\n      'x',\n      'y',\n      'startAngle',\n      'endAngle',\n      'innerRadius',\n      'outerRadius',\n      'circumference',\n    ], useFinalPosition);\n    const {offset, spacing} = this.options;\n    const halfAngle = (startAngle + endAngle) / 2;\n    const halfRadius = (innerRadius + outerRadius + spacing + offset) / 2;\n    return {\n      x: x + Math.cos(halfAngle) * halfRadius,\n      y: y + Math.sin(halfAngle) * halfRadius\n    };\n  }\n  tooltipPosition(useFinalPosition) {\n    return this.getCenterPoint(useFinalPosition);\n  }\n  draw(ctx) {\n    const {options, circumference} = this;\n    const offset = (options.offset || 0) / 2;\n    const spacing = (options.spacing || 0) / 2;\n    const circular = options.circular;\n    this.pixelMargin = (options.borderAlign === 'inner') ? 0.33 : 0;\n    this.fullCircles = circumference > TAU ? Math.floor(circumference / TAU) : 0;\n    if (circumference === 0 || this.innerRadius < 0 || this.outerRadius < 0) {\n      return;\n    }\n    ctx.save();\n    let radiusOffset = 0;\n    if (offset) {\n      radiusOffset = offset / 2;\n      const halfAngle = (this.startAngle + this.endAngle) / 2;\n      ctx.translate(Math.cos(halfAngle) * radiusOffset, Math.sin(halfAngle) * radiusOffset);\n      if (this.circumference >= PI) {\n        radiusOffset = offset;\n      }\n    }\n    ctx.fillStyle = options.backgroundColor;\n    ctx.strokeStyle = options.borderColor;\n    const endAngle = drawArc(ctx, this, radiusOffset, spacing, circular);\n    drawBorder(ctx, this, radiusOffset, spacing, endAngle, circular);\n    ctx.restore();\n  }\n}\nArcElement.id = 'arc';\nArcElement.defaults = {\n  borderAlign: 'center',\n  borderColor: '#fff',\n  borderJoinStyle: undefined,\n  borderRadius: 0,\n  borderWidth: 2,\n  offset: 0,\n  spacing: 0,\n  angle: undefined,\n  circular: true,\n};\nArcElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor'\n};\n\nfunction setStyle(ctx, options, style = options) {\n  ctx.lineCap = valueOrDefault(style.borderCapStyle, options.borderCapStyle);\n  ctx.setLineDash(valueOrDefault(style.borderDash, options.borderDash));\n  ctx.lineDashOffset = valueOrDefault(style.borderDashOffset, options.borderDashOffset);\n  ctx.lineJoin = valueOrDefault(style.borderJoinStyle, options.borderJoinStyle);\n  ctx.lineWidth = valueOrDefault(style.borderWidth, options.borderWidth);\n  ctx.strokeStyle = valueOrDefault(style.borderColor, options.borderColor);\n}\nfunction lineTo(ctx, previous, target) {\n  ctx.lineTo(target.x, target.y);\n}\nfunction getLineMethod(options) {\n  if (options.stepped) {\n    return _steppedLineTo;\n  }\n  if (options.tension || options.cubicInterpolationMode === 'monotone') {\n    return _bezierCurveTo;\n  }\n  return lineTo;\n}\nfunction pathVars(points, segment, params = {}) {\n  const count = points.length;\n  const {start: paramsStart = 0, end: paramsEnd = count - 1} = params;\n  const {start: segmentStart, end: segmentEnd} = segment;\n  const start = Math.max(paramsStart, segmentStart);\n  const end = Math.min(paramsEnd, segmentEnd);\n  const outside = paramsStart < segmentStart && paramsEnd < segmentStart || paramsStart > segmentEnd && paramsEnd > segmentEnd;\n  return {\n    count,\n    start,\n    loop: segment.loop,\n    ilen: end < start && !outside ? count + end - start : end - start\n  };\n}\nfunction pathSegment(ctx, line, segment, params) {\n  const {points, options} = line;\n  const {count, start, loop, ilen} = pathVars(points, segment, params);\n  const lineMethod = getLineMethod(options);\n  let {move = true, reverse} = params || {};\n  let i, point, prev;\n  for (i = 0; i <= ilen; ++i) {\n    point = points[(start + (reverse ? ilen - i : i)) % count];\n    if (point.skip) {\n      continue;\n    } else if (move) {\n      ctx.moveTo(point.x, point.y);\n      move = false;\n    } else {\n      lineMethod(ctx, prev, point, reverse, options.stepped);\n    }\n    prev = point;\n  }\n  if (loop) {\n    point = points[(start + (reverse ? ilen : 0)) % count];\n    lineMethod(ctx, prev, point, reverse, options.stepped);\n  }\n  return !!loop;\n}\nfunction fastPathSegment(ctx, line, segment, params) {\n  const points = line.points;\n  const {count, start, ilen} = pathVars(points, segment, params);\n  const {move = true, reverse} = params || {};\n  let avgX = 0;\n  let countX = 0;\n  let i, point, prevX, minY, maxY, lastY;\n  const pointIndex = (index) => (start + (reverse ? ilen - index : index)) % count;\n  const drawX = () => {\n    if (minY !== maxY) {\n      ctx.lineTo(avgX, maxY);\n      ctx.lineTo(avgX, minY);\n      ctx.lineTo(avgX, lastY);\n    }\n  };\n  if (move) {\n    point = points[pointIndex(0)];\n    ctx.moveTo(point.x, point.y);\n  }\n  for (i = 0; i <= ilen; ++i) {\n    point = points[pointIndex(i)];\n    if (point.skip) {\n      continue;\n    }\n    const x = point.x;\n    const y = point.y;\n    const truncX = x | 0;\n    if (truncX === prevX) {\n      if (y < minY) {\n        minY = y;\n      } else if (y > maxY) {\n        maxY = y;\n      }\n      avgX = (countX * avgX + x) / ++countX;\n    } else {\n      drawX();\n      ctx.lineTo(x, y);\n      prevX = truncX;\n      countX = 0;\n      minY = maxY = y;\n    }\n    lastY = y;\n  }\n  drawX();\n}\nfunction _getSegmentMethod(line) {\n  const opts = line.options;\n  const borderDash = opts.borderDash && opts.borderDash.length;\n  const useFastPath = !line._decimated && !line._loop && !opts.tension && opts.cubicInterpolationMode !== 'monotone' && !opts.stepped && !borderDash;\n  return useFastPath ? fastPathSegment : pathSegment;\n}\nfunction _getInterpolationMethod(options) {\n  if (options.stepped) {\n    return _steppedInterpolation;\n  }\n  if (options.tension || options.cubicInterpolationMode === 'monotone') {\n    return _bezierInterpolation;\n  }\n  return _pointInLine;\n}\nfunction strokePathWithCache(ctx, line, start, count) {\n  let path = line._path;\n  if (!path) {\n    path = line._path = new Path2D();\n    if (line.path(path, start, count)) {\n      path.closePath();\n    }\n  }\n  setStyle(ctx, line.options);\n  ctx.stroke(path);\n}\nfunction strokePathDirect(ctx, line, start, count) {\n  const {segments, options} = line;\n  const segmentMethod = _getSegmentMethod(line);\n  for (const segment of segments) {\n    setStyle(ctx, options, segment.style);\n    ctx.beginPath();\n    if (segmentMethod(ctx, line, segment, {start, end: start + count - 1})) {\n      ctx.closePath();\n    }\n    ctx.stroke();\n  }\n}\nconst usePath2D = typeof Path2D === 'function';\nfunction draw(ctx, line, start, count) {\n  if (usePath2D && !line.options.segment) {\n    strokePathWithCache(ctx, line, start, count);\n  } else {\n    strokePathDirect(ctx, line, start, count);\n  }\n}\nclass LineElement extends Element {\n  constructor(cfg) {\n    super();\n    this.animated = true;\n    this.options = undefined;\n    this._chart = undefined;\n    this._loop = undefined;\n    this._fullLoop = undefined;\n    this._path = undefined;\n    this._points = undefined;\n    this._segments = undefined;\n    this._decimated = false;\n    this._pointsUpdated = false;\n    this._datasetIndex = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  updateControlPoints(chartArea, indexAxis) {\n    const options = this.options;\n    if ((options.tension || options.cubicInterpolationMode === 'monotone') && !options.stepped && !this._pointsUpdated) {\n      const loop = options.spanGaps ? this._loop : this._fullLoop;\n      _updateBezierControlPoints(this._points, options, chartArea, loop, indexAxis);\n      this._pointsUpdated = true;\n    }\n  }\n  set points(points) {\n    this._points = points;\n    delete this._segments;\n    delete this._path;\n    this._pointsUpdated = false;\n  }\n  get points() {\n    return this._points;\n  }\n  get segments() {\n    return this._segments || (this._segments = _computeSegments(this, this.options.segment));\n  }\n  first() {\n    const segments = this.segments;\n    const points = this.points;\n    return segments.length && points[segments[0].start];\n  }\n  last() {\n    const segments = this.segments;\n    const points = this.points;\n    const count = segments.length;\n    return count && points[segments[count - 1].end];\n  }\n  interpolate(point, property) {\n    const options = this.options;\n    const value = point[property];\n    const points = this.points;\n    const segments = _boundSegments(this, {property, start: value, end: value});\n    if (!segments.length) {\n      return;\n    }\n    const result = [];\n    const _interpolate = _getInterpolationMethod(options);\n    let i, ilen;\n    for (i = 0, ilen = segments.length; i < ilen; ++i) {\n      const {start, end} = segments[i];\n      const p1 = points[start];\n      const p2 = points[end];\n      if (p1 === p2) {\n        result.push(p1);\n        continue;\n      }\n      const t = Math.abs((value - p1[property]) / (p2[property] - p1[property]));\n      const interpolated = _interpolate(p1, p2, t, options.stepped);\n      interpolated[property] = point[property];\n      result.push(interpolated);\n    }\n    return result.length === 1 ? result[0] : result;\n  }\n  pathSegment(ctx, segment, params) {\n    const segmentMethod = _getSegmentMethod(this);\n    return segmentMethod(ctx, this, segment, params);\n  }\n  path(ctx, start, count) {\n    const segments = this.segments;\n    const segmentMethod = _getSegmentMethod(this);\n    let loop = this._loop;\n    start = start || 0;\n    count = count || (this.points.length - start);\n    for (const segment of segments) {\n      loop &= segmentMethod(ctx, this, segment, {start, end: start + count - 1});\n    }\n    return !!loop;\n  }\n  draw(ctx, chartArea, start, count) {\n    const options = this.options || {};\n    const points = this.points || [];\n    if (points.length && options.borderWidth) {\n      ctx.save();\n      draw(ctx, this, start, count);\n      ctx.restore();\n    }\n    if (this.animated) {\n      this._pointsUpdated = false;\n      this._path = undefined;\n    }\n  }\n}\nLineElement.id = 'line';\nLineElement.defaults = {\n  borderCapStyle: 'butt',\n  borderDash: [],\n  borderDashOffset: 0,\n  borderJoinStyle: 'miter',\n  borderWidth: 3,\n  capBezierPoints: true,\n  cubicInterpolationMode: 'default',\n  fill: false,\n  spanGaps: false,\n  stepped: false,\n  tension: 0,\n};\nLineElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\nLineElement.descriptors = {\n  _scriptable: true,\n  _indexable: (name) => name !== 'borderDash' && name !== 'fill',\n};\n\nfunction inRange$1(el, pos, axis, useFinalPosition) {\n  const options = el.options;\n  const {[axis]: value} = el.getProps([axis], useFinalPosition);\n  return (Math.abs(pos - value) < options.radius + options.hitRadius);\n}\nclass PointElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.parsed = undefined;\n    this.skip = undefined;\n    this.stop = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  inRange(mouseX, mouseY, useFinalPosition) {\n    const options = this.options;\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return ((Math.pow(mouseX - x, 2) + Math.pow(mouseY - y, 2)) < Math.pow(options.hitRadius + options.radius, 2));\n  }\n  inXRange(mouseX, useFinalPosition) {\n    return inRange$1(this, mouseX, 'x', useFinalPosition);\n  }\n  inYRange(mouseY, useFinalPosition) {\n    return inRange$1(this, mouseY, 'y', useFinalPosition);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y} = this.getProps(['x', 'y'], useFinalPosition);\n    return {x, y};\n  }\n  size(options) {\n    options = options || this.options || {};\n    let radius = options.radius || 0;\n    radius = Math.max(radius, radius && options.hoverRadius || 0);\n    const borderWidth = radius && options.borderWidth || 0;\n    return (radius + borderWidth) * 2;\n  }\n  draw(ctx, area) {\n    const options = this.options;\n    if (this.skip || options.radius < 0.1 || !_isPointInArea(this, area, this.size(options) / 2)) {\n      return;\n    }\n    ctx.strokeStyle = options.borderColor;\n    ctx.lineWidth = options.borderWidth;\n    ctx.fillStyle = options.backgroundColor;\n    drawPoint(ctx, options, this.x, this.y);\n  }\n  getRange() {\n    const options = this.options || {};\n    return options.radius + options.hitRadius;\n  }\n}\nPointElement.id = 'point';\nPointElement.defaults = {\n  borderWidth: 1,\n  hitRadius: 1,\n  hoverBorderWidth: 1,\n  hoverRadius: 4,\n  pointStyle: 'circle',\n  radius: 3,\n  rotation: 0\n};\nPointElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\n\nfunction getBarBounds(bar, useFinalPosition) {\n  const {x, y, base, width, height} = bar.getProps(['x', 'y', 'base', 'width', 'height'], useFinalPosition);\n  let left, right, top, bottom, half;\n  if (bar.horizontal) {\n    half = height / 2;\n    left = Math.min(x, base);\n    right = Math.max(x, base);\n    top = y - half;\n    bottom = y + half;\n  } else {\n    half = width / 2;\n    left = x - half;\n    right = x + half;\n    top = Math.min(y, base);\n    bottom = Math.max(y, base);\n  }\n  return {left, top, right, bottom};\n}\nfunction skipOrLimit(skip, value, min, max) {\n  return skip ? 0 : _limitValue(value, min, max);\n}\nfunction parseBorderWidth(bar, maxW, maxH) {\n  const value = bar.options.borderWidth;\n  const skip = bar.borderSkipped;\n  const o = toTRBL(value);\n  return {\n    t: skipOrLimit(skip.top, o.top, 0, maxH),\n    r: skipOrLimit(skip.right, o.right, 0, maxW),\n    b: skipOrLimit(skip.bottom, o.bottom, 0, maxH),\n    l: skipOrLimit(skip.left, o.left, 0, maxW)\n  };\n}\nfunction parseBorderRadius(bar, maxW, maxH) {\n  const {enableBorderRadius} = bar.getProps(['enableBorderRadius']);\n  const value = bar.options.borderRadius;\n  const o = toTRBLCorners(value);\n  const maxR = Math.min(maxW, maxH);\n  const skip = bar.borderSkipped;\n  const enableBorder = enableBorderRadius || isObject(value);\n  return {\n    topLeft: skipOrLimit(!enableBorder || skip.top || skip.left, o.topLeft, 0, maxR),\n    topRight: skipOrLimit(!enableBorder || skip.top || skip.right, o.topRight, 0, maxR),\n    bottomLeft: skipOrLimit(!enableBorder || skip.bottom || skip.left, o.bottomLeft, 0, maxR),\n    bottomRight: skipOrLimit(!enableBorder || skip.bottom || skip.right, o.bottomRight, 0, maxR)\n  };\n}\nfunction boundingRects(bar) {\n  const bounds = getBarBounds(bar);\n  const width = bounds.right - bounds.left;\n  const height = bounds.bottom - bounds.top;\n  const border = parseBorderWidth(bar, width / 2, height / 2);\n  const radius = parseBorderRadius(bar, width / 2, height / 2);\n  return {\n    outer: {\n      x: bounds.left,\n      y: bounds.top,\n      w: width,\n      h: height,\n      radius\n    },\n    inner: {\n      x: bounds.left + border.l,\n      y: bounds.top + border.t,\n      w: width - border.l - border.r,\n      h: height - border.t - border.b,\n      radius: {\n        topLeft: Math.max(0, radius.topLeft - Math.max(border.t, border.l)),\n        topRight: Math.max(0, radius.topRight - Math.max(border.t, border.r)),\n        bottomLeft: Math.max(0, radius.bottomLeft - Math.max(border.b, border.l)),\n        bottomRight: Math.max(0, radius.bottomRight - Math.max(border.b, border.r)),\n      }\n    }\n  };\n}\nfunction inRange(bar, x, y, useFinalPosition) {\n  const skipX = x === null;\n  const skipY = y === null;\n  const skipBoth = skipX && skipY;\n  const bounds = bar && !skipBoth && getBarBounds(bar, useFinalPosition);\n  return bounds\n\t\t&& (skipX || _isBetween(x, bounds.left, bounds.right))\n\t\t&& (skipY || _isBetween(y, bounds.top, bounds.bottom));\n}\nfunction hasRadius(radius) {\n  return radius.topLeft || radius.topRight || radius.bottomLeft || radius.bottomRight;\n}\nfunction addNormalRectPath(ctx, rect) {\n  ctx.rect(rect.x, rect.y, rect.w, rect.h);\n}\nfunction inflateRect(rect, amount, refRect = {}) {\n  const x = rect.x !== refRect.x ? -amount : 0;\n  const y = rect.y !== refRect.y ? -amount : 0;\n  const w = (rect.x + rect.w !== refRect.x + refRect.w ? amount : 0) - x;\n  const h = (rect.y + rect.h !== refRect.y + refRect.h ? amount : 0) - y;\n  return {\n    x: rect.x + x,\n    y: rect.y + y,\n    w: rect.w + w,\n    h: rect.h + h,\n    radius: rect.radius\n  };\n}\nclass BarElement extends Element {\n  constructor(cfg) {\n    super();\n    this.options = undefined;\n    this.horizontal = undefined;\n    this.base = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this.inflateAmount = undefined;\n    if (cfg) {\n      Object.assign(this, cfg);\n    }\n  }\n  draw(ctx) {\n    const {inflateAmount, options: {borderColor, backgroundColor}} = this;\n    const {inner, outer} = boundingRects(this);\n    const addRectPath = hasRadius(outer.radius) ? addRoundedRectPath : addNormalRectPath;\n    ctx.save();\n    if (outer.w !== inner.w || outer.h !== inner.h) {\n      ctx.beginPath();\n      addRectPath(ctx, inflateRect(outer, inflateAmount, inner));\n      ctx.clip();\n      addRectPath(ctx, inflateRect(inner, -inflateAmount, outer));\n      ctx.fillStyle = borderColor;\n      ctx.fill('evenodd');\n    }\n    ctx.beginPath();\n    addRectPath(ctx, inflateRect(inner, inflateAmount));\n    ctx.fillStyle = backgroundColor;\n    ctx.fill();\n    ctx.restore();\n  }\n  inRange(mouseX, mouseY, useFinalPosition) {\n    return inRange(this, mouseX, mouseY, useFinalPosition);\n  }\n  inXRange(mouseX, useFinalPosition) {\n    return inRange(this, mouseX, null, useFinalPosition);\n  }\n  inYRange(mouseY, useFinalPosition) {\n    return inRange(this, null, mouseY, useFinalPosition);\n  }\n  getCenterPoint(useFinalPosition) {\n    const {x, y, base, horizontal} = this.getProps(['x', 'y', 'base', 'horizontal'], useFinalPosition);\n    return {\n      x: horizontal ? (x + base) / 2 : x,\n      y: horizontal ? y : (y + base) / 2\n    };\n  }\n  getRange(axis) {\n    return axis === 'x' ? this.width / 2 : this.height / 2;\n  }\n}\nBarElement.id = 'bar';\nBarElement.defaults = {\n  borderSkipped: 'start',\n  borderWidth: 0,\n  borderRadius: 0,\n  inflateAmount: 'auto',\n  pointStyle: undefined\n};\nBarElement.defaultRoutes = {\n  backgroundColor: 'backgroundColor',\n  borderColor: 'borderColor'\n};\n\nvar elements = /*#__PURE__*/Object.freeze({\n__proto__: null,\nArcElement: ArcElement,\nLineElement: LineElement,\nPointElement: PointElement,\nBarElement: BarElement\n});\n\nfunction lttbDecimation(data, start, count, availableWidth, options) {\n  const samples = options.samples || availableWidth;\n  if (samples >= count) {\n    return data.slice(start, start + count);\n  }\n  const decimated = [];\n  const bucketWidth = (count - 2) / (samples - 2);\n  let sampledIndex = 0;\n  const endIndex = start + count - 1;\n  let a = start;\n  let i, maxAreaPoint, maxArea, area, nextA;\n  decimated[sampledIndex++] = data[a];\n  for (i = 0; i < samples - 2; i++) {\n    let avgX = 0;\n    let avgY = 0;\n    let j;\n    const avgRangeStart = Math.floor((i + 1) * bucketWidth) + 1 + start;\n    const avgRangeEnd = Math.min(Math.floor((i + 2) * bucketWidth) + 1, count) + start;\n    const avgRangeLength = avgRangeEnd - avgRangeStart;\n    for (j = avgRangeStart; j < avgRangeEnd; j++) {\n      avgX += data[j].x;\n      avgY += data[j].y;\n    }\n    avgX /= avgRangeLength;\n    avgY /= avgRangeLength;\n    const rangeOffs = Math.floor(i * bucketWidth) + 1 + start;\n    const rangeTo = Math.min(Math.floor((i + 1) * bucketWidth) + 1, count) + start;\n    const {x: pointAx, y: pointAy} = data[a];\n    maxArea = area = -1;\n    for (j = rangeOffs; j < rangeTo; j++) {\n      area = 0.5 * Math.abs(\n        (pointAx - avgX) * (data[j].y - pointAy) -\n        (pointAx - data[j].x) * (avgY - pointAy)\n      );\n      if (area > maxArea) {\n        maxArea = area;\n        maxAreaPoint = data[j];\n        nextA = j;\n      }\n    }\n    decimated[sampledIndex++] = maxAreaPoint;\n    a = nextA;\n  }\n  decimated[sampledIndex++] = data[endIndex];\n  return decimated;\n}\nfunction minMaxDecimation(data, start, count, availableWidth) {\n  let avgX = 0;\n  let countX = 0;\n  let i, point, x, y, prevX, minIndex, maxIndex, startIndex, minY, maxY;\n  const decimated = [];\n  const endIndex = start + count - 1;\n  const xMin = data[start].x;\n  const xMax = data[endIndex].x;\n  const dx = xMax - xMin;\n  for (i = start; i < start + count; ++i) {\n    point = data[i];\n    x = (point.x - xMin) / dx * availableWidth;\n    y = point.y;\n    const truncX = x | 0;\n    if (truncX === prevX) {\n      if (y < minY) {\n        minY = y;\n        minIndex = i;\n      } else if (y > maxY) {\n        maxY = y;\n        maxIndex = i;\n      }\n      avgX = (countX * avgX + point.x) / ++countX;\n    } else {\n      const lastIndex = i - 1;\n      if (!isNullOrUndef(minIndex) && !isNullOrUndef(maxIndex)) {\n        const intermediateIndex1 = Math.min(minIndex, maxIndex);\n        const intermediateIndex2 = Math.max(minIndex, maxIndex);\n        if (intermediateIndex1 !== startIndex && intermediateIndex1 !== lastIndex) {\n          decimated.push({\n            ...data[intermediateIndex1],\n            x: avgX,\n          });\n        }\n        if (intermediateIndex2 !== startIndex && intermediateIndex2 !== lastIndex) {\n          decimated.push({\n            ...data[intermediateIndex2],\n            x: avgX\n          });\n        }\n      }\n      if (i > 0 && lastIndex !== startIndex) {\n        decimated.push(data[lastIndex]);\n      }\n      decimated.push(point);\n      prevX = truncX;\n      countX = 0;\n      minY = maxY = y;\n      minIndex = maxIndex = startIndex = i;\n    }\n  }\n  return decimated;\n}\nfunction cleanDecimatedDataset(dataset) {\n  if (dataset._decimated) {\n    const data = dataset._data;\n    delete dataset._decimated;\n    delete dataset._data;\n    Object.defineProperty(dataset, 'data', {value: data});\n  }\n}\nfunction cleanDecimatedData(chart) {\n  chart.data.datasets.forEach((dataset) => {\n    cleanDecimatedDataset(dataset);\n  });\n}\nfunction getStartAndCountOfVisiblePointsSimplified(meta, points) {\n  const pointCount = points.length;\n  let start = 0;\n  let count;\n  const {iScale} = meta;\n  const {min, max, minDefined, maxDefined} = iScale.getUserBounds();\n  if (minDefined) {\n    start = _limitValue(_lookupByKey(points, iScale.axis, min).lo, 0, pointCount - 1);\n  }\n  if (maxDefined) {\n    count = _limitValue(_lookupByKey(points, iScale.axis, max).hi + 1, start, pointCount) - start;\n  } else {\n    count = pointCount - start;\n  }\n  return {start, count};\n}\nvar plugin_decimation = {\n  id: 'decimation',\n  defaults: {\n    algorithm: 'min-max',\n    enabled: false,\n  },\n  beforeElementsUpdate: (chart, args, options) => {\n    if (!options.enabled) {\n      cleanDecimatedData(chart);\n      return;\n    }\n    const availableWidth = chart.width;\n    chart.data.datasets.forEach((dataset, datasetIndex) => {\n      const {_data, indexAxis} = dataset;\n      const meta = chart.getDatasetMeta(datasetIndex);\n      const data = _data || dataset.data;\n      if (resolve([indexAxis, chart.options.indexAxis]) === 'y') {\n        return;\n      }\n      if (!meta.controller.supportsDecimation) {\n        return;\n      }\n      const xAxis = chart.scales[meta.xAxisID];\n      if (xAxis.type !== 'linear' && xAxis.type !== 'time') {\n        return;\n      }\n      if (chart.options.parsing) {\n        return;\n      }\n      let {start, count} = getStartAndCountOfVisiblePointsSimplified(meta, data);\n      const threshold = options.threshold || 4 * availableWidth;\n      if (count <= threshold) {\n        cleanDecimatedDataset(dataset);\n        return;\n      }\n      if (isNullOrUndef(_data)) {\n        dataset._data = data;\n        delete dataset.data;\n        Object.defineProperty(dataset, 'data', {\n          configurable: true,\n          enumerable: true,\n          get: function() {\n            return this._decimated;\n          },\n          set: function(d) {\n            this._data = d;\n          }\n        });\n      }\n      let decimated;\n      switch (options.algorithm) {\n      case 'lttb':\n        decimated = lttbDecimation(data, start, count, availableWidth, options);\n        break;\n      case 'min-max':\n        decimated = minMaxDecimation(data, start, count, availableWidth);\n        break;\n      default:\n        throw new Error(`Unsupported decimation algorithm '${options.algorithm}'`);\n      }\n      dataset._decimated = decimated;\n    });\n  },\n  destroy(chart) {\n    cleanDecimatedData(chart);\n  }\n};\n\nfunction _segments(line, target, property) {\n  const segments = line.segments;\n  const points = line.points;\n  const tpoints = target.points;\n  const parts = [];\n  for (const segment of segments) {\n    let {start, end} = segment;\n    end = _findSegmentEnd(start, end, points);\n    const bounds = _getBounds(property, points[start], points[end], segment.loop);\n    if (!target.segments) {\n      parts.push({\n        source: segment,\n        target: bounds,\n        start: points[start],\n        end: points[end]\n      });\n      continue;\n    }\n    const targetSegments = _boundSegments(target, bounds);\n    for (const tgt of targetSegments) {\n      const subBounds = _getBounds(property, tpoints[tgt.start], tpoints[tgt.end], tgt.loop);\n      const fillSources = _boundSegment(segment, points, subBounds);\n      for (const fillSource of fillSources) {\n        parts.push({\n          source: fillSource,\n          target: tgt,\n          start: {\n            [property]: _getEdge(bounds, subBounds, 'start', Math.max)\n          },\n          end: {\n            [property]: _getEdge(bounds, subBounds, 'end', Math.min)\n          }\n        });\n      }\n    }\n  }\n  return parts;\n}\nfunction _getBounds(property, first, last, loop) {\n  if (loop) {\n    return;\n  }\n  let start = first[property];\n  let end = last[property];\n  if (property === 'angle') {\n    start = _normalizeAngle(start);\n    end = _normalizeAngle(end);\n  }\n  return {property, start, end};\n}\nfunction _pointsFromSegments(boundary, line) {\n  const {x = null, y = null} = boundary || {};\n  const linePoints = line.points;\n  const points = [];\n  line.segments.forEach(({start, end}) => {\n    end = _findSegmentEnd(start, end, linePoints);\n    const first = linePoints[start];\n    const last = linePoints[end];\n    if (y !== null) {\n      points.push({x: first.x, y});\n      points.push({x: last.x, y});\n    } else if (x !== null) {\n      points.push({x, y: first.y});\n      points.push({x, y: last.y});\n    }\n  });\n  return points;\n}\nfunction _findSegmentEnd(start, end, points) {\n  for (;end > start; end--) {\n    const point = points[end];\n    if (!isNaN(point.x) && !isNaN(point.y)) {\n      break;\n    }\n  }\n  return end;\n}\nfunction _getEdge(a, b, prop, fn) {\n  if (a && b) {\n    return fn(a[prop], b[prop]);\n  }\n  return a ? a[prop] : b ? b[prop] : 0;\n}\n\nfunction _createBoundaryLine(boundary, line) {\n  let points = [];\n  let _loop = false;\n  if (isArray(boundary)) {\n    _loop = true;\n    points = boundary;\n  } else {\n    points = _pointsFromSegments(boundary, line);\n  }\n  return points.length ? new LineElement({\n    points,\n    options: {tension: 0},\n    _loop,\n    _fullLoop: _loop\n  }) : null;\n}\nfunction _shouldApplyFill(source) {\n  return source && source.fill !== false;\n}\n\nfunction _resolveTarget(sources, index, propagate) {\n  const source = sources[index];\n  let fill = source.fill;\n  const visited = [index];\n  let target;\n  if (!propagate) {\n    return fill;\n  }\n  while (fill !== false && visited.indexOf(fill) === -1) {\n    if (!isNumberFinite(fill)) {\n      return fill;\n    }\n    target = sources[fill];\n    if (!target) {\n      return false;\n    }\n    if (target.visible) {\n      return fill;\n    }\n    visited.push(fill);\n    fill = target.fill;\n  }\n  return false;\n}\nfunction _decodeFill(line, index, count) {\n  const fill = parseFillOption(line);\n  if (isObject(fill)) {\n    return isNaN(fill.value) ? false : fill;\n  }\n  let target = parseFloat(fill);\n  if (isNumberFinite(target) && Math.floor(target) === target) {\n    return decodeTargetIndex(fill[0], index, target, count);\n  }\n  return ['origin', 'start', 'end', 'stack', 'shape'].indexOf(fill) >= 0 && fill;\n}\nfunction decodeTargetIndex(firstCh, index, target, count) {\n  if (firstCh === '-' || firstCh === '+') {\n    target = index + target;\n  }\n  if (target === index || target < 0 || target >= count) {\n    return false;\n  }\n  return target;\n}\nfunction _getTargetPixel(fill, scale) {\n  let pixel = null;\n  if (fill === 'start') {\n    pixel = scale.bottom;\n  } else if (fill === 'end') {\n    pixel = scale.top;\n  } else if (isObject(fill)) {\n    pixel = scale.getPixelForValue(fill.value);\n  } else if (scale.getBasePixel) {\n    pixel = scale.getBasePixel();\n  }\n  return pixel;\n}\nfunction _getTargetValue(fill, scale, startValue) {\n  let value;\n  if (fill === 'start') {\n    value = startValue;\n  } else if (fill === 'end') {\n    value = scale.options.reverse ? scale.min : scale.max;\n  } else if (isObject(fill)) {\n    value = fill.value;\n  } else {\n    value = scale.getBaseValue();\n  }\n  return value;\n}\nfunction parseFillOption(line) {\n  const options = line.options;\n  const fillOption = options.fill;\n  let fill = valueOrDefault(fillOption && fillOption.target, fillOption);\n  if (fill === undefined) {\n    fill = !!options.backgroundColor;\n  }\n  if (fill === false || fill === null) {\n    return false;\n  }\n  if (fill === true) {\n    return 'origin';\n  }\n  return fill;\n}\n\nfunction _buildStackLine(source) {\n  const {scale, index, line} = source;\n  const points = [];\n  const segments = line.segments;\n  const sourcePoints = line.points;\n  const linesBelow = getLinesBelow(scale, index);\n  linesBelow.push(_createBoundaryLine({x: null, y: scale.bottom}, line));\n  for (let i = 0; i < segments.length; i++) {\n    const segment = segments[i];\n    for (let j = segment.start; j <= segment.end; j++) {\n      addPointsBelow(points, sourcePoints[j], linesBelow);\n    }\n  }\n  return new LineElement({points, options: {}});\n}\nfunction getLinesBelow(scale, index) {\n  const below = [];\n  const metas = scale.getMatchingVisibleMetas('line');\n  for (let i = 0; i < metas.length; i++) {\n    const meta = metas[i];\n    if (meta.index === index) {\n      break;\n    }\n    if (!meta.hidden) {\n      below.unshift(meta.dataset);\n    }\n  }\n  return below;\n}\nfunction addPointsBelow(points, sourcePoint, linesBelow) {\n  const postponed = [];\n  for (let j = 0; j < linesBelow.length; j++) {\n    const line = linesBelow[j];\n    const {first, last, point} = findPoint(line, sourcePoint, 'x');\n    if (!point || (first && last)) {\n      continue;\n    }\n    if (first) {\n      postponed.unshift(point);\n    } else {\n      points.push(point);\n      if (!last) {\n        break;\n      }\n    }\n  }\n  points.push(...postponed);\n}\nfunction findPoint(line, sourcePoint, property) {\n  const point = line.interpolate(sourcePoint, property);\n  if (!point) {\n    return {};\n  }\n  const pointValue = point[property];\n  const segments = line.segments;\n  const linePoints = line.points;\n  let first = false;\n  let last = false;\n  for (let i = 0; i < segments.length; i++) {\n    const segment = segments[i];\n    const firstValue = linePoints[segment.start][property];\n    const lastValue = linePoints[segment.end][property];\n    if (_isBetween(pointValue, firstValue, lastValue)) {\n      first = pointValue === firstValue;\n      last = pointValue === lastValue;\n      break;\n    }\n  }\n  return {first, last, point};\n}\n\nclass simpleArc {\n  constructor(opts) {\n    this.x = opts.x;\n    this.y = opts.y;\n    this.radius = opts.radius;\n  }\n  pathSegment(ctx, bounds, opts) {\n    const {x, y, radius} = this;\n    bounds = bounds || {start: 0, end: TAU};\n    ctx.arc(x, y, radius, bounds.end, bounds.start, true);\n    return !opts.bounds;\n  }\n  interpolate(point) {\n    const {x, y, radius} = this;\n    const angle = point.angle;\n    return {\n      x: x + Math.cos(angle) * radius,\n      y: y + Math.sin(angle) * radius,\n      angle\n    };\n  }\n}\n\nfunction _getTarget(source) {\n  const {chart, fill, line} = source;\n  if (isNumberFinite(fill)) {\n    return getLineByIndex(chart, fill);\n  }\n  if (fill === 'stack') {\n    return _buildStackLine(source);\n  }\n  if (fill === 'shape') {\n    return true;\n  }\n  const boundary = computeBoundary(source);\n  if (boundary instanceof simpleArc) {\n    return boundary;\n  }\n  return _createBoundaryLine(boundary, line);\n}\nfunction getLineByIndex(chart, index) {\n  const meta = chart.getDatasetMeta(index);\n  const visible = meta && chart.isDatasetVisible(index);\n  return visible ? meta.dataset : null;\n}\nfunction computeBoundary(source) {\n  const scale = source.scale || {};\n  if (scale.getPointPositionForValue) {\n    return computeCircularBoundary(source);\n  }\n  return computeLinearBoundary(source);\n}\nfunction computeLinearBoundary(source) {\n  const {scale = {}, fill} = source;\n  const pixel = _getTargetPixel(fill, scale);\n  if (isNumberFinite(pixel)) {\n    const horizontal = scale.isHorizontal();\n    return {\n      x: horizontal ? pixel : null,\n      y: horizontal ? null : pixel\n    };\n  }\n  return null;\n}\nfunction computeCircularBoundary(source) {\n  const {scale, fill} = source;\n  const options = scale.options;\n  const length = scale.getLabels().length;\n  const start = options.reverse ? scale.max : scale.min;\n  const value = _getTargetValue(fill, scale, start);\n  const target = [];\n  if (options.grid.circular) {\n    const center = scale.getPointPositionForValue(0, start);\n    return new simpleArc({\n      x: center.x,\n      y: center.y,\n      radius: scale.getDistanceFromCenterForValue(value)\n    });\n  }\n  for (let i = 0; i < length; ++i) {\n    target.push(scale.getPointPositionForValue(i, value));\n  }\n  return target;\n}\n\nfunction _drawfill(ctx, source, area) {\n  const target = _getTarget(source);\n  const {line, scale, axis} = source;\n  const lineOpts = line.options;\n  const fillOption = lineOpts.fill;\n  const color = lineOpts.backgroundColor;\n  const {above = color, below = color} = fillOption || {};\n  if (target && line.points.length) {\n    clipArea(ctx, area);\n    doFill(ctx, {line, target, above, below, area, scale, axis});\n    unclipArea(ctx);\n  }\n}\nfunction doFill(ctx, cfg) {\n  const {line, target, above, below, area, scale} = cfg;\n  const property = line._loop ? 'angle' : cfg.axis;\n  ctx.save();\n  if (property === 'x' && below !== above) {\n    clipVertical(ctx, target, area.top);\n    fill(ctx, {line, target, color: above, scale, property});\n    ctx.restore();\n    ctx.save();\n    clipVertical(ctx, target, area.bottom);\n  }\n  fill(ctx, {line, target, color: below, scale, property});\n  ctx.restore();\n}\nfunction clipVertical(ctx, target, clipY) {\n  const {segments, points} = target;\n  let first = true;\n  let lineLoop = false;\n  ctx.beginPath();\n  for (const segment of segments) {\n    const {start, end} = segment;\n    const firstPoint = points[start];\n    const lastPoint = points[_findSegmentEnd(start, end, points)];\n    if (first) {\n      ctx.moveTo(firstPoint.x, firstPoint.y);\n      first = false;\n    } else {\n      ctx.lineTo(firstPoint.x, clipY);\n      ctx.lineTo(firstPoint.x, firstPoint.y);\n    }\n    lineLoop = !!target.pathSegment(ctx, segment, {move: lineLoop});\n    if (lineLoop) {\n      ctx.closePath();\n    } else {\n      ctx.lineTo(lastPoint.x, clipY);\n    }\n  }\n  ctx.lineTo(target.first().x, clipY);\n  ctx.closePath();\n  ctx.clip();\n}\nfunction fill(ctx, cfg) {\n  const {line, target, property, color, scale} = cfg;\n  const segments = _segments(line, target, property);\n  for (const {source: src, target: tgt, start, end} of segments) {\n    const {style: {backgroundColor = color} = {}} = src;\n    const notShape = target !== true;\n    ctx.save();\n    ctx.fillStyle = backgroundColor;\n    clipBounds(ctx, scale, notShape && _getBounds(property, start, end));\n    ctx.beginPath();\n    const lineLoop = !!line.pathSegment(ctx, src);\n    let loop;\n    if (notShape) {\n      if (lineLoop) {\n        ctx.closePath();\n      } else {\n        interpolatedLineTo(ctx, target, end, property);\n      }\n      const targetLoop = !!target.pathSegment(ctx, tgt, {move: lineLoop, reverse: true});\n      loop = lineLoop && targetLoop;\n      if (!loop) {\n        interpolatedLineTo(ctx, target, start, property);\n      }\n    }\n    ctx.closePath();\n    ctx.fill(loop ? 'evenodd' : 'nonzero');\n    ctx.restore();\n  }\n}\nfunction clipBounds(ctx, scale, bounds) {\n  const {top, bottom} = scale.chart.chartArea;\n  const {property, start, end} = bounds || {};\n  if (property === 'x') {\n    ctx.beginPath();\n    ctx.rect(start, top, end - start, bottom - top);\n    ctx.clip();\n  }\n}\nfunction interpolatedLineTo(ctx, target, point, property) {\n  const interpolatedPoint = target.interpolate(point, property);\n  if (interpolatedPoint) {\n    ctx.lineTo(interpolatedPoint.x, interpolatedPoint.y);\n  }\n}\n\nvar index = {\n  id: 'filler',\n  afterDatasetsUpdate(chart, _args, options) {\n    const count = (chart.data.datasets || []).length;\n    const sources = [];\n    let meta, i, line, source;\n    for (i = 0; i < count; ++i) {\n      meta = chart.getDatasetMeta(i);\n      line = meta.dataset;\n      source = null;\n      if (line && line.options && line instanceof LineElement) {\n        source = {\n          visible: chart.isDatasetVisible(i),\n          index: i,\n          fill: _decodeFill(line, i, count),\n          chart,\n          axis: meta.controller.options.indexAxis,\n          scale: meta.vScale,\n          line,\n        };\n      }\n      meta.$filler = source;\n      sources.push(source);\n    }\n    for (i = 0; i < count; ++i) {\n      source = sources[i];\n      if (!source || source.fill === false) {\n        continue;\n      }\n      source.fill = _resolveTarget(sources, i, options.propagate);\n    }\n  },\n  beforeDraw(chart, _args, options) {\n    const draw = options.drawTime === 'beforeDraw';\n    const metasets = chart.getSortedVisibleDatasetMetas();\n    const area = chart.chartArea;\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      const source = metasets[i].$filler;\n      if (!source) {\n        continue;\n      }\n      source.line.updateControlPoints(area, source.axis);\n      if (draw && source.fill) {\n        _drawfill(chart.ctx, source, area);\n      }\n    }\n  },\n  beforeDatasetsDraw(chart, _args, options) {\n    if (options.drawTime !== 'beforeDatasetsDraw') {\n      return;\n    }\n    const metasets = chart.getSortedVisibleDatasetMetas();\n    for (let i = metasets.length - 1; i >= 0; --i) {\n      const source = metasets[i].$filler;\n      if (_shouldApplyFill(source)) {\n        _drawfill(chart.ctx, source, chart.chartArea);\n      }\n    }\n  },\n  beforeDatasetDraw(chart, args, options) {\n    const source = args.meta.$filler;\n    if (!_shouldApplyFill(source) || options.drawTime !== 'beforeDatasetDraw') {\n      return;\n    }\n    _drawfill(chart.ctx, source, chart.chartArea);\n  },\n  defaults: {\n    propagate: true,\n    drawTime: 'beforeDatasetDraw'\n  }\n};\n\nconst getBoxSize = (labelOpts, fontSize) => {\n  let {boxHeight = fontSize, boxWidth = fontSize} = labelOpts;\n  if (labelOpts.usePointStyle) {\n    boxHeight = Math.min(boxHeight, fontSize);\n    boxWidth = labelOpts.pointStyleWidth || Math.min(boxWidth, fontSize);\n  }\n  return {\n    boxWidth,\n    boxHeight,\n    itemHeight: Math.max(fontSize, boxHeight)\n  };\n};\nconst itemsEqual = (a, b) => a !== null && b !== null && a.datasetIndex === b.datasetIndex && a.index === b.index;\nclass Legend extends Element {\n  constructor(config) {\n    super();\n    this._added = false;\n    this.legendHitBoxes = [];\n    this._hoveredItem = null;\n    this.doughnutMode = false;\n    this.chart = config.chart;\n    this.options = config.options;\n    this.ctx = config.ctx;\n    this.legendItems = undefined;\n    this.columnSizes = undefined;\n    this.lineWidths = undefined;\n    this.maxHeight = undefined;\n    this.maxWidth = undefined;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.height = undefined;\n    this.width = undefined;\n    this._margins = undefined;\n    this.position = undefined;\n    this.weight = undefined;\n    this.fullSize = undefined;\n  }\n  update(maxWidth, maxHeight, margins) {\n    this.maxWidth = maxWidth;\n    this.maxHeight = maxHeight;\n    this._margins = margins;\n    this.setDimensions();\n    this.buildLabels();\n    this.fit();\n  }\n  setDimensions() {\n    if (this.isHorizontal()) {\n      this.width = this.maxWidth;\n      this.left = this._margins.left;\n      this.right = this.width;\n    } else {\n      this.height = this.maxHeight;\n      this.top = this._margins.top;\n      this.bottom = this.height;\n    }\n  }\n  buildLabels() {\n    const labelOpts = this.options.labels || {};\n    let legendItems = callback(labelOpts.generateLabels, [this.chart], this) || [];\n    if (labelOpts.filter) {\n      legendItems = legendItems.filter((item) => labelOpts.filter(item, this.chart.data));\n    }\n    if (labelOpts.sort) {\n      legendItems = legendItems.sort((a, b) => labelOpts.sort(a, b, this.chart.data));\n    }\n    if (this.options.reverse) {\n      legendItems.reverse();\n    }\n    this.legendItems = legendItems;\n  }\n  fit() {\n    const {options, ctx} = this;\n    if (!options.display) {\n      this.width = this.height = 0;\n      return;\n    }\n    const labelOpts = options.labels;\n    const labelFont = toFont(labelOpts.font);\n    const fontSize = labelFont.size;\n    const titleHeight = this._computeTitleHeight();\n    const {boxWidth, itemHeight} = getBoxSize(labelOpts, fontSize);\n    let width, height;\n    ctx.font = labelFont.string;\n    if (this.isHorizontal()) {\n      width = this.maxWidth;\n      height = this._fitRows(titleHeight, fontSize, boxWidth, itemHeight) + 10;\n    } else {\n      height = this.maxHeight;\n      width = this._fitCols(titleHeight, fontSize, boxWidth, itemHeight) + 10;\n    }\n    this.width = Math.min(width, options.maxWidth || this.maxWidth);\n    this.height = Math.min(height, options.maxHeight || this.maxHeight);\n  }\n  _fitRows(titleHeight, fontSize, boxWidth, itemHeight) {\n    const {ctx, maxWidth, options: {labels: {padding}}} = this;\n    const hitboxes = this.legendHitBoxes = [];\n    const lineWidths = this.lineWidths = [0];\n    const lineHeight = itemHeight + padding;\n    let totalHeight = titleHeight;\n    ctx.textAlign = 'left';\n    ctx.textBaseline = 'middle';\n    let row = -1;\n    let top = -lineHeight;\n    this.legendItems.forEach((legendItem, i) => {\n      const itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n      if (i === 0 || lineWidths[lineWidths.length - 1] + itemWidth + 2 * padding > maxWidth) {\n        totalHeight += lineHeight;\n        lineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\n        top += lineHeight;\n        row++;\n      }\n      hitboxes[i] = {left: 0, top, row, width: itemWidth, height: itemHeight};\n      lineWidths[lineWidths.length - 1] += itemWidth + padding;\n    });\n    return totalHeight;\n  }\n  _fitCols(titleHeight, fontSize, boxWidth, itemHeight) {\n    const {ctx, maxHeight, options: {labels: {padding}}} = this;\n    const hitboxes = this.legendHitBoxes = [];\n    const columnSizes = this.columnSizes = [];\n    const heightLimit = maxHeight - titleHeight;\n    let totalWidth = padding;\n    let currentColWidth = 0;\n    let currentColHeight = 0;\n    let left = 0;\n    let col = 0;\n    this.legendItems.forEach((legendItem, i) => {\n      const itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\n      if (i > 0 && currentColHeight + itemHeight + 2 * padding > heightLimit) {\n        totalWidth += currentColWidth + padding;\n        columnSizes.push({width: currentColWidth, height: currentColHeight});\n        left += currentColWidth + padding;\n        col++;\n        currentColWidth = currentColHeight = 0;\n      }\n      hitboxes[i] = {left, top: currentColHeight, col, width: itemWidth, height: itemHeight};\n      currentColWidth = Math.max(currentColWidth, itemWidth);\n      currentColHeight += itemHeight + padding;\n    });\n    totalWidth += currentColWidth;\n    columnSizes.push({width: currentColWidth, height: currentColHeight});\n    return totalWidth;\n  }\n  adjustHitBoxes() {\n    if (!this.options.display) {\n      return;\n    }\n    const titleHeight = this._computeTitleHeight();\n    const {legendHitBoxes: hitboxes, options: {align, labels: {padding}, rtl}} = this;\n    const rtlHelper = getRtlAdapter(rtl, this.left, this.width);\n    if (this.isHorizontal()) {\n      let row = 0;\n      let left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]);\n      for (const hitbox of hitboxes) {\n        if (row !== hitbox.row) {\n          row = hitbox.row;\n          left = _alignStartEnd(align, this.left + padding, this.right - this.lineWidths[row]);\n        }\n        hitbox.top += this.top + titleHeight + padding;\n        hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(left), hitbox.width);\n        left += hitbox.width + padding;\n      }\n    } else {\n      let col = 0;\n      let top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height);\n      for (const hitbox of hitboxes) {\n        if (hitbox.col !== col) {\n          col = hitbox.col;\n          top = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - this.columnSizes[col].height);\n        }\n        hitbox.top = top;\n        hitbox.left += this.left + padding;\n        hitbox.left = rtlHelper.leftForLtr(rtlHelper.x(hitbox.left), hitbox.width);\n        top += hitbox.height + padding;\n      }\n    }\n  }\n  isHorizontal() {\n    return this.options.position === 'top' || this.options.position === 'bottom';\n  }\n  draw() {\n    if (this.options.display) {\n      const ctx = this.ctx;\n      clipArea(ctx, this);\n      this._draw();\n      unclipArea(ctx);\n    }\n  }\n  _draw() {\n    const {options: opts, columnSizes, lineWidths, ctx} = this;\n    const {align, labels: labelOpts} = opts;\n    const defaultColor = defaults.color;\n    const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width);\n    const labelFont = toFont(labelOpts.font);\n    const {color: fontColor, padding} = labelOpts;\n    const fontSize = labelFont.size;\n    const halfFontSize = fontSize / 2;\n    let cursor;\n    this.drawTitle();\n    ctx.textAlign = rtlHelper.textAlign('left');\n    ctx.textBaseline = 'middle';\n    ctx.lineWidth = 0.5;\n    ctx.font = labelFont.string;\n    const {boxWidth, boxHeight, itemHeight} = getBoxSize(labelOpts, fontSize);\n    const drawLegendBox = function(x, y, legendItem) {\n      if (isNaN(boxWidth) || boxWidth <= 0 || isNaN(boxHeight) || boxHeight < 0) {\n        return;\n      }\n      ctx.save();\n      const lineWidth = valueOrDefault(legendItem.lineWidth, 1);\n      ctx.fillStyle = valueOrDefault(legendItem.fillStyle, defaultColor);\n      ctx.lineCap = valueOrDefault(legendItem.lineCap, 'butt');\n      ctx.lineDashOffset = valueOrDefault(legendItem.lineDashOffset, 0);\n      ctx.lineJoin = valueOrDefault(legendItem.lineJoin, 'miter');\n      ctx.lineWidth = lineWidth;\n      ctx.strokeStyle = valueOrDefault(legendItem.strokeStyle, defaultColor);\n      ctx.setLineDash(valueOrDefault(legendItem.lineDash, []));\n      if (labelOpts.usePointStyle) {\n        const drawOptions = {\n          radius: boxHeight * Math.SQRT2 / 2,\n          pointStyle: legendItem.pointStyle,\n          rotation: legendItem.rotation,\n          borderWidth: lineWidth\n        };\n        const centerX = rtlHelper.xPlus(x, boxWidth / 2);\n        const centerY = y + halfFontSize;\n        drawPointLegend(ctx, drawOptions, centerX, centerY, labelOpts.pointStyleWidth && boxWidth);\n      } else {\n        const yBoxTop = y + Math.max((fontSize - boxHeight) / 2, 0);\n        const xBoxLeft = rtlHelper.leftForLtr(x, boxWidth);\n        const borderRadius = toTRBLCorners(legendItem.borderRadius);\n        ctx.beginPath();\n        if (Object.values(borderRadius).some(v => v !== 0)) {\n          addRoundedRectPath(ctx, {\n            x: xBoxLeft,\n            y: yBoxTop,\n            w: boxWidth,\n            h: boxHeight,\n            radius: borderRadius,\n          });\n        } else {\n          ctx.rect(xBoxLeft, yBoxTop, boxWidth, boxHeight);\n        }\n        ctx.fill();\n        if (lineWidth !== 0) {\n          ctx.stroke();\n        }\n      }\n      ctx.restore();\n    };\n    const fillText = function(x, y, legendItem) {\n      renderText(ctx, legendItem.text, x, y + (itemHeight / 2), labelFont, {\n        strikethrough: legendItem.hidden,\n        textAlign: rtlHelper.textAlign(legendItem.textAlign)\n      });\n    };\n    const isHorizontal = this.isHorizontal();\n    const titleHeight = this._computeTitleHeight();\n    if (isHorizontal) {\n      cursor = {\n        x: _alignStartEnd(align, this.left + padding, this.right - lineWidths[0]),\n        y: this.top + padding + titleHeight,\n        line: 0\n      };\n    } else {\n      cursor = {\n        x: this.left + padding,\n        y: _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[0].height),\n        line: 0\n      };\n    }\n    overrideTextDirection(this.ctx, opts.textDirection);\n    const lineHeight = itemHeight + padding;\n    this.legendItems.forEach((legendItem, i) => {\n      ctx.strokeStyle = legendItem.fontColor || fontColor;\n      ctx.fillStyle = legendItem.fontColor || fontColor;\n      const textWidth = ctx.measureText(legendItem.text).width;\n      const textAlign = rtlHelper.textAlign(legendItem.textAlign || (legendItem.textAlign = labelOpts.textAlign));\n      const width = boxWidth + halfFontSize + textWidth;\n      let x = cursor.x;\n      let y = cursor.y;\n      rtlHelper.setWidth(this.width);\n      if (isHorizontal) {\n        if (i > 0 && x + width + padding > this.right) {\n          y = cursor.y += lineHeight;\n          cursor.line++;\n          x = cursor.x = _alignStartEnd(align, this.left + padding, this.right - lineWidths[cursor.line]);\n        }\n      } else if (i > 0 && y + lineHeight > this.bottom) {\n        x = cursor.x = x + columnSizes[cursor.line].width + padding;\n        cursor.line++;\n        y = cursor.y = _alignStartEnd(align, this.top + titleHeight + padding, this.bottom - columnSizes[cursor.line].height);\n      }\n      const realX = rtlHelper.x(x);\n      drawLegendBox(realX, y, legendItem);\n      x = _textX(textAlign, x + boxWidth + halfFontSize, isHorizontal ? x + width : this.right, opts.rtl);\n      fillText(rtlHelper.x(x), y, legendItem);\n      if (isHorizontal) {\n        cursor.x += width + padding;\n      } else {\n        cursor.y += lineHeight;\n      }\n    });\n    restoreTextDirection(this.ctx, opts.textDirection);\n  }\n  drawTitle() {\n    const opts = this.options;\n    const titleOpts = opts.title;\n    const titleFont = toFont(titleOpts.font);\n    const titlePadding = toPadding(titleOpts.padding);\n    if (!titleOpts.display) {\n      return;\n    }\n    const rtlHelper = getRtlAdapter(opts.rtl, this.left, this.width);\n    const ctx = this.ctx;\n    const position = titleOpts.position;\n    const halfFontSize = titleFont.size / 2;\n    const topPaddingPlusHalfFontSize = titlePadding.top + halfFontSize;\n    let y;\n    let left = this.left;\n    let maxWidth = this.width;\n    if (this.isHorizontal()) {\n      maxWidth = Math.max(...this.lineWidths);\n      y = this.top + topPaddingPlusHalfFontSize;\n      left = _alignStartEnd(opts.align, left, this.right - maxWidth);\n    } else {\n      const maxHeight = this.columnSizes.reduce((acc, size) => Math.max(acc, size.height), 0);\n      y = topPaddingPlusHalfFontSize + _alignStartEnd(opts.align, this.top, this.bottom - maxHeight - opts.labels.padding - this._computeTitleHeight());\n    }\n    const x = _alignStartEnd(position, left, left + maxWidth);\n    ctx.textAlign = rtlHelper.textAlign(_toLeftRightCenter(position));\n    ctx.textBaseline = 'middle';\n    ctx.strokeStyle = titleOpts.color;\n    ctx.fillStyle = titleOpts.color;\n    ctx.font = titleFont.string;\n    renderText(ctx, titleOpts.text, x, y, titleFont);\n  }\n  _computeTitleHeight() {\n    const titleOpts = this.options.title;\n    const titleFont = toFont(titleOpts.font);\n    const titlePadding = toPadding(titleOpts.padding);\n    return titleOpts.display ? titleFont.lineHeight + titlePadding.height : 0;\n  }\n  _getLegendItemAt(x, y) {\n    let i, hitBox, lh;\n    if (_isBetween(x, this.left, this.right)\n      && _isBetween(y, this.top, this.bottom)) {\n      lh = this.legendHitBoxes;\n      for (i = 0; i < lh.length; ++i) {\n        hitBox = lh[i];\n        if (_isBetween(x, hitBox.left, hitBox.left + hitBox.width)\n          && _isBetween(y, hitBox.top, hitBox.top + hitBox.height)) {\n          return this.legendItems[i];\n        }\n      }\n    }\n    return null;\n  }\n  handleEvent(e) {\n    const opts = this.options;\n    if (!isListened(e.type, opts)) {\n      return;\n    }\n    const hoveredItem = this._getLegendItemAt(e.x, e.y);\n    if (e.type === 'mousemove' || e.type === 'mouseout') {\n      const previous = this._hoveredItem;\n      const sameItem = itemsEqual(previous, hoveredItem);\n      if (previous && !sameItem) {\n        callback(opts.onLeave, [e, previous, this], this);\n      }\n      this._hoveredItem = hoveredItem;\n      if (hoveredItem && !sameItem) {\n        callback(opts.onHover, [e, hoveredItem, this], this);\n      }\n    } else if (hoveredItem) {\n      callback(opts.onClick, [e, hoveredItem, this], this);\n    }\n  }\n}\nfunction isListened(type, opts) {\n  if ((type === 'mousemove' || type === 'mouseout') && (opts.onHover || opts.onLeave)) {\n    return true;\n  }\n  if (opts.onClick && (type === 'click' || type === 'mouseup')) {\n    return true;\n  }\n  return false;\n}\nvar plugin_legend = {\n  id: 'legend',\n  _element: Legend,\n  start(chart, _args, options) {\n    const legend = chart.legend = new Legend({ctx: chart.ctx, options, chart});\n    layouts.configure(chart, legend, options);\n    layouts.addBox(chart, legend);\n  },\n  stop(chart) {\n    layouts.removeBox(chart, chart.legend);\n    delete chart.legend;\n  },\n  beforeUpdate(chart, _args, options) {\n    const legend = chart.legend;\n    layouts.configure(chart, legend, options);\n    legend.options = options;\n  },\n  afterUpdate(chart) {\n    const legend = chart.legend;\n    legend.buildLabels();\n    legend.adjustHitBoxes();\n  },\n  afterEvent(chart, args) {\n    if (!args.replay) {\n      chart.legend.handleEvent(args.event);\n    }\n  },\n  defaults: {\n    display: true,\n    position: 'top',\n    align: 'center',\n    fullSize: true,\n    reverse: false,\n    weight: 1000,\n    onClick(e, legendItem, legend) {\n      const index = legendItem.datasetIndex;\n      const ci = legend.chart;\n      if (ci.isDatasetVisible(index)) {\n        ci.hide(index);\n        legendItem.hidden = true;\n      } else {\n        ci.show(index);\n        legendItem.hidden = false;\n      }\n    },\n    onHover: null,\n    onLeave: null,\n    labels: {\n      color: (ctx) => ctx.chart.options.color,\n      boxWidth: 40,\n      padding: 10,\n      generateLabels(chart) {\n        const datasets = chart.data.datasets;\n        const {labels: {usePointStyle, pointStyle, textAlign, color}} = chart.legend.options;\n        return chart._getSortedDatasetMetas().map((meta) => {\n          const style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\n          const borderWidth = toPadding(style.borderWidth);\n          return {\n            text: datasets[meta.index].label,\n            fillStyle: style.backgroundColor,\n            fontColor: color,\n            hidden: !meta.visible,\n            lineCap: style.borderCapStyle,\n            lineDash: style.borderDash,\n            lineDashOffset: style.borderDashOffset,\n            lineJoin: style.borderJoinStyle,\n            lineWidth: (borderWidth.width + borderWidth.height) / 4,\n            strokeStyle: style.borderColor,\n            pointStyle: pointStyle || style.pointStyle,\n            rotation: style.rotation,\n            textAlign: textAlign || style.textAlign,\n            borderRadius: 0,\n            datasetIndex: meta.index\n          };\n        }, this);\n      }\n    },\n    title: {\n      color: (ctx) => ctx.chart.options.color,\n      display: false,\n      position: 'center',\n      text: '',\n    }\n  },\n  descriptors: {\n    _scriptable: (name) => !name.startsWith('on'),\n    labels: {\n      _scriptable: (name) => !['generateLabels', 'filter', 'sort'].includes(name),\n    }\n  },\n};\n\nclass Title extends Element {\n  constructor(config) {\n    super();\n    this.chart = config.chart;\n    this.options = config.options;\n    this.ctx = config.ctx;\n    this._padding = undefined;\n    this.top = undefined;\n    this.bottom = undefined;\n    this.left = undefined;\n    this.right = undefined;\n    this.width = undefined;\n    this.height = undefined;\n    this.position = undefined;\n    this.weight = undefined;\n    this.fullSize = undefined;\n  }\n  update(maxWidth, maxHeight) {\n    const opts = this.options;\n    this.left = 0;\n    this.top = 0;\n    if (!opts.display) {\n      this.width = this.height = this.right = this.bottom = 0;\n      return;\n    }\n    this.width = this.right = maxWidth;\n    this.height = this.bottom = maxHeight;\n    const lineCount = isArray(opts.text) ? opts.text.length : 1;\n    this._padding = toPadding(opts.padding);\n    const textSize = lineCount * toFont(opts.font).lineHeight + this._padding.height;\n    if (this.isHorizontal()) {\n      this.height = textSize;\n    } else {\n      this.width = textSize;\n    }\n  }\n  isHorizontal() {\n    const pos = this.options.position;\n    return pos === 'top' || pos === 'bottom';\n  }\n  _drawArgs(offset) {\n    const {top, left, bottom, right, options} = this;\n    const align = options.align;\n    let rotation = 0;\n    let maxWidth, titleX, titleY;\n    if (this.isHorizontal()) {\n      titleX = _alignStartEnd(align, left, right);\n      titleY = top + offset;\n      maxWidth = right - left;\n    } else {\n      if (options.position === 'left') {\n        titleX = left + offset;\n        titleY = _alignStartEnd(align, bottom, top);\n        rotation = PI * -0.5;\n      } else {\n        titleX = right - offset;\n        titleY = _alignStartEnd(align, top, bottom);\n        rotation = PI * 0.5;\n      }\n      maxWidth = bottom - top;\n    }\n    return {titleX, titleY, maxWidth, rotation};\n  }\n  draw() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    if (!opts.display) {\n      return;\n    }\n    const fontOpts = toFont(opts.font);\n    const lineHeight = fontOpts.lineHeight;\n    const offset = lineHeight / 2 + this._padding.top;\n    const {titleX, titleY, maxWidth, rotation} = this._drawArgs(offset);\n    renderText(ctx, opts.text, 0, 0, fontOpts, {\n      color: opts.color,\n      maxWidth,\n      rotation,\n      textAlign: _toLeftRightCenter(opts.align),\n      textBaseline: 'middle',\n      translation: [titleX, titleY],\n    });\n  }\n}\nfunction createTitle(chart, titleOpts) {\n  const title = new Title({\n    ctx: chart.ctx,\n    options: titleOpts,\n    chart\n  });\n  layouts.configure(chart, title, titleOpts);\n  layouts.addBox(chart, title);\n  chart.titleBlock = title;\n}\nvar plugin_title = {\n  id: 'title',\n  _element: Title,\n  start(chart, _args, options) {\n    createTitle(chart, options);\n  },\n  stop(chart) {\n    const titleBlock = chart.titleBlock;\n    layouts.removeBox(chart, titleBlock);\n    delete chart.titleBlock;\n  },\n  beforeUpdate(chart, _args, options) {\n    const title = chart.titleBlock;\n    layouts.configure(chart, title, options);\n    title.options = options;\n  },\n  defaults: {\n    align: 'center',\n    display: false,\n    font: {\n      weight: 'bold',\n    },\n    fullSize: true,\n    padding: 10,\n    position: 'top',\n    text: '',\n    weight: 2000\n  },\n  defaultRoutes: {\n    color: 'color'\n  },\n  descriptors: {\n    _scriptable: true,\n    _indexable: false,\n  },\n};\n\nconst map = new WeakMap();\nvar plugin_subtitle = {\n  id: 'subtitle',\n  start(chart, _args, options) {\n    const title = new Title({\n      ctx: chart.ctx,\n      options,\n      chart\n    });\n    layouts.configure(chart, title, options);\n    layouts.addBox(chart, title);\n    map.set(chart, title);\n  },\n  stop(chart) {\n    layouts.removeBox(chart, map.get(chart));\n    map.delete(chart);\n  },\n  beforeUpdate(chart, _args, options) {\n    const title = map.get(chart);\n    layouts.configure(chart, title, options);\n    title.options = options;\n  },\n  defaults: {\n    align: 'center',\n    display: false,\n    font: {\n      weight: 'normal',\n    },\n    fullSize: true,\n    padding: 0,\n    position: 'top',\n    text: '',\n    weight: 1500\n  },\n  defaultRoutes: {\n    color: 'color'\n  },\n  descriptors: {\n    _scriptable: true,\n    _indexable: false,\n  },\n};\n\nconst positioners = {\n  average(items) {\n    if (!items.length) {\n      return false;\n    }\n    let i, len;\n    let x = 0;\n    let y = 0;\n    let count = 0;\n    for (i = 0, len = items.length; i < len; ++i) {\n      const el = items[i].element;\n      if (el && el.hasValue()) {\n        const pos = el.tooltipPosition();\n        x += pos.x;\n        y += pos.y;\n        ++count;\n      }\n    }\n    return {\n      x: x / count,\n      y: y / count\n    };\n  },\n  nearest(items, eventPosition) {\n    if (!items.length) {\n      return false;\n    }\n    let x = eventPosition.x;\n    let y = eventPosition.y;\n    let minDistance = Number.POSITIVE_INFINITY;\n    let i, len, nearestElement;\n    for (i = 0, len = items.length; i < len; ++i) {\n      const el = items[i].element;\n      if (el && el.hasValue()) {\n        const center = el.getCenterPoint();\n        const d = distanceBetweenPoints(eventPosition, center);\n        if (d < minDistance) {\n          minDistance = d;\n          nearestElement = el;\n        }\n      }\n    }\n    if (nearestElement) {\n      const tp = nearestElement.tooltipPosition();\n      x = tp.x;\n      y = tp.y;\n    }\n    return {\n      x,\n      y\n    };\n  }\n};\nfunction pushOrConcat(base, toPush) {\n  if (toPush) {\n    if (isArray(toPush)) {\n      Array.prototype.push.apply(base, toPush);\n    } else {\n      base.push(toPush);\n    }\n  }\n  return base;\n}\nfunction splitNewlines(str) {\n  if ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\n    return str.split('\\n');\n  }\n  return str;\n}\nfunction createTooltipItem(chart, item) {\n  const {element, datasetIndex, index} = item;\n  const controller = chart.getDatasetMeta(datasetIndex).controller;\n  const {label, value} = controller.getLabelAndValue(index);\n  return {\n    chart,\n    label,\n    parsed: controller.getParsed(index),\n    raw: chart.data.datasets[datasetIndex].data[index],\n    formattedValue: value,\n    dataset: controller.getDataset(),\n    dataIndex: index,\n    datasetIndex,\n    element\n  };\n}\nfunction getTooltipSize(tooltip, options) {\n  const ctx = tooltip.chart.ctx;\n  const {body, footer, title} = tooltip;\n  const {boxWidth, boxHeight} = options;\n  const bodyFont = toFont(options.bodyFont);\n  const titleFont = toFont(options.titleFont);\n  const footerFont = toFont(options.footerFont);\n  const titleLineCount = title.length;\n  const footerLineCount = footer.length;\n  const bodyLineItemCount = body.length;\n  const padding = toPadding(options.padding);\n  let height = padding.height;\n  let width = 0;\n  let combinedBodyLength = body.reduce((count, bodyItem) => count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length, 0);\n  combinedBodyLength += tooltip.beforeBody.length + tooltip.afterBody.length;\n  if (titleLineCount) {\n    height += titleLineCount * titleFont.lineHeight\n\t\t\t+ (titleLineCount - 1) * options.titleSpacing\n\t\t\t+ options.titleMarginBottom;\n  }\n  if (combinedBodyLength) {\n    const bodyLineHeight = options.displayColors ? Math.max(boxHeight, bodyFont.lineHeight) : bodyFont.lineHeight;\n    height += bodyLineItemCount * bodyLineHeight\n\t\t\t+ (combinedBodyLength - bodyLineItemCount) * bodyFont.lineHeight\n\t\t\t+ (combinedBodyLength - 1) * options.bodySpacing;\n  }\n  if (footerLineCount) {\n    height += options.footerMarginTop\n\t\t\t+ footerLineCount * footerFont.lineHeight\n\t\t\t+ (footerLineCount - 1) * options.footerSpacing;\n  }\n  let widthPadding = 0;\n  const maxLineWidth = function(line) {\n    width = Math.max(width, ctx.measureText(line).width + widthPadding);\n  };\n  ctx.save();\n  ctx.font = titleFont.string;\n  each(tooltip.title, maxLineWidth);\n  ctx.font = bodyFont.string;\n  each(tooltip.beforeBody.concat(tooltip.afterBody), maxLineWidth);\n  widthPadding = options.displayColors ? (boxWidth + 2 + options.boxPadding) : 0;\n  each(body, (bodyItem) => {\n    each(bodyItem.before, maxLineWidth);\n    each(bodyItem.lines, maxLineWidth);\n    each(bodyItem.after, maxLineWidth);\n  });\n  widthPadding = 0;\n  ctx.font = footerFont.string;\n  each(tooltip.footer, maxLineWidth);\n  ctx.restore();\n  width += padding.width;\n  return {width, height};\n}\nfunction determineYAlign(chart, size) {\n  const {y, height} = size;\n  if (y < height / 2) {\n    return 'top';\n  } else if (y > (chart.height - height / 2)) {\n    return 'bottom';\n  }\n  return 'center';\n}\nfunction doesNotFitWithAlign(xAlign, chart, options, size) {\n  const {x, width} = size;\n  const caret = options.caretSize + options.caretPadding;\n  if (xAlign === 'left' && x + width + caret > chart.width) {\n    return true;\n  }\n  if (xAlign === 'right' && x - width - caret < 0) {\n    return true;\n  }\n}\nfunction determineXAlign(chart, options, size, yAlign) {\n  const {x, width} = size;\n  const {width: chartWidth, chartArea: {left, right}} = chart;\n  let xAlign = 'center';\n  if (yAlign === 'center') {\n    xAlign = x <= (left + right) / 2 ? 'left' : 'right';\n  } else if (x <= width / 2) {\n    xAlign = 'left';\n  } else if (x >= chartWidth - width / 2) {\n    xAlign = 'right';\n  }\n  if (doesNotFitWithAlign(xAlign, chart, options, size)) {\n    xAlign = 'center';\n  }\n  return xAlign;\n}\nfunction determineAlignment(chart, options, size) {\n  const yAlign = size.yAlign || options.yAlign || determineYAlign(chart, size);\n  return {\n    xAlign: size.xAlign || options.xAlign || determineXAlign(chart, options, size, yAlign),\n    yAlign\n  };\n}\nfunction alignX(size, xAlign) {\n  let {x, width} = size;\n  if (xAlign === 'right') {\n    x -= width;\n  } else if (xAlign === 'center') {\n    x -= (width / 2);\n  }\n  return x;\n}\nfunction alignY(size, yAlign, paddingAndSize) {\n  let {y, height} = size;\n  if (yAlign === 'top') {\n    y += paddingAndSize;\n  } else if (yAlign === 'bottom') {\n    y -= height + paddingAndSize;\n  } else {\n    y -= (height / 2);\n  }\n  return y;\n}\nfunction getBackgroundPoint(options, size, alignment, chart) {\n  const {caretSize, caretPadding, cornerRadius} = options;\n  const {xAlign, yAlign} = alignment;\n  const paddingAndSize = caretSize + caretPadding;\n  const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(cornerRadius);\n  let x = alignX(size, xAlign);\n  const y = alignY(size, yAlign, paddingAndSize);\n  if (yAlign === 'center') {\n    if (xAlign === 'left') {\n      x += paddingAndSize;\n    } else if (xAlign === 'right') {\n      x -= paddingAndSize;\n    }\n  } else if (xAlign === 'left') {\n    x -= Math.max(topLeft, bottomLeft) + caretSize;\n  } else if (xAlign === 'right') {\n    x += Math.max(topRight, bottomRight) + caretSize;\n  }\n  return {\n    x: _limitValue(x, 0, chart.width - size.width),\n    y: _limitValue(y, 0, chart.height - size.height)\n  };\n}\nfunction getAlignedX(tooltip, align, options) {\n  const padding = toPadding(options.padding);\n  return align === 'center'\n    ? tooltip.x + tooltip.width / 2\n    : align === 'right'\n      ? tooltip.x + tooltip.width - padding.right\n      : tooltip.x + padding.left;\n}\nfunction getBeforeAfterBodyLines(callback) {\n  return pushOrConcat([], splitNewlines(callback));\n}\nfunction createTooltipContext(parent, tooltip, tooltipItems) {\n  return createContext(parent, {\n    tooltip,\n    tooltipItems,\n    type: 'tooltip'\n  });\n}\nfunction overrideCallbacks(callbacks, context) {\n  const override = context && context.dataset && context.dataset.tooltip && context.dataset.tooltip.callbacks;\n  return override ? callbacks.override(override) : callbacks;\n}\nclass Tooltip extends Element {\n  constructor(config) {\n    super();\n    this.opacity = 0;\n    this._active = [];\n    this._eventPosition = undefined;\n    this._size = undefined;\n    this._cachedAnimations = undefined;\n    this._tooltipItems = [];\n    this.$animations = undefined;\n    this.$context = undefined;\n    this.chart = config.chart || config._chart;\n    this._chart = this.chart;\n    this.options = config.options;\n    this.dataPoints = undefined;\n    this.title = undefined;\n    this.beforeBody = undefined;\n    this.body = undefined;\n    this.afterBody = undefined;\n    this.footer = undefined;\n    this.xAlign = undefined;\n    this.yAlign = undefined;\n    this.x = undefined;\n    this.y = undefined;\n    this.height = undefined;\n    this.width = undefined;\n    this.caretX = undefined;\n    this.caretY = undefined;\n    this.labelColors = undefined;\n    this.labelPointStyles = undefined;\n    this.labelTextColors = undefined;\n  }\n  initialize(options) {\n    this.options = options;\n    this._cachedAnimations = undefined;\n    this.$context = undefined;\n  }\n  _resolveAnimations() {\n    const cached = this._cachedAnimations;\n    if (cached) {\n      return cached;\n    }\n    const chart = this.chart;\n    const options = this.options.setContext(this.getContext());\n    const opts = options.enabled && chart.options.animation && options.animations;\n    const animations = new Animations(this.chart, opts);\n    if (opts._cacheable) {\n      this._cachedAnimations = Object.freeze(animations);\n    }\n    return animations;\n  }\n  getContext() {\n    return this.$context ||\n\t\t\t(this.$context = createTooltipContext(this.chart.getContext(), this, this._tooltipItems));\n  }\n  getTitle(context, options) {\n    const {callbacks} = options;\n    const beforeTitle = callbacks.beforeTitle.apply(this, [context]);\n    const title = callbacks.title.apply(this, [context]);\n    const afterTitle = callbacks.afterTitle.apply(this, [context]);\n    let lines = [];\n    lines = pushOrConcat(lines, splitNewlines(beforeTitle));\n    lines = pushOrConcat(lines, splitNewlines(title));\n    lines = pushOrConcat(lines, splitNewlines(afterTitle));\n    return lines;\n  }\n  getBeforeBody(tooltipItems, options) {\n    return getBeforeAfterBodyLines(options.callbacks.beforeBody.apply(this, [tooltipItems]));\n  }\n  getBody(tooltipItems, options) {\n    const {callbacks} = options;\n    const bodyItems = [];\n    each(tooltipItems, (context) => {\n      const bodyItem = {\n        before: [],\n        lines: [],\n        after: []\n      };\n      const scoped = overrideCallbacks(callbacks, context);\n      pushOrConcat(bodyItem.before, splitNewlines(scoped.beforeLabel.call(this, context)));\n      pushOrConcat(bodyItem.lines, scoped.label.call(this, context));\n      pushOrConcat(bodyItem.after, splitNewlines(scoped.afterLabel.call(this, context)));\n      bodyItems.push(bodyItem);\n    });\n    return bodyItems;\n  }\n  getAfterBody(tooltipItems, options) {\n    return getBeforeAfterBodyLines(options.callbacks.afterBody.apply(this, [tooltipItems]));\n  }\n  getFooter(tooltipItems, options) {\n    const {callbacks} = options;\n    const beforeFooter = callbacks.beforeFooter.apply(this, [tooltipItems]);\n    const footer = callbacks.footer.apply(this, [tooltipItems]);\n    const afterFooter = callbacks.afterFooter.apply(this, [tooltipItems]);\n    let lines = [];\n    lines = pushOrConcat(lines, splitNewlines(beforeFooter));\n    lines = pushOrConcat(lines, splitNewlines(footer));\n    lines = pushOrConcat(lines, splitNewlines(afterFooter));\n    return lines;\n  }\n  _createItems(options) {\n    const active = this._active;\n    const data = this.chart.data;\n    const labelColors = [];\n    const labelPointStyles = [];\n    const labelTextColors = [];\n    let tooltipItems = [];\n    let i, len;\n    for (i = 0, len = active.length; i < len; ++i) {\n      tooltipItems.push(createTooltipItem(this.chart, active[i]));\n    }\n    if (options.filter) {\n      tooltipItems = tooltipItems.filter((element, index, array) => options.filter(element, index, array, data));\n    }\n    if (options.itemSort) {\n      tooltipItems = tooltipItems.sort((a, b) => options.itemSort(a, b, data));\n    }\n    each(tooltipItems, (context) => {\n      const scoped = overrideCallbacks(options.callbacks, context);\n      labelColors.push(scoped.labelColor.call(this, context));\n      labelPointStyles.push(scoped.labelPointStyle.call(this, context));\n      labelTextColors.push(scoped.labelTextColor.call(this, context));\n    });\n    this.labelColors = labelColors;\n    this.labelPointStyles = labelPointStyles;\n    this.labelTextColors = labelTextColors;\n    this.dataPoints = tooltipItems;\n    return tooltipItems;\n  }\n  update(changed, replay) {\n    const options = this.options.setContext(this.getContext());\n    const active = this._active;\n    let properties;\n    let tooltipItems = [];\n    if (!active.length) {\n      if (this.opacity !== 0) {\n        properties = {\n          opacity: 0\n        };\n      }\n    } else {\n      const position = positioners[options.position].call(this, active, this._eventPosition);\n      tooltipItems = this._createItems(options);\n      this.title = this.getTitle(tooltipItems, options);\n      this.beforeBody = this.getBeforeBody(tooltipItems, options);\n      this.body = this.getBody(tooltipItems, options);\n      this.afterBody = this.getAfterBody(tooltipItems, options);\n      this.footer = this.getFooter(tooltipItems, options);\n      const size = this._size = getTooltipSize(this, options);\n      const positionAndSize = Object.assign({}, position, size);\n      const alignment = determineAlignment(this.chart, options, positionAndSize);\n      const backgroundPoint = getBackgroundPoint(options, positionAndSize, alignment, this.chart);\n      this.xAlign = alignment.xAlign;\n      this.yAlign = alignment.yAlign;\n      properties = {\n        opacity: 1,\n        x: backgroundPoint.x,\n        y: backgroundPoint.y,\n        width: size.width,\n        height: size.height,\n        caretX: position.x,\n        caretY: position.y\n      };\n    }\n    this._tooltipItems = tooltipItems;\n    this.$context = undefined;\n    if (properties) {\n      this._resolveAnimations().update(this, properties);\n    }\n    if (changed && options.external) {\n      options.external.call(this, {chart: this.chart, tooltip: this, replay});\n    }\n  }\n  drawCaret(tooltipPoint, ctx, size, options) {\n    const caretPosition = this.getCaretPosition(tooltipPoint, size, options);\n    ctx.lineTo(caretPosition.x1, caretPosition.y1);\n    ctx.lineTo(caretPosition.x2, caretPosition.y2);\n    ctx.lineTo(caretPosition.x3, caretPosition.y3);\n  }\n  getCaretPosition(tooltipPoint, size, options) {\n    const {xAlign, yAlign} = this;\n    const {caretSize, cornerRadius} = options;\n    const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(cornerRadius);\n    const {x: ptX, y: ptY} = tooltipPoint;\n    const {width, height} = size;\n    let x1, x2, x3, y1, y2, y3;\n    if (yAlign === 'center') {\n      y2 = ptY + (height / 2);\n      if (xAlign === 'left') {\n        x1 = ptX;\n        x2 = x1 - caretSize;\n        y1 = y2 + caretSize;\n        y3 = y2 - caretSize;\n      } else {\n        x1 = ptX + width;\n        x2 = x1 + caretSize;\n        y1 = y2 - caretSize;\n        y3 = y2 + caretSize;\n      }\n      x3 = x1;\n    } else {\n      if (xAlign === 'left') {\n        x2 = ptX + Math.max(topLeft, bottomLeft) + (caretSize);\n      } else if (xAlign === 'right') {\n        x2 = ptX + width - Math.max(topRight, bottomRight) - caretSize;\n      } else {\n        x2 = this.caretX;\n      }\n      if (yAlign === 'top') {\n        y1 = ptY;\n        y2 = y1 - caretSize;\n        x1 = x2 - caretSize;\n        x3 = x2 + caretSize;\n      } else {\n        y1 = ptY + height;\n        y2 = y1 + caretSize;\n        x1 = x2 + caretSize;\n        x3 = x2 - caretSize;\n      }\n      y3 = y1;\n    }\n    return {x1, x2, x3, y1, y2, y3};\n  }\n  drawTitle(pt, ctx, options) {\n    const title = this.title;\n    const length = title.length;\n    let titleFont, titleSpacing, i;\n    if (length) {\n      const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n      pt.x = getAlignedX(this, options.titleAlign, options);\n      ctx.textAlign = rtlHelper.textAlign(options.titleAlign);\n      ctx.textBaseline = 'middle';\n      titleFont = toFont(options.titleFont);\n      titleSpacing = options.titleSpacing;\n      ctx.fillStyle = options.titleColor;\n      ctx.font = titleFont.string;\n      for (i = 0; i < length; ++i) {\n        ctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFont.lineHeight / 2);\n        pt.y += titleFont.lineHeight + titleSpacing;\n        if (i + 1 === length) {\n          pt.y += options.titleMarginBottom - titleSpacing;\n        }\n      }\n    }\n  }\n  _drawColorBox(ctx, pt, i, rtlHelper, options) {\n    const labelColors = this.labelColors[i];\n    const labelPointStyle = this.labelPointStyles[i];\n    const {boxHeight, boxWidth, boxPadding} = options;\n    const bodyFont = toFont(options.bodyFont);\n    const colorX = getAlignedX(this, 'left', options);\n    const rtlColorX = rtlHelper.x(colorX);\n    const yOffSet = boxHeight < bodyFont.lineHeight ? (bodyFont.lineHeight - boxHeight) / 2 : 0;\n    const colorY = pt.y + yOffSet;\n    if (options.usePointStyle) {\n      const drawOptions = {\n        radius: Math.min(boxWidth, boxHeight) / 2,\n        pointStyle: labelPointStyle.pointStyle,\n        rotation: labelPointStyle.rotation,\n        borderWidth: 1\n      };\n      const centerX = rtlHelper.leftForLtr(rtlColorX, boxWidth) + boxWidth / 2;\n      const centerY = colorY + boxHeight / 2;\n      ctx.strokeStyle = options.multiKeyBackground;\n      ctx.fillStyle = options.multiKeyBackground;\n      drawPoint(ctx, drawOptions, centerX, centerY);\n      ctx.strokeStyle = labelColors.borderColor;\n      ctx.fillStyle = labelColors.backgroundColor;\n      drawPoint(ctx, drawOptions, centerX, centerY);\n    } else {\n      ctx.lineWidth = isObject(labelColors.borderWidth) ? Math.max(...Object.values(labelColors.borderWidth)) : (labelColors.borderWidth || 1);\n      ctx.strokeStyle = labelColors.borderColor;\n      ctx.setLineDash(labelColors.borderDash || []);\n      ctx.lineDashOffset = labelColors.borderDashOffset || 0;\n      const outerX = rtlHelper.leftForLtr(rtlColorX, boxWidth - boxPadding);\n      const innerX = rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), boxWidth - boxPadding - 2);\n      const borderRadius = toTRBLCorners(labelColors.borderRadius);\n      if (Object.values(borderRadius).some(v => v !== 0)) {\n        ctx.beginPath();\n        ctx.fillStyle = options.multiKeyBackground;\n        addRoundedRectPath(ctx, {\n          x: outerX,\n          y: colorY,\n          w: boxWidth,\n          h: boxHeight,\n          radius: borderRadius,\n        });\n        ctx.fill();\n        ctx.stroke();\n        ctx.fillStyle = labelColors.backgroundColor;\n        ctx.beginPath();\n        addRoundedRectPath(ctx, {\n          x: innerX,\n          y: colorY + 1,\n          w: boxWidth - 2,\n          h: boxHeight - 2,\n          radius: borderRadius,\n        });\n        ctx.fill();\n      } else {\n        ctx.fillStyle = options.multiKeyBackground;\n        ctx.fillRect(outerX, colorY, boxWidth, boxHeight);\n        ctx.strokeRect(outerX, colorY, boxWidth, boxHeight);\n        ctx.fillStyle = labelColors.backgroundColor;\n        ctx.fillRect(innerX, colorY + 1, boxWidth - 2, boxHeight - 2);\n      }\n    }\n    ctx.fillStyle = this.labelTextColors[i];\n  }\n  drawBody(pt, ctx, options) {\n    const {body} = this;\n    const {bodySpacing, bodyAlign, displayColors, boxHeight, boxWidth, boxPadding} = options;\n    const bodyFont = toFont(options.bodyFont);\n    let bodyLineHeight = bodyFont.lineHeight;\n    let xLinePadding = 0;\n    const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n    const fillLineOfText = function(line) {\n      ctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyLineHeight / 2);\n      pt.y += bodyLineHeight + bodySpacing;\n    };\n    const bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\n    let bodyItem, textColor, lines, i, j, ilen, jlen;\n    ctx.textAlign = bodyAlign;\n    ctx.textBaseline = 'middle';\n    ctx.font = bodyFont.string;\n    pt.x = getAlignedX(this, bodyAlignForCalculation, options);\n    ctx.fillStyle = options.bodyColor;\n    each(this.beforeBody, fillLineOfText);\n    xLinePadding = displayColors && bodyAlignForCalculation !== 'right'\n      ? bodyAlign === 'center' ? (boxWidth / 2 + boxPadding) : (boxWidth + 2 + boxPadding)\n      : 0;\n    for (i = 0, ilen = body.length; i < ilen; ++i) {\n      bodyItem = body[i];\n      textColor = this.labelTextColors[i];\n      ctx.fillStyle = textColor;\n      each(bodyItem.before, fillLineOfText);\n      lines = bodyItem.lines;\n      if (displayColors && lines.length) {\n        this._drawColorBox(ctx, pt, i, rtlHelper, options);\n        bodyLineHeight = Math.max(bodyFont.lineHeight, boxHeight);\n      }\n      for (j = 0, jlen = lines.length; j < jlen; ++j) {\n        fillLineOfText(lines[j]);\n        bodyLineHeight = bodyFont.lineHeight;\n      }\n      each(bodyItem.after, fillLineOfText);\n    }\n    xLinePadding = 0;\n    bodyLineHeight = bodyFont.lineHeight;\n    each(this.afterBody, fillLineOfText);\n    pt.y -= bodySpacing;\n  }\n  drawFooter(pt, ctx, options) {\n    const footer = this.footer;\n    const length = footer.length;\n    let footerFont, i;\n    if (length) {\n      const rtlHelper = getRtlAdapter(options.rtl, this.x, this.width);\n      pt.x = getAlignedX(this, options.footerAlign, options);\n      pt.y += options.footerMarginTop;\n      ctx.textAlign = rtlHelper.textAlign(options.footerAlign);\n      ctx.textBaseline = 'middle';\n      footerFont = toFont(options.footerFont);\n      ctx.fillStyle = options.footerColor;\n      ctx.font = footerFont.string;\n      for (i = 0; i < length; ++i) {\n        ctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFont.lineHeight / 2);\n        pt.y += footerFont.lineHeight + options.footerSpacing;\n      }\n    }\n  }\n  drawBackground(pt, ctx, tooltipSize, options) {\n    const {xAlign, yAlign} = this;\n    const {x, y} = pt;\n    const {width, height} = tooltipSize;\n    const {topLeft, topRight, bottomLeft, bottomRight} = toTRBLCorners(options.cornerRadius);\n    ctx.fillStyle = options.backgroundColor;\n    ctx.strokeStyle = options.borderColor;\n    ctx.lineWidth = options.borderWidth;\n    ctx.beginPath();\n    ctx.moveTo(x + topLeft, y);\n    if (yAlign === 'top') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + width - topRight, y);\n    ctx.quadraticCurveTo(x + width, y, x + width, y + topRight);\n    if (yAlign === 'center' && xAlign === 'right') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + width, y + height - bottomRight);\n    ctx.quadraticCurveTo(x + width, y + height, x + width - bottomRight, y + height);\n    if (yAlign === 'bottom') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x + bottomLeft, y + height);\n    ctx.quadraticCurveTo(x, y + height, x, y + height - bottomLeft);\n    if (yAlign === 'center' && xAlign === 'left') {\n      this.drawCaret(pt, ctx, tooltipSize, options);\n    }\n    ctx.lineTo(x, y + topLeft);\n    ctx.quadraticCurveTo(x, y, x + topLeft, y);\n    ctx.closePath();\n    ctx.fill();\n    if (options.borderWidth > 0) {\n      ctx.stroke();\n    }\n  }\n  _updateAnimationTarget(options) {\n    const chart = this.chart;\n    const anims = this.$animations;\n    const animX = anims && anims.x;\n    const animY = anims && anims.y;\n    if (animX || animY) {\n      const position = positioners[options.position].call(this, this._active, this._eventPosition);\n      if (!position) {\n        return;\n      }\n      const size = this._size = getTooltipSize(this, options);\n      const positionAndSize = Object.assign({}, position, this._size);\n      const alignment = determineAlignment(chart, options, positionAndSize);\n      const point = getBackgroundPoint(options, positionAndSize, alignment, chart);\n      if (animX._to !== point.x || animY._to !== point.y) {\n        this.xAlign = alignment.xAlign;\n        this.yAlign = alignment.yAlign;\n        this.width = size.width;\n        this.height = size.height;\n        this.caretX = position.x;\n        this.caretY = position.y;\n        this._resolveAnimations().update(this, point);\n      }\n    }\n  }\n  _willRender() {\n    return !!this.opacity;\n  }\n  draw(ctx) {\n    const options = this.options.setContext(this.getContext());\n    let opacity = this.opacity;\n    if (!opacity) {\n      return;\n    }\n    this._updateAnimationTarget(options);\n    const tooltipSize = {\n      width: this.width,\n      height: this.height\n    };\n    const pt = {\n      x: this.x,\n      y: this.y\n    };\n    opacity = Math.abs(opacity) < 1e-3 ? 0 : opacity;\n    const padding = toPadding(options.padding);\n    const hasTooltipContent = this.title.length || this.beforeBody.length || this.body.length || this.afterBody.length || this.footer.length;\n    if (options.enabled && hasTooltipContent) {\n      ctx.save();\n      ctx.globalAlpha = opacity;\n      this.drawBackground(pt, ctx, tooltipSize, options);\n      overrideTextDirection(ctx, options.textDirection);\n      pt.y += padding.top;\n      this.drawTitle(pt, ctx, options);\n      this.drawBody(pt, ctx, options);\n      this.drawFooter(pt, ctx, options);\n      restoreTextDirection(ctx, options.textDirection);\n      ctx.restore();\n    }\n  }\n  getActiveElements() {\n    return this._active || [];\n  }\n  setActiveElements(activeElements, eventPosition) {\n    const lastActive = this._active;\n    const active = activeElements.map(({datasetIndex, index}) => {\n      const meta = this.chart.getDatasetMeta(datasetIndex);\n      if (!meta) {\n        throw new Error('Cannot find a dataset at index ' + datasetIndex);\n      }\n      return {\n        datasetIndex,\n        element: meta.data[index],\n        index,\n      };\n    });\n    const changed = !_elementsEqual(lastActive, active);\n    const positionChanged = this._positionChanged(active, eventPosition);\n    if (changed || positionChanged) {\n      this._active = active;\n      this._eventPosition = eventPosition;\n      this._ignoreReplayEvents = true;\n      this.update(true);\n    }\n  }\n  handleEvent(e, replay, inChartArea = true) {\n    if (replay && this._ignoreReplayEvents) {\n      return false;\n    }\n    this._ignoreReplayEvents = false;\n    const options = this.options;\n    const lastActive = this._active || [];\n    const active = this._getActiveElements(e, lastActive, replay, inChartArea);\n    const positionChanged = this._positionChanged(active, e);\n    const changed = replay || !_elementsEqual(active, lastActive) || positionChanged;\n    if (changed) {\n      this._active = active;\n      if (options.enabled || options.external) {\n        this._eventPosition = {\n          x: e.x,\n          y: e.y\n        };\n        this.update(true, replay);\n      }\n    }\n    return changed;\n  }\n  _getActiveElements(e, lastActive, replay, inChartArea) {\n    const options = this.options;\n    if (e.type === 'mouseout') {\n      return [];\n    }\n    if (!inChartArea) {\n      return lastActive;\n    }\n    const active = this.chart.getElementsAtEventForMode(e, options.mode, options, replay);\n    if (options.reverse) {\n      active.reverse();\n    }\n    return active;\n  }\n  _positionChanged(active, e) {\n    const {caretX, caretY, options} = this;\n    const position = positioners[options.position].call(this, active, e);\n    return position !== false && (caretX !== position.x || caretY !== position.y);\n  }\n}\nTooltip.positioners = positioners;\nvar plugin_tooltip = {\n  id: 'tooltip',\n  _element: Tooltip,\n  positioners,\n  afterInit(chart, _args, options) {\n    if (options) {\n      chart.tooltip = new Tooltip({chart, options});\n    }\n  },\n  beforeUpdate(chart, _args, options) {\n    if (chart.tooltip) {\n      chart.tooltip.initialize(options);\n    }\n  },\n  reset(chart, _args, options) {\n    if (chart.tooltip) {\n      chart.tooltip.initialize(options);\n    }\n  },\n  afterDraw(chart) {\n    const tooltip = chart.tooltip;\n    if (tooltip && tooltip._willRender()) {\n      const args = {\n        tooltip\n      };\n      if (chart.notifyPlugins('beforeTooltipDraw', args) === false) {\n        return;\n      }\n      tooltip.draw(chart.ctx);\n      chart.notifyPlugins('afterTooltipDraw', args);\n    }\n  },\n  afterEvent(chart, args) {\n    if (chart.tooltip) {\n      const useFinalPosition = args.replay;\n      if (chart.tooltip.handleEvent(args.event, useFinalPosition, args.inChartArea)) {\n        args.changed = true;\n      }\n    }\n  },\n  defaults: {\n    enabled: true,\n    external: null,\n    position: 'average',\n    backgroundColor: 'rgba(0,0,0,0.8)',\n    titleColor: '#fff',\n    titleFont: {\n      weight: 'bold',\n    },\n    titleSpacing: 2,\n    titleMarginBottom: 6,\n    titleAlign: 'left',\n    bodyColor: '#fff',\n    bodySpacing: 2,\n    bodyFont: {\n    },\n    bodyAlign: 'left',\n    footerColor: '#fff',\n    footerSpacing: 2,\n    footerMarginTop: 6,\n    footerFont: {\n      weight: 'bold',\n    },\n    footerAlign: 'left',\n    padding: 6,\n    caretPadding: 2,\n    caretSize: 5,\n    cornerRadius: 6,\n    boxHeight: (ctx, opts) => opts.bodyFont.size,\n    boxWidth: (ctx, opts) => opts.bodyFont.size,\n    multiKeyBackground: '#fff',\n    displayColors: true,\n    boxPadding: 0,\n    borderColor: 'rgba(0,0,0,0)',\n    borderWidth: 0,\n    animation: {\n      duration: 400,\n      easing: 'easeOutQuart',\n    },\n    animations: {\n      numbers: {\n        type: 'number',\n        properties: ['x', 'y', 'width', 'height', 'caretX', 'caretY'],\n      },\n      opacity: {\n        easing: 'linear',\n        duration: 200\n      }\n    },\n    callbacks: {\n      beforeTitle: noop,\n      title(tooltipItems) {\n        if (tooltipItems.length > 0) {\n          const item = tooltipItems[0];\n          const labels = item.chart.data.labels;\n          const labelCount = labels ? labels.length : 0;\n          if (this && this.options && this.options.mode === 'dataset') {\n            return item.dataset.label || '';\n          } else if (item.label) {\n            return item.label;\n          } else if (labelCount > 0 && item.dataIndex < labelCount) {\n            return labels[item.dataIndex];\n          }\n        }\n        return '';\n      },\n      afterTitle: noop,\n      beforeBody: noop,\n      beforeLabel: noop,\n      label(tooltipItem) {\n        if (this && this.options && this.options.mode === 'dataset') {\n          return tooltipItem.label + ': ' + tooltipItem.formattedValue || tooltipItem.formattedValue;\n        }\n        let label = tooltipItem.dataset.label || '';\n        if (label) {\n          label += ': ';\n        }\n        const value = tooltipItem.formattedValue;\n        if (!isNullOrUndef(value)) {\n          label += value;\n        }\n        return label;\n      },\n      labelColor(tooltipItem) {\n        const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex);\n        const options = meta.controller.getStyle(tooltipItem.dataIndex);\n        return {\n          borderColor: options.borderColor,\n          backgroundColor: options.backgroundColor,\n          borderWidth: options.borderWidth,\n          borderDash: options.borderDash,\n          borderDashOffset: options.borderDashOffset,\n          borderRadius: 0,\n        };\n      },\n      labelTextColor() {\n        return this.options.bodyColor;\n      },\n      labelPointStyle(tooltipItem) {\n        const meta = tooltipItem.chart.getDatasetMeta(tooltipItem.datasetIndex);\n        const options = meta.controller.getStyle(tooltipItem.dataIndex);\n        return {\n          pointStyle: options.pointStyle,\n          rotation: options.rotation,\n        };\n      },\n      afterLabel: noop,\n      afterBody: noop,\n      beforeFooter: noop,\n      footer: noop,\n      afterFooter: noop\n    }\n  },\n  defaultRoutes: {\n    bodyFont: 'font',\n    footerFont: 'font',\n    titleFont: 'font'\n  },\n  descriptors: {\n    _scriptable: (name) => name !== 'filter' && name !== 'itemSort' && name !== 'external',\n    _indexable: false,\n    callbacks: {\n      _scriptable: false,\n      _indexable: false,\n    },\n    animation: {\n      _fallback: false\n    },\n    animations: {\n      _fallback: 'animation'\n    }\n  },\n  additionalOptionScopes: ['interaction']\n};\n\nvar plugins = /*#__PURE__*/Object.freeze({\n__proto__: null,\nDecimation: plugin_decimation,\nFiller: index,\nLegend: plugin_legend,\nSubTitle: plugin_subtitle,\nTitle: plugin_title,\nTooltip: plugin_tooltip\n});\n\nconst addIfString = (labels, raw, index, addedLabels) => {\n  if (typeof raw === 'string') {\n    index = labels.push(raw) - 1;\n    addedLabels.unshift({index, label: raw});\n  } else if (isNaN(raw)) {\n    index = null;\n  }\n  return index;\n};\nfunction findOrAddLabel(labels, raw, index, addedLabels) {\n  const first = labels.indexOf(raw);\n  if (first === -1) {\n    return addIfString(labels, raw, index, addedLabels);\n  }\n  const last = labels.lastIndexOf(raw);\n  return first !== last ? index : first;\n}\nconst validIndex = (index, max) => index === null ? null : _limitValue(Math.round(index), 0, max);\nclass CategoryScale extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this._startValue = undefined;\n    this._valueRange = 0;\n    this._addedLabels = [];\n  }\n  init(scaleOptions) {\n    const added = this._addedLabels;\n    if (added.length) {\n      const labels = this.getLabels();\n      for (const {index, label} of added) {\n        if (labels[index] === label) {\n          labels.splice(index, 1);\n        }\n      }\n      this._addedLabels = [];\n    }\n    super.init(scaleOptions);\n  }\n  parse(raw, index) {\n    if (isNullOrUndef(raw)) {\n      return null;\n    }\n    const labels = this.getLabels();\n    index = isFinite(index) && labels[index] === raw ? index\n      : findOrAddLabel(labels, raw, valueOrDefault(index, raw), this._addedLabels);\n    return validIndex(index, labels.length - 1);\n  }\n  determineDataLimits() {\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let {min, max} = this.getMinMax(true);\n    if (this.options.bounds === 'ticks') {\n      if (!minDefined) {\n        min = 0;\n      }\n      if (!maxDefined) {\n        max = this.getLabels().length - 1;\n      }\n    }\n    this.min = min;\n    this.max = max;\n  }\n  buildTicks() {\n    const min = this.min;\n    const max = this.max;\n    const offset = this.options.offset;\n    const ticks = [];\n    let labels = this.getLabels();\n    labels = (min === 0 && max === labels.length - 1) ? labels : labels.slice(min, max + 1);\n    this._valueRange = Math.max(labels.length - (offset ? 0 : 1), 1);\n    this._startValue = this.min - (offset ? 0.5 : 0);\n    for (let value = min; value <= max; value++) {\n      ticks.push({value});\n    }\n    return ticks;\n  }\n  getLabelForValue(value) {\n    const labels = this.getLabels();\n    if (value >= 0 && value < labels.length) {\n      return labels[value];\n    }\n    return value;\n  }\n  configure() {\n    super.configure();\n    if (!this.isHorizontal()) {\n      this._reversePixels = !this._reversePixels;\n    }\n  }\n  getPixelForValue(value) {\n    if (typeof value !== 'number') {\n      value = this.parse(value);\n    }\n    return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange);\n  }\n  getPixelForTick(index) {\n    const ticks = this.ticks;\n    if (index < 0 || index > ticks.length - 1) {\n      return null;\n    }\n    return this.getPixelForValue(ticks[index].value);\n  }\n  getValueForPixel(pixel) {\n    return Math.round(this._startValue + this.getDecimalForPixel(pixel) * this._valueRange);\n  }\n  getBasePixel() {\n    return this.bottom;\n  }\n}\nCategoryScale.id = 'category';\nCategoryScale.defaults = {\n  ticks: {\n    callback: CategoryScale.prototype.getLabelForValue\n  }\n};\n\nfunction generateTicks$1(generationOptions, dataRange) {\n  const ticks = [];\n  const MIN_SPACING = 1e-14;\n  const {bounds, step, min, max, precision, count, maxTicks, maxDigits, includeBounds} = generationOptions;\n  const unit = step || 1;\n  const maxSpaces = maxTicks - 1;\n  const {min: rmin, max: rmax} = dataRange;\n  const minDefined = !isNullOrUndef(min);\n  const maxDefined = !isNullOrUndef(max);\n  const countDefined = !isNullOrUndef(count);\n  const minSpacing = (rmax - rmin) / (maxDigits + 1);\n  let spacing = niceNum((rmax - rmin) / maxSpaces / unit) * unit;\n  let factor, niceMin, niceMax, numSpaces;\n  if (spacing < MIN_SPACING && !minDefined && !maxDefined) {\n    return [{value: rmin}, {value: rmax}];\n  }\n  numSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\n  if (numSpaces > maxSpaces) {\n    spacing = niceNum(numSpaces * spacing / maxSpaces / unit) * unit;\n  }\n  if (!isNullOrUndef(precision)) {\n    factor = Math.pow(10, precision);\n    spacing = Math.ceil(spacing * factor) / factor;\n  }\n  if (bounds === 'ticks') {\n    niceMin = Math.floor(rmin / spacing) * spacing;\n    niceMax = Math.ceil(rmax / spacing) * spacing;\n  } else {\n    niceMin = rmin;\n    niceMax = rmax;\n  }\n  if (minDefined && maxDefined && step && almostWhole((max - min) / step, spacing / 1000)) {\n    numSpaces = Math.round(Math.min((max - min) / spacing, maxTicks));\n    spacing = (max - min) / numSpaces;\n    niceMin = min;\n    niceMax = max;\n  } else if (countDefined) {\n    niceMin = minDefined ? min : niceMin;\n    niceMax = maxDefined ? max : niceMax;\n    numSpaces = count - 1;\n    spacing = (niceMax - niceMin) / numSpaces;\n  } else {\n    numSpaces = (niceMax - niceMin) / spacing;\n    if (almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\n      numSpaces = Math.round(numSpaces);\n    } else {\n      numSpaces = Math.ceil(numSpaces);\n    }\n  }\n  const decimalPlaces = Math.max(\n    _decimalPlaces(spacing),\n    _decimalPlaces(niceMin)\n  );\n  factor = Math.pow(10, isNullOrUndef(precision) ? decimalPlaces : precision);\n  niceMin = Math.round(niceMin * factor) / factor;\n  niceMax = Math.round(niceMax * factor) / factor;\n  let j = 0;\n  if (minDefined) {\n    if (includeBounds && niceMin !== min) {\n      ticks.push({value: min});\n      if (niceMin < min) {\n        j++;\n      }\n      if (almostEquals(Math.round((niceMin + j * spacing) * factor) / factor, min, relativeLabelSize(min, minSpacing, generationOptions))) {\n        j++;\n      }\n    } else if (niceMin < min) {\n      j++;\n    }\n  }\n  for (; j < numSpaces; ++j) {\n    ticks.push({value: Math.round((niceMin + j * spacing) * factor) / factor});\n  }\n  if (maxDefined && includeBounds && niceMax !== max) {\n    if (ticks.length && almostEquals(ticks[ticks.length - 1].value, max, relativeLabelSize(max, minSpacing, generationOptions))) {\n      ticks[ticks.length - 1].value = max;\n    } else {\n      ticks.push({value: max});\n    }\n  } else if (!maxDefined || niceMax === max) {\n    ticks.push({value: niceMax});\n  }\n  return ticks;\n}\nfunction relativeLabelSize(value, minSpacing, {horizontal, minRotation}) {\n  const rad = toRadians(minRotation);\n  const ratio = (horizontal ? Math.sin(rad) : Math.cos(rad)) || 0.001;\n  const length = 0.75 * minSpacing * ('' + value).length;\n  return Math.min(minSpacing / ratio, length);\n}\nclass LinearScaleBase extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this.start = undefined;\n    this.end = undefined;\n    this._startValue = undefined;\n    this._endValue = undefined;\n    this._valueRange = 0;\n  }\n  parse(raw, index) {\n    if (isNullOrUndef(raw)) {\n      return null;\n    }\n    if ((typeof raw === 'number' || raw instanceof Number) && !isFinite(+raw)) {\n      return null;\n    }\n    return +raw;\n  }\n  handleTickRangeOptions() {\n    const {beginAtZero} = this.options;\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let {min, max} = this;\n    const setMin = v => (min = minDefined ? min : v);\n    const setMax = v => (max = maxDefined ? max : v);\n    if (beginAtZero) {\n      const minSign = sign(min);\n      const maxSign = sign(max);\n      if (minSign < 0 && maxSign < 0) {\n        setMax(0);\n      } else if (minSign > 0 && maxSign > 0) {\n        setMin(0);\n      }\n    }\n    if (min === max) {\n      let offset = 1;\n      if (max >= Number.MAX_SAFE_INTEGER || min <= Number.MIN_SAFE_INTEGER) {\n        offset = Math.abs(max * 0.05);\n      }\n      setMax(max + offset);\n      if (!beginAtZero) {\n        setMin(min - offset);\n      }\n    }\n    this.min = min;\n    this.max = max;\n  }\n  getTickLimit() {\n    const tickOpts = this.options.ticks;\n    let {maxTicksLimit, stepSize} = tickOpts;\n    let maxTicks;\n    if (stepSize) {\n      maxTicks = Math.ceil(this.max / stepSize) - Math.floor(this.min / stepSize) + 1;\n      if (maxTicks > 1000) {\n        console.warn(`scales.${this.id}.ticks.stepSize: ${stepSize} would result generating up to ${maxTicks} ticks. Limiting to 1000.`);\n        maxTicks = 1000;\n      }\n    } else {\n      maxTicks = this.computeTickLimit();\n      maxTicksLimit = maxTicksLimit || 11;\n    }\n    if (maxTicksLimit) {\n      maxTicks = Math.min(maxTicksLimit, maxTicks);\n    }\n    return maxTicks;\n  }\n  computeTickLimit() {\n    return Number.POSITIVE_INFINITY;\n  }\n  buildTicks() {\n    const opts = this.options;\n    const tickOpts = opts.ticks;\n    let maxTicks = this.getTickLimit();\n    maxTicks = Math.max(2, maxTicks);\n    const numericGeneratorOptions = {\n      maxTicks,\n      bounds: opts.bounds,\n      min: opts.min,\n      max: opts.max,\n      precision: tickOpts.precision,\n      step: tickOpts.stepSize,\n      count: tickOpts.count,\n      maxDigits: this._maxDigits(),\n      horizontal: this.isHorizontal(),\n      minRotation: tickOpts.minRotation || 0,\n      includeBounds: tickOpts.includeBounds !== false\n    };\n    const dataRange = this._range || this;\n    const ticks = generateTicks$1(numericGeneratorOptions, dataRange);\n    if (opts.bounds === 'ticks') {\n      _setMinAndMaxByKey(ticks, this, 'value');\n    }\n    if (opts.reverse) {\n      ticks.reverse();\n      this.start = this.max;\n      this.end = this.min;\n    } else {\n      this.start = this.min;\n      this.end = this.max;\n    }\n    return ticks;\n  }\n  configure() {\n    const ticks = this.ticks;\n    let start = this.min;\n    let end = this.max;\n    super.configure();\n    if (this.options.offset && ticks.length) {\n      const offset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\n      start -= offset;\n      end += offset;\n    }\n    this._startValue = start;\n    this._endValue = end;\n    this._valueRange = end - start;\n  }\n  getLabelForValue(value) {\n    return formatNumber(value, this.chart.options.locale, this.options.ticks.format);\n  }\n}\n\nclass LinearScale extends LinearScaleBase {\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(true);\n    this.min = isNumberFinite(min) ? min : 0;\n    this.max = isNumberFinite(max) ? max : 1;\n    this.handleTickRangeOptions();\n  }\n  computeTickLimit() {\n    const horizontal = this.isHorizontal();\n    const length = horizontal ? this.width : this.height;\n    const minRotation = toRadians(this.options.ticks.minRotation);\n    const ratio = (horizontal ? Math.sin(minRotation) : Math.cos(minRotation)) || 0.001;\n    const tickFont = this._resolveTickFontOptions(0);\n    return Math.ceil(length / Math.min(40, tickFont.lineHeight / ratio));\n  }\n  getPixelForValue(value) {\n    return value === null ? NaN : this.getPixelForDecimal((value - this._startValue) / this._valueRange);\n  }\n  getValueForPixel(pixel) {\n    return this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\n  }\n}\nLinearScale.id = 'linear';\nLinearScale.defaults = {\n  ticks: {\n    callback: Ticks.formatters.numeric\n  }\n};\n\nfunction isMajor(tickVal) {\n  const remain = tickVal / (Math.pow(10, Math.floor(log10(tickVal))));\n  return remain === 1;\n}\nfunction generateTicks(generationOptions, dataRange) {\n  const endExp = Math.floor(log10(dataRange.max));\n  const endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\n  const ticks = [];\n  let tickVal = finiteOrDefault(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\n  let exp = Math.floor(log10(tickVal));\n  let significand = Math.floor(tickVal / Math.pow(10, exp));\n  let precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\n  do {\n    ticks.push({value: tickVal, major: isMajor(tickVal)});\n    ++significand;\n    if (significand === 10) {\n      significand = 1;\n      ++exp;\n      precision = exp >= 0 ? 1 : precision;\n    }\n    tickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\n  } while (exp < endExp || (exp === endExp && significand < endSignificand));\n  const lastTick = finiteOrDefault(generationOptions.max, tickVal);\n  ticks.push({value: lastTick, major: isMajor(tickVal)});\n  return ticks;\n}\nclass LogarithmicScale extends Scale {\n  constructor(cfg) {\n    super(cfg);\n    this.start = undefined;\n    this.end = undefined;\n    this._startValue = undefined;\n    this._valueRange = 0;\n  }\n  parse(raw, index) {\n    const value = LinearScaleBase.prototype.parse.apply(this, [raw, index]);\n    if (value === 0) {\n      this._zero = true;\n      return undefined;\n    }\n    return isNumberFinite(value) && value > 0 ? value : null;\n  }\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(true);\n    this.min = isNumberFinite(min) ? Math.max(0, min) : null;\n    this.max = isNumberFinite(max) ? Math.max(0, max) : null;\n    if (this.options.beginAtZero) {\n      this._zero = true;\n    }\n    this.handleTickRangeOptions();\n  }\n  handleTickRangeOptions() {\n    const {minDefined, maxDefined} = this.getUserBounds();\n    let min = this.min;\n    let max = this.max;\n    const setMin = v => (min = minDefined ? min : v);\n    const setMax = v => (max = maxDefined ? max : v);\n    const exp = (v, m) => Math.pow(10, Math.floor(log10(v)) + m);\n    if (min === max) {\n      if (min <= 0) {\n        setMin(1);\n        setMax(10);\n      } else {\n        setMin(exp(min, -1));\n        setMax(exp(max, +1));\n      }\n    }\n    if (min <= 0) {\n      setMin(exp(max, -1));\n    }\n    if (max <= 0) {\n      setMax(exp(min, +1));\n    }\n    if (this._zero && this.min !== this._suggestedMin && min === exp(this.min, 0)) {\n      setMin(exp(min, -1));\n    }\n    this.min = min;\n    this.max = max;\n  }\n  buildTicks() {\n    const opts = this.options;\n    const generationOptions = {\n      min: this._userMin,\n      max: this._userMax\n    };\n    const ticks = generateTicks(generationOptions, this);\n    if (opts.bounds === 'ticks') {\n      _setMinAndMaxByKey(ticks, this, 'value');\n    }\n    if (opts.reverse) {\n      ticks.reverse();\n      this.start = this.max;\n      this.end = this.min;\n    } else {\n      this.start = this.min;\n      this.end = this.max;\n    }\n    return ticks;\n  }\n  getLabelForValue(value) {\n    return value === undefined\n      ? '0'\n      : formatNumber(value, this.chart.options.locale, this.options.ticks.format);\n  }\n  configure() {\n    const start = this.min;\n    super.configure();\n    this._startValue = log10(start);\n    this._valueRange = log10(this.max) - log10(start);\n  }\n  getPixelForValue(value) {\n    if (value === undefined || value === 0) {\n      value = this.min;\n    }\n    if (value === null || isNaN(value)) {\n      return NaN;\n    }\n    return this.getPixelForDecimal(value === this.min\n      ? 0\n      : (log10(value) - this._startValue) / this._valueRange);\n  }\n  getValueForPixel(pixel) {\n    const decimal = this.getDecimalForPixel(pixel);\n    return Math.pow(10, this._startValue + decimal * this._valueRange);\n  }\n}\nLogarithmicScale.id = 'logarithmic';\nLogarithmicScale.defaults = {\n  ticks: {\n    callback: Ticks.formatters.logarithmic,\n    major: {\n      enabled: true\n    }\n  }\n};\n\nfunction getTickBackdropHeight(opts) {\n  const tickOpts = opts.ticks;\n  if (tickOpts.display && opts.display) {\n    const padding = toPadding(tickOpts.backdropPadding);\n    return valueOrDefault(tickOpts.font && tickOpts.font.size, defaults.font.size) + padding.height;\n  }\n  return 0;\n}\nfunction measureLabelSize(ctx, font, label) {\n  label = isArray(label) ? label : [label];\n  return {\n    w: _longestText(ctx, font.string, label),\n    h: label.length * font.lineHeight\n  };\n}\nfunction determineLimits(angle, pos, size, min, max) {\n  if (angle === min || angle === max) {\n    return {\n      start: pos - (size / 2),\n      end: pos + (size / 2)\n    };\n  } else if (angle < min || angle > max) {\n    return {\n      start: pos - size,\n      end: pos\n    };\n  }\n  return {\n    start: pos,\n    end: pos + size\n  };\n}\nfunction fitWithPointLabels(scale) {\n  const orig = {\n    l: scale.left + scale._padding.left,\n    r: scale.right - scale._padding.right,\n    t: scale.top + scale._padding.top,\n    b: scale.bottom - scale._padding.bottom\n  };\n  const limits = Object.assign({}, orig);\n  const labelSizes = [];\n  const padding = [];\n  const valueCount = scale._pointLabels.length;\n  const pointLabelOpts = scale.options.pointLabels;\n  const additionalAngle = pointLabelOpts.centerPointLabels ? PI / valueCount : 0;\n  for (let i = 0; i < valueCount; i++) {\n    const opts = pointLabelOpts.setContext(scale.getPointLabelContext(i));\n    padding[i] = opts.padding;\n    const pointPosition = scale.getPointPosition(i, scale.drawingArea + padding[i], additionalAngle);\n    const plFont = toFont(opts.font);\n    const textSize = measureLabelSize(scale.ctx, plFont, scale._pointLabels[i]);\n    labelSizes[i] = textSize;\n    const angleRadians = _normalizeAngle(scale.getIndexAngle(i) + additionalAngle);\n    const angle = Math.round(toDegrees(angleRadians));\n    const hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\n    const vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\n    updateLimits(limits, orig, angleRadians, hLimits, vLimits);\n  }\n  scale.setCenterPoint(\n    orig.l - limits.l,\n    limits.r - orig.r,\n    orig.t - limits.t,\n    limits.b - orig.b\n  );\n  scale._pointLabelItems = buildPointLabelItems(scale, labelSizes, padding);\n}\nfunction updateLimits(limits, orig, angle, hLimits, vLimits) {\n  const sin = Math.abs(Math.sin(angle));\n  const cos = Math.abs(Math.cos(angle));\n  let x = 0;\n  let y = 0;\n  if (hLimits.start < orig.l) {\n    x = (orig.l - hLimits.start) / sin;\n    limits.l = Math.min(limits.l, orig.l - x);\n  } else if (hLimits.end > orig.r) {\n    x = (hLimits.end - orig.r) / sin;\n    limits.r = Math.max(limits.r, orig.r + x);\n  }\n  if (vLimits.start < orig.t) {\n    y = (orig.t - vLimits.start) / cos;\n    limits.t = Math.min(limits.t, orig.t - y);\n  } else if (vLimits.end > orig.b) {\n    y = (vLimits.end - orig.b) / cos;\n    limits.b = Math.max(limits.b, orig.b + y);\n  }\n}\nfunction buildPointLabelItems(scale, labelSizes, padding) {\n  const items = [];\n  const valueCount = scale._pointLabels.length;\n  const opts = scale.options;\n  const extra = getTickBackdropHeight(opts) / 2;\n  const outerDistance = scale.drawingArea;\n  const additionalAngle = opts.pointLabels.centerPointLabels ? PI / valueCount : 0;\n  for (let i = 0; i < valueCount; i++) {\n    const pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + padding[i], additionalAngle);\n    const angle = Math.round(toDegrees(_normalizeAngle(pointLabelPosition.angle + HALF_PI)));\n    const size = labelSizes[i];\n    const y = yForAngle(pointLabelPosition.y, size.h, angle);\n    const textAlign = getTextAlignForAngle(angle);\n    const left = leftForTextAlign(pointLabelPosition.x, size.w, textAlign);\n    items.push({\n      x: pointLabelPosition.x,\n      y,\n      textAlign,\n      left,\n      top: y,\n      right: left + size.w,\n      bottom: y + size.h\n    });\n  }\n  return items;\n}\nfunction getTextAlignForAngle(angle) {\n  if (angle === 0 || angle === 180) {\n    return 'center';\n  } else if (angle < 180) {\n    return 'left';\n  }\n  return 'right';\n}\nfunction leftForTextAlign(x, w, align) {\n  if (align === 'right') {\n    x -= w;\n  } else if (align === 'center') {\n    x -= (w / 2);\n  }\n  return x;\n}\nfunction yForAngle(y, h, angle) {\n  if (angle === 90 || angle === 270) {\n    y -= (h / 2);\n  } else if (angle > 270 || angle < 90) {\n    y -= h;\n  }\n  return y;\n}\nfunction drawPointLabels(scale, labelCount) {\n  const {ctx, options: {pointLabels}} = scale;\n  for (let i = labelCount - 1; i >= 0; i--) {\n    const optsAtIndex = pointLabels.setContext(scale.getPointLabelContext(i));\n    const plFont = toFont(optsAtIndex.font);\n    const {x, y, textAlign, left, top, right, bottom} = scale._pointLabelItems[i];\n    const {backdropColor} = optsAtIndex;\n    if (!isNullOrUndef(backdropColor)) {\n      const borderRadius = toTRBLCorners(optsAtIndex.borderRadius);\n      const padding = toPadding(optsAtIndex.backdropPadding);\n      ctx.fillStyle = backdropColor;\n      const backdropLeft = left - padding.left;\n      const backdropTop = top - padding.top;\n      const backdropWidth = right - left + padding.width;\n      const backdropHeight = bottom - top + padding.height;\n      if (Object.values(borderRadius).some(v => v !== 0)) {\n        ctx.beginPath();\n        addRoundedRectPath(ctx, {\n          x: backdropLeft,\n          y: backdropTop,\n          w: backdropWidth,\n          h: backdropHeight,\n          radius: borderRadius,\n        });\n        ctx.fill();\n      } else {\n        ctx.fillRect(backdropLeft, backdropTop, backdropWidth, backdropHeight);\n      }\n    }\n    renderText(\n      ctx,\n      scale._pointLabels[i],\n      x,\n      y + (plFont.lineHeight / 2),\n      plFont,\n      {\n        color: optsAtIndex.color,\n        textAlign: textAlign,\n        textBaseline: 'middle'\n      }\n    );\n  }\n}\nfunction pathRadiusLine(scale, radius, circular, labelCount) {\n  const {ctx} = scale;\n  if (circular) {\n    ctx.arc(scale.xCenter, scale.yCenter, radius, 0, TAU);\n  } else {\n    let pointPosition = scale.getPointPosition(0, radius);\n    ctx.moveTo(pointPosition.x, pointPosition.y);\n    for (let i = 1; i < labelCount; i++) {\n      pointPosition = scale.getPointPosition(i, radius);\n      ctx.lineTo(pointPosition.x, pointPosition.y);\n    }\n  }\n}\nfunction drawRadiusLine(scale, gridLineOpts, radius, labelCount) {\n  const ctx = scale.ctx;\n  const circular = gridLineOpts.circular;\n  const {color, lineWidth} = gridLineOpts;\n  if ((!circular && !labelCount) || !color || !lineWidth || radius < 0) {\n    return;\n  }\n  ctx.save();\n  ctx.strokeStyle = color;\n  ctx.lineWidth = lineWidth;\n  ctx.setLineDash(gridLineOpts.borderDash);\n  ctx.lineDashOffset = gridLineOpts.borderDashOffset;\n  ctx.beginPath();\n  pathRadiusLine(scale, radius, circular, labelCount);\n  ctx.closePath();\n  ctx.stroke();\n  ctx.restore();\n}\nfunction createPointLabelContext(parent, index, label) {\n  return createContext(parent, {\n    label,\n    index,\n    type: 'pointLabel'\n  });\n}\nclass RadialLinearScale extends LinearScaleBase {\n  constructor(cfg) {\n    super(cfg);\n    this.xCenter = undefined;\n    this.yCenter = undefined;\n    this.drawingArea = undefined;\n    this._pointLabels = [];\n    this._pointLabelItems = [];\n  }\n  setDimensions() {\n    const padding = this._padding = toPadding(getTickBackdropHeight(this.options) / 2);\n    const w = this.width = this.maxWidth - padding.width;\n    const h = this.height = this.maxHeight - padding.height;\n    this.xCenter = Math.floor(this.left + w / 2 + padding.left);\n    this.yCenter = Math.floor(this.top + h / 2 + padding.top);\n    this.drawingArea = Math.floor(Math.min(w, h) / 2);\n  }\n  determineDataLimits() {\n    const {min, max} = this.getMinMax(false);\n    this.min = isNumberFinite(min) && !isNaN(min) ? min : 0;\n    this.max = isNumberFinite(max) && !isNaN(max) ? max : 0;\n    this.handleTickRangeOptions();\n  }\n  computeTickLimit() {\n    return Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\n  }\n  generateTickLabels(ticks) {\n    LinearScaleBase.prototype.generateTickLabels.call(this, ticks);\n    this._pointLabels = this.getLabels()\n      .map((value, index) => {\n        const label = callback(this.options.pointLabels.callback, [value, index], this);\n        return label || label === 0 ? label : '';\n      })\n      .filter((v, i) => this.chart.getDataVisibility(i));\n  }\n  fit() {\n    const opts = this.options;\n    if (opts.display && opts.pointLabels.display) {\n      fitWithPointLabels(this);\n    } else {\n      this.setCenterPoint(0, 0, 0, 0);\n    }\n  }\n  setCenterPoint(leftMovement, rightMovement, topMovement, bottomMovement) {\n    this.xCenter += Math.floor((leftMovement - rightMovement) / 2);\n    this.yCenter += Math.floor((topMovement - bottomMovement) / 2);\n    this.drawingArea -= Math.min(this.drawingArea / 2, Math.max(leftMovement, rightMovement, topMovement, bottomMovement));\n  }\n  getIndexAngle(index) {\n    const angleMultiplier = TAU / (this._pointLabels.length || 1);\n    const startAngle = this.options.startAngle || 0;\n    return _normalizeAngle(index * angleMultiplier + toRadians(startAngle));\n  }\n  getDistanceFromCenterForValue(value) {\n    if (isNullOrUndef(value)) {\n      return NaN;\n    }\n    const scalingFactor = this.drawingArea / (this.max - this.min);\n    if (this.options.reverse) {\n      return (this.max - value) * scalingFactor;\n    }\n    return (value - this.min) * scalingFactor;\n  }\n  getValueForDistanceFromCenter(distance) {\n    if (isNullOrUndef(distance)) {\n      return NaN;\n    }\n    const scaledDistance = distance / (this.drawingArea / (this.max - this.min));\n    return this.options.reverse ? this.max - scaledDistance : this.min + scaledDistance;\n  }\n  getPointLabelContext(index) {\n    const pointLabels = this._pointLabels || [];\n    if (index >= 0 && index < pointLabels.length) {\n      const pointLabel = pointLabels[index];\n      return createPointLabelContext(this.getContext(), index, pointLabel);\n    }\n  }\n  getPointPosition(index, distanceFromCenter, additionalAngle = 0) {\n    const angle = this.getIndexAngle(index) - HALF_PI + additionalAngle;\n    return {\n      x: Math.cos(angle) * distanceFromCenter + this.xCenter,\n      y: Math.sin(angle) * distanceFromCenter + this.yCenter,\n      angle\n    };\n  }\n  getPointPositionForValue(index, value) {\n    return this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\n  }\n  getBasePosition(index) {\n    return this.getPointPositionForValue(index || 0, this.getBaseValue());\n  }\n  getPointLabelPosition(index) {\n    const {left, top, right, bottom} = this._pointLabelItems[index];\n    return {\n      left,\n      top,\n      right,\n      bottom,\n    };\n  }\n  drawBackground() {\n    const {backgroundColor, grid: {circular}} = this.options;\n    if (backgroundColor) {\n      const ctx = this.ctx;\n      ctx.save();\n      ctx.beginPath();\n      pathRadiusLine(this, this.getDistanceFromCenterForValue(this._endValue), circular, this._pointLabels.length);\n      ctx.closePath();\n      ctx.fillStyle = backgroundColor;\n      ctx.fill();\n      ctx.restore();\n    }\n  }\n  drawGrid() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    const {angleLines, grid} = opts;\n    const labelCount = this._pointLabels.length;\n    let i, offset, position;\n    if (opts.pointLabels.display) {\n      drawPointLabels(this, labelCount);\n    }\n    if (grid.display) {\n      this.ticks.forEach((tick, index) => {\n        if (index !== 0) {\n          offset = this.getDistanceFromCenterForValue(tick.value);\n          const optsAtIndex = grid.setContext(this.getContext(index - 1));\n          drawRadiusLine(this, optsAtIndex, offset, labelCount);\n        }\n      });\n    }\n    if (angleLines.display) {\n      ctx.save();\n      for (i = labelCount - 1; i >= 0; i--) {\n        const optsAtIndex = angleLines.setContext(this.getPointLabelContext(i));\n        const {color, lineWidth} = optsAtIndex;\n        if (!lineWidth || !color) {\n          continue;\n        }\n        ctx.lineWidth = lineWidth;\n        ctx.strokeStyle = color;\n        ctx.setLineDash(optsAtIndex.borderDash);\n        ctx.lineDashOffset = optsAtIndex.borderDashOffset;\n        offset = this.getDistanceFromCenterForValue(opts.ticks.reverse ? this.min : this.max);\n        position = this.getPointPosition(i, offset);\n        ctx.beginPath();\n        ctx.moveTo(this.xCenter, this.yCenter);\n        ctx.lineTo(position.x, position.y);\n        ctx.stroke();\n      }\n      ctx.restore();\n    }\n  }\n  drawBorder() {}\n  drawLabels() {\n    const ctx = this.ctx;\n    const opts = this.options;\n    const tickOpts = opts.ticks;\n    if (!tickOpts.display) {\n      return;\n    }\n    const startAngle = this.getIndexAngle(0);\n    let offset, width;\n    ctx.save();\n    ctx.translate(this.xCenter, this.yCenter);\n    ctx.rotate(startAngle);\n    ctx.textAlign = 'center';\n    ctx.textBaseline = 'middle';\n    this.ticks.forEach((tick, index) => {\n      if (index === 0 && !opts.reverse) {\n        return;\n      }\n      const optsAtIndex = tickOpts.setContext(this.getContext(index));\n      const tickFont = toFont(optsAtIndex.font);\n      offset = this.getDistanceFromCenterForValue(this.ticks[index].value);\n      if (optsAtIndex.showLabelBackdrop) {\n        ctx.font = tickFont.string;\n        width = ctx.measureText(tick.label).width;\n        ctx.fillStyle = optsAtIndex.backdropColor;\n        const padding = toPadding(optsAtIndex.backdropPadding);\n        ctx.fillRect(\n          -width / 2 - padding.left,\n          -offset - tickFont.size / 2 - padding.top,\n          width + padding.width,\n          tickFont.size + padding.height\n        );\n      }\n      renderText(ctx, tick.label, 0, -offset, tickFont, {\n        color: optsAtIndex.color,\n      });\n    });\n    ctx.restore();\n  }\n  drawTitle() {}\n}\nRadialLinearScale.id = 'radialLinear';\nRadialLinearScale.defaults = {\n  display: true,\n  animate: true,\n  position: 'chartArea',\n  angleLines: {\n    display: true,\n    lineWidth: 1,\n    borderDash: [],\n    borderDashOffset: 0.0\n  },\n  grid: {\n    circular: false\n  },\n  startAngle: 0,\n  ticks: {\n    showLabelBackdrop: true,\n    callback: Ticks.formatters.numeric\n  },\n  pointLabels: {\n    backdropColor: undefined,\n    backdropPadding: 2,\n    display: true,\n    font: {\n      size: 10\n    },\n    callback(label) {\n      return label;\n    },\n    padding: 5,\n    centerPointLabels: false\n  }\n};\nRadialLinearScale.defaultRoutes = {\n  'angleLines.color': 'borderColor',\n  'pointLabels.color': 'color',\n  'ticks.color': 'color'\n};\nRadialLinearScale.descriptors = {\n  angleLines: {\n    _fallback: 'grid'\n  }\n};\n\nconst INTERVALS = {\n  millisecond: {common: true, size: 1, steps: 1000},\n  second: {common: true, size: 1000, steps: 60},\n  minute: {common: true, size: 60000, steps: 60},\n  hour: {common: true, size: 3600000, steps: 24},\n  day: {common: true, size: 86400000, steps: 30},\n  week: {common: false, size: 604800000, steps: 4},\n  month: {common: true, size: 2.628e9, steps: 12},\n  quarter: {common: false, size: 7.884e9, steps: 4},\n  year: {common: true, size: 3.154e10}\n};\nconst UNITS = (Object.keys(INTERVALS));\nfunction sorter(a, b) {\n  return a - b;\n}\nfunction parse(scale, input) {\n  if (isNullOrUndef(input)) {\n    return null;\n  }\n  const adapter = scale._adapter;\n  const {parser, round, isoWeekday} = scale._parseOpts;\n  let value = input;\n  if (typeof parser === 'function') {\n    value = parser(value);\n  }\n  if (!isNumberFinite(value)) {\n    value = typeof parser === 'string'\n      ? adapter.parse(value, parser)\n      : adapter.parse(value);\n  }\n  if (value === null) {\n    return null;\n  }\n  if (round) {\n    value = round === 'week' && (isNumber(isoWeekday) || isoWeekday === true)\n      ? adapter.startOf(value, 'isoWeek', isoWeekday)\n      : adapter.startOf(value, round);\n  }\n  return +value;\n}\nfunction determineUnitForAutoTicks(minUnit, min, max, capacity) {\n  const ilen = UNITS.length;\n  for (let i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\n    const interval = INTERVALS[UNITS[i]];\n    const factor = interval.steps ? interval.steps : Number.MAX_SAFE_INTEGER;\n    if (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\n      return UNITS[i];\n    }\n  }\n  return UNITS[ilen - 1];\n}\nfunction determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\n  for (let i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\n    const unit = UNITS[i];\n    if (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\n      return unit;\n    }\n  }\n  return UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\n}\nfunction determineMajorUnit(unit) {\n  for (let i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\n    if (INTERVALS[UNITS[i]].common) {\n      return UNITS[i];\n    }\n  }\n}\nfunction addTick(ticks, time, timestamps) {\n  if (!timestamps) {\n    ticks[time] = true;\n  } else if (timestamps.length) {\n    const {lo, hi} = _lookup(timestamps, time);\n    const timestamp = timestamps[lo] >= time ? timestamps[lo] : timestamps[hi];\n    ticks[timestamp] = true;\n  }\n}\nfunction setMajorTicks(scale, ticks, map, majorUnit) {\n  const adapter = scale._adapter;\n  const first = +adapter.startOf(ticks[0].value, majorUnit);\n  const last = ticks[ticks.length - 1].value;\n  let major, index;\n  for (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\n    index = map[major];\n    if (index >= 0) {\n      ticks[index].major = true;\n    }\n  }\n  return ticks;\n}\nfunction ticksFromTimestamps(scale, values, majorUnit) {\n  const ticks = [];\n  const map = {};\n  const ilen = values.length;\n  let i, value;\n  for (i = 0; i < ilen; ++i) {\n    value = values[i];\n    map[value] = i;\n    ticks.push({\n      value,\n      major: false\n    });\n  }\n  return (ilen === 0 || !majorUnit) ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\n}\nclass TimeScale extends Scale {\n  constructor(props) {\n    super(props);\n    this._cache = {\n      data: [],\n      labels: [],\n      all: []\n    };\n    this._unit = 'day';\n    this._majorUnit = undefined;\n    this._offsets = {};\n    this._normalized = false;\n    this._parseOpts = undefined;\n  }\n  init(scaleOpts, opts) {\n    const time = scaleOpts.time || (scaleOpts.time = {});\n    const adapter = this._adapter = new _adapters._date(scaleOpts.adapters.date);\n    adapter.init(opts);\n    mergeIf(time.displayFormats, adapter.formats());\n    this._parseOpts = {\n      parser: time.parser,\n      round: time.round,\n      isoWeekday: time.isoWeekday\n    };\n    super.init(scaleOpts);\n    this._normalized = opts.normalized;\n  }\n  parse(raw, index) {\n    if (raw === undefined) {\n      return null;\n    }\n    return parse(this, raw);\n  }\n  beforeLayout() {\n    super.beforeLayout();\n    this._cache = {\n      data: [],\n      labels: [],\n      all: []\n    };\n  }\n  determineDataLimits() {\n    const options = this.options;\n    const adapter = this._adapter;\n    const unit = options.time.unit || 'day';\n    let {min, max, minDefined, maxDefined} = this.getUserBounds();\n    function _applyBounds(bounds) {\n      if (!minDefined && !isNaN(bounds.min)) {\n        min = Math.min(min, bounds.min);\n      }\n      if (!maxDefined && !isNaN(bounds.max)) {\n        max = Math.max(max, bounds.max);\n      }\n    }\n    if (!minDefined || !maxDefined) {\n      _applyBounds(this._getLabelBounds());\n      if (options.bounds !== 'ticks' || options.ticks.source !== 'labels') {\n        _applyBounds(this.getMinMax(false));\n      }\n    }\n    min = isNumberFinite(min) && !isNaN(min) ? min : +adapter.startOf(Date.now(), unit);\n    max = isNumberFinite(max) && !isNaN(max) ? max : +adapter.endOf(Date.now(), unit) + 1;\n    this.min = Math.min(min, max - 1);\n    this.max = Math.max(min + 1, max);\n  }\n  _getLabelBounds() {\n    const arr = this.getLabelTimestamps();\n    let min = Number.POSITIVE_INFINITY;\n    let max = Number.NEGATIVE_INFINITY;\n    if (arr.length) {\n      min = arr[0];\n      max = arr[arr.length - 1];\n    }\n    return {min, max};\n  }\n  buildTicks() {\n    const options = this.options;\n    const timeOpts = options.time;\n    const tickOpts = options.ticks;\n    const timestamps = tickOpts.source === 'labels' ? this.getLabelTimestamps() : this._generate();\n    if (options.bounds === 'ticks' && timestamps.length) {\n      this.min = this._userMin || timestamps[0];\n      this.max = this._userMax || timestamps[timestamps.length - 1];\n    }\n    const min = this.min;\n    const max = this.max;\n    const ticks = _filterBetween(timestamps, min, max);\n    this._unit = timeOpts.unit || (tickOpts.autoSkip\n      ? determineUnitForAutoTicks(timeOpts.minUnit, this.min, this.max, this._getLabelCapacity(min))\n      : determineUnitForFormatting(this, ticks.length, timeOpts.minUnit, this.min, this.max));\n    this._majorUnit = !tickOpts.major.enabled || this._unit === 'year' ? undefined\n      : determineMajorUnit(this._unit);\n    this.initOffsets(timestamps);\n    if (options.reverse) {\n      ticks.reverse();\n    }\n    return ticksFromTimestamps(this, ticks, this._majorUnit);\n  }\n  afterAutoSkip() {\n    if (this.options.offsetAfterAutoskip) {\n      this.initOffsets(this.ticks.map(tick => +tick.value));\n    }\n  }\n  initOffsets(timestamps) {\n    let start = 0;\n    let end = 0;\n    let first, last;\n    if (this.options.offset && timestamps.length) {\n      first = this.getDecimalForValue(timestamps[0]);\n      if (timestamps.length === 1) {\n        start = 1 - first;\n      } else {\n        start = (this.getDecimalForValue(timestamps[1]) - first) / 2;\n      }\n      last = this.getDecimalForValue(timestamps[timestamps.length - 1]);\n      if (timestamps.length === 1) {\n        end = last;\n      } else {\n        end = (last - this.getDecimalForValue(timestamps[timestamps.length - 2])) / 2;\n      }\n    }\n    const limit = timestamps.length < 3 ? 0.5 : 0.25;\n    start = _limitValue(start, 0, limit);\n    end = _limitValue(end, 0, limit);\n    this._offsets = {start, end, factor: 1 / (start + 1 + end)};\n  }\n  _generate() {\n    const adapter = this._adapter;\n    const min = this.min;\n    const max = this.max;\n    const options = this.options;\n    const timeOpts = options.time;\n    const minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, this._getLabelCapacity(min));\n    const stepSize = valueOrDefault(timeOpts.stepSize, 1);\n    const weekday = minor === 'week' ? timeOpts.isoWeekday : false;\n    const hasWeekday = isNumber(weekday) || weekday === true;\n    const ticks = {};\n    let first = min;\n    let time, count;\n    if (hasWeekday) {\n      first = +adapter.startOf(first, 'isoWeek', weekday);\n    }\n    first = +adapter.startOf(first, hasWeekday ? 'day' : minor);\n    if (adapter.diff(max, min, minor) > 100000 * stepSize) {\n      throw new Error(min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor);\n    }\n    const timestamps = options.ticks.source === 'data' && this.getDataTimestamps();\n    for (time = first, count = 0; time < max; time = +adapter.add(time, stepSize, minor), count++) {\n      addTick(ticks, time, timestamps);\n    }\n    if (time === max || options.bounds === 'ticks' || count === 1) {\n      addTick(ticks, time, timestamps);\n    }\n    return Object.keys(ticks).sort((a, b) => a - b).map(x => +x);\n  }\n  getLabelForValue(value) {\n    const adapter = this._adapter;\n    const timeOpts = this.options.time;\n    if (timeOpts.tooltipFormat) {\n      return adapter.format(value, timeOpts.tooltipFormat);\n    }\n    return adapter.format(value, timeOpts.displayFormats.datetime);\n  }\n  _tickFormatFunction(time, index, ticks, format) {\n    const options = this.options;\n    const formats = options.time.displayFormats;\n    const unit = this._unit;\n    const majorUnit = this._majorUnit;\n    const minorFormat = unit && formats[unit];\n    const majorFormat = majorUnit && formats[majorUnit];\n    const tick = ticks[index];\n    const major = majorUnit && majorFormat && tick && tick.major;\n    const label = this._adapter.format(time, format || (major ? majorFormat : minorFormat));\n    const formatter = options.ticks.callback;\n    return formatter ? callback(formatter, [label, index, ticks], this) : label;\n  }\n  generateTickLabels(ticks) {\n    let i, ilen, tick;\n    for (i = 0, ilen = ticks.length; i < ilen; ++i) {\n      tick = ticks[i];\n      tick.label = this._tickFormatFunction(tick.value, i, ticks);\n    }\n  }\n  getDecimalForValue(value) {\n    return value === null ? NaN : (value - this.min) / (this.max - this.min);\n  }\n  getPixelForValue(value) {\n    const offsets = this._offsets;\n    const pos = this.getDecimalForValue(value);\n    return this.getPixelForDecimal((offsets.start + pos) * offsets.factor);\n  }\n  getValueForPixel(pixel) {\n    const offsets = this._offsets;\n    const pos = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\n    return this.min + pos * (this.max - this.min);\n  }\n  _getLabelSize(label) {\n    const ticksOpts = this.options.ticks;\n    const tickLabelWidth = this.ctx.measureText(label).width;\n    const angle = toRadians(this.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\n    const cosRotation = Math.cos(angle);\n    const sinRotation = Math.sin(angle);\n    const tickFontSize = this._resolveTickFontOptions(0).size;\n    return {\n      w: (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation),\n      h: (tickLabelWidth * sinRotation) + (tickFontSize * cosRotation)\n    };\n  }\n  _getLabelCapacity(exampleTime) {\n    const timeOpts = this.options.time;\n    const displayFormats = timeOpts.displayFormats;\n    const format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\n    const exampleLabel = this._tickFormatFunction(exampleTime, 0, ticksFromTimestamps(this, [exampleTime], this._majorUnit), format);\n    const size = this._getLabelSize(exampleLabel);\n    const capacity = Math.floor(this.isHorizontal() ? this.width / size.w : this.height / size.h) - 1;\n    return capacity > 0 ? capacity : 1;\n  }\n  getDataTimestamps() {\n    let timestamps = this._cache.data || [];\n    let i, ilen;\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const metas = this.getMatchingVisibleMetas();\n    if (this._normalized && metas.length) {\n      return (this._cache.data = metas[0].controller.getAllParsedValues(this));\n    }\n    for (i = 0, ilen = metas.length; i < ilen; ++i) {\n      timestamps = timestamps.concat(metas[i].controller.getAllParsedValues(this));\n    }\n    return (this._cache.data = this.normalize(timestamps));\n  }\n  getLabelTimestamps() {\n    const timestamps = this._cache.labels || [];\n    let i, ilen;\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const labels = this.getLabels();\n    for (i = 0, ilen = labels.length; i < ilen; ++i) {\n      timestamps.push(parse(this, labels[i]));\n    }\n    return (this._cache.labels = this._normalized ? timestamps : this.normalize(timestamps));\n  }\n  normalize(values) {\n    return _arrayUnique(values.sort(sorter));\n  }\n}\nTimeScale.id = 'time';\nTimeScale.defaults = {\n  bounds: 'data',\n  adapters: {},\n  time: {\n    parser: false,\n    unit: false,\n    round: false,\n    isoWeekday: false,\n    minUnit: 'millisecond',\n    displayFormats: {}\n  },\n  ticks: {\n    source: 'auto',\n    major: {\n      enabled: false\n    }\n  }\n};\n\nfunction interpolate(table, val, reverse) {\n  let lo = 0;\n  let hi = table.length - 1;\n  let prevSource, nextSource, prevTarget, nextTarget;\n  if (reverse) {\n    if (val >= table[lo].pos && val <= table[hi].pos) {\n      ({lo, hi} = _lookupByKey(table, 'pos', val));\n    }\n    ({pos: prevSource, time: prevTarget} = table[lo]);\n    ({pos: nextSource, time: nextTarget} = table[hi]);\n  } else {\n    if (val >= table[lo].time && val <= table[hi].time) {\n      ({lo, hi} = _lookupByKey(table, 'time', val));\n    }\n    ({time: prevSource, pos: prevTarget} = table[lo]);\n    ({time: nextSource, pos: nextTarget} = table[hi]);\n  }\n  const span = nextSource - prevSource;\n  return span ? prevTarget + (nextTarget - prevTarget) * (val - prevSource) / span : prevTarget;\n}\nclass TimeSeriesScale extends TimeScale {\n  constructor(props) {\n    super(props);\n    this._table = [];\n    this._minPos = undefined;\n    this._tableRange = undefined;\n  }\n  initOffsets() {\n    const timestamps = this._getTimestampsForTable();\n    const table = this._table = this.buildLookupTable(timestamps);\n    this._minPos = interpolate(table, this.min);\n    this._tableRange = interpolate(table, this.max) - this._minPos;\n    super.initOffsets(timestamps);\n  }\n  buildLookupTable(timestamps) {\n    const {min, max} = this;\n    const items = [];\n    const table = [];\n    let i, ilen, prev, curr, next;\n    for (i = 0, ilen = timestamps.length; i < ilen; ++i) {\n      curr = timestamps[i];\n      if (curr >= min && curr <= max) {\n        items.push(curr);\n      }\n    }\n    if (items.length < 2) {\n      return [\n        {time: min, pos: 0},\n        {time: max, pos: 1}\n      ];\n    }\n    for (i = 0, ilen = items.length; i < ilen; ++i) {\n      next = items[i + 1];\n      prev = items[i - 1];\n      curr = items[i];\n      if (Math.round((next + prev) / 2) !== curr) {\n        table.push({time: curr, pos: i / (ilen - 1)});\n      }\n    }\n    return table;\n  }\n  _getTimestampsForTable() {\n    let timestamps = this._cache.all || [];\n    if (timestamps.length) {\n      return timestamps;\n    }\n    const data = this.getDataTimestamps();\n    const label = this.getLabelTimestamps();\n    if (data.length && label.length) {\n      timestamps = this.normalize(data.concat(label));\n    } else {\n      timestamps = data.length ? data : label;\n    }\n    timestamps = this._cache.all = timestamps;\n    return timestamps;\n  }\n  getDecimalForValue(value) {\n    return (interpolate(this._table, value) - this._minPos) / this._tableRange;\n  }\n  getValueForPixel(pixel) {\n    const offsets = this._offsets;\n    const decimal = this.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\n    return interpolate(this._table, decimal * this._tableRange + this._minPos, true);\n  }\n}\nTimeSeriesScale.id = 'timeseries';\nTimeSeriesScale.defaults = TimeScale.defaults;\n\nvar scales = /*#__PURE__*/Object.freeze({\n__proto__: null,\nCategoryScale: CategoryScale,\nLinearScale: LinearScale,\nLogarithmicScale: LogarithmicScale,\nRadialLinearScale: RadialLinearScale,\nTimeScale: TimeScale,\nTimeSeriesScale: TimeSeriesScale\n});\n\nChart.register(controllers, scales, elements, plugins);\nChart.helpers = {...helpers};\nChart._adapters = _adapters;\nChart.Animation = Animation;\nChart.Animations = Animations;\nChart.animator = animator;\nChart.controllers = registry.controllers.items;\nChart.DatasetController = DatasetController;\nChart.Element = Element;\nChart.elements = elements;\nChart.Interaction = Interaction;\nChart.layouts = layouts;\nChart.platforms = platforms;\nChart.Scale = Scale;\nChart.Ticks = Ticks;\nObject.assign(Chart, controllers, scales, elements, plugins, platforms);\nChart.Chart = Chart;\nif (typeof window !== 'undefined') {\n  window.Chart = Chart;\n}\n\nreturn Chart;\n\n}));\n","/*!\n  * chartjs-adapter-moment v1.0.1\n  * https://www.chartjs.org\n  * (c) 2022 chartjs-adapter-moment Contributors\n  * Released under the MIT license\n  */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? factory(require('moment'), require('chart.js')) :\ntypeof define === 'function' && define.amd ? define(['moment', 'chart.js'], factory) :\n(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.moment, global.Chart));\n}(this, (function (moment, chart_js) { 'use strict';\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);\n\nconst FORMATS = {\n  datetime: 'MMM D, YYYY, h:mm:ss a',\n  millisecond: 'h:mm:ss.SSS a',\n  second: 'h:mm:ss a',\n  minute: 'h:mm a',\n  hour: 'hA',\n  day: 'MMM D',\n  week: 'll',\n  month: 'MMM YYYY',\n  quarter: '[Q]Q - YYYY',\n  year: 'YYYY'\n};\n\nchart_js._adapters._date.override(typeof moment__default['default'] === 'function' ? {\n  _id: 'moment', // DEBUG ONLY\n\n  formats: function() {\n    return FORMATS;\n  },\n\n  parse: function(value, format) {\n    if (typeof value === 'string' && typeof format === 'string') {\n      value = moment__default['default'](value, format);\n    } else if (!(value instanceof moment__default['default'])) {\n      value = moment__default['default'](value);\n    }\n    return value.isValid() ? value.valueOf() : null;\n  },\n\n  format: function(time, format) {\n    return moment__default['default'](time).format(format);\n  },\n\n  add: function(time, amount, unit) {\n    return moment__default['default'](time).add(amount, unit).valueOf();\n  },\n\n  diff: function(max, min, unit) {\n    return moment__default['default'](max).diff(moment__default['default'](min), unit);\n  },\n\n  startOf: function(time, unit, weekday) {\n    time = moment__default['default'](time);\n    if (unit === 'isoWeek') {\n      weekday = Math.trunc(Math.min(Math.max(0, weekday), 6));\n      return time.isoWeekday(weekday).startOf('day').valueOf();\n    }\n    return time.startOf(unit).valueOf();\n  },\n\n  endOf: function(time, unit) {\n    return moment__default['default'](time).endOf(unit).valueOf();\n  }\n} : {});\n\n})));\n","/**\n * segment - A little JavaScript class (without dependencies) to draw and animate SVG path strokes\n * @version v0.0.2\n * @link https://github.com/lmgonzalves/segment\n * @license MIT\n */\nfunction Segment(t,e,n){this.path=t,this.length=t.getTotalLength(),this.path.style.strokeDashoffset=2*this.length,this.begin=e?this.valueOf(e):0,this.end=n?this.valueOf(n):this.length,this.timer=null,this.draw(this.begin,this.end)}Segment.prototype={draw:function(t,e,n,i){if(n){var s=i.hasOwnProperty(\"delay\")?1e3*parseFloat(i.delay):0,a=i.hasOwnProperty(\"easing\")?i.easing:null,h=i.hasOwnProperty(\"callback\")?i.callback:null,r=this;if(this.stop(),s)return delete i.delay,this.timer=setTimeout(function(){r.draw(t,e,n,i)},s),this.timer;var l=new Date,o=1e3/60,g=this.begin,f=this.end,u=this.valueOf(t),d=this.valueOf(e);!function p(){var t=new Date,e=(t-l)/1e3,i=e/parseFloat(n),s=i;return\"function\"==typeof a&&(s=a(s)),i>1?(r.stop(),s=1):r.timer=setTimeout(p,o),r.begin=g+(u-g)*s,r.end=f+(d-f)*s,r.begin<0&&(r.begin=0),r.end>r.length&&(r.end=r.length),r.begin<r.end?r.draw(r.begin,r.end):r.draw(r.begin+(r.end-r.begin),r.end-(r.end-r.begin)),i>1&&\"function\"==typeof h?h.call(r.context):void 0}()}else this.path.style.strokeDasharray=this.strokeDasharray(t,e)},strokeDasharray:function(t,e){return this.begin=this.valueOf(t),this.end=this.valueOf(e),[this.length,this.length+this.begin,this.end-this.begin].join(\" \")},valueOf:function(t){var e=parseFloat(t);if((\"string\"==typeof t||t instanceof String)&&~t.indexOf(\"%\")){var n;~t.indexOf(\"+\")?(n=t.split(\"+\"),e=this.percent(n[0])+parseFloat(n[1])):~t.indexOf(\"-\")?(n=t.split(\"-\"),e=this.percent(n[0])-parseFloat(n[1])):e=this.percent(t)}return e},stop:function(){clearTimeout(this.timer),this.timer=null},percent:function(t){return parseFloat(t)/100*this.length}};","!function(n,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],t):t(n.ease={})}(this,function(n){\"use strict\";function t(n,t){return null==n||isNaN(n)?t:+n}function u(n,u){n=Math.max(1,t(n,1)),u=t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*Math.pow(2,10*--t)*Math.sin((i-t)/u)}}function i(n,u){n=Math.max(1,t(n,1)),u=t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*Math.pow(2,-10*t)*Math.sin((t-i)/u)+1}}function r(n,u){n=Math.max(1,t(n,1)),u=1.5*t(u,.3)*A;var i=u*Math.asin(1/n);return function(t){return n*((t=2*t-1)<0?Math.pow(2,10*t)*Math.sin((i-t)/u):Math.pow(2,-10*t)*Math.sin((t-i)/u)+2)/2}}function o(n){return n=t(n,1.70158),function(t){return t*t*((n+1)*t-n)}}function e(n){return n=t(n,1.70158),function(t){return--t*t*((n+1)*t+n)+1}}function c(n){return n=1.525*t(n,1.70158),function(t){return((t*=2)<1?t*t*((n+1)*t-n):(t-=2)*t*((n+1)*t+n)+2)/2}}function a(n){return 1-f(1-n)}function f(n){return B>n?L*n*n:D>n?L*(n-=C)*n+E:G>n?L*(n-=F)*n+H:L*(n-=J)*n+K}function h(n){return((n*=2)<=1?1-f(1-n):f(n-1)+1)/2}function s(n){return 1-Math.sqrt(1-n*n)}function M(n){return Math.sqrt(1- --n*n)}function p(n){return((n*=2)<=1?1-Math.sqrt(1-n*n):Math.sqrt(1-(n-=2)*n)+1)/2}function l(n){return Math.pow(2,10*n-10)}function w(n){return 1-Math.pow(2,-10*n)}function b(n){return((n*=2)<=1?Math.pow(2,10*n-10):2-Math.pow(2,10-10*n))/2}function d(n){return 1-Math.cos(n*R)}function y(n){return Math.sin(n*R)}function x(n){return(1-Math.cos(Q*n))/2}function q(n){return n*n*n}function k(n){return--n*n*n+1}function m(n){return((n*=2)<=1?n*n*n:(n-=2)*n*n+2)/2}function v(n){return n*n}function P(n){return n*(2-n)}function O(n){return((n*=2)<=1?n*n:--n*(2-n)+1)/2}function g(n){return+n}function I(n){return n=t(n,3),function(t){return Math.pow(t,n)}}function N(n){return n=t(n,3),function(t){return 1-Math.pow(1-t,n)}}function j(n){return n=t(n,3),function(t){return((t*=2)<=1?Math.pow(t,n):2-Math.pow(2-t,n))/2}}function z(n,t,u){var i=(n+=\"\").indexOf(\"-\");return 0>i&&(n+=\"-in\"),arguments.length>1&&T.hasOwnProperty(n)?T[n](t,u):S.hasOwnProperty(n)?S[n]:g}var A=1/(2*Math.PI),B=4/11,C=6/11,D=8/11,E=.75,F=9/11,G=10/11,H=.9375,J=21/22,K=63/64,L=1/B/B,Q=Math.PI,R=Q/2,S={\"linear-in\":g,\"linear-out\":g,\"linear-in-out\":g,\"quad-in\":v,\"quad-out\":P,\"quad-in-out\":O,\"cubic-in\":q,\"cubic-out\":k,\"cubic-in-out\":m,\"poly-in\":q,\"poly-out\":k,\"poly-in-out\":m,\"sin-in\":d,\"sin-out\":y,\"sin-in-out\":x,\"exp-in\":l,\"exp-out\":w,\"exp-in-out\":b,\"circle-in\":s,\"circle-out\":M,\"circle-in-out\":p,\"bounce-in\":a,\"bounce-out\":f,\"bounce-in-out\":h,\"back-in\":o(),\"back-out\":e(),\"back-in-out\":c(),\"elastic-in\":u(),\"elastic-out\":i(),\"elastic-in-out\":r()},T={\"poly-in\":I,\"poly-out\":N,\"poly-in-out\":j,\"back-in\":o,\"back-out\":e,\"back-in-out\":c,\"elastic-in\":u,\"elastic-out\":i,\"elastic-in-out\":r};n.ease=z});","/*!\n * classie - class helper functions\n * from bonzo https://github.com/ded/bonzo\n * \n * classie.has( elem, 'my-class' ) -> true/false\n * classie.add( elem, 'my-new-class' )\n * classie.remove( elem, 'my-unwanted-class' )\n * classie.toggle( elem, 'my-class' )\n */\n\n/*jshint browser: true, strict: true, undef: true */\n/*global define: false */\n\n( function( window ) {\n\n'use strict';\n\n// class helper functions from bonzo https://github.com/ded/bonzo\n\nfunction classReg( className ) {\n  return new RegExp(\"(^|\\\\s+)\" + className + \"(\\\\s+|$)\");\n}\n\n// classList support for class management\n// altho to be fair, the api sucks because it won't accept multiple classes at once\nvar hasClass, addClass, removeClass;\n\nif ( 'classList' in document.documentElement ) {\n  hasClass = function( elem, c ) {\n    return elem.classList.contains( c );\n  };\n  addClass = function( elem, c ) {\n    elem.classList.add( c );\n  };\n  removeClass = function( elem, c ) {\n    elem.classList.remove( c );\n  };\n}\nelse {\n  hasClass = function( elem, c ) {\n    return classReg( c ).test( elem.className );\n  };\n  addClass = function( elem, c ) {\n    if ( !hasClass( elem, c ) ) {\n      elem.className = elem.className + ' ' + c;\n    }\n  };\n  removeClass = function( elem, c ) {\n    elem.className = elem.className.replace( classReg( c ), ' ' );\n  };\n}\n\nfunction toggleClass( elem, c ) {\n  var fn = hasClass( elem, c ) ? removeClass : addClass;\n  fn( elem, c );\n}\n\nvar classie = {\n  // full names\n  hasClass: hasClass,\n  addClass: addClass,\n  removeClass: removeClass,\n  toggleClass: toggleClass,\n  // short names\n  has: hasClass,\n  add: addClass,\n  remove: removeClass,\n  toggle: toggleClass\n};\n\n// transport\nif ( typeof define === 'function' && define.amd ) {\n  // AMD\n  define( classie );\n} else {\n  // browser global\n  window.classie = classie;\n}\n\n})( window );\n","/*!\n * jQuery Mousewheel 3.1.13\n *\n * Copyright 2015 jQuery Foundation and other contributors\n * Released under the MIT license.\n * http://jquery.org/license\n */\n!function(a){\"function\"==typeof define&&define.amd?define([\"jquery\"],a):\"object\"==typeof exports?module.exports=a:a(jQuery)}(function(a){function b(b){var g=b||window.event,h=i.call(arguments,1),j=0,l=0,m=0,n=0,o=0,p=0;if(b=a.event.fix(g),b.type=\"mousewheel\",\"detail\"in g&&(m=-1*g.detail),\"wheelDelta\"in g&&(m=g.wheelDelta),\"wheelDeltaY\"in g&&(m=g.wheelDeltaY),\"wheelDeltaX\"in g&&(l=-1*g.wheelDeltaX),\"axis\"in g&&g.axis===g.HORIZONTAL_AXIS&&(l=-1*m,m=0),j=0===m?l:m,\"deltaY\"in g&&(m=-1*g.deltaY,j=m),\"deltaX\"in g&&(l=g.deltaX,0===m&&(j=-1*l)),0!==m||0!==l){if(1===g.deltaMode){var q=a.data(this,\"mousewheel-line-height\");j*=q,m*=q,l*=q}else if(2===g.deltaMode){var r=a.data(this,\"mousewheel-page-height\");j*=r,m*=r,l*=r}if(n=Math.max(Math.abs(m),Math.abs(l)),(!f||f>n)&&(f=n,d(g,n)&&(f/=40)),d(g,n)&&(j/=40,l/=40,m/=40),j=Math[j>=1?\"floor\":\"ceil\"](j/f),l=Math[l>=1?\"floor\":\"ceil\"](l/f),m=Math[m>=1?\"floor\":\"ceil\"](m/f),k.settings.normalizeOffset&&this.getBoundingClientRect){var s=this.getBoundingClientRect();o=b.clientX-s.left,p=b.clientY-s.top}return b.deltaX=l,b.deltaY=m,b.deltaFactor=f,b.offsetX=o,b.offsetY=p,b.deltaMode=0,h.unshift(b,j,l,m),e&&clearTimeout(e),e=setTimeout(c,200),(a.event.dispatch||a.event.handle).apply(this,h)}}function c(){f=null}function d(a,b){return k.settings.adjustOldDeltas&&\"mousewheel\"===a.type&&b%120===0}var e,f,g=[\"wheel\",\"mousewheel\",\"DOMMouseScroll\",\"MozMousePixelScroll\"],h=\"onwheel\"in document||document.documentMode>=9?[\"wheel\"]:[\"mousewheel\",\"DomMouseScroll\",\"MozMousePixelScroll\"],i=Array.prototype.slice;if(a.event.fixHooks)for(var j=g.length;j;)a.event.fixHooks[g[--j]]=a.event.mouseHooks;var k=a.event.special.mousewheel={version:\"3.1.12\",setup:function(){if(this.addEventListener)for(var c=h.length;c;)this.addEventListener(h[--c],b,!1);else this.onmousewheel=b;a.data(this,\"mousewheel-line-height\",k.getLineHeight(this)),a.data(this,\"mousewheel-page-height\",k.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var c=h.length;c;)this.removeEventListener(h[--c],b,!1);else this.onmousewheel=null;a.removeData(this,\"mousewheel-line-height\"),a.removeData(this,\"mousewheel-page-height\")},getLineHeight:function(b){var c=a(b),d=c[\"offsetParent\"in a.fn?\"offsetParent\":\"parent\"]();return d.length||(d=a(\"body\")),parseInt(d.css(\"fontSize\"),10)||parseInt(c.css(\"fontSize\"),10)||16},getPageHeight:function(b){return a(b).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};a.fn.extend({mousewheel:function(a){return a?this.bind(\"mousewheel\",a):this.trigger(\"mousewheel\")},unmousewheel:function(a){return this.unbind(\"mousewheel\",a)}})});","/*! Hammer.JS - v2.0.6 - 2015-12-23\n * http://hammerjs.github.io/\n *\n * Copyright (c) 2015 Jorik Tangelder;\n * Licensed under the  license */\n(function(window, document, exportName, undefined) {\n  'use strict';\n\nvar VENDOR_PREFIXES = ['', 'webkit', 'Moz', 'MS', 'ms', 'o'];\nvar TEST_ELEMENT = document.createElement('div');\n\nvar TYPE_FUNCTION = 'function';\n\nvar round = Math.round;\nvar abs = Math.abs;\nvar now = Date.now;\n\n/**\n * set a timeout with a given scope\n * @param {Function} fn\n * @param {Number} timeout\n * @param {Object} context\n * @returns {number}\n */\nfunction setTimeoutContext(fn, timeout, context) {\n    return setTimeout(bindFn(fn, context), timeout);\n}\n\n/**\n * if the argument is an array, we want to execute the fn on each entry\n * if it aint an array we don't want to do a thing.\n * this is used by all the methods that accept a single and array argument.\n * @param {*|Array} arg\n * @param {String} fn\n * @param {Object} [context]\n * @returns {Boolean}\n */\nfunction invokeArrayArg(arg, fn, context) {\n    if (Array.isArray(arg)) {\n        each(arg, context[fn], context);\n        return true;\n    }\n    return false;\n}\n\n/**\n * walk objects and arrays\n * @param {Object} obj\n * @param {Function} iterator\n * @param {Object} context\n */\nfunction each(obj, iterator, context) {\n    var i;\n\n    if (!obj) {\n        return;\n    }\n\n    if (obj.forEach) {\n        obj.forEach(iterator, context);\n    } else if (obj.length !== undefined) {\n        i = 0;\n        while (i < obj.length) {\n            iterator.call(context, obj[i], i, obj);\n            i++;\n        }\n    } else {\n        for (i in obj) {\n            obj.hasOwnProperty(i) && iterator.call(context, obj[i], i, obj);\n        }\n    }\n}\n\n/**\n * wrap a method with a deprecation warning and stack trace\n * @param {Function} method\n * @param {String} name\n * @param {String} message\n * @returns {Function} A new function wrapping the supplied method.\n */\nfunction deprecate(method, name, message) {\n    var deprecationMessage = 'DEPRECATED METHOD: ' + name + '\\n' + message + ' AT \\n';\n    return function() {\n        var e = new Error('get-stack-trace');\n        var stack = e && e.stack ? e.stack.replace(/^[^\\(]+?[\\n$]/gm, '')\n            .replace(/^\\s+at\\s+/gm, '')\n            .replace(/^Object.<anonymous>\\s*\\(/gm, '{anonymous}()@') : 'Unknown Stack Trace';\n\n        var log = window.console && (window.console.warn || window.console.log);\n        if (log) {\n            log.call(window.console, deprecationMessage, stack);\n        }\n        return method.apply(this, arguments);\n    };\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} target\n * @param {...Object} objects_to_assign\n * @returns {Object} target\n */\nvar assign;\nif (typeof Object.assign !== 'function') {\n    assign = function assign(target) {\n        if (target === undefined || target === null) {\n            throw new TypeError('Cannot convert undefined or null to object');\n        }\n\n        var output = Object(target);\n        for (var index = 1; index < arguments.length; index++) {\n            var source = arguments[index];\n            if (source !== undefined && source !== null) {\n                for (var nextKey in source) {\n                    if (source.hasOwnProperty(nextKey)) {\n                        output[nextKey] = source[nextKey];\n                    }\n                }\n            }\n        }\n        return output;\n    };\n} else {\n    assign = Object.assign;\n}\n\n/**\n * extend object.\n * means that properties in dest will be overwritten by the ones in src.\n * @param {Object} dest\n * @param {Object} src\n * @param {Boolean=false} [merge]\n * @returns {Object} dest\n */\nvar extend = deprecate(function extend(dest, src, merge) {\n    var keys = Object.keys(src);\n    var i = 0;\n    while (i < keys.length) {\n        if (!merge || (merge && dest[keys[i]] === undefined)) {\n            dest[keys[i]] = src[keys[i]];\n        }\n        i++;\n    }\n    return dest;\n}, 'extend', 'Use `assign`.');\n\n/**\n * merge the values from src in the dest.\n * means that properties that exist in dest will not be overwritten by src\n * @param {Object} dest\n * @param {Object} src\n * @returns {Object} dest\n */\nvar merge = deprecate(function merge(dest, src) {\n    return extend(dest, src, true);\n}, 'merge', 'Use `assign`.');\n\n/**\n * simple class inheritance\n * @param {Function} child\n * @param {Function} base\n * @param {Object} [properties]\n */\nfunction inherit(child, base, properties) {\n    var baseP = base.prototype,\n        childP;\n\n    childP = child.prototype = Object.create(baseP);\n    childP.constructor = child;\n    childP._super = baseP;\n\n    if (properties) {\n        assign(childP, properties);\n    }\n}\n\n/**\n * simple function bind\n * @param {Function} fn\n * @param {Object} context\n * @returns {Function}\n */\nfunction bindFn(fn, context) {\n    return function boundFn() {\n        return fn.apply(context, arguments);\n    };\n}\n\n/**\n * let a boolean value also be a function that must return a boolean\n * this first item in args will be used as the context\n * @param {Boolean|Function} val\n * @param {Array} [args]\n * @returns {Boolean}\n */\nfunction boolOrFn(val, args) {\n    if (typeof val == TYPE_FUNCTION) {\n        return val.apply(args ? args[0] || undefined : undefined, args);\n    }\n    return val;\n}\n\n/**\n * use the val2 when val1 is undefined\n * @param {*} val1\n * @param {*} val2\n * @returns {*}\n */\nfunction ifUndefined(val1, val2) {\n    return (val1 === undefined) ? val2 : val1;\n}\n\n/**\n * addEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction addEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.addEventListener(type, handler, false);\n    });\n}\n\n/**\n * removeEventListener with multiple events at once\n * @param {EventTarget} target\n * @param {String} types\n * @param {Function} handler\n */\nfunction removeEventListeners(target, types, handler) {\n    each(splitStr(types), function(type) {\n        target.removeEventListener(type, handler, false);\n    });\n}\n\n/**\n * find if a node is in the given parent\n * @method hasParent\n * @param {HTMLElement} node\n * @param {HTMLElement} parent\n * @return {Boolean} found\n */\nfunction hasParent(node, parent) {\n    while (node) {\n        if (node == parent) {\n            return true;\n        }\n        node = node.parentNode;\n    }\n    return false;\n}\n\n/**\n * small indexOf wrapper\n * @param {String} str\n * @param {String} find\n * @returns {Boolean} found\n */\nfunction inStr(str, find) {\n    return str.indexOf(find) > -1;\n}\n\n/**\n * split string on whitespace\n * @param {String} str\n * @returns {Array} words\n */\nfunction splitStr(str) {\n    return str.trim().split(/\\s+/g);\n}\n\n/**\n * find if a array contains the object using indexOf or a simple polyFill\n * @param {Array} src\n * @param {String} find\n * @param {String} [findByKey]\n * @return {Boolean|Number} false when not found, or the index\n */\nfunction inArray(src, find, findByKey) {\n    if (src.indexOf && !findByKey) {\n        return src.indexOf(find);\n    } else {\n        var i = 0;\n        while (i < src.length) {\n            if ((findByKey && src[i][findByKey] == find) || (!findByKey && src[i] === find)) {\n                return i;\n            }\n            i++;\n        }\n        return -1;\n    }\n}\n\n/**\n * convert array-like objects to real arrays\n * @param {Object} obj\n * @returns {Array}\n */\nfunction toArray(obj) {\n    return Array.prototype.slice.call(obj, 0);\n}\n\n/**\n * unique array with objects based on a key (like 'id') or just by the array's value\n * @param {Array} src [{id:1},{id:2},{id:1}]\n * @param {String} [key]\n * @param {Boolean} [sort=False]\n * @returns {Array} [{id:1},{id:2}]\n */\nfunction uniqueArray(src, key, sort) {\n    var results = [];\n    var values = [];\n    var i = 0;\n\n    while (i < src.length) {\n        var val = key ? src[i][key] : src[i];\n        if (inArray(values, val) < 0) {\n            results.push(src[i]);\n        }\n        values[i] = val;\n        i++;\n    }\n\n    if (sort) {\n        if (!key) {\n            results = results.sort();\n        } else {\n            results = results.sort(function sortUniqueArray(a, b) {\n                return a[key] > b[key];\n            });\n        }\n    }\n\n    return results;\n}\n\n/**\n * get the prefixed property\n * @param {Object} obj\n * @param {String} property\n * @returns {String|Undefined} prefixed\n */\nfunction prefixed(obj, property) {\n    var prefix, prop;\n    var camelProp = property[0].toUpperCase() + property.slice(1);\n\n    var i = 0;\n    while (i < VENDOR_PREFIXES.length) {\n        prefix = VENDOR_PREFIXES[i];\n        prop = (prefix) ? prefix + camelProp : property;\n\n        if (prop in obj) {\n            return prop;\n        }\n        i++;\n    }\n    return undefined;\n}\n\n/**\n * get a unique id\n * @returns {number} uniqueId\n */\nvar _uniqueId = 1;\nfunction uniqueId() {\n    return _uniqueId++;\n}\n\n/**\n * get the window object of an element\n * @param {HTMLElement} element\n * @returns {DocumentView|Window}\n */\nfunction getWindowForElement(element) {\n    var doc = element.ownerDocument || element;\n    return (doc.defaultView || doc.parentWindow || window);\n}\n\nvar MOBILE_REGEX = /mobile|tablet|ip(ad|hone|od)|android/i;\n\nvar SUPPORT_TOUCH = ('ontouchstart' in window);\nvar SUPPORT_POINTER_EVENTS = prefixed(window, 'PointerEvent') !== undefined;\nvar SUPPORT_ONLY_TOUCH = SUPPORT_TOUCH && MOBILE_REGEX.test(navigator.userAgent);\n\nvar INPUT_TYPE_TOUCH = 'touch';\nvar INPUT_TYPE_PEN = 'pen';\nvar INPUT_TYPE_MOUSE = 'mouse';\nvar INPUT_TYPE_KINECT = 'kinect';\n\nvar COMPUTE_INTERVAL = 25;\n\nvar INPUT_START = 1;\nvar INPUT_MOVE = 2;\nvar INPUT_END = 4;\nvar INPUT_CANCEL = 8;\n\nvar DIRECTION_NONE = 1;\nvar DIRECTION_LEFT = 2;\nvar DIRECTION_RIGHT = 4;\nvar DIRECTION_UP = 8;\nvar DIRECTION_DOWN = 16;\n\nvar DIRECTION_HORIZONTAL = DIRECTION_LEFT | DIRECTION_RIGHT;\nvar DIRECTION_VERTICAL = DIRECTION_UP | DIRECTION_DOWN;\nvar DIRECTION_ALL = DIRECTION_HORIZONTAL | DIRECTION_VERTICAL;\n\nvar PROPS_XY = ['x', 'y'];\nvar PROPS_CLIENT_XY = ['clientX', 'clientY'];\n\n/**\n * create new input type manager\n * @param {Manager} manager\n * @param {Function} callback\n * @returns {Input}\n * @constructor\n */\nfunction Input(manager, callback) {\n    var self = this;\n    this.manager = manager;\n    this.callback = callback;\n    this.element = manager.element;\n    this.target = manager.options.inputTarget;\n\n    // smaller wrapper around the handler, for the scope and the enabled state of the manager,\n    // so when disabled the input events are completely bypassed.\n    this.domHandler = function(ev) {\n        if (boolOrFn(manager.options.enable, [manager])) {\n            self.handler(ev);\n        }\n    };\n\n    this.init();\n\n}\n\nInput.prototype = {\n    /**\n     * should handle the inputEvent data and trigger the callback\n     * @virtual\n     */\n    handler: function() { },\n\n    /**\n     * bind the events\n     */\n    init: function() {\n        this.evEl && addEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && addEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && addEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    },\n\n    /**\n     * unbind the events\n     */\n    destroy: function() {\n        this.evEl && removeEventListeners(this.element, this.evEl, this.domHandler);\n        this.evTarget && removeEventListeners(this.target, this.evTarget, this.domHandler);\n        this.evWin && removeEventListeners(getWindowForElement(this.element), this.evWin, this.domHandler);\n    }\n};\n\n/**\n * create new input type manager\n * called by the Manager constructor\n * @param {Hammer} manager\n * @returns {Input}\n */\nfunction createInputInstance(manager) {\n    var Type;\n    var inputClass = manager.options.inputClass;\n\n    if (inputClass) {\n        Type = inputClass;\n    } else if (SUPPORT_POINTER_EVENTS) {\n        Type = PointerEventInput;\n    } else if (SUPPORT_ONLY_TOUCH) {\n        Type = TouchInput;\n    } else if (!SUPPORT_TOUCH) {\n        Type = MouseInput;\n    } else {\n        Type = TouchMouseInput;\n    }\n    return new (Type)(manager, inputHandler);\n}\n\n/**\n * handle input events\n * @param {Manager} manager\n * @param {String} eventType\n * @param {Object} input\n */\nfunction inputHandler(manager, eventType, input) {\n    var pointersLen = input.pointers.length;\n    var changedPointersLen = input.changedPointers.length;\n    var isFirst = (eventType & INPUT_START && (pointersLen - changedPointersLen === 0));\n    var isFinal = (eventType & (INPUT_END | INPUT_CANCEL) && (pointersLen - changedPointersLen === 0));\n\n    input.isFirst = !!isFirst;\n    input.isFinal = !!isFinal;\n\n    if (isFirst) {\n        manager.session = {};\n    }\n\n    // source event is the normalized value of the domEvents\n    // like 'touchstart, mouseup, pointerdown'\n    input.eventType = eventType;\n\n    // compute scale, rotation etc\n    computeInputData(manager, input);\n\n    // emit secret event\n    manager.emit('hammer.input', input);\n\n    manager.recognize(input);\n    manager.session.prevInput = input;\n}\n\n/**\n * extend the data with some usable properties like scale, rotate, velocity etc\n * @param {Object} manager\n * @param {Object} input\n */\nfunction computeInputData(manager, input) {\n    var session = manager.session;\n    var pointers = input.pointers;\n    var pointersLength = pointers.length;\n\n    // store the first input to calculate the distance and direction\n    if (!session.firstInput) {\n        session.firstInput = simpleCloneInputData(input);\n    }\n\n    // to compute scale and rotation we need to store the multiple touches\n    if (pointersLength > 1 && !session.firstMultiple) {\n        session.firstMultiple = simpleCloneInputData(input);\n    } else if (pointersLength === 1) {\n        session.firstMultiple = false;\n    }\n\n    var firstInput = session.firstInput;\n    var firstMultiple = session.firstMultiple;\n    var offsetCenter = firstMultiple ? firstMultiple.center : firstInput.center;\n\n    var center = input.center = getCenter(pointers);\n    input.timeStamp = now();\n    input.deltaTime = input.timeStamp - firstInput.timeStamp;\n\n    input.angle = getAngle(offsetCenter, center);\n    input.distance = getDistance(offsetCenter, center);\n\n    computeDeltaXY(session, input);\n    input.offsetDirection = getDirection(input.deltaX, input.deltaY);\n\n    var overallVelocity = getVelocity(input.deltaTime, input.deltaX, input.deltaY);\n    input.overallVelocityX = overallVelocity.x;\n    input.overallVelocityY = overallVelocity.y;\n    input.overallVelocity = (abs(overallVelocity.x) > abs(overallVelocity.y)) ? overallVelocity.x : overallVelocity.y;\n\n    input.scale = firstMultiple ? getScale(firstMultiple.pointers, pointers) : 1;\n    input.rotation = firstMultiple ? getRotation(firstMultiple.pointers, pointers) : 0;\n\n    input.maxPointers = !session.prevInput ? input.pointers.length : ((input.pointers.length >\n        session.prevInput.maxPointers) ? input.pointers.length : session.prevInput.maxPointers);\n\n    computeIntervalInputData(session, input);\n\n    // find the correct target\n    var target = manager.element;\n    if (hasParent(input.srcEvent.target, target)) {\n        target = input.srcEvent.target;\n    }\n    input.target = target;\n}\n\nfunction computeDeltaXY(session, input) {\n    var center = input.center;\n    var offset = session.offsetDelta || {};\n    var prevDelta = session.prevDelta || {};\n    var prevInput = session.prevInput || {};\n\n    if (input.eventType === INPUT_START || prevInput.eventType === INPUT_END) {\n        prevDelta = session.prevDelta = {\n            x: prevInput.deltaX || 0,\n            y: prevInput.deltaY || 0\n        };\n\n        offset = session.offsetDelta = {\n            x: center.x,\n            y: center.y\n        };\n    }\n\n    input.deltaX = prevDelta.x + (center.x - offset.x);\n    input.deltaY = prevDelta.y + (center.y - offset.y);\n}\n\n/**\n * velocity is calculated every x ms\n * @param {Object} session\n * @param {Object} input\n */\nfunction computeIntervalInputData(session, input) {\n    var last = session.lastInterval || input,\n        deltaTime = input.timeStamp - last.timeStamp,\n        velocity, velocityX, velocityY, direction;\n\n    if (input.eventType != INPUT_CANCEL && (deltaTime > COMPUTE_INTERVAL || last.velocity === undefined)) {\n        var deltaX = input.deltaX - last.deltaX;\n        var deltaY = input.deltaY - last.deltaY;\n\n        var v = getVelocity(deltaTime, deltaX, deltaY);\n        velocityX = v.x;\n        velocityY = v.y;\n        velocity = (abs(v.x) > abs(v.y)) ? v.x : v.y;\n        direction = getDirection(deltaX, deltaY);\n\n        session.lastInterval = input;\n    } else {\n        // use latest velocity info if it doesn't overtake a minimum period\n        velocity = last.velocity;\n        velocityX = last.velocityX;\n        velocityY = last.velocityY;\n        direction = last.direction;\n    }\n\n    input.velocity = velocity;\n    input.velocityX = velocityX;\n    input.velocityY = velocityY;\n    input.direction = direction;\n}\n\n/**\n * create a simple clone from the input used for storage of firstInput and firstMultiple\n * @param {Object} input\n * @returns {Object} clonedInputData\n */\nfunction simpleCloneInputData(input) {\n    // make a simple copy of the pointers because we will get a reference if we don't\n    // we only need clientXY for the calculations\n    var pointers = [];\n    var i = 0;\n    while (i < input.pointers.length) {\n        pointers[i] = {\n            clientX: round(input.pointers[i].clientX),\n            clientY: round(input.pointers[i].clientY)\n        };\n        i++;\n    }\n\n    return {\n        timeStamp: now(),\n        pointers: pointers,\n        center: getCenter(pointers),\n        deltaX: input.deltaX,\n        deltaY: input.deltaY\n    };\n}\n\n/**\n * get the center of all the pointers\n * @param {Array} pointers\n * @return {Object} center contains `x` and `y` properties\n */\nfunction getCenter(pointers) {\n    var pointersLength = pointers.length;\n\n    // no need to loop when only one touch\n    if (pointersLength === 1) {\n        return {\n            x: round(pointers[0].clientX),\n            y: round(pointers[0].clientY)\n        };\n    }\n\n    var x = 0, y = 0, i = 0;\n    while (i < pointersLength) {\n        x += pointers[i].clientX;\n        y += pointers[i].clientY;\n        i++;\n    }\n\n    return {\n        x: round(x / pointersLength),\n        y: round(y / pointersLength)\n    };\n}\n\n/**\n * calculate the velocity between two points. unit is in px per ms.\n * @param {Number} deltaTime\n * @param {Number} x\n * @param {Number} y\n * @return {Object} velocity `x` and `y`\n */\nfunction getVelocity(deltaTime, x, y) {\n    return {\n        x: x / deltaTime || 0,\n        y: y / deltaTime || 0\n    };\n}\n\n/**\n * get the direction between two points\n * @param {Number} x\n * @param {Number} y\n * @return {Number} direction\n */\nfunction getDirection(x, y) {\n    if (x === y) {\n        return DIRECTION_NONE;\n    }\n\n    if (abs(x) >= abs(y)) {\n        return x < 0 ? DIRECTION_LEFT : DIRECTION_RIGHT;\n    }\n    return y < 0 ? DIRECTION_UP : DIRECTION_DOWN;\n}\n\n/**\n * calculate the absolute distance between two points\n * @param {Object} p1 {x, y}\n * @param {Object} p2 {x, y}\n * @param {Array} [props] containing x and y keys\n * @return {Number} distance\n */\nfunction getDistance(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n\n    return Math.sqrt((x * x) + (y * y));\n}\n\n/**\n * calculate the angle between two coordinates\n * @param {Object} p1\n * @param {Object} p2\n * @param {Array} [props] containing x and y keys\n * @return {Number} angle\n */\nfunction getAngle(p1, p2, props) {\n    if (!props) {\n        props = PROPS_XY;\n    }\n    var x = p2[props[0]] - p1[props[0]],\n        y = p2[props[1]] - p1[props[1]];\n    return Math.atan2(y, x) * 180 / Math.PI;\n}\n\n/**\n * calculate the rotation degrees between two pointersets\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} rotation\n */\nfunction getRotation(start, end) {\n    return getAngle(end[1], end[0], PROPS_CLIENT_XY) + getAngle(start[1], start[0], PROPS_CLIENT_XY);\n}\n\n/**\n * calculate the scale factor between two pointersets\n * no scale is 1, and goes down to 0 when pinched together, and bigger when pinched out\n * @param {Array} start array of pointers\n * @param {Array} end array of pointers\n * @return {Number} scale\n */\nfunction getScale(start, end) {\n    return getDistance(end[0], end[1], PROPS_CLIENT_XY) / getDistance(start[0], start[1], PROPS_CLIENT_XY);\n}\n\nvar MOUSE_INPUT_MAP = {\n    mousedown: INPUT_START,\n    mousemove: INPUT_MOVE,\n    mouseup: INPUT_END\n};\n\nvar MOUSE_ELEMENT_EVENTS = 'mousedown';\nvar MOUSE_WINDOW_EVENTS = 'mousemove mouseup';\n\n/**\n * Mouse events input\n * @constructor\n * @extends Input\n */\nfunction MouseInput() {\n    this.evEl = MOUSE_ELEMENT_EVENTS;\n    this.evWin = MOUSE_WINDOW_EVENTS;\n\n    this.allow = true; // used by Input.TouchMouse to disable mouse events\n    this.pressed = false; // mousedown state\n\n    Input.apply(this, arguments);\n}\n\ninherit(MouseInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function MEhandler(ev) {\n        var eventType = MOUSE_INPUT_MAP[ev.type];\n\n        // on start we want to have the left mouse button down\n        if (eventType & INPUT_START && ev.button === 0) {\n            this.pressed = true;\n        }\n\n        if (eventType & INPUT_MOVE && ev.which !== 1) {\n            eventType = INPUT_END;\n        }\n\n        // mouse must be down, and mouse events are allowed (see the TouchMouse input)\n        if (!this.pressed || !this.allow) {\n            return;\n        }\n\n        if (eventType & INPUT_END) {\n            this.pressed = false;\n        }\n\n        this.callback(this.manager, eventType, {\n            pointers: [ev],\n            changedPointers: [ev],\n            pointerType: INPUT_TYPE_MOUSE,\n            srcEvent: ev\n        });\n    }\n});\n\nvar POINTER_INPUT_MAP = {\n    pointerdown: INPUT_START,\n    pointermove: INPUT_MOVE,\n    pointerup: INPUT_END,\n    pointercancel: INPUT_CANCEL,\n    pointerout: INPUT_CANCEL\n};\n\n// in IE10 the pointer types is defined as an enum\nvar IE10_POINTER_TYPE_ENUM = {\n    2: INPUT_TYPE_TOUCH,\n    3: INPUT_TYPE_PEN,\n    4: INPUT_TYPE_MOUSE,\n    5: INPUT_TYPE_KINECT // see https://twitter.com/jacobrossi/status/480596438489890816\n};\n\nvar POINTER_ELEMENT_EVENTS = 'pointerdown';\nvar POINTER_WINDOW_EVENTS = 'pointermove pointerup pointercancel';\n\n// IE10 has prefixed support, and case-sensitive\nif (window.MSPointerEvent && !window.PointerEvent) {\n    POINTER_ELEMENT_EVENTS = 'MSPointerDown';\n    POINTER_WINDOW_EVENTS = 'MSPointerMove MSPointerUp MSPointerCancel';\n}\n\n/**\n * Pointer events input\n * @constructor\n * @extends Input\n */\nfunction PointerEventInput() {\n    this.evEl = POINTER_ELEMENT_EVENTS;\n    this.evWin = POINTER_WINDOW_EVENTS;\n\n    Input.apply(this, arguments);\n\n    this.store = (this.manager.session.pointerEvents = []);\n}\n\ninherit(PointerEventInput, Input, {\n    /**\n     * handle mouse events\n     * @param {Object} ev\n     */\n    handler: function PEhandler(ev) {\n        var store = this.store;\n        var removePointer = false;\n\n        var eventTypeNormalized = ev.type.toLowerCase().replace('ms', '');\n        var eventType = POINTER_INPUT_MAP[eventTypeNormalized];\n        var pointerType = IE10_POINTER_TYPE_ENUM[ev.pointerType] || ev.pointerType;\n\n        var isTouch = (pointerType == INPUT_TYPE_TOUCH);\n\n        // get index of the event in the store\n        var storeIndex = inArray(store, ev.pointerId, 'pointerId');\n\n        // start and mouse must be down\n        if (eventType & INPUT_START && (ev.button === 0 || isTouch)) {\n            if (storeIndex < 0) {\n                store.push(ev);\n                storeIndex = store.length - 1;\n            }\n        } else if (eventType & (INPUT_END | INPUT_CANCEL)) {\n            removePointer = true;\n        }\n\n        // it not found, so the pointer hasn't been down (so it's probably a hover)\n        if (storeIndex < 0) {\n            return;\n        }\n\n        // update the event in the store\n        store[storeIndex] = ev;\n\n        this.callback(this.manager, eventType, {\n            pointers: store,\n            changedPointers: [ev],\n            pointerType: pointerType,\n            srcEvent: ev\n        });\n\n        if (removePointer) {\n            // remove from the store\n            store.splice(storeIndex, 1);\n        }\n    }\n});\n\nvar SINGLE_TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar SINGLE_TOUCH_TARGET_EVENTS = 'touchstart';\nvar SINGLE_TOUCH_WINDOW_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Touch events input\n * @constructor\n * @extends Input\n */\nfunction SingleTouchInput() {\n    this.evTarget = SINGLE_TOUCH_TARGET_EVENTS;\n    this.evWin = SINGLE_TOUCH_WINDOW_EVENTS;\n    this.started = false;\n\n    Input.apply(this, arguments);\n}\n\ninherit(SingleTouchInput, Input, {\n    handler: function TEhandler(ev) {\n        var type = SINGLE_TOUCH_INPUT_MAP[ev.type];\n\n        // should we handle the touch events?\n        if (type === INPUT_START) {\n            this.started = true;\n        }\n\n        if (!this.started) {\n            return;\n        }\n\n        var touches = normalizeSingleTouches.call(this, ev, type);\n\n        // when done, reset the started state\n        if (type & (INPUT_END | INPUT_CANCEL) && touches[0].length - touches[1].length === 0) {\n            this.started = false;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction normalizeSingleTouches(ev, type) {\n    var all = toArray(ev.touches);\n    var changed = toArray(ev.changedTouches);\n\n    if (type & (INPUT_END | INPUT_CANCEL)) {\n        all = uniqueArray(all.concat(changed), 'identifier', true);\n    }\n\n    return [all, changed];\n}\n\nvar TOUCH_INPUT_MAP = {\n    touchstart: INPUT_START,\n    touchmove: INPUT_MOVE,\n    touchend: INPUT_END,\n    touchcancel: INPUT_CANCEL\n};\n\nvar TOUCH_TARGET_EVENTS = 'touchstart touchmove touchend touchcancel';\n\n/**\n * Multi-user touch events input\n * @constructor\n * @extends Input\n */\nfunction TouchInput() {\n    this.evTarget = TOUCH_TARGET_EVENTS;\n    this.targetIds = {};\n\n    Input.apply(this, arguments);\n}\n\ninherit(TouchInput, Input, {\n    handler: function MTEhandler(ev) {\n        var type = TOUCH_INPUT_MAP[ev.type];\n        var touches = getTouches.call(this, ev, type);\n        if (!touches) {\n            return;\n        }\n\n        this.callback(this.manager, type, {\n            pointers: touches[0],\n            changedPointers: touches[1],\n            pointerType: INPUT_TYPE_TOUCH,\n            srcEvent: ev\n        });\n    }\n});\n\n/**\n * @this {TouchInput}\n * @param {Object} ev\n * @param {Number} type flag\n * @returns {undefined|Array} [all, changed]\n */\nfunction getTouches(ev, type) {\n    var allTouches = toArray(ev.touches);\n    var targetIds = this.targetIds;\n\n    // when there is only one touch, the process can be simplified\n    if (type & (INPUT_START | INPUT_MOVE) && allTouches.length === 1) {\n        targetIds[allTouches[0].identifier] = true;\n        return [allTouches, allTouches];\n    }\n\n    var i,\n        targetTouches,\n        changedTouches = toArray(ev.changedTouches),\n        changedTargetTouches = [],\n        target = this.target;\n\n    // get target touches from touches\n    targetTouches = allTouches.filter(function(touch) {\n        return hasParent(touch.target, target);\n    });\n\n    // collect touches\n    if (type === INPUT_START) {\n        i = 0;\n        while (i < targetTouches.length) {\n            targetIds[targetTouches[i].identifier] = true;\n            i++;\n        }\n    }\n\n    // filter changed touches to only contain touches that exist in the collected target ids\n    i = 0;\n    while (i < changedTouches.length) {\n        if (targetIds[changedTouches[i].identifier]) {\n            changedTargetTouches.push(changedTouches[i]);\n        }\n\n        // cleanup removed touches\n        if (type & (INPUT_END | INPUT_CANCEL)) {\n            delete targetIds[changedTouches[i].identifier];\n        }\n        i++;\n    }\n\n    if (!changedTargetTouches.length) {\n        return;\n    }\n\n    return [\n        // merge targetTouches with changedTargetTouches so it contains ALL touches, including 'end' and 'cancel'\n        uniqueArray(targetTouches.concat(changedTargetTouches), 'identifier', true),\n        changedTargetTouches\n    ];\n}\n\n/**\n * Combined touch and mouse input\n *\n * Touch has a higher priority then mouse, and while touching no mouse events are allowed.\n * This because touch devices also emit mouse events while doing a touch.\n *\n * @constructor\n * @extends Input\n */\nfunction TouchMouseInput() {\n    Input.apply(this, arguments);\n\n    var handler = bindFn(this.handler, this);\n    this.touch = new TouchInput(this.manager, handler);\n    this.mouse = new MouseInput(this.manager, handler);\n}\n\ninherit(TouchMouseInput, Input, {\n    /**\n     * handle mouse and touch events\n     * @param {Hammer} manager\n     * @param {String} inputEvent\n     * @param {Object} inputData\n     */\n    handler: function TMEhandler(manager, inputEvent, inputData) {\n        var isTouch = (inputData.pointerType == INPUT_TYPE_TOUCH),\n            isMouse = (inputData.pointerType == INPUT_TYPE_MOUSE);\n\n        // when we're in a touch event, so  block all upcoming mouse events\n        // most mobile browser also emit mouseevents, right after touchstart\n        if (isTouch) {\n            this.mouse.allow = false;\n        } else if (isMouse && !this.mouse.allow) {\n            return;\n        }\n\n        // reset the allowMouse when we're done\n        if (inputEvent & (INPUT_END | INPUT_CANCEL)) {\n            this.mouse.allow = true;\n        }\n\n        this.callback(manager, inputEvent, inputData);\n    },\n\n    /**\n     * remove the event listeners\n     */\n    destroy: function destroy() {\n        this.touch.destroy();\n        this.mouse.destroy();\n    }\n});\n\nvar PREFIXED_TOUCH_ACTION = prefixed(TEST_ELEMENT.style, 'touchAction');\nvar NATIVE_TOUCH_ACTION = PREFIXED_TOUCH_ACTION !== undefined;\n\n// magical touchAction value\nvar TOUCH_ACTION_COMPUTE = 'compute';\nvar TOUCH_ACTION_AUTO = 'auto';\nvar TOUCH_ACTION_MANIPULATION = 'manipulation'; // not implemented\nvar TOUCH_ACTION_NONE = 'none';\nvar TOUCH_ACTION_PAN_X = 'pan-x';\nvar TOUCH_ACTION_PAN_Y = 'pan-y';\n\n/**\n * Touch Action\n * sets the touchAction property or uses the js alternative\n * @param {Manager} manager\n * @param {String} value\n * @constructor\n */\nfunction TouchAction(manager, value) {\n    this.manager = manager;\n    this.set(value);\n}\n\nTouchAction.prototype = {\n    /**\n     * set the touchAction value on the element or enable the polyfill\n     * @param {String} value\n     */\n    set: function(value) {\n        // find out the touch-action by the event handlers\n        if (value == TOUCH_ACTION_COMPUTE) {\n            value = this.compute();\n        }\n\n        if (NATIVE_TOUCH_ACTION && this.manager.element.style) {\n            this.manager.element.style[PREFIXED_TOUCH_ACTION] = value;\n        }\n        this.actions = value.toLowerCase().trim();\n    },\n\n    /**\n     * just re-set the touchAction value\n     */\n    update: function() {\n        this.set(this.manager.options.touchAction);\n    },\n\n    /**\n     * compute the value for the touchAction property based on the recognizer's settings\n     * @returns {String} value\n     */\n    compute: function() {\n        var actions = [];\n        each(this.manager.recognizers, function(recognizer) {\n            if (boolOrFn(recognizer.options.enable, [recognizer])) {\n                actions = actions.concat(recognizer.getTouchAction());\n            }\n        });\n        return cleanTouchActions(actions.join(' '));\n    },\n\n    /**\n     * this method is called on each input cycle and provides the preventing of the browser behavior\n     * @param {Object} input\n     */\n    preventDefaults: function(input) {\n        // not needed with native support for the touchAction property\n        if (NATIVE_TOUCH_ACTION) {\n            return;\n        }\n\n        var srcEvent = input.srcEvent;\n        var direction = input.offsetDirection;\n\n        // if the touch action did prevented once this session\n        if (this.manager.session.prevented) {\n            srcEvent.preventDefault();\n            return;\n        }\n\n        var actions = this.actions;\n        var hasNone = inStr(actions, TOUCH_ACTION_NONE);\n        var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n        var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n\n        if (hasNone) {\n            //do not prevent defaults if this is a tap gesture\n\n            var isTapPointer = input.pointers.length === 1;\n            var isTapMovement = input.distance < 2;\n            var isTapTouchTime = input.deltaTime < 250;\n\n            if (isTapPointer && isTapMovement && isTapTouchTime) {\n                return;\n            }\n        }\n\n        if (hasPanX && hasPanY) {\n            // `pan-x pan-y` means browser handles all scrolling/panning, do not prevent\n            return;\n        }\n\n        if (hasNone ||\n            (hasPanY && direction & DIRECTION_HORIZONTAL) ||\n            (hasPanX && direction & DIRECTION_VERTICAL)) {\n            return this.preventSrc(srcEvent);\n        }\n    },\n\n    /**\n     * call preventDefault to prevent the browser's default behavior (scrolling in most cases)\n     * @param {Object} srcEvent\n     */\n    preventSrc: function(srcEvent) {\n        this.manager.session.prevented = true;\n        srcEvent.preventDefault();\n    }\n};\n\n/**\n * when the touchActions are collected they are not a valid value, so we need to clean things up. *\n * @param {String} actions\n * @returns {*}\n */\nfunction cleanTouchActions(actions) {\n    // none\n    if (inStr(actions, TOUCH_ACTION_NONE)) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    var hasPanX = inStr(actions, TOUCH_ACTION_PAN_X);\n    var hasPanY = inStr(actions, TOUCH_ACTION_PAN_Y);\n\n    // if both pan-x and pan-y are set (different recognizers\n    // for different directions, e.g. horizontal pan but vertical swipe?)\n    // we need none (as otherwise with pan-x pan-y combined none of these\n    // recognizers will work, since the browser would handle all panning\n    if (hasPanX && hasPanY) {\n        return TOUCH_ACTION_NONE;\n    }\n\n    // pan-x OR pan-y\n    if (hasPanX || hasPanY) {\n        return hasPanX ? TOUCH_ACTION_PAN_X : TOUCH_ACTION_PAN_Y;\n    }\n\n    // manipulation\n    if (inStr(actions, TOUCH_ACTION_MANIPULATION)) {\n        return TOUCH_ACTION_MANIPULATION;\n    }\n\n    return TOUCH_ACTION_AUTO;\n}\n\n/**\n * Recognizer flow explained; *\n * All recognizers have the initial state of POSSIBLE when a input session starts.\n * The definition of a input session is from the first input until the last input, with all it's movement in it. *\n * Example session for mouse-input: mousedown -> mousemove -> mouseup\n *\n * On each recognizing cycle (see Manager.recognize) the .recognize() method is executed\n * which determines with state it should be.\n *\n * If the recognizer has the state FAILED, CANCELLED or RECOGNIZED (equals ENDED), it is reset to\n * POSSIBLE to give it another change on the next cycle.\n *\n *               Possible\n *                  |\n *            +-----+---------------+\n *            |                     |\n *      +-----+-----+               |\n *      |           |               |\n *   Failed      Cancelled          |\n *                          +-------+------+\n *                          |              |\n *                      Recognized       Began\n *                                         |\n *                                      Changed\n *                                         |\n *                                  Ended/Recognized\n */\nvar STATE_POSSIBLE = 1;\nvar STATE_BEGAN = 2;\nvar STATE_CHANGED = 4;\nvar STATE_ENDED = 8;\nvar STATE_RECOGNIZED = STATE_ENDED;\nvar STATE_CANCELLED = 16;\nvar STATE_FAILED = 32;\n\n/**\n * Recognizer\n * Every recognizer needs to extend from this class.\n * @constructor\n * @param {Object} options\n */\nfunction Recognizer(options) {\n    this.options = assign({}, this.defaults, options || {});\n\n    this.id = uniqueId();\n\n    this.manager = null;\n\n    // default is enable true\n    this.options.enable = ifUndefined(this.options.enable, true);\n\n    this.state = STATE_POSSIBLE;\n\n    this.simultaneous = {};\n    this.requireFail = [];\n}\n\nRecognizer.prototype = {\n    /**\n     * @virtual\n     * @type {Object}\n     */\n    defaults: {},\n\n    /**\n     * set options\n     * @param {Object} options\n     * @return {Recognizer}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // also update the touchAction, in case something changed about the directions/enabled state\n        this.manager && this.manager.touchAction.update();\n        return this;\n    },\n\n    /**\n     * recognize simultaneous with an other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    recognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'recognizeWith', this)) {\n            return this;\n        }\n\n        var simultaneous = this.simultaneous;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (!simultaneous[otherRecognizer.id]) {\n            simultaneous[otherRecognizer.id] = otherRecognizer;\n            otherRecognizer.recognizeWith(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the simultaneous link. it doesnt remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRecognizeWith: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRecognizeWith', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        delete this.simultaneous[otherRecognizer.id];\n        return this;\n    },\n\n    /**\n     * recognizer can only run when an other is failing\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    requireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'requireFailure', this)) {\n            return this;\n        }\n\n        var requireFail = this.requireFail;\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        if (inArray(requireFail, otherRecognizer) === -1) {\n            requireFail.push(otherRecognizer);\n            otherRecognizer.requireFailure(this);\n        }\n        return this;\n    },\n\n    /**\n     * drop the requireFailure link. it does not remove the link on the other recognizer.\n     * @param {Recognizer} otherRecognizer\n     * @returns {Recognizer} this\n     */\n    dropRequireFailure: function(otherRecognizer) {\n        if (invokeArrayArg(otherRecognizer, 'dropRequireFailure', this)) {\n            return this;\n        }\n\n        otherRecognizer = getRecognizerByNameIfManager(otherRecognizer, this);\n        var index = inArray(this.requireFail, otherRecognizer);\n        if (index > -1) {\n            this.requireFail.splice(index, 1);\n        }\n        return this;\n    },\n\n    /**\n     * has require failures boolean\n     * @returns {boolean}\n     */\n    hasRequireFailures: function() {\n        return this.requireFail.length > 0;\n    },\n\n    /**\n     * if the recognizer can recognize simultaneous with an other recognizer\n     * @param {Recognizer} otherRecognizer\n     * @returns {Boolean}\n     */\n    canRecognizeWith: function(otherRecognizer) {\n        return !!this.simultaneous[otherRecognizer.id];\n    },\n\n    /**\n     * You should use `tryEmit` instead of `emit` directly to check\n     * that all the needed recognizers has failed before emitting.\n     * @param {Object} input\n     */\n    emit: function(input) {\n        var self = this;\n        var state = this.state;\n\n        function emit(event) {\n            self.manager.emit(event, input);\n        }\n\n        // 'panstart' and 'panmove'\n        if (state < STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n\n        emit(self.options.event); // simple 'eventName' events\n\n        if (input.additionalEvent) { // additional event(panleft, panright, pinchin, pinchout...)\n            emit(input.additionalEvent);\n        }\n\n        // panend and pancancel\n        if (state >= STATE_ENDED) {\n            emit(self.options.event + stateStr(state));\n        }\n    },\n\n    /**\n     * Check that all the require failure recognizers has failed,\n     * if true, it emits a gesture event,\n     * otherwise, setup the state to FAILED.\n     * @param {Object} input\n     */\n    tryEmit: function(input) {\n        if (this.canEmit()) {\n            return this.emit(input);\n        }\n        // it's failing anyway\n        this.state = STATE_FAILED;\n    },\n\n    /**\n     * can we emit?\n     * @returns {boolean}\n     */\n    canEmit: function() {\n        var i = 0;\n        while (i < this.requireFail.length) {\n            if (!(this.requireFail[i].state & (STATE_FAILED | STATE_POSSIBLE))) {\n                return false;\n            }\n            i++;\n        }\n        return true;\n    },\n\n    /**\n     * update the recognizer\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        // make a new copy of the inputData\n        // so we can change the inputData without messing up the other recognizers\n        var inputDataClone = assign({}, inputData);\n\n        // is is enabled and allow recognizing?\n        if (!boolOrFn(this.options.enable, [this, inputDataClone])) {\n            this.reset();\n            this.state = STATE_FAILED;\n            return;\n        }\n\n        // reset when we've reached the end\n        if (this.state & (STATE_RECOGNIZED | STATE_CANCELLED | STATE_FAILED)) {\n            this.state = STATE_POSSIBLE;\n        }\n\n        this.state = this.process(inputDataClone);\n\n        // the recognizer has recognized a gesture\n        // so trigger an event\n        if (this.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED | STATE_CANCELLED)) {\n            this.tryEmit(inputDataClone);\n        }\n    },\n\n    /**\n     * return the state of the recognizer\n     * the actual recognizing happens in this method\n     * @virtual\n     * @param {Object} inputData\n     * @returns {Const} STATE\n     */\n    process: function(inputData) { }, // jshint ignore:line\n\n    /**\n     * return the preferred touch-action\n     * @virtual\n     * @returns {Array}\n     */\n    getTouchAction: function() { },\n\n    /**\n     * called when the gesture isn't allowed to recognize\n     * like when another is being recognized or it is disabled\n     * @virtual\n     */\n    reset: function() { }\n};\n\n/**\n * get a usable string, used as event postfix\n * @param {Const} state\n * @returns {String} state\n */\nfunction stateStr(state) {\n    if (state & STATE_CANCELLED) {\n        return 'cancel';\n    } else if (state & STATE_ENDED) {\n        return 'end';\n    } else if (state & STATE_CHANGED) {\n        return 'move';\n    } else if (state & STATE_BEGAN) {\n        return 'start';\n    }\n    return '';\n}\n\n/**\n * direction cons to string\n * @param {Const} direction\n * @returns {String}\n */\nfunction directionStr(direction) {\n    if (direction == DIRECTION_DOWN) {\n        return 'down';\n    } else if (direction == DIRECTION_UP) {\n        return 'up';\n    } else if (direction == DIRECTION_LEFT) {\n        return 'left';\n    } else if (direction == DIRECTION_RIGHT) {\n        return 'right';\n    }\n    return '';\n}\n\n/**\n * get a recognizer by name if it is bound to a manager\n * @param {Recognizer|String} otherRecognizer\n * @param {Recognizer} recognizer\n * @returns {Recognizer}\n */\nfunction getRecognizerByNameIfManager(otherRecognizer, recognizer) {\n    var manager = recognizer.manager;\n    if (manager) {\n        return manager.get(otherRecognizer);\n    }\n    return otherRecognizer;\n}\n\n/**\n * This recognizer is just used as a base for the simple attribute recognizers.\n * @constructor\n * @extends Recognizer\n */\nfunction AttrRecognizer() {\n    Recognizer.apply(this, arguments);\n}\n\ninherit(AttrRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof AttrRecognizer\n     */\n    defaults: {\n        /**\n         * @type {Number}\n         * @default 1\n         */\n        pointers: 1\n    },\n\n    /**\n     * Used to check if it the recognizer receives valid input, like input.distance > 10.\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {Boolean} recognized\n     */\n    attrTest: function(input) {\n        var optionPointers = this.options.pointers;\n        return optionPointers === 0 || input.pointers.length === optionPointers;\n    },\n\n    /**\n     * Process the input and return the state for the recognizer\n     * @memberof AttrRecognizer\n     * @param {Object} input\n     * @returns {*} State\n     */\n    process: function(input) {\n        var state = this.state;\n        var eventType = input.eventType;\n\n        var isRecognized = state & (STATE_BEGAN | STATE_CHANGED);\n        var isValid = this.attrTest(input);\n\n        // on cancel input and we've recognized before, return STATE_CANCELLED\n        if (isRecognized && (eventType & INPUT_CANCEL || !isValid)) {\n            return state | STATE_CANCELLED;\n        } else if (isRecognized || isValid) {\n            if (eventType & INPUT_END) {\n                return state | STATE_ENDED;\n            } else if (!(state & STATE_BEGAN)) {\n                return STATE_BEGAN;\n            }\n            return state | STATE_CHANGED;\n        }\n        return STATE_FAILED;\n    }\n});\n\n/**\n * Pan\n * Recognized when the pointer is down and moved in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PanRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n\n    this.pX = null;\n    this.pY = null;\n}\n\ninherit(PanRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PanRecognizer\n     */\n    defaults: {\n        event: 'pan',\n        threshold: 10,\n        pointers: 1,\n        direction: DIRECTION_ALL\n    },\n\n    getTouchAction: function() {\n        var direction = this.options.direction;\n        var actions = [];\n        if (direction & DIRECTION_HORIZONTAL) {\n            actions.push(TOUCH_ACTION_PAN_Y);\n        }\n        if (direction & DIRECTION_VERTICAL) {\n            actions.push(TOUCH_ACTION_PAN_X);\n        }\n        return actions;\n    },\n\n    directionTest: function(input) {\n        var options = this.options;\n        var hasMoved = true;\n        var distance = input.distance;\n        var direction = input.direction;\n        var x = input.deltaX;\n        var y = input.deltaY;\n\n        // lock to axis?\n        if (!(direction & options.direction)) {\n            if (options.direction & DIRECTION_HORIZONTAL) {\n                direction = (x === 0) ? DIRECTION_NONE : (x < 0) ? DIRECTION_LEFT : DIRECTION_RIGHT;\n                hasMoved = x != this.pX;\n                distance = Math.abs(input.deltaX);\n            } else {\n                direction = (y === 0) ? DIRECTION_NONE : (y < 0) ? DIRECTION_UP : DIRECTION_DOWN;\n                hasMoved = y != this.pY;\n                distance = Math.abs(input.deltaY);\n            }\n        }\n        input.direction = direction;\n        return hasMoved && distance > options.threshold && direction & options.direction;\n    },\n\n    attrTest: function(input) {\n        return AttrRecognizer.prototype.attrTest.call(this, input) &&\n            (this.state & STATE_BEGAN || (!(this.state & STATE_BEGAN) && this.directionTest(input)));\n    },\n\n    emit: function(input) {\n\n        this.pX = input.deltaX;\n        this.pY = input.deltaY;\n\n        var direction = directionStr(input.direction);\n\n        if (direction) {\n            input.additionalEvent = this.options.event + direction;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Pinch\n * Recognized when two or more pointers are moving toward (zoom-in) or away from each other (zoom-out).\n * @constructor\n * @extends AttrRecognizer\n */\nfunction PinchRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(PinchRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'pinch',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.scale - 1) > this.options.threshold || this.state & STATE_BEGAN);\n    },\n\n    emit: function(input) {\n        if (input.scale !== 1) {\n            var inOut = input.scale < 1 ? 'in' : 'out';\n            input.additionalEvent = this.options.event + inOut;\n        }\n        this._super.emit.call(this, input);\n    }\n});\n\n/**\n * Press\n * Recognized when the pointer is down for x ms without any movement.\n * @constructor\n * @extends Recognizer\n */\nfunction PressRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    this._timer = null;\n    this._input = null;\n}\n\ninherit(PressRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PressRecognizer\n     */\n    defaults: {\n        event: 'press',\n        pointers: 1,\n        time: 251, // minimal time of the pointer to be pressed\n        threshold: 9 // a minimal movement is ok, but keep it low\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_AUTO];\n    },\n\n    process: function(input) {\n        var options = this.options;\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTime = input.deltaTime > options.time;\n\n        this._input = input;\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (!validMovement || !validPointers || (input.eventType & (INPUT_END | INPUT_CANCEL) && !validTime)) {\n            this.reset();\n        } else if (input.eventType & INPUT_START) {\n            this.reset();\n            this._timer = setTimeoutContext(function() {\n                this.state = STATE_RECOGNIZED;\n                this.tryEmit();\n            }, options.time, this);\n        } else if (input.eventType & INPUT_END) {\n            return STATE_RECOGNIZED;\n        }\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function(input) {\n        if (this.state !== STATE_RECOGNIZED) {\n            return;\n        }\n\n        if (input && (input.eventType & INPUT_END)) {\n            this.manager.emit(this.options.event + 'up', input);\n        } else {\n            this._input.timeStamp = now();\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Rotate\n * Recognized when two or more pointer are moving in a circular motion.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction RotateRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(RotateRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof RotateRecognizer\n     */\n    defaults: {\n        event: 'rotate',\n        threshold: 0,\n        pointers: 2\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_NONE];\n    },\n\n    attrTest: function(input) {\n        return this._super.attrTest.call(this, input) &&\n            (Math.abs(input.rotation) > this.options.threshold || this.state & STATE_BEGAN);\n    }\n});\n\n/**\n * Swipe\n * Recognized when the pointer is moving fast (velocity), with enough distance in the allowed direction.\n * @constructor\n * @extends AttrRecognizer\n */\nfunction SwipeRecognizer() {\n    AttrRecognizer.apply(this, arguments);\n}\n\ninherit(SwipeRecognizer, AttrRecognizer, {\n    /**\n     * @namespace\n     * @memberof SwipeRecognizer\n     */\n    defaults: {\n        event: 'swipe',\n        threshold: 10,\n        velocity: 0.3,\n        direction: DIRECTION_HORIZONTAL | DIRECTION_VERTICAL,\n        pointers: 1\n    },\n\n    getTouchAction: function() {\n        return PanRecognizer.prototype.getTouchAction.call(this);\n    },\n\n    attrTest: function(input) {\n        var direction = this.options.direction;\n        var velocity;\n\n        if (direction & (DIRECTION_HORIZONTAL | DIRECTION_VERTICAL)) {\n            velocity = input.overallVelocity;\n        } else if (direction & DIRECTION_HORIZONTAL) {\n            velocity = input.overallVelocityX;\n        } else if (direction & DIRECTION_VERTICAL) {\n            velocity = input.overallVelocityY;\n        }\n\n        return this._super.attrTest.call(this, input) &&\n            direction & input.offsetDirection &&\n            input.distance > this.options.threshold &&\n            input.maxPointers == this.options.pointers &&\n            abs(velocity) > this.options.velocity && input.eventType & INPUT_END;\n    },\n\n    emit: function(input) {\n        var direction = directionStr(input.offsetDirection);\n        if (direction) {\n            this.manager.emit(this.options.event + direction, input);\n        }\n\n        this.manager.emit(this.options.event, input);\n    }\n});\n\n/**\n * A tap is ecognized when the pointer is doing a small tap/click. Multiple taps are recognized if they occur\n * between the given interval and position. The delay option can be used to recognize multi-taps without firing\n * a single tap.\n *\n * The eventData from the emitted event contains the property `tapCount`, which contains the amount of\n * multi-taps being recognized.\n * @constructor\n * @extends Recognizer\n */\nfunction TapRecognizer() {\n    Recognizer.apply(this, arguments);\n\n    // previous time and center,\n    // used for tap counting\n    this.pTime = false;\n    this.pCenter = false;\n\n    this._timer = null;\n    this._input = null;\n    this.count = 0;\n}\n\ninherit(TapRecognizer, Recognizer, {\n    /**\n     * @namespace\n     * @memberof PinchRecognizer\n     */\n    defaults: {\n        event: 'tap',\n        pointers: 1,\n        taps: 1,\n        interval: 300, // max time between the multi-tap taps\n        time: 250, // max time of the pointer to be down (like finger on the screen)\n        threshold: 9, // a minimal movement is ok, but keep it low\n        posThreshold: 10 // a multi-tap can be a bit off the initial position\n    },\n\n    getTouchAction: function() {\n        return [TOUCH_ACTION_MANIPULATION];\n    },\n\n    process: function(input) {\n        var options = this.options;\n\n        var validPointers = input.pointers.length === options.pointers;\n        var validMovement = input.distance < options.threshold;\n        var validTouchTime = input.deltaTime < options.time;\n\n        this.reset();\n\n        if ((input.eventType & INPUT_START) && (this.count === 0)) {\n            return this.failTimeout();\n        }\n\n        // we only allow little movement\n        // and we've reached an end event, so a tap is possible\n        if (validMovement && validTouchTime && validPointers) {\n            if (input.eventType != INPUT_END) {\n                return this.failTimeout();\n            }\n\n            var validInterval = this.pTime ? (input.timeStamp - this.pTime < options.interval) : true;\n            var validMultiTap = !this.pCenter || getDistance(this.pCenter, input.center) < options.posThreshold;\n\n            this.pTime = input.timeStamp;\n            this.pCenter = input.center;\n\n            if (!validMultiTap || !validInterval) {\n                this.count = 1;\n            } else {\n                this.count += 1;\n            }\n\n            this._input = input;\n\n            // if tap count matches we have recognized it,\n            // else it has began recognizing...\n            var tapCount = this.count % options.taps;\n            if (tapCount === 0) {\n                // no failing requirements, immediately trigger the tap event\n                // or wait as long as the multitap interval to trigger\n                if (!this.hasRequireFailures()) {\n                    return STATE_RECOGNIZED;\n                } else {\n                    this._timer = setTimeoutContext(function() {\n                        this.state = STATE_RECOGNIZED;\n                        this.tryEmit();\n                    }, options.interval, this);\n                    return STATE_BEGAN;\n                }\n            }\n        }\n        return STATE_FAILED;\n    },\n\n    failTimeout: function() {\n        this._timer = setTimeoutContext(function() {\n            this.state = STATE_FAILED;\n        }, this.options.interval, this);\n        return STATE_FAILED;\n    },\n\n    reset: function() {\n        clearTimeout(this._timer);\n    },\n\n    emit: function() {\n        if (this.state == STATE_RECOGNIZED) {\n            this._input.tapCount = this.count;\n            this.manager.emit(this.options.event, this._input);\n        }\n    }\n});\n\n/**\n * Simple way to create a manager with a default set of recognizers.\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Hammer(element, options) {\n    options = options || {};\n    options.recognizers = ifUndefined(options.recognizers, Hammer.defaults.preset);\n    return new Manager(element, options);\n}\n\n/**\n * @const {string}\n */\nHammer.VERSION = '2.0.6';\n\n/**\n * default settings\n * @namespace\n */\nHammer.defaults = {\n    /**\n     * set if DOM events are being triggered.\n     * But this is slower and unused by simple implementations, so disabled by default.\n     * @type {Boolean}\n     * @default false\n     */\n    domEvents: false,\n\n    /**\n     * The value for the touchAction property/fallback.\n     * When set to `compute` it will magically set the correct value based on the added recognizers.\n     * @type {String}\n     * @default compute\n     */\n    touchAction: TOUCH_ACTION_COMPUTE,\n\n    /**\n     * @type {Boolean}\n     * @default true\n     */\n    enable: true,\n\n    /**\n     * EXPERIMENTAL FEATURE -- can be removed/changed\n     * Change the parent input target element.\n     * If Null, then it is being set the to main element.\n     * @type {Null|EventTarget}\n     * @default null\n     */\n    inputTarget: null,\n\n    /**\n     * force an input class\n     * @type {Null|Function}\n     * @default null\n     */\n    inputClass: null,\n\n    /**\n     * Default recognizer setup when calling `Hammer()`\n     * When creating a new Manager these will be skipped.\n     * @type {Array}\n     */\n    preset: [\n        // RecognizerClass, options, [recognizeWith, ...], [requireFailure, ...]\n        [RotateRecognizer, {enable: false}],\n        [PinchRecognizer, {enable: false}, ['rotate']],\n        [SwipeRecognizer, {direction: DIRECTION_HORIZONTAL}],\n        [PanRecognizer, {direction: DIRECTION_HORIZONTAL}, ['swipe']],\n        [TapRecognizer],\n        [TapRecognizer, {event: 'doubletap', taps: 2}, ['tap']],\n        [PressRecognizer]\n    ],\n\n    /**\n     * Some CSS properties can be used to improve the working of Hammer.\n     * Add them to this method and they will be set when creating a new Manager.\n     * @namespace\n     */\n    cssProps: {\n        /**\n         * Disables text selection to improve the dragging gesture. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userSelect: 'none',\n\n        /**\n         * Disable the Windows Phone grippers when pressing an element.\n         * @type {String}\n         * @default 'none'\n         */\n        touchSelect: 'none',\n\n        /**\n         * Disables the default callout shown when you touch and hold a touch target.\n         * On iOS, when you touch and hold a touch target such as a link, Safari displays\n         * a callout containing information about the link. This property allows you to disable that callout.\n         * @type {String}\n         * @default 'none'\n         */\n        touchCallout: 'none',\n\n        /**\n         * Specifies whether zooming is enabled. Used by IE10>\n         * @type {String}\n         * @default 'none'\n         */\n        contentZooming: 'none',\n\n        /**\n         * Specifies that an entire element should be draggable instead of its contents. Mainly for desktop browsers.\n         * @type {String}\n         * @default 'none'\n         */\n        userDrag: 'none',\n\n        /**\n         * Overrides the highlight color shown when the user taps a link or a JavaScript\n         * clickable element in iOS. This property obeys the alpha value, if specified.\n         * @type {String}\n         * @default 'rgba(0,0,0,0)'\n         */\n        tapHighlightColor: 'rgba(0,0,0,0)'\n    }\n};\n\nvar STOP = 1;\nvar FORCED_STOP = 2;\n\n/**\n * Manager\n * @param {HTMLElement} element\n * @param {Object} [options]\n * @constructor\n */\nfunction Manager(element, options) {\n    this.options = assign({}, Hammer.defaults, options || {});\n\n    this.options.inputTarget = this.options.inputTarget || element;\n\n    this.handlers = {};\n    this.session = {};\n    this.recognizers = [];\n\n    this.element = element;\n    this.input = createInputInstance(this);\n    this.touchAction = new TouchAction(this, this.options.touchAction);\n\n    toggleCssProps(this, true);\n\n    each(this.options.recognizers, function(item) {\n        var recognizer = this.add(new (item[0])(item[1]));\n        item[2] && recognizer.recognizeWith(item[2]);\n        item[3] && recognizer.requireFailure(item[3]);\n    }, this);\n}\n\nManager.prototype = {\n    /**\n     * set options\n     * @param {Object} options\n     * @returns {Manager}\n     */\n    set: function(options) {\n        assign(this.options, options);\n\n        // Options that need a little more setup\n        if (options.touchAction) {\n            this.touchAction.update();\n        }\n        if (options.inputTarget) {\n            // Clean up existing event listeners and reinitialize\n            this.input.destroy();\n            this.input.target = options.inputTarget;\n            this.input.init();\n        }\n        return this;\n    },\n\n    /**\n     * stop recognizing for this session.\n     * This session will be discarded, when a new [input]start event is fired.\n     * When forced, the recognizer cycle is stopped immediately.\n     * @param {Boolean} [force]\n     */\n    stop: function(force) {\n        this.session.stopped = force ? FORCED_STOP : STOP;\n    },\n\n    /**\n     * run the recognizers!\n     * called by the inputHandler function on every movement of the pointers (touches)\n     * it walks through all the recognizers and tries to detect the gesture that is being made\n     * @param {Object} inputData\n     */\n    recognize: function(inputData) {\n        var session = this.session;\n        if (session.stopped) {\n            return;\n        }\n\n        // run the touch-action polyfill\n        this.touchAction.preventDefaults(inputData);\n\n        var recognizer;\n        var recognizers = this.recognizers;\n\n        // this holds the recognizer that is being recognized.\n        // so the recognizer's state needs to be BEGAN, CHANGED, ENDED or RECOGNIZED\n        // if no recognizer is detecting a thing, it is set to `null`\n        var curRecognizer = session.curRecognizer;\n\n        // reset when the last recognizer is recognized\n        // or when we're in a new session\n        if (!curRecognizer || (curRecognizer && curRecognizer.state & STATE_RECOGNIZED)) {\n            curRecognizer = session.curRecognizer = null;\n        }\n\n        var i = 0;\n        while (i < recognizers.length) {\n            recognizer = recognizers[i];\n\n            // find out if we are allowed try to recognize the input for this one.\n            // 1.   allow if the session is NOT forced stopped (see the .stop() method)\n            // 2.   allow if we still haven't recognized a gesture in this session, or the this recognizer is the one\n            //      that is being recognized.\n            // 3.   allow if the recognizer is allowed to run simultaneous with the current recognized recognizer.\n            //      this can be setup with the `recognizeWith()` method on the recognizer.\n            if (session.stopped !== FORCED_STOP && ( // 1\n                    !curRecognizer || recognizer == curRecognizer || // 2\n                    recognizer.canRecognizeWith(curRecognizer))) { // 3\n                recognizer.recognize(inputData);\n            } else {\n                recognizer.reset();\n            }\n\n            // if the recognizer has been recognizing the input as a valid gesture, we want to store this one as the\n            // current active recognizer. but only if we don't already have an active recognizer\n            if (!curRecognizer && recognizer.state & (STATE_BEGAN | STATE_CHANGED | STATE_ENDED)) {\n                curRecognizer = session.curRecognizer = recognizer;\n            }\n            i++;\n        }\n    },\n\n    /**\n     * get a recognizer by its event name.\n     * @param {Recognizer|String} recognizer\n     * @returns {Recognizer|Null}\n     */\n    get: function(recognizer) {\n        if (recognizer instanceof Recognizer) {\n            return recognizer;\n        }\n\n        var recognizers = this.recognizers;\n        for (var i = 0; i < recognizers.length; i++) {\n            if (recognizers[i].options.event == recognizer) {\n                return recognizers[i];\n            }\n        }\n        return null;\n    },\n\n    /**\n     * add a recognizer to the manager\n     * existing recognizers with the same event name will be removed\n     * @param {Recognizer} recognizer\n     * @returns {Recognizer|Manager}\n     */\n    add: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'add', this)) {\n            return this;\n        }\n\n        // remove existing\n        var existing = this.get(recognizer.options.event);\n        if (existing) {\n            this.remove(existing);\n        }\n\n        this.recognizers.push(recognizer);\n        recognizer.manager = this;\n\n        this.touchAction.update();\n        return recognizer;\n    },\n\n    /**\n     * remove a recognizer by name or instance\n     * @param {Recognizer|String} recognizer\n     * @returns {Manager}\n     */\n    remove: function(recognizer) {\n        if (invokeArrayArg(recognizer, 'remove', this)) {\n            return this;\n        }\n\n        recognizer = this.get(recognizer);\n\n        // let's make sure this recognizer exists\n        if (recognizer) {\n            var recognizers = this.recognizers;\n            var index = inArray(recognizers, recognizer);\n\n            if (index !== -1) {\n                recognizers.splice(index, 1);\n                this.touchAction.update();\n            }\n        }\n\n        return this;\n    },\n\n    /**\n     * bind event\n     * @param {String} events\n     * @param {Function} handler\n     * @returns {EventEmitter} this\n     */\n    on: function(events, handler) {\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            handlers[event] = handlers[event] || [];\n            handlers[event].push(handler);\n        });\n        return this;\n    },\n\n    /**\n     * unbind event, leave emit blank to remove all handlers\n     * @param {String} events\n     * @param {Function} [handler]\n     * @returns {EventEmitter} this\n     */\n    off: function(events, handler) {\n        var handlers = this.handlers;\n        each(splitStr(events), function(event) {\n            if (!handler) {\n                delete handlers[event];\n            } else {\n                handlers[event] && handlers[event].splice(inArray(handlers[event], handler), 1);\n            }\n        });\n        return this;\n    },\n\n    /**\n     * emit event to the listeners\n     * @param {String} event\n     * @param {Object} data\n     */\n    emit: function(event, data) {\n        // we also want to trigger dom events\n        if (this.options.domEvents) {\n            triggerDomEvent(event, data);\n        }\n\n        // no handlers, so skip it all\n        var handlers = this.handlers[event] && this.handlers[event].slice();\n        if (!handlers || !handlers.length) {\n            return;\n        }\n\n        data.type = event;\n        data.preventDefault = function() {\n            data.srcEvent.preventDefault();\n        };\n\n        var i = 0;\n        while (i < handlers.length) {\n            handlers[i](data);\n            i++;\n        }\n    },\n\n    /**\n     * destroy the manager and unbinds all events\n     * it doesn't unbind dom events, that is the user own responsibility\n     */\n    destroy: function() {\n        this.element && toggleCssProps(this, false);\n\n        this.handlers = {};\n        this.session = {};\n        this.input.destroy();\n        this.element = null;\n    }\n};\n\n/**\n * add/remove the css properties as defined in manager.options.cssProps\n * @param {Manager} manager\n * @param {Boolean} add\n */\nfunction toggleCssProps(manager, add) {\n    var element = manager.element;\n    if (!element.style) {\n        return;\n    }\n    each(manager.options.cssProps, function(value, name) {\n        element.style[prefixed(element.style, name)] = add ? value : '';\n    });\n}\n\n/**\n * trigger dom event\n * @param {String} event\n * @param {Object} data\n */\nfunction triggerDomEvent(event, data) {\n    var gestureEvent = document.createEvent('Event');\n    gestureEvent.initEvent(event, true, true);\n    gestureEvent.gesture = data;\n    data.target.dispatchEvent(gestureEvent);\n}\n\nassign(Hammer, {\n    INPUT_START: INPUT_START,\n    INPUT_MOVE: INPUT_MOVE,\n    INPUT_END: INPUT_END,\n    INPUT_CANCEL: INPUT_CANCEL,\n\n    STATE_POSSIBLE: STATE_POSSIBLE,\n    STATE_BEGAN: STATE_BEGAN,\n    STATE_CHANGED: STATE_CHANGED,\n    STATE_ENDED: STATE_ENDED,\n    STATE_RECOGNIZED: STATE_RECOGNIZED,\n    STATE_CANCELLED: STATE_CANCELLED,\n    STATE_FAILED: STATE_FAILED,\n\n    DIRECTION_NONE: DIRECTION_NONE,\n    DIRECTION_LEFT: DIRECTION_LEFT,\n    DIRECTION_RIGHT: DIRECTION_RIGHT,\n    DIRECTION_UP: DIRECTION_UP,\n    DIRECTION_DOWN: DIRECTION_DOWN,\n    DIRECTION_HORIZONTAL: DIRECTION_HORIZONTAL,\n    DIRECTION_VERTICAL: DIRECTION_VERTICAL,\n    DIRECTION_ALL: DIRECTION_ALL,\n\n    Manager: Manager,\n    Input: Input,\n    TouchAction: TouchAction,\n\n    TouchInput: TouchInput,\n    MouseInput: MouseInput,\n    PointerEventInput: PointerEventInput,\n    TouchMouseInput: TouchMouseInput,\n    SingleTouchInput: SingleTouchInput,\n\n    Recognizer: Recognizer,\n    AttrRecognizer: AttrRecognizer,\n    Tap: TapRecognizer,\n    Pan: PanRecognizer,\n    Swipe: SwipeRecognizer,\n    Pinch: PinchRecognizer,\n    Rotate: RotateRecognizer,\n    Press: PressRecognizer,\n\n    on: addEventListeners,\n    off: removeEventListeners,\n    each: each,\n    merge: merge,\n    extend: extend,\n    assign: assign,\n    inherit: inherit,\n    bindFn: bindFn,\n    prefixed: prefixed\n});\n\n// this prevents errors when Hammer is loaded in the presence of an AMD\n//  style loader but by script tag, not by the loader.\nvar freeGlobal = (typeof window !== 'undefined' ? window : (typeof self !== 'undefined' ? self : {})); // jshint ignore:line\nfreeGlobal.Hammer = Hammer;\n\nif (typeof define === 'function' && define.amd) {\n    define(function() {\n        return Hammer;\n    });\n} else if (typeof module != 'undefined' && module.exports) {\n    module.exports = Hammer;\n} else {\n    window[exportName] = Hammer;\n}\n\n})(window, document, 'Hammer');\n","!function(a){function b(a,b,c){var d=864e5,e=365*d;if(a>d&&c>4*e){for(var f=moment(b).startOf(\"year\"),g=b+c,h=[f],i=f.year();g>f;)i+=1,f=moment(i+\"-01-01\",\"YYYY-MM-DD\"),h.push(f);return h.length>20&&(h=h.slice(0,20)),h}var f=b-b%a,g=b+c;a>9e5&&(f-=36e5);for(var h=[f];g>f;)f+=a,f>=b&&g>=f&&h.push(f);return h.length>20&&(h=h.slice(0,20)),h}var c=1e4,d=31536e8,e=[126144e6,31536e6,10368e6,36288e5,24192e5,18144e5,12096e5,864e6],f=[31536e6,10368e6,26784e5,18144e5,12096e5,6048e5,3456e5,1728e5],g=[2592e5,1728e5,864e5,432e5,216e5,108e5,36e5,27e5,18e5,12e5,6e5,3e5,18e4,6e4,45e3,2e4,12e3,0],h=[432e5,216e5,144e5,108e5,36e5,18e5,9e5,3e5,24e4,18e4,12e4,6e4,3e4,15e3,1e4,5e3,2e3,1e3],i=function(b,c){return this.settings=a.extend({onhover:function(a,b,c,d){},onclick:function(a,b,c){},oncreate:function(a,b){},data:[],hammertime:!1,items_height:113,markers_height:31,item_width:14,item_offset:2,item_slot_x:-100},c),this.element=b,this.width=b.width(),this.items_h=this.settings.items_height,this.markers_h=this.settings.markers_height,this.item_width=this.settings.item_width,this.item_offset=this.settings.item_offset,this.item_slot_x=this.settings.item_slot_x,this._dragging=null,this._drag_x=0,b.addClass(\"eventcontrol\"),b.append(['<div class=\"ec-items ec-draggable\" style=\"top:0px;height:',this.items_h,'px;\"></div>','<div class=\"ec-markers ec-draggable\" style=\"top:',this.items_h+1,\"px;height:\",this.markers_h,'px;\">','<div class=\"ec-ticks\"></div>','<div class=\"ec-labels\"></div>',\"</div>\"].join(\"\")),this.items=b.children(\".ec-items\"),this.markers=b.children(\".ec-markers\"),this.ticks=this.markers.children(\".ec-ticks\"),this.labels=this.markers.children(\".ec-labels\"),this.min_time=moment(\"2070-01-01\"),this.max_time=moment(\"1970-01-01\"),this.timespan=d,this.max_timespan=d,this.center_time=this.min_time.valueOf()+.5*d,this.init(),this};i.prototype.init=function(){function d(){c.children(\".ec-draggable\").removeClass(\"ec-dragging\"),b._dragging=null}function e(a,c,d){a>.9?a=.9:-.9>a&&(a=-.9);var e=a*b.timespan,f=moment(c+e),g=moment(d+e);(!f.isSame(b.min_time)||g.isSame(b.max_time))&&b.update_timespan(f,g)}var b=this,c=this.element;b.settings.hammertime?(b.mc=new Hammer.Manager(b.element.get()[0]),b.mc.add(new Hammer.Pan),b.mc.add(new Hammer.Tap({event:\"doubletap\",taps:2})),b.mc.add(new Hammer.Tap({event:\"singletap\"})),b.mc.get(\"doubletap\").recognizeWith(\"singletap\"),b.mc.get(\"singletap\").requireFailure(\"doubletap\"),b.mc.on(\"panstart panleft panright singletap doubletap tap\",function(d){if(\"singletap\"==d.type){var f=a(d.target);f.hasClass(\"ec-dot\")&&b.settings.onclick.call(b,f.data(\"event\"),f,d)}else if(\"panstart\"==d.type)b._pan_min_time=b.min_time.valueOf(),b._pan_max_time=b.max_time.valueOf();else if(\"panleft\"==d.type||\"panright\"==d.type){var g=-d.deltaX,h=g/b.width;e(h,b._pan_min_time,b._pan_max_time)}else if(\"doubletap\"==d.type){var i=c.offset(),j=1,k=(d.center.x-i.left)/b.width;b.zoom(j,k)}else console.log(\"Unexpected hammer event\",d.type)})):(c.on(\"click\",function(c){var d=a(c.target);d.hasClass(\"ec-dot\")&&b.settings.onclick.call(b,d.data(\"event\"),d,c)}),c.mousedown(function(a){return 1==a.which?(c.children(\".ec-draggable\").addClass(\"ec-dragging\"),b._dragging=!0,b._drag_x=a.pageX,b._drag_min_time=b.min_time.valueOf(),b._drag_max_time=b.max_time.valueOf(),!1):void 0}),a(\"body\").mouseup(function(a){1==a.which&&d()}),a(\"body\").on(\"dragend\",function(){d()}),a(\"body\").mousemove(function(a){if(1==a.which&&b._dragging){var c=-(a.pageX-b._drag_x),d=c/b.width;e(d,b._drag_min_time,b._drag_max_time)}})),a(window).resize(function(){b._dirty||b.min_time&&b.max_time&&(b._dirty=!0,window.setTimeout(function(){var a=b.min_time.clone(),c=b.max_time.clone();b.update_timespan(a,c)},400))}),c.on(\"mousewheel\",function(a){a.preventDefault();var d=a.deltaY,e=c.offset(),f=(a.pageX-e.left)/b.width;b.zoom(d,f)}),a.each(b.settings.data,function(a,c){b.items.append('<div class=\"ec-dot\" style=\"left:0px;top:0px;\"></div>');var d=b.items.children(\".ec-dot:last-child\");d.data(\"event\",c),c._starttime=moment(c.timestamp).valueOf(),b.settings.oncreate.call(b,c,d),d.hover(function(a){b.settings.onhover.call(b,c,d,a,\"in\")},function(a){b.settings.onhover.call(b,c,d,a,\"out\")});var e=moment(c.timestamp);e<b.min_time&&(b.min_time=e.clone()),e>b.max_time&&(b.max_time=e)}),b.min_time.subtract(5,\"s\"),b.max_time.add(5,\"s\"),b.center_time=b.min_time.valueOf()+.5*(b.max_time.valueOf()-b.min_time.valueOf()),b.update_timespan(b.min_time.clone(),b.max_time.clone())},i.prototype.save_state=function(){return{min_time:this.min_time.valueOf(),max_time:this.max_time.valueOf()}},i.prototype.load_state=function(a){this.update_timespan(a.min_time,a.max_time)},i.prototype.zoom=function(a,b){void 0===b&&(b=.5);var e,c=this.min_time.clone(),d=this.max_time.clone();return 0>a?(e=.5*this.timespan,c.subtract(e*b,\"ms\"),d.add(e*(1-b),\"ms\")):(e=.25*this.timespan,c.add(e*b,\"ms\"),d.subtract(e*(1-b),\"ms\")),this.update_timespan(c,d)},i.prototype.update_timespan=function(i,j){function A(b,c,d,e){if(c>v)if(z<x.length){var f=a(x[z]);f.css(\"left\",c).css(\"top\",d).text(e).addClass(b).removeClass(\"ec-label\"==b?\"ec-region-label\":\"ec-label\"),v=c+f.width(),z+=1}else k.labels.append(['<div class=\"',b,'\" style=\"left:',c,\"px;top:\",d,'px;\">',e,\"</div>\"].join(\"\")),v=c+k.labels.children(\".\"+b+\":last-child\").width()}function B(b,c,d){if(y<w.length){var e=a(w[y]);e.css(\"left\",b).css(\"top\",c).css(\"height\",d),y+=1}else k.ticks.append(['<div class=\"ec-tick\" style=\"left:',b,\"px;top:\",c,\"px;height:\",d,'px;\"></div>'].join(\"\"))}var k=this,l=this.element,m=0;if(k._dirty=!1,k.width=l.width(),moment.isMoment(i)||(i=moment(i)),moment.isMoment(j)||(j=moment(j)),k.timespan=j.valueOf()-i.valueOf(),k.timespan<c){var n=k.min_time.valueOf()+.5*(k.max_time.valueOf()-k.min_time.valueOf());i=moment(n-.5*c),j=moment(n+.5*c),k.timespan=j.valueOf()-i.valueOf()}k.max_timespan==d&&(k.max_timespan=2*k.timespan),k.timespan>k.max_timespan&&(i=moment(k.center_time-.5*k.max_timespan),j=moment(k.center_time+.5*k.max_timespan),k.timespan=k.max_time.valueOf()-k.min_time.valueOf()),k.min_time=i,k.max_time=j;var p,q,o=k.min_time.valueOf(),r=\"YYYY-MM-DD\",s=\"HH:mm\",t=864e5,u=null;if(k.timespan>=5184e5){for(u=null,k.timespan>126144e6?r=\"YYYY\":k.timespan>10368e6&&(r=\"YYYY-MM\"),m=0;m<e.length;m++)if(k.timespan>e[m]){t=f[m];break}}else{for(m=0;m<g.length;m++)if(k.timespan>g[m]){u=h[m];break}6e4>u&&(s=\"HH:mm:ss\")}p=b(t,o,k.timespan);var D,E,v=-1,w=k.ticks.children(\".ec-tick\"),x=k.labels.children(\".ec-label,.ec-region-label\"),y=0,z=0,C=k.width/k.timespan;if(null!==u)for(q=b(u,o,k.timespan),m=0;m<q.length;m++)D=q[m],E=C*(D-o),B(E,1,k.items_h+1+k.markers_h),A(\"ec-label\",E+1,k.items_h+1,moment(D).format(s));else for(m=0;m<p.length;m++)B(C*(p[m]-o),1,.5*k.items_h);for(v=-1,m=0;m<p.length;m++){D=p[m];var F=C*(D-o);if(2>F)if(m+1<p.length){var G=C*(p[m+1]-o);G>60&&(F=2)}else F=2;A(\"ec-region-label\",F+1,k.items_h+k.markers_h-14,moment(D).format(r))}for(m=y;m<w.length;m++)a(w[m]).remove();for(m=z;m<x.length;m++)a(x[m]).remove();var H=k.item_offset,I=k.item_slot_x,J=H,K=k.item_width,L=K+H,M=k.items.children(\".ec-dot\");C=(k.width-2*H)/k.timespan;var N=0;for(m=0;m<M.length;m++){var O=a(M[m]),P=O.data(\"event\"),Q=P._starttime;if(6*-(K+H)>C*(Q-o))O.css(\"display\",\"none\");else{O.css(\"display\",\"\");var R=Math.floor(H+C*(Q-o)),S=R%L;R-=S;var T=H,U=!1;if(E=I,K>=R+S-I?(U=!0,R=E,T=J+L,T>k.items_h-H&&(E+=L,R=E,T=H,N+=1)):(J=H,N=0),U){if(N>5){O.css(\"display\",\"none\");continue}}else R+=S;I=R,J=T,O.css(\"left\",R).css(\"top\",T)}}},a.fn.EventControl=function(b){var c=Array.prototype.slice(arguments,1);return this.each(function(){var d=a(this),e=d.data(\"eventcontrol\");if(e){if(void 0===b)return e.save_state();if(\"zoom-in\"==b)return e.zoom.apply(e,[1].concat(c));if(\"zoom-out\"==b)return e.zoom.apply(e,[-1].concat(c));e.load_state(b)}else e=new i(d,b),d.data(\"eventcontrol\",e);return e})}}(jQuery);","/**\n * ### customicons plugin\n *\n * Makes each node appear block level. Making selection easier. May cause slow down for large trees in old browsers.\n */\n/* globals jQuery, define, exports, require */\n(function (factory) {\n  \"use strict\";\n  if (typeof define === 'function' && define.amd) {\n    define('jstree.customicons', ['jquery','jstree'], factory);\n  }\n  else if(typeof exports === 'object') {\n    factory(require('jquery'), require('jstree'));\n  }\n  else {\n    factory(jQuery, jQuery.jstree);\n  }\n}(function ($, jstree, undefined) {\n  \"use strict\";\n\n  if($.jstree.plugins.customicons) { return; }\n\n  /**\n   * stores all defaults for the customicons plugin\n   * @name $.jstree.defaults.customicons\n   * @plugin dnd\n   */\n  $.jstree.defaults.customicons = {\n    'default' : {\n      'weight': 0\n    }\n  };\n\n  var div = document.createElement('DIV');\n  div.setAttribute('unselectable','on');\n  div.setAttribute('role','presentation');\n  div.className = 'jstree-customicons';\n  div.innerHTML = '';\n\n  var iconBar = document.createElement('DIV');\n  iconBar.className = 'icon-bar';\n  iconBar.innerHTML = '';\n\n  div.appendChild(iconBar);\n\n  $.jstree.plugins.customicons = function (options, parent) {\n    this.init = function (el, options) {\n      var i, j;\n      if(options && options.customicons && options.customicons['default']) {\n        for(i in options.customicons) {\n          if(i !== 'default' && options.customicons.hasOwnProperty(i)) {\n            for(j in options.customicons['default']) {\n              if(options.customicons['default'].hasOwnProperty(j) && options.customicons[i][j] === undefined) {\n                options.customicons[i][j] = options.customicons['default'][j];\n              }\n            }\n          }\n        }\n      }\n      parent.init.call(this, el, options);\n    };\n\n    this.bind = function () {\n      parent.bind.call(this);\n\n      this.element\n        .on('model.jstree', $.proxy(function (e, data) {\n            var m = this._model.data,\n              dpc = data.nodes,\n              t = this.settings.customicons,\n              i, j, c = 'default', k,\n              i2, j2, o, cis, ci, _cis, _ci;\n\n            for(i = 0, j = dpc.length; i < j; i++) {\n              if((o = m[dpc[i]].original) && (cis = m[dpc[i]].original.customicons)) {\n                for(i2 = 0, j2 = cis.length; i2 < j2; i2++) {\n                  _cis = [];\n                  _ci = null;\n                  ci = cis[i2];\n                  if (typeof ci === 'string') {\n                    _ci = t[ci];\n                  }\n                  if (typeof ci === 'object') {\n                    _ci = ci;\n                  }\n                  if (_ci) {\n                    _ci = $.extend(true, {}, options['default'], _ci);\n                    _cis.push(_ci);\n                  }\n                }\n                // sort by weight\n                _cis.sort(function(obj1, obj2) {\n                  return obj1.weight - obj2.weight;\n                });\n                m[dpc[i]].customicons = _cis;\n                // console.log('model.jstree', o, cis, _cis, t, options);\n              }\n            }\n          }, this))\n        .on('ready.jstree set_state.jstree', $.proxy(function () {\n            // console.log('ready.jstree set_state.jstree');\n            this.hide_dots();\n          }, this))\n        .on(\"init.jstree loading.jstree ready.jstree\", $.proxy(function () {\n            // console.log('init.jstree loading.jstree ready.jstree');\n            this.get_container_ul().addClass('jstree-customicons-ul');\n          }, this))\n        .on(\"deselect_all.jstree\", $.proxy(function (e, data) {\n            // console.log('deselect_all.jstree', e, data);\n            this.element.find('.jstree-customicons-clicked').removeClass('jstree-customicons-clicked');\n          }, this))\n        .on(\"changed.jstree\", $.proxy(function (e, data) {\n            // console.log('changed.jstree', e, data);\n            this.element.find('.jstree-customicons-clicked').removeClass('jstree-customicons-clicked');\n            var tmp = false, i, j;\n            for(i = 0, j = data.selected.length; i < j; i++) {\n              tmp = this.get_node(data.selected[i], true);\n              if(tmp && tmp.length) {\n                tmp.children('.jstree-customicons').addClass('jstree-customicons-clicked');\n              }\n            }\n          }, this))\n        .on(\"open_node.jstree\", $.proxy(function (e, data) {\n            // console.log('open_node.jstree', e, data);\n            this.get_node(data.node, true).find('.jstree-clicked').parent().children('.jstree-customicons').addClass('jstree-customicons-clicked');\n          }, this))\n        .on(\"hover_node.jstree dehover_node.jstree\", $.proxy(function (e, data) {\n            if(e.type === \"hover_node\" && this.is_disabled(data.node)) { return; }\n            this.get_node(data.node, true).children('.jstree-customicons')[e.type === \"hover_node\"?\"addClass\":\"removeClass\"]('jstree-customicons-hovered');\n          }, this))\n        .on(\"contextmenu.jstree\", \".jstree-customicons\", $.proxy(function (e) {\n            // console.log('contextmenu.jstree - .jstree-customicons', e);\n            if (this._data.contextmenu) {\n              e.preventDefault();\n              var tmp = $.Event('contextmenu', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey, pageX : e.pageX, pageY : e.pageY });\n              $(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp);\n            }\n          }, this))\n        .on(\"click.jstree\", \".jstree-customicons\", function (e) {\n            e.stopImmediatePropagation();\n            var tmp = $.Event('click', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n            $(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).focus();\n          })\n        .on(\"dblclick.jstree\", \".jstree-customicons\", function (e) {\n            e.stopImmediatePropagation();\n            var tmp = $.Event('dblclick', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n            $(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).focus();\n          })\n        .on(\"click.jstree\", \".jstree-leaf > .jstree-ocl\", $.proxy(function (e) {\n            e.stopImmediatePropagation();\n            var tmp = $.Event('click', { metaKey : e.metaKey, ctrlKey : e.ctrlKey, altKey : e.altKey, shiftKey : e.shiftKey });\n            $(e.currentTarget).closest(\".jstree-node\").children(\".jstree-anchor\").first().trigger(tmp).focus();\n          }, this))\n        .on(\"mouseover.jstree\", \".jstree-customicons, .jstree-icon\", $.proxy(function (e) {\n            e.stopImmediatePropagation();\n            if(!this.is_disabled(e.currentTarget)) {\n              this.hover_node(e.currentTarget);\n            }\n            return false;\n          }, this))\n        .on(\"mouseleave.jstree\", \".jstree-node\", $.proxy(function (e) {\n            this.dehover_node(e.currentTarget);\n          }, this))\n        ;\n    };\n    this.teardown = function () {\n      if(this.settings.customicons) {\n        this.element.find(\".jstree-customicons\").remove();\n      }\n      parent.teardown.call(this);\n    };\n    this.redraw_node = function(obj, deep, callback, force_render) {\n      // console.log('redraw_node', obj, deep, callback, force_render);\n      var _obj = obj;\n      obj = parent.redraw_node.apply(this, arguments);\n      if(obj) {\n        this.create_iconbar(obj);\n      }\n      return obj;\n    };\n    this.create_iconbar = function(obj) {\n      if (typeof obj !== 'object') {\n        obj = this.get_node(obj, true);\n        obj = $(obj).get(0);\n      }\n      if(obj) {\n        var tmp = this._create_iconbar(obj)\n        if (tmp) {\n          if($.inArray(obj.id, this._data.core.selected) !== -1) { tmp.className += ' jstree-customicons-clicked'; }\n          if(this._data.core.focused && this._data.core.focused === obj.id) { tmp.className += ' jstree-customicons-hovered'; }\n          obj.insertBefore(tmp, obj.childNodes[0]);\n        }\n      }\n      return obj;\n    };\n    this._create_iconbar = function(obj) {\n      var tmp = div.cloneNode(true),\n      i, j, cis, ci, ib;\n\n      if(this._model.data[obj.id] && (cis = this._model.data[obj.id].customicons)) {\n        ib = $(tmp).children(\".icon-bar\").first();\n        for(i = 0, j = cis.length; i < j; i++) {\n          ci = cis[i];\n          ib.append('<span class=\"icon ' + ci.class + '\" title=\"' + ci.title +'\"><i class=\"' + ci.icon +'\"></i></span>');\n        }\n        return tmp;\n      }\n      return false;\n    };\n    this.set_customicons = function(obj, customicons, origin) {\n      var _obj = obj;\n      obj = this.get_node(obj, true);\n      obj = $(obj).get(0);\n\n      var node = this.get_node(obj),\n        i, j, cis, ci, found = false;\n      var ic, jc;\n\n      if(node) {\n        if (!node.customicons) {\n          node.customicons = [];\n        }\n\n        cis = node.customicons;\n\n        // remove first by origin\n        for (i = cis.length - 1; i >= 0; i--) {\n          ci = cis[i];\n          if (ci.origin === origin) {\n            cis.splice(i, 1);\n          }\n        }\n\n        for(ic = 0; ic < customicons.length; ic++) {\n          found = false;\n          var customicon = customicons[ic];\n          for(i = 0, j = cis.length; i < j; i++) {\n            ci = cis[i];\n            if (typeof ci === 'object') {\n              if (ci.name === customicon.name) {\n                cis[i] = $.extend(true, {}, options['default'], customicon);\n                found = true;\n              }\n            }\n          }\n          if (!found) {\n            ci = $.extend(true, {}, options['default'], customicon);\n            // add item\n            cis.push(ci);\n          }\n        }\n\n        // sort by weight\n        cis.sort(function(obj1, obj2) {\n          return obj1.weight - obj2.weight;\n        });\n        node.customicons = cis;\n      }\n      var cobj = $(obj).children(\".jstree-customicons\").first();\n      if (cobj) {\n        cobj.remove();\n      }\n      this.create_iconbar(_obj);\n    };\n    this.set_customicon = function(obj, customicon, no_draw) {\n      var _obj = obj;\n      obj = this.get_node(obj, true);\n      obj = $(obj).get(0);\n\n      var node = this.get_node(obj),\n        i, j, cis, ci, found = false;\n\n      if(node) {\n        if (!node.customicons) {\n          node.customicons = [];\n        }\n        cis = node.customicons;\n        for(i = 0, j = cis.length; i < j; i++) {\n          ci = cis[i];\n          if (typeof ci === 'object') {\n            if (ci.name === customicon.name) {\n              cis[i] = $.extend(true, {}, options['default'], customicon);\n              found = true;\n            }\n          }\n        }\n        if (!found) {\n          ci = $.extend(true, {}, options['default'], customicon);\n          // add item\n          cis.push(ci);\n        }\n        // sort by weight\n        cis.sort(function(obj1, obj2) {\n          return obj1.weight - obj2.weight;\n        });\n        node.customicons = cis;\n      }\n      if (!no_draw) {\n        var cobj = $(obj).children(\".jstree-customicons\").first();\n        if (cobj) {\n          cobj.remove();\n        }\n        this.create_iconbar(_obj);\n      }\n    };\n    this.remove_customicon = function(obj, customicon, no_draw) {\n      var _obj = obj;\n      obj = this.get_node(obj, true);\n      obj = $(obj).get(0);\n\n      var node = this.get_node(obj),\n        i, j, cis, ci, found = false;\n\n      if(node) {\n        if (!node.customicons) {\n          node.customicons = [];\n        }\n        cis = node.customicons;\n        for(i = 0, j = cis.length; i < j; i++) {\n          ci = cis[i];\n          if (typeof ci === 'object') {\n            if (ci.name === customicon.name) {\n              found = i;\n            }\n          }\n        }\n        if (found !== false) {\n          // remove item\n          cis.splice(found, 1);\n        }\n        // sort by weight\n        cis.sort(function(obj1, obj2) {\n          return obj1.weight - obj2.weight;\n        });\n        node.customicons = cis;\n      }\n      if (!no_draw) {\n        var cobj = $(obj).children(\".jstree-customicons\").first();\n        if (cobj) {\n          cobj.remove();\n        }\n        this.create_iconbar(_obj);\n      }\n    };\n  };\n  // include the customicons plugin by default\n  // $.jstree.defaults.plugins.push(\"customicons\");\n}));\n","/*\n*  jquery-svg - v0.0.0\n*  A lightweight jQuery plugin to apply css styles and js scripts to a SVG which is embedded (using the <object> tag).\n*  http://berneti.ir\n*\n*  Made by Mohammadreza Berneti\n*  Under MIT License\n*/\n\n\"use strict\";\n\n(function ($) {\n\t// select a svg element from embed or object tag\n\t$.fn.getSVG = function (selector) {\n\t\tvar svgDoc = this[0].contentDocument; // Get the document object for the SVG\n\t\treturn $(svgDoc);\n\t};\n\t$.fn.setSVGStyle = function (style) {\n\t\tvar svgDoc = this[0].contentDocument; // Get the document object for the SVG\n\t\tvar styleElement = svgDoc.createElementNS(\"http://www.w3.org/2000/svg\", \"style\");\n\t\tstyleElement.textContent = style; // add whatever you need here\n\t\tsvgDoc.getElementsByTagName(\"svg\")[0].appendChild(styleElement);\n\t\treturn;\n\t};\n\t$.fn.setSVGStyleLink = function (link) {\n\t\tvar svgDoc = this[0].contentDocument; // Get the document object for the SVG\n\t\tvar linkElm = svgDoc.createElementNS(\"http://www.w3.org/1999/xhtml\", \"link\");\n\t\tlinkElm.setAttribute(\"href\", link);\n\t\tlinkElm.setAttribute(\"type\", \"text/css\");\n\t\tlinkElm.setAttribute(\"rel\", \"stylesheet\");\n\t\tsvgDoc.getElementsByTagName(\"svg\")[0].appendChild(linkElm);\n\t\treturn;\n\t};\n\t// get a random number between min and max\n\t$.getRandom = function (min, max) {\n\t\treturn Math.floor(Math.random() * (max - min + 1)) + min;\n\t};\n})(jQuery);\n","/*!\n * iro.js v5.5.2\n * 2016-2021 James Daniel\n * Licensed under MPL 2.0\n * github.com/jaames/iro.js\n */\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.iro = factory());\n}(this, function () { 'use strict';\n\n  var n,u,t,i,r,o,f={},e=[],c=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;function s(n,l){for(var u in l){ n[u]=l[u]; }return n}function a(n){var l=n.parentNode;l&&l.removeChild(n);}function h(n,l,u){var t,i,r,o,f=arguments;if(l=s({},l),arguments.length>3){ for(u=[u],t=3;t<arguments.length;t++){ u.push(f[t]); } }if(null!=u&&(l.children=u),null!=n&&null!=n.defaultProps){ for(i in n.defaultProps){ void 0===l[i]&&(l[i]=n.defaultProps[i]); } }return o=l.key,null!=(r=l.ref)&&delete l.ref,null!=o&&delete l.key,v(n,l,o,r)}function v(l,u,t,i){var r={type:l,props:u,key:t,ref:i,__k:null,__p:null,__b:0,__e:null,l:null,__c:null,constructor:void 0};return n.vnode&&n.vnode(r),r}function d(n){return n.children}function y(n){if(null==n||\"boolean\"==typeof n){ return null; }if(\"string\"==typeof n||\"number\"==typeof n){ return v(null,n,null,null); }if(null!=n.__e||null!=n.__c){var l=v(n.type,n.props,n.key,null);return l.__e=n.__e,l}return n}function m(n,l){this.props=n,this.context=l;}function w(n,l){if(null==l){ return n.__p?w(n.__p,n.__p.__k.indexOf(n)+1):null; }for(var u;l<n.__k.length;l++){ if(null!=(u=n.__k[l])&&null!=u.__e){ return u.__e; } }return \"function\"==typeof n.type?w(n):null}function g(n){var l,u;if(null!=(n=n.__p)&&null!=n.__c){for(n.__e=n.__c.base=null,l=0;l<n.__k.length;l++){ if(null!=(u=n.__k[l])&&null!=u.__e){n.__e=n.__c.base=u.__e;break} }return g(n)}}function k(l){(!l.__d&&(l.__d=!0)&&1===u.push(l)||i!==n.debounceRendering)&&(i=n.debounceRendering,(n.debounceRendering||t)(_));}function _(){var n,l,t,i,r,o,f,e;for(u.sort(function(n,l){return l.__v.__b-n.__v.__b});n=u.pop();){ n.__d&&(t=void 0,i=void 0,o=(r=(l=n).__v).__e,f=l.__P,e=l.u,l.u=!1,f&&(t=[],i=$(f,r,s({},r),l.__n,void 0!==f.ownerSVGElement,null,t,e,null==o?w(r):o),j(t,r),i!=o&&g(r))); }}function b(n,l,u,t,i,r,o,c,s){var h,v,p,d,y,m,g,k=u&&u.__k||e,_=k.length;if(c==f&&(c=null!=r?r[0]:_?w(u,0):null),h=0,l.__k=x(l.__k,function(u){if(null!=u){if(u.__p=l,u.__b=l.__b+1,null===(p=k[h])||p&&u.key==p.key&&u.type===p.type){ k[h]=void 0; }else { for(v=0;v<_;v++){if((p=k[v])&&u.key==p.key&&u.type===p.type){k[v]=void 0;break}p=null;} }if(d=$(n,u,p=p||f,t,i,r,o,null,c,s),(v=u.ref)&&p.ref!=v&&(g||(g=[])).push(v,u.__c||d,u),null!=d){if(null==m&&(m=d),null!=u.l){ d=u.l,u.l=null; }else if(r==p||d!=c||null==d.parentNode){n:if(null==c||c.parentNode!==n){ n.appendChild(d); }else{for(y=c,v=0;(y=y.nextSibling)&&v<_;v+=2){ if(y==d){ break n; } }n.insertBefore(d,c);}\"option\"==l.type&&(n.value=\"\");}c=d.nextSibling,\"function\"==typeof l.type&&(l.l=d);}}return h++,u}),l.__e=m,null!=r&&\"function\"!=typeof l.type){ for(h=r.length;h--;){ null!=r[h]&&a(r[h]); } }for(h=_;h--;){ null!=k[h]&&D(k[h],k[h]); }if(g){ for(h=0;h<g.length;h++){ A(g[h],g[++h],g[++h]); } }}function x(n,l,u){if(null==u&&(u=[]),null==n||\"boolean\"==typeof n){ l&&u.push(l(null)); }else if(Array.isArray(n)){ for(var t=0;t<n.length;t++){ x(n[t],l,u); } }else { u.push(l?l(y(n)):n); }return u}function C(n,l,u,t,i){var r;for(r in u){ r in l||N(n,r,null,u[r],t); }for(r in l){ i&&\"function\"!=typeof l[r]||\"value\"===r||\"checked\"===r||u[r]===l[r]||N(n,r,l[r],u[r],t); }}function P(n,l,u){\"-\"===l[0]?n.setProperty(l,u):n[l]=\"number\"==typeof u&&!1===c.test(l)?u+\"px\":null==u?\"\":u;}function N(n,l,u,t,i){var r,o,f,e,c;if(\"key\"===(l=i?\"className\"===l?\"class\":l:\"class\"===l?\"className\":l)||\"children\"===l);else if(\"style\"===l){ if(r=n.style,\"string\"==typeof u){ r.cssText=u; }else{if(\"string\"==typeof t&&(r.cssText=\"\",t=null),t){ for(o in t){ u&&o in u||P(r,o,\"\"); } }if(u){ for(f in u){ t&&u[f]===t[f]||P(r,f,u[f]); } }} }else{ \"o\"===l[0]&&\"n\"===l[1]?(e=l!==(l=l.replace(/Capture$/,\"\")),c=l.toLowerCase(),l=(c in n?c:l).slice(2),u?(t||n.addEventListener(l,T,e),(n.t||(n.t={}))[l]=u):n.removeEventListener(l,T,e)):\"list\"!==l&&\"tagName\"!==l&&\"form\"!==l&&!i&&l in n?n[l]=null==u?\"\":u:\"function\"!=typeof u&&\"dangerouslySetInnerHTML\"!==l&&(l!==(l=l.replace(/^xlink:?/,\"\"))?null==u||!1===u?n.removeAttributeNS(\"http://www.w3.org/1999/xlink\",l.toLowerCase()):n.setAttributeNS(\"http://www.w3.org/1999/xlink\",l.toLowerCase(),u):null==u||!1===u?n.removeAttribute(l):n.setAttribute(l,u)); }}function T(l){return this.t[l.type](n.event?n.event(l):l)}function $(l,u,t,i,r,o,f,e,c,a){var h,v,p,y,w,g,k,_,C,P,N=u.type;if(void 0!==u.constructor){ return null; }(h=n.__b)&&h(u);try{n:if(\"function\"==typeof N){if(_=u.props,C=(h=N.contextType)&&i[h.__c],P=h?C?C.props.value:h.__p:i,t.__c?k=(v=u.__c=t.__c).__p=v.__E:(\"prototype\"in N&&N.prototype.render?u.__c=v=new N(_,P):(u.__c=v=new m(_,P),v.constructor=N,v.render=H),C&&C.sub(v),v.props=_,v.state||(v.state={}),v.context=P,v.__n=i,p=v.__d=!0,v.__h=[]),null==v.__s&&(v.__s=v.state),null!=N.getDerivedStateFromProps&&s(v.__s==v.state?v.__s=s({},v.__s):v.__s,N.getDerivedStateFromProps(_,v.__s)),p){ null==N.getDerivedStateFromProps&&null!=v.componentWillMount&&v.componentWillMount(),null!=v.componentDidMount&&f.push(v); }else{if(null==N.getDerivedStateFromProps&&null==e&&null!=v.componentWillReceiveProps&&v.componentWillReceiveProps(_,P),!e&&null!=v.shouldComponentUpdate&&!1===v.shouldComponentUpdate(_,v.__s,P)){for(v.props=_,v.state=v.__s,v.__d=!1,v.__v=u,u.__e=null!=c?c!==t.__e?c:t.__e:null,u.__k=t.__k,h=0;h<u.__k.length;h++){ u.__k[h]&&(u.__k[h].__p=u); }break n}null!=v.componentWillUpdate&&v.componentWillUpdate(_,v.__s,P);}for(y=v.props,w=v.state,v.context=P,v.props=_,v.state=v.__s,(h=n.__r)&&h(u),v.__d=!1,v.__v=u,v.__P=l,h=v.render(v.props,v.state,v.context),u.__k=x(null!=h&&h.type==d&&null==h.key?h.props.children:h),null!=v.getChildContext&&(i=s(s({},i),v.getChildContext())),p||null==v.getSnapshotBeforeUpdate||(g=v.getSnapshotBeforeUpdate(y,w)),b(l,u,t,i,r,o,f,c,a),v.base=u.__e;h=v.__h.pop();){ v.__s&&(v.state=v.__s),h.call(v); }p||null==y||null==v.componentDidUpdate||v.componentDidUpdate(y,w,g),k&&(v.__E=v.__p=null);}else { u.__e=z(t.__e,u,t,i,r,o,f,a); }(h=n.diffed)&&h(u);}catch(l){n.__e(l,u,t);}return u.__e}function j(l,u){for(var t;t=l.pop();){ try{t.componentDidMount();}catch(l){n.__e(l,t.__v);} }n.__c&&n.__c(u);}function z(n,l,u,t,i,r,o,c){var s,a,h,v,p=u.props,d=l.props;if(i=\"svg\"===l.type||i,null==n&&null!=r){ for(s=0;s<r.length;s++){ if(null!=(a=r[s])&&(null===l.type?3===a.nodeType:a.localName===l.type)){n=a,r[s]=null;break} } }if(null==n){if(null===l.type){ return document.createTextNode(d); }n=i?document.createElementNS(\"http://www.w3.org/2000/svg\",l.type):document.createElement(l.type),r=null;}return null===l.type?p!==d&&(null!=r&&(r[r.indexOf(n)]=null),n.data=d):l!==u&&(null!=r&&(r=e.slice.call(n.childNodes)),h=(p=u.props||f).dangerouslySetInnerHTML,v=d.dangerouslySetInnerHTML,c||(v||h)&&(v&&h&&v.__html==h.__html||(n.innerHTML=v&&v.__html||\"\")),C(n,d,p,i,c),l.__k=l.props.children,v||b(n,l,u,t,\"foreignObject\"!==l.type&&i,r,o,f,c),c||(\"value\"in d&&void 0!==d.value&&d.value!==n.value&&(n.value=null==d.value?\"\":d.value),\"checked\"in d&&void 0!==d.checked&&d.checked!==n.checked&&(n.checked=d.checked))),n}function A(l,u,t){try{\"function\"==typeof l?l(u):l.current=u;}catch(l){n.__e(l,t);}}function D(l,u,t){var i,r,o;if(n.unmount&&n.unmount(l),(i=l.ref)&&A(i,null,u),t||\"function\"==typeof l.type||(t=null!=(r=l.__e)),l.__e=l.l=null,null!=(i=l.__c)){if(i.componentWillUnmount){ try{i.componentWillUnmount();}catch(l){n.__e(l,u);} }i.base=i.__P=null;}if(i=l.__k){ for(o=0;o<i.length;o++){ i[o]&&D(i[o],u,t); } }null!=r&&a(r);}function H(n,l,u){return this.constructor(n,u)}function I(l,u,t){var i,o,c;n.__p&&n.__p(l,u),o=(i=t===r)?null:t&&t.__k||u.__k,l=h(d,null,[l]),c=[],$(u,i?u.__k=l:(t||u).__k=l,o||f,f,void 0!==u.ownerSVGElement,t&&!i?[t]:o?null:e.slice.call(u.childNodes),c,!1,t||f,i),j(c,l);}n={},m.prototype.setState=function(n,l){var u=this.__s!==this.state&&this.__s||(this.__s=s({},this.state));(\"function\"!=typeof n||(n=n(u,this.props)))&&s(u,n),null!=n&&this.__v&&(this.u=!1,l&&this.__h.push(l),k(this));},m.prototype.forceUpdate=function(n){this.__v&&(n&&this.__h.push(n),this.u=!0,k(this));},m.prototype.render=d,u=[],t=\"function\"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,i=n.debounceRendering,n.__e=function(n,l,u){for(var t;l=l.__p;){ if((t=l.__c)&&!t.__p){ try{if(t.constructor&&null!=t.constructor.getDerivedStateFromError){ t.setState(t.constructor.getDerivedStateFromError(n)); }else{if(null==t.componentDidCatch){ continue; }t.componentDidCatch(n);}return k(t.__E=t)}catch(l){n=l;} } }throw n},r=f,o=0;\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 _extends() {\n    _extends = Object.assign || function (target) {\n      var arguments$1 = arguments;\n\n      for (var i = 1; i < arguments.length; i++) {\n        var source = arguments$1[i];\n\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\n    return _extends.apply(this, arguments);\n  }\n\n  // Some regular expressions for rgb() and hsl() Colors are borrowed from tinyColor\n  // https://github.com/bgrins/TinyColor\n  // Kelvin temperature math borrowed from Neil Barlett's implementation\n  // from https://github.com/neilbartlett/color-temperature\n  // https://www.w3.org/TR/css3-values/#integers\n  var CSS_INTEGER = '[-\\\\+]?\\\\d+%?'; // http://www.w3.org/TR/css3-values/#number-value\n\n  var CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?'; // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome\n\n  var CSS_UNIT = '(?:' + CSS_NUMBER + ')|(?:' + CSS_INTEGER + ')'; // Parse function params\n  // Parens and commas are optional, and this also allows for whitespace between numbers\n\n  var PERMISSIVE_MATCH_3 = '[\\\\s|\\\\(]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')\\\\s*\\\\)?';\n  var PERMISSIVE_MATCH_4 = '[\\\\s|\\\\(]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')\\\\s*\\\\)?'; // Regex patterns for functional color strings\n\n  var REGEX_FUNCTIONAL_RGB = new RegExp('rgb' + PERMISSIVE_MATCH_3);\n  var REGEX_FUNCTIONAL_RGBA = new RegExp('rgba' + PERMISSIVE_MATCH_4);\n  var REGEX_FUNCTIONAL_HSL = new RegExp('hsl' + PERMISSIVE_MATCH_3);\n  var REGEX_FUNCTIONAL_HSLA = new RegExp('hsla' + PERMISSIVE_MATCH_4); // Color string parsing regex\n\n  var HEX_START = '^(?:#?|0x?)';\n  var HEX_INT_SINGLE = '([0-9a-fA-F]{1})';\n  var HEX_INT_DOUBLE = '([0-9a-fA-F]{2})';\n  var REGEX_HEX_3 = new RegExp(HEX_START + HEX_INT_SINGLE + HEX_INT_SINGLE + HEX_INT_SINGLE + '$');\n  var REGEX_HEX_4 = new RegExp(HEX_START + HEX_INT_SINGLE + HEX_INT_SINGLE + HEX_INT_SINGLE + HEX_INT_SINGLE + '$');\n  var REGEX_HEX_6 = new RegExp(HEX_START + HEX_INT_DOUBLE + HEX_INT_DOUBLE + HEX_INT_DOUBLE + '$');\n  var REGEX_HEX_8 = new RegExp(HEX_START + HEX_INT_DOUBLE + HEX_INT_DOUBLE + HEX_INT_DOUBLE + HEX_INT_DOUBLE + '$'); // Kelvin temperature bounds\n\n  var KELVIN_MIN = 2000;\n  var KELVIN_MAX = 40000; // Math shorthands\n\n  var log = Math.log,\n      round = Math.round,\n      floor = Math.floor;\n  /**\r\n   * @desc Clamp a number between a min and max value\r\n   * @param num - input value\r\n   * @param min - min allowed value\r\n   * @param max - max allowed value\r\n   */\n\n  function clamp(num, min, max) {\n    return Math.min(Math.max(num, min), max);\n  }\n  /**\r\n   * @desc Parse a css unit string - either regular int or a percentage number\r\n   * @param str - css unit string\r\n   * @param max - max unit value, used for calculating percentages\r\n   */\n\n\n  function parseUnit(str, max) {\n    var isPercentage = str.indexOf('%') > -1;\n    var num = parseFloat(str);\n    return isPercentage ? max / 100 * num : num;\n  }\n  /**\r\n   * @desc Parse hex str to an int\r\n   * @param str - hex string to parse\r\n   */\n\n\n  function parseHexInt(str) {\n    return parseInt(str, 16);\n  }\n  /**\r\n   * @desc Convert nunber into to 2-digit hex\r\n   * @param int - number to convert\r\n   */\n\n\n  function intToHex(_int) {\n    return _int.toString(16).padStart(2, '0');\n  }\n\n  var IroColor =\n  /*#__PURE__*/\n  function () {\n    /**\r\n      * @constructor Color object\r\n      * @param value - initial color value\r\n    */\n    function IroColor(value, onChange) {\n      // The default Color value\n      this.$ = {\n        h: 0,\n        s: 0,\n        v: 0,\n        a: 1\n      };\n      if (value) { this.set(value); } // The watch callback function for this Color will be stored here\n\n      this.onChange = onChange;\n      this.initialValue = _extends({}, this.$); // copy initial value\n    }\n    /**\r\n      * @desc Set the Color from any valid value\r\n      * @param value - new color value\r\n    */\n\n\n    var _proto = IroColor.prototype;\n\n    _proto.set = function set(value) {\n      if (typeof value === 'string') {\n        if (/^(?:#?|0x?)[0-9a-fA-F]{3,8}$/.test(value)) {\n          this.hexString = value;\n        } else if (/^rgba?/.test(value)) {\n          this.rgbString = value;\n        } else if (/^hsla?/.test(value)) {\n          this.hslString = value;\n        }\n      } else if (typeof value === 'object') {\n        if (value instanceof IroColor) {\n          this.hsva = value.hsva;\n        } else if ('r' in value && 'g' in value && 'b' in value) {\n          this.rgb = value;\n        } else if ('h' in value && 's' in value && 'v' in value) {\n          this.hsv = value;\n        } else if ('h' in value && 's' in value && 'l' in value) {\n          this.hsl = value;\n        } else if ('kelvin' in value) {\n          this.kelvin = value.kelvin;\n        }\n      } else {\n        throw new Error('Invalid color value');\n      }\n    }\n    /**\r\n      * @desc Shortcut to set a specific channel value\r\n      * @param format - hsv | hsl | rgb\r\n      * @param channel - individual channel to set, for example if model = hsl, chanel = h | s | l\r\n      * @param value - new value for the channel\r\n    */\n    ;\n\n    _proto.setChannel = function setChannel(format, channel, value) {\n      var _extends2;\n\n      this[format] = _extends({}, this[format], (_extends2 = {}, _extends2[channel] = value, _extends2));\n    }\n    /**\r\n     * @desc Reset color back to its initial value\r\n     */\n    ;\n\n    _proto.reset = function reset() {\n      this.hsva = this.initialValue;\n    }\n    /**\r\n      * @desc make new Color instance with the same value as this one\r\n    */\n    ;\n\n    _proto.clone = function clone() {\n      return new IroColor(this);\n    }\n    /**\r\n     * @desc remove color onChange\r\n     */\n    ;\n\n    _proto.unbind = function unbind() {\n      this.onChange = undefined;\n    }\n    /**\r\n      * @desc Convert hsv object to rgb\r\n      * @param hsv - hsv color object\r\n    */\n    ;\n\n    IroColor.hsvToRgb = function hsvToRgb(hsv) {\n      var h = hsv.h / 60;\n      var s = hsv.s / 100;\n      var v = hsv.v / 100;\n      var i = floor(h);\n      var f = h - i;\n      var p = v * (1 - s);\n      var q = v * (1 - f * s);\n      var t = v * (1 - (1 - f) * s);\n      var mod = i % 6;\n      var r = [v, q, p, p, t, v][mod];\n      var g = [t, v, v, q, p, p][mod];\n      var b = [p, p, t, v, v, q][mod];\n      return {\n        r: clamp(r * 255, 0, 255),\n        g: clamp(g * 255, 0, 255),\n        b: clamp(b * 255, 0, 255)\n      };\n    }\n    /**\r\n      * @desc Convert rgb object to hsv\r\n      * @param rgb - rgb object\r\n    */\n    ;\n\n    IroColor.rgbToHsv = function rgbToHsv(rgb) {\n      var r = rgb.r / 255;\n      var g = rgb.g / 255;\n      var b = rgb.b / 255;\n      var max = Math.max(r, g, b);\n      var min = Math.min(r, g, b);\n      var delta = max - min;\n      var hue = 0;\n      var value = max;\n      var saturation = max === 0 ? 0 : delta / max;\n\n      switch (max) {\n        case min:\n          hue = 0; // achromatic\n\n          break;\n\n        case r:\n          hue = (g - b) / delta + (g < b ? 6 : 0);\n          break;\n\n        case g:\n          hue = (b - r) / delta + 2;\n          break;\n\n        case b:\n          hue = (r - g) / delta + 4;\n          break;\n      }\n\n      return {\n        h: hue * 60 % 360,\n        s: clamp(saturation * 100, 0, 100),\n        v: clamp(value * 100, 0, 100)\n      };\n    }\n    /**\r\n      * @desc Convert hsv object to hsl\r\n      * @param hsv - hsv object\r\n    */\n    ;\n\n    IroColor.hsvToHsl = function hsvToHsl(hsv) {\n      var s = hsv.s / 100;\n      var v = hsv.v / 100;\n      var l = (2 - s) * v;\n      var divisor = l <= 1 ? l : 2 - l; // Avoid division by zero when lightness is close to zero\n\n      var saturation = divisor < 1e-9 ? 0 : s * v / divisor;\n      return {\n        h: hsv.h,\n        s: clamp(saturation * 100, 0, 100),\n        l: clamp(l * 50, 0, 100)\n      };\n    }\n    /**\r\n      * @desc Convert hsl object to hsv\r\n      * @param hsl - hsl object\r\n    */\n    ;\n\n    IroColor.hslToHsv = function hslToHsv(hsl) {\n      var l = hsl.l * 2;\n      var s = hsl.s * (l <= 100 ? l : 200 - l) / 100; // Avoid division by zero when l + s is near 0\n\n      var saturation = l + s < 1e-9 ? 0 : 2 * s / (l + s);\n      return {\n        h: hsl.h,\n        s: clamp(saturation * 100, 0, 100),\n        v: clamp((l + s) / 2, 0, 100)\n      };\n    }\n    /**\r\n      * @desc Convert a kelvin temperature to an approx, RGB value\r\n      * @param kelvin - kelvin temperature\r\n    */\n    ;\n\n    IroColor.kelvinToRgb = function kelvinToRgb(kelvin) {\n      var temp = kelvin / 100;\n      var r, g, b;\n\n      if (temp < 66) {\n        r = 255;\n        g = -155.25485562709179 - 0.44596950469579133 * (g = temp - 2) + 104.49216199393888 * log(g);\n        b = temp < 20 ? 0 : -254.76935184120902 + 0.8274096064007395 * (b = temp - 10) + 115.67994401066147 * log(b);\n      } else {\n        r = 351.97690566805693 + 0.114206453784165 * (r = temp - 55) - 40.25366309332127 * log(r);\n        g = 325.4494125711974 + 0.07943456536662342 * (g = temp - 50) - 28.0852963507957 * log(g);\n        b = 255;\n      }\n\n      return {\n        r: clamp(floor(r), 0, 255),\n        g: clamp(floor(g), 0, 255),\n        b: clamp(floor(b), 0, 255)\n      };\n    }\n    /**\r\n     * @desc Convert an RGB color to an approximate kelvin temperature\r\n     * @param kelvin - kelvin temperature\r\n    */\n    ;\n\n    IroColor.rgbToKelvin = function rgbToKelvin(rgb) {\n      var r = rgb.r,\n          b = rgb.b;\n      var eps = 0.4;\n      var minTemp = KELVIN_MIN;\n      var maxTemp = KELVIN_MAX;\n      var temp;\n\n      while (maxTemp - minTemp > eps) {\n        temp = (maxTemp + minTemp) * 0.5;\n\n        var _rgb = IroColor.kelvinToRgb(temp);\n\n        if (_rgb.b / _rgb.r >= b / r) {\n          maxTemp = temp;\n        } else {\n          minTemp = temp;\n        }\n      }\n\n      return temp;\n    };\n\n    _createClass(IroColor, [{\n      key: \"hsv\",\n      get: function get() {\n        // value is cloned to allow changes to be made to the values before passing them back\n        var value = this.$;\n        return {\n          h: value.h,\n          s: value.s,\n          v: value.v\n        };\n      },\n      set: function set(newValue) {\n        var oldValue = this.$;\n        newValue = _extends({}, oldValue, newValue); // If this Color is being watched for changes we need to compare the new and old values to check the difference\n        // Otherwise we can just be lazy\n\n        if (this.onChange) {\n          // Compute changed values\n          var changes = {\n            h: false,\n            v: false,\n            s: false,\n            a: false\n          };\n\n          for (var key in oldValue) {\n            changes[key] = newValue[key] != oldValue[key];\n          }\n\n          this.$ = newValue; // If the value has changed, call hook callback\n\n          if (changes.h || changes.s || changes.v || changes.a) { this.onChange(this, changes); }\n        } else {\n          this.$ = newValue;\n        }\n      }\n    }, {\n      key: \"hsva\",\n      get: function get() {\n        return _extends({}, this.$);\n      },\n      set: function set(value) {\n        this.hsv = value;\n      }\n    }, {\n      key: \"hue\",\n      get: function get() {\n        return this.$.h;\n      },\n      set: function set(value) {\n        this.hsv = {\n          h: value\n        };\n      }\n    }, {\n      key: \"saturation\",\n      get: function get() {\n        return this.$.s;\n      },\n      set: function set(value) {\n        this.hsv = {\n          s: value\n        };\n      }\n    }, {\n      key: \"value\",\n      get: function get() {\n        return this.$.v;\n      },\n      set: function set(value) {\n        this.hsv = {\n          v: value\n        };\n      }\n    }, {\n      key: \"alpha\",\n      get: function get() {\n        return this.$.a;\n      },\n      set: function set(value) {\n        this.hsv = _extends({}, this.hsv, {\n          a: value\n        });\n      }\n    }, {\n      key: \"kelvin\",\n      get: function get() {\n        return IroColor.rgbToKelvin(this.rgb);\n      },\n      set: function set(value) {\n        this.rgb = IroColor.kelvinToRgb(value);\n      }\n    }, {\n      key: \"red\",\n      get: function get() {\n        var rgb = this.rgb;\n        return rgb.r;\n      },\n      set: function set(value) {\n        this.rgb = _extends({}, this.rgb, {\n          r: value\n        });\n      }\n    }, {\n      key: \"green\",\n      get: function get() {\n        var rgb = this.rgb;\n        return rgb.g;\n      },\n      set: function set(value) {\n        this.rgb = _extends({}, this.rgb, {\n          g: value\n        });\n      }\n    }, {\n      key: \"blue\",\n      get: function get() {\n        var rgb = this.rgb;\n        return rgb.b;\n      },\n      set: function set(value) {\n        this.rgb = _extends({}, this.rgb, {\n          b: value\n        });\n      }\n    }, {\n      key: \"rgb\",\n      get: function get() {\n        var _IroColor$hsvToRgb = IroColor.hsvToRgb(this.$),\n            r = _IroColor$hsvToRgb.r,\n            g = _IroColor$hsvToRgb.g,\n            b = _IroColor$hsvToRgb.b;\n\n        return {\n          r: round(r),\n          g: round(g),\n          b: round(b)\n        };\n      },\n      set: function set(value) {\n        this.hsv = _extends({}, IroColor.rgbToHsv(value), {\n          a: value.a === undefined ? 1 : value.a\n        });\n      }\n    }, {\n      key: \"rgba\",\n      get: function get() {\n        return _extends({}, this.rgb, {\n          a: this.alpha\n        });\n      },\n      set: function set(value) {\n        this.rgb = value;\n      }\n    }, {\n      key: \"hsl\",\n      get: function get() {\n        var _IroColor$hsvToHsl = IroColor.hsvToHsl(this.$),\n            h = _IroColor$hsvToHsl.h,\n            s = _IroColor$hsvToHsl.s,\n            l = _IroColor$hsvToHsl.l;\n\n        return {\n          h: round(h),\n          s: round(s),\n          l: round(l)\n        };\n      },\n      set: function set(value) {\n        this.hsv = _extends({}, IroColor.hslToHsv(value), {\n          a: value.a === undefined ? 1 : value.a\n        });\n      }\n    }, {\n      key: \"hsla\",\n      get: function get() {\n        return _extends({}, this.hsl, {\n          a: this.alpha\n        });\n      },\n      set: function set(value) {\n        this.hsl = value;\n      }\n    }, {\n      key: \"rgbString\",\n      get: function get() {\n        var rgb = this.rgb;\n        return \"rgb(\" + rgb.r + \", \" + rgb.g + \", \" + rgb.b + \")\";\n      },\n      set: function set(value) {\n        var match;\n        var r,\n            g,\n            b,\n            a = 1;\n\n        if (match = REGEX_FUNCTIONAL_RGB.exec(value)) {\n          r = parseUnit(match[1], 255);\n          g = parseUnit(match[2], 255);\n          b = parseUnit(match[3], 255);\n        } else if (match = REGEX_FUNCTIONAL_RGBA.exec(value)) {\n          r = parseUnit(match[1], 255);\n          g = parseUnit(match[2], 255);\n          b = parseUnit(match[3], 255);\n          a = parseUnit(match[4], 1);\n        }\n\n        if (match) {\n          this.rgb = {\n            r: r,\n            g: g,\n            b: b,\n            a: a\n          };\n        } else {\n          throw new Error('Invalid rgb string');\n        }\n      }\n    }, {\n      key: \"rgbaString\",\n      get: function get() {\n        var rgba = this.rgba;\n        return \"rgba(\" + rgba.r + \", \" + rgba.g + \", \" + rgba.b + \", \" + rgba.a + \")\";\n      },\n      set: function set(value) {\n        this.rgbString = value;\n      }\n    }, {\n      key: \"hexString\",\n      get: function get() {\n        var rgb = this.rgb;\n        return \"#\" + intToHex(rgb.r) + intToHex(rgb.g) + intToHex(rgb.b);\n      },\n      set: function set(value) {\n        var match;\n        var r,\n            g,\n            b,\n            a = 255;\n\n        if (match = REGEX_HEX_3.exec(value)) {\n          r = parseHexInt(match[1]) * 17;\n          g = parseHexInt(match[2]) * 17;\n          b = parseHexInt(match[3]) * 17;\n        } else if (match = REGEX_HEX_4.exec(value)) {\n          r = parseHexInt(match[1]) * 17;\n          g = parseHexInt(match[2]) * 17;\n          b = parseHexInt(match[3]) * 17;\n          a = parseHexInt(match[4]) * 17;\n        } else if (match = REGEX_HEX_6.exec(value)) {\n          r = parseHexInt(match[1]);\n          g = parseHexInt(match[2]);\n          b = parseHexInt(match[3]);\n        } else if (match = REGEX_HEX_8.exec(value)) {\n          r = parseHexInt(match[1]);\n          g = parseHexInt(match[2]);\n          b = parseHexInt(match[3]);\n          a = parseHexInt(match[4]);\n        }\n\n        if (match) {\n          this.rgb = {\n            r: r,\n            g: g,\n            b: b,\n            a: a / 255\n          };\n        } else {\n          throw new Error('Invalid hex string');\n        }\n      }\n    }, {\n      key: \"hex8String\",\n      get: function get() {\n        var rgba = this.rgba;\n        return \"#\" + intToHex(rgba.r) + intToHex(rgba.g) + intToHex(rgba.b) + intToHex(floor(rgba.a * 255));\n      },\n      set: function set(value) {\n        this.hexString = value;\n      }\n    }, {\n      key: \"hslString\",\n      get: function get() {\n        var hsl = this.hsl;\n        return \"hsl(\" + hsl.h + \", \" + hsl.s + \"%, \" + hsl.l + \"%)\";\n      },\n      set: function set(value) {\n        var match;\n        var h,\n            s,\n            l,\n            a = 1;\n\n        if (match = REGEX_FUNCTIONAL_HSL.exec(value)) {\n          h = parseUnit(match[1], 360);\n          s = parseUnit(match[2], 100);\n          l = parseUnit(match[3], 100);\n        } else if (match = REGEX_FUNCTIONAL_HSLA.exec(value)) {\n          h = parseUnit(match[1], 360);\n          s = parseUnit(match[2], 100);\n          l = parseUnit(match[3], 100);\n          a = parseUnit(match[4], 1);\n        }\n\n        if (match) {\n          this.hsl = {\n            h: h,\n            s: s,\n            l: l,\n            a: a\n          };\n        } else {\n          throw new Error('Invalid hsl string');\n        }\n      }\n    }, {\n      key: \"hslaString\",\n      get: function get() {\n        var hsla = this.hsla;\n        return \"hsla(\" + hsla.h + \", \" + hsla.s + \"%, \" + hsla.l + \"%, \" + hsla.a + \")\";\n      },\n      set: function set(value) {\n        this.hslString = value;\n      }\n    }]);\n\n    return IroColor;\n  }();\n\n  var sliderDefaultOptions = {\n    sliderShape: 'bar',\n    sliderType: 'value',\n    minTemperature: 2200,\n    maxTemperature: 11000\n  };\n  /**\r\n   * @desc Get the bounding dimensions of the slider\r\n   * @param props - slider props\r\n   */\n\n  function getSliderDimensions(props) {\n    var _sliderSize;\n\n    var width = props.width,\n        sliderSize = props.sliderSize,\n        borderWidth = props.borderWidth,\n        handleRadius = props.handleRadius,\n        padding = props.padding,\n        sliderShape = props.sliderShape;\n    var ishorizontal = props.layoutDirection === 'horizontal'; // automatically calculate sliderSize if its not defined\n\n    sliderSize = (_sliderSize = sliderSize) != null ? _sliderSize : padding * 2 + handleRadius * 2;\n\n    if (sliderShape === 'circle') {\n      return {\n        handleStart: props.padding + props.handleRadius,\n        handleRange: width - padding * 2 - handleRadius * 2,\n        width: width,\n        height: width,\n        cx: width / 2,\n        cy: width / 2,\n        radius: width / 2 - borderWidth / 2\n      };\n    } else {\n      return {\n        handleStart: sliderSize / 2,\n        handleRange: width - sliderSize,\n        radius: sliderSize / 2,\n        x: 0,\n        y: 0,\n        width: ishorizontal ? sliderSize : width,\n        height: ishorizontal ? width : sliderSize\n      };\n    }\n  }\n  /**\r\n   * @desc Get the current slider value for a given color, as a percentage\r\n   * @param props - slider props\r\n   * @param color\r\n   */\n\n  function getCurrentSliderValue(props, color) {\n    var hsva = color.hsva;\n    var rgb = color.rgb;\n\n    switch (props.sliderType) {\n      case 'red':\n        return rgb.r / 2.55;\n\n      case 'green':\n        return rgb.g / 2.55;\n\n      case 'blue':\n        return rgb.b / 2.55;\n\n      case 'alpha':\n        return hsva.a * 100;\n\n      case 'kelvin':\n        var minTemperature = props.minTemperature,\n            maxTemperature = props.maxTemperature;\n        var temperatureRange = maxTemperature - minTemperature;\n        var percent = (color.kelvin - minTemperature) / temperatureRange * 100; // clmap percentage\n\n        return Math.max(0, Math.min(percent, 100));\n\n      case 'hue':\n        return hsva.h /= 3.6;\n\n      case 'saturation':\n        return hsva.s;\n\n      case 'value':\n      default:\n        return hsva.v;\n    }\n  }\n  /**\r\n   * @desc Get the current slider value from user input\r\n   * @param props - slider props\r\n   * @param x - global input x position\r\n   * @param y - global input y position\r\n   */\n\n  function getSliderValueFromInput(props, x, y) {\n    var _getSliderDimensions = getSliderDimensions(props),\n        handleRange = _getSliderDimensions.handleRange,\n        handleStart = _getSliderDimensions.handleStart;\n\n    var handlePos;\n\n    if (props.layoutDirection === 'horizontal') {\n      handlePos = -1 * y + handleRange + handleStart;\n    } else {\n      handlePos = x - handleStart;\n    } // clamp handle position\n\n\n    handlePos = Math.max(Math.min(handlePos, handleRange), 0);\n    var percent = Math.round(100 / handleRange * handlePos);\n\n    switch (props.sliderType) {\n      case 'kelvin':\n        var minTemperature = props.minTemperature,\n            maxTemperature = props.maxTemperature;\n        var temperatureRange = maxTemperature - minTemperature;\n        return minTemperature + temperatureRange * (percent / 100);\n\n      case 'alpha':\n        return percent / 100;\n\n      case 'hue':\n        return percent * 3.6;\n\n      case 'red':\n      case 'blue':\n      case 'green':\n        return percent * 2.55;\n\n      default:\n        return percent;\n    }\n  }\n  /**\r\n   * @desc Get the current handle position for a given color\r\n   * @param props - slider props\r\n   * @param color\r\n   */\n\n  function getSliderHandlePosition(props, color) {\n    var _getSliderDimensions2 = getSliderDimensions(props),\n        width = _getSliderDimensions2.width,\n        height = _getSliderDimensions2.height,\n        handleRange = _getSliderDimensions2.handleRange,\n        handleStart = _getSliderDimensions2.handleStart;\n\n    var ishorizontal = props.layoutDirection === 'horizontal';\n    var sliderValue = getCurrentSliderValue(props, color);\n    var midPoint = ishorizontal ? width / 2 : height / 2;\n    var handlePos = handleStart + sliderValue / 100 * handleRange;\n\n    if (ishorizontal) {\n      handlePos = -1 * handlePos + handleRange + handleStart * 2;\n    }\n\n    return {\n      x: ishorizontal ? midPoint : handlePos,\n      y: ishorizontal ? handlePos : midPoint\n    };\n  }\n  /**\r\n   * @desc Get the gradient stops for a slider\r\n   * @param props - slider props\r\n   * @param color\r\n   */\n\n  function getSliderGradient(props, color) {\n    var hsv = color.hsv;\n    var rgb = color.rgb;\n\n    switch (props.sliderType) {\n      case 'red':\n        return [[0, \"rgb(\" + 0 + \",\" + rgb.g + \",\" + rgb.b + \")\"], [100, \"rgb(\" + 255 + \",\" + rgb.g + \",\" + rgb.b + \")\"]];\n\n      case 'green':\n        return [[0, \"rgb(\" + rgb.r + \",\" + 0 + \",\" + rgb.b + \")\"], [100, \"rgb(\" + rgb.r + \",\" + 255 + \",\" + rgb.b + \")\"]];\n\n      case 'blue':\n        return [[0, \"rgb(\" + rgb.r + \",\" + rgb.g + \",\" + 0 + \")\"], [100, \"rgb(\" + rgb.r + \",\" + rgb.g + \",\" + 255 + \")\"]];\n\n      case 'alpha':\n        return [[0, \"rgba(\" + rgb.r + \",\" + rgb.g + \",\" + rgb.b + \",0)\"], [100, \"rgb(\" + rgb.r + \",\" + rgb.g + \",\" + rgb.b + \")\"]];\n\n      case 'kelvin':\n        var stops = [];\n        var min = props.minTemperature;\n        var max = props.maxTemperature;\n        var numStops = 8;\n        var range = max - min;\n\n        for (var kelvin = min, stop = 0; kelvin < max; kelvin += range / numStops, stop += 1) {\n          var _IroColor$kelvinToRgb = IroColor.kelvinToRgb(kelvin),\n              r = _IroColor$kelvinToRgb.r,\n              g = _IroColor$kelvinToRgb.g,\n              b = _IroColor$kelvinToRgb.b;\n\n          stops.push([100 / numStops * stop, \"rgb(\" + r + \",\" + g + \",\" + b + \")\"]);\n        }\n\n        return stops;\n\n      case 'hue':\n        return [[0, '#f00'], [16.666, '#ff0'], [33.333, '#0f0'], [50, '#0ff'], [66.666, '#00f'], [83.333, '#f0f'], [100, '#f00']];\n\n      case 'saturation':\n        var noSat = IroColor.hsvToHsl({\n          h: hsv.h,\n          s: 0,\n          v: hsv.v\n        });\n        var fullSat = IroColor.hsvToHsl({\n          h: hsv.h,\n          s: 100,\n          v: hsv.v\n        });\n        return [[0, \"hsl(\" + noSat.h + \",\" + noSat.s + \"%,\" + noSat.l + \"%)\"], [100, \"hsl(\" + fullSat.h + \",\" + fullSat.s + \"%,\" + fullSat.l + \"%)\"]];\n\n      case 'value':\n      default:\n        var hsl = IroColor.hsvToHsl({\n          h: hsv.h,\n          s: hsv.s,\n          v: 100\n        });\n        return [[0, '#000'], [100, \"hsl(\" + hsl.h + \",\" + hsl.s + \"%,\" + hsl.l + \"%)\"]];\n    }\n  }\n\n  var TAU = Math.PI * 2; // javascript's modulo operator doesn't produce positive numbers with negative input\n  // https://dev.to/maurobringolf/a-neat-trick-to-compute-modulo-of-negative-numbers-111e\n\n  var mod = function mod(a, n) {\n    return (a % n + n) % n;\n  }; // distance between points (x, y) and (0, 0)\n\n\n  var dist = function dist(x, y) {\n    return Math.sqrt(x * x + y * y);\n  };\n  /**\r\n   * @param props - wheel props\r\n   * @internal\r\n   */\n\n\n  function getHandleRange(props) {\n    return props.width / 2 - props.padding - props.handleRadius - props.borderWidth;\n  }\n  /**\r\n   * Returns true if point (x, y) lands inside the wheel\r\n   * @param props - wheel props\r\n   * @param x\r\n   * @param y\r\n   */\n\n\n  function isInputInsideWheel(props, x, y) {\n    var _getWheelDimensions = getWheelDimensions(props),\n        cx = _getWheelDimensions.cx,\n        cy = _getWheelDimensions.cy;\n\n    var r = props.width / 2;\n    return dist(cx - x, cy - y) < r;\n  }\n  /**\r\n   * @desc Get the point as the center of the wheel\r\n   * @param props - wheel props\r\n   */\n\n  function getWheelDimensions(props) {\n    var r = props.width / 2;\n    return {\n      width: props.width,\n      radius: r - props.borderWidth,\n      cx: r,\n      cy: r\n    };\n  }\n  /**\r\n   * @desc Translate an angle according to wheelAngle and wheelDirection\r\n   * @param props - wheel props\r\n   * @param angle - input angle\r\n   */\n\n  function translateWheelAngle(props, angle, invert) {\n    var wheelAngle = props.wheelAngle;\n    var wheelDirection = props.wheelDirection; // inverted and clockwisee\n\n    if (invert && wheelDirection === 'clockwise') { angle = wheelAngle + angle; } // clockwise (input handling)\n    else if (wheelDirection === 'clockwise') { angle = 360 - wheelAngle + angle; } // inverted and anticlockwise\n      else if (invert && wheelDirection === 'anticlockwise') { angle = wheelAngle + 180 - angle; } // anticlockwise (input handling)\n        else if (wheelDirection === 'anticlockwise') { angle = wheelAngle - angle; }\n    return mod(angle, 360);\n  }\n  /**\r\n   * @desc Get the current handle position for a given color\r\n   * @param props - wheel props\r\n   * @param color\r\n   */\n\n  function getWheelHandlePosition(props, color) {\n    var hsv = color.hsv;\n\n    var _getWheelDimensions2 = getWheelDimensions(props),\n        cx = _getWheelDimensions2.cx,\n        cy = _getWheelDimensions2.cy;\n\n    var handleRange = getHandleRange(props);\n    var handleAngle = (180 + translateWheelAngle(props, hsv.h, true)) * (TAU / 360);\n    var handleDist = hsv.s / 100 * handleRange;\n    var direction = props.wheelDirection === 'clockwise' ? -1 : 1;\n    return {\n      x: cx + handleDist * Math.cos(handleAngle) * direction,\n      y: cy + handleDist * Math.sin(handleAngle) * direction\n    };\n  }\n  /**\r\n   * @desc Get the current wheel value from user input\r\n   * @param props - wheel props\r\n   * @param x - global input x position\r\n   * @param y - global input y position\r\n   */\n\n  function getWheelValueFromInput(props, x, y) {\n    var _getWheelDimensions3 = getWheelDimensions(props),\n        cx = _getWheelDimensions3.cx,\n        cy = _getWheelDimensions3.cy;\n\n    var handleRange = getHandleRange(props);\n    x = cx - x;\n    y = cy - y; // Calculate the hue by converting the angle to radians\n\n    var hue = translateWheelAngle(props, Math.atan2(-y, -x) * (360 / TAU)); // Find the point's distance from the center of the wheel\n    // This is used to show the saturation level\n\n    var handleDist = Math.min(dist(x, y), handleRange);\n    return {\n      h: Math.round(hue),\n      s: Math.round(100 / handleRange * handleDist)\n    };\n  }\n  /**\r\n   * @desc Get the bounding dimensions of the box\r\n   * @param props - box props\r\n   */\n\n  function getBoxDimensions(props) {\n    var width = props.width,\n        boxHeight = props.boxHeight,\n        padding = props.padding,\n        handleRadius = props.handleRadius;\n    return {\n      width: width,\n      height: boxHeight != null ? boxHeight : width,\n      radius: padding + handleRadius\n    };\n  }\n  /**\r\n   * @desc Get the current box value from user input\r\n   * @param props - box props\r\n   * @param x - global input x position\r\n   * @param y - global input y position\r\n   */\n\n  function getBoxValueFromInput(props, x, y) {\n    var _getBoxDimensions = getBoxDimensions(props),\n        width = _getBoxDimensions.width,\n        height = _getBoxDimensions.height,\n        radius = _getBoxDimensions.radius;\n\n    var handleStart = radius;\n    var handleRangeX = width - radius * 2;\n    var handleRangeY = height - radius * 2;\n    var percentX = (x - handleStart) / handleRangeX * 100;\n    var percentY = (y - handleStart) / handleRangeY * 100;\n    return {\n      s: Math.max(0, Math.min(percentX, 100)),\n      v: Math.max(0, Math.min(100 - percentY, 100))\n    };\n  }\n  /**\r\n   * @desc Get the current box handle position for a given color\r\n   * @param props - box props\r\n   * @param color\r\n   */\n\n  function getBoxHandlePosition(props, color) {\n    var _getBoxDimensions2 = getBoxDimensions(props),\n        width = _getBoxDimensions2.width,\n        height = _getBoxDimensions2.height,\n        radius = _getBoxDimensions2.radius;\n\n    var hsv = color.hsv;\n    var handleStart = radius;\n    var handleRangeX = width - radius * 2;\n    var handleRangeY = height - radius * 2;\n    return {\n      x: handleStart + hsv.s / 100 * handleRangeX,\n      y: handleStart + (handleRangeY - hsv.v / 100 * handleRangeY)\n    };\n  }\n  /**\r\n   * @desc Get the gradient stops for a box\r\n   * @param props - box props\r\n   * @param color\r\n   */\n\n  function getBoxGradients(props, color) {\n    var hue = color.hue;\n    return [// saturation gradient\n    [[0, '#fff'], [100, \"hsl(\" + hue + \",100%,50%)\"]], // lightness gradient\n    [[0, 'rgba(0,0,0,0)'], [100, '#000']]];\n  }\n\n  // Keep track of html <base> elements for resolveSvgUrl\n  // getElementsByTagName returns a live HTMLCollection, which stays in sync with the DOM tree\n  // So it only needs to be called once\n  var BASE_ELEMENTS;\n  /**\r\n   * @desc Resolve an SVG reference URL\r\n   * This is required to work around how Safari and iOS webviews handle gradient URLS under certain conditions\r\n   * If a page is using a client-side routing library which makes use of the HTML <base> tag,\r\n   * Safari won't be able to render SVG gradients properly (as they are referenced by URLs)\r\n   * More info on the problem:\r\n   * https://stackoverflow.com/questions/19742805/angular-and-svg-filters/19753427#19753427\r\n   * https://github.com/jaames/iro.js/issues/18\r\n   * https://github.com/jaames/iro.js/issues/45\r\n   * https://github.com/jaames/iro.js/pull/89\r\n   * @props url - SVG reference URL\r\n   */\n\n  function resolveSvgUrl(url) {\n    if (!BASE_ELEMENTS) { BASE_ELEMENTS = document.getElementsByTagName('base'); } // Sniff useragent string to check if the user is running Safari\n\n    var ua = window.navigator.userAgent;\n    var isSafari = /^((?!chrome|android).)*safari/i.test(ua);\n    var isIos = /iPhone|iPod|iPad/i.test(ua);\n    var location = window.location;\n    return (isSafari || isIos) && BASE_ELEMENTS.length > 0 ? location.protocol + \"//\" + location.host + location.pathname + location.search + url : url;\n  }\n  /**\r\n   * @desc Given a specifc (x, y) position, test if there's a handle there and return its index, else return null.\r\n   *       This is used for components like the box and wheel which support multiple handles when multicolor is active\r\n   * @props x - point x position\r\n   * @props y - point y position\r\n   * @props handlePositions - array of {x, y} coords for each handle\r\n   */\n\n  function getHandleAtPoint(props, x, y, handlePositions) {\n    for (var i = 0; i < handlePositions.length; i++) {\n      var dX = handlePositions[i].x - x;\n      var dY = handlePositions[i].y - y;\n      var dist = Math.sqrt(dX * dX + dY * dY);\n\n      if (dist < props.handleRadius) {\n        return i;\n      }\n    }\n\n    return null;\n  }\n\n  function cssBorderStyles(props) {\n    return {\n      boxSizing: 'border-box',\n      border: props.borderWidth + \"px solid \" + props.borderColor\n    };\n  }\n  function cssGradient(type, direction, stops) {\n    return type + \"-gradient(\" + direction + \", \" + stops.map(function (_ref) {\n      var o = _ref[0],\n          col = _ref[1];\n      return col + \" \" + o + \"%\";\n    }).join(',') + \")\";\n  }\n  function cssValue(value) {\n    if (typeof value === 'string') { return value; }\n    return value + \"px\";\n  }\n\n  var iroColorPickerOptionDefaults = {\n    width: 300,\n    height: 300,\n    color: '#fff',\n    colors: [],\n    padding: 6,\n    layoutDirection: 'vertical',\n    borderColor: '#fff',\n    borderWidth: 0,\n    handleRadius: 8,\n    activeHandleRadius: null,\n    handleSvg: null,\n    handleProps: {\n      x: 0,\n      y: 0\n    },\n    wheelLightness: true,\n    wheelAngle: 0,\n    wheelDirection: 'anticlockwise',\n    sliderSize: null,\n    sliderMargin: 12,\n    boxHeight: null\n  };\n\n  var SECONDARY_EVENTS = [\"mousemove\" /* MouseMove */, \"touchmove\" /* TouchMove */, \"mouseup\" /* MouseUp */, \"touchend\" /* TouchEnd */];\r\n  // Base component class for iro UI components\r\n  // This extends the Preact component class to allow them to react to mouse/touch input events by themselves\r\n  var IroComponentWrapper = /*@__PURE__*/(function (Component) {\n      function IroComponentWrapper(props) {\r\n          Component.call(this, props);\r\n          // Generate unique ID for the component\r\n          // This can be used to generate unique IDs for gradients, etc\r\n          this.uid = (Math.random() + 1).toString(36).substring(5);\r\n      }\n\n      if ( Component ) IroComponentWrapper.__proto__ = Component;\n      IroComponentWrapper.prototype = Object.create( Component && Component.prototype );\n      IroComponentWrapper.prototype.constructor = IroComponentWrapper;\r\n      IroComponentWrapper.prototype.render = function render (props) {\r\n          var eventHandler = this.handleEvent.bind(this);\r\n          var rootProps = {\r\n              onMouseDown: eventHandler,\r\n              // https://github.com/jaames/iro.js/issues/126\r\n              // https://github.com/preactjs/preact/issues/2113#issuecomment-553408767\r\n              ontouchstart: eventHandler,\r\n          };\r\n          var isHorizontal = props.layoutDirection === 'horizontal';\r\n          var margin = props.margin === null ? props.sliderMargin : props.margin;\r\n          var rootStyles = {\r\n              overflow: 'visible',\r\n              display: isHorizontal ? 'inline-block' : 'block'\r\n          };\r\n          // first component shouldn't have any margin\r\n          if (props.index > 0) {\r\n              rootStyles[isHorizontal ? 'marginLeft' : 'marginTop'] = margin;\r\n          }\r\n          return (h(d, null, props.children(this.uid, rootProps, rootStyles)));\r\n      };\r\n      // More info on handleEvent:\r\n      // https://medium.com/@WebReflection/dom-handleevent-a-cross-platform-standard-since-year-2000-5bf17287fd38\r\n      // TL;DR this lets us have a single point of entry for multiple events, and we can avoid callback/binding hell\r\n      IroComponentWrapper.prototype.handleEvent = function handleEvent (e) {\n          var this$1 = this;\n\r\n          var inputHandler = this.props.onInput;\r\n          // Get the screen position of the component\r\n          var bounds = this.base.getBoundingClientRect();\r\n          // Prefect default browser action\r\n          e.preventDefault();\r\n          // Detect if the event is a touch event by checking if it has the `touches` property\r\n          // If it is a touch event, use the first touch input\r\n          var point = e.touches ? e.changedTouches[0] : e;\r\n          var x = point.clientX - bounds.left;\r\n          var y = point.clientY - bounds.top;\r\n          switch (e.type) {\r\n              case \"mousedown\" /* MouseDown */:\r\n              case \"touchstart\" /* TouchStart */:\r\n                  var result = inputHandler(x, y, 0 /* Start */);\r\n                  if (result !== false) {\r\n                      SECONDARY_EVENTS.forEach(function (event) {\r\n                          document.addEventListener(event, this$1, { passive: false });\r\n                      });\r\n                  }\r\n                  break;\r\n              case \"mousemove\" /* MouseMove */:\r\n              case \"touchmove\" /* TouchMove */:\r\n                  inputHandler(x, y, 1 /* Move */);\r\n                  break;\r\n              case \"mouseup\" /* MouseUp */:\r\n              case \"touchend\" /* TouchEnd */:\r\n                  inputHandler(x, y, 2 /* End */);\r\n                  SECONDARY_EVENTS.forEach(function (event) {\r\n                      document.removeEventListener(event, this$1, { passive: false });\r\n                  });\r\n                  break;\r\n          }\r\n      };\n\n      return IroComponentWrapper;\n  }(m));\n\n  function IroHandle(props) {\r\n      var radius = props.r;\r\n      var url = props.url;\r\n      var cx = radius;\r\n      var cy = radius;\r\n      return (h(\"svg\", { className: (\"IroHandle IroHandle--\" + (props.index) + \" \" + (props.isActive ? 'IroHandle--isActive' : '')), style: {\r\n              '-webkit-tap-highlight-color': 'rgba(0, 0, 0, 0);',\r\n              transform: (\"translate(\" + (cssValue(props.x)) + \", \" + (cssValue(props.y)) + \")\"),\r\n              willChange: 'transform',\r\n              top: cssValue(-radius),\r\n              left: cssValue(-radius),\r\n              width: cssValue(radius * 2),\r\n              height: cssValue(radius * 2),\r\n              position: 'absolute',\r\n              overflow: 'visible'\r\n          } },\r\n          url && (h(\"use\", Object.assign({ xlinkHref: resolveSvgUrl(url) }, props.props))),\r\n          !url && (h(\"circle\", { cx: cx, cy: cy, r: radius, fill: \"none\", \"stroke-width\": 2, stroke: \"#000\" })),\r\n          !url && (h(\"circle\", { cx: cx, cy: cy, r: radius - 2, fill: props.fill, \"stroke-width\": 2, stroke: \"#fff\" }))));\r\n  }\r\n  IroHandle.defaultProps = {\r\n      fill: 'none',\r\n      x: 0,\r\n      y: 0,\r\n      r: 8,\r\n      url: null,\r\n      props: { x: 0, y: 0 }\r\n  };\n\n  function IroSlider(props) {\r\n      var activeIndex = props.activeIndex;\r\n      var activeColor = (activeIndex !== undefined && activeIndex < props.colors.length) ? props.colors[activeIndex] : props.color;\r\n      var ref = getSliderDimensions(props);\n      var width = ref.width;\n      var height = ref.height;\n      var radius = ref.radius;\r\n      var handlePos = getSliderHandlePosition(props, activeColor);\r\n      var gradient = getSliderGradient(props, activeColor);\r\n      function handleInput(x, y, type) {\r\n          var value = getSliderValueFromInput(props, x, y);\r\n          props.parent.inputActive = true;\r\n          activeColor[props.sliderType] = value;\r\n          props.onInput(type, props.id);\r\n      }\r\n      return (h(IroComponentWrapper, Object.assign({}, props, { onInput: handleInput }), function (uid, rootProps, rootStyles) { return (h(\"div\", Object.assign({}, rootProps, { className: \"IroSlider\", style: Object.assign({}, {position: 'relative',\r\n              width: cssValue(width),\r\n              height: cssValue(height),\r\n              borderRadius: cssValue(radius),\r\n              // checkered bg to represent alpha\r\n              background: \"conic-gradient(#ccc 25%, #fff 0 50%, #ccc 0 75%, #fff 0)\",\r\n              backgroundSize: '8px 8px'},\r\n              rootStyles) }),\r\n          h(\"div\", { className: \"IroSliderGradient\", style: Object.assign({}, {position: 'absolute',\r\n                  top: 0,\r\n                  left: 0,\r\n                  width: \"100%\",\r\n                  height: \"100%\",\r\n                  borderRadius: cssValue(radius),\r\n                  background: cssGradient('linear', props.layoutDirection === 'horizontal' ? 'to top' : 'to right', gradient)},\r\n                  cssBorderStyles(props)) }),\r\n          h(IroHandle, { isActive: true, index: activeColor.index, r: props.handleRadius, url: props.handleSvg, props: props.handleProps, x: handlePos.x, y: handlePos.y }))); }));\r\n  }\r\n  IroSlider.defaultProps = Object.assign({}, sliderDefaultOptions);\n\n  function IroBox(props) {\r\n      var ref = getBoxDimensions(props);\n      var width = ref.width;\n      var height = ref.height;\n      var radius = ref.radius;\r\n      var colors = props.colors;\r\n      var colorPicker = props.parent;\r\n      var activeIndex = props.activeIndex;\r\n      var activeColor = (activeIndex !== undefined && activeIndex < props.colors.length) ? props.colors[activeIndex] : props.color;\r\n      var gradients = getBoxGradients(props, activeColor);\r\n      var handlePositions = colors.map(function (color) { return getBoxHandlePosition(props, color); });\r\n      function handleInput(x, y, inputType) {\r\n          if (inputType === 0 /* Start */) {\r\n              // getHandleAtPoint() returns the index for the handle if the point 'hits' it, or null otherwise\r\n              var activeHandle = getHandleAtPoint(props, x, y, handlePositions);\r\n              // If the input hit a handle, set it as the active handle, but don't update the color\r\n              if (activeHandle !== null) {\r\n                  colorPicker.setActiveColor(activeHandle);\r\n              }\r\n              // If the input didn't hit a handle, set the currently active handle to that position\r\n              else {\r\n                  colorPicker.inputActive = true;\r\n                  activeColor.hsv = getBoxValueFromInput(props, x, y);\r\n                  props.onInput(inputType, props.id);\r\n              }\r\n          }\r\n          // move is fired when the user has started dragging\r\n          else if (inputType === 1 /* Move */) {\r\n              colorPicker.inputActive = true;\r\n              activeColor.hsv = getBoxValueFromInput(props, x, y);\r\n          }\r\n          // let the color picker fire input:start, input:move or input:end events\r\n          props.onInput(inputType, props.id);\r\n      }\r\n      return (h(IroComponentWrapper, Object.assign({}, props, { onInput: handleInput }), function (uid, rootProps, rootStyles) { return (h(\"div\", Object.assign({}, rootProps, { className: \"IroBox\", style: Object.assign({}, {width: cssValue(width),\r\n              height: cssValue(height),\r\n              position: 'relative'},\r\n              rootStyles) }),\r\n          h(\"div\", { className: \"IroBox\", style: Object.assign({}, {width: '100%',\r\n                  height: '100%',\r\n                  borderRadius: cssValue(radius)},\r\n                  cssBorderStyles(props),\r\n                  {background: cssGradient('linear', 'to bottom', gradients[1])\r\n                      + ',' +\r\n                      cssGradient('linear', 'to right', gradients[0])}) }),\r\n          colors.filter(function (color) { return color !== activeColor; }).map(function (color) { return (h(IroHandle, { isActive: false, index: color.index, fill: color.hslString, r: props.handleRadius, url: props.handleSvg, props: props.handleProps, x: handlePositions[color.index].x, y: handlePositions[color.index].y })); }),\r\n          h(IroHandle, { isActive: true, index: activeColor.index, fill: activeColor.hslString, r: props.activeHandleRadius || props.handleRadius, url: props.handleSvg, props: props.handleProps, x: handlePositions[activeColor.index].x, y: handlePositions[activeColor.index].y }))); }));\r\n  }\n\n  var HUE_GRADIENT_CLOCKWISE = 'conic-gradient(red, yellow, lime, aqua, blue, magenta, red)';\r\n  var HUE_GRADIENT_ANTICLOCKWISE = 'conic-gradient(red, magenta, blue, aqua, lime, yellow, red)';\r\n  function IroWheel(props) {\r\n      var ref = getWheelDimensions(props);\n      var width = ref.width;\n      var colors = props.colors;\n      var borderWidth = props.borderWidth;\r\n      var colorPicker = props.parent;\r\n      var activeColor = props.color;\r\n      var hsv = activeColor.hsv;\r\n      var handlePositions = colors.map(function (color) { return getWheelHandlePosition(props, color); });\r\n      var circleStyles = {\r\n          position: 'absolute',\r\n          top: 0,\r\n          left: 0,\r\n          width: '100%',\r\n          height: '100%',\r\n          borderRadius: '50%',\r\n          boxSizing: 'border-box'\r\n      };\r\n      function handleInput(x, y, inputType) {\r\n          if (inputType === 0 /* Start */) {\r\n              // input hitbox is a square, \r\n              // so we want to ignore any initial clicks outside the circular shape of the wheel\r\n              if (!isInputInsideWheel(props, x, y)) {\r\n                  // returning false will cease all event handling for this interaction\r\n                  return false;\r\n              }\r\n              // getHandleAtPoint() returns the index for the handle if the point 'hits' it, or null otherwise\r\n              var activeHandle = getHandleAtPoint(props, x, y, handlePositions);\r\n              // If the input hit a handle, set it as the active handle, but don't update the color\r\n              if (activeHandle !== null) {\r\n                  colorPicker.setActiveColor(activeHandle);\r\n              }\r\n              // If the input didn't hit a handle, set the currently active handle to that position\r\n              else {\r\n                  colorPicker.inputActive = true;\r\n                  activeColor.hsv = getWheelValueFromInput(props, x, y);\r\n                  props.onInput(inputType, props.id);\r\n              }\r\n          }\r\n          // move is fired when the user has started dragging\r\n          else if (inputType === 1 /* Move */) {\r\n              colorPicker.inputActive = true;\r\n              activeColor.hsv = getWheelValueFromInput(props, x, y);\r\n          }\r\n          // let the color picker fire input:start, input:move or input:end events\r\n          props.onInput(inputType, props.id);\r\n      }\r\n      return (h(IroComponentWrapper, Object.assign({}, props, { onInput: handleInput }), function (uid, rootProps, rootStyles) { return (h(\"div\", Object.assign({}, rootProps, { className: \"IroWheel\", style: Object.assign({}, {width: cssValue(width),\r\n              height: cssValue(width),\r\n              position: 'relative'},\r\n              rootStyles) }),\r\n          h(\"div\", { className: \"IroWheelHue\", style: Object.assign({}, circleStyles,\r\n                  {transform: (\"rotateZ(\" + (props.wheelAngle + 90) + \"deg)\"),\r\n                  background: props.wheelDirection === 'clockwise' ? HUE_GRADIENT_CLOCKWISE : HUE_GRADIENT_ANTICLOCKWISE}) }),\r\n          h(\"div\", { className: \"IroWheelSaturation\", style: Object.assign({}, circleStyles,\r\n                  {background: 'radial-gradient(circle closest-side, #fff, transparent)'}) }),\r\n          props.wheelLightness && (h(\"div\", { className: \"IroWheelLightness\", style: Object.assign({}, circleStyles,\r\n                  {background: '#000',\r\n                  opacity: 1 - hsv.v / 100}) })),\r\n          h(\"div\", { className: \"IroWheelBorder\", style: Object.assign({}, circleStyles,\r\n                  cssBorderStyles(props)) }),\r\n          colors.filter(function (color) { return color !== activeColor; }).map(function (color) { return (h(IroHandle, { isActive: false, index: color.index, fill: color.hslString, r: props.handleRadius, url: props.handleSvg, props: props.handleProps, x: handlePositions[color.index].x, y: handlePositions[color.index].y })); }),\r\n          h(IroHandle, { isActive: true, index: activeColor.index, fill: activeColor.hslString, r: props.activeHandleRadius || props.handleRadius, url: props.handleSvg, props: props.handleProps, x: handlePositions[activeColor.index].x, y: handlePositions[activeColor.index].y }))); }));\r\n  }\n\n  function createWidget(WidgetComponent) {\r\n      var widgetFactory = function (parent, props) {\r\n          var widget; // will become an instance of the widget component class\r\n          var widgetRoot = document.createElement('div');\r\n          // Render widget into a temp DOM node\r\n          I(h(WidgetComponent, Object.assign({}, {ref: function (ref) { return widget = ref; }},\r\n              props)), widgetRoot);\r\n          function mountWidget() {\r\n              var container = parent instanceof Element ? parent : document.querySelector(parent);\r\n              container.appendChild(widget.base);\r\n              widget.onMount(container);\r\n          }\r\n          // Mount it into the DOM when the page document is ready\r\n          if (document.readyState !== 'loading') {\r\n              mountWidget();\r\n          }\r\n          else {\r\n              document.addEventListener('DOMContentLoaded', mountWidget);\r\n          }\r\n          return widget;\r\n      };\r\n      // Allow the widget factory to inherit component prototype + static class methods\r\n      // This makes it easier for plugin authors to extend the base widget component\r\n      widgetFactory.prototype = WidgetComponent.prototype;\r\n      Object.assign(widgetFactory, WidgetComponent);\r\n      // Add reference to base component too\r\n      widgetFactory.__component = WidgetComponent;\r\n      return widgetFactory;\r\n  }\n\n  var IroColorPicker = /*@__PURE__*/(function (Component) {\n      function IroColorPicker(props) {\n          var this$1 = this;\n\r\n          Component.call(this, props);\r\n          this.colors = [];\r\n          this.inputActive = false;\r\n          this.events = {};\r\n          this.activeEvents = {};\r\n          this.deferredEvents = {};\r\n          this.id = props.id;\r\n          var colors = props.colors.length > 0 ? props.colors : [props.color];\r\n          colors.forEach(function (colorValue) { return this$1.addColor(colorValue); });\r\n          this.setActiveColor(0);\r\n          // Pass all the props into the component's state,\r\n          // Except we want to add the color object and make sure that refs aren't passed down to children\r\n          this.state = Object.assign({}, props,\r\n              {color: this.color,\r\n              colors: this.colors,\r\n              layout: props.layout});\r\n      }\n\n      if ( Component ) IroColorPicker.__proto__ = Component;\n      IroColorPicker.prototype = Object.create( Component && Component.prototype );\n      IroColorPicker.prototype.constructor = IroColorPicker;\r\n      // Plubic multicolor API\r\n      /**\r\n      * @desc Add a color to the color picker\r\n      * @param color new color to add\r\n      * @param index optional color index\r\n      */\r\n      IroColorPicker.prototype.addColor = function addColor (color, index) {\n          if ( index === void 0 ) index = this.colors.length;\n\r\n          // Create a new iro.Color\r\n          // Also bind it to onColorChange, so whenever the color changes it updates the color picker\r\n          var newColor = new IroColor(color, this.onColorChange.bind(this));\r\n          // Insert color @ the given index\r\n          this.colors.splice(index, 0, newColor);\r\n          // Reindex colors\r\n          this.colors.forEach(function (color, index) { return color.index = index; });\r\n          // Update picker state if necessary\r\n          if (this.state) {\r\n              this.setState({ colors: this.colors });\r\n          }\r\n          // Fire color init event\r\n          this.deferredEmit('color:init', newColor);\r\n      };\r\n      /**\r\n       * @desc Remove a color from the color picker\r\n       * @param index color index\r\n       */\r\n      IroColorPicker.prototype.removeColor = function removeColor (index) {\r\n          var color = this.colors.splice(index, 1)[0];\r\n          // Destroy the color object -- this unbinds it from the color picker\r\n          color.unbind();\r\n          // Reindex colors\r\n          this.colors.forEach(function (color, index) { return color.index = index; });\r\n          // Update picker state if necessary\r\n          if (this.state) {\r\n              this.setState({ colors: this.colors });\r\n          }\r\n          // If the active color was removed, default active color to 0\r\n          if (color.index === this.color.index) {\r\n              this.setActiveColor(0);\r\n          }\r\n          // Fire color remove event\r\n          this.emit('color:remove', color);\r\n      };\r\n      /**\r\n       * @desc Set the currently active color\r\n       * @param index color index\r\n       */\r\n      IroColorPicker.prototype.setActiveColor = function setActiveColor (index) {\r\n          this.color = this.colors[index];\r\n          if (this.state) {\r\n              this.setState({ color: this.color });\r\n          }\r\n          // Fire color switch event\r\n          this.emit('color:setActive', this.color);\r\n      };\r\n      /**\r\n       * @desc Replace all of the current colorPicker colors\r\n       * @param newColorValues list of new colors to add\r\n       */\r\n      IroColorPicker.prototype.setColors = function setColors (newColorValues, activeColorIndex) {\n          var this$1 = this;\n          if ( activeColorIndex === void 0 ) activeColorIndex = 0;\n\r\n          // Unbind color events\r\n          this.colors.forEach(function (color) { return color.unbind(); });\r\n          // Destroy old colors\r\n          this.colors = [];\r\n          // Add new colors\r\n          newColorValues.forEach(function (colorValue) { return this$1.addColor(colorValue); });\r\n          // Reset active color\r\n          this.setActiveColor(activeColorIndex);\r\n          this.emit('color:setAll', this.colors);\r\n      };\r\n      // Public ColorPicker events API\r\n      /**\r\n       * @desc Set a callback function for an event\r\n       * @param eventList event(s) to listen to\r\n       * @param callback - Function called when the event is fired\r\n       */\r\n      IroColorPicker.prototype.on = function on (eventList, callback) {\n          var this$1 = this;\n\r\n          var events = this.events;\r\n          // eventList can be an eventType string or an array of eventType strings\r\n          (!Array.isArray(eventList) ? [eventList] : eventList).forEach(function (eventType) {\r\n              // Add event callback\r\n              (events[eventType] || (events[eventType] = [])).push(callback);\r\n              // Call deferred events\r\n              // These are events that can be stored until a listener for them is added\r\n              if (this$1.deferredEvents[eventType]) {\r\n                  // Deffered events store an array of arguments from when the event was called\r\n                  this$1.deferredEvents[eventType].forEach(function (args) {\r\n                      callback.apply(null, args);\r\n                  });\r\n                  // Clear deferred events\r\n                  this$1.deferredEvents[eventType] = [];\r\n              }\r\n          });\r\n      };\r\n      /**\r\n       * @desc Remove a callback function for an event added with on()\r\n       * @param eventList - event(s) to listen to\r\n       * @param callback - original callback function to remove\r\n       */\r\n      IroColorPicker.prototype.off = function off (eventList, callback) {\n          var this$1 = this;\n\r\n          (!Array.isArray(eventList) ? [eventList] : eventList).forEach(function (eventType) {\r\n              var callbackList = this$1.events[eventType];\r\n              // this.emitHook('event:off', eventType, callback);\r\n              if (callbackList)\r\n                  { callbackList.splice(callbackList.indexOf(callback), 1); }\r\n          });\r\n      };\r\n      /**\r\n       * @desc Emit an event\r\n       * @param eventType event to emit\r\n       */\r\n      IroColorPicker.prototype.emit = function emit (eventType) {\n          var this$1 = this;\n          var args = [], len = arguments.length - 1;\n          while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];\n\r\n          var activeEvents = this.activeEvents;\r\n          var isEventActive = activeEvents.hasOwnProperty(eventType) ? activeEvents[eventType] : false;\r\n          // Prevent event callbacks from firing if the event is already active\r\n          // This stops infinite loops if something in an event callback causes the same event to be fired again\r\n          // (e.g. setting the color inside a color:change callback)\r\n          if (!isEventActive) {\r\n              activeEvents[eventType] = true;\r\n              var callbackList = this.events[eventType] || [];\r\n              callbackList.forEach(function (fn) { return fn.apply(this$1, args); });\r\n              activeEvents[eventType] = false;\r\n          }\r\n      };\r\n      /**\r\n       * @desc Emit an event now, or save it for when the relevent event listener is added\r\n       * @param eventType - The name of the event to emit\r\n       */\r\n      IroColorPicker.prototype.deferredEmit = function deferredEmit (eventType) {\n          var ref;\n\n          var args = [], len = arguments.length - 1;\n          while ( len-- > 0 ) args[ len ] = arguments[ len + 1 ];\r\n          var deferredEvents = this.deferredEvents;\r\n          (ref = this).emit.apply(ref, [ eventType ].concat( args ));\r\n          (deferredEvents[eventType] || (deferredEvents[eventType] = [])).push(args);\r\n      };\r\n      // Public utility methods\r\n      IroColorPicker.prototype.setOptions = function setOptions (newOptions) {\r\n          this.setState(newOptions);\r\n      };\r\n      /**\r\n       * @desc Resize the color picker\r\n       * @param width - new width\r\n       */\r\n      IroColorPicker.prototype.resize = function resize (width) {\r\n          this.setOptions({ width: width });\r\n      };\r\n      /**\r\n       * @desc Reset the color picker to the initial color provided in the color picker options\r\n       */\r\n      IroColorPicker.prototype.reset = function reset () {\r\n          this.colors.forEach(function (color) { return color.reset(); });\r\n          this.setState({ colors: this.colors });\r\n      };\r\n      /**\r\n       * @desc Called by the createWidget wrapper when the element is mounted into the page\r\n       * @param container - the container element for this ColorPicker instance\r\n       */\r\n      IroColorPicker.prototype.onMount = function onMount (container) {\r\n          this.el = container;\r\n          this.deferredEmit('mount', this);\r\n      };\r\n      // Internal methods\r\n      /**\r\n       * @desc React to a color update\r\n       * @param color - current color\r\n       * @param changes - shows which h,s,v,a color channels changed\r\n       */\r\n      IroColorPicker.prototype.onColorChange = function onColorChange (color, changes) {\r\n          this.setState({ color: this.color });\r\n          if (this.inputActive) {\r\n              this.inputActive = false;\r\n              this.emit('input:change', color, changes);\r\n          }\r\n          this.emit('color:change', color, changes);\r\n      };\r\n      /**\r\n       * @desc Handle input from a UI control element\r\n       * @param type - event type\r\n       */\r\n      IroColorPicker.prototype.emitInputEvent = function emitInputEvent (type, originId) {\r\n          if (type === 0 /* Start */) {\r\n              this.emit('input:start', this.color, originId);\r\n          }\r\n          else if (type === 1 /* Move */) {\r\n              this.emit('input:move', this.color, originId);\r\n          }\r\n          else if (type === 2 /* End */) {\r\n              this.emit('input:end', this.color, originId);\r\n          }\r\n      };\r\n      IroColorPicker.prototype.render = function render (props, state) {\n          var this$1 = this;\n\r\n          var layout = state.layout;\r\n          // use layout shorthands\r\n          if (!Array.isArray(layout)) {\r\n              switch (layout) {\r\n                  // TODO: implement some?\r\n                  default:\r\n                      layout = [\r\n                          { component: IroWheel },\r\n                          { component: IroSlider } ];\r\n              }\r\n              // add transparency slider to the layout\r\n              if (state.transparency) {\r\n                  layout.push({\r\n                      component: IroSlider,\r\n                      options: {\r\n                          sliderType: 'alpha'\r\n                      }\r\n                  });\r\n              }\r\n          }\r\n          return (h(\"div\", { class: \"IroColorPicker\", id: state.id, style: {\r\n                  display: state.display\r\n              } }, layout.map(function (ref, componentIndex) {\n                  var UiComponent = ref.component;\n                  var options = ref.options;\n\n                  return (h(UiComponent, Object.assign({}, state, options, { ref: undefined, onInput: this$1.emitInputEvent.bind(this$1), parent: this$1, index: componentIndex })));\n          })));\r\n      };\n\n      return IroColorPicker;\n  }(m));\r\n  IroColorPicker.defaultProps = Object.assign({}, iroColorPickerOptionDefaults,\r\n      {colors: [],\r\n      display: 'block',\r\n      id: null,\r\n      layout: 'default',\r\n      margin: null});\r\n  var IroColorPickerWidget = createWidget(IroColorPicker);\n\n  var iro;\r\n  (function (iro) {\r\n      iro.version = \"5.5.2\"; // replaced by @rollup/plugin-replace; see rollup.config.js\r\n      iro.Color = IroColor;\r\n      iro.ColorPicker = IroColorPickerWidget;\r\n      var ui;\r\n      (function (ui) {\r\n          ui.h = h;\r\n          ui.ComponentBase = IroComponentWrapper;\r\n          ui.Handle = IroHandle;\r\n          ui.Slider = IroSlider;\r\n          ui.Wheel = IroWheel;\r\n          ui.Box = IroBox;\r\n      })(ui = iro.ui || (iro.ui = {}));\r\n  })(iro || (iro = {}));\r\n  var iro$1 = iro;\n\n  return iro$1;\n\n}));\n","/* globals iro */\n\ndefine('iro-colorpicker', [], function() {\n  'use strict';\n\n  return {\n    'default': iro\n  };\n});\n","define('@ember-data/adapter/-private', ['exports', 'require', '@ember/string', 'ember-inflector'], function (exports, require, string, emberInflector) { 'use strict';\n\n  var require__default = 'default' in require ? require['default'] : require;\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 Ember.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          ( Ember.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' ? 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('&').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\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('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  */\n  var buildUrlMixin = Ember.Mixin.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      @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 = Ember.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      url = url.join('/');\n      if (!host && url && url.charAt(0) !== '/') {\n        url = '/' + url;\n      }\n      return url;\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     @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     @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 this._super(...arguments);\n         }\n       }\n     }\n     ```\n      @method urlForQuery\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     @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     @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     @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     @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 this._super(...arguments) + '/new';\n       }\n     }\n     ```\n      @method urlForCreateRecord\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     @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 this._super(...arguments) + '/destroy';\n       }\n     }\n     ```\n      @method urlForDeleteRecord\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 = Ember.get(this, 'host');\n      var namespace = Ember.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      @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-data/store/-private\"], function (_exports, _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\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    @class AdapterError\n  */\n  function AdapterError(errors, message = 'Adapter operation failed') {\n    this.isAdapterError = true;\n    var error = Ember.Error.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 || [])) && Ember.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(Ember.Error.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    @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    @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    @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    @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    @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    @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    @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    @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-data/adapter/-private\"], function (_exports, _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    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    @module @ember-data/adapter\n    @class Adapter\n    @extends EmberObject\n  */\n  class Adapter extends Ember.Object {\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        @type {String}\n      */\n      this.defaultSerializer = '-default';\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      */\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      */\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      */\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        @type {boolean}\n      */\n      this.coalesceFindRequests = true;\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    */\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    */\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    */\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    */\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    */\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    */\n    serialize(snapshot, options) {\n      return snapshot.serialize(options);\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    */\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      @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    */\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    */\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    */\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    */\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\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    @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        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        @type {boolean}\n      */\n      this.coalesceFindRequests = false;\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    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\", \"require\", \"@ember-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/store/-private\", \"@ember-data/adapter/-private\"], function (_exports, _require, _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  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    @constructor\n    @extends Adapter\n    @uses BuildURLMixin\n  */\n  var RESTAdapter = (_dec = Ember.computed, _class = class RESTAdapter extends _adapter.default.extend(_adapter.BuildURLMixin) {\n    constructor(...args) {\n      super(...args);\n      this.defaultSerializer = '-rest';\n      this._defaultContentType = 'application/json; charset=utf-8';\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        @type {boolean}\n      */\n      this.coalesceFindRequests = false;\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      if (this._fastboot) {\n        return this._fastboot;\n      }\n      return this._fastboot = Ember.getOwner(this).lookup('service:fastboot');\n    }\n    set fastboot(value) {\n      return this._fastboot = value;\n    }\n\n    /**\n      @property useFetch\n      @type {Boolean}\n      @public\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    */\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      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      @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      @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      @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      @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      @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      @param {Store} store\n      @param {Model} type\n      @param {Object} query\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      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @return {Promise} promise\n    */\n    queryRecord(store, type, query) {\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      @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      @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      @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      @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      @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      @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 (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      @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      @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(payload.errors);\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      @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      @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      var hash = adapter.ajaxOptions(url, type, options);\n      if (this.useFetch) {\n        var _response;\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      }\n      return new Ember.RSVP.Promise(function (resolve, reject) {\n        hash.success = function (payload, textStatus, jqXHR) {\n          var response = ajaxSuccessHandler(adapter, payload, jqXHR, requestData);\n          Ember.run.join(null, resolve, response);\n        };\n        hash.error = function (jqXHR, textStatus, errorThrown) {\n          var error = ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData);\n          Ember.run.join(null, reject, error);\n        };\n        adapter._ajax(hash);\n      }, 'DS: RESTAdapter#ajax ' + type + ' to ' + url);\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      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 */ && Ember.get(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      options = Ember.assign({\n        url,\n        method,\n        type: method\n      }, options);\n      var headers = Ember.get(this, 'headers');\n      if (headers !== undefined) {\n        options.headers = Ember.assign({}, headers, options.headers);\n      } else if (!options.headers) {\n        options.headers = {};\n      }\n      var contentType = options.contentType || this._defaultContentType;\n      if (this.useFetch) {\n        if (options.data && options.type !== 'GET') {\n          if (!options.headers['Content-Type'] && !options.headers['content-type']) {\n            options.headers['content-type'] = contentType;\n          }\n        }\n        options = fetchOptions(options, 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 (options.data && options.type !== 'GET') {\n          options = Ember.assign(options, {\n            contentType\n          });\n        }\n        options = ajaxOptions(options, this);\n      }\n      options.url = this._ajaxURL(options.url);\n      return options;\n    }\n    _ajaxURL(url) {\n      if (Ember.get(this, 'fastboot.isFastBoot')) {\n        var httpRegex = /^https?:\\/\\//;\n        var protocolRelativeRegex = /^\\/\\//;\n        var protocol = Ember.get(this, 'fastboot.request.protocol');\n        var host = Ember.get(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) {\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' && 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      @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 Ember.RSVP.Promise.reject(error);\n    }\n    if (response && response.isAdapterError) {\n      return Ember.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      payload = adapter.parseErrorResponse(payload);\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 && Ember.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.textStatus,\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   * @param {Object} _options\n   * @param {Adapter} adapter\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) {\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      Object.keys(options.headers).forEach(key => xhr.setRequestHeader(key, options.headers[key]));\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 = Ember.getOwner(this) ? Ember.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) && Ember.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            }));\n          } else {\n            (true && !(false) && Ember.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            }));\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: null,\n    RECORD_DATA_STATE: null,\n    IDENTIFIERS: true,\n    REQUEST_SERVICE: null,\n    CUSTOM_MODEL_CLASS: null,\n    FULL_LINKS_ON_RELATIONSHIPS: true,\n    RECORD_ARRAY_MANAGER_IDENTIFIERS: true,\n    REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT: null\n  };\n});","define(\"@ember-data/canary-features/index\", [\"exports\", \"@ember-data/canary-features/default-features\"], function (_exports, _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  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 = Ember.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/string\", \"@ember-data/debug/setup\"], function (_exports, _string, _setup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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 = Ember.DataAdapter.extend({\n    store: Ember.inject.service('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 Ember.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      @public\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 = Ember.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        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     * @param {store} store\n     * @internal\n     * @param {Map} discoveredTypes\n     * @param {String} type\n     * @param {Function} typesAdded\n     * @param {Function} typesUpdated\n     * @param {Array} releaseMethods\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      Ember.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      @internal\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) && Ember.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: Ember.get(record, 'id')\n      };\n      record.eachAttribute(key => {\n        if (count++ > this.attributeLimit) {\n          return false;\n        }\n        columnValues[key] = Ember.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 = Ember.A(['id']);\n      record.eachAttribute(key => keys.push(key));\n      keys.forEach(key => keywords.push(Ember.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      @internal\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 = Ember.A();\n      var keysToObserve = Ember.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        Ember.addObserver(record, key, handler);\n        releaseMethods.push(function () {\n          Ember.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-data/store/-private', '@ember-data/store'], function (exports, Private, store) { 'use strict';\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) && Ember.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  function hasValue(internalModel, key) {\n    return Private.recordDataFor(internalModel).hasAttr(key);\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 Model.extend({\n      username: attr('string'),\n      email: attr('string'),\n      verified: attr('boolean', { defaultValue: false })\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 Model.extend({\n      username: attr('string'),\n      email: attr('string'),\n      settings: attr({\n        defaultValue() {\n          return {};\n        }\n      })\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 Model.extend({\n      text: attr('text', {\n        uppercase: true\n      })\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 Ember.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 attr on ${this.constructor.toString()}`);\n          }\n        }\n        var internalModel = this._internalModel;\n        if (hasValue(internalModel, key)) {\n          return internalModel.getAttributeValue(key);\n        } else {\n          return getDefaultValue(this, options, key);\n        }\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 attr on ${this.constructor.toString()}`);\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 Model.extend({\n      profile: belongsTo('profile')\n    });\n    ```\n\n    ```app/models/profile.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      user: belongsTo('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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('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 Model.extend({\n      post: belongsTo()\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 Model.extend({\n      post: belongsTo('post', {\n        async: false\n      })\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    if (typeof userEnteredModelName === 'string') {\n      userEnteredModelName = store.normalizeModelName(userEnteredModelName);\n    }\n    ( !(typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined') && Ember.assert('The first argument to belongsTo must be a string representing a model type key, not an instance of ' + Ember.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 Ember.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            ( Ember.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            ( Ember.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._internalModel.setDirtyBelongsTo(key, value);\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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('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 Model.extend({\n      tags: hasMany('tag')\n    });\n    ```\n\n    ```app/models/tag.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default Model.extend({\n      posts: hasMany('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 singularized key name.\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default Model.extend({\n      tags: hasMany()\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 Model.extend({\n      onePost: belongsTo('post'),\n      twoPost: belongsTo('post'),\n      redPost: belongsTo('post'),\n      bluePost: belongsTo('post')\n    });\n    ```\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default Model.extend({\n      comments: hasMany('comment', {\n        inverse: 'redPost'\n      })\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 Model.extend({\n      comments: hasMany('comment', {\n        async: false\n      })\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') && Ember.assert(`The first argument to hasMany must be a string representing a model type key, not an instance of ${Ember.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    if (typeof type === 'string') {\n      type = store.normalizeModelName(type);\n    }\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 Ember.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        internalModel.setDirtyHasMany(key, records);\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    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 Model.extend({\n      username: attr('string'),\n      email: attr('string')\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=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=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    @extends ArrayProxy\n    @uses Evented\n   */\n  var Errors = Ember.ArrayProxy.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: Ember.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      @param {String} attribute\n      @return {Array}\n    */\n    errorsFor(attribute) {\n      var map = Ember.get(this, 'errorsByAttributeName');\n      var errors = map.get(attribute);\n      if (errors === undefined) {\n        errors = Ember.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      Ember.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      @type {Array}\n    */\n    messages: Ember.computed.mapBy('content', 'message'),\n    /**\n      @property content\n      @type {Array}\n      @private\n    */\n    content: Ember.computed(function () {\n      return Ember.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      @readOnly\n    */\n\n    /**\n      @property isEmpty\n      @type {Boolean}\n      @readOnly\n    */\n    isEmpty: Ember.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('password');\n      // =>\n      // [\n      //   { attribute: 'username', message: 'This field is required' },\n      // ]\n     ```\n    @method add\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 = Ember.get(this, 'isEmpty');\n      this._add(attribute, messages);\n      if (wasEmpty && !Ember.get(this, 'isEmpty')) {\n        this._registeredHandlers && this._registeredHandlers.becameInvalid();\n        if ( this._has('becameInvalid')) {\n          this.trigger('becameInvalid');\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 = Ember.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     @param {string} member - the property name of an attribute or relationship\n     */\n    remove(attribute) {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n      this._remove(attribute);\n      if (Ember.get(this, 'isEmpty')) {\n        this._registeredHandlers && this._registeredHandlers.becameValid();\n        if ( this._has('becameValid')) {\n          this.trigger('becameValid');\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 (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n      var content = this.rejectBy('attribute', attribute);\n      Ember.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      Ember.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 remove\n     */\n    clear() {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n      this._clear();\n      this._registeredHandlers && this._registeredHandlers.becameValid();\n      if ( this._has('becameValid')) {\n        this.trigger('becameValid');\n      }\n    },\n    /**\n      Removes all error messages.\n      to the record.\n       @method _clear\n      @private\n    */\n    _clear() {\n      if (Ember.get(this, 'isEmpty')) {\n        return;\n      }\n      var errorsByAttributeName = Ember.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      Ember.ArrayProxy.prototype.clear.call(this);\n    },\n    /**\n      Checks if there are error messages for the given attribute.\n       ```app/routes/user/edit.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          save: function(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      ```\n       @method has\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  /**\n    @module @ember-data/model\n  */\n\n  var relationshipsDescriptor = Ember.computed(function () {\n    var map = new Map();\n    var relationshipsByName = Ember.get(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  }).readOnly();\n  var relatedTypesDescriptor = Ember.computed(function () {\n    var parentModelName = this.modelName;\n    var types = Ember.A();\n\n    // Loop through each computed property on the class,\n    // and create an array of the unique types involved\n    // in relationships\n    this.eachComputedProperty((name, meta) => {\n      if (meta.isRelationship) {\n        meta.key = name;\n        var modelName = Private.typeForRelationshipMeta(meta);\n        ( !(modelName) && Ember.assert(`You specified a hasMany (${meta.type}) on ${parentModelName} but ${meta.type} was not found.`, modelName));\n        if (!types.includes(modelName)) {\n          ( !(!!modelName) && Ember.assert(`Trying to sideload ${name} on ${this.toString()} but the type doesn't exist.`, !!modelName));\n          types.push(modelName);\n        }\n      }\n    });\n    return types;\n  }).readOnly();\n  var relationshipsObjectDescriptor = Ember.computed(function () {\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] = Private.relationshipFromMeta(meta);\n      }\n    });\n    return relationships;\n  });\n  var relationshipsByNameDescriptor = Ember.computed(function () {\n    var map = new Map();\n    var rels = Ember.get(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  }).readOnly();\n\n  var {\n    changeProperties\n  } = Ember;\n  function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n    var possibleRelationships = relationshipsSoFar || [];\n    var relationshipMap = Ember.get(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  var retrieveFromCurrentState = Ember.computed('currentState', function (key) {\n    return Ember.get(this._internalModel.currentState, key);\n  }).readOnly();\n  var isValidRecordData = Ember.computed('errors.length', function (key) {\n    return !(this.get('errors.length') > 0);\n  }).readOnly();\n  var isValid =  retrieveFromCurrentState;\n  var isDeletedCP;\n  {\n    isDeletedCP = retrieveFromCurrentState;\n  }\n  var isNewCP;\n  {\n    isNewCP = retrieveFromCurrentState;\n  }\n  var adapterError;\n  {\n    adapterError = null;\n  }\n  var isError;\n  {\n    isError = false;\n  }\n  var isReloading;\n  {\n    isReloading = false;\n  }\n\n  /**\n    @class Model\n    @module @ember-data/model\n    @extends EmberObject\n    @uses EmberData.DeprecatedEvented\n  */\n  var Model = Ember.Object.extend(Private.DeprecatedEvented, {\n    init() {\n      this._super(...arguments);\n      {\n        if (!this._internalModel) {\n          throw new Ember.Error('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');\n        }\n      }\n    },\n    _notifyNetworkChanges: function () {\n      {\n        ['isValid'].forEach(key => this.notifyPropertyChange(key));\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      @type {Boolean}\n      @readOnly\n    */\n    isEmpty: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isLoading: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isLoaded: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    hasDirtyAttributes: Ember.computed('currentState.isDirty', function () {\n      return this.get('currentState.isDirty');\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      @type {Boolean}\n      @readOnly\n    */\n    isSaving: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isDeleted: isDeletedCP,\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      @type {Boolean}\n      @readOnly\n    */\n    isNew: isNewCP,\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      @type {Boolean}\n      @readOnly\n    */\n    isValid: isValid,\n    _markInvalidRequestAsClean() {\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      @type {String}\n      @readOnly\n    */\n    dirtyType: retrieveFromCurrentState,\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      @type {Boolean}\n      @readOnly\n    */\n    isError: isError,\n    _markErrorRequestAsClean() {\n      this._errorRequests = [];\n      this._lastError = null;\n      this._notifyNetworkChanges();\n    },\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      @type {Boolean}\n      @readOnly\n    */\n    isReloading: isReloading,\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      @type {String}\n    */\n\n    /**\n      @property currentState\n      @private\n      @type {Object}\n    */\n    currentState: Private.RootState.empty,\n    // defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property _internalModel\n     @private\n     @type {Object}\n     */\n    _internalModel: null,\n    // defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property recordData\n     @private\n     @type undefined (reserved)\n     */\n    // will be defined here to avoid triggering setUnknownProperty\n\n    /**\n     @property store\n     */\n    store: null,\n    // defined here to avoid triggering setUnknownProperty\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 us useful for displaying error messages to\n      the user.\n       ```handlebars\n      <label>Username: {{input value=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=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      @type {Errors}\n    */\n    errors: Ember.computed(function () {\n      var errors = Errors.create();\n      errors._registerHandlers(() => {\n        this.send('becameInvalid');\n      }, () => {\n        this.send('becameValid');\n      });\n      return errors;\n    }).readOnly(),\n    invalidErrorsChanged(jsonApiErrors) {\n    },\n    _addErrorMessageToAttribute(attribute, message) {\n      this.get('errors')._add(attribute, message);\n    },\n    _clearErrorMessages() {\n      this.get('errors')._clear();\n    },\n    /**\n      This property holds the `AdapterError` object with which\n      last adapter operation was rejected.\n       @property adapterError\n      @type {AdapterError}\n    */\n    adapterError: adapterError,\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      @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      Fired when the record is ready to be interacted with,\n      that is either loaded from the server or created locally.\n       @event ready\n    */\n    ready: null,\n    /**\n      Fired when the record is loaded from the server.\n       @event didLoad\n    */\n    didLoad: null,\n    /**\n      Fired when the record is updated.\n       @event didUpdate\n    */\n    didUpdate: null,\n    /**\n      Fired when a new record is commited to the server.\n       @event didCreate\n    */\n    didCreate: null,\n    /**\n      Fired when the record is deleted.\n       @event didDelete\n    */\n    didDelete: null,\n    /**\n      Fired when the record becomes invalid.\n       @event becameInvalid\n    */\n    becameInvalid: null,\n    /**\n      Fired when the record enters the error state.\n       @event becameError\n    */\n    becameError: null,\n    /**\n      Fired when the record is rolled back.\n       @event rolledBack\n    */\n    rolledBack: null,\n    //TODO Do we want to deprecate these?\n    /**\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      @method transitionTo\n      @private\n      @param {String} name\n    */\n    transitionTo(name) {\n      return this._internalModel.transitionTo(name);\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/routes/model/delete.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          softDelete() {\n            this.get('controller.model').deleteRecord();\n          },\n          confirm() {\n            this.get('controller.model').save();\n          },\n          undo() {\n            this.get('controller.model').rollbackAttributes();\n          }\n        }\n      });\n      ```\n       @method deleteRecord\n    */\n    deleteRecord() {\n      this._internalModel.deleteRecord();\n    },\n    /**\n      Same as `deleteRecord`, but saves the record immediately.\n       Example\n       ```app/routes/model/delete.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          delete() {\n            this.get('controller.model').destroyRecord().then(function() {\n              controller.transitionToRoute('model.index');\n            });\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 MyCustomAdapter.extend({\n        deleteRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       @method destroyRecord\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);\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    */\n    unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n      this._internalModel.unloadRecord();\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      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 Model.extend({\n        name: attr('string'),\n        isAdmin: attr('boolean', {\n          defaultValue: false\n        })\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      @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      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    */\n    rollbackAttributes() {\n      this._internalModel.rollbackAttributes();\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      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 MyCustomAdapter.extend({\n        updateRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      });\n      ```\n       @method save\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      Reload the record from the adapter.\n       This will only work if the record has already finished loading.\n       Example\n       ```app/routes/model/view.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          reload() {\n            this.controller.get('model').reload().then(function(model) {\n              // do something with the reloaded model\n            });\n          }\n        }\n      });\n      ```\n       @method reload\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      return Private.PromiseObject.create({\n        promise: this._internalModel.reload(wrappedAdapterOptions).then(() => this)\n      });\n    },\n    attr() {\n      ( Ember.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      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 Model.extend({\n        user: belongsTo({ async: true })\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      @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      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 Model.extend({\n        comments: hasMany({ async: true })\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      @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     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    _debugInfo() {\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    notifyBelongsToChange(key) {\n      this.notifyPropertyChange(key);\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 JSONSerializer.extend({\n      serialize: function(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     @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 Ember.get(this.constructor, 'relationshipsByName').get(name);\n    },\n    inverseFor(key) {\n      return this.constructor.inverseFor(key, this._internalModel.store);\n    },\n    notifyHasManyAdded(key) {\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      this.notifyPropertyChange(key);\n    },\n    eachAttribute(callback, binding) {\n      this.constructor.eachAttribute(callback, binding);\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({\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      @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        ( Ember.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        }));\n        var serializer = this._internalModel.store.serializerFor('-default');\n        var snapshot = this._internalModel.createSnapshot();\n        return serializer.serialize(snapshot, options);\n      }\n    });\n  }\n  var ID_DESCRIPTOR = {\n    configurable: false,\n    set(id) {\n      var normalizedId = Private.coerceId(id);\n      if (normalizedId !== null) {\n        this._internalModel.setId(normalizedId);\n      }\n    },\n    get() {\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;\n        }\n      }\n      Ember.get(this._internalModel, '_tag');\n      return this._internalModel.id;\n    }\n  };\n  Object.defineProperty(Model.prototype, 'id', ID_DESCRIPTOR);\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        if (!isDefaultEmptyDescriptor(this, 'currentState') || this.get('currentState') !== this._internalModel.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 idDesc = lookupDescriptor(this, 'id');\n        if (idDesc.get !== ID_DESCRIPTOR.get) {\n          throw new Ember.Error(`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              ( Ember.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              }));\n              lifecycleDeprecations.add(methodName);\n            }\n          });\n        }\n      }\n    });\n  }\n  Model.reopenClass({\n    isModel: true,\n    /**\n      Create should only ever be called by the store. To create an instance of a\n      `Model` in a dirty state use `store.createRecord`.\n      To create instances of `Model` in a clean state, use `store.push`\n       @method create\n      @private\n      @static\n    */\n\n    /**\n     Represents the model's class name as a string. This can be used to look up the model's class name through\n     `Store`'s modelFor method.\n      `modelName` is generated for you by Ember Data. It will be a lowercased, dasherized string.\n     For example:\n      ```javascript\n     store.modelFor('post').modelName; // 'post'\n     store.modelFor('blog-post').modelName; // 'blog-post'\n     ```\n      The most common place you'll want to access `modelName` is in your serializer's `payloadKeyFromModelName` method. For example, to change payload\n     keys to underscore (instead of dasherized), you might use the following code:\n      ```javascript\n     import RESTSerializer from '@ember-data/serializer/rest';\n     import { underscore } from '@ember/string';\n      export default const PostSerializer = RESTSerializer.extend({\n       payloadKeyFromModelName(modelName) {\n         return underscore(modelName);\n       }\n     });\n     ```\n     @property modelName\n     @type String\n     @readonly\n     @static\n    */\n    modelName: null,\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 Model.extend({\n        comments: hasMany('comment')\n      });\n     ```\n      Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n      @method typeForRelationship\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    typeForRelationship(name, store) {\n      var relationship = Ember.get(this, 'relationshipsByName').get(name);\n      return relationship && store.modelFor(relationship.type);\n    },\n    inverseMap: Ember.computed(function () {\n      return Object.create(null);\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 Model.extend({\n        comments: hasMany('message')\n      });\n     ```\n      ```app/models/message.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default Model.extend({\n        owner: belongsTo('post')\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     @static\n     @param {String} name the name of the relationship\n     @param {Store} store\n     @return {Object} the inverse relationship, or null\n     */\n    inverseFor(name, store) {\n      var inverseMap = Ember.get(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    //Calculate the inverse, ignoring the cache\n    _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 = Ember.get(inverseType, 'relationshipsByName').get(inverseName);\n        ( !(!Ember.isNone(inverse)) && Ember.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.\", !Ember.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          ( Ember.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) && Ember.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) && Ember.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) && Ember.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     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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n        posts: hasMany('post')\n      });\n     ```\n      This computed property would return a map describing these\n     relationships, like this:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n     import User from 'app/models/user';\n     import Post from 'app/models/post';\n      let relationships = Ember.get(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     @static\n     @type Map\n     @readOnly\n     */\n\n    relationships: relationshipsDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relationshipNames = Ember.get(Blog, 'relationshipNames');\n     relationshipNames.hasMany;\n     //=> ['users', 'posts']\n     relationshipNames.belongsTo;\n     //=> ['owner']\n     ```\n      @property relationshipNames\n     @static\n     @type Object\n     @readOnly\n     */\n    relationshipNames: Ember.computed(function () {\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     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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relatedTypes = Ember.get(Blog, 'relatedTypes');\n     //=> [ User, Post ]\n     ```\n      @property relatedTypes\n     @static\n     @type Ember.Array\n     @readOnly\n     */\n    relatedTypes: relatedTypesDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post')\n      });\n     ```\n      This property would contain the following:\n      ```javascript\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let relationshipsByName = Ember.get(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     @static\n     @type Map\n     @readOnly\n     */\n    relationshipsByName: relationshipsByNameDescriptor,\n    relationshipsObject: relationshipsObjectDescriptor,\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 Model.extend({\n        users: hasMany('user'),\n        owner: belongsTo('user'),\n         posts: hasMany('post'),\n         title: attr('string')\n      });\n     ```\n      ```js\n     import Ember from 'ember';\n     import Blog from 'app/models/blog';\n      let fields = Ember.get(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     @static\n     @type Map\n     @readOnly\n     */\n    fields: Ember.computed(function () {\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    }).readOnly(),\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     @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    eachRelationship(callback, binding) {\n      Ember.get(this, 'relationshipsByName').forEach((relationship, name) => {\n        callback.call(binding, name, relationship);\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     @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    eachRelatedType(callback, binding) {\n      var relationshipTypes = Ember.get(this, 'relatedTypes');\n      for (var i = 0; i < relationshipTypes.length; i++) {\n        var type = relationshipTypes[i];\n        callback.call(binding, type);\n      }\n    },\n    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     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 Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n     ```\n      ```javascript\n     import Ember from 'ember';\n     import Person from 'app/models/person';\n      let attributes = Ember.get(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     @static\n     @type {Map}\n     @readOnly\n     */\n    attributes: Ember.computed(function () {\n      var map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isAttribute) {\n          ( !(name !== 'id') && Ember.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    }).readOnly(),\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 Model.extend({\n        firstName: attr(),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n     ```\n      ```javascript\n     import Ember from 'ember';\n     import Person from 'app/models/person';\n      let transformedAttributes = Ember.get(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     @static\n     @type {Map}\n     @readOnly\n     */\n    transformedAttributes: Ember.computed(function () {\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    }).readOnly(),\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      let Person = Model.extend({\n        firstName: attr('string'),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n      Person.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     @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    eachAttribute(callback, binding) {\n      Ember.get(this, 'attributes').forEach((meta, name) => {\n        callback.call(binding, name, meta);\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     @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    eachTransformedAttribute(callback, binding) {\n      Ember.get(this, 'transformedAttributes').forEach((type, name) => {\n        callback.call(binding, name, type);\n      });\n    },\n    /**\n     Returns the name of the model class.\n      @method toString\n     @static\n     */\n    toString() {\n      return `model:${Ember.get(this, 'modelName')}`;\n    }\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    ### 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 Model.extend({\n      comments: hasMany('comment')\n    });\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default Model.extend({\n      post: belongsTo('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    @extends EmberObject\n    @uses Ember.MutableArray, DeprecatedEvented\n  */\n  var manyArray = Ember.Object.extend(Ember.MutableArray, Private.DeprecatedEvented, {\n    // here to make TS happy\n    _inverseIsAsync: false,\n    isLoaded: false,\n    init() {\n      this._super(...arguments);\n\n      /**\n      The loading state of this array\n       @property {Boolean} isLoaded\n      */\n      this.isLoaded = this.isLoaded || false;\n\n      // async has-many rendering tests\n      this._length = 0;\n\n      /**\n      Used for async `hasMany` arrays\n      to keep track of when they will resolve.\n       @property {Ember.RSVP.Promise} promise\n      @private\n      */\n      this.promise = null;\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 metadata via the `meta` property:\n       ```js\n      post.get('comments').then(function(comments) {\n        var meta = comments.get('meta');\n       // meta.page => 1\n      // meta.total => 5\n      });\n      ```\n       @property {Object} meta\n      @public\n      */\n      // TODO this is likely broken in our refactor\n      this.meta = this.meta || 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.flushCanonical(this.initialState, false);\n      // we don't need this anymore, it just prevents garbage collection the records in the initialState\n      this.initialState = undefined;\n    },\n    // TODO: if(DEBUG)\n    anyUnloaded() {\n      // Use `filter[0]` as opposed to `find` because of IE11\n      var unloaded = this.currentState.filter(im => im._isDematerializing || !im.isLoaded())[0];\n      return !!unloaded;\n    },\n    removeUnloadedInternalModel() {\n      for (var i = 0; i < this.currentState.length; ++i) {\n        var internalModel = this.currentState[i];\n        var shouldRemove = void 0;\n        {\n          shouldRemove = internalModel._isDematerializing || !internalModel.isLoaded();\n        }\n        if (shouldRemove) {\n          this.arrayContentWillChange(i, 1, 0);\n          this.currentState.splice(i, 1);\n          this.set('length', this.currentState.length);\n          this.arrayContentDidChange(i, 1, 0);\n          return true;\n        }\n      }\n      return false;\n    },\n    get length() {\n      // By using `get()`, the tracking system knows to pay attention to changes that occur.\n      Ember.get(this, '[]');\n      return this._length;\n    },\n    set length(value) {\n      return this._length = value;\n    },\n    objectAt(index) {\n      // TODO we likely need to force flush here\n      /*\n      if (this.relationship._willUpdateManyArray) {\n        this.relationship._flushPendingManyArrayUpdates();\n      }\n      */\n      var internalModel = this.currentState[index];\n      if (internalModel === undefined) {\n        return;\n      }\n      return internalModel.getRecord();\n    },\n    flushCanonical(toSet, isInitialized = true) {\n      // It’s possible the parent side of the relationship may have been unloaded by this point\n      if (!Private._objectIsAlive(this)) {\n        return;\n      }\n      // diff to find changes\n      var diff = Private.diffArray(this.currentState, toSet);\n      if (diff.firstChangeIndex !== null) {\n        // it's null if no change found\n        // we found a change\n        this.arrayContentWillChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n        this.set('length', toSet.length);\n        this.currentState = toSet.slice();\n        this.arrayContentDidChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n        if (isInitialized && diff.addedCount > 0) {\n          //notify only on additions\n          //TODO only notify if unloaded\n          this.internalModel.manyArrayRecordAdded(this.get('key'));\n        }\n      }\n    },\n    replace(idx, amt, objects) {\n      var internalModels;\n      if (amt > 0) {\n        internalModels = this.currentState.slice(idx, idx + amt);\n        this.get('recordData').removeFromHasMany(this.get('key'), internalModels.map(im => Private.recordDataFor(im)));\n      }\n      if (objects) {\n        ( !(Array.isArray(objects) || Ember.Array.detect(objects)) && Ember.assert('The third argument to replace needs to be an array.', Array.isArray(objects) || Ember.Array.detect(objects)));\n        this.get('recordData').addToHasMany(this.get('key'), objects.map(obj => Private.recordDataFor(obj)), idx);\n      }\n      this.retrieveLatest();\n    },\n    // Ok this is kinda funky because if buggy we might lose positions, etc.\n    // but current code is this way so shouldn't be too big of a problem\n    retrieveLatest() {\n      var jsonApi = this.get('recordData').getHasMany(this.get('key'));\n      // TODO this is odd, why should ManyArray ever tell itself to resync?\n      var internalModels = this.store._getHasManyByJsonApiResource(jsonApi);\n      if (jsonApi.meta) {\n        this.set('meta', jsonApi.meta);\n      }\n      {\n        if (jsonApi.links) {\n          this.set('links', jsonApi.links);\n        }\n      }\n      this.flushCanonical(internalModels, true);\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      var user = store.peekRecord('user', 1)\n      user.login().then(function() {\n        user.get('permissions').then(function(permissions) {\n          return permissions.reload();\n        });\n      });\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.get('store').reloadManyArray(this, this.get('internalModel'), this.get('key'), options);\n    },\n    /**\n      Saves all of the records in the `ManyArray`.\n       Example\n       ```javascript\n      store.findRecord('inbox', 1).then(function(inbox) {\n        inbox.get('messages').then(function(messages) {\n          messages.forEach(function(message) {\n            message.set('isRead', true);\n          });\n          messages.save()\n        });\n      });\n      ```\n       @method save\n      @return {PromiseArray} promise\n    */\n    save() {\n      var manyArray = this;\n      var promiseLabel = 'DS: ManyArray#save ' + Ember.get(this, 'type');\n      var promise = Ember.RSVP.all(this.invoke('save'), promiseLabel).then(() => manyArray, null, 'DS: ManyArray#save return ManyArray');\n      return Private.PromiseArray.create({\n        promise\n      });\n    },\n    /**\n      Create a child record within the owner\n       @method createRecord\n      @private\n      @param {Object} hash\n      @return {Model} record\n    */\n    createRecord(hash) {\n      var store = Ember.get(this, 'store');\n      var type = Ember.get(this, 'type');\n      ( !(!Ember.get(this, 'isPolymorphic')) && Ember.assert(`You cannot add '${type.modelName}' records to this polymorphic relationship.`, !Ember.get(this, 'isPolymorphic')));\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: Ember.computed(function () {\n      ( Ember.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) && Ember.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  /**\n   @module @ember-data/model\n   */\n\n  /**\n    A PromiseManyArray is a PromiseArray that also proxies certain method calls\n    to the underlying manyArray.\n    Right now we proxy:\n\n      * `reload()`\n      * `createRecord()`\n      * `on()`\n      * `one()`\n      * `trigger()`\n      * `off()`\n      * `has()`\n\n    @class PromiseManyArray\n    @extends Ember.ArrayProxy\n    @private\n  */\n  var PromiseManyArray = Private.PromiseArray.extend({\n    links:  Ember.computed.reads('content.links') ,\n    reload(options) {\n      ( !(Ember.get(this, 'content')) && Ember.assert('You are trying to reload an async manyArray before it has been created', Ember.get(this, 'content')));\n      this.set('promise', this.get('content').reload(options));\n      return this;\n    },\n    createRecord: proxyToContent('createRecord'),\n    on: proxyToContent('on'),\n    one: proxyToContent('one'),\n    trigger: proxyToContent('trigger'),\n    off: proxyToContent('off'),\n    has: proxyToContent('has')\n  });\n  function proxyToContent(method) {\n    return function () {\n      return Ember.get(this, 'content')[method](...arguments);\n    };\n  }\n\n  /*\n      In case someone defined a relationship to a mixin, for example:\n      ```\n        let Comment = Model.extend({\n          owner: belongsTo('commentable'. { polymorphic: true })\n        });\n        let Commentable = Ember.Mixin.create({\n          comments: hasMany('comment')\n        });\n      ```\n      we want to look up a Commentable class which has all the necessary\n      relationship metadata. 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 = Ember.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.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 abvoe `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-data/store/-private', '@ember-data/store/-debug', '@ember/ordered-set'], function (exports, Private, Debug, EmberOrderedSet) { 'use strict';\n\n  EmberOrderedSet = EmberOrderedSet && Object.prototype.hasOwnProperty.call(EmberOrderedSet, 'default') ? EmberOrderedSet['default'] : EmberOrderedSet;\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  /*\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    @method _normalizeLink\n    @internal\n    @param {String} link\n    @return {Object|null}\n  */\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    return null;\n  }\n\n  class EmberDataOrderedSet extends EmberOrderedSet {\n    static create() {\n      return new this();\n    }\n    addWithIndex(obj, idx) {\n      var guid = Ember.guidFor(obj);\n      var presenceSet = this.presenceSet;\n      var list = this.list;\n      if (presenceSet[guid] === true) {\n        return;\n      }\n      presenceSet[guid] = true;\n      if (idx === undefined || idx === null) {\n        list.push(obj);\n      } else {\n        list.splice(idx, 0, obj);\n      }\n      this.size += 1;\n      return this;\n    }\n    deleteWithIndex(obj, idx) {\n      var guid = Ember.guidFor(obj);\n      var presenceSet = this.presenceSet;\n      var list = this.list;\n      if (presenceSet[guid] === true) {\n        delete presenceSet[guid];\n        ( !(idx === undefined || list[idx] === obj) && Ember.assert('object is not present at specified index', idx === undefined || list[idx] === obj));\n        var index = idx !== undefined ? idx : list.indexOf(obj);\n        if (index > -1) {\n          list.splice(index, 1);\n        }\n        this.size = list.length;\n        return true;\n      } else {\n        return false;\n      }\n    }\n  }\n\n  function relationshipsFor(instance) {\n    var recordData = Private.recordDataFor(instance) || instance;\n    return recordData._relationships;\n  }\n  function relationshipStateFor(instance, propertyName) {\n    return relationshipsFor(instance).get(propertyName);\n  }\n  function implicitRelationshipsFor(instance) {\n    var recordData = Private.recordDataFor(instance) || instance;\n    return recordData._implicitRelationships;\n  }\n  function implicitRelationshipStateFor(instance, propertyName) {\n    return implicitRelationshipsFor(instance)[propertyName];\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  class Relationship {\n    constructor(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      this.inverseIsAsync = void 0;\n      this.kind = void 0;\n      this.recordData = void 0;\n      this.members = void 0;\n      this.canonicalMembers = void 0;\n      this.store = void 0;\n      this.key = void 0;\n      this.inverseKey = void 0;\n      this.isAsync = void 0;\n      this.isPolymorphic = void 0;\n      this.relationshipMeta = void 0;\n      this.inverseKeyForImplicit = void 0;\n      this.meta = void 0;\n      this.__inverseMeta = void 0;\n      this._tempModelName = void 0;\n      this.shouldForceReload = false;\n      this.relationshipIsStale = void 0;\n      this.hasDematerializedInverse = void 0;\n      this.hasAnyRelationshipData = void 0;\n      this.relationshipIsEmpty = void 0;\n      this.hasFailedLoadAttempt = false;\n      this.links = void 0;\n      this.willSync = void 0;\n      this.inverseIsAsync = inverseIsAsync;\n      this.kind = relationshipMeta.kind;\n      var async = relationshipMeta.options.async;\n      var polymorphic = relationshipMeta.options.polymorphic;\n      this.recordData = recordData;\n      this.members = new EmberDataOrderedSet();\n      this.canonicalMembers = new EmberDataOrderedSet();\n      this.store = store;\n      this.key = relationshipMeta.key || null;\n      this.inverseKey = inverseKey;\n      this.isAsync = typeof async === 'undefined' ? true : async;\n      this.isPolymorphic = typeof polymorphic === 'undefined' ? false : polymorphic;\n      this.relationshipMeta = relationshipMeta;\n      //This probably breaks for polymorphic relationship in complex scenarios, due to\n      //multiple possible modelNames\n      this.inverseKeyForImplicit = this._tempModelName + this.key;\n      this.meta = null;\n      this.__inverseMeta = undefined;\n\n      /*\n       This flag forces fetch. `true` for a single request once `reload()`\n         has been called `false` at all other times.\n      */\n      // this.shouldForceReload = false;\n\n      /*\n         This flag indicates whether we should\n          re-fetch the relationship the next time\n          it is accessed.\n           The difference between this flag and `shouldForceReload`\n          is in how we treat the presence of partially missing data:\n            - for a forced reload, we will reload the link or EVERY record\n            - for a stale reload, we will reload the link (if present) else only MISSING records\n           Ideally these flags could be merged, but because we don't give the\n          request layer the option of deciding how to resolve the data being queried\n          we are forced to differentiate for now.\n           It is also possible for a relationship to remain stale after a forced reload; however,\n          in this case `hasFailedLoadAttempt` ought to be `true`.\n         false when\n          => recordData.isNew() on initial setup\n          => a previously triggered request has resolved\n          => we get relationship data via push\n         true when\n          => !recordData.isNew() on initial setup\n          => an inverse has been unloaded\n          => we get a new link for the relationship\n         TODO @runspired unskip the acceptance tests and fix these flags\n       */\n      this.relationshipIsStale = false;\n\n      /*\n       This flag indicates whether we should\n        **partially** re-fetch the relationship the\n        next time it is accessed.\n       false when\n        => initial setup\n        => a previously triggered request has resolved\n       true when\n        => an inverse has been unloaded\n      */\n      this.hasDematerializedInverse = false;\n\n      /*\n        This flag indicates whether we should consider the content\n         of this relationship \"known\".\n         If we have no relationship knowledge, and the relationship\n         is `async`, we will attempt to fetch the relationship on\n         access if it is also stale.\n        Snapshot uses this to tell the difference between unknown\n        (`undefined`) or empty (`null`). The reason for this is that\n        we wouldn't want to serialize  unknown relationships as `null`\n        as that might overwrite remote state.\n         All relationships for a newly created (`store.createRecord()`) are\n         considered known (`hasAnyRelationshipData === true`).\n         true when\n          => we receive a push with either new data or explicit empty (`[]` or `null`)\n          => the relationship is a belongsTo and we have received data from\n               the other side.\n         false when\n          => we have received no signal about what data belongs in this relationship\n          => the relationship is a hasMany and we have only received data from\n              the other side.\n       */\n      this.hasAnyRelationshipData = false;\n\n      /*\n        Flag that indicates whether an empty relationship is explicitly empty\n          (signaled by push giving us an empty array or null relationship)\n          e.g. an API response has told us that this relationship is empty.\n         Thus far, it does not appear that we actually need this flag; however,\n          @runspired has found it invaluable when debugging relationship tests\n          to determine whether (and why if so) we are in an incorrect state.\n         true when\n          => we receive a push with explicit empty (`[]` or `null`)\n          => we have received no signal about what data belongs in this relationship\n          => on initial create (as no signal is known yet)\n         false at all other times\n       */\n      this.relationshipIsEmpty = true;\n\n      /*\n        Flag def here for reference, defined as getter in has-many.js / belongs-to.js\n         true when\n          => hasAnyRelationshipData is true\n          AND\n          => members (NOT canonicalMembers) @each !isEmpty\n         TODO, consider changing the conditional here from !isEmpty to !hiddenFromRecordArrays\n      */\n\n      // TODO do we want this anymore? Seems somewhat useful\n      //   especially if we rename to `hasUpdatedLink`\n      //   which would tell us slightly more about why the\n      //   relationship is stale\n      // this.updatedLink = false;\n    }\n    get isNew() {\n      return this.recordData.isNew();\n    }\n    _inverseIsAsync() {\n      return !!this.inverseIsAsync;\n    }\n    _inverseIsSync() {\n      return !!(this.inverseKey && !this.inverseIsAsync);\n    }\n    _hasSupportForImplicitRelationships(recordData) {\n      return recordData._implicitRelationships !== undefined && recordData._implicitRelationships !== null;\n    }\n    _hasSupportForRelationships(recordData) {\n      return recordData._relationships !== undefined && recordData._relationships !== null;\n    }\n    get _inverseMeta() {\n      if (this.__inverseMeta === undefined) {\n        var inverseMeta = null;\n        if (this.inverseKey) {\n          // We know we have a full inverse relationship\n          var type = this.relationshipMeta.type;\n          var inverseModelClass = this.store.modelFor(type);\n          var inverseRelationships = Ember.get(inverseModelClass, 'relationshipsByName');\n          inverseMeta = inverseRelationships.get(this.inverseKey);\n        }\n        this.__inverseMeta = inverseMeta;\n      }\n      return this.__inverseMeta;\n    }\n    recordDataDidDematerialize() {\n      var inverseKey = this.inverseKey;\n      if (!inverseKey) {\n        return;\n      }\n\n      // we actually want a union of members and canonicalMembers\n      // they should be disjoint but currently are not due to a bug\n      this.forAllMembers(inverseRecordData => {\n        if (!this._hasSupportForRelationships(inverseRecordData)) {\n          return;\n        }\n        var relationship = relationshipStateFor(inverseRecordData, inverseKey);\n        var belongsToRelationship = inverseRecordData.getBelongsTo(inverseKey)._relationship;\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 (!belongsToRelationship || !belongsToRelationship.inverseRecordData || this.recordData === belongsToRelationship.inverseRecordData) {\n          relationship.inverseDidDematerialize(this.recordData);\n        }\n      });\n    }\n    forAllMembers(callback) {\n      var seen = Object.create(null);\n      for (var i = 0; i < this.members.list.length; i++) {\n        var inverseInternalModel = this.members.list[i];\n        var id = Ember.guidFor(inverseInternalModel);\n        if (!seen[id]) {\n          seen[id] = true;\n          callback(inverseInternalModel);\n        }\n      }\n      for (var _i = 0; _i < this.canonicalMembers.list.length; _i++) {\n        var _inverseInternalModel = this.canonicalMembers.list[_i];\n        var _id = Ember.guidFor(_inverseInternalModel);\n        if (!seen[_id]) {\n          seen[_id] = true;\n          callback(_inverseInternalModel);\n        }\n      }\n    }\n    inverseDidDematerialize(inverseRecordData) {\n      if (!this.isAsync || inverseRecordData && inverseRecordData.isNew()) {\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.removeRecordDataFromOwn(inverseRecordData);\n        this.removeCanonicalRecordDataFromOwn(inverseRecordData);\n        this.setRelationshipIsEmpty(true);\n      } else {\n        this.setHasDematerializedInverse(true);\n      }\n    }\n    updateMeta(meta) {\n      this.meta = meta;\n    }\n    clear() {\n      var members = this.members.list;\n      while (members.length > 0) {\n        var member = members[0];\n        this.removeRecordData(member);\n      }\n      var canonicalMembers = this.canonicalMembers.list;\n      while (canonicalMembers.length > 0) {\n        var _member = canonicalMembers[0];\n        this.removeCanonicalRecordData(_member);\n      }\n    }\n    removeAllRecordDatasFromOwn() {\n      this.setRelationshipIsStale(true);\n      this.members.clear();\n    }\n    removeAllCanonicalRecordDatasFromOwn() {\n      this.canonicalMembers.clear();\n      this.flushCanonicalLater();\n    }\n    removeRecordDatas(recordDatas) {\n      recordDatas.forEach(recordData => this.removeRecordData(recordData));\n    }\n    addRecordDatas(recordDatas, idx) {\n      recordDatas.forEach(recordData => {\n        this.addRecordData(recordData, idx);\n        if (idx !== undefined) {\n          idx++;\n        }\n      });\n    }\n    addCanonicalRecordData(recordData, idx) {\n      if (!this.canonicalMembers.has(recordData)) {\n        this.canonicalMembers.add(recordData);\n        this.setupInverseRelationship(recordData);\n      }\n      this.flushCanonicalLater();\n      this.setHasAnyRelationshipData(true);\n    }\n    setupInverseRelationship(recordData) {\n      if (this.inverseKey) {\n        if (!this._hasSupportForRelationships(recordData)) {\n          return;\n        }\n        var relationship = relationshipStateFor(recordData, this.inverseKey);\n        // if we have only just initialized the inverse relationship, then it\n        // already has this.recordData in its canonicalMembers, so skip the\n        // unnecessary work.  The exception to this is polymorphic\n        // relationships whose members are determined by their inverse, as those\n        // relationships cannot efficiently find their inverse payloads.\n        relationship.addCanonicalRecordData(this.recordData);\n      } else {\n        if (!this._hasSupportForImplicitRelationships(recordData)) {\n          return;\n        }\n        var relationships = recordData._implicitRelationships;\n        var _relationship = relationships[this.inverseKeyForImplicit];\n        if (!_relationship) {\n          _relationship = relationships[this.inverseKeyForImplicit] = new Relationship(this.store, this.key, {\n            options: {\n              async: this.isAsync\n            }\n          }, recordData);\n        }\n        _relationship.addCanonicalRecordData(this.recordData);\n      }\n    }\n    removeCanonicalRecordDatas(recordDatas, idx) {\n      for (var i = 0; i < recordDatas.length; i++) {\n        if (idx !== undefined) {\n          this.removeCanonicalRecordData(recordDatas[i], i + idx);\n        } else {\n          this.removeCanonicalRecordData(recordDatas[i]);\n        }\n      }\n    }\n    removeCanonicalRecordData(recordData, idx) {\n      if (this.canonicalMembers.has(recordData)) {\n        this.removeCanonicalRecordDataFromOwn(recordData, idx);\n        if (this.inverseKey) {\n          this.removeCanonicalRecordDataFromInverse(recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData) && recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n            recordData._implicitRelationships[this.inverseKeyForImplicit].removeCanonicalRecordData(this.recordData);\n          }\n        }\n      }\n      this.flushCanonicalLater();\n    }\n    addRecordData(recordData, idx) {\n      if (!this.members.has(recordData)) {\n        this.members.addWithIndex(recordData, idx);\n        this.notifyRecordRelationshipAdded(recordData, idx);\n        if (this._hasSupportForRelationships(recordData) && this.inverseKey) {\n          relationshipStateFor(recordData, this.inverseKey).addRecordData(this.recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData)) {\n            if (!recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n              recordData._implicitRelationships[this.inverseKeyForImplicit] = new Relationship(this.store, this.key, {\n                options: {\n                  async: this.isAsync\n                }\n              }, recordData, this.isAsync);\n            }\n            recordData._implicitRelationships[this.inverseKeyForImplicit].addRecordData(this.recordData);\n          }\n        }\n      }\n      this.setHasAnyRelationshipData(true);\n    }\n    removeRecordData(recordData) {\n      if (this.members.has(recordData)) {\n        this.removeRecordDataFromOwn(recordData);\n        if (this.inverseKey) {\n          this.removeRecordDataFromInverse(recordData);\n        } else {\n          if (this._hasSupportForImplicitRelationships(recordData) && recordData._implicitRelationships[this.inverseKeyForImplicit]) {\n            recordData._implicitRelationships[this.inverseKeyForImplicit].removeRecordData(this.recordData);\n          }\n        }\n      }\n    }\n    removeRecordDataFromInverse(recordData) {\n      if (!this._hasSupportForRelationships(recordData)) {\n        return;\n      }\n      if (this.inverseKey) {\n        var inverseRelationship = relationshipStateFor(recordData, this.inverseKey);\n        //Need to check for existence, as the record might unloading at the moment\n        if (inverseRelationship) {\n          inverseRelationship.removeRecordDataFromOwn(this.recordData);\n        }\n      }\n    }\n    removeRecordDataFromOwn(recordData, idx) {\n      this.members.delete(recordData);\n    }\n    removeCanonicalRecordDataFromInverse(recordData) {\n      if (!this._hasSupportForRelationships(recordData)) {\n        return;\n      }\n      if (this.inverseKey) {\n        var inverseRelationship = relationshipStateFor(recordData, this.inverseKey);\n        //Need to check for existence, as the record might unloading at the moment\n        if (inverseRelationship) {\n          inverseRelationship.removeCanonicalRecordDataFromOwn(this.recordData);\n        }\n      }\n    }\n    removeCanonicalRecordDataFromOwn(recordData, idx) {\n      this.canonicalMembers.deleteWithIndex(recordData, idx);\n      this.flushCanonicalLater();\n    }\n\n    /*\n      Call this method once a record deletion has been persisted\n      to purge it from BOTH current and canonical state of all\n      relationships.\n       @method removeCompletelyFromInverse\n      @private\n     */\n    removeCompletelyFromInverse() {\n      if (!this.inverseKey && !this.inverseKeyForImplicit) {\n        return;\n      }\n\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 recordData = this.recordData;\n      var unload;\n      if (this.inverseKey) {\n        unload = inverseRecordData => {\n          var id = Ember.guidFor(inverseRecordData);\n          if (this._hasSupportForRelationships(inverseRecordData) && seen[id] === undefined) {\n            if (this.inverseKey) {\n              var relationship = relationshipStateFor(inverseRecordData, this.inverseKey);\n              relationship.removeCompletelyFromOwn(recordData);\n            }\n            seen[id] = true;\n          }\n        };\n      } else {\n        unload = inverseRecordData => {\n          var id = Ember.guidFor(inverseRecordData);\n          if (this._hasSupportForImplicitRelationships(inverseRecordData) && seen[id] === undefined) {\n            var relationship = implicitRelationshipStateFor(inverseRecordData, this.inverseKeyForImplicit);\n            relationship.removeCompletelyFromOwn(recordData);\n            seen[id] = true;\n          }\n        };\n      }\n      this.members.forEach(unload);\n      this.canonicalMembers.forEach(unload);\n      if (!this.isAsync) {\n        this.clear();\n      }\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    }\n    flushCanonical() {\n      var list = this.members.list;\n      this.willSync = false;\n      //a hack for not removing new RecordDatas\n      //TODO remove once we have proper diffing\n      var newRecordDatas = [];\n      for (var i = 0; i < list.length; i++) {\n        // TODO Igor deal with this\n        if (list[i].isNew()) {\n          newRecordDatas.push(list[i]);\n        }\n      }\n\n      //TODO(Igor) make this less abysmally slow\n      this.members = this.canonicalMembers.copy();\n      for (var _i2 = 0; _i2 < newRecordDatas.length; _i2++) {\n        this.members.add(newRecordDatas[_i2]);\n      }\n    }\n    flushCanonicalLater() {\n      if (this.willSync) {\n        return;\n      }\n      this.willSync = true;\n      // Reaching back into the store to use ED's runloop\n      this.store._updateRelationshipState(this);\n    }\n    updateLinks(links) {\n      this.links = links;\n    }\n    updateRecordDatasFromAdapter(recordDatas) {\n      this.setHasAnyRelationshipData(true);\n      //TODO(Igor) move this to a proper place\n      //TODO Once we have adapter support, we need to handle updated and canonical changes\n      this.computeChanges(recordDatas);\n    }\n    computeChanges(recordDatas) {}\n    notifyRecordRelationshipAdded(recordData, idxs) {}\n    setHasAnyRelationshipData(value) {\n      this.hasAnyRelationshipData = value;\n    }\n    setHasDematerializedInverse(value) {\n      this.hasDematerializedInverse = value;\n    }\n    setRelationshipIsStale(value) {\n      this.relationshipIsStale = value;\n    }\n    setRelationshipIsEmpty(value) {\n      this.relationshipIsEmpty = value;\n    }\n    setShouldForceReload(value) {\n      this.shouldForceReload = value;\n    }\n    setHasFailedLoadAttempt(value) {\n      this.hasFailedLoadAttempt = value;\n    }\n\n    /*\n     `push` for a relationship allows the store to push a JSON API Relationship\n     Object onto the relationship. The relationship will then extract and set the\n     meta, data and links of that relationship.\n      `push` use `updateMeta`, `updateData` and `updateLink` to update the state\n     of the relationship.\n     */\n    push(payload) {\n      var hasRelationshipDataProperty = false;\n      var hasLink = false;\n      if (payload.meta) {\n        this.updateMeta(payload.meta);\n      }\n      if (payload.data !== undefined) {\n        hasRelationshipDataProperty = true;\n        this.updateData(payload.data);\n      } else if (this.isAsync === false && !this.hasAnyRelationshipData) {\n        hasRelationshipDataProperty = true;\n        var data = this.kind === 'hasMany' ? [] : null;\n        this.updateData(data);\n      }\n      if (payload.links) {\n        var originalLinks = this.links;\n        this.updateLinks(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            ( Ember.warn(`You pushed a record of type '${this.recordData.modelName}' with a relationship '${this.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.`, this.isAsync || this.hasAnyRelationshipData, {\n              id: 'ds.store.push-link-for-sync-relationship'\n            }));\n            ( !(typeof relatedLink.href === 'string' || relatedLink.href === null) && Ember.assert(`You have pushed a record of type '${this.recordData.modelName}' with '${this.key}' as a link, but the value of that link is not a string.`, typeof relatedLink.href === 'string' || relatedLink.href === null));\n            hasLink = 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        IF contains only data\n       IF contains both links and data\n        relationshipIsEmpty -> true if is empty array (has-many) or is null (belongs-to)\n        hasAnyRelationshipData -> true\n        hasDematerializedInverse -> false\n        relationshipIsStale -> false\n        allInverseRecordsAreLoaded -> run-check-to-determine\n        IF contains only links\n        relationshipIsStale -> true\n       */\n      this.setHasFailedLoadAttempt(false);\n      if (hasRelationshipDataProperty) {\n        var relationshipIsEmpty = payload.data === null || Array.isArray(payload.data) && payload.data.length === 0;\n        this.setHasAnyRelationshipData(true);\n        this.setRelationshipIsStale(false);\n        this.setHasDematerializedInverse(false);\n        this.setRelationshipIsEmpty(relationshipIsEmpty);\n      } else if (hasLink) {\n        this.setRelationshipIsStale(true);\n        var recordData = this.recordData;\n        var storeWrapper = this.recordData.storeWrapper;\n        {\n          storeWrapper.notifyPropertyChange(recordData.modelName, recordData.id, recordData.clientId,\n          // We know we are not an implicit relationship here\n          this.key);\n        }\n      }\n    }\n    localStateIsEmpty() {}\n    updateData(payload) {}\n    destroy() {}\n  }\n\n  class BelongsToRelationship extends Relationship {\n    constructor(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      super(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n      this.inverseRecordData = void 0;\n      this.canonicalState = void 0;\n      this.key = void 0;\n      this.key = relationshipMeta.key;\n      this.inverseRecordData = null;\n      this.canonicalState = null;\n      this.key = relationshipMeta.key;\n    }\n    setRecordData(recordData) {\n      if (recordData) {\n        this.addRecordData(recordData);\n      } else if (this.inverseRecordData) {\n        this.removeRecordData(this.inverseRecordData);\n      }\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsStale(false);\n      this.setRelationshipIsEmpty(false);\n    }\n    setCanonicalRecordData(recordData) {\n      if (recordData) {\n        this.addCanonicalRecordData(recordData);\n      } else if (this.canonicalState) {\n        this.removeCanonicalRecordData(this.canonicalState);\n      }\n      this.flushCanonicalLater();\n    }\n    addCanonicalRecordData(recordData) {\n      if (this.canonicalMembers.has(recordData)) {\n        return;\n      }\n      if (this.canonicalState) {\n        this.removeCanonicalRecordData(this.canonicalState);\n      }\n      this.canonicalState = recordData;\n      super.addCanonicalRecordData(recordData);\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsEmpty(false);\n    }\n    inverseDidDematerialize() {\n      super.inverseDidDematerialize(this.inverseRecordData);\n      this.notifyBelongsToChange();\n    }\n    removeCompletelyFromOwn(recordData) {\n      super.removeCompletelyFromOwn(recordData);\n      if (this.canonicalState === recordData) {\n        this.canonicalState = null;\n      }\n      if (this.inverseRecordData === recordData) {\n        this.inverseRecordData = null;\n        this.notifyBelongsToChange();\n      }\n    }\n    removeCompletelyFromInverse() {\n      super.removeCompletelyFromInverse();\n      this.inverseRecordData = null;\n    }\n    flushCanonical() {\n      //temporary fix to not remove newly created records if server returned null.\n      //TODO remove once we have proper diffing\n      if (this.inverseRecordData && this.inverseRecordData.isNew() && !this.canonicalState) {\n        this.willSync = false;\n        return;\n      }\n      if (this.inverseRecordData !== this.canonicalState) {\n        this.inverseRecordData = this.canonicalState;\n        this.notifyBelongsToChange();\n      }\n      super.flushCanonical();\n    }\n    addRecordData(recordData) {\n      if (this.members.has(recordData)) {\n        return;\n      }\n\n      // TODO Igor cleanup\n      Debug.assertPolymorphicType(this.recordData, this.relationshipMeta, recordData, this.store);\n      if (this.inverseRecordData) {\n        this.removeRecordData(this.inverseRecordData);\n      }\n      this.inverseRecordData = recordData;\n      super.addRecordData(recordData);\n      this.notifyBelongsToChange();\n    }\n    removeRecordDataFromOwn(recordData) {\n      if (!this.members.has(recordData)) {\n        return;\n      }\n      this.inverseRecordData = null;\n      super.removeRecordDataFromOwn(recordData);\n      this.notifyBelongsToChange();\n    }\n    removeAllRecordDatasFromOwn() {\n      super.removeAllRecordDatasFromOwn();\n      this.inverseRecordData = null;\n      this.notifyBelongsToChange();\n    }\n    notifyBelongsToChange() {\n      var recordData = this.recordData;\n      var storeWrapper = this.recordData.storeWrapper;\n      storeWrapper.notifyBelongsToChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n    }\n    removeCanonicalRecordDataFromOwn(recordData, idx) {\n      if (!this.canonicalMembers.has(recordData)) {\n        return;\n      }\n      this.canonicalState = null;\n      this.setHasAnyRelationshipData(true);\n      this.setRelationshipIsEmpty(true);\n      super.removeCanonicalRecordDataFromOwn(recordData, idx);\n    }\n    removeAllCanonicalRecordDatasFromOwn() {\n      super.removeAllCanonicalRecordDatasFromOwn();\n      this.canonicalState = null;\n    }\n    getData() {\n      var data;\n      var payload = {};\n      if (this.inverseRecordData) {\n        data = this.inverseRecordData.getResourceIdentifier();\n      }\n      if (this.inverseRecordData === null && this.hasAnyRelationshipData) {\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    updateData(data) {\n      var recordData;\n      if (Ember.isNone(data)) {\n        recordData = null;\n      }\n      ( !(data === null || data.id !== undefined && data.type !== undefined) && Ember.assert(`Ember Data expected the data for the ${this.key} relationship on a ${this.recordData.toString()} to be in a JSON API format and include an \\`id\\` and \\`type\\` property but it found ${Ember.inspect(data)}. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || data.id !== undefined && data.type !== undefined));\n      if (recordData !== null) {\n        recordData = this.recordData.storeWrapper.recordDataFor(data.type, data.id);\n      }\n      this.setCanonicalRecordData(recordData);\n    }\n  }\n\n  /**\n    @module @ember-data/record-data\n  */\n\n  class ManyRelationship extends Relationship {\n    constructor(store, inverseKey, relationshipMeta, recordData, inverseIsAsync) {\n      super(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n      // persisted state\n      this.canonicalState = void 0;\n      this.currentState = void 0;\n      this._willUpdateManyArray = void 0;\n      this._pendingManyArrayUpdates = void 0;\n      this.key = void 0;\n      this.canonicalState = [];\n      // local client state\n      this.currentState = [];\n      this._willUpdateManyArray = false;\n      this._pendingManyArrayUpdates = null;\n      this.key = relationshipMeta.key;\n    }\n    addCanonicalRecordData(recordData, idx) {\n      if (this.canonicalMembers.has(recordData)) {\n        return;\n      }\n      if (idx !== undefined) {\n        this.canonicalState.splice(idx, 0, recordData);\n      } else {\n        this.canonicalState.push(recordData);\n      }\n      super.addCanonicalRecordData(recordData, idx);\n    }\n    inverseDidDematerialize(inverseRecordData) {\n      super.inverseDidDematerialize(inverseRecordData);\n      if (this.isAsync) {\n        this.notifyManyArrayIsStale();\n      }\n    }\n    addRecordData(recordData, idx) {\n      if (this.members.has(recordData)) {\n        return;\n      }\n\n      // TODO Type this\n      Debug.assertPolymorphicType(this.recordData, this.relationshipMeta, recordData, this.store);\n      super.addRecordData(recordData, idx);\n      // make lazy later\n      if (idx === undefined) {\n        idx = this.currentState.length;\n      }\n      this.currentState.splice(idx, 0, recordData);\n      // TODO Igor consider making direct to remove the indirection\n      // We are not lazily accessing the manyArray here because the change is coming from app side\n      // this.manyArray.flushCanonical(this.currentState);\n      this.notifyHasManyChange();\n    }\n    removeCanonicalRecordDataFromOwn(recordData, idx) {\n      var i = idx;\n      if (!this.canonicalMembers.has(recordData)) {\n        return;\n      }\n      if (i === undefined) {\n        i = this.canonicalState.indexOf(recordData);\n      }\n      if (i > -1) {\n        this.canonicalState.splice(i, 1);\n      }\n      super.removeCanonicalRecordDataFromOwn(recordData, idx);\n      //TODO(Igor) Figure out what to do here\n    }\n    removeAllCanonicalRecordDatasFromOwn() {\n      super.removeAllCanonicalRecordDatasFromOwn();\n      this.canonicalMembers.clear();\n      this.canonicalState.splice(0, this.canonicalState.length);\n      super.removeAllCanonicalRecordDatasFromOwn();\n    }\n\n    //TODO(Igor) DO WE NEED THIS?\n    removeCompletelyFromOwn(recordData) {\n      super.removeCompletelyFromOwn(recordData);\n\n      // TODO SkEPTICAL\n      var canonicalIndex = this.canonicalState.indexOf(recordData);\n      if (canonicalIndex !== -1) {\n        this.canonicalState.splice(canonicalIndex, 1);\n      }\n      this.removeRecordDataFromOwn(recordData);\n    }\n    flushCanonical() {\n      var toSet = this.canonicalState;\n\n      //a hack for not removing new records\n      //TODO remove once we have proper diffing\n      var newRecordDatas = this.currentState.filter(\n      // only add new internalModels which are not yet in the canonical state of this\n      // relationship (a new internalModel can be in the canonical state if it has\n      // been 'acknowleged' to be in the relationship via a store.push)\n\n      //TODO Igor deal with this\n      recordData => recordData.isNew() && toSet.indexOf(recordData) === -1);\n      toSet = toSet.concat(newRecordDatas);\n\n      /*\n      if (this._manyArray) {\n        this._manyArray.flushCanonical(toSet);\n      }\n      */\n      this.currentState = toSet;\n      super.flushCanonical();\n      // Once we clean up all the flushing, we will be left with at least the notifying part\n      this.notifyHasManyChange();\n    }\n\n    //TODO(Igor) idx not used currently, fix\n    removeRecordDataFromOwn(recordData, idx) {\n      super.removeRecordDataFromOwn(recordData, idx);\n      var index = idx || this.currentState.indexOf(recordData);\n\n      //TODO IGOR DAVID INVESTIGATE\n      if (index === -1) {\n        return;\n      }\n      this.currentState.splice(index, 1);\n      // TODO Igor consider making direct to remove the indirection\n      // We are not lazily accessing the manyArray here because the change is coming from app side\n      this.notifyHasManyChange();\n      // this.manyArray.flushCanonical(this.currentState);\n    }\n    notifyRecordRelationshipAdded() {\n      this.notifyHasManyChange();\n    }\n    computeChanges(recordDatas = []) {\n      var members = this.canonicalMembers.toArray();\n      for (var i = members.length - 1; i >= 0; i--) {\n        this.removeCanonicalRecordData(members[i], i);\n      }\n      for (var _i = 0, l = recordDatas.length; _i < l; _i++) {\n        this.addCanonicalRecordData(recordDatas[_i], _i);\n      }\n    }\n\n    /*\n      This is essentially a \"sync\" version of\n        notifyHasManyChange. We should work to unify\n        these worlds\n         - @runspired\n    */\n    notifyManyArrayIsStale() {\n      var recordData = this.recordData;\n      var storeWrapper = recordData.storeWrapper;\n      {\n        storeWrapper.notifyPropertyChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n      }\n    }\n    notifyHasManyChange() {\n      var recordData = this.recordData;\n      var storeWrapper = recordData.storeWrapper;\n      storeWrapper.notifyHasManyChange(recordData.modelName, recordData.id, recordData.clientId, this.key);\n    }\n    getData() {\n      var payload = {};\n      if (this.hasAnyRelationshipData) {\n        payload.data = this.currentState.map(recordData => recordData.getResourceIdentifier());\n      }\n      if (this.links) {\n        payload.links = this.links;\n      }\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n\n      // TODO @runspired: the @igor refactor is too limiting for relationship state\n      //   we should reconsider where we fetch from.\n      payload._relationship = this;\n      return payload;\n    }\n    updateData(data) {\n      var recordDatas;\n      if (Ember.isNone(data)) {\n        recordDatas = undefined;\n      } else {\n        recordDatas = new Array(data.length);\n        for (var i = 0; i < data.length; i++) {\n          recordDatas[i] = this.recordData.storeWrapper.recordDataFor(data[i].type, data[i].id, data[i].lid);\n        }\n      }\n      this.updateRecordDatasFromAdapter(recordDatas);\n    }\n  }\n\n  function createRelationshipFor(relationshipMeta, store, recordData, key) {\n    var inverseKey = recordData.storeWrapper.inverseForRelationship(recordData.modelName, key);\n    var inverseIsAsync = recordData.storeWrapper.inverseIsAsyncForRelationship(recordData.modelName, key);\n    if (relationshipMeta.kind === 'hasMany') {\n      return new ManyRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n    } else {\n      return new BelongsToRelationship(store, inverseKey, relationshipMeta, recordData, inverseIsAsync);\n    }\n  }\n  class Relationships {\n    constructor(recordData) {\n      this.recordData = recordData;\n      this._store = void 0;\n      this._storeWrapper = void 0;\n      this.initializedRelationships = void 0;\n      this.initializedRelationships = Object.create(null);\n      this._storeWrapper = Private.upgradeForInternal(recordData.storeWrapper);\n      this._store = this._storeWrapper._store;\n    }\n    has(key) {\n      return !!this.initializedRelationships[key];\n    }\n    forEach(cb) {\n      var rels = this.initializedRelationships;\n      Object.keys(rels).forEach(name => {\n        cb(name, rels[name]);\n      });\n    }\n    get(key) {\n      var relationships = this.initializedRelationships;\n      var relationship = relationships[key];\n      if (!relationship) {\n        var _recordData = this.recordData;\n        var rel = this.recordData.storeWrapper.relationshipsDefinitionFor(this.recordData.modelName)[key];\n        if (rel) {\n          // lazily instantiate relationship\n          relationship = relationships[key] = createRelationshipFor(rel, this._store, _recordData, key);\n        }\n      }\n      return relationship;\n    }\n  }\n\n  /**\n    @module @ember-data/record-data\n  */\n  var nextBfsId = 1;\n  class RecordDataDefault {\n    constructor(identifier, storeWrapper) {\n      this.identifier = identifier;\n      this.storeWrapper = storeWrapper;\n      this._errors = void 0;\n      this.__relationships = void 0;\n      this.__implicitRelationships = void 0;\n      this.modelName = void 0;\n      this.clientId = void 0;\n      this.id = void 0;\n      this.isDestroyed = void 0;\n      this._isNew = void 0;\n      this._bfsId = void 0;\n      this.__attributes = void 0;\n      this.__inFlightAttributes = void 0;\n      this.__data = void 0;\n      this._scheduledDestroy = void 0;\n      this._isDeleted = void 0;\n      this._isDeletionCommited = void 0;\n      /**\n        Iterates over the set of internal models reachable from `this` across exactly one\n        relationship.\n      */\n      this._directlyRelatedRecordDatasIterable = () => {\n        var initializedRelationships = this._relationships.initializedRelationships;\n        var relationships = Object.keys(initializedRelationships).map(key => initializedRelationships[key]);\n        var i = 0;\n        var j = 0;\n        var k = 0;\n        var findNext = () => {\n          while (i < relationships.length) {\n            while (j < 2) {\n              var members = j === 0 ? relationships[i].members.list : relationships[i].canonicalMembers.list;\n              while (k < members.length) {\n                return members[k++];\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.__relationships = null;\n      this.__implicitRelationships = null;\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      Ember.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        this.id = coerceId(data.id);\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    getErrors() {\n      ( Ember.assert('Can not call getErrors unless the RECORD_DATA_ERRORS feature flag is on', !!false));\n      {\n        return [];\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      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\n        // in debug, assert payload validity eagerly\n        var relationshipData = data.relationships[relationshipName];\n        {\n          var _storeWrapper = this.storeWrapper;\n          var recordData = this;\n          var relationshipMeta = relationships[relationshipName];\n          if (!relationshipData || !relationshipMeta) {\n            continue;\n          }\n          if (relationshipData.links) {\n            var isAsync = relationshipMeta.options && relationshipMeta.options.async !== false;\n            var _relationship = this._relationships.get(relationshipName);\n            ( Ember.warn(`You pushed a record of type '${this.modelName}' with a relationship '${relationshipName}' 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 || relationshipData.data || _relationship.hasAnyRelationshipData, {\n              id: 'ds.store.push-link-for-sync-relationship'\n            }));\n          } else if (relationshipData.data) {\n            if (relationshipMeta.kind === 'belongsTo') {\n              ( !(!Array.isArray(relationshipData.data)) && Ember.assert(`A ${this.modelName} record was pushed into the store with the value of ${relationshipName} being ${Ember.inspect(relationshipData.data)}, but ${relationshipName} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(relationshipData.data)));\n              assertRelationshipData(_storeWrapper, recordData, relationshipData.data, relationshipMeta);\n            } else if (relationshipMeta.kind === 'hasMany') {\n              ( !(Array.isArray(relationshipData.data)) && Ember.assert(`A ${this.modelName} record was pushed into the store with the value of ${relationshipName} being '${Ember.inspect(relationshipData.data)}', but ${relationshipName} is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.`, Array.isArray(relationshipData.data)));\n              if (Array.isArray(relationshipData.data)) {\n                for (var _i = 0; _i < relationshipData.data.length; _i++) {\n                  assertRelationshipData(_storeWrapper, recordData, relationshipData.data[_i], relationshipMeta);\n                }\n              }\n            }\n          }\n        }\n        var relationship = this._relationships.get(relationshipName);\n        relationship.push(relationshipData);\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 = Ember.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(true);\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        // this.store._internalModelDidReceiveRelationshipData(this.modelName, this.id, data.relationships);\n        if (data.relationships) {\n          this._setupRelationships(data);\n        }\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        newCanonicalAttributes = data.attributes || null;\n      }\n      var changedKeys = this._changedKeys(newCanonicalAttributes);\n      Ember.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\n    // get ResourceIdentifiers for \"current state\"\n    getHasMany(key) {\n      return this._relationships.get(key).getData();\n    }\n\n    // set a new \"current state\" via ResourceIdentifiers\n    setDirtyHasMany(key, recordDatas) {\n      var relationship = this._relationships.get(key);\n      relationship.clear();\n      relationship.addRecordDatas(recordDatas);\n    }\n\n    // append to \"current state\" via RecordDatas\n    addToHasMany(key, recordDatas, idx) {\n      this._relationships.get(key).addRecordDatas(recordDatas, idx);\n    }\n\n    // remove from \"current state\" via RecordDatas\n    removeFromHasMany(key, recordDatas) {\n      this._relationships.get(key).removeRecordDatas(recordDatas);\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    getBelongsTo(key) {\n      return this._relationships.get(key).getData();\n    }\n    setDirtyBelongsTo(key, recordData) {\n      this._relationships.get(key).setRecordData(recordData);\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      this._destroyRelationships();\n      this.reset();\n      if (!this._scheduledDestroy) {\n        this._scheduledDestroy = Ember.run.backburner.schedule('destroy', this, '_cleanupOrphanedRecordDatas');\n      }\n    }\n    _cleanupOrphanedRecordDatas() {\n      var relatedRecordDatas = this._allRelatedRecordDatas();\n      if (areAllModelsUnloaded(relatedRecordDatas)) {\n        for (var i = 0; i < relatedRecordDatas.length; ++i) {\n          var recordData = relatedRecordDatas[i];\n          if (!recordData.isDestroyed) {\n            recordData.destroy();\n          }\n        }\n      }\n      this._scheduledDestroy = null;\n    }\n    destroy() {\n      this._relationships.forEach((name, rel) => rel.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       @return {Array} 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 instanceof RecordDataDefault) {\n            ( !(recordData._bfsId <= bfsId) && Ember.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 _relationships() {\n      if (this.__relationships === null) {\n        this.__relationships = new Relationships(this);\n      }\n      return this.__relationships;\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\n    /*\n     implicit relationships are relationship which have not been declared but the inverse side exists on\n     another record somewhere\n     For example if there was\n      ```app/models/comment.js\n     import Model, { attr } from '@ember-data/model';\n      export default Model.extend({\n       name: attr()\n     });\n     ```\n      but there is also\n      ```app/models/post.js\n     import Model, { attr, hasMany } from '@ember-data/model';\n      export default Model.extend({\n       name: attr(),\n       comments: hasMany('comment')\n     });\n     ```\n      would have a implicit post relationship in order to be do things like remove ourselves from the post\n     when we are deleted\n    */\n    get _implicitRelationships() {\n      if (this.__implicitRelationships === null) {\n        var relationships = Object.create(null);\n        this.__implicitRelationships = relationships;\n        return relationships;\n      }\n      return this.__implicitRelationships;\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     * @param options\n     * @private\n     */\n    _initRecordCreateOptions(options) {\n      var createOptions = {};\n      if (options !== undefined) {\n        var {\n          modelName,\n          storeWrapper: _storeWrapper2\n        } = this;\n        var attributeDefs = _storeWrapper2.attributesDefinitionFor(modelName);\n        var relationshipDefs = _storeWrapper2.relationshipsDefinitionFor(modelName);\n        var relationships = this._relationships;\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 = relationships.get(name);\n              relationship.setHasAnyRelationshipData(true);\n              relationship.setRelationshipIsEmpty(false);\n              break;\n            case 'hasMany':\n              this.setDirtyHasMany(name, propertyValue);\n              relationship = relationships.get(name);\n              relationship.setHasAnyRelationshipData(true);\n              relationship.setRelationshipIsEmpty(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(isNew = false) {\n      this._relationships.forEach((name, rel) => {\n        rel.removeCompletelyFromInverse();\n        if (isNew === true) {\n          rel.clear();\n        }\n      });\n      this.__relationships = null;\n      var implicitRelationships = this._implicitRelationships;\n      this.__implicitRelationships = null;\n      Object.keys(implicitRelationships).forEach(key => {\n        var rel = implicitRelationships[key];\n        rel.removeCompletelyFromInverse();\n        if (isNew === true) {\n          rel.clear();\n        }\n      });\n    }\n    _destroyRelationships() {\n      var relationships = this._relationships;\n      relationships.forEach((name, rel) => destroyRelationship(rel));\n      var implicitRelationships = this._implicitRelationships;\n      this.__implicitRelationships = null;\n      Object.keys(implicitRelationships).forEach(key => {\n        var rel = implicitRelationships[key];\n        destroyRelationship(rel);\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 = Ember.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 (!Ember.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 assertRelationshipData(store, recordData, data, meta) {\n    ( !(!Array.isArray(data)) && Ember.assert(`A ${recordData.modelName} 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) && Ember.assert(`Encountered a relationship identifier without a type for the ${meta.kind} relationship '${meta.key}' on ${recordData}, 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 || !!coerceId(data.id)) && Ember.assert(`Encountered a relationship identifier without an id for the ${meta.kind} relationship '${meta.key}' on ${recordData}, 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 || !!coerceId(data.id)));\n    ( !(data === null || !data.type || store._hasModelFor(data.type)) && Ember.assert(`Encountered a relationship identifier with type '${data.type}' for the ${meta.kind} relationship '${meta.key}' on ${recordData}, 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  // 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    rel.recordDataDidDematerialize();\n    if (rel._inverseIsSync()) {\n      rel.removeAllRecordDatasFromOwn();\n      rel.removeAllCanonicalRecordDatasFromOwn();\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\n  exports.BelongsToRelationship = BelongsToRelationship;\n  exports.ManyRelationship = ManyRelationship;\n  exports.RecordData = RecordDataDefault;\n  exports.Relationship = Relationship;\n  exports.relationshipStateFor = relationshipStateFor;\n  exports.relationshipsFor = relationshipsFor;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n});\n","define('@ember-data/serializer/-private', ['exports', '@ember/string'], function (exports, string$1) { 'use strict';\n\n  /**\n    @module @ember-data/serializer\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  */\n  var embeddedRecordsMixin = Ember.Mixin.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     @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      @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      @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] = Ember.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      ( Ember.warn(`The embedded relationship '${serializedKey}' is undefined for '${snapshot.modelName}' with id '${snapshot.id}'. Please include it in your original payload.`, Ember.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 = Ember.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      @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 = Ember.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      Ember.set(hash, `data.relationships.${key}`, relationship);\n    },\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      var relationshipHash = Ember.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      Ember.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    @module @ember-data/serializer\n  */\n\n  /*\n    Check if the passed model has a `type` attribute or a relationship named `type`.\n\n    @method modelHasAttributeOrRelationshipNamedType\n    @param modelClass\n   */\n  function modelHasAttributeOrRelationshipNamedType(modelClass) {\n    return Ember.get(modelClass, 'attributes').has('type') || Ember.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   */\n  var Transform = Ember.Object.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      @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      @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    @extends Transform\n   */\n  var boolean = Transform.extend({\n    deserialize(serialized, options) {\n      if (Ember.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 (Ember.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   @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    @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    @extends Transform\n   */\n  var string = Transform.extend({\n    deserialize(serialized) {\n      return Ember.isNone(serialized) ? null : String(serialized);\n    },\n    serialize(deserialized) {\n      return Ember.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\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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    @extends EmberObject\n  */\n  var _default = _exports.default = Ember.Object.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      @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      @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      @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/string\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store\"], function (_exports, _string, _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\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';\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    @since 1.13.0\n    @class JSONAPISerializer\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 (Ember.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 && !(!Ember.isNone(resourceHash.type)) && Ember.assert(this.warnMessageForUndefinedType(), !Ember.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 && Ember.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      @method pushPayload\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)) && Ember.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) && Ember.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       @param {Object} relationshipHash\n       @return {Object}\n    */\n    extractRelationship(relationshipHash) {\n      if (Ember.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       @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) && Ember.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      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\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      @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      @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     @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    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 (false /* 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) && Ember.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 && Ember.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-data/serializer\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/serializer/-private\"], function (_exports, _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\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      - `normalizeResponse` - entry method to the serializer.\n      - `normalizeCreateRecordResponse` - a `normalizeResponse` for a specific operation is called.\n      - `normalizeSingleResponse`|`normalizeArrayResponse` - for methods like `createRecord` we expect\n        a single record back, while for methods like `findAll` we expect multiple records back.\n      - `normalize` - `normalizeArray` 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      - `extractId` | `extractAttributes` | `extractRelationships` - `normalize` delegates to these methods to\n        turn the record payload into the JSON API format.\n  \n    @class JSONSerializer\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      @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      @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 = Ember.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      @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      @since 1.13.0\n      @method normalizeFindRecordResponse\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      @since 1.13.0\n      @method normalizeQueryRecordResponse\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      @since 1.13.0\n      @method normalizeFindAllResponse\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      @since 1.13.0\n      @method normalizeFindBelongsToResponse\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      @since 1.13.0\n      @method normalizeFindHasManyResponse\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      @since 1.13.0\n      @method normalizeFindManyResponse\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      @since 1.13.0\n      @method normalizeQueryResponse\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      @since 1.13.0\n      @method normalizeCreateRecordResponse\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      @since 1.13.0\n      @method normalizeDeleteRecordResponse\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      @since 1.13.0\n      @method normalizeUpdateRecordResponse\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      @since 1.13.0\n      @method normalizeSaveResponse\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      @since 1.13.0\n      @method normalizeSingleResponse\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      @since 1.13.0\n      @method normalizeArrayResponse\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 && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.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      @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 (Ember.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      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId(modelClass, resourceHash) {\n      var primaryKey = Ember.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      @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      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship(relationshipModelName, relationshipHash) {\n      if (Ember.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 (Ember.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      @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      @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 (!Ember.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      @method modelNameFromPayloadKey\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    // TODO @deprecated Use modelNameFromPayloadType instead\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 = Ember.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 (Ember.get(modelClass, 'attributes').has(key)) {\n            normalizedKey = this.keyForAttribute(key);\n          }\n          if (Ember.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 && Ember.warn('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', Ember.get(modelClass, 'attributes').has(key) || Ember.get(modelClass, 'relationshipsByName').has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      }));\n      var attrs = Ember.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 = Ember.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 = Ember.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      @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 PostSerializer extends JSONSerializer {\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       ```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 first and make the tweaks on the returned\n      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 = this._super(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\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[Ember.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      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      Ember.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      @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      @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 (Ember.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     @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      @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      @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      @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      @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      @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     @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 = Ember.getOwner(this).lookup('transform:' + attributeType);\n      (true && !(skipAssertion || !!transform) && Ember.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/string\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/serializer/-private\"], function (_exports, _string, _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    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    @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     @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      @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      Ember.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 && !(Ember.typeOf(meta) === 'object') && Ember.assert('The `meta` returned from `extractMeta` has to be an object, not \"' + Ember.typeOf(meta) + '\".', Ember.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 && Ember.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) && Ember.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          }));\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      @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 && Ember.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        Ember.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      @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      @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      @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      @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      @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 (Ember.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      @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\"], function (_exports) {\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    @method assertPolymorphicType\n    @param {InternalModel} internalModel\n    @param {RelationshipMeta} relationshipMeta retrieved via\n           `record.relationshipFor(key)`\n    @param {InternalModel} addedRecord record which\n           should be added/set for the relationship\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(parentInternalModel, relationshipMeta, addedInternalModel, store) {\n      var addedModelName = addedInternalModel.modelName;\n      var parentModelName = parentInternalModel.modelName;\n      var key = relationshipMeta.key;\n      var relationshipModelName = relationshipMeta.type;\n      var relationshipClass = store.modelFor(relationshipModelName);\n      var addedClass = store.modelFor(addedInternalModel.modelName);\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      (true && !(checkPolymorphic(relationshipClass, addedClass)) && Ember.assert(assertionMessage, checkPolymorphic(relationshipClass, addedClass)));\n    };\n  }\n});","define('@ember-data/store/-private', ['exports', 'require', '@ember/string', '@ember-data/store/-debug', 'ember-inflector'], function (exports, require$1, string, Debug, emberInflector) { 'use strict';\n\n  require$1 = require$1 && Object.prototype.hasOwnProperty.call(require$1, 'default') ? require$1['default'] : require$1;\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.\n\n    @function normalizeModelName\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\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 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\n  /*\n   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\n  /*\n  A 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\n  /*\n   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\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  function freeze(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n\n  /**\n    @module @ember-data/store\n  */\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(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();\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  class IdentifierCache {\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     * 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     * @internal\n     */\n    __configureMerge(method) {\n      this._merge = method || defaultEmptyCallback;\n    }\n\n    /**\n     * @internal\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     * @internal\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    */\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     */\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    */\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 = Ember.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    _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    */\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(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          ( Ember.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    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    @extends Ember.ArrayProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  var PromiseArray = Ember.ArrayProxy.extend(Ember.PromiseProxyMixin, {\n    meta: Ember.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    For more information see the [Ember.PromiseProxyMixin\n    documentation](/ember/release/classes/PromiseProxyMixin).\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    @extends Ember.ObjectProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  var PromiseObject = Ember.ObjectProxy.extend(Ember.PromiseProxyMixin);\n  function promiseObject(promise, label) {\n    return PromiseObject.create({\n      promise: Ember.RSVP.Promise.resolve(promise, label)\n    });\n  }\n  function promiseArray(promise, label) {\n    return PromiseArray.create({\n      promise: Ember.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  var backburner = new Ember._Backburner(['normalizeRelationships', 'syncRelationships', 'finished']);\n  {\n    Ember.Test.registerWaiter(() => {\n      return !backburner.currentInstance && !backburner.hasTimers();\n    });\n  }\n\n  /**\n    @module @ember-data/store\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    @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 (Ember.isPresent(errors)) {\n      Object.keys(errors).forEach(key => {\n        var messages = Ember.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    @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 (Ember.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;\n  (function (RequestStateEnum) {\n    RequestStateEnum[\"pending\"] = \"pending\";\n    RequestStateEnum[\"fulfilled\"] = \"fulfilled\";\n    RequestStateEnum[\"rejected\"] = \"rejected\";\n  })(RequestStateEnum || (RequestStateEnum = {}));\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  function recordDataFor(instance) {\n    var internalModel = instance._internalModel || instance.internalModel || instance;\n    return internalModel._recordData || null;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  function relationshipsFor(instance) {\n    var i = instance;\n    // TODO this cast is not safe but it is the assumption of the current\n    // state of the code. We need to update this class to handle CUSTOM_MODEL_CLASS\n    // requirements.\n    var recordData = i._internalModel._recordData;\n    return recordData._relationships;\n  }\n  function relationshipStateFor(instance, propertyName) {\n    return relationshipsFor(instance).get(propertyName);\n  }\n  /**\n    @class Snapshot\n    @private\n    @constructor\n    @param {Model} internalModel The model to create a snapshot from\n  */\n  class Snapshot {\n    constructor(options, identifier, _store) {\n      this._store = _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      var internalModel = this._internalModel = _store._internalModelForResource(identifier);\n      this.modelName = identifier.type;\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       */\n      this.id = identifier.id;\n\n      /**\n       A hash of adapter options\n       @property adapterOptions\n       @type {Object}\n       */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n       @property include\n       @type {String|Array}\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       */\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     */\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));\n      }\n      {\n        // When CUSTOM_MODEL_CLASS is false `record` must be DSModel\n        record.eachAttribute(keyName => attributes[keyName] = Ember.get(record, keyName));\n      }\n      return attributes;\n    }\n\n    /**\n     The type of the underlying record for this snapshot, as a Model.\n      @property type\n     @type {Model}\n     */\n    get type() {\n      return this._internalModel.modelClass;\n    }\n    get isNew() {\n      {\n        throw new Error('isNew is only available when custom model class ff is on');\n      }\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     */\n    attr(keyName) {\n      if (keyName in this._attributes) {\n        return this._attributes[keyName];\n      }\n      ( Ember.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     */\n    attributes() {\n      return Ember.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     */\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     @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 relationship;\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') && Ember.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      // TODO @runspired instead of casting here either generify relationship state or\n      // provide a mechanism on relationship state by which to narrow.\n      relationship = relationshipStateFor(this, keyName);\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     @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 relationship;\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') && Ember.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      // TODO @runspired instead of casting here either generify relationship state or\n      // provide a mechanism on relationship state by which to narrow.\n      relationship = relationshipStateFor(this, keyName);\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    */\n    eachAttribute(callback, binding) {\n      {\n        // in the non CUSTOM_MODEL_CLASS world we only have DSModel instances\n        this.record.eachAttribute(callback, binding);\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    */\n    eachRelationship(callback, binding) {\n      {\n        // in the non CUSTOM_MODEL_CLASS world we only have DSModel instances\n        this.record.eachRelationship(callback, binding);\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     */\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) {\n    return !(Ember.get(object, 'isDestroyed') || Ember.get(object, 'isDestroying'));\n  }\n  function guardDestroyedStore(promise, store, label) {\n    var token;\n    {\n      token = store._trackAsyncRequestStart(label);\n    }\n    var wrapperPromise = Ember.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    @module @ember-data/store\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    @method validateDocumentStructure\n    @param {Object} doc JSON API document\n    @return {array} An array of errors found in the document structure\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\n  /*\n    This is a helper method that always returns a JSON-API Document.\n\n    @method normalizeResponseHelper\n    @param {Serializer} serializer\n    @param {Store} store\n    @param {subclass of Model} modelClass\n    @param {Object} payload\n    @param {String|Number} id\n    @param {String} requestType\n    @return {Object} JSON-API Document\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) && Ember.assert(`normalizeResponse must return a valid JSON API document:\\n\\t* ${validationErrors.join('\\n\\t* ')}`, validationErrors.length === 0));\n    return normalizedResponse;\n  }\n\n  var emberRun = Ember.run.backburner;\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 = Ember.Mixin.create(Ember.Evented, {\n      /**\n       * Provides a way to call Evented without logging deprecation warnings\n       * @param {String} name\n       */\n      _has(name) {\n        return Ember.Evented.mixins[0].properties.has.call(this, name);\n      },\n      _on() {\n        return Ember.Evented.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]) && Ember.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        }));\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    @class SnapshotRecordArray\n    @private\n    @constructor\n    @param {Array} snapshots An array of snapshots\n    @param {Object} meta\n  */\n  class SnapshotRecordArray {\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        @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        @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        @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        @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      @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 type\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      @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   @private\n   */\n  class InternalModelMap {\n    constructor(modelName) {\n      this.modelName = modelName;\n      this._idToModel = Object.create(null);\n      this._models = [];\n      this._metadata = null;\n    }\n\n    /**\n     * @method get\n     * @param id {String}\n     * @return {InternalModel}\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) && Ember.assert(`You cannot index an internalModel by an empty id'`, typeof id === 'string' && id.length > 0));\n      ( !(internalModel instanceof InternalModel) && Ember.assert(`You cannot set an index for an internalModel to something other than an internalModel`, internalModel instanceof InternalModel));\n      ( !(this.contains(internalModel)) && Ember.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) && Ember.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)) && Ember.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) && Ember.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     @type Array\n     */\n    get models() {\n      return this._models;\n    }\n\n    /**\n     * meta information about internalModels\n     * @property metadata\n     * @type Object\n     */\n    get metadata() {\n      return this._metadata || (this._metadata = Object.create(null));\n    }\n\n    /**\n     Destroy all models in the internalModelTest and wipe metadata.\n      @method clear\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      this._metadata = null;\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   @private\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     @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      @method clear\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  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   * @internal\n   */\n  class InternalModelFactory {\n    constructor(store) {\n      this.store = store;\n      this._identityMap = void 0;\n      this._newlyCreated = void 0;\n      this.identifierCache = void 0;\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        }\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     * @internal\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     * @internal\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)) && Ember.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)) && Ember.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        ( Ember.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      ( !(Ember.isNone(existingInternalModel) || existingInternalModel === internalModel) && Ember.assert(`'${modelName}' was saved to the server, but the response returned the new id '${id}', which has already been used with another record.'`, Ember.isNone(existingInternalModel) || existingInternalModel === internalModel));\n      if (identifier.id === null) {\n        this.identifierCache.updateRecordIdentifier(identifier, {\n          type,\n          id\n        });\n      }\n      internalModel.setId(id);\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) && Ember.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  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    @class RecordArray\n    @extends ArrayProxy\n    @uses Ember.Evented\n  */\n\n  var RecordArray = Ember.ArrayProxy.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      @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      @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     @type Model\n     */\n    type: Ember.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      {\n        var identifier = Ember.get(this, 'content').objectAt(index);\n        return identifier ? recordForIdentifier(this.store, identifier) : undefined;\n      }\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    */\n    update() {\n      if (Ember.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      @return {PromiseArray} promise\n    */\n    save() {\n      var promiseLabel = `DS: RecordArray#save ${this.modelName}`;\n      var promise = Ember.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      @private\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      Ember.set(this, 'content', null);\n      Ember.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  {\n    RecordArray = RecordArray.extend({\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        Ember.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        Ember.get(this, 'content').removeObjects(identifiers);\n      },\n      /**\n        @method _takeSnapshot\n        @internal\n      */\n      _takeSnapshot() {\n        return Ember.get(this, 'content').map(identifier => internalModelFactoryFor(this.store).lookup(identifier).createSnapshot());\n      }\n    });\n  }\n  var RecordArray$1 = RecordArray;\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    ---\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    @extends RecordArray\n  */\n  var AdapterPopulatedRecordArray = RecordArray$1.extend({\n    init() {\n      this.set('content', this.get('content') || Ember.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 = Ember.get(this, 'store');\n      var query = Ember.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: Ember.assign({}, payload.meta),\n        links: Ember.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          Ember.run.once(this, 'trigger', 'didLoad');\n        }\n      }\n    }\n  });\n  {\n    AdapterPopulatedRecordArray = AdapterPopulatedRecordArray.extend({\n      /**\n        @method _setIdentifiers\n        @param {StableRecordIdentifier[]} identifiers\n        @param {Object} payload normalized payload\n        @internal\n      */\n      _setIdentifiers(identifiers, payload) {\n        this._setObjects(identifiers, payload);\n      }\n    });\n  }\n  var AdapterPopulatedRecordArray$1 = AdapterPopulatedRecordArray;\n\n  var RecordArraysCache = new WeakMap();\n  var emberRun$1 = Ember.run.backburner;\n  var RecordArrayManager;\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\n  /**\n    @class RecordArrayManager\n    @private\n  */\n  {\n    var _emberRun = Ember.run.backburner;\n    var pendingForIdentifier = new Set([]);\n    var IMDematerializing = new WeakMap();\n    var getIdentifier = function getIdentifier(identifierOrInternalModel) {\n      var i = identifierOrInternalModel;\n      if ( !isStableIdentifier(identifierOrInternalModel)) {\n        // identifier may actually be an internalModel\n        // but during materialization we will get an identifier that\n        // has already been removed from the identifiers cache yet\n        // so it will not behave as if stable. This is a bug we should fix.\n        i = identifierOrInternalModel.identifier || i;\n      }\n      return i;\n    };\n\n    // REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT only\n    var peekIMCache = function peekIMCache(cache, identifier) {\n      {\n        var im = IMDematerializing.get(identifier);\n        if (im === undefined) {\n          // if not im._isDematerializing\n          im = cache.peek(identifier);\n        }\n        return im;\n      }\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    RecordArrayManager = class IdentifiersRecordArrayManager {\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       * @public\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') && Ember.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 = Ember.get(map, 'length') === Ember.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          Ember.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        @param {String} modelName\n        @return {RecordArray}\n      */\n      liveRecordArrayFor(modelName) {\n        ( !(typeof modelName === 'string') && Ember.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        @param {String} modelName\n        @param {Array} [identifiers]\n        @return {RecordArray}\n      */\n      createRecordArray(modelName, identifiers) {\n        ( !(typeof modelName === 'string') && Ember.assert(`recordArrayManger.createRecordArray expects modelName not modelClass as the param`, typeof modelName === 'string'));\n        var array = RecordArray$1.create({\n          modelName,\n          content: Ember.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        @param {String} modelName\n        @param {Object} query\n        @return {AdapterPopulatedRecordArray}\n      */\n      createAdapterPopulatedRecordArray(modelName, query, identifiers, payload) {\n        ( !(typeof modelName === 'string') && Ember.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$1.create({\n            modelName,\n            query: query,\n            content: Ember.A(identifiers),\n            store: this.store,\n            manager: this,\n            isLoaded: true,\n            isUpdating: false,\n            meta: Ember.assign({}, payload.meta),\n            links: Ember.assign({}, payload.links)\n          });\n          this._associateWithRecordArray(identifiers, array);\n        } else {\n          array = AdapterPopulatedRecordArray$1.create({\n            modelName,\n            query: query,\n            content: Ember.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        @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       * @private\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        {\n          var cache = internalModelFactoryFor(this.store);\n          var im = peekIMCache(cache, identifier);\n          if (im && im._isDematerializing) {\n            IMDematerializing.set(identifier, im);\n          }\n        }\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        _emberRun.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        _emberRun.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      if ( !recordArray._pushIdentifiers) {\n        // deprecate('not allowed to use this intimate api any more');\n        recordArray._pushInternalModels(identifiers.map(i => peekIMCache(cache, i)));\n      } else {\n        recordArray._pushIdentifiers(identifiers);\n      }\n    };\n    var removeIdentifiers = function removeIdentifiers(recordArray, identifiers, cache) {\n      if ( !recordArray._removeIdentifiers) {\n        // deprecate('not allowed to use this intimate api any more');\n        recordArray._removeInternalModels(identifiers.map(i => peekIMCache(cache, i)));\n      } else {\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      var cache = internalModelFactoryFor(store);\n      recordArrays.forEach(function (recordArray) {\n        removeIdentifiers(recordArray, [identifier], cache);\n      });\n      recordArrays.clear();\n    };\n  }\n  var RecordArrayManager$1 = RecordArrayManager;\n\n  /**\n    @module @ember-data/store\n  */\n\n  function isResourceIdentiferWithRelatedLinks(value) {\n    return value && value.links && value.links.related;\n  }\n\n  // TODO: simplify after 3.23 release and only store identifier\n  var REFERENCE_CACHE = new WeakMap();\n  function internalModelForReference(reference) {\n    {\n      return internalModelFactoryFor(reference.store).peek(REFERENCE_CACHE.get(reference));\n    }\n  }\n\n  /**\n    This is the baseClass for the different References\n    like RecordReference/HasManyReference/BelongsToReference\n\n   @class Reference\n   */\n\n  class Reference {\n    constructor(store, identifierOrInternalModel) {\n      this.store = store;\n      {\n        REFERENCE_CACHE.set(this, identifierOrInternalModel);\n      }\n    }\n    get recordData() {\n      {\n        return this.store.recordDataFor(REFERENCE_CACHE.get(this), false);\n      }\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     @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.\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     @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\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     @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    Reference.prototype.links = function links() {\n      var resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    };\n  }\n  {\n    Object.defineProperty(Reference.prototype, 'internalModel', {\n      get() {\n        ( Ember.deprecate('Accessing the internalModel property of Reference is deprecated', false, {\n          id: 'ember-data:reference-internal-model',\n          until: '3.21'\n        }));\n        return REFERENCE_CACHE.get(this);\n      }\n    });\n  }\n\n  /**\n    @module @ember-data/store\n  */\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   @extends Reference\n   */\n  class BelongsToReference extends Reference {\n    constructor(store, parentIMOrIdentifier, belongsToRelationship, key) {\n      super(store, parentIMOrIdentifier);\n      this.key = key;\n      this.belongsToRelationship = belongsToRelationship;\n      this.type = belongsToRelationship.relationshipMeta.type;\n      {\n        this.parent = internalModelFactoryFor(store).peek(parentIMOrIdentifier).recordReference;\n        this.parentIdentifier = parentIMOrIdentifier;\n      }\n\n      // TODO inverse\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     @return {String} The id of the record in this belongsTo relationship.\n     */\n    id() {\n      var id = null;\n      var resource = this._resource();\n      if (resource && resource.data) {\n        id = resource.data.id;\n      }\n      return id;\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     @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    push(objectOrPromise) {\n      // TODO deprecate thenable support\n      return Ember.RSVP.resolve(objectOrPromise).then(data => {\n        var record;\n        if ( peekRecordIdentifier(data)) {\n          ( Ember.deprecate('Pushing a record into a BelongsToReference is deprecated', false, {\n            id: 'ember-data:belongs-to-reference-push-record',\n            until: '4.0'\n          }));\n          record = data;\n        } else {\n          record = this.store.push(data);\n        }\n        Debug.assertPolymorphicType(internalModelForReference(this), this.belongsToRelationship.relationshipMeta, record._internalModel, this.store);\n\n        //TODO Igor cleanup, maybe move to relationship push\n        this.belongsToRelationship.setCanonicalRecordData(recordDataFor(record));\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     @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.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     @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      {\n        var parentInternalModel = internalModelFactoryFor(this.store).peek(this.parentIdentifier);\n        return parentInternalModel.getBelongsTo(this.key, options);\n      }\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     @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;\n      {\n        parentInternalModel = internalModelFactoryFor(this.store).peek(this.parentIdentifier);\n      }\n      return parentInternalModel.reloadBelongsTo(this.key, options).then(internalModel => {\n        return this.value();\n      });\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\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   @extends Reference\n   */\n  class HasManyReference extends Reference {\n    constructor(store, parentIMOrIdentifier, hasManyRelationship, key) {\n      super(store, parentIMOrIdentifier);\n      this.key = key;\n      this.hasManyRelationship = hasManyRelationship;\n      this.type = hasManyRelationship.relationshipMeta.type;\n      {\n        this.parent = internalModelFactoryFor(store).peek(parentIMOrIdentifier).recordReference;\n      }\n\n      // TODO inverse\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     @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     @return {Array} The ids in this has-many relationship\n     */\n    ids() {\n      var resource = this._resource();\n      var ids = [];\n      if (resource.data) {\n        ids = resource.data.map(data => data.id);\n      }\n      return ids;\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     @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    push(objectOrPromise) {\n      return Ember.RSVP.resolve(objectOrPromise).then(payload => {\n        var array = payload;\n        if (typeof payload === 'object' && payload.data) {\n          array = payload.data;\n        }\n        var internalModel = internalModelForReference(this);\n        var internalModels = array.map(obj => {\n          var record = this.store.push(obj);\n          {\n            var relationshipMeta = this.hasManyRelationship.relationshipMeta;\n            Debug.assertPolymorphicType(internalModel, relationshipMeta, record._internalModel, this.store);\n          }\n          return recordDataFor(record);\n        });\n        this.hasManyRelationship.computeChanges(internalModels);\n        return internalModel.getHasMany(this.hasManyRelationship.key);\n        // TODO IGOR it seems wrong that we were returning the many array here\n        //return this.hasManyRelationship.manyArray;\n      });\n    }\n    _isLoaded() {\n      var hasRelationshipDataProperty = this.hasManyRelationship.hasAnyRelationshipData;\n      if (!hasRelationshipDataProperty) {\n        return false;\n      }\n      var members = this.hasManyRelationship.members.toArray();\n\n      //TODO Igor cleanup\n      return members.every(recordData => {\n        var internalModel = this.store._internalModelForResource(recordData.getResourceIdentifier());\n        return internalModel.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     @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     @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     @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  }\n\n  /**\n    @module @ember-data/store\n  */\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     @extends Reference\n  */\n  class RecordReference extends Reference {\n    get type() {\n      {\n        return this.identifier().type;\n      }\n    }\n    get _id() {\n      {\n        var identifier = this.identifier();\n        if (identifier) {\n          return identifier.id;\n        }\n        return null;\n      }\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       @return {String} The id of the record.\n    */\n    id() {\n      return this._id;\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       @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       @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      @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 Ember.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       @return {Model} the record for this RecordReference\n    */\n    value() {\n      if (this._id !== null) {\n        var internalModel = internalModelForReference(this);\n        if (internalModel && internalModel.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       @return {Promise<record>} the record for this RecordReference\n    */\n    load() {\n      if (this._id !== null) {\n        return this.store.findRecord(this.type, this._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       @return {Promise<record>} the record for this RecordReference\n    */\n    reload() {\n      if (this._id !== null) {\n        return this.store.findRecord(this.type, this._id, {\n          reload: true\n        });\n      }\n      throw new Error(`Unable to fetch record of type ${this.type} without an id`);\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\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  */\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      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.removeErrorMessageFromAttribute(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        internalModel.clearErrorMessages();\n        internalModel.transitionTo('inFlight');\n      },\n      rolledBack(internalModel) {\n        internalModel.clearErrorMessages();\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.updateRecordArrays();\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    internalModel.transitionTo('loaded.updated.uncommitted');\n    internalModel.triggerLater('didLoad');\n  };\n  createdState.uncommitted.propertyWasReset = function () {};\n  function assertAgainstUnloadRecord(internalModel) {\n    ( Ember.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    internalModel.clearErrorMessages();\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        {\n          internalModel._promiseProxy = promise;\n        }\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            resolve(internalModel.store._reloadRecord(internalModel, 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.updateRecordArrays();\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.removeErrorMessageFromAttribute(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          internalModel.clearErrorMessages();\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  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  // once the presentation logic is moved into the Model package we can make\n  // eliminate these lossy and redundant helpers\n  function relationshipsFor$1(instance) {\n    var recordData = recordDataFor(instance);\n    return recordData._relationships;\n  }\n  function relationshipStateFor$1(instance, propertyName) {\n    return relationshipsFor$1(instance).get(propertyName);\n  }\n  var {\n    hasOwnProperty\n  } = Object.prototype;\n  var ManyArray;\n  var PromiseBelongsTo;\n  var PromiseManyArray;\n  var _found = false;\n  var _getModelPackage;\n  {\n    _getModelPackage = function () {\n      if (!_found) {\n        var modelPackage = require('@ember-data/model/-private');\n        ({\n          ManyArray,\n          PromiseBelongsTo,\n          PromiseManyArray\n        } = modelPackage);\n        if (ManyArray && PromiseBelongsTo && PromiseManyArray) {\n          _found = true;\n        }\n      }\n      return _found;\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\n  /*\n    `InternalModel` is the Model class that we use internally inside Ember Data to represent models.\n    Internal ED methods should only deal with `InternalModel` objects. It is a fast, plain Javascript class.\n\n    We expose `Model` to application code, by materializing a `Model` from `InternalModel` lazily, as\n    a performance optimization.\n\n    `InternalModel` should never be exposed to application code. At the boundaries of the system, in places\n    like `find`, `push`, etc. we convert between Models and InternalModels.\n\n    We need to make sure that the properties from `InternalModel` are correctly exposed/proxied on `Model`\n    if they are needed.\n\n    @private\n    @class InternalModel\n  */\n  class InternalModel {\n    constructor(store, identifier) {\n      this.store = store;\n      this.identifier = identifier;\n      this._id = void 0;\n      this._tag = 0;\n      this.modelName = void 0;\n      this.clientId = void 0;\n      this.__recordData = void 0;\n      this._isDestroyed = void 0;\n      this.isError = void 0;\n      this._pendingRecordArrayManagerFlush = void 0;\n      this._isDematerializing = void 0;\n      this.isReloading = void 0;\n      this._doNotDestroy = void 0;\n      this.isDestroying = void 0;\n      // Not typed yet\n      this._promiseProxy = void 0;\n      this._record = void 0;\n      this._scheduledDestroy = void 0;\n      this._modelClass = void 0;\n      this.__deferredTriggers = void 0;\n      this.__recordArrays = void 0;\n      this._references = void 0;\n      this._recordReference = void 0;\n      this._manyArrayCache = Object.create(null);\n      // The previous ManyArrays for this relationship which will be destroyed when\n      // we create a new ManyArray, but in the interim the retained version will be\n      // updated if inverse internal models are unloaded.\n      this._retainedManyArrayCache = Object.create(null);\n      this._relationshipPromisesCache = Object.create(null);\n      this._relationshipProxyCache = Object.create(null);\n      this.currentState = void 0;\n      this.error = void 0;\n      {\n        _getModelPackage();\n      }\n      this._id = identifier.id;\n      this.modelName = identifier.type;\n      this.clientId = identifier.lid;\n      this.__recordData = null;\n\n      // this ensure ordered set can quickly identify this as unique\n      this[Ember.GUID_KEY] = identifier.lid;\n      this._promiseProxy = null;\n      this._record = null;\n      this._isDestroyed = 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.resetRecord();\n\n      // caches for lazy getters\n      this._modelClass = null;\n      this.__deferredTriggers = null;\n      this.__recordArrays = null;\n      this._references = null;\n      this._recordReference = null;\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        Ember.set(this, '_tag', this._tag + 1);\n        // TODO Show deprecation for private api\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 type() {\n      return this.modelClass;\n    }\n    get recordReference() {\n      if (this._recordReference === null) {\n        {\n          this._recordReference = new RecordReference(this.store, this.identifier);\n        }\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    get references() {\n      if (this._references === null) {\n        this._references = Object.create(null);\n      }\n      return this._references;\n    }\n    get _deferredTriggers() {\n      if (this.__deferredTriggers === null) {\n        this.__deferredTriggers = [];\n      }\n      return this.__deferredTriggers;\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.isEmpty()) {\n        return true;\n      }\n      var isRecordFullyDeleted;\n      {\n        isRecordFullyDeleted = this.currentState.stateName === 'root.deleted.saved';\n      }\n      return this._isDematerializing || this.hasScheduledDestroy() || this.isDestroyed || isRecordFullyDeleted;\n    }\n    _isRecordFullyDeleted() {\n      {\n        // assert here\n        return false;\n      }\n    }\n    isRecordInUse() {\n      var record = this._record;\n      return record && !(record.get('isDestroyed') || record.get('isDestroying'));\n    }\n    isEmpty() {\n      return this.currentState.isEmpty;\n    }\n    isLoading() {\n      return this.currentState.isLoading;\n    }\n    isLoaded() {\n      return this.currentState.isLoaded;\n    }\n    hasDirtyAttributes() {\n      return this.currentState.hasDirtyAttributes;\n    }\n    isSaving() {\n      return this.currentState.isSaving;\n    }\n    isDeleted() {\n      {\n        return this.currentState.isDeleted;\n      }\n    }\n    isNew() {\n      {\n        return this.currentState.isNew;\n      }\n    }\n    isValid() {\n      {\n        return this.currentState.isValid;\n      }\n    }\n    dirtyType() {\n      return this.currentState.dirtyType;\n    }\n    getRecord(properties) {\n      if (!this._record && !this._isDematerializing) {\n        var {\n          store: _store\n        } = this;\n        {\n          {\n            // lookupFactory should really return an object that creates\n            // instances with the injections applied\n            var createOptions = {\n              store: _store,\n              _internalModel: this,\n              currentState: this.currentState\n            };\n            {\n              createOptions.isError = this.isError;\n              createOptions.adapterError = this.error;\n            }\n            if (properties !== undefined) {\n              ( !(typeof properties === 'object' && properties !== null) && Ember.assert(`You passed '${properties}' as properties for record creation instead of an object.`, typeof properties === 'object' && properties !== null));\n              if ('id' in properties) {\n                var id = coerceId(properties.id);\n                if (id !== null) {\n                  this.setId(id);\n                }\n              }\n\n              // convert relationship Records to RecordDatas before passing to RecordData\n              var defs = _store._relationshipsDefinitionFor(this.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            var additionalCreateOptions = this._recordData._initRecordCreateOptions(properties);\n            Ember.assign(createOptions, additionalCreateOptions);\n\n            // ensure that `getOwner(this)` works inside a model instance\n            Ember.setOwner(createOptions, Ember.getOwner(_store));\n            this._record = _store._modelFactoryFor(this.modelName).create(createOptions);\n            setRecordIdentifier(this._record, this.identifier);\n          }\n        }\n        this._triggerDeferredTriggers();\n      }\n      return this._record;\n    }\n    resetRecord() {\n      this._record = null;\n      this.isReloading = false;\n      this.error = null;\n      this.currentState = RootState$1.empty;\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._record.destroy();\n        }\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        Object.keys(this._manyArrayCache).forEach(key => {\n          var manyArray = this._retainedManyArrayCache[key] = this._manyArrayCache[key];\n          delete this._manyArrayCache[key];\n          if (manyArray && !manyArray._inverseIsAsync) {\n            /*\n              If the manyArray is for a sync relationship, we should clear it\n                to preserve the semantics of client-side delete.\n               It is likely in this case instead of retaining we should destroy\n                - @runspired\n            */\n            manyArray.clear();\n          }\n        });\n      }\n\n      // move to an empty never-loaded state\n      this.updateRecordArrays();\n      this._recordData.unloadRecord();\n      this.resetRecord();\n    }\n    deleteRecord() {\n      this.send('deleteRecord');\n    }\n    save(options) {\n      var promiseLabel = 'DS: Model#save ' + this;\n      var resolver = Ember.RSVP.defer(promiseLabel);\n      {\n        this.store.scheduleSave(this, resolver, options);\n        return resolver.promise;\n      }\n    }\n    startedReloading() {\n      this.isReloading = true;\n      if (this.hasRecord) {\n        Ember.set(this._record, 'isReloading', true);\n      }\n    }\n    finishedReloading() {\n      this.isReloading = false;\n      if (this.hasRecord) {\n        Ember.set(this._record, 'isReloading', false);\n      }\n    }\n    reload(options) {\n      {\n        this.startedReloading();\n        var _internalModel = this;\n        var promiseLabel = 'DS: Model#reload of ' + this;\n        return new Ember.RSVP.Promise(function (resolve) {\n          _internalModel.send('reloadRecord', {\n            resolve,\n            options\n          });\n        }, promiseLabel).then(function () {\n          _internalModel.didCleanError();\n          return _internalModel;\n        }, function (error) {\n          _internalModel.didError(error);\n          throw error;\n        }, 'DS: Model#reload complete, update flags').finally(function () {\n          _internalModel.finishedReloading();\n        });\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 = Ember.run.backburner.schedule('destroy', this, '_checkForOrphanedInternalModels');\n      }\n    }\n    hasScheduledDestroy() {\n      return !!this._scheduledDestroy;\n    }\n    cancelDestroy() {\n      ( !(!this.isDestroyed) && Ember.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      Ember.run.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.find(‘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    eachRelationship(callback, binding) {\n      return this.modelClass.eachRelationship(callback, binding);\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.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.get('isEmpty')) && Ember.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.get('isEmpty')));\n          return toReturn;\n        }\n      }\n    }\n\n    // TODO Igor consider getting rid of initial state\n    getManyArray(key, isAsync = false) {\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n      var jsonApi = this._recordData.getHasMany(key);\n      var manyArray = this._manyArrayCache[key];\n      ( !(!manyArray || !this._retainedManyArrayCache[key]) && Ember.assert(`Error: relationship ${this.modelName}:${key} has both many array and retained many array`, !manyArray || !this._retainedManyArrayCache[key]));\n      if (!manyArray) {\n        var initialState = this.store._getHasManyByJsonApiResource(jsonApi);\n        // TODO move this to a public api\n        var inverseIsAsync = jsonApi._relationship ? jsonApi._relationship._inverseIsAsync() : false;\n        manyArray = ManyArray.create({\n          store: this.store,\n          type: this.store.modelFor(relationshipMeta.type),\n          recordData: this._recordData,\n          meta: jsonApi.meta,\n          links:  jsonApi.links ,\n          key,\n          isPolymorphic: relationshipMeta.options.polymorphic,\n          initialState: initialState.slice(),\n          _inverseIsAsync: inverseIsAsync,\n          internalModel: this,\n          isLoaded: !isAsync\n        });\n        this._manyArrayCache[key] = manyArray;\n      }\n      if (this._retainedManyArrayCache[key]) {\n        this._retainedManyArrayCache[key].destroy();\n        delete this._retainedManyArrayCache[key];\n      }\n      return manyArray;\n    }\n    fetchAsyncHasMany(key, relationshipMeta, jsonApi, manyArray, options) {\n      // TODO @runspired follow up if parent isNew then we should not be attempting load here\n      var loadingPromise = this._relationshipPromisesCache[key];\n      if (loadingPromise) {\n        return loadingPromise;\n      }\n      loadingPromise = this.store._findHasManyByJsonApiResource(jsonApi, this, relationshipMeta, options).then(() => {\n        // TODO why don't we do this in the store method\n        manyArray.retrieveLatest();\n        manyArray.set('isLoaded', true);\n        return manyArray;\n      }).then(manyArray => handleCompletedRelationshipRequest(this, key, jsonApi._relationship, manyArray, null), e => handleCompletedRelationshipRequest(this, key, jsonApi._relationship, null, e));\n      this._relationshipPromisesCache[key] = loadingPromise;\n      return loadingPromise;\n    }\n    getHasMany(key, options) {\n      var jsonApi = this._recordData.getHasMany(key);\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n      var async = relationshipMeta.options.async;\n      var isAsync = typeof async === 'undefined' ? true : async;\n      var manyArray = this.getManyArray(key, isAsync);\n      if (isAsync) {\n        if (jsonApi._relationship.hasFailedLoadAttempt) {\n          return this._relationshipProxyCache[key];\n        }\n        var promise = this.fetchAsyncHasMany(key, relationshipMeta, jsonApi, manyArray, options);\n        return this._updatePromiseProxyFor('hasMany', key, {\n          promise,\n          content: manyArray\n        });\n      } else {\n        ( !(!manyArray.anyUnloaded()) && Ember.assert(`You looked up the '${key}' relationship on a '${this.type.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 })')`, !manyArray.anyUnloaded()));\n        return manyArray;\n      }\n    }\n    _updatePromiseProxyFor(kind, key, args) {\n      var promiseProxy = this._relationshipProxyCache[key];\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 = kind === 'hasMany' ? PromiseManyArray : 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      var loadingPromise = this._relationshipPromisesCache[key];\n      if (loadingPromise) {\n        return loadingPromise;\n      }\n      var jsonApi = this._recordData.getHasMany(key);\n      // TODO move this to a public api\n      if (jsonApi._relationship) {\n        jsonApi._relationship.setHasFailedLoadAttempt(false);\n        jsonApi._relationship.setShouldForceReload(true);\n      }\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n      var manyArray = this.getManyArray(key);\n      var promise = this.fetchAsyncHasMany(key, relationshipMeta, jsonApi, manyArray, options);\n      if (this._relationshipProxyCache[key]) {\n        return this._updatePromiseProxyFor('hasMany', key, {\n          promise\n        });\n      }\n      return promise;\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.setHasFailedLoadAttempt(false);\n        resource._relationship.setShouldForceReload(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')) && Ember.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      Object.keys(this._retainedManyArrayCache).forEach(key => {\n        this._retainedManyArrayCache[key].destroy();\n        delete this._retainedManyArrayCache[key];\n      });\n      internalModelFactoryFor(this.store).remove(this);\n      this._isDestroyed = true;\n    }\n    eachAttribute(callback, binding) {\n      return this.modelClass.eachAttribute(callback, binding);\n    }\n    inverseFor(key) {\n      return this.modelClass.inverseFor(key);\n    }\n    setupData(data) {\n      var changedKeys = this._recordData.pushData(data, this.hasRecord);\n      if (this.hasRecord) {\n        this._record._notifyProperties(changedKeys);\n      }\n      this.pushedData();\n    }\n    getAttributeValue(key) {\n      return this._recordData.getAttr(key);\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 Ember.Error(`Attempted to set '${key}' to '${value}' on the deleted record ${this}`);\n        }\n      }\n      var currentValue = this.getAttributeValue(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\n    /*\n      @method createSnapshot\n      @private\n    */\n    createSnapshot(options) {\n      return new Snapshot(options || {}, this.identifier, this.store);\n    }\n\n    /*\n      @method loadingData\n      @private\n      @param {Promise} promise\n    */\n    loadingData(promise) {\n      {\n        this.send('loadingData', promise);\n      }\n    }\n\n    /*\n      @method loadedData\n      @private\n    */\n    loadedData() {\n      this.send('loadedData');\n    }\n\n    /*\n      @method notFound\n      @private\n    */\n    notFound() {\n      this.send('notFound');\n    }\n\n    /*\n      @method pushedData\n      @private\n    */\n    pushedData() {\n      this.send('pushedData');\n    }\n    hasChangedAttributes() {\n      {\n        if (this.isLoading() && !this.isReloading) {\n          // no need to calculate changed attributes when calling `findRecord`\n          return false;\n        }\n      }\n      return this._recordData.hasChangedAttributes();\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      {\n        if (this.isLoading() && !this.isReloading) {\n          // no need to calculate changed attributes when calling `findRecord`\n          return {};\n        }\n      }\n      return this._recordData.changedAttributes();\n    }\n\n    /*\n      @method adapterWillCommit\n      @private\n    */\n    adapterWillCommit() {\n      this._recordData.willCommit();\n      this.send('willCommit');\n    }\n\n    /*\n      @method adapterDidDirty\n      @private\n    */\n    adapterDidDirty() {\n      this.send('becomeDirty');\n    }\n\n    /*\n      @method send\n      @private\n      @param {String} name\n      @param {Object} context\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    manyArrayRecordAdded(key) {\n      if (this.hasRecord) {\n        {\n          this._record.notifyHasManyAdded(key);\n        }\n      }\n    }\n    notifyHasManyChange(key) {\n      if (this.hasRecord) {\n        {\n          var manyArray = this._manyArrayCache[key];\n          if (manyArray) {\n            // TODO: this will \"resurrect\" previously unloaded records\n            // see test '1:many async unload many side'\n            //  in `tests/integration/records/unload-test.js`\n            //  probably we don't want to retrieve latest eagerly when notifyhasmany changed\n            //  but rather lazily when someone actually asks for a manyarray\n            //\n            //  that said, also not clear why we haven't moved this to retainedmanyarray so maybe that's the bit that's just not working\n            manyArray.retrieveLatest();\n          }\n        }\n      }\n    }\n    notifyBelongsToChange(key) {\n      if (this.hasRecord) {\n        {\n          this._record.notifyBelongsToChange(key, this._record);\n        }\n      }\n    }\n    hasManyRemovalCheck(key) {\n      var manyArray = this._manyArrayCache[key] || this._retainedManyArrayCache[key];\n      var didRemoveUnloadedModel = false;\n      if (manyArray) {\n        didRemoveUnloadedModel = manyArray.removeUnloadedInternalModel();\n        if (this._manyArrayCache[key] && didRemoveUnloadedModel) {\n          this._retainedManyArrayCache[key] = this._manyArrayCache[key];\n          delete this._manyArrayCache[key];\n        }\n      }\n      return didRemoveUnloadedModel;\n    }\n    notifyPropertyChange(key) {\n      if (this.hasRecord) {\n        {\n          this._record.notifyPropertyChange(key);\n        }\n      }\n      {\n        var manyArray = this._manyArrayCache[key] || this._retainedManyArrayCache[key];\n        if (manyArray) {\n          var didRemoveUnloadedModel = manyArray.removeUnloadedInternalModel();\n          if (this._manyArrayCache[key] && didRemoveUnloadedModel) {\n            this._retainedManyArrayCache[key] = this._manyArrayCache[key];\n            delete this._manyArrayCache[key];\n          }\n        }\n      }\n    }\n    notifyStateChange(key) {\n      ( Ember.assert('Cannot notify state change if Record Data State flag is not on', !!false));\n      if (this.hasRecord) {\n        {\n          if (!key || key === 'isNew') {\n            this.getRecord().notifyPropertyChange('isNew');\n          }\n          if (!key || key === 'isDeleted') {\n            this.getRecord().notifyPropertyChange('isDeleted');\n          }\n        }\n      }\n      if (!key || key === 'isDeletionCommitted') {\n        this.updateRecordArrays();\n      }\n    }\n    didCreateRecord() {\n      this._recordData.clientDidCreate();\n    }\n    rollbackAttributes() {\n      var dirtyKeys = this._recordData.rollbackAttributes();\n      if (Ember.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    /*\n      @method transitionTo\n      @private\n      @param {String} name\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      if (this.hasRecord) {\n        Ember.set(this._record, 'currentState', state);\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 ' + Ember.inspect(context) + '.';\n      }\n      throw new Ember.Error(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(isNew = false) {\n      this._recordData.removeFromInverseRelationships(isNew);\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       @method preloadData\n      @private\n      @param {Object} preload\n    */\n    preloadData(preload) {\n      var jsonPayload = {};\n      //TODO(Igor) consider the polymorphic case\n      Object.keys(preload).forEach(key => {\n        var preloadValue = Ember.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)) && Ember.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      Used to notify the store to update FilteredRecordArray membership.\n       @method updateRecordArrays\n      @private\n    */\n    updateRecordArrays() {\n      {\n        this.store.recordArrayManager.recordDidChange(this.identifier);\n      }\n    }\n    setId(id) {\n      var didChange = id !== this._id;\n      this._id = id;\n      Ember.set(this, '_tag', this._tag + 1);\n      if (didChange && id !== null) {\n        this.store.setRecordId(this.modelName, id, this.clientId);\n        // internal set of ID to get it to RecordData from DS.Model\n        if (this._recordData.__setId) {\n          this._recordData.__setId(id);\n        }\n      }\n      if (didChange && this.hasRecord) {\n        {\n          this.notifyPropertyChange('id');\n        }\n      }\n    }\n    didError(error) {\n      {\n        this.error = error;\n        this.isError = true;\n        if (this.hasRecord) {\n          this._record.setProperties({\n            isError: true,\n            adapterError: error\n          });\n        }\n      }\n    }\n    didCleanError() {\n      {\n        this.error = null;\n        this.isError = false;\n        if (this.hasRecord) {\n          this._record.setProperties({\n            isError: false,\n            adapterError: null\n          });\n        }\n      }\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       @method adapterDidCommit\n    */\n    adapterDidCommit(data) {\n      this.didCleanError();\n      var changedKeys = this._recordData.didCommit(data);\n      this.send('didCommit');\n      this.updateRecordArrays();\n      if (!data) {\n        return;\n      }\n      {\n        this._record._notifyProperties(changedKeys);\n      }\n    }\n    addErrorMessageToAttribute(attribute, message) {\n      Ember.get(this.getRecord(), 'errors')._add(attribute, message);\n    }\n    removeErrorMessageFromAttribute(attribute) {\n      Ember.get(this.getRecord(), 'errors')._remove(attribute);\n    }\n    clearErrorMessages() {\n      Ember.get(this.getRecord(), 'errors')._clear();\n    }\n    hasErrors() {\n      {\n        var _errors = Ember.get(this.getRecord(), 'errors');\n        return _errors.get('length') > 0;\n      }\n    }\n\n    // FOR USE DURING COMMIT PROCESS\n\n    /*\n      @method adapterDidInvalidate\n      @private\n    */\n    adapterDidInvalidate(parsedErrors, error) {\n      {\n        var _attribute;\n        for (_attribute in parsedErrors) {\n          if (hasOwnProperty.call(parsedErrors, _attribute)) {\n            this.addErrorMessageToAttribute(_attribute, parsedErrors[_attribute]);\n          }\n        }\n        this.send('becameInvalid');\n        this._recordData.commitWasRejected();\n      }\n    }\n    notifyErrorsChange() {\n      var invalidErrors;\n      if (this._recordData.getErrors) {\n        invalidErrors = this._recordData.getErrors(this.identifier) || [];\n      } else {\n        return;\n      }\n      this.notifyInvalidErrorsChange(invalidErrors);\n    }\n    notifyInvalidErrorsChange(jsonApiErrors) {\n      {\n        this.getRecord().invalidErrorsChanged(jsonApiErrors);\n      }\n    }\n\n    /*\n      @method adapterDidError\n      @private\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        // TODO IGOR AND DAVID REFACTOR\n        var relationship = relationshipStateFor$1(this, name);\n        if ( kind) {\n          var modelName = this.modelName;\n          ( !(!!relationship) && Ember.assert(`There is no ${kind} relationship named '${name}' on a model of modelClass '${modelName}'`, !!relationship));\n          var actualRelationshipKind = relationship.relationshipMeta.kind;\n          ( !(actualRelationshipKind === kind) && Ember.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.relationshipMeta.kind;\n        var identifierOrInternalModel;\n        {\n          identifierOrInternalModel = this.identifier;\n        }\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  {\n    // in production code, this is only accesssed in `record-array-manager`\n    // if REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT is also false\n    {\n      Object.defineProperty(InternalModel.prototype, '_recordArrays', {\n        get() {\n          return recordArraysForIdentifier(this.identifier);\n        }\n      });\n    }\n  }\n  function handleCompletedRelationshipRequest(internalModel, key, relationship, value, error) {\n    delete internalModel._relationshipPromisesCache[key];\n    relationship.setShouldForceReload(false);\n    if (error) {\n      relationship.setHasFailedLoadAttempt(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 && relationship.kind === 'belongsTo') {\n        if (proxy.content && proxy.content.isDestroying) {\n          proxy.set('content', null);\n        }\n      }\n      throw error;\n    }\n    relationship.setHasFailedLoadAttempt(false);\n    // only set to not stale if no error is thrown\n    relationship.setRelationshipIsStale(false);\n    return value;\n  }\n  function assertRecordsPassedToHasMany(records) {\n    // TODO only allow native arrays\n    ( !(Array.isArray(records) || Ember.Array.detect(records)) && Ember.assert(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records) || Ember.Array.detect(records)));\n    ( !(function () {\n      return Ember.A(records).every(record => hasOwnProperty.call(record, '_internalModel') === true);\n    }()) && Ember.assert(`All elements of a hasMany relationship must be instances of Model, you passed ${Ember.inspect(records)}`, function () {\n      return Ember.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) && Ember.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\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\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 new Map(Object.entries(attrs));\n    }\n    get relationshipsByName() {\n      var relationships = this.__store._relationshipsDefinitionFor(this.modelName);\n      return new Map(Object.entries(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    var snapshot = internalModel.createSnapshot(options);\n    var {\n      modelName\n    } = internalModel;\n    var promise = Ember.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)) && Ember.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)) && Ember.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      ( Ember.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.notFound();\n      if (internalModel.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 = Ember.A(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)) && Ember.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 = 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    });\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]: {\n          meta: payload.meta,\n          links: payload.links,\n          data: relationshipData\n        }\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        ( Ember.deprecate(message + '\\n', false, {\n          id: 'mismatched-inverse-relationship-data-from-payload',\n          until: '3.8'\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      payload.push(parentRelationshipData);\n    } else {\n      payload = relationshipData || {};\n      Ember.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)) && Ember.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      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      if (!payload.data) {\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 = Ember.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)) && Ember.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 = Ember.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)) && Ember.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      {\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      }\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 = Ember.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)) && Ember.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        id: 'ds.store.queryRecord-array-response'\n      }));\n      return store._push(payload);\n    }, null, `DS: Extract payload of queryRecord ${modelName}`);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   * Use this brand to assign a string key to an interface\n   * for mapping the interface to a tightly coupled internal\n   * class implementation.\n   *\n   * This allows us to expose the interface publicly but\n   * seamlessly upgrade these interfaces for our own use\n   * internally when internal methods and properties are\n   * needed.\n   *\n   * @internal\n   */\n\n  var BRAND_SYMBOL = symbol('DEBUG-ts-brand');\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   * Maps public interfaces to internal class implementations\n   *\n   * @internal\n   */\n\n  /**\n   * Casts a public interface to the matching internal class implementation\n   *\n   * @internal\n   */\n  function upgradeForInternal(external) {\n    return external;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  class RecordDataStoreWrapper {\n    constructor(_store) {\n      this._store = _store;\n      this[BRAND_SYMBOL] = void 0;\n      this._willUpdateManyArrays = void 0;\n      this._pendingManyArrayUpdates = void 0;\n      this._willUpdateManyArrays = false;\n      this._pendingManyArrayUpdates = [];\n    }\n    get identifierCache() {\n      return identifierCacheFor(this._store);\n    }\n\n    /**\n     * Exists so that DefaultRecordData can check for model types\n     * in DEBUG for relationships. Should be refactored away.\n     *\n     * @internal\n     */\n    _hasModelFor(type) {\n      return this._store._hasModelFor(type);\n    }\n\n    /**\n     * @internal\n     */\n    _scheduleManyArrayUpdate(identifier, key) {\n      var pending = this._pendingManyArrayUpdates = this._pendingManyArrayUpdates || [];\n      pending.push(identifier, key);\n      if (this._willUpdateManyArrays === true) {\n        return;\n      }\n      this._willUpdateManyArrays = true;\n      var backburner = this._store._backburner;\n      backburner.join(() => {\n        backburner.schedule('syncRelationships', this, this._flushPendingManyArrayUpdates);\n      });\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    _flushPendingManyArrayUpdates() {\n      if (this._willUpdateManyArrays === false) {\n        return;\n      }\n      var pending = this._pendingManyArrayUpdates;\n      this._pendingManyArrayUpdates = [];\n      this._willUpdateManyArrays = false;\n      var factory = internalModelFactoryFor(this._store);\n      for (var i = 0; i < pending.length; i += 2) {\n        var identifier = pending[i];\n        var _key = pending[i + 1];\n        var internalModel = factory.peek(identifier);\n        if (internalModel) {\n          internalModel.notifyHasManyChange(_key);\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 = upgradeForInternal(this.relationshipsDefinitionFor(type)[key]);\n      {\n        return definition._inverseKey(this._store, modelClass);\n      }\n    }\n    inverseIsAsyncForRelationship(type, key) {\n      var modelClass = this._store.modelFor(type);\n      var definition = upgradeForInternal(this.relationshipsDefinitionFor(type)[key]);\n      {\n        return definition._inverseIsAsync(this._store, modelClass);\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._scheduleManyArrayUpdate(identifier, key);\n    }\n    notifyBelongsToChange(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.notifyBelongsToChange(key);\n      }\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      return internalModel.isRecordInUse();\n    }\n    disconnectRecord(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.destroyFromRecordData();\n      }\n    }\n  }\n\n  var _RecordData;\n  var emberRun$2 = Ember.run.backburner;\n  var {\n    ENV\n  } = Ember;\n  var RECORD_REFERENCES = new WeakMap();\n  function freeze$1(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n  function deprecateTestRegistration(factoryType, factoryName) {\n    ( Ember.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    }));\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](../classes/Store/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](../classes/Store/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](../classes/Store/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    @class Store\n    @extends Ember.Service\n  */\n\n  class CoreStore extends Ember.Service {\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      @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       */\n      this._backburner = backburner;\n      this.recordArrayManager = new RecordArrayManager$1({\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 relationship updates\n      this._updatedRelationships = [];\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        {\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 = Ember.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$1(`@ember-data/serializer/-private`)[Mapping[attributeType]];\n              owner.register(`transform:${attributeType}`, Transform);\n              shouldWarn = true;\n            }\n          });\n          if (shouldWarn) {\n            ( Ember.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            }));\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$1({\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        Ember.Test.registerWaiter(this.__asyncWaiter);\n      }\n    }\n    getRequestStateService() {\n      assertInDebug('RequestService is not available unless the feature flag is on and running on a canary build', false);\n    }\n    get identifierCache() {\n      return identifierCacheFor(this);\n    }\n    _instantiateRecord(internalModel, modelName, recordData, identifier, properties) {\n      assertInDebug('should not be here, custom model class ff error', false);\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      assertInDebug('need to enable CUSTOM_MODEL_CLASS feature flag in order to access SchemaDefinitionService', false);\n    }\n\n    // TODO Double check this return value is correct\n    _relationshipMetaFor(modelName, id, key) {\n      return this._relationshipsDefinitionFor(modelName)[key];\n    }\n    modelFor(modelName) {\n      {\n        assertDestroyedStoreOnly(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     @private\n    */\n    _hasModelFor(modelName) {\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's hasModelFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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      @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(this, 'createRecord');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's createRecord method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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 emberRun$2.join(() => {\n        return this._backburner.join(() => {\n          var normalizedModelName = normalizeModelName(modelName);\n          var properties = Ember.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 (Ember.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.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      @param {Model} record\n    */\n    deleteRecord(record) {\n      {\n        assertDestroyingStore(this, 'deleteRecord');\n      }\n      {\n        record.deleteRecord();\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      @param {Model} record\n    */\n    unloadRecord(record) {\n      {\n        assertDestroyingStore(this, 'unloadRecord');\n      }\n      {\n        record.unloadRecord();\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(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) && Ember.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) && Ember.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) && Ember.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') && Ember.assert(`You cannot pass '${id}' as id to the store's find method`, typeof id === 'string' || typeof id === 'number'));\n      ( !(typeof id !== 'object') && Ember.assert(`Calling store.find() with a query object is no longer supported. Use store.query() instead.`, typeof id !== 'object'));\n      ( !(typeof modelName === 'string') && Ember.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](../classes/Store/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      @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(this, 'findRecord');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's findRecord method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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 Ember.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 Ember.RSVP.Promise.resolve(internalModel);\n    }\n    _findByInternalModel(internalModel, options = {}) {\n      if (options.preload) {\n        internalModel.preloadData(options.preload);\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.isEmpty()) {\n        return this._scheduleFetch(internalModel, options);\n      }\n\n      //TODO double check about reloading\n      {\n        if (internalModel.isLoading()) {\n          return internalModel._promiseProxy;\n        }\n      }\n      return Ember.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(this, 'findByIds');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's findByIds method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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(Ember.RSVP.all(promises).then(Ember.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) && Ember.assert(`You tried to find a record but you have no adapter (for ${modelName})`, adapter));\n      ( !(typeof adapter.findRecord === 'function') && Ember.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.type, 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 Ember.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.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.notFound();\n        if (internalModel.isEmpty()) {\n          internalModel.unloadRecord();\n        }\n        throw error;\n      });\n    }\n    _scheduleFetch(internalModel, options) {\n      {\n        if (internalModel._promiseProxy) {\n          return internalModel._promiseProxy;\n        }\n        var {\n          id,\n          modelName\n        } = internalModel;\n        var resolver = Ember.RSVP.defer(`Fetching ${modelName}' with id: ${id}`);\n        var pendingFetchItem = {\n          internalModel,\n          resolver,\n          options\n        };\n        {\n          if (this.generateStackTracesForTrackedRequests === true) {\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        internalModel.loadingData(promise);\n        if (this._pendingFetch.size === 0) {\n          emberRun$2.schedule('actions', this, this.flushAllPendingFetches);\n        }\n        var fetches = this._pendingFetch;\n        var pending = fetches.get(modelName);\n        if (pending === undefined) {\n          pending = [];\n          fetches.set(modelName, pending);\n        }\n        pending.push(pendingFetchItem);\n        return promise;\n      }\n    }\n    flushAllPendingFetches() {\n      {\n        if (this.isDestroyed || this.isDestroying) {\n          return;\n        }\n        this._pendingFetch.forEach(this._flushPendingFetchForType, this);\n        this._pendingFetch.clear();\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          ( Ember.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          snapshots[_i5] = internalModels[_i5].createSnapshot(optionsMap.get(internalModel));\n        }\n        var groups;\n        if (adapter.groupRecordsForFindMany) {\n          groups = adapter.groupRecordsForFindMany(this, snapshots);\n        } else {\n          groups = [snapshots];\n        }\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            ( Ember.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false));\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      @param {String} modelName\n      @param {String|Integer} id\n      @since 2.5.0\n      @return {RecordReference}\n    */\n    getReference(modelName, id) {\n      {\n        assertDestroyingStore(this, 'getReference');\n      }\n      var type = normalizeModelName(modelName);\n      var normalizedId = ensureStringId(id);\n      var resource = constructResource(type, normalizedId);\n      {\n        var _identifier3 = identifierCacheFor(this).getOrCreateRecordIdentifier(resource);\n        if (_identifier3) {\n          if (RECORD_REFERENCES.has(_identifier3)) {\n            return RECORD_REFERENCES.get(_identifier3);\n          }\n          var reference = new RecordReference(this, _identifier3);\n          RECORD_REFERENCES.set(_identifier3, reference);\n          return reference;\n        }\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](../classes/Store/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      @param {String} modelName\n      @param {String|Integer} id\n      @return {Model|null} record\n    */\n    peekRecord(modelName, id) {\n      {\n        assertDestroyingStore(this, 'peekRecord');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's peekRecord method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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      var {\n        id,\n        modelName\n      } = internalModel;\n      var adapter = this.adapterFor(modelName);\n      ( !(id) && Ember.assert(`You cannot reload a record without an ID`, id));\n      ( !(adapter) && Ember.assert(`You tried to reload a record but you have no adapter (for ${modelName})`, adapter));\n      ( !(typeof adapter.findRecord === 'function' || typeof adapter.find === 'function') && Ember.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      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Boolean}\n    */\n    hasRecordForId(modelName, id) {\n      {\n        assertDestroyingStore(this, 'hasRecordForId');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's hasRecordForId method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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.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(this, 'recordForId');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's recordForId method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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(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 Ember.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(this, 'findHasMany');\n      }\n      var adapter = this.adapterFor(internalModel.modelName);\n      ( !(adapter) && Ember.assert(`You tried to load a hasMany relationship but you have no adapter (for ${internalModel.modelName})`, adapter));\n      ( !(typeof adapter.findHasMany === 'function') && Ember.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, relationshipMeta, options) {\n      if (!resource) {\n        return Ember.RSVP.resolve([]);\n      }\n      var adapter = this.adapterFor(relationshipMeta.type);\n      var {\n        relationshipIsStale,\n        hasDematerializedInverse,\n        hasAnyRelationshipData,\n        relationshipIsEmpty,\n        shouldForceReload\n      } = resource._relationship;\n      var allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this, resource);\n      var shouldFindViaLink = resource.links && resource.links.related && (typeof adapter.findHasMany === 'function' || typeof resource.data === 'undefined') && (shouldForceReload || hasDematerializedInverse || relationshipIsStale || !allInverseRecordsAreLoaded && !relationshipIsEmpty);\n\n      // fetch via link\n      if (shouldFindViaLink) {\n        return this.findHasMany(parentInternalModel, resource.links.related, relationshipMeta, options);\n      }\n      var preferLocalCache = hasAnyRelationshipData && !relationshipIsEmpty;\n      var hasLocalPartialData = hasDematerializedInverse || relationshipIsEmpty && Array.isArray(resource.data) && resource.data.length > 0;\n\n      // fetch using data, pulling from local cache if possible\n      if (!shouldForceReload && !relationshipIsStale && (preferLocalCache || hasLocalPartialData)) {\n        var internalModels = resource.data.map(json => this._internalModelForResource(json));\n        return this.findMany(internalModels, options);\n      }\n      var hasData = hasAnyRelationshipData && !relationshipIsEmpty;\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 Ember.RSVP.resolve([]);\n    }\n    _getHasManyByJsonApiResource(resource) {\n      var internalModels = [];\n      if (resource && resource.data) {\n        internalModels = resource.data.map(reference => this._internalModelForResource(reference));\n      }\n      return internalModels;\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(this, 'findBelongsTo');\n      }\n      var adapter = this.adapterFor(internalModel.modelName);\n      ( !(adapter) && Ember.assert(`You tried to load a belongsTo relationship but you have no adapter (for ${internalModel.modelName})`, adapter));\n      ( !(typeof adapter.findBelongsTo === 'function') && Ember.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 Ember.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 Ember.RSVP.resolve(null);\n      }\n      var internalModel = resource.data ? this._internalModelForResource(resource.data) : null;\n      var {\n        relationshipIsStale,\n        hasDematerializedInverse,\n        hasAnyRelationshipData,\n        relationshipIsEmpty,\n        shouldForceReload\n      } = resource._relationship;\n      var allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this, resource);\n      var shouldFindViaLink = resource.links && resource.links.related && (shouldForceReload || hasDematerializedInverse || relationshipIsStale || !allInverseRecordsAreLoaded && !relationshipIsEmpty);\n      if (internalModel) {\n        // short circuit if we are already loading\n        {\n          if (internalModel.isLoading()) {\n            return internalModel._promiseProxy.then(() => {\n              return internalModel.getRecord();\n            });\n          }\n        }\n      }\n\n      // fetch via link\n      if (shouldFindViaLink) {\n        return this._fetchBelongsToLinkFromResource(resource, parentInternalModel, relationshipMeta, options);\n      }\n      var preferLocalCache = hasAnyRelationshipData && allInverseRecordsAreLoaded && !relationshipIsEmpty;\n      var hasLocalPartialData = hasDematerializedInverse || relationshipIsEmpty && 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 && !relationshipIsStale && (preferLocalCache || hasLocalPartialData)) {\n        /*\n          We have canonical data, but our local state is empty\n         */\n        if (localDataIsEmpty) {\n          return Ember.RSVP.resolve(null);\n        }\n        return this._findByInternalModel(internalModel, options);\n      }\n      var resourceIsLocal = !localDataIsEmpty && resource.data.id === null;\n      if (internalModel && resourceIsLocal) {\n        return Ember.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 Ember.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      @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(this, 'query');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's query method`, Ember.isPresent(modelName)));\n      ( !(query) && Ember.assert(`You need to pass a query hash to the store's query method`, query));\n      ( !(typeof modelName === 'string') && Ember.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      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's query method`, Ember.isPresent(modelName)));\n      ( !(query) && Ember.assert(`You need to pass a query hash to the store's query method`, query));\n      ( !(typeof modelName === 'string') && Ember.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) && Ember.assert(`You tried to load a query but you have no adapter (for ${modelName})`, adapter));\n      ( !(typeof adapter.query === 'function') && Ember.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`](../classes/Store/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      @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(this, 'queryRecord');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's queryRecord method`, Ember.isPresent(modelName)));\n      ( !(query) && Ember.assert(`You need to pass a query hash to the store's queryRecord method`, query));\n      ( !(typeof modelName === 'string') && Ember.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) && Ember.assert(`You tried to make a query but you have no adapter (for ${normalizedModelName})`, adapter));\n      ( !(typeof adapter.queryRecord === 'function') && Ember.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](../classes/Store/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](../classes/Store/methods/query?anchor=query) to only get a subset of records from the server.\n       @since 1.13.0\n      @method findAll\n      @param {String} modelName\n      @param {Object} options\n      @return {Promise} promise\n    */\n    findAll(modelName, options) {\n      {\n        assertDestroyingStore(this, 'findAll');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's findAll method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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) && Ember.assert(`You tried to load all records but you have no adapter (for ${modelName})`, adapter));\n      ( !(typeof adapter.findAll === 'function') && Ember.assert(`You tried to load all records but your adapter does not implement 'findAll'`, typeof adapter.findAll === 'function'));\n      if (options.reload) {\n        Ember.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          Ember.set(array, 'isUpdating', true);\n          return promiseArray(_findAll(adapter, this, modelName, options));\n        }\n      }\n      if (options.backgroundReload === false) {\n        return promiseArray(Ember.RSVP.Promise.resolve(array));\n      }\n      if (options.backgroundReload || !adapter.shouldBackgroundReloadAll || adapter.shouldBackgroundReloadAll(this, snapshotArray)) {\n        Ember.set(array, 'isUpdating', true);\n        _findAll(adapter, this, modelName, options);\n      }\n      return promiseArray(Ember.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](../classes/Store/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      @param {String} modelName\n      @return {RecordArray}\n    */\n    peekAll(modelName) {\n      {\n        assertDestroyingStore(this, 'peekAll');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's peekAll method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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      @param {String} modelName\n    */\n    unloadAll(modelName) {\n      {\n        assertDestroyedStoreOnly(this, 'unloadAll');\n      }\n      ( !(!modelName || typeof modelName === 'string') && Ember.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        factory.clear();\n      } else {\n        var normalizedModelName = normalizeModelName(modelName);\n        factory.clear(normalizedModelName);\n      }\n    }\n    filter() {\n      ( Ember.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      var snapshot = internalModel.createSnapshot(options);\n      if (internalModel._isRecordFullyDeleted()) {\n        resolver.resolve();\n        return resolver.promise;\n      }\n      internalModel.adapterWillCommit();\n      this._pendingSave.push({\n        snapshot: snapshot,\n        resolver: resolver\n      });\n      emberRun$2.scheduleOnce('actions', this, this.flushPendingSave);\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      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        var snapshot = pendingItem.snapshot;\n        var resolver = pendingItem.resolver;\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 adapter = this.adapterFor(internalModel.modelName);\n        var operation = void 0;\n        {\n          if (internalModel.currentState.stateName === 'root.deleted.saved') {\n            resolver.resolve();\n            continue;\n          } else if (internalModel.isNew()) {\n            operation = 'createRecord';\n          } else if (internalModel.isDeleted()) {\n            operation = 'deleteRecord';\n          } else {\n            operation = 'updateRecord';\n          }\n        }\n        resolver.resolve(_commit(adapter, this, operation, snapshot));\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(this, 'didSaveRecord');\n      }\n      var data;\n      if (dataArg) {\n        data = dataArg.data;\n      }\n      if (!data) {\n        ( !(internalModel.id) && Ember.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(this, 'recordWasInvalid');\n      }\n      {\n        internalModel.adapterDidInvalidate(parsedErrors);\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(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(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        {\n          this.recordArrayManager.recordDidChange(identifier);\n        }\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](../classes/Store/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      @param {Object} data\n      @return the record(s) that was created or\n        updated.\n    */\n\n    push(data) {\n      {\n        assertDestroyingStore(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(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        ( !(Ember.typeOf(jsonApiDoc.data) === 'object') && Ember.assert(`Expected an object in the 'data' property in a call to 'push' for ${jsonApiDoc.type}, but was ${Ember.typeOf(jsonApiDoc.data)}`, Ember.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 !== '') && Ember.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)) && Ember.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 modelClass = this.modelFor(modelName);\n            // Check unknown attributes\n            unknownAttributes = Object.keys(data.attributes || {}).filter(key => {\n              return !Ember.get(modelClass, 'fields').has(key);\n            });\n\n            // Check unknown relationships\n            unknownRelationships = Object.keys(data.relationships || {}).filter(key => {\n              return !Ember.get(modelClass, 'fields').has(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          ( Ember.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          ( Ember.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      @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(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') && Ember.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') && Ember.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) && Ember.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     * @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      assertInDebug('serializeRecord is only available when CUSTOM_MODEL_CLASS ff is on', false);\n    }\n    saveRecord(record, options) {\n      assertInDebug('saveRecord is only available when CUSTOM_MODEL_CLASS ff is on', false);\n    }\n    relationshipReferenceFor(identifier, key) {\n      assertInDebug('relationshipReferenceFor is only available when CUSTOM_MODEL_CLASS ff is on', false);\n    }\n\n    /**\n     * @internal\n     */\n    _createRecordData(identifier) {\n      return this.createRecordDataFor(identifier.type, identifier.id, identifier.lid, this._storeWrapper);\n    }\n\n    /**\n     * Instantiation hook allowing applications or addons to configure the store\n     * to utilize a custom RecordData implementation.\n     *\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$1('@ember-data/record-data/-private').RecordData;\n        }\n        var _identifier6 = identifierCacheFor(this).getOrCreateRecordIdentifier({\n          type: modelName,\n          id,\n          lid: clientId\n        });\n        return new _RecordData(_identifier6, 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.loadedData();\n        internalModel.didCreateRecord();\n      } else {\n        internalModel = internalModelFactoryFor(this).lookup(identifier);\n      }\n      return recordDataFor(internalModel);\n    }\n\n    /**\n      `normalize` converts a json payload into the normalized form that\n      [push](../classes/Store/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      @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(this, 'normalize');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's normalize method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${Ember.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) && Ember.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      assertInDebug(`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(this, 'adapterFor');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's adapterFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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 = Ember.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$1('@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        Ember.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        Ember.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$1('@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        Ember.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) && Ember.assert(`No adapter was found for '${modelName}' and no 'application' adapter was found as a fallback.`, adapter !== undefined));\n      Ember.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(this, 'serializerFor');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's serializerFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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 = Ember.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$1('@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$1('@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$1('@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        Ember.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        Ember.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 = Ember.get(adapter, 'defaultSerializer');\n        ( !(!serializerName) && Ember.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        }));\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$1('@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$1('@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$1('@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          Ember.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$1('@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) && Ember.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        }));\n        ( !(serializer !== undefined) && Ember.assert(`No serializer was found for '${modelName}' and no 'application' serializer was found as a fallback`, serializer !== undefined));\n        Ember.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      return super.destroy();\n    }\n    willDestroy() {\n      super.willDestroy();\n      this.recordArrayManager.destroy();\n      identifierCacheFor(this).destroy();\n      this.unloadAll();\n      {\n        Ember.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            ( Ember.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    _updateRelationshipState(relationship) {\n      if (this._updatedRelationships.push(relationship) !== 1) {\n        return;\n      }\n      this._backburner.join(() => {\n        this._backburner.schedule('syncRelationships', this, this._flushUpdatedRelationships);\n      });\n    }\n    _flushUpdatedRelationships() {\n      var updated = this._updatedRelationships;\n      for (var i = 0, l = updated.length; i < l; i++) {\n        updated[i].flushCanonical();\n      }\n      updated.length = 0;\n    }\n    _updateInternalModel(internalModel) {\n      if (this._updatedInternalModels.push(internalModel) !== 1) {\n        return;\n      }\n      emberRun$2.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    Ember.defineProperty(CoreStore.prototype, 'defaultAdapter', Ember.computed('adapter', function () {\n      ( Ember.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      }));\n      var adapter = this.adapter || '-json-api';\n      ( !(typeof adapter === 'string') && Ember.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  function _commit(adapter, store, operation, snapshot) {\n    var internalModel = snapshot._internalModel;\n    var modelName = snapshot.modelName;\n    var modelClass = store.modelFor(modelName);\n    ( !(adapter) && Ember.assert(`You tried to update a record but you have no adapter (for ${modelName})`, adapter));\n    ( !(typeof adapter[operation] === 'function') && Ember.assert(`You tried to update a record but your adapter (for ${modelName}) does not implement '${operation}'`, typeof adapter[operation] === 'function'));\n    var promise = Ember.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) && Ember.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    return promise.then(adapterPayload => {\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      store._backburner.join(() => {\n        var payload, data, sideloaded;\n        if (adapterPayload) {\n          payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n          if (payload.included) {\n            sideloaded = payload.included;\n          }\n          data = payload.data;\n        }\n        store.didSaveRecord(internalModel, {\n          data\n        }, operation);\n        // seems risky, but if the tests pass might be fine?\n        if (sideloaded) {\n          store._push({\n            data: null,\n            included: sideloaded\n          });\n        }\n      });\n      return internalModel;\n    }, function (error) {\n      if (error && error.isAdapterError === true && error.code === 'InvalidError') {\n        var parsedErrors;\n        if (typeof serializer.extractErrors === 'function') {\n          parsedErrors = serializer.extractErrors(store, modelClass, error, snapshot.id);\n        } else {\n          parsedErrors = errorsArrayToHash(error.errors);\n        }\n        store.recordWasInvalid(internalModel, parsedErrors, error);\n      } else {\n        store.recordWasError(internalModel, error);\n      }\n      throw error;\n    }, label);\n  }\n  var assertDestroyingStore;\n  var assertDestroyedStoreOnly;\n  {\n    assertDestroyingStore = function assertDestroyedStore(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        ( !(!(store.isDestroying || store.isDestroyed)) && Ember.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        }));\n      } else {\n        ( !(!(store.isDestroying || store.isDestroyed)) && Ember.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) && Ember.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        }));\n      } else {\n        ( !(!store.isDestroyed) && Ember.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   * @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).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.isEmpty();\n      }\n    }\n  }\n  function internalModelForRelatedResource(store, cache, resource) {\n    var identifier = cache.getOrCreateRecordIdentifier(resource);\n    return store._internalModelForResource(identifier);\n  }\n  function assertInDebug(msg, cond = false) {\n    if ( cond) {\n      throw new Error(msg);\n    }\n  }\n  function assertIdentifierHasId(identifier) {\n    assertInDebug(`Attempted to schedule a fetch for a record without an id.`, identifier.id === null);\n  }\n\n  function notifyChanges(identifier, value, record, store) {\n    if (value === 'attributes') {\n      record.eachAttribute(key => {\n        var currentValue = Ember.cacheFor(record, key);\n        var internalModel = store._internalModelForResource(identifier);\n        if (currentValue !== internalModel._recordData.getAttr(key)) {\n          record.notifyPropertyChange(key);\n        }\n      });\n    } else if (value === 'relationships') {\n      record.eachRelationship((key, meta) => {\n        var internalModel = store._internalModelForResource(identifier);\n        if (meta.kind === 'belongsTo') {\n          record.notifyPropertyChange(key);\n        } else if (meta.kind === 'hasMany') {\n          if (meta.options.async) {\n            record.notifyPropertyChange(key);\n            internalModel.hasManyRemovalCheck(key);\n          }\n          if (internalModel._manyArrayCache[key]) {\n            internalModel._manyArrayCache[key].retrieveLatest();\n          }\n        }\n      });\n    } else if (value === 'errors') {\n      var internalModel = store._internalModelForResource(identifier);\n      //TODO guard\n      var errors = internalModel._recordData.getErrors(identifier);\n      record.invalidErrorsChanged(errors);\n    } else if (value === 'state') {\n      record.notifyPropertyChange('isNew');\n      record.notifyPropertyChange('isDeleted');\n    } else if (value === 'identity') {\n      record.notifyPropertyChange('id');\n    }\n  }\n\n  var _modelForMixin;\n  {\n    var _found$1;\n    _modelForMixin = function () {\n      if (!_found$1) {\n        _found$1 = require$1('@ember-data/model/-private')._modelForMixin;\n      }\n      return _found$1(...arguments);\n    };\n  }\n\n  /**\n   *\n   * @param store\n   * @param cache modelFactoryCache\n   * @param normalizedModelName already normalized modelName\n   * @return {*}\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 = Ember.getOwner(store);\n    return owner.factoryFor(`model:${normalizedModelName}`);\n  }\n\n  /**\n    The store service 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    By default, applications will have a single `Store` service that is\n    automatically created.\n\n    The store can be customized by extending the service in the following manner:\n\n    ```app/services/store.js\n    import Store from '@ember-data/store';\n\n    export default class MyStore extends Store {}\n    ```\n\n    You can retrieve models from the store in several ways. To retrieve a record\n    for a specific id, use the `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 DS from 'ember-data';\n\n    export default Adapter.extend({\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](../classes/Store/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](../classes/Store/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](../classes/Store/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    @class Store\n    @main @ember-data/store\n    @extends Ember.Service\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        currentState: internalModel.currentState,\n        container: null\n      };\n      Ember.assign(createOptions, createRecordArgs);\n\n      // ensure that `getOwner(this)` works inside a model instance\n      Ember.setOwner(createOptions, Ember.getOwner(this));\n      delete createOptions.container;\n      var record = this._modelFactoryFor(modelName).create(createOptions);\n      //todo optimize\n      notificationManager.subscribe(identifier, (identifier, value) => notifyChanges(identifier, value, record, this));\n      return record;\n    }\n    teardownRecord(record) {\n      record.destroy();\n    }\n\n    /**\n    Returns the model class for the particular `modelName`.\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    @param {String} modelName\n    @return {Model}\n      */\n    modelFor(modelName) {\n      {\n        assertDestroyedStoreOnly$1(this, 'modelFor');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's modelFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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        {\n          throw new Ember.Error(`No model was found for '${modelName}' and no schema handles the type`);\n        }\n      } else {\n        return klass;\n      }\n    }\n    _modelFactoryFor(modelName) {\n      {\n        assertDestroyedStoreOnly$1(this, '_modelFactoryFor');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's _modelFactoryFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.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\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     @private\n    */\n    _hasModelFor(modelName) {\n      {\n        assertDestroyingStore$1(this, '_hasModelFor');\n      }\n      ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's hasModelFor method`, Ember.isPresent(modelName)));\n      ( !(typeof modelName === 'string') && Ember.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      {\n        ( !(Ember.isPresent(modelName)) && Ember.assert(`You need to pass a model name to the store's hasModelFor method`, Ember.isPresent(modelName)));\n        ( !(typeof modelName === 'string') && Ember.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 !== null;\n      }\n    }\n    _relationshipMetaFor(modelName, id, key) {\n      {\n        var modelClass = this.modelFor(modelName);\n        var relationshipsByName = Ember.get(modelClass, 'relationshipsByName');\n        return relationshipsByName.get(key);\n      }\n    }\n    _attributesDefinitionFor(modelName, identifier) {\n      {\n        var attributes = this._attributesDefCache[modelName];\n        if (attributes === undefined) {\n          var modelClass = this.modelFor(modelName);\n          var attributeMap = Ember.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    _relationshipsDefinitionFor(modelName, identifier) {\n      {\n        var relationships = this._relationshipsDefCache[modelName];\n        if (relationships === undefined) {\n          var modelClass = this.modelFor(modelName);\n          relationships = Ember.get(modelClass, 'relationshipsObject') || null;\n          this._relationshipsDefCache[modelName] = relationships;\n        }\n        return relationships;\n      }\n    }\n    getSchemaDefinitionService() {\n      {\n        throw 'schema service is only available when custom model class feature flag is on';\n      }\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)) && Ember.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        }));\n      } else {\n        ( !(!(store.isDestroying || store.isDestroyed)) && Ember.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) && Ember.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        }));\n      } else {\n        ( !(!store.isDestroyed) && Ember.assert(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed));\n      }\n    };\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    @method diffArray\n    @private\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  function typeForRelationshipMeta(meta) {\n    var modelName;\n    modelName = meta.type || meta.key;\n    modelName = normalizeModelName(modelName);\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.meta = meta;\n      this[BRAND_SYMBOL] = void 0;\n      this._type = '';\n      this.__inverseKey = '';\n      this.__inverseIsAsync = true;\n      this.__hasCalculatedInverse = false;\n      this.parentModelName = void 0;\n      this.inverse = void 0;\n      this.inverseIsAsync = void 0;\n      this.parentModelName = meta.parentModelName;\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  exports.AdapterPopulatedRecordArray = AdapterPopulatedRecordArray$1;\n  exports.DeprecatedEvented = DeprecatedEvented$1;\n  exports.InternalModel = InternalModel;\n  exports.PromiseArray = PromiseArray;\n  exports.PromiseObject = PromiseObject;\n  exports.RecordArray = RecordArray$1;\n  exports.RecordArrayManager = RecordArrayManager$1;\n  exports.RecordDataStoreWrapper = RecordDataStoreWrapper;\n  exports.RootState = RootState$1;\n  exports.Snapshot = Snapshot;\n  exports.SnapshotRecordArray = SnapshotRecordArray;\n  exports.Store = Store;\n  exports._bind = _bind;\n  exports._guard = _guard;\n  exports._objectIsAlive = _objectIsAlive;\n  exports.addSymbol = addSymbol;\n  exports.coerceId = coerceId;\n  exports.diffArray = diffArray;\n  exports.errorsArrayToHash = errorsArrayToHash;\n  exports.errorsHashToArray = errorsHashToArray;\n  exports.guardDestroyedStore = guardDestroyedStore;\n  exports.identifierCacheFor = identifierCacheFor;\n  exports.normalizeModelName = normalizeModelName;\n  exports.recordDataFor = recordDataFor;\n  exports.recordIdentifierFor = recordIdentifierFor;\n  exports.relationshipFromMeta = relationshipFromMeta;\n  exports.setIdentifierForgetMethod = setIdentifierForgetMethod;\n  exports.setIdentifierGenerationMethod = setIdentifierGenerationMethod;\n  exports.setIdentifierResetMethod = setIdentifierResetMethod;\n  exports.setIdentifierUpdateMethod = setIdentifierUpdateMethod;\n  exports.symbol = symbol;\n  exports.typeForRelationshipMeta = typeForRelationshipMeta;\n  exports.upgradeForInternal = upgradeForInternal;\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/component/index\", [\"exports\", \"@ember-decorators/utils/collapse-proto\", \"@ember-decorators/utils/decorator\"], function (_exports, _collapseProto, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.tagName = _exports.layout = _exports.classNames = _exports.classNameBindings = _exports.className = _exports.attributeBindings = _exports.attribute = void 0;\n  /**\n    Decorator which indicates that the field or computed should be bound\n    to an attribute value on the component. This replaces `attributeBindings`\n    by directly allowing you to specify which properties should be bound.\n    ```js\n    export default class AttributeDemoComponent extends Component {\n      @attribute role = 'button';\n      // With provided attribute name\n      @attribute('data-foo') foo = 'lol';\n      @attribute\n      @computed\n      get id() {\n        // return generated id\n      }\n    }\n    ```\n    @function\n    @param {string} name? - The name of the attribute to bind the value to if it is truthy\n  */\n  const attribute = _exports.attribute = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (true && !(params.length <= 1) && Ember.assert(`The @attribute decorator may take up to one parameter, the bound attribute name. Received: ${params.length}`, params.length <= 1));\n    (true && !(params.every(s => typeof s === 'string')) && Ember.assert(`The @attribute decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n    if (!target.hasOwnProperty('attributeBindings')) {\n      let parentValue = target.attributeBindings;\n      target.attributeBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n    let binding = params[0] ? `${key}:${params[0]}` : key;\n    target.attributeBindings.push(binding);\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n    return desc;\n  });\n\n  /**\n    Decorator which indicates that the field or computed should be bound to\n    the component class names. This replaces `classNameBindings` by directly\n    allowing you to specify which properties should be bound.\n    ```js\n    export default class ClassNameDemoComponent extends Component {\n      @className boundField = 'default-class';\n      // With provided true/false class names\n      @className('active', 'inactive') isActive = true;\n      @className\n      @computed\n      get boundComputed() {\n        // return generated class\n      }\n    }\n    ```\n    @function\n    @param {string} truthyName? - The class to be applied if the value the field\n                                  is truthy, defaults to the name of the field.\n    @param {string} falsyName? - The class to be applied if the value of the field\n                                 is falsy.\n  */\n  const className = _exports.className = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (true && !(params.length <= 2) && Ember.assert(`The @className decorator may take up to two parameters, the truthy class and falsy class for the class binding. Received: ${params.length}`, params.length <= 2));\n    (true && !(params.every(s => typeof s === 'string')) && Ember.assert(`The @className decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n    if (!target.hasOwnProperty('classNameBindings')) {\n      let parentValue = target.classNameBindings;\n      target.classNameBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n    let binding = params.length > 0 ? `${key}:${params.join(':')}` : key;\n    target.classNameBindings.push(binding);\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n    return desc;\n  });\n  function concattedPropDecorator(propName) {\n    return (0, _decorator.decoratorWithRequiredParams)((target, propValues) => {\n      (true && !(propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)) && Ember.assert(`The @${propName} decorator must be provided strings, received: ${propValues}`, propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)));\n      (0, _collapseProto.default)(target.prototype);\n      if (propName in target.prototype) {\n        let parentValues = target.prototype[propName];\n        propValues.unshift(...parentValues);\n      }\n      target.prototype[propName] = propValues;\n      return target;\n    }, propName);\n  }\n\n  /**\n    Class decorator which specifies the class names to be applied to a component.\n    This replaces the `classNames` property on components in the traditional Ember\n    object model.\n    ```js\n    @classNames('a-static-class', 'another-static-class')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNames - The list of classes to be applied to the component\n  */\n  const classNames = _exports.classNames = concattedPropDecorator('classNames');\n\n  /**\n    Class decorator which specifies the class name bindings to be applied to a\n    component. This replaces the `classNameBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @classNameBindings('aDynamicProperty:truthy-class-name:falsy-class-name')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNameBindings - The list of class name bindings to be applied to the component\n  */\n  const classNameBindings = _exports.classNameBindings = concattedPropDecorator('classNameBindings');\n\n  /**\n    Class decorator which specifies the attribute bindings to be applied to a\n    component. This replaces the `attributeBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @attributeBindings('role', 'aProperty:a-different-attribute')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} attributeBindings - The list of attribute bindings to be applied to the component\n  */\n  const attributeBindings = _exports.attributeBindings = concattedPropDecorator('attributeBindings');\n\n  /**\n    Class decorator which specifies the tag name of the component. This replaces\n    the `tagName` property on components in the traditional Ember object model.\n    ```js\n    @tagName('button')\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    @function\n    @param {string} tagName - The HTML tag to be used for the component\n  */\n  const tagName = _exports.tagName = (0, _decorator.decoratorWithRequiredParams)((target, params) => {\n    let [tagName] = params;\n    (true && !(params.length === 1) && Ember.assert(`The @tagName decorator must be provided exactly one argument, received: ${tagName}`, params.length === 1));\n    (true && !(typeof tagName === 'string') && Ember.assert(`The @tagName decorator must be provided a string, received: ${tagName}`, typeof tagName === 'string'));\n    target.prototype.tagName = tagName;\n    return target;\n  }, 'tagName');\n\n  /**\n    Class decorator which specifies the layout for the component. This replaces\n    the `layout` property on components in the traditional Ember object model.\n    ```js\n    import template from '../templates/components/x-foo';\n    @layout(template)\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    ```js\n    import hbs from 'htmlbars-inline-precompile';\n    @layout(hbs`<h1>Hello {{ name }}</h1>`)\n    export default class TagNameDemoComponent extends Component {\n      constructor() {\n        super(...arguments);\n        this.set('name', 'Tomster');\n      }\n    }\n    ```\n    @function\n    @param {TemplateFactory} template - The compiled template to be used for the component\n  */\n  const layout = (...params) => target => {\n    let [template] = params;\n    (true && !(params.length === 1) && Ember.assert(`The @layout decorator must be provided exactly one argument, received: ${params.length}`, params.length === 1));\n    (true && !(typeof template !== 'string') && Ember.assert(`The @layout decorator must be provided a template, received: ${template}. If you want to compile strings to templates, be sure to use 'htmlbars-inline-precompile'`, typeof template !== 'string'));\n    (true && !(typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined') && Ember.assert(`The @layout decorator must be provided a template, received: ${template}`, typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined'));\n    target.prototype.layout = template;\n    return target;\n  };\n  _exports.layout = layout;\n});","define(\"@ember-decorators/object/index\", [\"exports\", \"@ember-decorators/utils/decorator\"], function (_exports, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.unobserves = _exports.on = _exports.off = _exports.observes = void 0;\n  /**\n    Triggers the target function when the dependent properties have changed. Note,\n    `@observes` _must_ be used on EmberObject based classes only, otherwise there\n    may be subtle issues and breakage.\n  \n    ```javascript\n    import { observes } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that trigger the function\n   */\n  const observes = _exports.observes = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (true && !(desc && typeof desc.value === 'function') && Ember.assert('The @observes decorator must be applied to functions', desc && typeof desc.value === 'function'));\n    (true && !(target instanceof Ember.Object) && Ember.assert(`You attempted to use @observes on ${target.constructor.name}#${key}, which does not extend from EmberObject. Unfortunately this does not work with stage 1 decorator transforms, and will break in subtle ways. You must rewrite your class to extend from EmberObject.`, target instanceof Ember.Object));\n    for (let path of params) {\n      Ember.expandProperties(path, expandedPath => {\n        Ember.addObserver(target, expandedPath, null, key);\n      });\n    }\n    return desc;\n  }, 'observes');\n\n  /**\n    Removes observers from the target function.\n  \n    ```javascript\n    import { observes, unobserves } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @unobserves('foo') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that no longer trigger the function\n   */\n  const unobserves = _exports.unobserves = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let path of params) {\n      Ember.expandProperties(path, expandedPath => {\n        Ember.removeObserver(target, expandedPath, null, key);\n      });\n    }\n    return desc;\n  }, 'unobserves');\n\n  /**\n    Adds an event listener to the target function.\n  \n    ```javascript\n    import { on } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that trigger the function\n   */\n  const on = _exports.on = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (true && !(desc && typeof desc.value === 'function') && Ember.assert('The @on decorator must be applied to functions', desc && typeof desc.value === 'function'));\n    for (let eventName of params) {\n      Ember.addListener(target, eventName, null, key);\n    }\n    return desc;\n  }, 'on');\n\n  /**\n    Removes an event listener from the target function.\n  \n    ```javascript\n    import { on, off } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @off('fooEvent', 'barEvent') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that no longer trigger the function\n   */\n  const off = _exports.off = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let eventName of params) {\n      Ember.removeListener(target, eventName, null, key);\n    }\n    return desc;\n  }, 'off');\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-decorators/utils/-private/class-field-descriptor\"], function (_exports, _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) && Ember.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/ordered-set/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const NEEDS_CUSTOM_ORDERED_SET = true;\n  let OrderedSet;\n  if (NEEDS_CUSTOM_ORDERED_SET) {\n    /**\n    @class OrderedSet\n    @constructor\n    */\n    OrderedSet = class OrderedSet {\n      constructor() {\n        this.clear();\n      }\n\n      /**\n      @method create\n      @static\n      @return {OrderedSet}\n      */\n      static create() {\n        let Constructor = this;\n        return new Constructor();\n      }\n\n      /**\n      @method clear\n      */\n      clear() {\n        this.presenceSet = Object.create(null);\n        this.list = [];\n        this.size = 0;\n      }\n\n      /**\n      @method add\n      @param {*} obj\n      @param {string} [_guid] (for internal use)\n      @return {OrderedSet}\n      */\n      add(obj, _guid) {\n        let guid = _guid || Ember.guidFor(obj);\n        let presenceSet = this.presenceSet;\n        let list = this.list;\n        if (presenceSet[guid] !== true) {\n          presenceSet[guid] = true;\n          this.size = list.push(obj);\n        }\n        return this;\n      }\n\n      /**\n      @method delete\n      @param {*} obj\n      @param {string} [_guid] (for internal use)\n      @return {Boolean}\n      */\n      delete(obj, _guid) {\n        let guid = _guid || Ember.guidFor(obj);\n        let presenceSet = this.presenceSet;\n        let list = this.list;\n        if (presenceSet[guid] === true) {\n          delete presenceSet[guid];\n          let index = list.indexOf(obj);\n          if (index > -1) {\n            list.splice(index, 1);\n          }\n          this.size = list.length;\n          return true;\n        } else {\n          return false;\n        }\n      }\n\n      /**\n      @method isEmpty\n      @return {Boolean}\n      */\n      isEmpty() {\n        return this.size === 0;\n      }\n\n      /**\n      @method has\n      @param {*} obj\n      @return {Boolean}\n      */\n      has(obj) {\n        if (this.size === 0) {\n          return false;\n        }\n        let guid = Ember.guidFor(obj);\n        let presenceSet = this.presenceSet;\n        return presenceSet[guid] === true;\n      }\n\n      /**\n      @method forEach\n      @param {Function} fn\n      @param self\n      */\n      forEach(fn /*, ...thisArg*/) {\n        (true && !(typeof fn === 'function') && Ember.assert(`${Object.prototype.toString.call(fn)} is not a function`, typeof fn === 'function'));\n        if (this.size === 0) {\n          return;\n        }\n        let list = this.list;\n        if (arguments.length === 2) {\n          for (let i = 0; i < list.length; i++) {\n            fn.call(arguments[1], list[i]);\n          }\n        } else {\n          for (let i = 0; i < list.length; i++) {\n            fn(list[i]);\n          }\n        }\n      }\n\n      /**\n      @method toArray\n      @return {Array}\n      */\n      toArray() {\n        return this.list.slice();\n      }\n\n      /**\n      @method copy\n      @return {OrderedSet}\n      */\n      copy() {\n        let Constructor = this.constructor;\n        let set = new Constructor();\n        set.presenceSet = Object.create(null);\n        for (let prop in this.presenceSet) {\n          // hasOwnPropery is not needed because obj is Object.create(null);\n          set.presenceSet[prop] = this.presenceSet[prop];\n        }\n        set.list = this.toArray();\n        set.size = this.size;\n        return set;\n      }\n    };\n  } else {\n    OrderedSet = Ember.__OrderedSet__ || Ember.OrderedSet;\n  }\n  var _default = _exports.default = OrderedSet;\n});","define(\"@ember/render-modifiers/modifiers/did-insert\", [\"exports\"], function (_exports) {\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 = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.22', {\n      disableAutoTracking: true\n    }),\n    createModifier() {},\n    installModifier(_state, element, {\n      positional: [fn, ...args],\n      named\n    }) {\n      fn(element, args, named);\n    },\n    updateModifier() {},\n    destroyModifier() {}\n  }), class DidInsertModifier {});\n});","define(\"@ember/render-modifiers/modifiers/did-update\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const untrack = function () {\n    {\n      // we can access `window.Ember` here because it wasn't deprecated until at least 3.27\n      // eslint-disable-next-line no-undef\n      return Ember.__loader.require('@glimmer/validator').untrack;\n    }\n  }();\n\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 = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.22', {\n      disableAutoTracking: false\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element, args) {\n      // save element into state bucket\n      state.element = element;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n      }\n    },\n    updateModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n        untrack(() => {\n          fn(element, positional, args.named);\n        });\n      }\n    },\n    destroyModifier() {}\n  }), class DidUpdateModifier {});\n});","define(\"@ember/render-modifiers/modifiers/will-destroy\", [\"exports\"], function (_exports) {\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 = Ember._setModifierManager(() => ({\n    capabilities: Ember._modifierManagerCapabilities('3.22', {\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  const UNDEFINED = function () {};\n  class Cache {\n    constructor(limit, func, key, store) {\n      this.size = 0;\n      this.misses = 0;\n      this.hits = 0;\n      this.limit = limit;\n      this.func = func;\n      this.key = key;\n      this.store = store || new DefaultStore();\n    }\n    get(obj) {\n      let key = this.key === undefined ? obj : this.key(obj);\n      let value = this.store.get(key);\n      if (value === undefined) {\n        this.misses++;\n        value = this._set(key, this.func(obj));\n      } else if (value === UNDEFINED) {\n        this.hits++;\n        value = undefined;\n      } else {\n        this.hits++;\n        // nothing to translate\n      }\n      return value;\n    }\n    set(obj, value) {\n      let key = this.key === undefined ? obj : this.key(obj);\n      return this._set(key, value);\n    }\n    _set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        if (value === undefined) {\n          this.store.set(key, UNDEFINED);\n        } else {\n          this.store.set(key, value);\n        }\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  class DefaultStore {\n    constructor() {\n      this.data = Object.create(null);\n    }\n    get(key) {\n      return this.data[key];\n    }\n    set(key, value) {\n      this.data[key] = value;\n    }\n    clear() {\n      this.data = Object.create(null);\n    }\n  }\n});","define(\"@ember/string/helpers/loc\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.loc = loc;\n  function loc(params /*, hash*/) {\n    return Ember.String.loc(...params);\n  }\n  var _default = _exports.default = Ember.Helper.helper(loc);\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.loc = loc;\n  _exports.setStrings = setStrings;\n  _exports.underscore = underscore;\n  _exports.w = w;\n  /**\n  @module ember\n  @submodule ember-runtime\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 /*, 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    let replace1 = (match, separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    let replace2 = (match, initialChar, separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    let 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 /*, 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 /*, 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  function _fmt(str, formats) {\n    // first, replace any ORDERED replacements.\n    let idx = 0; // the current index for non-numerical replacements\n    return str.replace(/%@([0-9]+)?/g, (_s, argIndex) => {\n      let i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      let r = i < formats.length ? formats[i] : undefined;\n      return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : String(r);\n    });\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. See\n    `fmt` for more information on formatting.\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 { setStrings, loc } from \"@ember/string\";\n  \n    setStrings({\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  */\n  function loc(str, formats) {\n    (true && !(false) && Ember.deprecate('loc is deprecated, use an internationalization or localization addon instead.', false, {\n      id: 'ember-string-loc',\n      until: '2.0.0',\n      url: 'http://emberjs.com/deprecations/v2.x#toc_ember-string-loc'\n    }));\n    if (!Array.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\n    str = STRINGS[str] || str;\n    return _fmt(str, formats);\n  }\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    Ember.String.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  function w(str) {\n    return str.split(/\\s+/);\n  }\n\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    'innerHTML'.decamelize();           // 'inner_html'\n    'action_name'.decamelize();        // 'action_name'\n    'css-class-name'.decamelize();     // 'css-class-name'\n    'my favorite items'.decamelize();  // '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  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    'innerHTML'.dasherize();          // 'inner-html'\n    'action_name'.dasherize();        // 'action-name'\n    'css-class-name'.dasherize();     // 'css-class-name'\n    'my favorite items'.dasherize();  // 'my-favorite-items'\n    'privateDocs/ownerInvoice'.dasherize(); // '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  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    'innerHTML'.camelize();          // 'innerHTML'\n    'action_name'.camelize();        // 'actionName'\n    'css-class-name'.camelize();     // 'cssClassName'\n    'my favorite items'.camelize();  // 'myFavoriteItems'\n    'My Favorite Items'.camelize();  // 'myFavoriteItems'\n    'private-docs/owner-invoice'.camelize(); // '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  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    'innerHTML'.classify();          // 'InnerHTML'\n    'action_name'.classify();        // 'ActionName'\n    'css-class-name'.classify();     // 'CssClassName'\n    'my favorite items'.classify();  // 'MyFavoriteItems'\n    'private-docs/owner-invoice'.classify(); // '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  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    'innerHTML'.underscore();          // 'inner_html'\n    'action_name'.underscore();        // 'action_name'\n    'css-class-name'.underscore();     // 'css_class_name'\n    'my favorite items'.underscore();  // 'my_favorite_items'\n    'privateDocs/ownerInvoice'.underscore(); // '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  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    'innerHTML'.capitalize()         // 'InnerHTML'\n    'action_name'.capitalize()       // 'Action_name'\n    'css-class-name'.capitalize()    // 'Css-class-name'\n    'my favorite items'.capitalize() // 'My favorite items'\n    'privateDocs/ownerInvoice'.capitalize(); // '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  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n});","define(\"@ember/test-waiters/build-waiter\", [\"exports\", \"@ember/test-waiters/token\", \"@ember/test-waiters/waiter-manager\"], function (_exports, _token, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._resetWaiterNames = _resetWaiterNames;\n  _exports.default = buildWaiter;\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 WAITER_NAME_PATTERN = /^[^:]*:?.*/;\n  let WAITER_NAMES = true /* DEBUG */ ? new Set() : undefined;\n  function _resetWaiterNames() {\n    WAITER_NAMES = new Set();\n  }\n  function getNextToken() {\n    return new _token.default();\n  }\n  class TestWaiterImpl {\n    constructor(name, nextToken) {\n      _defineProperty(this, \"isRegistered\", false);\n      _defineProperty(this, \"items\", new Map());\n      _defineProperty(this, \"completedOperationsForTokens\", new WeakMap());\n      _defineProperty(this, \"completedOperationsForPrimitives\", new Map());\n      this.name = name; // @ts-ignore\n\n      this.nextToken = nextToken || getNextToken;\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    endAsync(token) {\n      if (!this.items.has(token) && !this._getCompletedOperations(token).has(token)) {\n        throw new Error(`testWaiter.endAsync called with no preceding testWaiter.beginAsync call.\n        Test waiter calls should always be paired. This can occur when a test waiter's paired calls are invoked in a non-deterministic order.\n\n        See https://github.com/emberjs/ember-test-waiters#keep-beginasyncendasync-in-same-block-scope for more information.`);\n      }\n      this.items.delete(token); // Mark when a waiter operation has completed so we can distinguish\n      // whether endAsync is being called before a prior beginAsync call above.\n\n      this._getCompletedOperations(token).set(token, true);\n    }\n    waitUntil() {\n      return this.items.size === 0;\n    }\n    debugInfo() {\n      let result = [];\n      this.items.forEach(value => {\n        result.push(value);\n      });\n      return result;\n    }\n    reset() {\n      this.items.clear();\n    }\n    _register() {\n      if (!this.isRegistered) {\n        (0, _waiterManager.register)(this);\n        this.isRegistered = true;\n      }\n    }\n    _getCompletedOperations(token) {\n      let type = typeof token;\n      let isFunction = type === 'function';\n      let isObject = token !== null && type === 'object';\n      let isPrimitive = !isFunction && !isObject;\n      return isPrimitive ? this.completedOperationsForPrimitives : this.completedOperationsForTokens;\n    }\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  /**\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   * @public\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {TestWaiter}\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\n  function buildWaiter(name) {\n    if (true /* DEBUG */) {\n      (true && Ember.warn(`The waiter name '${name}' is already in use`, !WAITER_NAMES.has(name), {\n        id: '@ember/test-waiters.duplicate-waiter-name'\n      }));\n      WAITER_NAMES.add(name);\n    }\n    if (!true /* DEBUG */) {\n      return new NoopTestWaiter(name);\n    } else {\n      (true && Ember.warn(`You must provide a name that contains a descriptive prefix separated by a colon.\n\n        Example: ember-fictitious-addon:some-file\n\n        You passed: ${name}`, WAITER_NAME_PATTERN.test(name), {\n        id: '@ember/test-waiters.invalid-waiter-name'\n      }));\n      return new TestWaiterImpl(name);\n    }\n  }\n});","define(\"@ember/test-waiters/index\", [\"exports\", \"@ember/test-waiters/waiter-manager\", \"@ember/test-waiters/build-waiter\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/wait-for\"], function (_exports, _waiterManager, _buildWaiter, _waitForPromise, _waitFor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"_resetWaiterNames\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter._resetWaiterNames;\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, \"waitFor\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.default;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForPromise\", {\n    enumerable: true,\n    get: function () {\n      return _waitForPromise.default;\n    }\n  });\n});","define(\"@ember/test-waiters/token\", [\"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 representing a test waiter token.\n   *\n   * @public\n   * @class\n   */\n  class Token {}\n  _exports.default = Token;\n});","define(\"@ember/test-waiters/types/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/test-waiters/wait-for-promise\", [\"exports\", \"@ember/test-waiters/build-waiter\"], function (_exports, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  const PROMISE_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T> | RSVP.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\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/wait-for\", [\"exports\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/build-waiter\"], function (_exports, _waitForPromise, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitFor;\n  function waitFor(...args) {\n    let isFunction = args.length < 3;\n    if (isFunction) {\n      let [fn, label] = args;\n      return wrapFunction(fn, label);\n    } else {\n      let [,, descriptor, label] = args;\n      if (!true /* DEBUG */) {\n        return descriptor;\n      }\n      let fn = descriptor.value;\n      descriptor.value = wrapFunction(fn, label);\n      return descriptor;\n    }\n  }\n  function wrapFunction(fn, label) {\n    if (!true /* DEBUG */) {\n      return fn;\n    }\n    return function (...args) {\n      let result = fn.call(this, ...args);\n      if (isThenable(result)) {\n        return (0, _waitForPromise.default)(result, label);\n      } else if (isGenerator(result)) {\n        return waitForGenerator(result, label);\n      } else {\n        return result;\n      }\n    };\n  }\n  function isThenable(maybePromise) {\n    let type = typeof maybePromise;\n    return (maybePromise !== null && type === 'object' || type === 'function') && typeof maybePromise.then === 'function';\n  }\n  function isGenerator(maybeGenerator) {\n    // Because we don't have Symbol.iterator in IE11\n    return typeof maybeGenerator.next === 'function' && typeof maybeGenerator.return === 'function' && typeof maybeGenerator.throw === 'function';\n  }\n  const GENERATOR_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:generator-waiter');\n  function waitForGenerator(generator, label) {\n    GENERATOR_WAITER.beginAsync(generator, label);\n    let isWaiting = true;\n    function stopWaiting() {\n      if (isWaiting) {\n        GENERATOR_WAITER.endAsync(generator);\n        isWaiting = false;\n      }\n    }\n    return {\n      next(...args) {\n        let hasErrored = true;\n        try {\n          let val = generator.next(...args);\n          hasErrored = false;\n          if (val.done) {\n            stopWaiting();\n          }\n          return val;\n        } finally {\n          // If generator.next() throws, we need to stop waiting. But if we catch\n          // and re-throw exceptions, it could move the location from which the\n          // uncaught exception is thrown, interfering with the developer\n          // debugging experience if they have break-on-exceptions enabled. So we\n          // use a boolean flag and a finally block to emulate a catch block.\n          if (hasErrored) {\n            stopWaiting();\n          }\n        }\n      },\n      return(...args) {\n        stopWaiting();\n        return generator.return(...args);\n      },\n      throw(...args) {\n        stopWaiting();\n        return generator.throw(...args);\n      }\n    };\n  }\n});","define(\"@ember/test-waiters/waiter-manager\", [\"exports\"], function (_exports) {\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  // this ensures that if @ember/test-waiters exists in multiple places in the\n  // build output we will still use a single map of waiters (there really should\n  // only be one of them, or else `settled` will not work at all)\n  const WAITERS = function () {\n    const HAS_SYMBOL = typeof Symbol !== 'undefined';\n    let symbolName = 'TEST_WAITERS';\n    let symbol = HAS_SYMBOL ? Symbol.for(symbolName) : symbolName;\n    let global = getGlobal();\n    let waiters = global[symbol];\n    if (waiters === undefined) {\n      waiters = global[symbol] = new Map();\n    }\n    return waiters;\n  }();\n  function indexable(input) {\n    return input;\n  }\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  /**\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\n  if (Ember.Test) {\n    Ember.Test.registerWaiter(() => !hasPendingWaiters());\n  }\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\n   */\n\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Un-registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\n   */\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 {Waiter[]}\n   */\n\n  function getWaiters() {\n    let result = [];\n    WAITERS.forEach(value => {\n      result.push(value);\n    });\n    return result;\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @private\n   */\n\n  function _reset() {\n    for (let waiter of getWaiters()) {\n      waiter.isRegistered = false;\n    }\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 {PendingWaiterState} 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\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\n  function hasPendingWaiters() {\n    let state = getPendingWaiterState();\n    return state.pending > 0;\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  /*\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  const runtimeConfig = initializeRuntimeMacrosConfig();\n\n  // this exists to be targeted by our babel plugin\n  function initializeRuntimeMacrosConfig() {\n    return {\n      \"packages\": {\n        \"/Users/henrik/Documents/SmartGridBilling/A AI/admin-ui-monorepo/administration_ui/node_modules/.pnpm/ember-bootstrap@5.1.1_@babel+core@7.28.3_ember-source@3.24.6_@babel+core@7.28.3__webpack@5.74.0/node_modules/ember-bootstrap\": {\n          \"isBS4\": true,\n          \"isBS5\": false,\n          \"isNotBS5\": true,\n          \"version\": \"5.1.1\"\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(\"@embroider/util/ember-private-api\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isCurriedComponentDefinition = void 0;\n  _exports.lookupCurriedComponentDefinition = lookupCurriedComponentDefinition;\n  let runtime;\n  {\n    // older ember has its own internal loader\n    runtime = window.Ember.__loader.require('@glimmer/runtime');\n  }\n  let {\n    isCurriedComponentDefinition,\n    CurriedComponentDefinition,\n    curry,\n    CurriedValue\n  } = runtime;\n\n  // older embers have isCurriedComponentDefinition, new ones have CurriedValue\n  // and instanceof CurriedValue seems good enough.\n  _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n  if (!isCurriedComponentDefinition) {\n    _exports.isCurriedComponentDefinition = isCurriedComponentDefinition = function (value) {\n      return value instanceof CurriedValue;\n    };\n  }\n  function runtimeResolver(owner) {\n    let resolver = owner.lookup('renderer:-dom')._runtimeResolver;\n    if (resolver) {\n      return resolver;\n    }\n    let entry = Object.entries(owner.__container__.cache).find(e => e[0].startsWith('template-compiler:main-'));\n    if (entry) {\n      return entry[1].resolver.resolver;\n    }\n    throw new Error(`@embroider/util couldn't locate the runtime resolver on this ember version`);\n  }\n  function lookupCurriedComponentDefinition(name, owner) {\n    let resolver = runtimeResolver(owner);\n    if (typeof resolver.lookupComponentHandle === 'function') {\n      let handle = resolver.lookupComponentHandle(name, contextForLookup(owner));\n      if (handle != null) {\n        return new CurriedComponentDefinition(resolver.resolve(handle), null);\n      }\n    }\n\n    // here we're doing the same thing the internal currying does, in order to\n    // generate a sane error message (even though we don't actually use\n    // resolvedDefinition as part of our return value).\n    let resolvedDefinition = resolver.lookupComponent(name, owner);\n    if (!resolvedDefinition) {\n      throw new Error(`Attempted to resolve \\`${name}\\` via ensureSafeComponent, but nothing was found.`);\n    }\n    return curry(0, name, owner, {\n      named: {},\n      positional: []\n    });\n  }\n  function contextForLookup(owner) {\n    {\n      return owner;\n    }\n  }\n});","define(\"@embroider/util/index\", [\"exports\", \"@embroider/util/ember-private-api\"], function (_exports, _emberPrivateApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.EnsureSafeComponentHelper = void 0;\n  _exports.ensureSafeComponent = ensureSafeComponent;\n  function ensureSafeComponent(value, thingWithOwner) {\n    if (typeof value === 'string') {\n      return handleString(value, thingWithOwner);\n    } else if ((0, _emberPrivateApi.isCurriedComponentDefinition)(value)) {\n      return value;\n    } else if (value == null) {\n      return value;\n    } else {\n      return handleClass(value, thingWithOwner);\n    }\n  }\n  class EnsureSafeComponentHelper extends Ember.Helper {\n    compute([value]) {\n      return ensureSafeComponent(value, this);\n    }\n  }\n  _exports.EnsureSafeComponentHelper = EnsureSafeComponentHelper;\n  function handleString(name, thingWithOwner) {\n    (true && !(false) && Ember.deprecate(`You're trying to invoke the component \"${name}\" by passing its name as a string. This won't work under Embroider.`, false, {\n      id: 'ensure-safe-component.string',\n      url: 'https://github.com/embroider-build/embroider/blob/main/docs/replacing-component-helper.md#when-youre-passing-a-component-to-someone-else',\n      until: 'embroider',\n      for: '@embroider/util',\n      since: '0.27.0'\n    }));\n    let owner = Ember.getOwner(thingWithOwner);\n    return (0, _emberPrivateApi.lookupCurriedComponentDefinition)(name, owner);\n  }\n  function ensureRegistered(klass, owner) {\n    let service = owner.lookup('service:-ensure-registered');\n    (true && !(service) && Ember.assert('Could not lookup private -ensure-registered service', service));\n    return service.register(klass, owner);\n  }\n  function handleClass(klass, thingWithOwner) {\n    {\n      let owner = Ember.getOwner(thingWithOwner);\n      let nonce = ensureRegistered(klass, owner);\n      return (0, _emberPrivateApi.lookupCurriedComponentDefinition)(nonce, owner);\n    }\n  }\n});","define(\"@embroider/util/services/ensure-registered\", [\"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 EnsureRegisteredService extends Ember.Service {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"classNonces\", new WeakMap());\n      _defineProperty(this, \"nonceCounter\", 0);\n    }\n    register(klass, owner = Ember.getOwner(this)) {\n      let nonce = this.classNonces.get(klass);\n      if (nonce == null) {\n        nonce = `-ensure${this.nonceCounter++}`;\n        this.classNonces.set(klass, nonce);\n        owner.register(`component:${nonce}`, klass);\n      }\n      return nonce;\n    }\n  }\n  _exports.default = EnsureRegisteredService;\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\"], function (_exports) {\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._isDestroying;\n  const isDestroyed = _exports.isDestroyed = Ember._isDestroyed;\n});","define(\"@glimmer/component/-private/ember-component-manager\", [\"exports\", \"@glimmer/component/-private/base-component-manager\", \"@glimmer/component/-private/destroyables\"], function (_exports, _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  ? Ember._componentManagerCapabilities('3.13', {\n    destructor: true,\n    asyncLifecycleCallbacks: false,\n    updateHook: false\n  }) : Ember._componentManagerCapabilities('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.destroy(component);\n    meta.setSourceDestroyed();\n    setDestroyed(component);\n  };\n  const destroy = true ? Ember.destroy : component => {\n    if (component.isDestroying) {\n      return;\n    }\n    let meta = Ember.meta(component);\n    meta.setSourceDestroying();\n    setDestroying(component);\n    Ember.run.schedule('actions', component, component.willDestroy);\n    Ember.run.schedule('destroy', void 0, scheduledDestroyComponent, component, meta);\n  };\n  const registerDestructor = true ? Ember._registerDestructor : true ? Ember.__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)(Ember.setOwner, Ember.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      Ember.set(component, 'args', argSnapshot);\n    };\n  }\n  var _default = _exports.default = EmberGlimmerComponentManager;\n});","define(\"@glimmer/component/-private/owner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.setOwner = void 0;\n  var setOwner = _exports.setOwner = Ember.setOwner;\n});","define(\"@glimmer/component/index\", [\"exports\", \"@glimmer/component/-private/ember-component-manager\", \"@glimmer/component/-private/component\"], function (_exports, _emberComponentManager, _component) {\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 = _component.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    Ember._setComponentManager(owner => {\n      return new _emberComponentManager.default(owner);\n    }, GlimmerComponent);\n  } else {\n    Ember._setComponentManager('glimmer', GlimmerComponent);\n  }\n  var _default = _exports.default = GlimmerComponent;\n});","define(\"@zestia/ember-simple-infinite-scroller/components/infinite-scroller\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _descriptor, _descriptor2;\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class={{concat\n      \"infinite-scroller\"\n      (if this.isLoading \" infinite-scroller--loading\")\n      (if this.isScrollable \" infinite-scroller--scrollable\")\n    }}\n    ...attributes\n    {{did-insert this.handleInsertElement}}\n    {{will-destroy this.handleDestroyElement}}\n  >\n    {{yield this.api}}\n  </div>\n  */\n  {\n    \"id\": \"KMMgZoNl\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[30,[36,1],[\\\"infinite-scroller\\\",[30,[36,0],[[32,0,[\\\"isLoading\\\"]],\\\" infinite-scroller--loading\\\"],null],[30,[36,0],[[32,0,[\\\"isScrollable\\\"]],\\\" infinite-scroller--scrollable\\\"],null]],null]],[17,1],[4,[38,2],[[32,0,[\\\"handleInsertElement\\\"]]],null],[4,[38,3],[[32,0,[\\\"handleDestroyElement\\\"]]],null],[12],[2,\\\"\\\\n  \\\"],[18,2,[[32,0,[\\\"api\\\"]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"concat\\\",\\\"did-insert\\\",\\\"will-destroy\\\"]}\",\n    \"moduleName\": \"@zestia/ember-simple-infinite-scroller/components/infinite-scroller.hbs\"\n  });\n  const {\n    round\n  } = Math;\n  let InfiniteScrollerComponent = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _class = class InfiniteScrollerComponent extends _component.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"debug\", false);\n      _defineProperty(this, \"scroller\", null);\n      _defineProperty(this, \"debounceId\", null);\n      _initializerDefineProperty(this, \"isLoading\", _descriptor, this);\n      _initializerDefineProperty(this, \"isScrollable\", _descriptor2, this);\n      this._scheduleCheckScrollable();\n    }\n    get api() {\n      return {\n        setElement: this.setElement,\n        isScrollable: this.isScrollable,\n        isLoading: this.isLoading,\n        loadMore: this.loadMore\n      };\n    }\n    get debounce() {\n      return this.args.debounce ?? 100;\n    }\n    get percent() {\n      return this.args.percent ?? 100;\n    }\n    get normalisedScrollerElement() {\n      if (this.scroller instanceof Document) {\n        return this.scroller.documentElement;\n      } else {\n        return this.scroller;\n      }\n    }\n    handleInsertElement(element) {\n      if (!this.scroller) {\n        this._registerScroller(this.args.element ?? element);\n      }\n    }\n    handleDestroyElement() {\n      this._deregisterScroller();\n    }\n    handleScroll() {\n      this.debounceId = Ember.run.debounce(this, '_checkShouldLoadMore', this.debounce);\n    }\n    loadMore() {\n      this._loadMore();\n    }\n    setElement(element) {\n      this._registerScroller(element);\n    }\n    _registerScroller(element) {\n      if (this.scroller) {\n        this._stopListening();\n      }\n      this.scroller = element;\n      this._startListening();\n    }\n    _deregisterScroller() {\n      this._stopListening();\n      Ember.run.cancel(this.debounceId);\n      this.scroller = null;\n    }\n    _startListening() {\n      this.scroller.addEventListener('scroll', this.handleScroll);\n    }\n    _stopListening() {\n      this.scroller.removeEventListener('scroll', this.handleScroll);\n    }\n    _checkShouldLoadMore() {\n      const scrollState = this._getScrollState();\n      const shouldLoadMore = scrollState.reachedBottom && !this.isLoading;\n      this._debug({\n        ...scrollState,\n        shouldLoadMore\n      });\n      if (shouldLoadMore) {\n        this._loadMore();\n      }\n    }\n    _checkScrollable() {\n      if (!this.scroller) {\n        return;\n      }\n      const scrollState = this._getScrollState();\n      this._debug({\n        ...scrollState\n      });\n      this.isScrollable = scrollState.isScrollable;\n    }\n    _scheduleCheckScrollable() {\n      Ember.run.scheduleOnce('afterRender', this, '_checkScrollable');\n    }\n    _debug(state) {\n      if (!this.debug) {\n        return;\n      }\n      console.table([state]); // eslint-disable-line\n    }\n    _getScrollState() {\n      const element = this.normalisedScrollerElement;\n      const scrollHeight = element.scrollHeight;\n      const scrollTop = element.scrollTop;\n      const clientHeight = element.clientHeight;\n      const isScrollable = scrollHeight > clientHeight;\n      const bottom = scrollHeight - clientHeight;\n      const percent = this.percent;\n      const percentScrolled = round(scrollTop / bottom * 100);\n      const reachedBottom = percentScrolled >= percent;\n      return {\n        isScrollable,\n        scrollHeight,\n        clientHeight,\n        scrollTop,\n        bottom,\n        percent,\n        percentScrolled,\n        reachedBottom\n      };\n    }\n    _loadMore() {\n      this.isLoading = true;\n      Ember.RSVP.resolve(this.args.onLoadMore?.()).finally(() => {\n        this.isLoading = false;\n        this._scheduleCheckScrollable();\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isScrollable\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"handleInsertElement\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInsertElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleDestroyElement\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"handleDestroyElement\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleScroll\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handleScroll\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"loadMore\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"loadMore\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setElement\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"setElement\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, InfiniteScrollerComponent);\n});","define(\"ember-ajax/-private/promise\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * AJAX Promise\n   *\n   * Sub-class of RSVP Promise that passes the XHR property on to the\n   * child promise\n   *\n   * @extends RSVP.Promise\n   * @private\n   */\n  class AJAXPromise extends Ember.RSVP.Promise {\n    // NOTE: Only necessary due to broken definition of RSVP.Promise\n    // https://github.com/DefinitelyTyped/DefinitelyTyped/pull/26640\n    constructor(executor, label) {\n      // @ts-ignore\n      super(executor, label);\n    }\n    /**\n     * Overriding `.then` to add XHR to child promise\n     */\n    then(onFulfilled, onRejected, label) {\n      const child = super.then(onFulfilled, onRejected, label);\n      child.xhr = this.xhr;\n      return child;\n    }\n  }\n  _exports.default = AJAXPromise;\n});","define(\"ember-ajax/-private/types\", [], function () {\n  \"use strict\";\n});","define(\"ember-ajax/-private/utils/get-header\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getHeader;\n  /**\n   * Do a case-insensitive lookup of an HTTP header\n   *\n   * @function getHeader\n   * @private\n   */\n  function getHeader(headers, name) {\n    if (Ember.isNone(headers) || Ember.isNone(name)) {\n      return undefined;\n    }\n    const matchedKey = Ember.A(Object.keys(headers)).find(key => {\n      return key.toLowerCase() === name.toLowerCase();\n    });\n    return matchedKey ? headers[matchedKey] : undefined;\n  }\n});","define(\"ember-ajax/-private/utils/is-string\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isString;\n  function isString(object) {\n    return typeof object === 'string';\n  }\n});","define(\"ember-ajax/-private/utils/parse-response-headers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.CRLF = void 0;\n  _exports.default = parseResponseHeaders;\n  const CRLF = _exports.CRLF = '\\u000d\\u000a';\n  function parseResponseHeaders(headersString) {\n    const headers = {};\n    if (!headersString) {\n      return headers;\n    }\n    return headersString.split(CRLF).reduce((hash, header) => {\n      let [field, ...value] = header.split(':');\n      field = field.trim();\n      const valueString = value.join(':').trim();\n      if (valueString) {\n        hash[field] = valueString;\n      }\n      return hash;\n    }, headers);\n  }\n});","define(\"ember-ajax/-private/utils/url-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.haveSameHost = haveSameHost;\n  _exports.isFullURL = isFullURL;\n  _exports.parseURL = parseURL;\n  /* eslint-env browser, node */\n  const completeUrlRegex = /^(http|https)/;\n  /**\n   * Parse a URL string into an object that defines its structure\n   *\n   * The returned object will have the following properties:\n   *\n   *   href: the full URL\n   *   protocol: the request protocol\n   *   hostname: the target for the request\n   *   port: the port for the request\n   *   pathname: any URL after the host\n   *   search: query parameters\n   *   hash: the URL hash\n   *\n   * @function parseURL\n   * @private\n   */\n  function parseURL(str) {\n    let fullObject;\n    if (typeof FastBoot === 'undefined') {\n      const element = document.createElement('a');\n      element.href = str;\n      fullObject = element;\n    } else {\n      fullObject = FastBoot.require('url').parse(str);\n    }\n    const desiredProps = {\n      href: fullObject.href,\n      protocol: fullObject.protocol,\n      hostname: fullObject.hostname,\n      port: fullObject.port,\n      pathname: fullObject.pathname,\n      search: fullObject.search,\n      hash: fullObject.hash\n    };\n    return desiredProps;\n  }\n  function isFullURL(url) {\n    return !!url.match(completeUrlRegex);\n  }\n  function haveSameHost(a, b) {\n    const urlA = parseURL(a);\n    const urlB = parseURL(b);\n    return urlA.protocol === urlB.protocol && urlA.hostname === urlB.hostname && urlA.port === urlB.port;\n  }\n});","define(\"ember-ajax/ajax-request\", [\"exports\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Object.extend(_ajaxRequest.default);\n});","define(\"ember-ajax/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.UnauthorizedError = _exports.TimeoutError = _exports.ServerError = _exports.NotFoundError = _exports.InvalidError = _exports.GoneError = _exports.ForbiddenError = _exports.ConflictError = _exports.BadRequestError = _exports.AjaxError = _exports.AbortError = void 0;\n  _exports.isAbortError = isAbortError;\n  _exports.isAjaxError = isAjaxError;\n  _exports.isBadRequestError = isBadRequestError;\n  _exports.isConflictError = isConflictError;\n  _exports.isForbiddenError = isForbiddenError;\n  _exports.isGoneError = isGoneError;\n  _exports.isInvalidError = isInvalidError;\n  _exports.isNotFoundError = isNotFoundError;\n  _exports.isServerError = isServerError;\n  _exports.isSuccess = isSuccess;\n  _exports.isTimeoutError = isTimeoutError;\n  _exports.isUnauthorizedError = isUnauthorizedError;\n  class AjaxError extends Error {\n    constructor(payload, message = 'Ajax operation failed', status) {\n      super(message);\n      this.payload = payload;\n      this.status = status;\n    }\n  }\n  _exports.AjaxError = AjaxError;\n  class InvalidError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Request was rejected because it was invalid', 422);\n    }\n  }\n  _exports.InvalidError = InvalidError;\n  class UnauthorizedError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Ajax authorization failed', 401);\n    }\n  }\n  _exports.UnauthorizedError = UnauthorizedError;\n  class ForbiddenError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Request was rejected because user is not permitted to perform this operation.', 403);\n    }\n  }\n  _exports.ForbiddenError = ForbiddenError;\n  class BadRequestError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Request was formatted incorrectly.', 400);\n    }\n  }\n  _exports.BadRequestError = BadRequestError;\n  class NotFoundError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Resource was not found.', 404);\n    }\n  }\n  _exports.NotFoundError = NotFoundError;\n  class GoneError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'Resource is no longer available.', 410);\n    }\n  }\n  _exports.GoneError = GoneError;\n  class TimeoutError extends AjaxError {\n    constructor() {\n      super(null, 'The ajax operation timed out', -1);\n    }\n  }\n  _exports.TimeoutError = TimeoutError;\n  class AbortError extends AjaxError {\n    constructor() {\n      super(null, 'The ajax operation was aborted', 0);\n    }\n  }\n  _exports.AbortError = AbortError;\n  class ConflictError extends AjaxError {\n    constructor(payload) {\n      super(payload, 'The ajax operation failed due to a conflict', 409);\n    }\n  }\n  _exports.ConflictError = ConflictError;\n  class ServerError extends AjaxError {\n    constructor(payload, status) {\n      super(payload, 'Request was rejected due to server error', status);\n    }\n  }\n  /**\n   * Checks if the given error is or inherits from AjaxError\n   */\n  _exports.ServerError = ServerError;\n  function isAjaxError(error) {\n    return error instanceof AjaxError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * unauthorized request error\n   */\n  function isUnauthorizedError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof UnauthorizedError;\n    } else {\n      return error === 401;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a forbidden\n   * request error\n   */\n  function isForbiddenError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ForbiddenError;\n    } else {\n      return error === 403;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an invalid\n   * request error\n   */\n  function isInvalidError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof InvalidError;\n    } else {\n      return error === 422;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a bad request\n   * error\n   */\n  function isBadRequestError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof BadRequestError;\n    } else {\n      return error === 400;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"not found\"\n   * error\n   */\n  function isNotFoundError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof NotFoundError;\n    } else {\n      return error === 404;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a \"gone\"\n   * error\n   */\n  function isGoneError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof GoneError;\n    } else {\n      return error === 410;\n    }\n  }\n  /**\n   * Checks if the given object represents a \"timeout\" error\n   */\n  function isTimeoutError(error) {\n    return error instanceof TimeoutError;\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents an\n   * \"abort\" error\n   */\n  function isAbortError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof AbortError;\n    } else {\n      return error === 0;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a\n   * conflict error\n   */\n  function isConflictError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ConflictError;\n    } else {\n      return error === 409;\n    }\n  }\n  /**\n   * Checks if the given status code or AjaxError object represents a server error\n   */\n  function isServerError(error) {\n    if (isAjaxError(error)) {\n      return error instanceof ServerError;\n    } else {\n      return error >= 500 && error < 600;\n    }\n  }\n  /**\n   * Checks if the given status code represents a successful request\n   */\n  function isSuccess(status) {\n    let s = status;\n    if (typeof status === 'string') {\n      s = parseInt(status, 10);\n    }\n    return s >= 200 && s < 300 || s === 304;\n  }\n});","define(\"ember-ajax/index\", [\"exports\", \"ember-ajax/request\"], function (_exports, _request) {\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 _request.default;\n    }\n  });\n});","define(\"ember-ajax/mixins/ajax-request\", [\"exports\", \"ember-ajax/errors\", \"ember-ajax/utils/ajax\", \"ember-ajax/-private/utils/parse-response-headers\", \"ember-ajax/-private/utils/get-header\", \"ember-ajax/-private/utils/url-helpers\", \"ember-ajax/-private/utils/is-string\", \"ember-ajax/-private/promise\"], function (_exports, _errors, _ajax, _parseResponseHeaders, _getHeader, _urlHelpers, _isString, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    Test\n  } = Ember;\n  const JSONContentType = /^application\\/(?:vnd\\.api\\+)?json/i;\n  function isJSONContentType(header) {\n    if (!(0, _isString.default)(header)) {\n      return false;\n    }\n    return !!header.match(JSONContentType);\n  }\n  function isJSONStringifyable(method, {\n    contentType,\n    data,\n    headers\n  }) {\n    if (method === 'GET') {\n      return false;\n    }\n    if (!isJSONContentType(contentType) && !isJSONContentType((0, _getHeader.default)(headers, 'Content-Type'))) {\n      return false;\n    }\n    if (typeof data !== 'object') {\n      return false;\n    }\n    return true;\n  }\n  function startsWithSlash(string) {\n    return string.charAt(0) === '/';\n  }\n  function endsWithSlash(string) {\n    return string.charAt(string.length - 1) === '/';\n  }\n  function removeLeadingSlash(string) {\n    return string.substring(1);\n  }\n  function removeTrailingSlash(string) {\n    return string.slice(0, -1);\n  }\n  function stripSlashes(path) {\n    // make sure path starts with `/`\n    if (startsWithSlash(path)) {\n      path = removeLeadingSlash(path);\n    }\n    // remove end `/`\n    if (endsWithSlash(path)) {\n      path = removeTrailingSlash(path);\n    }\n    return path;\n  }\n  let pendingRequestCount = 0;\n  if (Ember.testing) {\n    Test.registerWaiter(function () {\n      return pendingRequestCount === 0;\n    });\n  }\n  /**\n   * AjaxRequest Mixin\n   */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n     * The default value for the request `contentType`\n     *\n     * For now, defaults to the same value that jQuery would assign.  In the\n     * future, the default value will be for JSON requests.\n     * @property {string} contentType\n     * @public\n     */\n    contentType: 'application/x-www-form-urlencoded; charset=UTF-8',\n    /**\n     * Headers to include on the request\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     * ```javascript\n     * // app/services/ajax.js\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * export default AjaxService.extend({\n     *   headers: {\n     *     'API_KEY': 'secret key',\n     *     'ANOTHER_HEADER': 'Some header value'\n     *   }\n     * });\n     * ```\n     *\n     * `headers` can also be used as a computed property to support dynamic\n     * headers.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', function() {\n     *     return {\n     *       'API_KEY': get(this, '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 object\n     * outside of Ember's observer system (for example `document.cookie`). You\n     * can use the `volatile` function to set the property into a non-cached mode\n     * causing the headers to be recomputed with every request.\n     *\n     * ```javascript\n     * // app/services/ajax.js\n     * import Ember from 'ember';\n     * import AjaxService from 'ember-ajax/services/ajax';\n     *\n     * const {\n     *   computed,\n     *   get,\n     *   inject: { service }\n     * } = Ember;\n     *\n     * export default AjaxService.extend({\n     *   session: service(),\n     *   headers: computed('session.authToken', 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     * @property {Headers} headers\n     * @public\n     */\n    headers: undefined,\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: undefined,\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: undefined,\n    /**\n     * @property {Matcher[]} trustedHosts\n     * @public\n     */\n    trustedHosts: undefined,\n    /**\n     * Make an AJAX request, ignoring the raw XHR object and dealing only with\n     * the response\n     */\n    request(url, options) {\n      const hash = this.options(url, options);\n      const internalPromise = this._makeRequest(hash);\n      const ajaxPromise = new _promise.default((resolve, reject) => {\n        internalPromise.then(({\n          response\n        }) => {\n          resolve(response);\n        }).catch(({\n          response\n        }) => {\n          reject(response);\n        });\n      }, `ember-ajax: ${hash.type} ${hash.url} response`);\n      ajaxPromise.xhr = internalPromise.xhr;\n      return ajaxPromise;\n    },\n    /**\n     * Make an AJAX request, returning the raw XHR object along with the response\n     */\n    raw(url, options) {\n      const hash = this.options(url, options);\n      return this._makeRequest(hash);\n    },\n    /**\n     * Shared method to actually make an AJAX request\n     */\n    _makeRequest(hash) {\n      const method = hash.method || hash.type || 'GET';\n      const requestData = {\n        method,\n        type: method,\n        url: hash.url\n      };\n      if (isJSONStringifyable(method, hash)) {\n        hash.data = JSON.stringify(hash.data);\n      }\n      pendingRequestCount = pendingRequestCount + 1;\n      const jqXHR = (0, _ajax.default)(hash.url, hash);\n      const promise = new _promise.default((resolve, reject) => {\n        jqXHR.done((payload, textStatus, jqXHR) => {\n          const response = this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n          if ((0, _errors.isAjaxError)(response)) {\n            const rejectionParam = {\n              payload,\n              textStatus,\n              jqXHR,\n              response\n            };\n            Ember.run.join(null, reject, rejectionParam);\n          } else {\n            const resolutionParam = {\n              payload,\n              textStatus,\n              jqXHR,\n              response\n            };\n            Ember.run.join(null, resolve, resolutionParam);\n          }\n        }).fail((jqXHR, textStatus, errorThrown) => {\n          Ember.runInDebug(function () {\n            const message = `The server returned an empty string for ${requestData.type} ${requestData.url}, which cannot be parsed into a valid JSON. Return either null or {}.`;\n            const validJSONString = !(textStatus === 'parsererror' && jqXHR.responseText === '');\n            (true && Ember.warn(message, validJSONString, {\n              id: 'ds.adapter.returned-empty-string-as-JSON'\n            }));\n          });\n          const payload = this.parseErrorResponse(jqXHR.responseText) || errorThrown;\n          let response;\n          if (textStatus === 'timeout') {\n            response = new _errors.TimeoutError();\n          } else if (textStatus === 'abort') {\n            response = new _errors.AbortError();\n          } else {\n            response = this.handleResponse(jqXHR.status, (0, _parseResponseHeaders.default)(jqXHR.getAllResponseHeaders()), payload, requestData);\n          }\n          const rejectionParam = {\n            payload,\n            textStatus,\n            jqXHR,\n            errorThrown,\n            response\n          };\n          Ember.run.join(null, reject, rejectionParam);\n        }).always(() => {\n          pendingRequestCount = pendingRequestCount - 1;\n        });\n      }, `ember-ajax: ${hash.type} ${hash.url}`);\n      promise.xhr = jqXHR;\n      return promise;\n    },\n    /**\n     * calls `request()` but forces `options.type` to `POST`\n     */\n    post(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'POST'));\n    },\n    /**\n     * calls `request()` but forces `options.type` to `PUT`\n     */\n    put(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PUT'));\n    },\n    /**\n     * calls `request()` but forces `options.type` to `PATCH`\n     */\n    patch(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'PATCH'));\n    },\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     */\n    del(url, options) {\n      return this.request(url, this._addTypeToOptionsFor(options, 'DELETE'));\n    },\n    /**\n     * calls `request()` but forces `options.type` to `DELETE`\n     *\n     * Alias for `del()`\n     */\n    delete(url, options) {\n      return this.del(url, options);\n    },\n    /**\n     * Wrap the `.get` method so that we issue a warning if\n     *\n     * Since `.get` is both an AJAX pattern _and_ an Ember pattern, we want to try\n     * to warn users when they try using `.get` to make a request\n     */\n    get(url) {\n      if (arguments.length > 1 || url.indexOf('/') !== -1) {\n        throw new Ember.Error('It seems you tried to use `.get` to make a request! Use the `.request` method instead.');\n      }\n      return this._super(...arguments);\n    },\n    /**\n     * Manipulates the options hash to include the HTTP method on the type key\n     */\n    _addTypeToOptionsFor(options, method) {\n      options = options || {};\n      options.type = method;\n      return options;\n    },\n    /**\n     * Get the full \"headers\" hash, combining the service-defined headers with\n     * the ones provided for the request\n     */\n    _getFullHeadersHash(headers) {\n      const classHeaders = Ember.get(this, 'headers');\n      return Object.assign({}, classHeaders, headers);\n    },\n    /**\n     * Created a normalized set of options from the per-request and\n     * service-level settings\n     */\n    options(url, options = {}) {\n      options = Object.assign({}, options);\n      options.url = this._buildURL(url, options);\n      options.type = options.type || 'GET';\n      options.dataType = options.dataType || 'json';\n      options.contentType = Ember.isEmpty(options.contentType) ? Ember.get(this, 'contentType') : options.contentType;\n      if (this._shouldSendHeaders(options)) {\n        options.headers = this._getFullHeadersHash(options.headers);\n      } else {\n        options.headers = options.headers || {};\n      }\n      return options;\n    },\n    /**\n     * Build a URL for a request\n     *\n     * If the provided `url` is deemed to be a complete URL, it will be returned\n     * directly.  If it is not complete, then the segment provided will be combined\n     * with the `host` and `namespace` options of the request class to create the\n     * full URL.\n     */\n    _buildURL(url, options = {}) {\n      if ((0, _urlHelpers.isFullURL)(url)) {\n        return url;\n      }\n      const urlParts = [];\n      let host = options.host || Ember.get(this, 'host');\n      if (host) {\n        host = endsWithSlash(host) ? removeTrailingSlash(host) : host;\n        urlParts.push(host);\n      }\n      let namespace = options.namespace || Ember.get(this, 'namespace');\n      if (namespace) {\n        // If host is given then we need to strip leading slash too( as it will be added through join)\n        if (host) {\n          namespace = stripSlashes(namespace);\n        } else if (endsWithSlash(namespace)) {\n          namespace = removeTrailingSlash(namespace);\n        }\n        // If the URL has already been constructed (presumably, by Ember Data), then we should just leave it alone\n        const hasNamespaceRegex = new RegExp(`^(/)?${stripSlashes(namespace)}/`);\n        if (!hasNamespaceRegex.test(url)) {\n          urlParts.push(namespace);\n        }\n      }\n      // *Only* remove a leading slash when there is host or namespace -- we need to maintain a trailing slash for\n      // APIs that differentiate between it being and not being present\n      if (startsWithSlash(url) && urlParts.length !== 0) {\n        url = removeLeadingSlash(url);\n      }\n      urlParts.push(url);\n      return urlParts.join('/');\n    },\n    /**\n     * Takes an ajax response, and returns the json payload or an error.\n     *\n     * By default this hook just returns the json payload passed to it.\n     * You might want to override it in two cases:\n     *\n     * 1. Your API might return useful results in the response headers.\n     *    Response headers are passed in as the second argument.\n     *\n     * 2. Your API might return errors as successful responses with status code\n     *    200 and an Errors text or object.\n     */\n    handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      }\n      // Allow overriding of error payload\n      payload = this.normalizeErrorResponse(status, headers, payload);\n      return this._createCorrectError(status, headers, payload, requestData);\n    },\n    _createCorrectError(status, headers, payload, requestData) {\n      let error;\n      if (this.isUnauthorizedError(status, headers, payload)) {\n        error = new _errors.UnauthorizedError(payload);\n      } else if (this.isForbiddenError(status, headers, payload)) {\n        error = new _errors.ForbiddenError(payload);\n      } else if (this.isInvalidError(status, headers, payload)) {\n        error = new _errors.InvalidError(payload);\n      } else if (this.isBadRequestError(status, headers, payload)) {\n        error = new _errors.BadRequestError(payload);\n      } else if (this.isNotFoundError(status, headers, payload)) {\n        error = new _errors.NotFoundError(payload);\n      } else if (this.isGoneError(status, headers, payload)) {\n        error = new _errors.GoneError(payload);\n      } else if (this.isAbortError(status, headers, payload)) {\n        error = new _errors.AbortError();\n      } else if (this.isConflictError(status, headers, payload)) {\n        error = new _errors.ConflictError(payload);\n      } else if (this.isServerError(status, headers, payload)) {\n        error = new _errors.ServerError(payload, status);\n      } else {\n        const detailedMessage = this.generateDetailedMessage(status, headers, payload, requestData);\n        error = new _errors.AjaxError(payload, detailedMessage, status);\n      }\n      return error;\n    },\n    /**\n     * Match the host to a provided array of strings or regexes that can match to a host\n     */\n    _matchHosts(host, matcher) {\n      if (!(0, _isString.default)(host)) {\n        return false;\n      }\n      if (matcher instanceof RegExp) {\n        return matcher.test(host);\n      } else if (typeof matcher === 'string') {\n        return matcher === host;\n      } else {\n        console.warn('trustedHosts only handles strings or regexes. ', matcher, ' is neither.');\n        return false;\n      }\n    },\n    /**\n     * Determine whether the headers should be added for this request\n     *\n     * This hook is used to help prevent sending headers to every host, regardless\n     * of the destination, since this could be a security issue if authentication\n     * tokens are accidentally leaked to third parties.\n     *\n     * To avoid that problem, subclasses should utilize the `headers` computed\n     * property to prevent authentication from being sent to third parties, or\n     * implement this hook for more fine-grain control over when headers are sent.\n     *\n     * By default, the headers are sent if the host of the request matches the\n     * `host` property designated on the class.\n     */\n    _shouldSendHeaders({\n      url,\n      host\n    }) {\n      url = url || '';\n      host = host || Ember.get(this, 'host') || '';\n      const trustedHosts = Ember.get(this, 'trustedHosts') || Ember.A();\n      const {\n        hostname\n      } = (0, _urlHelpers.parseURL)(url);\n      // Add headers on relative URLs\n      if (!(0, _urlHelpers.isFullURL)(url)) {\n        return true;\n      } else if (trustedHosts.find(matcher => this._matchHosts(hostname, matcher))) {\n        return true;\n      }\n      // Add headers on matching host\n      return (0, _urlHelpers.haveSameHost)(url, host);\n    },\n    /**\n     * Generates a detailed (\"friendly\") error message, with plenty\n     * of information for debugging (good luck!)\n     */\n    generateDetailedMessage(status, headers, payload, requestData) {\n      let shortenedPayload;\n      const payloadContentType = (0, _getHeader.default)(headers, 'Content-Type') || 'Empty Content-Type';\n      if (payloadContentType.toLowerCase() === 'text/html' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = JSON.stringify(payload);\n      }\n      const requestDescription = `${requestData.type} ${requestData.url}`;\n      const payloadDescription = `Payload (${payloadContentType})`;\n      return [`Ember AJAX Request ${requestDescription} returned a ${status}`, payloadDescription, shortenedPayload].join('\\n');\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an authorized error.\n     */\n    isUnauthorizedError(status, _headers, _payload) {\n      return (0, _errors.isUnauthorizedError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a forbidden error.\n     */\n    isForbiddenError(status, _headers, _payload) {\n      return (0, _errors.isForbiddenError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a an invalid error.\n     */\n    isInvalidError(status, _headers, _payload) {\n      return (0, _errors.isInvalidError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a bad request error.\n     */\n    isBadRequestError(status, _headers, _payload) {\n      return (0, _errors.isBadRequestError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"not found\" error.\n     */\n    isNotFoundError(status, _headers, _payload) {\n      return (0, _errors.isNotFoundError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"gone\" error.\n     */\n    isGoneError(status, _headers, _payload) {\n      return (0, _errors.isGoneError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is an \"abort\" error.\n     */\n    isAbortError(status, _headers, _payload) {\n      return (0, _errors.isAbortError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a \"conflict\" error.\n     */\n    isConflictError(status, _headers, _payload) {\n      return (0, _errors.isConflictError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a server error.\n     */\n    isServerError(status, _headers, _payload) {\n      return (0, _errors.isServerError)(status);\n    },\n    /**\n     * Default `handleResponse` implementation uses this hook to decide if the\n     * response is a success.\n     */\n    isSuccess(status, _headers, _payload) {\n      return (0, _errors.isSuccess)(status);\n    },\n    parseErrorResponse(responseText) {\n      try {\n        return JSON.parse(responseText);\n      } catch (e) {\n        return responseText;\n      }\n    },\n    normalizeErrorResponse(_status, _headers, payload) {\n      return payload;\n    }\n  });\n});","define(\"ember-ajax/mixins/ajax-support\", [\"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.Mixin.create({\n    /**\n     * The AJAX service to send requests through\n     *\n     * @property {AjaxService} ajaxService\n     * @public\n     */\n    ajaxService: Ember.inject.service('ajax'),\n    /**\n     * @property {string} host\n     * @public\n     */\n    host: Ember.computed.alias('ajaxService.host'),\n    /**\n     * @property {string} namespace\n     * @public\n     */\n    namespace: Ember.computed.alias('ajaxService.namespace'),\n    /**\n     * @property {object} headers\n     * @public\n     */\n    headers: Ember.computed.alias('ajaxService.headers'),\n    ajax(url, _method, _options) {\n      // @ts-ignore\n      const augmentedOptions = this.ajaxOptions(...arguments);\n      return Ember.get(this, 'ajaxService').request(url, augmentedOptions);\n    }\n  });\n});","define(\"ember-ajax/mixins/legacy/normalize-error-response\", [\"exports\", \"ember-ajax/-private/utils/is-string\"], function (_exports, _isString) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function isObject(object) {\n    return typeof object === 'object';\n  }\n  function isJsonApiErrorResponse(object) {\n    if (!isObject(object)) {\n      return false;\n    }\n    const payloadAsErrorResponse = object;\n    if (payloadAsErrorResponse.errors) {\n      return Ember.isArray(payloadAsErrorResponse.errors);\n    }\n    return false;\n  }\n  function isJsonApiErrorObjectArray(object) {\n    return Ember.isArray(object);\n  }\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n     * Normalize the error from the server into the same format\n     *\n     * The format we normalize to is based on the JSON API specification.  The\n     * return value should be an array of objects that match the format they\n     * describe. More details about the object format can be found\n     * [here](http://jsonapi.org/format/#error-objects)\n     *\n     * The basics of the format are as follows:\n     *\n     * ```javascript\n     * [\n     *   {\n     *     status: 'The status code for the error',\n     *     title: 'The human-readable title of the error'\n     *     detail: 'The human-readable details of the error'\n     *   }\n     * ]\n     * ```\n     *\n     * In cases where the server returns an array, then there should be one item\n     * in the array for each of the payload.  If your server returns a JSON API\n     * formatted payload already, it will just be returned directly.\n     *\n     * If your server returns something other than a JSON API format, it's\n     * suggested that you override this method to convert your own errors into the\n     * one described above.\n     */\n    normalizeErrorResponse(status, _headers, payload) {\n      payload = Ember.isNone(payload) ? {} : payload;\n      if (isJsonApiErrorResponse(payload)) {\n        return payload.errors.map(function (error) {\n          if (isObject(error)) {\n            const ret = Object.assign({}, error);\n            ret.status = `${error.status}`;\n            return ret;\n          } else {\n            return {\n              status: `${status}`,\n              title: error\n            };\n          }\n        });\n      } else if (isJsonApiErrorObjectArray(payload)) {\n        return payload.map(function (error) {\n          if (isObject(error)) {\n            return {\n              status: `${status}`,\n              title: error.title || 'The backend responded with an error',\n              detail: error\n            };\n          } else {\n            return {\n              status: `${status}`,\n              title: `${error}`\n            };\n          }\n        });\n      } else if ((0, _isString.default)(payload)) {\n        return [{\n          status: `${status}`,\n          title: payload\n        }];\n      } else {\n        return [{\n          status: `${status}`,\n          title: payload.title || 'The backend responded with an error',\n          detail: payload\n        }];\n      }\n    }\n  });\n});","define(\"ember-ajax/raw\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = raw;\n  /**\n   * Same as `request` except it resolves an object with\n   *\n   *   {response, textStatus, jqXHR}\n   *\n   * Useful if you need access to the jqXHR object for headers, etc.\n   *\n   * @public\n   */\n  function raw(url, options) {\n    const ajax = _ajaxRequest.default.create();\n    return ajax.raw(url, options);\n  }\n});","define(\"ember-ajax/request\", [\"exports\", \"ember-ajax/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = request;\n  /**\n   * Helper function that allows you to use the default `ember-ajax` to make\n   * requests without using the service.\n   *\n   * @public\n   */\n  function request(url, options) {\n    const ajax = _ajaxRequest.default.create();\n    return ajax.request(url, options);\n  }\n});","define(\"ember-ajax/services/ajax\", [\"exports\", \"ember-ajax/mixins/ajax-request\"], function (_exports, _ajaxRequest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.AjaxServiceClass = void 0;\n  const AjaxService = Ember.Service.extend(_ajaxRequest.default);\n  var _default = _exports.default = AjaxService; // DO NOT DELETE: this is how TypeScript knows how to look up your services.\n  class AjaxServiceClass extends AjaxService {}\n  _exports.AjaxServiceClass = AjaxServiceClass;\n});","define(\"ember-ajax/utils/ajax\", [\"exports\", \"jquery\"], function (_exports, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const ajax = typeof FastBoot === 'undefined' ? _jquery.default.ajax : FastBoot.require('najax');\n  var _default = _exports.default = ajax;\n});","define(\"ember-arg-types/-private/closest-string\", [\"exports\", \"@embroider/macros/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.closest = void 0;\n  /* eslint-disable no-inner-declarations */\n\n  let closest = _exports.closest = void 0;\n  if ((0, _runtime.macroCondition)(true)) {\n    // https://stackoverflow.com/a/36566052\n    function editDistance(s1, s2) {\n      s1 = s1.toLowerCase();\n      s2 = s2.toLowerCase();\n      const costs = new Array();\n      for (let i = 0; i <= s1.length; i++) {\n        let lastValue = i;\n        for (let j = 0; j <= s2.length; j++) {\n          if (i == 0) costs[j] = j;else {\n            if (j > 0) {\n              let newValue = costs[j - 1];\n              if (s1.charAt(i - 1) != s2.charAt(j - 1)) {\n                newValue = Math.min(Math.min(newValue, lastValue), costs[j]) + 1;\n              }\n              costs[j - 1] = lastValue;\n              lastValue = newValue;\n            }\n          }\n        }\n        if (i > 0) costs[s2.length] = lastValue;\n      }\n      return costs[s2.length];\n    }\n    function similar(s1, s2) {\n      let longer = s1;\n      let shorter = s2;\n      if (s1.length < s2.length) {\n        longer = s2;\n        shorter = s1;\n      }\n      const longerLength = longer.length;\n      if (longerLength == 0) {\n        return 1.0;\n      }\n      return (longerLength - editDistance(longer, shorter)) / longerLength;\n    }\n    _exports.closest = closest = (str, options) => {\n      let score = 0;\n      let index = 0;\n      for (let i = 0; i < options.length; i++) {\n        const currentScore = similar(str, options[i]);\n        if (currentScore > score) {\n          index = i;\n          score = currentScore;\n        }\n      }\n      if (score > 0.4) {\n        return options[index];\n      }\n      return undefined;\n    };\n  } else {\n    _exports.closest = closest = () => {\n      throw new Error('closest() is not available in production');\n    };\n  }\n});","define(\"ember-arg-types/-private/is-element-descriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isElementDescriptor;\n  //https://github.com/emberjs/ember.js/blob/d1ad76a2b22ce470639df3dfc6efb6864a70f588/packages/%40ember/-internals/metal/lib/decorator.ts\n  function isElementDescriptor(...args) {\n    let [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});","define(\"ember-arg-types/-private/throw-console-error\", [\"exports\", \"@embroider/macros/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let throwConsoleError;\n  if ((0, _runtime.macroCondition)(true)) {\n    throwConsoleError = (fn, enabled = true) => {\n      const original = console.error;\n      console.error = enabled ? msg => {\n        const errorMsg = msg.replace(/^Warning: /, '');\n        throw new Error(errorMsg);\n      } : original;\n      try {\n        fn();\n      } catch (e) {\n        throw e;\n      } finally {\n        console.error = original;\n      }\n    };\n  } else {\n    throwConsoleError = () => {\n      throw new Error('throwConsoleError() is not available in production');\n    };\n  }\n  var _default = _exports.default = throwConsoleError;\n});","define(\"ember-arg-types/decorator\", [\"exports\", \"ember-arg-types/-private/is-element-descriptor\", \"ember-arg-types/-private/throw-console-error\", \"prop-types\", \"ember-get-config\", \"ember-arg-types/-private/closest-string\", \"@embroider/macros/runtime\"], function (_exports, _isElementDescriptor, _throwConsoleError, _propTypes, _emberGetConfig, _closestString, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = arg;\n  _exports.forbidExtraArgs = forbidExtraArgs;\n  const REGISTERED_ARGS = Symbol('args');\n  const INTERCEPT_CLASS = 'ForbidExtraArgsIntercept';\n  function shouldThrowErrors() {\n    const throwErrors = _emberGetConfig.default['ember-arg-types']?.throwErrors;\n    return Ember.isNone(throwErrors) ? true : throwErrors;\n  }\n  function getClassName(instance) {\n    return instance.constructor.name === INTERCEPT_CLASS // if the current class is this override\n    ? Object.getPrototypeOf(instance.constructor).name // get parent class name\n    : instance.constructor.name; // use current class name\n  }\n  function createGetter(target, key, descriptor, validator) {\n    if ((0, _runtime.macroCondition)(true)) {\n      const registeredArgs = target[REGISTERED_ARGS] ?? new Set();\n      registeredArgs.add(key);\n      target[REGISTERED_ARGS] = registeredArgs;\n    }\n    const defaultInitializer = descriptor.initializer || descriptor.get || (() => undefined);\n    return {\n      get() {\n        const argValue = this.args[key];\n        const returnValue = argValue !== undefined ? argValue : defaultInitializer.call(this);\n        if ((0, _runtime.macroCondition)(true)) {\n          const shouldThrow = shouldThrowErrors();\n          if (validator) {\n            (0, _throwConsoleError.default)(() => {\n              _propTypes.default.checkPropTypes({\n                [key]: validator\n              }, {\n                [key]: returnValue\n              }, 'prop', getClassName(this));\n            }, shouldThrow);\n          }\n        }\n        return returnValue;\n      }\n    };\n  }\n  function arg(...args) {\n    if ((0, _isElementDescriptor.default)(...args)) {\n      return createGetter(...args);\n    }\n    const [validator] = args;\n    return function argument(...args) {\n      return createGetter(...[...args, validator]);\n    };\n  }\n  function forbidExtraArgs(target) {\n    let returnClass = target;\n\n    // only sublcass in debug mode\n    if ((0, _runtime.macroCondition)(true)) {\n      returnClass = class ForbidExtraArgsIntercept extends target {\n        constructor(_owner, args) {\n          super(...arguments);\n          let component = getClassName(this);\n          const registeredArgs = this[REGISTERED_ARGS];\n          if (!registeredArgs) {\n            return;\n          }\n          const unRegisteredArg = Object.keys(args).find(arg => !registeredArgs.has(arg));\n          if (unRegisteredArg) {\n            const guessedArg = (0, _closestString.closest)(unRegisteredArg, [...registeredArgs]);\n            const suggestion = guessedArg ? `(did you mean \\`@${guessedArg}\\`?) ` : '';\n            const expected = [...registeredArgs].map(arg => `'${arg}'`);\n            const msg = `Failed extra args check: Invalid argument \\`@${unRegisteredArg}\\` ${suggestion}supplied to \\`${component}\\`, expected [${expected}]`;\n            const shouldThrow = shouldThrowErrors();\n            if (shouldThrow) {\n              throw new Error(msg);\n            } else {\n              console.error(msg);\n            }\n          }\n        }\n      };\n    }\n    return returnClass;\n  }\n});","define(\"ember-arg-types/index\", [\"exports\", \"ember-arg-types/decorator\"], function (_exports, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"arg\", {\n    enumerable: true,\n    get: function () {\n      return _decorator.default;\n    }\n  });\n  Object.defineProperty(_exports, \"forbidExtraArgs\", {\n    enumerable: true,\n    get: function () {\n      return _decorator.forbidExtraArgs;\n    }\n  });\n});","define(\"ember-assign-helper/helpers/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  function assign(params) {\n    return Ember.assign({}, ...params);\n  }\n  var _default = _exports.default = Ember.Helper.helper(assign);\n});","define(\"ember-async-data/helpers/load\", [\"exports\", \"ember-async-data/tracked-async-data\"], function (_exports, _trackedAsyncData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.load = load;\n  /**\n    Given a `Promise`, return a `TrackedAsyncData` object which exposes the state\n    of the promise, as well as the resolved value or thrown error once the promise\n    resolves or fails.\n  \n    The function and helper accept any data, so you may use it freely in contexts\n    where you are receiving data which may or may not be a `Promise`.\n  \n    ## Example\n  \n    Given a backing class like this:\n  \n    ```js\n    import Component from '@glimmer/component';\n    import { cached } from 'ember-cached-decorator-polyfill';\n    import { load } from 'ember-tracked-data/helpers/load';\n  \n    export default class ExtraInfo extends Component {\n      @cached\n      get someData() {return load(fetch('some-url', this.args.someArg));\n      }\n    }\n    ```\n  \n    You can use the result in your template like this:\n  \n    ```hbs\n    {{#if this.someData.isLoading}}\n      loading...\n    {{else if this.someData.isLoaded}}\n      {{this.someData.value}}\n    {{else if this.someData.isError}}\n      Whoops! Something went wrong: {{this.someData.error}}\n    {{/if}}\n    ```\n  \n    You can also use the helper directly in your template:\n  \n    ```hbs\n    {{#let (load @somePromise) as |data|}}\n      {{#if data.isLoading}}\n        <LoadingSpinner />\n      {{else if data.isLoaded}}\n        <SomeComponent @data={{data.value}} />\n      {{else if data.isError}}\n        <Error @cause={{data.error}} />\n      {{/if}}\n    {{/let}}\n    ```\n  \n    @param data The (async) data we want to operate on: a value or a `Promise` of\n      a value.\n    @returns An object containing the state(, value, and error).\n    @note Prefer to use `TrackedAsyncData` directly! This function is provided\n      simply for symmetry with the helper and backwards compatibility.\n   */\n  function load(data) {\n    return new _trackedAsyncData.default(data);\n  }\n  class Load extends Ember.Helper {\n    compute([data]) {\n      return new _trackedAsyncData.default(data);\n    }\n  }\n  _exports.default = Load;\n});","define(\"ember-async-data/index\", [\"exports\", \"ember-async-data/tracked-async-data\", \"ember-async-data/helpers/load\"], function (_exports, _trackedAsyncData, _load) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"TrackedAsyncData\", {\n    enumerable: true,\n    get: function () {\n      return _trackedAsyncData.default;\n    }\n  });\n  Object.defineProperty(_exports, \"load\", {\n    enumerable: true,\n    get: function () {\n      return _load.load;\n    }\n  });\n});","define(\"ember-async-data/tracked-async-data\", [\"exports\", \"@ember/test-waiters\"], function (_exports, _testWaiters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class2, _token, _state;\n  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\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 waiter = (0, _testWaiters.buildWaiter)(\"ember-async-data\");\n\n  /** A very cheap representation of the of a promise. */\n\n  // We only need a single instance of the pending state in our system, since it\n  // is otherwise unparameterized (unlike the resolved and rejected states).\n  const PENDING = [\"PENDING\"];\n\n  // This class exists so that the state can be *wholly* private to outside\n  // consumers, but its tracked internals can be both read and written directly by\n  // `TrackedAsyncData` itself. The initial state of every `TrackedAsyncData` is\n  // `PENDING`, though it may immediately become resolved for some `Promise`\n  // instances (e.g. with a `Promise.resolve`).\n  let State = (_dec = Ember._tracked, _class = class State {\n    constructor() {\n      _initializerDefineProperty(this, \"data\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return PENDING;\n    }\n  }), _class); // NOTE: this class is the implementation behind the types; the public types\n  // layer on additional safety. See below! Additionally, the docs for the class\n  // itself are applied to the export, not to the class, so that they will appear\n  // when users refer to *that*.\n  let _TrackedAsyncData = (_dec2 = Ember._dependentKeyCompat, _dec3 = Ember._dependentKeyCompat, _dec4 = Ember._dependentKeyCompat, _dec5 = Ember._dependentKeyCompat, _dec6 = Ember._dependentKeyCompat, _dec7 = Ember._dependentKeyCompat, _class2 = (_token = /*#__PURE__*/new WeakMap(), _state = /*#__PURE__*/new WeakMap(), class _TrackedAsyncData {\n    /**\n      @param promise The promise to load.\n     */\n    constructor(data) {\n      _classPrivateFieldInitSpec(this, _token, void 0);\n      /**\n        The internal state management for the promise.\n         - `readonly` so it cannot be mutated by the class itself after instantiation\n        - uses true native privacy so it cannot even be read (and therefore *cannot*\n          be depended upon) by consumers.\n       */\n      _classPrivateFieldInitSpec(this, _state, new State());\n      if (this.constructor !== _TrackedAsyncData) {\n        throw new Error(\"tracked-async-data cannot be subclassed\");\n      }\n      const promise = isPromiseLike(data) ? data : Promise.resolve(data);\n      _classPrivateFieldSet(_token, this, waiter.beginAsync());\n\n      // Otherwise, we know that haven't yet handled that promise anywhere in the\n      // system, so we continue creating a new instance.\n      promise.then(value => {\n        _classPrivateFieldGet(_state, this).data = [\"RESOLVED\", value];\n        waiter.endAsync(_classPrivateFieldGet(_token, this));\n      }, error => {\n        _classPrivateFieldGet(_state, this).data = [\"REJECTED\", error];\n        waiter.endAsync(_classPrivateFieldGet(_token, this));\n      });\n    }\n    /**\n     * The resolution state of the promise.\n     */\n    get state() {\n      return _classPrivateFieldGet(_state, this).data[0];\n    }\n\n    /**\n      The value of the resolved promise.\n       @note It is only valid to access `error` when `.isError` is true, that is,\n        when `TrackedAsyncData.state` is `\"ERROR\"`.\n      @warning You should not rely on this returning `T | null`! In a future\n        breaking change which drops support for pre-Octane idioms, it will *only*\n        return `T` and will *throw* if you access it when the state is wrong.\n     */\n    get value() {\n      (true && Ember.warn(\"Accessing `value` when TrackedAsyncData is not in the resolved state is not supported and will throw an error in the future. Always check that `.state` is `'RESOLVED'` or that `.isResolved` is `true` before accessing this property.\", _classPrivateFieldGet(_state, this).data[0] === \"RESOLVED\", {\n        id: \"tracked-async-data::invalid-value-access\"\n      }));\n      return _classPrivateFieldGet(_state, this).data[0] === \"RESOLVED\" ? _classPrivateFieldGet(_state, this).data[1] : null;\n    }\n\n    /**\n      The error of the rejected promise.\n       @note It is only valid to access `error` when `.isError` is true, that is,\n        when `TrackedAsyncData.state` is `\"ERROR\"`.\n      @warning You should not rely on this returning `null` when the state is not\n        `\"ERROR\"`! In a future breaking change which drops support for pre-Octane\n        idioms, it will *only* return `E` and will *throw* if you access it when\n        the state is wrong.\n     */\n    get error() {\n      (true && Ember.warn(\"Accessing `error` when TrackedAsyncData is not in the rejected state is not supported and will throw an error in the future. Always check that `.state` is `'REJECTED'` or that `.isRejected` is `true` before accessing this property.\", _classPrivateFieldGet(_state, this).data[0] === \"REJECTED\", {\n        id: \"tracked-async-data::invalid-error-access\"\n      }));\n      return _classPrivateFieldGet(_state, this).data[0] === \"REJECTED\" ? _classPrivateFieldGet(_state, this).data[1] : null;\n    }\n\n    /**\n      Is the state `\"PENDING\"`.\n     */\n    get isPending() {\n      return this.state === \"PENDING\";\n    }\n\n    /** Is the state `\"RESOLVED\"`? */\n    get isResolved() {\n      return this.state === \"RESOLVED\";\n    }\n\n    /** Is the state `\"REJECTED\"`? */\n    get isRejected() {\n      return this.state === \"REJECTED\";\n    }\n\n    // SAFETY: casts are safe because we uphold these invariants elsewhere in the\n    // class. It would be great if we could guarantee them statically, but getters\n    // do not return information about the state of the class well.\n    toJSON() {\n      const {\n        isPending,\n        isResolved,\n        isRejected\n      } = this;\n      if (isPending) {\n        return {\n          isPending,\n          isResolved,\n          isRejected\n        };\n      } else if (isResolved) {\n        return {\n          isPending,\n          isResolved,\n          value: this.value,\n          isRejected\n        };\n      } else {\n        return {\n          isPending,\n          isResolved,\n          isRejected,\n          error: this.error\n        };\n      }\n    }\n    toString() {\n      return JSON.stringify(this.toJSON(), null, 2);\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"state\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"state\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"value\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"value\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"error\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"error\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isPending\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"isPending\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isResolved\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"isResolved\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isRejected\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"isRejected\"), _class2.prototype), _class2);\n  /**\n    The JSON representation of a `TrackedAsyncData`, useful for e.g. logging.\n  \n    Note that you cannot reconstruct a `TrackedAsyncData` *from* this, because it\n    is impossible to get the original promise when in a pending state!\n   */\n  // The exported type is the intersection of three narrowed interfaces. Doing it\n  // this way has two nice benefits:\n  //\n  // 1.  It allows narrowing to work. For example:\n  //\n  //     ```ts\n  //     let data = new TrackedAsyncData(Promise.resolve(\"hello\"));\n  //     if (data.isPending) {\n  //       data.value;  // null\n  //       data.error;  // null\n  //     } else if (data.isPending) {\n  //       data.value;  // null\n  //       data.error;  // null\n  //     } else if (data.isRejected) {\n  //       data.value;  // null\n  //       data.error;  // unknown, can now be narrowed\n  //     }\n  //     ```\n  //\n  //     This dramatically improves the usability of the type in type-aware\n  //     contexts (including with templates when using Glint!)\n  //\n  // 2.  Using `interface extends` means that (a) it is guaranteed to be a subtype\n  //     of the `_TrackedAsyncData` type, (b) that the docstrings applied to the\n  //     base type still work, and (c) that the types which are *common* to the\n  //     shared implementations (i.e. `.toJSON()` and `.toString()`) are shared\n  //     automatically.\n  /**\n    An autotracked `Promise` handler, representing asynchronous data.\n  \n    Given a `Promise` instance, a `TrackedAsyncData` behaves exactly lik the\n    original `Promise`, except that it makes the state of the `Promise` visible\n    via tracked state, so you can check whether the promise is pending, resolved,\n    or rejected; and so you can get the value if it has resolved or the error if\n    it has rejected.\n  \n    Every `Promise` in the system is guaranteed to be associated with at most a\n    single `TrackedAsyncData`.\n  \n    ## Example\n  \n    ```ts\n    import Component from '@glimmer/component';\n    import { cached } from '@glimmer/tracking';\n    import { inject as service } from '@ember/service';\n    import TrackedAsyncData from 'ember-async-data/tracked-async-data';\n  \n    export default class SmartProfile extends Component<{ id: number }> {\n      @service store;\n  \n      @cached\n      get someData() {\n        let recordPromise = this.store.findRecord('user', this.args.id);\n        return new TrackedAsyncData(recordPromise);\n      }\n    }\n    ```\n  \n    And a corresponding template:\n  \n    ```hbs\n    {{#if this.someData.isResolved}}\n      <PresentTheData @data={{this.someData.data}} />\n    {{else if this.someData.isPending}}\n      <LoadingSpinner />\n    {{else if this.someData.isRejected}}\n      <p>\n        Whoops! Looks like something went wrong!\n        {{this.someData.error.message}}\n      </p>\n    {{/endif}}\n    ```\n   */\n  const TrackedAsyncData = _TrackedAsyncData;\n  var _default = _exports.default = TrackedAsyncData;\n  /** Utility type to check whether the string `key` is a proeprty on an object */\n  function has(key, t) {\n    return key in t;\n  }\n  function isPromiseLike(data) {\n    return typeof data === \"object\" && data !== null && has(\"then\", data) && typeof data.then === \"function\";\n  }\n});","define(\"ember-basic-dropdown/components/basic-dropdown-content\", [\"exports\", \"@glimmer/component\", \"ember-basic-dropdown/utils/calculate-position\", \"ember-basic-dropdown/utils/scroll-helpers\", \"ember-basic-dropdown/utils/has-moved\", \"@embroider/macros/runtime\"], function (_exports, _component, _calculatePosition, _scrollHelpers, _hasMoved, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _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 BasicDropdownContent = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember._action, _dec1 = Ember._action, _class = class BasicDropdownContent extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"transitioningInClass\", this.args.transitioningInClass || 'ember-basic-dropdown--transitioning-in');\n      _defineProperty(this, \"transitionedInClass\", this.args.transitionedInClass || 'ember-basic-dropdown--transitioned-in');\n      _defineProperty(this, \"transitioningOutClass\", this.args.transitioningOutClass || 'ember-basic-dropdown--transitioning-out');\n      _defineProperty(this, \"isTouchDevice\", this.args.isTouchDevice || Boolean(!!window && 'ontouchstart' in window));\n      _defineProperty(this, \"dropdownId\", `ember-basic-dropdown-content-${this.args.dropdown.uniqueId}`);\n      _defineProperty(this, \"touchMoveEvent\", void 0);\n      _defineProperty(this, \"handleRootMouseDown\", void 0);\n      _defineProperty(this, \"scrollableAncestors\", []);\n      _defineProperty(this, \"mutationObserver\", void 0);\n      _initializerDefineProperty(this, \"animationClass\", _descriptor, this);\n    }\n    get destinationElement() {\n      return document.getElementById(this.args.destination);\n    }\n    get animationEnabled() {\n      return !(0, _runtime.isTesting)();\n    }\n\n    /**\n     * Allows similair behaviour to `ember-composable-helpers`' `optional` helper.\n     * Avoids adding extra dependencies.\n     * Can be removed when the template `V1` compatability event handlers are removed.\n     *\n     * @see https://github.com/cibernox/ember-basic-dropdown/issues/498\n     * @memberof BasicDropdownContent\n     */\n    noop() {}\n    setup(dropdownElement) {\n      let triggerElement = document.querySelector(`[data-ebd-id=${this.args.dropdown.uniqueId}-trigger]`);\n      this.handleRootMouseDown = e => {\n        if (e.target === null) return;\n        let target = e.target;\n        if ((0, _hasMoved.default)(e, this.touchMoveEvent) || dropdownElement.contains(target) || triggerElement && triggerElement.contains(target)) {\n          this.touchMoveEvent = undefined;\n          return;\n        }\n        if (dropdownIsValidParent(target, this.dropdownId)) {\n          this.touchMoveEvent = undefined;\n          return;\n        }\n        this.args.dropdown.actions.close(e, true);\n      };\n      document.addEventListener(this.args.rootEventType, this.handleRootMouseDown, true);\n      window.addEventListener('resize', this.runloopAwareReposition);\n      window.addEventListener('orientationchange', this.runloopAwareReposition);\n      if (this.isTouchDevice) {\n        document.addEventListener('touchstart', this.touchStartHandler, true);\n        document.addEventListener('touchend', this.handleRootMouseDown, true);\n      }\n      if (triggerElement !== null) {\n        this.scrollableAncestors = getScrollableAncestors(triggerElement);\n      }\n      this.addScrollHandling(dropdownElement);\n    }\n    teardown() {\n      this.removeGlobalEvents();\n      this.removeScrollHandling();\n      this.scrollableAncestors = [];\n      document.removeEventListener(this.args.rootEventType, this.handleRootMouseDown, true);\n      if (this.isTouchDevice) {\n        document.removeEventListener('touchstart', this.touchStartHandler, true);\n        document.removeEventListener('touchend', this.handleRootMouseDown, true);\n      }\n    }\n    animateIn(dropdownElement) {\n      if (!this.animationEnabled) return;\n      waitForAnimations(dropdownElement, () => {\n        this.animationClass = this.transitionedInClass;\n      });\n    }\n    animateOut(dropdownElement) {\n      if (!this.animationEnabled) return;\n      let parentElement = dropdownElement.parentElement;\n      if (parentElement === null) return;\n      if (this.args.renderInPlace) {\n        parentElement = parentElement.parentElement;\n      }\n      if (parentElement === null) return;\n      let clone = dropdownElement.cloneNode(true);\n      clone.id = `${clone.id}--clone`;\n      clone.classList.remove(...this.transitioningInClass.split(' '));\n      clone.classList.add(...this.transitioningOutClass.split(' '));\n      parentElement.appendChild(clone);\n      this.animationClass = this.transitionedInClass;\n      waitForAnimations(clone, function () {\n        parentElement.removeChild(clone);\n      });\n    }\n    setupMutationObserver(dropdownElement) {\n      this.mutationObserver = new MutationObserver(mutations => {\n        let shouldReposition = mutations.some(record => containsRelevantMutation(record.addedNodes) || containsRelevantMutation(record.removedNodes));\n        if (shouldReposition && this.args.shouldReposition) {\n          shouldReposition = this.args.shouldReposition(mutations, this.args.dropdown);\n        }\n        if (shouldReposition) {\n          this.runloopAwareReposition();\n        }\n      });\n      this.mutationObserver.observe(dropdownElement, {\n        childList: true,\n        subtree: true\n      });\n    }\n    teardownMutationObserver() {\n      if (this.mutationObserver !== undefined) {\n        this.mutationObserver.disconnect();\n        this.mutationObserver = undefined;\n      }\n    }\n    touchStartHandler() {\n      document.addEventListener('touchmove', this.touchMoveHandler, true);\n    }\n    touchMoveHandler(e) {\n      this.touchMoveEvent = e;\n      document.removeEventListener('touchmove', this.touchMoveHandler, true);\n    }\n    runloopAwareReposition() {\n      Ember.run.join(this.args.dropdown.actions.reposition);\n    }\n    removeGlobalEvents() {\n      window.removeEventListener('resize', this.runloopAwareReposition);\n      window.removeEventListener('orientationchange', this.runloopAwareReposition);\n    }\n\n    // Methods\n    addScrollHandling(dropdownElement) {\n      if (this.args.preventScroll === true) {\n        let wheelHandler = event => {\n          if (event.target === null) return;\n          let target = event.target;\n          if (dropdownElement.contains(target) || dropdownElement === event.target) {\n            // Discover the amount of scrollable canvas that is within the dropdown.\n            const availableScroll = (0, _scrollHelpers.getAvailableScroll)(target, dropdownElement);\n\n            // Calculate what the event's desired change to that scrollable canvas is.\n            let {\n              deltaX,\n              deltaY\n            } = (0, _scrollHelpers.getScrollDeltas)(event);\n\n            // If the consequence of the wheel action would result in scrolling beyond\n            // the scrollable canvas of the dropdown, call preventDefault() and clamp\n            // the value of the delta to the available scroll size.\n            if (deltaX < availableScroll.deltaXNegative) {\n              deltaX = availableScroll.deltaXNegative;\n              event.preventDefault();\n            } else if (deltaX > availableScroll.deltaXPositive) {\n              deltaX = availableScroll.deltaXPositive;\n              event.preventDefault();\n            } else if (deltaY < availableScroll.deltaYNegative) {\n              deltaY = availableScroll.deltaYNegative;\n              event.preventDefault();\n            } else if (deltaY > availableScroll.deltaYPositive) {\n              deltaY = availableScroll.deltaYPositive;\n              event.preventDefault();\n            }\n\n            // Add back in the default behavior for the two good states that the above\n            // `preventDefault()` code will break.\n            // - Two-axis scrolling on a one-axis scroll container\n            // - The last relevant wheel event if the scroll is overshooting\n\n            // Also, don't attempt to do this if both of `deltaX` or `deltaY` are 0.\n            if (event.defaultPrevented && (deltaX || deltaY)) {\n              (0, _scrollHelpers.distributeScroll)(deltaX, deltaY, target, dropdownElement);\n            }\n          } else {\n            // Scrolling outside of the dropdown is prohibited.\n            event.preventDefault();\n          }\n        };\n        document.addEventListener('wheel', wheelHandler, {\n          capture: true,\n          passive: false\n        });\n        this.removeScrollHandling = () => {\n          document.removeEventListener('wheel', wheelHandler, {\n            capture: true\n          });\n        };\n      } else {\n        this.addScrollEvents();\n        this.removeScrollHandling = this.removeScrollEvents;\n      }\n    }\n\n    // Assigned at runtime to ensure that changes to the `preventScroll` property\n    // don't result in not cleaning up after ourselves.\n    removeScrollHandling() {}\n\n    // These two functions wire up scroll handling if `preventScroll` is false.\n    // These trigger reposition of the dropdown.\n    addScrollEvents() {\n      window.addEventListener('scroll', this.runloopAwareReposition);\n      this.scrollableAncestors.forEach(el => {\n        el.addEventListener('scroll', this.runloopAwareReposition);\n      });\n    }\n    removeScrollEvents() {\n      window.removeEventListener('scroll', this.runloopAwareReposition);\n      this.scrollableAncestors.forEach(el => {\n        el.removeEventListener('scroll', this.runloopAwareReposition);\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"animationClass\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.animationEnabled ? this.transitioningInClass : '';\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"setup\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teardown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"teardown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"animateIn\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"animateIn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"animateOut\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"animateOut\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setupMutationObserver\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"setupMutationObserver\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teardownMutationObserver\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"teardownMutationObserver\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"touchStartHandler\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"touchStartHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"touchMoveHandler\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"touchMoveHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"runloopAwareReposition\", [_dec0], Object.getOwnPropertyDescriptor(_class.prototype, \"runloopAwareReposition\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeGlobalEvents\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"removeGlobalEvents\"), _class.prototype), _class);\n  function containsRelevantMutation(nodeList) {\n    for (let i = 0; i < nodeList.length; i++) {\n      const node = nodeList[i];\n      if (node.nodeName !== '#comment' && !(node.nodeName === '#text' && node.nodeValue === '')) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  // All ancestors with scroll (except the BODY, which is treated differently)\n  function getScrollableAncestors(triggerElement) {\n    let scrollableAncestors = [];\n    if (triggerElement) {\n      let parent = triggerElement.parentNode;\n      if (parent !== null) {\n        let nextScrollable = (0, _calculatePosition.getScrollParent)(parent);\n        while (nextScrollable && nextScrollable.tagName.toUpperCase() !== 'BODY' && nextScrollable.tagName.toUpperCase() !== 'HTML') {\n          scrollableAncestors.push(nextScrollable);\n          let nextParent = nextScrollable.parentNode;\n          if (nextParent === null) {\n            nextScrollable = undefined;\n          } else {\n            nextScrollable = (0, _calculatePosition.getScrollParent)(nextParent);\n          }\n        }\n      }\n    }\n    return scrollableAncestors;\n  }\n  function closestContent(el) {\n    while (el && (!el.classList || !el.classList.contains('ember-basic-dropdown-content'))) {\n      if (el.parentElement === null) return null;\n      el = el.parentElement;\n    }\n    return el;\n  }\n  function waitForAnimations(element, callback) {\n    window.requestAnimationFrame(function () {\n      let computedStyle = window.getComputedStyle(element);\n      if (computedStyle.animationName !== 'none' && computedStyle.animationPlayState === 'running') {\n        let eventCallback = function () {\n          element.removeEventListener('animationend', eventCallback);\n          callback();\n        };\n        element.addEventListener('animationend', eventCallback);\n      } else {\n        callback();\n      }\n    });\n  }\n\n  /**\n   * Evaluates if the given element is in a dropdown or any of its parent dropdowns.\n   *\n   * @param {HTMLElement} el\n   * @param {String} dropdownId\n   */\n  function dropdownIsValidParent(el, dropdownId) {\n    let closestDropdown = closestContent(el);\n    if (closestDropdown === null) {\n      return false;\n    } else {\n      let closestAttrs = closestDropdown.attributes;\n      let trigger = document.querySelector(`[aria-owns=${closestAttrs.id.value}]`);\n      if (trigger === null) return false;\n      let parentDropdown = closestContent(trigger);\n      if (parentDropdown === null) return false;\n      let parentAttrs = parentDropdown.attributes;\n      return parentDropdown && parentAttrs.id.value === dropdownId || dropdownIsValidParent(parentDropdown, dropdownId);\n    }\n  }\n});","define(\"ember-basic-dropdown/components/basic-dropdown-optional-tag\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class BasicDropdownOptionalTag extends _component.default {}\n  _exports.default = BasicDropdownOptionalTag;\n});","define(\"ember-basic-dropdown/components/basic-dropdown-trigger\", [\"exports\", \"@glimmer/component\", \"ember-basic-dropdown/utils/has-moved\"], function (_exports, _component, _hasMoved) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _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  let BasicDropdownTrigger = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _class = class BasicDropdownTrigger extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"toggleIsBeingHandledByTouchEvents\", false);\n      _defineProperty(this, \"touchMoveEvent\", void 0);\n    }\n    // Actions\n    /**\n     * Allows similair behaviour to `ember-composable-helpers`' `optional` helper.\n     * Avoids adding extra dependencies.\n     * Can be removed when the template `V1` compatability event handlers are removed.\n     *\n     * @see https://github.com/cibernox/ember-basic-dropdown/issues/498\n     * @memberof BasicDropdownContent\n     */\n    noop() {}\n    handleMouseDown(e) {\n      if (this.args.dropdown.disabled) {\n        return;\n      }\n      if (this.args.eventType !== 'mousedown' || e.button !== 0) return;\n      if (this.args.stopPropagation) {\n        e.stopPropagation();\n      }\n      this._stopTextSelectionUntilMouseup();\n      if (this.toggleIsBeingHandledByTouchEvents) {\n        // Some devises have both touchscreen & mouse, and they are not mutually exclusive\n        // In those cases the touchdown handler is fired first, and it sets a flag to\n        // short-circuit the mouseup so the component is not opened and immediately closed.\n        this.toggleIsBeingHandledByTouchEvents = false;\n        return;\n      }\n      this.args.dropdown.actions.toggle(e);\n    }\n    handleClick(e) {\n      if (typeof document === 'undefined') return;\n      if (this.isDestroyed || !this.args.dropdown || this.args.dropdown.disabled) {\n        return;\n      }\n      if (this.args.eventType !== undefined && this.args.eventType !== 'click' || e.button !== 0) return;\n      if (this.args.stopPropagation) {\n        e.stopPropagation();\n      }\n      if (this.toggleIsBeingHandledByTouchEvents) {\n        // Some devises have both touchscreen & mouse, and they are not mutually exclusive\n        // In those cases the touchdown handler is fired first, and it sets a flag to\n        // short-circuit the mouseup so the component is not opened and immediately closed.\n        this.toggleIsBeingHandledByTouchEvents = false;\n        return;\n      }\n      this.args.dropdown.actions.toggle(e);\n    }\n    handleKeyDown(e) {\n      if (this.args.dropdown.disabled) {\n        return;\n      }\n      if (e.keyCode === 13) {\n        // Enter\n        this.args.dropdown.actions.toggle(e);\n      } else if (e.keyCode === 32) {\n        // Space\n        e.preventDefault(); // prevents the space to trigger a scroll page-next\n        this.args.dropdown.actions.toggle(e);\n      } else if (e.keyCode === 27) {\n        this.args.dropdown.actions.close(e);\n      }\n    }\n    handleTouchStart() {\n      document.addEventListener('touchmove', this._touchMoveHandler);\n    }\n    handleTouchEnd(e) {\n      this.toggleIsBeingHandledByTouchEvents = true;\n      if (e && e.defaultPrevented || this.args.dropdown.disabled) {\n        return;\n      }\n      if (!(0, _hasMoved.default)(e, this.touchMoveEvent)) {\n        this.args.dropdown.actions.toggle(e);\n      }\n      this.touchMoveEvent = undefined;\n      document.removeEventListener('touchmove', this._touchMoveHandler);\n      // This next three lines are stolen from hammertime. This prevents the default\n      // behaviour of the touchend, but synthetically trigger a focus and a (delayed) click\n      // to simulate natural behaviour.\n      let target = e.target;\n      if (target !== null) {\n        target.focus();\n      }\n      setTimeout(function () {\n        if (!e.target) {\n          return;\n        }\n        try {\n          let event = document.createEvent('MouseEvents');\n          event.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);\n          e.target.dispatchEvent(event);\n        } catch (e) {\n          event = new Event('click');\n          e.target.dispatchEvent(event);\n        }\n      }, 0);\n      e.preventDefault();\n    }\n    removeGlobalHandlers() {\n      if (typeof document === 'undefined') return;\n      document.removeEventListener('touchmove', this._touchMoveHandler);\n      document.removeEventListener('mouseup', this._mouseupHandler, true);\n    }\n    _mouseupHandler() {\n      document.removeEventListener('mouseup', this._mouseupHandler, true);\n      document.body.classList.remove('ember-basic-dropdown-text-select-disabled');\n    }\n    _touchMoveHandler(e) {\n      this.touchMoveEvent = e;\n      document.removeEventListener('touchmove', this._touchMoveHandler);\n    }\n\n    // Methods\n    _stopTextSelectionUntilMouseup() {\n      document.addEventListener('mouseup', this._mouseupHandler, true);\n      document.body.classList.add('ember-basic-dropdown-text-select-disabled');\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"handleMouseDown\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"handleMouseDown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClick\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleKeyDown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeyDown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTouchStart\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTouchStart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTouchEnd\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTouchEnd\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeGlobalHandlers\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"removeGlobalHandlers\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_mouseupHandler\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"_mouseupHandler\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_touchMoveHandler\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"_touchMoveHandler\"), _class.prototype), _class);\n});","define(\"ember-basic-dropdown/components/basic-dropdown\", [\"exports\", \"@glimmer/component\", \"ember-basic-dropdown/utils/calculate-position\", \"@embroider/macros/runtime\"], function (_exports, _component, _calculatePosition, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\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 UNINITIALIZED = {};\n  const IGNORED_STYLES = ['top', 'left', 'right', 'width', 'height'];\n  let BasicDropdown = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._tracked, _dec7 = Ember._tracked, _dec8 = Ember._tracked, _dec9 = Ember._tracked, _dec0 = Ember._tracked, _dec1 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, _dec12 = Ember._action, _class = class BasicDropdown extends _component.default {\n    get horizontalPosition() {\n      return this.args.horizontalPosition || 'auto'; // auto-right | right | center | left\n    }\n    get verticalPosition() {\n      return this.args.verticalPosition || 'auto'; // above | below\n    }\n    get destination() {\n      return this.args.destination || this._getDestinationId();\n    }\n    get disabled() {\n      let newVal = this.args.disabled || false;\n      if (this._previousDisabled !== UNINITIALIZED && this._previousDisabled !== newVal) {\n        Ember.run.schedule('actions', () => {\n          if (newVal && this.publicAPI.isOpen) {\n            this.isOpen = false;\n          }\n          this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n        });\n      }\n      this._previousDisabled = newVal;\n      return newVal;\n    }\n    get publicAPI() {\n      return {\n        uniqueId: this._uid,\n        isOpen: this.isOpen,\n        disabled: this.disabled,\n        actions: this._actions\n      };\n    }\n\n    // Lifecycle hooks\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"hPosition\", _descriptor, this);\n      _initializerDefineProperty(this, \"vPosition\", _descriptor2, this);\n      _initializerDefineProperty(this, \"top\", _descriptor3, this);\n      _initializerDefineProperty(this, \"left\", _descriptor4, this);\n      _initializerDefineProperty(this, \"right\", _descriptor5, this);\n      _initializerDefineProperty(this, \"width\", _descriptor6, this);\n      _initializerDefineProperty(this, \"height\", _descriptor7, this);\n      _initializerDefineProperty(this, \"otherStyles\", _descriptor8, this);\n      _initializerDefineProperty(this, \"isOpen\", _descriptor9, this);\n      _initializerDefineProperty(this, \"renderInPlace\", _descriptor0, this);\n      _defineProperty(this, \"previousVerticalPosition\", void 0);\n      _defineProperty(this, \"previousHorizontalPosition\", void 0);\n      _defineProperty(this, \"destinationElement\", void 0);\n      _defineProperty(this, \"_uid\", Ember.guidFor(this));\n      _defineProperty(this, \"_dropdownId\", this.args.dropdownId || `ember-basic-dropdown-content-${this._uid}`);\n      _defineProperty(this, \"_previousDisabled\", UNINITIALIZED);\n      _defineProperty(this, \"_actions\", {\n        open: this.open,\n        close: this.close,\n        toggle: this.toggle,\n        reposition: this.reposition\n      });\n      if (this.args.onInit) {\n        this.args.onInit(this.publicAPI);\n      }\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n    }\n    willDestroy() {\n      super.willDestroy();\n      if (this.args.registerAPI) {\n        this.args.registerAPI(null);\n      }\n    }\n\n    // Actions\n    open(e) {\n      if (this.isDestroyed) {\n        return;\n      }\n      if (this.publicAPI.disabled || this.publicAPI.isOpen) {\n        return;\n      }\n      if (this.args.onOpen && this.args.onOpen(this.publicAPI, e) === false) {\n        return;\n      }\n      this.isOpen = true;\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n    }\n    close(e, skipFocus) {\n      if (this.isDestroyed) {\n        return;\n      }\n      if (this.publicAPI.disabled || !this.publicAPI.isOpen) {\n        return;\n      }\n      if (this.args.onClose && this.args.onClose(this.publicAPI, e) === false) {\n        return;\n      }\n      if (this.isDestroyed) {\n        return; // To check that the `onClose` didn't destroy the dropdown\n      }\n      this.hPosition = this.vPosition = null;\n      this.top = this.left = this.right = this.width = this.height = undefined;\n      this.previousVerticalPosition = this.previousHorizontalPosition = undefined;\n      this.isOpen = false;\n      this.args.registerAPI && this.args.registerAPI(this.publicAPI);\n      if (skipFocus) {\n        return;\n      }\n      let trigger = document.querySelector(`[data-ebd-id=${this.publicAPI.uniqueId}-trigger]`);\n      if (trigger && trigger.tabIndex > -1) {\n        trigger.focus();\n      }\n    }\n    toggle(e) {\n      if (this.publicAPI.isOpen) {\n        this.close(e);\n      } else {\n        this.open(e);\n      }\n    }\n    reposition() {\n      if (!this.publicAPI.isOpen) {\n        return;\n      }\n      let dropdownElement = document.getElementById(this._dropdownId);\n      let triggerElement = document.querySelector(`[data-ebd-id=${this.publicAPI.uniqueId}-trigger]`);\n      if (!dropdownElement || !triggerElement) {\n        return;\n      }\n      this.destinationElement = this.destinationElement || document.getElementById(this.destination);\n      let {\n        horizontalPosition,\n        verticalPosition,\n        previousHorizontalPosition,\n        previousVerticalPosition\n      } = this;\n      let {\n        renderInPlace = false,\n        matchTriggerWidth = false\n      } = this.args;\n      let calculatePositionFn = this.args.calculatePosition || _calculatePosition.default;\n      let positionData = calculatePositionFn(triggerElement, dropdownElement, this.destinationElement, {\n        horizontalPosition,\n        verticalPosition,\n        previousHorizontalPosition,\n        previousVerticalPosition,\n        renderInPlace,\n        matchTriggerWidth,\n        dropdown: this\n      });\n      return this.applyReposition(triggerElement, dropdownElement, positionData);\n    }\n    applyReposition(_trigger, dropdown, positions) {\n      let changes = {\n        hPosition: positions.horizontalPosition,\n        vPosition: positions.verticalPosition,\n        otherStyles: Ember.assign({}, this.otherStyles)\n      };\n      if (positions.style) {\n        if (positions.style.top !== undefined) {\n          changes.top = `${positions.style.top}px`;\n        }\n        // The component can be aligned from the right or from the left, but not from both.\n        if (positions.style.left !== undefined) {\n          changes.left = `${positions.style.left}px`;\n          changes.right = undefined;\n          // Since we set the first run manually we may need to unset the `right` property.\n          if (positions.style.right !== undefined) {\n            positions.style.right = undefined;\n          }\n        } else if (positions.style.right !== undefined) {\n          changes.right = `${positions.style.right}px`;\n          changes.left = undefined;\n        }\n        if (positions.style.width !== undefined) {\n          changes.width = `${positions.style.width}px`;\n        }\n        if (positions.style.height !== undefined) {\n          changes.height = `${positions.style.height}px`;\n        }\n        if (this.top === undefined) {\n          // Bypass Ember on the first reposition only to avoid flickering.\n          for (let prop in positions.style) {\n            if (positions.style[prop] !== undefined) {\n              if (typeof positions.style[prop] === 'number') {\n                dropdown.style.setProperty(prop, `${positions.style[prop]}px`);\n              } else {\n                dropdown.style.setProperty(prop, `${positions.style[prop]}`);\n              }\n            }\n          }\n        }\n      }\n      for (let prop in positions.style) {\n        // Array.includes is not available for IE11\n        if (IGNORED_STYLES.indexOf(prop) === -1) {\n          changes.otherStyles;\n          changes.otherStyles[prop] = positions.style[prop];\n        }\n      }\n      this.hPosition = changes.hPosition;\n      this.vPosition = changes.vPosition;\n      this.top = changes.top;\n      this.left = changes.left;\n      this.right = changes.right;\n      this.width = changes.width;\n      this.height = changes.height;\n      this.otherStyles = changes.otherStyles;\n      this.previousHorizontalPosition = positions.horizontalPosition;\n      this.previousVerticalPosition = positions.verticalPosition;\n      return changes;\n    }\n    _getDestinationId() {\n      let config = Ember.getOwner(this).resolveRegistration(\"config:environment\");\n\n      // This takes care of stripping this code out if not running tests\n      if ((0, _runtime.macroCondition)((0, _runtime.isTesting)())) {\n        if (typeof FastBoot === \"undefined\" && true) {\n          let getRootElement = require(\"@ember/test-helpers/dom/get-root-element\");\n          return getRootElement.default().id;\n        }\n        let rootView = document.querySelector('#ember-testing > .ember-view');\n        if (rootView) {\n          return rootView.id;\n        }\n        return '';\n      }\n      return config[\"ember-basic-dropdown\"] && config[\"ember-basic-dropdown\"].destination || \"ember-basic-dropdown-wormhole\";\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"hPosition\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"vPosition\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"top\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"left\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"right\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"width\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"height\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"otherStyles\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return {};\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"isOpen\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.initiallyOpened || false;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"renderInPlace\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.renderInPlace !== undefined ? this.args.renderInPlace : false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"open\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"open\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"close\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggle\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"toggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"reposition\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"reposition\"), _class.prototype), _class);\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-content\", [\"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\": \"1SHPeLsY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@renderInPlace\\\",\\\"@overlay\\\",\\\"@htmlTag\\\",\\\"@defaultClass\\\",\\\"@vPosition\\\",\\\"@hPosition\\\",\\\"@dir\\\",\\\"&attrs\\\",\\\"@height\\\",\\\"@width\\\",\\\"@right\\\",\\\"@left\\\",\\\"@top\\\",\\\"@otherStyles\\\",\\\"@dropdown\\\",\\\"@onFocusIn\\\",\\\"@onFocusOut\\\",\\\"@onMouseEnter\\\",\\\"@onMouseLeave\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[32,15,[\\\"isOpen\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"ember-basic-dropdown-content-wormhole-origin\\\"],[12],[2,\\\"\\\\n\\\"],[8,\\\"maybe-in-element\\\",[],[[\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],[[32,0,[\\\"destinationElement\\\"]],[32,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[32,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"ember-basic-dropdown-overlay\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,\\\"basic-dropdown-optional-tag\\\",[[16,1,[32,0,[\\\"dropdownId\\\"]]],[16,0,[31,[\\\"ember-basic-dropdown-content ember-basic-dropdown-content--\\\",[32,6],\\\" ember-basic-dropdown-content--\\\",[32,5],\\\" \\\",[32,0,[\\\"animationClass\\\"]],[30,[36,2],[[32,1],\\\" ember-basic-dropdown-content--in-place\\\"],null],\\\" \\\",[32,4]]]],[16,\\\"dir\\\",[32,7]],[17,8],[4,[38,1],[[32,14],[30,[36,0],null,[[\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\"],[[32,13],[32,12],[32,11],[32,10],[32,9]]]]],null],[4,[38,3],[[32,0,[\\\"setup\\\"]]],null],[4,[38,3],[[32,15,[\\\"actions\\\",\\\"reposition\\\"]]],null],[4,[38,3],[[32,0,[\\\"setupMutationObserver\\\"]]],null],[4,[38,3],[[32,0,[\\\"animateIn\\\"]]],null],[4,[38,4],[[32,0,[\\\"teardownMutationObserver\\\"]]],null],[4,[38,4],[[32,0,[\\\"animateOut\\\"]]],null],[4,[38,4],[[32,0,[\\\"teardown\\\"]]],null],[4,[38,7],[\\\"focusin\\\",[30,[36,6],[[30,[36,5],[[32,16],[32,0,[\\\"noop\\\"]]],null],[32,15]],null]],null],[4,[38,7],[\\\"focusout\\\",[30,[36,6],[[30,[36,5],[[32,17],[32,0,[\\\"noop\\\"]]],null],[32,15]],null]],null],[4,[38,7],[\\\"mouseenter\\\",[30,[36,6],[[30,[36,5],[[32,18],[32,0,[\\\"noop\\\"]]],null],[32,15]],null]],null],[4,[38,7],[\\\"mouseleave\\\",[30,[36,6],[[30,[36,5],[[32,19],[32,0,[\\\"noop\\\"]]],null],[32,15]],null]],null]],[[\\\"@htmlTag\\\"],[[32,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[18,20,null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[11,\\\"div\\\"],[16,1,[32,0,[\\\"dropdownId\\\"]]],[24,0,\\\"ember-basic-dropdown-content-placeholder\\\"],[4,[38,1],[[30,[36,0],null,[[\\\"display\\\"],[\\\"none\\\"]]]],null],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"style\\\",\\\"if\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"or\\\",\\\"fn\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-content.hbs\"\n  });\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-optional-tag\", [\"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\": \"5XXUNkBP\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Element\\\",\\\"&attrs\\\",\\\"&default\\\",\\\"@htmlTag\\\"],\\\"statements\\\":[[6,[37,4],[[32,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,1],[[30,[36,0],[[32,4]],null]],null]],[[\\\"tagName\\\"],[[32,4]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1],[[17,2]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[18,3,null],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[17,2],[12],[2,\\\"\\\\n    \\\"],[18,3,null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-element\\\",\\\"ensure-safe-component\\\",\\\"component\\\",\\\"let\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-optional-tag.hbs\"\n  });\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown-trigger\", [\"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\": \"fQUmrlIi\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@htmlTag\\\",\\\"@defaultClass\\\",\\\"@vPosition\\\",\\\"@hPosition\\\",\\\"@renderInPlace\\\",\\\"@dropdown\\\",\\\"&attrs\\\",\\\"@onKeyDown\\\",\\\"@onMouseDown\\\",\\\"@onTouchEnd\\\",\\\"@onClick\\\",\\\"@onMouseEnter\\\",\\\"@onMouseLeave\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@onFocusIn\\\",\\\"@onFocusOut\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"basic-dropdown-optional-tag\\\",[[16,0,[31,[\\\"ember-basic-dropdown-trigger\\\\n    \\\",[30,[36,1],[[32,5],\\\" ember-basic-dropdown-trigger--in-place\\\"],null],\\\"\\\\n    \\\",[30,[36,1],[[32,4],[30,[36,0],[\\\" ember-basic-dropdown-trigger--\\\",[32,4]],null]],null],\\\"\\\\n    \\\",[30,[36,1],[[32,3],[30,[36,0],[\\\" ember-basic-dropdown-trigger--\\\",[32,3]],null]],null],\\\"\\\\n\\\\n    \\\",[32,2]]]],[24,\\\"role\\\",\\\"button\\\"],[16,\\\"tabindex\\\",[30,[36,2],[[32,6,[\\\"disabled\\\"]],\\\"0\\\"],null]],[16,\\\"data-ebd-id\\\",[31,[[32,6,[\\\"uniqueId\\\"]],\\\"-trigger\\\"]]],[16,\\\"aria-owns\\\",[31,[\\\"ember-basic-dropdown-content-\\\",[32,6,[\\\"uniqueId\\\"]]]]],[16,\\\"aria-expanded\\\",[31,[[32,6,[\\\"isOpen\\\"]]]]],[16,\\\"aria-disabled\\\",[30,[36,1],[[32,6,[\\\"disabled\\\"]],\\\"true\\\"],null]],[17,7],[4,[38,3],[[32,0,[\\\"removeGlobalHandlers\\\"]]],null],[4,[38,4],[\\\"mousedown\\\",[32,0,[\\\"handleMouseDown\\\"]]],null],[4,[38,4],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,4],[\\\"keydown\\\",[32,0,[\\\"handleKeyDown\\\"]]],null],[4,[38,4],[\\\"touchstart\\\",[32,0,[\\\"handleTouchStart\\\"]]],null],[4,[38,4],[\\\"touchend\\\",[32,0,[\\\"handleTouchEnd\\\"]]],null],[4,[38,4],[\\\"keydown\\\",[30,[36,6],[[30,[36,5],[[32,8],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"mousedown\\\",[30,[36,6],[[30,[36,5],[[32,9],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"touchend\\\",[30,[36,6],[[30,[36,5],[[32,10],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"click\\\",[30,[36,6],[[30,[36,5],[[32,11],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"mouseenter\\\",[30,[36,6],[[30,[36,5],[[32,12],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"mouseleave\\\",[30,[36,6],[[30,[36,5],[[32,13],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"focus\\\",[30,[36,6],[[30,[36,5],[[32,14],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"blur\\\",[30,[36,6],[[30,[36,5],[[32,15],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"focusin\\\",[30,[36,6],[[30,[36,5],[[32,16],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null],[4,[38,4],[\\\"focusout\\\",[30,[36,6],[[30,[36,5],[[32,17],[32,0,[\\\"noop\\\"]]],null],[32,6]],null]],null]],[[\\\"@htmlTag\\\"],[[32,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,18,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"if\\\",\\\"unless\\\",\\\"will-destroy\\\",\\\"on\\\",\\\"or\\\",\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown-trigger.hbs\"\n  });\n});","define(\"ember-basic-dropdown/templates/components/basic-dropdown\", [\"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\": \"P8i4mYsf\",\n    \"block\": \"{\\\"symbols\\\":[\\\"api\\\",\\\"&default\\\",\\\"&attrs\\\",\\\"@rootEventType\\\",\\\"@preventScroll\\\",\\\"@contentComponent\\\",\\\"@triggerComponent\\\"],\\\"statements\\\":[[6,[37,7],[[30,[36,6],null,[[\\\"uniqueId\\\",\\\"isOpen\\\",\\\"disabled\\\",\\\"actions\\\",\\\"Trigger\\\",\\\"Content\\\"],[[32,0,[\\\"publicAPI\\\",\\\"uniqueId\\\"]],[32,0,[\\\"publicAPI\\\",\\\"isOpen\\\"]],[32,0,[\\\"publicAPI\\\",\\\"disabled\\\"]],[32,0,[\\\"publicAPI\\\",\\\"actions\\\"]],[30,[36,0],[[30,[36,5],[[32,7],[29]],null],[30,[36,4],[\\\"basic-dropdown-trigger\\\"],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"vPosition\\\"],[[30,[36,1],[[32,0,[\\\"publicAPI\\\"]]],null],[30,[36,1],[[32,0,[\\\"hPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"renderInPlace\\\"]]],null],[30,[36,1],[[32,0,[\\\"vPosition\\\"]]],null]]]],[30,[36,4],[[30,[36,3],[[32,7]],null]],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"vPosition\\\"],[[30,[36,1],[[32,0,[\\\"publicAPI\\\"]]],null],[30,[36,1],[[32,0,[\\\"hPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"renderInPlace\\\"]]],null],[30,[36,1],[[32,0,[\\\"vPosition\\\"]]],null]]]]],null],[30,[36,0],[[30,[36,5],[[32,6],[29]],null],[30,[36,4],[\\\"basic-dropdown-content\\\"],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"preventScroll\\\",\\\"rootEventType\\\",\\\"vPosition\\\",\\\"destination\\\",\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\",\\\"otherStyles\\\"],[[30,[36,1],[[32,0,[\\\"publicAPI\\\"]]],null],[30,[36,1],[[32,0,[\\\"hPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"renderInPlace\\\"]]],null],[30,[36,1],[[32,5]],null],[30,[36,2],[[32,4],\\\"click\\\"],null],[30,[36,1],[[32,0,[\\\"vPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"destination\\\"]]],null],[30,[36,1],[[32,0,[\\\"top\\\"]]],null],[30,[36,1],[[32,0,[\\\"left\\\"]]],null],[30,[36,1],[[32,0,[\\\"right\\\"]]],null],[30,[36,1],[[32,0,[\\\"width\\\"]]],null],[30,[36,1],[[32,0,[\\\"height\\\"]]],null],[30,[36,1],[[32,0,[\\\"otherStyles\\\"]]],null]]]],[30,[36,4],[[30,[36,3],[[32,6]],null]],[[\\\"dropdown\\\",\\\"hPosition\\\",\\\"renderInPlace\\\",\\\"preventScroll\\\",\\\"rootEventType\\\",\\\"vPosition\\\",\\\"destination\\\",\\\"top\\\",\\\"left\\\",\\\"right\\\",\\\"width\\\",\\\"height\\\",\\\"otherStyles\\\"],[[30,[36,1],[[32,0,[\\\"publicAPI\\\"]]],null],[30,[36,1],[[32,0,[\\\"hPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"renderInPlace\\\"]]],null],[30,[36,1],[[32,5]],null],[30,[36,2],[[32,4],\\\"click\\\"],null],[30,[36,1],[[32,0,[\\\"vPosition\\\"]]],null],[30,[36,1],[[32,0,[\\\"destination\\\"]]],null],[30,[36,1],[[32,0,[\\\"top\\\"]]],null],[30,[36,1],[[32,0,[\\\"left\\\"]]],null],[30,[36,1],[[32,0,[\\\"right\\\"]]],null],[30,[36,1],[[32,0,[\\\"width\\\"]]],null],[30,[36,1],[[32,0,[\\\"height\\\"]]],null],[30,[36,1],[[32,0,[\\\"otherStyles\\\"]]],null]]]]],null]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"renderInPlace\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[24,0,\\\"ember-basic-dropdown\\\"],[17,3],[12],[18,2,[[32,1]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"readonly\\\",\\\"or\\\",\\\"ensure-safe-component\\\",\\\"component\\\",\\\"eq\\\",\\\"hash\\\",\\\"with\\\"]}\",\n    \"moduleName\": \"ember-basic-dropdown/templates/components/basic-dropdown.hbs\"\n  });\n});","define(\"ember-basic-dropdown/utils/calculate-position\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.calculateWormholedPosition = _exports.calculateInPlacePosition = void 0;\n  _exports.getScrollParent = getScrollParent;\n  let calculateWormholedPosition = (trigger, content, destination, {\n    horizontalPosition,\n    verticalPosition,\n    matchTriggerWidth,\n    previousHorizontalPosition,\n    previousVerticalPosition\n  }) => {\n    // Collect information about all the involved DOM elements\n    let scroll = {\n      left: window.pageXOffset,\n      top: window.pageYOffset\n    };\n    let {\n      left: triggerLeft,\n      top: triggerTop,\n      width: triggerWidth,\n      height: triggerHeight\n    } = trigger.getBoundingClientRect();\n    let {\n      height: dropdownHeight,\n      width: dropdownWidth\n    } = content.getBoundingClientRect();\n    let viewportWidth = document.body.clientWidth || window.innerWidth;\n    let style = {};\n\n    // Apply containers' offset\n    let anchorElement = destination.parentNode;\n    let anchorPosition = window.getComputedStyle(anchorElement).position;\n    while (anchorPosition !== 'relative' && anchorPosition !== 'absolute' && anchorElement.tagName.toUpperCase() !== 'BODY') {\n      anchorElement = anchorElement.parentNode;\n      anchorPosition = window.getComputedStyle(anchorElement).position;\n    }\n    if (anchorPosition === 'relative' || anchorPosition === 'absolute') {\n      let rect = anchorElement.getBoundingClientRect();\n      triggerLeft = triggerLeft - rect.left;\n      triggerTop = triggerTop - rect.top;\n      let {\n        offsetParent\n      } = anchorElement;\n      if (offsetParent) {\n        triggerLeft -= offsetParent.scrollLeft;\n        triggerTop -= offsetParent.scrollTop;\n      }\n    }\n\n    // Calculate drop down width\n    dropdownWidth = matchTriggerWidth ? triggerWidth : dropdownWidth;\n    if (matchTriggerWidth) {\n      style.width = dropdownWidth;\n    }\n\n    // Calculate horizontal position\n    let triggerLeftWithScroll = triggerLeft + scroll.left;\n    if (horizontalPosition === 'auto' || horizontalPosition === 'auto-left') {\n      // Calculate the number of visible horizontal pixels if we were to place the\n      // dropdown on the left and right\n      let leftVisible = Math.min(viewportWidth, triggerLeft + dropdownWidth) - Math.max(0, triggerLeft);\n      let rightVisible = Math.min(viewportWidth, triggerLeft + triggerWidth) - Math.max(0, triggerLeft + triggerWidth - dropdownWidth);\n      if (dropdownWidth > leftVisible && rightVisible > leftVisible) {\n        // If the drop down won't fit left-aligned, and there is more space on the\n        // right than on the left, then force right-aligned\n        horizontalPosition = 'right';\n      } else if (dropdownWidth > rightVisible && leftVisible > rightVisible) {\n        // If the drop down won't fit right-aligned, and there is more space on\n        // the left than on the right, then force left-aligned\n        horizontalPosition = 'left';\n      } else {\n        // Keep same position as previous\n        horizontalPosition = previousHorizontalPosition || 'left';\n      }\n    } else if (horizontalPosition === 'auto-right') {\n      // Calculate the number of visible horizontal pixels if we were to place the\n      // dropdown on the left and right\n      let leftVisible = Math.min(viewportWidth, triggerLeft + dropdownWidth) - Math.max(0, triggerLeft);\n      let rightVisible = Math.min(viewportWidth, triggerLeft + triggerWidth) - Math.max(0, triggerLeft + triggerWidth - dropdownWidth);\n      if (dropdownWidth > rightVisible && leftVisible > rightVisible) {\n        // If the drop down won't fit right-aligned, and there is more space on the\n        // left than on the right, then force left-aligned\n        horizontalPosition = 'left';\n      } else if (dropdownWidth > leftVisible && rightVisible > leftVisible) {\n        // If the drop down won't fit left-aligned, and there is more space on\n        // the right than on the left, then force right-aligned\n        horizontalPosition = 'right';\n      } else {\n        // Keep same position as previous\n        horizontalPosition = previousHorizontalPosition || 'right';\n      }\n    }\n    if (horizontalPosition === 'right') {\n      style.right = viewportWidth - (triggerLeftWithScroll + triggerWidth);\n    } else if (horizontalPosition === 'center') {\n      style.left = triggerLeftWithScroll + (triggerWidth - dropdownWidth) / 2;\n    } else {\n      style.left = triggerLeftWithScroll;\n    }\n\n    // Calculate vertical position\n    let triggerTopWithScroll = triggerTop;\n\n    /**\n     * Fixes bug where the dropdown always stays on the same position on the screen when\n     * the <body> is relatively positioned\n     */\n    let isBodyPositionRelative = window.getComputedStyle(document.body).getPropertyValue('position') === 'relative';\n    if (!isBodyPositionRelative) {\n      triggerTopWithScroll += scroll.top;\n    }\n    if (verticalPosition === 'above') {\n      style.top = triggerTopWithScroll - dropdownHeight;\n    } else if (verticalPosition === 'below') {\n      style.top = triggerTopWithScroll + triggerHeight;\n    } else {\n      let viewportBottom = scroll.top + window.innerHeight;\n      let enoughRoomBelow = triggerTopWithScroll + triggerHeight + dropdownHeight < viewportBottom;\n      let enoughRoomAbove = triggerTop > dropdownHeight;\n      if (!enoughRoomBelow && !enoughRoomAbove) {\n        verticalPosition = 'below';\n      } else if (previousVerticalPosition === 'below' && !enoughRoomBelow && enoughRoomAbove) {\n        verticalPosition = 'above';\n      } else if (previousVerticalPosition === 'above' && !enoughRoomAbove && enoughRoomBelow) {\n        verticalPosition = 'below';\n      } else if (!previousVerticalPosition) {\n        verticalPosition = enoughRoomBelow ? 'below' : 'above';\n      } else {\n        verticalPosition = previousVerticalPosition;\n      }\n      style.top = triggerTopWithScroll + (verticalPosition === 'below' ? triggerHeight : -dropdownHeight);\n    }\n    return {\n      horizontalPosition,\n      verticalPosition,\n      style\n    };\n  };\n  _exports.calculateWormholedPosition = calculateWormholedPosition;\n  let calculateInPlacePosition = (trigger, content, _destination, {\n    horizontalPosition,\n    verticalPosition\n  }) => {\n    let dropdownRect;\n    let positionData = {\n      horizontalPosition: 'left',\n      verticalPosition: 'below',\n      style: {}\n    };\n    if (horizontalPosition === 'auto') {\n      let triggerRect = trigger.getBoundingClientRect();\n      dropdownRect = content.getBoundingClientRect();\n      let viewportRight = window.pageXOffset + window.innerWidth;\n      positionData.horizontalPosition = triggerRect.left + dropdownRect.width > viewportRight ? 'right' : 'left';\n    } else if (horizontalPosition === 'center') {\n      let {\n        width: triggerWidth\n      } = trigger.getBoundingClientRect();\n      let {\n        width: dropdownWidth\n      } = content.getBoundingClientRect();\n      positionData.style = {\n        left: (triggerWidth - dropdownWidth) / 2\n      };\n    } else if (horizontalPosition === 'auto-right') {\n      let triggerRect = trigger.getBoundingClientRect();\n      let dropdownRect = content.getBoundingClientRect();\n      positionData.horizontalPosition = triggerRect.right > dropdownRect.width ? 'right' : 'left';\n    } else if (horizontalPosition === 'right') {\n      positionData.horizontalPosition = 'right';\n    }\n    if (verticalPosition === 'above') {\n      positionData.verticalPosition = verticalPosition;\n      dropdownRect = dropdownRect || content.getBoundingClientRect();\n      positionData.style.top = -dropdownRect.height;\n    } else {\n      positionData.verticalPosition = 'below';\n    }\n    return positionData;\n  };\n  _exports.calculateInPlacePosition = calculateInPlacePosition;\n  function getScrollParent(element) {\n    let style = window.getComputedStyle(element);\n    let excludeStaticParent = style.position === \"absolute\";\n    let overflowRegex = /(auto|scroll)/;\n    if (style.position === \"fixed\") return document.body;\n    for (let parent = element; parent = parent.parentElement;) {\n      style = window.getComputedStyle(parent);\n      if (excludeStaticParent && style.position === \"static\") {\n        continue;\n      }\n      if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) {\n        return parent;\n      }\n    }\n    return document.body;\n  }\n  let calculatePosition = (trigger, content, destination, options) => {\n    if (options.renderInPlace) {\n      return calculateInPlacePosition(trigger, content, destination, options);\n    } else {\n      return calculateWormholedPosition(trigger, content, destination, options);\n    }\n  };\n  var _default = _exports.default = calculatePosition;\n});","define(\"ember-basic-dropdown/utils/has-moved\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hasMoved;\n  function hasMoved(endEvent, moveEvent) {\n    if (!moveEvent) {\n      return false;\n    }\n    if (!endEvent.changedTouches?.[0] || moveEvent.changedTouches[0].touchType !== 'stylus') {\n      return true;\n    }\n\n    // Distinguish stylus scroll and tap: if touch \"distance\" < 5px, we consider it a tap\n    let horizontalDistance = Math.abs(moveEvent.changedTouches[0].pageX - endEvent.changedTouches[0].pageX);\n    let verticalDistance = Math.abs(moveEvent.changedTouches[0].pageY - endEvent.changedTouches[0].pageY);\n    return horizontalDistance >= 5 || verticalDistance >= 5;\n  }\n});","define(\"ember-basic-dropdown/utils/scroll-helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.LINES_PER_PAGE = _exports.DOM_DELTA_PIXEL = _exports.DOM_DELTA_PAGE = _exports.DOM_DELTA_LINE = void 0;\n  _exports.distributeScroll = distributeScroll;\n  _exports.getAvailableScroll = getAvailableScroll;\n  _exports.getScrollDeltas = getScrollDeltas;\n  _exports.getScrollLineHeight = getScrollLineHeight;\n  /**\n   * Mode that expresses the deltas in pixels.\n   */\n  const DOM_DELTA_PIXEL = _exports.DOM_DELTA_PIXEL = 0;\n  /**\n   * Mode that expresses the deltas in lines.\n   *\n   * This only happens in Firefox for Windows.\n   *\n   * Reference: https://stackoverflow.com/a/37474225\n   */\n  const DOM_DELTA_LINE = _exports.DOM_DELTA_LINE = 1;\n  /**\n   * Mode that expresses the deltas in pages.\n   *\n   * This only happens in Firefox for Windows with\n   * a custom OS setting activated.\n   *\n   * Reference: https://stackoverflow.com/a/37474225\n   */\n  const DOM_DELTA_PAGE = _exports.DOM_DELTA_PAGE = 2;\n\n  /**\n   * Number of lines per page considered for\n   * DOM_DELTA_PAGE.\n   *\n   */\n  const LINES_PER_PAGE = _exports.LINES_PER_PAGE = 3;\n  let scrollLineHeight = undefined;\n  function getScrollDeltas({\n    deltaX = 0,\n    deltaY = 0,\n    deltaMode = DOM_DELTA_PIXEL\n  }) {\n    if (deltaMode !== DOM_DELTA_PIXEL) {\n      if (deltaMode === DOM_DELTA_PAGE) {\n        deltaX *= LINES_PER_PAGE;\n        deltaY *= LINES_PER_PAGE;\n      }\n      const scrollLineHeight = getScrollLineHeight();\n      if (scrollLineHeight !== undefined) {\n        deltaX *= scrollLineHeight;\n        deltaY *= scrollLineHeight;\n      }\n    }\n    return {\n      deltaX,\n      deltaY\n    };\n  }\n  function getScrollLineHeight() {\n    if (scrollLineHeight === undefined) {\n      const iframe = document.createElement('iframe');\n      iframe.src = '#';\n      iframe.style.position = 'absolute';\n      iframe.style.visibility = 'hidden';\n      iframe.style.width = '0px';\n      iframe.style.height = '0px';\n      iframe.style.border = 'none';\n      document.body.appendChild(iframe);\n      const iframeDocument = iframe.contentWindow.document;\n      iframeDocument.open();\n      iframeDocument.write('<!doctype html><html><head></head><body><span>X</span></body></html>');\n      iframeDocument.close();\n      let body = iframeDocument.body;\n      scrollLineHeight = body.firstElementChild.offsetHeight;\n      document.body.removeChild(iframe);\n    }\n    return scrollLineHeight;\n  }\n  function getAvailableScroll(element, container) {\n    const availableScroll = {\n      deltaXNegative: 0,\n      deltaXPositive: 0,\n      deltaYNegative: 0,\n      deltaYPositive: 0\n    };\n    let scrollLeftMax, scrollTopMax;\n    while (container.contains(element) || container === element) {\n      scrollLeftMax = element.scrollWidth - element.clientWidth;\n      scrollTopMax = element.scrollHeight - element.clientHeight;\n      availableScroll.deltaXNegative += -element.scrollLeft;\n      availableScroll.deltaXPositive += scrollLeftMax - element.scrollLeft;\n      availableScroll.deltaYNegative += -element.scrollTop;\n      availableScroll.deltaYPositive += scrollTopMax - element.scrollTop;\n      let parent = element.parentNode;\n      if (parent === null) break;\n      element = parent;\n    }\n    return availableScroll;\n  }\n\n  /**\n   * Calculates the scroll distribution for `element` inside` container.\n   */\n  function calculateScrollDistribution(deltaX, deltaY, element, container, accumulator = []) {\n    const scrollInformation = {\n      element,\n      scrollLeft: 0,\n      scrollTop: 0\n    };\n    const scrollLeftMax = element.scrollWidth - element.clientWidth;\n    const scrollTopMax = element.scrollHeight - element.clientHeight;\n    const availableScroll = {\n      deltaXNegative: -element.scrollLeft,\n      deltaXPositive: scrollLeftMax - element.scrollLeft,\n      deltaYNegative: -element.scrollTop,\n      deltaYPositive: scrollTopMax - element.scrollTop\n    };\n    const elementStyle = window.getComputedStyle(element);\n    if (elementStyle.overflowX !== 'hidden') {\n      // The `deltaX` can be larger than the available scroll for the element, thus overshooting.\n      // The result of that is that it scrolls the element as far as possible. We don't need to\n      // calculate exactly because we reduce the amount of desired scroll for the\n      // parent elements by the correct amount below.\n      scrollInformation.scrollLeft = element.scrollLeft + deltaX;\n      if (deltaX > availableScroll.deltaXPositive) {\n        deltaX = deltaX - availableScroll.deltaXPositive;\n      } else if (deltaX < availableScroll.deltaXNegative) {\n        deltaX = deltaX - availableScroll.deltaXNegative;\n      } else {\n        deltaX = 0;\n      }\n    }\n    if (elementStyle.overflowY !== 'hidden') {\n      scrollInformation.scrollTop = element.scrollTop + deltaY;\n      if (deltaY > availableScroll.deltaYPositive) {\n        deltaY = deltaY - availableScroll.deltaYPositive;\n      } else if (deltaY < availableScroll.deltaYNegative) {\n        deltaY = deltaY - availableScroll.deltaYNegative;\n      } else {\n        deltaY = 0;\n      }\n    }\n    if (element !== container && (deltaX || deltaY)) {\n      return calculateScrollDistribution(deltaX, deltaY, element.parentNode, container, accumulator.concat([scrollInformation]));\n    }\n    return accumulator.concat([scrollInformation]);\n  }\n\n  // Recursively walks up scroll containers until the delta is distributed or we\n  // run out of elements in the allowed-to-scroll container.\n  function distributeScroll(deltaX, deltaY, element, container) {\n    const scrollInfos = calculateScrollDistribution(deltaX, deltaY, element, container);\n    let info;\n    for (let i = 0; i < scrollInfos.length; i++) {\n      info = scrollInfos[i];\n      info.element.scrollLeft = info.scrollLeft;\n      info.element.scrollTop = info.scrollTop;\n    }\n  }\n});","define(\"ember-bootstrap/components/bs-accordion\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"accordion\"\n    role=\"tablist\"\n    ...attributes\n  >\n    {{yield\n      (hash\n        item=(component (ensure-safe-component (bs-default @itemComponent (component \"bs-accordion/item\"))) selected=this.isSelected onClick=this.doChange)\n        change=this.doChange\n      )\n    }}\n  </div>\n  */\n  {\n    \"id\": \"BRRrXtop\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@itemComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,0,\\\"accordion\\\"],[24,\\\"role\\\",\\\"tablist\\\"],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,3,[[30,[36,3],null,[[\\\"item\\\",\\\"change\\\"],[[30,[36,0],[[30,[36,2],[[30,[36,1],[[32,2],[30,[36,0],[\\\"bs-accordion/item\\\"],null]],null]],null]],[[\\\"selected\\\",\\\"onClick\\\"],[[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"doChange\\\"]]]]],[32,0,[\\\"doChange\\\"]]]]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-accordion.hbs\"\n  });\n  /**\n    Bootstrap-style [accordion group](http://getbootstrap.com/javascript/#collapse-example-accordion),\n    with collapsible/expandable items.\n  \n    ### Usage\n  \n    Use as a block level component with any number of yielded [Components.AccordionItem](Components.AccordionItem.html)\n    components as children:\n  \n    ```handlebars\n    <BsAccordion as |acc|>\n      <acc.item @value={{1}} @title=\"First item\">\n        <p>Lorem ipsum...</p>\n        <button {{on \"click\" (fn acc.change 2)}}>\n          Next\n        </button>\n      </acc.item>\n      <acc.item @value={{2}} @title=\"Second item\">\n        <p>Lorem ipsum...</p>\n      </acc.item>\n      <acc.item @value={{3}} @title=\"Third item\">\n        <p>Lorem ipsum...</p>\n      </acc.item>\n    </BsAccordion>\n    ```\n  \n    In the example above the first accordion item utilizes the yielded `change` action to add some custom behaviour.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Accordion\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let Accordion = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Accordion extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * The value of the currently selected accordion item. Set this to change selection programmatically.\n       *\n       * When the selection is changed by user interaction this property will not update by using two-way bindings in order\n       * to follow DDAU best practices. If you want to react to such changes, subscribe to the `onChange` action\n       *\n       * @property selected\n       * @public\n       */\n      /**\n       * @property itemComponent\n       * @type {String}\n       * @private\n       */\n      _initializerDefineProperty(this, \"_isSelected\", _descriptor, this);\n      _defineProperty(this, \"_isSelectedNonTracked\", this.args.selected);\n      _defineProperty(this, \"_prevSelected\", this.args.selected);\n    }\n    /**\n     * The value of the currently selected accordion item\n     *\n     * @property isSelected\n     * @private\n     */\n    get isSelected() {\n      // ideally we would have used @localCopy here, but unfortunately this fails for Ember 3.16 in this special case\n      // see https://github.com/pzuraq/tracked-toolbox/issues/17\n      // So don't look at this, it is going to get ugly...\n      this._isSelected; // just consume this to invalidate the getter when this changes\n\n      if (this.args.selected && this._prevSelected !== this.args.selected) {\n        // eslint-disable-next-line ember/no-side-effects\n        this._isSelectedNonTracked = this._prevSelected = this.args.selected;\n      }\n      return this._isSelectedNonTracked;\n    }\n    set isSelected(value) {\n      this._isSelectedNonTracked = value;\n      this._isSelected = value;\n    }\n\n    /**\n     * Action when the selected accordion item is about to be changed.\n     *\n     * You can return false to prevent changing the active item, and do that in your action by\n     * setting the `selected` accordingly.\n     *\n     * @event onChange\n     * @param newValue\n     * @param oldValue\n     * @public\n     */\n\n    doChange(newValue) {\n      let oldValue = this.isSelected;\n      if (oldValue === newValue) {\n        newValue = null;\n      }\n      if (this.args.onChange?.(newValue, oldValue) !== false) {\n        this.isSelected = newValue;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_isSelected\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.selected;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"doChange\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doChange\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Accordion);\n});","define(\"ember-bootstrap/components/bs-accordion/item\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/cp/type-class\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-bootstrap/utils/decorators/arg\"], function (_exports, _component, _typeClass, _deprecateSubclassing, _arg) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"ember-bootstrap/utils/cp/type-class\",0,\"@ember/object/internals\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-bootstrap/utils/decorators/arg\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#let\n    (component (ensure-safe-component (bs-default @titleComponent (component \"bs-accordion/item/title\"))) collapsed=this.collapsed disabled=@disabled onClick=(fn (bs-default @onClick (bs-noop)) this.value))\n    (component (ensure-safe-component (bs-default @bodyComponent (component \"bs-accordion/item/body\"))) collapsed=this.collapsed)\n  as |Title Body|\n  }}\n    <div\n      class=\"{{if @disabled \"disabled\"}} {{this.typeClass}} {{if (macroCondition (macroGetOwnConfig \"isBS4\")) \"card\"}} {{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"accordion-item\"}}\"\n      ...attributes\n    >\n      {{#if (has-block-params)}}\n        {{yield\n          (hash\n            title=Title\n            body=Body        )\n        }}\n      {{else}}\n        <Title>\n          {{@title}}\n        </Title>\n        <Body>\n        {{yield}}\n        </Body>\n      {{/if}}\n    </div>\n  {{/let}}\n  */\n  {\n    \"id\": \"OW1jcDdG\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Title\\\",\\\"Body\\\",\\\"@title\\\",\\\"&default\\\",\\\"@disabled\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\",\\\"@bodyComponent\\\",\\\"@onClick\\\",\\\"@titleComponent\\\"],\\\"statements\\\":[[6,[37,8],[[30,[36,3],[[30,[36,5],[[30,[36,4],[[32,10],[30,[36,3],[\\\"bs-accordion/item/title\\\"],null]],null]],null]],[[\\\"collapsed\\\",\\\"disabled\\\",\\\"onClick\\\"],[[32,0,[\\\"collapsed\\\"]],[32,5],[30,[36,7],[[30,[36,4],[[32,9],[30,[36,6],null,null]],null],[32,0,[\\\"value\\\"]]],null]]]],[30,[36,3],[[30,[36,5],[[30,[36,4],[[32,8],[30,[36,3],[\\\"bs-accordion/item/body\\\"],null]],null]],null]],[[\\\"collapsed\\\"],[[32,0,[\\\"collapsed\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[16,0,[31,[[30,[36,1],[[32,5],\\\"disabled\\\"],null],\\\" \\\",[32,0,[\\\"typeClass\\\"]],\\\" \\\",\\\"card\\\",\\\" \\\",[29]]]],[17,6],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,2],[[32,7],\\\"default\\\",[28,[32,4]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,4,[[30,[36,0],null,[[\\\"title\\\",\\\"body\\\"],[[32,1],[32,2]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[32,3]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[8,[32,2],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[18,4,null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"if\\\",\\\"-has-block-params\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"bs-noop\\\",\\\"fn\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-accordion/item.hbs\"\n  });\n  /**\n   A collapsible/expandable item within an accordion\n  \n   See [Components.Accordion](Components.Accordion.html) for examples.\n  \n   @class AccordionItem\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n  let AccordionItem = _exports.default = (_dec = (0, _typeClass.default)('bg', 'type'), (0, _deprecateSubclassing.default)(_class = (_class2 = class AccordionItem extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * The title of the accordion item, displayed as a .panel-title element\n       *\n       * @property title\n       * @type string\n       * @public\n       */\n      /**\n       * The value of the accordion item, which is used as the value of the `selected` property of the parent [Components.Accordion](Components.Accordion.html) component\n       *\n       * @property value\n       * @public\n       */\n      _initializerDefineProperty(this, \"value\", _descriptor, this);\n      /**\n       * @property disabled\n       * @type boolean\n       * @public\n       */\n      /**\n       * Property for type styling\n       *\n       * For the available types see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/navbar/#color-schemes)\n       *\n       * @property type\n       * @type String\n       * @default 'default'\n       * @public\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor2, this);\n      _initializerDefineProperty(this, \"typeClass\", _descriptor3, this);\n    }\n    /**\n     * @property selected\n     * @private\n     */\n\n    /**\n     * @property titleComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property bodyComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property collapsed\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get collapsed() {\n      return this.value !== this.args.selected;\n    }\n    /**\n     * Reference to the parent `Components.Accordion` class.\n     *\n     * @property accordion\n     * @private\n     */\n    /**\n     * @event onClick\n     * @public\n     */\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"value\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return Ember.guidFor(this);\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'default';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"typeClass\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, AccordionItem);\n});","define(\"ember-bootstrap/components/bs-accordion/item/body\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <BsCollapse @collapsed={{@collapsed}} role=\"tabpanel\">\n    <div class=\"{{if (macroCondition (macroGetOwnConfig \"isBS4\")) \"card-body\"}} {{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"accordion-body\"}}\">\n      {{yield}}\n    </div>\n  </BsCollapse>\n  */\n  {\n    \"id\": \"rYEDs9WZ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@collapsed\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"bs-collapse\\\",[[24,\\\"role\\\",\\\"tabpanel\\\"]],[[\\\"@collapsed\\\"],[[32,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"card-body\\\",\\\" \\\",[29]]]],[12],[2,\\\"\\\\n    \\\"],[18,2,null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-accordion/item/body.hbs\"\n  });\n  /**\n   Component for an accordion item body.\n  \n   See [Components.Accordion](Components.Accordion.html) for examples.\n  \n   @class AccordionItemBody\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n\n  /**\n   * @property collapsed\n   * @type boolean\n   * @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-accordion/item/title\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-nested-interactive --}}\n  {{!-- @todo fix this, see https://github.com/kaliber5/ember-bootstrap/issues/999 --}}\n  {{#if (macroCondition (macroGetOwnConfig \"isBS5\"))}}\n    <h2\n      class=\"accordion-header\"\n      role=\"tab\"\n      ...attributes\n    >\n      <button\n        class=\"accordion-button {{if @disabled \"disabled\"}} {{if @collapsed \"collapsed\"}}\"\n        type=\"button\"\n        disabled={{@disabled}}\n        {{on \"click\" this.handleClick}}\n      >\n        {{yield}}\n      </button>\n    </h2>\n  {{else}}\n    <div\n      class=\"card-header\"\n      role=\"tab\"\n      ...attributes\n      {{on \"click\" this.handleClick}}\n    >\n      <h5 class=\"mb-0\">\n        <button class=\"btn btn-link {{if @disabled \"disabled\"}} {{if @collapsed \"collapsed\" \"expanded\"}}\" type=\"button\" disabled={{@disabled}}>\n          {{yield}}\n        </button>\n      </h5>\n    </div>\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"6S396C5V\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@collapsed\\\",\\\"@disabled\\\",\\\"&default\\\"],\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[24,0,\\\"card-header\\\"],[24,\\\"role\\\",\\\"tab\\\"],[17,1],[4,[38,0],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[12],[2,\\\"\\\\n    \\\"],[10,\\\"h5\\\"],[14,0,\\\"mb-0\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"button\\\"],[15,0,[31,[\\\"btn btn-link \\\",[30,[36,1],[[32,3],\\\"disabled\\\"],null],\\\" \\\",[30,[36,1],[[32,2],\\\"collapsed\\\",\\\"expanded\\\"],null]]]],[15,\\\"disabled\\\",[32,3]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n        \\\"],[18,4,null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-accordion/item/title.hbs\"\n  });\n  /**\n   Component for an accordion item title.\n  \n   See [Components.Accordion](Components.Accordion.html) for examples.\n  \n   @class AccordionItemTitle\n   @namespace Components\n   @extends Glimmer.Component\n   @public\n   */\n  let AccordionItemTitle = _exports.default = (_dec = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class AccordionItemTitle extends _component.default {\n    /**\n     * @property collapsed\n     * @type boolean\n     * @public\n     */\n\n    /**\n     * @property disabled\n     * @type boolean\n     * @private\n     */\n\n    /**\n     * @event onClick\n     * @public\n     */\n\n    handleClick(e) {\n      e.preventDefault();\n      if (!this.args.disabled) {\n        this.args.onClick?.();\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, AccordionItemTitle);\n});","define(\"ember-bootstrap/components/bs-alert\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/decorators/uses-transition\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-bootstrap/utils/decorators/arg\", \"tracked-toolbox\"], function (_exports, _component, _usesTransition, _deprecateSubclassing, _arg, _trackedToolbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/runloop\",0,\"ember-bootstrap/utils/decorators/uses-transition\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"tracked-toolbox\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"{{unless this.hidden \"alert\"}} {{if this.fade \"fade\"}} {{if this.dismissible \"alert-dismissible\"}} {{bs-type-class \"alert\" @type}} {{if this.showAlert \"show\"}}\"\n    ...attributes\n    {{did-update this.showOrHide this._visible}}\n  >\n    {{#unless this.hidden}}\n      {{#if this.dismissible}}\n        <button type=\"button\" class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"btn-close\" \"close\"}} aria-label=\"Close\" {{on \"click\" this.dismiss}}>\n          {{#if (macroCondition (macroGetOwnConfig \"isBS4\"))}}<span aria-hidden=\"true\">&times;</span>{{/if}}\n        </button>\n      {{/if}}\n  \n      {{#if (has-block \"header\")}}\n        {{#let (element (bs-default @headerTag \"h4\")) as |Tag|}}\n          <Tag class=\"alert-heading\">\n            {{yield to=\"header\"}}\n          </Tag>\n        {{/let}}\n      {{/if}}\n  \n      {{#if (has-block \"body\")}}\n        {{yield to=\"body\"}}\n      {{else}}\n        {{yield}}\n      {{/if}}\n    {{/unless}}\n  </div>\n  */\n  {\n    \"id\": \"5Mer06zH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Tag\\\",\\\"&default\\\",\\\"@headerTag\\\",\\\"@namedBlocksInfo\\\",\\\"@type\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[[30,[36,8],[[32,0,[\\\"hidden\\\"]],\\\"alert\\\"],null],\\\" \\\",[30,[36,5],[[32,0,[\\\"fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[30,[36,5],[[32,0,[\\\"dismissible\\\"]],\\\"alert-dismissible\\\"],null],\\\" \\\",[30,[36,7],[\\\"alert\\\",[32,5]],null],\\\" \\\",[30,[36,5],[[32,0,[\\\"showAlert\\\"]],\\\"show\\\"],null]]]],[17,6],[4,[38,9],[[32,0,[\\\"showOrHide\\\"]],[32,0,[\\\"_visible\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,8],[[32,0,[\\\"hidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[32,0,[\\\"dismissible\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"button\\\"],[16,0,\\\"close\\\"],[24,\\\"aria-label\\\",\\\"Close\\\"],[24,4,\\\"button\\\"],[4,[38,4],[\\\"click\\\",[32,0,[\\\"dismiss\\\"]]],null],[12],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[2,\\\"×\\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,6],[[32,4],\\\"header\\\",false],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,1],[[32,3],\\\"h4\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[[24,0,\\\"alert-heading\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[18,2,[[30,[36,0],[\\\"header\\\"],null]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,6],[[32,4],\\\"body\\\",false],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[30,[36,0],[\\\"body\\\"],null]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-named-block-invocation\\\",\\\"bs-default\\\",\\\"element\\\",\\\"let\\\",\\\"on\\\",\\\"if\\\",\\\"-has-block\\\",\\\"bs-type-class\\\",\\\"unless\\\",\\\"did-update\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-alert.hbs\"\n  });\n  /**\n    Implements [Bootstrap alerts](http://getbootstrap.com/components/#alerts)\n  \n    ### Usage\n  \n    By default, it is a user dismissible alert with a fade out animation, both of which can be disabled. Be sure to set the\n    `type` property for proper styling.\n  \n    ```hbs\n    <BsAlert @type=\"success\">\n      <strong>Well done!</strong> You successfully read this important alert message.\n    </BsAlert>\n    ```\n  \n    Optionally you can render a header for the alert using named blocks syntax:\n  \n    ```hbs\n    <BsAlert>\n      <:header>\n        Well done!\n      </:header>\n      <:body>\n        You successfully read this important alert message.\n      </:body>\n    </BsAlert>\n    ```\n  \n    The header is rendered using a `<h4>` element by default. You can customize\n    that one by setting `@headerTag` argument of `<BsAlert>`.\n  \n    Using named block syntax as shown above may require installing\n    [ember-named-blocks-polyfill](https://github.com/ember-polyfills/ember-named-blocks-polyfill)\n    in your project depending on the Ember version used.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Alert\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let Alert = _exports.default = (_dec = Ember._tracked, _dec2 = (0, _trackedToolbox.localCopy)('visible'), _dec3 = (0, _usesTransition.default)('fade'), _dec4 = Ember._action, _dec5 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Alert extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * A dismissible alert will have a close button in the upper right corner, that the user can click to dismiss\n       * the alert.\n       *\n       * @property dismissible\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"dismissible\", _descriptor, this);\n      /**\n       * If true the alert is completely hidden. Will be set when the fade animation has finished.\n       *\n       * @property hidden\n       * @type boolean\n       * @default false\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"hidden\", _descriptor2, this);\n      /**\n       * This is an unfortunate duplication of the previous property, but this is untracked to avoid causing the dreaded \"same computation\" assertion in GlimmerVM when reading a tracked property before setting it.\n       * @private\n       */\n      _defineProperty(this, \"_hidden\", !this.visible);\n      /**\n       * This property controls if the alert should be visible. If false it might still be in the DOM until the fade animation\n       * has completed.\n       *\n       * When the alert is dismissed by user interaction this property will not update by using two-way bindings in order\n       * to follow DDAU best practices. If you want to react to such changes, subscribe to the `onDismiss` action\n       *\n       * @property visible\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"visible\", _descriptor3, this);\n      /**\n       * @property _visible\n       * @private\n       */\n      _initializerDefineProperty(this, \"_visible\", _descriptor4, this);\n      /**\n       * Set to false to disable the fade out animation when hiding the alert.\n       *\n       * @property fade\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"fade\", _descriptor5, this);\n      /**\n       * The duration of the fade out animation\n       *\n       * @property fadeDuration\n       * @type number\n       * @default 150\n       * @public\n       */\n      _initializerDefineProperty(this, \"fadeDuration\", _descriptor6, this);\n      /**\n       * Property for type styling\n       *\n       * For the available types see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/alerts/)\n       *\n       * @property type\n       * @type String\n       * @public\n       */\n      /**\n       * Use CSS transitions?\n       *\n       * @property usesTransition\n       * @type boolean\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"usesTransition\", _descriptor7, this);\n    }\n    get showAlert() {\n      return this._visible && this.args.fade !== false;\n    }\n    /**\n     * The action to be sent after the alert has been dismissed (including the CSS transition).\n     *\n     * @event onDismissed\n     * @public\n     */\n\n    /**\n     * The action is called when the close button is clicked.\n     *\n     * You can return false to prevent closing the alert automatically, and do that in your action by\n     * setting `visible` to false.\n     *\n     * @event onDismiss\n     * @public\n     */\n\n    dismiss() {\n      if (this.args.onDismiss?.() !== false) {\n        this._visible = false;\n      }\n    }\n\n    /**\n     * Call to make the alert visible again after it has been hidden\n     *\n     * @method show\n     * @private\n     */\n    show() {\n      this.hidden = this._hidden = false;\n    }\n\n    /**\n     * Call to hide the alert. If the `fade` property is true, this will fade out the alert before being finally\n     * dismissed.\n     *\n     * @method hide\n     * @private\n     */\n    hide() {\n      if (this._hidden) {\n        return;\n      }\n      if (this.usesTransition) {\n        Ember.run.later(this, function () {\n          if (!this.isDestroyed) {\n            this.hidden = this._hidden = true;\n            this.args.onDismissed?.();\n          }\n        }, this.fadeDuration);\n      } else {\n        this.hidden = this._hidden = true;\n        this.args.onDismissed?.();\n      }\n    }\n    showOrHide() {\n      if (this._visible) {\n        this.show();\n      } else {\n        this.hide();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"dismissible\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"hidden\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return !this.visible;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"visible\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"_visible\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"fade\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"fadeDuration\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 150;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"usesTransition\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"dismiss\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"dismiss\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"showOrHide\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"showOrHide\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Alert);\n});","define(\"ember-bootstrap/components/bs-button-group\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/array\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"{{if @vertical \"btn-group-vertical\" \"btn-group\"}} {{bs-size-class \"btn-group\" @size}}\" role=\"group\" ...attributes>\n    {{yield\n      (hash\n        button=(component (ensure-safe-component (bs-default @buttonComponent (component \"bs-button-group/button\"))) buttonGroupType=@type groupValue=@value onClick=this.buttonPressed)\n      )\n    }}\n  </div>\n  */\n  {\n    \"id\": \"ZFqseIPU\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@size\\\",\\\"@vertical\\\",\\\"&attrs\\\",\\\"@value\\\",\\\"@type\\\",\\\"@buttonComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[[30,[36,1],[[32,2],\\\"btn-group-vertical\\\",\\\"btn-group\\\"],null],\\\" \\\",[30,[36,0],[\\\"btn-group\\\",[32,1]],null]]]],[24,\\\"role\\\",\\\"group\\\"],[17,3],[12],[2,\\\"\\\\n  \\\"],[18,7,[[30,[36,5],null,[[\\\"button\\\"],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,6],[30,[36,2],[\\\"bs-button-group/button\\\"],null]],null]],null]],[[\\\"buttonGroupType\\\",\\\"groupValue\\\",\\\"onClick\\\"],[[32,5],[32,4],[32,0,[\\\"buttonPressed\\\"]]]]]]]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-size-class\\\",\\\"if\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-button-group.hbs\"\n  });\n  /**\n    Bootstrap-style button group, that visually groups buttons, and optionally adds radio/checkbox like behaviour.\n    See http://getbootstrap.com/components/#btn-groups\n  \n    Use as a block level component with any number of [Components.Button](Components.Button.html) components provided as\n    a yielded pre-configured contextual component:\n  \n    ```handlebars\n    <BsButtonGroup as |bg|>\n      <bg.button>1</bg.button>\n      <bg.button>2</bg.button>\n      <bg.button>3</bg.button>\n    </BsButtonGroup>\n    ```\n  \n    ### Radio-like behaviour\n  \n    Use the `type` property set to \"radio\" to make the child buttons toggle like radio buttons, i.e. only one button can be active.\n    Set the `value` property of the buttons to something meaningful. The `value` property of the button group will then reflect\n    the value of the active button:\n  \n    ```handlebars\n    <BsButtonGroup @value={{this.buttonGroupValue}} @type=\"radio\" @onChange={{action (mut this.buttonGroupValue}} as |bg|>\n      <bg.button @type=\"default\" @value={{1}}>1</bg.button>\n      <bg.button @type=\"default\" @value={{2}}>2</bg.button>\n      <bg.button @type=\"default\" @value={{3}}>3</bg.button>\n    </BsButtonGroup>\n  \n    You selected: {{this.buttonGroupValue}}!\n    ```\n  \n    ### Checkbox-like behaviour\n  \n    Set `type` to \"checkbox\" to make any number of child buttons selectable. The `value` property will be an array\n    of all the values of the active buttons:\n  \n    ```handlebars\n    <BsButtonGroup @value={{this.buttonGroupValue}} @type=\"checkbox\" @onChange={{action (mut this.buttonGroupValue}} as |bg|>\n      <bg.button @type=\"default\" @value={{1}}>1</bg.button>\n      <bg.button @type=\"default\" @value={{2}}>2</bg.button>\n      <bg.button @type=\"default\" @value={{3}}>3</bg.button>\n    </BsButtonGroup>\n  \n    You selected:\n    <ul>\n      {{#each value in this.buttonGroupValue}}\n        <li>{{value}}</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class ButtonGroup\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let ButtonGroup = _exports.default = (_dec = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class ButtonGroup extends _component.default {\n    /**\n     * @property buttonComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * Set to true for a vertically stacked button group, see http://getbootstrap.com/components/#btn-groups-vertical\n     *\n     * @property vertical\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * Set to true for the buttons to stretch at equal sizes to span the entire width of its parent. (BS3 only!)\n     *\n     * *Important*: You have to wrap every button component in a `div class=\"btn-group\">`:\n     *\n     * ```handlebars\n     * <div class=\"btn-group\" role=\"group\">\n     * {{#bs-button}}My Button{{/bs-button}}\n     * </div>\n     * ```\n     *\n     * See http://getbootstrap.com/components/#btn-groups-justified\n     *\n     * @property justified\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * The type of the button group specifies how child buttons behave and how the `value` property will be computed:\n     *\n     * ### null\n     * If `type` is not set (null), the button group will add no functionality besides Bootstrap styling\n     *\n     * ### radio\n     * if `type` is set to \"radio\", the buttons will behave like radio buttons:\n     * * the `value` property of the button group will reflect the `value` property of the active button\n     * * thus only one button may be active\n     *\n     * ### checkbox\n     * if `type` is set to \"checkbox\", the buttons will behave like checkboxes:\n     * * any number of buttons may be active\n     * * the `value` property of the button group will be an array containing the `value` properties of all active buttons\n     *\n     * @property type\n     * @type string\n     * @default null\n     * @public\n     */\n\n    /**\n     * The value of the button group, computed by its child buttons.\n     * See the `type` property for how the value property is constructed.\n     *\n     * When you set the value, the corresponding buttons will be activated:\n     * * use a single value for a radio button group to activate the button with the same value\n     * * use an array of values for a checkbox button group to activate all the buttons with values contained in the array\n     *\n     * @property value\n     * @type array\n     * @public\n     */\n\n    /**\n     * Property for size styling, set to 'lg', 'sm' or 'xs'\n     *\n     * Also see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/button-group/#sizing)\n     *\n     * @property size\n     * @type String\n     * @public\n     */\n\n    /**\n     * This action is called whenever the button group's value should be changed because the user clicked a button.\n     * You will receive the new value of the button group (based on the `type` property), which you should use to update the\n     * `value` property.\n     *\n     * @event onChange\n     * @param {*} value\n     * @public\n     */\n\n    buttonPressed(pressedValue) {\n      if (!this.args.onChange) {\n        return;\n      }\n      let newValue;\n      if (this.args.type === 'radio') {\n        if (pressedValue === this.args.value) {\n          return;\n        }\n        newValue = pressedValue;\n      } else {\n        if (!Ember.isArray(this.args.value)) {\n          newValue = [pressedValue];\n        } else {\n          if (this.args.value.includes(pressedValue)) {\n            newValue = this.args.value.filter(v => v !== pressedValue);\n          } else {\n            newValue = [...this.args.value, pressedValue];\n          }\n        }\n\n        // For compatibility we continue to return an EmberArray instance for now\n        // @todo this should be changed for the next major release!\n        newValue = Ember.A(newValue);\n      }\n      this.args.onChange(newValue);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"buttonPressed\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"buttonPressed\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, ButtonGroup);\n});","define(\"ember-bootstrap/components/bs-button-group/button\", [\"exports\", \"ember-bootstrap/components/bs-button\"], function (_exports, _bsButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/array\",0,\"ember-bootstrap/components/bs-button\",0,\"@ember/object/internals\",0,\"@embroider/macros\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if this.isBS5ToggleButton}}\n    <input\n      type={{@buttonGroupType}}\n      class=\"btn-check\"\n      id={{this.formId}}\n      autocomplete=\"off\"\n      checked={{this.active}}\n      ...attributes\n      {{on \"click\" this.handleClick}}\n      {{did-update this.resetState @reset}}\n    >\n    <label\n      class=\"btn {{bs-size-class \"btn\" @size}} {{bs-type-class \"btn\" @type default=\"secondary\" outline=@outline}}\"\n      for={{this.formId}}\n    >\n      {{#if this.icon}}\n        <i class={{this.icon}}></i>\n      {{/if}}\n      {{this.text}}\n      {{yield\n        (hash\n          isFulfilled=this.isFulfilled\n          isPending=this.isPending\n          isRejected=this.isRejected\n          isSettled=this.isSettled\n        )\n      }}\n    </label>\n  {{else}}\n    <button\n      disabled={{this.__disabled}}\n      type={{this.buttonType}}\n      class=\"btn {{if this.active \"active\"}} {{if this.block \"btn-block\"}} {{bs-size-class \"btn\" @size}} {{bs-type-class \"btn\" @type default=\"secondary\" outline=@outline}}\"\n      ...attributes\n      {{on \"click\" this.handleClick}}\n      {{did-update this.resetState @reset}}\n    >\n      {{#if this.icon}}\n        <i class={{this.icon}}></i>\n      {{/if}}\n      {{this.text}}\n      {{yield\n        (hash\n          isFulfilled=this.isFulfilled\n          isPending=this.isPending\n          isRejected=this.isRejected\n          isSettled=this.isSettled\n        )\n      }}\n    </button>\n  {{/if}}\n  */\n  {\n    \"id\": \"yaEwAdlx\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@outline\\\",\\\"@type\\\",\\\"@size\\\",\\\"&attrs\\\",\\\"@reset\\\",\\\"&default\\\",\\\"@buttonGroupType\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"isBS5ToggleButton\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"input\\\"],[24,0,\\\"btn-check\\\"],[16,1,[32,0,[\\\"formId\\\"]]],[24,\\\"autocomplete\\\",\\\"off\\\"],[16,\\\"checked\\\",[32,0,[\\\"active\\\"]]],[17,4],[16,4,[32,7]],[4,[38,3],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,4],[[32,0,[\\\"resetState\\\"]],[32,5]],null],[12],[13],[2,\\\"\\\\n  \\\"],[10,\\\"label\\\"],[15,0,[31,[\\\"btn \\\",[30,[36,1],[\\\"btn\\\",[32,3]],null],\\\" \\\",[30,[36,0],[\\\"btn\\\",[32,2]],[[\\\"default\\\",\\\"outline\\\"],[\\\"secondary\\\",[32,1]]]]]]],[15,\\\"for\\\",[32,0,[\\\"formId\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"icon\\\"]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[1,[32,0,[\\\"text\\\"]]],[2,\\\"\\\\n    \\\"],[18,6,[[30,[36,5],null,[[\\\"isFulfilled\\\",\\\"isPending\\\",\\\"isRejected\\\",\\\"isSettled\\\"],[[32,0,[\\\"isFulfilled\\\"]],[32,0,[\\\"isPending\\\"]],[32,0,[\\\"isRejected\\\"]],[32,0,[\\\"isSettled\\\"]]]]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"button\\\"],[16,\\\"disabled\\\",[32,0,[\\\"__disabled\\\"]]],[16,0,[31,[\\\"btn \\\",[30,[36,2],[[32,0,[\\\"active\\\"]],\\\"active\\\"],null],\\\" \\\",[30,[36,2],[[32,0,[\\\"block\\\"]],\\\"btn-block\\\"],null],\\\" \\\",[30,[36,1],[\\\"btn\\\",[32,3]],null],\\\" \\\",[30,[36,0],[\\\"btn\\\",[32,2]],[[\\\"default\\\",\\\"outline\\\"],[\\\"secondary\\\",[32,1]]]]]]],[17,4],[16,4,[32,0,[\\\"buttonType\\\"]]],[4,[38,3],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,4],[[32,0,[\\\"resetState\\\"]],[32,5]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"icon\\\"]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[1,[32,0,[\\\"text\\\"]]],[2,\\\"\\\\n    \\\"],[18,6,[[30,[36,5],null,[[\\\"isFulfilled\\\",\\\"isPending\\\",\\\"isRejected\\\",\\\"isSettled\\\"],[[32,0,[\\\"isFulfilled\\\"]],[32,0,[\\\"isPending\\\"]],[32,0,[\\\"isRejected\\\"]],[32,0,[\\\"isSettled\\\"]]]]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-type-class\\\",\\\"bs-size-class\\\",\\\"if\\\",\\\"on\\\",\\\"did-update\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-button-group/button.hbs\"\n  });\n  /**\n   Internal component for button-group buttons\n  \n   @class ButtonGroupButton\n   @namespace Components\n   @extends Components.Button\n   @private\n   */\n  class ButtonGroupButton extends _bsButton.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, '__ember-bootstrap_subclass', true);\n      _defineProperty(this, \"formId\", Ember.guidFor(this));\n    }\n    /**\n     * @property groupValue\n     * @private\n     */\n\n    /**\n     * @property buttonGroupType\n     * @type string\n     * @private\n     */\n\n    /**\n     * @property active\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get active() {\n      let {\n        value,\n        groupValue\n      } = this.args;\n      if (this.args.buttonGroupType === 'radio') {\n        return value === groupValue;\n      } else {\n        if (Ember.isArray(groupValue)) {\n          return groupValue.indexOf(value) !== -1;\n        }\n      }\n      return false;\n    }\n    get isBS5ToggleButton() {\n      {\n        return false;\n      }\n    }\n  }\n  _exports.default = ButtonGroupButton;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, ButtonGroupButton);\n});","define(\"ember-bootstrap/components/bs-button\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/decorators/arg\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _arg, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@glimmer/component\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <button\n    disabled={{this.__disabled}}\n    type={{this.buttonType}}\n    class=\"btn {{if @active \"active\"}} {{if (macroCondition (macroGetOwnConfig \"isNotBS5\")) (if this.block \"btn-block\")}} {{bs-size-class \"btn\" @size}} {{bs-type-class \"btn\" @type default=\"secondary\" outline=@outline}}\"\n    ...attributes\n    {{on \"click\" this.handleClick}}\n    {{did-update this.resetState @reset}}\n  >\n    {{#if this.icon}}<i class={{this.icon}}></i> {{/if}}{{this.text}}{{yield\n      (hash\n        isFulfilled=this.isFulfilled\n        isPending=this.isPending\n        isRejected=this.isRejected\n        isSettled=this.isSettled\n      )\n    }}\n  </button>\n  */\n  {\n    \"id\": \"5cShvod7\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@outline\\\",\\\"@type\\\",\\\"@size\\\",\\\"@active\\\",\\\"&attrs\\\",\\\"@reset\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"button\\\"],[16,\\\"disabled\\\",[32,0,[\\\"__disabled\\\"]]],[16,0,[31,[\\\"btn \\\",[30,[36,2],[[32,4],\\\"active\\\"],null],\\\" \\\",[30,[36,2],[[32,0,[\\\"block\\\"]],\\\"btn-block\\\"],null],\\\" \\\",[30,[36,1],[\\\"btn\\\",[32,3]],null],\\\" \\\",[30,[36,0],[\\\"btn\\\",[32,2]],[[\\\"default\\\",\\\"outline\\\"],[\\\"secondary\\\",[32,1]]]]]]],[17,5],[16,4,[32,0,[\\\"buttonType\\\"]]],[4,[38,3],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,4],[[32,0,[\\\"resetState\\\"]],[32,6]],null],[12],[2,\\\"\\\\n  \\\"],[6,[37,2],[[32,0,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[10,\\\"i\\\"],[15,0,[32,0,[\\\"icon\\\"]]],[12],[13],[2,\\\" \\\"]],\\\"parameters\\\":[]}]]],[1,[32,0,[\\\"text\\\"]]],[18,7,[[30,[36,5],null,[[\\\"isFulfilled\\\",\\\"isPending\\\",\\\"isRejected\\\",\\\"isSettled\\\"],[[32,0,[\\\"isFulfilled\\\"]],[32,0,[\\\"isPending\\\"]],[32,0,[\\\"isRejected\\\"]],[32,0,[\\\"isSettled\\\"]]]]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-type-class\\\",\\\"bs-size-class\\\",\\\"if\\\",\\\"on\\\",\\\"did-update\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-button.hbs\"\n  });\n  /**\n    Implements a HTML button element, with support for all [Bootstrap button CSS styles](http://getbootstrap.com/css/#buttons)\n    as well as advanced functionality such as button states.\n  \n    ### Basic Usage\n  \n    ```hbs\n    <BsButton @type=\"primary\" @icon=\"glyphicon glyphicon-download\">\n      Downloads\n    </BsButton>\n    ```\n  \n    ### Actions\n  \n    Use the `onClick` property of the component to send an action to your controller. It will receive the button's value\n    (see the `value` property) as an argument.\n  \n    ```hbs\n    <BsButton @type=\"primary\" @icon=\"glyphicon glyphicon-download\" @onClick=(action \"download\")>\n      Downloads\n    </BsButton>\n    ```\n  \n    ### Promise support for automatic state change\n  \n    When returning a Promise for any asynchronous operation from the `onClick` closure action the button will\n    manage an internal state (\"default\" > \"pending\" > \"fulfilled\"/\"rejected\") automatically.\n  \n    The button is disabled by default if it's in pending state. You could override this behavior by passing\n    the `disabled` HTML attribute or by setting `@preventConcurrency` to false.\n  \n    ```hbs\n    <BsButton\n      disabled={{false}}\n    />\n    ```\n  \n    ```hbs\n    <BsButton\n      @preventConcurrency={{false}}\n    />\n    ```\n  \n    The label could be changed automatically according to the state of the promise with `@defaultText`,\n    `@pendingText`, `@fulfilledText` and `@rejectedText` arguments:\n  \n    ```hbs\n    <BsButton\n      @type=\"primary\"\n      @icon=\"glyphicon glyphicon-download\"\n      @defaultText=\"Download\"\n      @pendingText=\"Loading...\"\n      @fulfilledText=\"Completed!\"\n      @rejectedText=\"Oups!?\"\n      @onClick={{this.download}}\n    />\n    ```\n  \n    ```js\n    // controller.js\n    import { Controller } from '@ember/controller';\n    import { action } from '@ember/object';\n  \n    export default class MyController extends Controller {\n      @action\n      download(value) {\n        return new Promise(...);\n      }\n    });\n    ```\n  \n    For further customization `isPending`, `isFulfilled`, `isRejected` and `isSettled` properties are yielded:\n  \n    ```hbs\n    <BsButton @onClick=(action \"download\") as |button|>\n      Download\n      {{#if button.isPending}}\n        <span class=\"loading-spinner\"></span>\n      {{/if}}\n    </BsButton>\n    ```\n  \n    You can `reset` the state represented by these properties and used for button's text by setting `reset` property to\n    `true`.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Button\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let Button = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._action, _dec3 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Button extends _component.default {\n    /**\n     * Default label of the button. Not need if used as a block component\n     *\n     * @property defaultText\n     * @type string\n     * @public\n     */\n\n    /**\n     * Label of the button used if `onClick` event has returned a Promise which is pending.\n     * Not considered if used as a block component.\n     *\n     * @property pendingText\n     * @type string\n     * @public\n     */\n\n    /**\n     * Label of the button used if `onClick` event has returned a Promise which succeeded.\n     * Not considered if used as a block component.\n     *\n     * @property fulfilledText\n     * @type string\n     * @public\n     */\n\n    /**\n     * Label of the button used if `onClick` event has returned a Promise which failed.\n     * Not considered if used as a block component.\n     *\n     * @property rejectedText\n     * @type string\n     * @public\n     */\n\n    /**\n     * Property to disable the button only used in internal communication\n     * between Ember Boostrap components.\n     *\n     * @property _disabled\n     * @type ?boolean\n     * @default null\n     * @private\n     */\n\n    get __disabled() {\n      if (this.args._disabled !== undefined) {\n        return this.args._disabled;\n      }\n      return this.isPending && this.args.preventConcurrency !== false;\n    }\n\n    /**\n     * Set the type of the button, either 'button' or 'submit'\n     *\n     * @property buttonType\n     * @type String\n     * @default 'button'\n     * @deprecated\n     * @public\n     */\n\n    /**\n     * A click event on a button will not bubble up the DOM tree if it has an `onClick` action handler. Set to true to\n     * enable the event to bubble\n     *\n     * @property bubble\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * If button is active and this is set, the icon property will match this property\n     *\n     * @property iconActive\n     * @type String\n     * @public\n     */\n\n    /**\n     * If button is inactive and this is set, the icon property will match this property\n     *\n     * @property iconInactive\n     * @type String\n     * @public\n     */\n\n    /**\n     * Class(es) (e.g. glyphicons or font awesome) to use as a button icon\n     * This will render a <i class=\"{{icon}}\"></i> element in front of the button's label\n     *\n     * @property icon\n     * @type String\n     * @public\n     */\n    get icon() {\n      return this.args.icon || (this.args.active ? this.args.iconActive : this.args.iconInactive);\n    }\n\n    /**\n     * Supply a value that will be associated with this button. This will be sent\n     * as a parameter of the default action triggered when clicking the button\n     *\n     * @property value\n     * @type any\n     * @public\n     */\n\n    /**\n     * Controls if `onClick` action is fired concurrently. If `true` clicking button multiple times will not trigger\n     * `onClick` action if a Promise returned by previous click is not settled yet.\n     *\n     * This does not affect event bubbling.\n     *\n     * @property preventConcurrency\n     * @type Boolean\n     * @default true\n     * @public\n     */\n\n    /**\n     * State of the button. The button's label (if not used as a block component) will be set to the\n     * `<state>Text` property.\n     * This property will automatically be set when using a click action that supplies the callback with a promise.\n     * Possible values are: \"default\" > \"pending\" > \"fulfilled\" / \"rejected\".\n     * It could be resetted by `reset` property.\n     *\n     * @property state\n     * @type String\n     * @default 'default'\n     * @private\n     */\n\n    get state() {\n      return this.args.state ?? this._state;\n    }\n    set state(state) {\n      this._state = state;\n    }\n\n    /**\n     * Promise returned by `onClick` event is pending.\n     *\n     * @property isPending\n     * @type Boolean\n     * @private\n     */\n    get isPending() {\n      return this.state === 'pending';\n    }\n\n    /**\n     * Promise returned by `onClick` event has been succeeded.\n     *\n     * @property isFulfilled\n     * @type Boolean\n     * @private\n     */\n    get isFulfilled() {\n      return this.state === 'fulfilled';\n    }\n\n    /**\n     * Promise returned by `onClick` event has been rejected.\n     *\n     * @property isRejected\n     * @type Boolean\n     * @private\n     */\n    get isRejected() {\n      return this.state === 'rejected';\n    }\n\n    /**\n     * Promise returned by `onClick` event has been succeeded or rejected.\n     *\n     * @property isSettled\n     * @type Boolean\n     * @private\n     */\n    get isSettled() {\n      return this.isFulfilled || this.isRejected;\n    }\n\n    /**\n     * Set this to `true` to reset the `state`. A typical use case is to bind this attribute with ember-data isDirty flag.\n     *\n     * The old value is not taken into consideration. Setting a `true` value to `true` again will also reset `state`.\n     * In that case it's even to notify the observer system that the property has changed by calling\n     * [`notifyPropertyChange()`](https://www.emberjs.com/api/ember/3.2/classes/EmberObject/methods/notifyPropertyChange?anchor=notifyPropertyChange).\n     *\n     * @property reset\n     * @type boolean\n     * @public\n     */\n\n    /**\n     * Property for size styling, set to 'lg', 'sm' or 'xs'\n     *\n     * Also see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/buttons/#sizes)\n     *\n     * @property size\n     * @type String\n     * @public\n     */\n\n    /**\n     * Property for type styling\n     *\n     * For the available types see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/buttons/)\n     *\n     * @property type\n     * @type String\n     * @default 'secondary'\n     * @public\n     */\n\n    /**\n     * Property to create outline buttons (BS4+ only)\n     *\n     * @property outline\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * When clicking the button this action is called with the value of the button (that is the value of the \"value\" property).\n     *\n     * Return a promise object, and the buttons state will automatically set to \"pending\", \"resolved\" and/or \"rejected\".\n     * This could be used to automatically set the button's text depending on promise state (`defaultText`, `pendingText`,\n     * `fulfilledText`, `rejectedText`) and for further customization using the yielded `isPending`, `isFulfilled`,\n     * `isRejected` properties.\n     *\n     * The click event will not bubble up, unless you set `bubble` to true.\n     *\n     * @event onClick\n     * @param {*} value\n     * @public\n     */\n\n    /**\n     * This will reset the state property to 'default', and with that the button's label to defaultText\n     *\n     * @method resetState\n     * @private\n     */\n    resetState() {\n      this.state = 'default';\n    }\n    get text() {\n      return this.args[`${this.state}Text`] || this.args.defaultText;\n    }\n\n    /**\n     * @method click\n     * @private\n     */\n    async handleClick(e) {\n      const {\n        bubble,\n        onClick,\n        preventConcurrency\n      } = this.args;\n      if (typeof onClick !== 'function') {\n        return;\n      }\n\n      // Shouldn't we prevent propagation regardless if `@onClick` is a function?\n      if (!bubble) {\n        e.stopPropagation();\n      }\n      if (preventConcurrency && this.isPending) {\n        return;\n      }\n      this.state = 'pending';\n      try {\n        await onClick(this.args.value);\n        if (!this.isDestroyed) {\n          this.state = 'fulfilled';\n        }\n      } catch (error) {\n        if (!this.isDestroyed) {\n          this.state = 'rejected';\n        }\n        throw error;\n      }\n    }\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"buttonType\", _descriptor, this);\n      /**\n       * Set the 'active' class to apply active/pressed CSS styling\n       *\n       * @property active\n       * @type boolean\n       * @default false\n       * @public\n       */\n      /**\n       * Property for block level buttons (BS3 and BS4 only!)\n       *\n       * See the [Bootstrap docs](http://getbootstrap.com/css/#buttons-sizes)\n       * @property block\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"block\", _descriptor2, this);\n      _initializerDefineProperty(this, \"_state\", _descriptor3, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"buttonType\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'button';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"block\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"_state\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'default';\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"resetState\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"resetState\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Button);\n});","define(\"ember-bootstrap/components/bs-carousel\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"ember-bootstrap/components/bs-carousel/slide\", \"ember-bootstrap/mixins/component-parent\", \"ember-concurrency\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _object, _slide, _componentParent, _emberConcurrency, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember-decorators/object\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"ember-bootstrap/components/bs-carousel/slide\",0,\"@ember/component\",0,\"ember-bootstrap/mixins/component-parent\",0,\"@ember/runloop\",0,\"ember-concurrency\",0,\"rsvp\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\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__ = Ember.HTMLBars.template(\n  /*\n    <div\n    {{!-- template-lint-disable no-positive-tabindex --}}{{!-- @todo --}}\n    tabindex={{this.tabindex}}\n    class=\"carousel slide {{if this.carouselFade \"carousel-fade\"}}\"\n    ...attributes\n    {{on \"keydown\" this.handleKeyDown}}\n    {{on \"mouseenter\" this.handleMouseEnter}}\n    {{on \"mouseleave\" this.handleMouseLeave}}\n  >\n    {{#if this.showIndicators}}\n      <ol class=\"carousel-indicators\">\n        {{#each this.indicators as |indicator _index|}}\n          <li class={{if (bs-eq this.currentIndex _index) \"active\"}} {{on \"click\" (fn this.toSlide _index)}} role=\"button\"></li>\n        {{/each}}\n      </ol>\n    {{/if}}\n  \n    <div class=\"carousel-inner\" role=\"listbox\">\n      {{yield\n        (hash\n          slide=(component (ensure-safe-component (bs-default @slideComponent (component \"bs-carousel/slide\")))\n            currentSlide=this.currentSlide\n            directionalClassName=this.directionalClassName\n            followingSlide=this.followingSlide\n            orderClassName=this.orderClassName\n            presentationState=this.presentationState\n          )\n        )\n      }}\n    </div>\n  \n    {{#if this.showControls}}\n      <a class=\"carousel-control-prev\" href=\"#{{this.elementId}}\" {{on \"click\" this.toPrevSlide}} role=\"button\">\n        <span aria-hidden=\"true\" class=\"carousel-control-prev-icon\"></span>\n        <span class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\"}}>{{this.prevControlLabel}}</span>\n      </a>\n      <a class=\"carousel-control-next\" href=\"#{{this.elementId}}\" {{on \"click\" this.toNextSlide}} role=\"button\">\n        <span aria-hidden=\"true\" class=\"carousel-control-next-icon\"></span>\n        <span class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\"}}>{{this.nextControlLabel}}</span>\n      </a>\n    {{/if}}\n  \n  </div>\n  */\n  {\n    \"id\": \"32pmHpZH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"indicator\\\",\\\"_index\\\",\\\"&attrs\\\",\\\"@slideComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,\\\"tabindex\\\",[32,0,[\\\"tabindex\\\"]]],[16,0,[31,[\\\"carousel slide \\\",[30,[36,2],[[32,0,[\\\"carouselFade\\\"]],\\\"carousel-fade\\\"],null]]]],[17,3],[4,[38,0],[\\\"keydown\\\",[32,0,[\\\"handleKeyDown\\\"]]],null],[4,[38,0],[\\\"mouseenter\\\",[32,0,[\\\"handleMouseEnter\\\"]]],null],[4,[38,0],[\\\"mouseleave\\\",[32,0,[\\\"handleMouseLeave\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showIndicators\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"ol\\\"],[14,0,\\\"carousel-indicators\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,4],[[32,0,[\\\"indicators\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[11,\\\"li\\\"],[16,0,[30,[36,2],[[30,[36,1],[[32,0,[\\\"currentIndex\\\"]],[32,2]],null],\\\"active\\\"],null]],[24,\\\"role\\\",\\\"button\\\"],[4,[38,0],[\\\"click\\\",[30,[36,3],[[32,0,[\\\"toSlide\\\"]],[32,2]],null]],null],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[14,0,\\\"carousel-inner\\\"],[14,\\\"role\\\",\\\"listbox\\\"],[12],[2,\\\"\\\\n    \\\"],[18,5,[[30,[36,9],null,[[\\\"slide\\\"],[[30,[36,6],[[30,[36,8],[[30,[36,7],[[32,4],[30,[36,6],[\\\"bs-carousel/slide\\\"],null]],null]],null]],[[\\\"currentSlide\\\",\\\"directionalClassName\\\",\\\"followingSlide\\\",\\\"orderClassName\\\",\\\"presentationState\\\"],[[32,0,[\\\"currentSlide\\\"]],[32,0,[\\\"directionalClassName\\\"]],[32,0,[\\\"followingSlide\\\"]],[32,0,[\\\"orderClassName\\\"]],[32,0,[\\\"presentationState\\\"]]]]]]]]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,2],[[32,0,[\\\"showControls\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"a\\\"],[24,0,\\\"carousel-control-prev\\\"],[16,6,[31,[\\\"#\\\",[32,0,[\\\"elementId\\\"]]]]],[24,\\\"role\\\",\\\"button\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"toPrevSlide\\\"]]],null],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,0,\\\"carousel-control-prev-icon\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[15,0,\\\"sr-only\\\"],[12],[1,[32,0,[\\\"prevControlLabel\\\"]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[11,\\\"a\\\"],[24,0,\\\"carousel-control-next\\\"],[16,6,[31,[\\\"#\\\",[32,0,[\\\"elementId\\\"]]]]],[24,\\\"role\\\",\\\"button\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"toNextSlide\\\"]]],null],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[14,0,\\\"carousel-control-next-icon\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[15,0,\\\"sr-only\\\"],[12],[1,[32,0,[\\\"nextControlLabel\\\"]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"bs-eq\\\",\\\"if\\\",\\\"fn\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-carousel.hbs\"\n  });\n  /**\n    Ember implementation of Bootstrap's Carousel. Supports all original features but API is partially different:\n  \n    | Description | Original | Component |\n    | ------ | ------ | ------ |\n    | Autoplays after first user event or on page load. | ride='carousel'\\|false | autoPlay=false\\|true |\n    | Disable automatic cycle. | interval=false | interval=0 |\n    | If first slide should follow last slide on \"previous\" event, the opposite will also be true for \"next\" event. | wrap=false\\|true | wrap=false\\|true |\n    | Jumps into specific slide index | data-slide-to=n | index=n |\n    | Keyboard events. | keyboard=false\\|true | keyboard=false\\|true |\n    | Left-to-right or right-to-left sliding. | N/A |  ltr=false\\|true |\n    | Pause current cycle on mouse enter. | pause='hover'\\|null | pauseOnMouseEnter=false\\|true |\n    | Show or hide controls  | Tag manipulation. | showControls=false\\|true |\n    | Show or hide indicators  | Tag manipulation. | showIndicators=false\\|true |\n    | Waiting time of slides in an automatic cycle. | interval=n | interval=n |\n  \n    Default settings are the same as the original, so you don't have to worry about changing parameters.\n  \n    ```hbs\n    <BsCarousel as |car|>\n      <car.slide>\n        <img alt=\"First slide\" src=\"slide1.jpg\">\n      </car.slide>\n      <car.slide>\n        <img alt=\"Second slide\" src=\"slide2.jpg\">\n      </car.slide>\n      <car.slide>\n        <img alt=\"Third slide\" src=\"slide3.jpg\">\n      </car.slide>\n    </BsCarousel>\n    ```\n  \n    To better understand the whole documentation, you should be aware of the following operations:\n  \n    | Operation | Description |\n    | ------ | ------ |\n    | Transition | Swaps two slides. |\n    | Interval | Waiting time after a transition. |\n    | Presentation | Represents a single transition, or a single interval, or the union of both. |\n    | Cycle | Presents all slides until it reaches first or last slide. |\n    | Wrap | wrap slides, cycles without stopping at first or last slide. |\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Carousel\n    @namespace Components\n    @extends Ember.Component\n    @public\n  */\n  let Carousel = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed('wrap', 'currentIndex'), _dec3 = Ember.computed('childSlides.length', 'wrap', 'currentIndex'), _dec4 = Ember.computed.filter('children', function (view) {\n    return view instanceof _slide.default;\n  }).readOnly(), _dec5 = (0, _object.observes)('childSlides.[]', 'autoPlay'), _dec6 = Ember.computed('childSlides', 'currentIndex').readOnly(), _dec7 = Ember.computed('childSlides', 'followingIndex').readOnly(), _dec8 = Ember.computed.gt('interval', 0).readOnly(), _dec9 = (0, _object.observes)('index'), _dec0 = Ember.computed('childSlides.length'), _dec1 = Ember.computed.lte('childSlides.length', 1), _dec10 = Ember.computed.readOnly('hasInterval'), _dec11 = Ember.computed.equal('transition', 'fade').readOnly(), _dec12 = (0, _emberConcurrency.task)(function* () {\n    yield this.transitioner.perform();\n    yield (0, _emberConcurrency.timeout)(this.interval);\n    this.toAppropriateSlide();\n  }).restartable(), _dec13 = (0, _emberConcurrency.task)(function* () {\n    this.set('presentationState', 'willTransit');\n    yield (0, _emberConcurrency.timeout)(this.transitionDuration);\n    this.set('presentationState', 'didTransition');\n    // Must change current index after execution of 'presentationStateObserver' method\n    // from child components.\n    yield new Ember.RSVP.Promise(resolve => {\n      Ember.run.schedule('afterRender', this, function () {\n        this.set('currentIndex', this.followingIndex);\n        resolve();\n      });\n    });\n  }).drop(), _dec14 = (0, _emberConcurrency.task)(function* () {\n    if (this.shouldRunAutomatically === false) {\n      return;\n    }\n    yield (0, _emberConcurrency.timeout)(this.interval);\n    this.toAppropriateSlide();\n  }).restartable(), _dec15 = Ember._action, _dec16 = Ember._action, _dec17 = Ember._action, _dec18 = Ember._action, _dec19 = Ember._action, _dec20 = Ember._action, _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class Carousel extends Ember.Component.extend(_componentParent.default) {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"tabindex\", '1');\n      /**\n       * All `CarouselSlide` child components.\n       *\n       * @private\n       * @property childSlides\n       * @readonly\n       * @type array\n       */\n      _initializerDefineProperty(this, \"childSlides\", _descriptor, this);\n      /**\n       * Indicates the current index of the current slide.\n       *\n       * @property currentIndex\n       * @private\n       */\n      _initializerDefineProperty(this, \"currentIndex\", _descriptor2, this);\n      /**\n       * Bootstrap style to indicate that a given slide should be moving to left/right.\n       *\n       * @property directionalClassName\n       * @private\n       * @type string\n       */\n      _initializerDefineProperty(this, \"directionalClassName\", _descriptor3, this);\n      /**\n       * Indicates the next slide index to move into.\n       *\n       * @property followingIndex\n       * @private\n       * @type number\n       */\n      _initializerDefineProperty(this, \"followingIndex\", _descriptor4, this);\n      /**\n       * @private\n       * @property hasInterval\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"hasInterval\", _descriptor5, this);\n      /**\n       * If user is hovering its cursor on component.\n       * This property is only manipulated when 'pauseOnMouseEnter' is true.\n       *\n       * @property isMouseHovering\n       * @private\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"isMouseHovering\", _descriptor6, this);\n      /**\n       * The class name to append to the next control link element.\n       *\n       * @property nextControlClassName\n       * @type string\n       * @private\n       */\n      /**\n       * Bootstrap style to indicate the next/previous slide.\n       *\n       * @property orderClassName\n       * @private\n       * @type string\n       */\n      /**\n       * The current state of the current presentation, can be either \"didTransition\"\n       * or \"willTransit\".\n       *\n       * @private\n       * @property presentationState\n       * @type string\n       */\n      _initializerDefineProperty(this, \"presentationState\", _descriptor7, this);\n      /**\n       * The class name to append to the previous control link element.\n       *\n       * @property prevControlClassName\n       * @type string\n       * @private\n       */\n      /**\n       * @private\n       * @property shouldNotDoPresentation\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"shouldNotDoPresentation\", _descriptor8, this);\n      /**\n       * @private\n       * @property shouldRunAutomatically\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"shouldRunAutomatically\", _descriptor9, this);\n      /**\n       * Starts automatic sliding on page load.\n       * This parameter has no effect if interval is less than or equal to zero.\n       *\n       * @default false\n       * @property autoPlay\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"autoPlay\", _descriptor0, this);\n      /**\n       * If false will hard stop on corners, i.e., first slide won't make a transition to the\n       * last slide and vice versa.\n       *\n       * @default true\n       * @property wrap\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"wrap\", _descriptor1, this);\n      /**\n       * Index of starting slide.\n       *\n       * @default 0\n       * @property index\n       * @public\n       * @type number\n       */\n      _initializerDefineProperty(this, \"index\", _descriptor10, this);\n      /**\n       * Waiting time before automatically show another slide.\n       * Automatic sliding is canceled if interval is less than or equal to zero.\n       *\n       * @default 5000\n       * @property interval\n       * @public\n       * @type number\n       */\n      _initializerDefineProperty(this, \"interval\", _descriptor11, this);\n      /**\n       * Should bind keyboard events into sliding.\n       *\n       * @default true\n       * @property keyboard\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"keyboard\", _descriptor12, this);\n      /**\n       * If automatic sliding should be left-to-right or right-to-left.\n       * This parameter has no effect if interval is less than or equal to zero.\n       *\n       * @default true\n       * @property ltr\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"ltr\", _descriptor13, this);\n      /**\n       * The next control icon to be displayed.\n       *\n       * @default null\n       * @property nextControlIcon\n       * @type string\n       * @public\n       */\n      /**\n       * Label for screen readers, defaults to 'Next'.\n       *\n       * @default 'Next'\n       * @property nextControlLabel\n       * @type string\n       * @public\n       */\n      _initializerDefineProperty(this, \"nextControlLabel\", _descriptor14, this);\n      /**\n       * Pauses automatic sliding if mouse cursor is hovering the component.\n       * This parameter has no effect if interval is less than or equal to zero.\n       *\n       * @default true\n       * @property pauseOnMouseEnter\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"pauseOnMouseEnter\", _descriptor15, this);\n      /**\n       * The previous control icon to be displayed.\n       *\n       * @default null\n       * @property prevControlIcon\n       * @type string\n       * @public\n       */\n      /**\n       * Label for screen readers, defaults to 'Previous'.\n       *\n       * @default 'Previous'\n       * @property prevControlLabel\n       * @type string\n       * @public\n       */\n      _initializerDefineProperty(this, \"prevControlLabel\", _descriptor16, this);\n      /**\n       * Show or hide controls.\n       *\n       * @default true\n       * @property showControls\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"showControls\", _descriptor17, this);\n      /**\n       * Show or hide indicators.\n       *\n       * @default true\n       * @property showIndicators\n       * @public\n       * @type boolean\n       */\n      _initializerDefineProperty(this, \"showIndicators\", _descriptor18, this);\n      /**\n       * The duration of the slide transition.\n       * You should also change this parameter in Bootstrap CSS file.\n       *\n       * @default 600\n       * @property transitionDuration\n       * @public\n       * @type number\n       */\n      _initializerDefineProperty(this, \"transitionDuration\", _descriptor19, this);\n      /**\n       * The type slide transition to perform.\n       * Options are 'fade' or 'slide'. Note: BS4 only\n       *\n       * @default 'slide'\n       * @property transition\n       * @public\n       * @type string\n       */\n      _initializerDefineProperty(this, \"transition\", _descriptor20, this);\n      _initializerDefineProperty(this, \"carouselFade\", _descriptor21, this);\n      // eslint-disable-line no-unused-vars\n      /**\n       * Do a presentation and calls itself to perform a cycle.\n       *\n       * @method cycle\n       * @private\n       */\n      _initializerDefineProperty(this, \"cycle\", _descriptor22, this);\n      /**\n       * @method transitioner\n       * @private\n       */\n      _initializerDefineProperty(this, \"transitioner\", _descriptor23, this);\n      /**\n       * Waits an interval time to start a cycle.\n       *\n       * @method waitIntervalToInitCycle\n       * @private\n       */\n      _initializerDefineProperty(this, \"waitIntervalToInitCycle\", _descriptor24, this);\n    }\n    /**\n     * @property slideComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * If a slide can turn to left, including corners.\n     *\n     * @private\n     * @property canTurnToLeft\n     */\n    get canTurnToLeft() {\n      return this.wrap || this.currentIndex > 0;\n    }\n\n    /**\n     * If a slide can turn to right, including corners.\n     *\n     * @private\n     * @property canTurnToRight\n     */\n    get canTurnToRight() {\n      return this.wrap || this.currentIndex < this.childSlides.length - 1;\n    }\n    /**\n     * This observer is the entry point for real time insertion and removing of slides.\n     *\n     * @private\n     * @property childSlidesObserver\n     */\n    childSlidesObserver() {\n      Ember.run.scheduleOnce('actions', this, this._childSlidesObserver);\n    }\n    _childSlidesObserver() {\n      let childSlides = this.childSlides;\n      if (childSlides.length === 0) {\n        return;\n      }\n      // Sets new current index\n      let currentIndex = this.currentIndex;\n      if (currentIndex >= childSlides.length) {\n        currentIndex = childSlides.length - 1;\n        this.set('currentIndex', currentIndex);\n      }\n      // Automatic sliding\n      if (this.autoPlay) {\n        this.waitIntervalToInitCycle.perform();\n      }\n      // Initial slide state\n      this.set('presentationState', null);\n    }\n    /**\n     * The current slide object that is going to be used by the nested slides components.\n     *\n     * @property currentSlide\n     * @private\n     *\n     */\n    get currentSlide() {\n      return this.childSlides.objectAt(this.currentIndex);\n    }\n    /**\n     * The following slide object that is going to be used by the nested slides components.\n     *\n     * @property followingIndex\n     * @private\n     */\n    get followingSlide() {\n      return this.childSlides.objectAt(this.followingIndex);\n    }\n    /**\n     * This observer is the entry point for programmatically slide changing.\n     *\n     * @property indexObserver\n     * @private\n     */\n    indexObserver() {\n      this.send('toSlide', this.index);\n    }\n\n    /**\n     * @property indicators\n     * @private\n     */\n    get indicators() {\n      return [...Array(this.childSlides.length)];\n    }\n    /**\n     * Action called after the slide has changed.\n     *\n     * @event onSlideChanged\n     * @param toIndex\n     * @public\n     */\n    onSlideChanged(toIndex) {}\n    toSlide(toIndex) {\n      if (this.currentIndex === toIndex || this.shouldNotDoPresentation) {\n        return;\n      }\n      this.assignClassNameControls(toIndex);\n      this.setFollowingIndex(toIndex);\n      if (this.shouldRunAutomatically === false || this.isMouseHovering) {\n        this.transitioner.perform();\n      } else {\n        this.cycle.perform();\n      }\n      this.onSlideChanged(toIndex);\n    }\n    toNextSlide() {\n      if (this.canTurnToRight) {\n        this.send('toSlide', this.currentIndex + 1);\n      }\n    }\n    toPrevSlide() {\n      if (this.canTurnToLeft) {\n        this.send('toSlide', this.currentIndex - 1);\n      }\n    }\n\n    /**\n     * Indicates what class names should be applicable to the current transition slides.\n     *\n     * @method assignClassNameControls\n     * @private\n     */\n    assignClassNameControls(toIndex) {\n      if (toIndex < this.currentIndex) {\n        this.set('directionalClassName', 'right');\n        this.set('orderClassName', 'prev');\n      } else {\n        this.set('directionalClassName', 'left');\n        this.set('orderClassName', 'next');\n      }\n    }\n\n    /**\n     * Initial page loading configuration.\n     */\n    // eslint-disable-next-line ember/no-component-lifecycle-hooks\n    didInsertElement() {\n      super.didInsertElement(...arguments);\n      this.triggerChildSlidesObserver();\n    }\n    handleMouseEnter() {\n      if (this.pauseOnMouseEnter) {\n        this.set('isMouseHovering', true);\n        this.cycle.cancelAll();\n        this.waitIntervalToInitCycle.cancelAll();\n      }\n    }\n    handleMouseLeave() {\n      if (this.pauseOnMouseEnter && (this.transitioner.last !== null || this.waitIntervalToInitCycle.last !== null)) {\n        this.set('isMouseHovering', false);\n        this.waitIntervalToInitCycle.perform();\n      }\n    }\n    handleKeyDown(e) {\n      let code = e.keyCode || e.which;\n      if (this.keyboard === false || /input|textarea/i.test(e.target.tagName)) {\n        return;\n      }\n      switch (code) {\n        case 37:\n          this.send('toPrevSlide');\n          break;\n        case 39:\n          this.send('toNextSlide');\n          break;\n        default:\n          break;\n      }\n    }\n\n    /**\n     * Sets the following slide index within the lower and upper bounds.\n     *\n     * @method setFollowingIndex\n     * @private\n     */\n    setFollowingIndex(toIndex) {\n      let slidesLengthMinusOne = this.childSlides.length - 1;\n      if (toIndex > slidesLengthMinusOne) {\n        this.set('followingIndex', 0);\n      } else if (toIndex < 0) {\n        this.set('followingIndex', slidesLengthMinusOne);\n      } else {\n        this.set('followingIndex', toIndex);\n      }\n    }\n\n    /**\n     * Coordinates the correct slide movement direction.\n     *\n     * @method toAppropriateSlide\n     * @private\n     */\n    toAppropriateSlide() {\n      if (this.ltr) {\n        this.send('toNextSlide');\n      } else {\n        this.send('toPrevSlide');\n      }\n    }\n\n    /**\n     * @method triggerChildSlidesObserver\n     * @private\n     */\n    triggerChildSlidesObserver() {\n      this.childSlides;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"canTurnToLeft\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"canTurnToLeft\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"canTurnToRight\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"canTurnToRight\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"childSlides\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"childSlidesObserver\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"childSlidesObserver\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"currentIndex\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.index;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"currentSlide\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"currentSlide\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"directionalClassName\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"followingIndex\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"followingSlide\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"followingSlide\"), _class2.prototype), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"hasInterval\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"indexObserver\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"indexObserver\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"indicators\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"indicators\"), _class2.prototype), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"isMouseHovering\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"presentationState\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"shouldNotDoPresentation\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"shouldRunAutomatically\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"autoPlay\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"wrap\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"index\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"interval\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 5000;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"keyboard\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"ltr\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"nextControlLabel\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'Next';\n    }\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"pauseOnMouseEnter\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"prevControlLabel\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'Previous';\n    }\n  }), _descriptor17 = _applyDecoratedDescriptor(_class2.prototype, \"showControls\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor18 = _applyDecoratedDescriptor(_class2.prototype, \"showIndicators\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor19 = _applyDecoratedDescriptor(_class2.prototype, \"transitionDuration\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 600;\n    }\n  }), _descriptor20 = _applyDecoratedDescriptor(_class2.prototype, \"transition\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'slide';\n    }\n  }), _descriptor21 = _applyDecoratedDescriptor(_class2.prototype, \"carouselFade\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor22 = _applyDecoratedDescriptor(_class2.prototype, \"cycle\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor23 = _applyDecoratedDescriptor(_class2.prototype, \"transitioner\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor24 = _applyDecoratedDescriptor(_class2.prototype, \"waitIntervalToInitCycle\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"toSlide\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"toSlide\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toNextSlide\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"toNextSlide\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toPrevSlide\", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, \"toPrevSlide\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseEnter\", [_dec18], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseEnter\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseLeave\", [_dec19], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseLeave\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleKeyDown\", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleKeyDown\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Carousel);\n});","define(\"ember-bootstrap/components/bs-carousel/slide\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/mixins/component-child\", \"ember-bootstrap/utils/cp/overrideable\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-ref-bucket\"], function (_exports, _component, _componentChild, _overrideable, _deprecateSubclassing, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"ember-bootstrap/mixins/component-child\",0,\"@ember/runloop\",0,\"ember-bootstrap/utils/cp/overrideable\",0,\"@ember/object/observers\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"carousel-item {{if this.active \"active\"}} {{if this.left \"carousel-item-left\"}} {{if this.next \"carousel-item-next\"}} {{if this.prev \"carousel-item-prev\"}} {{if this.right \"carousel-item-right\"}}\"\n    ...attributes\n    {{create-ref \"mainNode\"}}\n  >\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"CSoxoFEf\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[\\\"carousel-item \\\",[30,[36,0],[[32,0,[\\\"active\\\"]],\\\"active\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"left\\\"]],\\\"carousel-item-left\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"next\\\"]],\\\"carousel-item-next\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"prev\\\"]],\\\"carousel-item-prev\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"right\\\"]],\\\"carousel-item-right\\\"],null]]]],[17,1],[4,[38,1],[\\\"mainNode\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"create-ref\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-carousel/slide.hbs\"\n  });\n  /**\n    A visible user-defined slide.\n  \n    See [Components.Carousel](Components.Carousel.html) for examples.\n  \n    @class CarouselSlide\n    @namespace Components\n    @extends Ember.Component\n    @public\n   */\n  let CarouselSlide = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _emberRefBucket.ref)('mainNode'), _dec3 = (0, _overrideable.default)('isCurrentSlide', 'presentationState', function () {\n    return this.isCurrentSlide && this.presentationState === null;\n  }), _dec4 = Ember.computed('currentSlide').readOnly(), _dec5 = Ember.computed('followingSlide').readOnly(), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class CarouselSlide extends Ember.Component.extend(_componentChild.default) {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property _element\n       * @type null | HTMLElement\n       * @private\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      /**\n       * Defines slide visibility.\n       *\n       * @property active\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"active\", _descriptor2, this);\n      /**\n       * Slide is moving to the left.\n       *\n       * @property left\n       * @type boolean\n       * @private\n       */\n      _defineProperty(this, \"left\", false);\n      /**\n       * Next to appear in a left sliding.\n       *\n       * @property next\n       * @type boolean\n       * @private\n       */\n      _defineProperty(this, \"next\", false);\n      /**\n       * Next to appear in a right sliding.\n       *\n       * @property prev\n       * @type boolean\n       * @private\n       */\n      _defineProperty(this, \"prev\", false);\n      /**\n       * Slide is moving to the right.\n       *\n       * @property right\n       * @type boolean\n       * @private\n       */\n      _defineProperty(this, \"right\", false);\n    }\n    /**\n     * @private\n     * @property isCurrentSlide\n     * @type boolean\n     */\n    get isCurrentSlide() {\n      return this.currentSlide === this;\n    }\n\n    /**\n     * @private\n     * @property isFollowingSlide\n     * @type boolean\n     */\n    get isFollowingSlide() {\n      return this.followingSlide === this;\n    }\n    /**\n     * Coordinates the execution of a presentation.\n     *\n     * @method presentationStateObserver\n     * @private\n     */\n    presentationStateObserver() {\n      let presentationState = this.presentationState;\n      if (this.isCurrentSlide) {\n        switch (presentationState) {\n          case 'didTransition':\n            this.currentSlideDidTransition();\n            break;\n          case 'willTransit':\n            this.currentSlideWillTransit();\n            break;\n        }\n      }\n      if (this.isFollowingSlide) {\n        switch (presentationState) {\n          case 'didTransition':\n            this.followingSlideDidTransition();\n            break;\n          case 'willTransit':\n            this.followingSlideWillTransit();\n            break;\n        }\n      }\n    }\n    init() {\n      super.init(...arguments);\n      Ember.addObserver(this, 'presentationState', null, this.presentationStateObserver, true);\n    }\n\n    /**\n     * @method currentSlideDidTransition\n     * @private\n     */\n    currentSlideDidTransition() {\n      this.set(this.directionalClassName, false);\n      this.set('active', false);\n    }\n\n    /**\n     * @method currentSlideWillTransit\n     * @private\n     */\n    currentSlideWillTransit() {\n      this.set('active', true);\n      Ember.run.next(this, function () {\n        this.set(this.directionalClassName, true);\n      });\n    }\n\n    /**\n     * @method followingSlideDidTransition\n     * @private\n     */\n    followingSlideDidTransition() {\n      this.set('active', true);\n      this.set(this.directionalClassName, false);\n      this.set(this.orderClassName, false);\n    }\n\n    /**\n     * @method followingSlideWillTransit\n     * @private\n     */\n    followingSlideWillTransit() {\n      this.set(this.orderClassName, true);\n      Ember.run.next(this, function () {\n        this.reflow();\n        this.set(this.directionalClassName, true);\n      });\n    }\n\n    /**\n     * Makes things more stable, especially when fast changing.\n     */\n    reflow() {\n      this._element.offsetHeight;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_element\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"active\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"isCurrentSlide\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"isCurrentSlide\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isFollowingSlide\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"isFollowingSlide\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, CarouselSlide);\n});","define(\"ember-bootstrap/components/bs-collapse\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/transition-end\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-ref-bucket\", \"ember-bootstrap/utils/decorators/arg\"], function (_exports, _component, _transitionEnd, _deprecateSubclassing, _emberRefBucket, _arg) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"@ember/utils\",0,\"@ember/runloop\",0,\"@ember/string\",0,\"ember-bootstrap/utils/transition-end\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-ref-bucket\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"@glimmer/tracking\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"{{if this.collapse \"collapse\"}} {{if this.transitioning \"collapsing\"}} {{if this.showContent \"show\"}}\"\n    ...attributes\n    {{create-ref \"mainNode\"}}\n    {{style this.cssStyle}}\n    {{did-update this._onCollapsedChange this.collapsed}}\n    {{did-update this._updateCollapsedSize this.collapsedSize}}\n    {{did-update this._updateExpandedSize this.expandedSize}}\n  >\n    {{yield}}\n  </div>\n  \n  */\n  {\n    \"id\": \"XD/hll3G\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[[30,[36,0],[[32,0,[\\\"collapse\\\"]],\\\"collapse\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"transitioning\\\"]],\\\"collapsing\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"showContent\\\"]],\\\"show\\\"],null]]]],[17,1],[4,[38,1],[\\\"mainNode\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[4,[38,2],[[32,0,[\\\"cssStyle\\\"]]],null],[4,[38,3],[[32,0,[\\\"_onCollapsedChange\\\"]],[32,0,[\\\"collapsed\\\"]]],null],[4,[38,3],[[32,0,[\\\"_updateCollapsedSize\\\"]],[32,0,[\\\"collapsedSize\\\"]]],null],[4,[38,3],[[32,0,[\\\"_updateExpandedSize\\\"]],[32,0,[\\\"expandedSize\\\"]]],null],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"create-ref\\\",\\\"style\\\",\\\"did-update\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-collapse.hbs\"\n  });\n  /**\n    An Ember component that mimics the behaviour of [Bootstrap's collapse.js plugin](http://getbootstrap.com/javascript/#collapse)\n  \n    ### Usage\n  \n    ```hbs\n    <BsCollapse @collapsed={{this.collapsed}}>\n      <div class=\"well\">\n        <h2>Collapse</h2>\n        <p>This is collapsible content</p>\n      </div>\n    </BsCollapse>\n    ```\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Collapse\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let Collapse = _exports.default = (_dec = (0, _emberRefBucket.ref)('mainNode'), _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Collapse extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property _element\n       * @type null | HTMLElement\n       * @private\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      /**\n       * Collapsed/expanded state\n       *\n       * @property collapsed\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"collapsed\", _descriptor2, this);\n      /**\n       * True if this item is expanded\n       *\n       * @property active\n       * @private\n       */\n      _defineProperty(this, \"active\", !this.collapsed);\n      /**\n       * true if the component is currently transitioning\n       *\n       * @property transitioning\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"transitioning\", _descriptor3, this);\n      /**\n       * The size of the element when collapsed. Defaults to 0.\n       *\n       * @property collapsedSize\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"collapsedSize\", _descriptor4, this);\n      /**\n       * The size of the element when expanded. When null the value is calculated automatically to fit the containing elements.\n       *\n       * @property expandedSize\n       * @type number\n       * @default null\n       * @public\n       */\n      _initializerDefineProperty(this, \"expandedSize\", _descriptor5, this);\n      /**\n       * Usually the size (height) of the element is only set while transitioning, and reseted afterwards. Set to true to always set a size.\n       *\n       * @property resetSizeWhenNotCollapsing\n       * @type boolean\n       * @default true\n       * @private\n       */\n      _defineProperty(this, \"resetSizeWhenNotCollapsing\", true);\n      /**\n       * The direction (height/width) of the collapse animation.\n       * When setting this to 'width' you should also define custom CSS transitions for the width property, as the Bootstrap\n       * CSS does only support collapsible elements for the height direction.\n       *\n       * @property collapseDimension\n       * @type string\n       * @default 'height'\n       * @public\n       */\n      _initializerDefineProperty(this, \"collapseDimension\", _descriptor6, this);\n      /**\n       * The duration of the fade transition\n       *\n       * @property transitionDuration\n       * @type number\n       * @default 350\n       * @public\n       */\n      _initializerDefineProperty(this, \"transitionDuration\", _descriptor7, this);\n      _initializerDefineProperty(this, \"collapseSize\", _descriptor8, this);\n    }\n    get collapse() {\n      return !this.transitioning;\n    }\n    get showContent() {\n      return this.collapse && this.active;\n    }\n    /**\n     * Calculates a hash for style attribute.\n     */\n    get cssStyle() {\n      if (Ember.isNone(this.collapseSize)) {\n        return {};\n      }\n      return {\n        [this.collapseDimension]: `${this.collapseSize}px`\n      };\n    }\n    /**\n     * The action to be sent when the element is about to be hidden.\n     *\n     * @event onHide\n     * @public\n     */\n\n    /**\n     * The action to be sent after the element has been completely hidden (including the CSS transition).\n     *\n     * @event onHidden\n     * @public\n     */\n\n    /**\n     * The action to be sent when the element is about to be shown.\n     *\n     * @event onShow\n     * @public\n     */\n\n    /**\n     * The action to be sent after the element has been completely shown (including the CSS transition).\n     *\n     * @event onShown\n     * @public\n     */\n\n    /**\n     * Triggers the show transition\n     *\n     * @method show\n     * @protected\n     */\n    show() {\n      this.args.onShow?.();\n      this.transitioning = true;\n      this.active = true;\n      this.collapseSize = this.collapsedSize;\n      (0, _transitionEnd.default)(this._element, this.transitionDuration).then(() => {\n        if (this.isDestroyed) {\n          return;\n        }\n        this.transitioning = false;\n        if (this.resetSizeWhenNotCollapsing) {\n          this.collapseSize = null;\n        }\n        this.args.onShown?.();\n      });\n      Ember.run.next(this, function () {\n        if (!this.isDestroyed) {\n          this.collapseSize = this.getExpandedSize('show');\n        }\n      });\n    }\n\n    /**\n     * Get the size of the element when expanded\n     *\n     * @method getExpandedSize\n     * @param action\n     * @return {Number}\n     * @private\n     */\n    getExpandedSize(action) {\n      let expandedSize = this.expandedSize;\n      if (expandedSize != null) {\n        return expandedSize;\n      }\n      let collapseElement = this._element;\n      let prefix = action === 'show' ? 'scroll' : 'offset';\n      let measureProperty = Ember.String.camelize(`${prefix}-${this.collapseDimension}`);\n      return collapseElement[measureProperty];\n    }\n\n    /**\n     * Triggers the hide transition\n     *\n     * @method hide\n     * @protected\n     */\n    hide() {\n      this.args.onHide?.();\n      this.transitioning = true;\n      this.active = false;\n      this.collapseSize = this.getExpandedSize('hide');\n      (0, _transitionEnd.default)(this._element, this.transitionDuration).then(() => {\n        if (this.isDestroyed) {\n          return;\n        }\n        this.transitioning = false;\n        if (this.resetSizeWhenNotCollapsing) {\n          this.collapseSize = null;\n        }\n        this.args.onHidden?.();\n      });\n      Ember.run.next(this, function () {\n        if (!this.isDestroyed) {\n          this.collapseSize = this.collapsedSize;\n        }\n      });\n    }\n    _onCollapsedChange() {\n      let collapsed = this.collapsed;\n      let active = this.active;\n      if (collapsed !== active) {\n        return;\n      }\n      if (collapsed === false) {\n        this.show();\n      } else {\n        this.hide();\n      }\n    }\n    _updateCollapsedSize() {\n      if (!this.resetSizeWhenNotCollapsing && this.collapsed && !this.collapsing) {\n        this.collapseSize = this.collapsedSize;\n      }\n    }\n    _updateExpandedSize() {\n      if (!this.resetSizeWhenNotCollapsing && !this.collapsed && !this.collapsing) {\n        this.collapseSize = this.expandedSize;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_element\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"collapsed\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"transitioning\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"collapsedSize\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"expandedSize\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"collapseDimension\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'height';\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"transitionDuration\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 350;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"collapseSize\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"_onCollapsedChange\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"_onCollapsedChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"_updateCollapsedSize\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"_updateCollapsedSize\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"_updateExpandedSize\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"_updateExpandedSize\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Collapse);\n});","define(\"ember-bootstrap/components/bs-contextual-help\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/transition-end\", \"ember-bootstrap/utils/dom\", \"ember-bootstrap/utils/decorators/uses-transition\", \"ember-bootstrap/utils/decorators/arg\", \"ember-ref-bucket\"], function (_exports, _component, _transitionEnd, _dom, _usesTransition, _arg, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/array\",0,\"@ember/object\",0,\"@ember/runloop\",0,\"ember-bootstrap/utils/transition-end\",0,\"ember-bootstrap/utils/dom\",0,\"ember-bootstrap/utils/decorators/uses-transition\",0,\"@ember/debug\",0,\"ember\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"@glimmer/tracking\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 HOVERSTATE_NONE = 'none';\n  const HOVERSTATE_IN = 'in';\n  const HOVERSTATE_OUT = 'out';\n  function noop() {}\n\n  /**\n    @class ContextualHelp\n    @namespace Components\n    @extends Glimmer.Component\n    @private\n  */\n  let ContextualHelp = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = (0, _usesTransition.default)('fade'), _dec4 = (0, _emberRefBucket.ref)('overlayElement'), _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember._action, _class = class ContextualHelp extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property title\n       * @type string\n       * @public\n       */\n      /**\n       * How to position the tooltip/popover - top | bottom | left | right\n       *\n       * @property title\n       * @type string\n       * @default 'top'\n       * @public\n       */\n      _initializerDefineProperty(this, \"placement\", _descriptor, this);\n      /**\n       * By default it will dynamically reorient the tooltip/popover based on the available space in the viewport. For\n       * example, if `placement` is \"left\", the tooltip/popover will display to the left when possible, otherwise it will\n       * display right. Set to `false` to force placement according to the `placement` property\n       *\n       * @property autoPlacement\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"autoPlacement\", _descriptor2, this);\n      /**\n       * You can programmatically show the tooltip/popover by setting this to `true`\n       *\n       * @property visible\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"visible\", _descriptor3, this);\n      /**\n       * @property inDom\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"_inDom\", _descriptor4, this);\n      /**\n       * Set to false to disable fade animations.\n       *\n       * @property fade\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"fade\", _descriptor5, this);\n      /**\n       * Used to apply Bootstrap's visibility class\n       *\n       * @property showHelp\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"showHelp\", _descriptor6, this);\n      /**\n       * Delay showing and hiding the tooltip/popover (ms). Individual delays for showing and hiding can be specified by using the\n       * `delayShow` and `delayHide` properties.\n       *\n       * @property delay\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"delay\", _descriptor7, this);\n      /**\n       * Delay showing the tooltip/popover. This property overrides the general delay set with the `delay` property.\n       *\n       * @property delayShow\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"delayShow\", _descriptor8, this);\n      /**\n       * Delay hiding the tooltip/popover. This property overrides the general delay set with the `delay` property.\n       *\n       * @property delayHide\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"delayHide\", _descriptor9, this);\n      /**\n       * The duration of the fade transition\n       *\n       * @property transitionDuration\n       * @type number\n       * @default 150\n       * @public\n       */\n      _initializerDefineProperty(this, \"transitionDuration\", _descriptor0, this);\n      /**\n       * Keeps the tooltip/popover within the bounds of this element when `autoPlacement` is true. Can be any valid CSS selector.\n       *\n       * @property viewportSelector\n       * @type string\n       * @default 'body'\n       * @see viewportPadding\n       * @see autoPlacement\n       * @public\n       */\n      _initializerDefineProperty(this, \"viewportSelector\", _descriptor1, this);\n      /**\n       * Take a padding into account for keeping the tooltip/popover within the bounds of the element given by `viewportSelector`.\n       *\n       * @property viewportPadding\n       * @type number\n       * @default 0\n       * @see viewportSelector\n       * @see autoPlacement\n       * @public\n       */\n      _initializerDefineProperty(this, \"viewportPadding\", _descriptor10, this);\n      _defineProperty(this, \"_parentFinder\", self.document ? self.document.createTextNode('') : '');\n      /**\n       * The DOM element that triggers the tooltip/popover. By default it is the parent element of this component.\n       * You can set this to any CSS selector to have any other element trigger the tooltip/popover.\n       *\n       * @property triggerElement\n       * @type string | null\n       * @public\n       */\n      _initializerDefineProperty(this, \"triggerElement\", _descriptor11, this);\n      /**\n       * The event(s) that should trigger the tooltip/popover - click | hover | focus.\n       * You can set this to a single event or multiple events, given as an array or a string separated by spaces.\n       *\n       * @property triggerEvents\n       * @type array|string\n       * @default 'hover focus'\n       * @public\n       */\n      _initializerDefineProperty(this, \"triggerEvents\", _descriptor12, this);\n      /**\n       * Current hover state, 'in', 'out' or null\n       *\n       * @property hoverState\n       * @type number\n       * @private\n       */\n      _defineProperty(this, \"hoverState\", HOVERSTATE_NONE);\n      /**\n       * Current state for events\n       */\n      _defineProperty(this, \"hover\", false);\n      _defineProperty(this, \"focus\", false);\n      _defineProperty(this, \"click\", false);\n      /**\n       * Ember.run timer\n       *\n       * @property timer\n       * @private\n       */\n      _defineProperty(this, \"timer\", null);\n      /**\n       * Use CSS transitions?\n       *\n       * @property usesTransition\n       * @type boolean\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"usesTransition\", _descriptor13, this);\n      /**\n       * The DOM element of the overlay element.\n       *\n       * @property overlayElement\n       * @type object\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"overlayElement\", _descriptor14, this);\n    }\n    get inDom() {\n      return this._inDom ?? !!(this.visible && this.triggerTargetElement);\n    }\n    set inDom(value) {\n      if (this._inDom === value) {\n        return;\n      }\n      this._inDom = value;\n    }\n    /**\n     * The DOM element of the arrow element.\n     *\n     * @property arrowElement\n     * @type object\n     * @readonly\n     * @private\n     */\n\n    /**\n     * The wormhole destinationElement\n     *\n     * @property destinationElement\n     * @type object\n     * @readonly\n     * @private\n     */\n    get destinationElement() {\n      return (0, _dom.getDestinationElement)(this);\n    }\n\n    /**\n     * The DOM element of the viewport element.\n     *\n     * @property viewportElement\n     * @type object\n     * @readonly\n     * @private\n     */\n    get viewportElement() {\n      return document.querySelector(this.viewportSelector);\n    }\n    /**\n     * @method getTriggerTargetElement\n     * @private\n     */\n    getTriggerTargetElement() {\n      let triggerElement = this.triggerElement;\n      let el;\n      if (!triggerElement) {\n        el = this._parent;\n      } else {\n        el = document.querySelector(triggerElement);\n      }\n      (true && !(el) && Ember.assert('Could not find trigger element for tooltip/popover component', el));\n      return el;\n    }\n    get _triggerEvents() {\n      let events = this.triggerEvents;\n      if (!Ember.isArray(events)) {\n        events = events.split(' ');\n      }\n      return events.map(event => {\n        switch (event) {\n          case 'hover':\n            return ['mouseenter', 'mouseleave'];\n          case 'focus':\n            return ['focusin', 'focusout'];\n          default:\n            return event;\n        }\n      });\n    }\n\n    /**\n     * If true component will render in place, rather than be wormholed.\n     *\n     * @property renderInPlace\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * @property _renderInPlace\n     * @type boolean\n     * @private\n     */\n    get _renderInPlace() {\n      return this.args.renderInPlace || !this.destinationElement;\n    }\n    get shouldShowHelp() {\n      return this.hover || this.focus || this.click;\n    }\n    /**\n     * This action is called immediately when the tooltip/popover is about to be shown.\n     *\n     * @event onShow\n     * @public\n     */\n\n    /**\n     * This action will be called when the tooltip/popover has been made visible to the user (will wait for CSS transitions to complete).\n     *\n     * @event onShown\n     * @public\n     */\n\n    /**\n     * This action is called immediately when the tooltip/popover is about to be hidden.\n     *\n     * @event onHide\n     * @public\n     */\n\n    /**\n     * This action is called when the tooltip/popover has finished being hidden from the user (will wait for CSS transitions to complete).\n     *\n     * @event onHidden\n     * @public\n     */\n\n    /**\n     * Called when a show event has been received\n     *\n     * @method enter\n     * @param e\n     * @private\n     */\n    enter(e) {\n      if (e) {\n        let eventType = e.type === 'focusin' ? 'focus' : 'hover';\n        this[eventType] = true;\n      }\n      if (this.showHelp || this.hoverState === HOVERSTATE_IN) {\n        this.hoverState = HOVERSTATE_IN;\n        return;\n      }\n      Ember.run.cancel(this.timer);\n      this.hoverState = HOVERSTATE_IN;\n      if (!this.delayShow) {\n        return this.show();\n      }\n      this.timer = Ember.run.later(this, function () {\n        if (this.hoverState === HOVERSTATE_IN) {\n          this.show();\n        }\n      }, this.delayShow);\n    }\n\n    /**\n     * Called when a hide event has been received\n     *\n     * @method leave\n     * @param e\n     * @private\n     */\n    leave(e) {\n      if (e) {\n        let eventType = e.type === 'focusout' ? 'focus' : 'hover';\n        this[eventType] = false;\n      }\n      if (this.shouldShowHelp) {\n        return;\n      }\n      Ember.run.cancel(this.timer);\n      this.hoverState = HOVERSTATE_OUT;\n      if (!this.delayHide) {\n        return this.hide();\n      }\n      this.timer = Ember.run.later(() => {\n        if (this.hoverState === HOVERSTATE_OUT) {\n          this.hide();\n        }\n      }, this.delayHide);\n    }\n\n    /**\n     * Called for a click event\n     *\n     * @method toggle\n     * @private\n     */\n    toggle() {\n      this.click = !this.click;\n      if (this.shouldShowHelp) {\n        this.enter();\n      } else {\n        this.leave();\n      }\n    }\n\n    /**\n     * Show the tooltip/popover\n     *\n     * @method show\n     * @private\n     */\n    show() {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      if (false === this.args.onShow?.(this)) {\n        return;\n      }\n      this.inDom = true;\n      Ember.run.schedule('afterRender', this, this._show);\n    }\n    _show(skipTransition = false) {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      this.showHelp = true;\n\n      // If this is a touch-enabled device we add extra\n      // empty mouseover listeners to the body's immediate children;\n      // only needed because of broken event delegation on iOS\n      // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html\n\n      // See https://github.com/twbs/bootstrap/pull/22481\n      if ('ontouchstart' in document.documentElement) {\n        let {\n          children\n        } = document.body;\n        for (let i = 0; i < children.length; i++) {\n          children[i].addEventListener('mouseover', noop);\n        }\n      }\n      let tooltipShowComplete = () => {\n        if (this.isDestroyed) {\n          return;\n        }\n        let prevHoverState = this.hoverState;\n        this.args.onShown?.(this);\n        this.hoverState = HOVERSTATE_NONE;\n        if (prevHoverState === HOVERSTATE_OUT) {\n          this.leave();\n        }\n      };\n      if (skipTransition === false && this.usesTransition) {\n        (0, _transitionEnd.default)(this.overlayElement, this.transitionDuration).then(tooltipShowComplete);\n      } else {\n        tooltipShowComplete();\n      }\n    }\n\n    /**\n     * Position the tooltip/popover's arrow\n     *\n     * @method replaceArrow\n     * @param delta\n     * @param dimension\n     * @param isVertical\n     * @private\n     */\n    replaceArrow(delta, dimension, isVertical) {\n      let el = this.arrowElement;\n      el.style[isVertical ? 'left' : 'top'] = `${50 * (1 - delta / dimension)}%`;\n      el.style[isVertical ? 'top' : 'left'] = null;\n    }\n\n    /**\n     * Hide the tooltip/popover\n     *\n     * @method hide\n     * @private\n     */\n    hide() {\n      if (this.isDestroyed) {\n        return;\n      }\n      if (false === this.args.onHide?.(this)) {\n        return;\n      }\n      let tooltipHideComplete = () => {\n        if (this.isDestroyed) {\n          return;\n        }\n        if (this.hoverState !== HOVERSTATE_IN) {\n          this.inDom = false;\n        }\n        this.args.onHidden?.(this);\n      };\n      this.showHelp = false;\n\n      // if this is a touch-enabled device we remove the extra\n      // empty mouseover listeners we added for iOS support\n      if ('ontouchstart' in document.documentElement) {\n        let {\n          children\n        } = document.body;\n        for (let i = 0; i < children.length; i++) {\n          children[i].removeEventListener('mouseover', noop);\n        }\n      }\n      if (this.usesTransition) {\n        (0, _transitionEnd.default)(this.overlayElement, this.transitionDuration).then(tooltipHideComplete);\n      } else {\n        tooltipHideComplete();\n      }\n      this.hoverState = HOVERSTATE_NONE;\n    }\n\n    /**\n     * @method addListeners\n     * @private\n     */\n    addListeners() {\n      let target = this.triggerTargetElement;\n      this._triggerEvents.forEach(event => {\n        if (Ember.isArray(event)) {\n          let [inEvent, outEvent] = event;\n          target.addEventListener(inEvent, this._handleEnter);\n          target.addEventListener(outEvent, this._handleLeave);\n        } else {\n          target.addEventListener(event, this._handleToggle);\n        }\n      });\n    }\n\n    /**\n     * @method removeListeners\n     * @private\n     */\n    removeListeners() {\n      try {\n        let target = this.triggerTargetElement;\n        this._triggerEvents.forEach(event => {\n          if (Ember.isArray(event)) {\n            let [inEvent, outEvent] = event;\n            target.removeEventListener(inEvent, this._handleEnter);\n            target.removeEventListener(outEvent, this._handleLeave);\n          } else {\n            target.removeEventListener(event, this._handleToggle);\n          }\n        });\n      } catch (e) {} // eslint-disable-line no-empty\n    }\n\n    /**\n     * @method handleTriggerEvent\n     * @private\n     */\n    handleTriggerEvent(handler, e) {\n      let overlayElement = this.overlayElement;\n      if (overlayElement && overlayElement.contains(e.target)) {\n        return;\n      }\n      return handler.call(this, e);\n    }\n    _handleEnter(e) {\n      this.handleTriggerEvent(this.enter, e);\n    }\n    _handleLeave(e) {\n      this.handleTriggerEvent(this.leave, e);\n    }\n    _handleToggle(e) {\n      this.handleTriggerEvent(this.toggle, e);\n    }\n    close() {\n      // Make sure our click state is off, otherwise the next click would\n      // close the already-closed tooltip/popover. We don't need to worry\n      // about this for hover/focus because those aren't \"stateful\" toggle\n      // events like click.\n      this.click = false;\n      this.hide();\n    }\n    setup() {\n      if (typeof FastBoot !== 'undefined') {\n        // ember-render-helpers calls this also in FastBoot, so guard against this\n        return;\n      }\n      let parent = this._parentFinder.parentNode;\n      // In the rare case of using FastBoot w/ rehydration, the parent finder TextNode rendered by FastBoot will be reused,\n      // so our own instance on the component is not rendered, only exists here as detached from DOM and thus has no parent.\n      // In this case we try to use Ember's private API as a fallback.\n      // Related: https://github.com/emberjs/rfcs/issues/168\n      if (!parent) {\n        try {\n          parent = Ember.ViewUtils.getViewBounds(this).parentElement;\n        } catch (e) {\n          // we catch the possibly broken private API call, the component can still work if the trigger element is defined\n          // using a CSS selector.\n        }\n      }\n      this._parent = parent;\n\n      // Look for target element after rendering has finished, in case the target DOM element is rendered *after* us\n      // see https://github.com/kaliber5/ember-bootstrap/issues/1329\n      Ember.run.schedule('afterRender', () => {\n        this.triggerTargetElement = this.getTriggerTargetElement();\n        this.addListeners();\n        if (this.visible) {\n          Ember.run.next(this, this.show);\n        }\n      });\n    }\n    showOrHide() {\n      if (this.args.visible) {\n        Ember.run.next(this, this.show);\n      } else {\n        Ember.run.next(this, this.hide);\n      }\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.removeListeners();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"placement\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'top';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"autoPlacement\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"visible\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"_inDom\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"fade\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"showHelp\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.visible;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"delay\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"delayShow\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.delay ?? 0;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"delayHide\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.delay ?? 0;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"transitionDuration\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 150;\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"viewportSelector\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'body';\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"viewportPadding\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"triggerElement\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"triggerEvents\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'hover focus';\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"usesTransition\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"overlayElement\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_handleEnter\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"_handleEnter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_handleLeave\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"_handleLeave\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_handleToggle\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"_handleToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"close\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"close\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setup\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"setup\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"showOrHide\", [_dec0], Object.getOwnPropertyDescriptor(_class.prototype, \"showOrHide\"), _class.prototype), _class);\n});","define(\"ember-bootstrap/components/bs-contextual-help/element\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/decorators/arg\", \"ember-ref-bucket\"], function (_exports, _component, _arg, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@glimmer/component\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"@glimmer/tracking\",0,\"@embroider/macros\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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  /**\n   Internal (abstract) component for contextual help markup. Should not be used directly.\n  \n   @class ContextualHelpElement\n   @namespace Components\n   @extends Glimmer.Component\n   @private\n   */\n  let ContextualHelpElement = _exports.default = (_dec = Ember._tracked, _dec2 = (0, _emberRefBucket.trackedRef)('popperElement'), _dec3 = Ember._action, _class = class ContextualHelpElement extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property placement\n       * @type string\n       * @default 'top'\n       * @public\n       */\n      _initializerDefineProperty(this, \"placement\", _descriptor, this);\n      _initializerDefineProperty(this, \"actualPlacement\", _descriptor2, this);\n      /**\n       * @property fade\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"fade\", _descriptor3, this);\n      /**\n       * @property showHelp\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"showHelp\", _descriptor4, this);\n      /**\n       * If true component will render in place, rather than be wormholed.\n       *\n       * @property renderInPlace\n       * @type boolean\n       * @default true\n       * @public\n       */\n      /**\n       * Which element to align to\n       *\n       * @property popperTarget\n       * @type {string|HTMLElement}\n       * @public\n       */\n      /**\n       * @property autoPlacement\n       * @type boolean\n       * @default true\n       * @public\n       */\n      /**\n       * The DOM element of the viewport element.\n       *\n       * @property viewportElement\n       * @type object\n       * @public\n       */\n      /**\n       * Take a padding into account for keeping the tooltip/popover within the bounds of the element given by `viewportElement`.\n       *\n       * @property viewportPadding\n       * @type number\n       * @default 0\n       * @public\n       */\n      /**\n       * @property arrowClass\n       * @private\n       */\n      _defineProperty(this, \"arrowClass\", 'arrow');\n      _defineProperty(this, \"placementClassPrefix\", '');\n      _defineProperty(this, \"offset\", [0, 0]);\n      _initializerDefineProperty(this, \"popperElement\", _descriptor5, this);\n    }\n    /**\n     * popper.js modifier config\n     *\n     * @property popperModifiers\n     * @type {object}\n     * @private\n     */\n    get popperOptions() {\n      let options = {\n        placement: this.placement,\n        onFirstUpdate: this.updatePlacement\n      };\n\n      // We need popperElement, so we wait for this getter to recompute once it's available\n      if (!this.popperElement) {\n        return options;\n      }\n      options.modifiers = [{\n        name: 'arrow',\n        options: {\n          element: this.popperElement.querySelector(`.${this.arrowClass}`),\n          padding: 4\n        }\n      }, {\n        name: 'offset',\n        options: {\n          offset: this.offset\n        }\n      }, {\n        name: 'preventOverflow',\n        enabled: this.args.autoPlacement,\n        options: {\n          boundary: this.args.viewportElement,\n          padding: this.args.viewportPadding\n        }\n      }, {\n        name: 'flip',\n        enabled: this.args.autoPlacement\n      }, {\n        name: 'onChange',\n        enabled: true,\n        phase: 'afterWrite',\n        fn: this.updatePlacement\n      }];\n      return options;\n    }\n    get actualPlacementClass() {\n      let ending = this.actualPlacement;\n      return this.placementClassPrefix + ending;\n    }\n    updatePlacement(state) {\n      // normalize argument\n      state = state.state ?? state;\n      if (this.actualPlacement === state.placement) {\n        return;\n      }\n      this.actualPlacement = state.placement;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"placement\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'top';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"actualPlacement\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.args.placement;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"fade\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"showHelp\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"popperElement\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"updatePlacement\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"updatePlacement\"), _class.prototype), _class);\n});","define(\"ember-bootstrap/components/bs-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"ember-bootstrap/utils/default-decorator\",0,\"@ember/debug\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#let (element this.htmlTag) as |Tag|}}\n    <Tag class=\"{{this.containerClass}} {{if this.inNav \"nav-item\"}} {{if this.isOpen \"show\"}}\" ...attributes>\n      {{yield\n        (hash\n          button=(component (ensure-safe-component (bs-default @buttonComponent (component \"bs-dropdown/button\")))\n            isOpen=this.isOpen\n            onClick=this.toggleDropdown\n            onKeyDown=this.handleKeyEvent\n            registerChildElement=this.registerChildElement\n            unregisterChildElement=this.unregisterChildElement\n          )\n          toggle=(component (ensure-safe-component (bs-default @toggleComponent (component \"bs-dropdown/toggle\")))\n            isOpen=this.isOpen\n            inNav=@inNav\n            onClick=this.toggleDropdown\n            onKeyDown=this.handleKeyEvent\n            registerChildElement=this.registerChildElement\n            unregisterChildElement=this.unregisterChildElement\n          )\n          menu=(component (ensure-safe-component (bs-default @menuComponent (component \"bs-dropdown/menu\")))\n            isOpen=this.isOpen\n            direction=this.direction\n            toggleElement=this.toggleElement\n            registerChildElement=this.registerChildElement\n            unregisterChildElement=this.unregisterChildElement\n          )\n          toggleDropdown=this.toggleDropdown\n          openDropdown=this.openDropdown\n          closeDropdown=this.closeDropdown\n          isOpen=this.isOpen\n        )\n      }}\n      {{#if this.isOpen}}\n        {{on-document \"keydown\" this.handleKeyEvent}}\n        {{on-document \"click\" this.closeHandler capture=true}}\n        {{on-document \"keyup\" this.closeHandler}}\n      {{/if}}\n  \n    </Tag>\n  {{/let}}\n  */\n  {\n    \"id\": \"Msdmpcob\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Tag\\\",\\\"&attrs\\\",\\\"@menuComponent\\\",\\\"@inNav\\\",\\\"@toggleComponent\\\",\\\"@buttonComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[32,0,[\\\"htmlTag\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,[32,1],[[16,0,[31,[[32,0,[\\\"containerClass\\\"]],\\\" \\\",[30,[36,1],[[32,0,[\\\"inNav\\\"]],\\\"nav-item\\\"],null],\\\" \\\",[30,[36,1],[[32,0,[\\\"isOpen\\\"]],\\\"show\\\"],null]]]],[17,2]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[18,7,[[30,[36,5],null,[[\\\"button\\\",\\\"toggle\\\",\\\"menu\\\",\\\"toggleDropdown\\\",\\\"openDropdown\\\",\\\"closeDropdown\\\",\\\"isOpen\\\"],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,6],[30,[36,2],[\\\"bs-dropdown/button\\\"],null]],null]],null]],[[\\\"isOpen\\\",\\\"onClick\\\",\\\"onKeyDown\\\",\\\"registerChildElement\\\",\\\"unregisterChildElement\\\"],[[32,0,[\\\"isOpen\\\"]],[32,0,[\\\"toggleDropdown\\\"]],[32,0,[\\\"handleKeyEvent\\\"]],[32,0,[\\\"registerChildElement\\\"]],[32,0,[\\\"unregisterChildElement\\\"]]]]],[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,5],[30,[36,2],[\\\"bs-dropdown/toggle\\\"],null]],null]],null]],[[\\\"isOpen\\\",\\\"inNav\\\",\\\"onClick\\\",\\\"onKeyDown\\\",\\\"registerChildElement\\\",\\\"unregisterChildElement\\\"],[[32,0,[\\\"isOpen\\\"]],[32,4],[32,0,[\\\"toggleDropdown\\\"]],[32,0,[\\\"handleKeyEvent\\\"]],[32,0,[\\\"registerChildElement\\\"]],[32,0,[\\\"unregisterChildElement\\\"]]]]],[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,3],[30,[36,2],[\\\"bs-dropdown/menu\\\"],null]],null]],null]],[[\\\"isOpen\\\",\\\"direction\\\",\\\"toggleElement\\\",\\\"registerChildElement\\\",\\\"unregisterChildElement\\\"],[[32,0,[\\\"isOpen\\\"]],[32,0,[\\\"direction\\\"]],[32,0,[\\\"toggleElement\\\"]],[32,0,[\\\"registerChildElement\\\"]],[32,0,[\\\"unregisterChildElement\\\"]]]]],[32,0,[\\\"toggleDropdown\\\"]],[32,0,[\\\"openDropdown\\\"]],[32,0,[\\\"closeDropdown\\\"]],[32,0,[\\\"isOpen\\\"]]]]]]],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"isOpen\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[1,[30,[36,0],[\\\"keydown\\\",[32,0,[\\\"handleKeyEvent\\\"]]],null]],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"click\\\",[32,0,[\\\"closeHandler\\\"]]],[[\\\"capture\\\"],[true]]]],[2,\\\"\\\\n      \\\"],[1,[30,[36,0],[\\\"keyup\\\",[32,0,[\\\"closeHandler\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on-document\\\",\\\"if\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\",\\\"element\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-dropdown.hbs\"\n  });\n  const ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key\n  const SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key\n  const TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key\n  const ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key\n  const ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key\n\n  const SUPPORTED_KEYCODES = [ESCAPE_KEYCODE, ARROW_DOWN_KEYCODE, ARROW_UP_KEYCODE];\n\n  /**\n    Bootstrap style [dropdown menus](http://getbootstrap.com/components/#dropdowns), consisting\n    of a toggle element, and the dropdown menu itself.\n  \n    ### Usage\n  \n    Use this component together with the yielded contextual components:\n    * [Components.DropdownToggle](Components.DropdownToggle.html)\n    * [Components.DropdownButton](Components.DropdownButton.html)\n    * [Components.DropdownMenu](Components.DropdownMenu.html)\n      * [Components.DropdownMenuItem](Components.DropdownMenuItem.html)\n      * [Components.DropdownMenuDivider](Components.DropdownMenuDivider.html)\n      * [Components.DropdownMenuLinkTo](Components.DropdownMenuLinkTo.html)\n  \n    Furthermore references to the following actions are yielded:\n  \n    * `toggleDropdown`\n    * `openDropdown`\n    * `closeDropdown`\n  \n    ```hbs\n    <BsDropdown as |dd|>\n      <dd.toggle>Dropdown <span class=\"caret\"></span></dd.toggle>\n      <dd.menu as |ddm|>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something</ddm.linkTo>\n        </ddm.item>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something different</ddm.linkTo>\n        </ddm.item>\n      </dd.menu>\n    </BsDropdown>\n    ```\n  \n    If you need to use dropdowns in a [nav](Components.Nav.html), use the `bs-nav.dropdown`\n    contextual component rather than a standalone dropdown to ensure the correct styling\n    regardless of your Bootstrap version.\n  \n    > Note: the use of angle brackets `<ddm.linkTo>` as shown above is only supported for Ember >= 3.10, as it relies on its\n    > Ember's native implementation of the [`LinkComponent`](https://api.emberjs.com/ember/3.12/classes/Ember.Templates.helpers/methods/link-to?anchor=link-to).\n    > For older Ember versions please use the legacy syntax with positional arguments:\n    > `{{#ddm.link-to \"bar\" this.model}}Bar{{/ddm.link-to}}`\n  \n    ### Button dropdowns\n  \n    To use a button as the dropdown toggle element (see http://getbootstrap.com/components/#btn-dropdowns), use the\n    `Components.DropdownButton` component as the toggle:\n  \n    ```hbs\n    <BsDropdown as |dd|>\n      <dd.button>Dropdown <span class=\"caret\"></span></dd.button>\n      <dd.menu as |ddm|>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something</ddm.linkTo>\n        </ddm.item>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something different</ddm.linkTo>\n        </ddm.item>\n      </dd.menu>\n    </BsDropdown>\n    ```\n  \n    It has all the functionality of a `Components.Button` with additional dropdown support.\n  \n    ### Split button dropdowns\n  \n    To have a regular button with a dropdown button as in http://getbootstrap.com/components/#btn-dropdowns-split, use a\n    `Components.Button` component and a `Components.DropdownButton`:\n  \n    ```hbs\n    <BsDropdown as |dd|>\n      <BsButton>Dropdown</BsButton>\n      <dd.button>Dropdown <span class=\"caret\"></span></dd.button>\n      <dd.menu as |ddm|>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something</ddm.linkTo>\n        </ddm.item>\n        <ddm.item>\n          <ddm.linkTo @route=\"index\">Something different</ddm.linkTo>\n        </ddm.item>\n      </dd.menu>\n    </BsDropdown>\n    ```\n  \n    ### Dropup style\n  \n    Set the `direction` property to \"up\" to switch to a \"dropup\" style:\n  \n    ```hbs\n    <BsDropdown @direction=\"up\" as |dd|>\n      ...\n    </BsDropdown>\n    ```\n  \n    ### Open, close or toggle the dropdown programmatically\n  \n    If you wanted to control when the dropdown opens and closes programmatically, the `bs-dropdown` component yields the\n    `openDropdown`, `closeDropdown` and `toggleDropdown` actions which you can then pass to your own handlers. For example:\n  \n    ```hbs\n    <BsDropdown @closeOnMenuClick={{false}} as |dd|>\n      <BsButton>Dropdown</BsButton>\n      <dd.button>Dropdown <span class=\"caret\"></span></dd.button>\n      <dd.menu as |ddm|>\n        {{#each this.items as |item|}}\n          <ddm.item>\n            <a href onclick={{action \"changeItems\" item dd.closeDropdown}}>\n              {{item.text}}\n            </a>\n          </ddm.item>\n        {{/each}}\n      </dd.menu>\n    </BsDropdown>\n    ```\n  \n    Then in your controller or component, optionally close the dropdown:\n  \n    ```js\n    ...\n    actions: {\n      handleDropdownClicked(item, closeDropdown) {\n        if(item.isTheRightOne) {\n          this.chosenItems.pushObject(item);\n          closeDropdown();\n        } else {\n          this.set('item', this.getRandomItems());\n        }\n      },\n    }\n    ```\n  \n  \n    ### Bootstrap 3/4 Notes\n  \n    If you need to use dropdowns in a [nav](Components.Nav.html), use the `bs-nav.dropdown`\n    contextual component rather than a standalone dropdown to ensure the correct styling\n    regardless of your Bootstrap version.\n  \n    If you use the [dropdown divider](Components.DropdownMenuDivider), you don't have to worry\n    about differences in the markup between versions.\n  \n    Be sure to use the [dropdown menu link-to](Component.DropdownMenuLinkTo), for in-application\n    links as dropdown menu items. This is essential for proper styling regardless of Bootstrap\n    version and will also provide automatic `active` highlighting on dropdown menu items. If you\n    wish to have a dropdown menu item refer to an external link, be sure to apply the `dropdown-item`\n    class to the `<a>` tag for Bootstrap 4 compatibility.\n  \n    The dropdown menu will be positioned using the `popper.js` library, just as the original Bootstrap\n    version does. This also allows you to set `renderInPlace=false` on the menu component to render it in a wormhole,\n    which you might want to do if you experience clipping issues by an outer `overflow: hidden` element.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Dropdown\n    @namespace Components\n    @extends Ember.Component\n    @public\n  s*/\n  let Dropdown = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed('direction', 'hasButton', 'toggleElement.classList'), _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class Dropdown extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * The tag name used for the dropdown element.\n       *\n       * @property htmlTag\n       * @default 'div'\n       * @type {string}\n       * @public\n       */\n      _initializerDefineProperty(this, \"htmlTag\", _descriptor, this);\n      /**\n       * This property reflects the state of the dropdown, whether it is open or closed.\n       *\n       * @property isOpen\n       * @default false\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"isOpen\", _descriptor2, this);\n      /**\n       * By default, clicking on an open dropdown menu will close it. Set this property to false for the menu to stay open.\n       *\n       * @property closeOnMenuClick\n       * @default true\n       * @type boolean\n       * @public\n       */\n      _initializerDefineProperty(this, \"closeOnMenuClick\", _descriptor3, this);\n      /**\n       * By default, the dropdown menu will expand downwards. Other options include, 'up', 'left' and 'right'\n       *\n       * @property direction\n       * @type string\n       * @default 'down'\n       * @public\n       */\n      _initializerDefineProperty(this, \"direction\", _descriptor4, this);\n      /**\n       * @property toggleElement\n       * @private\n       */\n      _defineProperty(this, \"toggleElement\", null);\n      /**\n       * The DOM element of the `.dropdown-menu` element\n       * @type object\n       * @readonly\n       * @private\n       */\n      _defineProperty(this, \"menuElement\", null);\n    }\n    /**\n     * Indicates the dropdown is being used as a navigation item dropdown.\n     *\n     * @property inNav\n     * @type boolean\n     * @default false\n     * @private\n     */\n\n    /**\n     * A computed property to generate the suiting class for the dropdown container, either \"dropdown\", \"dropup\" or \"btn-group\".\n     * BS4 only: \"dropleft\", \"dropright\"\n     *\n     * @property containerClass\n     * @type string\n     * @readonly\n     * @private\n     */\n    get containerClass() {\n      if (this.hasButton && !this.toggleElement.classList.contains('btn-block')) {\n        return this.direction !== 'down' ? `btn-group drop${this.direction}` : 'btn-group';\n      } else {\n        return `drop${this.direction}`;\n      }\n    }\n    get hasButton() {\n      return this.toggleElement && this.toggleElement.tagName === 'BUTTON';\n    }\n    /**\n     * Action is called when dropdown is about to be shown\n     *\n     * @event onShow\n     * @param {*} value\n     * @public\n     */\n    onShow(value) {} // eslint-disable-line no-unused-vars\n\n    /**\n     * Action is called when dropdown is about to be hidden\n     * Returning `false` will block closing the dropdown\n     *\n     * @event onHide\n     * @param {*} value\n     * @public\n     */\n    onHide(value) {} // eslint-disable-line no-unused-vars\n\n    toggleDropdown() {\n      if (this.isOpen) {\n        this.closeDropdown();\n      } else {\n        this.openDropdown();\n      }\n    }\n    openDropdown() {\n      this.set('isOpen', true);\n      this.onShow();\n    }\n    closeDropdown() {\n      if (this.onHide() === false) return;\n      this.set('isOpen', false);\n    }\n\n    /**\n     * Handler for click events to close the dropdown\n     *\n     * @method closeOnClickHandler\n     * @param e\n     * @protected\n     */\n    closeHandler(e) {\n      let {\n        target\n      } = e;\n      let {\n        toggleElement,\n        menuElement\n      } = this;\n      if (!this.isDestroyed && (e.type === 'keyup' && e.which === TAB_KEYCODE && menuElement && !menuElement.contains(target) || e.type === 'click' && toggleElement && !toggleElement.contains(target) && (menuElement && !menuElement.contains(target) || this.closeOnMenuClick))) {\n        this.closeDropdown();\n      }\n    }\n    handleKeyEvent(event) {\n      // If not input/textarea:\n      //  - And not a key in REGEXP_KEYDOWN => not a dropdown command\n      // If input/textarea:\n      //  - If space key => not a dropdown command\n      //  - If key is other than escape\n      //    - If key is not up or down => not a dropdown command\n      //    - If trigger inside the menu => not a dropdown command\n      if (['input', 'textarea'].includes(event.target.tagName.toLowerCase()) ? event.which === SPACE_KEYCODE || event.which !== ESCAPE_KEYCODE && (event.which !== ARROW_DOWN_KEYCODE && event.which !== ARROW_UP_KEYCODE || this.menuElement.contains(event.target)) : !SUPPORTED_KEYCODES.includes(event.which)) {\n        return;\n      }\n      event.preventDefault();\n      event.stopPropagation();\n      if (!this.isOpen) {\n        this.openDropdown();\n        return;\n      } else if (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE) {\n        this.closeDropdown();\n        this.toggleElement.focus();\n        return;\n      }\n      let items = [].slice.call(this.menuElement.querySelectorAll('.dropdown-item:not(.disabled):not(:disabled)'));\n      if (items.length === 0) {\n        return;\n      }\n      let index = items.indexOf(event.target);\n      if (event.which === ARROW_UP_KEYCODE && index > 0) {\n        // Up\n        index--;\n      }\n      if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) {\n        // Down\n        index++;\n      }\n      if (index < 0) {\n        index = 0;\n      }\n      items[index].focus();\n    }\n    registerChildElement(element, [type]) {\n      (true && !(type === 'toggle' || type === 'menu') && Ember.assert(`Unknown child element type \"${type}\"`, type === 'toggle' || type === 'menu'));\n      (true && !(element instanceof HTMLElement) && Ember.assert(`Registered ${type} element must be an HTMLElement`, element instanceof HTMLElement));\n      this.set(`${type}Element`, element);\n    }\n    unregisterChildElement(element, [type]) {\n      (true && !(type === 'toggle' || type === 'menu') && Ember.assert(`Unknown child element type \"${type}\"`, type === 'toggle' || type === 'menu'));\n      this.set(`${type}Element`, null);\n    }\n\n    /**\n     * @property buttonComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property toggleComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property menuComponent\n     * @type {String}\n     * @private\n     */\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"htmlTag\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'div';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"isOpen\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"closeOnMenuClick\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"direction\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'down';\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"containerClass\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"containerClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleDropdown\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleDropdown\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"openDropdown\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"openDropdown\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"closeDropdown\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"closeDropdown\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"closeHandler\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"closeHandler\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleKeyEvent\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleKeyEvent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"registerChildElement\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"registerChildElement\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"unregisterChildElement\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"unregisterChildElement\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Dropdown);\n});","define(\"ember-bootstrap/components/bs-dropdown/button\", [\"exports\", \"ember-bootstrap/components/bs-button\"], function (_exports, _bsButton) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-button\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <button\n    disabled={{this.__disabled}}\n    type={{this.buttonType}}\n    aria-expanded={{if @isOpen \"true\" \"false\"}}\n    class=\"btn dropdown-toggle {{if @active \"active\"}} {{if this.block \"btn-block\"}} {{bs-size-class \"btn\" @size}} {{bs-type-class \"btn\" @type default=(if (macroCondition (macroGetOwnConfig \"isBS3\")) \"default\" \"secondary\") outline=@outline}}\"\n    ...attributes\n    {{on \"click\" this.handleClick}}\n    {{on \"keydown\" @onKeyDown}}\n    {{did-insert @registerChildElement \"toggle\"}}\n    {{will-destroy @unregisterChildElement \"toggle\"}}\n  >\n    {{#if this.icon}}<i class={{this.icon}}></i> {{/if}}{{this.text}}{{yield\n      (hash\n        isFulfilled=this.isFulfilled\n        isPending=this.isPending\n        isRejected=this.isRejected\n        isSettled=this.isSettled\n      )\n    }}\n  </button>\n  \n  */\n  {\n    \"id\": \"WN9U1U7/\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@isOpen\\\",\\\"@outline\\\",\\\"@type\\\",\\\"@size\\\",\\\"@active\\\",\\\"&attrs\\\",\\\"@onKeyDown\\\",\\\"@registerChildElement\\\",\\\"@unregisterChildElement\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"button\\\"],[16,\\\"disabled\\\",[32,0,[\\\"__disabled\\\"]]],[16,\\\"aria-expanded\\\",[30,[36,0],[[32,1],\\\"true\\\",\\\"false\\\"],null]],[16,0,[31,[\\\"btn dropdown-toggle \\\",[30,[36,0],[[32,5],\\\"active\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"block\\\"]],\\\"btn-block\\\"],null],\\\" \\\",[30,[36,2],[\\\"btn\\\",[32,4]],null],\\\" \\\",[30,[36,1],[\\\"btn\\\",[32,3]],[[\\\"default\\\",\\\"outline\\\"],[\\\"secondary\\\",[32,2]]]]]]],[17,6],[16,4,[32,0,[\\\"buttonType\\\"]]],[4,[38,3],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,3],[\\\"keydown\\\",[32,7]],null],[4,[38,4],[[32,8],\\\"toggle\\\"],null],[4,[38,5],[[32,9],\\\"toggle\\\"],null],[12],[2,\\\"\\\\n  \\\"],[6,[37,0],[[32,0,[\\\"icon\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[10,\\\"i\\\"],[15,0,[32,0,[\\\"icon\\\"]]],[12],[13],[2,\\\" \\\"]],\\\"parameters\\\":[]}]]],[1,[32,0,[\\\"text\\\"]]],[18,10,[[30,[36,6],null,[[\\\"isFulfilled\\\",\\\"isPending\\\",\\\"isRejected\\\",\\\"isSettled\\\"],[[32,0,[\\\"isFulfilled\\\"]],[32,0,[\\\"isPending\\\"]],[32,0,[\\\"isRejected\\\"]],[32,0,[\\\"isSettled\\\"]]]]]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"bs-type-class\\\",\\\"bs-size-class\\\",\\\"on\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-dropdown/button.hbs\"\n  });\n  /**\n   Button component with that can act as a dropdown toggler.\n  \n   See [Components.Dropdown](Components.Dropdown.html) for examples.\n  \n   @class DropdownButton\n   @namespace Components\n   @extends Components.Button\n   @public\n   */\n  class DropdownButton extends _bsButton.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, '__ember-bootstrap_subclass', true);\n    }\n  }\n  _exports.default = DropdownButton;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, DropdownButton);\n});","define(\"ember-bootstrap/components/bs-dropdown/menu\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/dom\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-ref-bucket\"], function (_exports, _component, _dom, _defaultDecorator, _deprecateSubclassing, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"@ember/runloop\",0,\"ember-bootstrap/utils/dom\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if this._isOpen}}\n    {{#if this._renderInPlace}}\n      <div\n        class=\"dropdown-menu {{this.alignClass}} {{if this.isOpen \"show\"}}\"\n        tabindex=\"-1\"\n        ...attributes\n        {{popper-tooltip this.toggleElement this.popperOptions}}\n        {{did-insert @registerChildElement \"menu\"}}\n        {{will-destroy @unregisterChildElement \"menu\"}}\n        {{create-ref \"menuElement\"}}\n      >\n        {{yield\n          (hash\n            item=(ensure-safe-component (bs-default @itemComponent (component \"bs-dropdown/menu/item\")))\n            link-to=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"dropdown-item\")))\n            linkTo=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"dropdown-item\")))\n            divider=(ensure-safe-component (bs-default @dividerComponent (component \"bs-dropdown/menu/divider\")))\n          )\n        }}\n      </div>\n    {{else}}\n      {{#in-element this.destinationElement insertBefore=null}}\n        <div\n          class=\"dropdown-menu {{this.alignClass}} {{if this.isOpen \"show\"}}\"\n          tabindex=\"-1\"\n          ...attributes\n          {{popper-tooltip this.toggleElement this.popperOptions}}\n          {{did-insert @registerChildElement \"menu\"}}\n          {{will-destroy @unregisterChildElement \"menu\"}}\n          {{create-ref \"menuElement\"}}\n        >\n          {{yield\n            (hash\n              item=(ensure-safe-component (bs-default @itemComponent (component \"bs-dropdown/menu/item\")))\n              link-to=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"dropdown-item\")))\n              linkTo=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"dropdown-item\")))\n              divider=(ensure-safe-component (bs-default @dividerComponent (component \"bs-dropdown/menu/divider\")))\n            )\n          }}\n        </div>\n      {{/in-element}}\n    {{/if}}\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"EvUf4oAW\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@registerChildElement\\\",\\\"@unregisterChildElement\\\",\\\"@dividerComponent\\\",\\\"@linkToComponent\\\",\\\"@itemComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"_isOpen\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"_renderInPlace\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"dropdown-menu \\\",[32,0,[\\\"alignClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"isOpen\\\"]],\\\"show\\\"],null]]]],[24,\\\"tabindex\\\",\\\"-1\\\"],[17,1],[4,[38,1],[[32,0,[\\\"toggleElement\\\"]],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[[32,2],\\\"menu\\\"],null],[4,[38,3],[[32,3],\\\"menu\\\"],null],[4,[38,4],[\\\"menuElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n      \\\"],[18,7,[[30,[36,8],null,[[\\\"item\\\",\\\"link-to\\\",\\\"linkTo\\\",\\\"divider\\\"],[[30,[36,7],[[30,[36,6],[[32,6],[30,[36,5],[\\\"bs-dropdown/menu/item\\\"],null]],null]],null],[30,[36,7],[[30,[36,6],[[32,5],[30,[36,5],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"dropdown-item\\\"]]]],null]],null],[30,[36,7],[[30,[36,6],[[32,5],[30,[36,5],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"dropdown-item\\\"]]]],null]],null],[30,[36,7],[[30,[36,6],[[32,4],[30,[36,5],[\\\"bs-dropdown/menu/divider\\\"],null]],null]],null]]]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[32,0,[\\\"destinationElement\\\"]]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"dropdown-menu \\\",[32,0,[\\\"alignClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"isOpen\\\"]],\\\"show\\\"],null]]]],[24,\\\"tabindex\\\",\\\"-1\\\"],[17,1],[4,[38,1],[[32,0,[\\\"toggleElement\\\"]],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[[32,2],\\\"menu\\\"],null],[4,[38,3],[[32,3],\\\"menu\\\"],null],[4,[38,4],[\\\"menuElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n        \\\"],[18,7,[[30,[36,8],null,[[\\\"item\\\",\\\"link-to\\\",\\\"linkTo\\\",\\\"divider\\\"],[[30,[36,7],[[30,[36,6],[[32,6],[30,[36,5],[\\\"bs-dropdown/menu/item\\\"],null]],null]],null],[30,[36,7],[[30,[36,6],[[32,5],[30,[36,5],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"dropdown-item\\\"]]]],null]],null],[30,[36,7],[[30,[36,6],[[32,5],[30,[36,5],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"dropdown-item\\\"]]]],null]],null],[30,[36,7],[[30,[36,6],[[32,4],[30,[36,5],[\\\"bs-dropdown/menu/divider\\\"],null]],null]],null]]]]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"popper-tooltip\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"create-ref\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\",\\\"-in-el-null\\\",\\\"in-element\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-dropdown/menu.hbs\"\n  });\n  /**\n   Component for the dropdown menu.\n  \n   See [Components.Dropdown](Components.Dropdown.html) for examples.\n  \n   @class DropdownMenu\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n  let DropdownMenu = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _emberRefBucket.ref)('menuElement'), _dec3 = Ember.computed('destinationElement', 'renderInPlace'), _dec4 = Ember.computed, _dec5 = Ember.computed('align'), _dec6 = Ember.computed, _dec7 = Ember.computed('direction', 'align'), _dec8 = Ember._action, _dec9 = Ember.computed('flip', 'popperPlacement'), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class DropdownMenu extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property _element\n       * @type null | HTMLElement\n       * @private\n       */\n      _initializerDefineProperty(this, \"menuElement\", _descriptor, this);\n      /**\n       * @property ariaRole\n       * @default menu\n       * @type string\n       * @protected\n       */\n      _defineProperty(this, \"ariaRole\", 'menu');\n      /**\n       * Alignment of the menu, either \"left\" or \"right\"\n       *\n       * @property align\n       * @type string\n       * @default left\n       * @public\n       */\n      _initializerDefineProperty(this, \"align\", _descriptor2, this);\n      /**\n       * @property direction\n       * @default 'down'\n       * @type string\n       * @private\n       */\n      _initializerDefineProperty(this, \"direction\", _descriptor3, this);\n      /**\n       * By default the menu is rendered in the same place as the dropdown. If you experience clipping\n       * issues, you can set this to false to render the menu in a wormhole at the top of the DOM.\n       *\n       * @property renderInPlace\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"renderInPlace\", _descriptor4, this);\n      _defineProperty(this, \"_isOpen\", false);\n      _defineProperty(this, \"flip\", true);\n      _defineProperty(this, \"_popperApi\", null);\n    }\n    /**\n     * @property _renderInPlace\n     * @type boolean\n     * @private\n     */\n    get _renderInPlace() {\n      return this.renderInPlace || !this.destinationElement;\n    }\n\n    /**\n     * The wormhole destinationElement\n     *\n     * @property destinationElement\n     * @type object\n     * @readonly\n     * @private\n     */\n    get destinationElement() {\n      return (0, _dom.getDestinationElement)(this);\n    }\n    get alignClass() {\n      return this.align !== 'left' ? `dropdown-menu-${this.align}` : undefined;\n    }\n    get isOpen() {\n      return false;\n    }\n    set isOpen(value) {\n      // delay removing the menu from DOM to allow (delegated Ember) event to fire for the menu's children\n      // Fixes https://github.com/kaliber5/ember-bootstrap/issues/660\n      Ember.run.next(() => {\n        if (this.isDestroying || this.isDestroyed) {\n          return;\n        }\n        this.set('_isOpen', value);\n      });\n      return value;\n    }\n    get popperPlacement() {\n      let placement = 'bottom-start';\n      let {\n        direction,\n        align\n      } = this;\n      if (direction === 'up') {\n        placement = 'top-start';\n        if (align === 'right') {\n          placement = 'top-end';\n        }\n      } else if (direction === 'left') {\n        placement = 'left-start';\n      } else if (direction === 'right') {\n        placement = 'right-start';\n      } else if (align === 'right') {\n        placement = 'bottom-end';\n      }\n      return placement;\n    }\n    setFocus() {\n      // when the dropdown menu is rendered in place, focus can stay on the toggle element\n      if (this._renderInPlace) {\n        return;\n      }\n      if (this.menuElement) {\n        this.menuElement.focus();\n      }\n    }\n    get popperOptions() {\n      return {\n        placement: this.popperPlacement,\n        onFirstUpdate: () => this.setFocus(),\n        modifiers: [{\n          name: 'flip',\n          enabled: this.flip\n        }]\n      };\n    }\n\n    /**\n     * @property itemComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property linkToComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property dividerComponent\n     * @type {String}\n     * @private\n     */\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"menuElement\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"align\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'left';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"direction\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'down';\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"renderInPlace\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"_renderInPlace\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"_renderInPlace\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"destinationElement\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"destinationElement\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"alignClass\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"alignClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isOpen\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"isOpen\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"popperPlacement\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"popperPlacement\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setFocus\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"setFocus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"popperOptions\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"popperOptions\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, DropdownMenu);\n});","define(\"ember-bootstrap/components/bs-dropdown/menu/divider\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component\",0,\"@ember-decorators/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"dropdown-divider\" ...attributes>\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"thHK9Gm5\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,0,\\\"dropdown-divider\\\"],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-dropdown/menu/divider.hbs\"\n  });\n  /**\n   Component for a dropdown menu divider.\n  \n   See [Components.Dropdown](Components.Dropdown.html) for examples.\n  \n   @class DropdownMenuDivider\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n  let DropdownMenuDivider = _exports.default = (_dec = (0, _component.tagName)(''), _dec(_class = (0, _deprecateSubclassing.default)(_class = class DropdownMenuDivider extends Ember.Component {}) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, DropdownMenuDivider);\n});","define(\"ember-bootstrap/components/bs-dropdown/menu/item\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component\",0,\"@ember-decorators/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  /**\n   Component for a dropdown menu item.\n  \n   See [Components.Dropdown](Components.Dropdown.html) for examples.\n  \n   @class DropdownMenuItem\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n  let DropdownMenuItem = _exports.default = (_dec = (0, _component.tagName)(''), _dec(_class = (0, _deprecateSubclassing.default)(_class = class DropdownMenuItem extends Ember.Component {}) || _class) || _class);\n});","define(\"ember-bootstrap/components/bs-dropdown/toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/component\",0,\"ember-bootstrap/utils/default-decorator\",0,\"@ember/object\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <a\n    href=\"#\"\n    class=\"dropdown-toggle {{if @inNav \"nav-link\"}}\"\n    aria-expanded={{this.aria-expanded}}\n    role=\"button\"\n    ...attributes\n    {{on \"keydown\" this.handleKeyDown}}\n    {{on \"click\" this.handleClick}}\n    {{did-insert @registerChildElement \"toggle\"}}\n    {{will-destroy @unregisterChildElement \"toggle\"}}\n  >\n    {{yield}}\n  </a>\n  */\n  {\n    \"id\": \"Qj+ZUu5l\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@inNav\\\",\\\"&attrs\\\",\\\"@registerChildElement\\\",\\\"@unregisterChildElement\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"a\\\"],[24,6,\\\"#\\\"],[16,0,[31,[\\\"dropdown-toggle \\\",[30,[36,0],[[32,1],\\\"nav-link\\\"],null]]]],[16,\\\"aria-expanded\\\",[32,0,[\\\"aria-expanded\\\"]]],[24,\\\"role\\\",\\\"button\\\"],[17,2],[4,[38,1],[\\\"keydown\\\",[32,0,[\\\"handleKeyDown\\\"]]],null],[4,[38,1],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,2],[[32,3],\\\"toggle\\\"],null],[4,[38,3],[[32,4],\\\"toggle\\\"],null],[12],[2,\\\"\\\\n  \\\"],[18,5,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"on\\\",\\\"did-insert\\\",\\\"will-destroy\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-dropdown/toggle.hbs\"\n  });\n  /**\n   Anchor element that triggers the parent dropdown to open.\n   Use [Components.DropdownButton](Components.DropdownButton.html) if you want a button instead of an anchor tag.\n  \n   See [Components.Dropdown](Components.Dropdown.html) for examples.\n  \n   @class DropdownToggle\n   @namespace Components\n   @extends Ember.Component\n   @publicø\n   */\n  let DropdownToggle = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed('isOpen'), _dec3 = Ember._action, _dec4 = Ember._action, _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class DropdownToggle extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property inNav\n       * @type {boolean}\n       * @private\n       */\n      _initializerDefineProperty(this, \"inNav\", _descriptor, this);\n    }\n    get 'aria-expanded'() {\n      return this.isOpen ? 'true' : 'false';\n    }\n\n    /**\n     * When clicking the toggle this action is called.\n     *\n     * @event onClick\n     * @param {*} value\n     * @public\n     */\n    onClick() {}\n    handleClick(e) {\n      e.preventDefault();\n      this.onClick();\n    }\n    handleKeyDown(e) {\n      this.onKeyDown(e);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"inNav\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, 'aria-expanded', [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, 'aria-expanded'), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleKeyDown\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleKeyDown\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, DropdownToggle);\n});","define(\"ember-bootstrap/components/bs-form\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-bootstrap/utils/decorators/arg\", \"tracked-toolbox\", \"ember-ref-bucket\"], function (_exports, _component, _deprecateSubclassing, _arg, _trackedToolbox, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\",0,\"@ember/debug\",0,\"@ember/utils\",0,\"@ember/runloop\",0,\"rsvp\",0,\"@embroider/macros\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"@glimmer/tracking\",0,\"tracked-toolbox\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-invalid-interactive --}}\n  <form\n    novalidate={{this.hasValidator}}\n    class={{this.layoutClass}}\n    ...attributes\n    {{on \"keypress\" this.handleKeyPress}}\n    {{on \"submit\" this.handleSubmit}}\n    {{create-ref \"formElement\"}}\n  >\n    {{yield\n      (hash\n        element=(component (ensure-safe-component (bs-default @elementComponent (component \"bs-form/element\")))\n          model=this.model\n          formLayout=this.formLayout\n          horizontalLabelGridClass=this.horizontalLabelGridClass\n          showAllValidations=this.showAllValidations\n          _disabled=@disabled\n          _readonly=@readonly\n          onChange=this.elementChanged\n          _onChange=this.resetSubmissionState\n        )\n        isSubmitting=this.isSubmitting\n        isSubmitted=this.isSubmitted\n        isRejected=this.isRejected\n        resetSubmissionState=this.resetSubmissionState\n        submit=this.doSubmit\n        submitButton=(component (ensure-safe-component (bs-default @submitButtonComponent (component \"bs-button\")))\n          buttonType=\"submit\"\n          type=\"primary\"\n          state=this.submitButtonState\n          _disabled=this.isSubmitting\n        )\n      )\n    }}\n  </form>\n  \n  */\n  {\n    \"id\": \"bLdiq3Gi\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@submitButtonComponent\\\",\\\"@readonly\\\",\\\"@disabled\\\",\\\"@elementComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"form\\\"],[16,\\\"novalidate\\\",[32,0,[\\\"hasValidator\\\"]]],[16,0,[32,0,[\\\"layoutClass\\\"]]],[17,1],[4,[38,0],[\\\"keypress\\\",[32,0,[\\\"handleKeyPress\\\"]]],null],[4,[38,0],[\\\"submit\\\",[32,0,[\\\"handleSubmit\\\"]]],null],[4,[38,1],[\\\"formElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n  \\\"],[18,6,[[30,[36,5],null,[[\\\"element\\\",\\\"isSubmitting\\\",\\\"isSubmitted\\\",\\\"isRejected\\\",\\\"resetSubmissionState\\\",\\\"submit\\\",\\\"submitButton\\\"],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,5],[30,[36,2],[\\\"bs-form/element\\\"],null]],null]],null]],[[\\\"model\\\",\\\"formLayout\\\",\\\"horizontalLabelGridClass\\\",\\\"showAllValidations\\\",\\\"_disabled\\\",\\\"_readonly\\\",\\\"onChange\\\",\\\"_onChange\\\"],[[32,0,[\\\"model\\\"]],[32,0,[\\\"formLayout\\\"]],[32,0,[\\\"horizontalLabelGridClass\\\"]],[32,0,[\\\"showAllValidations\\\"]],[32,4],[32,3],[32,0,[\\\"elementChanged\\\"]],[32,0,[\\\"resetSubmissionState\\\"]]]]],[32,0,[\\\"isSubmitting\\\"]],[32,0,[\\\"isSubmitted\\\"]],[32,0,[\\\"isRejected\\\"]],[32,0,[\\\"resetSubmissionState\\\"]],[32,0,[\\\"doSubmit\\\"]],[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,2],[30,[36,2],[\\\"bs-button\\\"],null]],null]],null]],[[\\\"buttonType\\\",\\\"type\\\",\\\"state\\\",\\\"_disabled\\\"],[\\\"submit\\\",\\\"primary\\\",[32,0,[\\\"submitButtonState\\\"]],[32,0,[\\\"isSubmitting\\\"]]]]]]]]]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"create-ref\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form.hbs\"\n  });\n  /**\n    Render a form with the appropriate Bootstrap layout class (see `formLayout`).\n    Allows setting a `model` that nested `Components.FormElement`s can access, and that can provide form validation (see below)\n  \n    You can use whatever markup you like within the form.\n    However, to benefit from features such as automatic form markup, validations and validation markup, use `Components.FormElement`\n    as nested components. See below for an example.\n  \n    ### Submitting the form\n  \n    The form yields a `submitButton` component, which is a preconfigured `<BsButton>` with `@type=\"primary\"` and `@buttonType=\"submit\"`.\n    The button is disabled while a form submission is pending. Additionally, the button state is bound to the form submission state.\n  \n    ```hbs\n    <BsForm as |form|>\n      <form.submitButton>Submit</form.submitButton>\n    </BsForm>\n    ```\n  \n    When the form is submitted (e.g. by clicking the submit button), the event will be intercepted and the `onSubmit` action\n    will be sent to the controller or parent component.\n    In case the form supports validation (see \"Form validation\" below), the `onBefore` action is called (which allows you to\n    do e.g. model data normalization), then the available validation rules are evaluated, and if those fail, the `onInvalid`\n    action is sent instead of `onSubmit`.\n  \n    ### Use with Components.FormElement\n  \n    When using `Components.FormElement`s with their `property` set to property names of the form's validation enabled\n    `model`, you gain some additional powerful features:\n    * the appropriate Bootstrap markup for the given `formLayout` and the form element's `controlType` is automatically generated\n    * markup for validation states and error messages is generated based on the model's validation (if available), when submitting the form\n    with an invalid validation, or when focusing out of invalid inputs\n  \n    ```handlebars\n    <BsForm @formLayout=\"horizontal\" @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @controlType=\"email\" @label=\"Email\" @placeholder=\"Email\" @property=\"email\" />\n      <form.element @controlType=\"password\" @label=\"Password\" @placeholder=\"Password\" @property=\"password\" />\n      <form.element @controlType=\"checkbox\" @label=\"Remember me\" @property=\"rememberMe\" />\n      <form.submitButton>Submit</form.submitButton>\n    </BsForm>\n    ```\n  \n    See the [Components.FormElement](Components.FormElement.html) API docs for further information.\n  \n    ### Form validation\n  \n    All version of ember-bootstrap beginning from 0.7.0 do not come with built-in support for validation engines anymore.\n    Instead, support is added usually by additional Ember addons, for example:\n  \n    * [ember-bootstrap-validations](https://github.com/kaliber5/ember-bootstrap-validations): adds support for [ember-validations](https://github.com/DockYard/ember-validations)\n    * [ember-bootstrap-cp-validations](https://github.com/offirgolan/ember-bootstrap-cp-validations): adds support for [ember-cp-validations](https://github.com/offirgolan/ember-cp-validations)\n    * [ember-bootstrap-changeset-validations](https://github.com/kaliber5/ember-bootstrap-changeset-validations): adds support for [ember-changeset](https://github.com/poteto/ember-changeset)\n  \n    To add your own validation support, you have to:\n  \n    * extend this component, setting `hasValidator` to true if validations are available (by means of a computed property for example), and implementing the `validate` method\n    * extend the [Components.FormElement](Components.FormElement.html) component and implement the `setupValidations` hook or simply override the `errors` property to add the validation error messages to be displayed\n  \n    When validation fails, the appropriate Bootstrap markup is added automatically, i.e. the error classes are applied and\n    the validation messages are shown for each form element. In case the validation library supports it, also warning messages\n    are shown. See the [Components.FormElement](Components.FormElement.html) documentation for further details.\n  \n    See the above-mentioned addons for examples.\n  \n    The `novalidate` HTML attribute is set by default for forms that have validation.\n  \n    ### Submission state\n  \n    A `isSubmitting` property is yielded, which is `true` after submit has been triggered and before the Promise returned\n    by `onSubmit` is fulfilled. It could be used to show a loading spinner instead of the form while it's submitting for example:\n  \n    ```hbs\n    <BsForm @onSubmit={{action \"save\"}} as |form|>\n      {{#if form.isSubmitting}}\n        <span class=\"spinner-border spinner-border-sm\" role=\"status\" aria-hidden=\"true\"></span>\n        Logging in...\n      {{else}}\n        <form.element @property=\"email\" @label=\"email\" />\n        <form.element @property=\"password\" @label=\"password\" @controlType=\"password\" />\n        <form.submitButton>Login</form.submitButton>\n      {{/if}}\n    </BsForm>\n    ```\n  \n    Additionaly `isSubmitted` and `isRejected` properties are yielded. `isSubmitted` is `true` if last submission was successful.\n    `isRejected` is `true` if last submission was rejected due to validation errors or by an action bound to `onSubmit` event, returning a rejected promise.\n    It could be used for visual feedback about last submission:\n  \n    ```hbs\n    <BsForm @onSubmit={{action 'save}} as |form|>\n      <form.submitButton @type={{if form.isRejected \"danger\" \"primary\"}}>\n        Save\n      </form.submitButton>\n    </BsForm>\n    ```\n  \n    The submission state is reset as soon as any value of a form element changes. Additionally, it can be reset programmatically by\n    calling the yielded `resetSubmissionState` function.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Form\n    @namespace Components\n    @extends Ember.Component\n    @public\n  */\n  let Form = _exports.default = (_dec = (0, _emberRefBucket.ref)('formElement'), _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Form extends _component.default {\n    /**\n     * Bootstrap form class name (computed)\n     *\n     * @property layoutClass\n     * @type string\n     * @readonly\n     * @protected\n     *\n     */\n    get layoutClass() {\n      let layout = this.formLayout;\n      {\n        return layout === 'inline' ? 'form-inline' : null;\n      }\n    }\n\n    /**\n     * Set a model that this form should represent. This serves several purposes:\n     *\n     * * child `Components.FormElement`s can access and bind to this model by their `property`\n     * * when the model supports validation by using the [ember-validations](https://github.com/dockyard/ember-validations) mixin,\n     * child `Components.FormElement`s will look at the validation information of their `property` and render their form group accordingly.\n     * Moreover, the form's `submit` event handler will validate the model and deny submitting if the model is not validated successfully.\n     *\n     * @property model\n     * @type object\n     * @public\n     */\n    get model() {\n      return this.args.model ?? {};\n    }\n\n    /**\n     * Set the layout of the form to either \"vertical\", \"horizontal\" or \"inline\". See http://getbootstrap.com/css/#forms-inline and http://getbootstrap.com/css/#forms-horizontal\n     *\n     * @property formLayout\n     * @type string\n     * @public\n     */\n\n    /**\n     * @property elementComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property submitButtonComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * `isSubmitting` is `true` after `submit` event has been triggered and until Promise returned by `onSubmit` is\n     * fulfilled. If `validate` returns a Promise that one is also taken into consideration.\n     *\n     * If multiple concurrent submit events are fired, it stays `true` until all submit events have been fulfilled.\n     *\n     * @property isSubmitting\n     * @type {Boolean}\n     * @readonly\n     * @private\n     */\n    get isSubmitting() {\n      return this.pendingSubmissions > 0;\n    }\n\n    /**\n     * `isSubmitted` is `true` if last submission was successful.\n     * A change to any form element resets its value to `false`.\n     *\n     * If not using `Components.FormElement`, `resetSubmissionState` action must be triggered on each change to reset\n     * form's submission state.\n     *\n     * @property isSubmitted\n     * @type {Boolean}\n     * @private\n     */\n\n    /**\n     * State of the form expressed as state values expected by `<BsButton>`.\n     *\n     * @property submitButtonState\n     * @type {String}\n     * @private\n     */\n    get submitButtonState() {\n      if (this.isSubmitting) {\n        return 'pending';\n      }\n      if (this.isSubmitted) {\n        return 'fulfilled';\n      }\n      if (this.isRejected) {\n        return 'rejected';\n      }\n      return 'default';\n    }\n\n    /**\n     * Count of pending submissions.\n     *\n     * @property pendingSubmissions\n     * @type {Integer}\n     * @private\n     */\n\n    /**\n     * If true, after successful validation and upon submitting the form, all current element validations will be hidden.\n     * If the form remains visible, the user would have to focus out of elements of submit the form again for the\n     * validations to show up again, as if a fresh new form component had been rendered.\n     *\n     * @property hideValidationsOnSubmit\n     * @type {Boolean}\n     * @default false\n     * @public\n     */\n\n    /**\n     * If set to true the `readonly` property of all yielded form elements will be set, making their form controls read-only.\n     *\n     * @property readonly\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * If set to true the `disabled` property of all yielded form elements will be set, making their form controls disabled.\n     *\n     * @property disabled\n     * @type boolean\n     * @default false\n     * @public\n     */\n\n    /**\n     * Validate hook which will return a promise that will either resolve if the model is valid\n     * or reject if it's not. This should be overridden to add validation support.\n     *\n     * @method validate\n     * @param {Object} model\n     * @param {HTMLFormElement} form\n     * @return {Promise}\n     * @public\n     */\n    validate(model, form) {} // eslint-disable-line no-unused-vars\n\n    /**\n     * @property showAllValidations\n     * @type boolean\n     * @default undefined\n     * @private\n     */\n\n    /**\n     * Action is called before the form is validated (if possible) and submitted.\n     *\n     * @event onBefore\n     * @param { Object } model  The form's `model`\n     * @public\n     */\n\n    /**\n     * Action is called when submit has been triggered and the model has passed all validations (if present).\n     *\n     * @event onSubmit\n     * @param { Object } model  The form's `model`\n     * @param { Object } result The returned result from the validate method, if validation is available\n     * @public\n     */\n\n    /**\n     * Action is called when validation of the model has failed.\n     *\n     * @event onInvalid\n     * @param { Object } model  The form's `model`\n     * @param { Object } error\n     * @public\n     */\n\n    /**\n     * Submit handler that will send the default action (\"action\") to the controller when submitting the form.\n     *\n     * If there is a supplied `model` that supports validation (`hasValidator`) the model will be validated before, and\n     * only if validation is successful the default action will be sent. Otherwise, an \"invalid\" action will be sent, and\n     * all the `showValidation` property of all child `Components.FormElement`s will be set to true, so error state and\n     * messages will be shown automatically.\n     *\n     * @method submit\n     * @private\n     */\n    submitHandler(e, throwValidationErrors = true) {\n      if (e) {\n        e.preventDefault();\n      }\n      if (this.preventConcurrency && this.isSubmitting) {\n        return Ember.RSVP.resolve();\n      }\n      let model = this.model;\n      this.pendingSubmissions++;\n      this.args.onBefore?.(model);\n      return Ember.RSVP.resolve().then(() => {\n        return this.hasValidator ? this.validate(model, this._element) : null;\n      }).then(record => {\n        if (this.args.hideValidationsOnSubmit === true) {\n          this.showAllValidations = false;\n        }\n        return Ember.RSVP.resolve().then(() => {\n          return this.args.onSubmit?.(model, record);\n        }).then(() => {\n          if (this.isDestroyed) {\n            return;\n          }\n          this.isSubmitted = true;\n        }).catch(error => {\n          if (this.isDestroyed) {\n            return;\n          }\n          this.isRejected = true;\n          throw error;\n        }).finally(() => {\n          if (this.isDestroyed) {\n            return;\n          }\n          this.pendingSubmissions--;\n\n          // reset forced hiding of validations\n          if (this.showAllValidations === false) {\n            Ember.run.next(() => this.showAllValidations = undefined);\n          }\n        });\n      }, error => {\n        return Ember.RSVP.resolve().then(() => {\n          return this.args.onInvalid?.(model, error);\n        }).finally(() => {\n          if (this.isDestroyed) {\n            return;\n          }\n          this.showAllValidations = true;\n          this.isRejected = true;\n          this.pendingSubmissions = this.pendingSubmissions - 1;\n          if (throwValidationErrors) {\n            throw error;\n          }\n        });\n      });\n    }\n    handleSubmit(event) {\n      this.submitHandler(event, false);\n    }\n    handleKeyPress(event) {\n      let code = event.keyCode || event.which;\n      if (code === 13 && this.args.submitOnEnter) {\n        let submitEvent = document.createEvent('Event');\n        submitEvent.initEvent('submit', true, true);\n        event.target.dispatchEvent(submitEvent);\n      }\n    }\n    constructor() {\n      super(...arguments);\n      /**\n       * @property _element\n       * @type null | HTMLFormElement\n       * @private\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      _initializerDefineProperty(this, \"formLayout\", _descriptor2, this);\n      /**\n       * Check if validating the model is supported. This needs to be implemented by another addon.\n       *\n       * @property hasValidator\n       * @type boolean\n       * @readonly\n       * @protected\n       */\n      /**\n       * The Bootstrap grid class for form labels. This is used by the `Components.FormElement` class as a default for the\n       * whole form.\n       *\n       * @property horizontalLabelGridClass\n       * @type string\n       * @default 'col-md-4'\n       * @public\n       */\n      _initializerDefineProperty(this, \"horizontalLabelGridClass\", _descriptor3, this);\n      _initializerDefineProperty(this, \"isSubmitted\", _descriptor4, this);\n      /**\n       * `isRejected` is `true` if last submission was rejected.\n       * A submission is considered as rejected if form is invalid as well as if `onSubmit` rejects.\n       * A change to any form element resets its value to `false`.\n       *\n       * If not using `Components.FormElement`, `resetSubmissionState` action must be triggered on each change to reset\n       * form's submission state.\n       *\n       * @property isRejected\n       * @type {Boolean}\n       * @private\n       */\n      _initializerDefineProperty(this, \"isRejected\", _descriptor5, this);\n      _initializerDefineProperty(this, \"pendingSubmissions\", _descriptor6, this);\n      /**\n       * If set to true pressing enter will submit the form, even if no submit button is present\n       *\n       * @property submitOnEnter\n       * @type boolean\n       * @default false\n       * @public\n       */\n      /**\n       * Controls if `onSubmit` action is fired concurrently. If `true` submitting form multiple\n       * times will not trigger `onSubmit` action if a Promise returned by previous submission is\n       * not settled yet.\n       *\n       * Dropping a submission also prevents rerunning validation and `onBefore` hook.\n       *\n       * @property preventConcurrency\n       * @type Boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"preventConcurrency\", _descriptor7, this);\n      _initializerDefineProperty(this, \"showAllValidations\", _descriptor8, this);\n      let formLayout = this.formLayout;\n      (true && !(['vertical', 'horizontal', 'inline'].indexOf(formLayout) >= 0) && Ember.assert(`Invalid formLayout property given: ${formLayout}`, ['vertical', 'horizontal', 'inline'].indexOf(formLayout) >= 0));\n    }\n    elementChanged(value, model, property) {\n      (true && !(Ember.isPresent(model) && Ember.isPresent(property)) && Ember.assert(\"You cannot use the form element's default onChange action for form elements if not using a model or setting the value directly on a form element. You must add your own onChange action to the form element in this case!\", Ember.isPresent(model) && Ember.isPresent(property)));\n      if (typeof model.set === 'function') {\n        model.set(property, value);\n      } else {\n        Ember.set(model, property, value);\n      }\n    }\n    resetSubmissionState() {\n      this.isSubmitted = false;\n      this.isRejected = false;\n    }\n    doSubmit() {\n      return this.submitHandler();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_element\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"model\", [_trackedToolbox.cached], Object.getOwnPropertyDescriptor(_class2.prototype, \"model\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"formLayout\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'vertical';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"horizontalLabelGridClass\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'col-md-4';\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"isSubmitted\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"isRejected\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"pendingSubmissions\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"preventConcurrency\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"showAllValidations\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return undefined;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"handleSubmit\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleSubmit\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleKeyPress\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleKeyPress\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"elementChanged\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"elementChanged\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"resetSubmissionState\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"resetSubmissionState\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doSubmit\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSubmit\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Form);\n});","define(\"ember-bootstrap/components/bs-form/element\", [\"exports\", \"@glimmer/component\", \"ember-ref-bucket\", \"ember-bootstrap/components/bs-form/element/control/input\", \"ember-bootstrap/components/bs-form/element/control/checkbox\", \"ember-bootstrap/components/bs-form/element/control/textarea\", \"ember-bootstrap/components/bs-form/element/control/radio\", \"ember-bootstrap/components/bs-form/element/control/switch\", \"ember-bootstrap/utils/decorators/arg\", \"tracked-toolbox\"], function (_exports, _component, _emberRefBucket, _input, _checkbox, _textarea, _radio, _switch, _arg, _trackedToolbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/debug\",0,\"@ember/utils\",0,\"@ember/array\",0,\"@ember/application\",0,\"@ember/object/internals\",0,\"ember-ref-bucket\",0,\"ember-bootstrap/components/bs-form/element/control/input\",0,\"ember-bootstrap/components/bs-form/element/control/checkbox\",0,\"ember-bootstrap/components/bs-form/element/control/textarea\",0,\"ember-bootstrap/components/bs-form/element/control/radio\",0,\"ember-bootstrap/components/bs-form/element/control/switch\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"tracked-toolbox\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-invalid-interactive --}}\n  <div\n    class=\"{{if (macroCondition (macroGetOwnConfig \"isNotBS5\")) \"form-group\"}} {{if (macroCondition (macroGetOwnConfig \"isBS5\")) (if (bs-eq @formLayout \"vertical\") \"mb-3\")}} {{if (bs-eq @formLayout \"horizontal\") (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"row mb-3\" \"row\")}}\"\n    ...attributes\n    {{create-ref \"mainNode\"}}\n    {{on \"focusout\" this.showValidationOnHandler}}\n    {{on \"change\" this.showValidationOnHandler}}\n    {{on \"input\" this.showValidationOnHandler}}\n    {{did-update this.handleShowAllValidationsChange this.showAllValidations}}\n  >\n    {{#component\n      (ensure-safe-component\n        (bs-default\n          @layoutComponent\n          (if\n            (bs-contains (array \"checkbox\" \"switch\") this.controlType)\n            (if\n              (bs-eq @formLayout \"inline\")\n              (component \"bs-form/element/layout/inline/checkbox\" controlType=this.controlType)\n              (if\n                (bs-eq @formLayout \"horizontal\")\n                (component \"bs-form/element/layout/horizontal/checkbox\" controlType=this.controlType)\n                (component \"bs-form/element/layout/vertical/checkbox\" controlType=this.controlType)\n              )\n            )\n            (if\n              (bs-eq @formLayout \"inline\")\n              (component \"bs-form/element/layout/inline\")\n              (if\n                (bs-eq @formLayout \"horizontal\")\n                (component \"bs-form/element/layout/horizontal\")\n                (component \"bs-form/element/layout/vertical\")\n              )\n            )\n          )\n        )\n      )\n      hasLabel=(if @label true false)\n      formElementId=this.formElementId\n      horizontalLabelGridClass=@horizontalLabelGridClass\n      errorsComponent=(component (ensure-safe-component (bs-default @errorsComponent (component \"bs-form/element/errors\")))\n        messages=this.validationMessages\n        show=this.showValidationMessages\n        showMultipleErrors=this.showMultipleErrors\n      )\n      feedbackIconComponent=(component (ensure-safe-component (bs-default @feedbackIconComponent (component \"bs-form/element/feedback-icon\")))\n        iconName=@iconName\n        show=this.hasFeedback\n      )\n      labelComponent=(component\n        (ensure-safe-component\n          (bs-default\n            @labelComponent\n            (if\n              (bs-eq this.controlType \"radio\")\n              (component \"bs-form/element/legend\")\n              (component \"bs-form/element/label\")\n            )\n          )\n        )\n        label=@label\n        invisibleLabel=@invisibleLabel\n        formElementId=this.formElementId\n        controlType=this.controlType\n        formLayout=@formLayout\n        size=@size\n      )\n      helpTextComponent=(if @helpText\n        (component (ensure-safe-component (bs-default @helpTextComponent (component \"bs-form/element/help-text\")))\n          text=@helpText\n          id=this.ariaDescribedBy\n        )\n      )\n    }}\n      {{!\n        Ember does not allow to access a variable with `@` in template if its name start with an underscore.\n        `@_disabled` and `@_readonly` are affected by this. As a work-a-round we access them on `this.args`.\n      }}\n      {{!-- template-lint-disable no-args-paths --}}\n      {{#let\n        (component\n          (ensure-safe-component\n            (bs-default\n              @controlComponent\n              this.controlComponent\n            )\n          )\n          value=this.value\n          id=this.formElementId\n          type=this.controlType\n          label=@label\n          disabled=this.args._disabled\n          readonly=this.args._readonly\n          required=@required\n          options=@options\n          optionLabelPath=@optionLabelPath\n          ariaDescribedBy=(if @helpText this.ariaDescribedBy)\n          onChange=this.doChange\n          validationType=this.validation\n          size=@size\n      ) as |Control|}}\n      {{!-- template-lint-enable no-args-paths --}}\n        {{#if (has-block)}}\n          {{yield\n            (hash\n              value=this.value\n              setValue=this.doChange\n              id=this.formElementId\n              validation=this.validation\n              control=Control\n            )\n          }}\n        {{else}}\n          <Control />\n        {{/if}}\n      {{/let}}\n    {{/component}}\n  </div>\n  \n  */\n  {\n    \"id\": \"HFUP5wzT\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Control\\\",\\\"&default\\\",\\\"@namedBlocksInfo\\\",\\\"@size\\\",\\\"@helpText\\\",\\\"@optionLabelPath\\\",\\\"@options\\\",\\\"@required\\\",\\\"@label\\\",\\\"@controlComponent\\\",\\\"@formLayout\\\",\\\"&attrs\\\",\\\"@helpTextComponent\\\",\\\"@invisibleLabel\\\",\\\"@labelComponent\\\",\\\"@iconName\\\",\\\"@feedbackIconComponent\\\",\\\"@errorsComponent\\\",\\\"@horizontalLabelGridClass\\\",\\\"@layoutComponent\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[\\\"form-group\\\",\\\" \\\",[29],\\\" \\\",[30,[36,2],[[30,[36,7],[[32,11],\\\"horizontal\\\"],null],\\\"row\\\"],null]]]],[17,12],[4,[38,8],[\\\"mainNode\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[4,[38,9],[\\\"focusout\\\",[32,0,[\\\"showValidationOnHandler\\\"]]],null],[4,[38,9],[\\\"change\\\",[32,0,[\\\"showValidationOnHandler\\\"]]],null],[4,[38,9],[\\\"input\\\",[32,0,[\\\"showValidationOnHandler\\\"]]],null],[4,[38,10],[[32,0,[\\\"handleShowAllValidationsChange\\\"]],[32,0,[\\\"showAllValidations\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,5],[[30,[36,4],[[30,[36,3],[[32,20],[30,[36,2],[[30,[36,12],[[30,[36,11],[\\\"checkbox\\\",\\\"switch\\\"],null],[32,0,[\\\"controlType\\\"]]],null],[30,[36,2],[[30,[36,7],[[32,11],\\\"inline\\\"],null],[30,[36,5],[\\\"bs-form/element/layout/inline/checkbox\\\"],[[\\\"controlType\\\"],[[32,0,[\\\"controlType\\\"]]]]],[30,[36,2],[[30,[36,7],[[32,11],\\\"horizontal\\\"],null],[30,[36,5],[\\\"bs-form/element/layout/horizontal/checkbox\\\"],[[\\\"controlType\\\"],[[32,0,[\\\"controlType\\\"]]]]],[30,[36,5],[\\\"bs-form/element/layout/vertical/checkbox\\\"],[[\\\"controlType\\\"],[[32,0,[\\\"controlType\\\"]]]]]],null]],null],[30,[36,2],[[30,[36,7],[[32,11],\\\"inline\\\"],null],[30,[36,5],[\\\"bs-form/element/layout/inline\\\"],null],[30,[36,2],[[30,[36,7],[[32,11],\\\"horizontal\\\"],null],[30,[36,5],[\\\"bs-form/element/layout/horizontal\\\"],null],[30,[36,5],[\\\"bs-form/element/layout/vertical\\\"],null]],null]],null]],null]],null]],null]],[[\\\"hasLabel\\\",\\\"formElementId\\\",\\\"horizontalLabelGridClass\\\",\\\"errorsComponent\\\",\\\"feedbackIconComponent\\\",\\\"labelComponent\\\",\\\"helpTextComponent\\\"],[[30,[36,2],[[32,9],true,false],null],[32,0,[\\\"formElementId\\\"]],[32,19],[30,[36,5],[[30,[36,4],[[30,[36,3],[[32,18],[30,[36,5],[\\\"bs-form/element/errors\\\"],null]],null]],null]],[[\\\"messages\\\",\\\"show\\\",\\\"showMultipleErrors\\\"],[[32,0,[\\\"validationMessages\\\"]],[32,0,[\\\"showValidationMessages\\\"]],[32,0,[\\\"showMultipleErrors\\\"]]]]],[30,[36,5],[[30,[36,4],[[30,[36,3],[[32,17],[30,[36,5],[\\\"bs-form/element/feedback-icon\\\"],null]],null]],null]],[[\\\"iconName\\\",\\\"show\\\"],[[32,16],[32,0,[\\\"hasFeedback\\\"]]]]],[30,[36,5],[[30,[36,4],[[30,[36,3],[[32,15],[30,[36,2],[[30,[36,7],[[32,0,[\\\"controlType\\\"]],\\\"radio\\\"],null],[30,[36,5],[\\\"bs-form/element/legend\\\"],null],[30,[36,5],[\\\"bs-form/element/label\\\"],null]],null]],null]],null]],[[\\\"label\\\",\\\"invisibleLabel\\\",\\\"formElementId\\\",\\\"controlType\\\",\\\"formLayout\\\",\\\"size\\\"],[[32,9],[32,14],[32,0,[\\\"formElementId\\\"]],[32,0,[\\\"controlType\\\"]],[32,11],[32,4]]]],[30,[36,2],[[32,5],[30,[36,5],[[30,[36,4],[[30,[36,3],[[32,13],[30,[36,5],[\\\"bs-form/element/help-text\\\"],null]],null]],null]],[[\\\"text\\\",\\\"id\\\"],[[32,5],[32,0,[\\\"ariaDescribedBy\\\"]]]]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,5],[[30,[36,4],[[30,[36,3],[[32,10],[32,0,[\\\"controlComponent\\\"]]],null]],null]],[[\\\"value\\\",\\\"id\\\",\\\"type\\\",\\\"label\\\",\\\"disabled\\\",\\\"readonly\\\",\\\"required\\\",\\\"options\\\",\\\"optionLabelPath\\\",\\\"ariaDescribedBy\\\",\\\"onChange\\\",\\\"validationType\\\",\\\"size\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"formElementId\\\"]],[32,0,[\\\"controlType\\\"]],[32,9],[32,0,[\\\"args\\\",\\\"_disabled\\\"]],[32,0,[\\\"args\\\",\\\"_readonly\\\"]],[32,8],[32,7],[32,6],[30,[36,2],[[32,5],[32,0,[\\\"ariaDescribedBy\\\"]]],null],[32,0,[\\\"doChange\\\"]],[32,0,[\\\"validation\\\"]],[32,4]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,3],\\\"default\\\",[27,[32,2]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,2,[[30,[36,0],null,[[\\\"value\\\",\\\"setValue\\\",\\\"id\\\",\\\"validation\\\",\\\"control\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"doChange\\\"]],[32,0,[\\\"formElementId\\\"]],[32,0,[\\\"validation\\\"]],[32,1]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"-has-block\\\",\\\"if\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"component\\\",\\\"let\\\",\\\"bs-eq\\\",\\\"create-ref\\\",\\\"on\\\",\\\"did-update\\\",\\\"array\\\",\\\"bs-contains\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element.hbs\"\n  });\n  /**\n    Subclass of `Components.FormGroup` that adds automatic form layout markup and form validation features.\n  \n    ### Form layout\n  \n    The appropriate Bootstrap markup for the given `formLayout` and `controlType` is automatically generated to easily\n    create forms without coding the default Bootstrap form markup by hand:\n  \n    ```handlebars\n    <BsForm @formLayout=\"horizontal\" @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @controlType=\"email\" @label=\"Email\" @value={{this.email}}\" />\n      <form.element @controlType=\"password\" @label=\"Password\" @value={{this.password}} />\n      <form.element @controlType=\"checkbox\" @label=\"Remember me\" @value={{this.rememberMe}} />\n      <BsButton @defaultText=\"Submit\" @type=\"primary\" type=\"submit\" />\n    </BsForm>\n    ```\n  \n    ### Control types\n  \n    The following control types are supported out of the box:\n  \n    * Inputs (simple `text`, or any other HTML5 supported input types like `password`, `email` etc.)\n    * Checkbox (single)\n    * Radio Button (group)\n    * Textarea\n    * Switch (BS4 Only)\n  \n    #### Radio Buttons\n  \n    For a group of mutually exclusive radio buttons to work, you must supply the `options` property with an array of\n    options, each of which will be rendered with an appropriate radio button and its label. It can be either a simple array\n    of strings or objects. In the latter case, you would have to set `optionLabelPath` to the property, that contains the\n    label on these objects.\n  \n    ```hbs\n    <BsForm @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @controlType=\"radio\" @label=\"Gender\" @options={{this.genderOptions}} @optionLabelPath=\"title\" @property=\"gender\" />\n    </BsForm>\n    ```\n  \n    The default layout for radios is stacked, but Bootstrap's inline layout is also supported using the `inline` property\n    of the yielded control component:\n  \n    ```hbs\n    <BsForm @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @controlType=\"radio\" @label=\"Gender\" @options={{this.genderOptions}} @property=\"gender\" as |el|>\n        <el.control @inline={{true}} />\n      </form.element>\n    </BsForm>\n    ```\n  \n    #### Custom controls\n  \n    Apart from the standard built-in browser controls (see the `controlType` property), you can use any custom control simply\n    by invoking the component with a block template. Use whatever control you might want, for example a `<PikadayInput>`\n    component (from the [ember-pikaday addon](https://github.com/adopted-ember-addons/ember-pikaday)):\n  \n    ```hbs\n    <BsForm @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @label=\"Select-2\" @property=\"gender\" as |el|>\n        <PikadayInput @value={{el.value}} @onSelection={{action el.setValue}} id={{el.id}} />\n      </form.element>\n    </BsForm>\n    ```\n  \n    The component yields a hash with the following properties:\n    * `control`: the component that would be used for rendering the form control based on the given `controlType`\n    * `id`: id to be used for the form control, so it matches the labels `for` attribute\n    * `value`: the value of the form element\n    * `setValue`: function to change the value of the form element\n    * `validation`: the validation state of the element, `null` if no validation is to be shown, otherwise 'success', 'error' or 'warning'\n  \n    If you just want to customize the existing control component, you can use the aforementioned yielded `control` component\n    to customize that existing component:\n  \n    ```hbs\n    <BsForm @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @label=\"Email\" @property=\"email\" as |el|>\n        <el.control class=\"input-lg\" placeholder=\"Email\" />\n      </form.element>\n    </BsForm>\n    ```\n  \n    If you are using the custom control quite often, you should consider writing an integration plugin like\n    [`ember-bootstrap-power-select`](https://github.com/kaliber5/ember-bootstrap-power-select).\n    To do so, you need to provide a component `{{bs-form/element/control/my-custom-control}}` which extends\n    [`Components.FormElementControl`](Components.FormElementControl.html).\n  \n    ### Form validation\n  \n    In the following example the control elements of the three form elements value will be bound to the properties\n    (given by `property`) of the form's `model`, which in this case is its controller (see `model=this`):\n  \n    ```handlebars\n    <BsForm @formLayout=\"horizontal\" @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n      <form.element @controlType=\"email\" @label=\"Email\" @property=\"email\" />\n      <form.element @controlType=\"password\" @label=\"Password\" @property=\"password\" />\n      <form.element @controlType=\"checkbox\" @label=\"Remember me\" @property=\"rememberMe\" />\n      <BsButton @defaultText=\"Submit\" @type=\"primary\" @buttonType=\"submit\" />\n    </BsForm>\n    ```\n  \n    By using this indirection in comparison to directly binding the `value` property, you get the benefit of automatic\n    form validation, given that your `model` has a supported means of validating itself.\n    See [Components.Form](Components.Form.html) for details on how to enable form validation.\n  \n    In the example above the `model` was our controller itself, so the control elements were bound to the appropriate\n    properties of our controller. A controller implementing validations on those properties could look like this:\n  \n    ```js\n    import Ember from 'ember';\n    import EmberValidations from 'ember-validations';\n  \n    export default Ember.Controller.extend(EmberValidations,{\n      email: null,\n      password: null,\n      rememberMe: false,\n      validations: {\n        email: {\n          presence: true,\n          format: {\n            with: /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,4}$/\n          }\n        },\n        password: {\n          presence: true,\n          length: { minimum: 6, maximum: 10}\n        },\n        comments: {\n          length: { minimum: 5, maximum: 20}\n        }\n      }\n    });\n    ```\n  \n    If the `showValidation` property is `true` (which is automatically the case if a `focusOut` event is captured from the\n    control element or the containing `Components.Form` was submitted with its `model` failing validation) and there are\n    validation errors for the `model`'s `property`, the appropriate Bootstrap validation markup (see\n    http://getbootstrap.com/css/#forms-control-validation) is applied:\n  \n    * `validation` is set to 'error', which will set the `has-error` CSS class\n    * the `errorIcon` feedback icon is displayed if `controlType` is a text field\n    * the validation messages are displayed as Bootstrap `help-block`s in BS3 and `form-control-feedback` in BS4\n  \n    The same applies for warning messages, if the used validation library supports this. (Currently only\n    [ember-cp-validations](https://github.com/offirgolan/ember-cp-validations))\n  \n    As soon as the validation is successful again...\n  \n    * `validation` is set to 'success', which will set the `has-success` CSS class\n    * the `successIcon` feedback icon is displayed if `controlType` is a text field\n    * the validation messages are removed\n  \n    In case you want to display some error or warning message that is independent of the model's validation, for\n    example to display a failure message on a login form after a failed authentication attempt (so not coming from\n    the validation library), you can use the `customError` or `customWarning` properties to do so.\n  \n    ### HTML attributes\n  \n    To set HTML attributes on the control element provided by this component when using the modern angle bracket invocation,\n    you can pass them to the yielded `control` component:\n  \n    ```hbs\n    <BsForm @formLayout=\"horizontal\" @model={{this}} @onSubmit={{action \"submit\"}} as |form|>\n    <form.element @controlType=\"email\" @label=\"Email\" @property=\"email\" as |el|>\n      <el.control\n        placeholder=\"Email\"\n        tabindex={{5}}\n        multiple\n        required\n      />\n    </form.element>\n    ...\n    </BsForm>\n    ```\n  \n    @class FormElement\n    @namespace Components\n    @extends Components.FormGroup\n    @public\n  */\n  let FormElement = _exports.default = (_dec = (0, _emberRefBucket.ref)('mainNode'), _dec2 = Ember._tracked, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _class = class FormElement extends _component.default {\n    /**\n     * The value of the control element is bound to this property:\n     *\n     * ```hbs\n     * <form.element @controlType=\"email\" @label=\"Email\" @value={{this.email}} />\n     * ```\n     *\n     * Note two things:\n     * * the binding is uni-directional (DDAU), so you would have to use the `onChange` action to subscribe to changes.\n     * * you lose the ability to validate this form element by directly binding to its value. It is recommended\n     * to use the `property` feature instead.\n     *\n     * @property value\n     * @public\n     */\n    get value() {\n      (true && !(Ember.isBlank(this.args.property) || Ember.isBlank(this.args.value)) && Ember.assert('You can not set both property and value on a form element', Ember.isBlank(this.args.property) || Ember.isBlank(this.args.value)));\n      if (this.args.property && this.args.model) {\n        return Ember.get(this.args.model, this.args.property);\n      }\n      return this.args.value;\n    }\n\n    /**\n     The property name of the form element's `model` (by default the `model` of its parent `Components.Form`) that this\n     form element should represent. The control element's value will automatically be bound to the model property's\n     value.\n      Using this property enables form validation on this element.\n      @property property\n     @type string\n     @public\n     */\n\n    /**\n     * The model used for validation. Defaults to the parent `Components.Form`'s `model`\n     *\n     * @property model\n     * @public\n     */\n\n    /**\n     * Show a help text next to the control\n     *\n     * @property helpText\n     * @type {string}\n     * @public\n     */\n\n    /**\n     * Only if there is a validator, this property makes all errors to be displayed at once\n     * inside a scrollable container.\n     *\n     * @default false\n     * @property showMultipleErrors\n     * @public\n     * @type {Boolean}\n     */\n\n    /**\n     * @property hasErrors\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get hasErrors() {\n      return Array.isArray(this.errors) && this.errors.length > 0;\n    }\n\n    /**\n     * The array of warning messages from the `model`'s validation.\n     *\n     * @property warnings\n     * @type array\n     * @protected\n     */\n    // This shouldn't be an argument. It's only an argument because tests rely on\n    // setting it as an argument. See https://github.com/kaliber5/ember-bootstrap/issues/1338\n    // for details.\n\n    /**\n     * @property hasWarnings\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get hasWarnings() {\n      return Array.isArray(this.warnings) && this.warnings.length > 0;\n    }\n\n    /**\n     * Show a custom error message that does not come from the model's validation. Will be immediately shown, regardless\n     * of any user interaction (i.e. no `focusOut` event required)\n     *\n     * @property customError\n     * @type string\n     * @public\n     */\n\n    /**\n     * @property hasCustomError\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get hasCustomError() {\n      return Ember.isPresent(this.args.customError);\n    }\n\n    /**\n     * Show a custom warning message that does not come from the model's validation. Will be immediately shown, regardless\n     * of any user interaction (i.e. no `focusOut` event required). If the model's validation has an error then the error\n     * will be shown in place of this warning.\n     *\n     * @property customWarning\n     * @type string\n     * @public\n     */\n\n    /**\n     * @property hasCustomWarning\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get hasCustomWarning() {\n      return Ember.isPresent(this.args.customWarning);\n    }\n\n    /**\n     * Property for size styling, set to 'lg', 'sm' or 'xs' (the latter only for BS3)\n     *\n     * @property size\n     * @type String\n     * @public\n     */\n\n    /**\n     * The array of validation messages (either errors or warnings) from either custom error/warnings or , if we are showing model validation messages, the model's validation\n     *\n     * @property validationMessages\n     * @type array\n     * @private\n     */\n    get validationMessages() {\n      if (this.hasCustomError) {\n        return Ember.A([this.args.customError]);\n      }\n      if (this.hasErrors && this.showModelValidation) {\n        return Ember.A(this.errors);\n      }\n      if (this.hasCustomWarning) {\n        return Ember.A([this.args.customWarning]);\n      }\n      if (this.hasWarnings && this.showModelValidation) {\n        return Ember.A(this.warnings);\n      }\n      return null;\n    }\n\n    /**\n     * @property hasValidationMessages\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get hasValidationMessages() {\n      return Array.isArray(this.validationMessages) && this.validationMessages.length > 0;\n    }\n\n    /**\n     * Set a validating state for async validations\n     *\n     * @property isValidating\n     * @type boolean\n     * @default false\n     * @protected\n     */\n\n    /**\n     * If `true` form validation markup is rendered (requires a validatable `model`).\n     *\n     * @property showValidation\n     * @type boolean\n     * @default false\n     * @private\n     */\n    get showValidation() {\n      return this.showOwnValidation || this.showAllValidations || this.hasCustomError || this.hasCustomWarning;\n    }\n\n    /**\n     * @property showOwnValidation\n     * @type boolean\n     * @default false\n     * @private\n     */\n\n    /*\n     * Resets `showOwnValidation` if `@showAllValidations` argument is changed to `false`.\n     * Must be called whenever `@showAllValidations` argument changes.\n     */\n    handleShowAllValidationsChange() {\n      if (this.args.showAllValidations === false) {\n        this.showOwnValidation = false;\n      }\n    }\n\n    /**\n     * @property showModelValidations\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get showModelValidation() {\n      return this.showOwnValidation || this.showAllValidations;\n    }\n\n    /**\n     * @property showValidationMessages\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get showValidationMessages() {\n      return this.showValidation && this.hasValidationMessages;\n    }\n\n    /**\n     * Event or list of events which enable form validation markup rendering.\n     * Supported events: ['focusout', 'change', 'input']\n     *\n     * @property showValidationOn\n     * @type string|array\n     * @default ['focusout']\n     * @public\n     */\n\n    /**\n     * @property _showValidationOn\n     * @type array\n     * @readonly\n     * @private\n     */\n    get _showValidationOn() {\n      let showValidationOn = this.showValidationOn;\n      (true && !(Ember.isArray(showValidationOn) || Ember.typeOf(showValidationOn) === 'string') && Ember.assert('showValidationOn must be a String or an Array', Ember.isArray(showValidationOn) || Ember.typeOf(showValidationOn) === 'string'));\n      if (Ember.isArray(showValidationOn)) {\n        return showValidationOn.map(type => {\n          return type.toLowerCase();\n        });\n      }\n      if (typeof showValidationOn.toString === 'function') {\n        return [showValidationOn.toLowerCase()];\n      }\n      return [];\n    }\n\n    /**\n     * @method showValidationOnHandler\n     * @param {Event} event\n     * @private\n     */\n    showValidationOnHandler({\n      target,\n      type\n    }) {\n      // Should not do anything if\n      if (\n      // validations should not be shown for this event type or\n      this._showValidationOn.indexOf(type) === -1 ||\n      // validation should not be shown for this event target\n      Ember.isArray(this.doNotShowValidationForEventTargets) && this.doNotShowValidationForEventTargets.length > 0 && this._element && [...this._element.querySelectorAll(this.doNotShowValidationForEventTargets.join(','))].some(el => el.contains(target))) {\n        return;\n      }\n      this.showOwnValidation = true;\n    }\n\n    /**\n     * Controls if validation should be shown for specified event targets.\n     *\n     * It expects an array of query selectors. If event target is a children of an event that matches\n     * these selectors, an event triggered for it will not trigger validation errors to be shown.\n     *\n     * By default, events fired on elements inside an input group are skipped.\n     *\n     * If `null` or an empty array is passed validation errors are shown for all events regardless\n     * of event target.\n     *\n     * @property doNotShowValidationForEventTargets\n     * @type ?array\n     * @public\n     */\n\n    /**\n     * The validation (\"error\" (BS3)/\"danger\" (BS4), \"warning\", or \"success\") or null if no validation is to be shown. Automatically computed from the\n     * model's validation state.\n     *\n     * @property validation\n     * @readonly\n     * @type string\n     * @private\n     */\n    get validation() {\n      const shouldShowValidationState = this.showModelValidation && this.hasValidator && !this.isValidating && !this.args._disabled;\n      if (/* custom errors should be always shown */\n      this.hasCustomError || (/* validation error should be shown in preference to warnings */\n      shouldShowValidationState && this.hasErrors)) {\n        return 'error';\n      }\n      if (/* custom warning should be always shown unless there is a validation error */\n      this.hasCustomWarning || shouldShowValidationState && this.hasWarnings) {\n        return 'warning';\n      }\n      if (shouldShowValidationState) {\n        return 'success';\n      }\n      return null;\n    }\n\n    /**\n     * The form layout used for the markup generation (see http://getbootstrap.com/css/#forms):\n     *\n     * * 'horizontal'\n     * * 'vertical'\n     * * 'inline'\n     *\n     * Defaults to the parent `form`'s `formLayout` property.\n     *\n     * @property formLayout\n     * @type string\n     * @default 'vertical'\n     * @public\n     */\n\n    /**\n     * The Bootstrap grid class for form labels within a horizontal layout form. Defaults to the value of the same\n     * property of the parent form. The corresponding grid class for form controls is automatically computed.\n     *\n     * @property horizontalLabelGridClass\n     * @type string\n     * @public\n     */\n\n    /**\n     * ID for input field and the corresponding label's \"for\" attribute\n     *\n     * @property formElementId\n     * @type string\n     * @private\n     */\n    get formElementId() {\n      return `${this._elementId}-field`;\n    }\n\n    /**\n     * ID of the helpText, used for aria-describedby attribute of the control element\n     *\n     * @property ariaDescribedBy\n     * @type string\n     * @private\n     */\n    get ariaDescribedBy() {\n      return `${this._elementId}-help`;\n    }\n\n    /**\n     * @property layoutComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property controlComponent\n     * @private\n     */\n    get controlComponent() {\n      let owner = Ember.getOwner(this);\n      let componentClass = owner.resolveRegistration(`component:bs-form/element/control/${this.controlType}`);\n      if (componentClass) {\n        return componentClass;\n      }\n      if (this.controlType === 'checkbox') {\n        return _checkbox.default;\n      } else if (this.controlType === 'textarea') {\n        return _textarea.default;\n      } else if (this.controlType === 'radio') {\n        return _radio.default;\n      } else if (this.controlType === 'switch') {\n        return _switch.default;\n      } else {\n        return _input.default;\n      }\n    }\n\n    /**\n     * @property errorsComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property feedbackIconComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property labelComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property helpTextComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * Setup validation properties. This method acts as a hook for external validation\n     * libraries to overwrite. In case of failed validations the `errors` property should contain an array of error messages.\n     *\n     * @method setupValidations\n     * @private\n     */\n\n    /**\n     * The action is called whenever the input value is changed, e.g. by typing text\n     *\n     * @event onChange\n     * @param {String} value The new value of the form control\n     * @param {Object} model The form element's model\n     * @param {String} property The value of `property`\n     * @public\n     */\n\n    /**\n     * Private duplicate of onChange event used for internal state handling between form and it's elements.\n     *\n     * @event _onChange\n     * @private\n     */\n\n    constructor() {\n      super(...arguments);\n      /**\n       * @property _element\n       * @type null | HTMLElement\n       * @private\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      /**\n       * Text to display within a `<label>` tag.\n       *\n       * You should include a label for every form input cause otherwise screen readers\n       * will have trouble with your forms. Use `invisibleLabel` property if you want\n       * to hide them.\n       *\n       * @property label\n       * @type string\n       * @public\n       */\n      /**\n       * Controls label visibility by adding 'sr-only' class.\n       *\n       * @property invisibleLabel\n       * @type boolean\n       * @default false\n       * @public\n       */\n      /**\n       * The type of the control widget.\n       * Supported types:\n       *\n       * * 'text'\n       * * 'checkbox'\n       * * 'radio'\n       * * 'switch'\n       * * 'textarea'\n       * * any other type will use an input tag with the `controlType` value as the type attribute (for e.g. HTML5 input\n       * types like 'email'), and the same layout as the 'text' type\n       *\n       * @property controlType\n       * @type string\n       * @default 'text'\n       * @public\n       */\n      _initializerDefineProperty(this, \"controlType\", _descriptor2, this);\n      _initializerDefineProperty(this, \"showMultipleErrors\", _descriptor3, this);\n      /**\n       * Array of options for control types that show a selection (e.g. radio button groups)\n       * Can be an array of simple strings or objects. For objects use `optionLabelPath` to specify the path containing the\n       * label.\n       *\n       * @property options\n       * @type {Array}\n       * @public\n       */\n      /**\n       * Property path (e.g. 'title' or 'related.name') to render the label of a selection option. See `options`.\n       *\n       * @property optionLabelPath\n       * @type {String}\n       * @public\n       */\n      /**\n       * The array of error messages from the `model`'s validation.\n       *\n       * @property errors\n       * @type array\n       * @protected\n       */\n      // This shouldn't be an argument. It's only an argument because tests rely on\n      // setting it as an argument. See https://github.com/kaliber5/ember-bootstrap/issues/1338\n      // for details.\n      _initializerDefineProperty(this, \"errors\", _descriptor4, this);\n      _initializerDefineProperty(this, \"warnings\", _descriptor5, this);\n      _initializerDefineProperty(this, \"isValidating\", _descriptor6, this);\n      _initializerDefineProperty(this, \"showOwnValidation\", _descriptor7, this);\n      /**\n       * @property showAllValidations\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"showAllValidations\", _descriptor8, this);\n      _initializerDefineProperty(this, \"showValidationOn\", _descriptor9, this);\n      _initializerDefineProperty(this, \"doNotShowValidationForEventTargets\", _descriptor0, this);\n      _defineProperty(this, \"_elementId\", Ember.guidFor(this));\n      if (!Ember.isBlank(this.args.property)) {\n        this.setupValidations?.();\n      }\n    }\n    doChange(value) {\n      let {\n        onChange,\n        model,\n        property,\n        _onChange\n      } = this.args;\n      onChange?.(value, model, property);\n      _onChange?.();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_element\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"controlType\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'text';\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showMultipleErrors\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"errors\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"warnings\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isValidating\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"showOwnValidation\", [_trackedToolbox.dedupeTracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"showAllValidations\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"handleShowAllValidationsChange\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleShowAllValidationsChange\"), _class.prototype), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showValidationOn\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return ['focusOut'];\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"showValidationOnHandler\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"showValidationOnHandler\"), _class.prototype), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"doNotShowValidationForEventTargets\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return ['.input-group-append', '.input-group-prepend'];\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"doChange\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"doChange\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElement);\n});","define(\"ember-bootstrap/components/bs-form/element/control\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/form-validation-class\"], function (_exports, _component, _formValidationClass) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"ember-bootstrap/utils/form-validation-class\"eaimeta@70e063a35619d71f\n  /**\n  \n   @class FormElementControl\n   @namespace Components\n   @extends Ember.Component\n   @private\n   */\n  class FormElementControl extends _component.default {\n    /**\n     * @property value\n     * @public\n     */\n\n    get formValidationClass() {\n      return (0, _formValidationClass.default)(this.args.validationType);\n    }\n\n    /**\n     * This action is called whenever the `value` changes\n     *\n     * @event onChange\n     * @param {*} value\n     * @public\n     */\n  }\n  _exports.default = FormElementControl;\n});","define(\"ember-bootstrap/components/bs-form/element/control/checkbox\", [\"exports\", \"ember-bootstrap/components/bs-form/element/control\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _control, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-bootstrap/components/bs-form/element/control\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <input\n    type=\"checkbox\"\n    id={{@id}}\n    disabled={{@disabled}}\n    readonly={{@readonly}}\n    aria-describedby={{@ariaDescribedBy}}\n    checked={{@value}}\n    class=\"form-check-input {{this.formValidationClass}}\"\n    ...attributes\n    {{on \"click\" this.handleClick}}\n  >\n  \n  \n  */\n  {\n    \"id\": \"odCltm55\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@id\\\",\\\"@disabled\\\",\\\"@readonly\\\",\\\"@ariaDescribedBy\\\",\\\"@value\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"input\\\"],[16,1,[32,1]],[16,\\\"disabled\\\",[32,2]],[16,\\\"readonly\\\",[32,3]],[16,\\\"aria-describedby\\\",[32,4]],[16,\\\"checked\\\",[32,5]],[16,0,[31,[\\\"form-check-input \\\",[32,0,[\\\"formValidationClass\\\"]]]]],[17,6],[24,4,\\\"checkbox\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[12],[13],[2,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/control/checkbox.hbs\"\n  });\n  /**\n  \n   @class FormElementControlCheckbox\n   @namespace Components\n   @extends Components.FormElementControl\n   @private\n   */\n  let FormElementControlCheckbox = _exports.default = (_dec = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class FormElementControlCheckbox extends _control.default {\n    handleClick(event) {\n      this.args.onChange(event.target.checked);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementControlCheckbox);\n});","define(\"ember-bootstrap/components/bs-form/element/control/input\", [\"exports\", \"ember-bootstrap/components/bs-form/element/control\", \"ember-bootstrap/utils/size-class\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _control, _sizeClass, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-bootstrap/components/bs-form/element/control\",0,\"ember-bootstrap/utils/size-class\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <input\n    type={{bs-default @type \"text\"}}\n    id={{@id}}\n    disabled={{@disabled}}\n    readonly={{@readonly}}\n    aria-describedby={{@ariaDescribedBy}}\n    value={{@value}}\n    class=\"form-control {{this.formValidationClass}} {{this.sizeClass}}\"\n    ...attributes\n    {{on \"change\" this.handleChange}}\n    {{on \"input\" this.handleInput}}\n  >\n  */\n  {\n    \"id\": \"fQF6o98l\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@id\\\",\\\"@disabled\\\",\\\"@readonly\\\",\\\"@ariaDescribedBy\\\",\\\"@value\\\",\\\"&attrs\\\",\\\"@type\\\"],\\\"statements\\\":[[11,\\\"input\\\"],[16,1,[32,1]],[16,\\\"disabled\\\",[32,2]],[16,\\\"readonly\\\",[32,3]],[16,\\\"aria-describedby\\\",[32,4]],[16,2,[32,5]],[16,0,[31,[\\\"form-control \\\",[32,0,[\\\"formValidationClass\\\"]],\\\" \\\",[32,0,[\\\"sizeClass\\\"]]]]],[17,6],[16,4,[30,[36,0],[[32,7],\\\"text\\\"],null]],[4,[38,1],[\\\"change\\\",[32,0,[\\\"handleChange\\\"]]],null],[4,[38,1],[\\\"input\\\",[32,0,[\\\"handleInput\\\"]]],null],[12],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-default\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/control/input.hbs\"\n  });\n  /**\n  \n   @class FormElementControlInput\n   @namespace Components\n   @extends Components.FormElementControl\n   @private\n   */\n  let FormElementControlInput = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class FormElementControlInput extends _control.default {\n    /**\n     * @property type\n     * @type {String}\n     * @public\n     */\n\n    handleChange(event) {\n      this.args.onChange(event.target.value);\n    }\n    handleInput(event) {\n      this.args.onChange(event.target.value);\n    }\n\n    /**\n     * [BS4 only] Property for size styling, set to 'lg', 'sm' or 'xs'\n     *\n     * Also see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/forms/#sizing)\n     *\n     * @property size\n     * @type String\n     * @public\n     */\n\n    get sizeClass() {\n      return (0, _sizeClass.default)('form-control', this.args.size);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"handleChange\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleInput\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleInput\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementControlInput);\n});","define(\"ember-bootstrap/components/bs-form/element/control/radio\", [\"exports\", \"ember-bootstrap/components/bs-form/element/control\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _control, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-form/element/control\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-positive-tabindex --}}\n  {{#each @options as |option index|}}\n    {{#let (concat @id \"-\" index) as |id|}}\n      <div class=\"form-check{{if @inline \" form-check-inline\"}}\">\n        <input\n          type=\"radio\"\n          class=\"form-check-input\"\n          id={{id}}\n          checked={{bs-eq option @value}}\n          onclick={{fn @onChange option}}\n          name={{@name}}\n          required={{@required}}\n          disabled={{@disabled}}\n          autofocus={{@autofocus}}\n          tabindex={{@tabindex}}\n          form={{@form}}\n          title={{@title}}\n          ...attributes\n        >\n        <label\n          for={{id}}\n          class=\"form-check-label\"\n        >\n          {{#if (has-block)}}\n            {{yield option index}}\n          {{else}}\n            {{#if @optionLabelPath}}\n              {{get option @optionLabelPath}}\n            {{else}}\n              {{option}}\n            {{/if}}\n          {{/if}}\n        </label>\n      </div>\n    {{/let}}\n  {{/each}}\n  \n  */\n  {\n    \"id\": \"8UiDLsFk\",\n    \"block\": \"{\\\"symbols\\\":[\\\"option\\\",\\\"index\\\",\\\"id\\\",\\\"@optionLabelPath\\\",\\\"&default\\\",\\\"@inline\\\",\\\"@value\\\",\\\"@onChange\\\",\\\"@name\\\",\\\"@required\\\",\\\"@disabled\\\",\\\"@autofocus\\\",\\\"@tabindex\\\",\\\"@form\\\",\\\"@title\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\",\\\"@id\\\",\\\"@options\\\"],\\\"statements\\\":[[6,[37,8],[[30,[36,7],[[30,[36,7],[[32,19]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,5],[[32,18],\\\"-\\\",[32,2]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"form-check\\\",[30,[36,1],[[32,6],\\\" form-check-inline\\\"],null]]]],[12],[2,\\\"\\\\n      \\\"],[11,\\\"input\\\"],[24,0,\\\"form-check-input\\\"],[16,1,[32,3]],[16,\\\"checked\\\",[30,[36,2],[[32,1],[32,7]],null]],[16,\\\"onclick\\\",[30,[36,3],[[32,8],[32,1]],null]],[16,3,[32,9]],[16,\\\"required\\\",[32,10]],[16,\\\"disabled\\\",[32,11]],[16,\\\"autofocus\\\",[32,12]],[16,\\\"tabindex\\\",[32,13]],[16,\\\"form\\\",[32,14]],[16,\\\"title\\\",[32,15]],[17,16],[24,4,\\\"radio\\\"],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,3]],[14,0,\\\"form-check-label\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[32,17],\\\"default\\\",[27,[32,5]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[18,5,[[32,1],[32,2]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,4]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,0],[[32,1],[32,4]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[1,[32,1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[3]}]]]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"get\\\",\\\"if\\\",\\\"bs-eq\\\",\\\"fn\\\",\\\"-has-block\\\",\\\"concat\\\",\\\"let\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/control/radio.hbs\"\n  });\n  /**\n  \n   @class FormElementControlRadio\n   @namespace Components\n   @extends Components.FormElementControl\n   @private\n   */\n  let FormElementControlRadio = _exports.default = (0, _deprecateSubclassing.default)(_class = class FormElementControlRadio extends _control.default {\n    /**\n     * @property inline\n     * @type {Boolean}\n     * @default false\n     * @public\n     */\n  }) || _class;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementControlRadio);\n});","define(\"ember-bootstrap/components/bs-form/element/control/switch\", [\"exports\", \"ember-bootstrap/components/bs-form/element/control\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _control, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-bootstrap/components/bs-form/element/control\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <input\n    type=\"checkbox\"\n    id={{@id}}\n    disabled={{@disabled}}\n    readonly={{@readonly}}\n    aria-describedby={{@ariaDescribedBy}}\n    checked={{@value}}\n    class=\"{{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-check-input\" \"custom-control-input\"}} {{this.formValidationClass}}\"\n    ...attributes\n    {{on \"click\" this.handleClick}}\n  >\n  \n  */\n  {\n    \"id\": \"iVLfQ2zN\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@id\\\",\\\"@disabled\\\",\\\"@readonly\\\",\\\"@ariaDescribedBy\\\",\\\"@value\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"input\\\"],[16,1,[32,1]],[16,\\\"disabled\\\",[32,2]],[16,\\\"readonly\\\",[32,3]],[16,\\\"aria-describedby\\\",[32,4]],[16,\\\"checked\\\",[32,5]],[16,0,[31,[\\\"custom-control-input\\\",\\\" \\\",[32,0,[\\\"formValidationClass\\\"]]]]],[17,6],[24,4,\\\"checkbox\\\"],[4,[38,0],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/control/switch.hbs\"\n  });\n  /**\n  \n   @class FormElementControlSwitch\n   @namespace Components\n   @extends Components.FormElementControl\n   @private\n   */\n  let FormElementControlSwitch = _exports.default = (_dec = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class FormElementControlSwitch extends _control.default {\n    handleClick(event) {\n      this.args.onChange(event.target.checked);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementControlSwitch);\n});","define(\"ember-bootstrap/components/bs-form/element/control/textarea\", [\"exports\", \"ember-bootstrap/components/bs-form/element/control\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _control, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"ember-bootstrap/components/bs-form/element/control\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <textarea\n    id={{@id}}\n    disabled={{@disabled}}\n    readonly={{@readonly}}\n    aria-describedby={{@ariaDescribedBy}}\n    value={{@value}}\n    class=\"form-control {{this.formValidationClass}}\"\n    ...attributes\n    {{on \"change\" this.handleChange}}\n    {{on \"input\" this.handleInput}}>\n  </textarea>\n  */\n  {\n    \"id\": \"UMRoJEdy\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@id\\\",\\\"@disabled\\\",\\\"@readonly\\\",\\\"@ariaDescribedBy\\\",\\\"@value\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"textarea\\\"],[16,1,[32,1]],[16,\\\"disabled\\\",[32,2]],[16,\\\"readonly\\\",[32,3]],[16,\\\"aria-describedby\\\",[32,4]],[16,2,[32,5]],[16,0,[31,[\\\"form-control \\\",[32,0,[\\\"formValidationClass\\\"]]]]],[17,6],[4,[38,0],[\\\"change\\\",[32,0,[\\\"handleChange\\\"]]],null],[4,[38,0],[\\\"input\\\",[32,0,[\\\"handleInput\\\"]]],null],[12],[2,\\\"\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/control/textarea.hbs\"\n  });\n  /**\n  \n   @class FormElementControlTextarea\n   @namespace Components\n   @extends Components.FormElementControl\n   @private\n   */\n  let FormElementControlTextarea = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class FormElementControlTextarea extends _control.default {\n    handleChange(event) {\n      this.args.onChange(event.target.value);\n    }\n    handleInput(event) {\n      this.args.onChange(event.target.value);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"handleChange\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleInput\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleInput\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementControlTextarea);\n});","define(\"ember-bootstrap/components/bs-form/element/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @show}}\n    {{#if @showMultipleErrors}}\n      <div class=\"pre-scrollable\">\n        {{#each @messages as |message|}}\n          <div class=\"invalid-feedback d-block\">{{message}}</div>\n        {{/each}}\n      </div>\n    {{else}}\n      <div class=\"invalid-feedback d-block\">{{@messages.firstObject}}</div>\n    {{/if}}\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"14/Kq4Gn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"message\\\",\\\"@messages\\\",\\\"@showMultipleErrors\\\",\\\"@show\\\"],\\\"statements\\\":[[6,[37,2],[[32,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[32,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"pre-scrollable\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,2]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"invalid-feedback d-block\\\"],[12],[1,[32,1]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"invalid-feedback d-block\\\"],[12],[1,[32,2,[\\\"firstObject\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-track-array\\\",\\\"each\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/errors.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/feedback-icon\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @show}}\n    <span class=\"form-control-feedback {{@iconName}}\" aria-hidden=\"true\"></span>\n  {{/if}}\n  */\n  {\n    \"id\": \"vBHBkmIS\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@iconName\\\",\\\"@show\\\"],\\\"statements\\\":[[6,[37,0],[[32,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"span\\\"],[15,0,[31,[\\\"form-control-feedback \\\",[32,1]]]],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/feedback-icon.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/help-text\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    id={{@id}}\n    class=\"form-text\"\n    ...attributes\n  >\n    {{@text}}\n  </div>\n  */\n  {\n    \"id\": \"t8AjcWTb\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@id\\\",\\\"&attrs\\\",\\\"@text\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,1,[32,1]],[24,0,\\\"form-text\\\"],[17,2],[12],[2,\\\"\\\\n  \\\"],[1,[32,3]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/help-text.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/label\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-bootstrap/utils/decorators/arg\"], function (_exports, _component, _deprecateSubclassing, _arg) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-bootstrap/utils/decorators/arg\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <label\n    class=\"\n      {{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-label\"}}\n      {{if @invisibleLabel (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\")}}\n      {{@labelClass}}\n      {{if this.isHorizontalAndNotCheckbox \"col-form-label\"}}\n      {{if this.isCheckbox \"form-check-label\"}}\n      {{if (bs-eq \"switch\" @controlType) (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-check-label\" \"custom-control-label\")}}\n      {{if this.isHorizontal (bs-size-class \"col-form-label\" @size)}}\"\n    for={{@formElementId}}\n    ...attributes\n  >\n    {{#if (has-block)}}\n      {{yield}}\n    {{/if}}\n    {{@label}}\n  </label>\n  \n  */\n  {\n    \"id\": \"NlS9ycku\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"@size\\\",\\\"@controlType\\\",\\\"@labelClass\\\",\\\"@invisibleLabel\\\",\\\"@formElementId\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\",\\\"@label\\\"],\\\"statements\\\":[[11,\\\"label\\\"],[16,0,[31,[\\\"\\\\n    \\\",[29],\\\"\\\\n    \\\",[30,[36,1],[[32,5],\\\"sr-only\\\"],null],\\\"\\\\n    \\\",[32,4],\\\"\\\\n    \\\",[30,[36,1],[[32,0,[\\\"isHorizontalAndNotCheckbox\\\"]],\\\"col-form-label\\\"],null],\\\"\\\\n    \\\",[30,[36,1],[[32,0,[\\\"isCheckbox\\\"]],\\\"form-check-label\\\"],null],\\\"\\\\n    \\\",[30,[36,1],[[30,[36,2],[\\\"switch\\\",[32,3]],null],\\\"custom-control-label\\\"],null],\\\"\\\\n    \\\",[30,[36,1],[[32,0,[\\\"isHorizontal\\\"]],[30,[36,0],[\\\"col-form-label\\\",[32,2]],null]],null]]]],[16,\\\"for\\\",[32,6]],[17,7],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,3],[[32,8],\\\"default\\\",[27,[32,1]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[1,[32,9]],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-size-class\\\",\\\"if\\\",\\\"bs-eq\\\",\\\"-has-block\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/label.hbs\"\n  });\n  /**\n  \n   @class FormElementLabel\n   @namespace Components\n   @extends Ember.Component\n   @private\n   */\n  let FormElementLabel = _exports.default = (0, _deprecateSubclassing.default)(_class = (_class2 = class FormElementLabel extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * [BS4 only] Property for size styling, set to 'lg', 'sm'\n       *\n       * @property size\n       * @type String\n       * @public\n       */\n      /**\n       * @property formElementId\n       * @type {String}\n       * @public\n       */\n      /**\n       * @property labelClass\n       * @type {String}\n       * @public\n       */\n      /**\n       * The form layout used for the markup generation (see http://getbootstrap.com/css/#forms):\n       *\n       * * 'horizontal'\n       * * 'vertical'\n       * * 'inline'\n       *\n       * Defaults to the parent `form`'s `formLayout` property.\n       *\n       * @property formLayout\n       * @type string\n       * @default 'vertical'\n       * @public\n       */\n      _initializerDefineProperty(this, \"formLayout\", _descriptor, this);\n      /**\n       * The type of the control widget.\n       * Supported types:\n       *\n       * * 'text'\n       * * 'checkbox'\n       * * 'textarea'\n       * * any other type will use an input tag with the `controlType` value as the type attribute (for e.g. HTML5 input\n       * types like 'email'), and the same layout as the 'text' type\n       *\n       * @property controlType\n       * @type string\n       * @default 'text'\n       * @public\n       */\n      _initializerDefineProperty(this, \"controlType\", _descriptor2, this);\n    }\n    /**\n     * @property label\n     * @type string\n     * @public\n     */\n\n    /**\n     * @property invisibleLabel\n     * @type boolean\n     * @public\n     */\n\n    get isHorizontalAndNotCheckbox() {\n      return this.isHorizontal && !this.isCheckbox;\n    }\n    /**\n     * Indicates whether the type of the control widget equals `checkbox`\n     *\n     * @property isCheckbox\n     * @type boolean\n     * @private\n     */\n    get isCheckbox() {\n      return this.args.controlType === 'checkbox';\n    }\n\n    /**\n     * Indicates whether the form type equals `horizontal`\n     *\n     * @property isHorizontal\n     * @type boolean\n     * @private\n     */\n    get isHorizontal() {\n      return this.args.formLayout === 'horizontal';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"formLayout\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'vertical';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"controlType\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'text';\n    }\n  }), _class2)) || _class;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementLabel);\n});","define(\"ember-bootstrap/components/bs-form/element/layout/horizontal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @hasLabel}}\n    <@labelComponent @labelClass={{@horizontalLabelGridClass}}/>\n    <div class={{bs-form-horiz-input-class @horizontalLabelGridClass}}>\n      {{yield}}\n      <@errorsComponent/>\n      <@helpTextComponent/>\n    </div>\n  {{else}}\n    <div class=\"{{bs-form-horiz-input-class @horizontalLabelGridClass}} {{bs-form-horiz-offset-class @horizontalLabelGridClass}}\">\n      {{yield}}\n      <@errorsComponent/>\n      <@helpTextComponent/>\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"30TCJGBn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@horizontalLabelGridClass\\\",\\\"&default\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\",\\\"@labelComponent\\\",\\\"@hasLabel\\\"],\\\"statements\\\":[[6,[37,2],[[32,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,[32,5],[],[[\\\"@labelClass\\\"],[[32,1]]],null],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[30,[36,1],[[32,1]],null]],[12],[2,\\\"\\\\n    \\\"],[18,2,null],[2,\\\"\\\\n    \\\"],[8,[32,3],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,1],[[32,1]],null],\\\" \\\",[30,[36,0],[[32,1]],null]]]],[12],[2,\\\"\\\\n    \\\"],[18,2,null],[2,\\\"\\\\n    \\\"],[8,[32,3],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-form-horiz-offset-class\\\",\\\"bs-form-horiz-input-class\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/horizontal.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/layout/horizontal/checkbox\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"{{bs-form-horiz-input-class @horizontalLabelGridClass}} {{bs-form-horiz-offset-class @horizontalLabelGridClass}}\">\n    <div class=\"{{if (bs-eq \"switch\" @controlType) (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-check form-switch\" \"custom-control custom-switch\") \"form-check\"}}\">\n      {{yield}}\n      <@labelComponent/>\n      <@errorsComponent/>\n      <@helpTextComponent/>\n    </div>\n  </div>\n  \n  */\n  {\n    \"id\": \"upKcP8Mb\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@horizontalLabelGridClass\\\",\\\"@controlType\\\",\\\"&default\\\",\\\"@labelComponent\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[[30,[36,1],[[32,1]],null],\\\" \\\",[30,[36,0],[[32,1]],null]]]],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[[30,[36,3],[[30,[36,2],[\\\"switch\\\",[32,2]],null],\\\"custom-control custom-switch\\\",\\\"form-check\\\"],null]]]],[12],[2,\\\"\\\\n    \\\"],[18,3,null],[2,\\\"\\\\n    \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,5],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,6],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-form-horiz-offset-class\\\",\\\"bs-form-horiz-input-class\\\",\\\"bs-eq\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/horizontal/checkbox.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/layout/inline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @hasLabel}}\n    <@labelComponent/>\n  {{/if}}\n  {{yield}}\n  <@errorsComponent/>\n  <@helpTextComponent/>\n  */\n  {\n    \"id\": \"Nv+39BFX\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@labelComponent\\\",\\\"@hasLabel\\\",\\\"&default\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\"],\\\"statements\\\":[[6,[37,0],[[32,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,3,null],[2,\\\"\\\\n\\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,[32,5],[],[[],[]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/inline.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/layout/inline/checkbox\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"{{if (bs-eq \"switch\" @controlType) (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-check form-switch\" \"custom-control custom-switch\") \"form-check\"}}\">\n    {{yield}}\n    <@labelComponent/>\n    <@errorsComponent/>\n    <@helpTextComponent/>\n  </div>\n  \n  */\n  {\n    \"id\": \"zvRhzjlS\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@controlType\\\",\\\"&default\\\",\\\"@labelComponent\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[[30,[36,1],[[30,[36,0],[\\\"switch\\\",[32,1]],null],\\\"custom-control custom-switch\\\",\\\"form-check\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n  \\\"],[8,[32,3],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,[32,5],[],[[],[]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-eq\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/inline/checkbox.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/layout/vertical\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @hasLabel}}\n    <@labelComponent/>\n  {{/if}}\n  {{yield}}\n  <@errorsComponent/>\n  <@helpTextComponent/>\n  */\n  {\n    \"id\": \"ejd+PZEO\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@labelComponent\\\",\\\"@hasLabel\\\",\\\"&default\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\"],\\\"statements\\\":[[6,[37,0],[[32,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,3,null],[2,\\\"\\\\n\\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n\\\"],[8,[32,5],[],[[],[]],null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/vertical.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/layout/vertical/checkbox\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"{{if (bs-eq \"switch\" @controlType) (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"form-check form-switch\" \"custom-control custom-switch\") \"form-check\"}}\">\n    {{yield}}\n    <@labelComponent/>\n    <@errorsComponent/>\n    <@helpTextComponent/>\n  </div>\n  \n  */\n  {\n    \"id\": \"CcBfVjnG\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@controlType\\\",\\\"&default\\\",\\\"@labelComponent\\\",\\\"@errorsComponent\\\",\\\"@helpTextComponent\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[31,[[30,[36,1],[[30,[36,0],[\\\"switch\\\",[32,1]],null],\\\"custom-control custom-switch\\\",\\\"form-check\\\"],null]]]],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n  \\\"],[8,[32,3],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n  \\\"],[8,[32,5],[],[[],[]],null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-eq\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/layout/vertical/checkbox.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-form/element/legend\", [\"exports\", \"ember-bootstrap/components/bs-form/element/label\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _label, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-form/element/label\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <legend\n    class=\"\n      {{if @invisibleLabel (if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\")}}\n      {{@labelClass}}\n      {{if this.isHorizontalAndNotCheckbox \"col-form-label\"}}\n      {{if this.isHorizontal (bs-size-class \"col-form-label\" @size)}}\"\n  >\n    {{#if (has-block)}}\n      {{yield}}\n    {{/if}}\n    {{@label}}\n  </legend>\n  */\n  {\n    \"id\": \"OcnXc0IR\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"@size\\\",\\\"@labelClass\\\",\\\"@invisibleLabel\\\",\\\"@namedBlocksInfo\\\",\\\"@label\\\"],\\\"statements\\\":[[10,\\\"legend\\\"],[15,0,[31,[\\\"\\\\n    \\\",[30,[36,1],[[32,4],\\\"sr-only\\\"],null],\\\"\\\\n    \\\",[32,3],\\\"\\\\n    \\\",[30,[36,1],[[32,0,[\\\"isHorizontalAndNotCheckbox\\\"]],\\\"col-form-label\\\"],null],\\\"\\\\n    \\\",[30,[36,1],[[32,0,[\\\"isHorizontal\\\"]],[30,[36,0],[\\\"col-form-label\\\",[32,2]],null]],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,2],[[32,5],\\\"default\\\",[27,[32,1]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[1,[32,6]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-size-class\\\",\\\"if\\\",\\\"-has-block\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-form/element/legend.hbs\"\n  });\n  let FormElementLegend = _exports.default = (0, _deprecateSubclassing.default)(_class = class FormElementLegend extends _label.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, '__ember-bootstrap_subclass', true);\n    }\n  }) || _class;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, FormElementLegend);\n});","define(\"ember-bootstrap/components/bs-link-to\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/mixins/component-child\"], function (_exports, _component, _componentChild) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component\",0,\"@ember-decorators/component\",0,\"@ember/service\",0,\"@ember/debug\",0,\"ember-bootstrap/mixins/component-child\",0,\"@ember/object/compat\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <LinkTo\n    @route={{this.route}}\n    @models={{this._models}}\n    @query={{this._query}}\n    @disabled={{@disabled}}\n    class={{@class}}\n    ...attributes\n  >\n    {{yield}}\n  </LinkTo>\n  */\n  {\n    \"id\": \"5gS+l5Y2\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@disabled\\\",\\\"@class\\\",\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"link-to\\\",[[16,0,[32,2]],[17,3]],[[\\\"@route\\\",\\\"@models\\\",\\\"@query\\\",\\\"@disabled\\\"],[[32,0,[\\\"route\\\"]],[32,0,[\\\"_models\\\"]],[32,0,[\\\"_query\\\"]],[32,1]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,4,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-link-to.hbs\"\n  });\n  /* eslint-disable ember/classic-decorator-no-classic-methods */\n  /**\n   This is largely copied from Ember.LinkComponent. It is used as extending from Ember.LinkComponent has been deprecated.\n   We need this to\n   * register ourselves to a parent component that needs to know `active` state due to Bootstrap markup requirements, see Nav/LinkTo\n   * continue supporting positional params until we can remove support\n  \n   @class LinkComponent\n   @namespace Components\n   @extends Component\n   @private\n  */\n  let LinkComponent = (_dec = (0, _component.tagName)(''), _dec2 = Ember.inject.service('router'), _dec3 = Ember._dependentKeyCompat, _dec(_class = (_class2 = class LinkComponent extends Ember.Component.extend(_componentChild.default) {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"router\", _descriptor, this);\n    }\n    get active() {\n      if (!this.route) {\n        return false;\n      }\n\n      // Ember < 3.22 does not correctly entangle autotracking with routing state changes, so we manually do that here\n      // See https://github.com/emberjs/ember.js/issues/19004\n      // shamelessly stolen from https://github.com/rwjblue/ember-router-helpers/blob/master/addon/utils/track-active-route.js\n\n      // ensure we recompute anytime `router.currentURL` changes\n      this.router.currentURL;\n\n      // ensure we recompute whenever the `router.currentRouteName` changes\n      // this is slightly overlapping with router.currentURL but there are\n      // cases where route.currentURL doesn't change but the\n      // router.currentRouteName has (e.g. loading and error states)\n      this.router.currentRouteName;\n      return this.router.isActive(this.route, ...this._models, {\n        queryParams: this._query\n      });\n    }\n    get _models() {\n      let {\n        model,\n        models\n      } = this;\n      if (model !== undefined) {\n        return [model];\n      } else if (models !== undefined) {\n        (true && !(Array.isArray(models)) && Ember.assert('The `@models` argument must be an array.', Array.isArray(models)));\n        return models;\n      } else {\n        return [];\n      }\n    }\n    get _query() {\n      return this.query ?? {};\n    }\n\n    // eslint-disable-next-line ember/no-component-lifecycle-hooks\n    didReceiveAttrs() {\n      super.didReceiveAttrs(...arguments);\n      let {\n        params\n      } = this;\n      if (!params || params.length === 0) {\n        return;\n      }\n      (true && !(false) && Ember.deprecate(`Positional arguments for ember-bootstrap's link-to components are deprecated. Switch to angle bracket invocation and named arguments.`, false, {\n        id: `ember-bootstrap.link-to.positional-args`,\n        until: '5.0.0',\n        since: '4.7.0',\n        for: 'ember-bootstrap'\n      }));\n      params = params.slice();\n\n      // taken from original Ember.LnkComponent\n      // Process the positional arguments, in order.\n\n      // Skipping this, as we don't support this\n      // 1. Inline link title comes first, if present.\n      // if (!hasBlock) {\n      //   this.set('linkTitle', params.shift());\n      // }\n\n      // 2. The last argument is possibly the `query` object.\n      let 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      }\n\n      // 3. If there is a `route`, it is now at index 0.\n      if (params.length === 0) {\n        this.set('route', undefined);\n      } else {\n        this.set('route', params.shift());\n      }\n\n      // 4. Any remaining indices (if any) are `models`.\n      this.set('model', undefined);\n      this.set('models', params);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"router\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"active\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"active\"), _class2.prototype), _class2)) || _class);\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, LinkComponent);\n});","define(\"ember-bootstrap/components/bs-modal-simple\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <BsModal\n    @open={{@open}}\n    @fade={{@fade}}\n    @backdrop={{@backdrop}}\n    @keyboard={{@keyboard}}\n    @position={{@position}}\n    @scrollable={{@scrollable}}\n    @size={{@size}}\n    @backdropClose={{@backdropClose}}\n    @renderInPlace={{@renderInPlace}}\n    @transitionDuration={{@transitionDuration}}\n    @backdropTransitionDuration={{@backdropTransitionDuration}}\n    @onSubmit={{@onSubmit}}\n    @onHide={{@onHide}}\n    @onHidden={{@onHidden}}\n    @onShow={{@onShow}}\n    @onShown={{@onShown}}\n    ...attributes\n    as |modal|\n  >\n    <modal.header @title={{@title}} @closeButton={{@closeButton}} />\n    <modal.body>\n      {{yield\n        (hash\n          close=modal.close\n          submit=modal.submit\n        )\n      }}\n    </modal.body>\n    <modal.footer\n      @closeTitle={{@closeTitle}}\n      @submitTitle={{@submitTitle}}\n      @submitButtonType={{@submitButtonType}}\n    />\n  </BsModal>\n  \n  */\n  {\n    \"id\": \"cn8QvsAx\",\n    \"block\": \"{\\\"symbols\\\":[\\\"modal\\\",\\\"@open\\\",\\\"@fade\\\",\\\"@backdrop\\\",\\\"@keyboard\\\",\\\"@position\\\",\\\"@scrollable\\\",\\\"@size\\\",\\\"@backdropClose\\\",\\\"@renderInPlace\\\",\\\"@transitionDuration\\\",\\\"@backdropTransitionDuration\\\",\\\"@onSubmit\\\",\\\"@onHide\\\",\\\"@onHidden\\\",\\\"@onShow\\\",\\\"@onShown\\\",\\\"&attrs\\\",\\\"@title\\\",\\\"@closeButton\\\",\\\"&default\\\",\\\"@closeTitle\\\",\\\"@submitTitle\\\",\\\"@submitButtonType\\\"],\\\"statements\\\":[[8,\\\"bs-modal\\\",[[17,18]],[[\\\"@open\\\",\\\"@fade\\\",\\\"@backdrop\\\",\\\"@keyboard\\\",\\\"@position\\\",\\\"@scrollable\\\",\\\"@size\\\",\\\"@backdropClose\\\",\\\"@renderInPlace\\\",\\\"@transitionDuration\\\",\\\"@backdropTransitionDuration\\\",\\\"@onSubmit\\\",\\\"@onHide\\\",\\\"@onHidden\\\",\\\"@onShow\\\",\\\"@onShown\\\"],[[32,2],[32,3],[32,4],[32,5],[32,6],[32,7],[32,8],[32,9],[32,10],[32,11],[32,12],[32,13],[32,14],[32,15],[32,16],[32,17]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"header\\\"]],[],[[\\\"@title\\\",\\\"@closeButton\\\"],[[32,19],[32,20]]],null],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"body\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[18,21,[[30,[36,0],null,[[\\\"close\\\",\\\"submit\\\"],[[32,1,[\\\"close\\\"]],[32,1,[\\\"submit\\\"]]]]]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,[32,1,[\\\"footer\\\"]],[],[[\\\"@closeTitle\\\",\\\"@submitTitle\\\",\\\"@submitButtonType\\\"],[[32,22],[32,23],[32,24]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal-simple.hbs\"\n  });\n  /**\n    Component for creating [Bootstrap modals](http://getbootstrap.com/javascript/#modals) with a some common default markup\n    including a header, footer and body. Creating a simple modal is easy:\n  \n    ```hbs\n    <BsModalSimple @title=\"Simple Dialog\">\n      Hello world!\n    </BsModalSimple>\n    ```\n  \n    This will automatically create the appropriate markup, with a modal header containing the title, and a footer containing\n    a default \"Ok\" button, that will close the modal automatically (unless you return `false` from `onHide`).\n  \n    A modal created this way will be visible at once. You can use the `{{#if ...}}` helper to hide all modal elements from\n    the DOM until needed. Or you can bind the `open` argument to trigger showing and hiding the modal:\n  \n    ```hbs\n    <BsModalSimple @open={{this.openModal}} @title=\"Simple Dialog\">\n      Hello world!\n    </BsModalSimple>\n    ```\n  \n    ### Custom Markup\n  \n    To customize the markup within the modal you can use the [<BsModal>](Components.Modal.html) component.\n  \n    ### Modals with forms\n  \n    There is a special case when you have a form inside your modals body: you probably do not want to have a submit button\n    within your form but instead in your modal footer. Hover pressing the submit button outside your form would not\n    trigger the form data to be submitted. In the example below this would not trigger the submit action of the form, and\n    thus bypass the form validation feature of the form component.\n  \n    ```hbs\n    <BsModalSimple @title=\"Form Example\" @closeTitle=\"Cancel\" @submitTitle=\"Ok\">\n      <BsForm @model={{this}} @onSubmit={{this.submit}} @submitOnEnter={{true}} as |Form|>\n        <Form.element @label=\"first name\" @property=\"firstname\" />\n        <Form.element @label=\"last name\" @property=\"lastname\" />\n      </BsForm>\n    </BsModalSimple>\n    ```\n  \n    The modal component supports this common case by triggering the submit event programmatically on the body's form if\n    present whenever the footer's submit button is pressed. To allow the form to be submitted by pressing the enter key\n    also, you must either set `@submitOnEnter={{true}}` on the `<BsForm>` or include an invisible submit button in the\n    form (`<button type=\"submit\" class=\"d-hidden\">Submit</button>`).\n  \n    ### Auto-focus\n  \n    In order to allow key handling to function, the modal's root element is given focus once the modal is shown. If your\n    modal contains an element such as a text input and you would like it to be given focus rather than the modal element,\n    then give it the HTML5 autofocus attribute:\n  \n    ```hbs\n    <BsModalSimple @title=\"Form Example\" @closeTitle=\"Cancel\" @submitTitle=\"Ok\">\n      <BsForm @model={{this}} @onSubmit={{this.submit}} @submitOnEnter={{true}} as |Form|>\n        <Form.element @label=\"first name\" @property=\"firstname\" @autofocus={{true}} />\n        <Form.element @label=\"last name\" @property=\"lastname\" />\n      </BsForm>\n    </BsModalSimple>\n    ```\n  \n    ### Modals inside wormhole\n  \n    Modals make use of the [ember-wormhole](https://github.com/yapplabs/ember-wormhole) addon, which will be installed\n    automatically alongside ember-bootstrap. This is used to allow the modal to be placed in deeply nested\n    components/templates where it belongs to logically, but to have the actual DOM elements within a special container\n    element, which is a child of ember's root element. This will make sure that modals always overlay the whole app, and\n    are not effected by parent elements with `overflow: hidden` for example.\n  \n    If you want the modal to render in place, rather than being wormholed, you can set `@renderInPlace={{true}}`.\n  \n    @class ModalSimple\n    @namespace Components\n    @public\n  */\n\n  /**\n   * The title of the modal, visible in the modal header. Is ignored if `header` is false.\n   *\n   * @property title\n   * @type string\n   * @public\n   */\n\n  /**\n   * Visibility of the modal. Toggle to show/hide with CSS transitions.\n   *\n   * When the modal is closed by user interaction this property will not update by using two-way bindings in order\n   * to follow DDAU best practices. If you want to react to such changes, subscribe to the `onHide` action\n   *\n   * @property open\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * Set to false to disable fade animations.\n   *\n   * @property fade\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * Use a semi-transparent modal background to hide the rest of the page.\n   *\n   * @property backdrop\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * Closes the modal when escape key is pressed.\n   *\n   * @property keyboard\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * [BS4 only!] Vertical position, either 'top' (default) or 'center'\n   * 'center' will apply the `modal-dialog-centered` class\n   *\n   * @property position\n   * @type {string}\n   * @default 'top'\n   * @public\n   */\n\n  /**\n   * [BS4 only!] Allows scrolling within the modal body\n   * 'true' will apply the `modal-dialog-scrollable` class\n   *\n   * @property scrollable\n   * @type boolean\n   * @default false\n   * @public\n   */\n\n  /**\n   * Property for size styling, set to null (default), 'lg' or 'sm'\n   *\n   * Also see the [Bootstrap docs](http://getbootstrap.com/javascript/#modals-sizes)\n   *\n   * @property size\n   * @type String\n   * @public\n   */\n\n  /**\n   * If true clicking on the backdrop will close the modal.\n   *\n   * @property backdropClose\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * If true component will render in place, rather than be wormholed.\n   *\n   * @property renderInPlace\n   * @type boolean\n   * @default false\n   * @public\n   */\n\n  /**\n   * The duration of the fade transition\n   *\n   * @property transitionDuration\n   * @type number\n   * @default 300\n   * @public\n   */\n\n  /**\n   * The duration of the backdrop fade transition\n   *\n   * @property backdropTransitionDuration\n   * @type number\n   * @default 150\n   * @public\n   */\n\n  /**\n   * The action to be sent when the modal footer's submit button (if present) is pressed.\n   * Note that if your modal body contains a form (e.g. [Components.Form](Components.Form.html)) this action will\n   * not be triggered. Instead, a submit event will be triggered on the form itself. See the class description for an\n   * example.\n   *\n   * @property onSubmit\n   * @type function\n   * @public\n   */\n\n  /**\n   * The action to be sent when the modal is closing.\n   * This will be triggered by pressing the modal header's close button (x button) or the modal footer's close button.\n   * Note that this will happen before the modal is hidden from the DOM, as the fade transitions will still need some\n   * time to finish. Use the `onHidden` if you need the modal to be hidden when the action triggers.\n   *\n   * You can return `false` to prevent closing the modal automatically, and do that in your action by\n   * setting `@open` to `false`.\n   *\n   * @property onHide\n   * @type function\n   * @public\n   */\n\n  /**\n   * The action to be sent after the modal has been completely hidden (including the CSS transition).\n   *\n   * @property onHidden\n   * @type function\n   * @default null\n   * @public\n   */\n\n  /**\n   * The action to be sent when the modal is opening.\n   * This will be triggered immediately after the modal is shown (so it's safe to access the DOM for\n   * size calculations and the like). This means that if `@fade={{true}}`, it will be shown in between the\n   * backdrop animation and the fade animation.\n   *\n   * @property onShow\n   * @type function\n   * @default null\n   * @public\n   */\n\n  /**\n   * The action to be sent after the modal has been completely shown (including the CSS transition).\n   *\n   * @property onShown\n   * @type function\n   * @public\n   */\n\n  /**\n   * Display a close button (x icon) in the corner of the modal header.\n   *\n   * @property closeButton\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * The title of the default close button.\n   *\n   * @property closeTitle\n   * @type string\n   * @default 'Ok'\n   * @public\n   */\n\n  /**\n   * The type of the submit button (primary button).\n   *\n   * @property submitButtonType\n   * @type string\n   * @default 'primary'\n   * @public\n   */\n\n  /**\n   * The title of the submit button (primary button). Will be ignored (i.e. no button) if set to null.\n   *\n   * @property submitTitle\n   * @type string\n   * @default null\n   * @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-modal\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/transition-end\", \"ember-bootstrap/utils/dom\", \"ember-bootstrap/utils/decorators/uses-transition\", \"ember-bootstrap/utils/is-fastboot\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-bootstrap/utils/decorators/arg\", \"ember-ref-bucket\"], function (_exports, _component, _transitionEnd, _dom, _usesTransition, _isFastboot, _deprecateSubclassing, _arg, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/debug\",0,\"@glimmer/component\",0,\"@ember/runloop\",0,\"@ember/service\",0,\"ember-bootstrap/utils/transition-end\",0,\"ember-bootstrap/utils/dom\",0,\"ember-bootstrap/utils/decorators/uses-transition\",0,\"ember-bootstrap/utils/is-fastboot\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"@glimmer/tracking\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{did-insert this.handleVisibilityChanges}}\n  {{did-update this.handleVisibilityChanges @open}}\n  \n  {{#if this.inDom}}\n    {{!\n      ember-on-helper do not support FastBoot yet. This guard can be removed as\n      soon as ember-on-helper guards for FastBoot itself. It is tracked in this\n      GitHub issue: https://github.com/buschtoens/ember-on-helper/issues/3\n    }}\n    {{#unless this.isFastBoot}}\n      {{on-window \"resize\" this.adjustDialog}}\n    {{/unless}}\n  \n    {{#let (component (ensure-safe-component (bs-default @dialogComponent (component \"bs-modal/dialog\")))\n      onClose=this.close\n      fade=this._fade\n      showModal=this.showModal\n      keyboard=this.keyboard\n      size=@size\n      backdropClose=this.backdropClose\n      inDom=this.inDom\n      paddingLeft=this.paddingLeft\n      paddingRight=this.paddingRight\n      centered=(bs-eq this.position \"center\")\n      scrollable=this.scrollable\n      fullscreen=@fullscreen\n    ) as |Dialog|}}\n      {{#if this._renderInPlace}}\n        <Dialog\n          {{create-ref \"modalElement\"}}\n          ...attributes\n        >\n          {{yield\n            (hash\n              header=(component (ensure-safe-component (bs-default @headerComponent (component \"bs-modal/header\"))) onClose=this.close)\n              body=(ensure-safe-component (bs-default @bodyComponent (component \"bs-modal/body\")))\n              footer=(component (ensure-safe-component (bs-default @footerComponent (component \"bs-modal/footer\"))) onClose=this.close onSubmit=this.doSubmit)\n              close=this.close\n              submit=this.doSubmit\n            )\n          }}\n        </Dialog>\n        <div>\n          {{#if this.shouldShowBackdrop}}\n            <div class=\"modal-backdrop {{if this._fade \"fade\"}} {{if this.showModal \"show\"}}\" {{create-ref \"backdropElement\"}}></div>\n          {{/if}}\n        </div>\n      {{else}}\n        {{#in-element this.destinationElement insertBefore=null}}\n          <Dialog\n            {{create-ref \"modalElement\"}}\n            ...attributes\n          >\n            {{yield\n              (hash\n                header=(component (ensure-safe-component (bs-default @headerComponent (component \"bs-modal/header\"))) onClose=this.close)\n                body=(ensure-safe-component (bs-default @bodyComponent (component \"bs-modal/body\")))\n                footer=(component (ensure-safe-component (bs-default @footerComponent (component \"bs-modal/footer\"))) onClose=this.close onSubmit=this.doSubmit)\n                close=this.close\n                submit=this.doSubmit\n              )\n            }}\n          </Dialog>\n          <div>\n            {{#if this.shouldShowBackdrop}}\n              <div class=\"modal-backdrop {{if this._fade \"fade\"}} {{if this.showModal \"show\"}}\" {{create-ref \"backdropElement\"}}></div>\n            {{/if}}\n          </div>\n        {{/in-element}}\n      {{/if}}\n    {{/let}}\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"4Bo2aYgj\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Dialog\\\",\\\"&attrs\\\",\\\"@footerComponent\\\",\\\"@bodyComponent\\\",\\\"@headerComponent\\\",\\\"&default\\\",\\\"@fullscreen\\\",\\\"@size\\\",\\\"@dialogComponent\\\",\\\"@open\\\"],\\\"statements\\\":[[1,[30,[36,12],[[32,0,[\\\"handleVisibilityChanges\\\"]]],null]],[2,\\\"\\\\n\\\"],[1,[30,[36,13],[[32,0,[\\\"handleVisibilityChanges\\\"]],[32,10]],null]],[2,\\\"\\\\n\\\\n\\\"],[6,[37,0],[[32,0,[\\\"inDom\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,9],[[32,0,[\\\"isFastBoot\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,8],[\\\"resize\\\",[32,0,[\\\"adjustDialog\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,11],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,9],[30,[36,2],[\\\"bs-modal/dialog\\\"],null]],null]],null]],[[\\\"onClose\\\",\\\"fade\\\",\\\"showModal\\\",\\\"keyboard\\\",\\\"size\\\",\\\"backdropClose\\\",\\\"inDom\\\",\\\"paddingLeft\\\",\\\"paddingRight\\\",\\\"centered\\\",\\\"scrollable\\\",\\\"fullscreen\\\"],[[32,0,[\\\"close\\\"]],[32,0,[\\\"_fade\\\"]],[32,0,[\\\"showModal\\\"]],[32,0,[\\\"keyboard\\\"]],[32,8],[32,0,[\\\"backdropClose\\\"]],[32,0,[\\\"inDom\\\"]],[32,0,[\\\"paddingLeft\\\"]],[32,0,[\\\"paddingRight\\\"]],[30,[36,10],[[32,0,[\\\"position\\\"]],\\\"center\\\"],null],[32,0,[\\\"scrollable\\\"]],[32,7]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"_renderInPlace\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[[17,2],[4,[38,1],[\\\"modalElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[18,6,[[30,[36,5],null,[[\\\"header\\\",\\\"body\\\",\\\"footer\\\",\\\"close\\\",\\\"submit\\\"],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,5],[30,[36,2],[\\\"bs-modal/header\\\"],null]],null]],null]],[[\\\"onClose\\\"],[[32,0,[\\\"close\\\"]]]]],[30,[36,4],[[30,[36,3],[[32,4],[30,[36,2],[\\\"bs-modal/body\\\"],null]],null]],null],[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,3],[30,[36,2],[\\\"bs-modal/footer\\\"],null]],null]],null]],[[\\\"onClose\\\",\\\"onSubmit\\\"],[[32,0,[\\\"close\\\"]],[32,0,[\\\"doSubmit\\\"]]]]],[32,0,[\\\"close\\\"]],[32,0,[\\\"doSubmit\\\"]]]]]]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"shouldShowBackdrop\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"modal-backdrop \\\",[30,[36,0],[[32,0,[\\\"_fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"showModal\\\"]],\\\"show\\\"],null]]]],[4,[38,1],[\\\"backdropElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[32,0,[\\\"destinationElement\\\"]]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[[17,2],[4,[38,1],[\\\"modalElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[18,6,[[30,[36,5],null,[[\\\"header\\\",\\\"body\\\",\\\"footer\\\",\\\"close\\\",\\\"submit\\\"],[[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,5],[30,[36,2],[\\\"bs-modal/header\\\"],null]],null]],null]],[[\\\"onClose\\\"],[[32,0,[\\\"close\\\"]]]]],[30,[36,4],[[30,[36,3],[[32,4],[30,[36,2],[\\\"bs-modal/body\\\"],null]],null]],null],[30,[36,2],[[30,[36,4],[[30,[36,3],[[32,3],[30,[36,2],[\\\"bs-modal/footer\\\"],null]],null]],null]],[[\\\"onClose\\\",\\\"onSubmit\\\"],[[32,0,[\\\"close\\\"]],[32,0,[\\\"doSubmit\\\"]]]]],[32,0,[\\\"close\\\"]],[32,0,[\\\"doSubmit\\\"]]]]]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"shouldShowBackdrop\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"modal-backdrop \\\",[30,[36,0],[[32,0,[\\\"_fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"showModal\\\"]],\\\"show\\\"],null]]]],[4,[38,1],[\\\"backdropElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"create-ref\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\",\\\"-in-el-null\\\",\\\"in-element\\\",\\\"on-window\\\",\\\"unless\\\",\\\"bs-eq\\\",\\\"let\\\",\\\"did-insert\\\",\\\"did-update\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal.hbs\"\n  });\n  function nextRunloop() {\n    return new Promise(resolve => Ember.run.next(resolve));\n  }\n  function afterRender() {\n    return new Promise(resolve => Ember.run.schedule('afterRender', resolve));\n  }\n\n  /**\n    Component for creating [Bootstrap modals](http://getbootstrap.com/javascript/#modals) with custom markup.\n  \n    ### Usage\n  \n    ```hbs\n    <BsModal @onSubmit={{action \"submit\"}} as |Modal|>\n      <Modal.header>\n        <h4 class=\"modal-title\"><i class=\"glyphicon glyphicon-alert\"></i> Alert</h4>\n      </Modal.header>\n      <Modal.body>\n        Are you absolutely sure you want to do that???\n      </Modal.body>\n      <Modal.footer as |footer|>\n        <BsButton @onClick={{action Modal.close}} @type=\"danger\">Oh no, forget it!</BsButton>\n        <BsButton @onClick={{action Modal.submit}} @type=\"success\">Yeah!</BsButton>\n      </Modal.footer>\n    </BsModal>\n    ```\n  \n    The component yields references to the following contextual components, that you can use to further customize the output:\n  \n    * [modal.body](Components.ModalBody.html)\n    * [modal.header](Components.ModalHeader.html)\n    * [modal.footer](Components.ModalFooter.html)\n  \n    Furthermore references to the following actions are yielded:\n  \n    * `close`: triggers the `onHide` action and closes the modal\n    * `submit`: triggers the `onSubmit` action (or the submit event on a form if present in the body element)\n  \n    ### Further reading\n  \n    See the documentation of the [bs-modal-simple](Components.ModalSimple.html) component for further examples.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Modal\n    @namespace Components\n    @extends Glimmer.Component\n    @public\n  */\n  let Modal = _exports.default = (_dec = Ember.inject.service('-document'), _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._tracked, _dec7 = (0, _usesTransition.default)('_fade'), _dec8 = (0, _emberRefBucket.ref)('modalElement'), _dec9 = (0, _emberRefBucket.ref)('backdropElement'), _dec0 = Ember._action, _dec1 = Ember._action, _dec10 = Ember._action, _dec11 = Ember.computed('modalElement'), _dec12 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class Modal extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"document\", _descriptor, this);\n      /**\n       * @property _isOpen\n       * @private\n       */\n      _defineProperty(this, \"_isOpen\", false);\n      /**\n       * Used to apply Bootstrap's visibility classes.\n       *\n       * @property showModal\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"showModal\", _descriptor2, this);\n      /**\n       * Render modal markup?\n       *\n       * @property inDom\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"inDom\", _descriptor3, this);\n      /**\n       * @property paddingLeft\n       * @type number|undefined\n       * @private\n       */\n      _initializerDefineProperty(this, \"paddingLeft\", _descriptor4, this);\n      /**\n       * @property paddingRight\n       * @type number|undefined\n       * @private\n       */\n      _initializerDefineProperty(this, \"paddingRight\", _descriptor5, this);\n      /**\n       * Visibility of the modal. Toggle to show/hide with CSS transitions.\n       *\n       * When the modal is closed by user interaction this property will not update by using two-way bindings in order\n       * to follow DDAU best practices. If you want to react to such changes, subscribe to the `onHide` action\n       *\n       * @property open\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"open\", _descriptor6, this);\n      /**\n       * Use a semi-transparent modal background to hide the rest of the page.\n       *\n       * @property backdrop\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"backdrop\", _descriptor7, this);\n      /**\n       * @property shouldShowBackdrop\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"shouldShowBackdrop\", _descriptor8, this);\n      /**\n       * Closes the modal when escape key is pressed.\n       *\n       * @property keyboard\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"keyboard\", _descriptor9, this);\n      /**\n       * [BS4 only!] Vertical position, either 'top' (default) or 'center'\n       * 'center' will apply the `modal-dialog-centered` class\n       *\n       * @property position\n       * @type {string}\n       * @default 'top'\n       * @public\n       */\n      _initializerDefineProperty(this, \"position\", _descriptor0, this);\n      /**\n       * [BS4 only!] Allows scrolling within the modal body\n       * 'true' will apply the `modal-dialog-scrollable` class\n       *\n       * @property scrollable\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"scrollable\", _descriptor1, this);\n      /**\n       *  [BS5 only!] Allows adding fullscreen mode for modals. It will\n       *  apply the `modal-fullscreen` class when using `true` and\n       *  `modal-fullscreen-[x]-down` class when using BS breakpoints\n       *   ([x] = `sm`, `md`, `lg`, `xl`, `xxl`).\n       *\n       * Also see the [Bootstrap docs](https://getbootstrap.com/docs/5.1/components/modal/#fullscreen-modal)\n       *\n       * @property fullscreen\n       * @type {(Boolean|String)}\n       * @default false\n       * @public\n       */\n      /**\n       * @property dialogComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * @property headerComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * @property bodyComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * @property footerComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * Property for size styling, set to null (default), 'lg' or 'sm'\n       *\n       * Also see the [Bootstrap docs](http://getbootstrap.com/javascript/#modals-sizes)\n       *\n       * @property size\n       * @type String\n       * @public\n       */\n      /**\n       * If true clicking on the backdrop will close the modal.\n       *\n       * @property backdropClose\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"backdropClose\", _descriptor10, this);\n      /**\n       * If true component will render in place, rather than be wormholed.\n       *\n       * @property renderInPlace\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"renderInPlace\", _descriptor11, this);\n      /**\n       * The duration of the fade transition\n       *\n       * @property transitionDuration\n       * @type number\n       * @default 300\n       * @public\n       */\n      _initializerDefineProperty(this, \"transitionDuration\", _descriptor12, this);\n      /**\n       * The duration of the backdrop fade transition\n       *\n       * @property backdropTransitionDuration\n       * @type number\n       * @default 150\n       * @public\n       */\n      _initializerDefineProperty(this, \"backdropTransitionDuration\", _descriptor13, this);\n      /**\n       * Use CSS transitions?\n       *\n       * @property usesTransition\n       * @type boolean\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"usesTransition\", _descriptor14, this);\n      _defineProperty(this, \"destinationElement\", (0, _dom.getDestinationElement)(this));\n      /**\n       * The DOM element of the `.modal` element.\n       *\n       * @property modalElement\n       * @type HTMLElement\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"modalElement\", _descriptor15, this);\n      /**\n       * The DOM element of the backdrop element.\n       *\n       * @property backdropElement\n       * @type HTMLElement\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"backdropElement\", _descriptor16, this);\n      /**\n       * @type boolean\n       * @readonly\n       * @private\n       */\n      _defineProperty(this, \"isFastBoot\", (0, _isFastboot.default)(this));\n    }\n    /**\n     * Set to false to disable fade animations.\n     *\n     * @property fade\n     * @type boolean\n     * @default true\n     * @public\n     */\n\n    get _fade() {\n      let isFB = (0, _isFastboot.default)(this);\n      return this.args.fade === undefined ? !isFB : this.args.fade;\n    }\n    /**\n     * @property _renderInPlace\n     * @type boolean\n     * @private\n     */\n    get _renderInPlace() {\n      return this.renderInPlace || !this.destinationElement;\n    }\n    /**\n     * The action to be sent when the modal footer's submit button (if present) is pressed.\n     * Note that if your modal body contains a form (e.g. [Components.Form](Components.Form.html)) this action will\n     * not be triggered. Instead, a submit event will be triggered on the form itself. See the class description for an\n     * example.\n     *\n     * @property onSubmit\n     * @type function\n     * @public\n     */\n\n    /**\n     * The action to be sent when the modal is closing.\n     * This will be triggered by pressing the modal header's close button (x button) or the modal footer's close button.\n     * Note that this will happen before the modal is hidden from the DOM, as the fade transitions will still need some\n     * time to finish. Use the `onHidden` if you need the modal to be hidden when the action triggers.\n     *\n     * You can return false to prevent closing the modal automatically, and do that in your action by\n     * setting `open` to false.\n     *\n     * @property onHide\n     * @type function\n     * @public\n     */\n\n    /**\n     * The action to be sent after the modal has been completely hidden (including the CSS transition).\n     *\n     * @property onHidden\n     * @type function\n     * @default null\n     * @public\n     */\n\n    /**\n     * The action to be sent when the modal is opening.\n     * This will be triggered immediately after the modal is shown (so it's safe to access the DOM for\n     * size calculations and the like). This means that if fade=true, it will be shown in between the\n     * backdrop animation and the fade animation.\n     *\n     * @property onShow\n     * @type function\n     * @default null\n     * @public\n     */\n\n    /**\n     * The action to be sent after the modal has been completely shown (including the CSS transition).\n     *\n     * @property onShown\n     * @type function\n     * @public\n     */\n\n    close() {\n      if (this.args.onHide?.() !== false) {\n        this.hide();\n      }\n    }\n    doSubmit() {\n      let forms = this.modalElement.querySelectorAll('.modal-body form');\n      if (forms.length > 0) {\n        // trigger submit event on body forms\n        let event = document.createEvent('Events');\n        event.initEvent('submit', true, true);\n        Array.prototype.slice.call(forms).forEach(form => form.dispatchEvent(event));\n      } else {\n        // if we have no form, we send a submit action\n        this.args.onSubmit?.();\n      }\n    }\n\n    /**\n     * Show the modal\n     *\n     * @method show\n     * @private\n     */\n    async show() {\n      if (this._isOpen) {\n        return;\n      }\n      this._isOpen = true;\n      this.addBodyClass();\n      this.inDom = true;\n      await this.showBackdrop();\n      if (this.isDestroyed) {\n        return;\n      }\n      if (!(0, _isFastboot.default)(this)) {\n        this.checkScrollbar();\n        this.setScrollbar();\n      }\n      await afterRender();\n      const {\n        modalElement\n      } = this;\n      if (!modalElement) {\n        return;\n      }\n      if (!(0, _isFastboot.default)(this)) {\n        modalElement.scrollTop = 0;\n        this.adjustDialog();\n      }\n      this.showModal = true;\n      this.args.onShow?.();\n      if (this.usesTransition) {\n        await (0, _transitionEnd.default)(modalElement, this.transitionDuration);\n      }\n      this.args.onShown?.();\n    }\n\n    /**\n     * Hide the modal\n     *\n     * @method hide\n     * @private\n     */\n    async hide() {\n      if (!this._isOpen) {\n        return;\n      }\n      this._isOpen = false;\n      this.showModal = false;\n      if (this.usesTransition) {\n        await (0, _transitionEnd.default)(this.modalElement, this.transitionDuration);\n      }\n      await this.hideModal();\n    }\n\n    /**\n     * Clean up after modal is hidden and call onHidden\n     *\n     * @method hideModal\n     * @private\n     */\n    async hideModal() {\n      if (this.isDestroyed) {\n        return;\n      }\n      await this.hideBackdrop();\n      this.removeBodyClass();\n      if (!(0, _isFastboot.default)(this)) {\n        this.resetAdjustments();\n        this.resetScrollbar();\n      }\n      this.inDom = false;\n      this.args.onHidden?.();\n    }\n\n    /**\n     * Show the backdrop\n     *\n     * @method showBackdrop\n     * @async\n     * @private\n     */\n    async showBackdrop() {\n      if (!this.backdrop || !this.usesTransition) {\n        return;\n      }\n      this.shouldShowBackdrop = true;\n      await nextRunloop();\n      const {\n        backdropElement\n      } = this;\n      (true && !(backdropElement) && Ember.assert('Backdrop element should be in DOM', backdropElement));\n      await (0, _transitionEnd.default)(backdropElement, this.backdropTransitionDuration);\n    }\n\n    /**\n     * Hide the backdrop\n     *\n     * @method hideBackdrop\n     * @async\n     * @private\n     */\n    async hideBackdrop() {\n      if (!this.backdrop) {\n        return;\n      }\n      if (this.usesTransition) {\n        const {\n          backdropElement\n        } = this;\n        (true && !(backdropElement) && Ember.assert('Backdrop element should be in DOM', backdropElement));\n        await (0, _transitionEnd.default)(backdropElement, this.backdropTransitionDuration);\n      }\n      if (this.isDestroyed) {\n        return;\n      }\n      this.shouldShowBackdrop = false;\n    }\n\n    /**\n     * @method adjustDialog\n     * @private\n     */\n    adjustDialog() {\n      let modalIsOverflowing = this.modalElement.scrollHeight > document.documentElement.clientHeight;\n      this.paddingLeft = !this.bodyIsOverflowing && modalIsOverflowing ? this.scrollbarWidth : undefined;\n      this.paddingRight = this.bodyIsOverflowing && !modalIsOverflowing ? this.scrollbarWidth : undefined;\n    }\n\n    /**\n     * @method resetAdjustments\n     * @private\n     */\n    resetAdjustments() {\n      this.paddingLeft = undefined;\n      this.paddingRight = undefined;\n    }\n\n    /**\n     * @method checkScrollbar\n     * @private\n     */\n    checkScrollbar() {\n      const fullWindowWidth = window.innerWidth;\n      this.bodyIsOverflowing = document.body.clientWidth < fullWindowWidth;\n    }\n\n    /**\n     * @method setScrollbar\n     * @private\n     */\n    setScrollbar() {\n      let bodyPad = parseInt(document.body.style.paddingRight || 0, 10);\n      this._originalBodyPad = document.body.style.paddingRight || '';\n      if (this.bodyIsOverflowing) {\n        document.body.style.paddingRight = bodyPad + this.scrollbarWidth;\n      }\n    }\n\n    /**\n     * @method resetScrollbar\n     * @private\n     */\n    resetScrollbar() {\n      document.body.style.paddingRight = this._originalBodyPad;\n    }\n    addBodyClass() {\n      // special handling for FastBoot, where real `document` is not available\n      if ((0, _isFastboot.default)(this)) {\n        // a SimpleDOM instance with just a subset of the DOM API!\n        let document = this.document;\n        let existingClasses = document.body.getAttribute('class') || '';\n        if (!existingClasses.includes('modal-open')) {\n          document.body.setAttribute('class', `modal-open ${existingClasses}`);\n        }\n      } else {\n        document.body.classList.add('modal-open');\n      }\n    }\n    removeBodyClass() {\n      if ((0, _isFastboot.default)(this)) {\n        // no need for FastBoot support here\n        return;\n      }\n      document.body.classList.remove('modal-open');\n    }\n\n    /**\n     * @property scrollbarWidth\n     * @type number\n     * @readonly\n     * @private\n     */\n    get scrollbarWidth() {\n      let scrollDiv = document.createElement('div');\n      scrollDiv.className = 'modal-scrollbar-measure';\n      let modalEl = this.modalElement;\n      modalEl.parentNode.insertBefore(scrollDiv, modalEl.nextSibling);\n      let scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;\n      scrollDiv.parentNode.removeChild(scrollDiv);\n      return scrollbarWidth;\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.removeBodyClass();\n      if (!(0, _isFastboot.default)(this)) {\n        this.resetScrollbar();\n      }\n    }\n    handleVisibilityChanges() {\n      if (this.open) {\n        this.show();\n      } else {\n        this.hide();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"document\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"showModal\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.open && (!this._fade || (0, _isFastboot.default)(this));\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"inDom\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.open;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"paddingLeft\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"paddingRight\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"open\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"backdrop\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"shouldShowBackdrop\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return this.open && this.backdrop;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"keyboard\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"position\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'top';\n    }\n  }), _descriptor1 = _applyDecoratedDescriptor(_class2.prototype, \"scrollable\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor10 = _applyDecoratedDescriptor(_class2.prototype, \"backdropClose\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor11 = _applyDecoratedDescriptor(_class2.prototype, \"renderInPlace\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor12 = _applyDecoratedDescriptor(_class2.prototype, \"transitionDuration\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 300;\n    }\n  }), _descriptor13 = _applyDecoratedDescriptor(_class2.prototype, \"backdropTransitionDuration\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 150;\n    }\n  }), _descriptor14 = _applyDecoratedDescriptor(_class2.prototype, \"usesTransition\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class2.prototype, \"modalElement\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class2.prototype, \"backdropElement\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"close\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"close\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doSubmit\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSubmit\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"adjustDialog\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"adjustDialog\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"scrollbarWidth\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"scrollbarWidth\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleVisibilityChanges\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleVisibilityChanges\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Modal);\n});","define(\"ember-bootstrap/components/bs-modal/body\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"modal-body\" ...attributes>\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"ySm9TkSm\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,0,\\\"modal-body\\\"],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/body.hbs\"\n  });\n  /**\n  \n   Modal body element used within [Components.Modal](Components.Modal.html) components. See there for examples.\n  \n   @class ModalBody\n   @namespace Components\n   @extends Glimmer.Component\n   @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-modal/dialog\", [\"exports\", \"@glimmer/component\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-ref-bucket\"], function (_exports, _component, _deprecateSubclassing, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/utils\",0,\"@glimmer/component\",0,\"@ember/runloop\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-ref-bucket\",0,\"@glimmer/tracking\",0,\"@ember/object/internals\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    role=\"dialog\"\n    tabindex=\"-1\"\n    aria-labelledby={{this.titleId}}\n    class=\"modal {{if @fade \"fade\"}} {{if @showModal \"show\"}} {{if @inDom \"d-block\"}}\"\n    ...attributes\n    {{on \"keydown\" this.handleKeyDown}}\n    {{on \"mousedown\" this.handleMouseDown}}\n    {{on \"mouseup\" this.handleMouseUp}}\n    {{on \"click\" this.handleClick}}\n    {{style\n      paddingLeft=(concat @paddingLeft \"px\")\n      paddingRight=(concat @paddingRight \"px\")\n      display=(if @inDom \"block\" \"\")\n    }}\n    {{create-ref \"mainNode\"}}\n    {{did-insert this.getOrSetTitleId}}\n    {{did-insert this.setInitialFocus}}\n  >\n    <div\n      class=\"modal-dialog\n        {{this.sizeClass}}\n        {{if @centered \"modal-dialog-centered\"}}\n        {{if @scrollable \"modal-dialog-scrollable\"}}\n        {{if\n          (macroCondition (macroGetOwnConfig \"isBS5\"))\n          (if\n            @fullscreen (if (bs-eq @fullscreen true) \"modal-fullscreen\" (concat \"modal-fullscreen-\" @fullscreen \"-down\"))\n          )\n        }}\n        \"\n      role=\"document\"\n    >\n      <div\n        class=\"modal-content\"\n        tabindex=\"-1\"\n        {{focus-trap shouldSelfFocus=true focusTrapOptions=(hash clickOutsideDeactivates=true fallbackFocus=\".modal\")}}\n      >\n        {{yield}}\n      </div>\n    </div>\n  </div>\n  \n  */\n  {\n    \"id\": \"HpgW0/7W\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@inDom\\\",\\\"@showModal\\\",\\\"@fade\\\",\\\"&attrs\\\",\\\"@paddingRight\\\",\\\"@paddingLeft\\\",\\\"@scrollable\\\",\\\"@centered\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,\\\"role\\\",\\\"dialog\\\"],[24,\\\"tabindex\\\",\\\"-1\\\"],[16,\\\"aria-labelledby\\\",[32,0,[\\\"titleId\\\"]]],[16,0,[31,[\\\"modal \\\",[30,[36,0],[[32,3],\\\"fade\\\"],null],\\\" \\\",[30,[36,0],[[32,2],\\\"show\\\"],null],\\\" \\\",[30,[36,0],[[32,1],\\\"d-block\\\"],null]]]],[17,4],[4,[38,1],[\\\"keydown\\\",[32,0,[\\\"handleKeyDown\\\"]]],null],[4,[38,1],[\\\"mousedown\\\",[32,0,[\\\"handleMouseDown\\\"]]],null],[4,[38,1],[\\\"mouseup\\\",[32,0,[\\\"handleMouseUp\\\"]]],null],[4,[38,1],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[4,[38,3],null,[[\\\"paddingLeft\\\",\\\"paddingRight\\\",\\\"display\\\"],[[30,[36,2],[[32,6],\\\"px\\\"],null],[30,[36,2],[[32,5],\\\"px\\\"],null],[30,[36,0],[[32,1],\\\"block\\\",\\\"\\\"],null]]]],[4,[38,4],[\\\"mainNode\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[4,[38,5],[[32,0,[\\\"getOrSetTitleId\\\"]]],null],[4,[38,5],[[32,0,[\\\"setInitialFocus\\\"]]],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"div\\\"],[15,0,[31,[\\\"modal-dialog\\\\n      \\\",[32,0,[\\\"sizeClass\\\"]],\\\"\\\\n      \\\",[30,[36,0],[[32,8],\\\"modal-dialog-centered\\\"],null],\\\"\\\\n      \\\",[30,[36,0],[[32,7],\\\"modal-dialog-scrollable\\\"],null],\\\"\\\\n      \\\",[29],\\\"\\\\n      \\\"]]],[14,\\\"role\\\",\\\"document\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"div\\\"],[24,0,\\\"modal-content\\\"],[24,\\\"tabindex\\\",\\\"-1\\\"],[4,[38,7],null,[[\\\"shouldSelfFocus\\\",\\\"focusTrapOptions\\\"],[true,[30,[36,6],null,[[\\\"clickOutsideDeactivates\\\",\\\"fallbackFocus\\\"],[true,\\\".modal\\\"]]]]]],[12],[2,\\\"\\\\n      \\\"],[18,9,null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"on\\\",\\\"concat\\\",\\\"style\\\",\\\"create-ref\\\",\\\"did-insert\\\",\\\"hash\\\",\\\"focus-trap\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/dialog.hbs\"\n  });\n  /**\n   Internal component for modal's markup and event handling. Should not be used directly.\n  \n   @class ModalDialog\n   @namespace Components\n   @extends Glimmer.Component\n   @private\n   */\n  let ModalDialog = _exports.default = (_dec = (0, _emberRefBucket.ref)('mainNode'), _dec2 = Ember._tracked, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec8 = Ember._action, (0, _deprecateSubclassing.default)(_class = (_class2 = class ModalDialog extends _component.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property id\n       * @type null | HTMLElement\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      /**\n       * The id of the `.modal-title` element\n       *\n       * @property titleId\n       * @type string\n       * @default null\n       * @private\n       */\n      _initializerDefineProperty(this, \"titleId\", _descriptor2, this);\n      /**\n       * If true clicking on the backdrop will be ignored and will not close modal.\n       *\n       * @property ignoreBackdropClick\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _defineProperty(this, \"ignoreBackdropClick\", false);\n      /**\n       * The target DOM element of mouse down event.\n       *\n       * @property mouseDownElement\n       * @type object\n       * @default null\n       * @private\n       */\n      _defineProperty(this, \"mouseDownElement\", null);\n    }\n    /**\n     * Name of the size class\n     *\n     * @property sizeClass\n     * @type string\n     * @readOnly\n     * @private\n     */\n    get sizeClass() {\n      let size = this.args.size;\n      return Ember.isBlank(size) ? null : `modal-${size}`;\n    }\n    /**\n     * Gets or sets the id of the title element for aria accessibility tags\n     *\n     * @method getSetTitleID\n     * @private\n     */\n    getOrSetTitleId(modalNode) {\n      //Title element may be set by user so we have to try and find it to set the id\n      let nodeId = null;\n      if (modalNode) {\n        const titleNode = modalNode.querySelector('.modal-title');\n        if (titleNode) {\n          //Get title id of .modal-title\n          nodeId = titleNode.id;\n          if (!nodeId) {\n            //no title id so we set one\n            nodeId = `${Ember.guidFor(this)}-title`;\n            titleNode.id = nodeId;\n          }\n        }\n      }\n      this.titleId = nodeId;\n    }\n    setInitialFocus(element) {\n      let autofocus = element && element.querySelector('[autofocus]');\n      if (autofocus) {\n        Ember.run.next(() => autofocus.focus());\n      }\n    }\n    /**\n     * @event onClose\n     * @public\n     */\n\n    handleKeyDown(e) {\n      let code = e.keyCode || e.which;\n      if (code === 27 && this.args.keyboard) {\n        this.args.onClose?.();\n      }\n    }\n    handleClick(e) {\n      if (this.ignoreBackdropClick) {\n        this.ignoreBackdropClick = false;\n        return;\n      }\n      if (e.target !== this._element || !this.args.backdropClose) {\n        return;\n      }\n      this.args.onClose?.();\n    }\n    handleMouseDown(e) {\n      this.mouseDownElement = e.target;\n    }\n    handleMouseUp(e) {\n      if (this.mouseDownElement !== this._element && e.target === this._element) {\n        this.ignoreBackdropClick = true;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_element\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"titleId\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"getOrSetTitleId\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"getOrSetTitleId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"setInitialFocus\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"setInitialFocus\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleKeyDown\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleKeyDown\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseDown\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseDown\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseUp\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseUp\"), _class2.prototype), _class2)) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, ModalDialog);\n});","define(\"ember-bootstrap/components/bs-modal/footer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#let (ensure-safe-component (bs-default @buttonComponent (component \"bs-button\"))) as |Button|}}\n    <div class=\"modal-footer\" ...attributes {{on \"submit\" (bs-default @onSubmit (bs-noop))}}>\n      {{#if (has-block)}}\n        {{yield}}\n      {{else}}\n        {{#if @submitTitle}}\n          <Button @onClick={{@onClose}}>{{bs-default @closeTitle \"Ok\"}}</Button>\n          <Button @type={{bs-default @submitButtonType \"primary\"}} onClick={{@onSubmit}} disabled={{bs-default @submitDisabled false}}>{{@submitTitle}}</Button>\n        {{else}}\n          <Button @type=\"primary\" @onClick={{@onClose}}>{{bs-default @closeTitle \"Ok\"}}</Button>\n        {{/if}}\n      {{/if}}\n    </div>\n  {{/let}}\n  */\n  {\n    \"id\": \"47Yn22n4\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Button\\\",\\\"@onClose\\\",\\\"@closeTitle\\\",\\\"@submitButtonType\\\",\\\"@onSubmit\\\",\\\"@submitDisabled\\\",\\\"@submitTitle\\\",\\\"&default\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\",\\\"@buttonComponent\\\"],\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[30,[36,0],[[32,11],[30,[36,5],[\\\"bs-button\\\"],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[24,0,\\\"modal-footer\\\"],[17,9],[4,[38,3],[\\\"submit\\\",[30,[36,0],[[32,5],[30,[36,2],null,null]],null]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[32,10],\\\"default\\\",[27,[32,8]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,8,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,7]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[],[[\\\"@onClick\\\"],[[32,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,0],[[32,3],\\\"Ok\\\"],null]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,[32,1],[[16,\\\"onClick\\\",[32,5]],[16,\\\"disabled\\\",[30,[36,0],[[32,6],false],null]]],[[\\\"@type\\\"],[[30,[36,0],[[32,4],\\\"primary\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,7]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"primary\\\",[32,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,0],[[32,3],\\\"Ok\\\"],null]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-default\\\",\\\"if\\\",\\\"bs-noop\\\",\\\"on\\\",\\\"-has-block\\\",\\\"component\\\",\\\"ensure-safe-component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/footer.hbs\"\n  });\n  /**\n  \n   Modal footer element used within [Components.Modal](Components.Modal.html) components. See there for examples.\n  \n   @class ModalFooter\n   @namespace Components\n   @extends Glimmer.Component\n   @public\n   */\n\n  /**\n   * The title of the default close button. Will be ignored (i.e. no close button) if you provide your own block\n   * template.\n   *\n   * @property closeTitle\n   * @type string\n   * @default 'Ok'\n   * @public\n   */\n\n  /**\n   * The title of the submit button (primary button). Will be ignored (i.e. no button) if set to `null` or if you provide\n   * your own block template.\n   *\n   * @property submitTitle\n   * @type string\n   * @default null\n   * @public\n   */\n\n  /**\n   * Set to `true` to disable the submit button. If you bind this to some property that indicates if submitting is allowed\n   * (form validation for example) this can be used to prevent the user from pressing the submit button.\n   *\n   * @property submitDisabled\n   * @type boolean\n   * @default false\n   * @public\n   */\n\n  /**\n   * The type of the submit button (primary button).\n   *\n   * @property submitButtonType\n   * @type string\n   * @default 'primary'\n   * @public\n   */\n\n  /**\n   * @property buttonComponent\n   * @type {String}\n   * @private\n   */\n\n  /**\n   * The action to send to the parent modal component when the modal footer's form is submitted\n   *\n   * @event onSubmit\n   * @public\n   */\n\n  /**\n   * @event onClose\n   * @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-modal/header\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#let\n    (ensure-safe-component (bs-default @titleComponent (component \"bs-modal/header/title\")))\n    (component (ensure-safe-component (bs-default @closeComponent (component \"bs-modal/header/close\"))) onClick=@onClose)\n  as |Title Close|\n  }}\n    <div class=\"modal-header\" ...attributes>\n      {{#if (has-block-params)}}\n        {{yield\n          (hash\n            title=Title\n            close=Close\n          )\n        }}\n      {{else}}\n        {{#if (has-block)}}\n          {{yield}}\n        {{else}}\n          <Title>{{@title}}</Title>\n        {{/if}}\n        {{#if (bs-default @closeButton true)}}\n          <Close/>\n        {{/if}}\n      {{/if}}\n    </div>\n  {{/let}}\n  */\n  {\n    \"id\": \"feE2hgD3\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Title\\\",\\\"Close\\\",\\\"@title\\\",\\\"&default\\\",\\\"@namedBlocksInfo\\\",\\\"@closeButton\\\",\\\"&attrs\\\",\\\"@onClose\\\",\\\"@closeComponent\\\",\\\"@titleComponent\\\"],\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[30,[36,2],[[32,10],[30,[36,5],[\\\"bs-modal/header/title\\\"],null]],null]],null],[30,[36,5],[[30,[36,6],[[30,[36,2],[[32,9],[30,[36,5],[\\\"bs-modal/header/close\\\"],null]],null]],null]],[[\\\"onClick\\\"],[[32,8]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[24,0,\\\"modal-header\\\"],[17,7],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[32,5],\\\"default\\\",[28,[32,4]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,4,[[30,[36,3],null,[[\\\"title\\\",\\\"close\\\"],[[32,1],[32,2]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,5],\\\"default\\\",[27,[32,4]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,4,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,3]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[30,[36,2],[[32,6],true],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-has-block\\\",\\\"if\\\",\\\"bs-default\\\",\\\"hash\\\",\\\"-has-block-params\\\",\\\"component\\\",\\\"ensure-safe-component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/header.hbs\"\n  });\n  /**\n  \n   Modal header element used within [Components.Modal](Components.Modal.html) components. See there for examples.\n  \n   @class ModalHeader\n   @namespace Components\n   @extends Glimmer.Component\n   @public\n   */\n\n  /**\n   * Show a close button (x icon)\n   *\n   * @property closeButton\n   * @type boolean\n   * @default true\n   * @public\n   */\n\n  /**\n   * The title to display in the modal header\n   *\n   * @property title\n   * @type string\n   * @default null\n   * @public\n   */\n\n  /**\n   * @property titleComponent\n   * @type {String}\n   * @private\n   */\n\n  /**\n   * @property closeComponent\n   * @type {String}\n   * @private\n   */\n\n  /**\n   * @event onClose\n   * @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-modal/header/close\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <button type=\"button\" aria-label=\"Close\" class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"btn-close\" \"close\"}} ...attributes {{on \"click\" (bs-default @onClick (bs-noop))}}>\n    {{#if (macroCondition (macroGetOwnConfig \"isBS4\"))}}<span aria-hidden=\"true\">&times;</span>{{/if}}\n  </button>\n  */\n  {\n    \"id\": \"DMp8mlGW\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@onClick\\\"],\\\"statements\\\":[[11,\\\"button\\\"],[24,\\\"aria-label\\\",\\\"Close\\\"],[16,0,\\\"close\\\"],[17,1],[24,4,\\\"button\\\"],[4,[38,2],[\\\"click\\\",[30,[36,1],[[32,2],[30,[36,0],null,null]],null]],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,\\\"aria-hidden\\\",\\\"true\\\"],[12],[2,\\\"×\\\"],[13],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-noop\\\",\\\"bs-default\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/header/close.hbs\"\n  });\n  /**\n  \n   @class ModalHeaderClose\n   @namespace Components\n   @extends Glimmer.Component\n   @private\n   */\n\n  /**\n   * @event onClick\n   * @public\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-modal/header/title\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/template-only\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <h5 class=\"modal-title\" ...attributes>\n    {{yield}}\n  </h5>\n  \n  */\n  {\n    \"id\": \"v4lXC9C9\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"h5\\\"],[24,0,\\\"modal-title\\\"],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-modal/header/title.hbs\"\n  });\n  /**\n  \n   @class ModalHeaderTitle\n   @namespace Components\n   @extends Glimmer.Component\n   @private\n   */\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-bootstrap/components/bs-nav\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\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__ = Ember.HTMLBars.template(\n  /*\n    <ul class=\"nav {{this.typeClass}} {{this.additionalClass}} {{if this.justified \"nav-justified\"}} {{if this.stacked \"flex-column\"}} {{if this.fill \"nav-fill\"}}\" ...attributes>\n    {{yield\n      (hash\n        item=(ensure-safe-component (bs-default @itemComponent (component \"bs-nav/item\")))\n        link-to=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"nav-link\")))\n        linkTo=(ensure-safe-component (bs-default @linkToComponent (component \"bs-link-to\" class=\"nav-link\")))\n        dropdown=(component (ensure-safe-component (bs-default @dropdownComponent (component \"bs-dropdown\"))) inNav=true htmlTag=\"li\")\n      )\n    }}\n  </ul>\n  */\n  {\n    \"id\": \"7w8OzJYl\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@dropdownComponent\\\",\\\"@linkToComponent\\\",\\\"@itemComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"ul\\\"],[16,0,[31,[\\\"nav \\\",[32,0,[\\\"typeClass\\\"]],\\\" \\\",[32,0,[\\\"additionalClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"justified\\\"]],\\\"nav-justified\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"stacked\\\"]],\\\"flex-column\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"fill\\\"]],\\\"nav-fill\\\"],null]]]],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,5,[[30,[36,4],null,[[\\\"item\\\",\\\"link-to\\\",\\\"linkTo\\\",\\\"dropdown\\\"],[[30,[36,3],[[30,[36,2],[[32,4],[30,[36,1],[\\\"bs-nav/item\\\"],null]],null]],null],[30,[36,3],[[30,[36,2],[[32,3],[30,[36,1],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"nav-link\\\"]]]],null]],null],[30,[36,3],[[30,[36,2],[[32,3],[30,[36,1],[\\\"bs-link-to\\\"],[[\\\"class\\\"],[\\\"nav-link\\\"]]]],null]],null],[30,[36,1],[[30,[36,3],[[30,[36,2],[[32,2],[30,[36,1],[\\\"bs-dropdown\\\"],null]],null]],null]],[[\\\"inNav\\\",\\\"htmlTag\\\"],[true,\\\"li\\\"]]]]]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-nav.hbs\"\n  });\n  /**\n    Component to generate [bootstrap navs](http://getbootstrap.com/components/#nav)\n  \n    ### Usage\n  \n    Use in combination with the yielded components\n  \n    * [Components.NavItem](Components.NavItem.html)\n    * [`nav.dropdown`](Components.Dropdown.html)\n  \n    ```hbs\n    <BsNav @type=\"pills\" as |nav|>\n      <nav.item>\n        <nav.linkTo @route=\"foo\">\n          Foo\n        </nav.linkTo>\n      </nav.item>\n      <nav.item>\n        <nav.linkTo @route=\"bar\" @model={{this.model}}>\n          Bar\n        </nav.linkTo>\n      </nav.item>\n    </BsNav>\n    ```\n  \n    > Note: the use of angle brackets `<nav.linkTo>` as shown above is only supported for Ember >= 3.10, as it relies on\n    > Ember's native implementation of the [`LinkComponent`](https://api.emberjs.com/ember/3.12/classes/Ember.Templates.helpers/methods/link-to?anchor=link-to).\n    > For older Ember versions please use the legacy syntax with positional arguments: `{{#nav.link-to \"bar\" this.model}}Bar{{/nav.link-to}}`\n  \n    ### Nav styles\n  \n    The component supports the default bootstrap nav styling options \"pills\" and \"tabs\" through the `type`\n    property, as well as the `justified`, `fill` and `stacked` properties.\n  \n    ### Active items\n  \n    Bootstrap 3 expects to have the `active` class on the `<li>` element that should be the active (highlighted)\n    navigation item. To achieve that use the `@route` and optionally `@model` (or `@models`) and `@query` properties\n    of the yielded `nav.linkTo` component just as you would for Ember's `<LinkTo>` component to create a link with proper\n    `active` class support.\n  \n    ### Dropdowns\n  \n    Use the `nav.dropdown` contextual version of the [Components.Dropdown](Components.Dropdown.html) component\n    with a `tagName` of \"li\" to integrate a dropdown into your nav:\n  \n    ```hbs\n    <BsNav @type=\"pills\" as |nav|>\n      <nav.item>\n        <nav.linkTo @route=\"index\">\n          Home\n        </nav.linkTo>\n      </nav.item>\n      <nav.dropdown as |dd|>\n        <dd.toggle>Dropdown <span class=\"caret\"></span></dd.toggle>\n        <dd.menu as |ddm|>\n          <ddm.item><ddm.linkTo @route=\"foo\">Foo</ddm.linkTo></ddm.item>\n          <ddm.item><ddm.linkTo @route=\"bar\">Bar</ddm.linkTo></ddm.item>\n        </dd.menu>\n      </nav.dropdown>\n    </BsNav>\n    ```\n  \n    ### Bootstrap 3/4 Notes\n  \n    Use [`nav.linkTo`](Components.NavLinkTo.html) for in-app links to ensure proper styling regardless of\n    Bootstrap version. Explicit use of `<a>` tags in Bootstrap 4 must apply the `nav-link` class and manage\n    the `active` state explicitly.\n  \n    The `fill` styling is only available with Bootstrap 4\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Nav\n    @namespace Components\n    @extends Ember.Component\n    @public\n  \n   */\n  let Nav = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed('type'), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class Nav extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * Special type of nav, either \"pills\" or \"tabs\"\n       *\n       * @property type\n       * @type String\n       * @default null\n       * @public\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor, this);\n      /**\n       * Make the nav justified, see [bootstrap docs](http://getbootstrap.com/components/#nav-justified)\n       *\n       * @property justified\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"justified\", _descriptor2, this);\n      /**\n       * Make the nav pills stacked, see [bootstrap docs](http://getbootstrap.com/components/#nav-pills)\n       *\n       * @property stacked\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"stacked\", _descriptor3, this);\n      /**\n       * Make the nav flex fill (BS4 only), see [bootstrap docs](http://getbootstrap.com/docs/4.1/components/navs/#fill-and-justify)\n       *\n       * @property fill\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"fill\", _descriptor4, this);\n    }\n    get typeClass() {\n      let type = this.type;\n      return type ? `nav-${type}` : undefined;\n    }\n    /**\n     * @property itemComponent\n     * @type {String}\n     * @private\n     */\n    /**\n     * @property linkToComponent\n     * @type {String}\n     * @private\n     */\n    /**\n     * @property dropdownComponent\n     * @type {String}\n     * @private\n     */\n  }, _applyDecoratedDescriptor(_class2.prototype, \"typeClass\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"typeClass\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"justified\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"stacked\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"fill\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Nav);\n});","define(\"ember-bootstrap/components/bs-nav/item\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"ember-bootstrap/components/bs-link-to\", \"ember-bootstrap/mixins/component-parent\", \"ember-bootstrap/utils/cp/overrideable\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _object, _bsLinkTo, _componentParent, _overrideable, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember-decorators/object\",0,\"@ember/object/computed\",0,\"@ember/component\",0,\"@ember/object\",0,\"@ember/runloop\",0,\"ember-bootstrap/components/bs-link-to\",0,\"ember-bootstrap/mixins/component-parent\",0,\"ember-bootstrap/utils/cp/overrideable\",0,\"@ember/debug\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-invalid-interactive --}}\n  <li class=\"nav-item {{if this.disabled \"disabled\"}} {{if this.active \"active\"}}\" ...attributes {{on \"click\" this.handleClick}}>\n    {{yield}}\n  </li>\n  */\n  {\n    \"id\": \"LFFggjXw\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"li\\\"],[16,0,[31,[\\\"nav-item \\\",[30,[36,0],[[32,0,[\\\"disabled\\\"]],\\\"disabled\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"active\\\"]],\\\"active\\\"],null]]]],[17,1],[4,[38,1],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-nav/item.hbs\"\n  });\n  /**\n  \n   Component for each item within a [Components.Nav](Components.Nav.html) component. Have a look there for examples.\n  \n   @class NavItem\n   @namespace Components\n   @extends Ember.Component\n   @uses Mixins.ComponentParent\n   @public\n   */\n  let NavItem = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _overrideable.default)('_disabled', function () {\n    return this._disabled;\n  }), _dec3 = (0, _overrideable.default)('_active', function () {\n    return this._active;\n  }), _dec4 = Ember.computed.filter('children', function (view) {\n    return view instanceof _bsLinkTo.default;\n  }), _dec5 = Ember.computed.filterBy('childLinks', 'active'), _dec6 = Ember.computed.gt('activeChildLinks.length', 0), _dec7 = Ember.computed.filterBy('childLinks', 'disabled'), _dec8 = Ember.computed.gt('disabledChildLinks.length', 0), _dec9 = Ember._action, _dec0 = (0, _object.observes)('activeChildLinks.[]'), _dec1 = (0, _object.observes)('disabledChildLinks.[]'), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class NavItem extends Ember.Component.extend(_componentParent.default) {\n    constructor(...args) {\n      super(...args);\n      /**\n       * Render the nav item as disabled (see [Bootstrap docs](http://getbootstrap.com/components/#nav-disabled-links)).\n       * By default it will look at any nested `link-to` components and make itself disabled if there is a disabled link.\n       * See the [link-to API](http://emberjs.com/api/classes/Ember.Templates.helpers.html#toc_disabling-the-code-link-to-code-component)\n       *\n       * @property disabled\n       * @type boolean\n       * @public\n       */\n      _initializerDefineProperty(this, \"disabled\", _descriptor, this);\n      _defineProperty(this, \"_disabled\", false);\n      /**\n       * Render the nav item as active.\n       * By default it will look at any nested `link-to` components and make itself active if there is an active link\n       * (i.e. the link points to the current route).\n       * See the [link-to API](http://emberjs.com/api/classes/Ember.Templates.helpers.html#toc_handling-current-route)\n       *\n       * @property active\n       * @type boolean\n       * @public\n       */\n      _initializerDefineProperty(this, \"active\", _descriptor2, this);\n      _defineProperty(this, \"_active\", false);\n      /**\n       * Collection of all `Ember.LinkComponent`s that are children\n       *\n       * @property childLinks\n       * @private\n       */\n      _initializerDefineProperty(this, \"childLinks\", _descriptor3, this);\n      _initializerDefineProperty(this, \"activeChildLinks\", _descriptor4, this);\n      _initializerDefineProperty(this, \"hasActiveChildLinks\", _descriptor5, this);\n      _initializerDefineProperty(this, \"disabledChildLinks\", _descriptor6, this);\n      _initializerDefineProperty(this, \"hasDisabledChildLinks\", _descriptor7, this);\n    }\n    /**\n     * Called when clicking the nav item\n     *\n     * @event onClick\n     * @public\n     */\n    onClick() {}\n    handleClick() {\n      this.onClick();\n    }\n    init() {\n      super.init(...arguments);\n      let {\n        model,\n        models\n      } = this;\n      (true && !(!model || !models) && Ember.assert('You cannot pass both `@model` and `@models` to a nav item component!', !model || !models));\n      this.activeChildLinks;\n      this.disabledChildLinks;\n    }\n    _observeActive() {\n      Ember.run.scheduleOnce('afterRender', this, this._updateActive);\n    }\n    _updateActive() {\n      this.set('_active', this.hasActiveChildLinks);\n    }\n    _observeDisabled() {\n      Ember.run.scheduleOnce('afterRender', this, this._updateDisabled);\n    }\n    _updateDisabled() {\n      this.set('_disabled', this.hasDisabledChildLinks);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"disabled\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"active\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"childLinks\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"activeChildLinks\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"hasActiveChildLinks\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"disabledChildLinks\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"hasDisabledChildLinks\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"_observeActive\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"_observeActive\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"_observeDisabled\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"_observeDisabled\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, NavItem);\n});","define(\"ember-bootstrap/components/bs-navbar\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"ember-bootstrap/utils/cp/listen-to\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _object, _listenTo, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember-decorators/object\",0,\"@ember/object\",0,\"@ember/component\",0,\"ember-bootstrap/utils/cp/listen-to\",0,\"ember-bootstrap/utils/default-decorator\",0,\"@ember/debug\",0,\"@ember/utils\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{!-- template-lint-disable no-duplicate-landmark-elements --}}\n  {{#let\n    (hash\n      toggle=(component (ensure-safe-component (bs-default @toggleComponent (component \"bs-navbar/toggle\"))) onClick=this.toggleNavbar collapsed=this._collapsed)\n      content=(component (ensure-safe-component (bs-default @contentComponent (component \"bs-navbar/content\"))) collapsed=this._collapsed onHidden=this.onCollapsed onShown=this.onExpanded)\n      nav=(component\n        (ensure-safe-component (bs-default @navComponent (component \"bs-navbar/nav\")))\n        linkToComponent=(component \"bs-navbar/link-to\" onCollapse=this.collapse class=\"nav-link\")\n      )\n      collapse=this.collapse\n      expand=this.expand\n      toggleNavbar=this.toggleNavbar\n    ) as |yieldedHash|}}\n    <nav class=\"navbar {{this.positionClass}} {{this.typeClass}} {{this.breakpointClass}} {{this.backgroundClass}}\" ...attributes>\n      {{#if (macroCondition (macroGetOwnConfig \"isBS4\"))}}\n        {{#if this.fluid}}\n          {{yield yieldedHash}}\n        {{else}}\n          <div class=\"container\">\n            {{yield yieldedHash}}\n          </div>\n        {{/if}}\n      {{else}}\n        <div class={{this.containerClass}}>\n          {{yield yieldedHash}}\n        </div>\n      {{/if}}\n    </nav>\n  {{/let}}\n  */\n  {\n    \"id\": \"boUIWy6G\",\n    \"block\": \"{\\\"symbols\\\":[\\\"yieldedHash\\\",\\\"&default\\\",\\\"&attrs\\\",\\\"@navComponent\\\",\\\"@contentComponent\\\",\\\"@toggleComponent\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],null,[[\\\"toggle\\\",\\\"content\\\",\\\"nav\\\",\\\"collapse\\\",\\\"expand\\\",\\\"toggleNavbar\\\"],[[30,[36,1],[[30,[36,3],[[30,[36,2],[[32,6],[30,[36,1],[\\\"bs-navbar/toggle\\\"],null]],null]],null]],[[\\\"onClick\\\",\\\"collapsed\\\"],[[32,0,[\\\"toggleNavbar\\\"]],[32,0,[\\\"_collapsed\\\"]]]]],[30,[36,1],[[30,[36,3],[[30,[36,2],[[32,5],[30,[36,1],[\\\"bs-navbar/content\\\"],null]],null]],null]],[[\\\"collapsed\\\",\\\"onHidden\\\",\\\"onShown\\\"],[[32,0,[\\\"_collapsed\\\"]],[32,0,[\\\"onCollapsed\\\"]],[32,0,[\\\"onExpanded\\\"]]]]],[30,[36,1],[[30,[36,3],[[30,[36,2],[[32,4],[30,[36,1],[\\\"bs-navbar/nav\\\"],null]],null]],null]],[[\\\"linkToComponent\\\"],[[30,[36,1],[\\\"bs-navbar/link-to\\\"],[[\\\"onCollapse\\\",\\\"class\\\"],[[32,0,[\\\"collapse\\\"]],\\\"nav-link\\\"]]]]]],[32,0,[\\\"collapse\\\"]],[32,0,[\\\"expand\\\"]],[32,0,[\\\"toggleNavbar\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"nav\\\"],[16,0,[31,[\\\"navbar \\\",[32,0,[\\\"positionClass\\\"]],\\\" \\\",[32,0,[\\\"typeClass\\\"]],\\\" \\\",[32,0,[\\\"breakpointClass\\\"]],\\\" \\\",[32,0,[\\\"backgroundClass\\\"]]]]],[17,3],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"fluid\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"container\\\"],[12],[2,\\\"\\\\n          \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-navbar.hbs\"\n  });\n  /**\n    Component to generate [Bootstrap navbars](http://getbootstrap.com/components/#navbar).\n  \n    ### Usage\n  \n    Uses the following components by a contextual reference:\n  \n    ```hbs\n    <BsNavbar as |navbar|>\n      <div class=\"navbar-header\">\n        <navbar.toggle />\n        <a class=\"navbar-brand\" href=\"#\">Brand</a>\n      </div>\n      <navbar.content>\n        <navbar.nav as |nav|>\n          <nav.item>\n            <nav.linkTo @route=\"home\">Home</nav.linkTo>\n          </nav.item>\n          <nav.item>\n            <nav.linkTo @route=\"navbars\">Navbars</nav.linkTo>\n          </nav.item>\n        </navbar.nav>\n      </navbar.content>\n    </BsNavbar>\n    ```\n  \n    **Note:** the `<div class=\"navbar-header\">` is required for BS3 to hold the elements visible on a mobile breakpoint,\n    when the actual content is collapsed. It should *not* be used for BS4!\n  \n    The component yields references to the following contextual components:\n  \n    * [Components.NavbarContent](Components.NavbarContent.html)\n    * [Components.NavbarToggle](Components.NavbarToggle.html)\n    * [Components.NavbarNav](Components.NavbarNav.html)\n  \n    Furthermore references to the following actions are yielded:\n  \n    * `collapse`: triggers the `onCollapse` action and collapses the navbar (mobile)\n    * `expand`: triggers the `onExpand` action and expands the navbar (mobile)\n    * `toggleNavbar`: triggers the `toggleNavbar` action and toggles the navbar (mobile)\n  \n    ### Responsive Design\n  \n    For the mobile breakpoint the Bootstrap styles will hide the navbar content (`{{navbar.content}}`). Clicking on the\n    navbar toggle button (`{{navbar.toggle}}`) will expand the menu. By default all nav links (`<nav.linkTo @route=\"...\">`) are already\n    wired up to call the navbar's `collapse` action, so clicking any of them will collapse the navbar. To selectively\n    prevent that, you can set its `collapseNavbar` property to false:\n  \n    ```hbs\n    <nav.item>\n      <nav.linkTo @route=\"index\" @collapseNavbar={{false}}>Don't collapse</nav.linkTo>\n    </nav.item>\n    ```\n  \n    To collapse the navbar when clicking on some nav items that are not internal links, you can use the yielded `collapse`\n    action:\n  \n    ```hbs\n    <BsNavbar as |navbar|>\n      <navbar.content>\n        <navbar.nav as |nav|>\n          <nav.item>\n            <a onclick={{action navbar.collapse}}>Collapse</a>\n          </nav.item>\n        </navbar.nav>\n      </navbar.content>\n    </BsNavbar>\n    ```\n  \n    ### Navbar styles\n  \n    The component supports the default bootstrap navbar styling options through the `type`\n    property. Bootstrap navbars [do not currently support justified nav links](http://getbootstrap.com/components/#navbar-default),\n    so those are explicitly disallowed.\n  \n    Other bootstrap navbar variations, such as forms, buttons, etc. can be supported through direct use of\n    bootstrap styles applied through the `class` attribute on the components.\n  \n    ### Bootstrap 3/4 Notes\n  \n    Bootstrap 4 changed the default navbar styling option from `navbar-default` to `navbar-light`.\n    If you explicitly specified \"default\" in Bootstrap 3 and are migrating, you will need to change\n    this in your code. Bootstrap 4 changes `navbar-inverse` to `navbar-dark`.\n  \n    Bootstrap 4 navbars are fluid by default without the need for an additional container. An\n    additional container is added like with Bootstrap 3 if `fluid` is `false`.\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Navbar\n    @namespace Components\n    @extends Ember.Component\n    @public\n  */\n  let Navbar = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _listenTo.default)('collapsed'), _dec3 = Ember.computed('fluid', 'container'), _dec4 = Ember.computed('position'), _dec5 = Ember.computed('type'), _dec6 = (0, _object.observes)('_collapsed'), _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember.computed('toggleBreakpoint'), _dec1 = Ember.computed('backgroundColor'), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class Navbar extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * Manages the state for the responsive menu between the toggle and the content.\n       *\n       * @property collapsed\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"collapsed\", _descriptor, this);\n      /**\n       * @property _collapsed\n       * @private\n       */\n      _initializerDefineProperty(this, \"_collapsed\", _descriptor2, this);\n      /**\n       * Controls whether the wrapping div is a fluid container or not.\n       *\n       * @property fluid\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"fluid\", _descriptor3, this);\n      /**\n       * Specifies the position classes for the navbar, currently supporting none, \"fixed-top\", \"fixed-bottom\", and\n       * either \"static-top\" (BS3) or \"sticky-top\" (BS4).\n       * See the [bootstrap docs](http://getbootstrap.com/components/#navbar-fixed-top) for details.\n       *\n       * @property position\n       * @type String\n       * @default null\n       * @public\n       */\n      _initializerDefineProperty(this, \"position\", _descriptor4, this);\n      /**\n       * Property for type styling\n       *\n       * For the available types see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/navbar/#color-schemes)\n       *\n       * @property type\n       * @type String\n       * @default 'light'\n       * @public\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor5, this);\n      /**\n       * Bootstrap 4 Only: Defines the responsive toggle breakpoint size. Options are the standard\n       * two character Bootstrap size abbreviations. Used to set the `navbar-expand-*`\n       * class. Set to `null` to disable collapsing.\n       *\n       * @property toggleBreakpoint\n       * @type String\n       * @default 'lg'\n       * @public\n       */\n      _initializerDefineProperty(this, \"toggleBreakpoint\", _descriptor6, this);\n      /**\n       * Bootstrap 4 Only: Sets the background color for the navbar. Can be any color\n       * in the set that composes the `bg-*` classes and can be extended by creating your\n       * own `bg-*` classes.\n       *\n       * @property backgroundColor\n       * @type String\n       * @default 'light'\n       * @public\n       */\n      _initializerDefineProperty(this, \"backgroundColor\", _descriptor7, this);\n    }\n    /**\n     * BS5 only: Allows to override the container layout, see https://getbootstrap.com/docs/5.0/components/navbar/#containers.\n     * Allowed values: `'sm'`, `'md'`, `'lg'`, `'xl'`, `'xxl'`, `'fluid'`, see https://getbootstrap.com/docs/5.0/layout/containers/.\n     * By default it is `.container-fluid`, or `.container` if the `@fluid` argument is set to false.\n     *\n     * @property container\n     * @type string\n     * @public\n     */\n\n    get containerClass() {\n      if (this.container) {\n        return `container-${this.container}`;\n      }\n      return this.fluid ? 'container-fluid' : 'container';\n    }\n    get positionClass() {\n      let position = this.position;\n      let validPositions = ['fixed-top', 'fixed-bottom', 'sticky-top'];\n      if (validPositions.indexOf(position) === -1) {\n        return null;\n      }\n      return position;\n    }\n    get typeClass() {\n      let type = this.type || 'light';\n      (true && !(typeof type === 'string' && type !== '') && Ember.assert('The value of `type` must be a string', typeof type === 'string' && type !== ''));\n      return `navbar-${type}`;\n    }\n\n    /**\n     * The action to be sent when the navbar is about to be collapsed.\n     *\n     * You can return false to prevent collapsing the navbar automatically, and do that in your action by\n     * setting `collapsed` to true.\n     *\n     * @event onCollapse\n     * @public\n     */\n    onCollapse() {}\n\n    /**\n     * The action to be sent after the navbar has been collapsed (including the CSS transition).\n     *\n     * @event onCollapsed\n     * @public\n     */\n    onCollapsed() {}\n\n    /**\n     * The action to be sent when the navbar is about to be expanded.\n     *\n     * You can return false to prevent expanding the navbar automatically, and do that in your action by\n     * setting `collapsed` to false.\n     *\n     * @event onExpand\n     * @public\n     */\n    onExpand() {}\n\n    /**\n     * The action to be sent after the navbar has been expanded (including the CSS transition).\n     *\n     * @event onExpanded\n     * @public\n     */\n    onExpanded() {}\n    _onCollapsedChange() {\n      let collapsed = this._collapsed;\n      let active = this.active;\n      if (collapsed !== active) {\n        return;\n      }\n      if (collapsed === false) {\n        this.show();\n      } else {\n        this.hide();\n      }\n    }\n\n    /**\n     * @method expand\n     * @private\n     */\n    expand() {\n      if (this.onExpand() !== false) {\n        this.set('_collapsed', false);\n      }\n    }\n\n    /**\n     * @method collapse\n     * @private\n     */\n    collapse() {\n      if (this.onCollapse() !== false) {\n        this.set('_collapsed', true);\n      }\n    }\n    toggleNavbar() {\n      if (this._collapsed) {\n        this.expand();\n      } else {\n        this.collapse();\n      }\n    }\n    get breakpointClass() {\n      let toggleBreakpoint = this.toggleBreakpoint;\n      if (Ember.isBlank(toggleBreakpoint)) {\n        return 'navbar-expand';\n      } else {\n        return `navbar-expand-${toggleBreakpoint}`;\n      }\n    }\n    get backgroundClass() {\n      return `bg-${this.backgroundColor}`;\n    }\n\n    /**\n     * @property toggleComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property contentComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property navComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * @property linkToComponent\n     * @type {String}\n     * @private\n     */\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"collapsed\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"_collapsed\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"fluid\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"containerClass\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"containerClass\"), _class2.prototype), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"position\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"positionClass\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"positionClass\"), _class2.prototype), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'light';\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"typeClass\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"typeClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"_onCollapsedChange\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"_onCollapsedChange\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"expand\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"expand\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"collapse\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"collapse\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleNavbar\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleNavbar\"), _class2.prototype), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"toggleBreakpoint\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'lg';\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"backgroundColor\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'light';\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"breakpointClass\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"breakpointClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"backgroundClass\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"backgroundClass\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Navbar);\n});","define(\"ember-bootstrap/components/bs-navbar/content\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <BsCollapse\n    @collapsed={{@collapsed}}\n    @onHidden={{@onHidden}}\n    @onShown={{@onShown}}\n    class=\"navbar-collapse\"\n    ...attributes\n  >\n    {{yield}}\n  </BsCollapse>\n  \n  */\n  {\n    \"id\": \"owN0FS13\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@collapsed\\\",\\\"@onHidden\\\",\\\"@onShown\\\",\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"bs-collapse\\\",[[24,0,\\\"navbar-collapse\\\"],[17,4]],[[\\\"@collapsed\\\",\\\"@onHidden\\\",\\\"@onShown\\\"],[[32,1],[32,2],[32,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-navbar/content.hbs\"\n  });\n  /**\n   * Component to wrap the collapsible content of a [Components.Navbar](Components.Navbar.html) component.\n   * Have a look there for examples.\n   *\n   * @class NavbarContent\n   * @namespace Components\n   * @extends Components.Collapse\n   * @public\n   */\n  let NavbarContent = _exports.default = (_dec = (0, _component.tagName)(''), _dec(_class = (0, _deprecateSubclassing.default)(_class = class NavbarContent extends Ember.Component {}) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, NavbarContent);\n});","define(\"ember-bootstrap/components/bs-navbar/link-to\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/component\",0,\"@ember/object\"eaimeta@70e063a35619d71f\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__ = Ember.HTMLBars.template(\n  /*\n    <BsLinkTo\n    @route={{@route}}\n    @model={{@model}}\n    @models={{@models}}\n    @query={{@query}}\n    @disabled={{@disabled}}\n    {{on 'click' this.onClick}}\n    class={{@class}}\n    ...attributes\n  >\n    {{yield}}\n  </BsLinkTo>\n  */\n  {\n    \"id\": \"WXVdZKO5\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@route\\\",\\\"@model\\\",\\\"@models\\\",\\\"@query\\\",\\\"@disabled\\\",\\\"@class\\\",\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"bs-link-to\\\",[[16,0,[32,6]],[17,7],[4,[38,0],[\\\"click\\\",[32,0,[\\\"onClick\\\"]]],null]],[[\\\"@route\\\",\\\"@model\\\",\\\"@models\\\",\\\"@query\\\",\\\"@disabled\\\"],[[32,1],[32,2],[32,3],[32,4],[32,5]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,8,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-navbar/link-to.hbs\"\n  });\n  /**\n   * Extended `{{link-to}}` component for use within Navbars.\n   *\n   * @class NavbarLinkTo\n   * @namespace Components\n   * @extends Components.NavLinkTo\n   * @public\n   */\n  let NavbarLinkTo = _exports.default = (_dec = Ember._action, _class = class NavbarLinkTo extends _component.default {\n    /**\n     * @property collapseNavbar\n     * @type {Boolean}\n     * @default true\n     * @public\n     */\n\n    onClick() {\n      if (this.args.collapseNavbar ?? true) {\n        this.args.onCollapse();\n      }\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"onClick\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"onClick\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, NavbarLinkTo);\n});","define(\"ember-bootstrap/components/bs-navbar/nav\", [\"exports\", \"ember-bootstrap/components/bs-nav\", \"ember-bootstrap/utils/default-decorator\"], function (_exports, _bsNav, _defaultDecorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-nav\",0,\"ember-bootstrap/utils/default-decorator\"eaimeta@70e063a35619d71f\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  /**\n   * Component for the `.nav` element within a [Components.Navbar](Components.Navbar.html)\n   * component. Have a look there for examples.\n   *\n   * Per [the bootstrap docs](http://getbootstrap.com/components/#navbar),\n   * justified navbar nav links are not supported.\n   *\n   * @class NavbarNav\n   * @namespace Components\n   * @extends Components.Nav\n   * @public\n   */\n  let NavbarNav = _exports.default = (_class = class NavbarNav extends _bsNav.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, '__ember-bootstrap_subclass', true);\n      _initializerDefineProperty(this, \"justified\", _descriptor, this);\n      _defineProperty(this, \"additionalClass\", 'navbar-nav');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"justified\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});","define(\"ember-bootstrap/components/bs-navbar/toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember-decorators/component\",0,\"@ember/component\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <button type=\"button\" class=\"navbar-toggler {{if this.collapsed \"collapsed\"}}\" ...attributes {{on \"click\" this.handleClick}}>\n    {{#if (has-block)}}\n      {{yield}}\n    {{else}}\n      <span class=\"navbar-toggler-icon\"></span>\n    {{/if}}\n  </button>\n  */\n  {\n    \"id\": \"d08P+2ST\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\"],\\\"statements\\\":[[11,\\\"button\\\"],[16,0,[31,[\\\"navbar-toggler \\\",[30,[36,0],[[32,0,[\\\"collapsed\\\"]],\\\"collapsed\\\"],null]]]],[17,2],[24,4,\\\"button\\\"],[4,[38,1],[\\\"click\\\",[32,0,[\\\"handleClick\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[30,[36,2],[[32,3],\\\"default\\\",[27,[32,1]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"navbar-toggler-icon\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"on\\\",\\\"-has-block\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-navbar/toggle.hbs\"\n  });\n  /**\n   * Component to implement the responsive menu toggle behavior in a [Components.Navbar](Components.Navbar.html)\n   * component. Have a look there for examples.\n   *\n   * ### Bootstrap 3/4 Notes\n   *\n   * The inline version of the component uses the triple `icon-bar` styling for Bootstrap 3 and the\n   * `navbar-toggler-icon` styling for Bootstrap 4.\n   *\n   * @class NavbarToggle\n   * @namespace Components\n   * @extends Ember.Component\n   * @public\n   */\n  let NavbarToggle = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember._action, _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class NavbarToggle extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"collapsed\", _descriptor, this);\n    }\n    /**\n     * @event onClick\n     * @public\n     */\n    onClick() {}\n    handleClick() {\n      this.onClick();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"collapsed\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"handleClick\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleClick\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, NavbarToggle);\n});","define(\"ember-bootstrap/components/bs-popover\", [\"exports\", \"ember-bootstrap/components/bs-contextual-help\", \"ember-bootstrap/utils/decorators/arg\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _bsContextualHelp, _arg, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _class2, _descriptor, _descriptor2;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-contextual-help\",0,\"ember-bootstrap/utils/decorators/arg\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{! template-lint-disable no-unbound }}\n  {{unbound this._parentFinder}}\n  {{#if this.inDom}}\n    {{#let (ensure-safe-component (bs-default @elementComponent (component \"bs-popover/element\"))) as |Element|}}\n      <Element\n        @placement={{this.placement}}\n        @fade={{this.fade}}\n        @showHelp={{this.showHelp}}\n        @title={{@title}}\n        @renderInPlace={{this._renderInPlace}}\n        @popperTarget={{this.triggerTargetElement}}\n        @destinationElement={{this.destinationElement}}\n        @autoPlacement={{this.autoPlacement}}\n        @viewportElement={{this.viewportElement}}\n        @viewportPadding={{this.viewportPadding}}\n  \n        {{create-ref \"overlayElement\"}}\n        ...attributes\n      >\n        {{yield\n          (hash\n            close=this.close\n          )\n        }}\n      </Element>\n    {{/let}}\n  {{/if}}\n  {{did-insert this.setup}}\n  {{did-update this.showOrHide @visible}}\n  */\n  {\n    \"id\": \"gVqALuKK\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Element\\\",\\\"@title\\\",\\\"&attrs\\\",\\\"&default\\\",\\\"@elementComponent\\\",\\\"@visible\\\"],\\\"statements\\\":[[1,[30,[36,6],[[32,0,[\\\"_parentFinder\\\"]]],null]],[2,\\\"\\\\n\\\"],[6,[37,7],[[32,0,[\\\"inDom\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[30,[36,3],[[32,5],[30,[36,2],[\\\"bs-popover/element\\\"],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1],[[17,3],[4,[38,0],[\\\"overlayElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]]],[[\\\"@placement\\\",\\\"@fade\\\",\\\"@showHelp\\\",\\\"@title\\\",\\\"@renderInPlace\\\",\\\"@popperTarget\\\",\\\"@destinationElement\\\",\\\"@autoPlacement\\\",\\\"@viewportElement\\\",\\\"@viewportPadding\\\"],[[32,0,[\\\"placement\\\"]],[32,0,[\\\"fade\\\"]],[32,0,[\\\"showHelp\\\"]],[32,2],[32,0,[\\\"_renderInPlace\\\"]],[32,0,[\\\"triggerTargetElement\\\"]],[32,0,[\\\"destinationElement\\\"]],[32,0,[\\\"autoPlacement\\\"]],[32,0,[\\\"viewportElement\\\"]],[32,0,[\\\"viewportPadding\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[18,4,[[30,[36,1],null,[[\\\"close\\\"],[[32,0,[\\\"close\\\"]]]]]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[1,[30,[36,8],[[32,0,[\\\"setup\\\"]]],null]],[2,\\\"\\\\n\\\"],[1,[30,[36,9],[[32,0,[\\\"showOrHide\\\"]],[32,6]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"create-ref\\\",\\\"hash\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"let\\\",\\\"unbound\\\",\\\"if\\\",\\\"did-insert\\\",\\\"did-update\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-popover.hbs\"\n  });\n  /**\n    Component that implements Bootstrap [popovers](http://getbootstrap.com/javascript/#popovers).\n  \n    By default, it will attach its listeners (click) to the parent DOM element to trigger\n    the popover:\n  \n    ```hbs\n    <button class=\"btn\">\n      <BsPopover @title=\"this is a title\">and this the body</BsPopover>\n    </button>\n    ```\n  \n    ### Trigger\n  \n    The trigger element is the DOM element that will cause the popover to be shown when one of the trigger events occur on\n    that element. By default, the trigger element is the parent DOM element of the component, and the trigger event will be\n    \"click\".\n  \n    The `triggerElement` property accepts any CSS selector to attach the popover to any other existing DOM element.\n  \n    To customize the events that will trigger the popover use the `triggerEvents` property, that accepts an array or a\n    string of events, with \"hover\", \"focus\" and \"click\" being supported.\n  \n    ### Placement options\n  \n    By default, the popover will show up to the right of the trigger element. Use the `placement` property to change that\n    (\"top\", \"bottom\", \"left\" and \"right\"). To make sure the popover will not exceed the viewport (see Advanced customization)\n    you can set `autoPlacement` to true. A popover with `placement=\"right\" will be placed to the right if there is enough\n    space, otherwise to the left.\n  \n    ### Advanced customization\n  \n    Several other properties allow for some advanced customization:\n    * `visible` to show/hide the popover programmatically\n    * `fade` to disable the fade in transition\n    * `delay` (or `delayShow` and `delayHide`) to add a delay\n    * `viewportSelector` and `viewportPadding` to customize the viewport that affects `autoPlacement`\n    *  a `close` action is yielded, that allows you to close the tooltip:\n  \n    ```hbs\n    <BsPopover as |po| >This is a popover <button onclick={{action po.close}}>Close</button></BsPopover>\n    ```\n  \n    See the individual API docs for each property.\n  \n    ### Actions\n  \n    When you want to react on the popover being shown or hidden, you can use one of the following supported actions:\n    * `onShow`\n    * `onShown`\n    * `onHide`\n    * `onHidden`\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Popover\n    @namespace Components\n    @extends Components.ContextualHelp\n    @public\n  */\n  let Popover = _exports.default = (0, _deprecateSubclassing.default)(_class = (_class2 = class Popover extends _bsContextualHelp.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property placement\n       * @type string\n       * @default 'right'\n       * @public\n       */\n      _initializerDefineProperty(this, \"placement\", _descriptor, this);\n      /**\n       * @property triggerEvents\n       * @type array|string\n       * @default 'click'\n       * @public\n       */\n      _initializerDefineProperty(this, \"triggerEvents\", _descriptor2, this);\n    }\n    /**\n     * @property elementComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * The DOM element of the arrow element.\n     *\n     * @property arrowElement\n     * @type object\n     * @readonly\n     * @private\n     */\n    get arrowElement() {\n      return this.overlayElement.querySelector('.arrow');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"placement\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'right';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"triggerEvents\", [_arg.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'click';\n    }\n  }), _class2)) || _class;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Popover);\n});","define(\"ember-bootstrap/components/bs-popover/element\", [\"exports\", \"ember-bootstrap/components/bs-contextual-help/element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-contextual-help/element\",0,\"@embroider/macros\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @renderInPlace}}\n    <div\n      class=\"popover {{if this.fade \"fade\"}} {{this.actualPlacementClass}} {{if this.showHelp \"show\"}}\"\n      role=\"tooltip\"\n      ...attributes\n      {{popper-tooltip @popperTarget this.popperOptions}}\n      {{create-ref \"popperElement\"}}\n    >\n      <div class={{this.arrowClass}}></div>\n      {{#if @title}}\n        <h3 class=\"popover-header\">{{@title}}</h3>\n      {{/if}}\n      <div class=\"popover-body\">{{yield}}</div>\n    </div>\n  {{else}}\n    {{#in-element @destinationElement insertBefore=null}}\n      <div\n        class=\"popover {{if this.fade \"fade\"}} {{this.actualPlacementClass}} {{if this.showHelp \"show\"}}\"\n        role=\"tooltip\"\n        ...attributes\n        {{popper-tooltip @popperTarget this.popperOptions}}\n        {{create-ref \"popperElement\"}}\n      >\n        <div class={{this.arrowClass}}></div>\n        {{#if @title}}\n          <h3 class=\"popover-header\">{{@title}}</h3>\n        {{/if}}\n        <div class=\"popover-body\">{{yield}}</div>\n      </div>\n    {{/in-element}}\n  {{/if}}\n  \n  \n  */\n  {\n    \"id\": \"RXixvGa5\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@title\\\",\\\"&attrs\\\",\\\"@popperTarget\\\",\\\"&default\\\",\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],\\\"statements\\\":[[6,[37,0],[[32,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"popover \\\",[30,[36,0],[[32,0,[\\\"fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[32,0,[\\\"actualPlacementClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"showHelp\\\"]],\\\"show\\\"],null]]]],[24,\\\"role\\\",\\\"tooltip\\\"],[17,2],[4,[38,1],[[32,3],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[\\\"popperElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"arrowClass\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"h3\\\"],[14,0,\\\"popover-header\\\"],[12],[1,[32,1]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"popover-body\\\"],[12],[18,4,null],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[32,5]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"popover \\\",[30,[36,0],[[32,0,[\\\"fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[32,0,[\\\"actualPlacementClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"showHelp\\\"]],\\\"show\\\"],null]]]],[24,\\\"role\\\",\\\"tooltip\\\"],[17,2],[4,[38,1],[[32,3],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[\\\"popperElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"arrowClass\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"h3\\\"],[14,0,\\\"popover-header\\\"],[12],[1,[32,1]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"popover-body\\\"],[12],[18,4,null],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"popper-tooltip\\\",\\\"create-ref\\\",\\\"-in-el-null\\\",\\\"in-element\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-popover/element.hbs\"\n  });\n  /**\n   Internal component for popover's markup. Should not be used directly.\n  \n   @class PopoverElement\n   @namespace Components\n   @extends Components.ContextualHelpElement\n   @private\n   */\n  class PopoverElement extends _element.default {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property title\n       * @type string\n       * @public\n       */\n      _defineProperty(this, \"arrowClass\", 'arrow');\n      _defineProperty(this, \"placementClassPrefix\", 'bs-popover-');\n      _defineProperty(this, \"offset\", [0, 8]);\n    }\n  }\n  _exports.default = PopoverElement;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, PopoverElement);\n});","define(\"ember-bootstrap/components/bs-progress\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/component\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div class=\"progress\" ...attributes>\n    {{yield\n      (hash\n        bar=(bs-default @progressBarComponent (component \"bs-progress/bar\"))\n      )\n    }}\n  </div>\n  */\n  {\n    \"id\": \"Z3zOtDAB\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@progressBarComponent\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,0,\\\"progress\\\"],[17,1],[12],[2,\\\"\\\\n  \\\"],[18,3,[[30,[36,2],null,[[\\\"bar\\\"],[[30,[36,1],[[32,2],[30,[36,0],[\\\"bs-progress/bar\\\"],null]],null]]]]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"bs-default\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-progress.hbs\"\n  });\n  /**\n    Component to display a Bootstrap progress bar, see http://getbootstrap.com/components/#progress.\n  \n    ### Usage\n  \n    The component yields a [Components.ProgressBar](Components.ProgressBar.html) component that represents a single bar.\n    Use the `value` property to control the progress bar's width. To apply the different styling options supplied by\n    Bootstrap, use the appropriate properties like `type`, `showLabel`, `striped` or `animate`.\n  \n    ```hbs\n    <BsProgress as |pg| >\n      <pg.bar @value={{this.progressValue}} @minValue={{0}} @maxValue={{10}} @showLabel={{true}} @type=\"danger\" aria-label=\"Loading\" />\n    </BsProgress>\n    ```\n  \n    > Don't forget to add a `aria-label` attribute to the progress bar for accessibility!\n  \n    ### Stacked\n  \n    You can place multiple progress bar components in a single progress component to\n    create a stack of progress bars as seen in http://getbootstrap.com/components/#progress-stacked.\n  \n    ```hbs\n    <BsProgress as |pg| >\n      <pg.bar @value={{this.progressValue1}} @type=\"success\" />\n      <pg.bar @value={{this.progressValue2}} @type=\"warning\" />\n      <pg.bar @value={{this.progressValue3}} @type=\"danger\" />\n    </BsProgress>\n    ```\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Progress\n    @namespace Components\n    @extends Ember.Component\n    @public\n  */\n  let Progress = _exports.default = (_dec = (0, _component.tagName)(''), _dec(_class = (0, _deprecateSubclassing.default)(_class = class Progress extends Ember.Component {\n    /**\n     * @property progressBarComponent\n     * @type {String}\n     * @private\n     */\n  }) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Progress);\n});","define(\"ember-bootstrap/components/bs-progress/bar\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/cp/type-class\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _defaultDecorator, _typeClass, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/component\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/cp/type-class\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    role=\"progressbar\"\n    aria-valuenow={{this.value}}\n    aria-valuemin={{this.minValue}}\n    aria-valuemax={{this.maxValue}}\n    class=\"progress-bar {{if this.striped \"progress-bar-striped\"}} {{this.typeClass}} {{if this.animate \"progress-bar-animated\"}}\"\n    ...attributes\n    {{style width=this.percentStyleValue}}\n  >\n    {{#if this.showLabel}}\n      {{#if (has-block)}}\n        {{yield this.percentRounded}}\n      {{else}}\n        {{this.percentRounded}}%\n      {{/if}}\n    {{else}}\n      {{#if (has-block)}}\n        <span class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\"}}>{{yield this.percentRounded}}</span>\n      {{else}}\n        <span class={{if (macroCondition (macroGetOwnConfig \"isBS5\")) \"visually-hidden\" \"sr-only\"}}>{{this.percentRounded}}%</span>\n      {{/if}}\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"XSWBFOUM\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"@namedBlocksInfo\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[24,\\\"role\\\",\\\"progressbar\\\"],[16,\\\"aria-valuenow\\\",[32,0,[\\\"value\\\"]]],[16,\\\"aria-valuemin\\\",[32,0,[\\\"minValue\\\"]]],[16,\\\"aria-valuemax\\\",[32,0,[\\\"maxValue\\\"]]],[16,0,[31,[\\\"progress-bar \\\",[30,[36,1],[[32,0,[\\\"striped\\\"]],\\\"progress-bar-striped\\\"],null],\\\" \\\",[32,0,[\\\"typeClass\\\"]],\\\" \\\",[30,[36,1],[[32,0,[\\\"animate\\\"]],\\\"progress-bar-animated\\\"],null]]]],[17,3],[4,[38,2],null,[[\\\"width\\\"],[[32,0,[\\\"percentStyleValue\\\"]]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"showLabel\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,2],\\\"default\\\",[27,[32,1]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,1,[[32,0,[\\\"percentRounded\\\"]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[1,[32,0,[\\\"percentRounded\\\"]]],[2,\\\"%\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,2],\\\"default\\\",[27,[32,1]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,0,\\\"sr-only\\\"],[12],[18,1,[[32,0,[\\\"percentRounded\\\"]]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[15,0,\\\"sr-only\\\"],[12],[1,[32,0,[\\\"percentRounded\\\"]]],[2,\\\"%\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-has-block\\\",\\\"if\\\",\\\"style\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-progress/bar.hbs\"\n  });\n  /**\n  \n   Component for a single progress bar, see [Components.Progress](Components.Progress.html) for more examples.\n  \n   @class ProgressBar\n   @namespace Components\n   @extends Ember.Component\n   @public\n   */\n  let ProgressBar = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _typeClass.default)('bg', 'type'), _dec3 = Ember.computed('value', 'minValue', 'maxValue').readOnly(), _dec4 = Ember.computed('percent', 'roundDigits').readOnly(), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class ProgressBar extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * The lower limit of the value range\n       *\n       * @property minValue\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"minValue\", _descriptor, this);\n      /**\n       * The upper limit of the value range\n       *\n       * @property maxValue\n       * @type number\n       * @default 100\n       * @public\n       */\n      _initializerDefineProperty(this, \"maxValue\", _descriptor2, this);\n      /**\n       * The value the progress bar should represent\n       *\n       * @property value\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"value\", _descriptor3, this);\n      /**\n       If true a label will be shown inside the progress bar.\n        By default it will be the percentage corresponding to the `value` property, rounded to `roundDigits` digits.\n       You can customize it by using the component with a block template, which the component yields the percentage\n       value to:\n        ```hbs\n       {{#bs-progress}}\n       {{#bs-progress-bar value=progressValue as |percent|}}{{progressValue}} ({{percent}}%){{/bs-progress-bar}}\n       {{/bs-progress}}\n       ```\n        @property showLabel\n       @type boolean\n       @default false\n       @public\n       */\n      _initializerDefineProperty(this, \"showLabel\", _descriptor4, this);\n      /**\n       * Create a striped effect, see http://getbootstrap.com/components/#progress-striped\n       *\n       * @property striped\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"striped\", _descriptor5, this);\n      /**\n       * Animate the stripes, see http://getbootstrap.com/components/#progress-animated\n       *\n       * @property animate\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"animate\", _descriptor6, this);\n      /**\n       * Specify to how many digits the progress bar label should be rounded.\n       *\n       * @property roundDigits\n       * @type number\n       * @default 0\n       * @public\n       */\n      _initializerDefineProperty(this, \"roundDigits\", _descriptor7, this);\n      /**\n       * Property for type styling\n       *\n       * For the available types see the [Bootstrap docs](https://getbootstrap.com/docs/4.3/components/progress/#backgrounds)\n       *\n       * @property type\n       * @type String\n       * @default 'default'\n       * @public\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor8, this);\n      _initializerDefineProperty(this, \"typeClass\", _descriptor9, this);\n    }\n    /**\n     * The percentage of `value`\n     *\n     * @property percent\n     * @type number\n     * @protected\n     * @readonly\n     */\n    get percent() {\n      let value = parseFloat(this.value);\n      let minValue = parseFloat(this.minValue);\n      let maxValue = parseFloat(this.maxValue);\n      return Math.min(Math.max((value - minValue) / (maxValue - minValue), 0), 1) * 100;\n    }\n\n    /**\n     * The percentage of `value`, rounded to `roundDigits` digits\n     *\n     * @property percentRounded\n     * @type number\n     * @protected\n     * @readonly\n     */\n    get percentRounded() {\n      let roundFactor = Math.pow(10, this.roundDigits);\n      return Math.round(this.percent * roundFactor) / roundFactor;\n    }\n    get percentStyleValue() {\n      let percent = this.percent;\n      return !isNaN(percent) ? `${percent}%` : '';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"minValue\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"maxValue\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 100;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"value\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"showLabel\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"striped\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"animate\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"roundDigits\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'default';\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"typeClass\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"percent\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"percent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"percentRounded\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"percentRounded\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, ProgressBar);\n});","define(\"ember-bootstrap/components/bs-tab\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/mixins/component-parent\", \"ember-bootstrap/components/bs-tab/pane\", \"ember-bootstrap/utils/cp/listen-to\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _component, _componentParent, _pane, _listenTo, _defaultDecorator, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"@ember/component\",0,\"@ember/utils\",0,\"@ember/array\",0,\"ember-bootstrap/mixins/component-parent\",0,\"ember-bootstrap/components/bs-tab/pane\",0,\"ember-bootstrap/utils/cp/listen-to\",0,\"ember-bootstrap/utils/default-decorator\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div ...attributes>\n    {{#if this.customTabs}}\n      {{yield\n        (hash\n          pane=(component (ensure-safe-component (bs-default @paneComponent (component \"bs-tab/pane\"))) parent=this activeId=this.isActiveId fade=this.fade fadeTransition=this.fadeTransition)\n          activeId=this.isActiveId\n          select=this.select\n        )\n      }}\n    {{else}}\n      {{#let (ensure-safe-component (bs-default @navComponent (component \"bs-nav\"))) as |NavComponent|}}\n        <NavComponent @type={{this.type}} role=\"tablist\" as |Nav|>\n          {{#each this.navItems as |item|}}\n            {{#if item.isGroup}}\n              <Nav.dropdown class={{if (bs-contains item.childIds this.isActiveId) \"active\"}} role=\"presentation\" as |DD|>\n                <DD.toggle>{{item.groupTitle}} <span class=\"caret\"></span></DD.toggle>\n                <DD.menu as |Menu|>\n                  {{#each item.children as |subItem|}}\n                    <Menu.item>\n                      <a\n                        href=\"#{{subItem.id}}\"\n                        role=\"tab\"\n                        class=\"dropdown-item {{if (bs-eq this.isActiveId subItem.id) \"active\"}}\"\n                        {{on \"click\" (fn this.select subItem.id)}}\n                      >\n                        {{subItem.title}}\n                      </a>\n                    </Menu.item>\n                  {{/each}}\n                </DD.menu>\n              </Nav.dropdown>\n            {{else}}\n              <Nav.item @active={{bs-eq item.id this.isActiveId}} role=\"presentation\">\n                <a\n                  href=\"#{{item.id}}\"\n                  role=\"tab\"\n                  class=\"nav-link {{if (bs-eq this.isActiveId item.id) \"active\"}}\"\n                  aria-selected={{if (bs-eq this.isActiveId item.id) \"true\" \"false\"}}\n                  {{on \"click\" (fn this.select item.id)}}\n                >\n                  {{item.title}}\n                </a>\n              </Nav.item>\n            {{/if}}\n          {{/each}}\n        </NavComponent>\n      {{/let}}\n  \n      <div class=\"tab-content\">\n        {{yield\n          (hash\n            pane=(component (ensure-safe-component (bs-default @paneComponent (component \"bs-tab/pane\"))) parent=this activeId=this.isActiveId fade=this.fade fadeTransition=this.fadeTransition)\n            activeId=this.isActiveId\n            select=this.select\n          )\n        }}\n      </div>\n    {{/if}}\n  \n  </div>\n  */\n  {\n    \"id\": \"6H5t1Ds0\",\n    \"block\": \"{\\\"symbols\\\":[\\\"NavComponent\\\",\\\"Nav\\\",\\\"item\\\",\\\"DD\\\",\\\"Menu\\\",\\\"subItem\\\",\\\"@navComponent\\\",\\\"@paneComponent\\\",\\\"&default\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[17,10],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"customTabs\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,9,[[30,[36,11],null,[[\\\"pane\\\",\\\"activeId\\\",\\\"select\\\"],[[30,[36,7],[[30,[36,9],[[30,[36,8],[[32,8],[30,[36,7],[\\\"bs-tab/pane\\\"],null]],null]],null]],[[\\\"parent\\\",\\\"activeId\\\",\\\"fade\\\",\\\"fadeTransition\\\"],[[32,0],[32,0,[\\\"isActiveId\\\"]],[32,0,[\\\"fade\\\"]],[32,0,[\\\"fadeTransition\\\"]]]]],[32,0,[\\\"isActiveId\\\"]],[32,0,[\\\"select\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,10],[[30,[36,9],[[30,[36,8],[[32,7],[30,[36,7],[\\\"bs-nav\\\"],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[[24,\\\"role\\\",\\\"tablist\\\"]],[[\\\"@type\\\"],[[32,0,[\\\"type\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[32,0,[\\\"navItems\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,3,[\\\"isGroup\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,2,[\\\"dropdown\\\"]],[[16,0,[30,[36,1],[[30,[36,4],[[32,3,[\\\"childIds\\\"]],[32,0,[\\\"isActiveId\\\"]]],null],\\\"active\\\"],null]],[24,\\\"role\\\",\\\"presentation\\\"]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[8,[32,4,[\\\"toggle\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[32,3,[\\\"groupTitle\\\"]]],[2,\\\" \\\"],[10,\\\"span\\\"],[14,0,\\\"caret\\\"],[12],[13]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n              \\\"],[8,[32,4,[\\\"menu\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,6],[[30,[36,5],[[30,[36,5],[[32,3,[\\\"children\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,[32,5,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                    \\\"],[11,\\\"a\\\"],[16,6,[31,[\\\"#\\\",[32,6,[\\\"id\\\"]]]]],[24,\\\"role\\\",\\\"tab\\\"],[16,0,[31,[\\\"dropdown-item \\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"isActiveId\\\"]],[32,6,[\\\"id\\\"]]],null],\\\"active\\\"],null]]]],[4,[38,3],[\\\"click\\\",[30,[36,2],[[32,0,[\\\"select\\\"]],[32,6,[\\\"id\\\"]]],null]],null],[12],[2,\\\"\\\\n                      \\\"],[1,[32,6,[\\\"title\\\"]]],[2,\\\"\\\\n                    \\\"],[13],[2,\\\"\\\\n                  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[6]}]]],[2,\\\"              \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,2,[\\\"item\\\"]],[[24,\\\"role\\\",\\\"presentation\\\"]],[[\\\"@active\\\"],[[30,[36,0],[[32,3,[\\\"id\\\"]],[32,0,[\\\"isActiveId\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[11,\\\"a\\\"],[16,6,[31,[\\\"#\\\",[32,3,[\\\"id\\\"]]]]],[24,\\\"role\\\",\\\"tab\\\"],[16,0,[31,[\\\"nav-link \\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"isActiveId\\\"]],[32,3,[\\\"id\\\"]]],null],\\\"active\\\"],null]]]],[16,\\\"aria-selected\\\",[30,[36,1],[[30,[36,0],[[32,0,[\\\"isActiveId\\\"]],[32,3,[\\\"id\\\"]]],null],\\\"true\\\",\\\"false\\\"],null]],[4,[38,3],[\\\"click\\\",[30,[36,2],[[32,0,[\\\"select\\\"]],[32,3,[\\\"id\\\"]]],null]],null],[12],[2,\\\"\\\\n                \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"tab-content\\\"],[12],[2,\\\"\\\\n      \\\"],[18,9,[[30,[36,11],null,[[\\\"pane\\\",\\\"activeId\\\",\\\"select\\\"],[[30,[36,7],[[30,[36,9],[[30,[36,8],[[32,8],[30,[36,7],[\\\"bs-tab/pane\\\"],null]],null]],null]],[[\\\"parent\\\",\\\"activeId\\\",\\\"fade\\\",\\\"fadeTransition\\\"],[[32,0],[32,0,[\\\"isActiveId\\\"]],[32,0,[\\\"fade\\\"]],[32,0,[\\\"fadeTransition\\\"]]]]],[32,0,[\\\"isActiveId\\\"]],[32,0,[\\\"select\\\"]]]]]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"bs-eq\\\",\\\"if\\\",\\\"fn\\\",\\\"on\\\",\\\"bs-contains\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"let\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-tab.hbs\"\n  });\n  /**\n    Tab component for dynamic tab functionality that mimics the behaviour of Bootstrap's tab.js plugin,\n    see http://getbootstrap.com/javascript/#tabs\n  \n    ### Usage\n  \n    Just nest any number of yielded [Components.TabPane](Components.TabPane.html) components that hold the tab content.\n    The tab navigation is automatically generated from the tab panes' `title` property:\n  \n    ```hbs\n    <BsTab as |tab|>\n      <tab.pane @title=\"Tab 1\">\n        <p> ... </p>\n      </tab.pane>\n      <tab.pane @title=\"Tab 2\">\n        <p> ... </p>\n      </tab.pane>\n    </BsTab>\n    ```\n  \n    ### Groupable (dropdown) tabs\n  \n    Bootstrap's support for dropdown menus as tab navigation is mimiced by the use of the `groupTitle` property.\n    All panes with the same `groupTitle` will be put inside the menu of a [Components.Dropdown](Components.Dropdown.html)\n    component with `groupTitle` being the dropdown's title:\n  \n    ```hbs\n    <BsTab as |tab|>\n      <tab.pane @title=\"Tab 1\">\n        <p> ... </p>\n      </tab.pane>\n      <tab.pane @title=\"Tab 2\">\n        <p> ... </p>\n      </tab.pane>\n      <tab.pane @title=\"Tab 3\" @groupTitle=\"Dropdown\">\n        <p> ... </p>\n      </tab.pane>\n      <tab.pane @title=\"Tab 4\" @groupTitle=\"Dropdown\">\n        <p> ... </p>\n      </tab.pane>\n    </BsTab>\n    ```\n  \n    ### Custom tabs\n  \n    When having the tab pane's `title` as the tab navigation title is not sufficient, for example because you want to\n    integrate some other dynamic content, maybe even other components in the tab navigation item, then you have to setup\n    your navigation by yourself.\n  \n    Set `customTabs` to true to deactivate the automatic tab navigation generation. Then setup your navigation, probably\n    using a [Components.Nav](Components.Nav.html) component. The tab component yields the `activeId` property as well as\n    its `select` action, which you would have to use to manually set the `active` state of the navigation items and to\n    trigger the selection of the different tab panes, using their ids:\n  \n    ```hbs\n    <BsTab @customTabs={{true}} as |tab|>\n      <BsNav @type=\"tabs\" as |nav|>\n        <nav.item @active={{bs-eq Tab.activeId \"pane1\"}}><a href=\"#pane1\" role=\"tab\" onclick={{action Tab.select \"pane1\"}}>Tab 1</a></nav.item>\n        <nav.item @active={{bs-eq Tab.activeId \"pane2\"}}><a href=\"#pane2\" role=\"tab\" onclick={{action Tab.select \"pane2\"}}>Tab 2 <span class=\"badge\">{{badge}}</span></a></nav.item>\n      </BsNav>\n      <div class=\"tab-content\">\n        <tab.pane @id=\"pane1\" @title=\"Tab 1\">\n          <p> ... </p>\n        </tab.pane>\n        <tab.pane @id=\"pane2\" @title=\"Tab 2\">\n          <p> ... </p>\n        </tab.pane>\n      </div>\n    </BsTab>\n    ```\n  \n    Note that the `bs-eq` helper used in the example above is a private helper, which is not guaranteed to be available for\n    the future. Better use the corresponding `eq` helper of the\n    [ember-truth-helpers](https://github.com/jmurphyau/ember-truth-helpers) addon for example!\n  \n    ### Routable tabs\n  \n    The tab component purpose is to have panes of content, that are all in DOM at the same time and that are activated and\n    deactivated dynamically, just as the  original Bootstrap implementation.\n  \n    If you want to have the content delivered through individual sub routes, just use\n    the [Components.Nav](Components.Nav.html) component and an `{{outlet}}` that show the nested routes' content:\n  \n    ```hbs\n    <div>\n      <BsNav @type=\"tabs\" as |nav|>\n        <nav.item>\n          <nav.linkTo @route=\"tabs.index\">Tab 1</nav.linkTo>\n        </nav.item>\n        <nav.item>\n          <nav.linkTo @route=\"tabs.other\">Tab 3</nav.linkTo>\n        </nav.item>\n      </BsNav>\n    </div>\n    ```\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Tab\n    @namespace Components\n    @extends Ember.Component\n    @uses Mixins.ComponentParent\n    @public\n  */\n  let Tab = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = Ember.computed.oneWay('childPanes.firstObject.id'), _dec3 = (0, _listenTo.default)('activeId'), _dec4 = Ember.computed.filter('children', function (view) {\n    return view instanceof _pane.default;\n  }), _dec5 = Ember.computed('childPanes.@each.{id,title,group}'), _dec6 = Ember._action, _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class Tab extends Ember.Component.extend(_componentParent.default) {\n    constructor(...args) {\n      super(...args);\n      /**\n       * Type of nav, either \"pills\" or \"tabs\"\n       *\n       * @property type\n       * @type String\n       * @default 'tabs'\n       * @public\n       */\n      _initializerDefineProperty(this, \"type\", _descriptor, this);\n      /**\n       * @property paneComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * @property navComponent\n       * @type {String}\n       * @private\n       */\n      /**\n       * By default the tabs will be automatically generated using the available [TabPane](Components.TabPane.html)\n       * components. If set to true, you can deactivate this and setup the tabs manually. See the example above.\n       *\n       * @property customTabs\n       * @type boolean\n       * @default false\n       * @public\n       */\n      _initializerDefineProperty(this, \"customTabs\", _descriptor2, this);\n      /**\n       * The id (`id`) of the active [TabPane](Components.TabPane.html).\n       * By default the first tab will be active, but this can be changed by setting this property\n       *\n       * ```hbs\n       * {{#bs-tab activeId=\"pane2\"}}\n       *   {{#tab.pane id=\"pane1\" title=\"Tab 1\"}}\n       *      ...\n       *   {{/tab.pane}}\n       *   {{#tab.pane id=\"pane1\" title=\"Tab 1\"}}\n       *     ...\n       *   {{/tab.pane}}\n       * {{/bs-tab}}\n       * ```\n       *\n       * When the selection is changed by user interaction this property will not update by using two-way bindings in order\n       * to follow DDAU best practices. If you want to react to such changes, subscribe to the `onChange` action\n       *\n       * @property activeId\n       * @type string\n       * @public\n       */\n      _initializerDefineProperty(this, \"activeId\", _descriptor3, this);\n      /**\n       * @property isActiveId\n       * @private\n       */\n      _initializerDefineProperty(this, \"isActiveId\", _descriptor4, this);\n      /**\n       * Set to false to disable the fade animation when switching tabs.\n       *\n       * @property fade\n       * @type boolean\n       * @default true\n       * @public\n       */\n      _initializerDefineProperty(this, \"fade\", _descriptor5, this);\n      /**\n       * The duration of the fade animation\n       *\n       * @property fadeDuration\n       * @type integer\n       * @default 150\n       * @public\n       */\n      _initializerDefineProperty(this, \"fadeDuration\", _descriptor6, this);\n      /**\n       * All `TabPane` child components\n       *\n       * @property childPanes\n       * @type array\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"childPanes\", _descriptor7, this);\n    }\n    /**\n     * This action is called when switching the active tab, with the new and previous pane id\n     *\n     * You can return false to prevent changing the active tab automatically, and do that in your action by\n     * setting `activeId`.\n     *\n     * @event onChange\n     * @public\n     */\n    onChange() {}\n    /**\n     * Array of objects that define the tab structure\n     *\n     * @property navItems\n     * @type array\n     * @readonly\n     * @private\n     */\n    get navItems() {\n      let items = Ember.A();\n      this.childPanes.forEach(pane => {\n        let groupTitle = pane.get('groupTitle');\n        let item = pane.getProperties('id', 'title');\n        if (Ember.isPresent(groupTitle)) {\n          let group = items.findBy('groupTitle', groupTitle);\n          if (group) {\n            group.children.push(item);\n            group.childIds.push(item.id);\n          } else {\n            items.push({\n              isGroup: true,\n              groupTitle,\n              children: Ember.A([item]),\n              childIds: Ember.A([item.id])\n            });\n          }\n        } else {\n          items.push(item);\n        }\n      });\n      return items;\n    }\n    select(id) {\n      let previous = this.isActiveId;\n      if (this.onChange(id, previous) !== false) {\n        // change active tab when `onChange` does not return false\n        this.set('isActiveId', id);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"type\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 'tabs';\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"customTabs\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"activeId\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"isActiveId\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"fade\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"fadeDuration\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 150;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"childPanes\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"navItems\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"navItems\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"select\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"select\"), _class2.prototype), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Tab);\n});","define(\"ember-bootstrap/components/bs-tab/pane\", [\"exports\", \"@ember-decorators/component\", \"ember-bootstrap/mixins/component-child\", \"ember-bootstrap/utils/transition-end\", \"ember-bootstrap/utils/cp/uses-transition\", \"ember-bootstrap/utils/default-decorator\", \"ember-bootstrap/utils/deprecate-subclassing\", \"ember-ref-bucket\"], function (_exports, _component, _componentChild, _transitionEnd, _usesTransition, _defaultDecorator, _deprecateSubclassing, _emberRefBucket) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-decorators/component\",0,\"@ember/object\",0,\"@ember/object/observers\",0,\"@ember/component\",0,\"@ember/runloop\",0,\"ember-bootstrap/mixins/component-child\",0,\"ember-bootstrap/utils/transition-end\",0,\"ember-bootstrap/utils/cp/uses-transition\",0,\"ember-bootstrap/utils/default-decorator\",0,\"@ember/object/internals\",0,\"ember-bootstrap/utils/deprecate-subclassing\",0,\"ember-ref-bucket\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"tab-pane {{if this.showContent \"show\"}} {{if this.active \"active\"}} {{if this.usesTransition \"fade\"}}\"\n    role=\"tabpanel\"\n    ...attributes\n    {{create-ref \"mainNode\"}}\n  >\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"2AyPW8el\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[\\\"tab-pane \\\",[30,[36,0],[[32,0,[\\\"showContent\\\"]],\\\"show\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"active\\\"]],\\\"active\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"usesTransition\\\"]],\\\"fade\\\"],null]]]],[24,\\\"role\\\",\\\"tabpanel\\\"],[17,1],[4,[38,1],[\\\"mainNode\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"create-ref\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-tab/pane.hbs\"\n  });\n  /**\n   The tab pane of a tab component.\n   See [Components.Tab](Components.Tab.html) for examples.\n  \n   @class TabPane\n   @namespace Components\n   @extends Ember.Component\n   @uses Mixins.ComponentChild\n   @public\n   */\n  let TabPane = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _emberRefBucket.ref)('mainNode'), _dec3 = Ember.computed('activeId', 'id').readOnly(), _dec4 = (0, _usesTransition.default)('fade'), _dec(_class = (0, _deprecateSubclassing.default)(_class = (_class2 = class TabPane extends Ember.Component.extend(_componentChild.default) {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property id\n       * @type null | HTMLElement\n       */\n      _initializerDefineProperty(this, \"_element\", _descriptor, this);\n      /**\n       * @property id\n       * @type string\n       * @public\n       */\n      _defineProperty(this, \"id\", Ember.guidFor(this));\n      /**\n       * @property activeId\n       * @private\n       */\n      _initializerDefineProperty(this, \"activeId\", _descriptor2, this);\n      /**\n       * Used to apply Bootstrap's \"active\" class\n       *\n       * @property active\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"active\", _descriptor3, this);\n      /**\n       * Used to trigger the Bootstrap visibility classes.\n       *\n       * @property showContent\n       * @type boolean\n       * @default false\n       * @private\n       */\n      _initializerDefineProperty(this, \"showContent\", _descriptor4, this);\n      /**\n       * The title for this tab pane. This is used by the `bs-tab` component to automatically generate\n       * the tab navigation.\n       * See the [Components.Tab](Components.Tab.html) for examples.\n       *\n       * @property title\n       * @type string\n       * @default null\n       * @public\n       */\n      _initializerDefineProperty(this, \"title\", _descriptor5, this);\n      /**\n       * An optional group title used by the `bs-tab` component to group all panes with the same group title\n       * under a common drop down in the tab navigation.\n       * See the [Components.Tab](Components.Tab.html) for examples.\n       *\n       * @property groupTitle\n       * @type string\n       * @default null\n       * @public\n       */\n      _initializerDefineProperty(this, \"groupTitle\", _descriptor6, this);\n      /**\n       * Use fade animation when switching tabs.\n       *\n       * @property fade\n       * @type boolean\n       * @private\n       */\n      _initializerDefineProperty(this, \"fade\", _descriptor7, this);\n      /**\n       * The duration of the fade out animation\n       *\n       * @property fadeDuration\n       * @type integer\n       * @default 150\n       * @private\n       */\n      _initializerDefineProperty(this, \"fadeDuration\", _descriptor8, this);\n      /**\n       * Use CSS transitions?\n       *\n       * @property usesTransition\n       * @type boolean\n       * @readonly\n       * @private\n       */\n      _initializerDefineProperty(this, \"usesTransition\", _descriptor9, this);\n    }\n    /**\n     * True if this pane is active (visible)\n     *\n     * @property isActive\n     * @type boolean\n     * @readonly\n     * @private\n     */\n    get isActive() {\n      return this.activeId === this.id;\n    }\n    /**\n     * Show the pane\n     *\n     * @method show\n     * @protected\n     */\n    show() {\n      if (this.usesTransition) {\n        if (!this._element) {\n          // _element is initially set by `{{create-ref}}` which happens in next run loop, so can be undefined here.\n          this.setProperties({\n            active: true,\n            showContent: true\n          });\n        } else {\n          (0, _transitionEnd.default)(this._element, this.fadeDuration).then(() => {\n            if (!this.isDestroyed) {\n              this.setProperties({\n                active: true,\n                showContent: true\n              });\n            }\n          });\n        }\n      } else {\n        this.set('active', true);\n      }\n    }\n\n    /**\n     * Hide the pane\n     *\n     * @method hide\n     * @protected\n     */\n    hide() {\n      if (this.usesTransition) {\n        (0, _transitionEnd.default)(this._element, this.fadeDuration).then(() => {\n          if (!this.isDestroyed) {\n            this.set('active', false);\n          }\n        });\n        this.set('showContent', false);\n      } else {\n        this.set('active', false);\n      }\n    }\n    _showHide() {\n      if (this.isActive) {\n        this.show();\n      } else {\n        this.hide();\n      }\n    }\n    _setActive() {\n      this.set('active', this.isActive);\n      this.set('showContent', this.isActive && this.fade);\n    }\n    init() {\n      super.init(...arguments);\n\n      // isActive comes from parent component, so only available after render...\n      Ember.run.scheduleOnce('afterRender', this, this._setActive);\n      Ember.addObserver(this, 'isActive', null, this._showHide, true);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"_element\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"activeId\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"isActive\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"isActive\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"active\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"showContent\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"title\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"groupTitle\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"fade\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return true;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"fadeDuration\", [_defaultDecorator.default], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 150;\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"usesTransition\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, TabPane);\n});","define(\"ember-bootstrap/components/bs-tooltip\", [\"exports\", \"ember-bootstrap/components/bs-contextual-help\", \"ember-bootstrap/utils/deprecate-subclassing\"], function (_exports, _bsContextualHelp, _deprecateSubclassing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-contextual-help\",0,\"ember-bootstrap/utils/deprecate-subclassing\"eaimeta@70e063a35619d71f\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{! template-lint-disable no-unbound }}\n  {{unbound this._parentFinder}}\n  {{#if this.inDom}}\n    {{#let (ensure-safe-component (bs-default @elementComponent (component \"bs-tooltip/element\"))) as |Element|}}\n      <Element\n        @placement={{this.placement}}\n        @fade={{this.fade}}\n        @showHelp={{this.showHelp}}\n        @renderInPlace={{this._renderInPlace}}\n        @destinationElement={{this.destinationElement}}\n        @popperTarget={{this.triggerTargetElement}}\n        @autoPlacement={{this.autoPlacement}}\n        @viewportElement={{this.viewportElement}}\n        @viewportPadding={{this.viewportPadding}}\n  \n        {{create-ref \"overlayElement\"}}\n        ...attributes\n      >\n        {{#if (has-block)}}\n          {{yield\n            (hash\n              close=this.close\n            )\n          }}\n        {{else}}\n          {{@title}}\n        {{/if}}\n      </Element>\n    {{/let}}\n  {{/if}}\n  {{did-insert this.setup}}\n  {{did-update this.showOrHide @visible}}\n  */\n  {\n    \"id\": \"w/kNdB7s\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Element\\\",\\\"@title\\\",\\\"&default\\\",\\\"&attrs\\\",\\\"@namedBlocksInfo\\\",\\\"@elementComponent\\\",\\\"@visible\\\"],\\\"statements\\\":[[1,[30,[36,8],[[32,0,[\\\"_parentFinder\\\"]]],null]],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"inDom\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,7],[[30,[36,6],[[30,[36,5],[[32,6],[30,[36,4],[\\\"bs-tooltip/element\\\"],null]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1],[[17,4],[4,[38,1],[\\\"overlayElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]]],[[\\\"@placement\\\",\\\"@fade\\\",\\\"@showHelp\\\",\\\"@renderInPlace\\\",\\\"@destinationElement\\\",\\\"@popperTarget\\\",\\\"@autoPlacement\\\",\\\"@viewportElement\\\",\\\"@viewportPadding\\\"],[[32,0,[\\\"placement\\\"]],[32,0,[\\\"fade\\\"]],[32,0,[\\\"showHelp\\\"]],[32,0,[\\\"_renderInPlace\\\"]],[32,0,[\\\"destinationElement\\\"]],[32,0,[\\\"triggerTargetElement\\\"]],[32,0,[\\\"autoPlacement\\\"]],[32,0,[\\\"viewportElement\\\"]],[32,0,[\\\"viewportPadding\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[32,5],\\\"default\\\",[27,[32,3]]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,3,[[30,[36,0],null,[[\\\"close\\\"],[[32,0,[\\\"close\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[1,[32,2]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]],[1,[30,[36,9],[[32,0,[\\\"setup\\\"]]],null]],[2,\\\"\\\\n\\\"],[1,[30,[36,10],[[32,0,[\\\"showOrHide\\\"]],[32,7]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\",\\\"create-ref\\\",\\\"-has-block\\\",\\\"if\\\",\\\"component\\\",\\\"bs-default\\\",\\\"ensure-safe-component\\\",\\\"let\\\",\\\"unbound\\\",\\\"did-insert\\\",\\\"did-update\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-tooltip.hbs\"\n  });\n  /**\n    Component that implements Bootstrap [tooltips](http://getbootstrap.com/javascript/#tooltips).\n  \n    By default, it will attach its listeners (mouseover and focus) to the parent DOM element to trigger\n    the tooltip:\n  \n    ```hbs\n    <button class=\"btn\">\n      <BsTooltip @title=\"This is a tooltip\" />\n    </button>\n    ```\n  \n    You can also use the component in a block form to set the title:\n  \n    ```hbs\n    <button class=\"btn\">\n      <BsTooltip>\n        This is a tooltip\n      </BsTooltip>\n    </button>\n    ```\n  \n    ### Trigger\n  \n    The trigger element is the DOM element that will cause the tooltip to be shown when one of the trigger events occur on\n    that element. By default, the trigger element is the parent DOM element of the component, and the trigger events will be\n    \"hover\" and \"focus\".\n  \n    The `triggerElement` property accepts any CSS selector to attach the tooltip to any other existing DOM element.\n  \n    To customize the events that will trigger the tooltip use the `triggerEvents` property, that accepts an array or a\n    string of events, with \"hover\", \"focus\" and \"click\" being supported.\n  \n    ### Placement options\n  \n    By default, the tooltip will show up on top of the trigger element. Use the `placement` property to change that\n    (\"top\", \"bottom\", \"left\" and \"right\"). To make sure the tooltip will not exceed the viewport (see Advanced customization)\n    you can set `autoPlacement` to true. A tooltip with `placement=\"right\" will be placed to the right if there is enough\n    space, otherwise to the left.\n  \n    ### Advanced customization\n  \n    Several other properties allow for some advanced customization:\n    * `visible` to show/hide the tooltip programmatically\n    * `fade` to disable the fade in transition\n    * `delay` (or `delayShow` and `delayHide`) to add a delay\n    * `viewportSelector` and `viewportPadding` to customize the viewport that affects `autoPlacement`\n    * a `close` action is yielded, that allows you to close the tooltip:\n  \n    ```hbs\n    <BsTooltip as |tt|>This is a tooltip <button onclick={{action tt.close}}>Close</button></BsTooltip>\n    ```\n  \n    See the individual API docs for each property.\n  \n    ### Actions\n  \n    When you want to react on the tooltip being shown or hidden, you can use one of the following supported actions:\n    * `onShow`\n    * `onShown`\n    * `onHide`\n    * `onHidden`\n  \n    *Note that only invoking the component in a template as shown above is considered part of its public API. Extending from it (subclassing) is generally not supported, and may break at any time.*\n  \n    @class Tooltip\n    @namespace Components\n    @extends Components.ContextualHelp\n    @public\n  */\n  let Tooltip = _exports.default = (0, _deprecateSubclassing.default)(_class = class Tooltip extends _bsContextualHelp.default {\n    /**\n     * @property elementComponent\n     * @type {String}\n     * @private\n     */\n\n    /**\n     * The DOM element of the arrow element.\n     *\n     * @property arrowElement\n     * @type object\n     * @readonly\n     * @private\n     */\n    get arrowElement() {\n      return this.overlayElement.querySelector('.tooltip-arrow');\n    }\n  }) || _class;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Tooltip);\n});","define(\"ember-bootstrap/components/bs-tooltip/element\", [\"exports\", \"ember-bootstrap/components/bs-contextual-help/element\"], function (_exports, _element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/components/bs-contextual-help/element\",0,\"@embroider/macros\"eaimeta@70e063a35619d71f\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @renderInPlace}}\n    <div\n      class=\"tooltip {{if this.fade \"fade\"}} {{this.actualPlacementClass}} {{if this.showHelp \"show\"}}\"\n      role=\"tooltip\"\n      ...attributes\n      {{popper-tooltip @popperTarget this.popperOptions}}\n      {{create-ref \"popperElement\"}}\n    >\n      <div class={{this.arrowClass}}></div>\n      <div class=\"tooltip-inner\">\n        {{yield}}\n      </div>\n    </div>\n  {{else}}\n    {{#in-element @destinationElement insertBefore=null}}\n      <div\n        class=\"tooltip {{if this.fade \"fade\"}} {{this.actualPlacementClass}} {{if this.showHelp \"show\"}}\"\n        role=\"tooltip\"\n        ...attributes\n        {{popper-tooltip @popperTarget this.popperOptions}}\n        {{create-ref \"popperElement\"}}\n      >\n        <div class={{this.arrowClass}}></div>\n        <div class=\"tooltip-inner\">\n          {{yield}}\n        </div>\n      </div>\n    {{/in-element}}\n  {{/if}}\n  \n  \n  */\n  {\n    \"id\": \"vy50GAxB\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@popperTarget\\\",\\\"&default\\\",\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],\\\"statements\\\":[[6,[37,0],[[32,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"tooltip \\\",[30,[36,0],[[32,0,[\\\"fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[32,0,[\\\"actualPlacementClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"showHelp\\\"]],\\\"show\\\"],null]]]],[24,\\\"role\\\",\\\"tooltip\\\"],[17,1],[4,[38,1],[[32,2],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[\\\"popperElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"arrowClass\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"tooltip-inner\\\"],[12],[2,\\\"\\\\n      \\\"],[18,3,null],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[32,4]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"div\\\"],[16,0,[31,[\\\"tooltip \\\",[30,[36,0],[[32,0,[\\\"fade\\\"]],\\\"fade\\\"],null],\\\" \\\",[32,0,[\\\"actualPlacementClass\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"showHelp\\\"]],\\\"show\\\"],null]]]],[24,\\\"role\\\",\\\"tooltip\\\"],[17,1],[4,[38,1],[[32,2],[32,0,[\\\"popperOptions\\\"]]],null],[4,[38,2],[\\\"popperElement\\\"],[[\\\"debugName\\\",\\\"bucket\\\"],[\\\"create-ref\\\",[32,0]]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"arrowClass\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"tooltip-inner\\\"],[12],[2,\\\"\\\\n        \\\"],[18,3,null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"popper-tooltip\\\",\\\"create-ref\\\",\\\"-in-el-null\\\",\\\"in-element\\\"]}\",\n    \"moduleName\": \"ember-bootstrap/components/bs-tooltip/element.hbs\"\n  });\n  /**\n   Internal component for tooltip's markup. Should not be used directly.\n  \n   @class TooltipElement\n   @namespace Components\n   @extends Components.ContextualHelpElement\n   @private\n   */\n  class TooltipElement extends _element.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"arrowClass\", 'arrow');\n      _defineProperty(this, \"placementClassPrefix\", 'bs-tooltip-');\n    }\n  }\n  _exports.default = TooltipElement;\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, TooltipElement);\n});","define(\"ember-bootstrap/config\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\"eaimeta@70e063a35619d71f\n  class Config extends Ember.Object {}\n  Config.reopenClass({\n    formValidationSuccessIcon: 'glyphicon glyphicon-ok',\n    formValidationErrorIcon: 'glyphicon glyphicon-remove',\n    formValidationWarningIcon: 'glyphicon glyphicon-warning-sign',\n    formValidationInfoIcon: 'glyphicon glyphicon-info-sign',\n    insertEmberWormholeElementToDom: true,\n    load(config = {}) {\n      for (let property in config) {\n        if (Object.prototype.hasOwnProperty.call(this, property) && typeof this[property] !== 'function') {\n          this[property] = config[property];\n        }\n      }\n    }\n  });\n  var _default = _exports.default = Config;\n});","define(\"ember-bootstrap/helpers/bs-contains\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.bsContains = bsContains;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/array\"eaimeta@70e063a35619d71f\n  function bsContains(params /* , hash*/) {\n    return Ember.isArray(params[0]) ? Ember.A(params[0]).includes(params[1]) : false;\n  }\n  var _default = _exports.default = Ember.Helper.helper(bsContains);\n});","define(\"ember-bootstrap/helpers/bs-default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.bsDefault = bsDefault;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  function bsDefault(params) {\n    return params[0] ?? params[1];\n  }\n  var _default = _exports.default = Ember.Helper.helper(bsDefault);\n});","define(\"ember-bootstrap/helpers/bs-eq\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.eq = eq;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  function eq(params) {\n    return params[0] === params[1];\n  }\n  var _default = _exports.default = Ember.Helper.helper(eq);\n});","define(\"ember-bootstrap/helpers/bs-form-horiz-input-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/debug\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = Ember.Helper.helper(function bsFormHorizInputClass([horizontalLabelGridClass] /*, named*/) {\n    if (Ember.isBlank(horizontalLabelGridClass)) {\n      return undefined;\n    }\n    let parts = horizontalLabelGridClass.split('-');\n    (true && !(parts.length === 3) && Ember.assert('horizontalInputGridClass must match format bootstrap grid column class', parts.length === 3));\n    parts[2] = 12 - parts[2];\n    return parts.join('-');\n  });\n});","define(\"ember-bootstrap/helpers/bs-form-horiz-offset-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = Ember.Helper.helper(function bsFormHorizOffsetClass([horizontalLabelGridClass] /*, named*/) {\n    if (Ember.isBlank(horizontalLabelGridClass)) {\n      return undefined;\n    }\n    let parts = horizontalLabelGridClass.split('-');\n    parts.splice(0, 1, 'offset');\n    return parts.join('-');\n  });\n});","define(\"ember-bootstrap/helpers/bs-noop\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.bsNoop = bsNoop;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  const noop = () => {};\n  function bsNoop() {\n    return noop;\n  }\n  var _default = _exports.default = Ember.Helper.helper(bsNoop);\n});","define(\"ember-bootstrap/helpers/bs-size-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sizeClassHelper = sizeClassHelper;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function sizeClassHelper([prefix, size], {\n    default: defaultValue\n  }) {\n    size = size ?? defaultValue;\n    return Ember.isBlank(size) ? null : `${prefix}-${size}`;\n  }\n  var _default = _exports.default = Ember.Helper.helper(sizeClassHelper);\n});","define(\"ember-bootstrap/helpers/bs-type-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.typeClassHelper = typeClassHelper;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\"eaimeta@70e063a35619d71f\n  function typeClassHelper([prefix, type], {\n    default: defaultValue,\n    outline = false\n  }) {\n    type = type ?? defaultValue;\n    if (outline) {\n      return `${prefix}-outline-${type}`;\n    }\n    return `${prefix}-${type}`;\n  }\n  var _default = _exports.default = Ember.Helper.helper(typeClassHelper);\n});","define(\"ember-bootstrap/mixins/component-child\", [\"exports\", \"ember-bootstrap/mixins/component-parent\"], function (_exports, _componentParent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object/mixin\",0,\"@ember/object\",0,\"ember-bootstrap/mixins/component-parent\"eaimeta@70e063a35619d71f\n  /**\n   * Mixin for components that act as a child component in a parent-child relationship of components\n   *\n   * @class ComponentChild\n   * @namespace Mixins\n   * @private\n   */\n  // eslint-disable-next-line ember/no-new-mixins\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n     * The parent component\n     *\n     * @property _parent\n     * @private\n     */\n    _parent: Ember.computed(function () {\n      return this.nearestOfType(_componentParent.default);\n    }),\n    /**\n     * flag to check if component has already been registered\n     * @property _didRegister\n     * @type boolean\n     * @private\n     */\n    _didRegister: false,\n    /**\n     * Register ourself as a child at the parent component\n     * We use the `willRender` event here to also support the fastboot environment, where there is no `didInsertElement`\n     *\n     * @method _registerWithParent\n     * @private\n     */\n    _registerWithParent() {\n      if (!this._didRegister) {\n        let parent = this._parent;\n        if (parent) {\n          parent.registerChild(this);\n          this._didRegister = true;\n        }\n      }\n    },\n    /**\n     * Unregister from the parent component\n     *\n     * @method _unregisterFromParent\n     * @private\n     */\n    _unregisterFromParent() {\n      let parent = this._parent;\n      if (this._didRegister && parent) {\n        parent.removeChild(this);\n        this._didRegister = false;\n      }\n    },\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this._registerWithParent();\n    },\n    willRender() {\n      this._super(...arguments);\n      this._registerWithParent();\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this._unregisterFromParent();\n    }\n  });\n});","define(\"ember-bootstrap/mixins/component-parent\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/runloop\",0,\"@ember/array\",0,\"@ember/object/mixin\"eaimeta@70e063a35619d71f\n  /**\n   * Mixin for components that act as a parent component in a parent-child relationship of components\n   *\n   * @class ComponentParent\n   * @namespace Mixins\n   * @private\n   */\n  // eslint-disable-next-line ember/no-new-mixins\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n     * Array of registered child components\n     *\n     * @property children\n     * @type array\n     * @protected\n     */\n    children: null,\n    init() {\n      this._super(...arguments);\n      this.set('children', Ember.A());\n    },\n    /**\n     * Register a component as a child of this parent\n     *\n     * @method registerChild\n     * @param child\n     * @public\n     */\n    registerChild(child) {\n      Ember.run.schedule('actions', this, function () {\n        this.children.addObject(child);\n      });\n    },\n    /**\n     * Remove the child component from this parent component\n     *\n     * @method removeChild\n     * @param child\n     * @public\n     */\n    removeChild(child) {\n      Ember.run.schedule('actions', this, function () {\n        this.children.removeObject(child);\n      });\n    }\n  });\n});","define(\"ember-bootstrap/utils/cp/listen-to\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\"eaimeta@70e063a35619d71f\n  /**\n   * CP macro that listens to dependent (external) property, but allows overriding it locally without violating DDAU\n   * By using a simple setter it will still trigger on changes of the dependent property even when being set before.\n   *\n   * Kudos to @fsmanuel for coming up with this solution.\n   *\n   * @method\n   * @return {boolean}\n   * @param {string} dependentKey\n   * @param {*} defaultValue\n   * @private\n   */\n  function _default(dependentKey, defaultValue = null) {\n    return Ember.computed(dependentKey, {\n      get() {\n        return this[dependentKey] ?? defaultValue;\n      },\n      set(key, value) {\n        // eslint-disable-line no-unused-vars\n        return value;\n      }\n    });\n  }\n});","define(\"ember-bootstrap/utils/cp/overrideable\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = overrideableCP;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  /**\n   * CP macro that created a regular computed property, which can be manually overriden.\n   * This is needed after implicitly overrideable CPs have been deprecated:\n   * https://deprecations-app-prod.herokuapp.com/deprecations/v3.x/#toc_computed-property-override\n   *\n   * @private\n   */\n  function overrideableCP() {\n    let fn = Array.prototype.slice.call(arguments, -1)[0];\n    let args = Array.prototype.slice.call(arguments, 0, arguments.length - 1);\n    (true && !(typeof fn === 'function') && Ember.assert('Last argument for overrideableCP must be a function', typeof fn === 'function'));\n    return Ember.computed(...args, {\n      get(key) {\n        let overridden = this[`__${key}`];\n        return overridden || fn.call(this);\n      },\n      set(key, value) {\n        this[`__${key}`] = value;\n        return value;\n      }\n    });\n  }\n});","define(\"ember-bootstrap/utils/cp/size-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = sizeClass;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/utils\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function sizeClass(prefix, sizeProperty) {\n    (true && !(typeof prefix === 'string') && Ember.assert('You have to provide a prefix for sizeClass', typeof prefix === 'string'));\n    (true && !(typeof sizeProperty === 'string') && Ember.assert('You have to provide a sizeProperty for sizeClass', typeof sizeProperty === 'string'));\n    return Ember.computed('size', function () {\n      let size = this[sizeProperty];\n      (true && !(!size || typeof size === 'string' && size !== '') && Ember.assert('The value of `size` must be a string', !size || typeof size === 'string' && size !== ''));\n      return Ember.isBlank(size) ? null : `${prefix}-${size}`;\n    });\n  }\n});","define(\"ember-bootstrap/utils/cp/type-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = typeClass;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function typeClass(prefix, typeProperty) {\n    (true && !(typeof prefix === 'string') && Ember.assert('You have to provide a prefix for typeClass', typeof prefix === 'string'));\n    (true && !(typeof typeProperty === 'string') && Ember.assert('You have to provide a typeProperty for typeClass', typeof typeProperty === 'string'));\n    return Ember.computed('outline', 'type', function () {\n      let type = this[typeProperty] || 'default';\n      (true && !(typeof type === 'string' && type !== '') && Ember.assert('The value of `type` must be a string', typeof type === 'string' && type !== ''));\n      if (this.outline) {\n        return `${prefix}-outline-${type}`;\n      }\n      return `${prefix}-${type}`;\n    });\n  }\n});","define(\"ember-bootstrap/utils/cp/uses-transition\", [\"exports\", \"ember-bootstrap/utils/is-fastboot\"], function (_exports, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = usesTransition;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/debug\",0,\"ember-bootstrap/utils/is-fastboot\"eaimeta@70e063a35619d71f\n  function usesTransition(fadeProperty) {\n    (true && !(typeof fadeProperty === 'string') && Ember.assert('You have to provide a fadeProperty for typeClass', typeof fadeProperty === 'string'));\n    return Ember.computed(fadeProperty, function () {\n      return !(0, _isFastboot.default)(this) && this[fadeProperty];\n    });\n  }\n});","define(\"ember-bootstrap/utils/decorators/arg\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = arg;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function arg(target, key, descriptor) {\n    return {\n      get() {\n        const argValue = this.args[key];\n        return argValue !== undefined ? argValue : descriptor.initializer ? descriptor.initializer.call(this) : undefined;\n      }\n    };\n  }\n});","define(\"ember-bootstrap/utils/decorators/uses-transition\", [\"exports\", \"ember-bootstrap/utils/is-fastboot\"], function (_exports, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = arg;\n  0; //eaimeta@70e063a35619d71f0,\"ember-bootstrap/utils/is-fastboot\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function arg(fadeProperty) {\n    (true && !(typeof fadeProperty === 'string') && Ember.assert('You have to provide a fadeProperty for typeClass', typeof fadeProperty === 'string'));\n    return function () {\n      return {\n        get() {\n          return !(0, _isFastboot.default)(this) && this.args[fadeProperty] !== false;\n        }\n      };\n    };\n  }\n});","define(\"ember-bootstrap/utils/default-decorator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = defaultValue;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\"eaimeta@70e063a35619d71f\n  function defaultValue(target, key, descriptor) {\n    let {\n      initializer,\n      value\n    } = descriptor;\n    return Ember.computed({\n      get() {\n        return initializer ? initializer.call(this) : value;\n      },\n      set(_, v) {\n        if (v !== undefined) {\n          return v;\n        }\n        return initializer ? initializer.call(this) : value;\n      }\n    })(target, key, {\n      ...descriptor,\n      value: undefined,\n      initializer: undefined\n    });\n  }\n});","define(\"ember-bootstrap/utils/deprecate-subclassing\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = deprecateSubclassing;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/env\",0,\"@ember/debug\",0,\"@ember/runloop\"eaimeta@70e063a35619d71f\n  function deprecateSubclassing(target) {\n    if (true /* DEBUG */) {\n      const wrapperClass = class extends target {\n        constructor() {\n          super(...arguments);\n          // we need to delay the deprecation check, as the __ember-bootstrap_subclass class field will only be set *after* the constructor\n          Ember.run.next(() => {\n            (true && !(\n            // the `__ember-bootstrap_subclass` flag is an escape hatch for \"privileged\" addons like validations addons that currently still have to rely on subclassing\n            wrapperClass === this.constructor || this['__ember-bootstrap_subclass'] === true) && Ember.deprecate(`Extending from ember-bootstrap component classes is not supported, and might break anytime. Detected subclassing of <Bs${target.name}> component.`, wrapperClass === this.constructor || this['__ember-bootstrap_subclass'] === true, {\n              id: `ember-bootstrap.subclassing#${target.name}`,\n              until: '5.0.0',\n              since: '4.0.0',\n              for: 'ember-bootstrap'\n            }));\n          });\n        }\n      };\n      return wrapperClass;\n    }\n  }\n});","define(\"ember-bootstrap/utils/dom\", [\"exports\", \"require\"], function (_exports, _require) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.findElemementByIdInShadowDom = findElemementByIdInShadowDom;\n  _exports.findElementById = findElementById;\n  _exports.getDOM = getDOM;\n  _exports.getDestinationElement = getDestinationElement;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"@glimmer/env\",0,\"require\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function childNodesOfElement(element) {\n    let children = [];\n    let child = element.firstChild;\n    while (child) {\n      children.push(child);\n      child = child.nextSibling;\n    }\n    return children;\n  }\n  function findElementById(doc, id) {\n    if (doc.getElementById) {\n      return doc.getElementById(id);\n    }\n    let nodes = childNodesOfElement(doc);\n    let node;\n    while (nodes.length) {\n      node = nodes.shift();\n      if (node.getAttribute && node.getAttribute('id') === id) {\n        return node;\n      }\n      nodes = childNodesOfElement(node).concat(nodes);\n    }\n  }\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?._dom) {\n      // pre glimmer2\n      let container = Ember.getOwner ? Ember.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      return renderer._dom.document;\n    } else {\n      throw new Error('Could not get DOM');\n    }\n  }\n  function getDestinationElement(context) {\n    let dom = getDOM(context);\n    const id = 'ember-bootstrap-wormhole';\n    let destinationElement = findElementById(dom, id) || findElemementByIdInShadowDom(context, id);\n    if (true /* DEBUG */ && !destinationElement) {\n      let config = Ember.getOwner(context).resolveRegistration('config:environment');\n      if (config.environment === 'test' && typeof FastBoot === 'undefined') {\n        let id;\n        if (_require.default.has('@ember/test-helpers/dom/get-root-element')) {\n          try {\n            id = (0, _require.default)('@ember/test-helpers/dom/get-root-element').default().id;\n          } catch (ex) {\n            // no op\n          }\n        }\n        if (!id) {\n          return document.querySelector('#ember-testing');\n        }\n        return document.getElementById(id);\n      }\n      (true && Ember.warn(`No wormhole destination element found for component ${context}. If you have set \\`insertEmberWormholeElementToDom\\` to false, you should insert a \\`div#ember-bootstrap-wormhole\\` manually!`, false, {\n        id: 'ember-bootstrap.no-destination-element'\n      }));\n    }\n    return destinationElement;\n  }\n  function findElemementByIdInShadowDom(context, id) {\n    const owner = Ember.getOwner(context);\n    return owner.rootElement.querySelector && owner.rootElement.querySelector(`[id=\"${id}\"]`);\n  }\n});","define(\"ember-bootstrap/utils/form-validation-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = formValidationClass;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function formValidationClass(validationType) {\n    switch (validationType) {\n      case 'error':\n        return 'is-invalid';\n      case 'success':\n        return 'is-valid';\n      case 'warning':\n        return 'is-warning';\n      // not officially supported in BS4 :(\n      default:\n        return undefined;\n    }\n  }\n});","define(\"ember-bootstrap/utils/is-fastboot\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isFastBoot;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\"eaimeta@70e063a35619d71f\n  function isFastBoot(context) {\n    let owner = Ember.getOwner(context);\n    let fastbootService = owner.lookup('service:fastboot');\n    return fastbootService ? fastbootService.get('isFastBoot') : false;\n  }\n});","define(\"ember-bootstrap/utils/size-class\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = sizeClass;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/utils\",0,\"@ember/debug\"eaimeta@70e063a35619d71f\n  function sizeClass(prefix, size) {\n    (true && !(typeof prefix === 'string') && Ember.assert('You have to provide a prefix for sizeClass', typeof prefix === 'string'));\n    (true && !(!size || typeof size === 'string' && size !== '') && Ember.assert('The value of `size` must be a string', !size || typeof size === 'string' && size !== ''));\n    return Ember.isBlank(size) ? null : `${prefix}-${size}`;\n  }\n});","define(\"ember-bootstrap/utils/transition-end\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForTransitionEnd;\n  _exports.skipTransition = skipTransition;\n  0; //eaimeta@70e063a35619d71f0,\"ember\",0,\"@ember/runloop\",0,\"rsvp\"eaimeta@70e063a35619d71f\n  let _skipTransition;\n  function skipTransition(bool) {\n    _skipTransition = bool;\n  }\n  function _isSkipped() {\n    return _skipTransition === true | _skipTransition !== false && Ember.testing;\n  }\n  function waitForTransitionEnd(node, duration = 0) {\n    if (!node) {\n      return Ember.RSVP.reject();\n    }\n    let backup;\n    if (_isSkipped()) {\n      duration = 0;\n    }\n    return new Ember.RSVP.Promise(function (resolve) {\n      let done = function () {\n        if (backup) {\n          Ember.run.cancel(backup);\n          backup = null;\n        }\n        node.removeEventListener('transitionend', done);\n        resolve();\n      };\n      node.addEventListener('transitionend', done, false);\n      backup = Ember.run.later(this, done, duration);\n    });\n  }\n});","define(\"ember-bootstrap/version\", [\"exports\", \"@embroider/macros/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.VERSION = void 0;\n  _exports.registerLibrary = registerLibrary;\n  0; //eaimeta@70e063a35619d71f0,\"@embroider/macros\",0,\"ember\"eaimeta@70e063a35619d71f\n  const VERSION = _exports.VERSION = (0, _runtime.config)(\"/Users/henrik/Documents/SmartGridBilling/A AI/admin-ui-monorepo/administration_ui/node_modules/.pnpm/ember-bootstrap@5.1.1_@babel+core@7.28.3_ember-source@3.24.6_@babel+core@7.28.3__webpack@5.74.0/node_modules/ember-bootstrap\").version;\n  function registerLibrary() {\n    Ember.libraries.register('Ember Bootstrap', VERSION);\n  }\n});","define(\"ember-buffered-proxy/helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.aliasMethod = aliasMethod;\n  _exports.empty = empty;\n  const hasOwnProp = Object.prototype.hasOwnProperty;\n  function aliasMethod(methodName) {\n    return function () {\n      return this[methodName].apply(this, arguments);\n    };\n  }\n  function empty(obj) {\n    let key;\n    for (key in obj) {\n      if (!hasOwnProp.call(obj, key)) {\n        continue;\n      }\n      return false;\n    }\n    return true;\n  }\n});","define(\"ember-buffered-proxy/mixin\", [\"exports\", \"ember-buffered-proxy/helpers\"], function (_exports, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    meta\n  } = Ember; // eslint-disable-line ember/new-module-imports\n  const hasOwnProp = Object.prototype.hasOwnProperty;\n  function monkeyPatchedNotifyPropertyChange(context, key) {\n    if (true && false) {\n      let content = Ember.get(context, 'content');\n      Ember.notifyPropertyChange(content, key);\n    } else {\n      Ember.notifyPropertyChange(context, key);\n    }\n  }\n  var _default = _exports.default = Ember.Mixin.create({\n    buffer: null,\n    hasBufferedChanges: false,\n    hasChanges: Ember.computed.readOnly('hasBufferedChanges'),\n    applyChanges: (0, _helpers.aliasMethod)('applyBufferedChanges'),\n    discardChanges: (0, _helpers.aliasMethod)('discardBufferedChanges'),\n    init() {\n      this.initializeBuffer();\n      Ember.set(this, 'hasBufferedChanges', false);\n      this._super(...arguments);\n    },\n    initializeBuffer(onlyTheseKeys) {\n      if (Ember.isArray(onlyTheseKeys) && !(0, _helpers.empty)(onlyTheseKeys)) {\n        onlyTheseKeys.forEach(key => delete this.buffer[key]);\n      } else {\n        Ember.set(this, 'buffer', Object.create(null));\n      }\n    },\n    unknownProperty(key) {\n      const buffer = Ember.get(this, 'buffer');\n      return hasOwnProp.call(buffer, key) ? buffer[key] : this._super(key);\n    },\n    setUnknownProperty(key, value) {\n      const m = meta(this);\n      if (m.proto === this || m.isInitializing && m.isInitializing()) {\n        // if marked as prototype or object is initializing then just\n        // defineProperty rather than delegate\n        Ember.defineProperty(this, key, null, value);\n        return value;\n      }\n      const {\n        buffer,\n        content\n      } = Ember.getProperties(this, ['buffer', 'content']);\n      let current;\n      let previous;\n      if (content != null) {\n        current = Ember.get(content, key);\n      }\n      previous = hasOwnProp.call(buffer, key) ? buffer[key] : current;\n      if (previous === value) {\n        return;\n      }\n      if (current === value) {\n        delete buffer[key];\n        if ((0, _helpers.empty)(buffer)) {\n          Ember.set(this, 'hasBufferedChanges', false);\n        }\n      } else {\n        buffer[key] = value;\n        Ember.set(this, 'hasBufferedChanges', true);\n      }\n      monkeyPatchedNotifyPropertyChange(this, key);\n      return value;\n    },\n    applyBufferedChanges(onlyTheseKeys) {\n      const {\n        buffer,\n        content\n      } = Ember.getProperties(this, ['buffer', 'content']);\n      Object.keys(buffer).forEach(key => {\n        if (Ember.isArray(onlyTheseKeys) && onlyTheseKeys.indexOf(key) === -1) {\n          return;\n        }\n        Ember.set(content, key, buffer[key]);\n      });\n      this.initializeBuffer(onlyTheseKeys);\n      if ((0, _helpers.empty)(Ember.get(this, 'buffer'))) {\n        Ember.set(this, 'hasBufferedChanges', false);\n      }\n    },\n    discardBufferedChanges(onlyTheseKeys) {\n      const buffer = Ember.get(this, 'buffer');\n      this.initializeBuffer(onlyTheseKeys);\n      Object.keys(buffer).forEach(key => {\n        if (Ember.isArray(onlyTheseKeys) && onlyTheseKeys.indexOf(key) === -1) {\n          return;\n        }\n        monkeyPatchedNotifyPropertyChange(this, key);\n      });\n      if ((0, _helpers.empty)(Ember.get(this, 'buffer'))) {\n        Ember.set(this, 'hasBufferedChanges', false);\n      }\n    },\n    /*\n     * Determines if a given key has changed else returns false. Allows individual key lookups where\n     * as hasBufferedChanged only looks at the whole buffer.\n     */\n    hasChanged(key) {\n      const {\n        buffer,\n        content\n      } = Ember.getProperties(this, ['buffer', 'content']);\n      if (typeof key !== 'string' || typeof Ember.get(buffer, key) === 'undefined') {\n        return false;\n      }\n      if (Ember.get(buffer, key) !== Ember.get(content, key)) {\n        return true;\n      }\n      return false;\n    }\n  });\n});","define(\"ember-buffered-proxy/proxy\", [\"exports\", \"ember-buffered-proxy/mixin\"], function (_exports, _mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ObjectProxy.extend(_mixin.default);\n});","define(\"ember-cached-decorator-polyfill/index\", [\"exports\"], function (_exports) {\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) && Ember.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) && Ember.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') && Ember.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, Ember._createCache(getter.bind(this)));\n      return Ember._cacheGetValue(caches.get(this));\n    };\n  }\n});","define(\"ember-can/ability\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EmberObjectAbility extends Ember.Object {\n    /**\n     * Parse propertyName into ability property\n     * eg: `createProject` will be parsed to `canCreateProject` using default definition\n     * @public\n     * @param  {[String]} propertyName [description]\n     * @return {[String]}              [description]\n     */\n    parseProperty(propertyName) {\n      return Ember.String.camelize(`can-${propertyName}`);\n    }\n\n    /**\n     * Get parsed ability value based on propertyName\n     * eg: `createProject` will return a value for `canCreateProject`\n     * using default `parseProperty` definition\n     * @param  {String} propertyName property name, eg. `createProject`\n     * @param  {any} model\n     * @param  {Object} properties\n     * @return {*}                   value of parsed `propertyName` property\n     */\n    getAbility(propertyName, model, properties) {\n      const abilityValue = Ember.get(this, this.parseProperty(propertyName));\n      if (typeof abilityValue === 'function') {\n        return abilityValue.call(this, model, properties);\n      }\n      return abilityValue;\n    }\n  }\n  _exports.default = EmberObjectAbility;\n});","define(\"ember-can/computed\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ability = ability;\n  function ability(abilityName, resourceName) {\n    (true && !(false) && Ember.deprecate('Using ability() computed property is deprecated. Use getters and Can service directly.', false, {\n      for: 'ember-can',\n      since: {\n        enabled: '4.0.0'\n      },\n      id: 'ember-can.deprecate-ability-computed',\n      until: '5.0.0'\n    }));\n    resourceName = resourceName || abilityName;\n    return Ember.computed(resourceName, function () {\n      let canService = Ember.getOwner(this).lookup('service:abilities');\n      return canService.abilityFor(abilityName, Ember.get(this, resourceName));\n    }).readOnly();\n  }\n});","define(\"ember-can/helpers/can\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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 CanHelper = _exports.default = (_dec = Ember.inject.service('abilities'), _class = class CanHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"abilities\", _descriptor, this);\n    }\n    compute([abilityString, model], properties = {}) {\n      return this.abilities.can(abilityString, model, properties);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"abilities\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-can/helpers/cannot\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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 CannotHelper = _exports.default = (_dec = Ember.inject.service('abilities'), _class = class CannotHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"abilities\", _descriptor, this);\n    }\n    compute([abilityString, model], properties = {}) {\n      return this.abilities.cannot(abilityString, model, properties);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"abilities\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-can/index\", [\"exports\", \"ember-can/ability\"], function (_exports, _ability) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Ability\", {\n    enumerable: true,\n    get: function () {\n      return _ability.default;\n    }\n  });\n});","define(\"ember-can/initializers/setup-ember-can\", [\"exports\", \"ember-resolver\"], function (_exports, _emberResolver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  _emberResolver.default.reopen({\n    init() {\n      this._super(...arguments);\n      this.set('pluralizedTypes.ability', 'abilities');\n    }\n  });\n  function initialize() {}\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"ember-can/services/abilities\", [\"exports\", \"ember-can/ability\", \"ember-can/utils/normalize\"], function (_exports, _ability, _normalize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class AbilitiesService extends Ember.Service {\n    /**\n     * Parse abilityString into an object with extracted propertyName and abilityName\n     * eg. for 'create projects in account' -> `{ propertyName: 'createProjects', abilityName: 'account'}`\n     * @public\n     * @param  {String} string eg. 'create projects in account'\n     * @return {Object}        extracted propertyName and abilityName\n     */\n    parse(abilityString) {\n      return (0, _normalize.default)(abilityString);\n    }\n\n    /**\n     * Create an instance of Ability\n     * @public\n     * @param  {String} abilityName     name of ability class\n     * @param  {*}      model\n     * @param  {Object} [properties={}] extra properties (to be set on the ability instance)\n     * @return {Ability}                Ability instance of requested ability\n     */\n    abilityFor(abilityName, model, properties = {}) {\n      let AbilityFactory = Ember.getOwner(this).factoryFor(`ability:${abilityName}`);\n      (true && !(AbilityFactory) && Ember.assert(`No ability type found for '${abilityName}'`, AbilityFactory));\n      if (typeof model !== 'undefined') {\n        properties = {\n          model,\n          ...properties\n        };\n      }\n      let ability = AbilityFactory.create(properties);\n      (true && !(ability instanceof _ability.default) && Ember.assert(`Ability '${abilityName}' has to inherit from ember-can Ability`, ability instanceof _ability.default));\n      return ability;\n    }\n\n    /**\n     * Returns a value for requested ability in specified ability class\n     * @public\n     * @param  {String} propertyName name of ability, eg `createProjects`\n     * @param  {String} abilityName  name of ability class\n     * @param  {*}      model\n     * @param  {Object} properties   extra properties (to be set on the ability instance)\n     * @return {*}                   value of ability\n     */\n    valueFor(propertyName, abilityName, model, properties) {\n      let ability = this.abilityFor(abilityName, model, properties);\n      let result = ability.getAbility(propertyName, model, properties);\n      ability.destroy();\n      return result;\n    }\n\n    /**\n     * Returns `true` if ability is permitted\n     * @public\n     * @param  {[type]} abilityString eg. 'create projects in account'\n     * @param  {*}      model\n     * @param  {[type]} properties    extra properties (to be set on the ability instance)\n     * @return {Boolean}              value of ability converted to boolean\n     */\n    can(abilityString, model, properties) {\n      let {\n        propertyName,\n        abilityName\n      } = this.parse(abilityString);\n      return !!this.valueFor(propertyName, abilityName, model, properties);\n    }\n\n    /**\n     * Returns `true` if ability is not permitted\n     * @public\n     * @param  {[type]} abilityString eg. 'create projects in account'\n     * @param  {*}      model\n     * @param  {[type]} properties    extra properties (to be set on the ability instance)\n     * @return {Boolean}              value of ability converted to boolean\n     */\n    cannot(abilityString, model, properties) {\n      return !this.can(abilityString, model, properties);\n    }\n  }\n  _exports.default = AbilitiesService;\n});","define(\"ember-can/services/can\", [\"exports\", \"ember-can/services/abilities\"], function (_exports, _abilities) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function deprecateMethod() {\n    (true && !(false) && Ember.deprecate('Using CanService has been deprecated in favor of AbilitiesService. You should replace all occurrences with new `abilities` service.', false, {\n      id: 'ember-can.can-service',\n      until: '5.0.0',\n      for: 'ember-can',\n      since: {\n        enabled: '4.1.0'\n      }\n    }));\n  }\n  class CanService extends _abilities.default {\n    /**\n     * @deprecated Use new AbilitiesService methods\n     */\n    parse() {\n      deprecateMethod();\n      return super.parse(...arguments);\n    }\n\n    /**\n     * @deprecated Use new AbilitiesService methods\n     */\n    abilityFor() {\n      deprecateMethod();\n      return super.abilityFor(...arguments);\n    }\n\n    /**\n     * @deprecated Use new AbilitiesService methods\n     */\n    valueFor() {\n      deprecateMethod();\n      return super.valueFor(...arguments);\n    }\n\n    /**\n     * @deprecated Use new AbilitiesService methods\n     */\n    can() {\n      deprecateMethod();\n      return super.can(...arguments);\n    }\n\n    /**\n     * @deprecated Use new AbilitiesService methods\n     */\n    cannot() {\n      deprecateMethod();\n      return super.cannot(...arguments);\n    }\n  }\n  _exports.default = CanService;\n});","define(\"ember-can/utils/normalize\", [\"exports\", \"ember-inflector\"], function (_exports, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  const stopWords = ['of', 'in', 'for', 'to', 'from', 'on', 'as'];\n\n  /**\n   * Normalize string into an object with extracted propertyName and abilityName\n   * eg. for 'create projects in account' -> `{ propertyName: 'createProjects', abilityName: 'account'}`\n   * @private\n   * @param  {String} string eg. 'create projects in account'\n   * @return {Object}        extracted propertyName and abilityName\n   */\n  function _default(string) {\n    let parts = string.split(' ');\n    let abilityName = (0, _emberInflector.singularize)(parts.pop());\n    let last = parts[parts.length - 1];\n    if (stopWords.includes(last)) {\n      parts.pop();\n    }\n    let propertyName = Ember.String.camelize(parts.join(' '));\n    return {\n      propertyName,\n      abilityName\n    };\n  }\n});","define(\"ember-changeset-validations/helpers/changeset\", [\"exports\", \"ember-changeset/helpers/changeset\"], function (_exports, _changeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n  function changeset([obj, validations], options) {\n    return (0, _changeset.changeset)([obj, validations], options);\n  }\n  var _default = _exports.default = Ember.Helper.helper(changeset);\n});","define(\"ember-changeset-validations/index\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _validatedChangeset.lookupValidator;\n});","define(\"ember-changeset-validations/utils/get-messages\", [\"exports\", \"ember-get-config\", \"ember-changeset-validations/utils/messages\", \"ember-changeset-validations/utils/with-defaults\"], function (_exports, _emberGetConfig, _messages, _withDefaults) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getMessages;\n  const {\n    keys\n  } = Object;\n  const moduleName = `${_emberGetConfig.default.modulePrefix}/validations/messages`;\n  let cachedRef = null;\n\n  /**\n   * Find and load messages module on consuming app. Defaults to addon messages.\n   * To define a custom message map, create `my-app/app/validations/messages.js`\n   * and export an object.\n   *\n   * @param  {Object} moduleMap\n   * @param  {Boolean} useCache Pass `false` to ignore cached key\n   * @return {Object}\n   */\n  function getMessages(moduleMap = requirejs.entries, useCache = true) {\n    let messagesModule = _messages.default;\n    if (useCache && Ember.isPresent(cachedRef)) {\n      return cachedRef;\n    }\n    let moduleKey = Ember.A(keys(moduleMap)).find(key => key === moduleName);\n    if (Ember.isPresent(moduleKey)) {\n      // Merge the user specified messages with the defaults\n      messagesModule = (0, _withDefaults.default)(requireModule(moduleKey).default, messagesModule);\n    }\n    cachedRef = messagesModule;\n    return messagesModule;\n  }\n});","define(\"ember-changeset-validations/utils/handle-multiple-validations\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = handleMultipleValidations;\n  /**\n   * Rejects `true` values from an array of validations. Returns `true` when there\n   * are no errors, or the error object if there are errors.\n   *\n   * @private\n   * @param  {Array} validations\n   * @return {Boolean|Any}\n   */\n  function handleValidations(validations = []) {\n    let rejectedValidations = Ember.A(validations).reject(validation => Ember.typeOf(validation) === 'boolean' && validation);\n    return Ember.get(rejectedValidations, 'length') === 0 || rejectedValidations;\n  }\n\n  /**\n   * Handles an array of validators and returns Promise.all if any value is a\n   * Promise.\n   *\n   * @public\n   * @param  {Array} validators Array of validator functions\n   * @param  {String} options.key\n   * @param  {Any} options.newValue\n   * @param  {Any} options.oldValue\n   * @param  {Object} options.changes\n   * @param  {Object} options.content\n   * @return {Promise|Boolean|Any}\n   */\n  function handleMultipleValidations(validators, {\n    key,\n    newValue,\n    oldValue,\n    changes,\n    content\n  }) {\n    let validations = Ember.A(validators.map(validator => validator(key, newValue, oldValue, changes, content)));\n    if (Ember.A(validations).any(_validatedChangeset.isPromise)) {\n      return Ember.RSVP.all(validations).then(handleValidations);\n    }\n    return handleValidations(validations);\n  }\n});","define(\"ember-changeset-validations/utils/messages\", [\"exports\", \"ember-validators/messages\"], function (_exports, _messages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const Messages = Ember.assign({}, _messages.default);\n  var _default = _exports.default = Ember.assign(Messages, {\n    // Blank and present are flipped in ember-validators. Need to flip them back here\n    blank: _messages.default.present,\n    present: _messages.default.blank,\n    getDescriptionFor(key = '') {\n      return Ember.String.capitalize(Ember.String.dasherize(key).split(/[_-]/g).join(' '));\n    }\n  });\n});","define(\"ember-changeset-validations/utils/to-date\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = toDate;\n  /**\n   * @name toDate\n   * @param {Date|Number} argument - the value to convert\n   * @returns {Date} the parsed date in the local time zone\n   * @throws {TypeError} 1 argument required\n   */\n  function toDate(argument) {\n    const argStr = Object.prototype.toString.call(argument);\n    if (argument instanceof Date || typeof argument === 'object' && argStr === '[object Date]') {\n      return argument;\n    } else if (typeof argument === 'number' || argStr === '[object Number]') {\n      return new Date(argument);\n    } else {\n      if ((typeof argument === 'string' || argStr === '[object String]') && typeof console !== 'undefined') {\n        // eslint-disable-next-line no-console\n        console.warn('Please use `Date.parse` to parse strings.');\n        // eslint-disable-next-line no-console\n        console.warn(new Error().stack);\n      }\n      return new Date(NaN);\n    }\n  }\n});","define(\"ember-changeset-validations/utils/validation-errors\", [\"exports\", \"ember-get-config\", \"ember-changeset-validations/utils/get-messages\"], function (_exports, _emberGetConfig, _getMessages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildMessage;\n  function buildMessage(key, result) {\n    let returnsRaw = Ember.get(_emberGetConfig.default, 'changeset-validations.rawOutput') || false;\n    let messages = (0, _getMessages.default)();\n    let description = messages.getDescriptionFor(key);\n    if (result.message) {\n      return result.message;\n    }\n    let {\n      type,\n      value,\n      context = {}\n    } = result;\n    if (context.message) {\n      let message = context.message;\n      if (typeof message === 'function') {\n        let builtMessage = message(key, type, value, context);\n        (true && !(typeof builtMessage === 'string') && Ember.assert('Custom message function must return a string', typeof builtMessage === 'string'));\n        return builtMessage;\n      }\n      return messages.formatMessage(message, Ember.assign({\n        description\n      }, context));\n    }\n    let message = Ember.get(messages, type);\n    if (returnsRaw) {\n      context = Ember.assign({}, context, {\n        description\n      });\n      return {\n        value,\n        type,\n        message,\n        context\n      };\n    } else {\n      return messages.formatMessage(message, Ember.assign({\n        description\n      }, context));\n    }\n  }\n});","define(\"ember-changeset-validations/utils/with-defaults\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = withDefaults;\n  /**\n   * Create a new object with defaults\n   *\n   * @public\n   * @param  {Object} obj\n   * @param  {Object} defaults\n   * @return {Object}\n   */\n  function withDefaults(obj = {}, defaults = {}) {\n    return Ember.assign(Ember.assign({}, defaults), obj);\n  }\n});","define(\"ember-changeset-validations/utils/wrap\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = wrapInArray;\n  /**\n   * Wraps a value in an Ember.Array.\n   *\n   * @public\n   * @param  {Any} value\n   * @return {Ember.Array}\n   */\n  function wrapInArray(value) {\n    if (Ember.isArray(value)) {\n      return Ember.A(value);\n    }\n    return Ember.A([value]);\n  }\n});","define(\"ember-changeset-validations/validators/confirmation\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators\"], function (_exports, _validationErrors, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateConfirmation;\n  function validateConfirmation(options = {}) {\n    return (key, newValue, _oldValue, changes, content = {}) => {\n      // Combine the changes on top of the content so that we evaluate against both default values\n      // and valid changes. `changes` only has valid changes that have been made and won't include\n      // default values\n      let model = Ember.assign({}, content, changes);\n      let result = (0, _emberValidators.validate)('confirmation', newValue, options, model, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/date\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-changeset-validations/utils/to-date\"], function (_exports, _validationErrors, _withDefaults, _toDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDate;\n  _exports.errorFormat = void 0;\n  const errorFormat = _exports.errorFormat = \"MMM Do, YYYY\";\n  function isValidDate(d) {\n    return d instanceof Date && !isNaN(d);\n  }\n  function validateDate(options = {}) {\n    options = (0, _withDefaults.default)(options, {\n      allowBlank: false,\n      errorFormat: errorFormat\n    });\n    return (key, value) => {\n      let {\n        allowBlank\n      } = options;\n      let {\n        before,\n        onOrBefore,\n        after,\n        onOrAfter,\n        message\n      } = options;\n      if (allowBlank && (typeof value === 'undefined' || value === null)) {\n        return true;\n      }\n      let date = (0, _toDate.default)(value);\n      if (!isValidDate(date)) {\n        return (0, _validationErrors.default)(key, {\n          type: 'date',\n          value: 'not a date',\n          message\n        });\n      }\n      if (before) {\n        before = (0, _toDate.default)(before);\n        if (date >= before) {\n          return (0, _validationErrors.default)(key, {\n            value,\n            message: message || `[BEFORE] date is NOT before ${value}`\n          });\n        }\n      }\n      if (onOrBefore) {\n        onOrBefore = (0, _toDate.default)(onOrBefore);\n        if (date > onOrBefore) {\n          return (0, _validationErrors.default)(key, {\n            value,\n            message: message || `[ON OR BEFORE] date is NOT on or before ${value}`\n          });\n        }\n      }\n      if (after) {\n        after = (0, _toDate.default)(after);\n        if (date <= after) {\n          return (0, _validationErrors.default)(key, {\n            value,\n            message: message || `[AFTER] date is NOT after ${value}`\n          });\n        }\n      }\n      if (onOrAfter) {\n        onOrAfter = (0, _toDate.default)(onOrAfter);\n        if (date < onOrAfter) {\n          return (0, _validationErrors.default)(key, {\n            value,\n            message: message || `[ON OR AFTER] date is NOT on or after ${value}`\n          });\n        }\n      }\n      return true;\n    };\n  }\n});","define(\"ember-changeset-validations/validators/exclusion\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators\"], function (_exports, _validationErrors, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n  function validateInclusion(options = {}) {\n    if (options.list) {\n      options.in = options.list;\n    }\n    return (key, value) => {\n      let result = (0, _emberValidators.validate)('exclusion', value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/format\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators\"], function (_exports, _validationErrors, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n  function validateInclusion(options = {}) {\n    let hasOptions = !Ember.isEmpty(Object.keys(options));\n    return (key, value) => {\n      if (!hasOptions) {\n        return true;\n      }\n      let result = (0, _emberValidators.validate)('format', value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/inclusion\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators\"], function (_exports, _validationErrors, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n  function validateInclusion(options = {}) {\n    if (options.list) {\n      options.in = options.list;\n    }\n    return (key, value) => {\n      let result = (0, _emberValidators.validate)('inclusion', value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/index\", [\"exports\", \"ember-changeset-validations/validators/date\", \"ember-changeset-validations/validators/presence\", \"ember-changeset-validations/validators/length\", \"ember-changeset-validations/validators/number\", \"ember-changeset-validations/validators/format\", \"ember-changeset-validations/validators/inclusion\", \"ember-changeset-validations/validators/exclusion\", \"ember-changeset-validations/validators/confirmation\"], function (_exports, _date, _presence, _length, _number, _format, _inclusion, _exclusion, _confirmation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"validateConfirmation\", {\n    enumerable: true,\n    get: function () {\n      return _confirmation.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateDate\", {\n    enumerable: true,\n    get: function () {\n      return _date.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateExclusion\", {\n    enumerable: true,\n    get: function () {\n      return _exclusion.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateFormat\", {\n    enumerable: true,\n    get: function () {\n      return _format.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateInclusion\", {\n    enumerable: true,\n    get: function () {\n      return _inclusion.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateLength\", {\n    enumerable: true,\n    get: function () {\n      return _length.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validateNumber\", {\n    enumerable: true,\n    get: function () {\n      return _number.default;\n    }\n  });\n  Object.defineProperty(_exports, \"validatePresence\", {\n    enumerable: true,\n    get: function () {\n      return _presence.default;\n    }\n  });\n});","define(\"ember-changeset-validations/validators/length\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-validators\"], function (_exports, _validationErrors, _withDefaults, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateLength;\n  function validateLength(options = {}) {\n    options = (0, _withDefaults.default)(options, {\n      useBetweenMessage: true\n    });\n    return (key, value) => {\n      let result = (0, _emberValidators.validate)('length', value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/number\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-changeset-validations/utils/with-defaults\", \"ember-validators\"], function (_exports, _validationErrors, _withDefaults, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateNumber;\n  function validateNumber(options = {}) {\n    options = (0, _withDefaults.default)(options, {\n      allowString: true,\n      allowNone: false\n    });\n    if (options.allowBlank) {\n      options.allowNone = true;\n    }\n    return (key, value) => {\n      let result = (0, _emberValidators.validate)('number', value, options, null, key);\n      return result === true ? true : (0, _validationErrors.default)(key, result);\n    };\n  }\n});","define(\"ember-changeset-validations/validators/presence\", [\"exports\", \"ember-changeset-validations/utils/validation-errors\", \"ember-validators\"], function (_exports, _validationErrors, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validatePresence;\n  function validatePresence(options) {\n    let targets;\n    if (typeof options === 'boolean') {\n      options = {\n        presence: options\n      };\n    } else if (options && options.on !== undefined) {\n      if (typeof options.on === 'string') {\n        targets = [options.on];\n      } else if (Array.isArray(options.on)) {\n        targets = options.on;\n      }\n      delete options.on;\n    }\n    return (key, value, _oldValue, changes, content) => {\n      if (targets && !targets.some(target => changes[target] || changes[target] === undefined && content[target])) {\n        return true;\n      }\n      let result = (0, _emberValidators.validate)('presence', value, options, null, key);\n      if (typeof result === 'boolean' || typeof result === 'string') {\n        return result;\n      } else {\n        // We flipped the meaning behind `present` and `blank` so switch the two\n        if (result.type === 'present') {\n          result.type = 'blank';\n        } else if (result.type === 'blank') {\n          result.type = 'present';\n        }\n        return (0, _validationErrors.default)(key, result);\n      }\n    };\n  }\n});","define(\"ember-changeset/helpers/changeset-get\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changesetGet = changesetGet;\n  _exports.default = void 0;\n  function changesetGet([changeset, fieldPath]) {\n    return changeset.get(fieldPath);\n  }\n  var _default = _exports.default = Ember.Helper.helper(changesetGet);\n});","define(\"ember-changeset/helpers/changeset-set\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changesetSet = changesetSet;\n  _exports.default = void 0;\n  /**\n   * This is a drop in replacement for the `mut` helper\n   *\n   * @method changesetSet\n   * @param params\n   */\n  function changesetSet([obj, path]) {\n    if ((0, _validatedChangeset.isChangeset)(obj)) {\n      return value => {\n        return obj.set(path, value);\n      };\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(changesetSet);\n});","define(\"ember-changeset/helpers/changeset\", [\"exports\", \"ember-changeset\", \"validated-changeset\"], function (_exports, _emberChangeset, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n  function changeset([obj, validations], options = {}) {\n    if ((0, _validatedChangeset.isChangeset)(obj)) {\n      return obj;\n    }\n    if ((0, _validatedChangeset.isObject)(validations)) {\n      if ((0, _validatedChangeset.isPromise)(obj)) {\n        return obj.then(resolved => (0, _emberChangeset.Changeset)(resolved, (0, _validatedChangeset.lookupValidator)(validations), validations, options));\n      }\n      return (0, _emberChangeset.Changeset)(obj, (0, _validatedChangeset.lookupValidator)(validations), validations, options);\n    }\n    if ((0, _validatedChangeset.isPromise)(obj)) {\n      return Promise.resolve(obj).then(resolved => (0, _emberChangeset.Changeset)(resolved, validations, {}, options));\n    }\n    return (0, _emberChangeset.Changeset)(obj, validations, {}, options);\n  }\n  var _default = _exports.default = Ember.Helper.helper(changeset);\n});","define(\"ember-changeset/index\", [\"exports\", \"validated-changeset\", \"ember-changeset/utils/merge-deep\", \"ember-changeset/utils/is-object\", \"ember-changeset/utils/is-belongs-to-relationship\", \"ember-changeset/utils/is-leaf\"], function (_exports, _validatedChangeset, _mergeDeep, _isObject, _isBelongsToRelationship, _isLeaf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Changeset = Changeset;\n  _exports.EmberChangeset = void 0;\n  _exports.changeset = changeset;\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\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 CHANGES = '_changes';\n  const ERRORS = '_errors';\n  const CONTENT = '_content';\n  const defaultValidatorFn = () => true;\n  let EmberChangeset = _exports.EmberChangeset = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _class = class EmberChangeset extends _validatedChangeset.BufferedChangeset {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, '_changes', _descriptor, this);\n      _initializerDefineProperty(this, '_errors', _descriptor2, this);\n      _initializerDefineProperty(this, '_content', _descriptor3, this);\n      // override base class\n      _defineProperty(this, \"getDeep\", Ember.get);\n    }\n    // override base class\n    safeGet(obj, key) {\n      return Ember.get(obj, key);\n    }\n\n    /**\n     * Manually add an error to the changeset. If there is an existing\n     * error or change for `key`, it will be overwritten.\n     *\n     * @method addError\n     */\n    addError(key, error) {\n      super.addError(key, error);\n      Ember.notifyPropertyChange(this, ERRORS);\n      // Notify that `key` has changed.\n      Ember.notifyPropertyChange(this, key);\n\n      // Return passed-in `error`.\n      return error;\n    }\n\n    /**\n     * Manually push multiple errors to the changeset as an array.\n     *\n     * @method pushErrors\n     */\n    pushErrors(key, ...newErrors) {\n      const {\n        value,\n        validation\n      } = super.pushErrors(key, ...newErrors);\n      Ember.notifyPropertyChange(this, ERRORS);\n      Ember.notifyPropertyChange(this, key);\n      return {\n        value,\n        validation\n      };\n    }\n\n    /**\n     * Sets property or error on the changeset.\n     * Returns value or error\n     */\n    _setProperty({\n      key,\n      value,\n      oldValue\n    }) {\n      super._setProperty({\n        key,\n        value,\n        oldValue\n      });\n\n      // Happy path: notify that `key` was added.\n      Ember.notifyPropertyChange(this, CHANGES);\n      Ember.notifyPropertyChange(this, key);\n    }\n\n    /**\n     * Notifies virtual properties set on the changeset of a change.\n     * You can specify which keys are notified by passing in an array.\n     *\n     * @private\n     * @param {Array} keys\n     * @return {Void}\n     */\n    _notifyVirtualProperties(keys) {\n      keys = super._notifyVirtualProperties(keys);\n      (keys || []).forEach(key => Ember.notifyPropertyChange(this, key));\n      return;\n    }\n\n    /**\n     * Deletes a key off an object and notifies observers.\n     */\n    _deleteKey(objName, key = '') {\n      const result = super._deleteKey(objName, key);\n      Ember.notifyPropertyChange(this, `${objName}.${key}`);\n      Ember.notifyPropertyChange(this, objName);\n      return result;\n    }\n\n    /**\n     * Executes the changeset if in a valid state.\n     *\n     * @method execute\n     */\n    execute() {\n      if (this.isValid && this.isDirty) {\n        let content = this[CONTENT];\n        let changes = this[CHANGES];\n        // we want mutation on original object\n        // @tracked\n        this[CONTENT] = (0, _mergeDeep.default)(content, changes, {\n          safeGet: Ember.get,\n          safeSet: Ember.set\n        });\n      }\n      return this;\n    }\n\n    /**\n     * Proxied getter\n     * TODO: Evaluate Ember Data particularities here and see how we can use\n     * base class `get`\n     *\n     * @method get\n     */\n    get(key) {\n      // 'person'\n      // 'person.username'\n      let [baseKey, ...remaining] = key.split('.');\n\n      // 1. lets first check CHANGES\n      if (Object.prototype.hasOwnProperty.call(this[CHANGES], baseKey)) {\n        let changes = this[CHANGES];\n        let result;\n        if (remaining.length > 0) {\n          let c = changes[baseKey];\n          result = this.getDeep((0, _validatedChangeset.normalizeObject)(c), remaining.join('.'));\n          if (typeof result !== 'undefined') {\n            return result;\n          }\n        } else {\n          result = changes[baseKey];\n        }\n        if (result !== undefined && result !== null && (0, _isObject.default)(result)) {\n          // 1. knock out any class Change{} instances\n          result = (0, _validatedChangeset.normalizeObject)(result);\n\n          // 2. then ensure sibling keys are merged with the \"result\"\n          let content = this[CONTENT];\n\n          // Merge the content with the changes to have a complete object for a nested property.\n          // Given a object with nested property and multiple properties inside of it, if the\n          // requested key is the top most nested property and we have changes in of the properties, we need to\n          // merge the original model data with the changes to have the complete object.\n          // eg. model = { user: { name: 'not changed', email: 'changed@prop.com'} }\n          if (!Array.isArray(result) && (0, _isObject.default)(content[baseKey]) && !(0, _isBelongsToRelationship.isBelongsToRelationship)(content[baseKey]) && !(0, _isLeaf.isLeafInChanges)(key, changes)) {\n            let netKeys = Object.keys(content[baseKey]).filter(k => !this.safeGet(result, k));\n            if (netKeys.length === 0) {\n              return result;\n            }\n\n            // 3. Ok merge sibling keys.  Yes, shallow clone, but users should treat `c.get` as read only.  Mods to data\n            // structures should happen through `c.set(...)` or `{{changeset-set ...}}`\n            const data = Object.assign(Object.create(Object.getPrototypeOf(content[baseKey])), result);\n            netKeys.forEach(k => {\n              data[k] = this.getDeep(content, `${baseKey}.${k}`);\n            });\n            return data;\n          }\n          return result;\n        }\n        if (result) {\n          return result.value;\n        }\n      }\n\n      // 2. return getters/setters/methods on BufferedProxy instance\n      if (typeof this[key] !== 'undefined') {\n        return this[key];\n      } else if (this[baseKey]) {\n        const v = this[baseKey];\n        if ((0, _isObject.default)(v)) {\n          const result = this.getDeep(v, remaining.join('.'));\n          return result;\n        }\n      }\n\n      // 3. Lastly return on underlying object if previous cases dont apply\n      const result = this.getDeep(this[CONTENT], key);\n      return result;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, '_changes', [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, '_errors', [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, '_content', [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  /**\n   * Creates new changesets.\n   */\n  function changeset(obj, validateFn = defaultValidatorFn, validationMap = {}, options = {}) {\n    (true && !(Boolean(obj)) && Ember.assert('Underlying object for changeset is missing', Boolean(obj)));\n    (true && !(!Array.isArray(obj)) && Ember.assert('Array is not a valid type to pass as the first argument to `changeset`', !Array.isArray(obj)));\n    if (options.changeset) {\n      return new options.changeset(obj, validateFn, validationMap, options);\n    }\n    const c = new EmberChangeset(obj, validateFn, validationMap, options);\n    return c;\n  }\n\n  /**\n   * Creates new changesets.\n   * @function Changeset\n   */\n  function Changeset(obj, validateFn = defaultValidatorFn, validationMap = {}, options = {}) {\n    const c = changeset(obj, validateFn, validationMap, options);\n    return new Proxy(c, {\n      get(targetBuffer, key /*, receiver*/) {\n        const res = targetBuffer.get(key.toString());\n        return res;\n      },\n      set(targetBuffer, key, value /*, receiver*/) {\n        targetBuffer.set(key.toString(), value);\n        return true;\n      }\n    });\n  }\n  class ChangesetKlass {\n    /**\n     * Changeset factory\n     * TODO: deprecate in favor of factory function\n     *\n     * @class ChangesetKlass\n     * @constructor\n     */\n    constructor(obj, validateFn = defaultValidatorFn, validationMap = {}, options = {}) {\n      const c = changeset(obj, validateFn, validationMap, options);\n      return new Proxy(c, {\n        get(targetBuffer, key /*, receiver*/) {\n          const res = targetBuffer.get(key.toString());\n          return res;\n        },\n        set(targetBuffer, key, value /*, receiver*/) {\n          targetBuffer.set(key.toString(), value);\n          return true;\n        }\n      });\n    }\n  }\n  _exports.default = ChangesetKlass;\n});","define(\"ember-changeset/utils/is-belongs-to-relationship\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isBelongsToRelationship = isBelongsToRelationship;\n  // TODO: Get rid of this heuristic check by passing an option to the Changeset constructor\n  function isBelongsToRelationship(obj) {\n    if (!obj) {\n      return false;\n    }\n    if (obj.hasOwnProperty('content') && obj.hasOwnProperty('isFulfilled') && obj.hasOwnProperty('isRejected')) {\n      // Async belongsTo()\n      return true;\n    }\n    if ('isLoading' in obj && 'isLoaded' in obj && 'isNew' in obj && 'hasDirtyAttributes' in obj) {\n      // Sync belongsTo()\n      return true;\n    }\n    return false;\n  }\n});","define(\"ember-changeset/utils/is-leaf\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isLeafInChanges = isLeafInChanges;\n  function isLeafInChanges(key, changes) {\n    return Ember.get(changes, key) && Ember.get(changes, key) instanceof _validatedChangeset.Change;\n  }\n});","define(\"ember-changeset/utils/is-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isObject;\n  function isObject(val) {\n    return val !== null && !(val instanceof Date) && (typeof val === 'object' || Ember.typeOf(val) === 'instance');\n  }\n});","define(\"ember-changeset/utils/merge-deep\", [\"exports\", \"validated-changeset\"], function (_exports, _validatedChangeset) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mergeDeep;\n  function isMergeableObject(value) {\n    return isNonNullObject(value) && !isSpecial(value);\n  }\n  function isNonNullObject(value) {\n    return !!value && typeof value === 'object';\n  }\n  function isSpecial(value) {\n    let stringValue = Object.prototype.toString.call(value);\n    return stringValue === '[object RegExp]' || stringValue === '[object Date]';\n  }\n  function getEnumerableOwnPropertySymbols(target) {\n    return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(symbol => {\n      return target.propertyIsEnumerable(symbol);\n    }) : [];\n  }\n  function getKeys(target) {\n    return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));\n  }\n  function propertyIsOnObject(object, property) {\n    try {\n      return property in object;\n    } catch (_) {\n      return false;\n    }\n  }\n\n  // Ember Data models don't respond as expected to foo.hasOwnProperty, so we do a special check\n  function hasEmberDataProperty(target, key, options) {\n    let fields = options.safeGet(target, 'constructor.fields');\n    return fields instanceof Map && fields.has(key);\n  }\n\n  // Protects from prototype poisoning and unexpected merging up the prototype chain.\n  function propertyIsUnsafe(target, key, options) {\n    if (hasEmberDataProperty(target, key, options)) {\n      return false;\n    }\n    return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n    && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n    && Object.propertyIsEnumerable.call(target, key)); // and also unsafe if they're nonenumerable.\n  }\n\n  /**\n   * DFS - traverse depth first until find object with `value`.  Then go back up tree and try on next key\n   * Need to exhaust all possible avenues.\n   *\n   * @method buildPathToValue\n   */\n  function buildPathToValue(source, options, kv, possibleKeys) {\n    Object.keys(source).forEach(key => {\n      let possible = source[key];\n      if (possible && possible.hasOwnProperty('value')) {\n        kv[[...possibleKeys, key].join('.')] = possible.value;\n        return;\n      }\n      if (typeof possible === 'object') {\n        buildPathToValue(possible, options, kv, [...possibleKeys, key]);\n      }\n    });\n    return kv;\n  }\n\n  /**\n   * `source` will always have a leaf key `value` with the property we want to set\n   *\n   * @method mergeTargetAndSource\n   */\n  function mergeTargetAndSource(target, source, options) {\n    getKeys(source).forEach(key => {\n      // proto poisoning.  So can set by nested key path 'person.name'\n      if (propertyIsUnsafe(target, key, options)) {\n        // if safeSet, we will find keys leading up to value and set\n        if (options.safeSet) {\n          const kv = buildPathToValue(source, options, {}, []);\n          // each key will be a path nested to the value `person.name.other`\n          if (Object.keys(kv).length > 0) {\n            // we found some keys!\n            for (key in kv) {\n              const val = kv[key];\n              options.safeSet(target, key, val);\n            }\n          }\n        }\n        return;\n      }\n\n      // else safe key on object\n      if (propertyIsOnObject(target, key) && isMergeableObject(source[key]) && !source[key].hasOwnProperty('value')) {\n        options.safeSet(target, key, mergeDeep(options.safeGet(target, key), options.safeGet(source, key), options));\n      } else {\n        let next = source[key];\n        if (next && next instanceof _validatedChangeset.Change) {\n          return options.safeSet(target, key, next.value);\n        }\n\n        // if just some normal leaf value, then set\n        return options.safeSet(target, key, next);\n      }\n    });\n    return target;\n  }\n\n  /**\n   * goal is to mutate target with source's properties, ensuring we dont encounter\n   * pitfalls of { ..., ... } spread syntax overwriting keys on objects that we merged\n   *\n   * This is also adjusted for Ember peculiarities.  Specifically `options.setPath` will allows us\n   * to handle properties on Proxy objects (that aren't the target's own property)\n   *\n   * @method mergeDeep\n   */\n  function mergeDeep(target, source, options = {}) {\n    options.safeGet = options.safeGet || function (obj, key) {\n      return obj[key];\n    };\n    options.safeSet = options.safeSet || function (obj, key, value) {\n      return obj[key] = value;\n    };\n    let sourceIsArray = Array.isArray(source);\n    let targetIsArray = Array.isArray(target);\n    let sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n    if (!sourceAndTargetTypesMatch) {\n      return source;\n    } else if (sourceIsArray) {\n      return source;\n    } else {\n      return mergeTargetAndSource(target, source, options);\n    }\n  }\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializerFactory;\n  const {\n    libraries\n  } = Ember;\n  function initializerFactory(name, version) {\n    let registered = false;\n    return function () {\n      if (!registered && name && version) {\n        let appName = Ember.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-flash/components/flash-message\", [\"exports\", \"ember-cli-flash/templates/components/flash-message\"], function (_exports, _flashMessage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component\",0,\"@ember/string\",0,\"@ember/template\",0,\"@ember/utils\",0,\"@ember/runloop\",0,\"@ember/object\",0,\"@ember/object/computed\",0,\"ember-cli-flash/templates/components/flash-message\"eaimeta@70e063a35619d71f\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 FlashMessage = _exports.default = (_dec = Ember.computed.readOnly('flash.showProgress'), _dec2 = Ember.computed.not('exiting'), _dec3 = Ember.computed.and('showProgress', 'notExiting'), _dec4 = Ember.computed.readOnly('flash.exiting'), _dec5 = Ember.computed('messageStyle'), _dec6 = Ember.computed('flash.type', 'messageStylePrefix', '_defaultMessageStylePrefix'), _dec7 = Ember.computed('flash.type'), _dec8 = Ember.computed('flash.{showProgress,timeout}'), _dec9 = Ember._action, _dec0 = Ember._action, _dec1 = Ember._action, _dec10 = Ember._action, _class = class FlashMessage extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"tagName\", '');\n      _defineProperty(this, \"layout\", _flashMessage.default);\n      _defineProperty(this, \"active\", false);\n      _defineProperty(this, \"messageStyle\", 'bootstrap');\n      _initializerDefineProperty(this, \"showProgress\", _descriptor, this);\n      _initializerDefineProperty(this, \"notExiting\", _descriptor2, this);\n      _initializerDefineProperty(this, \"showProgressBar\", _descriptor3, this);\n      _initializerDefineProperty(this, \"exiting\", _descriptor4, this);\n    }\n    get _defaultMessageStylePrefix() {\n      const isFoundation = this.messageStyle === 'foundation';\n      return isFoundation ? 'alert-box ' : 'alert alert-';\n    }\n    get alertType() {\n      const flashType = this.flash.type || '';\n      const prefix = this.messageStylePrefix || this._defaultMessageStylePrefix;\n      return `${prefix}${flashType}`;\n    }\n    get flashType() {\n      return Ember.String.classify(this.flash.type || '');\n    }\n    get progressDuration() {\n      if (!this.flash?.showProgress) {\n        return false;\n      }\n      const duration = this.flash?.timeout || 0;\n      return Ember.String.htmlSafe(`transition-duration: ${duration}ms`);\n    }\n    _mouseEnter() {\n      if (Ember.isPresent(this.flash)) {\n        this.flash.preventExit();\n      }\n    }\n    _mouseLeave() {\n      if (Ember.isPresent(this.flash) && !this.flash.exiting) {\n        this.flash.allowExit();\n      }\n    }\n    _destroyFlashMessage() {\n      if (this.flash) {\n        this.flash.destroyMessage();\n      }\n    }\n    onClick() {\n      const destroyOnClick = this.flash?.destroyOnClick ?? true;\n      if (destroyOnClick) {\n        this._destroyFlashMessage();\n      }\n    }\n    onClose() {\n      this._destroyFlashMessage();\n    }\n    onDidInsert(element) {\n      const pendingSet = Ember.run.next(this, () => {\n        Ember.set(this, 'active', true);\n      });\n      Ember.set(this, 'pendingSet', pendingSet);\n      Ember.set(this, '_mouseEnterHandler', this._mouseEnter);\n      Ember.set(this, '_mouseLeaveHandler', this._mouseLeave);\n      element.addEventListener('mouseenter', this._mouseEnterHandler);\n      element.addEventListener('mouseleave', this._mouseLeaveHandler);\n    }\n    onWillDestroy(element) {\n      element.removeEventListener('mouseenter', this._mouseEnterHandler);\n      element.removeEventListener('mouseleave', this._mouseLeaveHandler);\n      Ember.run.cancel(this.pendingSet);\n      this._destroyFlashMessage();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"showProgress\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"notExiting\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"showProgressBar\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"exiting\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"_defaultMessageStylePrefix\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"_defaultMessageStylePrefix\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"alertType\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"alertType\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"flashType\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"flashType\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"progressDuration\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"progressDuration\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onClick\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"onClick\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onClose\", [_dec0], Object.getOwnPropertyDescriptor(_class.prototype, \"onClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onDidInsert\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"onDidInsert\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onWillDestroy\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"onWillDestroy\"), _class.prototype), _class);\n});","define(\"ember-cli-flash/flash/object\", [\"exports\", \"ember-cli-flash/utils/computed\"], function (_exports, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object/evented\",0,\"@ember/object\",0,\"@ember/runloop\",0,\"ember-cli-flash/utils/computed\"eaimeta@70e063a35619d71f\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  // Note:\n  // To avoid https://github.com/poteto/ember-cli-flash/issues/341 from happening, this class can't simply be called Object\n  let FlashObject = _exports.default = (_dec = (0, _computed.guidFor)('message').readOnly(), _class = class FlashObject extends Ember.Object.extend(Ember.Evented) {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"exitTimer\", null);\n      _defineProperty(this, \"exiting\", false);\n      _defineProperty(this, \"isExitable\", true);\n      _defineProperty(this, \"initializedTime\", null);\n      _initializerDefineProperty(this, \"_guid\", _descriptor, this);\n    }\n    init() {\n      super.init(...arguments);\n      if (this.sticky) {\n        return;\n      }\n      this.timerTask();\n      this._setInitializedTime();\n    }\n    destroyMessage() {\n      this._cancelTimer();\n      if (this.exitTaskInstance) {\n        Ember.run.cancel(this.exitTaskInstance);\n        this._teardown();\n      } else {\n        this.exitTimerTask();\n      }\n    }\n    exitMessage() {\n      if (!this.isExitable) {\n        return;\n      }\n      this.exitTimerTask();\n      this.trigger('didExitMessage');\n    }\n    willDestroy() {\n      if (this.onDestroy) {\n        this.onDestroy();\n      }\n      this._cancelTimer();\n      this._cancelTimer('exitTaskInstance');\n      super.willDestroy(...arguments);\n    }\n    preventExit() {\n      Ember.set(this, 'isExitable', false);\n    }\n    allowExit() {\n      Ember.set(this, 'isExitable', true);\n      this._checkIfShouldExit();\n    }\n    timerTask() {\n      if (!this.timeout) {\n        return;\n      }\n      const timerTaskInstance = Ember.run.later(() => {\n        this.exitMessage();\n      }, this.timeout);\n      Ember.set(this, 'timerTaskInstance', timerTaskInstance);\n    }\n    exitTimerTask() {\n      if (this.isDestroyed) {\n        return;\n      }\n      Ember.set(this, 'exiting', true);\n      if (this.extendedTimeout) {\n        let exitTaskInstance = Ember.run.later(() => {\n          this._teardown();\n        }, this.extendedTimeout);\n        Ember.set(this, 'exitTaskInstance', exitTaskInstance);\n      } else {\n        this._teardown();\n      }\n    }\n    _setInitializedTime() {\n      let currentTime = new Date().getTime();\n      Ember.set(this, 'initializedTime', currentTime);\n      return this.initializedTime;\n    }\n    _getElapsedTime() {\n      let currentTime = new Date().getTime();\n      return currentTime - this.initializedTime;\n    }\n    _cancelTimer(taskName = 'timerTaskInstance') {\n      if (this[taskName]) {\n        Ember.run.cancel(this[taskName]);\n      }\n    }\n    _checkIfShouldExit() {\n      if (this._getElapsedTime() >= this.timeout && !this.sticky) {\n        this._cancelTimer();\n        this.exitMessage();\n      }\n    }\n    _teardown() {\n      const queue = this.flashService?.queue;\n      if (queue) {\n        queue.removeObject(this);\n      }\n      this.destroy();\n      this.trigger('didDestroyMessage');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_guid\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-cli-flash/services/flash-messages\", [\"exports\", \"ember-cli-flash/flash/object\", \"ember-cli-flash/utils/object-without\", \"ember-cli-flash/utils/flash-message-options\", \"ember-cli-flash/utils/get-with-default\"], function (_exports, _object, _objectWithout, _flashMessageOptions, _getWithDefault) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _descriptor, _descriptor2, _descriptor3;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object/computed\",0,\"@ember/service\",0,\"@ember/utils\",0,\"@ember/debug\",0,\"@ember/object\",0,\"@ember/string\",0,\"@ember/polyfills\",0,\"@ember/array\",0,\"ember-cli-flash/flash/object\",0,\"ember-cli-flash/utils/object-without\",0,\"@ember/application\",0,\"ember-cli-flash/utils/flash-message-options\",0,\"ember-cli-flash/utils/get-with-default\"eaimeta@70e063a35619d71f\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 FlashMessagesService = _exports.default = (_dec = Ember.computed.equal('queue.length', 0).readOnly(), _dec2 = Ember.computed.mapBy('queue', '_guid').readOnly(), _dec3 = Ember.computed.sort('queue', function (a, b) {\n    if (a.priority < b.priority) {\n      return 1;\n    } else if (a.priority > b.priority) {\n      return -1;\n    }\n    return 0;\n  }).readOnly(), _dec4 = Ember.computed, _class = class FlashMessagesService extends Ember.Service {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"isEmpty\", _descriptor, this);\n      _initializerDefineProperty(this, \"_guids\", _descriptor2, this);\n      _initializerDefineProperty(this, \"arrangedQueue\", _descriptor3, this);\n      this._setDefaults();\n      this.queue = Ember.A();\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this.clearMessages();\n    }\n    add(options = {}) {\n      this._enqueue(this._newFlashMessage(options));\n      return this;\n    }\n    clearMessages() {\n      const flashes = this.queue;\n      if (Ember.isNone(flashes)) {\n        return;\n      }\n      flashes.forEach(flash => flash.destroyMessage());\n      flashes.clear();\n      return this;\n    }\n    registerTypes(types = Ember.A()) {\n      types.forEach(type => this._registerType(type));\n      return this;\n    }\n    peekFirst() {\n      return this.queue.firstObject;\n    }\n    peekLast() {\n      return this.queue.lastObject;\n    }\n    getFlashObject() {\n      const errorText = 'A flash message must be added before it can be returned';\n      (true && !(this.queue.length) && Ember.assert(errorText, this.queue.length));\n      return this.peekLast();\n    }\n    _newFlashMessage(options = {}) {\n      (true && !(this.defaultPreventDuplicates ? options.message : true) && Ember.assert('The flash message cannot be empty when preventDuplicates is enabled.', this.defaultPreventDuplicates ? options.message : true));\n      (true && !(options.preventDuplicates ? options.message : true) && Ember.assert('The flash message cannot be empty when preventDuplicates is enabled.', options.preventDuplicates ? options.message : true));\n      const flashService = this;\n      const allDefaults = (0, _getWithDefault.default)(this, 'flashMessageDefaults', {});\n      const defaults = (0, _objectWithout.default)(allDefaults, ['types', 'injectionFactories', 'preventDuplicates']);\n      const flashMessageOptions = Ember.assign({}, defaults, {\n        flashService\n      });\n      for (let key in options) {\n        const value = Ember.get(options, key);\n        const option = this._getOptionOrDefault(key, value);\n        Ember.set(flashMessageOptions, key, option);\n      }\n      return _object.default.create(flashMessageOptions);\n    }\n    _getOptionOrDefault(key, value) {\n      const defaults = (0, _getWithDefault.default)(this, 'flashMessageDefaults', {});\n      const defaultOption = Ember.get(defaults, key);\n      if (Ember.typeOf(value) === 'undefined') {\n        return defaultOption;\n      }\n      return value;\n    }\n    get flashMessageDefaults() {\n      const config = Ember.getOwner(this).resolveRegistration('config:environment');\n      const overrides = (0, _getWithDefault.default)(config, 'flashMessageDefaults', {});\n      return (0, _flashMessageOptions.default)(overrides);\n    }\n    _setDefaults() {\n      const defaults = (0, _getWithDefault.default)(this, 'flashMessageDefaults', {});\n      for (let key in defaults) {\n        const classifiedKey = Ember.String.classify(key);\n        const defaultKey = `default${classifiedKey}`;\n        Ember.set(this, defaultKey, defaults[key]);\n      }\n      this.registerTypes((0, _getWithDefault.default)(this, 'defaultTypes', Ember.A()));\n    }\n    _registerType(type) {\n      (true && !(type) && Ember.assert('The flash type cannot be undefined', type));\n      this[type] = (message, options = {}) => {\n        const flashMessageOptions = Ember.assign({}, options);\n        Ember.setProperties(flashMessageOptions, {\n          message,\n          type\n        });\n        return this.add(flashMessageOptions);\n      };\n    }\n    _hasDuplicate(guid) {\n      return this._guids.includes(guid);\n    }\n    _enqueue(flashInstance) {\n      const instancePreventDuplicates = flashInstance.preventDuplicates;\n      const preventDuplicates = typeof instancePreventDuplicates === 'boolean' ?\n      // always prefer instance option over global option\n      instancePreventDuplicates : this.defaultPreventDuplicates;\n      if (preventDuplicates) {\n        const guid = flashInstance._guid;\n        if (this._hasDuplicate(guid)) {\n          (true && Ember.warn('Attempting to add a duplicate message to the Flash Messages Service', false, {\n            id: 'ember-cli-flash.duplicate-message'\n          }));\n          return;\n        }\n      }\n      return this.queue.pushObject(flashInstance);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isEmpty\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_guids\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"arrangedQueue\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"flashMessageDefaults\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"flashMessageDefaults\"), _class.prototype), _class);\n});","define(\"ember-cli-flash/templates/components/flash-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  var _default = _exports.default = Ember.HTMLBars.template(\n  /*\n    <div\n    class=\"flash-message {{this.alertType}} {{if this.exiting \"exiting\"}} {{if this.active \"active\"}}\"\n    role=\"alert\"\n    ...attributes\n    {{on \"click\" this.onClick}}\n    {{did-insert this.onDidInsert}}\n    {{will-destroy this.onWillDestroy}}\n  >\n    {{#if (has-block)}}\n      {{yield this this.flash (action \"onClose\")}}\n    {{else}}\n      {{this.flash.message}}\n      {{#if this.showProgressBar}}\n        <div class=\"alert-progress\">\n          <div class=\"alert-progressBar\" style={{this.progressDuration}}></div>\n        </div>\n      {{/if}}\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"xNmPkBxY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[\\\"flash-message \\\",[32,0,[\\\"alertType\\\"]],\\\" \\\",[30,[36,0],[[32,0,[\\\"exiting\\\"]],\\\"exiting\\\"],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"active\\\"]],\\\"active\\\"],null]]]],[24,\\\"role\\\",\\\"alert\\\"],[17,2],[4,[38,2],[\\\"click\\\",[32,0,[\\\"onClick\\\"]]],null],[4,[38,3],[[32,0,[\\\"onDidInsert\\\"]]],null],[4,[38,4],[[32,0,[\\\"onWillDestroy\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,[[32,0],[32,0,[\\\"flash\\\"]],[30,[36,1],[[32,0],\\\"onClose\\\"],null]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[32,0,[\\\"flash\\\",\\\"message\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showProgressBar\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"alert-progress\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"alert-progressBar\\\"],[15,5,[32,0,[\\\"progressDuration\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"action\\\",\\\"on\\\",\\\"did-insert\\\",\\\"will-destroy\\\"]}\",\n    \"moduleName\": \"ember-cli-flash/templates/components/flash-message.hbs\"\n  });\n});","define(\"ember-cli-flash/utils/computed\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.guidFor = guidFor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\",0,\"@ember/object/internals\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function guidFor(dependentKey) {\n    return Ember.computed(dependentKey, {\n      get() {\n        const value = Ember.get(this, dependentKey);\n\n        // it's possible that a value has no toString as some objects don't implement the guid field\n        // this early return it to avoid errors being thrown when calling undefined.toString()\n        if (Ember.isNone(value)) return;\n        return Ember.guidFor(value.toString());\n      }\n    });\n  }\n});","define(\"ember-cli-flash/utils/flash-message-options\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/polyfills\"eaimeta@70e063a35619d71f\n  function _default(configOverrides) {\n    const addonDefaults = {\n      timeout: 3000,\n      extendedTimeout: 0,\n      priority: 100,\n      sticky: false,\n      showProgress: false,\n      type: 'info',\n      types: ['success', 'info', 'warning', 'danger', 'alert', 'secondary'],\n      injectionFactories: ['route', 'controller', 'view', 'component'],\n      preventDuplicates: false\n    };\n    return Ember.assign(addonDefaults, configOverrides);\n  }\n});","define(\"ember-cli-flash/utils/get-with-default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getWithDefault;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/object\"eaimeta@70e063a35619d71f\n  // This replicates Ember's deprecated `getWithDefault`.\n  // Note that, as in the original, `null` is considered a valid value and will\n  // not cause the function to return the default value.\n  function getWithDefault(objectInstance, key, defaultValue) {\n    let value = Ember.get(objectInstance, key);\n    if (value === undefined) {\n      return defaultValue;\n    }\n    return value;\n  }\n});","define(\"ember-cli-flash/utils/object-compact\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = objectCompact;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function objectCompact(objectInstance) {\n    const compactedObject = {};\n    for (let key in objectInstance) {\n      const value = objectInstance[key];\n      if (Ember.isPresent(value)) {\n        compactedObject[key] = value;\n      }\n    }\n    return compactedObject;\n  }\n});","define(\"ember-cli-flash/utils/object-only\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = objectWithout;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function objectWithout(originalObj = {}, keysToRemain = []) {\n    let newObj = {};\n    for (let key in originalObj) {\n      if (keysToRemain.indexOf(key) !== -1) {\n        newObj[key] = originalObj[key];\n      }\n    }\n    return newObj;\n  }\n});","define(\"ember-cli-flash/utils/object-without\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = objectWithout;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function objectWithout(originalObj = {}, keysToRemove = []) {\n    let newObj = {};\n    for (let key in originalObj) {\n      if (keysToRemove.indexOf(key) === -1) {\n        newObj[key] = originalObj[key];\n      }\n    }\n    return newObj;\n  }\n});","define(\"ember-cli-head/components/head-layout\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#in-element this.headElement insertBefore=null}}\n    {{! template-lint-disable no-forbidden-elements }}\n    <meta name=\"ember-cli-head-start\" content=\"\"><HeadContent /><meta name=\"ember-cli-head-end\" content=\"\">\n  {{/in-element}}\n  \n  */\n  {\n    \"id\": \"KWzSJwnI\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,0,[\\\"headElement\\\"]]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"meta\\\"],[14,3,\\\"ember-cli-head-start\\\"],[14,\\\"content\\\",\\\"\\\"],[12],[13],[8,\\\"head-content\\\",[],[[],[]],null],[10,\\\"meta\\\"],[14,3,\\\"ember-cli-head-end\\\"],[14,\\\"content\\\",\\\"\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-in-el-null\\\",\\\"in-element\\\"]}\",\n    \"moduleName\": \"ember-cli-head/components/head-layout.hbs\"\n  });\n  let HeadLayout = _exports.default = (_dec = Ember.inject.service('-document'), _class = class HeadLayout extends _component.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"document\", _descriptor, this);\n      /**\n       * If true, this will tear down any existing head on init of this component.\n       * This is useful if there is a head built with fastboot - it will then be torn down when this is initialized in the browser.\n       * If you do not want this behavior, you can set this to false.\n       * @public\n       */\n      _defineProperty(this, \"shouldTearDownOnInit\", true);\n      /**\n       * The element to render into. Defaults to <head> in `init`, overridable for our own tests only.\n       * @private\n       */\n      _defineProperty(this, \"headElement\", this.args.headElement || this.document.head);\n      if (this.shouldTearDownOnInit) {\n        this._tearDownHead();\n      }\n    }\n\n    /**\n     * Tear down any previous head, if there was one.\n     * @private\n     */\n    _tearDownHead() {\n      if (this._isFastboot()) {\n        return;\n      }\n\n      // clear fast booted head (if any)\n      let document = this.document;\n      let startMeta = document.querySelector('meta[name=\"ember-cli-head-start\"]');\n      let endMeta = document.querySelector('meta[name=\"ember-cli-head-end\"]');\n      if (startMeta && endMeta) {\n        let el = startMeta.nextSibling;\n        while (el && el !== endMeta) {\n          document.head.removeChild(el);\n          el = startMeta.nextSibling;\n        }\n        document.head.removeChild(startMeta);\n        document.head.removeChild(endMeta);\n      }\n    }\n    _isFastboot() {\n      return typeof FastBoot !== 'undefined';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"document\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, HeadLayout);\n});","define(\"ember-cli-head/services/head-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class HeadData extends Ember.Service {}\n  _exports.default = HeadData;\n});","define(\"ember-cli-jstree/components/ember-jstree\", [\"exports\", \"ember-component-inbound-actions/inbound-actions\", \"ember-cli-jstree/mixins/ember-jstree-actions\"], function (exports, _inboundActions, _emberJstreeActions) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const { testing } = Ember;\n\n  exports.default = Ember.Component.extend(_inboundActions.default, _emberJstreeActions.default, {\n    // Properties for Ember communication\n    actionReceiver: null,\n    currentNode: null,\n    selectedNodes: null,\n\n    // Basic configuration objects\n    data: Ember.A(),\n    plugins: Ember.A(),\n    themes: Ember.A(),\n    checkCallback: true,\n    multiple: true,\n    worker: true,\n\n    // Refresh configuration variables\n    skipLoading: false,\n    forgetState: false,\n\n    // Plugin option objects\n    checkboxOptions: null,\n    contextmenuOptions: null,\n    typesOptions: null,\n    searchOptions: null,\n    dndOptions: null,\n    sort: null,\n\n    selectionDidChange: null,\n    treeObject: null,\n\n    // Internals\n    _isDestroying: false,\n\n    isReady: false,\n    _searchTerm: null,\n\n    _isReadyTestWaiter() {\n      return this.get(\"isReady\") === true;\n    },\n\n    didInsertElement() {\n      Ember.run.schedule(\"afterRender\", this, this.createTree);\n    },\n\n    createTree() {\n      if (testing) {\n        // Add test waiter.\n        Ember.Test.registerWaiter(this, this._isReadyTestWaiter);\n      }\n\n      let treeObject = this._setupJsTree();\n\n      this._setupEventHandlers(treeObject);\n\n      this.set(\"treeObject\", treeObject);\n    },\n\n    willDestroyElement() {\n      if (testing) {\n        Ember.Test.unregisterWaiter(this, this._isReadyTestWaiter);\n      }\n\n      this.set(\"isReady\", false);\n      this.set(\"_isDestroying\", true);\n      this.send(\"destroy\");\n    },\n\n    didUpdateAttrs() {\n      this._super(...arguments);\n\n      let pluginsArray = this.get(\"plugins\");\n      if (Ember.isPresent(pluginsArray)) {\n        let searchOptions = this.get(\"searchOptions\");\n        if (Ember.isPresent(searchOptions) && pluginsArray.indexOf(\"search\") >= 0) {\n          let searchTerm = this.get(\"searchTerm\");\n          if (this.get(\"_searchTerm\") !== searchTerm) {\n            Ember.run.next(\"afterRender\", () => {\n              this.set(\"_searchTerm\", searchTerm);\n              this.getTree().search(searchTerm);\n            });\n          }\n        }\n      }\n    },\n\n    /**\n     * Main setup function that registers all the plugins and sets up the core\n     * configuration object for jsTree\n     *\n     * @method _setupJsTree\n     */\n    _setupJsTree() {\n      return this.$().jstree(this._buildConfig());\n    },\n\n    /**\n     * Builds config object for jsTree. Could be used to override config in descendant classes.\n     *\n     * @method _buildConfig\n     */\n    _buildConfig() {\n      let configObject = {};\n\n      configObject[\"core\"] = {\n        data: this.get(\"data\"),\n        check_callback: this.get(\"checkCallback\"),\n        multiple: this.get(\"multiple\"),\n        worker: this.get(\"worker\")\n      };\n\n      let themes = this.get(\"themes\");\n      if (Ember.isPresent(themes) && Ember.typeOf(themes) === \"object\") {\n        configObject[\"core\"][\"themes\"] = themes;\n      }\n\n      let pluginsArray = this.get(\"plugins\");\n      if (Ember.isPresent(pluginsArray)) {\n        pluginsArray = pluginsArray.replace(/ /g, \"\").split(\",\");\n        configObject[\"plugins\"] = pluginsArray;\n\n        if (pluginsArray.includes(\"contextmenu\") || pluginsArray.includes(\"dnd\") || pluginsArray.includes(\"unique\")) {\n          // These plugins need core.check_callback\n          configObject[\"core\"][\"check_callback\"] = configObject[\"core\"][\"check_callback\"] || true;\n        }\n\n        let checkboxOptions = this.get(\"checkboxOptions\");\n        if (Ember.isPresent(checkboxOptions) && pluginsArray.includes(\"checkbox\")) {\n          configObject[\"checkbox\"] = checkboxOptions;\n        }\n\n        let searchOptions = this.get(\"searchOptions\");\n        if (Ember.isPresent(searchOptions) && pluginsArray.includes(\"search\")) {\n          configObject[\"search\"] = searchOptions;\n        }\n\n        let sort = this.get(\"sort\");\n        if (Ember.isPresent(sort) && pluginsArray.includes(\"sort\")) {\n          configObject[\"sort\"] = sort;\n        }\n\n        let stateOptions = this.get(\"stateOptions\");\n        if (Ember.isPresent(stateOptions) && pluginsArray.includes(\"state\")) {\n          configObject[\"state\"] = stateOptions;\n        }\n\n        let typesOptions = this.get(\"typesOptions\");\n        if (Ember.isPresent(typesOptions) && pluginsArray.includes(\"types\")) {\n          configObject[\"types\"] = typesOptions;\n        }\n\n        let contextmenuOptions = this.get(\"contextmenuOptions\");\n        if (Ember.isPresent(contextmenuOptions) && pluginsArray.includes(\"contextmenu\")) {\n          configObject[\"contextmenu\"] = this._setupContextMenus(contextmenuOptions);\n        }\n\n        let dndOptions = this.get(\"dndOptions\");\n        if (Ember.isPresent(dndOptions) && pluginsArray.includes(\"dnd\")) {\n          configObject[\"dnd\"] = dndOptions;\n        }\n      }\n\n      return configObject;\n    },\n\n    /**\n     * Setup context menu action handlers to handle ember actions\n     *\n     * @method _setupContextMenus\n     * @param  {Array} contextmenuOptions Context menu configuration options\n     * @return {Array} An Array of Ember-friendly options to pass back into the config object\n     */\n    _setupContextMenus(contextmenuOptions) {\n      if (Ember.typeOf(contextmenuOptions[\"items\"]) === \"object\") {\n        let newMenuItems = {};\n        let menuItems = Object.keys(contextmenuOptions[\"items\"]);\n        for (let menuItem of menuItems) {\n          let itemData = contextmenuOptions[\"items\"][menuItem];\n          newMenuItems[menuItem] = itemData;\n\n          // Only change if not a function\n          // This needs to be done to handle Ember actions\n          if (Ember.typeOf(itemData[\"action\"]) !== \"function\") {\n            let emberAction = itemData[\"action\"];\n\n            newMenuItems[menuItem][\"action\"] = data => {\n              this.send(\"contextmenuItemDidClick\", emberAction, data);\n            };\n          }\n        }\n\n        contextmenuOptions[\"items\"] = newMenuItems;\n      }\n\n      return contextmenuOptions;\n    },\n\n    /**\n     * Register all sorts of events\n     * TODO: This should eventually encompass all of the jsTree events declared in their API.\n     *\n     * @method _setupEventHandlers\n     * @param  {Object}\n     * @return\n     */\n    _setupEventHandlers(treeObject) {\n      if (typeof treeObject !== \"object\") {\n        throw new Error(\"You must pass a valid jsTree object to set up its event handlers\");\n      }\n\n      /*\n            Event: init.jstree\n            Action: eventDidInit\n            triggered after all events are bound\n          */\n      treeObject.on(\"init.jstree\", () => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidInit\");\n        });\n      });\n\n      /*\n            Event: loading.jstree\n            Action: eventIsLoading\n            triggered after the loading text is shown and before loading starts\n          */\n      treeObject.on(\"loading.jstree\", () => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventIsLoading\");\n        });\n      });\n\n      /*\n            Event: loaded.jstree\n            Action: eventDidLoad\n            triggered after the root node is loaded for the first time\n          */\n      treeObject.on(\"loaded.jstree\", () => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidLoad\");\n        });\n      });\n\n      /*\n            Event: ready.jstree\n            Action: eventDidBecomeReady\n            triggered after all nodes are finished loading\n          */\n      treeObject.on(\"ready.jstree\", () => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.set(\"isReady\", true);\n          this.callAction(\"eventDidBecomeReady\");\n        });\n      });\n\n      /*\n            Event: redraw.jstree\n            Action: eventDidRedraw\n            triggered after nodes are redrawn\n          */\n      treeObject.on(\"redraw.jstree\", () => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidRedraw\");\n        });\n      });\n\n      /*\n            Event: after_open.jstree\n            Action: eventDidOpen\n            triggered when a node is opened and the animation is complete\n          */\n      treeObject.on(\"after_open.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidOpen\", data.node);\n        });\n      });\n\n      /*\n            Event: after_close.jstree\n            Action: eventDidClose\n            triggered when a node is closed and the animation is complete\n          */\n      treeObject.on(\"after_close.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidClose\", data.node);\n        });\n      });\n\n      /*\n            Event: select_node.jstree\n            Action: eventDidSelectNode\n            triggered when an node is selected\n          */\n      treeObject.on(\"select_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidSelectNode\", data.node, data.selected, data.event);\n        });\n      });\n\n      /*\n            Event: deselect_node.jstree\n            Action: eventDidDeselectNode\n            triggered when an node is deselected\n          */\n      treeObject.on(\"deselect_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidDeselectNode\", data.node, data.selected, data.event);\n        });\n      });\n\n      /*\n            Event: changed.jstree\n            Action: jstreeDidChange\n            triggered when selection changes\n          */\n      treeObject.on(\"changed.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n\n          // Check if selection changed\n          if (Ember.isPresent(this.get(\"treeObject\"))) {\n            let selectionChangedEventNames = [\"model\", \"select_node\", \"deselect_node\", \"select_all\", \"deselect_all\"];\n            if (Ember.isPresent(data.action) && selectionChangedEventNames.includes(data.action)) {\n              let selNodes = Ember.A(this.get(\"treeObject\").jstree(true).get_selected(true));\n              this.set(\"selectedNodes\", selNodes);\n            }\n          }\n\n          this.callAction(\"eventDidChange\", data);\n        });\n      });\n\n      /*\n            Event: hover_node.jstree\n            Action: eventDidHoverNode\n            triggered when a node is hovered\n          */\n      treeObject.on(\"hover_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidHoverNode\", data.node);\n        });\n      });\n\n      /*\n            Event: dehover_node.jstree\n            Action: eventDidDehoverNode\n            triggered when a node is no longer hovered\n          */\n      treeObject.on(\"dehover_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidDehoverNode\", data.node);\n        });\n      });\n\n      /*\n            Event: show_node.jstree\n            Action: eventDidShowNode\n            triggered when a node is no longer hovered\n          */\n      treeObject.on(\"show_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidShowNode\", data.node);\n        });\n      });\n\n      /*\n            Event: move_node.jstree\n            Action: eventDidMoveNode\n            triggered when a node is moved\n          */\n      treeObject.on(\"move_node.jstree\", (event, data) => {\n        Ember.run.next(this, function () {\n          if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n            return;\n          }\n          this.callAction(\"eventDidMoveNode\", data);\n        });\n      });\n\n      let pluginsArray = this.get(\"plugins\");\n\n      if (Ember.isPresent(pluginsArray) && pluginsArray.indexOf(\"search\") > -1) {\n        /*\n             Event: search.jstree\n             Action: eventDidSearch\n             triggered when a search action is performed\n        */\n        treeObject.on(\"search.jstree\", (event, data) => {\n          Ember.run.next(this, function () {\n            if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n              return;\n            }\n            this.callAction(\"eventDidSearch\", event, data);\n          });\n        });\n      }\n\n      if (Ember.isPresent(pluginsArray) && pluginsArray.indexOf(\"checkbox\") > -1) {\n        /*\n             Event: disable_checkbox.jstree\n             Action: eventDidDisableCheckbox\n             triggered when an node's checkbox is disabled\n           */\n        treeObject.on(\"disable_checkbox.jstree\", (event, data) => {\n          Ember.run.next(this, function () {\n            if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n              return;\n            }\n            this.callAction(\"eventDidDisableCheckbox\", data.node);\n          });\n        });\n\n        /*\n             Event: enable_checkbox.jstree\n             Action: eventDidEnableCheckbox\n             triggered when an node's checkbox is enabled\n           */\n        treeObject.on(\"enable_checkbox.jstree\", (event, data) => {\n          Ember.run.next(this, function () {\n            if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n              return;\n            }\n            this.callAction(\"eventDidEnableCheckbox\", data.node);\n          });\n        });\n\n        if (Ember.isPresent(\"checkboxOptions.tie_selected\") && !this.get(\"checkboxOptions.tie_selected\")) {\n          /*\n               Event: check_node.jstree\n               Action: eventDidCheckNode\n               triggered when an node is checked (only if tie_selection in checkbox settings is false)\n             */\n          treeObject.on(\"check_node.jstree\", (event, data) => {\n            Ember.run.next(this, function () {\n              if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n                return;\n              }\n              this.callAction(\"eventDidCheckNode\", data.node, data.selected, data.event);\n            });\n          });\n\n          /*\n               Event: uncheck_node.jstree\n               Action: eventDidUncheckNode\n               triggered when an node is unchecked (only if tie_selection in checkbox settings is false)\n             */\n          treeObject.on(\"uncheck_node.jstree\", (event, data) => {\n            Ember.run.next(this, function () {\n              if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n                return;\n              }\n              this.callAction(\"eventDidUncheckNode\", data.node, data.selected, data.event);\n            });\n          });\n\n          /*\n               Event: check_all.jstree\n               Action: eventDidCheckAll\n               triggered when all nodes are checked (only if tie_selection in checkbox settings is false)\n             */\n          treeObject.on(\"check_all.jstree\", (event, data) => {\n            Ember.run.next(this, function () {\n              if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n                return;\n              }\n              this.callAction(\"eventDidCheckAll\", data.selected);\n            });\n          });\n\n          /*\n               Event: uncheck_all.jstree\n               Action: eventDidUncheckAll\n               triggered when all nodes are unchecked (only if tie_selection in checkbox settings is false)\n             */\n          treeObject.on(\"uncheck_all.jstree\", (event, data) => {\n            Ember.run.next(this, function () {\n              if (this.get(\"isDestroyed\") || this.get(\"isDestroying\")) {\n                return;\n              }\n              this.callAction(\"eventDidUncheckAll\", data.node, data.selected);\n            });\n          });\n        }\n      }\n    },\n\n    /**\n     * Refreshes the data in the tree\n     * TODO: Investigate why redraw(true) doesn't work...\n     *\n     * @method _redrawTree\n     */\n    _refreshTree: Ember.observer(\"data\", function () {\n      let tree = this.getTree();\n      if (null !== tree && false !== tree) {\n        tree.settings.core[\"data\"] = this.get(\"data\");\n        tree.refresh(this.get(\"skipLoading\"), this.get(\"forgetState\"));\n      } else {\n        // setup again if destroyed\n        let treeObject = this._setupJsTree();\n        this._setupEventHandlers(treeObject);\n        this.set(\"treeObject\", treeObject);\n      }\n    }),\n\n    getTree() {\n      let tree = this.get(\"treeObject\");\n      return tree.jstree(true);\n    },\n\n    actions: {\n      contextmenuItemDidClick(actionName, data) {\n        let emberTreeObj = this.get(\"getTree\");\n\n        let instance = Ember.$.jstree.reference(data.reference);\n        let node = instance.get_node(data.reference);\n\n        this.callAction(actionName, node, emberTreeObj);\n      }\n    }\n  });\n});","define(\"ember-cli-jstree/mixins/ember-jstree-actions\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const { testing } = Ember;\n\n  /**\n   * Actions that are mapped to jstree and return Ember actions with parameters where necessary.\n   * These actions are passed to the addon via the actionReceiver property and are generally\n   * the same as jsTree method names, but camelized.\n   *\n   * @class EmberJstreeActions\n   */\n  exports.default = Ember.Mixin.create({\n    callAction(actionName, ...args) {\n      let action = this.get(actionName);\n\n      if (Ember.typeOf(action) === \"function\") {\n        return action(...args);\n      }\n    },\n\n    _jsTreeFindNodeMatches(property, values) {\n      let treeObject = this.get(\"treeObject\");\n      let nodes = [];\n\n      if (\"id\" === property) {\n        // If property is ID, can use get_node, which is faster than search.\n        if (Ember.isArray(values)) {\n          for (let i = 0; i < values.length; i++) {\n            let node = treeObject.jstree(true).get_node(values[i]);\n            nodes.push(node);\n          }\n        }\n      } else {\n        if (!Ember.isArray(values)) {\n          values = Ember.A([values]);\n        }\n\n        let data = treeObject.jstree(true)._model.data;\n        let dataKeys = Object.keys(data);\n\n        for (let i = 0; i < values.length; i++) {\n          let value = values[i];\n          if (!Ember.isNone(value)) {\n            for (let j = 0; j < dataKeys.length; j++) {\n              let node = data[dataKeys[j]];\n              if (Ember.typeOf(node.original) !== \"undefined\" && node.original[property] === value) {\n                nodes.push(node);\n                break;\n              }\n            }\n          }\n        }\n      }\n\n      return nodes;\n    },\n\n    actions: {\n      redraw() {\n        // Redraw true currently does not work as intended. Need to investigate.\n        this._refreshTree();\n      },\n\n      destroy() {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          if (!testing && !this.get(\"_isDestroying\")) {\n            treeObject.jstree(true).destroy();\n          }\n\n          this.callAction(\"eventDidDestroy\");\n        }\n      },\n\n      getNode(nodeId) {\n        if (Ember.typeOf(nodeId) !== \"string\") {\n          throw new Error(\"getNode() requires a node ID to be passed to it to return the node!\");\n        }\n\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetNode\", treeObject.jstree(true).get_node(nodeId));\n        }\n      },\n\n      getText(obj) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetText\", treeObject.jstree(true).get_text(obj));\n        }\n      },\n\n      getPath(obj, glue, ids) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetPath\", treeObject.jstree(true).get_path(obj, glue, ids));\n        }\n      },\n\n      getChildrenDom(obj) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetChildrenDom\", treeObject.jstree(true).get_children_dom(obj));\n        }\n      },\n\n      getContainer() {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetContainer\", treeObject.jstree(true).get_container());\n        }\n      },\n\n      getParent(obj) {\n        obj = obj || \"#\";\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionGetParent\", treeObject.jstree(true).get_parent(obj));\n        }\n      },\n\n      loadNode(obj, cb) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionLoadNode\", treeObject.jstree(true).load_node(obj, cb));\n        }\n      },\n\n      loadAll(obj, cb) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionLoadAll\", treeObject.jstree(true).load_all(obj, cb));\n        }\n      },\n\n      openNode(obj, cb, animation) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).open_node(obj, cb, animation);\n        }\n      },\n\n      openAll(obj, animation) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).open_all(obj, animation);\n        }\n      },\n\n      closeNode(obj, cb) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).close_node(obj, cb);\n        }\n      },\n\n      closeAll(obj, animation) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).close_all(obj, animation);\n        }\n      },\n\n      toggleNode(obj) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).toggle_node(obj);\n        }\n      },\n\n      createNode(obj, node, pos, callback, is_loaded) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionCreateNode\", treeObject.jstree(true).create_node(obj, node, pos, callback, is_loaded));\n        }\n      },\n\n      renameNode(obj, val) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionRenameNode\", treeObject.jstree(true).rename_node(obj, val));\n        }\n      },\n\n      moveNode(obj, par, pos, callback, is_loaded) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).move_node(obj, par, pos, callback, is_loaded);\n        }\n      },\n\n      copyNode(obj, par, pos, callback, is_loaded) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).copy_node(obj, par, pos, callback, is_loaded);\n        }\n      },\n\n      deleteNode(obj) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          this.callAction(\"actionDeleteNode\", treeObject.jstree(true).delete_node(obj));\n        }\n      },\n\n      selectNode(obj, suppress_event) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).select_node(obj, suppress_event);\n        }\n      },\n\n      deselectNode(obj, suppress_event) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).deselect_node(obj, suppress_event);\n        }\n      },\n\n      selectAll(suppress_event) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).select_all(suppress_event);\n        }\n      },\n\n      deselectAll(suppress_event) {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          treeObject.jstree(true).deselect_all(suppress_event);\n        }\n      },\n\n      lastError() {\n        let treeObject = this.get(\"treeObject\");\n        if (!Ember.isNone(treeObject)) {\n          let e = treeObject.jstree(true).last_error();\n          this.set(\"_lastError\", e);\n          this.callAction(\"actionLastError\", e);\n        }\n      },\n\n      deselectNodes(property, values) {\n        if (arguments.length === 0) {\n          (true && Ember.warn(\"Using deselectNodes without parameters to deselect all nodes is deprecated. Use the deselectAll action to deselect all nodes.\"));\n\n          this.send(\"deselectAll\");\n          return;\n        }\n\n        let treeObject = this.get(\"treeObject\");\n        let nodes = this._jsTreeFindNodeMatches(property, values);\n\n        treeObject.jstree(true).deselect_node(nodes, true, true);\n        treeObject.jstree(true).redraw(); // Redraw so that parent nodes get their indicator changed.\n      },\n\n      selectNodes(property, values) {\n        let treeObject = this.get(\"treeObject\");\n        if (null !== treeObject && !this.get(\"isDestroyed\") && !this.get(\"isDestroying\")) {\n          let nodes = this._jsTreeFindNodeMatches(property, values);\n          treeObject.jstree(true).select_node(nodes, true, true);\n        }\n      }\n    }\n  });\n});","define(\"ember-cli-string-helpers/-private/create-string-helper\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(stringFunction) {\n    return function ([string]) {\n      if (Ember.String.isHTMLSafe(string)) {\n        string = string.string;\n      }\n      string = string || '';\n      return stringFunction(string);\n    };\n  }\n});","define(\"ember-cli-string-helpers/helpers/camelize\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.camelize = void 0;\n  const camelize = _exports.camelize = (0, _createStringHelper.default)(Ember.String.camelize);\n  var _default = _exports.default = Ember.Helper.helper(camelize);\n});","define(\"ember-cli-string-helpers/helpers/capitalize\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.capitalize = void 0;\n  const capitalize = _exports.capitalize = (0, _createStringHelper.default)(Ember.String.capitalize);\n  var _default = _exports.default = Ember.Helper.helper(capitalize);\n});","define(\"ember-cli-string-helpers/helpers/classify\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.classify = void 0;\n  const classify = _exports.classify = (0, _createStringHelper.default)(Ember.String.classify);\n  var _default = _exports.default = Ember.Helper.helper(classify);\n});","define(\"ember-cli-string-helpers/helpers/dasherize\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.dasherize = void 0;\n  const dasherize = _exports.dasherize = (0, _createStringHelper.default)(Ember.String.dasherize);\n  var _default = _exports.default = Ember.Helper.helper(dasherize);\n});","define(\"ember-cli-string-helpers/helpers/html-safe\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.htmlSafe = _exports.default = void 0;\n  const htmlSafe = _exports.htmlSafe = (0, _createStringHelper.default)(Ember.String.htmlSafe);\n  var _default = _exports.default = Ember.Helper.helper(htmlSafe);\n});","define(\"ember-cli-string-helpers/helpers/humanize\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.humanize = humanize;\n  const regex = /_+|-+/g;\n  const replacement = ' ';\n\n  // The substituted value will be contained in the result variable\n  function humanize([string]) {\n    if (Ember.String.isHTMLSafe(string)) {\n      string = string.string;\n    }\n    if (string === undefined || string === null) {\n      return '';\n    }\n    let result = string.toLowerCase().replace(regex, replacement);\n    return result.charAt(0).toUpperCase() + result.slice(1);\n  }\n  var _default = _exports.default = Ember.Helper.helper(humanize);\n});","define(\"ember-cli-string-helpers/helpers/lowercase\", [\"exports\", \"ember-cli-string-helpers/utils/lowercase\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _lowercase, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.lowercase = _exports.default = void 0;\n  const lowercase = _exports.lowercase = (0, _createStringHelper.default)(_lowercase.default);\n  var _default = _exports.default = Ember.Helper.helper(lowercase);\n});","define(\"ember-cli-string-helpers/helpers/titleize\", [\"exports\", \"ember-cli-string-helpers/utils/titleize\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _titleize, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.titleize = _exports.default = void 0;\n  const titleize = _exports.titleize = (0, _createStringHelper.default)(_titleize.default);\n  var _default = _exports.default = Ember.Helper.helper(titleize);\n});","define(\"ember-cli-string-helpers/helpers/trim\", [\"exports\", \"ember-cli-string-helpers/utils/trim\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _trim, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.trim = _exports.default = void 0;\n  const trim = _exports.trim = (0, _createStringHelper.default)(_trim.default);\n  var _default = _exports.default = Ember.Helper.helper(trim);\n});","define(\"ember-cli-string-helpers/helpers/truncate\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.truncate = truncate;\n  function truncate([string, characterLimit = 140, useEllipsis = true]) {\n    let limit = useEllipsis ? characterLimit - 3 : characterLimit;\n    if (Ember.String.isHTMLSafe(string)) {\n      string = string.string;\n    }\n    if (string && string.length > limit) {\n      return useEllipsis ? `${string.substring(0, limit)}...` : string.substring(0, limit);\n    } else {\n      return string;\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(truncate);\n});","define(\"ember-cli-string-helpers/helpers/underscore\", [\"exports\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.underscore = _exports.default = void 0;\n  const underscore = _exports.underscore = (0, _createStringHelper.default)(Ember.String.underscore);\n  var _default = _exports.default = Ember.Helper.helper(underscore);\n});","define(\"ember-cli-string-helpers/helpers/uppercase\", [\"exports\", \"ember-cli-string-helpers/utils/uppercase\", \"ember-cli-string-helpers/-private/create-string-helper\"], function (_exports, _uppercase, _createStringHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.uppercase = _exports.default = void 0;\n  const uppercase = _exports.uppercase = (0, _createStringHelper.default)(_uppercase.default);\n  var _default = _exports.default = Ember.Helper.helper(uppercase);\n});","define(\"ember-cli-string-helpers/helpers/w\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.w = w;\n  function w([...wordStrings]) {\n    return wordStrings.map(Ember.String.w).reduce((words, moreWords) => {\n      return words.concat(moreWords);\n    }, []);\n  }\n  var _default = _exports.default = Ember.Helper.helper(w);\n});","define(\"ember-cli-string-helpers/utils/lowercase\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = lowercase;\n  function lowercase(string = '') {\n    if (typeof string !== 'string') {\n      throw new TypeError(`Expected a string, got a ${typeof string}`);\n    }\n    return string.toLowerCase();\n  }\n});","define(\"ember-cli-string-helpers/utils/titleize\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = titleize;\n  function titleize(string = '') {\n    if (typeof string !== 'string') {\n      throw new TypeError(`Expected a string, got a ${typeof string}`);\n    }\n    return string.toLowerCase().replace(/(?:^|\\s|-|\\/)\\S/g, function (m) {\n      return m.toUpperCase();\n    });\n  }\n});","define(\"ember-cli-string-helpers/utils/trim\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = trim;\n  function trim(string = '') {\n    if (typeof string !== 'string') {\n      throw new TypeError(`Expected a string, got a ${typeof string}`);\n    }\n    return string.trim();\n  }\n});","define(\"ember-cli-string-helpers/utils/uppercase\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = uppercase;\n  function uppercase(string = '') {\n    if (typeof string !== 'string') {\n      throw new TypeError(`Expected a string, got a ${typeof string}`);\n    }\n    return string.toUpperCase();\n  }\n});","define('ember-component-inbound-actions/action-proxy', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Object.extend(Ember.ActionHandler);\n});","define('ember-component-inbound-actions/helpers/send', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Helper.helper(([target, action, ...params]) => {\n    return () => {\n      target.send(action, ...params);\n    };\n  });\n});","define('ember-component-inbound-actions/inbound-actions', ['exports', 'ember-component-inbound-actions/action-proxy'], function (exports, _actionProxy) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  let scheduleInAfterRender = /^1\\.13|^[2-9]/.test(Ember.VERSION);\n\n  exports.default = Ember.Mixin.create({\n    _inbound_actions_setup: Ember.on('init', function () {\n      this._inbound_actions_maybeScheduleInAfterRender(() => {\n        var proxy = _actionProxy.default.create({ target: this });\n        this.set('actionReceiver', proxy);\n      });\n    }),\n    _inbound_actions_maybeScheduleInAfterRender: function (fn) {\n      if (scheduleInAfterRender) {\n        Ember.run.schedule('afterRender', this, fn);\n      } else {\n        fn();\n      }\n    },\n    onDestroy: Ember.on('willDestroyElement', function () {\n      this.set('actionReceiver', null);\n    })\n  });\n});","define(\"ember-composable-helpers/-private/closure-action\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    __loader\n  } = Ember;\n  let ClosureActionModule = {\n    ACTION: null\n  };\n  if ('ember-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in __loader.registry) {\n    ClosureActionModule = __loader.require('ember-routing-htmlbars/keywords/closure-action');\n  }\n  var _default = _exports.default = ClosureActionModule.ACTION;\n});","define(\"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getValueArrayAndUseDeepEqualFromParams;\n  function getValueArrayAndUseDeepEqualFromParams(params) {\n    let currentValue = params[0];\n    let array;\n    let useDeepEqual = false;\n    if (params.length === 2) {\n      array = params[1];\n    } else {\n      useDeepEqual = params[1];\n      array = params[2];\n    }\n    return {\n      currentValue,\n      array,\n      useDeepEqual\n    };\n  }\n});","define(\"ember-composable-helpers/helpers/append\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.append = append;\n  _exports.default = void 0;\n  function append([...arrays]) {\n    return [].concat(...arrays);\n  }\n  var _default = _exports.default = Ember.Helper.helper(append);\n});","define(\"ember-composable-helpers/helpers/call\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.call = call;\n  _exports.default = void 0;\n  /**\n   * Calls a function passed within a template and returns its value.\n   * In order to pass arguments to the function being called, you must\n   * curry the function using the `fn` helper.\n   *\n   ```example\n      <div data-metrics={{call (fn this.myMetrics (hash item=@item))}}\n    ```\n   *\n   * @function apply\n   * @param {Array<Function>} fn - The function to be called\n   * @param {*=} thisArg - An optional `this` context\n   */\n  function call([fn, thisArg]) {\n    if (fn) {\n      if (thisArg) {\n        return fn.apply(thisArg);\n      } else {\n        return fn();\n      }\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(call);\n});","define(\"ember-composable-helpers/helpers/chunk\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.chunk = chunk;\n  _exports.default = void 0;\n  const {\n    max,\n    ceil\n  } = Math;\n  function chunk(num, array) {\n    let integer = parseInt(num, 10);\n    let size = max(integer, 0);\n    let length = 0;\n    if (Ember.isArray(array)) {\n      length = array.length;\n    }\n    if (!length || size < 1) {\n      return [];\n    } else {\n      let index = 0;\n      let resultIndex = -1;\n      let result = new Array(ceil(length / size));\n      while (index < length) {\n        result[++resultIndex] = array.slice(index, index += size);\n      }\n      return result;\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([num, array]) {\n    return chunk(num, array);\n  });\n});","define(\"ember-composable-helpers/helpers/compact\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compact = compact;\n  _exports.default = void 0;\n  function compact([value]) {\n    let array;\n    if (Array.isArray(value)) {\n      array = value;\n    } else {\n      array = [value];\n    }\n    return array.filter(item => Ember.isPresent(item));\n  }\n  var _default = _exports.default = Ember.Helper.helper(compact);\n});","define(\"ember-composable-helpers/helpers/compute\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compute = compute;\n  _exports.default = void 0;\n  function compute([action, ...params]) {\n    return action(...params);\n  }\n  var _default = _exports.default = Ember.Helper.helper(compute);\n});","define(\"ember-composable-helpers/helpers/contains\", [\"exports\", \"ember-composable-helpers/utils/includes\"], function (_exports, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contains = contains;\n  _exports.default = void 0;\n  function _contains(needle, haystack) {\n    return (0, _includes.default)(Ember.A(haystack), needle);\n  }\n  function contains(needle, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n    if (Ember.isArray(needle)) {\n      return needle.reduce((acc, val) => acc && _contains(val, haystack), true);\n    }\n    return _contains(needle, haystack);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([needle, haystack]) {\n    return contains(needle, haystack);\n  });\n});","define(\"ember-composable-helpers/helpers/dec\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dec = dec;\n  _exports.default = void 0;\n  function dec([step, val]) {\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n    val = Number(val);\n    if (isNaN(val)) {\n      return;\n    }\n    if (step === undefined) {\n      step = 1;\n    }\n    return val - step;\n  }\n  var _default = _exports.default = Ember.Helper.helper(dec);\n});","define(\"ember-composable-helpers/helpers/drop\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.drop = drop;\n  function drop([dropAmount, array]) {\n    if (!array) {\n      array = [];\n    }\n    return array.slice(dropAmount);\n  }\n  var _default = _exports.default = Ember.Helper.helper(drop);\n});","define(\"ember-composable-helpers/helpers/entries\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.keys = keys;\n  function keys([object]) {\n    if (!object) {\n      return object;\n    }\n    return Object.entries(object);\n  }\n  var _default = _exports.default = Ember.Helper.helper(keys);\n});","define(\"ember-composable-helpers/helpers/filter-by\", [\"exports\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.filterBy = filterBy;\n  function filterBy([byPath, value, array]) {\n    if (!Ember.isArray(array) && Ember.isArray(value)) {\n      array = value;\n      value = undefined;\n    }\n    if (Ember.isEmpty(byPath) || Ember.isEmpty(array)) {\n      return [];\n    }\n    let filterFn;\n    if (Ember.isPresent(value)) {\n      if (typeof value === 'function') {\n        filterFn = item => value(Ember.get(item, byPath));\n      } else {\n        filterFn = item => (0, _isEqual.default)(Ember.get(item, byPath), value);\n      }\n    } else {\n      filterFn = item => !!Ember.get(item, byPath);\n    }\n    return array.filter(filterFn);\n  }\n  var _default = _exports.default = Ember.Helper.helper(filterBy);\n});","define(\"ember-composable-helpers/helpers/filter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.filter = filter;\n  function filter([callback, array]) {\n    if (Ember.isEmpty(callback) || !array) {\n      return [];\n    }\n    return array.filter(callback);\n  }\n  var _default = _exports.default = Ember.Helper.helper(filter);\n});","define(\"ember-composable-helpers/helpers/find-by\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.findBy = findBy;\n  function findBy([byPath, value, array]) {\n    if (Ember.isEmpty(byPath)) {\n      return [];\n    }\n    return Ember.A(array).findBy(byPath, value);\n  }\n  var _default = _exports.default = Ember.Helper.helper(findBy);\n});","define(\"ember-composable-helpers/helpers/flatten\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.flatten = flatten;\n  function flatten(array) {\n    if (!Ember.isArray(array)) {\n      return array;\n    }\n    return array.reduce((flattened, el) => {\n      return flattened.concat(flatten(el));\n    }, []);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([array]) {\n    return flatten(array);\n  });\n});","define(\"ember-composable-helpers/helpers/from-entries\", [\"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.Helper.helper(function fromEntries([entries]) {\n    if (!entries) {\n      return entries;\n    }\n    return Object.fromEntries(entries);\n  });\n});","define(\"ember-composable-helpers/helpers/group-by\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.groupBy = groupBy;\n  function groupBy([byPath, array]) {\n    let groups = {};\n    array.forEach(item => {\n      let groupName = Ember.get(item, byPath);\n      let group = groups[groupName];\n      if (!Array.isArray(group)) {\n        group = [];\n        groups[groupName] = group;\n      }\n      group.push(item);\n    });\n    return groups;\n  }\n  var _default = _exports.default = Ember.Helper.helper(groupBy);\n});","define(\"ember-composable-helpers/helpers/has-next\", [\"exports\", \"ember-composable-helpers/helpers/next\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\"], function (_exports, _next, _isEqual, _getValueArrayAndUseDeepEqualFromParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.hasNext = hasNext;\n  function hasNext(currentValue, array, useDeepEqual = false) {\n    if (!array) {\n      array = [];\n    }\n    let nextValue = (0, _next.next)(currentValue, array, useDeepEqual);\n    let isNotSameValue = !(0, _isEqual.default)(nextValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(nextValue);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return hasNext(currentValue, array, useDeepEqual);\n  });\n});","define(\"ember-composable-helpers/helpers/has-previous\", [\"exports\", \"ember-composable-helpers/helpers/previous\", \"ember-composable-helpers/utils/is-equal\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\"], function (_exports, _previous, _isEqual, _getValueArrayAndUseDeepEqualFromParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.hasPrevious = hasPrevious;\n  function hasPrevious(currentValue, array, useDeepEqual = false) {\n    if (!array) {\n      array = [];\n    }\n    let previousValue = (0, _previous.previous)(currentValue, array, useDeepEqual);\n    let isNotSameValue = !(0, _isEqual.default)(previousValue, currentValue, useDeepEqual);\n    return isNotSameValue && Ember.isPresent(previousValue);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return hasPrevious(currentValue, array, useDeepEqual);\n  });\n});","define(\"ember-composable-helpers/helpers/inc\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.inc = inc;\n  function inc([step, val]) {\n    if (Ember.isEmpty(val)) {\n      val = step;\n      step = undefined;\n    }\n    val = Number(val);\n    if (isNaN(val)) {\n      return;\n    }\n    if (step === undefined) {\n      step = 1;\n    }\n    return val + step;\n  }\n  var _default = _exports.default = Ember.Helper.helper(inc);\n});","define(\"ember-composable-helpers/helpers/includes\", [\"exports\", \"ember-composable-helpers/utils/as-array\"], function (_exports, _asArray) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.includes = includes;\n  function includes(needleOrNeedles, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n    let needles = Ember.isArray(needleOrNeedles) ? needleOrNeedles : [needleOrNeedles];\n    let haystackAsEmberArray = Ember.A((0, _asArray.default)(haystack));\n    return (0, _asArray.default)(needles).every(needle => {\n      return haystackAsEmberArray.includes(needle);\n    });\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([needle, haystack]) {\n    return includes(needle, haystack);\n  });\n});","define(\"ember-composable-helpers/helpers/intersect\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.intersect = intersect;\n  function intersect([...arrays]) {\n    let confirmedArrays = arrays.map(array => {\n      return Ember.isArray(array) ? array : [];\n    });\n    // copied from https://github.com/emberjs/ember.js/blob/315ec6472ff542ac714432036cc96fe4bd62bd1f/packages/%40ember/object/lib/computed/reduce_computed_macros.js#L1063-L1100\n    let results = confirmedArrays.pop().filter(candidate => {\n      for (let i = 0; i < arrays.length; i++) {\n        let found = false;\n        let array = arrays[i];\n        for (let 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 results;\n  }\n  var _default = _exports.default = Ember.Helper.helper(intersect);\n});","define(\"ember-composable-helpers/helpers/invoke\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.invoke = invoke;\n  const {\n    all\n  } = Ember.RSVP;\n  function invoke([methodName, ...args]) {\n    let obj = args.pop();\n    if (Ember.isArray(obj)) {\n      return function () {\n        let promises = obj.map(item => Ember.tryInvoke(item, methodName, args));\n        return all(promises);\n      };\n    }\n    return function () {\n      return Ember.tryInvoke(obj, methodName, args);\n    };\n  }\n  var _default = _exports.default = Ember.Helper.helper(invoke);\n});","define(\"ember-composable-helpers/helpers/join\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.join = join;\n  function join([separator, array]) {\n    if (!array) {\n      array = [];\n    }\n    if (Ember.isArray(separator)) {\n      array = separator;\n      separator = ',';\n    }\n    return array.join(separator);\n  }\n  var _default = _exports.default = Ember.Helper.helper(join);\n});","define(\"ember-composable-helpers/helpers/keys\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.keys = keys;\n  function keys([object]) {\n    if (!object) {\n      return object;\n    }\n    return Object.keys(object);\n  }\n  var _default = _exports.default = Ember.Helper.helper(keys);\n});","define(\"ember-composable-helpers/helpers/map-by\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.mapBy = mapBy;\n  function mapBy([byPath, array]) {\n    if (Ember.isEmpty(byPath)) {\n      return [];\n    }\n    if (!array) {\n      array = [];\n    }\n    return array.map(item => Ember.get(item, byPath));\n  }\n  var _default = _exports.default = Ember.Helper.helper(mapBy);\n});","define(\"ember-composable-helpers/helpers/map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.map = map;\n  function map([callback, array]) {\n    if (Ember.isEmpty(callback)) {\n      return [];\n    }\n    return array.map(callback);\n  }\n  var _default = _exports.default = Ember.Helper.helper(map);\n});","define(\"ember-composable-helpers/helpers/next\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\"], function (_exports, _getIndex, _getValueArrayAndUseDeepEqualFromParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.next = next;\n  function next(currentValue, array, useDeepEqual = false) {\n    if (!array) {\n      array = [];\n    }\n    let currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n    let lastIndex = array.length - 1;\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n    return currentIndex === lastIndex ? currentValue : Ember.A(array).objectAt(currentIndex + 1);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return next(currentValue, array, useDeepEqual);\n  });\n});","define(\"ember-composable-helpers/helpers/noop\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.noop = noop;\n  function noop() {\n    return () => {};\n  }\n  var _default = _exports.default = Ember.Helper.helper(noop);\n});","define(\"ember-composable-helpers/helpers/object-at\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.objectAt = objectAt;\n  function objectAt(index, array) {\n    if (!Ember.isArray(array)) {\n      return undefined;\n    }\n    index = parseInt(index, 10);\n    return Ember.A(array).objectAt(index);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([index, array]) {\n    return objectAt(index, array);\n  });\n});","define(\"ember-composable-helpers/helpers/optional\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.optional = optional;\n  function optional([action]) {\n    if (typeof action === 'function') {\n      return action;\n    }\n    return i => i;\n  }\n  var _default = _exports.default = Ember.Helper.helper(optional);\n});","define(\"ember-composable-helpers/helpers/pick\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.pick = pick;\n  function pick([path, action] /*, hash*/) {\n    return function (event) {\n      let value = Ember.get(event, path);\n      if (!action) {\n        return value;\n      }\n      action(value);\n    };\n  }\n  var _default = _exports.default = Ember.Helper.helper(pick);\n});","define(\"ember-composable-helpers/helpers/pipe-action\", [\"exports\", \"ember-composable-helpers/helpers/pipe\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _pipe, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const closurePipe = _pipe.pipe;\n  if (_closureAction.default) {\n    closurePipe[_closureAction.default] = true;\n  }\n  var _default = _exports.default = Ember.Helper.helper(closurePipe);\n});","define(\"ember-composable-helpers/helpers/pipe\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.invokeFunction = invokeFunction;\n  _exports.pipe = pipe;\n  function invokeFunction(acc, curr) {\n    if ((0, _isPromise.default)(acc)) {\n      return acc.then(curr);\n    }\n    return curr(acc);\n  }\n  function pipe(actions = []) {\n    return function (...args) {\n      return actions.reduce((acc, curr, idx) => {\n        if (idx === 0) {\n          return curr(...args);\n        }\n        return invokeFunction(acc, curr);\n      }, undefined);\n    };\n  }\n  var _default = _exports.default = Ember.Helper.helper(pipe);\n});","define(\"ember-composable-helpers/helpers/previous\", [\"exports\", \"ember-composable-helpers/utils/get-index\", \"ember-composable-helpers/-private/get-value-array-and-use-deep-equal-from-params\"], function (_exports, _getIndex, _getValueArrayAndUseDeepEqualFromParams) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.previous = previous;\n  function previous(currentValue, array, useDeepEqual = false) {\n    let currentIndex = (0, _getIndex.default)(array, currentValue, useDeepEqual);\n    if (Ember.isEmpty(currentIndex)) {\n      return;\n    }\n    return currentIndex === 0 ? currentValue : Ember.A(array).objectAt(currentIndex - 1);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function (params) {\n    let {\n      currentValue,\n      array,\n      useDeepEqual\n    } = (0, _getValueArrayAndUseDeepEqualFromParams.default)(params);\n    return previous(currentValue, array, useDeepEqual);\n  });\n});","define(\"ember-composable-helpers/helpers/queue\", [\"exports\", \"ember-composable-helpers/utils/is-promise\"], function (_exports, _isPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.queue = queue;\n  function queue(actions = []) {\n    return function (...args) {\n      let invokeWithArgs = function (acc, curr) {\n        if ((0, _isPromise.default)(acc)) {\n          return acc.then(() => curr(...args));\n        }\n        return curr(...args);\n      };\n      return actions.reduce((acc, curr, idx) => {\n        if (idx === 0) {\n          return curr(...args);\n        }\n        return invokeWithArgs(acc, curr);\n      }, undefined);\n    };\n  }\n  var _default = _exports.default = Ember.Helper.helper(queue);\n});","define(\"ember-composable-helpers/helpers/range\", [\"exports\", \"ember-composable-helpers/utils/comparison\"], function (_exports, _comparison) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.range = range;\n  function range([min, max, isInclusive]) {\n    isInclusive = Ember.typeOf(isInclusive) === 'boolean' ? isInclusive : false;\n    let numbers = [];\n    if (min < max) {\n      let testFn = isInclusive ? _comparison.lte : _comparison.lt;\n      for (let i = min; testFn(i, max); i++) {\n        numbers.push(i);\n      }\n    }\n    if (min > max) {\n      let testFn = isInclusive ? _comparison.gte : _comparison.gt;\n      for (let i = min; testFn(i, max); i--) {\n        numbers.push(i);\n      }\n    }\n    if (min === max && isInclusive) {\n      numbers.push(max);\n    }\n    return numbers;\n  }\n  var _default = _exports.default = Ember.Helper.helper(range);\n});","define(\"ember-composable-helpers/helpers/reduce\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.reduce = reduce;\n  function reduce([callback, initialValue, array]) {\n    if (Ember.isEmpty(callback)) {\n      return [];\n    }\n    return array.reduce(callback, initialValue);\n  }\n  var _default = _exports.default = Ember.Helper.helper(reduce);\n});","define(\"ember-composable-helpers/helpers/reject-by\", [\"exports\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.rejectBy = rejectBy;\n  function rejectBy([byPath, value, array]) {\n    if (!Ember.isArray(array) && Ember.isArray(value)) {\n      array = value;\n      value = undefined;\n    }\n    if (!array) {\n      array = [];\n    }\n    let filterFn;\n    if (Ember.isPresent(value)) {\n      if (typeof value === 'function') {\n        filterFn = item => !value(Ember.get(item, byPath));\n      } else {\n        filterFn = item => !(0, _isEqual.default)(Ember.get(item, byPath), value);\n      }\n    } else {\n      filterFn = item => !Ember.get(item, byPath);\n    }\n    return array.filter(filterFn);\n  }\n  var _default = _exports.default = Ember.Helper.helper(rejectBy);\n});","define(\"ember-composable-helpers/helpers/repeat\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.repeat = repeat;\n  function repeat([length, value]) {\n    if (Ember.typeOf(length) !== 'number') {\n      return [value];\n    }\n    return Array.apply(null, {\n      length\n    }).map(() => value); // eslint-disable-line\n  }\n  var _default = _exports.default = Ember.Helper.helper(repeat);\n});","define(\"ember-composable-helpers/helpers/reverse\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.reverse = reverse;\n  function reverse([array]) {\n    if (!Ember.isArray(array)) {\n      return [array];\n    }\n    return Ember.A(array).slice(0).reverse();\n  }\n  var _default = _exports.default = Ember.Helper.helper(reverse);\n});","define(\"ember-composable-helpers/helpers/shuffle\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.shuffle = shuffle;\n  function shuffle(array, randomizer) {\n    array = array.slice(0);\n    let count = array.length;\n    let rand, temp;\n    randomizer = Ember.typeOf(randomizer) === 'function' && randomizer || Math.random;\n    while (count > 1) {\n      rand = Math.floor(randomizer() * count--);\n      temp = array[count];\n      array[count] = array[rand];\n      array[rand] = temp;\n    }\n    return array;\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([randomizer, array]) {\n    if (array === undefined) {\n      array = randomizer;\n      randomizer = undefined;\n    }\n    if (!Ember.isArray(array)) {\n      return [array];\n    }\n    return shuffle(array, randomizer);\n  });\n});","define(\"ember-composable-helpers/helpers/slice\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.slice = slice;\n  function slice([...args]) {\n    let array = args.pop();\n    if (!array) {\n      array = [];\n    }\n    return array.slice(...args);\n  }\n  var _default = _exports.default = Ember.Helper.helper(slice);\n});","define(\"ember-composable-helpers/helpers/sort-by\", [\"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.Helper.extend({\n    compute(params) {\n      // slice params to avoid mutating the provided params\n      let sortProps = params.slice();\n      let array = sortProps.pop();\n      let [firstSortProp] = sortProps;\n      if (Ember.typeOf(firstSortProp) === 'function' || Ember.isArray(firstSortProp)) {\n        sortProps = firstSortProp;\n      }\n\n      // TODO: can we / should we use variables instead of computed properties?\n      Ember.set(this, 'array', array);\n      Ember.set(this, 'sortProps', sortProps);\n      if (Ember.isEmpty(sortProps)) {\n        Ember.defineProperty(this, 'content', []);\n      }\n      if (typeof sortProps === 'function') {\n        Ember.defineProperty(this, 'content', Ember.computed.sort('array', sortProps));\n      } else {\n        Ember.defineProperty(this, 'content', Ember.computed.sort('array', 'sortProps'));\n      }\n      return this.content;\n    }\n  });\n});","define(\"ember-composable-helpers/helpers/take\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.take = take;\n  function take([takeAmount, array]) {\n    if (!array) {\n      array = [];\n    }\n    return array.slice(0, takeAmount);\n  }\n  var _default = _exports.default = Ember.Helper.helper(take);\n});","define(\"ember-composable-helpers/helpers/toggle-action\", [\"exports\", \"ember-composable-helpers/helpers/toggle\", \"ember-composable-helpers/-private/closure-action\"], function (_exports, _toggle, _closureAction) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const closureToggle = _toggle.toggle;\n  if (_closureAction.default) {\n    closureToggle[_closureAction.default] = true;\n  }\n  var _default = _exports.default = Ember.Helper.helper(closureToggle);\n});","define(\"ember-composable-helpers/helpers/toggle\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.toggle = toggle;\n  function nextIndex(length, currentIdx) {\n    if (currentIdx === -1 || currentIdx + 1 === length) {\n      return 0;\n    }\n    return currentIdx + 1;\n  }\n  function toggle([prop, obj, ...values]) {\n    return function () {\n      let currentValue = Ember.get(obj, prop);\n      if (Ember.isPresent(values)) {\n        let currentIdx = values.indexOf(currentValue);\n        let nextIdx = nextIndex(values.length, currentIdx);\n        return Ember.set(obj, prop, values[nextIdx]);\n      }\n      return Ember.set(obj, prop, !currentValue);\n    };\n  }\n  var _default = _exports.default = Ember.Helper.helper(toggle);\n});","define(\"ember-composable-helpers/helpers/union\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.union = union;\n  function union([...arrays]) {\n    let items = [].concat(...arrays);\n    return items.filter((value, index, array) => array.indexOf(value) === index);\n  }\n  var _default = _exports.default = Ember.Helper.helper(union);\n});","define(\"ember-composable-helpers/helpers/values\", [\"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.Helper.helper(function values([object]) {\n    if (!object) {\n      return object;\n    }\n    return Object.values(object);\n  });\n});","define(\"ember-composable-helpers/helpers/without\", [\"exports\", \"ember-composable-helpers/utils/includes\"], function (_exports, _includes) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.without = without;\n  function contains(needle, haystack) {\n    return (0, _includes.default)(Ember.A(haystack), needle);\n  }\n  function without(needle, haystack) {\n    if (!Ember.isArray(haystack)) {\n      return false;\n    }\n    if (Ember.isArray(needle) && needle.length) {\n      return haystack.reduce((acc, val) => {\n        return contains(val, needle) ? acc : acc.concat(val);\n      }, []);\n    }\n    return Ember.A(haystack).without(needle);\n  }\n  var _default = _exports.default = Ember.Helper.helper(function ([needle, haystack]) {\n    return without(needle, haystack);\n  });\n});","define(\"ember-composable-helpers/index\", [], function () {\n  \"use strict\";\n\n  define([], function () {\n    \"use strict\";\n  });\n});","define(\"ember-composable-helpers/utils/as-array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = asArray;\n  function isIterable(value) {\n    return Symbol.iterator in Object(value);\n  }\n\n  // from https://github.com/flexyford/ember-power-select/blob/78a5430c1ac89daf315d0801fd5201e444e82434/addon/components/power-select.ts\n  function isArrayable(thing) {\n    return typeof thing.toArray === 'function';\n  }\n  function isPromiseLike(thing) {\n    return typeof thing.then === 'function';\n  }\n  function isPromiseProxyLike(thing) {\n    return isPromiseLike(thing) && Object.hasOwnProperty.call(thing, 'content');\n  }\n  function toExtendable(array) {\n    if (!Object.isExtensible(array)) {\n      return Array.from(array);\n    } else {\n      return array;\n    }\n  }\n  function asArray(maybeArray) {\n    return toExtendable(_asArray(maybeArray));\n  }\n  function _asArray(maybeArray) {\n    if (typeof maybeArray === 'number') {\n      throw new Error('Numbers not supported as arrays [ember-composable-helpers]');\n    }\n    if (typeof maybeArray === 'string') {\n      return maybeArray.split('');\n    }\n    // for perf-reasons falling back to e-array, instead of using it first\n    if (Array.isArray(maybeArray)) {\n      return maybeArray;\n    } else if (Ember.isArray(maybeArray)) {\n      return maybeArray;\n    } else if (typeof maybeArray === 'object' && maybeArray === null) {\n      return [];\n    } else if (typeof maybeArray === 'undefined') {\n      return [];\n    } else if (maybeArray instanceof Set) {\n      return Array.from(maybeArray.values());\n    } else if (maybeArray instanceof Map) {\n      return Array.from(maybeArray.values());\n    } else if (maybeArray instanceof WeakMap) {\n      throw new Error('WeakMaps is not supported as arrays [ember-composable-helpers]');\n    } else if (maybeArray instanceof WeakSet) {\n      throw new Error('WeakSets is not supported as arrays [ember-composable-helpers]');\n    }\n    if (typeof maybeArray === 'object') {\n      if (isPromiseProxyLike(maybeArray)) {\n        const content = Ember.get(maybeArray, 'content');\n        if (typeof content !== 'object' || content === null) {\n          throw new Error('Unknown content type in array-like object [ember-composable-helpers]');\n        }\n        if (isArrayable(content)) {\n          return content.toArray();\n        } else {\n          return _asArray(content);\n        }\n      }\n      if (isPromiseLike(maybeArray)) {\n        throw new Error('Promise-like objects is not supported as arrays [ember-composable-helpers]');\n      }\n      if (isArrayable(maybeArray)) {\n        return maybeArray.toArray();\n      }\n      if (maybeArray instanceof Ember.Object) {\n        throw new Error('EmberObjects is not supported as arrays [ember-composable-helpers]');\n      }\n      return Array.from(Object.values(maybeArray));\n    }\n    if (!maybeArray) {\n      return [];\n    }\n    if (!isIterable(maybeArray)) {\n      throw new Error('Argument, passed as array is not iterable [ember-composable-helpers]');\n    }\n    return maybeArray;\n  }\n});","define(\"ember-composable-helpers/utils/comparison\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  function lte(a, b) {\n    return a <= b;\n  }\n  function lt(a, b) {\n    return a < b;\n  }\n  function gte(a, b) {\n    return a >= b;\n  }\n  function gt(a, b) {\n    return a > b;\n  }\n});","define(\"ember-composable-helpers/utils/get-index\", [\"exports\", \"ember-composable-helpers/utils/is-equal\"], function (_exports, _isEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getIndex;\n  function getIndex(array, currentValue, useDeepEqual) {\n    let needle = currentValue;\n    if (useDeepEqual) {\n      needle = Ember.A(array).find(object => {\n        return (0, _isEqual.default)(object, currentValue, useDeepEqual);\n      });\n    }\n    let index = Ember.A(array).indexOf(needle);\n    return index >= 0 ? index : null;\n  }\n});","define(\"ember-composable-helpers/utils/includes\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = includes;\n  function includes(haystack, ...args) {\n    let finder = haystack.includes || haystack.contains;\n    return finder.apply(haystack, args);\n  }\n});","define(\"ember-composable-helpers/utils/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEqual;\n  function isEqual(firstValue, secondValue, useDeepEqual = false) {\n    if (useDeepEqual) {\n      return JSON.stringify(firstValue) === JSON.stringify(secondValue);\n    } else {\n      return Ember.isEqual(firstValue, secondValue) || Ember.isEqual(secondValue, firstValue);\n    }\n  }\n});","define(\"ember-composable-helpers/utils/is-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isObject;\n  function isObject(val) {\n    return Ember.typeOf(val) === 'object' || Ember.typeOf(val) === 'instance';\n  }\n});","define(\"ember-composable-helpers/utils/is-promise\", [\"exports\", \"ember-composable-helpers/utils/is-object\"], function (_exports, _isObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPromise;\n  function isPromiseLike(obj = {}) {\n    return Ember.typeOf(obj.then) === 'function' && Ember.typeOf(obj.catch) === 'function';\n  }\n  function isPromise(obj) {\n    return (0, _isObject.default)(obj) && isPromiseLike(obj);\n  }\n});","define(\"ember-concurrency-decorators/index\", [\"exports\", \"@ember-decorators/utils/decorator\", \"ember-concurrency\", \"ember-concurrency-decorators/last-value\"], function (_exports, _decorator, _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  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\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(undefined);\n    }\n    if (typeof desc.get === 'function') {\n      return desc.get.call(undefined);\n    }\n    if (desc.value) {\n      return desc.value;\n    }\n    return undefined;\n  }\n  function isTaskFunction(value) {\n    return typeof value === 'function';\n  }\n  function isEncapsulatedTask(value) {\n    return typeof value === 'object' && value !== null && isTaskFunction(value.perform);\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    if (isTaskFunction(value)) {\n      return (0, _emberConcurrency.task)(value);\n    }\n    if (isEncapsulatedTask(value)) {\n      return (0, _emberConcurrency.task)(value);\n    }\n    (true && !(false) && Ember.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.'));\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    const keys = Object.keys(options);\n    for (const key of keys) {\n      const value = options[key];\n      (true && !(value !== undefined) && Ember.assert(`ember-concurrency-decorators: Option '${key}' is not a valid value`, value !== undefined));\n      (true && !(typeof task[key] === 'function') && Ember.assert(`ember-concurrency-decorators: Option '${key}' is not a valid function`, typeof task[key] === 'function'));\n      if (value === true) {\n        task[key]();\n      } else {\n        task[key](value);\n      }\n    }\n\n    // The CP decorator gets executed in `createDecorator`\n    return task;\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\n  function createDecorator(propertyCreator, baseOptions = {}) {\n    return (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  /**\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\"], function (_exports, _decorator) {\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') && Ember.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 = Ember.computed(`${taskName}.lastSuccessful`, function () {\n      const lastInstance = Ember.get(this, `${taskName}.lastSuccessful`);\n      if (lastInstance) {\n        return Ember.get(lastInstance, 'value');\n      }\n      if (initializer) {\n        return initializer.call(this);\n      }\n      return undefined;\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-concurrency/-task-instance\", \"ember-concurrency/utils\"], function (_exports, _taskInstance, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.race = _exports.hashSettled = _exports.hash = _exports.allSettled = _exports.all = void 0;\n  const asyncAll = taskAwareVariantOf(Ember.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)) && Ember.assert(`'all' expects an array.`, Array.isArray(things)));\n    if (things.length === 0) {\n      return Ember.RSVP.Promise.resolve(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 Ember.RSVP.Promise.resolve(taskInstances.map(ti => ti.value));\n    }\n  };\n\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](https://api.emberjs.com/ember/release/functions/rsvp/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(Ember.RSVP, '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(Ember.RSVP.Promise, 'race', identity);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hash](https://api.emberjs.com/ember/release/functions/rsvp/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 `hash` 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(Ember.RSVP, 'hash', getValues);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hashSettled](https://api.emberjs.com/ember/release/functions/rsvp/hashSettled).\n   * The normal version of a `RSVP.hashSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hashSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hashSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hashSettled` will be canceled\n   */\n  const hashSettled = _exports.hashSettled = taskAwareVariantOf(Ember.RSVP, 'hashSettled', 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)) && Ember.assert(`'${method}' expects an array.`, Array.isArray(items)));\n      let defer = Ember.RSVP.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-concurrency/-task-instance\"], function (_exports, _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') && Ember.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\"], function (_exports) {\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 Ember.run.bind(null, function (...innerArgs) {\n      if (!task || typeof task[taskMethod] !== 'function') {\n        (true && !(false) && Ember.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(Ember.get(event, hash.value));\n      }\n      return task[taskMethod](...outerArgs, ...innerArgs);\n    });\n  }\n});","define(\"ember-concurrency/-private/async-arrow-runtime\", [\"exports\", \"ember-concurrency/-private/task-factory\"], function (_exports, _taskFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.buildTask = buildTask;\n  /**\n   * This builder function is called by the transpiled code from\n   * `task(async () => {})`. See lib/babel-plugin-transform-ember-concurrency-async-tasks.js\n   *\n   * @private\n   */\n  function buildTask(contextFn, options, taskName, bufferPolicyName) {\n    let optionsWithBufferPolicy = options;\n    if (bufferPolicyName) {\n      optionsWithBufferPolicy = Object.assign({}, optionsWithBufferPolicy);\n      optionsWithBufferPolicy[bufferPolicyName] = true;\n    }\n    const result = contextFn();\n    const taskFactory = new _taskFactory.TaskFactory(taskName || '<unknown>', result.generator, optionsWithBufferPolicy);\n    return taskFactory.createTask(result.context);\n  }\n});","define(\"ember-concurrency/-private/cancelable-promise-helpers\", [\"exports\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/external/yieldables\"], function (_exports, _taskInstance, _yieldables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.race = _exports.hashSettled = _exports.hash = _exports.allSettled = _exports.all = void 0;\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 = _exports.all = taskAwareVariantOf(Ember.RSVP.Promise, 'all', identity);\n\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](https://api.emberjs.com/ember/release/functions/rsvp/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  const allSettled = _exports.allSettled = taskAwareVariantOf(Ember.RSVP, '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(Ember.RSVP.Promise, 'race', identity);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hash](https://api.emberjs.com/ember/release/functions/rsvp/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 `hash` 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(Ember.RSVP, 'hash', getValues);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hashSettled](https://api.emberjs.com/ember/release/functions/rsvp/hashSettled).\n   * The normal version of a `RSVP.hashSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hashSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hashSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `hashSettled` will be canceled\n   */\n  const hashSettled = _exports.hashSettled = taskAwareVariantOf(Ember.RSVP, 'hashSettled', 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 castForPromiseHelper(castable) {\n    if (castable) {\n      if (castable instanceof _taskInstance.TaskInstance) {\n        // Mark TaskInstances, including those that performed synchronously and\n        // have finished already, as having their errors handled, as if they had\n        // been then'd, which this is emulating.\n        castable.executor.asyncErrorsHandled = true;\n      } else if (castable instanceof _yieldables.Yieldable) {\n        // Cast to promise\n        return castable._toPromise();\n      }\n    }\n    return castable;\n  }\n  function castAwaitables(arrOrHash, callback) {\n    if (Array.isArray(arrOrHash)) {\n      return arrOrHash.map(callback);\n    } else if (typeof arrOrHash === 'object' && arrOrHash !== null) {\n      let obj = {};\n      Object.keys(arrOrHash).forEach(key => {\n        obj[key] = callback(arrOrHash[key]);\n      });\n      return obj;\n    } else {\n      // :shruggie:\n      return arrOrHash;\n    }\n  }\n  function taskAwareVariantOf(obj, method, getItems) {\n    return function (awaitable) {\n      let awaitables = castAwaitables(awaitable, castForPromiseHelper);\n      let items = getItems(awaitables);\n      (true && !(Array.isArray(items)) && Ember.assert(`'${method}' expects an array.`, Array.isArray(items)));\n      let defer = Ember.RSVP.defer();\n      obj[method](awaitables).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.TaskInstance) {\n              it.cancel();\n            } else if (typeof it[_yieldables.cancelableSymbol] === 'function') {\n              it[_yieldables.cancelableSymbol]();\n            }\n          }\n        });\n      };\n      let promise = defer.promise.finally(cancelAll);\n      promise[_yieldables.cancelableSymbol] = cancelAll;\n      return promise;\n    };\n  }\n});","define(\"ember-concurrency/-private/ember-environment\", [\"exports\", \"ember-concurrency/-private/external/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.EmberEnvironment = _exports.EMBER_ENVIRONMENT = void 0;\n  class EmberEnvironment extends _environment.Environment {\n    assert(...args) {\n      (true && !(false) && Ember.assert(...args));\n    }\n    async(callback) {\n      Ember.run.join(() => Ember.run.schedule('actions', callback));\n    }\n    reportUncaughtRejection(error) {\n      Ember.run.next(null, function () {\n        if (Ember.onerror) {\n          Ember.onerror(error);\n        } else {\n          throw error;\n        }\n      });\n    }\n    defer() {\n      return Ember.RSVP.defer();\n    }\n    globalDebuggingEnabled() {\n      return Ember.ENV.DEBUG_TASKS;\n    }\n  }\n  _exports.EmberEnvironment = EmberEnvironment;\n  const EMBER_ENVIRONMENT = _exports.EMBER_ENVIRONMENT = new EmberEnvironment();\n});","define(\"ember-concurrency/-private/external/environment\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Environment = _exports.DEFAULT_ENVIRONMENT = void 0;\n  class Environment {\n    assert() {}\n    async(callback) {\n      Promise.resolve().then(callback);\n    }\n    reportUncaughtRejection() {\n      this.async(error => {\n        throw error;\n      });\n    }\n    defer() {\n      let deferable = {\n        promise: null,\n        resolve: null,\n        reject: null\n      };\n      let promise = new Promise((resolve, reject) => {\n        deferable.resolve = resolve;\n        deferable.reject = reject;\n      });\n      deferable.promise = promise;\n      return deferable;\n    }\n    globalDebuggingEnabled() {\n      return false;\n    }\n  }\n  _exports.Environment = Environment;\n  const DEFAULT_ENVIRONMENT = _exports.DEFAULT_ENVIRONMENT = new Environment();\n});","define(\"ember-concurrency/-private/external/generator-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.GeneratorStepResult = _exports.GeneratorState = void 0;\n  class GeneratorStepResult {\n    constructor(value, done, errored) {\n      this.value = value;\n      this.done = done;\n      this.errored = errored;\n    }\n  }\n  _exports.GeneratorStepResult = GeneratorStepResult;\n  class GeneratorState {\n    constructor(generatorFactory) {\n      this.done = false;\n      this.generatorFactory = generatorFactory;\n      this.iterator = null;\n    }\n    step(resolvedValue, iteratorMethod) {\n      try {\n        let iterator = this.getIterator();\n        let {\n          value,\n          done\n        } = iterator[iteratorMethod](resolvedValue);\n        if (done) {\n          return this.finalize(value, false);\n        } else {\n          return new GeneratorStepResult(value, false, false);\n        }\n      } catch (e) {\n        return this.finalize(e, true);\n      }\n    }\n    getIterator() {\n      if (!this.iterator && !this.done) {\n        this.iterator = this.generatorFactory();\n      }\n      return this.iterator;\n    }\n    finalize(value, errored) {\n      this.done = true;\n      this.iterator = null;\n      return new GeneratorStepResult(value, true, errored);\n    }\n  }\n  _exports.GeneratorState = GeneratorState;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class BoundedPolicy {\n    constructor(maxConcurrency) {\n      this.maxConcurrency = maxConcurrency || 1;\n    }\n  }\n  var _default = _exports.default = BoundedPolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/drop-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'drop' Task that was already running`);\n  class DropReducer {\n    constructor(remainingSlots) {\n      this.remainingSlots = remainingSlots;\n    }\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      }\n      return CANCELLED;\n    }\n  }\n  class DropPolicy extends _boundedPolicy.default {\n    makeReducer() {\n      return new DropReducer(this.maxConcurrency);\n    }\n  }\n  var _default = _exports.default = DropPolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EnqueuedReducer {\n    constructor(remainingSlots) {\n      this.remainingSlots = remainingSlots;\n    }\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      } else {\n        return _executionStates.QUEUED;\n      }\n    }\n  }\n  class EnqueuedPolicy extends _boundedPolicy.default {\n    makeReducer() {\n      return new EnqueuedReducer(this.maxConcurrency);\n    }\n  }\n  var _default = _exports.default = EnqueuedPolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/execution-states\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.makeCancelState = _exports.TYPE_STARTED = _exports.TYPE_QUEUED = _exports.TYPE_CANCELLED = _exports.STARTED = _exports.QUEUED = void 0;\n  const TYPE_CANCELLED = _exports.TYPE_CANCELLED = 'CANCELLED';\n  const TYPE_STARTED = _exports.TYPE_STARTED = 'STARTED';\n  const TYPE_QUEUED = _exports.TYPE_QUEUED = 'QUEUED';\n  const STARTED = _exports.STARTED = {\n    type: TYPE_STARTED\n  };\n  const QUEUED = _exports.QUEUED = {\n    type: TYPE_QUEUED\n  };\n  const makeCancelState = reason => ({\n    type: TYPE_CANCELLED,\n    reason\n  });\n  _exports.makeCancelState = makeCancelState;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'keepLatest' Task that was already running`);\n\n  // Given:\n  // - started tasks: [a,b,_]\n  // - queued tasks:  [c,d,e,f]\n  // KeepLatest will cancel all but the last queued task instance, producing:\n  // - started tasks: [a,b,c]\n  // - queued tasks: [f]\n\n  // TODO: perhaps we should expose another config for the number to keep enqueued.\n  //       this would also make sense for enqueued, e.g. perform a max of maxConcurrency\n  //       concurrent task instances, but after a number of queued instances has been\n  //       reached, they should be cancelled.\n\n  class KeepLatestReducer {\n    constructor(remainingSlots, numToCancel) {\n      this.remainingSlots = remainingSlots;\n      this.numToCancel = numToCancel;\n    }\n    step() {\n      if (this.remainingSlots > 0) {\n        this.remainingSlots--;\n        return _executionStates.STARTED;\n      } else {\n        if (this.numToCancel > 0) {\n          this.numToCancel--;\n          return CANCELLED;\n        } else {\n          return _executionStates.QUEUED;\n        }\n      }\n    }\n  }\n  class KeepLatestPolicy extends _boundedPolicy.default {\n    makeReducer(numRunning, numQueued) {\n      let maxEnqueued = 1;\n      let totalRunning = numRunning + numQueued;\n      return new KeepLatestReducer(this.maxConcurrency, totalRunning - this.maxConcurrency - maxEnqueued);\n    }\n  }\n  var _default = _exports.default = KeepLatestPolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/restartable-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/bounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _boundedPolicy, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CANCELLED = (0, _executionStates.makeCancelState)(`it belongs to a 'restartable' Task that was .perform()ed again`);\n  class RestartableReducer {\n    constructor(numToCancel) {\n      this.numToCancel = numToCancel;\n    }\n    step() {\n      if (this.numToCancel > 0) {\n        this.numToCancel--;\n        return CANCELLED;\n      } else {\n        return _executionStates.STARTED;\n      }\n    }\n  }\n  class RestartablePolicy extends _boundedPolicy.default {\n    makeReducer(numRunning, numQueued) {\n      return new RestartableReducer(numRunning + numQueued - this.maxConcurrency);\n    }\n  }\n  var _default = _exports.default = RestartablePolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/policies/unbounded-policy\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class UnboundedReducer {\n    step() {\n      return _executionStates.STARTED;\n    }\n  }\n  const SINGLETON_REDUCER = new UnboundedReducer();\n  class UnboundedPolicy {\n    makeReducer() {\n      return SINGLETON_REDUCER;\n    }\n  }\n  var _default = _exports.default = UnboundedPolicy;\n});","define(\"ember-concurrency/-private/external/scheduler/refresh\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/execution-states\"], function (_exports, _executionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const LAST_APPLIED_TAGS = new Map();\n  class Refresh {\n    constructor(schedulerPolicy, stateTracker, taskInstances) {\n      this.stateTracker = stateTracker;\n      this.schedulerPolicy = schedulerPolicy;\n      this.initialTaskInstances = taskInstances;\n      this.startingInstances = [];\n    }\n    process() {\n      let [taskInstances, numRunning, numQueued] = this.filterFinishedTaskInstances();\n      let reducer = this.schedulerPolicy.makeReducer(numRunning, numQueued);\n      let finalTaskInstances = taskInstances.filter(taskInstance => {\n        return this.setTaskInstanceExecutionState(taskInstance, reducer.step());\n      });\n      this.stateTracker.computeFinalStates(state => this.applyState(state));\n      this.startingInstances.forEach(taskInstance => taskInstance.start());\n      return finalTaskInstances;\n    }\n    filterFinishedTaskInstances() {\n      let numRunning = 0,\n        numQueued = 0;\n      let taskInstances = this.initialTaskInstances.filter(taskInstance => {\n        let taskState = this.stateTracker.stateFor(taskInstance.task);\n        let executorState = taskInstance.executor.state;\n        if (executorState.isFinished) {\n          taskState.onCompletion(taskInstance);\n          return false;\n        }\n        if (executorState.hasStarted) {\n          numRunning += 1;\n        } else {\n          numQueued += 1;\n        }\n        return true;\n      });\n      return [taskInstances, numRunning, numQueued];\n    }\n    setTaskInstanceExecutionState(taskInstance, desiredState) {\n      let taskState = this.stateTracker.stateFor(taskInstance.task);\n      if (!taskInstance.executor.counted) {\n        taskInstance.executor.counted = true;\n        taskState.onPerformed(taskInstance);\n      }\n      switch (desiredState.type) {\n        case _executionStates.TYPE_CANCELLED:\n          // this will cause a follow up flush which will detect and recompute cancellation state\n          taskInstance.cancel(desiredState.reason);\n          return false;\n        case _executionStates.TYPE_STARTED:\n          if (!taskInstance.executor.state.hasStarted) {\n            this.startingInstances.push(taskInstance);\n            taskState.onStart(taskInstance);\n          }\n          taskState.onRunning(taskInstance);\n          return true;\n        case _executionStates.TYPE_QUEUED:\n          taskState.onQueued(taskInstance);\n          // TODO: assert taskInstance hasn't started?\n          // Or perhaps this can be a way to pause a task?\n          return true;\n      }\n    }\n    applyState(state) {\n      let {\n        taskable\n      } = state;\n      if (!taskable.onState) {\n        return;\n      }\n      const {\n        guid\n      } = taskable;\n      if (LAST_APPLIED_TAGS.has(guid) && state.tag < LAST_APPLIED_TAGS.get(guid)) {\n        return;\n      }\n      let props = Object.assign({\n        numRunning: state.numRunning,\n        numQueued: state.numQueued,\n        numPerformedInc: state.numPerformedInc\n      }, state.attrs);\n      taskable.onState(props, taskable);\n      LAST_APPLIED_TAGS.set(guid, state.tag);\n    }\n  }\n  var _default = _exports.default = Refresh;\n});","define(\"ember-concurrency/-private/external/scheduler/scheduler\", [\"exports\", \"ember-concurrency/-private/external/scheduler/refresh\", \"ember-concurrency/-private/external/scheduler/state-tracker/state-tracker\", \"ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker\"], function (_exports, _refresh, _stateTracker, _nullStateTracker) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Scheduler base class\n\n  // When a Task is performed, it creates an unstarted TaskInstance and\n  // passes it to the Scheduler to determine when it should run. The\n  // scheduler consults the schedulerPolicy (e.g. DropPolicy, RestartablePolicy, etc)\n  // to determine whether the task instance should start executing, be enqueued\n  // for later execution, or be immediately cancelled. As TaskInstances start\n  // and run to completion, the Scheduler's `refresh()` method is called to\n  // give it an opportunity to start (or cancel) previously enqueued task instances,\n  // as well as update the derived state on Tasks and TaskGroups.\n\n  // Every Task has its own Scheduler instance, unless it is part of a group,\n  // in which case all the Tasks in a group share a single Scheduler.\n\n  class Scheduler {\n    constructor(schedulerPolicy, stateTrackingEnabled) {\n      this.schedulerPolicy = schedulerPolicy;\n      this.stateTrackingEnabled = stateTrackingEnabled;\n      this.taskInstances = [];\n    }\n    cancelAll(guid, cancelRequest) {\n      let cancelations = this.taskInstances.map(taskInstance => {\n        if (taskInstance.task.guids[guid]) {\n          taskInstance.executor.cancel(cancelRequest);\n        }\n      }).filter(cancelation => !!cancelation);\n      return Promise.all(cancelations);\n    }\n    perform(taskInstance) {\n      taskInstance.onFinalize(() => this.scheduleRefresh());\n      this.taskInstances.push(taskInstance);\n      this.refresh();\n    }\n    scheduleRefresh() {\n      Promise.resolve().then(() => this.refresh());\n    }\n    refresh() {\n      let stateTracker = this.stateTrackingEnabled ? new _stateTracker.default() : new _nullStateTracker.default();\n      let refresh = new _refresh.default(this.schedulerPolicy, stateTracker, this.taskInstances);\n      this.taskInstances = refresh.process();\n    }\n  }\n  var _default = _exports.default = Scheduler;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/null-state-tracker\", [\"exports\", \"ember-concurrency/-private/external/scheduler/state-tracker/null-state\"], function (_exports, _nullState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const NULL_STATE = new _nullState.default();\n  class NullStateTracker {\n    stateFor() {\n      return NULL_STATE;\n    }\n    computeFinalStates() {}\n  }\n  var _default = _exports.default = NullStateTracker;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/null-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class NullState {\n    onCompletion() {}\n    onPerformed() {}\n    onStart() {}\n    onRunning() {}\n    onQueued() {}\n  }\n  var _default = _exports.default = NullState;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/state-tracker\", [\"exports\", \"ember-concurrency/-private/external/scheduler/state-tracker/state\"], function (_exports, _state) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const CURRENT_REFRESH_TAGS = new Map();\n  class StateTracker {\n    constructor() {\n      this.states = new Map();\n    }\n    stateFor(taskable) {\n      let guid = taskable.guid;\n      let taskState = this.states.get(guid);\n      if (!taskState) {\n        let currentTag = CURRENT_REFRESH_TAGS.has(guid) ? CURRENT_REFRESH_TAGS.get(guid) : 0;\n        taskState = new _state.default(taskable, ++currentTag);\n        this.states.set(guid, taskState);\n        CURRENT_REFRESH_TAGS.set(guid, currentTag);\n      }\n      return taskState;\n    }\n\n    // After cancelling/queueing task instances, we have to recompute the derived state\n    // of all the tasks that had/have task instances in this scheduler. We do this by\n    // looping through all the Tasks that we've accumulated state for, and then recursively\n    // applying/adding to the state of any TaskGroups they belong to.\n    computeFinalStates(callback) {\n      this.computeRecursiveState();\n      this.forEachState(state => callback(state));\n    }\n    computeRecursiveState() {\n      this.forEachState(taskState => {\n        let lastState = taskState;\n        taskState.recurseTaskGroups(taskGroup => {\n          let state = this.stateFor(taskGroup);\n          state.applyStateFrom(lastState);\n          lastState = state;\n        });\n      });\n    }\n    forEachState(callback) {\n      this.states.forEach(state => callback(state));\n    }\n  }\n  var _default = _exports.default = StateTracker;\n});","define(\"ember-concurrency/-private/external/scheduler/state-tracker/state\", [\"exports\", \"ember-concurrency/-private/external/task-instance/completion-states\"], function (_exports, _completionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RefreshState {\n    constructor(taskable, tag) {\n      this.taskable = taskable;\n      this.group = taskable.group;\n      this.numRunning = 0;\n      this.numQueued = 0;\n      this.numPerformedInc = 0;\n      this.attrs = {};\n      this.tag = tag;\n    }\n    onCompletion(taskInstance) {\n      let state = taskInstance.completionState;\n      this.attrs.lastRunning = null;\n      this.attrs.lastComplete = taskInstance;\n      if (state === _completionStates.COMPLETION_SUCCESS) {\n        this.attrs.lastSuccessful = taskInstance;\n      } else {\n        if (state === _completionStates.COMPLETION_ERROR) {\n          this.attrs.lastErrored = taskInstance;\n        } else if (state === _completionStates.COMPLETION_CANCEL) {\n          this.attrs.lastCanceled = taskInstance;\n        }\n        this.attrs.lastIncomplete = taskInstance;\n      }\n    }\n    onPerformed(taskInstance) {\n      this.numPerformedInc += 1;\n      this.attrs.lastPerformed = taskInstance;\n    }\n    onStart(taskInstance) {\n      this.attrs.last = taskInstance;\n    }\n    onRunning(taskInstance) {\n      this.attrs.lastRunning = taskInstance;\n      this.numRunning += 1;\n    }\n    onQueued() {\n      this.numQueued += 1;\n    }\n    recurseTaskGroups(callback) {\n      let group = this.group;\n      while (group) {\n        callback(group);\n        group = group.group;\n      }\n    }\n    applyStateFrom(other) {\n      Object.assign(this.attrs, other.attrs);\n      this.numRunning += other.numRunning;\n      this.numQueued += other.numQueued;\n      this.numPerformedInc += other.numPerformedInc;\n    }\n  }\n  var _default = _exports.default = RefreshState;\n});","define(\"ember-concurrency/-private/external/task-decorators\", [\"exports\", \"ember-concurrency/-private/external/task-factory\"], function (_exports, _taskFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createTaskDecorator = createTaskDecorator;\n  _exports.createTaskGroupDecorator = createTaskGroupDecorator;\n  _exports.decoratorWithParams = decoratorWithParams;\n  _exports.lastValue = void 0;\n  function taskFromPropertyDescriptor(target, key, descriptor, params = [], factoryClass = _taskFactory.TaskFactory) {\n    let {\n      initializer,\n      get,\n      value\n    } = descriptor;\n    let taskFn;\n    if (initializer) {\n      taskFn = initializer.call(undefined);\n    } else if (get) {\n      taskFn = get.call(undefined);\n    } else if (value) {\n      taskFn = value;\n    }\n    taskFn.displayName = `${key} (task)`;\n    let tasks = new WeakMap();\n    let options = params[0] || {};\n    let factory = new factoryClass(key, taskFn, options);\n    factory._setupEmberKVO(target);\n    return {\n      get() {\n        let task = tasks.get(this);\n        if (!task) {\n          task = factory.createTask(this);\n          tasks.set(this, task);\n        }\n        return task;\n      }\n    };\n  }\n  function taskGroupPropertyDescriptor(_target, key, _descriptor, params = [], factoryClass = _taskFactory.TaskFactory) {\n    let taskGroups = new WeakMap();\n    let options = params[0] || {};\n    let factory = new factoryClass(key, null, options);\n    return {\n      get() {\n        let task = taskGroups.get(this);\n        if (!task) {\n          task = factory.createTaskGroup(this);\n          taskGroups.set(this, task);\n        }\n        return task;\n      }\n    };\n  }\n\n  // Cribbed from @ember-decorators/utils\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 decoratorWithParams(descriptorFn) {\n    return function (...params) {\n      if (isFieldDescriptor(params)) {\n        return descriptorFn(...params);\n      } else {\n        return (...desc) => descriptorFn(...desc, params);\n      }\n    };\n  }\n  function createDecorator(fn, baseOptions = {}, factoryClass = _taskFactory.TaskFactory) {\n    return decoratorWithParams((target, key, descriptor, [userOptions] = []) => {\n      let mergedOptions = Object.assign({}, {\n        ...baseOptions,\n        ...userOptions\n      });\n      return fn(target, key, descriptor, [mergedOptions], factoryClass);\n    });\n  }\n  function createTaskDecorator(baseOptions = {}, factoryClass = _taskFactory.TaskFactory) {\n    return createDecorator(taskFromPropertyDescriptor, baseOptions, factoryClass);\n  }\n  function createTaskGroupDecorator(baseOptions = {}, factoryClass = _taskFactory.TaskFactory) {\n    return createDecorator(taskGroupPropertyDescriptor, baseOptions, factoryClass);\n  }\n  const lastValue = _exports.lastValue = decoratorWithParams((_target, _key, descriptor, [taskName] = []) => {\n    const {\n      initializer\n    } = descriptor;\n    delete descriptor.initializer;\n    return {\n      get() {\n        let lastInstance = this[taskName].lastSuccessful;\n        if (lastInstance) {\n          return lastInstance.value;\n        }\n        if (initializer) {\n          return initializer.call(this);\n        }\n        return undefined;\n      }\n    };\n  });\n});","define(\"ember-concurrency/-private/external/task-factory\", [\"exports\", \"ember-concurrency/-private/external/scheduler/scheduler\", \"ember-concurrency/-private/external/scheduler/policies/unbounded-policy\", \"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", \"ember-concurrency/-private/external/scheduler/policies/drop-policy\", \"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", \"ember-concurrency/-private/external/scheduler/policies/restartable-policy\", \"ember-concurrency/-private/external/task/task\", \"ember-concurrency/-private/external/task/task-group\", \"ember-concurrency/-private/external/environment\"], function (_exports, _scheduler, _unboundedPolicy, _enqueuedPolicy, _dropPolicy, _keepLatestPolicy, _restartablePolicy, _task, _taskGroup, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskFactory = void 0;\n  _exports.getModifier = getModifier;\n  _exports.hasModifier = hasModifier;\n  _exports.registerModifier = registerModifier;\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 assertModifiersNotMixedWithGroup(obj) {\n    if (obj._hasSetConcurrencyConstraint && obj._taskGroupPath) {\n      throw new Error(`Cannot use both 'group' and other concurrency-constraining task modifiers (e.g. 'drop', 'enqueue', 'restartable')`);\n    }\n  }\n  function assertUnsetBufferPolicy(obj) {\n    if (obj._hasSetBufferPolicy) {\n      throw new Error(`Cannot set multiple buffer policies on a task or task group. ${obj._schedulerPolicyClass} has already been set for task or task group '${obj.name}'`);\n    }\n  }\n  const MODIFIER_REGISTRY = {\n    enqueue: (factory, value) => value && factory.setBufferPolicy(_enqueuedPolicy.default),\n    evented: (factory, value) => value && factory.setEvented(value),\n    debug: (factory, value) => value && factory.setDebug(value),\n    drop: (factory, value) => value && factory.setBufferPolicy(_dropPolicy.default),\n    group: (factory, groupName) => factory.setGroup(groupName),\n    keepLatest: (factory, value) => value && factory.setBufferPolicy(_keepLatestPolicy.default),\n    maxConcurrency: (factory, maxConcurrency) => factory.setMaxConcurrency(maxConcurrency),\n    onState: (factory, onStateCallback) => factory.setOnState(onStateCallback),\n    restartable: (factory, value) => value && factory.setBufferPolicy(_restartablePolicy.default)\n  };\n\n  /**\n   * Callback type defining a task modifier\n   *\n   * @callback TaskFactory~TaskModifier\n   * @param {TaskFactory} factory\n   * @param {*} taskModifierOption\n   */\n\n  /**\n   * Registers a new modifier with the modifier registry\n   *\n   * @param {string} name Name of the modifier\n   * @param {TaskFactory~TaskModifier} callback\n   */\n  function registerModifier(name, callback) {\n    if (MODIFIER_REGISTRY[name]) {\n      throw new Error(`A modifier with the name '${name}' has already been defined.`);\n    }\n    MODIFIER_REGISTRY[name] = callback;\n  }\n\n  /**\n   * Returns a specified modifier, if it exists in the registry\n   *\n   * @param {string} name Name of the modifier\n   * @returns {TaskFactory~TaskModifier?}\n   */\n  function getModifier(name) {\n    return MODIFIER_REGISTRY[name];\n  }\n\n  /**\n   * Returns whether a specified modifier exists in the registry\n   *\n   * @param {string} name Name of the modifier\n   * @returns {boolean}\n   */\n  function hasModifier(name) {\n    return name in MODIFIER_REGISTRY;\n  }\n\n  /**\n   * Factory used for instantiating Tasks and Task Groups. Mostly for internal\n   * use, but some public APIs exposed via the Task Modifier APIs.\n   *\n   * <style>\n   *  .ignore-this--this-is-here-to-hide-constructor,\n   *  #TaskFactory { display: none }\n   * </style>\n   *\n   * @class TaskFactory\n   */\n  class TaskFactory {\n    constructor(name = '<unknown>', taskDefinition = null, options = {}) {\n      _defineProperty(this, \"env\", _environment.DEFAULT_ENVIRONMENT);\n      _defineProperty(this, \"_debug\", null);\n      _defineProperty(this, \"_enabledModifiers\", []);\n      _defineProperty(this, \"_hasSetConcurrencyConstraint\", false);\n      _defineProperty(this, \"_hasSetBufferPolicy\", false);\n      _defineProperty(this, \"_hasEnabledEvents\", false);\n      _defineProperty(this, \"_maxConcurrency\", null);\n      _defineProperty(this, \"_onStateCallback\", (state, taskable) => taskable.setState(state));\n      _defineProperty(this, \"_schedulerPolicyClass\", _unboundedPolicy.default);\n      _defineProperty(this, \"_taskGroupPath\", null);\n      this.name = name;\n      this.taskDefinition = taskDefinition;\n      this.options = options;\n      this._processModifierOptions(options);\n    }\n\n    /**\n     * Returns a new Task bound to the given context\n     *\n     * @protected\n     * @param {*} context\n     * @returns {Task}\n     */\n    createTask(context) {\n      let options = this.getTaskOptions(context);\n      return new _task.Task(Object.assign({\n        generatorFactory: args => this.taskDefinition.apply(context, args)\n      }, options));\n    }\n\n    /**\n     * Returns a new TaskGroup bound to the given context\n     *\n     * @protected\n     * @param {*} context\n     * @returns {Task}\n     */\n    createTaskGroup(context) {\n      let options = this.getTaskOptions(context);\n      return new _taskGroup.TaskGroup(options);\n    }\n\n    /**\n     * Returns a modifier callback with the given name bound to this TaskFactory,\n     * if registered.\n     *\n     * @protected\n     * @param {string} name\n     * @returns {TaskFactory~TaskModifier?}\n     */\n    getModifier(name) {\n      if (hasModifier(name)) {\n        return MODIFIER_REGISTRY[name].bind(null, this);\n      }\n    }\n\n    /**\n     * Returns the options provided to TaskFactory\n     *\n     * @public\n     * @returns {object}\n     */\n    getOptions() {\n      return this.options;\n    }\n\n    /**\n     * Returns a new Scheduler instance\n     *\n     * @protected\n     * @param {*} schedulerPolicy\n     * @param {boolean} stateTrackingEnabled\n     * @returns {Scheduler}\n     */\n    getScheduler(schedulerPolicy, stateTrackingEnabled) {\n      return new _scheduler.default(schedulerPolicy, stateTrackingEnabled);\n    }\n\n    /**\n     * Returns the options to pass to a Task or TaskGroup constructor\n     *\n     * @protected\n     * @param {*} context\n     * @returns {object}\n     */\n    getTaskOptions(context) {\n      let group, scheduler;\n      let onStateCallback = this._onStateCallback;\n      if (this._taskGroupPath) {\n        group = context[this._taskGroupPath];\n        if (!(group instanceof _taskGroup.TaskGroup)) {\n          throw new Error(`Expected group '${this._taskGroupPath}' to be defined but was not found.`);\n        }\n        scheduler = group.scheduler;\n      } else {\n        let schedulerPolicy = new this._schedulerPolicyClass(this._maxConcurrency);\n        scheduler = this.getScheduler(schedulerPolicy, onStateCallback && typeof onStateCallback === 'function');\n      }\n      return {\n        context,\n        debug: this._debug,\n        env: this.env,\n        name: this.name,\n        group,\n        scheduler,\n        hasEnabledEvents: this._hasEnabledEvents,\n        onStateCallback,\n        enabledModifiers: this._enabledModifiers,\n        modifierOptions: this.getOptions()\n      };\n    }\n\n    /**\n     * Sets the Scheduler buffer policy class to the specified value.\n     *\n     * Will raise an assertion if a buffer policy has already been specified\n     *\n     * @param {*} policy\n     * @returns {TaskFactory}\n     */\n    setBufferPolicy(policy) {\n      assertUnsetBufferPolicy(this);\n      this._hasSetBufferPolicy = true;\n      this._hasSetConcurrencyConstraint = true;\n      this._schedulerPolicyClass = policy;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    }\n\n    /**\n     * Sets debug mode\n     *\n     * @param {boolean} enabled\n     * @returns {TaskFactory}\n     */\n    setDebug(enabled) {\n      this._debug = enabled;\n      return this;\n    }\n\n    /**\n     * Sets whether Task will dispatch Task events or not\n     *\n     * @param {boolean} enabled\n     * @returns {TaskFactory}\n     */\n    setEvented(enabled) {\n      this._hasEnabledEvents = enabled;\n      return this;\n    }\n\n    /**\n     * Sets Scheduling policy's `maxConcurrency`\n     *\n     * @param {number} maxConcurrency\n     * @returns {TaskFactory}\n     */\n    setMaxConcurrency(maxConcurrency) {\n      this._hasSetConcurrencyConstraint = true;\n      this._maxConcurrency = maxConcurrency;\n      return this;\n    }\n\n    /**\n     * Assigns Task created from this factory to the specified group name\n     *\n     * @param {string} group\n     * @returns {TaskFactory}\n     */\n    setGroup(group) {\n      this._taskGroupPath = group;\n      return this;\n    }\n\n    /**\n     * Sets the name of tasks created from this factory\n     *\n     * @param {string} name\n     * @returns {TaskFactory}\n     */\n    setName(name) {\n      this.name = name;\n      return this;\n    }\n\n    /**\n     * Sets the callback used on state updates. Can be set to null to disable\n     * state tracking on tasks.\n     *\n     * @param {function} onStateCallback\n     * @returns {TaskFactory}\n     */\n    setOnState(onStateCallback) {\n      this._onStateCallback = onStateCallback;\n      return this;\n    }\n\n    /**\n     * Sets the definition for tasks created from this factory\n     *\n     * @param {*} taskDefinition\n     * @returns {TaskFactory}\n     */\n    setTaskDefinition(taskDefinition) {\n      this.taskDefinition = taskDefinition;\n      return this;\n    }\n    _processModifierOptions(options) {\n      if (!options) {\n        return;\n      }\n      for (let key of Object.keys(options)) {\n        let value = options[key];\n        let modifier = this.getModifier(key);\n        if (typeof modifier === 'function' && modifier(value)) {\n          this._enabledModifiers.push(key);\n        }\n      }\n    }\n  }\n  _exports.TaskFactory = TaskFactory;\n});","define(\"ember-concurrency/-private/external/task-instance/base\", [\"exports\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _initialState, _yieldables, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.BaseTaskInstance = void 0;\n  const EXPLICIT_CANCEL_REASON = '.cancel() was explicitly called';\n  class BaseTaskInstance {\n    constructor({\n      task,\n      args,\n      executor,\n      performType,\n      hasEnabledEvents\n    }) {\n      this.task = task;\n      this.args = args;\n      this.performType = performType;\n      this.executor = executor;\n      this.executor.taskInstance = this;\n      this.hasEnabledEvents = hasEnabledEvents;\n    }\n    setState() {}\n    onStarted() {}\n    onSuccess() {}\n    onError() {}\n    onCancel() {}\n    formatCancelReason() {}\n    selfCancelLoopWarning() {}\n    onFinalize(callback) {\n      this.executor.onFinalize(callback);\n    }\n    proceed(index, yieldResumeType, value) {\n      this.executor.proceedChecked(index, yieldResumeType, value);\n    }\n    [_yieldables.yieldableSymbol](parentTaskInstance, resumeIndex) {\n      return this.executor.onYielded(parentTaskInstance, resumeIndex);\n    }\n    cancel(cancelReason = EXPLICIT_CANCEL_REASON) {\n      this.executor.cancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_EXPLICIT, cancelReason));\n    }\n    then(...args) {\n      return this.executor.promise().then(...args);\n    }\n    catch(...args) {\n      return this.executor.promise().catch(...args);\n    }\n    finally(...args) {\n      return this.executor.promise().finally(...args);\n    }\n    toString() {\n      return `${this.task} TaskInstance`;\n    }\n    start() {\n      this.executor.start();\n      return this;\n    }\n  }\n  _exports.BaseTaskInstance = BaseTaskInstance;\n  Object.assign(BaseTaskInstance.prototype, _initialState.INITIAL_STATE);\n  Object.assign(BaseTaskInstance.prototype, {\n    state: 'waiting',\n    isDropped: false,\n    isRunning: true\n  });\n});","define(\"ember-concurrency/-private/external/task-instance/cancelation\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TASK_CANCELATION_NAME = _exports.CancelRequest = _exports.CANCEL_KIND_YIELDABLE_CANCEL = _exports.CANCEL_KIND_PARENT_CANCEL = _exports.CANCEL_KIND_LIFESPAN_END = _exports.CANCEL_KIND_EXPLICIT = void 0;\n  _exports.didCancel = didCancel;\n  const TASK_CANCELATION_NAME = _exports.TASK_CANCELATION_NAME = 'TaskCancelation';\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.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  const CANCEL_KIND_EXPLICIT = _exports.CANCEL_KIND_EXPLICIT = 'explicit';\n  const CANCEL_KIND_YIELDABLE_CANCEL = _exports.CANCEL_KIND_YIELDABLE_CANCEL = 'yielded';\n  const CANCEL_KIND_LIFESPAN_END = _exports.CANCEL_KIND_LIFESPAN_END = 'lifespan_end';\n  const CANCEL_KIND_PARENT_CANCEL = _exports.CANCEL_KIND_PARENT_CANCEL = 'parent_cancel';\n  class CancelRequest {\n    constructor(kind, reason) {\n      this.kind = kind;\n      this.reason = reason;\n      this.promise = new Promise(resolve => {\n        this.finalize = resolve;\n      });\n    }\n  }\n  _exports.CancelRequest = CancelRequest;\n});","define(\"ember-concurrency/-private/external/task-instance/completion-states\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.COMPLETION_SUCCESS = _exports.COMPLETION_PENDING = _exports.COMPLETION_ERROR = _exports.COMPLETION_CANCEL = void 0;\n  const COMPLETION_PENDING = _exports.COMPLETION_PENDING = 0;\n  const COMPLETION_SUCCESS = _exports.COMPLETION_SUCCESS = 1;\n  const COMPLETION_ERROR = _exports.COMPLETION_ERROR = 2;\n  const COMPLETION_CANCEL = _exports.COMPLETION_CANCEL = 3;\n});","define(\"ember-concurrency/-private/external/task-instance/executor\", [\"exports\", \"ember-concurrency/-private/external/generator-state\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/external/task-instance/completion-states\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _generatorState, _initialState, _yieldables, _completionStates, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskInstanceExecutor = _exports.PERFORM_TYPE_UNLINKED = _exports.PERFORM_TYPE_LINKED = _exports.PERFORM_TYPE_DEFAULT = void 0;\n  _exports.getRunningInstance = getRunningInstance;\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  const CANCEL_RETURN_VALUE_SENTINEL = {};\n  let TASK_INSTANCE_STACK = [];\n  function getRunningInstance() {\n    return TASK_INSTANCE_STACK[TASK_INSTANCE_STACK.length - 1];\n  }\n  class TaskInstanceExecutor {\n    constructor({\n      generatorFactory,\n      env,\n      debug\n    }) {\n      this.generatorState = new _generatorState.GeneratorState(generatorFactory);\n      this.state = Object.assign({}, _initialState.INITIAL_STATE);\n      this.index = 1;\n      this.disposers = [];\n      this.finalizeCallbacks = [];\n      this.env = env;\n      this.debug = debug;\n      this.cancelRequest = null;\n    }\n    start() {\n      if (this.state.hasStarted || this.cancelRequest) {\n        return;\n      }\n      this.setState({\n        hasStarted: true\n      });\n      this.proceedSync(_yieldables.YIELDABLE_CONTINUE, undefined);\n      this.taskInstance.onStarted();\n    }\n    cancel(cancelRequest) {\n      if (!this.requestCancel(cancelRequest)) {\n        cancelRequest.finalize();\n        return cancelRequest.promise;\n      }\n      if (this.state.hasStarted) {\n        this.proceedWithCancelAsync();\n      } else {\n        this.finalizeWithCancel();\n      }\n      return this.cancelRequest.promise;\n    }\n    setState(state) {\n      Object.assign(this.state, state);\n      this.taskInstance.setState(this.state);\n    }\n    proceedChecked(index, yieldResumeType, value) {\n      if (this.state.isFinished) {\n        return;\n      }\n      if (!this.advanceIndex(index)) {\n        return;\n      }\n      if (yieldResumeType === _yieldables.YIELDABLE_CANCEL) {\n        this.requestCancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_YIELDABLE_CANCEL), value);\n        this.proceedWithCancelAsync();\n      } else {\n        this.proceedAsync(yieldResumeType, value);\n      }\n    }\n    proceedWithCancelAsync() {\n      this.proceedAsync(_yieldables.YIELDABLE_RETURN, CANCEL_RETURN_VALUE_SENTINEL);\n    }\n    proceedAsync(yieldResumeType, value) {\n      this.advanceIndex(this.index);\n      this.env.async(() => this.proceedSync(yieldResumeType, value));\n    }\n    proceedSync(yieldResumeType, value) {\n      if (this.state.isFinished) {\n        return;\n      }\n      this.dispose();\n      if (this.generatorState.done) {\n        this.handleResolvedReturnedValue(yieldResumeType, value);\n      } else {\n        this.handleResolvedContinueValue(yieldResumeType, value);\n      }\n    }\n\n    /**\n     * This method is called when a previously yielded value from\n     * the generator has been resolved, and now it's time to pass\n     * it back into the generator. There are 3 ways to \"resume\" a\n     * generator:\n     *\n     * - call `.next(value)` on it, which is used to pass in a resolved\n     *   value (the fulfilled value of a promise), e.g. if a task generator fn\n     *   does `yield Promise.resolve(5)`, then we take that promise yielded\n     *   by the generator, detect that it's a promise, resolve it, and then\n     *   pass its fulfilled value `5` back into the generator function so\n     *   that it can continue executing.\n     * - call `.throw(error)` on it, which throw an exception from where the\n     *   the generator previously yielded. We do this when the previously\n     *   yielded value resolves to an error value (e.g. a rejected promise\n     *   or a TaskInstance that finished with an error). Note that when you\n     *   resume a generator with a `.throw()`, it can still recover from that\n     *   thrown error and continue executing normally so long as the `yield`\n     *   was inside a `try/catch` statement.\n     * - call `.return(value)` on it, causes the generator function to return\n     *   from where it previously `yield`ed. We use `.return()` when cancelling\n     *   a TaskInstance; by `.return`ing, rather than `.throw`ing, it allows\n     *   the generator function to skip `catch(e) {}` blocks, which is usually\n     *   reserved for actual errors/exceptions; if we `.throw`'d cancellations,\n     *   it would require all tasks that used try/catch to conditionally ignore\n     *   cancellations, which is annoying. So we `.return()` from generator functions\n     *   in the case of errors as a matter of convenience.\n     *\n     * @private\n     */\n    handleResolvedContinueValue(iteratorMethod, resumeValue) {\n      let beforeIndex = this.index;\n      let stepResult = this.generatorStep(resumeValue, iteratorMethod);\n\n      // TODO: what is this doing? write breaking test.\n      if (!this.advanceIndex(beforeIndex)) {\n        return;\n      }\n      if (stepResult.errored) {\n        this.finalize(stepResult.value, _completionStates.COMPLETION_ERROR);\n        return;\n      }\n      this.handleYieldedValue(stepResult);\n    }\n\n    /**\n     * This method is called when the generator function is all\n     * out of values, and the last value returned from the function\n     * (possible a thenable/yieldable/promise/etc) has been resolved.\n     *\n     * Possible cases:\n     * - `return \"simple value\";` // resolved value is \"simple value\"\n     * - `return undefined;` // (or omitted return) resolved value is undefined\n     * - `return someTask.perform()` // resolved value is the value returned/resolved from someTask\n     *\n     * @private\n     */\n    handleResolvedReturnedValue(yieldResumeType, value) {\n      switch (yieldResumeType) {\n        case _yieldables.YIELDABLE_CONTINUE:\n        case _yieldables.YIELDABLE_RETURN:\n          this.finalize(value, _completionStates.COMPLETION_SUCCESS);\n          break;\n        case _yieldables.YIELDABLE_THROW:\n          this.finalize(value, _completionStates.COMPLETION_ERROR);\n          break;\n      }\n    }\n    handleYieldedUnknownThenable(thenable) {\n      let resumeIndex = this.index;\n      thenable.then(value => {\n        this.proceedChecked(resumeIndex, _yieldables.YIELDABLE_CONTINUE, value);\n      }, error => {\n        this.proceedChecked(resumeIndex, _yieldables.YIELDABLE_THROW, error);\n      });\n    }\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    handleYieldedValue(stepResult) {\n      let yieldedValue = stepResult.value;\n      if (!yieldedValue) {\n        this.proceedWithSimpleValue(yieldedValue);\n        return;\n      }\n      this.addDisposer(yieldedValue[_yieldables.cancelableSymbol]);\n      if (yieldedValue[_yieldables.yieldableSymbol]) {\n        this.invokeYieldable(yieldedValue);\n      } else if (typeof yieldedValue.then === 'function') {\n        this.handleYieldedUnknownThenable(yieldedValue);\n      } else {\n        this.proceedWithSimpleValue(yieldedValue);\n      }\n    }\n    proceedWithSimpleValue(yieldedValue) {\n      this.proceedAsync(_yieldables.YIELDABLE_CONTINUE, yieldedValue);\n    }\n    addDisposer(maybeDisposer) {\n      if (typeof maybeDisposer !== 'function') {\n        return;\n      }\n      this.disposers.push(maybeDisposer);\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      let disposers = this.disposers;\n      if (disposers.length === 0) {\n        return;\n      }\n      this.disposers = [];\n      disposers.forEach(disposer => disposer());\n    }\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    generatorStep(nextValue, iteratorMethod) {\n      TASK_INSTANCE_STACK.push(this);\n      let stepResult = this.generatorState.step(nextValue, iteratorMethod);\n      TASK_INSTANCE_STACK.pop();\n\n      // TODO: fix this!\n      if (this._expectsLinkedYield) {\n        let value = stepResult.value;\n        if (!value || value.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      return stepResult;\n    }\n    maybeResolveDefer() {\n      if (!this.defer || !this.state.isFinished) {\n        return;\n      }\n      if (this.state.completionState === _completionStates.COMPLETION_SUCCESS) {\n        this.defer.resolve(this.state.value);\n      } else {\n        this.defer.reject(this.state.error);\n      }\n    }\n    onFinalize(callback) {\n      this.finalizeCallbacks.push(callback);\n      if (this.state.isFinished) {\n        this.runFinalizeCallbacks();\n      }\n    }\n    runFinalizeCallbacks() {\n      this.finalizeCallbacks.forEach(cb => cb());\n      this.finalizeCallbacks = [];\n      this.maybeResolveDefer();\n      this.maybeThrowUnhandledTaskErrorLater();\n    }\n    promise() {\n      if (!this.defer) {\n        this.defer = this.env.defer();\n        this.asyncErrorsHandled = true;\n        this.maybeResolveDefer();\n      }\n      return this.defer.promise;\n    }\n    maybeThrowUnhandledTaskErrorLater() {\n      if (!this.asyncErrorsHandled && this.state.completionState === _completionStates.COMPLETION_ERROR && !(0, _cancelation.didCancel)(this.state.error)) {\n        this.env.async(() => {\n          if (!this.asyncErrorsHandled) {\n            this.env.reportUncaughtRejection(this.state.error);\n          }\n        });\n      }\n    }\n    requestCancel(request) {\n      if (this.cancelRequest || this.state.isFinished) {\n        return false;\n      }\n      this.cancelRequest = request;\n      return true;\n    }\n    finalize(value, completionState) {\n      if (this.cancelRequest) {\n        return this.finalizeWithCancel();\n      }\n      let state = {\n        completionState\n      };\n      if (completionState === _completionStates.COMPLETION_SUCCESS) {\n        state.isSuccessful = true;\n        state.value = value;\n      } else if (completionState === _completionStates.COMPLETION_ERROR) {\n        state.isError = true;\n        state.error = value;\n      } else if (completionState === _completionStates.COMPLETION_CANCEL) {\n        state.error = value;\n      }\n      this.finalizeShared(state);\n    }\n    finalizeWithCancel() {\n      let cancelReason = this.taskInstance.formatCancelReason(this.cancelRequest.reason);\n      let error = new Error(cancelReason);\n      if (this.debugEnabled()) {\n        // eslint-disable-next-line no-console\n        console.log(cancelReason);\n      }\n      error.name = _cancelation.TASK_CANCELATION_NAME;\n      this.finalizeShared({\n        isCanceled: true,\n        completionState: _completionStates.COMPLETION_CANCEL,\n        error,\n        cancelReason\n      });\n      this.cancelRequest.finalize();\n    }\n    debugEnabled() {\n      return this.debug || this.env.globalDebuggingEnabled();\n    }\n    finalizeShared(state) {\n      this.index++;\n      state.isFinished = true;\n      this.setState(state);\n      this.runFinalizeCallbacks();\n      this.dispatchFinalizeEvents(state.completionState);\n    }\n    dispatchFinalizeEvents(completionState) {\n      switch (completionState) {\n        case _completionStates.COMPLETION_SUCCESS:\n          this.taskInstance.onSuccess();\n          break;\n        case _completionStates.COMPLETION_ERROR:\n          this.taskInstance.onError(this.state.error);\n          break;\n        case _completionStates.COMPLETION_CANCEL:\n          this.taskInstance.onCancel(this.state.cancelReason);\n          break;\n      }\n    }\n    invokeYieldable(yieldedValue) {\n      try {\n        let maybeDisposer = yieldedValue[_yieldables.yieldableSymbol](this.taskInstance, this.index);\n        this.addDisposer(maybeDisposer);\n      } catch (e) {\n        this.env.reportUncaughtRejection(e);\n      }\n    }\n\n    /**\n     * `onYielded` is called when this task instance has been\n     * yielded in another task instance's execution. We take\n     * this opportunity to conditionally link up the tasks\n     * so that when the parent or child cancels, the other\n     * is cancelled.\n     *\n     * Given the following case:\n     *\n     * ```js\n     * parentTask: task(function * () {\n     *   yield otherTask.perform();\n     * })\n     * ```\n     *\n     * Then the `parent` param is the task instance that is executing, `this`\n     * is the `otherTask` task instance that was yielded.\n     *\n     * @private\n     */\n    onYielded(parent, resumeIndex) {\n      this.asyncErrorsHandled = true;\n      this.onFinalize(() => {\n        let completionState = this.state.completionState;\n        if (completionState === _completionStates.COMPLETION_SUCCESS) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_CONTINUE, this.state.value);\n        } else if (completionState === _completionStates.COMPLETION_ERROR) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_THROW, this.state.error);\n        } else if (completionState === _completionStates.COMPLETION_CANCEL) {\n          parent.proceed(resumeIndex, _yieldables.YIELDABLE_CANCEL, null);\n        }\n      });\n      let performType = this.getPerformType();\n      if (performType === PERFORM_TYPE_UNLINKED) {\n        return;\n      }\n      return () => {\n        this.detectSelfCancelLoop(performType, parent);\n        this.cancel(new _cancelation.CancelRequest(_cancelation.CANCEL_KIND_PARENT_CANCEL));\n      };\n    }\n    getPerformType() {\n      return this.taskInstance.performType || PERFORM_TYPE_DEFAULT;\n    }\n    detectSelfCancelLoop(performType, parent) {\n      if (performType !== PERFORM_TYPE_DEFAULT) {\n        return;\n      }\n      let parentCancelRequest = parent.executor && parent.executor.cancelRequest;\n\n      // Detect that the parent was cancelled by a lifespan ending and\n      // that the child is still running and not cancelled.\n      if (parentCancelRequest && parentCancelRequest.kind === _cancelation.CANCEL_KIND_LIFESPAN_END && !this.cancelRequest && !this.state.isFinished) {\n        this.taskInstance.selfCancelLoopWarning(parent);\n      }\n    }\n  }\n  _exports.TaskInstanceExecutor = TaskInstanceExecutor;\n});","define(\"ember-concurrency/-private/external/task-instance/initial-state\", [\"exports\", \"ember-concurrency/-private/external/task-instance/completion-states\"], function (_exports, _completionStates) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.INITIAL_STATE = void 0;\n  const INITIAL_STATE = _exports.INITIAL_STATE = {\n    completionState: _completionStates.COMPLETION_PENDING,\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 is canceled\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isCanceled: 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});","define(\"ember-concurrency/-private/external/task/default-state\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEFAULT_STATE = void 0;\n  const DEFAULT_STATE = _exports.DEFAULT_STATE = {\n    last: null,\n    lastRunning: null,\n    lastPerformed: null,\n    lastSuccessful: null,\n    lastComplete: null,\n    lastErrored: null,\n    lastCanceled: null,\n    lastIncomplete: null,\n    performCount: 0\n  };\n  Object.freeze(DEFAULT_STATE);\n});","define(\"ember-concurrency/-private/external/task/task-group\", [\"exports\", \"ember-concurrency/-private/external/task/taskable\"], function (_exports, _taskable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroup = void 0;\n  class TaskGroup extends _taskable.Taskable {}\n  _exports.TaskGroup = TaskGroup;\n});","define(\"ember-concurrency/-private/external/task/task\", [\"exports\", \"ember-concurrency/-private/external/task/taskable\", \"ember-concurrency/-private/external/task-instance/executor\"], function (_exports, _taskable, _executor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Task = void 0;\n  class TaskLinkProxy {\n    constructor(task, performType, linkedObject) {\n      this.task = task;\n      this.performType = performType;\n      this.linkedObject = linkedObject;\n    }\n    perform(...args) {\n      return this.task._performShared(args, this.performType, this.linkedObject);\n    }\n  }\n  class Task extends _taskable.Taskable {\n    constructor(options) {\n      super(options);\n      this.generatorFactory = options.generatorFactory;\n      this.perform = this._perform.bind(this);\n    }\n    linked() {\n      let linkedObject = (0, _executor.getRunningInstance)();\n      if (!linkedObject) {\n        throw new Error(`You can only call .linked() from within a task.`);\n      }\n      return new TaskLinkProxy(this, _executor.PERFORM_TYPE_LINKED, linkedObject);\n    }\n    unlinked() {\n      return new TaskLinkProxy(this, _executor.PERFORM_TYPE_UNLINKED, null);\n    }\n    toString() {\n      return `<Task:${this.name}>`;\n    }\n    _clone() {\n      return new Task({\n        context: this.context,\n        debug: this.debug,\n        env: this.env,\n        generatorFactory: this.generatorFactory,\n        group: this.group,\n        hasEnabledEvents: this.hasEnabledEvents,\n        name: this.name,\n        onStateCallback: this.onStateCallback,\n        scheduler: this.scheduler\n      });\n    }\n    _curry(...args) {\n      let task = this._clone();\n      task._curryArgs = [...(this._curryArgs || []), ...args];\n      return task;\n    }\n    _perform(...args) {\n      return this._performShared(args, _executor.PERFORM_TYPE_DEFAULT, null);\n    }\n    _performShared(args, performType, linkedObject) {\n      let fullArgs = this._curryArgs ? [...this._curryArgs, ...args] : args;\n      let taskInstance = this._taskInstanceFactory(fullArgs, performType, linkedObject);\n      if (performType === _executor.PERFORM_TYPE_LINKED) {\n        linkedObject._expectsLinkedYield = true;\n      }\n      if (!this._isAlive) {\n        // a task linked to a dead lifetime should immediately cancel.\n        taskInstance.cancel();\n      }\n      this.scheduler.perform(taskInstance);\n      return taskInstance;\n    }\n\n    // eslint-disable-next-line no-unused-vars\n    _taskInstanceOptions(args, performType, _linkedObject) {\n      let generatorFactory = () => this.generatorFactory(args);\n      let taskInstanceOptions = {\n        task: this,\n        args,\n        executor: new _executor.TaskInstanceExecutor({\n          generatorFactory,\n          env: this.env,\n          debug: this.debug\n        }),\n        performType,\n        hasEnabledEvents: this.hasEnabledEvents\n      };\n      return taskInstanceOptions;\n    }\n  }\n  _exports.Task = Task;\n});","define(\"ember-concurrency/-private/external/task/taskable\", [\"exports\", \"ember-concurrency/-private/external/task/default-state\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _defaultState, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Taskable = void 0;\n  let guidId = 0;\n  function makeGuid() {\n    return `ec_${guidId++}`;\n  }\n  class Taskable {\n    constructor(options) {\n      this.context = options.context;\n      this.debug = options.debug || false;\n      this.enabledModifiers = options.enabledModifiers;\n      this.env = options.env;\n      this.group = options.group;\n      this.hasEnabledEvents = options.hasEnabledEvents;\n      this.modifierOptions = options.modifierOptions;\n      this.name = options.name;\n      this.onStateCallback = options.onStateCallback;\n      this.scheduler = options.scheduler;\n      this.guid = makeGuid();\n      this.guids = {};\n      this.guids[this.guid] = true;\n      if (this.group) {\n        Object.assign(this.guids, this.group.guids);\n      }\n    }\n    cancelAll(options) {\n      let {\n        reason,\n        cancelRequestKind,\n        resetState\n      } = options || {};\n      reason = reason || '.cancelAll() was explicitly called on the Task';\n      let cancelRequest = new _cancelation.CancelRequest(cancelRequestKind || _cancelation.CANCEL_KIND_EXPLICIT, reason);\n      return this.scheduler.cancelAll(this.guid, cancelRequest).then(() => {\n        if (resetState) {\n          this._resetState();\n        }\n      });\n    }\n    get _isAlive() {\n      return true;\n    }\n    _resetState() {\n      this.setState(_defaultState.DEFAULT_STATE);\n    }\n\n    // override\n    setState() {}\n  }\n  _exports.Taskable = Taskable;\n  Object.assign(Taskable.prototype, _defaultState.DEFAULT_STATE);\n  Object.assign(Taskable.prototype, {\n    numRunning: 0,\n    numQueued: 0,\n    isRunning: false,\n    isQueued: false,\n    isIdle: true,\n    state: 'idle'\n  });\n});","define(\"ember-concurrency/-private/external/yieldables\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Yieldable = _exports.YIELDABLE_THROW = _exports.YIELDABLE_RETURN = _exports.YIELDABLE_CONTINUE = _exports.YIELDABLE_CANCEL = void 0;\n  _exports.animationFrame = animationFrame;\n  _exports.forever = _exports.cancelableSymbol = void 0;\n  _exports.rawTimeout = rawTimeout;\n  _exports.yieldableSymbol = void 0;\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\n  /**\n   * @class YieldableState\n   * @hideconstructor\n   */\n  class YieldableState {\n    constructor(taskInstance, resumeIndex) {\n      this._taskInstance = taskInstance;\n      this._resumeIndex = resumeIndex;\n    }\n\n    /**\n     * Return yielded TaskInstance. Useful for introspection on instance state.\n     * @method getTaskInstance\n     * @memberof YieldableState\n     * @public\n     * @instance\n     */\n    getTaskInstance() {\n      return this._taskInstance;\n    }\n\n    /**\n     * Cancel the yielded TaskInstance.\n     * @method cancel\n     * @memberof YieldableState\n     * @public\n     * @instance\n     */\n    cancel() {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_CANCEL);\n    }\n\n    /**\n     * Cause the TaskInstance to return from its yield with an optional value,\n     * and continue executing.\n     * @method next\n     * @memberof YieldableState\n     * @param value\n     * @public\n     * @instance\n     */\n    next(value) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_CONTINUE, value);\n    }\n\n    /**\n     * Short-circuit TaskInstance execution and have it return with an optional\n     * value.\n     * @method return\n     * @memberof YieldableState\n     * @param value\n     * @public\n     * @instance\n     */\n    return(value) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_RETURN, value);\n    }\n\n    /**\n     * Raise a given error within the given task instance and halt execution\n     * @method throw\n     * @memberof YieldableState\n     * @param error\n     * @public\n     * @instance\n     */\n    throw(error) {\n      let taskInstance = this._taskInstance;\n      taskInstance.proceed.call(taskInstance, this._resumeIndex, YIELDABLE_THROW, error);\n    }\n  }\n\n  /**\n   * Yieldables are a primitive for building safe, cancelation-aware ways to\n   * instrument and introspect the runtime of a task. Many Yieldables are built-in\n   * to ember-concurrency today, such as `timeout`, `animationFrame`, and\n   * `rawTimeout`.\n   *\n   * For example, if I wanted to implement a yieldable for `requestIdleCallback`,\n   * I could do the following:\n   *\n   * ```javascript\n   * import Component from '@glimmer/component';\n   * import { task, Yieldable } from 'ember-concurrency';\n   *\n   * class IdleCallbackYieldable extends Yieldable {\n   *   onYield(state) {\n   *     let callbackId = requestIdleCallback(() => state.next());\n   *\n   *     return () => cancelIdleCallback(callbackId);\n   *   }\n   * }\n   *\n   * const idleCallback = () => new IdleCallbackYieldable();\n   *\n   * class MyComponent extends Component {\n   *   &#64;task *backgroundTask() {\n   *     while (1) {\n   *       yield idleCallback();\n   *\n   *       const data = this.complicatedNumberCrunching();\n   *       yield this.sendData(data);\n   *     }\n   *   }\n   * }\n   * ```\n   *\n   * In general, `Yieldable` instances **should** be reusable across calls, and thus\n   * care should be taken to ensure that teardown is provided and state not\n   * intended to be shared across calls stay inside `onYield`.\n   *\n   * `Yieldable` also provides automatic Promise-casting.\n   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #Yieldable { display: none }\n   * </style>\n   *\n   * @class Yieldable\n   */\n  class Yieldable {\n    constructor() {\n      this[yieldableSymbol] = this[yieldableSymbol].bind(this);\n    }\n\n    /**\n     * Defines what happens when the task encounters `yield myYieldable` and returns\n     * a disposer function that handles any cleanup.\n     *\n     * The state parameter is provided by the runtime, and provides operations for\n     * interacting with the yielding task instance and advancing, returning,\n     * throwing, or canceling its execution.\n     *\n     * @method onYield\n     * @memberof Yieldable\n     * @param {YieldableState} state\n     * @instance\n     * @public\n     */\n    onYield() {}\n    _deferable() {\n      let def = {\n        resolve: undefined,\n        reject: undefined\n      };\n      def.promise = new Promise((resolve, reject) => {\n        def.resolve = resolve;\n        def.reject = reject;\n      });\n      return def;\n    }\n    _toPromise() {\n      let def = this._deferable();\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 = this[yieldableSymbol](thinInstance, 0);\n      def.promise[cancelableSymbol] = maybeDisposer;\n      return def.promise;\n    }\n\n    /**\n     * Returns a promise that resolves with the value yielded back to or returned\n     * to the yielded task, or rejects with either the exception thrown from the\n     * Yieldable, or an error with a `.name` property with value `\"TaskCancelation\"`.\n     *\n     * @method then\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n    then(...args) {\n      return this._toPromise().then(...args);\n    }\n\n    /**\n     * @method catch\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n    catch(...args) {\n      return this._toPromise().catch(...args);\n    }\n\n    /**\n     * @method finally\n     * @memberof Yieldable\n     * @instance\n     * @return {Promise}\n     */\n    finally(...args) {\n      return this._toPromise().finally(...args);\n    }\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      let state = new YieldableState(taskInstance, resumeIndex);\n      return this.onYield(state);\n    }\n  }\n  _exports.Yieldable = Yieldable;\n  class AnimationFrameYieldable extends Yieldable {\n    onYield(state) {\n      let timerId = requestAnimationFrame(() => state.next());\n      return () => cancelAnimationFrame(timerId);\n    }\n  }\n  class ForeverYieldable extends Yieldable {\n    onYield() {}\n  }\n  class RawTimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n    }\n    onYield(state) {\n      let timerId = setTimeout(() => state.next(), this.ms);\n      return () => clearTimeout(timerId);\n    }\n  }\n\n  /**\n   * Yielding `animationFrame()` will pause a task until after the next animation\n   * frame using the native `requestAnimationFrame()` browser API.\n   *\n   * The task below, when performed, will print the time since the last loop run\n   * for every animation frame.\n   *\n   * ```js\n   * export default class MyComponent extends Component {\n   *   &#64;task *myTask() {\n   *     let lastNow = performance.now();\n   *     while (true) {\n   *       yield animationFrame();\n   *\n   *       let now = performance.now();\n   *       let dt = now - lastNow;\n   *       lastNow = now;\n   *\n   *       console.log(dt);\n   *     }\n   *   }\n   * }\n   * ```\n   */\n  function animationFrame() {\n    return new AnimationFrameYieldable();\n  }\n\n  /**\n   *\n   * Yielding `forever` will pause a task indefinitely until\n   * it is cancelled (i.e. via host object destruction, the restartable modifier,\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   * export default class MyComponent extends Component {\n   *   &#64;service myService;\n   *   &#64;task *myTask() {\n   *     yield this.myService.doSomethingThatCausesATransition();\n   *     yield forever;\n   *   }\n   * }\n   * ```\n   */\n  const forever = _exports.forever = new ForeverYieldable();\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 class MyComponent extends Component {\n   *   &#64;task *myTask() {\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});","define(\"ember-concurrency/-private/helpers\", [\"exports\"], function (_exports) {\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 function (...innerArgs) {\n      if (!task || typeof task[taskMethod] !== 'function') {\n        (true && !(false) && Ember.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(Ember.get(event, hash.value));\n      }\n      return task[taskMethod](...outerArgs, ...innerArgs);\n    };\n  }\n});","define(\"ember-concurrency/-private/scheduler/ember-scheduler\", [\"exports\", \"ember-concurrency/-private/external/scheduler/scheduler\"], function (_exports, _scheduler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class EmberScheduler extends _scheduler.default {\n    scheduleRefresh() {\n      Ember.run.once(this, this.refresh);\n    }\n  }\n  var _default = _exports.default = EmberScheduler;\n});","define(\"ember-concurrency/-private/task-decorators\", [\"exports\", \"ember-concurrency/-private/external/task-decorators\", \"ember-concurrency/-private/task-factory\", \"ember-concurrency/-private/utils\"], function (_exports, _taskDecorators, _taskFactory, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.taskGroup = _exports.task = _exports.restartableTaskGroup = _exports.restartableTask = _exports.lastValue = _exports.keepLatestTaskGroup = _exports.keepLatestTask = _exports.enqueueTaskGroup = _exports.enqueueTask = _exports.dropTaskGroup = _exports.dropTask = void 0;\n  const computedLastValue = (0, _taskDecorators.decoratorWithParams)((target, key, descriptor, [taskName] = []) => {\n    const {\n      initializer\n    } = descriptor;\n    delete descriptor.initializer;\n    let cp = Ember.computed(`${taskName}.lastSuccessful`, function () {\n      let lastInstance = Ember.get(this, `${taskName}.lastSuccessful`);\n      if (lastInstance) {\n        // eslint-disable-next-line ember/no-get\n        return Ember.get(lastInstance, 'value');\n      }\n      if (initializer) {\n        return initializer.call(this);\n      }\n      return undefined;\n    });\n    return cp(target, key, descriptor);\n  });\n  const lastValue = _exports.lastValue = _utils.USE_TRACKED ? _taskDecorators.lastValue : computedLastValue;\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   * 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   * 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   * You can also define an\n   * <a href=\"/docs/advanced/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;task({ maxConcurrency: 5, keepLatest: true, cancelOn: 'click' })\n   *   *taskWithModifiers() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options\n   * @param {string|string[]} [options.cancelOn] Events to cancel task on. Applies only to `&#64;ember/component`\n   * @param {boolean} [options.enqueue] Sets `enqueue` modifier on task if `true`\n   * @param {boolean} [options.evented] Enables [task lifecycle events](/docs/advanced/lifecycle-events) for this Task, if `true`\n   * @param {boolean} [options.debug] Enables task debugging if `true`\n   * @param {boolean} [options.drop] Sets `drop` modifier on task if `true`\n   * @param {string} [options.group] Associates task with the group specified\n   * @param {boolean} [options.keepLatest] Sets `keepLatest` modifier on task if `true`\n   * @param {number} [options.maxConcurrency] Sets the maximum number of running task instances for the task\n   * @param {string|string[]} [options.observes] Properties to watch and cause task to be performed when they change\n   * @param {string|string[]} [options.on] Events to perform task on. Applies only to `&#64;ember/component`\n   * @param {function?} [options.onState] Callback to use for state tracking. May be set to `null` to disable state tracking.\n   * @param {boolean} [options.restartable] Sets `restartable` modifier on task if `true`\n   * @return {Task}\n   */\n  const task = _exports.task = (0, _taskDecorators.createTaskDecorator)({}, _taskFactory.TaskFactory);\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/advanced/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, dropTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;dropTask({ cancelOn: 'click' })\n   *   *myDropTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n  const dropTask = _exports.dropTask = (0, _taskDecorators.createTaskDecorator)({\n    drop: true\n  }, _taskFactory.TaskFactory);\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/advanced/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, enqueueTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;enqueueTask({ cancelOn: 'click' })\n   *   *myEnqueueTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n  const enqueueTask = _exports.enqueueTask = (0, _taskDecorators.createTaskDecorator)({\n    enqueue: true\n  }, _taskFactory.TaskFactory);\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/advanced/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, keepLatestTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;keepLatestTask({ cancelOn: 'click' })\n   *   *myKeepLatestTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n  const keepLatestTask = _exports.keepLatestTask = (0, _taskDecorators.createTaskDecorator)({\n    keepLatest: true\n  }, _taskFactory.TaskFactory);\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, or `group`.\n   *\n   * You can also define an\n   * <a href=\"/docs/advanced/encapsulated-task\">Encapsulated Task</a>\n   * by decorating an object that defines a `perform` generator\n   * method.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task, restartableTask } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;task\n   *   *plainTask() {}\n   *\n   *   &#64;restartableTask({ cancelOn: 'click' })\n   *   *myRestartableTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task modifier options. See {@link task} for list.\n   * @return {Task}\n   */\n  const restartableTask = _exports.restartableTask = (0, _taskDecorators.createTaskDecorator)({\n    restartable: true\n  }, _taskFactory.TaskFactory);\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   * 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 Component from '@glimmer/component';\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;taskGroup({ maxConcurrency: 5 }) chores;\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *mowLawn() {}\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *doDishes() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n  const taskGroup = _exports.taskGroup = (0, _taskDecorators.createTaskGroupDecorator)({}, _taskFactory.TaskFactory);\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={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n  const dropTaskGroup = _exports.dropTaskGroup = (0, _taskDecorators.createTaskGroupDecorator)({\n    drop: true\n  }, _taskFactory.TaskFactory);\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={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n  const enqueueTaskGroup = _exports.enqueueTaskGroup = (0, _taskDecorators.createTaskGroupDecorator)({\n    enqueue: true\n  }, _taskFactory.TaskFactory);\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={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n  const keepLatestTaskGroup = _exports.keepLatestTaskGroup = (0, _taskDecorators.createTaskGroupDecorator)({\n    keepLatest: true\n  }, _taskFactory.TaskFactory);\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={}] Task group modifier options. See {@link task} for list.\n   * @return {TaskGroup}\n   */\n  const restartableTaskGroup = _exports.restartableTaskGroup = (0, _taskDecorators.createTaskGroupDecorator)({\n    restartable: true\n  }, _taskFactory.TaskFactory);\n});","define(\"ember-concurrency/-private/task-factory\", [\"exports\", \"ember-concurrency/-private/external/task-factory\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/task-group\", \"ember-concurrency/-private/scheduler/ember-scheduler\", \"ember-concurrency/-private/ember-environment\"], function (_exports, _taskFactory, _task, _taskProperties, _taskGroup, _emberScheduler, _emberEnvironment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskFactory = 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  let handlerCounter = 0;\n  function registerOnPrototype(addListenerOrObserver, proto, names, taskName, taskMethod, once) {\n    if (names && names.length > 0) {\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 = Ember.get(this, taskName);\n      if (once) {\n        Ember.run.scheduleOnce('actions', task, method, ...arguments);\n      } else {\n        task[method].apply(task, arguments);\n      }\n    };\n  }\n  const ensureArray = possibleArr => Array.isArray(possibleArr) ? possibleArr : [possibleArr];\n  (0, _taskFactory.registerModifier)('cancelOn', (factory, eventNames) => factory.addCancelEvents(...ensureArray(eventNames)));\n  (0, _taskFactory.registerModifier)('observes', (factory, propertyPaths) => factory.addObserverKeys(...ensureArray(propertyPaths)));\n  (0, _taskFactory.registerModifier)('on', (factory, eventNames) => factory.addPerformEvents(...ensureArray(eventNames)));\n  class TaskFactory extends _taskFactory.TaskFactory {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"env\", _emberEnvironment.EMBER_ENVIRONMENT);\n    }\n    createTask(context) {\n      (true && !(this.taskDefinition) && Ember.assert(`Cannot create task if a task definition is not provided as generator function or encapsulated task.`, this.taskDefinition));\n      let options = this.getTaskOptions(context);\n      if (typeof this.taskDefinition === 'object') {\n        return new _task.EncapsulatedTask(Object.assign({\n          taskObj: this.taskDefinition\n        }, options));\n      } else {\n        return new _task.Task(Object.assign({\n          generatorFactory: args => this.taskDefinition.apply(context, args)\n        }, options));\n      }\n    }\n    createTaskGroup(context) {\n      (true && !(!this.taskDefinition) && Ember.assert(`A task definition is not expected for a task group.`, !this.taskDefinition));\n      let options = this.getTaskOptions(context);\n      return new _taskGroup.TaskGroup(options);\n    }\n    addCancelEvents(...cancelEventNames) {\n      this._cancelEventNames = this._cancelEventNames || [];\n      this._cancelEventNames.push(...cancelEventNames);\n      return this;\n    }\n    addObserverKeys(...keys) {\n      this._observes = this._observes || [];\n      this._observes.push(...keys);\n      return this;\n    }\n    addPerformEvents(...eventNames) {\n      this._eventNames = this._eventNames || [];\n      this._eventNames.push(...eventNames);\n      return this;\n    }\n    getModifier(name) {\n      let modifier = super.getModifier(name);\n      if (!modifier && typeof _taskProperties.TaskProperty.prototype[name] === 'function') {\n        // Shim for compatibility with user-defined TaskProperty prototype\n        // extensions. To be removed when replaced with proper public API.\n        modifier = _taskProperties.TaskProperty.prototype[name].bind(this);\n      }\n      (true && !(modifier) && Ember.assert(`Task option '${name}' is not recognized as a supported option.`, modifier));\n      return modifier;\n    }\n    getScheduler(schedulerPolicy, stateTrackingEnabled) {\n      return new _emberScheduler.default(schedulerPolicy, stateTrackingEnabled);\n    }\n    _setupEmberKVO(proto) {\n      // TODO: Does this make sense in a post-Ember object world?\n\n      registerOnPrototype(Ember.addListener, proto, this._eventNames, this.name, 'perform', false);\n      registerOnPrototype(Ember.addListener, proto, this._cancelEventNames, this.name, 'cancelAll', false);\n      registerOnPrototype(Ember.addObserver, proto, this._observes, this.name, 'perform', true);\n    }\n\n    // Provided for compatibility with ember-concurrency TaskProperty extension\n    // methods\n    get taskFn() {\n      return this.taskDefinition;\n    }\n    set taskFn(fn) {\n      this.setTaskDefinition(fn);\n    }\n  }\n  _exports.TaskFactory = TaskFactory;\n});","define(\"ember-concurrency/-private/task-group\", [\"exports\", \"ember-concurrency/-private/external/task/task-group\", \"ember-concurrency/-private/taskable-mixin\", \"ember-concurrency/-private/tracked-state\"], function (_exports, _taskGroup, _taskableMixin, _trackedState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroup = void 0;\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   * 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 Component from '@glimmer/component';\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * class MyComponent extends Component {\n   *   &#64;taskGroup({ maxConcurrency: 5 }) chores;\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *mowLawn() {}\n   *\n   *   &#64;task({ group: 'chores' })\n   *   *doDishes() {}\n   * }\n   * ```\n   *\n   * <style>\n   *  .ignore-this--this-is-here-to-hide-constructor,\n   *  #TaskGroup { display: none }\n   * </style>\n   *\n   * @class TaskGroup\n   */\n  class TaskGroup extends _taskGroup.TaskGroup {\n    /**\n     * Cancels all running or queued `TaskInstance`s for this task group.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task group) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof TaskGroup\n     * @param options.reason A descriptive reason the task group was\n     *   cancelled. Defaults to `\".cancelAll() was explicitly called\n     *   on the Task\"`.\n     * @param options.resetState If true, will clear the task group state\n     *   (`last*` and `performCount` properties will be set to initial\n     *   values). Defaults to false.\n     * @instance\n     * @async\n     *\n     */\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n    /**\n     * `true` if the task is not in the running or queued state.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The current state of the task: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof TaskGroup\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n    /**\n     * The number of times this task has been performed.\n     *\n     * @memberof TaskGroup\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n  }\n  _exports.TaskGroup = TaskGroup;\n  if (_trackedState.TRACKED_INITIAL_TASK_STATE) {\n    Object.defineProperties(TaskGroup.prototype, _trackedState.TRACKED_INITIAL_TASK_STATE);\n  }\n  Object.assign(TaskGroup.prototype, _taskableMixin.TASKABLE_MIXIN);\n});","define(\"ember-concurrency/-private/task-instance\", [\"exports\", \"ember-concurrency/-private/external/task-instance/base\", \"ember-concurrency/-private/tracked-state\", \"ember-concurrency/-private/utils\"], function (_exports, _base, _trackedState, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskInstance = void 0;\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\n  class TaskInstance extends _base.BaseTaskInstance {\n    setState(props) {\n      let state = this._recomputeState(props);\n      (0, _utils.assignProperties)(this, {\n        ...props,\n        isRunning: !props.isFinished,\n        isDropped: state === 'dropped',\n        state\n      });\n    }\n    _recomputeState(props) {\n      if (props.isDropped) {\n        return 'dropped';\n      } else if (props.isCanceled) {\n        if (props.hasStarted) {\n          return 'canceled';\n        } else {\n          return 'dropped';\n        }\n      } else if (props.isFinished) {\n        return 'finished';\n      } else if (props.hasStarted) {\n        return 'running';\n      } else {\n        return 'waiting';\n      }\n    }\n    onStarted() {\n      this.triggerEvent('started', this);\n    }\n    onSuccess() {\n      this.triggerEvent('succeeded', this);\n    }\n    onError(error) {\n      this.triggerEvent('errored', this, error);\n    }\n    onCancel(cancelReason) {\n      this.triggerEvent('canceled', this, cancelReason);\n    }\n    formatCancelReason(reason) {\n      return `TaskInstance '${this.getName()}' was canceled because ${reason}. For more information, see: http://ember-concurrency.com/docs/task-cancelation-help`;\n    }\n    getName() {\n      if (!this.name) {\n        this.name = this.task && this.task.name || '<unknown>';\n      }\n      return this.name;\n    }\n    selfCancelLoopWarning(parent) {\n      let parentName = `\\`${parent.getName()}\\``;\n      let childName = `\\`${this.getName()}\\``;\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    triggerEvent(...allArgs) {\n      if (!this.hasEnabledEvents) {\n        return;\n      }\n      let taskInstance = this;\n      let task = taskInstance.task;\n      let host = task.context;\n      let eventNamespace = task && task.name;\n      if (host && host.trigger && eventNamespace) {\n        let [eventType, ...args] = allArgs;\n        host.trigger(`${eventNamespace}:${eventType}`, ...args);\n      }\n    }\n\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     * @name state\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\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     * @name isDropped\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * True if the task is still running.\n     *\n     * @name isRunning\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\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 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 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 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 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    /**\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     * @async\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\n    /**\n     * @method catch\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n\n    /**\n     * @method finally\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n  }\n  _exports.TaskInstance = TaskInstance;\n  if (_trackedState.TRACKED_INITIAL_INSTANCE_STATE) {\n    Object.defineProperties(TaskInstance.prototype, _trackedState.TRACKED_INITIAL_INSTANCE_STATE);\n  }\n});","define(\"ember-concurrency/-private/task-properties\", [\"exports\", \"ember-concurrency/-private/external/scheduler/policies/enqueued-policy\", \"ember-concurrency/-private/external/scheduler/policies/drop-policy\", \"ember-concurrency/-private/external/scheduler/policies/keep-latest-policy\", \"ember-concurrency/-private/external/scheduler/policies/restartable-policy\"], function (_exports, _enqueuedPolicy, _dropPolicy, _keepLatestPolicy, _restartablePolicy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.propertyModifiers = _exports.TaskProperty = _exports.TaskGroupProperty = void 0;\n  _exports.taskComputed = taskComputed;\n  _exports.taskFactorySymbol = void 0;\n  let taskFactorySymbol = _exports.taskFactorySymbol = '__ec_task_factory';\n  const propertyModifiers = _exports.propertyModifiers = {\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    restartable() {\n      this[taskFactorySymbol].setBufferPolicy(_restartablePolicy.default);\n      return this;\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    enqueue() {\n      this[taskFactorySymbol].setBufferPolicy(_enqueuedPolicy.default);\n      return this;\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    drop() {\n      this[taskFactorySymbol].setBufferPolicy(_dropPolicy.default);\n      return this;\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    keepLatest() {\n      this[taskFactorySymbol].setBufferPolicy(_keepLatestPolicy.default);\n      return this;\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 fetch(url);\n     * }).maxConcurrency(3),\n     *\n     * elsewhere() {\n     *   this.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    maxConcurrency(n) {\n      this[taskFactorySymbol].setMaxConcurrency(n);\n      return this;\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    group(taskGroupPath) {\n      this[taskFactorySymbol].setGroup(taskGroupPath);\n      return this;\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.analytics.track(\"User Photo: upload started\");\n     *   }),\n     * });\n     * ```\n     *\n     * @method evented\n     * @memberof TaskProperty\n     * @instance\n     */\n    evented() {\n      this[taskFactorySymbol].setEvented(true);\n      return this;\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    debug() {\n      this[taskFactorySymbol].setDebug(true);\n      return this;\n    },\n    /**\n     * Configures the task to call the passed in callback for derived state updates,\n     * overriding the default derived state tracking. You may call with `null` to\n     * completely opt-out of derived state tracking.\n     *\n     * @method onState\n     * @memberof TaskProperty\n     * @param {function?} callback Callback to be called. Receives an object argument with the new state.\n     * @instance\n     */\n    onState(callback) {\n      this[taskFactorySymbol].setOnState(callback);\n      return this;\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    {@link TaskProperty} is only used for supporting \"classic\" Ember objects.\n    When using Native JavaScript or TypeScript classes, you will use [task decorators](/docs/task-decorators)\n    on methods instead.\n  \n    @class TaskProperty\n  */\n  let TaskProperty = _exports.TaskProperty = void 0;\n  let TaskGroupProperty = _exports.TaskGroupProperty = void 0;\n  if (true) {\n    _exports.TaskProperty = TaskProperty = class {};\n    _exports.TaskGroupProperty = TaskGroupProperty = class {};\n  } else {\n    // Prior to the 3.10.0 refactors, we had to extend the _ComputedProperty class\n    // for a classic decorator/descriptor to run correctly.\n    _exports.TaskProperty = TaskProperty = class extends Ember.ComputedProperty {\n      callSuperSetup() {\n        if (super.setup) {\n          super.setup(...arguments);\n        }\n      }\n    };\n    _exports.TaskGroupProperty = TaskGroupProperty = class extends Ember.ComputedProperty {};\n  }\n  Object.assign(TaskGroupProperty.prototype, propertyModifiers);\n  Object.assign(TaskProperty.prototype, propertyModifiers, {\n    setup(proto, key) {\n      if (this.callSuperSetup) {\n        this.callSuperSetup(...arguments);\n      }\n      this[taskFactorySymbol].setName(key);\n      this[taskFactorySymbol]._setupEmberKVO(proto);\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 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[taskFactorySymbol].addPerformEvents(...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[taskFactorySymbol].addCancelEvents(...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 performed if any of the\n     * specified properties on the parent object change.\n     *\n     * @method observes\n     * @memberof TaskProperty\n     * @param {String} keys*\n     * @instance\n     */\n    observes() {\n      this[taskFactorySymbol].addObserverKeys(...arguments);\n      return this;\n    }\n  });\n  const setDecorator = Ember._setClassicDecorator || Ember._setComputedDecorator;\n  function taskComputed(fn) {\n    if (true) {\n      let cp = function (proto, key) {\n        if (cp.setup !== undefined) {\n          cp.setup(proto, key);\n        }\n        return Ember.computed(fn)(...arguments);\n      };\n      setDecorator(cp);\n      return cp;\n    } else {\n      return Ember.computed(fn);\n    }\n  }\n});","define(\"ember-concurrency/-private/task-public-api\", [\"exports\", \"ember-concurrency/-private/task-factory\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/task-decorators\"], function (_exports, _taskFactory, _taskProperties, _taskDecorators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.task = task;\n  _exports.taskGroup = taskGroup;\n  /**\n   * TODO: update docs to reflect both old and new ES6 styles\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/advanced/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(taskFnOrProtoOrDecoratorOptions, key, descriptor) {\n    (true && !(!isUntranspiledAsyncFn(arguments[arguments.length - 1])) && Ember.assert(`It appears you're attempting to use the new task(async () => { ... }) syntax, but the async arrow task function you've provided is not being properly compiled by Babel.\\n\\nPossible causes / remedies:\\n\\n1. You must pass the async function expression directly to the task() function (it is not currently supported to pass in a variable containing the async arrow fn, or any other kind of indirection)\\n2. The new task syntax is only supported by native classes. Ensure that this is one.\\n3. If this code is in an addon, please ensure the addon specifies ember-concurrency \"2.3.0\" or higher in \"dependencies\" (not \"devDependencies\")\\n4. Ensure that there is only one version of ember-concurrency v2.3.0+ being used in your project (including nested dependencies) and consider using npm/yarn/pnpm resolutions to enforce a single version is used`, !isUntranspiledAsyncFn(arguments[arguments.length - 1])));\n    if (isDecoratorOptions(taskFnOrProtoOrDecoratorOptions) || key && descriptor) {\n      return (0, _taskDecorators.task)(...arguments);\n    } else {\n      return buildClassicTaskProperty(taskFnOrProtoOrDecoratorOptions);\n    }\n  }\n  function isUntranspiledAsyncFn(obj) {\n    return obj && obj.constructor && obj.constructor.name === 'AsyncFunction';\n  }\n\n  /**\n   * Build and return a \"classic\" TaskProperty, which is essentially a subclass of a Computed Property\n   * descriptor that can be used to define Tasks on classic Ember.Objects.\n   *\n   * @private\n   */\n  function buildClassicTaskProperty(taskFn) {\n    const taskProperty = (0, _taskProperties.taskComputed)(function () {\n      taskProperty[_taskProperties.taskFactorySymbol].setTaskDefinition(taskProperty.taskFn);\n      return taskProperty[_taskProperties.taskFactorySymbol].createTask(this);\n    });\n    taskProperty.taskFn = taskFn;\n    taskProperty[_taskProperties.taskFactorySymbol] = new _taskFactory.TaskFactory();\n    Object.setPrototypeOf(taskProperty, _taskProperties.TaskProperty.prototype);\n    return taskProperty;\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 class MyController extends Controller {\n   *   &#64;taskGroup({ drop: true }) chores;\n   *\n   *   &#64;task({ group: 'chores' }) mowLawn = taskFn;\n   *   &#64;task({ group: 'chores' }) doDishes = taskFn;\n   *   &#64;task({ group: 'chores' }) changeDiapers = taskFn;\n   * }\n   * ```\n   *\n   * @returns {TaskGroup}\n   */\n  function taskGroup(possibleDecoratorOptions, key, descriptor) {\n    if (isDecoratorOptions(possibleDecoratorOptions) || key && descriptor) {\n      return (0, _taskDecorators.taskGroup)(...arguments);\n    } else {\n      let tp = (0, _taskProperties.taskComputed)(function (key) {\n        tp[_taskProperties.taskFactorySymbol].setName(key);\n        return tp[_taskProperties.taskFactorySymbol].createTaskGroup(this);\n      });\n      tp[_taskProperties.taskFactorySymbol] = new _taskFactory.TaskFactory();\n      Object.setPrototypeOf(tp, _taskProperties.TaskGroupProperty.prototype);\n      return tp;\n    }\n  }\n  function isDecoratorOptions(possibleOptions) {\n    if (!possibleOptions) {\n      return false;\n    }\n    if (typeof possibleOptions === 'function') {\n      return false;\n    }\n    if (typeof possibleOptions === 'object' && 'perform' in possibleOptions && typeof possibleOptions.perform === 'function') {\n      return false;\n    }\n    return Object.getPrototypeOf(possibleOptions) === Object.prototype;\n  }\n});","define(\"ember-concurrency/-private/task\", [\"exports\", \"ember-concurrency/-private/external/task/task\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/external/task-instance/executor\", \"ember-concurrency/-private/taskable-mixin\", \"ember-concurrency/-private/tracked-state\", \"ember-concurrency/-private/external/task-instance/cancelation\"], function (_exports, _task, _taskInstance, _executor, _taskableMixin, _trackedState, _cancelation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Task = _exports.EncapsulatedTask = void 0;\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    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #Task { display: none }\n    </style>\n  \n    @class Task\n  */\n  class Task extends _task.Task {\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     * `true` if any future task instances are queued.\n     *\n     * @memberof Task\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\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     * 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     * The most recently started task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\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     * The most recently performed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\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     * The most recently completed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\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     * The most recently canceled task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\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     * The number of times this task has been performed.\n     *\n     * @memberof Task\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n    constructor(options) {\n      super(options);\n      if (!Ember._isDestroying(this.context)) {\n        Ember._registerDestructor(this.context, () => {\n          this.cancelAll({\n            reason: 'the object it lives on was destroyed or unrendered',\n            cancelRequestKind: _cancelation.CANCEL_KIND_LIFESPAN_END\n          });\n        });\n      }\n    }\n\n    /**\n     * Flags the task as linked to the parent task's lifetime. Must be called\n     * within another task's perform function. The task will be cancelled if the\n     * parent task is canceled as well.\n     *\n     * ember-concurrency will indicate when this may be needed.\n     *\n     * @method linked\n     * @memberof Task\n     * @instance\n     *\n     */\n\n    /**\n     * Flags the task as not linked to the parent task's lifetime. Must be called\n     * within another task's perform function. The task will NOT be cancelled if the\n     * parent task is canceled.\n     *\n     * This is useful for avoiding the so-called \"self-cancel loop\" for tasks.\n     * ember-concurrency will indicate when this may be needed.\n     *\n     * @method unlinked\n     * @memberof Task\n     * @instance\n     *\n     */\n\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\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 options.reason A descriptive reason the task was\n     *   cancelled. Defaults to `\".cancelAll() was explicitly called\n     *   on the Task\"`.\n     * @param options.resetState If true, will clear the task state\n     *   (`last*` and `performCount` properties will be set to initial\n     *   values). Defaults to false.\n     * @instance\n     * @async\n     *\n     */\n\n    get _isAlive() {\n      return !Ember._isDestroying(this.context);\n    }\n    _taskInstanceFactory(args, performType, linkedObject) {\n      let options = this._taskInstanceOptions(args, performType, linkedObject);\n      let taskInstance = new _taskInstance.TaskInstance(options);\n      return taskInstance;\n    }\n    _clone() {\n      return new Task({\n        context: this.context,\n        debug: this.debug,\n        env: this.env,\n        generatorFactory: this.generatorFactory,\n        group: this.group,\n        hasEnabledEvents: this.hasEnabledEvents,\n        name: this.name,\n        onStateCallback: this.onStateCallback,\n        scheduler: this.scheduler\n      });\n    }\n  }\n  _exports.Task = Task;\n  if (_trackedState.TRACKED_INITIAL_TASK_STATE) {\n    Object.defineProperties(Task.prototype, _trackedState.TRACKED_INITIAL_TASK_STATE);\n  }\n  Object.assign(Task.prototype, _taskableMixin.TASKABLE_MIXIN);\n  const currentTaskInstanceSymbol = '__ec__encap_current_ti';\n  class EncapsulatedTask extends Task {\n    constructor(options) {\n      super(options);\n      this.taskObj = options.taskObj;\n      this._encapsulatedTaskStates = new WeakMap();\n      this._encapsulatedTaskInstanceProxies = new WeakMap();\n    }\n    _getEncapsulatedTaskClass() {\n      let encapsulatedTaskImplClass = this._encapsulatedTaskImplClass;\n      if (!encapsulatedTaskImplClass) {\n        // eslint-disable-next-line ember/no-classic-classes\n        encapsulatedTaskImplClass = Ember.Object.extend(this.taskObj, {\n          unknownProperty(key) {\n            let currentInstance = this[currentTaskInstanceSymbol];\n            return currentInstance ? currentInstance[key] : undefined;\n          }\n        });\n      }\n      return encapsulatedTaskImplClass;\n    }\n    _taskInstanceFactory(args, performType) {\n      let owner = Ember.getOwner(this.context);\n      let taskInstanceProxy;\n      let encapsulatedTaskImpl = this._getEncapsulatedTaskClass().create({\n        context: this.context\n      });\n      Ember.setOwner(encapsulatedTaskImpl, owner);\n      let generatorFactory = () => encapsulatedTaskImpl.perform.apply(taskInstanceProxy, args);\n      let taskInstance = new _taskInstance.TaskInstance({\n        task: this,\n        args,\n        executor: new _executor.TaskInstanceExecutor({\n          generatorFactory,\n          env: this.env,\n          debug: this.debug\n        }),\n        performType,\n        hasEnabledEvents: this.hasEnabledEvents\n      });\n      encapsulatedTaskImpl[currentTaskInstanceSymbol] = taskInstance;\n      this._encapsulatedTaskStates.set(taskInstance, encapsulatedTaskImpl);\n      taskInstanceProxy = this._wrappedEncapsulatedTaskInstance(taskInstance);\n      return taskInstanceProxy;\n    }\n    _wrappedEncapsulatedTaskInstance(taskInstance) {\n      if (!taskInstance) {\n        return null;\n      }\n      let _encapsulatedTaskInstanceProxies = this._encapsulatedTaskInstanceProxies;\n      let proxy = _encapsulatedTaskInstanceProxies.get(taskInstance);\n      if (!proxy) {\n        let encapsulatedTaskImpl = this._encapsulatedTaskStates.get(taskInstance);\n        proxy = new Proxy(taskInstance, {\n          get(obj, prop) {\n            return prop in obj ? obj[prop] : Ember.get(encapsulatedTaskImpl, prop.toString());\n          },\n          set(obj, prop, value) {\n            if (prop in obj) {\n              obj[prop] = value;\n            } else {\n              Ember.set(encapsulatedTaskImpl, prop.toString(), value);\n            }\n            return true;\n          },\n          has(obj, prop) {\n            return prop in obj || prop in encapsulatedTaskImpl;\n          },\n          ownKeys(obj) {\n            return Reflect.ownKeys(obj).concat(Reflect.ownKeys(encapsulatedTaskImpl));\n          },\n          defineProperty(obj, prop, descriptor) {\n            // Ember < 3.16 uses a WeakMap for value storage, keyed to the proxy.\n            // We need to ensure that when we use setProperties to update it, and\n            // it creates Meta, that it uses the proxy to key, otherwise we'll\n            // have two different values stores in Meta, one which won't render.\n            let proxy = _encapsulatedTaskInstanceProxies.get(taskInstance);\n            if (proxy) {\n              if (descriptor.get) {\n                descriptor.get = descriptor.get.bind(proxy);\n              } else if (proxy && descriptor.set) {\n                descriptor.set = descriptor.set.bind(proxy);\n              }\n            }\n            return Reflect.defineProperty(encapsulatedTaskImpl, prop, descriptor);\n          },\n          getOwnPropertyDescriptor(obj, prop) {\n            return prop in obj ? Reflect.getOwnPropertyDescriptor(obj, prop) : Reflect.getOwnPropertyDescriptor(encapsulatedTaskImpl, prop);\n          }\n        });\n        _encapsulatedTaskInstanceProxies.set(taskInstance, proxy);\n      }\n      return proxy;\n    }\n  }\n  _exports.EncapsulatedTask = EncapsulatedTask;\n});","define(\"ember-concurrency/-private/taskable-mixin\", [\"exports\", \"ember-concurrency/-private/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TASKABLE_MIXIN = void 0;\n  const TASKABLE_MIXIN = _exports.TASKABLE_MIXIN = {\n    _performCount: 0,\n    setState(state) {\n      this._performCount = this._performCount + (state.numPerformedInc || 0);\n      let isRunning = state.numRunning > 0;\n      let isQueued = state.numQueued > 0;\n      let derivedState = Object.assign({}, state, {\n        performCount: this._performCount,\n        isRunning,\n        isQueued,\n        isIdle: !isRunning && !isQueued,\n        state: isRunning ? 'running' : 'idle'\n      });\n      (0, _utils.assignProperties)(this, derivedState);\n    },\n    onState(state, task) {\n      if (task.onStateCallback) {\n        task.onStateCallback(state, task);\n      }\n    }\n  };\n});","define(\"ember-concurrency/-private/tracked-state\", [\"exports\", \"ember-concurrency/-private/external/task/default-state\", \"ember-concurrency/-private/external/task-instance/initial-state\", \"ember-concurrency/-private/utils\"], function (_exports, _defaultState, _initialState, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TRACKED_INITIAL_TASK_STATE = _exports.TRACKED_INITIAL_INSTANCE_STATE = void 0;\n  function trackMixin(proto, obj, key) {\n    const propDesc = Object.getOwnPropertyDescriptor(proto, key);\n    propDesc.initializer = propDesc.initializer || (() => proto[key]);\n    delete propDesc.value;\n    const desc = Ember._tracked(obj, key, propDesc);\n    obj[key] = desc;\n    return obj;\n  }\n  function applyTracked(proto, initial) {\n    return Object.keys(proto).reduce((acc, key) => {\n      return trackMixin(proto, acc, key);\n    }, initial);\n  }\n  let TRACKED_INITIAL_TASK_STATE = _exports.TRACKED_INITIAL_TASK_STATE = void 0;\n  let TRACKED_INITIAL_INSTANCE_STATE = _exports.TRACKED_INITIAL_INSTANCE_STATE = void 0;\n  if (_utils.USE_TRACKED) {\n    _exports.TRACKED_INITIAL_TASK_STATE = TRACKED_INITIAL_TASK_STATE = applyTracked(_defaultState.DEFAULT_STATE, {});\n    _exports.TRACKED_INITIAL_TASK_STATE = TRACKED_INITIAL_TASK_STATE = applyTracked({\n      numRunning: 0,\n      numQueued: 0,\n      isRunning: false,\n      isQueued: false,\n      isIdle: true,\n      state: 'idle'\n    }, TRACKED_INITIAL_TASK_STATE);\n    _exports.TRACKED_INITIAL_INSTANCE_STATE = TRACKED_INITIAL_INSTANCE_STATE = applyTracked(_initialState.INITIAL_STATE, {});\n    _exports.TRACKED_INITIAL_INSTANCE_STATE = TRACKED_INITIAL_INSTANCE_STATE = applyTracked({\n      state: 'waiting',\n      isDropped: false,\n      isRunning: false\n    }, TRACKED_INITIAL_INSTANCE_STATE);\n    Object.freeze(TRACKED_INITIAL_TASK_STATE);\n    Object.freeze(TRACKED_INITIAL_INSTANCE_STATE);\n  }\n});","define(\"ember-concurrency/-private/utils\", [\"exports\", \"ember-concurrency/-private/ember-environment\", \"ember-concurrency/-private/external/yieldables\"], function (_exports, _emberEnvironment, _yieldables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assignProperties = _exports.USE_TRACKED = _exports.EmberYieldable = void 0;\n  _exports.deprecatePrivateModule = deprecatePrivateModule;\n  _exports.isEventedObject = isEventedObject;\n  _exports.timeout = timeout;\n  const USE_TRACKED = _exports.USE_TRACKED = true;\n  const assignProperties = _exports.assignProperties = USE_TRACKED ? Object.assign : Ember.setProperties;\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 EmberYieldable extends _yieldables.Yieldable {\n    _deferable() {\n      return _emberEnvironment.EMBER_ENVIRONMENT.defer();\n    }\n  }\n  _exports.EmberYieldable = EmberYieldable;\n  class TimeoutYieldable extends EmberYieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n    }\n    onYield(state) {\n      let timerId = Ember.run.later(() => state.next(), this.ms);\n      return () => Ember.run.cancel(timerId);\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 class MyComponent extends Component {\n   *   &#64;task *myTask() {\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  function deprecatePrivateModule(moduleName) {\n    // eslint-disable-next-line no-console\n    console.warn(`an Ember addon is importing a private ember-concurrency module '${moduleName}' that has moved`);\n  }\n});","define(\"ember-concurrency/-private/wait-for\", [\"exports\", \"ember-concurrency/-private/utils\"], function (_exports, _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.EmberYieldable {\n    constructor(queueName) {\n      super();\n      this.queueName = queueName;\n    }\n    onYield(state) {\n      let timerId;\n      try {\n        timerId = Ember.run.schedule(this.queueName, () => state.next());\n      } catch (error) {\n        state.throw(error);\n      }\n      return () => Ember.run.cancel(timerId);\n    }\n  }\n  class WaitForEventYieldable extends _utils.EmberYieldable {\n    constructor(object, eventName) {\n      super();\n      this.object = object;\n      this.eventName = eventName;\n      this.usesDOMEvents = false;\n    }\n    on(callback) {\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, callback);\n      } else {\n        this.object.on(this.eventName, callback);\n      }\n    }\n    off(callback) {\n      if (this.usesDOMEvents) {\n        this.object.removeEventListener(this.eventName, callback);\n      } else {\n        this.object.off(this.eventName, callback);\n      }\n    }\n    onYield(state) {\n      let fn = null;\n      let disposer = () => {\n        fn && this.off(fn);\n        fn = null;\n      };\n      fn = event => {\n        disposer();\n        state.next(event);\n      };\n      this.on(fn);\n      return disposer;\n    }\n  }\n  class WaitForPropertyYieldable extends _utils.EmberYieldable {\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    }\n    onYield(state) {\n      let observerBound = false;\n      let observerFn = () => {\n        let value = Ember.get(this.object, this.key);\n        let predicateValue = this.predicateCallback(value);\n        if (predicateValue) {\n          state.next(value);\n          return true;\n        }\n      };\n      if (!observerFn()) {\n        // eslint-disable-next-line ember/no-observers\n        Ember.addObserver(this.object, this.key, null, observerFn);\n        observerBound = true;\n      }\n      return () => {\n        if (observerBound && observerFn) {\n          Ember.removeObserver(this.object, this.key, null, observerFn);\n        }\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 class MyComponent extends Component {\n   *   &#64;task *myTask() {\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 class MyComponent extends Component {\n   *   &#64;task *myTask() {\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)) && Ember.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 class MyComponent extends Component {\n   *   &#64;tracked foo = 0;\n   *\n   *   &#64;task *myTask() {\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.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/-property-modifiers-mixin\", [\"exports\", \"ember-concurrency/-scheduler\", \"ember-concurrency/-buffer-policy\"], function (_exports, _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) && Ember.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 = Ember.get(obj, propertyObj._taskGroupPath);\n      (true && !(taskGroup instanceof TaskGroup) && Ember.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\"], function (_exports) {\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 = Ember.Object.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          Ember.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      Ember.set(this, 'lastPerformed', taskInstance);\n      Ember.set(this, 'performCount', this.performCount + 1);\n      Ember.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        Ember.set(this, 'lastStarted', lastStarted);\n      }\n      Ember.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      Ember.set(this, 'concurrency', this.activeTaskInstances.length);\n    },\n    _startTaskInstance(taskInstance) {\n      let task = taskInstance.task;\n      Ember.set(task, 'numQueued', task.numQueued - 1);\n      Ember.set(task, 'numRunning', task.numRunning + 1);\n      taskInstance._start()._onFinalize(() => {\n        Ember.set(task, 'numRunning', task.numRunning - 1);\n        var state = taskInstance._completionState;\n        Ember.set(this, 'lastComplete', taskInstance);\n        if (state === 1) {\n          Ember.set(this, 'lastSuccessful', taskInstance);\n        } else {\n          if (state === 2) {\n            Ember.set(this, 'lastErrored', taskInstance);\n          } else if (state === 3) {\n            Ember.set(this, 'lastCanceled', taskInstance);\n          }\n          Ember.set(this, 'lastIncomplete', taskInstance);\n        }\n        Ember.run.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 = Ember.get(task, 'group');\n    while (taskGroup) {\n      Ember.set(taskGroup, 'numRunning', numRunning);\n      Ember.set(taskGroup, 'numQueued', numQueued);\n      taskGroup = Ember.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-concurrency/utils\", \"ember-concurrency/-task-state-mixin\", \"ember-concurrency/-property-modifiers-mixin\"], function (_exports, _utils, _taskStateMixin, _propertyModifiersMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroupProperty = _exports.TaskGroup = void 0;\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   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #TaskGroup{ display: none }\n   * </style>\n   *\n   * @class TaskGroup\n   */\n  const TaskGroup = _exports.TaskGroup = Ember.Object.extend(_taskStateMixin.default, {\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task group is not in the running or queued state.\n     *\n     * @memberof TaskGroup\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task group: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof TaskGroup\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof TaskGroup\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task group has been performed.\n     *\n     * @memberof TaskGroup\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * Cancels all running or queued `TaskInstance`s for this task group.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task group) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof TaskGroup\n     * @param {Object} [options]\n     * @param {string} [options.reason=.cancelAll() was explicitly called on the Task] - a descriptive reason the task group was cancelled\n     * @param {boolean} [options.resetState] - if true, will clear the task group state (`last*` and `performCount` properties will be set to initial values)\n     * @instance\n     */\n\n    isTaskGroup: true,\n    toString() {\n      return `<TaskGroup:${this._propertyName}>`;\n    },\n    _numRunningOrNumQueued: Ember.computed.or('numRunning', 'numQueued'),\n    isRunning: Ember.computed.bool('_numRunningOrNumQueued'),\n    isQueued: false\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   *\n   * <style>\n   *   .ignore-this--this-is-here-to-hide-constructor,\n   *   #TaskGroupProperty{ display: none }\n   * </style>\n   *\n   * @class TaskGroupProperty\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\n  /**\n   * Configures the task group to cancel old currently task\n   * instances to make room for a new one to perform. Sets\n   * default maxConcurrency to 1.\n   *\n   * [See the Live Example](/#/docs/examples/route-tasks/1)\n   *\n   * @method restartable\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to run task instances\n   * one-at-a-time in the order they were `.perform()`ed.\n   * Sets default maxConcurrency to 1.\n   *\n   * @method enqueue\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to immediately cancel (i.e.\n   * drop) any task instances performed when the task group\n   * is already running at maxConcurrency. Sets default\n   * maxConcurrency to 1.\n   *\n   * @method drop\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Configures the task group to drop all but the most\n   * recently performed {@linkcode TaskInstance }.\n   *\n   * @method keepLatest\n   * @memberof TaskGroupProperty\n   * @instance\n   */\n\n  /**\n   * Sets the maximum number of task instances that are\n   * allowed to run in this task group at the same time.\n   * By default, with no task modifiers applied, this number\n   * is Infinity (there is no limit to the number of tasks\n   * that can run at the same time).\n   * {@linkcode TaskGroupProperty#restartable .restartable()},\n   * {@linkcode TaskGroupProperty#enqueue .enqueue()}, and\n   * {@linkcode TaskGroupProperty#drop .drop()} set the\n   * default maxConcurrency to 1, but you can override this\n   * value to set the maximum number of concurrently running\n   * tasks 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 group with `maxConcurrency(3)`\n   * to limit the number of concurrent AJAX requests (for anyone\n   * using tasks in this group) to 3.\n   *\n   * ```js\n   * ajax: taskGroup().maxConcurrency(3),\n   *\n   * doSomeAjax: task(function * (url) {\n   *   return Ember.$.getJSON(url).promise();\n   * }).group('ajax'),\n   *\n   * doSomeAjax: task(function * (url) {\n   *   return Ember.$.getJSON(url).promise();\n   * }).group('ajax'),\n   *\n   * elsewhere() {\n   *   this.get('doSomeAjax').perform(\"http://www.example.com/json\");\n   * },\n   * ```\n   *\n   * @method maxConcurrency\n   * @memberof TaskGroupProperty\n   * @param {Number} n The maximum number of concurrently running tasks\n   * @instance\n   */\n\n  (0, _utils.objectAssign)(TaskGroupProperty.prototype, _propertyModifiersMixin.propertyModifiers);\n});","define(\"ember-concurrency/-task-instance\", [\"exports\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/utils\"], function (_exports, _taskInstance, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (0, _utils.deprecatePrivateModule)('ember-concurrency/-task-instance');\n  var _default = _exports.default = _taskInstance.TaskInstance;\n});","define(\"ember-concurrency/-task-property\", [\"exports\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/utils\"], function (_exports, _task, _taskProperties, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Task\", {\n    enumerable: true,\n    get: function () {\n      return _task.Task;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskProperty;\n    }\n  });\n  (0, _utils.deprecatePrivateModule)('ember-concurrency/-task-property');\n});","define(\"ember-concurrency/-task-state-mixin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    alias\n  } = Ember.computed;\n\n  // this is a mixin of properties/methods shared between Tasks and TaskGroups\n  var _default = _exports.default = Ember.Mixin.create({\n    isRunning: Ember.computed.gt('numRunning', 0),\n    isQueued: Ember.computed.gt('numQueued', 0),\n    isIdle: Ember.computed('isRunning', 'isQueued', function () {\n      return !this.get('isRunning') && !this.get('isQueued');\n    }),\n    state: Ember.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: Ember.computed(function () {\n      return this._taskGroupPath && Ember.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-concurrency/utils\"], function (_exports, _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 = Ember.run.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      Ember.run.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 = Ember.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        Ember.addObserver(this.object, this.key, null, this.observerFn);\n        this.observerBound = true;\n      }\n    }\n    [_utils.cancelableSymbol]() {\n      if (this.observerBound && this.observerFn) {\n        Ember.removeObserver(this.object, 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)) && Ember.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-concurrency/-private/helpers\"], function (_exports, _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) && Ember.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 = Ember.Helper.helper(cancelHelper);\n});","define(\"ember-concurrency/helpers/perform\", [\"exports\", \"ember-concurrency/-private/helpers\"], function (_exports, _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 maybeReportError(onError) {\n    return function (e) {\n      if (typeof onError === 'function') {\n        onError(e);\n      } else if (onError === null) {\n        // Do nothing\n      } else {\n        (true && !(false) && Ember.assert(`The onError argument passed to the \\`perform\\` helper should be a function or null; you passed ${onError}`, false));\n      }\n    };\n  }\n  function performHelper(args, hash) {\n    let perform = (0, _helpers.taskHelperClosure)('perform', 'perform', args, hash);\n    if (hash && typeof hash.onError !== 'undefined') {\n      return function (...innerArgs) {\n        try {\n          let taskInstance = perform(...innerArgs);\n          return taskInstance.catch(maybeReportError(hash.onError));\n          // eslint-disable-next-line no-empty\n        } catch {\n          maybeReportError(hash.onError);\n        }\n      };\n    } else {\n      return perform;\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(performHelper);\n});","define(\"ember-concurrency/helpers/task\", [\"exports\"], function (_exports) {\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 = Ember.Helper.helper(taskHelper);\n});","define(\"ember-concurrency/index\", [\"exports\", \"ember-concurrency/-private/utils\", \"ember-concurrency/-private/task-properties\", \"ember-concurrency/-private/task-public-api\", \"ember-concurrency/-private/task-instance\", \"ember-concurrency/-private/cancelable-promise-helpers\", \"ember-concurrency/-private/wait-for\", \"ember-concurrency/-private/external/task-instance/cancelation\", \"ember-concurrency/-private/external/yieldables\", \"ember-concurrency/-private/task\", \"ember-concurrency/-private/task-group\", \"ember-concurrency/-private/task-decorators\", \"ember-concurrency/-private/external/task-factory\"], function (_exports, _utils, _taskProperties, _taskPublicApi, _taskInstance, _cancelablePromiseHelpers, _waitFor, _cancelation, _yieldables, _task, _taskGroup, _taskDecorators, _taskFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Task\", {\n    enumerable: true,\n    get: function () {\n      return _task.Task;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskGroup.TaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskGroupProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskGroupProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskInstance\", {\n    enumerable: true,\n    get: function () {\n      return _taskInstance.TaskInstance;\n    }\n  });\n  Object.defineProperty(_exports, \"TaskProperty\", {\n    enumerable: true,\n    get: function () {\n      return _taskProperties.TaskProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"Yieldable\", {\n    enumerable: true,\n    get: function () {\n      return _utils.EmberYieldable;\n    }\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, \"animationFrame\", {\n    enumerable: true,\n    get: function () {\n      return _yieldables.animationFrame;\n    }\n  });\n  Object.defineProperty(_exports, \"didCancel\", {\n    enumerable: true,\n    get: function () {\n      return _cancelation.didCancel;\n    }\n  });\n  Object.defineProperty(_exports, \"dropTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.dropTask;\n    }\n  });\n  Object.defineProperty(_exports, \"dropTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.dropTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"enqueueTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.enqueueTask;\n    }\n  });\n  Object.defineProperty(_exports, \"enqueueTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.enqueueTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"forever\", {\n    enumerable: true,\n    get: function () {\n      return _yieldables.forever;\n    }\n  });\n  Object.defineProperty(_exports, \"getModifier\", {\n    enumerable: true,\n    get: function () {\n      return _taskFactory.getModifier;\n    }\n  });\n  Object.defineProperty(_exports, \"hasModifier\", {\n    enumerable: true,\n    get: function () {\n      return _taskFactory.hasModifier;\n    }\n  });\n  Object.defineProperty(_exports, \"hash\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.hash;\n    }\n  });\n  Object.defineProperty(_exports, \"hashSettled\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.hashSettled;\n    }\n  });\n  Object.defineProperty(_exports, \"keepLatestTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.keepLatestTask;\n    }\n  });\n  Object.defineProperty(_exports, \"keepLatestTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.keepLatestTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"lastValue\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.lastValue;\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 _yieldables.rawTimeout;\n    }\n  });\n  Object.defineProperty(_exports, \"registerModifier\", {\n    enumerable: true,\n    get: function () {\n      return _taskFactory.registerModifier;\n    }\n  });\n  Object.defineProperty(_exports, \"restartableTask\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.restartableTask;\n    }\n  });\n  Object.defineProperty(_exports, \"restartableTaskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskDecorators.restartableTaskGroup;\n    }\n  });\n  Object.defineProperty(_exports, \"task\", {\n    enumerable: true,\n    get: function () {\n      return _taskPublicApi.task;\n    }\n  });\n  Object.defineProperty(_exports, \"taskGroup\", {\n    enumerable: true,\n    get: function () {\n      return _taskPublicApi.taskGroup;\n    }\n  });\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});","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\"], function (_exports) {\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.animationFrame = animationFrame;\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.__loader.registry) {\n      _exports.INVOKE = INVOKE = Ember.__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 = Ember.ComputedProperty;\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 = Ember.run.later(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      }, this.ms);\n    }\n    [cancelableSymbol]() {\n      Ember.run.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  class AnimationFrameYieldable extends Yieldable {\n    constructor() {\n      super();\n      this.timerId = null;\n    }\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = requestAnimationFrame(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      });\n    }\n    [cancelableSymbol]() {\n      cancelAnimationFrame(this.timerId);\n      this.timerId = null;\n    }\n  }\n\n  /**\n   * Yielding `animationFrame()` will pause a task until after the next animation\n   * frame using the native `requestAnimationFrame()` browser API.\n   *\n   * The task below, when performed, will print the time since the last loop run\n   * for every animation frame.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     let lastNow = performance.now();\n   *     while (true) {\n   *       yield animationFrame();\n   *\n   *       let now = performance.now();\n   *       let dt = now - lastNow;\n   *       lastNow = now;\n   *\n   *       console.log(dt);\n   *     }\n   *   })\n   * });\n   * ```\n   */\n  function animationFrame() {\n    return new AnimationFrameYieldable();\n  }\n  function yieldableToPromise(yieldable) {\n    let def = Ember.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-cookies/services/cookies\", [\"exports\", \"ember-cookies/utils/serialize-cookie\"], function (_exports, _serializeCookie) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    keys\n  } = Object;\n  const assign = Object.assign || Ember.assign || Ember.merge;\n  const DEFAULTS = {\n    raw: false\n  };\n  const MAX_COOKIE_BYTE_LENGTH = 4096;\n  var _default = _exports.default = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n      this._document = this._document || window.document;\n      if (typeof this._fastBoot === 'undefined') {\n        let owner = Ember.getOwner(this);\n        this._fastBoot = owner.lookup('service:fastboot');\n      }\n    },\n    _getDocumentCookies() {\n      let all = this._document.cookie.split(';');\n      let filtered = this._filterDocumentCookies(all);\n      return filtered.reduce((acc, cookie) => {\n        if (!Ember.isEmpty(cookie)) {\n          let [key, value] = cookie;\n          acc[key.trim()] = (value || '').trim();\n        }\n        return acc;\n      }, {});\n    },\n    _getFastBootCookies() {\n      let fastBootCookies = Ember.get(this._fastBoot, 'request.cookies');\n      fastBootCookies = keys(fastBootCookies).reduce((acc, name) => {\n        let value = fastBootCookies[name];\n        acc[name] = {\n          value\n        };\n        return acc;\n      }, {});\n      let fastBootCookiesCache = this._fastBootCookiesCache || {};\n      fastBootCookies = assign({}, fastBootCookies, fastBootCookiesCache);\n      this._fastBootCookiesCache = fastBootCookies;\n      return this._filterCachedFastBootCookies(fastBootCookies);\n    },\n    read(name, options = {}) {\n      options = assign({}, DEFAULTS, options || {});\n      (true && !(Ember.isEmpty(options.domain) && Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.path)) && Ember.assert('Domain, Expires, Max-Age, and Path options cannot be set when reading cookies', Ember.isEmpty(options.domain) && Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.path)));\n      let all;\n      if (this._isFastBoot()) {\n        all = this._getFastBootCookies();\n      } else {\n        all = this._getDocumentCookies();\n      }\n      if (name) {\n        return this._decodeValue(all[name], options.raw);\n      } else {\n        keys(all).forEach(name => all[name] = this._decodeValue(all[name], options.raw));\n        return all;\n      }\n    },\n    write(name, value, options = {}) {\n      options = assign({}, DEFAULTS, options || {});\n      (true && !(!options.signed) && Ember.assert(\"Cookies cannot be set as signed as signed cookies would not be modifyable in the browser as it has no knowledge of the express server's signing key!\", !options.signed));\n      (true && !(Ember.isEmpty(options.expires) || Ember.isEmpty(options.maxAge)) && Ember.assert('Cookies cannot be set with both maxAge and an explicit expiration time!', Ember.isEmpty(options.expires) || Ember.isEmpty(options.maxAge)));\n      value = this._encodeValue(value, options.raw);\n      (true && !(this._isCookieSizeAcceptable(value)) && Ember.assert(`Cookies larger than ${MAX_COOKIE_BYTE_LENGTH} bytes are not supported by most browsers!`, this._isCookieSizeAcceptable(value)));\n      if (this._isFastBoot()) {\n        this._writeFastBootCookie(name, value, options);\n      } else {\n        (true && !(!options.httpOnly) && Ember.assert('Cookies cannot be set to be HTTP-only from a browser!', !options.httpOnly));\n        options.path = options.path || this._normalizedDefaultPath();\n        this._writeDocumentCookie(name, value, options);\n      }\n    },\n    clear(name, options = {}) {\n      options = assign({}, options || {});\n      (true && !(Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.raw)) && Ember.assert('Expires, Max-Age, and raw options cannot be set when clearing cookies', Ember.isEmpty(options.expires) && Ember.isEmpty(options.maxAge) && Ember.isEmpty(options.raw)));\n      options.expires = new Date('1970-01-01');\n      options.path = options.path || this._normalizedDefaultPath();\n      this.write(name, null, options);\n    },\n    exists(name) {\n      let all;\n      if (this._isFastBoot()) {\n        all = this._getFastBootCookies();\n      } else {\n        all = this._getDocumentCookies();\n      }\n      return all.hasOwnProperty(name);\n    },\n    _writeDocumentCookie(name, value, options = {}) {\n      let serializedCookie = this._serializeCookie(name, value, options);\n      this._document.cookie = serializedCookie;\n    },\n    _writeFastBootCookie(name, value, options = {}) {\n      let responseHeaders = Ember.get(this._fastBoot, 'response.headers');\n      let serializedCookie = this._serializeCookie(...arguments);\n      if (!Ember.isEmpty(options.maxAge)) {\n        options.maxAge *= 1000;\n      }\n      this._cacheFastBootCookie(...arguments);\n      let replaced = false;\n      let existing = responseHeaders.getAll('set-cookie');\n      for (let i = 0; i < existing.length; i++) {\n        if (existing[i].startsWith(`${name}=`)) {\n          existing[i] = serializedCookie;\n          replaced = true;\n          break;\n        }\n      }\n      if (!replaced) {\n        responseHeaders.append('set-cookie', serializedCookie);\n      }\n    },\n    _cacheFastBootCookie(name, value, options = {}) {\n      let fastBootCache = this._fastBootCookiesCache || {};\n      let cachedOptions = assign({}, options);\n      if (cachedOptions.maxAge) {\n        let expires = new Date();\n        expires.setSeconds(expires.getSeconds() + options.maxAge);\n        cachedOptions.expires = expires;\n        delete cachedOptions.maxAge;\n      }\n      fastBootCache[name] = {\n        value,\n        options: cachedOptions\n      };\n      this._fastBootCookiesCache = fastBootCache;\n    },\n    _filterCachedFastBootCookies(fastBootCookies) {\n      let {\n        path: requestPath,\n        protocol\n      } = Ember.get(this._fastBoot, 'request');\n\n      // cannot use deconstruct here\n      let host = Ember.get(this._fastBoot, 'request.host');\n      return keys(fastBootCookies).reduce((acc, name) => {\n        let {\n          value,\n          options\n        } = fastBootCookies[name];\n        options = options || {};\n        let {\n          path: optionsPath,\n          domain,\n          expires,\n          secure\n        } = options;\n        if (optionsPath && requestPath.indexOf(optionsPath) !== 0) {\n          return acc;\n        }\n        if (domain && host.indexOf(domain) + domain.length !== host.length) {\n          return acc;\n        }\n        if (expires && expires < new Date()) {\n          return acc;\n        }\n        if (secure && !(protocol || '').match(/^https/)) {\n          return acc;\n        }\n        acc[name] = value;\n        return acc;\n      }, {});\n    },\n    _encodeValue(value, raw) {\n      if (Ember.isNone(value)) {\n        return '';\n      } else if (raw) {\n        return value;\n      } else {\n        return encodeURIComponent(value);\n      }\n    },\n    _decodeValue(value, raw) {\n      if (Ember.isNone(value) || raw) {\n        return value;\n      } else {\n        return decodeURIComponent(value);\n      }\n    },\n    _filterDocumentCookies(unfilteredCookies) {\n      return unfilteredCookies.map(c => {\n        let separatorIndex = c.indexOf('=');\n        return [c.substring(0, separatorIndex), c.substring(separatorIndex + 1)];\n      }).filter(c => c.length === 2 && Ember.isPresent(c[0]));\n    },\n    _serializeCookie(name, value, options = {}) {\n      return (0, _serializeCookie.serializeCookie)(name, value, options);\n    },\n    _isCookieSizeAcceptable(value) {\n      // Counting bytes varies Pre-ES6 and in ES6\n      // This snippet counts the bytes in the value\n      // about to be stored as the cookie:\n      // See https://stackoverflow.com/a/25994411/6657064\n      let _byteCount = 0;\n      let i = 0;\n      let c;\n      while (c = value.charCodeAt(i++)) {\n        /* eslint-disable no-bitwise */\n        _byteCount += c >> 11 ? 3 : c >> 7 ? 2 : 1;\n        /* eslint-enable no-bitwise */\n      }\n      return _byteCount < MAX_COOKIE_BYTE_LENGTH;\n    },\n    _normalizedDefaultPath() {\n      if (!this._isFastBoot()) {\n        let pathname = window.location.pathname;\n        return pathname.substring(0, pathname.lastIndexOf('/'));\n      }\n    },\n    _isFastBoot() {\n      return this._fastBoot && this._fastBoot.isFastBoot;\n    }\n  });\n});","define(\"ember-cookies/utils/serialize-cookie\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.serializeCookie = void 0;\n  const serializeCookie = (name, value, options = {}) => {\n    let cookie = `${name}=${value}`;\n    if (!Ember.isEmpty(options.domain)) {\n      cookie = `${cookie}; domain=${options.domain}`;\n    }\n    if (Ember.typeOf(options.expires) === 'date') {\n      cookie = `${cookie}; expires=${options.expires.toUTCString()}`;\n    }\n    if (!Ember.isEmpty(options.maxAge)) {\n      cookie = `${cookie}; max-age=${options.maxAge}`;\n    }\n    if (options.secure) {\n      cookie = `${cookie}; secure`;\n    }\n    if (options.httpOnly) {\n      cookie = `${cookie}; httpOnly`;\n    }\n    if (!Ember.isEmpty(options.path)) {\n      cookie = `${cookie}; path=${options.path}`;\n    }\n    if (!Ember.isEmpty(options.sameSite)) {\n      cookie = `${cookie}; SameSite=${options.sameSite}`;\n    }\n    return cookie;\n  };\n  _exports.serializeCookie = serializeCookie;\n});","define(\"ember-copy/copy\", [\"exports\", \"ember-copy/copyable\"], function (_exports, _copyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = copy;\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    let ret, loc;\n\n    // avoid cyclical loops\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n    if (deep) {\n      seen.push(obj);\n    }\n\n    // IMPORTANT: this specific test will detect a native array only. Any other\n    // object will need to implement Copyable.\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 Ember.Object) || _copyable.default.detect(obj)) && Ember.assert('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof Ember.Object) || _copyable.default.detect(obj)));\n      ret = {};\n      if (deep) {\n        copies.push(ret);\n      }\n      let key;\n      for (key in obj) {\n        // support Null prototype\n        if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n          continue;\n        }\n\n        // Prevents browsers that don't respect non-enumerability from\n        // copying internal Ember properties\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  /**\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    @function copy\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  */\n  function copy(obj, deep) {\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-copy/copyable\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\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  */\n  // eslint-disable-next-line ember/no-new-mixins\n  var _default = _exports.default = Ember.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    */\n    copy: null\n  });\n});","define(\"ember-copy/index\", [\"exports\", \"ember-copy/copy\", \"ember-copy/copyable\"], function (_exports, _copy, _copyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Copyable\", {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n});","define(\"ember-cp-validations/-private/ember-internals\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getDependentKeys = getDependentKeys;\n  _exports.isDescriptor = isDescriptor;\n  let __EMBER_METAL__;\n  let emberMetalPaths = ['@ember/-internals/metal',\n  // ember-source from 3.10\n  '@ember/-internals/metal/index' // ember-source from 3.13\n  ];\n  let metalPath = Ember.A(emberMetalPaths).find(path => Ember.__loader.registry[path]);\n  if (metalPath) {\n    __EMBER_METAL__ = Ember.__loader.require(metalPath);\n  }\n  function getDependentKeys(descriptorOrDecorator) {\n    if (__EMBER_METAL__ && __EMBER_METAL__.descriptorForDecorator) {\n      let descriptor = __EMBER_METAL__.descriptorForDecorator(descriptorOrDecorator);\n      return descriptor._dependentKeys || [descriptor.altKey];\n    } else {\n      return descriptorOrDecorator._dependentKeys;\n    }\n  }\n  function isDescriptor(o) {\n    if (__EMBER_METAL__ && __EMBER_METAL__.isClassicDecorator) {\n      return __EMBER_METAL__.isClassicDecorator(o);\n    } else {\n      return o && (typeof o === 'object' || typeof o === 'function') && o.isDescriptor;\n    }\n  }\n});","define(\"ember-cp-validations/-private/ember-validator\", [\"exports\", \"ember-cp-validations/validators/base\", \"ember-validators\"], function (_exports, _base, _emberValidators) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _base.default.extend({\n    validate() {\n      let result = (0, _emberValidators.validate)(this.get('_evType'), ...arguments);\n      if (result && typeof result === 'object') {\n        return result.message ? result.message : this.createErrorMessage(result.type, result.value, result.context);\n      }\n      return result;\n    }\n  });\n});","define(\"ember-cp-validations/-private/internal-result-object\", [\"exports\", \"ember-cp-validations/validations/error\", \"ember-cp-validations/utils/utils\"], function (_exports, _error, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Object.extend({\n    model: null,\n    isValid: true,\n    isValidating: false,\n    message: null,\n    warningMessage: null,\n    attribute: '',\n    _promise: null,\n    _validator: null,\n    _type: Ember.computed.readOnly('_validator._type'),\n    init() {\n      this._super(...arguments);\n      if (this.get('isAsync')) {\n        this._handlePromise();\n      }\n    },\n    isWarning: Ember.computed.readOnly('_validator.isWarning'),\n    isInvalid: Ember.computed.not('isValid'),\n    isNotValidating: Ember.computed.not('isValidating'),\n    isTruelyValid: Ember.computed.and('isNotValidating', 'isValid'),\n    isTruelyInvalid: Ember.computed.and('isNotValidating', 'isInvalid'),\n    isAsync: Ember.computed('_promise', function () {\n      return (0, _utils.isPromise)(Ember.get(this, '_promise'));\n    }),\n    messages: Ember.computed('message', function () {\n      return Ember.makeArray(Ember.get(this, 'message'));\n    }),\n    error: Ember.computed('_type', 'attribute', 'isInvalid', 'message', 'type', function () {\n      if (Ember.get(this, 'isInvalid')) {\n        return _error.default.create({\n          type: Ember.get(this, '_type'),\n          message: Ember.get(this, 'message'),\n          attribute: Ember.get(this, 'attribute')\n        });\n      }\n      return null;\n    }),\n    errors: Ember.computed('error', function () {\n      return Ember.makeArray(Ember.get(this, 'error'));\n    }),\n    warningMessages: Ember.computed('warningMessage', function () {\n      return Ember.makeArray(Ember.get(this, 'warningMessage'));\n    }),\n    warning: Ember.computed('_type', 'attribute', 'isWarning', 'type', 'warningMessage', function () {\n      if (Ember.get(this, 'isWarning') && !Ember.isNone(Ember.get(this, 'warningMessage'))) {\n        return _error.default.create({\n          type: Ember.get(this, '_type'),\n          message: Ember.get(this, 'warningMessage'),\n          attribute: Ember.get(this, 'attribute')\n        });\n      }\n      return null;\n    }),\n    warnings: Ember.computed('warning', function () {\n      return Ember.makeArray(Ember.get(this, 'warning'));\n    }),\n    _handlePromise() {\n      Ember.set(this, 'isValidating', true);\n      Ember.get(this, '_promise').finally(() => {\n        Ember.set(this, 'isValidating', false);\n      });\n    }\n  });\n});","define(\"ember-cp-validations/-private/options\", [\"exports\", \"ember-cp-validations/utils/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    keys\n  } = Object;\n  const OPTION_KEYS = '__option_keys__';\n  const OptionsObject = Ember.Object.extend({\n    toObject() {\n      return this[OPTION_KEYS].reduce((obj, key) => {\n        obj[key] = Ember.get(this, key);\n        return obj;\n      }, {});\n    }\n  });\n  class Options {\n    constructor({\n      model,\n      attribute,\n      options = {}\n    }) {\n      const optionKeys = keys(options);\n      const createParams = {\n        [OPTION_KEYS]: optionKeys,\n        model,\n        attribute\n      };\n\n      // If any of the options is a CP, we need to create a custom class for it\n      if (optionKeys.some(key => (0, _utils.isDescriptor)(options[key]))) {\n        return OptionsObject.extend(options).create(createParams);\n      }\n      return OptionsObject.create(createParams, options);\n    }\n  }\n  _exports.default = Options;\n});","define(\"ember-cp-validations/-private/result\", [\"exports\", \"ember-cp-validations/validations/result-collection\", \"ember-cp-validations/validations/warning-result-collection\", \"ember-cp-validations/-private/internal-result-object\"], function (_exports, _resultCollection, _warningResultCollection, _internalResultObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * __PRIVATE__\n   *\n   * @module Validations\n   * @class Result\n   * @private\n   */\n\n  const Result = Ember.Object.extend({\n    /**\n     * @property model\n     * @type {Object}\n     */\n    model: null,\n    /**\n     * @property attribute\n     * @type {String}\n     */\n    attribute: '',\n    /**\n     * @property _promise\n     * @async\n     * @private\n     * @type {Promise}\n     */\n    _promise: null,\n    /**\n     * The validator that returned this result\n     * @property _validator\n     * @private\n     * @type {Validator}\n     */\n    _validator: null,\n    /**\n     * Determines if the _result object is readOnly.\n     *\n     * This is needed because ResultCollections and global validation objects control their own\n     * state via CPs\n     *\n     * @property _isReadOnly\n     * @private\n     * @readOnly\n     * @type {Boolean}\n     */\n    _isReadOnly: Ember.computed('_result', function () {\n      let validations = Ember.get(this, '_result');\n      return validations instanceof _resultCollection.default || Ember.get(validations, 'isValidations');\n    }).readOnly(),\n    /**\n     * @property isWarning\n     * @readOnly\n     * @type {Boolean}\n     */\n    isWarning: Ember.computed.readOnly('_validator.isWarning'),\n    /**\n     * @property isValid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValid: Ember.computed.readOnly('_result.isValid'),\n    /**\n     * @property isInvalid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isInvalid: Ember.computed.readOnly('_result.isInvalid'),\n    /**\n     * @property isValidating\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValidating: Ember.computed.readOnly('_result.isValidating'),\n    /**\n     * @property isTruelyValid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyValid: Ember.computed.readOnly('_result.isTruelyValid'),\n    /**\n     * @property isTruelyInvalid\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyInvalid: Ember.computed.readOnly('_result.isTruelyInvalid'),\n    /**\n     * @property isAsync\n     * @readOnly\n     * @type {Boolean}\n     */\n    isAsync: Ember.computed.readOnly('_result.isAsync'),\n    /**\n     * @property message\n     * @readOnly\n     * @type {String}\n     */\n    message: Ember.computed.readOnly('_result.message'),\n    /**\n     * @property messages\n     * @readOnly\n     * @type {Array}\n     */\n    messages: Ember.computed.readOnly('_result.messages'),\n    /**\n     * @property error\n     * @readOnly\n     * @type {Object}\n     */\n    error: Ember.computed.readOnly('_result.error'),\n    /**\n     * @property errors\n     * @readOnly\n     * @type {Array}\n     */\n    errors: Ember.computed.readOnly('_result.errors'),\n    /**\n     * @property warningMessage\n     * @readOnly\n     * @type {String}\n     */\n    warningMessage: Ember.computed.readOnly('_result.warningMessage'),\n    /**\n     * @property warningMessages\n     * @readOnly\n     * @type {Array}\n     */\n    warningMessages: Ember.computed.readOnly('_result.warningMessages'),\n    /**\n     * @property warning\n     * @readOnly\n     * @type {Object}\n     */\n    warning: Ember.computed.readOnly('_result.warning'),\n    /**\n     * @property warnings\n     * @readOnly\n     * @type {Array}\n     */\n    warnings: Ember.computed.readOnly('_result.warnings'),\n    /**\n     * This hold all the logic for the above CPs. We do this so we can easily switch this object out with a different validations object\n     * @property _result\n     * @private\n     * @type {Result}\n     */\n    _result: Ember.computed('model', 'attribute', '_promise', '_validator', '_resultOverride', function () {\n      return Ember.get(this, '_resultOverride') || _internalResultObject.default.create(Ember.getProperties(this, ['model', 'attribute', '_promise', '_validator']));\n    }),\n    init() {\n      this._super(...arguments);\n      if (Ember.get(this, 'isAsync') && !Ember.get(this, '_isReadOnly')) {\n        this._handlePromise();\n      }\n    },\n    /**\n     * Update the current validation result object with the given value\n     * - If value is undefined or null, set isValid to false\n     * - If value is a validations object from a different model/object, set the _result object to the one given (belongs-to)\n     * - If value is a collection of result objects, create a Validation Result Collection and set that to the _result object (has-many)\n     * - If value is a string, set the message to the given string and set isValid to false\n     * - If value is a boolean, set isValid to result\n     * - If value is a pojo, update _result object with the information given\n     *\n     * @method update\n     * @private\n     * @param value\n     */\n    update(value) {\n      let result = Ember.get(this, '_result');\n      let attribute = Ember.get(this, 'attribute');\n      let isWarning = Ember.get(this, 'isWarning');\n      let Collection = isWarning ? _warningResultCollection.default : _resultCollection.default;\n      if (Ember.isNone(value)) {\n        return this.update(false);\n      } else if (Ember.get(value, 'isValidations')) {\n        this._overrideResult(Collection.create({\n          attribute,\n          content: [value]\n        }));\n      } else if (Ember.isArray(value)) {\n        this._overrideResult(Collection.create({\n          attribute,\n          content: value\n        }));\n      } else if (!Ember.get(this, '_isReadOnly')) {\n        this._overrideResult(undefined);\n        if (typeof value === 'string') {\n          Ember.setProperties(Ember.get(this, '_result'), {\n            [isWarning ? 'warningMessage' : 'message']: value,\n            isValid: isWarning ? true : false\n          });\n        } else if (typeof value === 'boolean') {\n          Ember.set(result, 'isValid', value);\n        } else if (typeof value === 'object') {\n          Ember.setProperties(result, value);\n        }\n      }\n    },\n    /**\n     * Override the internal _result property.\n     * @method _overrideResult\n     * @param result\n     * @private\n     */\n    _overrideResult(result) {\n      Ember.set(this, '_resultOverride', result);\n    },\n    /**\n     * Promise handler\n     * @method _handlePromise\n     * @private\n     */\n    _handlePromise() {\n      Ember.get(this, '_promise').then(value => this.update(value), value => this.update(value)).catch(reason => {\n        // TODO: send into error state\n        throw reason;\n      });\n    }\n  });\n  var _default = _exports.default = Result;\n});","define(\"ember-cp-validations/-private/symbols\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.VALIDATIONS_CLASS = _exports.IS_VALIDATIONS_CLASS = _exports.ATTRS_RESULT_COLLECTION = _exports.ATTRS_PATH = _exports.ATTRS_MODEL = void 0;\n  const VALIDATIONS_CLASS = _exports.VALIDATIONS_CLASS = '__VALIDATIONS_CLASS__';\n  const IS_VALIDATIONS_CLASS = _exports.IS_VALIDATIONS_CLASS = '__IS_VALIDATIONS_CLASS__';\n  const ATTRS_MODEL = _exports.ATTRS_MODEL = '__ATTRS_MODEL__';\n  const ATTRS_PATH = _exports.ATTRS_PATH = '__ATTRS_PATH__';\n  const ATTRS_RESULT_COLLECTION = _exports.ATTRS_RESULT_COLLECTION = '__ATTRS_RESULT_COLLECTION__';\n});","define(\"ember-cp-validations/index\", [\"exports\", \"ember-cp-validations/validations/factory\", \"ember-cp-validations/validations/validator\"], function (_exports, _factory, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.validator = _exports.default = _exports.buildValidations = void 0;\n  /**\n   * ## Installation\n   * ```shell\n   * ember install ember-cp-validations\n   * ```\n   *\n   * ## Changelog\n   * Changelog can be found [here](https://github.com/adopted-ember-addons/ember-cp-validations/blob/master/CHANGELOG.md)\n   *\n   * ## Live Demo\n   * A live demo can be found [here](http://adopted-ember-addons.github.io/ember-cp-validations/)\n   *\n   * ## Looking for help?\n   * If it is a bug [please open an issue on GitHub](http://github.com/adopted-ember-addons/ember-cp-validations/issues).\n   *\n   * @module Usage\n   */\n\n  /**\n   * ## Models\n   *\n   * The first thing we need to do is build our validation rules. This will then generate a Mixin that you will be able to incorporate into your model or object.\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * import Ember from 'ember';\n   * import DS from 'ember-data';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   username: validator('presence', true),\n   *   password: [\n   *     validator('presence', true),\n   *     validator('length', {\n   *       min: 4,\n   *       max: 8\n   *     })\n   *   ],\n   *   email: [\n   *     validator('presence', true),\n   *     validator('format', { type: 'email' })\n   *   ],\n   *   emailConfirmation: [\n   *     validator('presence', true),\n   *     validator('confirmation', {\n   *       on: 'email',\n   *       message: '{description} do not match',\n   *       description: 'Email addresses'\n   *     })\n   *   ]\n   * });\n   * ```\n   *\n   * Once our rules are created and our Mixin is generated, all we have to do is add it to our model.\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * export default DS.Model.extend(Validations, {\n   *   'username': attr('string'),\n   *   'password': attr('string'),\n   *   'email': attr('string')\n   * });\n   * ```\n   *\n   * ## Objects\n   *\n   * You can also use the generated `Validations` mixin on any `Ember.Object` or child\n   * of `Ember.Object`, like `Ember.Component`. For example:\n   *\n   * ```javascript\n   * // components/x-foo.js\n   *\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   bar: validator('presence', true)\n   * });\n   *\n   * export default Ember.Component.extend(Validations, {\n   *   bar: null\n   * });\n   * ```\n   *\n   * ```javascript\n   * // models/user.js\n   *\n   * export default Ember.Object.extend(Validations, {\n   *   username: null\n   * });\n   * ```\n   *\n   * ## A Note on Testing & Object Containers\n   *\n   * To lookup validators, container access is required, which can cause an issue with `Ember.Object` creation\n   * if the object is statically imported. The current fix for this is as follows.\n   *\n   * **Ember < 2.3.0**\n   *\n   * ```javascript\n   * // routes/index.js\n   *\n   * import User from '../models/user';\n   *\n   * export default Ember.Route.extend({\n   *   model() {\n   *     const container = this.get('container');\n   *     return User.create({ username: 'John', container })\n   *   }\n   * });\n   * ```\n   *\n   * **Ember >= 2.3.0**\n   *\n   * ```javascript\n   * // routes/index.js\n   *\n   * import User from '../models/user';\n   *\n   * export default Ember.Route.extend({\n   *   model() {\n   *     return User.create(\n   *      Ember.getOwner(this).ownerInjection(),\n   *      { username: 'John' }\n   *     );\n   *   }\n   * });\n   * ```\n   *\n   * This also has ramifications for Ember Data model tests. When using [Ember QUnit's `moduleForModel`](https://github.com/emberjs/ember-qunit#ember-data-tests)\n   * (or [Ember Mocha's `setupModelTest`](https://github.com/emberjs/ember-mocha#setup-model-tests)), you will need to specify all validators\n   * that your model depends on:\n   *\n   * ```javascript\n   * moduleForModel('foo', 'Unit | Model | model', {\n   *   needs: ['validator:presence']\n   * });\n   * ```\n   *\n   * @module Usage\n   * @submodule Basic\n   */\n\n  /**\n   * ### Default Options\n   *\n   * Default options can be specified over a set of validations for a given attribute. Local properties will always take precedence.\n   *\n   * Instead of doing the following:\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: [\n   *     validator('presence', {\n   *       presence: true,\n   *       description: 'Username'\n   *     }),\n   *     validator('length', {\n   *       min: 1,\n   *       description: 'Username'\n   *     }),\n   *     validator('my-custom-validator', {\n   *       description: 'A username'\n   *     })\n   *   ]\n   * });\n   * ```\n   *\n   * We can declare default options:\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: {\n   *     description: 'Username'\n   *     validators: [\n   *       validator('presence', true),\n   *       validator('length', {\n   *         min: 1\n   *       }),\n   *       validator('my-custom-validator', {\n   *         description: 'A username'\n   *       })\n   *     ]\n   *   },\n   * });\n   * ```\n   *\n   * In the above example, all the validators for username will have a description of `Username` except that of the `my-custom-validator` validator which will be `A username`.\n   *\n   * ### Global Options\n   *\n   * If you have  specific options you want to propagate through all your validation rules, you can do so by passing in a global options object.\n   * This is ideal for when you have a dependent key that each validator requires such as the current locale from your i18n implementation, or\n   * you want easily toggle your validations on/off. As of 3.x, all dependent keys must be prefixed with `model`.\n   *\n   * ```javascript\n   * const Validations = buildValidations(validationRules, globalOptions);\n   * ```\n   *\n   * ```javascript\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   firstName: {\n   *     description: 'First Name'\n   *     validators: [\n   *       validator('presence', {\n   *         presence: true,\n   *         dependentKeys: ['model.foo', 'model.bar']\n   *       })\n   *      ]\n   *    },\n   *   lastName: validator('presence', true)\n   * }, {\n   *   description: 'This field'\n   *   dependentKeys: ['model.i18n.locale'],\n   *   disabled: computed.readOnly('model.disableValidations')\n   * });\n   * ```\n   *\n   * Just like in the default options, locale validator options will always take precedence over default options and default options will always take precedence\n   * over global options. This allows you to declare global rules while having the ability to override them in lower levels.\n   *\n   * This rule does not apply to `dependentKeys`, instead they all are merged. In the example above, __firstName__'s dependentKeys will be\n   * `['model.i18n.locale', 'model.foo', 'model.bar']`\n   *\n   * ### Computed Options\n   *\n   * All options can also be Computed Properties. These CPs have access to the `model` and `attribute` that is associated with the validator.\n   *\n   * Please note that the `message` option of a validator can also be a function with [the following signature](http://adopted-ember-addons.github.io/ember-cp-validations/docs/modules/Validators.html#message).\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: validator('length', {\n   *     disabled: Ember.computed.not('model.meta.username.isEnabled'),\n   *     min: Ember.computed.readOnly('model.meta.username.minLength'),\n   *     max: Ember.computed.readOnly('model.meta.username.maxLength'),\n   *     description: Ember.computed(function() {\n   *       // CPs have access to the `model` and `attribute`\n   *       return this.get('model').generateDescription(this.get('attribute'));\n   *     }).volatile() // Disable caching and force recompute on every get call\n   *   })\n   * });\n   * ```\n   *\n   * ### Nested Keys\n   *\n   * When declaring object validations (not including Ember Data models), it is possible to validate child objects from the parent object.\n   *\n   * ```javascript\n   * import Ember from 'ember';\n   * import { validator, buildValidations } from 'ember-cp-validations';\n   *\n   * const Validations = buildValidations({\n   *   'acceptTerms': validator('inclusion', { in: [ true ] }),\n   *   'user.firstName': validator('presence', true),\n   *   'user.lastName': validator('presence', true),\n   *   'user.account.number': validator('number')\n   * });\n   *\n   * export default Ember.Component.extend(Validations, {\n   *   acceptTerms: false,\n   *   user:  {\n   *     firstName: 'John',\n   *     lastName: 'Doe' ,\n   *     account: {\n   *       number: 123456,\n   *     }\n   *   },\n   *   isFormValid: Ember.computed.alias('validations.isValid'),\n   * });\n   * ```\n   *\n   * @module Usage\n   * @submodule Advanced\n   */\n\n  /**\n   * ### [__Ember-Intl__](https://github.com/ember-intl/cp-validations)\n   *\n   *  ```bash\n   *  ember install @ember-intl/cp-validations\n   *  ```\n   *\n   * ### [__Ember-I18n__](https://github.com/jasonmit/ember-i18n-cp-validations)\n   *\n   * ```bash\n   *  ember install ember-i18n-cp-validations\n   * ```\n   *\n   * @module Usage\n   * @submodule I18n Solutions\n   */\n\n  const buildValidations = _exports.buildValidations = _factory.default;\n  const validator = _exports.validator = _validator.default;\n  var _default = _exports.default = {\n    buildValidations,\n    validator\n  };\n});","define(\"ember-cp-validations/utils/array\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.callable = callable;\n  _exports.compact = void 0;\n  _exports.flatten = flatten;\n  _exports.uniq = void 0;\n  const A = Ember.A();\n  function callable(method) {\n    return function (collection) {\n      return A[method].apply(collection, arguments);\n    };\n  }\n  const uniq = _exports.uniq = callable('uniq');\n  const compact = _exports.compact = callable('compact');\n  function flatten(array = []) {\n    let result = [];\n    for (let i = 0, l = array.length; i < l; i++) {\n      let item = array[i];\n      if (Array.isArray(item)) {\n        result = result.concat(flatten(item));\n      } else {\n        result.push(item);\n      }\n    }\n    return result;\n  }\n});","define(\"ember-cp-validations/utils/cycle-breaker\", [\"exports\", \"ember-cp-validations/utils/meta-data\"], function (_exports, _metaData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = cycleBreaker;\n  /**\n   * Use Ember Meta to break cycles in the CP chains. Lets say we have a User model with a `friends` property that is a hasMany\n   * relationship. If we have a user John and he has a friend Jane, that creates a two-way relationship. John is Jane's friends and vise\n   * versa. If we were to go down the CP chain and get validations for John's friends, it would go to Jane, then to Jane's friends, which\n   * would point back to John. This method tracks which models have been already visited and breaks the cycle.\n   */\n\n  function cycleBreaker(fn, value) {\n    let key = _metaData.default.symbol('cycle');\n    return function () {\n      if (_metaData.default.getData(this, key)) {\n        return value;\n      }\n      _metaData.default.setData(this, key, true);\n      try {\n        return fn.apply(this, arguments);\n      } finally {\n        _metaData.default.setData(this, key, false);\n      }\n    };\n  }\n});","define(\"ember-cp-validations/utils/deep-set\", [\"exports\", \"ember-cp-validations/utils/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = deepSet;\n  /**\n   * Assigns a value to an object via the given path while creating new objects if\n   * the pathing requires it. If the given path is `foo.bar`, it will create a new object (obj.foo)\n   * and assign value to obj.foo.bar. If the given object is an Ember.Object, it will create new Ember.Objects.\n   */\n\n  function deepSet(obj, path, value, useEmberObject = false, delimiter = '.') {\n    let keyPath = path.split(delimiter);\n    let lastKeyIndex = keyPath.length - 1;\n    let currObj = obj;\n\n    // Iterate over each key in the path (minus the last one which is the property to be assigned)\n    for (let i = 0; i < lastKeyIndex; ++i) {\n      let key = keyPath[i];\n\n      // Create a new object if it doesnt exist\n      if (Ember.isNone(Ember.get(currObj, key))) {\n        Ember.set(currObj, key, useEmberObject ? Ember.Object.create() : {});\n      }\n      currObj = Ember.get(currObj, key);\n    }\n    if ((0, _utils.isDescriptor)(value)) {\n      Ember.defineProperty(currObj, keyPath[lastKeyIndex], value);\n    } else {\n      Ember.set(currObj, keyPath[lastKeyIndex], value);\n    }\n  }\n});","define(\"ember-cp-validations/utils/get-with-default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getWithDefault;\n  function getWithDefault(obj, key, defaultValue) {\n    let result = Ember.get(obj, key);\n    if (result === undefined) {\n      result = defaultValue;\n    }\n    return result;\n  }\n});","define(\"ember-cp-validations/utils/lookup-validator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = lookupValidator;\n  /**\n   * Lookup a validator of a specific type on the owner\n   *\n   * @param  {Ember.Owner} owner\n   * @param  {String} type\n   * @throws {Error} Validator not found\n   * @return {Class} Validator class\n   */\n  function lookupValidator(owner, type) {\n    if (!owner) {\n      throw new Error(`[ember-cp-validations] \\`lookupValidator\\` requires owner/container access.`);\n    }\n    const validatorClass = owner.factoryFor(`validator:${type}`);\n    if (!validatorClass) {\n      throw new Error(`[ember-cp-validations] Validator not found of type: ${type}.`);\n    }\n    return validatorClass;\n  }\n});","define(\"ember-cp-validations/utils/meta-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let id = 0;\n  const dataKey = symbol('data');\n  function symbol(key) {\n    return `_${key}_${new Date().getTime()}_${id++}`;\n  }\n  function getData(obj, s) {\n    let m = Ember.meta(obj);\n    let data = m[dataKey];\n    if (data) {\n      return data[s];\n    }\n  }\n  function setData(obj, s, value) {\n    let m = Ember.meta(obj);\n    let data = m[dataKey] = m[dataKey] || {};\n    data[s] = value;\n  }\n  var _default = _exports.default = {\n    symbol,\n    getData,\n    setData\n  };\n});","define(\"ember-cp-validations/utils/should-call-super\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = shouldCallSuper;\n  /**\n   * Checks if the give key exists on the object's super.\n   * If so, we can successfully call the obj[key] _super\n   *\n   * Created by @rwjblue\n   */\n  function shouldCallSuper(obj, key) {\n    let current = Object.getPrototypeOf(obj);\n    current = Object.getPrototypeOf(current);\n    while (current) {\n      let descriptor = Object.getOwnPropertyDescriptor(current, key);\n      if (descriptor) {\n        return true;\n      }\n      current = Object.getPrototypeOf(current);\n    }\n    return false;\n  }\n});","define(\"ember-cp-validations/utils/utils\", [\"exports\", \"ember-require-module\", \"ember-cp-validations/-private/ember-internals\"], function (_exports, _emberRequireModule, _emberInternals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"getDependentKeys\", {\n    enumerable: true,\n    get: function () {\n      return _emberInternals.getDependentKeys;\n    }\n  });\n  _exports.getValidatableValue = getValidatableValue;\n  _exports.isDSManyArray = isDSManyArray;\n  Object.defineProperty(_exports, \"isDescriptor\", {\n    enumerable: true,\n    get: function () {\n      return _emberInternals.isDescriptor;\n    }\n  });\n  _exports.isDsModel = isDsModel;\n  _exports.isEmberObject = isEmberObject;\n  _exports.isObject = isObject;\n  _exports.isPromise = isPromise;\n  _exports.isProxy = isProxy;\n  _exports.isValidatable = isValidatable;\n  _exports.mergeOptions = mergeOptions;\n  _exports.unwrapProxy = unwrapProxy;\n  _exports.unwrapString = unwrapString;\n  const DS = (0, _emberRequireModule.default)('ember-data');\n  const {\n    canInvoke\n  } = Ember;\n  function unwrapString(s) {\n    if (Ember.String.isHTMLSafe(s)) {\n      return s.toString();\n    }\n    return s;\n  }\n  function unwrapProxy(o) {\n    return isProxy(o) ? unwrapProxy(Ember.get(o, 'content')) : o;\n  }\n  function isProxy(o) {\n    return !!(o && (o instanceof Ember.ObjectProxy || o instanceof Ember.ArrayProxy));\n  }\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n  function isDsModel(o) {\n    return !!(DS && o && o instanceof DS.Model);\n  }\n  function isDSManyArray(o) {\n    return !!(DS && o && Ember.isArray(o) && (o instanceof DS.PromiseManyArray || o instanceof DS.ManyArray));\n  }\n  function isEmberObject(o) {\n    return !!(o && o instanceof Ember.Object);\n  }\n  function isObject(o) {\n    return Ember.typeOf(o) === 'object' || Ember.typeOf(o) === 'instance';\n  }\n  function isValidatable(value) {\n    let v = unwrapProxy(value);\n    return isDsModel(v) ? !Ember.get(v, 'isDeleted') : true;\n  }\n  function getValidatableValue(value) {\n    if (!value) {\n      return value;\n    }\n    if (isDSManyArray(value)) {\n      return Ember.A(value.filter(v => isValidatable(v)));\n    }\n    return isValidatable(value) ? value : undefined;\n  }\n  function mergeOptions(...options) {\n    let o = {};\n    for (let i = options.length - 1; i >= 0; i--) {\n      let _o = options[i];\n      Object.assign(o, isObject(_o) ? _o : {});\n    }\n    return o;\n  }\n});","define(\"ember-cp-validations/validations/error\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module Validations\n   * @class Error\n   */\n  var _default = _exports.default = Ember.Object.extend({\n    /**\n     * The error validator type\n     * @property type\n     * @type {String}\n     */\n    type: null,\n    /**\n     * The error message\n     * @property message\n     * @type {String}\n     */\n    message: null,\n    /**\n     * The attribute that the error belongs to\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n    /**\n     * The parent attribute that the error belongs to\n     * @property parentAttribute\n     * @type {String}\n     */\n    parentAttribute: null\n  });\n});","define(\"ember-cp-validations/validations/factory\", [\"exports\", \"ember-cp-validations/utils/deep-set\", \"ember-cp-validations/-private/result\", \"ember-cp-validations/validations/result-collection\", \"ember-cp-validations/validators/base\", \"ember-cp-validations/utils/cycle-breaker\", \"ember-cp-validations/utils/should-call-super\", \"ember-cp-validations/utils/lookup-validator\", \"ember-cp-validations/utils/array\", \"ember-cp-validations/utils/get-with-default\", \"ember-cp-validations/utils/utils\", \"ember-cp-validations/-private/symbols\"], function (_exports, _deepSet, _result, _resultCollection, _base, _cycleBreaker, _shouldCallSuper, _lookupValidator, _array, _getWithDefault, _utils, _symbols) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildValidations;\n  const VALIDATION_COUNT_MAP = new WeakMap();\n\n  /**\n   * ## Running Manual Validations\n   *\n   * Although validations are lazily computed, there are times where we might want to force all or\n   * specific validations to happen. For this reason we have exposed three methods:\n   *\n   * - {{#crossLink \"Factory/validate:method\"}}{{/crossLink}}: Will always return a promise and should be used if asynchronous validations are present\n   * - {{#crossLink \"Factory/validateSync:method\"}}{{/crossLink}}: Should only be used if all validations are synchronous. It will throw an error if any of the validations are asynchronous\n   * - {{#crossLink \"Factory/validateAttribute:method\"}}{{/crossLink}}: A functional approach to validating an attribute without changing its state\n   *\n   * @module Validations\n   * @main Validations\n   */\n\n  /**\n   * All validations can be accessed via the `validations` object created on your model/object.\n   * Each attribute also has its own validation which has the same properties.\n   * An attribute validation can be accessed via `validations.attrs.<ATTRIBUTE>` which will return a {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ### Global Validations\n   *\n   * Global validations exist on the `validations` object that resides on the object that is being validated.\n   * To see all possible properties, please checkout the docs for {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ```js\n   * model.get('validations.isValid');\n   * model.get('validations.errors');\n   * model.get('validations.messages');\n   * // etc...\n   * ```\n   *\n   * ### Attribute Validations\n   *\n   * The `validations` object also contains an `attrs` object which holds a {{#crossLink \"ResultCollection\"}}{{/crossLink}}\n   * for each attribute specified in your validation rules.\n   *\n   * ```js\n   * model.get('validations.attrs.username.isValid');\n   * model.get('validations.attrs.password.errors');\n   * model.get('validations.attrs.email.messages');\n   * // etc...\n   * ```\n   * @module Validations\n   * @submodule Accessing Validations\n   */\n\n  /**\n   * @module Validations\n   * @class Factory\n   */\n\n  /**\n   * Top level method that will ultimately return a mixin with all CP validations\n   *\n   * @method  buildValidations\n   * @param  {Object} validations  Validation rules\n   * @return {Ember.Mixin}\n   */\n  function buildValidations(validations = {}, globalOptions = {}) {\n    normalizeOptions(validations, globalOptions);\n    let Validations, validationMixinCount;\n    return Ember.Mixin.create({\n      init() {\n        this._super(...arguments);\n\n        // Count number of mixins to bypass super check if there is more than 1\n        validationMixinCount = (VALIDATION_COUNT_MAP.get(this) || 0) + 1;\n        VALIDATION_COUNT_MAP.set(this, validationMixinCount);\n      },\n      [_symbols.VALIDATIONS_CLASS]: Ember.computed(function () {\n        if (!Validations) {\n          let inheritedClass;\n          if ((0, _shouldCallSuper.default)(this, _symbols.VALIDATIONS_CLASS) || validationMixinCount > 1) {\n            inheritedClass = this._super();\n          }\n          Validations = createValidationsClass(inheritedClass, validations, this);\n        }\n        return Validations;\n      }).readOnly(),\n      validations: Ember.computed(function () {\n        return this.get(_symbols.VALIDATIONS_CLASS).create({\n          model: this\n        });\n      }).readOnly(),\n      validate() {\n        return Ember.get(this, 'validations').validate(...arguments);\n      },\n      validateSync() {\n        return Ember.get(this, 'validations').validateSync(...arguments);\n      },\n      validateAttribute() {\n        return Ember.get(this, 'validations').validateAttribute(...arguments);\n      },\n      destroy() {\n        this._super(...arguments);\n        Ember.get(this, 'validations').destroy();\n      }\n    });\n  }\n\n  /**\n   * Validation rules can be created with default and global options\n   * {\n   *   description: 'Username',\n   *   validators: [...]\n   * }\n   *\n   * This method generate the default options pojo, applies it to each validation rule, and flattens the object\n   *\n   * @method normalizeOptions\n   * @private\n   * @param  {Object} validations\n   * @return\n   */\n  function normalizeOptions(validations = {}, globalOptions = {}) {\n    let validatableAttrs = Object.keys(validations);\n    validatableAttrs.forEach(attribute => {\n      let rules = validations[attribute];\n      if (rules && typeof rules === 'object' && Ember.isArray(rules.validators)) {\n        let options = Object.keys(rules).reduce((o, k) => {\n          if (k !== 'validators') {\n            o[k] = rules[k];\n          }\n          return o;\n        }, {});\n        let {\n          validators\n        } = rules;\n        validators.forEach(v => {\n          v.defaultOptions = options;\n        });\n        validations[attribute] = validators;\n      }\n      validations[attribute] = Ember.makeArray(validations[attribute]);\n      validations[attribute].forEach(v => {\n        v.globalOptions = globalOptions;\n      });\n    });\n  }\n\n  /**\n   * Creates the validations class that will become `model.validations`.\n   *   - Setup parent validation inheritance\n   *   - Normalize nested keys (i.e. 'details.dob') into objects (i.e { details: { dob: validator() }})\n   *   - Merge normalized validations with parent\n   *   - Create global CPs (i.e. 'isValid', 'messages', etc...)\n   *\n   * @method createValidationsClass\n   * @private\n   * @param  {Object} inheritedValidationsClass\n   * @param  {Object} validations\n   * @param  {Object} model\n   * @return {Ember.Object}\n   */\n  function createValidationsClass(inheritedValidationsClass, validations, model) {\n    let validationRules = {};\n    let validatableAttributes = Object.keys(validations);\n\n    // Setup validation inheritance\n    if (inheritedValidationsClass && inheritedValidationsClass[_symbols.IS_VALIDATIONS_CLASS]) {\n      let inheritedValidations = inheritedValidationsClass.create();\n      validationRules = Object.assign(validationRules, inheritedValidations.get('_validationRules'));\n      validatableAttributes = Ember.A(inheritedValidations.get('validatableAttributes').concat(validatableAttributes)).uniq();\n    }\n\n    // Normalize nested keys into actual objects and merge them with parent object\n    Object.keys(validations).reduce((obj, key) => {\n      (0, _deepSet.default)(obj, key, validations[key]);\n      return obj;\n    }, validationRules);\n\n    // Create the mixin that holds all the top level validation props (isValid, messages, etc)\n    let TopLevelProps = createTopLevelPropsMixin(validatableAttributes);\n\n    // Create the `attrs` class which will add the current model reference once instantiated\n    let AttrsClass = createAttrsClass(validatableAttributes, validationRules, model);\n\n    // Create `validations` class\n    let ValidationsClass = Ember.Object.extend(TopLevelProps, {\n      model: null,\n      attrs: null,\n      isValidations: true,\n      // Caches\n      _validators: null,\n      _debouncedValidations: null,\n      // Private\n      _validationRules: validationRules,\n      validate,\n      validateSync,\n      validateAttribute,\n      validatableAttributes,\n      init() {\n        this._super(...arguments);\n        this.setProperties({\n          attrs: AttrsClass.create({\n            [_symbols.ATTRS_MODEL]: this.get('model')\n          }),\n          _validators: {},\n          _debouncedValidations: {}\n        });\n      },\n      destroy() {\n        this._super(...arguments);\n        let validatableAttrs = Ember.get(this, 'validatableAttributes');\n        let debouncedValidations = Ember.get(this, '_debouncedValidations');\n\n        // Initiate attrs destroy to cleanup any remaining model references\n        this.get('attrs').destroy();\n\n        // Cancel all debounced timers\n        validatableAttrs.forEach(attr => {\n          let attrCache = Ember.get(debouncedValidations, attr);\n          if (!Ember.isNone(attrCache)) {\n            // Itterate over each attribute and cancel all of its debounced validations\n            Object.keys(attrCache).forEach(v => Ember.run.cancel(attrCache[v]));\n          }\n        });\n      }\n    });\n    ValidationsClass.reopenClass({\n      [_symbols.IS_VALIDATIONS_CLASS]: true\n    });\n    return ValidationsClass;\n  }\n\n  /**\n   * Creates the `attrs` class which holds all the CP logic\n   *\n   * ```javascript\n   * model.get('validations.attrs.username');\n   * model.get('validations.attrs.nested.object.attribute');\n   * ```\n   *\n   * @method createAttrsClass\n   * @private\n   * @param  {Object} validatableAttributes\n   * @param  {Object} validationRules\n   * @param  {Object} model\n   * @return {Ember.Object}\n   */\n  function createAttrsClass(validatableAttributes, validationRules, model) {\n    let nestedClasses = {};\n    let rootPath = 'root';\n    let AttrsClass = Ember.Object.extend({\n      [_symbols.ATTRS_PATH]: rootPath,\n      init() {\n        this._super(...arguments);\n        let model = this.get(_symbols.ATTRS_MODEL);\n        let path = this.get(_symbols.ATTRS_PATH);\n\n        /*\n          Instantiate the nested attrs classes for the current path\n         */\n        Object.keys(nestedClasses[path] || []).forEach(key => {\n          Ember.set(this, key, nestedClasses[path][key].create({\n            [_symbols.ATTRS_MODEL]: model\n          }));\n        });\n      },\n      willDestroy() {\n        this._super(...arguments);\n        let path = this.get(_symbols.ATTRS_PATH);\n\n        /*\n          Remove the model reference\n         */\n        Ember.set(this, _symbols.ATTRS_MODEL, null);\n\n        /*\n          Destroy all nested classes\n         */\n        Object.keys(nestedClasses[path] || []).forEach(key => {\n          Ember.get(this, key).destroy();\n        });\n      }\n    });\n\n    /*\n      Insert CPs + Create nested classes\n     */\n    validatableAttributes.forEach(attribute => {\n      let path = attribute.split('.');\n      let attr = path.pop();\n      let currPath = [rootPath];\n      let currClass = AttrsClass;\n\n      // Iterate over the path and create the necessary nested classes along the way\n      for (let i = 0; i < path.length; i++) {\n        let key = path[i];\n        let currPathStr = currPath.join('.');\n        let _nestedClasses;\n        nestedClasses[currPathStr] = nestedClasses[currPathStr] || {};\n        _nestedClasses = nestedClasses[currPathStr];\n        currPath.push(key);\n        if (!_nestedClasses[key]) {\n          _nestedClasses[key] = AttrsClass.extend({\n            [_symbols.ATTRS_PATH]: currPath.join('.')\n          });\n        }\n        currClass = _nestedClasses[key];\n      }\n\n      // Add the final attr's CP to the class\n      currClass.reopen({\n        [attr]: createCPValidationFor(attribute, model, Ember.get(validationRules, attribute))\n      });\n    });\n    return AttrsClass;\n  }\n\n  /**\n   * CP generator for the given attribute\n   *\n   * @method createCPValidationFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model         Since the CPs are created once per class on the first initialization,\n   *                                this is the first model that was instantiated\n   * @param  {Array} validations\n   * @return {Ember.ComputedProperty} A computed property which is a ResultCollection\n   */\n  function createCPValidationFor(attribute, model, validations) {\n    let isVolatile = hasOption(validations, 'volatile', true);\n    (true && !(!isVolatile) && Ember.deprecate('[ember-cp-validations] The `volatile` option should no longer be used ' + 'as it was removed in ember 4.0', !isVolatile, {\n      id: 'ember-cp-validations.volatile',\n      for: 'ember-cp-validations',\n      since: '3.1.0',\n      until: '5.0.0'\n    }));\n    let dependentKeys = isVolatile ? [] : getCPDependentKeysFor(attribute, model, validations);\n    let cp = Ember.computed(...dependentKeys, (0, _cycleBreaker.default)(function () {\n      let model = Ember.get(this, _symbols.ATTRS_MODEL);\n      let validators = !Ember.isNone(model) ? getValidatorsFor(attribute, model) : [];\n      let validationResults = generateValidationResultsFor(attribute, model, validators, (validator, options) => {\n        return validator.validate(validator.getValue(), options, model, attribute);\n      });\n      return _resultCollection.default.create({\n        attribute,\n        content: validationResults\n      });\n    })).readOnly();\n    if (isVolatile) {\n      cp = cp.volatile();\n    }\n    return cp;\n  }\n\n  /**\n   * Check if a collection of validations have an option\n   * equal to the given value\n   *\n   * @method hasOption\n   * @private\n   * @param {Array} validations\n   * @param {String} option\n   * @param {Boolean} [value=true]\n   * @returns {Boolean}\n   */\n  function hasOption(validations, option, value = true) {\n    for (let i = 0; i < validations.length; i++) {\n      let {\n        options,\n        defaultOptions = {},\n        globalOptions = {}\n      } = validations[i];\n      let mergedOptions = (0, _utils.mergeOptions)(options, defaultOptions, globalOptions);\n      if (mergedOptions[option] === value) {\n        return true;\n      }\n    }\n    return false;\n  }\n\n  /**\n   * Generates the validation results for a given attribute and validators. If a\n   * given validator should be validated, it calls upon the validate callback to retrieve\n   * the result.\n   *\n   * @method generateValidationResultsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @param  {Array} validators\n   * @param  {Function} validate\n   * @param  {Object} opts\n   *                    - disableDebounceCache {Boolean}\n   * @return {Array}\n   */\n  function generateValidationResultsFor(attribute, model, validators, validate, opts = {}) {\n    let isModelValidatable = (0, _utils.isValidatable)(model);\n    let isInvalid = false;\n    let value, result;\n    return validators.map(validator => {\n      let options = Ember.get(validator, 'options').toObject();\n      let isWarning = (0, _getWithDefault.default)(options, 'isWarning', false);\n      let disabled = (0, _getWithDefault.default)(options, 'disabled', false);\n      let debounce = (0, _getWithDefault.default)(options, 'debounce', 0);\n      let lazy = (0, _getWithDefault.default)(options, 'lazy', true);\n      if (disabled || lazy && isInvalid || !isModelValidatable) {\n        value = true;\n      } else if (debounce > 0) {\n        let cache = getDebouncedValidationsCacheFor(attribute, model);\n\n        // Return a promise and pass the resolve method to the debounce handler\n        value = new Ember.RSVP.Promise(resolve => {\n          let t = Ember.run.debounce(validator, resolveDebounce, resolve, debounce);\n          if (!opts.disableDebounceCache) {\n            cache[Ember.guidFor(validator)] = t;\n          }\n        }).then(() => {\n          return validate(validator, Ember.get(validator, 'options').toObject());\n        });\n      } else {\n        value = validate(validator, options);\n      }\n      result = validationReturnValueHandler(attribute, value, model, validator);\n\n      /*\n        If the current result is invalid, the rest of the validations do not need to be\n        triggered (if lazy) since the attribute is already in an invalid state.\n       */\n      if (!isInvalid && !isWarning && Ember.get(result, 'isInvalid')) {\n        isInvalid = true;\n      }\n      return result;\n    });\n  }\n\n  /**\n   * Create a mixin that will have all the top level CPs under the validations object.\n   * These are computed collections on different properties of each attribute validations CP\n   *\n   * @method createTopLevelPropsMixin\n   * @private\n   * @param  {Object} validations\n   */\n  function createTopLevelPropsMixin(validatableAttrs) {\n    // Expose the following properties as public APIs via readOnly aliases\n    let aliases = ['isValid', 'isValidating', 'isAsync', 'isNotValidating', 'isInvalid', 'isTruelyValid', 'isTruelyInvalid', 'hasWarnings', 'messages', 'message', 'warningMessages', 'warningMessage', 'warnings', 'warning', 'errors', 'error', '_promise'];\n    let topLevelProps = aliases.reduce((props, alias) => {\n      props[alias] = Ember.computed.readOnly(`${_symbols.ATTRS_RESULT_COLLECTION}.${alias}`);\n      return props;\n    }, {});\n    return Ember.Mixin.create(topLevelProps, {\n      /*\n        Dedupe logic by creating a top level ResultCollection for all attr's ResultCollections\n       */\n      [_symbols.ATTRS_RESULT_COLLECTION]: Ember.computed(...validatableAttrs.map(attr => `attrs.${attr}`), function () {\n        return _resultCollection.default.create({\n          attribute: `Model:${this}`,\n          content: validatableAttrs.map(attr => Ember.get(this, `attrs.${attr}`))\n        });\n      }).readOnly()\n    });\n  }\n\n  /**\n   * CP dependency generator for a give attribute depending on its relationships\n   *\n   * @method getCPDependentKeysFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model         Since the CPs are created once per class on the first initialization,\n   *                                this is the first model that was instantiated\n   * @param  {Array} validations\n   * @return {Array} Unique list of dependencies\n   */\n  function getCPDependentKeysFor(attribute, model, validations) {\n    let owner = Ember.getOwner(model);\n    let dependentKeys = validations.map(validation => {\n      let {\n        options\n      } = validation;\n      let type = validation._type;\n      let Validator = type === 'function' ? _base.default : (0, _lookupValidator.default)(owner, type).class;\n      let baseDependents = _base.default.getDependentsFor(attribute, options) || [];\n      let dependents = Validator.getDependentsFor(attribute, options) || [];\n      return [...baseDependents, ...dependents,\n      // Get all explicitly defined dependents\n      ...(0, _getWithDefault.default)(options, 'dependentKeys', []), ...(0, _getWithDefault.default)(validation, 'defaultOptions.dependentKeys', []), ...(0, _getWithDefault.default)(validation, 'globalOptions.dependentKeys', []),\n      // Extract implicit dependents from CPs\n      ...extractOptionsDependentKeys(options), ...extractOptionsDependentKeys(Ember.get(validation, 'defaultOptions')), ...extractOptionsDependentKeys(Ember.get(validation, 'globalOptions'))];\n    });\n    dependentKeys = (0, _array.flatten)(dependentKeys);\n    dependentKeys.push(`model.${attribute}`);\n    if ((0, _utils.isDsModel)(model)) {\n      dependentKeys.push('model.isDeleted');\n    }\n    dependentKeys = dependentKeys.filter(Boolean).map(d => {\n      return d.replace(/^model\\./, `${_symbols.ATTRS_MODEL}.`);\n    });\n    return Ember.A(dependentKeys).uniq();\n  }\n\n  /**\n   * Extract all dependentKeys from any property that is a CP\n   *\n   * @method extractOptionsDependentKeys\n   * @private\n   * @param  {Object} options\n   * @return {Array}  dependentKeys\n   */\n  function extractOptionsDependentKeys(options) {\n    if (options && typeof options === 'object') {\n      return Object.keys(options).reduce((arr, key) => {\n        let option = options[key];\n        if ((0, _utils.isDescriptor)(option)) {\n          return arr.concat((0, _utils.getDependentKeys)(option) || []);\n        }\n        return arr;\n      }, []);\n    }\n    return [];\n  }\n\n  /**\n   * A handler used to create ValidationResult object from values returned from a validator\n   *\n   * @method validationReturnValueHandler\n   * @private\n   * @param  {String} attribute\n   * @param  {Mixed} value\n   * @param  {Object} model\n   * @return {ValidationResult}\n   */\n  function validationReturnValueHandler(attribute, value, model, validator) {\n    let result;\n    let commonProps = {\n      model,\n      attribute,\n      _validator: validator\n    };\n    if ((0, _utils.isPromise)(value)) {\n      result = _result.default.create(commonProps, {\n        _promise: Ember.RSVP.Promise.resolve(value)\n      });\n    } else {\n      result = _result.default.create(commonProps);\n      result.update(value);\n    }\n    return result;\n  }\n\n  /**\n   * Get validators for the give attribute. If they are not in the cache, then create them.\n   *\n   * @method getValidatorsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Array}\n   */\n  function getValidatorsFor(attribute, model) {\n    let validators = Ember.get(model, `validations._validators.${attribute}`);\n    return Ember.isNone(validators) ? createValidatorsFor(attribute, model) : validators;\n  }\n\n  /**\n   * Get debounced validation cache for the given attribute. If it doesn't exist, create a new one.\n   *\n   * @method getValidatorCacheFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Map}\n   */\n  function getDebouncedValidationsCacheFor(attribute, model) {\n    let debouncedValidations = Ember.get(model, 'validations._debouncedValidations');\n    if (Ember.isNone(Ember.get(debouncedValidations, attribute))) {\n      (0, _deepSet.default)(debouncedValidations, attribute, {});\n    }\n    return Ember.get(debouncedValidations, attribute);\n  }\n\n  /**\n   * Create validators for the give attribute and store them in a cache\n   *\n   * @method createValidatorsFor\n   * @private\n   * @param  {String} attribute\n   * @param  {Object} model\n   * @return {Array}\n   */\n  function createValidatorsFor(attribute, model) {\n    let validations = Ember.get(model, 'validations');\n    let validationRules = Ember.makeArray(Ember.get(validations, `_validationRules.${attribute}`));\n    let validatorCache = Ember.get(validations, '_validators');\n    let owner = Ember.getOwner(model);\n    let validators = [];\n\n    // We must have an owner to be able to lookup our validators\n    if (Ember.isNone(owner)) {\n      throw new TypeError(`[ember-cp-validations] ${model.toString()} is missing a container or owner.`);\n    }\n    validationRules.forEach(v => {\n      v.attribute = attribute;\n      v.model = model;\n      validators.push((0, _lookupValidator.default)(owner, v._type).create(v));\n    });\n\n    // Add validators to model instance cache\n    (0, _deepSet.default)(validatorCache, attribute, validators);\n    return validators;\n  }\n\n  /**\n   * Call the passed resolve method. This is needed as debounced expects a\n   * static method to work properly.\n   *\n   * @method resolveDebounce\n   * @private\n   * @param  {Function} resolve\n   */\n  function resolveDebounce(resolve) {\n    resolve();\n  }\n\n  /**\n   * ```javascript\n   * model.validate({ on: ['username', 'email'] }).then(({ m, validations }) => {\n   *   validations.get('isValid'); // true or false\n   *   validations.get('isValidating'); // false\n   *\n   *   let usernameValidations = m.get('validations.attrs.username');\n   *   usernameValidations.get('isValid') // true or false\n   * });\n   * ```\n   *\n   * @method validate\n   * @param  {Object} options\n   * @param  {Array} options.on Only validate the given attributes. If empty, will validate over all validatable attribute\n   * @param  {Array} options.excludes Exclude validation on the given attributes\n   * @param  {Boolean} isAsync      If `false`, will get all validations and will error if an async validations is found.\n   *                              If `true`, will get all validations and wrap them in a promise hash\n   * @return {Promise or Object}  Promise if isAsync is true, object if isAsync is false\n   */\n  function validate(options = {}, isAsync = true) {\n    let model = Ember.get(this, 'model');\n    let whiteList = Ember.makeArray(options.on);\n    let blackList = Ember.makeArray(options.excludes);\n    let validationResults = Ember.get(this, 'validatableAttributes').reduce((v, name) => {\n      if (!Ember.isEmpty(blackList) && blackList.indexOf(name) !== -1) {\n        return v;\n      }\n      if (Ember.isEmpty(whiteList) || whiteList.indexOf(name) !== -1) {\n        let validationResult = Ember.get(this, `attrs.${name}`);\n\n        // If an async validation is found, throw an error\n        if (!isAsync && Ember.get(validationResult, 'isAsync')) {\n          throw new Error(`[ember-cp-validations] Synchronous validation failed due to ${name} being an async validation.`);\n        }\n        v.push(validationResult);\n      }\n      return v;\n    }, []);\n    let validations = _resultCollection.default.create({\n      attribute: `Validate:${model}`,\n      content: validationResults\n    });\n    let resultObject = {\n      model,\n      validations\n    };\n    if (isAsync) {\n      return Ember.RSVP.Promise.resolve(Ember.get(validations, '_promise')).then(() => {\n        /*\n          NOTE: When dealing with belongsTo and hasMany relationships, there are cases\n          where we have to resolve the actual models and only then resolve all the underlying\n          validation promises. This is the reason that `validate` must be called recursively.\n         */\n        return Ember.get(validations, 'isValidating') ? this.validate(options, isAsync) : resultObject;\n      });\n    }\n    return resultObject;\n  }\n\n  /**\n   * A functional approach to check if a given attribute on a model is valid independently of the\n   * model attribute's validations. This method will always return a promise which will then resolve\n   * to a {{#crossLink \"ResultCollection\"}}{{/crossLink}}.\n   *\n   * ```javascript\n   * model.validateAttribute('username', 'offirgolan').then(({ m, validations }) => {\n   *   validations.get('isValid'); // true or false\n   *   validations.get('isValidating'); // false\n   * });\n   * ```\n   *\n   * @method validateAttribute\n   * @param  {String}   attribute\n   * @param  {Mixed}  value\n   * @return {Promise}\n   * @async\n   */\n  function validateAttribute(attribute, value) {\n    let model = Ember.get(this, 'model');\n    let validators = !Ember.isNone(model) ? getValidatorsFor(attribute, model) : [];\n    let validationResults = generateValidationResultsFor(attribute, model, validators, (validator, options) => {\n      return validator.validate(value, options, model, attribute);\n    }, {\n      disableDebounceCache: true\n    });\n    let validations = _resultCollection.default.create({\n      attribute,\n      content: (0, _array.flatten)(validationResults)\n    });\n    let result = {\n      model,\n      validations\n    };\n    return Ember.RSVP.Promise.resolve(Ember.get(validations, '_promise')).then(() => {\n      /*\n        NOTE: When dealing with belongsTo and hasMany relationships, there are cases\n        where we have to resolve the actual models and only then resolve all the underlying\n        validation promises. This is the reason that `validateAttribute` must be called recursively.\n       */\n      return Ember.get(validations, 'isValidating') ? this.validateAttribute(attribute, value) : result;\n    });\n  }\n\n  /**\n   * ```javascript\n   * let { m, validations } = model.validateSync();\n   * validations.get('isValid') // true or false\n   * ```\n   *\n   * @method validateSync\n   * @param  {Object}  options\n   * @param  {Array} options.on Only validate the given attributes. If empty, will validate over all validatable attribute\n   * @param  {Array} options.excludes Exclude validation on the given attributes\n   * @return {Object}\n   */\n  function validateSync(options) {\n    return this.validate(options, false);\n  }\n});","define(\"ember-cp-validations/validations/result-collection\", [\"exports\", \"ember-cp-validations/utils/cycle-breaker\", \"ember-cp-validations/utils/array\"], function (_exports, _cycleBreaker, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /*\n    CP Macros\n   */\n  function isAny(collection, key, value, defaultValue) {\n    return Ember.computed(`${collection}.@each.${key}`, (0, _cycleBreaker.default)(function () {\n      return Ember.get(this, collection).isAny(key, value);\n    }, defaultValue));\n  }\n  function isEvery(collection, key, value, defaultValue) {\n    return Ember.computed(`${collection}.@each.${key}`, (0, _cycleBreaker.default)(function () {\n      return Ember.get(this, collection).isEvery(key, value);\n    }, defaultValue));\n  }\n\n  /**\n   * @module Validations\n   * @class ResultCollection\n   */\n  var _default = _exports.default = Ember.ArrayProxy.extend({\n    init() {\n      Ember.set(this, 'content', Ember.A((0, _array.compact)(Ember.get(this, 'content'))));\n      this._super(...arguments);\n    },\n    /**\n     * The attribute that this collection belongs to\n     *\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n    /**\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isInvalid')\n     * get(user, 'validations.attrs.username.isInvalid')\n     * ```\n     *\n     * @property isInvalid\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isInvalid: Ember.computed.not('isValid').readOnly(),\n    /**\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isValid')\n     * get(user, 'validations.attrs.username.isValid')\n     * ```\n     *\n     * @property isValid\n     * @default true\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValid: isEvery('content', 'isValid', true, true).readOnly(),\n    /**\n     * This property is toggled only if there is an async validation\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isValidating')\n     * get(user, 'validations.attrs.username.isValidating')\n     * ```\n     *\n     * @property isValidating\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isValidating: isAny('content', 'isValidating', true, false).readOnly(),\n    /**\n     * Will be true only if isValid is `true` and isValidating is `false`\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isTruelyValid')\n     * get(user, 'validations.attrs.username.isTruelyValid')\n     * ```\n     *\n     * @property isTruelyValid\n     * @default true\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyValid: isEvery('content', 'isTruelyValid', true, true).readOnly(),\n    /**\n     * Will be true only if isValid is `false` and isValidating is `false`\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isTruelyInvalid')\n     * get(user, 'validations.attrs.username.isTruelyInvalid')\n     * ```\n     *\n     * @property isTruelyInvalid\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isTruelyInvalid: isAny('content', 'isTruelyInvalid', true, false).readOnly(),\n    /**\n     * Will be `true` only if a validation returns a promise\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.isAsync')\n     * get(user, 'validations.attrs.username.isAsync')\n     * ```\n     *\n     * @property isAsync\n     * @default false\n     * @readOnly\n     * @type {Boolean}\n     */\n    isAsync: isAny('content', 'isAsync', true, false).readOnly(),\n    /**\n     * A collection of all error messages on the object in question\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.messages')\n     * get(user, 'validations.attrs.username.messages')\n     * ```\n     *\n     * @property messages\n     * @readOnly\n     * @type {Array}\n     */\n    messages: Ember.computed('content.@each.messages', (0, _cycleBreaker.default)(function () {\n      return (0, _array.uniq)((0, _array.compact)((0, _array.flatten)(this.getEach('messages'))));\n    })).readOnly(),\n    /**\n     * An alias to the first message in the messages collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.message')\n     * get(user, 'validations.attrs.username.message')\n     * ```\n     *\n     * @property message\n     * @readOnly\n     * @type {String}\n     */\n    message: Ember.computed.readOnly('messages.firstObject'),\n    /**\n     * Will be `true` if there are warnings in the collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.hasWarnings')\n     * get(user, 'validations.attrs.username.hasWarnings')\n     * ```\n     *\n     * @property hasWarnings\n     * @readOnly\n     * @type {String}\n     */\n    hasWarnings: Ember.computed.notEmpty('warningMessages').readOnly(),\n    /**\n     * A collection of all warning messages on the object in question\n     *\n     * ```javascript\n     * // Examples\n     * get(user, 'validations.warningMessages')\n     * get(user, 'validations.attrs.username.warningMessages')\n     * ```\n     *\n     * @property warningMessages\n     * @readOnly\n     * @type {Array}\n     */\n    warningMessages: Ember.computed('content.@each.warningMessages', (0, _cycleBreaker.default)(function () {\n      return (0, _array.uniq)((0, _array.compact)((0, _array.flatten)(this.getEach('warningMessages'))));\n    })).readOnly(),\n    /**\n     * An alias to the first message in the warningMessages collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warningMessage')\n     * get(user, 'validations.attrs.username.warningMessage')\n     * ```\n     *\n     * @property warningMessage\n     * @readOnly\n     * @type {String}\n     */\n    warningMessage: Ember.computed.readOnly('warningMessages.firstObject'),\n    /**\n     * A collection of all {{#crossLink \"Error\"}}Warnings{{/crossLink}} on the object in question.\n     * Each warning object includes the warning message and it's associated attribute name.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warnings')\n     * get(user, 'validations.attrs.username.warnings')\n     * ```\n     *\n     * @property warnings\n     * @readOnly\n     * @type {Array}\n     */\n    warnings: Ember.computed('attribute', 'content.@each.warnings', (0, _cycleBreaker.default)(function () {\n      return this._computeErrorCollection(this.getEach('warnings'));\n    })).readOnly(),\n    /**\n     * An alias to the first {{#crossLink \"Warning\"}}{{/crossLink}} in the warnings collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.warning')\n     * get(user, 'validations.attrs.username.warning')\n     * ```\n     *\n     * @property warning\n     * @readOnly\n     * @type {Error}\n     */\n    warning: Ember.computed.readOnly('warnings.firstObject'),\n    /**\n     * A collection of all {{#crossLink \"Error\"}}Errors{{/crossLink}} on the object in question.\n     * Each error object includes the error message and it's associated attribute name.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.errors')\n     * get(user, 'validations.attrs.username.errors')\n     * ```\n     *\n     * @property errors\n     * @readOnly\n     * @type {Array}\n     */\n    errors: Ember.computed('attribute', 'content.@each.errors', (0, _cycleBreaker.default)(function () {\n      return this._computeErrorCollection(this.getEach('errors'));\n    })).readOnly(),\n    /**\n     * An alias to the first {{#crossLink \"Error\"}}{{/crossLink}} in the errors collection.\n     *\n     * ```javascript\n     * // Example\n     * get(user, 'validations.error')\n     * get(user, 'validations.attrs.username.error')\n     * ```\n     *\n     * @property error\n     * @readOnly\n     * @type {Error}\n     */\n    error: Ember.computed.readOnly('errors.firstObject'),\n    /**\n     * All built options of the validators associated with the results in this collection grouped by validator type\n     *\n     * ```javascript\n     * // Given the following validators\n     * {\n     *   username: [\n     *     validator('presence', true),\n     *     validator('length', { max: 15 }),\n     *     validator('format', { regex: /foo/ }),\n     *     validator('format', { regex: /bar/ }),\n     *   ]\n     * }\n     * ```\n     *\n     * ```js\n     * get(user, 'validations.attrs.username.options')\n     * ```\n     *\n     * The above will return the following\n     * ```js\n     * {\n     *   'presence': { presence: true},\n     *   'length': { max: 15 },\n     *   'regex': [{ regex: /foo/ }, { regex: /bar/ }]\n     * }\n     * ```\n     *\n     * @property options\n     * @readOnly\n     * @type {Object}\n     */\n    options: Ember.computed('_contentValidators.@each.options', function () {\n      return this._groupValidatorOptions(Ember.get(this, '_contentValidators'));\n    }).readOnly(),\n    /**\n     * @property _promise\n     * @async\n     * @private\n     * @type {Promise}\n     */\n    _promise: Ember.computed('content.@each._promise', '_contentResults.@each._promise', (0, _cycleBreaker.default)(function () {\n      return Ember.RSVP.allSettled((0, _array.compact)((0, _array.flatten)([this.get('_contentResults').getEach('_promise'), this.getEach('_promise')])));\n    })).readOnly(),\n    /**\n     * @property _contentResults\n     * @type {Array}\n     * @private\n     */\n    _contentResults: Ember.computed('content.@each._result', function () {\n      return Ember.A((0, _array.compact)(this.getEach('_result')));\n    }).readOnly(),\n    /**\n     * @property _contentValidators\n     * @type {Array}\n     * @private\n     */\n    _contentValidators: Ember.computed.mapBy('content', '_validator').readOnly(),\n    _computeErrorCollection(collection = []) {\n      let attribute = Ember.get(this, 'attribute');\n      let errors = (0, _array.uniq)((0, _array.compact)((0, _array.flatten)(collection)));\n      errors.forEach(e => {\n        if (attribute && e.get('attribute') !== attribute) {\n          e.set('parentAttribute', attribute);\n        }\n      });\n      return errors;\n    },\n    /**\n     * Used by the `options` property to create a hash from the `content` that is grouped by validator type.\n     * If there is more than 1 of a type, it groups it into an array of option objects.\n     */\n    _groupValidatorOptions(validators = []) {\n      return validators.reduce((options, v) => {\n        if (Ember.isNone(v) || Ember.isNone(Ember.get(v, '_type'))) {\n          return options;\n        }\n        let type = Ember.get(v, '_type');\n        let vOpts = Ember.get(v, 'options').toObject();\n        if (options[type]) {\n          if (Ember.isArray(options[type])) {\n            options[type].push(vOpts);\n          } else {\n            options[type] = [options[type], vOpts];\n          }\n        } else {\n          options[type] = vOpts;\n        }\n        return options;\n      }, {});\n    }\n  });\n});","define(\"ember-cp-validations/validations/validator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * @module Validators\n   * @main Validators\n   */\n\n  /**\n   * ### description\n   *\n   * Default: __'This field'__\n   *\n   * A descriptor for your attribute used in the error message strings.\n   * You can overwrite this value in your `validators/messages.js` file by changing the `defaultDescription` property.\n   *\n   * ```javascript\n   * // Examples\n   * validator('date', {\n   *   description: 'Date of birth'\n   * })\n   * // If validation is run and the attribute is empty, the error returned will be:\n   * // 'Date of birth can't be blank'\n   * ```\n   *\n   * ### lazy\n   *\n   * Default: __true__\n   *\n   * Only validate the given validator if the attribute is not already in an invalid\n   * state. When you have multiple validators on an attribute, it will only validate subsequent\n   * validators if the preceding validators have passed. When set to __false__, the validator\n   * will always be executed, even if its preceding validators are invalid.\n   *\n   * ```javascript\n   * // Examples\n   * buildValidations({\n   *  username: [\n   *    validator('presence', true),\n   *    validator('length', { min: 5 }),\n   *    validator('custom-promise-based-validator') // Will only be executed if the above two have passed\n   *  ]\n   * });\n   *\n   * validator('custom-validator-that-must-executed', {\n   *   lazy: false\n   * })\n   * ```\n   *\n   * ### dependentKeys\n   *\n   * A list of other model specific dependents for you validator.\n   *\n   * ```javascript\n   * // Examples\n   * validator('has-friends', {\n   *   dependentKeys: ['model.friends.[]']\n   * })\n   * validator('has-valid-friends', {\n   *   dependentKeys: ['model.friends.@each.username']\n   * })\n   * validator('x-validator', {\n   *   dependentKeys: ['model.username', 'model.email', 'model.meta.foo.bar']\n   * })\n   * ```\n   *\n   * ### disabled\n   *\n   * Default: __false__\n   *\n   * If set to __true__, disables the given validator.\n   *\n   * ```js\n   * // Examples\n   * validator('presence', {\n   *   presence: true,\n   *   disabled: true\n   * })\n   * validator('presence', {\n   *   presence: true,\n   *   disabled: computed.not('model.shouldValidate')\n   * })\n   * ```\n   *\n   * ### debounce\n   *\n   * Default: __0__\n   *\n   * Debounces the validation with the given time in `milliseconds`. All debounced validations will\n   * be handled asynchronously (wrapped in a promise).\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   debounce: 500\n   * })\n   * validator('x-validator', {\n   *   debounce: 250\n   * })\n   * ```\n   *\n   * ### isWarning\n   *\n   * Default: __false__\n   *\n   * Any validator can be declared as a warning validator by setting `isWarning` to true. These validators will act as\n   * assertions that when return a message, will be placed under `warnings` and `warningMessages` collections. What this means,\n   * is that these validators will not have any affect on the valid state of the attribute allowing you to display warning messages\n   * even when the attribute is valid.\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   isWarning: true,\n   *   min: 6,\n   *   message: 'Password is weak'\n   * })\n   * ```\n   *\n   * ### volatile\n   *\n   * Default: __false__\n   *\n   * If any validator sets the volatile option to **true** (including options, default options, and global options),\n   * it will place the entire attribute's CP in a volatile state. This means that it will set it into non-cached mode.\n   * When in this mode the computed property will not automatically cache the return value.\n   *\n   * Dependency keys have no effect on volatile properties as they are for cache invalidation and notification when\n   * cached value is invalidated. Any changes to the dependents will not refire validations.\n   *\n   * __**WARNING: This option should only be used if you know what you're doing**__\n   *\n   * ```javascript\n   * // Examples\n   * validator('length', {\n   *   volatile: true\n   * })\n   * ```\n   *\n   * ### value\n   *\n   * Used to retrieve the value to validate. This will overwrite the validator's default `value` method.\n   * By default this returns `model[attribute]`. If you are dependent on other model attributes, you will\n   * need to add them as `dependentKeys`.\n   *\n   * ```javascript\n   * // Examples\n   * validator('date', {\n   *   value(model, attribute) {\n   *   \t// Format the original value before passing it into the validator\n   *   \treturn moment().utc(model.get(attribute)).format('DD/MM/YYY');\n   *   }\n   * })\n   * validator('number', {\n   *   dependentKeys: ['someOtherAttr'],\n   *   value(model, attribute) {\n   *    // Validate a value that is not the current attribute\n   *    return this.get('model').get('someOtherAttr');\n   *   }\n   * })\n   * ```\n   *\n   * ### message\n   *\n   * This option can take two forms. It can either be a `string` (a CP that returns a string is also valid), or a `function`.\n   * If a string is used, then it will overwrite all error message types for the specified validator.\n   *\n   * ```javascript\n   * // Example: String\n   * validator('confirmation', {\n   *   message: 'Email does not match {attribute}. What are you even thinking?!'\n   * })\n   * ```\n   *\n   * We can pass a `function` into our message option for even more customization capabilities.\n   *\n   * ```javascript\n   * // Example: Function\n   * validator('date', {\n   *   message(type, options, value, context) {\n   *     if (type === 'before') {\n   *       return '{description} should really be before {date}';\n   *     }\n   *     if (type === 'after') {\n   *       return '{description} should really be after {date}';\n   *     }\n   *   }\n   * })\n   * ```\n   * The message function is given the following arguments:\n   *\n   * - `type` (**String**): The error message type\n   * - `options` (**Object**): The validator options that were defined in the model\n   * - `value`: The current value being evaluated\n   * - `context` (**Object**): Context for string replacement\n   *\n   * The return value must be a `string`. If nothing is returned (`undefined`),\n   * defaults to the default error message of the specified type.\n   *\n   * Within this function, the context is set to that of the current validator.\n   * This gives you access to the model, defaultMessages, options and more.\n   *\n   *\n   * @module Validators\n   * @submodule Common Options\n   */\n\n  function _default(arg1, options) {\n    let props = {\n      options: Ember.isNone(options) ? {} : options\n    };\n    if (typeof arg1 === 'function') {\n      (true && !(false) && Ember.deprecate('[ember-cp-validations] `validator` no longer directly accepts ' + 'a function. Please use the inline validator syntax:' + \"\\n\\nvalidator('inline', { validate() {} )\\n\\n\", false, {\n        id: 'ember-cp-validations.inline-validator',\n        until: '4.2.0'\n      }));\n      props.options.validate = arg1;\n      props._type = 'inline';\n    } else if (typeof arg1 === 'string') {\n      props._type = arg1;\n    } else {\n      throw new TypeError('[ember-cp-validations] Unexpected type for first validator argument — It must be a string.');\n    }\n    return props;\n  }\n});","define(\"ember-cp-validations/validations/warning-result-collection\", [\"exports\", \"ember-cp-validations/validations/result-collection\", \"ember-cp-validations/utils/cycle-breaker\", \"ember-cp-validations/utils/array\"], function (_exports, _resultCollection, _cycleBreaker, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _resultCollection.default.extend({\n    isValid: Ember.computed(function () {\n      return true;\n    }).readOnly(),\n    isTruelyValid: Ember.computed.not('isValidating').readOnly(),\n    messages: Ember.computed(function () {\n      return [];\n    }).readOnly(),\n    errors: Ember.computed(function () {\n      return [];\n    }).readOnly(),\n    warningMessages: Ember.computed('content.@each.{messages,warningMessages}', (0, _cycleBreaker.default)(function () {\n      return (0, _array.uniq)((0, _array.compact)((0, _array.flatten)([this.getEach('messages'), this.getEach('warningMessages')])));\n    })).readOnly(),\n    warnings: Ember.computed('attribute', 'content.@each.{errors,warnings}', (0, _cycleBreaker.default)(function () {\n      return this._computeErrorCollection((0, _array.flatten)([this.getEach('errors'), this.getEach('warnings')]));\n    })).readOnly()\n  });\n});","define(\"ember-cp-validations/validators/alias\", [\"exports\", \"ember-cp-validations/validators/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Creates an alias between a single attribute's validations to another.\n   *  This copies all messages, errors, etc., to the current attribute as well as\n   *  its validation state (isValid, isValidating, etc.)\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('alias', 'attribute')\n   *  validator('alias', {\n   *    alias: 'attribute',\n   *    firstMessageOnly: true\n   *  })\n   *  ```\n   *\n   *  @class Alias\n   *  @module Validators\n   *  @extends Base\n   */\n  const Alias = _base.default.extend({\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('alias', 'attribute')\n     * // Becomes\n     * validator('alias', {\n     *   alias: 'attribute'\n     * })\n     * ```\n     *\n     * @method buildOptions\n     * @param  {Object}     options\n     * @param  {Object}     defaultOptions\n     * @param  {Object}     globalOptions\n     * @return {Object}\n     */\n    buildOptions(options = {}, defaultOptions = {}, globalOptions = {}) {\n      let opts = options;\n      if (typeof options === 'string') {\n        opts = {\n          alias: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    },\n    /**\n     * @method validate\n     * @param {Any} value\n     * @param {Object} options\n     * @param {String} options.alias The attribute to alias\n     * @param {Boolean} options.firstMessageOnly If true, only returns the first error message of the\n     *                                           aliased attribute and will not include validation state\n     * @param {Object} model\n     * @param {String} attribute\n     */\n    validate(value, options, model, attribute) {\n      let {\n        alias,\n        firstMessageOnly\n      } = Ember.getProperties(options, ['alias', 'firstMessageOnly']);\n      (true && !(Ember.isPresent(alias)) && Ember.assert(`[validator:alias] [${attribute}] option 'alias' is required`, Ember.isPresent(alias)));\n      let aliasValidation = Ember.get(model, `validations.attrs.${alias}`);\n      return firstMessageOnly ? Ember.get(aliasValidation, 'message') : Ember.get(aliasValidation, 'content');\n    }\n  });\n  Alias.reopenClass({\n    getDependentsFor(attribute, options) {\n      let alias = typeof options === 'string' ? options : Ember.get(options, 'alias');\n      (true && !(typeof alias === 'string') && Ember.assert(`[validator:alias] [${attribute}] 'alias' must be a string`, typeof alias === 'string'));\n      return [`${alias}.messages.[]`, `${alias}.isTruelyValid`];\n    }\n  });\n  var _default = _exports.default = Alias;\n});","define(\"ember-cp-validations/validators/base\", [\"exports\", \"ember-cp-validations/validators/messages\", \"ember-cp-validations/-private/options\", \"ember-cp-validations/utils/lookup-validator\", \"ember-cp-validations/utils/utils\"], function (_exports, _messages, _options, _lookupValidator, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class TestResult {\n    constructor(result) {\n      this.isValid = result === true;\n      this.message = typeof result === 'string' ? result : null;\n    }\n  }\n\n  /**\n   * @class Base\n   * @module Validators\n   */\n  const Base = Ember.Object.extend({\n    /**\n     * Options passed in to the validator when defined in the model\n     * @property options\n     * @type {Object}\n     */\n    options: null,\n    /**\n     * Default validation options for this specific attribute\n     * @property defaultOptions\n     * @type {Object}\n     */\n    defaultOptions: null,\n    /**\n     * Global validation options for this model\n     * @property globalOptions\n     * @type {Object}\n     */\n    globalOptions: null,\n    /**\n     * Model instance\n     * @property model\n     * @type {Model}\n     */\n    model: null,\n    /**\n     * Attributed name of the model this validator is attached to\n     * @property attribute\n     * @type {String}\n     */\n    attribute: null,\n    /**\n     * Error message object. Populated by validators/messages\n     * @property errorMessages\n     * @type {Object}\n     */\n    errorMessages: null,\n    /**\n     * @property isWarning\n     * @type {Boolean}\n     */\n    isWarning: Ember.computed.bool('options.isWarning').readOnly(),\n    /**\n     * Validator type\n     * @property _type\n     * @private\n     * @type {String}\n     */\n    _type: null,\n    /**\n     * Validators cache used by `test` api\n     * @property _testValidatorCache\n     * @private\n     * @type {Object}\n     */\n    _testValidatorCache: Ember.computed(function () {\n      return {};\n    }).readOnly(),\n    init() {\n      this._super(...arguments);\n      let globalOptions = Ember.get(this, 'globalOptions');\n      let defaultOptions = Ember.get(this, 'defaultOptions');\n      let options = Ember.get(this, 'options');\n      let owner = Ember.getOwner(this);\n      let errorMessages;\n      if (!Ember.isNone(owner)) {\n        // Since default error messages are stored in app/validators/messages, we have to look it up via the owner\n        errorMessages = owner.factoryFor('validator:messages');\n      }\n\n      // If for some reason, we can't find the messages object (i.e. unit tests), use default\n      errorMessages = errorMessages || _messages.default;\n      Ember.set(this, 'options', this.buildOptions(options, defaultOptions, globalOptions));\n      Ember.set(this, 'errorMessages', errorMessages.create());\n    },\n    /**\n     * Build options hook. Merges default options into options object.\n     * This method gets called on init and is the ideal place to normalize your options.\n     * The [presence validator](https://github.com/adopted-ember-addons/ember-cp-validations/blob/master/addon/validators/presence.js) is a good example to checkout\n     * @method buildOptions\n     * @param  {Object} options\n     * @param  {Object} defaultOptions\n     * @param  {Object} globalOptions\n     * @return {Object}\n     */\n    buildOptions(options = {}, defaultOptions = {}, globalOptions = {}) {\n      let builtOptions = (0, _utils.mergeOptions)(options, defaultOptions, globalOptions);\n\n      // Overwrite the validator's value method if it exists in the options and remove it since\n      // there is no need for it to be passed around\n      this.value = builtOptions.value || this.value;\n      delete builtOptions.value;\n      return new _options.default({\n        model: Ember.get(this, 'model'),\n        attribute: Ember.get(this, 'attribute'),\n        options: builtOptions\n      });\n    },\n    /**\n     * Used to retrieve the value to validate.\n     * This method gets called right before `validate` and the returned value\n     * gets passed into the validate method.\n     *\n     * @method value\n     * @param {Object} model\n     * @param {String} attribute\n     * @return The current value of `model[attribute]`\n     */\n    value(model, attribute) {\n      return Ember.get(model, attribute);\n    },\n    /**\n     * Wrapper method to `value` that passes the necessary parameters\n     *\n     * @method getValue\n     * @private\n     * @return {Mixed} value\n     */\n    getValue() {\n      let value = this.value(Ember.get(this, 'model'), Ember.get(this, 'attribute'));\n      return (0, _utils.getValidatableValue)(value);\n    },\n    /**\n     * The validate method is where all of your logic should go.\n     * It will get passed in the current value of the attribute this validator is attached to.\n     * Within the validator object, you will have access to the following properties:\n     * @method validate\n     * @param  {Mixed} value        The current value of the attribute\n     * @param  {Object} options       The built and processed options\n     * @param  {Object} model         The current model being evaluated\n     * @param  {String} attribute     The current attribute being evaluated\n     * @return\n     * One of the following types:\n     * - `Boolean`:  `true` if the current value passed the validation\n     * - `String`: The error message\n     * - `Promise`: A promise that will either resolve or reject, and will finally return either `true` or the final error message string.\n     */\n    validate() {\n      return true;\n    },\n    /**\n     * Used by all pre-defined validators to build an error message that is present\n     * in `validators/message` or declared in your i18n solution.\n     *\n     * If we extended our default messages to include `uniqueUsername: '{username} already exists'`,\n     * we can use this method to generate our error message.\n     *\n     * ```javascript\n     * validate(value, options) {\n     *   const exists = false;\n     *\n     *   // check with server if username exists...\n     *\n     *   if(exists) {\n     *     // The username key on the options object will be used to create the error message\n     *     options.username = value;\n     *     return this.createErrorMessage('uniqueUsername', value, options);\n     *   }\n     *\n     *   return true;\n     * }\n     * ```\n     *\n     * If we input `johndoe` and that username already exists, the returned message would be `'johndoe already exists'`.\n     *\n     * @method createErrorMessage\n     * @param  {String} type        The type of message template to use\n     * @param  {Mixed} value        Current value being evaluated\n     * @param  {Object} options     Validator built and processed options (used as the message string context)\n     * @return {String}             The generated message\n     */\n    createErrorMessage(type, value, options = {}) {\n      let messages = this.get('errorMessages');\n      let message = (0, _utils.unwrapString)(Ember.get(options, 'message'));\n      Ember.set(options, 'description', messages.getDescriptionFor(Ember.get(this, 'attribute'), options));\n      if (message) {\n        if (typeof message === 'string') {\n          message = messages.formatMessage(message, options);\n        } else if (typeof message === 'function') {\n          message = message.apply(this, arguments);\n          message = Ember.isNone(message) ? messages.getMessageFor(type, options) : messages.formatMessage(message, options);\n        }\n      } else {\n        message = messages.getMessageFor(type, options);\n      }\n      return message.trim();\n    },\n    /**\n     * Easily compose complicated validations by using this method to validate\n     * against other validators.\n     *\n     * ```javascript\n     * validate(value, options, ...args) {\n     *   let result = this.test('presence', value, { presence: true }, ...args);\n     *\n     *   if (!result.isValid) {\n     *     return result.message;\n     *   }\n     *\n     *   // You can even test against your own custom validators\n     *   result = this.test('my-validator', value, { foo: 'bar' }, ...args);\n     *\n     *   if (!result.isValid) {\n     *     return result.message;\n     *   }\n     *\n     *   result = this.test('number', value, { integer: true }, ...args);\n     *\n     *   // You can easily override the error message by returning your own.\n     *   if (!result.isValid) {\n     *      return 'This value must be an integer!';\n     *    }\n     *\n     *   // Add custom logic...\n     *\n     *   return true;\n     * }\n     * ```\n     * @method test\n     * @param  {String} type    The validator type (e.x. 'presence', 'length', etc.)\n     *                          The following types are unsupported:\n     *                            'alias', 'belongs-to', 'dependent', 'has-many'\n     * @param  {...args} args   The arguments to pass through to the validator\n     * @return {Object}         The test result object which will contain `isValid`\n     *                          and `message`. If the validator is async, then the\n     *                          return value will be a promise.\n     */\n    test(type, ...args) {\n      const cache = this.get('_testValidatorCache');\n      const unsupportedTypes = ['alias', 'belongs-to', 'dependent', 'has-many'];\n      if (unsupportedTypes.includes(type)) {\n        throw new Error(`[ember-cp-validations] The \\`test\\` API does not support validators of type: ${type}.`);\n      }\n      cache[type] = cache[type] || (0, _lookupValidator.default)(Ember.getOwner(this), type).create();\n      const result = cache[type].validate(...args);\n      if ((0, _utils.isPromise)(result)) {\n        return result.then(r => new TestResult(r), r => new TestResult(r));\n      }\n      return new TestResult(result);\n    }\n  });\n  Base.reopenClass({\n    /**\n     * Generate the needed dependent keys for this validator\n     *\n     * @method getDependentsFor\n     * @static\n     * @param  {String} attribute\n     * @param  {Object} options\n     * @return {Array} dependent keys\n     */\n    getDependentsFor() {\n      return [];\n    }\n  });\n  var _default = _exports.default = Base;\n  /**\n   * Creating custom validators is very simple. To generate a validator named `unique-username` in Ember CLI\n   *\n   * ```bash\n   * ember generate validator unique-username\n   * ```\n   *\n   * This will create the following files\n   *\n   * * `app/validators/unique-username.js`\n   * * `tests/unit/validators/unique-username-test.js`\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({\n   *   validate(value, options, model, attribute) {\n   *     return true;\n   *   }\n   * });\n   *\n   * UniqueUsername.reopenClass({\n   *   getDependentsFor(attribute, options) {\n   *     return [];\n   *   }\n   * });\n   *\n   * export default UniqueUsername;\n   * ```\n   *\n   * **Side Note**: Before we continue, I would suggest checking out the documentation for the {{#crossLink 'Base'}}Base Validator{{/crossLink}}.\n   *\n   * If you want to interact with the `store` within your validator, you can simply inject the service like you would a component.\n   * Since you have access to your model and the current value, you should be able to send the server the right information to determine if this username is unique.\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import Ember from 'ember';\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({\n   *   store: Ember.inject.service(),\n   *\n   *   validate(value, options, model, attribute) {\n   *     return this.get('store').findRecord('user', value).then((user) => {\n   *       if(user && user.id === value) {\n   *         let message = `The username '${value}' already exists.`;\n   *         let meta = user.get('meta');\n   *\n   *         if(options.showSuggestions && meta && meta.suggestions) {\n   *           message += \"What about one of the these: \" + meta.suggestions.join(', ');\n   *         }\n   *         return message;\n   *       } else {\n   *         return true;\n   *       }\n   *     })\n   *   }\n   * });\n   * ```\n   *\n   * ## Dependent Keys\n   *\n   * There will be times when your validator will be dependent on some other property or object. Instead of having to\n   * include them in your option's `dependentKeys`, you can declare them in the static `getDependentsFor` hook. This hook\n   * receives two parameters. The first is the `attribute` that this validator is being added to, and the second are the `options`\n   * there were passed to this validator.\n   *\n   * From the above code sample:\n   *\n   * ```javascript\n   * // app/validators/unique-username.js\n   *\n   * import BaseValidator from 'ember-cp-validations/validators/base';\n   *\n   * const UniqueUsername = BaseValidator.extend({});\n   *\n   * UniqueUsername.reopenClass({\n   *   getDependentsFor(attribute, options) {\n   *     return [];\n   *   }\n   * });\n   *\n   * export default UniqueUsername;\n   * ```\n   *\n   * All dependent keys are in reference to the model's `validations.attrs` object. So when you return `['username']`,\n   * it will add a dependent to `model.validations.attrs.username`. If you want to add a dependent on the model, your\n   * key needs to be prefixed with `model`. So when you return `['model.username']`, it will add a dependent to `model.username` instead of `model.validations.attrs.username`.\n   * This means that if you have a dependent on a service, that service must be injected into the model since returning `['model.myService.someProperty']`\n   * will be interpreted as `model.myService.someProperty`.\n   *\n   * ## Usage\n   *\n   * To use our unique-username validator we just have to add it to the model definition\n   *\n   * ```javascript\n   * const Validations = buildValidations({\n   *   username: validator('unique-username', {\n   *     showSuggestions: true\n   *   }),\n   * });\n   *\n   * export default DS.Model.extend(Validations, {\n   *   'username': DS.attr('string'),\n   * });\n   * ```\n   *\n   * ## Testing\n   * As mentioned before, the generator created a unit test for your new custom validator.\n   *\n   * ```javascript\n   * // tests/unit/validators/unique-username-test.js\n   *\n   * import Ember from 'ember';\n   * import { moduleFor, test } from 'ember-qunit';\n   *\n   * moduleFor('validator:unique-username', 'Unit | Validator | unique-username', {\n   *     needs: ['validator:messages']\n   * });\n   *\n   * test('it works', function(assert) {\n   *     const validator =  this.subject();\n   *     assert.ok(validator);\n   * });\n   * ```\n   *\n   * A simple test for our validation method can be as such\n   *\n   * ```javascript\n   * test('username is unique', function(assert) {\n   *     assert.expect(1);\n   *\n   *     let validator =  this.subject();\n   *     let done = assert.async();\n   *\n   *     validator.validate('johndoe42').then((message) => {\n   *       assert.equal(message, true);\n   *       done();\n   *     });\n   * });\n   * ```\n   *  @class Custom\n   *  @module Validators\n   *  @extends Base\n   */\n});","define(\"ember-cp-validations/validators/belongs-to\", [\"exports\", \"ember-cp-validations/validators/base\", \"ember-cp-validations/utils/utils\"], function (_exports, _base, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Identifies a `belongs-to` relationship in an Ember Data Model or Ember.Object.\n   *  This is used to create a link to the validations object of the child model.\n   *\n   *  _**Note:** Validations must exist on **both** models/objects_\n   *\n   *  ### Ember Model\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    details: validator('belongs-to')\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    'details': DS.belongsTo('user-detail')\n   *  });\n   *  ```\n   *\n   *  ```javascript\n   *  // model/user-details.js\n   *\n   *  const Validations = buildValidations({\n   *    firstName: validator('presence', true),\n   *    lastName: validator('presence', true)\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    \"firstName\": attr('string'),\n   *    \"lastName\": attr('string'),\n   *  });\n   *  ```\n   *\n   *  ### Ember Object\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  import UserDetails from '../user-details';\n   *\n   *  const Validations = buildValidations({\n   *    details: validator('belongs-to')\n   *  });\n   *\n   *  export default Ember.Object.extend(Validations, {\n   *    details: null,\n   *\n   *    init() {\n   *      this._super(...arguments);\n   *      let owner = Ember.getOwner(this);\n   *      this.set('details', UserDetails.create(owner.ownerInjection()));\n   *    }\n   *  });\n   *  ```\n   *\n   *  From our `user` model, we can now check any validation property on the `user-details` model.\n   *\n   *  ```javascript\n   *  get(model, 'validations.attrs.details.isValid')\n   *  get(model, 'validations.attrs.details.messages')\n   *  ```\n   *\n   *  @class Belongs To\n   *  @module Validators\n   *  @extends Base\n   */\n  const BelongsTo = _base.default.extend({\n    validate(value, ...args) {\n      if (value) {\n        if ((0, _utils.isPromise)(value)) {\n          return value.then(model => this.validate(model, ...args));\n        }\n        return Ember.get(value, 'validations');\n      }\n      return true;\n    }\n  });\n  BelongsTo.reopenClass({\n    getDependentsFor(attribute) {\n      return [`model.${attribute}.isDeleted`, `model.${attribute}.content.isDeleted`, `model.${attribute}.validations`, `model.${attribute}.content.validations`];\n    }\n  });\n  var _default = _exports.default = BelongsTo;\n});","define(\"ember-cp-validations/validators/collection\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  If `true` validates that the given value is a valid collection and will add `<ATTRIBUTE>.[]` as a dependent key to the CP.\n   *  If `false`, validates that the given value is singular. Use this validator if you want validation to occur when the content of your collection changes.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('collection', true)\n   *  validator('collection', false)\n   *  validator('collection', {\n   *    collection: true,\n   *    message: 'must be a collection'\n   *  })\n   *  ```\n   *\n   *  @class Collection\n   *  @module Validators\n   *  @extends Base\n   */\n  const Collection = _emberValidator.default.extend({\n    _evType: 'collection',\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('collection', true)\n     * // Becomes\n     * validator('collection', {\n     *   collection: true\n     * })\n     * ```\n     *\n     * @method buildOptions\n     * @param  {Object}     options\n     * @param  {Object}     defaultOptions\n     * @param  {Object}     globalOptions\n     * @return {Object}\n     */\n    buildOptions(options = {}, defaultOptions = {}, globalOptions = {}) {\n      let opts = options;\n      if (typeof options === 'boolean') {\n        opts = {\n          collection: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    }\n  });\n  Collection.reopenClass({\n    getDependentsFor(attribute, options) {\n      return options === true || Ember.get(options, 'collection') === true ? [`model.${attribute}.[]`] : [];\n    }\n  });\n  var _default = _exports.default = Collection;\n});","define(\"ember-cp-validations/validators/confirmation\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attribute has the same value as the one of the declared attribute.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  email: validator('format', {\n   *    type: 'email'\n   *  })\n   *  verifiedEmail: validator('confirmation', {\n   *    on: 'email',\n   *    message: 'Email addresses do not match'\n   *  })\n   *  ```\n   *\n   *  @class Confirmation\n   *  @module Validators\n   *  @extends Base\n   */\n  const Confirmation = _emberValidator.default.extend({\n    _evType: 'confirmation'\n  });\n  Confirmation.reopenClass({\n    getDependentsFor(attribute, options) {\n      let on = Ember.get(options, 'on');\n      (true && !(typeof on === 'string') && Ember.assert(`[validator:confirmation] [${attribute}] 'on' must be a string`, typeof on === 'string'));\n      return on ? [`model.${on}`] : [];\n    }\n  });\n  var _default = _exports.default = Confirmation;\n});","define(\"ember-cp-validations/validators/date\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validate over a date range. Uses [MomentJS](http://momentjs.com/) for date mathematics and calculations.\n   *\n   *  **Note**: MomentJS must be installed to be able to use this validator. The easiest way to do this is to install [ember-moment](https://github.com/stefanpenner/ember-moment)\n   *\n   * ## Examples\n   *\n   * If `before`, `onOrBefore`, `after`, or `onOrAfter` is set to **now**, the value given to the validator will be tested against the current date and time.\n   *\n   *  ```javascript\n   *  validator('date', {\n   *    after: 'now',\n   *    before: '1/1/2020',\n   *    precision: 'day',\n   *    format: 'M/D/YYY',\n   *    errorFormat: 'M/D/YYY'\n   *  })\n   *  ```\n   *\n   *  @class Date\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'date'\n  });\n});","define(\"ember-cp-validations/validators/dependent\", [\"exports\", \"ember-cp-validations/validators/base\", \"ember-cp-validations/utils/get-with-default\"], function (_exports, _base, _getWithDefault) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Defines an attribute as valid only if its dependents are valid.\n   *\n   *  ## Example\n   *\n   *  ```javascript\n   *  // Full name will only be valid if firstName and lastName are filled in\n   *  validator('dependent', {\n   *    on: ['firstName', 'lastName']\n   *  })\n   *  ```\n   *\n   *  @class Dependent\n   *  @module Validators\n   *  @extends Base\n   */\n  const Dependent = _base.default.extend({\n    /**\n     * @method validate\n     * @param {Any} value\n     * @param {Object} options\n     * @param {Array} options.on Attributes this field is dependent on\n     * @param {Object} model\n     * @param {String} attribute\n     */\n    validate(value, options, model, attribute) {\n      let {\n        on,\n        allowBlank\n      } = Ember.getProperties(options, ['on', 'allowBlank']);\n      (true && !(Ember.isPresent(on)) && Ember.assert(`[validator:dependent] [${attribute}] option 'on' is required`, Ember.isPresent(on)));\n      if (Ember.isNone(model)) {\n        return true;\n      }\n      if (allowBlank && Ember.isEmpty(value)) {\n        return true;\n      }\n      let dependentValidations = (0, _getWithDefault.default)(options, 'on', Ember.A()).map(dependent => Ember.get(model, `validations.attrs.${dependent}`));\n      if (!Ember.isEmpty(dependentValidations.filter(v => Ember.get(v, 'isTruelyInvalid')))) {\n        return this.createErrorMessage('invalid', value, options);\n      }\n      return true;\n    }\n  });\n  Dependent.reopenClass({\n    getDependentsFor(attribute, options) {\n      let dependents = Ember.get(options, 'on');\n      (true && !(Ember.isArray(dependents)) && Ember.assert(`[validator:dependent] [${attribute}] 'on' must be an array`, Ember.isArray(dependents)));\n      if (!Ember.isEmpty(dependents)) {\n        return dependents.map(dependent => `${dependent}.isTruelyValid`);\n      }\n      return [];\n    }\n  });\n  var _default = _exports.default = Dependent;\n});","define(\"ember-cp-validations/validators/ds-error\", [\"exports\", \"ember-cp-validations/-private/ember-validator\", \"ember-validators/ds-error\"], function (_exports, _emberValidator, _dsError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Creates a link between this library and Ember-Data's [DS.Errors](http://emberjs.com/api/data/classes/DS.Errors.html)\n   *  to fetch the latest message for the given attribute.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('ds-error')\n   *  ```\n   *\n   *  @class DS Error\n   *  @module Validators\n   *  @extends Base\n   */\n  const DSError = _emberValidator.default.extend({\n    _evType: 'ds-error'\n  });\n  DSError.reopenClass({\n    getDependentsFor(attribute) {\n      let {\n        path,\n        key\n      } = (0, _dsError.getPathAndKey)(attribute);\n      return [`model.${path}.${key}.[]`];\n    }\n  });\n  var _default = _exports.default = DSError;\n});","define(\"ember-cp-validations/validators/exclusion\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attributes’ values are not included in a given list. All comparisons are done using strict equality so type matters! For range, the value type is checked against both lower and upper bounds for type equality.\n   *\n   *  ## Examples:\n   *\n   *  ```javascript\n   *  validator('exclusion', {\n   *    in: ['Admin', 'Super Admin']\n   *  })\n   *  validator('exclusion', {\n   *    range: [0, 5] // Cannot be between 0 (inclusive) to 5 (inclusive)\n   *  })\n   *  ```\n   *\n   *  @class Exclusion\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'exclusion'\n  });\n});","define(\"ember-cp-validations/validators/format\", [\"exports\", \"ember-cp-validations/-private/ember-validator\", \"ember-validators/format\"], function (_exports, _emberValidator, _format) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validate over a predefined or custom regular expression.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('format', {\n   *    type: 'email',\n   *    allowNonTld: true\n   *  })\n   *  validator('format', {\n   *    allowBlank: true,\n   *    type: 'phone'\n   *  })\n   *  validator('format', {\n   *    type: 'url'\n   *  })\n   *  validator('format', {\n   *    regex: /^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{4,8}$/,\n   *    message: 'Password must include at least one upper case letter, one lower case letter, and a number'\n   *  })\n   *  ```\n   *\n   *  If you do not want to use the predefined regex for a specific type, you can do something like this\n   *\n   *  ```javascript\n   *  validator('format', {\n   *    type: 'email',\n   *    regex: /My Better Email Regexp/\n   *  })\n   *  ```\n   *\n   *  This allows you to still keep the email error message but with your own custom regex.\n   *\n   *  @class Format\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'format',\n    regularExpressions: _format.regularExpressions\n  });\n});","define(\"ember-cp-validations/validators/has-many\", [\"exports\", \"ember-cp-validations/validators/base\", \"ember-cp-validations/utils/utils\"], function (_exports, _base, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Identifies a `has-many` relationship in an Ember Data Model or Ember.Object.\n   *  This is used to create a validation collection of the `has-many` validations.\n   *\n   *  _**Note:** Validations must exist on **all** models/objects_\n   *\n   *  ### Ember Models\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    friends: validator('has-many')\n   *  });\n   *\n   *  export default DS.Model.extend(Validations, {\n   *    friends: DS.hasMany('user')\n   *  });\n   *  ```\n   *\n   *  ### Ember Objects\n   *\n   *  ```javascript\n   *  // model/users.js\n   *\n   *  const Validations = buildValidations({\n   *    friends: validator('has-many')\n   *  });\n   *\n   *  export default Ember.Object.extend(Validations, {\n   *    friends: null\n   *  });\n   *  ```\n   *\n   *  From our `user` model, we can now check validation properties on the `friends` attribute.\n   *\n   *  ```javascript\n   *  get(model, 'validations.attrs.friends.isValid')\n   *  get(model, 'validations.attrs.friends.messages')\n   *  ```\n   *\n   *  @class Has Many\n   *  @module Validators\n   *  @extends Base\n   */\n  const HasMany = _base.default.extend({\n    validate(value, ...args) {\n      if (value) {\n        if ((0, _utils.isPromise)(value)) {\n          return value.then(models => this.validate(models, ...args));\n        }\n        return value.map(m => Ember.get(m, 'validations'));\n      }\n      return true;\n    }\n  });\n  HasMany.reopenClass({\n    getDependentsFor(attribute) {\n      /*\n        The content.@each.isDeleted must be added for older ember-data versions\n       */\n      return [`model.${attribute}.[]`, `model.${attribute}.@each.isDeleted`, `model.${attribute}.content.@each.isDeleted`, `model.${attribute}.@each.validations`, `model.${attribute}.content.@each.validations`];\n    }\n  });\n  var _default = _exports.default = HasMany;\n});","define(\"ember-cp-validations/validators/inclusion\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that the attributes’ values are included in a given list. All comparisons are done using strict equality so type matters!\n   *  For range, the value type is checked against both lower and upper bounds for type equality.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('inclusion', {\n   *    in: ['User', 'Admin']\n   *  })\n   *  validator('inclusion', {\n   *    range: [0, 5] // Must be between 0 (inclusive) to 5 (inclusive)\n   *  })\n   *  ```\n   *\n   *  Because of the strict equality comparisons, you can use this validator in many different ways.\n   *\n   *  ```javascript\n   *  validator('inclusion', {\n   *    in: ['Admin'] // Input must be equal to 'Admin'\n   *  })\n   *  validator('inclusion', {\n   *    range: [0, Infinity] // Input must be positive number\n   *  })\n   *  validator('inclusion', {\n   *    range: [-Infinity, Infinity] // Input must be a number\n   *  })\n   *  ```\n   *\n   *  @class Inclusion\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'inclusion'\n  });\n});","define(\"ember-cp-validations/validators/inline\", [\"exports\", \"ember-cp-validations/validators/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  Accepts a custom `validate` function.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('inline', {\n   *    username: 'offirgolan',\n   *    validate(value, options, model, attribute) {\n   *      return value === options.username ?\n   *             true :\n   *             `Username must be ${options.username}`;\n   *    }\n   *  });\n   *  ```\n   *\n   *  @class Inline\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _base.default.extend({\n    /**\n     * Override the validator's `validate` method with the one that was\n     * passed in via the options.\n     *\n     * @method buildOptions\n     * @param  {Object}     options\n     * @param  {Object}     defaultOptions\n     * @param  {Object}     globalOptions\n     * @return {Object}\n     */\n    buildOptions(options = {}, ...args) {\n      (true && !(options && typeof options.validate === 'function') && Ember.assert(`[validator:inline] You must pass in a validate function`, options && typeof options.validate === 'function'));\n      const opts = Object.assign({}, options);\n      this.validate = opts.validate;\n      delete opts.validate;\n      return this._super(opts, ...args);\n    }\n  });\n});","define(\"ember-cp-validations/validators/length\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates the length of the attributes’ values.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('length', {\n   *    is: 15\n   *  })\n   *  validator('length', {\n   *    min: 5,\n   *    max: 10\n   *  })\n   *  ```\n   *\n   *  @class Length\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'length'\n  });\n});","define(\"ember-cp-validations/validators/messages\", [\"exports\", \"ember-validators/messages\"], function (_exports, _messages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  The default validation error messages are imported in your app's `validators` folder.\n   *  If you want to change or extend them, all you need to do is create a `messages.js` file under `app/validators`.\n   *\n   *  ```javascript\n   *  // app/validators/messages.js\n   *\n   *  import Messages from 'ember-cp-validations/validators/messages';\n   *\n   *  export default Messages.extend({\n   *    uniqueUsername: '{description} {username} already exists'\n   *  });\n   *  ```\n   *\n   *  Within this object, you can overwrite the [default messages](https://github.com/adopted-ember-addons/ember-cp-validations/blob/master/addon/validators/messages.js) or create new messages just like in the example above.\n   *  If a message of a given type is not found, it will default to the `invalid` message.\n   *  Usage examples can be found {{#crossLink \"Base/createErrorMessage:method\"}}here{{/crossLink}}\n   *\n   *  @class Messages\n   *  @module Validators\n   */\n  var _default = _exports.default = Ember.Object.extend(_messages.default);\n});","define(\"ember-cp-validations/validators/number\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  Validates that your attributes have only numeric values.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('number') // Simple check if the value is a number\n   *  validator('number', {\n   *    allowString: true,\n   *    integer: true,\n   *    gt: 5,\n   *    lte: 100\n   *  })\n   *  ```\n   *\n   *  @class Number\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'number'\n  });\n});","define(\"ember-cp-validations/validators/presence\", [\"exports\", \"ember-cp-validations/-private/ember-validator\"], function (_exports, _emberValidator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  <i class=\"fa fa-hand-o-right\" aria-hidden=\"true\"></i> [See All Options](#method_validate)\n   *\n   *  If `true` validates that the given value is not empty, if `false`, validates that the given value is empty.\n   *\n   *  ## Examples\n   *\n   *  ```javascript\n   *  validator('presence', true)\n   *  validator('presence', false)\n   *  validator('presence', {\n   *    presence: true,\n   *    message: 'should not be empty'\n   *  })\n   *\n   *  validator('presence', {\n   *    presence: true,\n   *    ignoreBlank: true,\n   *    message: 'should not be empty or consist only of spaces'\n   *  })\n   *  ```\n   *\n   *  @class Presence\n   *  @module Validators\n   *  @extends Base\n   */\n  var _default = _exports.default = _emberValidator.default.extend({\n    _evType: 'presence',\n    /**\n     * Normalized options passed in.\n     * ```js\n     * validator('presence', true)\n     * // Becomes\n     * validator('presence', {\n     *   presence: true\n     * })\n     * ```\n     *\n     * @method buildOptions\n     * @param  {Object}     options\n     * @param  {Object}     defaultOptions\n     * @param  {Object}     globalOptions\n     * @return {Object}\n     */\n    buildOptions(options = {}, defaultOptions = {}, globalOptions = {}) {\n      let opts = options;\n      if (typeof options === 'boolean') {\n        opts = {\n          presence: options\n        };\n      }\n      return this._super(opts, defaultOptions, globalOptions);\n    }\n  });\n});","define('ember-data/-private', ['exports', '@ember-data/store', 'ember-data/version', '@ember-data/model/-private', '@ember-data/store/-private', '@ember-data/record-data/-private'], function (exports, store, VERSION, Private, Private$1, Private$2) { 'use strict';\n\n  store = store && Object.prototype.hasOwnProperty.call(store, 'default') ? store['default'] : store;\n  VERSION = VERSION && Object.prototype.hasOwnProperty.call(VERSION, 'default') ? VERSION['default'] : VERSION;\n\n  var DS = Ember.Namespace.create({\n    VERSION: VERSION,\n    name: 'DS'\n  });\n  if (Ember.libraries) {\n    Ember.libraries.registerCoreLibrary('Ember Data', VERSION);\n  }\n\n  exports.Store = store;\n  Object.defineProperty(exports, 'Errors', {\n    enumerable: true,\n    get: function () {\n      return Private.Errors;\n    }\n  });\n  Object.defineProperty(exports, 'ManyArray', {\n    enumerable: true,\n    get: function () {\n      return Private.ManyArray;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseManyArray', {\n    enumerable: true,\n    get: function () {\n      return Private.PromiseManyArray;\n    }\n  });\n  Object.defineProperty(exports, 'AdapterPopulatedRecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private$1.AdapterPopulatedRecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'InternalModel', {\n    enumerable: true,\n    get: function () {\n      return Private$1.InternalModel;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseArray', {\n    enumerable: true,\n    get: function () {\n      return Private$1.PromiseArray;\n    }\n  });\n  Object.defineProperty(exports, 'PromiseObject', {\n    enumerable: true,\n    get: function () {\n      return Private$1.PromiseObject;\n    }\n  });\n  Object.defineProperty(exports, 'RecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private$1.RecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'RecordArrayManager', {\n    enumerable: true,\n    get: function () {\n      return Private$1.RecordArrayManager;\n    }\n  });\n  Object.defineProperty(exports, 'RootState', {\n    enumerable: true,\n    get: function () {\n      return Private$1.RootState;\n    }\n  });\n  Object.defineProperty(exports, 'Snapshot', {\n    enumerable: true,\n    get: function () {\n      return Private$1.Snapshot;\n    }\n  });\n  Object.defineProperty(exports, 'SnapshotRecordArray', {\n    enumerable: true,\n    get: function () {\n      return Private$1.SnapshotRecordArray;\n    }\n  });\n  Object.defineProperty(exports, 'coerceId', {\n    enumerable: true,\n    get: function () {\n      return Private$1.coerceId;\n    }\n  });\n  Object.defineProperty(exports, 'normalizeModelName', {\n    enumerable: true,\n    get: function () {\n      return Private$1.normalizeModelName;\n    }\n  });\n  Object.defineProperty(exports, 'RecordData', {\n    enumerable: true,\n    get: function () {\n      return Private$2.RecordData;\n    }\n  });\n  Object.defineProperty(exports, 'Relationship', {\n    enumerable: true,\n    get: function () {\n      return Private$2.Relationship;\n    }\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-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/debug\", \"@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, _adapter, _error, _jsonApi, _rest, _debug, _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  if (Ember.VERSION.match(/^1\\.([0-9]|1[0-2])\\./)) {\n    throw new Ember.Error('Ember Data requires at least Ember 1.13.0, but you have ' + Ember.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 = _error.default;\n  _private2.DS.InvalidError = _error.InvalidError;\n  _private2.DS.TimeoutError = _error.TimeoutError;\n  _private2.DS.AbortError = _error.AbortError;\n  _private2.DS.UnauthorizedError = _error.UnauthorizedError;\n  _private2.DS.ForbiddenError = _error.ForbiddenError;\n  _private2.DS.NotFoundError = _error.NotFoundError;\n  _private2.DS.ConflictError = _error.ConflictError;\n  _private2.DS.ServerError = _error.ServerError;\n  _private2.DS.errorsHashToArray = _error.errorsHashToArray;\n  _private2.DS.errorsArrayToHash = _error.errorsArrayToHash;\n  _private2.DS.Serializer = _serializer.default;\n  _private2.DS.DebugAdapter = _debug.default;\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-data/store\"], function (_exports, _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) && Ember.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      }));\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.24.2\";\n});","define(\"ember-debug-logger/index\", [\"exports\", \"ember-debug-logger/utils/debug-logger\"], function (_exports, _debugLogger) {\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 _debugLogger.default;\n    }\n  });\n});","define(\"ember-debug-logger/utils/debug-logger\", [\"exports\", \"debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = debugLogger;\n  _exports.instanceLogger = instanceLogger;\n  /**\n   * Creates a function for debug logging, keyed by either an explicitly-given\n   * namespace or the container key of the object it's attached to.\n   *\n   * Logging can then be enabled during debugging based on globbing of keys.\n   * For instance, to enable logging for all routes, you could enter this in the\n   * developer console:\n   *   debug.enable('route:*');\n   *\n   * Or, to enable all logging:\n   *   debug.enable('*');\n   *\n   * Logging preferences are persisted in local storage, and you'll need to reload\n   * the page for changes to take effect.\n   */\n  function debugLogger(key) {\n    return key ? (0, _debug.default)(key) : instanceLogger;\n  }\n  function instanceLogger() {\n    let host = this;\n    let logger = host && host._debugLoggerInstance;\n    if (!logger) {\n      const loggerKey = host && host._debugContainerKey;\n      if (!loggerKey) {\n        throw new Error('On non-container-managed objects, debug-logger requires an explicit key.');\n      }\n      logger = (0, _debug.default)(loggerKey);\n      Object.defineProperty(this, '_debugLoggerInstance', {\n        value: logger\n      });\n    }\n    return logger.apply(this, arguments);\n  }\n  // For backwards compatibility and convenience in development, expose\n  // `debug` as a global to make e.g. `debug.enable('*')` easy.\n  // @ts-ignore\n  window.debug = _debug.default;\n});","define(\"ember-drag-drop/components/draggable-object-target\", [\"exports\", \"ember-drag-drop/mixins/droppable\"], function (_exports, _droppable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend(_droppable.default, {\n    classNameBindings: ['overrideClass'],\n    overrideClass: 'draggable-object-target',\n    isOver: false,\n    handlePayload(payload, event) {\n      let obj = this.get('coordinator').getObject(payload, {\n        target: this\n      });\n      this.get('action')(obj, {\n        target: this,\n        event: event\n      });\n    },\n    handleDrop(event) {\n      let dataTransfer = event.dataTransfer;\n      let payload = dataTransfer.getData(\"Text\");\n      if (payload === '') {\n        return;\n      }\n      this.handlePayload(payload, event);\n    },\n    acceptDrop(event) {\n      this.handleDrop(event);\n      //Firefox is navigating to a url on drop sometimes, this prevents that from happening\n      event.preventDefault();\n    },\n    handleDragOver(event) {\n      if (!this.get('isOver')) {\n        //only send once per hover event\n        this.set('isOver', true);\n        if (this.get('dragOverAction')) {\n          this.get('dragOverAction')(event);\n        }\n      }\n    },\n    handleDragOut(event) {\n      this.set('isOver', false);\n      if (this.get('dragOutAction')) {\n        this.get('dragOutAction')(event);\n      }\n    },\n    click(e) {\n      let onClick = this.get('onClick');\n      if (onClick) {\n        onClick(e);\n      }\n    },\n    mouseDown(e) {\n      let mouseDown = this.get('onMouseDown');\n      if (mouseDown) {\n        mouseDown(e);\n      }\n    },\n    handleMouseEnter(e) {\n      let mouseEnter = this.get('onMouseEnter');\n      if (mouseEnter) {\n        mouseEnter(e);\n      }\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      this.element.addEventListener('mouseenter', this.boundHandleMouseEnter);\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this.element.removeEventListener('mouseenter', this.boundHandleMouseEnter);\n    },\n    actions: {\n      acceptForDrop() {\n        let hashId = this.get('coordinator.clickedId');\n        this.handlePayload(hashId);\n      }\n    },\n    init() {\n      this._super(...arguments);\n      this.set('boundHandleMouseEnter', this.handleMouseEnter.bind(this));\n    }\n  });\n});","define(\"ember-drag-drop/components/draggable-object\", [\"exports\", \"ember-drag-drop/utils/proxy-unproxy-objects\"], function (_exports, _proxyUnproxyObjects) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    dragCoordinator: Ember.inject.service('drag-coordinator'),\n    overrideClass: 'draggable-object',\n    classNameBindings: [':js-draggableObject', 'isDraggingObject:is-dragging-object:', 'overrideClass'],\n    attributeBindings: ['dragReady:draggable'],\n    isDraggable: true,\n    dragReady: true,\n    isSortable: false,\n    sortingScope: 'drag-objects',\n    title: Ember.computed.alias('content.title'),\n    draggable: Ember.computed('isDraggable', function () {\n      let isDraggable = this.get('isDraggable');\n      return isDraggable || null;\n    }),\n    proxyContent: Ember.computed('content', function () {\n      return (0, _proxyUnproxyObjects.wrapper)(this.get('content'));\n    }),\n    init() {\n      this._super(...arguments);\n      if (this.get('dragHandle')) {\n        this.set('dragReady', false);\n      }\n      this.mouseOverHandler = function () {\n        this.set('dragReady', true);\n      }.bind(this);\n      this.mouseOutHandler = function () {\n        this.set('dragReady', false);\n      }.bind(this);\n    },\n    didInsertElement() {\n      Ember.run.scheduleOnce('afterRender', () => {\n        //if there is a drag handle watch the mouse up and down events to trigger if drag is allowed\n        let dragHandle = this.get('dragHandle');\n        if (dragHandle) {\n          //only start when drag handle is activated\n          if (this.element.querySelector(dragHandle)) {\n            this.element.querySelector(dragHandle).addEventListener('mouseover', this.mouseOverHandler);\n            this.element.querySelector(dragHandle).addEventListener('mouseout', this.mouseOutHandler);\n          }\n        }\n      });\n    },\n    willDestroyElement() {\n      let dragHandle = this.get('dragHandle');\n      if (this.element.querySelector(dragHandle)) {\n        this.element.querySelector(dragHandle).removeEventListener('mouseover', this.mouseOverHandler);\n        this.element.querySelector(dragHandle).removeEventListener('mouseout', this.mouseOutHandler);\n      }\n    },\n    dragStart(event) {\n      if (!this.get('isDraggable') || !this.get('dragReady')) {\n        event.preventDefault();\n        return;\n      }\n      let dataTransfer = event.dataTransfer;\n      let obj = this.get('proxyContent');\n      let id = null;\n      let coordinator = this.get('coordinator');\n      if (coordinator) {\n        id = coordinator.setObject(obj, {\n          source: this\n        });\n      }\n      dataTransfer.setData('Text', id);\n      if (obj && typeof obj === 'object') {\n        Ember.set(obj, 'isDraggingObject', true);\n      }\n      this.set('isDraggingObject', true);\n      if (!this.get('dragCoordinator.enableSort') && this.get('dragCoordinator.sortComponentController')) {\n        //disable drag if sorting is disabled this is not used for regular\n        event.preventDefault();\n        return;\n      } else {\n        Ember.run.next(() => {\n          this.dragStartHook(event);\n        });\n        this.get('dragCoordinator').dragStarted(obj, event, this);\n      }\n      if (this.get('dragStartAction')) {\n        this.get('dragStartAction')(obj, event);\n      }\n      if (this.get('isSortable') && this.get('draggingSortItem')) {\n        this.get('draggingSortItem')(obj, event);\n      }\n    },\n    dragEnd(event) {\n      if (!this.get('isDraggingObject')) {\n        return;\n      }\n      let obj = this.get('proxyContent');\n      if (obj && typeof obj === 'object') {\n        Ember.set(obj, 'isDraggingObject', false);\n      }\n      this.set('isDraggingObject', false);\n      this.dragEndHook(event);\n      this.get('dragCoordinator').dragEnded();\n      if (this.get('dragEndAction')) {\n        this.get('dragEndAction')(obj, event);\n      }\n      if (this.get('dragHandle')) {\n        this.set('dragReady', false);\n      }\n    },\n    drag(event) {\n      if (this.get('dragMoveAction')) {\n        this.get('dragMoveAction')(event);\n      }\n    },\n    dragOver(event) {\n      if (this.get('isSortable')) {\n        this.get('dragCoordinator').draggingOver(event, this);\n      }\n      return false;\n    },\n    dragStartHook(event) {\n      event.target.style.opacity = '0.5';\n    },\n    dragEndHook(event) {\n      event.target.style.opacity = '1';\n    },\n    drop(event) {\n      //Firefox is navigating to a url on drop, this prevents that from happening\n      event.preventDefault();\n    },\n    actions: {\n      selectForDrag() {\n        let obj = this.get('proxyContent');\n        let hashId = this.get('coordinator').setObject(obj, {\n          source: this\n        });\n        this.set('coordinator.clickedId', hashId);\n      }\n    }\n  });\n});","define(\"ember-drag-drop/components/object-bin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function removeOne(arr, obj) {\n    var l = arr.get('length');\n    arr.removeObject(obj);\n    var l2 = arr.get('length');\n    if (l - 1 !== l2) {\n      throw new Error(\"bad length \" + l + \" \" + l2);\n    }\n  }\n  var _default = _exports.default = Ember.Component.extend({\n    model: Ember.A(),\n    classNames: ['draggable-object-bin'],\n    manageList: true,\n    objectMoved() {},\n    actions: {\n      handleObjectDropped(obj) {\n        if (this.get('manageList')) {\n          this.get(\"model\").pushObject(obj);\n        }\n        this.trigger(\"objectDroppedInternal\", obj);\n        this.get('objectDropped')({\n          obj: obj,\n          bin: this\n        });\n      },\n      handleObjectDragged(obj) {\n        if (this.get('manageList')) {\n          removeOne(this.get('model'), obj);\n        }\n        this.trigger(\"objectDraggedInternal\", obj);\n        this.get('objectDragged')();\n      }\n    }\n  });\n});","define(\"ember-drag-drop/components/sortable-objects\", [\"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.Component.extend({\n    dragCoordinator: Ember.inject.service('drag-coordinator'),\n    overrideClass: 'sortable-objects',\n    classNameBindings: ['overrideClass'],\n    enableSort: true,\n    useSwap: true,\n    inPlace: false,\n    sortingScope: 'drag-objects',\n    sortableObjectList: Ember.A(),\n    init() {\n      this._super(...arguments);\n      if (this.get('enableSort')) {\n        this.get('dragCoordinator').pushSortComponent(this);\n      }\n    },\n    willDestroyElement() {\n      if (this.get('enableSort')) {\n        this.get('dragCoordinator').removeSortComponent(this);\n      }\n    },\n    dragStart(event) {\n      event.stopPropagation();\n      if (!this.get('enableSort')) {\n        return false;\n      }\n      this.set('dragCoordinator.sortComponentController', this);\n    },\n    dragEnter(event) {\n      //needed so drop event will fire\n      event.stopPropagation();\n      return false;\n    },\n    dragOver(event) {\n      //needed so drop event will fire\n      event.stopPropagation();\n      return false;\n    },\n    drop(event) {\n      event.stopPropagation();\n      event.preventDefault();\n      this.set('dragCoordinator.sortComponentController', undefined);\n      if (this.get('enableSort') && this.get('sortEndAction')) {\n        this.get('sortEndAction')(event);\n      }\n    }\n  });\n});","define(\"ember-drag-drop/mixins/droppable\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Wraps the native drop events to make your components droppable.\n   *\n   * @mixin Droppable\n   */\n\n  var Droppable = Ember.Mixin.create({\n    _currentDrag: null,\n    classNameBindings: ['accepts-drag', 'self-drop'],\n    /**\n     * Read-only className property that is set to true when the component is\n     * receiving a valid drag event. You can style your element with\n     * `.accepts-drag`.\n     *\n     * @property accepts-drag\n     * @private\n     */\n\n    'accepts-drag': false,\n    /**\n     * Will be true when the component is dragged over itself. Can use\n     * `.self-drop` in your css to style (or more common, unstyle) the component.\n     *\n     * @property self-drop\n     * @private\n     */\n\n    'self-drop': false,\n    /**\n      * Validates drag events. Override this to restrict which data types your\n      * component accepts.\n      *\n      * Example:\n      *\n      * ```js\n      * validateDragEvent(event) {\n      *   return event.dataTransfer.types.contains('text/x-foo');\n      * }\n      * ```\n      *\n      * @method validateDragEvent\n      * @public\n      */\n\n    validateDragEvent() {\n      return true;\n    },\n    /**\n     * Called when a valid drag event is dropped on the component. Override to\n     * actually make something happen.\n     *\n     * ```js\n     * acceptDrop: function(event) {\n     *   var data = event.dataTransfer.getData('text/plain');\n     *   doSomethingWith(data);\n     * }\n     * ```\n     *\n     * @method acceptDrop\n     * @public\n     */\n\n    acceptDrop() {},\n    handleDragOver() {},\n    handleDragOut() {},\n    /**\n     * @method dragOver\n     * @private\n     */\n\n    dragOver(event) {\n      if (this._droppableIsDraggable(event)) {\n        this.set('self-drop', true);\n      }\n      if (this.get('accepts-drag')) {\n        return this._allowDrop(event);\n      }\n      if (this.validateDragEvent(event)) {\n        this.set('accepts-drag', true);\n        this._allowDrop(event);\n      } else {\n        this._resetDroppability();\n      }\n    },\n    /**\n     * @method dragEnter\n     * @private\n     */\n\n    dragEnter() {\n      return false;\n    },\n    /**\n     * @method drop\n     * @private\n     */\n\n    drop(event) {\n      // have to validate on drop because you may have nested sortables the\n      // parent allows the drop but the child receives it, revalidating allows\n      // the event to bubble up to the parent to handle it\n      if (!this.validateDragEvent(event)) {\n        return;\n      }\n      this.acceptDrop(event);\n      this._resetDroppability();\n      // TODO: might not need this? I can't remember why its here\n      event.stopPropagation();\n      return false;\n    },\n    /**\n     * Tells the browser we have an acceptable drag event.\n     *\n     * @method _allowDrop\n     * @private\n     */\n\n    _allowDrop(event) {\n      this.handleDragOver(event);\n      event.stopPropagation();\n      event.preventDefault();\n      return false;\n    },\n    /**\n     * We want to be able to know if the current drop target is the original\n     * element being dragged or a child of it.\n     *\n     * @method _droppableIsDraggable\n     * @private\n     */\n\n    _droppableIsDraggable(event) {\n      return Droppable._currentDrag && (Droppable._currentDrag === event.target || Droppable._currentDrag.contains(event.target));\n    },\n    /**\n     * @method _resetDroppability\n     * @private\n     */\n\n    _resetDroppability(event) {\n      this.handleDragOut(event);\n      this.set('accepts-drag', false);\n      this.set('self-drop', false);\n    },\n    dragLeave() {\n      this._resetDroppability();\n    },\n    // Need to track this so we can determine `self-drop`.\n    // It's on `Droppable` so we can test :\\\n    dragStart(event) {\n      this.set('_currentDrag', event.target);\n    }\n  });\n  var _default = _exports.default = Droppable;\n});","define(\"ember-drag-drop/services/drag-coordinator\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function indexOf(items, a) {\n    return items.findIndex(function (element) {\n      return Ember.isEqual(element, a);\n    });\n  }\n  function swapInPlace(items, a, b) {\n    const aPos = indexOf(items, a);\n    const bPos = indexOf(items, b);\n    items.replace(aPos, 1, [b]);\n    items.replace(bPos, 1, [a]);\n  }\n  function shiftInPlace(items, a, b) {\n    const aPos = indexOf(items, a);\n    const bPos = indexOf(items, b);\n    items.removeAt(aPos);\n    items.insertAt(bPos, a);\n  }\n  var _default = _exports.default = Ember.Service.extend({\n    sortComponentController: null,\n    currentDragObject: null,\n    currentDragEvent: null,\n    currentDragItem: null,\n    currentOffsetItem: null,\n    isMoving: false,\n    lastEvent: null,\n    init() {\n      this._super(...arguments);\n      // Use object for sortComponents so that we can scope per sortingScope\n      this.set('sortComponents', {});\n    },\n    arrayList: Ember.computed.alias('sortComponentController.sortableObjectList'),\n    enableSort: Ember.computed.alias('sortComponentController.enableSort'),\n    useSwap: Ember.computed.alias('sortComponentController.useSwap'),\n    inPlace: Ember.computed.alias('sortComponentController.inPlace'),\n    pushSortComponent(component) {\n      const sortingScope = component.get('sortingScope');\n      if (!this.get('sortComponents')[sortingScope]) {\n        this.get('sortComponents')[sortingScope] = Ember.A();\n      }\n      this.get('sortComponents')[sortingScope].pushObject(component);\n    },\n    removeSortComponent(component) {\n      const sortingScope = component.get('sortingScope');\n      this.get('sortComponents')[sortingScope].removeObject(component);\n    },\n    dragStarted(object, event, emberObject) {\n      this.set('currentDragObject', object);\n      this.set('currentDragEvent', event);\n      this.set('currentDragItem', emberObject);\n      event.dataTransfer.effectAllowed = 'move';\n    },\n    dragEnded() {\n      this.set('currentDragObject', null);\n      this.set('currentDragEvent', null);\n      this.set('currentDragItem', null);\n      this.set('currentOffsetItem', null);\n    },\n    draggingOver(event, emberObject) {\n      const currentOffsetItem = this.get('currentOffsetItem');\n      const pos = this.relativeClientPosition(emberObject.element, event);\n      const hasSameSortingScope = this.get('currentDragItem.sortingScope') === emberObject.get('sortingScope');\n      let moveDirections = [];\n      if (!this.get('lastEvent')) {\n        this.set('lastEvent', event);\n      }\n      if (event.clientY < this.get('lastEvent').clientY) {\n        moveDirections.push('up');\n      }\n      if (event.clientY > this.get('lastEvent').clientY) {\n        moveDirections.push('down');\n      }\n      if (event.clientX < this.get('lastEvent').clientX) {\n        moveDirections.push('left');\n      }\n      if (event.clientX > this.get('lastEvent').clientX) {\n        moveDirections.push('right');\n      }\n      this.set('lastEvent', event);\n      if (!this.get('isMoving') && this.get('currentDragEvent')) {\n        if (event.target !== this.get('currentDragEvent').target && hasSameSortingScope) {\n          //if not dragging over self\n          if (currentOffsetItem !== emberObject) {\n            if (pos.py < 0.67 && moveDirections.indexOf('up') >= 0 || pos.py > 0.33 && moveDirections.indexOf('down') >= 0 || pos.px < 0.67 && moveDirections.indexOf('left') >= 0 || pos.px > 0.33 && moveDirections.indexOf('right') >= 0) {\n              this.moveElements(emberObject);\n              this.set('currentOffsetItem', emberObject);\n            }\n          }\n        } else {\n          //reset because the node moved under the mouse with a move\n          this.set('currentOffsetItem', null);\n        }\n      }\n    },\n    moveObjectPositions(a, b, sortComponents) {\n      const aSortable = sortComponents.find(component => {\n        return component.get('sortableObjectList').find(sortable => {\n          return Ember.isEqual(sortable, a);\n        });\n      });\n      const bSortable = sortComponents.find(component => {\n        return component.get('sortableObjectList').find(sortable => {\n          return Ember.isEqual(sortable, b);\n        });\n      });\n      const swap = aSortable === bSortable;\n      if (swap) {\n        let list = aSortable.get('sortableObjectList');\n        if (!this.get('inPlace')) {\n          list = Ember.A(list.toArray());\n        }\n        if (this.get('useSwap')) {\n          swapInPlace(list, a, b);\n        } else {\n          shiftInPlace(list, a, b);\n        }\n        if (!this.get('inPlace')) {\n          aSortable.set('sortableObjectList', list);\n        }\n      } else {\n        // Move if items are in different sortable-objects component\n        const aList = aSortable.get('sortableObjectList');\n        const bList = bSortable.get('sortableObjectList');\n\n        // Remove from aList and insert into bList\n        aList.removeObject(a);\n        bList.insertAt(indexOf(bList, b), a);\n      }\n    },\n    moveElements(overElement) {\n      const isEnabled = Object.keys(this.get('sortComponents')).length;\n      const draggingItem = this.get('currentDragItem');\n      const sortComponents = this.get('sortComponents')[draggingItem.get('sortingScope')];\n      if (!isEnabled) {\n        return;\n      }\n      this.moveObjectPositions(draggingItem.get('content'), overElement.get('content'), sortComponents);\n      sortComponents.forEach(component => {\n        component.rerender();\n      });\n    },\n    relativeClientPosition(el, event) {\n      const rect = el.getBoundingClientRect();\n      const x = event.clientX - rect.left;\n      const y = event.clientY - rect.top;\n      return {\n        x: x,\n        y: y,\n        px: x / rect.width,\n        py: y / rect.height\n      };\n    }\n  });\n});","define(\"ember-drag-drop/utils/proxy-unproxy-objects\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.unwrapper = unwrapper;\n  _exports.wrapper = wrapper;\n  /**\n   * On drag action we need to provide a property `isDraggingObject` to the UI.\n   * This utility is used to create a wrapper object around the object passed to the proxy function.\n   * We use this wrapper to prevent the `draggable-object` from mutating the original object by appending\n   * `isDraggingObject` to the content.\n   * \n   * This unexpected mutation causes problems when the targeted content is not prepared to handle\n   * the additional property, and potentially leaks local state onto an object that likely holds state\n   * for the route or application more generally.\n   */\n\n  /**\n   * @access public\n   * Returns the passed object wrapped within new object.\n   * Used to proxy draggable objects.\n   * @param objectToProxy Object to proxy.\n   * @returns {Object} Proxy object.\n   */\n  function wrapper(objectToProxy) {\n    // If we do not have any content for the object to proxy, \n    // we do not wish to render that item.\n    if (!Ember.isNone(objectToProxy)) {\n      const guidKey = Ember.guidFor(objectToProxy);\n      return {\n        [guidKey]: objectToProxy,\n        unwrappingKey: guidKey,\n        id: objectToProxy.id\n      };\n    }\n    return null;\n  }\n\n  /**\n   * @access public\n   * Returns the content of the passed object.\n   * Used to un-proxy draggable objects.\n   * @param objectToUnproxy Object to un-proxy.\n   * @returns {Object} Content of the proxy object.\n   */\n  function unwrapper(objectToUnproxy) {\n    if (!Ember.isNone(objectToUnproxy)) {\n      return objectToUnproxy[objectToUnproxy.unwrappingKey];\n    }\n    return null;\n  }\n});","define(\"ember-element-helper/helpers/-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function UNINITIALIZED() {}\n  const DynamicElement = Ember.Component.extend();\n  const DynamicElementAlt = Ember.Component.extend();\n  var _default = _exports.default = Ember.Helper.extend({\n    init() {\n      this._super(...arguments);\n      this.tagName = UNINITIALIZED;\n      this.componentClass = null;\n    },\n    compute(params, hash) {\n      (true && !(params.length === 1) && Ember.assert('The `element` helper takes a single positional argument', params.length === 1));\n      (true && !(Object.keys(hash).length === 0) && Ember.assert('The `element` helper does not take any named arguments', Object.keys(hash).length === 0));\n      let tagName = params[0];\n      if (tagName !== this.tagName) {\n        this.tagName = tagName;\n        if (typeof tagName === 'string') {\n          // return a different component name to force a teardown\n          if (this.componentClass === DynamicElement) {\n            this.componentClass = DynamicElementAlt;\n          } else {\n            this.componentClass = DynamicElement;\n          }\n        } else {\n          this.componentClass = null;\n          Ember.runInDebug(() => {\n            let message = 'The argument passed to the `element` helper must be a string';\n            try {\n              message += ` (you passed \\`${tagName}\\`)`;\n            } catch (e) {\n              // ignore\n            }\n            (true && !(tagName === undefined || tagName === null) && Ember.assert(message, tagName === undefined || tagName === null));\n          });\n        }\n      }\n      return this.componentClass;\n    }\n  });\n});","define(\"ember-element-helper/helpers/element\", [\"exports\", \"@embroider/util\"], function (_exports, _util) {\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); } // eslint-disable-next-line ember/no-classic-components\n  function UNINITIALIZED() {}\n  class ElementHelper extends Ember.Helper {\n    constructor() {\n      super(...arguments);\n      this.tagName = UNINITIALIZED;\n      this.componentClass = null;\n    }\n    compute(params, hash) {\n      (true && !(params.length === 1) && Ember.assert('The `element` helper takes a single positional argument', params.length === 1));\n      (true && !(Object.keys(hash).length === 0) && Ember.assert('The `element` helper does not take any named arguments', Object.keys(hash).length === 0));\n      let tagName = params[0];\n      if (tagName !== this.tagName) {\n        this.tagName = tagName;\n        if (typeof tagName === 'string') {\n          this.componentClass = (0, _util.ensureSafeComponent)(class DynamicElement extends Ember.Component {\n            constructor(...args) {\n              super(...args);\n              _defineProperty(this, \"tagName\", tagName);\n            } // eslint-disable-line ember/require-tagless-components\n          }, this);\n        } else {\n          this.componentClass = null;\n          Ember.runInDebug(() => {\n            let message = 'The argument passed to the `element` helper must be a string';\n            try {\n              message += ` (you passed \\`${tagName}\\`)`;\n            } catch (e) {\n              // ignore\n            }\n            (true && !(tagName === undefined || tagName === null) && Ember.assert(message, tagName === undefined || tagName === null));\n          });\n        }\n      }\n      return this.componentClass;\n    }\n  }\n  _exports.default = ElementHelper;\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\"], function (_exports) {\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          Ember.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-fetch/utils/serialize-query-params\", \"ember-fetch/types\"], function (_exports, _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 = Ember.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-file-upload/components/base-component\", [\"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.Component.extend({\n    fileQueue: Ember.inject.service(),\n    didReceiveAttrs() {\n      this._super(...arguments);\n      if (this.queue) {\n        let {\n          accept,\n          multiple,\n          disabled,\n          onFileAdd\n        } = this;\n        Ember.setProperties(this.queue, {\n          accept,\n          multiple,\n          disabled,\n          onFileAdd\n        });\n      }\n    },\n    queue: Ember.computed('name', {\n      get() {\n        let queueName = this.name;\n        if (queueName != null) {\n          let queues = this.fileQueue;\n          return queues.find(queueName) || queues.create(queueName);\n        } else {\n          return undefined;\n        }\n      }\n    })\n  });\n});","define(\"ember-file-upload/components/file-dropzone/component\", [\"exports\", \"ember-file-upload/components/base-component\", \"ember-file-upload/components/file-dropzone/template\", \"ember-file-upload/system/data-transfer\", \"ember-file-upload/system/uuid\", \"ember-file-upload/system/parse-html\", \"ember-file-upload/system/drag-listener\"], function (_exports, _baseComponent, _template, _dataTransfer, _uuid, _parseHtml, _dragListener) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const DATA_TRANSFER = 'DATA_TRANSFER' + _uuid.default.short();\n  let supported = function () {\n    return typeof window !== 'undefined' && window.document && 'draggable' in document.createElement('span');\n  }();\n  const dragListener = new _dragListener.default();\n\n  /**\n    `FileDropzone` is a component that will allow users to upload files by\n     drag and drop.\n  \n    ```hbs\n    <FileDropzone @name=\"photos\" as |dropzone queue|>\n      {{#if dropzone.active}}\n        {{#if dropzone.valid}}\n          Drop to upload\n        {{else}}\n          Invalid\n        {{/if}}\n      {{else if queue.files.length}}\n        Uploading {{queue.files.length}} files. ({{queue.progress}}%)\n      {{else}}\n        <h4>Upload Images</h4>\n        <p>\n          {{#if dropzone.supported}}\n            Drag and drop images onto this area to upload them or\n          {{/if}}\n          <FileUpload @name=\"photos\"\n                      @accept=\"image/*\"\n                      @multiple=true\n                      @onFileAdd={{this.uploadImage}}>\n            <a id=\"upload-image\" tabindex=0>Add an Image.</a>\n          </FileUpload>\n        </p>\n      {{/if}}\n    </FileDropzone>\n    ```\n  \n    ```js\n    import Controller from '@ember/controller';\n  \n    export default Ember.Route.extend({\n      actions: {\n        uploadImage(file) {\n         file.upload(URL, options).then((response) => {\n            ...\n         });\n        }\n      }\n    });\n    ```\n  \n    @class FileDropzone\n    @type Ember.Component\n    @yield {Hash} dropzone\n    @yield {boolean} dropzone.supported\n    @yield {boolean} dropzone.active\n    @yield {boolean} dropzone.valid\n    @yield {Queue} queue\n   */\n  var _default = _exports.default = _baseComponent.default.extend({\n    layout: _template.default,\n    supported,\n    active: false,\n    valid: true,\n    /**\n      Whether multiple files can be selected when uploading.\n      @argument multiple\n      @type {boolean}\n     */\n    multiple: null,\n    /**\n      The name of the queue to upload the file to.\n       @argument name\n      @type {string}\n      @required\n     */\n    name: null,\n    /**\n      If set, disables input and prevents files from being added to the queue\n       @argument disabled\n      @type {boolean}\n      @default false\n     */\n    disabled: false,\n    /**\n      A list of MIME types / extensions to be accepted by the input\n      @argument accept\n      @type {string}\n     */\n    accept: null,\n    /**\n      `onFileAdd` is called when a file is selected.\n       When multiple files are selected, this function\n      is called once for every file that was selected.\n       @argument onFileAdd\n      @type {function}\n      @required\n     */\n    onFileAdd: null,\n    onfileadd: Ember.computed.deprecatingAlias('onFileAdd', {\n      id: 'ember-file-upload.deprecate-non-camel-case-events',\n      until: '5.0.0'\n    }),\n    /**\n      `onDragEnter` is called when a file has entered\n      the dropzone.\n       @argument onDragEnter\n      @type {function}\n     */\n    onDragEnter: null,\n    ondragenter: Ember.computed.deprecatingAlias('onDragEnter', {\n      id: 'ember-file-upload.deprecate-non-camel-case-events',\n      until: '5.0.0'\n    }),\n    /**\n      `onDragLeave` is called when a file has left\n      the dropzone.\n       @argument onDragLeave\n      @type {function}\n     */\n    onDragLeave: null,\n    ondragleave: Ember.computed.deprecatingAlias('onDragLeave', {\n      id: 'ember-file-upload.deprecate-non-camel-case-events',\n      until: '5.0.0'\n    }),\n    /**\n      `onDrop` is called when a file has been dropped.\n       @argument onDrop\n      @type {function}\n     */\n    onDrop: null,\n    ondrop: Ember.computed.deprecatingAlias('onDrop', {\n      id: 'ember-file-upload.deprecate-non-camel-case-events',\n      until: '5.0.0'\n    }),\n    /**\n      Whether users can upload content\n      from websites by dragging images from\n      another webpage and dropping it into\n      your app. The default is `false` to\n      prevent cross-site scripting issues.\n       @argument allowUploadsFromWebsites\n      @type {boolean}\n      @default false\n     */\n    allowUploadsFromWebsites: false,\n    /**\n      This is the type of cursor that should\n      be shown when a drag event happens.\n       Corresponds to `dropEffect`.\n       This is one of the following:\n       - `copy`\n      - `move`\n      - `link`\n       @argument cursor\n      @type {string}\n      @default null\n     */\n    cursor: null,\n    didInsertElement() {\n      this._super();\n      dragListener.addEventListeners(`#${this.elementId}`, {\n        dragenter: Ember.run.bind(this, 'didEnterDropzone'),\n        dragleave: Ember.run.bind(this, 'didLeaveDropzone'),\n        dragover: Ember.run.bind(this, 'didDragOver'),\n        drop: Ember.run.bind(this, 'didDrop')\n      });\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      dragListener.removeEventListeners(`#${this.elementId}`);\n    },\n    isAllowed() {\n      const {\n        environment\n      } = Ember.getOwner(this).resolveRegistration('config:environment');\n      return environment === 'test' || this[DATA_TRANSFER].source === 'os' || this.allowUploadsFromWebsites;\n    },\n    didEnterDropzone(evt) {\n      let dataTransfer = _dataTransfer.default.create({\n        queue: this.queue,\n        source: evt.source,\n        dataTransfer: evt.dataTransfer,\n        itemDetails: evt.itemDetails\n      });\n      this[DATA_TRANSFER] = dataTransfer;\n      if (this.isAllowed()) {\n        evt.dataTransfer.dropEffect = this.cursor;\n        Ember.set(this, 'active', true);\n        Ember.set(this, 'valid', dataTransfer.valid);\n        if (this.onDragEnter) {\n          this.onDragEnter(dataTransfer);\n        }\n      }\n    },\n    didLeaveDropzone(evt) {\n      Ember.set(this[DATA_TRANSFER], 'dataTransfer', evt.dataTransfer);\n      if (this.isAllowed()) {\n        if (evt.dataTransfer) {\n          evt.dataTransfer.dropEffect = this.cursor;\n        }\n        if (this.onDragLeave) {\n          this.onDragLeave(this[DATA_TRANSFER]);\n          this[DATA_TRANSFER] = null;\n        }\n        if (this.isDestroyed) {\n          return;\n        }\n        Ember.set(this, 'active', false);\n      }\n    },\n    didDragOver(evt) {\n      Ember.set(this[DATA_TRANSFER], 'dataTransfer', evt.dataTransfer);\n      if (this.isAllowed()) {\n        evt.dataTransfer.dropEffect = this.cursor;\n      }\n    },\n    didDrop(evt) {\n      Ember.set(this[DATA_TRANSFER], 'dataTransfer', evt.dataTransfer);\n      if (!this.isAllowed()) {\n        evt.dataTransfer.dropEffect = this.cursor;\n        this[DATA_TRANSFER] = null;\n        return;\n      }\n\n      // Testing support for dragging and dropping images\n      // from other browser windows\n      let url;\n      let html = this[DATA_TRANSFER].getData('text/html');\n      if (html) {\n        let parsedHtml = (0, _parseHtml.default)(html);\n        let img = parsedHtml.getElementsByTagName('img')[0];\n        if (img) {\n          url = img.src;\n        }\n      }\n      if (url == null) {\n        url = this[DATA_TRANSFER].getData('text/uri-list');\n      }\n      if (url) {\n        var image = new Image();\n        var [filename] = url.split('/').slice(-1);\n        image.crossOrigin = 'anonymous';\n        image.onload = () => {\n          var canvas = document.createElement('canvas');\n          canvas.width = image.width;\n          canvas.height = image.height;\n          var ctx = canvas.getContext('2d');\n          ctx.drawImage(image, 0, 0);\n          if (canvas.toBlob) {\n            canvas.toBlob(blob => {\n              let [file] = this.queue._addFiles([blob], 'web');\n              Ember.set(file, 'name', filename);\n            });\n          } else {\n            let binStr = atob(canvas.toDataURL().split(',')[1]);\n            let len = binStr.length;\n            let arr = new Uint8Array(len);\n            for (var i = 0; i < len; i++) {\n              arr[i] = binStr.charCodeAt(i);\n            }\n            let blob = new Blob([arr], {\n              type: 'image/png'\n            });\n            blob.name = filename;\n            let [file] = this.queue._addFiles([blob], 'web');\n            Ember.set(file, 'name', filename);\n          }\n        };\n        /* eslint-disable no-console */\n        image.onerror = function (e) {\n          console.log(e);\n        };\n        /* eslint-enable no-console */\n        image.src = url;\n      }\n      if (this.onDrop) {\n        this.onDrop(this[DATA_TRANSFER]);\n      }\n\n      // Add file(s) to upload queue.\n      Ember.set(this, 'active', false);\n      this.queue._addFiles(this[DATA_TRANSFER].files, 'drag-and-drop');\n      this[DATA_TRANSFER] = null;\n    }\n  });\n});","define(\"ember-file-upload/components/file-dropzone/template\", [\"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\": \"WVkEFEt+\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[30,[36,0],null,[[\\\"supported\\\",\\\"active\\\",\\\"valid\\\"],[[32,0,[\\\"supported\\\"]],[32,0,[\\\"active\\\"]],[32,0,[\\\"valid\\\"]]]]],[32,0,[\\\"queue\\\"]]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-file-upload/components/file-dropzone/template.hbs\"\n  });\n});","define(\"ember-file-upload/components/file-upload/component\", [\"exports\", \"ember-file-upload/components/base-component\", \"ember-file-upload/components/file-upload/template\", \"ember-file-upload/system/uuid\"], function (_exports, _baseComponent, _template, _uuid) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    `FileUpload` is a component that will open a dialog for\n    users to browse their device for files that they want to upload.\n  \n    For the component to work at its best, each `FileUpload`\n    should be named so the upload can be persisted across pages and\n    show the correct upload percentage when a user visits the page.\n  \n    For a basic use-case of uploading a file after a form is submitted,\n    you can stash the file for later and upload it on the submission of\n    the form.\n  \n    For this example, we'll look at a relatively standard profile form\n    using [`ember-changeset`](https://github.com/DockYard/ember-changeset) to keep track of changes made to the form:\n  \n    ```hbs\n    {{#with (changeset model) as |changeset|}}\n      <form submit={{action 'submit' changeset}}>\n        <label for='name'>\n        {{input type='string' value=changeset.name id='name'}}\n  \n        <FileUpload @name=\"avatar\"\n                    @accept=\"image/*\"\n                    @onFileAdd={{fn this.setAvatar changeset}}>\n          {{#if changeset.avatar}}\n            <img src={{changeset.avatar.url}} />\n            <a id=\"upload-avatar\" tabindex=0>Add a photo of yourself</a>\n          {{else}}\n            <a id=\"upload-avatar\" tabindex=0>Add a photo of yourself</a>\n          {{/if}}\n        </FileUpload>\n      </form>\n    {{/with}}\n    ```\n  \n    ```js\n    import Controller from '@ember/controller';\n  \n    export default Controller.extend({\n      actions: {\n        submit(changeset) {\n          if (changeset.avatar) {\n            let file = changeset.avatar;\n            file.upload('/upload').then((response) => {\n              changeset.set('avatar', {\n                name: file.get('name'),\n                url: response.headers.Location\n              });\n            });\n          }\n  \n          this.currentModel.setProperties(changeset.get('change'));\n          return this.currentModel.save();\n        },\n  \n        setAvatar(changeset, file) {\n          changeset.set('avatar', file);\n  \n          // Set the URL so we can see a preview\n          file.readAsDataURL().then((url) => {\n            changeset.set('url', url);\n          });\n        }\n      }\n    });\n    ```\n  \n    @class FileUpload\n    @type Ember.Component\n    @yield {Queue} queue\n   */\n  const component = _baseComponent.default.extend({\n    tagName: 'label',\n    classNames: ['file-upload'],\n    attributeBindings: ['for'],\n    /**\n      Whether multiple files can be selected when uploading.\n      @argument multiple\n      @type {boolean}\n     */\n    multiple: null,\n    /**\n      The name of the queue to upload the file to.\n       @argument name\n      @type {string}\n      @required\n     */\n    name: null,\n    /**\n      If set, disables input and prevents files from being added to the queue\n       @argument disabled\n      @type {boolean}\n      @default false\n     */\n    disabled: false,\n    /**\n      A comma-separated list of MIME types / extensions to be accepted by the input, as documented here https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept\n      @argument accept\n      @type {string}\n     */\n    accept: null,\n    /**\n      `onFileAdd` is called when a file is selected.\n       When multiple files are selected, this function\n      is called once for every file that was selected.\n       @argument onFileAdd\n      @type {function}\n      @required\n     */\n    onFileAdd: null,\n    onfileadd: Ember.computed.deprecatingAlias('onFileAdd', {\n      id: 'ember-file-upload.deprecate-non-camel-case-events',\n      until: '5.0.0'\n    }),\n    for: Ember.computed({\n      get() {\n        return `file-input-${_uuid.default.short()}`;\n      },\n      set(key, value) {\n        return value;\n      }\n    }),\n    layout: _template.default,\n    /**\n      Specify capture devices which the user may select for file input.\n      @see https://www.w3.org/TR/html-media-capture/\n      @argument capture\n      @type {string}\n     */\n    capture: null,\n    actions: {\n      change(files) {\n        this.queue._addFiles(files, 'browse');\n        this.element.querySelector('input').value = null;\n      }\n    }\n  });\n  if (true /* DEBUG */) {\n    const VALID_TAGS = ['a', 'abbr', 'area', 'audio', 'b', 'bdo', 'br', 'canvas', 'cite', 'circle', 'clipPath', 'code', 'command', 'datalist', 'del', 'dfn', 'em', 'embed', 'i', 'iframe', 'img', 'kbd', 'line', 'mark', 'mask', 'math', 'noscript', 'object', 'q', 'radialGradient', 'rect', 'ruby', 'samp', 'script', 'small', 'span', 'strong', 'sub', 'sup', 'svg', 'time', 'var', 'video', 'wbr', 'path', 'polygon', 'polyline', 'g', 'use'];\n    component.reopen({\n      didInsertElement() {\n        let id = this.for;\n        (true && !(this.tagName === 'label') && Ember.assert(`Changing the tagName of FileUpload to \"${this.tagName}\" will break interactions.`, this.tagName === 'label'));\n        let elements = this.element.querySelectorAll('*');\n        for (let i = 0; i < elements.length; i++) {\n          let element = elements[i];\n          if (element.id !== id && VALID_TAGS.indexOf(element.tagName.toLowerCase()) === -1) {\n            (true && !(false) && Ember.assert(`\"${element.outerHTML}\" is not allowed as a child of FileUpload.`));\n          }\n        }\n      }\n    });\n  }\n  var _default = _exports.default = component;\n});","define(\"ember-file-upload/components/file-upload/template\", [\"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\": \"5f3O9X4P\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@accept\\\",\\\"@capture\\\",\\\"@multiple\\\",\\\"@disabled\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"input\\\"],[15,1,[32,0,[\\\"for\\\"]]],[15,\\\"accept\\\",[32,1]],[15,\\\"capture\\\",[32,2]],[15,\\\"multiple\\\",[32,3]],[15,\\\"disabled\\\",[32,4]],[15,\\\"onchange\\\",[30,[36,0],[[32,0],\\\"change\\\"],[[\\\"value\\\"],[\\\"target.files\\\"]]]],[14,\\\"hidden\\\",\\\"\\\"],[14,4,\\\"file\\\"],[12],[13],[18,5,[[32,0,[\\\"queue\\\"]]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\n    \"moduleName\": \"ember-file-upload/components/file-upload/template.hbs\"\n  });\n});","define(\"ember-file-upload/computed/sum-by\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(collectionKey, itemKey) {\n    return Ember.computed(`${collectionKey}.@each.${itemKey}`, function () {\n      let collection = Ember.get(this, collectionKey);\n      return collection.reduce(function (sum, item) {\n        return sum + Ember.get(item, itemKey);\n      }, 0);\n    });\n  }\n});","define(\"ember-file-upload/file\", [\"exports\", \"ember-file-upload/system/file-reader\", \"ember-file-upload/system/http-request\", \"ember-file-upload/system/uuid\"], function (_exports, _fileReader, _httpRequest, _uuid) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    reads\n  } = Ember.computed;\n  function normalizeOptions(file, url, options) {\n    if (typeof url === 'object') {\n      options = url;\n      url = null;\n    }\n    options = options || {};\n    options.url = options.url || url;\n    options.method = options.method || 'POST';\n    options.accepts = options.accepts || ['application/json', 'text/javascript'];\n    if (!Object.prototype.hasOwnProperty.call(options, 'contentType')) {\n      options.contentType = file.type;\n    }\n    options.headers = options.headers || {};\n    options.data = options.data || {};\n    options.fileKey = options.fileKey || 'file';\n    if (options.headers.Accept == null) {\n      if (!Array.isArray(options.accepts)) {\n        options.accepts = [options.accepts];\n      }\n      options.headers.Accept = options.accepts.join(',');\n    }\n\n    // Set Content-Type in the data payload\n    // instead of the headers, since the header\n    // for Content-Type will always be multipart/form-data\n    if (options.contentType) {\n      options.data['Content-Type'] = options.contentType;\n    }\n    options.data[options.fileKey] = file.blob;\n    options.withCredentials = options.withCredentials || false;\n    return options;\n  }\n  function upload(file, url, opts, uploadFn) {\n    if (['queued', 'failed', 'timed_out', 'aborted'].indexOf(file.state) === -1) {\n      (true && !(false) && Ember.assert(`The file ${file.id} is in the state \"${file.state}\" and cannot be requeued.`));\n    }\n    let options = normalizeOptions(file, url, opts);\n    let request = new _httpRequest.default({\n      withCredentials: options.withCredentials,\n      label: `${options.method} ${file.name} to ${options.url}`\n    });\n    request.open(options.method, options.url);\n    Object.keys(options.headers).forEach(function (key) {\n      request.setRequestHeader(key, options.headers[key]);\n    });\n    if (options.timeout) {\n      request.timeout = options.timeout;\n    }\n    request.onprogress = function (evt) {\n      if (!evt.lengthComputable || evt.total === 0) return;\n      Ember.set(file, 'loaded', evt.loaded);\n      Ember.set(file, 'size', evt.total);\n      Ember.set(file, 'progress', evt.loaded / evt.total * 100);\n    };\n    request.ontimeout = function () {\n      Ember.set(file, 'state', 'timed_out');\n    };\n    request.onabort = function () {\n      Ember.set(file, 'state', 'aborted');\n    };\n    Ember.set(file, 'state', 'uploading');\n\n    // Increment for Ember.Test\n    inflightRequests++;\n    let uploadPromise = uploadFn(request, options);\n    uploadPromise = uploadPromise.then(function (result) {\n      Ember.set(file, 'state', 'uploaded');\n      return result;\n    }, function (error) {\n      Ember.set(file, 'state', 'failed');\n      return Ember.RSVP.reject(error);\n    }).finally(function () {\n      let queue = file.queue;\n      if (queue) {\n        file.queue.flush();\n      }\n\n      // Decrement for Ember.Test\n      inflightRequests--;\n    });\n    return uploadPromise;\n  }\n  let inflightRequests = 0;\n  if (true /* DEBUG */) {\n    Ember.Test.registerWaiter(null, function () {\n      return inflightRequests === 0;\n    });\n  }\n\n  /**\n    Files provide a uniform interface for interacting\n    with data that can be uploaded or read.\n  \n    @class File\n    @extends Ember.Object\n   */\n  var _default = _exports.default = Ember.Object.extend({\n    init() {\n      this._super();\n      Object.defineProperty(this, 'id', {\n        writeable: false,\n        enumerable: true,\n        value: `file-${(0, _uuid.default)()}`\n      });\n    },\n    /**\n      A unique id generated for this file.\n       @property id\n      @type {String}\n      @readonly\n     */\n    id: null,\n    /**\n      The file name.\n       @accessor name\n      @type {String}\n     */\n    name: Ember.computed('blob.name', {\n      get() {\n        return this.blob.name;\n      },\n      set(_, name) {\n        return name;\n      }\n    }),\n    /**\n      The size of the file in bytes.\n       @accessor size\n      @type {Number}\n      @readonly\n     */\n    size: reads('blob.size'),\n    /**\n      The MIME type of the file.\n       For a image file this may be `image/png`.\n       @accessor type\n      @type {String}\n      @readonly\n     */\n    type: reads('blob.type'),\n    /**\n      Returns the appropriate file extension of\n      the file according to the type\n       @accessor extension\n      @type {String}\n      @readonly\n     */\n    extension: Ember.computed('type', {\n      get() {\n        return this.type.split('/').slice(-1)[0];\n      }\n    }),\n    /**\n      @accessor loaded\n      @type {Number}\n      @default 0\n      @readonly\n     */\n    loaded: 0,\n    /**\n      @accessor progress\n      @type {Number}\n      @default 0\n      @readonly\n     */\n    progress: 0,\n    /**\n      The current state that the file is in.\n      One of:\n       - `queued`\n      - `uploading`\n      - `timed_out`\n      - `aborted`\n      - `uploaded`\n      - `failed`\n       Implementers should call flush() on the file's queue after mutating this property.\n       @accessor state\n      @type {String}\n      @default 'queued'\n      @readonly\n     */\n    state: 'queued',\n    /**\n      The source of the file. This is useful\n      for applications that want to gather\n      analytics about how users upload their\n      content.\n       This property can be one of the following:\n       - `browse`\n      - `drag-and-drop`\n      - `web`\n      - `data-url`\n      - `blob`\n       `browse` is the source when the file is created\n      using the native file picker.\n       `drag-and-drop` is the source when the file was\n      created using drag and drop from their desktop.\n       `web` is the source when the file was created\n      by dragging the file from another webpage.\n       `data-url` is the source when the file is created\n      from a data URL using the `fromDataURL` method for\n      files. This usually means that the file was created\n      manually by the developer on behalf of the user.\n       `blob` is the source when the file is created\n      from a blob using the `fromBlob` method for\n      files. This usually means that the file was created\n      manually by the developer.\n       @accessor source\n      @type {String}\n      @default ''\n      @readonly\n     */\n    source: '',\n    /**\n     * Upload file with `application/octet-stream` content type.\n     *\n     * @method uploadBinary\n     * @param {String} url Your server endpoint where to upload the file\n     * @param {hash} opts\n     * @return {Promise}\n     */\n    uploadBinary(url, opts) {\n      opts.contentType = 'application/octet-stream';\n      return upload(this, url, opts, request => {\n        return request.send(this.blob);\n      });\n    },\n    /**\n     * Upload file to your server\n     *\n     * @method upload\n     * @param {String} url Your server endpoint where to upload the file\n     * @param {Hash} opts { fileKey: string, data: { key: string } }\n     * @return {Promise}\n     */\n    upload(url, opts) {\n      return upload(this, url, opts, (request, options) => {\n        // Build the form\n        let form = new FormData();\n        Object.keys(options.data).forEach(key => {\n          if (key === options.fileKey) {\n            form.append(key, options.data[key], this.name);\n          } else {\n            form.append(key, options.data[key]);\n          }\n        });\n        return request.send(form);\n      });\n    },\n    /**\n     * Resolves with Blob as ArrayBuffer\n     *\n     * @method readAsArrayBuffer\n     * @return {Promise}\n     */\n    readAsArrayBuffer() {\n      let reader = new _fileReader.default({\n        label: `Read ${this.name} as an ArrayBuffer`\n      });\n      return reader.readAsArrayBuffer(this.blob);\n    },\n    /**\n     * Resolves with Blob as DataURL\n     *\n     * @method readAsDataURL\n     * @return {Promise}\n     */\n    readAsDataURL() {\n      let reader = new _fileReader.default({\n        label: `Read ${this.name} as a Data URI`\n      });\n      return reader.readAsDataURL(this.blob);\n    },\n    /**\n     * Resolves with Blob as binary string\n     *\n     * @method readAsBinaryString\n     * @return {Promise}\n     */\n    readAsBinaryString() {\n      let reader = new _fileReader.default({\n        label: `Read ${this.name} as a binary string`\n      });\n      return reader.readAsBinaryString(this.blob);\n    },\n    /**\n     * Resolves with Blob as plain text\n     *\n     * @method readAsText\n     * @return {Promise}\n     */\n    readAsText() {\n      let reader = new _fileReader.default({\n        label: `Read ${this.name} as text`\n      });\n      return reader.readAsText(this.blob);\n    }\n  }).reopenClass({\n    /**\n      Creates a file object that can be read or uploaded to a\n      server from a Blob object.\n       @static\n      @method fromBlob\n      @param {Blob} blob The blob to create the file from.\n      @param {String} [source] The source that created the blob.\n      @return {File} A file object\n     */\n    fromBlob(blob, source = 'blob') {\n      let file = this.create();\n      Object.defineProperty(file, 'blob', {\n        writeable: false,\n        enumerable: false,\n        value: blob\n      });\n      Object.defineProperty(file, 'source', {\n        writeable: false,\n        value: source\n      });\n      return file;\n    },\n    /**\n      Creates a file object that can be read or uploaded to a\n      server from a data URL.\n       @static\n      @method fromDataURL\n      @param {String} dataURL The data URL to create the file from.\n      @param {String} [source] The source of the data URL.\n      @return {File} A file object\n     */\n    fromDataURL(dataURL, source = 'data-url') {\n      let [typeInfo, base64String] = dataURL.split(',');\n      let mimeType = typeInfo.match(/:(.*?);/)[1];\n      let binaryString = atob(base64String);\n      let binaryData = new Uint8Array(binaryString.length);\n      for (let i = 0, len = binaryString.length; i < len; i++) {\n        binaryData[i] = binaryString.charCodeAt(i);\n      }\n      let blob = new Blob([binaryData], {\n        type: mimeType\n      });\n      return this.fromBlob(blob, source);\n    }\n  });\n});","define(\"ember-file-upload/helpers/file-queue\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  /**\n    `file-queue` helper is one of the core primitives of ember-file-upload.\n    It has three different flavors of invocation. The first is\n    a bare call, which will return the master queue:\n  \n    ```hbs\n    {{#with (file-queue) as |queue|}}\n      {{queue.progress}}%\n    {{/with}}\n    ```\n  \n    If called with a `name` property, it will return the queue\n    of that name:\n  \n    ```hbs\n    {{#with (file-queue name=\"photos\") as |queue|}}\n      {{queue.progress}}%\n    {{/with}}\n    ```\n  \n    @class FileQueue\n    @param {string} [name] The name of the queue to get information on\n    @return {Queue} A collection of all queues, or a specific queue.\n   */\n  let FileQueueHelper = _exports.default = (_dec = Ember.inject.service('file-queue'), _class = class FileQueueHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"fileQueue\", _descriptor, this);\n    }\n    compute(_, hash) {\n      let queues = this.fileQueue;\n      let queueName = hash['name'];\n      if (queueName) {\n        let queue = queues.find(queueName) || queues.create(queueName);\n        return queue;\n      }\n      return queues;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"fileQueue\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-file-upload/mirage/index\", [\"exports\", \"ember-cli-mirage/response\", \"ember-file-upload/mirage/utils\"], function (_exports, _response, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.upload = upload;\n  const NETWORK = {\n    wired: 50000,\n    // 500 Mb/s\n    wifi: 15000,\n    // 15 Mb/s\n    dsl: 1000,\n    // 1 Mb/s\n    '4g': 3000,\n    // 4 Mb/s\n    '3g': 250,\n    // 250 kb/s\n    '2g': 50,\n    // 50 kb/s\n    gprs: 20,\n    // 20 kb/s\n    offline: 0\n  };\n  function upload(fn, options = {\n    network: null,\n    timeout: null\n  }) {\n    return function (db, request) {\n      let speed = Infinity;\n      if (NETWORK[options.network]) {\n        speed = NETWORK[options.network] * 1024;\n      }\n      let {\n        file,\n        data\n      } = (0, _utils.extractFormData)(request.requestBody);\n      let loaded = 0;\n      let total = file.value.size;\n      return new Ember.RSVP.Promise(resolve => {\n        let start = new Date().getTime();\n        let metadata = (0, _utils.extractFileMetadata)(file.value);\n        let upload = () => {\n          let timedOut = options.timeout && new Date().getTime() - start > options.timeout;\n          if (timedOut || loaded >= total) {\n            request.upload.onprogress({\n              lengthComputable: true,\n              total,\n              loaded: Math.min(loaded, total)\n            });\n            metadata.then(metadata => {\n              request.requestBody = Object.assign({\n                [file.key]: metadata\n              }, data);\n              if (timedOut) {\n                resolve(new _response.default(408));\n                return;\n              }\n              resolve(fn.call(this, db, request));\n            }).catch(error => {\n              resolve(new _response.default(500, {}, {\n                error: error.message\n              }));\n            });\n          } else {\n            request.upload.onprogress({\n              lengthComputable: true,\n              total,\n              loaded\n            });\n            loaded += speed / 20;\n            setTimeout(upload, 50);\n          }\n        };\n        upload();\n      });\n    };\n  }\n});","define(\"ember-file-upload/mirage/utils\", [\"exports\", \"ember-file-upload/system/file-reader\"], function (_exports, _fileReader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.extractFileMetadata = extractFileMetadata;\n  _exports.extractFormData = extractFormData;\n  function extractFormData(formData) {\n    let data = {};\n    let items = formData.entries();\n    let item = items.next();\n    let file = null;\n    while (!item.done) {\n      let [key, value] = item.value;\n      if (value instanceof Blob) {\n        file = {\n          key,\n          value\n        };\n      } else {\n        data[key] = value;\n      }\n      item = items.next();\n    }\n    return {\n      file,\n      data\n    };\n  }\n  let pipelines = {\n    gif(file) {\n      let reader = new _fileReader.default();\n      return reader.readAsArrayBuffer(file).then(function (buffer) {\n        let data = new Uint8Array(buffer);\n        let duration = 0;\n        for (let i = 0; i < data.length; i++) {\n          // Find a Graphic Control Extension hex(21F904__ ____ __00)\n          if (data[i] === 0x21 && data[i + 1] === 0xf9 && data[i + 2] === 0x04 && data[i + 7] === 0x00) {\n            // Swap 5th and 6th bytes to get the delay per frame\n            let delay = data[i + 5] << 8 | data[i + 4] & 0xff;\n\n            // Should be aware browsers have a minimum frame delay\n            // e.g. 6ms for IE, 2ms modern browsers (50fps)\n            duration += delay < 2 ? 10 : delay;\n          }\n        }\n        return {\n          duration: duration / 1000,\n          animated: duration > 0\n        };\n      });\n    },\n    image(file, metadata) {\n      return new Ember.RSVP.Promise(function (resolve, reject) {\n        let img = new Image();\n        img.onload = function () {\n          resolve(img);\n        };\n        img.onerror = function () {\n          reject(new Error('You tried to upload an invalid image. The upload handler for mirage ' + 'shipped with ember-file-upload does not support invalid images. ' + 'Please make sure that your image is valid and can be parsed by browsers.'));\n        };\n        img.src = metadata.url;\n      }).then(function (img) {\n        return {\n          width: img.naturalWidth,\n          height: img.naturalHeight\n        };\n      });\n    },\n    video(file, metadata) {\n      let video = document.createElement('video');\n      return new Ember.RSVP.Promise(function (resolve, reject) {\n        video.addEventListener('loadeddata', resolve);\n        video.onerror = () => {\n          reject(new Error('You tried to upload an invalid video. The upload handler for mirage ' + 'shipped with ember-file-upload does not support invalid videos. ' + 'Please make sure that your video is valid and can be parsed by browsers.'));\n        };\n        video.src = metadata.url;\n        document.body.appendChild(video);\n        video.load();\n      }).then(function () {\n        return {\n          duration: video.duration,\n          width: video.videoWidth,\n          height: video.videoHeight\n        };\n      }).finally(function () {\n        document.body.removeChild(video);\n      });\n    },\n    audio(file, metadata) {\n      let audio = document.createElement('audio');\n      return new Ember.RSVP.Promise(function (resolve, reject) {\n        audio.addEventListener('loadeddata', resolve);\n        audio.onerror = () => {\n          reject(new Error('You tried to upload an invalid audio file. The upload handler for mirage ' + 'shipped with ember-file-upload does not support invalid audio files. ' + 'Please make sure that your audio is valid and can be parsed by browsers.'));\n        };\n        audio.src = metadata.url;\n        document.body.appendChild(audio);\n        audio.load();\n      }).then(function () {\n        return {\n          duration: audio.duration\n        };\n      }).finally(function () {\n        document.body.removeChild(audio);\n      });\n    }\n  };\n  function extractFileMetadata(file) {\n    let metadata = {\n      name: file.name,\n      size: file.size,\n      type: file.type,\n      extension: (file.name.match(/\\.(.*)$/) || [])[1]\n    };\n    let reader = new _fileReader.default();\n    return reader.readAsDataURL(file).then(function (url) {\n      metadata.url = url;\n      let additionalMetadata = [];\n      if (metadata.type === 'image/gif') {\n        additionalMetadata.push(pipelines.gif(file, metadata));\n      }\n      if (metadata.type.match(/^image\\//)) {\n        additionalMetadata.push(pipelines.image(file, metadata));\n      }\n      if (metadata.type.match(/^video\\//)) {\n        additionalMetadata.push(pipelines.video(file, metadata));\n      }\n      if (metadata.type.match(/^audio\\//)) {\n        additionalMetadata.push(pipelines.audio(file, metadata));\n      }\n      return Ember.RSVP.all(additionalMetadata);\n    }).then(function (additionalMetadata) {\n      additionalMetadata.forEach(function (data) {\n        Object.assign(metadata, data);\n      });\n      return metadata;\n    });\n  }\n});","define(\"ember-file-upload/mixins/with-files\", [\"exports\", \"ember-file-upload/computed/sum-by\"], function (_exports, _sumBy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n      Flushes the `files` property if they have settled. This\n      will only flush files when all files have arrived at a terminus\n      of their state chart.\n       ```\n          .------.     .---------.     .--------.\n      o--| queued |-->| uploading |-->| uploaded |\n          `------`     `---------`     `--------`\n             ^              |    .-------.\n             |              |`->| aborted |\n             |              |    `-------`\n             |  .------.    |    .---------.\n             `-| failed |<-` `->| timed_out |-.\n             |  `------`         `---------`  |\n             `-------------------------------`\n      ```\n       Files *may* be requeued by the user in the `failed` or `timed_out`\n      states.\n       @method flush\n     */\n    flush() {\n      let fileQueue = this.fileQueue;\n      if (fileQueue) {\n        fileQueue.flush();\n      }\n      let files = this.files;\n      if (files.length === 0) {\n        return;\n      }\n      let allFilesHaveSettled = files.every(file => {\n        return ['uploaded', 'aborted'].includes(file.state);\n      });\n      if (allFilesHaveSettled) {\n        this.files.forEach(file => Ember.set(file, 'queue', null));\n        Ember.set(this, 'files', Ember.A());\n      }\n    },\n    /**\n      The total size of all files currently being uploaded in bytes.\n       @computed size\n      @type Number\n      @default 0\n      @readonly\n     */\n    size: (0, _sumBy.default)('files', 'size'),\n    /**\n      The number of bytes that have been uploaded to the server.\n       @computed loaded\n      @type Number\n      @default 0\n      @readonly\n     */\n    loaded: (0, _sumBy.default)('files', 'loaded'),\n    /**\n      The current progress of all uploads, as a percentage in the\n      range of 0 to 100.\n       @computed progress\n      @type Number\n      @default 0\n      @readonly\n     */\n    progress: Ember.computed('size', 'loaded', {\n      get() {\n        let percent = this.loaded / this.size || 0;\n        return Math.floor(percent * 100);\n      }\n    })\n  });\n});","define(\"ember-file-upload/queue\", [\"exports\", \"ember-file-upload/file\", \"ember-file-upload/mixins/with-files\"], function (_exports, _file, _withFiles) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The Queue is a collection of files that\n    are being manipulated by the user.\n  \n    Queues are designed to persist the state\n    of uploads when a user navigates around your\n    application.\n  \n    @class Queue\n    @extends Ember.Object\n   */\n  var _default = _exports.default = Ember.Object.extend(_withFiles.default, {\n    init() {\n      Ember.set(this, 'files', Ember.A());\n      Ember.set(this, '_dropzones', Ember.A());\n      this._super();\n    },\n    destroy() {\n      this._super();\n      this.fileQueue.queues.delete(this.name);\n      this.files.forEach(file => Ember.set(file, 'queue', null));\n      Ember.set(this, 'files', Ember.A());\n    },\n    /**\n      The FileQueue service.\n       @property fileQueue\n      @type FileQueue\n     */\n    fileQueue: null,\n    /**\n      @method push\n      @param {File} file The file to append to the queue\n     */\n    push(file) {\n      file.queue = this;\n      this.fileQueue.files.pushObject(file);\n      this.files.pushObject(file);\n    },\n    /**\n      @private\n      @method _addFiles\n      @param {FileList} fileList The event triggered from the DOM that contains a list of files\n     */\n    _addFiles(fileList, source) {\n      let onFileAdd = this.onFileAdd;\n      let disabled = this.disabled;\n      let files = [];\n      if (!disabled) {\n        for (let i = 0, len = fileList.length || fileList.size; i < len; i++) {\n          let fileBlob = fileList.item ? fileList.item(i) : fileList[i];\n          if (fileBlob instanceof Blob) {\n            let file = _file.default.fromBlob(fileBlob, source);\n            files.push(file);\n            this.push(file);\n            if (onFileAdd) {\n              Ember.run.next(onFileAdd, file);\n            }\n          }\n        }\n      }\n      return files;\n    },\n    /**\n      @method remove\n      @param {File} file The file to remove from the queue.\n     */\n    remove(file) {\n      file.queue = null;\n      this.fileQueue.files.removeObject(file);\n      this.files.removeObject(file);\n    },\n    /**\n      The unique identifier of the queue.\n       Queue names should be deterministic so they\n      can be retrieved. It's recommended to provide\n      a helpful name.\n       If the queue belongs to a top level collection,\n      photos, the good name for this queue may be `\"photos\"`.\n       If you're uploading images to an artwork, the\n      best name would incoporate both `\"artworks\"` and\n      the identifier of the artwork. A good name for this\n      queue may be `\"artworks/{{id}}/photos\"`, where `{{id}}`\n      is a dynamic segment that is generated from the artwork id.\n       @property name\n      @type string\n      @default null\n     */\n    name: null,\n    /**\n      The list of files in the queue. This automatically gets\n      flushed when all the files in the queue have settled.\n       Note that files that have failed need to be manually\n      removed from the queue. This is so they can be retried\n      without resetting the state of the queue, orphaning the\n      file from its queue. Upload failures can happen due to a\n      timeout or a server response. If you choose to use the\n      `abort` method, the file will fail to upload, but will\n      be removed from the requeuing proccess, and will be\n      considered to be in a settled state.\n       @property files\n      @type File[]\n      @default []\n     */\n    files: null\n  });\n});","define(\"ember-file-upload/services/file-queue\", [\"exports\", \"ember-file-upload/queue\", \"ember-file-upload/mixins/with-files\"], function (_exports, _queue, _withFiles) {\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    The file queue service is a global file\n    queue that manages all files being uploaded.\n  \n    This service can be used to query the current\n    upload state when a user leaves the app,\n    asking them whether they want to cancel\n    the remaining uploads.\n  \n    @class FileQueue\n    @extends Ember.Service\n   */\n  class FileQueueService extends Ember.Service.extend(_withFiles.default) {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"queues\", Ember.A([]));\n      /**\n        The list of all files in queues. This automatically gets\n        flushed when all the files in the queue have settled.\n         Note that files that have failed need to be manually\n        removed from the queue. This is so they can be retried\n        without resetting the state of the queue, orphaning the\n        file from its queue. Upload failures can happen due to a\n        timeout or a server response. If you choose to use the\n        `abort` method, the file will fail to upload, but will\n        be removed from the requeuing proccess, and will be\n        considered to be in a settled state.\n         @property files\n        @type {File[]}\n        @default []\n       */\n      _defineProperty(this, \"files\", Ember.A([]));\n    }\n    /**\n      Returns a queue with the given name\n       @method find\n      @param {String} name The name of the queue to find\n      @return {Queue} The queue or null if it doesn't exist yet.\n     */\n    find(name) {\n      return this.queues.findBy('name', name);\n    }\n\n    /**\n      Create a new queue with the given name.\n       @method create\n      @param {String} name The name of the queue to create\n      @return {Queue} The new queue.\n     */\n    create(name) {\n      (true && !(this.find(name) == null) && Ember.assert(`Queue names are required to be unique. \"${name}\" has already been reserved.`, this.find(name) == null));\n      let queue = _queue.default.create({\n        name,\n        fileQueue: this\n      });\n      this.queues.push(queue);\n      Ember.run.once(this, 'notifyPropertyChange', 'queues');\n      return queue;\n    }\n  }\n  _exports.default = FileQueueService;\n});","define(\"ember-file-upload/system/data-transfer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const getDataSupport = {};\n  var _default = _exports.default = Ember.Object.extend({\n    dataTransfer: null,\n    itemDetails: null,\n    queue: null,\n    getData(type) {\n      let dataTransfer = this.dataTransfer;\n      if (getDataSupport[type] == null) {\n        try {\n          let data = dataTransfer.getData(type);\n          getDataSupport[type] = true;\n          return data;\n        } catch (e) {\n          getDataSupport[type] = false;\n        }\n      } else if (getDataSupport[type]) {\n        return dataTransfer.getData(type);\n      }\n    },\n    valid: Ember.computed('dataTransfer.{files.length,items.length}', 'files.length', 'itemDetails.length', {\n      get() {\n        if (this.files == null) {\n          return true;\n        }\n        return (this.dataTransfer?.items?.length || this.dataTransfer?.files?.length || this.itemDetails?.length) === this.files.length;\n      }\n    }),\n    files: Ember.computed('dataTransfer.{files,items}', 'itemDetails', 'queue.{accept,multiple}', {\n      get() {\n        let fileList = this.dataTransfer?.files || null;\n        let itemList = this.dataTransfer?.items || null;\n        let itemDetails = this.itemDetails;\n        if (fileList == null && itemList || itemList != null && fileList != null && itemList.length > fileList.length) {\n          fileList = itemList;\n        }\n        if (fileList == null && itemDetails || itemDetails != null && fileList != null && itemDetails.length > fileList.length) {\n          fileList = itemDetails;\n        }\n        if (fileList == null) {\n          return null;\n        }\n        let files = Ember.A();\n        if (!this.queue?.multiple && fileList.length > 1) {\n          files.push(fileList[0]);\n        } else {\n          for (let i = 0, len = fileList.length; i < len; i++) {\n            files.push(fileList[i]);\n          }\n        }\n        let accept = this.queue?.accept;\n        if (accept == null) {\n          return files;\n        }\n        let tokens = Ember.A(accept.split(',').map(function (token) {\n          return token.trim().toLowerCase();\n        }));\n        let extensions = Ember.A(tokens.filter(function (token) {\n          return token.indexOf('.') === 0;\n        }));\n        let mimeTypeTests = Ember.A(Ember.A(tokens.filter(function (token) {\n          return token.indexOf('.') !== 0;\n        })).map(function (mimeType) {\n          return function (type) {\n            if (Ember.A(['audio/*', 'video/*', 'image/*']).includes(mimeType)) {\n              return type.split('/')[0] === mimeType.split('/')[0];\n            } else {\n              return type === mimeType;\n            }\n          };\n        }));\n        return files.filter(function (file) {\n          let extension = null;\n          if (file.name && /(\\.[^.]+)$/.test(file.name)) {\n            extension = file.name.toLowerCase().match(/(\\.[^.]+)$/)[1];\n          }\n          let type = file.type.toLowerCase();\n          return mimeTypeTests.find(function (mimeTypeTest) {\n            return mimeTypeTest(type);\n          }) || extensions.indexOf(extension) !== -1;\n        });\n      }\n    })\n  });\n});","define(\"ember-file-upload/system/drag-listener\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default {\n    constructor() {\n      this._listeners = Ember.A();\n      this._stack = [];\n\n      // Keep a stack of deferred actions to take\n      // on listeners to provide sane events.\n      // `dragleave` / `dragenter` are called on the\n      // same element back to back, which isn't what\n      // we want to provide as an API.\n      this._events = Ember.A();\n    }\n    beginListening() {\n      let handlers = this._handlers = {\n        dragenter: Ember.run.bind(this, 'dragenter'),\n        dragleave: Ember.run.bind(this, 'dragleave'),\n        dragover: Ember.run.bind(this, 'dragover'),\n        drop: Ember.run.bind(this, 'drop')\n      };\n      let body = document.body;\n      body.addEventListener('dragenter', handlers.dragenter, {\n        passive: true\n      });\n      body.addEventListener('dragleave', handlers.dragleave, {\n        passive: true\n      });\n      body.addEventListener('dragover', handlers.dragover, {\n        passive: false\n      });\n      body.addEventListener('drop', handlers.drop, {\n        passive: false\n      });\n    }\n    endListening() {\n      let body = document.body;\n      let handlers = this._handlers;\n      body.removeEventListener('dragenter', handlers.dragenter, {\n        passive: true\n      });\n      body.removeEventListener('dragleave', handlers.dragleave, {\n        passive: true\n      });\n      body.removeEventListener('dragover', handlers.dragover, {\n        passive: false\n      });\n      body.removeEventListener('drop', handlers.drop, {\n        passive: false\n      });\n    }\n    addEventListeners(selector, handlers) {\n      if (this._listeners.length === 0) {\n        this.beginListening();\n      }\n\n      // Listeners are ordered by most specific to least specific\n      let insertAt = this._listeners.length;\n      for (let i = 0, len = this._listeners.length; i < len; i++) {\n        let listener = this._listeners[i];\n        (true && !(document.querySelector(selector) !== document.querySelector(listener.selector)) && Ember.assert(`Cannot add multiple listeners for the same element ${selector}, ${listener.selector}`, document.querySelector(selector) !== document.querySelector(listener.selector)));\n        if (document.querySelector(`${listener.selector} ${selector}`)) {\n          insertAt = i;\n        }\n      }\n      this._listeners.splice(insertAt, 0, {\n        selector,\n        handlers\n      });\n    }\n    removeEventListeners(selector) {\n      this._listeners.removeObject(this._listeners.findBy('selector', selector));\n      if (this._listeners.length === 0) {\n        this.endListening();\n      }\n    }\n    findListener(evt) {\n      return this._listeners.find(function ({\n        selector\n      }) {\n        let element = document.querySelector(selector);\n        return element === evt.target || element.contains(evt.target);\n      });\n    }\n    getEventSource(evt) {\n      let types = evt.dataTransfer.types || [];\n      let areSomeTypesFiles = false;\n      for (let i = 0, len = types.length; i < len; i++) {\n        if (types[i] === 'Files' || types[i] === 'application/x-moz-file') {\n          areSomeTypesFiles = true;\n          break;\n        }\n      }\n      return areSomeTypesFiles ? 'os' : 'web';\n    }\n    getDataTransferItemDetails(evt) {\n      let itemDetails = [];\n      if (evt.dataTransfer.items) {\n        for (let i = 0; i < evt.dataTransfer.items.length; i++) {\n          let item = evt.dataTransfer.items[i];\n          itemDetails.push({\n            kind: item.kind,\n            type: item.type\n          });\n        }\n      }\n      return itemDetails;\n    }\n    dragenter(evt) {\n      let listener = this.findListener(evt);\n      let lastListener = this._stack[this._stack.length - 1];\n\n      // Trigger dragleave on the previous listener\n      if (lastListener) {\n        this.scheduleEvent('dragleave', lastListener, evt);\n      }\n      if (listener) {\n        this.scheduleEvent('dragenter', listener, {\n          source: this.getEventSource(evt),\n          dataTransfer: evt.dataTransfer,\n          itemDetails: this.getDataTransferItemDetails(evt)\n        });\n      }\n      this._listener = listener;\n    }\n    dragleave(evt) {\n      // Trigger a dragleave if the file leaves the browser\n      if (this._stack.length) {\n        this.scheduleEvent('dragleave', this._stack[0], evt);\n        this._listener = null;\n      }\n    }\n    dragover(evt) {\n      evt.preventDefault();\n      evt.stopPropagation();\n      let listener = this.findListener(evt);\n      if (listener) {\n        if (this._listener) {\n          this.scheduleEvent('dragleave', this._listener, evt);\n        }\n        this.scheduleEvent('dragenter', listener, {\n          source: this.getEventSource(evt),\n          dataTransfer: evt.dataTransfer,\n          itemDetails: this.getDataTransferItemDetails(evt)\n        });\n        if (this._stack.indexOf(listener) !== -1) {\n          listener.handlers.dragover(evt);\n        }\n      }\n      this._listener = listener;\n    }\n    scheduleEvent(eventName, listener, event) {\n      let isDuplicate = this._events.find(function (queuedEvent) {\n        return queuedEvent.eventName === eventName && queuedEvent.listener === listener;\n      });\n      let cancelledEvent = this._events.find(function (queuedEvent) {\n        return queuedEvent.listener === listener && queuedEvent.eventName === 'dragleave' && eventName === 'dragenter' || queuedEvent.eventName === 'dragenter' && eventName === 'dragleave';\n      });\n      if (cancelledEvent) {\n        this._events.removeObject(cancelledEvent);\n        if (this._events.length === 0) {\n          Ember.run.cancel(this._scheduled);\n          this._scheduled = null;\n        }\n      } else if (!isDuplicate) {\n        this._events.push({\n          eventName,\n          listener,\n          event\n        });\n        if (!this._scheduled) {\n          this._scheduled = Ember.run.next(this, 'sendEvents');\n        }\n      }\n    }\n    sendEvents() {\n      this._events.forEach(({\n        eventName,\n        listener,\n        event\n      }) => {\n        if (eventName === 'dragenter') {\n          this._stack.push(listener);\n        } else if (eventName === 'dragleave') {\n          this._stack.pop();\n        }\n        listener.handlers[eventName](event);\n      });\n      this._events = Ember.A();\n      this._scheduled = false;\n    }\n    drop(evt) {\n      this._stack = [];\n      this._events = Ember.A();\n      this._scheduled = false;\n      this._listener = null;\n      evt.preventDefault();\n      evt.stopPropagation();\n      let listener = this.findListener(evt);\n      if (listener) {\n        listener.handlers.drop(evt);\n      }\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-file-upload/system/file-reader\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n    Provides a promise-aware interface for reading files.\n  \n    ```js\n    import File from 'ember-file-upload/file';\n    import FileReader from 'ember-file-upload/system/file-reader';\n  \n    let reader = new FileReader();\n    let file = File.fromDataURL('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAAXNSR0IArs4c6QAAACNJREFUCB1jYICC6dOn/4exwTRMAEYzwBnoOmASMBpuDLIAAIVVFiE0cg0oAAAAAElFTkSuQmCC');\n  \n    reader.readAsDataURL(file.blob).then((url) => {\n      return url;\n    }, function (err) {\n      console.error(err);\n    });\n    ```\n  \n    Promises can be aborted, which will cancel the file upload:\n  \n    ```js\n    let promise = reader.readAsDataURL(file.blob);\n    promise.then((url) => {\n      return url;\n    }, (err) => {\n      console.error(err);\n    });\n  \n    promise.abort().then(() => {\n      console.error('cancelled reading file');\n    });\n    ```\n  \n    @class FileReader\n    @constructor\n    @param [options] An object with a label to use to mark the promise.\n   */\n  function _default(options = {}) {\n    let {\n      resolve,\n      reject,\n      promise\n    } = Ember.RSVP.defer(`ember-file-upload: ${options.label}`);\n    let reader = new FileReader();\n    reader.onload = resolve;\n    reader.onerror = reject;\n    let aborted;\n    let cancel = function () {\n      if (aborted == null) {\n        aborted = Ember.RSVP.defer(`ember-file-upload: Abort ${options.label}`);\n        reader.abort();\n      }\n      return aborted.promise;\n    };\n    reader.onabort = function () {\n      aborted.resolve();\n    };\n\n    /**\n      Reads the file and returns a promise that will\n      return the blob as ArrayBuffer.\n       @method readAsArrayBuffer\n      @return {Promise} A promise that will return the file as an ArrayBuffer\n     */\n\n    /**\n      Reads the file and returns a promise that will\n      return the blob as data URL.\n       This is useful for reading images to display\n      as a preview in the browser.\n       @method readAsDataURL\n      @return {Promise} A promise that will return the file as a data URL\n     */\n\n    /**\n      Reads the file and returns a promise that will\n      return the blob as binary string.\n       This is useful for reading images or files that\n      are not plain text.\n       @method readAsBinaryString\n      @return {Promise} A promise that will return the file as a binary string\n     */\n\n    /**\n      Reads the file and returns a promise that will\n      return the blob as text.\n       This is useful for reading plain text files.\n       @method readAsText\n      @return {Promise} A promise that will return the file as text\n     */\n    ['readAsArrayBuffer', 'readAsDataURL', 'readAsBinaryString', 'readAsText'].forEach(methodName => {\n      this[methodName] = function (blob) {\n        reader[methodName](blob);\n        let p = promise.then(function () {\n          return reader.result;\n        }, function () {\n          return Ember.RSVP.reject(reader.error);\n        }, `ember-file-upload: Unpack ${options.label}`);\n        p.cancel = cancel;\n        return p;\n      };\n    });\n  }\n});","define(\"ember-file-upload/system/http-request\", [\"exports\", \"ember-file-upload/system/parse-html\", \"ember-file-upload/system/parse-xml\", \"ember-file-upload/system/parse-json\"], function (_exports, _parseHtml, _parseXml, _parseJson) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function getHeader(headers, header) {\n    let headerKeys = Object.keys(headers);\n    let headerIdx = headerKeys.map(key => key.toLowerCase()).indexOf(header.toLowerCase());\n    if (headerIdx !== -1) {\n      return headers[headerKeys[headerIdx]];\n    }\n    return null;\n  }\n  function parseResponse(request) {\n    var body = request.responseText.trim();\n    var rawHeaders = request.getAllResponseHeaders().split(/\\n|\\r/).filter(function (header) {\n      return header !== '';\n    });\n    var headers = rawHeaders.reduce(function (E, header) {\n      var parts = header.split(/^([0-9A-Za-z_-]*:)/);\n      if (parts.length > 0 && parts[1] && parts[2]) {\n        E[parts[1].slice(0, -1)] = parts[2].trim();\n      }\n      return E;\n    }, {});\n    let contentType = (getHeader(headers, 'Content-Type') || '').split(';');\n\n    // Parse body according to the Content-Type received by the server\n    if (contentType.indexOf('text/html') !== -1) {\n      body = (0, _parseHtml.default)(body);\n    } else if (contentType.indexOf('text/xml') !== -1) {\n      body = (0, _parseXml.default)(body);\n    } else if (contentType.indexOf('application/json') !== -1 || contentType.indexOf('application/vnd.api+json') !== -1 || contentType.indexOf('text/javascript') !== -1 || contentType.indexOf('application/javascript') !== -1) {\n      body = (0, _parseJson.default)(body);\n    }\n    return {\n      status: request.status,\n      body: body,\n      headers: headers\n    };\n  }\n  function _default(options = {}) {\n    let {\n      resolve,\n      reject,\n      promise\n    } = Ember.RSVP.defer(`ember-file-upload: ${options.label}`);\n    let request = new XMLHttpRequest();\n    request.withCredentials = options.withCredentials;\n    let aborted;\n    promise.cancel = () => {\n      if (aborted == null) {\n        aborted = Ember.RSVP.defer(`ember-file-upload: Abort ${options.label}`);\n        request.abort();\n      }\n      return aborted.promise;\n    };\n    promise.then = function (...args) {\n      let newPromise = Ember.RSVP.Promise.prototype.then.apply(this, args);\n      newPromise.cancel = promise.cancel;\n      newPromise.then = promise.then;\n      return newPromise;\n    };\n    request.onabort = Ember.run.bind(this, function () {\n      this.onabort();\n      aborted.resolve();\n    });\n    this.setRequestHeader = function (header, value) {\n      request.setRequestHeader(header, value);\n    };\n    this.open = function (method, url, _, username = '', password = '') {\n      request.open(method, url, true, username, password);\n    };\n    this.send = function (data) {\n      request.send(data);\n      return promise;\n    };\n    this.onprogress = this.onprogress || function () {};\n    this.ontimeout = this.ontimeout || function () {};\n    this.onabort = this.onabort || function () {};\n    request.onloadstart = request.onprogress = request.onloadend = Ember.run.bind(this, function (evt) {\n      this.onprogress(evt);\n    });\n    if (request.upload) {\n      request.upload.onprogress = request.onprogress;\n    }\n    request.onload = Ember.run.bind(this, function () {\n      let response = parseResponse(request);\n      if (Math.floor(response.status / 200) === 1) {\n        resolve(response);\n      } else {\n        reject(response);\n      }\n    });\n    request.onerror = Ember.run.bind(this, function () {\n      reject(parseResponse(request));\n    });\n    Object.defineProperty(this, 'timeout', {\n      get() {\n        return request.timeout;\n      },\n      set(timeout) {\n        request.timeout = timeout;\n      },\n      enumerable: true,\n      configurable: false\n    });\n    request.ontimeout = Ember.run.bind(this, function () {\n      this.ontimeout();\n      reject(parseResponse(request));\n    });\n  }\n});","define(\"ember-file-upload/system/parse-html\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseHTML;\n  function parseHTML(string) {\n    let tmp = document.implementation.createHTMLDocument('');\n    tmp.body.innerHTML = string;\n    return [tmp.body];\n  }\n});","define(\"ember-file-upload/system/parse-json\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseJSON;\n  function parseJSON(string) {\n    let json = null;\n    try {\n      json = JSON.parse(string);\n    } catch (e) {\n      (true && !(false) && Ember.assert(`Invalid JSON: ${string}`));\n    }\n    return json;\n  }\n});","define(\"ember-file-upload/system/parse-xml\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseXML;\n  // This method is taken from\n  // https://github.com/jquery/jquery/blob/2d4f53416e5f74fa98e0c1d66b6f3c285a12f0ce/src/ajax/parseXML.js\n\n  function parseXML(data) {\n    let xml;\n    if (!data || typeof data !== 'string') {\n      return null;\n    }\n\n    // Support: IE 9 - 11 only\n    // IE throws on parseFromString with invalid input.\n    try {\n      xml = new window.DOMParser().parseFromString(data, 'text/xml');\n    } catch (e) {\n      xml = undefined;\n    }\n    if (true /* DEBUG */) {\n      if (!xml || xml.getElementsByTagName('parsererror').length) {\n        (true && !(false) && Ember.assert(`Invalid XML: ${data}`));\n      }\n    }\n    return xml;\n  }\n});","define(\"ember-file-upload/system/uuid\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const numbers = new Uint8Array(16);\n  function random() {\n    crypto.getRandomValues(numbers);\n    return numbers;\n  }\n  function byteToHex(number) {\n    return (number + 0x100).toString(16).substr(1);\n  }\n  function serialize(bytes) {\n    let hex = [];\n    for (let i = 0, len = bytes.length; i < len; i++) {\n      hex[i] = byteToHex(bytes[i]);\n    }\n    return hex.slice(0, 4).join('') + '-' + hex.slice(4, 6).join('') + '-' + hex.slice(6, 8).join('') + '-' + hex.slice(8, 10).join('') + '-' + hex.slice(10).join('');\n  }\n  function uuid() {\n    let numbers = random();\n    numbers[6] = numbers[6] & 0x0f | 0x40;\n    numbers[8] = numbers[8] & 0x3f | 0x80;\n    return serialize(numbers);\n  }\n  uuid.short = function () {\n    let result = uuid();\n    return result.slice(0, 4) + result.slice(5, 6);\n  };\n  var _default = _exports.default = uuid;\n});","define(\"ember-gesture-modifiers/modifiers/did-pan\", [\"exports\", \"ember-modifier\", \"ember-gesture-modifiers/utils/parse-touch-data\"], function (_exports, _emberModifier, _parseTouchData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _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 _fn = () => {};\n  let DidPanModifier = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _class = class DidPanModifier extends _emberModifier.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"threshold\", void 0);\n      _defineProperty(this, \"axis\", void 0);\n      _defineProperty(this, \"capture\", void 0);\n      _defineProperty(this, \"preventScroll\", void 0);\n      _defineProperty(this, \"pointerTypes\", void 0);\n      _defineProperty(this, \"currentTouches\", new Map());\n      _defineProperty(this, \"dragging\", false);\n    }\n    addEventListeners() {\n      // By default, CSS rule `touch-action` is `auto`, enabling panning on both directions.\n      // We override panning on a given direction, so we need to disable default browser behavior\n      // on that diretion, but we need to keep the other direction pannable.\n      // Thus, we set `touch-action` to `pan-y` when we pan horizontally and vice versa.\n      if (this.axis === 'horizontal') {\n        this.element.style.touchAction = 'pan-y';\n      } else if (this.axis === 'vertical') {\n        this.element.style.touchAction = 'pan-x';\n      } else if (this.axis === 'both') {\n        this.element.style.touchAction = 'none';\n      }\n      this.element.addEventListener('pointerdown', this.didTouchStart, {\n        capture: this.capture,\n        passive: true\n      });\n      document.addEventListener('pointermove', this.documentPointerMove, {\n        capture: this.capture,\n        passive: !this.preventScroll\n      });\n      document.addEventListener('pointercancel', this.documentPointerUp, {\n        capture: this.capture,\n        passive: true\n      });\n      document.addEventListener('pointerup', this.documentPointerUp, {\n        capture: this.capture,\n        passive: true\n      });\n    }\n    removeEventListeners() {\n      this.element.style.touchAction = null;\n      this.element.removeEventListener('pointerdown', this.didTouchStart, {\n        capture: this.capture,\n        passive: true\n      });\n      document.removeEventListener('pointermove', this.documentPointerMove, {\n        capture: this.capture,\n        passive: !this.preventScroll\n      });\n      document.removeEventListener('pointercancel', this.documentPointerUp, {\n        capture: this.capture,\n        passive: true\n      });\n      document.removeEventListener('pointerup', this.documentPointerUp, {\n        capture: this.capture,\n        passive: true\n      });\n    }\n    didTouchStart(e) {\n      if (!this.dragging && this.pointerTypes.includes(e.pointerType)) {\n        const touchData = (0, _parseTouchData.parseInitialTouchData)(e);\n        this.currentTouches.set(e.pointerId, touchData);\n        this.dragging = true;\n      }\n    }\n    documentPointerMove(e) {\n      if (this.dragging && this.pointerTypes.includes(e.pointerType)) {\n        this.handlePointerMove(e);\n      }\n    }\n    documentPointerUp(e) {\n      if (this.dragging && this.pointerTypes.includes(e.pointerType)) {\n        this.handlePointerEnd(e);\n      }\n    }\n    handlePointerMove(e) {\n      if (this.dragging && this.currentTouches.has(e.pointerId)) {\n        const previousTouchData = this.currentTouches.get(e.pointerId);\n        const touchData = (0, _parseTouchData.parseTouchData)(previousTouchData, e);\n        if (touchData.panStarted) {\n          // prevent scroll if a pan is still busy\n          if (this.preventScroll) {\n            e.preventDefault();\n          }\n          this.didPan(touchData.data);\n        } else {\n          // only pan when the threshold for the given axis is achieved\n          if (!touchData.panDenied && (this.axis === 'horizontal' && Math.abs(touchData.data.current.distanceX) > this.threshold || this.axis === 'vertical' && Math.abs(touchData.data.current.distanceY) > this.threshold || this.axis === 'both' && Math.abs(touchData.data.current.distance) > this.threshold)) {\n            // test if axis matches with data else deny the pan\n            if (this.axis === 'horizontal' && (0, _parseTouchData.isHorizontal)(touchData) || this.axis === 'vertical' && (0, _parseTouchData.isVertical)(touchData) || this.axis === 'both') {\n              // prevent scroll if a pan is detected\n              if (this.preventScroll) {\n                e.preventDefault();\n              }\n              touchData.panStarted = true;\n\n              // trigger panStart hook\n              this.didPanStart(touchData.data);\n            } else {\n              touchData.panDenied = true;\n            }\n          }\n        }\n        this.currentTouches.set(e.pointerId, touchData);\n      }\n    }\n    handlePointerEnd(e) {\n      if (this.dragging && this.currentTouches.has(e.pointerId)) {\n        this.dragging = false;\n        const previousTouchData = this.currentTouches.get(e.pointerId);\n        const touchData = (0, _parseTouchData.parseTouchData)(previousTouchData, e);\n        if (touchData.panStarted) {\n          this.didPanEnd(touchData.data);\n        }\n        this.currentTouches.delete(e.pointerId);\n      }\n    }\n    didReceiveArguments() {\n      this.removeEventListeners();\n      this.threshold = this.args.named.threshold ?? 10;\n      this.axis = this.args.named.axis ?? 'horizontal';\n      this.capture = this.args.named.capture ?? false;\n      this.preventScroll = this.args.named.preventScroll ?? true;\n      this.pointerTypes = this.args.named.pointerTypes ?? ['touch'];\n      this.didPanStart = this.args.named.onPanStart ?? _fn;\n      this.didPan = this.args.named.onPan ?? _fn;\n      this.didPanEnd = this.args.named.onPanEnd ?? _fn;\n      this.addEventListeners();\n    }\n    willRemove() {\n      this.removeEventListeners();\n      this.currentTouches.clear();\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"didTouchStart\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"didTouchStart\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"documentPointerMove\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"documentPointerMove\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"documentPointerUp\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"documentPointerUp\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handlePointerMove\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePointerMove\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handlePointerEnd\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePointerEnd\"), _class.prototype), _class);\n});","define(\"ember-gesture-modifiers/utils/parse-touch-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isHorizontal = isHorizontal;\n  _exports.isVertical = isVertical;\n  _exports.parseInitialTouchData = parseInitialTouchData;\n  _exports.parseTouchData = parseTouchData;\n  /**\n   * Generate initial touch data for passed Touch\n   *\n   * @function parseInitialTouchData\n   * @param {Touch} touch A Touch instance\n   * @param {TouchEvent} e The touch{start,move,end} event\n   * @return {Object} Returns a TouchData object\n   * @private\n   */\n  function parseInitialTouchData(e) {\n    return {\n      data: {\n        initial: {\n          x: e.clientX,\n          y: e.clientY,\n          timeStamp: e.timeStamp\n        },\n        cache: {\n          velocity: {\n            distanceX: 0,\n            distanceY: 0,\n            timeStamp: e.timeStamp\n          }\n        },\n        timeStamp: e.timeStamp,\n        originalEvent: e\n      },\n      panStarted: false,\n      panDenied: false\n    };\n  }\n\n  /**\n   * Generates useful touch data from current event based on previously generated data\n   *\n   * @function parseTouchData\n   * @param {Object} previousTouchData Previous data returned by this or the parseInitialTouchData function\n   * @param {Touch} touch A Touch instance\n   * @param {TouchEvent} e The touch{start,move,end} event\n   * @return {Object} The new touch data\n   * @private\n   */\n  function parseTouchData(previousTouchData, e) {\n    const touchData = JSON.parse(JSON.stringify(previousTouchData));\n    const data = touchData.data;\n    if (data.current) {\n      data.current.deltaX = e.clientX - data.current.x;\n      data.current.deltaY = e.clientY - data.current.y;\n    } else {\n      data.current = {};\n      data.current.deltaX = e.clientX - data.initial.x;\n      data.current.deltaY = e.clientY - data.initial.y;\n    }\n    data.current.x = e.clientX;\n    data.current.y = e.clientY;\n    data.current.distance = getPointDistance(data.initial.x, e.clientX, data.initial.y, e.clientY);\n    data.current.distanceX = e.clientX - data.initial.x;\n    data.current.distanceY = e.clientY - data.initial.y;\n    data.current.angle = getAngle(data.initial.x, data.initial.y, e.clientX, e.clientY);\n\n    // overallVelocity can be calculated continuously\n    const overallDeltaTime = e.timeStamp - data.initial.timeStamp;\n    data.current.overallVelocityX = data.current.distanceX / overallDeltaTime || 0;\n    data.current.overallVelocityY = data.current.distanceY / overallDeltaTime || 0;\n    data.current.overallVelocity = Math.abs(data.current.overallVelocityX) > Math.abs(data.current.overallVelocityY) ? data.current.overallVelocityX : data.current.overallVelocityY;\n\n    // we don't update the velocity on the final touchend event as nothing but the timestamp has changed\n    // which always results in a velocity of 0\n    if (e.type !== 'touchend') {\n      const deltaTime = e.timeStamp - data.cache.velocity.timeStamp;\n      data.current.velocityX = (data.current.distanceX - data.cache.velocity.distanceX) / deltaTime || 0;\n      data.current.velocityY = (data.current.distanceY - data.cache.velocity.distanceY) / deltaTime || 0;\n      data.current.velocity = Math.abs(data.current.velocityX) > Math.abs(data.current.velocityY) ? data.current.velocityX : data.current.velocityY;\n      data.cache.velocity = {\n        distanceX: data.current.distanceX,\n        distanceY: data.current.distanceY,\n        timeStamp: e.timeStamp\n      };\n    }\n    data.originalEvent = e;\n    data.timeStamp = e.timeStamp;\n    touchData.data = data;\n    return touchData;\n  }\n\n  /**\n   * Calculates whether or not the movement went left or right\n   *\n   * @function isHorizontal\n   * @param {TouchData} touchData A POJO as returned from `parseInitialTouchData` or `parseTouchData`\n   * @return {boolean} True if horizontal\n   * @private\n   */\n  function isHorizontal(touchData) {\n    const direction = getDirection(touchData.data.current.distanceX, touchData.data.current.distanceY);\n    return direction === 'left' || direction === 'right';\n  }\n\n  /**\n   * Calculates whether or not the movement went up or down\n   *\n   * @function isVertical\n   * @param {TouchData} touchData A POJO as returned from `parseInitialTouchData` or `parseTouchData`\n   * @return {boolean} true if vertical\n   * @private\n   */\n  function isVertical(touchData) {\n    const direction = getDirection(touchData.data.current.distanceX, touchData.data.current.distanceY);\n    return direction === 'down' || direction === 'up';\n  }\n\n  /**\n   * Calculates the direction of the touch movement\n   *\n   * @function getDirection\n   * @param {Number} x The distance moved from the origin on the X axis\n   * @param {Number} y The the distance moved from the origin on the Y axis\n   * @return {string} The direction of the pan event. One of 'left', 'right', 'up', 'down'.\n   * @private\n   */\n  function getDirection(x, y) {\n    if (x === y) {\n      return 'none';\n    } else if (Math.abs(x) >= Math.abs(y)) {\n      return x < 0 ? 'left' : 'right';\n    } else {\n      return y < 0 ? 'down' : 'up';\n    }\n  }\n\n  /**\n   * Calculates the distance between two points\n   *\n   * @function getPointDistance\n   * @param {number} x0 X coordinate of the origin\n   * @param {number} x1 X coordinate of the current position\n   * @param {number} y0 Y coordinate of the origin\n   * @param {number} y1 Y coordinate of the current position\n   * @return {number} Distance between the two points\n   * @private\n   */\n  function getPointDistance(x0, x1, y0, y1) {\n    return Math.sqrt((x1 - x0) * (x1 - x0) + (y1 - y0) * (y1 - y0));\n  }\n\n  /**\n   * Calculates the angle between two points.\n   *\n   * @function getAngle\n   * @param {number} originX\n   * @param {number} originY\n   * @param {number} projectionX\n   * @param {number} projectionY\n   * @return {number} Angle between the two points\n   * @private\n   */\n  function getAngle(originX, originY, projectionX, projectionY) {\n    const angle = Math.atan2(projectionY - originY, projectionX - originX) * (180 / Math.PI);\n    return 360 - (angle < 0 ? 360 + angle : angle);\n  }\n});","define('ember-get-config/index', ['exports', 'administration-ui/config/environment'], function (exports, _environment) {\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 _environment.default;\n    }\n  });\n});","define(\"ember-google-charts/components/area-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'classic',\n    type: 'area'\n  });\n});","define(\"ember-google-charts/components/bar-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'material',\n    type: 'bar'\n  });\n});","define(\"ember-google-charts/components/geo-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'classic',\n    type: 'geo'\n  });\n});","define(\"ember-google-charts/components/google-chart\", [\"exports\", \"ember-concurrency\", \"ember-google-charts/utils/merge\", \"ember-google-charts/utils/render-chart\"], function (_exports, _emberConcurrency, _merge, _renderChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const isUsingEmber2 = Ember.VERSION.match(/\\b2\\.\\d+.\\d+\\b/g);\n  var _default = _exports.default = Ember.Component.extend({\n    /* Services */\n\n    googleCharts: Ember.inject.service(),\n    /* Actions */\n\n    chartDidRender() {},\n    packagesDidLoad() {},\n    /* Options */\n\n    design: 'classic',\n    // 'classic' or 'material'\n    data: null,\n    options: null,\n    type: null,\n    // 'area', 'bar', 'line', etc\n\n    /* Properties */\n\n    chart: null,\n    responsiveResize: true,\n    defaultOptions: Ember.computed.reads('googleCharts.defaultOptions'),\n    className: Ember.computed('type', function () {\n      return `${this.type}-chart`;\n    }),\n    /**\n    The default options object with any properties specified\n    in the options property overriding specific default options.\n     @property mergedOptions\n    @public\n    */\n\n    mergedOptions: Ember.computed('defaultOptions', 'options', function () {\n      const defaultOptions = this.defaultOptions;\n      const options = this.options;\n      return (0, _merge.default)({}, defaultOptions, options);\n    }),\n    /* Lifecycle hooks */\n\n    init() {\n      this._super(...arguments);\n      this.classNameBindings = ['className'];\n      this.classNames = ['google-chart'];\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      this.setupDependencies.perform();\n\n      /* If the Ember version is less than 2.0.0... */\n\n      if (!isUsingEmber2) {\n        this.addObserver('data', this, this._rerenderChart);\n        this.addObserver('mergedOptions', this, this._rerenderChart);\n      }\n      if (this.responsiveResize) {\n        this._handleResize = () => Ember.run.debounce(this, this._handlingResize, 200);\n        window.addEventListener('resize', this._handleResize);\n      }\n    },\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this._rerenderChart();\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this._teardownChart();\n    },\n    /* Methods */\n\n    /**\n    The method that components that extend this component should\n    overwrite.\n     @method renderChart\n    @public\n    */\n\n    renderChart: _renderChart.default,\n    setupDependencies: (0, _emberConcurrency.task)(function* () {\n      const {\n        design,\n        type\n      } = this;\n      (true && Ember.warn(`You did not specify a chart type (e.g. 'bar', 'line', etc)`, type, {\n        id: 'ember-google-charts.supply-type'\n      }));\n      (true && Ember.warn(`You did not specify a chart design ('material' or 'classic')`, design, {\n        id: 'ember-google-charts.supply-type'\n      }));\n      yield this.googleCharts.loadPackages();\n      this.packagesDidLoad();\n      this._renderChart.perform();\n    }),\n    /* Private methods */\n\n    _handlingResize() {\n      const {\n        element\n      } = this;\n      element.style.display = 'flex';\n\n      /* Classic charts have an extra parent div */\n\n      const child = element.children[0];\n      const grandchild = child.children[0];\n      const chartContainer = getComputedStyle(grandchild)['position'] === 'absolute' ? child : grandchild;\n      chartContainer.style.width = '';\n      chartContainer.style.flex = 'auto';\n      this._rerenderChart();\n    },\n    _rerenderChart() {\n      const {\n        chart,\n        data\n      } = this;\n      if (chart && data) {\n        this._renderChart.perform();\n      }\n    },\n    _renderChart: (0, _emberConcurrency.task)(function* () {\n      const {\n        data,\n        design,\n        element,\n        mergedOptions,\n        type\n      } = this;\n      const chart = yield this.renderChart(element, {\n        data,\n        design,\n        options: mergedOptions,\n        type\n      });\n      this.set('chart', chart);\n      this.chartDidRender(chart);\n    }),\n    _teardownChart() {\n      const {\n        chart\n      } = this;\n      if (chart) {\n        window.google.visualization.events.removeAllListeners(chart);\n        chart.clearChart();\n      }\n      if (!isUsingEmber2) {\n        this.removeObserver('data', this, this._rerenderChart);\n        this.removeObserver('mergedOptions', this, this._rerenderChart);\n      }\n      window.removeEventListener('resize', this._handleResize);\n    }\n  });\n});","define(\"ember-google-charts/components/line-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'material',\n    type: 'line'\n  });\n});","define(\"ember-google-charts/components/pie-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'classic',\n    type: 'pie'\n  });\n});","define(\"ember-google-charts/components/scatter-chart\", [\"exports\", \"ember-google-charts/components/google-chart\"], function (_exports, _googleChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _googleChart.default.extend({\n    design: 'material',\n    type: 'scatter'\n  });\n});","define(\"ember-google-charts/services/google-charts\", [\"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.Service.extend({\n    language: 'en',\n    init() {\n      this._super(...arguments);\n      this.googlePackages = this.googlePackages || ['corechart', 'bar', 'line', 'scatter'];\n      this.defaultOptions = this.defaultOptions || {\n        animation: {\n          duration: 500,\n          startup: false\n        }\n      };\n    },\n    loadPackages() {\n      const {\n        google: {\n          charts,\n          visualization\n        }\n      } = window;\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        if (visualization !== undefined) {\n          resolve();\n        } else {\n          charts.load('current', {\n            language: this.language,\n            packages: this.googlePackages\n          });\n          charts.setOnLoadCallback(ex => {\n            if (ex) {\n              reject(ex);\n            }\n            resolve();\n          });\n        }\n      });\n    }\n  });\n});","define(\"ember-google-charts/utils/format-data\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = formatData;\n  function formatData(data) {\n    const {\n      google: {\n        visualization\n      }\n    } = window;\n    const isDataTable = data instanceof visualization.DataTable;\n    return isDataTable ? data : visualization.arrayToDataTable(data);\n  }\n});","define(\"ember-google-charts/utils/get-visualization-name\", [\"exports\", \"ember-google-charts/utils/visualization-names\"], function (_exports, _visualizationNames) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getVisualizationName;\n  function getVisualizationName(type) {\n    return _visualizationNames.default[type];\n  }\n});","define(\"ember-google-charts/utils/merge\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = merge;\n  /* http://youmightnotneedjquery.com/#extend */\n\n  function merge(out) {\n    out = out || {};\n    for (let i = 1; i < arguments.length; i++) {\n      if (!arguments[i]) continue;\n      for (let key in arguments[i]) {\n        if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n          out[key] = arguments[i][key];\n        }\n      }\n    }\n    return out;\n  }\n});","define(\"ember-google-charts/utils/render-chart\", [\"exports\", \"ember-google-charts/utils/get-visualization-name\", \"ember-google-charts/utils/format-data\"], function (_exports, _getVisualizationName, _formatData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = renderChart;\n  function renderChart(element, {\n    data,\n    type,\n    design = 'classic',\n    options = {}\n  }) {\n    return new Ember.RSVP.Promise((resolve, reject) => {\n      const {\n        google: {\n          charts,\n          visualization\n        }\n      } = window;\n      const capitalizedType = Ember.String.capitalize(type);\n      const isAsyncChart = type === 'geo';\n      const isMaterialChart = design === 'material';\n      const constructorName = isMaterialChart ? capitalizedType : (0, _getVisualizationName.default)(type);\n      const googlePackage = isMaterialChart ? charts : visualization;\n      const chartConstructor = googlePackage[constructorName];\n      function formatOptions(options) {\n        return isMaterialChart ? charts[capitalizedType].convertOptions(options) : options;\n      }\n\n      /* Create the chart */\n\n      const chart = new chartConstructor(element);\n\n      /* For charts that are are created asyncronously, listen for the\n      ready event */\n\n      if (isAsyncChart) {\n        visualization.events.addListener(chart, 'ready', function () {\n          resolve(chart);\n        });\n      }\n\n      /* Make sure errors in render are caught */\n\n      visualization.events.addListener(chart, 'error', reject);\n\n      /* Make the Google Chart object publically available (e.g. for use in tests) */\n\n      element.chart = chart;\n\n      /* Render the chart */\n\n      chart.draw((0, _formatData.default)(data), formatOptions(options));\n      if (!isAsyncChart) {\n        resolve(chart);\n      }\n    });\n  }\n});","define(\"ember-google-charts/utils/render-classic-chart\", [\"exports\", \"ember-google-charts/utils/render-chart\"], function (_exports, _renderChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = renderClassicChart;\n  function renderClassicChart(data, options) {\n    (true && Ember.warn(`renderClassicChart() has been deprecated. Use renderChart() instead. See https://github.com/sir-dunxalot/ember-google-charts#custom-charts`, {\n      id: 'ember-google-charts.unified-render-util'\n    }));\n    const {\n      design,\n      element,\n      type\n    } = this;\n    return (0, _renderChart.default)(element, {\n      data,\n      design,\n      options,\n      type\n    });\n  }\n});","define(\"ember-google-charts/utils/render-material-chart\", [\"exports\", \"ember-google-charts/utils/render-chart\"], function (_exports, _renderChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = renderMaterialChart;\n  function renderMaterialChart(data, options) {\n    (true && Ember.warn(`renderMaterialChart() has been deprecated. Use renderChart() instead. See https://github.com/sir-dunxalot/ember-google-charts#custom-charts`, {\n      id: 'ember-google-charts.unified-render-util'\n    }));\n    const {\n      design,\n      element,\n      type\n    } = this;\n    return (0, _renderChart.default)(element, {\n      data,\n      design,\n      options,\n      type\n    });\n  }\n});","define(\"ember-google-charts/utils/visualization-names\", [\"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    area: 'AreaChart',\n    bar: 'BarChart',\n    bubble: 'BubbleChart',\n    calendar: 'Calendar',\n    candlestick: 'CandlestickChart',\n    column: 'ColumnChart',\n    combo: 'ComboChart',\n    gantt: 'Gantt',\n    gauge: 'Gauge',\n    geo: 'GeoChart',\n    histogram: 'Histogram',\n    line: 'LineChart',\n    orgchart: 'OrgChart',\n    pie: 'PieChart',\n    sankey: 'Sankey',\n    scatter: 'ScatterChart',\n    steppedArea: 'SteppedAreaChart',\n    table: 'Table',\n    timeline: 'Timeline',\n    treemap: 'Treemap'\n  };\n});","define('ember-ignore-children-helper/helpers/ignore-children', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.ignoreChildren = ignoreChildren;\n  function ignoreChildren([nextHandler]) {\n    return function (...args) {\n      let event = args[args.length - 1];\n      if (event && event.target === event.currentTarget) {\n        nextHandler.apply(this, args);\n      }\n    };\n  }\n\n  exports.default = Ember.Helper.helper(ignoreChildren);\n});","define('ember-inflector/index', ['exports', 'ember-inflector/lib/system', 'ember-inflector/lib/ext/string'], function (exports, _system) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.singularize = exports.pluralize = undefined;\n\n\n  _system.Inflector.defaultRules = _system.defaultRules;\n\n  Object.defineProperty(Ember, 'Inflector', {\n    get() {\n      Ember.deprecate(`Ember.Inflector is deprecated. Please explicitly: import Inflector from 'ember-inflector';`, false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.Inflector;\n    }\n  }, { configurable: true });\n\n  Object.defineProperty(Ember.String, 'singularize', {\n    get() {\n      Ember.deprecate(`Ember.String.singularize() is deprecated. Please explicitly: import { singularize } from 'ember-inflector';`, false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.singularize;\n    }\n  }, { configurable: true });\n\n  Object.defineProperty(Ember.String, 'pluralize', {\n    get() {\n      Ember.deprecate(`Ember.String.pluralize() is deprecated. Please explicitly: import { pluralize } from 'ember-inflector';`, false, {\n        id: 'ember-inflector.globals',\n        until: '3.0.0'\n      });\n\n      return _system.pluralize;\n    }\n  }, { configurable: true });\n\n  exports.default = _system.Inflector;\n  exports.pluralize = _system.pluralize;\n  exports.singularize = _system.singularize;\n  exports.defaultRules = _system.defaultRules;\n});","define('ember-inflector/lib/ext/string', ['ember-inflector/lib/system/string'], function (_string) {\n  'use strict';\n\n  if (Ember.ENV.EXTEND_PROTOTYPES === true || Ember.ENV.EXTEND_PROTOTYPES.String) {\n    /**\n      See {{#crossLink \"Ember.String/pluralize\"}}{{/crossLink}}\n       @method pluralize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'pluralize', {\n      get() {\n        Ember.deprecate(`String.prototype.pluralize() is deprecated. Please explicitly: import { pluralize } from 'ember-inflector';`, false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _string.pluralize)(this);\n        };\n      }\n    }, { configurable: true });\n\n    /**\n      See {{#crossLink \"Ember.String/singularize\"}}{{/crossLink}}\n       @method singularize\n      @for String\n    */\n    Object.defineProperty(String.prototype, 'singularize', {\n      get() {\n        Ember.deprecate(`String.prototype.singularize() is deprecated. Please explicitly: import { singularize } from 'ember-inflector';`, false, {\n          id: 'ember-inflector.globals',\n          until: '3.0.0'\n        });\n\n        return function () {\n          return (0, _string.singularize)(this);\n        };\n      }\n    }, { configurable: true });\n  }\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 = (0, _makeHelper.default)(function (params, hash) {\n    let fullParams = new Array(...params);\n\n    if (fullParams.length === 2) {\n      fullParams.push({ 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 = (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\", \"ember-inflector/lib/system/inflections\"], function (exports, _inflector, _string, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.defaultRules = exports.pluralize = exports.singularize = exports.Inflector = undefined;\n\n\n  _inflector.default.inflector = new _inflector.default(_inflections.default);\n\n  exports.Inflector = _inflector.default;\n  exports.singularize = _string.singularize;\n  exports.pluralize = _string.pluralize;\n  exports.defaultRules = _inflections.default;\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 = {\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\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\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define('ember-inflector/lib/system/inflector', ['exports', '@ember/string'], function (exports, _string) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\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\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\n  function loadIrregular(rules, irregularPairs) {\n    let pair;\n\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\n    const rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n\n    this.enableCache();\n  }\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\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\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\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\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    /**\n      @public\n       @method purgedCache\n    */\n    purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\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\n      this.pluralize = function () {\n        return this._pluralize(...arguments);\n      };\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    /**\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    /**\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    /**\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    /**\n      @method pluralize\n      @param {String} word\n    */\n    pluralize() {\n      return this._pluralize(...arguments);\n    },\n\n    _pluralize(wordOrCount, word, options = {}) {\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\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\n    _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\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\n      isBlank = !word || BLANK_REGEX.test(word);\n      isCamelized = CAMELIZED_REGEX.test(word);\n\n      if (isBlank) {\n        return word;\n      }\n\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n\n      if (wordSplit) {\n        lastWord = wordSplit[2].toLowerCase();\n      }\n\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n\n      if (isUncountable) {\n        return word;\n      }\n\n      for (rule in irregular) {\n        if (lowercase.match(rule + \"$\")) {\n          substitution = irregular[rule];\n\n          if (isCamelized && irregular[lastWord]) {\n            substitution = (0, _string.capitalize)(substitution);\n            rule = (0, _string.capitalize)(rule);\n          }\n\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n\n        if (rule.test(word)) {\n          break;\n        }\n      }\n\n      inflection = inflection || [];\n\n      rule = inflection[0];\n      substitution = inflection[1];\n\n      result = word.replace(rule, substitution);\n\n      return result;\n    }\n  };\n\n  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.singularize = exports.pluralize = undefined;\n\n\n  function pluralize() {\n    return _inflector.default.inflector.pluralize(...arguments);\n  }\n\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n\n  exports.pluralize = pluralize;\n  exports.singularize = singularize;\n});","define('ember-inflector/lib/utils/make-helper', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (Ember.Helper) {\n      return Ember.Helper.helper(helperFunction);\n    }\n    if (Ember.HTMLBars) {\n      return Ember.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return Ember.Handlebars.makeBoundHelper(helperFunction);\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) {\n      throw new Error(moduleName + ' must have a default export');\n    }\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-local-storage/adapters/adapter\", [\"exports\", \"ember-local-storage/adapters/local\"], function (_exports, _local) {\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 _local.default;\n    }\n  });\n});","define(\"ember-local-storage/adapters/base\", [\"exports\", \"@ember-data/adapter/json-api\", \"ember-local-storage/helpers/import-export\", \"ember-local-storage/helpers/storage\", \"ember-inflector\"], function (_exports, _jsonApi, _importExport, _storage, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Ember data ships with ember-inflector\n  var _default = _exports.default = _jsonApi.default.extend({\n    _debug: false,\n    _indices: Ember.computed(function () {\n      return {};\n    }),\n    coalesceFindRequests: false,\n    // TODO: v2.0 - What are the defaults now? What versions to support?\n    isNewSerializerAPI: true,\n    // TODO: v2.0 - Can we deprecate or remove that? What are the defaults now? What versions to support?\n    // Reload behavior\n    shouldReloadRecord() {\n      return true;\n    },\n    shouldReloadAll() {\n      return true;\n    },\n    shouldBackgroundReloadRecord() {\n      return true;\n    },\n    shouldBackgroundReloadAll() {\n      return true;\n    },\n    generateIdForRecord() {\n      return Math.random().toString(32).slice(2).substr(0, 8);\n    },\n    // Import & Export\n    importData(store, content, options) {\n      return (0, _importExport.importData)(store, content, options);\n    },\n    exportData(store, types, options) {\n      return (0, _importExport.exportData)(store, types, options);\n    },\n    // Relationship sugar\n    createRecord(store, type, snapshot) {\n      snapshot.eachRelationship(function (name, relationship) {\n        const {\n          kind,\n          options\n        } = relationship;\n        if (kind === 'belongsTo' && options.autoSave) {\n          snapshot.record.get(name).then(function (record) {\n            if (record) {\n              record.save();\n            }\n          });\n        }\n      });\n      return this._super.apply(this, arguments);\n    },\n    deleteRecord(store, type, snapshot) {\n      snapshot.eachRelationship(function (name, relationship) {\n        const {\n          kind,\n          options\n        } = relationship;\n        if (kind === 'hasMany' && options.dependent === 'destroy') {\n          snapshot.record.get(name).then(function (records) {\n            records.forEach(function (record) {\n              record.destroyRecord();\n            });\n          });\n        }\n        if (kind === 'belongsTo' && options.autoSave) {\n          snapshot.record.get(name).then(function (record) {\n            if (record) {\n              record.save();\n            }\n          });\n        }\n      });\n      return this._super.apply(this, arguments);\n    },\n    // Polyfill queryRecord\n    queryRecord(store, type, query) {\n      let records = this._super.apply(this, arguments);\n      if (!records) {\n        var url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n\n        // TODO: Document why this is needed or remove it!\n        if (this.sortQueryParams) {\n          query = this.sortQueryParams(query);\n        }\n        records = this.ajax(url, 'GET', {\n          data: query\n        });\n      }\n      return records.then(function (result) {\n        return {\n          data: result.data[0] || null\n        };\n      });\n    },\n    // TODO: v2.0 - What are the defaults now? What versions to support?\n    // Delegate to _handleStorageRequest\n    ajax() {\n      return this._handleStorageRequest.apply(this, arguments);\n    },\n    // Delegate to _handleStorageRequest\n    makeRequest(request) {\n      return this._handleStorageRequest(request.url, request.method, {\n        data: request.data\n      });\n    },\n    // Work arround ds-improved-ajax Feature Flag\n    _makeRequest() {\n      return this.makeRequest.apply(this, arguments);\n    },\n    // Remove the ajax() deprecation warning\n    _hasCustomizedAjax() {\n      return false;\n    },\n    // Delegate to _handle${type}Request\n    _handleStorageRequest(url, type, options = {}) {\n      if (this._debug) {\n        console.log(url, type, options); // eslint-disable-line no-console\n      }\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        const handler = this[`_handle${type}Request`];\n        if (handler) {\n          const data = handler.call(this, url, options.data);\n          Ember.run(null, resolve, {\n            data: data\n          });\n        } else {\n          Ember.run(null, reject, `There is nothing to handle _handle${type}Request`);\n        }\n      }, 'DS: LocalStorageAdapter#_handleStorageRequest ' + type + ' to ' + url);\n    },\n    _handleGETRequest(url, query) {\n      const {\n        type,\n        id\n      } = this._urlParts(url);\n      const storage = Ember.get(this, '_storage');\n      const storageKey = this._storageKey(type, id);\n      if (id) {\n        if (!storage[storageKey]) {\n          throw this.handleResponse(404, {}, 'Not found', {\n            url,\n            method: 'GET'\n          });\n        }\n        return JSON.parse(storage[storageKey]);\n      }\n      const records = this._getIndex(type).filter(function (storageKey) {\n        return storage[storageKey];\n      }).map(function (storageKey) {\n        return JSON.parse(storage[storageKey]);\n      });\n      if (query && query.filter) {\n        const serializer = this.store.serializerFor((0, _emberInflector.singularize)(type));\n        return records.filter(record => {\n          return this._queryFilter(record, serializer, query.filter);\n        });\n      }\n      return records;\n    },\n    _handlePOSTRequest(url, record) {\n      const {\n        type,\n        id\n      } = record.data;\n      const storageKey = this._storageKey(type, id);\n      this._addToIndex(type, storageKey);\n      Ember.get(this, '_storage')[storageKey] = JSON.stringify(record.data);\n      return null;\n    },\n    _handlePATCHRequest(url, record) {\n      const {\n        type,\n        id\n      } = record.data;\n      const storageKey = this._storageKey(type, id);\n      this._addToIndex(type, storageKey);\n      Ember.get(this, '_storage')[storageKey] = JSON.stringify(record.data);\n      return null;\n    },\n    _handleDELETERequest(url) {\n      const {\n        type,\n        id\n      } = this._urlParts(url);\n      const storageKey = this._storageKey(type, id);\n      this._removeFromIndex(type, storageKey);\n      delete Ember.get(this, '_storage')[storageKey];\n      return null;\n    },\n    // TODO: Extract into utility functions in private/query.js\n    _queryFilter(data, serializer, query = {}) {\n      const queryType = Ember.typeOf(query);\n      const dataType = Ember.typeOf(data);\n      if (queryType === 'object' && dataType === 'object') {\n        return Object.keys(query).every(key => {\n          let queryValue = query[key],\n            recordValue;\n\n          // normalize type\n          if (key === 'type' && Ember.typeOf(queryValue) === 'string') {\n            queryValue = (0, _emberInflector.pluralize)(queryValue);\n          }\n\n          // Attributes\n          if (key === 'id' || key === 'type') {\n            recordValue = data[key];\n          } else {\n            key = serializer.keyForAttribute(key);\n            recordValue = data.attributes ? data.attributes[key] : undefined;\n          }\n          if (recordValue !== undefined) {\n            return this._matches(recordValue, queryValue);\n          }\n\n          // Relationships\n          key = serializer.keyForRelationship(key);\n          if (data.relationships && data.relationships[key]) {\n            if (Ember.isEmpty(data.relationships[key].data)) {\n              return;\n            }\n            return this._queryFilter(data.relationships[key].data, serializer, queryValue);\n          }\n        });\n      } else if (queryType === 'array') {\n        // belongsTo\n        if (dataType === 'object') {\n          const queryMessage = query.map(function (item) {\n            return Object.keys(item).map(function (key) {\n              return key + ': ' + item[key];\n            });\n          }).join(', ');\n          throw new Error('You can not provide an array with a belongsTo relation. ' + 'Query: ' + queryMessage);\n\n          // hasMany\n        } else {\n          return query.every(queryValue => {\n            return this._queryFilter(data, serializer, queryValue);\n          });\n        }\n      } else {\n        // belongsTo\n        if (dataType === 'object') {\n          return this._matches(data.id, query);\n\n          // hasMany\n        } else {\n          return data.some(record => {\n            return this._queryFilter(record, serializer, query);\n          });\n        }\n      }\n    },\n    _matches(recordValue, queryValue) {\n      if (Ember.typeOf(queryValue) === 'regexp') {\n        return queryValue.test(recordValue);\n      }\n      return recordValue === queryValue;\n    },\n    _urlParts(url) {\n      const parts = url.split('/');\n\n      // remove empty part\n      parts.shift();\n      let type = parts.shift();\n      let id = parts.shift();\n      if (type === this.modelNamespace) {\n        type = `${type}/${id}`;\n        id = parts.shift();\n      }\n      return {\n        type: type,\n        id: id\n      };\n    },\n    _storageKey(type, id) {\n      return (0, _storage._buildKey)(this, type + '-' + id);\n    },\n    // Should be overwriten\n    // Signature: _getIndex(type)\n    _getIndex() {},\n    _indexHasKey(type, id) {\n      return this._getIndex(type).indexOf(id) !== -1;\n    },\n    _addToIndex(type, id) {\n      if (!this._indexHasKey(type, id)) {\n        this._getIndex(type).addObject(id);\n      }\n    },\n    _removeFromIndex(type, id) {\n      this._getIndex(type).removeObject(id);\n    }\n  });\n});","define(\"ember-local-storage/adapters/local\", [\"exports\", \"ember-local-storage/adapters/base\", \"ember-local-storage/helpers/storage\", \"ember-local-storage/local/array\"], function (_exports, _base, _storage, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _base.default.extend({\n    _storage: (0, _storage.getStorage)('local'),\n    _getIndex(type) {\n      const indices = Ember.get(this, '_indices');\n      if (!indices[type]) {\n        let storageKey = (0, _storage._buildKey)(this, 'index-' + type);\n        let owner = Ember.getOwner(this);\n        indices[type] = _array.default.extend({\n          _storageKey: storageKey\n        }).create(owner.ownerInjection());\n      }\n      return indices[type];\n    }\n  });\n});","define(\"ember-local-storage/adapters/session\", [\"exports\", \"ember-local-storage/adapters/base\", \"ember-local-storage/helpers/storage\", \"ember-local-storage/session/array\"], function (_exports, _base, _storage, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _base.default.extend({\n    _storage: (0, _storage.getStorage)('session'),\n    _getIndex(type) {\n      const indices = Ember.get(this, '_indices');\n      if (!indices[type]) {\n        let storageKey = (0, _storage._buildKey)(this, 'index-' + type);\n        let owner = Ember.getOwner(this);\n        indices[type] = _array.default.extend({\n          _storageKey: storageKey\n        }).create(owner.ownerInjection());\n      }\n      return indices[type];\n    }\n  });\n});","define(\"ember-local-storage/helpers/import-export\", [\"exports\", \"ember-inflector\"], function (_exports, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.exportData = exportData;\n  _exports.importData = importData;\n  function importData(store, content, options) {\n    // merge defaults\n    options = Object.assign({\n      json: true,\n      truncate: true\n    }, options || {});\n    let truncateTypes = Ember.A(),\n      reloadTypes = Ember.A();\n    content = options.json ? JSON.parse(content) : content;\n    if (options.truncate) {\n      content.data.forEach(record => {\n        truncateTypes.addObject(record.type);\n      });\n      truncateTypes.forEach(type => {\n        const singularType = (0, _emberInflector.singularize)(type);\n        const adapter = store.adapterFor(singularType);\n        adapter._getIndex(type).forEach(storageKey => {\n          delete Ember.get(adapter, '_storage')[storageKey];\n        });\n        adapter._getIndex(type).reset();\n\n        // unload from store\n        store.unloadAll(singularType);\n      });\n    }\n    const promises = content.data.map(record => {\n      const adapter = store.adapterFor((0, _emberInflector.singularize)(record.type));\n\n      // collect types to reload\n      reloadTypes.addObject((0, _emberInflector.singularize)(record.type));\n      return adapter._handleStorageRequest(null, 'POST', {\n        data: {\n          data: record\n        }\n      });\n    });\n    return Ember.RSVP.all(promises).then(function () {\n      // reload from store\n      reloadTypes.forEach(function (type) {\n        store.findAll(type);\n      });\n    });\n  }\n  function exportData(store, types, options) {\n    // merge defaults\n    options = Object.assign({\n      json: true,\n      download: false,\n      filename: 'ember-data.json'\n    }, options || {});\n    let json, data;\n\n    // collect data\n    data = types.reduce((records, type) => {\n      const adapter = store.adapterFor((0, _emberInflector.singularize)(type));\n      const url = adapter.buildURL(type);\n      const exportData = adapter._handleGETRequest(url);\n      records.data = records.data.concat(exportData);\n      return records;\n    }, {\n      data: []\n    });\n    if (options.json || options.download) {\n      json = JSON.stringify(data);\n    }\n    if (options.json) {\n      data = json;\n    }\n    if (options.download) {\n      window.saveAs(new Blob([json], {\n        type: 'application/json;charset=utf-8'\n      }), options.filename);\n    }\n    return new Ember.RSVP.Promise(resolve => {\n      Ember.run(null, resolve, data);\n    }, 'DS: LocalStorageAdapter#exportData');\n  }\n});","define(\"ember-local-storage/helpers/storage\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._buildKey = _buildKey;\n  _exports._resetStorages = _resetStorages;\n  _exports.getStorage = getStorage;\n  _exports.storageFor = storageFor;\n  _exports.tryStorage = tryStorage;\n  const storage = {};\n  function tryStorage(name) {\n    let nativeStorage;\n\n    // safari private mode exposes xStorage but fails on setItem\n    try {\n      nativeStorage = name === 'local' ? localStorage : sessionStorage;\n      nativeStorage.setItem('emberlocalstorage.test', 'ok');\n      nativeStorage.removeItem('emberlocalstorage.test');\n    } catch (e) {\n      nativeStorage = undefined;\n    }\n    return nativeStorage;\n  }\n  function getStorage(name) {\n    if (storage[name]) {\n      return storage[name];\n    } else {\n      return storage[name] = tryStorage(name) || {};\n    }\n  }\n  let storages = {};\n  function storageFor(key, modelName) {\n    // Normalize key\n    key = Ember.String.dasherize(key);\n    if (!modelName) {\n      return Ember.computed(function () {\n        if (!storages[key]) {\n          storages[key] = createStorage(this, key, null);\n        }\n        return storages[key];\n      });\n    }\n    (true && !(typeof modelName === 'string') && Ember.assert('The second argument must be a string', typeof modelName === 'string')); // TODO: Allow callbacks to delete the storage if model gets deleted\n    return Ember.computed(modelName, function () {\n      const model = Ember.get(this, modelName);\n\n      // If the propertyValue is null/undefined we simply return null/undefined\n      if (!model || typeof model === 'undefined') {\n        return model;\n      }\n      const modelKey = _modelKey(model);\n      const storageKey = `${key}:${modelKey}`;\n      if (!storages[storageKey]) {\n        storages[storageKey] = createStorage(this, key, modelKey);\n      }\n      return storages[storageKey];\n    });\n  }\n\n  /*\n   * Looks up the storage factory on the container and sets initial state\n   * on the instance if desired.\n   */\n  function createStorage(context, key, modelKey) {\n    const owner = Ember.getOwner(context);\n    const factoryType = 'storage';\n    const storageFactory = `${factoryType}:${key}`;\n    const storageKey = modelKey ? `${storageFactory}:${modelKey}` : storageFactory;\n    const defaultState = {\n      _storageKey: _buildKey(context, storageKey)\n    };\n    const StorageFactory = owner.factoryFor(storageFactory);\n    if (!StorageFactory) {\n      throw new TypeError(`Unknown StorageFactory: ${storageFactory}`);\n    }\n    const StorageFactoryClass = StorageFactory.class;\n    if (typeof StorageFactoryClass.initialState === 'function') {\n      defaultState._initialContent = StorageFactoryClass.initialState.call(StorageFactoryClass, context);\n    } else if (StorageFactoryClass.initialState) {\n      throw new TypeError('initialState property must be a function');\n    }\n    if (Ember.Object.detect(StorageFactoryClass)) {\n      return StorageFactoryClass.create(owner.ownerInjection(), defaultState);\n    }\n    return Ember.Object.create(owner.ownerInjection(), StorageFactoryClass);\n  }\n  function _modelKey(model) {\n    const modelName = model.modelName || model.constructor.typeKey || model.constructor.modelName;\n    const id = model.get('id');\n    if (!modelName || !id) {\n      throw new TypeError('The model must have a `modelName` and `id` on it');\n    }\n    return `${modelName}:${id}`;\n  }\n\n  // TODO: v2.0 - Make modulePrefix the default - needs a warning/error\n  function _getNamespace(appConfig, addonConfig) {\n    // For backward compatibility this is a opt-in feature\n    let namespace = addonConfig.namespace;\n\n    // Shortcut for modulePrefix\n    if (namespace === true) {\n      namespace = appConfig.modulePrefix;\n    }\n    return namespace;\n  }\n\n  // TODO: Add migration helper\n  function _buildKey(context, key) {\n    let appConfig = Ember.getOwner(context).resolveRegistration('config:environment');\n    let addonConfig = appConfig && appConfig['ember-local-storage'] || {};\n    let namespace = _getNamespace(appConfig, addonConfig);\n    let delimiter = addonConfig.keyDelimiter || ':';\n    return namespace ? `${namespace}${delimiter}${key}` : key;\n  }\n\n  // Testing helper\n  function _resetStorages() {\n    storages = {};\n  }\n});","define(\"ember-local-storage/helpers/utils\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.save = save;\n  _exports.saveIfChanged = saveIfChanged;\n  function save() {\n    this._super.apply(this, arguments);\n    this._save();\n  }\n  function saveIfChanged(key) {\n    this._super.apply(this, arguments);\n    if (key !== '_isInitialContent') {\n      this._save();\n    }\n  }\n});","define(\"ember-local-storage/index\", [\"exports\", \"ember-local-storage/helpers/storage\"], function (_exports, _storage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"storageFor\", {\n    enumerable: true,\n    get: function () {\n      return _storage.storageFor;\n    }\n  });\n});","define(\"ember-local-storage/initializers/local-storage-adapter\", [\"exports\", \"@ember-data/store\", \"ember-local-storage/helpers/import-export\"], function (_exports, _store, _importExport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {\n    if (!_store.default.prototype._emberLocalStoragePatched) {\n      (true && !(false) && Ember.deprecate('The initializer has been deprecated and will be removed in version 3.0.0. Find more information how to remove that deprecation by visiting the url.', false, {\n        for: 'ember-local-storage',\n        id: 'ember-local-storage.initializers.local-storage-adapter',\n        since: '2.0.5',\n        until: '3.0.0',\n        url: 'https://github.com/funkensturm/ember-local-storage#deprecations'\n      }));\n      _store.default.reopen({\n        _emberLocalStoragePatched: true,\n        importData: function (json, options) {\n          return (0, _importExport.importData)(this, json, options);\n        },\n        exportData: function (types, options) {\n          return (0, _importExport.exportData)(this, types, options);\n        }\n      });\n    }\n  }\n  var _default = _exports.default = {\n    name: 'local-storage-adapter',\n    after: 'ember-data',\n    initialize: initialize\n  };\n});","define(\"ember-local-storage/local/array\", [\"exports\", \"ember-local-storage/mixins/array\"], function (_exports, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ArrayProxy.extend(_array.default, {\n    _storageType: 'local'\n  });\n});","define(\"ember-local-storage/local/object\", [\"exports\", \"ember-local-storage/mixins/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ObjectProxy.extend(_object.default, {\n    _storageType: 'local'\n  });\n});","define(\"ember-local-storage/mixins/adapters/import-export\", [\"exports\", \"ember-local-storage/helpers/import-export\"], function (_exports, _importExport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create({\n    importData(store, content, options) {\n      (true && !(false) && Ember.deprecate('Using the import-export mixin has been deprecated and will be removed in version 3.0.0', false, {\n        for: 'ember-local-storage',\n        id: 'ember-local-storage.mixins.adapters.import-export',\n        since: '2.0.5',\n        until: '3.0.0',\n        url: 'https://github.com/funkensturm/ember-local-storage#deprecations'\n      }));\n      return (0, _importExport.importData)(store, content, options);\n    },\n    exportData(store, types, options) {\n      (true && !(false) && Ember.deprecate('Using the import-export mixin has been deprecated and will be removed in version 3.0.0', false, {\n        for: 'ember-local-storage',\n        id: 'ember-local-storage.mixins.adapters.import-export',\n        since: '2.0.5',\n        until: '3.0.0',\n        url: 'https://github.com/funkensturm/ember-local-storage#deprecations'\n      }));\n      return (0, _importExport.exportData)(store, types, options);\n    }\n  });\n});","define(\"ember-local-storage/mixins/array\", [\"exports\", \"ember-local-storage/mixins/storage\", \"ember-local-storage/helpers/utils\"], function (_exports, _storage, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create(_storage.default, {\n    _initialContent: Ember.A(),\n    _clear() {\n      Ember.set(this, 'content', Ember.A());\n    },\n    replaceContent: _utils.save,\n    reset: _utils.save\n  });\n});","define(\"ember-local-storage/mixins/object\", [\"exports\", \"ember-local-storage/mixins/storage\", \"ember-local-storage/helpers/utils\"], function (_exports, _storage, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create(_storage.default, {\n    _initialContent: {},\n    _clear() {\n      Ember.set(this, 'content', {});\n    },\n    setUnknownProperty: _utils.saveIfChanged,\n    set: _utils.saveIfChanged,\n    setProperties: _utils.save\n  });\n});","define(\"ember-local-storage/mixins/storage\", [\"exports\", \"ember-local-storage/helpers/storage\", \"ember-copy\"], function (_exports, _storage, _emberCopy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create({\n    _storageKey: null,\n    _initialContent: null,\n    _initialContentString: null,\n    _isInitialContent: true,\n    // we need it for storage event testing\n    _testing: false,\n    // Shorthand for the storage\n    _storage() {\n      return (0, _storage.getStorage)(Ember.get(this, '_storageType'));\n    },\n    init() {\n      const storage = this._storage();\n      const storageKey = Ember.get(this, '_storageKey');\n      const initialContent = Ember.get(this, '_initialContent');\n      let serialized, content;\n      Ember.set(this, '_initialContentString', JSON.stringify(initialContent));\n\n      // Merge the serialized version into defaults.\n      content = this._getInitialContentCopy();\n\n      // Retrieve the serialized version from storage.\n      serialized = storage[storageKey];\n      if (serialized) {\n        Object.assign(content, JSON.parse(serialized));\n      }\n\n      // Do not change to set(this, 'content', content)\n      this.set('content', content);\n\n      // Keep in sync with other windows\n      this._addStorageListener();\n      this._super(...arguments);\n      let owner = Ember.getOwner(this);\n      Ember._associateDestroyableChild(owner, this);\n    },\n    _getInitialContentCopy() {\n      const initialContent = Ember.get(this, '_initialContent');\n      const content = (0, _emberCopy.copy)(initialContent, true);\n\n      // copy returns a normal array when prototype extensions are off\n      // This ensures that we wrap it in an Ember Array.\n      return Ember.isArray(content) ? Ember.A(content) : content;\n    },\n    _addStorageListener() {\n      const storage = this._storage();\n      const storageKey = Ember.get(this, '_storageKey');\n      if (window.addEventListener) {\n        this._storageEventHandler = event => {\n          if (this.isDestroying) {\n            return;\n          }\n          if (event.storageArea === storage && event.key === storageKey) {\n            if ('hidden' in document && !document.hidden && !this._testing || event.newValue === event.oldValue || event.newValue === JSON.stringify(this.get('content'))) {\n              return;\n            }\n            if (event.newValue) {\n              // TODO: Why do we use this.set here? I guess it's the loop bug...\n              this.set('content', JSON.parse(event.newValue));\n            } else {\n              this.clear();\n            }\n          }\n        };\n        window.addEventListener('storage', this._storageEventHandler, false);\n      }\n    },\n    _save() {\n      if (this.isDestroying || this.isDestroyed) return;\n      const storage = this._storage();\n      const content = Ember.get(this, 'content');\n      const storageKey = Ember.get(this, '_storageKey');\n      const initialContentString = Ember.get(this, '_initialContentString');\n\n      // TODO: Why is it needed?\n      if (storageKey) {\n        let json = JSON.stringify(content);\n        if (json !== initialContentString) {\n          Ember.set(this, '_isInitialContent', false);\n        }\n        storage[storageKey] = json;\n      }\n    },\n    willDestroy() {\n      if (this._storageEventHandler) {\n        window.removeEventListener('storage', this._storageEventHandler, false);\n      }\n      this._super(...arguments);\n    },\n    // Public API\n\n    // returns boolean\n    isInitialContent() {\n      return Ember.get(this, '_isInitialContent');\n    },\n    // reset the content\n    // returns void\n    reset() {\n      const content = this._getInitialContentCopy();\n\n      // Do not change to set(this, 'content', content)\n      this.set('content', content);\n      Ember.set(this, '_isInitialContent', true);\n    },\n    // clear the content\n    // returns void\n    clear() {\n      this._clear();\n      delete this._storage()[Ember.get(this, '_storageKey')];\n    }\n  });\n});","define(\"ember-local-storage/serializers/serializer\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _jsonApi.default.extend({\n    shouldSerializeHasMany() {\n      return true;\n    },\n    serializeBelongsTo() {\n      this._fixSerializeBelongsTo(...arguments);\n    },\n    serializeHasMany() {\n      this._fixSerializeHasMany(...arguments);\n    },\n    _fixSerializeBelongsTo(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this._canSerialize(key)) {\n        let belongsTo = snapshot.belongsTo(key);\n        let belongsToIsNotNew = belongsTo && belongsTo.record && belongsTo.record.get('id');\n        if (belongsTo === null || belongsToIsNotNew) {\n          json.relationships = json.relationships || {};\n          let modelType = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(key, modelType);\n          if (payloadKey === key) {\n            payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n          }\n          let data = null;\n          if (belongsTo) {\n            let 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    _fixSerializeHasMany(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        let hasMany = snapshot.hasMany(key);\n        if (hasMany !== undefined) {\n          json.relationships = json.relationships || {};\n          let modelType = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(key, modelType);\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          let nonNewHasMany = hasMany.filter(item => item.record && item.record.get('id'));\n          let data = new Array(nonNewHasMany.length);\n          for (let i = 0; i < nonNewHasMany.length; i++) {\n            let item = hasMany[i];\n            let 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});","define(\"ember-local-storage/session/array\", [\"exports\", \"ember-local-storage/mixins/array\"], function (_exports, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ArrayProxy.extend(_array.default, {\n    _storageType: 'session'\n  });\n});","define(\"ember-local-storage/session/object\", [\"exports\", \"ember-local-storage/mixins/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ObjectProxy.extend(_object.default, {\n    _storageType: 'session'\n  });\n});","define(\"ember-math-helpers/helpers/abs\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.abs = abs;\n  _exports.default = void 0;\n  /**\n   * Uses `Math.abs` to take the absolute value of the number passed to the helper.\n   *\n   * ```hbs\n   * {{abs a}}\n   * ```\n   *\n   * @param {number} number The number to take the absolute value of\n   * @return {number} The absolute value of the passed number\n   */\n  function abs([number]) {\n    return Math.abs(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(abs);\n});","define(\"ember-math-helpers/helpers/acos\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.acos = acos;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.acos` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{acos a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.acos`\n   * @return {number} The acos of the passed number\n   */\n  function acos([number]) {\n    return Math.acos(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(acos);\n});","define(\"ember-math-helpers/helpers/acosh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.acosh = acosh;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.acosh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{acosh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.acosh`\n   * @return {number} The acosh of the passed number\n   */\n  function acosh([number]) {\n    return Math.acosh(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(acosh);\n});","define(\"ember-math-helpers/helpers/add\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.add = add;\n  _exports.default = void 0;\n  /**\n   * Sums two or more numbers\n   *\n   * ```hbs\n   * {{add a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to sum\n   * @return {number} The sum of all the passed numbers\n   */\n  function add(numbers) {\n    return numbers.reduce((a, b) => Number(a) + Number(b));\n  }\n  var _default = _exports.default = Ember.Helper.helper(add);\n});","define(\"ember-math-helpers/helpers/asin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asin = asin;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.asin` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{asin a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.asin`\n   * @return {number} The asin of the passed number\n   */\n  function asin([number]) {\n    return Math.asin(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(asin);\n});","define(\"ember-math-helpers/helpers/asinh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asinh = asinh;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.asinh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{asinh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.asinh`\n   * @return {number} The asinh of the passed number\n   */\n  function asinh([number]) {\n    return Math.asinh(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(asinh);\n});","define(\"ember-math-helpers/helpers/atan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atan = atan;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.atan` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{atan a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.atan`\n   * @return {number} The atan of the passed number\n   */\n  function atan([number]) {\n    return Math.atan(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(atan);\n});","define(\"ember-math-helpers/helpers/atan2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atan2 = atan2;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.atan2` on the numbers passed to the helper.\n   *\n   * ```hbs\n   * {{atan2 a b}}\n   * ```\n   *\n   * @param {number} number1 The first number to pass to `Math.atan2`\n   * @param {number} number2 The second number to pass to `Math.atan2`\n   * @return {number} The atan2 of the passed numbers\n   */\n  function atan2([number1, number2]) {\n    return Math.atan2(number1, number2);\n  }\n  var _default = _exports.default = Ember.Helper.helper(atan2);\n});","define(\"ember-math-helpers/helpers/atanh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.atanh = atanh;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.atanh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{atanh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.atanh`\n   * @return {number} The atanh of the passed number\n   */\n  function atanh([number]) {\n    return Math.atanh(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(atanh);\n});","define(\"ember-math-helpers/helpers/cbrt\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cbrt = cbrt;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.cbrt` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cbrt a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cbrt`\n   * @return {number} The cbrt of the passed number\n   */\n  function cbrt([number]) {\n    return Math.cbrt(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(cbrt);\n});","define(\"ember-math-helpers/helpers/ceil\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ceil = ceil;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.ceil` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{ceil a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.ceil`\n   * @return {number} The ceil of the passed number\n   */\n  function ceil([number]) {\n    return Math.ceil(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(ceil);\n});","define(\"ember-math-helpers/helpers/clz32\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.clz32 = clz32;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.clz32` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{clz32 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.clz32`\n   * @return {number} The clz32 of the passed number\n   */\n  function clz32([number]) {\n    return Math.clz32(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(clz32);\n});","define(\"ember-math-helpers/helpers/cos\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cos = cos;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.cos` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cos a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cos`\n   * @return {number} The cos of the passed number\n   */\n  function cos([number]) {\n    return Math.cos(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(cos);\n});","define(\"ember-math-helpers/helpers/cosh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cosh = cosh;\n  _exports.default = void 0;\n  /**\n   * Executes `Math.cosh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{cosh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.cosh`\n   * @return {number} The cosh of the passed number\n   */\n  function cosh([number]) {\n    return Math.cosh(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(cosh);\n});","define(\"ember-math-helpers/helpers/div\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.div = div;\n  /**\n   * Divides two or more numbers\n   *\n   * ```hbs\n   * {{div a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to divide\n   * @return {number} The result of dividing all the passed numbers\n   */\n  function div(numbers) {\n    return numbers.reduce((a, b) => Number(a) / Number(b));\n  }\n  var _default = _exports.default = Ember.Helper.helper(div);\n});","define(\"ember-math-helpers/helpers/exp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.exp = exp;\n  /**\n   * Executes `Math.exp` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{exp a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.exp`\n   * @return {number} The exp of the passed number\n   */\n  function exp([number]) {\n    return Math.exp(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(exp);\n});","define(\"ember-math-helpers/helpers/expm1\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.expm1 = expm1;\n  /**\n   * Executes `Math.expm1` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{expm1 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.expm1`\n   * @return {number} The expm1 of the passed number\n   */\n  function expm1([number]) {\n    return Math.expm1(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(expm1);\n});","define(\"ember-math-helpers/helpers/floor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.floor = floor;\n  /**\n   * Executes `Math.floor` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{floor a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.floor`\n   * @return {number} The floor of the passed number\n   */\n  function floor([number]) {\n    return Math.floor(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(floor);\n});","define(\"ember-math-helpers/helpers/fround\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.fround = fround;\n  /**\n   * Executes `Math.fround` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{fround a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.fround`\n   * @return {number} The fround of the passed number\n   */\n  function fround([number]) {\n    return Math.fround(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(fround);\n});","define(\"ember-math-helpers/helpers/gcd\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.gcd = gcd;\n  /**\n   * Returns the greatest positive integer that divides each of two integers\n   *\n   * ```hbs\n   * {{gcd a b}}\n   * ```\n   *\n   * @param {number} number1 The first number\n   * @param {number} number2 The second number\n   * @return {number} The GCD of the two numbers passed\n   */\n  function gcd([number1 = 0, number2 = 0]) {\n    const a = Math.abs(number1);\n    const b = Math.abs(number2);\n    if (a === 0) {\n      return b;\n    }\n    if (b === 0) {\n      return a;\n    }\n    return gcd([b, a % b]);\n  }\n  var _default = _exports.default = Ember.Helper.helper(gcd);\n});","define(\"ember-math-helpers/helpers/hypot\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.hypot = hypot;\n  /**\n   * Takes two or more numbers, and returns the square root of the sum of squares of them using `Math.hypot`\n   *\n   * ```hbs\n   * {{max a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.hypot`\n   * @return {number} The hypot of the set of numbers\n   */\n  function hypot(numbers) {\n    return Math.hypot(...numbers);\n  }\n  var _default = _exports.default = Ember.Helper.helper(hypot);\n});","define(\"ember-math-helpers/helpers/imul\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.imul = imul;\n  /**\n   * Executes `Math.imul` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{imul a}}\n   * ```\n   *\n   * @param {number} number1 The first number to pass to `Math.imul`\n   * @param {number} number2 The second number to pass to `Math.imul`\n   * @return {number} The imul of the passed numbers\n   */\n  function imul([number1, number2]) {\n    return Math.imul(number1, number2);\n  }\n  var _default = _exports.default = Ember.Helper.helper(imul);\n});","define(\"ember-math-helpers/helpers/lcm\", [\"exports\", \"ember-math-helpers/helpers/gcd\"], function (_exports, _gcd) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.lcm = lcm;\n  /**\n   * Returns the smallest positive integer that is divisible by both number1 and number2\n   *\n   * ```hbs\n   * {{lcm a b}}\n   * ```\n   *\n   * @param {number} number1 The first number\n   * @param {number} number2 The second number\n   * @return {number} The LCM of the two numbers passed\n   */\n  function lcm([number1 = 0, number2 = 0]) {\n    return number1 === 0 || number2 === 0 ? 0 : Math.abs(number1 * number2) / (0, _gcd.gcd)([number1, number2]);\n  }\n  var _default = _exports.default = Ember.Helper.helper(lcm);\n});","define(\"ember-math-helpers/helpers/log-e\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.logE = logE;\n  /**\n   * Executes `Math.log` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log-e a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log`\n   * @return {number} The log of the passed number\n   */\n  function logE([number]) {\n    return Math.log(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(logE);\n});","define(\"ember-math-helpers/helpers/log10\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.log10 = log10;\n  /**\n   * Executes `Math.log10` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log10 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log10`\n   * @return {number} The log10 of the passed number\n   */\n  function log10([number]) {\n    return Math.log10(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(log10);\n});","define(\"ember-math-helpers/helpers/log1p\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.log1p = log1p;\n  /**\n   * Executes `Math.log1p` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log1p a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log1p`\n   * @return {number} The log1p of the passed number\n   */\n  function log1p([number]) {\n    return Math.log1p(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(log1p);\n});","define(\"ember-math-helpers/helpers/log2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.log2 = log2;\n  /**\n   * Executes `Math.log2` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{log2 a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.log2`\n   * @return {number} The log2 of the passed number\n   */\n  function log2([number]) {\n    return Math.log2(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(log2);\n});","define(\"ember-math-helpers/helpers/max\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.max = max;\n  /**\n   * Takes two or more numbers, and finds the max of the set using `Math.max`\n   *\n   * ```hbs\n   * {{max a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.max`\n   * @return {number} The max of the set of numbers\n   */\n  function max(numbers) {\n    return Math.max(...numbers);\n  }\n  var _default = _exports.default = Ember.Helper.helper(max);\n});","define(\"ember-math-helpers/helpers/min\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.min = min;\n  /**\n   * Takes two or more numbers, and finds the min of the set using `Math.min`\n   *\n   * ```hbs\n   * {{min a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.min`\n   * @return {number} The min of the set of numbers\n   */\n  function min(numbers) {\n    return Math.min(...numbers);\n  }\n  var _default = _exports.default = Ember.Helper.helper(min);\n});","define(\"ember-math-helpers/helpers/mod\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.mod = mod;\n  /**\n   * Takes the modulus of two or more numbers\n   *\n   * ```hbs\n   * {{mod a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to modulus\n   * @return {number} The modulus of all the passed numbers\n   */\n  function mod(numbers) {\n    return numbers.reduce((a, b) => Number(a) % Number(b));\n  }\n  var _default = _exports.default = Ember.Helper.helper(mod);\n});","define(\"ember-math-helpers/helpers/mult\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.mult = mult;\n  /**\n   * Multiplies two or more numbers\n   *\n   * ```hbs\n   * {{mult a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to multiply\n   * @return {number} The product of all the passed numbers\n   */\n  function mult(numbers) {\n    return numbers.reduce((a, b) => Number(a) * Number(b));\n  }\n  var _default = _exports.default = Ember.Helper.helper(mult);\n});","define(\"ember-math-helpers/helpers/pow\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.pow = pow;\n  /**\n   * Takes two or more numbers, using the first as the base number,\n   * then using each subsequent number as an exponent to the previous value\n   *\n   * ```hbs\n   * {{pow a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to pass to `Math.pow`\n   * @return {number} The base raised to all exponents\n   */\n  function pow(numbers) {\n    return numbers.reduce((base, exponent) => Math.pow(base, exponent));\n  }\n  var _default = _exports.default = Ember.Helper.helper(pow);\n});","define(\"ember-math-helpers/helpers/random\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.random = random;\n  const {\n    min,\n    max\n  } = Math;\n\n  // @see: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toFixed#max(0, min(MAX_DECIMALS, decimals))));\n  const MAX_DECIMALS = 20;\n\n  // 💡 Using Number.toFixed, we'll get rounding for free alongside\n  // decimal precision. We'll default to whole-number rounding simply\n  // by defaulting `decimals` to 0\n  const DEFAULT_OPTS = {\n    decimals: 0\n  };\n\n  /**\n   * Executes `Math.random` with the provided upper-bounded randoms, lower- and upper-bounded randoms,\n   * and the option to configure decimal precision.\n   *\n   * ```hbs\n   * {{random}} or {{random decimals=4}}\n   * ```\n   *\n   * ```hbs\n   * {{random 42}} or {{random 42 decimals=4}}\n   * ```\n   *\n   * ```hbs\n   * {{random 21 1797}} or {{random 21 1797 decimals=4}}\n   * ```\n   *\n   * @param {number} upperBound\n   * @param {number} lowerBound\n   * @param {object} { decimals } decimal precision value\n   * @return {number} The random generated number\n   */\n  function random(params, {\n    decimals\n  } = DEFAULT_OPTS) {\n    // no positional args, but only an options hash from named args\n    if (typeof params === 'object' && !Ember.isArray(params)) {\n      decimals = typeof params.decimals !== 'undefined' ? params.decimals : DEFAULT_OPTS.decimals;\n      return +Math.random().toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    }\n\n    // one positional arg: treat it as an upper bound\n    if (params && params.length === 1) {\n      const [upperBound] = params;\n      return +(Math.random() * upperBound).toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    }\n\n    // two positional args: use them to derive upper and lower bounds\n    if (params && params.length === 2) {\n      let [lowerBound, upperBound] = params;\n\n      // for convenience, swap if a higher number is accidentally passed first\n      if (upperBound < lowerBound) {\n        [lowerBound, upperBound] = [upperBound, lowerBound];\n      }\n      return +(lowerBound + Math.random() * (upperBound - lowerBound)).toFixed(max(0, min(MAX_DECIMALS, decimals)));\n    }\n\n    // no positional or named args: just return Math.random() w/ default decimal precision\n    return +Math.random().toFixed(max(0, min(MAX_DECIMALS, decimals)));\n  }\n  var _default = _exports.default = Ember.Helper.helper(random);\n});","define(\"ember-math-helpers/helpers/round\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.round = round;\n  // adapted from:\n  // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/round#Decimal_rounding\n  /**\n   * Decimal adjustment of a number.\n   *\n   * @param {Number} value The number.\n   * @param {Integer} exp The exponent (the 10 logarithm of the adjustment base).\n   * @return {Number} The adjusted value.\n   */\n  function decimalAdjust(value, exp) {\n    // If the exp is undefined or zero...\n    if (typeof exp === 'undefined' || +exp === 0) {\n      return Math.round(value);\n    }\n    value = +value;\n    exp = +exp;\n    // If the value is not a number or the exp is not an integer...\n    if (value === null || isNaN(value) || !(typeof exp === 'number' && exp % 1 === 0)) {\n      return NaN;\n    }\n    // If the value is negative...\n    if (value < 0) {\n      return -decimalAdjust(-value, exp);\n    }\n    // Shift\n    value = value.toString().split('e');\n    value = Math.round(+`${value[0]}e${value[1] ? +value[1] - exp : -exp}`);\n    // Shift back\n    value = value.toString().split('e');\n    return +`${value[0]}e${value[1] ? +value[1] + exp : exp}`;\n  }\n  function round(number, namedArgs) {\n    if (namedArgs) {\n      if (namedArgs.decimals) {\n        return decimalAdjust(number[0], -namedArgs.decimals);\n      }\n      if (namedArgs.exp) {\n        return decimalAdjust(number[0], namedArgs.exp);\n      }\n    }\n    return Math.round(number[0]);\n  }\n  var _default = _exports.default = Ember.Helper.helper(round);\n});","define(\"ember-math-helpers/helpers/sign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sign = sign;\n  /**\n   * Executes `Math.sign` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sign a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sign`\n   * @return {number} The sign of the passed number\n   */\n  function sign([number]) {\n    return Math.sign(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(sign);\n});","define(\"ember-math-helpers/helpers/sin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sin = sin;\n  /**\n   * Executes `Math.sin` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sin a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sin`\n   * @return {number} The sin of the passed number\n   */\n  function sin([number]) {\n    return Math.sin(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(sin);\n});","define(\"ember-math-helpers/helpers/sqrt\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sqrt = sqrt;\n  /**\n   * Executes `Math.sqrt` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{sqrt a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.sqrt`\n   * @return {number} The sqrt of the passed number\n   */\n  function sqrt([number]) {\n    return Math.sqrt(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(sqrt);\n});","define(\"ember-math-helpers/helpers/sub\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sub = sub;\n  /**\n   * Subtracts two or more numbers\n   *\n   * ```hbs\n   * {{sub a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to subtract\n   * @return {number} The difference of all the passed numbers\n   */\n  function sub(numbers) {\n    return numbers.reduce((a, b) => Number(a) - Number(b));\n  }\n  var _default = _exports.default = Ember.Helper.helper(sub);\n});","define(\"ember-math-helpers/helpers/sum\", [\"exports\", \"ember-math-helpers/helpers/add\"], function (_exports, _add) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.sum = sum;\n  /**\n   * Alias for {{add}} helper\n   *\n   * ```hbs\n   * {{sum a b}}\n   * ```\n   *\n   * @param {number[]} numbers A list of numbers to sum\n   * @return {number} The sum of all the passed numbers\n   */\n  function sum(numbers) {\n    return (0, _add.add)(numbers);\n  }\n  var _default = _exports.default = Ember.Helper.helper(sum);\n});","define(\"ember-math-helpers/helpers/tan\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.tan = tan;\n  /**\n   * Executes `Math.tan` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{tan a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.tan`\n   * @return {number} The tan of the passed number\n   */\n  function tan([number]) {\n    return Math.tan(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(tan);\n});","define(\"ember-math-helpers/helpers/tanh\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.tanh = tanh;\n  /**\n   * Executes `Math.tanh` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{tanh a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.tanh`\n   * @return {number} The tanh of the passed number\n   */\n  function tanh([number]) {\n    return Math.tanh(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(tanh);\n});","define(\"ember-math-helpers/helpers/trunc\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.trunc = trunc;\n  /**\n   * Executes `Math.trunc` on the number passed to the helper.\n   *\n   * ```hbs\n   * {{trunc a}}\n   * ```\n   *\n   * @param {number} number The number to pass to `Math.trunc`\n   * @return {number} The trunc of the passed number\n   */\n  function trunc([number]) {\n    return Math.trunc(number);\n  }\n  var _default = _exports.default = Ember.Helper.helper(trunc);\n});","define(\"ember-maybe-in-element/components/maybe-in-element\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @renderInPlace}}{{yield}}{{else}}{{#in-element @destinationElement insertBefore=null}}{{yield}}{{/in-element}}{{/if}}\n  */\n  {\n    \"id\": \"Sqm68cWW\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"@destinationElement\\\",\\\"@renderInPlace\\\"],\\\"statements\\\":[[6,[37,2],[[32,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[18,1,null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[32,2]],null]],[[\\\"guid\\\",\\\"insertBefore\\\"],[\\\"%cursor:0%\\\",null]],[[\\\"default\\\"],[{\\\"statements\\\":[[18,1,null]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-in-el-null\\\",\\\"in-element\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-maybe-in-element/components/maybe-in-element.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define('ember-message-bus/services/message-bus', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const {\n    Service,\n    computed,\n    get,\n    isBlank,\n    isNone,\n    set\n  } = Ember;\n\n  exports.default = Service.extend({\n    _subscriptionMap: computed(() => {\n      return {};\n    }),\n\n    publish(name, ...messages) {\n      const markedForCleanup = [];\n\n      (get(this, `_subscriptionMap.${name}`) || []).forEach(subscription => {\n        if (isNone(subscription.context) || get(subscription.context, 'isDestroyed')) {\n          return markedForCleanup.push(subscription.context);\n        }\n\n        subscription.callback.apply(subscription.context, messages);\n      });\n\n      markedForCleanup.forEach(context => this.unsubscribe(name, context));\n    },\n\n    subscribe(name, context, callback) {\n      const subscriptions = get(this, `_subscriptionMap.${name}`) || set(this, `_subscriptionMap.${name}`, []);\n\n      subscriptions.push({ callback, context });\n    },\n\n    unsubscribe(name, context, callback) {\n      const subscriptionMap = get(this, `_subscriptionMap`);\n      const subscriptions = get(subscriptionMap, name);\n\n      if (isBlank(subscriptions)) {\n        return;\n      }\n\n      const blankCallback = isBlank(callback);\n\n      const indices = subscriptions.reduce((indices, subscription, index) => {\n        if ((blankCallback || subscription.callback === callback) && subscription.context === context) {\n          indices.push(index);\n        }\n\n        return indices;\n      }, []);\n\n      indices.reverse().forEach(index => subscriptions.splice(index, 1));\n\n      if (subscriptions.length === 0) {\n        delete subscriptionMap[name];\n      }\n    },\n\n    unsubscribeAll(context) {\n      const subscriptionMap = get(this, '_subscriptionMap');\n\n      Object.keys(subscriptionMap).forEach(name => this.unsubscribe(name, context));\n    }\n  });\n});","define(\"ember-modal-dialog/components/basic-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/basic-dialog\"], function (_exports, _basicDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    tagName: '',\n    layout: _basicDialog.default,\n    containerClassNames: null,\n    overlayClassNames: null,\n    wrapperClassNames: null,\n    destinationElementId: null,\n    modalService: Ember.inject.service('modal-dialog'),\n    init() {\n      this._super(...arguments);\n      if (!this.get('destinationElementId')) {\n        this.set('destinationElementId', this.get('modalService.destinationElementId'));\n      }\n    },\n    variantWrapperClass: 'emd-static',\n    containerClassNamesString: Ember.computed('containerClassNames.[]', 'targetAttachmentClass', 'attachmentClass', 'containerClass', function () {\n      return [this.get('containerClassNames').join(' '), this.get('targetAttachmentClass'), this.get('attachmentClass'), this.get('containerClass')].filter(className => !Ember.isEmpty(className)).join(' ');\n    }),\n    overlayClassNamesString: Ember.computed('overlayClassNames.[]', 'overlayClass', 'translucentOverlay', function () {\n      return [this.get('overlayClassNames').join(' '), this.get('translucentOverlay') ? 'translucent' : null, this.get('overlayClass')].filter(className => !Ember.isEmpty(className)).join(' ');\n    }),\n    wrapperClassNamesString: Ember.computed('wrapperClassNames.[]', 'targetAttachmentClass', 'variantWrapperClass', 'wrapperClass', function () {\n      return [this.get('wrapperClassNames').join(' '), this.get('targetAttachmentClass').replace('emd-', 'emd-wrapper-'), this.get('variantWrapperClass'), this.get('wrapperClass')].filter(className => !Ember.isEmpty(className)).join(' ');\n    }),\n    concatenatedProperties: ['containerClassNames', 'overlayClassNames', 'wrapperClassNames'],\n    translucentOverlay: false,\n    clickOutsideToClose: false,\n    hasOverlay: true,\n    isCentered: true,\n    overlayPosition: null,\n    isOverlaySibling: Ember.computed('overlayPosition', function () {\n      return this.get('overlayPosition') === 'sibling';\n    }),\n    didInsertElement() {\n      if (!this.get('clickOutsideToClose')) {\n        return;\n      }\n      this.makeOverlayClickableOnIOS();\n      this.handleClick = ({\n        target\n      }) => {\n        // if the click has already resulted in the target\n        // being removed or hidden, do nothing\n        if (target.offsetWidth === 0 && target.offsetHeight === 0) {\n          return;\n        }\n        if (this.isDestroying || this.isDestroyed) {\n          return;\n        }\n        let modalSelector = '.ember-modal-dialog';\n        if (this.get('stack')) {\n          modalSelector = '#' + this.get('stack') + modalSelector;\n        }\n\n        // if the click is within the dialog, do nothing\n        let modalEl = document.querySelector(modalSelector);\n        if (modalEl && modalEl.contains(target)) {\n          return;\n        }\n        if (this.get('onClose')) {\n          this.get('onClose')();\n        }\n      };\n      const registerClick = () => document.addEventListener('click', this.handleClick);\n\n      // setTimeout needed or else the click handler will catch the click that spawned this modal dialog\n      setTimeout(registerClick);\n      if (this.get('isIOS')) {\n        const registerTouch = () => document.addEventListener('touchend', this.handleClick);\n        setTimeout(registerTouch);\n      }\n      this._super(...arguments);\n    },\n    willDestroyElement() {\n      document.removeEventListener('click', this.handleClick);\n      if (this.get('isIOS')) {\n        document.removeEventListener('touchend', this.handleClick);\n      }\n      this._super(...arguments);\n    },\n    isIOS: Ember.computed(function () {\n      return /iPad|iPhone|iPod/.test(navigator.userAgent);\n    }),\n    makeOverlayClickableOnIOS: function () {\n      if (this.get('isIOS')) {\n        let overlayEl = document.querySelector('div[data-emd-overlay]');\n        if (overlayEl) {\n          overlayEl.style.cursor = 'pointer';\n        }\n      }\n    }\n  });\n});","define(\"ember-modal-dialog/components/in-place-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/in-place-dialog\"], function (_exports, _inPlaceDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const computedJoin = function (prop) {\n    return Ember.computed(prop, function () {\n      return this.get(prop).join(' ');\n    });\n  };\n  var _default = _exports.default = Ember.Component.extend({\n    tagName: '',\n    layout: _inPlaceDialog.default,\n    containerClass: null,\n    // passed in\n    containerClassNames: ['ember-modal-dialog', 'ember-modal-dialog-in-place', 'emd-in-place'],\n    // set this in a subclass definition\n    containerClassNamesString: computedJoin('containerClassNames'),\n    concatenatedProperties: ['containerClassNames']\n  });\n});","define(\"ember-modal-dialog/components/liquid-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/liquid-dialog\"], function (_exports, _basicDialog, _liquidDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/avoid-leaking-state-in-ember-objects */\n  var _default = _exports.default = _basicDialog.default.extend({\n    layout: _liquidDialog.default,\n    hasOverlay: true,\n    containerClassNames: ['liquid-dialog'],\n    variantWrapperClass: 'emd-animatable'\n  });\n});","define(\"ember-modal-dialog/components/liquid-tether-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/liquid-tether-dialog\"], function (_exports, _basicDialog, _liquidTetherDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _basicDialog.default.extend({\n    layout: _liquidTetherDialog.default,\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      let targetAttachment = this.get('targetAttachment') || '';\n      return `ember-modal-dialog-target-attachment-${Ember.String.dasherize(targetAttachment)}`;\n    }),\n    targetAttachment: null,\n    attachment: null,\n    didReceiveAttrs() {\n      this._super(...arguments);\n      if (!this.get('attachment')) {\n        this.set('attachment', 'middle center');\n      }\n      if (!this.get('targetAttachment')) {\n        this.set('targetAttachment', 'middle center');\n      }\n    },\n    tetherClassPrefix: Ember.computed({\n      get() {\n        return 'liquid-tether';\n      },\n      set(key, val) {\n        if (val) {\n          return val;\n        }\n        return 'liquid-tether';\n      }\n    }),\n    hasOverlay: true,\n    tetherTarget: null // element, css selector, view instance, 'viewport', or 'scroll-handle'\n    // offset - passed in\n    // targetOffset - passed in\n    // targetModifier - passed in\n  });\n});","define(\"ember-modal-dialog/components/modal-dialog\", [\"exports\", \"ember-modal-dialog/templates/components/modal-dialog\"], function (_exports, _modalDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const VALID_OVERLAY_POSITIONS = ['parent', 'sibling'];\n  var _default = _exports.default = Ember.Component.extend({\n    tagName: '',\n    layout: _modalDialog.default,\n    modalService: Ember.inject.service('modal-dialog'),\n    destinationElementId: null,\n    init() {\n      this._super(...arguments);\n      if (!this.get('destinationElementId')) {\n        this.set('destinationElementId', this.get('modalService.destinationElementId'));\n      }\n    },\n    modalDialogComponentName: Ember.computed('renderInPlace', 'tetherTarget', 'animatable', 'hasLiquidWormhole', 'hasLiquidTether', function () {\n      let tetherTarget = this.get('tetherTarget');\n      let hasLiquidTether = this.get('hasLiquidTether');\n      let hasLiquidWormhole = this.get('hasLiquidWormhole');\n      let animatable = this.get('animatable');\n      if (this.get('renderInPlace')) {\n        return 'ember-modal-dialog/-in-place-dialog';\n      } else if (tetherTarget && hasLiquidTether && hasLiquidWormhole && animatable === true) {\n        return 'ember-modal-dialog/-liquid-tether-dialog';\n      } else if (tetherTarget) {\n        this.ensureEmberTetherPresent();\n        return 'ember-modal-dialog/-tether-dialog';\n      } else if (hasLiquidWormhole && animatable === true) {\n        return 'ember-modal-dialog/-liquid-dialog';\n      }\n      return 'ember-modal-dialog/-basic-dialog';\n    }),\n    animatable: null,\n    hasLiquidWormhole: Ember.computed.readOnly('modalService.hasLiquidWormhole'),\n    hasLiquidTether: Ember.computed.readOnly('modalService.hasLiquidTether'),\n    didReceiveAttrs() {\n      this._super(...arguments);\n      if (true /* DEBUG */) {\n        this.validateProps();\n      }\n    },\n    validateProps() {\n      let overlayPosition = this.get('overlayPosition');\n      if (VALID_OVERLAY_POSITIONS.indexOf(overlayPosition) === -1) {\n        (true && Ember.warn(`overlayPosition value '${overlayPosition}' is not valid (valid values [${VALID_OVERLAY_POSITIONS.join(', ')}])`, false, {\n          id: 'ember-modal-dialog.validate-overlay-position'\n        }));\n      }\n    },\n    // onClose - set this from templates\n\n    /* eslint-disable ember/avoid-leaking-state-in-ember-objects */\n\n    // containerClass - set this from templates\n    containerClassNames: ['ember-modal-dialog'],\n    // set this in a subclass definition\n\n    // overlayClass - set this from templates\n    overlayClassNames: ['ember-modal-overlay'],\n    // set this in a subclass definition\n\n    // wrapperClass - set this from templates\n    wrapperClassNames: ['ember-modal-wrapper'],\n    // set this in a subclass definition\n\n    concatenatedProperties: ['containerClassNames', 'overlayClassNames', 'wrapperClassNames'],\n    /* eslint-enable ember/avoid-leaking-state-in-ember-objects */\n\n    hasOverlay: true,\n    translucentOverlay: false,\n    overlayPosition: 'parent',\n    // `parent` or `sibling`\n    clickOutsideToClose: false,\n    renderInPlace: false,\n    tetherTarget: null,\n    stack: Ember.computed.oneWay('elementId'),\n    // pass a `stack` string to set a \"stack\" to be passed to liquid-wormhole / liquid-tether\n    value: 0,\n    // pass a `value` to set a \"value\" to be passed to liquid-wormhole / liquid-tether\n\n    targetAttachment: 'middle center',\n    tetherClassPrefix: null,\n    attachmentClass: Ember.computed('attachment', function () {\n      let attachment = this.get('attachment');\n      if (Ember.isEmpty(attachment)) {\n        return;\n      }\n      return attachment.split(' ').map(attachmentPart => {\n        return `emd-attachment-${Ember.String.dasherize(attachmentPart)}`;\n      }).join(' ');\n    }),\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      let targetAttachment = this.get('targetAttachment') || '';\n      // Convert tether-styled values like 'middle right' to 'right'\n      targetAttachment = targetAttachment.split(' ').slice(-1)[0];\n      return `ember-modal-dialog-target-attachment-${Ember.String.dasherize(targetAttachment)} emd-target-attachment-${Ember.String.dasherize(targetAttachment)}`;\n    }),\n    ensureEmberTetherPresent() {\n      if (!this.get('modalService.hasEmberTether')) {\n        throw new Error('Please install ember-tether in order to pass a tetherTarget to modal-dialog');\n      }\n    },\n    actions: {\n      onClose() {\n        const onClose = this.get('onClose');\n        // we shouldn't warn if the callback is not provided at all\n        if (Ember.isNone(onClose)) {\n          return;\n        }\n        (true && !(Ember.typeOf(onClose) === 'function') && Ember.assert('onClose handler must be a function', Ember.typeOf(onClose) === 'function'));\n        onClose();\n      },\n      onClickOverlay(e) {\n        e.preventDefault();\n        const onClickOverlay = this.get('onClickOverlay');\n        // we shouldn't warn if the callback is not provided at all\n        if (Ember.isNone(onClickOverlay)) {\n          this.send('onClose');\n          return;\n        }\n        (true && !(Ember.typeOf(onClickOverlay) === 'function') && Ember.assert('onClickOverlay handler must be a function', Ember.typeOf(onClickOverlay) === 'function'));\n        onClickOverlay();\n      }\n    }\n  });\n});","define(\"ember-modal-dialog/components/positioned-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const SUPPORTED_TARGET_ATTACHMENTS = ['top', 'right', 'bottom', 'left', 'center', 'elementCenter', 'none'];\n  var _default = _exports.default = Ember.Component.extend({\n    // target - element selector, element, or Ember View\n    // targetAttachment - top, right, bottom, left, center, or none\n    //   left, right, top, bottom (relative to target)\n    //   center (relative to container)\n    targetAttachment: 'center',\n    isPositioned: Ember.computed('targetAttachment', 'target', 'renderInPlace', function () {\n      if (this.get('renderInPlace')) {\n        return false;\n      }\n      let target = this.get('target');\n      let targetAttachment = this.get('targetAttachment');\n      if (target === 'body' && (targetAttachment === 'center' || targetAttachment === 'middle center')) {\n        return false;\n      }\n      if (target && targetAttachment) {\n        return true;\n      }\n      return false;\n    }),\n    didGetPositioned: Ember.observer('isPositioned', Ember.on('didInsertElement', function () {\n      if (this._state !== 'inDOM') {\n        return;\n      }\n      if (this.get('isPositioned')) {\n        this.updateTargetAttachment();\n      } else {\n        this.element.style.left = '';\n        this.element.style.top = '';\n      }\n    })),\n    getWrappedTargetAttachmentElement() {\n      const target = this.get('target');\n      if (!target) {\n        return null;\n      }\n      if (Ember.typeOf(target) === 'string') {\n        const targetSelector = target;\n        const wrappedElement = document.querySelector(targetSelector);\n        (true && !(wrappedElement) && Ember.assert(`No element found for modal-dialog's target selector '${targetSelector}'.`, wrappedElement));\n        return wrappedElement;\n      }\n\n      // passed an ember view or component\n      if (target.element) {\n        return target.element;\n      }\n\n      // passed an element directly\n      return target;\n    },\n    updateTargetAttachment() {\n      let targetAttachment = this.get('targetAttachment');\n      // Convert tether-styled values like 'middle right' to 'right'\n      targetAttachment = targetAttachment.split(' ').slice(-1)[0];\n      (true && !(SUPPORTED_TARGET_ATTACHMENTS.indexOf(targetAttachment) > -1) && Ember.assert(`Positioned container supports targetAttachments of ${SUPPORTED_TARGET_ATTACHMENTS.join(', ')}`, SUPPORTED_TARGET_ATTACHMENTS.indexOf(targetAttachment) > -1));\n      const targetAttachmentMethod = `align${Ember.String.capitalize(targetAttachment)}`;\n      const targetAttachmentElement = this.getWrappedTargetAttachmentElement();\n      this[targetAttachmentMethod](targetAttachmentElement);\n    },\n    alignCenter() {\n      const elementWidth = this.element.offsetWidth;\n      const elementHeight = this.element.offsetHeight;\n      this.element.style.left = '50%';\n      this.element.style.top = '50%';\n      this.element.style.marginLeft = `${elementWidth * -0.5}px`;\n      this.element.style.marginTop = `${elementHeight * -0.5}px`;\n    },\n    alignLeft(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Left targetAttachment requires a target', targetAttachmentElement));\n      const elementWidth = this.element.offsetWidth;\n      const originOffset = targetAttachmentElement.getBoundingClientRect();\n      const originOffsetTop = originOffset.top;\n      this.element.style.left = `${originOffset.left - elementWidth}px`;\n      this.element.style.top = `${originOffsetTop}px`;\n    },\n    alignRight(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Right targetAttachment requires a target', targetAttachmentElement));\n      const targetWidth = targetAttachmentElement.offsetWidth;\n      const originOffset = targetAttachmentElement.getBoundingClientRect();\n      const originOffsetTop = originOffset.top;\n      this.element.style.left = `${originOffset.left + targetWidth}px`;\n      this.element.style.top = `${originOffsetTop}px`;\n    },\n    alignTop(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Top targetAttachment requires a target', targetAttachmentElement));\n      const elementWidth = this.element.offsetWidth;\n      const elementHeight = this.element.offsetHeight;\n      const originOffset = targetAttachmentElement.getBoundingClientRect();\n      const originOffsetTop = originOffset.top;\n      const targetWidth = targetAttachmentElement.offsetWidth;\n      this.element.style.left = `${originOffset.left + targetWidth / 2 - elementWidth / 2}px`;\n      this.element.style.top = `${originOffsetTop - elementHeight}px`;\n    },\n    alignBottom(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('Bottom targetAttachment requires a target', targetAttachmentElement));\n      const elementWidth = this.element.offsetWidth;\n      const originOffset = targetAttachmentElement.getBoundingClientRect();\n      const originOffsetTop = originOffset.top;\n      const targetWidth = targetAttachmentElement.offsetWidth;\n      const targetHeight = targetAttachmentElement.offsetHeight;\n      this.element.style.left = `${originOffset.left + targetWidth / 2 - elementWidth / 2}px`;\n      this.element.style.top = `${originOffsetTop + targetHeight}px`;\n    },\n    alignElementCenter(targetAttachmentElement) {\n      (true && !(targetAttachmentElement) && Ember.assert('ElementCenter targetAttachment requires a target', targetAttachmentElement));\n      const elementWidth = this.element.offsetWidth;\n      const originOffset = targetAttachmentElement.getBoundingClientRect();\n      const originOffsetTop = originOffset.top;\n      const targetWidth = targetAttachmentElement.offsetWidth;\n      const targetHeight = targetAttachmentElement.offsetHeight;\n      const elementHeight = this.element.offsetHeight;\n      this.element.style.left = `${originOffset.left + targetWidth / 2 - elementWidth / 2}px`;\n      this.element.style.top = `${originOffsetTop + targetHeight / 2 - elementHeight / 2}px`;\n    },\n    alignNone() {}\n  });\n});","define(\"ember-modal-dialog/components/tether-dialog\", [\"exports\", \"ember-modal-dialog/components/basic-dialog\", \"ember-modal-dialog/templates/components/tether-dialog\"], function (_exports, _basicDialog, _tetherDialog) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _basicDialog.default.extend({\n    layout: _tetherDialog.default,\n    init() {\n      this._super(...arguments);\n      this._ensureAttachments();\n    },\n    targetAttachmentClass: Ember.computed('targetAttachment', function () {\n      let targetAttachment = this.get('targetAttachment') || '';\n      return `ember-modal-dialog-target-attachment-${Ember.String.dasherize(targetAttachment)}`;\n    }),\n    targetAttachment: null,\n    attachment: null,\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this._ensureAttachments();\n    },\n    tetherTarget: null,\n    // element, css selector, view instance, 'viewport', or 'scroll-handle'\n    tetherClassPrefix: Ember.computed({\n      get() {\n        return 'ember-tether';\n      },\n      set(key, val) {\n        if (val) {\n          return val;\n        }\n        return 'ember-tether';\n      }\n    }),\n    // offset - passed in\n    // targetOffset - passed in\n    // targetModifier - passed in\n    _ensureAttachments() {\n      if (!this.get('attachment')) {\n        this.set('attachment', 'middle center');\n      }\n      if (!this.get('targetAttachment')) {\n        this.set('targetAttachment', 'middle center');\n      }\n    }\n  });\n});","define(\"ember-modal-dialog/initializers/add-modals-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  let hasDOM = typeof document !== 'undefined';\n  function appendContainerElement(rootElementOrId, id) {\n    if (!hasDOM) {\n      return;\n    }\n    if (document.getElementById(id)) {\n      return;\n    }\n    let rootEl = rootElementOrId.appendChild ? rootElementOrId : document.querySelector(rootElementOrId);\n    let modalContainerEl = document.createElement('div');\n    modalContainerEl.id = id;\n    rootEl.appendChild(modalContainerEl);\n  }\n  function _default(AppOrEngine) {\n    let App;\n    if (AppOrEngine instanceof Ember.Application) {\n      App = AppOrEngine;\n    } else if (AppOrEngine instanceof Ember.Engine) {\n      // As there is only a single `Router` across the whole app, which is owned\n      // by the root `Application`, this reliably finds the root `Application`\n      // from an`Engine`.\n      // eslint-disable-next-line ember/no-private-routing-service\n      App = Ember.getOwner(Ember.getOwner(AppOrEngine).lookup('router:main'));\n    } else {\n      (true && !(false) && Ember.assert(`Could not find the root Application for '${AppOrEngine}'.`));\n    }\n    let emberModalDialog = AppOrEngine.emberModalDialog ?? App.emberModalDialog ?? {};\n    let modalContainerElId = emberModalDialog.modalRootElementId || 'modal-overlays';\n    AppOrEngine.register('config:modals-container-id', {\n      toString: () => Ember.testing ? 'ember-testing' : modalContainerElId\n    }, {\n      instantiate: false\n    });\n    AppOrEngine.inject('service:modal-dialog', 'destinationElementId', 'config:modals-container-id');\n    appendContainerElement(App.rootElement, modalContainerElId);\n  }\n});","define(\"ember-modal-dialog/templates/components/basic-dialog\", [\"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\": \"y6PSPi3L\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,14],null,[[\\\"to\\\"],[[35,13]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,11],[[35,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[[34,9],\\\" \\\",[34,8]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,11],[[35,10]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[15,0,[34,4]],[15,\\\"onclick\\\",[30,[36,7],[[32,0],[35,5]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[35,2],[35,1],[35,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[[34,9],\\\" \\\",[34,8]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,11],[[35,10]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[15,0,[34,4]],[15,\\\"onclick\\\",[30,[36,7],[[32,0],[30,[36,6],[[35,5]],null]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,3],null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[35,2],[35,1],[35,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],null,[[\\\"class\\\",\\\"targetAttachment\\\",\\\"target\\\"],[[35,2],[35,1],[35,0]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"legacyTarget\\\",\\\"targetAttachment\\\",\\\"containerClassNamesString\\\",\\\"ember-modal-dialog-positioned-container\\\",\\\"overlayClassNamesString\\\",\\\"onClickOverlay\\\",\\\"ignore-children\\\",\\\"action\\\",\\\"wrapperClass\\\",\\\"wrapperClassNamesString\\\",\\\"hasOverlay\\\",\\\"if\\\",\\\"isOverlaySibling\\\",\\\"destinationElementId\\\",\\\"ember-wormhole\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/basic-dialog.hbs\"\n  });\n});","define(\"ember-modal-dialog/templates/components/in-place-dialog\", [\"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\": \"ZZlJFm+y\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[15,0,[30,[36,3],[[35,2],\\\" \\\",[35,1],\\\" \\\",[35,0]],null]],[12],[2,\\\"\\\\n  \\\"],[18,1,null],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"containerClass\\\",\\\"attachmentClass\\\",\\\"containerClassNamesString\\\",\\\"concat\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/in-place-dialog.hbs\"\n  });\n});","define(\"ember-modal-dialog/templates/components/liquid-dialog\", [\"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\": \"jHoRh67E\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[35,13]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,12],null,[[\\\"stack\\\",\\\"value\\\",\\\"class\\\"],[[35,11],[35,10],[30,[36,9],[\\\"liquid-dialog-container \\\",[35,8],\\\" \\\",[35,7]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[31,[[34,8],\\\" \\\",[34,7]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[15,0,[34,1]],[15,\\\"onclick\\\",[30,[36,4],[[32,0],[35,2]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[34,0]],[12],[2,\\\"\\\\n        \\\"],[18,1,null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,12],null,[[\\\"stack\\\",\\\"value\\\",\\\"class\\\"],[[35,11],[35,10],[30,[36,9],[\\\"liquid-dialog-container \\\",[35,8],\\\" \\\",[35,7]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[34,1]],[15,\\\"onclick\\\",[30,[36,4],[[32,0],[30,[36,3],[[35,2]],null]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[15,0,[34,0]],[12],[2,\\\"\\\\n          \\\"],[18,1,null],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[34,0]],[12],[2,\\\"\\\\n        \\\"],[18,1,null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"containerClassNamesString\\\",\\\"overlayClassNamesString\\\",\\\"onClickOverlay\\\",\\\"ignore-children\\\",\\\"action\\\",\\\"hasOverlay\\\",\\\"if\\\",\\\"wrapperClass\\\",\\\"wrapperClassNamesString\\\",\\\"concat\\\",\\\"value\\\",\\\"stack\\\",\\\"liquid-wormhole\\\",\\\"isOverlaySibling\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/liquid-dialog.hbs\"\n  });\n});","define(\"ember-modal-dialog/templates/components/liquid-tether-dialog\", [\"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\": \"JBMLbvIf\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[35,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],null,[[\\\"stack\\\",\\\"class\\\"],[\\\"modal-overlay\\\",\\\"liquid-dialog-container\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[34,0]],[15,\\\"onclick\\\",[30,[36,2],[[32,0],[35,1]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,17],null,[[\\\"class\\\",\\\"target\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"classPrefix\\\",\\\"offset\\\",\\\"targetOffset\\\",\\\"constraints\\\",\\\"stack\\\",\\\"value\\\"],[[35,16],[35,15],[35,14],[35,13],[35,12],[35,11],[35,10],[35,9],[35,8],[35,7],[35,6]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"overlayClassNamesString\\\",\\\"onClickOverlay\\\",\\\"action\\\",\\\"liquid-wormhole\\\",\\\"hasOverlay\\\",\\\"if\\\",\\\"value\\\",\\\"stack\\\",\\\"constraints\\\",\\\"targetOffset\\\",\\\"offset\\\",\\\"tetherClassPrefix\\\",\\\"targetModifier\\\",\\\"targetAttachment\\\",\\\"attachment\\\",\\\"tetherTarget\\\",\\\"containerClassNamesString\\\",\\\"liquid-tether\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/liquid-tether-dialog.hbs\"\n  });\n});","define(\"ember-modal-dialog/templates/components/modal-dialog\", [\"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\": \"30ZMdCuD\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,26],[[35,25]],[[\\\"wrapperClass\\\",\\\"wrapperClassNames\\\",\\\"overlayClass\\\",\\\"overlayClassNames\\\",\\\"containerClass\\\",\\\"containerClassNames\\\",\\\"hasOverlay\\\",\\\"translucentOverlay\\\",\\\"clickOutsideToClose\\\",\\\"destinationElementId\\\",\\\"overlayPosition\\\",\\\"tetherTarget\\\",\\\"legacyTarget\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"targetOffset\\\",\\\"offset\\\",\\\"tetherClassPrefix\\\",\\\"constraints\\\",\\\"attachmentClass\\\",\\\"targetAttachmentClass\\\",\\\"stack\\\",\\\"value\\\",\\\"onClickOverlay\\\",\\\"onClose\\\"],[[35,24],[35,23],[35,22],[35,21],[35,20],[35,19],[35,18],[35,17],[35,16],[35,15],[35,14],[35,13],[35,12],[35,11],[35,10],[35,9],[35,8],[35,7],[35,6],[35,5],[35,4],[35,3],[35,2],[35,1],[30,[36,0],[[32,0],\\\"onClickOverlay\\\"],null],[30,[36,0],[[32,0],\\\"onClose\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"value\\\",\\\"stack\\\",\\\"targetAttachmentClass\\\",\\\"attachmentClass\\\",\\\"constraints\\\",\\\"tetherClassPrefix\\\",\\\"offset\\\",\\\"targetOffset\\\",\\\"targetModifier\\\",\\\"targetAttachment\\\",\\\"attachment\\\",\\\"target\\\",\\\"tetherTarget\\\",\\\"overlayPosition\\\",\\\"destinationElementId\\\",\\\"clickOutsideToClose\\\",\\\"translucentOverlay\\\",\\\"hasOverlay\\\",\\\"containerClassNames\\\",\\\"containerClass\\\",\\\"overlayClassNames\\\",\\\"overlayClass\\\",\\\"wrapperClassNames\\\",\\\"wrapperClass\\\",\\\"modalDialogComponentName\\\",\\\"component\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/modal-dialog.hbs\"\n  });\n});","define(\"ember-modal-dialog/templates/components/tether-dialog\", [\"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\": \"Bc+LUtcG\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[35,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,4],null,[[\\\"to\\\"],[[35,3]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[34,0]],[15,\\\"onclick\\\",[30,[36,2],[[32,0],[35,1]],null]],[14,\\\"tabindex\\\",\\\"-1\\\"],[14,\\\"data-emd-overlay\\\",\\\"\\\"],[12],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,16],null,[[\\\"class\\\",\\\"target\\\",\\\"attachment\\\",\\\"targetAttachment\\\",\\\"targetModifier\\\",\\\"classPrefix\\\",\\\"offset\\\",\\\"targetOffset\\\",\\\"constraints\\\"],[[35,15],[35,14],[35,13],[35,12],[35,11],[35,10],[35,9],[35,8],[35,7]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"overlayClassNamesString\\\",\\\"onClickOverlay\\\",\\\"action\\\",\\\"destinationElementId\\\",\\\"ember-wormhole\\\",\\\"hasOverlay\\\",\\\"if\\\",\\\"constraints\\\",\\\"targetOffset\\\",\\\"offset\\\",\\\"tetherClassPrefix\\\",\\\"targetModifier\\\",\\\"targetAttachment\\\",\\\"attachment\\\",\\\"tetherTarget\\\",\\\"containerClassNamesString\\\",\\\"ember-tether\\\"]}\",\n    \"moduleName\": \"ember-modal-dialog/templates/components/tether-dialog.hbs\"\n  });\n});","define(\"ember-models-table/components/models-table-server-paginated\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table\", \"ember-models-table/templates/components/models-table\"], function (_exports, _component, _modelsTable, _modelsTable2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\r\n   * Table-component with pagination, sorting and filtering.\r\n   *\r\n   * It should be used when pagination, filtering and sorting are done on the server-side. Otherwise [models-table](Components.ModelsTable.html) should be used.\r\n   *\r\n   * This component extends the base models-table component. For the end user, it can be used (nearly) the same:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTableServerPaginated @data={{data}} @columns={{columns}} />\r\n   * ```\r\n   *\r\n   * Usage with block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTableServerPaginated @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.GlobalFilter />\r\n   *   <MT.DataGroupBySelect />\r\n   *   <MT.ColumnsDropdown />\r\n   *   <MT.Table />\r\n   *   <MT.Footer />\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableServerPaginated yields same components, actions and properties as a ModelsTable does. Check its docs for more info.\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * ModelsTableServerPaginated has a lot of options you may configure, but there are two required properties called `data` and `columns`. First one contains data-query:\r\n   *\r\n   * ```js\r\n   * model() {\r\n   *  return this.store.query('my-model', {});\r\n   * }\r\n   * ```\r\n   *\r\n   * It will then take this query and extend it with pagination, sorting and filtering information. All other query parameters added in will remain untouched. Everything else works exactly the same - global filters, column filters etc. still use the same properties to control them. A few things to notice:\r\n   *\r\n   * - When using `filterWithSelect` for a column, you must use `predefinedFilterOptions`, because the automatic loading of possible filter values cannot work here.\r\n   * - There is a new optional field `filteredBy` for columns, which works much like `sortedBy`: if set, this field will be used as query parameter, otherwise it will use the `propertyName`.\r\n   * - Sorting will not use multipleColumnSorting, it will only sort by one column.\r\n   * - If you set `sortedBy: false` on a column, sorting will be disabled for this column.\r\n   *\r\n   * There are a couple of things which can be configured to adapt to your API:\r\n   *\r\n   * ```js\r\n   * // The property on meta to load the pages count from.\r\n   * metaPagesCountProperty: 'pagesCount',\r\n   *\r\n   * // The property on meta to load the total item count from.\r\n   * metaItemsCountProperty: 'itemsCount',\r\n   *\r\n   * // The time to wait until new data is actually loaded.\r\n   * // This can be tweaked to avoid making too many server requests.\r\n   * debounceDataLoadTime: 500,\r\n   *\r\n   * // The query parameters to use for server side filtering / querying.\r\n   * filterQueryParameters: {\r\n   *   globalFilter: 'search',\r\n   *   sort: 'sort',\r\n   *   sortDirection: 'sortDirection',\r\n   *   page: 'page',\r\n   *   pageSize: 'pageSize'\r\n   * },\r\n   * ```\r\n   *\r\n   * This default configuration would try to get the total page count from `model.get('meta.pagesCount')` and the total item count from `model.get('meta.itemsCount')`, and would then go on to build the following query:\r\n   *\r\n   * ```js\r\n   * columns: [\r\n   *   {\r\n   *     propertyName: 'name',\r\n   *     filteredBy: 'model_name'\r\n   *   }\r\n   * ]\r\n   *\r\n   * // after searching globally for \"searchtexthere\"\r\n   * // and in the name column for \"filterforname\",\r\n   * // and going to page 2,\r\n   * // the following query would be built:\r\n   * ?page=2&pageSize=50&search=searchtexthere&sort=name&sortDirection=ASC&model_name=filterforname\r\n   * ```\r\n   *\r\n   * @class ModelsTableServerPaginated\r\n   * @namespace Components\r\n   * @extends Components.ModelsTable\r\n   */\n  let ModelsTableServerPaginated = _exports.default = (_dec = (0, _component.layout)(_modelsTable2.default), _dec2 = Ember.computed.alias('data'), _dec3 = Ember.computed.alias('arrangedContent'), _dec4 = Ember.computed.alias('filteredContent'), _dec5 = Ember.computed('filteredContent.meta', 'metaItemsCountProperty'), _dec6 = Ember.computed('filteredContent.meta', 'metaPagesCountProperty'), _dec7 = Ember.computed('pageSize', 'currentPageNumber', 'arrangedContentLength'), _dec8 = Ember._action, _dec(_class = (_class2 = class ModelsTableServerPaginated extends _modelsTable.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * True if data is currently being loaded from the server.\r\n       * Can be used in the template to e.g. display a loading spinner.\r\n       *\r\n       * @protected\r\n       * @property isLoading\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isLoading\", false);\n      /**\r\n       * True if last data query promise has been rejected.\r\n       * Can be used in the template to e.g. indicate stale data or to e.g. show error state.\r\n       *\r\n       * @protected\r\n       * @property isError\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isError\", false);\n      /**\r\n       * The property on meta to load the pages count from.\r\n       *\r\n       * @property metaPagesCountProperty\r\n       * @type string\r\n       * @default 'pagesCount'\r\n       */\n      _defineProperty(this, \"metaPagesCountProperty\", 'pagesCount');\n      /**\r\n       * The property on meta to load the total item count from.\r\n       *\r\n       * @property metaItemsCountProperty\r\n       * @type string\r\n       * @default 'itemsCount'\r\n       */\n      _defineProperty(this, \"metaItemsCountProperty\", 'itemsCount');\n      /**\r\n       * The time to wait until new data is actually loaded.\r\n       * This can be tweaked to avoid making too many server requests.\r\n       *\r\n       * @property debounceDataLoadTime\r\n       * @type number\r\n       * @default 500\r\n       */\n      _defineProperty(this, \"debounceDataLoadTime\", 500);\n      /**\r\n       * Determines if multi-columns sorting should be used\r\n       *\r\n       * @property multipleColumnsSorting\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"multipleColumnsSorting\", false);\n      /**\r\n       * The query parameters to use for server side filtering / querying.\r\n       *\r\n       * @property filterQueryParameters\r\n       * @type object\r\n       */\n      _defineProperty(this, \"filterQueryParameters\", {\n        globalFilter: 'search',\n        sort: 'sort',\n        sortDirection: 'sortDirection',\n        page: 'page',\n        pageSize: 'pageSize'\n      });\n      /**\r\n       * @property observedProperties\r\n       * @type string[]\r\n       * @default ['currentPageNumber', 'sortProperties.[]', 'pageSize', 'filterString', 'processedColumns.@each.filterString']\r\n       * @protected\r\n       */\n      _defineProperty(this, \"observedProperties\", ['currentPageNumber', 'sortProperties.[]', 'pageSize', 'filterString', 'processedColumns.@each.filterString']);\n      /**\r\n       * @property filteredContent\r\n       * @default null\r\n       * @protected\r\n       * @type object[]\r\n       */\n      _initializerDefineProperty(this, \"filteredContent\", _descriptor, this);\n      /**\r\n       * For server side filtering, visibleContent is same as the filtered content\r\n       *\r\n       * @property visibleContent\r\n       * @protected\r\n       * @type object[]\r\n       */\n      _initializerDefineProperty(this, \"visibleContent\", _descriptor2, this);\n      /**\r\n       * For server side filtering, arrangedContent is same as the filtered content\r\n       *\r\n       * @property arrangedContent\r\n       * @protected\r\n       * @type object[]\r\n       */\n      _initializerDefineProperty(this, \"arrangedContent\", _descriptor3, this);\n    }\n    /**\r\n     * The total content length is get from the meta information.\r\n     * Set metaItemsCountProperty to change from which meta property this is loaded.\r\n     *\r\n     * @property arrangedContentLength\r\n     * @type number\r\n     * @protected\r\n     */\n    get arrangedContentLength() {\n      const meta = this.filteredContent && this.filteredContent.meta ? this.filteredContent.meta : {};\n      return Ember.get(meta, this.metaItemsCountProperty) || 0;\n    }\n\n    /**\r\n     * The pages count is get from the meta information.\r\n     * Set metaPagesCountProperty to change from which meta property this is loaded.\r\n     *\r\n     * @property pagesCount\r\n     * @type number\r\n     * @protected\r\n     */\n    get pagesCount() {\n      const meta = this.filteredContent && this.filteredContent.meta ? this.filteredContent.meta : {};\n      return Ember.get(meta, this.metaPagesCountProperty) || 1;\n    }\n\n    /**\r\n     * The index of the last item that is currently being shown.\r\n     *\r\n     * @property lastIndex\r\n     * @type number\r\n     * @protected\r\n     */\n    get lastIndex() {\n      let pageMax = parseInt(this.pageSize, 10) * this.currentPageNumber;\n      return Math.min(pageMax, this.arrangedContentLength);\n    }\n\n    /**\r\n     * This function actually loads the data from the server.\r\n     * It takes the store, modelName and query from the passed in data-object and adds page, sorting & filtering to it.\r\n     *\r\n     * @return Promise\r\n     * @method _loadData\r\n     * @private\r\n     */\n    _loadData() {\n      const {\n        data,\n        currentPageNumber,\n        pageSize,\n        processedColumns: columns,\n        sortProperties,\n        filterString\n      } = this;\n      if (!data.query) {\n        (true && Ember.warn('You must use http://emberjs.com/api/data/classes/DS.Store.html#method_query for loading data', false, {\n          id: '#emt-query-usage'\n        }));\n        return;\n      }\n      let query = Object.assign({}, data.query);\n      let store = data.store;\n      let modelName = data.type.modelName;\n\n      // Add pagination information\n      query[this.filterQueryParameters.page] = currentPageNumber;\n      query[this.filterQueryParameters.pageSize] = pageSize;\n      // Add sorting information\n      if (sortProperties && sortProperties.length) {\n        if (this.multipleColumnsSorting) {\n          query = this.multipleColumnsSortingWrapper(query, sortProperties);\n        } else {\n          if (sortProperties[0]) {\n            let [sortBy, sortDirection] = sortProperties[0].split(':');\n            query = this.singleColumnSortingWrapper(query, sortBy, sortDirection.toUpperCase());\n          }\n        }\n      } else {\n        delete query[[this.filterQueryParameters.sort]];\n        delete query[[this.filterQueryParameters.sortDirection]];\n      }\n\n      // Add global filter\n      let globalFilter = this.filterQueryParameters.globalFilter;\n      if (filterString) {\n        query[globalFilter] = filterString;\n      } else {\n        delete query[globalFilter];\n      }\n\n      // Add per-column filter\n      if (this.useFilteringByColumns) {\n        columns.forEach(column => {\n          let filter = column.filterString;\n          let filterTitle = this.getCustomFilterTitle(column);\n          this.setQueryFilter(query, column, filterTitle, filter);\n        });\n      }\n      Ember.setProperties(this, {\n        isLoading: true,\n        isError: false\n      });\n      return this.doQuery(store, modelName, query).then(() => Ember.setProperties(this, {\n        isLoading: false,\n        isError: false\n      })).catch(() => Ember.setProperties(this, {\n        isLoading: false,\n        isError: true\n      }));\n    }\n\n    /**\r\n     * Do query-request to load new data\r\n     *\r\n     * You may override this method to add some extra behavior or even additional requests\r\n     *\r\n     * @method doQuery\r\n     * @param {object} store\r\n     * @param {string} modelName\r\n     * @param {object} query\r\n     * @return Promise\r\n     */\n    doQuery(store, modelName, query) {\n      return store.query(modelName, query).then(newData => Ember.set(this, 'filteredContent', newData));\n    }\n\n    /**\r\n     * Actually set the filter on a query.\r\n     * This can be overwritten for special case handling.\r\n     * Note that this will mutate the given query object!\r\n     *\r\n     * @param {object} query the query to mutate\r\n     * @param {object} column the column that is filtering\r\n     * @param {string} filterTitle the query param name for filtering\r\n     * @param {*} filter the actual filter value\r\n     * @method setQueryFilter\r\n     */\n    setQueryFilter(query, column, filterTitle, filter) {\n      if (!Ember.isBlank(filter)) {\n        query[filterTitle] = filter;\n      } else {\n        delete query[filterTitle];\n      }\n    }\n\n    /**\r\n     * Wrapper for sorting query when single column sorting is used\r\n     *\r\n     * @param {object} query parameters\r\n     * @param {string} sortBy\r\n     * @param {string} sortDirection\r\n     * @return object query parameters\r\n     * @method singleColumnSortingWrapper\r\n     */\n    singleColumnSortingWrapper(query, sortBy, sortDirection) {\n      query[this.filterQueryParameters.sort] = sortBy;\n      query[this.filterQueryParameters.sortDirection] = sortDirection;\n      return query;\n    }\n\n    /**\r\n     * Wrapper for sorting query when multi columns sorting is used\r\n     *\r\n     * @param {object} query\r\n     * @param {object} sortProperties\r\n     * @return object query parameters\r\n     * @method multipleColumnsSortingWrapper\r\n     */\n    multipleColumnsSortingWrapper(query, sortProperties) {\n      query[this.filterQueryParameters.sort] = sortProperties.map(sortProp => {\n        const [prop, direction] = sortProp.split(':');\n        const sign = direction.toLowerCase() === 'desc' ? '-' : '';\n        return `${sign}${prop}`;\n      }).join(',');\n      return query;\n    }\n\n    /**\r\n     * Customize filter title\r\n     *\r\n     * @method getCustomFilterTitle\r\n     * @param {object} column\r\n     * @return string title\r\n     */\n    getCustomFilterTitle(column) {\n      return column.filteredBy || column.propertyName;\n    }\n\n    /**\r\n     * @protected\r\n     * @event sort\r\n     * @param {Utils.ModelsTableColumn} column\r\n     */\n    sort(column) {\n      let sortedBy = column.sortedBy || column.propertyName;\n      if (Ember.isNone(sortedBy)) {\n        return;\n      }\n      let currentSorting = column.sorting;\n      let newSorting = this.sortMap[currentSorting.toLowerCase()];\n      let sortingArgs = [column, sortedBy, newSorting];\n      if (this.multipleColumnsSorting) {\n        this._multiColumnsSorting(...sortingArgs);\n      } else {\n        this._singleColumnSorting(...sortingArgs);\n      }\n      this.userInteractionObserver();\n    }\n    _addPropertyObserver() {\n      Ember.run.debounce(this, this._loadData, this.debounceDataLoadTime);\n    }\n    willInsertElement() {\n      super.willInsertElement(...arguments);\n      this.observedProperties.forEach(propertyName => this.addObserver(propertyName, this, '_addPropertyObserver'));\n    }\n    willDestroyElement() {\n      super.willDestroyElement(...arguments);\n      this.observedProperties.forEach(propertyName => this.removeObserver(propertyName, this, '_addPropertyObserver'));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"filteredContent\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"visibleContent\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"arrangedContent\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"arrangedContentLength\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"arrangedContentLength\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"pagesCount\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"pagesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"lastIndex\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"lastIndex\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"sort\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"sort\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"ember-models-table/utils/better-compare\", \"ember-models-table/templates/components/models-table\", \"ember-models-table/utils/column\", \"ember-models-table/constants/sort-constants\"], function (_exports, _component, _object, _betterCompare, _modelsTable, _column, _sortConstants) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _dec32, _dec33, _dec34, _dec35, _dec36, _dec37, _dec38, _dec39, _dec40, _dec41, _dec42, _dec43, _dec44, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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 _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\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  /**\r\n   * @class GroupedHeader\r\n   * @namespace Internal\r\n   */\n  /**\r\n   * Header for grouped columns\r\n   * @property title\r\n   * @type string\r\n   * @for GroupedHeader\r\n   */\n  /**\r\n   * HTML colspan attr\r\n   * @property colspan\r\n   * @type number\r\n   * @for GroupedHeader\r\n   */\n  /**\r\n   * HTML rowspan attr\r\n   * @property rowspan\r\n   * @type number\r\n   * @for GroupedHeader\r\n   */\n\n  /**\r\n   * @class SelectOption\r\n   * @namespace Internal\r\n   */\n  /**\r\n   * @property value\r\n   * @for SelectOption\r\n   * @type {string|number|boolean}\r\n   */\n  /**\r\n   * @property label\r\n   * @for SelectOption\r\n   * @type {string|number|boolean}\r\n   */\n\n  /**\r\n   * @class ColumnSet\r\n   * @namespace Internal\r\n   */\n  /**\r\n   * @property label\r\n   * @for ColumnSet\r\n   * @type string\r\n   */\n  /**\r\n   * @property showColumns\r\n   * @for ColumnSet\r\n   * @type string[]|Function\r\n   */\n  /**\r\n   * @property hideOtherColumns\r\n   * @for ColumnSet\r\n   * @type boolean\r\n   */\n  /**\r\n   * @property toggleSet\r\n   * @for ColumnSet\r\n   * @type boolean\r\n   */\n\n  /**\r\n   * @class ColumnDropdownOptions\r\n   * @namespace Internal\r\n   */\n  /**\r\n   * @property showAll\r\n   * @type boolean\r\n   * @for ColumnDropdownOptions\r\n   */\n  /**\r\n   * @property hideAll\r\n   * @type boolean\r\n   * @for ColumnDropdownOptions\r\n   */\n  /**\r\n   * @property restoreDefaults\r\n   * @type boolean\r\n   * @for ColumnDropdownOptions\r\n   */\n  /**\r\n   * @property columnSets\r\n   * @type ColumnSet[]\r\n   * @for ColumnDropdownOptions\r\n   */\n\n  /**\r\n   * @class SortMap\r\n   * @namespace Internal\r\n   */\n  /**\r\n   * @property asc\r\n   * @type string\r\n   * @for SortMap\r\n   */\n  /**\r\n   * @property desc\r\n   * @type string\r\n   * @for SortMap\r\n   */\n  /**\r\n   * @property none\r\n   * @type string\r\n   * @for SortMap\r\n   */\n\n  const {\n    keys,\n    prototype: {\n      hasOwnProperty\n    }\n  } = Object;\n  const NOT_SORTED = -1;\n\n  /*\r\n   * @param {Utils.ModelsTableColumn} column\r\n   * @return boolean\r\n   */\n  function isSortedByDefault(column) {\n    return column.sortPrecedence > NOT_SORTED;\n  }\n\n  /*\r\n   * Default filter-function used in the filter by columns\r\n   *\r\n   * @param {string} cellValue value in the table cell\r\n   * @param {string} filterString needed substring\r\n   * @return boolean\r\n   */\n  function defaultFilter(cellValue, filterString) {\n    return -1 !== cellValue.indexOf(filterString);\n  }\n\n  /*\r\n   * @param {string} option\r\n   * @return {{value: string|number|boolean, label: string|number|boolean}}\r\n   */\n  function optionStrToObj(option) {\n    return {\n      value: option,\n      label: option\n    };\n  }\n\n  /*\r\n   * Updates `filterOptions` for column which use `filterWithSelect`\r\n   * and don't have `predefinedFilterOptions`\r\n   * `filterOptions` are calculated like `data.mapBy(column.propertyName).uniq()`,\r\n   * where data is component's `data`\r\n   *\r\n   * @param {string} propertyName\r\n   * @return {object[]}\r\n   */\n  function getFilterOptionsCP(propertyName) {\n    return Ember.computed(`data.@each.${propertyName}`, 'data', 'filterWithSelect', 'predefinedFilterOptions', 'sortFilterOptions', function () {\n      if (this.filterWithSelect && 'array' !== Ember.typeOf(this.predefinedFilterOptions)) {\n        let _data = Ember.A(Ember.A(this.data).compact());\n        let options = Ember.A(_data.mapBy(propertyName)).compact();\n        if (this.sortFilterOptions) {\n          options = options.sort();\n        }\n        return Ember.A(Ember.A(['', ...options]).uniq().map(optionStrToObj));\n      }\n      return [];\n    });\n  }\n  function chunkBy(collection, propertyName, sortOrder) {\n    const doSort = arguments.length === 3;\n    const chunks = Ember.A([]);\n    const values = [];\n    if (!Ember.isArray(collection)) {\n      return chunks;\n    }\n    collection.forEach(item => {\n      const value = Ember.get(item, propertyName);\n      if (values.indexOf(value) === -1) {\n        values.push(value);\n        chunks.push(Ember.A([]));\n      }\n      const index = values.indexOf(value);\n      chunks[index].pushObject(item);\n    });\n    if (doSort) {\n      const sortedValues = values.slice().sort((v1, v2) => {\n        let result = (0, _betterCompare.default)(v1, v2);\n        if (result !== 0) {\n          return sortOrder === _sortConstants.default.DESC ? -1 * result : result;\n        }\n        return 0;\n      });\n      return sortedValues.map(v => chunks[values.indexOf(v)]);\n    }\n    return chunks;\n  }\n  function objToArray(map) {\n    let ret = [];\n    if (Ember.isArray(map)) {\n      map.forEach(m => {\n        ret = [...ret, ...m];\n      });\n      return ret;\n    }\n    keys(map).forEach(k => {\n      if (Ember.isArray(map[k])) {\n        ret = [...ret, ...map[k]];\n      }\n    });\n    return ret;\n  }\n\n  /**\r\n   * Table-component with pagination, sorting and filtering.\r\n   *\r\n   * It should be used when whole dataset is already loaded. For server-side pagination, filtering and sorting\r\n   * [models-table-server-paginated](Components.ModelsTableServerPaginated.html) should be used.\r\n   *\r\n   * Basic usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{model}} @columns={{columns}} />\r\n   * ```\r\n   *\r\n   * Usage with block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.GlobalFilter />\r\n   *   <MT.DataGroupBySelect />\r\n   *   <MT.ColumnsDropdown />\r\n   *   <MT.Table />\r\n   *   <MT.Footer />\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with block content 2:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.GlobalFilter />\r\n   *   <MT.DataGroupBySelect />\r\n   *   <MT.ColumnsDropdown />\r\n   *   <MT.Table />\r\n   *   <MT.PaginationNumeric />\r\n   *   <MT.PaginationSimple />\r\n   *   <MT.Summary />\r\n   *   <MT.PageSizeSelect />\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTable yields references to the following contextual components:\r\n   *\r\n   * * [models-table/global-filter](Components.ModelsTableGlobalFilter.html) - global filter used for table data\r\n   * * [models-table/columns-dropdown](Components.Utils.ModelsTableColumnsDropdown.html) - dropdown with list of options to toggle columns and column-sets visibility\r\n   * * [models-table/data-group-by-select](Components.ModelsTableDataGroupBySelect.html) - dropdown to select property for table-rows grouping\r\n   * * [models-table/table](Components.ModelsTableTable.html) - table with a data\r\n   * * [models-table/footer](Components.ModelsTableFooter.html) - summary and pagination\r\n   * * [models-table/summary](Components.ModelsTableSummary.html) - component with summary info about table data. It also contains button to clear all filters applied to the table\r\n   * * [models-table/size-select](Components.ModelsTableSizeSelect.html) - component with a page sizes dropdown. It allows to select number if records shown on page\r\n   * * [models-table/pagination-numeric](Components.ModelsTablePaginationNumeric.html) - component with a table navigation. It allows to move to the page by its number\r\n   * * [models-table/pagination-simple](Components.ModelsTablePaginationSimple.html) - component with a table navigation. It allows to move to the first, last, prev and next pages (this four buttons are shown always)\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [processedColumns](Components.ModelsTable.html#property_processedColumns) - list of columns in the table\r\n   * * [visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns) - list of currently visible columns in the table\r\n   * * [visibleContent](Components.ModelsTable.html#property_visibleContent) - list of records shown in the current table's page\r\n   * * [groupedHeaders](Components.ModelsTable.html#property_groupedHeaders) - extra headers for table's header. DOESN'T work properly with visibility toggle for columns\r\n   * * [groupedVisibleContent](Components.ModelsTable.html#property_groupedVisibleContent) - list of records shown in the current table's page when rows grouping is enabled\r\n   * * [groupedVisibleContentValuesOrder](Components.ModelsTable.html#property_groupedVisibleContentValuesOrder) - list of values for property used to group rows\r\n   * * [groupedArrangedContent](Components.ModelsTable.html#property_groupedArrangedContent) - list of all filtered and sorted records in the table used when rows grouping is enabled\r\n   * * [displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs) - determines how value for grouping is shown. Can \"row\" and \"column\"\r\n   * * [sortByGroupedFieldDirection](Components.ModelsTable.html#property_sortByGroupedFieldDirection) - sorting order for property used to group rows\r\n   * * [useDataGrouping](Components.ModelsTable.html#property_useDataGrouping) - flag to turn on/off rows grouping\r\n   * * [globalFilterUsed](Components.ModelsTable.html#property_globalFilterUsed) - `true` if global filter is used\r\n   * * [globalFilter](Components.ModelsTable.html#property_filterString) - value of global filter\r\n   * * [anyFilterUsed](Components.ModelsTable.html#property_anyFilterUsed) - `true` when any filter (global or for column) is used. `false` when no filters are used\r\n   * * [useFilteringByColumns](Components.ModelsTable.html#property_useFilteringByColumns) - determines if columns filtering should be used. By default if it's `false` header's row with filter input/select fields is not shown\r\n   * * [collapsedGroupValues](Components.ModelsTable.html#property_collapsedGroupValues) - list of values for property used to group rows. Row group with this value are collapsed\r\n   * * [pagesCount](Components.ModelsTable.html#property_pagesCount) - number of pages in the table\r\n   * * [recordsCount](Components.ModelsTable.html#property_arrangedContentLength) - number of records in the table\r\n   * * [firstIndex](Components.ModelsTable.html#property_firstIndex) - first row's index in the current page\r\n   * * [lastIndex](Components.ModelsTable.html#property_lastIndex) - last row's index in the current page\r\n   * * [currentPageNumber](Components.ModelsTable.html#property_currentPageNumber) - current page\r\n   * * [currentPageNumberOptions](Components.ModelsTable.html#property_currentPageNumberOptions) - list of options for current page\r\n   * * [pageSizeOptions](Components.ModelsTable.html#property_pageSizeOptions) - list of options for page size select\r\n   * * [pageSize](Components.ModelsTable.html#property_pageSize) - number of rows shown in the table's page\r\n   * * [columnDropdownOptions](Components.ModelsTable.html#property_columnDropdownOptions) - list of options for columns dropdown\r\n   * * [allColumnsAreHidden](Components.ModelsTable.html#property_allColumnsAreHidden) - `true` if all columns are hidden. `false` if at least one column is visible\r\n   * * [dataGroupOptions](Components.ModelsTable.html#property_dataGroupOptions) - list of property names used for rows grouping\r\n   * * [currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName) - property name used now for grouping rows * [themeInstance](Components.ModelsTable.html#property_themeInstance) - theme instance used in the table\r\n   * * [expandedItems](Components.ModelsTable.html#property_expandedItems) - list of expanded rows\r\n   * * [selectedItems](Components.ModelsTable.html#property_selectedItems) - list of selected rows\r\n   * * [isLoading](Components.ModelsTable.html#property_isLoading) - `true` when data for table is loading (used only for `models-table-server-paginated`)\r\n   * * [isError](Components.ModelsTable.html#property_isError) - `true` when request for data loading failed (used only for `models-table-server-paginated`)\r\n   * * [publicAPI](Components.ModelsTable.html#property_publicAPI) - public API that allows for programmatic interaction with the component\r\n   *\r\n   * References to the following actions are yielded:\r\n   *\r\n   * * [showAllColumns](Components.ModelsTable.html#event_showAllColumns) - show all columns in the table (by default used in the columns dropdown)\r\n   * * [hideAllColumns](Components.ModelsTable.html#event_hideAllColumns) - hide all column in the table (by default used in the columns dropdown)\r\n   * * [restoreDefaultVisibility](Components.ModelsTable.html#event_restoreDefaultVisibility) - show columns visible initially (by default used in the columns dropdown)\r\n   * * [toggleColumnSetVisibility](Components.ModelsTable.html#event_toggleColumnSet) - toggle visibility for columns in the custom columns set (by default used in the columns dropdown)\r\n   * * [toggleColumnVisibility](Components.ModelsTable.html#event_toggleHidden) - toggle visibility for column (by default used in the columns dropdown)\r\n   * * [expandRow](Components.ModelsTable.html#event_expandRow) - expand or collapse row to show details\r\n   * * [collapseRow](Components.ModelsTable.html#event_collapseRow) - select or deselect row\r\n   * * [expandAllRows](Components.ModelsTable.html#event_expandAllRows) - expand all rows\r\n   * * [collapseAllRows](Components.ModelsTable.html#event_collapseAllRows) - collapse all rows\r\n   * * [toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection) - select or deselect all rows\r\n   * * [goToPage](Components.ModelsTable.html#event_goToPage) - change table's page (by default used in the pagination)\r\n   * * [clearFilters](Components.ModelsTable.html#event_clearFilters) - clear all filters (by default used in the summary)\r\n   * * [sort](Components.ModelsTable.html#event_sort) - sort provided column\r\n   * * [toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection) - select or deselect all rows in the group (for cases when rows grouping is used)\r\n   * * [toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands) - expand or collapse all rows in the group (for cases when rows grouping is used)\r\n   * * [toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows) - toggle rows group (for cases when rows grouping is used)\r\n   * * [clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n   * * [doubleClickOnRow](Components.ModelsTable.html#event_doubleClickOnRow)\r\n   * * [hoverOnRow](Components.ModelsTable.html#event_hoverOnRow)\r\n   * * [outRow](Components.ModelsTable.html#event_outRow)\r\n   *\r\n   * ModelsTable has a lot of options you may configure, but there are two required properties called `data` and `columns`. First one contains data (e.g. list of records from the store). Second one is a list of table's columns (check [models-table-column](Utils.ModelsTableColumn.html) for available options).\r\n   *\r\n   * @class ModelsTable\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let ModelsTableComponent = _exports.default = (_dec = (0, _component.layout)(_modelsTable.default), _dec2 = (0, _component.classNames)('models-table-wrapper'), _dec3 = Ember.computed(), _dec4 = Ember.computed(), _dec5 = Ember.computed(), _dec6 = Ember.computed.filterBy('processedColumns', 'isVisible', true), _dec7 = Ember.computed('processedColumns.@each.isHidden'), _dec8 = Ember.computed('dataGroupProperties.[]'), _dec9 = Ember.computed.notEmpty('filterString'), _dec0 = Ember.computed('globalFilterUsed', 'processedColumns.@each.filterUsed'), _dec1 = Ember.computed('processedColumns.@each.{useSorting,useFilter}'), _dec10 = Ember.computed('arrangedContent.[]', 'pageSize'), _dec11 = Ember.computed('anyFilterUsed', 'data.[]', 'doFilteringByHiddenColumns', 'filterString', 'processedColumns.@each.filterString', 'useFilteringByColumns'), _dec12 = Ember.computed('filteredContent.[]', 'sortProperties.[]', 'sortFunctions.[]'), _dec13 = Ember.computed('filteredContent.[]', 'sortProperties.[]', 'sortFunctions.[]', 'useDataGrouping', 'currentGroupingPropertyName', 'sortByGroupedFieldDirection'), _dec14 = Ember.computed('arrangedContent.[]', 'pageSize', 'currentPageNumber'), _dec15 = Ember.computed('groupedArrangedContent', 'pageSize', 'currentPageNumber', 'useDataGrouping', 'currentGroupingPropertyName'), _dec16 = Ember.computed('groupedVisibleContent.[]', 'currentGroupingPropertyName'), _dec17 = Ember.computed('currentPageNumber', 'pagesCount'), _dec18 = Ember.computed.alias('arrangedContent.length'), _dec19 = Ember.computed('arrangedContentLength', 'pageSize', 'currentPageNumber'), _dec20 = Ember.computed('isLastPage', 'arrangedContentLength', 'currentPageNumber', 'pageSize'), _dec21 = Ember.computed('pagesCount'), _dec22 = Ember.computed('columnSets.{label,showColumns,hideOtherColumns}'), _dec23 = (0, _object.observes)('currentPageNumber', 'pageSize'), _dec24 = (0, _object.observes)('processedColumns.@each.{isVisible,colspanForSortCell,colspanForFilterCell}'), _dec25 = Ember._action, _dec26 = Ember._action, _dec27 = Ember._action, _dec28 = Ember._action, _dec29 = Ember._action, _dec30 = Ember._action, _dec31 = Ember._action, _dec32 = Ember._action, _dec33 = Ember._action, _dec34 = Ember._action, _dec35 = Ember._action, _dec36 = Ember._action, _dec37 = Ember._action, _dec38 = Ember._action, _dec39 = Ember._action, _dec40 = Ember._action, _dec41 = Ember._action, _dec42 = Ember._action, _dec43 = Ember._action, _dec44 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class ModelsTableComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Number of records shown on one table-page\r\n       *\r\n       * @property pageSize\r\n       * @type number\r\n       * @default 10\r\n       */\n      _defineProperty(this, \"pageSize\", 10);\n      /**\r\n       * Currently shown page number. It may be set initially\r\n       *\r\n       * @property currentPageNumber\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"currentPageNumber\", 1);\n      /**\r\n       * Flag to determine if component should bubble inner `click` action handler\r\n       *\r\n       * It's useful when `models-table` is used inside the row-expand\r\n       *\r\n       *\r\n       * @property isolated\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isolated\", false);\n      /**\r\n       * Order of sorting for each columns. Unsorted column firstly become sorted ASC, then DESC, then sorting is dropped again\r\n       *\r\n       * @property sortMap\r\n       * @type Internal.SortMap\r\n       */\n      _defineProperty(this, \"sortMap\", {\n        [_sortConstants.default.NONE]: _sortConstants.default.ASC,\n        [_sortConstants.default.ASC]: _sortConstants.default.DESC,\n        [_sortConstants.default.DESC]: _sortConstants.default.NONE\n      });\n      /**\r\n       * List of properties to sort table rows\r\n       *\r\n       * Each value is like 'propertyName:sortDirection'\r\n       *\r\n       * @property sortProperties\r\n       * @protected\r\n       */\n      _defineProperty(this, \"sortProperties\", Ember.A([]));\n      /**\r\n       * Hash of custom functions to sort table rows\r\n       *\r\n       * @property sortFunctions\r\n       * @type object\r\n       * @protected\r\n       */\n      _defineProperty(this, \"sortFunctions\", Object.create(null));\n      /**\r\n       * @property forceToFirstPageProps\r\n       * @type string[]\r\n       * @protected\r\n       * @default ['processedColumns.@each.filterString', 'filterString', 'pageSize']\r\n       */\n      _defineProperty(this, \"forceToFirstPageProps\", Ember.A(['processedColumns.@each.filterString', 'filterString', 'pageSize']));\n      /**\r\n       * Determines if multi-columns sorting should be used\r\n       *\r\n       * @property multipleColumnsSorting\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"multipleColumnsSorting\", true);\n      /**\r\n       * Determines if component footer should be shown on the page\r\n       *\r\n       * @property showComponentFooter\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"showComponentFooter\", true);\n      /**\r\n       * Determines if dropdown for current page number should be shown near the pagination block\r\n       *\r\n       * @property showCurrentPageNumberSelect\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"showCurrentPageNumberSelect\", true);\n      /**\r\n       * Determines if numeric pagination should be used\r\n       *\r\n       * @property useNumericPagination\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"useNumericPagination\", false);\n      /**\r\n       * Determines if columns-dropdown should be shown\r\n       *\r\n       * @property showColumnsDropdown\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"showColumnsDropdown\", true);\n      /**\r\n       * Determines if filtering by columns should be available to the user\r\n       *\r\n       * @property useFilteringByColumns\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"useFilteringByColumns\", true);\n      /**\r\n       * Global filter value\r\n       *\r\n       * @property filterString\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"filterString\", '');\n      /**\r\n       * Determines if filtering (global and by column) should ignore case\r\n       *\r\n       * @property filteringIgnoreCase\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"filteringIgnoreCase\", false);\n      /**\r\n       * Determines if filtering should be done by hidden columns\r\n       *\r\n       * **Notice:** after changing this value filtering results will be updated only after filter options are changed\r\n       *\r\n       * @property doFilteringByHiddenColumns\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"doFilteringByHiddenColumns\", true);\n      /**\r\n       * Determines if 'Global filter'-field should be shown\r\n       *\r\n       * @property showGlobalFilter\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"showGlobalFilter\", true);\n      /**\r\n       * Determines if focus should be on the 'Global filter'-field on component render\r\n       *\r\n       * @property focusGlobalFilter\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"focusGlobalFilter\", false);\n      /**\r\n       * Value for development purposes. Used to check translation issues like:\r\n       *\r\n       * * Auto generated titles for columns\r\n       *\r\n       * @property checkTextTranslations\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"checkTextTranslations\", false);\n      /**\r\n       * Determines if `processedColumns` will be updated if `columns` are changed (`propertyName` and `template` are observed)\r\n       *\r\n       * **IMPORTANT** All filter, sort and visibility options will be dropped to the default values while updating\r\n       *\r\n       * @property columnsAreUpdateable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"columnsAreUpdateable\", false);\n      /**\r\n       * Determines if rows should be grouped for some property\r\n       *\r\n       * Grouped value may be shown in the separated row on the top of the group or in the first column (in the cell with rowspan) in the each group (see [displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs))\r\n       *\r\n       * Generally you should not show column with property which is used for grouping (but it's up to you)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"useDataGrouping\", false);\n      /**\r\n       * Property name used now for grouping rows\r\n       *\r\n       * **IMPORTANT** It should be set initially if [useDataGrouping](Components.ModelsTable.html#property_useDataGrouping) is set to `true`\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Sort direction for grouped property values\r\n       *\r\n       * @property sortByGroupedFieldDirection\r\n       * @protected\r\n       * @type string\r\n       * @default 'asc'\r\n       */\n      _defineProperty(this, \"sortByGroupedFieldDirection\", _sortConstants.default.ASC);\n      /**\r\n       * Determines how grouped value will be displayed - as a row or column\r\n       *\r\n       * Allowed values are `row` and `column`\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default 'row'\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", 'row');\n      /**\r\n       * Used in numeric pagination. If pages count is less than `collapseNumPaginationForPagesCount`, all pages will be shown.\r\n       * E.g. for `collapseNumPaginationForPagesCount = 4` and `pagesCount = 4` pagination will be `1 2 3 4`, however for\r\n       * `collapseNumPaginationForPagesCount = 1` and `pagesCount = 4` pagination will be `1 2 ... 4`\r\n       *\r\n       * @property collapseNumPaginationForPagesCount\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"collapseNumPaginationForPagesCount\", 1);\n      /**\r\n       * `columns` fields which are observed to update shown table-columns\r\n       * It is used only if `columnsAreUpdateable` is `true`\r\n       *\r\n       * @property columnFieldsToCheckUpdate\r\n       * @type string[]\r\n       * @default ['propertyName', 'component']\r\n       */\n      _defineProperty(this, \"columnFieldsToCheckUpdate\", Ember.A(['propertyName', 'component']));\n      /**\r\n       * `themeInstance` is an instance of [DefaultTheme](Themes.Default.html) or it's children.\r\n       * By default `models-table` uses [BootstrapTheme](Themes.Bootstrap3.html) instance.\r\n       *\r\n       * You may create your own theme-class and set `themeInstance` to it's instance. Check Theme properties you may define in your own theme.\r\n       *\r\n       * @type Themes.Bootstrap3Theme\r\n       * @property ThemeInstance\r\n       */\n      /**\r\n       * All table records\r\n       *\r\n       * It's a first of the two attributes you must set to the component\r\n       *\r\n       * @property data\r\n       * @type object[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"data\", Ember.A([]));\n      /**\r\n       * Table columns. Check [ModelsTableColumn](Utils.ModelsTableColumn.html) for available properties\r\n       *\r\n       * It's a second of the two attributes you must set to the component\r\n       *\r\n       * @property columns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"columns\", Ember.A([]));\n      /**\r\n       * Hash of components to be used for columns.\r\n       *\r\n       * See [ModelsTableColumn](Utils.ModelsTableColumn.html), property component\r\n       *\r\n       * @property columnComponents\r\n       * @type object\r\n       * @default {}\r\n       */\n      _defineProperty(this, \"columnComponents\", {});\n      /**\r\n       * Sets of columns that can be toggled together.\r\n       * Each object should have:\r\n       *  * `label` (string) - The label for the set. This will be displayed in the columns dropdown.\r\n       *  * `showColumns` (array|Function) - This should either be an array of `propertyNames` to show, or a function. If it is a function, the function will be called with the `processedColumns` as attribute.\r\n       *  * `hideOtherColumns` (boolean) -  If this is true (default), all columns not specified in `showColumns` will be hidden. If this is set to false, other columns will be left at whatever visibility they were before.\r\n       *  * `toggleSet` (boolean) - If this is true (default is false), the set columns will be shown if one of them is currently hidden,\r\n       else they will all be hidden. Settings this will result in a default of `hideOtherColumns=false`\r\n       *\r\n       * @property columnSets\r\n       * @type Internal.ColumnSet[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"columnSets\", Ember.A([]));\n      /**\r\n       * List of columns shown in the table. It's created from the [columns](Components.ModelsTable.html#property_columns) provided to the component\r\n       *\r\n       * @protected\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"processedColumns\", Ember.A([]));\n      /**\r\n       * List of the additional headers. Used to group columns.\r\n       *\r\n       * Each object may have such fields:\r\n       *\r\n       * * `title` (string) - Header for grouped column\r\n       * * `colspan` (number) - HTML colspan attr\r\n       * * `rowspan` (number) - HTML rowspan attr\r\n       *\r\n       * @property groupedHeaders\r\n       * @type Internal.GroupedHeader[][]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"groupedHeaders\", Ember.A([]));\n      /**\r\n       * Determines if page size should be shown\r\n       *\r\n       * @property showPageSize\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"showPageSize\", true);\n      /**\r\n       * true - allow to expand more than 1 row,\r\n       * false - only 1 row may be expanded in the same time\r\n       *\r\n       * @property multipleExpand\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"multipleExpand\", false);\n      /**\r\n       * Allow or disallow to select rows on click.\r\n       * If `false` - no row can be selected\r\n       *\r\n       * @property selectRowOnClick\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"selectRowOnClick\", true);\n      /**\r\n       * Allow or disallow to select multiple rows.\r\n       * If `false` - only one row may be selected in the same time\r\n       *\r\n       * @property multipleSelect\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"multipleSelect\", false);\n      /**\r\n       * Component used in the 'expanded' row\r\n       *\r\n       * It will receive several options:\r\n       * * `record` - current row value\r\n       * * `processedColumns` - current column (one of the [processedColumns](Components.ModelsTable.html#property_processedColumns))\r\n       * * `index` - current row index\r\n       * * `selectedItems` - bound from [selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       * * `visibleProcessedColumns` - bound from [visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       * * `clickOnRow` - closure action [clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       * * `themeInstance` - bound from [themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @expandedRowComponent={{component \"expanded-row\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @property expandedRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedRowComponent\", null);\n      /**\r\n       * Component used in the row with a grouped value\r\n       *\r\n       * This component won't be used if [useDataGrouping](Components.ModelsTable.html#property_useDataGrouping) is not `true`\r\n       *\r\n       * Component will receive several options:\r\n       *\r\n       * * `groupedValue` - grouped property value\r\n       * * `currentGroupingPropertyName` - bound from [currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       * * `displayGroupedValueAs` - bound from [displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       * * `toggleGroupedRows` - closure action [toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       * * `toggleGroupedRowsExpands` - closure action [toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       * * `toggleGroupedRowsSelection` - closure action [toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       * * `visibleProcessedColumns` - bound from [visibleProcessedColumns](Components.ModelsTable.html#event_visibleProcessedColumns)\r\n       * * `themeInstance` - bound from [themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       * * `groupedItems` - list of all rows group items\r\n       * * `visibleGroupedItems` - list of rows group items shown on the current table page\r\n       * * `selectedGroupedItems` - list of selected rows group items\r\n       * * `expandedGroupedItems` - list of expanded rows group items\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @groupingRowComponent={{component \"grouping-row\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @property groupingRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupingRowComponent\", null);\n      /**\r\n       * This component won't be used if [useDataGrouping](Compnents.ModelsTable.html#property_useDataGrouping) is not `true`\r\n       *\r\n       * Component will receive several options:\r\n       *\r\n       * * `visibleProcessedColumns` - bound from [visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       * * `themeInstance` - bound from [themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       * * `groupedItems` - list of all rows group items\r\n       * * `visibleGroupedItems` - list of rows group items shown on the current table page\r\n       * * `selectedGroupedItems` - list of selected rows group items\r\n       * * `expandedGroupedItems` - list of expanded rows group items\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @groupSummaryRowComponent={{component \"group-summary-row\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @property groupSummaryRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupSummaryRowComponent\", null);\n      /**\r\n       * Component for header cell for column with grouping value\r\n       *\r\n       * This component won't be used if [useDataGrouping](Components.ModelsTable.html#property_useDataGrouping) is not `true` and [displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs) is not `columns`\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @groupHeaderCellComponent={{component \"group-header-cell\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * Component will receive such options:\r\n       *\r\n       * * `currentGroupingPropertyName` - property name used to group rows in the current moment\r\n       *\r\n       * @property groupHeaderCellComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupHeaderCellComponent\", null);\n      /**\r\n       * Closure action sent on user interaction\r\n       *\r\n       * Action will send one parameter - object with fields:\r\n       *\r\n       * * `sort` - list with sort value `propertyName:sortDirection`\r\n       * * `currentPageNumber` - currently shown page number\r\n       * * `pageSize` - current page size\r\n       * * `filterString` - global filter value\r\n       * * `filteredContent` - filtered data\r\n       * * `selectedItems` - list with selected row items\r\n       * * `expandedItems` - list with expanded row items\r\n       * * `columnFilters` - hash with fields equal to filtered propertyName and values equal to filter values\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @displayDataChangedAction={{action \"someAction\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @event displayDataChangedAction\r\n       */\n      _defineProperty(this, \"displayDataChangedAction\", null);\n      /**\r\n       * Action sent on init to give access to the Public API\r\n       *\r\n       * @property registerAPI\r\n       * @type Function\r\n       * @default null\r\n       */\n      _defineProperty(this, \"registerAPI\", null);\n      /**\r\n       * Closure action sent on change of visible columns\r\n       *\r\n       * The action will receive an array of objects as parameter, where every object looks like this: `{ propertyName: 'firstName', isHidden: true, mayBeHidden: false }`\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @columnsVisibilityChangedAction={{action \"someAction\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @event columnsVisibilityChangedAction\r\n       */\n      _defineProperty(this, \"columnsVisibilityChangedAction\", null);\n      /**\r\n       * Closure action sent on row double-click\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @rowDoubleClickAction={{action \"someAction\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @event rowDoubleClickAction\r\n       */\n      _defineProperty(this, \"rowDoubleClickAction\", null);\n      /**\r\n       * Closure action sent on row hover\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @rowHoverAction={{action \"someAction\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @event rowHoverAction\r\n       */\n      _defineProperty(this, \"rowHoverAction\", null);\n      /**\r\n       * Closure action sent on row out\r\n       *\r\n       * @example\r\n       * ```hbs\r\n       * <ModelsTable\r\n       *   @data={{model}}\r\n       *   @columns={{columns}}\r\n       *   @rowOutAction={{action \"someAction\"}}\r\n       * />\r\n       * ```\r\n       *\r\n       * @event rowOutAction\r\n       */\n      _defineProperty(this, \"rowOutAction\", null);\n      /**\r\n       * List of the currently visible columns\r\n       *\r\n       * @protected\r\n       * @property visibleProcessedColumns\r\n       * @type object[]\r\n       * @default []\r\n       */\n      _initializerDefineProperty(this, \"visibleProcessedColumns\", _descriptor, this);\n      /**\r\n       * List of property names can be used for grouping\r\n       *\r\n       * It may be a list of strings of list of objects. In first case label and value in the select-box will be the same.\r\n       * In the second case you must set `label` and `value` properties for each list item\r\n       *\r\n       * **IMPORTANT** It must contain [currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)-value\r\n       *\r\n       * @property dataGroupProperties\r\n       * @type string[]|object[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"dataGroupProperties\", Ember.A([]));\n      /**\r\n       * `true` if some value is set to the global filter\r\n       *\r\n       * @protected\r\n       * @property globalFilterUsed\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _initializerDefineProperty(this, \"globalFilterUsed\", _descriptor2, this);\n      /**\r\n       * Alias to `arrangedContent.length`\r\n       *\r\n       * @protected\r\n       * @property arrangedContentLength\r\n       * @type number\r\n       * @default 0\r\n       */\n      _initializerDefineProperty(this, \"arrangedContentLength\", _descriptor3, this);\n      /**\r\n       * List of possible [pageSize](Components.ModelsTable.html#property_pageSize) values. Used to change size of `visibleContent`\r\n       *\r\n       * @property pageSizeValues\r\n       * @type number[]\r\n       * @default [10, 25, 50]\r\n       */\n      _defineProperty(this, \"pageSizeValues\", Ember.A([10, 25, 50]));\n      /**\r\n       * List of options for pageSize-selectBox\r\n       * It's mapped from [pageSizeValues](Components.ModelsTable.html#property_pageSizeValues)\r\n       * This value should not be set manually!\r\n       *\r\n       * @protected\r\n       * @property pageSizeOptions\r\n       * @type SelectOption[]\r\n       * @default []\r\n       */\n      _defineProperty(this, \"pageSizeOptions\", Ember.A([]));\n      /**\r\n       * Public API that allows for programmatic interaction with the component\r\n       *\r\n       *  * `refilter()` - Invalidates the filteredContent property, causing the table to be re-filtered.\r\n       *  * `recordsCount` - Size of the current arranged content\r\n       *\r\n       *  @property publicAPI\r\n       *  @default null\r\n       */\n      _defineProperty(this, \"publicAPI\", null);\n    }\n    /**\r\n     * Expanded row items.\r\n     *\r\n     * It's set to the initial value when current page or page size is changed\r\n     *\r\n     * @property  expandedItems\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get expandedItems() {\n      return Ember.A([]);\n    }\n    set expandedItems(v) {\n      return Ember.A(v);\n    }\n    /**\r\n     * List of grouped property values where the groups are collapsed\r\n     *\r\n     * @property collapsedGroupValues\r\n     * @type array[]\r\n     * @default []\r\n     */\n    get collapsedGroupValues() {\n      return Ember.A([]);\n    }\n    set collapsedGroupValues(v) {\n      return Ember.A(v);\n    }\n    /**\r\n     * List of currently selected row items\r\n     *\r\n     * Row may be selected by clicking on it, if [selectRowOnClick](Components.ModelsTable.html#event_selectRowOnClick) is set to `true`\r\n     *\r\n     * @property selectedItems\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get selectedItems() {\n      return Ember.A([]);\n    }\n    set selectedItems(v) {\n      return Ember.A(v);\n    }\n    /**\r\n     * True if all processedColumns are hidden by `isHidden`\r\n     *\r\n     * @protected\r\n     * @property allColumnsAreHidden\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get allColumnsAreHidden() {\n      return this.processedColumns && this.processedColumns.length > 0 && this.processedColumns.isEvery('isHidden', true);\n    }\n    /**\r\n     * @protected\r\n     * @property dataGroupOptions\r\n     * @type Internal.SelectOption[]\r\n     * @default []\r\n     */\n    get dataGroupOptions() {\n      return this.dataGroupProperties.map(value => {\n        return 'object' === Ember.typeOf(value) || 'instance' === Ember.typeOf(value) ? value : {\n          label: (0, _column.propertyNameToTitle)(value),\n          value\n        };\n      });\n    }\n    /**\r\n     * `true` if global filter or filter by any column is used\r\n     *\r\n     * @protected\r\n     * @property anyFilterUsed\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get anyFilterUsed() {\n      return this.globalFilterUsed || this.processedColumns.isAny('filterUsed');\n    }\n\n    /**\r\n     * `true` if all processedColumns don't use filtering and sorting\r\n     *\r\n     * @protected\r\n     * @property noHeaderFilteringAndSorting\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get noHeaderFilteringAndSorting() {\n      return this.processedColumns.isEvery('useFilter', false) && this.processedColumns.isEvery('useSorting', false);\n    }\n\n    /**\r\n     * Number of pages\r\n     *\r\n     * @protected\r\n     * @property pagesCount\r\n     * @type number\r\n     * @default 0\r\n     */\n    get pagesCount() {\n      const pagesCount = this.arrangedContent.length / this.pageSize;\n      return 0 === pagesCount % 1 ? pagesCount : Math.floor(pagesCount) + 1;\n    }\n\n    /**\r\n     * [data](Components.ModelsTable.html#property_data) filtered with a global filter and columns filters\r\n     *\r\n     * Filtering by columns is ignored if [useFilteringByColumns](Components.ModelsTable.html#property_useFilteringByColumns) is set to `false`\r\n     *\r\n     * @protected\r\n     * @property filteredContent\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get filteredContent() {\n      const {\n        processedColumns,\n        data,\n        filteringIgnoreCase\n      } = this;\n      if (!Ember.isArray(data)) {\n        return [];\n      }\n      if (!this.anyFilterUsed) {\n        return data.slice();\n      }\n      let filterString = this.filterString;\n      if (filteringIgnoreCase) {\n        filterString = filterString.toLowerCase();\n      }\n      let _processedColumns = Ember.A(processedColumns.filterBy('useFilter'));\n      if (!this.doFilteringByHiddenColumns) {\n        _processedColumns = Ember.A(_processedColumns.filterBy('isHidden', false));\n      }\n      if (!Ember.get(_processedColumns, 'length')) {\n        return data.slice();\n      }\n\n      // global search\n      const filtersFor = Ember.A(Ember.A(_processedColumns.mapBy('filterField')).compact());\n      let globalSearch = data.filter(row => {\n        return filtersFor.any(filterFor => {\n          let cellValue = '' + Ember.get(row, filterFor);\n          if (filteringIgnoreCase) {\n            cellValue = cellValue.toLowerCase();\n          }\n          return -1 !== cellValue.indexOf(filterString);\n        });\n      });\n      if (!this.useFilteringByColumns) {\n        return globalSearch;\n      }\n\n      // search by each column\n      _processedColumns = _processedColumns.filterBy('filterField').filter(c => !(Ember.get(c, 'filterWithSelect') && '' === Ember.get(c, 'filterString')));\n      return globalSearch.filter(row => {\n        return _processedColumns.every(c => {\n          const filterFor = Ember.get(c, 'filterField');\n          let cellValue = '' + Ember.get(row, filterFor);\n          let filterString = Ember.get(c, 'filterString');\n          if (filteringIgnoreCase) {\n            cellValue = Ember.typeOf(cellValue) === 'string' ? cellValue.toLowerCase() : cellValue;\n            filterString = Ember.typeOf(filterString) === 'string' ? filterString.toLowerCase() : filterString;\n          }\n          return 'function' === Ember.typeOf(c.filterFunction) ? c.filterFunction(cellValue, filterString, row) : 0 === Ember.compare(cellValue, filterString);\n        });\n      });\n    }\n    set filteredContent(v) {\n      return v;\n    }\n\n    /**\r\n     * [filteredContent](Components.ModelsTable.html#property_filteredContent) sorted by needed properties\r\n     *\r\n     * @protected\r\n     * @property arrangedContent\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get arrangedContent() {\n      let sortProperties = this.sortProperties.map(p => {\n        let [prop, direction] = p.split(':');\n        direction = direction || _sortConstants.default.ASC;\n        return [prop, direction];\n      });\n      let _filteredContent = this.filteredContent.slice();\n      return sortProperties.length ? _filteredContent.sort((row1, row2) => {\n        for (let i = 0; i < sortProperties.length; i++) {\n          let [prop, direction] = sortProperties[i];\n          let sortFunction = Ember.get(this, `sortFunctions.${prop}`) || _betterCompare.default;\n          let result = prop ? sortFunction(Ember.get(row1, prop), Ember.get(row2, prop), direction) : 0;\n          if (result !== 0) {\n            return direction === _sortConstants.default.DESC ? -1 * result : result;\n          }\n        }\n        return 0;\n      }) : _filteredContent;\n    }\n    set arrangedContent(v) {\n      return v;\n    }\n\n    /**\r\n     * @method filteredContentObserver\r\n     * @protected\r\n     */\n    filteredContentObserver() {\n      Ember.run.once(this, this.filteredContentObserverOnce);\n    }\n\n    /**\r\n     * @method filteredContentObserverOnce\r\n     * @protected\r\n     */\n    filteredContentObserverOnce() {\n      this.updateState({\n        recordsCount: this.filteredContent.length\n      });\n    }\n\n    /**\r\n     * [filteredContent](Components.ModelsTable.html#property_filteredContent) grouped by [currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName) sorted by needed properties\r\n     *\r\n     * @protected\r\n     * @property groupedArrangedContent\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get groupedArrangedContent() {\n      const {\n        useDataGrouping,\n        currentGroupingPropertyName,\n        filteredContent,\n        sortByGroupedFieldDirection\n      } = this;\n      let grouped = {};\n      if (!useDataGrouping || !Ember.isArray(filteredContent)) {\n        return grouped;\n      }\n      let sortProperties = this.sortProperties.map(p => {\n        let [prop, direction] = p.split(':');\n        direction = direction || _sortConstants.default.ASC;\n        return [prop, direction];\n      });\n      grouped = chunkBy(filteredContent, currentGroupingPropertyName, sortByGroupedFieldDirection);\n      grouped = grouped.map(group => {\n        return sortProperties.length ? Ember.A(group.sort((row1, row2) => {\n          for (let i = 0; i < sortProperties.length; i++) {\n            let [prop, direction] = sortProperties[i];\n            let sortFunction = Ember.get(this, `sortFunctions.${prop}`) || _betterCompare.default;\n            let result = prop ? sortFunction(Ember.get(row1, prop), Ember.get(row2, prop)) : 0;\n            if (result !== 0) {\n              return direction === _sortConstants.default.DESC ? -1 * result : result;\n            }\n          }\n          return 0;\n        })) : group;\n      });\n      return grouped.reduce((result, group) => Ember.A([...result, ...group]), []);\n    }\n\n    /**\r\n     * Content of the current table page\r\n     *\r\n     * [arrangedContent](Componens.ModelsTable.html#property_arrangedContent) sliced for currently shown page\r\n     *\r\n     * @protected\r\n     * @property visibleContent\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get visibleContent() {\n      const {\n        arrangedContent,\n        pageSize,\n        currentPageNumber\n      } = this;\n      const startIndex = pageSize * (currentPageNumber - 1);\n      if (arrangedContent.length < pageSize) {\n        return arrangedContent;\n      }\n      return arrangedContent.slice(startIndex, startIndex + pageSize);\n    }\n\n    /**\r\n     * Content of the current table page when rows grouping is used\r\n     *\r\n     * [groupedVisibleContent](Components.ModelsTable.html#property_groupedVisibleContent) sliced for currently shown page\r\n     *\r\n     * @protected\r\n     * @property groupedVisibleContent\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get groupedVisibleContent() {\n      const {\n        useDataGrouping,\n        currentGroupingPropertyName,\n        groupedArrangedContent,\n        pageSize,\n        currentPageNumber\n      } = this;\n      if (!useDataGrouping) {\n        return [];\n      }\n      const startIndex = pageSize * (currentPageNumber - 1);\n      return Ember.get(groupedArrangedContent, 'length') < pageSize ? chunkBy(groupedArrangedContent, currentGroupingPropertyName) : chunkBy(groupedArrangedContent.slice(startIndex, startIndex + pageSize), currentGroupingPropertyName);\n    }\n\n    /**\r\n     * List of grouped property values in order to show groups in the table\r\n     *\r\n     * @protected\r\n     * @property groupedVisibleContentValuesOrder\r\n     * @type object[]\r\n     * @default []\r\n     */\n    get groupedVisibleContentValuesOrder() {\n      return this.groupedVisibleContent.map(group => Ember.get(group, `firstObject.${this.currentGroupingPropertyName}`));\n    }\n\n    /**\r\n     * Is user on the last page\r\n     *\r\n     * @property isLastPage\r\n     * @type boolean\r\n     * @protected\r\n     */\n    get isLastPage() {\n      return this.currentPageNumber >= this.pagesCount;\n    }\n    /**\r\n     * Index of the first currently shown record\r\n     *\r\n     * @protected\r\n     * @property firstIndex\r\n     * @type number\r\n     * @default 0\r\n     */\n    get firstIndex() {\n      return 0 === this.arrangedContentLength ? 0 : this.pageSize * (this.currentPageNumber - 1) + 1;\n    }\n\n    /**\r\n     * Index of the last currently shown record\r\n     *\r\n     * @protected\r\n     * @property lastIndex\r\n     * @type number\r\n     * @default 10\r\n     */\n    get lastIndex() {\n      return this.isLastPage ? this.arrangedContentLength : this.currentPageNumber * this.pageSize;\n    }\n    /**\r\n     * List of options for pageNumber-selectBox\r\n     *\r\n     * @protected\r\n     * @property currentPageNumberOptions\r\n     * @type SelectOption[]\r\n     * @default []\r\n     */\n    get currentPageNumberOptions() {\n      return Array.apply(null, {\n        length: this.pagesCount\n      }).map((v, i) => optionStrToObj(i + 1));\n    }\n\n    /**\r\n     * These are options for the columns dropdown.\r\n     * By default, the 'Show All', 'Hide All' and 'Restore Defaults' buttons are displayed.\r\n     *\r\n     * @protected\r\n     * @property columnDropdownOptions\r\n     * @type Internal.ColumnDropdownOptions\r\n     */\n    get columnDropdownOptions() {\n      return Ember.Object.create({\n        showAll: true,\n        hideAll: true,\n        restoreDefaults: true,\n        columnSets: Ember.A(this.columnSets || [])\n      });\n    }\n    /**\r\n     * @method updateState\r\n     * @param {object} changes\r\n     * @return object\r\n     * @protected\r\n     */\n    updateState(changes) {\n      let newState = Ember.set(this, 'publicAPI', Ember.assign({}, this.publicAPI, changes));\n      let registerAPI = this.registerAPI;\n      if (registerAPI) {\n        registerAPI(newState);\n      }\n      return newState;\n    }\n\n    /**\r\n     * Show first page if for some reasons there is no content for current page, but table data exists\r\n     *\r\n     * @method visibleContentObserver\r\n     * @protected\r\n     */\n    visibleContentObserver() {\n      Ember.run.once(this, this.visibleContentObserverOnce);\n    }\n\n    /**\r\n     * @method visibleContentObserverOnce\r\n     * @protected\r\n     */\n    visibleContentObserverOnce() {\n      const visibleContentLength = this.visibleContent.length;\n      const dataLength = this.data.length;\n      if (!visibleContentLength && dataLength && this.currentPageNumber !== 1) {\n        Ember.set(this, 'currentPageNumber', 1);\n      }\n    }\n    init() {\n      super.init(...arguments);\n      this.setup();\n    }\n    didReceiveAttrs() {\n      this.updateColumns();\n    }\n    didInsertElement() {\n      this.focus();\n      super.didInsertElement(...arguments);\n      if (this.checkTextTranslations) {\n        this._checkColumnTitles();\n      }\n    }\n\n    /**\r\n     * @method _checkColumnTitles\r\n     * @protected\r\n     */\n    _checkColumnTitles() {\n      this.columns.forEach((c, index) => {\n        (true && Ember.warn(`#${this.elementId}. No title. Column #${index}. ${c.propertyName}`, !(!hasOwnProperty.call(c, 'title') && c.propertyName), {\n          id: '#emt-column-no-title'\n        }));\n      });\n    }\n\n    /**\r\n     * Component init\r\n     *\r\n     * Set visibility and filtering attributes for each column\r\n     *\r\n     * @method setup\r\n     * @protected\r\n     */\n    setup() {\n      this._setupSelectedRows();\n      this._setupColumns();\n      this._setupPageSizeOptions();\n      if (this.columnsAreUpdateable) {\n        (true && !('array' === Ember.typeOf(this.columnFieldsToCheckUpdate)) && Ember.assert('`columnFieldsToCheckUpdate` should be an array of strings', 'array' === Ember.typeOf(this.columnFieldsToCheckUpdate)));\n        this.columnFieldsToCheckUpdate.forEach(propertyName => this.addObserver(`columns.@each.${propertyName}`, this, this._setupColumnsOnce));\n      }\n      this.addObserver('visibleContent.length', this, this.visibleContentObserver);\n      this.addObserver('filteredContent.length', this, this.filteredContentObserver);\n      Ember.set(this, 'publicAPI', {});\n      this.updateState({\n        recordsCount: this.filteredContent.length || 0,\n        refilter: this.refilter.bind(this)\n      });\n    }\n\n    /**\r\n     * @method refilter\r\n     * @protected\r\n     */\n    refilter() {\n      this.notifyPropertyChange('filteredContent');\n    }\n\n    /**\r\n     * Recalculate processedColumns when the columns attr changes\r\n     *\r\n     * @method updateColumns\r\n     * @protected\r\n     */\n    updateColumns() {\n      if (this.columnsAreUpdateable) {\n        this._setupColumns();\n      }\n    }\n\n    /**\r\n     * Focus on 'Global filter' on component render\r\n     *\r\n     * @method focus\r\n     * @protected\r\n     */\n    focus() {\n      if (this.showGlobalFilter && this.focusGlobalFilter) {\n        this.element.querySelector('.filterString').focus();\n      }\n    }\n\n    /**\r\n     * Preselect table rows if `selectedItems` is provided\r\n     *\r\n     * `multipleSelected` may be set `true` if `selectedItems` has more than 1 item\r\n     *\r\n     * @method _setupSelectedRows\r\n     * @protected\r\n     */\n    _setupSelectedRows() {\n      if (Ember.isArray(this.selectedItems) && this.selectedItems.length > 1 && !this.multipleSelected) {\n        (true && Ember.warn('`multipleSelected` is set `true`, because you have provided multiple `selectedItems`.', false, {\n          id: '#emt-multipleSelected_autoset'\n        }));\n        Ember.set(this, 'multipleSelected', true);\n      }\n    }\n\n    /**\r\n     * Wrapper for [_setupColumns](Components.ModelsTable.html#method__setupColumns) to call it only once when observer is fired\r\n     *\r\n     * @method _setupColumnsOnce\r\n     * @protected\r\n     */\n    _setupColumnsOnce() {\n      Ember.run.once(this, this._setupColumns);\n    }\n\n    /**\r\n     * Generate hash for column-`extend`\r\n     *\r\n     * @method _createColumnInstance\r\n     * @param {Utils.ModelsTableColumn} options\r\n     * @protected\r\n     */\n    _createColumnInstance(options) {\n      const {\n        propertyName,\n        filteredBy,\n        disableFiltering,\n        filterWithSelect\n      } = options;\n      const column = _column.default.create();\n      if (filterWithSelect && (filteredBy || propertyName) && !disableFiltering) {\n        let predefinedFilterOptions = Ember.get(options, 'predefinedFilterOptions');\n        let usePredefinedFilterOptions = 'array' === Ember.typeOf(predefinedFilterOptions);\n        if (usePredefinedFilterOptions && Ember.get(predefinedFilterOptions, 'length')) {\n          const types = Ember.A(['object', 'instance']);\n          const allObjects = Ember.A(predefinedFilterOptions).every(option => types.includes(Ember.typeOf(option)) && hasOwnProperty.call(option, 'label') && hasOwnProperty.call(option, 'value'));\n          const allPrimitives = Ember.A(predefinedFilterOptions).every(option => !types.includes(Ember.typeOf(option)));\n          (true && !(allObjects || allPrimitives) && Ember.assert('`predefinedFilterOptions` should be an array of objects or primitives and not mixed', allObjects || allPrimitives));\n          if (allPrimitives) {\n            predefinedFilterOptions = predefinedFilterOptions.map(optionStrToObj);\n          }\n          if ('' !== predefinedFilterOptions[0].value) {\n            predefinedFilterOptions = [{\n              value: '',\n              label: ''\n            }, ...predefinedFilterOptions];\n          }\n          column.filterOptions = usePredefinedFilterOptions ? Ember.A(predefinedFilterOptions) : [];\n          return column;\n        }\n        if (usePredefinedFilterOptions) {\n          // Empty array as predefined filter\n          column.disableFiltering = true;\n          return column;\n        }\n        if (!!filteredBy || !!propertyName) {\n          var _dec45, _class3, _descriptor4;\n          let C = (_dec45 = getFilterOptionsCP(filteredBy || propertyName), _class3 = class C extends _column.default {\n            constructor(...args) {\n              super(...args);\n              _initializerDefineProperty(this, \"filterOptions\", _descriptor4, this);\n            }\n          }, _descriptor4 = _applyDecoratedDescriptor(_class3.prototype, \"filterOptions\", [_dec45], {\n            configurable: true,\n            enumerable: true,\n            writable: true,\n            initializer: null\n          }), _class3);\n          return C.create();\n        }\n      }\n      return column;\n    }\n\n    /**\r\n     * Set values for some column-properties after its creation\r\n     *\r\n     * @method _postProcessColumn\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @return Utils.ModelsTableColumn\r\n     * @protected\r\n     */\n    _postProcessColumn(column) {\n      Ember.set(column, '__mt', this);\n      const filterOptions = Ember.get(column, 'filterOptions');\n      const placeholder = Ember.get(column, 'filterPlaceholder');\n      if (Ember.isArray(filterOptions) && placeholder && !filterOptions[0].label) {\n        Ember.set(column, 'filterOptions.firstObject.label', placeholder);\n      }\n      return column;\n    }\n\n    /**\r\n     * Create a column.\r\n     * This can be overwritten if you need to use your own column object.\r\n     *\r\n     * Override must something like:\r\n     *\r\n     * @example\r\n     * ```js\r\n     * _createColumn(options) {\r\n     *   const column = this._createColumnInstance(options);\r\n     *   setProperties(column, options);\r\n     *   return this._postProcessColumn(column);\r\n     * }\r\n     * ```\r\n     *\r\n     * @param {Utils.ModelsTableColumn} options\r\n     * @method _createColumn\r\n     * @return {Utils.ModelsTableColumn}\r\n     */\n    _createColumn(options) {\n      const column = this._createColumnInstance(options);\n      Ember.setProperties(column, options);\n      return this._postProcessColumn(column);\n    }\n\n    /**\r\n     * Create new properties for `columns`\r\n     *\r\n     * @private\r\n     * @method _setupColumns\r\n     */\n    _setupColumns() {\n      let self = this;\n      let nColumns = Ember.A(this.columns.map(column => {\n        let filterFunction = Ember.get(column, 'filterFunction');\n        filterFunction = 'function' === Ember.typeOf(filterFunction) ? filterFunction : defaultFilter;\n        let c = this._createColumn(column);\n        ['colspanForSortCell', 'colspanForFilterCell'].forEach(prop => {\n          const val = Ember.get(c, prop);\n          (true && !(Ember.typeOf(val) === 'number' && val >= 1) && Ember.assert(`\"${prop}\" must be 1 or greater. You passed \"${val}\"`, Ember.typeOf(val) === 'number' && val >= 1));\n        });\n        Ember.setProperties(c, {\n          filterString: Ember.get(c, 'filterString') || '',\n          originalDefinition: column\n        });\n        this._setupColumnsComponent(c, column);\n        Ember.set(c, 'filterFunction', filterFunction);\n        if (Ember.isNone(Ember.get(c, 'mayBeHidden'))) {\n          Ember.set(c, 'mayBeHidden', true);\n        }\n        const {\n          sortDirection,\n          sortPrecedence\n        } = column;\n        const hasSortPrecedence = !Ember.isNone(sortPrecedence) && sortPrecedence > NOT_SORTED;\n        const defaultSortPrecedence = hasSortPrecedence ? sortPrecedence : NOT_SORTED;\n        const defaultSorting = sortDirection && sortPrecedence > NOT_SORTED ? sortDirection.toLowerCase() : _sortConstants.default.NONE;\n        Ember.setProperties(c, {\n          defaultVisible: !Ember.get(c, 'isHidden'),\n          sorting: defaultSorting,\n          sortPrecedence: defaultSortPrecedence\n        });\n        return c;\n      }));\n      nColumns.filterBy('propertyName').forEach(column => {\n        let propertyName = Ember.get(column, 'propertyName');\n        if (Ember.isNone(Ember.get(column, 'title'))) {\n          Ember.set(column, 'title', (0, _column.propertyNameToTitle)(propertyName));\n        }\n      });\n      Ember.set(this, 'processedColumns', nColumns);\n      Ember.set(this, 'sortProperties', Ember.A());\n      const filteredOrderedColumns = nColumns.sortBy('sortPrecedence').filter(col => isSortedByDefault(col));\n      filteredOrderedColumns.forEach(column => {\n        self.send('sort', column);\n        const defaultSortedBy = column.sortedBy || column.propertyName;\n        let sortingArgs = [column, defaultSortedBy, column.sortDirection.toLowerCase()];\n        if (this.multipleColumnsSorting) {\n          this._multiColumnsSorting(...sortingArgs);\n        } else {\n          this._singleColumnSorting(...sortingArgs);\n        }\n      });\n      this.updateHeaderCellsColspanOnce();\n    }\n\n    /**\r\n     * Create new properties for `columns` for components\r\n     *\r\n     * @protected\r\n     * @method _setupColumnsComponent\r\n     */\n    _setupColumnsComponent(c, column) {\n      if (Ember.isPresent(this.columnComponents)) {\n        // display component\n        let componentName = Ember.get(column, 'component');\n        if (Ember.isPresent(componentName)) {\n          let hashComponent = Ember.get(this.columnComponents, componentName);\n          if (Ember.isPresent(hashComponent)) {\n            Ember.set(c, 'component', hashComponent);\n          }\n        }\n\n        // edit component\n        componentName = Ember.get(column, 'componentForEdit');\n        if (Ember.isPresent(componentName)) {\n          let hashComponent = Ember.get(this.columnComponents, componentName);\n          if (Ember.isPresent(hashComponent)) {\n            Ember.set(c, 'componentForEdit', hashComponent);\n          }\n        }\n      }\n    }\n\n    /**\r\n     * Provide backward compatibility with `pageSizeValues` equal to an array with numbers and not objects\r\n     * `pageSizeValues` is live as is, `pageSizeOptions` is used in the templates\r\n     *\r\n     * @protected\r\n     * @method _setupPageSizeOptions\r\n     */\n    _setupPageSizeOptions() {\n      let pageSizeOptions = this.pageSizeValues.map(optionStrToObj);\n      Ember.set(this, 'pageSizeOptions', pageSizeOptions);\n    }\n\n    /**\r\n     * Set `sortProperties` when single-column sorting is used\r\n     *\r\n     * @protected\r\n     * @method _singleColumnSorting\r\n     */\n    _singleColumnSorting(column, sortedBy, newSorting) {\n      this.processedColumns.setEach('sorting', _sortConstants.default.NONE);\n      Ember.set(column, 'sorting', newSorting);\n      let sortFunctions = Object.create(null);\n      sortFunctions[sortedBy] = Ember.get(column, 'sortFunction');\n      Ember.set(this, 'sortFunctions', sortFunctions);\n      Ember.set(this, 'sortProperties', _sortConstants.default.NONE === newSorting ? [] : [`${sortedBy}:${newSorting}`]);\n    }\n\n    /**\r\n     * Set `sortProperties` when multi-columns sorting is used\r\n     *\r\n     * @method _multiColumnsSorting\r\n     * @protected\r\n     */\n    _multiColumnsSorting(column, sortedBy, newSorting) {\n      Ember.set(column, 'sorting', newSorting);\n      let sortPropertiesMap = {};\n      this.sortProperties.forEach(p => {\n        let [propertyName, order] = p.split(':');\n        sortPropertiesMap[propertyName] = order;\n      });\n      delete sortPropertiesMap[sortedBy];\n      let newSortProperties = Ember.A([]);\n      let newSortFunctions = Object.create(null);\n      keys(sortPropertiesMap).forEach(propertyName => {\n        if (propertyName !== sortedBy) {\n          newSortProperties.pushObject(`${propertyName}:${sortPropertiesMap[propertyName]}`);\n        }\n        Ember.set(newSortFunctions, propertyName, Ember.get(column, 'sortFunction'));\n      });\n      if (_sortConstants.default.NONE !== newSorting) {\n        newSortProperties.pushObject(`${sortedBy}:${newSorting}`);\n        newSortFunctions[sortedBy] = Ember.get(column, 'sortFunction');\n      }\n      Ember.set(this, 'sortProperties', newSortProperties);\n      Ember.set(this, 'sortFunctions', newSortFunctions);\n    }\n\n    /**\r\n     * Send `displayDataChangedAction`-action when user does sort of filter.\r\n     * Action is sent if `displayDataChangedAction` is a closure-action\r\n     *\r\n     * @protected\r\n     * @method userInteractionObserver\r\n     */\n    userInteractionObserver() {\n      Ember.run.once(this, this.userInteractionObserverOnce);\n    }\n\n    /**\r\n     * @protected\r\n     * @method userInteractionObserverOnce\r\n     */\n    userInteractionObserverOnce() {\n      let actionIsFunction = typeof this.displayDataChangedAction === 'function';\n      if (actionIsFunction) {\n        let settings = Ember.Object.create({\n          sort: this.sortProperties,\n          currentPageNumber: this.currentPageNumber,\n          pageSize: this.pageSize,\n          filterString: this.filterString,\n          filteredContent: this.filteredContent,\n          selectedItems: this.selectedItems,\n          expandedItems: this.expandedItems,\n          columns: this.processedColumns.map(c => Ember.getProperties(c, ['filterString', 'filterField', 'sortField', 'sorting', 'propertyName'])),\n          columnFilters: {}\n        });\n        this.processedColumns.forEach(column => {\n          if (!Ember.isBlank(Ember.get(column, 'filterString'))) {\n            settings.columnFilters[Ember.get(column, 'propertyName')] = Ember.get(column, 'filterString');\n          }\n        });\n        this.displayDataChangedAction(settings);\n      }\n    }\n\n    /**\r\n     * Send `columnsVisibilityChangedAction`-action when user changes which columns are visible.\r\n     * Action is sent if `columnsVisibilityChangedAction` is a closure action\r\n     *\r\n     * @protected\r\n     * @method _sendColumnsVisibilityChangedAction\r\n     */\n    _sendColumnsVisibilityChangedAction() {\n      let actionIsFunction = typeof this.columnsVisibilityChangedAction === 'function';\n      if (actionIsFunction) {\n        const columnsVisibility = this.processedColumns.map(column => {\n          const options = Ember.getProperties(column, 'isHidden', 'mayBeHidden', 'propertyName');\n          options.isHidden = !!options.isHidden;\n          return options;\n        });\n        this.columnsVisibilityChangedAction(columnsVisibility);\n      }\n    }\n\n    /**\r\n     * Handler for global filter and filter by each column\r\n     *\r\n     * @protected\r\n     * @method forceToFirstPage\r\n     */\n    forceToFirstPage() {\n      Ember.set(this, 'currentPageNumber', 1);\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Collapse open rows when user change page size or moved to the another page\r\n     *\r\n     * @protected\r\n     * @method collapseRowOnNavigate\r\n     */\n    collapseRowOnNavigate() {\n      this.expandedItems.clear();\n    }\n\n    /**\r\n     * Rebuild the whole table.\r\n     * This can be called to force a complete re-render of the table.\r\n     *\r\n     * @method rebuildTable\r\n     * @protected\r\n     */\n    rebuildTable() {\n      Ember.set(this, 'currentPageNumber', 1);\n      this._clearFilters();\n      this.setup();\n    }\n\n    /**\r\n     * Update colspans for table header cells\r\n     *\r\n     * @protected\r\n     * @method updateHeaderCellsColspan\r\n     */\n    updateHeaderCellsColspan() {\n      Ember.run.once(this, this.updateHeaderCellsColspanOnce);\n    }\n\n    /**\r\n     * @protected\r\n     * @method updateHeaderCellsColspanOnce\r\n     */\n    updateHeaderCellsColspanOnce() {\n      this.processedColumns.forEach((column, index, columns) => {\n        const colspanForSortCell = Ember.get(column, 'colspanForSortCell');\n        const colspanForFilterCell = Ember.get(column, 'colspanForFilterCell');\n        const nextColumnsForSortCell = columns.slice(index, index + colspanForSortCell).filter(c => Ember.get(c, 'isHidden'));\n        const nextColumnsForFilterCell = columns.slice(index, index + colspanForFilterCell).filter(c => Ember.get(c, 'isHidden'));\n        Ember.set(column, 'realColspanForSortCell', colspanForSortCell - Ember.get(nextColumnsForSortCell, 'length'));\n        Ember.set(column, 'realColspanForFilterCell', colspanForFilterCell - Ember.get(nextColumnsForFilterCell, 'length'));\n      });\n    }\n\n    /**\r\n     * Clear all filters.\r\n     *\r\n     * @protected\r\n     * @method _clearFilters\r\n     */\n    _clearFilters() {\n      Ember.set(this, 'filterString', '');\n      this.processedColumns.setEach('filterString', '');\n    }\n    willInsertElement() {\n      this.forceToFirstPageProps.forEach(propertyName => this.addObserver(propertyName, this, 'forceToFirstPage'));\n      return super.willInsertElement(...arguments);\n    }\n    willDestroyElement() {\n      this.forceToFirstPageProps.forEach(propertyName => this.removeObserver(propertyName, this, 'forceToFirstPage'));\n      if (this.registerAPI) {\n        this.registerAPI(null);\n      }\n      this.processedColumns.invoke('destroy');\n      return super.willDestroyElement(...arguments);\n    }\n\n    /**\r\n     * Toggle visibility for provided column\r\n     *\r\n     * It doesn't do nothing if column can't be hidden (see [mayBeHidden](Utils.ModelsTableColumn.html#property_mayBeHidden)). May trigger sending [columnsVisibilityChangedAction](Components.ModelsTable.html#event_columnsVisibilityChangedAction)\r\n     *\r\n     * @event toggleHidden\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @protected\r\n     */\n    toggleHidden(column) {\n      if (Ember.get(column, 'mayBeHidden')) {\n        column.toggleProperty('isHidden');\n        this._sendColumnsVisibilityChangedAction();\n      }\n    }\n\n    /**\r\n     * Show all columns\r\n     *\r\n     * Set each column `isHidden` value to `false`. May trigger sending [columnsVisibilityChangedAction](Components.ModelsTable.html#event_columnsVisibilityChangedAction)\r\n     *\r\n     * @event showAllColumns\r\n     * @protected\r\n     */\n    showAllColumns() {\n      this.processedColumns.setEach('isHidden', false);\n      this._sendColumnsVisibilityChangedAction();\n    }\n\n    /**\r\n     * Hide all columns that may be hidden (see [mayBeHidden](Utils.ModelsTableColumn.html#property_mayBeHidden))\r\n     *\r\n     * May trigger sending [columnsVisibilityChangedAction](Components.ModelsTable.html#event_columnsVisibilityChangedAction)\r\n     *\r\n     * @event hideAllColumns\r\n     * @protected\r\n     */\n    hideAllColumns() {\n      Ember.A(this.processedColumns.filterBy('mayBeHidden')).setEach('isHidden', true);\n      this._sendColumnsVisibilityChangedAction();\n    }\n\n    /**\r\n     * Restore columns visibility values according to their default visibility settings (see [defaultVisible](Utils.ModelsTableColumn.html#property_defaultVisible))\r\n     *\r\n     * May trigger sending [columnsVisibilityChangedAction](Components.MdoelsTableColumn.html#event_columnsVisibilityChangedAction)\r\n     *\r\n     * @event restoreDefaultVisibility\r\n     * @protected\r\n     */\n    restoreDefaultVisibility() {\n      this.processedColumns.forEach(c => {\n        Ember.set(c, 'isHidden', !Ember.get(c, 'defaultVisible'));\n        this._sendColumnsVisibilityChangedAction();\n      });\n    }\n\n    /**\r\n     * Toggle visibility for every column in the selected columns set\r\n     *\r\n     * It ignore columns that can't be hidden (see [mayBeHidden](Utils.ModelsTableColumn.html#property_mayBeHidden)). May trigger sending [columnsVisibilityChangedAction](Components.ModelsTable.html#event_columnsVisibilityChangedAction)\r\n     *\r\n     * @event toggleColumnSet\r\n     * @param {Internal.ColumnSet} columnSetToToggle\r\n     * @protected\r\n     */\n    toggleColumnSet({\n      showColumns = [],\n      hideOtherColumns,\n      toggleSet = false\n    } = {}) {\n      // If hideOtherColumns is not set, default to true if toggleSet=false, else to false\n      hideOtherColumns = Ember.isNone(hideOtherColumns) ? !toggleSet : hideOtherColumns;\n\n      // If showColumns is a function, call it\n      if (Ember.typeOf(showColumns) === 'function') {\n        return Ember.run(this, showColumns, this.processedColumns);\n      }\n      let setColumns = Ember.A([]);\n      let otherColumns = Ember.A([]);\n      this.processedColumns.forEach(column => {\n        let columnId = Ember.get(column, 'propertyName');\n        if (!columnId || !Ember.get(column, 'mayBeHidden')) {\n          return;\n        }\n        showColumns = Ember.A(showColumns);\n        if (showColumns.includes(columnId)) {\n          setColumns.pushObject(column);\n        } else {\n          otherColumns.pushObject(column);\n        }\n      });\n\n      // By default, all columns should always be set to visible\n      // However, if `toggleSet=true`, then the set should be toggled between visible/hidden\n      // In this case, if one of the set columns is hidden, make them all visible, else hide them\n      let targetVisibility = true;\n      if (toggleSet) {\n        targetVisibility = !!setColumns.findBy('isVisible', false);\n      }\n      setColumns.forEach(column => {\n        let columnId = Ember.get(column, 'propertyName');\n        if (showColumns.includes(columnId) && Ember.get(column, 'isVisible') !== targetVisibility) {\n          this.send('toggleHidden', column);\n        }\n      });\n      if (hideOtherColumns) {\n        otherColumns.forEach(column => {\n          let columnId = Ember.get(column, 'propertyName');\n          if (!showColumns.includes(columnId) && Ember.get(column, 'isVisible')) {\n            this.send('toggleHidden', column);\n          }\n        });\n      }\n    }\n\n    /**\r\n     * Pagination click-handler\r\n     *\r\n     * It moves user to the selected page. Check [models-table/pagination-numeric](Components.ModelsTablePaginationNumeric.html) and [models-table/pagination-simple](Components.ModelsTablePaginationSimple.html) for usage examples. May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event gotoCustomPage\r\n     * @param {number} pageNumber\r\n     * @protected\r\n     */\n    gotoCustomPage(pageNumber) {\n      Ember.set(this, 'currentPageNumber', pageNumber);\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Sort selected column by [sortedBy](Utils.ModelsTableColumn.html#property_sortedBy) or [propertyName](Utils.ModelsTableColumn.html#property_propertyName)\r\n     *\r\n     * It will drop sorting for other columns if [multipleColumnsSorting](Components.ModelsTable.html#property_multipleColumnsSorting) is set to `false`. It will add new sorting if [multipleColumnsSorting](Components.ModelsTable.html#property_multipleColumnsSorting) is set to `true`. May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction). Table will be dropped to the first page if sorting is done\r\n     *\r\n     * For multiColumns-sorting calling sort will change sort-order. E.g.:\r\n     *\r\n     * @example\r\n     * ```js\r\n     * sortProperties = ['a:asc', 'b:asc', 'c:desc'];\r\n     * sort({propertyName: 'b'}); // sortProperties now is ['a:asc', 'c:desc', 'b:desc']\r\n     * ```\r\n     *\r\n     * @event sort\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @protected\r\n     */\n    sort(column) {\n      let sortedBy = Ember.get(column, 'sortedBy') || Ember.get(column, 'propertyName');\n      if (!sortedBy) {\n        return;\n      }\n      let currentSorting = Ember.get(column, 'sorting') || _sortConstants.default.NONE;\n      let newSorting = this.sortMap[currentSorting.toLowerCase()];\n      if (sortedBy === this.currentGroupingPropertyName) {\n        newSorting = this.sortByGroupedFieldDirection === _sortConstants.default.ASC ? _sortConstants.default.DESC : _sortConstants.default.ASC;\n        Ember.set(this, 'sortByGroupedFieldDirection', newSorting);\n        return;\n      }\n      let sortingArgs = [column, sortedBy, newSorting];\n      if (this.multipleColumnsSorting) {\n        this._multiColumnsSorting(...sortingArgs);\n      } else {\n        this._singleColumnSorting(...sortingArgs);\n      }\n      Ember.set(this, 'currentPageNumber', 1);\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Expand selected row\r\n     *\r\n     * It will cause expandedRowComponent to be used for it. It will collapse already expanded row if [multipleExpand](Components.ModelsTable.html#property_multipleExpand) is set to `false`. Expanding is assigned to the record itself and not their index. So, if page #1 has first row expanded and user is moved to any another page, first row on new page won't be expanded. But when user will be back to the first page, first row will be expanded. May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event expandRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    expandRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      const {\n        multipleExpand,\n        expandedItems\n      } = this;\n      if (!multipleExpand && Ember.get(expandedItems, 'length') === 1) {\n        expandedItems.clear();\n      }\n      expandedItems.pushObject(dataItem);\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Collapse selected row\r\n     *\r\n     * May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event collapseRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    collapseRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      this.expandedItems.removeObject(dataItem);\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Expand all rows in the current page\r\n     *\r\n     * It works only if [multipleExpand](Components.ModelsTable.html#property_multipleExpand) is set to `true`. May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event expandAllRows\r\n     * @protected\r\n     */\n    expandAllRows() {\n      const {\n        multipleExpand,\n        visibleContent\n      } = this;\n      if (multipleExpand) {\n        if (this.useDataGrouping) {\n          this.expandedItems.pushObjects(Ember.A(objToArray(this.groupedVisibleContent)));\n        } else {\n          this.expandedItems.pushObjects(Ember.A(visibleContent.slice()));\n        }\n        this.userInteractionObserver();\n      }\n    }\n\n    /**\r\n     * Collapse all rows in the current page\r\n     *\r\n     * May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event collapseAllRows\r\n     * @protected\r\n     */\n    collapseAllRows() {\n      this.expandedItems.clear();\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Handler for row-click\r\n     *\r\n     * Toggle `selected`-state for row. Select only one or multiple rows depends on [multipleSelect](Components.ModelsTable.html#property_multipleSelect) value. May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event clickOnRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    clickOnRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      if (this.selectRowOnClick) {\n        const {\n          multipleSelect,\n          selectedItems\n        } = this;\n        if (selectedItems.includes(dataItem)) {\n          selectedItems.removeObject(dataItem);\n        } else {\n          if (!multipleSelect && Ember.get(selectedItems, 'length') === 1) {\n            selectedItems.clear();\n          }\n          selectedItems.pushObject(dataItem);\n        }\n      }\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Handler for double-click on row\r\n     *\r\n     * May trigger sending [rowDoubleClickAction](Components.ModelsTable.html#event_rowDoubleClickAction)\r\n     *\r\n     * @event doubleClickOnRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    doubleClickOnRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      let actionIsFunction = typeof this.rowDoubleClickAction === 'function';\n      if (actionIsFunction) {\n        this.rowDoubleClickAction(index, dataItem);\n      }\n    }\n\n    /**\r\n     * Handler for row-hover\r\n     *\r\n     * May trigger sending [rowHoverAction](Components.ModelsTable.html#event_rowHoverAction)\r\n     *\r\n     * @event hoverOnRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    hoverOnRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      let actionIsFunction = typeof this.rowHoverAction === 'function';\n      if (actionIsFunction) {\n        this.rowHoverAction(index, dataItem);\n      }\n    }\n\n    /**\r\n     * Handler for row-hover\r\n     *\r\n     * May trigger sending [rowOutAction](Components.ModelsTable.html#event_rowOutAction)\r\n     *\r\n     * @event outRow\r\n     * @param {number} index\r\n     * @param {object} dataItem\r\n     * @protected\r\n     */\n    outRow(index, dataItem) {\n      (true && !(Ember.typeOf(index) === 'number') && Ember.assert('row index should be numeric', Ember.typeOf(index) === 'number'));\n      let actionIsFunction = typeof this.rowOutAction === 'function';\n      if (actionIsFunction) {\n        this.rowOutAction(index, dataItem);\n      }\n    }\n\n    /**\r\n     * Clear all column filters and global filter\r\n     *\r\n     * May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event clearFilters\r\n     * @protected\r\n     */\n    clearFilters() {\n      this._clearFilters();\n    }\n\n    /**\r\n     * Select/deselect all rows\r\n     *\r\n     * May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event toggleAllSelection\r\n     * @protected\r\n     */\n    toggleAllSelection() {\n      const {\n        selectedItems,\n        data\n      } = this;\n      const allSelectedBefore = Ember.get(selectedItems, 'length') === Ember.get(data, 'length');\n      selectedItems.clear();\n      if (!allSelectedBefore) {\n        const toSelect = data.slice ? data.slice() : data;\n        selectedItems.pushObjects(toSelect);\n      }\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Expand or collapse all rows in the rows group\r\n     *\r\n     * **IMPORTANT** `multipleExpand` should be set to `true` otherwise this action won't do anything\r\n     *\r\n     * @event toggleGroupedRowsExpands\r\n     * @param {string|number|boolean} groupedValue\r\n     * @protected\r\n     */\n    toggleGroupedRowsExpands(groupedValue) {\n      if (!this.multipleExpand) {\n        return;\n      }\n      const {\n        expandedItems,\n        currentGroupingPropertyName\n      } = this;\n      const groupedItems = this.groupedArrangedContent.filterBy(currentGroupingPropertyName, groupedValue);\n      const notExpandedGroupItems = groupedItems.filter(record => expandedItems.indexOf(record) === -1);\n      if (Ember.get(notExpandedGroupItems, 'length')) {\n        const toPush = notExpandedGroupItems.filter(record => expandedItems.indexOf(record) === -1);\n        expandedItems.pushObjects(toPush);\n      } else {\n        groupedItems.forEach(record => expandedItems.removeObject(record));\n      }\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Select/deselect rows from the rows group\r\n     *\r\n     * **IMPORTANT** `multipleSelect` should be set to `true` otherwise this action won't do anything\r\n     *\r\n     * May trigger sending [displayDataChangedAction](Components.ModelsTable.html#event_displayDataChangedAction)\r\n     *\r\n     * @event toggleGroupedRowsSelection\r\n     * @param {string|number|boolean} groupedValue\r\n     * @protected\r\n     */\n    toggleGroupedRowsSelection(groupedValue) {\n      if (!this.multipleSelect) {\n        return;\n      }\n      const {\n        selectedItems,\n        currentGroupingPropertyName\n      } = this;\n      const groupedItems = this.groupedArrangedContent.filterBy(currentGroupingPropertyName, groupedValue);\n      const notSelectedGroupItems = groupedItems.filter(record => selectedItems.indexOf(record) === -1);\n      if (Ember.get(notSelectedGroupItems, 'length')) {\n        const toPush = notSelectedGroupItems.filter(record => selectedItems.indexOf(record) === -1);\n        selectedItems.pushObjects(toPush);\n      } else {\n        groupedItems.forEach(record => selectedItems.removeObject(record));\n      }\n      this.userInteractionObserver();\n    }\n\n    /**\r\n     * Collapse or expand rows group\r\n     *\r\n     * @event toggleGroupedRows\r\n     * @param {string|number|boolean} groupedValue\r\n     * @protected\r\n     */\n    toggleGroupedRows(groupedValue) {\n      if (this.collapsedGroupValues.includes(groupedValue)) {\n        this.collapsedGroupValues.removeObject(groupedValue);\n      } else {\n        this.collapsedGroupValues.pushObject(groupedValue);\n      }\n    }\n    click(e) {\n      if (this.isolated) {\n        e.stopPropagation();\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"expandedItems\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"expandedItems\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"collapsedGroupValues\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"collapsedGroupValues\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"selectedItems\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"selectedItems\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"visibleProcessedColumns\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"allColumnsAreHidden\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"allColumnsAreHidden\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"dataGroupOptions\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"dataGroupOptions\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"globalFilterUsed\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"anyFilterUsed\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"anyFilterUsed\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noHeaderFilteringAndSorting\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"noHeaderFilteringAndSorting\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"pagesCount\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"pagesCount\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"filteredContent\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteredContent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"arrangedContent\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"arrangedContent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"groupedArrangedContent\", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"groupedArrangedContent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"visibleContent\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"visibleContent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"groupedVisibleContent\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"groupedVisibleContent\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"groupedVisibleContentValuesOrder\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"groupedVisibleContentValuesOrder\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isLastPage\", [_dec17], Object.getOwnPropertyDescriptor(_class2.prototype, \"isLastPage\"), _class2.prototype), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"arrangedContentLength\", [_dec18], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"firstIndex\", [_dec19], Object.getOwnPropertyDescriptor(_class2.prototype, \"firstIndex\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"lastIndex\", [_dec20], Object.getOwnPropertyDescriptor(_class2.prototype, \"lastIndex\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"currentPageNumberOptions\", [_dec21], Object.getOwnPropertyDescriptor(_class2.prototype, \"currentPageNumberOptions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"columnDropdownOptions\", [_dec22], Object.getOwnPropertyDescriptor(_class2.prototype, \"columnDropdownOptions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"collapseRowOnNavigate\", [_dec23], Object.getOwnPropertyDescriptor(_class2.prototype, \"collapseRowOnNavigate\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateHeaderCellsColspan\", [_dec24], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateHeaderCellsColspan\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleHidden\", [_dec25], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleHidden\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"showAllColumns\", [_dec26], Object.getOwnPropertyDescriptor(_class2.prototype, \"showAllColumns\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hideAllColumns\", [_dec27], Object.getOwnPropertyDescriptor(_class2.prototype, \"hideAllColumns\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"restoreDefaultVisibility\", [_dec28], Object.getOwnPropertyDescriptor(_class2.prototype, \"restoreDefaultVisibility\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleColumnSet\", [_dec29], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleColumnSet\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoCustomPage\", [_dec30], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoCustomPage\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"sort\", [_dec31], Object.getOwnPropertyDescriptor(_class2.prototype, \"sort\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"expandRow\", [_dec32], Object.getOwnPropertyDescriptor(_class2.prototype, \"expandRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"collapseRow\", [_dec33], Object.getOwnPropertyDescriptor(_class2.prototype, \"collapseRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"expandAllRows\", [_dec34], Object.getOwnPropertyDescriptor(_class2.prototype, \"expandAllRows\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"collapseAllRows\", [_dec35], Object.getOwnPropertyDescriptor(_class2.prototype, \"collapseAllRows\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"clickOnRow\", [_dec36], Object.getOwnPropertyDescriptor(_class2.prototype, \"clickOnRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doubleClickOnRow\", [_dec37], Object.getOwnPropertyDescriptor(_class2.prototype, \"doubleClickOnRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hoverOnRow\", [_dec38], Object.getOwnPropertyDescriptor(_class2.prototype, \"hoverOnRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"outRow\", [_dec39], Object.getOwnPropertyDescriptor(_class2.prototype, \"outRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"clearFilters\", [_dec40], Object.getOwnPropertyDescriptor(_class2.prototype, \"clearFilters\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleAllSelection\", [_dec41], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleAllSelection\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleGroupedRowsExpands\", [_dec42], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleGroupedRowsExpands\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleGroupedRowsSelection\", [_dec43], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleGroupedRowsSelection\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"toggleGroupedRows\", [_dec44], Object.getOwnPropertyDescriptor(_class2.prototype, \"toggleGroupedRows\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/cell-column-summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/cell-column-summary\"], function (_exports, _component, _cellColumnSummary) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\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  function sumBy(collection) {\n    return Ember.computed(`${collection}.[]`, function () {\n      const c = Ember.get(this, collection);\n      return c ? c.reduce((a, b) => a + b, 0) : 0;\n    });\n  }\n  function avgBy(collection, sumBy) {\n    return Ember.computed(sumBy, function () {\n      const count = Ember.get(this, `${collection}.length`);\n      return count ? Ember.get(this, sumBy) / count : 0;\n    });\n  }\n  function minBy(collection) {\n    return Ember.computed(`${collection}.[]`, function () {\n      return Math.min.apply(Math, Ember.get(this, collection));\n    });\n  }\n  function maxBy(collection) {\n    return Ember.computed(`${collection}.[]`, function () {\n      return Math.max.apply(Math, Ember.get(this, collection));\n    });\n  }\n  function medianBy(collection) {\n    return Ember.computed(`${collection}.[]`, function () {\n      let c = Ember.get(this, collection);\n      if (!Ember.get(c, 'length')) {\n        return null;\n      }\n      c = c.slice().sort((a, b) => a - b);\n      let lowMiddle = Math.floor((c.length - 1) / 2);\n      let highMiddle = Math.ceil((c.length - 1) / 2);\n      return (c[lowMiddle] + c[highMiddle]) / 2;\n    });\n  }\n\n  /**\r\n   * Component for table-footer cells. Used as column-summary.\r\n   *\r\n   * It yields several properties:\r\n   *\r\n   * * [minSelected](Components.ModelsTableCellColumnSummary.html#property_minSelected) - min of selected items\r\n   * * [maxSelected](Components.ModelsTableCellColumnSummary.html#property_maxSelected) - max of selected items\r\n   * * [sumSelected](Components.ModelsTableCellColumnSummary.html#property_sumSelected) - sum of selected items\r\n   * * [avgSelected](Components.ModelsTableCellColumnSummary.html#property_avgSelected) - average of selected items\r\n   * * [medianSelected](Components.ModelsTableCellColumnSummary.html#property_medianSelected) - median of selected items\r\n   * * [minData](Components.ModelsTableCellColumnSummary.html#property_minData) - min of data\r\n   * * [maxData](Components.ModelsTableCellColumnSummary.html#property_maxData) - max of data\r\n   * * [sumData](Components.ModelsTableCellColumnSummary.html#property_sumData) - sum of data\r\n   * * [avgData](Components.ModelsTableCellColumnSummary.html#property_avgData) - average of data\r\n   * * [medianData](Components.ModelsTableCellColumnSummary.html#property_medianData) - median of data\r\n   *\r\n   * Here `selectedItems` and `data` are bound from `models-table` and are mapped by `column.propertyName`.\r\n   *\r\n   * Component should be used only for column with set `propertyName`.\r\n   *\r\n   * Component should be extended or its template should be overridden.\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableCellColumnSummary\r\n   * @extends Ember.Component\r\n   */\n  let CellColumnSummaryComponent = _exports.default = (_dec = (0, _component.layout)(_cellColumnSummary.default), _dec2 = (0, _component.tagName)('td'), _dec3 = minBy('mappedSelectedItems'), _dec4 = minBy('mappedData'), _dec5 = maxBy('mappedSelectedItems'), _dec6 = maxBy('mappedData'), _dec7 = sumBy('mappedSelectedItems'), _dec8 = sumBy('mappedData'), _dec9 = avgBy('mappedSelectedItems', 'sumSelected'), _dec0 = avgBy('mappedData', 'sumData'), _dec1 = medianBy('mappedSelectedItems'), _dec10 = medianBy('mappedData'), _dec(_class = _dec2(_class = (_class2 = class CellColumnSummaryComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'td'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * `selectedItems.mapBy(column.propertyName)`\r\n       *\r\n       * @property mappedSelectedItems\r\n       * @default []\r\n       * @type array\r\n       */\n      _defineProperty(this, \"mappedSelectedItems\", []);\n      /**\r\n       * `expandedItems.mapBy(column.propertyName)`\r\n       *\r\n       * @property mappedExpandedItems\r\n       * @default []\r\n       * @type array\r\n       */\n      _defineProperty(this, \"mappedExpandedItems\", []);\n      /**\r\n       * `data.mapBy(column.propertyName)`\r\n       *\r\n       * @property mappedData\r\n       * @default []\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"mappedData\", []);\n      /**\r\n       * @property minSelected\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"minSelected\", _descriptor, this);\n      /**\r\n       * @property minData\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"minData\", _descriptor2, this);\n      /**\r\n       * @property maxSelected\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"maxSelected\", _descriptor3, this);\n      /**\r\n       * @property maxData\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"maxData\", _descriptor4, this);\n      /**\r\n       * @property sumSelected\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"sumSelected\", _descriptor5, this);\n      /**\r\n       * @property sumData\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"sumData\", _descriptor6, this);\n      /**\r\n       * @property avgSelected\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"avgSelected\", _descriptor7, this);\n      /**\r\n       * @property avgData\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"avgData\", _descriptor8, this);\n      /**\r\n       * @property medianSelected\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"medianSelected\", _descriptor9, this);\n      /**\r\n       * @property medianData\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"medianData\", _descriptor0, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"minSelected\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"minData\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"maxSelected\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"maxData\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class2.prototype, \"sumSelected\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class2.prototype, \"sumData\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class2.prototype, \"avgSelected\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class2.prototype, \"avgData\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class2.prototype, \"medianSelected\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class2.prototype, \"medianData\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/cell-content-display\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/cell-content-display\"], function (_exports, _component, _cellContentDisplay) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  /**\r\n   * Default cell-component. Used to print property-value (`row` - source, `column.propertyName` - key).\r\n   *\r\n   * Properties and event-handlers from [models-table/cell](Components.ModelsTableCell.html) are bound here\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableCellContentDisplay\r\n   * @extends Ember.Component\r\n   */\n  let CellContentDisplayComponent = _exports.default = (_dec = (0, _component.layout)(_cellContentDisplay.default), _dec(_class = class CellContentDisplayComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @default null\r\n       * @property record\r\n       * @type object\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Row's index where current cell is\r\n       *\r\n       * @property index\r\n       * @default null\r\n       * @type number\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * @property isEditRow\r\n       * @default null\r\n       * @protected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isEditRow\", null);\n      /**\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *\r\n       * @event editRow\r\n       */\n      _defineProperty(this, \"editRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.saveRow](Components.ModelsTableRow.html#event_saveRow)\r\n       *\r\n       * @event saveRow\r\n       */\n      _defineProperty(this, \"saveRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *\r\n       * @event cancelEditRow\r\n       */\n      _defineProperty(this, \"cancelEditRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is current row expanded or not\r\n       *\r\n       * @default null\r\n       * @property isExpanded\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isExpanded\", null);\n      /**\r\n       * Is current row selected or not\r\n       *\r\n       * @default null\r\n       * @property isSelected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isSelected\", null);\n      /**\r\n       * @property isColumnEditable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isColumnEditable\", false);\n    }\n    init() {\n      if (this.themeInstance) {\n        Ember.set(this, 'tagName', this.themeInstance.cellContentTagName);\n      }\n      super.init(...arguments);\n    }\n  }) || _class);\n});","define(\"ember-models-table/components/models-table/cell-content-edit\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/cell-content-edit\"], function (_exports, _component, _cellContentEdit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  /**\r\n   * Component for cells in the edit-mode.\r\n   *\r\n   * Properties and event-handlers from [models-table/cell](Components.ModelsTableCell.html) are bound here\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableCellContentEdit\r\n   * @extends Ember.Component\r\n   */\n  let CellContentEditComponent = _exports.default = (_dec = (0, _component.layout)(_cellContentEdit.default), _dec(_class = class CellContentEditComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @default null\r\n       * @property record\r\n       * @type object\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Row's index where current cell is\r\n       *\r\n       * @property index\r\n       * @default null\r\n       * @type number\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * @property isEditRow\r\n       * @default null\r\n       * @protected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isEditRow\", null);\n      /**\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *\r\n       * @event editRow\r\n       */\n      _defineProperty(this, \"editRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.saveRow](Components.ModelsTableRow.html#event_saveRow)\r\n       *\r\n       * @event saveRow\r\n       */\n      _defineProperty(this, \"saveRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *\r\n       * @event cancelEditRow\r\n       */\n      _defineProperty(this, \"cancelEditRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is current row expanded or not\r\n       *\r\n       * @default null\r\n       * @property isExpanded\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isExpanded\", null);\n      /**\r\n       * Is current row selected or not\r\n       *\r\n       * @default null\r\n       * @property isSelected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isSelected\", null);\n      /**\r\n       * @property isColumnEditable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isColumnEditable\", false);\n    }\n    init() {\n      if (this.themeInstance) {\n        Ember.set(this, 'tagName', this.themeInstance.cellContentTagName);\n      }\n      super.init(...arguments);\n    }\n  }) || _class);\n});","define(\"ember-models-table/components/models-table/cell-edit-toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/cell-edit-toggle\"], function (_exports, _component, _cellEditToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\r\n   * Component for cells used as toggle for edit-mode.\r\n   *\r\n   * Properties and event-handlers from [models-table/cell](Components.ModelsTableCell.html) are bound here\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @columnComponents={{hash\r\n   *     editRow=(component\r\n   *       \"models-table/cell-edit-toggle\"\r\n   *       saveRowAction=(action \"onSaveRow\")\r\n   *       cancelRowAction=(action \"onCancelRow\")\r\n   *   )}}\r\n   * />\r\n   * ```\r\n   *\r\n   * ```js\r\n   * import Controller from '@ember/controller';\r\n   * import {action} from '@ember/object';\r\n   *\r\n   * export default class InLineEditController extends Controller {\r\n   *\r\n   *   data = [];\r\n   *\r\n   *   columns = [\r\n   *     {propertyName: 'firstName'},\r\n   *     {propertyName: 'lastName'},\r\n   *     {\r\n   *       title: 'Edit',\r\n   *       component: 'editRow',\r\n   *       editable: false // <--- IMPORTANT\r\n   *     }\r\n   *   ];\r\n   *\r\n   *   @action\r\n   *   onSaveRow(param) {\r\n   *     return param.record.save();\r\n   *   }\r\n   *\r\n   *   @action\r\n   *   onCancelRow({record}) {\r\n   *     record.rollbackAttributes();\r\n   *     return true;\r\n   *   }\r\n   * }\r\n   * ```\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableCellEditToggle\r\n   * @extends Ember.Component\r\n   */\n  let CellEditToggleComponent = _exports.default = (_dec = (0, _component.layout)(_cellEditToggle.default), _dec2 = Ember.computed.alias('themeInstance.editRowButtonLabelMsg'), _dec3 = Ember.computed.alias('themeInstance.cancelRowButtonLabelMsg'), _dec4 = Ember.computed.alias('themeInstance.saveRowButtonLabelMsg'), _dec5 = Ember._action, _dec6 = Ember._action, _dec7 = Ember._action, _dec(_class = (_class2 = class CellEditToggleComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Closure action sent on Edit Button being clicked\r\n       *\r\n       * Action will send one parameter - object with fields:\r\n       *\r\n       * * `record` - The record to be edited\r\n       *\r\n       * @event editRowAction\r\n       * @return Must return a truthy value to allow the row to enter the Edit state. May return a Promise.\r\n       */\n      _defineProperty(this, \"editRowAction\", null);\n      /**\r\n       * Closure action sent on Save Button being clicked\r\n       *\r\n       * Action will send one parameter - object with fields:\r\n       *\r\n       * * `record` - The record to be saved\r\n       *\r\n       * @event saveRowAction\r\n       * @return Must return a truthy value to allow the row to exit the Edit state. May return a Promise.\r\n       */\n      _defineProperty(this, \"saveRowAction\", null);\n      /**\r\n       * Closure action sent on Cancel Button being clicked\r\n       *\r\n       * Action will send one parameter - object with fields:\r\n       *\r\n       * * `record` - The record currently being edited\r\n       *\r\n       * @event cancelRowAction\r\n       * @return Must return a truthy value to allow the row to exit the Edit state. May return a Promise.\r\n       */\n      _defineProperty(this, \"cancelRowAction\", null);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @default null\r\n       * @property record\r\n       * @type object\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Row's index where current cell is\r\n       *\r\n       * @property index\r\n       * @default null\r\n       * @type number\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * @property isEditRow\r\n       * @default null\r\n       * @protected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isEditRow\", null);\n      /**\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *\r\n       * @event editRow\r\n       */\n      _defineProperty(this, \"editRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.saveRow](Components.ModelsTableRow.html#event_saveRow)\r\n       *\r\n       * @event saveRow\r\n       */\n      _defineProperty(this, \"saveRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *\r\n       * @event cancelEditRow\r\n       */\n      _defineProperty(this, \"cancelEditRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is current row expanded or not\r\n       *\r\n       * @default null\r\n       * @property isExpanded\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isExpanded\", null);\n      /**\r\n       * Is current row selected or not\r\n       *\r\n       * @default null\r\n       * @property isSelected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isSelected\", null);\n      /**\r\n       * @property isColumnEditable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isColumnEditable\", false);\n      /**\r\n       * The label for the Edit Button\r\n       *\r\n       * @property editButtonLabel\r\n       * @type string\r\n       * @default themeInstance.editRowButtonLabelMsg\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"editButtonLabel\", _descriptor, this);\n      /**\r\n       * The label for the Cancel Button\r\n       *\r\n       * @property cancelButtonLabel\r\n       * @type string\r\n       * @default themeInstance.cancelRowButtonLabelMsg\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"cancelButtonLabel\", _descriptor2, this);\n      /**\r\n       * The label for the Save Button\r\n       *\r\n       * @property saveButtonLabel\r\n       * @type string\r\n       * @default themeInstance.saveRowButtonLabelMsg\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"saveButtonLabel\", _descriptor3, this);\n    }\n    click(event) {\n      event.stopPropagation();\n    }\n\n    /**\r\n     * Fires when \"Save\" button is clicked. Edit-mode for row is turned off\r\n     *\r\n     * @event saveClicked\r\n     * @protected\r\n     */\n    saveClicked() {\n      let actionResult = true;\n      if (this.saveRowAction) {\n        actionResult = this.saveRowAction({\n          record: this.record\n        });\n      }\n      Ember.RSVP.resolve(actionResult).then(result => {\n        if (result) {\n          this.saveRow();\n        }\n      });\n    }\n\n    /**\r\n     * Fires when \"Edit\" button is clicked. Edit-mode for row is turned on\r\n     *\r\n     * @event editClicked\r\n     * @protected\r\n     */\n    editClicked() {\n      let actionResult = true;\n      if (this.editRowAction) {\n        actionResult = this.editRowAction({\n          record: this.record\n        });\n      }\n      Ember.RSVP.resolve(actionResult).then(result => {\n        if (result) {\n          this.editRow();\n        }\n      });\n    }\n\n    /**\r\n     * Fires when \"Cancel Edit\" button is clicked. Edit-mode for row is turned off\r\n     *\r\n     * @event cancelClicked\r\n     * @protected\r\n     */\n    cancelClicked() {\n      let actionResult = true;\n      if (this.cancelRowAction) {\n        actionResult = this.cancelRowAction({\n          record: this.record\n        });\n      }\n      Ember.RSVP.resolve(actionResult).then(result => {\n        if (result) {\n          this.cancelEditRow();\n        }\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"editButtonLabel\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"cancelButtonLabel\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"saveButtonLabel\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"saveClicked\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveClicked\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"editClicked\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"editClicked\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelClicked\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelClicked\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/cell\"], function (_exports, _component, _cell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _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  /**\r\n   * Table cell used within [models-table/table-row](Components.ModelsTableTableRow.html).\r\n   *\r\n   * Cell types:\r\n   *\r\n   * * Text. Shows some property value\r\n   * * Route link with record id\r\n   * * Route link with record property value\r\n   * * Custom component\r\n   *\r\n   * See properties [routeName](Utils.ModelsTableColumn.html#property_routeName), [propertyName](Utils.ModelsTableColumn.html#property_propertyName), [component](Utils.ModelsTableColumn.html#property_component) for ModelsTableColumn.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#each MT.visibleContent as |record index|}}\r\n   *         <Body.Row @record={{record}} @index={{index}} as |Row|>\r\n   *           {{#each MT.visibleProcessedColumns as |column|}}\r\n   *             <Row.Cell @column={{column}} @index={{index}} as |Cell|/>\r\n   *               {{#if Cell.componentToRender}}\r\n   *                 {{component Cell.componentToRender record=Cell.record column=column index=index}}\r\n   *               {{/if}}\r\n   *               {{! ... }}\r\n   *             </Row.Cell>\r\n   *           {{/each}}\r\n   *         </Body.Row>\r\n   *       {{/each}}\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableCell\r\n   * @extends Ember.Component\r\n   */\n  let CellComponent = _exports.default = (_dec = (0, _component.layout)(_cell.default), _dec2 = (0, _component.tagName)('td'), _dec3 = Ember.computed.alias('column.className'), _dec4 = Ember.computed('column.editable', 'isEditRow'), _dec5 = Ember.computed('column.{component,componentForEdit,propertyName}', 'isColumnEditable', 'isEditRow', 'themeInstance.{cellContentDisplayComponent,cellContentEditComponent}'), _dec(_class = _dec2(_class = (_class2 = class CellComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'td'\r\n       */\n      /**\r\n       * @property columnClassName\r\n       * @type string\r\n       * @default ''\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"columnClassName\", _descriptor, this);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @default null\r\n       * @property record\r\n       * @type object\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Row's index where current cell is\r\n       *\r\n       * @property index\r\n       * @default null\r\n       * @type number\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * @property isEditRow\r\n       * @default null\r\n       * @protected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isEditRow\", null);\n      /**\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *\r\n       * @event editRow\r\n       */\n      _defineProperty(this, \"editRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.saveRow](Components.ModelsTableRow.html#event_saveRow)\r\n       *\r\n       * @event saveRow\r\n       */\n      _defineProperty(this, \"saveRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *\r\n       * @event cancelEditRow\r\n       */\n      _defineProperty(this, \"cancelEditRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is current row expanded or not\r\n       *\r\n       * @default null\r\n       * @property isExpanded\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isExpanded\", null);\n      /**\r\n       * Is current row selected or not\r\n       *\r\n       * @default null\r\n       * @property isSelected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isSelected\", null);\n    }\n    /**\r\n     * Is this column editable\r\n     *\r\n     * @protected\r\n     * @property isColumnEditable\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get isColumnEditable() {\n      let isEditable = this.isEditRow;\n      if (isEditable === true) {\n        let columnEditable = this.column.editable;\n        if (typeof columnEditable === 'function') {\n          isEditable = columnEditable() || false;\n        } else if (columnEditable === false) {\n          isEditable = false;\n        }\n      }\n      return isEditable;\n    }\n\n    /**\r\n     * Given the mode for a cell (Edit or not) will determine which component to render\r\n     *\r\n     * @property componentToRender\r\n     * @default null\r\n     * @type ?string\r\n     * @protected\r\n     */\n    get componentToRender() {\n      if (Ember.isNone(this.column.propertyName)) {\n        return undefined;\n      }\n      let editComponent = undefined;\n      if (this.isColumnEditable) {\n        editComponent = this.column.componentForEdit;\n        editComponent = Ember.isPresent(editComponent) ? editComponent : this.themeInstance.cellContentEditComponent;\n      }\n      let cellDisplayComponent = this.column.component || this.themeInstance.cellContentDisplayComponent;\n      return editComponent || cellDisplayComponent;\n    }\n    click(e) {\n      if (this.isEditRow) {\n        e.stopPropagation();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"columnClassName\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"isColumnEditable\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"isColumnEditable\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"componentToRender\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"componentToRender\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/columns-dropdown\"], function (_exports, _component, _columnsDropdown) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2;\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  /**\r\n   * Dropdown with list of table's columns used within [models-table](Components.ModelsTable.html).\r\n   *\r\n   * It allows to toggle visibility for column sets or single column.\r\n   *\r\n   * Columns that should not be hidden must have property [mayBeHidden](Utils.ModelsTableColumn.html#property_mayBeHidden) set to `false`.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.ColumnsDropdown />\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.ColumnsDropdown as |CD|>\r\n   *     {{#if MT.columnDropdownOptions.showAll}}\r\n   *       <button {{action MT.showAllColumns}}>Show all</button>\r\n   *     {{/if}}\r\n   *     {{#if MT.columnDropdownOptions.hideAll}}\r\n   *       <button {{action MT.hideAllColumns}}>Hide all</button>\r\n   *     {{/if}}\r\n   *     {{#if MT.columnDropdownOptions.restoreDefaults}}\r\n   *       <button {{action MT.restoreDefaultVisibility}}>Restore default visibility</button>\r\n   *     {{/if}}\r\n   *     {{#each MT.columnDropdownOptions.columnSets as |columnSet|}}\r\n   *       <button {{action MT.toggleColumnSetVisibility columnSet}}>{{columnSet.label}}</button>\r\n   *     {{/each}}\r\n   *     {{#each MT.processedColumns as |column|}}\r\n   *       {{#if column.mayBeHidden}}\r\n   *         <button {{action MT.toggleHidden column}}>\r\n   *           <i class={{if column.toggleColumnVisibility MT.themeInstance.columnVisibleIcon MT.themeInstance.columnHiddenIcon}}></i>\r\n   *           {{column.title}}\r\n   *         </button>\r\n   *       {{/if}}\r\n   *     {{/each}}\r\n   *   </MT.ColumnsDropdown>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableColumnsDropdown\r\n   * @extends Ember.Component\r\n   */\n  let ColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown.default), _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec(_class = (_class2 = class ColumnsDropdownComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Bound from [ModelsTable.processedColumns](Components.ModelsTable.html#property_processedColumns)\r\n       *\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"processedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.columnDropdownOptions](Components.ModelsTable.html#property_columnDropdownOptions)\r\n       *\r\n       * @property columnDropdownOptions\r\n       * @type ColumnDropdownOptions\r\n       * @default null\r\n       */\n      _defineProperty(this, \"columnDropdownOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.showAllColumns](Components.ModelsTable.html#event_showAllColumns)\r\n       *\r\n       * @event showAllColumns\r\n       */\n      _defineProperty(this, \"showAllColumns\", null);\n      /**\r\n       * Closure action [ModelsTable.hideAllColumns](Components.ModelsTable.html#event_hideAllColumns)\r\n       *\r\n       * @event hideAllColumns\r\n       */\n      _defineProperty(this, \"hideAllColumns\", null);\n      /**\r\n       * Closure action [ModelsTable.restoreDefaultVisibility](Components.ModelsTable.html#event_restoreDefaultVisibility)\r\n       *\r\n       * @event restoreDefaultVisibility\r\n       */\n      _defineProperty(this, \"restoreDefaultVisibility\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleColumnSet](Components.ModelsTable.html#event_toggleColumnSet)\r\n       *\r\n       * @event toggleColumnSet\r\n       */\n      _defineProperty(this, \"toggleColumnSet\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleHidden](Components.ModelsTable.html#event_toggleHidden)\r\n       *\r\n       * @event toggleHidden\r\n       */\n      _defineProperty(this, \"toggleHidden\", null);\n    }\n    /**\r\n     * @event doShowAllColumns\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doShowAllColumns(e) {\n      this.showAllColumns();\n      if (e) {\n        e.stopPropagation();\n      }\n      return false;\n    }\n\n    /**\r\n     * @event doHideAllColumns\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doHideAllColumns(e) {\n      this.hideAllColumns();\n      if (e) {\n        e.stopPropagation();\n      }\n      return false;\n    }\n\n    /**\r\n     * @event doRestoreDefaultVisibility\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doRestoreDefaultVisibility(e) {\n      this.restoreDefaultVisibility();\n      if (e) {\n        e.stopPropagation();\n      }\n      return false;\n    }\n\n    /**\r\n     * @event doToggleColumnSet\r\n     * @param {ColumnSet} columnSet\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doToggleColumnSet(columnSet, e) {\n      this.toggleColumnSet(columnSet);\n      if (e) {\n        e.stopPropagation();\n      }\n      return false;\n    }\n\n    /**\r\n     * @event doToggleHidden\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doToggleHidden(column, e) {\n      this.toggleHidden(column);\n      if (e) {\n        e.stopPropagation();\n      }\n      return false;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doShowAllColumns\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doShowAllColumns\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doHideAllColumns\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"doHideAllColumns\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doRestoreDefaultVisibility\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"doRestoreDefaultVisibility\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doToggleColumnSet\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleColumnSet\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doToggleHidden\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleHidden\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/columns-hidden\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/columns-hidden\"], function (_exports, _component, _columnsHidden) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _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  /**\r\n   * Table row used within [models-table/table-body](Components.ModelsTableTableBody.html).\r\n   *\r\n   * Component used when all columns are hidden and no data items are shown. Usually it contains a simple message.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#if Body.allColumnsAreHidden}}\r\n   *         <Body.ColumnsHidden as |CH|>\r\n   *           Any message here\r\n   *         </Body.ColumnsHidden>\r\n   *       {{else}}\r\n   *         {{! ... }}\r\n   *       {{/if}}\r\n   *     </Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @class ModelsTableColumnsHidden\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let ColumnsHiddenComponent = _exports.default = (_dec = (0, _component.layout)(_columnsHidden.default), _dec2 = (0, _component.tagName)('tr'), _dec(_class = _dec2(_class = class ColumnsHiddenComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.columnsCount](Components.ModelsTableTable.html#property_columnsCount)\r\n       *\r\n       * @property columnsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"columnsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n  }) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/data-group-by-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/data-group-by-select\"], function (_exports, _component, _dataGroupBySelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _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  /**\r\n   * Dropdown to select property for table-rows grouping\r\n   *\r\n   * Also component allows to select sort order for property used for grouping\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @useDataGrouping={{true}}\r\n   *   @currentGroupingPropertyName=\"firstName\"\r\n   *   @displayGroupedValueAs=\"column\"\r\n   *   @dataGroupProperties={{dataGroupProperties}} as |MT|>\r\n   *   <MT.DataGroupBySelect />\r\n   *   {{! ... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @useDataGrouping={{true}}\r\n   *   @currentGroupingPropertyName=\"firstName\"\r\n   *   @displayGroupedValueAs=\"column\"\r\n   *   @dataGroupProperties={{dataGroupProperties}} as |MT|>\r\n   *   <MT.DataGroupBySelect as |DGBS|>\r\n   *     <label>{{MT.themeInstance.groupByLabelMsg}}</label>\r\n   *     <DGBS.Select />\r\n   *     <button\r\n   *       class={{MT.themeInstance.sortGroupedPropertyBtn}}\r\n   *       onclick={{action DGBS.sort}}>\r\n   *       <i class={{if\r\n   *        (is-equal MT.sortByGroupedFieldDirection \"asc\")\r\n   *        MT.themeInstance.sortAscIcon\r\n   *        MT.themeInstance.sortDescIcon}}>\r\n   *       </i>\r\n   *     </button>\r\n   *   </MT.DataGroupBySelect>\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * References to the following actions are yielded:\r\n   *\r\n   * * [sort](Components.ModelsTableDataGroupBySelect.html#event_doSort) - do sort by property name used to group rows\r\n   *\r\n   * @class ModelsTableDataGroupBySelect\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let DataGroupBySelectComponent = _exports.default = (_dec = (0, _component.layout)(_dataGroupBySelect.default), _dec2 = Ember.computed.alias('themeInstance.dataGroupBySelectWrapper'), _dec3 = Ember._action, _dec4 = Ember._action, _dec(_class = (_class2 = class DataGroupBySelectComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property dataGroupBySelectWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"dataGroupBySelectWrapper\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property value\r\n       * @type string|number|boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"value\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.dataGroupOptions](Components.ModelsTable.html#property_dataGroupOptions)\r\n       *\r\n       * @property options\r\n       * @default null\r\n       * @type SelectOption[]\r\n       */\n      _defineProperty(this, \"options\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.sortByGroupedFieldDirection](Components.ModelsTable.html#property_sortByGroupedFieldDirection)\r\n       *\r\n       * @property sortByGroupedFieldDirection\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"sortByGroupedFieldDirection\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n    }\n    /**\r\n     * @event doSort\r\n     * @protected\r\n     */\n    doSort() {\n      this.sort({\n        propertyName: this.currentGroupingPropertyName\n      });\n    }\n\n    /**\r\n     * @event noop\r\n     * @protected\r\n     */\n    noop() {}\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"dataGroupBySelectWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"doSort\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSort\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noop\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"noop\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/expand-all-toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/expand-all-toggle\"], function (_exports, _component, _expandAllToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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  /**\r\n   * Component to expand or collapse all rows\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```js\r\n   * const columns = [\r\n   *   {\r\n   *     component: 'models-table/expand-toggle',\r\n   *     componentForFilterCell: 'models-table/expand-all-toggle',\r\n   *     mayBeHidden: false\r\n   *   },\r\n   *   {propertyName: 'firstName'},\r\n   *   {propertyName: 'lastName'}\r\n   * ];\r\n   *\r\n   * const data = [ ... ];\r\n   * ```\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @multipleExpand={{true}}\r\n   *   @expandedRowComponent={{component \"path/to/your-component\"}}\r\n   * />\r\n   * ```\r\n   *\r\n   * @class ModelsTableExpandAllToggle\r\n   * @extends Ember.Component\r\n   * @namespace Components\r\n   */\n  let ExpandAllToggleComponent = _exports.default = (_dec = (0, _component.layout)(_expandAllToggle.default), _dec2 = Ember._action, _dec3 = Ember._action, _dec(_class = (_class2 = class ExpandAllToggleComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property column\r\n       * @type Utils.ModelsTableColumn\r\n       * @default null\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n    }\n    /**\r\n     * @event doCollapseAllRows\r\n     * @protected\r\n     */\n    doCollapseAllRows() {\n      this.collapseAllRows();\n      return false;\n    }\n\n    /**\r\n     * @event doExpandAllRows\r\n     * @protected\r\n     */\n    doExpandAllRows() {\n      this.expandAllRows();\n      return false;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doCollapseAllRows\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doCollapseAllRows\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doExpandAllRows\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"doExpandAllRows\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/expand-toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/expand-toggle\"], function (_exports, _component, _expandToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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  /**\r\n   * Component to expand or collapse any single row\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```js\r\n   * const columns = [\r\n   *   {\r\n   *     component: 'models-table/expand-toggle',\r\n   *     mayBeHidden: false\r\n   *   },\r\n   *   {propertyName: 'firstName'},\r\n   *   {propertyName: 'lastName'}\r\n   * ];\r\n   *\r\n   * const data = [ ... ];\r\n   * ```\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @expandedRowComponent={{component \"path/to/your-component\"}}\r\n   * />\r\n   * ```\r\n   *\r\n   * @class ModelsTableExpandToggle\r\n   * @extends Ember.Component\r\n   * @namespace Components\r\n   */\n  let ExpandToggleComponent = _exports.default = (_dec = (0, _component.layout)(_expandToggle.default), _dec2 = Ember._action, _dec3 = Ember._action, _dec(_class = (_class2 = class ExpandToggleComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @default null\r\n       * @property record\r\n       * @type object\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Row's index where current cell is\r\n       *\r\n       * @property index\r\n       * @default null\r\n       * @type number\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * @property isEditRow\r\n       * @default null\r\n       * @protected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isEditRow\", null);\n      /**\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *\r\n       * @event editRow\r\n       */\n      _defineProperty(this, \"editRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.saveRow](Components.ModelsTableRow.html#event_saveRow)\r\n       *\r\n       * @event saveRow\r\n       */\n      _defineProperty(this, \"saveRow\", null);\n      /**\r\n       * Closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *\r\n       * @event cancelEditRow\r\n       */\n      _defineProperty(this, \"cancelEditRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is current row expanded or not\r\n       *\r\n       * @default null\r\n       * @property isExpanded\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isExpanded\", null);\n      /**\r\n       * Is current row selected or not\r\n       *\r\n       * @default null\r\n       * @property isSelected\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"isSelected\", null);\n      /**\r\n       * @property isColumnEditable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isColumnEditable\", false);\n    }\n    /**\r\n     * @event doCollapseRow\r\n     * @param {number} index\r\n     * @param {object} record\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doCollapseRow(index, record, e) {\n      this.collapseRow(index, record);\n      e.stopPropagation();\n      return false;\n    }\n\n    /**\r\n     * @event doExpandRow\r\n     * @param {number} index\r\n     * @param {object} record\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doExpandRow(index, record, e) {\n      this.expandRow(index, record);\n      e.stopPropagation();\n      return false;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doCollapseRow\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doCollapseRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doExpandRow\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"doExpandRow\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/footer\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/footer\"], function (_exports, _component, _footer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _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  /**\r\n   * Footer block used within [models-table](Components.ModelsTable.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer />\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage example with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.Summary />\r\n   *     <Footer.PageSizeSelect />\r\n   *     {{#if useNumericPagination}}\r\n   *       <Footer.PaginationNumeric />\r\n   *     {{else}}\r\n   *       <Footer.PaginationSimple />\r\n   *     {{/if}}\r\n   *   </MT.Footer>\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableFooter yields references to the following contextual components:\r\n   *\r\n   * * [models-table/summary](Components.ModelsTableSummary.html) - component with summary info about table data. It also contains button to clear all filters applied to the table\r\n   * * [models-table/size-select](Components.ModelsTableSizeSelect.html) - component with a page sizes dropdown. It allows to select number if records shown on page\r\n   * * [models-table/pagination-numeric](Components.ModelsTablePaginationNumeric.html) - component with a table navigation. It allows to move to the page by its number\r\n   * * [models-table/pagination-simple](Components.ModelsTablePaginationSimple.html) - component with a table navigation. It allows to move to the first, last, prev and next pages (this four buttons are shown always)\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * @class ModelsTableFooter\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let FooterComponent = _exports.default = (_dec = (0, _component.layout)(_footer.default), _dec2 = Ember.computed.alias('themeInstance.tfooterInternalWrapper'), _dec(_class = (_class2 = class FooterComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tfooterInternalWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"tfooterInternalWrapper\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.collapseNumPaginationForPagesCount](Components.ModelsTable.html#property_collapseNumPaginationForPagesCount)\r\n       *\r\n       * @property collapseNumPaginationForPagesCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"collapseNumPaginationForPagesCount\", null);\n      /**\r\n       * Bound from [ModelsTable.firstIndex](Components.ModelsTable.html#property_firstIndex)\r\n       *\r\n       * @property firstIndex\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"firstIndex\", null);\n      /**\r\n       * Bound from [ModelsTable.lastIndex](Components.ModelsTable.html#property_lastIndex)\r\n       *\r\n       * @property lastIndex\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"lastIndex\", null);\n      /**\r\n       * @property recordsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"recordsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.anyFilterUsed](Components.ModelsTable.html#property_anyFilterUsed)\r\n       *\r\n       * @default null\r\n       * @property anyFilterUsed\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"anyFilterUsed\", null);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumberOptions](Components.ModelsTable.html#property_currentPageNumberOptions)\r\n       *\r\n       * @property currentPageNumberOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentPageNumberOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.pageSizeOptions](Components.ModelsTable.html#property_pageSizeOptions)\r\n       *\r\n       * @property pageSizeOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"pageSizeOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.pageSize](Components.ModelsTable.html#property_pageSize)\r\n       *\r\n       * @property pageSize\r\n       * @type number\r\n       * @default 10\r\n       */\n      _defineProperty(this, \"pageSize\", 10);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumber](Components.ModelsTable.html#property_currentPageNumber)\r\n       *\r\n       * @property currentPageNumber\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"currentPageNumber\", 1);\n      /**\r\n       * Bound from [ModelsTable.showCurrentPageNumberSelect](Components.ModelsTable.html#property_showCurrentPageNumberSelect)\r\n       *\r\n       * @property showCurrentPageNumberSelect\r\n       * @default null\r\n       * @type boolean\r\n       */\n      _defineProperty(this, \"showCurrentPageNumberSelect\", null);\n      /**\r\n       * Bound from [ModelsTable.pagesCount](Components.ModelsTable.html#property_pagesCount)\r\n       *\r\n       * @property pagesCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"pagesCount\", null);\n      /**\r\n       * Bound from [ModelsTable.showPageSize](Components.ModelsTable.html#property_showPageSize)\r\n       *\r\n       * @property showPageSize\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"showPageSize\", null);\n      /**\r\n       * Bound from [ModelsTable.useNumericPagination](Components.ModelsTable.html#property_useNumericPagination)\r\n       *\r\n       * @property useNumericPagination\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useNumericPagination\", null);\n      /**\r\n       * Closure action [ModelsTable.goToPage](Components.ModelsTable.html#event_goToPage)\r\n       *\r\n       * @event goToPage\r\n       */\n      _defineProperty(this, \"goToPage\", null);\n      /**\r\n       * Closure action [ModelsTable.clearFilters](Components.ModelsTable.html#event_clearFilters)\r\n       *\r\n       * @event clearFilters\r\n       */\n      _defineProperty(this, \"clearFilters\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"tfooterInternalWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/global-filter\"], function (_exports, _component, _globalFilter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _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  /**\r\n   * Global filter element used within [models-table](Components.ModelsTable.html).\r\n   *\r\n   * Its value is used for all data-items and for each columns `propertyName`.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.GlobalFilter />\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.GlobalFilter>\r\n   *     {{input value=MT.globalFilter}}\r\n   *     <button disabled={{if MT.globalFilterUsed \"disabled\"}} {{action (mut MT.globalFilter) \"\"}}>\r\n   *       Clear Global Filter\r\n   *     </button>\r\n   *   </MT.GlobalFilter>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableGlobalFilter\r\n   * @extends Ember.Component\r\n   */\n  let GlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter.default), _dec2 = Ember.computed.alias('themeInstance.globalFilterWrapper'), _dec3 = Ember.computed('elementId'), _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _dec(_class = (_class2 = class GlobalFilterComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property globalFilterWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"globalFilterWrapper\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.filterString](Components.ModelsTable.html#property_filterString)\r\n       *\r\n       * @property value\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"value\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.globalFilterUsed](Components.ModelsTable.html#property_globalFilterUsed)\r\n       *\r\n       * @property globalFilterUsed\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"globalFilterUsed\", null);\n    }\n    /**\r\n     * @property inputId\r\n     * @type string\r\n     * @private\r\n     */\n    get inputId() {\n      return `${this.elementId}-global-filter`;\n    }\n\n    /**\r\n     * @event noop\r\n     * @protected\r\n     */\n    noop() {}\n\n    /**\r\n     * @event updateGlobalFilterString\r\n     * @protected\r\n     * @param {Event} e\r\n     */\n    updateGlobalFilterString(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      Ember.set(this, 'value', e.target.value);\n      return false;\n    }\n\n    /**\r\n     * @event clearGlobalFilter\r\n     * @protected\r\n     * @param {Event} e\r\n     */\n    clearGlobalFilter(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      Ember.set(this, 'value', '');\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"globalFilterWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noop\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"noop\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateGlobalFilterString\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateGlobalFilterString\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"clearGlobalFilter\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"clearGlobalFilter\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/group-summary-row\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/group-summary-row\"], function (_exports, _component, _groupSummaryRow) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2;\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  /**\r\n   * @class ModelsTableGroupSummaryRow\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let GroupSummaryRowComponent = _exports.default = (_dec = (0, _component.layout)(_groupSummaryRow.default), _dec2 = (0, _component.classNames)('group-summary-row'), _dec3 = (0, _component.tagName)('tr'), _dec4 = Ember.computed.intersect('selectedItems', 'groupedItems'), _dec5 = Ember.computed.intersect('expandedItems', 'groupedItems'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class GroupSummaryRowComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedItems](Components.ModelsTable.html#property_groupedItems)\r\n       *\r\n       * @property groupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedItems\", null);\n      /**\r\n       * @property visibleGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleGroupedItems\", null);\n      /**\r\n       * @property selectedGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"selectedGroupedItems\", _descriptor, this);\n      /**\r\n       * @property expandedGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"expandedGroupedItems\", _descriptor2, this);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"selectedGroupedItems\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"expandedGroupedItems\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/grouped-header\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/grouped-header\"], function (_exports, _component, _groupedHeader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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  /**\r\n   * Table header item used within [models-table/table-header](Components.ModelsTableTableHeader.html).\r\n   *\r\n   * Each `grouped-header` should represent one item from [ModelsTable.groupedHeaders](Components.ModelsTable.html#property_groupedHeaders).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```js\r\n   * const groupedHeaders = [\r\n   *   [{title: 'BigTitle', colspan: 5}],\r\n   *   [{title: 'SubTitle1', colspan: 2}, {title: 'SubTitle2', colspan: 3}]\r\n   * ];\r\n   * ```\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @columns={{columns}}\r\n   *   @data={{data}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       {{#each groupedHeaders as |groupedHeader|}}\r\n   *         <Header.GroupedHeader @groupedHeader={{groupedHeader}} as |GroupedHeader|>\r\n   *           {{#each GroupedHeader.groupedHeader as |cell|}}\r\n   *             <th colspan={{cell.colspan}} rowspan={{cell.rowspan}}>{{cell.title}}</th>\r\n   *           {{/each}}\r\n   *         </Header.GroupedHeader>\r\n   *       {{/each}}\r\n   *     </Table.Header>\r\n   *   </MT.Table>\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @class ModelsTableGroupedHeader\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let GroupedHeaderComponent = _exports.default = (_dec = (0, _component.layout)(_groupedHeader.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = Ember.computed('displayGroupedValueAs', 'useDataGrouping', 'visibleProcessedColumns.[]'), _dec(_class = _dec2(_class = (_class2 = class GroupedHeaderComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * One of the [ModelsTable.groupedHeaders](Components.ModelsTable.html#property_groupedHeaders)\r\n       *\r\n       * @property groupedHeader\r\n       * @type GroupedHeader[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedHeader\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @default null\r\n       * @type object\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @default null\r\n       * @type string\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @default null\r\n       * @type {Utils.ModelsTableColumn[]}\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n    }\n    /**\r\n     * @property shouldAddExtraColumn\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get shouldAddExtraColumn() {\n      return this.displayGroupedValueAs === 'column' && this.useDataGrouping && !!this.visibleProcessedColumns.length;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"shouldAddExtraColumn\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldAddExtraColumn\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/no-data\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/no-data\"], function (_exports, _component, _noData) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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  /**\r\n   * Table row shown when no data provided to the ModelsTable. Component used within [models-table/table-body](Components.ModelsTableTableBody.html).\r\n   *\r\n   * This component is a table-row with a single cell. This cell has a `colspan` equal to the shown columns count.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#if Body.visibleContent.length}}\r\n   *         {{! ... }}\r\n   *       {{else}}\r\n   *         <Body.NoData />\r\n   *       {{/if}}\r\n   *     </Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#if Body.visibleContent.length}}\r\n   *         {{! ... }}\r\n   *       {{else}}\r\n   *         <Body.NoData as |ND|>\r\n   *           Any message here\r\n   *         </Body.NoData>\r\n   *       {{/if}}\r\n   *     </table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @class ModelsTableNoData\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let NoDataComponent = _exports.default = (_dec = (0, _component.layout)(_noData.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = Ember.computed('columnsCount', 'displayGroupedValueAs'), _dec(_class = _dec2(_class = (_class2 = class NoDataComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Equal to [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns).length\r\n       *\r\n       * @property columnsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"columnsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n    /**\r\n     * @property tagName\r\n     * @type string\r\n     * @default 'tr'\r\n     */\n\n    /**\r\n     * @property realColumnsCount\r\n     * @type number\r\n     * @protected\r\n     */\n    get realColumnsCount() {\n      return this.columnsCount + (this.displayGroupedValueAs === 'column' ? 1 : 0);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"realColumnsCount\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"realColumnsCount\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/page-size-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/page-size-select\"], function (_exports, _component, _pageSizeSelect) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _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  /**\r\n   * Dropdown with page size values used within [models-table/footer](Components.ModelsTableFooter.html).\r\n   *\r\n   * Value from [ModelsTable.pageSizeOptions](Components.ModelsTable.html#property_pageSizeOptions) is used as a list of dropdown-options.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PageSizeSelect />\r\n   *     {{! ... }}\r\n   *   </MT.Footer>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PageSizeSelect as |SizeSelectBlock|>\r\n   *       <SizeSelectBlock.Select />\r\n   *     </Footer.PageSizeSelect>\r\n   *   </MT.Footer>\r\n   * </ModelsTable>\r\n   * ```\r\n   * ModelsTablePageSizeSelect yields references to the following contextual components:\r\n   *\r\n   * * Select - selectbox with list of available page size options\r\n   *\r\n   * @class ModelsTablePageSizeSelect\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let PageSizeSelectComponent = _exports.default = (_dec = (0, _component.layout)(_pageSizeSelect.default), _dec2 = Ember.computed.alias('themeInstance.pageSizeWrapper'), _dec3 = Ember.computed('elementId'), _dec(_class = (_class2 = class PageSizeSelectComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property pageSizeWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"pageSizeWrapper\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.pageSizeOptions](Components.ModelsTable.html#property_pageSizeOptions)\r\n       *\r\n       * @property pageSizeOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"pageSizeOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.pageSize](Components.ModelsTable.html#property_pageSize)\r\n       *\r\n       * @property pageSize\r\n       * @type number\r\n       * @default 10\r\n       */\n      _defineProperty(this, \"pageSize\", 10);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n    /**\r\n     * @property inputId\r\n     * @type string\r\n     * @private\r\n     */\n    get inputId() {\n      return `${this.elementId}-page-size-select`;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"pageSizeWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/pagination-numeric\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/pagination-numeric\"], function (_exports, _component, _paginationNumeric) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2;\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  /**\r\n   * Numeric navigation used within [models-table/footer](Components.ModelsTableFooter.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PaginationNumeric />\r\n   *     {{! ... }}\r\n   *   </MT.Footer>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PaginationNumeric as |PN|>\r\n   *       {{#each PN.visiblePageNumbers as |page|}}\r\n   *         {{#if page.isLink}}\r\n   *           <button\r\n   *             class=\"{{MT.themeInstance.paginationNumericItem}} {{if page.isActive MT.themeInstance.paginationNumericItemActive}} {{MT.themeInstance.buttonDefault}}\"\r\n   *             {{action MT.goToPage page.label}}>\r\n   *             {{page.label}}\r\n   *           </button>\r\n   *         {{else}}\r\n   *           <button\r\n   *             type=\"button\"\r\n   *             class=\"{{MT.themeInstance.buttonDefault}} {{MT.themeInstance.paginationNumericItem}}\"\r\n   *             disabled=\"disabled\">\r\n   *             {{page.label}}\r\n   *           </button>\r\n   *         {{/if}}\r\n   *       {{/each}}\r\n   *       <PN.PageNumberSelect />\r\n   *     </Footer.PaginationNumeric>\r\n   *   </MT.Footer>\r\n   * </ModelsTable>\r\n   * ```\r\n   * ModelsTablePaginationNumeric yields references to the following contextual components:\r\n   *\r\n   * * PageNumberSelect - selectbox with list of available pages\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [visiblePageNumbers](Components.ModelsTablePaginationNumeric.html#property_visiblePageNumbers)\r\n   *\r\n   * @class ModelsTablePaginationNumeric\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let PaginationNumericComponent = _exports.default = (_dec = (0, _component.layout)(_paginationNumeric.default), _dec2 = Ember.computed.alias('themeInstance.paginationWrapper'), _dec3 = Ember.computed.alias('themeInstance.paginationWrapperNumeric'), _dec4 = Ember.computed('pagesCount', 'currentPageNumber', 'collapseNumPaginationForPagesCount'), _dec5 = Ember.computed('elementId'), _dec6 = Ember._action, _dec(_class = (_class2 = class PaginationNumericComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property themePaginationWrapperClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themePaginationWrapperClass\", _descriptor, this);\n      /**\r\n       * @property themePaginationWrapperNumericClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themePaginationWrapperNumericClass\", _descriptor2, this);\n      /**\r\n       * Bound from [ModelsTable.collapseNumPaginationForPagesCount](Components.ModelsTable.html#property_collapseNumPaginationForPagesCount)\r\n       *\r\n       * @property collapseNumPaginationForPagesCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"collapseNumPaginationForPagesCount\", null);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumber](Components.ModelsTable.html#property_currentPageNumber)\r\n       *\r\n       * @property currentPageNumber\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"currentPageNumber\", 1);\n      /**\r\n       * Bound from [ModelsTable.showCurrentPageNumberSelect](Components.ModelsTable.html#property_showCurrentPageNumberSelect)\r\n       *\r\n       * @property showCurrentPageNumberSelect\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"showCurrentPageNumberSelect\", null);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumberOptions](Components.ModelsTable.html#property_currentPageNumberOptions)\r\n       *\r\n       * @property currentPageNumberOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentPageNumberOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.arrangedContentLength](Components.ModelsTable.html#property_arrangedContentLength)\r\n       *\r\n       * @property recordsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"recordsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.pageSize](Components.ModelsTable.html#property_pageSize)\r\n       *\r\n       * @property pageSize\r\n       * @type number\r\n       * @default 10\r\n       */\n      _defineProperty(this, \"pageSize\", 10);\n      /**\r\n       * Bound from [ModelsTable.pagesCount](Components.ModelsTable.html#property_pagesCount)\r\n       *\r\n       * @property pagesCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"pagesCount\", null);\n      /**\r\n       * Closure action [ModelsTable.gotoCustomPage](Components.ModelsTable.html#event_gotoCustomPage)\r\n       *\r\n       * @event goToPage\r\n       */\n      _defineProperty(this, \"goToPage\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n    /**\r\n     * List of links to the page\r\n     * Used if [ModelsTable.useNumericPagination](Components.ModelsTable.html#property_useNumericPagination) is true\r\n     *\r\n     * @type object[]\r\n     * @property visiblePageNumbers\r\n     * @default []\r\n     * @protected\r\n     */\n    get visiblePageNumbers() {\n      const {\n        pagesCount,\n        currentPageNumber,\n        collapseNumPaginationForPagesCount\n      } = this;\n      const notLinkLabel = '...';\n      const showAll = pagesCount <= collapseNumPaginationForPagesCount;\n      let groups = []; // array of 8 numbers\n      let labels = Ember.A([]);\n      groups[0] = 1;\n      groups[1] = Math.min(1, pagesCount);\n      groups[6] = Math.max(1, pagesCount);\n      groups[7] = pagesCount;\n      groups[3] = Math.max(groups[1] + 1, currentPageNumber - 1);\n      groups[4] = Math.min(groups[6] - 1, currentPageNumber + 1);\n      groups[2] = Math.floor((groups[1] + groups[3]) / 2);\n      groups[5] = Math.floor((groups[4] + groups[6]) / 2);\n      if (showAll) {\n        for (let i = groups[0]; i <= groups[7]; i++) {\n          labels[i] = i;\n        }\n      } else {\n        for (let n = groups[0]; n <= groups[1]; n++) {\n          labels[n] = n;\n        }\n        const userGroup2 = groups[4] >= groups[3] && groups[3] - groups[1] > 1;\n        if (userGroup2) {\n          labels[groups[2]] = notLinkLabel;\n        }\n        for (let i = groups[3]; i <= groups[4]; i++) {\n          labels[i] = i;\n        }\n        const userGroup5 = groups[4] >= groups[3] && groups[6] - groups[4] > 1;\n        if (userGroup5) {\n          labels[groups[5]] = notLinkLabel;\n        }\n        for (let i = groups[6]; i <= groups[7]; i++) {\n          labels[i] = i;\n        }\n      }\n      return Ember.A(labels.compact().map(label => ({\n        label,\n        isLink: label !== notLinkLabel,\n        isActive: label === currentPageNumber\n      })));\n    }\n\n    /**\r\n     * @property inputId\r\n     * @type string\r\n     * @private\r\n     */\n    get inputId() {\n      return `${this.elementId}-page-number-select`;\n    }\n\n    /**\r\n     * @event gotoCustomPage\r\n     * @param {number} pageNumber\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    gotoCustomPage(pageNumber, e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      this.goToPage(pageNumber);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themePaginationWrapperClass\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"themePaginationWrapperNumericClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"visiblePageNumbers\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"visiblePageNumbers\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoCustomPage\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoCustomPage\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/pagination-simple\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/pagination-simple\"], function (_exports, _component, _paginationSimple) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\r\n   * Simple navigation (first, prev, next, last) used within [models-table/footer](Components.ModelsTableFooter.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PaginationSimple />\r\n   *     {{! ... }}\r\n   *   </MT.Footer>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.PaginationSimple as |PS|>\r\n   *       <button\r\n   *         class=\"{{if PS.goToBackEnabled \"enabled\" \"disabled\"}} {{MT.themeInstance.buttonDefault}}\"\r\n   *         {{action PS.goToFirst}}>\r\n   *         <i class={{MT.themeInstance.navFirstIcon}}></i>\r\n   *       </button>\r\n   *       <button\r\n   *         class=\"{{if PS.goToBackEnabled \"enabled\" \"disabled\"}} {{MT.themeInstance.buttonDefault}}\"\r\n   *         {{action PS.goToPrev}}>\r\n   *         <i class={{MT.themeInstance.navPrevIcon}}></i>\r\n   *       </button>\r\n   *       <button\r\n   *         class=\"{{if PS.goToForwardEnabled \"enabled\" \"disabled\"}} {{MT.themeInstance.buttonDefault}}\"\r\n   *         {{action PS.goToNext}}>\r\n   *         <i class={{MT.themeInstance.navNextIcon}}></i>\r\n   *       </button>\r\n   *       <button\r\n   *         class=\"{{if PS.goToForwardEnabled \"enabled\" \"disabled\"}} {{MT.themeInstance.buttonDefault}}\"\r\n   *         {{action PS.goToLast}}>\r\n   *         <i class={{MT.themeInstance.navLastIcon}}></i>\r\n   *       </button>\r\n   *       <PS.PageNumberSelect/>\r\n   *     </Footer.PaginationSimple>\r\n   *   </MT.Footer>\r\n   * </ModelsTable>\r\n   * ```\r\n   * ModelsTablePaginationSimple yields references to the following contextual components:\r\n   *\r\n   * * PageNumberSelect - selectbox with list of available pages\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [goToBackEnabled](Components.ModelsTablePaginationSimple.html#property_goToBackEnabled) - `true` is user is not in the first page\r\n   * * [goToForwardEnabled](Components.ModelsTablePaginationSimple.html#property_goToForwardEnabled) - `true` if user is not in the last page\r\n   *\r\n   * References to the following actions are yielded:\r\n   *\r\n   * * [goToPage](Components.ModelsTablePaginationSimple.html#event_goToPage) - action to navigate user to the custom page\r\n   * * [goToFirst](Components.ModelsTablePaginationSimple.html#event_goToFirst) - action to navigate user to the first page\r\n   * * [goToPrev](Components.ModelsTablePaginationSimple.html#event_goToPrev) - action to navigate user to the previous page\r\n   * * [goToNext](Components.ModelsTablePaginationSimple.html#event_goToNext) - action to navigate user to the next page\r\n   * * [goToLast](Components.ModelsTablePaginationSimple.html#event_goToLast) - action to navigate user to the last page\r\n   *\r\n   * @class ModelsTablePaginationSimple\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let PaginationSimpleComponent = _exports.default = (_dec = (0, _component.layout)(_paginationSimple.default), _dec2 = Ember.computed.alias('themeInstance.paginationWrapper'), _dec3 = Ember.computed.alias('themeInstance.paginationWrapperDefault'), _dec4 = Ember.computed.gt('currentPageNumber', 1), _dec5 = Ember.computed('currentPageNumber', 'pagesCount'), _dec6 = Ember.computed('elementId'), _dec7 = Ember._action, _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember._action, _dec1 = Ember._action, _dec10 = Ember._action, _dec(_class = (_class2 = class PaginationSimpleComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property themePaginationWrapperClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themePaginationWrapperClass\", _descriptor, this);\n      /**\r\n       * @property themePaginationWrapperDefaultClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themePaginationWrapperDefaultClass\", _descriptor2, this);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumber](Components.ModelsTable.html#property_currentPageNumber)\r\n       *\r\n       * @property currentPageNumber\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"currentPageNumber\", 1);\n      /**\r\n       * Bound from [ModelsTable.arrangedContentLength](Components.ModelsTable.html#property_arrangedContentLength)\r\n       *\r\n       * @property recordsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"recordsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.pagesCount](Components.ModelsTable.html#property_pagesCount)\r\n       *\r\n       * @property pagesCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"pagesCount\", null);\n      /**\r\n       * Bound from [ModelsTable.currentPageNumberOptions](Components.ModelsTable.html#property_currentPageNumberOptions)\r\n       *\r\n       * @property currentPageNumberOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentPageNumberOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.showCurrentPageNumberSelect](Components.ModelsTable.html#property_showCurrentPageNumberSelect)\r\n       *\r\n       * @property showCurrentPageNumberSelect\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"showCurrentPageNumberSelect\", null);\n      /**\r\n       * Closure action [ModelsTable.gotoCustomPage](Components.ModelsTable.html#event_gotoCustomPage)\r\n       *\r\n       * @event goToPage\r\n       */\n      _defineProperty(this, \"goToPage\", null);\n      /**\r\n       * Bound from [ModelsTable.pageSize](Components.ModelsTable.html#property_pageSize)\r\n       *\r\n       * @property pageSize\r\n       * @type number\r\n       * @default 10\r\n       */\n      _defineProperty(this, \"pageSize\", 10);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Are buttons \"Back\" and \"First\" enabled\r\n       *\r\n       * @property goToBackEnabled\r\n       * @type boolean\r\n       * @default false\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"goToBackEnabled\", _descriptor3, this);\n    }\n    /**\r\n     * Are buttons \"Next\" and \"Last\" enabled\r\n     *\r\n     * @property goToForwardEnabled\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get goToForwardEnabled() {\n      return this.currentPageNumber < this.pagesCount;\n    }\n    /**\r\n     * @property inputId\r\n     * @type string\r\n     * @private\r\n     */\n    get inputId() {\n      return `${this.elementId}-page-number-select`;\n    }\n\n    /**\r\n     * @event gotoFirst\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    gotoFirst(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      if (!this.goToBackEnabled) {\n        return false;\n      }\n      this.goToPage(1);\n      return false;\n    }\n\n    /**\r\n     * @event gotoPrev\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    gotoPrev(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      if (!this.goToBackEnabled) {\n        return false;\n      }\n      if (this.currentPageNumber > 1) {\n        this.goToPage(this.currentPageNumber - 1);\n      }\n      return false;\n    }\n\n    /**\r\n     * @event gotoNext\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    gotoNext(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      if (!this.goToForwardEnabled) {\n        return false;\n      }\n      const pageSize = parseInt(this.pageSize, 10);\n      if (this.recordsCount > pageSize * (this.currentPageNumber - 1)) {\n        this.goToPage(this.currentPageNumber + 1);\n      }\n      return false;\n    }\n\n    /**\r\n     * @event gotoLast\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    gotoLast(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      if (!this.goToForwardEnabled) {\n        return;\n      }\n      const pageSize = parseInt(this.pageSize, 10);\n      let pageNumber = this.recordsCount / pageSize;\n      pageNumber = 0 === pageNumber % 1 ? pageNumber : Math.floor(pageNumber) + 1;\n      this.goToPage(pageNumber);\n      return false;\n    }\n\n    /**\r\n     * @event gotoPage\r\n     * @param {number} pageNumber\r\n     * @protected\r\n     */\n    gotoPage(pageNumber) {\n      this.goToPage(pageNumber);\n    }\n\n    /**\r\n     * @event noop\r\n     * @protected\r\n     */\n    noop() {}\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themePaginationWrapperClass\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"themePaginationWrapperDefaultClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"goToBackEnabled\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"goToForwardEnabled\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"goToForwardEnabled\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoFirst\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoFirst\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoPrev\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoPrev\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoNext\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoNext\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoLast\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoLast\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"gotoPage\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"gotoPage\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noop\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"noop\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/row-expand\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-expand\"], function (_exports, _component, _rowExpand) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2;\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  /**\r\n   * Extra row with additional information for original row. Component used within [models-table/table-body](Components.ModelsTableTableBody.html).\r\n   *\r\n   * Row expand is a table-row with a single cell. This cell has a `colspan` equal to the shown columns count. You should provide an [ModelsTable.expandedRowComponent](Components.ModelsTable.html#property_expandedRowComponent). It will be rendered inside ModelsTableRowExpand.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#each MT.visibleContent as |record index|}}\r\n   *         <Body.Row @record={{record}} @index={{index}} />\r\n   *         {{#if (exists-in MT.expandedItems record)}}\r\n   *           <Body.RowExpand @record={{record}} @index={{index}} />\r\n   *         {{/if}}\r\n   *       {{/each}}\r\n   *     </Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @class ModelsTableRowExpand\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let RowExpandComponent = _exports.default = (_dec = (0, _component.layout)(_rowExpand.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = (0, _component.classNames)('expand-row'), _dec4 = Ember.computed('index'), _dec5 = (0, _component.className)('selected-expand'), _dec6 = Ember.computed('selectedItems.[]', 'record'), _dec7 = Ember.computed('additionalColspan', 'visibleProcessedColumns.length'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class RowExpandComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Extra colspan used in the internal `td`. Useful in cases with block scope usage when some extra columns are in the table (not only `columns`)\r\n       *\r\n       * @property additionalColspan\r\n       * @type number\r\n       * @default 0\r\n       */\n      _defineProperty(this, \"additionalColspan\", 0);\n      /**\r\n       * Row's index\r\n       *\r\n       * @property index\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property record\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedRowComponent](Components.ModelsTable.html#property_expandedRowComponent)\r\n       *\r\n       * @property expandedRowComponent\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *\r\n       * @event clickOnRow\r\n       */\n      _defineProperty(this, \"clickOnRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n    /**\r\n     * @property tagName\r\n     * @type string\r\n     * @default 'tr'\r\n     */\n\n    /**\r\n     * @property indexedClass\r\n     * @type string\r\n     * @protected\r\n     */\n    get indexedClass() {\n      return `expand-${this.index}`;\n    }\n\n    /**\r\n     * @property isSelected\r\n     * @type boolean\r\n     * @protected\r\n     */\n    get isSelected() {\n      return Ember.isArray(this.selectedItems) && this.selectedItems.includes(this.record);\n    }\n\n    /**\r\n     * @protected\r\n     * @property cellColspan\r\n     * @default 0\r\n     * @type number\r\n     */\n    get cellColspan() {\n      return Number(this.additionalColspan) + Number(this.visibleProcessedColumns.length);\n    }\n    click() {\n      this.clickOnRow(this.index, this.record);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"indexedClass\", [_component.className, _dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"indexedClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isSelected\", [_dec5, _dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"isSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cellColspan\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"cellColspan\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\n   * Filter-row cell used within [models-table/row-filtering](Components.ModelsTableRowFiltering.html).\n   *\n   * ```hbs\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\n   *   <MT.Table as |Table|>\n   *     <Table.Header as |Header|>\n   *       <Header.RowFiltering as |RF|>\n   *         {{#each MT.visibleProcessedColumns as |column|}}\n   *           <RF.RowFilteringCell @column={{column}} />\n   *         {{/each}}\n   *       </Header.RowFiltering>\n   *       {{! ... }}\n   *     </Table.Header>\n   *     {{! ... }}\n   *   </MT.Table>\n   *   {{! .... }}\n   * </ModelsTable>\n   * ```\n   *\n   * If `column.componentForFilterCell` is provided it is yielded with next properties and actions:\n   *\n   * * [column](Component.ModelsTableCellContentDisplay.html#property_column)\n   * * [selectedItems](Component.ModelsTableCellContentDisplay.html#property_selectedItems)\n   * * [expandedItems](Component.ModelsTableCellContentDisplay.html#property_expandedItems)\n   * * [data](Component.ModelsTableCellContentDisplay.html#property_data)\n   * * [themeInstance](Component.ModelsTableCellContentDisplay.html#property_themeInstance)\n   * * [expandAllRows](Component.ModelsTableCellContentDisplay.html#event_expandAllRows)\n   * * [collapseAllRows](Component.ModelsTableCellContentDisplay.html#event_collapseAllRows)\n   * * [toggleAllSelection](Component.ModelsTableCellContentDisplay.html#event_toggleAllSelection)\n   *\n   * ```hbs\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\n   *   <MT.Table as |Table|>\n   *     <Table.Header as |Header|>\n   *       <Header.RowFiltering as |RF|>\n   *         {{#each MT.visibleProcessedColumns as |column|}}\n   *           <RF.RowFilteringCell @column={{column}} as |RowFilteringCellContent|>\n   *             <RowFilteringCellContent/>\n   *           </RF.RowFilteringCell>\n   *         {{/each}}\n   *       </Header.RowFiltering>\n   *       {{! ... }}\n   *     </Table.Header>\n   *     {{! ... }}\n   *   </MT.Table>\n   *   {{! .... }}\n   * </ModelsTable>\n   * ```\n   *\n   * @namespace Components\n   * @class ModelsTableRowFilteringCell\n   * @extends Ember.Component\n   */\n  let RowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell.default), _dec2 = (0, _component.tagName)('th'), _dec3 = Ember.computed.alias('themeInstance.theadCell'), _dec4 = Ember.computed.alias('column.className'), _dec5 = Ember.computed.readOnly('column.realColspanForFilterCell'), _dec6 = Ember.computed('column.useFilter', 'themeInstance.theadCellNoFiltering'), _dec7 = Ember.computed('elementId'), _dec8 = Ember._action, _dec9 = Ember._action, _dec0 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class RowFilteringCellComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\n       * @property tagName\n       * @type string\n       * @default 'th'\n       */\n      /**\n       * @property themeTheadCellClass\n       * @type string\n       * @protected\n       */\n      _initializerDefineProperty(this, \"themeTheadCellClass\", _descriptor, this);\n      /**\n       * @property columnClassName\n       * @type string\n       * @protected\n       */\n      _initializerDefineProperty(this, \"columnClassName\", _descriptor2, this);\n      /**\n       * @property colspan\n       * @type number\n       * @protected\n       */\n      _initializerDefineProperty(this, \"colspan\", _descriptor3, this);\n      /**\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\n       *\n       * @property themeInstance\n       * @type object\n       * @default null\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\n       * @property column\n       * @default null\n       * @type Utils.ModelsTableColumn\n       */\n      _defineProperty(this, \"column\", null);\n      /**\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\n       *\n       * @property selectedItems\n       * @default null\n       * @type object[]\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\n       *\n       * @property expandedItems\n       * @default null\n       * @type object[]\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\n       *\n       * @event expandAllRows\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\n       *\n       * @event collapseAllRows\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\n       *\n       * @event toggleAllSelection\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n    }\n    /**\n     * @property filteringClassName\n     * @type string\n     * @protected\n     */\n    get filteringClassName() {\n      return this.column.useFilter ? '' : this.themeInstance.theadCellNoFiltering;\n    }\n    /**\n     * @property inputId\n     * @type string\n     * @protected\n     */\n    get inputId() {\n      return `${this.elementId}-column-filter`;\n    }\n\n    /**\n     * @event noop\n     * @protected\n     */\n    noop(e) {\n      e.stopPropagation();\n    }\n\n    /**\n     * @event updateColumnFilterString\n     * @param {Event} e\n     * @protected\n     */\n    updateColumnFilterString(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      Ember.set(this, 'column.filterString', e.target.value);\n      return false;\n    }\n\n    /**\n     * @event clearFilter\n     * @param {Event} e\n     * @protected\n     */\n    clearFilter(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      Ember.set(this, 'column.filterString', '');\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeTheadCellClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"columnClassName\", [_component.className, _dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"colspan\", [_component.attribute, _dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"filteringClassName\", [_component.className, _dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"filteringClassName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noop\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"noop\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"updateColumnFilterString\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateColumnFilterString\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"clearFilter\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"clearFilter\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row-filtering\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-filtering\", \"ember-models-table/utils/macros\"], function (_exports, _component, _rowFiltering, _macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2, _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  /**\r\n   * Table header item used within [models-table/table-header](Components.ModelsTableTableHeader.html).\r\n   *\r\n   * Component generates tr with filter inputs in the separated cells. Filter for column may be as an input or select. Second one may have predefined set of options or may calculate list of options from table data. Last scenario doesn't work with [models-table-server-paginated](Components.ModelsTableServerPaginated.html). Check properties [disableFiltering](Utils.ModelsTableColumn.html#property_disableFiltering), [filteredBy](Utils.ModelsTableColumn.html#property_filteredBy), [filterFunction](Utils.ModelsTableColumn.html#property_filterFunction), [filterPlaceholder](Utils.ModelsTableColumn.html#property_filterPlaceholder), [filterWithSelect](Utils.ModelsTableColumn.html#property_filterWithSelect), [predefinedFilterOptions](Utils.ModelsTableColumn.html#property_predefinedFilterOptions) for ModelsTableColumn.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowFiltering>\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowFiltering as |RF|>\r\n   *         {{#each MT.visibleProcessedColumns as |column|}}\r\n   *           <RF.RowFilteringCell @column={{column}} as |RowFilteringCellContent|>\r\n   *             <RowFilteringCellContent/>\r\n   *           </RF.RowFilteringCell>\r\n   *         {{/each}}\r\n   *       </Header.RowFiltering>\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableRowFiltering yields references to the following contextual components:\r\n   *\r\n   * * [models-table/row-filtering-cell](Components.ModelsTableRowFilteringCell.html) - component used as filter row cell. It shows input or select or custom component. Check filter-options for columns\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [shouldAddExtraColumn](Components.ModelsTableRowFiltering.html#property_shouldAddExtraColumn) - determines if extra column should be added to the row in the `thead`. It happens when rows grouping is used and extra column with group values exists\r\n   *\r\n   * @class ModelsTableRowFiltering\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let RowFilteringComponent = _exports.default = (_dec = (0, _component.layout)(_rowFiltering.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = (0, _macros.shownColumns)('colspanForFilterCell'), _dec4 = Ember.computed('displayGroupedValueAs', 'useDataGrouping', 'visibleProcessedColumns.[]'), _dec(_class = _dec2(_class = (_class2 = class RowFilteringComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.processedColumns](Components.ModelsTable.html#property_processedColumns)\r\n       *\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"processedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @default null\r\n       * @type string\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n      /**\r\n       * @property shownColumns\r\n       * @type object[]\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"shownColumns\", _descriptor, this);\n    }\n    /**\r\n     * @property shouldAddExtraColumn\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get shouldAddExtraColumn() {\n      return this.displayGroupedValueAs === 'column' && this.useDataGrouping && !!this.visibleProcessedColumns.length;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"shownColumns\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"shouldAddExtraColumn\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldAddExtraColumn\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row-group-toggle\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-group-toggle\"], function (_exports, _component, _rowGroupToggle) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2;\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  /**\r\n   * Component is used to toggle rows group visibility\r\n   *\r\n   * Don't override this component. Use [groupingRowComponent](Components.ModelsTable.html#property_groupingRowComponent) (it may extend this one)\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableRowGroupToggle\r\n   * @extends Ember.Component\r\n   */\n  let RowGroupToggleComponent = _exports.default = (_dec = (0, _component.layout)(_rowGroupToggle.default), _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec(_class = (_class2 = class RowGroupToggleComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Determines if `stopPropagation` should be called for event-handlers in the current component\r\n       *\r\n       * @property stopEventsPropagation\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"stopEventsPropagation\", true);\n      /**\r\n       * Bound from [groupIsCollapsed](Components.ModelsTableRowGrouping.html#property_groupIsCollapsed)\r\n       *\r\n       * @property groupIsCollapsed\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupIsCollapsed\", null);\n      /**\r\n       * Bound from [groupedValue](Components.ModelsTableRowGrouping.html#property_groupedValue)\r\n       *\r\n       * @property groupedValue\r\n       * @type *\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedValue\", null);\n      /**\r\n       * List of all rows group items\r\n       *\r\n       * If rows group is last on the page, not all it's items may be shown. Use `visibleGroupedItems` to get rows group items shown on the current table's page\r\n       *\r\n       * @property groupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedItems\", null);\n      /**\r\n       * List of rows group items shown on the current table page\r\n       *\r\n       * @property visibleGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleGroupedItems\", null);\n      /**\r\n       * List of selected rows group items\r\n       *\r\n       * @property selectedGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedGroupedItems\", null);\n      /**\r\n       * List of expanded rows group items\r\n       *\r\n       * @property expandedGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedGroupedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       *\r\n       * @event toggleGroupedRows\r\n       */\n      _defineProperty(this, \"toggleGroupedRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       *\r\n       * @event toggleGroupedRowsSelection\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       *\r\n       * @event toggleGroupedRowsExpands\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsExpands\", null);\n    }\n    /**\r\n     * Calls passed `toggleGroupedRows`\r\n     *\r\n     * @event toggleGroupedRows\r\n     */\n    doToggleGroupedRows() {\n      this.toggleGroupedRows(this.groupedValue);\n      return !this.stopEventsPropagation;\n    }\n\n    /**\r\n     * Calls passed `toggleGroupedRowsSelection`\r\n     *\r\n     * @event toggleGroupedRowsSelection\r\n     */\n    doToggleGroupedRowsSelection() {\n      this.toggleGroupedRowsSelection(this.groupedValue);\n      return !this.stopEventsPropagation;\n    }\n\n    /**\r\n     * Calls passed `toggleGroupedRowsExpands`\r\n     *\r\n     * @event toggleGroupedRowsExpands\r\n     */\n    doToggleGroupedRowsExpands() {\n      this.toggleGroupedRowsExpands(this.groupedValue);\n      return !this.stopEventsPropagation;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doToggleGroupedRows\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleGroupedRows\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doToggleGroupedRowsSelection\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleGroupedRowsSelection\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doToggleGroupedRowsExpands\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleGroupedRowsExpands\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/row-grouping\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-grouping\"], function (_exports, _component, _rowGrouping) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\r\n   * Component-row with grouped property value. Used to toggle rows group with needed property value equal to the grouping value\r\n   *\r\n   * You must not override this component and should use [groupingRowComponent](Components.ModelsTable.html#property_groupingRowComponent)\r\n   *\r\n   * By default [row-group-toggle](Components.ModelsTableRowGroupToggle.html) is used\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableRowGrouping\r\n   * @extends Ember.Component\r\n   */\n  let RowGroupingComponent = _exports.default = (_dec = (0, _component.layout)(_rowGrouping.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = Ember.computed.alias('themeInstance.groupingRow'), _dec4 = Ember.computed('displayGroupedValueAs', 'visibleProcessedColumns.length', 'additionalColspan'), _dec5 = Ember.computed.intersect('selectedItems', 'groupedItems'), _dec6 = Ember.computed.intersect('expandedItems', 'groupedItems'), _dec(_class = _dec2(_class = (_class2 = class RowGroupingComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * @property themeGroupingRowClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeGroupingRowClass\", _descriptor, this);\n      /**\r\n       * @property groupedValue\r\n       * @type *\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedValue\", null);\n      /**\r\n       * Determines if rows group is collapsed (bound from the parent component template)\r\n       *\r\n       * @property groupIsCollapsed\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupIsCollapsed\", null);\n      /**\r\n       * Rows count in the rows group\r\n       *\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Extra colspan used in the internal `td`. Useful in cases with block scope usage when some extra columns are in the table (not only `columns`)\r\n       *\r\n       * @property additionalColspan\r\n       * @type number\r\n       * @default 0\r\n       */\n      _defineProperty(this, \"additionalColspan\", 0);\n      /**\r\n       * @property groupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedItems\", null);\n      /**\r\n       * @property visibleGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleGroupedItems\", null);\n      /**\r\n       * @property selectedGroupedItems\r\n       * @type object[]\r\n       * @default []\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"selectedGroupedItems\", _descriptor2, this);\n      /**\r\n       * @property expandedGroupedItems\r\n       * @type object[]\r\n       * @default []\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"expandedGroupedItems\", _descriptor3, this);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       *\r\n       * @event toggleGroupedRows\r\n       */\n      _defineProperty(this, \"toggleGroupedRows\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.groupingRowComponent](Components.ModelsTable.html#property_groupingRowComponent)\r\n       *\r\n       * @property groupingRowComponent\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupingRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       *\r\n       * @event toggleGroupedRowsSelection\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       *\r\n       * @event toggleGroupedRowsExpands\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsExpands\", null);\n    }\n    /**\r\n     * @property cellColspan\r\n     * @type number\r\n     * @default null\r\n     * @protected\r\n     */\n    get cellColspan() {\n      return this.visibleProcessedColumns.length + (this.displayGroupedValueAs === 'row' ? 0 : 1) + Number(this.additionalColspan);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeGroupingRowClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"cellColspan\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"cellColspan\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"selectedGroupedItems\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"expandedGroupedItems\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row-select-all-checkbox\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-select-all-checkbox\"], function (_exports, _component, _rowSelectAllCheckbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\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  /**\r\n   * Component with checkbox to select or deselect all rows\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```js\r\n   * const columns = [\r\n   *   {\r\n   *     component: 'models-table/row-select-checkbox',\r\n   *     disableFiltering: true,\r\n   *     mayBeHidden: false,\r\n   *     componentForSortCell: 'models-table/row-select-all-checkbox'\r\n   *   },\r\n   *   {propertyName: 'firstName'},\r\n   *   {propertyName: 'lastName'}\r\n   * ];\r\n   * const data = [ ... ];\r\n   * ```\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @multipleSelect={{true}}\r\n   * />\r\n   * ```\r\n   *\r\n   * @class ModelsTableRowSelectAllCheckbox\r\n   * @extends Ember.Component\r\n   * @namespace Components\r\n   */\n  let RowSelectAllCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectAllCheckbox.default), _dec2 = Ember._action, _dec(_class = (_class2 = class RowSelectAllCheckboxComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property column\r\n       * @type Utils.ModelsTableColumn\r\n       * @default null\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n    }\n    /**\r\n     * @event doToggleAllSelection\r\n     * @protected\r\n     */\n    doToggleAllSelection() {\n      this.toggleAllSelection();\n      return false;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doToggleAllSelection\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleAllSelection\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/row-select-checkbox\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-select-checkbox\"], function (_exports, _component, _rowSelectCheckbox) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\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  /**\r\n   * Component with checkbox to select or deselect any single row\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```js\r\n   * const columns = [\r\n   *   {\r\n   *     component: 'models-table/row-select-checkbox',\r\n   *     disableFiltering: true,\r\n   *     mayBeHidden: false,\r\n   *     componentForSortCell: 'models-table/row-select-all-checkbox'\r\n   *   },\r\n   *   {propertyName: 'firstName'},\r\n   *   {propertyName: 'lastName'}\r\n   * ];\r\n   * const data = [ ... ];\r\n   * ```\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable\r\n   *   @data={{data}}\r\n   *   @columns={{columns}}\r\n   *   @multipleSelect={{true}}\r\n   * />\r\n   * ```\r\n   *\r\n   * @class ModelsTableRowSelectCheckbox\r\n   * @extends Ember.Component\r\n   * @namespace Components\r\n   */\n  let RowSelectCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectCheckbox.default), _dec2 = Ember._action, _dec(_class = (_class2 = class RowSelectCheckboxComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property column\r\n       * @type Utils.ModelsTableColumn\r\n       * @default null;\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *\r\n       * @event clickOnRow\r\n       */\n      _defineProperty(this, \"clickOnRow\", null);\n    }\n    /**\r\n     * @event doClickOnRow\r\n     * @protected\r\n     * @param {number} index\r\n     * @param {object} record\r\n     * @param {Event} e\r\n     */\n    doClickOnRow(index, record, e) {\n      this.clickOnRow(index, record);\n      Ember.tryInvoke(e, 'stopPropagation');\n      return false;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"doClickOnRow\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"doClickOnRow\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/row-sorting-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-sorting-cell\"], function (_exports, _component, _rowSortingCell) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3;\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  /**\r\n   * Sort-row cell used within [models-table/row-sorting](Components.ModelsTableRowSorting.html).\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowSorting as |RS|>\r\n   *         {{#each MT.visibleProcessedColumns as |column|}}\r\n   *           <RS.RowSortingCell @column={{column}} />\r\n   *         {{/each}}\r\n   *       </Header.RowSorting>\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   * If `column.componentForSortCell` is provided it is yielded with next properties and actions:\r\n   *\r\n   * * [column](Component.ModelsTableCellContentDisplay.html#property_column)\r\n   * * [selectedItems](Component.ModelsTableCellContentDisplay.html#property_selectedItems)\r\n   * * [expandedItems](Component.ModelsTableCellContentDisplay.html#property_expandedItems)\r\n   * * [data](Component.ModelsTableCellContentDisplay.html#property_data)\r\n   * * [themeInstance](Component.ModelsTableCellContentDisplay.html#property_themeInstance)\r\n   * * [expandAllRows](Component.ModelsTableCellContentDisplay.html#event_expandAllRows)\r\n   * * [collapseAllRows](Component.ModelsTableCellContentDisplay.html#event_collapseAllRows)\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowSorting as |RS|>\r\n   *         {{#each MT.visibleProcessedColumns as |column|}}\r\n   *           <RS.RowSortingCell @column={{column}} as |RowSortingCellContent|>\r\n   *             <RowSortingCellContent/>\r\n   *           </RS.RowSortingCell>\r\n   *         {{/each}}\r\n   *       </Header.RowSorting>\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableRowSortingCell\r\n   * @extends Ember.Component\r\n   */\n  let RowSortingCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowSortingCell.default), _dec2 = (0, _component.tagName)('th'), _dec3 = Ember.computed.alias('themeInstance.theadCell'), _dec4 = Ember.computed.alias('column.className'), _dec5 = Ember.computed.readOnly('column.realColspanForSortCell'), _dec(_class = _dec2(_class = (_class2 = class RowSortingCellComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'th'\r\n       */\n      /**\r\n       * @property themeTheadCellClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeTheadCellClass\", _descriptor, this);\n      /**\r\n       * @property columnClassName\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"columnClassName\", _descriptor2, this);\n      /**\r\n       * @property colspan\r\n       * @type number\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"colspan\", _descriptor3, this);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n      /**\r\n       * @property column\r\n       * @default null\r\n       * @type Utils.ModelsTableColumn\r\n       */\n      _defineProperty(this, \"column\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n    }\n    click() {\n      if (Ember.get(this.column, 'useSorting')) {\n        this.sort(this.column);\n      }\n      return false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeTheadCellClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"columnClassName\", [_component.className, _dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"colspan\", [_component.attribute, _dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row-sorting\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row-sorting\", \"ember-models-table/utils/macros\", \"ember-models-table/utils/column\"], function (_exports, _component, _rowSorting, _macros, _column) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _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  /**\r\n   * Table header item used within [models-table/table-header](Components.ModelsTableTableHeader.html).\r\n   *\r\n   * Component generates tr with column titles in the separated cells. Click by each cell will sort table data by selected field. Check properties [disableSorting](Utils.ModelsTableColumn.html#property_disableSorting), [sortedBy](Utils.ModelsTableColumn.html#property_sortedBy) for ModelsTableColumn.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowSorting />\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       <Header.RowSorting as |RS|>\r\n   *         {{#each MT.visibleProcessedColumns as |column|}}\r\n   *           <td>{{column.title}}</td>\r\n   *         {{/each}}\r\n   *       </Header.RowSorting>\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableRowSorting yields references to the following contextual components:\r\n   *\r\n   * * [models-table/row-sorting-cell](Components.ModelsTableRowSortingCell.html) - component used as sorting row cell. Clicking on it causes column sorting\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [shouldAddExtraColumn](Components.ModelsTableRowSorting.html#property_shouldAddExtraColumn) - determines if extra column should be added to the row in the `thead`. It happens when rows grouping is used and extra column with group values exists\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableRowSorting\r\n   * @extends Ember.Component\r\n   */\n  let RowSortingComponent = _exports.default = (_dec = (0, _component.layout)(_rowSorting.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = (0, _macros.shownColumns)('colspanForSortCell'), _dec4 = Ember.computed('displayGroupedValueAs', 'useDataGrouping', 'visibleProcessedColumns.[]'), _dec5 = Ember.computed('currentGroupingPropertyName'), _dec6 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class RowSortingComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tr'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.processedColumns](Components.ModelsTable.html#property_processedColumns)\r\n       *\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"processedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @default null\r\n       * @type string\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.groupHeaderCellComponent](Components.ModelsTable.html#property_groupHeaderCellComponent)\r\n       *\r\n       * @property groupHeaderCellComponent\r\n       * @default null\r\n       * @type object\r\n       */\n      _defineProperty(this, \"groupHeaderCellComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @default null\r\n       * @type object\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n      /**\r\n       * @property shownColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"shownColumns\", _descriptor, this);\n    }\n    /**\r\n     * @property shouldAddExtraColumn\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get shouldAddExtraColumn() {\n      return this.displayGroupedValueAs === 'column' && this.useDataGrouping && !!this.visibleProcessedColumns.length;\n    }\n\n    /**\r\n     * @property currentGroupingPropertyNameTitlelized\r\n     * @type string\r\n     * @protected\r\n     */\n    get currentGroupingPropertyNameTitlelized() {\n      return (0, _column.propertyNameToTitle)(this.currentGroupingPropertyName);\n    }\n\n    /**\r\n     * @event doSort\r\n     * @param {Utils.ModelsTableColumn} column\r\n     */\n    doSort(column) {\n      this.sort(column);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"shownColumns\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"shouldAddExtraColumn\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldAddExtraColumn\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"currentGroupingPropertyNameTitlelized\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"currentGroupingPropertyNameTitlelized\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doSort\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSort\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/row\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/row\"], function (_exports, _component, _row) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\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 _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\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  /**\r\n   * Table body row is used within [models-table/table-body](Components.ModelsTableTableBody.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#each Body.visibleContent as |record index|}}\r\n   *         <Body.Row @record={{record}} @index={{index}} />\r\n   *       {{/each}}\r\n   *       {{! ... }}\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#each Body.visibleContent as |record index|}}\r\n   *         <Body.Row @record={{record}} @index={{index}} as |Row|>\r\n   *           {{#each MT.visibleProcessedColumns as |column|}}\r\n   *             <Row.Cell @column={{column}} @index={{index}} />\r\n   *           {{/each}}\r\n   *         </Body.Row>\r\n   *       {{/each}}\r\n   *       {{! ... }}\r\n   *     </Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * **Important!** You must bound `record` and `index` to the `row`.\r\n   *\r\n   * ModelsTableTableRow yields references to the following contextual components:\r\n   *\r\n   * * [models-table/cell](Components.ModelsTableCell.html) - component represents each row's cell\r\n   * * [models-table/row-group-toggle](Components.ModelsTableRowGroupToggle.html) - component is used to toggle rows group visibility\r\n   * * [models-table/row-select-checkbox](Components.ModelsTableRowSelectCheckbox.html) - component is used to toggle row selection\r\n   * * [models-table/expand-toggle](Components.ModelsTableExpandToggle.html) - component is used to expand or collapse row\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [isEditRow](Components.ModelsTableRow.html#property_isEditRow) - `true` if row in the Edit-mode\r\n   * * [isFirstGroupedRow](Components.ModelsTableRow.html#property_isFirstGroupedRow) - `true` if row is first in the rows group (flag used when rows grouping is used)\r\n   * * [rowspanForFirstCell](Component.ModelsTablRow.html#property_rowspanForFirstCell)\r\n   *\r\n   * References to the following actions are yielded:\r\n   *\r\n   * * [editRow](Components.ModelsTableRow.html#event_editRow) - action to set row to the Edit-mode\r\n   * * [saveRow](Components.ModelsTableRow.html#event_saveRow) - action to save row and turn off Edit-mode\r\n   * * [cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow) - action to cancel changes done to the row and turn off Edit-mode\r\n   *\r\n   * @class ModelsTableRow\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let RowComponent = _exports.default = (_dec = (0, _component.layout)(_row.default), _dec2 = (0, _component.tagName)('tr'), _dec3 = Ember.computed('isSelected', 'themeInstance.selectedRow'), _dec4 = Ember.computed('isExpanded', 'themeInstance.expandedRow'), _dec5 = Ember.computed('visibleGroupedItems.length', 'expandedGroupItems.length', 'groupSummaryRowComponent'), _dec6 = Ember.computed.intersect('selectedItems', 'groupedItems'), _dec7 = Ember.computed.intersect('expandedItems', 'groupedItems'), _dec8 = Ember.computed.intersect('expandedItems', 'visibleGroupedItems'), _dec9 = Ember.computed.equal('index', 0), _dec0 = Ember.computed('selectedItems.[]', 'record'), _dec1 = Ember.computed('expandedItems.[]', 'record'), _dec10 = Ember.computed('displayGroupedValueAs', 'isFirstGroupedRow', 'useDataGrouping'), _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, _dec15 = Ember._action, _dec16 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class RowComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Row's index\r\n       *\r\n       * @property index\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"index\", null);\n      /**\r\n       * One of the [data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"record\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.collapsedGroupValues](Components.ModelsTable.html#property_collapsedGroupValues)\r\n       *\r\n       * @property collapsedGroupValues\r\n       * @type array\r\n       * @default null\r\n       */\n      _defineProperty(this, \"collapsedGroupValues\", null);\n      /**\r\n       * @property groupedItems\r\n       * @type object[]\r\n       * @default null\r\n       * @private\r\n       */\n      _defineProperty(this, \"groupedItems\", null);\n      /**\r\n       * @property visibleGroupedItems\r\n       * @type object[]\r\n       * @default null\r\n       * @private\r\n       */\n      _defineProperty(this, \"visibleGroupedItems\", void 0);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * @protected\r\n       * @property selectedGroupedItems\r\n       * @type object[]\r\n       * @default []\r\n       */\n      _initializerDefineProperty(this, \"selectedGroupedItems\", _descriptor, this);\n      /**\r\n       * @protected\r\n       * @property expandedGroupedItems\r\n       * @type object[]\r\n       * @default []\r\n       */\n      _initializerDefineProperty(this, \"expandedGroupedItems\", _descriptor2, this);\n      /**\r\n       * @property expandedGroupItems\r\n       * @protected\r\n       * @type object[]\r\n       * @default []\r\n       */\n      _initializerDefineProperty(this, \"expandedGroupItems\", _descriptor3, this);\n      /**\r\n       * @property isFirstGroupedRow\r\n       * @protected\r\n       * @type number\r\n       * @default false\r\n       */\n      _initializerDefineProperty(this, \"isFirstGroupedRow\", _descriptor4, this);\n      /**\r\n       * @property groupedValue\r\n       * @type *\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedValue\", null);\n      /**\r\n       * Rows group size where current row is\r\n       *\r\n       * @property groupedLength\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedLength\", null);\n      /**\r\n       * Closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *\r\n       * @event clickOnRow\r\n       */\n      _defineProperty(this, \"clickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.doubleClickOnRow](Components.ModelsTable.html#event_doubleClickOnRow)\r\n       *\r\n       * @event doubleClickOnRow\r\n       */\n      _defineProperty(this, \"doubleClickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.hoverOnRow](Components.ModelsTable.html#event_hoverOnRow)\r\n       *\r\n       * @event hoverOnRow\r\n       */\n      _defineProperty(this, \"hoverOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.outRow](Components.ModelsTable.html#event_outRow)\r\n       *\r\n       * @event outRow\r\n       */\n      _defineProperty(this, \"outRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       *\r\n       * @event toggleGroupedRows\r\n       */\n      _defineProperty(this, \"toggleGroupedRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       *\r\n       * @event toggleGroupedRowsSelection\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       *\r\n       * @event toggleGroupedRowsExpands\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsExpands\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Is the row in edit mode\r\n       *\r\n       * @property isEditRow\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isEditRow\", false);\n    }\n    /**\r\n     * @property tagName\r\n     * @type string\r\n     * @default 'tr'\r\n     */\n\n    /**\r\n     * @property rowSelectedClass\r\n     * @protected\r\n     * @type string\r\n     * @default ''\r\n     */\n    get rowSelectedClass() {\n      return this.isSelected ? this.themeInstance.selectedRow : '';\n    }\n\n    /**\r\n     * @property rowExpandedClass\r\n     * @protected\r\n     * @type string\r\n     * @default ''\r\n     */\n    get rowExpandedClass() {\n      return this.isExpanded ? this.themeInstance.expandedRow : '';\n    }\n\n    /**\r\n     * @property rowspanForFirstCell\r\n     * @type number\r\n     * @protected\r\n     */\n    get rowspanForFirstCell() {\n      const visibleGroupedItemsLength = this.visibleGroupedItems ? this.visibleGroupedItems.length : 0;\n      const expandedGroupItemsLength = this.expandedGroupItems ? this.expandedGroupItems.length : 0;\n      const rowspan = visibleGroupedItemsLength + expandedGroupItemsLength;\n      return this.groupSummaryRowComponent ? rowspan + 1 : rowspan;\n    }\n    /**\r\n     * @protected\r\n     * @property isSelected\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get isSelected() {\n      return Ember.isArray(this.selectedItems) && this.selectedItems.includes(this.record);\n    }\n\n    /**\r\n     * @protected\r\n     * @property isExpanded\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get isExpanded() {\n      return Ember.isArray(this.expandedItems) && this.expandedItems.includes(this.record);\n    }\n\n    /**\r\n     * @protected\r\n     * @property shouldShowGroupToggleCell\r\n     * @type boolean\r\n     * @default false\r\n     */\n    get shouldShowGroupToggleCell() {\n      return this.displayGroupedValueAs === 'column' && this.isFirstGroupedRow && this.useDataGrouping;\n    }\n    click() {\n      this.clickOnRow(this.index, this.record);\n      return false;\n    }\n    doubleClick() {\n      this.doubleClickOnRow(this.index, this.record);\n    }\n    enter() {\n      this.hoverOnRow(this.index, this.record);\n    }\n    leave() {\n      this.outRow(this.index, this.record);\n    }\n    didInsertElement() {\n      this.element.addEventListener('mouseenter', this.handleMouseEnter);\n      this.element.addEventListener('mouseleave', this.handleMouseLeave);\n      super.didInsertElement(...arguments);\n    }\n    willDestroyElement() {\n      this.element.removeEventListener('mouseenter', this.handleMouseEnter);\n      this.element.removeEventListener('mouseleave', this.handleMouseLeave);\n      super.willDestroyElement(...arguments);\n    }\n\n    /**\r\n     * @protected\r\n     * @event handleMouseEnter\r\n     */\n    handleMouseEnter() {\n      this.enter();\n    }\n\n    /**\r\n     * @protected\r\n     * @event handleMouseLeave\r\n     */\n    handleMouseLeave() {\n      this.leave();\n    }\n\n    /**\r\n     * @protected\r\n     * @event doToggleGroupedRows\r\n     */\n    doToggleGroupedRows() {\n      this.toggleGroupedRows(this.groupedValue);\n      return false;\n    }\n\n    /**\r\n     * Place a row into edit mode\r\n     *\r\n     * @protected\r\n     * @event editRow\r\n     */\n    editRow() {\n      Ember.set(this, 'isEditRow', true);\n    }\n\n    /**\r\n     * Indicate a row has been saved, the row is no longer in edit mode\r\n     *\r\n     * @protected\r\n     * @event saveRow\r\n     */\n    saveRow() {\n      Ember.set(this, 'isEditRow', false);\n    }\n\n    /**\r\n     * Indicate the edit on the row has been cancelled, the row is no longer in edit mode\r\n     *\r\n     * @protected\r\n     * @event cancelEditRow\r\n     */\n    cancelEditRow() {\n      Ember.set(this, 'isEditRow', false);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"rowSelectedClass\", [_component.className, _dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"rowSelectedClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"rowExpandedClass\", [_component.className, _dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"rowExpandedClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"rowspanForFirstCell\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"rowspanForFirstCell\"), _class2.prototype), _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"selectedGroupedItems\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"expandedGroupedItems\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"expandedGroupItems\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"isFirstGroupedRow\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"isSelected\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"isSelected\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"isExpanded\", [_dec1], Object.getOwnPropertyDescriptor(_class2.prototype, \"isExpanded\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"shouldShowGroupToggleCell\", [_dec10], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldShowGroupToggleCell\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseEnter\", [_dec11], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseEnter\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleMouseLeave\", [_dec12], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleMouseLeave\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doToggleGroupedRows\", [_dec13], Object.getOwnPropertyDescriptor(_class2.prototype, \"doToggleGroupedRows\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"editRow\", [_dec14], Object.getOwnPropertyDescriptor(_class2.prototype, \"editRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"saveRow\", [_dec15], Object.getOwnPropertyDescriptor(_class2.prototype, \"saveRow\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"cancelEditRow\", [_dec16], Object.getOwnPropertyDescriptor(_class2.prototype, \"cancelEditRow\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/select\"], function (_exports, _component, _select) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2, _descriptor3, _descriptor4;\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  /**\r\n   * Select-dropdown with a list of options. Used as page-size select and for select-filters.\r\n   *\r\n   * @class ModelsTableSelect\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let SelectComponent = _exports.default = (_dec = (0, _component.layout)(_select.default), _dec2 = (0, _component.tagName)('select'), _dec3 = Ember.computed.empty('options'), _dec4 = Ember.computed.alias('themeInstance.input'), _dec5 = Ember.computed.alias('themeInstance.select'), _dec(_class = _dec2(_class = (_class2 = class SelectComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'select'\r\n       */\n      /**\r\n       * @property disabled\r\n       * @type boolean\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"disabled\", _descriptor, this);\n      /**\r\n       * @property themeInputClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeInputClass\", _descriptor2, this);\n      /**\r\n       * @property themeSelectClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeSelectClass\", _descriptor3, this);\n      /**\r\n       * @property type\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"type\", '');\n      /**\r\n       * @property cssPropertyName\r\n       * @type string\r\n       * @default ''\r\n       */\n      _initializerDefineProperty(this, \"cssPropertyName\", _descriptor4, this);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n    }\n    change(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      let val = this.element.querySelector('option:checked').value;\n      if (this.type === 'number') {\n        val = +val;\n      }\n      Ember.set(this, 'value', val);\n      return false;\n    }\n    click(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"disabled\", [_component.attribute, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"themeInputClass\", [_component.className, _dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class2.prototype, \"themeSelectClass\", [_component.className, _dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class2.prototype, \"cssPropertyName\", [_component.className], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/summary\", \"ember-models-table/utils/fmt\"], function (_exports, _component, _summary, _fmt) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2, _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  /**\r\n   * Summary block used within [models-table/footer](Components.ModelsTableFooter.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Footer as |Footer|>\r\n   *     <Footer.Summary />\r\n   *     {{! ... }}\r\n   *   </MT.Footer>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [summary](Components.ModelsTableSummary.html#property_summary) - message like \"Show xx - yy from zzz\"\r\n   *\r\n   * @class ModelsTableSummary\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let SummaryComponent = _exports.default = (_dec = (0, _component.layout)(_summary.default), _dec2 = Ember.computed.alias('themeInstance.footerSummary'), _dec3 = Ember.computed('useNumericPagination', 'themeInstance.{footerSummaryNumericPagination,footerSummaryDefaultPagination}'), _dec4 = Ember.computed('firstIndex', 'lastIndex', 'msg', 'recordsCount', 'themeInstance.tableSummaryMsg'), _dec5 = Ember.computed('elementId'), _dec6 = Ember._action, _dec7 = Ember._action, _dec(_class = (_class2 = class SummaryComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property themeFooterSummaryClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeFooterSummaryClass\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.firstIndex](Components.ModelsTable.html#property_firstIndex)\r\n       *\r\n       * @property firstIndex\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"firstIndex\", null);\n      /**\r\n       * Bound from [ModelsTable.lastIndex](Components.ModelsTable.html#property_lastIndex)\r\n       *\r\n       * @property lastIndex\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"lastIndex\", null);\n      /**\r\n       * Bound from [ModelsTable.arrangedContentLength](Components.ModelsTable.html#property_arrangedContentLength)\r\n       *\r\n       * @property recordsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"recordsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.anyFilterUsed](Components.ModelsTable.html#property_anyFilterUsed)\r\n       *\r\n       * @property anyFilterUsed\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"anyFilterUsed\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Closure action [ModelsTable.clearFilters](Components.ModelsTable.html#event_clearFilters)\r\n       *\r\n       * @event clearFilters\r\n       */\n      _defineProperty(this, \"clearFilters\", null);\n      /**\r\n       * Bound from [ModelsTable.useNumericPagination](Components.ModelsTable.html#property_useNumericPagination)\r\n       *\r\n       * @property useNumericPagination\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useNumericPagination\", null);\n    }\n    /**\r\n     * @property paginationTypeClass\r\n     * @type string\r\n     * @protected\r\n     */\n    get paginationTypeClass() {\n      return this.useNumericPagination ? this.themeInstance.footerSummaryNumericPagination : this.themeInstance.footerSummaryDefaultPagination;\n    }\n    /**\r\n     * @property summary\r\n     * @type string\r\n     * @protected\r\n     */\n    get summary() {\n      return (0, _fmt.default)(this.themeInstance.tableSummaryMsg, this.firstIndex, this.lastIndex, this.recordsCount);\n    }\n\n    /**\r\n     * @property inputId\r\n     * @type string\r\n     * @protected\r\n     */\n    get inputId() {\n      return `${this.elementId}-summary-input`;\n    }\n\n    /**\r\n     * @event doClearFilters\r\n     * @param {Event} e\r\n     * @protected\r\n     */\n    doClearFilters(e) {\n      if (e) {\n        e.stopPropagation();\n      }\n      this.clearFilters();\n    }\n\n    /**\r\n     * @event noop\r\n     * @protected\r\n     */\n    noop() {}\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeFooterSummaryClass\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"paginationTypeClass\", [_component.className, _dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"paginationTypeClass\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"summary\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"summary\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"inputId\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"inputId\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doClearFilters\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"doClearFilters\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"noop\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"noop\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/table-body\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/table-body\"], function (_exports, _component, _tableBody) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _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  /**\r\n   * Table body used within [models-table/table](Components.ModelsTableTable.html).\r\n   *\r\n   * Component contains rows for each record, row expands (if provided) and components for situations with missing data or when all columns are hidden.\r\n   *\r\n   Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Body as |Body|>\r\n   *       {{#if MT.allColumnsAreHidden}}\r\n   *         <Body.ColumnsHidden />\r\n   *       {{else}}\r\n   *         {{#if MT.visibleContent.length}}\r\n   *           {{#each MT.visibleContent as |record index|}}\r\n   *             <Body.Row @record={{record}} @index={{index}} />\r\n   *             {{#if (exists-in MT.expandedItems record)}}\r\n   *               <Body.RowExpand @record={{record}} @index={{index}} />\r\n   *             {{/if}}\r\n   *           {{/each}}\r\n   *         {{else}}\r\n   *           <Body.NoData />\r\n   *         {{/if}}\r\n   *       {{/if}}\r\n   *     </Table.Body>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableTableHeader yields references to the following contextual components:\r\n   *\r\n   * * [models-table/columns-hidden](Components.ModelsTableColumnsHidden.html) - component used when all columns are hidden and no data items are shown. Usually it contains a simple message\r\n   * * [models-table/row](Components.ModelsTableRow.html) - component represents each table-body row with a single record.\r\n   * * [models-table/row-expand](Components.ModelsTableRowExpand.html) - component with extra data shown when selected row is expanded\r\n   * * [models-table/row-grouping](Components.ModelsTableRowGrouping.html) - component with grouped property value. Used to toggle row group\r\n   * * [models-table/no-data](Components.ModelsTableNoData.html) - component used when no data provided to the table. Usually it contains a simple message\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n  \r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableTableBody\r\n   * @extends Ember.Component\r\n   */\n  let TableBodyComponent = _exports.default = (_dec = (0, _component.layout)(_tableBody.default), _dec2 = (0, _component.tagName)('tbody'), _dec(_class = _dec2(_class = class TableBodyComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tbody'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.columnsCount](Components.ModelsTableTable.html#property_columnsCount)\r\n       *\r\n       * @property columnsCount\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"columnsCount\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleContent](Components.ModelsTable.html#property_visibleContent)\r\n       *\r\n       * @property visibleContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleContent\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @type number[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedRowComponent](Components.ModelsTable.html#property_expandedRowComponent)\r\n       *\r\n       * @property expandedRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.groupingRowComponent](Components.ModelsTable.html#property_groupingRowComponent)\r\n       *\r\n       * @property groupingRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupingRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.groupSummaryRowComponent](Components.ModelsTable.html#property_groupSummaryRowComponent)\r\n       *\r\n       * @property groupSummaryRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupSummaryRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.allColumnsAreHidden](Components.ModelsTable.html#property_allColumnsAreHidden)\r\n       *\r\n       * @property allColumnsAreHidden\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"allColumnsAreHidden\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.collapsedGroupValues](Components.ModelsTable.html#property_collapsedGroupValues)\r\n       *\r\n       * @property collapsedGroupValues\r\n       * @type array\r\n       * @default null\r\n       */\n      _defineProperty(this, \"collapsedGroupValues\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.dataGroupOptions](Components.ModelsTable.html#property_dataGroupOptions)\r\n       *\r\n       * @property dataGroupOptions\r\n       * @type SelectOption[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"dataGroupOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedVisibleContentValuesOrder](Components.ModelsTable.html#property_groupedVisibleContentValuesOrder)\r\n       *\r\n       * @property groupedVisibleContentValuesOrder\r\n       * @type array\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedVisibleContentValuesOrder\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedVisibleContent](Components.ModelsTable.html#property_groupedVisibleContent)\r\n       *\r\n       * @property groupedVisibleContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedVisibleContent\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedArrangedContent](Components.ModelsTable.html#property_groupedArrangedContent)\r\n       *\r\n       * @property groupedArrangedContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedArrangedContent\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       *\r\n       * @event toggleGroupedRows\r\n       */\n      _defineProperty(this, \"toggleGroupedRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       *\r\n       * @event toggleGroupedRowsSelection\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       *\r\n       * @event toggleGroupedRowsExpands\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsExpands\", null);\n      /**\r\n       * Closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *\r\n       * @event clickOnRow\r\n       */\n      _defineProperty(this, \"clickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.doubleClickOnRow](Components.ModelsTable.html#event_doubleClickOnRow)\r\n       *\r\n       * @event doubleClickOnRow\r\n       */\n      _defineProperty(this, \"doubleClickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.hoverOnRow](Components.ModelsTable.html#event_hoverOnRow)\r\n       *\r\n       * @event hoverOnRow\r\n       */\n      _defineProperty(this, \"hoverOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.outRow](Components.ModelsTable.html#event_outRow)\r\n       *\r\n       * @event outRow\r\n       */\n      _defineProperty(this, \"outRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n    }\n  }) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/table-footer\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/table-footer\"], function (_exports, _component, _tableFooter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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  /**\r\n   * Table footer used within [models-table/table](Components.ModelsTableTable.html).\r\n   *\r\n   * By default it's an empty component. It should be used with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Footer as |Footer|>\r\n   *       {{! ... }}\r\n   *     </Table.Footer>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Block usage example 2:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Footer as |Footer|>\r\n   *        <tr>\r\n   *          <td colspan={{if Footer.shouldAddExtraColumn  (inc MT.visibleProcessedColumns.length) MT.visibleProcessedColumns.length}}>\r\n   *            {{! \"inc\" is a helper from `ember-composable-helpers` }}\r\n   *            Some custom summary for table can be shown in the <code>tfoot</code>\r\n   *          </td>\r\n   *        </tr>\r\n   *      </Table.Footer>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * References to the following properties are yielded:\r\n   *\r\n   * * [shouldAddExtraColumn](Components.ModelsTableTableFooter.html#property_shouldAddExtraColumn) - determines if extra column should be added to the row in the `tfoot`. It happens when rows grouping is used and extra column with group values exists\r\n   *\r\n   * @class ModelsTableTableFooter\r\n   * @extends Ember.Component\r\n   * @namespace Components\r\n   */\n  let TableFooterComponent = _exports.default = (_dec = (0, _component.layout)(_tableFooter.default), _dec2 = (0, _component.tagName)('tfoot'), _dec3 = Ember.computed('displayGroupedValueAs', 'useDataGrouping', 'visibleProcessedColumns.[]'), _dec(_class = _dec2(_class = (_class2 = class TableFooterComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'tfoot'\r\n       */\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Closure action [ModelsTable.goToPage](Components.ModelsTable.html#event_goToPage)\r\n       *\r\n       * @event goToPage\r\n       */\n      _defineProperty(this, \"goToPage\", null);\n      /**\r\n       * Closure action [ModelsTable.clearFilters](Components.ModelsTable.html#event_clearFilters)\r\n       *\r\n       * @event clearFilters\r\n       */\n      _defineProperty(this, \"clearFilters\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n    }\n    /**\r\n     * @property shouldAddExtraColumn\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get shouldAddExtraColumn() {\n      return this.displayGroupedValueAs === 'column' && this.useDataGrouping && !!this.visibleProcessedColumns.length;\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"shouldAddExtraColumn\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldAddExtraColumn\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/table-header\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/table-header\"], function (_exports, _component, _tableHeader) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2;\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  /**\r\n   * Table header used within [models-table/table](Components.ModelsTableTable.html).\r\n   *\r\n   * Component contains grouped headers (if provided) bound from [ModelsTable.groupedHeaders](Components.ModelsTable.html#property_groupedHeaders), row with sorting buttons (usually this row also contains column headers) and row with filter boxes.\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header />\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header as |Header|>\r\n   *       {{#each groupedHeaders as |groupedHeader|}}\r\n   *         <Header.GroupedHeader @groupedHeader={{groupedHeader}} as |GroupedHeader|>\r\n   *           {{#each GroupedHeader.groupedHeader as |cell|}}\r\n   *             <th colspan={{cell.colspan}} rowspan={{cell.rowspan}}>{{cell.title}}</th>\r\n   *           {{/each}}\r\n   *         </Header.GroupedHeader>\r\n   *       {{/each}}\r\n   *       <Header.RowSorting />\r\n   *       <Header.RowFiltering />\r\n   *     </Table.Header>\r\n   *     {{! ... }}\r\n   *   </MT.Table>\r\n   *   {{! .... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableTableHeader yields references to the following contextual components:\r\n   *\r\n   * * [models-table/grouped-header](Components.ModelsTableGroupedHeader.html) - component for groupedHeaders. It should be used for each groupedHeaders item\r\n   * * [models-table/row-sorting](Components.ModelsTableRowSorting.html) - row with columns titles. Click on every cell will sort table data by selected column\r\n   * * [models-table/row-filtering](Components.ModelsTableRowFiltering.html) - row with filter items. Every cell contains input or select-box\r\n   * * [models-table/select-all-rows-checkbox](Components.ModelsTableSelectAllRowsCheckbox.html) - checkbox to select or deselect all rows\r\n   * * [models-table/expand-all-toggle](Components.ModelsTableExpandAllToggle.html) - buttons to expand and collapse all rows\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableTableHeader\r\n   * @extends Ember.Component\r\n   */\n  let TableHeaderComponent = _exports.default = (_dec = (0, _component.layout)(_tableHeader.default), _dec2 = (0, _component.tagName)('thead'), _dec3 = Ember.computed.alias('themeInstance.thead'), _dec4 = (0, _component.className)('table-header-no-filtering-and-sorting'), _dec5 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class TableHeaderComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'thead'\r\n       */\n      /**\r\n       * @property themeTheadClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeTheadClass\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.noHeaderFilteringAndSorting](Components.ModelsTable.html#property_noHeaderFilteringAndSorting)\r\n       *\r\n       * @property noHeaderFilteringAndSorting\r\n       * @type string\r\n       * @default null\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"noHeaderFilteringAndSorting\", _descriptor2, this);\n      /**\r\n       * Bound from [ModelsTable.groupedHeaders](Components.ModelsTable.html#property_groupedHeaders)\r\n       *\r\n       * @property groupedHeaders\r\n       * @type GroupedHeader[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedHeaders\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.processedColumns](Components.ModelsTable.html#property_processedColumns)\r\n       *\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"processedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.useFilteringByColumns](Components.ModelsTable.html#property_useFilteringByColumns)\r\n       *\r\n       * @property useFilteringByColumns\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useFilteringByColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable.groupHeaderCellComponent](Components.ModelsTable.html#property_groupHeaderCellComponent)\r\n       *\r\n       * @property groupHeaderCellComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupHeaderCellComponent\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @default null\r\n       * @type object[]\r\n       */\n      _defineProperty(this, \"data\", null);\n    }\n    /**\r\n     * @event doSort\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @protected\r\n     */\n    doSort(column) {\n      this.sort(column);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeTheadClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"noHeaderFilteringAndSorting\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class2.prototype, \"doSort\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSort\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/table\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/table\"], function (_exports, _component, _table) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _class, _class2, _descriptor, _descriptor2;\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  /**\r\n   * Table with data used within [models-table](Components.ModelsTable.html).\r\n   *\r\n   * Usage example:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table />\r\n   *   {{! ... }}\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * Usage example with a block context:\r\n   *\r\n   * ```hbs\r\n   * <ModelsTable @data={{data}} @columns={{columns}} as |MT|>\r\n   *   <MT.Table as |Table|>\r\n   *     <Table.Header />\r\n   *     <Table.Body />\r\n   *     <Table.Footer />\r\n   *   </MT.Table>\r\n   * </ModelsTable>\r\n   * ```\r\n   *\r\n   * ModelsTableTable yields references to the following contextual components:\r\n   *\r\n   * * [models-table/table-header](Components.ModelsTableTableHeader.html) - table header. Component contains several rows like grouped headers, row with sorting buttons (usually with column titles) and row with filters for each column\r\n   * * [models-table/table-body](Components.ModelsTableTableBody.html) - table body with data. Component contains current page with a subset or rows\r\n   * * [models-table/table-footer](Components.ModelsTableTableFooter.html) - table footer. It's empty by default\r\n   *\r\n   * Check own docs for each component to get detailed info.\r\n   *\r\n   * @namespace Components\r\n   * @class ModelsTableTable\r\n   * @extends Ember.Component\r\n   */\n  let TableComponent = _exports.default = (_dec = (0, _component.layout)(_table.default), _dec2 = (0, _component.tagName)('table'), _dec3 = Ember.computed.alias('themeInstance.table'), _dec4 = Ember.computed.alias('processedColumns.length'), _dec5 = Ember.computed('visibleProcessedColumns.@each.componentForFooterCell'), _dec6 = Ember._action, _dec(_class = _dec2(_class = (_class2 = class TableComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property tagName\r\n       * @type string\r\n       * @default 'table'\r\n       */\n      /**\r\n       * @property themeTableClass\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"themeTableClass\", _descriptor, this);\n      /**\r\n       * Bound from [ModelsTable.noHeaderFilteringAndSorting](Components.ModelsTable.html#property_noHeaderFilteringAndSorting)\r\n       *\r\n       * @property noHeaderFilteringAndSorting\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"noHeaderFilteringAndSorting\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedHeaders](Components.ModelsTable.html#property_groupedHeaders)\r\n       *\r\n       * @property groupedHeaders\r\n       * @type GroupedHeader[][]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedHeaders\", null);\n      /**\r\n       * Bound from [ModelsTable.processedColumns](Components.ModelsTable.html#property_processedColumns)\r\n       *\r\n       * @property processedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"processedColumns\", null);\n      /**\r\n       * Closure action [ModelsTable.sort](Components.ModelsTable.html#event_sort)\r\n       *\r\n       * @event sort\r\n       */\n      _defineProperty(this, \"sort\", null);\n      /**\r\n       * @property columnsCount\r\n       * @type number\r\n       * @default 0\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"columnsCount\", _descriptor2, this);\n      /**\r\n       * Bound from [ModelsTable.visibleContent](Components.ModelsTable.html#property_visibleContent)\r\n       *\r\n       * @property visibleContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleContent\", null);\n      /**\r\n       * Bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       *\r\n       * @property selectedItems\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"selectedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       *\r\n       * @property expandedItems\r\n       * @type number[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"expandedItems\", null);\n      /**\r\n       * Bound from [ModelsTable.visibleProcessedColumns](Components.ModelsTable.html#property_visibleProcessedColumns)\r\n       *\r\n       * @property visibleProcessedColumns\r\n       * @type Utils.ModelsTableColumn[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"visibleProcessedColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.allColumnsAreHidden](Components.ModelsTable.html#property_allColumnsAreHidden)\r\n       *\r\n       * @property allColumnsAreHidden\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"allColumnsAreHidden\", null);\n      /**\r\n       * Bound from [ModelsTable.data](Components.ModelsTable.html#property_data)\r\n       *\r\n       * @property data\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"data\", null);\n      /**\r\n       * Bound from [ModelsTable.useFilteringByColumns](Components.ModelsTable.html#property_useFilteringByColumns)\r\n       *\r\n       * @property useFilteringByColumns\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useFilteringByColumns\", null);\n      /**\r\n       * Bound from [ModelsTable.groupingRowComponent](Components.ModelsTable.html#property_groupingRowComponent)\r\n       *\r\n       * @property groupingRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupingRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.groupSummaryRowComponent](Components.ModelsTable.html#property_groupSummaryRowComponent)\r\n       *\r\n       * @property groupSummaryRowComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupSummaryRowComponent\", null);\n      /**\r\n       * Bound from [ModelsTable.displayGroupedValueAs](Components.ModelsTable.html#property_displayGroupedValueAs)\r\n       *\r\n       * @property displayGroupedValueAs\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"displayGroupedValueAs\", null);\n      /**\r\n       * Bound from [ModelsTable.currentGroupingPropertyName](Components.ModelsTable.html#property_currentGroupingPropertyName)\r\n       *\r\n       * @property currentGroupingPropertyName\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"currentGroupingPropertyName\", null);\n      /**\r\n       * Bound from [ModelsTable._collapsedGroupValues](Components.ModelsTable.html#property_collapsedGroupValues)\r\n       *\r\n       * @property collapsedGroupValues\r\n       * @type array\r\n       * @default null\r\n       */\n      _defineProperty(this, \"collapsedGroupValues\", null);\n      /**\r\n       * Bound from [ModelsTable.dataGroupOptions](Components.ModelsTable.html#property_dataGroupOptions)\r\n       *\r\n       * @property dataGroupOptions\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"dataGroupOptions\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedVisibleContentValuesOrder](Components.ModelsTable.html#property_groupedVisibleContentValuesOrder)\r\n       *\r\n       * @property groupedVisibleContentValuesOrder\r\n       * @type array\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedVisibleContentValuesOrder\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedVisibleContent](Components.ModelsTable.html#property_groupedVisibleContent)\r\n       *\r\n       * @property groupedVisibleContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedVisibleContent\", null);\n      /**\r\n       * Bound from [ModelsTable.groupedArrangedContent](Components.ModelsTable.html#property_groupedArrangedContent)\r\n       *\r\n       * @property groupedArrangedContent\r\n       * @type object[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupedArrangedContent\", null);\n      /**\r\n       * Bound from [ModelsTable.useDataGrouping](Components.ModelsTable.html#property_useDataGrouping)\r\n       *\r\n       * @property useDataGrouping\r\n       * @type boolean\r\n       * @default null\r\n       */\n      _defineProperty(this, \"useDataGrouping\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRows](Components.ModelsTable.html#event_toggleGroupedRows)\r\n       *\r\n       * @event toggleGroupedRows\r\n       */\n      _defineProperty(this, \"toggleGroupedRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsSelection](Components.ModelsTable.html#event_toggleGroupedRowsSelection)\r\n       *\r\n       * @event toggleGroupedRowsSelection\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsSelection\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleGroupedRowsExpands](Components.ModelsTable.html#event_toggleGroupedRowsExpands)\r\n       *\r\n       * @event toggleGroupedRowsExpands\r\n       */\n      _defineProperty(this, \"toggleGroupedRowsExpands\", null);\n      /**\r\n       * Closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *\r\n       * @event clickOnRow\r\n       */\n      _defineProperty(this, \"clickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.doubleClickOnRow](Components.ModelsTable.html#event_doubleClickOnRow)\r\n       *\r\n       * @event doubleClickOnRow\r\n       */\n      _defineProperty(this, \"doubleClickOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.hoverOnRow](Components.ModelsTable.html#event_hoverOnRow)\r\n       *\r\n       * @event hoverOnRow\r\n       */\n      _defineProperty(this, \"hoverOnRow\", null);\n      /**\r\n       * Closure action [ModelsTable.outRow](Components.ModelsTable.html#event_outRow)\r\n       *\r\n       * @event outRow\r\n       */\n      _defineProperty(this, \"outRow\", null);\n      /**\r\n       * Bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *\r\n       * @property themeInstance\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"themeInstance\", null);\n      /**\r\n       * Bound from [ModelsTable.groupHeaderCellComponent](Components.ModelsTable.html#property_groupHeaderCellComponent)\r\n       *\r\n       * @property groupHeaderCellComponent\r\n       * @type object\r\n       * @default null\r\n       */\n      _defineProperty(this, \"groupHeaderCellComponent\", null);\n      /**\r\n       * Closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *\r\n       * @event expandRow\r\n       */\n      _defineProperty(this, \"expandRow\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *\r\n       * @event collapseRow\r\n       */\n      _defineProperty(this, \"collapseRow\", null);\n      /**\r\n       * Closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *\r\n       * @event expandAllRows\r\n       */\n      _defineProperty(this, \"expandAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *\r\n       * @event collapseAllRows\r\n       */\n      _defineProperty(this, \"collapseAllRows\", null);\n      /**\r\n       * Closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @event toggleAllSelection\r\n       */\n      _defineProperty(this, \"toggleAllSelection\", null);\n    }\n    /**\r\n     * @property showTableFooter\r\n     * @type boolean\r\n     * @default false\r\n     * @protected\r\n     */\n    get showTableFooter() {\n      return Ember.A(this.visibleProcessedColumns).isAny('componentForFooterCell');\n    }\n\n    /**\r\n     * @event doSort\r\n     * @param {Utils.ModelsTableColumn} column\r\n     * @protected\r\n     */\n    doSort(column) {\n      this.sort(column);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"themeTableClass\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"columnsCount\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"showTableFooter\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"showTableFooter\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"doSort\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"doSort\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/themes/bootstrap3/row-select-all-checkbox\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/bootstrap3/row-select-all-checkbox\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-select-all-checkbox\"], function (_exports, _rowSelectAllCheckbox, _component, _rowSelectAllCheckbox2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Bs3ModelsTableRowSelectAllCheckbox\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowSelectAllCheckbox\r\n   */\n  let Bs3ModelsTableRowSelectAllCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectAllCheckbox.default), _dec(_class = class Bs3ModelsTableRowSelectAllCheckboxComponent extends _rowSelectAllCheckbox2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/bootstrap4/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/columns-dropdown\", \"ember-models-table/templates/components/models-table/themes/bootstrap4/columns-dropdown\"], function (_exports, _component, _columnsDropdown, _columnsDropdown2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Bs4ModelsTableColumnsDropdown\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   */\n  let Bs4ModelsTableColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown2.default), _dec(_class = class Bs4ModelsTableColumnsDropdownComponent extends _columnsDropdown.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/bootstrap4/data-group-by-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/themes/bootstrap4/data-group-by-select\", \"ember-models-table/components/models-table/data-group-by-select\"], function (_exports, _component, _dataGroupBySelect, _dataGroupBySelect2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Bs4ModelsTableDataGroupBySelect\r\n   * @extends Components.ModelsTableDataGroupBySelect\r\n   * @namespace Components\r\n   */\n  let Bs4ModelsTableDataGroupBySelectComponent = _exports.default = (_dec = (0, _component.layout)(_dataGroupBySelect.default), _dec(_class = class Bs4ModelsTableDataGroupBySelectComponent extends _dataGroupBySelect2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/bootstrap4/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/themes/bootstrap4/global-filter\", \"ember-models-table/components/models-table/global-filter\"], function (_exports, _component, _globalFilter, _globalFilter2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Bs4ModelsTableGlobalFilter\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableGlobalFilter\r\n   */\n  let Bs4ModelsTableGlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter.default), _dec(_class = class Bs4ModelsTableGlobalFilterComponent extends _globalFilter2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/bootstrap4/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-filtering-cell\", \"ember-models-table/templates/components/models-table/themes/bootstrap4/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell, _rowFilteringCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Bs4ModelsTableRowFilteringCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowFilteringCell\r\n   */\n  let Bs4ModelsTableRowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell2.default), _dec(_class = class Bs4ModelsTableRowFilteringCellComponent extends _rowFilteringCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/columns-dropdown\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/columns-dropdown\"], function (_exports, _component, _columnsDropdown, _columnsDropdown2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   */\n  let Ebs3ModelsTableColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown2.default), _dec(_class = class Ebs3ModelsTableColumnsDropdownComponent extends _columnsDropdown.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/data-group-by-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/data-group-by-select\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/data-group-by-select\"], function (_exports, _component, _dataGroupBySelect, _dataGroupBySelect2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableDataGroupBySelect\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableDataGroupBySelect\r\n   */\n  let Ebs4ModelsTableDataGroupBySelectComponent = _exports.default = (_dec = (0, _component.layout)(_dataGroupBySelect2.default), _dec(_class = class Ebs4ModelsTableDataGroupBySelectComponent extends _dataGroupBySelect.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/global-filter\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/global-filter\"], function (_exports, _component, _globalFilter, _globalFilter2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableGlobalFilter\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableGlobalFilter\r\n   */\n  let Ebs4ModelsTableGlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter2.default), _dec(_class = class Ebs4ModelsTableGlobalFilterComponent extends _globalFilter.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-filtering-cell\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell, _rowFilteringCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableRowFilteringCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowFilteringCell\r\n   */\n  let Ebs3ModelsTableRowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell2.default), _dec(_class = class Ebs3ModelsTableRowFilteringCellComponent extends _rowFilteringCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-select-all-checkbox\"], function (_exports, _rowSelectAllCheckbox, _component, _rowSelectAllCheckbox2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableRowSelectAllCheckbox\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowSelectAllCheckbox\r\n   */\n  let Ebs3ModelsTableRowSelectAllCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectAllCheckbox.default), _dec(_class = class Ebs3ModelsTableRowSelectAllCheckboxComponent extends _rowSelectAllCheckbox2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v3/summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/summary\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/summary\"], function (_exports, _component, _summary, _summary2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs3ModelsTableSummary\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableSummary\r\n   */\n  let Ebs3ModelsTableSummaryComponent = _exports.default = (_dec = (0, _component.layout)(_summary2.default), _dec(_class = class Ebs3ModelsTableSummaryComponent extends _summary.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v4/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/columns-dropdown\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/columns-dropdown\"], function (_exports, _component, _columnsDropdown, _columnsDropdown2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs4ModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   */\n  let Ebs4ModelsTableColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown2.default), _dec(_class = class Ebs4ModelsTableColumnsDropdownComponent extends _columnsDropdown.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v4/data-group-by-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/data-group-by-select\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/data-group-by-select\"], function (_exports, _component, _dataGroupBySelect, _dataGroupBySelect2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs4ModelsTableDataGroupBySelect\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableDataGroupBySelect\r\n   */\n  let Ebs4ModelsTableDataGroupBySelectComponent = _exports.default = (_dec = (0, _component.layout)(_dataGroupBySelect2.default), _dec(_class = class Ebs4ModelsTableDataGroupBySelectComponent extends _dataGroupBySelect.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v4/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/global-filter\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/global-filter\"], function (_exports, _component, _globalFilter, _globalFilter2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs4ModelsTableGlobalFilter\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableGlobalFilter\r\n   */\n  let Ebs4ModelsTableGlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter2.default), _dec(_class = class Ebs4ModelsTableGlobalFilterComponent extends _globalFilter.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-filtering-cell\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell, _rowFilteringCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs4ModelsTableRowFilteringCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowFilteringCell\r\n   */\n  let Ebs4ModelsTableRowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell2.default), _dec(_class = class Ebs4ModelsTableRowFilteringCellComponent extends _rowFilteringCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-bootstrap-v4/summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/summary\", \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/summary\"], function (_exports, _component, _summary, _summary2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class Ebs4ModelsTableSummary\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableSummary\r\n   */\n  let Ebs4ModelsTableSummaryComponent = _exports.default = (_dec = (0, _component.layout)(_summary2.default), _dec(_class = class Ebs4ModelsTableSummaryComponent extends _summary.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/cell-content-edit\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/cell-content-edit\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/cell-content-edit\"], function (_exports, _cellContentEdit, _component, _cellContentEdit2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableCellContentEdit\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableCellContentEdit\r\n   */\n  let EpModelsTableCellContentEditComponent = _exports.default = (_dec = (0, _component.layout)(_cellContentEdit.default), _dec(_class = class EpModelsTableCellContentEditComponent extends _cellContentEdit2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/cell-edit-toggle\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/cell-edit-toggle\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/cell-edit-toggle\"], function (_exports, _cellEditToggle, _component, _cellEditToggle2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   */\n  let EpModelsTableCellEditToggleComponent = _exports.default = (_dec = (0, _component.layout)(_cellEditToggle.default), _dec(_class = class EpModelsTableCellEditToggleComponent extends _cellEditToggle2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/columns-dropdown\", \"ember-models-table/templates/components/models-table/themes/ember-paper/columns-dropdown\"], function (_exports, _component, _columnsDropdown, _columnsDropdown2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _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  /**\r\n   * @class EpModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   */\n  let EpModelsTableColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown2.default), _dec2 = Ember.computed.alias('themeInstance.columnsDropdownWrapper'), _dec(_class = (_class2 = class EpModelsTableColumnsDropdownComponent extends _columnsDropdown.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"columnsDropdownWrapper\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"columnsDropdownWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/data-group-by-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/data-group-by-select\", \"ember-models-table/templates/components/models-table/themes/ember-paper/data-group-by-select\"], function (_exports, _component, _dataGroupBySelect, _dataGroupBySelect2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _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  /**\r\n   * @class EpModelsTableDataGroupBySelect\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableDataGroupBySelect\r\n   */\n  let EpModelsTableDataGroupBySelectComponent = _exports.default = (_dec = (0, _component.layout)(_dataGroupBySelect2.default), _dec2 = Ember.computed.alias('themeInstance.dataGroupBySelectWrapper'), _dec(_class = (_class2 = class EpModelsTableDataGroupBySelectComponent extends _dataGroupBySelect.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"dataGroupBySelectWrapper\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"dataGroupBySelectWrapper\", [_component.className, _dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/expand-all-toggle\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/expand-all-toggle\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/expand-all-toggle\"], function (_exports, _expandAllToggle, _component, _expandAllToggle2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableExpandAllToggle\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableExpandAllToggle\r\n   */\n  let EpModelsTableExpandAllToggleComponent = _exports.default = (_dec = (0, _component.layout)(_expandAllToggle.default), _dec(_class = class EpModelsTableExpandAllToggleComponent extends _expandAllToggle2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/expand-toggle\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/expand-toggle\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/expand-toggle\"], function (_exports, _expandToggle, _component, _expandToggle2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableExpandToggle\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableExpandToggle\r\n   */\n  let EpModelsTableExpandToggleComponent = _exports.default = (_dec = (0, _component.layout)(_expandToggle.default), _dec(_class = class EpModelsTableExpandToggleComponent extends _expandToggle2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/global-filter\", \"ember-models-table/templates/components/models-table/themes/ember-paper/global-filter\"], function (_exports, _component, _globalFilter, _globalFilter2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _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  /**\r\n   * @class EpModelsTableGlobalFilter\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableGlobalFilter\r\n   */\n  let EpModelsTableGlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter2.default), _dec2 = (0, _component.classNames)('globalSearch'), _dec3 = Ember.computed.alias('themeInstance.globalFilterWrapper'), _dec(_class = _dec2(_class = (_class2 = class EpModelsTableGlobalFilterComponent extends _globalFilter.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property globalFilterWrapper\r\n       * @type string\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"globalFilterWrapper\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"globalFilterWrapper\", [_component.className, _dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/page-size-select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/page-size-select\", \"ember-models-table/templates/components/models-table/themes/ember-paper/page-size-select\"], function (_exports, _component, _pageSizeSelect, _pageSizeSelect2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTablePageSizeSelect\r\n   * @namespace Components\r\n   * @extends Components.ModelsTablePageSizeSelect\r\n   */\n  let EpModelsTablePageSizeSelectComponent = _exports.default = (_dec = (0, _component.layout)(_pageSizeSelect2.default), _dec(_class = class EpModelsTablePageSizeSelectComponent extends _pageSizeSelect.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/pagination-numeric\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/pagination-numeric\", \"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-numeric\"], function (_exports, _component, _paginationNumeric, _paginationNumeric2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTablePaginationNumeric\r\n   * @namespace Components\r\n   * @extends Components.ModelsTablePaginationNumeric\r\n   */\n  let EpModelsTablePaginationNumericComponent = _exports.default = (_dec = (0, _component.layout)(_paginationNumeric2.default), _dec(_class = class EpModelsTablePaginationNumericComponent extends _paginationNumeric.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/pagination-simple\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/pagination-simple\", \"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-simple\"], function (_exports, _component, _paginationSimple, _paginationSimple2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTablePaginationSimple\r\n   * @namespace Components\r\n   * @extends Components.ModelsTablePaginationSimple\r\n   */\n  let EpModelsTablePaginationSimpleComponent = _exports.default = (_dec = (0, _component.layout)(_paginationSimple2.default), _dec(_class = class EpModelsTablePaginationSimpleComponent extends _paginationSimple.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-filtering-cell\", \"ember-models-table/templates/components/models-table/themes/ember-paper/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell, _rowFilteringCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableRowFilteringCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowFilteringCell\r\n   */\n  let EpModelsTableRowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell2.default), _dec(_class = class EpModelsTableRowFilteringCellComponent extends _rowFilteringCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/row-select-all-checkbox\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-all-checkbox\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-select-all-checkbox\"], function (_exports, _rowSelectAllCheckbox, _component, _rowSelectAllCheckbox2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableRowSelectAllCheckbox\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowSelectAllCheckbox\r\n   */\n  let EpModelsTableRowSelectAllCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectAllCheckbox.default), _dec(_class = class EpModelsTableRowSelectAllCheckboxComponent extends _rowSelectAllCheckbox2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/row-select-checkbox\", [\"exports\", \"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-checkbox\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-select-checkbox\"], function (_exports, _rowSelectCheckbox, _component, _rowSelectCheckbox2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableRowSelectCheckbox\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowSelectCheckbox\r\n   */\n  let EpModelsTableRowSelectCheckboxComponent = _exports.default = (_dec = (0, _component.layout)(_rowSelectCheckbox.default), _dec(_class = class EpModelsTableRowSelectCheckboxComponent extends _rowSelectCheckbox2.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/row-sorting-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-sorting-cell\", \"ember-models-table/templates/components/models-table/themes/ember-paper/row-sorting-cell\"], function (_exports, _component, _rowSortingCell, _rowSortingCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableRowSortingCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowSortingCell\r\n   */\n  let EpModelsTableRowSortingCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowSortingCell2.default), _dec(_class = class EpModelsTableRowSortingCellComponent extends _rowSortingCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/select\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/templates/components/models-table/themes/ember-paper/select\"], function (_exports, _component, _select) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2, _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  /**\r\n   * @class EpModelsTableSelect\r\n   * @namespace Components\r\n   * @extends Ember.Component\r\n   */\n  let SelectComponent = _exports.default = (_dec = (0, _component.layout)(_select.default), _dec2 = Ember.computed.empty('options'), _dec3 = Ember._action, _dec(_class = (_class2 = class SelectComponent extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property disabled\r\n       * @type boolean\r\n       * @default true\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"disabled\", _descriptor, this);\n      /**\r\n       * @property label\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"label\", '');\n      /**\r\n       * @property clearable\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"clearable\", false);\n      /**\r\n       * @property wide\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"wide\", false);\n    }\n    /**\r\n     * @event updateValue\r\n     * @param {*} val\r\n     * @protected\r\n     */\n    updateValue(val) {\n      let v = 'value' in val ? val.value : val;\n      if (this.type === 'number') {\n        v = +v;\n      }\n      Ember.set(this, 'value', v);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"disabled\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"updateValue\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"updateValue\"), _class2.prototype), _class2)) || _class);\n});","define(\"ember-models-table/components/models-table/themes/ember-paper/summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/summary\", \"ember-models-table/templates/components/models-table/themes/ember-paper/summary\"], function (_exports, _component, _summary, _summary2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class EpModelsTableSummary\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableSummary\r\n   */\n  let EpModelsTableSummaryComponent = _exports.default = (_dec = (0, _component.layout)(_summary2.default), _dec(_class = class EpModelsTableSummaryComponent extends _summary.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/plain-html/columns-dropdown\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/columns-dropdown\", \"ember-models-table/templates/components/models-table/themes/plain-html/columns-dropdown\"], function (_exports, _component, _columnsDropdown, _columnsDropdown2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class PlainHtmlModelsTableColumnsDropdown\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableColumnsDropdown\r\n   */\n  let PlainHtmlModelsTableColumnsDropdownComponent = _exports.default = (_dec = (0, _component.layout)(_columnsDropdown2.default), _dec(_class = class PlainHtmlModelsTableColumnsDropdownComponent extends _columnsDropdown.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/plain-html/global-filter\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/global-filter\", \"ember-models-table/templates/components/models-table/themes/plain-html/global-filter\"], function (_exports, _component, _globalFilter, _globalFilter2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class PlainHtmlModelsTableGlobalFilter\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableGlobalFilter\r\n   */\n  let PlainHtmlModelsTableGlobalFilterComponent = _exports.default = (_dec = (0, _component.layout)(_globalFilter2.default), _dec(_class = class PlainHtmlModelsTableGlobalFilterComponent extends _globalFilter.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/plain-html/row-filtering-cell\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/row-filtering-cell\", \"ember-models-table/templates/components/models-table/themes/plain-html/row-filtering-cell\"], function (_exports, _component, _rowFilteringCell, _rowFilteringCell2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class PlainHtmlModelsTableRowFilteringCell\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableRowFilteringCell\r\n   */\n  let PlainHtmlModelsTableRowFilteringCellComponent = _exports.default = (_dec = (0, _component.layout)(_rowFilteringCell2.default), _dec(_class = class PlainHtmlModelsTableRowFilteringCellComponent extends _rowFilteringCell.default {}) || _class);\n});","define(\"ember-models-table/components/models-table/themes/plain-html/summary\", [\"exports\", \"@ember-decorators/component\", \"ember-models-table/components/models-table/summary\", \"ember-models-table/templates/components/models-table/themes/plain-html/summary\"], function (_exports, _component, _summary, _summary2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class;\n  /**\r\n   * @class PlainHtmlModelsTableSummary\r\n   * @namespace Components\r\n   * @extends Components.ModelsTableSummary\r\n   */\n  let PlainHtmlModelsTableSummaryComponent = _exports.default = (_dec = (0, _component.layout)(_summary2.default), _dec(_class = class PlainHtmlModelsTableSummaryComponent extends _summary.default {}) || _class);\n});","define(\"ember-models-table/constants/sort-constants\", [\"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    ASC: 'asc',\n    DESC: 'desc',\n    NONE: 'none'\n  };\n});","define(\"ember-models-table/helpers/and\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.and = and;\n  _exports.default = void 0;\n  function and(params /*, hash*/) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if (!params[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  var _default = _exports.default = Ember.Helper.helper(and);\n});","define(\"ember-models-table/helpers/exists-in\", [\"exports\", \"@ember-decorators/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _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  let ExistsInEmberObject = _exports.default = (_dec = Ember.computed('needle', 'haystack.[]'), _dec2 = (0, _object.observes)('content'), _class = class ExistsInEmberObject extends Ember.Helper {\n    get content() {\n      const {\n        needle,\n        haystack\n      } = this;\n      return Ember.isArray(haystack) ? haystack.includes(needle) : false;\n    }\n    compute([haystack, needle]) {\n      Ember.set(this, 'needle', needle);\n      Ember.set(this, 'haystack', haystack);\n      return this.content;\n    }\n    contentDidChange() {\n      this.recompute();\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"content\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"content\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"contentDidChange\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"contentDidChange\"), _class.prototype), _class);\n});","define(\"ember-models-table/helpers/html-safe\", [\"exports\"], function (_exports) {\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([str] /*, hash*/) {\n    return Ember.String.htmlSafe(str || '');\n  }\n  var _default = _exports.default = Ember.Helper.helper(htmlSafe);\n});","define(\"ember-models-table/helpers/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.isEqual = isEqual;\n  function isEqual([left, right, type] /*, hash*/) {\n    if (type === 'number') {\n      return Number(left) === Number(right);\n    }\n    return left === right;\n  }\n  var _default = _exports.default = Ember.Helper.helper(isEqual);\n});","define(\"ember-models-table/helpers/not-eq\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.notEq = notEq;\n  function notEq([v1, v2] /*, hash*/) {\n    return v1 !== v2;\n  }\n  var _default = _exports.default = Ember.Helper.helper(notEq);\n});","define(\"ember-models-table/helpers/option-is-object\", [\"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.Helper.helper(function optionIsObject([val] /*, hash*/) {\n    return Ember.typeOf(val) === 'instance' || Ember.typeOf(val) === 'object';\n  });\n});","define(\"ember-models-table/helpers/stringify\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.stringify = stringify;\n  function stringify([val] /*, hash*/) {\n    return JSON.stringify(val);\n  }\n  var _default = _exports.default = Ember.Helper.helper(stringify);\n});","define(\"ember-models-table/initializers/emt-themes\", [\"exports\", \"ember-models-table/themes/default\", \"ember-models-table/themes/bootstrap3\", \"ember-models-table/themes/bootstrap4\", \"ember-models-table/themes/ember-bootstrap-v3\", \"ember-models-table/themes/ember-bootstrap-v4\", \"ember-models-table/themes/ember-paper\", \"ember-models-table/themes/plain-html\"], function (_exports, _default2, _bootstrap, _bootstrap2, _emberBootstrapV, _emberBootstrapV2, _emberPaper, _plainHtml) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize(application) {\n    application.register('emt-theme:default', _default2.default, {\n      singleton: false\n    });\n    application.register('emt-theme:bootstrap3', _bootstrap.default, {\n      singleton: false\n    });\n    application.register('emt-theme:bootstrap4', _bootstrap2.default, {\n      singleton: false\n    });\n    application.register('emt-theme:ember-bootstrap-v3', _emberBootstrapV.default, {\n      singleton: false\n    });\n    application.register('emt-theme:ember-bootstrap-v4', _emberBootstrapV2.default, {\n      singleton: false\n    });\n    application.register('emt-theme:ember-paper', _emberPaper.default, {\n      singleton: false\n    });\n    application.register('emt-theme:plain-html', _plainHtml.default, {\n      singleton: false\n    });\n  }\n  var _default = _exports.default = {\n    name: 'emt-themes',\n    initialize\n  };\n});","define(\"ember-models-table/instance-initializers/emt-inject\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize(appInstance) {\n    appInstance.inject('component:models-table', 'themeInstance', 'theme:bootstrap3');\n    appInstance.inject('component:models-table-server-paginated', 'themeInstance', 'theme:bootstrap3');\n  }\n  var _default = _exports.default = {\n    name: 'emt-inject',\n    initialize\n  };\n});","define(\"ember-models-table/templates/components/models-table\", [\"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\": \"CQLwdDsD\",\n    \"block\": \"{\\\"symbols\\\":[\\\"ModelsTable\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],null,[[\\\"GlobalFilter\\\",\\\"ColumnsDropdown\\\",\\\"Table\\\",\\\"DataGroupBySelect\\\",\\\"Footer\\\",\\\"Summary\\\",\\\"PageSizeSelect\\\",\\\"PaginationNumeric\\\",\\\"PaginationSimple\\\",\\\"isLoading\\\",\\\"isError\\\",\\\"publicAPI\\\",\\\"groupedHeaders\\\",\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"visibleContent\\\",\\\"sortByGroupedFieldDirection\\\",\\\"groupedVisibleContent\\\",\\\"groupedVisibleContentValuesOrder\\\",\\\"groupedArrangedContent\\\",\\\"displayGroupedValueAs\\\",\\\"useDataGrouping\\\",\\\"anyFilterUsed\\\",\\\"currentGroupingPropertyName\\\",\\\"collapsedGroupValues\\\",\\\"globalFilter\\\",\\\"globalFilterUsed\\\",\\\"useFilteringByColumns\\\",\\\"pagesCount\\\",\\\"recordsCount\\\",\\\"firstIndex\\\",\\\"lastIndex\\\",\\\"pageSize\\\",\\\"currentPageNumber\\\",\\\"pageSizeOptions\\\",\\\"currentPageNumberOptions\\\",\\\"columnDropdownOptions\\\",\\\"allColumnsAreHidden\\\",\\\"dataGroupOptions\\\",\\\"themeInstance\\\",\\\"expandedItems\\\",\\\"selectedItems\\\",\\\"showAllColumns\\\",\\\"hideAllColumns\\\",\\\"restoreDefaultVisibility\\\",\\\"toggleColumnSetVisilibity\\\",\\\"toggleColumnVisibility\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\",\\\"clickOnRow\\\",\\\"goToPage\\\",\\\"clearFilters\\\",\\\"sort\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"toggleGroupedRows\\\",\\\"doubleClickOnRow\\\",\\\"hoverOnRow\\\",\\\"outRow\\\"],[[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"globalFilterComponent\\\"]]],[[\\\"value\\\",\\\"globalFilterUsed\\\",\\\"themeInstance\\\"],[[32,0,[\\\"filterString\\\"]],[32,0,[\\\"globalFilterUsed\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownComponent\\\"]]],[[\\\"processedColumns\\\",\\\"columnDropdownOptions\\\",\\\"themeInstance\\\",\\\"showAllColumns\\\",\\\"hideAllColumns\\\",\\\"restoreDefaultVisibility\\\",\\\"toggleColumnSet\\\",\\\"toggleHidden\\\"],[[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"columnDropdownOptions\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"showAllColumns\\\"]],[32,0,[\\\"hideAllColumns\\\"]],[32,0,[\\\"restoreDefaultVisibility\\\"]],[32,0,[\\\"toggleColumnSet\\\"]],[32,0,[\\\"toggleHidden\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"tableComponent\\\"]]],[[\\\"noHeaderFilteringAndSorting\\\",\\\"groupedHeaders\\\",\\\"sort\\\",\\\"visibleContent\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"expandedRowComponent\\\",\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"useFilteringByColumns\\\",\\\"allColumnsAreHidden\\\",\\\"displayGroupedValueAs\\\",\\\"collapsedGroupValues\\\",\\\"currentGroupingPropertyName\\\",\\\"groupingRowComponent\\\",\\\"groupSummaryRowComponent\\\",\\\"dataGroupOptions\\\",\\\"groupedVisibleContentValuesOrder\\\",\\\"groupedVisibleContent\\\",\\\"groupedArrangedContent\\\",\\\"groupHeaderCellComponent\\\",\\\"useDataGrouping\\\",\\\"clickOnRow\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"toggleGroupedRows\\\",\\\"doubleClickOnRow\\\",\\\"hoverOnRow\\\",\\\"outRow\\\",\\\"data\\\",\\\"themeInstance\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"noHeaderFilteringAndSorting\\\"]],[32,0,[\\\"groupedHeaders\\\"]],[32,0,[\\\"sort\\\"]],[32,0,[\\\"visibleContent\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"expandedRowComponent\\\"]],[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"useFilteringByColumns\\\"]],[32,0,[\\\"allColumnsAreHidden\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"collapsedGroupValues\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"groupSummaryRowComponent\\\"]],[32,0,[\\\"dataGroupOptions\\\"]],[32,0,[\\\"groupedVisibleContentValuesOrder\\\"]],[32,0,[\\\"groupedVisibleContent\\\"]],[32,0,[\\\"groupedArrangedContent\\\"]],[32,0,[\\\"groupHeaderCellComponent\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]],[32,0,[\\\"doubleClickOnRow\\\"]],[32,0,[\\\"hoverOnRow\\\"]],[32,0,[\\\"outRow\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"dataGroupBySelectComponent\\\"]]],[[\\\"value\\\",\\\"currentGroupingPropertyName\\\",\\\"themeInstance\\\",\\\"options\\\",\\\"sortByGroupedFieldDirection\\\",\\\"sort\\\"],[[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"dataGroupOptions\\\"]],[32,0,[\\\"sortByGroupedFieldDirection\\\"]],[32,0,[\\\"sort\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"footerComponent\\\"]]],[[\\\"collapseNumPaginationForPagesCount\\\",\\\"firstIndex\\\",\\\"lastIndex\\\",\\\"recordsCount\\\",\\\"anyFilterUsed\\\",\\\"pageSizeOptions\\\",\\\"currentPageNumberOptions\\\",\\\"pageSize\\\",\\\"currentPageNumber\\\",\\\"showCurrentPageNumberSelect\\\",\\\"pagesCount\\\",\\\"showPageSize\\\",\\\"useNumericPagination\\\",\\\"goToPage\\\",\\\"clearFilters\\\",\\\"themeInstance\\\"],[[32,0,[\\\"collapseNumPaginationForPagesCount\\\"]],[32,0,[\\\"firstIndex\\\"]],[32,0,[\\\"lastIndex\\\"]],[32,0,[\\\"arrangedContentLength\\\"]],[32,0,[\\\"anyFilterUsed\\\"]],[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"showCurrentPageNumberSelect\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"showPageSize\\\"]],[32,0,[\\\"useNumericPagination\\\"]],[32,0,[\\\"gotoCustomPage\\\"]],[32,0,[\\\"clearFilters\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"summaryComponent\\\"]]],[[\\\"firstIndex\\\",\\\"lastIndex\\\",\\\"recordsCount\\\",\\\"anyFilterUsed\\\",\\\"themeInstance\\\",\\\"clearFilters\\\",\\\"useNumericPagination\\\"],[[32,0,[\\\"firstIndex\\\"]],[32,0,[\\\"lastIndex\\\"]],[32,0,[\\\"arrangedContentLength\\\"]],[32,0,[\\\"anyFilterUsed\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"clearFilters\\\"]],[32,0,[\\\"useNumericPagination\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"pageSizeSelectComponent\\\"]]],[[\\\"type\\\",\\\"pageSizeOptions\\\",\\\"pageSize\\\",\\\"themeInstance\\\"],[\\\"number\\\",[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"paginationNumericComponent\\\"]]],[[\\\"currentPageNumber\\\",\\\"collapseNumPaginationForPagesCount\\\",\\\"recordsCount\\\",\\\"pageSize\\\",\\\"currentPageNumberOptions\\\",\\\"pagesCount\\\",\\\"themeInstance\\\",\\\"showCurrentPageNumberSelect\\\",\\\"goToPage\\\"],[[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"collapseNumPaginationForPagesCount\\\"]],[32,0,[\\\"arrangedContentLength\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"showCurrentPageNumberSelect\\\"]],[32,0,[\\\"gotoCustomPage\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"paginationSimpleComponent\\\"]]],[[\\\"currentPageNumber\\\",\\\"recordsCount\\\",\\\"pagesCount\\\",\\\"currentPageNumberOptions\\\",\\\"pageSize\\\",\\\"themeInstance\\\",\\\"showCurrentPageNumberSelect\\\",\\\"goToPage\\\"],[[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"arrangedContentLength\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"showCurrentPageNumberSelect\\\"]],[32,0,[\\\"gotoCustomPage\\\"]]]]],[32,0,[\\\"isLoading\\\"]],[32,0,[\\\"isError\\\"]],[32,0,[\\\"publicAPI\\\"]],[32,0,[\\\"groupedHeaders\\\"]],[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"visibleContent\\\"]],[32,0,[\\\"sortByGroupedFieldDirection\\\"]],[32,0,[\\\"groupedVisibleContent\\\"]],[32,0,[\\\"groupedVisibleContentValuesOrder\\\"]],[32,0,[\\\"groupedArrangedContent\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"anyFilterUsed\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"collapsedGroupValues\\\"]],[32,0,[\\\"filterString\\\"]],[32,0,[\\\"globalFilterUsed\\\"]],[32,0,[\\\"useFilteringByColumns\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"arrangedContentLength\\\"]],[32,0,[\\\"firstIndex\\\"]],[32,0,[\\\"lastIndex\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"columnDropdownOptions\\\"]],[32,0,[\\\"allColumnsAreHidden\\\"]],[32,0,[\\\"dataGroupOptions\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"showAllColumns\\\"]],[32,0,[\\\"hideAllColumns\\\"]],[32,0,[\\\"restoreDefaultVisibility\\\"]],[32,0,[\\\"toggleColumnSet\\\"]],[32,0,[\\\"toggleHidden\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"gotoCustomPage\\\"]],[32,0,[\\\"clearFilters\\\"]],[32,0,[\\\"sort\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]],[32,0,[\\\"doubleClickOnRow\\\"]],[32,0,[\\\"hoverOnRow\\\"]],[32,0,[\\\"outRow\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"headerWrapper\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showGlobalFilter\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"GlobalFilter\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"useDataGrouping\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"DataGroupBySelect\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"showColumnsDropdown\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"ColumnsDropdown\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"models-table-clear\\\"],[12],[13],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Table\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showComponentFooter\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"Footer\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/cell-column-summary\", [\"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\": \"i+up7tOd\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[30,[36,0],null,[[\\\"minSelected\\\",\\\"maxSelected\\\",\\\"sumSelected\\\",\\\"avgSelected\\\",\\\"medianSelected\\\",\\\"minData\\\",\\\"maxData\\\",\\\"sumData\\\",\\\"avgData\\\",\\\"medianData\\\"],[[32,0,[\\\"minSelected\\\"]],[32,0,[\\\"maxSelected\\\"]],[32,0,[\\\"sumSelected\\\"]],[32,0,[\\\"avgSelected\\\"]],[32,0,[\\\"medianSelected\\\"]],[32,0,[\\\"minData\\\"]],[32,0,[\\\"maxData\\\"]],[32,0,[\\\"sumData\\\"]],[32,0,[\\\"avgData\\\"]],[32,0,[\\\"medianData\\\"]]]]]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/cell-column-summary.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/cell-content-display\", [\"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\": \"h2KTb+by\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,0],[[32,0,[\\\"record\\\"]],[32,0,[\\\"column\\\",\\\"propertyName\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"get\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/cell-content-display.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/cell-content-edit\", [\"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\": \"5vgNTeaD\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[8,\\\"input\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"input\\\"]]],[24,4,\\\"text\\\"]],[[\\\"@value\\\"],[[30,[36,0],[[32,0,[\\\"record\\\"]],[32,0,[\\\"column\\\",\\\"propertyName\\\"]]],null]]],null],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"get\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/cell-content-edit.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/cell-edit-toggle\", [\"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\": \"dZFmvlXl\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"isEditRow\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"cancelRowButton\\\"]]],null]],[15,\\\"onclick\\\",[32,0,[\\\"cancelClicked\\\"]]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"cancelButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"saveRowButton\\\"]]],null]],[15,\\\"onclick\\\",[32,0,[\\\"saveClicked\\\"]]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"saveButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"editRowButton\\\"]]],null]],[15,\\\"onclick\\\",[32,0,[\\\"editClicked\\\"]]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"editButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/cell-edit-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/cell\", [\"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\": \"0ANwOqba\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,2],null,[[\\\"record\\\",\\\"index\\\",\\\"column\\\",\\\"componentToRender\\\",\\\"groupedLength\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"editRow\\\",\\\"cancelEditRow\\\",\\\"themeInstance\\\",\\\"clickOnRow\\\",\\\"isExpanded\\\",\\\"isSelected\\\",\\\"isEditRow\\\",\\\"saveRow\\\",\\\"isColumnEditable\\\"],[[32,0,[\\\"record\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"column\\\"]],[32,0,[\\\"componentToRender\\\"]],[32,0,[\\\"groupedLength\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"editRow\\\"]],[32,0,[\\\"cancelEditRow\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"isExpanded\\\"]],[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"isEditRow\\\"]],[32,0,[\\\"saveRow\\\"]],[32,0,[\\\"isColumnEditable\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"componentToRender\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,0],[[32,0,[\\\"componentToRender\\\"]]],[[\\\"record\\\",\\\"index\\\",\\\"column\\\",\\\"isEditRow\\\",\\\"editRow\\\",\\\"saveRow\\\",\\\"cancelEditRow\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"clickOnRow\\\",\\\"isExpanded\\\",\\\"isSelected\\\",\\\"isColumnEditable\\\",\\\"groupedLength\\\",\\\"themeInstance\\\"],[[32,0,[\\\"record\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"column\\\"]],[32,0,[\\\"isEditRow\\\"]],[32,0,[\\\"editRow\\\"]],[32,0,[\\\"saveRow\\\"]],[32,0,[\\\"cancelEditRow\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"isExpanded\\\"]],[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"isColumnEditable\\\"]],[32,0,[\\\"groupedLength\\\"]],[32,0,[\\\"themeInstance\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"if\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/columns-dropdown\", [\"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\": \"aqhETIbm\",\n    \"block\": \"{\\\"symbols\\\":[\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,3,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownWrapper\\\"]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"buttonsGroup\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"button\\\"],[15,0,[31,[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" dropdown-toggle\\\"]]],[14,\\\"data-toggle\\\",\\\"dropdown\\\"],[14,\\\"aria-haspopup\\\",\\\"true\\\"],[14,\\\"aria-expanded\\\",\\\"false\\\"],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\" \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"caretIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n      \\\"],[10,\\\"ul\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdown\\\"]]],[14,\\\"data-role\\\",\\\"dropdown\\\"],[12],[2,\\\"\\\\n\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]],[14,6,\\\"#\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]],[14,6,\\\"#\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]],[14,6,\\\"#\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,2]],null]],[14,6,\\\"#\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownDivider\\\"]]],[12],[13],[2,\\\"\\\\n\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,1,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n              \\\"],[10,\\\"a\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,1]],null]],[14,6,\\\"#\\\"],[12],[2,\\\"\\\\n                \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,1,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]],[12],[2,\\\"\\\\n                \\\"],[13],[2,\\\" \\\"],[1,[32,1,[\\\"title\\\"]]],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/columns-hidden\", [\"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\": \"Tr+BC9JH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[15,\\\"colspan\\\",[32,0,[\\\"columnsCount\\\"]]],[15,0,[32,0,[\\\"themeInstance\\\",\\\"noDataCell\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,[[30,[36,1],null,[[\\\"columnsCount\\\",\\\"themeInstance\\\"],[[32,0,[\\\"columnsCount\\\"]],[32,0,[\\\"themeInstance\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"allColumnsAreHiddenMsg\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"html-safe\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/columns-hidden.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/data-group-by-select\", [\"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\": \"qxhmKH66\",\n    \"block\": \"{\\\"symbols\\\":[\\\"DataGroupBySelect\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[30,[36,3],null,[[\\\"Select\\\",\\\"sort\\\"],[[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"themeInstance\\\",\\\"changeGroupByField\\\"]]]]],[32,0,[\\\"doSort\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"form\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[],[]],null],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"sortGroupedPropertyBtn\\\"]]],[15,\\\"onclick\\\",[32,0,[\\\"doSort\\\"]]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[30,[36,0],[[32,0,[\\\"sortByGroupedFieldDirection\\\"]],\\\"asc\\\"],null],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/data-group-by-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/expand-all-toggle\", [\"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\": \"nXAl9M1m\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"expandAllRows\\\"]]],null]],[15,\\\"onclick\\\",[30,[36,1],[[32,0,[\\\"doExpandAllRows\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"expandAllRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"collapseAllRows\\\"]]],null]],[15,\\\"onclick\\\",[30,[36,1],[[32,0,[\\\"doCollapseAllRows\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"collapseAllRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/expand-all-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/expand-toggle\", [\"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\": \"DkW5jAjQ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"isExpanded\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"collapseRow\\\"]]],null]],[15,\\\"onclick\\\",[30,[36,1],[[32,0,[\\\"doCollapseRow\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"record\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"collapseRowIcon\\\"]]],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"expandRow\\\"]]],null]],[15,\\\"onclick\\\",[30,[36,1],[[32,0,[\\\"doExpandRow\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"record\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"expandRowIcon\\\"]]],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"fn\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/expand-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/footer\", [\"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\": \"m+GEZkA3\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Footer\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],null,[[\\\"Summary\\\",\\\"PageSizeSelect\\\",\\\"PaginationNumeric\\\",\\\"PaginationSimple\\\"],[[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"summaryComponent\\\"]]],[[\\\"firstIndex\\\",\\\"lastIndex\\\",\\\"recordsCount\\\",\\\"anyFilterUsed\\\",\\\"themeInstance\\\",\\\"clearFilters\\\",\\\"useNumericPagination\\\"],[[32,0,[\\\"firstIndex\\\"]],[32,0,[\\\"lastIndex\\\"]],[32,0,[\\\"recordsCount\\\"]],[32,0,[\\\"anyFilterUsed\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"clearFilters\\\"]],[32,0,[\\\"useNumericPagination\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"pageSizeSelectComponent\\\"]]],[[\\\"type\\\",\\\"pageSizeOptions\\\",\\\"pageSize\\\",\\\"themeInstance\\\"],[\\\"number\\\",[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"paginationNumericComponent\\\"]]],[[\\\"currentPageNumber\\\",\\\"collapseNumPaginationForPagesCount\\\",\\\"recordsCount\\\",\\\"pageSize\\\",\\\"currentPageNumberOptions\\\",\\\"pagesCount\\\",\\\"themeInstance\\\",\\\"showCurrentPageNumberSelect\\\",\\\"goToPage\\\"],[[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"collapseNumPaginationForPagesCount\\\"]],[32,0,[\\\"recordsCount\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"showCurrentPageNumberSelect\\\"]],[32,0,[\\\"goToPage\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"paginationSimpleComponent\\\"]]],[[\\\"currentPageNumber\\\",\\\"recordsCount\\\",\\\"pagesCount\\\",\\\"currentPageNumberOptions\\\",\\\"pageSize\\\",\\\"themeInstance\\\",\\\"showCurrentPageNumberSelect\\\",\\\"goToPage\\\"],[[32,0,[\\\"currentPageNumber\\\"]],[32,0,[\\\"recordsCount\\\"]],[32,0,[\\\"pagesCount\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"showCurrentPageNumberSelect\\\"]],[32,0,[\\\"goToPage\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1,[\\\"Summary\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showPageSize\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"PageSizeSelect\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,0],[[32,0,[\\\"useNumericPagination\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"PaginationNumeric\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"PaginationSimple\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/footer.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/global-filter\", [\"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\": \"c8sdIhqu\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"form\\\"]],\\\" globalSearch\\\"],null]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],[13],[2,\\\" \\\"],[8,\\\"input\\\",[[16,1,[32,0,[\\\"inputId\\\"]]],[16,0,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" filterString\\\"],null]],[16,\\\"placeholder\\\",[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]]],[24,4,\\\"text\\\"]],[[\\\"@value\\\",\\\"@enter\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"noop\\\"]]]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"globalFilterUsed\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"i\\\"],[15,0,[31,[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]]]],[14,\\\"role\\\",\\\"button\\\"],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"clearGlobalFilterMsg\\\"]]],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"clearGlobalFilter\\\"]]],null]],[12],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"concat\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/group-summary-row\", [\"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\": \"9E6CO/Ub\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/group-summary-row.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/grouped-header\", [\"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\": \"Pd40Da2k\",\n    \"block\": \"{\\\"symbols\\\":[\\\"cell\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,2,[[30,[36,3],null,[[\\\"groupedHeader\\\",\\\"shouldAddExtraColumn\\\"],[[32,0,[\\\"groupedHeader\\\"]],[32,0,[\\\"shouldAddExtraColumn\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"shouldAddExtraColumn\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"th\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"groupedHeader\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"th\\\"],[15,\\\"colspan\\\",[32,1,[\\\"colspan\\\"]]],[15,\\\"rowspan\\\",[32,1,[\\\"rowspan\\\"]]],[12],[1,[32,1,[\\\"title\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/grouped-header.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/no-data\", [\"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\": \"aW4lRAyd\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[15,\\\"colspan\\\",[32,0,[\\\"realColumnsCount\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"noDataToShowMsg\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"html-safe\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/no-data.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/page-size-select\", [\"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\": \"882hhBMO\",\n    \"block\": \"{\\\"symbols\\\":[\\\"PageSizeSelect\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],null,[[\\\"Select\\\"],[[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"value\\\",\\\"type\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"type\\\"]],[32,0,[\\\"themeInstance\\\"]],\\\"changePageSize\\\"]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"form\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"form\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"rowsCountMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/page-size-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/pagination-numeric\", [\"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\": \"spUlhyk6\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Pagination\\\",\\\"page\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[30,[36,5],null,[[\\\"PageNumberSelect\\\",\\\"visiblePageNumbers\\\"],[[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"type\\\",\\\"visiblePageNumbers\\\",\\\"themeInstance\\\",\\\"gotoCustomPage\\\"],[[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"currentPageNumber\\\"]],\\\"number\\\",[32,0,[\\\"visiblePageNumbers\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"gotoCustomPage\\\"]]]]],[32,0,[\\\"visiblePageNumbers\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationInternalWrapper\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationBlock\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"visiblePageNumbers\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,2,[\\\"isLink\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"button\\\"],[15,0,[31,[[32,0,[\\\"themeInstance\\\",\\\"paginationNumericItem\\\"]],\\\" \\\",[30,[36,0],[[32,2,[\\\"isActive\\\"]],[32,0,[\\\"themeInstance\\\",\\\"paginationNumericItemActive\\\"]]],null],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]]],[15,\\\"onclick\\\",[30,[36,1],[[32,0,[\\\"gotoCustomPage\\\"]],[32,2,[\\\"label\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[10,\\\"button\\\"],[15,0,[31,[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"paginationNumericItem\\\"]]]]],[14,\\\"disabled\\\",\\\"disabled\\\"],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showCurrentPageNumberSelect\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"currentPageSizeSelectWrapper\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"form\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"form\\\"]]],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"currentPageNumberMsg\\\"]]],[13],[2,\\\"\\\\n            \\\"],[8,[32,1,[\\\"PageNumberSelect\\\"]],[],[[],[]],null],[2,\\\" \\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"fn\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/pagination-numeric.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/pagination-simple\", [\"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\": \"d0qzt3BY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Pagination\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],null,[[\\\"PageNumberSelect\\\",\\\"goToPage\\\",\\\"goToFirst\\\",\\\"goToPrev\\\",\\\"goToNext\\\",\\\"goToLast\\\",\\\"goToBackEnabled\\\",\\\"goToForwardEnabled\\\"],[[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"label\\\",\\\"value\\\",\\\"type\\\",\\\"themeInstance\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"themeInstance\\\",\\\"currentPageNumberMsg\\\"]],[32,0,[\\\"currentPageNumber\\\"]],\\\"number\\\",[32,0,[\\\"themeInstance\\\"]]]]],[32,0,[\\\"goToPage\\\"]],[32,0,[\\\"gotoFirst\\\"]],[32,0,[\\\"gotoPrev\\\"]],[32,0,[\\\"gotoNext\\\"]],[32,0,[\\\"gotoLast\\\"]],[32,0,[\\\"goToBackEnabled\\\"]],[32,0,[\\\"goToForwardEnabled\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationInternalWrapper\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationBlock\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"goToBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]]],[15,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"goToBackEnabled\\\"]],\\\"disabled\\\"],null]],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToFirstPageButtonTextMsg\\\"]]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"gotoFirst\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"navFirstIcon\\\"]]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"goToBackEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]]],[15,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"goToBackEnabled\\\"]],\\\"disabled\\\"],null]],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToPrevPageButtonTextMsg\\\"]]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"gotoPrev\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"navPrevIcon\\\"]]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]]],[15,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\"disabled\\\"],null]],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToNextPageButtonTextMsg\\\"]]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"gotoNext\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"navNextIcon\\\"]]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\"enabled\\\",\\\"disabled\\\"],null],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]]],[15,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\"disabled\\\"],null]],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToLastPageButtonTextMsg\\\"]]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"gotoLast\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"navLastIcon\\\"]]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showCurrentPageNumberSelect\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"currentPageSizeSelectWrapper\\\"]]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"form\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"form\\\"]]],[12],[2,\\\"\\\\n          \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"currentPageNumberMsg\\\"]]],[13],[2,\\\"\\\\n            \\\"],[8,[32,1,[\\\"PageNumberSelect\\\"]],[],[[],[]],null],[2,\\\" \\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"unless\\\",\\\"fn\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/pagination-simple.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-expand\", [\"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\": \"VJG6ttWE\",\n    \"block\": \"{\\\"symbols\\\":[\\\"RowExpand\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,0,[\\\"expandedRowComponent\\\"]]],[[\\\"record\\\",\\\"visibleProcessedColumns\\\",\\\"index\\\",\\\"clickOnRow\\\",\\\"themeInstance\\\"],[[32,0,[\\\"record\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"themeInstance\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"td\\\"],[15,\\\"colspan\\\",[32,0,[\\\"cellColspan\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-expand.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-filtering-cell\", [\"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\": \"qPsW0B+F\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,4],[[30,[36,2],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]],[30,[36,3],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\" has-feedback\\\"],null]],null]],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"input\\\",[[16,1,[32,0,[\\\"inputId\\\"]]],[16,0,[32,0,[\\\"themeInstance\\\",\\\"input\\\"]]],[16,\\\"placeholder\\\",[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]]],[24,4,\\\"text\\\"]],[[\\\"@value\\\",\\\"@enter\\\"],[[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"noop\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"i\\\"],[14,\\\"role\\\",\\\"button\\\"],[15,0,[31,[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]]]],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"clearFilter\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"       \\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"concat\\\",\\\"component\\\",\\\"if\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-filtering\", [\"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\": \"m9iWFBJl\",\n    \"block\": \"{\\\"symbols\\\":[\\\"RowFiltering\\\",\\\"column\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],null,[[\\\"shouldAddExtraColumn\\\",\\\"RowFilteringCell\\\"],[[32,0,[\\\"shouldAddExtraColumn\\\"]],[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"rowFilteringCellComponent\\\"]]],[[\\\"themeInstance\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"shouldAddExtraColumn\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"shownColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"RowFilteringCell\\\"]],[],[[\\\"@column\\\"],[[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-filtering.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-group-toggle\", [\"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\": \"GLjyvHYz\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleGroupedRows\\\"]]],null]],[12],[1,[32,0,[\\\"groupedValue\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-group-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-grouping\", [\"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\": \"tC1OsgZ2\",\n    \"block\": \"{\\\"symbols\\\":[\\\"RowGrouping\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"td\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"groupingCell\\\"]]],[15,\\\"colspan\\\",[32,0,[\\\"cellColspan\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],null,[[\\\"RowGroupToggle\\\"],[[30,[36,1],[[30,[36,0],[[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"themeInstance\\\",\\\"rowGroupToggleComponent\\\"]]],null]],[[\\\"groupedValue\\\",\\\"groupedLength\\\",\\\"currentGroupingPropertyName\\\",\\\"displayGroupedValueAs\\\",\\\"visibleProcessedColumns\\\",\\\"groupedItems\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"visibleGroupedItems\\\",\\\"selectedGroupedItems\\\",\\\"expandedGroupedItems\\\",\\\"groupIsCollapsed\\\",\\\"themeInstance\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"toggleGroupedRows\\\"],[[32,0,[\\\"groupedValue\\\"]],[32,0,[\\\"groupedLength\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"groupedItems\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"visibleGroupedItems\\\"]],[32,0,[\\\"selectedGroupedItems\\\"]],[32,0,[\\\"expandedGroupedItems\\\"]],[32,0,[\\\"groupIsCollapsed\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"RowGroupToggle\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-grouping.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-select-all-checkbox\", [\"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\": \"OpTl0jJQ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"button\\\"],[15,\\\"onclick\\\",[32,0,[\\\"doToggleAllSelection\\\"]]],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" toggle-all\\\"],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[30,[36,2],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null],[32,0,[\\\"themeInstance\\\",\\\"selectAllRowsIcon\\\"]],[30,[36,1],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"themeInstance\\\",\\\"selectSomeRowsIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"deselectAllRowsIcon\\\"]]],null]],null]],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"if\\\",\\\"is-equal\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-select-all-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-select-checkbox\", [\"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\": \"PatsJNV5\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"button\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doClickOnRow\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"record\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"themeInstance\\\",\\\"selectRowIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"deselectRowIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-select-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-sorting-cell\", [\"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\": \"8r4NEWgv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"column\\\",\\\"componentForSortCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[32,0,[\\\"column\\\",\\\"componentForSortCell\\\"]]],[[\\\"column\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"data\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"toggleAllSelection\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"column\\\",\\\"useSorting\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"i\\\"],[15,0,[31,[[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortAsc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]]],null],\\\" \\\",[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortDesc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]]]],[12],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-sorting-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row-sorting\", [\"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\": \"UYf9nBIr\",\n    \"block\": \"{\\\"symbols\\\":[\\\"RowSorting\\\",\\\"column\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],null,[[\\\"shouldAddExtraColumn\\\",\\\"RowSortingCell\\\"],[[32,0,[\\\"shouldAddExtraColumn\\\"]],[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"rowSortingCellComponent\\\"]]],[[\\\"themeInstance\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"sort\\\",\\\"data\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"doSort\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"shouldAddExtraColumn\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"th\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"groupHeaderCellComponent\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,0],[[32,0,[\\\"groupHeaderCellComponent\\\"]]],[[\\\"currentGroupingPropertyName\\\"],[[32,0,[\\\"currentGroupingPropertyName\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[1,[32,0,[\\\"currentGroupingPropertyNameTitlelized\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"shownColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"RowSortingCell\\\"]],[],[[\\\"@column\\\"],[[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row-sorting.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/row\", [\"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\": \"Avw2pYTR\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Row\\\",\\\"column\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,9],[[30,[36,8],null,[[\\\"Cell\\\",\\\"RowGroupToggle\\\",\\\"RowSelectCheckbox\\\",\\\"ExpandToggle\\\",\\\"isEditRow\\\",\\\"editRow\\\",\\\"saveRow\\\",\\\"cancelEditRow\\\",\\\"rowspanForFirstCell\\\",\\\"isFirstGroupedRow\\\",\\\"shouldShowGroupToggleCell\\\"],[[30,[36,7],[[32,0,[\\\"themeInstance\\\",\\\"cellComponent\\\"]]],[[\\\"cellContentComponent\\\",\\\"record\\\",\\\"isExpanded\\\",\\\"isSelected\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"clickOnRow\\\",\\\"collapseAllRows\\\",\\\"themeInstance\\\",\\\"groupedLength\\\",\\\"isEditRow\\\",\\\"editRow\\\",\\\"saveRow\\\",\\\"cancelEditRow\\\"],[[32,0,[\\\"themeInstance\\\",\\\"cellContentComponent\\\"]],[32,0,[\\\"record\\\"]],[32,0,[\\\"isExpanded\\\"]],[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"groupedLength\\\"]],[32,0,[\\\"isEditRow\\\"]],[32,0,[\\\"editRow\\\"]],[32,0,[\\\"saveRow\\\"]],[32,0,[\\\"cancelEditRow\\\"]]]]],[30,[36,7],[[30,[36,1],[[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"themeInstance\\\",\\\"rowGroupToggleComponent\\\"]]],null]],[[\\\"currentGroupingPropertyName\\\",\\\"groupedValue\\\",\\\"displayGroupedValueAs\\\",\\\"visibleProcessedColumns\\\",\\\"groupedLength\\\",\\\"groupedItems\\\",\\\"visibleGroupedItems\\\",\\\"selectedGroupedItems\\\",\\\"expandedGroupedItems\\\",\\\"themeInstance\\\",\\\"toggleGroupedRows\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\"],[[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"groupedValue\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"groupedLength\\\"]],[32,0,[\\\"groupedItems\\\"]],[32,0,[\\\"visibleGroupedItems\\\"]],[32,0,[\\\"selectedGroupedItems\\\"]],[32,0,[\\\"expandedGroupedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"doToggleGroupedRows\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]]]]],[30,[36,7],[[32,0,[\\\"themeInstance\\\",\\\"rowSelectCheckboxComponent\\\"]]],[[\\\"record\\\",\\\"isSelected\\\",\\\"clickOnRow\\\",\\\"themeInstance\\\"],[[32,0,[\\\"record\\\"]],[32,0,[\\\"isSelected\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,7],[[32,0,[\\\"themeInstance\\\",\\\"expandToggleComponent\\\"]]],[[\\\"record\\\",\\\"isExpanded\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"themeInstance\\\"],[[32,0,[\\\"record\\\"]],[32,0,[\\\"isExpanded\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[32,0,[\\\"isEditRow\\\"]],[32,0,[\\\"editRow\\\"]],[32,0,[\\\"saveRow\\\"]],[32,0,[\\\"cancelEditRow\\\"]],[32,0,[\\\"rowspanForFirstCell\\\"]],[32,0,[\\\"isFirstGroupedRow\\\"]],[32,0,[\\\"shouldShowGroupToggleCell\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[30,[36,4],[[30,[36,3],[[32,0,[\\\"displayGroupedValueAs\\\"]],\\\"column\\\"],null],[32,0,[\\\"isFirstGroupedRow\\\"]],[32,0,[\\\"useDataGrouping\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"td\\\"],[15,\\\"rowspan\\\",[32,0,[\\\"rowspanForFirstCell\\\"]]],[15,0,[32,0,[\\\"themeInstance\\\",\\\"groupingCell\\\"]]],[12],[2,\\\"\\\\n        \\\"],[8,[32,1,[\\\"RowGroupToggle\\\"]],[],[[\\\"@groupedValue\\\",\\\"@groupIsCollapsed\\\"],[[32,0,[\\\"groupedValue\\\"]],[30,[36,2],[[32,0,[\\\"collapsedGroupValues\\\"]],[32,0,[\\\"groupValue\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,6],[[30,[36,5],[[30,[36,5],[[32,0,[\\\"visibleProcessedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,2,[\\\"simple\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"Cell\\\"]],[],[[\\\"@column\\\"],[[32,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,2,[\\\"propertyName\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[1,[30,[36,0],[[32,0,[\\\"record\\\"]],[32,2,[\\\"propertyName\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,2,[\\\"routeName\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"Cell\\\"]],[],[[\\\"@column\\\"],[[32,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"link-to\\\",[],[[\\\"@route\\\",\\\"@model\\\"],[[32,2,[\\\"routeName\\\"]],[30,[36,0],[[32,0,[\\\"record\\\"]],[32,2,[\\\"routeProperty\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,2,[\\\"propertyName\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"              \\\"],[1,[30,[36,0],[[32,0,[\\\"record\\\"]],[32,2,[\\\"propertyName\\\"]]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"              \\\"],[1,[32,0,[\\\"record\\\",\\\"id\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"Cell\\\"]],[],[[\\\"@index\\\",\\\"@column\\\"],[[32,0,[\\\"index\\\"]],[32,2]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"get\\\",\\\"if\\\",\\\"exists-in\\\",\\\"is-equal\\\",\\\"and\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/row.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/select\", [\"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\": \"599a400v\",\n    \"block\": \"{\\\"symbols\\\":[\\\"opt\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"options\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"option\\\"],[15,2,[32,1,[\\\"value\\\"]]],[15,\\\"selected\\\",[30,[36,0],[[32,0,[\\\"value\\\"]],[32,1,[\\\"value\\\"]],[32,0,[\\\"type\\\"]]],null]],[12],[2,\\\"\\\\n    \\\"],[1,[32,1,[\\\"label\\\"]]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/summary\", [\"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\": \"HbxLaoIA\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,3],null,[[\\\"summary\\\"],[[32,0,[\\\"summary\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"form\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"form\\\"]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"formElementWrapper\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"summary\\\"]]],[2,\\\"\\\\n        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,\\\"role\\\",\\\"button\\\"],[15,0,[30,[36,1],[\\\"clearFilters \\\",[30,[36,0],[[32,0,[\\\"anyFilterUsed\\\"]],\\\"hidden\\\"],null]],null]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"doClearFilters\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"      \\\"],[10,\\\"input\\\"],[15,1,[32,0,[\\\"inputId\\\"]]],[15,0,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" invisible\\\"],null]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unless\\\",\\\"concat\\\",\\\"fn\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/summary.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/table-body\", [\"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\": \"hsTnbzux\",\n    \"block\": \"{\\\"symbols\\\":[\\\"TableBody\\\",\\\"record\\\",\\\"index\\\",\\\"groupedValue\\\",\\\"groupedIndex\\\",\\\"groupedItems\\\",\\\"visibleGroupedItems\\\",\\\"RowGrouping\\\",\\\"record\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[30,[36,9],null,[[\\\"ColumnsHidden\\\",\\\"Row\\\",\\\"RowExpand\\\",\\\"NoData\\\",\\\"RowGrouping\\\"],[[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"columnsHiddenComponent\\\"]]],[[\\\"columnsCount\\\",\\\"themeInstance\\\"],[[32,0,[\\\"columnsCount\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"rowComponent\\\"]]],[[\\\"visibleProcessedColumns\\\",\\\"groupingRowComponent\\\",\\\"collapsedGroupValues\\\",\\\"currentGroupingPropertyName\\\",\\\"clickOnRow\\\",\\\"doubleClickOnRow\\\",\\\"hoverOnRow\\\",\\\"outRow\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"themeInstance\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"displayGroupedValueAs\\\",\\\"toggleGroupedRows\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"useDataGrouping\\\"],[[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"collapsedGroupValues\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"doubleClickOnRow\\\"]],[32,0,[\\\"hoverOnRow\\\"]],[32,0,[\\\"outRow\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"useDataGrouping\\\"]]]]],[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"rowExpandComponent\\\"]]],[[\\\"expandedRowComponent\\\",\\\"selectedItems\\\",\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"clickOnRow\\\",\\\"themeInstance\\\"],[[32,0,[\\\"expandedRowComponent\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"clickOnRow\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"noDataComponent\\\"]]],[[\\\"columnsCount\\\",\\\"displayGroupedValueAs\\\",\\\"themeInstance\\\"],[[32,0,[\\\"visibleProcessedColumns\\\",\\\"length\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"rowGroupingComponent\\\"]]],[[\\\"groupingRowComponent\\\",\\\"currentGroupingPropertyName\\\",\\\"visibleProcessedColumns\\\",\\\"toggleGroupedRows\\\",\\\"displayGroupedValueAs\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"themeInstance\\\"],[[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"themeInstance\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,11]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,11,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"allColumnsAreHidden\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"ColumnsHidden\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"useDataGrouping\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"groupedVisibleContentValuesOrder\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,8],[[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,4],[32,0,[\\\"groupedArrangedContent\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,7],[[32,5],[32,0,[\\\"groupedVisibleContent\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,4],[[32,1,[\\\"RowGrouping\\\"]]],[[\\\"groupedValue\\\",\\\"groupedLength\\\",\\\"groupedItems\\\",\\\"visibleGroupedItems\\\"],[[32,4],[32,6,[\\\"length\\\"]],[32,6],[32,7]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,5],[[32,0,[\\\"displayGroupedValueAs\\\"]],\\\"row\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                  \\\"],[8,[32,8],[],[[\\\"@groupIsCollapsed\\\"],[[30,[36,0],[[32,0,[\\\"collapsedGroupValues\\\"]],[32,4]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[30,[36,0],[[32,0,[\\\"collapsedGroupValues\\\"]],[32,4]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,5],[[32,0,[\\\"displayGroupedValueAs\\\"]],\\\"column\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[8,[32,8],[],[[\\\"@groupIsCollapsed\\\"],[true]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,7]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[8,[32,1,[\\\"Row\\\"]],[],[[\\\"@record\\\",\\\"@index\\\",\\\"@groupedValue\\\",\\\"@groupedLength\\\",\\\"@groupedItems\\\",\\\"@groupSummaryRowComponent\\\",\\\"@visibleGroupedItems\\\"],[[32,9],[32,10],[32,4],[32,6,[\\\"length\\\"]],[32,6],[32,0,[\\\"groupSummaryRowComponent\\\"]],[32,7]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[32,0,[\\\"expandedItems\\\"]],[32,9]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                      \\\"],[8,[32,1,[\\\"RowExpand\\\"]],[],[[\\\"@record\\\",\\\"@index\\\"],[[32,9],[32,10]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[9,10]}]]],[6,[37,1],[[32,0,[\\\"groupSummaryRowComponent\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"                    \\\"],[1,[30,[36,4],[[32,0,[\\\"groupSummaryRowComponent\\\"]]],[[\\\"visibleProcessedColumns\\\",\\\"themeInstance\\\",\\\"groupedItems\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"visibleGroupedItems\\\"],[[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,6],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,7]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[8]}]]]],\\\"parameters\\\":[7]}]]]],\\\"parameters\\\":[6]}]]]],\\\"parameters\\\":[4,5]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"NoData\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"visibleContent\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"Row\\\"]],[],[[\\\"@record\\\",\\\"@index\\\"],[[32,2],[32,3]]],null],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[32,0,[\\\"expandedItems\\\"]],[32,2]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,[32,1,[\\\"RowExpand\\\"]],[],[[\\\"@expandedRowComponent\\\",\\\"@record\\\",\\\"@index\\\"],[[32,0,[\\\"expandedRowComponent\\\"]],[32,2],[32,3]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2,3]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"NoData\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"exists-in\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"is-equal\\\",\\\"let\\\",\\\"object-at\\\",\\\"filter-by\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/table-body.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/table-footer\", [\"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\": \"3KTTaAd2\",\n    \"block\": \"{\\\"symbols\\\":[\\\"TableFooter\\\",\\\"column\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[30,[36,5],null,[[\\\"shouldAddExtraColumn\\\"],[[32,0,[\\\"shouldAddExtraColumn\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"tr\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"shouldAddExtraColumn\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"td\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"visibleProcessedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,2,[\\\"componentForFooterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,2],[[32,2,[\\\"componentForFooterCell\\\"]]],[[\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"data\\\",\\\"mappedSelectedItems\\\",\\\"mappedExpandedItems\\\",\\\"mappedData\\\"],[[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"data\\\"]],[30,[36,1],[[32,2,[\\\"propertyName\\\"]],[30,[36,0],[[32,2,[\\\"propertyName\\\"]],[32,0,[\\\"selectedItems\\\"]]],null]],null],[30,[36,1],[[32,2,[\\\"propertyName\\\"]],[30,[36,0],[[32,2,[\\\"propertyName\\\"]],[32,0,[\\\"expandedItems\\\"]]],null]],null],[30,[36,1],[[32,2,[\\\"propertyName\\\"]],[30,[36,0],[[32,2,[\\\"propertyName\\\"]],[32,0,[\\\"data\\\"]]],null]],null]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"td\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"map-by\\\",\\\"if\\\",\\\"component\\\",\\\"-track-array\\\",\\\"each\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/table-footer.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/table-header\", [\"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\": \"7ntRMvCv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"TableHeader\\\",\\\"groupedHeader\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],null,[[\\\"RowSorting\\\",\\\"RowFiltering\\\",\\\"GroupedHeader\\\",\\\"SelectAllRowsCheckbox\\\",\\\"ExpandAllRowsToggleCheckbox\\\"],[[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"rowSortingComponent\\\"]]],[[\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"themeInstance\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"useDataGrouping\\\",\\\"displayGroupedValueAs\\\",\\\"groupHeaderCellComponent\\\",\\\"currentGroupingPropertyName\\\",\\\"sort\\\",\\\"data\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"groupHeaderCellComponent\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"doSort\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]],[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"rowFilteringComponent\\\"]]],[[\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"themeInstance\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"useDataGrouping\\\",\\\"displayGroupedValueAs\\\",\\\"data\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]],[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"groupedHeaderComponent\\\"]]],[[\\\"useDataGrouping\\\",\\\"displayGroupedValueAs\\\",\\\"visibleProcessedColumns\\\",\\\"themeInstance\\\"],[[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"themeInstance\\\"]]]]],[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"rowSelectAllCheckboxComponent\\\"]]],[[\\\"themeInstance\\\",\\\"toggleAllSelection\\\",\\\"selectedItems\\\",\\\"data\\\"],[[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"toggleAllSelection\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"data\\\"]]]]],[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"expandAllToggleComponent\\\"]]],[[\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"groupedHeaders\\\",\\\"length\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,0],[[30,[36,0],[[32,0,[\\\"groupedHeaders\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"GroupedHeader\\\"]],[],[[\\\"@groupedHeader\\\"],[[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,[32,1,[\\\"RowSorting\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"useFilteringByColumns\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"RowFiltering\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-track-array\\\",\\\"each\\\",\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/table-header.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/table\", [\"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\": \"gdtrOYAW\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Table\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],null,[[\\\"Header\\\",\\\"Body\\\",\\\"Footer\\\"],[[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"tableHeaderComponent\\\"]]],[[\\\"noHeaderFilteringAndSorting\\\",\\\"groupedHeaders\\\",\\\"processedColumns\\\",\\\"visibleProcessedColumns\\\",\\\"useFilteringByColumns\\\",\\\"themeInstance\\\",\\\"sort\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"useDataGrouping\\\",\\\"displayGroupedValueAs\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\",\\\"currentGroupingPropertyName\\\",\\\"groupHeaderCellComponent\\\"],[[32,0,[\\\"noHeaderFilteringAndSorting\\\"]],[32,0,[\\\"groupedHeaders\\\"]],[32,0,[\\\"processedColumns\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"useFilteringByColumns\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"doSort\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"groupHeaderCellComponent\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"tableBodyComponent\\\"]]],[[\\\"columnsCount\\\",\\\"visibleContent\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"useDataGrouping\\\",\\\"toggleGroupedRows\\\",\\\"groupingRowComponent\\\",\\\"groupSummaryRowComponent\\\",\\\"visibleProcessedColumns\\\",\\\"allColumnsAreHidden\\\",\\\"themeInstance\\\",\\\"data\\\",\\\"expandedRowComponent\\\",\\\"collapsedGroupValues\\\",\\\"currentGroupingPropertyName\\\",\\\"dataGroupOptions\\\",\\\"groupedVisibleContentValuesOrder\\\",\\\"groupedVisibleContent\\\",\\\"groupedArrangedContent\\\",\\\"displayGroupedValueAs\\\",\\\"toggleGroupedRowsSelection\\\",\\\"toggleGroupedRowsExpands\\\",\\\"doubleClickOnRow\\\",\\\"hoverOnRow\\\",\\\"outRow\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"clickOnRow\\\"],[[32,0,[\\\"columnsCount\\\"]],[32,0,[\\\"visibleContent\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"toggleGroupedRows\\\"]],[32,0,[\\\"groupingRowComponent\\\"]],[32,0,[\\\"groupSummaryRowComponent\\\"]],[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"allColumnsAreHidden\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"expandedRowComponent\\\"]],[32,0,[\\\"collapsedGroupValues\\\"]],[32,0,[\\\"currentGroupingPropertyName\\\"]],[32,0,[\\\"dataGroupOptions\\\"]],[32,0,[\\\"groupedVisibleContentValuesOrder\\\"]],[32,0,[\\\"groupedVisibleContent\\\"]],[32,0,[\\\"groupedArrangedContent\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"toggleGroupedRowsSelection\\\"]],[32,0,[\\\"toggleGroupedRowsExpands\\\"]],[32,0,[\\\"doubleClickOnRow\\\"]],[32,0,[\\\"hoverOnRow\\\"]],[32,0,[\\\"outRow\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"clickOnRow\\\"]]]]],[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"tableFooterComponent\\\"]]],[[\\\"visibleProcessedColumns\\\",\\\"displayGroupedValueAs\\\",\\\"useDataGrouping\\\",\\\"themeInstance\\\",\\\"data\\\",\\\"goToPage\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"clearFilters\\\",\\\"expandRow\\\",\\\"collapseRow\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"visibleProcessedColumns\\\"]],[32,0,[\\\"displayGroupedValueAs\\\"]],[32,0,[\\\"useDataGrouping\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"goToPage\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"clearFilters\\\"]],[32,0,[\\\"expandRow\\\"]],[32,0,[\\\"collapseRow\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1,[\\\"Header\\\"]],[],[[],[]],null],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Body\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showTableFooter\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1,[\\\"Footer\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/table.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/bootstrap3/row-select-all-checkbox\", [\"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\": \"Q3bQPFgn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"button\\\"],[15,\\\"onclick\\\",[32,0,[\\\"doToggleAllSelection\\\"]]],[15,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" toggle-all\\\"],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[30,[36,3],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-icons-stack\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"selectSomeRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"deselectAllRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n     \\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[30,[36,0],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null],[32,0,[\\\"themeInstance\\\",\\\"selectAllRowsIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"deselectAllRowsIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"if\\\",\\\"concat\\\",\\\"not-eq\\\",\\\"and\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/bootstrap3/row-select-all-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/bootstrap4/columns-dropdown\", [\"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\": \"ZY7Rw1Nv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,3,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownWrapper\\\"]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"button\\\"],[15,0,[31,[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" dropdown-toggle\\\"]]],[14,\\\"data-toggle\\\",\\\"dropdown\\\"],[14,\\\"aria-haspopup\\\",\\\"true\\\"],[14,\\\"aria-expanded\\\",\\\"false\\\"],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"caretIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdown\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,2]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownDivider\\\"]]],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,1,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,1]],null]],[12],[2,\\\"\\\\n            \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,1,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n            \\\"],[1,[32,1,[\\\"title\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/bootstrap4/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/bootstrap4/data-group-by-select\", [\"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\": \"0fVgnNcP\",\n    \"block\": \"{\\\"symbols\\\":[\\\"DataGroupBySelect\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[30,[36,3],null,[[\\\"Select\\\",\\\"sort\\\"],[[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"themeInstance\\\",\\\"changeGroupByField\\\"]]]]],[32,0,[\\\"doSort\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"inputGroup\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-addon\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],[13],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"sortGroupedPropertyBtn\\\"]]],[15,\\\"onclick\\\",[32,0,[\\\"doSort\\\"]]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[30,[36,0],[[32,0,[\\\"sortByGroupedFieldDirection\\\"]],\\\"asc\\\"],null],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/bootstrap4/data-group-by-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/bootstrap4/global-filter\", [\"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\": \"56kMYDjd\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"form\\\"]],\\\" globalSearch\\\"],null]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"inputGroup\\\"]]],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[14,0,\\\"input-group-addon\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],[13],[2,\\\"\\\\n      \\\"],[8,\\\"input\\\",[[16,1,[32,0,[\\\"inputId\\\"]]],[16,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" filterString\\\"],null]],[16,\\\"placeholder\\\",[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]]],[24,4,\\\"text\\\"]],[[\\\"@value\\\",\\\"@enter\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"noop\\\"]]]],null],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"button\\\"],[15,0,[31,[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefaultSmall\\\"]]]]],[15,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"globalFilterUsed\\\"]],\\\"disabled\\\"],null]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"clearGlobalFilter\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearGlobalFilterMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"unless\\\",\\\"fn\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/bootstrap4/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/bootstrap4/row-filtering-cell\", [\"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\": \"sczNAYO1\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,1],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"inputGroup\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"input\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"input\\\"]]],[16,\\\"placeholder\\\",[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]]],[24,4,\\\"text\\\"]],[[\\\"@value\\\",\\\"@enter\\\"],[[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"noop\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"button\\\"],[15,0,[31,[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefaultSmall\\\"]]]]],[15,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[15,\\\"disabled\\\",[30,[36,3],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]],[15,\\\"onclick\\\",[30,[36,4],[[32,0,[\\\"clearFilter\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"       \\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"component\\\",\\\"if\\\",\\\"unless\\\",\\\"fn\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/bootstrap4/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/columns-dropdown\", [\"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\": \"iSZDVN3E\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Dropdown\\\",\\\"Menu\\\",\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-dropdown\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownWrapper\\\"]]]],[[\\\"@closeOnMenuClick\\\"],[false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"toggle\\\"]],[[16,0,[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"caretIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"menu\\\"]],[],[[\\\"@align\\\"],[\\\"right\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,4]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,4,[\\\"label\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"      \\\"],[8,[32,2,[\\\"divider\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,3,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,3]],null]],[12],[2,\\\"\\\\n              \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,3,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]],[12],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/data-group-by-select\", [\"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\": \"Hj81gDuA\",\n    \"block\": \"{\\\"symbols\\\":[\\\"DataGroupBySelect\\\",\\\"Form\\\",\\\"GroupByField\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[30,[36,3],null,[[\\\"Select\\\",\\\"sort\\\"],[[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"themeInstance\\\",\\\"changeGroupByField\\\"]]]]],[32,0,[\\\"doSort\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,4]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,4,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"bs-form\\\",[[24,0,\\\"globalSearch\\\"]],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"]],[[\\\"@property\\\"],[\\\"value\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-addon\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[\\\"@id\\\",\\\"@value\\\"],[[32,3,[\\\"id\\\"]],[32,3,[\\\"value\\\"]]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"bs-button\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"sortGroupedPropertyBtn\\\"]]]],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"secondary\\\",[32,0,[\\\"doSort\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"i\\\"],[15,0,[30,[36,0],[[30,[36,1],[[32,0,[\\\"sortByGroupedFieldDirection\\\"]],\\\"asc\\\"],null],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"is-equal\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/data-group-by-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/global-filter\", [\"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\": \"F58BuzYX\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Form\\\",\\\"GlobalFilter\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,3,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-form\\\",[[24,0,\\\"globalSearch\\\"]],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"]],[[\\\"@property\\\",\\\"@type\\\"],[\\\"value\\\",\\\"text\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,2,[\\\"id\\\"]]],[14,0,\\\"input-group-addon\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,[32,2,[\\\"control\\\"]],[[16,\\\"placeholder\\\",[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]]],[24,0,\\\"filterString\\\"]],[[],[]],null],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"bs-button\\\",[[24,0,\\\"clearFilterIcon\\\"],[16,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"globalFilterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"secondary\\\",[30,[36,2],[[32,0,[\\\"clearGlobalFilter\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearGlobalFilterMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"unless\\\",\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell\", [\"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\": \"zbc+PmpH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Form\\\",\\\"FilterInput\\\",\\\"FilterSelect\\\",\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,3],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,5,[[32,4]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[4]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"bs-form\\\",[],[[\\\"@model\\\",\\\"@onSubmit\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"]],[[\\\"@property\\\"],[\\\"filterString\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,3,[\\\"id\\\"]],[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,3,[\\\"id\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"bs-button\\\",[[24,0,\\\"clearFilterIcon\\\"],[16,\\\"disabled\\\",[30,[36,0],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"secondary\\\",[30,[36,1],[[30,[36,4],[[32,3,[\\\"value\\\"]]],null],\\\"\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\\n                \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"filterString input-group\\\"]],[[\\\"@property\\\"],[\\\"filterString\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"control\\\"]],[[16,\\\"placeholder\\\",[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]]]],[[],[]],null],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,2,[\\\"id\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-btn\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"bs-button\\\",[[24,0,\\\"clearFilterIcon\\\"],[16,\\\"disabled\\\",[30,[36,0],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@type\\\",\\\"@onClick\\\"],[\\\"secondary\\\",[30,[36,1],[[32,0,[\\\"clearFilter\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                  \\\\n                \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"       \\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unless\\\",\\\"fn\\\",\\\"concat\\\",\\\"component\\\",\\\"mut\\\",\\\"if\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox\", [\"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\": \"3dTv2Pzv\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"button\\\"],[15,\\\"onclick\\\",[32,0,[\\\"doToggleAllSelection\\\"]]],[15,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]],\\\" toggle-all\\\"],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,4],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[30,[36,3],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-icons-stack\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"selectSomeRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"deselectAllRowsIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n     \\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[30,[36,0],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null],[32,0,[\\\"themeInstance\\\",\\\"selectAllRowsIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"deselectAllRowsIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"if\\\",\\\"concat\\\",\\\"not-eq\\\",\\\"and\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/row-select-all-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/summary\", [\"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\": \"j6h8J1W8\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,3],null,[[\\\"summary\\\"],[[32,0,[\\\"summary\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-form\\\",[],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[12],[1,[32,0,[\\\"summary\\\"]]],[13],[2,\\\"\\\\n    \\\"],[8,\\\"bs-button\\\",[[16,0,[30,[36,0],[\\\"clearFilters \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],null]],[16,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"anyFilterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@onClick\\\",\\\"@type\\\"],[[30,[36,2],[[32,0,[\\\"doClearFilters\\\"]]],null],\\\"secondary\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersMsg\\\"]]],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"unless\\\",\\\"fn\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v3/summary.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/columns-dropdown\", [\"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\": \"UaTaFtkE\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Dropdown\\\",\\\"Menu\\\",\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-dropdown\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownWrapper\\\"]]]],[[\\\"@closeOnMenuClick\\\"],[false]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"toggle\\\"]],[[16,0,[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]],[[\\\"@tagName\\\"],[\\\"button\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"menu\\\"]],[],[[\\\"@align\\\"],[\\\"right\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,4]],null]],[12],[2,\\\"\\\\n            \\\"],[1,[32,4,[\\\"label\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"      \\\"],[8,[32,2,[\\\"divider\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,3,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"item\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[14,0,\\\"dropdown-item\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,3]],null]],[12],[2,\\\"\\\\n              \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,3,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]],[12],[2,\\\"\\\\n              \\\"],[13],[2,\\\"\\\\n              \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/data-group-by-select\", [\"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\": \"SMjM1Yl7\",\n    \"block\": \"{\\\"symbols\\\":[\\\"DataGroupBySelect\\\",\\\"Form\\\",\\\"GroupByField\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[30,[36,3],null,[[\\\"Select\\\",\\\"sort\\\"],[[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"themeInstance\\\",\\\"changeGroupByField\\\"]]]]],[32,0,[\\\"doSort\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,4]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,4,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"bs-form\\\",[[24,0,\\\"globalSearch\\\"]],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,[32,2,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"]],[[\\\"@property\\\"],[\\\"value\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-prepend\\\"],[12],[2,\\\"\\\\n            \\\"],[10,\\\"span\\\"],[14,0,\\\"input-group-text\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]]],[13],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[\\\"@id\\\",\\\"@value\\\"],[[32,3,[\\\"id\\\"]],[32,3,[\\\"value\\\"]]]],null],[2,\\\"\\\\n        \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-append\\\"],[12],[2,\\\"\\\\n          \\\"],[8,\\\"bs-button\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"sortGroupedPropertyBtn\\\"]]]],[[\\\"@outline\\\",\\\"@onClick\\\"],[true,[32,0,[\\\"doSort\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[10,\\\"i\\\"],[15,0,[30,[36,0],[[30,[36,1],[[32,0,[\\\"sortByGroupedFieldDirection\\\"]],\\\"asc\\\"],null],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"is-equal\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/data-group-by-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/global-filter\", [\"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\": \"JHgv0s3J\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Form\\\",\\\"GlobalFilter\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,3,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-form\\\",[[24,0,\\\"globalSearch\\\"]],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"],[24,4,\\\"text\\\"]],[[\\\"@property\\\"],[\\\"value\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-prepend\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,2,[\\\"id\\\"]]],[14,0,\\\"input-group-text\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[8,[32,2,[\\\"control\\\"]],[[16,\\\"placeholder\\\",[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]]],[24,0,\\\"filterString\\\"]],[[],[]],null],[2,\\\"\\\\n      \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-append\\\"],[12],[2,\\\"\\\\n        \\\"],[8,\\\"bs-button\\\",[[16,0,[30,[36,1],[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],null]],[16,\\\"disabled\\\",[30,[36,2],[[32,0,[\\\"globalFilterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@outline\\\",\\\"@onClick\\\"],[true,[30,[36,3],[[32,0,[\\\"clearGlobalFilter\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearGlobalFilterMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"concat\\\",\\\"unless\\\",\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell\", [\"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\": \"30LmHOKU\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Form\\\",\\\"FilterInput\\\",\\\"FilterSelect\\\",\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,6],[[30,[36,3],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,5,[[32,4]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,4],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[4]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,5],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"bs-form\\\",[],[[\\\"@model\\\",\\\"@onSubmit\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,5],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"input-group\\\"]],[[\\\"@property\\\"],[\\\"filterString\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[1,[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,3,[\\\"id\\\"]],[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,3,[\\\"id\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-append\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"bs-button\\\",[[16,0,[30,[36,0],[\\\"clearFilterIcon btn-outline-secondary \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],null]],[16,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@onClick\\\"],[[30,[36,2],[[30,[36,4],[[32,0,[\\\"column\\\",\\\"filterString\\\"]]],null],\\\"\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,1,[\\\"element\\\"]],[[24,0,\\\"filterString input-group\\\"],[24,4,\\\"text\\\"]],[[\\\"@property\\\"],[\\\"filterString\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,[32,2,[\\\"control\\\"]],[[16,\\\"placeholder\\\",[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]]]],[[],[]],null],[2,\\\"\\\\n            \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,2,[\\\"id\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n            \\\"],[10,\\\"div\\\"],[14,0,\\\"input-group-append\\\"],[12],[2,\\\"\\\\n              \\\"],[8,\\\"bs-button\\\",[[16,0,[30,[36,0],[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],null]],[16,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]],[24,4,\\\"link\\\"]],[[\\\"@outline\\\",\\\"@onClick\\\"],[true,[30,[36,2],[[32,0,[\\\"clearFilter\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n                \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n                \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[13],[2,\\\"\\\\n              \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n            \\\"],[13],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"       \\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"unless\\\",\\\"fn\\\",\\\"component\\\",\\\"mut\\\",\\\"if\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/summary\", [\"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\": \"aZCKJNuF\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,3],null,[[\\\"summary\\\"],[[32,0,[\\\"summary\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"bs-form\\\",[],[[\\\"@formLayout\\\",\\\"@model\\\",\\\"@onSubmit\\\"],[\\\"inline\\\",[32,0],[32,0,[\\\"noop\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[10,\\\"label\\\"],[12],[1,[32,0,[\\\"summary\\\"]]],[13],[2,\\\"\\\\n    \\\"],[8,\\\"bs-button\\\",[[16,0,[30,[36,0],[\\\"clearFilters border-0 \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonLink\\\"]]],null]],[16,\\\"disabled\\\",[30,[36,1],[[32,0,[\\\"anyFilterUsed\\\"]],\\\"disabled\\\"],null]]],[[\\\"@outline\\\",\\\"@onClick\\\"],[true,[30,[36,2],[[32,0,[\\\"doClearFilters\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersMsg\\\"]]],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"unless\\\",\\\"fn\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-bootstrap-v4/summary.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/cell-content-edit\", [\"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\": \"a4wCvnxY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"value\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[32,0,[\\\"record\\\"]],[32,0,[\\\"column\\\",\\\"propertyName\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-input\\\",[],[[\\\"@value\\\",\\\"@onChange\\\"],[[32,0,[\\\"value\\\"]],[30,[36,1],[[30,[36,0],[[32,1]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1]}]]],[18,2,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"mut\\\",\\\"fn\\\",\\\"get\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/cell-content-edit.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/cell-edit-toggle\", [\"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\": \"84//bDfH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"isEditRow\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-button\\\",[[16,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"cancelRowButton\\\"]]],null]]],[[\\\"@raised\\\",\\\"@onClick\\\"],[true,[32,0,[\\\"cancelClicked\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"cancelButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"],[8,\\\"paper-button\\\",[[16,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"saveRowButton\\\"]]],null]]],[[\\\"@raised\\\",\\\"@onClick\\\"],[true,[32,0,[\\\"saveClicked\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"saveButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-button\\\",[[16,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],\\\" \\\",[32,0,[\\\"themeInstance\\\",\\\"editRowButton\\\"]]],null]]],[[\\\"@raised\\\",\\\"@onClick\\\"],[true,[32,0,[\\\"editClicked\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[32,0,[\\\"editButtonLabel\\\"]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/cell-edit-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/columns-dropdown\", [\"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\": \"z0uDgFxy\",\n    \"block\": \"{\\\"symbols\\\":[\\\"menu\\\",\\\"content\\\",\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,5]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-menu\\\",[],[[\\\"@position\\\"],[\\\"target-right target\\\"]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"trigger\\\"]],[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[8,\\\"paper-button\\\",[],[[\\\"@raised\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\" \\\"],[8,\\\"paper-icon\\\",[],[[\\\"@icon\\\"],[\\\"arrow_drop_down\\\"]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"content\\\"]],[],[[\\\"@width\\\"],[4]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"menu-item\\\"]],[],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"menu-item\\\"]],[],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"menu-item\\\"]],[],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,2,[\\\"menu-item\\\"]],[],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,4]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[1,[32,4,[\\\"label\\\"]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"      \\\"],[8,\\\"paper-divider\\\",[],[[],[]],null],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,3,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,2,[\\\"menu-item\\\"]],[],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,3]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"paper-icon\\\",[[16,0,[30,[36,1],[[32,3,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]]],[[\\\"@icon\\\"],[[30,[36,1],[[32,3,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]]],null],[2,\\\"\\\\n            \\\"],[1,[32,3,[\\\"title\\\"]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/data-group-by-select\", [\"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\": \"Z06N4NAF\",\n    \"block\": \"{\\\"symbols\\\":[\\\"DataGroupBySelect\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[30,[36,3],null,[[\\\"Select\\\",\\\"sort\\\"],[[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"value\\\",\\\"label\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\",\\\"groupByLabelMsg\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"themeInstance\\\",\\\"changeGroupByField\\\"]]]]],[32,0,[\\\"doSort\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[14,0,\\\"layout-row\\\"],[12],[2,\\\"\\\\n      \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[],[]],null],[2,\\\"\\\\n      \\\"],[8,\\\"paper-button\\\",[],[[\\\"@class\\\",\\\"@raised\\\",\\\"@mini\\\",\\\"@iconButton\\\",\\\"@onClick\\\"],[[32,0,[\\\"themeInstance\\\",\\\"sortGroupedPropertyBtn\\\"]],true,true,true,[32,0,[\\\"doSort\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[8,\\\"paper-icon\\\",[],[[\\\"@icon\\\"],[[30,[36,1],[[30,[36,0],[\\\"asc\\\",[32,0,[\\\"sortByGroupedFieldDirection\\\"]]],null],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]]],null],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"is-equal\\\",\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/data-group-by-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/expand-all-toggle\", [\"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\": \"Ic0ehh9t\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[8,\\\"paper-button\\\",[],[[\\\"@onClick\\\",\\\"@iconButton\\\"],[[32,0,[\\\"doExpandAllRows\\\"]],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"expandAllRowsIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"expandAllRowsIcon\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[10,\\\"br\\\"],[12],[13],[2,\\\"\\\\n\\\"],[8,\\\"paper-button\\\",[],[[\\\"@onClick\\\",\\\"@iconButton\\\"],[[32,0,[\\\"doCollapseAllRows\\\"]],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"collapseAllRowsIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"collapseAllRowsIcon\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/expand-all-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/expand-toggle\", [\"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\": \"SFrG0h+t\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@record\\\",\\\"@index\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"isExpanded\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-button\\\",[],[[\\\"@onClick\\\",\\\"@iconButton\\\"],[[30,[36,0],[[32,0,[\\\"doCollapseRow\\\"]],[32,2],[32,1]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"collapseRowIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"collapseRowIcon\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"paper-button\\\",[],[[\\\"@onClick\\\",\\\"@iconButton\\\"],[[30,[36,0],[[32,0,[\\\"doExpandRow\\\"]],[32,2],[32,1]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"expandRowIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"expandRowIcon\\\"]]]],null],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[18,3,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/expand-toggle.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/global-filter\", [\"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\": \"mxts+hRT\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[10,\\\"div\\\"],[14,0,\\\"globalSearch\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"paper-input\\\",[[16,0,[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" filterString\\\"],null]]],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@onChange\\\"],[[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]],[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]],[32,0,[\\\"value\\\"]],[30,[36,1],[[30,[36,3],[[32,0,[\\\"value\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"],[6,[37,4],[[32,0,[\\\"globalFilterUsed\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[8,\\\"paper-button\\\",[[16,0,[30,[36,0],[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],null]]],[[\\\"@onClick\\\",\\\"@iconButton\\\"],[[30,[36,1],[[32,0,[\\\"clearGlobalFilter\\\"]]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n        \\\"],[1,[30,[36,2],[\\\"close\\\"],null]],[2,\\\"\\\\n      \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"fn\\\",\\\"paper-icon\\\",\\\"mut\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/page-size-select\", [\"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\": \"y/Z4MYoU\",\n    \"block\": \"{\\\"symbols\\\":[\\\"PageSizeSelect\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[30,[36,2],null,[[\\\"Select\\\"],[[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"value\\\",\\\"type\\\",\\\"label\\\",\\\"themeInstance\\\",\\\"class\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"pageSizeOptions\\\"]],[32,0,[\\\"pageSize\\\"]],[32,0,[\\\"type\\\"]],[32,0,[\\\"themeInstance\\\",\\\"rowsCountMsg\\\"]],[32,0,[\\\"themeInstance\\\"]],\\\"changePageSize\\\"]]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1,[\\\"Select\\\"]],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/page-size-select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-numeric\", [\"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\": \"9LFywfmo\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Pagination\\\",\\\"page\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,6],[[30,[36,5],null,[[\\\"PageNumberSelect\\\",\\\"visiblePageNumbers\\\"],[[30,[36,4],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"label\\\",\\\"options\\\",\\\"value\\\",\\\"type\\\",\\\"themeInstance\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"themeInstance\\\",\\\"currentPageNumberMsg\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"currentPageNumber\\\"]],\\\"number\\\",[32,0,[\\\"themeInstance\\\"]]]]],[32,0,[\\\"visiblePageNumbers\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationInternalWrapper\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"showCurrentPageNumberSelect\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"PageNumberSelect\\\"]],[],[[],[]],null],[2,\\\" \\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationBlock\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,3],[[30,[36,2],[[30,[36,2],[[32,0,[\\\"visiblePageNumbers\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,2,[\\\"isLink\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"paper-button\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]],[[\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"gotoCustomPage\\\"]],[32,2,[\\\"label\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"            \\\"],[8,\\\"paper-button\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]]],[[\\\"@disabled\\\"],[true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n              \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n            \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-numeric.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-simple\", [\"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\": \"P7d6p+cc\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Pagination\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,7],[[30,[36,6],null,[[\\\"PageNumberSelect\\\",\\\"goToPage\\\",\\\"goToFirst\\\",\\\"goToPrev\\\",\\\"goToNext\\\",\\\"goToLast\\\",\\\"goToBackEnabled\\\",\\\"goToForwardEnabled\\\"],[[30,[36,5],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"label\\\",\\\"value\\\",\\\"type\\\",\\\"themeInstance\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"currentPageNumberOptions\\\"]],[32,0,[\\\"themeInstance\\\",\\\"currentPageNumberMsg\\\"]],[32,0,[\\\"currentPageNumber\\\"]],\\\"number\\\",[32,0,[\\\"themeInstance\\\"]]]]],[32,0,[\\\"goToPage\\\"]],[32,0,[\\\"gotoFirst\\\"]],[32,0,[\\\"gotoPrev\\\"]],[32,0,[\\\"gotoNext\\\"]],[32,0,[\\\"gotoLast\\\"]],[32,0,[\\\"goToBackEnabled\\\"]],[32,0,[\\\"goToForwardEnabled\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationInternalWrapper\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"showCurrentPageNumberSelect\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1,[\\\"PageNumberSelect\\\"]],[],[[],[]],null],[2,\\\" \\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"paginationBlock\\\"]]],[12],[2,\\\"\\\\n        \\\"],[8,\\\"paper-button\\\",[[16,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToFirstPageButtonTextMsg\\\"]]],[16,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],[30,[36,1],[[32,0,[\\\"goToBackEnabled\\\"]],\\\" disabled\\\"],null]],null]]],[[\\\"@onClick\\\",\\\"@disabled\\\",\\\"@iconButton\\\"],[[30,[36,3],[[32,0,[\\\"gotoFirst\\\"]]],null],[30,[36,4],[[32,0,[\\\"goToBackEnabled\\\"]]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"navFirstIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"navFirstIcon\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"paper-button\\\",[[16,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToPrevPageButtonTextMsg\\\"]]],[16,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],[30,[36,1],[[32,0,[\\\"goToBackEnabled\\\"]],\\\" disabled\\\"],null]],null]]],[[\\\"@onClick\\\",\\\"@disabled\\\",\\\"@iconButton\\\"],[[30,[36,3],[[32,0,[\\\"gotoPrev\\\"]]],null],[30,[36,4],[[32,0,[\\\"goToBackEnabled\\\"]]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"navPrevIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"navPrevIcon\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"paper-button\\\",[[16,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToNextPageButtonTextMsg\\\"]]],[16,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],[30,[36,1],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\" disabled\\\"],null]],null]]],[[\\\"@onClick\\\",\\\"@disabled\\\",\\\"@iconButton\\\"],[[30,[36,3],[[32,0,[\\\"gotoNext\\\"]]],null],[30,[36,4],[[32,0,[\\\"goToForwardEnabled\\\"]]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"navNextIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"navNextIcon\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n        \\\"],[8,\\\"paper-button\\\",[[16,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"goToLastPageButtonTextMsg\\\"]]],[16,0,[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]],[30,[36,1],[[32,0,[\\\"goToForwardEnabled\\\"]],\\\" disabled\\\"],null]],null]]],[[\\\"@onClick\\\",\\\"@disabled\\\",\\\"@iconButton\\\"],[[30,[36,3],[[32,0,[\\\"gotoLast\\\"]]],null],[30,[36,4],[[32,0,[\\\"goToForwardEnabled\\\"]]],null],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,\\\"paper-icon\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"navLastIcon\\\"]]]],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"navLastIcon\\\"]]]],null],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"unless\\\",\\\"concat\\\",\\\"fn\\\",\\\"not\\\",\\\"component\\\",\\\"hash\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/pagination-simple.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/row-filtering-cell\", [\"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\": \"qUiY98IL\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,3],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,4],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,4],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"filteringCellInternalWrapper\\\"]]],[12],[2,\\\"\\\\n\\\"],[6,[37,4],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,3],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"options\\\",\\\"label\\\",\\\"placeholder\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"title\\\"]],[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,2],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paper-input\\\",[[16,0,[32,0,[\\\"themeInstance\\\",\\\"input\\\"]]]],[[\\\"@label\\\",\\\"@placeholder\\\",\\\"@value\\\",\\\"@onChange\\\"],[[32,0,[\\\"column\\\",\\\"title\\\"]],[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[30,[36,0],[[30,[36,1],[[32,0,[\\\"column\\\",\\\"filterString\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"paper-button\\\",[[16,\\\"aria-label\\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[16,0,[31,[\\\"clearFilterIcon \\\",[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]]]]],[[\\\"@iconButton\\\",\\\"@onClick\\\"],[true,[30,[36,0],[[32,0,[\\\"clearFilter\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[8,\\\"paper-icon\\\",[],[[\\\"@icon\\\"],[\\\"clear\\\"]],null],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"mut\\\",\\\"concat\\\",\\\"component\\\",\\\"if\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-all-checkbox\", [\"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\": \"IwBkFk1p\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[8,\\\"paper-checkbox\\\",[],[[\\\"@indeterminate\\\",\\\"@value\\\",\\\"@onChange\\\"],[[30,[36,1],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[30,[36,0],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null]],null],[30,[36,2],[[32,0,[\\\"selectedItems\\\",\\\"length\\\"]],[32,0,[\\\"data\\\",\\\"length\\\"]]],null],[32,0,[\\\"doToggleAllSelection\\\"]]]],null],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"not-eq\\\",\\\"and\\\",\\\"is-equal\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-all-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-checkbox\", [\"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\": \"h4RZLmud\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[8,\\\"paper-checkbox\\\",[],[[\\\"@value\\\",\\\"@bubbles\\\",\\\"@onChange\\\"],[[32,0,[\\\"isSelected\\\"]],false,[30,[36,0],[[32,0,[\\\"doClickOnRow\\\"]],[32,0,[\\\"index\\\"]],[32,0,[\\\"record\\\"]]],null]]],null],[2,\\\"\\\\n\\\"],[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/row-select-checkbox.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/row-sorting-cell\", [\"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\": \"tFaHsGCI\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"column\\\",\\\"componentForSortCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[32,0,[\\\"column\\\",\\\"componentForSortCell\\\"]]],[[\\\"column\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"data\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"toggleAllSelection\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"column\\\",\\\"useSorting\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[30,[36,1],[[32,0,[\\\"column\\\",\\\"sortAsc\\\"]],[32,0,[\\\"column\\\",\\\"sortDesc\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,\\\"paper-icon\\\",[[16,0,[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortAsc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortDesc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],null]]],[[\\\"@icon\\\"],[[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortAsc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortAscIcon\\\"]],[30,[36,0],[[32,0,[\\\"column\\\",\\\"sortDesc\\\"]],[32,0,[\\\"themeInstance\\\",\\\"sortDescIcon\\\"]]],null]],null]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"or\\\",\\\"component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/row-sorting-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/select\", [\"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\": \"16S6/P1x\",\n    \"block\": \"{\\\"symbols\\\":[\\\"opt\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"paper-select\\\",[],[[\\\"@label\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@disabled\\\",\\\"@placeholder\\\",\\\"@onChange\\\"],[[32,0,[\\\"label\\\"]],[32,0,[\\\"options\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"disabled\\\"]],[32,0,[\\\"placeholder\\\"]],[32,0,[\\\"updateValue\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,1],[[30,[36,0],[[32,1]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[15,\\\"aria-valuetext\\\",[32,1,[\\\"value\\\"]]],[12],[1,[32,1,[\\\"label\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[1,[32,1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"],[18,2,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"option-is-object\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/select.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/ember-paper/summary\", [\"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\": \"+z09jmNn\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,3],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,2],null,[[\\\"summary\\\"],[[32,0,[\\\"summary\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[32,0,[\\\"summary\\\"]]],[2,\\\"\\\\n  \\\"],[8,\\\"paper-button\\\",[[24,0,\\\"clearFilters\\\"]],[[\\\"@disabled\\\",\\\"@onClick\\\"],[[30,[36,0],[[32,0,[\\\"anyFilterUsed\\\"]],\\\"disabled\\\"],null],[30,[36,1],[[32,0,[\\\"doClearFilters\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"paper-icon\\\",[],[[\\\"@icon\\\"],[[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersIcon\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersMsg\\\"]]],[13],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unless\\\",\\\"fn\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/ember-paper/summary.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/plain-html/columns-dropdown\", [\"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\": \"h0EGcQGH\",\n    \"block\": \"{\\\"symbols\\\":[\\\"column\\\",\\\"columnSet\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,3,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[15,0,[30,[36,2],[\\\"dropdown right \\\",[32,0,[\\\"themeInstance\\\",\\\"columnsDropdownWrapper\\\"]]],null]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"button\\\"],[15,0,[30,[36,2],[\\\"dropdown-toggle \\\",[32,0,[\\\"themeInstance\\\",\\\"buttonDefault\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsTitleMsg\\\"]]],[2,\\\" \\\"],[10,\\\"span\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"caretIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[14,0,\\\"dropdown-menu\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"showAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doShowAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsShowAllMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"hideAll\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doHideAllColumns\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsHideAllMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,0,[\\\"columnDropdownOptions\\\",\\\"restoreDefaults\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doRestoreDefaultVisibility\\\"]]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,0,[\\\"themeInstance\\\",\\\"columnsRestoreDefaultsMsg\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"columnDropdownOptions\\\",\\\"columnSets\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleColumnSet\\\"]],[32,2]],null]],[12],[2,\\\"\\\\n          \\\"],[1,[32,2,[\\\"label\\\"]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"dropdown-divider\\\"],[12],[13],[2,\\\"\\\\n\\\"],[6,[37,4],[[30,[36,3],[[30,[36,3],[[32,0,[\\\"processedColumns\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,1,[\\\"mayBeHidden\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[10,\\\"a\\\"],[14,6,\\\"#\\\"],[15,\\\"onclick\\\",[30,[36,0],[[32,0,[\\\"doToggleHidden\\\"]],[32,1]],null]],[12],[2,\\\"\\\\n            \\\"],[10,\\\"i\\\"],[15,0,[30,[36,1],[[32,1,[\\\"isVisible\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnVisibleIcon\\\"]],[32,0,[\\\"themeInstance\\\",\\\"columnHiddenIcon\\\"]]],null]],[12],[13],[2,\\\"\\\\n            \\\"],[1,[32,1,[\\\"title\\\"]]],[2,\\\"\\\\n          \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"if\\\",\\\"concat\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/plain-html/columns-dropdown.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/plain-html/global-filter\", [\"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\": \"eAkwZqHP\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"globalSearch\\\"],[12],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"searchLabelMsg\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[8,\\\"input\\\",[[16,1,[32,0,[\\\"inputId\\\"]]],[16,0,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" filterString\\\"],null]]],[[\\\"@value\\\",\\\"@placeholder\\\",\\\"@oninput\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"themeInstance\\\",\\\"searchPlaceholderMsg\\\"]],[32,0,[\\\"updateGlobalFilterString\\\"]]]],null],[2,\\\"\\\\n    \\\"],[10,\\\"button\\\"],[14,0,\\\"clearFilterIcon\\\"],[15,\\\"disabled\\\",[30,[36,2],[[32,0,[\\\"globalFilterUsed\\\"]],\\\"disabled\\\"],null]],[15,\\\"onClick\\\",[30,[36,3],[[32,0,[\\\"clearGlobalFilter\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n      \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearGlobalFilterMsg\\\"]]],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"concat\\\",\\\"unless\\\",\\\"fn\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/plain-html/global-filter.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/plain-html/row-filtering-cell\", [\"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\": \"5w8ZTfym\",\n    \"block\": \"{\\\"symbols\\\":[\\\"CellContent\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,1],[[32,0,[\\\"column\\\",\\\"componentForFilterCell\\\"]]],[[\\\"column\\\",\\\"data\\\",\\\"selectedItems\\\",\\\"expandedItems\\\",\\\"themeInstance\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\",\\\"toggleAllSelection\\\"],[[32,0,[\\\"column\\\"]],[32,0,[\\\"data\\\"]],[32,0,[\\\"selectedItems\\\"]],[32,0,[\\\"expandedItems\\\"]],[32,0,[\\\"themeInstance\\\"]],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]],[32,0,[\\\"toggleAllSelection\\\"]]]]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[8,[32,1],[],[[],[]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,2,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[32,0,[\\\"column\\\",\\\"useFilter\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"div\\\"],[14,0,\\\"filter-wrapper\\\"],[12],[2,\\\"\\\\n        \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"inputId\\\"]]],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"column\\\",\\\"title\\\"]]],[13],[2,\\\"\\\\n\\\"],[6,[37,2],[[32,0,[\\\"column\\\",\\\"filterWithSelect\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[1,[30,[36,1],[[32,0,[\\\"themeInstance\\\",\\\"selectComponent\\\"]]],[[\\\"id\\\",\\\"options\\\",\\\"cssPropertyName\\\",\\\"value\\\",\\\"themeInstance\\\",\\\"class\\\",\\\"expandAllRows\\\",\\\"collapseAllRows\\\"],[[32,0,[\\\"inputId\\\"]],[32,0,[\\\"column\\\",\\\"filterOptions\\\"]],[32,0,[\\\"column\\\",\\\"cssPropertyName\\\"]],[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"themeInstance\\\"]],[30,[36,0],[[32,0,[\\\"themeInstance\\\",\\\"input\\\"]],\\\" changeFilterForColumn\\\"],null],[32,0,[\\\"expandAllRows\\\"]],[32,0,[\\\"collapseAllRows\\\"]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"          \\\"],[8,\\\"input\\\",[[16,1,[32,0,[\\\"inputId\\\"]]],[16,\\\"onclick\\\",[32,0,[\\\"noop\\\"]]]],[[\\\"@name\\\",\\\"@value\\\",\\\"@placeholder\\\",\\\"@oninput\\\"],[\\\"\\\",[32,0,[\\\"column\\\",\\\"filterString\\\"]],[32,0,[\\\"column\\\",\\\"filterPlaceholder\\\"]],[32,0,[\\\"updateColumnFilterString\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"        \\\"],[10,\\\"button\\\"],[14,0,\\\"clearFilterIcon\\\"],[15,\\\"disabled\\\",[30,[36,3],[[32,0,[\\\"column\\\",\\\"filterUsed\\\"]],\\\"disabled\\\"],null]],[15,\\\"onClick\\\",[30,[36,4],[[32,0,[\\\"clearFilter\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n          \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearFilterIcon\\\"]]],[12],[13],[2,\\\"\\\\n          \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearFilterMsg\\\"]]],[13],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"       \\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"concat\\\",\\\"component\\\",\\\"if\\\",\\\"unless\\\",\\\"fn\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/plain-html/row-filtering-cell.hbs\"\n  });\n});","define(\"ember-models-table/templates/components/models-table/themes/plain-html/summary\", [\"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\": \"WXLG13m1\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,4],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[30,[36,3],null,[[\\\"summary\\\"],[[32,0,[\\\"summary\\\"]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[32,0,[\\\"summary\\\"]]],[2,\\\"\\\\n  \\\"],[10,\\\"button\\\"],[15,0,[30,[36,1],[\\\"clearFilters \\\",[30,[36,0],[[32,0,[\\\"anyFilterUsed\\\"]],\\\"emt-sr-only\\\"],null]],null]],[15,\\\"onclick\\\",[30,[36,2],[[32,0,[\\\"doClearFilters\\\"]]],null]],[14,4,\\\"button\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"i\\\"],[15,0,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersIcon\\\"]]],[12],[13],[2,\\\"\\\\n    \\\"],[10,\\\"span\\\"],[14,0,\\\"emt-sr-only\\\"],[12],[1,[32,0,[\\\"themeInstance\\\",\\\"clearAllFiltersMsg\\\"]]],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unless\\\",\\\"concat\\\",\\\"fn\\\",\\\"hash\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-models-table/templates/components/models-table/themes/plain-html/summary.hbs\"\n  });\n});","define(\"ember-models-table/themes/bootstrap3\", [\"exports\", \"ember-models-table/themes/default\"], function (_exports, _default) {\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  /**\r\n   * @class Bootstrap3Theme\r\n   * @namespace Themes\r\n   * @extends Themes.DefaultTheme\r\n   */\n  class Bootstrap3Theme extends _default.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property rowSelectAllCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap3/row-select-all-checkbox'\r\n       */\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/bootstrap3/');\n      /**\r\n       * @property table\r\n       * @type string\r\n       * @default 'table table-striped table-bordered table-condensed'\r\n       */\n      _defineProperty(this, \"table\", 'table table-striped table-bordered table-condensed');\n      /**\r\n       * @property buttonsGroup\r\n       * @type string\r\n       * @default 'btn-group'\r\n       */\n      _defineProperty(this, \"buttonsGroup\", 'btn-group');\n      /**\r\n       * @property globalFilterWrapper\r\n       * @type string\r\n       * @default 'pull-left'\r\n       */\n      _defineProperty(this, \"globalFilterWrapper\", 'pull-left');\n      /**\r\n       * @property sortGroupedPropertyBtn\r\n       * @type string\r\n       * @default 'btn btn-default'\r\n       */\n      _defineProperty(this, \"sortGroupedPropertyBtn\", 'btn btn-default');\n      /**\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @default 'pull-right columns-dropdown'\r\n       */\n      _defineProperty(this, \"columnsDropdownWrapper\", 'pull-right columns-dropdown');\n      /**\r\n       * @property columnsDropdown\r\n       * @type string\r\n       * @default 'dropdown-menu pull-right'\r\n       */\n      _defineProperty(this, \"columnsDropdown\", 'dropdown-menu pull-right');\n      /**\r\n       * @property columnsDropdownDivider\r\n       * @type string\r\n       * @default 'divider'\r\n       */\n      _defineProperty(this, \"columnsDropdownDivider\", 'divider');\n      /**\r\n       * @property dataGroupBySelectWrapper\r\n       * @type string\r\n       * @default 'pull-left'\r\n       */\n      _defineProperty(this, \"dataGroupBySelectWrapper\", 'data-group-by-wrapper pull-left');\n      /**\r\n       * @property footerSummaryNumericPagination\r\n       * @type string\r\n       * @default 'col-md-4 col-sm-4 col-xs-4'\r\n       */\n      _defineProperty(this, \"footerSummaryNumericPagination\", 'col-md-4 col-sm-4 col-xs-4');\n      /**\r\n       * @property footerSummaryDefaultPagination\r\n       * @type string\r\n       * @default 'col-md-5 col-sm-5 col-xs-5'\r\n       */\n      _defineProperty(this, \"footerSummaryDefaultPagination\", 'col-md-5 col-sm-5 col-xs-5');\n      /**\r\n       * @property pageSizeWrapper\r\n       * @type string\r\n       * @default 'col-md-2 col-sm-2 col-xs-2'\r\n       */\n      _defineProperty(this, \"pageSizeWrapper\", 'col-md-2 col-sm-2 col-xs-2');\n      /**\r\n       * @property pageSizeSelectWrapper\r\n       * @type string\r\n       * @default 'pull-right'\r\n       */\n      _defineProperty(this, \"pageSizeSelectWrapper\", 'pull-left');\n      /**\r\n       * @property currentPageSizeSelectWrapper\r\n       * @type string\r\n       * @default 'pull-right'\r\n       */\n      _defineProperty(this, \"currentPageSizeSelectWrapper\", 'pull-right');\n      /**\r\n       * @property paginationInternalWrapper\r\n       * @type string\r\n       * @default 'btn-toolbar pull-right'\r\n       */\n      _defineProperty(this, \"paginationInternalWrapper\", 'btn-toolbar pull-right');\n      /**\r\n       * @property paginationWrapperNumeric\r\n       * @type string\r\n       * @default 'col-md-6 col-sm-6 col-xs-6'\r\n       */\n      _defineProperty(this, \"paginationWrapperNumeric\", 'col-md-6 col-sm-6 col-xs-6');\n      /**\r\n       * @property paginationWrapperDefault\r\n       * @type string\r\n       * @default 'col-md-5 col-sm-5 col-xs-5'\r\n       */\n      _defineProperty(this, \"paginationWrapperDefault\", 'col-md-5 col-sm-5 col-xs-5');\n      /**\r\n       * @property paginationBlock\r\n       * @type string\r\n       * @default 'btn-group'\r\n       */\n      _defineProperty(this, \"paginationBlock\", 'btn-group');\n      /**\r\n       * @property paginationNumericItemActive\r\n       * @type string\r\n       * @default 'active'\r\n       */\n      _defineProperty(this, \"paginationNumericItemActive\", 'active');\n      /**\r\n       * @property buttonDefault\r\n       * @type string\r\n       * @default 'btn btn-default'\r\n       */\n      _defineProperty(this, \"buttonDefault\", 'btn btn-default');\n      /**\r\n       * @property buttonLink\r\n       * @type string\r\n       * @default 'btn btn-link'\r\n       */\n      _defineProperty(this, \"buttonLink\", 'btn btn-link');\n      /**\r\n       * @property form\r\n       * @type string\r\n       * @default 'form-inline'\r\n       */\n      _defineProperty(this, \"form\", 'form-inline');\n      /**\r\n       * @property formElementWrapper\r\n       * @type string\r\n       * @default 'form-group'\r\n       */\n      _defineProperty(this, \"formElementWrapper\", 'form-group');\n      /**\r\n       * @property input\r\n       * @type string\r\n       * @default 'form-control'\r\n       */\n      _defineProperty(this, \"input\", 'form-control');\n      /**\r\n       * @property select\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"select\", '');\n      /**\r\n       * @property tfooterWrapper\r\n       * @type string\r\n       * @default 'table-footer clearfix'\r\n       */\n      _defineProperty(this, \"tfooterWrapper\", 'table-footer clearfix');\n      /**\r\n       * @property tfooterInternalWrapper\r\n       * @type string\r\n       * @default 'row'\r\n       */\n      _defineProperty(this, \"tfooterInternalWrapper\", 'row');\n      /**\r\n       * @property clearFilterIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-remove-sign form-control-feedback'\r\n       */\n      _defineProperty(this, \"clearFilterIcon\", 'glyphicon glyphicon-remove-sign form-control-feedback');\n      /**\r\n       * @property clearAllFiltersIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-remove-circle'\r\n       */\n      _defineProperty(this, \"clearAllFiltersIcon\", 'glyphicon glyphicon-remove-circle');\n      /**\r\n       * @property sortAscIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-triangle-top'\r\n       */\n      _defineProperty(this, \"sortAscIcon\", 'glyphicon glyphicon-triangle-top');\n      /**\r\n       * @property sortDescIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-triangle-bottom'\r\n       */\n      _defineProperty(this, \"sortDescIcon\", 'glyphicon glyphicon-triangle-bottom');\n      /**\r\n       * @property columnVisibleIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-check'\r\n       */\n      _defineProperty(this, \"columnVisibleIcon\", 'glyphicon glyphicon-check');\n      /**\r\n       * @property columnHiddenIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-unchecked'\r\n       */\n      _defineProperty(this, \"columnHiddenIcon\", 'glyphicon glyphicon-unchecked');\n      /**\r\n       * @property navFirstIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-chevron-left'\r\n       */\n      _defineProperty(this, \"navFirstIcon\", 'glyphicon glyphicon-chevron-left');\n      /**\r\n       * @property navPrevIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-menu-left'\r\n       */\n      _defineProperty(this, \"navPrevIcon\", 'glyphicon glyphicon-menu-left');\n      /**\r\n       * @property navNextIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-menu-right'\r\n       */\n      _defineProperty(this, \"navNextIcon\", 'glyphicon glyphicon-menu-right');\n      /**\r\n       * @property navLastIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-chevron-right'\r\n       */\n      _defineProperty(this, \"navLastIcon\", 'glyphicon glyphicon-chevron-right');\n      /**\r\n       * @property caretIcon\r\n       * @type string\r\n       * @default 'caretIcon'\r\n       */\n      _defineProperty(this, \"caretIcon\", 'caret');\n      /**\r\n       * @property expandRowIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-plus'\r\n       */\n      _defineProperty(this, \"expandRowIcon\", 'glyphicon glyphicon-plus');\n      /**\r\n       * @property expandAllRowsIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-plus'\r\n       */\n      _defineProperty(this, \"expandAllRowsIcon\", 'glyphicon glyphicon-plus');\n      /**\r\n       * @property collapseRowIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-minus'\r\n       */\n      _defineProperty(this, \"collapseRowIcon\", 'glyphicon glyphicon-minus');\n      /**\r\n       * @property collapseAllRowsIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-plus'\r\n       */\n      _defineProperty(this, \"collapseAllRowsIcon\", 'glyphicon glyphicon-minus');\n      /**\r\n       * @property selectSomeRowsIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-unchecked glyphicon-minus'\r\n       */\n      _defineProperty(this, \"selectSomeRowsIcon\", 'glyphicon glyphicon-minus');\n      /**\r\n       * @property selectAllRowsIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-check'\r\n       */\n      _defineProperty(this, \"selectAllRowsIcon\", 'glyphicon glyphicon-check');\n      /**\r\n       * @property deselectAllRowsIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-unchecked'\r\n       */\n      _defineProperty(this, \"deselectAllRowsIcon\", 'glyphicon glyphicon-unchecked');\n      /**\r\n       * @property selectRowIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-check'\r\n       */\n      _defineProperty(this, \"selectRowIcon\", 'glyphicon glyphicon-check');\n      /**\r\n       * @property deselectRowIcon\r\n       * @type string\r\n       * @default 'glyphicon glyphicon-unchecked'\r\n       */\n      _defineProperty(this, \"deselectRowIcon\", 'glyphicon glyphicon-unchecked');\n      /**\r\n       * @property editRowButton\r\n       * @type string\r\n       * @default 'btn btn-default'\r\n       */\n      _defineProperty(this, \"editRowButton\", 'btn btn-default');\n      /**\r\n       * @property saveRowButton\r\n       * @type string\r\n       * @default 'btn btn-default'\r\n       */\n      _defineProperty(this, \"saveRowButton\", 'btn btn-default');\n      /**\r\n       * @property cancelRowButton\r\n       * @type string\r\n       * @default 'btn btn-default'\r\n       */\n      _defineProperty(this, \"cancelRowButton\", 'btn btn-default');\n    }\n  }\n  _exports.default = Bootstrap3Theme;\n});","define(\"ember-models-table/themes/bootstrap4\", [\"exports\", \"ember-models-table/themes/bootstrap3\"], function (_exports, _bootstrap) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  /**\r\n   * @class Bootstrap4Theme\r\n   * @namespace Themes\r\n   * @extends Themes.Bootstrap3Theme\r\n   */\n  let Bootstrap4Theme = _exports.default = (_dec = Ember.computed('buttonDefault'), _class = class Bootstrap4Theme extends _bootstrap.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap4/columns-dropdown'\r\n       */\n      /**\r\n       * @property dataGroupBySelectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap4/data-group-by-select'\r\n       */\n      /**\r\n       * @property globalFilterComponent\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap4/global-filter'\r\n       */\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap4/row-filtering-cell'\r\n       */\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/bootstrap4/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/bootstrap4/');\n      /**\r\n       * @property table\r\n       * @type string\r\n       * @default 'table table-striped table-bordered table-condensed table-sm'\r\n       */\n      _defineProperty(this, \"table\", 'table table-striped table-bordered table-condensed table-sm');\n      /**\r\n       * @property globalFilterWrapper\r\n       * @type string\r\n       * @default 'float-left'\r\n       */\n      _defineProperty(this, \"globalFilterWrapper\", 'float-left');\n      /**\r\n       * @property columnsDropdown\r\n       * @type string\r\n       * @default 'dropdown-menu dropdown-menu-right'\r\n       */\n      _defineProperty(this, \"columnsDropdown\", 'dropdown-menu dropdown-menu-right');\n      /**\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @default 'float-right columns-dropdown dropdown'\r\n       */\n      _defineProperty(this, \"columnsDropdownWrapper\", 'float-right columns-dropdown dropdown');\n      /**\r\n       * @property columnsDropdownDivider\r\n       * @type string\r\n       * @default 'dropdown-divider'\r\n       */\n      _defineProperty(this, \"columnsDropdownDivider\", 'dropdown-divider');\n      /**\r\n       * @property buttonDefault\r\n       * @type string\r\n       * @default 'btn btn-secondary'\r\n       */\n      _defineProperty(this, \"buttonDefault\", 'btn btn-secondary');\n      /**\r\n       * @property footerSummaryNumericPagination\r\n       * @type string\r\n       * @default 'col-4'\r\n       */\n      _defineProperty(this, \"footerSummaryNumericPagination\", 'col-4');\n      /**\r\n       * @property footerSummaryDefaultPagination\r\n       * @type string\r\n       * @default  'col-5'\r\n       */\n      _defineProperty(this, \"footerSummaryDefaultPagination\", 'col-5');\n      /**\r\n       * @property pageSizeWrapper\r\n       * @type string\r\n       * @default 'col-2'\r\n       */\n      _defineProperty(this, \"pageSizeWrapper\", 'col-2');\n      /**\r\n       * @property pageSizeSelectWrapper\r\n       * @type string\r\n       * @default 'float-right'\r\n       */\n      _defineProperty(this, \"pageSizeSelectWrapper\", 'float-right');\n      /**\r\n       * @property paginationInternalWrapper\r\n       * @type string\r\n       * @default 'btn-toolbar float-right'\r\n       */\n      _defineProperty(this, \"paginationInternalWrapper\", 'btn-toolbar float-right');\n      /**\r\n       * @property paginationWrapperNumeric\r\n       * @type string\r\n       * @default 'col-6'\r\n       */\n      _defineProperty(this, \"paginationWrapperNumeric\", 'col-6');\n      /**\r\n       * @property paginationWrapperDefault\r\n       * @type string\r\n       * @default 'col-5'\r\n       */\n      _defineProperty(this, \"paginationWrapperDefault\", 'col-5');\n      /**\r\n       * @property clearFilterIcon\r\n       * @type string\r\n       * @default 'fa fa-times form-control-feedback'\r\n       */\n      _defineProperty(this, \"clearFilterIcon\", 'fa fa-times form-control-feedback');\n      /**\r\n       * @property clearAllFiltersIcon\r\n       * @type string\r\n       * @default 'fa fa-times'\r\n       */\n      _defineProperty(this, \"clearAllFiltersIcon\", 'fa fa-times');\n      /**\r\n       * @property sortGroupedPropertyBtn\r\n       * @type string\r\n       * @default 'btn'\r\n       */\n      _defineProperty(this, \"sortGroupedPropertyBtn\", 'btn');\n      /**\r\n       * @property input\r\n       * @type string\r\n       * @default 'form-control'\r\n       */\n      _defineProperty(this, \"input\", 'form-control');\n      /**\r\n       * @property inputGroup\r\n       * @type string\r\n       * @default 'input-group'\r\n       */\n      _defineProperty(this, \"inputGroup\", 'input-group');\n      /**\r\n       * @property sortAscIcon\r\n       * @type string\r\n       * @default 'fa fa-sort-asc'\r\n       */\n      _defineProperty(this, \"sortAscIcon\", 'fa fa-sort-asc');\n      /**\r\n       * @property sortDescIcon\r\n       * @type string\r\n       * @default 'fa fa-sort-desc'\r\n       */\n      _defineProperty(this, \"sortDescIcon\", 'fa fa-sort-desc');\n      /**\r\n       * @property columnVisibleIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"columnVisibleIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property columnHiddenIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"columnHiddenIcon\", 'fa fa-square-o');\n      /**\r\n       * @property navFirstIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-double-left'\r\n       */\n      _defineProperty(this, \"navFirstIcon\", 'fa fa-angle-double-left');\n      /**\r\n       * @property navPrevIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-left'\r\n       */\n      _defineProperty(this, \"navPrevIcon\", 'fa fa-angle-left');\n      /**\r\n       * @property navNextIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-right'\r\n       */\n      _defineProperty(this, \"navNextIcon\", 'fa fa-angle-right');\n      /**\r\n       * @property navLastIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-double-right'\r\n       */\n      _defineProperty(this, \"navLastIcon\", 'fa fa-angle-double-right');\n      /**\r\n       * @property caretIcon\r\n       * @type string\r\n       * @default 'caret'\r\n       */\n      _defineProperty(this, \"caretIcon\", 'caret');\n      /**\r\n       * @property expandRowIcon\r\n       * @type string\r\n       * @default 'fa fa-plus'\r\n       */\n      _defineProperty(this, \"expandRowIcon\", 'fa fa-plus');\n      /**\r\n       * @property expandAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-plus'\r\n       */\n      _defineProperty(this, \"expandAllRowsIcon\", 'fa fa-plus');\n      /**\r\n       * @property collapseRowIcon\r\n       * @type string\r\n       * @default 'fa fa-minus'\r\n       */\n      _defineProperty(this, \"collapseRowIcon\", 'fa fa-minus');\n      /**\r\n       * @property collapseAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-minus'\r\n       */\n      _defineProperty(this, \"collapseAllRowsIcon\", 'fa fa-minus');\n      /**\r\n       * @property selectAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectAllRowsIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property deselectAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"deselectAllRowsIcon\", 'fa fa-square-o');\n      /**\r\n       * @property selectSomeRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectSomeRowsIcon\", 'fa fa-minus-square-o');\n      /**\r\n       * @property selectRowIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectRowIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property deselectRowIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"deselectRowIcon\", 'fa fa-square-o');\n    }\n    /**\r\n     * @property buttonDefaultSmall\r\n     * @type string\r\n     * @default 'btn btn-secondary btn-sm'\r\n     */\n    get buttonDefaultSmall() {\n      return `${this.buttonDefault} btn-sm`;\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"buttonDefaultSmall\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"buttonDefaultSmall\"), _class.prototype), _class);\n});","define(\"ember-models-table/themes/default\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.componentPath = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _dec26, _dec27, _dec28, _dec29, _dec30, _dec31, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0, _descriptor1, _descriptor10, _descriptor11, _descriptor12, _descriptor13, _descriptor14, _descriptor15, _descriptor16, _descriptor17, _descriptor18, _descriptor19, _descriptor20, _descriptor21, _descriptor22, _descriptor23, _descriptor24, _descriptor25, _descriptor26, _descriptor27, _descriptor28, _descriptor29, _descriptor30, _descriptor31;\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 componentPath = componentName => Ember.computed('componentsPath', 'defaultComponentsPath', function () {\n    const owner = Ember.getOwner(this);\n    const defaultPath = `${this.defaultComponentsPath}${componentName}`;\n    const customPath = `${this.componentsPath}${componentName}`;\n    return owner.lookup(`component:${customPath}`) ? customPath : defaultPath;\n  });\n\n  /**\r\n   * Almost empty skeleton for themes. Extend it to provide custom CSS-classes for table items and icons.\r\n   *\r\n   * * Every property with suffix `Component` is a path to the component used in theme\r\n   * * Every property with suffix `Msg` is a message shown in the table\r\n   * * Every property with suffix `Icon` is a CSS-class for font-library used as an icons (used for buttons, carets etc)\r\n   *\r\n   * **Difference from `v.2`:**\r\n   *\r\n   * * No `mergedProperties`\r\n   * * Properties `components`, `messages` and `icons` are removed. Every their key is placed directly in theme and named with suffix `Component`, `Msg` or `Icon`.\r\n   * * Every property name is converted to the `lowerCamelCase`\r\n   *\r\n   * @class DefaultTheme\r\n   * @namespace Themes\r\n   */\n  _exports.componentPath = componentPath;\n  let DefaultTheme = _exports.default = (_dec = componentPath('cell'), _dec2 = componentPath('cell-content-display'), _dec3 = componentPath('cell-content-edit'), _dec4 = componentPath('cell-edit-toggle'), _dec5 = componentPath('cell-column-summary'), _dec6 = componentPath('columns-dropdown'), _dec7 = componentPath('columns-hidden'), _dec8 = componentPath('data-group-by-select'), _dec9 = componentPath('expand-all-toggle'), _dec0 = componentPath('expand-toggle'), _dec1 = componentPath('footer'), _dec10 = componentPath('global-filter'), _dec11 = componentPath('grouped-header'), _dec12 = componentPath('no-data'), _dec13 = componentPath('page-size-select'), _dec14 = componentPath('pagination-numeric'), _dec15 = componentPath('pagination-simple'), _dec16 = componentPath('row'), _dec17 = componentPath('row-expand'), _dec18 = componentPath('row-filtering'), _dec19 = componentPath('row-filtering-cell'), _dec20 = componentPath('row-grouping'), _dec21 = componentPath('row-group-toggle'), _dec22 = componentPath('row-select-all-checkbox'), _dec23 = componentPath('row-select-checkbox'), _dec24 = componentPath('row-sorting'), _dec25 = componentPath('row-sorting-cell'), _dec26 = componentPath('select'), _dec27 = componentPath('summary'), _dec28 = componentPath('table'), _dec29 = componentPath('table-body'), _dec30 = componentPath('table-footer'), _dec31 = componentPath('table-header'), _class = class DefaultTheme extends Ember.Object {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Path to theme's components. It's used in the child-themes\r\n       *\r\n       * @property componentsPath\r\n       * @default 'models-table/'\r\n       * @type string\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/');\n      /**\r\n       * Default path to theme's components\r\n       *\r\n       * @property defaultComponentsPath\r\n       * @default 'models-table/'\r\n       * @type string\r\n       */\n      _defineProperty(this, \"defaultComponentsPath\", 'models-table/');\n      /**\r\n       * @property cellComponent\r\n       * @type string\r\n       * @default 'models-table/cell'\r\n       */\n      _initializerDefineProperty(this, \"cellComponent\", _descriptor, this);\n      /**\r\n       * @property cellContentDisplayComponent\r\n       * @type string\r\n       * @default 'models-table/cell-content-display'\r\n       */\n      _initializerDefineProperty(this, \"cellContentDisplayComponent\", _descriptor2, this);\n      /**\r\n       * @property cellContentEditComponent\r\n       * @type string\r\n       * @default 'models-table/cell-content-edit'\r\n       */\n      _initializerDefineProperty(this, \"cellContentEditComponent\", _descriptor3, this);\n      /**\r\n       * @property cellEditToggleComponent\r\n       * @type string\r\n       * @default 'models-table/cell-edit-toggle'\r\n       */\n      _initializerDefineProperty(this, \"cellEditToggleComponent\", _descriptor4, this);\n      /**\r\n       * @property cellContentSummaryComponent\r\n       * @type string\r\n       * @default 'models-table/cell-column-summary'\r\n       */\n      _initializerDefineProperty(this, \"cellContentSummaryComponent\", _descriptor5, this);\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default 'models-table/columns-dropdown'\r\n       */\n      _initializerDefineProperty(this, \"columnsDropdownComponent\", _descriptor6, this);\n      /**\r\n       * @property columnsHiddenComponent\r\n       * @type string\r\n       * @default 'models-table/columns-hidden'\r\n       */\n      _initializerDefineProperty(this, \"columnsHiddenComponent\", _descriptor7, this);\n      /**\r\n       * @property dataGroupBySelectComponent\r\n       * @type string\r\n       * @default 'models-table/data-group-by-select'\r\n       */\n      _initializerDefineProperty(this, \"dataGroupBySelectComponent\", _descriptor8, this);\n      /**\r\n       * @property expandAllToggleComponent\r\n       * @type string\r\n       * @default 'models-table/expand-all-toggle'\r\n       */\n      _initializerDefineProperty(this, \"expandAllToggleComponent\", _descriptor9, this);\n      /**\r\n       * @property expandToggleComponent\r\n       * @type string\r\n       * @default 'models-table/expand-toggle'\r\n       */\n      _initializerDefineProperty(this, \"expandToggleComponent\", _descriptor0, this);\n      /**\r\n       * @property footerComponent\r\n       * @type string\r\n       * @default 'models-table/footer'\r\n       */\n      _initializerDefineProperty(this, \"footerComponent\", _descriptor1, this);\n      /**\r\n       * @property globalFilterComponent\r\n       * @type string\r\n       * @default 'models-table/global-filter'\r\n       */\n      _initializerDefineProperty(this, \"globalFilterComponent\", _descriptor10, this);\n      /**\r\n       * @property groupedHeaderComponent\r\n       * @type string\r\n       * @default 'models-table/grouped-header'\r\n       */\n      _initializerDefineProperty(this, \"groupedHeaderComponent\", _descriptor11, this);\n      /**\r\n       * @property noDataComponent\r\n       * @type string\r\n       * @default 'models-table/no-data'\r\n       */\n      _initializerDefineProperty(this, \"noDataComponent\", _descriptor12, this);\n      /**\r\n       * @property pageSizeSelectComponent\r\n       * @type string\r\n       * @default 'models-table/page-size-select'\r\n       */\n      _initializerDefineProperty(this, \"pageSizeSelectComponent\", _descriptor13, this);\n      /**\r\n       * @property paginationNumericComponent\r\n       * @type string\r\n       * @default 'models-table/pagination-numeric'\r\n       */\n      _initializerDefineProperty(this, \"paginationNumericComponent\", _descriptor14, this);\n      /**\r\n       * @property paginationSimpleComponent\r\n       * @type string\r\n       * @default 'models-table/pagination-simple'\r\n       */\n      _initializerDefineProperty(this, \"paginationSimpleComponent\", _descriptor15, this);\n      /**\r\n       * @property rowComponent\r\n       * @type string\r\n       * @default 'models-table/row'\r\n       */\n      _initializerDefineProperty(this, \"rowComponent\", _descriptor16, this);\n      /**\r\n       * @property rowExpandComponent\r\n       * @type string\r\n       * @default 'models-table/row-expand'\r\n       */\n      _initializerDefineProperty(this, \"rowExpandComponent\", _descriptor17, this);\n      /**\r\n       * @property rowFilteringComponent\r\n       * @type string\r\n       * @default 'models-table/row-filtering'\r\n       */\n      _initializerDefineProperty(this, \"rowFilteringComponent\", _descriptor18, this);\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/row-filtering-cell'\r\n       */\n      _initializerDefineProperty(this, \"rowFilteringCellComponent\", _descriptor19, this);\n      /**\r\n       * @property rowGroupingComponent\r\n       * @type string\r\n       * @default 'models-table/row-grouping'\r\n       */\n      _initializerDefineProperty(this, \"rowGroupingComponent\", _descriptor20, this);\n      /**\r\n       * @property rowGroupToggleComponent\r\n       * @type string\r\n       * @default 'models-table/row-group-toggle'\r\n       */\n      _initializerDefineProperty(this, \"rowGroupToggleComponent\", _descriptor21, this);\n      /**\r\n       * @property rowSelectAllCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/row-select-all-checkbox'\r\n       */\n      _initializerDefineProperty(this, \"rowSelectAllCheckboxComponent\", _descriptor22, this);\n      /**\r\n       * @property rowSelectCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/row-select-checkbox'\r\n       */\n      _initializerDefineProperty(this, \"rowSelectCheckboxComponent\", _descriptor23, this);\n      /**\r\n       * @property rowSortingComponent\r\n       * @type string\r\n       * @default 'models-table/row-sorting'\r\n       */\n      _initializerDefineProperty(this, \"rowSortingComponent\", _descriptor24, this);\n      /**\r\n       * @property rowSortingCellComponent\r\n       * @type string\r\n       * @default 'models-table/row-sorting-cell'\r\n       */\n      _initializerDefineProperty(this, \"rowSortingCellComponent\", _descriptor25, this);\n      /**\r\n       * @property selectComponent\r\n       * @type string\r\n       * @default 'models-table/select'\r\n       */\n      _initializerDefineProperty(this, \"selectComponent\", _descriptor26, this);\n      /**\r\n       * @property summaryComponent\r\n       * @type string\r\n       * @default 'models-table/summary'\r\n       */\n      _initializerDefineProperty(this, \"summaryComponent\", _descriptor27, this);\n      /**\r\n       * @property tableComponent\r\n       * @type string\r\n       * @default 'models-table/table'\r\n       */\n      _initializerDefineProperty(this, \"tableComponent\", _descriptor28, this);\n      /**\r\n       * @property tableBodyComponent\r\n       * @type string\r\n       * @default 'models-table/table-body'\r\n       */\n      _initializerDefineProperty(this, \"tableBodyComponent\", _descriptor29, this);\n      /**\r\n       * @property tableFooterComponent\r\n       * @type string\r\n       * @default 'models-table/table-footer'\r\n       */\n      _initializerDefineProperty(this, \"tableFooterComponent\", _descriptor30, this);\n      /**\r\n       * @property tableHeaderComponent\r\n       * @type string\r\n       * @default 'models-table/table-header'\r\n       */\n      _initializerDefineProperty(this, \"tableHeaderComponent\", _descriptor31, this);\n      /**\r\n       * @property cellContentTagName\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"cellContentTagName\", '');\n      /**\r\n       * @property searchLabelMsg\r\n       * Label for global filter\r\n       *\r\n       * @type string\r\n       * @default 'Search:'\r\n       */\n      _defineProperty(this, \"searchLabelMsg\", 'Search:');\n      /**\r\n       * Placeholder for global filter\r\n       *\r\n       * @property searchPlaceholderMsg\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"searchPlaceholderMsg\", '');\n      /**\r\n       * Label for dropdown with columns for rows grouping\r\n       *\r\n       * @property groupByLabelMsg\r\n       * @type string\r\n       * @default 'Group by:'\r\n       */\n      _defineProperty(this, \"groupByLabelMsg\", 'Group by:');\n      /**\r\n       * Text on toggle for columns dropdown\r\n       *\r\n       * @property columnsTitleMsg\r\n       * @type string\r\n       * @default 'Columns'\r\n       */\n      _defineProperty(this, \"columnsTitleMsg\", 'Columns');\n      /**\r\n       * Label for button to show all table columns (under columns dropdown)\r\n       *\r\n       * @property columnsShowAllMsg\r\n       * @type string\r\n       * @default 'Show All'\r\n       */\n      _defineProperty(this, \"columnsShowAllMsg\", 'Show All');\n      /**\r\n       * Label for button to hide all table columns (under columns dropdown)\r\n       *\r\n       * @property columnsHideAllMsg\r\n       * @type string\r\n       * @default 'Hide All'\r\n       */\n      _defineProperty(this, \"columnsHideAllMsg\", 'Hide All');\n      /**\r\n       * Label for button to restore default visibility for table columns (under columns dropdown)\r\n       *\r\n       * @property columnsRestoreDefaultsMsg\r\n       * @type string\r\n       * @default 'Restore Defaults'\r\n       */\n      _defineProperty(this, \"columnsRestoreDefaultsMsg\", 'Restore Defaults');\n      /**\r\n       * Message shown in the table summary. It's used with three options:\r\n       *\r\n       * 1. First row's index\r\n       * 2. Last row's index\r\n       * 3. Overall rows count\r\n       *\r\n       * @property tableSummaryMsg\r\n       * @type string\r\n       * @default 'Show %@ - %@ of %@'\r\n       */\n      _defineProperty(this, \"tableSummaryMsg\", 'Show %@ - %@ of %@');\n      /**\r\n       * Message shown when all columns are hidden. It's shown inside table body\r\n       *\r\n       * @property allColumnsAreHiddenMsg\r\n       * @type string\r\n       * @default 'All columns are hidden. Use <strong>columns</strong>-dropdown to show some of them'\r\n       */\n      _defineProperty(this, \"allColumnsAreHiddenMsg\", 'All columns are hidden. Use <strong>columns</strong>-dropdown to show some of them');\n      /**\r\n       * Message shown when there are not data to display in the table. It's shown inside table body in cases when initial `data` is empty or when all records are filtered out\r\n       *\r\n       * @property noDataToShowMsg\r\n       * @type string\r\n       * @default 'No records to show'\r\n       */\n      _defineProperty(this, \"noDataToShowMsg\", 'No records to show');\n      /**\r\n       * Default label for button \"Edit\" inside the `cell-edit-toggle`-component\r\n       *\r\n       * @property editRowButtonLabelMsg\r\n       * @type string\r\n       * @default 'Edit'\r\n       */\n      _defineProperty(this, \"editRowButtonLabelMsg\", 'Edit');\n      /**\r\n       * Default label for button \"Save\" inside the `cell-edit-toggle`-component\r\n       *\r\n       * @property saveRowButtonLabelMsg\r\n       * @type string\r\n       * @default 'Save'\r\n       */\n      _defineProperty(this, \"saveRowButtonLabelMsg\", 'Save');\n      /**\r\n       * Default label for button \"Cancel\" inside the `cell-edit-toggle`-component\r\n       *\r\n       * @property cancelRowButtonLabelMsg\r\n       * @type string\r\n       * @default 'Cancel'\r\n       */\n      _defineProperty(this, \"cancelRowButtonLabelMsg\", 'Cancel');\n      /**\r\n       * Label for dropdown with page numbers. Used in both numeric and simple pagination\r\n       *\r\n       * @property currentPageNumberMsg\r\n       * @type string\r\n       * @default 'Page:'\r\n       */\n      _defineProperty(this, \"currentPageNumberMsg\", 'Page:');\n      /**\r\n       * Label for dropdown with rows count shown in the page\r\n       *\r\n       * @property rowsCountMsg\r\n       * @type string\r\n       * @default 'Rows:'\r\n       */\n      _defineProperty(this, \"rowsCountMsg\", 'Rows:');\n      /**\r\n       * Label for \"First\"-page in the numeric pagination. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property goToFirstPageButtonTextMsg\r\n       * @type string\r\n       * @default 'Go to first page'\r\n       */\n      _defineProperty(this, \"goToFirstPageButtonTextMsg\", 'Go to first page');\n      /**\r\n       * Label for \"Previous\"-page in the numeric pagination. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property goToPrevPageButtonTextMsg\r\n       * @type string\r\n       * @default 'Go to previous page'\r\n       */\n      _defineProperty(this, \"goToPrevPageButtonTextMsg\", 'Go to previous page');\n      /**\r\n       * Label for \"Next\"-page in the numeric pagination. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property goToNextPageButtonTextMsg\r\n       * @type string\r\n       * @default 'Go to next page'\r\n       */\n      _defineProperty(this, \"goToNextPageButtonTextMsg\", 'Go to next page');\n      /**\r\n       * Label for \"Last\"-page in the numeric pagination. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property goToLastPageButtonTextMsg\r\n       * @type string\r\n       * @default 'Go to last page'\r\n       */\n      _defineProperty(this, \"goToLastPageButtonTextMsg\", 'Go to last page');\n      /**\r\n       * Label for \"Clear global filter\"-button. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property clearGlobalFilterMsg\r\n       * @type string\r\n       * @default 'Clear global filter input'\r\n       */\n      _defineProperty(this, \"clearGlobalFilterMsg\", 'Clear global filter input');\n      /**\r\n       * Label for \"Clear filter\"-buttons in the table header's cells. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property clearFilterMsg\r\n       * @type string\r\n       * @default 'Clear filter input'\r\n       */\n      _defineProperty(this, \"clearFilterMsg\", 'Clear filter input');\n      /**\r\n       * Label for \"Clear all filters\"-button in the table summary section. It's used for screen-readers and not \"visible\" by default\r\n       *\r\n       * @property clearAllFiltersMsg\r\n       * @type string\r\n       * @default 'Clear all filters'\r\n       */\n      _defineProperty(this, \"clearAllFiltersMsg\", 'Clear all filters');\n      /**\r\n       * CSS-classes for `table`-tag\r\n       *\r\n       * @property table\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"table\", '');\n      /**\r\n       * @property buttonsGroup\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"buttonsGroup\", '');\n      /**\r\n       * CSS-classes for `div`-wrapper over components `global-filter`, `data-group-by-select` and `columns-dropdown`\r\n       *\r\n       * @property headerWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"headerWrapper\", '');\n      /**\r\n       * CSS-classes for wrapper used inside `global-filter` component\r\n       *\r\n       * @property globalFilterWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"globalFilterWrapper\", '');\n      /**\r\n       * CSS-classes for wrapper used inside `columns-dropdown` component\r\n       *\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnsDropdownWrapper\", '');\n      /**\r\n       * @property columnsDropdownButtonWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnsDropdownButtonWrapper\", '');\n      /**\r\n       * CSS-classes for wrapper over list inside `columns-dropdown` component\r\n       *\r\n       * @property columnsDropdown\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnsDropdown\", '');\n      /**\r\n       * CSS-classes for divider for list inside `columns-dropdown` components. Divider is placed before single-column items by default\r\n       *\r\n       * @property columnsDropdownDivider\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnsDropdownDivider\", '');\n      /**\r\n       * CSS-classes for wrapper inside `data-group-by-select` component\r\n       *\r\n       * @property dataGroupBySelectWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"dataGroupBySelectWrapper\", 'data-group-by-wrapper');\n      /**\r\n       * CSS-classes for thead cells\r\n       *\r\n       * @property theadCell\r\n       * @type string\r\n       * @default 'table-header'\r\n       */\n      _defineProperty(this, \"theadCell\", 'table-header');\n      /**\r\n       * CSS-classes used for thead-cells with columns titles. This class is used only if columns is not sortable\r\n       *\r\n       * @property theadCellNoSorting\r\n       * @type string\r\n       * @default 'table-header-no-sorting'\r\n       */\n      _defineProperty(this, \"theadCellNoSorting\", 'table-header-no-sorting');\n      /**\r\n       * CSS-classes used for thead-cells with columns filters. This class is used only if columns is not filterable\r\n       *\r\n       * @property theadCellNoFiltering\r\n       * @type string\r\n       * @default 'table-header-no-filtering'\r\n       */\n      _defineProperty(this, \"theadCellNoFiltering\", 'table-header-no-filtering');\n      /**\r\n       * CSS-classes for selected rows. Used in the `row` component\r\n       *\r\n       * @property selectedRow\r\n       * @type string\r\n       * @default 'selected-row'\r\n       */\n      _defineProperty(this, \"selectedRow\", 'selected-row');\n      /**\r\n       * CSS-classes for expanded rows. Used in the `row` component\r\n       *\r\n       * @property expandedRow\r\n       * @type string\r\n       * @default 'expanded-row'\r\n       */\n      _defineProperty(this, \"expandedRow\", 'expanded-row');\n      /**\r\n       * CSS-classes for table footer\r\n       *\r\n       * @property tfooterWrapper\r\n       * @type string\r\n       * @default 'table-footer'\r\n       */\n      _defineProperty(this, \"tfooterWrapper\", 'table-footer');\n      /**\r\n       * CSS-classes for wrapper inside `footer` component\r\n       *\r\n       * @property tfooterInternalWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"tfooterInternalWrapper\", '');\n      /**\r\n       * CSS-classes for table summary block. Used in the `summary` component\r\n       *\r\n       * @property footerSummary\r\n       * @type string\r\n       * @default 'table-summary'\r\n       */\n      _defineProperty(this, \"footerSummary\", 'table-summary');\n      /**\r\n       * CSS-classes for table summary block. It's used when table has numeric pagination\r\n       *\r\n       * @property footerSummaryNumericPagination\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"footerSummaryNumericPagination\", '');\n      /**\r\n       * CSS-classes for table summary block. It's used when table has simple pagination\r\n       *\r\n       * @property footerSummaryDefaultPagination\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"footerSummaryDefaultPagination\", '');\n      /**\r\n       * CSS-classes for wrapper over \"Page size\"-block in the `footer` component\r\n       *\r\n       * @property pageSizeWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"pageSizeWrapper\", '');\n      /**\r\n       * @property pageSizeSelectWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"pageSizeSelectWrapper\", '');\n      /**\r\n       * Wrapper for select-tag in the current-page-number-select component\r\n       *\r\n       * @property currentPageSizeSelectWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"currentPageSizeSelectWrapper\", '');\n      /**\r\n       * CSS-classes for `pagination-simple` and `pagination-numeric` components\r\n       *\r\n       * @property paginationWrapper\r\n       * @type string\r\n       * @default 'table-nav'\r\n       */\n      _defineProperty(this, \"paginationWrapper\", 'table-nav');\n      /**\r\n       * CSS-classes for buttons-wrapper in the `pagination-simple` and `pagination-numeric` components\r\n       *\r\n       * @property paginationInternalWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationInternalWrapper\", '');\n      /**\r\n       * CSS-classes for `pagination-numeric` component\r\n       *\r\n       * @property paginationWrapperNumeric\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationWrapperNumeric\", '');\n      /**\r\n       * CSS-classes for `pagination-simple` component\r\n       *\r\n       * @property paginationWrapperDefault\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationWrapperDefault\", '');\n      /**\r\n       * @property paginationBlock\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationBlock\", '');\n      /**\r\n       * CSS-classes for items in the `pagination-numeric` component\r\n       *\r\n       * @property paginationNumericItem\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationNumericItem\", '');\n      /**\r\n       * CSS-classes for active item in the `pagination-numeric` component\r\n       *\r\n       * @property paginationNumericItemActive\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"paginationNumericItemActive\", '');\n      /**\r\n       * CSS-classes for \"default\" buttons\r\n       *\r\n       * @property buttonDefault\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"buttonDefault\", '');\n      /**\r\n       * CSS-classes for \"link\"-buttons\r\n       *\r\n       * @property buttonLink\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"buttonLink\", '');\n      /**\r\n       * CSS-classes for `td` shown when all columns are hidden\r\n       *\r\n       * @property noDataCell\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"noDataCell\", '');\n      /**\r\n       * @property collapseRow\r\n       * @type string\r\n       * @default 'collapseRow'\r\n       */\n      _defineProperty(this, \"collapseRow\", 'collapse-row');\n      /**\r\n       * @property collapseAllRows\r\n       * @type string\r\n       * @default 'collapse-all-rows'\r\n       */\n      _defineProperty(this, \"collapseAllRows\", 'collapse-all-rows');\n      /**\r\n       * @property expandRow\r\n       * @type string\r\n       * @default 'expand-row'\r\n       */\n      _defineProperty(this, \"expandRow\", 'expand-row');\n      /**\r\n       * @property expandAllRows\r\n       * @type string\r\n       * @default 'expand-all-rows'\r\n       */\n      _defineProperty(this, \"expandAllRows\", 'expand-all-rows');\n      /**\r\n       * @property cellContentDisplay\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"cellContentDisplay\", '');\n      /**\r\n       * @property cellContentEdit\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"cellContentEdit\", '');\n      /**\r\n       * CSS-classes for `thead`\r\n       *\r\n       * @property thead\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"thead\", '');\n      /**\r\n       * CSS-classes for `form`\r\n       *\r\n       * @property form\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"form\", '');\n      /**\r\n       * CSS-classes for wrapper over the form elements\r\n       *\r\n       * @property formElementWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"formElementWrapper\", '');\n      /**\r\n       * CSS-classes for input elements\r\n       *\r\n       * @property input\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"input\", '');\n      /**\r\n       * CSS-classes for `select`\r\n       *\r\n       * @property select\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"select\", '');\n      /**\r\n       * CSS-classes for \"Clear filter\" button. Used for global filter and filters for each column\r\n       *\r\n       * @property clearFilterIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"clearFilterIcon\", '');\n      /**\r\n       * CSS-classes for \"Clear all filters\" button inside the `summary` component\r\n       *\r\n       * @property clearAllFiltersIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"clearAllFiltersIcon\", '');\n      /**\r\n       * @property globalFilterDropdownWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"globalFilterDropdownWrapper\", '');\n      /**\r\n       * CSS-classes for `select` inside the `data-group-by-select` component\r\n       *\r\n       * @property changeGroupByField\r\n       * @type string\r\n       * @default 'change-group-by-field'\r\n       */\n      _defineProperty(this, \"changeGroupByField\", 'change-group-by-field');\n      /**\r\n       * CSS-classes for \"sort asc/desc\" button inside the `data-group-by-select` component\r\n       *\r\n       * @property sortGroupedPropertyBtn\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"sortGroupedPropertyBtn\", 'sort-grouped-field');\n      /**\r\n       * CSS-class for `row-grouping` component\r\n       *\r\n       * @property groupingRow\r\n       * @type string\r\n       * @default 'grouping-row'\r\n       */\n      _defineProperty(this, \"groupingRow\", 'grouping-row');\n      /**\r\n       * CSS-classes for `td` inside `row-grouping` component\r\n       *\r\n       * @property groupingCell\r\n       * @type string\r\n       * @default 'grouping-cell'\r\n       */\n      _defineProperty(this, \"groupingCell\", 'grouping-cell');\n      /**\r\n       * CSS-classes for icons used to show that some \"list\" is sorted \"ASC\". It's used for `data-group-by-select` and `row-sorting-cell`\r\n       *\r\n       * @property sortAscIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"sortAscIcon\", '');\n      /**\r\n       * CSS-classes for icons used to show that some \"list\" is sorted \"DESC\". It's used for `data-group-by-select` and `row-sorting-cell`\r\n       *\r\n       * @property sortDescIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"sortDescIcon\", '');\n      /**\r\n       * CSS-classes for icons in the `columns-dropdown` related to the visible columns\r\n       *\r\n       * @property columnVisibleIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnVisibleIcon\", '');\n      /**\r\n       * CSS-classes for icons in the `columns-dropdown` related to the hidden columns\r\n       *\r\n       * @property columnHiddenIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"columnHiddenIcon\", '');\n      /**\r\n       * CSS-classes for icon used in the \"First\"-button (`pagination-simple`)\r\n       *\r\n       * @property navFirstIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"navFirstIcon\", '');\n      /**\r\n       * CSS-classes for icon used in the \"Prev\"-button (`pagination-simple`)\r\n       *\r\n       * @property navPrevIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"navPrevIcon\", '');\n      /**\r\n       * CSS-classes for icon used in the \"Next\"-button (`pagination-simple`)\r\n       *\r\n       * @property navNextIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"navNextIcon\", '');\n      /**\r\n       * CSS-classes for icon used in the \"Last\"-button (`pagination-simple`)\r\n       *\r\n       * @property navLastIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"navLastIcon\", '');\n      /**\r\n       * CSS-classes for \"caret\"-icon used in the `columns-dropdown`\r\n       *\r\n       * @property caretIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"caretIcon\", '');\n      /**\r\n       * @property selectAllRowsIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"selectAllRowsIcon\", '');\n      /**\r\n       * @property deselectAllRowsIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"deselectAllRowsIcon\", '');\n      /**\r\n       * @property selectSomeRowsIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"selectSomeRowsIcon\", '');\n      /**\r\n       * @property selectRowIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"selectRowIcon\", '');\n      /**\r\n       * @property deselectRowIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"deselectRowIcon\", '');\n      /**\r\n       * @property editRowButton\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"editRowButton\", '');\n      /**\r\n       * @property saveRowButton\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"saveRowButton\", '');\n      /**\r\n       * @property cancelRowButton\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"cancelRowButton\", '');\n      /**\r\n       * @property filteringCellInternalWrapper\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"filteringCellInternalWrapper\", '');\n      /**\r\n       * @property expandRowIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"expandRowIcon\", '');\n      /**\r\n       * @property collapseRowIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"collapseRowIcon\", '');\n      /**\r\n       * @property collapseAllRowsIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"collapseAllRowsIcon\", '');\n      /**\r\n       * @property expandAllRowsIcon\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"expandAllRowsIcon\", '');\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"cellComponent\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"cellContentDisplayComponent\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"cellContentEditComponent\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"cellEditToggleComponent\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"cellContentSummaryComponent\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"columnsDropdownComponent\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"columnsHiddenComponent\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"dataGroupBySelectComponent\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"expandAllToggleComponent\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"expandToggleComponent\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor1 = _applyDecoratedDescriptor(_class.prototype, \"footerComponent\", [_dec1], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor10 = _applyDecoratedDescriptor(_class.prototype, \"globalFilterComponent\", [_dec10], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor11 = _applyDecoratedDescriptor(_class.prototype, \"groupedHeaderComponent\", [_dec11], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor12 = _applyDecoratedDescriptor(_class.prototype, \"noDataComponent\", [_dec12], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor13 = _applyDecoratedDescriptor(_class.prototype, \"pageSizeSelectComponent\", [_dec13], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor14 = _applyDecoratedDescriptor(_class.prototype, \"paginationNumericComponent\", [_dec14], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor15 = _applyDecoratedDescriptor(_class.prototype, \"paginationSimpleComponent\", [_dec15], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor16 = _applyDecoratedDescriptor(_class.prototype, \"rowComponent\", [_dec16], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor17 = _applyDecoratedDescriptor(_class.prototype, \"rowExpandComponent\", [_dec17], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor18 = _applyDecoratedDescriptor(_class.prototype, \"rowFilteringComponent\", [_dec18], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor19 = _applyDecoratedDescriptor(_class.prototype, \"rowFilteringCellComponent\", [_dec19], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor20 = _applyDecoratedDescriptor(_class.prototype, \"rowGroupingComponent\", [_dec20], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor21 = _applyDecoratedDescriptor(_class.prototype, \"rowGroupToggleComponent\", [_dec21], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor22 = _applyDecoratedDescriptor(_class.prototype, \"rowSelectAllCheckboxComponent\", [_dec22], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor23 = _applyDecoratedDescriptor(_class.prototype, \"rowSelectCheckboxComponent\", [_dec23], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor24 = _applyDecoratedDescriptor(_class.prototype, \"rowSortingComponent\", [_dec24], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor25 = _applyDecoratedDescriptor(_class.prototype, \"rowSortingCellComponent\", [_dec25], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor26 = _applyDecoratedDescriptor(_class.prototype, \"selectComponent\", [_dec26], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor27 = _applyDecoratedDescriptor(_class.prototype, \"summaryComponent\", [_dec27], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor28 = _applyDecoratedDescriptor(_class.prototype, \"tableComponent\", [_dec28], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor29 = _applyDecoratedDescriptor(_class.prototype, \"tableBodyComponent\", [_dec29], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor30 = _applyDecoratedDescriptor(_class.prototype, \"tableFooterComponent\", [_dec30], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor31 = _applyDecoratedDescriptor(_class.prototype, \"tableHeaderComponent\", [_dec31], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-models-table/themes/ember-bootstrap-v3\", [\"exports\", \"ember-models-table/themes/bootstrap3\"], function (_exports, _bootstrap) {\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  /**\r\n   * @class EmberBootstrap3Theme\r\n   * @namespace Themes\r\n   * @extends Themes.Bootstrap3Theme\r\n   */\n  class EmberBootstrap3Theme extends _bootstrap.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/columns-dropdown'\r\n       */\n      /**\r\n       * @property dataGroupBySelectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/data-group-by-select'\r\n       */\n      /**\r\n       * @property globalFilterComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/global-filter'\r\n       */\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/row-filtering-cell'\r\n       */\n      /**\r\n       * @property summaryComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/row-filtering-summary'\r\n       */\n      /**\r\n       * @property rowSelectAllCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/row-select-all-checkbox'\r\n       */\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v3/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/ember-bootstrap-v3/');\n    }\n  }\n  _exports.default = EmberBootstrap3Theme;\n});","define(\"ember-models-table/themes/ember-bootstrap-v4\", [\"exports\", \"ember-models-table/themes/bootstrap4\"], function (_exports, _bootstrap) {\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  /**\r\n   * @class EmberBootstrap4Theme\r\n   * @namespace Themes\r\n   * @extends Themes.Bootstrap4Theme\r\n   */\n  class EmberBootstrap4Theme extends _bootstrap.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/columns-dropdown'\r\n       */\n      /**\r\n       * @property dataGroupBySelectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/data-group-by-select'\r\n       */\n      /**\r\n       * @property globalFilterComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/global-filter'\r\n       */\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/row-filtering-cell'\r\n       */\n      /**\r\n       * @property summaryComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/row-filtering-summary'\r\n       */\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/ember-bootstrap-v4/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/ember-bootstrap-v4/');\n      /**\r\n       * @property sortGroupedPropertyBtn\r\n       * @type string\r\n       * @default 'btn btn-link'\r\n       */\n      _defineProperty(this, \"sortGroupedPropertyBtn\", 'btn btn-link');\n    }\n  }\n  _exports.default = EmberBootstrap4Theme;\n});","define(\"ember-models-table/themes/ember-paper\", [\"exports\", \"ember-models-table/themes/default\"], function (_exports, _default) {\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  /**\r\n   * @class EmberPaperTheme\r\n   * @namespace Themes\r\n   * @extends Themes.DefaultTheme\r\n   */\n  class EmberPaperTheme extends _default.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default ''models-table/themes/ember-paper/columns-dropdown'\r\n       */\n      /**\r\n       * @property dataGroupBySelectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/data-group-by-select'\r\n       */\n      /**\r\n       * @property globalFilterComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/global-filter'\r\n       */\n      /**\r\n       * @property pageSizeSelectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/page-size-select'\r\n       */\n      /**\r\n       * @property paginationNumericComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/pagination-numeric'\r\n       */\n      /**\r\n       * @property paginationSimpleComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/pagination-simple'\r\n       */\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/row-filtering-cell'\r\n       */\n      /**\r\n       * @property rowSortingCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/row-sorting-cell'\r\n       */\n      /**\r\n       * @property selectComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/select'\r\n       */\n      /**\r\n       * @property summaryComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/summary'\r\n       */\n      /**\r\n       * @property rowSelectAllCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/row-select-all-checkbox'\r\n       */\n      /**\r\n       * @property rowSelectCheckboxComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/row-select-checkbox'\r\n       */\n      /**\r\n       * @property expandToggleComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/expand-toggle'\r\n       */\n      /**\r\n       * @property cellEditToggleComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/cell-edit-toggle'\r\n       */\n      /**\r\n       * @property cellContentEditComponent\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/cell-content-edit'\r\n       */\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/ember-paper/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/ember-paper/');\n      /**\r\n       * @property table\r\n       * @type string\r\n       * @default 'paper-table'\r\n       */\n      _defineProperty(this, \"table\", 'paper-table');\n      /**\r\n       * @property headerWrapper\r\n       * @type string\r\n       * @default 'layout-row layout-align-space-between'\r\n       */\n      _defineProperty(this, \"headerWrapper\", 'layout-row layout-align-space-between');\n      /**\r\n       * @property tfooterInternalWrapper\r\n       * @type string\r\n       * @default 'layout-row layout-align-space-between-center footer-internal-wrapper'\r\n       */\n      _defineProperty(this, \"tfooterInternalWrapper\", 'layout-row layout-align-space-between-center footer-internal-wrapper');\n      /**\r\n       * @property paginationInternalWrapper\r\n       * @type string\r\n       * @default 'layout-row layout-align-space-between-center'\r\n       */\n      _defineProperty(this, \"paginationInternalWrapper\", 'layout-row layout-align-space-between-center');\n      /**\r\n       * @property columnVisibleIcon\r\n       * @type string\r\n       * @default 'check_box'\r\n       */\n      _defineProperty(this, \"columnVisibleIcon\", 'check_box');\n      /**\r\n       * @property columnHiddenIcon\r\n       * @type string\r\n       * @default 'check_box_outline_blank'\r\n       */\n      _defineProperty(this, \"columnHiddenIcon\", 'check_box_outline_blank');\n      /**\r\n       * @property sortAscIcon\r\n       * @type string\r\n       * @default 'arrow_drop_up'\r\n       */\n      _defineProperty(this, \"sortAscIcon\", 'arrow_drop_up');\n      /**\r\n       * @property sortDescIcon\r\n       * @type string\r\n       * @default 'arrow_drop_down'\r\n       */\n      _defineProperty(this, \"sortDescIcon\", 'arrow_drop_down');\n      /**\r\n       * @property navFirstIcon\r\n       * @type string\r\n       * @default 'first_page'\r\n       */\n      _defineProperty(this, \"navFirstIcon\", 'first_page');\n      /**\r\n       * @property navPrevIcon\r\n       * @type string\r\n       * @default 'chevron_left'\r\n       */\n      _defineProperty(this, \"navPrevIcon\", 'chevron_left');\n      /**\r\n       * @property navNextIcon\r\n       * @type string\r\n       * @default 'chevron_right'\r\n       */\n      _defineProperty(this, \"navNextIcon\", 'chevron_right');\n      /**\r\n       * @property navLastIcon\r\n       * @type string\r\n       * @default 'last_page'\r\n       */\n      _defineProperty(this, \"navLastIcon\", 'last_page');\n      /**\r\n       * @property clearAllFiltersIcon\r\n       * @type string\r\n       * @default 'clear'\r\n       */\n      _defineProperty(this, \"clearAllFiltersIcon\", 'clear');\n      /**\r\n       * @property filteringCellInternalWrapper\r\n       * @type string\r\n       * @default 'layout-row layout-align-space-between-center'\r\n       */\n      _defineProperty(this, \"filteringCellInternalWrapper\", 'layout-row layout-align-space-between-center');\n      /**\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @default 'dropdown'\r\n       */\n      _defineProperty(this, \"columnsDropdownWrapper\", 'columns-dropdown');\n      /**\r\n       * @property collapseRowIcon\r\n       * @type string\r\n       * @default 'expand_less'\r\n       */\n      _defineProperty(this, \"collapseRowIcon\", 'expand_less');\n      /**\r\n       * @property expandRowIcon\r\n       * @type string\r\n       * @default 'expand_more'\r\n       */\n      _defineProperty(this, \"expandRowIcon\", 'expand_more');\n      /**\r\n       * @property collapseAllRowsIcon\r\n       * @type string\r\n       * @default 'expand_less'\r\n       */\n      _defineProperty(this, \"collapseAllRowsIcon\", 'expand_less');\n      /**\r\n       * @property expandAllRowsIcon\r\n       * @type string\r\n       * @default 'expand_more'\r\n       */\n      _defineProperty(this, \"expandAllRowsIcon\", 'expand_more');\n    }\n  }\n  _exports.default = EmberPaperTheme;\n});","define(\"ember-models-table/themes/plain-html\", [\"exports\", \"ember-models-table/themes/default\"], function (_exports, _default) {\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  /**\r\n   * @class PlainHtmlTheme\r\n   * @namespace Themes\r\n   * @extends Themes.Default\r\n   */\n  class PlainHtmlTheme extends _default.default {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * @property componentsPath\r\n       * @type string\r\n       * @default 'models-table/themes/plain-html/'\r\n       */\n      _defineProperty(this, \"componentsPath\", 'models-table/themes/plain-html/');\n      /**\r\n       * @property columnsDropdownComponent\r\n       * @type string\r\n       * @default 'models-table/themes/plain-html/columns-dropdown'\r\n       */\n      /**\r\n       * @property rowFilteringCellComponent\r\n       * @type string\r\n       * @default 'models-table/themes/plain-html/row-filtering-cell'\r\n       */\n      /**\r\n       * @property summaryComponent\r\n       * @type string\r\n       * @default 'models-table/themes/plain-html/summary'\r\n       */\n      /**\r\n       * @property headerWrapper\r\n       * @type string\r\n       * @default 'models-table-header'\r\n       */\n      _defineProperty(this, \"headerWrapper\", 'models-table-header');\n      /**\r\n       * @property tfooterInternalWrapper\r\n       * @type string\r\n       * @default 'models-table-footer'\r\n       */\n      _defineProperty(this, \"tfooterInternalWrapper\", 'models-table-footer');\n      /**\r\n       * @property paginationInternalWrapper\r\n       * @type string\r\n       * @default 'pagination-wrapper'\r\n       */\n      _defineProperty(this, \"paginationInternalWrapper\", 'pagination-wrapper');\n      /**\r\n       * @property currentPageSizeSelectWrapper\r\n       * @type string\r\n       * @default 'page-size-select-wrapper'\r\n       */\n      _defineProperty(this, \"currentPageSizeSelectWrapper\", 'page-size-select-wrapper');\n      /**\r\n       * @property columnsDropdownWrapper\r\n       * @type string\r\n       * @default 'dropdown'\r\n       */\n      _defineProperty(this, \"columnsDropdownWrapper\", 'columns-dropdown');\n      /**\r\n       * @property clearFilterIcon\r\n       * @type string\r\n       * @default 'fa fa-times form-control-feedback'\r\n       */\n      _defineProperty(this, \"clearFilterIcon\", 'fa fa-times form-control-feedback');\n      /**\r\n       * @property clearAllFiltersIcon\r\n       * @type string\r\n       * @default 'fa fa-times'\r\n       */\n      _defineProperty(this, \"clearAllFiltersIcon\", 'fa fa-times');\n      /**\r\n       * @property sortAscIcon\r\n       * @type string\r\n       * @default 'fa fa-sort-asc'\r\n       */\n      _defineProperty(this, \"sortAscIcon\", 'fa fa-sort-asc');\n      /**\r\n       * @property sortDescIcon\r\n       * @type string\r\n       * @default 'fa fa-sort-desc'\r\n       */\n      _defineProperty(this, \"sortDescIcon\", 'fa fa-sort-desc');\n      /**\r\n       * @property columnVisibleIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"columnVisibleIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property columnHiddenIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"columnHiddenIcon\", 'fa fa-square-o');\n      /**\r\n       * @property navFirstIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-double-left'\r\n       */\n      _defineProperty(this, \"navFirstIcon\", 'fa fa-angle-double-left');\n      /**\r\n       * @property navPrevIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-left'\r\n       */\n      _defineProperty(this, \"navPrevIcon\", 'fa fa-angle-left');\n      /**\r\n       * @property navNextIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-right'\r\n       */\n      _defineProperty(this, \"navNextIcon\", 'fa fa-angle-right');\n      /**\r\n       * @property navLastIcon\r\n       * @type string\r\n       * @default 'fa fa-angle-double-right'\r\n       */\n      _defineProperty(this, \"navLastIcon\", 'fa fa-angle-double-right');\n      /**\r\n       * @property caretIcon\r\n       * @type string\r\n       * @default 'caret'\r\n       */\n      _defineProperty(this, \"caretIcon\", 'caret');\n      /**\r\n       * @property expandRowIcon\r\n       * @type string\r\n       * @default 'fa fa-plus'\r\n       */\n      _defineProperty(this, \"expandRowIcon\", 'fa fa-plus');\n      /**\r\n       * @property expandAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-plus'\r\n       */\n      _defineProperty(this, \"expandAllRowsIcon\", 'fa fa-plus');\n      /**\r\n       * @property collapseRowIcon\r\n       * @type string\r\n       * @default 'fa fa-minus'\r\n       */\n      _defineProperty(this, \"collapseRowIcon\", 'fa fa-minus');\n      /**\r\n       * @property collapseAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-minus'\r\n       */\n      _defineProperty(this, \"collapseAllRowsIcon\", 'fa fa-minus');\n      /**\r\n       * @property selectAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectAllRowsIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property selectSomeRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectSomeRowsIcon\", 'fa fa-minus-square-o');\n      /**\r\n       * @property deselectAllRowsIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"deselectAllRowsIcon\", 'fa fa-square-o');\n      /**\r\n       * @property selectRowIcon\r\n       * @type string\r\n       * @default 'fa fa-check-square-o'\r\n       */\n      _defineProperty(this, \"selectRowIcon\", 'fa fa-check-square-o');\n      /**\r\n       * @property deselectRowIcon\r\n       * @type string\r\n       * @default 'fa fa-square-o'\r\n       */\n      _defineProperty(this, \"deselectRowIcon\", 'fa fa-square-o');\n    }\n  }\n  _exports.default = PlainHtmlTheme;\n});","define(\"ember-models-table/utils/better-compare\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = betterCompare;\n  /*\r\n   * This is a better version of Ember.compare.\r\n   * Sadly, Ember.compare() will always return 0 when comparing two instances of JavaScript objects that do not\r\n   * implement the Comparable-mixin.\r\n   * This function will compare instances via their `valueOf()` method if available.\r\n   *\r\n   * @param {Mixed} v\r\n   * @param {Mixed} w\r\n   * @return number\r\n   */\n  function betterCompare(v, w) {\n    let type1 = Ember.typeOf(v);\n    let type2 = Ember.typeOf(w);\n    if (type1 === 'instance' && type2 === 'instance' || type1 === 'object' && type2 === 'object') {\n      if (Ember.typeOf(v.compare) === 'function' && Ember.typeOf(w.compare) === 'function') {\n        return v.compare(v, w);\n      }\n      if (Ember.typeOf(v.valueOf) === 'function' && Ember.typeOf(w.valueOf) === 'function') {\n        return Ember.compare(v.valueOf(), w.valueOf());\n      }\n    }\n    return Ember.compare(v, w);\n  }\n});","define(\"ember-models-table/utils/column\", [\"exports\", \"@ember-decorators/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.propertyNameToTitle = propertyNameToTitle;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _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 _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  /*\r\n   * Convert some string to the human readable one\r\n   *\r\n   * @param {string} name value to convert\r\n   * @return string\r\n   */\n  function propertyNameToTitle(name) {\n    return Ember.String.capitalize(Ember.String.dasherize(name).replace(/-/g, ' '));\n  }\n\n  /**\r\n   * Column definition class for ModelsTable columns\r\n   *\r\n   * Check its public properties\r\n   *\r\n   * @class ModelsTableColumn\r\n   * @extends Ember.Object\r\n   * @namespace Utils\r\n   */\n  let ModelsTableColumn = _exports.default = (_dec = Ember.computed.readOnly('__mt.data'), _dec2 = Ember.computed('propertyName'), _dec3 = Ember.computed.not('isHidden'), _dec4 = Ember.computed.equal('sorting', 'asc'), _dec5 = Ember.computed.equal('sorting', 'desc'), _dec6 = Ember.computed.notEmpty('filterString'), _dec7 = Ember.computed('sortField', 'disableSorting'), _dec8 = Ember.computed('sortedBy', 'propertyName'), _dec9 = Ember.computed('filterField', 'disableFiltering'), _dec0 = Ember.computed('filteredBy', 'propertyName'), _dec1 = (0, _object.observes)('filterWithSelect', 'filterOptions.[]', 'filterString'), _class = class ModelsTableColumn extends Ember.Object {\n    constructor(...args) {\n      super(...args);\n      /**\r\n       * Value inverted to the [isHidden](Utils.ModelsTableColumn.html#property_isHidden) initial value\r\n       *\r\n       * It set on column init and not changed any more\r\n       *\r\n       * @property defaultVisible\r\n       * @type boolean\r\n       * @private\r\n       * @readOnly\r\n       */\n      /**\r\n       * Field-name of the data's object shown in the current column. If it isn't provided, sorting and filtering options for current column are ignored\r\n       *\r\n       * @property propertyName\r\n       * @default ''\r\n       * @type string\r\n       */\n      _defineProperty(this, \"propertyName\", '');\n      /**\r\n       * Header for column. If it isn't provided, capitalized `propertyName` is used\r\n       *\r\n       * @property title\r\n       * @default ''\r\n       * @type string\r\n       */\n      _defineProperty(this, \"title\", null);\n      /**\r\n       * If `true` only `propertyName` will be shown in the column's cells and no components etc. Edit-mode won't affect such column.\r\n       *\r\n       * If `false` column's cells will be processed as usual (components will be used to display data and for edit-mode)\r\n       *\r\n       * @property simple\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"simple\", false);\n      /**\r\n       * Custom component used in the column's cells.\r\n       *\r\n       * It will receive several options:\r\n       *\r\n       *  * `data` - whole dataset passed to the `models-table`\r\n       *  * `record` - current row\r\n       *  * `index` - current row index\r\n       *  * `column` - current column (one of the [processedColumns](Components.ModelsTable.html#property_processedColumns))\r\n       *  * `expandRow` - closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *  * `collapseRow` - closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *  * `expandAllRows` - closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *  * `collapseAllRows` - closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *  * `clickOnRow` - closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *  * `editRow` - closure action [ModelsTable.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *  * `cancelEditRow` - closure action [ModelsTable.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *  * `themeInstance` - bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *  * `isExpanded` - is current row expanded\r\n       *  * `isSelected` - is current row selected\r\n       *  * `isEditRow` - is the row editable (one of the [processedColumns](Components.ModelsTableRow.html#property_isEditRow))\r\n       *  * `isColumnEditable` - is the column currently editable\r\n       *\r\n       * @property component\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"component\", '');\n      /**\r\n       * Custom component used in the column's cells when the row is in edit mode\r\n       *\r\n       * It will receive several options:\r\n       *\r\n       *  * `data` - whole dataset passed to the `models-table`\r\n       *  * `record` - current row\r\n       *  * `index` - current row index\r\n       *  * `column` - current column (one of the [processedColumns](Components.ModelsTable.html#property_processedColumns))\r\n       *  * `expandRow` - closure action [ModelsTable.expandRow](Components.ModelsTable.html#event_expandRow)\r\n       *  * `collapseRow` - closure action [ModelsTable.collapseRow](Components.ModelsTable.html#event_collapseRow)\r\n       *  * `expandAllRows` - closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       *  * `collapseAllRows` - closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       *  * `clickOnRow` - closure action [ModelsTable.clickOnRow](Components.ModelsTable.html#event_clickOnRow)\r\n       *  * `editRow` - closure action [ModelsTableRow.editRow](Components.ModelsTableRow.html#event_editRow)\r\n       *  * `cancelEditRow` - closure action [ModelsTableRow.cancelEditRow](Components.ModelsTableRow.html#event_cancelEditRow)\r\n       *  * `themeInstance` - bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       *  * `isExpanded` - is current row expanded\r\n       *  * `isSelected` - is current row selected\r\n       *  * `isEditRow` - is the row editable (one of the [processedColumns](Components.ModelsTableRow.html#property_isEditRow))\r\n       *  * `isColumnEditable` - is the column currently editable\r\n       *\r\n       * @property componentForEdit\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"componentForEdit\", '');\n      /**\r\n       * Is this column allowed to be editable\r\n       *\r\n       * @property editable\r\n       * @type boolean|function\r\n       * @default true\r\n       */\n      _defineProperty(this, \"editable\", true);\n      /**\r\n       * Custom component used in the header cell with filter\r\n       *\r\n       * It will receive several options:\r\n       *\r\n       * * `column` - current column (one of the [processedColumns](Components.ModelsTable.html#property_processedColumns))\r\n       * * `data` - whole dataset passed to the `models-table`\r\n       * * `selectedItems` - bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       * * `expandedItems` - bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       * * `themeInstance` - bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       * * `expandAllRows` - closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       * * `collapseAllRows` - closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       * * `toggleAllSelection` - closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @property componentForFilterCell\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"componentForFilterCell\", '');\n      /**\r\n       * Custom component used in the header cell with sorting and column title\r\n       *\r\n       * It will receive several options:\r\n       *\r\n       * * `column` - current column (one of the [processedColumns](Components.ModelsTable.html#property_processedColumns))\r\n       * * `data` - whole dataset passed to the `models-table`\r\n       * * `selectedItems` - bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       * * `expandedItems` - bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       * * `themeInstance` - bound from [ModelsTable.themeInstance](Components.ModelsTable.html#property_themeInstance)\r\n       * * `expandAllRows` - closure action [ModelsTable.expandAllRows](Components.ModelsTable.html#event_expandAllRows)\r\n       * * `collapseAllRows` - closure action [ModelsTable.collapseAllRows](Components.ModelsTable.html#event_collapseAllRows)\r\n       * * `toggleAllSelection` - closure action [ModelsTable.toggleAllSelection](Components.ModelsTable.html#event_toggleAllSelection)\r\n       *\r\n       * @property componentForSortCell\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"componentForSortCell\", '');\n      /**\r\n       * Custom component used in the footer cell\r\n       *\r\n       * It will receive several options:\r\n       *\r\n       * * `selectedItems` - bound from [ModelsTable.selectedItems](Components.ModelsTable.html#property_selectedItems)\r\n       * * `expandedItems` - bound from [ModelsTable.expandedItems](Components.ModelsTable.html#property_expandedItems)\r\n       * * `data` - whole dataset passed to the `models-table`\r\n       * * `mappedSelectedItems` - `selectedItems` mapped by `propertyName`\r\n       * * `mappedExpandedItems` - `expandedItems` mapped by `propertyName`\r\n       * * `mappedData` - `data` mapped by `propertyName`\r\n       *\r\n       * @property componentForFooterCell\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"componentForFooterCell\", '');\n      /**\r\n       * Colspan for cell in the sorting-row\r\n       *\r\n       * @property colspanForSortCell\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"colspanForSortCell\", 1);\n      /**\r\n       * @property realColspanForSortCell\r\n       * @type number\r\n       * @default 1\r\n       * @protected\r\n       */\n      _defineProperty(this, \"realColspanForSortCell\", 1);\n      /**\r\n       * Colspan for cell in the filters-row\r\n       *\r\n       * @property colspanForFilterCell\r\n       * @type number\r\n       * @default 1\r\n       */\n      _defineProperty(this, \"colspanForFilterCell\", 1);\n      /**\r\n       * @property realColspanForFilterCell\r\n       * @type number\r\n       * @default 1\r\n       * @protected\r\n       */\n      _defineProperty(this, \"realColspanForFilterCell\", 1);\n      /**\r\n       * Field-name for sorting by current column. If it isn't provided, `propertyName` is used\r\n       *\r\n       * @property sortedBy\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"sortedBy\", null);\n      /**\r\n       * The default sorting for this column. Can be either `asc` or `desc`. Needs to be set in conjunction with `sortPrecedence`,\r\n       otherwise it will not have any effect\r\n       *\r\n       * @property sortDirection\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"sortDirection\", '');\n      /**\r\n       * Sort precedence for this column - needs to be larger than -1 for sortDirection to take effect\r\n       *\r\n       * @property sortPrecedence\r\n       * @type number\r\n       * @default null\r\n       */\n      _defineProperty(this, \"sortPrecedence\", null);\n      /**\r\n       * If sorting should be disabled for this column\r\n       *\r\n       * @property disableSorting\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"disableSorting\", false);\n      /**\r\n       * If filtering should be disabled for this column\r\n       *\r\n       * @property disableFiltering\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"disableFiltering\", false);\n      /**\r\n       * FilterString a default filtering for this column\r\n       *\r\n       * @property filterString\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"filterString\", '');\n      /**\r\n       * Custom data's property that is used to filter column. If it isn't provided, `propertyName` is used\r\n       *\r\n       * @property filteredBy\r\n       * @type string\r\n       * @default null\r\n       */\n      _defineProperty(this, \"filteredBy\", null);\n      /**\r\n       * Sort direction for column\r\n       *\r\n       * @property sorting\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"sorting\", '');\n      /**\r\n       * Is current column hidden by default\r\n       *\r\n       * @property isHidden\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"isHidden\", false);\n      /**\r\n       * Can current column be hidden. This field determines, if column appears in the columns-dropdown. If `mayBeHidden` is `true` and `isHidden` is also `true` for column, this column always be hidden\r\n       *\r\n       * @property mayBeHidden\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _defineProperty(this, \"mayBeHidden\", true);\n      /**\r\n       * If `true` select-dropdown will be used for filtering by current column. Options are unique values for `data.@each.${propertyName}`\r\n       *\r\n       * @property filterWithSelect\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"filterWithSelect\", false);\n      /**\r\n       * Should options in the select-box be sorted\r\n       *\r\n       * @property sortFilterOptions\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _defineProperty(this, \"sortFilterOptions\", false);\n      /**\r\n       * List of option to the filter-box (used if [filterWithSelect](Utils.ModelsTableColumn.html#property_filterWithSelect) is true)\r\n       *\r\n       * @property predefinedFilterOptions\r\n       * @type string[]|number[]|boolean[]\r\n       * @default null\r\n       */\n      _defineProperty(this, \"predefinedFilterOptions\", null);\n      /**\r\n       * Custom class-name for cells in the current column. This class-name will also be added to the header and filter of the column\r\n       *\r\n       * @property className\r\n       * @default ''\r\n       * @type string\r\n       */\n      _defineProperty(this, \"className\", '');\n      /**\r\n       * Custom function used to filter rows (used if [filterWithSelect](Utils.ModelsTableColumn.html#property_filterWithSelect) is false)\r\n       *\r\n       * @property filterFunction\r\n       * @type function\r\n       * @default null\r\n       */\n      _defineProperty(this, \"filterFunction\", null);\n      /**\r\n       * Optional custom function used to sort rows\r\n       *\r\n       * @property sortFunction\r\n       * @type function\r\n       * @default null\r\n       */\n      _defineProperty(this, \"sortFunction\", null);\n      /**\r\n       * Placeholder for filter-input\r\n       *\r\n       * @property filterPlaceholder\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"filterPlaceholder\", '');\n      /**\r\n       * If this property is defined, link to the route will be rendered in the cell. [propertyName](Utils.ModelsTableColumn.html#property_propertyName) is used as an anchor. If it's not declared, `id` will be used. <br /> Main idea for `routeName` is to provide a simple way to generate links for each model in the `data`. It should not be used for any other purposes\r\n       *\r\n       * @property routeName\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"routeName\", '');\n      /**\r\n       * If this property is defined, link to the route will be rendered in the cell. [routeProperty](Utils.ModelsTableColumn.html#property_routeProperty) is used as an anchor. If it's not declared, `id` will be used. <br /> Main idea for `routeName` is to provide a simple way to generate links for each model in the `data`. It should not be used for any other purposes\r\n       *\r\n       * @property routeProperty\r\n       * @type string\r\n       * @default ''\r\n       */\n      _defineProperty(this, \"routeProperty\", 'id');\n      /**\r\n       * Object containing the definition of the column passed into the component\r\n       *\r\n       * @property originalDefinition\r\n       * @type object\r\n       * @default null\r\n       * @protected\r\n       */\n      _defineProperty(this, \"originalDefinition\", null);\n      /**\r\n       * @property __mt\r\n       * @type Components.ModelsTable\r\n       * @private\r\n       */\n      _defineProperty(this, \"__mt\", null);\n      /**\r\n       * @property data\r\n       * @type object[]\r\n       * @default []\r\n       * @protected\r\n       */\n      _initializerDefineProperty(this, \"data\", _descriptor, this);\n      /**\r\n       * @property isVisible\r\n       * @protected\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _initializerDefineProperty(this, \"isVisible\", _descriptor2, this);\n      /**\r\n       * @property sortAsc\r\n       * @protected\r\n       * @type boolean\r\n       * @default true\r\n       */\n      _initializerDefineProperty(this, \"sortAsc\", _descriptor3, this);\n      /**\r\n       * @property sortDesc\r\n       * @protected\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _initializerDefineProperty(this, \"sortDesc\", _descriptor4, this);\n      /**\r\n       * @property filterUsed\r\n       * @protected\r\n       * @type boolean\r\n       * @default false\r\n       */\n      _initializerDefineProperty(this, \"filterUsed\", _descriptor5, this);\n    }\n    /**\r\n     * @property cssPropertyName\r\n     * @type string\r\n     * @protected\r\n     */\n    get cssPropertyName() {\n      return this.propertyName.replace(/\\./g, '-');\n    }\n    /**\r\n     * Allow sorting for column or not\r\n     *\r\n     * @property useSorting\r\n     * @protected\r\n     * @type boolean\r\n     * @default true\r\n     */\n    get useSorting() {\n      return this.sortField && !this.disableSorting;\n    }\n\n    /**\r\n     * @property sortField\r\n     * @protected\r\n     * @type string\r\n     */\n    get sortField() {\n      return this.sortedBy || this.propertyName;\n    }\n\n    /**\r\n     * Allow filtering for column or not\r\n     *\r\n     * @protected\r\n     * @property useFilter\r\n     * @type boolean\r\n     * @default true\r\n     */\n    get useFilter() {\n      return this.filterField && !this.disableFiltering;\n    }\n\n    /**\r\n     * @protected\r\n     * @property filterField\r\n     * @type string\r\n     */\n    get filterField() {\n      return this.filteredBy || this.propertyName;\n    }\n\n    /**\r\n     * If preselected option doesn't exist after `filterOptions` update,\r\n     * `filterString` is reverted to empty string (basically, filtering for this column is dropped)\r\n     *\r\n     * @method cleanFilterString\r\n     * @protected\r\n     */\n    cleanFilterString() {\n      const {\n        filterOptions,\n        filterWithSelect,\n        filterString\n      } = this;\n      if (!filterWithSelect || Ember.isEmpty(filterOptions)) {\n        return;\n      }\n      const filterOptionExists = Ember.A(filterOptions).find(option => {\n        const value = Ember.get(option, 'value');\n        return [value, '' + value].indexOf(filterString) !== -1;\n      });\n      if (!filterOptionExists) {\n        Ember.set(this, 'filterString', '');\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"data\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"cssPropertyName\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"cssPropertyName\"), _class.prototype), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isVisible\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"sortAsc\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"sortDesc\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"filterUsed\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"useSorting\", [_dec7], Object.getOwnPropertyDescriptor(_class.prototype, \"useSorting\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"sortField\", [_dec8], Object.getOwnPropertyDescriptor(_class.prototype, \"sortField\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"useFilter\", [_dec9], Object.getOwnPropertyDescriptor(_class.prototype, \"useFilter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"filterField\", [_dec0], Object.getOwnPropertyDescriptor(_class.prototype, \"filterField\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"cleanFilterString\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"cleanFilterString\"), _class.prototype), _class);\n});","define(\"ember-models-table/utils/fmt\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = fmt;\n  function fmt(str, formats) {\n    str = str || '';\n    let cachedFormats = formats;\n    if (!Ember.isArray(cachedFormats) || arguments.length > 2) {\n      cachedFormats = new Array(arguments.length - 1);\n      for (let i = 1, l = arguments.length; i < l; i++) {\n        cachedFormats[i - 1] = arguments[i];\n      }\n    }\n\n    // first, replace any ORDERED replacements.\n    let idx = 0; // the current index for non-numerical replacements\n    if (Ember.String.isHTMLSafe(str)) {\n      str = str.toString();\n    }\n    return str.replace(/%@([0-9]+)?/g, function (s, argIndex) {\n      argIndex = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      return cachedFormats[argIndex];\n    });\n  }\n});","define(\"ember-models-table/utils/macros\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.shownColumns = shownColumns;\n  /*\r\n   * @param {string} colspanKey\r\n   * @return Ember.computed\r\n   */\n  function shownColumns(colspanKey) {\n    return Ember.computed(`processedColumns.@each.{isVisible,${colspanKey}}`, 'processedColumns', function () {\n      let skipCount = 0;\n      return this.processedColumns.filter((c, index, columns) => {\n        const colspan = Ember.get(c, colspanKey);\n        const isVisible = Ember.get(c, 'isVisible');\n        const nextHiddenCells = columns.slice(index + 1, index + colspan).filter(c => Ember.get(c, 'isHidden'));\n        if (Ember.get(nextHiddenCells, 'length') === colspan - 1 && !isVisible && colspan !== 1) {\n          return false;\n        }\n        if (skipCount) {\n          skipCount--;\n          return false;\n        }\n        if (colspan === 1) {\n          return isVisible;\n        }\n        if (colspan > 1) {\n          skipCount = colspan - 1;\n        }\n        return true;\n      });\n    }).readOnly();\n  }\n});","define(\"ember-modifier/-private/class/modifier-manager\", [\"exports\", \"ember-modifier/-private/class/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  function destroyModifier(modifier) {\n    modifier.willRemove();\n    modifier.willDestroy();\n  }\n\n  /**\n   * The state bucket used throughout the life-cycle of the modifier. Basically a\n   * state *machine*, where the framework calls us with the version we hand back\n   * to it at each phase. The two states are the two `extends` versions of this\n   * below.\n   *\n   * @internal\n   */\n\n  /**\n   * The `State` after calling `createModifier`, and therefore the state available\n   * at the start of `InstallModifier`.\n   * @internal\n   */\n\n  /**\n   * The `State` after calling `installModifier`, and therefore the state\n   * available in all `updateModifier` calls and in `destroyModifier`.\n   * @internal\n   */\n\n  // Wraps the unsafe (b/c it mutates, rather than creating new state) code that\n  // TS does not yet understand.\n  function installElement(state, element) {\n    // SAFETY: this cast represents how we are actually handling the state machine\n    // transition: from this point forward in the lifecycle of the modifier, it\n    // always behaves as `InstalledState<S>`. It is safe because, and *only*\n    // because, we immediately initialize `element`. (We cannot create a new state\n    // from the old one because the modifier manager API expects mutation of a\n    // single state bucket rather than updating it at hook calls.)\n    const installedState = state;\n    installedState.element = element;\n    return installedState;\n  }\n  function installElementOnInstance(instance, element) {\n    // SAFETY: we use the internal API for all class-based modifiers to set this\n    // in a way which lets us issue the deprecation warning for anyone accessing\n    // `element` as a getter while allowing types to continue working for any\n    // existing subclasses (see the discussion on the class definition).\n    instance[_modifier.Element] = element;\n  }\n  function updateArgsOnInstance(instance, args) {\n    // SAFETY: we use the internal API for all class-based modifiers to set this\n    // in a way which lets us issue the deprecation warning for anyone accessing\n    // `args` as a getter while allowing types to continue working for any\n    // existing subclasses (see the discussion on the class definition).\n    instance[_modifier.Args] = args;\n  }\n  class ClassBasedModifierManager {\n    constructor(owner) {\n      _defineProperty(this, \"capabilities\", Ember._modifierManagerCapabilities(true ? '3.22' : '3.13'));\n      this.owner = owner;\n    }\n    createModifier(factoryOrClass, args) {\n      const Modifier = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass;\n      const modifier = new Modifier(this.owner, args);\n      Ember._registerDestructor(modifier, destroyModifier);\n      return {\n        instance: modifier,\n        implementsModify: (0, _modifier._implementsModify)(modifier),\n        element: null\n      };\n    }\n    installModifier(createdState, element, args) {\n      const state = installElement(createdState, element);\n\n      // TODO: this can be deleted entirely at v4.\n      const {\n        instance\n      } = state;\n      installElementOnInstance(instance, element);\n      if (state.implementsModify) {\n        instance.modify(element, args.positional, args.named);\n      } else {\n        // The `consumeArgs()` call provides backwards compatibility on v3 for the\n        // deprecated legacy lifecycle hooks (`didInstall`, `didReceiveArguments`,\n        // and `didUpdateArguments`), which accidentally had eager consumption\n        // semantics prior to Ember 3.22. The new, recommended `modify` hook has\n        // the updated lazy semantics associated with normal auto-tracking.\n        if (true) {\n          (0, _compat.consumeArgs)(args);\n        }\n        instance.didReceiveArguments();\n        instance.didInstall();\n      }\n    }\n    updateModifier(state, args) {\n      const {\n        instance\n      } = state;\n\n      // TODO: remove at 4.0\n      updateArgsOnInstance(state.instance, args);\n      if (state.implementsModify) {\n        instance.modify(state.element, args.positional, args.named);\n      } else {\n        // The `consumeArgs()` call provides backwards compatibility on v3 for the\n        // deprecated legacy lifecycle hooks (`didInstall`, `didReceiveArguments`,\n        // and `didUpdateArguments`), which accidentally had eager consumption\n        // semantics prior to Ember 3.22. The new, recommended `modify` hook has\n        // the updated lazy semantics associated with normal auto-tracking.\n        if (true) {\n          (0, _compat.consumeArgs)(args);\n        }\n        instance.didUpdateArguments();\n        instance.didReceiveArguments();\n      }\n    }\n    destroyModifier(state) {\n      Ember.destroy(state.instance);\n    }\n  }\n  _exports.default = ClassBasedModifierManager;\n});","define(\"ember-modifier/-private/class/modifier\", [\"exports\", \"ember-modifier/-private/class/modifier-manager\"], function (_exports, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports._implementsModify = _exports._implementsLegacyHooks = _exports.Element = _exports.Args = void 0;\n  // SAFETY: these sets are dev-only code to avoid showing deprecations for the\n  // same class more than once.\n\n  let SEEN_CLASSES_FOR_LIFECYCLE;\n  if (true /* DEBUG */) {\n    SEEN_CLASSES_FOR_LIFECYCLE = new Set();\n  }\n  let SEEN_CLASSES_FOR_DESTROYABLES;\n  if (true /* DEBUG */) {\n    SEEN_CLASSES_FOR_DESTROYABLES = new Set();\n  }\n  let SEEN_CLASSES_FOR_ARGS;\n  if (true /* DEBUG */) {\n    SEEN_CLASSES_FOR_ARGS = new Set();\n  }\n  let SEEN_CLASSES_FOR_ELEMENTS;\n  if (true /* DEBUG */) {\n    SEEN_CLASSES_FOR_ELEMENTS = new Set();\n  }\n\n  /** @internal */\n  const _implementsModify = instance => instance.modify !== ClassBasedModifier.prototype.modify;\n\n  /** @internal */\n  _exports._implementsModify = _implementsModify;\n  const _implementsLegacyHooks = instance => instance.didInstall !== ClassBasedModifier.prototype.didInstall || instance.didUpdateArguments !== ClassBasedModifier.prototype.didUpdateArguments || instance.didReceiveArguments !== ClassBasedModifier.prototype.didReceiveArguments;\n\n  /** @internal */\n  _exports._implementsLegacyHooks = _implementsLegacyHooks;\n  const Element = _exports.Element = Symbol('Element');\n\n  /** @internal */\n  const Args = _exports.Args = Symbol('Args');\n\n  // Preserve the signature on a class-based modifier so it can be plucked off\n  // later (by e.g. Glint), using interface merging with an opaque item to\n  // preserve it in the type system. The fact that it's an empty interface is\n  // actually the point: it *only* hooks the type parameter into the opaque\n  // (nominal) type. Note that this is distinct from the function-based modifier\n  // type intentionally, because it is actually the static class side of a\n  // class-based modifier which corresponds to the result of calling `modifier()`\n  // with a callback defining a function-based modifier.\n  // eslint-disable-next-line @typescript-eslint/no-empty-interface\n\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    // Done this way with the weird combination of `declare` and `defineProperty`\n    // so that subclasses which are overriding this by writing their own `args`\n    // field type declarations continue to type check correctly. (If we introduced\n    // a getter here, existing classes defining their args via a `declare args:`\n    // would stop type checking, because TS -- correctly! -- differentiates\n    // between class fields and getters).\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     * @deprecated Until 4.0. Access positional and named arguments directly in\n     *   the `modify` hook instead.\n     */\n\n    // Done this way with the weird combination of `declare` and `defineProperty`\n    // so that subclasses which are overriding this by writing their own `element`\n    // field declarations continue to type check correctly.\n    /**\n     * The element the modifier is applied to.\n     *\n     * @warning `element` is ***not*** available during `constructor` or\n     *   `willDestroy`.\n     * @deprecated Until 4.0. Access the `element` as an argument in the `modify`\n     *   hook instead.\n     */\n\n    constructor(owner, args) {\n      Ember.setOwner(this, owner);\n\n      // SAFETY: the point here is (for the period where we are providing `args`\n      // and `element`) to provide an internal-only way of setting and update the\n      // `args` for the modifier instance; we use the `InternalClassBasedModifier`\n      // interface to represent the internal-only API in a way that end users do\n      // *not* have access to when subclassing `ClassBasedModifier`.\n      this[Args] = args;\n      (true && !(!(_implementsModify(this) && _implementsLegacyHooks(this))) && Ember.assert('ember-modifier: You cannot implement both `modify` and any of the deprecated legacy lifecycle hooks (`didInstall`, `didReceiveArguments`, and `didUpdateArguments`)', !(_implementsModify(this) && _implementsLegacyHooks(this))));\n      (true && !(this.willDestroy === ClassBasedModifier.prototype.willDestroy || SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) && Ember.deprecate(`ember-modifier (in ${this.constructor.name} at ${new Error().stack}): \\`willDestroy\\`, \\`isDestroyed\\`, and \\`isDestroyed\\` are deprecated. Use the corresponding API from '@ember/destroyable' instead.`, this.willDestroy === ClassBasedModifier.prototype.willDestroy || SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor), {\n        id: 'ember-modifier.use-destroyables',\n        until: '4.0.0',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        }\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) {\n        SEEN_CLASSES_FOR_DESTROYABLES.add(this.constructor);\n      }\n      (true && !(_implementsModify(this) || SEEN_CLASSES_FOR_LIFECYCLE.has(this.constructor)) && Ember.deprecate(`ember-modifier (in ${this.constructor.name} at ${new Error().stack}): The \\`didInstall\\`, \\`didReceiveArguments\\`, and \\`didUpdateArguments\\` hooks are deprecated. Use the new \\`modify\\` hook instead.`, _implementsModify(this) || SEEN_CLASSES_FOR_LIFECYCLE.has(this.constructor), {\n        id: 'ember-modifier.use-modify',\n        until: '4.0.0',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        }\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_LIFECYCLE.has(this.constructor)) {\n        SEEN_CLASSES_FOR_LIFECYCLE.add(this.constructor);\n      }\n    }\n\n    /**\n     * Called when the modifier is installed and any time any tracked state used\n     * in the modifier changes.\n     *\n     * If you need to do first-time-only setup, create a class field representing\n     * the initialization state and check it when running the hook. That is also\n     * where and when you should use `registerDestructor` for any teardown you\n     * need to do. For example:\n     *\n     * ```js\n     * function disconnect(instance) {\n     *  instance.observer?.disconnect();\n     * }\n     *\n     * class IntersectionObserver extends Modifier {\n     *   observer;\n     *\n     *   constructor(owner, args) {\n     *     super(owner, args);\n     *     registerDestructor(this, disconnect);\n     *   }\n     *\n     *   modify(element, callback, options) {\n     *     disconnect(this);\n     *\n     *     this.observer = new IntersectionObserver(callback, options);\n     *     this.observer.observe(element);\n     *   }\n     * }\n     * ```\n     *\n     * @param element The element to which the modifier is applied.\n     * @param positional The positional arguments to the modifier.\n     * @param named The named arguments to the modifier.\n     */\n    modify(/* eslint-disable @typescript-eslint/no-unused-vars */\n    element, positional, named) {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * Called when the modifier is installed **and** anytime the arguments are\n     * updated.\n     *\n     * @deprecated Until 4.0. Use `modify()`.\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     * @deprecated Until 4.0. Use `modify()`.\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     * @deprecated Until 4.0. Use `modify()`.\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     * @deprecated Until 4.0. Use `registerDestructor` from `@ember/destroyables`.\n     */\n    willDestroy() {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * @deprecated Until 4.0. Use `isDestroying` from `@ember/destroyables`.\n     */\n    get isDestroying() {\n      (true && !(SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) && Ember.deprecate('Modifier.isDestroying is deprecated', SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor), {\n        id: 'ember-modifier.use-destroyables',\n        until: '4.0.0',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        }\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) {\n        SEEN_CLASSES_FOR_DESTROYABLES.add(this.constructor);\n      }\n      return Ember._isDestroying(this);\n    }\n\n    /**\n     * @deprecated Until 4.0. Use `isDestroyed` from `@ember/destroyables`.\n     */\n    get isDestroyed() {\n      (true && !(SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) && Ember.deprecate('Modifier.isDestroyed is deprecated', SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor), {\n        id: 'ember-modifier.use-destroyables',\n        until: '4.0.0',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        }\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_DESTROYABLES.has(this.constructor)) {\n        SEEN_CLASSES_FOR_DESTROYABLES.add(this.constructor);\n      }\n      return Ember._isDestroyed(this);\n    }\n  }\n\n  // We apply these here, against the prototype, so that there is only one of\n  // these, rather than one per instance. We also only issue the deprecation once\n  // per class for each of `args` and `element`.\n  _exports.default = ClassBasedModifier;\n  Object.defineProperty(ClassBasedModifier.prototype, 'args', {\n    enumerable: true,\n    get() {\n      (true && !(SEEN_CLASSES_FOR_ARGS.has(this.constructor)) && Ember.deprecate(`ember-modifier (in ${this.constructor.name} at ${new Error().stack}): using \\`this.args\\` is deprecated. Access positional and named arguments directly in the \\`modify\\` hook instead.`, SEEN_CLASSES_FOR_ARGS.has(this.constructor), {\n        id: 'ember-modifier.no-args-property',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        },\n        until: '4.0.0'\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_ARGS.has(this.constructor)) {\n        SEEN_CLASSES_FOR_ARGS.add(this.constructor);\n      }\n      return this[Args];\n    }\n  });\n  Object.defineProperty(ClassBasedModifier.prototype, 'element', {\n    enumerable: true,\n    get() {\n      (true && !(SEEN_CLASSES_FOR_ELEMENTS.has(this.constructor)) && Ember.deprecate(`ember-modifier (in ${this.constructor.name} at ${new Error().stack}): using \\`this.element\\` is deprecated. Access the \\`element\\` as an argument in the \\`modify\\` hook instead.`, SEEN_CLASSES_FOR_ELEMENTS.has(this.constructor), {\n        id: 'ember-modifier.no-element-property',\n        for: 'ember-modifier',\n        since: {\n          available: '3.2.0',\n          enabled: '3.2.0'\n        },\n        until: '4.0.0'\n      }));\n      if (true /* DEBUG */ && !SEEN_CLASSES_FOR_ELEMENTS.has(this.constructor)) {\n        SEEN_CLASSES_FOR_ELEMENTS.add(this.constructor);\n      }\n      return this[Element] ?? null;\n    }\n  });\n\n  /**\n   * @internal This provides an interface we can use to backwards-compatibly set\n   *   up the element in a way that external callers will not have access to or\n   *   even see.\n   */\n\n  Ember._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      // SAFETY: TS before 4.6 does not correctly/fully resolve the type in a way\n      // that allows the type checker to see that `positional` must *always* be\n      // something which `extends unknown[]` here, because the underlying\n      // machinery is fairly complicated and relies on a fair bit of type\n      // recursion. It will stop mattering when we cut v4.0, because we won't be\n      // doing this anyway.\n      const pos = positional;\n      for (let i = 0; i < pos.length; i++) {\n        pos[i];\n      }\n\n      // SAFETY: TS 4.7 does not see that `named` will always be an object here.\n      // However, it is guaranteed to be resolved as such by the types. This *may*\n      // be a bug (https://github.com/microsoft/TypeScript/issues/48468), but it\n      // *should* also stop being relevant once we ship 4.0.\n      Object.values(named);\n    };\n  }\n});","define(\"ember-modifier/-private/function-based/modifier-manager\", [\"exports\", \"ember-modifier/-private/compat\"], function (_exports, _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  // Wraps the unsafe (b/c it mutates, rather than creating new state) code that\n  // TS does not yet understand.\n  function installElement(state, element) {\n    // SAFETY: this cast represents how we are actually handling the state machine\n    // transition: from this point forward in the lifecycle of the modifier, it\n    // always behaves as `InstalledState<S>`. It is safe because, and *only*\n    // because, we immediately initialize `element`. (We cannot create a new state\n    // from the old one because the modifier manager API expects mutation of a\n    // single state bucket rather than updating it at hook calls.)\n    const installedState = state;\n    installedState.element = element;\n    return installedState;\n  }\n  class FunctionBasedModifierManager {\n    constructor(options) {\n      _defineProperty(this, \"capabilities\", Ember._modifierManagerCapabilities(true ? '3.22' : '3.13'));\n      _defineProperty(this, \"options\", void 0);\n      this.options = {\n        eager: options?.eager ?? true\n      };\n    }\n    createModifier(factoryOrClass) {\n      const instance = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass;\n      return {\n        element: null,\n        instance: instance\n      };\n    }\n    installModifier(createdState, element, args) {\n      const state = installElement(createdState, element);\n      const {\n        positional,\n        named\n      } = args;\n      const teardown = createdState.instance(element, positional, named);\n      if (typeof teardown === 'function') {\n        state.teardown = teardown;\n      }\n      if (true && this.options.eager) {\n        (0, _compat.consumeArgs)(args);\n      }\n    }\n    updateModifier(state, args) {\n      if (state.teardown) {\n        state.teardown();\n      }\n      const teardown = state.instance(state.element, args.positional, args.named);\n      if (typeof teardown === 'function') {\n        state.teardown = teardown;\n      }\n      if (true && this.options.eager) {\n        (0, _compat.consumeArgs)(args);\n      }\n    }\n    destroyModifier(state) {\n      if (typeof state.teardown === 'function') {\n        state.teardown();\n      }\n    }\n  }\n  _exports.default = FunctionBasedModifierManager;\n});","define(\"ember-modifier/-private/function-based/modifier\", [\"exports\", \"ember-modifier/-private/class/modifier\", \"ember-modifier/-private/function-based/modifier-manager\"], function (_exports, _modifier, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = modifier;\n  // Provide a singleton manager for each of the options. (If we extend this to\n  // many more options in the future, we can revisit, but for now this means we\n  // only ever allocate two managers.)\n  const EAGER_MANAGER = new _modifierManager.default({\n    eager: true\n  });\n  const LAZY_MANAGER = new _modifierManager.default({\n    eager: false\n  });\n\n  // This type exists to provide a non-user-constructible, non-subclassable\n  // type representing the conceptual \"instance type\" of a function modifier.\n  // The abstract field of type `never` prevents subclassing in userspace of\n  // the value returned from `modifier()`. By extending `Modifier<S>`, any\n  // augmentations of the `Modifier` type performed by tools like Glint will\n  // also apply to function-based modifiers as well.\n\n  // This provides a type whose only purpose here is to represent the runtime\n  // type of a function-based modifier: a virtually opaque item. The fact that it's\n  // a bare constructor type allows `modifier()` to preserve type parameters from\n  // a generic function it's passed, and by making it abstract and impossible to\n  // subclass (see above) we prevent users from attempting to instantiate the return\n  // value from a `modifier()` call.\n\n  /**\n   * The (optional) return type for a modifier which needs to perform some kind of\n   * cleanup or teardown -- for example, removing an event listener from an\n   * element besides the one passed into the modifier.\n   */\n\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, and if any of them changes, the function\n   * will run again.\n   *\n   * **Note:** this will rerun if any of its arguments change, *whether or not you\n   * access them*. This is legacy behavior and you should switch to using the\n   * `{ eager: false }` variant, which has normal auto-tracking semantics.\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   * @deprecated Until 4.0. Calling `modifier()` without an options argument is\n   *   deprecated. It is supported until 4.0 so that existing modifiers can be\n   *   migrated individually. Please update your function-based modifiers to pass\n   *   `{ eager: false }`.\n   *\n   * @param fn The function which defines the modifier.\n   */\n  // This overload allows users to write types directly on the callback passed to\n  // the `modifier` function and infer the resulting type correctly.\n\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, and if any of them changes, the function\n   * will run again.\n   *\n   * **Note:** this will rerun if any of its arguments change, *whether or not you\n   * access them*. This is legacy behavior and you should switch to using the\n   * `{ eager: false }` variant, which has normal auto-tracking semantics.\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   * @deprecated Until 4.0. Calling `modifier()` with `{ eager: true }` is\n   *   deprecated. It is supported until 4.0 so that existing modifiers can be\n   *   migrated individually. Please update your function-based modifiers to pass\n   *   `{ eager: false }`.\n   *\n   * @param fn The function which defines the modifier.\n   * @param options Configuration for the modifier.\n   */\n  // This overload allows users to write types directly on the callback passed to\n  // the `modifier` function and infer the resulting type correctly.\n\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 any of its arguments that it\n   * accesses, and if any of them changes, the function will run again.\n   *\n   * **Note:** this will *not* automatically rerun because an argument changes. It\n   * will only rerun if it is *using* that argument (the same as with auto-tracked\n   * state in general).\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   * @param options Configuration for the modifier.\n   */\n  // This overload allows users to write types directly on the callback passed to\n  // the `modifier` function and infer the resulting type correctly.\n\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 any of its arguments that it\n   * accesses, and if any of them changes, the function will run again.\n   *\n   * **Note:** this will *not* automatically rerun because an argument changes. It\n   * will only rerun if it is *using* that argument (the same as with auto-tracked\n   * state in general).\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   * @param options Configuration for the modifier.\n   */\n  // This overload allows users to provide a `Signature` type explicitly at the\n  // modifier definition site, e.g. `modifier<Sig>((el, pos, named) => {...})`.\n  // **Note:** this overload must appear second, since TS' inference engine will\n  // not correctly infer the type of `S` here from the types on the supplied\n  // callback.\n\n  // This is the runtime signature; it performs no inference whatsover and just\n  // uses the simplest version of the invocation possible since, for the case of\n  // setting it on the modifier manager, we don't *need* any of that info, and\n  // the two previous overloads capture all invocations from a type perspective.\n  function modifier(fn, options = {\n    eager: true\n  }) {\n    (true && !(options !== undefined) && Ember.deprecate(`ember-modifier (for ${fn.name ?? fn} at ${new Error().stack}): creating a function-based modifier without options is deprecated and will be removed at v4.0`, options !== undefined, {\n      id: 'ember-modifier.function-based-options',\n      for: 'ember-modifier',\n      since: {\n        available: '3.2.0',\n        enabled: '3.2.0'\n      },\n      until: '4.0.0'\n    }));\n    (true && !(options?.eager === false) && Ember.deprecate(`ember-modifier (for ${fn.name ?? fn} at ${new Error().stack}): creating a function-based modifier with \\`{ eager: true }\\` is deprecated and will be removed at v4.0`, options?.eager === false, {\n      id: 'ember-modifier.function-based-options',\n      for: 'ember-modifier',\n      since: {\n        available: '3.2.0',\n        enabled: '3.2.0'\n      },\n      until: '4.0.0'\n    })); // SAFETY: the cast here is a *lie*, but it is a useful one. The actual return\n    // type of `setModifierManager` today is `void`; we pretend it actually\n    // returns an opaque `Modifier` type so that we can provide a result from this\n    // type which is useful to TS-aware tooling (e.g. Glint).\n    return Ember._setModifierManager(() => options.eager ? EAGER_MANAGER : LAZY_MANAGER, fn);\n  }\n\n  /**\n   * @internal\n   */\n\n  /**\n   * @deprecated Instead of defining a function to match this type, simply define\n   *   a function-based modifier either using a `Signature` or by defining the\n   *   types on the callback passed to the `modifier`.\n   */\n});","define(\"ember-modifier/-private/functional/modifier-manager\", [\"exports\", \"ember-modifier/-private/compat\"], function (_exports, _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\", Ember._modifierManagerCapabilities(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/-private/functional/modifier-manager\"], function (_exports, _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 Ember._setModifierManager(() => _modifierManager.default, fn);\n  }\n});","define(\"ember-modifier/-private/interfaces\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"ember-modifier/-private/opaque\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"ember-modifier/-private/signature\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"ember-modifier/index\", [\"exports\", \"ember-modifier/-private/class/modifier\", \"ember-modifier/-private/function-based/modifier\"], function (_exports, _modifier, _modifier2) {\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 _modifier.default;\n    }\n  });\n  Object.defineProperty(_exports, \"modifier\", {\n    enumerable: true,\n    get: function () {\n      return _modifier2.default;\n    }\n  });\n});","define('ember-multiselect-checkboxes/components/multiselect-checkboxes', ['exports', 'ember-multiselect-checkboxes/templates/components/multiselect-checkboxes'], function (exports, _multiselectCheckboxes) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  let Checkbox = Ember.Object.extend({\n    isSelected: Ember.computed('value', 'selection.[]', {\n      get() {\n        return this.get('selection').includes(this.get('value'));\n      },\n\n      set(_, checked) {\n        let selection = this.get('selection');\n        let selected = selection.includes(this.get('value'));\n        let onchange = this.get('onchange');\n        let updateSelectionValue = this.get('updateSelectionValue');\n        let isMutable = typeof selection.addObject === 'function' && typeof selection.removeObject === 'function';\n\n        // Dispatch onchange event to handler with updated selection if handler is specified\n        if (onchange) {\n          let updated = Ember.A(selection.slice());\n          let operation;\n\n          if (checked && !selected) {\n            operation = 'added';\n            updated.addObject(this.get('value'));\n          } else if (!checked && selected) {\n            operation = 'removed';\n            updated.removeObject(this.get('value'));\n          }\n\n          onchange(updated, this.get('value'), operation);\n        }\n\n        // Mutate selection if updateSelectionValue is true and selection is mutable\n        if (updateSelectionValue !== false && isMutable) {\n          if (checked && !selected) {\n            selection.addObject(this.get('value'));\n          } else if (!checked && selected) {\n            selection.removeObject(this.get('value'));\n          }\n\n          return checked;\n        } else {\n\n          // Only change the checked status of the checkbox when selection is mutated, because if\n          // it is not mutated and the onchange handler does not update the bound selection value the\n          // displayed checkboxes would be out of sync with bound selection value.\n          return !checked;\n        }\n      }\n    })\n  });\n\n  exports.default = Ember.Component.extend({\n    layout: _multiselectCheckboxes.default,\n    classNames: ['multiselect-checkboxes'],\n\n    tagName: 'ul',\n\n    i18n: Ember.computed(function () {\n      return Ember.getOwner(this).lookup('service:i18n');\n    }),\n\n    checkboxes: Ember.computed('options.[]', 'labelProperty', 'valueProperty', 'selection', 'translate', 'i18n.locale', function () {\n      let labelProperty = this.get('labelProperty');\n      let valueProperty = this.get('valueProperty');\n      let selection = Ember.A(this.get('selection'));\n      let onchange = this.get('onchange');\n      let updateSelectionValue = this.get('updateSelectionValue') !== undefined ? this.get('updateSelectionValue') : true;\n      let options = Ember.A(this.get('options'));\n      let translate = this.get('translate');\n\n      let checkboxes = options.map(option => {\n        let label, value;\n\n        if (labelProperty) {\n          if (typeof option.get === 'function') {\n            label = option.get(labelProperty);\n          } else {\n            label = option[labelProperty];\n          }\n        } else {\n          label = String(option);\n        }\n\n        if (translate && label && this.get('i18n')) {\n          label = this.get('i18n').t(label);\n        }\n\n        if (valueProperty) {\n          if (typeof option.get === 'function') {\n            value = option.get(valueProperty);\n          } else {\n            value = option[valueProperty];\n          }\n        } else {\n          value = option;\n        }\n\n        return Checkbox.create({\n          option: option,\n          label: label,\n          value: value,\n          selection: selection,\n          onchange: onchange,\n          updateSelectionValue: updateSelectionValue\n        });\n      });\n\n      return Ember.A(checkboxes);\n    })\n  });\n});","define(\"ember-multiselect-checkboxes/templates/components/multiselect-checkboxes\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.HTMLBars.template({ \"id\": \"ZEGqWtfP\", \"block\": \"{\\\"symbols\\\":[\\\"checkbox\\\",\\\"index\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[30,[36,4],[[35,3]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],[[27,[32,3]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,3,[[32,1,[\\\"option\\\"]],[32,1,[\\\"isSelected\\\"]],[32,2]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"li\\\"],[12],[2,\\\"\\\\n      \\\"],[10,\\\"label\\\"],[12],[2,\\\"\\\\n        \\\"],[1,[30,[36,1],null,[[\\\"type\\\",\\\"checked\\\",\\\"disabled\\\"],[\\\"checkbox\\\",[32,1,[\\\"isSelected\\\"]],[35,0]]]]],[2,\\\"\\\\n        \\\"],[1,[32,1,[\\\"label\\\"]]],[2,\\\"\\\\n      \\\"],[13],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"disabled\\\",\\\"input\\\",\\\"if\\\",\\\"checkboxes\\\",\\\"-track-array\\\",\\\"each\\\"]}\", \"moduleName\": \"ember-multiselect-checkboxes/templates/components/multiselect-checkboxes.hbs\" });\n});","define(\"ember-named-blocks-polyfill/helpers/-has-block-params\", [\"exports\", \"ember-named-blocks-polyfill\"], function (_exports, _emberNamedBlocksPolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Helper.helper(\n  /**\n   * @param {unknown[]} params\n   * @param {object} hash\n   * @returns {boolean}\n   */\n  function _hasBlockParams(params, hash) {\n    let [blocksInfo, block, fallback] = params;\n    (true && !(params.length === 3 && (blocksInfo === undefined || (0, _emberNamedBlocksPolyfill.isBlocksInfo)(blocksInfo)) && typeof block === 'string' && typeof fallback === 'boolean') && Ember.assert('-has-block-params takes exactly three arguments: the blocks ' + 'info hash, the name of the block and the fallback value', params.length === 3 && (blocksInfo === undefined || (0, _emberNamedBlocksPolyfill.isBlocksInfo)(blocksInfo)) && typeof block === 'string' && typeof fallback === 'boolean'));\n    (true && !(Object.keys(hash).length === 0) && Ember.assert('-is-named-block-invocation does not take named arguments', Object.keys(hash).length === 0));\n    return blocksInfo ? block in blocksInfo && blocksInfo[block] > 0 : fallback;\n  });\n});","define(\"ember-named-blocks-polyfill/helpers/-has-block\", [\"exports\", \"ember-named-blocks-polyfill\"], function (_exports, _emberNamedBlocksPolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Helper.helper(\n  /**\n   * @param {unknown[]} params\n   * @param {object} hash\n   * @returns {boolean}\n   */\n  function _hasBlock(params, hash) {\n    let [blocksInfo, block, fallback] = params;\n    (true && !(params.length === 3 && (blocksInfo === undefined || (0, _emberNamedBlocksPolyfill.isBlocksInfo)(blocksInfo)) && typeof block === 'string' && typeof fallback === 'boolean') && Ember.assert('-has-block takes exactly three arguments: the blocks info ' + 'hash, the name of the block and the fallback value', params.length === 3 && (blocksInfo === undefined || (0, _emberNamedBlocksPolyfill.isBlocksInfo)(blocksInfo)) && typeof block === 'string' && typeof fallback === 'boolean'));\n    (true && !(Object.keys(hash).length === 0) && Ember.assert('-is-named-block-invocation does not take named arguments', Object.keys(hash).length === 0));\n    return blocksInfo ? block in blocksInfo : fallback;\n  });\n});","define(\"ember-named-blocks-polyfill/helpers/-is-named-block-invocation\", [\"exports\", \"ember-named-blocks-polyfill\"], function (_exports, _emberNamedBlocksPolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Helper.helper(\n  /**\n   * @param {unknown[]} params\n   * @param {object} hash\n   * @returns {boolean}\n   */\n  function _isNamedBlockInvocation(params, hash) {\n    (true && !(params.length === 2 && typeof params[1] === 'string') && Ember.assert('-is-named-block-invocation takes exactly two arguments: ' + 'the invocation value to check and the name of the block', params.length === 2 && typeof params[1] === 'string'));\n    (true && !(Object.keys(hash).length === 0) && Ember.assert('-is-named-block-invocation does not take named arguments', Object.keys(hash).length === 0));\n    return (0, _emberNamedBlocksPolyfill.isNamedBlockInvocation)(params[0], params[1]);\n  });\n});","define(\"ember-named-blocks-polyfill/helpers/-named-block-invocation\", [\"exports\", \"ember-named-blocks-polyfill\"], function (_exports, _emberNamedBlocksPolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Helper.helper(\n  /**\n   * @param {unknown[]} params\n   * @param {object} hash\n   * @returns {unknown}\n   */\n  function _namedBlockInvocation(params, hash) {\n    (true && !(params.length === 1 && typeof params[0] === 'string') && Ember.assert('-named-block-invocation takes a single string argument', params.length === 1 && typeof params[0] === 'string'));\n    (true && !(Object.keys(hash).length === 0) && Ember.assert('-named-block-invocation does not take named arguments', Object.keys(hash).length === 0));\n    return (0, _emberNamedBlocksPolyfill.namedBlockInvocation)(params[0]);\n  });\n});","define(\"ember-named-blocks-polyfill/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isBlocksInfo = isBlocksInfo;\n  _exports.isNamedBlockInvocation = isNamedBlockInvocation;\n  _exports.namedBlockInvocation = namedBlockInvocation;\n  /**\n   * @type {WeakMap<object, string>}\n   */\n  const INVOCATIONS = new WeakMap();\n\n  /**\n   * Constructs a named block invocation for the block named _block_.\n   *\n   * @param {string} block\n   * @returns {unknown}\n   */\n  function namedBlockInvocation(block) {\n    let invocation = Object.create(null);\n    Object.defineProperty(invocation, 'toString', {\n      configurable: true,\n      enumerable: false,\n      writable: false,\n      value: () => `{{yield to=${JSON.stringify(block)}}}`\n    });\n    INVOCATIONS.set(invocation, block);\n    return invocation;\n  }\n\n  /**\n   * Check if _value_ is a named block invocation for the block named _block_.\n   *\n   * @param {unknown} value\n   * @param {string} block\n   * @returns {boolean}\n   */\n  function isNamedBlockInvocation(value, block) {\n    if (typeof value === 'object' && value !== null && INVOCATIONS.has(value)) {\n      return block === INVOCATIONS.get(value);\n    } else {\n      return block === 'default';\n    }\n  }\n\n  /**\n   * @typedef {{ [key: string]: number }} BlocksInfo\n   *\n   * @param {unknown} value\n   * @returns {value is BlocksInfo}\n   */\n  function isBlocksInfo(value) {\n    return typeof value === 'object' && value !== null && Object.getPrototypeOf(value) === null && Object.values(value).every(v => typeof v === 'number');\n  }\n});","define(\"ember-notify/components/ember-notify\", [\"exports\", \"ember-notify/templates/components/ember-notify\", \"ember-notify/message\"], function (_exports, _emberNotify, _message) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.UIkitTheme = _exports.Theme = _exports.SemanticUiTheme = _exports.RefillsTheme = _exports.FoundationTheme = _exports.Foundation5Theme = _exports.BootstrapTheme = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    layout: _emberNotify.default,\n    notify: Ember.inject.service(),\n    classNames: ['ember-notify-cn'],\n    classNameBindings: ['classPrefix'],\n    messageStyle: 'foundation',\n    closeAfter: 2500,\n    messages: null,\n    source: Ember.computed.oneWay('notify'),\n    classPrefix: Ember.computed('defaultClass', function () {\n      return this.defaultClass || 'ember-notify-default';\n    }),\n    init() {\n      this._super(...arguments);\n      this.set('messages', Ember.A());\n      this.source.setTarget(this);\n      let theme;\n      switch (this.messageStyle) {\n        case 'foundation':\n          theme = FoundationTheme;\n          break;\n        case 'uikit':\n          theme = UIkitTheme;\n          break;\n        case 'foundation-5':\n          theme = Foundation5Theme;\n          break;\n        case 'bootstrap':\n          theme = BootstrapTheme;\n          break;\n        case 'refills':\n          theme = RefillsTheme;\n          break;\n        case 'semantic-ui':\n          theme = SemanticUiTheme;\n          break;\n        default:\n          throw new Error(`Unknown messageStyle ${this.messageStyle}.\n          Options are 'foundation', 'foundation-5', 'uikit', 'refills', 'bootstrap', and 'semantic-ui'.`);\n      }\n      this.set('theme', theme);\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this.source.setTarget(null);\n    },\n    show(message) {\n      if (this.isDestroyed) {\n        return;\n      }\n      let id = message.id;\n      if (id && this.messages.find(x => x.id === id)) {\n        return;\n      }\n      if (!(message instanceof _message.default)) {\n        message = _message.default.create(message);\n      }\n      this.messages.pushObject(message);\n      return message;\n    }\n  });\n  const Theme = _exports.Theme = {\n    classNamesFor(message) {\n      return message.type;\n    }\n  };\n  const FoundationTheme = _exports.FoundationTheme = {\n    classNamesFor(message) {\n      let classNames = ['callout', message.type];\n      if (message.type === 'error') {\n        classNames.push('alert');\n      }\n      return classNames.join(' ');\n    }\n  };\n  const Foundation5Theme = _exports.Foundation5Theme = {\n    classNamesFor(message) {\n      let classNames = ['alert-box', message.type];\n      if (message.type === 'error') {\n        classNames.push('alert');\n      }\n      return classNames.join(' ');\n    }\n  };\n  const BootstrapTheme = _exports.BootstrapTheme = {\n    classNamesFor(message) {\n      let {\n        type\n      } = message;\n      if (type === 'alert' || type === 'error') {\n        type = 'danger';\n      }\n      let classNames = ['alert', `alert-${type}`];\n      return classNames.join(' ');\n    }\n  };\n  const RefillsTheme = _exports.RefillsTheme = {\n    classNamesFor(message) {\n      let typeMapping = {\n        success: 'success',\n        alert: 'error',\n        error: 'error',\n        info: 'notice',\n        warning: 'alert'\n      };\n      return `flash-${typeMapping[message.type]}`;\n    }\n  };\n  const SemanticUiTheme = _exports.SemanticUiTheme = {\n    classNamesFor(message) {\n      let typeMapping = {\n        success: 'success',\n        alert: 'error',\n        error: 'error',\n        info: 'info',\n        warning: 'warning'\n      };\n      return `ui message ${typeMapping[message.type]}`;\n    }\n  };\n  const UIkitTheme = _exports.UIkitTheme = {\n    classNamesFor(message) {\n      let typeMapping = {\n        success: 'success',\n        alert: 'warning',\n        error: 'danger',\n        info: 'info',\n        warning: 'warning'\n      };\n      return `uk-notify-message uk-notify-message-${typeMapping[message.type]}`;\n    }\n  };\n});","define(\"ember-notify/components/ember-notify/message\", [\"exports\", \"ember-notify/templates/components/ember-notify/message\"], function (_exports, _message) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const DEFAULT_MESSAGE = {};\n  var _default = _exports.default = Ember.Component.extend({\n    layout: _message.default,\n    message: DEFAULT_MESSAGE,\n    closeAfter: null,\n    run: null,\n    classNameBindings: ['message.visible:ember-notify-show:ember-notify-hide', 'radius::', 'themeClassNames', 'message.classNames'],\n    attributeBindings: ['data-alert'],\n    'data-alert': '',\n    init() {\n      this._super(...arguments);\n\n      // Indicate that the message is now being displayed\n      if (this.message.visible === undefined) {\n        // Should really be in didInsertElement but Glimmer doesn't allow this\n        this.set('message.visible', true);\n      }\n      this.set('message.container', this);\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      let {\n        closeAfter = this.closeAfter,\n        element\n      } = this.message;\n      if (element) {\n        let parent = this.element.querySelector('.message');\n        if (Ember.isArray(element)) {\n          element.map(parent.appendElement);\n        } else {\n          parent.appendChild(element);\n        }\n      }\n      if (closeAfter) {\n        Ember.run.later(() => this.selfClose(), closeAfter);\n      }\n    },\n    themeClassNames: Ember.computed('theme', 'message.type', function () {\n      return this.theme ? this.theme.classNamesFor(this.message) : '';\n    }),\n    actions: {\n      close() {\n        if (this.message.closed) {\n          return;\n        }\n        this.set('message.closed', true);\n        this.set('message.visible', false);\n        let removeAfter = this.message.removeAfter || this.constructor.removeAfter;\n        if (removeAfter) {\n          Ember.run.later(this, remove, removeAfter);\n        } else {\n          remove();\n        }\n        function remove() {\n          if (this.isDestroyed || !this.parentView || !this.parentView.messages) {\n            return;\n          }\n          this.parentView.messages.removeObject(this.message);\n          this.set('message.visible', null);\n        }\n      }\n    },\n    isHovering() {\n      return this.element.matches ? this.element.matches(':hover') : this.element.msMatchesSelector(':hover');\n    },\n    selfClose() {\n      if (this.isDestroyed) {\n        return;\n      }\n      if (this.isHovering()) {\n        return Ember.run.later(() => this.selfClose(), 100);\n      }\n\n      // When :hover no longer applies, close as normal\n      this.send('close');\n    }\n  }).reopenClass({\n    removeAfter: 250 // Allow time for the close animation to finish\n  });\n});","define(\"ember-notify/index\", [\"exports\", \"ember-notify/message\"], function (_exports, _message) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function aliasToShow(type) {\n    return function (message, options) {\n      return this.show(type, message, options);\n    };\n  }\n  let Notify = Ember.Service.extend({\n    info: aliasToShow('info'),\n    success: aliasToShow('success'),\n    warning: aliasToShow('warning'),\n    alert: aliasToShow('alert'),\n    error: aliasToShow('error'),\n    init() {\n      this._super(...arguments);\n      this.pending = [];\n    },\n    show(type, text, options) {\n      // If the text passed is `SafeString`, convert it\n      if (Ember.String.isHTMLSafe(text)) {\n        text = text.toString();\n      }\n      if (typeof text === 'object') {\n        options = text;\n        text = null;\n      }\n      let message = _message.default.create(Ember.assign({\n        text: text,\n        type: type\n      }, options));\n      if (this.target) {\n        this.target.show(message);\n      } else {\n        this.pending.push(message);\n      }\n      return message;\n    },\n    setTarget(target) {\n      this.set('target', target);\n      if (target) {\n        this.pending.map(message => target.show(message));\n        this.pending = [];\n      }\n    }\n  });\n  var _default = _exports.default = Notify.reopenClass({\n    property() {\n      return Ember.computed(function () {\n        return Notify.create();\n      });\n    }\n  });\n});","define(\"ember-notify/initializer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {\n    let application = arguments[1] || arguments[0];\n    application.inject('route', 'notify', 'service:notify');\n    application.inject('controller', 'notify', 'service:notify');\n  }\n  var _default = _exports.default = {\n    name: 'inject-notify-service',\n    initialize: initialize\n  };\n});","define(\"ember-notify/message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const EMPTY_ARRAY = [];\n  var _default = _exports.default = Ember.Object.extend({\n    text: null,\n    html: '',\n    type: 'info',\n    closeAfter: undefined,\n    visible: undefined,\n    classNames: EMPTY_ARRAY,\n    // will be set to the component rendering this message\n    container: undefined,\n    close() {\n      if (this.container) {\n        this.container.selfClose();\n      }\n    }\n  });\n});","define(\"ember-notify/templates/components/ember-notify\", [\"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\": \"xBsFL2ZC\",\n    \"block\": \"{\\\"symbols\\\":[\\\"message\\\",\\\"message\\\",\\\"close\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,1],[[32,0,[\\\"messages\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,4]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ember-notify/message\\\",[[24,0,\\\"ember-notify clearfix\\\"]],[[\\\"@message\\\",\\\"@theme\\\",\\\"@closeAfter\\\"],[[32,1],[32,0,[\\\"theme\\\"]],[32,0,[\\\"closeAfter\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n      \\\"],[18,4,[[32,2],[32,3]]],[2,\\\"\\\\n    \\\"]],\\\"parameters\\\":[2,3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"ember-notify/message\\\",[[24,0,\\\"ember-notify clearfix\\\"]],[[\\\"@message\\\",\\\"@theme\\\",\\\"@closeAfter\\\"],[[32,1],[32,0,[\\\"theme\\\"]],[32,0,[\\\"closeAfter\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-notify/templates/components/ember-notify.hbs\"\n  });\n});","define(\"ember-notify/templates/components/ember-notify/message\", [\"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\": \"0oZc9GKY\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[18,1,[[32,0,[\\\"message\\\"]],[30,[36,0],[[32,0],\\\"close\\\"],null]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"a\\\"],[24,6,\\\"\\\"],[24,0,\\\"close\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,0],[[32,0],\\\"close\\\"],null],[12],[2,\\\"×\\\"],[13],[2,\\\"\\\\n\\\"],[2,\\\"  \\\"],[10,\\\"span\\\"],[14,0,\\\"message\\\"],[12],[1,[32,0,[\\\"message\\\",\\\"text\\\"]]],[2,[32,0,[\\\"message\\\",\\\"html\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-notify/templates/components/ember-notify/message.hbs\"\n  });\n});","define(\"ember-on-helper/helpers/on-document\", [\"exports\", \"ember-on-helper/helpers/on\"], function (_exports, _on) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _on.default.extend({\n    compute(positional, named) {\n      return this._super([document, ...positional], named);\n    }\n  });\n});","define(\"ember-on-helper/helpers/on-window\", [\"exports\", \"ember-on-helper/helpers/on\"], function (_exports, _on) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _on.default.extend({\n    compute(positional, named) {\n      return this._super([window, ...positional], named);\n    }\n  });\n});","define(\"ember-on-helper/helpers/on\", [\"exports\", \"ember-on-helper/utils/event-listener\"], function (_exports, _eventListener) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.__counts = __counts;\n  _exports.default = void 0;\n  /**\n   * These are private API and only used for testing instrumentation.\n   */\n  let adds = 0;\n  let removes = 0;\n  function __counts() {\n    return {\n      adds,\n      removes\n    };\n  }\n  const assertValidEventOptions = true /* DEBUG */ && (() => {\n    const ALLOWED_EVENT_OPTIONS = ['capture', 'once', 'passive'];\n    const joinOptions = options => options.map(o => `'${o}'`).join(', ');\n    return function (eventOptions, eventName) {\n      const invalidOptions = Object.keys(eventOptions).filter(o => !ALLOWED_EVENT_OPTIONS.includes(o));\n      (true && !(invalidOptions.length === 0) && Ember.assert(`ember-on-helper: Provided invalid event options (${joinOptions(invalidOptions)}) to '${eventName}' event listener. Only these options are valid: ${joinOptions(ALLOWED_EVENT_OPTIONS)}`, invalidOptions.length === 0));\n    };\n  })();\n  function setupListener(eventTarget, eventName, callback, eventOptions) {\n    if (true /* DEBUG */) assertValidEventOptions(eventOptions, eventName);\n    (true && !(eventTarget && typeof eventTarget.addEventListener === 'function' && typeof eventTarget.removeEventListener === 'function') && Ember.assert(`ember-on-helper: '${eventTarget}' is not a valid event target. It has to be an Element or an object that conforms to the EventTarget interface.`, eventTarget && typeof eventTarget.addEventListener === 'function' && typeof eventTarget.removeEventListener === 'function'));\n    (true && !(typeof eventName === 'string' && eventName.length > 1) && Ember.assert(`ember-on-helper: '${eventName}' is not a valid event name. It has to be a string with a minimum length of 1 character.`, typeof eventName === 'string' && eventName.length > 1));\n    (true && !(typeof callback === 'function') && Ember.assert(`ember-on-helper: '${callback}' is not a valid callback. Provide a function.`, typeof callback === 'function'));\n    adds++;\n    (0, _eventListener.addEventListener)(eventTarget, eventName, callback, eventOptions);\n    return callback;\n  }\n  function destroyListener(eventTarget, eventName, callback, eventOptions) {\n    if (eventTarget && eventName && callback) {\n      removes++;\n      (0, _eventListener.removeEventListener)(eventTarget, eventName, callback, eventOptions);\n    }\n  }\n  var _default = _exports.default = Ember.Helper.extend({\n    eventTarget: null,\n    eventName: undefined,\n    callback: undefined,\n    eventOptions: undefined,\n    compute([eventTarget, eventName, callback], eventOptions) {\n      destroyListener(this.eventTarget, this.eventName, this.callback, this.eventOptions);\n      this.eventTarget = eventTarget;\n      this.callback = setupListener(this.eventTarget, eventName, callback, eventOptions);\n      this.eventName = eventName;\n      this.eventOptions = eventOptions;\n    },\n    willDestroy() {\n      this._super();\n      destroyListener(this.eventTarget, this.eventName, this.callback, this.eventOptions);\n    }\n  });\n});","define(\"ember-on-helper/utils/event-listener\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.SUPPORTS_EVENT_OPTIONS = void 0;\n  _exports.addEventListener = addEventListener;\n  _exports.addEventListenerOnce = addEventListenerOnce;\n  _exports.removeEventListener = removeEventListener;\n  /* eslint no-param-reassign: \"off\" */\n\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  const SUPPORTS_EVENT_OPTIONS = _exports.SUPPORTS_EVENT_OPTIONS = (() => {\n    try {\n      const div = document.createElement('div');\n      let counter = 0;\n      div.addEventListener('click', () => counter++, {\n        once: true\n      });\n      let 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\n  /**\n   * Registers an event for an `element` that is called exactly once and then\n   * unregistered again. This is effectively a polyfill for `{ once: true }`.\n   *\n   * It also accepts a fourth optional argument `useCapture`, that will be passed\n   * through to `addEventListener`.\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {boolean} [useCapture=false]\n   */\n  function addEventListenerOnce(element, eventName, callback, useCapture = false) {\n    function listener() {\n      element.removeEventListener(eventName, listener, useCapture);\n      callback();\n    }\n    element.addEventListener(eventName, listener, useCapture);\n  }\n\n  /**\n   * Safely invokes `addEventListener` for IE11 and also polyfills the\n   * `{ once: true }` and `{ capture: true }` options.\n   *\n   * All other options are discarded for IE11. Currently this is only `passive`.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {object} [eventOptions]\n   */\n  function addEventListener(element, eventName, callback, eventOptions) {\n    const _callback = true /* DEBUG */ && eventOptions && eventOptions.passive ? function (event) {\n      event.preventDefault = () => {\n        (true && !(false) && Ember.assert(`ember-on-helper: You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()'.`));\n      };\n      return callback.call(this, event);\n    } : callback;\n    if (SUPPORTS_EVENT_OPTIONS) {\n      element.addEventListener(eventName, _callback, eventOptions);\n    } else if (eventOptions && eventOptions.once) {\n      addEventListenerOnce(element, eventName, _callback, Boolean(eventOptions.capture));\n    } else {\n      element.addEventListener(eventName, _callback, Boolean(eventOptions && eventOptions.capture));\n    }\n  }\n\n  /**\n   * Since the same `capture` event option that was used to add the event listener\n   * needs to be used when removing the listener, it needs to be polyfilled as\n   * `useCapture` for IE11.\n   *\n   * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\n   *\n   * @param {Element} element\n   * @param {string} eventName\n   * @param {Function} callback\n   * @param {object} [eventOptions]\n   */\n  function removeEventListener(element, eventName, callback, eventOptions) {\n    if (SUPPORTS_EVENT_OPTIONS) {\n      element.removeEventListener(eventName, callback, eventOptions);\n    } else {\n      element.removeEventListener(eventName, callback, Boolean(eventOptions && eventOptions.capture));\n    }\n  }\n});","define(\"ember-orbit/-private/cache\", [\"exports\", \"@orbit/core\", \"@orbit/data\", \"@orbit/identity-map\", \"ember-orbit/-private/live-query\", \"ember-orbit/-private/model-factory\", \"ember-orbit/-private/utils/record-identity-serializer\"], function (_exports, _core, _data, _identityMap, _liveQuery, _modelFactory2, _recordIdentitySerializer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"@ember/destroyable\",0,\"@orbit/core\",0,\"@orbit/data\",0,\"@orbit/identity-map\",0,\"ember-orbit/-private/live-query\",0,\"ember-orbit/-private/model-factory\",0,\"ember-orbit/-private/utils/record-identity-serializer\"eaimeta@70e063a35619d71f\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 _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\n  const {\n    assert,\n    deprecate\n  } = _core.Orbit;\n  var _sourceCache = /*#__PURE__*/new WeakMap();\n  var _store = /*#__PURE__*/new WeakMap();\n  var _base = /*#__PURE__*/new WeakMap();\n  var _modelFactory = /*#__PURE__*/new WeakMap();\n  class Cache {\n    constructor(settings) {\n      _classPrivateFieldInitSpec(this, _sourceCache, void 0);\n      _classPrivateFieldInitSpec(this, _store, void 0);\n      _classPrivateFieldInitSpec(this, _base, void 0);\n      _classPrivateFieldInitSpec(this, _modelFactory, void 0);\n      _defineProperty(this, \"allowUpdates\", void 0);\n      _defineProperty(this, \"_identityMap\", new _identityMap.default({\n        serializer: _recordIdentitySerializer.default\n      }));\n      const owner = Ember.getOwner(settings);\n      Ember.setOwner(this, owner);\n      _classPrivateFieldSet(_sourceCache, this, settings.sourceCache);\n      _classPrivateFieldSet(_store, this, settings.store);\n      _classPrivateFieldSet(_base, this, settings.base);\n      _classPrivateFieldSet(_modelFactory, this, new _modelFactory2.default(this));\n      this.allowUpdates = _classPrivateFieldGet(_sourceCache, this).base !== undefined;\n      const patchUnbind = _classPrivateFieldGet(_sourceCache, this).on('patch', this.generatePatchListener());\n      Ember._registerDestructor(this, () => {\n        patchUnbind();\n        this._identityMap.clear();\n      });\n    }\n    get sourceCache() {\n      return _classPrivateFieldGet(_sourceCache, this);\n    }\n    get store() {\n      return _classPrivateFieldGet(_store, this);\n    }\n    get keyMap() {\n      return _classPrivateFieldGet(_sourceCache, this).keyMap;\n    }\n    get schema() {\n      return _classPrivateFieldGet(_sourceCache, this).schema;\n    }\n    get queryBuilder() {\n      return _classPrivateFieldGet(_sourceCache, this).queryBuilder;\n    }\n    get transformBuilder() {\n      return _classPrivateFieldGet(_sourceCache, this).transformBuilder;\n    }\n    get validatorFor() {\n      return _classPrivateFieldGet(_sourceCache, this).validatorFor;\n    }\n    get defaultQueryOptions() {\n      return _classPrivateFieldGet(_sourceCache, this).defaultQueryOptions;\n    }\n    set defaultQueryOptions(options) {\n      _classPrivateFieldGet(_sourceCache, this).defaultQueryOptions = options;\n    }\n    get defaultTransformOptions() {\n      return _classPrivateFieldGet(_sourceCache, this).defaultTransformOptions;\n    }\n    set defaultTransformOptions(options) {\n      _classPrivateFieldGet(_sourceCache, this).defaultTransformOptions = options;\n    }\n    get isForked() {\n      return _classPrivateFieldGet(_sourceCache, this).base !== undefined;\n    }\n    get base() {\n      return _classPrivateFieldGet(_base, this);\n    }\n    fork(settings = {}) {\n      const forkedCache = _classPrivateFieldGet(_sourceCache, this).fork(settings);\n      const injections = Ember.getOwner(this).ownerInjection();\n      return new Cache({\n        ...injections,\n        sourceCache: forkedCache,\n        base: this\n      });\n    }\n    merge(forkedCache, options) {\n      if (options?.fullResponse) {\n        let response = _classPrivateFieldGet(_sourceCache, this).merge(forkedCache.sourceCache, options);\n        if (response.data !== undefined) {\n          const data = this._lookupTransformResult(response.data, true // merge results should ALWAYS be an array\n          );\n          response = {\n            ...response,\n            data\n          };\n        }\n        return response;\n      } else {\n        let response = _classPrivateFieldGet(_sourceCache, this).merge(forkedCache.sourceCache, options);\n        if (response !== undefined) {\n          response = this._lookupTransformResult(response, true // merge results should ALWAYS be an array\n          );\n        }\n        return response;\n      }\n    }\n    rebase() {\n      _classPrivateFieldGet(_sourceCache, this).rebase();\n    }\n    reset() {\n      _classPrivateFieldGet(_sourceCache, this).reset();\n    }\n    getRecordData(type, id) {\n      return _classPrivateFieldGet(_sourceCache, this).getRecordSync({\n        type,\n        id\n      });\n    }\n    includesRecord(type, id) {\n      return this.getRecordData(type, id) !== undefined;\n    }\n    recordIdFromKey(type, keyName, keyValue) {\n      const keyMap = this.keyMap;\n      assert('No `keyMap` has been assigned to the Cache, so `recordIdFromKey` can not work.', keyMap !== undefined);\n      let id = keyMap.keyToId(type, keyName, keyValue);\n      if (!id) {\n        id = this.schema.generateId(type);\n        keyMap.pushRecord({\n          type,\n          id,\n          keys: {\n            [keyName]: keyValue\n          }\n        });\n      }\n      return id;\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecordData(type, id) {\n      deprecate('Cache#peekRecordData is deprecated. Call `getRecordData` instead.');\n      return _classPrivateFieldGet(_sourceCache, this).getRecordSync({\n        type,\n        id\n      });\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecord(type, id) {\n      deprecate('Cache#peekRecord is deprecated. Call `findRecord` instead.');\n      return this.findRecord(type, id);\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecords(type) {\n      deprecate('Cache#peekRecords is deprecated. Call `findRecords` instead.');\n      return this.findRecords(type);\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecordByKey(type, key, value) {\n      deprecate('Cache#peekRecordByKey is deprecated. Instead of `cache.peekRecordByKey(type, key, value)`, call `cache.findRecord({ type, key, value })` or `cache.query(...)`.');\n      return this.findRecord({\n        type,\n        key,\n        value\n      });\n    }\n\n    /**\n     * @deprecated\n     */\n    peekKey(identity, key) {\n      deprecate(\"Cache#peekKey is deprecated. Instead of `cache.peekKey({ type, id }, value)`, call `cache.findRecord({ type, id })` and then access the record's fields directly.\");\n      const record = _classPrivateFieldGet(_sourceCache, this).getRecordSync(identity);\n      return record?.keys?.[key];\n    }\n\n    /**\n     * @deprecated\n     */\n    peekAttribute(identity, attribute) {\n      deprecate(\"Cache#peekAttribute is deprecated. Instead of `cache.peekAttribute({ type, id }, attribute)`, call `cache.findRecord({ type, id })` and then access the record's fields directly.\");\n      const record = _classPrivateFieldGet(_sourceCache, this).getRecordSync(identity);\n      return record?.attributes?.[attribute];\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRelatedRecord(identity, relationship) {\n      deprecate(\"Cache#peekRelatedRecord is deprecated. Instead of `cache.peekRelatedRecord({ type, id }, relationship)`, call `cache.findRecord({ type, id })` and then access the record's fields directly.\");\n      const relatedRecord = _classPrivateFieldGet(_sourceCache, this).getRelatedRecordSync(identity, relationship);\n      if (relatedRecord) {\n        return this.lookup(relatedRecord);\n      } else {\n        return relatedRecord;\n      }\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRelatedRecords(identity, relationship) {\n      deprecate(\"Cache#peekRelatedRecords is deprecated. Instead of `cache.peekRelatedRecords({ type, id }, relationship)`, call `cache.findRecord({ type, id })` and then access the record's fields directly.\");\n      const relatedRecords = _classPrivateFieldGet(_sourceCache, this).getRelatedRecordsSync(identity, relationship);\n      if (relatedRecords) {\n        return relatedRecords.map(r => this.lookup(r));\n      } else {\n        return undefined;\n      }\n    }\n    update(transformOrOperations, options, id) {\n      assert(`You tried to update a cache that is not a fork, which is not allowed by default. Either fork the store/cache before making updates directly to the cache or, if the update you are making is ephemeral, set 'cache.allowUpdates = true' to override this assertion.`, this.allowUpdates);\n      const transform = (0, _data.buildTransform)(transformOrOperations, options, id, _classPrivateFieldGet(_sourceCache, this).transformBuilder);\n      if (options?.fullResponse) {\n        let response = _classPrivateFieldGet(_sourceCache, this).update(transform, {\n          fullResponse: true\n        });\n        if (response.data !== undefined) {\n          const data = this._lookupTransformResult(response.data, Array.isArray(transform.operations));\n          response = {\n            ...response,\n            data\n          };\n        }\n        return response;\n      } else {\n        let response = _classPrivateFieldGet(_sourceCache, this).update(transform);\n        if (response !== undefined) {\n          response = this._lookupTransformResult(response, Array.isArray(transform.operations));\n        }\n        return response;\n      }\n    }\n    query(queryOrExpressions, options, id) {\n      const query = (0, _data.buildQuery)(queryOrExpressions, options, id, _classPrivateFieldGet(_sourceCache, this).queryBuilder);\n      if (options?.fullResponse) {\n        const response = _classPrivateFieldGet(_sourceCache, this).query(query, {\n          fullResponse: true\n        });\n        const data = this._lookupQueryResult(response.data, Array.isArray(query.expressions));\n        return {\n          ...response,\n          data\n        };\n      } else {\n        const response = _classPrivateFieldGet(_sourceCache, this).query(query);\n        const data = this._lookupQueryResult(response, Array.isArray(query.expressions));\n        return data;\n      }\n    }\n    liveQuery(queryOrExpressions, options, id) {\n      const query = (0, _data.buildQuery)(queryOrExpressions, options, id, _classPrivateFieldGet(_sourceCache, this).queryBuilder);\n      const liveQuery = _classPrivateFieldGet(_sourceCache, this).liveQuery(query);\n      return new _liveQuery.default({\n        liveQuery,\n        cache: this,\n        query\n      });\n    }\n\n    /**\n     * @deprecated\n     */\n    find(type, id) {\n      deprecate('`Cache#find` is deprecated. Call `cache.findRecords(type)`, `cache.findRecord(type, id)`, or `cache.query(...)` instead.');\n      if (id === undefined) {\n        return this.findRecords(type);\n      } else {\n        return this.findRecord(type, id);\n      }\n    }\n    findRecord(typeOrIdentity, idOrOptions, options) {\n      if (options?.fullResponse) {\n        delete options.fullResponse;\n      }\n      let identity;\n      let queryOptions;\n      if (typeof typeOrIdentity === 'string') {\n        if (typeof idOrOptions === 'string') {\n          identity = {\n            type: typeOrIdentity,\n            id: idOrOptions\n          };\n          queryOptions = options;\n        } else {\n          throw new _core.Assertion('`Cache#findRecord` may be called with either `type` and `id` strings OR a single `identity` object.');\n        }\n      } else {\n        identity = typeOrIdentity;\n        queryOptions = idOrOptions;\n      }\n      return this.query(q => q.findRecord(identity), queryOptions);\n    }\n    findRecords(typeOrIdentities, options) {\n      if (options?.fullResponse) {\n        delete options.fullResponse;\n      }\n      return this.query(q => q.findRecords(typeOrIdentities), options);\n    }\n\n    /**\n     * Adds a record\n     */\n    addRecord(properties, options) {\n      assert('Cache#addRecord does not support the `fullResponse` option. Call `cache.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      return this.update(t => t.addRecord(properties), options);\n    }\n\n    /**\n     * Updates a record\n     */\n    updateRecord(properties, options) {\n      assert('Cache#updateRecord does not support the `fullResponse` option. Call `cache.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      return this.update(t => t.updateRecord(properties), options);\n    }\n\n    /**\n     * Removes a record\n     */\n    removeRecord(identity, options) {\n      assert('Cache#removeRecord does not support the `fullResponse` option. Call `cache.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      this.update(t => t.removeRecord(identity), options);\n    }\n    unload(identity) {\n      const record = this._identityMap.get(identity);\n      if (record) {\n        record.$disconnect();\n        this._identityMap.delete(identity);\n      }\n    }\n    lookup(identity) {\n      let record = this._identityMap.get(identity);\n      if (!record) {\n        record = _classPrivateFieldGet(_modelFactory, this).create(identity);\n        this._identityMap.set(identity, record);\n      }\n      return record;\n    }\n    _lookupQueryResult(result, isArray) {\n      if (isArray) {\n        if (Array.isArray(result)) {\n          return result.map(i => this.lookupQueryExpressionResult(i));\n        } else {\n          throw new _core.Assertion('A resultset for a query with an array of `expressions` should also be an array.');\n        }\n      } else {\n        return this.lookupQueryExpressionResult(result);\n      }\n    }\n    _lookupTransformResult(result, isArray) {\n      if (isArray) {\n        if (Array.isArray(result)) {\n          return result.map(i => this.lookupOperationResult(i));\n        } else {\n          throw new _core.Assertion('A resultset for a transform with an array of `operations` should also be an array.');\n        }\n      } else {\n        if (Array.isArray(result)) {\n          throw new _core.Assertion('A resultset for a transform with singular (i.e. non-array) `operations` should not be an array.');\n        } else {\n          return this.lookupOperationResult(result);\n        }\n      }\n    }\n    lookupQueryExpressionResult(result) {\n      if (Array.isArray(result)) {\n        return result.map(i => i ? this.lookup(i) : i);\n      } else if (result) {\n        return this.lookup(result);\n      } else {\n        return result;\n      }\n    }\n    lookupOperationResult(result) {\n      if (result) {\n        return this.lookup(result);\n      } else {\n        return result;\n      }\n    }\n    notifyPropertyChange(identity, property) {\n      const record = this._identityMap.get(identity);\n      record?.$notifyPropertyChange(property);\n    }\n    generatePatchListener() {\n      return operation => {\n        const record = operation.record;\n        const {\n          type,\n          id,\n          keys,\n          attributes,\n          relationships\n        } = record;\n        const identity = {\n          type,\n          id\n        };\n        switch (operation.op) {\n          case 'updateRecord':\n            for (let properties of [attributes, keys, relationships]) {\n              if (properties) {\n                for (let property of Object.keys(properties)) {\n                  if (Object.prototype.hasOwnProperty.call(properties, property)) {\n                    this.notifyPropertyChange(identity, property);\n                  }\n                }\n              }\n            }\n            break;\n          case 'replaceAttribute':\n            this.notifyPropertyChange(identity, operation.attribute);\n            break;\n          case 'replaceKey':\n            this.notifyPropertyChange(identity, operation.key);\n            break;\n          case 'replaceRelatedRecord':\n          case 'replaceRelatedRecords':\n          case 'addToRelatedRecords':\n          case 'removeFromRelatedRecords':\n            this.notifyPropertyChange(identity, operation.relationship);\n            break;\n          case 'removeRecord':\n            this.unload(identity);\n            break;\n        }\n      };\n    }\n  }\n  _exports.default = Cache;\n});","define(\"ember-orbit/-private/factories/coordinator-factory\", [\"exports\", \"@orbit/coordinator\", \"ember-orbit/-private/system/modules-of-type\"], function (_exports, _coordinator, _modulesOfType) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"@orbit/coordinator\",0,\"ember-orbit/-private/system/modules-of-type\"eaimeta@70e063a35619d71f\n  function isFactory(f) {\n    return typeof f === 'object' && typeof f?.create === 'function';\n  }\n  var _default = _exports.default = {\n    create(injections = {}) {\n      const app = Ember.getOwner(injections);\n      const orbitConfig = app.lookup('ember-orbit:config');\n      if (injections.sources === undefined) {\n        let sourceNames;\n        if (injections.sourceNames) {\n          sourceNames = injections.sourceNames;\n          delete injections.sourceNames;\n        } else {\n          sourceNames = app.lookup('ember-orbit:source-names') ?? (0, _modulesOfType.default)(app.base.modulePrefix, orbitConfig.collections.sources);\n          sourceNames.push('store');\n        }\n        injections.sources = sourceNames.map(name => {\n          const key = `${orbitConfig.types.source}:${name}`;\n          const factory = app.resolveRegistration(key);\n          return isFactory(factory) ? app.lookup(key) : undefined;\n        }).filter(source => !!source);\n      }\n      if (injections.strategies === undefined) {\n        let strategyNames;\n        if (injections.strategyNames) {\n          strategyNames = injections.strategyNames;\n          delete injections.strategyNames;\n        } else {\n          strategyNames = app.lookup('ember-orbit:strategy-names') ?? (0, _modulesOfType.default)(app.base.modulePrefix, orbitConfig.collections.strategies);\n        }\n        injections.strategies = strategyNames.map(name => {\n          const key = `${orbitConfig.types.strategy}:${name}`;\n          const factory = app.resolveRegistration(key);\n          return isFactory(factory) ? app.lookup(key) : undefined;\n        }).filter(strategy => !!strategy);\n      }\n      return new _coordinator.Coordinator(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/factories/key-map-factory\", [\"exports\", \"@orbit/records\"], function (_exports, _records) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/records\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    create() {\n      return new _records.RecordKeyMap();\n    }\n  };\n});","define(\"ember-orbit/-private/factories/memory-source-factory\", [\"exports\", \"@orbit/memory\", \"ember-orbit/-private/utils/standard-injections\"], function (_exports, _memory, _standardInjections) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/memory\",0,\"ember-orbit/-private/utils/standard-injections\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    create(injections) {\n      (0, _standardInjections.applyStandardSourceInjections)(injections);\n      injections.name = injections.name ?? 'store';\n      injections.cacheSettings = {\n        debounceLiveQueries: false\n      };\n      return new _memory.MemorySource(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/factories/normalizer-factory\", [\"exports\", \"ember-orbit/-private/utils/model-aware-normalizer\"], function (_exports, _modelAwareNormalizer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-orbit/-private/utils/model-aware-normalizer\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    create(injections) {\n      const app = Ember.getOwner(injections);\n      const orbitConfig = app.lookup('ember-orbit:config');\n      if (!orbitConfig.skipSchemaService) {\n        injections.schema = app.lookup(`service:${orbitConfig.services.schema}`);\n      }\n      if (!orbitConfig.skipKeyMapService) {\n        injections.keyMap = app.lookup(`service:${orbitConfig.services.keyMap}`);\n      }\n      return new _modelAwareNormalizer.ModelAwareNormalizer(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/factories/schema-factory\", [\"exports\", \"@orbit/serializers\", \"@orbit/records\", \"ember-orbit/-private/system/modules-of-type\"], function (_exports, _serializers, _records, _modulesOfType) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/serializers\",0,\"@ember/application\",0,\"@orbit/records\",0,\"ember-orbit/-private/system/modules-of-type\"eaimeta@70e063a35619d71f\n  function getRegisteredModels(prefix, modelsCollection) {\n    return (0, _modulesOfType.default)(prefix, modelsCollection).map(_serializers.camelize);\n  }\n  var _default = _exports.default = {\n    create(injections = {}) {\n      const app = Ember.getOwner(injections);\n      const orbitConfig = app.lookup('ember-orbit:config');\n      if (injections.models === undefined) {\n        let modelNames;\n        if (injections.modelNames) {\n          modelNames = injections.modelNames;\n          delete injections.modelNames;\n        } else {\n          modelNames = app.lookup('ember-orbit:model-names') ?? getRegisteredModels(app.base.modulePrefix, orbitConfig.collections.models);\n        }\n        injections.models = {};\n        for (const name of modelNames) {\n          const {\n            keys,\n            attributes,\n            relationships\n          } = app.factoryFor(`${orbitConfig.types.model}:${name}`).class;\n          injections.models[name] = {\n            keys,\n            attributes,\n            relationships\n          };\n        }\n      }\n      injections.version ??= orbitConfig.schemaVersion;\n      return new _records.RecordSchema(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/factories/store-factory\", [\"exports\", \"ember-orbit/-private/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"ember-orbit/-private/store\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    create(injections) {\n      const app = Ember.getOwner(injections);\n      const orbitConfig = app.lookup('ember-orbit:config');\n      injections.source = app.lookup(`${orbitConfig.types.source}:store`);\n      return _store.default.create(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/factories/validator-factory\", [\"exports\", \"@orbit/records\"], function (_exports, _records) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/records\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = {\n    create(injections) {\n      return (0, _records.buildRecordValidatorFor)(injections);\n    }\n  };\n});","define(\"ember-orbit/-private/fields/attr\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/utils/property-cache\", \"ember-orbit/-private/utils/model-definition\"], function (_exports, _core, _propertyCache, _modelDefinition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = attr;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"ember-orbit/-private/utils/property-cache\",0,\"ember-orbit/-private/utils/model-definition\"eaimeta@70e063a35619d71f\n  const {\n    assert\n  } = _core.Orbit;\n  function attr(typeOrDef, def) {\n    let attrDef;\n    if (typeof typeOrDef === 'string') {\n      attrDef = def ?? {};\n      attrDef.type = typeOrDef;\n    } else {\n      attrDef = typeOrDef ?? {};\n      assert('@attr can be defined with a `type` and `definition` object but not two `definition` objects', def === undefined);\n    }\n    return (target, property) => {\n      function get() {\n        assert(`The ${this.type} record has been removed from its cache, so we cannot lookup the ${property} attribute.`, this._cache !== undefined);\n        return (0, _propertyCache.getAttributeCache)(this, property).value;\n      }\n      function set(value) {\n        const oldValue = this.$getAttribute(property);\n        if (value !== oldValue) {\n          this.$replaceAttribute(property, value);\n          (0, _propertyCache.getAttributeCache)(this, property).value = value;\n        }\n      }\n      (0, _modelDefinition.defineAttribute)(target, property, attrDef);\n      return {\n        get,\n        set\n      };\n    };\n  }\n});","define(\"ember-orbit/-private/fields/has-many\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/utils/property-cache\", \"ember-orbit/-private/utils/model-definition\"], function (_exports, _core, _propertyCache, _modelDefinition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hasMany;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"ember-orbit/-private/utils/property-cache\",0,\"ember-orbit/-private/utils/model-definition\"eaimeta@70e063a35619d71f\n  const {\n    assert\n  } = _core.Orbit;\n  function hasMany(typeOrDef, def) {\n    let relDef;\n    if (typeof typeOrDef === 'string' || Array.isArray(typeOrDef)) {\n      relDef = def ?? {};\n      relDef.type = typeOrDef;\n    } else {\n      relDef = typeOrDef;\n      assert('@hasMany can be defined with a `type` and `definition` object but not two `definition` objects', def === undefined);\n      assert('@hasMany() requires a `type` argument.', relDef?.type !== undefined);\n    }\n    relDef.kind = 'hasMany';\n    return (target, property) => {\n      function get() {\n        assert(`The ${this.type} record has been removed from its cache, so we cannot lookup the ${property} hasMany relationship.`, this._cache !== undefined);\n        return (0, _propertyCache.getHasManyCache)(this, property).value;\n      }\n      (0, _modelDefinition.defineRelationship)(target, property, relDef);\n      return {\n        get\n      };\n    };\n  }\n});","define(\"ember-orbit/-private/fields/has-one\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/utils/property-cache\", \"ember-orbit/-private/utils/model-definition\"], function (_exports, _core, _propertyCache, _modelDefinition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hasOne;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"ember-orbit/-private/utils/property-cache\",0,\"ember-orbit/-private/utils/model-definition\"eaimeta@70e063a35619d71f\n  const {\n    assert\n  } = _core.Orbit;\n  function hasOne(typeOrDef, def) {\n    let relDef;\n    if (typeof typeOrDef === 'string' || Array.isArray(typeOrDef)) {\n      relDef = def ?? {};\n      relDef.type = typeOrDef;\n    } else {\n      relDef = typeOrDef;\n      assert('@hasOne can be defined with a `type` and `definition` object but not two `definition` objects', def === undefined);\n      assert('@hasOne() requires a `type` argument.', relDef?.type !== undefined);\n    }\n    relDef.kind = 'hasOne';\n    return (target, property) => {\n      function get() {\n        assert(`The ${this.type} record has been removed from its cache, so we cannot lookup the ${property} hasOne relationship.`, this._cache !== undefined);\n        return (0, _propertyCache.getHasOneCache)(this, property).value;\n      }\n      function set(value) {\n        const oldValue = this.$getRelatedRecord(property);\n        if (value !== oldValue) {\n          this.$replaceRelatedRecord(property, value);\n        }\n      }\n      (0, _modelDefinition.defineRelationship)(target, property, relDef);\n      return {\n        get,\n        set\n      };\n    };\n  }\n});","define(\"ember-orbit/-private/fields/key\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/utils/property-cache\", \"ember-orbit/-private/utils/model-definition\"], function (_exports, _core, _propertyCache, _modelDefinition) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = key;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"ember-orbit/-private/utils/property-cache\",0,\"ember-orbit/-private/utils/model-definition\"eaimeta@70e063a35619d71f\n  const {\n    assert\n  } = _core.Orbit;\n  function key(options = {}) {\n    return (target, property) => {\n      function get() {\n        assert(`The ${this.type} record has been removed from its cache, so we cannot lookup the ${property} key.`, this._cache !== undefined);\n        return (0, _propertyCache.getKeyCache)(this, property).value;\n      }\n      function set(value) {\n        const oldValue = this.$getKey(property);\n        if (value !== oldValue) {\n          this.$replaceKey(property, value);\n          (0, _propertyCache.getKeyCache)(this, property).value = value;\n        }\n      }\n      (0, _modelDefinition.defineKey)(target, property, options);\n      return {\n        get,\n        set\n      };\n    };\n  }\n});","define(\"ember-orbit/-private/live-query\", [\"exports\", \"@orbit/core\"], function (_exports, _core) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _query, _cache, _iteratorAccessed, _value;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"@glimmer/tracking\",0,\"@ember/object\",0,\"@ember/destroyable\",0,\"@glimmer/tracking/primitives/cache\"eaimeta@70e063a35619d71f\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 _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\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 {\n    assert,\n    deprecate\n  } = _core.Orbit;\n  let LiveQuery = _exports.default = (_dec = Ember._tracked, _class = (_query = /*#__PURE__*/new WeakMap(), _cache = /*#__PURE__*/new WeakMap(), _iteratorAccessed = /*#__PURE__*/new WeakMap(), _value = /*#__PURE__*/new WeakMap(), class LiveQuery {\n    constructor(settings) {\n      _classPrivateFieldInitSpec(this, _query, void 0);\n      _classPrivateFieldInitSpec(this, _cache, void 0);\n      _classPrivateFieldInitSpec(this, _iteratorAccessed, false);\n      _classPrivateFieldInitSpec(this, _value, Ember._createCache(() => {\n        this._invalidate;\n        return _classPrivateFieldGet(_cache, this).query(_classPrivateFieldGet(_query, this));\n      }));\n      _initializerDefineProperty(this, \"_invalidate\", _descriptor, this);\n      _classPrivateFieldSet(_query, this, settings.query);\n      _classPrivateFieldSet(_cache, this, settings.cache);\n      const unsubscribe = settings.liveQuery.subscribe(() => {\n        this._invalidate++;\n        if (_classPrivateFieldGet(_iteratorAccessed, this)) {\n          Ember.notifyPropertyChange(this, '[]');\n        }\n      });\n      Ember._registerDestructor(this, unsubscribe);\n      Ember._associateDestroyableChild(_classPrivateFieldGet(_cache, this), this);\n    }\n    get query() {\n      return _classPrivateFieldGet(_query, this);\n    }\n\n    /**\n     * @deprecated\n     */\n    get content() {\n      deprecate('LiveQuery#content is deprecated. Access LiveQuery#value instead.');\n      return this.value;\n    }\n    get value() {\n      return Ember._cacheGetValue(_classPrivateFieldGet(_value, this));\n    }\n    get length() {\n      return this.value.length;\n    }\n    [Symbol.iterator]() {\n      assert('LiveQuery result is not a collection. You can access the result as `liveQuery.value`.', Array.isArray(this.value));\n      _classPrivateFieldSet(_iteratorAccessed, this, true);\n      return this.value[Symbol.iterator]();\n    }\n    destroy() {\n      Ember.destroy(this);\n    }\n  }), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_invalidate\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _class);\n});","define(\"ember-orbit/-private/model-factory\", [\"exports\", \"@orbit/core\", \"@orbit/records\"], function (_exports, _core, _records) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"@ember/application\",0,\"@orbit/records\"eaimeta@70e063a35619d71f\n  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\n  const {\n    assert\n  } = _core.default;\n  var _cache = /*#__PURE__*/new WeakMap();\n  var _modelFactoryMap = /*#__PURE__*/new WeakMap();\n  class ModelFactory {\n    constructor(cache) {\n      _classPrivateFieldInitSpec(this, _cache, void 0);\n      _classPrivateFieldInitSpec(this, _modelFactoryMap, void 0);\n      _classPrivateFieldSet(_cache, this, cache);\n      _classPrivateFieldSet(_modelFactoryMap, this, {});\n    }\n    create(identity) {\n      const modelFactory = this.modelFactoryFor(identity.type);\n      return modelFactory.create({\n        identity: (0, _records.cloneRecordIdentity)(identity),\n        cache: _classPrivateFieldGet(_cache, this)\n      });\n    }\n    modelFactoryFor(type) {\n      let modelFactory = _classPrivateFieldGet(_modelFactoryMap, this)[type];\n      if (!modelFactory) {\n        let owner = Ember.getOwner(_classPrivateFieldGet(_cache, this));\n        let orbitConfig = owner.lookup('ember-orbit:config');\n        modelFactory = owner.factoryFor(`${orbitConfig.types.model}:${type}`);\n        assert(`An ember-orbit model for type ${type} has not been registered.`, modelFactory !== undefined);\n        _classPrivateFieldGet(_modelFactoryMap, this)[type] = modelFactory;\n      }\n      return modelFactory;\n    }\n  }\n  _exports.default = ModelFactory;\n});","define(\"ember-orbit/-private/model\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/utils/model-definition\", \"ember-orbit/-private/utils/property-cache\"], function (_exports, _core, _modelDefinition, _propertyCache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _descriptor, _identity;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"@ember/destroyable\",0,\"@glimmer/tracking\",0,\"ember-orbit/-private/utils/model-definition\",0,\"ember-orbit/-private/utils/property-cache\"eaimeta@70e063a35619d71f\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 _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\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 _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\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 {\n    assert,\n    deprecate\n  } = _core.Orbit;\n  let Model = _exports.default = (_dec = Ember._tracked, _class = (_identity = /*#__PURE__*/new WeakMap(), class Model {\n    constructor(settings) {\n      _initializerDefineProperty(this, \"_isDisconnected\", _descriptor, this);\n      _defineProperty(this, \"_cache\", void 0);\n      _classPrivateFieldInitSpec(this, _identity, void 0);\n      const {\n        cache,\n        identity\n      } = settings;\n      assert('Model must be initialized with a cache', cache !== undefined);\n      this._cache = cache;\n      _classPrivateFieldSet(_identity, this, identity);\n      Ember._associateDestroyableChild(cache, this);\n      Ember._registerDestructor(this, record => cache.unload(record));\n    }\n    get identity() {\n      deprecate('`Model#identity` is deprecated to avoid potential conflicts with field names. Access `$identity` instead.');\n      return _classPrivateFieldGet(_identity, this);\n    }\n    get $identity() {\n      return _classPrivateFieldGet(_identity, this);\n    }\n    get id() {\n      return _classPrivateFieldGet(_identity, this).id;\n    }\n    get type() {\n      return _classPrivateFieldGet(_identity, this).type;\n    }\n    get disconnected() {\n      deprecate('`Model#disconnected` is deprecated to avoid potential conflicts with field names. Access `$isDisconnected` instead.');\n      return this.$isDisconnected;\n    }\n    get $isDisconnected() {\n      return this._isDisconnected;\n    }\n\n    /**\n     * @deprecated\n     */\n    getData() {\n      deprecate('`Model#getData` is deprecated to avoid potential conflicts with field names. Call `$getData` instead.');\n      return this.$getData();\n    }\n    $getData() {\n      return this.$cache.getRecordData(this.type, this.id);\n    }\n\n    /**\n     * @deprecated\n     */\n    getKey(field) {\n      deprecate('`Model#getKey` is deprecated to avoid potential conflicts with field names. Call `$getKey` instead.');\n      return this.$getKey(field);\n    }\n    $getKey(field) {\n      return this.$getData()?.keys?.[field];\n    }\n\n    /**\n     * @deprecated\n     */\n    replaceKey(key, value, options) {\n      deprecate('`Model#replaceKey` is deprecated to avoid potential conflicts with field names. Call `$replaceKey` instead.');\n      this.$replaceKey(key, value, options);\n    }\n    $replaceKey(key, value, options) {\n      this.$cache.update(t => t.replaceKey(_classPrivateFieldGet(_identity, this), key, value), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    getAttribute(attribute) {\n      deprecate('`Model#getAttribute` is deprecated to avoid potential conflicts with field names. Call `$getAttribute` instead.');\n      return this.$getAttribute(attribute);\n    }\n    $getAttribute(attribute) {\n      return this.$getData()?.attributes?.[attribute];\n    }\n\n    /**\n     * @deprecated\n     */\n    replaceAttribute(attribute, value, options) {\n      deprecate('`Model#replaceAttribute` is deprecated to avoid potential conflicts with field names. Call `$replaceAttribute` instead.');\n      this.$replaceAttribute(attribute, value, options);\n    }\n    $replaceAttribute(attribute, value, options) {\n      this.$cache.update(t => t.replaceAttribute(_classPrivateFieldGet(_identity, this), attribute, value), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    getRelatedRecord(relationship) {\n      deprecate('`Model#getRelatedRecord` is deprecated to avoid potential conflicts with field names. Call `$getRelatedRecord` instead.');\n      return this.$getRelatedRecord(relationship);\n    }\n    $getRelatedRecord(relationship) {\n      const cache = this.$cache;\n      const relatedRecord = cache.sourceCache.getRelatedRecordSync(_classPrivateFieldGet(_identity, this), relationship);\n      if (relatedRecord) {\n        return cache.lookup(relatedRecord);\n      } else {\n        return relatedRecord;\n      }\n    }\n\n    /**\n     * @deprecated\n     */\n    replaceRelatedRecord(relationship, relatedRecord, options) {\n      deprecate('`Model#replaceRelatedRecord` is deprecated to avoid potential conflicts with field names. Call `$replaceRelatedRecord` instead.');\n      this.$replaceRelatedRecord(relationship, relatedRecord, options);\n    }\n    $replaceRelatedRecord(relationship, relatedRecord, options) {\n      this.$cache.update(t => t.replaceRelatedRecord(_classPrivateFieldGet(_identity, this), relationship, relatedRecord ? relatedRecord.$identity : null), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    getRelatedRecords(relationship) {\n      deprecate('`Model#getRelatedRecords` is deprecated to avoid potential conflicts with field names. Call `$getRelatedRecords` instead.');\n      return this.$getRelatedRecords(relationship);\n    }\n    $getRelatedRecords(relationship) {\n      const cache = this.$cache;\n      const relatedRecords = cache.sourceCache.getRelatedRecordsSync(_classPrivateFieldGet(_identity, this), relationship);\n      if (relatedRecords) {\n        return relatedRecords.map(r => cache.lookup(r));\n      } else {\n        return undefined;\n      }\n    }\n\n    /**\n     * @deprecated\n     */\n    addToRelatedRecords(relationship, record, options) {\n      deprecate('`Model#addToRelatedRecords` is deprecated to avoid potential conflicts with field names. Call `$addToRelatedRecords` instead.');\n      this.$addToRelatedRecords(relationship, record, options);\n    }\n    $addToRelatedRecords(relationship, record, options) {\n      this.$cache.update(t => t.addToRelatedRecords(_classPrivateFieldGet(_identity, this), relationship, record.$identity), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    removeFromRelatedRecords(relationship, record, options) {\n      deprecate('`Model#removeFromRelatedRecords` is deprecated to avoid potential conflicts with field names. Call `$removeFromRelatedRecords` instead.');\n      this.$removeFromRelatedRecords(relationship, record, options);\n    }\n    $removeFromRelatedRecords(relationship, record, options) {\n      this.$cache.update(t => t.removeFromRelatedRecords(_classPrivateFieldGet(_identity, this), relationship, record.$identity), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    replaceAttributes(properties, options) {\n      deprecate('`Model#replaceAttributes` is deprecated. Call `$update` instead (with the same arguments).');\n      this.$update(properties, options);\n    }\n\n    /**\n     * @deprecated\n     */\n    update(properties, options) {\n      deprecate('`Model#update` is deprecated to avoid potential conflicts with field names. Call `$update` instead.');\n      this.$update(properties, options);\n    }\n    $update(properties, options) {\n      this.$cache.update(t => t.updateRecord({\n        ...properties,\n        ..._classPrivateFieldGet(_identity, this)\n      }), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    remove(options) {\n      deprecate('`Model#remove` is deprecated to avoid potential conflicts with field names. Call `$remove` instead.');\n      this.$remove(options);\n    }\n    $remove(options) {\n      this.$cache.update(t => t.removeRecord(_classPrivateFieldGet(_identity, this)), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    disconnect() {\n      deprecate('`Model#disconnect` is deprecated to avoid potential conflicts with field names. Call `$disconnect` instead.');\n      this.$disconnect();\n    }\n    $disconnect() {\n      this._cache = undefined;\n      this._isDisconnected = true;\n    }\n\n    /**\n     * @deprecated\n     */\n    destroy() {\n      deprecate('`Model#destroy` is deprecated to avoid potential conflicts with field names. Call `$destroy` instead.');\n      this.$destroy();\n    }\n    $destroy() {\n      Ember.destroy(this);\n    }\n\n    /**\n     * @deprecated\n     */\n    notifyPropertyChange(key) {\n      deprecate('`Model#notifyPropertyChange` is deprecated to avoid potential conflicts with field names. Call `$notifyPropertyChange` instead.');\n      this.$notifyPropertyChange(key);\n    }\n    $notifyPropertyChange(key) {\n      (0, _propertyCache.notifyPropertyChange)(this, key);\n    }\n    get $cache() {\n      if (this._cache === undefined) {\n        throw new _core.Assertion('Record has been disconnected from its cache.');\n      }\n      return this._cache;\n    }\n    static get definition() {\n      return (0, _modelDefinition.getModelDefinition)(this.prototype);\n    }\n    static get keys() {\n      return (0, _modelDefinition.getModelDefinition)(this.prototype).keys ?? {};\n    }\n    static get attributes() {\n      return (0, _modelDefinition.getModelDefinition)(this.prototype).attributes ?? {};\n    }\n    static get relationships() {\n      return (0, _modelDefinition.getModelDefinition)(this.prototype).relationships ?? {};\n    }\n    static create(injections) {\n      const {\n        identity,\n        cache,\n        ...otherInjections\n      } = injections;\n      const record = new this({\n        identity,\n        cache\n      });\n      return Object.assign(record, otherInjections);\n    }\n  }), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_isDisconnected\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _class);\n});","define(\"ember-orbit/-private/store\", [\"exports\", \"@orbit/core\", \"@orbit/data\", \"ember-orbit/-private/cache\"], function (_exports, _core, _data, _cache2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\",0,\"@ember/destroyable\",0,\"@orbit/core\",0,\"@orbit/data\",0,\"ember-orbit/-private/cache\"eaimeta@70e063a35619d71f\n  function _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\n  function _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\n  const {\n    assert,\n    deprecate\n  } = _core.Orbit;\n  var _source = /*#__PURE__*/new WeakMap();\n  var _cache = /*#__PURE__*/new WeakMap();\n  var _base = /*#__PURE__*/new WeakMap();\n  /**\n   * @class Store\n   */\n  class Store {\n    static create(injections) {\n      return new this(injections);\n    }\n    constructor(settings) {\n      _classPrivateFieldInitSpec(this, _source, void 0);\n      _classPrivateFieldInitSpec(this, _cache, void 0);\n      _classPrivateFieldInitSpec(this, _base, void 0);\n      _classPrivateFieldSet(_source, this, settings.source);\n      _classPrivateFieldSet(_base, this, settings.base);\n      const owner = Ember.getOwner(settings);\n      Ember.setOwner(this, owner);\n      const cacheSettings = {\n        sourceCache: this.source.cache,\n        store: this\n      };\n      Ember.setOwner(cacheSettings, owner);\n      _classPrivateFieldSet(_cache, this, new _cache2.default(cacheSettings));\n      if (_classPrivateFieldGet(_base, this)) {\n        Ember._associateDestroyableChild(_classPrivateFieldGet(_base, this), this);\n      }\n      Ember._associateDestroyableChild(this, _classPrivateFieldGet(_cache, this));\n    }\n    destroy() {\n      Ember.destroy(this);\n    }\n    get source() {\n      return _classPrivateFieldGet(_source, this);\n    }\n    get cache() {\n      return _classPrivateFieldGet(_cache, this);\n    }\n    get keyMap() {\n      return this.source.keyMap;\n    }\n    get schema() {\n      return this.source.schema;\n    }\n    get queryBuilder() {\n      return this.source.queryBuilder;\n    }\n    get transformBuilder() {\n      return this.source.transformBuilder;\n    }\n    get validatorFor() {\n      return _classPrivateFieldGet(_source, this).validatorFor;\n    }\n    get defaultQueryOptions() {\n      return this.source.defaultQueryOptions;\n    }\n    set defaultQueryOptions(options) {\n      this.source.defaultQueryOptions = options;\n    }\n    get defaultTransformOptions() {\n      return this.source.defaultTransformOptions;\n    }\n    set defaultTransformOptions(options) {\n      this.source.defaultTransformOptions = options;\n    }\n    get transformLog() {\n      return this.source.transformLog;\n    }\n    get requestQueue() {\n      return this.source.requestQueue;\n    }\n    get syncQueue() {\n      return this.source.syncQueue;\n    }\n\n    /**\n     * @deprecated use `isForked` instead\n     */\n    get forked() {\n      deprecate('Store#forked is deprecated. Access `isForked` instead.');\n      return this.isForked;\n    }\n    get isForked() {\n      return this.source.base !== undefined;\n    }\n    get base() {\n      return _classPrivateFieldGet(_base, this);\n    }\n    fork(settings = {}) {\n      settings.cacheSettings ??= {};\n      settings.cacheSettings.debounceLiveQueries ??= false;\n      const forkedSource = this.source.fork(settings);\n      const injections = Ember.getOwner(this).ownerInjection();\n      return new Store({\n        ...injections,\n        source: forkedSource,\n        base: this\n      });\n    }\n    async merge(forkedStore, options) {\n      if (options?.fullResponse) {\n        let response = await this.source.merge(forkedStore.source, options);\n        if (response.data !== undefined) {\n          const data = this.cache._lookupTransformResult(response.data, true // merge results should ALWAYS be an array\n          );\n          response = {\n            ...response,\n            data\n          };\n        }\n        return response;\n      } else {\n        let response = await this.source.merge(forkedStore.source, options);\n        if (response !== undefined) {\n          response = this.cache._lookupTransformResult(response, true // merge results should ALWAYS be an array\n          );\n        }\n        return response;\n      }\n    }\n    rollback(transformId, relativePosition) {\n      return this.source.rollback(transformId, relativePosition);\n    }\n    rebase() {\n      this.source.rebase();\n    }\n    reset() {\n      return this.source.reset();\n    }\n\n    /**\n     * @deprecated\n     */\n    async liveQuery(queryOrExpressions, options, id) {\n      deprecate('Store#liveQuery is deprecated. Call `let lq = store.cache.liveQuery(query)` instead. If you want to await the same query on the store, call `await store.query(lq.query);');\n      const query = (0, _data.buildQuery)(queryOrExpressions, options, id, this.source.queryBuilder);\n      await this.source.query(query);\n      return this.cache.liveQuery(query);\n    }\n    async query(queryOrExpressions, options, id) {\n      const query = (0, _data.buildQuery)(queryOrExpressions, options, id, this.source.queryBuilder);\n      if (options?.fullResponse) {\n        const response = await this.source.query(query, {\n          fullResponse: true\n        });\n        return {\n          ...response,\n          data: this.cache._lookupQueryResult(response.data, Array.isArray(query.expressions))\n        };\n      } else {\n        const response = await this.source.query(query);\n        const data = this.cache._lookupQueryResult(response, Array.isArray(query.expressions));\n        return data;\n      }\n    }\n\n    /**\n     * Adds a record\n     */\n    async addRecord(properties, options) {\n      assert('Store#addRecord does not support the `fullResponse` option. Call `store.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      return await this.update(t => t.addRecord(properties), options);\n    }\n\n    /**\n     * Updates a record\n     */\n    async updateRecord(properties, options) {\n      assert('Store#updateRecord does not support the `fullResponse` option. Call `store.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      return await this.update(t => t.updateRecord(properties), options);\n    }\n\n    /**\n     * Updates a record's fields. Distinct from updateRecord in that updateRecordFields takes a record identity as a separate argument\n     * from the fields to update.\n     */\n    async updateRecordFields(identity, fields, options) {\n      assert('Store#updateRecordFields does not support the `fullResponse` option. Call `store.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      const {\n        type,\n        id\n      } = this.transformBuilder.$normalizeRecordIdentity(identity);\n      const properties = {\n        type,\n        id,\n        ...fields\n      };\n      return await this.update(t => t.updateRecord(properties), options);\n    }\n\n    /**\n     * Removes a record\n     */\n    async removeRecord(identity, options) {\n      assert('Store#removeRecord does not support the `fullResponse` option. Call `store.update(..., { fullResponse: true })` instead.', options?.fullResponse === undefined);\n      await this.update(t => t.removeRecord(identity), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    find(type, id, options) {\n      deprecate('Store#find is deprecated. Call `store.findRecords(type)`, `store.findRecord(type, id)`, or `store.query(...)` instead.');\n      if (id === undefined) {\n        return this.findRecords(type, options);\n      } else {\n        return this.findRecord(type, id, options);\n      }\n    }\n    async findRecord(typeOrIdentity, idOrOptions, options) {\n      if (options?.fullResponse) {\n        delete options.fullResponse;\n      }\n      let identity;\n      let queryOptions;\n      if (typeof typeOrIdentity === 'string') {\n        if (typeof idOrOptions === 'string') {\n          identity = {\n            type: typeOrIdentity,\n            id: idOrOptions\n          };\n          queryOptions = options;\n        } else {\n          throw new _core.Assertion('Store#findRecord may be called with either `type` and `id` strings OR a single `identity` object.');\n        }\n      } else {\n        identity = typeOrIdentity;\n        queryOptions = idOrOptions;\n      }\n      return await this.query(q => q.findRecord(identity), queryOptions);\n    }\n    async findRecords(typeOrIdentities, options) {\n      if (options?.fullResponse) {\n        delete options.fullResponse;\n      }\n      return await this.query(q => q.findRecords(typeOrIdentities), options);\n    }\n\n    /**\n     * @deprecated\n     */\n    async findRecordByKey(type, key, value, options) {\n      deprecate('Store#findRecordByKey is deprecated. Instead of `store.findRecordByKey(type, key, value)`, call `store.findRecord({ type, key, value })` or `store.query(...)`.');\n      return this.findRecord({\n        type,\n        key,\n        value\n      }, options);\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecord(type, id) {\n      deprecate('Store#peekRecord is deprecated. Instead of `store.peekRecord(type, id)`, call `store.cache.findRecord(type, id)` or `store.cache.query(...)`.');\n      return this.cache.findRecord(type, id);\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecords(type) {\n      deprecate('Store#peekRecords is deprecated. Instead of `store.peekRecords(type)`, call `store.cache.findRecords(type)` or `store.cache.query(...)`.');\n      return this.cache.findRecords(type);\n    }\n\n    /**\n     * @deprecated\n     */\n    peekRecordByKey(type, key, value) {\n      deprecate('Store#peekRecordByKey is deprecated. Instead of `store.peekRecordByKey(type, key, value)`, call `store.cache.findRecord({ type, key, value })` or `store.cache.query(...)`.');\n      return this.cache.findRecord({\n        type,\n        key,\n        value\n      });\n    }\n    on(event, listener) {\n      this.source.on(event, listener);\n    }\n    off(event, listener) {\n      this.source.off(event, listener);\n    }\n    one(event, listener) {\n      this.source.one(event, listener);\n    }\n    async sync(transformOrTransforms) {\n      await this.source.sync(transformOrTransforms);\n    }\n    async update(transformOrOperations, options, id) {\n      const transform = (0, _data.buildTransform)(transformOrOperations, options, id, this.source.transformBuilder);\n      if (options?.fullResponse) {\n        let response = await this.source.update(transform, {\n          fullResponse: true\n        });\n        if (response.data !== undefined) {\n          const data = this.cache._lookupTransformResult(response.data, Array.isArray(transform.operations));\n          response = {\n            ...response,\n            data\n          };\n        }\n        return response;\n      } else {\n        let response = await this.source.update(transform);\n        if (response !== undefined) {\n          response = this.cache._lookupTransformResult(response, Array.isArray(transform.operations));\n        }\n        return response;\n      }\n    }\n    transformsSince(transformId) {\n      deprecate('`Store#transformsSince` is deprecated. Call `getTransformsSince` instead.');\n      return this.getTransformsSince(transformId);\n    }\n    getTransformsSince(transformId) {\n      return this.source.getTransformsSince(transformId);\n    }\n    allTransforms() {\n      deprecate('`Store#allTransforms` is deprecated. Call `getAllTransforms` instead.');\n      return this.getAllTransforms();\n    }\n    getAllTransforms() {\n      return this.source.getAllTransforms();\n    }\n    getTransform(transformId) {\n      return this.source.getTransform(transformId);\n    }\n    getInverseOperations(transformId) {\n      return this.source.getInverseOperations(transformId);\n    }\n  }\n  _exports.default = Store;\n});","define(\"ember-orbit/-private/system/modules-of-type\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  /* eslint-disable no-useless-escape */\n  /**\n   * Retrieves modules registered by type in the namespace of an Application or\n   * Engine.\n   *\n   * This resolution process is inefficient and should be revisited when more\n   * discovery capabilities are added to the ember-resolver.\n   */\n  function _default(prefix, type) {\n    const regex = new RegExp(`^${prefix}/${type}/?/`);\n    const moduleNames = Object.keys(self.requirejs._eak_seen);\n    const found = [];\n    for (const moduleName of moduleNames) {\n      const matches = regex.exec(moduleName);\n      if (matches && matches.length === 1) {\n        const matchedName = moduleName.match(/[^\\/]+\\/?$/);\n        if (matchedName?.[0]) {\n          found.push(matchedName[0]);\n        }\n      }\n    }\n    return found;\n  }\n});","define(\"ember-orbit/-private/utils/model-aware-normalizer\", [\"exports\", \"@orbit/records\", \"ember-orbit\", \"ember-orbit/-private/utils/model-fields\"], function (_exports, _records, _emberOrbit, _modelFields) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ModelAwareNormalizer = void 0;\n  _exports.isStandardRecord = isStandardRecord;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/records\",0,\"ember-orbit\",0,\"ember-orbit/-private/utils/model-fields\"eaimeta@70e063a35619d71f\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 isStandardRecord(data) {\n    return data.attributes !== null && typeof data.attributes === 'object' || data.keys !== null && typeof data.keys === 'object' || data.relationships !== null && typeof data.relationships === 'object';\n  }\n  class ModelAwareNormalizer {\n    constructor(settings) {\n      _defineProperty(this, \"_normalizer\", void 0);\n      this._normalizer = new _records.StandardRecordNormalizer(settings);\n    }\n    get keyMap() {\n      return this._normalizer.keyMap;\n    }\n    get schema() {\n      return this._normalizer.schema;\n    }\n    normalizeRecordType(type) {\n      return this._normalizer.normalizeRecordType(type);\n    }\n    normalizeRecordIdentity(identity) {\n      if (identity instanceof _emberOrbit.Model) {\n        return identity.$identity;\n      } else {\n        return this._normalizer.normalizeRecordIdentity(identity);\n      }\n    }\n    normalizeRecord(record) {\n      if (record instanceof _emberOrbit.Model) {\n        let data = record.$getData();\n        if (data === undefined) {\n          throw new Error('Model is no longer in the cache');\n        } else {\n          return data;\n        }\n      }\n      let uninitializedRecord = isStandardRecord(record) ? record : (0, _modelFields.normalizeModelFields)(this._normalizer.schema, record);\n      return this._normalizer.normalizeRecord(uninitializedRecord);\n    }\n  }\n  _exports.ModelAwareNormalizer = ModelAwareNormalizer;\n});","define(\"ember-orbit/-private/utils/model-aware-types\", [\"exports\", \"@orbit/records\"], function (_exports, _records) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ModelAwareTransformBuilder = _exports.ModelAwareQueryBuilder = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/records\"eaimeta@70e063a35619d71f\n  class ModelAwareTransformBuilder extends _records.RecordTransformBuilder {}\n  _exports.ModelAwareTransformBuilder = ModelAwareTransformBuilder;\n  class ModelAwareQueryBuilder extends _records.RecordQueryBuilder {}\n  _exports.ModelAwareQueryBuilder = ModelAwareQueryBuilder;\n});","define(\"ember-orbit/-private/utils/model-definition\", [\"exports\", \"@orbit/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.defineAttribute = defineAttribute;\n  _exports.defineKey = defineKey;\n  _exports.defineRelationship = defineRelationship;\n  _exports.extendModelDefinition = extendModelDefinition;\n  _exports.getModelDefinition = getModelDefinition;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/utils\"eaimeta@70e063a35619d71f\n  const MODEL_DEFINITION = Symbol('@orbit:modelDefinition');\n  const MODEL_DEFINITION_FOR = Symbol('@orbit:modelDefinitionFor');\n  function getModelDefinition(proto) {\n    if (proto[MODEL_DEFINITION]) {\n      return proto[MODEL_DEFINITION];\n    } else {\n      proto[MODEL_DEFINITION] = {};\n      return proto[MODEL_DEFINITION];\n    }\n  }\n  function extendModelDefinition(proto, modelDefinition) {\n    if (proto[MODEL_DEFINITION] && proto[MODEL_DEFINITION_FOR]) {\n      let currentDef = proto[MODEL_DEFINITION];\n      if (proto[MODEL_DEFINITION_FOR] !== proto) {\n        currentDef = (0, _utils.clone)(currentDef);\n        proto[MODEL_DEFINITION_FOR] = proto;\n      }\n      proto[MODEL_DEFINITION] = (0, _utils.deepMerge)(currentDef, modelDefinition);\n    } else {\n      proto[MODEL_DEFINITION] = modelDefinition;\n      proto[MODEL_DEFINITION_FOR] = proto;\n    }\n  }\n  function defineAttribute(proto, name, options) {\n    extendModelDefinition(proto, {\n      attributes: {\n        [name]: options\n      }\n    });\n  }\n  function defineKey(proto, name, options) {\n    extendModelDefinition(proto, {\n      keys: {\n        [name]: options\n      }\n    });\n  }\n  function defineRelationship(proto, name, options) {\n    extendModelDefinition(proto, {\n      relationships: {\n        [name]: options\n      }\n    });\n  }\n});","define(\"ember-orbit/-private/utils/model-fields\", [\"exports\", \"@orbit/core\", \"@orbit/utils\"], function (_exports, _core, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.normalizeModelFields = normalizeModelFields;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"@orbit/utils\"eaimeta@70e063a35619d71f\n  const {\n    assert\n  } = _core.Orbit;\n  function normalizeModelFields(schema, properties) {\n    const {\n      id,\n      type\n    } = properties;\n    const modelDefinition = schema.getModel(type);\n    const record = {\n      id,\n      type\n    };\n    assignKeys(modelDefinition, record, properties);\n    assignAttributes(modelDefinition, record, properties);\n    assignRelationships(modelDefinition, record, properties);\n    return record;\n  }\n  function assignKeys(modelDefinition, record, properties) {\n    const keyDefs = modelDefinition.keys;\n    if (keyDefs) {\n      for (let key of Object.keys(keyDefs)) {\n        if (properties[key] !== undefined) {\n          (0, _utils.deepSet)(record, ['keys', key], properties[key]);\n        }\n      }\n    }\n  }\n  function assignAttributes(modelDefinition, record, properties) {\n    const attributeDefs = modelDefinition.attributes;\n    if (attributeDefs) {\n      for (let attribute of Object.keys(attributeDefs)) {\n        if (properties[attribute] !== undefined) {\n          (0, _utils.deepSet)(record, ['attributes', attribute], properties[attribute]);\n        }\n      }\n    }\n  }\n  function assignRelationships(modelDefinition, record, properties) {\n    const relationshipDefs = modelDefinition.relationships;\n    if (relationshipDefs) {\n      for (let relationship of Object.keys(relationshipDefs)) {\n        if (properties[relationship] !== undefined) {\n          let relationshipDef = relationshipDefs[relationship];\n          let relationshipType = relationshipDef.type;\n          let relationshipProperties = properties[relationship];\n          (0, _utils.deepSet)(record, ['relationships', relationship], normalizeRelationship(relationshipType, relationshipProperties));\n        }\n      }\n    }\n  }\n  function normalizeRelationship(type, value) {\n    const relationship = {};\n    const isPolymorphic = Array.isArray(type);\n    if (isHasMany(value)) {\n      relationship.data = [];\n      for (let identity of value) {\n        if (typeof identity === 'string') {\n          assert('The hasMany relationship is polymorphic, so string[] will not work as a value. RecordIdentity[] must be provided for type information.', !isPolymorphic);\n          relationship.data.push({\n            type: type,\n            id: identity\n          });\n        } else {\n          relationship.data.push({\n            type: identity.type,\n            id: identity.id\n          });\n        }\n      }\n    } else if (value === null) {\n      relationship.data = null;\n    } else if (typeof value === 'string') {\n      assert('The relationship is polymorphic, so string will not work as a value. RecordIdentity must be provided for type information.', !isPolymorphic);\n      relationship.data = {\n        type: type,\n        id: value\n      };\n    } else {\n      relationship.data = {\n        type: value.type,\n        id: value.id\n      };\n    }\n    return relationship;\n  }\n  function isHasMany(value) {\n    return Array.isArray(value);\n  }\n});","define(\"ember-orbit/-private/utils/property-cache\", [\"exports\", \"@orbit/core\"], function (_exports, _core) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.PropertyCache = void 0;\n  _exports.getAttributeCache = getAttributeCache;\n  _exports.getHasManyCache = getHasManyCache;\n  _exports.getHasOneCache = getHasOneCache;\n  _exports.getKeyCache = getKeyCache;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  var _dec, _class, _descriptor, _value, _getter;\n  0; //eaimeta@70e063a35619d71f0,\"@glimmer/tracking\",0,\"@glimmer/tracking/primitives/cache\",0,\"@orbit/core\",0,\"@glimmer/env\",0,\"@ember/object\"eaimeta@70e063a35619d71f\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 _classPrivateFieldInitSpec(e, t, a) { _checkPrivateRedeclaration(e, t), t.set(e, a); }\n  function _checkPrivateRedeclaration(e, t) { if (t.has(e)) throw new TypeError(\"Cannot initialize the same private elements twice on an object\"); }\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 _classPrivateFieldGet(s, a) { return s.get(_assertClassBrand(s, a)); }\n  function _classPrivateFieldSet(s, a, r) { return s.set(_assertClassBrand(s, a), r), r; }\n  function _assertClassBrand(e, t, n) { if (\"function\" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n; throw new TypeError(\"Private element is not present on this object\"); }\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 {\n    deprecate\n  } = _core.Orbit;\n  const values = new WeakMap();\n  const caches = new WeakMap();\n  let PropertyCache = _exports.PropertyCache = (_dec = Ember._tracked, _class = (_value = /*#__PURE__*/new WeakMap(), _getter = /*#__PURE__*/new WeakMap(), class PropertyCache {\n    constructor(getter) {\n      _initializerDefineProperty(this, \"invalidate\", _descriptor, this);\n      _classPrivateFieldInitSpec(this, _value, void 0);\n      _classPrivateFieldInitSpec(this, _getter, void 0);\n      _classPrivateFieldSet(_getter, this, getter);\n      _classPrivateFieldSet(_value, this, Ember._createCache(() => {\n        this.invalidate;\n        if (values.has(this)) {\n          return values.get(this);\n        }\n        return _classPrivateFieldGet(_getter, this).call(this);\n      }));\n    }\n    get value() {\n      return Ember._cacheGetValue(_classPrivateFieldGet(_value, this));\n    }\n    set value(value) {\n      values.set(this, value);\n      this.invalidate++;\n    }\n    notifyPropertyChange() {\n      values.delete(this);\n      this.invalidate++;\n    }\n  }), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"invalidate\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _class);\n  function notifyPropertyChange(record, property) {\n    caches.get(record)?.[property]?.notifyPropertyChange();\n\n    // TODO: there is an issue with glimmer cache and ember CP macros\n    // https://github.com/ember-polyfills/ember-cache-primitive-polyfill/issues/78\n    // in order to fix it for now we are calling Ember.notifyPropertyChange();\n    Ember.notifyPropertyChange(record, property);\n  }\n  function getKeyCache(record, property) {\n    let recordCaches = caches.get(record);\n    if (recordCaches === undefined) {\n      recordCaches = {};\n      caches.set(record, recordCaches);\n    }\n    let propertyCache = recordCaches[property];\n    if (propertyCache === undefined) {\n      propertyCache = recordCaches[property] = new PropertyCache(() => record.$getKey(property));\n    }\n    return propertyCache;\n  }\n  function getAttributeCache(record, property) {\n    let recordCaches = caches.get(record);\n    if (recordCaches === undefined) {\n      recordCaches = {};\n      caches.set(record, recordCaches);\n    }\n    let propertyCache = recordCaches[property];\n    if (propertyCache === undefined) {\n      propertyCache = recordCaches[property] = new PropertyCache(() => record.$getAttribute(property));\n    }\n    return propertyCache;\n  }\n  function getHasOneCache(record, property) {\n    let recordCaches = caches.get(record);\n    if (recordCaches === undefined) {\n      recordCaches = {};\n      caches.set(record, recordCaches);\n    }\n    let propertyCache = recordCaches[property];\n    if (propertyCache === undefined) {\n      propertyCache = recordCaches[property] = new PropertyCache(() => record.$getRelatedRecord(property));\n    }\n    return propertyCache;\n  }\n  function getHasManyCache(record, property) {\n    let recordCaches = caches.get(record);\n    if (recordCaches === undefined) {\n      recordCaches = {};\n      caches.set(record, recordCaches);\n    }\n    let propertyCache = recordCaches[property];\n    if (propertyCache === undefined) {\n      propertyCache = recordCaches[property] = new PropertyCache(() => addLegacyMutationMethods(record, property, record.$getRelatedRecords(property) ?? []));\n    }\n    return propertyCache;\n  }\n  function addLegacyMutationMethods(owner, relationship, records) {\n    if (true /* DEBUG */) {\n      records = [...records];\n    }\n    Object.defineProperties(records, {\n      pushObject: {\n        value: record => {\n          deprecate('pushObject(record) is deprecated. Use record.addToRelatedRecords(relationship, record)');\n          owner.$addToRelatedRecords(relationship, record);\n        }\n      },\n      removeObject: {\n        value: record => {\n          deprecate('removeObject(record) is deprecated. Use record.removeFromRelatedRecords(relationship, record)');\n          owner.$removeFromRelatedRecords(relationship, record);\n        }\n      }\n    });\n    if (true /* DEBUG */) {\n      return Object.freeze(records);\n    }\n    return records;\n  }\n});","define(\"ember-orbit/-private/utils/record-identity-serializer\", [\"exports\", \"@orbit/records\"], function (_exports, _records) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.RecordIdentitySerializer = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/records\"eaimeta@70e063a35619d71f\n  class RecordIdentitySerializer {\n    serialize(identity) {\n      return (0, _records.serializeRecordIdentity)(identity);\n    }\n    deserialize(identifier) {\n      return (0, _records.deserializeRecordIdentity)(identifier);\n    }\n  }\n  _exports.RecordIdentitySerializer = RecordIdentitySerializer;\n  const recordIdentitySerializer = new RecordIdentitySerializer();\n  var _default = _exports.default = recordIdentitySerializer;\n});","define(\"ember-orbit/-private/utils/standard-injections\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.applyStandardSourceInjections = applyStandardSourceInjections;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/application\"eaimeta@70e063a35619d71f\n  function applyStandardSourceInjections(injections) {\n    const app = Ember.getOwner(injections);\n    const orbitConfig = app.lookup('ember-orbit:config');\n    if (!orbitConfig.skipSchemaService) {\n      injections.schema = app.lookup(`service:${orbitConfig.services.schema}`);\n    }\n    if (!orbitConfig.skipBucketService) {\n      injections.bucket = app.lookup(`service:${orbitConfig.services.bucket}`);\n    }\n    if (!orbitConfig.skipKeyMapService) {\n      injections.keyMap = app.lookup(`service:${orbitConfig.services.keyMap}`);\n    }\n    if (!orbitConfig.skipNormalizerService) {\n      injections.normalizer = app.lookup(`service:${orbitConfig.services.normalizer}`);\n    }\n    if (orbitConfig.skipValidatorService) {\n      injections.autoValidate = false;\n    } else {\n      injections.validatorFor = app.lookup(`service:${orbitConfig.services.validator}`);\n    }\n  }\n});","define(\"ember-orbit/index\", [\"exports\", \"ember-orbit/-private/factories/coordinator-factory\", \"ember-orbit/-private/factories/key-map-factory\", \"ember-orbit/-private/factories/schema-factory\", \"ember-orbit/-private/factories/memory-source-factory\", \"ember-orbit/-private/fields/attr\", \"ember-orbit/-private/fields/has-many\", \"ember-orbit/-private/fields/has-one\", \"ember-orbit/-private/fields/key\", \"ember-orbit/-private/utils/standard-injections\", \"ember-orbit/-private/cache\", \"ember-orbit/-private/model\", \"ember-orbit/-private/store\", \"ember-orbit/-private/live-query\"], function (_exports, _coordinatorFactory, _keyMapFactory, _schemaFactory, _memorySourceFactory, _attr, _hasMany, _hasOne, _key, _standardInjections, _cache, _model, _store, _liveQuery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Cache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoordinatorFactory\", {\n    enumerable: true,\n    get: function () {\n      return _coordinatorFactory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"KeyMapFactory\", {\n    enumerable: true,\n    get: function () {\n      return _keyMapFactory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"LiveQuery\", {\n    enumerable: true,\n    get: function () {\n      return _liveQuery.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MemorySourceFactory\", {\n    enumerable: true,\n    get: function () {\n      return _memorySourceFactory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Model\", {\n    enumerable: true,\n    get: function () {\n      return _model.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ModelSettings\", {\n    enumerable: true,\n    get: function () {\n      return _model.ModelSettings;\n    }\n  });\n  Object.defineProperty(_exports, \"SchemaFactory\", {\n    enumerable: true,\n    get: function () {\n      return _schemaFactory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Store\", {\n    enumerable: true,\n    get: function () {\n      return _store.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StoreFactory\", {\n    enumerable: true,\n    get: function () {\n      return _memorySourceFactory.default;\n    }\n  });\n  Object.defineProperty(_exports, \"StoreSettings\", {\n    enumerable: true,\n    get: function () {\n      return _store.StoreSettings;\n    }\n  });\n  Object.defineProperty(_exports, \"applyStandardSourceInjections\", {\n    enumerable: true,\n    get: function () {\n      return _standardInjections.applyStandardSourceInjections;\n    }\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _attr.default;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasOne.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _hasMany.default;\n    }\n  });\n  Object.defineProperty(_exports, \"hasOne\", {\n    enumerable: true,\n    get: function () {\n      return _hasOne.default;\n    }\n  });\n  Object.defineProperty(_exports, \"key\", {\n    enumerable: true,\n    get: function () {\n      return _key.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-orbit/-private/factories/coordinator-factory\",0,\"ember-orbit/-private/factories/key-map-factory\",0,\"ember-orbit/-private/factories/schema-factory\",0,\"ember-orbit/-private/factories/memory-source-factory\",0,\"ember-orbit/-private/factories/memory-source-factory\",0,\"ember-orbit/-private/fields/attr\",0,\"ember-orbit/-private/fields/has-many\",0,\"ember-orbit/-private/fields/has-one\",0,\"ember-orbit/-private/fields/key\",0,\"ember-orbit/-private/utils/standard-injections\",0,\"ember-orbit/-private/cache\",0,\"ember-orbit/-private/model\",0,\"ember-orbit/-private/store\",0,\"ember-orbit/-private/live-query\",0,\"ember-orbit/-private/fields/has-one\"eaimeta@70e063a35619d71f\n  // Provide `belongsTo` as an alias to `hasOne`\n});","define(\"ember-orbit/initializers/ember-orbit-config\", [\"exports\", \"@orbit/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.DEFAULT_ORBIT_CONFIG = void 0;\n  _exports.initialize = initialize;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/utils\"eaimeta@70e063a35619d71f\n  const DEFAULT_ORBIT_CONFIG = _exports.DEFAULT_ORBIT_CONFIG = {\n    types: {\n      bucket: 'data-bucket',\n      model: 'data-model',\n      source: 'data-source',\n      strategy: 'data-strategy'\n    },\n    collections: {\n      buckets: 'data-buckets',\n      models: 'data-models',\n      sources: 'data-sources',\n      strategies: 'data-strategies'\n    },\n    services: {\n      store: 'store',\n      bucket: 'data-bucket',\n      coordinator: 'data-coordinator',\n      schema: 'data-schema',\n      keyMap: 'data-key-map',\n      normalizer: 'data-normalizer',\n      validator: 'data-validator'\n    },\n    skipStoreService: false,\n    skipBucketService: false,\n    skipCoordinatorService: false,\n    skipSchemaService: false,\n    skipKeyMapService: false,\n    skipNormalizerService: false,\n    skipValidatorService: false\n  };\n  function initialize(application) {\n    const envConfig = application.resolveRegistration('config:environment') ?? {};\n    const config = (0, _utils.deepMerge)({}, DEFAULT_ORBIT_CONFIG, envConfig.orbit ?? {});\n\n    // Customize pluralization rules\n    const pluralizedTypes = application.__registry__?.resolver?.pluralizedTypes;\n    if (pluralizedTypes) {\n      pluralizedTypes[config.types.bucket] = config.collections.buckets;\n      pluralizedTypes[config.types.model] = config.collections.models;\n      pluralizedTypes[config.types.source] = config.collections.sources;\n      pluralizedTypes[config.types.strategy] = config.collections.strategies;\n    }\n    application.register('ember-orbit:config', config, {\n      instantiate: false\n    });\n  }\n  var _default = _exports.default = {\n    name: 'ember-orbit-config',\n    initialize\n  };\n});","define(\"ember-orbit/initializers/ember-orbit-services\", [\"exports\", \"@orbit/core\", \"ember-orbit/-private/factories/schema-factory\", \"ember-orbit/-private/factories/coordinator-factory\", \"ember-orbit/-private/factories/key-map-factory\", \"ember-orbit/-private/factories/normalizer-factory\", \"ember-orbit/-private/factories/memory-source-factory\", \"ember-orbit/-private/factories/store-factory\", \"ember-orbit/-private/factories/validator-factory\"], function (_exports, _core, _schemaFactory, _coordinatorFactory, _keyMapFactory, _normalizerFactory, _memorySourceFactory, _storeFactory, _validatorFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  0; //eaimeta@70e063a35619d71f0,\"@orbit/core\",0,\"ember-orbit/-private/factories/schema-factory\",0,\"ember-orbit/-private/factories/coordinator-factory\",0,\"ember-orbit/-private/factories/key-map-factory\",0,\"ember-orbit/-private/factories/normalizer-factory\",0,\"ember-orbit/-private/factories/memory-source-factory\",0,\"ember-orbit/-private/factories/store-factory\",0,\"ember-orbit/-private/factories/validator-factory\"eaimeta@70e063a35619d71f\n  const {\n    deprecate\n  } = _core.Orbit;\n  function initialize(application) {\n    let orbitConfig = application.resolveRegistration('ember-orbit:config');\n    if (!orbitConfig.skipKeyMapService) {\n      // Register a keyMap service\n      application.register(`service:${orbitConfig.services.keyMap}`, _keyMapFactory.default);\n    }\n    if (!orbitConfig.skipSchemaService) {\n      // Register a schema service\n      application.register(`service:${orbitConfig.services.schema}`, _schemaFactory.default);\n    }\n    if (!orbitConfig.skipValidatorService) {\n      // Register a validator service\n      application.register(`service:${orbitConfig.services.validator}`, _validatorFactory.default);\n    }\n    if (!orbitConfig.skipNormalizerService) {\n      // Register a normalizer service\n      application.register(`service:${orbitConfig.services.normalizer}`, _normalizerFactory.default);\n    }\n    if (!orbitConfig.skipCoordinatorService) {\n      // Register a coordinator service\n      application.register(`service:${orbitConfig.services.coordinator}`, _coordinatorFactory.default);\n    }\n    if (!orbitConfig.skipStoreService) {\n      application.register(`${orbitConfig.types.source}:store`, _memorySourceFactory.default);\n      application.register(`service:${orbitConfig.services.store}`, _storeFactory.default);\n      if (orbitConfig.skipStoreInjections !== undefined) {\n        deprecate('The `skipStoreInjections` configuration option in ember-orbit is deprecated because implicit injection is now deprecated in Ember itself. Please inject the orbit store into routes and controllers using the `@service` decorator as needed.');\n      }\n    }\n  }\n  var _default = _exports.default = {\n    name: 'ember-orbit-services',\n    after: 'ember-orbit-config',\n    initialize\n  };\n});","define(\"ember-page-title/helpers/page-title\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  /**\n    `{{page-title}}` helper used to set the title of the current route context.\n  \n    @public\n    @method page-title\n   */\n  let PageTitle = _exports.default = (_dec = Ember.inject.service('page-title-list'), _class = class PageTitle extends Ember.Helper {\n    get tokenId() {\n      return Ember.guidFor(this);\n    }\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"tokens\", _descriptor, this);\n      this.tokens.push({\n        id: this.tokenId\n      });\n    }\n    compute(params, _hash) {\n      let hash = {\n        ..._hash,\n        id: this.tokenId,\n        title: params.join('')\n      };\n      this.tokens.push(hash);\n      this.tokens.scheduleTitleUpdate();\n      return '';\n    }\n    willDestroy() {\n      super.willDestroy();\n      this.tokens.remove(this.tokenId);\n      this.tokens.scheduleTitleUpdate();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"tokens\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-page-title/services/page-title-list\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _descriptor, _descriptor2, _descriptor3;\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 isFastBoot = typeof FastBoot !== 'undefined';\n  const RouterEvent = {\n    ROUTE_DID_CHANGE: 'routeDidChange'\n  };\n\n  /**\n    @class page-title-list\n    @extends Ember.Service\n   */\n  let PageTitleListService = _exports.default = (_dec = Ember.inject.service('page-title'), _dec2 = Ember.inject.service('router'), _dec3 = Ember.inject.service('-document'), _class = class PageTitleListService extends Ember.Service {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"pageTitle\", _descriptor, this);\n      _initializerDefineProperty(this, \"router\", _descriptor2, this);\n      // in fastboot context \"document\" is instance of\n      // ember-fastboot/simple-dom document\n      _initializerDefineProperty(this, \"document\", _descriptor3, this);\n      _defineProperty(this, \"tokens\", []);\n      _defineProperty(this, \"_defaultConfig\", {\n        // The default separator to use between tokens.\n        separator: ' | ',\n        // The default prepend value to use.\n        prepend: true,\n        // The default replace value to use.\n        replace: null\n      });\n      _defineProperty(this, \"scheduleTitleUpdate\", () => {\n        Ember.run.scheduleOnce('afterRender', this, this._updateTitle);\n      });\n      this._validateExistingTitleElement();\n      let config = Ember.getOwner(this).resolveRegistration('config:environment');\n      if (config.pageTitle) {\n        ['separator', 'prepend', 'replace'].forEach(key => {\n          if (!Ember.isEmpty(config.pageTitle[key])) {\n            this._defaultConfig[key] = config.pageTitle[key];\n          }\n        });\n      }\n      this.router.on(RouterEvent.ROUTE_DID_CHANGE, this.scheduleTitleUpdate);\n    }\n    applyTokenDefaults(token) {\n      let defaultSeparator = this._defaultConfig.separator;\n      let defaultPrepend = this._defaultConfig.prepend;\n      let defaultReplace = this._defaultConfig.replace;\n      if (token.separator == null) {\n        token.separator = defaultSeparator;\n      }\n      if (token.prepend == null && defaultPrepend != null) {\n        token.prepend = defaultPrepend;\n      }\n      if (token.replace == null && defaultReplace != null) {\n        token.replace = defaultReplace;\n      }\n    }\n    inheritFromPrevious(token) {\n      let previous = token.previous;\n      if (previous) {\n        if (token.separator == null) {\n          token.separator = previous.separator;\n        }\n        if (token.prepend == null) {\n          token.prepend = previous.prepend;\n        }\n      }\n    }\n    push(token) {\n      let tokenForId = this._findTokenById(token.id);\n      if (tokenForId) {\n        let index = this.tokens.indexOf(tokenForId);\n        let tokens = [...this.tokens];\n        let previous = tokenForId.previous;\n        token.previous = previous;\n        token.next = tokenForId.next;\n        this.inheritFromPrevious(token);\n        this.applyTokenDefaults(token);\n        tokens.splice(index, 1, token);\n        this.tokens = tokens;\n        return;\n      }\n      let previous = this.tokens.slice(-1)[0];\n      if (previous) {\n        token.previous = previous;\n        previous.next = token;\n        this.inheritFromPrevious(token);\n      }\n      this.applyTokenDefaults(token);\n      this.tokens = [...this.tokens, token];\n    }\n    remove(id) {\n      let token = this._findTokenById(id);\n      let {\n        next,\n        previous\n      } = token;\n      if (next) {\n        next.previous = previous;\n      }\n      if (previous) {\n        previous.next = next;\n      }\n      token.previous = token.next = null;\n      let tokens = [...this.tokens];\n      tokens.splice(tokens.indexOf(token), 1);\n      this.tokens = tokens;\n    }\n    get visibleTokens() {\n      let tokens = this.tokens;\n      let i = tokens ? tokens.length : 0;\n      let visible = [];\n      while (i--) {\n        let token = tokens[i];\n        if (token.replace) {\n          visible.unshift(token);\n          break;\n        } else {\n          visible.unshift(token);\n        }\n      }\n      return visible;\n    }\n    get sortedTokens() {\n      let visible = this.visibleTokens;\n      let appending = true;\n      let group = [];\n      let groups = [group];\n      let frontGroups = [];\n      visible.forEach(token => {\n        if (token.front) {\n          frontGroups.unshift(token);\n        } else if (token.prepend) {\n          if (appending) {\n            appending = false;\n            group = [];\n            groups.push(group);\n          }\n          let lastToken = group[0];\n          if (lastToken) {\n            token = {\n              ...token\n            };\n            token.separator = lastToken.separator;\n          }\n          group.unshift(token);\n        } else {\n          if (!appending) {\n            appending = true;\n            group = [];\n            groups.push(group);\n          }\n          group.push(token);\n        }\n      });\n      return frontGroups.concat(groups.reduce((E, group) => E.concat(group), []));\n    }\n    toString() {\n      let tokens = this.sortedTokens;\n      let title = [];\n      for (let i = 0, len = tokens.length; i < len; i++) {\n        let token = tokens[i];\n        if (token.title) {\n          title.push(token.title);\n          if (i + 1 < len) {\n            title.push(token.separator);\n          }\n        }\n      }\n      return title.join('');\n    }\n    willDestroy() {\n      super.willDestroy();\n      this.router.off(RouterEvent.ROUTE_DID_CHANGE, this.scheduleTitleUpdate);\n    }\n    _updateTitle() {\n      const toBeTitle = this.toString();\n      if (isFastBoot) {\n        this.updateFastbootTitle(toBeTitle);\n      } else {\n        /**\n         * When rendering app with \"?fastboot=false\" (http://ember-fastboot.com/docs/user-guide#disabling-fastboot)\n         * We will not have <title> element present in DOM.\n         *\n         * But this is fine as by HTML spec,\n         * one is created upon assigning \"document.title\" value;\n         *\n         * https://html.spec.whatwg.org/multipage/dom.html#dom-tree-accessors\n         */\n        this.document.title = toBeTitle;\n      }\n      this.pageTitle.titleDidUpdate(toBeTitle);\n    }\n\n    /**\n     * Validate if there's more than one title element present.\n     *\n     * Example: ember-cli-head can cause conflicting updates.\n     * @private\n     */\n    _validateExistingTitleElement() {\n      if (isFastBoot) {\n        return;\n      }\n      (true && !(document.head.querySelectorAll('title').length <= 1) && Ember.assert('[ember-page-title]: Multiple title elements found. Check for other addons like ember-cli-head updating <title> as well.', document.head.querySelectorAll('title').length <= 1));\n    }\n\n    /**\n     * Find token by id\n     *\n     * IE11 compatible approach due to lack of Array.find support\n     *\n     * @param {String} id\n     * @private\n     */\n    _findTokenById(id) {\n      return this.tokens.filter(token => {\n        return token.id === id;\n      })[0];\n    }\n    updateFastbootTitle(toBeTitle) {\n      if (!isFastBoot) {\n        return;\n      }\n      const headElement = this.document.head;\n      const headChildNodes = headElement.childNodes;\n\n      // Remove existing title elements from previous render cycle\n      for (let i = 0; i < headChildNodes.length; i++) {\n        let node = headChildNodes[i];\n        if (node.nodeName.toLowerCase() === 'title') {\n          headElement.removeChild(node);\n        }\n      }\n\n      // Add title element with latest value\n      let titleEl = this.document.createElement('title');\n      let titleContents = this.document.createTextNode(toBeTitle);\n      titleEl.appendChild(titleContents);\n      headElement.appendChild(titleEl);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"pageTitle\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"router\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"document\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-page-title/services/page-title\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class PageTitleService extends Ember.Service {\n    titleDidUpdate(/* title */) {}\n  }\n  _exports.default = PageTitleService;\n});","define(\"ember-performance-tracking/initializers/route-perf\", [\"exports\", \"ember-performance-tracking/mixins/route-perf\"], function (_exports, _routePerf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize() {\n    Ember.Router.reopen(_routePerf.default);\n  }\n  var _default = _exports.default = {\n    name: 'route-perf',\n    initialize: initialize\n  };\n});","define(\"ember-performance-tracking/mixins/route-perf\", [\"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.Mixin.create({\n    perfTracking: Ember.inject.service('performance-tracking'),\n    /**\n     * Schedule a function to call the endTransition function of the perfTracking service in afterRender run queue\n     */\n    didTransition: function () {\n      Ember.run.scheduleOnce('afterRender', () => {\n        this.get('perfTracking').endTransition(this.get('currentRouteName'), this.get('currentURL'));\n      });\n      return this._super(...arguments);\n    },\n    willTransition: function () {\n      this.get('perfTracking').startTransition();\n      return this._super(...arguments);\n    }\n  });\n});","define(\"ember-performance-tracking/services/performance-tracking\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * If the performance API is missing, polyfill using Date\n   */\n  let navigationStart = 0;\n  const performanceNow = function () {\n    if ('performance' in window && typeof window.performance.now === 'function' && typeof fastboot === 'undefined') {\n      return window.performance.now();\n    } else {\n      return new Date().getTime() - navigationStart;\n    }\n  };\n  navigationStart = window.performance && window.performance.timing ? window.performance.timing.navigationStart : performanceNow();\n  var _default = _exports.default = Ember.Service.extend({\n    /**\n     * Initialize the TransitionData object that holds information about a transition\n     * @type {Object}\n     */\n    currentTransition: {\n      isInitial: true,\n      start: 0,\n      startTimestamp: navigationStart\n    },\n    /**\n     * Create a new object that contains the start timstamp in milliseconds and start attribute using\n     * window.performance.now. It is assumed that once this function is called, it is a subsequent transition\n     * Store the new object in the service\n     */\n    startTransition: function () {\n      const newTransitionData = {\n        isInitial: false,\n        start: performanceNow(),\n        startTimestamp: navigationStart + performanceNow()\n      };\n      this.set('currentTransition', newTransitionData);\n    },\n    /**\n     * Store the destination route and pathname with the end timer.\n     *\n     * @param  {String} finalRouteName Destination route name\n     * @param  {String} finalPathName  Destination pathname expected to be from this.get('router.url') from a route\n     * @return {null}                  Returns nothing\n     */\n    endTransition: function (finalRouteName, finalPathName) {\n      const transitionData = this.get('currentTransition');\n      transitionData.end = performanceNow();\n      transitionData.duration = transitionData.end - transitionData.start;\n      transitionData.destinationRoute = finalRouteName;\n      transitionData.url = finalPathName;\n      transitionData.resources = this.getResourcesInvolved(transitionData.start, transitionData.end);\n      this.transitionComplete(transitionData);\n    },\n    /**\n     * Get the AJAX calls that were initiated between the start and end\n     *\n     * @param  {Float} start - Expected to be a DOMHighResTimeStamp offset from the PerformanceTiming.navigationStart property\n     * @param  {Float} end   - Expected to be a DOMHighResTimeStamp offset from the PerformanceTiming.navigationStart property\n     * @return {Array}         Returns an array AJAX calls with the url,\n     */\n    getResourcesInvolved: function (start, end) {\n      const resources = [];\n      let entries;\n      if (window.performance && window.performance.getEntries) {\n        entries = window.performance.getEntries();\n        entries.forEach(function (rs) {\n          if (rs.startTime > start && rs.startTime <= end) {\n            resources.push(rs);\n          }\n        });\n        return resources;\n      } else {\n        return [];\n      }\n    },\n    /**\n     * Expected to be overriden by child classes\n     * @param  {Object} transitionData Object containing transition timing data\n     */\n    transitionComplete: function (transitionData) {\n      return transitionData;\n    }\n  });\n});","define(\"ember-popper-modifier/-base-popper-modifier\", [\"exports\", \"ember-modifier\", \"@popperjs/core\", \"ember-popper-modifier/index\", \"ember-popper-modifier/in-runloop-modifier\"], function (_exports, _emberModifier, _core, _index, _inRunloopModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-modifier\",0,\"@ember/array\",0,\"@ember/utils\",0,\"@ember/debug\",0,\"@popperjs/core\",0,\"ember-popper-modifier/index\",0,\"ember-popper-modifier/in-runloop-modifier\"eaimeta@70e063a35619d71f\n  class PopperModifier extends _emberModifier.default {\n    /** @type {HTMLElement} */\n    // eslint-disable-next-line getter-return\n    get tooltipElement() {\n      (true && !(false) && Ember.assert(\"Must implement `tooltipElement` property\", false));\n    }\n\n    /** @type {HTMLElement} */\n    // eslint-disable-next-line getter-return\n    get referenceElement() {\n      (true && !(false) && Ember.assert(\"Must implement `referenceElement` property\", false));\n    }\n    get popperOptions() {\n      // Get an array of just positional \"options\"; first item is an element reference\n      const positionalArguments = this.args.positional.slice(1).filter(arg => Boolean(arg));\n\n      // Positional args that are not modifiers should be treated as full \"options\" objects\n      const allPositionalOptions = positionalArguments.filter(arg => !(0, _index.isModifier)(arg));\n\n      // Positional args that are modifiers will extend the rest of the configuration\n      const allPositionalModifiers = positionalArguments.filter(arg => (0, _index.isModifier)(arg));\n      const {\n        ...namedOptions\n      } = this.args.named;\n      const options = {\n        ...allPositionalOptions.reduce((acc, curr) => {\n          return {\n            ...acc,\n            ...curr\n          };\n        }, {}),\n        ...namedOptions\n      };\n\n      // Ensure that the `modifiers` is always an array\n      const modifiers = Ember.isEmpty(options.modifiers) ? [] : Ember.isArray(options.modifiers) ? options.modifiers : [options.modifiers];\n\n      // Add runloop integration and positional modifiers to the array of modifiers\n      options.modifiers = [...modifiers, ...allPositionalModifiers, _inRunloopModifier.beginRunLoopModifier, _inRunloopModifier.endRunLoopModifier];\n      return options;\n    }\n    didReceiveArguments() {\n      // Create the popper once all required arguments are present\n      if (!this.popper && this.referenceElement && this.tooltipElement) {\n        this.popper = (0, _core.createPopper)(this.referenceElement, this.tooltipElement, this.popperOptions);\n        (0, _index.setPopperForElement)(this.element, this.popper);\n      }\n    }\n    didUpdateArguments() {\n      this.popper?.setOptions(this.popperOptions);\n    }\n    willRemove() {\n      this.popper?.destroy();\n    }\n  }\n  _exports.default = PopperModifier;\n});","define(\"ember-popper-modifier/helpers/popper-modifier\", [\"exports\", \"ember-popper-modifier/index\"], function (_exports, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.buildPopperModifier = buildPopperModifier;\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/component/helper\",0,\"ember-popper-modifier/index\"eaimeta@70e063a35619d71f\n  function buildPopperModifier([name, positionalOptions], optionsHash) {\n    const options = {\n      ...positionalOptions,\n      ...optionsHash\n    };\n    return (0, _index.createModifier)({\n      name,\n      options\n    });\n  }\n  var _default = _exports.default = Ember.Helper.helper(buildPopperModifier);\n});","define(\"ember-popper-modifier/in-runloop-modifier\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.endRunLoopModifier = _exports.beginRunLoopModifier = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/runloop\"eaimeta@70e063a35619d71f\n  // This set keeps track of whether a particular Popper instance is currently in an update\n  // loop that is tracked by the Ember Run Loop\n  //\n  // This is necessary in order to ensure that Popper changes are known to the Ember run loop,\n  // and helps make sure that, for example, Ember's test helpers wait for any re-positioning to\n  // take place before advancing\n  //\n  // We need to keep track of whether a run loop has already been started for an update cycle\n  // because the number of \"starts\" and \"ends\" of the Popper update look do not always match;\n  // if we \"start\" again before we have \"ended\", then we can open an Ember run loop that is never\n  // closed, which will cause our application to hang.\n  const POPPER_IN_RUN_LOOP = new WeakSet();\n  const FIRST_PHASE = \"beforeRead\";\n  const LAST_PHASE = \"afterWrite\";\n  const beginRunLoopModifier = _exports.beginRunLoopModifier = {\n    name: \"ember-runloop-begin\",\n    phase: FIRST_PHASE,\n    enabled: true,\n    fn({\n      instance\n    }) {\n      if (!POPPER_IN_RUN_LOOP.has(instance)) {\n        POPPER_IN_RUN_LOOP.add(instance);\n        Ember.run.begin();\n      }\n    }\n  };\n  const endRunLoopModifier = _exports.endRunLoopModifier = {\n    name: \"ember-runloop-end\",\n    phase: LAST_PHASE,\n    enabled: true,\n    fn({\n      instance\n    }) {\n      if (POPPER_IN_RUN_LOOP.has(instance)) {\n        POPPER_IN_RUN_LOOP.delete(instance);\n        Ember.run.end();\n      }\n    }\n  };\n});","define(\"ember-popper-modifier/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createModifier = createModifier;\n  _exports.getPopperForElement = getPopperForElement;\n  _exports.isModifier = isModifier;\n  _exports.setPopperForElement = setPopperForElement;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  const ELEMENT_TO_POPPER = new WeakMap();\n  const IS_POPPER_MODIFIER = Symbol(\"is-popper-modifier\");\n  function getPopperForElement(element) {\n    return ELEMENT_TO_POPPER.get(element);\n  }\n  function setPopperForElement(element, popperInstance) {\n    ELEMENT_TO_POPPER.set(element, popperInstance);\n  }\n\n  /**\n   * Mark an object as a Popper modifier\n   *\n   * @param {object} configuration\n   * @return {object}\n   */\n  function createModifier(configuration) {\n    return {\n      [IS_POPPER_MODIFIER]: true,\n      ...configuration\n    };\n  }\n\n  /**\n   * Check whether an object is a Popper modifier\n   *\n   * @param {object} configuration\n   * @return {boolean}\n   */\n  function isModifier(configuration) {\n    return configuration[IS_POPPER_MODIFIER] === true;\n  }\n});","define(\"ember-popper-modifier/modifiers/popper-tooltip\", [\"exports\", \"ember-popper-modifier/-base-popper-modifier\"], function (_exports, _basePopperModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-popper-modifier/-base-popper-modifier\"eaimeta@70e063a35619d71f\n  class PopperModifier extends _basePopperModifier.default {\n    get tooltipElement() {\n      return this.element;\n    }\n    get referenceElement() {\n      return this.args.positional[0];\n    }\n  }\n  _exports.default = PopperModifier;\n});","define(\"ember-popper-modifier/modifiers/popper\", [\"exports\", \"ember-popper-modifier/-base-popper-modifier\"], function (_exports, _basePopperModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-popper-modifier/-base-popper-modifier\"eaimeta@70e063a35619d71f\n  class PopperModifier extends _basePopperModifier.default {\n    get tooltipElement() {\n      return this.args.positional[0];\n    }\n    get referenceElement() {\n      return this.element;\n    }\n  }\n  _exports.default = PopperModifier;\n});","define(\"ember-power-select/components/power-select-multiple\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <PowerSelect\n    @animationEnabled={{@animationEnabled}}\n    @triggerRole={{@triggerRole}}\n    @ariaDescribedBy={{@ariaDescribedBy}}\n    @ariaInvalid={{@ariaInvalid}}\n    @ariaLabel={{@ariaLabel}}\n    @ariaLabelledBy={{@ariaLabelledBy}}\n    @afterOptionsComponent={{@afterOptionsComponent}}\n    @allowClear={{@allowClear}}\n    @beforeOptionsComponent={{or @beforeOptionsComponent null}}\n    @buildSelection={{or @buildSelection this.defaultBuildSelection}}\n    @calculatePosition={{@calculatePosition}}\n    @closeOnSelect={{@closeOnSelect}}\n    @defaultHighlighted={{@defaultHighlighted}}\n    @destination={{@destination}}\n    @disabled={{@disabled}}\n    @dropdownClass={{@dropdownClass}}\n    @extra={{@extra}}\n    @groupComponent={{@groupComponent}}\n    @horizontalPosition={{@horizontalPosition}}\n    @initiallyOpened={{@initiallyOpened}}\n    @loadingMessage={{@loadingMessage}}\n    @matcher={{@matcher}}\n    @matchTriggerWidth={{@matchTriggerWidth}}\n    @noMatchesMessage={{@noMatchesMessage}}\n    @noMatchesMessageComponent={{@noMatchesMessageComponent}}\n    @onBlur={{@onBlur}}\n    @onChange={{@onChange}}\n    @onClose={{@onClose}}\n    @onFocus={{this.handleFocus}}\n    @onInput={{@onInput}}\n    @onKeydown={{this.handleKeydown}}\n    @onOpen={{this.handleOpen}}\n    @options={{@options}}\n    @optionsComponent={{@optionsComponent}}\n    @placeholder={{@placeholder}}\n    @placeholderComponent={{@placeholderComponent}}\n    @preventScroll={{@preventScroll}}\n    @registerAPI={{@registerAPI}}\n    @renderInPlace={{@renderInPlace}}\n    @required={{@required}}\n    @scrollTo={{@scrollTo}}\n    @search={{@search}}\n    @searchEnabled={{@searchEnabled}}\n    @searchField={{@searchField}}\n    @searchMessage={{@searchMessage}}\n    @searchPlaceholder={{@searchPlaceholder}}\n    @selected={{@selected}}\n    @selectedItemComponent={{@selectedItemComponent}}\n    @eventType={{@eventType}}\n    @title={{@title}}\n    @triggerClass=\"ember-power-select-multiple-trigger {{@triggerClass}}\"\n    @triggerComponent={{component (or @triggerComponent \"power-select-multiple/trigger\") tabindex=@tabindex}}\n    @triggerId={{@triggerId}}\n    @verticalPosition={{@verticalPosition}}\n    @tabindex={{this.computedTabIndex}}\n    @ebdTriggerComponent={{@ebdTriggerComponent}}\n    @ebdContentComponent={{@ebdContentComponent}}\n    ...attributes as |option select|>\n    {{yield option select}}\n  </PowerSelect>\n  \n  */\n  {\n    \"id\": \"ePb6DeYa\",\n    \"block\": \"{\\\"symbols\\\":[\\\"option\\\",\\\"select\\\",\\\"@animationEnabled\\\",\\\"@triggerRole\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@afterOptionsComponent\\\",\\\"@allowClear\\\",\\\"@beforeOptionsComponent\\\",\\\"@buildSelection\\\",\\\"@calculatePosition\\\",\\\"@closeOnSelect\\\",\\\"@defaultHighlighted\\\",\\\"@destination\\\",\\\"@disabled\\\",\\\"@dropdownClass\\\",\\\"@extra\\\",\\\"@groupComponent\\\",\\\"@horizontalPosition\\\",\\\"@initiallyOpened\\\",\\\"@loadingMessage\\\",\\\"@matcher\\\",\\\"@matchTriggerWidth\\\",\\\"@noMatchesMessage\\\",\\\"@noMatchesMessageComponent\\\",\\\"@onBlur\\\",\\\"@onChange\\\",\\\"@onClose\\\",\\\"@onInput\\\",\\\"@options\\\",\\\"@optionsComponent\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@preventScroll\\\",\\\"@registerAPI\\\",\\\"@renderInPlace\\\",\\\"@required\\\",\\\"@scrollTo\\\",\\\"@search\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@searchMessage\\\",\\\"@searchPlaceholder\\\",\\\"@selected\\\",\\\"@selectedItemComponent\\\",\\\"@eventType\\\",\\\"@title\\\",\\\"@triggerClass\\\",\\\"@tabindex\\\",\\\"@triggerComponent\\\",\\\"@triggerId\\\",\\\"@verticalPosition\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\",\\\"&attrs\\\",\\\"&default\\\"],\\\"statements\\\":[[8,\\\"power-select\\\",[[17,57]],[[\\\"@animationEnabled\\\",\\\"@triggerRole\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@afterOptionsComponent\\\",\\\"@allowClear\\\",\\\"@beforeOptionsComponent\\\",\\\"@buildSelection\\\",\\\"@calculatePosition\\\",\\\"@closeOnSelect\\\",\\\"@defaultHighlighted\\\",\\\"@destination\\\",\\\"@disabled\\\",\\\"@dropdownClass\\\",\\\"@extra\\\",\\\"@groupComponent\\\",\\\"@horizontalPosition\\\",\\\"@initiallyOpened\\\",\\\"@loadingMessage\\\",\\\"@matcher\\\",\\\"@matchTriggerWidth\\\",\\\"@noMatchesMessage\\\",\\\"@noMatchesMessageComponent\\\",\\\"@onBlur\\\",\\\"@onChange\\\",\\\"@onClose\\\",\\\"@onFocus\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@onOpen\\\",\\\"@options\\\",\\\"@optionsComponent\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@preventScroll\\\",\\\"@registerAPI\\\",\\\"@renderInPlace\\\",\\\"@required\\\",\\\"@scrollTo\\\",\\\"@search\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@searchMessage\\\",\\\"@searchPlaceholder\\\",\\\"@selected\\\",\\\"@selectedItemComponent\\\",\\\"@eventType\\\",\\\"@title\\\",\\\"@triggerClass\\\",\\\"@triggerComponent\\\",\\\"@triggerId\\\",\\\"@verticalPosition\\\",\\\"@tabindex\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\"],[[32,3],[32,4],[32,5],[32,6],[32,7],[32,8],[32,9],[32,10],[30,[36,0],[[32,11],null],null],[30,[36,0],[[32,12],[32,0,[\\\"defaultBuildSelection\\\"]]],null],[32,13],[32,14],[32,15],[32,16],[32,17],[32,18],[32,19],[32,20],[32,21],[32,22],[32,23],[32,24],[32,25],[32,26],[32,27],[32,28],[32,29],[32,30],[32,0,[\\\"handleFocus\\\"]],[32,31],[32,0,[\\\"handleKeydown\\\"]],[32,0,[\\\"handleOpen\\\"]],[32,32],[32,33],[32,34],[32,35],[32,36],[32,37],[32,38],[32,39],[32,40],[32,41],[32,42],[32,43],[32,44],[32,45],[32,46],[32,47],[32,48],[32,49],[31,[\\\"ember-power-select-multiple-trigger \\\",[32,50]]],[30,[36,1],[[30,[36,0],[[32,52],\\\"power-select-multiple/trigger\\\"],null]],[[\\\"tabindex\\\"],[[32,51]]]],[32,53],[32,54],[32,0,[\\\"computedTabIndex\\\"]],[32,55],[32,56]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,58,[[32,1],[32,2]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"or\\\",\\\"component\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select-multiple.hbs\"\n  });\n  let PowerSelectMultiple = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, _class = class PowerSelectMultiple extends _component.default {\n    get computedTabIndex() {\n      if (this.args.triggerComponent === undefined && this.args.searchEnabled) {\n        return '-1';\n      } else {\n        return this.args.tabindex || '0';\n      }\n    }\n\n    // Actions\n    handleOpen(select, e) {\n      if (this.args.onOpen && this.args.onOpen(select, e) === false) {\n        return false;\n      }\n      this.focusInput(select);\n    }\n    handleFocus(select, e) {\n      if (this.args.onFocus) {\n        this.args.onFocus(select, e);\n      }\n      this.focusInput(select);\n    }\n    handleKeydown(select, e) {\n      if (this.args.onKeydown && this.args.onKeydown(select, e) === false) {\n        e.stopPropagation();\n        return false;\n      }\n      if (e.keyCode === 13 && select.isOpen) {\n        e.stopPropagation();\n        if (select.highlighted !== undefined) {\n          if (!select.selected || select.selected.indexOf(select.highlighted) === -1) {\n            select.actions.choose(select.highlighted, e);\n            return false;\n          } else {\n            select.actions.close(e);\n            return false;\n          }\n        } else {\n          select.actions.close(e);\n          return false;\n        }\n      }\n    }\n    defaultBuildSelection(option, select) {\n      let newSelection = (select.selected || []).slice(0);\n      let idx = -1;\n      for (let i = 0; i < newSelection.length; i++) {\n        if (Ember.isEqual(newSelection[i], option)) {\n          idx = i;\n          break;\n        }\n      }\n      if (idx > -1) {\n        newSelection.splice(idx, 1);\n      } else {\n        newSelection.push(option);\n      }\n      return newSelection;\n    }\n    focusInput(select) {\n      if (select) {\n        let input = document.querySelector(`#ember-power-select-trigger-multiple-input-${select.uniqueId}`);\n        if (input) {\n          input.focus();\n        }\n      }\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"handleOpen\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFocus\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleKeydown\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, PowerSelectMultiple);\n});","define(\"ember-power-select/components/power-select-multiple/trigger\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <ul\n    id=\"ember-power-select-multiple-options-{{@select.uniqueId}}\"\n    class=\"ember-power-select-multiple-options\"\n    role=\"button\"\n    {{did-update this.openChanged @select.isOpen}}\n    {{on \"touchstart\" this.chooseOption}}\n    {{on \"mousedown\" this.chooseOption}}\n    ...attributes>\n    {{#each @select.selected as |opt idx|}}\n      <li class=\"ember-power-select-multiple-option {{if opt.disabled \"ember-power-select-multiple-option--disabled\"}}\">\n        {{#unless @select.disabled}}\n          <span\n            {{! template-lint-disable \"no-nested-interactive\" }}\n            role=\"button\"\n            aria-label=\"remove element\"\n            class=\"ember-power-select-multiple-remove-btn\"\n            data-selected-index={{idx}}>\n            &times;\n          </span>\n        {{/unless}}\n        {{#if @selectedItemComponent}}\n          {{component @selectedItemComponent extra=@extra option=opt select=@select}}\n        {{else}}\n          {{yield opt @select}}\n        {{/if}}\n      </li>\n    {{else}}\n      {{#if (and @placeholder (not @searchEnabled))}}\n        <span class=\"ember-power-select-placeholder\">{{@placeholder}}</span>\n      {{/if}}\n    {{/each}}\n    {{#if @searchEnabled}}\n      <input\n        {{! template-lint-disable \"no-nested-interactive\" }}\n        type=\"search\"\n        class=\"ember-power-select-trigger-multiple-input\"\n        autocomplete=\"off\"\n        autocorrect=\"off\"\n        autocapitalize=\"off\"\n        spellcheck={{false}}\n        id=\"ember-power-select-trigger-multiple-input-{{@select.uniqueId}}\"\n        value={{@select.searchText}}\n        aria-controls={{@listboxId}}\n        style={{this.triggerMultipleInputStyle}}\n        placeholder={{this.maybePlaceholder}}\n        disabled={{@select.disabled}}\n        tabindex={{@tabindex}}\n        form=\"power-select-fake-form\"\n        {{on \"focus\" @onFocus}}\n        {{on \"blur\" @onBlur}}\n        {{on \"input\" this.handleInput}}\n        {{on \"keydown\" this.handleKeydown}}\n        {{did-insert this.storeInputStyles}}>\n    {{/if}}\n  </ul>\n  <span class=\"ember-power-select-status-icon\"></span>\n  \n  */\n  {\n    \"id\": \"8rY1tDfR\",\n    \"block\": \"{\\\"symbols\\\":[\\\"opt\\\",\\\"idx\\\",\\\"@select\\\",\\\"@listboxId\\\",\\\"@tabindex\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@placeholder\\\",\\\"@searchEnabled\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@selectedItemComponent\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"ul\\\"],[16,1,[31,[\\\"ember-power-select-multiple-options-\\\",[32,3,[\\\"uniqueId\\\"]]]]],[24,0,\\\"ember-power-select-multiple-options\\\"],[24,\\\"role\\\",\\\"button\\\"],[17,13],[4,[38,7],[[32,0,[\\\"openChanged\\\"]],[32,3,[\\\"isOpen\\\"]]],null],[4,[38,0],[\\\"touchstart\\\",[32,0,[\\\"chooseOption\\\"]]],null],[4,[38,0],[\\\"mousedown\\\",[32,0,[\\\"chooseOption\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,9],[[30,[36,8],[[30,[36,8],[[32,3,[\\\"selected\\\"]]],null]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"li\\\"],[15,0,[31,[\\\"ember-power-select-multiple-option \\\",[30,[36,4],[[32,1,[\\\"disabled\\\"]],\\\"ember-power-select-multiple-option--disabled\\\"],null]]]],[12],[2,\\\"\\\\n\\\"],[6,[37,6],[[32,3,[\\\"disabled\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"span\\\"],[14,\\\"role\\\",\\\"button\\\"],[14,\\\"aria-label\\\",\\\"remove element\\\"],[14,0,\\\"ember-power-select-multiple-remove-btn\\\"],[15,\\\"data-selected-index\\\",[32,2]],[12],[2,\\\"\\\\n          ×\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,4],[[32,12]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[1,[30,[36,5],[[32,12]],[[\\\"extra\\\",\\\"option\\\",\\\"select\\\"],[[32,11],[32,1],[32,3]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[18,10,[[32,1],[32,3]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[1,2]},{\\\"statements\\\":[[6,[37,4],[[30,[36,3],[[32,8],[30,[36,2],[[32,9]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"span\\\"],[14,0,\\\"ember-power-select-placeholder\\\"],[12],[1,[32,8]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,4],[[32,9]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"input\\\"],[24,0,\\\"ember-power-select-trigger-multiple-input\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"],[24,\\\"autocorrect\\\",\\\"off\\\"],[24,\\\"autocapitalize\\\",\\\"off\\\"],[16,\\\"spellcheck\\\",false],[16,1,[31,[\\\"ember-power-select-trigger-multiple-input-\\\",[32,3,[\\\"uniqueId\\\"]]]]],[16,2,[32,3,[\\\"searchText\\\"]]],[16,\\\"aria-controls\\\",[32,4]],[16,5,[32,0,[\\\"triggerMultipleInputStyle\\\"]]],[16,\\\"placeholder\\\",[32,0,[\\\"maybePlaceholder\\\"]]],[16,\\\"disabled\\\",[32,3,[\\\"disabled\\\"]]],[16,\\\"tabindex\\\",[32,5]],[24,\\\"form\\\",\\\"power-select-fake-form\\\"],[24,4,\\\"search\\\"],[4,[38,0],[\\\"focus\\\",[32,6]],null],[4,[38,0],[\\\"blur\\\",[32,7]],null],[4,[38,0],[\\\"input\\\",[32,0,[\\\"handleInput\\\"]]],null],[4,[38,0],[\\\"keydown\\\",[32,0,[\\\"handleKeydown\\\"]]],null],[4,[38,1],[[32,0,[\\\"storeInputStyles\\\"]]],null],[12],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13],[2,\\\"\\\\n\\\"],[10,\\\"span\\\"],[14,0,\\\"ember-power-select-status-icon\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"did-insert\\\",\\\"not\\\",\\\"and\\\",\\\"if\\\",\\\"component\\\",\\\"unless\\\",\\\"did-update\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select-multiple/trigger.hbs\"\n  });\n  const isIndexAccesible = target => {\n    return typeof target.objectAt === 'function';\n  };\n  const ua = window && window.navigator ? window.navigator.userAgent : '';\n  const isIE = ua.indexOf('MSIE ') > -1 || ua.indexOf('Trident/') > -1;\n  let Trigger = _exports.default = (_dec = Ember.inject.service, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _dec5 = Ember._action, _dec6 = Ember._action, _class = class Trigger extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"inputFont\", void 0);\n      _defineProperty(this, \"_lastIsOpen\", this.args.select.isOpen);\n      _initializerDefineProperty(this, \"textMeasurer\", _descriptor, this);\n    }\n    // Properties\n    get triggerMultipleInputStyle() {\n      Ember.run.scheduleOnce('actions', null, this.args.select.actions.reposition);\n      if (!this.args.select.selected || Ember.get(this.args.select.selected, 'length') === 0) {\n        return Ember.String.htmlSafe('width: 100%;');\n      } else {\n        let textWidth = 0;\n        if (this.inputFont) {\n          textWidth = this.textMeasurer.width(this.args.select.searchText, this.inputFont);\n        }\n        return Ember.String.htmlSafe(`width: ${textWidth + 25}px`);\n      }\n    }\n    get maybePlaceholder() {\n      if (isIE) {\n        return undefined;\n      }\n      return !this.args.select.selected || Ember.get(this.args.select.selected, 'length') === 0 ? this.args.placeholder || '' : '';\n    }\n\n    // Actions\n    openChanged(_el, [isOpen]) {\n      if (isOpen === false && this._lastIsOpen === true) {\n        Ember.run.scheduleOnce('actions', null, this.args.select.actions.search, '');\n      }\n      this._lastIsOpen = isOpen;\n    }\n    storeInputStyles(input) {\n      let {\n        fontStyle,\n        fontVariant,\n        fontWeight,\n        fontSize,\n        lineHeight,\n        fontFamily\n      } = window.getComputedStyle(input);\n      this.inputFont = `${fontStyle} ${fontVariant} ${fontWeight} ${fontSize}/${lineHeight} ${fontFamily}`;\n    }\n    chooseOption(e) {\n      if (e.target === null) return;\n      let selectedIndex = e.target.getAttribute('data-selected-index');\n      if (selectedIndex) {\n        let numericIndex = parseInt(selectedIndex, 10);\n        e.stopPropagation();\n        e.preventDefault();\n        let object = this.selectedObject(this.args.select.selected, numericIndex);\n        this.args.select.actions.choose(object);\n      }\n    }\n    handleInput(e) {\n      if (this.args.onInput && this.args.onInput(e) === false) {\n        return;\n      }\n      this.args.select.actions.open(e);\n    }\n    handleKeydown(e) {\n      if (e.target === null) return;\n      if (this.args.onKeydown && this.args.onKeydown(e) === false) {\n        e.stopPropagation();\n        return false;\n      }\n      if (e.keyCode === 8) {\n        e.stopPropagation();\n        if (Ember.isBlank(e.target.value)) {\n          let lastSelection = this.args.select.selected[this.args.select.selected.length - 1];\n          if (lastSelection) {\n            this.args.select.actions.select(this.args.buildSelection(lastSelection, this.args.select), e);\n            if (typeof lastSelection === 'string') {\n              this.args.select.actions.search(lastSelection);\n            } else {\n              (true && !(this.args.searchField) && Ember.assert('`<PowerSelectMultiple>` requires a `@searchField` when the options are not strings to remove options using backspace', this.args.searchField));\n              this.args.select.actions.search(Ember.get(lastSelection, this.args.searchField));\n            }\n            this.args.select.actions.open(e);\n          }\n        }\n      } else if (e.keyCode >= 48 && e.keyCode <= 90 || e.keyCode === 32) {\n        // Keys 0-9, a-z or SPACE\n        e.stopPropagation();\n      }\n    }\n    selectedObject(list, index) {\n      if (isIndexAccesible(list)) {\n        return list.objectAt(index);\n      } else {\n        return Ember.get(list, index);\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"textMeasurer\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"openChanged\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"openChanged\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"storeInputStyles\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"storeInputStyles\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"chooseOption\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"chooseOption\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_dec5], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleKeydown\", [_dec6], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Trigger);\n});","define(\"ember-power-select/components/power-select\", [\"exports\", \"@glimmer/component\", \"ember-power-select/utils/group-utils\", \"ember-concurrency-decorators\", \"ember-concurrency\"], function (_exports, _component, _groupUtils, _emberConcurrencyDecorators, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _dec14, _dec15, _dec16, _dec17, _dec18, _dec19, _dec20, _dec21, _dec22, _dec23, _dec24, _dec25, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <BasicDropdown\n    @horizontalPosition={{@horizontalPosition}}\n    @destination={{@destination}}\n    @initiallyOpened={{@initiallyOpened}}\n    @matchTriggerWidth={{this.matchTriggerWidth}}\n    @preventScroll={{or @preventScroll false}}\n    @onClose={{this.handleClose}}\n    @onOpen={{this.handleOpen}}\n    @renderInPlace={{@renderInPlace}}\n    @verticalPosition={{@verticalPosition}}\n    @disabled={{@disabled}}\n    @calculatePosition={{@calculatePosition}}\n    @triggerComponent={{@ebdTriggerComponent}}\n    @contentComponent={{@ebdContentComponent}}\n    as |dropdown|>\n    {{#let (assign dropdown (hash\n      selected=this.selected\n      highlighted=this.highlighted\n      options=this.options\n      results=this.results\n      resultsCount=this.resultsCount\n      loading=this.loading\n      isActive=this.isActive\n      searchText=this.searchText\n      lastSearchedText=this.lastSearchedText\n      actions=(assign dropdown.actions this._publicAPIActions)\n    )) (concat \"ember-power-select-options-\" dropdown.uniqueId) as |publicAPI listboxId|}}\n      <dropdown.Trigger\n        @eventType={{or @eventType \"mousedown\"}}\n        {{did-insert this._updateOptions @options}}\n        {{did-update this._updateOptions @options}}\n        {{did-insert this._updateSelected @selected}}\n        {{did-update this._updateSelected @selected}}\n        {{did-insert this._registerAPI publicAPI}}\n        {{did-update this._registerAPI publicAPI}}\n        {{did-update this._performSearch this.searchText}}\n        {{on \"keydown\" this.handleTriggerKeydown}}\n        {{on \"focus\" this.handleFocus}}\n        {{on \"blur\" this.handleBlur}}\n        class=\"ember-power-select-trigger {{@triggerClass}}{{if publicAPI.isActive \" ember-power-select-trigger--active\"}}\"\n        aria-describedby={{@ariaDescribedBy}}\n        aria-invalid={{@ariaInvalid}}\n        aria-label={{@ariaLabel}}\n        aria-labelledby={{@ariaLabelledBy}}\n        aria-required={{@required}}\n        role={{or @triggerRole \"button\"}}\n        title={{@title}}\n        id={{@triggerId}}\n        tabindex={{and (not @disabled) (or @tabindex \"0\")}}\n        ...attributes\n        >\n        {{#let (component (or @triggerComponent \"power-select/trigger\")) as |Trigger|}}\n          <Trigger\n            @allowClear={{@allowClear}}\n            @buildSelection={{@buildSelection}}\n            @loadingMessage={{or @loadingMessage \"Loading options...\"}}\n            @selectedItemComponent={{@selectedItemComponent}}\n            @select={{publicAPI}}\n            @searchEnabled={{@searchEnabled}}\n            @searchField={{@searchField}}\n            @onFocus={{this.handleFocus}}\n            @onBlur={{this.handleBlur}}\n            @extra={{@extra}}\n            @listboxId={{listboxId}}\n            @onInput={{this.handleInput}}\n            @onKeydown={{this.handleKeydown}}\n            @placeholder={{@placeholder}}\n            @placeholderComponent={{this.placeholderComponent}}\n            as |opt term|>\n            {{yield opt term}}\n          </Trigger>\n        {{/let}}\n      </dropdown.Trigger>\n      <dropdown.Content class=\"ember-power-select-dropdown{{if publicAPI.isActive \" ember-power-select-dropdown--active\"}} {{@dropdownClass}}\">\n        {{#let (component (if (eq @beforeOptionsComponent undefined) \"power-select/before-options\" @beforeOptionsComponent)) as |BeforeOptions|}}\n          <BeforeOptions\n            @select={{publicAPI}}\n            @searchEnabled={{@searchEnabled}}\n            @onInput={{this.handleInput}}\n            @onKeydown={{this.handleKeydown}}\n            @onFocus={{this.handleFocus}}\n            @onBlur={{this.handleBlur}}\n            @placeholder={{@placeholder}}\n            @placeholderComponent={{this.placeholderComponent}}\n            @extra={{@extra}}\n            @listboxId={{listboxId}}\n            @selectedItemComponent={{@selectedItemComponent}}\n            @searchPlaceholder={{@searchPlaceholder}}\n            />\n        {{/let}}\n        {{#if this.mustShowSearchMessage}}\n          {{#let (component (or @searchMessageComponent \"power-select/search-message\")) as |SearchMessage|}}\n            <SearchMessage @searchMessage={{this.searchMessage}} @select={{publicAPI}}/>\n          {{/let}}\n        {{else if this.mustShowNoMessages}}\n          {{#let (component (or @noMatchesMessageComponent \"power-select/no-matches-message\")) as |NoMatchesMessage|}}\n            <NoMatchesMessage @noMatchesMessage={{this.noMatchesMessage}} @select={{publicAPI}} />\n          {{/let}}\n        {{else}}\n          {{#let (component (or @optionsComponent \"power-select/options\")) as |Options|}}\n            <Options\n              @loadingMessage={{or @loadingMessage \"Loading options...\"}}\n              @select={{publicAPI}}\n              @options={{publicAPI.results}}\n              @groupIndex=\"\"\n              @optionsComponent={{Options}}\n              @extra={{@extra}}\n              @highlightOnHover={{this.highlightOnHover}}\n              @groupComponent={{or @groupComponent \"power-select/power-select-group\"}}\n              id={{listboxId}}\n              class=\"ember-power-select-options\" as |option select|>\n              {{yield option select}}\n            </Options>\n          {{/let}}\n        {{/if}}\n        {{#let (component @afterOptionsComponent) as |AfterOptions|}}\n          <AfterOptions\n            @extra={{@extra}}\n            @select={{publicAPI}}\n          />\n        {{/let}}\n      </dropdown.Content>\n    {{/let}}\n  </BasicDropdown>\n  {{!-- <BasicDropdown\n    @horizontalPosition={{@horizontalPosition}}\n    @destination={{@destination}}\n    @initiallyOpened={{@initiallyOpened}}\n    @matchTriggerWidth={{this.matchTriggerWidth}}\n    @preventScroll={{this.preventScroll}}\n    @onClose={{this.handleClose}}\n    @onOpen={{this.handleOpen}}\n    @registerAPI={{this._registerAPI}}\n    @renderInPlace={{@renderInPlace}}\n    @verticalPosition={{@verticalPosition}}\n    @disabled={{@disabled}}\n    @calculatePosition={{this.calculatePosition}}\n    ...attributes as |dropdown|>\n    <dropdown.Trigger\n      @eventType={{or @eventType \"mousedown\"}}\n      {{on \"keydown\" this.handleTriggerKeydown}}\n      {{on \"focus\" this.handleTriggerFocus}}\n      {{on \"blur\" this.handleTriggerBlur}}\n      class={{this.concatenatedTriggerClasses}}\n      id={{@triggerId}}\n      role={{this.triggerRole}}\n      aria-describedby={{@ariaDescribedBy}}\n      aria-invalid={{@ariaInvalid}}\n      aria-label={{@ariaLabel}}\n      aria-labelledby={{@ariaLabelledBy}}\n      aria-required={{@required}}\n      title={{@title}}\n      tabindex={{and (not @disabled) (or @tabindex \"0\")}}>\n      {{#let (component this.triggerComponent) as |Trigger|}}\n        <Trigger\n          @htmlTag={{this._triggerTagName}}\n          @allowClear={{@allowClear}}\n          @buildSelection={{@buildSelection}}\n          @extra={{@extra}}\n          @listboxId={{this.optionsId}}\n          @loadingMessage={{this.loadingMessage}}\n          @onFocus={{this.handleFocus}}\n          @onBlur={{this.handleBlur}}\n          @onInput={{this.handleInput}}\n  \n          @onKeydown={{this.handleKeydown}}\n          @searchEnabled={{@searchEnabled}}\n          @searchField={{@searchField}}\n          @select={{this.publicAPI}}\n          @selectedItemComponent={{@selectedItemComponent}}\n          as |opt term|>\n          {{yield opt term}}\n        </Trigger>\n      {{/let}}\n    </dropdown.Trigger>\n    <dropdown.Content @htmlTag={{this._contentTagName}} class={{this.concatenatedDropdownClasses}}>\n      {{#let (component this.beforeOptionsComponent) as |BeforeOptions|}}\n        <BeforeOptions\n          @animationEnabled={{@animationEnabled}}\n          @select={{this.publicAPI}}\n          @searchEnabled={{@searchEnabled}}\n          @searchPlaceholder={{@searchPlaceholder}}\n          @listboxId={{this.optionsId}}\n          @onInput={{this.handleInput}}\n          @onKeydown={{this.handleKeydown}}\n          @onFocus={{this.handleFocus}}\n          @onBlur={{this.handleBlur}}\n          @extra={{@extra}}\n          @placeholder={{@placeholder}}\n          @placeholderComponent={{this.placeholderComponent}}\n          @selectedItemComponent={{@selectedItemComponent}}/>\n      {{/let}}\n      {{#if this.mustShowSearchMessage}}\n        {{#let (component this.searchMessageComponent) as |SearchMessage|}}\n          <SearchMessage @searchMessage={{this.searchMessage}} @select={{this.publicAPI}}/>\n        {{/let}}\n      {{else if this.mustShowNoMessages}}\n        {{#if this.noMatchesMessage}}\n          <ul class=\"ember-power-select-options\" role=\"listbox\">\n            <li class=\"ember-power-select-option ember-power-select-option--no-matches-message\" role=\"option\">\n              {{this.noMatchesMessage}}\n            </li>\n          </ul>\n        {{/if}}\n      {{else}}\n        {{#let (component this.optionsComponent) as |Options|}}\n          <Options\n            @loadingMessage={{this.loadingMessage}}\n            @groupIndex=\"\"\n            @extra={{@extra}}\n            @select={{this.publicAPI}}\n            @options={{this.publicAPI.results}}\n            @optionsComponent={{Options}}\n            @highlightOnHover={{this.highlightOnHover}}\n            @groupComponent={{this.groupComponent}}\n            id={{this.optionsId}}\n            class=\"ember-power-select-options\" as |option term|>\n            {{yield option term}}\n          </Options>\n        {{/let}}\n      {{/if}}\n      {{#let (component this.afterOptionsComponent) as |AfterOptions|}}\n        <AfterOptions @select={{this.publicAPI}} @extra={{@extra}}/>\n      {{/let}}\n    </dropdown.Content>\n  </BasicDropdown> --}}\n  \n  */\n  {\n    \"id\": \"PdMrfdqo\",\n    \"block\": \"{\\\"symbols\\\":[\\\"dropdown\\\",\\\"publicAPI\\\",\\\"listboxId\\\",\\\"AfterOptions\\\",\\\"Options\\\",\\\"option\\\",\\\"select\\\",\\\"NoMatchesMessage\\\",\\\"SearchMessage\\\",\\\"BeforeOptions\\\",\\\"Trigger\\\",\\\"opt\\\",\\\"term\\\",\\\"@extra\\\",\\\"@loadingMessage\\\",\\\"@groupComponent\\\",\\\"&default\\\",\\\"@optionsComponent\\\",\\\"@noMatchesMessageComponent\\\",\\\"@searchMessageComponent\\\",\\\"@searchEnabled\\\",\\\"@placeholder\\\",\\\"@selectedItemComponent\\\",\\\"@searchPlaceholder\\\",\\\"@allowClear\\\",\\\"@buildSelection\\\",\\\"@searchField\\\",\\\"@eventType\\\",\\\"@triggerClass\\\",\\\"@ariaDescribedBy\\\",\\\"@ariaInvalid\\\",\\\"@ariaLabel\\\",\\\"@ariaLabelledBy\\\",\\\"@required\\\",\\\"@triggerRole\\\",\\\"@title\\\",\\\"@triggerId\\\",\\\"@tabindex\\\",\\\"@disabled\\\",\\\"&attrs\\\",\\\"@options\\\",\\\"@selected\\\",\\\"@triggerComponent\\\",\\\"@dropdownClass\\\",\\\"@beforeOptionsComponent\\\",\\\"@afterOptionsComponent\\\",\\\"@horizontalPosition\\\",\\\"@destination\\\",\\\"@initiallyOpened\\\",\\\"@preventScroll\\\",\\\"@renderInPlace\\\",\\\"@verticalPosition\\\",\\\"@calculatePosition\\\",\\\"@ebdTriggerComponent\\\",\\\"@ebdContentComponent\\\"],\\\"statements\\\":[[8,\\\"basic-dropdown\\\",[],[[\\\"@horizontalPosition\\\",\\\"@destination\\\",\\\"@initiallyOpened\\\",\\\"@matchTriggerWidth\\\",\\\"@preventScroll\\\",\\\"@onClose\\\",\\\"@onOpen\\\",\\\"@renderInPlace\\\",\\\"@verticalPosition\\\",\\\"@disabled\\\",\\\"@calculatePosition\\\",\\\"@triggerComponent\\\",\\\"@contentComponent\\\"],[[32,47],[32,48],[32,49],[32,0,[\\\"matchTriggerWidth\\\"]],[30,[36,0],[[32,50],false],null],[32,0,[\\\"handleClose\\\"]],[32,0,[\\\"handleOpen\\\"]],[32,51],[32,52],[32,39],[32,53],[32,54],[32,55]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,11],[[32,1],[30,[36,12],null,[[\\\"selected\\\",\\\"highlighted\\\",\\\"options\\\",\\\"results\\\",\\\"resultsCount\\\",\\\"loading\\\",\\\"isActive\\\",\\\"searchText\\\",\\\"lastSearchedText\\\",\\\"actions\\\"],[[32,0,[\\\"selected\\\"]],[32,0,[\\\"highlighted\\\"]],[32,0,[\\\"options\\\"]],[32,0,[\\\"results\\\"]],[32,0,[\\\"resultsCount\\\"]],[32,0,[\\\"loading\\\"]],[32,0,[\\\"isActive\\\"]],[32,0,[\\\"searchText\\\"]],[32,0,[\\\"lastSearchedText\\\"]],[30,[36,11],[[32,1,[\\\"actions\\\"]],[32,0,[\\\"_publicAPIActions\\\"]]],null]]]]],null],[30,[36,10],[\\\"ember-power-select-options-\\\",[32,1,[\\\"uniqueId\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,[32,1,[\\\"Trigger\\\"]],[[16,0,[31,[\\\"ember-power-select-trigger \\\",[32,29],[30,[36,3],[[32,2,[\\\"isActive\\\"]],\\\" ember-power-select-trigger--active\\\"],null]]]],[16,\\\"aria-describedby\\\",[32,30]],[16,\\\"aria-invalid\\\",[32,31]],[16,\\\"aria-label\\\",[32,32]],[16,\\\"aria-labelledby\\\",[32,33]],[16,\\\"aria-required\\\",[32,34]],[16,\\\"role\\\",[30,[36,0],[[32,35],\\\"button\\\"],null]],[16,\\\"title\\\",[32,36]],[16,1,[32,37]],[16,\\\"tabindex\\\",[30,[36,5],[[30,[36,4],[[32,39]],null],[30,[36,0],[[32,38],\\\"0\\\"],null]],null]],[17,40],[4,[38,6],[[32,0,[\\\"_updateOptions\\\"]],[32,41]],null],[4,[38,7],[[32,0,[\\\"_updateOptions\\\"]],[32,41]],null],[4,[38,6],[[32,0,[\\\"_updateSelected\\\"]],[32,42]],null],[4,[38,7],[[32,0,[\\\"_updateSelected\\\"]],[32,42]],null],[4,[38,6],[[32,0,[\\\"_registerAPI\\\"]],[32,2]],null],[4,[38,7],[[32,0,[\\\"_registerAPI\\\"]],[32,2]],null],[4,[38,7],[[32,0,[\\\"_performSearch\\\"]],[32,0,[\\\"searchText\\\"]]],null],[4,[38,8],[\\\"keydown\\\",[32,0,[\\\"handleTriggerKeydown\\\"]]],null],[4,[38,8],[\\\"focus\\\",[32,0,[\\\"handleFocus\\\"]]],null],[4,[38,8],[\\\"blur\\\",[32,0,[\\\"handleBlur\\\"]]],null]],[[\\\"@eventType\\\"],[[30,[36,0],[[32,28],\\\"mousedown\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,0],[[32,43],\\\"power-select/trigger\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,11],[],[[\\\"@allowClear\\\",\\\"@buildSelection\\\",\\\"@loadingMessage\\\",\\\"@selectedItemComponent\\\",\\\"@select\\\",\\\"@searchEnabled\\\",\\\"@searchField\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@extra\\\",\\\"@listboxId\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\"],[[32,25],[32,26],[30,[36,0],[[32,15],\\\"Loading options...\\\"],null],[32,23],[32,2],[32,21],[32,27],[32,0,[\\\"handleFocus\\\"]],[32,0,[\\\"handleBlur\\\"]],[32,14],[32,3],[32,0,[\\\"handleInput\\\"]],[32,0,[\\\"handleKeydown\\\"]],[32,22],[32,0,[\\\"placeholderComponent\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[18,17,[[32,12],[32,13]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[12,13]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[11]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n    \\\"],[8,[32,1,[\\\"Content\\\"]],[[16,0,[31,[\\\"ember-power-select-dropdown\\\",[30,[36,3],[[32,2,[\\\"isActive\\\"]],\\\" ember-power-select-dropdown--active\\\"],null],\\\" \\\",[32,44]]]]],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,2],[[30,[36,1],[[30,[36,3],[[30,[36,9],[[32,45],[29]],null],\\\"power-select/before-options\\\",[32,45]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,10],[],[[\\\"@select\\\",\\\"@searchEnabled\\\",\\\"@onInput\\\",\\\"@onKeydown\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@extra\\\",\\\"@listboxId\\\",\\\"@selectedItemComponent\\\",\\\"@searchPlaceholder\\\"],[[32,2],[32,21],[32,0,[\\\"handleInput\\\"]],[32,0,[\\\"handleKeydown\\\"]],[32,0,[\\\"handleFocus\\\"]],[32,0,[\\\"handleBlur\\\"]],[32,22],[32,0,[\\\"placeholderComponent\\\"]],[32,14],[32,3],[32,23],[32,24]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[10]}]]],[6,[37,3],[[32,0,[\\\"mustShowSearchMessage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,0],[[32,20],\\\"power-select/search-message\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,9],[],[[\\\"@searchMessage\\\",\\\"@select\\\"],[[32,0,[\\\"searchMessage\\\"]],[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[9]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,3],[[32,0,[\\\"mustShowNoMessages\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,0],[[32,19],\\\"power-select/no-matches-message\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,8],[],[[\\\"@noMatchesMessage\\\",\\\"@select\\\"],[[32,0,[\\\"noMatchesMessage\\\"]],[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[8]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],[[30,[36,1],[[30,[36,0],[[32,18],\\\"power-select/options\\\"],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"          \\\"],[8,[32,5],[[16,1,[32,3]],[24,0,\\\"ember-power-select-options\\\"]],[[\\\"@loadingMessage\\\",\\\"@select\\\",\\\"@options\\\",\\\"@groupIndex\\\",\\\"@optionsComponent\\\",\\\"@extra\\\",\\\"@highlightOnHover\\\",\\\"@groupComponent\\\"],[[30,[36,0],[[32,15],\\\"Loading options...\\\"],null],[32,2],[32,2,[\\\"results\\\"]],\\\"\\\",[32,5],[32,14],[32,0,[\\\"highlightOnHover\\\"]],[30,[36,0],[[32,16],\\\"power-select/power-select-group\\\"],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[18,17,[[32,6],[32,7]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[6,7]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"      \\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,2],[[30,[36,1],[[32,46]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,4],[],[[\\\"@extra\\\",\\\"@select\\\"],[[32,14],[32,2]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[4]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[2,3]}]]]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"or\\\",\\\"component\\\",\\\"let\\\",\\\"if\\\",\\\"not\\\",\\\"and\\\",\\\"did-insert\\\",\\\"did-update\\\",\\\"on\\\",\\\"eq\\\",\\\"concat\\\",\\\"assign\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select.hbs\"\n  });\n\n  // @ts-ignore\n\n  // Some args are not listed here because they are only accessed from the template. Should I list them?\n\n  const isArrayable = coll => {\n    return typeof coll.toArray === 'function';\n  };\n  const isPromiseLike = thing => {\n    return typeof thing.then === 'function';\n  };\n  const isPromiseProxyLike = thing => {\n    return isPromiseLike(thing) && Object.hasOwnProperty.call(thing, 'content');\n  };\n  const isCancellablePromise = thing => {\n    return typeof thing.cancel === 'function';\n  };\n  let PowerSelect = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._tracked, _dec3 = Ember._tracked, _dec4 = Ember._tracked, _dec5 = Ember._tracked, _dec6 = Ember._tracked, _dec7 = Ember._tracked, _dec8 = Ember._tracked, _dec9 = Ember._tracked, _dec0 = Ember._tracked, _dec1 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _dec14 = Ember._action, _dec15 = Ember._action, _dec16 = Ember._action, _dec17 = Ember._action, _dec18 = Ember._action, _dec19 = Ember._action, _dec20 = Ember._action, _dec21 = Ember._action, _dec22 = Ember._action, _dec23 = Ember._action, _dec24 = Ember._action, _dec25 = Ember._action, _class = class PowerSelect extends _component.default {\n    // Lifecycle hooks\n    constructor(owner, args) {\n      super(owner, args);\n      // Untracked properties\n      _defineProperty(this, \"_publicAPIActions\", {\n        search: this._search,\n        highlight: this._highlight,\n        select: this._select,\n        choose: this._choose,\n        scrollTo: this._scrollTo\n      });\n      // Tracked properties\n      _initializerDefineProperty(this, \"_resolvedOptions\", _descriptor, this);\n      _initializerDefineProperty(this, \"_resolvedSelected\", _descriptor2, this);\n      _initializerDefineProperty(this, \"_repeatingChar\", _descriptor3, this);\n      _initializerDefineProperty(this, \"_expirableSearchText\", _descriptor4, this);\n      _initializerDefineProperty(this, \"_searchResult\", _descriptor5, this);\n      _initializerDefineProperty(this, \"isActive\", _descriptor6, this);\n      _initializerDefineProperty(this, \"loading\", _descriptor7, this);\n      _initializerDefineProperty(this, \"searchText\", _descriptor8, this);\n      _initializerDefineProperty(this, \"lastSearchedText\", _descriptor9, this);\n      _initializerDefineProperty(this, \"highlighted\", _descriptor0, this);\n      _defineProperty(this, \"storedAPI\", void 0);\n      _defineProperty(this, \"_lastOptionsPromise\", void 0);\n      _defineProperty(this, \"_lastSelectedPromise\", void 0);\n      _defineProperty(this, \"_lastSearchPromise\", void 0);\n      _defineProperty(this, \"_filterResultsCache\", {\n        results: [],\n        options: [],\n        searchText: this.searchText\n      });\n      (true && !(this.args.onChange && typeof this.args.onChange === 'function') && Ember.assert('<PowerSelect> requires an `@onChange` function', this.args.onChange && typeof this.args.onChange === 'function'));\n    }\n    willDestroy() {\n      if (this._lastSelectedPromise && isPromiseProxyLike(this._lastSelectedPromise)) {\n        try {\n          Ember.removeObserver(this._lastSelectedPromise, 'content', this, this._selectedObserverCallback);\n        } catch {}\n        this._lastSelectedPromise = undefined;\n      }\n      super.willDestroy.apply(this, arguments);\n    }\n\n    // Getters\n    get highlightOnHover() {\n      return this.args.highlightOnHover === undefined ? true : this.args.highlightOnHover;\n    }\n    get placeholderComponent() {\n      return this.args.placeholderComponent || 'power-select/placeholder';\n    }\n    get searchMessage() {\n      return this.args.searchMessage === undefined ? 'Type to search' : this.args.searchMessage;\n    }\n    get noMatchesMessage() {\n      return this.args.noMatchesMessage === undefined ? 'No results found' : this.args.noMatchesMessage;\n    }\n    get matchTriggerWidth() {\n      return this.args.matchTriggerWidth === undefined ? true : this.args.matchTriggerWidth;\n    }\n    get mustShowSearchMessage() {\n      return !this.loading && this.searchText.length === 0 && !!this.args.search && !!this.searchMessage && this.resultsCount === 0;\n    }\n    get mustShowNoMessages() {\n      return !this.loading && this.resultsCount === 0 && (!this.args.search || this.lastSearchedText.length > 0);\n    }\n    get results() {\n      if (this.searchText.length > 0) {\n        if (this.args.search) {\n          return toPlainArray(this._searchResult || this.options);\n        } else {\n          if (this._filterResultsCache.options === this.options && this._filterResultsCache.searchText === this.searchText) {\n            // This is an optimization to avoid filtering several times, which may be a bit expensive\n            // if there are many options, if neither the options nor the searchtext have changed\n            return this._filterResultsCache.results;\n          }\n          let results = this._filter(this.options, this.searchText);\n          this._filterResultsCache = {\n            results,\n            options: this.options,\n            searchText: this.searchText\n          };\n          return results;\n        }\n      } else {\n        return this.options;\n      }\n    }\n    get options() {\n      if (this._resolvedOptions) return toPlainArray(this._resolvedOptions);\n      if (this.args.options) {\n        return toPlainArray(this.args.options);\n      } else {\n        return [];\n      }\n    }\n    get resultsCount() {\n      return (0, _groupUtils.countOptions)(this.results);\n    }\n    get selected() {\n      if (this._resolvedSelected) {\n        return toPlainArray(this._resolvedSelected);\n      } else if (this.args.selected && typeof this.args.selected.then !== 'function') {\n        return toPlainArray(this.args.selected);\n      }\n      return undefined;\n    }\n\n    // Actions\n    handleOpen(_select, e) {\n      if (this.args.onOpen && this.args.onOpen(this.storedAPI, e) === false) {\n        return false;\n      }\n      if (e) {\n        if (e instanceof KeyboardEvent && e.type === 'keydown' && (e.keyCode === 38 || e.keyCode === 40)) {\n          e.preventDefault();\n        }\n      }\n      this._resetHighlighted();\n    }\n    handleClose(_select, e) {\n      if (this.args.onClose && this.args.onClose(this.storedAPI, e) === false) {\n        return false;\n      }\n      this._highlight(undefined);\n    }\n    handleInput(e) {\n      if (e.target === null) return;\n      let term = e.target.value;\n      let correctedTerm;\n      if (this.args.onInput) {\n        correctedTerm = this.args.onInput(term, this.storedAPI, e);\n        if (correctedTerm === false) {\n          return;\n        }\n      }\n      this._publicAPIActions.search(typeof correctedTerm === 'string' ? correctedTerm : term);\n    }\n    handleKeydown(e) {\n      if (this.args.onKeydown && this.args.onKeydown(this.storedAPI, e) === false) {\n        return false;\n      }\n      return this._routeKeydown(this.storedAPI, e);\n    }\n    handleTriggerKeydown(e) {\n      if (this.args.onKeydown && this.args.onKeydown(this.storedAPI, e) === false) {\n        e.stopImmediatePropagation();\n        return;\n      }\n      if (e.ctrlKey || e.metaKey) {\n        e.stopImmediatePropagation();\n        return;\n      }\n      if (e.keyCode >= 48 && e.keyCode <= 90 || isNumpadKeyEvent(e)) {\n        // Keys 0-9, a-z or numpad keys\n        this.triggerTypingTask.perform(e);\n      } else if (e.keyCode === 32) {\n        // Space\n        this._handleKeySpace(this.storedAPI, e);\n      } else {\n        return this._routeKeydown(this.storedAPI, e);\n      }\n    }\n    handleFocus(event) {\n      if (!this.isDestroying) {\n        Ember.run.scheduleOnce('actions', this, this._updateIsActive, true);\n      }\n      if (this.args.onFocus) {\n        this.args.onFocus(this.storedAPI, event);\n      }\n    }\n    handleBlur(event) {\n      if (!this.isDestroying) {\n        Ember.run.scheduleOnce('actions', this, this._updateIsActive, false);\n      }\n      if (this.args.onBlur) {\n        this.args.onBlur(this.storedAPI, event);\n      }\n    }\n\n    // Methods\n    _search(term) {\n      if (this.searchText === term) return;\n      this.searchText = term;\n      if (!this.args.search) {\n        this.lastSearchedText = term;\n        this._resetHighlighted();\n      }\n    }\n    _updateOptions() {\n      if (!this.args.options) return;\n      if (isPromiseLike(this.args.options)) {\n        if (this._lastOptionsPromise === this.args.options) return; // promise is still the same\n        let currentOptionsPromise = this.args.options;\n        this._lastOptionsPromise = currentOptionsPromise;\n        this.loading = true;\n        this._lastOptionsPromise.then(resolvedOptions => {\n          if (this._lastOptionsPromise === currentOptionsPromise) {\n            this.loading = false;\n            this._resolvedOptions = resolvedOptions;\n            this._resetHighlighted();\n          }\n        }).catch(() => {\n          if (this._lastOptionsPromise === currentOptionsPromise) {\n            this.loading = false;\n          }\n        });\n      } else {\n        Ember.run.scheduleOnce('actions', this, this._resetHighlighted);\n      }\n    }\n    _updateHighlighted() {\n      if (this.storedAPI.isOpen) {\n        this._resetHighlighted();\n      }\n    }\n    _updateSelected() {\n      if (!this.args.selected) return;\n      if (typeof this.args.selected.then === 'function') {\n        if (this._lastSelectedPromise === this.args.selected) return; // promise is still the same\n        if (this._lastSelectedPromise && isPromiseProxyLike(this._lastSelectedPromise)) {\n          Ember.removeObserver(this._lastSelectedPromise, 'content', this, this._selectedObserverCallback);\n        }\n        let currentSelectedPromise = this.args.selected;\n        currentSelectedPromise.then(() => {\n          if (this.isDestroyed || this.isDestroying) return;\n          if (isPromiseProxyLike(currentSelectedPromise)) {\n            Ember.addObserver(currentSelectedPromise, 'content', this, this._selectedObserverCallback);\n          }\n        });\n        this._lastSelectedPromise = currentSelectedPromise;\n        this._lastSelectedPromise.then(resolvedSelected => {\n          if (this._lastSelectedPromise === currentSelectedPromise) {\n            this._resolvedSelected = resolvedSelected;\n            this._highlight(resolvedSelected);\n          }\n        });\n      } else {\n        this._resolvedSelected = undefined;\n        // Don't highlight args.selected array on multi-select\n        if (!Array.isArray(this.args.selected)) {\n          this._highlight(this.args.selected);\n        }\n      }\n    }\n    _selectedObserverCallback() {\n      this._resolvedSelected = this._lastSelectedPromise;\n      this._highlight(this._resolvedSelected);\n    }\n    _highlight(opt) {\n      if (opt && Ember.get(opt, 'disabled')) {\n        return;\n      }\n      this.highlighted = opt;\n    }\n    _select(selected, e) {\n      if (!Ember.isEqual(this.storedAPI.selected, selected)) {\n        this.args.onChange(selected, this.storedAPI, e);\n      }\n    }\n    _choose(selected, e) {\n      let selection = this.args.buildSelection ? this.args.buildSelection(selected, this.storedAPI) : selected;\n      this.storedAPI.actions.select(selection, e);\n      if (this.args.closeOnSelect !== false) {\n        this.storedAPI.actions.close(e);\n        // return false;\n      }\n    }\n    _scrollTo(option) {\n      let select = this.storedAPI;\n      if (!document || !option) {\n        return;\n      }\n      if (this.args.scrollTo) {\n        return this.args.scrollTo(option, select);\n      }\n      let optionsList = document.querySelector(`[aria-controls=\"ember-power-select-trigger-${select.uniqueId}\"]`);\n      if (!optionsList) {\n        return;\n      }\n      let index = (0, _groupUtils.indexOfOption)(select.results, option);\n      if (index === -1) {\n        return;\n      }\n      let optionElement = optionsList.querySelectorAll('[data-option-index]').item(index);\n      if (!optionElement) {\n        return;\n      }\n      let optionTopScroll = optionElement.offsetTop - optionsList.offsetTop;\n      let optionBottomScroll = optionTopScroll + optionElement.offsetHeight;\n      if (optionBottomScroll > optionsList.offsetHeight + optionsList.scrollTop) {\n        optionsList.scrollTop = optionBottomScroll - optionsList.offsetHeight;\n      } else if (optionTopScroll < optionsList.scrollTop) {\n        optionsList.scrollTop = optionTopScroll;\n      }\n    }\n    _registerAPI(_, [publicAPI]) {\n      this.storedAPI = publicAPI;\n      if (this.args.registerAPI) {\n        Ember.run.scheduleOnce('actions', null, this.args.registerAPI, publicAPI);\n      }\n    }\n    _performSearch(_, [term]) {\n      if (!this.args.search) return;\n      if (term === '') {\n        this.loading = false;\n        this.lastSearchedText = term;\n        if (this._lastSearchPromise !== undefined) {\n          if (isCancellablePromise(this._lastSearchPromise)) {\n            this._lastSearchPromise.cancel(); // Cancel ember-concurrency tasks\n          }\n          this._lastSearchPromise = undefined;\n        }\n        return;\n      }\n      let searchResult = this.args.search(term, this.storedAPI);\n      if (searchResult && isPromiseLike(searchResult)) {\n        this.loading = true;\n        if (this._lastSearchPromise !== undefined && isCancellablePromise(this._lastSearchPromise)) {\n          this._lastSearchPromise.cancel(); // Cancel ember-concurrency tasks\n        }\n        this._lastSearchPromise = searchResult;\n        searchResult.then(results => {\n          if (this._lastSearchPromise === searchResult) {\n            this._searchResult = results;\n            this.loading = false;\n            this.lastSearchedText = term;\n            Ember.run.scheduleOnce('actions', this, this._resetHighlighted);\n          }\n        }).catch(() => {\n          if (this._lastSearchPromise === searchResult) {\n            this.loading = false;\n            this.lastSearchedText = term;\n          }\n        });\n      } else {\n        this.lastSearchedText = term;\n        this._searchResult = searchResult;\n        Ember.run.scheduleOnce('actions', this, this._resetHighlighted);\n      }\n    }\n    _defaultBuildSelection(option) {\n      return option;\n    }\n    _routeKeydown(select, e) {\n      if (e.keyCode === 38 || e.keyCode === 40) {\n        // Up & Down\n        return this._handleKeyUpDown(select, e);\n      } else if (e.keyCode === 13) {\n        // ENTER\n        return this._handleKeyEnter(select, e);\n      } else if (e.keyCode === 9) {\n        // Tab\n        return this._handleKeyTab(select, e);\n      } else if (e.keyCode === 27) {\n        // ESC\n        return this._handleKeyESC(select, e);\n      }\n    }\n    _handleKeyTab(select, e) {\n      select.actions.close(e);\n    }\n    _handleKeyESC(select, e) {\n      select.actions.close(e);\n    }\n    _handleKeyEnter(select, e) {\n      if (select.isOpen && select.highlighted !== undefined) {\n        select.actions.choose(select.highlighted, e);\n        e.stopImmediatePropagation();\n        return false;\n      }\n    }\n    _handleKeySpace(select, e) {\n      if (e.target !== null && ['TEXTAREA', 'INPUT'].includes(e.target.nodeName)) {\n        e.stopImmediatePropagation();\n      } else if (select.isOpen && select.highlighted !== undefined) {\n        e.stopImmediatePropagation();\n        e.preventDefault(); // Prevents scrolling of the page.\n        select.actions.choose(select.highlighted, e);\n      }\n    }\n    _handleKeyUpDown(select, e) {\n      if (select.isOpen) {\n        e.preventDefault();\n        e.stopPropagation();\n        let step = e.keyCode === 40 ? 1 : -1;\n        let newHighlighted = (0, _groupUtils.advanceSelectableOption)(select.results, select.highlighted, step);\n        select.actions.highlight(newHighlighted);\n        select.actions.scrollTo(newHighlighted);\n      } else {\n        select.actions.open(e);\n      }\n    }\n    _resetHighlighted() {\n      let highlighted;\n      let defHighlighted = this.args.defaultHighlighted || _groupUtils.defaultHighlighted;\n      if (typeof defHighlighted === 'function') {\n        highlighted = defHighlighted({\n          results: this.results,\n          highlighted: this.highlighted,\n          selected: this.selected\n        });\n      } else {\n        highlighted = defHighlighted;\n      }\n      this._highlight(highlighted);\n    }\n    _filter(options, term, skipDisabled = false) {\n      let matcher = this.args.matcher || _groupUtils.defaultMatcher;\n      let optionMatcher = getOptionMatcher(matcher, _groupUtils.defaultMatcher, this.args.searchField);\n      return (0, _groupUtils.filterOptions)(options || [], term, optionMatcher, skipDisabled);\n    }\n    _updateIsActive(value) {\n      this.isActive = value;\n    }\n    findWithOffset(options, term, offset, skipDisabled = false) {\n      let typeAheadOptionMatcher = getOptionMatcher(this.args.typeAheadOptionMatcher || _groupUtils.defaultTypeAheadMatcher, _groupUtils.defaultTypeAheadMatcher, this.args.searchField);\n      return (0, _groupUtils.findOptionWithOffset)(options || [], term, typeAheadOptionMatcher, offset, skipDisabled);\n    }\n\n    // Tasks\n    *triggerTypingTask(e) {\n      // In general, a user doing this interaction means to have a different result.\n      let searchStartOffset = 1;\n      let repeatingChar = this._repeatingChar;\n      let charCode = e.keyCode;\n      if (isNumpadKeyEvent(e)) {\n        charCode -= 48; // Adjust char code offset for Numpad key codes. Check here for numapd key code behavior: https://goo.gl/Qwc9u4\n      }\n      let term;\n\n      // Check if user intends to cycle through results. _repeatingChar can only be the first character.\n      let c = String.fromCharCode(charCode);\n      if (c === this._repeatingChar) {\n        term = c;\n      } else {\n        term = this._expirableSearchText + c;\n      }\n      if (term.length > 1) {\n        // If the term is longer than one char, the user is in the middle of a non-cycling interaction\n        // so the offset is just zero (the current selection is a valid match).\n        searchStartOffset = 0;\n        repeatingChar = '';\n      } else {\n        repeatingChar = c;\n      }\n\n      // When the select is open, the \"selection\" is just highlighted.\n      if (this.storedAPI.isOpen && this.storedAPI.highlighted) {\n        searchStartOffset += (0, _groupUtils.indexOfOption)(this.storedAPI.options, this.storedAPI.highlighted);\n      } else if (!this.storedAPI.isOpen && this.selected) {\n        searchStartOffset += (0, _groupUtils.indexOfOption)(this.storedAPI.options, this.selected);\n      } else {\n        searchStartOffset = 0;\n      }\n\n      // The char is always appended. That way, searching for words like \"Aaron\" will work even\n      // if \"Aa\" would cycle through the results.\n      this._expirableSearchText = this._expirableSearchText + c;\n      this._repeatingChar = repeatingChar;\n      let match = this.findWithOffset(this.storedAPI.options, term, searchStartOffset, true);\n      if (match !== undefined) {\n        if (this.storedAPI.isOpen) {\n          this.storedAPI.actions.highlight(match);\n          this.storedAPI.actions.scrollTo(match);\n        } else {\n          this.storedAPI.actions.select(match, e);\n        }\n      }\n      yield (0, _emberConcurrency.timeout)(1000);\n      this._expirableSearchText = '';\n      this._repeatingChar = '';\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_resolvedOptions\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"_resolvedSelected\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"_repeatingChar\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"_expirableSearchText\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"_searchResult\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"isActive\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"loading\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"searchText\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"lastSearchedText\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return '';\n    }\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"highlighted\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"handleOpen\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"handleOpen\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleClose\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"handleClose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleInput\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"handleInput\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleKeydown\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleTriggerKeydown\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"handleTriggerKeydown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFocus\", [_dec14], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocus\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleBlur\", [_dec15], Object.getOwnPropertyDescriptor(_class.prototype, \"handleBlur\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_search\", [_dec16], Object.getOwnPropertyDescriptor(_class.prototype, \"_search\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_updateOptions\", [_dec17], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateOptions\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_updateHighlighted\", [_dec18], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateHighlighted\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_updateSelected\", [_dec19], Object.getOwnPropertyDescriptor(_class.prototype, \"_updateSelected\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_highlight\", [_dec20], Object.getOwnPropertyDescriptor(_class.prototype, \"_highlight\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_select\", [_dec21], Object.getOwnPropertyDescriptor(_class.prototype, \"_select\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_choose\", [_dec22], Object.getOwnPropertyDescriptor(_class.prototype, \"_choose\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_scrollTo\", [_dec23], Object.getOwnPropertyDescriptor(_class.prototype, \"_scrollTo\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_registerAPI\", [_dec24], Object.getOwnPropertyDescriptor(_class.prototype, \"_registerAPI\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"_performSearch\", [_dec25], Object.getOwnPropertyDescriptor(_class.prototype, \"_performSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"triggerTypingTask\", [_emberConcurrencyDecorators.restartableTask], Object.getOwnPropertyDescriptor(_class.prototype, \"triggerTypingTask\"), _class.prototype), _class);\n  function getOptionMatcher(matcher, defaultMatcher, searchField) {\n    if (searchField && matcher === defaultMatcher) {\n      return (option, text) => matcher(Ember.get(option, searchField), text);\n    } else {\n      return (option, text) => {\n        (true && !(matcher !== defaultMatcher || typeof option === 'string') && Ember.assert('<PowerSelect> If you want the default filtering to work on options that are not plain strings, you need to provide `@searchField`', matcher !== defaultMatcher || typeof option === 'string'));\n        return matcher(option, text);\n      };\n    }\n  }\n  function isNumpadKeyEvent(e) {\n    return e.keyCode >= 96 && e.keyCode <= 105;\n  }\n  const toPlainArray = collection => {\n    if (isArrayable(collection)) {\n      return collection.toArray();\n    } else {\n      return collection;\n    }\n  };\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, PowerSelect);\n});","define(\"ember-power-select/components/power-select/before-options\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @searchEnabled}}\n    <div class=\"ember-power-select-search\">\n      <input type=\"search\" autocomplete=\"off\"\n        autocorrect=\"off\" autocapitalize=\"off\"\n        spellcheck={{false}} role=\"combobox\"\n        class=\"ember-power-select-search-input\"\n        value={{@select.searchText}}\n        aria-controls={{@listboxId}}\n        placeholder={{@searchPlaceholder}}\n        {{on \"input\" @onInput}}\n        {{on \"focus\" @onFocus}}\n        {{on \"blur\" @onBlur}}\n        {{on \"keydown\" this.handleKeydown}}\n        {{did-insert this.focusInput}}\n        {{will-destroy this.clearSearch}}>\n    </div>\n  {{/if}}\n  */\n  {\n    \"id\": \"v3kQqDz9\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@select\\\",\\\"@listboxId\\\",\\\"@searchPlaceholder\\\",\\\"@onInput\\\",\\\"@onFocus\\\",\\\"@onBlur\\\",\\\"@searchEnabled\\\"],\\\"statements\\\":[[6,[37,3],[[32,7]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"div\\\"],[14,0,\\\"ember-power-select-search\\\"],[12],[2,\\\"\\\\n    \\\"],[11,\\\"input\\\"],[24,\\\"autocomplete\\\",\\\"off\\\"],[24,\\\"autocorrect\\\",\\\"off\\\"],[24,\\\"autocapitalize\\\",\\\"off\\\"],[16,\\\"spellcheck\\\",false],[24,\\\"role\\\",\\\"combobox\\\"],[24,0,\\\"ember-power-select-search-input\\\"],[16,2,[32,1,[\\\"searchText\\\"]]],[16,\\\"aria-controls\\\",[32,2]],[16,\\\"placeholder\\\",[32,3]],[24,4,\\\"search\\\"],[4,[38,0],[\\\"input\\\",[32,4]],null],[4,[38,0],[\\\"focus\\\",[32,5]],null],[4,[38,0],[\\\"blur\\\",[32,6]],null],[4,[38,0],[\\\"keydown\\\",[32,0,[\\\"handleKeydown\\\"]]],null],[4,[38,1],[[32,0,[\\\"focusInput\\\"]]],null],[4,[38,2],[[32,0,[\\\"clearSearch\\\"]]],null],[12],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/before-options.hbs\"\n  });\n  let BeforeOptions = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, _dec3 = Ember._action, _class = class BeforeOptions extends _component.default {\n    clearSearch() {\n      Ember.run.scheduleOnce('actions', this.args.select.actions, 'search', '');\n    }\n    handleKeydown(e) {\n      if (this.args.onKeydown(e) === false) {\n        return false;\n      }\n      if (e.keyCode === 13) {\n        this.args.select.actions.close(e);\n      }\n    }\n    focusInput(el) {\n      Ember.run.later(() => {\n        if (this.args.autofocus !== false) {\n          el.focus();\n        }\n      }, 0);\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"clearSearch\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"clearSearch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleKeydown\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handleKeydown\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"focusInput\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"focusInput\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, BeforeOptions);\n});","define(\"ember-power-select/components/power-select/no-matches-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @noMatchesMessage}}\n    <ul class=\"ember-power-select-options\" role=\"listbox\">\n      <li class=\"ember-power-select-option ember-power-select-option--no-matches-message\" role=\"option\">\n        {{@noMatchesMessage}}\n      </li>\n    </ul>\n  {{/if}}\n  */\n  {\n    \"id\": \"e1arW6+4\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@noMatchesMessage\\\"],\\\"statements\\\":[[6,[37,0],[[32,1]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"ul\\\"],[14,0,\\\"ember-power-select-options\\\"],[14,\\\"role\\\",\\\"listbox\\\"],[12],[2,\\\"\\\\n    \\\"],[10,\\\"li\\\"],[14,0,\\\"ember-power-select-option ember-power-select-option--no-matches-message\\\"],[14,\\\"role\\\",\\\"option\\\"],[12],[2,\\\"\\\\n      \\\"],[1,[32,1]],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/no-matches-message.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-power-select/components/power-select/options\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _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__ = Ember.HTMLBars.template(\n  /*\n    <ul role=\"listbox\" aria-controls=\"ember-power-select-trigger-{{@select.uniqueId}}\" {{did-insert this.addHandlers}} {{will-destroy this.removeHandlers}} ...attributes>\n    {{! template-lint-disable no-unnecessary-concat }}\n    {{#if @select.loading}}\n      {{#if @loadingMessage}}\n        <li class=\"ember-power-select-option ember-power-select-option--loading-message\" role=\"option\">{{@loadingMessage}}</li>\n      {{/if}}\n    {{/if}}\n    {{#let (component @groupComponent) (component @optionsComponent) as |Group Options|}}\n      {{#each @options as |opt index|}}\n        {{#if (ember-power-select-is-group opt)}}\n          <Group @group={{opt}} @select={{@select}} @extra={{@extra}}>\n            <Options\n              @options={{opt.options}}\n              @select={{@select}}\n              @groupIndex=\"{{@groupIndex}}{{index}}.\"\n              @optionsComponent={{@optionsComponent}}\n              @groupComponent={{@groupComponent}}\n              @extra={{@extra}}\n              role=\"group\"\n              class=\"ember-power-select-options\" as |option|>\n              {{yield option @select}}\n            </Options>\n          </Group>\n        {{else}}\n          <li class=\"ember-power-select-option\"\n            aria-selected=\"{{ember-power-select-is-selected opt @select.selected}}\"\n            aria-disabled={{if opt.disabled \"true\"}}\n            aria-current=\"{{eq opt @select.highlighted}}\"\n            data-option-index=\"{{@groupIndex}}{{index}}\"\n            role={{if (eq opt @select.highlighted) \"alert\" \"option\"}}>\n            {{yield opt @select}}\n          </li>\n        {{/if}}\n      {{/each}}\n    {{/let}}\n  </ul>\n  \n  */\n  {\n    \"id\": \"8mjJJKoE\",\n    \"block\": \"{\\\"symbols\\\":[\\\"Group\\\",\\\"Options\\\",\\\"opt\\\",\\\"index\\\",\\\"option\\\",\\\"@select\\\",\\\"@groupIndex\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@optionsComponent\\\",\\\"@groupComponent\\\",\\\"@options\\\",\\\"@loadingMessage\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"ul\\\"],[24,\\\"role\\\",\\\"listbox\\\"],[16,\\\"aria-controls\\\",[31,[\\\"ember-power-select-trigger-\\\",[32,6,[\\\"uniqueId\\\"]]]]],[17,14],[4,[38,6],[[32,0,[\\\"addHandlers\\\"]]],null],[4,[38,7],[[32,0,[\\\"removeHandlers\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[32,6,[\\\"loading\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,13]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[10,\\\"li\\\"],[14,0,\\\"ember-power-select-option ember-power-select-option--loading-message\\\"],[14,\\\"role\\\",\\\"option\\\"],[12],[1,[32,13]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[6,[37,9],[[30,[36,8],[[32,11]],null],[30,[36,8],[[32,10]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[30,[36,4],[[32,12]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[30,[36,3],[[32,3]],null]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[8,[32,1],[],[[\\\"@group\\\",\\\"@select\\\",\\\"@extra\\\"],[[32,3],[32,6],[32,9]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n          \\\"],[8,[32,2],[[24,\\\"role\\\",\\\"group\\\"],[24,0,\\\"ember-power-select-options\\\"]],[[\\\"@options\\\",\\\"@select\\\",\\\"@groupIndex\\\",\\\"@optionsComponent\\\",\\\"@groupComponent\\\",\\\"@extra\\\"],[[32,3,[\\\"options\\\"]],[32,6],[31,[[32,7],[32,4],\\\".\\\"]],[32,10],[32,11],[32,9]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n            \\\"],[18,8,[[32,5],[32,6]]],[2,\\\"\\\\n          \\\"]],\\\"parameters\\\":[5]}]]],[2,\\\"\\\\n        \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[10,\\\"li\\\"],[14,0,\\\"ember-power-select-option\\\"],[15,\\\"aria-selected\\\",[31,[[30,[36,0],[[32,3],[32,6,[\\\"selected\\\"]]],null]]]],[15,\\\"aria-disabled\\\",[30,[36,1],[[32,3,[\\\"disabled\\\"]],\\\"true\\\"],null]],[15,\\\"aria-current\\\",[31,[[30,[36,2],[[32,3],[32,6,[\\\"highlighted\\\"]]],null]]]],[15,\\\"data-option-index\\\",[31,[[32,7],[32,4]]]],[15,\\\"role\\\",[30,[36,1],[[30,[36,2],[[32,3],[32,6,[\\\"highlighted\\\"]]],null],\\\"alert\\\",\\\"option\\\"],null]],[12],[2,\\\"\\\\n          \\\"],[18,8,[[32,3],[32,6]]],[2,\\\"\\\\n        \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3,4]}]]]],\\\"parameters\\\":[1,2]}]]],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"ember-power-select-is-selected\\\",\\\"if\\\",\\\"eq\\\",\\\"ember-power-select-is-group\\\",\\\"-track-array\\\",\\\"each\\\",\\\"did-insert\\\",\\\"will-destroy\\\",\\\"component\\\",\\\"let\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/options.hbs\"\n  });\n  const isTouchDevice = !!window && 'ontouchstart' in window;\n  if (typeof FastBoot === 'undefined') {\n    (function (ElementProto) {\n      if (typeof ElementProto.matches !== 'function') {\n        ElementProto.matches = ElementProto.msMatchesSelector || ElementProto.mozMatchesSelector || ElementProto.webkitMatchesSelector;\n      }\n      if (typeof ElementProto.closest !== 'function') {\n        ElementProto.closest = function closest(selector) {\n          let element = this;\n          while (element !== null && element.nodeType === 1) {\n            if (element.matches(selector)) {\n              return element;\n            }\n            element = element.parentNode;\n          }\n          return null;\n        };\n      }\n    })(window.Element.prototype);\n  }\n  let Options = _exports.default = (_dec = Ember._action, _dec2 = Ember._action, _class = class Options extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"isTouchDevice\", isTouchDevice);\n      _defineProperty(this, \"hasMoved\", false);\n      _defineProperty(this, \"mouseOverHandler\", _ => {});\n      _defineProperty(this, \"mouseUpHandler\", _ => {});\n      _defineProperty(this, \"touchEndHandler\", _ => {});\n      _defineProperty(this, \"touchMoveHandler\", _ => {});\n      _defineProperty(this, \"touchStartHandler\", _ => {});\n    }\n    addHandlers(element) {\n      let role = element.getAttribute('role');\n      if (role === 'group') {\n        return;\n      }\n      let findOptionAndPerform = (action, e) => {\n        if (e.target === null) return;\n        let optionItem = e.target.closest('[data-option-index]');\n        if (!optionItem) {\n          return;\n        }\n        if (optionItem.closest('[aria-disabled=true]')) {\n          return; // Abort if the item or an ancestor is disabled\n        }\n        let optionIndex = optionItem.getAttribute('data-option-index');\n        if (optionIndex === null) return;\n        action(this._optionFromIndex(optionIndex), e);\n      };\n      this.mouseUpHandler = e => findOptionAndPerform(this.args.select.actions.choose, e);\n      element.addEventListener('mouseup', this.mouseUpHandler);\n      if (this.args.highlightOnHover) {\n        this.mouseOverHandler = e => findOptionAndPerform(this.args.select.actions.highlight, e);\n        element.addEventListener('mouseover', this.mouseOverHandler);\n      }\n      if (this.isTouchDevice) {\n        this.touchMoveHandler = _ => {\n          this.hasMoved = true;\n          if (element) {\n            element.removeEventListener('touchmove', this.touchMoveHandler);\n          }\n        };\n        // Add touch event handlers to detect taps\n        this.touchStartHandler = _ => {\n          element.addEventListener('touchmove', this.touchMoveHandler);\n        };\n        this.touchEndHandler = e => {\n          if (e.target === null) return;\n          let optionItem = e.target.closest('[data-option-index]');\n          if (optionItem === null) return;\n          e.preventDefault();\n          if (this.hasMoved) {\n            this.hasMoved = false;\n            return;\n          }\n          if (optionItem.closest('[aria-disabled=true]')) {\n            return; // Abort if the item or an ancestor is disabled\n          }\n          let optionIndex = optionItem.getAttribute('data-option-index');\n          if (optionIndex === null) return;\n          this.args.select.actions.choose(this._optionFromIndex(optionIndex), e);\n        };\n        element.addEventListener('touchstart', this.touchStartHandler);\n        element.addEventListener('touchend', this.touchEndHandler);\n      }\n      if (role !== 'group') {\n        this.args.select.actions.scrollTo(this.args.select.highlighted);\n      }\n    }\n    removeHandlers(element) {\n      element.removeEventListener('mouseup', this.mouseUpHandler);\n      element.removeEventListener('mouseover', this.mouseOverHandler);\n      element.removeEventListener('touchstart', this.touchStartHandler);\n      element.removeEventListener('touchmove', this.touchMoveHandler);\n      element.removeEventListener('touchend', this.touchEndHandler);\n    }\n    _optionFromIndex(index) {\n      let parts = index.split('.');\n      let option = this.args.options[parseInt(parts[0], 10)];\n      for (let i = 1; i < parts.length; i++) {\n        option = option.options[parseInt(parts[i], 10)];\n      }\n      return option;\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"addHandlers\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"addHandlers\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeHandlers\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"removeHandlers\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Options);\n});","define(\"ember-power-select/components/power-select/placeholder\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @placeholder}}\n    <span class=\"ember-power-select-placeholder\" ...attributes>{{@placeholder}}</span>\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"+cRV3Jd+\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&attrs\\\",\\\"@placeholder\\\"],\\\"statements\\\":[[6,[37,0],[[32,2]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"span\\\"],[24,0,\\\"ember-power-select-placeholder\\\"],[17,1],[12],[1,[32,2]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/placeholder.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-power-select/components/power-select/power-select-group\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <li class=\"ember-power-select-group\" aria-disabled={{if @group.disabled \"true\"}} role=\"option\">\n    <span class=\"ember-power-select-group-name\">{{@group.groupName}}</span>\n    {{yield}}\n  </li>\n  */\n  {\n    \"id\": \"VMenmtgj\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@group\\\",\\\"&default\\\"],\\\"statements\\\":[[10,\\\"li\\\"],[14,0,\\\"ember-power-select-group\\\"],[15,\\\"aria-disabled\\\",[30,[36,0],[[32,1,[\\\"disabled\\\"]],\\\"true\\\"],null]],[14,\\\"role\\\",\\\"option\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"span\\\"],[14,0,\\\"ember-power-select-group-name\\\"],[12],[1,[32,1,[\\\"groupName\\\"]]],[13],[2,\\\"\\\\n  \\\"],[18,2,null],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/power-select-group.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-power-select/components/power-select/search-message\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <ul class=\"ember-power-select-options\" role=\"listbox\">\n    <li class=\"ember-power-select-option ember-power-select-option--search-message\" role=\"option\">\n      {{@searchMessage}}\n    </li>\n  </ul>\n  */\n  {\n    \"id\": \"orEza9Fi\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@searchMessage\\\"],\\\"statements\\\":[[10,\\\"ul\\\"],[14,0,\\\"ember-power-select-options\\\"],[14,\\\"role\\\",\\\"listbox\\\"],[12],[2,\\\"\\\\n  \\\"],[10,\\\"li\\\"],[14,0,\\\"ember-power-select-option ember-power-select-option--search-message\\\"],[14,\\\"role\\\",\\\"option\\\"],[12],[2,\\\"\\\\n    \\\"],[1,[32,1]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/search-message.hbs\"\n  });\n  var _default = _exports.default = Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Ember._templateOnlyComponent());\n});","define(\"ember-power-select/components/power-select/trigger\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @select.selected}}\n    {{#if @selectedItemComponent}}\n      {{component @selectedItemComponent extra=(readonly @extra) option=(readonly @select.selected) select=(readonly @select)}}\n    {{else}}\n      <span class=\"ember-power-select-selected-item\">{{yield @select.selected @select}}</span>\n    {{/if}}\n    {{#if (and @allowClear (not @select.disabled))}}\n      <span class=\"ember-power-select-clear-btn\" role=\"button\" {{on \"mousedown\" this.clear}} {{on \"touchstart\" this.clear}}>&times;</span>\n    {{/if}}\n  {{else}}\n    {{component @placeholderComponent placeholder=@placeholder}}\n  {{/if}}\n  <span class=\"ember-power-select-status-icon\"></span>\n  \n  */\n  {\n    \"id\": \"St/HbVPy\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@placeholder\\\",\\\"@placeholderComponent\\\",\\\"@select\\\",\\\"&default\\\",\\\"@extra\\\",\\\"@selectedItemComponent\\\",\\\"@allowClear\\\"],\\\"statements\\\":[[6,[37,3],[[32,3,[\\\"selected\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,3],[[32,6]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,0],[[32,6]],[[\\\"extra\\\",\\\"option\\\",\\\"select\\\"],[[30,[36,2],[[32,5]],null],[30,[36,2],[[32,3,[\\\"selected\\\"]]],null],[30,[36,2],[[32,3]],null]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[10,\\\"span\\\"],[14,0,\\\"ember-power-select-selected-item\\\"],[12],[18,4,[[32,3,[\\\"selected\\\"]],[32,3]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,3],[[30,[36,5],[[32,7],[30,[36,4],[[32,3,[\\\"disabled\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[11,\\\"span\\\"],[24,0,\\\"ember-power-select-clear-btn\\\"],[24,\\\"role\\\",\\\"button\\\"],[4,[38,1],[\\\"mousedown\\\",[32,0,[\\\"clear\\\"]]],null],[4,[38,1],[\\\"touchstart\\\",[32,0,[\\\"clear\\\"]]],null],[12],[2,\\\"×\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,0],[[32,2]],[[\\\"placeholder\\\"],[[32,1]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[10,\\\"span\\\"],[14,0,\\\"ember-power-select-status-icon\\\"],[12],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"on\\\",\\\"readonly\\\",\\\"if\\\",\\\"not\\\",\\\"and\\\"]}\",\n    \"moduleName\": \"ember-power-select/components/power-select/trigger.hbs\"\n  });\n  let Trigger = _exports.default = (_dec = Ember._action, _class = class Trigger extends _component.default {\n    clear(e) {\n      e.stopPropagation();\n      this.args.select.actions.select(null);\n      if (e.type === 'touchstart') {\n        return false;\n      }\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"clear\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"clear\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, Trigger);\n});","define(\"ember-power-select/helpers/ember-power-select-is-group\", [\"exports\", \"ember-power-select/utils/group-utils\"], function (_exports, _groupUtils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.emberPowerSelectIsGroup = emberPowerSelectIsGroup;\n  function emberPowerSelectIsGroup([maybeGroup]) {\n    return (0, _groupUtils.isGroup)(maybeGroup);\n  }\n  var _default = _exports.default = Ember.Helper.helper(emberPowerSelectIsGroup);\n});","define(\"ember-power-select/helpers/ember-power-select-is-selected\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.emberPowerSelectIsSelected = emberPowerSelectIsSelected;\n  // TODO: Make it private or scoped to the component\n  function emberPowerSelectIsSelected([option, selected]) {\n    if (selected === undefined || selected === null) {\n      return false;\n    }\n    if (Ember.isArray(selected)) {\n      for (let i = 0; i < selected.length; i++) {\n        if (Ember.isEqual(selected[i], option)) {\n          return true;\n        }\n      }\n      return false;\n    } else {\n      return Ember.isEqual(option, selected);\n    }\n  }\n  var _default = _exports.default = Ember.Helper.helper(emberPowerSelectIsSelected);\n});","define(\"ember-power-select/utils/computed-fallback-if-undefined\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = computedFallbackIfUndefined;\n  function computedFallbackIfUndefined(fallback) {\n    return Ember.computed({\n      get() {\n        return fallback;\n      },\n      set(_, v) {\n        return v === undefined ? fallback : v;\n      }\n    });\n  }\n});","define(\"ember-power-select/utils/group-utils\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.advanceSelectableOption = advanceSelectableOption;\n  _exports.countOptions = countOptions;\n  _exports.defaultHighlighted = defaultHighlighted;\n  _exports.defaultMatcher = defaultMatcher;\n  _exports.defaultTypeAheadMatcher = defaultTypeAheadMatcher;\n  _exports.filterOptions = filterOptions;\n  _exports.findOptionWithOffset = findOptionWithOffset;\n  _exports.indexOfOption = indexOfOption;\n  _exports.isGroup = isGroup;\n  _exports.optionAtIndex = optionAtIndex;\n  _exports.stripDiacritics = stripDiacritics;\n  function isGroup(entry) {\n    return !!entry && !!Ember.get(entry, 'groupName') && !!Ember.get(entry, 'options');\n  }\n  function countOptions(collection) {\n    let counter = 0;\n    (function walk(collection) {\n      if (!collection) {\n        return;\n      }\n      for (let i = 0; i < Ember.get(collection, 'length'); i++) {\n        let entry = collection.objectAt ? collection.objectAt(i) : collection[i];\n        if (isGroup(entry)) {\n          walk(Ember.get(entry, 'options'));\n        } else {\n          counter++;\n        }\n      }\n    })(collection);\n    return counter;\n  }\n  function indexOfOption(collection, option) {\n    let index = 0;\n    return function walk(collection) {\n      if (!collection) {\n        return -1;\n      }\n      for (let i = 0; i < Ember.get(collection, 'length'); i++) {\n        let entry = collection.objectAt ? collection.objectAt(i) : collection[i];\n        if (isGroup(entry)) {\n          let result = walk(Ember.get(entry, 'options'));\n          if (result > -1) {\n            return result;\n          }\n        } else if (entry === option) {\n          return index;\n        } else {\n          index++;\n        }\n      }\n      return -1;\n    }(collection);\n  }\n  function optionAtIndex(originalCollection, index) {\n    let counter = 0;\n    return function walk(collection, ancestorIsDisabled) {\n      if (!collection || index < 0) {\n        return {\n          disabled: false,\n          option: undefined\n        };\n      }\n      let localCounter = 0;\n      let length = Ember.get(collection, 'length');\n      while (counter <= index && localCounter < length) {\n        let entry = collection.objectAt ? collection.objectAt(localCounter) : collection[localCounter];\n        if (isGroup(entry)) {\n          let found = walk(Ember.get(entry, 'options'), ancestorIsDisabled || !!Ember.get(entry, 'disabled'));\n          if (found) {\n            return found;\n          }\n        } else if (counter === index) {\n          return {\n            disabled: ancestorIsDisabled || !!Ember.get(entry, 'disabled'),\n            option: entry\n          };\n        } else {\n          counter++;\n        }\n        localCounter++;\n      }\n    }(originalCollection, false) || {\n      disabled: false,\n      option: undefined\n    };\n  }\n  function copyGroup(group, suboptions) {\n    let groupCopy = {\n      groupName: group.groupName,\n      options: suboptions\n    };\n    if (group.hasOwnProperty('disabled')) {\n      groupCopy.disabled = group.disabled;\n    }\n    return groupCopy;\n  }\n  function findOptionWithOffset(options, text, matcher, offset, skipDisabled = false) {\n    let counter = 0;\n    let foundBeforeOffset;\n    let foundAfterOffset = false;\n    let canStop = () => !!foundAfterOffset;\n    (function walk(options, ancestorIsDisabled) {\n      let length = Ember.get(options, 'length');\n      for (let i = 0; i < length; i++) {\n        let entry = options.objectAt ? options.objectAt(i) : options[i];\n        let entryIsDisabled = !!Ember.get(entry, 'disabled');\n        if (!skipDisabled || !entryIsDisabled) {\n          if (isGroup(entry)) {\n            walk(Ember.get(entry, 'options'), ancestorIsDisabled || entryIsDisabled);\n            if (canStop()) {\n              return;\n            }\n          } else if (matcher(entry, text) >= 0) {\n            if (counter < offset) {\n              if (!foundBeforeOffset) {\n                foundBeforeOffset = entry;\n              }\n            } else {\n              foundAfterOffset = entry;\n            }\n            counter++;\n          } else {\n            counter++;\n          }\n          if (canStop()) {\n            return;\n          }\n        }\n      }\n    })(options, false);\n    return foundAfterOffset ? foundAfterOffset : foundBeforeOffset;\n  }\n  function filterOptions(options, text, matcher, skipDisabled = false) {\n    let opts = Ember.A();\n    let length = Ember.get(options, 'length');\n    for (let i = 0; i < length; i++) {\n      let entry = options.objectAt ? options.objectAt(i) : options[i];\n      if (!skipDisabled || !Ember.get(entry, 'disabled')) {\n        if (isGroup(entry)) {\n          let suboptions = filterOptions(Ember.get(entry, 'options'), text, matcher, skipDisabled);\n          if (Ember.get(suboptions, 'length') > 0) {\n            opts.push(copyGroup(entry, suboptions));\n          }\n        } else if (matcher(entry, text) >= 0) {\n          opts.push(entry);\n        }\n      }\n    }\n    return opts;\n  }\n  function defaultHighlighted({\n    results,\n    highlighted,\n    selected\n  }) {\n    let option = highlighted || selected;\n    if (option === undefined || indexOfOption(results, option) === -1) {\n      return advanceSelectableOption(results, option, 1);\n    }\n    return option;\n  }\n  function advanceSelectableOption(options, currentOption, step) {\n    let resultsLength = countOptions(options);\n    let startIndex = Math.min(Math.max(indexOfOption(options, currentOption) + step, 0), resultsLength - 1);\n    let {\n      disabled,\n      option\n    } = optionAtIndex(options, startIndex);\n    while (option && disabled) {\n      let next = optionAtIndex(options, startIndex += step);\n      disabled = next.disabled;\n      option = next.option;\n    }\n    return option;\n  }\n  const DIACRITICS = {\n    'Ⓐ': 'A',\n    'Ａ': 'A',\n    'À': 'A',\n    'Á': 'A',\n    'Â': 'A',\n    'Ầ': 'A',\n    'Ấ': 'A',\n    'Ẫ': 'A',\n    'Ẩ': 'A',\n    'Ã': 'A',\n    'Ā': 'A',\n    'Ă': 'A',\n    'Ằ': 'A',\n    'Ắ': 'A',\n    'Ẵ': 'A',\n    'Ẳ': 'A',\n    'Ȧ': 'A',\n    'Ǡ': 'A',\n    'Ä': 'A',\n    'Ǟ': 'A',\n    'Ả': 'A',\n    'Å': 'A',\n    'Ǻ': 'A',\n    'Ǎ': 'A',\n    'Ȁ': 'A',\n    'Ȃ': 'A',\n    'Ạ': 'A',\n    'Ậ': 'A',\n    'Ặ': 'A',\n    'Ḁ': 'A',\n    'Ą': 'A',\n    'Ⱥ': 'A',\n    'Ɐ': 'A',\n    'Ꜳ': 'AA',\n    'Æ': 'AE',\n    'Ǽ': 'AE',\n    'Ǣ': 'AE',\n    'Ꜵ': 'AO',\n    'Ꜷ': 'AU',\n    'Ꜹ': 'AV',\n    'Ꜻ': 'AV',\n    'Ꜽ': 'AY',\n    'Ⓑ': 'B',\n    'Ｂ': 'B',\n    'Ḃ': 'B',\n    'Ḅ': 'B',\n    'Ḇ': 'B',\n    'Ƀ': 'B',\n    'Ƃ': 'B',\n    'Ɓ': 'B',\n    'Ⓒ': 'C',\n    'Ｃ': 'C',\n    'Ć': 'C',\n    'Ĉ': 'C',\n    'Ċ': 'C',\n    'Č': 'C',\n    'Ç': 'C',\n    'Ḉ': 'C',\n    'Ƈ': 'C',\n    'Ȼ': 'C',\n    'Ꜿ': 'C',\n    'Ⓓ': 'D',\n    'Ｄ': 'D',\n    'Ḋ': 'D',\n    'Ď': 'D',\n    'Ḍ': 'D',\n    'Ḑ': 'D',\n    'Ḓ': 'D',\n    'Ḏ': 'D',\n    'Đ': 'D',\n    'Ƌ': 'D',\n    'Ɗ': 'D',\n    'Ɖ': 'D',\n    'Ꝺ': 'D',\n    'Ǳ': 'DZ',\n    'Ǆ': 'DZ',\n    'ǲ': 'Dz',\n    'ǅ': 'Dz',\n    'Ⓔ': 'E',\n    'Ｅ': 'E',\n    'È': 'E',\n    'É': 'E',\n    'Ê': 'E',\n    'Ề': 'E',\n    'Ế': 'E',\n    'Ễ': 'E',\n    'Ể': 'E',\n    'Ẽ': 'E',\n    'Ē': 'E',\n    'Ḕ': 'E',\n    'Ḗ': 'E',\n    'Ĕ': 'E',\n    'Ė': 'E',\n    'Ë': 'E',\n    'Ẻ': 'E',\n    'Ě': 'E',\n    'Ȅ': 'E',\n    'Ȇ': 'E',\n    'Ẹ': 'E',\n    'Ệ': 'E',\n    'Ȩ': 'E',\n    'Ḝ': 'E',\n    'Ę': 'E',\n    'Ḙ': 'E',\n    'Ḛ': 'E',\n    'Ɛ': 'E',\n    'Ǝ': 'E',\n    'Ⓕ': 'F',\n    'Ｆ': 'F',\n    'Ḟ': 'F',\n    'Ƒ': 'F',\n    'Ꝼ': 'F',\n    'Ⓖ': 'G',\n    'Ｇ': 'G',\n    'Ǵ': 'G',\n    'Ĝ': 'G',\n    'Ḡ': 'G',\n    'Ğ': 'G',\n    'Ġ': 'G',\n    'Ǧ': 'G',\n    'Ģ': 'G',\n    'Ǥ': 'G',\n    'Ɠ': 'G',\n    'Ꞡ': 'G',\n    'Ᵹ': 'G',\n    'Ꝿ': 'G',\n    'Ⓗ': 'H',\n    'Ｈ': 'H',\n    'Ĥ': 'H',\n    'Ḣ': 'H',\n    'Ḧ': 'H',\n    'Ȟ': 'H',\n    'Ḥ': 'H',\n    'Ḩ': 'H',\n    'Ḫ': 'H',\n    'Ħ': 'H',\n    'Ⱨ': 'H',\n    'Ⱶ': 'H',\n    'Ɥ': 'H',\n    'Ⓘ': 'I',\n    'Ｉ': 'I',\n    'Ì': 'I',\n    'Í': 'I',\n    'Î': 'I',\n    'Ĩ': 'I',\n    'Ī': 'I',\n    'Ĭ': 'I',\n    'İ': 'I',\n    'Ï': 'I',\n    'Ḯ': 'I',\n    'Ỉ': 'I',\n    'Ǐ': 'I',\n    'Ȉ': 'I',\n    'Ȋ': 'I',\n    'Ị': 'I',\n    'Į': 'I',\n    'Ḭ': 'I',\n    'Ɨ': 'I',\n    'Ⓙ': 'J',\n    'Ｊ': 'J',\n    'Ĵ': 'J',\n    'Ɉ': 'J',\n    'Ⓚ': 'K',\n    'Ｋ': 'K',\n    'Ḱ': 'K',\n    'Ǩ': 'K',\n    'Ḳ': 'K',\n    'Ķ': 'K',\n    'Ḵ': 'K',\n    'Ƙ': 'K',\n    'Ⱪ': 'K',\n    'Ꝁ': 'K',\n    'Ꝃ': 'K',\n    'Ꝅ': 'K',\n    'Ꞣ': 'K',\n    'Ⓛ': 'L',\n    'Ｌ': 'L',\n    'Ŀ': 'L',\n    'Ĺ': 'L',\n    'Ľ': 'L',\n    'Ḷ': 'L',\n    'Ḹ': 'L',\n    'Ļ': 'L',\n    'Ḽ': 'L',\n    'Ḻ': 'L',\n    'Ł': 'L',\n    'Ƚ': 'L',\n    'Ɫ': 'L',\n    'Ⱡ': 'L',\n    'Ꝉ': 'L',\n    'Ꝇ': 'L',\n    'Ꞁ': 'L',\n    'Ǉ': 'LJ',\n    'ǈ': 'Lj',\n    'Ⓜ': 'M',\n    'Ｍ': 'M',\n    'Ḿ': 'M',\n    'Ṁ': 'M',\n    'Ṃ': 'M',\n    'Ɱ': 'M',\n    'Ɯ': 'M',\n    'Ⓝ': 'N',\n    'Ｎ': 'N',\n    'Ǹ': 'N',\n    'Ń': 'N',\n    'Ñ': 'N',\n    'Ṅ': 'N',\n    'Ň': 'N',\n    'Ṇ': 'N',\n    'Ņ': 'N',\n    'Ṋ': 'N',\n    'Ṉ': 'N',\n    'Ƞ': 'N',\n    'Ɲ': 'N',\n    'Ꞑ': 'N',\n    'Ꞥ': 'N',\n    'Ǌ': 'NJ',\n    'ǋ': 'Nj',\n    'Ⓞ': 'O',\n    'Ｏ': 'O',\n    'Ò': 'O',\n    'Ó': 'O',\n    'Ô': 'O',\n    'Ồ': 'O',\n    'Ố': 'O',\n    'Ỗ': 'O',\n    'Ổ': 'O',\n    'Õ': 'O',\n    'Ṍ': 'O',\n    'Ȭ': 'O',\n    'Ṏ': 'O',\n    'Ō': 'O',\n    'Ṑ': 'O',\n    'Ṓ': 'O',\n    'Ŏ': 'O',\n    'Ȯ': 'O',\n    'Ȱ': 'O',\n    'Ö': 'O',\n    'Ȫ': 'O',\n    'Ỏ': 'O',\n    'Ő': 'O',\n    'Ǒ': 'O',\n    'Ȍ': 'O',\n    'Ȏ': 'O',\n    'Ơ': 'O',\n    'Ờ': 'O',\n    'Ớ': 'O',\n    'Ỡ': 'O',\n    'Ở': 'O',\n    'Ợ': 'O',\n    'Ọ': 'O',\n    'Ộ': 'O',\n    'Ǫ': 'O',\n    'Ǭ': 'O',\n    'Ø': 'O',\n    'Ǿ': 'O',\n    'Ɔ': 'O',\n    'Ɵ': 'O',\n    'Ꝋ': 'O',\n    'Ꝍ': 'O',\n    'Ƣ': 'OI',\n    'Ꝏ': 'OO',\n    'Ȣ': 'OU',\n    'Ⓟ': 'P',\n    'Ｐ': 'P',\n    'Ṕ': 'P',\n    'Ṗ': 'P',\n    'Ƥ': 'P',\n    'Ᵽ': 'P',\n    'Ꝑ': 'P',\n    'Ꝓ': 'P',\n    'Ꝕ': 'P',\n    'Ⓠ': 'Q',\n    'Ｑ': 'Q',\n    'Ꝗ': 'Q',\n    'Ꝙ': 'Q',\n    'Ɋ': 'Q',\n    'Ⓡ': 'R',\n    'Ｒ': 'R',\n    'Ŕ': 'R',\n    'Ṙ': 'R',\n    'Ř': 'R',\n    'Ȑ': 'R',\n    'Ȓ': 'R',\n    'Ṛ': 'R',\n    'Ṝ': 'R',\n    'Ŗ': 'R',\n    'Ṟ': 'R',\n    'Ɍ': 'R',\n    'Ɽ': 'R',\n    'Ꝛ': 'R',\n    'Ꞧ': 'R',\n    'Ꞃ': 'R',\n    'Ⓢ': 'S',\n    'Ｓ': 'S',\n    'ẞ': 'S',\n    'Ś': 'S',\n    'Ṥ': 'S',\n    'Ŝ': 'S',\n    'Ṡ': 'S',\n    'Š': 'S',\n    'Ṧ': 'S',\n    'Ṣ': 'S',\n    'Ṩ': 'S',\n    'Ș': 'S',\n    'Ş': 'S',\n    'Ȿ': 'S',\n    'Ꞩ': 'S',\n    'Ꞅ': 'S',\n    'Ⓣ': 'T',\n    'Ｔ': 'T',\n    'Ṫ': 'T',\n    'Ť': 'T',\n    'Ṭ': 'T',\n    'Ț': 'T',\n    'Ţ': 'T',\n    'Ṱ': 'T',\n    'Ṯ': 'T',\n    'Ŧ': 'T',\n    'Ƭ': 'T',\n    'Ʈ': 'T',\n    'Ⱦ': 'T',\n    'Ꞇ': 'T',\n    'Ꜩ': 'TZ',\n    'Ⓤ': 'U',\n    'Ｕ': 'U',\n    'Ù': 'U',\n    'Ú': 'U',\n    'Û': 'U',\n    'Ũ': 'U',\n    'Ṹ': 'U',\n    'Ū': 'U',\n    'Ṻ': 'U',\n    'Ŭ': 'U',\n    'Ü': 'U',\n    'Ǜ': 'U',\n    'Ǘ': 'U',\n    'Ǖ': 'U',\n    'Ǚ': 'U',\n    'Ủ': 'U',\n    'Ů': 'U',\n    'Ű': 'U',\n    'Ǔ': 'U',\n    'Ȕ': 'U',\n    'Ȗ': 'U',\n    'Ư': 'U',\n    'Ừ': 'U',\n    'Ứ': 'U',\n    'Ữ': 'U',\n    'Ử': 'U',\n    'Ự': 'U',\n    'Ụ': 'U',\n    'Ṳ': 'U',\n    'Ų': 'U',\n    'Ṷ': 'U',\n    'Ṵ': 'U',\n    'Ʉ': 'U',\n    'Ⓥ': 'V',\n    'Ｖ': 'V',\n    'Ṽ': 'V',\n    'Ṿ': 'V',\n    'Ʋ': 'V',\n    'Ꝟ': 'V',\n    'Ʌ': 'V',\n    'Ꝡ': 'VY',\n    'Ⓦ': 'W',\n    'Ｗ': 'W',\n    'Ẁ': 'W',\n    'Ẃ': 'W',\n    'Ŵ': 'W',\n    'Ẇ': 'W',\n    'Ẅ': 'W',\n    'Ẉ': 'W',\n    'Ⱳ': 'W',\n    'Ⓧ': 'X',\n    'Ｘ': 'X',\n    'Ẋ': 'X',\n    'Ẍ': 'X',\n    'Ⓨ': 'Y',\n    'Ｙ': 'Y',\n    'Ỳ': 'Y',\n    'Ý': 'Y',\n    'Ŷ': 'Y',\n    'Ỹ': 'Y',\n    'Ȳ': 'Y',\n    'Ẏ': 'Y',\n    'Ÿ': 'Y',\n    'Ỷ': 'Y',\n    'Ỵ': 'Y',\n    'Ƴ': 'Y',\n    'Ɏ': 'Y',\n    'Ỿ': 'Y',\n    'Ⓩ': 'Z',\n    'Ｚ': 'Z',\n    'Ź': 'Z',\n    'Ẑ': 'Z',\n    'Ż': 'Z',\n    'Ž': 'Z',\n    'Ẓ': 'Z',\n    'Ẕ': 'Z',\n    'Ƶ': 'Z',\n    'Ȥ': 'Z',\n    'Ɀ': 'Z',\n    'Ⱬ': 'Z',\n    'Ꝣ': 'Z',\n    'ⓐ': 'a',\n    'ａ': 'a',\n    'ẚ': 'a',\n    'à': 'a',\n    'á': 'a',\n    'â': 'a',\n    'ầ': 'a',\n    'ấ': 'a',\n    'ẫ': 'a',\n    'ẩ': 'a',\n    'ã': 'a',\n    'ā': 'a',\n    'ă': 'a',\n    'ằ': 'a',\n    'ắ': 'a',\n    'ẵ': 'a',\n    'ẳ': 'a',\n    'ȧ': 'a',\n    'ǡ': 'a',\n    'ä': 'a',\n    'ǟ': 'a',\n    'ả': 'a',\n    'å': 'a',\n    'ǻ': 'a',\n    'ǎ': 'a',\n    'ȁ': 'a',\n    'ȃ': 'a',\n    'ạ': 'a',\n    'ậ': 'a',\n    'ặ': 'a',\n    'ḁ': 'a',\n    'ą': 'a',\n    'ⱥ': 'a',\n    'ɐ': 'a',\n    'ꜳ': 'aa',\n    'æ': 'ae',\n    'ǽ': 'ae',\n    'ǣ': 'ae',\n    'ꜵ': 'ao',\n    'ꜷ': 'au',\n    'ꜹ': 'av',\n    'ꜻ': 'av',\n    'ꜽ': 'ay',\n    'ⓑ': 'b',\n    'ｂ': 'b',\n    'ḃ': 'b',\n    'ḅ': 'b',\n    'ḇ': 'b',\n    'ƀ': 'b',\n    'ƃ': 'b',\n    'ɓ': 'b',\n    'ⓒ': 'c',\n    'ｃ': 'c',\n    'ć': 'c',\n    'ĉ': 'c',\n    'ċ': 'c',\n    'č': 'c',\n    'ç': 'c',\n    'ḉ': 'c',\n    'ƈ': 'c',\n    'ȼ': 'c',\n    'ꜿ': 'c',\n    'ↄ': 'c',\n    'ⓓ': 'd',\n    'ｄ': 'd',\n    'ḋ': 'd',\n    'ď': 'd',\n    'ḍ': 'd',\n    'ḑ': 'd',\n    'ḓ': 'd',\n    'ḏ': 'd',\n    'đ': 'd',\n    'ƌ': 'd',\n    'ɖ': 'd',\n    'ɗ': 'd',\n    'ꝺ': 'd',\n    'ǳ': 'dz',\n    'ǆ': 'dz',\n    'ⓔ': 'e',\n    'ｅ': 'e',\n    'è': 'e',\n    'é': 'e',\n    'ê': 'e',\n    'ề': 'e',\n    'ế': 'e',\n    'ễ': 'e',\n    'ể': 'e',\n    'ẽ': 'e',\n    'ē': 'e',\n    'ḕ': 'e',\n    'ḗ': 'e',\n    'ĕ': 'e',\n    'ė': 'e',\n    'ë': 'e',\n    'ẻ': 'e',\n    'ě': 'e',\n    'ȅ': 'e',\n    'ȇ': 'e',\n    'ẹ': 'e',\n    'ệ': 'e',\n    'ȩ': 'e',\n    'ḝ': 'e',\n    'ę': 'e',\n    'ḙ': 'e',\n    'ḛ': 'e',\n    'ɇ': 'e',\n    'ɛ': 'e',\n    'ǝ': 'e',\n    'ⓕ': 'f',\n    'ｆ': 'f',\n    'ḟ': 'f',\n    'ƒ': 'f',\n    'ꝼ': 'f',\n    'ⓖ': 'g',\n    'ｇ': 'g',\n    'ǵ': 'g',\n    'ĝ': 'g',\n    'ḡ': 'g',\n    'ğ': 'g',\n    'ġ': 'g',\n    'ǧ': 'g',\n    'ģ': 'g',\n    'ǥ': 'g',\n    'ɠ': 'g',\n    'ꞡ': 'g',\n    'ᵹ': 'g',\n    'ꝿ': 'g',\n    'ⓗ': 'h',\n    'ｈ': 'h',\n    'ĥ': 'h',\n    'ḣ': 'h',\n    'ḧ': 'h',\n    'ȟ': 'h',\n    'ḥ': 'h',\n    'ḩ': 'h',\n    'ḫ': 'h',\n    'ẖ': 'h',\n    'ħ': 'h',\n    'ⱨ': 'h',\n    'ⱶ': 'h',\n    'ɥ': 'h',\n    'ƕ': 'hv',\n    'ⓘ': 'i',\n    'ｉ': 'i',\n    'ì': 'i',\n    'í': 'i',\n    'î': 'i',\n    'ĩ': 'i',\n    'ī': 'i',\n    'ĭ': 'i',\n    'ï': 'i',\n    'ḯ': 'i',\n    'ỉ': 'i',\n    'ǐ': 'i',\n    'ȉ': 'i',\n    'ȋ': 'i',\n    'ị': 'i',\n    'į': 'i',\n    'ḭ': 'i',\n    'ɨ': 'i',\n    'ı': 'i',\n    'ⓙ': 'j',\n    'ｊ': 'j',\n    'ĵ': 'j',\n    'ǰ': 'j',\n    'ɉ': 'j',\n    'ⓚ': 'k',\n    'ｋ': 'k',\n    'ḱ': 'k',\n    'ǩ': 'k',\n    'ḳ': 'k',\n    'ķ': 'k',\n    'ḵ': 'k',\n    'ƙ': 'k',\n    'ⱪ': 'k',\n    'ꝁ': 'k',\n    'ꝃ': 'k',\n    'ꝅ': 'k',\n    'ꞣ': 'k',\n    'ⓛ': 'l',\n    'ｌ': 'l',\n    'ŀ': 'l',\n    'ĺ': 'l',\n    'ľ': 'l',\n    'ḷ': 'l',\n    'ḹ': 'l',\n    'ļ': 'l',\n    'ḽ': 'l',\n    'ḻ': 'l',\n    'ſ': 'l',\n    'ł': 'l',\n    'ƚ': 'l',\n    'ɫ': 'l',\n    'ⱡ': 'l',\n    'ꝉ': 'l',\n    'ꞁ': 'l',\n    'ꝇ': 'l',\n    'ǉ': 'lj',\n    'ⓜ': 'm',\n    'ｍ': 'm',\n    'ḿ': 'm',\n    'ṁ': 'm',\n    'ṃ': 'm',\n    'ɱ': 'm',\n    'ɯ': 'm',\n    'ⓝ': 'n',\n    'ｎ': 'n',\n    'ǹ': 'n',\n    'ń': 'n',\n    'ñ': 'n',\n    'ṅ': 'n',\n    'ň': 'n',\n    'ṇ': 'n',\n    'ņ': 'n',\n    'ṋ': 'n',\n    'ṉ': 'n',\n    'ƞ': 'n',\n    'ɲ': 'n',\n    'ŉ': 'n',\n    'ꞑ': 'n',\n    'ꞥ': 'n',\n    'ǌ': 'nj',\n    'ⓞ': 'o',\n    'ｏ': 'o',\n    'ò': 'o',\n    'ó': 'o',\n    'ô': 'o',\n    'ồ': 'o',\n    'ố': 'o',\n    'ỗ': 'o',\n    'ổ': 'o',\n    'õ': 'o',\n    'ṍ': 'o',\n    'ȭ': 'o',\n    'ṏ': 'o',\n    'ō': 'o',\n    'ṑ': 'o',\n    'ṓ': 'o',\n    'ŏ': 'o',\n    'ȯ': 'o',\n    'ȱ': 'o',\n    'ö': 'o',\n    'ȫ': 'o',\n    'ỏ': 'o',\n    'ő': 'o',\n    'ǒ': 'o',\n    'ȍ': 'o',\n    'ȏ': 'o',\n    'ơ': 'o',\n    'ờ': 'o',\n    'ớ': 'o',\n    'ỡ': 'o',\n    'ở': 'o',\n    'ợ': 'o',\n    'ọ': 'o',\n    'ộ': 'o',\n    'ǫ': 'o',\n    'ǭ': 'o',\n    'ø': 'o',\n    'ǿ': 'o',\n    'ɔ': 'o',\n    'ꝋ': 'o',\n    'ꝍ': 'o',\n    'ɵ': 'o',\n    'ƣ': 'oi',\n    'ȣ': 'ou',\n    'ꝏ': 'oo',\n    'ⓟ': 'p',\n    'ｐ': 'p',\n    'ṕ': 'p',\n    'ṗ': 'p',\n    'ƥ': 'p',\n    'ᵽ': 'p',\n    'ꝑ': 'p',\n    'ꝓ': 'p',\n    'ꝕ': 'p',\n    'ⓠ': 'q',\n    'ｑ': 'q',\n    'ɋ': 'q',\n    'ꝗ': 'q',\n    'ꝙ': 'q',\n    'ⓡ': 'r',\n    'ｒ': 'r',\n    'ŕ': 'r',\n    'ṙ': 'r',\n    'ř': 'r',\n    'ȑ': 'r',\n    'ȓ': 'r',\n    'ṛ': 'r',\n    'ṝ': 'r',\n    'ŗ': 'r',\n    'ṟ': 'r',\n    'ɍ': 'r',\n    'ɽ': 'r',\n    'ꝛ': 'r',\n    'ꞧ': 'r',\n    'ꞃ': 'r',\n    'ⓢ': 's',\n    'ｓ': 's',\n    'ß': 's',\n    'ś': 's',\n    'ṥ': 's',\n    'ŝ': 's',\n    'ṡ': 's',\n    'š': 's',\n    'ṧ': 's',\n    'ṣ': 's',\n    'ṩ': 's',\n    'ș': 's',\n    'ş': 's',\n    'ȿ': 's',\n    'ꞩ': 's',\n    'ꞅ': 's',\n    'ẛ': 's',\n    'ⓣ': 't',\n    'ｔ': 't',\n    'ṫ': 't',\n    'ẗ': 't',\n    'ť': 't',\n    'ṭ': 't',\n    'ț': 't',\n    'ţ': 't',\n    'ṱ': 't',\n    'ṯ': 't',\n    'ŧ': 't',\n    'ƭ': 't',\n    'ʈ': 't',\n    'ⱦ': 't',\n    'ꞇ': 't',\n    'ꜩ': 'tz',\n    'ⓤ': 'u',\n    'ｕ': 'u',\n    'ù': 'u',\n    'ú': 'u',\n    'û': 'u',\n    'ũ': 'u',\n    'ṹ': 'u',\n    'ū': 'u',\n    'ṻ': 'u',\n    'ŭ': 'u',\n    'ü': 'u',\n    'ǜ': 'u',\n    'ǘ': 'u',\n    'ǖ': 'u',\n    'ǚ': 'u',\n    'ủ': 'u',\n    'ů': 'u',\n    'ű': 'u',\n    'ǔ': 'u',\n    'ȕ': 'u',\n    'ȗ': 'u',\n    'ư': 'u',\n    'ừ': 'u',\n    'ứ': 'u',\n    'ữ': 'u',\n    'ử': 'u',\n    'ự': 'u',\n    'ụ': 'u',\n    'ṳ': 'u',\n    'ų': 'u',\n    'ṷ': 'u',\n    'ṵ': 'u',\n    'ʉ': 'u',\n    'ⓥ': 'v',\n    'ｖ': 'v',\n    'ṽ': 'v',\n    'ṿ': 'v',\n    'ʋ': 'v',\n    'ꝟ': 'v',\n    'ʌ': 'v',\n    'ꝡ': 'vy',\n    'ⓦ': 'w',\n    'ｗ': 'w',\n    'ẁ': 'w',\n    'ẃ': 'w',\n    'ŵ': 'w',\n    'ẇ': 'w',\n    'ẅ': 'w',\n    'ẘ': 'w',\n    'ẉ': 'w',\n    'ⱳ': 'w',\n    'ⓧ': 'x',\n    'ｘ': 'x',\n    'ẋ': 'x',\n    'ẍ': 'x',\n    'ⓨ': 'y',\n    'ｙ': 'y',\n    'ỳ': 'y',\n    'ý': 'y',\n    'ŷ': 'y',\n    'ỹ': 'y',\n    'ȳ': 'y',\n    'ẏ': 'y',\n    'ÿ': 'y',\n    'ỷ': 'y',\n    'ẙ': 'y',\n    'ỵ': 'y',\n    'ƴ': 'y',\n    'ɏ': 'y',\n    'ỿ': 'y',\n    'ⓩ': 'z',\n    'ｚ': 'z',\n    'ź': 'z',\n    'ẑ': 'z',\n    'ż': 'z',\n    'ž': 'z',\n    'ẓ': 'z',\n    'ẕ': 'z',\n    'ƶ': 'z',\n    'ȥ': 'z',\n    'ɀ': 'z',\n    'ⱬ': 'z',\n    'ꝣ': 'z',\n    'Ά': 'Α',\n    'Έ': 'Ε',\n    'Ή': 'Η',\n    'Ί': 'Ι',\n    'Ϊ': 'Ι',\n    'Ό': 'Ο',\n    'Ύ': 'Υ',\n    'Ϋ': 'Υ',\n    'Ώ': 'Ω',\n    'ά': 'α',\n    'έ': 'ε',\n    'ή': 'η',\n    'ί': 'ι',\n    'ϊ': 'ι',\n    'ΐ': 'ι',\n    'ό': 'ο',\n    'ύ': 'υ',\n    'ϋ': 'υ',\n    'ΰ': 'υ',\n    'ω': 'ω',\n    'ς': 'σ'\n  };\n\n  // Copied from Select2\n  function stripDiacritics(text) {\n    // Used 'uni range + named function' from http://jsperf.com/diacritics/18\n    function match(a) {\n      return DIACRITICS[a] || a;\n    }\n    return `${text}`.replace(/[^\\u0000-\\u007E]/g, match); // eslint-disable-line\n  }\n  function defaultMatcher(value, text) {\n    return stripDiacritics(value).toUpperCase().indexOf(stripDiacritics(text).toUpperCase());\n  }\n  function defaultTypeAheadMatcher(value, text) {\n    return stripDiacritics(value).toUpperCase().startsWith(stripDiacritics(text).toUpperCase()) ? 1 : -1;\n  }\n});","define(\"ember-promise-helpers/helpers/await\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends Ember.Helper {\n    /**\n     * @property valueBeforeSettled\n     * @default null\n     *\n     * This is the value that gets returned synchronously as the helper's return\n     * value before the promise is settled. For example `{{async promise}}` will return\n     * null, before the promise is resolved or rejected.\n     */\n    constructor(...args) {\n      super(...args);\n      this.valueBeforeSettled = null;\n    }\n\n    /**\n     * @method compute\n     * @public\n     * @param params Array a list of arguments passed to the Helper.\n     * @param hash Object a list of configuration options passed to the helper.\n     * This parameter is currently unused by Await.\n     */\n    compute([maybePromise]) {\n      if (!maybePromise || typeof maybePromise.then !== 'function') {\n        return maybePromise;\n      }\n      return this.ensureLatestPromise(maybePromise, async promise => {\n        try {\n          const value = await promise;\n          this.setValue(value, maybePromise);\n        } catch (_error) {\n          this.setValue(null, maybePromise);\n        }\n      });\n    }\n\n    /**\n     * @method ensureLatestPromise\n     * @public\n     * @param promise Promise the new promise coming\n     * @param callback Function function to be called with a wrapped promise\n     *\n     * Method to set the latest promise. This gets called by `compute` (which in\n     * turn gets called by `recompute`). If the promise being passed in is the\n     * same as before, then just return the value to `compute`. Otherwise, call\n     * the callback so the user can call `then`, `catch`, or `finally` on the\n     * promise to update the value using `setValue` later.\n     */\n    ensureLatestPromise(promise, callback) {\n      if (this._wasSettled && promise === this._promise) {\n        return this._value;\n      } else {\n        this._unsettle();\n      }\n      this._promise = promise;\n      callback.call(this, Ember.RSVP.Promise.resolve(promise));\n      return this.valueBeforeSettled;\n    }\n\n    /**\n     * @method _settle\n     * @private\n     */\n    _settle(promise) {\n      if (this.allowUpdates(promise)) {\n        this._wasSettled = true;\n        this.recompute();\n      }\n    }\n\n    /**\n     * @private\n     * @method _unsettle\n     *\n     * Resets the promise to null and calls recompute. Designed to be used\n     * when a new promise is passed to the `compute` method. This would happen\n     * when the value changes in Handlebars.\n     */\n    _unsettle() {\n      this._wasSettled = false;\n      this._promise = null;\n    }\n\n    /**\n     * @method setValue\n     * @public\n     * @param value Any the value to return to the helper\n     * @param promise Promise the promise the `setValue` call is coming from.\n     *\n     * `setValue` is how you should set the value to be returned to the helper\n     * in the app. It exists to prevent race conditions between promises.\n     * For example, you may have two promises:\n     *\n     * ```javascript\n     * let promise1 = new Ember.RSVP.Promise((resolve, reject) => {resolve(\"hello\");});\n     * let promise2 = new Ember.RSVP.Promise((resolve, reject) => {(resolve(\"goodbye\")});\n     * ```\n     *\n     * And a template:\n     *\n     * ```handlebars\n     * {{await promise}}\n     * ```\n     *\n     * If you set the value of `promise` to be `promise1` via your component,\n     * controller, or route, when the promise resolves, it will render the value\n     * of `promise1`, which is \"hello\".\n     *\n     * If you set the avlue of `promise` to `promise2`, you would see \"goodbye\".\n     *\n     * But what happens if `promise1` resolves asynchronously, e.g., using `Ember.run.later`?\n     *\n     * ```javascript\n     * Ember.run.later(function() {\n     *  resolve(\"hello\");\n     * }, 200);\n     * ```\n     *\n     * Even though `promise2` already resolved with \"goodbye\", the template would\n     * render \"hello\", which is not the intended behavior. So, `setValue` makes you pass\n     * the promise so the internal book-keeping can ensure the last-set promise always wins.\n     */\n    setValue(value, promise) {\n      if (this.allowUpdates(promise)) {\n        this._value = value;\n        this._settle(promise);\n      }\n    }\n    allowUpdates(promise) {\n      return this._promise === promise;\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/is-fulfilled\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends _await.default {\n    compute(params) {\n      const maybePromise = params[0];\n      return this.ensureLatestPromise(maybePromise, async promise => {\n        try {\n          await promise;\n          this.setValue(true, maybePromise);\n        } catch (_err) {\n          this.setValue(false, maybePromise);\n        }\n      });\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/is-pending\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends _await.default {\n    constructor(...args) {\n      super(...args);\n      this.valueBeforeSettled = true;\n    }\n    compute(params) {\n      const maybePromise = params[0];\n      return this.ensureLatestPromise(maybePromise, async promise => {\n        try {\n          await promise;\n          /* eslint-disable-next-line no-empty */\n        } catch (_err) {} finally {\n          this.setValue(false, maybePromise);\n        }\n      });\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/is-rejected\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends _await.default {\n    compute(params) {\n      const maybePromise = params[0];\n      return this.ensureLatestPromise(maybePromise, async promise => {\n        try {\n          await promise;\n          this.setValue(false, maybePromise);\n        } catch (_err) {\n          this.setValue(true, maybePromise);\n        }\n      });\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/promise-all\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends Ember.Helper {\n    compute(params) {\n      const args = Array.isArray(params[0]) ? params[0] : params;\n      return Ember.RSVP.all(args);\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/promise-hash\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends Ember.Helper {\n    compute(params, hash) {\n      return Ember.RSVP.hash(hash);\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-promise-helpers/helpers/promise-rejected-reason\", [\"exports\", \"ember-promise-helpers/helpers/await\"], function (_exports, _await) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default extends _await.default {\n    compute(params) {\n      const maybePromise = params[0];\n      return this.ensureLatestPromise(maybePromise, async promise => {\n        try {\n          await promise;\n          this.setValue(null, maybePromise);\n        } catch (reason) {\n          this.setValue(reason, maybePromise);\n        }\n      });\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-ref-bucket/helpers/ref-to\", [\"exports\", \"ember-ref-bucket/utils/ref\"], function (_exports, _ref) {\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 RefToHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"_watcher\", null);\n    }\n    compute([name], {\n      bucket,\n      tracked\n    }) {\n      const bucketRef = bucket || Ember.getOwner(this);\n      if (this._name !== name) {\n        if (this._watcher) {\n          Ember._unregisterDestructor(this, this._watcher);\n        }\n        this._watcher = (0, _ref.watchFor)(name, bucketRef, () => {\n          this.recompute();\n        });\n        Ember._registerDestructor(this, this._watcher);\n        this._name = name;\n      }\n      if (tracked) {\n        return (0, _ref.bucketFor)(bucketRef).getTracked(name);\n      } else {\n        return (0, _ref.bucketFor)(bucketRef).get(name);\n      }\n    }\n  }\n  _exports.default = RefToHelper;\n});","define(\"ember-ref-bucket/index\", [\"exports\", \"ember-ref-bucket/utils/ref\", \"ember-ref-bucket/utils/prototype-reference\"], function (_exports, _ref, _prototypeReference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.globalRef = globalRef;\n  _exports.nodeFor = nodeFor;\n  _exports.ref = ref;\n  Object.defineProperty(_exports, \"registerNodeDestructor\", {\n    enumerable: true,\n    get: function () {\n      return _ref.registerNodeDestructor;\n    }\n  });\n  _exports.trackedGlobalRef = trackedGlobalRef;\n  _exports.trackedRef = trackedRef;\n  Object.defineProperty(_exports, \"unregisterNodeDestructor\", {\n    enumerable: true,\n    get: function () {\n      return _ref.unregisterNodeDestructor;\n    }\n  });\n  function nodeFor(context, name) {\n    return (0, _ref.bucketFor)(context).get(name);\n  }\n  function maybeReturnCreated(value, createdValues, fn, ctx) {\n    if (value === null || value === undefined) {\n      return null;\n    }\n    if (typeof fn === 'function') {\n      if (!createdValues.has(value)) {\n        createdValues.set(value, fn.call(ctx, value));\n      }\n      return createdValues.get(value);\n    } else {\n      return value;\n    }\n  }\n  function ref(name, fn) {\n    return function (klass, objectKey) {\n      const createdValues = new WeakMap();\n      if (typeof fn === 'function') {\n        (0, _prototypeReference.addPrototypeReference)(klass, objectKey, name);\n      }\n      return {\n        get() {\n          const value = (0, _ref.bucketFor)(this).get(name);\n          return maybeReturnCreated(value, createdValues, fn, this);\n        }\n      };\n    };\n  }\n  function globalRef(name, fn) {\n    return function (klass, objectKey) {\n      const createdValues = new WeakMap();\n      if (typeof fn === 'function') {\n        (0, _prototypeReference.addPrototypeReference)(klass, objectKey, name);\n      }\n      return {\n        get() {\n          const value = (0, _ref.bucketFor)(Ember.getOwner(this) || (0, _ref.resolveGlobalRef)()).get(name);\n          return maybeReturnCreated(value, createdValues, fn, this);\n        }\n      };\n    };\n  }\n  function trackedRef(name, fn) {\n    return function (klass, objectKey) {\n      const createdValues = new WeakMap();\n      if (typeof fn === 'function') {\n        (0, _prototypeReference.addPrototypeReference)(klass, objectKey, name);\n      }\n      return {\n        get() {\n          const value = (0, _ref.bucketFor)(this).getTracked(name);\n          return maybeReturnCreated(value, createdValues, fn, this);\n        }\n      };\n    };\n  }\n  function trackedGlobalRef(name, fn) {\n    return function (klass, objectKey) {\n      const createdValues = new WeakMap();\n      if (typeof fn === 'function') {\n        (0, _prototypeReference.addPrototypeReference)(klass, objectKey, name);\n      }\n      return {\n        get() {\n          const value = (0, _ref.bucketFor)(Ember.getOwner(this) || (0, _ref.resolveGlobalRef)()).getTracked(name);\n          return maybeReturnCreated(value, createdValues, fn, this);\n        }\n      };\n    };\n  }\n});","define(\"ember-ref-bucket/modifiers/create-ref\", [\"exports\", \"ember-modifier\", \"ember-ref-bucket/utils/ref\", \"ember-ref-bucket/utils/prototype-reference\"], function (_exports, _emberModifier, _ref, _prototypeReference) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  let RefModifier = _exports.default = (_dec = Ember._action, _class = class RefModifier extends _emberModifier.default {\n    constructor() {\n      super(...arguments);\n      _defineProperty(this, \"_key\", void 0);\n      _defineProperty(this, \"_ctx\", void 0);\n      _defineProperty(this, \"_element\", void 0);\n      // to minimise overhead, user should be specific about\n      // what they want to observe\n      _defineProperty(this, \"defaultMutationObserverOptions\", {\n        attributes: false,\n        characterData: false,\n        childList: false,\n        subtree: false\n      });\n      (0, _ref.setGlobalRef)(Ember.getOwner(this));\n      Ember._registerDestructor(this, () => {\n        this.cleanMutationObservers();\n        this.cleanResizeObservers();\n        (0, _ref.getNodeDestructors)(this._element).forEach(cb => cb());\n      });\n    }\n    markDirty() {\n      (0, _ref.bucketFor)(this._ctx).dirtyTrackedCell(this._key);\n    }\n    cleanMutationObservers() {\n      if (this._mutationsObserver) {\n        this._mutationsObserver.disconnect();\n      }\n    }\n    cleanResizeObservers() {\n      if (this._resizeObserver) {\n        this._resizeObserver.unobserve(this.element);\n      }\n    }\n    installMutationObservers(named = {}) {\n      this._mutationsObserver = new MutationObserver(this.markDirty);\n      const opts = this.getObserverOptions(named);\n      delete opts.resize;\n      if (opts.attributes || opts.characterdata || opts.childlist) {\n        // mutations observer throws if observe is attempted\n        // with all these options disabled\n        this._mutationsObserver.observe(this.element, opts);\n      }\n    }\n    validateTrackedOptions(named = {}) {\n      const args = ['subtree', 'attributes', 'children', 'resize', 'character'];\n      if (args.some(name => name in named)) {\n        (true && !(this.isTracked(named)) && Ember.assert(`\"ember-ref-modifier\", looks like you trying to use {{${named.debugName}}} without tracked flag or alias, but, with properties, related to tracked modifier (${args.join(', ')})`, this.isTracked(named)));\n      }\n    }\n    getObserverOptions(named = {}) {\n      // to minimise overhead user\n      // should be specific about\n      // what they want to observe\n      let resize = false;\n      let subtree = this.defaultMutationObserverOptions.subtree;\n      let attributes = this.defaultMutationObserverOptions.attributes;\n      let character = this.defaultMutationObserverOptions.characterData;\n      let children = this.defaultMutationObserverOptions.childList;\n      if ('subtree' in named) {\n        subtree = named.subtree;\n      }\n      if ('attributes' in named) {\n        attributes = named.attributes;\n      }\n      if ('children' in named) {\n        children = named.children;\n      }\n      if ('resize' in named) {\n        resize = named.resize;\n      }\n      if ('character' in named) {\n        character = named.character;\n      }\n      return {\n        subtree,\n        attributes,\n        childList: children,\n        resize,\n        characterData: character\n      };\n    }\n    installResizeObservers(element) {\n      this._resizeObserver = new ResizeObserver(this.markDirty);\n      this._resizeObserver.observe(element);\n    }\n    modify(element, positional, named) {\n      const name = this.name(positional);\n      const ctx = this.ctx(named, positional);\n      this._key = name;\n      this._ctx = ctx;\n      this._element = element;\n      (true && !(typeof name === 'string' && name.length > 0) && Ember.assert(`You must provide string as first positional argument for {{${named.debugName}}}`, typeof name === 'string' && name.length > 0));\n      this.validateTrackedOptions(named);\n      this.cleanMutationObservers();\n      this.cleanResizeObservers();\n      if (name !== this._key || this._ctx !== ctx) {\n        (0, _ref.bucketFor)(this._ctx).add(this._key, null);\n      }\n      (0, _ref.watchFor)(name, ctx, () => {\n        const keys = (0, _prototypeReference.getReferencedKeys)(ctx, name);\n        keys.forEach(keyName => {\n          // consume keys with callbacks\n          ctx[keyName];\n        });\n      });\n      (0, _ref.bucketFor)(ctx).add(name, element);\n      if (this.isTracked(named)) {\n        this.installMutationObservers(named);\n        if (this.getObserverOptions(named).resize) {\n          this.installResizeObservers(element);\n        }\n      }\n    }\n    ctx(named = {}, positional = [undefined]) {\n      (true && !(named.bucket !== null) && Ember.assert(`ember-ref-bucket: You trying to use {{${named.debugName}}} as local reference for template-only component. Replace it to {{global-ref \"${positional[0]}\"}}`, named.bucket !== null));\n      return named.bucket || Ember.getOwner(this);\n    }\n    isTracked(named = {}) {\n      return named.tracked || false;\n    }\n    name(positional) {\n      return positional[0];\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"markDirty\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"markDirty\"), _class.prototype), _class);\n});","define(\"ember-ref-bucket/utils/prototype-reference\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.addPrototypeReference = addPrototypeReference;\n  _exports.getReferencedKeys = getReferencedKeys;\n  const PrototypeReferences = new WeakMap();\n  function addPrototypeReference(klass, objectKey, referenceName) {\n    if (!PrototypeReferences.has(klass)) {\n      PrototypeReferences.set(klass, {});\n    }\n    let obj = PrototypeReferences.get(klass);\n    if (!(referenceName in obj)) {\n      obj[referenceName] = new Set();\n    }\n    obj[referenceName].add(objectKey);\n  }\n  function getReferencedKeys(klassInstance, referenceName) {\n    let proto = klassInstance;\n    while (proto.__proto__) {\n      proto = proto.__proto__;\n      if (PrototypeReferences.has(proto)) {\n        let maybeData = PrototypeReferences.get(proto);\n        if (referenceName in maybeData) {\n          return Array.from(maybeData[referenceName]);\n        }\n      }\n    }\n    return [];\n  }\n});","define(\"ember-ref-bucket/utils/ref\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.bucketFor = bucketFor;\n  _exports.getNodeDestructors = getNodeDestructors;\n  _exports.registerNodeDestructor = registerNodeDestructor;\n  _exports.resolveGlobalRef = resolveGlobalRef;\n  _exports.setGlobalRef = setGlobalRef;\n  _exports.unregisterNodeDestructor = unregisterNodeDestructor;\n  _exports.watchFor = watchFor;\n  var _dec, _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 lastGlobalRef = null;\n  const buckets = new WeakMap();\n  const nodeDestructors = new WeakMap();\n  let FieldCell = (_dec = Ember._tracked, _class = class FieldCell {\n    constructor() {\n      _initializerDefineProperty(this, \"value\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"value\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _class);\n  function setGlobalRef(value) {\n    lastGlobalRef = value;\n  }\n  function resolveGlobalRef() {\n    return lastGlobalRef;\n  }\n  function createBucket() {\n    return {\n      bucket: {},\n      keys: {},\n      createTrackedCell(key) {\n        if (!(key in this.keys)) {\n          this.keys[key] = new FieldCell();\n        }\n      },\n      get(name) {\n        this.createTrackedCell(name);\n        return this.bucket[name] || null;\n      },\n      dirtyTrackedCell(name) {\n        this.createTrackedCell(name);\n        const val = this.keys[name].value;\n        this.keys[name].value = val;\n      },\n      getTracked(name) {\n        this.createTrackedCell(name);\n        return this.keys[name].value;\n      },\n      add(name, value) {\n        this.createTrackedCell(name);\n        this.keys[name].value = value;\n        this.bucket[name] = value;\n        if (!(name in this.notificationsFor)) {\n          this.notificationsFor[name] = [];\n        }\n        this.notificationsFor[name].forEach(fn => fn());\n      },\n      addNotificationFor(name, fn) {\n        if (!(name in this.notificationsFor)) {\n          this.notificationsFor[name] = [];\n        }\n        this.notificationsFor[name].push(fn);\n        return () => {\n          this.notificationsFor[name] = this.notificationsFor[name].filter(cb => cb !== cb);\n        };\n      },\n      notificationsFor: {}\n    };\n  }\n  function getNodeDestructors(node) {\n    return nodeDestructors.get(node) || [];\n  }\n  function registerNodeDestructor(node, cb) {\n    if (!nodeDestructors.has(node)) {\n      nodeDestructors.set(node, []);\n    }\n    nodeDestructors.get(node).push(cb);\n  }\n  function unregisterNodeDestructor(node, cb) {\n    const destructors = nodeDestructors.get(node) || [];\n    nodeDestructors.set(node, destructors.filter(el => el !== cb));\n  }\n  function bucketFor(rawCtx) {\n    const ctx = rawCtx;\n    if (!buckets.has(ctx)) {\n      buckets.set(ctx, createBucket());\n      if (Ember._isDestroyed(ctx) || Ember._isDestroying(ctx)) {\n        try {\n          return buckets.get(ctx);\n        } finally {\n          buckets.delete(ctx);\n        }\n      }\n      Ember._registerDestructor(ctx, () => {\n        buckets.delete(ctx);\n      });\n    }\n    return buckets.get(ctx);\n  }\n  function watchFor(name, bucketRef, cb) {\n    const bucket = bucketFor(bucketRef);\n    return bucket.addNotificationFor(name, cb);\n  }\n});","define(\"ember-render-helpers/helpers/did-insert-helper\", [\"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  /**\n   * This helper is activated only when it is rendered for the first time\n   * (inserted in the DOM). It does not run during or after it is un-rendered\n   * (removed from the DOM), or when its arguments are updated.\n   */\n  class DidInsertHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"didRun\", false);\n    }\n    compute(positional, named) {\n      const fn = positional[0];\n      (true && !(typeof fn === 'function') && Ember.assert(`\\`{{did-insert fn}}\\` expects a function as the first parameter. You provided: ${fn}`, typeof fn === 'function'));\n      if (this.didRun) return;\n      this.didRun = true;\n      fn(positional.slice(1), named);\n    }\n  }\n  _exports.default = DidInsertHelper;\n});","define(\"ember-render-helpers/helpers/did-insert\", [\"exports\", \"ember-render-helpers/helpers/did-insert-helper\"], function (_exports, _didInsertHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class DeprecatedDidInsertHelper extends _didInsertHelper.default {\n    /* eslint-disable-next-line @typescript-eslint/ban-types */\n    constructor(properties) {\n      super(properties);\n      (true && !(false) && Ember.deprecate('The {{did-insert}} helper has been renamed to {{did-insert-helper}}.', false, {\n        id: 'new-helper-names',\n        until: '1.0.0',\n        /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n        // @ts-ignore: Outdated types do not know the for property yet but cannot be upgraded.\n        for: 'ember-render-helpers',\n        since: {\n          available: '0.2.1',\n          enabled: '0.2.1'\n        }\n      }));\n    }\n  }\n  _exports.default = DeprecatedDidInsertHelper;\n});","define(\"ember-render-helpers/helpers/did-update-helper\", [\"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  /**\n   * This helper is activated only on _updates_ to it's arguments (both positional\n   * and named). It does not run during or after initial render, or before it is\n   * un-rendered (removed from the DOM).\n   */\n  class DidUpdateHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"didRun\", false);\n    }\n    compute(positional, named) {\n      const fn = positional[0];\n      (true && !(typeof fn === 'function') && Ember.assert(`\\`{{did-update fn}}\\` expects a function as the first parameter. You provided: ${fn}`, typeof fn === 'function'));\n      if (!this.didRun) {\n        this.didRun = true;\n\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // eslint-disable-next-line @typescript-eslint/no-empty-function\n        positional.forEach(() => {});\n        Object.values(named);\n        return;\n      }\n      fn(positional.slice(1), named);\n    }\n  }\n  _exports.default = DidUpdateHelper;\n});","define(\"ember-render-helpers/helpers/did-update\", [\"exports\", \"ember-render-helpers/helpers/did-update-helper\"], function (_exports, _didUpdateHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class DeprecatedDidUpdateHelper extends _didUpdateHelper.default {\n    /* eslint-disable-next-line @typescript-eslint/ban-types */\n    constructor(properties) {\n      super(properties);\n      (true && !(false) && Ember.deprecate('The {{did-update}} helper has been renamed to {{did-update-helper}}.', false, {\n        id: 'new-helper-names',\n        until: '1.0.0',\n        /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n        // @ts-ignore: Outdated types do not know the for property yet but cannot be upgraded.\n        for: 'ember-render-helpers',\n        since: {\n          available: '0.2.1',\n          enabled: '0.2.1'\n        }\n      }));\n    }\n  }\n  _exports.default = DeprecatedDidUpdateHelper;\n});","define(\"ember-render-helpers/helpers/will-destroy-helper\", [\"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  /**\n   * This helper is activated immediately before the helper is un-rendered\n   * (removed from the DOM). It does not run during or after initial render, or\n   * when its arguments are updated.\n   */\n  class WillDestroyHelper extends Ember.Helper {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"fn\", void 0);\n      _defineProperty(this, \"positional\", void 0);\n      _defineProperty(this, \"named\", void 0);\n    }\n    compute(positional, named) {\n      const fn = positional[0];\n      (true && !(typeof fn === 'function') && Ember.assert(`\\`{{did-insert fn}}\\` expects a function as the first parameter. You provided: ${fn}`, typeof fn === 'function'));\n      this.fn = fn;\n      this.positional = positional.slice(1);\n      this.named = named;\n    }\n    willDestroy() {\n      if (this.fn && this.positional && this.named) {\n        const {\n          fn\n        } = this;\n        fn(this.positional, this.named);\n      }\n      super.willDestroy();\n    }\n  }\n  _exports.default = WillDestroyHelper;\n});","define(\"ember-render-helpers/helpers/will-destroy\", [\"exports\", \"ember-render-helpers/helpers/will-destroy-helper\"], function (_exports, _willDestroyHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class DeprecatedWillDestroyHelper extends _willDestroyHelper.default {\n    /* eslint-disable-next-line @typescript-eslint/ban-types */\n    constructor(properties) {\n      super(properties);\n      (true && !(false) && Ember.deprecate('The {{will-destroy}} helper has been renamed to {{will-destroy-helper}}.', false, {\n        id: 'new-helper-names',\n        until: '1.0.0',\n        /* eslint-disable-next-line @typescript-eslint/ban-ts-comment */\n        // @ts-ignore: Outdated types do not know the for property yet but cannot be upgraded.\n        for: 'ember-render-helpers',\n        since: {\n          available: '0.2.1',\n          enabled: '0.2.1'\n        }\n      }));\n    }\n  }\n  _exports.default = DeprecatedWillDestroyHelper;\n});","define(\"ember-render-helpers/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"ember-require-module/index\", [\"exports\", \"require\"], function (_exports, _require) {\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 (_require.default.has(module)) {\n      return (0, _require.default)(module)[exportName];\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-resolver/resolvers/classic/index\"], function (_exports, _index) {\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 = Ember.ContainerDebugAdapter.extend({\n    _moduleRegistry: null,\n    init() {\n      this._super(...arguments);\n      this.namespace = Ember.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 = Ember.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-resolver/utils/class-factory\"], function (_exports, _classFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ModuleRegistry = void 0;\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 = Ember.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\" + Ember.String.classify(type)\n    };\n  }\n  function resolveOther(parsedName) {\n    (true && !(this.namespace.modulePrefix) && Ember.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 = Ember.Object.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 + ':' + Ember.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) && Ember.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.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: Ember.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 = Ember.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) && Ember.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(Ember.String.dasherize(moduleName))) {\n            this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            (true && Ember.warn('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + Ember.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.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-route-action-helper/-private/internals', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  let ClosureActionModule;\n\n  if ('ember-htmlbars/keywords/closure-action' in Ember.__loader.registry) {\n    ClosureActionModule = Ember.__loader.require('ember-htmlbars/keywords/closure-action');\n  } else if ('ember-routing-htmlbars/keywords/closure-action' in Ember.__loader.registry) {\n    ClosureActionModule = Ember.__loader.require('ember-routing-htmlbars/keywords/closure-action');\n  } else {\n    ClosureActionModule = {};\n  }\n\n  const ACTION = exports.ACTION = ClosureActionModule.ACTION;\n});","define('ember-route-action-helper/helpers/route-action', ['exports', 'ember-route-action-helper/-private/internals'], function (exports, _internals) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  function getCurrentInfos(router) {\n    let routerLib = router._routerMicrolib || router.router;\n\n    return {\n      currentInfos: routerLib.currentRouteInfos || routerLib.currentHandlerInfos,\n      mapBy: routerLib.currentRouteInfos && 'route' || 'handler'\n    };\n  }\n\n  function getRoutes(router) {\n    const { currentInfos, mapBy } = getCurrentInfos(router);\n    return Ember.A(currentInfos).mapBy(mapBy).reverse();\n  }\n\n  function getRouteWithAction(router, actionName) {\n    let action;\n    let handler = Ember.A(getRoutes(router)).find(route => {\n      let actions = route.actions || route._actions;\n      action = actions[actionName];\n\n      return typeof action === 'function';\n    });\n\n    return { action, handler };\n  }\n\n  exports.default = Ember.Helper.extend({\n    router: Ember.computed(function () {\n      return Ember.getOwner(this).lookup('router:main');\n    }).readOnly(),\n\n    compute([actionName, ...params]) {\n      let router = Ember.get(this, 'router');\n      (true && !(router) && Ember.assert('[ember-route-action-helper] Unable to lookup router', router));\n\n\n      Ember.runInDebug(() => {\n        let { handler } = getRouteWithAction(router, actionName);\n        (true && !(handler) && Ember.assert(`[ember-route-action-helper] Unable to find action ${actionName}`, handler));\n      });\n\n      let routeAction = function (...invocationArgs) {\n        let { action, handler } = getRouteWithAction(router, actionName);\n        let args = params.concat(invocationArgs);\n        return Ember.run.join(handler, action, ...args);\n      };\n\n      routeAction[_internals.ACTION] = true;\n\n      return routeAction;\n    }\n  });\n});","define(\"ember-scanner/components/code-scanner\", [\"exports\", \"@ember-decorators/object\", \"@ember-decorators/component\", \"ember-scanner/templates/code-scanner\"], function (_exports, _object, _component, _codeScanner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _class, _class2;\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  let CodeScanner = (_dec = (0, _component.layout)(_codeScanner.default), _dec2 = (0, _component.tagName)('video'), _dec3 = (0, _component.classNames)('code-scanner'), _dec4 = (0, _object.observes)('device'), _dec(_class = _dec2(_class = _dec3(_class = (_class2 = class CodeScanner extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"device\", undefined);\n    }\n    didInsertElement() {\n      super.didInsertElement(...arguments);\n      emberAutoImportDynamic(\"@zxing/library\").then(module => {\n        if (this.isDestroyed) return;\n        this.set('codeReader', new module.BrowserMultiFormatReader());\n        this.startVideoScanning();\n        this.codeReader.getVideoInputDevices().then(videoInputDevices => {\n          if (this.onDevicesFound) {\n            this.onDevicesFound(videoInputDevices);\n          }\n        }).catch(error => {\n          if (this.onDevicesError) {\n            this.onDevicesError(error);\n          }\n        });\n      });\n    }\n    willDestroyElement() {\n      super.willDestroyElement(...arguments);\n      if (this.codeReader) {\n        this.codeReader.reset();\n      }\n    }\n\n    // eslint-disable-next-line ember/no-observers\n    onDeviceChange() {\n      this.codeReader.reset();\n      this.startVideoScanning();\n    }\n    startVideoScanning() {\n      this.codeReader.decodeFromInputVideoDevice(this.device, this.elementId).then(result => {\n        if (this.isDestroyed) return;\n        if (this.onScanSuccess) {\n          this.onScanSuccess(result);\n        }\n      }).catch(error => {\n        if (this.isDestroyed) return;\n        if (this.onScanError) {\n          this.onScanError(error);\n        }\n      });\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"onDeviceChange\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"onDeviceChange\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n  var _default = _exports.default = CodeScanner;\n});","define(\"ember-scanner/templates/code-scanner\", [\"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\": \"en/qA2Sl\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"p\\\"],[12],[2,\\\"\\\\n  Your browser does not support this feature, please try to upgrade it.\\\\n\\\"],[13],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"ember-scanner/templates/code-scanner.hbs\"\n  });\n});","define(\"ember-simple-auth/-internals/routing\", [\"exports\", \"ember-simple-auth/utils/is-fastboot\", \"ember-simple-auth/utils/location\"], function (_exports, _isFastboot, _location) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.handleSessionAuthenticated = handleSessionAuthenticated;\n  _exports.handleSessionInvalidated = handleSessionInvalidated;\n  _exports.prohibitAuthentication = prohibitAuthentication;\n  _exports.requireAuthentication = requireAuthentication;\n  _exports.triggerAuthentication = triggerAuthentication;\n  function requireAuthentication(owner, transition) {\n    let sessionService = owner.lookup('service:session');\n    let isAuthenticated = sessionService.get('isAuthenticated');\n    if (!isAuthenticated) {\n      if (transition && (0, _isFastboot.default)(owner)) {\n        const fastbootService = owner.lookup('service:fastboot');\n        const cookiesService = owner.lookup('service:cookies');\n        cookiesService.write('ember_simple_auth-redirectTarget', transition.intent.url, {\n          path: '/',\n          secure: fastbootService.get('request.protocol') === 'https'\n        });\n      } else if (transition) {\n        sessionService.set('attemptedTransition', transition);\n      }\n    }\n    return isAuthenticated;\n  }\n  function triggerAuthentication(owner, authenticationRoute) {\n    let authRouter = owner.lookup('service:router') || owner.lookup('router:main');\n    authRouter.transitionTo(authenticationRoute);\n  }\n  function prohibitAuthentication(owner, routeIfAlreadyAuthenticated) {\n    let authRouter = owner.lookup('service:router') || owner.lookup('router:main');\n    authRouter.transitionTo(routeIfAlreadyAuthenticated);\n  }\n  function handleSessionAuthenticated(owner, routeAfterAuthentication) {\n    let sessionService = owner.lookup('service:session');\n    let attemptedTransition = sessionService.get('attemptedTransition');\n    let cookiesService = owner.lookup('service:cookies');\n    const redirectTarget = cookiesService.read('ember_simple_auth-redirectTarget');\n    let routerService = owner.lookup('service:router');\n    if (attemptedTransition) {\n      attemptedTransition.retry();\n      sessionService.set('attemptedTransition', null);\n    } else if (redirectTarget) {\n      routerService.transitionTo(redirectTarget);\n      cookiesService.clear('ember_simple_auth-redirectTarget');\n    } else {\n      routerService.transitionTo(routeAfterAuthentication);\n    }\n  }\n  function handleSessionInvalidated(owner, routeAfterInvalidation) {\n    if ((0, _isFastboot.default)(owner)) {\n      let routerService = owner.lookup('service:router');\n      routerService.transitionTo(routeAfterInvalidation);\n    } else {\n      if (!Ember.testing) {\n        (0, _location.default)().replace(routeAfterInvalidation);\n      }\n    }\n  }\n});","define(\"ember-simple-auth/authenticators/base\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The base class for all authenticators. __This serves as a starting point for\n    implementing custom authenticators and must not be used directly.__\n  \n    The authenticator authenticates the session. The actual mechanism used to do\n    this might, e.g., post a set of credentials to a server and in exchange\n    retrieve an access token, initiating authentication against an external\n    provider like Facebook, etc. The details depend on the specific authenticator.\n    Upon successful authentication, any data that the authenticator receives and\n    resolves via the promise returned from the\n    {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}\n    method is stored in the session and can be accessed via the session service\n    to be used by the authorizer (see\n    {{#crossLink \"BaseAuthorizer/authorize:method\"}}{{/crossLink}}) to e.g.,\n    authorize outgoing requests.\n  \n    The authenticator also decides whether a set of data that was restored from\n    the session store (see\n    {{#crossLink \"BaseStore/restore:method\"}}{{/crossLink}}) makes up an\n    authenticated session or not.\n  \n    __Authenticators for an application are defined in the `app/authenticators`\n    directory__, e.g.:\n  \n    ```js\n    // app/authenticators/oauth2.js\n    import OAuth2PasswordGrantAuthenticator from 'ember-simple-auth/authenticators/oauth2-password-grant';\n  \n    export default class OAuth2Authenticator extends OAuth2PasswordGrantAuthenticator {\n      ...\n    }\n    ```\n  \n    and can then be used via the name Ember CLI automatically registers for them\n    within the Ember container.\n  \n    ```js\n    // app/components/login-form.js\n    import Component from '@ember/component';\n    import { inject as service } from '@ember/service';\n    import { action } from '@ember/object';\n  \n    export default class LoginFormComponent extends Component {\n      @service session;\n  \n      @action\n      authenticate() {\n        this.session.authenticate('authenticator:oauth2');\n      }\n    }\n    ```\n  \n    @class BaseAuthenticator\n    @module ember-simple-auth/authenticators/base\n    @extends Ember.Object\n    @uses Ember.Evented\n    @public\n  */\n  var _default = _exports.default = Ember.Object.extend(Ember.Evented, {\n    /**\n      __Triggered when the authentication data is updated by the authenticator\n      due to an external or scheduled event__. This might happen, e.g., if the\n      authenticator refreshes an expired token or an event is triggered from an\n      external authentication provider that the authenticator uses. The session\n      handles that event, passes the updated data back to the authenticator's\n      {{#crossLink \"BaseAuthenticator/restore:method\"}}{{/crossLink}}\n      method and handles the result of that invocation accordingly.\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      __Triggered when the authentication data is invalidated by the authenticator\n      due to an external or scheduled event__. This might happen, e.g., if a token\n      expires or an event is triggered from an external authentication provider\n      that the authenticator uses. The session handles the event and will\n      invalidate itself when it is triggered.\n       @event sessionDataInvalidated\n      @public\n    */\n\n    /**\n      Restores the session from a session data object. __This method is invoked\n      by the session either on application startup if session data is restored\n      from the session store__ or when properties in the store change due to\n      external events (e.g. in another tab) and the new session data needs to be\n      validated for whether it constitutes an authenticated session.\n       __This method returns a promise. A resolving promise results in the session\n      becoming or remaining authenticated.__ Any data the promise resolves with\n      will be saved in and accessible via the session service's\n      `data.authenticated` property (see\n      {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}). A rejecting\n      promise indicates that `data` does not constitute a valid session and will\n      result in the session being invalidated or remaining unauthenticated.\n       The `BaseAuthenticator`'s implementation always returns a rejecting\n      promise. __This method must be overridden in subclasses.__\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore() {\n      return Ember.RSVP.reject();\n    },\n    /**\n      Authenticates the session with the specified `args`. These options vary\n      depending on the actual authentication mechanism the authenticator\n      implements (e.g. a set of credentials or a Facebook account id etc.). __The\n      session will invoke this method in order to authenticate itself__ (see\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}}).\n       __This method returns a promise. A resolving promise will result in the\n      session becoming authenticated.__ Any data the promise resolves with will\n      be saved in and accessible via the session service's `data.authenticated`\n      property (see {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}).\n      A rejecting promise indicates that authentication failed and will result in\n      the session remaining unauthenticated.\n       The `BaseAuthenticator`'s implementation always returns a rejecting promise\n      and thus never authenticates the session. __This method must be overridden\n      in subclasses__.\n       @method authenticate\n      @param {Any} [...args] The arguments that the authenticator requires to authenticate the session\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate() {\n      return Ember.RSVP.reject();\n    },\n    /**\n      This method is invoked as a callback when the session is invalidated. While\n      the session will invalidate itself and clear all authenticated session data,\n      it might be necessary for some authenticators to perform additional tasks\n      (e.g. invalidating an access token on the server side).\n       __This method returns a promise. A resolving promise will result in the\n      session becoming unauthenticated.__ A rejecting promise will result in\n      invalidation being intercepted and the session remaining authenticated.\n       The `BaseAuthenticator`'s implementation always returns a resolving promise\n      and thus never intercepts session invalidation. __This method doesn't have\n      to be overridden in custom authenticators__ if no actions need to be\n      performed on session invalidation.\n       @method invalidate\n      @param {Object} data The current authenticated session data\n      @param {Array} ...args additional arguments as required by the authenticator\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n      @public\n    */\n    invalidate() {\n      return Ember.RSVP.resolve();\n    }\n  });\n});","define(\"ember-simple-auth/authenticators/devise\", [\"exports\", \"ember-simple-auth/utils/assign\", \"ember-simple-auth/authenticators/base\", \"fetch\"], function (_exports, _assign, _base, _fetch) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const JSON_CONTENT_TYPE = 'application/json';\n\n  /**\n    Authenticator that works with the Ruby gem\n    [devise](https://github.com/plataformatec/devise).\n  \n    __As token authentication is not actually part of devise anymore, the server\n    needs to implement some customizations__ to work with this authenticator -\n    see [this gist](https://gist.github.com/josevalim/fb706b1e933ef01e4fb6).\n  \n    @class DeviseAuthenticator\n    @module ember-simple-auth/authenticators/devise\n    @extends BaseAuthenticator\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    /**\n      The endpoint on the server that the authentication request is sent to.\n       @property serverTokenEndpoint\n      @type String\n      @default '/users/sign_in'\n      @public\n    */\n    serverTokenEndpoint: '/users/sign_in',\n    /**\n      The devise resource name. __This will be used in the request and also be\n      expected in the server's response.__\n       @property resourceName\n      @type String\n      @default 'user'\n      @public\n    */\n    resourceName: 'user',\n    /**\n      The token attribute name. __This will be used in the request and also be\n      expected in the server's response.__\n       @property tokenAttributeName\n      @type String\n      @default 'token'\n      @public\n    */\n    tokenAttributeName: 'token',\n    /**\n      The identification attribute name. __This will be used in the request and\n      also be expected in the server's response.__\n       @property identificationAttributeName\n      @type String\n      @default 'email'\n      @public\n    */\n    identificationAttributeName: 'email',\n    /**\n      Restores the session from a session data object; __returns a resolving\n      promise when there are non-empty\n      {{#crossLink \"DeviseAuthenticator/tokenAttributeName:property\"}}token{{/crossLink}}\n      and\n      {{#crossLink \"DeviseAuthenticator/identificationAttributeName:property\"}}identification{{/crossLink}}\n      values in `data`__ and a rejecting promise otherwise.\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore(data) {\n      // eslint-disable-next-line prefer-promise-reject-errors\n      return this._validate(data) ? Ember.RSVP.Promise.resolve(data) : Ember.RSVP.Promise.reject();\n    },\n    /**\n      Authenticates the session with the specified `identification` and\n      `password`; the credentials are `POST`ed to the\n      {{#crossLink \"DeviseAuthenticator/serverTokenEndpoint:property\"}}server{{/crossLink}}.\n      If the credentials are valid the server will responds with a\n      {{#crossLink \"DeviseAuthenticator/tokenAttributeName:property\"}}token{{/crossLink}}\n      and\n      {{#crossLink \"DeviseAuthenticator/identificationAttributeName:property\"}}identification{{/crossLink}}.\n      __If the credentials are valid and authentication succeeds, a promise that\n      resolves with the server's response is returned__, otherwise a promise that\n      rejects with the server error is returned.\n       @method authenticate\n      @param {String} identification The user's identification\n      @param {String} password The user's password\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated. If authentication fails, the promise will reject with the server response; however, the authenticator reads that response already so if you need to read it again you need to clone the response object first\n      @public\n    */\n    authenticate(identification, password) {\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        const {\n          resourceName,\n          identificationAttributeName,\n          tokenAttributeName\n        } = this.getProperties('resourceName', 'identificationAttributeName', 'tokenAttributeName');\n        const data = {};\n        data[resourceName] = {\n          password\n        };\n        data[resourceName][identificationAttributeName] = identification;\n        this.makeRequest(data).then(response => {\n          if (response.ok) {\n            response.json().then(json => {\n              if (this._validate(json)) {\n                const resourceName = this.get('resourceName');\n                const _json = json[resourceName] ? json[resourceName] : json;\n                Ember.run(null, resolve, _json);\n              } else {\n                Ember.run(null, reject, `Check that server response includes ${tokenAttributeName} and ${identificationAttributeName}`);\n              }\n            });\n          } else {\n            Ember.run(null, reject, response);\n          }\n        }).catch(error => Ember.run(null, reject, error));\n      });\n    },\n    /**\n      Does nothing\n       @method invalidate\n      @return {Ember.RSVP.Promise} A resolving promise\n      @public\n    */\n    invalidate() {\n      return Ember.RSVP.Promise.resolve();\n    },\n    /**\n      Makes a request to the Devise server using\n      [ember-fetch](https://github.com/stefanpenner/ember-fetch).\n       @method makeRequest\n      @param {Object} data The request data\n      @param {Object} options request options that are passed to `fetch`\n      @return {Promise} The promise returned by `fetch`\n      @protected\n    */\n    makeRequest(data, options = {}) {\n      let url = options.url || this.get('serverTokenEndpoint');\n      let requestOptions = {};\n      let body = JSON.stringify(data);\n      (0, _assign.default)(requestOptions, {\n        body,\n        method: 'POST',\n        headers: {\n          'accept': JSON_CONTENT_TYPE,\n          'content-type': JSON_CONTENT_TYPE\n        }\n      });\n      (0, _assign.default)(requestOptions, options || {});\n      return (0, _fetch.default)(url, requestOptions);\n    },\n    _validate(data) {\n      const tokenAttributeName = this.get('tokenAttributeName');\n      const identificationAttributeName = this.get('identificationAttributeName');\n      const resourceName = this.get('resourceName');\n      const _data = data[resourceName] ? data[resourceName] : data;\n      return !Ember.isEmpty(_data[tokenAttributeName]) && !Ember.isEmpty(_data[identificationAttributeName]);\n    }\n  });\n});","define(\"ember-simple-auth/authenticators/oauth2-implicit-grant\", [\"exports\", \"ember-simple-auth/authenticators/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.parseResponse = parseResponse;\n  /**\n    Parses the location hash (as received from `window.location.hash`) into an\n    object, e.g.:\n  \n    ```js\n    parseResponse('/routepath#access_token=secret-token&scope=something'); // => { access_token: 'secret-token', scope: 'something' }\n    ```\n  \n    @function parseResponse\n    @param {String} locationHash The location hash (as received from `window.location.hash`)\n    @return {Object} An obect with individual properties and values for the data parsed from the location hash\n  */\n  function parseResponse(locationHash) {\n    let params = {};\n    const query = locationHash.substring(locationHash.indexOf('?'));\n    const regex = /([^#?&=]+)=([^&]*)/g;\n    let match;\n\n    // decode all parameter pairs\n    while ((match = regex.exec(query)) !== null) {\n      params[decodeURIComponent(match[1])] = decodeURIComponent(match[2]);\n    }\n    return params;\n  }\n\n  /**\n   Authenticator that conforms to OAuth 2\n   ([RFC 6749](http://tools.ietf.org/html/rfc6749)), specifically the _\"Implicit\n   Grant Type\"_.\n  \n   Use {{#crossLink \"OAuth2ImplicitGrantCallbackMixin\"}}{{/crossLink}} in your\n   OAuth 2.0 redirect route to parse authentication parameters from location\n   hash string into an object.\n  \n   @class OAuth2ImplicitGrantAuthenticator\n   @module ember-simple-auth/authenticators/oauth2-implicit-grant\n   @extends BaseAuthenticator\n   @public\n   */\n  var _default = _exports.default = _base.default.extend({\n    /**\n     Restores the session from a session data object; __will return a resolving\n     promise when there is a non-empty `access_token` in the session data__ and\n     a rejecting promise otherwise.\n      @method restore\n     @param {Object} data The data to restore the session from\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n     @public\n     */\n    restore(data) {\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        if (!this._validateData(data)) {\n          return reject('Could not restore session - \"access_token\" missing.');\n        }\n        return resolve(data);\n      });\n    },\n    /**\n     Authenticates the session using the specified location `hash`\n     (see https://tools.ietf.org/html/rfc6749#section-4.2.2).\n      __If the access token is valid and thus authentication succeeds, a promise that\n     resolves with the access token is returned__, otherwise a promise that rejects\n     with the error code as returned by the server is returned\n     (see https://tools.ietf.org/html/rfc6749#section-4.2.2.1).\n      @method authenticate\n     @param {Object} hash The location hash\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n     @public\n     */\n    authenticate(hash) {\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        if (hash.error) {\n          reject(hash.error);\n        } else if (!this._validateData(hash)) {\n          reject('Invalid auth params - \"access_token\" missing.');\n        } else {\n          resolve(hash);\n        }\n      });\n    },\n    /**\n     This method simply returns a resolving promise.\n      @method invalidate\n     @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n     @public\n     */\n    invalidate() {\n      return Ember.RSVP.Promise.resolve();\n    },\n    _validateData(data) {\n      // see https://tools.ietf.org/html/rfc6749#section-4.2.2\n\n      return !Ember.isEmpty(data) && !Ember.isEmpty(data.access_token);\n    }\n  });\n});","define(\"ember-simple-auth/authenticators/oauth2-password-grant\", [\"exports\", \"ember-simple-auth/utils/assign\", \"ember-simple-auth/authenticators/base\", \"fetch\", \"ember-simple-auth/utils/is-fastboot\"], function (_exports, _assign, _base, _fetch, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    Authenticator that conforms to OAuth 2\n    ([RFC 6749](http://tools.ietf.org/html/rfc6749)), specifically the _\"Resource\n    Owner Password Credentials Grant Type\"_.\n  \n    This authenticator also automatically refreshes access tokens (see\n    [RFC 6749, section 6](http://tools.ietf.org/html/rfc6749#section-6)) if the\n    server supports it.\n  \n    @class OAuth2PasswordGrantAuthenticator\n    @module ember-simple-auth/authenticators/oauth2-password-grant\n    @extends BaseAuthenticator\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    /**\n      Triggered when the authenticator refreshed the access token (see\n      [RFC 6749, section 6](http://tools.ietf.org/html/rfc6749#section-6)).\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      The client_id to be sent to the authentication server (see\n      https://tools.ietf.org/html/rfc6749#appendix-A.1). __This should only be\n      used for statistics or logging etc. as it cannot actually be trusted since\n      it could have been manipulated on the client!__\n       @property clientId\n      @type String\n      @default null\n      @public\n    */\n    clientId: null,\n    /**\n      The endpoint on the server that authentication and token refresh requests\n      are sent to.\n       @property serverTokenEndpoint\n      @type String\n      @default '/token'\n      @public\n    */\n    serverTokenEndpoint: '/token',\n    /**\n      The endpoint on the server that token revocation requests are sent to. Only\n      set this if the server actually supports token revocation. If this is\n      `null`, the authenticator will not revoke tokens on session invalidation.\n       __If token revocation is enabled but fails, session invalidation will be\n      intercepted and the session will remain authenticated (see\n      {{#crossLink \"OAuth2PasswordGrantAuthenticator/invalidate:method\"}}{{/crossLink}}).__\n       @property serverTokenRevocationEndpoint\n      @type String\n      @default null\n      @public\n    */\n    serverTokenRevocationEndpoint: null,\n    /**\n      Sets whether the authenticator automatically refreshes access tokens if the\n      server supports it.\n       @property refreshAccessTokens\n      @type Boolean\n      @default true\n      @public\n    */\n    refreshAccessTokens: true,\n    /**\n      The offset time in milliseconds to refresh the access token. This must\n      return a random number. This randomization is needed because in case of\n      multiple tabs, we need to prevent the tabs from sending refresh token\n      request at the same exact moment.\n       __When overriding this property, make sure to mark the overridden property\n      as volatile so it will actually have a different value each time it is\n      accessed.__\n       @property tokenRefreshOffset\n      @type Integer\n      @default a random number between 5 and 10\n      @public\n    */\n    get tokenRefreshOffset() {\n      const min = 5;\n      const max = 10;\n      return (Math.floor(Math.random() * (max - min)) + min) * 1000;\n    },\n    _refreshTokenTimeout: null,\n    /**\n      Restores the session from a session data object; __will return a resolving\n      promise when there is a non-empty `access_token` in the session data__ and\n      a rejecting promise otherwise.\n       If the server issues\n      [expiring access tokens](https://tools.ietf.org/html/rfc6749#section-5.1)\n      and there is an expired access token in the session data along with a\n      refresh token, the authenticator will try to refresh the access token and\n      return a promise that resolves with the new access token if the refresh was\n      successful. If there is no refresh token or the token refresh is not\n      successful, a rejecting promise will be returned.\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated. If restoration fails, the promise will reject with the server response (in case the access token had expired and was refreshed using a refresh token); however, the authenticator reads that response already so if you need to read it again you need to clone the response object first\n      @public\n    */\n    restore(data) {\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        const now = new Date().getTime();\n        const refreshAccessTokens = this.get('refreshAccessTokens');\n        if (!Ember.isEmpty(data['expires_at']) && data['expires_at'] < now) {\n          if (refreshAccessTokens) {\n            this._refreshAccessToken(data['expires_in'], data['refresh_token']).then(resolve, reject);\n          } else {\n            reject();\n          }\n        } else {\n          if (!this._validate(data)) {\n            reject();\n          } else {\n            this._scheduleAccessTokenRefresh(data['expires_in'], data['expires_at'], data['refresh_token']);\n            resolve(data);\n          }\n        }\n      });\n    },\n    /**\n      Authenticates the session with the specified `identification`, `password`\n      and optional `scope`; issues a `POST` request to the\n      {{#crossLink \"OAuth2PasswordGrantAuthenticator/serverTokenEndpoint:property\"}}{{/crossLink}}\n      and receives the access token in response (see\n      http://tools.ietf.org/html/rfc6749#section-4.3).\n       __If the credentials are valid (and the optionally requested scope is\n      granted) and thus authentication succeeds, a promise that resolves with the\n      server's response is returned__, otherwise a promise that rejects with the\n      error as returned by the server is returned.\n       __If the\n      [server supports it](https://tools.ietf.org/html/rfc6749#section-5.1), this\n      method also schedules refresh requests for the access token before it\n      expires.__\n       The server responses are expected to look as defined in the spec (see\n      http://tools.ietf.org/html/rfc6749#section-5). The response to a successful\n      authentication request should be:\n       ```json\n      HTTP/1.1 200 OK\n      Content-Type: application/json;charset=UTF-8\n       {\n        \"access_token\":\"2YotnFZFEjr1zCsicMWpAA\",\n        \"token_type\":\"bearer\",\n        \"expires_in\":3600, // optional\n        \"refresh_token\":\"tGzv3JOkF0XG5Qx2TlKWIA\" // optional\n      }\n      ```\n       The response for a failing authentication request should be:\n       ```json\n      HTTP/1.1 400 Bad Request\n      Content-Type: application/json;charset=UTF-8\n       {\n        \"error\":\"invalid_grant\"\n      }\n      ```\n       A full list of error codes can be found\n      [here](https://tools.ietf.org/html/rfc6749#section-5.2).\n       @method authenticate\n      @param {String} identification The resource owner username\n      @param {String} password The resource owner password\n      @param {String|Array} scope The scope of the access request (see [RFC 6749, section 3.3](http://tools.ietf.org/html/rfc6749#section-3.3))\n      @param {Object} headers Optional headers that particular backends may require (for example sending 2FA challenge responses)\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated. If authentication fails, the promise will reject with the server response; however, the authenticator reads that response already so if you need to read it again you need to clone the response object first\n      @public\n    */\n    authenticate(identification, password, scope = [], headers = {}) {\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        const data = {\n          'grant_type': 'password',\n          username: identification,\n          password\n        };\n        const serverTokenEndpoint = this.get('serverTokenEndpoint');\n        const scopesString = Ember.makeArray(scope).join(' ');\n        if (!Ember.isEmpty(scopesString)) {\n          data.scope = scopesString;\n        }\n        this.makeRequest(serverTokenEndpoint, data, headers).then(response => {\n          Ember.run(() => {\n            if (!this._validate(response)) {\n              reject('access_token is missing in server response');\n            }\n            const expiresAt = this._absolutizeExpirationTime(response['expires_in']);\n            this._scheduleAccessTokenRefresh(response['expires_in'], expiresAt, response['refresh_token']);\n            if (!Ember.isEmpty(expiresAt)) {\n              response = (0, _assign.default)(response, {\n                'expires_at': expiresAt\n              });\n            }\n            resolve(response);\n          });\n        }, response => {\n          Ember.run(null, reject, response);\n        });\n      });\n    },\n    /**\n      If token revocation is enabled, this will revoke the access token (and the\n      refresh token if present). If token revocation succeeds, this method\n      returns a resolving promise, otherwise it will return a rejecting promise,\n      thus intercepting session invalidation.\n       If token revocation is not enabled this method simply returns a resolving\n      promise.\n       @method invalidate\n      @param {Object} data The current authenticated session data\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated. If invalidation fails, the promise will reject with the server response (in case token revocation is used); however, the authenticator reads that response already so if you need to read it again you need to clone the response object first\n      @public\n    */\n    invalidate(data) {\n      const serverTokenRevocationEndpoint = this.get('serverTokenRevocationEndpoint');\n      function success(resolve) {\n        Ember.run.cancel(this._refreshTokenTimeout);\n        delete this._refreshTokenTimeout;\n        resolve();\n      }\n      return new Ember.RSVP.Promise(resolve => {\n        if (Ember.isEmpty(serverTokenRevocationEndpoint)) {\n          success.apply(this, [resolve]);\n        } else {\n          const requests = [];\n          Ember.A(['access_token', 'refresh_token']).forEach(tokenType => {\n            const token = data[tokenType];\n            if (!Ember.isEmpty(token)) {\n              requests.push(this.makeRequest(serverTokenRevocationEndpoint, {\n                'token_type_hint': tokenType,\n                token\n              }));\n            }\n          });\n          const succeed = () => {\n            success.apply(this, [resolve]);\n          };\n          Ember.RSVP.all(requests).then(succeed, succeed);\n        }\n      });\n    },\n    /**\n      Makes a request to the OAuth 2.0 server.\n       @method makeRequest\n      @param {String} url The request URL\n      @param {Object} data The request data\n      @param {Object} headers Additional headers to send in request\n      @return {Promise} A promise that resolves with the response object\n      @protected\n    */\n    makeRequest(url, data, headers = {}) {\n      headers['Content-Type'] = 'application/x-www-form-urlencoded';\n      const clientId = this.get('clientId');\n      if (!Ember.isEmpty(clientId)) {\n        data['client_id'] = this.get('clientId');\n      }\n      const body = Object.keys(data).map(key => {\n        return `${encodeURIComponent(key)}=${encodeURIComponent(data[key])}`;\n      }).join('&');\n      const options = {\n        body,\n        headers,\n        method: 'POST'\n      };\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        (0, _fetch.default)(url, options).then(response => {\n          response.text().then(text => {\n            try {\n              let json = JSON.parse(text);\n              if (!response.ok) {\n                response.responseJSON = json;\n                reject(response);\n              } else {\n                resolve(json);\n              }\n            } catch (SyntaxError) {\n              response.responseText = text;\n              reject(response);\n            }\n          });\n        }).catch(reject);\n      });\n    },\n    _scheduleAccessTokenRefresh(expiresIn, expiresAt, refreshToken) {\n      const refreshAccessTokens = this.get('refreshAccessTokens') && !(0, _isFastboot.default)(Ember.getOwner(this));\n      if (refreshAccessTokens) {\n        const now = new Date().getTime();\n        if (Ember.isEmpty(expiresAt) && !Ember.isEmpty(expiresIn)) {\n          expiresAt = new Date(now + expiresIn * 1000).getTime();\n        }\n        const offset = this.get('tokenRefreshOffset');\n        if (!Ember.isEmpty(refreshToken) && !Ember.isEmpty(expiresAt) && expiresAt > now - offset) {\n          Ember.run.cancel(this._refreshTokenTimeout);\n          delete this._refreshTokenTimeout;\n          if (!Ember.testing) {\n            this._refreshTokenTimeout = Ember.run.later(this, this._refreshAccessToken, expiresIn, refreshToken, expiresAt - now - offset);\n          }\n        }\n      }\n    },\n    _refreshAccessToken(expiresIn, refreshToken) {\n      const data = {\n        'grant_type': 'refresh_token',\n        'refresh_token': refreshToken\n      };\n      const serverTokenEndpoint = this.get('serverTokenEndpoint');\n      return new Ember.RSVP.Promise((resolve, reject) => {\n        this.makeRequest(serverTokenEndpoint, data).then(response => {\n          Ember.run(() => {\n            expiresIn = response['expires_in'] || expiresIn;\n            refreshToken = response['refresh_token'] || refreshToken;\n            const expiresAt = this._absolutizeExpirationTime(expiresIn);\n            const data = (0, _assign.default)(response, {\n              'expires_in': expiresIn,\n              'expires_at': expiresAt,\n              'refresh_token': refreshToken\n            });\n            this._scheduleAccessTokenRefresh(expiresIn, null, refreshToken);\n            this.trigger('sessionDataUpdated', data);\n            resolve(data);\n          });\n        }, response => {\n          (true && Ember.warn(`Access token could not be refreshed - server responded with ${response.responseJSON}.`, false, {\n            id: 'ember-simple-auth.failedOAuth2TokenRefresh'\n          }));\n          reject();\n        });\n      });\n    },\n    _absolutizeExpirationTime(expiresIn) {\n      if (!Ember.isEmpty(expiresIn)) {\n        return new Date(new Date().getTime() + expiresIn * 1000).getTime();\n      }\n    },\n    _validate(data) {\n      return !Ember.isEmpty(data['access_token']);\n    }\n  });\n});","define(\"ember-simple-auth/authenticators/test\", [\"exports\", \"ember-simple-auth/authenticators/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _base.default.extend({\n    restore(data) {\n      return Ember.RSVP.resolve(data);\n    },\n    authenticate(data) {\n      return Ember.RSVP.resolve(data);\n    },\n    invalidate() {\n      return Ember.RSVP.resolve();\n    }\n  });\n});","define(\"ember-simple-auth/authenticators/torii\", [\"exports\", \"ember-simple-auth/utils/assign\", \"ember-simple-auth/authenticators/base\"], function (_exports, _assign, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate('Ember Simple Auth: The Torii authenticator is deprecated.', false, {\n    id: 'ember-simple-auth.authenticators.torii',\n    until: '5.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '4.2.0'\n    }\n  }));\n  /**\n    Authenticator that wraps the\n    [Torii library](https://github.com/Vestorly/torii) and thus allows to connect\n    any external authentication provider that torii defines a provider for.\n  \n    In order to use this authenticator, __the application needs to have the\n    [torii addon](https://github.com/Vestorly/torii) installed and must inject\n    the torii service into the authenticator__:\n  \n    ```js\n    // app/authenticators/torii.js\n    import Torii from 'ember-simple-auth/authenticators/torii';\n    import { inject as service } from '@ember/service';\n  \n    export default class ToriiAuthenticator extends Torii {\n      @service torii;\n    }\n    ```\n  \n    @class ToriiAuthenticator\n    @deprecated Implement an authenticator that wraps Torii in application code instead\n    @module ember-simple-auth/authenticators/torii\n    @extends BaseAuthenticator\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    _provider: null,\n    /**\n      Restores the session by calling the torii provider's `fetch` method.\n       __Many torii providers do not implement the `fetch` method__. If the\n      provider in use does not implement the method simply add it as follows:\n       ```js\n      // app/torii-providers/facebook.js\n      import FacebookOauth2Provider from 'torii/providers/facebook-oauth2';\n       export default class FacebookToriiProvider extends FacebookOauth2Provider {\n        fetch(data) {\n          return data;\n        }\n      }\n      ```\n       @method restore\n      @param {Object} data The data to restore the session from\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming or remaining authenticated\n      @public\n    */\n    restore(data) {\n      this._assertToriiIsPresent();\n      data = data || {};\n      if (!Ember.isEmpty(data.provider)) {\n        const {\n          provider\n        } = data;\n        return this.get('torii').fetch(data.provider, data).then(fetchedData => {\n          this._authenticateWithProvider(provider, fetchedData);\n          return (0, _assign.default)(data, fetchedData);\n        }, err => {\n          delete this._provider;\n          throw err;\n        });\n      } else {\n        delete this._provider;\n        return Ember.RSVP.reject();\n      }\n    },\n    /**\n      Authenticates the session by opening the specified torii provider. For more\n      documentation on torii and its providers abstraction, see the\n      [project's README](https://github.com/Vestorly/torii#readme), specifically\n      the\n      [section on providers](https://github.com/Vestorly/torii#configuring-a-torii-provider).\n       @method authenticate\n      @param {String} provider The torii provider to authenticate the session with\n      @param {Object} options The options to pass to the torii provider\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session becoming authenticated\n      @public\n    */\n    authenticate(provider, options) {\n      this._assertToriiIsPresent();\n      return this.get('torii').open(provider, options || {}).then(data => {\n        this._authenticateWithProvider(provider, data);\n        return data;\n      });\n    },\n    /**\n      Closes the torii provider. If the provider is successfully closed, this\n      method returns a resolving promise, otherwise it will return a rejecting\n      promise, thus intercepting session invalidation.\n       @method invalidate\n      @return {Ember.RSVP.Promise} A promise that when it resolves results in the session being invalidated\n      @public\n    */\n    invalidate(data) {\n      return this.get('torii').close(this._provider, data).then(() => {\n        delete this._provider;\n      });\n    },\n    _authenticateWithProvider(provider, data) {\n      data.provider = provider;\n      this._provider = data.provider;\n    },\n    _assertToriiIsPresent() {\n      const torii = this.get('torii');\n      (true && !(Ember.isPresent(torii)) && Ember.assert('You are trying to use the torii authenticator but torii is not available. Inject torii into the authenticator with \"torii: Ember.inject.service()\".', Ember.isPresent(torii)));\n    }\n  });\n});","define(\"ember-simple-auth/configuration\", [\"exports\", \"ember-simple-auth/use-session-setup-method\"], function (_exports, _useSessionSetupMethod) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const DEFAULTS = {\n    rootURL: '',\n    routeAfterAuthentication: 'index'\n  };\n\n  /**\n    Ember Simple Auth's configuration object.\n  \n    @class Configuration\n    @extends Object\n    @module ember-simple-auth/configuration\n    @public\n  */\n  var _default = _exports.default = {\n    /**\n      The root URL of the application as configured in `config/environment.js`.\n       @property rootURL\n      @readOnly\n      @static\n      @type String\n      @default ''\n      @public\n    */\n    rootURL: DEFAULTS.rootURL,\n    /**\n      The route to transition to after successful authentication.\n       @property routeAfterAuthentication\n      @readOnly\n      @static\n      @type String\n      @default 'index'\n      @public\n    */\n    routeAfterAuthentication: DEFAULTS.routeAfterAuthentication,\n    /**\n      Flag used to determine whether users have decided to setup session service themselves.\n      This lets us to return early from initializer which would setup the service automatically.\n       This will be the default behavior in the future.\n       @property useSessionSetupMethod\n      @default false\n      @private\n    */\n    useSessionSetupMethod: _useSessionSetupMethod.default,\n    load(config) {\n      this.rootURL = config.rootURL !== undefined ? config.rootURL : DEFAULTS.rootURL;\n      this.routeAfterAuthentication = config.routeAfterAuthentication !== undefined ? config.routeAfterAuthentication : DEFAULTS.routeAfterAuthentication;\n    }\n  };\n});","define(\"ember-simple-auth/initializers/setup-session-restoration\", [\"exports\", \"ember-simple-auth/configuration\"], function (_exports, _configuration) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupSessionRestoration;\n  function setupSessionRestoration(registry) {\n    if (_configuration.default.useSessionSetupMethod) {\n      // return early in case users chose to opt out of initializer behavior.\n      return;\n    }\n    (true && !(false) && Ember.deprecate('Ember Simple Auth: The automatic session initialization is deprecated. Please inject session service in your application route and call the setup method manually.', false, {\n      id: 'ember-simple-auth.initializer.setup-session-restoration',\n      until: '5.0.0',\n      for: 'ember-simple-auth',\n      since: {\n        enabled: '4.1.0'\n      }\n    }));\n    const ApplicationRoute = registry.resolveRegistration ? registry.resolveRegistration('route:application') : registry.resolve('route:application');\n    ApplicationRoute.reopen({\n      init() {\n        this._super(...arguments);\n        const originalBeforeModel = this.beforeModel;\n        this.beforeModel = function () {\n          if (!this.__usesApplicationRouteMixn__) {\n            const sessionService = Ember.getOwner(this).lookup('service:session');\n            sessionService._setupHandlers();\n          }\n          const session = Ember.getOwner(this).lookup('session:main');\n          return session.restore().then(() => originalBeforeModel.apply(this, arguments), () => originalBeforeModel.apply(this, arguments));\n        };\n      }\n    });\n  }\n});","define(\"ember-simple-auth/initializers/setup-session\", [\"exports\", \"ember-simple-auth/internal-session\", \"ember-simple-auth/session-stores/ephemeral\"], function (_exports, _internalSession, _ephemeral) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupSession;\n  function setupSession(registry) {\n    registry.register('session:main', _internalSession.default);\n    if (Ember.testing) {\n      registry.register('session-store:test', _ephemeral.default);\n    }\n  }\n});","define(\"ember-simple-auth/internal-session\", [\"exports\", \"ember-simple-auth/utils/assign\"], function (_exports, _assign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.ObjectProxy.extend(Ember.Evented, {\n    authenticator: null,\n    store: null,\n    isAuthenticated: false,\n    attemptedTransition: null,\n    init() {\n      this._super(...arguments);\n      this.set('content', {\n        authenticated: {}\n      });\n      let storeFactory = 'session-store:application';\n      if (Ember.testing) {\n        storeFactory = 'session-store:test';\n      }\n      this.set('store', Ember.getOwner(this).lookup(storeFactory));\n      this._busy = false;\n      this._bindToStoreEvents();\n    },\n    authenticate(authenticatorFactory, ...args) {\n      this._busy = true;\n      (true && !(!Ember.isEmpty(authenticatorFactory)) && Ember.assert(`Session#authenticate requires the authenticator to be specified, was \"${authenticatorFactory}\"!`, !Ember.isEmpty(authenticatorFactory)));\n      const authenticator = this._lookupAuthenticator(authenticatorFactory);\n      return authenticator.authenticate(...args).then(content => {\n        this._busy = false;\n        return this._setup(authenticatorFactory, content, true);\n      }, error => {\n        const rejectWithError = () => Ember.RSVP.Promise.reject(error);\n        this._busy = false;\n        return this._clear().then(rejectWithError, rejectWithError);\n      });\n    },\n    invalidate() {\n      this._busy = true;\n      this.set('attemptedTransition', null);\n      if (!this.get('isAuthenticated')) {\n        this._busy = false;\n        return Ember.RSVP.Promise.resolve();\n      }\n      let authenticator = this._lookupAuthenticator(this.authenticator);\n      return authenticator.invalidate(this.content.authenticated, ...arguments).then(() => {\n        authenticator.off('sessionDataUpdated', this, this._onSessionDataUpdated);\n        this._busy = false;\n        return this._clear(true);\n      }, error => {\n        this.trigger('sessionInvalidationFailed', error);\n        this._busy = false;\n        return Ember.RSVP.Promise.reject(error);\n      });\n    },\n    restore() {\n      this._busy = true;\n      const reject = () => Ember.RSVP.Promise.reject();\n      return this.store.restore().then(restoredContent => {\n        let {\n          authenticator: authenticatorFactory\n        } = restoredContent.authenticated || {};\n        if (authenticatorFactory) {\n          delete restoredContent.authenticated.authenticator;\n          const authenticator = this._lookupAuthenticator(authenticatorFactory);\n          return authenticator.restore(restoredContent.authenticated).then(content => {\n            this.set('content', restoredContent);\n            this._busy = false;\n            return this._setup(authenticatorFactory, content);\n          }, err => {\n            Ember.debug(`The authenticator \"${authenticatorFactory}\" rejected to restore the session - invalidating…`);\n            if (err) {\n              Ember.debug(err);\n            }\n            this._busy = false;\n            return this._clearWithContent(restoredContent).then(reject, reject);\n          });\n        } else {\n          delete (restoredContent || {}).authenticated;\n          this._busy = false;\n          return this._clearWithContent(restoredContent).then(reject, reject);\n        }\n      }, () => {\n        this._busy = false;\n        return this._clear().then(reject, reject);\n      });\n    },\n    _setup(authenticator, authenticatedContent, trigger) {\n      trigger = Boolean(trigger) && !this.get('isAuthenticated');\n      this.setProperties({\n        isAuthenticated: true,\n        authenticator,\n        'content.authenticated': authenticatedContent\n      });\n      this._bindToAuthenticatorEvents();\n      return this._updateStore().then(() => {\n        if (trigger) {\n          this.trigger('authenticationSucceeded');\n        }\n      }, () => {\n        this.setProperties({\n          isAuthenticated: false,\n          authenticator: null,\n          'content.authenticated': {}\n        });\n      });\n    },\n    _clear(trigger) {\n      trigger = Boolean(trigger) && this.get('isAuthenticated');\n      this.setProperties({\n        isAuthenticated: false,\n        authenticator: null,\n        'content.authenticated': {}\n      });\n      return this._updateStore().then(() => {\n        if (trigger) {\n          this.trigger('invalidationSucceeded');\n        }\n      });\n    },\n    _clearWithContent(content, trigger) {\n      this.set('content', content);\n      return this._clear(trigger);\n    },\n    setUnknownProperty(key, value) {\n      (true && !(key !== 'authenticated') && Ember.assert('\"authenticated\" is a reserved key used by Ember Simple Auth!', key !== 'authenticated'));\n      let result = this._super(key, value);\n      if (!/^_/.test(key)) {\n        this._updateStore();\n      }\n      return result;\n    },\n    _updateStore() {\n      let data = this.content;\n      if (!Ember.isEmpty(this.authenticator)) {\n        Ember.set(data, 'authenticated', (0, _assign.default)({\n          authenticator: this.authenticator\n        }, data.authenticated || {}));\n      }\n      return this.store.persist(data);\n    },\n    _bindToAuthenticatorEvents() {\n      const authenticator = this._lookupAuthenticator(this.authenticator);\n      authenticator.on('sessionDataUpdated', this, this._onSessionDataUpdated);\n      authenticator.on('sessionDataInvalidated', this, this._onSessionDataInvalidated);\n    },\n    _onSessionDataUpdated(content) {\n      this._setup(this.authenticator, content);\n    },\n    _onSessionDataInvalidated() {\n      this._clear(true);\n    },\n    _bindToStoreEvents() {\n      this.store.on('sessionDataUpdated', content => {\n        if (!this._busy) {\n          this._busy = true;\n          let {\n            authenticator: authenticatorFactory\n          } = content.authenticated || {};\n          if (authenticatorFactory) {\n            delete content.authenticated.authenticator;\n            const authenticator = this._lookupAuthenticator(authenticatorFactory);\n            authenticator.restore(content.authenticated).then(authenticatedContent => {\n              this.set('content', content);\n              this._busy = false;\n              this._setup(authenticatorFactory, authenticatedContent, true);\n            }, err => {\n              Ember.debug(`The authenticator \"${authenticatorFactory}\" rejected to restore the session - invalidating…`);\n              if (err) {\n                Ember.debug(err);\n              }\n              this._busy = false;\n              this._clearWithContent(content, true);\n            });\n          } else {\n            this._busy = false;\n            this._clearWithContent(content, true);\n          }\n        }\n      });\n    },\n    _lookupAuthenticator(authenticatorName) {\n      let owner = Ember.getOwner(this);\n      let authenticator = owner.lookup(authenticatorName);\n      (true && !(!Ember.isNone(authenticator)) && Ember.assert(`No authenticator for factory \"${authenticatorName}\" could be found!`, !Ember.isNone(authenticator)));\n      Ember.setOwner(authenticator, owner);\n      return authenticator;\n    }\n  });\n});","define(\"ember-simple-auth/mixins/application-route-mixin\", [\"exports\", \"ember-simple-auth/configuration\", \"ember-simple-auth/utils/is-fastboot\"], function (_exports, _configuration, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate('Ember Simple Auth: The ApplicationRouteMixin is now deprecated; it can be safely removed.', false, {\n    id: 'ember-simple-auth.mixins.application-route-mixin',\n    until: '4.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '3.1.0'\n    }\n  }));\n  /**\n    The mixin for the application route, __defining methods that are called when\n    the session is successfully authenticated (see\n    {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}})\n    or invalidated__ (see\n    {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}).\n  \n    __Using this mixin is optional.__ The session events can also be handled\n    manually, e.g. in an instance initializer:\n  \n    ```js\n    // app/instance-initializers/session-events.js\n    export function initialize(instance) {\n      const applicationRoute = instance.lookup('route:application');\n      const session          = instance.lookup('service:session');\n      session.on('authenticationSucceeded', function() {\n        applicationRoute.transitionTo('index');\n      });\n      session.on('invalidationSucceeded', function() {\n        applicationRoute.transitionTo('bye');\n      });\n    };\n  \n    export default {\n      initialize,\n      name:  'session-events',\n      after: 'ember-simple-auth'\n    };\n    ```\n  \n    __When using the `ApplicationRouteMixin` you need to specify\n    `needs: ['service:session']` in the application route's unit test.__\n  \n    @class ApplicationRouteMixin\n    @deprecated Call the session service's setup method in the application route's constructor instead\n    @module ember-simple-auth/mixins/application-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: Ember.inject.service('session'),\n    /**\n      The route to transition to after successful authentication.\n       @property routeAfterAuthentication\n      @type String\n      @default 'index'\n      @public\n    */\n    routeAfterAuthentication: 'index',\n    init() {\n      this._super(...arguments);\n      this.__usesApplicationRouteMixn__ = true;\n      this._isFastBoot = this.hasOwnProperty('_isFastBoot') ? this._isFastBoot : (0, _isFastboot.default)(Ember.getOwner(this));\n      this._subscribeToSessionEvents();\n    },\n    _subscribeToSessionEvents() {\n      Ember.A([['authenticationSucceeded', 'sessionAuthenticated'], ['invalidationSucceeded', 'sessionInvalidated']]).forEach(([event, method]) => {\n        this.get('session').on(event, (...args) => this[method](...args));\n      });\n    },\n    /**\n      This method handles the session's\n      {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}}\n      event. If there is a transition that was previously intercepted by the\n      {{#crossLink \"AuthenticatedRouteMixin/beforeModel:method\"}}\n      AuthenticatedRouteMixin's `beforeModel` method{{/crossLink}} it will retry\n      it. If there is no such transition, the `ember_simple_auth-redirectTarget`\n      cookie will be checked for a url that represents an attemptedTransition\n      that was aborted in Fastboot mode, otherwise this action transitions to the\n      {{#crossLink \"AuthenticatedRouteMixin/routeAfterAuthentication:property\"}}{{/crossLink}}.\n        @method sessionAuthenticated\n      @public\n    */\n    sessionAuthenticated() {\n      this.get('session').handleAuthentication(this.get('routeAfterAuthentication'));\n    },\n    /**\n      This method handles the session's\n      {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}\n      event. __It reloads the Ember.js application__ by redirecting the browser\n      to the application's root URL so that all in-memory data (such as Ember\n      Data stores etc.) gets cleared.\n       If the Ember.js application will be used in an environment where the users\n      don't have direct access to any data stored on the client (e.g.\n      [cordova](http://cordova.apache.org)) this action can be overridden to e.g.\n      simply transition to the index route.\n       @method sessionInvalidated\n      @public\n    */\n    sessionInvalidated() {\n      if (!Ember.testing) {\n        this.get('session').handleInvalidation(_configuration.default.rootURL);\n      }\n    }\n  });\n});","define(\"ember-simple-auth/mixins/authenticated-route-mixin\", [\"exports\", \"ember-simple-auth/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate(\"Ember Simple Auth: The AuthenticatedRouteMixin is now deprecated; call the session service's requireAuthentication method in the respective route's beforeModel method instead.\", false, {\n    id: 'ember-simple-auth.mixins.authenticated-route-mixin',\n    until: '4.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '3.1.0'\n    }\n  }));\n  /**\n    __This mixin is used to make routes accessible only if the session is\n    authenticated.__ It defines a `beforeModel` method that aborts the current\n    transition and instead transitions to the\n    {{#crossLink \"AuthenticatedRouteMixin/authenticationRoute:property\"}}{{/crossLink}} if\n    the session is not authenticated.\n  \n    ```js\n    // app/routes/protected.js\n    import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';\n  \n    export default class ProtectedRoute extends Route.extend(AuthenticatedRouteMixin) {}\n    ```\n  \n    @class AuthenticatedRouteMixin\n    @deprecated Call the session service's requireAuthentication method in the respective route's beforeModel method instead\n    @module ember-simple-auth/mixins/authenticated-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: Ember.inject.service('session'),\n    /**\n      The route to transition to for authentication. The\n      {{#crossLink \"AuthenticatedRouteMixin\"}}{{/crossLink}} will transition to\n      this route when a route that implements the mixin is accessed when the\n      route is not authenticated.\n       @property authenticationRoute\n      @type String\n      @default 'login'\n      @public\n    */\n    authenticationRoute: 'login',\n    /**\n      Checks whether the session is authenticated and if it is not aborts the\n      current transition and instead transitions to the\n      {{#crossLink \"AuthenticatedRouteMixin/authenticationRoute:property\"}}{{/crossLink}}.\n      If the current transition is aborted, this method will save it in the\n      session service's\n      {{#crossLink \"SessionService/attemptedTransition:property\"}}{{/crossLink}}\n      property so that  it can be retried after the session is authenticated\n      (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n      If the transition is aborted in Fastboot mode, the transition's target\n      URL will be saved in a `ember_simple_auth-redirectTarget` cookie for use by\n      the browser after authentication is complete.\n       __If `beforeModel` is overridden in a route that uses this mixin, the route's\n     implementation must call `super.beforeModel(...arguments)`__ so that the mixin's\n     `beforeModel` method is actually executed.\n       @method beforeModel\n      @param {Transition} transition The transition that lead to this route\n      @public\n    */\n    beforeModel(transition) {\n      let isAuthenticated = (0, _routing.requireAuthentication)(Ember.getOwner(this), transition);\n      if (!isAuthenticated) {\n        this.triggerAuthentication();\n      } else {\n        return this._super(...arguments);\n      }\n    },\n    /**\n      Triggers authentication; by default this method transitions to the\n      `authenticationRoute`. In case the application uses an authentication\n      mechanism that does not use an authentication route, this method can be\n      overridden.\n       @method triggerAuthentication\n      @protected\n    */\n    triggerAuthentication() {\n      let authenticationRoute = this.get('authenticationRoute');\n      (true && !(this.get('routeName') !== authenticationRoute) && Ember.assert('The route configured as AuthenticatedRouteMixin.authenticationRoute cannot implement the AuthenticatedRouteMixin mixin as that leads to an infinite transitioning loop!', this.get('routeName') !== authenticationRoute));\n      (0, _routing.triggerAuthentication)(Ember.getOwner(this), authenticationRoute);\n    }\n  });\n});","define(\"ember-simple-auth/mixins/data-adapter-mixin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate(\"Ember Simple Auth: The DataAdapterMixin is now deprecated; call the session service's invalidate method in the adapter's handleResponse method instead in case of a 401 response.\", false, {\n    id: 'ember-simple-auth.mixins.data-adapter-mixin',\n    until: '4.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '3.1.0'\n    }\n  }));\n  /**\n    __This mixin can be used to make Ember Data adapters authorize all outgoing\n    API requests by injecting a header.__ The adapter's `headers` property can be\n    set using data read from the `session` service that is injected by this\n    mixin.\n  \n    __The `DataAdapterMixin` will also invalidate the session whenever it\n    receives a 401 response for an API request.__\n  \n    ```js\n    // app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n    import DataAdapterMixin from 'ember-simple-auth/mixins/data-adapter-mixin';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter.extend(DataAdapterMixin) {\n      @computed('session.data.authenticated.token')\n      get headers() {\n        let headers = {};\n        if (this.session.isAuthenticated) {\n          headers['Authorization'] = `Bearer ${this.session.data.authenticated.token}`;\n        }\n  \n        return headers;\n      }\n    }\n    ```\n  \n    __The `DataAdapterMixin` requires Ember Data 1.13 or later.__\n  \n    @class DataAdapterMixin\n    @deprecated Call the session service's invalidate method in the adapter's handleResponse method instead in case of a 401 response\n    @module ember-simple-auth/mixins/data-adapter-mixin\n    @extends Ember.Mixin\n    @public\n  */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: Ember.inject.service('session'),\n    /**\n      This method is called for every response that the adapter receives from the\n      API. If the response has a 401 status code it invalidates the session (see\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}}).\n       @method handleResponse\n      @param {Number} status The response status as received from the API\n      @param  {Object} headers HTTP headers as received from the API\n      @param {Any} payload The response body as received from the API\n      @param {Object} requestData the original request information\n      @protected\n    */\n    handleResponse(status, headers, payload, requestData) {\n      this.ensureResponseAuthorized(status, headers, payload, requestData);\n      return this._super(...arguments);\n    },\n    /**\n     The default implementation for handleResponse.\n     If the response has a 401 status code it invalidates the session (see\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}}).\n      Override this method if you want custom invalidation logic for incoming responses.\n     @method ensureResponseAuthorized\n     @param {Number} status The response status as received from the API\n     @param  {Object} headers HTTP headers as received from the API\n     @param {Any} payload The response body as received from the API\n     @param {Object} requestData the original request information\n    */\n    ensureResponseAuthorized(status /* ,headers, payload, requestData */) {\n      if (status === 401 && this.get('session.isAuthenticated')) {\n        this.get('session').invalidate();\n      }\n    }\n  });\n});","define(\"ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin\", [\"exports\", \"ember-simple-auth/utils/location\", \"ember-simple-auth/utils/is-fastboot\", \"ember-simple-auth/authenticators/oauth2-implicit-grant\"], function (_exports, _location, _isFastboot, _oauth2ImplicitGrant) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate(\"Ember Simple Auth: The OAuth2ImplicitGrantCallbackRouteMixin is now deprecated; call the session service's authenticate method with the appropriate authenticator in the respective route's activate method instead.\", false, {\n    id: 'ember-simple-auth.mixins.oauth2-implicit-grant-callback-route-mixin',\n    until: '4.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '3.1.0'\n    }\n  }));\n  /**\n    __This mixin is used in the callback route when using OAuth 2.0 Implicit\n    Grant authentication.__ It implements the\n    {{#crossLink \"OAuth2ImplicitGrantCallbackRouteMixin/activate:method\"}}{{/crossLink}}\n    method that retrieves and processes authentication parameters, such as\n    `access_token`, from the hash parameters provided in the callback URL by\n    the authentication server. The parameters are then passed to the\n    {{#crossLink \"OAuth2ImplicitGrantAuthenticator\"}}{{/crossLink}}\n  \n    @class OAuth2ImplicitGrantCallbackRouteMixin\n    @deprecated Call the session service's authenticate method with the appropriate authenticator in the respective route's activate method instead\n    @module ember-simple-auth/mixins/oauth2-implicit-grant-callback-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n     The session service.\n      @property session\n     @readOnly\n     @type SessionService\n     @public\n     */\n    session: Ember.inject.service('session'),\n    /**\n      The authenticator that should be used to authenticate the callback. This\n      must be a subclass of the\n      {{#crossLink \"OAuth2ImplicitGrantAuthenticator\"}}{{/crossLink}}\n      authenticator.\n       @property authenticator\n      @type String\n      @default null\n      @public\n    */\n    authenticator: null,\n    /**\n      Any error that potentially occurs during authentication will be stored in\n      this property.\n       @property error\n      @type String\n      @default null\n      @public\n    */\n    error: null,\n    /**\n      Passes the hash received with the redirection from the authentication\n      server to the\n      {{#crossLink \"OAuth2ImplicitGrantAuthenticator\"}}{{/crossLink}} and\n      authenticates the session with the authenticator.\n       @method activate\n      @public\n    */\n    activate() {\n      let _isFastBoot = this.hasOwnProperty('_isFastBoot') ? this._isFastBoot : (0, _isFastboot.default)(Ember.getOwner(this));\n      if (_isFastBoot) {\n        return;\n      }\n      let authenticator = this.get('authenticator');\n      let hash = (0, _oauth2ImplicitGrant.parseResponse)((0, _location.default)().hash);\n      this.get('session').authenticate(authenticator, hash).catch(err => {\n        this.set('error', err);\n      });\n    }\n  });\n});","define(\"ember-simple-auth/mixins/unauthenticated-route-mixin\", [\"exports\", \"ember-simple-auth/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  (true && !(false) && Ember.deprecate(\"Ember Simple Auth: The UnauthenticatedRouteMixin is now deprecated; call the session service's prohibitAuthentication method in the respective route's beforeModel method instead.\", false, {\n    id: 'ember-simple-auth.mixins.unauthenticated-route-mixin',\n    until: '4.0.0',\n    for: 'ember-simple-auth',\n    since: {\n      enabled: '3.1.0'\n    }\n  }));\n  /**\n    __This mixin is used to make routes accessible only if the session is\n    not authenticated__ (e.g., login and registration routes). It defines a\n    `beforeModel` method that aborts the current transition and instead\n    transitions to the\n    {{#crossLink \"UnauthenticatedRouteMixin/routeIfAlreadyAuthenticated:property\"}}{{/crossLink}}\n    if the session is authenticated.\n  \n    ```js\n    // app/routes/login.js\n    import Route from '@ember/routing/route';\n    import UnauthenticatedRouteMixin from 'ember-simple-auth/mixins/unauthenticated-route-mixin';\n  \n    export default class LoginRoute extends Route.extend(UnauthenticatedRouteMixin) {}\n    ```\n  \n    @class UnauthenticatedRouteMixin\n    @deprecated Call the session service's prohibitAuthentication method in the respective route's beforeModel method instead\n    @module ember-simple-auth/mixins/unauthenticated-route-mixin\n    @extends Ember.Mixin\n    @public\n  */\n  var _default = _exports.default = Ember.Mixin.create({\n    /**\n      The session service.\n       @property session\n      @readOnly\n      @type SessionService\n      @public\n    */\n    session: Ember.inject.service('session'),\n    /**\n      The route to transition to if a route that implements the\n      {{#crossLink \"UnauthenticatedRouteMixin\"}}{{/crossLink}} is accessed when\n      the session is authenticated.\n       @property routeIfAlreadyAuthenticated\n      @type String\n      @default 'index'\n      @public\n    */\n    routeIfAlreadyAuthenticated: 'index',\n    /**\n      Checks whether the session is authenticated and if it is aborts the current\n      transition and instead transitions to the\n      {{#crossLink \"UnauthenticatedRouteMixin/routeIfAlreadyAuthenticated:property\"}}{{/crossLink}}.\n       __If `beforeModel` is overridden in a route that uses this mixin, the route's\n     implementation must call `this._super(...arguments)`__ so that the mixin's\n     `beforeModel` method is actually executed.\n       @method beforeModel\n      @public\n    */\n    beforeModel() {\n      let routeIfAlreadyAuthenticated = this.get('routeIfAlreadyAuthenticated');\n      (true && !(this.get('routeName') !== routeIfAlreadyAuthenticated) && Ember.assert('The route configured as UnauthenticatedRouteMixin.routeIfAlreadyAuthenticated cannot implement the UnauthenticatedRouteMixin mixin as that leads to an infinite transitioning loop!', this.get('routeName') !== routeIfAlreadyAuthenticated));\n      let owner = Ember.getOwner(this);\n      let sessionService = owner.lookup('service:session');\n      if (sessionService.get('isAuthenticated')) {\n        (0, _routing.prohibitAuthentication)(owner, routeIfAlreadyAuthenticated);\n      } else {\n        return this._super(...arguments);\n      }\n    }\n  });\n});","define(\"ember-simple-auth/services/session\", [\"exports\", \"ember-simple-auth/configuration\", \"ember-simple-auth/-internals/routing\"], function (_exports, _configuration, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const SESSION_DATA_KEY_PREFIX = /^data\\./;\n  let enableEventsDeprecation = true;\n  function deprecateSessionEvents() {\n    if (enableEventsDeprecation) {\n      (true && !(false) && Ember.deprecate(\"Ember Simple Auth: The session service's events API is deprecated; to add custom behavior to the authentication or invalidation handling, override the handleAuthentication or handleInvalidation methods.\", false, {\n        id: 'ember-simple-auth.events.session-service',\n        until: '4.0.0',\n        for: 'ember-simple-auth',\n        since: {\n          enabled: '3.1.0'\n        }\n      }));\n    }\n  }\n  function assertSetupHasBeenCalled(isSetupCalled) {\n    if (!isSetupCalled && _configuration.default.useSessionSetupMethod) {\n      (true && !(false) && Ember.assert(\"Ember Simple Auth: session#setup wasn't called. Make sure to call session#setup in your application route's beforeModel hook.\", false));\n    }\n  }\n\n  /**\n    __The session service provides access to the current session as well as\n    methods to authenticate it, invalidate it, etc.__ It is the main interface for\n    the application to Ember Simple Auth's functionality. It can be injected via\n  \n    ```js\n    // app/components/login-form.js\n    import Component from '@ember/component';\n    import { inject as service } from '@ember/service';\n  \n    export default class LoginFormComponent extends Component {\n      @service session;\n    }\n    ```\n  \n    @class SessionService\n    @module ember-simple-auth/services/session\n    @extends Ember.Service\n    @uses Ember.Evented\n    @public\n  */\n  var _default = _exports.default = Ember.Service.extend(Ember.Evented, {\n    /**\n      Triggered whenever the session is successfully authenticated. This happens\n      when the session gets authenticated via\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}} but also\n      when the session is authenticated in another tab or window of the same\n      application and the session state gets synchronized across tabs or windows\n      via the store (see\n      {{#crossLink \"BaseStore/sessionDataUpdated:event\"}}{{/crossLink}}).\n       When using the {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} this\n      event will automatically get handled (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n       @event authenticationSucceeded\n      @public\n    */\n\n    /**\n      Triggered whenever the session is successfully invalidated. This happens\n      when the session gets invalidated via\n      {{#crossLink \"SessionService/invalidate:method\"}}{{/crossLink}} but also\n      when the session is invalidated in another tab or window of the same\n      application and the session state gets synchronized across tabs or windows\n      via the store (see\n      {{#crossLink \"BaseStore/sessionDataUpdated:event\"}}{{/crossLink}}).\n       When using the {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} this\n      event will automatically get handled (see\n      {{#crossLink \"ApplicationRouteMixin/sessionInvalidated:method\"}}{{/crossLink}}).\n       @event invalidationSucceeded\n      @public\n    */\n\n    /**\n      Returns whether the session is currently authenticated.\n       @property isAuthenticated\n      @type Boolean\n      @readOnly\n      @default false\n      @public\n    */\n    isAuthenticated: Ember.computed.readOnly('session.isAuthenticated'),\n    /**\n      The current session data as a plain object. The\n      `authenticated` key holds the session data that the authenticator resolved\n      with when the session was authenticated (see\n      {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}) and\n      that will be cleared when the session is invalidated. This data cannot be\n      written. All other session data is writable and will not be cleared when\n      the session is invalidated.\n       @property data\n      @type Object\n      @readOnly\n      @default { authenticated: {} }\n      @public\n    */\n    data: Ember.computed.readOnly('session.content'),\n    /**\n      The session store.\n       @property store\n      @type BaseStore\n      @readOnly\n      @default null\n      @public\n    */\n    store: Ember.computed.readOnly('session.store'),\n    /**\n      A previously attempted but intercepted transition (e.g. by the\n      {{#crossLink \"AuthenticatedRouteMixin\"}}{{/crossLink}}). If an attempted\n      transition is present, the\n      {{#crossLink \"ApplicationRouteMixin\"}}{{/crossLink}} will retry it when the\n      session becomes authenticated (see\n      {{#crossLink \"ApplicationRouteMixin/sessionAuthenticated:method\"}}{{/crossLink}}).\n       @property attemptedTransition\n      @type Transition\n      @default null\n      @public\n    */\n    attemptedTransition: Ember.computed.alias('session.attemptedTransition'),\n    session: null,\n    init() {\n      this._super(...arguments);\n      this.set('session', Ember.getOwner(this).lookup('session:main'));\n      this._forwardSessionEvents();\n    },\n    set(key, value) {\n      const setsSessionData = SESSION_DATA_KEY_PREFIX.test(key);\n      if (setsSessionData) {\n        const sessionDataKey = `session.${key.replace(SESSION_DATA_KEY_PREFIX, '')}`;\n        return this._super(sessionDataKey, value);\n      } else {\n        return this._super(...arguments);\n      }\n    },\n    _forwardSessionEvents() {\n      Ember.A(['authenticationSucceeded', 'invalidationSucceeded']).forEach(event => {\n        const session = this.get('session');\n        // the internal session won't be available in route unit tests\n        if (session) {\n          session.on(event, () => {\n            enableEventsDeprecation = false;\n            this.trigger(event, ...arguments);\n            enableEventsDeprecation = true;\n          });\n        }\n      });\n    },\n    on() {\n      deprecateSessionEvents();\n      return this._super(...arguments);\n    },\n    one() {\n      deprecateSessionEvents();\n      return this._super(...arguments);\n    },\n    off() {\n      deprecateSessionEvents();\n      return this._super(...arguments);\n    },\n    has() {\n      deprecateSessionEvents();\n      return this._super(...arguments);\n    },\n    trigger() {\n      deprecateSessionEvents();\n      return this._super(...arguments);\n    },\n    _setupHandlers() {\n      this.get('session').on('authenticationSucceeded', () => this.handleAuthentication(_configuration.default.routeAfterAuthentication));\n      this.get('session').on('invalidationSucceeded', () => this.handleInvalidation(_configuration.default.rootURL));\n    },\n    /**\n      __Authenticates the session with an `authenticator`__ and appropriate\n      arguments. The authenticator implements the actual steps necessary to\n      authenticate the session (see\n      {{#crossLink \"BaseAuthenticator/authenticate:method\"}}{{/crossLink}}) and\n      returns a promise after doing so. The session handles the returned promise\n      and when it resolves becomes authenticated, otherwise remains\n      unauthenticated. All data the authenticator resolves with will be\n      accessible via the\n      {{#crossLink \"SessionService/data:property\"}}session data's{{/crossLink}}\n      `authenticated` property.\n       __This method returns a promise. A resolving promise indicates that the\n      session was successfully authenticated__ while a rejecting promise\n      indicates that authentication failed and the session remains\n      unauthenticated. The promise does not resolve with a value; instead, the\n      data returned from the authenticator is available via the\n      {{#crossLink \"SessionService/data:property\"}}{{/crossLink}} property.\n       When authentication succeeds this will trigger the\n      {{#crossLink \"SessionService/authenticationSucceeded:event\"}}{{/crossLink}}\n      event.\n       @method authenticate\n      @param {String} authenticator The authenticator to use to authenticate the session\n      @param {Any} [...args] The arguments to pass to the authenticator; depending on the type of authenticator these might be a set of credentials, a Facebook OAuth Token, etc.\n      @return {Ember.RSVP.Promise} A promise that resolves when the session was authenticated successfully and rejects otherwise\n      @public\n    */\n    authenticate() {\n      const session = this.get('session');\n      return session.authenticate(...arguments);\n    },\n    /**\n      __Invalidates the session with the authenticator it is currently\n      authenticated with__ (see\n      {{#crossLink \"SessionService/authenticate:method\"}}{{/crossLink}}). This\n      invokes the authenticator's\n      {{#crossLink \"BaseAuthenticator/invalidate:method\"}}{{/crossLink}} method\n      and handles the returned promise accordingly.\n       This method returns a promise. A resolving promise indicates that the\n      session was successfully invalidated while a rejecting promise indicates\n      that invalidation failed and the session remains authenticated. Once the\n      session is successfully invalidated it clears all of its authenticated data\n      (see {{#crossLink \"SessionService/data:property\"}}{{/crossLink}}).\n       When invalidation succeeds this will trigger the\n      {{#crossLink \"SessionService/invalidationSucceeded:event\"}}{{/crossLink}}\n      event.\n       When calling the {{#crossLink \"BaseAuthenticator/invalidate:method\"}}{{/crossLink}}\n      on an already unauthenticated session, the method will return a resolved Promise\n      immediately.\n       @method invalidate\n      @param {Array} ...args arguments that will be passed to the authenticator\n      @return {Ember.RSVP.Promise} A promise that resolves when the session was invalidated successfully and rejects otherwise\n      @public\n    */\n    invalidate() {\n      const session = this.get('session');\n      return session.invalidate(...arguments);\n    },\n    /**\n      Checks whether the session is authenticated and if it is not, transitions\n      to the specified route or invokes the specified callback.\n       If a transition is in progress and is aborted, this method will save it in the\n      session service's\n      {{#crossLink \"SessionService/attemptedTransition:property\"}}{{/crossLink}}\n      property so that  it can be retried after the session is authenticated. If\n      the transition is aborted in Fastboot mode, the transition's target URL\n      will be saved in a `ember_simple_auth-redirectTarget` cookie for use by the\n      browser after authentication is complete.\n       @method requireAuthentication\n      @param {Transition} transition A transition that triggered the authentication requirement or null if the requirement originated independently of a transition\n      @param {String|Function} routeOrCallback The route to transition to in case that the session is not authenticated or a callback function to invoke in that case\n      @return {Boolean} true when the session is authenticated, false otherwise\n      @public\n    */\n    requireAuthentication(transition, routeOrCallback) {\n      assertSetupHasBeenCalled(this._setupIsCalled);\n      let isAuthenticated = (0, _routing.requireAuthentication)(Ember.getOwner(this), transition);\n      if (!isAuthenticated) {\n        let argType = typeof routeOrCallback;\n        if (argType === 'string') {\n          (0, _routing.triggerAuthentication)(Ember.getOwner(this), routeOrCallback);\n        } else if (argType === 'function') {\n          routeOrCallback();\n        } else {\n          (true && !(false) && Ember.assert(`The second argument to requireAuthentication must be a String or Function, got \"${argType}\"!`, false));\n        }\n      }\n      return isAuthenticated;\n    },\n    /**\n      Checks whether the session is authenticated and if it is, transitions\n      to the specified route or invokes the specified callback.\n       @method prohibitAuthentication\n      @param {String|Function} routeOrCallback The route to transition to in case that the session is authenticated or a callback function to invoke in that case\n      @return {Boolean} true when the session is not authenticated, false otherwise\n      @public\n    */\n    prohibitAuthentication(routeOrCallback) {\n      assertSetupHasBeenCalled(this._setupIsCalled);\n      let isAuthenticated = this.get('isAuthenticated');\n      if (isAuthenticated) {\n        let argType = typeof routeOrCallback;\n        if (argType === 'string') {\n          (0, _routing.prohibitAuthentication)(Ember.getOwner(this), routeOrCallback);\n        } else if (argType === 'function') {\n          routeOrCallback();\n        } else {\n          (true && !(false) && Ember.assert(`The first argument to prohibitAuthentication must be a String or Function, got \"${argType}\"!`, false));\n        }\n      }\n      return !isAuthenticated;\n    },\n    /**\n      This method is called whenever the session goes from being unauthenticated\n      to being authenticated. If there is a transition that was previously\n      intercepted by the\n      {{#crossLink \"SessionService/requireAuthentication:method\"}}{{/crossLink}},\n      it will retry it. If there is no such transition, the\n      `ember_simple_auth-redirectTarget` cookie will be checked for a url that\n      represents an attemptedTransition that was aborted in Fastboot mode,\n      otherwise this action transitions to the specified\n      routeAfterAuthentication.\n       @method handleAuthentication\n      @param {String} routeAfterAuthentication The route to transition to\n      @public\n    */\n    handleAuthentication(routeAfterAuthentication) {\n      (0, _routing.handleSessionAuthenticated)(Ember.getOwner(this), routeAfterAuthentication);\n    },\n    /**\n      This method is called whenever the session goes from being authenticated to\n      not being authenticated. __It reloads the Ember.js application__ by\n      redirecting the browser to the specified route so that all in-memory data\n      (such as Ember Data stores etc.) gets cleared.\n       If the Ember.js application will be used in an environment where the users\n      don't have direct access to any data stored on the client (e.g.\n      [cordova](http://cordova.apache.org)) this action can be overridden to e.g.\n      simply transition to the index route.\n       @method handleInvalidation\n      @param {String} routeAfterInvalidation The route to transition to\n      @public\n    */\n    handleInvalidation(routeAfterInvalidation) {\n      (0, _routing.handleSessionInvalidated)(Ember.getOwner(this), routeAfterInvalidation);\n    },\n    /**\n      Sets up the session service.\n       This method must be called when the application starts up,\n      usually as the first thing in the `application` route's `beforeModel`\n      method.\n       @method setup\n      @public\n    */\n    setup() {\n      this._setupIsCalled = true;\n      this._setupHandlers();\n      return this.session.restore().catch(() => {\n        // If it raises an error then it means that restore didn't find any restorable state.\n      });\n    }\n  });\n});","define(\"ember-simple-auth/session-stores/adaptive\", [\"exports\", \"ember-simple-auth/session-stores/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const LOCAL_STORAGE_TEST_KEY = '_ember_simple_auth_test_key';\n  const proxyToInternalStore = function () {\n    return Ember.computed({\n      get(key) {\n        return this.get(`_${key}`);\n      },\n      set(key, value) {\n        this.set(`_${key}`, value);\n        let _store = this.get('_store');\n        if (_store) {\n          _store.set(key, value);\n        }\n        return value;\n      }\n    });\n  };\n\n  /**\n    Session store that persists data in the browser's `localStorage` (see\n    {{#crossLink \"LocalStorageStore\"}}{{/crossLink}}) if that is available or in\n    a cookie (see {{#crossLink \"CookieStore\"}}{{/crossLink}}) if it is not.\n  \n    __This is the default store that Ember Simple Auth will use when the\n    application doesn't define a custom store.__\n  \n    __This session store does not work with FastBoot. In order to use Ember\n    Simple Auth with FastBoot, configure the\n    {{#crossLink \"CookieStore\"}}{{/crossLink}} as the application's session\n    store.__\n  \n    @class AdaptiveStore\n    @module ember-simple-auth/session-stores/adaptive\n    @extends BaseStore\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    /**\n      The `localStorage` key the store persists data in if `localStorage` is\n      available.\n       @property localStorageKey\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    localStorageKey: 'ember_simple_auth-session',\n    /**\n      The domain to use for the cookie if `localStorage` is not available, e.g.,\n      \"example.com\", \".example.com\" (which includes all subdomains) or\n      \"subdomain.example.com\". If not explicitly set, the cookie domain defaults\n      to the domain the session was authenticated on.\n       @property cookieDomain\n      @type String\n      @default null\n      @public\n    */\n    _cookieDomain: null,\n    cookieDomain: proxyToInternalStore(),\n    /**\n      The name of the cookie to use if `localStorage` is not available.\n       @property cookieName\n      @type String\n      @default ember_simple_auth-session\n      @public\n    */\n    _cookieName: 'ember_simple_auth-session',\n    cookieName: proxyToInternalStore(),\n    /**\n      The path to use for the cookie, e.g., \"/\", \"/something\".\n       @property cookiePath\n      @type String\n      @default '/'\n      @public\n    */\n    _cookiePath: '/',\n    cookiePath: proxyToInternalStore(),\n    /**\n      The expiration time for the cookie in seconds if `localStorage` is not\n      available. A value of `null` will make the cookie a session cookie that\n      expires and gets deleted when the browser is closed.\n       @property cookieExpirationTime\n      @default null\n      @type Integer\n      @public\n    */\n    _cookieExpirationTime: null,\n    cookieExpirationTime: proxyToInternalStore(),\n    _sameSite: null,\n    sameSite: proxyToInternalStore(),\n    _cookies: Ember.inject.service('cookies'),\n    _isLocalStorageAvailable: Ember.computed({\n      get() {\n        return testLocalStorageAvailable();\n      },\n      set(key, value) {\n        return value;\n      }\n    }),\n    init() {\n      this._super(...arguments);\n      let owner = Ember.getOwner(this);\n      if (owner && !this.hasOwnProperty('_fastboot')) {\n        this._fastboot = owner.lookup('service:fastboot');\n      }\n      let store;\n      if (this.get('_isLocalStorageAvailable')) {\n        const localStorage = owner.lookup('session-store:local-storage');\n        const options = {\n          key: this.get('localStorageKey')\n        };\n        options._isFastBoot = false;\n        localStorage.setProperties(options);\n        store = localStorage;\n      } else {\n        const cookieStorage = owner.lookup('session-store:cookie');\n        const options = this.getProperties('sameSite', 'cookieDomain', 'cookieName', 'cookieExpirationTime', 'cookiePath');\n        cookieStorage.setProperties(options);\n        this.set('cookieExpirationTime', cookieStorage.get('cookieExpirationTime'));\n        store = cookieStorage;\n      }\n      this.set('_store', store);\n      this._setupStoreEvents(store);\n    },\n    _setupStoreEvents(store) {\n      store.on('sessionDataUpdated', data => {\n        this.trigger('sessionDataUpdated', data);\n      });\n      return store;\n    },\n    /**\n      Persists the `data` in the `localStorage` if it is available or in a cookie\n      if it is not.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist() {\n      return this.get('_store').persist(...arguments);\n    },\n    /**\n      Returns all data currently stored in the `localStorage` if that is\n      available - or if it is not, in the cookie - as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      return this.get('_store').restore();\n    },\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"LocalStorageStore/key:property\"}}{{/crossLink}} from\n      `localStorage` if that is available or by deleting the cookie if it is not.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      return this.get('_store').clear();\n    }\n  });\n  function testLocalStorageAvailable() {\n    try {\n      localStorage.setItem(LOCAL_STORAGE_TEST_KEY, true);\n      localStorage.removeItem(LOCAL_STORAGE_TEST_KEY);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});","define(\"ember-simple-auth/session-stores/base\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The base class for all session stores. __This serves as a starting point for\n    implementing custom session stores and must not be used directly.__\n  \n    Session Stores persist the session's state so that it survives a page reload\n    and is synchronized across multiple tabs or windows of the same application.\n  \n    @class BaseStore\n    @module ember-simple-auth/session-stores/base\n    @extends Ember.Object\n    @uses Ember.Evented\n    @public\n  */\n  var _default = _exports.default = Ember.Object.extend(Ember.Evented, {\n    /**\n      Triggered when the session store's data changes due to an external event,\n      e.g., from another tab or window of the same application. The session\n      handles that event, passes the updated data to its authenticator's\n      {{#crossLink \"BaseAuthenticator/restore:method\"}}{{/crossLink}} method and\n      handles the result of that invocation accordingly.\n       @event sessionDataUpdated\n      @param {Object} data The updated session data\n      @public\n    */\n\n    /**\n      Persists the `data`. This replaces all currently stored data.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist() {\n      return Ember.RSVP.reject();\n    },\n    /**\n      Returns all data currently stored as a plain object.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      return Ember.RSVP.reject();\n    },\n    /**\n      Clears the store.\n       `BaseStores`'s implementation always returns a rejecting promise. __This\n      method must be overridden in subclasses__.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      return Ember.RSVP.reject();\n    }\n  });\n});","define(\"ember-simple-auth/session-stores/cookie\", [\"exports\", \"ember-simple-auth/session-stores/base\", \"ember-simple-auth/utils/objects-are-equal\"], function (_exports, _base, _objectsAreEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const persistingProperty = function (beforeSet = function () {}) {\n    return Ember.computed({\n      get(key) {\n        return this.get(`_${key}`);\n      },\n      set(key, value) {\n        beforeSet.apply(this, [key, value]);\n        this.set(`_${key}`, value);\n        Ember.run.scheduleOnce('actions', this, this.rewriteCookie);\n        return value;\n      }\n    });\n  };\n\n  /**\n    Session store that persists data in a cookie.\n  \n    By default the cookie session store uses a session cookie that expires and is\n    deleted when the browser is closed. The cookie expiration period can be\n    configured by setting the\n    {{#crossLink \"CookieStore/cookieExpirationTime:property\"}}{{/crossLink}}\n    property. This can be used to implement \"remember me\" functionality that will\n    either store the session persistently or in a session cookie depending on\n    whether the user opted in or not:\n  \n    ```js\n    // app/controllers/login.js\n    import Controller from '@ember/controller';\n    import { inject as service } from '@ember/service';\n  \n    export default class LoginController extends Controller {\n      @service session;\n      _rememberMe = false;\n  \n      get rememberMe() {\n        return this._rememberMe;\n      }\n  \n      set rememberMe(value) {\n        let expirationTime = value ? (14 * 24 * 60 * 60) : null;\n        this.set('session.store.cookieExpirationTime', expirationTime);\n        this._rememberMe = value;\n      }\n    }\n    ```\n  \n    __Applications that use FastBoot must use this session store by defining the\n    application session store like this:__\n  \n    ```js\n    // app/session-stores/application.js\n    import CookieStore from 'ember-simple-auth/session-stores/cookie';\n  \n    export default class ApplicationSessionStore extends CookieStore {}\n    ```\n  \n    @class CookieStore\n    @module ember-simple-auth/session-stores/cookie\n    @extends BaseStore\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    _syncDataTimeout: null,\n    _renewExpirationTimeout: null,\n    /**\n      The domain to use for the cookie, e.g., \"example.com\", \".example.com\"\n      (which includes all subdomains) or \"subdomain.example.com\". If not\n      explicitly set, the cookie domain defaults to the domain the session was\n      authenticated on.\n       @property cookieDomain\n      @type String\n      @default null\n      @public\n    */\n    _cookieDomain: null,\n    cookieDomain: persistingProperty(),\n    /**\n      Allows servers to assert that a cookie ought not to be sent along with cross-site requests,\n      which provides some protection against cross-site request forgery attacks (CSRF).\n      Available options:\n      - \"Strict\"\n      - \"Lax\"\n      @property sameSite\n      @type String\n      @default null\n      @public\n    */\n    _sameSite: null,\n    sameSite: persistingProperty(),\n    /**\n      The name of the cookie.\n       @property cookieName\n      @type String\n      @default ember_simple_auth-session\n      @public\n    */\n    _cookieName: 'ember_simple_auth-session',\n    cookieName: persistingProperty(function () {\n      this._oldCookieName = this._cookieName;\n    }),\n    /**\n      The path to use for the cookie, e.g., \"/\", \"/something\".\n       @property cookiePath\n      @type String\n      @default '/'\n      @public\n    */\n    _cookiePath: '/',\n    cookiePath: persistingProperty(),\n    /**\n      The expiration time for the cookie in seconds. A value of `null` will make\n      the cookie a session cookie that expires and gets deleted when the browser\n      is closed.\n       The recommended minimum value is 90 seconds. If your value is less than\n      that, the cookie may expire before its expiration time is extended\n      (expiration time is extended every 60 seconds).\n       @property cookieExpirationTime\n      @default null\n      @type Integer\n      @public\n    */\n    _cookieExpirationTime: null,\n    cookieExpirationTime: persistingProperty(function (key, value) {\n      // When nulling expiry time on purpose, we need to clear the cached value.\n      // Otherwise, `_calculateExpirationTime` will reuse it.\n      if (Ember.isNone(value)) {\n        this.get('_cookies').clear(`${this.get('cookieName')}-expiration_time`);\n      } else if (value < 90) {\n        (true && Ember.warn('The recommended minimum value for `cookieExpirationTime` is 90 seconds. If your value is less than that, the cookie may expire before its expiration time is extended (expiration time is extended every 60 seconds).', false, {\n          id: 'ember-simple-auth.cookieExpirationTime'\n        }));\n      }\n    }),\n    _cookies: Ember.inject.service('cookies'),\n    _secureCookies() {\n      if (this.get('_fastboot.isFastBoot')) {\n        return this.get('_fastboot.request.protocol') === 'https';\n      }\n      return window.location.protocol === 'https:';\n    },\n    _isPageVisible() {\n      if (this.get('_fastboot.isFastBoot')) {\n        return false;\n      } else {\n        const visibilityState = typeof document !== 'undefined' ? document.visibilityState || 'visible' : false;\n        return visibilityState === 'visible';\n      }\n    },\n    init() {\n      this._super(...arguments);\n      let owner = Ember.getOwner(this);\n      if (owner && !this.hasOwnProperty('_fastboot')) {\n        this._fastboot = owner.lookup('service:fastboot');\n      }\n      let cachedExpirationTime = this._read(`${this.get('cookieName')}-expiration_time`);\n      if (cachedExpirationTime) {\n        this.set('cookieExpirationTime', parseInt(cachedExpirationTime, 10));\n      }\n      if (!this.get('_fastboot.isFastBoot')) {\n        Ember.run.next(() => {\n          this._syncData().then(() => {\n            this._renewExpiration();\n          });\n        });\n      } else {\n        this._renew();\n      }\n    },\n    /**\n      Persists the `data` in the cookie.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      let expiration = this._calculateExpirationTime();\n      this._write(data, expiration);\n      return Ember.RSVP.resolve();\n    },\n    /**\n      Returns all data currently stored in the cookie as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      let data = this._read(this.get('cookieName'));\n      if (Ember.isEmpty(data)) {\n        return Ember.RSVP.resolve({});\n      } else {\n        return Ember.RSVP.resolve(JSON.parse(data));\n      }\n    },\n    /**\n      Clears the store by deleting the cookie.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      this._write('', 0);\n      this._lastData = {};\n      return Ember.RSVP.resolve();\n    },\n    _read(name) {\n      return this.get('_cookies').read(name) || '';\n    },\n    _calculateExpirationTime() {\n      let cachedExpirationTime = this._read(`${this.get('cookieName')}-expiration_time`);\n      cachedExpirationTime = cachedExpirationTime ? new Date().getTime() + cachedExpirationTime * 1000 : null;\n      return this.get('cookieExpirationTime') ? new Date().getTime() + this.get('cookieExpirationTime') * 1000 : cachedExpirationTime;\n    },\n    _write(value, expiration) {\n      let cookieOptions = {\n        domain: this.get('cookieDomain'),\n        expires: Ember.isEmpty(expiration) ? null : new Date(expiration),\n        path: this.get('cookiePath'),\n        secure: this._secureCookies(),\n        sameSite: this.get('sameSite')\n      };\n      if (this._oldCookieName) {\n        Ember.A([this._oldCookieName, `${this._oldCookieName}-expiration_time`]).forEach(oldCookie => {\n          this.get('_cookies').clear(oldCookie);\n        });\n        delete this._oldCookieName;\n      }\n      this.get('_cookies').write(this.get('cookieName'), value, cookieOptions);\n      if (!Ember.isEmpty(expiration)) {\n        let expirationCookieName = `${this.get('cookieName')}-expiration_time`;\n        let cachedExpirationTime = this.get('_cookies').read(expirationCookieName);\n        this.get('_cookies').write(expirationCookieName, this.get('cookieExpirationTime') || cachedExpirationTime, cookieOptions);\n      }\n    },\n    _syncData() {\n      return this.restore().then(data => {\n        if (!(0, _objectsAreEqual.default)(data, this._lastData)) {\n          this._lastData = data;\n          this.trigger('sessionDataUpdated', data);\n        }\n        if (!Ember.testing) {\n          Ember.run.cancel(this._syncDataTimeout);\n          this._syncDataTimeout = Ember.run.later(this, this._syncData, 500);\n        }\n      });\n    },\n    _renew() {\n      return this.restore().then(data => {\n        if (!Ember.isEmpty(data) && !(data.constructor === Object && Object.keys(data).length === 0)) {\n          data = Ember.typeOf(data) === 'string' ? data : JSON.stringify(data || {});\n          let expiration = this._calculateExpirationTime();\n          this._write(data, expiration);\n        }\n      });\n    },\n    _renewExpiration() {\n      if (!Ember.testing) {\n        Ember.run.cancel(this._renewExpirationTimeout);\n        this._renewExpirationTimeout = Ember.run.later(this, this._renewExpiration, 60000);\n      }\n      if (this._isPageVisible()) {\n        return this._renew();\n      } else {\n        return Ember.RSVP.resolve();\n      }\n    },\n    rewriteCookie() {\n      // if `cookieName` has not been renamed, `oldCookieName` will be nil\n      const cookieName = this._oldCookieName || this._cookieName;\n      const data = this._read(cookieName);\n      if (Ember.isPresent(data)) {\n        const expiration = this._calculateExpirationTime();\n        this._write(data, expiration);\n      }\n    }\n  });\n});","define(\"ember-simple-auth/session-stores/ephemeral\", [\"exports\", \"ember-simple-auth/session-stores/base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    Session store that __persists data in memory and thus is not actually\n    persistent__. It does also not synchronize the session's state across\n    multiple tabs or windows as those cannot share memory. __This store is mainly\n    useful for testing and will automatically be used when running tests.__\n  \n    @class EphemeralStore\n    @module ember-simple-auth/session-stores/ephemeral\n    @extends BaseStore\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    init() {\n      this._super(...arguments);\n      this.clear();\n    },\n    /**\n      Persists `data`. This replaces all currently stored data.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist(data) {\n      this._data = JSON.stringify(data || {});\n      return Ember.RSVP.resolve();\n    },\n    /**\n      Returns all data currently stored as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      const data = JSON.parse(this._data) || {};\n      return Ember.RSVP.resolve(data);\n    },\n    /**\n      Clears the store.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      delete this._data;\n      this._data = '{}';\n      return Ember.RSVP.resolve();\n    }\n  });\n});","define(\"ember-simple-auth/session-stores/local-storage\", [\"exports\", \"ember-simple-auth/session-stores/base\", \"ember-simple-auth/utils/objects-are-equal\", \"ember-simple-auth/utils/is-fastboot\"], function (_exports, _base, _objectsAreEqual, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    Session store that persists data in the browser's `localStorage`.\n  \n    __`localStorage` is not available in Safari when running in private mode. In\n    general it is better to use the\n    {{#crossLink \"AdaptiveStore\"}}{{/crossLink}} that automatically falls back to\n    the {{#crossLink \"CookieStore\"}}{{/crossLink}} when `localStorage` is not\n    available.__\n  \n    __This session store does not work with FastBoot. In order to use Ember\n    Simple Auth with FastBoot, configure the\n    {{#crossLink \"CookieStore\"}}{{/crossLink}} as the application's session\n    store.__\n  \n    @class LocalStorageStore\n    @module ember-simple-auth/session-stores/local-storage\n    @extends BaseStore\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    /**\n      The `localStorage` key the store persists data in.\n       @property key\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    key: 'ember_simple_auth-session',\n    init() {\n      this._super(...arguments);\n      this._isFastBoot = this.hasOwnProperty('_isFastBoot') ? this._isFastBoot : (0, _isFastboot.default)(Ember.getOwner(this));\n      this._boundHandler = Ember.run.bind(this, this._handleStorageEvent);\n      if (!this.get('_isFastBoot')) {\n        window.addEventListener('storage', this._boundHandler);\n      }\n    },\n    willDestroy() {\n      if (!this.get('_isFastBoot')) {\n        window.removeEventListener('storage', this._boundHandler);\n      }\n    },\n    /**\n      Persists the `data` in the `localStorage`.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      localStorage.setItem(this.key, data);\n      return Ember.RSVP.resolve();\n    },\n    /**\n      Returns all data currently stored in the `localStorage` as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      let data = localStorage.getItem(this.key);\n      return Ember.RSVP.resolve(JSON.parse(data) || {});\n    },\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"LocalStorageStore/key:property\"}}{{/crossLink}} from\n      `localStorage`.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      localStorage.removeItem(this.key);\n      this._lastData = {};\n      return Ember.RSVP.resolve();\n    },\n    _handleStorageEvent(e) {\n      if (e.key === this.get('key')) {\n        this.restore().then(data => {\n          if (!(0, _objectsAreEqual.default)(data, this._lastData)) {\n            this._lastData = data;\n            this.trigger('sessionDataUpdated', data);\n          }\n        });\n      }\n    }\n  });\n});","define(\"ember-simple-auth/session-stores/session-storage\", [\"exports\", \"ember-simple-auth/session-stores/base\", \"ember-simple-auth/utils/objects-are-equal\", \"ember-simple-auth/utils/is-fastboot\"], function (_exports, _base, _objectsAreEqual, _isFastboot) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    Session store that persists data in the browser's `sessionStorage`.\n  \n    __`sessionStorage` is not available in Safari when running in private mode.__\n  \n    __This session store does not work with FastBoot. In order to use Ember\n    Simple Auth with FastBoot, configure the\n    {{#crossLink \"CookieStore\"}}{{/crossLink}} as the application's session\n    store.__\n  \n    @class SessionStorageStore\n    @module ember-simple-auth/session-stores/session-storage\n    @extends BaseStore\n    @public\n  */\n  var _default = _exports.default = _base.default.extend({\n    /**\n      The `sessionStorage` key the store persists data in.\n       @property key\n      @type String\n      @default 'ember_simple_auth-session'\n      @public\n    */\n    key: 'ember_simple_auth-session',\n    init() {\n      this._super(...arguments);\n      this._isFastBoot = this.hasOwnProperty('_isFastBoot') ? this._isFastBoot : (0, _isFastboot.default)(Ember.getOwner(this));\n      if (!this.get('_isFastBoot')) {\n        window.addEventListener('storage', Ember.run.bind(this, this._handleStorageEvent));\n      }\n    },\n    willDestroy() {\n      if (!this.get('_isFastBoot')) {\n        window.removeEventListener('storage', Ember.run.bind(this, this._handleStorageEvent));\n      }\n    },\n    /**\n      Persists the `data` in the `sessionStorage`.\n       @method persist\n      @param {Object} data The data to persist\n      @return {Ember.RSVP.Promise} A promise that resolves when the data has successfully been persisted and rejects otherwise.\n      @public\n    */\n    persist(data) {\n      this._lastData = data;\n      data = JSON.stringify(data || {});\n      sessionStorage.setItem(this.key, data);\n      return Ember.RSVP.resolve();\n    },\n    /**\n      Returns all data currently stored in the `sessionStorage` as a plain object.\n       @method restore\n      @return {Ember.RSVP.Promise} A promise that resolves with the data currently persisted in the store when the data has been restored successfully and rejects otherwise.\n      @public\n    */\n    restore() {\n      let data = sessionStorage.getItem(this.key);\n      return Ember.RSVP.resolve(JSON.parse(data) || {});\n    },\n    /**\n      Clears the store by deleting the\n      {{#crossLink \"sessionStorageStore/key:property\"}}{{/crossLink}} from\n      `sessionStorage`.\n       @method clear\n      @return {Ember.RSVP.Promise} A promise that resolves when the store has been cleared successfully and rejects otherwise.\n      @public\n    */\n    clear() {\n      sessionStorage.removeItem(this.key);\n      this._lastData = {};\n      return Ember.RSVP.resolve();\n    },\n    _handleStorageEvent(e) {\n      if (e.key === this.get('key')) {\n        this.restore().then(data => {\n          if (!(0, _objectsAreEqual.default)(data, this._lastData)) {\n            this._lastData = data;\n            this.trigger('sessionDataUpdated', data);\n          }\n        });\n      }\n    }\n  });\n});","define(\"ember-simple-auth/use-session-setup-method\", [\"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 = false;\n});","define(\"ember-simple-auth/utils/assign\", [\"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 = Object.assign || Ember.assign;\n});","define(\"ember-simple-auth/utils/inject\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(registry, factoryNameOrType, property, injectionName) {\n    const inject = registry.inject || registry.injection;\n    inject.call(registry, factoryNameOrType, property, injectionName);\n  }\n});","define(\"ember-simple-auth/utils/is-fastboot\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isFastBoot;\n  /* eslint-disable no-unused-vars */\n  // @ts-check\n\n  function isFastBoot(owner) {\n    (true && !(owner && typeof owner.lookup === 'function') && Ember.assert('You must pass in an owner to isFastBoot!', owner && typeof owner.lookup === 'function'));\n    const fastboot = owner.lookup('service:fastboot');\n    return fastboot ? fastboot.get('isFastBoot') : false;\n  }\n});","define(\"ember-simple-auth/utils/location\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = () => window.location;\n  _exports.default = _default;\n});","define(\"ember-simple-auth/utils/objects-are-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = objectsAreEqual;\n  function objectsAreEqual(a, b) {\n    function compare(x, y) {\n      let property;\n      if (isNaN(x) && isNaN(y) && typeof x === 'number' && typeof y === 'number') {\n        return true;\n      }\n      if (x === y) {\n        return true;\n      }\n      if (!(x instanceof Object && y instanceof Object)) {\n        return false;\n      }\n      for (property in y) {\n        if (y.hasOwnProperty(property) !== x.hasOwnProperty(property)) {\n          return false;\n        } else if (typeof y[property] !== typeof x[property]) {\n          return false;\n        }\n      }\n      for (property in x) {\n        if (y.hasOwnProperty(property) !== x.hasOwnProperty(property)) {\n          return false;\n        } else if (typeof y[property] !== typeof x[property]) {\n          return false;\n        }\n        switch (typeof x[property]) {\n          case 'object':\n            if (!compare(x[property], y[property])) {\n              return false;\n            }\n            break;\n          default:\n            if (x[property] !== y[property]) {\n              return false;\n            }\n            break;\n        }\n      }\n      return true;\n    }\n    return compare(a, b);\n  }\n});","define('ember-state-services/state-for', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = stateFor;\n\n\n  let {\n    WeakMap\n  } = Ember;\n\n  /*\n   * Each key in this POJO is a name of a state with the value\n   * for that key being a WeakMap.\n   */\n  let weakMaps = {};\n\n  /*\n  * Returns a computed property if called like: stateFor('state-name', 'property-name') or\n  * returns the WeakMap if called like stateFor('state-name'). The most common case will be\n  * the former but the latter allows advanced options like:\n  *\n  * stateFor('state-name').delete(this.get('property-name'));\n  * stateFor('state-name').has(this.get('some-other-prop'));\n  * stateFor('state-name').set(this.get('property-name'), {}); // Overrides the state\n  * stateFor('state-name').get(this.get('property-name'));\n  */\n  function stateFor(stateName, propertyName) {\n    let state = weakMaps[stateName];\n\n    if (state === undefined) {\n      state = weakMaps[stateName] = new WeakMap();\n    }\n\n    if (arguments.length === 1) {\n      return state;\n    }\n\n    (true && !(typeof propertyName === 'string') && Ember.assert('The second argument must be a string', typeof propertyName === 'string'));\n\n\n    return Ember.computed(propertyName, function () {\n      let propertyValue = this.get(propertyName);\n\n      // if the propertyValue is null/undefined we simply return null/undefined\n      if (!propertyValue || typeof propertyValue === 'undefined') {\n        return propertyValue;\n      }\n\n      if (typeof propertyValue !== 'object' && typeof propertyValue !== 'function') {\n        throw new TypeError('The state key must resolve to a non primitive value');\n      }\n\n      if (!state.has(propertyValue)) {\n        let newState = createStateFor(this, stateName, Ember.getOwner(this));\n        state.set(propertyValue, newState);\n      }\n\n      return state.get(propertyValue);\n    });\n  }\n\n  /*\n   * Looks up the state factory on the owner and sets initial state\n   * on the instance if desired.\n   */\n  function createStateFor(context, stateName, owner) {\n    let defaultState = {};\n    const StateFactory = owner.factoryFor(`state:${stateName}`);\n\n    if (!StateFactory) {\n      return Ember.Object.create();\n    }\n\n    const StateFactoryClass = StateFactory.class;\n\n    if (typeof StateFactoryClass.initialState === 'function') {\n      defaultState = StateFactoryClass.initialState.call(StateFactoryClass, context);\n    } else if (StateFactoryClass.initialState) {\n      throw new TypeError('initialState property must be a function');\n    }\n\n    if (Ember.Object.detect(StateFactoryClass)) {\n      return StateFactoryClass.create(owner.ownerInjection(), defaultState);\n    }\n\n    return Ember.Object.create(owner.ownerInjection(), StateFactoryClass);\n  }\n});","define(\"ember-style-modifier/modifiers/style\", [\"exports\", \"ember-modifier\"], function (_exports, _emberModifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function isObject(o) {\n    return typeof o === 'object' && Boolean(o);\n  }\n  class StyleModifier extends _emberModifier.default {\n    /**\n     * Returns a two-dimensional array, like:\n     *\n     * ```js\n     * [\n     *   ['font-size', '16px'],\n     *   ['text-align', 'center'],\n     *   ['color', 'red']\n     * ]\n     * ```\n     *\n     * This data structure is slightly faster to process than an object / dictionary.\n     */\n    get styles() {\n      const {\n        positional,\n        named\n      } = this.args;\n\n      // This is a workaround for the missing `Array#flat` in IE11.\n      return [].concat(...[...positional.filter(isObject), named].map(obj => Object.entries(obj).map(([k, v]) => [Ember.String.dasherize(k), v])));\n    }\n    setStyles(newStyles) {\n      const rulesToRemove = this._oldStyles || new Set();\n      newStyles.forEach(([property, value]) => {\n        (true && !(typeof value === 'undefined' || Ember.typeOf(value) === 'string') && Ember.assert(`Your given value for property '${property}' is ${value} (${Ember.typeOf(value)}). ` + 'Accepted types are string and undefined. Please change accordingly.', typeof value === 'undefined' || Ember.typeOf(value) === 'string')); // priority must be specified as separate argument\n        // value must not contain \"!important\"\n        let priority = '';\n        if (value && value.includes('!important')) {\n          priority = 'important';\n          value = value.replace('!important', '');\n        }\n\n        // support camelCase property name\n        property = Ember.String.dasherize(property);\n\n        // update CSSOM\n        this.element.style.setProperty(property, value, priority);\n\n        // should not remove rules that have been updated in this cycle\n        rulesToRemove.delete(property);\n      });\n\n      // remove rules that were present in last cycle but aren't present in this one\n      rulesToRemove.forEach(rule => this.element.style.removeProperty(rule));\n\n      // cache styles that in this rendering cycle for the next one\n      this._oldStyles = new Set(newStyles.map(e => e[0]));\n    }\n    didReceiveArguments() {\n      this.setStyles(this.styles);\n    }\n  }\n  _exports.default = StyleModifier;\n});","define(\"ember-test-waiters/index\", [\"exports\", \"@ember/test-waiters\"], function (_exports, _testWaiters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.keys(_testWaiters).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (key in _exports && _exports[key] === _testWaiters[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _testWaiters[key];\n      }\n    });\n  });\n  (true && !(false) && Ember.deprecate('Importing from ember-test-waiters is deprecated. Please import from @ember/test-waiters', false, {\n    id: 'ember-test-waiters-legacy-module-name',\n    until: '3.0.0',\n    for: 'ember-test-waiters',\n    since: {\n      enabled: '2.2.0'\n    }\n  }));\n});","define(\"ember-text-measurer/services/text-measurer\", [\"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.Service.extend({\n    init() {\n      this._super(...arguments);\n      this.canvas = document.createElement('canvas');\n      this.ctx = this.canvas.getContext('2d');\n    },\n    width(string, font = null) {\n      if (font) {\n        this.ctx.font = font;\n      }\n      return this.ctx.measureText(string).width;\n    },\n    lines(string, maxWidth, font = null) {\n      if (font) {\n        this.ctx.font = font;\n      }\n      let paragraphs = string.split(/\\n/);\n      let lines = paragraphs.length;\n      for (let i = 0; i < paragraphs.length; i++) {\n        let paragraph = paragraphs[i];\n        if (paragraph !== '') {\n          let words = paragraph.split(' ');\n          let widthSoFar = 0;\n          let j = 0;\n          for (; j < words.length - 1; j++) {\n            let wordWidth = this.ctx.measureText(words[j] + ' ').width;\n            widthSoFar = widthSoFar + wordWidth;\n            if (widthSoFar > maxWidth) {\n              lines++;\n              widthSoFar = wordWidth;\n            }\n          }\n          let wordWidth = this.ctx.measureText(words[j]).width;\n          widthSoFar = widthSoFar + wordWidth;\n          if (widthSoFar > maxWidth) {\n            lines++;\n            widthSoFar = wordWidth;\n          }\n        }\n      }\n      return lines;\n    },\n    fitTextSize(string, maxWidth, font = null) {\n      let width = this.width(string, font);\n      let fontSize = this.ctx.font.match(/\\d+/)[0];\n      return Math.floor(parseFloat(fontSize) * maxWidth / width);\n    }\n  });\n});","define(\"ember-toastr/services/toast\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let proxyGenerator = function (name) {\n    return function (msg = '', title = '', options = {}) {\n      let toasts = this.toasts;\n      let toast;\n      if (window && window.toastr) {\n        toast = window.toastr[name](msg.toString(), title.toString(), options);\n        if (toast) {\n          toasts.pushObject(toast);\n        }\n      }\n      return toast;\n    };\n  };\n  var _default = _exports.default = Ember.Service.extend({\n    success: proxyGenerator('success'),\n    info: proxyGenerator('info'),\n    warning: proxyGenerator('warning'),\n    error: proxyGenerator('error'),\n    init() {\n      this._super(...arguments);\n      this.toasts = Ember.A([]);\n\n      // Auto remove toasts when hidden\n      if (window && window.toastr) {\n        window.toastr.options = this.config.toastrOptions || this.defaultToastrOptions;\n        window.toastr.options.onHidden = Ember.run.bind(this, () => {\n          let toasts = this.toasts;\n          let notVisible = toasts.filter(item => !item.is(':visible'));\n          toasts.removeObjects(notVisible);\n        });\n      }\n    },\n    clear(toastElement) {\n      if (window && window.toastr) {\n        window.toastr.clear(toastElement);\n        if (toastElement) {\n          this.toasts.removeObject(toastElement);\n        } else {\n          this.set('toasts', Ember.A([]));\n        }\n      }\n    },\n    remove(toastElement) {\n      if (toastElement) {\n        this.toasts.removeObject(toastElement);\n        toastElement.remove();\n      } else {\n        this.set('toasts', Ember.A([]));\n      }\n      if (window && window.toastr) {\n        window.toastr.remove(toastElement);\n      }\n    },\n    willDestroy() {\n      this._super(...arguments);\n      this.remove();\n    }\n  });\n});","define(\"ember-toggle/components/x-toggle-label\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    {{#if @show}}\n    <label\n      for={{@switchId}}\n      class=\"toggle-text toggle-prefix {{this.type}}-label\"\n      ...attributes\n      {{on 'click' this.clickLabel}}\n    >\n      {{#if (has-block)}}\n        {{yield @label}}\n      {{else}}\n        {{@label}}\n      {{/if}}\n    </label>\n  {{/if}}\n  */\n  {\n    \"id\": \"jol9jy+6\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@label\\\",\\\"&default\\\",\\\"@switchId\\\",\\\"&attrs\\\",\\\"@show\\\"],\\\"statements\\\":[[6,[37,1],[[32,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"label\\\"],[16,\\\"for\\\",[32,3]],[16,0,[31,[\\\"toggle-text toggle-prefix \\\",[32,0,[\\\"type\\\"]],\\\"-label\\\"]]],[17,4],[4,[38,0],[\\\"click\\\",[32,0,[\\\"clickLabel\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,1],[[27,[32,2]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,2,[[32,1]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[1,[32,1]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"on\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"ember-toggle/components/x-toggle-label.hbs\"\n  });\n  let XToggleLabel = _exports.default = (_dec = Ember._action, _class = class XToggleLabel extends _component.default {\n    get type() {\n      return this.args.value ? 'on' : 'off';\n    }\n    clickLabel(e) {\n      e.stopPropagation();\n      e.preventDefault();\n      this.args.sendToggle(this.args.value);\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"clickLabel\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"clickLabel\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, XToggleLabel);\n});","define(\"ember-toggle/components/x-toggle-switch\", [\"exports\", \"@glimmer/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <span\n    class=\"x-toggle-container\n      {{@size}}\n      {{if @disabled 'x-toggle-container-disabled'}}\n      {{if @value 'x-toggle-container-checked'}}\n    \"\n    ...attributes\n    {{did-pan\n      onPanStart=this.handlePan\n      onPan=this.handlePan\n      pointerTypes=(array 'touch' 'mouse')\n    }}\n    {{will-destroy this.removeListener}}\n  >\n    <input\n      class='x-toggle'\n      type='checkbox'\n      checked={{@toggled}}\n      disabled={{@disabled}}\n      id={{@forId}}\n      name={{@name}}\n      {{on 'change' this.onChange}}\n    />\n  \n    <label for={{this.effectiveForId}}>\n      <div\n        id=\"x-toggle-visual-{{@forId}}\"\n        role='checkbox'\n        class=\"x-toggle-btn\n          {{this.themeClass}}\n          {{@variant}}\n          {{@size}}\n          {{if @disabled ' x-toggle-disabled'}}\n        \"\n        aria-owns={{@forId}}\n        aria-checked={{@toggled}}\n        data-tg-on={{@onLabel}}\n        data-tg-off={{@offLabel}}\n      >\n      </div>\n    </label>\n  </span>\n  */\n  {\n    \"id\": \"uYYVKVB/\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@value\\\",\\\"@disabled\\\",\\\"@size\\\",\\\"&attrs\\\",\\\"@toggled\\\",\\\"@forId\\\",\\\"@name\\\",\\\"@variant\\\",\\\"@onLabel\\\",\\\"@offLabel\\\"],\\\"statements\\\":[[11,\\\"span\\\"],[16,0,[31,[\\\"x-toggle-container\\\\n    \\\",[32,3],\\\"\\\\n    \\\",[30,[36,0],[[32,2],\\\"x-toggle-container-disabled\\\"],null],\\\"\\\\n    \\\",[30,[36,0],[[32,1],\\\"x-toggle-container-checked\\\"],null],\\\"\\\\n  \\\"]]],[17,4],[4,[38,2],null,[[\\\"onPanStart\\\",\\\"onPan\\\",\\\"pointerTypes\\\"],[[32,0,[\\\"handlePan\\\"]],[32,0,[\\\"handlePan\\\"]],[30,[36,1],[\\\"touch\\\",\\\"mouse\\\"],null]]]],[4,[38,3],[[32,0,[\\\"removeListener\\\"]]],null],[12],[2,\\\"\\\\n  \\\"],[11,\\\"input\\\"],[24,0,\\\"x-toggle\\\"],[16,\\\"checked\\\",[32,5]],[16,\\\"disabled\\\",[32,2]],[16,1,[32,6]],[16,3,[32,7]],[24,4,\\\"checkbox\\\"],[4,[38,4],[\\\"change\\\",[32,0,[\\\"onChange\\\"]]],null],[12],[13],[2,\\\"\\\\n\\\\n  \\\"],[10,\\\"label\\\"],[15,\\\"for\\\",[32,0,[\\\"effectiveForId\\\"]]],[12],[2,\\\"\\\\n    \\\"],[10,\\\"div\\\"],[15,1,[31,[\\\"x-toggle-visual-\\\",[32,6]]]],[14,\\\"role\\\",\\\"checkbox\\\"],[15,0,[31,[\\\"x-toggle-btn\\\\n        \\\",[32,0,[\\\"themeClass\\\"]],\\\"\\\\n        \\\",[32,8],\\\"\\\\n        \\\",[32,3],\\\"\\\\n        \\\",[30,[36,0],[[32,2],\\\" x-toggle-disabled\\\"],null],\\\"\\\\n      \\\"]]],[15,\\\"aria-owns\\\",[32,6]],[15,\\\"aria-checked\\\",[32,5]],[15,\\\"data-tg-on\\\",[32,9]],[15,\\\"data-tg-off\\\",[32,10]],[12],[2,\\\"\\\\n    \\\"],[13],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"array\\\",\\\"did-pan\\\",\\\"will-destroy\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-toggle/components/x-toggle-switch.hbs\"\n  });\n  let XToggleSwitch = _exports.default = (_dec = Ember._tracked, _dec2 = Ember._action, _dec3 = Ember._action, _dec4 = Ember._action, _class = class XToggleSwitch extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"labelDisabled\", _descriptor, this);\n    }\n    get effectiveForId() {\n      return this.labelDisabled ? null : this.args.forId;\n    }\n    get themeClass() {\n      let theme = this.args.theme || 'default';\n      return `x-toggle-${theme}`;\n    }\n    handlePan(touchData) {\n      if (this.args.disabled) {\n        return;\n      }\n      const isToggled = touchData.current.distanceX > 0;\n      this.args.sendToggle(isToggled);\n      this._disableLabelUntilMouseUp();\n    }\n    onChange(e) {\n      if (this.args.disabled) {\n        return;\n      }\n      this.args.sendToggle(e.target.checked);\n    }\n    removeListener() {\n      this._removeListener();\n    }\n\n    /*\n      When you pan with a mouse and release the mouse button over the <label>\n      element, a click event happens and returns the toggle to its initial\n      state. :(\n       To prevent this, we need to make the label non-functional until after the\n      mouse button is released.\n     */\n    _disableLabelUntilMouseUp() {\n      if (this.labelDisabled) {\n        return;\n      }\n      const _listener = () => {\n        Ember.run.next(() => {\n          if (this.isDestroying || this.isDestroyed) {\n            return;\n          }\n          this._removeListener();\n          this.labelDisabled = false;\n        });\n      };\n      this.labelDisabled = true;\n      this._listener = _listener;\n      document.addEventListener('mouseup', _listener);\n    }\n    _removeListener() {\n      const _listener = this._listener;\n      if (_listener) {\n        document.removeEventListener('mouseup', _listener);\n        this._listener = null;\n      }\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"labelDisabled\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"handlePan\", [_dec2], Object.getOwnPropertyDescriptor(_class.prototype, \"handlePan\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onChange\", [_dec3], Object.getOwnPropertyDescriptor(_class.prototype, \"onChange\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeListener\", [_dec4], Object.getOwnPropertyDescriptor(_class.prototype, \"removeListener\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, XToggleSwitch);\n});","define(\"ember-toggle/components/x-toggle\", [\"exports\", \"@glimmer/component\", \"ember-cached-decorator-polyfill\"], function (_exports, _component, _emberCachedDecoratorPolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _dec1, _dec10, _dec11, _dec12, _dec13, _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5, _descriptor6, _descriptor7, _descriptor8, _descriptor9, _descriptor0;\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 __COLOCATED_TEMPLATE__ = Ember.HTMLBars.template(\n  /*\n    <div\n    class='x-toggle-component {{if this.focused 'x-toggle-focused'}}'\n    tabindex='0'\n    ...attributes\n    {{did-insert this.setContainer}}\n    {{on 'focusin' this.handleFocusIn}}\n    {{on 'focusout' this.handleFocusOut}}\n    {{on 'keypress' this.spacebarToggle}}\n  >\n    {{#if (has-block)}}\n      {{yield\n        (hash\n          switch=(component\n            'x-toggle-switch'\n            disabled=this.disabled\n            forId=this.forId\n            name=this.name\n            offLabel=this.offLabel\n            onLabel=this.onLabel\n            size=this.size\n            theme=this.theme\n            variant=this.variant\n            toggled=this.toggled\n            value=this.value\n            sendToggle=this.toggleSwitch\n          )\n          offLabel=(component\n            'x-toggle-label'\n            label=this.offLabel\n            show=this.showLabels\n            switchId=this.forId\n            value=false\n            sendToggle=this.toggleSwitch\n          )\n          onLabel=(component\n            'x-toggle-label'\n            label=this.onLabel\n            show=this.showLabels\n            switchId=this.forId\n            value=true\n            sendToggle=this.toggleSwitch\n          )\n          label=(component\n            'x-toggle-label'\n            show=this.showLabels\n            switchId=this.forId\n            sendToggle=this.toggleSwitch\n          )\n        )\n      }}\n    {{else}}\n      <XToggleLabel\n        @label={{this.offLabel}}\n        @show={{this.showLabels}}\n        @switchId={{this.forId}}\n        @value={{false}}\n        @sendToggle={{this.toggleSwitch}}\n      />\n  \n      <XToggleSwitch\n        @disabled={{this.disabled}}\n        @forId={{this.forId}}\n        @name={{this.name}}\n        @offLabel={{this.offLabel}}\n        @onLabel={{this.onLabel}}\n        @size={{this.size}}\n        @theme={{this.theme}}\n        @variant={{this.variant}}\n        @toggled={{this.toggled}}\n        @value={{this.value}}\n        @sendToggle={{this.toggleSwitch}}\n      />\n  \n      <XToggleLabel\n        @label={{this.onLabel}}\n        @show={{this.showLabels}}\n        @switchId={{this.forId}}\n        @value={{true}}\n        @sendToggle={{this.toggleSwitch}}\n      />\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"N0yIBTVu\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\",\\\"&attrs\\\"],\\\"statements\\\":[[11,\\\"div\\\"],[16,0,[31,[\\\"x-toggle-component \\\",[30,[36,2],[[32,0,[\\\"focused\\\"]],\\\"x-toggle-focused\\\"],null]]]],[24,\\\"tabindex\\\",\\\"0\\\"],[17,2],[4,[38,3],[[32,0,[\\\"setContainer\\\"]]],null],[4,[38,4],[\\\"focusin\\\",[32,0,[\\\"handleFocusIn\\\"]]],null],[4,[38,4],[\\\"focusout\\\",[32,0,[\\\"handleFocusOut\\\"]]],null],[4,[38,4],[\\\"keypress\\\",[32,0,[\\\"spacebarToggle\\\"]]],null],[12],[2,\\\"\\\\n\\\"],[6,[37,2],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[18,1,[[30,[36,1],null,[[\\\"switch\\\",\\\"offLabel\\\",\\\"onLabel\\\",\\\"label\\\"],[[30,[36,0],[\\\"x-toggle-switch\\\"],[[\\\"disabled\\\",\\\"forId\\\",\\\"name\\\",\\\"offLabel\\\",\\\"onLabel\\\",\\\"size\\\",\\\"theme\\\",\\\"variant\\\",\\\"toggled\\\",\\\"value\\\",\\\"sendToggle\\\"],[[32,0,[\\\"disabled\\\"]],[32,0,[\\\"forId\\\"]],[32,0,[\\\"name\\\"]],[32,0,[\\\"offLabel\\\"]],[32,0,[\\\"onLabel\\\"]],[32,0,[\\\"size\\\"]],[32,0,[\\\"theme\\\"]],[32,0,[\\\"variant\\\"]],[32,0,[\\\"toggled\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"toggleSwitch\\\"]]]]],[30,[36,0],[\\\"x-toggle-label\\\"],[[\\\"label\\\",\\\"show\\\",\\\"switchId\\\",\\\"value\\\",\\\"sendToggle\\\"],[[32,0,[\\\"offLabel\\\"]],[32,0,[\\\"showLabels\\\"]],[32,0,[\\\"forId\\\"]],false,[32,0,[\\\"toggleSwitch\\\"]]]]],[30,[36,0],[\\\"x-toggle-label\\\"],[[\\\"label\\\",\\\"show\\\",\\\"switchId\\\",\\\"value\\\",\\\"sendToggle\\\"],[[32,0,[\\\"onLabel\\\"]],[32,0,[\\\"showLabels\\\"]],[32,0,[\\\"forId\\\"]],true,[32,0,[\\\"toggleSwitch\\\"]]]]],[30,[36,0],[\\\"x-toggle-label\\\"],[[\\\"show\\\",\\\"switchId\\\",\\\"sendToggle\\\"],[[32,0,[\\\"showLabels\\\"]],[32,0,[\\\"forId\\\"]],[32,0,[\\\"toggleSwitch\\\"]]]]]]]]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"x-toggle-label\\\",[],[[\\\"@label\\\",\\\"@show\\\",\\\"@switchId\\\",\\\"@value\\\",\\\"@sendToggle\\\"],[[32,0,[\\\"offLabel\\\"]],[32,0,[\\\"showLabels\\\"]],[32,0,[\\\"forId\\\"]],false,[32,0,[\\\"toggleSwitch\\\"]]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"x-toggle-switch\\\",[],[[\\\"@disabled\\\",\\\"@forId\\\",\\\"@name\\\",\\\"@offLabel\\\",\\\"@onLabel\\\",\\\"@size\\\",\\\"@theme\\\",\\\"@variant\\\",\\\"@toggled\\\",\\\"@value\\\",\\\"@sendToggle\\\"],[[32,0,[\\\"disabled\\\"]],[32,0,[\\\"forId\\\"]],[32,0,[\\\"name\\\"]],[32,0,[\\\"offLabel\\\"]],[32,0,[\\\"onLabel\\\"]],[32,0,[\\\"size\\\"]],[32,0,[\\\"theme\\\"]],[32,0,[\\\"variant\\\"]],[32,0,[\\\"toggled\\\"]],[32,0,[\\\"value\\\"]],[32,0,[\\\"toggleSwitch\\\"]]]],null],[2,\\\"\\\\n\\\\n    \\\"],[8,\\\"x-toggle-label\\\",[],[[\\\"@label\\\",\\\"@show\\\",\\\"@switchId\\\",\\\"@value\\\",\\\"@sendToggle\\\"],[[32,0,[\\\"onLabel\\\"]],[32,0,[\\\"showLabels\\\"]],[32,0,[\\\"forId\\\"]],true,[32,0,[\\\"toggleSwitch\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[13]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\",\\\"hash\\\",\\\"if\\\",\\\"did-insert\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"ember-toggle/components/x-toggle.hbs\"\n  });\n  function configValue(configName, defaultValue) {\n    return function (target, name) {\n      return {\n        get() {\n          return this.args[name] ?? (configName && this.config?.[configName]) ?? defaultValue;\n        }\n      };\n    };\n  }\n  let XToggle = _exports.default = (_dec = Ember._tracked, _dec2 = configValue(null, false), _dec3 = configValue(null, false), _dec4 = configValue(null, 'default'), _dec5 = configValue('defaultOnLabel', 'On'), _dec6 = configValue('defaultOffLabel', 'Off'), _dec7 = configValue('defaultTheme', 'default'), _dec8 = configValue('defaultVariant', ''), _dec9 = configValue('defaultShowLabels', false), _dec0 = configValue('defaultSize', 'medium'), _dec1 = Ember._action, _dec10 = Ember._action, _dec11 = Ember._action, _dec12 = Ember._action, _dec13 = Ember._action, _class = class XToggle extends _component.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"focused\", _descriptor, this);\n      _defineProperty(this, \"container\", void 0);\n      _initializerDefineProperty(this, \"disabled\", _descriptor2, this);\n      _initializerDefineProperty(this, \"value\", _descriptor3, this);\n      _initializerDefineProperty(this, \"name\", _descriptor4, this);\n      _initializerDefineProperty(this, \"onLabel\", _descriptor5, this);\n      _initializerDefineProperty(this, \"offLabel\", _descriptor6, this);\n      _initializerDefineProperty(this, \"theme\", _descriptor7, this);\n      _initializerDefineProperty(this, \"variant\", _descriptor8, this);\n      _initializerDefineProperty(this, \"showLabels\", _descriptor9, this);\n      _initializerDefineProperty(this, \"size\", _descriptor0, this);\n    }\n    get config() {\n      return Ember.getOwner(this).resolveRegistration('config:environment')['ember-toggle'] || {};\n    }\n    get toggled() {\n      return this.value;\n    }\n    get forId() {\n      return Ember.guidFor(this) + '-x-toggle';\n    }\n    toggleSwitch(value) {\n      let onToggle = this.args.onToggle;\n      let disabled = this.disabled;\n      if (!disabled && value !== this.value && typeof onToggle === 'function') {\n        let name = this.name;\n        onToggle(value, name);\n\n        // The click on input/label will toggle the input unconditionally.\n        // Input state has to be updated manually to prevent it going out of\n        // sync in case the action didn't update value.\n        const checkbox = this.container.querySelector('.x-toggle');\n        const newValue = this.value;\n        if (checkbox.checked !== newValue) {\n          checkbox.checked = newValue;\n        }\n      }\n    }\n    setContainer(element) {\n      this.container = element;\n    }\n    spacebarToggle(event) {\n      // spacebar: 32\n      if (event.which === 32) {\n        event.preventDefault();\n        this.toggleSwitch(!this.value);\n      }\n    }\n    handleFocusIn() {\n      this.focused = true;\n    }\n    handleFocusOut() {\n      this.focused = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"focused\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"disabled\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"value\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"name\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"onLabel\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor6 = _applyDecoratedDescriptor(_class.prototype, \"offLabel\", [_dec6], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor7 = _applyDecoratedDescriptor(_class.prototype, \"theme\", [_dec7], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor8 = _applyDecoratedDescriptor(_class.prototype, \"variant\", [_dec8], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor9 = _applyDecoratedDescriptor(_class.prototype, \"showLabels\", [_dec9], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor0 = _applyDecoratedDescriptor(_class.prototype, \"size\", [_dec0], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"config\", [_emberCachedDecoratorPolyfill.cached], Object.getOwnPropertyDescriptor(_class.prototype, \"config\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"forId\", [_emberCachedDecoratorPolyfill.cached], Object.getOwnPropertyDescriptor(_class.prototype, \"forId\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"toggleSwitch\", [_dec1], Object.getOwnPropertyDescriptor(_class.prototype, \"toggleSwitch\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setContainer\", [_dec10], Object.getOwnPropertyDescriptor(_class.prototype, \"setContainer\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"spacebarToggle\", [_dec11], Object.getOwnPropertyDescriptor(_class.prototype, \"spacebarToggle\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFocusIn\", [_dec12], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocusIn\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"handleFocusOut\", [_dec13], Object.getOwnPropertyDescriptor(_class.prototype, \"handleFocusOut\"), _class.prototype), _class);\n  Ember._setComponentTemplate(__COLOCATED_TEMPLATE__, XToggle);\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  _exports.default = void 0;\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  var _default = _exports.default = Ember.Helper.helper(and);\n});","define(\"ember-truth-helpers/helpers/eq\", [\"exports\", \"ember-truth-helpers/helpers/equal\"], function (_exports, _equal) {\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 _equal.default;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _equal.equal;\n    }\n  });\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.default = void 0;\n  _exports.equal = equal;\n  function equal(params) {\n    return params[0] === params[1];\n  }\n  var _default = _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.default = void 0;\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  var _default = _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.default = void 0;\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  var _default = _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.default = void 0;\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  var _default = _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 = void 0;\n  var _default = _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.default = void 0;\n  _exports.isEqual = isEqual;\n  function isEqual([a, b]) {\n    return Ember.isEqual(a, b);\n  }\n  var _default = _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.default = void 0;\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  var _default = _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.default = void 0;\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  var _default = _exports.default = Ember.Helper.helper(lte);\n});","define(\"ember-truth-helpers/helpers/not-eq\", [\"exports\", \"ember-truth-helpers/helpers/not-equal\"], function (_exports, _notEqual) {\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 _notEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"notEqualHelper\", {\n    enumerable: true,\n    get: function () {\n      return _notEqual.notEqualHelper;\n    }\n  });\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.default = void 0;\n  _exports.notEqualHelper = notEqualHelper;\n  function notEqualHelper(params) {\n    return params[0] !== params[1];\n  }\n  var _default = _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.default = void 0;\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  var _default = _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.default = void 0;\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  var _default = _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.default = void 0;\n  _exports.xor = xor;\n  function xor(params) {\n    return (0, _truthConvert.default)(params[0]) !== (0, _truthConvert.default)(params[1]);\n  }\n  var _default = _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    if (Ember.isArray(result)) {\n      return Ember.get(result, 'length') !== 0;\n    } else {\n      return !!result;\n    }\n  }\n});","define(\"ember-validators/collection\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateCollection;\n  /**\n   *  @class Collection\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.collection\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateCollection(value, options, model, attribute) {\n    let collection = options.collection;\n    (true && !(Ember.isPresent(collection)) && Ember.assert(`[validator:collection] [${attribute}] option 'collection' is required`, Ember.isPresent(collection)));\n    if (collection === true && !Ember.isArray(value)) {\n      return (0, _validationError.default)('collection', value, options);\n    }\n    if (collection === false && Ember.isArray(value)) {\n      return (0, _validationError.default)('singular', value, options);\n    }\n    return true;\n  }\n});","define(\"ember-validators/confirmation\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateConfirmation;\n  /**\n   *  @class Confirmation\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {String} options.on The attribute to confirm against\n   * @param {String} options.allowBlank If true, skips validation if the value is empty\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateConfirmation(value, options, model, attribute) {\n    let on = options.on;\n    let allowBlank = options.allowBlank;\n    (true && !(Ember.isPresent(on)) && Ember.assert(`[validator:confirmation] [${attribute}] option 'on' is required`, Ember.isPresent(on)));\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    if (!Ember.isEqual(value, Ember.get(model, on))) {\n      return (0, _validationError.default)('confirmation', value, options);\n    }\n    return true;\n  }\n});","define(\"ember-validators/date\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDate;\n  _exports.parseDate = parseDate;\n  /**\n   * @class Date\n   * @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {String|Date} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String|Date} options.before The specified date must be before this date\n   * @param {String|Date} options.onOrBefore The specified date must be on or before this date\n   * @param {String|Date} options.after The specified date must be after this date\n   * @param {String|Date} options.onOrAfter The specified date must be on or after this date\n   * @param {String} options.format Input value date format - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat\n   *  - { dateStyle: 'long' } or { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }\n   *  If you need to obtain precision (just compare years), use { year: 'numeric' }\n   * @param {String} options.errorFormat Error output date format. Defaults to options.format or { dateStyle: 'long' }\n   */\n  function validateDate(value, options) {\n    let {\n      locale = 'en-us',\n      format,\n      allowBlank\n    } = options;\n    let {\n      before,\n      onOrBefore,\n      after,\n      onOrAfter\n    } = options;\n    let errorFormat = options.errorFormat || format || {\n      dateStyle: 'long'\n    };\n    if (allowBlank && value === null || value === undefined || value === '') {\n      return true;\n    }\n    let date;\n    if (!value) {\n      if (format) {\n        date = new Intl.DateTimeFormat(locale, format).format(new Date());\n      }\n      date = new Date();\n    } else if (!isValidDate(new Date(value))) {\n      return (0, _validationError.default)('date', value, options);\n    } else {\n      date = parseAsDate(value, format, locale);\n    }\n    if (before) {\n      const beforeCompare = parseAsDate(before, format, locale);\n      if (!isBefore(date, beforeCompare)) {\n        return (0, _validationError.default)('before', value, Object.assign({}, options, {\n          before: parseDateError(beforeCompare, errorFormat, locale)\n        }));\n      }\n    }\n    if (onOrBefore) {\n      const onOrBeforeCompare = parseAsDate(onOrBefore, format, locale);\n      if (!isSameOrBefore(date, onOrBeforeCompare)) {\n        return (0, _validationError.default)('onOrBefore', value, Object.assign({}, options, {\n          onOrBefore: parseDateError(onOrBeforeCompare, errorFormat, locale)\n        }));\n      }\n    }\n    if (after) {\n      const afterCompare = parseAsDate(after, format, locale);\n      if (!isAfter(date, afterCompare)) {\n        return (0, _validationError.default)('after', value, Object.assign({}, options, {\n          after: parseDateError(afterCompare, errorFormat, locale)\n        }));\n      }\n    }\n    if (onOrAfter) {\n      const onOrAfterCompare = parseAsDate(onOrAfter, format, locale);\n      if (!isSameOrAfter(date, onOrAfterCompare)) {\n        return (0, _validationError.default)('onOrAfter', value, Object.assign({}, options, {\n          onOrAfter: parseDateError(onOrAfterCompare, errorFormat, locale)\n        }));\n      }\n    }\n    return true;\n  }\n\n  /**\n   * This is a forcing function.  If `format` provided, date and comparison date will be in String format.  Otherwise, instances of Date.\n   * I don't think there is a need to force iso8601 strings.\n   * @function parseDate\n   * @param {Date|String} date\n   * @param {Object} format - { dateStyle: 'long' } or { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' }\n   * If you need to obtain precision (just compare years), use { year: 'numeric' }.\n   * @param {String} locale\n   * @returns {Date|String}\n   */\n  function parseDate(date, format, locale) {\n    if (format) {\n      // new Date(\"2015\") will give the last day in 2014.  This is problematic\n      let yearOnly = isYearFormat(format);\n      if (!(date instanceof Date)) {\n        // format date into string\n        // we have already checked this a valid date\n        let d = yearOnly ? new Date(date, 0) : new Date(date);\n        return new Intl.DateTimeFormat(locale, format).format(d);\n      }\n\n      // format date into string\n      let d = yearOnly ? new Date(date.getFullYear(), 0) : date;\n      return new Intl.DateTimeFormat(locale, format).format(d);\n    } else {\n      // Date constructor accepts a variety of formats including properly represented strings and Date instances.\n      // However, a variety of formats return an \"Invalid Date\" literal including DD/MM/YYYY\n      return new Date(date);\n    }\n  }\n  function parseDateError(date, format, locale) {\n    return parseDate(date, format, locale);\n  }\n  function parseAsDate(date, format, locale) {\n    if (format && isYearFormat(format)) {\n      return new Date(parseDate(date, format, locale), 0);\n    }\n    return new Date(parseDate(date, format, locale));\n  }\n  function isValidDate(d) {\n    return d instanceof Date && !isNaN(d);\n  }\n  function isSame(date, comp) {\n    return date.getTime() === comp.getTime();\n  }\n  function isBefore(date, comp) {\n    return date < comp;\n  }\n  function isAfter(date, comp) {\n    return date > comp;\n  }\n  function isSameOrAfter(date, comp) {\n    return isSame(date, comp) || isAfter(date, comp);\n  }\n  function isSameOrBefore(date, comp) {\n    return isSame(date, comp) || isBefore(date, comp);\n  }\n  function isYearFormat(format) {\n    return Object.keys(format).length === 1 && format.year;\n  }\n});","define(\"ember-validators/ds-error\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateDsError;\n  _exports.getPathAndKey = getPathAndKey;\n  /**\n   *  @class DS Error\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateDsError(value, options, model, attribute) {\n    let {\n      path,\n      key\n    } = getPathAndKey(attribute);\n    let errors = Ember.get(model, path);\n    if (errors && errors.has && errors.has(key)) {\n      let errorsFor = errors.errorsFor(key);\n      return (0, _validationError.default)('ds', null, options, errorsFor.length ? errorsFor[errorsFor.length - 1].message : []);\n    }\n    return true;\n  }\n  function getPathAndKey(attribute) {\n    let path = attribute.split('.');\n    let key = path.pop();\n    path.push('errors');\n    return {\n      path: path.join('.'),\n      key\n    };\n  }\n});","define(\"ember-validators/exclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateExclusion;\n  /**\n   *  @class Exclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute should not be\n   * @param {Array} options.range The range in which the attribute's value should not reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateExclusion(value, options, model, attribute) {\n    let array = options.in;\n    let {\n      range,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:exclusion] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    if (array && array.indexOf(value) !== -1) {\n      return (0, _validationError.default)('exclusion', value, options);\n    }\n    if (range && range.length === 2) {\n      let [min, max] = range;\n      let equalType = Ember.typeOf(value) === Ember.typeOf(min) && Ember.typeOf(value) === Ember.typeOf(max);\n      if (equalType && min <= value && value <= max) {\n        return (0, _validationError.default)('exclusion', value, options);\n      }\n    }\n    return true;\n  }\n});","define(\"ember-validators/format\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateFormat;\n  _exports.regularExpressions = void 0;\n  const {\n    canInvoke\n  } = Ember;\n\n  /**\n   *  @class Format\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {String} options.type Can be the one of the following options [`email`, `phone`, `url`]\n   * @param {String} options.inverse If true, pass if the value doesn't match the given regex / type\n   * @param {Regex} options.regex The regular expression to test against\n   * @param {Boolean} options.allowNonTld If true, the predefined regular expression `email` allows non top-level domains\n   * @param {Number} options.minTldLength The min length of the top-level domain on the predefined `email` regular expression\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  const regularExpressions = _exports.regularExpressions = {\n    // eslint-disable-next-line no-useless-escape\n    email: /^[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+(?:\\.[a-z0-9!#$%&'*+\\/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,\n    // eslint-disable-next-line no-useless-escape\n    phone: /^([\\+]?1\\s*[-\\/\\.]?\\s*)?(\\((\\d{3})\\)|(\\d{3}))\\s*[-\\/\\.]?\\s*(\\d{3})\\s*[-\\/\\.]?\\s*(\\d{4})\\s*(([xX]|[eE][xX][tT]?[\\.]?|extension)\\s*([#*\\d]+))*$/,\n    // eslint-disable-next-line no-useless-escape\n    url: /(?:([A-Za-z]+):)?(\\/{0,3})[a-zA-Z0-9][a-zA-Z-0-9]*(\\.[\\w-]+)+([\\w.,@?^=%&amp;:\\/~+#-{}]*[\\w@?^=%&amp;\\/~+#-{}])??/\n  };\n  function validateFormat(value, options, model, attribute) {\n    let {\n      regex,\n      type,\n      inverse = false,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:format] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n    let regexTest = regex;\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    if (type && !regex && regularExpressions[type]) {\n      regexTest = regularExpressions[type];\n    }\n    if (type === 'email') {\n      if (regexTest === regularExpressions.email) {\n        regexTest = formatEmailRegex(options);\n      }\n      Object.assign({}, options, {\n        regex: regexTest\n      });\n    }\n    if (!canInvoke(value, 'match') || regexTest && Ember.isEmpty(value.match(regexTest)) !== inverse) {\n      return (0, _validationError.default)(type || 'invalid', value, Object.assign({}, options, {\n        regex: regexTest\n      }));\n    }\n    return true;\n  }\n  function formatEmailRegex(options) {\n    let {\n      source\n    } = regularExpressions.email;\n    let {\n      allowNonTld,\n      minTldLength\n    } = options;\n    if (!Ember.isNone(minTldLength) && typeof minTldLength === 'number') {\n      source = source.replace('[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$', `[a-z0-9]{${minTldLength},}(?:[a-z0-9-]*[a-z0-9])?$`);\n    }\n    if (allowNonTld) {\n      source = source.replace('@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.)', '@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\\\\.?)');\n    }\n    return new RegExp(source, 'i');\n  }\n});","define(\"ember-validators/inclusion\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateInclusion;\n  /**\n   *  @class Inclusion\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Array} options.in The list of values this attribute could be\n   * @param {Array} options.range The range in which the attribute's value should reside in\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateInclusion(value, options, model, attribute) {\n    let array = options.in;\n    let {\n      range,\n      allowBlank\n    } = options;\n    (true && !(!Ember.isEmpty(Object.keys(options))) && Ember.assert(`[validator:inclusion] [${attribute}] no options were passed in`, !Ember.isEmpty(Object.keys(options))));\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    if (array && array.indexOf(value) === -1) {\n      return (0, _validationError.default)('inclusion', value, options);\n    }\n    if (range && range.length === 2) {\n      let [min, max] = range;\n      let equalType = Ember.typeOf(value) === Ember.typeOf(min) && Ember.typeOf(value) === Ember.typeOf(max);\n      let isInvalidNumber = Ember.typeOf(value) === 'number' && isNaN(value);\n      if (!equalType || isInvalidNumber || min > value || value > max) {\n        return (0, _validationError.default)('inclusion', value, options);\n      }\n    }\n    return true;\n  }\n});","define(\"ember-validators/index\", [\"exports\", \"@embroider/macros/es-compat2\"], function (_exports, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.validate = validate;\n  function validate(type, ...args) {\n    let validator;\n    if (type === 'collection') {\n      validator = import_collection();\n    } else if (type === 'confirmation') {\n      validator = import_confirmation();\n    } else if (type === 'date') {\n      validator = import_date();\n    } else if (type === 'ds-error') {\n      validator = import_ds_error();\n    } else if (type === 'exclusion') {\n      validator = import_exclusion();\n    } else if (type === 'format') {\n      validator = import_format();\n    } else if (type === 'inclusion') {\n      validator = import_inclusion();\n    } else if (type === 'length') {\n      validator = import_length();\n    } else if (type === 'messages') {\n      validator = import_messages();\n    } else if (type === 'number') {\n      validator = import_number();\n    } else if (type === 'presence') {\n      validator = import_presence();\n    }\n    (true && !(Ember.isPresent(validator)) && Ember.assert(`Validator not found of type: ${type}.`, Ember.isPresent(validator)));\n    return validator.default(...args);\n  }\n  function import_collection() {\n    return (0, _esCompat.default)(require(\"ember-validators/collection\"));\n  }\n  function import_confirmation() {\n    return (0, _esCompat.default)(require(\"ember-validators/confirmation\"));\n  }\n  function import_date() {\n    return (0, _esCompat.default)(require(\"ember-validators/date\"));\n  }\n  function import_ds_error() {\n    return (0, _esCompat.default)(require(\"ember-validators/ds-error\"));\n  }\n  function import_exclusion() {\n    return (0, _esCompat.default)(require(\"ember-validators/exclusion\"));\n  }\n  function import_format() {\n    return (0, _esCompat.default)(require(\"ember-validators/format\"));\n  }\n  function import_inclusion() {\n    return (0, _esCompat.default)(require(\"ember-validators/inclusion\"));\n  }\n  function import_length() {\n    return (0, _esCompat.default)(require(\"ember-validators/length\"));\n  }\n  function import_messages() {\n    return (0, _esCompat.default)(require(\"ember-validators/messages\"));\n  }\n  function import_number() {\n    return (0, _esCompat.default)(require(\"ember-validators/number\"));\n  }\n  function import_presence() {\n    return (0, _esCompat.default)(require(\"ember-validators/presence\"));\n  }\n});","define(\"ember-validators/length\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateLength;\n  /**\n   *  @class Length\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.useBetweenMessage If true, uses the between error message when `max` and `min` are both set\n   * @param {Number} options.is The exact length the value can be\n   * @param {Number} options.min The minimum length the value can be\n   * @param {Number} options.max The maximum length the value can be\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateLength(value, options) {\n    let {\n      allowNone = true,\n      allowBlank,\n      useBetweenMessage,\n      is,\n      min,\n      max\n    } = options;\n    if (Ember.isNone(value)) {\n      return allowNone ? true : (0, _validationError.default)('invalid', value, options);\n    }\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    let length = value.length;\n    if (!Ember.isNone(is) && is !== length) {\n      return (0, _validationError.default)('wrongLength', value, options);\n    }\n    if (useBetweenMessage && !Ember.isNone(min) && !Ember.isNone(max) && (length < min || length > max)) {\n      return (0, _validationError.default)('between', value, options);\n    }\n    if (!Ember.isNone(min) && min > length) {\n      return (0, _validationError.default)('tooShort', value, options);\n    }\n    if (!Ember.isNone(max) && max < length) {\n      return (0, _validationError.default)('tooLong', value, options);\n    }\n    return true;\n  }\n});","define(\"ember-validators/messages\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *  @class Messages\n   *  @module Validators\n   */\n  var _default = _exports.default = {\n    /**\n     * Regex for matching error message placeholders\n     * @private\n     * @property _regex\n     * @type {RegExp}\n     */\n    _regex: /\\{(\\w+)\\}/g,\n    /**\n     * Default attribute description if one isnt passed into a validator's options\n     * @property defaultDescription\n     * @type {String}\n     */\n    defaultDescription: 'This field',\n    /**\n     * Get a description for a specific attribute. This is a hook\n     * for i18n solutions to retrieve attribute descriptions from a translation\n     * @method getDescriptionFor\n     * @param  {String} attribute\n     * @param  {Object} options\n     * @return {String}\n     */\n    getDescriptionFor(attribute, context = {}) {\n      return context.description || this.defaultDescription;\n    },\n    /**\n     * Get a message with a given type\n     * @method getMessageFor\n     * @param  {String} type\n     * @param  {Object} context\n     * @return {String}\n     */\n    getMessageFor(type, context = {}) {\n      return this.formatMessage(Ember.get(this, type), context);\n    },\n    /**\n     * Regex replace all placeholders with their given context\n     * @method formatMessage\n     * @param  {String} message\n     * @param  {Object} context\n     * @return {String}\n     */\n    formatMessage(message, context = {}) {\n      let m = message;\n      if (Ember.isNone(m) || typeof m !== 'string') {\n        m = this.invalid;\n      }\n      return m.replace(this._regex, (s, attr) => Ember.get(context, attr));\n    },\n    /**\n     * Default validation error message strings\n     */\n    accepted: '{description} must be accepted',\n    after: '{description} must be after {after}',\n    before: '{description} must be before {before}',\n    blank: \"{description} can't be blank\",\n    collection: '{description} must be a collection',\n    confirmation: \"{description} doesn't match {on}\",\n    date: '{description} must be a valid date',\n    email: '{description} must be a valid email address',\n    empty: \"{description} can't be empty\",\n    equalTo: '{description} must be equal to {is}',\n    even: '{description} must be even',\n    exclusion: '{description} is reserved',\n    greaterThan: '{description} must be greater than {gt}',\n    greaterThanOrEqualTo: '{description} must be greater than or equal to {gte}',\n    inclusion: '{description} is not included in the list',\n    invalid: '{description} is invalid',\n    lessThan: '{description} must be less than {lt}',\n    lessThanOrEqualTo: '{description} must be less than or equal to {lte}',\n    notAnInteger: '{description} must be an integer',\n    notANumber: '{description} must be a number',\n    odd: '{description} must be odd',\n    onOrAfter: '{description} must be on or after {onOrAfter}',\n    onOrBefore: '{description} must be on or before {onOrBefore}',\n    otherThan: '{description} must be other than {value}',\n    phone: '{description} must be a valid phone number',\n    positive: '{description} must be positive',\n    multipleOf: '{description} must be a multiple of {multipleOf}',\n    present: '{description} must be blank',\n    singular: \"{description} can't be a collection\",\n    tooLong: '{description} is too long (maximum is {max} characters)',\n    tooShort: '{description} is too short (minimum is {min} characters)',\n    between: '{description} must be between {min} and {max} characters',\n    url: '{description} must be a valid url',\n    wrongLength: '{description} is the wrong length (should be {is} characters)'\n  };\n});","define(\"ember-validators/number\", [\"exports\", \"ember-validators/utils/validation-error\"], function (_exports, _validationError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validateNumber;\n  /**\n   *  @class Number\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.allowBlank If true, skips validation if the value is empty\n   * @param {Boolean} options.allowNone If true, skips validation if the value is null or undefined. __Default: true__\n   * @param {Boolean} options.allowString If true, validator will accept string representation of a number\n   * @param {Boolean} options.integer Number must be an integer\n   * @param {Boolean} options.positive Number must be greater than or equal to 0\n   * @param {Boolean} options.odd Number must be odd\n   * @param {Boolean} options.even Number must be even\n   * @param {Number} options.is Number must be equal to this value\n   * @param {Number} options.lt Number must be less than this value\n   * @param {Number} options.lte Number must be less than or equal to this value\n   * @param {Number} options.gt Number must be greater than this value\n   * @param {Number} options.gte Number must be greater than or equal to this value\n   * @param {Number} options.multipleOf Number must be a multiple of this value\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validateNumber(value, options) {\n    let numValue = Number(value);\n    let optionKeys = Object.keys(options);\n    let {\n      allowBlank,\n      allowNone = true,\n      allowString,\n      integer\n    } = options;\n    if (allowNone && Ember.isNone(value)) {\n      return true;\n    }\n    if (allowBlank && Ember.isEmpty(value)) {\n      return true;\n    }\n    if (Ember.isEmpty(value)) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n    if (typeof value === 'string' && !allowString) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n    if (!isNumber(numValue)) {\n      return (0, _validationError.default)('notANumber', value, options);\n    }\n    if (integer && !isInteger(numValue)) {\n      return (0, _validationError.default)('notAnInteger', value, options);\n    }\n    for (let i = 0; i < optionKeys.length; i++) {\n      let type = optionKeys[i];\n      let returnValue = _validateType(type, options, numValue);\n      if (typeof returnValue !== 'boolean') {\n        return returnValue;\n      }\n    }\n    return true;\n  }\n  function _validateType(type, options, value) {\n    let expected = options[type];\n    let actual = value;\n    if (type === 'is' && actual !== expected) {\n      return (0, _validationError.default)('equalTo', value, options);\n    } else if (type === 'lt' && actual >= expected) {\n      return (0, _validationError.default)('lessThan', value, options);\n    } else if (type === 'lte' && actual > expected) {\n      return (0, _validationError.default)('lessThanOrEqualTo', value, options);\n    } else if (type === 'gt' && actual <= expected) {\n      return (0, _validationError.default)('greaterThan', value, options);\n    } else if (type === 'gte' && actual < expected) {\n      return (0, _validationError.default)('greaterThanOrEqualTo', value, options);\n    } else if (type === 'positive' && actual < 0) {\n      return (0, _validationError.default)('positive', value, options);\n    } else if (type === 'odd' && (!isInteger(actual) || actual % 2 === 0)) {\n      return (0, _validationError.default)('odd', value, options);\n    } else if (type === 'even' && (!isInteger(actual) || actual % 2 !== 0)) {\n      return (0, _validationError.default)('even', value, options);\n    } else if (type === 'multipleOf' && !isInteger(actual / expected)) {\n      return (0, _validationError.default)('multipleOf', value, options);\n    }\n    return true;\n  }\n\n  /*\n    Use polyfills instead of Number.isNaN or Number.isInteger to support IE & Safari\n   */\n\n  function isNumber(value) {\n    return typeof value === 'number' && !isNaN(value);\n  }\n  function isInteger(value) {\n    return typeof value === 'number' && isFinite(value) && Math.floor(value) === value;\n  }\n});","define(\"ember-validators/presence\", [\"exports\", \"ember-validators/utils/validation-error\", \"ember-validators/utils/unwrap-proxy\"], function (_exports, _validationError, _unwrapProxy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validatePresence;\n  /**\n   *  @class Presence\n   *  @module Validators\n   */\n\n  /**\n   * @method validate\n   * @param {Any} value\n   * @param {Object} options\n   * @param {Boolean} options.presence If true validates that the given value is not empty,\n   *                                   if false, validates that the given value is empty.\n   * @param {Boolean} options.ignoreBlank If true, treats an empty or whitespace string as not present\n   * @param {Object} model\n   * @param {String} attribute\n   */\n  function validatePresence(value, options, model, attribute) {\n    let {\n      presence,\n      ignoreBlank\n    } = options;\n    let v = (0, _unwrapProxy.default)(value);\n    let _isPresent = ignoreBlank ? Ember.isPresent(v) : !Ember.isEmpty(v);\n    (true && !(Ember.isPresent(presence)) && Ember.assert(`[validator:presence] [${attribute}] option 'presence' is required`, Ember.isPresent(presence)));\n    if (presence === true && !_isPresent) {\n      return (0, _validationError.default)('blank', value, options);\n    }\n    if (presence === false && _isPresent) {\n      return (0, _validationError.default)('present', value, options);\n    }\n    return true;\n  }\n});","define(\"ember-validators/utils/is-promise\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isPromise;\n  const {\n    canInvoke\n  } = Ember;\n  function isPromise(p) {\n    return !!(p && canInvoke(p, 'then'));\n  }\n});","define(\"ember-validators/utils/unwrap-proxy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = unwrapProxy;\n  _exports.isProxy = isProxy;\n  function unwrapProxy(o) {\n    return isProxy(o) ? unwrapProxy(o.content) : o;\n  }\n  function isProxy(o) {\n    return !!(o && (o instanceof Ember.ObjectProxy || o instanceof Ember.ArrayProxy));\n  }\n});","define(\"ember-validators/utils/validation-error\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = validationError;\n  function validationError(type, value, context, message) {\n    return {\n      type,\n      value,\n      context,\n      message\n    };\n  }\n});","define(\"ember-websockets/helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cleanURL = cleanURL;\n  _exports.normalizeURL = normalizeURL;\n  /*\n  * The native websocket object will transform urls without a pathname to have just a /.\n  * As an example: ws://localhost:8080 would actually be ws://localhost:8080/ but ws://example.com/foo would not\n  * change. This function does this transformation to stay inline with the native websocket implementation.\n  */\n  function normalizeURL(url) {\n    return new URL(url).toString();\n  }\n\n  /*\n  * Since the url will be used as a key will need to make sure that it does not\n  * contain '.' as it will throw ember off\n  */\n  function cleanURL(url) {\n    return url.replace(/\\./g, '');\n  }\n});","define(\"ember-websockets/helpers/socketio-proxy\", [\"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.ObjectProxy.extend({\n    /*\n    * {\n    *    url: 'String'\n    *    type: 'String'\n    *    callback: The function to envoke\n    *    context: The context of the function\n    *    ref: The actual callback function with is given to socketio\n    * }\n    */\n    listeners: null,\n    init() {\n      this._super(...arguments);\n      this.listeners = [];\n    },\n    /*\n    * This method simply passes the arguments to the socketio on method except it binds the callback function to\n    * the run loop.\n    */\n    on(type, callback, context) {\n      (true && !(typeof callback === 'function') && Ember.assert('The second argument must be a function.', typeof callback === 'function'));\n      const bindedCallback = Ember.run.bind(context, callback);\n      this.listeners.push({\n        url: this.socket.io.uri,\n        type,\n        callback,\n        context,\n        ref: bindedCallback\n      });\n      this.socket.on(type, bindedCallback);\n    },\n    off(type, callback) {\n      (true && !(typeof callback === 'function') && Ember.assert('The second argument must be a function.', typeof callback === 'function'));\n      const listeners = this.listeners.filter(listener => listener.callback === callback && listener.url === this.socket.io.uri && listener.type === type);\n      if (listeners) {\n        listeners.forEach(item => this.socket.off(type, item.ref));\n      }\n      this.listeners = this.listeners.filter(l => listeners.indexOf(l) === -1);\n    },\n    /*\n    * This method passes the argument to the socketio emit method.\n    */\n    emit() {\n      this.socket.emit.apply(this.socket, arguments);\n    },\n    close() {\n      this.listeners = this.listeners.filter(listener => listener.url === this.socket.io.uri);\n      this.socket.close.apply(this.socket, arguments);\n    },\n    send() {\n      this.socket.send.apply(this.socket, arguments);\n    },\n    connect() {\n      this.socket.connect.apply(this.socket, arguments);\n    }\n  });\n});","define(\"ember-websockets/helpers/websocket-proxy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const events = ['close', 'error', 'message', 'open'];\n  const {\n    filter,\n    indexOf,\n    forEach\n  } = Array.prototype;\n  var _default = _exports.default = Ember.ObjectProxy.extend({\n    /*\n    * {\n    *    url: 'String'\n    *    type: 'String' (such as 'open', 'message', 'close', and 'error')\n    *    callback: The function to envoke\n    *    context: The context of the function\n    * }\n    */\n    listeners: null,\n    init() {\n      this._super(...arguments);\n      this.listeners = [];\n      this.setupInternalListeners();\n    },\n    /*\n    * Adds a callback function into the listeners array which will\n    * be invoked later whenever a given `type` event happens.\n    *\n    * type: must be either 'open', 'message', 'close', 'error'\n    */\n    on(type, callback, context) {\n      (true && !(indexOf.call(events, type) !== -1) && Ember.assert(`${type} is not a recognized event name. Please use on of the following: ${events.join(', ')}`, indexOf.call(events, type) !== -1));\n      (true && !(typeof callback === 'function') && Ember.assert('The second argument must be a function.', typeof callback === 'function'));\n      this.listeners.push({\n        url: this.socket.url,\n        type,\n        callback,\n        context\n      });\n    },\n    /*\n    * Removes a callback function from the listeners array. This callback\n    * will not longer be invoked when the given `type` event happens.\n    */\n    off(type, callback) {\n      this.listeners = filter.call(this.listeners, listeners => !(listeners.callback === callback && listeners.type === type));\n    },\n    /*\n    * Message is the message which will be passed into the native websockets send method\n    * and shouldStringify is a boolean which determines if we should call JSON.stringify on\n    * the message.\n    */\n    send(message, shouldStringify = false) {\n      if (shouldStringify && JSON && JSON.stringify) {\n        message = JSON.stringify(message);\n      }\n      (true && !(this.readyState() === WebSocket.OPEN) && Ember.assert('Cannot send message to the websocket while it is not open.', this.readyState() === WebSocket.OPEN));\n      this.socket.send(message);\n    },\n    close() {\n      this.socket.close();\n    },\n    reconnect() {\n      this.set('socket', new WebSocket(this.socket.url, this.protocols));\n      this.setupInternalListeners();\n    },\n    setupInternalListeners() {\n      forEach.call(events, eventName => {\n        this.socket[`on${eventName}`] = event => {\n          Ember.run(() => {\n            var activeListeners = filter.call(this.listeners, listener => {\n              return listener.url === event.currentTarget.url && listener.type === eventName;\n            });\n\n            // TODO: filter active listeners for contexts that are not destroyed\n            forEach.call(activeListeners, item => {\n              if (item.context) {\n                item.callback.call(item.context, event);\n              } else {\n                item.callback(event);\n              }\n            });\n          });\n        };\n      });\n    },\n    /*\n    * A helper method to get access to the readyState of the websocket.\n    */\n    readyState() {\n      return this.socket.readyState;\n    }\n  });\n});","define(\"ember-websockets/services/socket-io\", [\"exports\", \"ember-websockets/services/websockets\", \"ember-websockets/helpers/socketio-proxy\"], function (_exports, _websockets, _socketioProxy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class SocketIOService extends _websockets.default {\n    isWebSocketOpen(socket) {\n      return socket.io.readyState !== 'closed';\n    }\n    createSocket(url, options = {}) {\n      const newSocketIO = io(url, options);\n      newSocketIO.connect();\n      return newSocketIO;\n    }\n    createProxy(socket) {\n      return _socketioProxy.default.create({\n        content: this,\n        socket\n      });\n    }\n  }\n  _exports.default = SocketIOService;\n});","define(\"ember-websockets/services/websockets\", [\"exports\", \"ember-websockets/helpers/websocket-proxy\", \"ember-websockets/helpers\"], function (_exports, _websocketProxy, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _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  let WebSocketService = _exports.default = (_dec = Ember.computed(), _class = class WebSocketService extends Ember.Service {\n    /*\n      A hash of open websocket connections. This\n      allows multiple components to share the same connection.\n       {\n        'websocket-url': WebSocket Proxy object\n      }\n    */\n    get sockets() {\n      return {};\n    }\n\n    /*\n      socketFor returns a websocket proxy object. On this object there is a property `socket`\n      which contains the actual websocket object. This websocket object is cached based off of the url meaning\n      multiple requests for the same socket will return the same object.\n    */\n    socketFor(url, protocols = []) {\n      /*\n        Websockets allows either a string or array of strings to be passed as the second argument.\n        Normalize both cases into an array of strings so we can just deal with arrays.\n      */\n      if (typeof protocols === 'string') {\n        protocols = [protocols];\n      }\n\n      /*\n        Normalize the url as native websockets add a / to the end of the url:\n        http://example.com:8000 becomes: http://example.com:8000/\n         Since the url will be used as a key will need to make sure that it does not\n        contain '.' as it will throw ember off\n      */\n      const normalizedUrl = (0, _helpers.normalizeURL)(url);\n      const cleanedUrl = (0, _helpers.cleanURL)(normalizedUrl);\n\n      /*\n       */\n      const existingProxy = Ember.get(this, `sockets.${cleanedUrl}`);\n      if (existingProxy && this.isWebSocketOpen(existingProxy.socket)) {\n        return existingProxy;\n      }\n\n      /*\n        we can get to this place if the websocket has been closed and we are trying to reopen\n        or we are creating a proxy for the first time\n      */\n      const newWebSocket = this.createSocket(normalizedUrl, protocols);\n      if (existingProxy) {\n        /*\n          If there is an existing socket in place we simply update the websocket object and not\n          the whole proxy as we dont want to destroy the previous listeners.\n        */\n        Ember.set(existingProxy, 'socket', newWebSocket);\n        return existingProxy;\n      }\n      const newProxy = this.createProxy(newWebSocket, protocols);\n      Ember.set(this, `sockets.${cleanedUrl}`, newProxy);\n      return newProxy;\n    }\n    closeSocketFor(url) {\n      const cleanedUrl = (0, _helpers.cleanURL)((0, _helpers.normalizeURL)(url));\n      const existingSocket = Ember.get(this, `sockets.${cleanedUrl}`);\n      if (existingSocket) {\n        existingSocket.socket.close();\n      }\n      delete this.sockets[cleanedUrl];\n    }\n    isWebSocketOpen(websocket) {\n      return websocket.readyState !== WebSocket.CLOSED;\n    }\n    createSocket(url, options) {\n      return new WebSocket(url, options);\n    }\n    createProxy(socket, protocols) {\n      return _websocketProxy.default.create({\n        content: this,\n        protocols,\n        socket\n      });\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"sockets\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"sockets\"), _class.prototype), _class);\n});","define(\"ember-window-resize/initializers/window-resize\", [\"exports\", \"ember-window-resize/services/window-resize\"], function (_exports, _windowResize) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  function initialize(application) {\n    application.register('service:windowResize', _windowResize.default);\n    application.inject('route', 'windowResize', 'service:windowResize');\n    application.inject('controller', 'windowResize', 'service:windowResize');\n    application.inject('component', 'windowResize', 'service:windowResize');\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"ember-window-resize/services/window-resize\", [\"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.Service.extend(Ember.Evented, {\n    init() {\n      this._super(...arguments);\n      this._onResize = event => {\n        this._resizeHandler(event);\n      };\n      this._initialiseResizeListener();\n    },\n    destroy() {\n      this._super(...arguments);\n      this._destroyResizeListener();\n    },\n    _initialiseResizeListener() {\n      window.addEventListener('resize', this._onResize);\n    },\n    _destroyResizeListener() {\n      window.removeEventListener('resize', this._onResize);\n    },\n    _resizeHandler(event) {\n      this.trigger('didResize', event);\n    }\n  });\n});","define(\"ember-wormhole/components/ember-wormhole\", [\"exports\", \"ember-wormhole/templates/components/ember-wormhole\", \"ember-wormhole/utils/dom\"], function (_exports, _emberWormhole, _dom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    layout: _emberWormhole.default,\n    /*\n     * Attrs\n     */\n    to: Ember.computed.alias('destinationElementId'),\n    destinationElementId: null,\n    destinationElement: null,\n    _destination: Ember.computed('destinationElement', 'destinationElementId', 'renderInPlace', function () {\n      let renderInPlace = this.get('renderInPlace');\n      if (renderInPlace) {\n        return this._element;\n      }\n      let destinationElement = this.get('destinationElement');\n      if (destinationElement) {\n        return destinationElement;\n      }\n      let destinationElementId = this.get('destinationElementId');\n      if (destinationElementId) {\n        return (0, _dom.findElementById)(this._dom, destinationElementId);\n      }\n      // no element found\n      return null;\n    }),\n    renderInPlace: false,\n    /*\n     * Lifecycle\n     */\n    init() {\n      this._super(...arguments);\n      this._dom = (0, _dom.getDOM)(this);\n\n      // Create text nodes used for the head, tail\n      this._wormholeHeadNode = this._dom.createTextNode('');\n      this._wormholeTailNode = this._dom.createTextNode('');\n\n      /*\n       * didInsertElement does not fire in Fastboot, so we schedule this in\n       * init to be run after render. Importantly, we want to run\n       * appendToDestination after the child nodes have rendered.\n       */\n      Ember.run.schedule('afterRender', () => {\n        if (this.isDestroyed) {\n          return;\n        }\n        this._element = this._wormholeHeadNode.parentNode;\n        if (!this._element) {\n          throw new Error('The head node of a wormhole must be attached to the DOM');\n        }\n        this._appendToDestination();\n      });\n    },\n    willDestroyElement: function () {\n      // not called in fastboot\n      this._super(...arguments);\n      let {\n        _wormholeHeadNode,\n        _wormholeTailNode\n      } = this;\n      Ember.run.schedule('render', () => {\n        this._removeRange(_wormholeHeadNode, _wormholeTailNode);\n      });\n    },\n    _destinationDidChange: Ember.observer('_destination', function () {\n      var destinationElement = this.get('_destination');\n      if (destinationElement !== this._wormholeHeadNode.parentNode) {\n        Ember.run.schedule('render', this, '_appendToDestination');\n      }\n    }),\n    _appendToDestination() {\n      var destinationElement = this.get('_destination');\n      if (!destinationElement) {\n        var destinationElementId = this.get('destinationElementId');\n        if (destinationElementId) {\n          throw new Error(`ember-wormhole failed to render into '#${destinationElementId}' because the element is not in the DOM`);\n        }\n        throw new Error('ember-wormhole failed to render content because the destinationElementId was set to an undefined or falsy value.');\n      }\n      let startingActiveElement = (0, _dom.getActiveElement)();\n      this._appendRange(destinationElement, this._wormholeHeadNode, this._wormholeTailNode);\n      let resultingActiveElement = (0, _dom.getActiveElement)();\n      if (startingActiveElement && resultingActiveElement !== startingActiveElement) {\n        startingActiveElement.focus();\n      }\n    },\n    _appendRange(destinationElement, firstNode, lastNode) {\n      while (firstNode) {\n        destinationElement.insertBefore(firstNode, null);\n        firstNode = firstNode !== lastNode ? lastNode.parentNode.firstChild : null;\n      }\n    },\n    _removeRange(firstNode, lastNode) {\n      var node = lastNode;\n      do {\n        var next = node.previousSibling;\n        if (node.parentNode) {\n          node.parentNode.removeChild(node);\n          if (node === firstNode) {\n            break;\n          }\n        }\n        node = next;\n      } while (node);\n    }\n  });\n});","define(\"ember-wormhole/templates/components/ember-wormhole\", [\"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\": \"JY/UZphM\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[1,[30,[36,0],[[32,0,[\\\"_wormholeHeadNode\\\"]]],null]],[18,1,null],[1,[30,[36,0],[[32,0,[\\\"_wormholeTailNode\\\"]]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"unbound\\\"]}\",\n    \"moduleName\": \"ember-wormhole/templates/components/ember-wormhole.hbs\"\n  });\n});","define(\"ember-wormhole/utils/dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.findElementById = findElementById;\n  _exports.getActiveElement = getActiveElement;\n  _exports.getDOM = getDOM;\n  function getActiveElement() {\n    if (typeof document === 'undefined') {\n      return null;\n    } else {\n      return document.activeElement;\n    }\n  }\n  function childNodesOfElement(element) {\n    let children = [];\n    let child = element.firstChild;\n    while (child) {\n      children.push(child);\n      child = child.nextSibling;\n    }\n    return children;\n  }\n  function findElementById(doc, id) {\n    if (doc.getElementById) {\n      return doc.getElementById(id);\n    }\n    let nodes = childNodesOfElement(doc);\n    let node;\n    while (nodes.length) {\n      node = nodes.shift();\n      if (node.getAttribute && node.getAttribute('id') === id) {\n        return node;\n      }\n      nodes = childNodesOfElement(node).concat(nodes);\n    }\n  }\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._dom) {\n      // pre glimmer2\n      let container = Ember.getOwner ? Ember.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    } else {\n      throw new Error('ember-wormhole could not get DOM');\n    }\n  }\n});","define('ivy-codemirror/components/ivy-codemirror', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Component.extend({\n    tagName: 'textarea',\n\n    codeMirror: Ember.inject.service(),\n\n    didInsertElement() {\n      this._super(...arguments);\n\n      this._codeMirror = this.get('codeMirror').fromTextArea(this.get('elementId'), this.get('element'));\n\n      // Send a \"valueUpdated\" action when CodeMirror triggers a \"change\" event.\n      this.setupCodeMirrorEventHandler('change', this, this.scheduleValueUpdatedAction);\n    },\n\n    didRender() {\n      this._super(...arguments);\n\n      this.updateCodeMirrorOptions();\n      this.updateCodeMirrorValue();\n    },\n\n    isVisibleDidChange: Ember.observer('isVisible', function () {\n      if (this._wasVisible === this.get('isVisible')) {\n        return;\n      }\n\n      Ember.run.scheduleOnce('render', this, this.toggleVisibility);\n    }),\n\n    scheduleValueUpdatedAction(codeMirror, changeObj) {\n      Ember.run.once(this, this.sendValueUpdatedAction, codeMirror.getValue(), codeMirror, changeObj);\n    },\n\n    setupCodeMirrorEventHandler(event, target, method) {\n      const callback = Ember.run.bind(target, method);\n\n      this._codeMirror.on(event, callback);\n\n      this.one('willDestroyElement', this, function () {\n        this._codeMirror.off(event, callback);\n      });\n    },\n\n    sendValueUpdatedAction(...args) {\n      this.sendAction('valueUpdated', ...args);\n    },\n\n    toggleVisibility() {\n      const isVisible = this.get('isVisible');\n\n      if (this._wasVisible === isVisible) {\n        return;\n      }\n\n      this._wasVisible = isVisible;\n\n      if (isVisible) {\n        // Force a refresh when becoming visible, since CodeMirror won't render\n        // itself onto a hidden element.\n        this._codeMirror.refresh();\n      }\n    },\n\n    updateCodeMirrorOption(option, value) {\n      if (this._codeMirror.getOption(option) !== value) {\n        this._codeMirror.setOption(option, value);\n      }\n    },\n\n    updateCodeMirrorOptions() {\n      const options = this.get('options');\n\n      if (options) {\n        Object.keys(options).forEach(function (option) {\n          this.updateCodeMirrorOption(option, options[option]);\n        }, this);\n      }\n    },\n\n    updateCodeMirrorValue() {\n      const value = this.get('value');\n\n      if (value !== this._codeMirror.getValue()) {\n        this._codeMirror.setValue(value || '');\n      }\n    },\n\n    willDestroyElement() {\n      this._super(...arguments);\n\n      // Remove the editor and restore the original textarea.\n      this._codeMirror.toTextArea();\n\n      this.get('codeMirror').unregisterInstance(this.get('elementId'));\n\n      delete this._codeMirror;\n    }\n  });\n});","define('ivy-codemirror/services/code-mirror', ['exports', 'codemirror'], function (exports, _codemirror) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n      this._instances = Object.create(null);\n    },\n\n    fromTextArea(id, textarea) {\n      return this.registerInstance(id, _codemirror.default.fromTextArea(textarea));\n    },\n\n    instanceFor(id) {\n      return this._instances[id];\n    },\n\n    registerInstance(id, instance) {\n      this._instances[id] = instance;\n\n      return instance;\n    },\n\n    signal(emitter, type, ...values) {\n      _codemirror.default.signal(emitter, type, ...values);\n    },\n\n    unregisterInstance(id) {\n      delete this._instances[id];\n    }\n  });\n});","define(\"liquid-fire/action\", [\"exports\", \"liquid-fire/promise\"], function (_exports, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Action {\n    constructor(nameOrHandler, args = [], opts = {}) {\n      if (typeof nameOrHandler === 'function') {\n        this.handler = nameOrHandler;\n      } else {\n        this.name = nameOrHandler;\n      }\n      this.reversed = opts.reversed;\n      this.args = args;\n    }\n    validateHandler(transitionMap) {\n      if (!this.handler) {\n        this.handler = transitionMap.lookup(this.name);\n      }\n    }\n    run(context) {\n      return new _promise.default((resolve, reject) => {\n        _promise.default.resolve(this.handler.apply(context, this.args)).then(resolve, reject);\n      });\n    }\n  }\n  _exports.default = Action;\n});","define(\"liquid-fire/animate\", [\"exports\", \"liquid-fire/promise\", \"velocity\"], function (_exports, _promise, _velocity) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.animate = animate;\n  _exports.finish = finish;\n  _exports.isAnimating = isAnimating;\n  _exports.setDefaults = setDefaults;\n  _exports.stop = stop;\n  _exports.timeRemaining = timeRemaining;\n  _exports.timeSpent = timeSpent;\n  /* jshint newcap: false */\n\n  // Make sure Velocity always has promise support by injecting our own\n  // RSVP-based implementation if it doesn't already have one.\n  if (!_velocity.default.Promise) {\n    _velocity.default.Promise = _promise.default;\n  }\n\n  // Velocity's tick() defaults to RAF's high resolution timestamp. If the browser\n  // is under high stress the RAF timestamp may have a significant offset which\n  // can result in dropping a large chunk of frames. Because of this, the use of\n  // the RAF timestamp should be opt-in.\n  _velocity.default.timestamp = false;\n  function animate(elt, props, opts, label) {\n    // These numbers are just sane defaults in the probably-impossible\n    // case where somebody tries to read our state before the first\n    // 'progress' callback has fired.\n    let state = {\n      percentComplete: 0,\n      timeRemaining: 100,\n      timeSpent: 0\n    };\n    if (!elt || elt.length === 0) {\n      return _promise.default.resolve();\n    }\n    if (!opts) {\n      opts = {};\n    } else {\n      opts = {\n        ...opts\n      };\n    }\n\n    // By default, we ask velocity to clear the element's `display`\n    // and `visibility` properties at the start of animation. Our\n    // animated divs are all initially rendered with `display:none`\n    // and `visibility:hidden` to prevent a flash of before-animated\n    // content.\n    if (typeof opts.display === 'undefined') {\n      opts.display = '';\n    }\n    if (typeof opts.visibility === 'undefined') {\n      opts.visibility = '';\n    }\n    if (opts.progress) {\n      throw new Error(\"liquid-fire's 'animate' function reserves the use of Velocity's 'progress' option for its own nefarious purposes.\");\n    }\n    opts.progress = function () {\n      state.percentComplete = arguments[1];\n      state.timeRemaining = arguments[2];\n      state.timeSpent = state.timeRemaining / (1 / state.percentComplete - 1);\n    };\n    state.promise = _promise.default.resolve(_velocity.default.animate(elt[0], props, opts));\n    if (label) {\n      state.promise = state.promise.then(function () {\n        clearLabel(elt, label);\n      }, function (err) {\n        clearLabel(elt, label);\n        throw err;\n      });\n      applyLabel(elt, label, state);\n    }\n    return state.promise;\n  }\n  function stop(elt) {\n    if (elt) {\n      (0, _velocity.default)(elt[0], 'stop', true);\n    }\n  }\n  function setDefaults(props) {\n    for (let key in props) {\n      if (props.hasOwnProperty(key)) {\n        if (key === 'progress') {\n          throw new Error(\"liquid-fire's 'animate' function reserves the use of Velocity's '\" + key + \"' option for its own nefarious purposes.\");\n        }\n        _velocity.default.defaults[key] = props[key];\n      }\n    }\n  }\n  function isAnimating(elt, animationLabel) {\n    return elt && elt.data('lfTags_' + animationLabel);\n  }\n  function finish(elt, animationLabel) {\n    return stateForLabel(elt, animationLabel).promise;\n  }\n  function timeSpent(elt, animationLabel) {\n    return stateForLabel(elt, animationLabel).timeSpent;\n  }\n  function timeRemaining(elt, animationLabel) {\n    return stateForLabel(elt, animationLabel).timeRemaining;\n  }\n  function stateForLabel(elt, label) {\n    let state = isAnimating(elt, label);\n    if (!state) {\n      throw new Error('no animation labeled ' + label + ' is in progress');\n    }\n    return state;\n  }\n  function applyLabel(elt, label, state) {\n    if (elt) {\n      elt.data('lfTags_' + label, state);\n    }\n  }\n  function clearLabel(elt, label) {\n    if (elt) {\n      elt.data('lfTags_' + label, null);\n    }\n  }\n});","define(\"liquid-fire/components/illiquid-model\", [\"exports\", \"liquid-fire/templates/components/illiquid-model\"], function (_exports, _illiquidModel) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const IlliquidModel = Ember.Component.extend({\n    layout: _illiquidModel.default,\n    tagName: '',\n    didReceiveAttrs() {\n      this._super();\n      if (!this._fixedModel) {\n        this.set('_fixedModel', this.model);\n      }\n    }\n  });\n  IlliquidModel.reopenClass({\n    positionalParams: ['model']\n  });\n  var _default = _exports.default = IlliquidModel;\n});","define(\"liquid-fire/components/lf-get-outlet-state\", [\"exports\", \"liquid-fire/templates/components/get-outlet-state\"], function (_exports, _getOutletState) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    tagName: '',\n    layout: _getOutletState.default\n  });\n});","define(\"liquid-fire/components/liquid-bind\", [\"exports\", \"liquid-fire/templates/components/liquid-bind\"], function (_exports, _liquidBind) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let LiquidBind = Ember.Component.extend({\n    layout: _liquidBind.default,\n    tagName: '',\n    positionalParams: ['value'],\n    // needed for Ember 1.13.[0-5] and 2.0.0-beta.[1-3] support\n    forwardMatchContext: Ember.computed('matchContext', function () {\n      let m = this.matchContext;\n      if (!m) {\n        m = {};\n      }\n      if (!m.helperName) {\n        m.helperName = 'liquid-bind';\n      }\n      return m;\n    })\n  });\n  LiquidBind.reopenClass({\n    positionalParams: ['value']\n  });\n  var _default = _exports.default = LiquidBind;\n});","define(\"liquid-fire/components/liquid-child\", [\"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.Component.extend({\n    classNames: ['liquid-child'],\n    init() {\n      this._super(...arguments);\n      this._waitingFor = [];\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      if (this.element) {\n        this.element.style.visibility = 'hidden';\n      }\n      this._waitForAll().then(() => {\n        if (!this.isDestroying) {\n          this._waitingFor = null;\n          const didRenderAction = this.liquidChildDidRender;\n          if (typeof didRenderAction === 'function') {\n            didRenderAction(this);\n          }\n        }\n      });\n    },\n    _isLiquidChild: true,\n    _waitForMe(promise) {\n      if (!this._waitingFor) {\n        return;\n      }\n      this._waitingFor.push(promise);\n      let ancestor = this.nearestWithProperty('_isLiquidChild');\n      if (ancestor) {\n        ancestor._waitForMe(promise);\n      }\n    },\n    _waitForAll() {\n      const promises = this._waitingFor;\n      this._waitingFor = [];\n      return Ember.RSVP.Promise.all(promises).then(() => {\n        if (this._waitingFor.length > 0) {\n          return this._waitForAll();\n        }\n      });\n    }\n  });\n});","define(\"liquid-fire/components/liquid-container\", [\"exports\", \"liquid-fire/mixins/growable\", \"liquid-fire/components/liquid-measured\", \"liquid-fire/templates/components/liquid-container\", \"jquery\"], function (_exports, _growable, _liquidMeasured, _liquidContainer, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend(_growable.default, {\n    layout: _liquidContainer.default,\n    classNames: ['liquid-container'],\n    lockSize(elt, want) {\n      elt.outerWidth(want.width);\n      elt.outerHeight(want.height);\n    },\n    unlockSize() {\n      let doUnlock = () => {\n        this.updateAnimatingClass(false);\n        if (this.element) {\n          this.element.style.width = '';\n          this.element.style.height = '';\n        }\n      };\n      if (this._scaling) {\n        this._scaling.then(doUnlock);\n      } else {\n        doUnlock();\n      }\n    },\n    // We're doing this manually instead of via classNameBindings\n    // because it depends on upward-data-flow, which generates warnings\n    // under Glimmer.\n    updateAnimatingClass(on) {\n      if (this.isDestroyed) {\n        return;\n      }\n      if (on) {\n        this.element.classList.add('liquid-animating');\n      } else {\n        this.element.classList.remove('liquid-animating');\n      }\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      this._wasInserted = true;\n    },\n    actions: {\n      willTransition(versions) {\n        if (!this._wasInserted) {\n          return;\n        }\n\n        // Remember our own size before anything changes\n        let elt = (0, _jquery.default)(this.element);\n        this._cachedSize = (0, _liquidMeasured.measure)(elt);\n\n        // And make any children absolutely positioned with fixed sizes.\n        for (let i = 0; i < versions.length; i++) {\n          goAbsolute(versions[i]);\n        }\n      },\n      afterChildInsertion(versions) {\n        let elt = (0, _jquery.default)(this.element);\n        let enableGrowth = this.enableGrowth !== false;\n\n        // Measure children\n        let sizes = [];\n        for (let i = 0; i < versions.length; i++) {\n          if (versions[i].view) {\n            let childElt = (0, _jquery.default)(versions[i].view.element);\n            sizes[i] = (0, _liquidMeasured.measure)(childElt);\n          }\n        }\n\n        // Measure ourself again to see how big the new children make\n        // us.\n        let want = (0, _liquidMeasured.measure)(elt);\n        let have = this._cachedSize || want;\n\n        // Make ourself absolute\n        if (enableGrowth) {\n          this.lockSize(elt, have);\n        } else {\n          this.lockSize(elt, {\n            height: Math.max(want.height, have.height),\n            width: Math.max(want.width, have.width)\n          });\n        }\n\n        // Apply '.liquid-animating' to liquid-container allowing\n        // any customizable CSS control while an animating is occuring\n        this.updateAnimatingClass(true);\n\n        // Make the children absolute and fixed size.\n        for (let i = 0; i < versions.length; i++) {\n          goAbsolute(versions[i], sizes[i]);\n        }\n\n        // Kick off our growth animation\n        if (enableGrowth) {\n          this._scaling = this.animateGrowth(elt, have, want);\n        }\n      },\n      afterTransition(versions) {\n        for (let i = 0; i < versions.length; i++) {\n          goStatic(versions[i]);\n        }\n        this.unlockSize();\n      }\n    }\n  });\n  function goAbsolute(version, size) {\n    if (!version.view) {\n      return;\n    }\n    let elt = (0, _jquery.default)(version.view.element);\n    let pos = elt.position();\n    if (!size) {\n      size = (0, _liquidMeasured.measure)(elt);\n    }\n    elt.outerWidth(size.width);\n    elt.outerHeight(size.height);\n    elt.css({\n      position: 'absolute',\n      top: pos.top,\n      left: pos.left\n    });\n  }\n  function goStatic(version) {\n    if (version.view && !version.view.isDestroyed) {\n      let elt = (0, _jquery.default)(version.view.element);\n      elt.css({\n        width: '',\n        height: '',\n        position: ''\n      });\n    }\n  }\n});","define(\"liquid-fire/components/liquid-if\", [\"exports\", \"liquid-fire/templates/components/liquid-if\"], function (_exports, _liquidIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let LiquidIf = Ember.Component.extend({\n    positionalParams: ['predicate'],\n    // needed for Ember 1.13.[0-5] and 2.0.0-beta.[1-3] support\n    layout: _liquidIf.default,\n    tagName: '',\n    helperName: 'liquid-if'\n  });\n  LiquidIf.reopenClass({\n    positionalParams: ['predicate']\n  });\n  var _default = _exports.default = LiquidIf;\n});","define(\"liquid-fire/components/liquid-measured\", [\"exports\", \"liquid-fire/mutation-observer\", \"liquid-fire/templates/components/liquid-measured\", \"jquery\"], function (_exports, _mutationObserver, _liquidMeasured, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.measure = measure;\n  const WINDOW_RESIZE_THROTTLE_DURATION = 100;\n  var _default = _exports.default = Ember.Component.extend({\n    layout: _liquidMeasured.default,\n    init() {\n      this._super(...arguments);\n      this._destroyOnUnload = this._destroyOnUnload.bind(this);\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      let self = this;\n\n      // This prevents margin collapse\n      this.element.style.overflow = 'auto';\n      this.didMutate();\n      this.observer = new _mutationObserver.default(function (mutations) {\n        self.didMutate(mutations);\n      });\n      this.observer.observe(this.element, {\n        attributes: true,\n        subtree: true,\n        childList: true,\n        characterData: true\n      });\n      this.windowResizeHandler = this.windowDidResize.bind(this);\n      window.addEventListener('resize', this.windowResizeHandler);\n      let elt = (0, _jquery.default)(this.element);\n      elt.bind('webkitTransitionEnd', function () {\n        self.didMutate();\n      });\n      // Chrome Memory Leak: https://bugs.webkit.org/show_bug.cgi?id=93661\n      window.addEventListener('unload', this._destroyOnUnload);\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      if (this.observer) {\n        this.observer.disconnect();\n      }\n      window.removeEventListener('resize', this.windowResizeHandler);\n      window.removeEventListener('unload', this._destroyOnUnload);\n    },\n    transitionMap: Ember.inject.service('liquid-fire-transitions'),\n    didMutate() {\n      // by incrementing the running transitions counter here we prevent\n      // tests from falling through the gap between the time they\n      // triggered mutation the time we may actually animate in\n      // response.\n      let tmap = this.transitionMap;\n      tmap.incrementRunningTransitions();\n      Ember.run.next(this, function () {\n        this._didMutate();\n        tmap.decrementRunningTransitions();\n      });\n    },\n    windowDidResize() {\n      Ember.run.throttle(this, this.didMutate, WINDOW_RESIZE_THROTTLE_DURATION);\n    },\n    _didMutate() {\n      if (!this.element) {\n        return;\n      }\n      let elt = (0, _jquery.default)(this.element);\n      this.didMeasure(measure(elt));\n    },\n    _destroyOnUnload() {\n      this.willDestroyElement();\n    }\n  });\n  function measure($elt) {\n    let boundingRect = $elt[0].getBoundingClientRect();\n\n    // Calculate the scaling.\n    // NOTE: We only handle the simple zoom case.\n    let claimedWidth = $elt[0].offsetWidth;\n\n    // Round the width because offsetWidth is rounded\n    let actualWidth = Math.round(boundingRect.width);\n    let scale = actualWidth > 0 ? claimedWidth / actualWidth : 0;\n    return {\n      width: boundingRect.width * scale,\n      height: boundingRect.height * scale\n    };\n  }\n});","define(\"liquid-fire/components/liquid-outlet\", [\"exports\", \"liquid-fire/templates/components/liquid-outlet\", \"liquid-fire/ember-internals\"], function (_exports, _liquidOutlet, _emberInternals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let LiquidOutlet = Ember.Component.extend({\n    layout: _liquidOutlet.default,\n    positionalParams: ['inputOutletName'],\n    // needed for Ember 1.13.[0-5] and 2.0.0-beta.[1-3] support\n    tagName: '',\n    versionEquality: Ember.computed('outletName', 'watchModels', function () {\n      let outletName = this.outletName;\n      let watchModels = this.watchModels;\n      return function (oldValue, newValue) {\n        let oldChild = (0, _emberInternals.childRoute)(oldValue, outletName);\n        let newChild = (0, _emberInternals.childRoute)(newValue, outletName);\n        return (0, _emberInternals.routeIsStable)(oldChild, newChild) && (!watchModels || (0, _emberInternals.modelIsStable)(oldChild, newChild));\n      };\n    }),\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this.set('outletName', this.inputOutletName || 'main');\n    }\n  });\n  LiquidOutlet.reopenClass({\n    positionalParams: ['inputOutletName']\n  });\n  var _default = _exports.default = LiquidOutlet;\n});","define(\"liquid-fire/components/liquid-spacer\", [\"exports\", \"liquid-fire/components/liquid-measured\", \"liquid-fire/mixins/growable\", \"liquid-fire/templates/components/liquid-spacer\", \"jquery\"], function (_exports, _liquidMeasured, _growable, _liquidSpacer, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend(_growable.default, {\n    layout: _liquidSpacer.default,\n    enabled: true,\n    didInsertElement() {\n      this._super(...arguments);\n      let elt = (0, _jquery.default)(this.element);\n      let child = elt.find('> div');\n      let measurements = this.myMeasurements((0, _liquidMeasured.measure)(child));\n      this.element.style.overflow = 'hidden';\n      if (this.growWidth) {\n        elt.outerWidth(measurements.width);\n      }\n      if (this.growHeight) {\n        elt.outerHeight(measurements.height);\n      }\n    },\n    sizeChanged(measurements) {\n      if (!this.enabled) {\n        return;\n      }\n      if (!this.element) {\n        return;\n      }\n      let want = this.myMeasurements(measurements);\n      let elt = (0, _jquery.default)(this.element);\n      let have = (0, _liquidMeasured.measure)(elt);\n      this.animateGrowth(elt, have, want);\n    },\n    // given our child's outerWidth & outerHeight, figure out what our\n    // outerWidth & outerHeight should be.\n    myMeasurements(childMeasurements) {\n      let elt = (0, _jquery.default)(this.element);\n      return {\n        width: childMeasurements.width + sumCSS(elt, padding('width')) + sumCSS(elt, border('width')),\n        height: childMeasurements.height + sumCSS(elt, padding('height')) + sumCSS(elt, border('height'))\n      };\n    }\n  });\n  function sides(dimension) {\n    return dimension === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n  }\n  function padding(dimension) {\n    let s = sides(dimension);\n    return ['padding' + s[0], 'padding' + s[1]];\n  }\n  function border(dimension) {\n    let s = sides(dimension);\n    return ['border' + s[0] + 'Width', 'border' + s[1] + 'Width'];\n  }\n  function sumCSS(elt, fields) {\n    let accum = 0;\n    for (let i = 0; i < fields.length; i++) {\n      let num = parseFloat(elt.css(fields[i]), 10);\n      if (!isNaN(num)) {\n        accum += num;\n      }\n    }\n    return accum;\n  }\n});","define(\"liquid-fire/components/liquid-sync\", [\"exports\", \"liquid-fire/templates/components/liquid-sync\", \"liquid-fire/mixins/pausable\"], function (_exports, _liquidSync, _pausable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend(_pausable.default, {\n    tagName: '',\n    layout: _liquidSync.default,\n    didInsertElement() {\n      this._super(...arguments);\n      this.pauseLiquidFire();\n    },\n    actions: {\n      ready() {\n        this.resumeLiquidFire();\n      }\n    }\n  });\n});","define(\"liquid-fire/components/liquid-unless\", [\"exports\", \"liquid-fire/components/liquid-if\"], function (_exports, _liquidIf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _liquidIf.default.extend({\n    helperName: 'liquid-unless',\n    inverted: true\n  });\n});","define(\"liquid-fire/components/liquid-versions\", [\"exports\", \"jquery\", \"liquid-fire/ember-internals\", \"liquid-fire/templates/components/liquid-versions\"], function (_exports, _jquery, _emberInternals, _liquidVersions) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Component.extend({\n    layout: _liquidVersions.default,\n    tagName: '',\n    transitionMap: Ember.inject.service('liquid-fire-transitions'),\n    didReceiveAttrs() {\n      this._super(...arguments);\n      this.appendVersion();\n    },\n    appendVersion() {\n      let versions = this.versions;\n      let firstTime = false;\n      let newValue = this.getAttr('value');\n      let oldValue;\n      let versionEquality = this.versionEquality || defaultEqualityCheck;\n      if (!versions) {\n        firstTime = true;\n        versions = Ember.A();\n      } else {\n        if (versions[0]) {\n          oldValue = versions[0].value;\n        }\n      }\n      if (!firstTime && versionEquality(oldValue, newValue)) {\n        if (versions[0] && versionEquality !== defaultEqualityCheck) {\n          // When using custom equality checkers, we may consider values\n          // equal for our purposes that are not `===`. In that case, we\n          // still need to thread updated values through to our children\n          // so they have their own opportunity to react.\n          Ember.set(versions[0], 'value', newValue);\n        }\n        return;\n      }\n      this.notifyContainer('willTransition', versions);\n      let newVersion = {\n        value: newValue\n      };\n      versions.unshiftObject(newVersion);\n      this.firstTime = firstTime;\n      if (firstTime) {\n        Ember.set(this, 'versions', versions);\n      }\n      if (!(newValue || this.renderWhenFalse || firstTime)) {\n        this._transition();\n      }\n    },\n    _transition() {\n      let versions = this.versions;\n      let transition;\n      let firstTime = this.firstTime;\n      this.firstTime = false;\n      this.notifyContainer('afterChildInsertion', versions);\n      transition = this.transitionMap.transitionFor({\n        versions: versions,\n        parentElement: (0, _jquery.default)((0, _emberInternals.containingElement)(this)),\n        use: this.use,\n        rules: this.rules,\n        matchContext: this.matchContext || {},\n        // Using strings instead of booleans here is an\n        // optimization. The constraint system can match them more\n        // efficiently, since it treats boolean constraints as generic\n        // \"match anything truthy/falsy\" predicates, whereas string\n        // checks are a direct object property lookup.\n        firstTime: firstTime ? 'yes' : 'no'\n      });\n      if (this._runningTransition) {\n        this._runningTransition.interrupt();\n      }\n      this._runningTransition = transition;\n      transition.run().then(wasInterrupted => {\n        // if we were interrupted, we don't handle the cleanup because\n        // another transition has already taken over.\n        if (!wasInterrupted) {\n          this.finalizeVersions(versions);\n          this.notifyContainer('afterTransition', versions);\n        }\n      }, err => {\n        this.finalizeVersions(versions);\n        this.notifyContainer('afterTransition', versions);\n        throw err;\n      });\n    },\n    finalizeVersions(versions) {\n      versions.replace(1, versions.length - 1);\n    },\n    notifyContainer(method, versions) {\n      let target = this.notify;\n      if (target && !target.get('isDestroying')) {\n        target.send(method, versions);\n      }\n    },\n    actions: {\n      childDidRender(child) {\n        let version = child.version;\n        Ember.set(version, 'view', child);\n        this._transition();\n      }\n    }\n  }); // All falsey values are considered equal, everything else gets strict\n  // equality.\n  function defaultEqualityCheck(a, b) {\n    return !a && !b || a === b;\n  }\n});","define(\"liquid-fire/constrainables\", [\"exports\", \"liquid-fire/ember-internals\"], function (_exports, _emberInternals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    oldValue: {\n      reversesTo: 'newValue',\n      accessor: function (conditions) {\n        return [versionValue(conditions, 1)];\n      }\n    },\n    newValue: {\n      reversesTo: 'oldValue',\n      accessor: function (conditions) {\n        return [versionValue(conditions, 0)];\n      }\n    },\n    oldRoute: {\n      reversesTo: 'newRoute',\n      accessor: function (conditions) {\n        return (0, _emberInternals.routeName)((0, _emberInternals.childRoute)(versionValue(conditions, 1), conditions.matchContext.outletName));\n      }\n    },\n    newRoute: {\n      reversesTo: 'oldRoute',\n      accessor: function (conditions) {\n        return (0, _emberInternals.routeName)((0, _emberInternals.childRoute)(versionValue(conditions, 0), conditions.matchContext.outletName));\n      }\n    },\n    oldModel: {\n      reversesTo: 'newModel',\n      accessor: function (conditions) {\n        return (0, _emberInternals.routeModel)((0, _emberInternals.childRoute)(versionValue(conditions, 1), conditions.matchContext.outletName));\n      }\n    },\n    newModel: {\n      reversesTo: 'oldModel',\n      accessor: function (conditions) {\n        return (0, _emberInternals.routeModel)((0, _emberInternals.childRoute)(versionValue(conditions, 0), conditions.matchContext.outletName));\n      }\n    },\n    helperName: {\n      accessor(conditions) {\n        return conditions.matchContext.helperName;\n      }\n    },\n    outletName: {\n      accessor(conditions) {\n        return conditions.matchContext.outletName;\n      }\n    },\n    parentElementClass: {\n      accessor: function (conditions) {\n        let cls = conditions.parentElement.attr('class');\n        if (cls) {\n          return cls.split(/\\s+/);\n        }\n      }\n    },\n    parentElement: {},\n    firstTime: {},\n    media: {}\n  };\n  function versionValue(conditions, index) {\n    let versions = conditions.versions;\n    return versions[index] ? versions[index].value : null;\n  }\n});","define(\"liquid-fire/constraint\", [\"exports\", \"liquid-fire/constrainables\"], function (_exports, _constrainables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.EMPTY = _exports.ANY = void 0;\n  _exports.constraintKeys = constraintKeys;\n  _exports.default = void 0;\n  // Every rule constraint has a target and either `keys` or\n  // `predicate`. key-based constraints are cheaper because we can check\n  // them with O(1) lookups, whereas predicates must be searched O(n).\n  class Constraint {\n    constructor(target, matcher) {\n      // targets are the properties of a transition that we can\n      // constrain\n      this.target = target;\n      if (arguments.length === 1) {\n        return;\n      }\n      if (matcher instanceof RegExp) {\n        this.predicate = function (value) {\n          return matcher.test(value);\n        };\n      } else if (typeof matcher === 'function') {\n        this.predicate = matcher;\n      } else if (typeof matcher === 'boolean') {\n        this.predicate = function (value) {\n          return matcher ? value : !value;\n        };\n      } else {\n        this.keys = constraintKeys(matcher);\n      }\n    }\n    invert() {\n      if (!_constrainables.default[this.target].reversesTo) {\n        return this;\n      }\n      let inverse = new this.constructor(_constrainables.default[this.target].reversesTo);\n      inverse.predicate = this.predicate;\n      inverse.keys = this.keys;\n      return inverse;\n    }\n  }\n  _exports.default = Constraint;\n  const EMPTY = _exports.EMPTY = '__liquid_fire_EMPTY__';\n  const ANY = _exports.ANY = '__liquid_fire_ANY__';\n  function constraintKeys(matcher) {\n    if (typeof matcher === 'undefined' || matcher === null) {\n      matcher = [EMPTY];\n    } else if (!Ember.isArray(matcher)) {\n      matcher = [matcher];\n    }\n    return Ember.A(matcher).map(elt => {\n      if (typeof elt === 'string') {\n        return elt;\n      } else {\n        return Ember.guidFor(elt);\n      }\n    });\n  }\n});","define(\"liquid-fire/constraints\", [\"exports\", \"liquid-fire/constraint\", \"liquid-fire/constrainables\"], function (_exports, _constraint, _constrainables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Constraints {\n    constructor() {\n      this.targets = {};\n      this.ruleCounter = 0;\n      for (let i = 0; i < constrainableKeys.length; i++) {\n        this.targets[constrainableKeys[i]] = {};\n      }\n    }\n    addRule(rule) {\n      rule.id = this.ruleCounter++;\n      if (rule.debug) {\n        this.debug = true;\n      }\n      this.addHalfRule(rule);\n      if (rule.reverse) {\n        let inverted = rule.invert();\n        inverted.id = rule.id + ' reverse';\n        this.addHalfRule(inverted);\n      }\n    }\n    addHalfRule(rule) {\n      let seen = {};\n      rule.constraints.forEach(constraint => {\n        seen[constraint.target] = true;\n        this.addConstraint(rule, constraint);\n      });\n      constrainableKeys.forEach(key => {\n        if (!seen[key]) {\n          this.addConstraint(rule, {\n            target: key\n          });\n        }\n      });\n    }\n    addConstraint(rule, constraint) {\n      let context = this.targets[constraint.target];\n      if (!context) {\n        throw new Error(`Unknown constraint target ${constraint.target}`);\n      }\n      if (constraint.keys) {\n        constraint.keys.forEach(key => {\n          this.addKey(context, key, rule);\n        });\n      } else {\n        this.addKey(context, _constraint.ANY, rule);\n      }\n    }\n    addKey(context, key, rule) {\n      if (!context[key]) {\n        context[key] = {};\n      }\n      context[key][Ember.guidFor(rule)] = rule;\n    }\n    bestMatch(conditions) {\n      if (this.debug) {\n        console.log('[liquid-fire] Checking transition rules for', conditions.parentElement[0]);\n      }\n      let rules = this.match(conditions);\n      let best = highestPriority(rules);\n      if (rules.length > 1 && this.debug) {\n        rules.forEach(rule => {\n          if (rule !== best && rule.debug) {\n            console.log(`${describeRule(rule)} matched, but it was superceded by another rule`);\n          }\n        });\n      }\n      if (best && best.debug) {\n        console.log(`${describeRule(best)} matched`);\n      }\n      return best;\n    }\n    match(conditions) {\n      let rules = this.matchByKeys(conditions);\n      rules = this.matchPredicates(conditions, rules);\n      return rules;\n    }\n    matchByKeys(conditions) {\n      let matchSets = [];\n      for (let i = 0; i < constrainableKeys.length; i++) {\n        let key = constrainableKeys[i];\n        let value = conditionAccessor(conditions, key);\n        matchSets.push(this.matchingSet(key, value));\n      }\n      return intersection(matchSets);\n    }\n    matchingSet(prop, value) {\n      let keys = (0, _constraint.constraintKeys)(value);\n      let context = this.targets[prop];\n      let matched = Ember.A();\n      for (let i = 0; i < keys.length; i++) {\n        if (context[keys[i]]) {\n          matched.push(context[keys[i]]);\n        }\n      }\n      if (keys.length === 0 && context[_constraint.EMPTY]) {\n        matched.push(context[_constraint.EMPTY]);\n      }\n      if (context[_constraint.ANY]) {\n        matched.push(context[_constraint.ANY]);\n      }\n      matched = union(matched);\n      if (this.debug) {\n        this.logDebugRules(matched, context, prop, value);\n      }\n      return matched;\n    }\n    logDebugRules(matched, context, target, value) {\n      Ember.A(Object.keys(context)).forEach(setKey => {\n        let set = context[setKey];\n        Ember.A(Object.keys(set)).forEach(ruleKey => {\n          let rule = set[ruleKey];\n          if (rule.debug && !matched[Ember.guidFor(rule)]) {\n            console.log(`${describeRule(rule)} rejected because ${target} was`, ...value);\n          }\n        });\n      });\n    }\n    matchPredicates(conditions, rules) {\n      let output = [];\n      for (let i = 0; i < rules.length; i++) {\n        let rule = rules[i];\n        let matched = true;\n        for (let j = 0; j < rule.constraints.length; j++) {\n          let constraint = rule.constraints[j];\n          if (constraint.predicate && !this.matchConstraintPredicate(conditions, rule, constraint)) {\n            matched = false;\n            break;\n          }\n        }\n        if (matched) {\n          output.push(rule);\n        }\n      }\n      return output;\n    }\n    matchConstraintPredicate(conditions, rule, constraint) {\n      let values = conditionAccessor(conditions, constraint.target);\n      let reverse = _constrainables.default[constraint.target].reversesTo;\n      let inverseValues;\n      if (reverse) {\n        inverseValues = conditionAccessor(conditions, reverse);\n      }\n      for (let i = 0; i < values.length; i++) {\n        if (constraint.predicate(values[i], inverseValues ? inverseValues[i] : null)) {\n          return true;\n        }\n      }\n      if (rule.debug) {\n        if (constraint.target === 'parentElement') {\n          values = values.map(v => v[0]);\n        }\n        console.log(`${describeRule(rule)} rejected because of a constraint on ${constraint.target}. ${constraint.target} was`, ...values);\n      }\n    }\n  }\n  _exports.default = Constraints;\n  function conditionAccessor(conditions, key) {\n    let constrainable = _constrainables.default[key];\n    if (constrainable.accessor) {\n      return constrainable.accessor(conditions) || [];\n    } else {\n      return [conditions[key]];\n    }\n  }\n\n  // Returns a list of property values from source whose keys also\n  // appear in all of the rest objects.\n  function intersection(sets) {\n    let source = sets[0];\n    let rest = sets.slice(1);\n    let keys = Object.keys(source);\n    let keysLength = keys.length;\n    let restLength = rest.length;\n    let result = [];\n    for (let keyIndex = 0; keyIndex < keysLength; keyIndex++) {\n      let key = keys[keyIndex];\n      let matched = true;\n      for (let restIndex = 0; restIndex < restLength; restIndex++) {\n        if (!rest[restIndex].hasOwnProperty(key)) {\n          matched = false;\n          break;\n        }\n      }\n      if (matched) {\n        result.push(source[key]);\n      }\n    }\n    return result;\n  }\n  function union(sets) {\n    let setsLength = sets.length;\n    let output = {};\n    for (let i = 0; i < setsLength; i++) {\n      let set = sets[i];\n      let keys = Object.keys(set);\n      for (let j = 0; j < keys.length; j++) {\n        let key = keys[j];\n        output[key] = set[key];\n      }\n    }\n    return output;\n  }\n  function describeRule(rule) {\n    return `[liquid-fire rule ${rule.id}]`;\n  }\n  function highestPriority(rules) {\n    let best;\n    let bestScore = 0;\n    for (let i = 0; i < rules.length; i++) {\n      let rule = rules[i];\n      let score = rules[i].constraints.length;\n      if (!best || score > bestScore || score === bestScore && rule.id > best.id) {\n        best = rule;\n        bestScore = score;\n      }\n    }\n    return best;\n  }\n  const constrainableKeys = Ember.A(Object.keys(_constrainables.default));\n});","define(\"liquid-fire/dsl\", [\"exports\", \"liquid-fire/animate\", \"liquid-fire/rule\", \"liquid-fire/constraint\", \"liquid-fire/action\"], function (_exports, _animate, _rule, _constraint, _action) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class DSL {\n    constructor(map, constraints) {\n      this.map = map;\n      this.constraints = constraints;\n    }\n    setDefault(props) {\n      (0, _animate.setDefaults)(props);\n    }\n    transition() {\n      let rule = new _rule.default();\n      let parts = Array.prototype.slice.apply(arguments).reduce(function (a, b) {\n        return a.concat(b);\n      }, []);\n      for (let i = 0; i < parts.length; i++) {\n        rule.add(parts[i]);\n      }\n      rule.validate(this.map);\n      this.constraints.addRule(rule);\n    }\n    fromRoute(routeName) {\n      return [new _constraint.default('oldRoute', routeName)];\n    }\n    toRoute(routeName) {\n      return [new _constraint.default('newRoute', routeName)];\n    }\n    withinRoute(routeName) {\n      return this.fromRoute(routeName).concat(this.toRoute(routeName));\n    }\n    fromValue(matcher) {\n      return [new _constraint.default('oldValue', matcher)];\n    }\n    toValue(matcher) {\n      return [new _constraint.default('newValue', matcher)];\n    }\n    betweenValues(matcher) {\n      return this.fromValue(matcher).concat(this.toValue(matcher));\n    }\n    fromModel(matcher) {\n      return [new _constraint.default('oldModel', matcher)];\n    }\n    toModel(matcher) {\n      return [new _constraint.default('newModel', matcher)];\n    }\n    betweenModels(matcher) {\n      return this.fromModel(matcher).concat(this.toModel(matcher));\n    }\n    hasClass(name) {\n      return new _constraint.default('parentElementClass', name);\n    }\n    matchSelector(selector) {\n      return new _constraint.default('parentElement', function (elt) {\n        return elt.is(selector);\n      });\n    }\n    childOf(selector) {\n      return this.matchSelector(selector + ' > *');\n    }\n    use(nameOrHandler, ...args) {\n      return new _action.default(nameOrHandler, args);\n    }\n    reverse(nameOrHandler, ...args) {\n      return new _action.default(nameOrHandler, args, {\n        reversed: true\n      });\n    }\n    useAndReverse(nameOrHandler, ...args) {\n      return [this.use(nameOrHandler, ...args), this.reverse(nameOrHandler, ...args)];\n    }\n    onInitialRender() {\n      return new _constraint.default('firstTime', 'yes');\n    }\n    includingInitialRender() {\n      return new _constraint.default('firstTime', ['yes', 'no']);\n    }\n    inHelper(...names) {\n      return new _constraint.default('helperName', names);\n    }\n    outletName(...names) {\n      return new _constraint.default('outletName', names);\n    }\n    media(query) {\n      return new _constraint.default('media', function () {\n        return window.matchMedia(query).matches;\n      });\n    }\n    debug() {\n      return 'debug';\n    }\n  }\n  _exports.default = DSL;\n});","define(\"liquid-fire/ember-internals\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.childRoute = childRoute;\n  _exports.containingElement = containingElement;\n  _exports.modelIsStable = modelIsStable;\n  _exports.routeIsStable = routeIsStable;\n  _exports.routeModel = routeModel;\n  _exports.routeName = routeName;\n  let getViewBounds;\n  {\n    ({\n      getViewBounds\n    } = window.Ember.ViewUtils);\n  }\n\n  // Traverses down to the child routeInfo with the given name.\n  function childRoute(routeInfo, outletName) {\n    let outlets;\n    // TODO: the second condition is only necessary because every\n    // constrainable accessor runs against every value all the time. It\n    // would be better to add a precondition on helperName that would\n    // short-circuit this elsewhere.\n    if (routeInfo && (outlets = routeInfo.outlets)) {\n      return outlets[outletName];\n    }\n  }\n\n  // Finds the route name from a route state so we can apply our\n  // matching rules to it.\n  function routeName(routeInfo) {\n    if (routeInfo) {\n      return [routeInfo.render.name];\n    }\n  }\n\n  // Finds the route's model from a route state so we can apply our\n  // matching rules to it. On first access, will lock down the value of\n  // the model so that future changes don't change the answer. This lets\n  // us avoid the problem of singleton controllers changing underneath\n  // us.\n  function routeModel(routeInfo) {\n    if (routeInfo && !routeInfo.hasOwnProperty('_lf_model')) {\n      let r, c;\n      if ((r = routeInfo.render) && (c = r.controller)) {\n        routeInfo._lf_model = c.model;\n      } else {\n        routeInfo._lf_model = null;\n      }\n    }\n    if (routeInfo) {\n      return [routeInfo._lf_model];\n    } else {\n      return [];\n    }\n  }\n  function routeIsStable(oldRouteInfo, newRouteInfo) {\n    if (!oldRouteInfo && !newRouteInfo) {\n      return true;\n    }\n    if (!oldRouteInfo || !newRouteInfo) {\n      return false;\n    }\n    return oldRouteInfo.render.template === newRouteInfo.render.template && oldRouteInfo.render.controller === newRouteInfo.render.controller;\n  }\n\n  // Only valid for states that already satisfy routeIsStable\n  function modelIsStable(oldRouteInfo, newRouteInfo) {\n    let oldModel = routeModel(oldRouteInfo) || [];\n    let newModel = routeModel(newRouteInfo) || [];\n    return oldModel[0] === newModel[0];\n  }\n  function containingElement(view) {\n    return getViewBounds(view).parentElement;\n  }\n});","define(\"liquid-fire/ember-internals/get-outlet-state\", [\"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  /*\n    {{yield (-get-dynamic-var \"outletState\")}}\n  */\n  {\n    \"id\": \"2o97UXEr\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[30,[36,0],[\\\"outletState\\\"],null]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-get-dynamic-var\\\"]}\",\n    \"moduleName\": \"liquid-fire/ember-internals/get-outlet-state.hbs\"\n  });\n});","define(\"liquid-fire/helpers/lf-lock-model\", [\"exports\", \"liquid-fire/ember-internals\"], function (_exports, _emberInternals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.lfLockModel = lfLockModel;\n  function lfLockModel([routeInfo, outletName]) {\n    // ensures that the name is locked, see implementation of `routeModel`\n    (0, _emberInternals.routeModel)((0, _emberInternals.childRoute)(routeInfo, outletName));\n    return routeInfo;\n  }\n  var _default = _exports.default = Ember.Helper.helper(lfLockModel);\n});","define(\"liquid-fire/helpers/lf-or\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.lfOr = lfOr;\n  function lfOr(params /*, hash*/) {\n    return params.reduce((a, b) => a || b, false);\n  }\n  var _default = _exports.default = Ember.Helper.helper(lfOr);\n});","define(\"liquid-fire/index\", [\"exports\", \"liquid-fire/transition-map\", \"liquid-fire/animate\", \"liquid-fire/promise\", \"liquid-fire/mutation-observer\", \"liquid-fire/mixins/pausable\"], function (_exports, _transitionMap, _animate, _promise, _mutationObserver, _pausable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"MutationObserver\", {\n    enumerable: true,\n    get: function () {\n      return _mutationObserver.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Pausable\", {\n    enumerable: true,\n    get: function () {\n      return _pausable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Promise\", {\n    enumerable: true,\n    get: function () {\n      return _promise.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TransitionMap\", {\n    enumerable: true,\n    get: function () {\n      return _transitionMap.default;\n    }\n  });\n  Object.defineProperty(_exports, \"animate\", {\n    enumerable: true,\n    get: function () {\n      return _animate.animate;\n    }\n  });\n  Object.defineProperty(_exports, \"finish\", {\n    enumerable: true,\n    get: function () {\n      return _animate.finish;\n    }\n  });\n  Object.defineProperty(_exports, \"isAnimating\", {\n    enumerable: true,\n    get: function () {\n      return _animate.isAnimating;\n    }\n  });\n  Object.defineProperty(_exports, \"stop\", {\n    enumerable: true,\n    get: function () {\n      return _animate.stop;\n    }\n  });\n  Object.defineProperty(_exports, \"timeRemaining\", {\n    enumerable: true,\n    get: function () {\n      return _animate.timeRemaining;\n    }\n  });\n  Object.defineProperty(_exports, \"timeSpent\", {\n    enumerable: true,\n    get: function () {\n      return _animate.timeSpent;\n    }\n  });\n});","define(\"liquid-fire/is-browser\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isBrowser;\n  function isBrowser() {\n    return typeof window !== 'undefined' && window && typeof document !== 'undefined' && document;\n  }\n});","define(\"liquid-fire/mixins/growable\", [\"exports\", \"liquid-fire/promise\", \"velocity\"], function (_exports, _promise, _velocity) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.Mixin.create({\n    growDuration: 250,\n    growPixelsPerSecond: 200,\n    growEasing: 'slide',\n    shrinkDelay: 0,\n    growDelay: 0,\n    growWidth: true,\n    growHeight: true,\n    transitionMap: Ember.inject.service('liquid-fire-transitions'),\n    animateGrowth(elt, have, want) {\n      this.transitionMap.incrementRunningTransitions();\n      let adaptations = [];\n      if (this.growWidth) {\n        adaptations.push(this._adaptDimension(elt, 'width', have, want));\n      }\n      if (this.growHeight) {\n        adaptations.push(this._adaptDimension(elt, 'height', have, want));\n      }\n      return _promise.default.all(adaptations).then(() => {\n        this.transitionMap.decrementRunningTransitions();\n      });\n    },\n    _adaptDimension(elt, dimension, have, want) {\n      if (have[dimension] === want[dimension]) {\n        return _promise.default.resolve();\n      }\n      let target = {};\n      target['outer' + Ember.String.capitalize(dimension)] = [want[dimension], have[dimension]];\n      return (0, _velocity.default)(elt[0], target, {\n        delay: this._delayFor(have[dimension], want[dimension]),\n        duration: this._durationFor(have[dimension], want[dimension]),\n        queue: false,\n        easing: this.growEasing || this.constructor.prototype.growEasing\n      });\n    },\n    _delayFor(before, after) {\n      if (before > after) {\n        return this.shrinkDelay || this.constructor.prototype.shrinkDelay;\n      }\n      return this.growDelay || this.constructor.prototype.growDelay;\n    },\n    _durationFor(before, after) {\n      return Math.min(this.growDuration || this.constructor.prototype.growDuration, 1000 * Math.abs(before - after) / (this.growPixelsPerSecond || this.constructor.prototype.growPixelsPerSecond));\n    }\n  });\n});","define(\"liquid-fire/mixins/pausable\", [\"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.Mixin.create({\n    _transitionMap: Ember.inject.service('liquid-fire-transitions'),\n    _initializeLiquidFirePauseable: Ember.on('init', function () {\n      this._lfDefer = [];\n    }),\n    pauseLiquidFire() {\n      const context = this.nearestWithProperty('_isLiquidChild');\n      if (context) {\n        let def = new Ember.RSVP.defer();\n        let tmap = this._transitionMap;\n        tmap.incrementRunningTransitions();\n        def.promise.finally(() => tmap.decrementRunningTransitions());\n        this._lfDefer.push(def);\n        context._waitForMe(def.promise);\n      }\n    },\n    resumeLiquidFire: Ember.on('willDestroyElement', function () {\n      let def = this._lfDefer.pop();\n      if (def) {\n        def.resolve();\n      }\n    })\n  });\n});","define(\"liquid-fire/mutation-observer\", [\"exports\", \"liquid-fire/is-browser\"], function (_exports, _isBrowser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.testingKick = testingKick;\n  let activePollers = [];\n  function MutationPoller(callback) {\n    this.callback = callback;\n  }\n  MutationPoller.prototype = {\n    observe: function () {\n      this.interval = setInterval(this.callback, 100);\n      activePollers.push(this);\n    },\n    disconnect: function () {\n      clearInterval(this.interval);\n      activePollers.splice(activePollers.indexOf(this), 1);\n    }\n  };\n  let M;\n  if ((0, _isBrowser.default)()) {\n    M = window.MutationObserver || window.WebkitMutationObserver || MutationPoller;\n  } else {\n    M = MutationPoller;\n  }\n  var _default = _exports.default = M; // PhantomJS does not have real mutation observers, so to get\n  // reasonable test timing we have to manually kick it.\n  function testingKick() {\n    for (let i = 0; i < activePollers.length; i++) {\n      activePollers[i].callback();\n    }\n  }\n});","define(\"liquid-fire/promise\", [\"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.RSVP.Promise;\n});","define(\"liquid-fire/rule\", [\"exports\", \"liquid-fire/action\", \"liquid-fire/constraint\"], function (_exports, _action, _constraint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Rule {\n    constructor() {\n      this.constraints = Ember.A();\n      this.use = null;\n      this.reverse = null;\n    }\n    add(thing) {\n      if (thing instanceof _action.default) {\n        let prop = 'use';\n        if (thing.reversed) {\n          prop = 'reverse';\n        }\n        if (this[prop]) {\n          throw new Error(`More than one \"${prop}\" statement in the same transition rule is not allowed`);\n        }\n        this[prop] = thing;\n      } else if (thing === 'debug') {\n        this.debug = true;\n      } else {\n        this.constraints.push(thing);\n      }\n    }\n    validate(transitionMap) {\n      if (!this.use) {\n        throw new Error(`Every transition rule must include a \"use\" statement`);\n      }\n      this.use.validateHandler(transitionMap);\n      if (this.reverse) {\n        this.reverse.validateHandler(transitionMap);\n      }\n      if (!this.constraints.find(c => c.target === 'firstTime')) {\n        this.constraints.push(new _constraint.default('firstTime', 'no'));\n      }\n    }\n    invert() {\n      let rule = new this.constructor();\n      rule.use = this.reverse;\n      rule.reverse = this.use;\n      rule.constraints = this.constraints.map(c => c.invert());\n      rule.debug = this.debug;\n      return rule;\n    }\n  }\n  _exports.default = Rule;\n});","define(\"liquid-fire/running-transition\", [\"exports\", \"jquery\"], function (_exports, _jquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RunningTransition {\n    constructor(transitionMap, versions, animation) {\n      this.transitionMap = transitionMap;\n      this.animation = animation || transitionMap.lookup('default');\n      this.animationContext = publicAnimationContext(this, versions);\n    }\n    run() {\n      if (this._ran) {\n        return this._ran;\n      }\n      this.transitionMap.incrementRunningTransitions();\n      return this._ran = this._invokeAnimation().catch(err => {\n        // If the animation blew up, try to leave the DOM in a\n        // non-broken state as best we can before rethrowing.\n        return this.transitionMap.lookup('default').apply(this.animationContext).then(function () {\n          throw err;\n        });\n      }).finally(() => {\n        this.transitionMap.decrementRunningTransitions();\n      });\n    }\n    interrupt() {\n      this.interrupted = true;\n      this.animationContext.oldElement = null;\n      this.animationContext.newElement = null;\n      this.animationContext.older.forEach(entry => {\n        entry.element = null;\n      });\n    }\n    _invokeAnimation() {\n      return this.animation.run(this.animationContext).then(() => {\n        return this.interrupted;\n      });\n    }\n  }\n\n  // This defines the public set of things that user's transition\n  // implementations can access as `this`.\n  _exports.default = RunningTransition;\n  function publicAnimationContext(rt, versions) {\n    let c = {};\n    addPublicVersion(c, 'new', versions[0]);\n    if (versions[1]) {\n      addPublicVersion(c, 'old', versions[1]);\n    }\n    c.older = versions.slice(2).map(v => {\n      let context = {};\n      addPublicVersion(context, null, v);\n      return context;\n    });\n\n    // Animations are allowed to look each other up.\n    c.lookup = function (name) {\n      return rt.transitionMap.lookup(name);\n    };\n    return c;\n  }\n  function addPublicVersion(context, prefix, version) {\n    let elt = null;\n    if (version.view) {\n      elt = (0, _jquery.default)(version.view.element);\n    }\n    let props = {\n      view: version.view,\n      element: elt,\n      value: version.value\n    };\n    for (let key in props) {\n      let outputKey = key;\n      if (props.hasOwnProperty(key)) {\n        if (prefix) {\n          outputKey = prefix + Ember.String.capitalize(key);\n        }\n        context[outputKey] = props[key];\n      }\n    }\n  }\n});","define(\"liquid-fire/tabbable\", [\"jquery\"], function (_jquery) {\n  \"use strict\";\n\n  /*!\n   * Adapted from jQuery UI core\n   *\n   * http://jqueryui.com\n   *\n   * Copyright 2014 jQuery Foundation and other contributors\n   * Released under the MIT license.\n   * http://jquery.org/license\n   *\n   * http://api.jqueryui.com/category/ui-core/\n   */\n\n  function focusable(element, isTabIndexNotNaN) {\n    let nodeName = element.nodeName.toLowerCase();\n    return (/input|select|textarea|button|object/.test(nodeName) ? !element.disabled : 'a' === nodeName ? element.href || isTabIndexNotNaN : isTabIndexNotNaN) && visible(element);\n  }\n  function visible(element) {\n    let $el = (0, _jquery.default)(element);\n    return _jquery.default.expr.filters.visible(element) && !(0, _jquery.default)($el, $el.parents()).filter(function () {\n      return _jquery.default.css(this, 'visibility') === 'hidden';\n    }).length;\n  }\n  if (!_jquery.default.expr[':'].tabbable) {\n    _jquery.default.expr[':'].tabbable = function (element) {\n      let tabIndex = _jquery.default.attr(element, 'tabindex'),\n        isTabIndexNaN = isNaN(tabIndex);\n      return (isTabIndexNaN || tabIndex >= 0) && focusable(element, !isTabIndexNaN);\n    };\n  }\n});","define(\"liquid-fire/templates/components/get-outlet-state\", [\"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  /*\n    {{yield (-get-dynamic-var \"outletState\")}}\n  */\n  {\n    \"id\": \"5PUr2TMd\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[30,[36,0],[\\\"outletState\\\"],null]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-get-dynamic-var\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/get-outlet-state.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/illiquid-model\", [\"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  /*\n    {{yield this._fixedModel}}\n  */\n  {\n    \"id\": \"1SjLDrzQ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[32,0,[\\\"_fixedModel\\\"]]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"liquid-fire/templates/components/illiquid-model.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-bind\", [\"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  /*\n    {{#if this.containerless}}\n    {{~#liquid-versions\n      value=this.value\n      use=this.use\n      rules=this.rules\n      matchContext=this.forwardMatchContext\n      versionEquality=this.versionEquality\n      renderWhenFalse=true\n      class=this.class as |version|\n    ~}}\n      {{~#if (has-block)}}\n        {{~yield version~}}\n      {{else}}\n        {{~version~}}\n      {{/if~}}\n    {{/liquid-versions~}}\n  {{else}}\n    {{~#liquid-container\n      id=this.containerId\n      class=this.class\n      growDuration=this.growDuration\n      growPixelsPerSecond=this.growPixelsPerSecond\n      growEasing=this.growEasing\n      shrinkDelay=this.shrinkDelay\n      growDelay=this.growDelay\n      enableGrowth=this.enableGrowth as |container|\n    ~}}\n      {{~#liquid-versions\n        value=this.value\n        notify=container\n        use=this.use\n        rules=this.rules\n        matchContext=this.forwardMatchContext\n        versionEquality=this.versionEquality\n        renderWhenFalse=true as |version| \n      ~}}\n        {{~#if (has-block)}}\n          {{~yield version~}}\n        {{else}}\n          {{~version~}}\n        {{/if~}}\n      {{/liquid-versions~}}\n    {{/liquid-container~}}\n  {{/if}}\n  */\n  {\n    \"id\": \"dS0w+JQh\",\n    \"block\": \"{\\\"symbols\\\":[\\\"container\\\",\\\"version\\\",\\\"version\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"containerless\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[6,[37,1],null,[[\\\"value\\\",\\\"use\\\",\\\"rules\\\",\\\"matchContext\\\",\\\"versionEquality\\\",\\\"renderWhenFalse\\\",\\\"class\\\"],[[32,0,[\\\"value\\\"]],[32,0,[\\\"use\\\"]],[32,0,[\\\"rules\\\"]],[32,0,[\\\"forwardMatchContext\\\"]],[32,0,[\\\"versionEquality\\\"]],true,[32,0,[\\\"class\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,4]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[18,4,[[32,3]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[32,3]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[3]}]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,2],null,[[\\\"id\\\",\\\"class\\\",\\\"growDuration\\\",\\\"growPixelsPerSecond\\\",\\\"growEasing\\\",\\\"shrinkDelay\\\",\\\"growDelay\\\",\\\"enableGrowth\\\"],[[32,0,[\\\"containerId\\\"]],[32,0,[\\\"class\\\"]],[32,0,[\\\"growDuration\\\"]],[32,0,[\\\"growPixelsPerSecond\\\"]],[32,0,[\\\"growEasing\\\"]],[32,0,[\\\"shrinkDelay\\\"]],[32,0,[\\\"growDelay\\\"]],[32,0,[\\\"enableGrowth\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],null,[[\\\"value\\\",\\\"notify\\\",\\\"use\\\",\\\"rules\\\",\\\"matchContext\\\",\\\"versionEquality\\\",\\\"renderWhenFalse\\\"],[[32,0,[\\\"value\\\"]],[32,1],[32,0,[\\\"use\\\"]],[32,0,[\\\"rules\\\"]],[32,0,[\\\"forwardMatchContext\\\"]],[32,0,[\\\"versionEquality\\\"]],true]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[27,[32,4]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[18,4,[[32,2]]]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[32,2]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[1]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"liquid-versions\\\",\\\"liquid-container\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-bind.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-container\", [\"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  /*\n    {{yield this}}\n  */\n  {\n    \"id\": \"CXFd+X02\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[32,0]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-container.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-if\", [\"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  /*\n    {{#if this.containerless}}\n    {{! Why are we using inline-ifs here? Because we want to force\n      conversion to a boolean while respecting Ember's built in `if`\n      semantics.\n  \n      Why not just defer the conversion until the real block `if` below?\n      Because we don't want liquid-versions to treat distinct values of\n      the same truthiness as distinct.\n    }}\n  \n    <LiquidVersions\n      @value={{if this.inverted (if this.predicate false true) (if this.predicate true false)}}\n      @matchContext={{hash helperName=this.helperName}}\n      @use={{this.use}}\n      @rules={{this.rules}}\n      @renderWhenFalse={{has-block \"inverse\"}}\n      @class={{this.class}} as |valueVersion|\n    >\n      {{#if valueVersion}}\n        {{yield}}\n      {{else}}\n        {{yield to=\"inverse\"}}\n      {{/if}}\n    </LiquidVersions>\n  {{else}}\n    <LiquidContainer\n      @id={{this.containerId}}\n      @class={{this.class}}\n      @growDuration={{this.growDuration}}\n      @growPixelsPerSecond={{this.growPixelsPerSecond}}\n      @growEasing={{this.growEasing}}\n      @shrinkDelay={{this.shrinkDelay}}\n      @growDelay={{this.growDelay}}\n      @enableGrowth={{this.enableGrowth}} as |container|\n    >\n      <LiquidVersions\n        @value={{if this.inverted (if this.predicate false true) (if this.predicate true false)}}\n        @notify={{container}}\n        @matchContext={{hash helperName=this.helperName}}\n        @use={{this.use}}\n        @rules={{this.rules}}\n        @renderWhenFalse={{has-block \"inverse\"}} as |valueVersion|\n      >\n        {{#if valueVersion}}\n          {{yield}}\n        {{else}}\n          {{yield to=\"inverse\"}}\n        {{/if}}\n      </LiquidVersions>\n    </LiquidContainer>\n  {{/if}}\n  */\n  {\n    \"id\": \"HOnDajqQ\",\n    \"block\": \"{\\\"symbols\\\":[\\\"container\\\",\\\"valueVersion\\\",\\\"valueVersion\\\",\\\"&else\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"containerless\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[8,\\\"liquid-versions\\\",[],[[\\\"@value\\\",\\\"@matchContext\\\",\\\"@use\\\",\\\"@rules\\\",\\\"@renderWhenFalse\\\",\\\"@class\\\"],[[30,[36,0],[[32,0,[\\\"inverted\\\"]],[30,[36,0],[[32,0,[\\\"predicate\\\"]],false,true],null],[30,[36,0],[[32,0,[\\\"predicate\\\"]],true,false],null]],null],[30,[36,1],null,[[\\\"helperName\\\"],[[32,0,[\\\"helperName\\\"]]]]],[32,0,[\\\"use\\\"]],[32,0,[\\\"rules\\\"]],[27,[32,4]],[32,0,[\\\"class\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"      \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"      \\\"],[18,4,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"  \\\"]],\\\"parameters\\\":[3]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"liquid-container\\\",[],[[\\\"@id\\\",\\\"@class\\\",\\\"@growDuration\\\",\\\"@growPixelsPerSecond\\\",\\\"@growEasing\\\",\\\"@shrinkDelay\\\",\\\"@growDelay\\\",\\\"@enableGrowth\\\"],[[32,0,[\\\"containerId\\\"]],[32,0,[\\\"class\\\"]],[32,0,[\\\"growDuration\\\"]],[32,0,[\\\"growPixelsPerSecond\\\"]],[32,0,[\\\"growEasing\\\"]],[32,0,[\\\"shrinkDelay\\\"]],[32,0,[\\\"growDelay\\\"]],[32,0,[\\\"enableGrowth\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[8,\\\"liquid-versions\\\",[],[[\\\"@value\\\",\\\"@notify\\\",\\\"@matchContext\\\",\\\"@use\\\",\\\"@rules\\\",\\\"@renderWhenFalse\\\"],[[30,[36,0],[[32,0,[\\\"inverted\\\"]],[30,[36,0],[[32,0,[\\\"predicate\\\"]],false,true],null],[30,[36,0],[[32,0,[\\\"predicate\\\"]],true,false],null]],null],[32,1],[30,[36,1],null,[[\\\"helperName\\\"],[[32,0,[\\\"helperName\\\"]]]]],[32,0,[\\\"use\\\"]],[32,0,[\\\"rules\\\"]],[27,[32,4]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n\\\"],[6,[37,0],[[32,2]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"        \\\"],[18,5,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"        \\\"],[18,4,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"    \\\"]],\\\"parameters\\\":[2]}]]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[1]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"hash\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-if.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-measured\", [\"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  /*\n    {{yield}}\n  \n  */\n  {\n    \"id\": \"ZXmeP7J9\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-measured.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-outlet\", [\"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  /*\n    <LfGetOutletState as |outletState|>\n    {{~#liquid-bind\n      (lf-lock-model outletState this.outletName)\n      containerId=this.containerId\n      versionEquality=this.versionEquality\n      matchContext=(hash outletName=this.outletName helperName=\"liquid-outlet\")\n      class=this.class\n      use=this.use\n      rules=this.rules\n      containerless=this.containerless\n      growDuration=this.growDuration\n      growPixelsPerSecond=this.growPixelsPerSecond\n      growEasing=this.growEasing\n      shrinkDelay=this.shrinkDelay\n      growDelay=this.growDelay\n      enableGrowth=this.enableGrowth as |version|\n    ~}}\n      {{#-with-dynamic-vars outletState=version~}}\n        {{outlet this.outletName}}\n      {{~/-with-dynamic-vars}}\n    {{~/liquid-bind~}}\n  </LfGetOutletState>\n  */\n  {\n    \"id\": \"GqUo9ITF\",\n    \"block\": \"{\\\"symbols\\\":[\\\"outletState\\\",\\\"version\\\"],\\\"statements\\\":[[8,\\\"lf-get-outlet-state\\\",[],[[],[]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[32,1],[32,0,[\\\"outletName\\\"]]],null]],[[\\\"containerId\\\",\\\"versionEquality\\\",\\\"matchContext\\\",\\\"class\\\",\\\"use\\\",\\\"rules\\\",\\\"containerless\\\",\\\"growDuration\\\",\\\"growPixelsPerSecond\\\",\\\"growEasing\\\",\\\"shrinkDelay\\\",\\\"growDelay\\\",\\\"enableGrowth\\\"],[[32,0,[\\\"containerId\\\"]],[32,0,[\\\"versionEquality\\\"]],[30,[36,3],null,[[\\\"outletName\\\",\\\"helperName\\\"],[[32,0,[\\\"outletName\\\"]],\\\"liquid-outlet\\\"]]],[32,0,[\\\"class\\\"]],[32,0,[\\\"use\\\"]],[32,0,[\\\"rules\\\"]],[32,0,[\\\"containerless\\\"]],[32,0,[\\\"growDuration\\\"]],[32,0,[\\\"growPixelsPerSecond\\\"]],[32,0,[\\\"growEasing\\\"]],[32,0,[\\\"shrinkDelay\\\"]],[32,0,[\\\"growDelay\\\"]],[32,0,[\\\"enableGrowth\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,2],null,[[\\\"outletState\\\"],[[32,2]]],[[\\\"default\\\"],[{\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],[[32,0,[\\\"outletName\\\"]]],null]],null]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[2]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\",\\\"-with-dynamic-vars\\\",\\\"hash\\\",\\\"lf-lock-model\\\",\\\"liquid-bind\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-outlet.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-spacer\", [\"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  /*\n    <LiquidMeasured @didMeasure={{action this.sizeChanged}}>\n    {{yield}}\n  </LiquidMeasured>\n  */\n  {\n    \"id\": \"4r1Z9TMa\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[8,\\\"liquid-measured\\\",[],[[\\\"@didMeasure\\\"],[[30,[36,0],[[32,0],[32,0,[\\\"sizeChanged\\\"]]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n  \\\"],[18,1,null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-spacer.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-sync\", [\"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  /*\n    {{yield (action \"ready\")}}\n  \n  */\n  {\n    \"id\": \"vCTBflDV\",\n    \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,[[30,[36,0],[[32,0],\\\"ready\\\"],null]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-sync.hbs\"\n  });\n});","define(\"liquid-fire/templates/components/liquid-versions\", [\"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  /*\n    {{#each this.versions as |version|~}}\n    {{#if (lf-or this.renderWhenFalse version.value)~}}\n      {{#liquid-child\n        version=version\n        liquidChildDidRender=(action \"childDidRender\")\n        class=this.class\n      ~}}\n        {{yield version.value~}}\n      {{/liquid-child}}\n    {{/if}}\n  {{/each}}\n  */\n  {\n    \"id\": \"E8+Ydico\",\n    \"block\": \"{\\\"symbols\\\":[\\\"version\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,5],[[30,[36,4],[[30,[36,4],[[32,0,[\\\"versions\\\"]]],null]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,3],[[30,[36,2],[[32,0,[\\\"renderWhenFalse\\\"]],[32,1,[\\\"value\\\"]]],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],null,[[\\\"version\\\",\\\"liquidChildDidRender\\\",\\\"class\\\"],[[32,1],[30,[36,0],[[32,0],\\\"childDidRender\\\"],null],[32,0,[\\\"class\\\"]]]],[[\\\"default\\\"],[{\\\"statements\\\":[[18,2,[[32,1,[\\\"value\\\"]]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"action\\\",\\\"liquid-child\\\",\\\"lf-or\\\",\\\"if\\\",\\\"-track-array\\\",\\\"each\\\"]}\",\n    \"moduleName\": \"liquid-fire/templates/components/liquid-versions.hbs\"\n  });\n});","define(\"liquid-fire/transition-map\", [\"exports\", \"liquid-fire/running-transition\", \"liquid-fire/dsl\", \"liquid-fire/action\", \"liquid-fire/constraints\"], function (_exports, _runningTransition, _dsl, _action, _constraints) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let TransitionMap = Ember.Service.extend({\n    init() {\n      this._super(...arguments);\n      this.activeCount = 0;\n      this.constraints = new _constraints.default();\n      let owner = Ember.getOwner(this);\n      this.isTest = owner.resolveRegistration('config:environment').environment === 'test';\n      let config;\n      if (owner.factoryFor) {\n        let maybeConfig = owner.factoryFor('transitions:main');\n        config = maybeConfig && maybeConfig.class;\n      } else {\n        config = owner._lookupFactory('transitions:main');\n      }\n      if (config) {\n        this.map(config);\n      }\n    },\n    runningTransitions() {\n      return this.activeCount;\n    },\n    incrementRunningTransitions() {\n      this.activeCount++;\n    },\n    decrementRunningTransitions() {\n      this.activeCount--;\n      Ember.run.next(() => {\n        this._maybeResolveIdle();\n      });\n    },\n    waitUntilIdle() {\n      if (this._waitingPromise) {\n        return this._waitingPromise;\n      }\n      return this._waitingPromise = new Ember.RSVP.Promise(resolve => {\n        this._resolveWaiting = resolve;\n        Ember.run.next(() => {\n          this._maybeResolveIdle();\n        });\n      });\n    },\n    _maybeResolveIdle() {\n      if (this.activeCount === 0 && this._resolveWaiting) {\n        let resolveWaiting = this._resolveWaiting;\n        this._resolveWaiting = null;\n        this._waitingPromise = null;\n        resolveWaiting();\n      }\n    },\n    lookup(transitionName) {\n      let owner = Ember.getOwner(this);\n      let handler;\n      if (owner.factoryFor) {\n        let maybeHandler = owner.factoryFor('transition:' + transitionName);\n        handler = maybeHandler && maybeHandler.class;\n      } else {\n        handler = owner._lookupFactory('transition:' + transitionName);\n      }\n      if (!handler) {\n        throw new Error('unknown transition name: ' + transitionName);\n      }\n      return handler;\n    },\n    defaultAction() {\n      if (!this._defaultAction) {\n        this._defaultAction = new _action.default(this.lookup('default'));\n      }\n      return this._defaultAction;\n    },\n    constraintsFor(conditions) {\n      if (conditions.rules) {\n        let constraints = new _constraints.default();\n        this.map(conditions.rules, constraints);\n        return constraints;\n      } else {\n        return this.constraints;\n      }\n    },\n    transitionFor(conditions) {\n      let action;\n      if (conditions.use && conditions.firstTime !== 'yes') {\n        action = new _action.default(conditions.use);\n        action.validateHandler(this);\n      } else {\n        let rule = this.constraintsFor(conditions).bestMatch(conditions);\n        if (rule) {\n          action = rule.use;\n        } else {\n          action = this.defaultAction();\n        }\n      }\n      return new _runningTransition.default(this, conditions.versions, action);\n    },\n    map(handler, constraints) {\n      if (handler) {\n        handler.apply(new _dsl.default(this, constraints || this.constraints));\n      }\n      return this;\n    }\n  });\n  if (true /* DEBUG */) {\n    TransitionMap.reopen({\n      init() {\n        this._super(...arguments);\n        if (this.isTest) {\n          this._waiter = () => {\n            return this.runningTransitions() === 0;\n          };\n          Ember.Test.registerWaiter(this._waiter);\n        }\n      },\n      willDestroy() {\n        if (this._waiter) {\n          Ember.Test.unregisterWaiter(this._waiter);\n          this._waiter = null;\n        }\n        this._super(...arguments);\n      }\n    });\n  }\n  TransitionMap.reopenClass({\n    map(handler) {\n      let t = TransitionMap.create();\n      t.map(handler);\n      return t;\n    }\n  });\n  var _default = _exports.default = TransitionMap;\n});","define(\"liquid-fire/transitions/cross-fade\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = crossFade;\n  // BEGIN-SNIPPET cross-fade-definition\n\n  function crossFade(opts = {}) {\n    (0, _liquidFire.stop)(this.oldElement);\n    return _liquidFire.Promise.all([(0, _liquidFire.animate)(this.oldElement, {\n      opacity: 0\n    }, opts), (0, _liquidFire.animate)(this.newElement, {\n      opacity: [opts.maxOpacity || 1, 0]\n    }, opts)]);\n  }\n  // END-SNIPPET\n});","define(\"liquid-fire/transitions/default\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = defaultTransition;\n  // This is what we run when no animation is asked for. It just sets\n  // the newly-added element to visible (because we always start them\n  // out invisible so that transitions can control their initial\n  // appearance).\n  function defaultTransition() {\n    if (this.newElement) {\n      this.newElement.css({\n        visibility: ''\n      });\n    }\n    return _liquidFire.Promise.resolve();\n  }\n});","define(\"liquid-fire/transitions/explode\", [\"exports\", \"jquery\", \"liquid-fire\"], function (_exports, _jquery, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = explode;\n  // Explode is not, by itself, an animation. It exists to pull apart\n  // other elements so that each of the pieces can be targeted by\n  // animations.\n\n  let deduplicateChildElementIds = parentElem => {\n    if (!parentElem) {\n      return;\n    }\n    let parentEl = parentElem[0];\n    if (parentEl.id) {\n      parentEl.setAttribute('id', `${Ember.guidFor(parentEl)}-${parentEl.id}`);\n    }\n    let childrenWithUniqueIds = parentEl.querySelectorAll('[id]');\n    if (childrenWithUniqueIds.length) {\n      for (let el of childrenWithUniqueIds) {\n        el.setAttribute('id', `${Ember.guidFor(el)}-${el.id}`);\n      }\n    }\n  };\n  function explode(...pieces) {\n    let seenElements = {};\n    let sawBackgroundPiece = false;\n    let promises = pieces.map(piece => {\n      if (piece.matchBy) {\n        return matchAndExplode(this, piece, seenElements);\n      } else if (piece.pick || piece.pickOld || piece.pickNew) {\n        return explodePiece(this, piece, seenElements);\n      } else {\n        sawBackgroundPiece = true;\n        return runAnimation(this, piece);\n      }\n    });\n    if (!sawBackgroundPiece) {\n      if (this.newElement) {\n        this.newElement.css({\n          visibility: ''\n        });\n      }\n      if (this.oldElement) {\n        this.oldElement.css({\n          visibility: 'hidden'\n        });\n      }\n    }\n    return _liquidFire.Promise.all(promises);\n  }\n  function explodePiece(context, piece, seen) {\n    let childContext = {\n      ...context\n    };\n    let selectors = [piece.pickOld || piece.pick, piece.pickNew || piece.pick];\n    let cleanupOld, cleanupNew;\n    if (selectors[0] || selectors[1]) {\n      cleanupOld = _explodePart(context, 'oldElement', childContext, selectors[0], seen);\n      cleanupNew = _explodePart(context, 'newElement', childContext, selectors[1], seen);\n      if (!cleanupOld && !cleanupNew) {\n        return _liquidFire.Promise.resolve();\n      }\n    }\n    return runAnimation(childContext, piece).finally(() => {\n      if (cleanupOld) {\n        cleanupOld();\n      }\n      if (cleanupNew) {\n        cleanupNew();\n      }\n    });\n  }\n  function _explodePart(context, field, childContext, selector, seen) {\n    let child, childOffset, width, height, newChild;\n    let elt = context[field];\n    childContext[field] = null;\n    if (elt && selector) {\n      child = elt.find(selector).filter(function () {\n        let guid = Ember.guidFor(this);\n        if (!seen[guid]) {\n          seen[guid] = true;\n          return true;\n        }\n      });\n      if (child.length > 0) {\n        childOffset = child.offset();\n        width = child.outerWidth();\n        height = child.outerHeight();\n        newChild = child.clone();\n        deduplicateChildElementIds(newChild);\n\n        // Hide the original element\n        child.css({\n          visibility: 'hidden'\n        });\n\n        // If the original element's parent was hidden, hide our clone\n        // too.\n        if (elt.css('visibility') === 'hidden') {\n          newChild.css({\n            visibility: 'hidden'\n          });\n        }\n        newChild.appendTo(elt.parent());\n        newChild.outerWidth(width);\n        newChild.outerHeight(height);\n        let newParentOffset = newChild.offsetParent().offset();\n        newChild.css({\n          position: 'absolute',\n          top: childOffset.top - newParentOffset.top,\n          left: childOffset.left - newParentOffset.left,\n          margin: 0\n        });\n\n        // Pass the clone to the next animation\n        childContext[field] = newChild;\n        return function cleanup() {\n          newChild.remove();\n          child.css({\n            visibility: ''\n          });\n        };\n      }\n    }\n  }\n  function animationFor(context, piece) {\n    let name, args, func;\n    if (!piece.use) {\n      throw new Error(\"every argument to the 'explode' animation must include a followup animation to 'use'\");\n    }\n    if (Ember.isArray(piece.use)) {\n      name = piece.use[0];\n      args = piece.use.slice(1);\n    } else {\n      name = piece.use;\n      args = [];\n    }\n    if (typeof name === 'function') {\n      func = name;\n    } else {\n      func = context.lookup(name);\n    }\n    return function () {\n      return _liquidFire.Promise.resolve(func.apply(this, args));\n    };\n  }\n  function runAnimation(context, piece) {\n    return new _liquidFire.Promise((resolve, reject) => {\n      animationFor(context, piece).apply(context).then(resolve, reject);\n    });\n  }\n  function matchAndExplode(context, piece, seen) {\n    if (!context.oldElement || !context.newElement) {\n      return _liquidFire.Promise.resolve();\n    }\n\n    // reduce the matchBy scope\n    if (piece.pick) {\n      context.oldElement = context.oldElement.find(piece.pick);\n      context.newElement = context.newElement.find(piece.pick);\n    }\n    if (piece.pickOld) {\n      context.oldElement = context.oldElement.find(piece.pickOld);\n    }\n    if (piece.pickNew) {\n      context.newElement = context.newElement.find(piece.pickNew);\n    }\n\n    // use the fastest selector available\n    let selector;\n    if (piece.matchBy === 'id') {\n      selector = attrValue => {\n        return `#${attrValue}`;\n      };\n    } else if (piece.matchBy === 'class') {\n      selector = attrValue => {\n        return `.${attrValue}`;\n      };\n    } else {\n      selector = attrValue => {\n        let escapedAttrValue = attrValue.replace(/'/g, \"\\\\'\");\n        return `[${piece.matchBy}='${escapedAttrValue}']`;\n      };\n    }\n    let hits = Ember.A(context.oldElement.find(`[${piece.matchBy}]`).toArray());\n    return _liquidFire.Promise.all(hits.map(elt => {\n      let attrValue = (0, _jquery.default)(elt).attr(piece.matchBy);\n\n      // if there is no match for a particular item just skip it\n      if (attrValue === '' || context.newElement.find(selector(attrValue)).length === 0) {\n        return _liquidFire.Promise.resolve();\n      }\n      return explodePiece(context, {\n        pick: selector(attrValue),\n        use: piece.use\n      }, seen);\n    }));\n  }\n});","define(\"liquid-fire/transitions/fade\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = fade;\n  // BEGIN-SNIPPET fade-definition\n\n  function fade(opts = {}) {\n    let firstStep;\n    let outOpts = opts;\n    let fadingElement = findFadingElement(this);\n    if (fadingElement) {\n      // We still have some older version that is in the process of\n      // fading out, so out first step is waiting for it to finish.\n      firstStep = (0, _liquidFire.finish)(fadingElement, 'fade-out');\n    } else {\n      if ((0, _liquidFire.isAnimating)(this.oldElement, 'fade-in')) {\n        // if the previous view is partially faded in, scale its\n        // fade-out duration appropriately.\n        outOpts = {\n          duration: (0, _liquidFire.timeSpent)(this.oldElement, 'fade-in')\n        };\n      }\n      (0, _liquidFire.stop)(this.oldElement);\n      firstStep = (0, _liquidFire.animate)(this.oldElement, {\n        opacity: 0\n      }, outOpts, 'fade-out');\n    }\n    return firstStep.then(() => {\n      return (0, _liquidFire.animate)(this.newElement, {\n        opacity: [opts.maxOpacity || 1, 0]\n      }, opts, 'fade-in');\n    });\n  }\n  function findFadingElement(context) {\n    for (let i = 0; i < context.older.length; i++) {\n      let entry = context.older[i];\n      if ((0, _liquidFire.isAnimating)(entry.element, 'fade-out')) {\n        return entry.element;\n      }\n    }\n    if ((0, _liquidFire.isAnimating)(context.oldElement, 'fade-out')) {\n      return context.oldElement;\n    }\n  }\n  // END-SNIPPET\n});","define(\"liquid-fire/transitions/flex-grow\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = flexGrow;\n  function flexGrow(opts) {\n    (0, _liquidFire.stop)(this.oldElement);\n    return _liquidFire.Promise.all([(0, _liquidFire.animate)(this.oldElement, {\n      'flex-grow': 0\n    }, opts), (0, _liquidFire.animate)(this.newElement, {\n      'flex-grow': [1, 0]\n    }, opts)]);\n  }\n});","define(\"liquid-fire/transitions/fly-to\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = flyTo;\n  function flyTo(opts = {}) {\n    if (!this.newElement) {\n      return _liquidFire.Promise.resolve();\n    } else if (!this.oldElement) {\n      this.newElement.css({\n        visibility: ''\n      });\n      return _liquidFire.Promise.resolve();\n    }\n    let oldOffset = this.oldElement.offset();\n    let newOffset = this.newElement.offset();\n    if (opts.movingSide === 'new') {\n      let motion = {\n        translateX: [0, oldOffset.left - newOffset.left],\n        translateY: [0, oldOffset.top - newOffset.top],\n        outerWidth: [this.newElement.outerWidth(), this.oldElement.outerWidth()],\n        outerHeight: [this.newElement.outerHeight(), this.oldElement.outerHeight()]\n      };\n      this.oldElement.css({\n        visibility: 'hidden'\n      });\n      return (0, _liquidFire.animate)(this.newElement, motion, opts);\n    } else {\n      let motion = {\n        translateX: newOffset.left - oldOffset.left,\n        translateY: newOffset.top - oldOffset.top,\n        outerWidth: this.newElement.outerWidth(),\n        outerHeight: this.newElement.outerHeight()\n      };\n      this.newElement.css({\n        visibility: 'hidden'\n      });\n      return (0, _liquidFire.animate)(this.oldElement, motion, opts).then(() => {\n        this.newElement.css({\n          visibility: ''\n        });\n      });\n    }\n  }\n});","define(\"liquid-fire/transitions/move-over\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = moveOver;\n  function moveOver(dimension, direction, opts) {\n    let oldParams = {},\n      newParams = {},\n      firstStep,\n      property,\n      measure;\n    if (dimension.toLowerCase() === 'x') {\n      property = 'translateX';\n      measure = 'width';\n    } else {\n      property = 'translateY';\n      measure = 'height';\n    }\n    if ((0, _liquidFire.isAnimating)(this.oldElement, 'moving-in')) {\n      firstStep = (0, _liquidFire.finish)(this.oldElement, 'moving-in');\n    } else {\n      (0, _liquidFire.stop)(this.oldElement);\n      firstStep = _liquidFire.Promise.resolve();\n    }\n    return firstStep.then(() => {\n      let bigger = biggestSize(this, measure);\n      oldParams[property] = bigger * direction + 'px';\n      newParams[property] = ['0px', -1 * bigger * direction + 'px'];\n      return _liquidFire.Promise.all([(0, _liquidFire.animate)(this.oldElement, oldParams, opts), (0, _liquidFire.animate)(this.newElement, newParams, opts, 'moving-in')]);\n    });\n  }\n  function biggestSize(context, dimension) {\n    let sizes = [];\n    if (context.newElement) {\n      sizes.push(parseInt(context.newElement.css(dimension), 10));\n      sizes.push(parseInt(context.newElement.parent().css(dimension), 10));\n    }\n    if (context.oldElement) {\n      sizes.push(parseInt(context.oldElement.css(dimension), 10));\n      sizes.push(parseInt(context.oldElement.parent().css(dimension), 10));\n    }\n    return Math.max.apply(null, sizes);\n  }\n});","define(\"liquid-fire/transitions/scale\", [\"exports\", \"liquid-fire\"], function (_exports, _liquidFire) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = scale;\n  function scale(opts = {}) {\n    return (0, _liquidFire.animate)(this.oldElement, {\n      scale: [0.2, 1]\n    }, opts).then(() => {\n      return (0, _liquidFire.animate)(this.newElement, {\n        scale: [1, 0.2]\n      }, opts);\n    });\n  }\n});","define(\"liquid-fire/transitions/scroll-then\", [\"exports\", \"liquid-fire/is-browser\"], function (_exports, _isBrowser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(nextTransitionName, options, ...rest) {\n    if ((0, _isBrowser.default)()) {\n      (true && !('string' === typeof nextTransitionName) && Ember.assert(\"You must provide a transition name as the first argument to scrollThen. Example: this.use('scrollThen', 'toLeft')\", 'string' === typeof nextTransitionName));\n      let el = document.getElementsByTagName('html');\n      let nextTransition = this.lookup(nextTransitionName);\n      if (!options) {\n        options = {};\n      }\n      (true && !('object' === typeof options) && Ember.assert(\"The second argument to scrollThen is passed to Velocity's scroll function and must be an object\", 'object' === typeof options)); // set scroll options via: this.use('scrollThen', 'ToLeft', {easing: 'spring'})\n      options = {\n        duration: 500,\n        offset: 0,\n        ...options\n      };\n\n      // additional args can be passed through after the scroll options object\n      // like so: this.use('scrollThen', 'moveOver', {duration: 100}, 'x', -1);\n\n      return window.$.Velocity(el, 'scroll', options).then(() => {\n        nextTransition.apply(this, rest);\n      });\n    }\n  }\n});","define(\"liquid-fire/transitions/to-down\", [\"exports\", \"liquid-fire/transitions/move-over\"], function (_exports, _moveOver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(opts) {\n    return _moveOver.default.call(this, 'y', 1, opts);\n  }\n});","define(\"liquid-fire/transitions/to-left\", [\"exports\", \"liquid-fire/transitions/move-over\"], function (_exports, _moveOver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(opts) {\n    return _moveOver.default.call(this, 'x', -1, opts);\n  }\n});","define(\"liquid-fire/transitions/to-right\", [\"exports\", \"liquid-fire/transitions/move-over\"], function (_exports, _moveOver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(opts) {\n    return _moveOver.default.call(this, 'x', 1, opts);\n  }\n});","define(\"liquid-fire/transitions/to-up\", [\"exports\", \"liquid-fire/transitions/move-over\"], function (_exports, _moveOver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(opts) {\n    return _moveOver.default.call(this, 'y', -1, opts);\n  }\n});","define(\"liquid-fire/transitions/wait\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(ms, opts, ...rest) {\n    opts = opts !== undefined ? opts : {};\n    return new Ember.RSVP.Promise(resolve => {\n      setTimeout(() => {\n        resolve(this.lookup(opts.then || 'default').call(this, ...rest));\n      }, ms);\n    });\n  }\n});","define(\"liquid-fire/velocity-ext\", [\"velocity\"], function (_velocity) {\n  \"use strict\";\n\n  /*\n    This makes it possible to animate outerHeight and outerWidth with\n    Velocity, which is much more convenient for our purposes. Submitted\n    to Velocity as PR #485.\n  */\n\n  if (typeof FastBoot === undefined) {\n    let VCSS = _velocity.default.CSS;\n    let augmentDimension = function (name, element) {\n      let sides = name === 'width' ? ['Left', 'Right'] : ['Top', 'Bottom'];\n      if (VCSS.getPropertyValue(element, 'boxSizing').toString().toLowerCase() === 'border-box') {\n        /* in box-sizing mode, the VCSS width / height accessors already give the outerWidth / outerHeight. */\n        return 0;\n      } else {\n        let augment = 0;\n        let fields = ['padding' + sides[0], 'padding' + sides[1], 'border' + sides[0] + 'Width', 'border' + sides[1] + 'Width'];\n        for (let i = 0; i < fields.length; i++) {\n          let value = parseFloat(VCSS.getPropertyValue(element, fields[i]));\n          if (!isNaN(value)) {\n            augment += value;\n          }\n        }\n        return augment;\n      }\n    };\n    let outerDimension = function (name) {\n      return function (type, element, propertyValue) {\n        switch (type) {\n          case 'name':\n            return name;\n          case 'extract':\n            return parseFloat(propertyValue) + augmentDimension(name, element);\n          case 'inject':\n            return parseFloat(propertyValue) - augmentDimension(name, element) + 'px';\n        }\n      };\n    };\n    VCSS.Normalizations.registered.outerWidth = outerDimension('width');\n    VCSS.Normalizations.registered.outerHeight = outerDimension('height');\n  }\n});","define(\"sgb-object-graphs/components/save-canvas-as-png\", [\"exports\", \"@ember-decorators/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _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  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SaveCanvasAsPng = _exports.default = (_dec = (0, _component.tagName)('a'), _dec2 = (0, _component.classNames)('far fa-save'), _dec3 = (0, _component.attributeBindings)('ariaLabel:aria-label', 'ariaHidden:aria-hidden'), classic(_class = _dec(_class = _dec2(_class = _dec3(_class = class SaveCanvasAsPng extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"ariaLabel\", 'Download as PNG');\n      _defineProperty(this, \"ariaHidden\", false);\n    }\n    click() {\n      // this.sendAction('downloadPNG') doesn't work\n      var canvas = this.canvas;\n      var a = this.element;\n      a.href = canvas.toDataURL(); // TODO: a.set('href', canvas.toDataURL()) doesn't work  :(\n      var fileName = this.fileName || 'canvas';\n      a.download = `${fileName}.png`;\n      return true; // trigger default browser handling for it\n    }\n  }) || _class) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ajax-base-chart\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\", \"sgb-object-graphs/templates/components/sgb-ajax-base-chart\", \"ember-concurrency\"], function (_exports, _component, _object, _sgbAjaxBaseChart, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _dec8, _dec9, _dec0, _class, _class2, _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 classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbAjaxBaseChart = _exports.default = (_dec = (0, _component.layout)(_sgbAjaxBaseChart.default), _dec2 = (0, _component.classNames)('sgb-chart'), _dec3 = Ember.inject.service, _dec4 = Ember.computed('_fontColor', 'css_selector_to_copy_color_from', 'restyleIfChanged', 'this.css_selector_to_copy_color_from'), _dec5 = Ember.computed('chartInfo.componentName', 'chartinfo_component_name_override'), _dec6 = Ember.computed('loadDataStart', 'loadDataEnd'), _dec7 = (0, _object.observes)('refreshRequestDate'), _dec8 = (0, _object.observes)('url', 'shouldUpdateGraphData'), _dec9 = Ember.computed('chartInfo.url', 'chartinfo_url_override'), _dec0 = Ember.computed('chartInfo.refreshUrl', 'chartinfo_url_override'), classic(_class = _dec(_class = _dec2(_class = (_class2 = class SgbAjaxBaseChart extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"ajax\", _descriptor, this);\n      _defineProperty(this, \"_fontColor\", null);\n      _defineProperty(this, \"messages\", null);\n      // refresh every 3 minutes\n      _defineProperty(this, \"refreshRate\", 60 * 3);\n    }\n    get fontColor() {\n      let color = this._fontColor || '#c1c6d5';\n      if (!color) {\n        let css_selector_to_copy_color_from = this.css_selector_to_copy_color_from;\n        if (css_selector_to_copy_color_from) {\n          let selector = document.querySelector(css_selector_to_copy_color_from);\n          if (selector) {\n            let computedStyle = window.getComputedStyle(selector, null);\n            if (computedStyle) {\n              color = computedStyle.getPropertyValue('color');\n            }\n          }\n          // color = window.getComputedStyle(document.querySelector(css_selector_to_copy_color_from), null).getPropertyValue('color');\n        }\n      }\n      return color;\n    }\n    set fontColor(value) {\n      this.set('_fontColor', value);\n      return value;\n    }\n    thereIsNoDataBecause(reason_for_no_data) {\n      this.set('statusMessage', reason_for_no_data);\n      this.set('openTsdbData', null);\n    }\n    receivedTsdbData(data) {\n      this.set('statusMessage', null);\n      this.set('openTsdbData', data);\n    }\n    get chartComponentName() {\n      let res = this.chartinfo_component_name_override || this.get('chartInfo.componentName');\n      return res;\n    }\n    didReceiveAttrs() {\n      super.didReceiveAttrs(...arguments);\n      this.updateFromHash(this.options, null, true);\n    }\n    init() {\n      super.init(...arguments);\n      this.set('messages', {\n        shouldnt_get_data: 'should not get data - bad incoming parameters',\n        loading: 'loading data....',\n        error_getting_data: 'Error while retrieving data'\n      });\n      this.set('hashAndDirectParams', new HashAndDirectParams({\n        get: (obj, name) => obj.get(name),\n        set: (obj, name, value) => obj.set(name, value),\n        obj: this\n      }));\n      let defaults = {\n        start_hours_ago: 12,\n        end_hours_ago: 0,\n        saveAsPNG: true,\n        showInterval: true\n      };\n      this.updateFromHash(this.options, this.whenUndefined, true);\n      this.updateFromHash(defaults, this.whenUndefined, false);\n      this.updateGraphData();\n    }\n    updateFromHash(hash, predicate, undo) {\n      this.hashAndDirectParams.fromHash(hash, {\n        predicate: predicate,\n        undo: undo\n      });\n    }\n    whenUndefined(obj, name) {\n      return obj.get(name) == undefined;\n    }\n    updateIf(propertyName, value, shouldUpdateWhenCurrentIs) {\n      let currentValue = this.get(propertyName);\n      if (shouldUpdateWhenCurrentIs(currentValue)) {\n        this.set(propertyName, value);\n      }\n    }\n    didRender() {\n      super.didRender(...arguments);\n      this.set('chartCanvas', this.element.querySelector('canvas'));\n    }\n    get canUserRefresh() {\n      const start = this.loadDataStart;\n      const end = this.loadDataEnd;\n      return start && end && start <= end;\n    }\n    userRefresh() {\n      if (this.canUserRefresh) {\n        this.updateGraphData();\n      }\n    }\n    handleObjectChanged() {\n      let lastLoadedUrl = this.lastLoadedUrl;\n      let url = this.url;\n      if (lastLoadedUrl != url) {\n        // TODO: probably should check elapsed time since last check too?\n        this.updateGraphData();\n      }\n    }\n    updateGraphData() {\n      Ember.run.debounce(this, this._updateGraphData, 100);\n    }\n    get url() {\n      return this.chartinfo_url_override ?? this.chartInfo.url;\n    }\n    get refreshUrl() {\n      return this.chartinfo_url_override ?? this.chartInfo.refreshUrl;\n    }\n    getHumanizedErrorMessage(raw_error_msg) {\n      const there_is_no_data = 'There is no data for the selected period';\n      const pattern2human = [[/No such name for 'tagv': '[^']+'/, there_is_no_data], ['No data returned. Empty data array. Ensure all query parameters are correct.', there_is_no_data]];\n      if (raw_error_msg == null) {\n        return null;\n      }\n      let translated = pattern2human.filter(([pattern, human_msg]) => raw_error_msg.match(pattern)); // eslint-disable-line no-unused-vars\n      if (translated.length != 0) {\n        return translated[0][1];\n      } else {\n        return null;\n      }\n    }\n    _updateGraphData() {\n      this.refreshTask.cancelAll();\n      if (!this.shouldUpdateGraphData) {\n        this.thereIsNoDataBecause(this.messages.shouldnt_get_data);\n        return;\n      }\n      let url = this.url;\n      this.set('loadDataStart', new Date());\n      this.thereIsNoDataBecause(this.messages.loading); // TODO: this will cause issues when we refresh\n      this.ajax.request(url).then(data => {\n        this.set('loadDataEnd', new Date());\n        if (data.error) {\n          throw new Error(data.error.message);\n        }\n        // TODO: handle the case when there is data, but no datapoints in dps\n        this.receivedTsdbData(data);\n        this.set('lastLoadedUrl', url);\n        this.performRefreshTask();\n      }).catch(err => {\n        let payload_error_msg = err.payload ? err.payload.message : '';\n        let error_msg = err.message;\n        let fallback_error_message = this.messages.error_getting_data;\n        let human_messages = [payload_error_msg, error_msg].map(msg => this.getHumanizedErrorMessage(msg)).filter(x => x != null);\n        let error_msg_to_show = human_messages.concat([fallback_error_message])[0];\n        this.thereIsNoDataBecause(error_msg_to_show);\n        this.set('loadDataEnd', new Date());\n        console.error('Chart update', err); // eslint-disable-line no-console\n      });\n    }\n    performRefreshTask() {\n      this.refreshTask.cancelAll();\n      this.refreshTask.perform();\n    }\n    *refreshTask() {\n      let counter = 0;\n      while (1) {\n        console.log('refreshTask: chart');\n        yield (0, _emberConcurrency.timeout)(1000 * this.refreshRate);\n        this.refreshGraphData(counter++);\n      }\n    }\n    refreshGraphData(counter) {\n      // console.log('refreshTask', this.refreshUrl);\n      if (this.shouldUpdateGraphData && this.refreshUrl) {\n        const url = this.refreshUrl;\n        this.ajax.request(url).then(data => {\n          if (data.error) {\n            throw new Error(data.error.message);\n          }\n          // console.log('refreshTask data', data);\n          const oldData = this.openTsdbData;\n          if (!Array.isArray(oldData) || !Array.isArray(data)) {\n            return;\n          }\n          // add some new data - test\n          /*\n                  const tmpdps = this.openTsdbData?.[0]?.dps ?? [];\n                  const last = tmpdps[tmpdps.length - 1]?.[0] ?? 0;\n                  const now = new Date(last).getTime()  + 1000 * 3600;\n                  const value = counter;\n                   for (const d of data) {\n                    if (d?.dps) {\n                      d?.dps.push([now, value]);\n                    }\n                  }\n          */\n          let changed = false;\n          for (const od of oldData) {\n            for (const nd of data) {\n              if (od.metric == nd.metric && this.shallowEqual(od.tags, nd.tags)) {\n                if (od?.dps?.length && nd?.dps?.length) {\n                  const [odMaxTs] = od.dps[od.dps.length - 1];\n                  for (const ndp of nd.dps) {\n                    const [newTs, value] = ndp;\n                    if (newTs > odMaxTs) {\n                      od.dps.push([newTs, value]);\n                      changed = true;\n                    }\n                  }\n                }\n              }\n            }\n          }\n          if (changed) {\n            // refreshes with redraw\n            this.receivedTsdbData(JSON.parse(JSON.stringify(oldData)));\n          }\n        }).catch(err => {\n          console.error('Chart refresh', err); // eslint-disable-line no-console\n        });\n        ;\n      }\n    }\n    shallowEqual(object1, object2) {\n      const keys1 = Object.keys(object1);\n      const keys2 = Object.keys(object2);\n      if (keys1.length !== keys2.length) {\n        return false;\n      }\n      for (let key of keys1) {\n        if (object1[key] !== object2[key]) {\n          return false;\n        }\n      }\n      return true;\n    }\n    willDestroyElement() {\n      this._super(...arguments);\n      this.refreshTask.cancelAll();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"ajax\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"fontColor\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"fontColor\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"chartComponentName\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartComponentName\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"canUserRefresh\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"canUserRefresh\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"userRefresh\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"userRefresh\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"handleObjectChanged\", [_dec8], Object.getOwnPropertyDescriptor(_class2.prototype, \"handleObjectChanged\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"url\", [_dec9], Object.getOwnPropertyDescriptor(_class2.prototype, \"url\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"refreshUrl\", [_dec0], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshUrl\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"refreshTask\", [_emberConcurrency.task], Object.getOwnPropertyDescriptor(_class2.prototype, \"refreshTask\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ajax-n-day-kw-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-ajax-base-chart\"], function (_exports, _sgbAjaxBaseChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  /* global Metrics */\n  // TODO: create IncomingParams computed that would return {name: val, name2: val2, ...} and e.g.:\n  //       chartinfo could depend on it, handleObjectChanged, etc.\n  //       and other options (title, etc.) could depend on this to ensure chain\n  //       https://github.com/emberjs/ember.js/blob/v2.16.2/packages/ember-metal/lib/computed.js#L455\n  let SgbAjaxNDayKwChart = _exports.default = (_dec = Ember.computed('top_group_id', 'start_hours_ago', 'end_hours_ago'), _dec2 = Ember.computed('top_group_id'), classic(_class = (_class2 = class SgbAjaxNDayKwChart extends _sgbAjaxBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"shouldUpdateGraphData\", true);\n      _defineProperty(this, \"title\", 'Watts Use');\n    }\n    //  TODO: shouldn't it also depend on title/metrics?\n    get chartInfo() {\n      let top_group_id = this.top_group_id;\n      let start_hours_ago = this.start_hours_ago;\n      let end_hours_ago = this.end_hours_ago;\n      return {\n        componentName: 'sgb-device-line-chart',\n        url: `groups/${top_group_id}/${start_hours_ago}-${end_hours_ago}/kw-chart`,\n        // only set refreshUrl when end_hours_ago not defined\n        refreshUrl: !end_hours_ago ? `groups/${top_group_id}/1-0/kw-chart` : null\n      };\n    }\n    get metrics() {\n      return [Metrics.watts_max, Metrics.watts_min, Metrics.temperature_f_avg, Metrics.cool_setpoint_f];\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"chartInfo\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartInfo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"metrics\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"metrics\"), _class2.prototype), _class2)) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ajax-object-charts\", [\"exports\", \"sgb-object-graphs/components/sgb-ajax-base-chart\"], function (_exports, _sgbAjaxBaseChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  /* eslint-disable no-console */\n  /* global DeviceTypesToMetrics */\n  let SgbAjaxObjectCharts = _exports.default = (_dec = Ember.computed('end_hours_ago', 'granularity', 'group_type', 'objectPayload.hierarchy.type', 'start_hours_ago'), _dec2 = Ember.computed('objectPayload', 'objectPayload.id'), _dec3 = Ember.computed('objectPayload.device_type.id'), classic(_class = (_class2 = class SgbAjaxObjectCharts extends _sgbAjaxBaseChart.default {\n    get chartInfo() {\n      // TODO: eventually optimize this through helper/sgb-charts-common, good for now though\n      let tp = this.get('objectPayload.hierarchy.type');\n      let op = this.objectPayload;\n      let start_hours_ago = this.start_hours_ago;\n      let end_hours_ago = this.end_hours_ago;\n      if (tp == 'device') {\n        const chartInfo = {\n          componentName: 'sgb-device-line-chart',\n          url: `/devices/${op.id}/${start_hours_ago}-${end_hours_ago}/device-chart-data`,\n          // only set refreshUrl when end_hours_ago not defined\n          refreshUrl: !end_hours_ago ? `/devices/${op.id}/1-0/device-chart-data` : null\n        };\n        return chartInfo;\n      } else if (tp == 'group') {\n        const granularity = this.granularity ?? 'device';\n        const group_type = this.group_type ?? 'group';\n        const chartInfo = {\n          componentName: 'sgb-group-watthours-charts',\n          url: `/groups/${op.id}/${start_hours_ago}-${end_hours_ago}/watthours-chart-data/${granularity}/${group_type}`,\n          // only set refreshUrl when end_hours_ago not defined\n          refreshUrl: !end_hours_ago ? `/groups/${op.id}/1-0/watthours-chart-data/${granularity}/${group_type}` : null\n        };\n        return chartInfo;\n      }\n      return null; // TODO: report error\n    }\n    get shouldUpdateGraphData() {\n      return this.get('objectPayload.id') != null;\n    }\n    get metrics() {\n      let device_type_id = this.get('objectPayload.device_type.id');\n      if (device_type_id != undefined) {\n        return DeviceTypesToMetrics.metrics_for_device_type(device_type_id);\n      } else {\n        return [];\n      }\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"chartInfo\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartInfo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"shouldUpdateGraphData\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldUpdateGraphData\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"metrics\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"metrics\"), _class2.prototype), _class2)) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ajax-singlestat-line-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-ajax-base-chart\"], function (_exports, _sgbAjaxBaseChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  /* global SingleStatMetrics */\n  let SgbAjaxSinglestatLineChart = _exports.default = (_dec = Ember.computed('top_group_id', 'metric_alias', 'start_hours_ago', 'end_hours_ago'), _dec2 = Ember.computed('metric'), _dec3 = Ember.computed('metric_alias'), _dec4 = Ember.computed('metric'), _dec5 = Ember.computed('openTsdbData'), classic(_class = (_class2 = class SgbAjaxSinglestatLineChart extends _sgbAjaxBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"shouldUpdateGraphData\", true);\n      _defineProperty(this, \"onlyShowDataLines\", true);\n    }\n    get chartInfo() {\n      let top_group_id = this.top_group_id;\n      let metric_alias = this.metric_alias;\n      let start_hours_ago = this.start_hours_ago;\n      let end_hours_ago = this.end_hours_ago;\n      // TODO: define this info also once & convert for both ember & node express?\n      return {\n        componentName: 'sgb-singlestat-line-chart',\n        url: `groups/${top_group_id}/${start_hours_ago}-${end_hours_ago}/single-stat-chart/${metric_alias}`,\n        // only set refreshUrl when end_hours_ago not defined\n        refreshUrl: !end_hours_ago ? `groups/${top_group_id}/1-0/single-stat-chart/${metric_alias}` : null\n      };\n    }\n    get title() {\n      //  TODO: consolidate duplication between singlestats\n      let metric = this.metric;\n      if (!metric) {\n        return 'Unknown title';\n      }\n      return `${metric.label}`;\n    }\n    get metric() {\n      let metric_alias = this.metric_alias;\n      return SingleStatMetrics[metric_alias];\n    }\n    get metrics() {\n      return [this.metric];\n    }\n    get overlayText() {\n      return SingleStatMetrics.getLastValueFromTsdbQueryResult(this.openTsdbData);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"chartInfo\", [_dec], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartInfo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"title\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"metric\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"metric\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"metrics\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"metrics\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"overlayText\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"overlayText\"), _class2.prototype), _class2)) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ajax-singlestat-number\", [\"exports\", \"@ember-decorators/component\", \"sgb-object-graphs/components/sgb-ajax-base-chart\", \"sgb-object-graphs/templates/components/sgb-ajax-singlestat-number\"], function (_exports, _component, _sgbAjaxBaseChart, _sgbAjaxSinglestatNumber) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _dec6, _dec7, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  /* global SingleStatMetrics */\n  let SgbAjaxSinglestatNumber = _exports.default = (_dec = (0, _component.layout)(_sgbAjaxSinglestatNumber.default), _dec2 = (0, _component.classNames)('sgb-ajax-singlestat-number'), _dec3 = Ember.computed('top_group_id', 'metric_alias', 'start_hours_ago', 'end_hours_ago'), _dec4 = Ember.computed('metric'), _dec5 = Ember.computed('metric_alias'), _dec6 = Ember.computed('value'), _dec7 = Ember.computed('openTsdbData.n'), classic(_class = _dec(_class = _dec2(_class = (_class2 = class SgbAjaxSinglestatNumber extends _sgbAjaxBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"shouldUpdateGraphData\", true);\n      _defineProperty(this, \"onlyShowDataLines\", true);\n    }\n    get chartInfo() {\n      let top_group_id = this.top_group_id;\n      let metric_alias = this.metric_alias;\n      let start_hours_ago = this.start_hours_ago;\n      let end_hours_ago = this.end_hours_ago;\n      // TODO: define this info also once & convert for both ember & node express?\n      return {\n        componentName: null,\n        url: `groups/${top_group_id}/${start_hours_ago}-${end_hours_ago}/single-stat-number/${metric_alias}`,\n        // only set refreshUrl when end_hours_ago not defined\n        refreshUrl: !end_hours_ago ? `groups/${top_group_id}/1-0/single-stat-number/${metric_alias}` : null\n      };\n    }\n    get title() {\n      let metric = this.metric;\n      if (!metric) {\n        return 'Unknown title';\n      }\n      return `${metric.label}`;\n    }\n    get metric() {\n      let metric_alias = this.metric_alias;\n      return SingleStatMetrics[metric_alias];\n    }\n    get hasValue() {\n      let value = this.value;\n      return value != null && !isNaN(value);\n    }\n    get value() {\n      return parseInt(this.get('openTsdbData.n'));\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"chartInfo\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartInfo\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"title\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"title\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"metric\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"metric\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"hasValue\", [_dec6], Object.getOwnPropertyDescriptor(_class2.prototype, \"hasValue\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"value\", [_dec7], Object.getOwnPropertyDescriptor(_class2.prototype, \"value\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-base-chart\", [\"exports\", \"@ember-decorators/component\", \"sgb-object-graphs/templates/components/sgb-base-chart\"], function (_exports, _component, _sgbBaseChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.RemoveOnlyZeroMetrics = void 0;\n  _exports.applyProcessors = applyProcessors;\n  _exports.default = void 0;\n  _exports.dump_current = dump_current;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  const DEBUG = false; // TODO: make it dependent on user role?\n\n  function applyProcessors(target, processors) {\n    dump_current(target);\n    processors.forEach(function (proc) {\n      debug(proc);\n      if (target == null) {\n        debug('target is null, thus skipping processor');\n        return;\n      }\n      target = proc.process(target);\n      dump_current(target);\n    });\n    return target;\n  }\n\n  // TODO: re-disable console statements and export debug instead?\n  // TODO: also, introduce unexpected data, no action needed && unexpected-notify-devs\n  function debug(msg) {\n    if (DEBUG) {\n      console.debug(msg);\n    }\n  }\n  class RemoveOnlyZeroMetrics {\n    process(openTsdbData) {\n      let metricsWithNonZeroValues = openTsdbData.filter(single_tsdb_data => single_tsdb_data.dps.filter(([ts, v]) => v != 0 // eslint-disable-line no-unused-vars\n      ).length > 0);\n      if (metricsWithNonZeroValues.length == 0) {\n        console.warn('tsdb data only had 0 values, hence no point showing the chart');\n        return null;\n      }\n      return metricsWithNonZeroValues;\n    }\n  }\n  _exports.RemoveOnlyZeroMetrics = RemoveOnlyZeroMetrics;\n  window.__CLASSIC_OWN_CLASSES__.set(RemoveOnlyZeroMetrics, false);\n  function dump_current(obj) {\n    // so that in console log I can observer the state  of the variable when it was logged, not the state when looking at it\n    debug(JSON.stringify(obj)); // eslint-disable-line no-unreachable\n  }\n  let SgbBaseChart = _exports.default = (_dec = (0, _component.layout)(_sgbBaseChart.default), _dec2 = Ember.computed('openTsdbData'), _dec3 = Ember.computed('chartjsOptions'), _dec4 = Ember.computed('openTsdbData', 'temperatureUnit', 'fontColor'), _dec5 = Ember.computed('chartjsOptions.data'), classic(_class = _dec(_class = (_class2 = class SgbBaseChart extends Ember.Component {\n    get openTsdbDataJsonString() {\n      return JSON.stringify(this.openTsdbData);\n    }\n    get chartjsOptionsJsonString() {\n      return JSON.stringify(this.chartjsOptions);\n    }\n\n    // TODO: temperatureUnit is business logic, move  back - probably can make parent comp's metrics prop depend on it\n    // TODO: these should be migrated to sgb-tsdb-ember-base-chart.js\n    get chartjsOptions() {\n      let data = this.getData();\n      // TODO: somehow there is still a flicker here when there is no data to display\n      if (!data) {\n        return {};\n      }\n      let options = this.getOptions(data);\n      return {\n        data: data,\n        options: options\n      };\n    }\n    get shouldShowChart() {\n      return this.get('chartjsOptions.data') != null;\n    }\n    getData() {\n      let d = this.openTsdbData;\n      if (!d) {\n        return null;\n      }\n      return this.opentsdb_to_chartjs(d);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"openTsdbDataJsonString\", [_dec2], Object.getOwnPropertyDescriptor(_class2.prototype, \"openTsdbDataJsonString\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"chartjsOptionsJsonString\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartjsOptionsJsonString\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"chartjsOptions\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"chartjsOptions\"), _class2.prototype), _applyDecoratedDescriptor(_class2.prototype, \"shouldShowChart\", [_dec5], Object.getOwnPropertyDescriptor(_class2.prototype, \"shouldShowChart\"), _class2.prototype), _class2)) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-chart-refresh-widget\", [\"exports\", \"@ember-decorators/component\", \"sgb-object-graphs/templates/components/sgb-chart-refresh-widget\"], function (_exports, _component, _sgbChartRefreshWidget) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbChartRefreshWidget = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _component.layout)(_sgbChartRefreshWidget.default), _dec3 = Ember._action, classic(_class = _dec(_class = _dec2(_class = (_class2 = class SgbChartRefreshWidget extends Ember.Component {\n    refresh() {\n      //  TODO: somehow we should be able to display when the dashboard was loaded\n      this.set('refreshRequestDate', new Date());\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"refresh\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"refresh\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-device-line-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-base-chart\", \"sgb-object-graphs/components/sgb-group-watthours-pie-chart\"], function (_exports, _sgbBaseChart, _sgbGroupWatthoursPieChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.RoundDpsValuesFromSgbMetric = _exports.OptionsTimeLabelsForAxisX = _exports.OptionsApplyFontColor = _exports.ForEachTsdbSingleMetric = _exports.AssignColorsToDatasets = 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  const classic = __EMBER_CLASSIC_DECORATOR;\n  /* global DeviceTypesToMetrics */\n  // import * as _ from 'lodash-es';\n\n  class OptionsTimeLabelsForAxisX {\n    constructor(dates, nrOfXAxisLabels, timeFormat) {\n      this.nrOfXAxisLabels = nrOfXAxisLabels || 12;\n      this.timeFormat = timeFormat || 'MM/DD H:mm'; // TODO: derive it from durationInHours\n      this.dates = dates;\n      this.durationInHours = this.getDurationInHours(this.dates);\n    }\n    getDurationInHours(dates) {\n      let mx = Math.max(...dates);\n      let mn = Math.min(...dates);\n      let milliseconds = mx - mn;\n      if (Number.isNaN(milliseconds) || milliseconds == null) {\n        return null;\n      }\n      if (!isFinite(milliseconds) || !milliseconds) {\n        return 1;\n      }\n      return Math.ceil(milliseconds / 1000 / 60 / 60);\n    }\n    process(chartjsOptions) {\n      if (null == this.durationInHours) {\n        console.error('Duration in hours is null, not doing anything');\n        return chartjsOptions;\n      }\n      const xAxis = chartjsOptions?.scales?.x;\n      if (!xAxis) {\n        console.error('No chartjsOptions.scales.x, not doing anything');\n        return chartjsOptions;\n      }\n      xAxis.type = 'time';\n      const stepSize = this.durationInHours * 60 / this.nrOfXAxisLabels;\n      if (stepSize == null || Number.isNaN(stepSize)) {\n        console.error({\n          msg: 'Failed computing stepSize',\n          stepSize: stepSize,\n          durationInHours: this.durationInHours,\n          nrOfXAxisLabels: this.nrOfXAxisLabels\n        });\n      }\n      xAxis.time = {\n        tooltipFormat: 'YYYY-MM-DD HH:mm:ss',\n        unit: 'minute',\n        stepSize: stepSize,\n        displayFormats: {\n          minute: this.timeFormat\n        }\n      };\n      return chartjsOptions;\n    }\n  }\n  _exports.OptionsTimeLabelsForAxisX = OptionsTimeLabelsForAxisX;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(OptionsTimeLabelsForAxisX, true);\n  window.__CLASSIC_OWN_CLASSES__.set(OptionsTimeLabelsForAxisX, false);\n  class FahrenheitToCelsiusConverter {\n    constructor(unit) {\n      if (['C', 'F'].indexOf(unit) == -1) {\n        throw new Error(`Unknown temperature unit: ${unit}`);\n      }\n      this.unit = unit;\n    }\n    process(tsdb_data) {\n      const temperature_metric_names = ['thermostat.heat_setpoint_f', 'thermostat.cool_setpoint_f', 'temperature.avg_f', 'temperature.avg_f', 'temperature_f'];\n      let self = this;\n      if (self.unit == 'C') {\n        tsdb_data.forEach(function (single_metric_result) {\n          let is_temperature = temperature_metric_names.indexOf(single_metric_result.metric) != -1;\n          if (is_temperature) {\n            single_metric_result.dps.forEach(function (date_val_pair, dps_index, dps) {\n              // eslint-disable-line no-unused-vars\n              let in_fahrenheit = date_val_pair[1];\n              // https://en.wikipedia.org/wiki/Conversion_of_units_of_temperature#Celsius_.28centigrade.29\n              date_val_pair[1] = (in_fahrenheit - 32) * (5 / 9);\n            });\n            single_metric_result.unit = `°${self.unit}`;\n          }\n        });\n      }\n      return tsdb_data;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(FahrenheitToCelsiusConverter, true);\n  window.__CLASSIC_OWN_CLASSES__.set(FahrenheitToCelsiusConverter, false);\n  class ForEachTsdbSingleMetric {\n    constructor(processor) {\n      this.processor = processor;\n    }\n    process(tsdb_data) {\n      let self = this;\n      return tsdb_data.map(function (single_tsdb_metric) {\n        return self.processor.process(single_tsdb_metric);\n      });\n    }\n  }\n  _exports.ForEachTsdbSingleMetric = ForEachTsdbSingleMetric;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(ForEachTsdbSingleMetric, true);\n  window.__CLASSIC_OWN_CLASSES__.set(ForEachTsdbSingleMetric, false);\n  class AssignSgbMetricToTsdbSingleResult {\n    constructor(metrics) {\n      this.metrics = metrics;\n    }\n    process(tsdb_data) {\n      let self = this;\n      tsdb_data.forEach(function (single_tsdb_data) {\n        let metric = DeviceTypesToMetrics.getMetricByTsdbMetricName(single_tsdb_data.metric, self.metrics);\n        if (!metric) {\n          console.error(`Couldn't find metric for ${single_tsdb_data.metric}`);\n        }\n        single_tsdb_data.sgb_metric = metric;\n      });\n      return tsdb_data;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AssignSgbMetricToTsdbSingleResult, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AssignSgbMetricToTsdbSingleResult, false);\n  function get_decimal_places_to_round_to(metric) {\n    if (!metric) {\n      return null;\n    }\n    let decimal_places = metric.round_to_decimal_digits;\n    let should_round = decimal_places != undefined;\n    if (!should_round) {\n      return null;\n    }\n    return decimal_places;\n  }\n  function round(value, decimal_places) {\n    return value.toFixed(decimal_places);\n  }\n  function round_from_metric(metric, value) {\n    let decimal_places = get_decimal_places_to_round_to(metric);\n    if (decimal_places == null) {\n      return value;\n    }\n    return round(value, decimal_places);\n  }\n  class RoundDpsValuesFromSgbMetric {\n    // TODO: contrast w/ FixDecimalPlaces\n    constructor(decimal_places_to_round_to) {\n      this.decimal_places_to_round_to = decimal_places_to_round_to;\n    }\n    process(single_tsdb_data) {\n      let decimal_places_to_round_to = this.decimal_places_to_round_to || get_decimal_places_to_round_to(single_tsdb_data.sgb_metric);\n      if (decimal_places_to_round_to != null) {\n        single_tsdb_data.dps.forEach(function (dp) {\n          dp[1] = round(dp[1], decimal_places_to_round_to);\n        });\n      }\n      return single_tsdb_data;\n    }\n  }\n  _exports.RoundDpsValuesFromSgbMetric = RoundDpsValuesFromSgbMetric;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(RoundDpsValuesFromSgbMetric, true);\n  window.__CLASSIC_OWN_CLASSES__.set(RoundDpsValuesFromSgbMetric, false);\n  class SetLabelFromMetricAndUnit {\n    process(single_tsdb_data) {\n      let metric = single_tsdb_data.sgb_metric;\n      let label = null;\n      if (metric != null) {\n        label = metric.label;\n        let unit = single_tsdb_data.sgb.si.unit;\n        if (unit) {\n          label = `${metric.label} (${unit})`;\n        }\n      }\n      single_tsdb_data.sgb_label = label;\n      return single_tsdb_data;\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(SetLabelFromMetricAndUnit, false);\n  class ConvertTsdbTimeEpochToLocalDateTimeObjects {\n    process(single_tsdb_data) {\n      single_tsdb_data.dps.forEach(function (dp) {\n        dp[0] = new Date(dp[0]); // epoch seconds => should convert to local timezone correctly\n      });\n      return single_tsdb_data;\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(ConvertTsdbTimeEpochToLocalDateTimeObjects, false);\n  function createGradient(start, stop) {\n    let tmpCanvas = document.getElementById('sgb-tmp-canvas');\n    if (!tmpCanvas) {\n      console.log('create canvas...');\n      tmpCanvas = document.createElement('canvas');\n      tmpCanvas.id = 'sgb-tmp-canvas';\n      tmpCanvas.className = 'd-none';\n      tmpCanvas.style = 'display: none; width: 0; height: 0;';\n      console.log(tmpCanvas);\n      document.body.appendChild(tmpCanvas);\n    } else {\n      console.log('already has canvas...');\n    }\n    const ctx = tmpCanvas.getContext('2d');\n    const gradientStroke = ctx.createLinearGradient(0, 0, 0, 1000);\n    gradientStroke.addColorStop(0, stop);\n    gradientStroke.addColorStop(1, start);\n    return gradientStroke;\n  }\n  class AssignColorsToDatasets {\n    constructor(property_to_alpha_pairs_list, datasetToRgbListFn) {\n      this.property_to_alpha_pairs_list = property_to_alpha_pairs_list;\n      this.datasetToRgbListFn = datasetToRgbListFn;\n    }\n    process(chartjs_data) {\n      let self = this;\n      chartjs_data.datasets.forEach(ds => {\n        let rgb_list = this.datasetToRgbListFn(ds);\n        if (rgb_list == null || rgb_list.length != 3) {\n          console.error(`expected rgb_list to have 3 items, got ${rgb_list} instead. Not assigning colors`);\n          return chartjs_data;\n        }\n        let rgb = rgb_list.join(',');\n        self.property_to_alpha_pairs_list.forEach(([property, alpha]) => {\n          let val = `rgba(${rgb},${alpha})`;\n          if (false && property == 'backgroundColor') {\n            console.log('create gradient for...', property);\n            ds[property] = createGradient(`rgba(${rgb}, 0.15)`, `rgba(${rgb}, 0.0)`);\n          } else {\n            // ate gradient for...', property);\n            ds[property] = val;\n          }\n        });\n        ds.borderWidth = 1;\n      });\n      return chartjs_data;\n    }\n  }\n  _exports.AssignColorsToDatasets = AssignColorsToDatasets;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AssignColorsToDatasets, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AssignColorsToDatasets, false);\n  class RemoveNulls {\n    process(data) {\n      return data.filter(d => d != null);\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(RemoveNulls, false);\n  class TsdbMetricResultToChartjsLineDataset {\n    process(single_tsdb_data) {\n      let metric = single_tsdb_data.sgb_metric;\n      if (!metric) {\n        return null;\n      }\n      let unit = single_tsdb_data.sgb.si.unit;\n      let line_data = {\n        label: single_tsdb_data.sgb_label,\n        data: single_tsdb_data.dps.map(x => {\n          return {\n            x: x[0],\n            y: x[1]\n          };\n        }),\n        // , tension: 0.1\n        // , cubicInterpolationMode: 'monotone'\n        lineTension: 0,\n        yAxisID: unit,\n        // TODO: make discrete_values stepped param come from the outside\n        stepped: metric.discrete_values ? 'before' : false,\n        pointRadius: 0,\n        pointHitRadius: 10,\n        metric: metric,\n        unit: unit\n      };\n      return line_data;\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(TsdbMetricResultToChartjsLineDataset, false);\n  class DatasetsListToChartjsDataObject {\n    process(chartjs_datasets) {\n      return {\n        datasets: chartjs_datasets\n      };\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(DatasetsListToChartjsDataObject, false);\n  class OptionsApplyFontColor {\n    constructor(color, createAxes) {\n      this.color = color;\n      this.createAxes = createAxes;\n      if (color == undefined || createAxes == undefined) {\n        console.error({\n          color: color,\n          createAxes: createAxes\n        });\n        throw new Error('must specify both ctor params');\n      }\n    }\n    process(options) {\n      const colors = {\n        scales: {},\n        title: {\n          color: this.color\n        },\n        plugins: {\n          legend: {\n            labels: {\n              color: this.color\n            }\n          }\n        }\n      };\n      if (options.scales) {\n        for (const scale of Object.keys(options.scales)) {\n          colors.scales[scale] = {\n            ticks: {\n              color: this.color\n            },\n            title: {\n              color: this.color\n            }\n          };\n        }\n      }\n      options = _.merge(options, colors);\n      return options;\n    }\n  }\n  _exports.OptionsApplyFontColor = OptionsApplyFontColor;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(OptionsApplyFontColor, true);\n  window.__CLASSIC_OWN_CLASSES__.set(OptionsApplyFontColor, false);\n  let SgbDeviceLineChart = _exports.default = classic(_class = class SgbDeviceLineChart extends _sgbBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"chartComponentName\", 'sgb-ember-line-chart');\n    }\n    // TODO: need get access to the chartjs config (for debug) from its child component somehow - action: when config ready?\n    // TODO: adjust pie charts too addon/templates/components/sgb-base-chart.hbs\n\n    getOptions(data) {\n      let datasets = data.datasets.filter(ds => ds.yAxisID != undefined);\n      datasets = this.unique(datasets, ds => ds.yAxisID);\n      this.set('has_y_axis_gridlines', false); // TODO: make this a param - single y axis gridline\n      let options = {\n        scales: {\n          x: {\n            grid: {\n              display: false\n            },\n            distribution: 'linear'\n          }\n        },\n        plugins: {\n          tooltip: {\n            position: 'nearest',\n            mode: 'index',\n            intersect: false\n          }\n        }\n      };\n      // add Y axes\n      for (const ds of datasets) {\n        const axisDef = this.toYAxisDef(ds);\n        options.scales[axisDef.id] = axisDef;\n      }\n      let timeFormat = this.timeFormat; // TODO: move up?\n      let nrOfXAxisLabels = this.nrOfXAxisLabels; // TODO: move up?\n      let allDates = this.getAllDates(datasets);\n      let processors = [new OptionsTimeLabelsForAxisX(allDates, nrOfXAxisLabels, timeFormat),\n      //new OptionsApplyFontColor(this.get('fontColor'))\n      new OptionsApplyFontColor(this.fontColor, true)];\n      return (0, _sgbBaseChart.applyProcessors)(options, processors);\n    }\n    opentsdb_to_chartjs(tsdb_data) {\n      // TODO: generalize this example to someting less-sgb specific\n      /*\n       tsdb_data = [\n        {\n          \"metric\": \"thermostat.cool_setpoint_f\",\n          \"tags\": {\n            \"top_customer_group_id\": \"8641\",\n            \"device_id\": \"8658\",\n            \"parent_group_id\": \"8664\",\n            \"customer_id\": \"109\",\n            \"device_type_id\": \"101\"\n          },\n          \"dps\": [\n            [ 1500819586000, 73.4000015258789 ],\n            [ 1500823186000, 73.4000015258789 ],\n            [ 1500826786000, 73.4000015258789 ]\n        ]\n       }\n      ];\n      */\n      let processors = [new _sgbGroupWatthoursPieChart.MakeACopyOfTheTsdbData(), new FahrenheitToCelsiusConverter(this.temperatureUnit), new AssignSgbMetricToTsdbSingleResult(this.metrics), new ForEachTsdbSingleMetric(new _sgbGroupWatthoursPieChart.ApplySIUnits(single_tsdb_data => single_tsdb_data.dps,\n      // TODO: introduce NullMetric later down the line\n      single_tsdb_data => single_tsdb_data?.sgb_metric?.unit, dps => dps[1], _sgbGroupWatthoursPieChart.map_in_place_dps_val)), new ForEachTsdbSingleMetric(new RoundDpsValuesFromSgbMetric()), new ForEachTsdbSingleMetric(new SetLabelFromMetricAndUnit()), new ForEachTsdbSingleMetric(new ConvertTsdbTimeEpochToLocalDateTimeObjects()), new ForEachTsdbSingleMetric(new TsdbMetricResultToChartjsLineDataset()), new RemoveNulls(), new DatasetsListToChartjsDataObject(), new AssignColorsToDatasets([['borderColor', 1], ['backgroundColor', 0.1]], ds => ds.metric.rgb)];\n      let res = (0, _sgbBaseChart.applyProcessors)(tsdb_data, processors);\n      if (res.datasets.length == 0) {\n        return null;\n      }\n      return res;\n    }\n    unique(list, to_key_fn) {\n      if (!to_key_fn) {\n        to_key_fn = x => x;\n      }\n      let keys = new Set();\n      return list.reduce((acc, current) => {\n        let key = to_key_fn(current);\n        if (!keys.has(key)) {\n          keys.add(key);\n          acc.push(current);\n        }\n        return acc;\n      }, []);\n    }\n    getAllDates(datasets) {\n      return datasets.reduce(function (acc, ds) {\n        return acc.concat(ds.data.map(dp => dp.x));\n      }, []);\n    }\n    toYAxisDef(dataset) {\n      //  TODO: document metric 'api'\n      let metric = dataset.metric;\n      let should_have_gridlines = !this.has_y_axis_gridlines && metric.axisPosition == 'left';\n      if (should_have_gridlines) {\n        this.set('has_y_axis_gridlines', true);\n      }\n      let scaleLabel = {\n        display: true\n      };\n      let unit = dataset.unit || metric.unit;\n      let axis_label_fn = metric.callback;\n      if (!axis_label_fn) {\n        scaleLabel = {};\n        axis_label_fn = function (value, index, values) {\n          // eslint-disable-line no-unused-vars\n          value = round_from_metric(metric, value);\n          return `${value} ${unit}`;\n        };\n      }\n      if (metric.display_scale_label) {\n        scaleLabel.labelString = metric.unit;\n      }\n      let axisDef = {\n        id: dataset.yAxisID,\n        type: 'linear',\n        position: metric.axisPosition,\n        scaleLabel: scaleLabel,\n        grid: {\n          color: '#5a658340',\n          display: should_have_gridlines\n        },\n        ticks: {\n          callback: axis_label_fn\n        }\n      };\n      ['min', 'max', 'beginAtZero'].forEach(function (propName) {\n        let val = metric[propName];\n        if (val != null) {\n          axisDef[propName] = val;\n        }\n      });\n      return axisDef;\n    }\n  }) || _class;\n});","define(\"sgb-object-graphs/components/sgb-ember-bar-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-ember-chart\"], function (_exports, _sgbEmberChart) {\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  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbEmberBarChart = _exports.default = classic(_class = class SgbEmberBarChart extends _sgbEmberChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"type\", 'bar');\n    }\n  }) || _class;\n});","define(\"sgb-object-graphs/components/sgb-ember-chart\", [\"exports\", \"@ember-decorators/component\", \"@ember-decorators/object\"], function (_exports, _component, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _dec4, _dec5, _class, _class2, _descriptor, _descriptor2;\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  /* global Chart */\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbEmberChart = _exports.default = (_dec = (0, _component.tagName)('canvas'), _dec2 = (0, _component.attributeBindings)('width', 'height'), _dec3 = Ember.computed.or('config', 'chartjsOptions'), _dec4 = Ember.computed('config2.options', 'onlyShowDataLines', 'title', 'useMinimalSpaceForChart'), _dec5 = Ember.computed.alias('config2.data'), classic(_class = _dec(_class = _dec2(_class = (_class2 = class SgbEmberChart extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"config2\", _descriptor, this);\n      _initializerDefineProperty(this, \"data\", _descriptor2, this);\n    }\n    didInsertElement() {\n      super.didInsertElement(...arguments);\n      this.fixContainerHeight(this.element);\n      this.createChart();\n    }\n    willDestroyElement() {\n      super.willDestroyElement(...arguments);\n      let chart = this.chart;\n      if (chart) {\n        chart.destroy();\n      }\n    }\n    didUpdateAttrs() {\n      super.didUpdateAttrs(...arguments);\n      this.updateChart();\n    }\n\n    /*\n      @observes('data.datasets.0.data.length')\n      refresh_updateChart() {\n      }\n    */\n\n    inlined_updateChart() {\n      // console.log('inlined_updateChart', this.data);\n      let chart = this.chart;\n      let data = this.data;\n      let options = this.options;\n      let animate = this.animate;\n      if (chart) {\n        let countDatasets = chart.data.datasets.length;\n        let countDatasetsMatch = 0;\n        for (const od of chart.data.datasets) {\n          for (const nd of this.data.datasets) {\n            if (od.label == nd.label) {\n              countDatasetsMatch++;\n            }\n          }\n        }\n        if (!countDatasetsMatch && chart.data.labels.length) {\n          for (const od of chart.data.labels) {\n            for (const nd of this.data.labels) {\n              if (od == nd) {\n                countDatasetsMatch++;\n              }\n            }\n          }\n        }\n\n        // console.log('Dataset count...', countDatasets, countDatasetsMatch, this.data, this.chart.data);\n        if (countDatasets == countDatasetsMatch) {\n          for (const od of chart.data.datasets) {\n            for (const nd of this.data.datasets) {\n              if (od.label == nd.label) {\n                od.data = nd.data;\n              }\n            }\n          }\n          chart.config.data.labels = data.labels;\n        } else {\n          chart.config.data = data;\n        }\n        chart.config.options = options;\n        if (animate) {\n          chart.update();\n        } else {\n          chart.update(0);\n        }\n      }\n    }\n    inlined_updateChart2() {\n      const chart = this.chart;\n      // chart.data.labels.push(label);\n      chart.data.datasets.forEach(dataset => {\n        const data = dataset.data;\n        const last = data[data.length - 1];\n        const x = new Date(last.x.getTime() + 1000 * 3600 * 2);\n        const y = (parseFloat(last.y) + (Math.random() > 0.5 ? 1 : -1) * parseFloat(Math.random().toFixed(2))).toFixed(2);\n        dataset.data.push({\n          x,\n          y\n        });\n      });\n      chart.update();\n    }\n\n    /* inline end */\n\n    didRender() {\n      super.didRender(...arguments);\n      let heightVh = this.heightVh;\n      if (heightVh) {\n        if (!this.element.parentNode.style.height) {\n          this.element.parentNode.setAttribute('style', `height: ${heightVh}`);\n        }\n      }\n    }\n    fixContainerHeight(element) {\n      // height fix\n      if (!this.onlyShowDataLines) {\n        let {\n          clientWidth\n        } = element.parentNode;\n        if (clientWidth < 480) {\n          let approximateHeight = this.calculateApproximateHeight(clientWidth);\n          if (approximateHeight) {\n            element.parentNode.setAttribute('style', `height: ${approximateHeight}px`);\n            this.set('useMinimalSpaceForChart', true);\n          }\n        }\n      }\n    }\n    calculateApproximateHeight(width) {\n      // at 400px width, two 16 char labels can be rendered in same line\n      let longThreshold = Math.ceil(width * 16 / 400);\n      let datasets = this.get('data.datasets');\n      if (datasets) {\n        let totalLabels = datasets.length;\n        let longLines = datasets.filter(ds => {\n          return ds.label && ds.label.length > longThreshold;\n        }).length;\n        let lines = Math.ceil((totalLabels - longLines) / 2) + longLines;\n        let contentHeight = this.type == 'pie' ? parseInt(width / 2) : 100;\n        // top legend + chart + bottom axis\n        return lines * 22 + contentHeight + 60;\n      }\n    }\n    setNestedProperty(target, propNames, prop, val) {\n      propNames.forEach(propName => {\n        if (target[propName] == null) {\n          target[propName] = {};\n        }\n        target = target[propName];\n      });\n      target[prop] = val;\n    }\n    get options() {\n      let options = this.get('config2.options');\n      if (!options) {\n        return options;\n      } // TODO: options = {}; would cause issues further down, but should be like that\n      // fontColor is set from the optionsprocessor now\n\n      let useMinimalSpaceForChart = this.useMinimalSpaceForChart;\n      if (useMinimalSpaceForChart) {\n        options.maintainAspectRatio = false;\n      }\n      let onlyShowDataLines = this.onlyShowDataLines;\n      if (onlyShowDataLines != null) {\n        this.setNestedProperty(options, ['legend'], 'display', false);\n        // TODO: this only applies to line charts?\n        [options.scales.x, options.scales.y].forEach(axis => {\n          if (axis) {\n            axis.display = !onlyShowDataLines;\n          }\n          ;\n        });\n      }\n\n      /*    \n          if (!options.plugins) {\n            options.plugins = {};\n          }\n          options.plugins.zoom = {\n            zoom: {\n              wheel: {\n                enabled: true,\n              },\n              pinch: {\n                enabled: true,\n              },\n              mode: 'xy',\n            },\n            pan: {\n              enabled: true,\n              mode: 'xy',\n            }\n          };\n      */\n\n      return options;\n    }\n    updateChart() {\n      // overwrite from super\n      if (this.hasData() && !this.fontColorChanged() && this.willChartJSUpdateFromOptions()) {\n        console.log('updateChart: inline');\n        this.inlined_updateChart(...arguments);\n      } else {\n        console.log('updateChart: recreate');\n        this.recreateChart();\n      }\n    }\n    willChartJSUpdateFromOptions() {\n      // hook for child implementations\n      return true;\n    }\n    hasData() {\n      return this.data != null;\n    }\n    fontColorChanged() {\n      let origColor = this.get('chart.legend.options.labels.fontColor');\n      let newColor = this.get('options.legend.labels.fontColor');\n      return origColor != newColor;\n    }\n    createChart() {\n      Chart.defaults.elements.line.fill = true;\n      let chart = new Chart(this.element, {\n        type: this.type,\n        data: JSON.parse(JSON.stringify(this.data)),\n        options: this.options,\n        defaults: {\n          color: '#00ff00'\n        }\n      });\n      console.log('createChart', {\n        type: this.type,\n        data: this.data,\n        options: this.options\n      }, chart, this);\n      this.set('chart', chart);\n    }\n    destroyChart() {\n      if (this.chart) {\n        this.chart.destroy();\n      }\n    }\n    recreateChart() {\n      this.destroyChart();\n      this.createChart();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"config2\", [_dec3], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class2.prototype, \"options\", [_dec4], Object.getOwnPropertyDescriptor(_class2.prototype, \"options\"), _class2.prototype), _descriptor2 = _applyDecoratedDescriptor(_class2.prototype, \"data\", [_dec5], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-ember-line-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-ember-chart\"], function (_exports, _sgbEmberChart) {\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  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbEmberLineChart = _exports.default = classic(_class = class SgbEmberLineChart extends _sgbEmberChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"type\", 'line');\n    }\n    willChartJSUpdateFromOptions() {\n      // problem: options is only used during initial rendering\n      // see after theme change (without this methodD)\n      // [Chart.instances[0].config.options.legend.labels.fontColor, Chart.instances[0].legend.options.labels.fontColor]\n      //  [\"blue\", \"green\"]\n      // TEST: return !this.scalesChanged();\n      return true;\n    }\n    scalesChanged() {\n      const chart = this.chart;\n      const scales = this.get('options.scales');\n      let newScales = 0;\n      if (scales) {\n        for (const [key, value] of Object.entries(scales)) {\n          if (chart[value.id] == undefined) {\n            newScales++;\n          }\n        }\n      }\n      return newScales > 0;\n    }\n  }) || _class;\n});","define(\"sgb-object-graphs/components/sgb-ember-pie-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-ember-chart\"], function (_exports, _sgbEmberChart) {\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  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbEmberPieChart = _exports.default = classic(_class = class SgbEmberPieChart extends _sgbEmberChart.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"type\", 'pie');\n    }\n  }) || _class;\n});","define(\"sgb-object-graphs/components/sgb-group-watthours-bar-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-base-chart\", \"sgb-object-graphs/components/sgb-device-line-chart\", \"sgb-object-graphs/components/sgb-group-watthours-pie-chart\"], function (_exports, _sgbBaseChart, _sgbDeviceLineChart, _sgbGroupWatthoursPieChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _class, _class2, _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 classic = __EMBER_CLASSIC_DECORATOR;\n  class ReduceDataIntoSlots {\n    constructor(slot_reduce_fn, reduce_initial_value) {\n      this.slot_reduce_fn = slot_reduce_fn;\n      this.reduce_initial_value = reduce_initial_value;\n    }\n    process(openTsdbData) {\n      let self = this;\n      let slot_starts = this.get_slot_starts(this.to_timestamps(openTsdbData));\n      openTsdbData.forEach(function (single_tsdb_data) {\n        let new_dps = slot_starts.map(slot => [slot, self.reduce_initial_value]);\n        single_tsdb_data.dps.forEach(function ([ts, val]) {\n          let slots_lte_ts = slot_starts.filter(slot => ts < slot);\n          let slot_index = slot_starts.length - slots_lte_ts.length - 1;\n          let dp = new_dps[slot_index];\n          if (dp == undefined) {\n            console.error({\n              msg: 'cant find slot',\n              ts: ts,\n              slots_lte_ts: slots_lte_ts,\n              slot_index: slot_index,\n              slot_starts: slot_starts\n            });\n          } else {\n            dp[1] = self.slot_reduce_fn(dp[1], val);\n          }\n        });\n        single_tsdb_data.dps = new_dps;\n      });\n      return openTsdbData;\n    }\n    to_timestamps(openTsdbData) {\n      let timestamps = openTsdbData.map(metric => metric.dps.map(dp => dp[0]));\n      // when timestamps.length == 0, TypeError: Reduce of empty array with no initial value\n      return timestamps.reduce((acc, current) => acc.concat(current), []);\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(ReduceDataIntoSlots, true);\n  window.__CLASSIC_OWN_CLASSES__.set(ReduceDataIntoSlots, false);\n  class ReduceDataIntoNSlots extends ReduceDataIntoSlots {\n    // eslint-disable-line no-unused-vars\n    constructor(nr_of_slots, slot_reduce_fn, reduce_initial_value) {\n      super(slot_reduce_fn, reduce_initial_value);\n      this.nr_of_slots = nr_of_slots;\n    }\n    get_slot_starts(values) {\n      values.sort();\n      if (values.length <= this.nr_of_slots) {\n        return values;\n      }\n      let mn = values[0];\n      let mx = values[values.length - 1];\n      let step = Math.floor((mx - mn) / this.nr_of_slots);\n      let res = [];\n      for (var i = 0; i < this.nr_of_slots; i++) {\n        res.push(mn + i * step);\n      }\n      return res;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(ReduceDataIntoNSlots, true);\n  window.__CLASSIC_OWN_CLASSES__.set(ReduceDataIntoNSlots, false);\n  class ReduceDataIntoHourSlots extends ReduceDataIntoSlots {\n    get_slot_starts(values) {\n      if (values.length == 0) {\n        return values;\n      }\n      let mn = Math.min(...values);\n      let mx = Math.max(...values);\n      const hour_in_msec = 1000 * 60 * 60;\n      let res = [];\n      for (let hourStartTime = mn; hourStartTime < mx; hourStartTime += hour_in_msec) {\n        res.push(hourStartTime);\n      }\n      return res;\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(ReduceDataIntoHourSlots, false);\n  class TsdbMetricResultToChartjsBarChartData {\n    hex2rgb_list(input) {\n      if (input == null) {\n        return input;\n      }\n      return input.replace('#', '').match(/.{2}/g).map(hex => parseInt(hex, 16));\n    }\n    process(openTsdbData) {\n      let labels = []; // if null, TypeError: Cannot read property 'map' of null ir Cannot read property 'length' of null\n      let self = this;\n      let unit = null;\n      let datasets = openTsdbData.map(function (single_tsdb_metric) {\n        if (unit == null) {\n          unit = single_tsdb_metric.sgb.si.unit;\n        } else if (unit != single_tsdb_metric.sgb.si.unit) {\n          //  TODO: need to consolidate units across datasets for the same unit - in ApplySIUnits?\n          console.error(`mutliple units - first ${unit}, now ${single_tsdb_metric.sgb.si.unit}`);\n        }\n        if (labels.length == 0) {\n          labels = single_tsdb_metric.dps.map(dp => new Date(dp[0]));\n        }\n        return {\n          label: single_tsdb_metric.sgb_label,\n          data: single_tsdb_metric.dps.map(dp => dp[1]),\n          sgb: {\n            color: self.hex2rgb_list(single_tsdb_metric.sgb_color)\n          }\n        };\n      });\n      if (!datasets || datasets.length == 0) {\n        // TODO: allow sending some error message too\n        console.warn(`Converted datasets was empty - incoming tsdb data had ${openTsdbData.length}`);\n        return null;\n      }\n      return {\n        datasets: datasets,\n        labels: labels,\n        sgb: {\n          unit: unit\n        }\n      };\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(TsdbMetricResultToChartjsBarChartData, false);\n  class EnsureSameUnitAcrossAlTsdbMetrics {\n    process(openTsdbData) {\n      let max_si = null;\n      openTsdbData.forEach(function (single_tsdb_data) {\n        if (max_si == null || max_si.denom < single_tsdb_data.sgb.si.denom) {\n          max_si = single_tsdb_data.sgb.si;\n        }\n      });\n      openTsdbData.forEach(function (single_tsdb_data) {\n        if (max_si.denom != single_tsdb_data.sgb.si.denom) {\n          let delta_denom = max_si.denom / single_tsdb_data.sgb.si.denom;\n          single_tsdb_data.sgb.si = max_si;\n          single_tsdb_data.dps.forEach(function (dps) {\n            dps[1] /= delta_denom;\n          });\n        }\n      });\n      return openTsdbData;\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(EnsureSameUnitAcrossAlTsdbMetrics, false);\n  class EnsureBarChartsAreAllFullyPresentOnScreenAfterTimeLabelsAreApplied {\n    constructor(allDates) {\n      this.allDates = allDates.slice().sort();\n      this.mn = allDates[0];\n      this.mx = allDates[allDates.length - 1];\n    }\n    process(options) {\n      let time = options.scales.x.time;\n      let ticks = options.scales.x.ticks;\n      let stepSizeInMilliseconds = (time.stepSize || 1) * 60 * 1000;\n      let offsetIMilliseconds = stepSizeInMilliseconds / 2;\n      // options.scales.x.min = new Date(this.mn.getTime() - offsetIMilliseconds);\n      // options.scales.x.max = new Date(this.mx.getTime() + offsetIMilliseconds);\n      return options;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(EnsureBarChartsAreAllFullyPresentOnScreenAfterTimeLabelsAreApplied, true);\n  window.__CLASSIC_OWN_CLASSES__.set(EnsureBarChartsAreAllFullyPresentOnScreenAfterTimeLabelsAreApplied, false);\n  let SgbGroupWatthoursBarChart = _exports.default = (_dec = Ember.inject.service('object-lookup-for-charts'), classic(_class = (_class2 = class SgbGroupWatthoursBarChart extends _sgbBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"objectLookup\", _descriptor, this);\n      _defineProperty(this, \"chartComponentName\", 'sgb-ember-bar-chart');\n      _defineProperty(this, \"decimalPlaces\", 4);\n    }\n    opentsdb_to_chartjs(openTsdbData) {\n      // only needed for testing dummy data\n      this.objectLookup.reset?.();\n      let processors = [new _sgbGroupWatthoursPieChart.MakeACopyOfTheTsdbData(), new _sgbGroupWatthoursPieChart.DeviceOrDeviceGroupLevelDataMerger(this.objectLookup, this.aggregateLevel), new _sgbBaseChart.RemoveOnlyZeroMetrics(), new _sgbGroupWatthoursPieChart.SortByIntegerTags(['device_type_id', 'device_id']), new _sgbGroupWatthoursPieChart.AssignGroup(this.objectLookup), new _sgbGroupWatthoursPieChart.AssignColorTintsBasedOnGroup(), new ReduceDataIntoHourSlots((a, b) => a + b, 0), new _sgbDeviceLineChart.ForEachTsdbSingleMetric(new _sgbGroupWatthoursPieChart.ApplySIUnits(single_tsdb_data => single_tsdb_data.dps,\n      // TODO: introduce NullMetric later down the line\n      single_tsdb_data => 'Wh',\n      // eslint-disable-line no-unused-vars\n      dps => dps[1], _sgbGroupWatthoursPieChart.map_in_place_dps_val)), new EnsureSameUnitAcrossAlTsdbMetrics(), new _sgbDeviceLineChart.ForEachTsdbSingleMetric(new _sgbDeviceLineChart.RoundDpsValuesFromSgbMetric(this.decimalPlaces)), new TsdbMetricResultToChartjsBarChartData(), new _sgbDeviceLineChart.AssignColorsToDatasets([['backgroundColor', 0.8], ['borderColor', 1], ['hoverBackgroundColor', 0.9]], dp => dp.sgb.color)\n      //new ApplySIUnits(d => d.datasets[0].data, data => 'Wh', x => x, map_in_place_list), // TODO: introduce  wrappers InChartJS vs InTsdb?\n      //new FixDecimalPlaces(d => d.datasets[0].data, 2, map_in_place_list)\n      ];\n      return (0, _sgbBaseChart.applyProcessors)(openTsdbData, processors);\n    }\n    getOptions(data) {\n      let unit = data.sgb && data.sgb.unit ? ` ${data.sgb.unit}` : '';\n      let options = {\n        plugins: {\n          tooltip: {\n            position: 'nearest',\n            mode: 'point',\n            intersect: false\n          }\n        },\n        legend: {\n          position: 'top'\n        },\n        scales: {\n          x: {\n            stacked: true,\n            ticks: {\n              autoSkip: false\n            },\n            // ensure all labels are shown there\n            grid: {\n              color: '#5a658340'\n            }\n          },\n          y: {\n            stacked: true,\n            ticks: {\n              callback: function (value, index, values) {\n                // eslint-disable-line no-unused-vars\n                let rounded = value.toFixed(2);\n                return `${rounded}${unit}`;\n              }\n            },\n            grid: {\n              color: '#5a658340'\n            }\n          }\n        }\n      };\n      let timeFormat = this.timeFormat; // TODO: move up?\n      let nrOfXAxisLabels = this.nrOfXAxisLabels; // TODO: move up?\n      let allDates = data.labels;\n      let processors = [new _sgbDeviceLineChart.OptionsApplyFontColor(this.fontColor, true), new _sgbDeviceLineChart.OptionsTimeLabelsForAxisX(allDates, nrOfXAxisLabels, timeFormat), new EnsureBarChartsAreAllFullyPresentOnScreenAfterTimeLabelsAreApplied(allDates)];\n      return (0, _sgbBaseChart.applyProcessors)(options, processors);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"objectLookup\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});","define(\"sgb-object-graphs/components/sgb-group-watthours-charts\", [\"exports\", \"@ember-decorators/component\", \"sgb-object-graphs/templates/components/sgb-group-watthours-charts\"], function (_exports, _component, _sgbGroupWatthoursCharts) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _class, _class2, _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 classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbGroupWatthoursCharts = _exports.default = (_dec = (0, _component.layout)(_sgbGroupWatthoursCharts.default), _dec2 = Ember.inject.service('emberenv'), classic(_class = _dec(_class = (_class2 = class SgbGroupWatthoursCharts extends Ember.Component {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"emberenv\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"emberenv\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-group-watthours-pie-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-base-chart\", \"sgb-object-graphs/components/sgb-device-line-chart\"], function (_exports, _sgbBaseChart, _sgbDeviceLineChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.SortByIntegerTags = _exports.MakeACopyOfTheTsdbData = _exports.DeviceOrDeviceGroupLevelDataMerger = _exports.AssignGroup = _exports.AssignColorTintsBasedOnGroup = _exports.ApplySIUnits = void 0;\n  _exports.map_in_place_dps_val = map_in_place_dps_val;\n  _exports.map_in_place_list = map_in_place_list;\n  var _dec, _class, _class2, _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 classic = __EMBER_CLASSIC_DECORATOR;\n  class MakeACopyOfTheTsdbData {\n    process(openTsdbData) {\n      return JSON.parse(JSON.stringify(openTsdbData));\n    }\n  }\n  _exports.MakeACopyOfTheTsdbData = MakeACopyOfTheTsdbData;\n  window.__CLASSIC_OWN_CLASSES__.set(MakeACopyOfTheTsdbData, false);\n  class DatasetMerger {\n    process(tsdb_data) {\n      let keyed_tsdb_data = this.map(tsdb_data);\n      let res = this.reduce(keyed_tsdb_data);\n      return res;\n    }\n    map(tsdb_data) {\n      let self = this;\n      let res = {};\n      tsdb_data.forEach(function (single_metric_result) {\n        let key = self.to_key(single_metric_result);\n        if (res[key] == undefined) {\n          res[key] = [];\n        }\n        res[key].push(single_metric_result);\n      });\n      return res;\n    }\n    reduce(keyed_tsdb_data) {\n      let keys = [];\n      for (var key in keyed_tsdb_data) {\n        keys.push(key);\n      }\n      return keys.map(key => this.merge(key, keyed_tsdb_data[key]));\n    }\n  }\n  window.__CLASSIC_OWN_CLASSES__.set(DatasetMerger, false);\n  class DeviceGroupLevelDatasetMerger extends DatasetMerger {\n    constructor(objectLookup) {\n      super();\n      this.group_assigner = new AssignGroup(objectLookup); // TODO: make it 'require' AssignGroup to run before?\n    }\n    to_key(single_tsdb_metric_result) {\n      return this.group_assigner.to_group(single_tsdb_metric_result).legend_name;\n    }\n    merge(key, tsdb_metric_lists_to_merge) {\n      let single_result = tsdb_metric_lists_to_merge.reduce(function (acc, item) {\n        if (acc.tags.device_id != null) {\n          delete acc.tags['device_id'];\n        }\n        acc.dps = acc.dps.concat(item.dps);\n        return acc;\n      });\n      single_result.sgb_label = key;\n      return single_result;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(DeviceGroupLevelDatasetMerger, true);\n  window.__CLASSIC_OWN_CLASSES__.set(DeviceGroupLevelDatasetMerger, false);\n  class DeviceLevelDatasetMerger extends DatasetMerger {\n    constructor(objectLookup) {\n      super();\n      this.objectLookup = objectLookup;\n    }\n    to_key(single_tsdb_metric_result) {\n      return parseInt(single_tsdb_metric_result.tags['device_id']);\n    }\n    merge(key, tsdb_metric_lists_to_merge) {\n      if (tsdb_metric_lists_to_merge.length != 1) {\n        console.error(`Expected a single entry in tsdb_metric_lists_to_merge, got ${tsdb_metric_lists_to_merge.length}`);\n        (0, _sgbBaseChart.dump_current)(tsdb_metric_lists_to_merge);\n      }\n      let single_result = tsdb_metric_lists_to_merge[0];\n      single_result.sgb_label = this.to_label(single_result);\n      return single_result;\n    }\n    to_label(single_device_tsdb_data) {\n      let object = this.objectLookup.toDetails(single_device_tsdb_data.tags.device_id);\n      return `${object.text}`;\n      // return `${object.text} (${object.id})`;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(DeviceLevelDatasetMerger, true);\n  window.__CLASSIC_OWN_CLASSES__.set(DeviceLevelDatasetMerger, false);\n  class AssignColorTintsBasedOnGroup {\n    process(tsdb_data) {\n      let group_name_to_color_tint_index = {};\n      tsdb_data.forEach(function (single_tsdb_data) {\n        let group_name = single_tsdb_data.sgb_group.legend_name;\n        if (group_name_to_color_tint_index[group_name] == null) {\n          group_name_to_color_tint_index[group_name] = 0;\n        }\n        let current_tint_index = group_name_to_color_tint_index[group_name];\n        let color = single_tsdb_data.sgb_group.color_tints[current_tint_index];\n        if (color == null) {\n          console.error(`group legend name ${group_name} needs to many tints - cannot give one for ${current_tint_index}`); // eslint-disable-line no-console\n        } else {\n          group_name_to_color_tint_index[group_name] += 1;\n        }\n        single_tsdb_data.sgb_color = color;\n      });\n      return tsdb_data;\n    }\n  }\n  _exports.AssignColorTintsBasedOnGroup = AssignColorTintsBasedOnGroup;\n  window.__CLASSIC_OWN_CLASSES__.set(AssignColorTintsBasedOnGroup, false);\n  class SortByIntegerTags {\n    constructor(tags_to_sort_by) {\n      this.tags_to_sort_by = tags_to_sort_by;\n    }\n    cmp(a, b) {\n      let property_name = null,\n        cmp_res = null;\n      for (var i = 0; i < this.tags_to_sort_by.length; i++) {\n        property_name = this.tags_to_sort_by[i];\n        cmp_res = parseInt(a.tags[property_name]) - parseInt(b.tags[property_name]);\n        if (cmp_res != 0) {\n          return cmp_res;\n        }\n      }\n      return 0;\n    }\n    process(tsdb_data) {\n      tsdb_data.sort((a, b) => this.cmp(a, b));\n      return tsdb_data;\n    }\n  }\n  _exports.SortByIntegerTags = SortByIntegerTags;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(SortByIntegerTags, true);\n  window.__CLASSIC_OWN_CLASSES__.set(SortByIntegerTags, false);\n  class AssignGroup {\n    constructor(objectLookup) {\n      this.objectLookup = objectLookup;\n    }\n    process(tsdb_data) {\n      tsdb_data.forEach(single_tsdb_data => this.assign_group(single_tsdb_data));\n      return tsdb_data;\n    }\n    assign_group(single_tsdb_data) {\n      single_tsdb_data.sgb_group = this.to_group(single_tsdb_data);\n    }\n    to_group(single_tsdb_data) {\n      let device_id = single_tsdb_data.tags.device_id;\n      let cdt_id = single_tsdb_data.tags.controlled_type_id;\n      let group = this.objectLookup.toGroup(device_id, cdt_id);\n      return group;\n    }\n  }\n  _exports.AssignGroup = AssignGroup;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(AssignGroup, true);\n  window.__CLASSIC_OWN_CLASSES__.set(AssignGroup, false);\n  class TsdbToPieChartJSData {\n    constructor(reduce_fn, acc_init_value) {\n      this.reduce_fn = reduce_fn;\n      this.acc_init_value = acc_init_value;\n    }\n    process(tsdb_data) {\n      let data = [],\n        colors = [],\n        labels = [];\n      let self = this;\n      tsdb_data.forEach(function (single_tsdb_data) {\n        labels.push(single_tsdb_data.sgb_label);\n        colors.push(single_tsdb_data.sgb_color);\n        let val = single_tsdb_data.dps.reduce(self.reduce_fn, self.acc_init_value);\n        data.push(val);\n      });\n      return {\n        datasets: [{\n          data: data,\n          backgroundColor: colors,\n          borderColor: colors,\n          borderWidth: 1\n        }],\n        labels: labels\n      };\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(TsdbToPieChartJSData, true);\n  window.__CLASSIC_OWN_CLASSES__.set(TsdbToPieChartJSData, false);\n  function map_in_place_dps_val(dps, map_fn) {\n    for (var i = 0; i < dps.length; i++) {\n      let dps_item = dps[i];\n      let input = dps_item[1];\n      let res = map_fn(input);\n      dps_item[1] = res;\n      if (res == null || Number.isNaN(res)) {\n        (0, _sgbBaseChart.dump_current)({\n          msg: 'something went wrong - got null/NaN',\n          input: input,\n          res: res\n        });\n      }\n    }\n  }\n  function map_in_place_list(list, map_fn) {\n    for (var i = 0; i < list.length; i++) {\n      let input = list[i];\n      let res = map_fn(input);\n      list[i] = res;\n      if (res == null || Number.isNaN(res)) {\n        (0, _sgbBaseChart.dump_current)({\n          msg: 'something went wrong - got null/NaN',\n          input: input,\n          res: res\n        });\n      }\n    }\n  }\n  class ApplySIUnits {\n    constructor(data_to_array_to_modify_fn, data_to_unit_fn, array_to_num_fn, map_in_place_fn) {\n      this.data_to_array_to_modify_fn = data_to_array_to_modify_fn;\n      this.data_to_unit_fn = data_to_unit_fn;\n      this.array_to_num_fn = array_to_num_fn || function (x) {\n        return x;\n      };\n      this.map_in_place_fn = map_in_place_fn;\n      if (!this.map_in_place_fn) {\n        throw new Error('map_in_place_fn is undefined');\n      }\n    }\n    isNumber(x) {\n      return x != undefined && !Number.isNaN(x);\n    }\n    process(data) {\n      let self = this;\n      let array_to_modify = this.data_to_array_to_modify_fn(data);\n      let abs_values = array_to_modify.map(self.array_to_num_fn).map(Math.abs);\n      let mx = Math.max(...abs_values);\n      function when_error_recover(msg, debug_obj) {\n        console.error(`ApplySIUnits - ${msg} (see below), not modifying things`);\n        (0, _sgbBaseChart.dump_current)(debug_obj);\n        data.sgb.si.unit = self.data_to_unit_fn(data);\n      }\n      if (data.sgb == null) {\n        data.sgb = {};\n      }\n      if (data.sgb.si == null) {\n        data.sgb.si = {\n          prefix: null,\n          denom: 1,\n          unit: null\n        };\n      }\n      let si = data.sgb.si;\n      if (!this.isNumber(mx)) {\n        when_error_recover('Could not find max value of', {\n          array_to_modify: array_to_modify,\n          abs_values: abs_values\n        });\n      } else {\n        [si.prefix, si.denom] = this.get_prefix_denom_for(mx);\n        if (si.prefix == undefined || !this.isNumber(si.denom)) {\n          when_error_recover('Could not find prefix/denom', {\n            mx: mx,\n            prefix: si.prefix,\n            denom: si.denom\n          });\n        } else {\n          self.map_in_place_fn(array_to_modify, x => x / si.denom);\n          si.unit = self.data_to_unit_fn(data);\n          if (si.unit != undefined) {\n            si.unit = `${si.prefix}${si.unit}`;\n          } else {\n            // silent this output\n            /*\n              when_error_recover(\n                'unit is undefined for some reason',\n                self.data_to_unit_fn\n              );\n            */\n          }\n        }\n      }\n      return data;\n    }\n    get_prefix_denom_for(val) {\n      const sorted_prefix_denom_list = [['M', Math.pow(10, 6)], ['k', Math.pow(10, 3)]];\n      let units = sorted_prefix_denom_list.filter(prefix_denom => val >= prefix_denom[1]).concat([['', 1]]);\n      return units[0];\n    }\n  }\n  _exports.ApplySIUnits = ApplySIUnits;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(ApplySIUnits, true);\n  window.__CLASSIC_OWN_CLASSES__.set(ApplySIUnits, false);\n  class FixDecimalPlaces {\n    constructor(data_to_array_to_modify_fn, fixed_digits, map_in_place_fn) {\n      this.data_to_array_to_modify_fn = data_to_array_to_modify_fn;\n      this.fixed_digits = fixed_digits;\n      this.map_in_place_fn = map_in_place_fn;\n    }\n    process(obj) {\n      let array_to_modify = this.data_to_array_to_modify_fn(obj);\n      this.map_in_place_fn(array_to_modify, x => x.toFixed(this.fixed_digits));\n      return obj;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(FixDecimalPlaces, true);\n  window.__CLASSIC_OWN_CLASSES__.set(FixDecimalPlaces, false);\n  class DeviceOrDeviceGroupLevelDataMerger {\n    constructor(objectLookup, aggregateLevel) {\n      this.max_nr_of_pie_slices = 15; // Hyatt Regency Calgary\n      this.objectLookup = objectLookup;\n      this.aggregateLevel = aggregateLevel;\n    }\n    process(openTsdbData) {\n      return this.get_processor(openTsdbData.length).process(openTsdbData);\n    }\n    get_processor(number_of_devices) {\n      if (this.aggregateLevel != 'group' && number_of_devices <= this.max_nr_of_pie_slices) {\n        return new DeviceLevelDatasetMerger(this.objectLookup);\n      } else {\n        return new DeviceGroupLevelDatasetMerger(this.objectLookup);\n      }\n    }\n  }\n  _exports.DeviceOrDeviceGroupLevelDataMerger = DeviceOrDeviceGroupLevelDataMerger;\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(DeviceOrDeviceGroupLevelDataMerger, true);\n  window.__CLASSIC_OWN_CLASSES__.set(DeviceOrDeviceGroupLevelDataMerger, false);\n  let SgbGroupWatthoursPieChart = _exports.default = (_dec = Ember.inject.service('object-lookup-for-charts'), classic(_class = (_class2 = class SgbGroupWatthoursPieChart extends _sgbBaseChart.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"objectLookup\", _descriptor, this);\n      _defineProperty(this, \"chartComponentName\", 'sgb-ember-pie-chart');\n    }\n    opentsdb_to_chartjs(openTsdbData) {\n      // only needed for testing dummy data\n      this.objectLookup.reset?.();\n      let processors = [new MakeACopyOfTheTsdbData(), new _sgbBaseChart.RemoveOnlyZeroMetrics(), new DeviceOrDeviceGroupLevelDataMerger(this.objectLookup, this.aggregateLevel), new SortByIntegerTags(['device_type_id', 'device_id']), new AssignGroup(this.objectLookup), new AssignColorTintsBasedOnGroup(), new TsdbToPieChartJSData(function (acc, [dps_date, dps_value]) {\n        return acc + dps_value;\n      }, 0),\n      // eslint-disable-line no-unused-vars\n      new ApplySIUnits(d => d.datasets[0].data, data => 'Wh',\n      // eslint-disable-line no-unused-vars\n      x => x, map_in_place_list),\n      // TODO: introduce  wrappers InChartJS vs InTsdb?\n      new FixDecimalPlaces(d => d.datasets[0].data, 2, map_in_place_list)];\n      return (0, _sgbBaseChart.applyProcessors)(openTsdbData, processors);\n    }\n\n    //  TODO: display the helper to convert an object(payload) to display name\n    // TODO: modify server side so we get per device id and isn't aggregated up\n    // TODO: modify server side to accept device_ids and/or parent_group_ids in the url/payload\n    // TODO: modify has chart to behave based on this\n\n    getOptions(data) {\n      // eslint-disable-line no-unused-vars\n      let options = {\n        aspectRatio: 2,\n        legend: {\n          position: 'top' // default is top\n        },\n        plugins: {\n          tooltip: {\n            callbacks: {\n              label: function (context) {\n                return `${context.label}: ${context.formattedValue} ${data?.sgb?.si?.unit}`;\n              }\n            }\n          }\n        }\n      };\n      let processors = [new _sgbDeviceLineChart.OptionsApplyFontColor(this.fontColor, false)];\n      return (0, _sgbBaseChart.applyProcessors)(options, processors);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"objectLookup\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2)) || _class);\n});","define(\"sgb-object-graphs/components/sgb-hours-interval-link\", [\"exports\", \"@ember-decorators/component\", \"sgb-object-graphs/templates/components/sgb-hours-interval-link\"], function (_exports, _component, _sgbHoursIntervalLink) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _dec, _dec2, _dec3, _class, _class2;\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 classic = __EMBER_CLASSIC_DECORATOR; //import LinkComponent from '@ember/routing/link-component';\n  let SgbHoursIntervalLink = _exports.default = (_dec = (0, _component.tagName)(''), _dec2 = (0, _component.layout)(_sgbHoursIntervalLink.default), _dec3 = Ember._action, classic(_class = _dec(_class = _dec2(_class = (_class2 = class SgbHoursIntervalLink extends Ember.Component {\n    changeInterval(start_hours_ago, end_hours_ago) {\n      this.changeIntervalHandler?.(start_hours_ago, end_hours_ago);\n    }\n  }, _applyDecoratedDescriptor(_class2.prototype, \"changeInterval\", [_dec3], Object.getOwnPropertyDescriptor(_class2.prototype, \"changeInterval\"), _class2.prototype), _class2)) || _class) || _class) || _class);\n});","define(\"sgb-object-graphs/components/sgb-singlestat-line-chart\", [\"exports\", \"sgb-object-graphs/components/sgb-device-line-chart\"], function (_exports, _sgbDeviceLineChart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  const classic = __EMBER_CLASSIC_DECORATOR;\n  let SgbSinglestatLineChart = _exports.default = classic(_class = class SgbSinglestatLineChart extends _sgbDeviceLineChart.default {\n    getOptions(data) {\n      let options = super.getOptions(data);\n      const overlayText = this.overlayText;\n      if (overlayText == null) {\n        return options;\n      }\n      options.textOverlay = {\n        display: true,\n        text: overlayText.toString()\n      };\n      options = _.merge(options, {\n        scales: {\n          y: {\n            grid: {\n              display: false\n            }\n          }\n        },\n        plugins: {\n          legend: {\n            display: false\n          }\n        }\n      });\n      return options;\n    }\n  }) || _class;\n});","define(\"sgb-object-graphs/helpers/humanize-interval\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.humanizeInterval = humanizeInterval;\n  class Unit {\n    constructor(n, unit) {\n      this.n = n;\n      this.unit = unit;\n    }\n    toString() {\n      if (this.n == 1) {\n        return `1 ${this.unit}`;\n      } else {\n        return `${this.n} ${this.unit}s`;\n      }\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(Unit, true);\n  window.__CLASSIC_OWN_CLASSES__.set(Unit, false);\n  class DaysOrHours {\n    constructor(hours) {\n      this.hours = new Unit(hours, 'hour');\n      this.days = new Unit(Math.floor(hours / 24), 'day');\n      this.extra_hours = hours % 24;\n    }\n    is_day() {\n      return this.hours.n >= 48 && this.extra_hours === 0;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(DaysOrHours, true);\n  window.__CLASSIC_OWN_CLASSES__.set(DaysOrHours, false);\n  class Interval {\n    constructor(start_hours_ago, end_hours_ago) {\n      this.start = new DaysOrHours(start_hours_ago);\n      this.end = new DaysOrHours(end_hours_ago);\n      if (this.start.is_day() && this.end.is_day()) {\n        this.property_name = 'days';\n      } else {\n        this.property_name = 'hours';\n      }\n    }\n    toString() {\n      let start = this.start[this.property_name],\n        end = this.end[this.property_name];\n      return `${start.n} to ${end.n} ${start.unit}s ago`;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(Interval, true);\n  window.__CLASSIC_OWN_CLASSES__.set(Interval, false);\n  class IntervalEndingNow extends Interval {\n    constructor(start_hours_ago) {\n      super(start_hours_ago, start_hours_ago);\n    }\n    toString() {\n      let start = this.start[this.property_name];\n      return `last ${start}`;\n    }\n  }\n  window.__CLASSIC_HAS_CONSTRUCTOR__.set(IntervalEndingNow, true);\n  window.__CLASSIC_OWN_CLASSES__.set(IntervalEndingNow, false);\n  function humanizeInterval(params /*, hash*/) {\n    let [start_hours_ago, end_hours_ago] = params;\n    start_hours_ago = parseInt(start_hours_ago);\n    end_hours_ago = parseInt(end_hours_ago);\n    let interval = end_hours_ago == 0 ? new IntervalEndingNow(start_hours_ago) : new Interval(start_hours_ago, end_hours_ago);\n    return interval.toString();\n  }\n  var _default = _exports.default = Ember.Helper.helper(humanizeInterval);\n});","define(\"sgb-object-graphs/initializers/chartjs-text-overlay-plugin\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  /* global Chart */\n\n  function initialize(/* application */\n  ) {\n    // return;\n    Chart.defaults.plugins.textOverlay = {\n      fullWidth: true,\n      position: 'chartArea',\n      weightRelaiveToTitle: 0.5 // legend is 1000, title  is 2000\n    };\n    class TextOverlayElement extends Chart.Element {\n      constructor(args) {\n        super();\n        this.ctx = args.ctx;\n        this.options = args.options;\n        this.chart = args.chart;\n      }\n      isHorizontal() {\n        var pos = this.options.position;\n        return pos === 'top' || pos === 'bottom';\n      }\n      draw() {\n        let me = this;\n        if (!me.options || !me.options.display) {\n          return;\n        }\n        let context = me.ctx;\n        context.save();\n        try {\n          let pattern = /(bold )?\\d+px/;\n          let newSize = `bold ${me.fontSize}px`;\n          context.font = context.font.replace(pattern, newSize);\n          context.textAlign = 'center';\n          let color = me.options.color;\n          if (!color) {\n            color = me.chart.options?.title?.color;\n          }\n          if (color) {\n            context.fillStyle = color;\n          }\n          context.textBaseline = 'alphabetic';\n          context.fillText(me.options.text, me.x, me.y);\n        } finally {\n          context.restore();\n        }\n      }\n      update(maxWidth, maxHeight, margins) {\n        let me = this;\n        me.maxWidth = maxWidth;\n        me.maxHeight = maxHeight;\n        me.margins = margins;\n        me.setDimensions();\n        return me.minSize;\n      }\n      setDimensions() {\n        this.x = this.maxWidth / 2;\n        this.y = this.maxHeight * 3 / 4;\n        this.fontSize = this.maxHeight * 2 / 3;\n        let me = this;\n        // Reset padding\n        me.paddingLeft = 0;\n        me.paddingTop = 0;\n        me.paddingRight = 0;\n        me.paddingBottom = 0;\n\n        // Reset minSize\n        me.minSize = {\n          width: me.maxWidth,\n          height: me.maxHeight\n        };\n      }\n    }\n    window.__CLASSIC_HAS_CONSTRUCTOR__.set(TextOverlayElement, true);\n    window.__CLASSIC_OWN_CLASSES__.set(TextOverlayElement, false);\n    ;\n    Chart.TextOverlay = TextOverlayElement;\n    function createNewAndAttach(chart, opts) {\n      const overlay = new Chart.TextOverlay({\n        ctx: chart.ctx,\n        options: opts,\n        chart: chart\n      });\n      Chart.layouts.configure(chart, overlay, opts);\n      Chart.layouts.addBox(chart, overlay);\n      chart.textOverlayBlock = overlay;\n    }\n    Chart.register({\n      id: 'textOverlay',\n      beforeInit: function (chart) {\n        let opts = chart.options.textOverlay || {};\n        if (opts) {\n          createNewAndAttach(chart, opts);\n        }\n      },\n      beforeUpdate: function (chart) {\n        let opts = chart.options.textOverlay;\n        let block = chart.textOverlayBlock;\n        if (opts) {\n          Chart.helpers.mergeIf(opts, Chart.defaults.plugins.textOverlay || {});\n          if (block) {\n            Chart.layouts.configure(chart, block, opts);\n            block.options = opts;\n          } else {\n            createNewAndAttach(chart, opts);\n          }\n        } else if (block) {\n          Chart.layouts.removeBox(chart, block);\n          delete chart.textOverlayBlock;\n        }\n      }\n    });\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"sgb-object-graphs/mixins/has-object-chart-mixin\", [\"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.Mixin.create({\n    emberenv: Ember.inject.service(),\n    checkFeatureFlag(name) {\n      let allowed = this.get('emberenv.featureFlags')[name];\n      if (allowed == undefined) {\n        console.error(`No feature flag is defined for ${name}`);\n      }\n      return allowed;\n    },\n    hasSgbObjectChart: Ember.computed('emberenv.featureFlags', 'objectPayload', 'isTopGroup', 'treeForChart', function () {\n      let objectPayload = this.objectPayload;\n      let tree = this.treeForChart;\n      let isTopGroup = this.isTopGroup;\n      if (!objectPayload) {\n        return false;\n      }\n      if (!tree) {\n        return false;\n      }\n      if (!this.checkFeatureFlag('showObjectCharts')) {\n        return false;\n      }\n      let tp = objectPayload.hierarchy.type;\n      if (tp == 'group') {\n        if (!this.checkFeatureFlag('showObjectChartsGroupWatthoursPieChart')) {\n          return false;\n        }\n        if (isTopGroup && this.checkFeatureFlag('topGroupCharts')) {\n          return true;\n        }\n        let children = tree.filterBy('parent', objectPayload.id.toString());\n        let child_groups = children.filterBy('objectType', 'group');\n        return child_groups.length == 0;\n      } else if (tp == 'device') {\n        let metrics = DeviceTypesToMetrics.metrics_for_device_type(objectPayload.device_type.id);\n        return metrics.length != 0;\n      } else {\n        return false;\n      }\n    })\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-ajax-base-chart\", [\"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  /*\n    {{#if this.title}}\n    <h4>{{this.title}}</h4>\n  {{/if}}\n  {{#if @openTsdbData}}\n    {{#if @saveAsPNG}}\n      <SaveCanvasAsPng @canvas={{this.chartCanvas}} @fileName={{this.fileName}} />\n    {{/if}}\n    {{#if @showInterval}}\n      {{humanize-interval @start_hours_ago @end_hours_ago}}\n    {{/if}}\n  {{/if}}\n  {{component this.chartComponentName\n    aggregateLevel=this.aggregateLevel\n    fontColor=this.fontColor\n    heightVh=this.heightVh\n    metrics=this.metrics\n    nrOfXAxisLabels=this.nrOfXAxisLabels\n    temperatureUnit=this.temperatureUnit\n    objectPayload=this.objectPayload\n    objectTree=this.objectTree\n    onlyShowDataLines=this.onlyShowDataLines\n    openTsdbData=this.openTsdbData\n    overlayText=this.overlayText\n    statusMessage=this.statusMessage\n    timeFormat=this.timeFormat\n    title=this.title\n    useMinimalSpaceForChart=this.useMinimalSpaceForChart\n  }}\n  {{yield}}\n  \n  */\n  {\n    \"id\": \"y/Yi3lYs\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@end_hours_ago\\\",\\\"@start_hours_ago\\\",\\\"@saveAsPNG\\\",\\\"@showInterval\\\",\\\"@openTsdbData\\\",\\\"&default\\\"],\\\"statements\\\":[[6,[37,1],[[32,0,[\\\"title\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"h4\\\"],[12],[1,[32,0,[\\\"title\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,5]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,1],[[32,3]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[8,\\\"save-canvas-as-png\\\",[],[[\\\"@canvas\\\",\\\"@fileName\\\"],[[32,0,[\\\"chartCanvas\\\"]],[32,0,[\\\"fileName\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[6,[37,1],[[32,4]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[30,[36,0],[[32,2],[32,1]],null]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]],[1,[30,[36,2],[[32,0,[\\\"chartComponentName\\\"]]],[[\\\"aggregateLevel\\\",\\\"fontColor\\\",\\\"heightVh\\\",\\\"metrics\\\",\\\"nrOfXAxisLabels\\\",\\\"temperatureUnit\\\",\\\"objectPayload\\\",\\\"objectTree\\\",\\\"onlyShowDataLines\\\",\\\"openTsdbData\\\",\\\"overlayText\\\",\\\"statusMessage\\\",\\\"timeFormat\\\",\\\"title\\\",\\\"useMinimalSpaceForChart\\\"],[[32,0,[\\\"aggregateLevel\\\"]],[32,0,[\\\"fontColor\\\"]],[32,0,[\\\"heightVh\\\"]],[32,0,[\\\"metrics\\\"]],[32,0,[\\\"nrOfXAxisLabels\\\"]],[32,0,[\\\"temperatureUnit\\\"]],[32,0,[\\\"objectPayload\\\"]],[32,0,[\\\"objectTree\\\"]],[32,0,[\\\"onlyShowDataLines\\\"]],[32,0,[\\\"openTsdbData\\\"]],[32,0,[\\\"overlayText\\\"]],[32,0,[\\\"statusMessage\\\"]],[32,0,[\\\"timeFormat\\\"]],[32,0,[\\\"title\\\"]],[32,0,[\\\"useMinimalSpaceForChart\\\"]]]]]],[2,\\\"\\\\n\\\"],[18,6,null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"humanize-interval\\\",\\\"if\\\",\\\"component\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-ajax-base-chart.hbs\"\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-ajax-singlestat-number\", [\"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  /*\n    <h4>{{this.title}}</h4>\n  {{#if this.hasValue}}\n    <h4 class=\"sgb-ajax-singlestat-number-number\">{{this.value}}</h4>\n  {{else}}\n    {{this.statusMessage}}\n  {{/if}}\n  \n  \n  */\n  {\n    \"id\": \"d7Dv+Kqk\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[10,\\\"h4\\\"],[12],[1,[32,0,[\\\"title\\\"]]],[13],[2,\\\"\\\\n\\\"],[6,[37,0],[[32,0,[\\\"hasValue\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[10,\\\"h4\\\"],[14,0,\\\"sgb-ajax-singlestat-number-number\\\"],[12],[1,[32,0,[\\\"value\\\"]]],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[1,[32,0,[\\\"statusMessage\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-ajax-singlestat-number.hbs\"\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-base-chart\", [\"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  /*\n    {{#if this.shouldShowChart}}\n    {{!--\n    <!-- TODO: uncomment to show the below pres, and we'll see the ever vertically growing canvas -->\n    <pre>\n      {{openTsdbDataJsonString}}\n    </pre>\n    <a href=\"https://jsfiddle.net/Renison/g0tpfL8j/\">here is a chartjs fiddle where you can check if the config is sane</a>\n    <pre>\n    {{chartjsOptionsJsonString}}\n    </pre>\n    --}}\n    {{component this.chartComponentName\n      config=this.chartjsOptions\n      fontColor=this.fontColor\n      heightVh=this.heightVh\n      metrics=this.metrics\n      nrOfXAxisLabels=this.nrOfXAxisLabels\n      onlyShowDataLines=this.onlyShowDataLines\n      openTsdbData=this.openTsdbData\n      overlayText=this.overlayText\n      temperatureUnit=this.temperatureUnit\n      timeFormat=this.timeFormat\n      title=this.title\n      useMinimalSpaceForChart=this.useMinimalSpaceForChart\n    }}\n    {{this.statusMessage}}\n  {{else}}\n    {{#if this.statusMessage}}\n      {{this.statusMessage}}\n    {{else}}\n      Sorry, couldn't convert recieved data to a chart.\n    {{/if}}\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"i5AN7tuI\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"shouldShowChart\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[1,[30,[36,1],[[32,0,[\\\"chartComponentName\\\"]]],[[\\\"config\\\",\\\"fontColor\\\",\\\"heightVh\\\",\\\"metrics\\\",\\\"nrOfXAxisLabels\\\",\\\"onlyShowDataLines\\\",\\\"openTsdbData\\\",\\\"overlayText\\\",\\\"temperatureUnit\\\",\\\"timeFormat\\\",\\\"title\\\",\\\"useMinimalSpaceForChart\\\"],[[32,0,[\\\"chartjsOptions\\\"]],[32,0,[\\\"fontColor\\\"]],[32,0,[\\\"heightVh\\\"]],[32,0,[\\\"metrics\\\"]],[32,0,[\\\"nrOfXAxisLabels\\\"]],[32,0,[\\\"onlyShowDataLines\\\"]],[32,0,[\\\"openTsdbData\\\"]],[32,0,[\\\"overlayText\\\"]],[32,0,[\\\"temperatureUnit\\\"]],[32,0,[\\\"timeFormat\\\"]],[32,0,[\\\"title\\\"]],[32,0,[\\\"useMinimalSpaceForChart\\\"]]]]]],[2,\\\"\\\\n  \\\"],[1,[32,0,[\\\"statusMessage\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"statusMessage\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"    \\\"],[1,[32,0,[\\\"statusMessage\\\"]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"    Sorry, couldn't convert recieved data to a chart.\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-base-chart.hbs\"\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-chart-refresh-widget\", [\"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  /*\n    <a href=\"#\" {{on \"click\" (fn this.refresh)}} title=\"Refresh data\">\n    <i class=\"fas fa-sync\"></i>\n  </a>\n  \n  \n  */\n  {\n    \"id\": \"0ingO7DH\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[11,\\\"a\\\"],[24,6,\\\"#\\\"],[24,\\\"title\\\",\\\"Refresh data\\\"],[4,[38,1],[\\\"click\\\",[30,[36,0],[[32,0,[\\\"refresh\\\"]]],null]],null],[12],[2,\\\"\\\\n  \\\"],[10,\\\"i\\\"],[14,0,\\\"fas fa-sync\\\"],[12],[13],[2,\\\"\\\\n\\\"],[13],[2,\\\"\\\\n\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"on\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-chart-refresh-widget.hbs\"\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-group-watthours-charts\", [\"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  /*\n    {{#if this.emberenv.featureFlags.showObjectChartsGroupWatthoursBarChart}}\n    {{!-- TODO: this is a helper from outside the addon :( --}}\n    <SgbGroupWatthoursBarChart\n      @aggregateLevel={{this.aggregateLevel}}\n      @config={{this.chartjsOptions}}\n      @fontColor={{this.fontColor}}\n      @heightVh={{this.heightVh}}\n      @metrics={{this.metrics}}\n      @nrOfXAxisLabels={{this.nrOfXAxisLabels}}\n      @onlyShowDataLines={{this.onlyShowDataLines}}\n      @openTsdbData={{this.openTsdbData}}\n      @overlayText={{this.overlayText}}\n      @statusMessage={{this.statusMessage}}\n      @temperatureUnit={{this.temperatureUni}}\n      @timeFormat={{this.timeFormat}}\n      @title={{this.title}}\n      @useMinimalSpaceForChart={{this.useMinimalSpaceForChart}}\n    />\n  {{/if}}\n  \n  <SgbGroupWatthoursPieChart\n    @aggregateLevel={{this.aggregateLevel}}\n    @config={{this.chartjsOptions}}\n    @fontColor={{this.fontColor}}\n    @heightVh={{this.heightVh}}\n    @metrics={{this.metrics}}\n    @nrOfXAxisLabels={{this.nrOfXAxisLabels}}\n    @onlyShowDataLines={{this.onlyShowDataLines}}\n    @openTsdbData={{this.openTsdbData}}\n    @overlayText={{this.overlayText}}\n    @statusMessage={{this.statusMessage}}\n    @temperatureUnit={{this.temperatureUni}}\n    @timeFormat={{this.timeFormat}}\n    @title={{this.title}}\n    @useMinimalSpaceForChart={{this.useMinimalSpaceForChart}}\n  />\n  \n  */\n  {\n    \"id\": \"dP2rRMRK\",\n    \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"emberenv\\\",\\\"featureFlags\\\",\\\"showObjectChartsGroupWatthoursBarChart\\\"]]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"sgb-group-watthours-bar-chart\\\",[],[[\\\"@aggregateLevel\\\",\\\"@config\\\",\\\"@fontColor\\\",\\\"@heightVh\\\",\\\"@metrics\\\",\\\"@nrOfXAxisLabels\\\",\\\"@onlyShowDataLines\\\",\\\"@openTsdbData\\\",\\\"@overlayText\\\",\\\"@statusMessage\\\",\\\"@temperatureUnit\\\",\\\"@timeFormat\\\",\\\"@title\\\",\\\"@useMinimalSpaceForChart\\\"],[[32,0,[\\\"aggregateLevel\\\"]],[32,0,[\\\"chartjsOptions\\\"]],[32,0,[\\\"fontColor\\\"]],[32,0,[\\\"heightVh\\\"]],[32,0,[\\\"metrics\\\"]],[32,0,[\\\"nrOfXAxisLabels\\\"]],[32,0,[\\\"onlyShowDataLines\\\"]],[32,0,[\\\"openTsdbData\\\"]],[32,0,[\\\"overlayText\\\"]],[32,0,[\\\"statusMessage\\\"]],[32,0,[\\\"temperatureUni\\\"]],[32,0,[\\\"timeFormat\\\"]],[32,0,[\\\"title\\\"]],[32,0,[\\\"useMinimalSpaceForChart\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"],[8,\\\"sgb-group-watthours-pie-chart\\\",[],[[\\\"@aggregateLevel\\\",\\\"@config\\\",\\\"@fontColor\\\",\\\"@heightVh\\\",\\\"@metrics\\\",\\\"@nrOfXAxisLabels\\\",\\\"@onlyShowDataLines\\\",\\\"@openTsdbData\\\",\\\"@overlayText\\\",\\\"@statusMessage\\\",\\\"@temperatureUnit\\\",\\\"@timeFormat\\\",\\\"@title\\\",\\\"@useMinimalSpaceForChart\\\"],[[32,0,[\\\"aggregateLevel\\\"]],[32,0,[\\\"chartjsOptions\\\"]],[32,0,[\\\"fontColor\\\"]],[32,0,[\\\"heightVh\\\"]],[32,0,[\\\"metrics\\\"]],[32,0,[\\\"nrOfXAxisLabels\\\"]],[32,0,[\\\"onlyShowDataLines\\\"]],[32,0,[\\\"openTsdbData\\\"]],[32,0,[\\\"overlayText\\\"]],[32,0,[\\\"statusMessage\\\"]],[32,0,[\\\"temperatureUni\\\"]],[32,0,[\\\"timeFormat\\\"]],[32,0,[\\\"title\\\"]],[32,0,[\\\"useMinimalSpaceForChart\\\"]]]],null],[2,\\\"\\\\n\\\"]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-group-watthours-charts.hbs\"\n  });\n});","define(\"sgb-object-graphs/templates/components/sgb-hours-interval-link\", [\"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  /*\n    {{#if @route}}\n    <LinkTo @route={{this.route}} @models={{array @start_hours_ago @end_hours_ago}} class={{this.class}}>\n      {{humanize-interval @start_hours_ago @end_hours_ago }}\n    </LinkTo>\n  {{else}}\n    <a href=\"#\" class=\"{{this.class}}\" {{on \"click\" (fn this.changeInterval @start_hours_ago @end_hours_ago)}}>\n      {{humanize-interval @start_hours_ago @end_hours_ago}}\n    </a>\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"MtmxjhK3\",\n    \"block\": \"{\\\"symbols\\\":[\\\"@end_hours_ago\\\",\\\"@start_hours_ago\\\",\\\"@route\\\"],\\\"statements\\\":[[6,[37,4],[[32,3]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[2,\\\"  \\\"],[8,\\\"link-to\\\",[[16,0,[32,0,[\\\"class\\\"]]]],[[\\\"@route\\\",\\\"@models\\\"],[[32,0,[\\\"route\\\"]],[30,[36,3],[[32,2],[32,1]],null]]],[[\\\"default\\\"],[{\\\"statements\\\":[[2,\\\"\\\\n    \\\"],[1,[30,[36,2],[[32,2],[32,1]],null]],[2,\\\"\\\\n  \\\"]],\\\"parameters\\\":[]}]]],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]},{\\\"statements\\\":[[2,\\\"  \\\"],[11,\\\"a\\\"],[24,6,\\\"#\\\"],[16,0,[31,[[32,0,[\\\"class\\\"]]]]],[4,[38,1],[\\\"click\\\",[30,[36,0],[[32,0,[\\\"changeInterval\\\"]],[32,2],[32,1]],null]],null],[12],[2,\\\"\\\\n    \\\"],[1,[30,[36,2],[[32,2],[32,1]],null]],[2,\\\"\\\\n  \\\"],[13],[2,\\\"\\\\n\\\"]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"fn\\\",\\\"on\\\",\\\"humanize-interval\\\",\\\"array\\\",\\\"if\\\"]}\",\n    \"moduleName\": \"sgb-object-graphs/templates/components/sgb-hours-interval-link.hbs\"\n  });\n});","define(\"tracked-toolbox/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cached = cached;\n  _exports.dedupeTracked = dedupeTracked;\n  _exports.localCopy = localCopy;\n  _exports.trackedReset = trackedReset;\n  var _dec, _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 Meta = (_dec = Ember._tracked, _class = class Meta {\n    constructor() {\n      _defineProperty(this, \"prevRemote\", void 0);\n      _defineProperty(this, \"peek\", void 0);\n      _initializerDefineProperty(this, \"value\", _descriptor, this);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"value\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  function getOrCreateMeta(instance, metas, initializer) {\n    let meta = metas.get(instance);\n    if (meta === undefined) {\n      meta = new Meta();\n      metas.set(instance, meta);\n      meta.value = meta.peek = typeof initializer === 'function' ? initializer.call(instance) : initializer;\n    }\n    return meta;\n  }\n  function localCopy(memo, initializer) {\n    (true && !(typeof memo === 'string' || typeof memo === 'function') && Ember.assert(`@localCopy() must be given a memo path or memo function as its first argument, received \\`${String(memo)}\\``, typeof memo === 'string' || typeof memo === 'function'));\n    (true && !(typeof memo !== 'function') && Ember.deprecate('Using a memoization function with @localCopy has been deprecated. Consider using @trackedReset instead.', typeof memo !== 'function', {\n      id: 'local-copy-memo-fn',\n      for: 'tracked-toolbox',\n      since: '1.2.3',\n      until: '2.0.0'\n    }));\n    let metas = new WeakMap();\n    return (_prototype, key) => {\n      let memoFn = typeof memo === 'function' ? (obj, last) => memo.call(obj, obj, key, last) : obj => Ember.get(obj, memo);\n      return {\n        get() {\n          let meta = getOrCreateMeta(this, metas, initializer);\n          let {\n            prevRemote\n          } = meta;\n          let incomingValue = memoFn(this, prevRemote);\n          if (prevRemote !== incomingValue) {\n            // If the incoming value is not the same as the previous incoming value,\n            // update the local value to match the new incoming value, and update\n            // the previous incoming value.\n            meta.value = meta.prevRemote = incomingValue;\n          }\n          return meta.value;\n        },\n        set(value) {\n          if (!metas.has(this)) {\n            let meta = getOrCreateMeta(this, metas, initializer);\n            meta.prevRemote = memoFn(this);\n            meta.value = value;\n            return;\n          }\n          getOrCreateMeta(this, metas, initializer).value = value;\n        }\n      };\n    };\n  }\n  function trackedReset(memoOrConfig) {\n    (true && !(typeof memoOrConfig === 'string' || typeof memoOrConfig === 'function' || typeof memoOrConfig === 'object' && memoOrConfig !== null && memoOrConfig.memo !== undefined) && Ember.assert(`@trackedReset() must be given a memo path, a memo function, or config object with a memo path or function as its first argument, received \\`${String(memoOrConfig)}\\``, typeof memoOrConfig === 'string' || typeof memoOrConfig === 'function' || typeof memoOrConfig === 'object' && memoOrConfig !== null && memoOrConfig.memo !== undefined));\n    let metas = new WeakMap();\n    return (_prototype, key, desc) => {\n      let memo, update;\n      let initializer = desc.initializer ?? (() => undefined);\n      if (typeof memoOrConfig === 'object') {\n        memo = memoOrConfig.memo;\n        update = memoOrConfig.update ?? initializer;\n      } else {\n        memo = memoOrConfig;\n        update = initializer;\n      }\n      let memoFn = typeof memo === 'function' ? (obj, last) => memo.call(obj, obj, key, last) : obj => Ember.get(obj, memo);\n      return {\n        get() {\n          let meta = getOrCreateMeta(this, metas, initializer);\n          let {\n            prevRemote\n          } = meta;\n          let incomingValue = memoFn(this, prevRemote);\n          if (incomingValue !== prevRemote) {\n            meta.prevRemote = incomingValue;\n            meta.value = meta.peek = update.call(this, this, key, meta.peek);\n          }\n          return meta.value;\n        },\n        set(value) {\n          getOrCreateMeta(this, metas, initializer).value = value;\n        }\n      };\n    };\n  }\n  function cached(target, key, value) {\n    (true && !(value && value.get) && Ember.assert('@cached can only be used on getters', value && value.get));\n    let {\n      get,\n      set\n    } = value;\n    let caches = new WeakMap();\n    return {\n      get() {\n        let cache = caches.get(this);\n        if (cache === undefined) {\n          cache = Ember._createCache(get.bind(this));\n          caches.set(this, cache);\n        }\n        return Ember._cacheGetValue(cache);\n      },\n      set\n    };\n  }\n  function dedupeTracked() {\n    let comparator;\n    const descriptor = function (target, key, desc) {\n      let {\n        initializer\n      } = desc;\n      let {\n        get,\n        set\n      } = Ember._tracked(target, key, desc);\n      let values = new WeakMap();\n      return {\n        get() {\n          if (!values.has(this)) {\n            let value = initializer?.call(this);\n            values.set(this, value);\n            set.call(this, value);\n          }\n          return get.call(this);\n        },\n        set(value) {\n          if (!values.has(this) || !comparator(value, values.get(this))) {\n            values.set(this, value);\n            set.call(this, value);\n          }\n        }\n      };\n    };\n    if (arguments.length === 3) {\n      comparator = (a, b) => a === b;\n      return descriptor(...arguments);\n    }\n    if (arguments.length === 1 && typeof arguments[0] === 'function') {\n      comparator = arguments[0];\n      return descriptor;\n    }\n    (true && !(false) && Ember.assert(`@dedupeTracked() can either be invoked without arguments or with one comparator function, received \\`${String(arguments)}\\``, false));\n  }\n});","\n"],"names":["thing","Window","realWindow","undefined","win","init","window","el","document","createTextNode","ownerDocument","wrap","getWindow","node","isWindow","rootNode","defaultView","docFrag","object","nodeType","_typeof","func","number","bool","string","element","_window","test","Element","nodeName","plainObject","constructor","toString","array","length","splice","install","scope","actions","Interactable","defaults","prototype","draggable","drag","map","methodDict","beforeMove","_ref","interaction","prepared","name","axis","coords","cur","page","y","start","client","velocity","x","move","_ref2","iEvent","opposite","delta","options","is","enabled","setPerAction","setOnEvents","lockAxis","startAxis","id","listeners","autoStartCheck","arg","interactable","buttons","dragOptions","pointerIsDown","pointerType","mouseButtons","action","getCursor","filterEventType","type","search","domObjects","DocumentFragment","SVGElement","SVGSVGElement","SVGElementInstance","HTMLElement","Event","Touch","PointerEvent","blank","MSPointerEvent","browser","supportsTouch","supportsPointerEvent","isIOS7","isIOS","isIe9","isOperaMobile","prefixedMatchesSelector","pEventTypes","wheelEvent","navigator","DocumentTouch","pointerEnabled","platform","appVersion","userAgent","appName","up","down","over","out","cancel","nodeContains","parent","child","contains","parentNode","closest","selector","matchesSelector","host","replace","getParent","indexOfDeepestElement","elements","deepestNodeParents","deepestNodeIndex","i","currentNode","deepestNode","currentNodeParent","deepestNodeParent","zIndexIsHigherThan","getNodeParents","ancestryStart","ownerSVGElement","currentNodeParents","commonIndex","parents","lastChild","previousSibling","limit","parentParent","unshift","higherNode","lowerNode","higherIndex","parseInt","getComputedStyle","zIndex","lowerIndex","matchesUpTo","getActualElement","correspondingUseElement","getScrollXY","relevantWindow","scrollX","documentElement","scrollLeft","scrollY","scrollTop","getElementClientRect","clientRect","getBoundingClientRect","getClientRects","left","right","top","bottom","width","height","getElementRect","scroll","getPath","path","push","trySelector","value","querySelector","extend","dest","source","prop","ret","getStringOptionResult","target","getRect","resolveRectLike","functionArgs","returnValue","apply","rectToXY","rect","xywhToTlbr","tlbrToXywh","addEdges","edges","getOriginXY","actionName","actionOptions","actionOrigin","origin","originRect","normalize","filter","arguments","_typeOrPrefix","result","split","forEach","t","_i2","_listeners2","l","prefix","combinedTypes","p","concat","trim","Math","sqrt","VENDOR_PREFIXES","pointerExtend","__set","_loop","some","indexOf","Object","defineProperty","get","set","configurable","copyCoords","src","timeStamp","setCoordDeltas","targetObj","prev","setCoordVelocity","dt","max","setZeroCoords","isNativePointer","pointer","dom","getXY","xy","getPageXY","getClientXY","getPointerId","pointerId","identifier","setCoords","pointers","pointerAverage","getTouchPair","event","touches","changedTouches","average","pageX","pageY","clientX","clientY","screenX","screenY","touchBBox","minX","min","minY","maxX","maxY","touchDistance","deltaSource","sourceX","sourceY","dx","dy","hypot","touchAngle","angle","atan2","PI","getPointerType","getEventTargets","composedPath","domUtils","currentTarget","newCoords","coordsToEvent","preventDefault","BaseEvent","_classCallCheck","immediatePropagationStopped","propagationStopped","_interaction","_createClass","key","stopPropagation","stopImmediatePropagation","_proxy","remove","merge","item","from","findIndex","find","DropEvent","_BaseEvent","_inherits","_super","_createSuper","dropState","dragEvent","_this","call","dropzone","relatedTarget","reject","_this2","rejected","events","enter","activeDrops","index","arr","deactivateEvent","fire","interact","interactStatic","usePlugin","dropzoneMethod","dropCheck","draggableElement","dropElement","dropCheckMethod","dynamicDrop","newValue","phaselessTypes","dragenter","dragleave","dropactivate","dropdeactivate","dropmove","drop","collectDropzones","interactables","drops","_interactables$list2","list","accept","_i4","_dropzone$getAllEleme2","getAllElements","dropzoneElement","fireActivationEvents","_i6","_activeDrops$slice2","slice","_activeDrops$slice2$_","getActiveDrops","dragElement","_i8","activeDrop","getDrop","pointerEvent","validDrops","_i10","_dropState$activeDrop2","_dropState$activeDrop3","isValid","dropIndex","getDropEvents","_pointerEvent","dropEvents","leave","activate","deactivate","dragLeave","prevDropzone","dragEnter","fireDropEvents","onEventCreated","_ref3","dropResult","normalized","normalizeListeners","corrected","keys","reduce","acc","correctedType","prevListeners","off","on","ondrop","ondropactivate","ondropdeactivate","ondragenter","ondragleave","ondropmove","overlap","checker","dropped","dropOverlap","pointerUtils","horizontal","vertical","dragRect","cx","cy","overlapArea","overlapRatio","interactionsBeforeActionStart","_ref4","interactionsAfterActionStart","_ref5","interactionsAfterActionMove","_ref6","interactionsActionEnd","interactionsStop","_ref7","gesturable","gesture","updateGestureProps","phase","starting","ending","distance","box","scale","ds","da","startDistance","startAngle","prevEvent","Infinity","isNaN","before","interactionsNew","gestureOptions","resize","cursors","initCursors","defaultMargin","resizable","resizeChecker","resizeOptions","resizeEdges","edge","checkResizeEdge","_latestPointer","eventTarget","margin","axes","preserveAspectRatio","square","interactableElement","abs","topleft","bottomright","topright","bottomleft","resizeEvent","_rects","previous","deltaRect","invert","invertible","current","_interaction$_rects","startRect","swap","end","updateEventAxes","resizeAxes","interactionsActionStart","interactionsActionMove","NaN","cursorKey","_ref8","lastTime","request","global","requestAnimationFrame","cancelAnimationFrame","vendors","vendor","bind","callback","currTime","Date","now","timeToCall","token","setTimeout","clearTimeout","autoScroll","autoscroll","perAction","container","speed","isScrolling","prevTime","raf","stop","getContainer","s","scrollBy","prevScroll","getScroll","curScroll","check","_options$actionName$a","onInteractionMove","interacting","simulation","innerWidth","innerHeight","body","autoScrollPlugin","interactionsDestroy","warnOnce","method","message","warned","console","warn","copyAction","getAction","defaultActionChecker","actionChecker","ignoreFrom","_backCompatOption","allowFrom","styleCursor","button","InteractableMethods","base","manualStart","maxPerElement","maxInteractions","autoStart","withinInteractionLimit","cursorElement","prepareOnDown","actionInfo","getActionInfo","prepare","prepareOnMove","startOnMove","pointerWasMoved","setInteractionCursor","clearCursorOnStop","setCursor","validateAction","testIgnoreAllow","validateMatches","matches","matchElements","len","match","matchElement","matchAction","pushMatches","forEachMatch","maxActions","autoStartMax","activeInteractions","interactableCount","elementCount","_scope$interactions$l2","interactions","otherAction","cursor","prevCursorElement","style","cursorChecker","_interacting","interactionsMove","beforeStart","absX","absY","targetOptions","currentAxis","getDraggable","downPointer","downEvent","checkStartAxis","thisAxis","basePlugin","hold","delay","getHoldDuration","autoStartHoldTimer","autoStartPrepared","duplicate","autoStartBeforeStart","holdDuration","dragAxis","checkAndPreventDefault","setting","supportsPassive","doc","docOptions","getDocOptions","passive","onInteractionEvent","docEvents","listener","eventType","isNonNativeEvent","substr","phases","CheckName","links","touchAction","boxSizing","isProduction","process","logger","devTools","ignore","_onOff","typeArg","listenerArg","addEventListener","normalizedListeners","checks","perform","parentHasStyle","getInfo","text","hasStyle","noListeners","_interaction$interact","moveListeners","types","styleRe","defaultExport","_scope$logger","clone","Modification","states","startOffset","startDelta","endResult","startEdges","createResult","pageCoords","modifierList","getModifierList","prepareStates","getRectOffset","fillArg","preEnd","startAll","setAll","_this$states2","state","methods","skipModifiers","unmodifiedRect","unmodifiedEdges","newResult","_state$methods","lastModifierCoords","shouldDo","rectUtils","eventProps","rectDelta","prevCoords","prevRect","rectChanged","changed","applyToInteraction","curCoords","startCoords","curDelta","_ref3$_i","coordsSet","setAndApply","modifiedCoords","adjustment","beforeEnd","doPreend","endPosition","modifierArg","_this$states4","_modifierList$index","restoreInteractionCoords","_ref4$interaction","modification","_modification$result","coordsAndDeltas","_i12","_ref6$_i","requireEndOnly","endOnly","setStart","copyFrom","other","destroy","actionModifiers","modifiers","_methods","m","makeModifier","module","modifier","_options","enable","disable","_defaults","addEventModifiers","modifiersBase","interactionsBeforeActionMove","interactionsBeforeActionEnd","InteractEvent","ctrlKey","shiftKey","altKey","metaKey","x0","y0","t0","duration","clientX0","clientY0","swipe","_assertThisInitialized","downTime","getSwipe","velocityY","velocityX","defineProperties","PointerInfo","downTarget","_ProxyValues","_ProxyMethods","idCounter","Interaction","scopeFire","_scopeFire","_ending","_stopped","doMove","signalArg","_id","that","_loop2","_key","pointerDown","pointerIndex","updatePointer","pointerInfo","_doPhase","pointerMove","duplicateMove","pointerMoveTolerance","getPointerIndex","pointerUp","curEventTarget","removePointer","documentBlur","endPhaseResult","currentAction","curPointer","getPointerInfo","_now","_updateLatestPointer","_createPreparedEvent","_fireEvent","_this$interactable","beforeResult","offsetBy","addTotal","addToCoords","offset","total","pending","beforeAction","applyPending","hadPending","hasPending","interactionsUpdatePointer","inertiastart","resume","inertia","resistance","minSpeed","endSpeed","allowResume","smoothEndDuration","InertiaState","active","isModified","smoothEnd","modifierCount","v0","te","targetOffset","modifiedOffset","currentOffset","lambda_v0","one_ve_v0","timeout","getOptions","velocityClient","pointerSpeed","thrown","startInertia","startSmoothEnd","startVelocity","lambda","inertiaDur","log","onNextFrame","inertiaTick","smoothEndTick","tickFn","_this3","_this4","progress","exp","newOffset","getQuadraticCurvePoint","_this5","_getOptions","easeOutQuad","started","interactionsBeforeActionResume","interactionsBeforeActionInertiastart","interactionsAfterActionInertiastart","interactionsAfterActionResume","_getQBezierValue","p1","p2","p3","iT","startX","startY","cpX","cpY","endX","endY","position","b","c","d","fireUntilImmediateStopped","Eventable","eventList","_listeners$type2","subListener","_element","_scope$document","targets","delegatedEvents","documents","eventsMethods","add","addDelegate","removeDelegate","delegateListener","delegateUseCapture","supportsOptions","createElement","capture","optionalArg","optionsMatch","removeEventListener","targetIndex","hasOwnProperty","typeIsEmpty","typeListeners","entry","context","_i3","delegates","delegate","matchFound","fakeEvent","FakeEvent","_pointerUtils$getEven","_i5","originalEvent","pExtend","preventOriginalDefault","param","a","finder","methodOrder","details","_finder$methodOrder2","simulationResume","mouseOrPen","firstNonActive","_scope$interactions$l4","hasPointerId","_scope$interactions$l6","hasPointer","_scope$interactions$l8","idle","_scope$interactions$l10","methodNames","doOnInteractions","releasePointersOnRemovedEls","prevTouchTime","_InteractionBase","_class","InteractionBase","new","_new","_interaction$pointers2","interactablePreventDefault","_event$changedTouches2","changedTouch","searchDetails","getInteraction","invalidPointer","_matches$_i","foundInteraction","onDocSignal","eventMethodName","eventMethod","eventOptions","_i14","_docEvents$_i","scopeAddDocument","scopeRemoveDocument","interactableUnset","OnOffMethod","defaultContext","scopeEvents","_actions","_context","_win","_doc","_scopeEvents","onstart","onmove","onend","oninertiastart","updatePerActionListeners","_this$_actions$map$ac","actionFilter","Off","On","optionName_","optionName","optionValue","rectChecker","Array","querySelectorAll","inContext","targetNode","testIgnore","testAllow","_listeners$_type2","actionName_","methodName","unset","delegated","_delegated$i","InteractableSet","selectorMap","addListeners","interactablesOnTarget","addDocument","getExisting","isSelector","_this$list2","createInteractStatic","globalEvents","getPointerAverage","getTouchBBox","getTouchDistance","getTouchAngle","version","use","plugin","isSet","_type2","debug","_this$scope$interacti2","removeDocument","Scope","floor","random","isInitialized","listenerMaps","_plugins","onWindowUnload","_InteractableBase","_class2","_get","_getPrototypeOf","InteractableBase","_this$listenerMaps2","initScope","pluginIsInstalled","pluginIdRoot","otherId","getDocIndex","docIndex","_global","globalThis","this","grid","coordFields","xField","yField","gridFunc","range","_grid$limits","limits","_grid$offset","_coordFields$_i","gridx","round","gridy","snappersPlugin","snappers","allSnappers","createSnapGrid","aspectRatio","_state$options","ratio","_state$options2","equalDelta","linkedEdges","xIsPrimaryAxis","sign","edgeSign","subModification","_objectSpread","initialCoords","aspectMethod","setEqualDelta","setRatio","correctedRect","xIsCriticalAxis","newHeight","newWidth","noop","elementRect","restriction","getRestrictionRect","widthDiff","heightDiff","restrict","noInner","noOuter","offsetRect","inner","outer","fixRect","restrictEdges","_","restrictRect","noMin","noMax","minSize","maxSize","restrictSize","offsetWithOrigin","getOrigin","snapOffset","relativePoints","offsets","relativePoint","relativeX","relativeY","snapTarget","inRange","optionsOrigin","snap","targetFields","relative","_state$targetFields2","_state$targetFields2$","snapSize","snapEdges","spring","avoid","transform","rubberband","all","_all","interval","tapTime","double","prevTap","_subtractOrigin","originX","originY","_addOrigin","pointerEvents","addInteractionProps","addHoldInfo","moveAndClearHold","interactionsDown","downAndStartHold","interactionsUp","clearHold","tapAfterUp","interactionsCancel","collectEventTargets","tap","doubletap","_arg$targets","props","eventable","_interaction$pointers","timer","minDuration","_signalArg$targets2","holdRepeatInterval","holdrepeat","onNew","count","onFired","holdIntervalHandle","endHoldRepeat","clearInterval","holdRepeat","enderTypes","__backCompatOption","pointerEventsCollectTargets","interactableNew","interactableSet","interactableTargets","reflow","doReflow","Promise","promises","runningInteraction","reflowPromise","_reflowPromise","resolve","_reflowResolve","xywh","startReflow","then","default","exports","_unused","errors","incompatible","invalid_plugin","invalid_title","permission_denied","sw_notification_error","sw_registration_error","unknown_interface","Permission","win","_win","GRANTED","DEFAULT","DENIED","_permissions","this","onGranted","onDenied","arguments","length","_requestWithCallback","_requestAsPromise","request","existing","get","resolved","resolve","result","_this","Notification","permission","webkitNotifications","checkPermission","requestPermission","then","hasPermissions","isModernAPI","isWebkitAPI","Promise","resolvePromise","rejectPromise","resolver","_this2","isGranted","navigator","mozNotification","external","msIsSiteMode","Util","obj","undefined","obs","toString","call","_typeof","target","source","key","hasOwnProperty","isObject","objectMerge","AbstractAgent","DesktopAgent","title","options","icon","isString","isUndefined","isNull","x32","body","tag","requireInteraction","notification","close","MobileChromeAgent","serviceWorker","func","str","match","id","callback","register","ready","registration","localData","link","origin","document","location","href","onClick","isFunction","getFunctionBody","onClose","data","Object","assign","showNotification","vibrate","silent","getNotifications","notifications","active","postMessage","error","Error","Messages","message","MobileFirefoxAgent","createNotification","show","MSAgent","msSiteModeClearIconOverlay","msSiteModeSetIconOverlay","x16","msSiteModeActivate","WebKitAgent","cancel","_currentId","_notifications","_agents","desktop","chrome","firefox","ms","webkit","_configuration","fallback","payload","success","_removeNotification","isSupported","wrapper","_closeNotification","timeout","setTimeout","_addNotification","addEventListener","event","JSON","parse","action","Number","isInteger","_prepareNotification","_this3","create","e","sw","config","_serviceWorkerCallback","onShow","onError","promiseCallback","has","reject","_this4","_createCallback","count","supported","agent","settings","manifest","plugin","hasProp","member","Plugin","window","global","window","document","navigator","timeoutDuration","longerTimeoutBrowsers","i","length","isBrowser","userAgent","indexOf","microtaskDebounce","fn","called","Promise","resolve","then","taskDebounce","scheduled","supportsMicroTasks","isFunction","functionToCheck","getType","toString","call","getStyleComputedProperty","element","property","nodeType","ownerDocument","defaultView","css","getComputedStyle","getParentNode","nodeName","parentNode","host","getScrollParent","body","overflow","overflowX","overflowY","test","getReferenceNode","reference","referenceNode","isIE11","MSInputMethodContext","documentMode","isIE10","isIE","version","getOffsetParent","documentElement","noOffsetParent","offsetParent","nextElementSibling","isOffsetContainer","firstElementChild","getRoot","node","findCommonOffsetParent","element1","element2","order","compareDocumentPosition","Node","DOCUMENT_POSITION_FOLLOWING","start","end","range","createRange","setStart","setEnd","commonAncestorContainer","contains","element1root","getScroll","side","upperSide","html","scrollingElement","includeScroll","rect","subtract","scrollTop","scrollLeft","modifier","top","bottom","left","right","getBordersSize","styles","axis","sideA","sideB","parseFloat","getSize","computedStyle","Math","max","parseInt","getWindowSizes","getClientRect","offsets","width","height","getBoundingClientRect","e","result","sizes","clientWidth","clientHeight","horizScrollbar","offsetWidth","vertScrollbar","offsetHeight","getOffsetRectRelativeToArbitraryNode","children","parent","fixedPosition","runIsIE","isHTML","childrenRect","parentRect","scrollParent","borderTopWidth","borderLeftWidth","marginTop","marginLeft","getViewportOffsetRectRelativeToArtbitraryNode","excludeScroll","relativeOffset","innerWidth","innerHeight","offset","isFixed","getFixedPositionOffsetParent","parentElement","el","getBoundaries","popper","padding","boundariesElement","boundaries","boundariesNode","isPaddingNumber","getArea","computeAutoPlacement","placement","refRect","rects","sortedAreas","Object","keys","map","key","sort","a","b","area","filteredAreas","filter","computedPlacement","variation","split","getReferenceOffsets","state","commonOffsetParent","getOuterSizes","x","marginBottom","y","marginRight","getOppositePlacement","hash","replace","matched","getPopperOffsets","referenceOffsets","popperRect","popperOffsets","isHoriz","mainSide","secondarySide","measurement","secondaryMeasurement","find","arr","check","Array","prototype","findIndex","prop","value","cur","match","obj","runModifiers","modifiers","data","ends","modifiersToRun","undefined","slice","forEach","warn","enabled","update","isDestroyed","options","positionFixed","flip","originalPlacement","position","isCreated","onCreate","onUpdate","isModifierEnabled","modifierName","some","name","getSupportedPropertyName","prefixes","upperProp","charAt","toUpperCase","prefix","toCheck","style","destroy","removeAttribute","willChange","disableEventListeners","removeOnDestroy","removeChild","getWindow","attachToScrollParents","event","callback","scrollParents","isBody","target","addEventListener","passive","push","setupEventListeners","updateBound","scrollElement","eventsEnabled","enableEventListeners","scheduleUpdate","removeEventListeners","removeEventListener","isNumeric","n","isNaN","isFinite","setStyles","unit","setAttributes","attributes","setAttribute","applyStyle","instance","arrowElement","arrowStyles","applyStyleOnLoad","modifierOptions","getRoundedOffsets","shouldRound","round","floor","noRound","v","referenceWidth","popperWidth","isVertical","isVariation","sameWidthParity","bothOddWidth","horizontalToInteger","verticalToInteger","isFirefox","computeStyle","legacyGpuAccelerationOption","gpuAcceleration","offsetParentRect","devicePixelRatio","prefixedProperty","invertTop","invertLeft","arrow","isModifierRequired","requestingName","requestedName","requesting","isRequired","requested","querySelector","len","sideCapitalized","toLowerCase","altSide","opSide","arrowElementSize","center","popperMarginSide","popperBorderSide","sideValue","min","getOppositeVariation","validPlacements","placements","clockwise","counter","index","concat","reverse","BEHAVIORS","flipped","placementOpposite","flipOrder","behavior","FLIP","CLOCKWISE","COUNTERCLOCKWISE","step","refOffsets","overlapsRef","overflowsLeft","overflowsRight","overflowsTop","overflowsBottom","overflowsBoundaries","flippedVariationByRef","flipVariations","flippedVariationByContent","flipVariationsByContent","flippedVariation","keepTogether","toValue","str","size","parseOffset","basePlacement","useHeight","fragments","frag","trim","divider","search","splitRegex","ops","op","mergeWithPrevious","reduce","index2","preventOverflow","transformProp","popperStyles","transform","priority","escapeWithReference","shift","shiftvariation","shiftOffsets","hide","bound","inner","subtractLength","Popper","requestAnimationFrame","debounce","bind","Defaults","jquery","onLoad","Utils","global","PopperUtils","TRANSITION_END","MAX_UID","MILLISECONDS_MULTIPLIER","toType","obj","toString","call","match","toLowerCase","getSpecialTransitionEndEvent","bindType","delegateType","handle","event","$","target","is","handleObj","handler","apply","arguments","undefined","transitionEndEmulator","duration","called","one","Util","setTimeout","triggerTransitionEnd","setTransitionEndSupport","fn","emulateTransitionEnd","special","getUID","prefix","Math","random","document","getElementById","getSelectorFromElement","element","selector","getAttribute","hrefAttr","trim","querySelector","_","getTransitionDurationFromElement","transitionDuration","css","transitionDelay","floatTransitionDuration","parseFloat","floatTransitionDelay","split","reflow","offsetHeight","trigger","supportsTransitionEnd","Boolean","isElement","nodeType","typeCheckConfig","componentName","config","configTypes","property","Object","prototype","hasOwnProperty","expectedTypes","value","valueType","RegExp","test","Error","toUpperCase","findShadowRoot","documentElement","attachShadow","getRootNode","root","ShadowRoot","parentNode","jQueryDetection","TypeError","version","jquery","minMajor","ltMajor","minMinor","minPatch","maxMajor","NAME","VERSION","DATA_KEY","EVENT_KEY","DATA_API_KEY","JQUERY_NO_CONFLICT","CLASS_NAME_ALERT","CLASS_NAME_FADE","CLASS_NAME_SHOW","EVENT_CLOSE","EVENT_CLOSED","EVENT_CLICK_DATA_API","SELECTOR_DISMISS","Alert","_element","close","rootElement","_getRootElement","customEvent","_triggerCloseEvent","isDefaultPrevented","_removeElement","dispose","removeData","parent","closest","closeEvent","Event","removeClass","hasClass","_destroyElement","detach","remove","_jQueryInterface","each","$element","data","_handleDismiss","alertInstance","preventDefault","on","Constructor","noConflict","CLASS_NAME_ACTIVE","CLASS_NAME_BUTTON","CLASS_NAME_FOCUS","EVENT_FOCUS_BLUR_DATA_API","EVENT_LOAD_DATA_API","SELECTOR_DATA_TOGGLE_CARROT","SELECTOR_DATA_TOGGLES","SELECTOR_DATA_TOGGLE","SELECTOR_DATA_TOGGLES_BUTTONS","SELECTOR_INPUT","SELECTOR_ACTIVE","SELECTOR_BUTTON","Button","shouldAvoidTriggerChange","toggle","triggerChangeEvent","addAriaPressed","input","type","checked","classList","contains","activeElement","focus","hasAttribute","setAttribute","toggleClass","avoidTriggerChange","button","initialButton","inputBtn","tagName","window","buttons","slice","querySelectorAll","i","len","length","add","ARROW_LEFT_KEYCODE","ARROW_RIGHT_KEYCODE","TOUCHEVENT_COMPAT_WAIT","SWIPE_THRESHOLD","CLASS_NAME_CAROUSEL","CLASS_NAME_SLIDE","CLASS_NAME_RIGHT","CLASS_NAME_LEFT","CLASS_NAME_NEXT","CLASS_NAME_PREV","CLASS_NAME_POINTER_EVENT","DIRECTION_NEXT","DIRECTION_PREV","DIRECTION_LEFT","DIRECTION_RIGHT","EVENT_SLIDE","EVENT_SLID","EVENT_KEYDOWN","EVENT_MOUSEENTER","EVENT_MOUSELEAVE","EVENT_TOUCHSTART","EVENT_TOUCHMOVE","EVENT_TOUCHEND","EVENT_POINTERDOWN","EVENT_POINTERUP","EVENT_DRAG_START","SELECTOR_ACTIVE_ITEM","SELECTOR_ITEM","SELECTOR_ITEM_IMG","SELECTOR_NEXT_PREV","SELECTOR_INDICATORS","SELECTOR_DATA_SLIDE","SELECTOR_DATA_RIDE","Default","interval","keyboard","slide","pause","wrap","touch","DefaultType","PointerType","TOUCH","PEN","Carousel","_items","_interval","_activeElement","_isPaused","_isSliding","touchTimeout","touchStartX","touchDeltaX","_config","_getConfig","_indicatorsElement","_touchSupported","navigator","maxTouchPoints","_pointerEvent","PointerEvent","MSPointerEvent","_addEventListeners","next","_slide","nextWhenVisible","hidden","prev","cycle","clearInterval","_updateInterval","setInterval","visibilityState","bind","to","index","activeIndex","_getItemIndex","direction","off","_handleSwipe","absDeltax","abs","_keydown","_addTouchEventListeners","start","originalEvent","pointerType","clientX","touches","move","end","clearTimeout","e","which","indexOf","_getItemByDirection","isNextDirection","isPrevDirection","lastItemIndex","isGoingToWrap","delta","itemIndex","_triggerSlideEvent","relatedTarget","eventDirectionName","targetIndex","fromIndex","slideEvent","from","_setActiveIndicatorElement","indicators","nextIndicator","children","addClass","elementInterval","parseInt","defaultInterval","activeElementIndex","nextElement","nextElementIndex","isCycling","directionalClassName","orderClassName","slidEvent","action","ride","_dataApiClickHandler","slideIndex","carousels","$carousel","CLASS_NAME_COLLAPSE","CLASS_NAME_COLLAPSING","CLASS_NAME_COLLAPSED","DIMENSION_WIDTH","DIMENSION_HEIGHT","EVENT_SHOW","EVENT_SHOWN","EVENT_HIDE","EVENT_HIDDEN","SELECTOR_ACTIVES","Collapse","_isTransitioning","_triggerArray","id","toggleList","elem","filterElement","filter","foundElem","_selector","push","_parent","_getParent","_addAriaAndCollapsedClass","hide","show","actives","activesData","not","startEvent","dimension","_getDimension","style","attr","setTransitioning","complete","capitalizedDimension","scrollSize","getBoundingClientRect","triggerArrayLength","$elem","isTransitioning","hasWidth","_getTargetFromElement","triggerArray","isOpen","currentTarget","$trigger","selectors","$target","ESCAPE_KEYCODE","SPACE_KEYCODE","TAB_KEYCODE","ARROW_UP_KEYCODE","ARROW_DOWN_KEYCODE","RIGHT_MOUSE_BUTTON_WHICH","REGEXP_KEYDOWN","CLASS_NAME_DISABLED","CLASS_NAME_DROPUP","CLASS_NAME_DROPRIGHT","CLASS_NAME_DROPLEFT","CLASS_NAME_MENURIGHT","CLASS_NAME_POSITION_STATIC","EVENT_CLICK","EVENT_KEYDOWN_DATA_API","EVENT_KEYUP_DATA_API","SELECTOR_FORM_CHILD","SELECTOR_MENU","SELECTOR_NAVBAR_NAV","SELECTOR_VISIBLE_ITEMS","PLACEMENT_TOP","PLACEMENT_TOPEND","PLACEMENT_BOTTOM","PLACEMENT_BOTTOMEND","PLACEMENT_RIGHT","PLACEMENT_LEFT","offset","flip","boundary","reference","display","popperConfig","Dropdown","_popper","_menu","_getMenuElement","_inNavbar","_detectNavbar","disabled","isActive","_clearMenus","usePopper","showEvent","_getParentFromElement","Popper","referenceElement","_getPopperConfig","body","noop","hideEvent","destroy","update","scheduleUpdate","stopPropagation","constructor","_getPlacement","$parentDropdown","placement","_getOffset","offsets","modifiers","enabled","preventOverflow","boundariesElement","applyStyle","toggles","context","clickEvent","dropdownMenu","_dataApiKeydownHandler","items","item","CLASS_NAME_SCROLLABLE","CLASS_NAME_SCROLLBAR_MEASURER","CLASS_NAME_BACKDROP","CLASS_NAME_OPEN","CLASS_NAME_STATIC","EVENT_HIDE_PREVENTED","EVENT_FOCUSIN","EVENT_RESIZE","EVENT_CLICK_DISMISS","EVENT_KEYDOWN_DISMISS","EVENT_MOUSEUP_DISMISS","EVENT_MOUSEDOWN_DISMISS","SELECTOR_DIALOG","SELECTOR_MODAL_BODY","SELECTOR_DATA_DISMISS","SELECTOR_FIXED_CONTENT","SELECTOR_STICKY_CONTENT","backdrop","Modal","_dialog","_backdrop","_isShown","_isBodyOverflowing","_ignoreBackdropClick","_scrollbarWidth","_checkScrollbar","_setScrollbar","_adjustDialog","_setEscapeEvent","_setResizeEvent","_showBackdrop","_showElement","transition","_hideModal","forEach","htmlElement","handleUpdate","_triggerBackdropTransition","hideEventPrevented","isModalOverflowing","scrollHeight","clientHeight","overflowY","modalTransitionDuration","modalBody","Node","ELEMENT_NODE","appendChild","removeAttribute","scrollTop","_enforceFocus","shownEvent","transitionComplete","has","_resetAdjustments","_resetScrollbar","_removeBackdrop","callback","animate","createElement","className","appendTo","backdropTransitionDuration","callbackRemove","paddingLeft","paddingRight","rect","round","left","right","innerWidth","_getScrollbarWidth","fixedContent","stickyContent","actualPadding","calculatedPadding","actualMargin","marginRight","calculatedMargin","padding","elements","margin","scrollDiv","scrollbarWidth","width","clientWidth","removeChild","uriAttrs","ARIA_ATTRIBUTE_PATTERN","DefaultWhitelist","a","area","b","br","col","code","div","em","hr","h1","h2","h3","h4","h5","h6","img","li","ol","p","pre","s","small","span","sub","sup","strong","u","ul","SAFE_URL_PATTERN","DATA_URL_PATTERN","allowedAttribute","allowedAttributeList","attrName","nodeName","nodeValue","regExp","attrRegex","sanitizeHtml","unsafeHtml","whiteList","sanitizeFn","domParser","DOMParser","createdDocument","parseFromString","whitelistKeys","keys","el","elName","attributeList","attributes","whitelistedAttributes","concat","innerHTML","CLASS_PREFIX","BSCLS_PREFIX_REGEX","DISALLOWED_ATTRIBUTES","HOVER_STATE_SHOW","HOVER_STATE_OUT","SELECTOR_TOOLTIP_INNER","SELECTOR_ARROW","TRIGGER_HOVER","TRIGGER_FOCUS","TRIGGER_CLICK","TRIGGER_MANUAL","AttachmentMap","AUTO","TOP","RIGHT","BOTTOM","LEFT","animation","template","title","delay","html","container","fallbackPlacement","customClass","sanitize","HIDE","HIDDEN","SHOW","SHOWN","INSERTED","CLICK","FOCUSIN","FOCUSOUT","MOUSEENTER","MOUSELEAVE","Tooltip","_isEnabled","_timeout","_hoverState","_activeTrigger","tip","_setListeners","enable","disable","toggleEnabled","dataKey","_getDelegateConfig","click","_isWithActiveTrigger","_enter","_leave","getTipElement","_hideModalHandler","isWithContent","shadowRoot","isInTheDom","ownerDocument","tipId","setContent","attachment","_getAttachment","addAttachmentClass","_getContainer","_fixTransition","prevHoverState","_cleanTipClass","getTitle","setElementContent","content","empty","append","text","defaultBsConfig","behavior","arrow","onCreate","originalPlacement","_handlePopperPlacementChange","onUpdate","find","triggers","eventIn","eventOut","_fixTitle","titleType","dataAttributes","dataAttr","key","$tip","tabClass","join","popperData","instance","popper","initConfigAnimation","SELECTOR_TITLE","SELECTOR_CONTENT","Popover","_getContent","CLASS_NAME_DROPDOWN_ITEM","EVENT_ACTIVATE","EVENT_SCROLL","METHOD_OFFSET","METHOD_POSITION","SELECTOR_DATA_SPY","SELECTOR_NAV_LIST_GROUP","SELECTOR_NAV_LINKS","SELECTOR_NAV_ITEMS","SELECTOR_LIST_ITEMS","SELECTOR_DROPDOWN","SELECTOR_DROPDOWN_ITEMS","SELECTOR_DROPDOWN_TOGGLE","method","ScrollSpy","_scrollElement","_offsets","_targets","_activeTarget","_scrollHeight","_process","refresh","autoMethod","offsetMethod","offsetBase","_getScrollTop","_getScrollHeight","targets","map","targetSelector","targetBCR","height","top","sort","pageYOffset","max","_getOffsetHeight","innerHeight","maxScroll","_activate","_clear","isActiveTarget","queries","$link","parents","node","scrollSpys","scrollSpysLength","$spy","CLASS_NAME_DROPDOWN_MENU","SELECTOR_ACTIVE_UL","SELECTOR_DROPDOWN_ACTIVE_CHILD","Tab","previous","listElement","itemSelector","makeArray","hiddenEvent","activeElements","active","_transitionComplete","dropdownChild","dropdownElement","dropdownToggleList","$this","CLASS_NAME_HIDE","CLASS_NAME_SHOWING","autohide","Toast","_clearTimeout","_close","color","forceCSSHex","colorFormat","__state","conversionName","toString","r","Math","round","g","b","a","h","s","toFixed","v","str","hex","length","ARR_EACH","Array","prototype","forEach","ARR_SLICE","slice","Common","target","each","call","arguments","obj","keys","isObject","Object","key","isUndefined","bind","toCall","args","i","apply","itr","scope","l","BREAK","fnc","func","threshold","callImmediately","timeout","delayed","callNow","setTimeout","toArray","undefined","isNaN","isArray","constructor","Function","INTERPRETATIONS","common","isString","original","test","match","parseInt","parseFloat","isNumber","result","toReturn","interpret","family","litmus","conversions","conversion","read","tmpComponent","ColorMath","hi","floor","f","p","q","t","c","min","max","delta","NaN","hex_with_component","componentIndex","value","Color","Error","colorToString","write","defineRGBComponent","component","componentHexIndex","defineProperty","space","recalculateRGB","defineHSVComponent","recalculateHSV","math","component_from_hex","extend","hsv_to_rgb","rgb_to_hsv","COMPONENTS","rgb_to_hex","Controller","object","property","initialValue","domElement","document","createElement","__onChange","__onFinishChange","newValue","updateDisplay","getValue","EVENT_MAP","EVENT_MAP_INV","k","e","CSS_VALUE_PIXELS","cssValueToPixels","val","isNull","dom","elem","selectable","style","onselectstart","MozUserSelect","KhtmlUserSelect","unselectable","hor","vert","vertical","horizontal","position","left","right","top","bottom","eventType","pars","aux","params","className","evt","createEvent","clientX","x","clientY","y","initMouseEvent","bubbles","cancelable","window","clickCount","init","initKeyboardEvent","initKeyEvent","defaults","ctrlKey","altKey","shiftKey","metaKey","keyCode","charCode","initEvent","dispatchEvent","event","newBool","bool","addEventListener","attachEvent","removeEventListener","detachEvent","classes","split","indexOf","push","join","replace","removeAttribute","index","splice","RegExp","getComputedStyle","width","height","el","offset","offsetParent","offsetLeft","offsetTop","activeElement","type","href","BooleanController","_this","__prev","__checkbox","setAttribute","onChange","setValue","appendChild","checked","OptionController","opts","options","__select","map","element","opt","innerHTML","desiredValue","selectedIndex","isActive","StringController","__input","onBlur","blur","numDecimals","_x","NumberController","_params","__min","__max","__step","step","__impliedStep","pow","log","abs","LN10","__precision","_v","minValue","maxValue","stepValue","roundToDecimal","decimals","tenTo","NumberControllerBox","__truncationSuspended","prevY","attempted","onFinish","onMouseDrag","diff","onMouseUp","unbind","onMouseDown","i1","i2","o1","o2","NumberControllerSlider","__background","__foreground","onTouchStart","addClass","preventDefault","bgRect","getBoundingClientRect","touches","onTouchMove","onTouchEnd","pct","FunctionController","text","__button","fire","ColorController","__color","__temp","makeSelectable","__selector","__saturation_field","__field_knob","__field_knob_border","__hue_knob","__hue_field","__input_textShadow","removeClass","valueField","fieldDown","fieldDownH","setSV","fieldUpSV","setH","fieldUpH","toOriginal","fieldRect","mismatch","flip","_flip","toHexString","marginTop","vendors","linearGradient","background","vendor","cssText","hueGradient","css","url","indoc","doc","link","rel","getElementsByTagName","cssContent","injected","head","saveDialogContents","ControllerFactory","isFunction","isBoolean","requestAnimationFrame","callback","webkitRequestAnimationFrame","mozRequestAnimationFrame","oRequestAnimationFrame","msRequestAnimationFrame","CenteredDiv","backgroundElement","makeFullscreen","body","hide","display","opacity","webkitTransform","layout","defer","innerWidth","getWidth","innerHeight","getHeight","inject","styleSheet","CSS_NAMESPACE","HIDE_KEY_CODE","CLOSE_BUTTON_HEIGHT","DEFAULT_DEFAULT_PRESET_NAME","SUPPORTS_LOCAL_STORAGE","localStorage","SAVE_DIALOGUE","autoPlaceVirgin","autoPlaceContainer","hideableGuis","GUI","__ul","__folders","__controllers","__rememberedObjects","__rememberedObjectIndecesToControllers","__listening","DEFAULT_WIDTH","autoPlace","load","preset","parent","hideable","resizable","scrollable","useLocalStorage","getItem","getLocalStorageHash","saveToLocalStorage","titleRow","defineProperties","closeOnTop","getRoot","revert","name","closed","CLASS_CLOSED","onResize","__closeButton","TEXT_OPEN","TEXT_CLOSED","setItem","CLASS_MAIN","savedGui","JSON","parse","CLASS_CLOSE_BUTTON","CLASS_CLOSE_TOP","insertBefore","childNodes","CLASS_CLOSE_BOTTOM","titleRowName","createTextNode","addRow","onClickTitle","CLASS_AUTO_PLACE_CONTAINER","CLASS_AUTO_PLACE","__resizeHandler","onResizeDebounced","stringify","getSaveObject","saveToLocalStorageIfPossible","resetWidth","root","toggleHide","gui","CLASS_CONTROLLER_ROW","CLASS_TOO_TALL","CLASS_DRAG","_keydownHandler","which","add","controller","removeChild","__li","subfolder","removeFolder","newGuiParams","folders","li","folder","parentElement","getOffset","node","__save_row","__resize_handle","offsetHeight","debounce","saveDialogueContents","remembered","getCurrentPreset","presetName","newDom","liBefore","removeListeners","markPresetModified","modified","__preset_select","augmentController","__gui","nextSibling","nextElementSibling","remove","firstElementChild","listen","box","method","pc","pb","returned","oldName","wasListening","newController","compose","fakeEvent","stopPropagation","borderLeftColor","isModified","recallSavedValue","matchedIndex","controllerMap","presetMap","factoryArgs","concat","before","container","location","addPresetOption","setSelected","showHideExplain","explain","addSaveMenu","div","firstChild","gears","button","button2","button3","select","getElementById","localStorageCheckBox","saveLocally","newConstructorTextArea","show","focus","save","prompt","saveAs","addResizeHandle","pmouseX","drag","dragStop","dragStart","setWidth","w","useInitialValues","savedValues","setPresetSelectIndex","updateDisplays","controllerArray","controllers","domImport","GUIImport","window","document","exportName","undefined","setTimeoutContext","fn","timeout","context","setTimeout","bindFn","invokeArrayArg","arg","Array","isArray","each","obj","iterator","i","forEach","length","call","hasOwnProperty","deprecate","method","name","message","deprecationMessage","e","Error","stack","replace","log","console","warn","apply","this","arguments","inherit","child","base","properties","childP","baseP","prototype","Object","create","constructor","_super","assign","boolOrFn","val","args","TYPE_FUNCTION","ifUndefined","val1","val2","addEventListeners","target","types","handler","splitStr","type","addEventListener","removeEventListeners","removeEventListener","hasParent","node","parent","parentNode","inStr","str","find","indexOf","trim","split","inArray","src","findByKey","toArray","slice","uniqueArray","key","sort","results","values","push","a","b","prefixed","property","prefix","prop","camelProp","toUpperCase","VENDOR_PREFIXES","uniqueId","_uniqueId","getWindowForElement","element","doc","ownerDocument","defaultView","parentWindow","Input","manager","callback","self","options","inputTarget","domHandler","ev","enable","init","createInputInstance","Type","inputClass","SUPPORT_POINTER_EVENTS","PointerEventInput","SUPPORT_ONLY_TOUCH","TouchInput","SUPPORT_TOUCH","TouchMouseInput","MouseInput","inputHandler","eventType","input","pointersLen","pointers","changedPointersLen","changedPointers","isFirst","INPUT_START","isFinal","INPUT_END","INPUT_CANCEL","session","computeInputData","emit","recognize","prevInput","pointersLength","firstInput","simpleCloneInputData","firstMultiple","offsetCenter","center","getCenter","timeStamp","now","deltaTime","angle","getAngle","distance","getDistance","computeDeltaXY","offsetDirection","getDirection","deltaX","deltaY","overallVelocity","getVelocity","overallVelocityX","x","overallVelocityY","y","abs","scale","getScale","rotation","getRotation","maxPointers","computeIntervalInputData","srcEvent","offset","offsetDelta","prevDelta","velocity","velocityX","velocityY","direction","last","lastInterval","COMPUTE_INTERVAL","v","clientX","round","clientY","DIRECTION_NONE","DIRECTION_LEFT","DIRECTION_RIGHT","DIRECTION_UP","DIRECTION_DOWN","p1","p2","props","PROPS_XY","Math","sqrt","atan2","PI","start","end","PROPS_CLIENT_XY","evEl","MOUSE_ELEMENT_EVENTS","evWin","MOUSE_WINDOW_EVENTS","allow","pressed","POINTER_ELEMENT_EVENTS","POINTER_WINDOW_EVENTS","store","pointerEvents","SingleTouchInput","evTarget","SINGLE_TOUCH_TARGET_EVENTS","SINGLE_TOUCH_WINDOW_EVENTS","started","normalizeSingleTouches","all","touches","changed","changedTouches","concat","TOUCH_TARGET_EVENTS","targetIds","getTouches","allTouches","INPUT_MOVE","identifier","targetTouches","changedTargetTouches","filter","touch","mouse","TouchAction","value","set","cleanTouchActions","actions","TOUCH_ACTION_NONE","hasPanX","TOUCH_ACTION_PAN_X","hasPanY","TOUCH_ACTION_PAN_Y","TOUCH_ACTION_MANIPULATION","TOUCH_ACTION_AUTO","Recognizer","defaults","id","state","STATE_POSSIBLE","simultaneous","requireFail","stateStr","STATE_CANCELLED","STATE_ENDED","STATE_CHANGED","STATE_BEGAN","directionStr","getRecognizerByNameIfManager","otherRecognizer","recognizer","get","AttrRecognizer","PanRecognizer","pX","pY","PinchRecognizer","PressRecognizer","_timer","_input","RotateRecognizer","SwipeRecognizer","TapRecognizer","pTime","pCenter","count","Hammer","recognizers","preset","Manager","handlers","touchAction","toggleCssProps","item","add","recognizeWith","requireFailure","style","cssProps","triggerDomEvent","event","data","gestureEvent","createEvent","initEvent","gesture","dispatchEvent","TEST_ELEMENT","createElement","Date","TypeError","output","index","source","nextKey","extend","dest","merge","keys","MOBILE_REGEX","test","navigator","userAgent","INPUT_TYPE_TOUCH","INPUT_TYPE_PEN","INPUT_TYPE_MOUSE","INPUT_TYPE_KINECT","DIRECTION_HORIZONTAL","DIRECTION_VERTICAL","DIRECTION_ALL","destroy","MOUSE_INPUT_MAP","mousedown","mousemove","mouseup","button","which","pointerType","POINTER_INPUT_MAP","pointerdown","pointermove","pointerup","pointercancel","pointerout","IE10_POINTER_TYPE_ENUM",2,3,4,5,"MSPointerEvent","PointerEvent","removePointer","eventTypeNormalized","toLowerCase","isTouch","storeIndex","pointerId","splice","SINGLE_TOUCH_INPUT_MAP","touchstart","touchmove","touchend","touchcancel","TOUCH_INPUT_MAP","inputEvent","inputData","isMouse","PREFIXED_TOUCH_ACTION","NATIVE_TOUCH_ACTION","TOUCH_ACTION_COMPUTE","compute","update","getTouchAction","join","preventDefaults","prevented","preventDefault","hasNone","isTapPointer","isTapMovement","isTapTouchTime","preventSrc","STATE_RECOGNIZED","STATE_FAILED","dropRecognizeWith","dropRequireFailure","hasRequireFailures","canRecognizeWith","additionalEvent","tryEmit","canEmit","inputDataClone","process","reset","attrTest","optionPointers","isRecognized","isValid","threshold","directionTest","hasMoved","inOut","time","validPointers","validMovement","validTime","clearTimeout","taps","interval","posThreshold","validTouchTime","failTimeout","validInterval","validMultiTap","tapCount","VERSION","domEvents","userSelect","touchSelect","touchCallout","contentZooming","userDrag","tapHighlightColor","STOP","FORCED_STOP","stop","force","stopped","curRecognizer","existing","remove","on","events","off","Tap","Pan","Swipe","Pinch","Rotate","Press","freeGlobal","define","amd","module","exports"],"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;;ACliOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;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;;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;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr/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;;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;;ACnrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/gIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxOA;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;;AC3DA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChyEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvuDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACvCA;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;;AC9IA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC77BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;;ACRA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxTA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzZA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3YA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1BA;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;;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;;ACxCA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC59BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxFA;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;;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;;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClUA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AChOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;AC9RA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACj6CA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnlGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7eA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACx3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxiBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;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;;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;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;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5KA;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;;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;;ACzBA;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;;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;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;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC3EA;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;;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;;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;;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;;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;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxiBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChuEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;AC57EA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACviRA;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;;ACr3BA;;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;;ACpKA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3sRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1HA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3uBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACx8JA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpqJA;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;;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;;AC9LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3mBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACptaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxzhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACvjLA,iBAAA,CAAe,UAACA,KAAU,EAAA;EAAA,EAAA,OAAK,CAAC,EAAEA,KAAK,IAAIA,KAAK,CAACC,MAAM,CAAC,IAAID,KAAK,YAAYA,KAAK,CAACC,MAAM,CAAA;EAAA,CAAA;;ECElF,IAAIC,UAAU,GAAGC,SAAmB,CAAA;EAE3C,IAAIC,GAAG,GAAGD,SAAmB,CAAA;EAGtB,SAASE,MAAIA,CAACC,MAAmD,EAAE;EACxE;;EAEAJ,EAAAA,UAAU,GAAGI,MAAM,CAAA;;EAEnB;IACA,IAAMC,EAAE,GAAGD,MAAM,CAACE,QAAQ,CAACC,cAAc,CAAC,EAAE,CAAC,CAAA;;EAE7C;IACA,IAAIF,EAAE,CAACG,aAAa,KAAKJ,MAAM,CAACE,QAAQ,IAAI,OAAOF,MAAM,CAACK,IAAI,KAAK,UAAU,IAAIL,MAAM,CAACK,IAAI,CAACJ,EAAE,CAAC,KAAKA,EAAE,EAAE;EACvG;EACAD,IAAAA,MAAM,GAAGA,MAAM,CAACK,IAAI,CAACL,MAAM,CAAC,CAAA;EAC9B,GAAA;EAEAF,EAAAA,GAAG,GAAGE,MAAM,CAAA;EACd,CAAA;EAEA,IAAI,OAAOA,MAAM,KAAK,WAAW,IAAI,CAAC,CAACA,MAAM,EAAE;IAC7CD,MAAI,CAACC,MAAM,CAAC,CAAA;EACd,CAAA;EAEO,SAASM,SAASA,CAACC,IAAS,EAAE;EACnC,EAAA,IAAIC,QAAQ,CAACD,IAAI,CAAC,EAAE;EAClB,IAAA,OAAOA,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,IAAME,QAAQ,GAAGF,IAAI,CAACH,aAAa,IAAIG,IAAI,CAAA;EAE3C,EAAA,OAAOE,QAAQ,CAACC,WAAW,IAAIZ,GAAG,CAACE,MAAM,CAAA;EAC3C;;ECjCA,IAAMA,QAAM,GAAG,SAATA,MAAMA,CAAIN,KAAU,EAAA;IAAA,OAAsBA,KAAK,KAAKI,GAAU,IAAIU,QAAQ,CAACd,KAAK,CAAC,CAAA;EAAA,CAAA,CAAA;EAEvF,IAAMiB,OAAO,GAAG,SAAVA,OAAOA,CAAIjB,KAAU,EAAA;IAAA,OAAgCkB,MAAM,CAAClB,KAAK,CAAC,IAAIA,KAAK,CAACmB,QAAQ,KAAK,EAAE,CAAA;EAAA,CAAA,CAAA;EAEjG,IAAMD,MAAM,GAAG,SAATA,MAAMA,CAAIlB,KAAU,EAAA;IAAA,OAAwC,CAAC,CAACA,KAAK,IAAIoB,OAAA,CAAOpB,KAAK,MAAK,QAAQ,CAAA;EAAA,CAAA,CAAA;EAEtG,IAAMqB,IAAI,GAAG,SAAPA,IAAIA,CAAIrB,KAAU,EAAA;IAAA,OAAuC,OAAOA,KAAK,KAAK,UAAU,CAAA;EAAA,CAAA,CAAA;EAE1F,IAAMsB,MAAM,GAAG,SAATA,MAAMA,CAAItB,KAAU,EAAA;IAAA,OAAsB,OAAOA,KAAK,KAAK,QAAQ,CAAA;EAAA,CAAA,CAAA;EAEzE,IAAMuB,IAAI,GAAG,SAAPA,IAAIA,CAAIvB,KAAU,EAAA;IAAA,OAAuB,OAAOA,KAAK,KAAK,SAAS,CAAA;EAAA,CAAA,CAAA;EAEzE,IAAMwB,MAAM,GAAG,SAATA,MAAMA,CAAIxB,KAAU,EAAA;IAAA,OAAsB,OAAOA,KAAK,KAAK,QAAQ,CAAA;EAAA,CAAA,CAAA;EAEzE,IAAMyB,OAAO,GAAG,SAAVA,OAAOA,CAAIzB,KAAU,EAAwC;IACjE,IAAI,CAACA,KAAK,IAAIoB,OAAA,CAAOpB,KAAK,CAAA,KAAK,QAAQ,EAAE;EACvC,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;IAEA,IAAM0B,OAAO,GAAGtB,SAAa,CAACJ,KAAK,CAAC,IAAII,GAAU,CAAA;EAElD,EAAA,OAAO,iBAAiB,CAACuB,IAAI,CAAA,OAAQC,OAAO,KAAAR,WAAAA,GAAAA,WAAAA,GAAAA,OAAA,CAAPQ,OAAO,CAAC,CAAA,GACzC5B,KAAK,YAAY4B,OAAO,IAAI5B,KAAK,YAAY0B,OAAO,CAACE,OAAO,GAC5D5B,KAAK,CAACmB,QAAQ,KAAK,CAAC,IAAI,OAAOnB,KAAK,CAAC6B,QAAQ,KAAK,QAAQ,CAAA;EAChE,CAAC,CAAA;EAED,IAAMC,WAA0B,GAAG,SAA7BA,WAA0BA,CAAI9B,KAAU,EAAA;IAAA,OAC5CkB,MAAM,CAAClB,KAAK,CAAC,IAAI,CAAC,CAACA,KAAK,CAAC+B,WAAW,IAAI,mBAAmB,CAACJ,IAAI,CAAC3B,KAAK,CAAC+B,WAAW,CAACC,QAAQ,EAAE,CAAC,CAAA;EAAA,CAAA,CAAA;EAEhG,IAAMC,KAAK,GAAG,SAARA,KAAKA,CAAuBjC,KAAU,EAAA;EAAA,EAAA,OAC1CkB,MAAM,CAAClB,KAAK,CAAC,IAAI,OAAOA,KAAK,CAACkC,MAAM,KAAK,WAAW,IAAIb,IAAI,CAACrB,KAAK,CAACmC,MAAM,CAAC,CAAA;EAAA,CAAA,CAAA;AAE5E,WAAe;EACb7B,EAAAA,MAAM,EAANA,QAAM;EACNW,EAAAA,OAAO,EAAPA,OAAO;EACPC,EAAAA,MAAM,EAANA,MAAM;EACNG,EAAAA,IAAI,EAAJA,IAAI;EACJC,EAAAA,MAAM,EAANA,MAAM;EACNC,EAAAA,IAAI,EAAJA,IAAI;EACJC,EAAAA,MAAM,EAANA,MAAM;EACNC,EAAAA,OAAO,EAAPA,OAAO;EACPK,EAAAA,WAAW,EAAXA,WAAW;EACXG,EAAAA,KAAK,EAALA,KAAAA;EACF,CAAC;;EC2BD,SAASG,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQC,OAAO,GAA6BD,KAAK,CAAzCC,OAAO;MAAEC,YAAY,GAAeF,KAAK,CAAhCE,YAAY;MAAEC,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAEvCD,EAAAA,YAAY,CAACE,SAAS,CAACC,SAAS,GAAGC,IAAI,CAACD,SAAS,CAAA;EAEjDJ,EAAAA,OAAO,CAACM,GAAG,CAACD,IAAI,GAAGA,IAAI,CAAA;EACvBL,EAAAA,OAAO,CAACO,UAAU,CAACF,IAAI,GAAG,WAAW,CAAA;EAErCH,EAAAA,QAAQ,CAACF,OAAO,CAACK,IAAI,GAAGA,IAAI,CAACH,QAAQ,CAAA;EACvC,CAAA;EAEA,SAASM,UAAUA,CAAAC,IAAA,EAAkB;EAAA,EAAA,IAAfC,WAAW,GAAAD,IAAA,CAAXC,WAAW,CAAA;EAC/B,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE,OAAA;EAE1C,EAAA,IAAMC,IAAI,GAAGH,WAAW,CAACC,QAAQ,CAACE,IAAI,CAAA;IAEtC,IAAIA,IAAI,KAAK,GAAG,EAAE;EAChBH,IAAAA,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAI,CAACC,CAAC,GAAGP,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACC,CAAC,CAAA;EAC/DP,IAAAA,WAAW,CAACI,MAAM,CAACC,GAAG,CAACI,MAAM,CAACF,CAAC,GAAGP,WAAW,CAACI,MAAM,CAACI,KAAK,CAACC,MAAM,CAACF,CAAC,CAAA;MAEnEP,WAAW,CAACI,MAAM,CAACM,QAAQ,CAACD,MAAM,CAACF,CAAC,GAAG,CAAC,CAAA;MACxCP,WAAW,CAACI,MAAM,CAACM,QAAQ,CAACJ,IAAI,CAACC,CAAC,GAAG,CAAC,CAAA;EACxC,GAAC,MAAM,IAAIJ,IAAI,KAAK,GAAG,EAAE;EACvBH,IAAAA,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAI,CAACK,CAAC,GAAGX,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACK,CAAC,CAAA;EAC/DX,IAAAA,WAAW,CAACI,MAAM,CAACC,GAAG,CAACI,MAAM,CAACE,CAAC,GAAGX,WAAW,CAACI,MAAM,CAACI,KAAK,CAACC,MAAM,CAACE,CAAC,CAAA;MAEnEX,WAAW,CAACI,MAAM,CAACM,QAAQ,CAACD,MAAM,CAACE,CAAC,GAAG,CAAC,CAAA;MACxCX,WAAW,CAACI,MAAM,CAACM,QAAQ,CAACJ,IAAI,CAACK,CAAC,GAAG,CAAC,CAAA;EACxC,GAAA;EACF,CAAA;EAEA,SAASC,MAAIA,CAAAC,KAAA,EAA0B;EAAA,EAAA,IAAvBC,MAAM,GAAAD,KAAA,CAANC,MAAM;MAAEd,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EACjC,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE,OAAA;EAE1C,EAAA,IAAMC,IAAI,GAAGH,WAAW,CAACC,QAAQ,CAACE,IAAI,CAAA;EAEtC,EAAA,IAAIA,IAAI,KAAK,GAAG,IAAIA,IAAI,KAAK,GAAG,EAAE;MAChC,IAAMY,QAAQ,GAAGZ,IAAI,KAAK,GAAG,GAAG,GAAG,GAAG,GAAG,CAAA;EAEzCW,IAAAA,MAAM,CAACR,IAAI,CAACS,QAAQ,CAAC,GAAGf,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACS,QAAQ,CAAC,CAAA;EAC/DD,IAAAA,MAAM,CAACL,MAAM,CAACM,QAAQ,CAAC,GAAGf,WAAW,CAACI,MAAM,CAACI,KAAK,CAACC,MAAM,CAACM,QAAQ,CAAC,CAAA;EACnED,IAAAA,MAAM,CAACE,KAAK,CAACD,QAAQ,CAAC,GAAG,CAAC,CAAA;EAC5B,GAAA;EACF,CAAA;EAEA,IAAMrB,SAAoC,GAAG,SAASA,SAASA,CAE7DuB,OAAoC,EAC/B;EACL,EAAA,IAAIC,EAAE,CAAChD,MAAM,CAAC+C,OAAO,CAAC,EAAE;MACtB,IAAI,CAACA,OAAO,CAACtB,IAAI,CAACwB,OAAO,GAAGF,OAAO,CAACE,OAAO,KAAK,KAAK,CAAA;EACrD,IAAA,IAAI,CAACC,YAAY,CAAC,MAAM,EAAEH,OAAO,CAAC,CAAA;EAClC,IAAA,IAAI,CAACI,WAAW,CAAC,MAAM,EAAEJ,OAAO,CAAC,CAAA;MAEjC,IAAI,kBAAkB,CAACtC,IAAI,CAACsC,OAAO,CAACK,QAAQ,CAAC,EAAE;QAC7C,IAAI,CAACL,OAAO,CAACtB,IAAI,CAAC2B,QAAQ,GAAGL,OAAO,CAACK,QAAQ,CAAA;EAC/C,KAAA;MACA,IAAI,YAAY,CAAC3C,IAAI,CAACsC,OAAO,CAACM,SAAS,CAAC,EAAE;QACxC,IAAI,CAACN,OAAO,CAACtB,IAAI,CAAC4B,SAAS,GAAGN,OAAO,CAACM,SAAS,CAAA;EACjD,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,IAAIL,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC,EAAE;EACpB,IAAA,IAAI,CAACA,OAAO,CAACtB,IAAI,CAACwB,OAAO,GAAGF,OAAO,CAAA;EAEnC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,OAAO,IAAI,CAACA,OAAO,CAACtB,IAAI,CAAA;EAC1B,CAAC,CAAA;EAED,IAAMA,IAAY,GAAG;EACnB6B,EAAAA,EAAE,EAAE,cAAc;EAClBpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,iCAAiC,EAAE3B,UAAU;EAC7C,IAAA,4BAA4B,EAAEA,UAAU;EAExC;EACA,IAAA,0BAA0B,EAAEc,MAAI;EAChC,IAAA,kBAAkB,EAAE,SAAAc,cAACC,CAAAA,GAAG,EAAK;EAC3B,MAAA,IAAQ3B,WAAW,GAA4B2B,GAAG,CAA1C3B,WAAW;UAAE4B,YAAY,GAAcD,GAAG,CAA7BC,YAAY;UAAEC,OAAO,GAAKF,GAAG,CAAfE,OAAO,CAAA;EAC1C,MAAA,IAAMC,WAAW,GAAGF,YAAY,CAACX,OAAO,CAACtB,IAAI,CAAA;EAE7C,MAAA,IACE,EAAEmC,WAAW,IAAIA,WAAW,CAACX,OAAO,CAAC;EACrC;QACCnB,WAAW,CAAC+B,aAAa,IACxB,eAAe,CAACpD,IAAI,CAACqB,WAAW,CAACgC,WAAW,CAAC,IAC7C,CAACH,OAAO,GAAGD,YAAY,CAACX,OAAO,CAACtB,IAAI,CAACsC,YAAY,MAAM,CAAE,EAC3D;EACA,QAAA,OAAO9E,SAAS,CAAA;EAClB,OAAA;QAEAwE,GAAG,CAACO,MAAM,GAAG;EACXhC,QAAAA,IAAI,EAAE,MAAM;EACZC,QAAAA,IAAI,EAAE2B,WAAW,CAACR,QAAQ,KAAK,OAAO,GAAGQ,WAAW,CAACP,SAAS,GAAGO,WAAW,CAACR,QAAAA;SAC9E,CAAA;EAED,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;KACD;EACD5B,EAAAA,SAAS,EAATA,SAAS;EACTI,EAAAA,UAAU,EAAVA,UAAU;EACVc,EAAAA,IAAI,EAAJA,MAAI;EACJpB,EAAAA,QAAQ,EAAE;EACR+B,IAAAA,SAAS,EAAE,IAAI;EACfD,IAAAA,QAAQ,EAAE,IAAA;KACS;IAErBa,SAAS,EAAA,SAAAA,YAAG;EACV,IAAA,OAAO,MAAM,CAAA;KACd;IAEDC,eAAe,EAAE,SAAAA,eAAAA,CAACC,IAAY,EAAA;EAAA,IAAA,OAAKA,IAAI,CAACC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;EAAA,GAAA;EAC9D,CAAC,CAAA;AAED,eAAe3C,IAAI;;EChMnB,IAAM4C,UAYL,GAAG;EACFlF,EAAAA,IAAI,EAAJA,MAAI;EACJG,EAAAA,QAAQ,EAAE,IAAI;EACdgF,EAAAA,gBAAgB,EAAE,IAAI;EACtBC,EAAAA,UAAU,EAAE,IAAI;EAChBC,EAAAA,aAAa,EAAE,IAAI;EACnBC,EAAAA,kBAAkB,EAAE,IAAI;EACxB/D,EAAAA,OAAO,EAAE,IAAI;EACbgE,EAAAA,WAAW,EAAE,IAAI;EACjBC,EAAAA,KAAK,EAAE,IAAI;EACXC,EAAAA,KAAK,EAAE,IAAI;EACXC,EAAAA,YAAY,EAAE,IAAA;EAChB,CAAC,CAAA;EAED,SAASC,KAAKA,GAAG,EAAC;AAElB,qBAAeT,UAAU,CAAA;EAEzB,SAASlF,MAAIA,CAACC,MAAc,EAAE;IAC5B,IAAMF,GAAG,GAAGE,MAAa,CAAA;EAEzBiF,EAAAA,UAAU,CAAC/E,QAAQ,GAAGJ,GAAG,CAACI,QAAQ,CAAA;EAClC+E,EAAAA,UAAU,CAACC,gBAAgB,GAAGpF,GAAG,CAACoF,gBAAgB,IAAIQ,KAAK,CAAA;EAC3DT,EAAAA,UAAU,CAACE,UAAU,GAAGrF,GAAG,CAACqF,UAAU,IAAIO,KAAK,CAAA;EAC/CT,EAAAA,UAAU,CAACG,aAAa,GAAGtF,GAAG,CAACsF,aAAa,IAAIM,KAAK,CAAA;EACrDT,EAAAA,UAAU,CAACI,kBAAkB,GAAGvF,GAAG,CAACuF,kBAAkB,IAAIK,KAAK,CAAA;EAC/DT,EAAAA,UAAU,CAAC3D,OAAO,GAAGxB,GAAG,CAACwB,OAAO,IAAIoE,KAAK,CAAA;IACzCT,UAAU,CAACK,WAAW,GAAGxF,GAAG,CAACwF,WAAW,IAAIL,UAAU,CAAC3D,OAAO,CAAA;EAE9D2D,EAAAA,UAAU,CAACM,KAAK,GAAGzF,GAAG,CAACyF,KAAK,CAAA;EAC5BN,EAAAA,UAAU,CAACO,KAAK,GAAG1F,GAAG,CAAC0F,KAAK,IAAIE,KAAK,CAAA;IACrCT,UAAU,CAACQ,YAAY,GAAG3F,GAAG,CAAC2F,YAAY,IAAI3F,GAAG,CAAC6F,cAAc,CAAA;EAClE;;ECzCA,IAAMC,OAAO,GAAG;EACd7F,EAAAA,IAAI,EAAJA,MAAI;EACJ8F,EAAAA,aAAa,EAAE,IAAe;EAC9BC,EAAAA,oBAAoB,EAAE,IAAe;EACrCC,EAAAA,MAAM,EAAE,IAAe;EACvBC,EAAAA,KAAK,EAAE,IAAe;EACtBC,EAAAA,KAAK,EAAE,IAAe;EACtBC,EAAAA,aAAa,EAAE,IAAe;EAC9BC,EAAAA,uBAAuB,EAAE,IAAiB;EAC1CC,EAAAA,WAAW,EAAE,IAOZ;EACDC,EAAAA,UAAU,EAAE,IAAA;EACd,CAAC,CAAA;EAED,SAAStG,MAAIA,CAACC,MAAW,EAAE;EACzB,EAAA,IAAMsB,OAAO,GAAG2D,YAAU,CAAC3D,OAAO,CAAA;EAClC,EAAA,IAAMgF,SAA6B,GAAGtG,MAAM,CAACsG,SAAS,IAAI,EAAE,CAAA;;EAE5D;IACAV,OAAO,CAACC,aAAa,GACnB,cAAc,IAAI7F,MAAM,IACvB4D,EAAE,CAAC7C,IAAI,CAACf,MAAM,CAACuG,aAAa,CAAC,IAAItB,YAAU,CAAC/E,QAAQ,YAAYF,MAAM,CAACuG,aAAc,CAAA;;EAExF;EACA;EACAX,EAAAA,OAAO,CAACE,oBAAoB,GAAIQ,SAAS,CAASE,cAAc,KAAK,KAAK,IAAI,CAAC,CAACvB,YAAU,CAACQ,YAAY,CAAA;IAEvGG,OAAO,CAACI,KAAK,GAAG,gBAAgB,CAAC3E,IAAI,CAACiF,SAAS,CAACG,QAAQ,CAAC,CAAA;;EAEzD;EACAb,EAAAA,OAAO,CAACG,MAAM,GAAG,gBAAgB,CAAC1E,IAAI,CAACiF,SAAS,CAACG,QAAQ,CAAC,IAAI,WAAW,CAACpF,IAAI,CAACiF,SAAS,CAACI,UAAU,CAAC,CAAA;IAEpGd,OAAO,CAACK,KAAK,GAAG,QAAQ,CAAC5E,IAAI,CAACiF,SAAS,CAACK,SAAS,CAAC,CAAA;;EAElD;IACAf,OAAO,CAACM,aAAa,GACnBI,SAAS,CAACM,OAAO,KAAK,OAAO,IAAIhB,OAAO,CAACC,aAAa,IAAI,QAAQ,CAACxE,IAAI,CAACiF,SAAS,CAACK,SAAS,CAAC,CAAA;;EAE9F;EACAf,EAAAA,OAAO,CAACO,uBAAuB,GAC7B,SAAS,IAAI7E,OAAO,CAACa,SAAS,GAC1B,SAAS,GACT,uBAAuB,IAAIb,OAAO,CAACa,SAAS,GAC1C,uBAAuB,GACvB,oBAAoB,IAAIb,OAAO,CAACa,SAAS,GACvC,oBAAoB,GACpB,kBAAkB,IAAIb,OAAO,CAACa,SAAS,GACrC,kBAAkB,GAClB,mBACE,CAAA;EAEdyD,EAAAA,OAAO,CAACQ,WAAW,GAAGR,OAAO,CAACE,oBAAoB,GAC9Cb,YAAU,CAACQ,YAAY,KAAKzF,MAAM,CAAC2F,cAAc,GAC/C;EACEkB,IAAAA,EAAE,EAAE,aAAa;EACjBC,IAAAA,IAAI,EAAE,eAAe;EACrBC,IAAAA,IAAI,EAAE,WAAW;EACjBC,IAAAA,GAAG,EAAE,UAAU;EACf1D,IAAAA,IAAI,EAAE,eAAe;EACrB2D,IAAAA,MAAM,EAAE,iBAAA;EACV,GAAC,GACD;EACEJ,IAAAA,EAAE,EAAE,WAAW;EACfC,IAAAA,IAAI,EAAE,aAAa;EACnBC,IAAAA,IAAI,EAAE,aAAa;EACnBC,IAAAA,GAAG,EAAE,YAAY;EACjB1D,IAAAA,IAAI,EAAE,aAAa;EACnB2D,IAAAA,MAAM,EAAE,eAAA;EACV,GAAC,GACH,IAAI,CAAA;;EAER;EACArB,EAAAA,OAAO,CAACS,UAAU,GAAGpB,YAAU,CAAC/E,QAAQ,IAAI,cAAc,IAAI+E,YAAU,CAAC/E,QAAQ,GAAG,YAAY,GAAG,OAAO,CAAA;EAC5G,CAAA;AAEA,kBAAe0F,OAAO;;EC7Ef,SAASsB,YAAYA,CAACC,MAAY,EAAEC,KAAW,EAAE;IACtD,IAAID,MAAM,CAACE,QAAQ,EAAE;EACnB,IAAA,OAAOF,MAAM,CAACE,QAAQ,CAACD,KAAa,CAAC,CAAA;EACvC,GAAA;EAEA,EAAA,OAAOA,KAAK,EAAE;MACZ,IAAIA,KAAK,KAAKD,MAAM,EAAE;EACpB,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;MAEAC,KAAK,GAAIA,KAAK,CAAUE,UAAU,CAAA;EACpC,GAAA;EAEA,EAAA,OAAO,KAAK,CAAA;EACd,CAAA;EAEO,SAASC,OAAOA,CAACpG,OAAa,EAAEqG,QAAgB,EAAE;EACvD,EAAA,OAAO5D,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EAC1B,IAAA,IAAIsG,eAAe,CAACtG,OAAO,EAAEqG,QAAQ,CAAC,EAAE;EACtC,MAAA,OAAOrG,OAAO,CAAA;EAChB,KAAA;EAEAA,IAAAA,OAAO,GAAGmG,UAAU,CAACnG,OAAO,CAAC,CAAA;EAC/B,GAAA;EAEA,EAAA,OAAO,IAAI,CAAA;EACb,CAAA;EAEO,SAASmG,UAAUA,CAAC/G,IAAqB,EAAE;EAChD,EAAA,IAAI4G,MAAM,GAAG5G,IAAI,CAAC+G,UAAU,CAAA;EAE5B,EAAA,IAAI1D,EAAE,CAACjD,OAAO,CAACwG,MAAM,CAAC,EAAE;EACtB;EACA;EACA,IAAA,OAAO,CAACA,MAAM,GAAIA,MAAM,CAASO,IAAI,KAAK9D,EAAE,CAACjD,OAAO,CAACwG,MAAM,CAAC,EAAE;EAC5D,MAAA,SAAA;EACF,KAAA;EAEA,IAAA,OAAOA,MAAM,CAAA;EACf,GAAA;EAEA,EAAA,OAAOA,MAAM,CAAA;EACf,CAAA;EAEO,SAASM,eAAeA,CAACtG,OAAgB,EAAEqG,QAAgB,EAAE;EAClE;EACA,EAAA,IAAI1H,GAAU,KAAKA,UAAc,EAAE;MACjC0H,QAAQ,GAAGA,QAAQ,CAACG,OAAO,CAAC,WAAW,EAAE,GAAG,CAAC,CAAA;EAC/C,GAAA;IAEA,OAAOxG,OAAO,CAACyE,SAAO,CAACO,uBAAuB,CAAC,CAACqB,QAAQ,CAAC,CAAA;EAC3D,CAAA;EAEA,IAAMI,SAAS,GAAG,SAAZA,SAASA,CAAI3H,EAAgC,EAAA;EAAA,EAAA,OAAKA,EAAE,CAACqH,UAAU,IAAKrH,EAAE,CAAgByH,IAAI,CAAA;EAAA,CAAA,CAAA;;EAEhG;EACO,SAASG,qBAAqBA,CAACC,QAAoD,EAAE;IAC1F,IAAIC,kBAA0B,GAAG,EAAE,CAAA;EACnC,EAAA,IAAIC,gBAAwB,CAAA;EAE5B,EAAA,KAAK,IAAIC,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGH,QAAQ,CAAClG,MAAM,EAAEqG,CAAC,EAAE,EAAE;EACxC,IAAA,IAAMC,WAAW,GAAGJ,QAAQ,CAACG,CAAC,CAAC,CAAA;EAC/B,IAAA,IAAME,WAAiB,GAAGL,QAAQ,CAACE,gBAAgB,CAAC,CAAA;;EAEpD;EACA,IAAA,IAAI,CAACE,WAAW,IAAID,CAAC,KAAKD,gBAAgB,EAAE;EAC1C,MAAA,SAAA;EACF,KAAA;MAEA,IAAI,CAACG,WAAW,EAAE;EAChBH,MAAAA,gBAAgB,GAAGC,CAAC,CAAA;EACpB,MAAA,SAAA;EACF,KAAA;EAEA,IAAA,IAAMG,iBAAiB,GAAGR,SAAS,CAACM,WAAW,CAAC,CAAA;EAChD,IAAA,IAAMG,iBAAiB,GAAGT,SAAS,CAACO,WAAW,CAAC,CAAA;;EAEhD;EACA;EACA,IAAA,IAAIC,iBAAiB,KAAKF,WAAW,CAAC9H,aAAa,EAAE;EACnD,MAAA,SAAA;EACF,KAAA;EACA;EAAA,SACK,IAAIiI,iBAAiB,KAAKH,WAAW,CAAC9H,aAAa,EAAE;EACxD4H,MAAAA,gBAAgB,GAAGC,CAAC,CAAA;EACpB,MAAA,SAAA;EACF,KAAA;;EAEA;MACA,IAAIG,iBAAiB,KAAKC,iBAAiB,EAAE;EAC3C,MAAA,IAAIC,kBAAkB,CAACJ,WAAW,EAAEC,WAAW,CAAC,EAAE;EAChDH,QAAAA,gBAAgB,GAAGC,CAAC,CAAA;EACtB,OAAA;EAEA,MAAA,SAAA;EACF,KAAA;;EAEA;MACAF,kBAAkB,GAAGA,kBAAkB,CAACnG,MAAM,GAAGmG,kBAAkB,GAAGQ,cAAc,CAACJ,WAAW,CAAC,CAAA;EAEjG,IAAA,IAAIK,aAAmB,GAAA,KAAA,CAAA,CAAA;;EAEvB;EACA,IAAA,IACEL,WAAW,YAAYlD,YAAU,CAACK,WAAW,IAC7C4C,WAAW,YAAYjD,YAAU,CAACE,UAAU,IAC5C,EAAE+C,WAAW,YAAYjD,YAAU,CAACG,aAAa,CAAC,EAClD;EACA;QACA,IAAI8C,WAAW,KAAKG,iBAAiB,EAAE;EACrC,QAAA,SAAA;EACF,OAAA;QAEAG,aAAa,GAAGN,WAAW,CAACO,eAAe,CAAA;EAC7C,KAAC,MAAM;EACLD,MAAAA,aAAa,GAAGN,WAAW,CAAA;EAC7B,KAAA;MAEA,IAAMQ,kBAAkB,GAAGH,cAAc,CAACC,aAAa,EAAEL,WAAW,CAAC/H,aAAa,CAAC,CAAA;MACnF,IAAIuI,WAAW,GAAG,CAAC,CAAA;;EAEnB;EACA,IAAA,OACED,kBAAkB,CAACC,WAAW,CAAC,IAC/BD,kBAAkB,CAACC,WAAW,CAAC,KAAKZ,kBAAkB,CAACY,WAAW,CAAC,EACnE;EACAA,MAAAA,WAAW,EAAE,CAAA;EACf,KAAA;EAEA,IAAA,IAAMC,OAAO,GAAG,CACdF,kBAAkB,CAACC,WAAW,GAAG,CAAC,CAAC,EACnCD,kBAAkB,CAACC,WAAW,CAAC,EAC/BZ,kBAAkB,CAACY,WAAW,CAAC,CAChC,CAAA;EAED,IAAA,IAAIC,OAAO,CAAC,CAAC,CAAC,EAAE;EACd,MAAA,IAAIxB,KAAK,GAAGwB,OAAO,CAAC,CAAC,CAAC,CAACC,SAAS,CAAA;EAEhC,MAAA,OAAOzB,KAAK,EAAE;EACZ,QAAA,IAAIA,KAAK,KAAKwB,OAAO,CAAC,CAAC,CAAC,EAAE;EACxBZ,UAAAA,gBAAgB,GAAGC,CAAC,CAAA;EACpBF,UAAAA,kBAAkB,GAAGW,kBAAkB,CAAA;EAEvC,UAAA,MAAA;WACD,MAAM,IAAItB,KAAK,KAAKwB,OAAO,CAAC,CAAC,CAAC,EAAE;EAC/B,UAAA,MAAA;EACF,SAAA;UAEAxB,KAAK,GAAGA,KAAK,CAAC0B,eAAe,CAAA;EAC/B,OAAA;EACF,KAAA;EACF,GAAA;EAEA,EAAA,OAAOd,gBAAgB,CAAA;EACzB,CAAA;EAEA,SAASO,cAAcA,CAAChI,IAAU,EAAEwI,KAAY,EAAE;IAChD,IAAMH,OAAe,GAAG,EAAE,CAAA;IAC1B,IAAIzB,MAAY,GAAG5G,IAAI,CAAA;EACvB,EAAA,IAAIyI,YAAkB,CAAA;EAEtB,EAAA,OAAO,CAACA,YAAY,GAAGpB,SAAS,CAACT,MAAM,CAAC,KAAKA,MAAM,KAAK4B,KAAK,IAAIC,YAAY,KAAK7B,MAAM,CAAC/G,aAAa,EAAE;EACtGwI,IAAAA,OAAO,CAACK,OAAO,CAAC9B,MAAM,CAAC,CAAA;EACvBA,IAAAA,MAAM,GAAG6B,YAAY,CAAA;EACvB,GAAA;EAEA,EAAA,OAAOJ,OAAO,CAAA;EAChB,CAAA;EAEA,SAASN,kBAAkBA,CAACY,UAAgB,EAAEC,SAAe,EAAE;IAC7D,IAAMC,WAAW,GAAGC,QAAQ,CAACvJ,SAAa,CAACoJ,UAAU,CAAC,CAACI,gBAAgB,CAACJ,UAAU,CAAC,CAACK,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAA;IACpG,IAAMC,UAAU,GAAGH,QAAQ,CAACvJ,SAAa,CAACqJ,SAAS,CAAC,CAACG,gBAAgB,CAACH,SAAS,CAAC,CAACI,MAAM,EAAE,EAAE,CAAC,IAAI,CAAC,CAAA;IAEjG,OAAOH,WAAW,IAAII,UAAU,CAAA;EAClC,CAAA;EAEO,SAASC,WAAWA,CAACtI,OAAgB,EAAEqG,QAAgB,EAAEuB,KAAW,EAAE;EAC3E,EAAA,OAAOnF,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EAC1B,IAAA,IAAIsG,eAAe,CAACtG,OAAO,EAAEqG,QAAQ,CAAC,EAAE;EACtC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEArG,IAAAA,OAAO,GAAGmG,UAAU,CAACnG,OAAO,CAAY,CAAA;MAExC,IAAIA,OAAO,KAAK4H,KAAK,EAAE;EACrB,MAAA,OAAOtB,eAAe,CAACtG,OAAO,EAAEqG,QAAQ,CAAC,CAAA;EAC3C,KAAA;EACF,GAAA;EAEA,EAAA,OAAO,KAAK,CAAA;EACd,CAAA;EAEO,SAASkC,gBAAgBA,CAACvI,OAAgB,EAAE;EACjD,EAAA,OAAQA,OAAO,CAASwI,uBAAuB,IAAIxI,OAAO,CAAA;EAC5D,CAAA;EAEO,SAASyI,WAAWA,CAACC,cAAuB,EAAE;EACnDA,EAAAA,cAAc,GAAGA,cAAc,IAAI/J,GAAU,CAAA;IAC7C,OAAO;MACLuD,CAAC,EAAEwG,cAAc,CAACC,OAAO,IAAID,cAAc,CAAC3J,QAAQ,CAAC6J,eAAe,CAACC,UAAU;MAC/E/G,CAAC,EAAE4G,cAAc,CAACI,OAAO,IAAIJ,cAAc,CAAC3J,QAAQ,CAAC6J,eAAe,CAACG,SAAAA;KACtE,CAAA;EACH,CAAA;EAEO,SAASC,oBAAoBA,CAAChJ,OAAgB,EAAkB;IACrE,IAAMiJ,UAAU,GACdjJ,OAAO,YAAY8D,YAAU,CAACE,UAAU,GAAGhE,OAAO,CAACkJ,qBAAqB,EAAE,GAAGlJ,OAAO,CAACmJ,cAAc,EAAE,CAAC,CAAC,CAAC,CAAA;EAE1G,EAAA,OACEF,UAAU,IAAI;MACZG,IAAI,EAAEH,UAAU,CAACG,IAAI;MACrBC,KAAK,EAAEJ,UAAU,CAACI,KAAK;MACvBC,GAAG,EAAEL,UAAU,CAACK,GAAG;MACnBC,MAAM,EAAEN,UAAU,CAACM,MAAM;MACzBC,KAAK,EAAEP,UAAU,CAACO,KAAK,IAAIP,UAAU,CAACI,KAAK,GAAGJ,UAAU,CAACG,IAAI;MAC7DK,MAAM,EAAER,UAAU,CAACQ,MAAM,IAAIR,UAAU,CAACM,MAAM,GAAGN,UAAU,CAACK,GAAAA;KAC7D,CAAA;EAEL,CAAA;EAEO,SAASI,cAAcA,CAAC1J,OAAgB,EAAE;EAC/C,EAAA,IAAMiJ,UAAU,GAAGD,oBAAoB,CAAChJ,OAAO,CAAC,CAAA;EAEhD,EAAA,IAAI,CAACyE,SAAO,CAACG,MAAM,IAAIqE,UAAU,EAAE;MACjC,IAAMU,MAAM,GAAGlB,WAAW,CAAC9J,SAAa,CAACqB,OAAO,CAAC,CAAC,CAAA;EAElDiJ,IAAAA,UAAU,CAACG,IAAI,IAAIO,MAAM,CAACzH,CAAC,CAAA;EAC3B+G,IAAAA,UAAU,CAACI,KAAK,IAAIM,MAAM,CAACzH,CAAC,CAAA;EAC5B+G,IAAAA,UAAU,CAACK,GAAG,IAAIK,MAAM,CAAC7H,CAAC,CAAA;EAC1BmH,IAAAA,UAAU,CAACM,MAAM,IAAII,MAAM,CAAC7H,CAAC,CAAA;EAC/B,GAAA;EAEA,EAAA,OAAOmH,UAAU,CAAA;EACnB,CAAA;EAEO,SAASW,OAAOA,CAACxK,IAAqB,EAAE;IAC7C,IAAMyK,IAAI,GAAG,EAAE,CAAA;EAEf,EAAA,OAAOzK,IAAI,EAAE;EACXyK,IAAAA,IAAI,CAACC,IAAI,CAAC1K,IAAI,CAAC,CAAA;EACfA,IAAAA,IAAI,GAAG+G,UAAU,CAAC/G,IAAI,CAAC,CAAA;EACzB,GAAA;EAEA,EAAA,OAAOyK,IAAI,CAAA;EACb,CAAA;EAEO,SAASE,WAAWA,CAACC,KAAa,EAAE;EACzC,EAAA,IAAI,CAACvH,EAAE,CAAC1C,MAAM,CAACiK,KAAK,CAAC,EAAE;EACrB,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;;EAEA;EACAlG,EAAAA,YAAU,CAAC/E,QAAQ,CAACkL,aAAa,CAACD,KAAK,CAAC,CAAA;EACxC,EAAA,OAAO,IAAI,CAAA;EACb;;ECrQe,SAASE,MAAMA,CAAsBC,IAAoB,EAAEC,MAAS,EAAS;EAC1F,EAAA,KAAK,IAAMC,IAAI,IAAID,MAAM,EAAE;EACvBD,IAAAA,IAAI,CAAkBE,IAAI,CAAC,GAAGD,MAAM,CAACC,IAAI,CAAC,CAAA;EAC9C,GAAA;IAEA,IAAMC,GAAG,GAAGH,IAAa,CAAA;EAEzB,EAAA,OAAOG,GAAG,CAAA;EACZ;;ECMO,SAASC,qBAAqBA,CAACP,KAAU,EAAEQ,MAAkB,EAAExK,OAAa,EAAE;IACnF,IAAIgK,KAAK,KAAK,QAAQ,EAAE;MACtB,OAAO7D,UAAU,CAACnG,OAAO,CAAC,CAAA;EAC5B,GAAA;IAEA,IAAIgK,KAAK,KAAK,MAAM,EAAE;EACpB,IAAA,OAAOQ,MAAM,CAACC,OAAO,CAACzK,OAAkB,CAAC,CAAA;EAC3C,GAAA;EAEA,EAAA,OAAOoG,OAAO,CAACpG,OAAO,EAAEgK,KAAK,CAAC,CAAA;EAChC,CAAA;EAEO,SAASU,eAAeA,CAC7BV,KAAwB,EACxBQ,MAAmB,EACnBxK,OAAc,EACd2K,YAAgB,EAChB;IACA,IAAIC,WAAgB,GAAGZ,KAAK,CAAA;EAC5B,EAAA,IAAIvH,EAAE,CAAC1C,MAAM,CAAC6K,WAAW,CAAC,EAAE;MAC1BA,WAAW,GAAGL,qBAAqB,CAACK,WAAW,EAAEJ,MAAM,EAAExK,OAAO,CAAC,CAAA;KAClE,MAAM,IAAIyC,EAAE,CAAC7C,IAAI,CAACgL,WAAW,CAAC,EAAE;EAC/BA,IAAAA,WAAW,GAAGA,WAAW,CAAAC,KAAA,CAAA,KAAA,CAAA,EAAIF,YAAY,CAAC,CAAA;EAC5C,GAAA;EAEA,EAAA,IAAIlI,EAAE,CAACzC,OAAO,CAAC4K,WAAW,CAAC,EAAE;EAC3BA,IAAAA,WAAW,GAAGlB,cAAc,CAACkB,WAAW,CAAC,CAAA;EAC3C,GAAA;EAEA,EAAA,OAAOA,WAAW,CAAA;EACpB,CAAA;EAUO,SAASE,QAAQA,CAACC,IAAkB,EAAE;EAC3C,EAAA,OACEA,IAAI,IAAI;MACN7I,CAAC,EAAE,GAAG,IAAI6I,IAAI,GAAGA,IAAI,CAAC7I,CAAC,GAAG6I,IAAI,CAAC3B,IAAI;MACnCtH,CAAC,EAAE,GAAG,IAAIiJ,IAAI,GAAGA,IAAI,CAACjJ,CAAC,GAAGiJ,IAAI,CAACzB,GAAAA;KAChC,CAAA;EAEL,CAAA;EAEO,SAAS0B,UAAUA,CAAkCD,IAAO,EAAE;IACnE,IAAIA,IAAI,IAAI,EAAE,MAAM,IAAIA,IAAI,IAAI,KAAK,IAAIA,IAAI,CAAC,EAAE;EAC9CA,IAAAA,IAAI,GAAGb,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC,CAAA;EAEvBA,IAAAA,IAAI,CAAC3B,IAAI,GAAG2B,IAAI,CAAC7I,CAAC,IAAI,CAAC,CAAA;EACvB6I,IAAAA,IAAI,CAACzB,GAAG,GAAGyB,IAAI,CAACjJ,CAAC,IAAI,CAAC,CAAA;EACtBiJ,IAAAA,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC1B,KAAK,IAAI0B,IAAI,CAAC3B,IAAI,GAAG2B,IAAI,CAACvB,KAAK,CAAA;EACjDuB,IAAAA,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACxB,MAAM,IAAIwB,IAAI,CAACzB,GAAG,GAAGyB,IAAI,CAACtB,MAAM,CAAA;EACrD,GAAA;EAEA,EAAA,OAAOsB,IAAI,CAAA;EACb,CAAA;EAEO,SAASE,UAAUA,CAACF,IAA2B,EAAE;IACtD,IAAIA,IAAI,IAAI,EAAE,GAAG,IAAIA,IAAI,IAAI,GAAG,IAAIA,IAAI,CAAC,EAAE;EACzCA,IAAAA,IAAI,GAAGb,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC,CAAA;EAEvBA,IAAAA,IAAI,CAAC7I,CAAC,GAAG6I,IAAI,CAAC3B,IAAI,IAAI,CAAC,CAAA;EACvB2B,IAAAA,IAAI,CAACjJ,CAAC,GAAGiJ,IAAI,CAACzB,GAAG,IAAI,CAAC,CAAA;EACtByB,IAAAA,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAACvB,KAAK,IAAI,CAACuB,IAAI,CAAC1B,KAAK,IAAI,CAAC,IAAI0B,IAAI,CAAC7I,CAAC,CAAA;EACrD6I,IAAAA,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACtB,MAAM,IAAI,CAACsB,IAAI,CAACxB,MAAM,IAAI,CAAC,IAAIwB,IAAI,CAACjJ,CAAC,CAAA;EAC1D,GAAA;EAEA,EAAA,OAAOiJ,IAAI,CAAA;EACb,CAAA;EAEO,SAASG,QAAQA,CAACC,KAAkB,EAAEJ,IAAU,EAAExI,KAAY,EAAE;IACrE,IAAI4I,KAAK,CAAC/B,IAAI,EAAE;EACd2B,IAAAA,IAAI,CAAC3B,IAAI,IAAI7G,KAAK,CAACL,CAAC,CAAA;EACtB,GAAA;IACA,IAAIiJ,KAAK,CAAC9B,KAAK,EAAE;EACf0B,IAAAA,IAAI,CAAC1B,KAAK,IAAI9G,KAAK,CAACL,CAAC,CAAA;EACvB,GAAA;IACA,IAAIiJ,KAAK,CAAC7B,GAAG,EAAE;EACbyB,IAAAA,IAAI,CAACzB,GAAG,IAAI/G,KAAK,CAACT,CAAC,CAAA;EACrB,GAAA;IACA,IAAIqJ,KAAK,CAAC5B,MAAM,EAAE;EAChBwB,IAAAA,IAAI,CAACxB,MAAM,IAAIhH,KAAK,CAACT,CAAC,CAAA;EACxB,GAAA;IAEAiJ,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,CAAA;IACnC2B,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,CAAA;EACtC;;ECpGe,SAAS8B,WAAWA,CACjCZ,MAAmD,EACnDxK,OAAa,EACbqL,UAAuB,EACvB;IACA,IAAMC,aAAa,GAAGD,UAAU,IAAKb,MAAM,CAAChI,OAAO,CAAS6I,UAAU,CAAC,CAAA;EACvE,EAAA,IAAME,YAAY,GAAGD,aAAa,IAAIA,aAAa,CAACE,MAAM,CAAA;IAC1D,IAAMA,MAAM,GAAGD,YAAY,IAAIf,MAAM,CAAChI,OAAO,CAACgJ,MAAM,CAAA;EAEpD,EAAA,IAAMC,UAAU,GAAGf,eAAe,CAACc,MAAM,EAAEhB,MAAM,EAAExK,OAAO,EAAE,CAACwK,MAAM,IAAIxK,OAAO,CAAC,CAAC,CAAA;EAEhF,EAAA,OAAO8K,QAAQ,CAACW,UAAU,CAAC,IAAI;EAAEvJ,IAAAA,CAAC,EAAE,CAAC;EAAEJ,IAAAA,CAAC,EAAE,CAAA;KAAG,CAAA;EAC/C;;ECTe,SAAS4J,SAASA,CAC/B9H,IAAgB,EAChBZ,SAAgD,EAG3B;EAAA,EAAA,IAFrB2I,MAAM,GAAAC,SAAA,CAAAnL,MAAA,GAAA,CAAA,IAAAmL,SAAA,CAAA,CAAA,CAAA,KAAAlN,SAAA,GAAAkN,SAAA,CAAA,CAAA,CAAA,GAAG,UAACC,aAAqB,EAAA;EAAA,IAAA,OAAK,IAAI,CAAA;EAAA,GAAA,CAAA;IAAA,IACxCC,MAA4B,GAAAF,SAAA,CAAAnL,MAAA,GAAAmL,CAAAA,GAAAA,SAAA,MAAAlN,SAAA,CAAA;EAE5BoN,EAAAA,MAAM,GAAGA,MAAM,IAAI,EAAE,CAAA;EAErB,EAAA,IAAIrJ,EAAE,CAAC1C,MAAM,CAAC6D,IAAI,CAAC,IAAIA,IAAI,CAACC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;EAC9CD,IAAAA,IAAI,GAAGmI,KAAK,CAACnI,IAAI,CAAC,CAAA;EACpB,GAAA;EAEA,EAAA,IAAInB,EAAE,CAACjC,KAAK,CAACoD,IAAI,CAAC,EAAE;EAClBA,IAAAA,IAAI,CAACoI,OAAO,CAAC,UAACC,CAAC,EAAA;QAAA,OAAKP,SAAS,CAACO,CAAC,EAAEjJ,SAAS,EAAE2I,MAAM,EAAEG,MAAM,CAAC,CAAA;OAAC,CAAA,CAAA;EAC5D,IAAA,OAAOA,MAAM,CAAA;EACf,GAAA;;EAEA;EACA;EACA,EAAA,IAAIrJ,EAAE,CAAChD,MAAM,CAACmE,IAAI,CAAC,EAAE;EACnBZ,IAAAA,SAAS,GAAGY,IAAI,CAAA;EAChBA,IAAAA,IAAI,GAAG,EAAE,CAAA;EACX,GAAA;IAEA,IAAInB,EAAE,CAAC7C,IAAI,CAACoD,SAAS,CAAC,IAAI2I,MAAM,CAAC/H,IAAI,CAAC,EAAE;MACtCkI,MAAM,CAAClI,IAAI,CAAC,GAAGkI,MAAM,CAAClI,IAAI,CAAC,IAAI,EAAE,CAAA;EACjCkI,IAAAA,MAAM,CAAClI,IAAI,CAAC,CAACkG,IAAI,CAAC9G,SAAS,CAAC,CAAA;KAC7B,MAAM,IAAIP,EAAE,CAACjC,KAAK,CAACwC,SAAS,CAAC,EAAE;EAAA,IAAA,KAAA,IAAAkJ,GAAA,GAAA,CAAA,EAAAC,WAAA,GACdnJ,SAAS,EAAAkJ,GAAA,GAAAC,WAAA,CAAA1L,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAtB,MAAA,IAAME,CAAC,GAAAD,WAAA,CAAAD,GAAA,CAAA,CAAA;QACVR,SAAS,CAAC9H,IAAI,EAAEwI,CAAC,EAAET,MAAM,EAAEG,MAAM,CAAC,CAAA;EACpC,KAAA;KACD,MAAM,IAAIrJ,EAAE,CAAChD,MAAM,CAACuD,SAAS,CAAC,EAAE;EAC/B,IAAA,KAAK,IAAMqJ,MAAM,IAAIrJ,SAAS,EAAE;QAC9B,IAAMsJ,aAAa,GAAGP,KAAK,CAACM,MAAM,CAAC,CAAClL,GAAG,CAAC,UAACoL,CAAC,EAAA;EAAA,QAAA,OAAA,EAAA,CAAAC,MAAA,CAAQ5I,IAAI,CAAA4I,CAAAA,MAAA,CAAGD,CAAC,CAAA,CAAA;EAAA,OAAE,CAAC,CAAA;QAE7Db,SAAS,CAACY,aAAa,EAAEtJ,SAAS,CAACqJ,MAAM,CAAC,EAAEV,MAAM,EAAEG,MAAM,CAAC,CAAA;EAC7D,KAAA;EACF,GAAA;EAEA,EAAA,OAAOA,MAAM,CAAA;EACf,CAAA;EAEA,SAASC,KAAKA,CAACnI,IAAY,EAAE;IAC3B,OAAOA,IAAI,CAAC6I,IAAI,EAAE,CAACV,KAAK,CAAC,IAAI,CAAC,CAAA;EAChC;;ACpDA,cAAe,CAAA,UAAC7J,CAAS,EAAEJ,CAAS,EAAA;IAAA,OAAK4K,IAAI,CAACC,IAAI,CAACzK,CAAC,GAAGA,CAAC,GAAGJ,CAAC,GAAGA,CAAC,CAAC,CAAA;EAAA,CAAA;;ECAjE,IAAM8K,eAAe,GAAG,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;EAE1B,SAASC,aAAaA,CAAI1C,IAAyC,EAAEC,MAAS,EAAE;IAC7FD,IAAI,CAAC2C,KAAK,KAAV3C,IAAI,CAAC2C,KAAK,GAAK,EAAE,CAAA,CAAA;EAAO,EAAA,IAAAC,KAAA,GAAA,SAAAA,KAAA1C,CAAAA,IAAA,EAEG;EACzB;EACA,IAAA,IAAIuC,eAAe,CAACI,IAAI,CAAC,UAACX,MAAM,EAAA;EAAA,MAAA,OAAKhC,IAAI,CAAC4C,OAAO,CAACZ,MAAM,CAAC,KAAK,CAAC,CAAA;OAAC,CAAA,EAAA,OAAA,CAAA,CAAA;MAEhE,IAAI,OAAOlC,IAAI,CAACE,IAAI,CAAC,KAAK,UAAU,IAAIA,IAAI,KAAK,OAAO,EAAE;EACxD6C,MAAAA,MAAM,CAACC,cAAc,CAAChD,IAAI,EAAEE,IAAI,EAAE;UAChC+C,GAAG,EAAA,SAAAA,MAAG;EACJ,UAAA,IAAI/C,IAAI,IAAIF,IAAI,CAAC2C,KAAK,EAAE,OAAO3C,IAAI,CAAC2C,KAAK,CAACzC,IAAI,CAAC,CAAA;YAE/C,OAAQF,IAAI,CAAC2C,KAAK,CAACzC,IAAI,CAAC,GAAGD,MAAM,CAACC,IAAI,CAAQ,CAAA;WAC/C;UACDgD,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAU,EAAE;EACdG,UAAAA,IAAI,CAAC2C,KAAK,CAACzC,IAAI,CAAC,GAAGL,KAAK,CAAA;WACzB;EACDsD,QAAAA,YAAY,EAAE,IAAA;EAChB,OAAC,CAAC,CAAA;EACJ,KAAA;KACD,CAAA;IAjBD,KAAK,IAAMjD,IAAI,IAAID,MAAM,EAAA;MAAA,IAAA2C,KAAA,CAAA1C,IAAA,CAE2C,EAAA,SAAA;EAAQ,GAAA;EAgB5E,EAAA,OAAOF,IAAI,CAAA;EACb;;ECdO,SAASoD,UAAUA,CAACpD,IAAqB,EAAEqD,GAAoB,EAAE;IACtErD,IAAI,CAACtI,IAAI,GAAGsI,IAAI,CAACtI,IAAI,IAAK,EAAU,CAAA;IACpCsI,IAAI,CAACtI,IAAI,CAACK,CAAC,GAAGsL,GAAG,CAAC3L,IAAI,CAACK,CAAC,CAAA;IACxBiI,IAAI,CAACtI,IAAI,CAACC,CAAC,GAAG0L,GAAG,CAAC3L,IAAI,CAACC,CAAC,CAAA;IAExBqI,IAAI,CAACnI,MAAM,GAAGmI,IAAI,CAACnI,MAAM,IAAK,EAAU,CAAA;IACxCmI,IAAI,CAACnI,MAAM,CAACE,CAAC,GAAGsL,GAAG,CAACxL,MAAM,CAACE,CAAC,CAAA;IAC5BiI,IAAI,CAACnI,MAAM,CAACF,CAAC,GAAG0L,GAAG,CAACxL,MAAM,CAACF,CAAC,CAAA;EAE5BqI,EAAAA,IAAI,CAACsD,SAAS,GAAGD,GAAG,CAACC,SAAS,CAAA;EAChC,CAAA;EAEO,SAASC,cAAcA,CAACC,SAA0B,EAAEC,IAAqB,EAAEhM,GAAoB,EAAE;EACtG+L,EAAAA,SAAS,CAAC9L,IAAI,CAACK,CAAC,GAAGN,GAAG,CAACC,IAAI,CAACK,CAAC,GAAG0L,IAAI,CAAC/L,IAAI,CAACK,CAAC,CAAA;EAC3CyL,EAAAA,SAAS,CAAC9L,IAAI,CAACC,CAAC,GAAGF,GAAG,CAACC,IAAI,CAACC,CAAC,GAAG8L,IAAI,CAAC/L,IAAI,CAACC,CAAC,CAAA;EAC3C6L,EAAAA,SAAS,CAAC3L,MAAM,CAACE,CAAC,GAAGN,GAAG,CAACI,MAAM,CAACE,CAAC,GAAG0L,IAAI,CAAC5L,MAAM,CAACE,CAAC,CAAA;EACjDyL,EAAAA,SAAS,CAAC3L,MAAM,CAACF,CAAC,GAAGF,GAAG,CAACI,MAAM,CAACF,CAAC,GAAG8L,IAAI,CAAC5L,MAAM,CAACF,CAAC,CAAA;IACjD6L,SAAS,CAACF,SAAS,GAAG7L,GAAG,CAAC6L,SAAS,GAAGG,IAAI,CAACH,SAAS,CAAA;EACtD,CAAA;EAEO,SAASI,gBAAgBA,CAACF,SAA0B,EAAEpL,KAAsB,EAAE;EACnF,EAAA,IAAMuL,EAAE,GAAGpB,IAAI,CAACqB,GAAG,CAACxL,KAAK,CAACkL,SAAS,GAAG,IAAI,EAAE,KAAK,CAAC,CAAA;IAElDE,SAAS,CAAC9L,IAAI,CAACK,CAAC,GAAGK,KAAK,CAACV,IAAI,CAACK,CAAC,GAAG4L,EAAE,CAAA;IACpCH,SAAS,CAAC9L,IAAI,CAACC,CAAC,GAAGS,KAAK,CAACV,IAAI,CAACC,CAAC,GAAGgM,EAAE,CAAA;IACpCH,SAAS,CAAC3L,MAAM,CAACE,CAAC,GAAGK,KAAK,CAACP,MAAM,CAACE,CAAC,GAAG4L,EAAE,CAAA;IACxCH,SAAS,CAAC3L,MAAM,CAACF,CAAC,GAAGS,KAAK,CAACP,MAAM,CAACF,CAAC,GAAGgM,EAAE,CAAA;IACxCH,SAAS,CAACF,SAAS,GAAGK,EAAE,CAAA;EAC1B,CAAA;EAEO,SAASE,aAAaA,CAACL,SAA0B,EAAE;EACxDA,EAAAA,SAAS,CAAC9L,IAAI,CAACK,CAAC,GAAG,CAAC,CAAA;EACpByL,EAAAA,SAAS,CAAC9L,IAAI,CAACC,CAAC,GAAG,CAAC,CAAA;EACpB6L,EAAAA,SAAS,CAAC3L,MAAM,CAACE,CAAC,GAAG,CAAC,CAAA;EACtByL,EAAAA,SAAS,CAAC3L,MAAM,CAACF,CAAC,GAAG,CAAC,CAAA;EACxB,CAAA;EAEO,SAASmM,eAAeA,CAACC,OAAY,EAAE;IAC5C,OAAOA,OAAO,YAAYC,YAAG,CAAC/J,KAAK,IAAI8J,OAAO,YAAYC,YAAG,CAAC9J,KAAK,CAAA;EACrE,CAAA;;EAEA;EACO,SAAS+J,KAAKA,CAACxK,IAAY,EAAEsK,OAAoC,EAAEG,EAAS,EAAE;EACnFA,EAAAA,EAAE,GAAGA,EAAE,IAAK,EAAY,CAAA;IACxBzK,IAAI,GAAGA,IAAI,IAAI,MAAM,CAAA;IAErByK,EAAE,CAACnM,CAAC,GAAGgM,OAAO,CAAEtK,IAAI,GAAG,GAAG,CAAa,CAAA;IACvCyK,EAAE,CAACvM,CAAC,GAAGoM,OAAO,CAAEtK,IAAI,GAAG,GAAG,CAAa,CAAA;EAEvC,EAAA,OAAOyK,EAAE,CAAA;EACX,CAAA;EAEO,SAASC,SAASA,CAACJ,OAAoC,EAAErM,IAAY,EAAE;IAC5EA,IAAI,GAAGA,IAAI,IAAI;EAAEK,IAAAA,CAAC,EAAE,CAAC;EAAEJ,IAAAA,CAAC,EAAE,CAAA;KAAG,CAAA;;EAE7B;IACA,IAAI2C,SAAO,CAACM,aAAa,IAAIkJ,eAAe,CAACC,OAAO,CAAC,EAAE;EACrDE,IAAAA,KAAK,CAAC,QAAQ,EAAEF,OAAO,EAAErM,IAAI,CAAC,CAAA;EAE9BA,IAAAA,IAAI,CAACK,CAAC,IAAIrD,MAAM,CAAC8J,OAAO,CAAA;EACxB9G,IAAAA,IAAI,CAACC,CAAC,IAAIjD,MAAM,CAACiK,OAAO,CAAA;EAC1B,GAAC,MAAM;EACLsF,IAAAA,KAAK,CAAC,MAAM,EAAEF,OAAO,EAAErM,IAAI,CAAC,CAAA;EAC9B,GAAA;EAEA,EAAA,OAAOA,IAAI,CAAA;EACb,CAAA;EAEO,SAAS0M,WAAWA,CAACL,OAAoB,EAAElM,MAAa,EAAE;EAC/DA,EAAAA,MAAM,GAAGA,MAAM,IAAK,EAAU,CAAA;IAE9B,IAAIyC,SAAO,CAACM,aAAa,IAAIkJ,eAAe,CAACC,OAAO,CAAC,EAAE;EACrD;EACAE,IAAAA,KAAK,CAAC,QAAQ,EAAEF,OAAO,EAAElM,MAAM,CAAC,CAAA;EAClC,GAAC,MAAM;EACLoM,IAAAA,KAAK,CAAC,QAAQ,EAAEF,OAAO,EAAElM,MAAM,CAAC,CAAA;EAClC,GAAA;EAEA,EAAA,OAAOA,MAAM,CAAA;EACf,CAAA;EAEO,SAASwM,YAAYA,CAACN,OAAmE,EAAE;EAChG,EAAA,OAAOzL,EAAE,CAAC5C,MAAM,CAACqO,OAAO,CAACO,SAAS,CAAC,GAAGP,OAAO,CAACO,SAAS,GAAIP,OAAO,CAACQ,UAAW,CAAA;EAChF,CAAA;EAEO,SAASC,SAASA,CAACxE,IAAqB,EAAEyE,QAAe,EAAEnB,SAAiB,EAAE;EACnF,EAAA,IAAMS,OAAO,GAAGU,QAAQ,CAACnO,MAAM,GAAG,CAAC,GAAGoO,cAAc,CAACD,QAAQ,CAAC,GAAGA,QAAQ,CAAC,CAAC,CAAC,CAAA;EAE5EN,EAAAA,SAAS,CAACJ,OAAO,EAAE/D,IAAI,CAACtI,IAAI,CAAC,CAAA;EAC7B0M,EAAAA,WAAW,CAACL,OAAO,EAAE/D,IAAI,CAACnI,MAAM,CAAC,CAAA;IAEjCmI,IAAI,CAACsD,SAAS,GAAGA,SAAS,CAAA;EAC5B,CAAA;EAEO,SAASqB,YAAYA,CAACC,KAAiC,EAAE;IAC9D,IAAMC,OAAsB,GAAG,EAAE,CAAA;;EAEjC;EACA,EAAA,IAAIvM,EAAE,CAACjC,KAAK,CAACuO,KAAK,CAAC,EAAE;EACnBC,IAAAA,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAAC,CAAC,CAAC,CAAA;EACrBC,IAAAA,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAAC,CAAC,CAAC,CAAA;EACvB,GAAA;EACA;SACK;EACH,IAAA,IAAIA,KAAK,CAACnL,IAAI,KAAK,UAAU,EAAE;EAC7B,MAAA,IAAImL,KAAK,CAACC,OAAO,CAACvO,MAAM,KAAK,CAAC,EAAE;UAC9BuO,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAA;UAC7BA,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACE,cAAc,CAAC,CAAC,CAAC,CAAA;SACrC,MAAM,IAAIF,KAAK,CAACC,OAAO,CAACvO,MAAM,KAAK,CAAC,EAAE;UACrCuO,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACE,cAAc,CAAC,CAAC,CAAC,CAAA;UACpCD,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACE,cAAc,CAAC,CAAC,CAAC,CAAA;EACtC,OAAA;EACF,KAAC,MAAM;QACLD,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAA;QAC7BA,OAAO,CAAC,CAAC,CAAC,GAAGD,KAAK,CAACC,OAAO,CAAC,CAAC,CAAC,CAAA;EAC/B,KAAA;EACF,GAAA;EAEA,EAAA,OAAOA,OAAO,CAAA;EAChB,CAAA;EAEO,SAASH,cAAcA,CAACD,QAAuB,EAAE;EACtD,EAAA,IAAMM,OAAO,GAAG;EACdC,IAAAA,KAAK,EAAE,CAAC;EACRC,IAAAA,KAAK,EAAE,CAAC;EACRC,IAAAA,OAAO,EAAE,CAAC;EACVC,IAAAA,OAAO,EAAE,CAAC;EACVC,IAAAA,OAAO,EAAE,CAAC;EACVC,IAAAA,OAAO,EAAE,CAAA;KACV,CAAA;IAAA,KAAAtD,IAAAA,GAAA,MAAAA,GAAA,GAIqB0C,QAAQ,CAAAnO,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA3B,IAAA,IAAMgC,OAAO,GAAIU,QAAQ,CAAA1C,GAAA,CAAZ,CAAA;EAChB,IAAA,KAAK,IAAM7B,IAAI,IAAI6E,OAAO,EAAE;EAC1BA,MAAAA,OAAO,CAAC7E,IAAI,CAAc,IAAI6D,OAAO,CAAC7D,IAAI,CAAc,CAAA;EAC1D,KAAA;EACF,GAAA;EACA,EAAA,KAAK,IAAMA,KAAI,IAAI6E,OAAO,EAAE;EAC1BA,IAAAA,OAAO,CAAC7E,KAAI,CAAc,IAAIuE,QAAQ,CAACnO,MAAM,CAAA;EAC/C,GAAA;EAEA,EAAA,OAAOyO,OAAO,CAAA;EAChB,CAAA;EAEO,SAASO,SAASA,CAACV,KAAoB,EAAE;EAC9C,EAAA,IAAI,CAACA,KAAK,CAACtO,MAAM,EAAE;EACjB,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,IAAMuO,OAAO,GAAGF,YAAY,CAACC,KAAK,CAAC,CAAA;EACnC,EAAA,IAAMW,IAAI,GAAGhD,IAAI,CAACiD,GAAG,CAACX,OAAO,CAAC,CAAC,CAAC,CAACG,KAAK,EAAEH,OAAO,CAAC,CAAC,CAAC,CAACG,KAAK,CAAC,CAAA;EACzD,EAAA,IAAMS,IAAI,GAAGlD,IAAI,CAACiD,GAAG,CAACX,OAAO,CAAC,CAAC,CAAC,CAACI,KAAK,EAAEJ,OAAO,CAAC,CAAC,CAAC,CAACI,KAAK,CAAC,CAAA;EACzD,EAAA,IAAMS,IAAI,GAAGnD,IAAI,CAACqB,GAAG,CAACiB,OAAO,CAAC,CAAC,CAAC,CAACG,KAAK,EAAEH,OAAO,CAAC,CAAC,CAAC,CAACG,KAAK,CAAC,CAAA;EACzD,EAAA,IAAMW,IAAI,GAAGpD,IAAI,CAACqB,GAAG,CAACiB,OAAO,CAAC,CAAC,CAAC,CAACI,KAAK,EAAEJ,OAAO,CAAC,CAAC,CAAC,CAACI,KAAK,CAAC,CAAA;IAEzD,OAAO;EACLlN,IAAAA,CAAC,EAAEwN,IAAI;EACP5N,IAAAA,CAAC,EAAE8N,IAAI;EACPxG,IAAAA,IAAI,EAAEsG,IAAI;EACVpG,IAAAA,GAAG,EAAEsG,IAAI;EACTvG,IAAAA,KAAK,EAAEwG,IAAI;EACXtG,IAAAA,MAAM,EAAEuG,IAAI;MACZtG,KAAK,EAAEqG,IAAI,GAAGH,IAAI;MAClBjG,MAAM,EAAEqG,IAAI,GAAGF,IAAAA;KAChB,CAAA;EACH,CAAA;EAEO,SAASG,aAAaA,CAAChB,KAAiC,EAAEiB,WAAmB,EAAE;EACpF,EAAA,IAAMC,OAAO,GAAID,WAAW,GAAG,GAAe,CAAA;EAC9C,EAAA,IAAME,OAAO,GAAIF,WAAW,GAAG,GAAe,CAAA;EAC9C,EAAA,IAAMhB,OAAO,GAAGF,YAAY,CAACC,KAAK,CAAC,CAAA;EAEnC,EAAA,IAAMoB,EAAE,GAAGnB,OAAO,CAAC,CAAC,CAAC,CAACiB,OAAO,CAAC,GAAGjB,OAAO,CAAC,CAAC,CAAC,CAACiB,OAAO,CAAC,CAAA;EACpD,EAAA,IAAMG,EAAE,GAAGpB,OAAO,CAAC,CAAC,CAAC,CAACkB,OAAO,CAAC,GAAGlB,OAAO,CAAC,CAAC,CAAC,CAACkB,OAAO,CAAC,CAAA;EAEpD,EAAA,OAAOG,KAAK,CAACF,EAAE,EAAEC,EAAE,CAAC,CAAA;EACtB,CAAA;EAEO,SAASE,UAAUA,CAACvB,KAAiC,EAAEiB,WAAmB,EAAE;EACjF,EAAA,IAAMC,OAAO,GAAID,WAAW,GAAG,GAAe,CAAA;EAC9C,EAAA,IAAME,OAAO,GAAIF,WAAW,GAAG,GAAe,CAAA;EAC9C,EAAA,IAAMhB,OAAO,GAAGF,YAAY,CAACC,KAAK,CAAC,CAAA;EACnC,EAAA,IAAMoB,EAAE,GAAGnB,OAAO,CAAC,CAAC,CAAC,CAACiB,OAAO,CAAC,GAAGjB,OAAO,CAAC,CAAC,CAAC,CAACiB,OAAO,CAAC,CAAA;EACpD,EAAA,IAAMG,EAAE,GAAGpB,OAAO,CAAC,CAAC,CAAC,CAACkB,OAAO,CAAC,GAAGlB,OAAO,CAAC,CAAC,CAAC,CAACkB,OAAO,CAAC,CAAA;EACpD,EAAA,IAAMK,KAAK,GAAI,GAAG,GAAG7D,IAAI,CAAC8D,KAAK,CAACJ,EAAE,EAAED,EAAE,CAAC,GAAIzD,IAAI,CAAC+D,EAAE,CAAA;EAElD,EAAA,OAAOF,KAAK,CAAA;EACd,CAAA;EAEO,SAASG,cAAcA,CAACxC,OAAqE,EAAE;EACpG,EAAA,OAAOzL,EAAE,CAAC1C,MAAM,CAACmO,OAAO,CAAC3K,WAAW,CAAC,GACjC2K,OAAO,CAAC3K,WAAW,GACnBd,EAAE,CAAC5C,MAAM,CAACqO,OAAO,CAAC3K,WAAW,CAAC,GAC5B,CAAC7E,SAAS,EAAEA,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,CAAC,CAACwP,OAAO,CAAC3K,WAAW,CAAC;EACpE;EACA;EACA,EAAA,OAAO,CAACrD,IAAI,CAACgO,OAAO,CAACtK,IAAI,IAAI,EAAE,CAAC,IAAIsK,OAAO,YAAYC,YAAG,CAAC9J,KAAK,GAC9D,OAAO,GACP,OAAO,CAAA;EACjB,CAAA;;EAEA;EACO,SAASsM,eAAeA,CAAC5B,KAAY,EAAE;EAC5C,EAAA,IAAMlF,IAAI,GAAGpH,EAAE,CAAC7C,IAAI,CAACmP,KAAK,CAAC6B,YAAY,CAAC,GACnC7B,KAAK,CAAC6B,YAAY,EAAE,GACpB7B,KAAK,CAAoClF,IAAI,CAAA;IAElD,OAAO,CACLgH,gBAAyB,CAAChH,IAAI,GAAGA,IAAI,CAAC,CAAC,CAAC,GAAIkF,KAAK,CAACvE,MAAkB,CAAC,EACrEqG,gBAAyB,CAAC9B,KAAK,CAAC+B,aAAwB,CAAC,CAC1D,CAAA;EACH,CAAA;EAEO,SAASC,SAASA,GAAoB;IAC3C,OAAO;EACLlP,IAAAA,IAAI,EAAE;EAAEK,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;OAAG;EACpBE,IAAAA,MAAM,EAAE;EAAEE,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;OAAG;EACtB2L,IAAAA,SAAS,EAAE,CAAA;KACZ,CAAA;EACH,CAAA;EAEO,SAASuD,aAAaA,CAACrP,MAAkB,EAAE;EAChD,EAAA,IAAMoN,KAAK,GAAG;EACZpN,IAAAA,MAAM,EAANA,MAAM;MACN,IAAIE,IAAIA,GAAG;EACT,MAAA,OAAO,IAAI,CAACF,MAAM,CAACE,IAAI,CAAA;OACxB;MACD,IAAIG,MAAMA,GAAG;EACX,MAAA,OAAO,IAAI,CAACL,MAAM,CAACK,MAAM,CAAA;OAC1B;MACD,IAAIyL,SAASA,GAAG;EACd,MAAA,OAAO,IAAI,CAAC9L,MAAM,CAAC8L,SAAS,CAAA;OAC7B;MACD,IAAI0B,KAAKA,GAAG;EACV,MAAA,OAAO,IAAI,CAACxN,MAAM,CAACE,IAAI,CAACK,CAAC,CAAA;OAC1B;MACD,IAAIkN,KAAKA,GAAG;EACV,MAAA,OAAO,IAAI,CAACzN,MAAM,CAACE,IAAI,CAACC,CAAC,CAAA;OAC1B;MACD,IAAIuN,OAAOA,GAAG;EACZ,MAAA,OAAO,IAAI,CAAC1N,MAAM,CAACK,MAAM,CAACE,CAAC,CAAA;OAC5B;MACD,IAAIoN,OAAOA,GAAG;EACZ,MAAA,OAAO,IAAI,CAAC3N,MAAM,CAACK,MAAM,CAACF,CAAC,CAAA;OAC5B;MACD,IAAI2M,SAASA,GAAG;EACd,MAAA,OAAO,IAAI,CAAC9M,MAAM,CAAC8M,SAAS,CAAA;OAC7B;MACD,IAAIjE,MAAMA,GAAG;EACX,MAAA,OAAO,IAAI,CAAC7I,MAAM,CAAC6I,MAAM,CAAA;OAC1B;MACD,IAAI5G,IAAIA,GAAG;EACT,MAAA,OAAO,IAAI,CAACjC,MAAM,CAACiC,IAAI,CAAA;OACxB;MACD,IAAIL,WAAWA,GAAG;EAChB,MAAA,OAAO,IAAI,CAAC5B,MAAM,CAAC4B,WAAW,CAAA;OAC/B;MACD,IAAIH,OAAOA,GAAG;EACZ,MAAA,OAAO,IAAI,CAACzB,MAAM,CAACyB,OAAO,CAAA;OAC3B;MACD6N,cAAc,EAAA,SAAAA,cAAA,GAAG,EAAC;KACnB,CAAA;EAED,EAAA,OAAOlC,KAAK,CAAA;EACd;;EC/QA,IAAamC,SAAS,gBAAA,YAAA;IAWpB,SAAAA,SAAAA,CAAY3P,WAA2B,EAAE;EAAA4P,IAAAA,eAAA,OAAAD,SAAA,CAAA,CAAA;EANzC;MAAA,IAGAE,CAAAA,2BAA2B,GAAG,KAAK,CAAA;MAAA,IACnCC,CAAAA,kBAAkB,GAAG,KAAK,CAAA;MAGxB,IAAI,CAACC,YAAY,GAAG/P,WAAW,CAAA;EACjC,GAAA;EAACgQ,EAAAA,YAAA,CAAAL,SAAA,EAAA,CAAA;MAAAM,GAAA,EAAA,gBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAiH,cAAA,GAAiB,EAAC;;EAElB;EACF;EACA;EAFE,GAAA,EAAA;MAAAO,GAAA,EAAA,iBAAA;MAAAxH,KAAA,EAGA,SAAAyH,eAAAA,GAAkB;QAChB,IAAI,CAACJ,kBAAkB,GAAG,IAAI,CAAA;EAChC,KAAA;;EAEA;EACF;EACA;EAFE,GAAA,EAAA;MAAAG,GAAA,EAAA,0BAAA;MAAAxH,KAAA,EAGA,SAAA0H,wBAAAA,GAA2B;EACzB,MAAA,IAAI,CAACN,2BAA2B,GAAG,IAAI,CAACC,kBAAkB,GAAG,IAAI,CAAA;EACnE,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAH,SAAA,CAAA;EAAA,CAAA,EAAA,CAAA;;EAGH;EACA;;EAKA;EACA;EACAhE,MAAM,CAACC,cAAc,CAAC+D,SAAS,CAAClQ,SAAS,EAAE,aAAa,EAAE;IACxDoM,GAAG,EAAA,SAAAA,MAAkB;EACnB,IAAA,OAAO,IAAI,CAACkE,YAAY,CAACK,MAAM,CAAA;KAChC;IACDtE,GAAG,EAAA,SAAAA,GAAA,GAAkB,EAAC;EACxB,CAAC,CAAC;;EC7CK,IAAMuE,MAAM,GAAG,SAATA,MAAMA,CAAOpR,KAAU,EAAEgK,MAAS,EAAA;EAAA,EAAA,OAAKhK,KAAK,CAACE,MAAM,CAACF,KAAK,CAACyM,OAAO,CAACzC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAA;EAAA,CAAA,CAAA;EAEnF,IAAMqH,KAAK,GAAG,SAARA,KAAKA,CAAUrH,MAAoB,EAAEJ,MAAW,EAAK;IAAA,KAAA8B,IAAAA,GAAA,MAAAA,GAAA,GAC7C9B,MAAM,CAAA3J,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAtB,IAAA,IAAM4F,IAAI,GAAI1H,MAAM,CAAA8B,GAAA,CAAV,CAAA;EACb1B,IAAAA,MAAM,CAACV,IAAI,CAACgI,IAAI,CAAC,CAAA;EACnB,GAAA;EAEA,EAAA,OAAOtH,MAAM,CAAA;EACf,CAAC,CAAA;EAEM,IAAMuH,IAAI,GAAG,SAAPA,IAAIA,CAAa3H,MAAoB,EAAA;EAAA,EAAA,OAAKyH,KAAK,CAAC,EAAE,EAASzH,MAAa,CAAC,CAAA;EAAA,CAAA,CAAA;EAE/E,IAAM4H,SAAS,GAAG,SAAZA,SAASA,CAAOxR,KAAU,EAAEZ,IAAe,EAAK;EAC3D,EAAA,KAAK,IAAIkH,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGtG,KAAK,CAACC,MAAM,EAAEqG,CAAC,EAAE,EAAE;MACrC,IAAIlH,IAAI,CAACY,KAAK,CAACsG,CAAC,CAAC,EAAEA,CAAC,EAAEtG,KAAK,CAAC,EAAE;EAC5B,MAAA,OAAOsG,CAAC,CAAA;EACV,KAAA;EACF,GAAA;EAEA,EAAA,OAAO,CAAC,CAAC,CAAA;EACX,CAAC,CAAA;EAEM,IAAMmL,IAAI,GAAG,SAAPA,IAAIA,CAAazR,KAAU,EAAEZ,IAAe,EAAA;IAAA,OAAoBY,KAAK,CAACwR,SAAS,CAACxR,KAAK,EAAEZ,IAAI,CAAC,CAAC,CAAA;EAAA,CAAA;;EClB7FsS,IAAAA,SAAS,0BAAAC,UAAA,EAAA;IAAAC,SAAA,CAAAF,SAAA,EAAAC,UAAA,CAAA,CAAA;EAAA,EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAJ,SAAA,CAAA,CAAA;EASpB;EACF;EACA;EACE,EAAA,SAAAA,UAAYK,SAAoB,EAAEC,SAAgC,EAAE5O,IAAY,EAAE;EAAA,IAAA,IAAA6O,KAAA,CAAA;EAAAtB,IAAAA,eAAA,OAAAe,SAAA,CAAA,CAAA;EAChFO,IAAAA,KAAA,GAAAJ,MAAA,CAAAK,IAAA,CAAMF,IAAAA,EAAAA,SAAS,CAAClB,YAAY,CAAA,CAAA;EAACmB,IAAAA,KAAA,CAX/BE,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAAF,IAAAA,KAAA,CACRD,SAAS,GAAA,KAAA,CAAA,CAAA;EAAAC,IAAAA,KAAA,CACTG,aAAa,GAAA,KAAA,CAAA,CAAA;EAAAH,IAAAA,KAAA,CACbxR,SAAS,GAAA,KAAA,CAAA,CAAA;MAAAwR,KAAA,CACTpB,kBAAkB,GAAG,KAAK,CAAA;MAAAoB,KAAA,CAC1BrB,2BAA2B,GAAG,KAAK,CAAA;EAQjC,IAAA,IAAA9P,IAAA,GAA8BsC,IAAI,KAAK,WAAW,GAAG2O,SAAS,CAAC3E,IAAI,GAAG2E,SAAS,CAAC3Q,GAAG;QAA3E5B,OAAO,GAAAsB,IAAA,CAAPtB,OAAO;QAAE2S,QAAQ,GAAArR,IAAA,CAARqR,QAAQ,CAAA;MAEzBF,KAAA,CAAK7O,IAAI,GAAGA,IAAI,CAAA;MAChB6O,KAAA,CAAKjI,MAAM,GAAGxK,OAAO,CAAA;MACrByS,KAAA,CAAK3B,aAAa,GAAG9Q,OAAO,CAAA;MAC5ByS,KAAA,CAAKE,QAAQ,GAAGA,QAAQ,CAAA;MACxBF,KAAA,CAAKD,SAAS,GAAGA,SAAS,CAAA;EAC1BC,IAAAA,KAAA,CAAKG,aAAa,GAAGJ,SAAS,CAAChI,MAAM,CAAA;EACrCiI,IAAAA,KAAA,CAAKxR,SAAS,GAAGuR,SAAS,CAACrP,YAAY,CAAA;EACvCsP,IAAAA,KAAA,CAAKhF,SAAS,GAAG+E,SAAS,CAAC/E,SAAS,CAAA;EAAA,IAAA,OAAAgF,KAAA,CAAA;EACtC,GAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EANElB,EAAAA,YAAA,CAAAW,SAAA,EAAA,CAAA;MAAAV,GAAA,EAAA,QAAA;MAAAxH,KAAA,EAOA,SAAA6I,MAAAA,GAAS;EAAA,MAAA,IAAAC,MAAA,GAAA,IAAA,CAAA;EACP,MAAA,IAAQP,SAAS,GAAK,IAAI,CAACjB,YAAY,CAA/BiB,SAAS,CAAA;EAEjB,MAAA,IACE,IAAI,CAAC3O,IAAI,KAAK,cAAc,KAC3B,CAAC,IAAI,CAAC+O,QAAQ,IAAIJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,KAAK,IAAI,CAACA,QAAQ,IAAIJ,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,KAAK,IAAI,CAACwK,MAAM,CAAC,EACrG;EACA,QAAA,OAAA;EACF,OAAA;EAEA+H,MAAAA,SAAS,CAAC3E,IAAI,CAAC+E,QAAQ,GAAG,IAAI,CAACA,QAAQ,CAAA;EACvCJ,MAAAA,SAAS,CAAC3E,IAAI,CAAC5N,OAAO,GAAG,IAAI,CAACwK,MAAM,CAAA;QAEpC+H,SAAS,CAACQ,QAAQ,GAAG,IAAI,CAAA;EACzBR,MAAAA,SAAS,CAACS,MAAM,CAACC,KAAK,GAAG,IAAI,CAAA;QAE7B,IAAI,CAACvB,wBAAwB,EAAE,CAAA;EAE/B,MAAA,IAAI,IAAI,CAAC9N,IAAI,KAAK,cAAc,EAAE;EAChC,QAAA,IAAMsP,WAAW,GAAGX,SAAS,CAACW,WAAW,CAAA;UACzC,IAAMC,KAAK,GAAGC,SAAa,CACzBF,WAAW,EACX,UAAA9Q,KAAA,EAAA;EAAA,UAAA,IAAGuQ,QAAQ,GAAAvQ,KAAA,CAARuQ,QAAQ;cAAE3S,OAAO,GAAAoC,KAAA,CAAPpC,OAAO,CAAA;YAAA,OAAO2S,QAAQ,KAAKG,MAAI,CAACH,QAAQ,IAAI3S,OAAO,KAAK8S,MAAI,CAACtI,MAAM,CAAA;EAAA,SAClF,CAAC,CAAA;UAED+H,SAAS,CAACW,WAAW,CAACxS,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;EAEtC,QAAA,IAAME,eAAe,GAAG,IAAInB,SAAS,CAACK,SAAS,EAAE,IAAI,CAACC,SAAS,EAAE,gBAAgB,CAAC,CAAA;EAElFa,QAAAA,eAAe,CAACV,QAAQ,GAAG,IAAI,CAACA,QAAQ,CAAA;EACxCU,QAAAA,eAAe,CAAC7I,MAAM,GAAG,IAAI,CAACA,MAAM,CAAA;EAEpC,QAAA,IAAI,CAACmI,QAAQ,CAACW,IAAI,CAACD,eAAe,CAAC,CAAA;EACrC,OAAC,MAAM;EACL,QAAA,IAAI,CAACV,QAAQ,CAACW,IAAI,CAAC,IAAIpB,SAAS,CAACK,SAAS,EAAE,IAAI,CAACC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAA;EAC3E,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAhB,GAAA,EAAA,gBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAiH,cAAA,GAAiB,EAAC;EAAC,GAAA,EAAA;MAAAO,GAAA,EAAA,iBAAA;MAAAxH,KAAA,EAEnB,SAAAyH,eAAAA,GAAkB;QAChB,IAAI,CAACJ,kBAAkB,GAAG,IAAI,CAAA;EAChC,KAAA;EAAC,GAAA,EAAA;MAAAG,GAAA,EAAA,0BAAA;MAAAxH,KAAA,EAED,SAAA0H,wBAAAA,GAA2B;EACzB,MAAA,IAAI,CAACN,2BAA2B,GAAG,IAAI,CAACC,kBAAkB,GAAG,IAAI,CAAA;EACnE,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAa,SAAA,CAAA;EAAA,CAAA,CAhF4BhB,SAAS,CAAA;;EC0MxC,SAASvQ,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQC,OAAO,GAAuDD,KAAK,CAAnEC,OAAO;MAAkB0S,QAAQ,GAA6B3S,KAAK,CAA1D4S,cAAc;MAAY1S,YAAY,GAAeF,KAAK,CAAhCE,YAAY;MAAEC,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAEjEH,EAAAA,KAAK,CAAC6S,SAAS,CAACvS,MAAI,CAAC,CAAA;EAErBJ,EAAAA,YAAY,CAACE,SAAS,CAAC2R,QAAQ,GAAG,UAA8BnQ,OAAO,EAAE;EACvE,IAAA,OAAOkR,cAAc,CAAC,IAAI,EAAElR,OAAO,CAAC,CAAA;KACT,CAAA;EAE7B1B,EAAAA,YAAY,CAACE,SAAS,CAAC2S,SAAS,GAAG,UAEjCnB,SAAS,EACTzD,KAAK,EACL9N,SAAS,EACT2S,gBAAgB,EAChBC,WAAW,EACX9I,IAAI,EACJ;EACA,IAAA,OAAO+I,eAAe,CAAC,IAAI,EAAEtB,SAAS,EAAEzD,KAAK,EAAE9N,SAAS,EAAE2S,gBAAgB,EAAEC,WAAW,EAAE9I,IAAI,CAAC,CAAA;KAC/F,CAAA;EAEDwI,EAAAA,QAAQ,CAACQ,WAAW,GAAG,UAAUC,QAAkB,EAAE;EACnD,IAAA,IAAIvR,EAAE,CAAC3C,IAAI,CAACkU,QAAQ,CAAC,EAAE;EACrB;EACA;EACA;;QAEApT,KAAK,CAACmT,WAAW,GAAGC,QAAQ,CAAA;EAE5B,MAAA,OAAOT,QAAQ,CAAA;EACjB,KAAA;MACA,OAAO3S,KAAK,CAACmT,WAAW,CAAA;KACzB,CAAA;EAED7J,EAAAA,MAAM,CAACrJ,OAAO,CAACoT,cAAc,EAAE;EAC7BC,IAAAA,SAAS,EAAE,IAAI;EACfC,IAAAA,SAAS,EAAE,IAAI;EACfC,IAAAA,YAAY,EAAE,IAAI;EAClBC,IAAAA,cAAc,EAAE,IAAI;EACpBC,IAAAA,QAAQ,EAAE,IAAI;EACdC,IAAAA,IAAI,EAAE,IAAA;EACR,GAAC,CAAC,CAAA;EACF1T,EAAAA,OAAO,CAACO,UAAU,CAACmT,IAAI,GAAG,UAAU,CAAA;IAEpC3T,KAAK,CAACmT,WAAW,GAAG,KAAK,CAAA;EAEzBhT,EAAAA,QAAQ,CAACF,OAAO,CAAC0T,IAAI,GAAGA,IAAI,CAACxT,QAAQ,CAAA;EACvC,CAAA;EAEA,SAASyT,gBAAgBA,CAAAlT,IAAA,EAA2BsS,gBAAyB,EAAE;EAAA,EAAA,IAAnDa,aAAa,GAAAnT,IAAA,CAAbmT,aAAa,CAAA;IACvC,IAAMC,KAAmB,GAAG,EAAE,CAAA;;EAE9B;EAAA,EAAA,KAAA,IAAAxI,GAAA,GAAA,CAAA,EAAAyI,oBAAA,GACuBF,aAAa,CAACG,IAAI,EAAA1I,GAAA,GAAAyI,oBAAA,CAAAlU,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAtC,IAAA,IAAMyG,SAAQ,GAAAgC,oBAAA,CAAAzI,GAAA,CAAA,CAAA;MACjB,IAAI,CAACyG,SAAQ,CAACnQ,OAAO,CAAC+R,IAAI,CAAC7R,OAAO,EAAE;EAClC,MAAA,SAAA;EACF,KAAA;MAEA,IAAMmS,MAAM,GAAGlC,SAAQ,CAACnQ,OAAO,CAAC+R,IAAI,CAACM,MAAM,CAAA;;EAE3C;EACA,IAAA,IACGpS,EAAE,CAACzC,OAAO,CAAC6U,MAAM,CAAC,IAAIA,MAAM,KAAKjB,gBAAgB,IACjDnR,EAAE,CAAC1C,MAAM,CAAC8U,MAAM,CAAC,IAAI,CAAChE,eAAwB,CAAC+C,gBAAgB,EAAEiB,MAAM,CAAE,IACzEpS,EAAE,CAAC7C,IAAI,CAACiV,MAAM,CAAC,IAAI,CAACA,MAAM,CAAC;EAAElC,MAAAA,QAAQ,EAARA,SAAQ;EAAEiB,MAAAA,gBAAgB,EAAhBA,gBAAAA;EAAiB,KAAC,CAAE,EAC5D;EACA,MAAA,SAAA;EACF,KAAA;EAAC,IAAA,KAAA,IAAAkB,GAAA,GAAAC,CAAAA,EAAAA,sBAAA,GAE6BpC,SAAQ,CAACqC,cAAc,EAAE,EAAAF,GAAA,GAAAC,sBAAA,CAAAtU,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAApD,MAAA,IAAMG,eAAe,GAAAF,sBAAA,CAAAD,GAAA,CAAA,CAAA;QACxB,IAAIG,eAAe,KAAKrB,gBAAgB,EAAE;UACxCc,KAAK,CAAC5K,IAAI,CAAC;EACT6I,UAAAA,QAAQ,EAARA,SAAQ;EACR3S,UAAAA,OAAO,EAAEiV,eAAe;EACxBlK,UAAAA,IAAI,EAAE4H,SAAQ,CAAClI,OAAO,CAACwK,eAAe,CAAA;EACxC,SAAC,CAAC,CAAA;EACJ,OAAA;EACF,KAAA;EACF,GAAA;EAEA,EAAA,OAAOP,KAAK,CAAA;EACd,CAAA;EAEA,SAASQ,oBAAoBA,CAAChC,WAAyB,EAAEnE,KAAgB,EAAE;EACzE;EAAA,EAAA,KAAA,IAAAoG,GAAA,GAAAC,CAAAA,EAAAA,mBAAA,GACoClC,WAAW,CAACmC,KAAK,EAAE,EAAAF,GAAA,GAAAC,mBAAA,CAAA3U,MAAA,EAAA0U,GAAA,EAAE,EAAA;EAApD,IAAA,IAAAG,qBAAA,GAAAF,mBAAA,CAAAD,GAAA,CAAA;QAAQxC,UAAQ,GAAA2C,qBAAA,CAAR3C,QAAQ;QAAE3S,OAAO,GAAAsV,qBAAA,CAAPtV,OAAO,CAAA;MAC5B+O,KAAK,CAAC4D,QAAQ,GAAGA,UAAQ,CAAA;;EAEzB;MACA5D,KAAK,CAACvE,MAAM,GAAGxK,OAAO,CAAA;EACtB2S,IAAAA,UAAQ,CAACW,IAAI,CAACvE,KAAK,CAAC,CAAA;EACpBA,IAAAA,KAAK,CAACsC,kBAAkB,GAAGtC,KAAK,CAACqC,2BAA2B,GAAG,KAAK,CAAA;EACtE,GAAA;EACF,CAAA;;EAEA;EACA;EACA;EACA,SAASmE,cAAcA,CAAC3U,KAAY,EAAE4U,WAAoB,EAAE;EAC1D;EACA,EAAA,IAAMtC,WAAW,GAAGsB,gBAAgB,CAAC5T,KAAK,EAAE4U,WAAW,CAAC,CAAA;IAAA,KAAAC,IAAAA,GAAA,MAAAA,GAAA,GAE/BvC,WAAW,CAAAzS,MAAA,EAAAgV,GAAA,EAAE,EAAA;EAAjC,IAAA,IAAMC,UAAU,GAAIxC,WAAW,CAAAuC,GAAA,CAAf,CAAA;EACnBC,IAAAA,UAAU,CAAC3K,IAAI,GAAG2K,UAAU,CAAC/C,QAAQ,CAAClI,OAAO,CAACiL,UAAU,CAAC1V,OAAO,CAAC,CAAA;EACnE,GAAA;EAEA,EAAA,OAAOkT,WAAW,CAAA;EACpB,CAAA;EAEA,SAASyC,OAAOA,CAAAvT,KAAA,EAEdoQ,SAAS,EACToD,YAAY,EACZ;EAAA,EAAA,IAHErD,SAAS,GAAAnQ,KAAA,CAATmQ,SAAS;MAAgBtR,SAAS,GAAAmB,KAAA,CAAvBe,YAAY;MAAsBqS,WAAW,GAAApT,KAAA,CAApBpC,OAAO,CAAA;IAI7C,IAAM6V,UAAqB,GAAG,EAAE,CAAA;;EAEhC;EAAA,EAAA,KAAA,IAAAC,IAAA,GAAA,CAAA,EAAAC,sBAAA,GAC2DxD,SAAS,CAACW,WAAW,EAAA4C,IAAA,GAAAC,sBAAA,CAAAtV,MAAA,EAAAqV,IAAA,EAAE,EAAA;EAA7E,IAAA,IAAAE,sBAAA,GAAAD,sBAAA,CAAAD,IAAA,CAAA;QAAQnD,UAAQ,GAAAqD,sBAAA,CAARrD,QAAQ;QAAWsC,eAAe,GAAAe,sBAAA,CAAxBhW,OAAO;QAAmB+K,KAAI,GAAAiL,sBAAA,CAAJjL,IAAI,CAAA;EACnD,IAAA,IAAMkL,OAAO,GAAGtD,UAAQ,CAACgB,SAAS,CAChCnB,SAAS,EACToD,YAAY,EACZ3U,SAAS,EACTuU,WAAW,EACXP,eAAe,EACflK,KACF,CAAC,CAAA;MACD8K,UAAU,CAAC/L,IAAI,CAACmM,OAAO,GAAGhB,eAAe,GAAG,IAAI,CAAC,CAAA;EACnD,GAAC;EAGD,EAAA,IAAMiB,SAAS,GAAGrF,qBAA8B,CAACgF,UAAU,CAAC,CAAA;EAE5D,EAAA,OAAOtD,SAAS,CAAEW,WAAW,CAACgD,SAAS,CAAC,IAAI,IAAI,CAAA;EAClD,CAAA;EAEA,SAASC,aAAaA,CAAC5U,WAAwB,EAAE6U,aAAa,EAAE5D,SAAoB,EAAE;EACpF,EAAA,IAAMD,SAAS,GAAGhR,WAAW,CAACgR,SAAU,CAAA;EACxC,EAAA,IAAM8D,UAA4C,GAAG;EACnDpD,IAAAA,KAAK,EAAE,IAAI;EACXqD,IAAAA,KAAK,EAAE,IAAI;EACXC,IAAAA,QAAQ,EAAE,IAAI;EACdC,IAAAA,UAAU,EAAE,IAAI;EAChBrU,IAAAA,IAAI,EAAE,IAAI;EACVoS,IAAAA,IAAI,EAAE,IAAA;KACP,CAAA;EAED,EAAA,IAAI/B,SAAS,CAAC5O,IAAI,KAAK,WAAW,EAAE;MAClCyS,UAAU,CAACE,QAAQ,GAAG,IAAIrE,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,cAAc,CAAC,CAAA;EAEzE6D,IAAAA,UAAU,CAACE,QAAQ,CAAC/L,MAAM,GAAG,IAAa,CAAA;EAC1C6L,IAAAA,UAAU,CAACE,QAAQ,CAAC5D,QAAQ,GAAG,IAAa,CAAA;EAC9C,GAAA;EACA,EAAA,IAAIH,SAAS,CAAC5O,IAAI,KAAK,SAAS,EAAE;MAChCyS,UAAU,CAACG,UAAU,GAAG,IAAItE,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,gBAAgB,CAAC,CAAA;EAE7E6D,IAAAA,UAAU,CAACG,UAAU,CAAChM,MAAM,GAAG,IAAa,CAAA;EAC5C6L,IAAAA,UAAU,CAACG,UAAU,CAAC7D,QAAQ,GAAG,IAAa,CAAA;EAChD,GAAA;IAEA,IAAIJ,SAAS,CAACQ,QAAQ,EAAE;EACtB,IAAA,OAAOsD,UAAU,CAAA;EACnB,GAAA;IAEA,IAAI9D,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,KAAKuS,SAAS,CAAC3E,IAAI,CAAC5N,OAAO,EAAE;EACpD;EACA,IAAA,IAAIuS,SAAS,CAAC3E,IAAI,CAAC+E,QAAQ,EAAE;QAC3B0D,UAAU,CAACC,KAAK,GAAG,IAAIpE,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,WAAW,CAAC,CAAA;EAEnEA,MAAAA,SAAS,CAACiE,SAAS,GAAGJ,UAAU,CAACC,KAAK,CAAC9L,MAAM,GAAG+H,SAAS,CAAC3E,IAAI,CAAC5N,OAAO,CAAA;EACtEwS,MAAAA,SAAS,CAACkE,YAAY,GAAGL,UAAU,CAACC,KAAK,CAAC3D,QAAQ,GAAGJ,SAAS,CAAC3E,IAAI,CAAC+E,QAAQ,CAAA;EAC9E,KAAA;EACA;EACA,IAAA,IAAIJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,EAAE;QAC1B0D,UAAU,CAACpD,KAAK,GAAG,IAAIf,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,WAAW,CAAC,CAAA;EAEnEA,MAAAA,SAAS,CAACmE,SAAS,GAAGpE,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,CAAA;EAC3CwS,MAAAA,SAAS,CAACG,QAAQ,GAAGJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,CAAA;EAC7C,KAAA;EACF,GAAA;IAEA,IAAIH,SAAS,CAAC5O,IAAI,KAAK,SAAS,IAAI2O,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,EAAE;MAC1D0D,UAAU,CAAC9B,IAAI,GAAG,IAAIrC,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,MAAM,CAAC,CAAA;EAE7DA,IAAAA,SAAS,CAACG,QAAQ,GAAGJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,CAAA;EAC3CH,IAAAA,SAAS,CAACI,aAAa,GAAGL,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,CAAA;EACjD,GAAA;IACA,IAAIwS,SAAS,CAAC5O,IAAI,KAAK,UAAU,IAAI2O,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,EAAE;MAC3D0D,UAAU,CAAClU,IAAI,GAAG,IAAI+P,SAAS,CAACK,SAAS,EAAEC,SAAS,EAAE,UAAU,CAAC,CAAA;EAEjEA,IAAAA,SAAS,CAACG,QAAQ,GAAGJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,CAAA;EAC7C,GAAA;EAEA,EAAA,OAAO0D,UAAU,CAAA;EACnB,CAAA;EAMA,SAASO,cAAcA,CAACrV,WAAwB,EAAEyR,MAAuB,EAAE;EACzE,EAAA,IAAMT,SAAS,GAAGhR,WAAW,CAACgR,SAAU,CAAA;EACxC,EAAA,IAAQW,WAAW,GAAgBX,SAAS,CAApCW,WAAW;MAAEtR,GAAG,GAAW2Q,SAAS,CAAvB3Q,GAAG;MAAEgM,IAAI,GAAK2E,SAAS,CAAlB3E,IAAI,CAAA;IAE9B,IAAIoF,MAAM,CAACsD,KAAK,EAAE;MAChB1I,IAAI,CAAC+E,QAAQ,CAACW,IAAI,CAACN,MAAM,CAACsD,KAAK,CAAC,CAAA;EAClC,GAAA;IACA,IAAItD,MAAM,CAACC,KAAK,EAAE;MAChBrR,GAAG,CAAC+Q,QAAQ,CAACW,IAAI,CAACN,MAAM,CAACC,KAAK,CAAC,CAAA;EACjC,GAAA;IACA,IAAID,MAAM,CAAC7Q,IAAI,EAAE;MACfP,GAAG,CAAC+Q,QAAQ,CAACW,IAAI,CAACN,MAAM,CAAC7Q,IAAI,CAAC,CAAA;EAChC,GAAA;IACA,IAAI6Q,MAAM,CAACuB,IAAI,EAAE;MACf3S,GAAG,CAAC+Q,QAAQ,CAACW,IAAI,CAACN,MAAM,CAACuB,IAAI,CAAC,CAAA;EAChC,GAAA;IAEA,IAAIvB,MAAM,CAACwD,UAAU,EAAE;EACrBtB,IAAAA,oBAAoB,CAAChC,WAAW,EAAEF,MAAM,CAACwD,UAAU,CAAC,CAAA;EACtD,GAAA;EAEAjE,EAAAA,SAAS,CAAC3E,IAAI,CAAC+E,QAAQ,GAAG/Q,GAAG,CAAC+Q,QAAQ,CAAA;EACtCJ,EAAAA,SAAS,CAAC3E,IAAI,CAAC5N,OAAO,GAAG4B,GAAG,CAAC5B,OAAO,CAAA;EACtC,CAAA;EAEA,SAAS6W,cAAcA,CAAAC,KAAA,EAAiElW,KAAY,EAAE;EAAA,EAAA,IAA5EW,WAAW,GAAAuV,KAAA,CAAXvV,WAAW;MAAEc,MAAM,GAAAyU,KAAA,CAANzU,MAAM;MAAE0M,KAAK,GAAA+H,KAAA,CAAL/H,KAAK,CAAA;IAClD,IAAI1M,MAAM,CAACuB,IAAI,KAAK,UAAU,IAAIvB,MAAM,CAACuB,IAAI,KAAK,SAAS,EAAE;EAC3D,IAAA,OAAA;EACF,GAAA;EAEA,EAAA,IAAM2O,SAAS,GAAGhR,WAAW,CAACgR,SAAU,CAAA;IAExC,IAAI3R,KAAK,CAACmT,WAAW,EAAE;MACrBxB,SAAS,CAACW,WAAW,GAAGqC,cAAc,CAAC3U,KAAK,EAAEW,WAAW,CAACvB,OAAQ,CAAC,CAAA;EACrE,GAAA;IAEA,IAAMwS,SAAS,GAAGnQ,MAAM,CAAA;IACxB,IAAM0U,UAAU,GAAGpB,OAAO,CAACpU,WAAW,EAAEiR,SAAS,EAAEzD,KAAK,CAAC,CAAA;;EAEzD;EACAwD,EAAAA,SAAS,CAACQ,QAAQ,GAChBR,SAAS,CAACQ,QAAQ,IAClB,CAAC,CAACgE,UAAU,IACZA,UAAU,CAACpE,QAAQ,KAAKJ,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,IAC9CoE,UAAU,CAAC/W,OAAO,KAAKuS,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,CAAA;IAE9CuS,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,GAAGoE,UAAU,IAAIA,UAAU,CAACpE,QAAQ,CAAA;IAC1DJ,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,GAAG+W,UAAU,IAAIA,UAAU,CAAC/W,OAAO,CAAA;IAExDuS,SAAS,CAACS,MAAM,GAAGmD,aAAa,CAAC5U,WAAW,EAAEwN,KAAK,EAAEyD,SAAS,CAAC,CAAA;EACjE,CAAA;EAIA,SAASkB,cAAcA,CAACvQ,YAA0B,EAAEX,OAAmC,EAAE;EACvF,EAAA,IAAIC,EAAE,CAAChD,MAAM,CAAC+C,OAAO,CAAC,EAAE;MACtBW,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC7R,OAAO,GAAGF,OAAO,CAACE,OAAO,KAAK,KAAK,CAAA;MAE7D,IAAIF,OAAO,CAACQ,SAAS,EAAE;EACrB,MAAA,IAAMgU,UAAU,GAAGC,SAAkB,CAACzU,OAAO,CAACQ,SAAS,CAAC,CAAA;EACxD;EACA,MAAA,IAAMkU,SAAS,GAAGhK,MAAM,CAACiK,IAAI,CAACH,UAAU,CAAC,CAACI,MAAM,CAAC,UAACC,GAAG,EAAEzT,IAAI,EAAK;UAC9D,IAAM0T,aAAa,GAAG,gBAAgB,CAACpX,IAAI,CAAC0D,IAAI,CAAC,GAAA4I,MAAAA,CAAAA,MAAA,CACtC5I,IAAI,IACX,6BAA6B,CAAC1D,IAAI,CAAC0D,IAAI,CAAC,UAAA4I,MAAA,CAC/B5I,IAAI,CAAA,GACXA,IAAI,CAAA;EAEVyT,QAAAA,GAAG,CAACC,aAAa,CAAC,GAAGN,UAAU,CAACpT,IAAI,CAAC,CAAA;EAErC,QAAA,OAAOyT,GAAG,CAAA;SACX,EAAE,EAAE,CAAC,CAAA;QAEN,IAAME,aAAa,GAAGpU,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACvR,SAAS,CAAA;EACzDuU,MAAAA,aAAa,IAAIpU,YAAY,CAACqU,GAAG,CAACD,aAAa,CAAC,CAAA;EAEhDpU,MAAAA,YAAY,CAACsU,EAAE,CAACP,SAAS,CAAC,CAAA;EAC1B/T,MAAAA,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACvR,SAAS,GAAGkU,SAAS,CAAA;EACjD,KAAA;MAEA,IAAIzU,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACkV,MAAM,CAAC,EAAE;QAC3BvU,YAAY,CAACsU,EAAE,CAAC,MAAM,EAAEjV,OAAO,CAACkV,MAAM,CAAC,CAAA;EACzC,KAAA;MACA,IAAIjV,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACmV,cAAc,CAAC,EAAE;QACnCxU,YAAY,CAACsU,EAAE,CAAC,cAAc,EAAEjV,OAAO,CAACmV,cAAc,CAAC,CAAA;EACzD,KAAA;MACA,IAAIlV,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACoV,gBAAgB,CAAC,EAAE;QACrCzU,YAAY,CAACsU,EAAE,CAAC,gBAAgB,EAAEjV,OAAO,CAACoV,gBAAgB,CAAC,CAAA;EAC7D,KAAA;MACA,IAAInV,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACqV,WAAW,CAAC,EAAE;QAChC1U,YAAY,CAACsU,EAAE,CAAC,WAAW,EAAEjV,OAAO,CAACqV,WAAW,CAAC,CAAA;EACnD,KAAA;MACA,IAAIpV,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACsV,WAAW,CAAC,EAAE;QAChC3U,YAAY,CAACsU,EAAE,CAAC,WAAW,EAAEjV,OAAO,CAACsV,WAAW,CAAC,CAAA;EACnD,KAAA;MACA,IAAIrV,EAAE,CAAC7C,IAAI,CAAC4C,OAAO,CAACuV,UAAU,CAAC,EAAE;QAC/B5U,YAAY,CAACsU,EAAE,CAAC,UAAU,EAAEjV,OAAO,CAACuV,UAAU,CAAC,CAAA;EACjD,KAAA;MAEA,IAAI,oBAAoB,CAAC7X,IAAI,CAACsC,OAAO,CAACwV,OAAiB,CAAC,EAAE;QACxD7U,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACyD,OAAO,GAAGxV,OAAO,CAACwV,OAAO,CAAA;OACpD,MAAM,IAAIvV,EAAE,CAAC5C,MAAM,CAAC2C,OAAO,CAACwV,OAAO,CAAC,EAAE;QACrC7U,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACyD,OAAO,GAAGtL,IAAI,CAACqB,GAAG,CAACrB,IAAI,CAACiD,GAAG,CAAC,CAAC,EAAEnN,OAAO,CAACwV,OAAO,CAAC,EAAE,CAAC,CAAC,CAAA;EAC/E,KAAA;MACA,IAAI,QAAQ,IAAIxV,OAAO,EAAE;QACvBW,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACM,MAAM,GAAGrS,OAAO,CAACqS,MAAM,CAAA;EACnD,KAAA;MACA,IAAI,SAAS,IAAIrS,OAAO,EAAE;QACxBW,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC0D,OAAO,GAAGzV,OAAO,CAACyV,OAAO,CAAA;EACrD,KAAA;EAEA,IAAA,OAAO9U,YAAY,CAAA;EACrB,GAAA;EAEA,EAAA,IAAIV,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC,EAAE;EACpBW,IAAAA,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC7R,OAAO,GAAGF,OAAO,CAAA;EAE3C,IAAA,OAAOW,YAAY,CAAA;EACrB,GAAA;EAEA,EAAA,OAAOA,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAA;EAClC,CAAA;EAEA,SAAST,eAAeA,CACtB3Q,YAA0B,EAC1BqP,SAAwB,EACxBzD,KAAuB,EACvB9N,SAAuB,EACvB2S,gBAAyB,EACzBC,WAAoB,EACpB9I,IAAS,EACT;IACA,IAAImN,OAAO,GAAG,KAAK,CAAA;;EAEnB;EACA;EACA,EAAA,IAAI,EAAEnN,IAAI,GAAGA,IAAI,IAAI5H,YAAY,CAACsH,OAAO,CAACoJ,WAAW,CAAC,CAAC,EAAE;EACvD,IAAA,OAAO1Q,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC0D,OAAO,GACpC9U,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC0D,OAAO,CAC/BzF,SAAS,EACTzD,KAAK,EACLmJ,OAAO,EACP/U,YAAY,EACZ0Q,WAAW,EACX5S,SAAS,EACT2S,gBACF,CAAC,GACD,KAAK,CAAA;EACX,GAAA;IAEA,IAAMuE,WAAW,GAAGhV,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAACyD,OAAO,CAAA;IAErD,IAAIG,WAAW,KAAK,SAAS,EAAE;MAC7B,IAAM3M,MAAM,GAAGJ,WAAW,CAACnK,SAAS,EAAE2S,gBAAgB,EAAE,MAAM,CAAC,CAAA;EAC/D,IAAA,IAAM/R,IAAI,GAAGuW,SAAsB,CAAC5F,SAAS,CAAC,CAAA;EAE9C3Q,IAAAA,IAAI,CAACK,CAAC,IAAIsJ,MAAM,CAACtJ,CAAC,CAAA;EAClBL,IAAAA,IAAI,CAACC,CAAC,IAAI0J,MAAM,CAAC1J,CAAC,CAAA;EAElB,IAAA,IAAMuW,UAAU,GAAGxW,IAAI,CAACK,CAAC,GAAG6I,IAAI,CAAC3B,IAAI,IAAIvH,IAAI,CAACK,CAAC,GAAG6I,IAAI,CAAC1B,KAAK,CAAA;EAC5D,IAAA,IAAMiP,QAAQ,GAAGzW,IAAI,CAACC,CAAC,GAAGiJ,IAAI,CAACzB,GAAG,IAAIzH,IAAI,CAACC,CAAC,GAAGiJ,IAAI,CAACxB,MAAM,CAAA;MAE1D2O,OAAO,GAAGG,UAAU,IAAIC,QAAQ,CAAA;EAClC,GAAA;EAEA,EAAA,IAAMC,QAAQ,GAAGtX,SAAS,CAACwJ,OAAO,CAACmJ,gBAAgB,CAAC,CAAA;EAEpD,EAAA,IAAI2E,QAAQ,IAAIJ,WAAW,KAAK,QAAQ,EAAE;MACxC,IAAMK,EAAE,GAAGD,QAAQ,CAACnP,IAAI,GAAGmP,QAAQ,CAAC/O,KAAK,GAAG,CAAC,CAAA;MAC7C,IAAMiP,EAAE,GAAGF,QAAQ,CAACjP,GAAG,GAAGiP,QAAQ,CAAC9O,MAAM,GAAG,CAAC,CAAA;MAE7CyO,OAAO,GAAGM,EAAE,IAAIzN,IAAI,CAAC3B,IAAI,IAAIoP,EAAE,IAAIzN,IAAI,CAAC1B,KAAK,IAAIoP,EAAE,IAAI1N,IAAI,CAACzB,GAAG,IAAImP,EAAE,IAAI1N,IAAI,CAACxB,MAAM,CAAA;EACtF,GAAA;IAEA,IAAIgP,QAAQ,IAAI9V,EAAE,CAAC5C,MAAM,CAACsY,WAAW,CAAC,EAAE;EACtC,IAAA,IAAMO,WAAW,GACfhM,IAAI,CAACqB,GAAG,CAAC,CAAC,EAAErB,IAAI,CAACiD,GAAG,CAAC5E,IAAI,CAAC1B,KAAK,EAAEkP,QAAQ,CAAClP,KAAK,CAAC,GAAGqD,IAAI,CAACqB,GAAG,CAAChD,IAAI,CAAC3B,IAAI,EAAEmP,QAAQ,CAACnP,IAAI,CAAC,CAAC,GACtFsD,IAAI,CAACqB,GAAG,CAAC,CAAC,EAAErB,IAAI,CAACiD,GAAG,CAAC5E,IAAI,CAACxB,MAAM,EAAEgP,QAAQ,CAAChP,MAAM,CAAC,GAAGmD,IAAI,CAACqB,GAAG,CAAChD,IAAI,CAACzB,GAAG,EAAEiP,QAAQ,CAACjP,GAAG,CAAC,CAAC,CAAA;MAExF,IAAMqP,YAAY,GAAGD,WAAW,IAAIH,QAAQ,CAAC/O,KAAK,GAAG+O,QAAQ,CAAC9O,MAAM,CAAC,CAAA;MAErEyO,OAAO,GAAGS,YAAY,IAAIR,WAAW,CAAA;EACvC,GAAA;EAEA,EAAA,IAAIhV,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC0D,OAAO,EAAE;MACrCC,OAAO,GAAG/U,YAAY,CAACX,OAAO,CAAC+R,IAAI,CAAC0D,OAAO,CACzCzF,SAAS,EACTzD,KAAK,EACLmJ,OAAO,EACP/U,YAAY,EACZ0Q,WAAW,EACX5S,SAAS,EACT2S,gBACF,CAAC,CAAA;EACH,GAAA;EAEA,EAAA,OAAOsE,OAAO,CAAA;EAChB,CAAA;EAEA,IAAM3D,IAAY,GAAG;EACnBxR,EAAAA,EAAE,EAAE,cAAc;EAClBpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kCAAkC,EAAE,SAAA4V,6BAAAC,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBtX,WAAW,GAAAsX,KAAA,CAAXtX,WAAW,CAAA;EAChD,MAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE;EACxC,QAAA,OAAA;EACF,OAAA;QAEAF,WAAW,CAACgR,SAAS,GAAG;EACtB3Q,QAAAA,GAAG,EAAE;EACH+Q,UAAAA,QAAQ,EAAE,IAAI;EACd3S,UAAAA,OAAO,EAAE,IAAA;WACV;EACD4N,QAAAA,IAAI,EAAE;EACJ+E,UAAAA,QAAQ,EAAE,IAAI;EACd3S,UAAAA,OAAO,EAAE,IAAA;WACV;EACD+S,QAAAA,QAAQ,EAAE,IAAI;EACdC,QAAAA,MAAM,EAAE,IAAI;EACZE,QAAAA,WAAW,EAAE,EAAA;SACd,CAAA;OACF;EAED,IAAA,iCAAiC,EAAE,SAAA4F,4BAAAA,CAAAC,KAAA,EAEjCnY,KAAK,EACF;EAAA,MAAA,IAFDW,WAAW,GAAAwX,KAAA,CAAXxX,WAAW;UAAEwN,KAAK,GAAAgK,KAAA,CAALhK,KAAK;UAAUyD,SAAS,GAAAuG,KAAA,CAAjB1W,MAAM,CAAA;EAG5B,MAAA,IAAId,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE;EACxC,QAAA,OAAA;EACF,OAAA;EAEA,MAAA,IAAM8Q,SAAS,GAAGhR,WAAW,CAACgR,SAAU,CAAA;;EAExC;QACAA,SAAS,CAACW,WAAW,GAAG,EAAE,CAAA;EAC1BX,MAAAA,SAAS,CAACS,MAAM,GAAG,EAAE,CAAA;QACrBT,SAAS,CAACW,WAAW,GAAGqC,cAAc,CAAC3U,KAAK,EAAEW,WAAW,CAACvB,OAAQ,CAAC,CAAA;QACnEuS,SAAS,CAACS,MAAM,GAAGmD,aAAa,CAAC5U,WAAW,EAAEwN,KAAK,EAAEyD,SAAS,CAAC,CAAA;EAE/D,MAAA,IAAID,SAAS,CAACS,MAAM,CAACuD,QAAQ,EAAE;UAC7BrB,oBAAoB,CAAC3C,SAAS,CAACW,WAAW,EAAEX,SAAS,CAACS,MAAM,CAACuD,QAAQ,CAAC,CAAA;EACtE3V,QAAAA,KAAK,CAAC0S,IAAI,CAAC,oBAAoB,EAAE;EAAE/R,UAAAA,WAAW,EAAXA,WAAW;EAAEiR,UAAAA,SAAS,EAATA,SAAAA;EAAU,SAAC,CAAC,CAAA;EAC9D,OAAA;OACD;EAED,IAAA,0BAA0B,EAAEqE,cAAc;EAE1C,IAAA,gCAAgC,EAAE,SAAAmC,2BAAAA,CAAAC,KAAA,EAEhCrY,KAAK,EACF;EAAA,MAAA,IAFDW,WAAW,GAAA0X,KAAA,CAAX1X,WAAW;UAAUiR,SAAS,GAAAyG,KAAA,CAAjB5W,MAAM,CAAA;EAGrB,MAAA,IAAId,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE;EACxC,QAAA,OAAA;EACF,OAAA;EAEA,MAAA,IAAM8Q,SAAS,GAAGhR,WAAW,CAACgR,SAAU,CAAA;EACxCqE,MAAAA,cAAc,CAACrV,WAAW,EAAEgR,SAAS,CAACS,MAAM,CAAC,CAAA;EAE7CpS,MAAAA,KAAK,CAAC0S,IAAI,CAAC,mBAAmB,EAAE;EAAE/R,QAAAA,WAAW,EAAXA,WAAW;EAAEiR,QAAAA,SAAS,EAATA,SAAAA;EAAU,OAAC,CAAC,CAAA;EAC3DD,MAAAA,SAAS,CAACS,MAAM,GAAG,EAAE,CAAA;OACtB;EAED,IAAA,yBAAyB,EAAE,SAAAkG,qBAAAA,CAAChW,GAAmC,EAAEtC,KAAK,EAAK;QACzE,IAAIsC,GAAG,CAAC3B,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE;EAC5C,QAAA,OAAA;EACF,OAAA;EAEA,MAAA,IAAQF,WAAW,GAAwB2B,GAAG,CAAtC3B,WAAW;UAAUiR,SAAS,GAAKtP,GAAG,CAAzBb,MAAM,CAAA;EAE3BwU,MAAAA,cAAc,CAAC3T,GAAG,EAAEtC,KAAK,CAAC,CAAA;QAC1BgW,cAAc,CAACrV,WAAW,EAAEA,WAAW,CAACgR,SAAS,CAAES,MAAM,CAAC,CAAA;EAC1DpS,MAAAA,KAAK,CAAC0S,IAAI,CAAC,kBAAkB,EAAE;EAAE/R,QAAAA,WAAW,EAAXA,WAAW;EAAEiR,QAAAA,SAAS,EAATA,SAAAA;EAAU,OAAC,CAAC,CAAA;OAC3D;EAED,IAAA,mBAAmB,EAAE,SAAA2G,gBAAAC,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlB7X,WAAW,GAAA6X,KAAA,CAAX7X,WAAW,CAAA;EACjC,MAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE;EACxC,QAAA,OAAA;EACF,OAAA;EAEA,MAAA,IAAQ8Q,SAAS,GAAKhR,WAAW,CAAzBgR,SAAS,CAAA;EAEjB,MAAA,IAAIA,SAAS,EAAE;UACbA,SAAS,CAACW,WAAW,GAAG,IAAa,CAAA;UACrCX,SAAS,CAACS,MAAM,GAAG,IAAa,CAAA;EAChCT,QAAAA,SAAS,CAAC3Q,GAAG,CAAC+Q,QAAQ,GAAG,IAAa,CAAA;EACtCJ,QAAAA,SAAS,CAAC3Q,GAAG,CAAC5B,OAAO,GAAG,IAAa,CAAA;EACrCuS,QAAAA,SAAS,CAAC3E,IAAI,CAAC+E,QAAQ,GAAG,IAAa,CAAA;EACvCJ,QAAAA,SAAS,CAAC3E,IAAI,CAAC5N,OAAO,GAAG,IAAa,CAAA;UACtCuS,SAAS,CAACQ,QAAQ,GAAG,KAAK,CAAA;EAC5B,OAAA;EACF,KAAA;KACD;EACDwC,EAAAA,cAAc,EAAdA,cAAc;EACdI,EAAAA,OAAO,EAAPA,OAAO;EACPQ,EAAAA,aAAa,EAAbA,aAAa;EACbS,EAAAA,cAAc,EAAdA,cAAc;IAEdjT,eAAe,EAAE,SAAAA,eAAAA,CAACC,IAAY,EAAA;EAAA,IAAA,OAAKA,IAAI,CAACC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,IAAID,IAAI,CAACC,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,CAAA;EAAA,GAAA;EAEzF9C,EAAAA,QAAQ,EAAE;EACR2B,IAAAA,OAAO,EAAE,KAAK;EACdmS,IAAAA,MAAM,EAAE,IAAa;EACrBmD,IAAAA,OAAO,EAAE,SAAA;EACX,GAAA;EACF,CAAC,CAAA;AAED,eAAezD,IAAI;;ECxnBnB,SAAS5T,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQC,OAAO,GAA6BD,KAAK,CAAzCC,OAAO;MAAEC,YAAY,GAAeF,KAAK,CAAhCE,YAAY;MAAEC,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAEvCD,EAAAA,YAAY,CAACE,SAAS,CAACqY,UAAU,GAAG,UAElC7W,OAAoC,EACpC;EACA,IAAA,IAAIC,EAAE,CAAChD,MAAM,CAAC+C,OAAO,CAAC,EAAE;QACtB,IAAI,CAACA,OAAO,CAAC8W,OAAO,CAAC5W,OAAO,GAAGF,OAAO,CAACE,OAAO,KAAK,KAAK,CAAA;EACxD,MAAA,IAAI,CAACC,YAAY,CAAC,SAAS,EAAEH,OAAO,CAAC,CAAA;EACrC,MAAA,IAAI,CAACI,WAAW,CAAC,SAAS,EAAEJ,OAAO,CAAC,CAAA;EAEpC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,IAAIC,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC,EAAE;EACpB,MAAA,IAAI,CAACA,OAAO,CAAC8W,OAAO,CAAC5W,OAAO,GAAGF,OAAO,CAAA;EAEtC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,OAAO,IAAI,CAACA,OAAO,CAAC8W,OAAO,CAAA;KACE,CAAA;EAE/BzY,EAAAA,OAAO,CAACM,GAAG,CAACmY,OAAO,GAAGA,OAAO,CAAA;EAC7BzY,EAAAA,OAAO,CAACO,UAAU,CAACkY,OAAO,GAAG,YAAY,CAAA;EAEzCvY,EAAAA,QAAQ,CAACF,OAAO,CAACyY,OAAO,GAAGA,OAAO,CAACvY,QAAQ,CAAA;EAC7C,CAAA;EAEA,SAASwY,kBAAkBA,CAAAjY,IAAA,EAAmD;EAAA,EAAA,IAAhDC,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAEc,MAAM,GAAAf,IAAA,CAANe,MAAM;MAAEmX,KAAK,GAAAlY,IAAA,CAALkY,KAAK,CAAA;EACtD,EAAA,IAAIjY,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,SAAS,EAAE,OAAA;IAE7C,IAAMmN,QAAQ,GAAGrN,WAAW,CAACqN,QAAQ,CAACzN,GAAG,CAAC,UAACoL,CAAC,EAAA;MAAA,OAAKA,CAAC,CAAC2B,OAAO,CAAA;KAAC,CAAA,CAAA;EAC3D,EAAA,IAAMuL,QAAQ,GAAGD,KAAK,KAAK,OAAO,CAAA;EAClC,EAAA,IAAME,MAAM,GAAGF,KAAK,KAAK,KAAK,CAAA;IAC9B,IAAMxJ,WAAW,GAAGzO,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAACwN,WAAW,CAAA;EAEhE3N,EAAAA,MAAM,CAAC2M,OAAO,GAAG,CAACJ,QAAQ,CAAC,CAAC,CAAC,EAAEA,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAA;EAE3C,EAAA,IAAI6K,QAAQ,EAAE;MACZpX,MAAM,CAACsX,QAAQ,GAAGvB,aAA0B,CAACxJ,QAAQ,EAAEoB,WAAW,CAAC,CAAA;MACnE3N,MAAM,CAACuX,GAAG,GAAGxB,SAAsB,CAACxJ,QAAQ,CAAC,CAAA;MAC7CvM,MAAM,CAACwX,KAAK,GAAG,CAAC,CAAA;MAChBxX,MAAM,CAACyX,EAAE,GAAG,CAAC,CAAA;MACbzX,MAAM,CAACkO,KAAK,GAAG6H,UAAuB,CAACxJ,QAAQ,EAAEoB,WAAW,CAAC,CAAA;MAC7D3N,MAAM,CAAC0X,EAAE,GAAG,CAAC,CAAA;EAEbxY,IAAAA,WAAW,CAAC+X,OAAO,CAACU,aAAa,GAAG3X,MAAM,CAACsX,QAAQ,CAAA;EACnDpY,IAAAA,WAAW,CAAC+X,OAAO,CAACW,UAAU,GAAG5X,MAAM,CAACkO,KAAK,CAAA;KAC9C,MAAM,IAAImJ,MAAM,IAAInY,WAAW,CAACqN,QAAQ,CAACnO,MAAM,GAAG,CAAC,EAAE;EACpD,IAAA,IAAMyZ,SAAS,GAAG3Y,WAAW,CAAC2Y,SAAyB,CAAA;EAEvD7X,IAAAA,MAAM,CAACsX,QAAQ,GAAGO,SAAS,CAACP,QAAQ,CAAA;EACpCtX,IAAAA,MAAM,CAACuX,GAAG,GAAGM,SAAS,CAACN,GAAG,CAAA;EAC1BvX,IAAAA,MAAM,CAACwX,KAAK,GAAGK,SAAS,CAACL,KAAK,CAAA;MAC9BxX,MAAM,CAACyX,EAAE,GAAG,CAAC,CAAA;EACbzX,IAAAA,MAAM,CAACkO,KAAK,GAAG2J,SAAS,CAAC3J,KAAK,CAAA;MAC9BlO,MAAM,CAAC0X,EAAE,GAAG,CAAC,CAAA;EACf,GAAC,MAAM;MACL1X,MAAM,CAACsX,QAAQ,GAAGvB,aAA0B,CAACxJ,QAAQ,EAAEoB,WAAW,CAAC,CAAA;MACnE3N,MAAM,CAACuX,GAAG,GAAGxB,SAAsB,CAACxJ,QAAQ,CAAC,CAAA;MAC7CvM,MAAM,CAACwX,KAAK,GAAGxX,MAAM,CAACsX,QAAQ,GAAGpY,WAAW,CAAC+X,OAAO,CAACU,aAAa,CAAA;MAClE3X,MAAM,CAACkO,KAAK,GAAG6H,UAAuB,CAACxJ,QAAQ,EAAEoB,WAAW,CAAC,CAAA;MAE7D3N,MAAM,CAACyX,EAAE,GAAGzX,MAAM,CAACwX,KAAK,GAAGtY,WAAW,CAAC+X,OAAO,CAACO,KAAK,CAAA;MACpDxX,MAAM,CAAC0X,EAAE,GAAG1X,MAAM,CAACkO,KAAK,GAAGhP,WAAW,CAAC+X,OAAO,CAAC/I,KAAK,CAAA;EACtD,GAAA;EAEAhP,EAAAA,WAAW,CAAC+X,OAAO,CAACK,QAAQ,GAAGtX,MAAM,CAACsX,QAAQ,CAAA;EAC9CpY,EAAAA,WAAW,CAAC+X,OAAO,CAAC/I,KAAK,GAAGlO,MAAM,CAACkO,KAAK,CAAA;IAExC,IAAI9N,EAAE,CAAC5C,MAAM,CAACwC,MAAM,CAACwX,KAAK,CAAC,IAAIxX,MAAM,CAACwX,KAAK,KAAKM,QAAQ,IAAI,CAACC,KAAK,CAAC/X,MAAM,CAACwX,KAAK,CAAC,EAAE;EAChFtY,IAAAA,WAAW,CAAC+X,OAAO,CAACO,KAAK,GAAGxX,MAAM,CAACwX,KAAK,CAAA;EAC1C,GAAA;EACF,CAAA;EAEA,IAAMP,OAAe,GAAG;EACtBvW,EAAAA,EAAE,EAAE,iBAAiB;EACrBsX,EAAAA,MAAM,EAAE,CAAC,cAAc,EAAE,gBAAgB,CAAC;EAC1C1Z,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,2BAA2B,EAAEuW,kBAAkB;EAC/C,IAAA,0BAA0B,EAAEA,kBAAkB;EAC9C,IAAA,yBAAyB,EAAEA,kBAAkB;EAE7C,IAAA,kBAAkB,EAAE,SAAAe,eAAAlY,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBb,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;QAChCA,WAAW,CAAC+X,OAAO,GAAG;EACpB/I,QAAAA,KAAK,EAAE,CAAC;EACRoJ,QAAAA,QAAQ,EAAE,CAAC;EACXE,QAAAA,KAAK,EAAE,CAAC;EACRI,QAAAA,UAAU,EAAE,CAAC;EACbD,QAAAA,aAAa,EAAE,CAAA;SAChB,CAAA;OACF;EAED,IAAA,kBAAkB,EAAE,SAAA/W,cAACC,CAAAA,GAAG,EAAK;QAC3B,IAAIA,GAAG,CAAC3B,WAAW,CAACqN,QAAQ,CAACnO,MAAM,GAAG,CAAC,EAAE;EACvC,QAAA,OAAO/B,SAAS,CAAA;EAClB,OAAA;QAEA,IAAM6b,cAAc,GAAGrX,GAAG,CAACC,YAAY,CAACX,OAAO,CAAC8W,OAAO,CAAA;EAEvD,MAAA,IAAI,EAAEiB,cAAc,IAAIA,cAAc,CAAC7X,OAAO,CAAC,EAAE;EAC/C,QAAA,OAAOhE,SAAS,CAAA;EAClB,OAAA;QAEAwE,GAAG,CAACO,MAAM,GAAG;EAAEhC,QAAAA,IAAI,EAAE,SAAA;SAAW,CAAA;EAEhC,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;KACD;IAEDV,QAAQ,EAAE,EAAE;IAEZ2C,SAAS,EAAA,SAAAA,YAAG;EACV,IAAA,OAAO,EAAE,CAAA;KACV;IAEDC,eAAe,EAAE,SAAAA,eAAAA,CAACC,IAAY,EAAA;EAAA,IAAA,OAAKA,IAAI,CAACC,MAAM,CAAC,SAAS,CAAC,KAAK,CAAC,CAAA;EAAA,GAAA;EACjE,CAAC,CAAA;AAED,kBAAeyV,OAAO;;EC3FtB,SAAS3Y,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IACEC,OAAO,GAILD,KAAK,CAJPC,OAAO;MACP4D,OAAO,GAGL7D,KAAK,CAHP6D,OAAO;MACP3D,YAAY,GAEVF,KAAK,CAFPE,YAAY;MACZC,QAAQ,GACNH,KAAK,CADPG,QAAQ,CAAA;;EAGV;;EAEAyZ,EAAAA,MAAM,CAACC,OAAO,GAAGC,WAAW,CAACjW,OAAO,CAAC,CAAA;EACrC+V,EAAAA,MAAM,CAACG,aAAa,GAAGlW,OAAO,CAACC,aAAa,IAAID,OAAO,CAACE,oBAAoB,GAAG,EAAE,GAAG,EAAE,CAAA;EAEtF7D,EAAAA,YAAY,CAACE,SAAS,CAAC4Z,SAAS,GAAG,UAA8BpY,OAAmC,EAAE;EACpG,IAAA,OAAOoY,SAAS,CAAC,IAAI,EAAEpY,OAAO,EAAE5B,KAAK,CAAC,CAAA;KACV,CAAA;EAE9BC,EAAAA,OAAO,CAACM,GAAG,CAACqZ,MAAM,GAAGA,MAAM,CAAA;EAC3B3Z,EAAAA,OAAO,CAACO,UAAU,CAACoZ,MAAM,GAAG,WAAW,CAAA;EAEvCzZ,EAAAA,QAAQ,CAACF,OAAO,CAAC2Z,MAAM,GAAGA,MAAM,CAACzZ,QAAQ,CAAA;EAC3C,CAAA;EAEA,SAAS8Z,aAAaA,CAAC3X,GAAG,EAAE;EAC1B,EAAA,IAAQ3B,WAAW,GAA2C2B,GAAG,CAAzD3B,WAAW;MAAE4B,YAAY,GAA6BD,GAAG,CAA5CC,YAAY;MAAEnD,OAAO,GAAoBkD,GAAG,CAA9BlD,OAAO;MAAE+K,IAAI,GAAc7H,GAAG,CAArB6H,IAAI;MAAE3H,OAAO,GAAKF,GAAG,CAAfE,OAAO,CAAA;IAEzD,IAAI,CAAC2H,IAAI,EAAE;EACT,IAAA,OAAOrM,SAAS,CAAA;EAClB,GAAA;EAEA,EAAA,IAAMmD,IAAI,GAAGqI,MAAM,CAAC,EAAE,EAAE3I,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAI,CAAC,CAAA;EACpD,EAAA,IAAMiZ,aAAa,GAAG3X,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAA;EAEjD,EAAA,IACE,EAAEM,aAAa,IAAIA,aAAa,CAACpY,OAAO,CAAC;EACzC;IACCnB,WAAW,CAAC+B,aAAa,IACxB,eAAe,CAACpD,IAAI,CAACqB,WAAW,CAACgC,WAAW,CAAC,IAC7C,CAACH,OAAO,GAAG0X,aAAa,CAACtX,YAAY,MAAM,CAAE,EAC/C;EACA,IAAA,OAAO9E,SAAS,CAAA;EAClB,GAAA;;EAEA;IACA,IAAI+D,EAAE,CAAChD,MAAM,CAACqb,aAAa,CAAC3P,KAAK,CAAC,EAAE;EAClC,IAAA,IAAM4P,WAAW,GAAG;EAClB3R,MAAAA,IAAI,EAAE,KAAK;EACXC,MAAAA,KAAK,EAAE,KAAK;EACZC,MAAAA,GAAG,EAAE,KAAK;EACVC,MAAAA,MAAM,EAAE,KAAA;OACT,CAAA;EAED,IAAA,KAAK,IAAMyR,IAAI,IAAID,WAAW,EAAE;EAC9BA,MAAAA,WAAW,CAACC,IAAI,CAAC,GAAGC,eAAe,CACjCD,IAAI,EACJF,aAAa,CAAC3P,KAAK,CAAC6P,IAAI,CAAC,EACzBnZ,IAAI,EACJN,WAAW,CAAC2Z,cAAc,CAACC,WAAW,EACtCnb,OAAO,EACP+K,IAAI,EACJ+P,aAAa,CAACM,MAAM,IAAIZ,MAAM,CAACG,aACjC,CAAC,CAAA;EACH,KAAA;MAEAI,WAAW,CAAC3R,IAAI,GAAG2R,WAAW,CAAC3R,IAAI,IAAI,CAAC2R,WAAW,CAAC1R,KAAK,CAAA;MACzD0R,WAAW,CAACzR,GAAG,GAAGyR,WAAW,CAACzR,GAAG,IAAI,CAACyR,WAAW,CAACxR,MAAM,CAAA;EAExD,IAAA,IAAIwR,WAAW,CAAC3R,IAAI,IAAI2R,WAAW,CAAC1R,KAAK,IAAI0R,WAAW,CAACzR,GAAG,IAAIyR,WAAW,CAACxR,MAAM,EAAE;QAClFrG,GAAG,CAACO,MAAM,GAAG;EACXhC,QAAAA,IAAI,EAAE,QAAQ;EACd0J,QAAAA,KAAK,EAAE4P,WAAAA;SACR,CAAA;EACH,KAAA;EACF,GAAC,MAAM;EACL,IAAA,IAAM1R,KAAK,GAAGyR,aAAa,CAACpZ,IAAI,KAAK,GAAG,IAAIG,IAAI,CAACK,CAAC,GAAG6I,IAAI,CAAC1B,KAAK,GAAGmR,MAAM,CAACG,aAAa,CAAA;EACtF,IAAA,IAAMpR,MAAM,GAAGuR,aAAa,CAACpZ,IAAI,KAAK,GAAG,IAAIG,IAAI,CAACC,CAAC,GAAGiJ,IAAI,CAACxB,MAAM,GAAGiR,MAAM,CAACG,aAAa,CAAA;MAExF,IAAItR,KAAK,IAAIE,MAAM,EAAE;QACnBrG,GAAG,CAACO,MAAM,GAAG;EACXhC,QAAAA,IAAI,EAAE,QAAQ;EACd4Z,QAAAA,IAAI,EAAE,CAAChS,KAAK,GAAG,GAAG,GAAG,EAAE,KAAKE,MAAM,GAAG,GAAG,GAAG,EAAE,CAAA;SAC9C,CAAA;EACH,KAAA;EACF,GAAA;EAEA,EAAA,OAAOrG,GAAG,CAACO,MAAM,GAAG,KAAK,GAAG/E,SAAS,CAAA;EACvC,CAAA;EAEA,SAASkc,SAASA,CAACzX,YAA0B,EAAEX,OAA8C,EAAE5B,KAAY,EAAE;EAC3G,EAAA,IAAI6B,EAAE,CAAChD,MAAM,CAAC+C,OAAO,CAAC,EAAE;MACtBW,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAC9X,OAAO,GAAGF,OAAO,CAACE,OAAO,KAAK,KAAK,CAAA;EAC/DS,IAAAA,YAAY,CAACR,YAAY,CAAC,QAAQ,EAAEH,OAAO,CAAC,CAAA;EAC5CW,IAAAA,YAAY,CAACP,WAAW,CAAC,QAAQ,EAAEJ,OAAO,CAAC,CAAA;EAE3C,IAAA,IAAIC,EAAE,CAAC1C,MAAM,CAACyC,OAAO,CAACd,IAAI,CAAC,IAAI,cAAc,CAACxB,IAAI,CAACsC,OAAO,CAACd,IAAI,CAAC,EAAE;QAChEyB,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAC9Y,IAAI,GAAGc,OAAO,CAACd,IAAI,CAAA;EACjD,KAAC,MAAM,IAAIc,OAAO,CAACd,IAAI,KAAK,IAAI,EAAE;EAChCyB,MAAAA,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAC9Y,IAAI,GAAGd,KAAK,CAACG,QAAQ,CAACF,OAAO,CAAC2Z,MAAM,CAAC9Y,IAAI,CAAA;EACvE,KAAA;MAEA,IAAIe,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC8Y,mBAAmB,CAAC,EAAE;QACxCnY,YAAY,CAACX,OAAO,CAACgY,MAAM,CAACc,mBAAmB,GAAG9Y,OAAO,CAAC8Y,mBAAmB,CAAA;OAC9E,MAAM,IAAI7Y,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC+Y,MAAM,CAAC,EAAE;QAClCpY,YAAY,CAACX,OAAO,CAACgY,MAAM,CAACe,MAAM,GAAG/Y,OAAO,CAAC+Y,MAAM,CAAA;EACrD,KAAA;EAEA,IAAA,OAAOpY,YAAY,CAAA;EACrB,GAAA;EACA,EAAA,IAAIV,EAAE,CAAC3C,IAAI,CAAC0C,OAAO,CAAC,EAAE;EACpBW,IAAAA,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAC9X,OAAO,GAAGF,OAAO,CAAA;EAE7C,IAAA,OAAOW,YAAY,CAAA;EACrB,GAAA;EACA,EAAA,OAAOA,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAA;EACpC,CAAA;EAEA,SAASS,eAAeA,CACtBxZ,IAAY,EACZuI,KAAU,EACVnI,IAAW,EACX7B,OAAa,EACbwb,mBAA4B,EAC5BzQ,IAAU,EACVqQ,MAAc,EACd;EACA;IACA,IAAI,CAACpR,KAAK,EAAE;EACV,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;;EAEA;IACA,IAAIA,KAAK,KAAK,IAAI,EAAE;EAClB;MACA,IAAMR,KAAK,GAAG/G,EAAE,CAAC5C,MAAM,CAACkL,IAAI,CAACvB,KAAK,CAAC,GAAGuB,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,CAAA;MACzE,IAAMK,MAAM,GAAGhH,EAAE,CAAC5C,MAAM,CAACkL,IAAI,CAACtB,MAAM,CAAC,GAAGsB,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,CAAA;;EAE5E;MACA8R,MAAM,GAAG1O,IAAI,CAACiD,GAAG,CAACyL,MAAM,EAAE1O,IAAI,CAAC+O,GAAG,CAAC,CAACha,IAAI,KAAK,MAAM,IAAIA,IAAI,KAAK,OAAO,GAAG+H,KAAK,GAAGC,MAAM,IAAI,CAAC,CAAC,CAAC,CAAA;MAE/F,IAAID,KAAK,GAAG,CAAC,EAAE;QACb,IAAI/H,IAAI,KAAK,MAAM,EAAE;EACnBA,QAAAA,IAAI,GAAG,OAAO,CAAA;EAChB,OAAC,MAAM,IAAIA,IAAI,KAAK,OAAO,EAAE;EAC3BA,QAAAA,IAAI,GAAG,MAAM,CAAA;EACf,OAAA;EACF,KAAA;MACA,IAAIgI,MAAM,GAAG,CAAC,EAAE;QACd,IAAIhI,IAAI,KAAK,KAAK,EAAE;EAClBA,QAAAA,IAAI,GAAG,QAAQ,CAAA;EACjB,OAAC,MAAM,IAAIA,IAAI,KAAK,QAAQ,EAAE;EAC5BA,QAAAA,IAAI,GAAG,KAAK,CAAA;EACd,OAAA;EACF,KAAA;MAEA,IAAIA,IAAI,KAAK,MAAM,EAAE;EACnB,MAAA,IAAMuZ,IAAI,GAAGxR,KAAK,IAAI,CAAC,GAAGuB,IAAI,CAAC3B,IAAI,GAAG2B,IAAI,CAAC1B,KAAK,CAAA;EAChD,MAAA,OAAOxH,IAAI,CAACK,CAAC,GAAG8Y,IAAI,GAAGI,MAAM,CAAA;EAC/B,KAAA;MACA,IAAI3Z,IAAI,KAAK,KAAK,EAAE;EAClB,MAAA,IAAMuZ,KAAI,GAAGvR,MAAM,IAAI,CAAC,GAAGsB,IAAI,CAACzB,GAAG,GAAGyB,IAAI,CAACxB,MAAM,CAAA;EACjD,MAAA,OAAO1H,IAAI,CAACC,CAAC,GAAGkZ,KAAI,GAAGI,MAAM,CAAA;EAC/B,KAAA;MAEA,IAAI3Z,IAAI,KAAK,OAAO,EAAE;EACpB,MAAA,OAAOI,IAAI,CAACK,CAAC,GAAG,CAACsH,KAAK,IAAI,CAAC,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,IAAIgS,MAAM,CAAA;EAChE,KAAA;MACA,IAAI3Z,IAAI,KAAK,QAAQ,EAAE;EACrB,MAAA,OAAOI,IAAI,CAACC,CAAC,GAAG,CAAC2H,MAAM,IAAI,CAAC,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,IAAI8R,MAAM,CAAA;EACjE,KAAA;EACF,GAAA;;EAEA;EACA,EAAA,IAAI,CAAC3Y,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EACxB,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;EAEA,EAAA,OAAOyC,EAAE,CAACzC,OAAO,CAACgK,KAAK,CAAC;EACpB;EACAA,EAAAA,KAAK,KAAKhK,OAAO;EACjB;IACAmO,WAAe,CAACnO,OAAO,EAAEgK,KAAK,EAAEwR,mBAAmB,CAAC,CAAA;EAC1D,CAAA;;EAEA;EACA;EACA,SAASd,WAAWA,CAACjW,OAA2D,EAAE;IAChF,OAAOA,OAAO,CAACK,KAAK,GAChB;EACE5C,IAAAA,CAAC,EAAE,UAAU;EACbJ,IAAAA,CAAC,EAAE,UAAU;EACbuM,IAAAA,EAAE,EAAE,WAAW;EAEf/E,IAAAA,GAAG,EAAE,UAAU;EACfF,IAAAA,IAAI,EAAE,UAAU;EAChBG,IAAAA,MAAM,EAAE,UAAU;EAClBF,IAAAA,KAAK,EAAE,UAAU;EACjBqS,IAAAA,OAAO,EAAE,WAAW;EACpBC,IAAAA,WAAW,EAAE,WAAW;EACxBC,IAAAA,QAAQ,EAAE,WAAW;EACrBC,IAAAA,UAAU,EAAE,WAAA;EACd,GAAC,GACD;EACE3Z,IAAAA,CAAC,EAAE,WAAW;EACdJ,IAAAA,CAAC,EAAE,WAAW;EACduM,IAAAA,EAAE,EAAE,aAAa;EAEjB/E,IAAAA,GAAG,EAAE,WAAW;EAChBF,IAAAA,IAAI,EAAE,WAAW;EACjBG,IAAAA,MAAM,EAAE,WAAW;EACnBF,IAAAA,KAAK,EAAE,WAAW;EAClBqS,IAAAA,OAAO,EAAE,aAAa;EACtBC,IAAAA,WAAW,EAAE,aAAa;EAC1BC,IAAAA,QAAQ,EAAE,aAAa;EACvBC,IAAAA,UAAU,EAAE,aAAA;KACb,CAAA;EACP,CAAA;EACA;;EAEA,SAAS9Z,OAAKA,CAAAT,IAAA,EAAyF;EAAA,EAAA,IAAtFe,MAAM,GAAAf,IAAA,CAANe,MAAM;MAAEd,WAAW,GAAAD,IAAA,CAAXC,WAAW,CAAA;EAClC,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,QAAQ,IAAI,CAACF,WAAW,CAACC,QAAQ,CAAC2J,KAAK,EAAE;EACzE,IAAA,OAAA;EACF,GAAA;IAEA,IAAM2Q,WAAW,GAAGzZ,MAAqB,CAAA;EACzC,EAAA,IAAM0I,IAAI,GAAGxJ,WAAW,CAACwJ,IAAI,CAAA;IAE7BxJ,WAAW,CAACwa,MAAM,GAAG;EACnBha,IAAAA,KAAK,EAAEmI,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC;EACvBmM,IAAAA,SAAS,EAAEhN,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC;EAC3BiR,IAAAA,QAAQ,EAAE9R,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC;EAC1BxI,IAAAA,KAAK,EAAE;EACL6G,MAAAA,IAAI,EAAE,CAAC;EACPC,MAAAA,KAAK,EAAE,CAAC;EACRG,MAAAA,KAAK,EAAE,CAAC;EACRF,MAAAA,GAAG,EAAE,CAAC;EACNC,MAAAA,MAAM,EAAE,CAAC;EACTE,MAAAA,MAAM,EAAE,CAAA;EACV,KAAA;KACD,CAAA;EAEDqS,EAAAA,WAAW,CAAC3Q,KAAK,GAAG5J,WAAW,CAACC,QAAQ,CAAC2J,KAAK,CAAA;EAC9C2Q,EAAAA,WAAW,CAAC/Q,IAAI,GAAGxJ,WAAW,CAACwa,MAAM,CAAC7E,SAAS,CAAA;EAC/C4E,EAAAA,WAAW,CAACG,SAAS,GAAG1a,WAAW,CAACwa,MAAM,CAACxZ,KAAK,CAAA;EAClD,CAAA;EAEA,SAASJ,IAAIA,CAAAC,KAAA,EAAyF;EAAA,EAAA,IAAtFC,MAAM,GAAAD,KAAA,CAANC,MAAM;MAAEd,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EACjC,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,QAAQ,IAAI,CAACF,WAAW,CAACC,QAAQ,CAAC2J,KAAK,EAAE,OAAA;IAE3E,IAAM2Q,WAAW,GAAGzZ,MAAqB,CAAA;IACzC,IAAMyY,aAAa,GAAGvZ,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAACgY,MAAM,CAAA;EAC7D,EAAA,IAAM0B,MAAM,GAAGpB,aAAa,CAACoB,MAAM,CAAA;IACnC,IAAMC,UAAU,GAAGD,MAAM,KAAK,YAAY,IAAIA,MAAM,KAAK,QAAQ,CAAA;EAEjE,EAAA,IAAME,OAAO,GAAG7a,WAAW,CAACwJ,IAAI,CAAA;EAChC,EAAA,IAAAsR,mBAAA,GAAoE9a,WAAW,CAACwa,MAAM;MAAvEO,SAAS,GAAAD,mBAAA,CAAhBta,KAAK;MAAamV,SAAS,GAAAmF,mBAAA,CAATnF,SAAS;MAAS+E,SAAS,GAAAI,mBAAA,CAAhB9Z,KAAK;MAAayZ,QAAQ,GAAAK,mBAAA,CAARL,QAAQ,CAAA;EAE/D9R,EAAAA,MAAM,CAAC8R,QAAQ,EAAE9E,SAAS,CAAC,CAAA;EAE3B,EAAA,IAAIiF,UAAU,EAAE;EACd;EACAjS,IAAAA,MAAM,CAACgN,SAAS,EAAEkF,OAAO,CAAC,CAAA;MAE1B,IAAIF,MAAM,KAAK,YAAY,EAAE;EAC3B;EACA,MAAA,IAAIhF,SAAS,CAAC5N,GAAG,GAAG4N,SAAS,CAAC3N,MAAM,EAAE;EACpC,QAAA,IAAMgT,IAAI,GAAGrF,SAAS,CAAC5N,GAAG,CAAA;EAE1B4N,QAAAA,SAAS,CAAC5N,GAAG,GAAG4N,SAAS,CAAC3N,MAAM,CAAA;UAChC2N,SAAS,CAAC3N,MAAM,GAAGgT,IAAI,CAAA;EACzB,OAAA;EACA,MAAA,IAAIrF,SAAS,CAAC9N,IAAI,GAAG8N,SAAS,CAAC7N,KAAK,EAAE;EACpC,QAAA,IAAMkT,KAAI,GAAGrF,SAAS,CAAC9N,IAAI,CAAA;EAE3B8N,QAAAA,SAAS,CAAC9N,IAAI,GAAG8N,SAAS,CAAC7N,KAAK,CAAA;UAChC6N,SAAS,CAAC7N,KAAK,GAAGkT,KAAI,CAAA;EACxB,OAAA;EACF,KAAA;EACF,GAAC,MAAM;EACL;EACArF,IAAAA,SAAS,CAAC5N,GAAG,GAAGoD,IAAI,CAACiD,GAAG,CAACyM,OAAO,CAAC9S,GAAG,EAAEgT,SAAS,CAAC/S,MAAM,CAAC,CAAA;EACvD2N,IAAAA,SAAS,CAAC3N,MAAM,GAAGmD,IAAI,CAACqB,GAAG,CAACqO,OAAO,CAAC7S,MAAM,EAAE+S,SAAS,CAAChT,GAAG,CAAC,CAAA;EAC1D4N,IAAAA,SAAS,CAAC9N,IAAI,GAAGsD,IAAI,CAACiD,GAAG,CAACyM,OAAO,CAAChT,IAAI,EAAEkT,SAAS,CAACjT,KAAK,CAAC,CAAA;EACxD6N,IAAAA,SAAS,CAAC7N,KAAK,GAAGqD,IAAI,CAACqB,GAAG,CAACqO,OAAO,CAAC/S,KAAK,EAAEiT,SAAS,CAAClT,IAAI,CAAC,CAAA;EAC3D,GAAA;IAEA8N,SAAS,CAAC1N,KAAK,GAAG0N,SAAS,CAAC7N,KAAK,GAAG6N,SAAS,CAAC9N,IAAI,CAAA;IAClD8N,SAAS,CAACzN,MAAM,GAAGyN,SAAS,CAAC3N,MAAM,GAAG2N,SAAS,CAAC5N,GAAG,CAAA;EAEnD,EAAA,KAAK,IAAM0R,IAAI,IAAI9D,SAAS,EAAE;EAC5B+E,IAAAA,SAAS,CAACjB,IAAI,CAAC,GAAG9D,SAAS,CAAC8D,IAAI,CAAC,GAAGgB,QAAQ,CAAChB,IAAI,CAAC,CAAA;EACpD,GAAA;EAEAc,EAAAA,WAAW,CAAC3Q,KAAK,GAAG5J,WAAW,CAACC,QAAQ,CAAC2J,KAAK,CAAA;IAC9C2Q,WAAW,CAAC/Q,IAAI,GAAGmM,SAAS,CAAA;IAC5B4E,WAAW,CAACG,SAAS,GAAGA,SAAS,CAAA;EACnC,CAAA;EAEA,SAASO,KAAGA,CAAA1F,KAAA,EAAyF;EAAA,EAAA,IAAtFzU,MAAM,GAAAyU,KAAA,CAANzU,MAAM;MAAEd,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;EAChC,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,QAAQ,IAAI,CAACF,WAAW,CAACC,QAAQ,CAAC2J,KAAK,EAAE,OAAA;IAE3E,IAAM2Q,WAAW,GAAGzZ,MAAqB,CAAA;EAEzCyZ,EAAAA,WAAW,CAAC3Q,KAAK,GAAG5J,WAAW,CAACC,QAAQ,CAAC2J,KAAK,CAAA;EAC9C2Q,EAAAA,WAAW,CAAC/Q,IAAI,GAAGxJ,WAAW,CAACwa,MAAM,CAAC7E,SAAS,CAAA;EAC/C4E,EAAAA,WAAW,CAACG,SAAS,GAAG1a,WAAW,CAACwa,MAAM,CAACxZ,KAAK,CAAA;EAClD,CAAA;EAEA,SAASka,eAAeA,CAAA5D,KAAA,EAMrB;EAAA,EAAA,IALDxW,MAAM,GAAAwW,KAAA,CAANxW,MAAM;MACNd,WAAW,GAAAsX,KAAA,CAAXtX,WAAW,CAAA;EAKX,EAAA,IAAIA,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,QAAQ,IAAI,CAACF,WAAW,CAACmb,UAAU,EAAE,OAAA;EAEvE,EAAA,IAAMla,OAAO,GAAGjB,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAAA;IAChD,IAAMsZ,WAAW,GAAGzZ,MAAqB,CAAA;EAEzC,EAAA,IAAIG,OAAO,CAACgY,MAAM,CAACe,MAAM,EAAE;EACzB,IAAA,IAAIha,WAAW,CAACmb,UAAU,KAAK,GAAG,EAAE;QAClCZ,WAAW,CAACvZ,KAAK,CAACL,CAAC,GAAG4Z,WAAW,CAACvZ,KAAK,CAACT,CAAC,CAAA;EAC3C,KAAC,MAAM;QACLga,WAAW,CAACvZ,KAAK,CAACT,CAAC,GAAGga,WAAW,CAACvZ,KAAK,CAACL,CAAC,CAAA;EAC3C,KAAA;MACA4Z,WAAW,CAACT,IAAI,GAAG,IAAI,CAAA;EACzB,GAAC,MAAM;EACLS,IAAAA,WAAW,CAACT,IAAI,GAAG9Z,WAAW,CAACmb,UAAU,CAAA;EAEzC,IAAA,IAAInb,WAAW,CAACmb,UAAU,KAAK,GAAG,EAAE;EAClCZ,MAAAA,WAAW,CAACvZ,KAAK,CAACT,CAAC,GAAG,CAAC,CAAA;EACzB,KAAC,MAAM,IAAIP,WAAW,CAACmb,UAAU,KAAK,GAAG,EAAE;EACzCZ,MAAAA,WAAW,CAACvZ,KAAK,CAACL,CAAC,GAAG,CAAC,CAAA;EACzB,KAAA;EACF,GAAA;EACF,CAAA;EAEA,IAAMsY,MAAc,GAAG;EACrBzX,EAAAA,EAAE,EAAE,gBAAgB;IACpBsX,MAAM,EAAE,CAAC,cAAc,CAAC;EACxB1Z,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAvB,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBxX,WAAW,GAAAwX,KAAA,CAAXxX,WAAW,CAAA;QAChCA,WAAW,CAACmb,UAAU,GAAG,IAAI,CAAA;OAC9B;EAED,IAAA,2BAA2B,EAAE,SAAAC,uBAACzZ,CAAAA,GAAG,EAAK;QACpCnB,OAAK,CAACmB,GAAG,CAAC,CAAA;QACVuZ,eAAe,CAACvZ,GAAG,CAAC,CAAA;OACrB;EACD,IAAA,0BAA0B,EAAE,SAAA0Z,sBAAC1Z,CAAAA,GAAG,EAAK;QACnCf,IAAI,CAACe,GAAG,CAAC,CAAA;QACTuZ,eAAe,CAACvZ,GAAG,CAAC,CAAA;OACrB;EACD,IAAA,yBAAyB,EAAEsZ,KAAG;EAC9B,IAAA,kBAAkB,EAAE3B,aAAAA;KACrB;EAED9Z,EAAAA,QAAQ,EAAE;EACRwa,IAAAA,MAAM,EAAE,KAAK;EACbD,IAAAA,mBAAmB,EAAE,KAAK;EAC1B5Z,IAAAA,IAAI,EAAE,IAAI;EAEV;EACA0Z,IAAAA,MAAM,EAAEyB,GAAG;EAEX;EACA;EACA;EACA;EACA1R,IAAAA,KAAK,EAAE,IAAI;EAEX;EACA;EACA;EACA;EACA+Q,IAAAA,MAAM,EAAE,MAAA;KACW;EAErBzB,EAAAA,OAAO,EAAE,IAAsC;IAE/C/W,SAAS,EAAA,SAAAA,SAAAuV,CAAAA,KAAA,EAAqC;EAAA,IAAA,IAAlC9N,KAAK,GAAA8N,KAAA,CAAL9N,KAAK;QAAEzJ,IAAI,GAAAuX,KAAA,CAAJvX,IAAI;QAAED,IAAI,GAAAwX,KAAA,CAAJxX,IAAI,CAAA;EAC3B,IAAA,IAAMgZ,OAAO,GAAGD,MAAM,CAACC,OAAO,CAAA;MAC9B,IAAI3O,MAAc,GAAG,IAAI,CAAA;EAEzB,IAAA,IAAIpK,IAAI,EAAE;EACRoK,MAAAA,MAAM,GAAG2O,OAAO,CAAChZ,IAAI,GAAGC,IAAI,CAAC,CAAA;OAC9B,MAAM,IAAIyJ,KAAK,EAAE;QAChB,IAAI2R,SAAS,GAAG,EAAE,CAAA;QAAA,KAAA5Q,IAAAA,GAAA,MAAA6Q,KAAA,GAEC,CAAC,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAA7Q,GAAA,GAAA6Q,KAAA,CAAAtc,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAlD,QAAA,IAAM8O,IAAI,GAAA+B,KAAA,CAAA7Q,GAAA,CAAA,CAAA;EACb,QAAA,IAAIf,KAAK,CAAC6P,IAAI,CAAC,EAAE;EACf8B,UAAAA,SAAS,IAAI9B,IAAI,CAAA;EACnB,SAAA;EACF,OAAA;EAEAlP,MAAAA,MAAM,GAAG2O,OAAO,CAACqC,SAAS,CAAC,CAAA;EAC7B,KAAA;EAEA,IAAA,OAAOhR,MAAM,CAAA;KACd;IAEDnI,eAAe,EAAE,SAAAA,eAAAA,CAACC,IAAY,EAAA;EAAA,IAAA,OAAKA,IAAI,CAACC,MAAM,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAA;EAAA,GAAA;EAE9D8W,EAAAA,aAAa,EAAE,IAAA;EACjB,CAAC,CAAA;AAED,iBAAeH,MAAM;;ECvgBrB;EAUA;;AAEA,gBAAe;EACbzX,EAAAA,EAAE,EAAE,SAAS;IACbpC,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAY,EAAE;EACpBA,IAAAA,KAAK,CAAC6S,SAAS,CAAC6F,SAAO,CAAC,CAAA;EACxB1Y,IAAAA,KAAK,CAAC6S,SAAS,CAAC+G,QAAM,CAAC,CAAA;EACvB5Z,IAAAA,KAAK,CAAC6S,SAAS,CAACvS,MAAI,CAAC,CAAA;EACrBN,IAAAA,KAAK,CAAC6S,SAAS,CAACc,MAAI,CAAC,CAAA;EACvB,GAAA;EACF,CAAC;;ECtBD,IAAIyI,QAAQ,GAAG,CAAC,CAAA;EAChB,IAAIC,QAAqC,CAAA;EACzC,IAAInX,OAAmC,CAAA;EAEvC,SAASlH,IAAIA,CAACse,MAAkC,EAAE;IAChDD,QAAO,GAAGC,MAAM,CAACC,qBAAqB,CAAA;IACtCrX,OAAM,GAAGoX,MAAM,CAACE,oBAAoB,CAAA;IAEpC,IAAI,CAACH,QAAO,EAAE;MACZ,IAAMI,OAAO,GAAG,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,CAAC,CAAA;MAAA,KAAAnR,IAAAA,GAAA,MAAAA,GAAA,GAEvBmR,OAAO,CAAA5c,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAzB,MAAA,IAAMoR,MAAM,GAAID,OAAO,CAAAnR,GAAA,CAAX,CAAA;EACf+Q,MAAAA,QAAO,GAAGC,MAAM,CAAA,EAAA,CAAA1Q,MAAA,CAAI8Q,MAAM,EAAmD,uBAAA,CAAA,CAAA,CAAA;EAC7ExX,MAAAA,OAAM,GACJoX,MAAM,CAAA1Q,EAAAA,CAAAA,MAAA,CAAI8Q,MAAM,EAAiD,sBAAA,CAAA,CAAA,IACjEJ,MAAM,CAAA,EAAA,CAAA1Q,MAAA,CAAI8Q,MAAM,EAAwD,6BAAA,CAAA,CAAA,CAAA;EAC5E,KAAA;EACF,GAAA;IAEAL,QAAO,GAAGA,QAAO,IAAIA,QAAO,CAACM,IAAI,CAACL,MAAM,CAAC,CAAA;IACzCpX,OAAM,GAAGA,OAAM,IAAIA,OAAM,CAACyX,IAAI,CAACL,MAAM,CAAC,CAAA;IAEtC,IAAI,CAACD,QAAO,EAAE;EACZA,IAAAA,QAAO,GAAG,SAAAA,OAACO,CAAAA,QAAQ,EAAK;EACtB,MAAA,IAAMC,QAAQ,GAAGC,IAAI,CAACC,GAAG,EAAE,CAAA;EAC3B,MAAA,IAAMC,UAAU,GAAGlR,IAAI,CAACqB,GAAG,CAAC,CAAC,EAAE,EAAE,IAAI0P,QAAQ,GAAGT,QAAQ,CAAC,CAAC,CAAA;EAC1D,MAAA,IAAMa,KAAK,GAAGX,MAAM,CAACY,UAAU,CAAC,YAAM;EACpC;EACAN,QAAAA,QAAQ,CAACC,QAAQ,GAAGG,UAAU,CAAC,CAAA;SAChC,EAAEA,UAAU,CAAC,CAAA;QAEdZ,QAAQ,GAAGS,QAAQ,GAAGG,UAAU,CAAA;EAChC,MAAA,OAAOC,KAAK,CAAA;OACb,CAAA;MAED/X,OAAM,GAAG,SAAAA,MAAAA,CAAC+X,KAAK,EAAA;QAAA,OAAKE,YAAY,CAACF,KAAK,CAAC,CAAA;EAAA,KAAA,CAAA;EACzC,GAAA;EACF,CAAA;AAEA,YAAe;IACbZ,OAAO,EAAE,SAAAA,OAAAA,CAACO,QAA8B,EAAA;MAAA,OAAKP,QAAO,CAACO,QAAQ,CAAC,CAAA;EAAA,GAAA;IAC9D1X,MAAM,EAAE,SAAAA,MAAAA,CAAC+X,KAAa,EAAA;MAAA,OAAK/X,OAAM,CAAC+X,KAAK,CAAC,CAAA;EAAA,GAAA;EACxCjf,EAAAA,IAAI,EAAJA,IAAAA;EACF,CAAC;;ECND,SAAS+B,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQG,QAAQ,GAAcH,KAAK,CAA3BG,QAAQ;MAAEF,OAAO,GAAKD,KAAK,CAAjBC,OAAO,CAAA;IAEzBD,KAAK,CAACod,UAAU,GAAGA,UAAU,CAAA;IAC7BA,UAAU,CAACL,GAAG,GAAG,YAAA;EAAA,IAAA,OAAM/c,KAAK,CAAC+c,GAAG,EAAE,CAAA;EAAA,GAAA,CAAA;EAElC9c,EAAAA,OAAO,CAACoT,cAAc,CAACgK,UAAU,GAAG,IAAI,CAAA;EACxCld,EAAAA,QAAQ,CAACmd,SAAS,CAACF,UAAU,GAAGA,UAAU,CAACjd,QAAQ,CAAA;EACrD,CAAA;EAEA,IAAMid,UAAU,GAAG;EACjBjd,EAAAA,QAAQ,EAAE;EACR2B,IAAAA,OAAO,EAAE,KAAK;EACd0Y,IAAAA,MAAM,EAAE,EAAE;EAEV;EACA+C,IAAAA,SAAS,EAAE,IAAsC;EAEjD;EACAC,IAAAA,KAAK,EAAE,GAAA;KACa;IAEtBT,GAAG,EAAED,IAAI,CAACC,GAAG;EAEbpc,EAAAA,WAAW,EAAE,IAAsC;EACnDuF,EAAAA,CAAC,EAAE,CAAC;EAAE;;EAEN;EACA5E,EAAAA,CAAC,EAAE,CAAC;EACJJ,EAAAA,CAAC,EAAE,CAAC;EAEJuc,EAAAA,WAAW,EAAE,KAAK;EAClBC,EAAAA,QAAQ,EAAE,CAAC;EACXlD,EAAAA,MAAM,EAAE,CAAC;EACTgD,EAAAA,KAAK,EAAE,CAAC;IAERrc,KAAK,EAAA,SAAAA,KAACR,CAAAA,WAAwB,EAAE;MAC9Byc,UAAU,CAACK,WAAW,GAAG,IAAI,CAAA;EAC7BE,IAAAA,GAAG,CAACzY,MAAM,CAACkY,UAAU,CAAClX,CAAC,CAAC,CAAA;MAExBvF,WAAW,CAACyc,UAAU,GAAGA,UAAU,CAAA;MACnCA,UAAU,CAACzc,WAAW,GAAGA,WAAW,CAAA;EACpCyc,IAAAA,UAAU,CAACM,QAAQ,GAAGN,UAAU,CAACL,GAAG,EAAE,CAAA;MACtCK,UAAU,CAAClX,CAAC,GAAGyX,GAAG,CAACtB,OAAO,CAACe,UAAU,CAACrU,MAAM,CAAC,CAAA;KAC9C;IAED6U,IAAI,EAAA,SAAAA,OAAG;MACLR,UAAU,CAACK,WAAW,GAAG,KAAK,CAAA;MAC9B,IAAIL,UAAU,CAACzc,WAAW,EAAE;EAC1Byc,MAAAA,UAAU,CAACzc,WAAW,CAACyc,UAAU,GAAG,IAAI,CAAA;EAC1C,KAAA;EACAO,IAAAA,GAAG,CAACzY,MAAM,CAACkY,UAAU,CAAClX,CAAC,CAAC,CAAA;KACzB;EAED;IACA6C,MAAM,EAAA,SAAAA,SAAG;EACP,IAAA,IAAQpI,WAAW,GAAKyc,UAAU,CAA1Bzc,WAAW,CAAA;EACnB,IAAA,IAAQ4B,YAAY,GAAc5B,WAAW,CAArC4B,YAAY;QAAEnD,OAAO,GAAKuB,WAAW,CAAvBvB,OAAO,CAAA;EAC7B,IAAA,IAAMqL,UAAU,GAAG9J,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAA;MAC5C,IAAMe,OAAO,GAAGW,YAAY,CAACX,OAAO,CAAC6I,UAAU,CAAC,CAAC2S,UAAU,CAAA;MAC3D,IAAMG,SAAS,GAAGM,YAAY,CAACjc,OAAO,CAAC2b,SAAS,EAAEhb,YAAY,EAAEnD,OAAO,CAAC,CAAA;EACxE,IAAA,IAAM2d,GAAG,GAAGK,UAAU,CAACL,GAAG,EAAE,CAAA;EAC5B;MACA,IAAM7P,EAAE,GAAG,CAAC6P,GAAG,GAAGK,UAAU,CAACM,QAAQ,IAAI,IAAI,CAAA;EAC7C;EACA,IAAA,IAAMI,CAAC,GAAGlc,OAAO,CAAC4b,KAAK,GAAGtQ,EAAE,CAAA;MAE5B,IAAI4Q,CAAC,IAAI,CAAC,EAAE;EACV,MAAA,IAAMC,QAAQ,GAAG;EACfzc,QAAAA,CAAC,EAAE8b,UAAU,CAAC9b,CAAC,GAAGwc,CAAC;EACnB5c,QAAAA,CAAC,EAAEkc,UAAU,CAAClc,CAAC,GAAG4c,CAAAA;SACnB,CAAA;EAED,MAAA,IAAIC,QAAQ,CAACzc,CAAC,IAAIyc,QAAQ,CAAC7c,CAAC,EAAE;EAC5B,QAAA,IAAM8c,UAAU,GAAGC,SAAS,CAACV,SAAS,CAAC,CAAA;EAEvC,QAAA,IAAI1b,EAAE,CAAC5D,MAAM,CAACsf,SAAS,CAAC,EAAE;YACxBA,SAAS,CAACQ,QAAQ,CAACA,QAAQ,CAACzc,CAAC,EAAEyc,QAAQ,CAAC7c,CAAC,CAAC,CAAA;WAC3C,MAAM,IAAIqc,SAAS,EAAE;EACpBA,UAAAA,SAAS,CAACtV,UAAU,IAAI8V,QAAQ,CAACzc,CAAC,CAAA;EAClCic,UAAAA,SAAS,CAACpV,SAAS,IAAI4V,QAAQ,CAAC7c,CAAC,CAAA;EACnC,SAAA;EAEA,QAAA,IAAMgd,SAAS,GAAGD,SAAS,CAACV,SAAS,CAAC,CAAA;EACtC,QAAA,IAAM5b,KAAK,GAAG;EACZL,UAAAA,CAAC,EAAE4c,SAAS,CAAC5c,CAAC,GAAG0c,UAAU,CAAC1c,CAAC;EAC7BJ,UAAAA,CAAC,EAAEgd,SAAS,CAAChd,CAAC,GAAG8c,UAAU,CAAC9c,CAAAA;WAC7B,CAAA;EAED,QAAA,IAAIS,KAAK,CAACL,CAAC,IAAIK,KAAK,CAACT,CAAC,EAAE;YACtBqB,YAAY,CAACmQ,IAAI,CAAC;EAChB1P,YAAAA,IAAI,EAAE,YAAY;EAClB4G,YAAAA,MAAM,EAAExK,OAAO;EACfmD,YAAAA,YAAY,EAAZA,YAAY;EACZZ,YAAAA,KAAK,EAALA,KAAK;EACLhB,YAAAA,WAAW,EAAXA,WAAW;EACX4c,YAAAA,SAAS,EAATA,SAAAA;EACF,WAAC,CAAC,CAAA;EACJ,SAAA;EACF,OAAA;QAEAH,UAAU,CAACM,QAAQ,GAAGX,GAAG,CAAA;EAC3B,KAAA;MAEA,IAAIK,UAAU,CAACK,WAAW,EAAE;EAC1BE,MAAAA,GAAG,CAACzY,MAAM,CAACkY,UAAU,CAAClX,CAAC,CAAC,CAAA;QACxBkX,UAAU,CAAClX,CAAC,GAAGyX,GAAG,CAACtB,OAAO,CAACe,UAAU,CAACrU,MAAM,CAAC,CAAA;EAC/C,KAAA;KACD;EACDoV,EAAAA,KAAK,EAAAA,SAAAA,KAAAA,CAAC5b,YAA0B,EAAEkI,UAAsB,EAAE;EAAA,IAAA,IAAA2T,qBAAA,CAAA;EACxD,IAAA,IAAMxc,OAAO,GAAGW,YAAY,CAACX,OAAO,CAAA;MAEpC,OAAAwc,CAAAA,qBAAA,GAAOxc,OAAO,CAAC6I,UAAU,CAAC,CAAC2S,UAAU,KAAA,IAAA,GAAA,KAAA,CAAA,GAA9BgB,qBAAA,CAAgCtc,OAAO,CAAA;KAC/C;IACDuc,iBAAiB,EAAA,SAAAA,iBAAA3d,CAAAA,IAAA,EAMd;EAAA,IAAA,IALDC,WAAW,GAAAD,IAAA,CAAXC,WAAW;QACX2M,OAAO,GAAA5M,IAAA,CAAP4M,OAAO,CAAA;MAKP,IACE,EAAE3M,WAAW,CAAC2d,WAAW,EAAE,IAAIlB,UAAU,CAACe,KAAK,CAACxd,WAAW,CAAC4B,YAAY,EAAE5B,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAC,EACrG;EACA,MAAA,OAAA;EACF,KAAA;MAEA,IAAIF,WAAW,CAAC4d,UAAU,EAAE;EAC1BnB,MAAAA,UAAU,CAAC9b,CAAC,GAAG8b,UAAU,CAAClc,CAAC,GAAG,CAAC,CAAA;EAC/B,MAAA,OAAA;EACF,KAAA;EAEA,IAAA,IAAIwH,GAAY,CAAA;EAChB,IAAA,IAAID,KAAc,CAAA;EAClB,IAAA,IAAIE,MAAe,CAAA;EACnB,IAAA,IAAIH,IAAa,CAAA;EAEjB,IAAA,IAAQjG,YAAY,GAAc5B,WAAW,CAArC4B,YAAY;QAAEnD,OAAO,GAAKuB,WAAW,CAAvBvB,OAAO,CAAA;EAC7B,IAAA,IAAMqL,UAAU,GAAG9J,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAA;MAC5C,IAAMe,OAAO,GAAGW,YAAY,CAACX,OAAO,CAAC6I,UAAU,CAAC,CAAC2S,UAAU,CAAA;MAC3D,IAAMG,SAAS,GAAGM,YAAY,CAACjc,OAAO,CAAC2b,SAAS,EAAEhb,YAAY,EAAEnD,OAAO,CAAC,CAAA;EAExE,IAAA,IAAIyC,EAAE,CAAC5D,MAAM,CAACsf,SAAS,CAAC,EAAE;EACxB/U,MAAAA,IAAI,GAAG8E,OAAO,CAACmB,OAAO,GAAG2O,UAAU,CAAC5C,MAAM,CAAA;EAC1C9R,MAAAA,GAAG,GAAG4E,OAAO,CAACoB,OAAO,GAAG0O,UAAU,CAAC5C,MAAM,CAAA;QACzC/R,KAAK,GAAG6E,OAAO,CAACmB,OAAO,GAAG8O,SAAS,CAACiB,UAAU,GAAGpB,UAAU,CAAC5C,MAAM,CAAA;QAClE7R,MAAM,GAAG2E,OAAO,CAACoB,OAAO,GAAG6O,SAAS,CAACkB,WAAW,GAAGrB,UAAU,CAAC5C,MAAM,CAAA;EACtE,KAAC,MAAM;EACL,MAAA,IAAMrQ,IAAI,GAAG8F,oBAA6B,CAACsN,SAAS,CAAC,CAAA;QAErD/U,IAAI,GAAG8E,OAAO,CAACmB,OAAO,GAAGtE,IAAI,CAAC3B,IAAI,GAAG4U,UAAU,CAAC5C,MAAM,CAAA;QACtD9R,GAAG,GAAG4E,OAAO,CAACoB,OAAO,GAAGvE,IAAI,CAACzB,GAAG,GAAG0U,UAAU,CAAC5C,MAAM,CAAA;QACpD/R,KAAK,GAAG6E,OAAO,CAACmB,OAAO,GAAGtE,IAAI,CAAC1B,KAAK,GAAG2U,UAAU,CAAC5C,MAAM,CAAA;QACxD7R,MAAM,GAAG2E,OAAO,CAACoB,OAAO,GAAGvE,IAAI,CAACxB,MAAM,GAAGyU,UAAU,CAAC5C,MAAM,CAAA;EAC5D,KAAA;EAEA4C,IAAAA,UAAU,CAAC9b,CAAC,GAAGmH,KAAK,GAAG,CAAC,GAAGD,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;EACxC4U,IAAAA,UAAU,CAAClc,CAAC,GAAGyH,MAAM,GAAG,CAAC,GAAGD,GAAG,GAAG,CAAC,CAAC,GAAG,CAAC,CAAA;EAExC,IAAA,IAAI,CAAC0U,UAAU,CAACK,WAAW,EAAE;EAC3B;EACAL,MAAAA,UAAU,CAAC5C,MAAM,GAAG5Y,OAAO,CAAC4Y,MAAM,CAAA;EAClC4C,MAAAA,UAAU,CAACI,KAAK,GAAG5b,OAAO,CAAC4b,KAAK,CAAA;EAEhCJ,MAAAA,UAAU,CAACjc,KAAK,CAACR,WAAW,CAAC,CAAA;EAC/B,KAAA;EACF,GAAA;EACF,CAAC,CAAA;EAEM,SAASkd,YAAYA,CAACzU,KAAU,EAAE7G,YAA0B,EAAEnD,OAAgB,EAAE;IACrF,OACE,CAACyC,EAAE,CAAC1C,MAAM,CAACiK,KAAK,CAAC,GAAGO,qBAAqB,CAACP,KAAK,EAAE7G,YAAY,EAAEnD,OAAO,CAAC,GAAGgK,KAAK,KAAK7K,SAAS,CAACa,OAAO,CAAC,CAAA;EAE1G,CAAA;EAEO,SAAS6e,SAASA,CAACV,SAAc,EAAE;EACxC,EAAA,IAAI1b,EAAE,CAAC5D,MAAM,CAACsf,SAAS,CAAC,EAAE;EACxBA,IAAAA,SAAS,GAAGtf,MAAM,CAACE,QAAQ,CAACugB,IAAI,CAAA;EAClC,GAAA;IAEA,OAAO;MAAEpd,CAAC,EAAEic,SAAS,CAACtV,UAAU;MAAE/G,CAAC,EAAEqc,SAAS,CAACpV,SAAAA;KAAW,CAAA;EAC5D,CAAA;EAuCA,IAAMwW,gBAAwB,GAAG;EAC/Bxc,EAAAA,EAAE,EAAE,aAAa;EACjBpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAxD,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBvV,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;QAChCA,WAAW,CAACyc,UAAU,GAAG,IAAI,CAAA;OAC9B;EAED,IAAA,sBAAsB,EAAE,SAAAwB,mBAAA3G,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBtX,WAAW,GAAAsX,KAAA,CAAXtX,WAAW,CAAA;QACpCA,WAAW,CAACyc,UAAU,GAAG,IAAI,CAAA;QAC7BA,UAAU,CAACQ,IAAI,EAAE,CAAA;QACjB,IAAIR,UAAU,CAACzc,WAAW,EAAE;UAC1Byc,UAAU,CAACzc,WAAW,GAAG,IAAI,CAAA;EAC/B,OAAA;OACD;MAED,mBAAmB,EAAEyc,UAAU,CAACQ,IAAI;MAEpC,0BAA0B,EAAE,SAAA5B,sBAAAA,CAAC1Z,GAAQ,EAAA;EAAA,MAAA,OAAK8a,UAAU,CAACiB,iBAAiB,CAAC/b,GAAG,CAAC,CAAA;EAAA,KAAA;EAC7E,GAAA;EACF,CAAC,CAAA;AAED,qBAAeqc,gBAAgB;;ECnRxB,SAASE,QAAQA,CAAaC,MAA+B,EAAEC,OAAe,EAAE;IACrF,IAAIC,MAAM,GAAG,KAAK,CAAA;EAElB,EAAA,OAAO,YAAmB;MACxB,IAAI,CAACA,MAAM,EAAE;EACT/gB,MAAAA,GAAM,CAASghB,OAAO,CAACC,IAAI,CAACH,OAAO,CAAC,CAAA;EACtCC,MAAAA,MAAM,GAAG,IAAI,CAAA;EACf,KAAA;EAEA,IAAA,OAAOF,MAAM,CAAC7U,KAAK,CAAC,IAAI,EAAEe,SAAS,CAAC,CAAA;KACrC,CAAA;EACH,CAAA;EAEO,SAASmU,UAAUA,CAAuB5V,IAAsB,EAAEqD,GAAmB,EAAE;EAC5FrD,EAAAA,IAAI,CAAC1I,IAAI,GAAG+L,GAAG,CAAC/L,IAAI,CAAA;EACpB0I,EAAAA,IAAI,CAACzI,IAAI,GAAG8L,GAAG,CAAC9L,IAAI,CAAA;EACpByI,EAAAA,IAAI,CAACgB,KAAK,GAAGqC,GAAG,CAACrC,KAAK,CAAA;EAEtB,EAAA,OAAOhB,IAAI,CAAA;EACb;;ECgGA,SAASxJ,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IACEE,YAAY,GACVF,KAAK,CADPE,YAAY,CAAA;EAGdA,EAAAA,YAAY,CAACE,SAAS,CAACgf,SAAS,GAAG,SAASA,SAASA,CAEnD9R,OAAoB,EACpBa,KAAuB,EACvBxN,WAAwB,EACxBvB,OAAgB,EACH;EACb,IAAA,IAAMyD,MAAM,GAAGwc,oBAAoB,CAAC,IAAI,EAAElR,KAAK,EAAExN,WAAW,EAAEvB,OAAO,EAAEY,KAAK,CAAC,CAAA;EAE7E,IAAA,IAAI,IAAI,CAAC4B,OAAO,CAAC0d,aAAa,EAAE;EAC9B,MAAA,OAAO,IAAI,CAAC1d,OAAO,CAAC0d,aAAa,CAAChS,OAAO,EAAEa,KAAK,EAAEtL,MAAM,EAAE,IAAI,EAAEzD,OAAO,EAAEuB,WAAW,CAAC,CAAA;EACvF,KAAA;EAEA,IAAA,OAAOkC,MAAM,CAAA;KACd,CAAA;IAED3C,YAAY,CAACE,SAAS,CAACmf,UAAU,GAAGV,QAAQ,CAAC,UAA8BzL,QAAQ,EAAE;EACnF,IAAA,OAAO,IAAI,CAACoM,iBAAiB,CAAC,YAAY,EAAEpM,QAAQ,CAAC,CAAA;KACtD,EAAE,mGAAmG,CAAC,CAAA;IAEvGlT,YAAY,CAACE,SAAS,CAACqf,SAAS,GAAGZ,QAAQ,CAAC,UAA8BzL,QAAQ,EAAE;EAClF,IAAA,OAAO,IAAI,CAACoM,iBAAiB,CAAC,WAAW,EAAEpM,QAAQ,CAAC,CAAA;KACrD,EAAE,iGAAiG,CAAC,CAAA;EAErGlT,EAAAA,YAAY,CAACE,SAAS,CAACkf,aAAa,GAAGA,aAAa,CAAA;EAEpDpf,EAAAA,YAAY,CAACE,SAAS,CAACsf,WAAW,GAAGA,WAAW,CAAA;EAClD,CAAA;EAEA,SAASL,oBAAoBA,CAC3B9c,YAA0B,EAC1B4L,KAAuB,EACvBxN,WAAwB,EACxBvB,OAAgB,EAChBY,KAAY,EACZ;EACA,EAAA,IAAMmK,IAAI,GAAG5H,YAAY,CAACsH,OAAO,CAACzK,OAAO,CAAC,CAAA;EAC1C,EAAA,IAAMoD,OAAO,GACV2L,KAAK,CAAgB3L,OAAO,IAC7B;EACE,IAAA,CAAC,EAAE,CAAC;EACJ,IAAA,CAAC,EAAE,CAAC;EACJ,IAAA,CAAC,EAAE,CAAC;EACJ,IAAA,CAAC,EAAE,EAAA;EACL,GAAC,CAAE2L,KAAK,CAAgBwR,MAAM,CAAkB,CAAA;EAClD,EAAA,IAAMrd,GAAG,GAAG;EACVO,IAAAA,MAAM,EAAE,IAAI;EACZN,IAAAA,YAAY,EAAZA,YAAY;EACZ5B,IAAAA,WAAW,EAAXA,WAAW;EACXvB,IAAAA,OAAO,EAAPA,OAAO;EACP+K,IAAAA,IAAI,EAAJA,IAAI;EACJ3H,IAAAA,OAAO,EAAPA,OAAAA;KACD,CAAA;EAEDxC,EAAAA,KAAK,CAAC0S,IAAI,CAAC,kBAAkB,EAAEpQ,GAAG,CAAC,CAAA;IAEnC,OAAOA,GAAG,CAACO,MAAM,CAAA;EACnB,CAAA;EAEA,SAAS6c,WAAWA,CAAqBtM,QAAkB,EAAE;EAC3D,EAAA,IAAIvR,EAAE,CAAC3C,IAAI,CAACkU,QAAQ,CAAC,EAAE;EACrB,IAAA,IAAI,CAACxR,OAAO,CAAC8d,WAAW,GAAGtM,QAAQ,CAAA;EAEnC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;IAEA,IAAIA,QAAQ,KAAK,IAAI,EAAE;EACrB,IAAA,OAAO,IAAI,CAACxR,OAAO,CAAC8d,WAAW,CAAA;EAE/B,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,OAAO,IAAI,CAAC9d,OAAO,CAAC8d,WAAW,CAAA;EACjC,CAAA;EAEA,SAASJ,aAAaA,CAAqBjI,OAAa,EAAE;EACxD,EAAA,IAAIxV,EAAE,CAAC7C,IAAI,CAACqY,OAAO,CAAC,EAAE;EACpB,IAAA,IAAI,CAACzV,OAAO,CAAC0d,aAAa,GAAGjI,OAAO,CAAA;EAEpC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;IAEA,IAAIA,OAAO,KAAK,IAAI,EAAE;EACpB,IAAA,OAAO,IAAI,CAACzV,OAAO,CAAC0d,aAAa,CAAA;EAEjC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,OAAO,IAAI,CAAC1d,OAAO,CAAC0d,aAAa,CAAA;EACnC,CAAA;AAEA,4BAAe;EACbnd,EAAAA,EAAE,EAAE,gCAAgC;EACpCpC,EAAAA,OAAO,EAAPA,SAAAA;EACF,CAAC;;ECvMD;;EAoEA,SAASA,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAwB2S,QAAQ,GAAe3S,KAAK,CAA5C4S,cAAc;MAAYzS,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAE1CH,EAAAA,KAAK,CAAC6S,SAAS,CAAC+M,mBAAmB,CAAC,CAAA;EAEpCzf,EAAAA,QAAQ,CAAC0f,IAAI,CAACP,aAAa,GAAG,IAAI,CAAA;EAClCnf,EAAAA,QAAQ,CAAC0f,IAAI,CAACH,WAAW,GAAG,IAAI,CAAA;EAEhCpW,EAAAA,MAAM,CAACnJ,QAAQ,CAACmd,SAAS,EAAE;EACzBwC,IAAAA,WAAW,EAAE,KAAK;EAClB3S,IAAAA,GAAG,EAAEoM,QAAQ;EACbwG,IAAAA,aAAa,EAAE,CAAC;EAChBN,IAAAA,SAAS,EAAE,IAAI;EACfF,IAAAA,UAAU,EAAE,IAAI;EAEhB;EACA;EACA3c,IAAAA,YAAY,EAAE,CAAA;EAChB,GAAC,CAAC,CAAA;EAEF+P,EAAAA,QAAQ,CAACqN,eAAe,GAAG,UAAC5M,QAAgB,EAAA;EAAA,IAAA,OAAK4M,eAAe,CAAC5M,QAAQ,EAAEpT,KAAK,CAAC,CAAA;EAAA,GAAA,CAAA;IAEjFA,KAAK,CAACigB,SAAS,GAAG;EAChB;EACAD,IAAAA,eAAe,EAAEzG,QAAQ;EACzB2G,IAAAA,sBAAsB,EAAtBA,sBAAsB;EACtBC,IAAAA,aAAa,EAAE,IAAA;KAChB,CAAA;EACH,CAAA;EAEA,SAASC,aAAaA,CAAA1f,IAAA,EAEpBV,KAAY,EACZ;EAAA,EAAA,IAFEW,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAE2M,OAAO,GAAA5M,IAAA,CAAP4M,OAAO;MAAEa,KAAK,GAAAzN,IAAA,CAALyN,KAAK;MAAEoM,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW,CAAA;EAG1C,EAAA,IAAI5Z,WAAW,CAAC2d,WAAW,EAAE,EAAE,OAAA;EAE/B,EAAA,IAAM+B,UAAU,GAAGC,aAAa,CAAC3f,WAAW,EAAE2M,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAEva,KAAK,CAAC,CAAA;EACjFugB,EAAAA,OAAO,CAAC5f,WAAW,EAAE0f,UAAU,EAAErgB,KAAK,CAAC,CAAA;EACzC,CAAA;EAEA,SAASwgB,aAAaA,CAAAhf,KAAA,EAEpBxB,KAAY,EACZ;EAAA,EAAA,IAFEW,WAAW,GAAAa,KAAA,CAAXb,WAAW;MAAE2M,OAAO,GAAA9L,KAAA,CAAP8L,OAAO;MAAEa,KAAK,GAAA3M,KAAA,CAAL2M,KAAK;MAAEoM,WAAW,GAAA/Y,KAAA,CAAX+Y,WAAW,CAAA;EAG1C,EAAA,IAAI5Z,WAAW,CAACgC,WAAW,KAAK,OAAO,IAAIhC,WAAW,CAAC+B,aAAa,IAAI/B,WAAW,CAAC2d,WAAW,EAAE,EAAE,OAAA;EAEnG,EAAA,IAAM+B,UAAU,GAAGC,aAAa,CAAC3f,WAAW,EAAE2M,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAava,KAAK,CAAC,CAAA;EAC5FugB,EAAAA,OAAO,CAAC5f,WAAW,EAAE0f,UAAU,EAAErgB,KAAK,CAAC,CAAA;EACzC,CAAA;EAEA,SAASygB,WAAWA,CAACne,GAAoC,EAAEtC,KAAY,EAAE;EACvE,EAAA,IAAQW,WAAW,GAAK2B,GAAG,CAAnB3B,WAAW,CAAA;IAEnB,IACE,CAACA,WAAW,CAAC+B,aAAa,IAC1B/B,WAAW,CAAC2d,WAAW,EAAE,IACzB,CAAC3d,WAAW,CAAC+f,eAAe,IAC5B,CAAC/f,WAAW,CAACC,QAAQ,CAACC,IAAI,EAC1B;EACA,IAAA,OAAA;EACF,GAAA;EAEAb,EAAAA,KAAK,CAAC0S,IAAI,CAAC,wBAAwB,EAAEpQ,GAAG,CAAC,CAAA;EAEzC,EAAA,IAAQC,YAAY,GAAK5B,WAAW,CAA5B4B,YAAY,CAAA;EACpB,EAAA,IAAMkI,UAAU,GAAI9J,WAAW,CAA6BC,QAAQ,CAACC,IAAI,CAAA;IAEzE,IAAI4J,UAAU,IAAIlI,YAAY,EAAE;EAC9B;MACA,IACEA,YAAY,CAACX,OAAO,CAAC6I,UAAU,CAAC,CAACqV,WAAW,IAC5C,CAACI,sBAAsB,CAAC3d,YAAY,EAAE5B,WAAW,CAACvB,OAAO,EAAEuB,WAAW,CAACC,QAAQ,EAAEZ,KAAK,CAAC,EACvF;QACAW,WAAW,CAACid,IAAI,EAAE,CAAA;EACpB,KAAC,MAAM;EACLjd,MAAAA,WAAW,CAACQ,KAAK,CAACR,WAAW,CAACC,QAAQ,EAAE2B,YAAY,EAAE5B,WAAW,CAACvB,OAAO,CAAC,CAAA;EAC1EuhB,MAAAA,oBAAoB,CAAChgB,WAAW,EAAEX,KAAK,CAAC,CAAA;EAC1C,KAAA;EACF,GAAA;EACF,CAAA;EAEA,SAAS4gB,iBAAiBA,CAAA1K,KAAA,EAAgDlW,KAAY,EAAE;EAAA,EAAA,IAA3DW,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;EACtC,EAAA,IAAQ4B,YAAY,GAAK5B,WAAW,CAA5B4B,YAAY,CAAA;EAEpB,EAAA,IAAIA,YAAY,IAAIA,YAAY,CAACX,OAAO,CAAC8d,WAAW,EAAE;MACpDmB,SAAS,CAAClgB,WAAW,CAACvB,OAAO,EAAE,EAAE,EAAEY,KAAK,CAAC,CAAA;EAC3C,GAAA;EACF,CAAA;;EAEA;EACA;EACA,SAAS8gB,cAAcA,CACrBje,MAAsB,EACtBN,YAA0B,EAC1BnD,OAAgB,EAChBmb,WAAiB,EACjBva,KAAY,EACZ;EACA,EAAA,IACEuC,YAAY,CAACwe,eAAe,CAACxe,YAAY,CAACX,OAAO,CAACiB,MAAM,CAAChC,IAAI,CAAC,EAAEzB,OAAO,EAAEmb,WAAW,CAAC,IACrFhY,YAAY,CAACX,OAAO,CAACiB,MAAM,CAAChC,IAAI,CAAC,CAACiB,OAAO,IACzCoe,sBAAsB,CAAC3d,YAAY,EAAEnD,OAAO,EAAEyD,MAAM,EAAE7C,KAAK,CAAC,EAC5D;EACA,IAAA,OAAO6C,MAAM,CAAA;EACf,GAAA;EAEA,EAAA,OAAO,IAAI,CAAA;EACb,CAAA;EAEA,SAASme,eAAeA,CACtBrgB,WAAwB,EACxB2M,OAAoB,EACpBa,KAAuB,EACvB8S,OAAuB,EACvBC,aAAwB,EACxB3G,WAAiB,EACjBva,KAAY,EACZ;EACA,EAAA,KAAK,IAAIkG,CAAC,GAAG,CAAC,EAAEib,GAAG,GAAGF,OAAO,CAACphB,MAAM,EAAEqG,CAAC,GAAGib,GAAG,EAAEjb,CAAC,EAAE,EAAE;EAClD,IAAA,IAAMkb,KAAK,GAAGH,OAAO,CAAC/a,CAAC,CAAC,CAAA;EACxB,IAAA,IAAMmb,YAAY,GAAGH,aAAa,CAAChb,CAAC,CAAC,CAAA;EACrC,IAAA,IAAMob,WAAW,GAAGF,KAAK,CAAChC,SAAS,CAAC9R,OAAO,EAAEa,KAAK,EAAExN,WAAW,EAAE0gB,YAAY,CAAC,CAAA;MAE9E,IAAI,CAACC,WAAW,EAAE;EAChB,MAAA,SAAA;EACF,KAAA;EAEA,IAAA,IAAMze,MAAM,GAAGie,cAAc,CAAaQ,WAAW,EAAEF,KAAK,EAAEC,YAAY,EAAE9G,WAAW,EAAEva,KAAK,CAAC,CAAA;EAE/F,IAAA,IAAI6C,MAAM,EAAE;QACV,OAAO;EACLA,QAAAA,MAAM,EAANA,MAAM;EACNN,QAAAA,YAAY,EAAE6e,KAAK;EACnBhiB,QAAAA,OAAO,EAAEiiB,YAAAA;SACV,CAAA;EACH,KAAA;EACF,GAAA;IAEA,OAAO;EAAExe,IAAAA,MAAM,EAAE,IAAI;EAAEN,IAAAA,YAAY,EAAE,IAAI;EAAEnD,IAAAA,OAAO,EAAE,IAAA;KAAM,CAAA;EAC5D,CAAA;EAEA,SAASkhB,aAAaA,CACpB3f,WAAwB,EACxB2M,OAAoB,EACpBa,KAAuB,EACvBoM,WAAiB,EACjBva,KAAY,EACZ;IACA,IAAIihB,OAAuB,GAAG,EAAE,CAAA;IAChC,IAAIC,aAAwB,GAAG,EAAE,CAAA;IAEjC,IAAI9hB,OAAO,GAAGmb,WAAsB,CAAA;IAEpC,SAASgH,WAAWA,CAAChf,YAA0B,EAAE;EAC/C0e,IAAAA,OAAO,CAAC/X,IAAI,CAAC3G,YAAY,CAAC,CAAA;EAC1B2e,IAAAA,aAAa,CAAChY,IAAI,CAAC9J,OAAO,CAAC,CAAA;EAC7B,GAAA;EAEA,EAAA,OAAOyC,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EAC1B6hB,IAAAA,OAAO,GAAG,EAAE,CAAA;EACZC,IAAAA,aAAa,GAAG,EAAE,CAAA;MAElBlhB,KAAK,CAAC6T,aAAa,CAAC2N,YAAY,CAACpiB,OAAO,EAAEmiB,WAAW,CAAC,CAAA;EAEtD,IAAA,IAAMlB,UAAU,GAAGW,eAAe,CAChCrgB,WAAW,EACX2M,OAAO,EACPa,KAAK,EACL8S,OAAO,EACPC,aAAa,EACb3G,WAAW,EACXva,KACF,CAAC,CAAA;EAED,IAAA,IAAIqgB,UAAU,CAACxd,MAAM,IAAI,CAACwd,UAAU,CAAC9d,YAAY,CAACX,OAAO,CAACye,UAAU,CAACxd,MAAM,CAAChC,IAAI,CAAC,CAACif,WAAW,EAAE;EAC7F,MAAA,OAAOO,UAAU,CAAA;EACnB,KAAA;EAEAjhB,IAAAA,OAAO,GAAG6Q,UAAmB,CAAC7Q,OAAO,CAAY,CAAA;EACnD,GAAA;IAEA,OAAO;EAAEyD,IAAAA,MAAM,EAAE,IAAI;EAAEN,IAAAA,YAAY,EAAE,IAAI;EAAEnD,IAAAA,OAAO,EAAE,IAAA;KAAM,CAAA;EAC5D,CAAA;EAEA,SAASmhB,OAAOA,CACd5f,WAAwB,EAAAsX,KAAA,EAUxBjY,KAAY,EACZ;EAAA,EAAA,IATE6C,MAAM,GAAAoV,KAAA,CAANpV,MAAM;MACNN,YAAY,GAAA0V,KAAA,CAAZ1V,YAAY;MACZnD,OAAO,GAAA6Y,KAAA,CAAP7Y,OAAO,CAAA;IAQTyD,MAAM,GAAGA,MAAM,IAAI;EAAEhC,IAAAA,IAAI,EAAE,IAAA;KAAM,CAAA;IAEjCF,WAAW,CAAC4B,YAAY,GAAGA,YAAY,CAAA;IACvC5B,WAAW,CAACvB,OAAO,GAAGA,OAAO,CAAA;EAC7B+f,EAAAA,UAAU,CAACxe,WAAW,CAACC,QAAQ,EAAEiC,MAAM,CAAC,CAAA;EAExClC,EAAAA,WAAW,CAACwJ,IAAI,GAAG5H,YAAY,IAAIM,MAAM,CAAChC,IAAI,GAAG0B,YAAY,CAACsH,OAAO,CAACzK,OAAO,CAAC,GAAG,IAAI,CAAA;EAErFuhB,EAAAA,oBAAoB,CAAChgB,WAAW,EAAEX,KAAK,CAAC,CAAA;EAExCA,EAAAA,KAAK,CAAC0S,IAAI,CAAC,oBAAoB,EAAE;EAAE/R,IAAAA,WAAW,EAAXA,WAAAA;EAAY,GAAC,CAAC,CAAA;EACnD,CAAA;EAEA,SAASuf,sBAAsBA,CAC7B3d,YAA0B,EAC1BnD,OAAgB,EAChByD,MAAsB,EACtB7C,KAAY,EACZ;EACA,EAAA,IAAM4B,OAAO,GAAGW,YAAY,CAACX,OAAO,CAAA;IACpC,IAAM6f,UAAU,GAAG7f,OAAO,CAACiB,MAAM,CAAChC,IAAI,CAAC,CAACsM,GAAG,CAAA;IAC3C,IAAM4S,aAAa,GAAGne,OAAO,CAACiB,MAAM,CAAChC,IAAI,CAAC,CAACkf,aAAa,CAAA;EACxD,EAAA,IAAM2B,YAAY,GAAG1hB,KAAK,CAACigB,SAAS,CAACD,eAAe,CAAA;IACpD,IAAI2B,kBAAkB,GAAG,CAAC,CAAA;IAC1B,IAAIC,iBAAiB,GAAG,CAAC,CAAA;IACzB,IAAIC,YAAY,GAAG,CAAC,CAAA;;EAEpB;EACA,EAAA,IAAI,EAAEJ,UAAU,IAAI1B,aAAa,IAAI2B,YAAY,CAAC,EAAE;EAClD,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;EAAC,EAAA,KAAA,IAAApW,GAAA,GAAAwW,CAAAA,EAAAA,sBAAA,GAEyB9hB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAA1I,GAAA,GAAAwW,sBAAA,CAAAjiB,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA9C,IAAA,IAAM3K,WAAW,GAAAmhB,sBAAA,CAAAxW,GAAA,CAAA,CAAA;EACpB,IAAA,IAAM0W,WAAW,GAAGrhB,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAA;EAE7C,IAAA,IAAI,CAACF,WAAW,CAAC2d,WAAW,EAAE,EAAE;EAC9B,MAAA,SAAA;EACF,KAAA;EAEAqD,IAAAA,kBAAkB,EAAE,CAAA;MAEpB,IAAIA,kBAAkB,IAAID,YAAY,EAAE;EACtC,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;EAEA,IAAA,IAAI/gB,WAAW,CAAC4B,YAAY,KAAKA,YAAY,EAAE;EAC7C,MAAA,SAAA;EACF,KAAA;MAEAqf,iBAAiB,IAAII,WAAW,KAAKnf,MAAM,CAAChC,IAAI,GAAG,CAAC,GAAG,CAAC,CAAA;MAExD,IAAI+gB,iBAAiB,IAAIH,UAAU,EAAE;EACnC,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;EAEA,IAAA,IAAI9gB,WAAW,CAACvB,OAAO,KAAKA,OAAO,EAAE;EACnCyiB,MAAAA,YAAY,EAAE,CAAA;QAEd,IAAIG,WAAW,KAAKnf,MAAM,CAAChC,IAAI,IAAIghB,YAAY,IAAI9B,aAAa,EAAE;EAChE,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EACF,KAAA;EACF,GAAA;IAEA,OAAO2B,YAAY,GAAG,CAAC,CAAA;EACzB,CAAA;EAEA,SAAS1B,eAAeA,CAAC5M,QAAa,EAAEpT,KAAY,EAAE;EACpD,EAAA,IAAI6B,EAAE,CAAC5C,MAAM,CAACmU,QAAQ,CAAC,EAAE;EACvBpT,IAAAA,KAAK,CAACigB,SAAS,CAACD,eAAe,GAAG5M,QAAQ,CAAA;EAE1C,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,OAAOpT,KAAK,CAACigB,SAAS,CAACD,eAAe,CAAA;EACxC,CAAA;EAEA,SAASa,SAASA,CAACzhB,OAAgB,EAAE6iB,MAAc,EAAEjiB,KAAY,EAAE;EACjE,EAAA,IAAuBkiB,iBAAiB,GAAKliB,KAAK,CAACigB,SAAS,CAApDE,aAAa,CAAA;EAErB,EAAA,IAAI+B,iBAAiB,IAAIA,iBAAiB,KAAK9iB,OAAO,EAAE;EACtD8iB,IAAAA,iBAAiB,CAACC,KAAK,CAACF,MAAM,GAAG,EAAE,CAAA;EACrC,GAAA;IAEA7iB,OAAO,CAACf,aAAa,CAAC2J,eAAe,CAACma,KAAK,CAACF,MAAM,GAAGA,MAAM,CAAA;EAC3D7iB,EAAAA,OAAO,CAAC+iB,KAAK,CAACF,MAAM,GAAGA,MAAM,CAAA;IAC7BjiB,KAAK,CAACigB,SAAS,CAACE,aAAa,GAAG8B,MAAM,GAAG7iB,OAAO,GAAG,IAAI,CAAA;EACzD,CAAA;EAEA,SAASuhB,oBAAoBA,CAAuBhgB,WAA2B,EAAEX,KAAY,EAAE;EAC7F,EAAA,IAAQuC,YAAY,GAAwB5B,WAAW,CAA/C4B,YAAY;MAAEnD,OAAO,GAAeuB,WAAW,CAAjCvB,OAAO;MAAEwB,QAAQ,GAAKD,WAAW,CAAxBC,QAAQ,CAAA;EAEvC,EAAA,IAAI,EAAED,WAAW,CAACgC,WAAW,KAAK,OAAO,IAAIJ,YAAY,IAAIA,YAAY,CAACX,OAAO,CAAC8d,WAAW,CAAC,EAAE;EAC9F;EACA,IAAA,IAAI1f,KAAK,CAACigB,SAAS,CAACE,aAAa,EAAE;QACjCU,SAAS,CAAC7gB,KAAK,CAACigB,SAAS,CAACE,aAAa,EAAE,EAAE,EAAEngB,KAAK,CAAC,CAAA;EACrD,KAAA;EAEA,IAAA,OAAA;EACF,GAAA;IAEA,IAAIiiB,MAAM,GAAG,EAAE,CAAA;IAEf,IAAIrhB,QAAQ,CAACC,IAAI,EAAE;MACjB,IAAMuhB,aAAa,GAAG7f,YAAY,CAACX,OAAO,CAAChB,QAAQ,CAACC,IAAI,CAAC,CAACuhB,aAAa,CAAA;EAEvE,IAAA,IAAIvgB,EAAE,CAAC7C,IAAI,CAACojB,aAAa,CAAC,EAAE;EAC1BH,MAAAA,MAAM,GAAGG,aAAa,CAACxhB,QAAQ,EAAE2B,YAAY,EAAEnD,OAAO,EAAEuB,WAAW,CAAC0hB,YAAY,CAAC,CAAA;EACnF,KAAC,MAAM;EACLJ,MAAAA,MAAM,GAAGjiB,KAAK,CAACC,OAAO,CAACM,GAAG,CAACK,QAAQ,CAACC,IAAI,CAAC,CAACiC,SAAS,CAAClC,QAAQ,CAAC,CAAA;EAC/D,KAAA;EACF,GAAA;IAEAigB,SAAS,CAAClgB,WAAW,CAACvB,OAAO,EAAE6iB,MAAM,IAAI,EAAE,EAAEjiB,KAAK,CAAC,CAAA;EACrD,CAAA;EAEA,IAAMigB,WAAiB,GAAG;EACxB9d,EAAAA,EAAE,EAAE,iBAAiB;IACrBsX,MAAM,EAAE,CAAC,SAAS,CAAC;EACnB1Z,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,mBAAmB,EAAEge,aAAa;EAClC,IAAA,mBAAmB,EAAE,SAAAkC,gBAAAA,CAAChgB,GAAG,EAAEtC,KAAK,EAAK;EACnCwgB,MAAAA,aAAa,CAACle,GAAG,EAAEtC,KAAK,CAAC,CAAA;EACzBygB,MAAAA,WAAW,CAACne,GAAG,EAAEtC,KAAK,CAAC,CAAA;OACxB;EACD,IAAA,mBAAmB,EAAE4gB,iBAAAA;KACtB;EACDZ,EAAAA,eAAe,EAAfA,eAAe;EACfE,EAAAA,sBAAsB,EAAtBA,sBAAsB;EACtBY,EAAAA,cAAc,EAAdA,cAAAA;EACF,CAAC,CAAA;AAED,oBAAeb,WAAS;;ECxZxB,SAASsC,WAAWA,CAAA7hB,IAAA,EAAwEV,KAAY,EAAE;EAAA,EAAA,IAAnFW,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAE4Z,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW;MAAEhL,EAAE,GAAA7O,IAAA,CAAF6O,EAAE;MAAEC,EAAE,GAAA9O,IAAA,CAAF8O,EAAE,CAAA;EACrD,EAAA,IAAI7O,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,MAAM,EAAE,OAAA;;EAE1C;EACA,EAAA,IAAM2hB,IAAI,GAAG1W,IAAI,CAAC+O,GAAG,CAACtL,EAAE,CAAC,CAAA;EACzB,EAAA,IAAMkT,IAAI,GAAG3W,IAAI,CAAC+O,GAAG,CAACrL,EAAE,CAAC,CAAA;IACzB,IAAMkT,aAAa,GAAG/hB,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAACtB,IAAI,CAAA;EAC3D,EAAA,IAAM4B,SAAS,GAAGwgB,aAAa,CAACxgB,SAAS,CAAA;EACzC,EAAA,IAAMygB,WAAW,GAAGH,IAAI,GAAGC,IAAI,GAAG,GAAG,GAAGD,IAAI,GAAGC,IAAI,GAAG,GAAG,GAAG,IAAI,CAAA;EAEhE9hB,EAAAA,WAAW,CAACC,QAAQ,CAACE,IAAI,GACvB4hB,aAAa,CAACzgB,QAAQ,KAAK,OAAO,GAC7B0gB,WAAW,CAAC,CAAC,CAAC;MACfD,aAAa,CAACzgB,QAAQ,CAAA;;EAE5B;IACA,IAAI0gB,WAAW,KAAK,IAAI,IAAIzgB,SAAS,KAAK,IAAI,IAAIA,SAAS,KAAKygB,WAAW,EAAE;EAEzEhiB,IAAAA,WAAW,CAA6BC,QAAQ,CAACC,IAAI,GAAG,IAAI,CAAA;;EAE9D;MACA,IAAIzB,OAAO,GAAGmb,WAAsB,CAAA;EAEpC,IAAA,IAAMqI,YAAY,GAAG,SAAfA,YAAYA,CAAargB,YAA0B,EAAuB;EAC9E,MAAA,IAAIA,YAAY,KAAK5B,WAAW,CAAC4B,YAAY,EAAE,OAAA;QAE/C,IAAMX,OAAO,GAAGjB,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAACtB,IAAI,CAAA;EAErD,MAAA,IAAI,CAACsB,OAAO,CAACke,WAAW,IAAIvd,YAAY,CAACwe,eAAe,CAACnf,OAAO,EAAExC,OAAO,EAAEmb,WAAW,CAAC,EAAE;EACvF,QAAA,IAAM1X,MAAM,GAAGN,YAAY,CAAC6c,SAAS,CACnCze,WAAW,CAACkiB,WAAW,EACvBliB,WAAW,CAACmiB,SAAS,EACrBniB,WAAW,EACXvB,OACF,CAAC,CAAA;EAED,QAAA,IACEyD,MAAM,IACNA,MAAM,CAAChC,IAAI,KAAK,MAAM,IACtBkiB,cAAc,CAACJ,WAAW,EAAEpgB,YAAY,CAAC,IACzC0d,WAAS,CAACa,cAAc,CAACje,MAAM,EAAEN,YAAY,EAAEnD,OAAO,EAAEmb,WAAW,EAAEva,KAAK,CAAC,EAC3E;EACA,UAAA,OAAOuC,YAAY,CAAA;EACrB,SAAA;EACF,OAAA;OACD,CAAA;;EAED;EACA,IAAA,OAAOV,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;QAC1B,IAAMmD,YAAY,GAAGvC,KAAK,CAAC6T,aAAa,CAAC2N,YAAY,CAACpiB,OAAO,EAAEwjB,YAAY,CAAC,CAAA;EAE5E,MAAA,IAAIrgB,YAAY,EAAE;EACd5B,QAAAA,WAAW,CAA6BC,QAAQ,CAACC,IAAI,GAAG,MAAM,CAAA;UAChEF,WAAW,CAAC4B,YAAY,GAAGA,YAAY,CAAA;UACvC5B,WAAW,CAACvB,OAAO,GAAGA,OAAO,CAAA;EAC7B,QAAA,MAAA;EACF,OAAA;EAEAA,MAAAA,OAAO,GAAGmG,UAAU,CAACnG,OAAO,CAAY,CAAA;EAC1C,KAAA;EACF,GAAA;EACF,CAAA;EAEA,SAAS2jB,cAAcA,CAAC7gB,SAAiB,EAAEK,YAA0B,EAAE;IACrE,IAAI,CAACA,YAAY,EAAE;EACjB,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;IAEA,IAAMygB,QAAQ,GAAGzgB,YAAY,CAACX,OAAO,CAACtB,IAAI,CAAC4B,SAAS,CAAA;IAEpD,OAAOA,SAAS,KAAK,IAAI,IAAI8gB,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK9gB,SAAS,CAAA;EAC1E,CAAA;AAEA,iBAAe;EACbC,EAAAA,EAAE,EAAE,qBAAqB;EACzBC,EAAAA,SAAS,EAAE;EAAE,IAAA,wBAAwB,EAAEmgB,WAAAA;EAAY,GAAA;EACrD,CAAC;;EClFD;EAGA;;EAeA,SAASxiB,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQG,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAEhBH,EAAAA,KAAK,CAAC6S,SAAS,CAACoQ,WAAU,CAAC,CAAA;EAE3B9iB,EAAAA,QAAQ,CAACmd,SAAS,CAAC4F,IAAI,GAAG,CAAC,CAAA;EAC3B/iB,EAAAA,QAAQ,CAACmd,SAAS,CAAC6F,KAAK,GAAG,CAAC,CAAA;EAC9B,CAAA;EAEA,SAASC,eAAeA,CAACziB,WAAwB,EAAE;IACjD,IAAM8J,UAAU,GAAG9J,WAAW,CAACC,QAAQ,IAAID,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAA;IAEpE,IAAI,CAAC4J,UAAU,EAAE;EACf,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,IAAM7I,OAAO,GAAGjB,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAAA;EAEhD,EAAA,OAAOA,OAAO,CAAC6I,UAAU,CAAC,CAACyY,IAAI,IAAIthB,OAAO,CAAC6I,UAAU,CAAC,CAAC0Y,KAAK,CAAA;EAC9D,CAAA;EAEA,IAAMD,IAAY,GAAG;EACnB/gB,EAAAA,EAAE,EAAE,iBAAiB;EACrBpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAhZ,CAAAA,IAAA,EAAqB;EAAA,MAAA,IAAlBC,WAAW,GAAAD,IAAA,CAAXC,WAAW,CAAA;QAChCA,WAAW,CAAC0iB,kBAAkB,GAAG,IAAI,CAAA;OACtC;EAED,IAAA,oBAAoB,EAAE,SAAAC,iBAAA9hB,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBb,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EAClC,MAAA,IAAMuiB,IAAI,GAAGE,eAAe,CAACziB,WAAW,CAAC,CAAA;QAEzC,IAAIuiB,IAAI,GAAG,CAAC,EAAE;EACZviB,QAAAA,WAAW,CAAC0iB,kBAAkB,GAAGnG,UAAU,CAAC,YAAM;EAChDvc,UAAAA,WAAW,CAACQ,KAAK,CAACR,WAAW,CAACC,QAAQ,EAAED,WAAW,CAAC4B,YAAY,EAAE5B,WAAW,CAACvB,OAAO,CAAC,CAAA;WACvF,EAAE8jB,IAAI,CAAC,CAAA;EACV,OAAA;OACD;EAED,IAAA,mBAAmB,EAAE,SAAAZ,gBAAApM,CAAAA,KAAA,EAAgC;EAAA,MAAA,IAA7BvV,WAAW,GAAAuV,KAAA,CAAXvV,WAAW;UAAE4iB,SAAS,GAAArN,KAAA,CAATqN,SAAS,CAAA;QAC5C,IAAI5iB,WAAW,CAAC0iB,kBAAkB,IAAI1iB,WAAW,CAAC+f,eAAe,IAAI,CAAC6C,SAAS,EAAE;EAC/EpG,QAAAA,YAAY,CAACxc,WAAW,CAAC0iB,kBAAkB,CAAC,CAAA;UAC5C1iB,WAAW,CAAC0iB,kBAAkB,GAAG,IAAI,CAAA;EACvC,OAAA;OACD;EAED;EACA,IAAA,wBAAwB,EAAE,SAAAG,oBAAAvL,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBtX,WAAW,GAAAsX,KAAA,CAAXtX,WAAW,CAAA;EACtC,MAAA,IAAM8iB,YAAY,GAAGL,eAAe,CAACziB,WAAW,CAAC,CAAA;QAEjD,IAAI8iB,YAAY,GAAG,CAAC,EAAE;EACpB9iB,QAAAA,WAAW,CAACC,QAAQ,CAACC,IAAI,GAAG,IAAI,CAAA;EAClC,OAAA;EACF,KAAA;KACD;EACDuiB,EAAAA,eAAe,EAAfA,eAAAA;EACF,CAAC,CAAA;AACD,eAAeF,IAAI;;EC5EnB;EAQA;;AAEA,kBAAe;EACb/gB,EAAAA,EAAE,EAAE,YAAY;IAChBpC,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAY,EAAE;EACpBA,IAAAA,KAAK,CAAC6S,SAAS,CAACoN,WAAS,CAAC,CAAA;EAC1BjgB,IAAAA,KAAK,CAAC6S,SAAS,CAACqQ,MAAI,CAAC,CAAA;EACrBljB,IAAAA,KAAK,CAAC6S,SAAS,CAAC6Q,QAAQ,CAAC,CAAA;EAC3B,GAAA;EACF,CAAC;;ECWD,IAAMrT,cAAc,GAAG,SAASA,cAAcA,CAAqB+C,QAA8B,EAAE;EACjG,EAAA,IAAI,uBAAuB,CAAC9T,IAAI,CAAC8T,QAAQ,CAAC,EAAE;EAC1C,IAAA,IAAI,CAACxR,OAAO,CAACyO,cAAc,GAAG+C,QAAQ,CAAA;EACtC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,IAAIvR,EAAE,CAAC3C,IAAI,CAACkU,QAAQ,CAAC,EAAE;MACrB,IAAI,CAACxR,OAAO,CAACyO,cAAc,GAAG+C,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAA;EAC3D,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,OAAO,IAAI,CAACxR,OAAO,CAACyO,cAAc,CAAA;EACpC,CAAmC,CAAA;EAEnC,SAASsT,sBAAsBA,CAACphB,YAA0B,EAAEvC,KAAY,EAAEmO,KAAY,EAAE;EACtF,EAAA,IAAMyV,OAAO,GAAGrhB,YAAY,CAACX,OAAO,CAACyO,cAAc,CAAA;IAEnD,IAAIuT,OAAO,KAAK,OAAO,EAAE,OAAA;IAEzB,IAAIA,OAAO,KAAK,QAAQ,EAAE;MACxBzV,KAAK,CAACkC,cAAc,EAAE,CAAA;EACtB,IAAA,OAAA;EACF,GAAA;;EAEA;;EAEA;EACA;EACA;EACA,EAAA,IAAIrQ,KAAK,CAACoS,MAAM,CAACyR,eAAe,IAAI,qBAAqB,CAACvkB,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,EAAE;MAC1E,IAAM8gB,GAAG,GAAGvlB,SAAS,CAAC4P,KAAK,CAACvE,MAAM,CAAC,CAACzL,QAAQ,CAAA;EAC5C,IAAA,IAAM4lB,UAAU,GAAG/jB,KAAK,CAACgkB,aAAa,CAACF,GAAG,CAAC,CAAA;EAE3C,IAAA,IAAI,EAAEC,UAAU,IAAIA,UAAU,CAAC3R,MAAM,CAAC,IAAI2R,UAAU,CAAC3R,MAAM,CAAC6R,OAAO,KAAK,KAAK,EAAE;EAC7E,MAAA,OAAA;EACF,KAAA;EACF,GAAA;;EAEA;IACA,IAAI,sCAAsC,CAAC3kB,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,EAAE;EAC3D,IAAA,OAAA;EACF,GAAA;;EAEA;EACA,EAAA,IACEnB,EAAE,CAACzC,OAAO,CAAC+O,KAAK,CAACvE,MAAM,CAAC,IACxBlE,eAAe,CAACyI,KAAK,CAACvE,MAAM,EAAE,uEAAuE,CAAC,EACtG;EACA,IAAA,OAAA;EACF,GAAA;IAEAuE,KAAK,CAACkC,cAAc,EAAE,CAAA;EACxB,CAAA;EAEA,SAAS6T,kBAAkBA,CAAAxjB,IAAA,EAAgF;EAAA,EAAA,IAA7EC,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAEwN,KAAK,GAAAzN,IAAA,CAALyN,KAAK,CAAA;IAC9C,IAAIxN,WAAW,CAAC4B,YAAY,EAAE;EAC5B5B,IAAAA,WAAW,CAAC4B,YAAY,CAACohB,sBAAsB,CAACxV,KAAc,CAAC,CAAA;EACjE,GAAA;EACF,CAAA;EAEO,SAASpO,SAAOA,CAACC,KAAY,EAAE;EACpC,EAAA,IAAQE,YAAY,GAAKF,KAAK,CAAtBE,YAAY,CAAA;EAEpBA,EAAAA,YAAY,CAACE,SAAS,CAACiQ,cAAc,GAAGA,cAAc,CAAA;EAEtDnQ,EAAAA,YAAY,CAACE,SAAS,CAACujB,sBAAsB,GAAG,UAAUxV,KAAK,EAAE;EAC/D,IAAA,OAAOwV,sBAAsB,CAAC,IAAI,EAAE3jB,KAAK,EAAEmO,KAAK,CAAC,CAAA;KAClD,CAAA;;EAED;EACAnO,EAAAA,KAAK,CAAC+hB,YAAY,CAACoC,SAAS,CAACjb,IAAI,CAAC;EAChClG,IAAAA,IAAI,EAAE,WAAW;MACjBohB,QAAQ,EAAA,SAAAA,QAACjW,CAAAA,KAAK,EAAE;EAAA,MAAA,KAAA,IAAA7C,GAAA,GAAAwW,CAAAA,EAAAA,sBAAA,GACY9hB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAA1I,GAAA,GAAAwW,sBAAA,CAAAjiB,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA9C,QAAA,IAAM3K,WAAW,GAAAmhB,sBAAA,CAAAxW,GAAA,CAAA,CAAA;UACpB,IACE3K,WAAW,CAACvB,OAAO,KAClBuB,WAAW,CAACvB,OAAO,KAAK+O,KAAK,CAACvE,MAAM,IAAIzE,YAAY,CAACxE,WAAW,CAACvB,OAAO,EAAE+O,KAAK,CAACvE,MAAM,CAAC,CAAC,EACzF;EACAjJ,UAAAA,WAAW,CAAC4B,YAAY,CAACohB,sBAAsB,CAACxV,KAAK,CAAC,CAAA;EACtD,UAAA,OAAA;EACF,SAAA;EACF,OAAA;EACF,KAAA;EACF,GAAC,CAAC,CAAA;EACJ,CAAA;AAEA,mCAAe;EACbhM,EAAAA,EAAE,EAAE,iCAAiC;EACrCpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,CAACoU,MAAM,CAAC,UAACC,GAAG,EAAE4N,SAAS,EAAK;EACrE5N,IAAAA,GAAG,iBAAA7K,MAAA,CAAiByY,SAAS,CAAA,CAAG,GAAGH,kBAAkB,CAAA;EACrD,IAAA,OAAOzN,GAAG,CAAA;KACX,EAAE,EAAS,CAAA;EACd,CAAC;;ECzHc,SAAS6N,gBAAgBA,CAACthB,IAAY,EAAE/C,OAAgB,EAAE;EACvE,EAAA,IAAIA,OAAO,CAACoT,cAAc,CAACrQ,IAAI,CAAC,EAAE;EAChC,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEA,EAAA,KAAK,IAAMnC,IAAI,IAAIZ,OAAO,CAACM,GAAG,EAAE;MAC9B,IAAIyC,IAAI,CAACqJ,OAAO,CAACxL,IAAI,CAAC,KAAK,CAAC,IAAImC,IAAI,CAACuhB,MAAM,CAAC1jB,IAAI,CAAChB,MAAM,CAAC,IAAII,OAAO,CAACukB,MAAM,EAAE;EAC1E,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EACF,GAAA;EAEA,EAAA,OAAO,KAAK,CAAA;EACd;;ECL+C,IAqC1CC,SAAS,0BAATA,SAAS,EAAA;IAATA,SAAS,CAAA,aAAA,CAAA,GAAA,aAAA,CAAA;IAATA,SAAS,CAAA,WAAA,CAAA,GAAA,WAAA,CAAA;IAATA,SAAS,CAAA,aAAA,CAAA,GAAA,aAAA,CAAA;EAAA,EAAA,OAATA,SAAS,CAAA;EAAA,CAAA,CAATA,SAAS,IAAA,EAAA,CAAA,CAAA;EAMd,IAAMhZ,MAAM,GAAG,gBAAgB,CAAA;EAC/B,IAAMiZ,KAAK,GAAG;EACZC,EAAAA,WAAW,EAAE,+DAA+D;EAC5EC,EAAAA,SAAS,EAAE,6DAAA;EACb,CAAC,CAAA;;EAED;EACA,IAAMC,YAAY,GAAGC,aAAoB,KAAK,YAAY,CAAA;EAE1D,SAAS/kB,SAAOA,CAACC,KAAY,EAAwC;EAAA,EAAA,IAAAU,IAAA,GAAAsK,SAAA,CAAAnL,MAAA,GAAA,CAAA,IAAAmL,SAAA,CAAA,CAAA,CAAA,KAAAlN,SAAA,GAAAkN,SAAA,CAAA,CAAA,CAAA,GAAJ,EAAE;MAAlC+Z,MAAM,GAAArkB,IAAA,CAANqkB,MAAM,CAAA;EACrC,EAAA,IAAQ7kB,YAAY,GAAeF,KAAK,CAAhCE,YAAY;MAAEC,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAE9BH,EAAAA,KAAK,CAAC+kB,MAAM,GAAGA,MAAM,IAAI9F,OAAO,CAAA;EAEhC9e,EAAAA,QAAQ,CAAC0f,IAAI,CAACmF,QAAQ,GAAG;EACvBC,IAAAA,MAAM,EAAE,EAAC;KACV,CAAA;EAED/kB,EAAAA,YAAY,CAACE,SAAS,CAAC4kB,QAAQ,GAAG,UAAUpjB,OAAgB,EAAE;EAC5D,IAAA,IAAIA,OAAO,EAAE;QACX0H,MAAM,CAAC,IAAI,CAAC1H,OAAO,CAACojB,QAAQ,EAAEpjB,OAAO,CAAC,CAAA;EACtC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,OAAO,IAAI,CAACA,OAAO,CAACojB,QAAQ,CAAA;KAC7B,CAAA;;EAED;EACA,EAAA,IAAQE,MAAM,GAAKhlB,YAAY,CAACE,SAAS,CAAjC8kB,MAAM,CAAA;EACdhlB,EAAAA,YAAY,CAACE,SAAS,CAAC8kB,MAAM,GAAG,UAAUpG,MAAM,EAAEqG,OAAO,EAAEC,WAAW,EAAExjB,OAAO,EAAEmJ,MAAM,EAAE;EACvF,IAAA,IAAIlJ,EAAE,CAAC1C,MAAM,CAAC,IAAI,CAACyK,MAAM,CAAC,IAAI,IAAI,CAACA,MAAM,CAACyb,gBAAgB,EAAE;EAC1D,MAAA,OAAOH,MAAM,CAACpT,IAAI,CAAC,IAAI,EAAEgN,MAAM,EAAEqG,OAAO,EAAEC,WAAW,EAAExjB,OAAO,EAAEmJ,MAAM,CAAC,CAAA;EACzE,KAAA;EAEA,IAAA,IAAIlJ,EAAE,CAAChD,MAAM,CAACsmB,OAAO,CAAC,IAAI,CAACtjB,EAAE,CAACjC,KAAK,CAACulB,OAAO,CAAC,EAAE;EAC5CvjB,MAAAA,OAAO,GAAGwjB,WAAW,CAAA;EACrBA,MAAAA,WAAW,GAAG,IAAI,CAAA;EACpB,KAAA;MAEA,IAAME,mBAAmB,GAAGjP,SAAkB,CAAC8O,OAAO,EAAEC,WAAW,EAAEra,MAAM,CAAC,CAAA;EAE5E,IAAA,KAAK,IAAM/H,IAAI,IAAIsiB,mBAAmB,EAAE;QACtC,IAAIhB,gBAAgB,CAACthB,IAAI,EAAEhD,KAAK,CAACC,OAAO,CAAC,EAAE,SAAA;QAC3CD,KAAK,CAAC+kB,MAAM,CAAC7F,IAAI,CACfzT,MAAM,GAAA,qBAAA,CAAAG,MAAA,CACiB5I,IAAI,EAAA,uFAAA,CAC7B,CAAC,CAAA;EACH,KAAA;MAEA,OAAOkiB,MAAM,CAACpT,IAAI,CAAC,IAAI,EAAEgN,MAAM,EAAEwG,mBAAmB,EAAE1jB,OAAO,CAAC,CAAA;KAC/D,CAAA;EACH,CAAA;EAEA,IAAM2jB,MAAe,GAAG,CACtB;IACE1kB,IAAI,EAAE4jB,SAAS,CAACE,WAAW;IAC3Ba,OAAO,EAAA,SAAAA,OAAAhkB,CAAAA,KAAA,EAAc;EAAA,IAAA,IAAXpC,OAAO,GAAAoC,KAAA,CAAPpC,OAAO,CAAA;EACf,IAAA,OAAO,CAAC,CAACA,OAAO,IAAI,CAACqmB,cAAc,CAACrmB,OAAO,EAAE,aAAa,EAAE,iBAAiB,CAAC,CAAA;KAC/E;IACDsmB,OAAO,EAAA,SAAAA,OAAAxP,CAAAA,KAAA,EAAc;EAAA,IAAA,IAAX9W,OAAO,GAAA8W,KAAA,CAAP9W,OAAO,CAAA;EACf,IAAA,OAAO,CAACA,OAAO,EAAEslB,KAAK,CAACC,WAAW,CAAC,CAAA;KACpC;EACDgB,EAAAA,IAAI,EAAE,4DAAA;EACR,CAAC,EAED;IACE9kB,IAAI,EAAE4jB,SAAS,CAACG,SAAS;IACzBY,OAAO,EAAA,SAAAA,OAAC7kB,CAAAA,WAAW,EAAE;EACnB,IAAA,IAAQvB,OAAO,GAAKuB,WAAW,CAAvBvB,OAAO,CAAA;MAEf,OACEuB,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAK,QAAQ,IACtCzB,OAAO,YAAY8D,YAAU,CAACK,WAAW,IACzC,CAACqiB,QAAQ,CAACxmB,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAA;KAEhD;EACDumB,EAAAA,IAAI,EAAE,wEAAwE;IAC9ED,OAAO,EAAA,SAAAA,OAAAzN,CAAAA,KAAA,EAAc;EAAA,IAAA,IAAX7Y,OAAO,GAAA6Y,KAAA,CAAP7Y,OAAO,CAAA;EACf,IAAA,OAAO,CAACA,OAAO,EAAEslB,KAAK,CAACE,SAAS,CAAC,CAAA;EACnC,GAAA;EACF,CAAC,EAED;IACE/jB,IAAI,EAAE4jB,SAAS,CAACoB,WAAW;IAC3BL,OAAO,EAAA,SAAAA,OAAC7kB,CAAAA,WAAW,EAAE;EAAA,IAAA,IAAAmlB,qBAAA,CAAA;EACnB,IAAA,IAAMrb,UAAU,GAAG9J,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAA;MAC5C,IAAMklB,aAAa,GAAG,CAAAD,CAAAA,qBAAA,GAAAnlB,WAAW,CAAC4B,YAAY,KAAxBujB,IAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAA,CAA0B1T,MAAM,CAAC4T,KAAK,CAAApa,EAAAA,CAAAA,MAAA,CAAInB,UAAU,EAAA,MAAA,CAAA,CAAO,KAAI,EAAE,CAAA;MAEvF,OAAO,CAACsb,aAAa,CAAClmB,MAAM,CAAA;KAC7B;IACD6lB,OAAO,EAAA,SAAAA,OAAC/kB,CAAAA,WAAW,EAAE;MACnB,OAAO,CAACA,WAAW,CAACC,QAAQ,CAACC,IAAI,EAAEF,WAAW,CAAC4B,YAAY,CAAC,CAAA;KAC7D;EACDojB,EAAAA,IAAI,EAAE,4CAAA;EACR,CAAC,CACF,CAAA;EAED,SAASC,QAAQA,CAACxmB,OAAoB,EAAEqK,IAA+B,EAAEwc,OAAe,EAAE;EACxF,EAAA,IAAM7c,KAAK,GAAGhK,OAAO,CAAC+iB,KAAK,CAAC1Y,IAAI,CAAC,IAAI1L,GAAU,CAACwJ,gBAAgB,CAACnI,OAAO,CAAC,CAACqK,IAAI,CAAC,CAAA;EAC/E,EAAA,OAAOwc,OAAO,CAAC3mB,IAAI,CAAC,CAAC8J,KAAK,IAAI,EAAE,EAAEzJ,QAAQ,EAAE,CAAC,CAAA;EAC/C,CAAA;EAEA,SAAS8lB,cAAcA,CAACrmB,OAAgB,EAAEqK,IAA+B,EAAEwc,OAAe,EAAE;IAC1F,IAAI7gB,MAAM,GAAGhG,OAAsB,CAAA;EAEnC,EAAA,OAAOyC,EAAE,CAACzC,OAAO,CAACgG,MAAM,CAAC,EAAE;MACzB,IAAIwgB,QAAQ,CAACxgB,MAAM,EAAEqE,IAAI,EAAEwc,OAAO,CAAC,EAAE;EACnC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA7gB,IAAAA,MAAM,GAAGG,UAAU,CAACH,MAAM,CAAgB,CAAA;EAC5C,GAAA;EAEA,EAAA,OAAO,KAAK,CAAA;EACd,CAAA;EAEA,IAAMjD,EAAE,GAAG,WAAW,CAAA;EACtB,IAAM+jB,aAAqB,GAAGrB,YAAY,GACtC;EAAE1iB,EAAAA,EAAE,EAAFA,EAAE;EAAEpC,EAAAA,OAAO,EAAE,SAAAA,OAAA,GAAM,EAAC;EAAE,CAAC,GACzB;EACEoC,EAAAA,EAAE,EAAFA,EAAE;EACFpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,2BAA2B,EAAE,SAAA2Z,uBAAAA,CAAA5D,KAAA,EAAkBnY,KAAK,EAAK;EAAA,MAAA,IAAzBW,WAAW,GAAAwX,KAAA,CAAXxX,WAAW,CAAA;QAAA,KAAA2K,IAAAA,GAAA,MAAAA,GAAA,GACrBia,MAAM,CAAA1lB,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAvB,QAAA,IAAM6S,KAAK,GAAIoH,MAAM,CAAAja,GAAA,CAAV,CAAA;UACd,IAAM1J,OAAO,GAAGjB,WAAW,CAAC4B,YAAY,IAAI5B,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAAA;UAE5E,IACE,EAAEA,OAAO,IAAIA,OAAO,CAACojB,QAAQ,IAAIpjB,OAAO,CAACojB,QAAQ,CAACC,MAAM,CAAC9G,KAAK,CAACtd,IAAI,CAAC,CAAC,IACrEsd,KAAK,CAACqH,OAAO,CAAC7kB,WAAW,CAAC,EAC1B;EAAA,UAAA,IAAAwlB,aAAA,CAAA;YACA,CAAAA,aAAA,GAAAnmB,KAAK,CAAC+kB,MAAM,EAAC7F,IAAI,CAAAjV,KAAA,CAAAkc,aAAA,EAAC1a,CAAAA,MAAM,GAAG0S,KAAK,CAACwH,IAAI,CAAA,CAAA/Z,MAAA,CAAKuS,KAAK,CAACuH,OAAO,CAAC/kB,WAAW,CAAC,CAAC,CAAA,CAAA;EACvE,SAAA;EACF,OAAA;EACF,KAAA;KACD;EACD4kB,EAAAA,MAAM,EAANA,MAAM;EACNd,EAAAA,SAAS,EAATA,SAAS;EACTC,EAAAA,KAAK,EAALA,KAAK;EACLjZ,EAAAA,MAAM,EAANA,MAAAA;EACF,CAAC,CAAA;AAEL,iBAAeya,aAAa;;EC/L5B;EACe,SAASE,KAAKA,CAAmB5c,MAAS,EAAc;IACrE,IAAMD,IAAI,GAAG,EAAgB,CAAA;EAE7B,EAAA,KAAK,IAAME,IAAI,IAAID,MAAM,EAAE;EACzB,IAAA,IAAMJ,KAAK,GAAGI,MAAM,CAACC,IAAI,CAAC,CAAA;EAE1B,IAAA,IAAI5H,EAAE,CAACpC,WAAW,CAAC2J,KAAK,CAAC,EAAE;EACzBG,MAAAA,IAAI,CAACE,IAAI,CAAC,GAAG2c,KAAK,CAAChd,KAAK,CAAQ,CAAA;OACjC,MAAM,IAAIvH,EAAE,CAACjC,KAAK,CAACwJ,KAAK,CAAC,EAAE;QAC1BG,IAAI,CAACE,IAAI,CAAC,GAAG+I,IAAQ,CAACpJ,KAAK,CAAiB,CAAA;EAC9C,KAAC,MAAM;EACLG,MAAAA,IAAI,CAACE,IAAI,CAAC,GAAGL,KAAK,CAAA;EACpB,KAAA;EACF,GAAA;EAEA,EAAA,OAAOG,IAAI,CAAA;EACb;;ECOA,IAAa8c,YAAY,gBAAA,YAAA;IAUvB,SAAAA,YAAAA,CAAY1lB,WAAwB,EAAE;EAAA4P,IAAAA,eAAA,OAAA8V,YAAA,CAAA,CAAA;MAAA,IATtCC,CAAAA,MAAM,GAAoB,EAAE,CAAA;EAAA,IAAA,IAAA,CAC5BC,WAAW,GAAS;EAAE/d,MAAAA,IAAI,EAAE,CAAC;EAAEC,MAAAA,KAAK,EAAE,CAAC;EAAEC,MAAAA,GAAG,EAAE,CAAC;EAAEC,MAAAA,MAAM,EAAE,CAAA;OAAG,CAAA;EAAA,IAAA,IAAA,CAC5D6d,UAAU,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACVtb,MAAM,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACNub,SAAS,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACTC,UAAU,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACVnc,KAAK,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACI5J,WAAW,GAAA,KAAA,CAAA,CAAA;MAGlB,IAAI,CAACA,WAAW,GAAGA,WAAW,CAAA;EAC9B,IAAA,IAAI,CAACuK,MAAM,GAAGyb,YAAY,EAAE,CAAA;MAC5B,IAAI,CAACpc,KAAK,GAAG;EACX/B,MAAAA,IAAI,EAAE,KAAK;EACXC,MAAAA,KAAK,EAAE,KAAK;EACZC,MAAAA,GAAG,EAAE,KAAK;EACVC,MAAAA,MAAM,EAAE,KAAA;OACT,CAAA;EACH,GAAA;EAACgI,EAAAA,YAAA,CAAA0V,YAAA,EAAA,CAAA;MAAAzV,GAAA,EAAA,OAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAjI,KAAAA,CAAAT,IAAA,EAAwCkmB,UAAiB,EAAE;EAAA,MAAA,IAAnDhO,KAAK,GAAAlY,IAAA,CAALkY,KAAK,CAAA;EACX,MAAA,IAAQjY,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;EACnB,MAAA,IAAMkmB,YAAY,GAAGC,eAAe,CAACnmB,WAAW,CAAC,CAAA;EACjD,MAAA,IAAI,CAAComB,aAAa,CAACF,YAAY,CAAC,CAAA;QAEhC,IAAI,CAACH,UAAU,GAAGpd,MAAM,CAAC,EAAE,EAAE3I,WAAW,CAAC4J,KAAK,CAAC,CAAA;QAC/C,IAAI,CAACA,KAAK,GAAGjB,MAAM,CAAC,EAAE,EAAE,IAAI,CAACod,UAAU,CAAC,CAAA;QACxC,IAAI,CAACH,WAAW,GAAGS,aAAa,CAACrmB,WAAW,CAACwJ,IAAI,EAAEyc,UAAU,CAAC,CAAA;QAC9D,IAAI,CAACJ,UAAU,GAAG;EAAEllB,QAAAA,CAAC,EAAE,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAA;SAAG,CAAA;EAEhC,MAAA,IAAMoB,GAAG,GAAG,IAAI,CAAC2kB,OAAO,CAAC;EACvBrO,QAAAA,KAAK,EAALA,KAAK;EACLgO,QAAAA,UAAU,EAAVA,UAAU;EACVM,QAAAA,MAAM,EAAE,KAAA;EACV,OAAC,CAAC,CAAA;EAEF,MAAA,IAAI,CAAChc,MAAM,GAAGyb,YAAY,EAAE,CAAA;EAC5B,MAAA,IAAI,CAACQ,QAAQ,CAAC7kB,GAAG,CAAC,CAAA;QAElB,IAAM4I,MAAM,GAAI,IAAI,CAACA,MAAM,GAAG,IAAI,CAACkc,MAAM,CAAC9kB,GAAG,CAAE,CAAA;EAE/C,MAAA,OAAO4I,MAAM,CAAA;EACf,KAAA;EAAC,GAAA,EAAA;MAAA0F,GAAA,EAAA,SAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA6d,OAAQ3kB,CAAAA,GAAyB,EAAE;EACjC,MAAA,IAAQ3B,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;QAEnB2B,GAAG,CAAC3B,WAAW,GAAGA,WAAW,CAAA;EAC7B2B,MAAAA,GAAG,CAACC,YAAY,GAAG5B,WAAW,CAAC4B,YAAY,CAAA;EAC3CD,MAAAA,GAAG,CAAClD,OAAO,GAAGuB,WAAW,CAACvB,OAAO,CAAA;QACjCkD,GAAG,CAAC6H,IAAI,KAAR7H,GAAG,CAAC6H,IAAI,GAAKxJ,WAAW,CAACwJ,IAAI,CAAA,CAAA;QAC7B7H,GAAG,CAACiI,KAAK,KAATjI,GAAG,CAACiI,KAAK,GAAK,IAAI,CAACmc,UAAU,CAAA,CAAA;EAC7BpkB,MAAAA,GAAG,CAACikB,WAAW,GAAG,IAAI,CAACA,WAAW,CAAA;EAElC,MAAA,OAAOjkB,GAAG,CAAA;EACZ,KAAA;EAAC,GAAA,EAAA;MAAAsO,GAAA,EAAA,UAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA+d,QAAS7kB,CAAAA,GAAqC,EAAE;EAAA,MAAA,KAAA,IAAAgJ,GAAA,GAAA,CAAA,EAAA+b,aAAA,GAC1B,IAAI,CAACf,MAAM,EAAAhb,GAAA,GAAA+b,aAAA,CAAAxnB,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA5B,QAAA,IAAMgc,KAAK,GAAAD,aAAA,CAAA/b,GAAA,CAAA,CAAA;EACd,QAAA,IAAIgc,KAAK,CAACC,OAAO,CAACpmB,KAAK,EAAE;YACvBmB,GAAG,CAACglB,KAAK,GAAGA,KAAK,CAAA;EACjBA,UAAAA,KAAK,CAACC,OAAO,CAACpmB,KAAK,CAACmB,GAAkB,CAAC,CAAA;EACzC,SAAA;EACF,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAsO,GAAA,EAAA,QAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAge,MAAO9kB,CAAAA,GAAqC,EAAsB;EAChE,MAAA,IAAQsW,KAAK,GAA0EtW,GAAG,CAAlFsW,KAAK;UAAEsO,MAAM,GAAkE5kB,GAAG,CAA3E4kB,MAAM;UAAEM,aAAa,GAAmDllB,GAAG,CAAnEklB,aAAa;UAAQC,cAAc,GAA6BnlB,GAAG,CAApD6H,IAAI;UAAyBud,eAAe,GAAKplB,GAAG,CAA9BiI,KAAK,CAAA;QAEjEjI,GAAG,CAACvB,MAAM,GAAGuI,MAAM,CAAC,EAAE,EAAEhH,GAAG,CAACskB,UAAU,CAAC,CAAA;QACvCtkB,GAAG,CAAC6H,IAAI,GAAGb,MAAM,CAAC,EAAE,EAAEme,cAAc,CAAC,CAAA;QACrCnlB,GAAG,CAACiI,KAAK,GAAGjB,MAAM,CAAC,EAAE,EAAEoe,eAAe,CAAC,CAAA;EAEvC,MAAA,IAAMpB,MAAM,GAAGkB,aAAa,GAAG,IAAI,CAAClB,MAAM,CAAC7R,KAAK,CAAC+S,aAAa,CAAC,GAAG,IAAI,CAAClB,MAAM,CAAA;QAE7E,IAAMqB,SAAS,GAAGhB,YAAY,CAACrkB,GAAG,CAACvB,MAAM,EAAEuB,GAAG,CAAC6H,IAAI,CAAC,CAAA;QAAA,KAAA+J,IAAAA,GAAA,MAAAA,GAAA,GAEhCoS,MAAM,CAAAzmB,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAAA,QAAA,IAAA0T,cAAA,CAAA;EAAvB,QAAA,IAAMN,KAAK,GAAIhB,MAAM,CAAApS,GAAA,CAAV,CAAA;EACd,QAAA,IAAQtS,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;UACf,IAAMimB,kBAAkB,GAAGve,MAAM,CAAC,EAAE,EAAEhH,GAAG,CAACvB,MAAM,CAAC,CAAA;UACjD,IAAIiJ,WAAW,GAAG,IAAI,CAAA;UAEtB,IAAI,CAAA4d,cAAA,GAAAN,KAAK,CAACC,OAAO,KAAA,IAAA,IAAbK,cAAA,CAAenb,GAAG,IAAI,IAAI,CAACqb,QAAQ,CAAClmB,OAAO,EAAEslB,MAAM,EAAEtO,KAAK,CAAC,EAAE;YAC/DtW,GAAG,CAACglB,KAAK,GAAGA,KAAK,CAAA;YACjBtd,WAAW,GAAGsd,KAAK,CAACC,OAAO,CAAC9a,GAAG,CAACnK,GAAyB,CAAC,CAAA;YAE1DylB,QAAkB,CAACzlB,GAAG,CAACiI,KAAK,EAAEjI,GAAG,CAAC6H,IAAI,EAAE;cACtC7I,CAAC,EAAEgB,GAAG,CAACvB,MAAM,CAACO,CAAC,GAAGumB,kBAAkB,CAACvmB,CAAC;cACtCJ,CAAC,EAAEoB,GAAG,CAACvB,MAAM,CAACG,CAAC,GAAG2mB,kBAAkB,CAAC3mB,CAAAA;EACvC,WAAC,CAAC,CAAA;EACJ,SAAA;EAEAymB,QAAAA,SAAS,CAACK,UAAU,CAAC9e,IAAI,CAACc,WAAW,CAAC,CAAA;EACxC,OAAA;QAEAV,MAAM,CAAC,IAAI,CAACiB,KAAK,EAAEjI,GAAG,CAACiI,KAAK,CAAC,CAAA;EAE7Bod,MAAAA,SAAS,CAAChmB,KAAK,CAACL,CAAC,GAAGgB,GAAG,CAACvB,MAAM,CAACO,CAAC,GAAGgB,GAAG,CAACskB,UAAU,CAACtlB,CAAC,CAAA;EACnDqmB,MAAAA,SAAS,CAAChmB,KAAK,CAACT,CAAC,GAAGoB,GAAG,CAACvB,MAAM,CAACG,CAAC,GAAGoB,GAAG,CAACskB,UAAU,CAAC1lB,CAAC,CAAA;EAEnDymB,MAAAA,SAAS,CAACM,SAAS,CAACzf,IAAI,GAAGlG,GAAG,CAAC6H,IAAI,CAAC3B,IAAI,GAAGif,cAAc,CAACjf,IAAI,CAAA;EAC9Dmf,MAAAA,SAAS,CAACM,SAAS,CAACxf,KAAK,GAAGnG,GAAG,CAAC6H,IAAI,CAAC1B,KAAK,GAAGgf,cAAc,CAAChf,KAAK,CAAA;EACjEkf,MAAAA,SAAS,CAACM,SAAS,CAACvf,GAAG,GAAGpG,GAAG,CAAC6H,IAAI,CAACzB,GAAG,GAAG+e,cAAc,CAAC/e,GAAG,CAAA;EAC3Dif,MAAAA,SAAS,CAACM,SAAS,CAACtf,MAAM,GAAGrG,GAAG,CAAC6H,IAAI,CAACxB,MAAM,GAAG8e,cAAc,CAAC9e,MAAM,CAAA;EAEpE,MAAA,IAAMuf,UAAU,GAAG,IAAI,CAAChd,MAAM,CAACnK,MAAM,CAAA;EACrC,MAAA,IAAMonB,QAAQ,GAAG,IAAI,CAACjd,MAAM,CAACf,IAAI,CAAA;QAEjC,IAAI+d,UAAU,IAAIC,QAAQ,EAAE;EAC1B,QAAA,IAAMC,WAAW,GACfT,SAAS,CAACxd,IAAI,CAAC3B,IAAI,KAAK2f,QAAQ,CAAC3f,IAAI,IACrCmf,SAAS,CAACxd,IAAI,CAAC1B,KAAK,KAAK0f,QAAQ,CAAC1f,KAAK,IACvCkf,SAAS,CAACxd,IAAI,CAACzB,GAAG,KAAKyf,QAAQ,CAACzf,GAAG,IACnCif,SAAS,CAACxd,IAAI,CAACxB,MAAM,KAAKwf,QAAQ,CAACxf,MAAM,CAAA;UAE3Cgf,SAAS,CAACU,OAAO,GACfD,WAAW,IAAIF,UAAU,CAAC5mB,CAAC,KAAKqmB,SAAS,CAAC5mB,MAAM,CAACO,CAAC,IAAI4mB,UAAU,CAAChnB,CAAC,KAAKymB,SAAS,CAAC5mB,MAAM,CAACG,CAAC,CAAA;EAC7F,OAAA;EAEA,MAAA,OAAOymB,SAAS,CAAA;EAClB,KAAA;EAAC,GAAA,EAAA;MAAA/W,GAAA,EAAA,oBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAkf,kBAAmBhmB,CAAAA,GAAuC,EAAE;EAC1D,MAAA,IAAQ3B,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;EACnB,MAAA,IAAQiY,KAAK,GAAKtW,GAAG,CAAbsW,KAAK,CAAA;EACb,MAAA,IAAM2P,SAAS,GAAG5nB,WAAW,CAACI,MAAM,CAACC,GAAG,CAAA;EACxC,MAAA,IAAMwnB,WAAW,GAAG7nB,WAAW,CAACI,MAAM,CAACI,KAAK,CAAA;EAC5C,MAAA,IAAQ+J,MAAM,GAAiB,IAAI,CAA3BA,MAAM;UAAEsb,UAAU,GAAK,IAAI,CAAnBA,UAAU,CAAA;EAC1B,MAAA,IAAMiC,QAAQ,GAAGvd,MAAM,CAACvJ,KAAK,CAAA;QAE7B,IAAIiX,KAAK,KAAK,OAAO,EAAE;UACrBtP,MAAM,CAAC,IAAI,CAACkd,UAAU,EAAEtb,MAAM,CAACvJ,KAAK,CAAC,CAAA;EACvC,OAAA;QAAC,KAAA4S,IAAAA,GAAA,GAAA2B,CAAAA,EAAAA,KAAA,GAEgC,CAC/B,CAACsS,WAAW,EAAEhC,UAAU,CAAC,EACzB,CAAC+B,SAAS,EAAEE,QAAQ,CAAC,CACtB,EAAAlU,GAAA,GAAA2B,KAAA,CAAArW,MAAA,EAAA0U,GAAA,EAAW,EAAA;EAHP,QAAA,IAAAmU,QAAA,GAAAxS,KAAA,CAAA3B,GAAA,CAAA;EAAOoU,UAAAA,SAAS,GAAAD,QAAA,CAAA,CAAA,CAAA;EAAE/mB,UAAAA,KAAK,GAAA+mB,QAAA,CAAA,CAAA,CAAA,CAAA;EAI1BC,QAAAA,SAAS,CAAC1nB,IAAI,CAACK,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC3BqnB,QAAAA,SAAS,CAAC1nB,IAAI,CAACC,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAC3BynB,QAAAA,SAAS,CAACvnB,MAAM,CAACE,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC7BqnB,QAAAA,SAAS,CAACvnB,MAAM,CAACF,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAC/B,OAAA;EAEA,MAAA,IAAQ+mB,SAAS,GAAK,IAAI,CAAC/c,MAAM,CAAzB+c,SAAS,CAAA;QACjB,IAAM9d,IAAI,GAAG7H,GAAG,CAAC6H,IAAI,IAAIxJ,WAAW,CAACwJ,IAAI,CAAA;EAEzCA,MAAAA,IAAI,CAAC3B,IAAI,IAAIyf,SAAS,CAACzf,IAAI,CAAA;EAC3B2B,MAAAA,IAAI,CAAC1B,KAAK,IAAIwf,SAAS,CAACxf,KAAK,CAAA;EAC7B0B,MAAAA,IAAI,CAACzB,GAAG,IAAIuf,SAAS,CAACvf,GAAG,CAAA;EACzByB,MAAAA,IAAI,CAACxB,MAAM,IAAIsf,SAAS,CAACtf,MAAM,CAAA;QAE/BwB,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,CAAA;QACnC2B,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,CAAA;EACtC,KAAA;EAAC,GAAA,EAAA;MAAAkI,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAwf,WACEtmB,CAAAA,GAKC,EACa;EACd,MAAA,IAAQ3B,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;EACnB,MAAA,IAAQiY,KAAK,GAA4BtW,GAAG,CAApCsW,KAAK;UAAEsO,MAAM,GAAoB5kB,GAAG,CAA7B4kB,MAAM;UAAEM,aAAa,GAAKllB,GAAG,CAArBklB,aAAa,CAAA;QAEpC,IAAMtc,MAAM,GAAG,IAAI,CAACkc,MAAM,CACxB,IAAI,CAACH,OAAO,CAAC;EACXC,QAAAA,MAAM,EAANA,MAAM;EACNtO,QAAAA,KAAK,EAALA,KAAK;UACLgO,UAAU,EAAEtkB,GAAG,CAACumB,cAAc,IAAIloB,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAAA;EAC3D,OAAC,CACH,CAAC,CAAA;QAED,IAAI,CAACiK,MAAM,GAAGA,MAAM,CAAA;;EAEpB;EACA;QACA,IACE,CAACA,MAAM,CAACmd,OAAO,KACd,CAACb,aAAa,IAAIA,aAAa,GAAG,IAAI,CAAClB,MAAM,CAACzmB,MAAM,CAAC,IACtDc,WAAW,CAAC2d,WAAW,EAAE,EACzB;EACA,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;QAEA,IAAIhc,GAAG,CAACumB,cAAc,EAAE;UACtB,IAAQ5nB,IAAI,GAAKN,WAAW,CAACI,MAAM,CAACC,GAAG,CAA/BC,IAAI,CAAA;EACZ,QAAA,IAAM6nB,UAAU,GAAG;YACjBxnB,CAAC,EAAEgB,GAAG,CAACumB,cAAc,CAACvnB,CAAC,GAAGL,IAAI,CAACK,CAAC;YAChCJ,CAAC,EAAEoB,GAAG,CAACumB,cAAc,CAAC3nB,CAAC,GAAGD,IAAI,CAACC,CAAAA;WAChC,CAAA;EAEDgK,QAAAA,MAAM,CAACnK,MAAM,CAACO,CAAC,IAAIwnB,UAAU,CAACxnB,CAAC,CAAA;EAC/B4J,QAAAA,MAAM,CAACnK,MAAM,CAACG,CAAC,IAAI4nB,UAAU,CAAC5nB,CAAC,CAAA;EAC/BgK,QAAAA,MAAM,CAACvJ,KAAK,CAACL,CAAC,IAAIwnB,UAAU,CAACxnB,CAAC,CAAA;EAC9B4J,QAAAA,MAAM,CAACvJ,KAAK,CAACT,CAAC,IAAI4nB,UAAU,CAAC5nB,CAAC,CAAA;EAChC,OAAA;EAEA,MAAA,IAAI,CAAConB,kBAAkB,CAAChmB,GAAG,CAAC,CAAA;EAC9B,KAAA;EAAC,GAAA,EAAA;MAAAsO,GAAA,EAAA,WAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA2f,SAAUzmB,CAAAA,GAA8D,EAAgB;EACtF,MAAA,IAAQ3B,WAAW,GAAY2B,GAAG,CAA1B3B,WAAW;UAAEwN,KAAK,GAAK7L,GAAG,CAAb6L,KAAK,CAAA;EAC1B,MAAA,IAAMmY,MAAM,GAAG,IAAI,CAACA,MAAM,CAAA;EAE1B,MAAA,IAAI,CAACA,MAAM,IAAI,CAACA,MAAM,CAACzmB,MAAM,EAAE;EAC7B,QAAA,OAAA;EACF,OAAA;QAEA,IAAImpB,QAAQ,GAAG,KAAK,CAAA;QAAA,KAAAnU,IAAAA,GAAA,MAAAA,GAAA,GAEAyR,MAAM,CAAAzmB,MAAA,EAAAgV,GAAA,EAAE,EAAA;EAAvB,QAAA,IAAMyS,KAAK,GAAIhB,MAAM,CAAAzR,GAAA,CAAV,CAAA;UACdvS,GAAG,CAACglB,KAAK,GAAGA,KAAK,CAAA;EACjB,QAAA,IAAQ1lB,OAAO,GAAc0lB,KAAK,CAA1B1lB,OAAO;YAAE2lB,OAAO,GAAKD,KAAK,CAAjBC,OAAO,CAAA;UAExB,IAAM0B,WAAW,GAAG1B,OAAO,CAACwB,SAAS,IAAIxB,OAAO,CAACwB,SAAS,CAACzmB,GAA6B,CAAC,CAAA;EAEzF,QAAA,IAAI2mB,WAAW,EAAE;YACf,IAAI,CAACxC,SAAS,GAAGwC,WAAW,CAAA;EAC5B,UAAA,OAAO,KAAK,CAAA;EACd,SAAA;EAEAD,QAAAA,QAAQ,GAAGA,QAAQ,IAAK,CAACA,QAAQ,IAAI,IAAI,CAAClB,QAAQ,CAAClmB,OAAO,EAAE,IAAI,EAAEU,GAAG,CAACsW,KAAK,EAAE,IAAI,CAAE,CAAA;EACrF,OAAA;EAEA,MAAA,IAAIoQ,QAAQ,EAAE;EACZ;UACAroB,WAAW,CAACY,IAAI,CAAC;EAAE4M,UAAAA,KAAK,EAALA,KAAK;EAAE+Y,UAAAA,MAAM,EAAE,IAAA;EAAK,SAAC,CAAC,CAAA;EAC3C,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAtW,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAwU,IAAKtb,CAAAA,GAAiC,EAAE;EACtC,MAAA,IAAQ3B,WAAW,GAAK2B,GAAG,CAAnB3B,WAAW,CAAA;QAEnB,IAAI,CAAC,IAAI,CAAC2lB,MAAM,IAAI,CAAC,IAAI,CAACA,MAAM,CAACzmB,MAAM,EAAE;EACvC,QAAA,OAAA;EACF,OAAA;QAEA,IAAMqpB,WAAiC,GAAG5f,MAAM,CAC9C;UACEgd,MAAM,EAAE,IAAI,CAACA,MAAM;UACnB/jB,YAAY,EAAE5B,WAAW,CAAC4B,YAAY;UACtCnD,OAAO,EAAEuB,WAAW,CAACvB,OAAO;EAC5B+K,QAAAA,IAAI,EAAE,IAAA;SACP,EACD7H,GACF,CAAC,CAAA;EAED,MAAA,IAAI,CAAC2kB,OAAO,CAACiC,WAAW,CAAC,CAAA;EAAA,MAAA,KAAA,IAAAhU,IAAA,GAAA,CAAA,EAAAiU,aAAA,GAEL,IAAI,CAAC7C,MAAM,EAAApR,IAAA,GAAAiU,aAAA,CAAAtpB,MAAA,EAAAqV,IAAA,EAAE,EAAA;EAA5B,QAAA,IAAMoS,KAAK,GAAA6B,aAAA,CAAAjU,IAAA,CAAA,CAAA;UACdgU,WAAW,CAAC5B,KAAK,GAAGA,KAAK,CAAA;EAEzB,QAAA,IAAIA,KAAK,CAACC,OAAO,CAAC3J,IAAI,EAAE;EACtB0J,UAAAA,KAAK,CAACC,OAAO,CAAC3J,IAAI,CAACsL,WAA0B,CAAC,CAAA;EAChD,SAAA;EACF,OAAA;QAEA,IAAI,CAAC5C,MAAM,GAAG,IAAI,CAAA;QAClB,IAAI,CAACG,SAAS,GAAG,IAAI,CAAA;EACvB,KAAA;EAAC,GAAA,EAAA;MAAA7V,GAAA,EAAA,eAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA2d,aAAcF,CAAAA,YAAwB,EAAE;QACtC,IAAI,CAACP,MAAM,GAAG,EAAE,CAAA;EAEhB,MAAA,KAAK,IAAI/T,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAGsU,YAAY,CAAChnB,MAAM,EAAE0S,KAAK,EAAE,EAAE;EACxD,QAAA,IAAA6W,mBAAA,GAAmCvC,YAAY,CAACtU,KAAK,CAAC;YAA9C3Q,OAAO,GAAAwnB,mBAAA,CAAPxnB,OAAO;YAAE2lB,OAAO,GAAA6B,mBAAA,CAAP7B,OAAO;YAAE1mB,IAAI,GAAAuoB,mBAAA,CAAJvoB,IAAI,CAAA;EAE9B,QAAA,IAAI,CAACylB,MAAM,CAACpd,IAAI,CAAC;EACftH,UAAAA,OAAO,EAAPA,OAAO;EACP2lB,UAAAA,OAAO,EAAPA,OAAO;EACPhV,UAAAA,KAAK,EAALA,KAAK;EACL1R,UAAAA,IAAI,EAAJA,IAAAA;EACF,SAAC,CAAC,CAAA;EACJ,OAAA;QAEA,OAAO,IAAI,CAACylB,MAAM,CAAA;EACpB,KAAA;EAAC,GAAA,EAAA;MAAA1V,GAAA,EAAA,0BAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAigB,wBAAApR,CAAAA,KAAA,EAAwG;EAAA,MAAA,IAAAqR,iBAAA,GAAArR,KAAA,CAA7EtX,WAAW;UAAII,MAAM,GAAAuoB,iBAAA,CAANvoB,MAAM;UAAEoJ,IAAI,GAAAmf,iBAAA,CAAJnf,IAAI;UAAEof,YAAY,GAAAD,iBAAA,CAAZC,YAAY,CAAA;EAClE,MAAA,IAAI,CAACA,YAAY,CAACre,MAAM,EAAE,OAAA;EAE1B,MAAA,IAAQsb,UAAU,GAAK+C,YAAY,CAA3B/C,UAAU,CAAA;EAClB,MAAA,IAAAgD,oBAAA,GAAuCD,YAAY,CAACre,MAAM;UAA3Cud,QAAQ,GAAAe,oBAAA,CAAf7nB,KAAK;UAAYsmB,SAAS,GAAAuB,oBAAA,CAATvB,SAAS,CAAA;EAElC,MAAA,IAAMwB,eAAe,GAAG,CACtB,CAAC1oB,MAAM,CAACI,KAAK,EAAEqlB,UAAU,CAAC,EAC1B,CAACzlB,MAAM,CAACC,GAAG,EAAEynB,QAAQ,CAAC,CACvB,CAAA;EAAA,MAAA,KAAA,IAAAiB,IAAA,GAAA,CAAA,EAAArR,KAAA,GAEgCoR,eAAe,EAAAC,IAAA,GAAArR,KAAA,CAAAxY,MAAA,EAAA6pB,IAAA,EAAS,EAAA;EAApD,QAAA,IAAAC,QAAA,GAAAtR,KAAA,CAAAqR,IAAA,CAAA;EAAOf,UAAAA,SAAS,GAAAgB,QAAA,CAAA,CAAA,CAAA;EAAEhoB,UAAAA,KAAK,GAAAgoB,QAAA,CAAA,CAAA,CAAA,CAAA;EAC1BhB,QAAAA,SAAS,CAAC1nB,IAAI,CAACK,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC3BqnB,QAAAA,SAAS,CAAC1nB,IAAI,CAACC,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAC3BynB,QAAAA,SAAS,CAACvnB,MAAM,CAACE,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC7BqnB,QAAAA,SAAS,CAACvnB,MAAM,CAACF,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAC/B,OAAA;EAEAiJ,MAAAA,IAAI,CAAC3B,IAAI,IAAIyf,SAAS,CAACzf,IAAI,CAAA;EAC3B2B,MAAAA,IAAI,CAAC1B,KAAK,IAAIwf,SAAS,CAACxf,KAAK,CAAA;EAC7B0B,MAAAA,IAAI,CAACzB,GAAG,IAAIuf,SAAS,CAACvf,GAAG,CAAA;EACzByB,MAAAA,IAAI,CAACxB,MAAM,IAAIsf,SAAS,CAACtf,MAAM,CAAA;EACjC,KAAA;EAAC,GAAA,EAAA;MAAAiI,GAAA,EAAA,UAAA;MAAAxH,KAAA,EAED,SAAA0e,QAAAA,CAASlmB,OAAO,EAAEslB,MAAgB,EAAEtO,KAAc,EAAEgR,cAAwB,EAAE;EAC5E,MAAA;EACE;EACA,MAAA,CAAChoB,OAAO,IACRA,OAAO,CAACE,OAAO,KAAK,KAAK;EACzB;EACC8nB,MAAAA,cAAc,IAAI,CAAChoB,OAAO,CAACioB,OAAQ;EACpC;EACCjoB,MAAAA,OAAO,CAACioB,OAAO,IAAI,CAAC3C,MAAO;EAC5B;EACCtO,MAAAA,KAAK,KAAK,OAAO,IAAI,CAAChX,OAAO,CAACkoB,QAAS,EACxC;EACA,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAAlZ,GAAA,EAAA,UAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA2gB,QAASC,CAAAA,KAAmB,EAAE;EAC5B,MAAA,IAAI,CAACzD,WAAW,GAAGyD,KAAK,CAACzD,WAAW,CAAA;EACpC,MAAA,IAAI,CAACC,UAAU,GAAGwD,KAAK,CAACxD,UAAU,CAAA;EAClC,MAAA,IAAI,CAACE,UAAU,GAAGsD,KAAK,CAACtD,UAAU,CAAA;EAClC,MAAA,IAAI,CAACnc,KAAK,GAAGyf,KAAK,CAACzf,KAAK,CAAA;QACxB,IAAI,CAAC+b,MAAM,GAAG0D,KAAK,CAAC1D,MAAM,CAAC/lB,GAAG,CAAC,UAACud,CAAC,EAAA;UAAA,OAAKsI,KAAK,CAACtI,CAAC,CAAC,CAAA;EAAA,OAAiB,CAAC,CAAA;EAChE,MAAA,IAAI,CAAC5S,MAAM,GAAGyb,YAAY,CAACrd,MAAM,CAAC,EAAE,EAAE0gB,KAAK,CAAC9e,MAAM,CAACnK,MAAM,CAAC,EAAEuI,MAAM,CAAC,EAAE,EAAE0gB,KAAK,CAAC9e,MAAM,CAACf,IAAI,CAAC,CAAC,CAAA;EAC5F,KAAA;EAAC,GAAA,EAAA;MAAAyG,GAAA,EAAA,SAAA;MAAAxH,KAAA,EAED,SAAA6gB,OAAAA,GAAU;EACR,MAAA,KAAK,IAAMxgB,IAAI,IAAI,IAAI,EAAE;EACvB,QAAA,IAAI,CAACA,IAAI,CAAC,GAAG,IAAI,CAAA;EACnB,OAAA;EACF,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAA4c,YAAA,CAAA;EAAA,CAAA,EAAA,CAAA;EAGH,SAASM,YAAYA,CAAC5lB,MAAc,EAAEoJ,IAAe,EAAsB;IACzE,OAAO;EACLA,IAAAA,IAAI,EAAJA,IAAI;EACJpJ,IAAAA,MAAM,EAANA,MAAM;EACNY,IAAAA,KAAK,EAAE;EAAEL,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;OAAG;EACrB+mB,IAAAA,SAAS,EAAE;EACTzf,MAAAA,IAAI,EAAE,CAAC;EACPC,MAAAA,KAAK,EAAE,CAAC;EACRC,MAAAA,GAAG,EAAE,CAAC;EACNC,MAAAA,MAAM,EAAE,CAAA;OACT;EACDqf,IAAAA,UAAU,EAAE,EAAE;EACdK,IAAAA,OAAO,EAAE,IAAA;KACV,CAAA;EACH,CAAA;EAEA,SAASvB,eAAeA,CAACnmB,WAAW,EAAE;EACpC,EAAA,IAAM+J,aAAa,GAAG/J,WAAW,CAAC4B,YAAY,CAACX,OAAO,CAACjB,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAA;EACjF,EAAA,IAAMqpB,eAAe,GAAGxf,aAAa,CAACyf,SAAS,CAAA;EAE/C,EAAA,IAAID,eAAe,IAAIA,eAAe,CAACrqB,MAAM,EAAE;EAC7C,IAAA,OAAOqqB,eAAe,CAAA;EACxB,GAAA;EAEA,EAAA,OAAO,CAAC,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,UAAU,EAAE,eAAe,EAAE,cAAc,CAAC,CAClF3pB,GAAG,CAAC,UAACyC,IAAI,EAAK;EACb,IAAA,IAAMpB,OAAO,GAAG8I,aAAa,CAAC1H,IAAI,CAAC,CAAA;EAEnC,IAAA,OACEpB,OAAO,IACPA,OAAO,CAACE,OAAO,IAAI;EACjBF,MAAAA,OAAO,EAAPA,OAAO;QACP2lB,OAAO,EAAE3lB,OAAO,CAACwoB,QAAAA;OAClB,CAAA;EAEL,GAAC,CAAC,CACDrf,MAAM,CAAC,UAACsf,CAAC,EAAA;MAAA,OAAK,CAAC,CAACA,CAAC,CAAA;KAAC,CAAA,CAAA;EACvB,CAAA;EAEO,SAASrD,aAAaA,CAAC7c,IAAI,EAAEpJ,MAAM,EAAE;EAC1C,EAAA,OAAOoJ,IAAI,GACP;EACE3B,IAAAA,IAAI,EAAEzH,MAAM,CAACO,CAAC,GAAG6I,IAAI,CAAC3B,IAAI;EAC1BE,IAAAA,GAAG,EAAE3H,MAAM,CAACG,CAAC,GAAGiJ,IAAI,CAACzB,GAAG;EACxBD,IAAAA,KAAK,EAAE0B,IAAI,CAAC1B,KAAK,GAAG1H,MAAM,CAACO,CAAC;EAC5BqH,IAAAA,MAAM,EAAEwB,IAAI,CAACxB,MAAM,GAAG5H,MAAM,CAACG,CAAAA;EAC/B,GAAC,GACD;EACEsH,IAAAA,IAAI,EAAE,CAAC;EACPE,IAAAA,GAAG,EAAE,CAAC;EACND,IAAAA,KAAK,EAAE,CAAC;EACRE,IAAAA,MAAM,EAAE,CAAA;KACT,CAAA;EACP;;ECxYO,SAAS2hB,YAAYA,CAK1BC,MAA+C,EAAE1pB,IAAW,EAAE;EAC9D,EAAA,IAAQV,QAAQ,GAAKoqB,MAAM,CAAnBpqB,QAAQ,CAAA;EAChB,EAAA,IAAMonB,OAAO,GAAG;MACdpmB,KAAK,EAAEopB,MAAM,CAACppB,KAAK;MACnBsL,GAAG,EAAE8d,MAAM,CAAC9d,GAAG;MACfsc,SAAS,EAAEwB,MAAM,CAACxB,SAAS;MAC3BnL,IAAI,EAAE2M,MAAM,CAAC3M,IAAAA;KACd,CAAA;EAED,EAAA,IAAM4M,QAAQ,GAAG,SAAXA,QAAQA,CAAIC,QAA4B,EAAK;EACjD,IAAA,IAAM7oB,OAAO,GAAI6oB,QAAQ,IAAI,EAAe,CAAA;EAE5C7oB,IAAAA,OAAO,CAACE,OAAO,GAAGF,OAAO,CAACE,OAAO,KAAK,KAAK,CAAA;;EAE3C;EACA,IAAA,KAAK,IAAM2H,IAAI,IAAItJ,QAAQ,EAAE;EAC3B,MAAA,IAAI,EAAEsJ,IAAI,IAAI7H,OAAO,CAAC,EAAE;EACpBA,QAAAA,OAAO,CAAS6H,IAAI,CAAC,GAAGtJ,QAAQ,CAACsJ,IAAI,CAAC,CAAA;EAC1C,OAAA;EACF,KAAA;EAEA,IAAA,IAAM4gB,CAA0C,GAAG;EACjDzoB,MAAAA,OAAO,EAAPA,OAAO;EACP2lB,MAAAA,OAAO,EAAPA,OAAO;EACP1mB,MAAAA,IAAI,EAAJA,IAAI;QACJ6pB,MAAM,EAAE,SAAAA,MAAAA,GAAM;UACZ9oB,OAAO,CAACE,OAAO,GAAG,IAAI,CAAA;EACtB,QAAA,OAAOuoB,CAAC,CAAA;SACT;QACDM,OAAO,EAAE,SAAAA,OAAAA,GAAM;UACb/oB,OAAO,CAACE,OAAO,GAAG,KAAK,CAAA;EACvB,QAAA,OAAOuoB,CAAC,CAAA;EACV,OAAA;OACD,CAAA;EAED,IAAA,OAAOA,CAAC,CAAA;KACT,CAAA;EAED,EAAA,IAAIxpB,IAAI,IAAI,OAAOA,IAAI,KAAK,QAAQ,EAAE;EACpC;MACA2pB,QAAQ,CAACI,SAAS,GAAGzqB,QAAQ,CAAA;MAC7BqqB,QAAQ,CAACJ,QAAQ,GAAG7C,OAAO,CAAA;EAC7B,GAAA;EAEA,EAAA,OAAOiD,QAAQ,CAAA;EACjB,CAAA;EAEO,SAASK,iBAAiBA,CAAAnqB,IAAA,EAM9B;EAAA,EAAA,IALDe,MAAM,GAAAf,IAAA,CAANe,MAAM;MACNd,WAAW,GAAAD,IAAA,CAAXC,WAAW,CAAA;EAKX,EAAA,IAAMuK,MAAM,GAAGvK,WAAW,CAAC4oB,YAAY,CAAEre,MAAM,CAAA;EAE/C,EAAA,IAAIA,MAAM,EAAE;EACVzJ,IAAAA,MAAM,CAAC0oB,SAAS,GAAGjf,MAAM,CAAC8c,UAAU,CAAA;EACtC,GAAA;EACF,CAAA;EAEA,IAAM8C,aAAqB,GAAG;EAC5B3oB,EAAAA,EAAE,EAAE,gBAAgB;IACpBsX,MAAM,EAAE,CAAC,SAAS,CAAC;EACnB1Z,EAAAA,OAAO,EAAE,SAAAA,OAACC,CAAAA,KAAK,EAAK;EAClBA,IAAAA,KAAK,CAACG,QAAQ,CAACmd,SAAS,CAAC6M,SAAS,GAAG,EAAE,CAAA;KACxC;EACD/nB,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAlY,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBb,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EAChCA,MAAAA,WAAW,CAAC4oB,YAAY,GAAG,IAAIlD,YAAY,CAAC1lB,WAAW,CAAC,CAAA;OACzD;EAED,IAAA,kCAAkC,EAAE,SAAAqX,6BAAC1V,CAAAA,GAAG,EAAK;EAC3C,MAAA,IAAQ3B,WAAW,GAAK2B,GAAG,CAAnB3B,WAAW,CAAA;EACnB,MAAA,IAAM4oB,YAAY,GAAGjnB,GAAG,CAAC3B,WAAW,CAAC4oB,YAAa,CAAA;EAElDA,MAAAA,YAAY,CAACpoB,KAAK,CAACmB,GAAG,EAAE3B,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAAC,CAAA;EACtDN,MAAAA,WAAW,CAAC4J,KAAK,GAAGgf,YAAY,CAAChf,KAAK,CAAA;EACtCgf,MAAAA,YAAY,CAACjB,kBAAkB,CAAChmB,GAAG,CAAC,CAAA;OACrC;EAED,IAAA,iCAAiC,EAAE,SAAAyoB,4BAACzoB,CAAAA,GAAG,EAAK;EAC1C,MAAA,IAAQ3B,WAAW,GAAK2B,GAAG,CAAnB3B,WAAW,CAAA;EACnB,MAAA,IAAQ4oB,YAAY,GAAK5oB,WAAW,CAA5B4oB,YAAY,CAAA;EACpB,MAAA,IAAM7f,GAAG,GAAG6f,YAAY,CAACX,WAAW,CAACtmB,GAAG,CAAC,CAAA;EACzC3B,MAAAA,WAAW,CAAC4J,KAAK,GAAGgf,YAAY,CAAChf,KAAK,CAAA;EAEtC,MAAA,OAAOb,GAAG,CAAA;OACX;EAED,IAAA,gCAAgC,EAAE,SAAAshB,2BAAC1oB,CAAAA,GAAG,EAAK;EACzC,MAAA,IAAQ3B,WAAW,GAAK2B,GAAG,CAAnB3B,WAAW,CAAA;EACnB,MAAA,IAAQ4oB,YAAY,GAAK5oB,WAAW,CAA5B4oB,YAAY,CAAA;EACpB,MAAA,IAAM7f,GAAG,GAAG6f,YAAY,CAACR,SAAS,CAACzmB,GAAG,CAAC,CAAA;EACvC3B,MAAAA,WAAW,CAAC4J,KAAK,GAAGgf,YAAY,CAAC7C,UAAU,CAAA;EAE3C,MAAA,OAAOhd,GAAG,CAAA;OACX;EAED,IAAA,2BAA2B,EAAEmhB,iBAAiB;EAC9C,IAAA,0BAA0B,EAAEA,iBAAiB;EAC7C,IAAA,yBAAyB,EAAEA,iBAAiB;MAE5C,iCAAiC,EAAE,SAAA3S,4BAAAA,CAAC5V,GAAG,EAAA;QAAA,OAAKA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAACF,wBAAwB,CAAC/mB,GAAG,CAAC,CAAA;EAAA,KAAA;MACtG,gCAAgC,EAAE,SAAA8V,2BAAAA,CAAC9V,GAAG,EAAA;QAAA,OAAKA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAACF,wBAAwB,CAAC/mB,GAAG,CAAC,CAAA;EAAA,KAAA;MAErG,mBAAmB,EAAE,SAAAiW,gBAAAA,CAACjW,GAAG,EAAA;QAAA,OAAKA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAAC3L,IAAI,CAACtb,GAAG,CAAC,CAAA;EAAA,KAAA;EACtE,GAAA;EACF,CAAC,CAAA;AAED,aAAewoB,aAAa;;ECvI5B;;EAyBO,IAAM3qB,UAAkB,GAAG;EAChC0f,EAAAA,IAAI,EAAE;EACJxP,IAAAA,cAAc,EAAE,MAAM;EACtBjB,IAAAA,WAAW,EAAE,MAAA;KACd;EAEDkO,EAAAA,SAAS,EAAE;EACTxb,IAAAA,OAAO,EAAE,KAAK;EACd8I,IAAAA,MAAM,EAAE;EAAEtJ,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;EAAE,KAAA;KACtB;EAEDjB,EAAAA,OAAO,EAAE,EAAC;EACZ,CAAC;;EC3BD;EACA;;EAeagrB,IAAAA,aAAa,0BAAA1Z,UAAA,EAAA;IAAAC,SAAA,CAAAyZ,aAAA,EAAA1Z,UAAA,CAAA,CAAA;EAAA,EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAuZ,aAAA,CAAA,CAAA;EAkCxB,EAAA,SAAAA,aACEtqB,CAAAA,WAA2B,EAC3BwN,KAAuB,EACvB1D,UAAa,EACbmO,KAAQ,EACRxZ,OAAgB,EAChB8nB,MAAgB,EAChBlkB,IAAa,EACb;EAAA,IAAA,IAAA6O,KAAA,CAAA;EAAAtB,IAAAA,eAAA,OAAA0a,aAAA,CAAA,CAAA;EACApZ,IAAAA,KAAA,GAAAJ,MAAA,CAAAK,IAAA,OAAMnR,WAAW,CAAA,CAAA;MAACkR,KAAA,CArCpBG,aAAa,GAAmB,IAAI,CAAA;EAAAH,IAAAA,KAAA,CACpClD,OAAO,GAAA,KAAA,CAAA,CAAA;EAAAkD,IAAAA,KAAA,CACPjD,OAAO,GAAA,KAAA,CAAA,CAAA;EAAAiD,IAAAA,KAAA,CACP8N,MAAM,GAAA,KAAA,CAAA,CAAA;EAAA9N,IAAAA,KAAA,CACNrP,OAAO,GAAA,KAAA,CAAA,CAAA;EAAAqP,IAAAA,KAAA,CACPqZ,OAAO,GAAA,KAAA,CAAA,CAAA;EAAArZ,IAAAA,KAAA,CACPsZ,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAAtZ,IAAAA,KAAA,CACRuZ,MAAM,GAAA,KAAA,CAAA,CAAA;EAAAvZ,IAAAA,KAAA,CACNwZ,OAAO,GAAA,KAAA,CAAA,CAAA;EAAAxZ,IAAAA,KAAA,CACP5Q,IAAI,GAAA,KAAA,CAAA,CAAA;EAAA4Q,IAAAA,KAAA,CACJzQ,MAAM,GAAA,KAAA,CAAA,CAAA;EAAAyQ,IAAAA,KAAA,CACNlQ,KAAK,GAAA,KAAA,CAAA,CAAA;EAAAkQ,IAAAA,KAAA,CACL1H,IAAI,GAAA,KAAA,CAAA,CAAA;EAAA0H,IAAAA,KAAA,CACJyZ,EAAE,GAAA,KAAA,CAAA,CAAA;EAAAzZ,IAAAA,KAAA,CACF0Z,EAAE,GAAA,KAAA,CAAA,CAAA;EAAA1Z,IAAAA,KAAA,CACF2Z,EAAE,GAAA,KAAA,CAAA,CAAA;EAAA3Z,IAAAA,KAAA,CACF3E,EAAE,GAAA,KAAA,CAAA,CAAA;EAAA2E,IAAAA,KAAA,CACF4Z,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAA5Z,IAAAA,KAAA,CACR6Z,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAA7Z,IAAAA,KAAA,CACR8Z,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAA9Z,IAAAA,KAAA,CACRxQ,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAAwQ,IAAAA,KAAA,CACR2L,KAAK,GAAA,KAAA,CAAA,CAAA;EAAA3L,IAAAA,KAAA,CACL+Z,KAAK,GAAA,KAAA,CAAA,CAAA;EACL;EAAA/Z,IAAAA,KAAA,CACA4I,IAAI,GAAA,KAAA,CAAA,CAAA;EACJ;EAAA5I,IAAAA,KAAA,CACAqV,MAAM,GAAA,KAAA,CAAA,CAAA;EAaJ9nB,IAAAA,OAAO,GAAGA,OAAO,IAAIuB,WAAW,CAACvB,OAAO,CAAA;EAExC,IAAA,IAAMwK,MAAM,GAAGjJ,WAAW,CAAC4B,YAAY,CAAA;MACvC,IAAM6M,WAAW,GAAG,CAAGxF,MAAM,IAAIA,MAAM,CAAChI,OAAO,IAAKzB,UAAQ,EAAUiP,WAAgC,CAAA;MACtG,IAAMxE,MAAM,GAAGJ,WAAW,CAACZ,MAAM,EAAExK,OAAO,EAAEqL,UAAU,CAAC,CAAA;EACvD,IAAA,IAAMoO,QAAQ,GAAGD,KAAK,KAAK,OAAO,CAAA;EAClC,IAAA,IAAME,MAAM,GAAGF,KAAK,KAAK,KAAK,CAAA;MAC9B,IAAMU,SAAS,GAAGT,QAAQ,GAAAgT,sBAAA,CAAAha,KAAA,CAAA,GAAUlR,WAAW,CAAC2Y,SAAS,CAAA;MACzD,IAAMvY,MAAM,GAAG8X,QAAQ,GACnBlY,WAAW,CAACI,MAAM,CAACI,KAAK,GACxB2X,MAAM,GACJ;QAAE7X,IAAI,EAAEqY,SAAS,CAACrY,IAAI;QAAEG,MAAM,EAAEkY,SAAS,CAAClY,MAAM;EAAEyL,MAAAA,SAAS,EAAElM,WAAW,CAACI,MAAM,CAACC,GAAG,CAAC6L,SAAAA;EAAU,KAAC,GAC/FlM,WAAW,CAACI,MAAM,CAACC,GAAG,CAAA;MAE5B6Q,KAAA,CAAK5Q,IAAI,GAAGqI,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAACE,IAAI,CAAC,CAAA;MACnC4Q,KAAA,CAAKzQ,MAAM,GAAGkI,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAACK,MAAM,CAAC,CAAA;MACvCyQ,KAAA,CAAK1H,IAAI,GAAGb,MAAM,CAAC,EAAE,EAAE3I,WAAW,CAACwJ,IAAI,CAAC,CAAA;EACxC0H,IAAAA,KAAA,CAAKhF,SAAS,GAAG9L,MAAM,CAAC8L,SAAS,CAAA;MAEjC,IAAI,CAACiM,MAAM,EAAE;EACXjH,MAAAA,KAAA,CAAK5Q,IAAI,CAACK,CAAC,IAAIsJ,MAAM,CAACtJ,CAAC,CAAA;EACvBuQ,MAAAA,KAAA,CAAK5Q,IAAI,CAACC,CAAC,IAAI0J,MAAM,CAAC1J,CAAC,CAAA;EAEvB2Q,MAAAA,KAAA,CAAKzQ,MAAM,CAACE,CAAC,IAAIsJ,MAAM,CAACtJ,CAAC,CAAA;EACzBuQ,MAAAA,KAAA,CAAKzQ,MAAM,CAACF,CAAC,IAAI0J,MAAM,CAAC1J,CAAC,CAAA;EAC3B,KAAA;EAEA2Q,IAAAA,KAAA,CAAKqZ,OAAO,GAAG/c,KAAK,CAAC+c,OAAO,CAAA;EAC5BrZ,IAAAA,KAAA,CAAKuZ,MAAM,GAAGjd,KAAK,CAACid,MAAM,CAAA;EAC1BvZ,IAAAA,KAAA,CAAKsZ,QAAQ,GAAGhd,KAAK,CAACgd,QAAQ,CAAA;EAC9BtZ,IAAAA,KAAA,CAAKwZ,OAAO,GAAGld,KAAK,CAACkd,OAAO,CAAA;EAC5BxZ,IAAAA,KAAA,CAAK8N,MAAM,GAAIxR,KAAK,CAAgBwR,MAAM,CAAA;EAC1C9N,IAAAA,KAAA,CAAKrP,OAAO,GAAI2L,KAAK,CAAgB3L,OAAO,CAAA;MAC5CqP,KAAA,CAAKjI,MAAM,GAAGxK,OAAO,CAAA;MACrByS,KAAA,CAAK3B,aAAa,GAAG9Q,OAAO,CAAA;MAC5ByS,KAAA,CAAKqV,MAAM,GAAGA,MAAM,CAAA;MACpBrV,KAAA,CAAK7O,IAAI,GAAGA,IAAI,IAAIyH,UAAU,IAAImO,KAAK,IAAI,EAAE,CAAC,CAAA;MAC9C/G,KAAA,CAAKtP,YAAY,GAAGqH,MAAM,CAAA;MAE1BiI,KAAA,CAAK2Z,EAAE,GAAG3S,QAAQ,GAAGlY,WAAW,CAACqN,QAAQ,CAACrN,WAAW,CAACqN,QAAQ,CAACnO,MAAM,GAAG,CAAC,CAAC,CAACisB,QAAQ,GAAGxS,SAAS,CAACkS,EAAE,CAAA;EAElG3Z,IAAAA,KAAA,CAAKyZ,EAAE,GAAG3qB,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACK,CAAC,GAAGsJ,MAAM,CAACtJ,CAAC,CAAA;EACpDuQ,IAAAA,KAAA,CAAK0Z,EAAE,GAAG5qB,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACC,CAAC,GAAG0J,MAAM,CAAC1J,CAAC,CAAA;EACpD2Q,IAAAA,KAAA,CAAK6Z,QAAQ,GAAG/qB,WAAW,CAACI,MAAM,CAACI,KAAK,CAACC,MAAM,CAACE,CAAC,GAAGsJ,MAAM,CAACtJ,CAAC,CAAA;EAC5DuQ,IAAAA,KAAA,CAAK8Z,QAAQ,GAAGhrB,WAAW,CAACI,MAAM,CAACI,KAAK,CAACC,MAAM,CAACF,CAAC,GAAG0J,MAAM,CAAC1J,CAAC,CAAA;MAE5D,IAAI2X,QAAQ,IAAIC,MAAM,EAAE;QACtBjH,KAAA,CAAKlQ,KAAK,GAAG;EAAEL,QAAAA,CAAC,EAAE,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAA;SAAG,CAAA;EAC7B,KAAC,MAAM;QACL2Q,KAAA,CAAKlQ,KAAK,GAAG;EACXL,QAAAA,CAAC,EAAEuQ,KAAA,CAAKzC,WAAW,CAAC,CAAC9N,CAAC,GAAGgY,SAAS,CAAClK,WAAW,CAAC,CAAC9N,CAAC;EACjDJ,QAAAA,CAAC,EAAE2Q,KAAA,CAAKzC,WAAW,CAAC,CAAClO,CAAC,GAAGoY,SAAS,CAAClK,WAAW,CAAC,CAAClO,CAAAA;SACjD,CAAA;EACH,KAAA;MAEA2Q,KAAA,CAAK3E,EAAE,GAAGvM,WAAW,CAACI,MAAM,CAACY,KAAK,CAACkL,SAAS,CAAA;MAC5CgF,KAAA,CAAK4Z,QAAQ,GAAG5Z,KAAA,CAAKhF,SAAS,GAAGgF,KAAA,CAAK2Z,EAAE,CAAA;;EAExC;EACA3Z,IAAAA,KAAA,CAAKxQ,QAAQ,GAAGiI,MAAM,CAAC,EAAE,EAAE3I,WAAW,CAACI,MAAM,CAACM,QAAQ,CAAC+N,WAAW,CAAC,CAAC,CAAA;EACpEyC,IAAAA,KAAA,CAAK2L,KAAK,GAAG/N,KAAK,CAACoC,KAAA,CAAKxQ,QAAQ,CAACC,CAAC,EAAEuQ,KAAA,CAAKxQ,QAAQ,CAACH,CAAC,CAAC,CAAA;EAEpD2Q,IAAAA,KAAA,CAAK+Z,KAAK,GAAG9S,MAAM,IAAIF,KAAK,KAAK,cAAc,GAAG/G,KAAA,CAAKka,QAAQ,EAAE,GAAG,IAAI,CAAA;EAAA,IAAA,OAAAla,KAAA,CAAA;EAC1E,GAAA;EAAClB,EAAAA,YAAA,CAAAsa,aAAA,EAAA,CAAA;MAAAra,GAAA,EAAA,UAAA;MAAAxH,KAAA,EAED,SAAA2iB,QAAAA,GAAW;EACT,MAAA,IAAMprB,WAAW,GAAG,IAAI,CAAC+P,YAAY,CAAA;EAErC,MAAA,IAAI/P,WAAW,CAAC2Y,SAAS,CAACkE,KAAK,GAAG,GAAG,IAAI,IAAI,CAAC3Q,SAAS,GAAGlM,WAAW,CAAC2Y,SAAS,CAACzM,SAAS,GAAG,GAAG,EAAE;EAC/F,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;QAEA,IAAI8C,KAAK,GAAI,GAAG,GAAG7D,IAAI,CAAC8D,KAAK,CAACjP,WAAW,CAAC2Y,SAAS,CAAC0S,SAAS,EAAErrB,WAAW,CAAC2Y,SAAS,CAAC2S,SAAS,CAAC,GAAIngB,IAAI,CAAC+D,EAAE,CAAA;QAC1G,IAAMuH,OAAO,GAAG,IAAI,CAAA;QAEpB,IAAIzH,KAAK,GAAG,CAAC,EAAE;EACbA,QAAAA,KAAK,IAAI,GAAG,CAAA;EACd,OAAA;EAEA,MAAA,IAAMnH,IAAI,GAAG,GAAG,GAAG4O,OAAO,IAAIzH,KAAK,IAAIA,KAAK,GAAG,GAAG,GAAGyH,OAAO,CAAA;EAC5D,MAAA,IAAMtS,EAAE,GAAG,GAAG,GAAGsS,OAAO,IAAIzH,KAAK,IAAIA,KAAK,GAAG,GAAG,GAAGyH,OAAO,CAAA;EAE1D,MAAA,IAAM3O,KAAK,GAAG,CAACD,IAAI,KAAK,GAAG,GAAG4O,OAAO,IAAIzH,KAAK,IAAIA,KAAK,GAAG,EAAE,GAAGyH,OAAO,CAAC,CAAA;EACvE,MAAA,IAAMrS,IAAI,GAAG,CAACD,EAAE,IAAI,EAAE,GAAGsS,OAAO,IAAIzH,KAAK,IAAIA,KAAK,GAAG,GAAG,GAAGyH,OAAO,CAAA;QAElE,OAAO;EACLtS,QAAAA,EAAE,EAAFA,EAAE;EACFC,QAAAA,IAAI,EAAJA,IAAI;EACJyD,QAAAA,IAAI,EAAJA,IAAI;EACJC,QAAAA,KAAK,EAALA,KAAK;EACLkH,QAAAA,KAAK,EAALA,KAAK;EACL6N,QAAAA,KAAK,EAAE7c,WAAW,CAAC2Y,SAAS,CAACkE,KAAK;EAClCnc,QAAAA,QAAQ,EAAE;EACRC,UAAAA,CAAC,EAAEX,WAAW,CAAC2Y,SAAS,CAAC2S,SAAS;EAClC/qB,UAAAA,CAAC,EAAEP,WAAW,CAAC2Y,SAAS,CAAC0S,SAAAA;EAC3B,SAAA;SACD,CAAA;EACH,KAAA;EAAC,GAAA,EAAA;MAAApb,GAAA,EAAA,gBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAiH,cAAA,GAAiB,EAAC;;EAElB;EACF;EACA;EAFE,GAAA,EAAA;MAAAO,GAAA,EAAA,0BAAA;MAAAxH,KAAA,EAGA,SAAA0H,wBAAAA,GAA2B;EACzB,MAAA,IAAI,CAACN,2BAA2B,GAAG,IAAI,CAACC,kBAAkB,GAAG,IAAI,CAAA;EACnE,KAAA;;EAEA;EACF;EACA;EAFE,GAAA,EAAA;MAAAG,GAAA,EAAA,iBAAA;MAAAxH,KAAA,EAGA,SAAAyH,eAAAA,GAAkB;QAChB,IAAI,CAACJ,kBAAkB,GAAG,IAAI,CAAA;EAChC,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAwa,aAAA,CAAA;EAAA,CAAA,CA3JO3a,SAAS,CAAA,CAAA;;EA8JnB;EACA;EACAhE,MAAM,CAAC4f,gBAAgB,CAACjB,aAAa,CAAC7qB,SAAS,EAAE;EAC/CmO,EAAAA,KAAK,EAAE;MACL/B,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACvL,IAAI,CAACK,CAAC,CAAA;OACnB;MACDmL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAACnI,IAAI,CAACK,CAAC,GAAG8H,KAAK,CAAA;EACrB,KAAA;KACD;EACDoF,EAAAA,KAAK,EAAE;MACLhC,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACvL,IAAI,CAACC,CAAC,CAAA;OACnB;MACDuL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAACnI,IAAI,CAACC,CAAC,GAAGkI,KAAK,CAAA;EACrB,KAAA;KACD;EAEDqF,EAAAA,OAAO,EAAE;MACPjC,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACpL,MAAM,CAACE,CAAC,CAAA;OACrB;MACDmL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAAChI,MAAM,CAACE,CAAC,GAAG8H,KAAK,CAAA;EACvB,KAAA;KACD;EACDsF,EAAAA,OAAO,EAAE;MACPlC,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACpL,MAAM,CAACF,CAAC,CAAA;OACrB;MACDuL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAAChI,MAAM,CAACF,CAAC,GAAGkI,KAAK,CAAA;EACvB,KAAA;KACD;EAEDmG,EAAAA,EAAE,EAAE;MACF/C,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAAC7K,KAAK,CAACL,CAAC,CAAA;OACpB;MACDmL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAACzH,KAAK,CAACL,CAAC,GAAG8H,KAAK,CAAA;EACtB,KAAA;KACD;EACDoG,EAAAA,EAAE,EAAE;MACFhD,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAAC7K,KAAK,CAACT,CAAC,CAAA;OACpB;MACDuL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAACzH,KAAK,CAACT,CAAC,GAAGkI,KAAK,CAAA;EACtB,KAAA;KACD;EAED6iB,EAAAA,SAAS,EAAE;MACTzf,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACnL,QAAQ,CAACC,CAAC,CAAA;OACvB;MACDmL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAAC/H,QAAQ,CAACC,CAAC,GAAG8H,KAAK,CAAA;EACzB,KAAA;KACD;EACD4iB,EAAAA,SAAS,EAAE;MACTxf,GAAG,EAAA,SAAAA,MAAG;EACJ,MAAA,OAAO,IAAI,CAACnL,QAAQ,CAACH,CAAC,CAAA;OACvB;MACDuL,GAAG,EAAA,SAAAA,GAACrD,CAAAA,KAAK,EAAE;EACT,MAAA,IAAI,CAAC/H,QAAQ,CAACH,CAAC,GAAGkI,KAAK,CAAA;EACzB,KAAA;EACF,GAAA;EACF,CAAC,CAAC;;ECvQF,IAAa+iB,WAAW,gBAAAxb,YAAA,CAOtB,SAAAwb,WAAYhqB,CAAAA,EAAU,EAAEmL,OAAoB,EAAEa,KAAuB,EAAE2d,QAAgB,EAAEM,UAAgB,EAAE;EAAA7b,EAAAA,eAAA,OAAA4b,WAAA,CAAA,CAAA;EAAA,EAAA,IAAA,CAN3GhqB,EAAE,GAAA,KAAA,CAAA,CAAA;EAAA,EAAA,IAAA,CACFmL,OAAO,GAAA,KAAA,CAAA,CAAA;EAAA,EAAA,IAAA,CACPa,KAAK,GAAA,KAAA,CAAA,CAAA;EAAA,EAAA,IAAA,CACL2d,QAAQ,GAAA,KAAA,CAAA,CAAA;EAAA,EAAA,IAAA,CACRM,UAAU,GAAA,KAAA,CAAA,CAAA;IAGR,IAAI,CAACjqB,EAAE,GAAGA,EAAE,CAAA;IACZ,IAAI,CAACmL,OAAO,GAAGA,OAAO,CAAA;IACtB,IAAI,CAACa,KAAK,GAAGA,KAAK,CAAA;IAClB,IAAI,CAAC2d,QAAQ,GAAGA,QAAQ,CAAA;IACxB,IAAI,CAACM,UAAU,GAAGA,UAAU,CAAA;EAC9B,CAAC,CAAA;;ECUSC,IAAAA,YAAY,0BAAZA,YAAY,EAAA;IAAZA,YAAY,CAAA,cAAA,CAAA,GAAA,EAAA,CAAA;IAAZA,YAAY,CAAA,SAAA,CAAA,GAAA,EAAA,CAAA;IAAZA,YAAY,CAAA,UAAA,CAAA,GAAA,EAAA,CAAA;IAAZA,YAAY,CAAA,eAAA,CAAA,GAAA,EAAA,CAAA;IAAZA,YAAY,CAAA,iBAAA,CAAA,GAAA,EAAA,CAAA;IAAZA,YAAY,CAAA,QAAA,CAAA,GAAA,EAAA,CAAA;EAAA,EAAA,OAAZA,YAAY,CAAA;EAAA,CAAA,CAAA,EAAA,CAAA,CAAA;EASZC,IAAAA,aAAa,0BAAbA,aAAa,EAAA;IAAbA,aAAa,CAAA,OAAA,CAAA,GAAA,EAAA,CAAA;IAAbA,aAAa,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA;IAAbA,aAAa,CAAA,KAAA,CAAA,GAAA,EAAA,CAAA;IAAbA,aAAa,CAAA,MAAA,CAAA,GAAA,EAAA,CAAA;IAAbA,aAAa,CAAA,aAAA,CAAA,GAAA,EAAA,CAAA;EAAA,EAAA,OAAbA,aAAa,CAAA;EAAA,CAAA,CAAA,EAAA,CAAA,CAAA;EAuEzB,IAAIC,SAAS,GAAG,CAAC,CAAA;EAEjB,IAAaC,WAAW,gBAAA,YAAA;IAkFtB,SAAAA,WAAAA,CAAA9rB,IAAA,EAA4F;EAAA,IAAA,IAAAmR,KAAA,GAAA,IAAA,CAAA;EAAA,IAAA,IAA9ElP,WAAW,GAAAjC,IAAA,CAAXiC,WAAW;QAAE8pB,SAAS,GAAA/rB,IAAA,CAAT+rB,SAAS,CAAA;EAAAlc,IAAAA,eAAA,OAAAic,WAAA,CAAA,CAAA;EAjFpC;MAAA,IACAjqB,CAAAA,YAAY,GAAwB,IAAI,CAAA;EAExC;MAAA,IACAnD,CAAAA,OAAO,GAAmB,IAAI,CAAA;MAAA,IAC9B+K,CAAAA,IAAI,GAAoB,IAAI,CAAA;EAC5B;EAAA,IAAA,IAAA,CACAgR,MAAM,GAAA,KAAA,CAAA,CAAA;EAMN;MAAA,IACA5Q,CAAAA,KAAK,GAAuB,IAAI,CAAA;EAEhC;EAAA,IAAA,IAAA,CACAmiB,UAAU,GAAA,KAAA,CAAA,CAAA;EAEV;EAAA,IAAA,IAAA,CACA9rB,QAAQ,GAAmB;EACzBC,MAAAA,IAAI,EAAE,IAAI;EACVC,MAAAA,IAAI,EAAE,IAAI;EACVyJ,MAAAA,KAAK,EAAE,IAAA;OACR,CAAA;EAAA,IAAA,IAAA,CAED5H,WAAW,GAAA,KAAA,CAAA,CAAA;EAEX;MAAA,IACAqL,CAAAA,QAAQ,GAAkB,EAAE,CAAA;EAE5B;MAAA,IACA8U,CAAAA,SAAS,GAA4B,IAAI,CAAA;EAEzC;MAAA,IAAiBD,CAAAA,WAAW,GAAgB,EAAE,CAAA;EAE9C;EAAA,IAAA,IAAA,CACAvI,cAAc,GAIV;EACFhN,MAAAA,OAAO,EAAE,IAAI;EACba,MAAAA,KAAK,EAAE,IAAI;EACXoM,MAAAA,WAAW,EAAE,IAAA;OACd,CAAA;EAED;MAAA,IAAiBjB,CAAAA,SAAS,GAAiC,IAAI,CAAA;MAAA,IAE/D5W,CAAAA,aAAa,GAAG,KAAK,CAAA;MAAA,IACrBge,CAAAA,eAAe,GAAG,KAAK,CAAA;EACvB;MAAA,IAAiB2B,CAAAA,YAAY,GAAG,KAAK,CAAA;EACrC;MAAA,IAAiBsK,CAAAA,OAAO,GAAG,KAAK,CAAA;EAChC;MAAA,IAAiBC,CAAAA,QAAQ,GAAG,IAAI,CAAA;EAChC;EAAA,IAAA,IAAA,CAAiB7b,MAAM,GAAA,KAAA,CAAA,CAAA;EAEvB;MAAA,IAAiBwN,CAAAA,UAAU,GAAG,IAAI,CAAA;EAAA,IAAA,IAAA,CAMlCsO,MAAM,GAAGhO,QAAQ,CAAC,UAA6BiO,SAAc,EAAE;EAC7D,MAAA,IAAI,CAACvrB,IAAI,CAACurB,SAAS,CAAC,CAAA;OACrB,EAAE,wEAAwE,CAAC,CAAA;EAAA,IAAA,IAAA,CAE5E/rB,MAAM,GAAc;EAClB;EACAI,MAAAA,KAAK,EAAEqW,SAAsB,EAAE;EAC/B;EACAxK,MAAAA,IAAI,EAAEwK,SAAsB,EAAE;EAC9B;EACAxW,MAAAA,GAAG,EAAEwW,SAAsB,EAAE;EAC7B;EACA7V,MAAAA,KAAK,EAAE6V,SAAsB,EAAE;EAC/B;EACAnW,MAAAA,QAAQ,EAAEmW,SAAsB,EAAC;OAClC,CAAA;EAED;MAAA,IAA0BuV,CAAAA,GAAG,GAAWR,SAAS,EAAE,CAAA;MAGjD,IAAI,CAACG,UAAU,GAAGD,SAAS,CAAA;MAC3B,IAAI,CAAC9pB,WAAW,GAAGA,WAAW,CAAA;MAE9B,IAAMqqB,IAAI,GAAG,IAAI,CAAA;EAEjB,IAAA,IAAI,CAACjc,MAAM,GAAG,EAAyB,CAAA;EAAA,IAAA,IAAA5E,KAAA,GAAA,SAAAA,KAAAyE,CAAAA,GAAA,EAEP;QAC9BtE,MAAM,CAACC,cAAc,CAACsF,KAAI,CAACd,MAAM,EAAEH,GAAG,EAAE;UACtCpE,GAAG,EAAA,SAAAA,MAAG;YACJ,OAAOwgB,IAAI,CAACpc,GAAG,CAAC,CAAA;EAClB,SAAA;EACF,OAAC,CAAC,CAAA;OACH,CAAA;MAND,KAAK,IAAMA,GAAG,IAAIyb,YAAY,EAAA;EAAAlgB,MAAAA,KAAA,CAAAyE,GAAA,CAAA,CAAA;EAAA,KAAA;EAM7B,IAAA,IAAAqc,MAAA,GAAA,SAAAA,MAAAC,CAAAA,IAAA,EAEgC;QAC/B5gB,MAAM,CAACC,cAAc,CAACsF,KAAI,CAACd,MAAM,EAAEH,IAAG,EAAE;UACtCxH,KAAK,EAAE,SAAAA,KAAA,GAAA;YAAA,OAAoB4jB,IAAI,CAACpc,IAAG,CAAC,CAAA3G,KAAA,CAAT+iB,IAAI,EAAAhiB,SAAa,CAAC,CAAA;EAAA,SAAA;EAC/C,OAAC,CAAC,CAAA;OACH,CAAA;MAJD,KAAK,IAAM4F,IAAG,IAAI0b,aAAa,EAAA;EAAAW,MAAAA,MAAA,CAAAC,IAAA,CAAA,CAAA;EAAA,KAAA;EAM/B,IAAA,IAAI,CAACR,UAAU,CAAC,kBAAkB,EAAE;EAAE/rB,MAAAA,WAAW,EAAE,IAAA;EAAK,KAAC,CAAC,CAAA;EAC5D,GAAA;EAACgQ,EAAAA,YAAA,CAAA6b,WAAA,EAAA,CAAA;MAAA5b,GAAA,EAAA,sBAAA;EAAApE,IAAAA,GAAA,kBA9CgB,SAAAA,GAAAA,GAA2B;EAC1C,MAAA,OAAO,CAAC,CAAA;EACV,KAAA;EAAC,GAAA,EAAA;MAAAoE,GAAA,EAAA,aAAA;MAAAxH,KAAA,EA8CD,SAAA+jB,WAAY7f,CAAAA,OAAoB,EAAEa,KAAuB,EAAEoM,WAAiB,EAAE;EAC5E,MAAA,IAAM6S,YAAY,GAAG,IAAI,CAACC,aAAa,CAAC/f,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAE,IAAI,CAAC,CAAA;EAC1E,MAAA,IAAM+S,WAAW,GAAG,IAAI,CAACtf,QAAQ,CAACof,YAAY,CAAC,CAAA;EAE/C,MAAA,IAAI,CAACV,UAAU,CAAC,mBAAmB,EAAE;EACnCpf,QAAAA,OAAO,EAAPA,OAAO;EACPa,QAAAA,KAAK,EAALA,KAAK;EACLoM,QAAAA,WAAW,EAAXA,WAAW;EACX6S,QAAAA,YAAY,EAAZA,YAAY;EACZE,QAAAA,WAAW,EAAXA,WAAW;EACXtqB,QAAAA,IAAI,EAAE,MAAM;EACZrC,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,CAAC,CAAA;EACJ,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EA9BE,GAAA,EAAA;MAAAiQ,GAAA,EAAA,OAAA;MAAAxH,KAAA,EA+BA,SAAAjI,KAA4B0B,CAAAA,MAAsB,EAAEN,YAA0B,EAAEnD,OAAgB,EAAW;EACzG,MAAA,IACE,IAAI,CAACkf,WAAW,EAAE,IAClB,CAAC,IAAI,CAAC5b,aAAa,IACnB,IAAI,CAACsL,QAAQ,CAACnO,MAAM,IAAIgD,MAAM,CAAChC,IAAI,KAAK,SAAS,GAAG,CAAC,GAAG,CAAC,CAAC,IAC1D,CAAC0B,YAAY,CAACX,OAAO,CAACiB,MAAM,CAAChC,IAAI,CAAyB,CAACiB,OAAO,EAClE;EACA,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEAqd,MAAAA,UAAU,CAAC,IAAI,CAACve,QAAQ,EAAEiC,MAAM,CAAC,CAAA;QAEjC,IAAI,CAACN,YAAY,GAAGA,YAAY,CAAA;QAChC,IAAI,CAACnD,OAAO,GAAGA,OAAO,CAAA;QACtB,IAAI,CAAC+K,IAAI,GAAG5H,YAAY,CAACsH,OAAO,CAACzK,OAAO,CAAC,CAAA;QACzC,IAAI,CAACmL,KAAK,GAAG,IAAI,CAAC3J,QAAQ,CAAC2J,KAAK,GAC5BjB,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC1I,QAAQ,CAAC2J,KAAK,CAAC,GAC/B;EAAE/B,QAAAA,IAAI,EAAE,IAAI;EAAEC,QAAAA,KAAK,EAAE,IAAI;EAAEC,QAAAA,GAAG,EAAE,IAAI;EAAEC,QAAAA,MAAM,EAAE,IAAA;SAAM,CAAA;QACxD,IAAI,CAACikB,QAAQ,GAAG,KAAK,CAAA;EACrB,MAAA,IAAI,CAACvK,YAAY,GACf,IAAI,CAACkL,QAAQ,CAAC;EACZ5sB,QAAAA,WAAW,EAAE,IAAI;UACjBwN,KAAK,EAAE,IAAI,CAAC2U,SAAS;EACrBlK,QAAAA,KAAK,EAAE,OAAA;EACT,OAAC,CAAC,IAAI,CAAC,IAAI,CAACgU,QAAQ,CAAA;QAEtB,OAAO,IAAI,CAACvK,YAAY,CAAA;EAC1B,KAAA;EAAC,GAAA,EAAA;MAAAzR,GAAA,EAAA,aAAA;MAAAxH,KAAA,EAED,SAAAokB,WAAYlgB,CAAAA,OAAoB,EAAEa,KAAuB,EAAEoM,WAAiB,EAAE;EAC5E,MAAA,IAAI,CAAC,IAAI,CAACgE,UAAU,IAAI,EAAE,IAAI,CAACgL,YAAY,IAAI,IAAI,CAACA,YAAY,CAAC9C,SAAS,CAAC,EAAE;UAC3E,IAAI,CAAC4G,aAAa,CAAC/f,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAE,KAAK,CAAC,CAAA;EACxD,OAAA;EAEA,MAAA,IAAMkT,aAAa,GACjB,IAAI,CAAC1sB,MAAM,CAACC,GAAG,CAACC,IAAI,CAACK,CAAC,KAAK,IAAI,CAACP,MAAM,CAACiM,IAAI,CAAC/L,IAAI,CAACK,CAAC,IAClD,IAAI,CAACP,MAAM,CAACC,GAAG,CAACC,IAAI,CAACC,CAAC,KAAK,IAAI,CAACH,MAAM,CAACiM,IAAI,CAAC/L,IAAI,CAACC,CAAC,IAClD,IAAI,CAACH,MAAM,CAACC,GAAG,CAACI,MAAM,CAACE,CAAC,KAAK,IAAI,CAACP,MAAM,CAACiM,IAAI,CAAC5L,MAAM,CAACE,CAAC,IACtD,IAAI,CAACP,MAAM,CAACC,GAAG,CAACI,MAAM,CAACF,CAAC,KAAK,IAAI,CAACH,MAAM,CAACiM,IAAI,CAAC5L,MAAM,CAACF,CAAC,CAAA;EAExD,MAAA,IAAIqO,EAAU,CAAA;EACd,MAAA,IAAIC,EAAU,CAAA;;EAEd;QACA,IAAI,IAAI,CAAC9M,aAAa,IAAI,CAAC,IAAI,CAACge,eAAe,EAAE;EAC/CnR,QAAAA,EAAE,GAAG,IAAI,CAACxO,MAAM,CAACC,GAAG,CAACI,MAAM,CAACE,CAAC,GAAG,IAAI,CAACP,MAAM,CAACI,KAAK,CAACC,MAAM,CAACE,CAAC,CAAA;EAC1DkO,QAAAA,EAAE,GAAG,IAAI,CAACzO,MAAM,CAACC,GAAG,CAACI,MAAM,CAACF,CAAC,GAAG,IAAI,CAACH,MAAM,CAACI,KAAK,CAACC,MAAM,CAACF,CAAC,CAAA;EAE1D,QAAA,IAAI,CAACwf,eAAe,GAAGjR,KAAK,CAACF,EAAE,EAAEC,EAAE,CAAC,GAAG,IAAI,CAACke,oBAAoB,CAAA;EAClE,OAAA;EAEA,MAAA,IAAMN,YAAY,GAAG,IAAI,CAACO,eAAe,CAACrgB,OAAO,CAAC,CAAA;EAClD,MAAA,IAAMwf,SAAS,GAAG;EAChBxf,QAAAA,OAAO,EAAPA,OAAO;EACP8f,QAAAA,YAAY,EAAZA,YAAY;EACZE,QAAAA,WAAW,EAAE,IAAI,CAACtf,QAAQ,CAACof,YAAY,CAAC;EACxCjf,QAAAA,KAAK,EAALA,KAAK;EACLnL,QAAAA,IAAI,EAAE,MAAe;EACrBuX,QAAAA,WAAW,EAAXA,WAAW;EACXhL,QAAAA,EAAE,EAAFA,EAAE;EACFC,QAAAA,EAAE,EAAFA,EAAE;EACF+T,QAAAA,SAAS,EAAEkK,aAAa;EACxB9sB,QAAAA,WAAW,EAAE,IAAA;SACd,CAAA;QAED,IAAI,CAAC8sB,aAAa,EAAE;EAClB;EACAjW,QAAAA,gBAA6B,CAAC,IAAI,CAACzW,MAAM,CAACM,QAAQ,EAAE,IAAI,CAACN,MAAM,CAACY,KAAK,CAAC,CAAA;EACxE,OAAA;EAEA,MAAA,IAAI,CAAC+qB,UAAU,CAAC,mBAAmB,EAAEI,SAAS,CAAC,CAAA;EAE/C,MAAA,IAAI,CAACW,aAAa,IAAI,CAAC,IAAI,CAAClP,UAAU,EAAE;EACtC;EACA,QAAA,IAAI,IAAI,CAACD,WAAW,EAAE,EAAE;YACtBwO,SAAS,CAAC9pB,IAAI,GAAG,IAAI,CAAA;EACrB,UAAA,IAAI,CAACzB,IAAI,CAACurB,SAAS,CAAC,CAAA;EACtB,SAAA;UAEA,IAAI,IAAI,CAACpM,eAAe,EAAE;EACxBlJ,UAAAA,UAAuB,CAAC,IAAI,CAACzW,MAAM,CAACiM,IAAI,EAAE,IAAI,CAACjM,MAAM,CAACC,GAAG,CAAC,CAAA;EAC5D,SAAA;EACF,OAAA;EACF,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAjBE,GAAA,EAAA;MAAA4P,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAkBA,SAAA7H,IAAKurB,CAAAA,SAAe,EAAE;EACpB,MAAA,IAAI,CAACA,SAAS,IAAI,CAACA,SAAS,CAAC3e,KAAK,EAAE;UAClCqJ,aAA0B,CAAC,IAAI,CAACzW,MAAM,CAACY,KAAK,CAAC,CAAA;EAC/C,OAAA;QAEAmrB,SAAS,GAAGxjB,MAAM,CAChB;EACEgE,QAAAA,OAAO,EAAE,IAAI,CAACgN,cAAc,CAAChN,OAAO;EACpCa,QAAAA,KAAK,EAAE,IAAI,CAACmM,cAAc,CAACnM,KAAK;EAChCoM,QAAAA,WAAW,EAAE,IAAI,CAACD,cAAc,CAACC,WAAW;EAC5C5Z,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,EACDmsB,SAAS,IAAI,EACf,CAAC,CAAA;QAEDA,SAAS,CAAClU,KAAK,GAAG,MAAM,CAAA;EAExB,MAAA,IAAI,CAAC2U,QAAQ,CAACT,SAAS,CAAC,CAAA;EAC1B,KAAA;;EAEA;EACF;EACA;EACA;EAHE,GAAA,EAAA;MAAAlc,GAAA,EAAA,WAAA;MAAAxH,KAAA,EAIA,SAAAwkB,SAAAA,CAAUtgB,OAAoB,EAAEa,KAAuB,EAAEoM,WAAiB,EAAEsT,cAA2B,EAAE;EACvG,MAAA,IAAIT,YAAY,GAAG,IAAI,CAACO,eAAe,CAACrgB,OAAO,CAAC,CAAA;EAEhD,MAAA,IAAI8f,YAAY,KAAK,CAAC,CAAC,EAAE;EACvBA,QAAAA,YAAY,GAAG,IAAI,CAACC,aAAa,CAAC/f,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAE,KAAK,CAAC,CAAA;EACvE,OAAA;EAEA,MAAA,IAAMvX,IAAI,GAAG,UAAU,CAAC1D,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,GAAG,QAAQ,GAAG,IAAI,CAAA;EAE1D,MAAA,IAAI,CAAC0pB,UAAU,CAAA,eAAA,CAAA9gB,MAAA,CAAiB5I,IAAI,CAAiD,EAAA;EACnFsK,QAAAA,OAAO,EAAPA,OAAO;EACP8f,QAAAA,YAAY,EAAZA,YAAY;EACZE,QAAAA,WAAW,EAAE,IAAI,CAACtf,QAAQ,CAACof,YAAY,CAAC;EACxCjf,QAAAA,KAAK,EAALA,KAAK;EACLoM,QAAAA,WAAW,EAAXA,WAAW;EACXvX,QAAAA,IAAI,EAAEA,IAAW;EACjB6qB,QAAAA,cAAc,EAAdA,cAAc;EACdltB,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,CAAC,CAAA;EAEF,MAAA,IAAI,CAAC,IAAI,CAAC4d,UAAU,EAAE;EACpB,QAAA,IAAI,CAAC3C,GAAG,CAACzN,KAAK,CAAC,CAAA;EACjB,OAAA;EAEA,MAAA,IAAI,CAAC2f,aAAa,CAACxgB,OAAO,EAAEa,KAAK,CAAC,CAAA;EACpC,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAyC,GAAA,EAAA,cAAA;EAAAxH,IAAAA,KAAA,EACA,SAAA2kB,YAAa5f,CAAAA,KAAY,EAAE;EACzB,MAAA,IAAI,CAACyN,GAAG,CAACzN,KAAY,CAAC,CAAA;EACtB,MAAA,IAAI,CAACue,UAAU,CAAC,mBAAmB,EAAE;EACnCve,QAAAA,KAAK,EAALA,KAAK;EACLnL,QAAAA,IAAI,EAAE,MAAM;EACZrC,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,CAAC,CAAA;EACJ,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAbE,GAAA,EAAA;MAAAiQ,GAAA,EAAA,KAAA;EAAAxH,IAAAA,KAAA,EAcA,SAAAwS,GAAIzN,CAAAA,KAAwB,EAAE;QAC5B,IAAI,CAACwe,OAAO,GAAG,IAAI,CAAA;EACnBxe,MAAAA,KAAK,GAAGA,KAAK,IAAI,IAAI,CAACmM,cAAc,CAACnM,KAAK,CAAA;EAC1C,MAAA,IAAI6f,cAAuB,CAAA;EAE3B,MAAA,IAAI,IAAI,CAAC1P,WAAW,EAAE,EAAE;EACtB0P,QAAAA,cAAc,GAAG,IAAI,CAACT,QAAQ,CAAC;EAC7Bpf,UAAAA,KAAK,EAALA,KAAK;EACLxN,UAAAA,WAAW,EAAE,IAAI;EACjBiY,UAAAA,KAAK,EAAE,KAAA;EACT,SAAC,CAAC,CAAA;EACJ,OAAA;QAEA,IAAI,CAAC+T,OAAO,GAAG,KAAK,CAAA;QAEpB,IAAIqB,cAAc,KAAK,IAAI,EAAE;UAC3B,IAAI,CAACpQ,IAAI,EAAE,CAAA;EACb,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAhN,GAAA,EAAA,eAAA;MAAAxH,KAAA,EAED,SAAA6kB,aAAAA,GAAgB;QACd,OAAO,IAAI,CAAC5L,YAAY,GAAG,IAAI,CAACzhB,QAAQ,CAACC,IAAI,GAAG,IAAI,CAAA;EACtD,KAAA;EAAC,GAAA,EAAA;MAAA+P,GAAA,EAAA,aAAA;MAAAxH,KAAA,EAED,SAAAkV,WAAAA,GAAc;QACZ,OAAO,IAAI,CAAC+D,YAAY,CAAA;EAC1B,KAAA;EAAC,GAAA,EAAA;MAAAzR,GAAA,EAAA,MAAA;MAAAxH,KAAA,EAED,SAAAwU,IAAAA,GAAO;EACL,MAAA,IAAI,CAAC8O,UAAU,CAAC,mBAAmB,EAAE;EAAE/rB,QAAAA,WAAW,EAAE,IAAA;EAAK,OAAC,CAAC,CAAA;EAE3D,MAAA,IAAI,CAAC4B,YAAY,GAAG,IAAI,CAACnD,OAAO,GAAG,IAAI,CAAA;QAEvC,IAAI,CAACijB,YAAY,GAAG,KAAK,CAAA;QACzB,IAAI,CAACuK,QAAQ,GAAG,IAAI,CAAA;QACpB,IAAI,CAAChsB,QAAQ,CAACC,IAAI,GAAG,IAAI,CAACyY,SAAS,GAAG,IAAI,CAAA;EAC5C,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA1I,GAAA,EAAA,iBAAA;EAAAxH,IAAAA,KAAA,EACA,SAAAukB,eAAgBrgB,CAAAA,OAAY,EAAE;EAC5B,MAAA,IAAMO,SAAS,GAAG2J,YAAyB,CAAClK,OAAO,CAAC,CAAA;;EAEpD;EACA,MAAA,OAAO,IAAI,CAAC3K,WAAW,KAAK,OAAO,IAAI,IAAI,CAACA,WAAW,KAAK,KAAK,GAC7D,IAAI,CAACqL,QAAQ,CAACnO,MAAM,GAAG,CAAC,GACxB2S,SAAa,CAAC,IAAI,CAACxE,QAAQ,EAAE,UAACkgB,UAAU,EAAA;EAAA,QAAA,OAAKA,UAAU,CAAC/rB,EAAE,KAAK0L,SAAS,CAAA;SAAC,CAAA,CAAA;EAC/E,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA+C,GAAA,EAAA,gBAAA;EAAAxH,IAAAA,KAAA,EACA,SAAA+kB,cAAe7gB,CAAAA,OAAY,EAAE;QAC3B,OAAO,IAAI,CAACU,QAAQ,CAAC,IAAI,CAAC2f,eAAe,CAACrgB,OAAO,CAAC,CAAC,CAAA;EACrD,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAsD,GAAA,EAAA,eAAA;MAAAxH,KAAA,EACA,SAAAikB,aAAAA,CAAc/f,OAAoB,EAAEa,KAAuB,EAAEoM,WAAiB,EAAExV,IAAc,EAAE;EAC9F,MAAA,IAAM5C,EAAE,GAAGqV,YAAyB,CAAClK,OAAO,CAAC,CAAA;EAC7C,MAAA,IAAI8f,YAAY,GAAG,IAAI,CAACO,eAAe,CAACrgB,OAAO,CAAC,CAAA;EAChD,MAAA,IAAIggB,WAAW,GAAG,IAAI,CAACtf,QAAQ,CAACof,YAAY,CAAC,CAAA;EAE7CroB,MAAAA,IAAI,GAAGA,IAAI,KAAK,KAAK,GAAG,KAAK,GAAGA,IAAI,IAAI,gBAAgB,CAACzF,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,CAAA;QAEzE,IAAI,CAACsqB,WAAW,EAAE;EAChBA,QAAAA,WAAW,GAAG,IAAInB,WAAW,CAAChqB,EAAE,EAAEmL,OAAO,EAAEa,KAAK,EAAE,IAAI,EAAE,IAAI,CAAC,CAAA;EAE7Dif,QAAAA,YAAY,GAAG,IAAI,CAACpf,QAAQ,CAACnO,MAAM,CAAA;EACnC,QAAA,IAAI,CAACmO,QAAQ,CAAC9E,IAAI,CAACokB,WAAW,CAAC,CAAA;EACjC,OAAC,MAAM;UACLA,WAAW,CAAChgB,OAAO,GAAGA,OAAO,CAAA;EAC/B,OAAA;EAEAkK,MAAAA,SAAsB,CACpB,IAAI,CAACzW,MAAM,CAACC,GAAG,EACf,IAAI,CAACgN,QAAQ,CAACzN,GAAG,CAAC,UAACoL,CAAC,EAAA;UAAA,OAAKA,CAAC,CAAC2B,OAAO,CAAA;EAAA,OAAA,CAAC,EACnC,IAAI,CAAC8gB,IAAI,EACX,CAAC,CAAA;QACD5W,cAA2B,CAAC,IAAI,CAACzW,MAAM,CAACY,KAAK,EAAE,IAAI,CAACZ,MAAM,CAACiM,IAAI,EAAE,IAAI,CAACjM,MAAM,CAACC,GAAG,CAAC,CAAA;EAEjF,MAAA,IAAI+D,IAAI,EAAE;UACR,IAAI,CAACrC,aAAa,GAAG,IAAI,CAAA;UAEzB4qB,WAAW,CAACxB,QAAQ,GAAG,IAAI,CAAC/qB,MAAM,CAACC,GAAG,CAAC6L,SAAS,CAAA;UAChDygB,WAAW,CAAClB,UAAU,GAAG7R,WAAW,CAAA;UACpC/C,aAA0B,CAAC,IAAI,CAACqL,WAAW,EAAEvV,OAAO,CAAC,CAAA;EAErD,QAAA,IAAI,CAAC,IAAI,CAACgR,WAAW,EAAE,EAAE;EACvB9G,UAAAA,UAAuB,CAAC,IAAI,CAACzW,MAAM,CAACI,KAAK,EAAE,IAAI,CAACJ,MAAM,CAACC,GAAG,CAAC,CAAA;EAC3DwW,UAAAA,UAAuB,CAAC,IAAI,CAACzW,MAAM,CAACiM,IAAI,EAAE,IAAI,CAACjM,MAAM,CAACC,GAAG,CAAC,CAAA;YAE1D,IAAI,CAAC8hB,SAAS,GAAG3U,KAAK,CAAA;YACtB,IAAI,CAACuS,eAAe,GAAG,KAAK,CAAA;EAC9B,SAAA;EACF,OAAA;QAEA,IAAI,CAAC2N,oBAAoB,CAAC/gB,OAAO,EAAEa,KAAK,EAAEoM,WAAW,CAAC,CAAA;EAEtD,MAAA,IAAI,CAACmS,UAAU,CAAC,6BAA6B,EAAE;EAC7Cpf,QAAAA,OAAO,EAAPA,OAAO;EACPa,QAAAA,KAAK,EAALA,KAAK;EACLoM,QAAAA,WAAW,EAAXA,WAAW;EACXxV,QAAAA,IAAI,EAAJA,IAAI;EACJuoB,QAAAA,WAAW,EAAXA,WAAW;EACXF,QAAAA,YAAY,EAAZA,YAAY;EACZzsB,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,CAAC,CAAA;EAEF,MAAA,OAAOysB,YAAY,CAAA;EACrB,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAxc,GAAA,EAAA,eAAA;EAAAxH,IAAAA,KAAA,EACA,SAAA0kB,aAAAA,CAAcxgB,OAAoB,EAAEa,KAAuB,EAAE;EAC3D,MAAA,IAAMif,YAAY,GAAG,IAAI,CAACO,eAAe,CAACrgB,OAAO,CAAC,CAAA;EAElD,MAAA,IAAI8f,YAAY,KAAK,CAAC,CAAC,EAAE,OAAA;EAEzB,MAAA,IAAME,WAAW,GAAG,IAAI,CAACtf,QAAQ,CAACof,YAAY,CAAC,CAAA;EAE/C,MAAA,IAAI,CAACV,UAAU,CAAC,6BAA6B,EAAE;EAC7Cpf,QAAAA,OAAO,EAAPA,OAAO;EACPa,QAAAA,KAAK,EAALA,KAAK;EACLoM,QAAAA,WAAW,EAAE,IAAI;EACjB6S,QAAAA,YAAY,EAAZA,YAAY;EACZE,QAAAA,WAAW,EAAXA,WAAW;EACX3sB,QAAAA,WAAW,EAAE,IAAA;EACf,OAAC,CAAC,CAAA;QAEF,IAAI,CAACqN,QAAQ,CAAClO,MAAM,CAACstB,YAAY,EAAE,CAAC,CAAC,CAAA;QACrC,IAAI,CAAC1qB,aAAa,GAAG,KAAK,CAAA;EAC5B,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAkO,GAAA,EAAA,sBAAA;MAAAxH,KAAA,EACA,SAAAilB,oBAAqB/gB,CAAAA,OAAoB,EAAEa,KAAuB,EAAEoM,WAAiB,EAAE;EACrF,MAAA,IAAI,CAACD,cAAc,CAAChN,OAAO,GAAGA,OAAO,CAAA;EACrC,MAAA,IAAI,CAACgN,cAAc,CAACnM,KAAK,GAAGA,KAAK,CAAA;EACjC,MAAA,IAAI,CAACmM,cAAc,CAACC,WAAW,GAAGA,WAAW,CAAA;EAC/C,KAAA;EAAC,GAAA,EAAA;MAAA3J,GAAA,EAAA,SAAA;MAAAxH,KAAA,EAED,SAAA6gB,OAAAA,GAAU;EACR,MAAA,IAAI,CAAC3P,cAAc,CAAChN,OAAO,GAAG,IAAI,CAAA;EAClC,MAAA,IAAI,CAACgN,cAAc,CAACnM,KAAK,GAAG,IAAI,CAAA;EAChC,MAAA,IAAI,CAACmM,cAAc,CAACC,WAAW,GAAG,IAAI,CAAA;EACxC,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA3J,GAAA,EAAA,sBAAA;MAAAxH,KAAA,EACA,SAAAklB,oBAAAA,CACEngB,KAAuB,EACvByK,KAAQ,EACRsO,MAAgB,EAChBlkB,IAAa,EACb;QACA,OAAO,IAAIioB,aAAa,CAAO,IAAI,EAAE9c,KAAK,EAAE,IAAI,CAACvN,QAAQ,CAACC,IAAI,EAAE+X,KAAK,EAAE,IAAI,CAACxZ,OAAO,EAAE8nB,MAAM,EAAElkB,IAAI,CAAC,CAAA;EACpG,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA4N,GAAA,EAAA,YAAA;EAAAxH,IAAAA,KAAA,EACA,SAAAmlB,UAAiC9sB,CAAAA,MAA2B,EAAE;EAAA,MAAA,IAAA+sB,kBAAA,CAAA;QAC5D,CAAAA,kBAAA,GAAI,IAAA,CAACjsB,YAAY,KAAA,IAAA,GAAA,KAAA,CAAA,GAAjBisB,kBAAA,CAAmB9b,IAAI,CAACjR,MAAM,CAAC,CAAA;EAE/B,MAAA,IAAI,CAAC,IAAI,CAAC6X,SAAS,IAAI7X,MAAM,CAACoL,SAAS,IAAI,IAAI,CAACyM,SAAS,CAACzM,SAAS,EAAE;UACnE,IAAI,CAACyM,SAAS,GAAG7X,MAAM,CAAA;EACzB,OAAA;EACF,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAmP,GAAA,EAAA,UAAA;EAAAxH,IAAAA,KAAA,EACA,SAAAmkB,QACET,CAAAA,SAA8E,EAC9E;EACA,MAAA,IAAQ3e,KAAK,GAA0B2e,SAAS,CAAxC3e,KAAK;UAAEyK,KAAK,GAAmBkU,SAAS,CAAjClU,KAAK;UAAEsO,MAAM,GAAW4F,SAAS,CAA1B5F,MAAM;UAAElkB,IAAI,GAAK8pB,SAAS,CAAlB9pB,IAAI,CAAA;EAClC,MAAA,IAAQmH,IAAI,GAAK,IAAI,CAAbA,IAAI,CAAA;EAEZ,MAAA,IAAIA,IAAI,IAAIyO,KAAK,KAAK,MAAM,EAAE;EAC5B;UACAmP,QAAkB,CAAC,IAAI,CAACxd,KAAK,EAAEJ,IAAI,EAAE,IAAI,CAACpJ,MAAM,CAACY,KAAK,CAAC,IAAI,CAACY,YAAY,CAACX,OAAO,CAACwN,WAAW,CAAC,CAAC,CAAA;UAE9FjF,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,CAAA;UACnC2B,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,CAAA;EACtC,OAAA;QAEA,IAAM+lB,YAAY,GAAG,IAAI,CAAC/B,UAAU,CAAA9gB,6BAAAA,CAAAA,MAAA,CAA+BgN,KAAK,CAAWkU,EAAAA,SAAS,CAAC,CAAA;QAE7F,IAAI2B,YAAY,KAAK,KAAK,EAAE;EAC1B,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEA,MAAA,IAAMhtB,MAAM,GAAIqrB,SAAS,CAACrrB,MAAM,GAAG,IAAI,CAAC6sB,oBAAoB,CAACngB,KAAK,EAAEyK,KAAK,EAAEsO,MAAM,EAAElkB,IAAI,CAAE,CAAA;QAEzF,IAAI,CAAC0pB,UAAU,CAAA9gB,sBAAAA,CAAAA,MAAA,CAAwBgN,KAAK,CAAA,EAAWkU,SAAS,CAAC,CAAA;QAEjE,IAAIlU,KAAK,KAAK,OAAO,EAAE;UACrB,IAAI,CAACU,SAAS,GAAG7X,MAAM,CAAA;EACzB,OAAA;EAEA,MAAA,IAAI,CAAC8sB,UAAU,CAAC9sB,MAAM,CAAC,CAAA;QAEvB,IAAI,CAACirB,UAAU,CAAA9gB,4BAAAA,CAAAA,MAAA,CAA8BgN,KAAK,CAAA,EAAWkU,SAAS,CAAC,CAAA;EAEvE,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAlc,GAAA,EAAA,MAAA;MAAAxH,KAAA,EACA,SAAAglB,IAAAA,GAAO;EACL,MAAA,OAAOtR,IAAI,CAACC,GAAG,EAAE,CAAA;EACnB,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAyP,WAAA,CAAA;EAAA,CAAA,EAAA;;EC1mBDF,aAAa,CAASoC,QAAQ,GAAG,EAAE,CAAA;EAE9B,SAASC,QAAQA,CAAChuB,WAAwB,EAAE;EACjD,EAAA,IAAI,CAACA,WAAW,CAAC+B,aAAa,EAAE;EAC9B,IAAA,OAAA;EACF,GAAA;EAEAksB,EAAAA,WAAW,CAACjuB,WAAW,CAACI,MAAM,CAACC,GAAG,EAAEL,WAAW,CAACkuB,MAAM,CAACC,KAAK,CAAC,CAAA;EAE7DnuB,EAAAA,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAACztB,CAAC,GAAG,CAAC,CAAA;EAChCX,EAAAA,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAAC7tB,CAAC,GAAG,CAAC,CAAA;EAClC,CAAA;EAEA,SAAS8tB,YAAYA,CAAAtuB,IAAA,EAAgD;EAAA,EAAA,IAA7CC,WAAW,GAAAD,IAAA,CAAXC,WAAW,CAAA;IACjCsuB,YAAY,CAACtuB,WAAW,CAAC,CAAA;EAC3B,CAAA;EAEA,SAASooB,SAASA,CAAAvnB,KAAA,EAAgE;EAAA,EAAA,IAA7Db,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EAC9B,EAAA,IAAMuuB,UAAU,GAAGD,YAAY,CAACtuB,WAAW,CAAC,CAAA;IAE5C,IAAI,CAACuuB,UAAU,EAAE,OAAA;IAEjBvuB,WAAW,CAACY,IAAI,CAAC;EAAEstB,IAAAA,MAAM,EAAE,IAAA;EAAK,GAAC,CAAC,CAAA;IAClCluB,WAAW,CAACib,GAAG,EAAE,CAAA;EAEjB,EAAA,OAAO,KAAK,CAAA;EACd,CAAA;EAEA,SAASA,GAAGA,CAAA1F,KAAA,EAAgD;EAAA,EAAA,IAA7CvV,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;EACxBA,EAAAA,WAAW,CAACkuB,MAAM,CAACC,KAAK,CAACxtB,CAAC,GAAG,CAAC,CAAA;EAC9BX,EAAAA,WAAW,CAACkuB,MAAM,CAACC,KAAK,CAAC5tB,CAAC,GAAG,CAAC,CAAA;EAC9BP,EAAAA,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAACztB,CAAC,GAAG,CAAC,CAAA;EAChCX,EAAAA,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAAC7tB,CAAC,GAAG,CAAC,CAAA;EAClC,CAAA;EAEO,SAAS+tB,YAAYA,CAACtuB,WAAwB,EAAE;EACrD,EAAA,IAAI,CAACwuB,UAAU,CAACxuB,WAAW,CAAC,EAAE;EAC5B,IAAA,OAAO,KAAK,CAAA;EACd,GAAA;EAEA,EAAA,IAAQouB,OAAO,GAAKpuB,WAAW,CAACkuB,MAAM,CAA9BE,OAAO,CAAA;IAEfH,WAAW,CAACjuB,WAAW,CAACI,MAAM,CAACC,GAAG,EAAE+tB,OAAO,CAAC,CAAA;IAC5CH,WAAW,CAACjuB,WAAW,CAACI,MAAM,CAACY,KAAK,EAAEotB,OAAO,CAAC,CAAA;EAC9ChH,EAAAA,QAAkB,CAACpnB,WAAW,CAAC4J,KAAK,EAAE5J,WAAW,CAACwJ,IAAI,EAAE4kB,OAAO,CAAC,CAAA;IAEhEA,OAAO,CAACztB,CAAC,GAAG,CAAC,CAAA;IACbytB,OAAO,CAAC7tB,CAAC,GAAG,CAAC,CAAA;EAEb,EAAA,OAAO,IAAI,CAAA;EACb,CAAA;EAEA,SAASwtB,QAAQA,CAAAzW,KAAA,EAAqC;EAAA,EAAA,IAAf3W,CAAC,GAAA2W,KAAA,CAAD3W,CAAC;MAAEJ,CAAC,GAAA+W,KAAA,CAAD/W,CAAC,CAAA;EACzC,EAAA,IAAI,CAAC2tB,MAAM,CAACE,OAAO,CAACztB,CAAC,IAAIA,CAAC,CAAA;EAC1B,EAAA,IAAI,CAACutB,MAAM,CAACE,OAAO,CAAC7tB,CAAC,IAAIA,CAAC,CAAA;EAE1B,EAAA,IAAI,CAAC2tB,MAAM,CAACC,KAAK,CAACxtB,CAAC,IAAIA,CAAC,CAAA;EACxB,EAAA,IAAI,CAACutB,MAAM,CAACC,KAAK,CAAC5tB,CAAC,IAAIA,CAAC,CAAA;EAC1B,CAAA;EAEA,SAAS0tB,WAAWA,CAAAzW,KAAA,EAAAE,KAAA,EAAoC;EAAA,EAAA,IAAjCpX,IAAI,GAAAkX,KAAA,CAAJlX,IAAI;MAAEG,MAAM,GAAA+W,KAAA,CAAN/W,MAAM,CAAA;EAAA,EAAA,IAAME,CAAC,GAAA+W,KAAA,CAAD/W,CAAC;MAAEJ,CAAC,GAAAmX,KAAA,CAADnX,CAAC,CAAA;IAC3CD,IAAI,CAACK,CAAC,IAAIA,CAAC,CAAA;IACXL,IAAI,CAACC,CAAC,IAAIA,CAAC,CAAA;IACXE,MAAM,CAACE,CAAC,IAAIA,CAAC,CAAA;IACbF,MAAM,CAACF,CAAC,IAAIA,CAAC,CAAA;EACf,CAAA;EAEA,SAASiuB,UAAUA,CAACxuB,WAAwB,EAAE;EAC5C,EAAA,OAAO,CAAC,EAAEA,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAACztB,CAAC,IAAIX,WAAW,CAACkuB,MAAM,CAACE,OAAO,CAAC7tB,CAAC,CAAC,CAAA;EACzE,CAAA;EAEA,IAAM2tB,MAAc,GAAG;EACrB1sB,EAAAA,EAAE,EAAE,QAAQ;IACZsX,MAAM,EAAE,CAAC,WAAW,EAAE,gBAAgB,EAAE,SAAS,EAAE,SAAS,CAAC;IAC7D1Z,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAK,EAAE;EACbA,IAAAA,KAAK,CAACwsB,WAAW,CAACpsB,SAAS,CAACsuB,QAAQ,GAAGA,QAAQ,CAAA;KAChD;EACDtsB,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAlB,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlB7X,WAAW,GAAA6X,KAAA,CAAX7X,WAAW,CAAA;QAChCA,WAAW,CAACkuB,MAAM,GAAG;EACnBC,QAAAA,KAAK,EAAE;EAAExtB,UAAAA,CAAC,EAAE,CAAC;EAAEJ,UAAAA,CAAC,EAAE,CAAA;WAAG;EACrB6tB,QAAAA,OAAO,EAAE;EAAEztB,UAAAA,CAAC,EAAE,CAAC;EAAEJ,UAAAA,CAAC,EAAE,CAAA;EAAE,SAAA;SACvB,CAAA;OACF;MACD,6BAA6B,EAAE,SAAAkuB,yBAAAA,CAAAjT,KAAA,EAAA;EAAA,MAAA,IAAGxb,WAAW,GAAAwb,KAAA,CAAXxb,WAAW,CAAA;QAAA,OAAOguB,QAAQ,CAAChuB,WAAW,CAAC,CAAA;EAAA,KAAA;EACzE,IAAA,kCAAkC,EAAEquB,YAAY;EAChD,IAAA,iCAAiC,EAAEA,YAAY;EAC/C,IAAA,gCAAgC,EAAEjG,SAAS;EAC3C,IAAA,mBAAmB,EAAEnN,GAAAA;EACvB,GAAA;EACF,CAAC,CAAA;AAED,iBAAeiT,MAAM;;EC1DrB,SAAS9uB,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQG,QAAQ,GAAKH,KAAK,CAAlBG,QAAQ,CAAA;EAEhBH,EAAAA,KAAK,CAAC6S,SAAS,CAACgc,QAAM,CAAC,CAAA;EACvB7uB,EAAAA,KAAK,CAAC6S,SAAS,CAACsX,IAAiB,CAAC,CAAA;EAClCnqB,EAAAA,KAAK,CAACC,OAAO,CAACukB,MAAM,CAAC6K,YAAY,GAAG,IAAI,CAAA;EACxCrvB,EAAAA,KAAK,CAACC,OAAO,CAACukB,MAAM,CAAC8K,MAAM,GAAG,IAAI,CAAA;EAElCnvB,EAAAA,QAAQ,CAACmd,SAAS,CAACiS,OAAO,GAAG;EAC3BztB,IAAAA,OAAO,EAAE,KAAK;EACd0tB,IAAAA,UAAU,EAAE,EAAE;EAAE;EAChBC,IAAAA,QAAQ,EAAE,GAAG;EAAE;EACfC,IAAAA,QAAQ,EAAE,EAAE;EAAE;EACdC,IAAAA,WAAW,EAAE,IAAI;EAAE;MACnBC,iBAAiB,EAAE,GAAG;KACvB,CAAA;EACH,CAAA;EAEA,IAAaC,YAAY,gBAAA,YAAA;IAwBvB,SAAAA,YAAAA,CAAYlvB,WAAwB,EAAE;EAAA4P,IAAAA,eAAA,OAAAsf,YAAA,CAAA,CAAA;MAAA,IAvBtCC,CAAAA,MAAM,GAAG,KAAK,CAAA;MAAA,IACdC,CAAAA,UAAU,GAAG,KAAK,CAAA;MAAA,IAClBC,CAAAA,SAAS,GAAG,KAAK,CAAA;MAAA,IACjBL,CAAAA,WAAW,GAAG,KAAK,CAAA;EAAA,IAAA,IAAA,CAEnBpG,YAAY,GAAA,KAAA,CAAA,CAAA;MAAA,IACZ0G,CAAAA,aAAa,GAAG,CAAC,CAAA;EAAA,IAAA,IAAA,CACjB/G,WAAW,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CAEXV,WAAW,GAAA,KAAA,CAAA,CAAA;MAAA,IACXgD,CAAAA,EAAE,GAAG,CAAC,CAAA;MAAA,IACN0E,CAAAA,EAAE,GAAG,CAAC,CAAA;MAAA,IAENC,CAAAA,EAAE,GAAG,CAAC,CAAA;EAAA,IAAA,IAAA,CACNC,YAAY,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACZC,cAAc,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACdC,aAAa,GAAA,KAAA,CAAA,CAAA;MAAA,IAEbC,CAAAA,SAAS,GAAI,CAAC,CAAA;EAAC;MAAA,IACfC,CAAAA,SAAS,GAAI,CAAC,CAAA;EAAC;EAAA,IAAA,IAAA,CACfC,OAAO,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACE9vB,WAAW,GAAA,KAAA,CAAA,CAAA;MAGlB,IAAI,CAACA,WAAW,GAAGA,WAAW,CAAA;EAChC,GAAA;EAACgQ,EAAAA,YAAA,CAAAkf,YAAA,EAAA,CAAA;MAAAjf,GAAA,EAAA,OAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAjI,KAAMgN,CAAAA,KAAuB,EAAE;EAC7B,MAAA,IAAQxN,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;EACnB,MAAA,IAAMiB,OAAO,GAAG8uB,YAAU,CAAC/vB,WAAW,CAAC,CAAA;EAEvC,MAAA,IAAI,CAACiB,OAAO,IAAI,CAACA,OAAO,CAACE,OAAO,EAAE;EAChC,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;QAEA,IAAgB6uB,cAAc,GAAKhwB,WAAW,CAACI,MAAM,CAACM,QAAQ,CAAtDD,MAAM,CAAA;QACd,IAAMwvB,YAAY,GAAGnhB,KAAK,CAACkhB,cAAc,CAACrvB,CAAC,EAAEqvB,cAAc,CAACzvB,CAAC,CAAC,CAAA;EAC9D,MAAA,IAAMqoB,YAAY,GAAG,IAAI,CAACA,YAAY,KAAK,IAAI,CAACA,YAAY,GAAG,IAAIlD,YAAY,CAAC1lB,WAAW,CAAC,CAAC,CAAA;EAE7F4oB,MAAAA,YAAY,CAACQ,QAAQ,CAACppB,WAAW,CAAC4oB,YAAY,CAAC,CAAA;EAE/C,MAAA,IAAI,CAACiC,EAAE,GAAG7qB,WAAW,CAACytB,IAAI,EAAE,CAAA;EAC5B,MAAA,IAAI,CAACuB,WAAW,GAAG/tB,OAAO,CAAC+tB,WAAW,CAAA;QACtC,IAAI,CAACO,EAAE,GAAGU,YAAY,CAAA;QACtB,IAAI,CAACN,aAAa,GAAG;EAAEhvB,QAAAA,CAAC,EAAE,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAA;SAAG,CAAA;QACnC,IAAI,CAACsnB,WAAW,GAAG7nB,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAI,CAAA;EAE9C,MAAA,IAAI,CAACioB,WAAW,GAAGK,YAAY,CAACtC,OAAO,CAAC;UACtCL,UAAU,EAAE,IAAI,CAAC4B,WAAW;EAC5BtB,QAAAA,MAAM,EAAE,IAAI;EACZtO,QAAAA,KAAK,EAAE,cAAA;EACT,OAAC,CAAC,CAAA;QAEF,IAAMiY,MAAM,GACV,IAAI,CAACrF,EAAE,GAAG7qB,WAAW,CAACI,MAAM,CAACC,GAAG,CAAC6L,SAAS,GAAG,EAAE,IAC/C+jB,YAAY,GAAGhvB,OAAO,CAAC6tB,QAAQ,IAC/BmB,YAAY,GAAGhvB,OAAO,CAAC8tB,QAAQ,CAAA;EAEjC,MAAA,IAAImB,MAAM,EAAE;UACV,IAAI,CAACC,YAAY,EAAE,CAAA;EACrB,OAAC,MAAM;UACLvH,YAAY,CAACre,MAAM,GAAGqe,YAAY,CAACnC,MAAM,CAAC,IAAI,CAAC8B,WAAW,CAAC,CAAA;EAE3D,QAAA,IAAI,CAACK,YAAY,CAACre,MAAM,CAACmd,OAAO,EAAE;EAChC,UAAA,OAAO,KAAK,CAAA;EACd,SAAA;UAEA,IAAI,CAAC0I,cAAc,EAAE,CAAA;EACvB,OAAA;;EAEA;EACApwB,MAAAA,WAAW,CAAC4oB,YAAY,CAACre,MAAM,CAACf,IAAI,GAAG,IAAI,CAAA;;EAE3C;EACAxJ,MAAAA,WAAW,CAAC+tB,QAAQ,CAAC,IAAI,CAAC0B,YAAY,CAAC,CAAA;QACvCzvB,WAAW,CAAC4sB,QAAQ,CAAC;EACnB5sB,QAAAA,WAAW,EAAXA,WAAW;EACXwN,QAAAA,KAAK,EAALA,KAAK;EACLyK,QAAAA,KAAK,EAAE,cAAA;EACT,OAAC,CAAC,CAAA;QACFjY,WAAW,CAAC+tB,QAAQ,CAAC;EAAEptB,QAAAA,CAAC,EAAE,CAAC,IAAI,CAAC8uB,YAAY,CAAC9uB,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAC,IAAI,CAACkvB,YAAY,CAAClvB,CAAAA;EAAE,OAAC,CAAC,CAAA;EAC1E;EACAP,MAAAA,WAAW,CAAC4oB,YAAY,CAACre,MAAM,CAACf,IAAI,GAAG,IAAI,CAAA;QAE3C,IAAI,CAAC2lB,MAAM,GAAG,IAAI,CAAA;QAClBnvB,WAAW,CAAC4d,UAAU,GAAG,IAAI,CAAA;EAE7B,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAA3N,GAAA,EAAA,cAAA;MAAAxH,KAAA,EAED,SAAA0nB,YAAAA,GAAe;EAAA,MAAA,IAAAjf,KAAA,GAAA,IAAA,CAAA;QACb,IAAMmf,aAAa,GAAG,IAAI,CAACrwB,WAAW,CAACI,MAAM,CAACM,QAAQ,CAACD,MAAM,CAAA;EAC7D,MAAA,IAAMQ,OAAO,GAAG8uB,YAAU,CAAC,IAAI,CAAC/vB,WAAW,CAAC,CAAA;EAC5C,MAAA,IAAMswB,MAAM,GAAGrvB,OAAO,CAAC4tB,UAAU,CAAA;EACjC,MAAA,IAAM0B,UAAU,GAAG,CAACplB,IAAI,CAACqlB,GAAG,CAACvvB,OAAO,CAAC8tB,QAAQ,GAAG,IAAI,CAACQ,EAAE,CAAC,GAAGe,MAAM,CAAA;QAEjE,IAAI,CAACb,YAAY,GAAG;UAClB9uB,CAAC,EAAE,CAAC0vB,aAAa,CAAC1vB,CAAC,GAAG4vB,UAAU,IAAID,MAAM;EAC1C/vB,QAAAA,CAAC,EAAE,CAAC8vB,aAAa,CAAC9vB,CAAC,GAAGgwB,UAAU,IAAID,MAAAA;SACrC,CAAA;QAED,IAAI,CAACd,EAAE,GAAGe,UAAU,CAAA;EACpB,MAAA,IAAI,CAACX,SAAS,GAAGU,MAAM,GAAG,IAAI,CAACf,EAAE,CAAA;QACjC,IAAI,CAACM,SAAS,GAAG,CAAC,GAAG5uB,OAAO,CAAC8tB,QAAQ,GAAG,IAAI,CAACQ,EAAE,CAAA;EAE/C,MAAA,IAAQ3G,YAAY,GAAkB,IAAI,CAAlCA,YAAY;UAAEL,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;QAEjCA,WAAW,CAACtC,UAAU,GAAG;UACvBtlB,CAAC,EAAE,IAAI,CAACknB,WAAW,CAAClnB,CAAC,GAAG,IAAI,CAAC8uB,YAAY,CAAC9uB,CAAC;UAC3CJ,CAAC,EAAE,IAAI,CAACsnB,WAAW,CAACtnB,CAAC,GAAG,IAAI,CAACkvB,YAAY,CAAClvB,CAAAA;SAC3C,CAAA;QAEDqoB,YAAY,CAACre,MAAM,GAAGqe,YAAY,CAACnC,MAAM,CAAC8B,WAAW,CAAC,CAAA;EAEtD,MAAA,IAAIK,YAAY,CAACre,MAAM,CAACmd,OAAO,EAAE;UAC/B,IAAI,CAAC0H,UAAU,GAAG,IAAI,CAAA;UACtB,IAAI,CAACM,cAAc,GAAG;EACpB/uB,UAAAA,CAAC,EAAE,IAAI,CAAC8uB,YAAY,CAAC9uB,CAAC,GAAGioB,YAAY,CAACre,MAAM,CAACvJ,KAAK,CAACL,CAAC;EACpDJ,UAAAA,CAAC,EAAE,IAAI,CAACkvB,YAAY,CAAClvB,CAAC,GAAGqoB,YAAY,CAACre,MAAM,CAACvJ,KAAK,CAACT,CAAAA;WACpD,CAAA;EACH,OAAA;QAEA,IAAI,CAACkwB,WAAW,CAAC,YAAA;EAAA,QAAA,OAAMvf,KAAI,CAACwf,WAAW,EAAE,CAAA;SAAC,CAAA,CAAA;EAC5C,KAAA;EAAC,GAAA,EAAA;MAAAzgB,GAAA,EAAA,gBAAA;MAAAxH,KAAA,EAED,SAAA2nB,cAAAA,GAAiB;EAAA,MAAA,IAAA7e,MAAA,GAAA,IAAA,CAAA;QACf,IAAI,CAAC8d,SAAS,GAAG,IAAI,CAAA;QACrB,IAAI,CAACD,UAAU,GAAG,IAAI,CAAA;QACtB,IAAI,CAACK,YAAY,GAAG;UAClB9uB,CAAC,EAAE,IAAI,CAACioB,YAAY,CAACre,MAAM,CAACvJ,KAAK,CAACL,CAAC;UACnCJ,CAAC,EAAE,IAAI,CAACqoB,YAAY,CAACre,MAAM,CAACvJ,KAAK,CAACT,CAAAA;SACnC,CAAA;QAED,IAAI,CAACkwB,WAAW,CAAC,YAAA;EAAA,QAAA,OAAMlf,MAAI,CAACof,aAAa,EAAE,CAAA;SAAC,CAAA,CAAA;EAC9C,KAAA;EAAC,GAAA,EAAA;MAAA1gB,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAgoB,WAAYG,CAAAA,MAAkB,EAAE;EAAA,MAAA,IAAAC,MAAA,GAAA,IAAA,CAAA;EAC9B,MAAA,IAAI,CAACf,OAAO,GAAG9S,GAAG,CAACtB,OAAO,CAAC,YAAM;UAC/B,IAAImV,MAAI,CAAC1B,MAAM,EAAE;EACfyB,UAAAA,MAAM,EAAE,CAAA;EACV,SAAA;EACF,OAAC,CAAC,CAAA;EACJ,KAAA;EAAC,GAAA,EAAA;MAAA3gB,GAAA,EAAA,aAAA;MAAAxH,KAAA,EAED,SAAAioB,WAAAA,GAAc;EAAA,MAAA,IAAAI,MAAA,GAAA,IAAA,CAAA;EACZ,MAAA,IAAQ9wB,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;EACnB,MAAA,IAAMiB,OAAO,GAAG8uB,YAAU,CAAC/vB,WAAW,CAAC,CAAA;EACvC,MAAA,IAAMswB,MAAM,GAAGrvB,OAAO,CAAC4tB,UAAU,CAAA;EACjC,MAAA,IAAMnkB,CAAC,GAAG,CAAC1K,WAAW,CAACytB,IAAI,EAAE,GAAG,IAAI,CAAC5C,EAAE,IAAI,IAAI,CAAA;EAE/C,MAAA,IAAIngB,CAAC,GAAG,IAAI,CAAC8kB,EAAE,EAAE;UACf,IAAMuB,QAAQ,GAAG,CAAC,GAAG,CAAC5lB,IAAI,CAAC6lB,GAAG,CAAC,CAACV,MAAM,GAAG5lB,CAAC,CAAC,GAAG,IAAI,CAACklB,SAAS,IAAI,IAAI,CAACC,SAAS,CAAA;EAC9E,QAAA,IAAIoB,SAAgB,CAAA;UAEpB,IAAI,IAAI,CAAC7B,UAAU,EAAE;EACnB6B,UAAAA,SAAS,GAAGC,sBAAsB,CAChC,CAAC,EACD,CAAC,EACD,IAAI,CAACzB,YAAY,CAAC9uB,CAAC,EACnB,IAAI,CAAC8uB,YAAY,CAAClvB,CAAC,EACnB,IAAI,CAACmvB,cAAc,CAAC/uB,CAAC,EACrB,IAAI,CAAC+uB,cAAc,CAACnvB,CAAC,EACrBwwB,QACF,CAAC,CAAA;EACH,SAAC,MAAM;EACLE,UAAAA,SAAS,GAAG;EACVtwB,YAAAA,CAAC,EAAE,IAAI,CAAC8uB,YAAY,CAAC9uB,CAAC,GAAGowB,QAAQ;EACjCxwB,YAAAA,CAAC,EAAE,IAAI,CAACkvB,YAAY,CAAClvB,CAAC,GAAGwwB,QAAAA;aAC1B,CAAA;EACH,SAAA;EAEA,QAAA,IAAM/vB,KAAK,GAAG;YAAEL,CAAC,EAAEswB,SAAS,CAACtwB,CAAC,GAAG,IAAI,CAACgvB,aAAa,CAAChvB,CAAC;YAAEJ,CAAC,EAAE0wB,SAAS,CAAC1wB,CAAC,GAAG,IAAI,CAACovB,aAAa,CAACpvB,CAAAA;WAAG,CAAA;EAE9F,QAAA,IAAI,CAACovB,aAAa,CAAChvB,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC/B,QAAA,IAAI,CAACgvB,aAAa,CAACpvB,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAE/BP,QAAAA,WAAW,CAAC+tB,QAAQ,CAAC/sB,KAAK,CAAC,CAAA;UAC3BhB,WAAW,CAACY,IAAI,EAAE,CAAA;UAElB,IAAI,CAAC6vB,WAAW,CAAC,YAAA;EAAA,UAAA,OAAMK,MAAI,CAACJ,WAAW,EAAE,CAAA;WAAC,CAAA,CAAA;EAC5C,OAAC,MAAM;UACL1wB,WAAW,CAAC+tB,QAAQ,CAAC;YACnBptB,CAAC,EAAE,IAAI,CAAC+uB,cAAc,CAAC/uB,CAAC,GAAG,IAAI,CAACgvB,aAAa,CAAChvB,CAAC;YAC/CJ,CAAC,EAAE,IAAI,CAACmvB,cAAc,CAACnvB,CAAC,GAAG,IAAI,CAACovB,aAAa,CAACpvB,CAAAA;EAChD,SAAC,CAAC,CAAA;UAEF,IAAI,CAAC0a,GAAG,EAAE,CAAA;EACZ,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAhL,GAAA,EAAA,eAAA;MAAAxH,KAAA,EAED,SAAAkoB,aAAAA,GAAgB;EAAA,MAAA,IAAAQ,MAAA,GAAA,IAAA,CAAA;EACd,MAAA,IAAQnxB,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;QACnB,IAAM0K,CAAC,GAAG1K,WAAW,CAACytB,IAAI,EAAE,GAAG,IAAI,CAAC5C,EAAE,CAAA;EACtC,MAAA,IAAAuG,WAAA,GAAwCrB,YAAU,CAAC/vB,WAAW,CAAC;UAApC8qB,QAAQ,GAAAsG,WAAA,CAA3BnC,iBAAiB,CAAA;QAEzB,IAAIvkB,CAAC,GAAGogB,QAAQ,EAAE;EAChB,QAAA,IAAMmG,SAAS,GAAG;EAChBtwB,UAAAA,CAAC,EAAE0wB,WAAW,CAAC3mB,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC+kB,YAAY,CAAC9uB,CAAC,EAAEmqB,QAAQ,CAAC;EACnDvqB,UAAAA,CAAC,EAAE8wB,WAAW,CAAC3mB,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC+kB,YAAY,CAAClvB,CAAC,EAAEuqB,QAAQ,CAAA;WACnD,CAAA;EACD,QAAA,IAAM9pB,KAAK,GAAG;YACZL,CAAC,EAAEswB,SAAS,CAACtwB,CAAC,GAAG,IAAI,CAACgvB,aAAa,CAAChvB,CAAC;YACrCJ,CAAC,EAAE0wB,SAAS,CAAC1wB,CAAC,GAAG,IAAI,CAACovB,aAAa,CAACpvB,CAAAA;WACrC,CAAA;EAED,QAAA,IAAI,CAACovB,aAAa,CAAChvB,CAAC,IAAIK,KAAK,CAACL,CAAC,CAAA;EAC/B,QAAA,IAAI,CAACgvB,aAAa,CAACpvB,CAAC,IAAIS,KAAK,CAACT,CAAC,CAAA;EAE/BP,QAAAA,WAAW,CAAC+tB,QAAQ,CAAC/sB,KAAK,CAAC,CAAA;UAC3BhB,WAAW,CAACY,IAAI,CAAC;YAAEimB,aAAa,EAAE,IAAI,CAACyI,aAAAA;EAAc,SAAC,CAAC,CAAA;UAEvD,IAAI,CAACmB,WAAW,CAAC,YAAA;EAAA,UAAA,OAAMU,MAAI,CAACR,aAAa,EAAE,CAAA;WAAC,CAAA,CAAA;EAC9C,OAAC,MAAM;UACL3wB,WAAW,CAAC+tB,QAAQ,CAAC;YACnBptB,CAAC,EAAE,IAAI,CAAC8uB,YAAY,CAAC9uB,CAAC,GAAG,IAAI,CAACgvB,aAAa,CAAChvB,CAAC;YAC7CJ,CAAC,EAAE,IAAI,CAACkvB,YAAY,CAAClvB,CAAC,GAAG,IAAI,CAACovB,aAAa,CAACpvB,CAAAA;EAC9C,SAAC,CAAC,CAAA;UAEF,IAAI,CAAC0a,GAAG,EAAE,CAAA;EACZ,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAhL,GAAA,EAAA,QAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAkmB,MAAA5uB,CAAAA,IAAA,EAAyE;EAAA,MAAA,IAAhE4M,OAAO,GAAA5M,IAAA,CAAP4M,OAAO;UAAEa,KAAK,GAAAzN,IAAA,CAALyN,KAAK;UAAEoM,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW,CAAA;EAClC,MAAA,IAAQ5Z,WAAW,GAAK,IAAI,CAApBA,WAAW,CAAA;;EAEnB;QACAA,WAAW,CAAC+tB,QAAQ,CAAC;EACnBptB,QAAAA,CAAC,EAAE,CAAC,IAAI,CAACgvB,aAAa,CAAChvB,CAAC;EACxBJ,QAAAA,CAAC,EAAE,CAAC,IAAI,CAACovB,aAAa,CAACpvB,CAAAA;EACzB,OAAC,CAAC,CAAA;;EAEF;QACAP,WAAW,CAAC0sB,aAAa,CAAC/f,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAE,IAAI,CAAC,CAAA;;EAE5D;QACA5Z,WAAW,CAAC4sB,QAAQ,CAAC;EACnB5sB,QAAAA,WAAW,EAAXA,WAAW;EACXwN,QAAAA,KAAK,EAALA,KAAK;EACLyK,QAAAA,KAAK,EAAE,QAAA;EACT,OAAC,CAAC,CAAA;EACFjM,MAAAA,UAAU,CAAChM,WAAW,CAACI,MAAM,CAACiM,IAAI,EAAErM,WAAW,CAACI,MAAM,CAACC,GAAG,CAAC,CAAA;QAE3D,IAAI,CAAC4c,IAAI,EAAE,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAAhN,GAAA,EAAA,KAAA;MAAAxH,KAAA,EAED,SAAAwS,GAAAA,GAAM;EACJ,MAAA,IAAI,CAACjb,WAAW,CAACY,IAAI,EAAE,CAAA;EACvB,MAAA,IAAI,CAACZ,WAAW,CAACib,GAAG,EAAE,CAAA;QACtB,IAAI,CAACgC,IAAI,EAAE,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAAhN,GAAA,EAAA,MAAA;MAAAxH,KAAA,EAED,SAAAwU,IAAAA,GAAO;EACL,MAAA,IAAI,CAACkS,MAAM,GAAG,IAAI,CAACE,SAAS,GAAG,KAAK,CAAA;EACpC,MAAA,IAAI,CAACrvB,WAAW,CAAC4d,UAAU,GAAG,IAAI,CAAA;EAClCZ,MAAAA,GAAG,CAACzY,MAAM,CAAC,IAAI,CAACurB,OAAO,CAAC,CAAA;EAC1B,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAZ,YAAA,CAAA;EAAA,CAAA,EAAA,CAAA;EAGH,SAAS1uB,OAAKA,CAAAK,KAAA,EAAwD;EAAA,EAAA,IAArDb,WAAW,GAAAa,KAAA,CAAXb,WAAW;MAAEwN,KAAK,GAAA3M,KAAA,CAAL2M,KAAK,CAAA;IACjC,IAAI,CAACxN,WAAW,CAAC0hB,YAAY,IAAI1hB,WAAW,CAAC4d,UAAU,EAAE;EACvD,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;IAEA,IAAM0T,OAAO,GAAGtxB,WAAW,CAAC4uB,OAAO,CAACpuB,KAAK,CAACgN,KAAK,CAAC,CAAA;;EAEhD;EACA,EAAA,OAAO8jB,OAAO,GAAG,KAAK,GAAG,IAAI,CAAA;EAC/B,CAAA;;EAEA;EACA;EACA,SAAS3C,MAAMA,CAAChtB,GAAoC,EAAE;EACpD,EAAA,IAAQ3B,WAAW,GAAkB2B,GAAG,CAAhC3B,WAAW;MAAE4Z,WAAW,GAAKjY,GAAG,CAAnBiY,WAAW,CAAA;EAChC,EAAA,IAAM+M,KAAK,GAAG3mB,WAAW,CAAC4uB,OAAO,CAAA;EAEjC,EAAA,IAAI,CAACjI,KAAK,CAACwI,MAAM,EAAE,OAAA;IAEnB,IAAI1wB,OAAO,GAAGmb,WAAmB,CAAA;;EAEjC;EACA,EAAA,OAAO1Y,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EAC1B;EACA,IAAA,IAAIA,OAAO,KAAKuB,WAAW,CAACvB,OAAO,EAAE;EACnCkoB,MAAAA,KAAK,CAACgI,MAAM,CAAChtB,GAAG,CAAC,CAAA;EACjB,MAAA,MAAA;EACF,KAAA;EAEAlD,IAAAA,OAAO,GAAGmO,UAAc,CAACnO,OAAO,CAAC,CAAA;EACnC,GAAA;EACF,CAAA;EAEA,SAASwe,IAAIA,CAAA1H,KAAA,EAAgD;EAAA,EAAA,IAA7CvV,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;EACzB,EAAA,IAAM2mB,KAAK,GAAG3mB,WAAW,CAAC4uB,OAAO,CAAA;IAEjC,IAAIjI,KAAK,CAACwI,MAAM,EAAE;MAChBxI,KAAK,CAAC1J,IAAI,EAAE,CAAA;EACd,GAAA;EACF,CAAA;EAEA,SAAS8S,YAAUA,CAAAzY,KAAA,EAA0C;EAAA,EAAA,IAAvC1V,YAAY,GAAA0V,KAAA,CAAZ1V,YAAY;MAAE3B,QAAQ,GAAAqX,KAAA,CAARrX,QAAQ,CAAA;EAC1C,EAAA,OAAO2B,YAAY,IAAIA,YAAY,CAACX,OAAO,IAAIhB,QAAQ,CAACC,IAAI,IAAI0B,YAAY,CAACX,OAAO,CAAChB,QAAQ,CAACC,IAAI,CAAC,CAAC0uB,OAAO,CAAA;EAC7G,CAAA;EAEA,IAAMA,OAAe,GAAG;EACtBptB,EAAAA,EAAE,EAAE,SAAS;EACbsX,EAAAA,MAAM,EAAE,CAAC,WAAW,EAAE,SAAS,CAAC;EAChC1Z,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE,SAAAsX,eAAAvB,CAAAA,KAAA,EAAqB;EAAA,MAAA,IAAlBxX,WAAW,GAAAwX,KAAA,CAAXxX,WAAW,CAAA;EAChCA,MAAAA,WAAW,CAAC4uB,OAAO,GAAG,IAAIM,YAAY,CAAClvB,WAAW,CAAC,CAAA;OACpD;EAED,IAAA,gCAAgC,EAAEQ,OAAK;EACvC,IAAA,mBAAmB,EAAEmuB,MAAM;EAC3B,IAAA,mBAAmB,EAAE1R,IAAI;EAEzB,IAAA,mCAAmC,EAAE,SAAAsU,8BAAC5vB,CAAAA,GAAG,EAAK;EAC5C,MAAA,IAAQinB,YAAY,GAAKjnB,GAAG,CAAC3B,WAAW,CAAhC4oB,YAAY,CAAA;EAEpBA,MAAAA,YAAY,CAAC3L,IAAI,CAACtb,GAAG,CAAC,CAAA;EACtBinB,MAAAA,YAAY,CAACpoB,KAAK,CAACmB,GAAG,EAAEA,GAAG,CAAC3B,WAAW,CAACI,MAAM,CAACC,GAAG,CAACC,IAAI,CAAC,CAAA;EACxDsoB,MAAAA,YAAY,CAACjB,kBAAkB,CAAChmB,GAAG,CAAC,CAAA;OACrC;MAED,yCAAyC,EAAE,SAAA6vB,oCAAAA,CAAC7vB,GAAG,EAAA;QAAA,OAAKA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAACX,WAAW,CAACtmB,GAAG,CAAC,CAAA;EAAA,KAAA;MACjG,4BAA4B,EAAE6nB,iBAA2B;MACzD,kCAAkC,EAAEA,iBAA2B;MAC/D,wCAAwC,EAAE,SAAAiI,mCAAAA,CAAC9vB,GAAG,EAAA;QAAA,OAC5CA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAACF,wBAAwB,CAAC/mB,GAAG,CAAC,CAAA;EAAA,KAAA;MAC5D,kCAAkC,EAAE,SAAA+vB,6BAAAA,CAAC/vB,GAAG,EAAA;QAAA,OAAKA,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAACF,wBAAwB,CAAC/mB,GAAG,CAAC,CAAA;EAAA,KAAA;EACzG,GAAA;EACF,CAAC,CAAA;;EAED;EACA,SAASgwB,gBAAgBA,CAACjnB,CAAS,EAAEknB,EAAU,EAAEC,EAAU,EAAEC,EAAU,EAAE;EACvE,EAAA,IAAMC,EAAE,GAAG,CAAC,GAAGrnB,CAAC,CAAA;EAChB,EAAA,OAAOqnB,EAAE,GAAGA,EAAE,GAAGH,EAAE,GAAG,CAAC,GAAGG,EAAE,GAAGrnB,CAAC,GAAGmnB,EAAE,GAAGnnB,CAAC,GAAGA,CAAC,GAAGonB,EAAE,CAAA;EACpD,CAAA;EAEA,SAASZ,sBAAsBA,CAC7Bc,MAAc,EACdC,MAAc,EACdC,GAAW,EACXC,GAAW,EACXC,IAAY,EACZC,IAAY,EACZC,QAAgB,EAChB;IACA,OAAO;MACL3xB,CAAC,EAAEgxB,gBAAgB,CAACW,QAAQ,EAAEN,MAAM,EAAEE,GAAG,EAAEE,IAAI,CAAC;MAChD7xB,CAAC,EAAEoxB,gBAAgB,CAACW,QAAQ,EAAEL,MAAM,EAAEE,GAAG,EAAEE,IAAI,CAAA;KAChD,CAAA;EACH,CAAA;;EAEA;EACA,SAAShB,WAAWA,CAAC3mB,CAAS,EAAE6nB,CAAS,EAAEC,CAAS,EAAEC,CAAS,EAAE;EAC/D/nB,EAAAA,CAAC,IAAI+nB,CAAC,CAAA;IACN,OAAO,CAACD,CAAC,GAAG9nB,CAAC,IAAIA,CAAC,GAAG,CAAC,CAAC,GAAG6nB,CAAC,CAAA;EAC7B,CAAA;AAEA,kBAAe3D,OAAO;;EC1atB,SAAS8D,yBAAyBA,CAACllB,KAAU,EAAE/L,SAAqB,EAAE;IAAA,KAAAkJ,IAAAA,GAAA,MAAAA,GAAA,GAC7ClJ,SAAS,CAAAvC,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA7B,IAAA,IAAM8Y,QAAQ,GAAIhiB,SAAS,CAAAkJ,GAAA,CAAb,CAAA;MACjB,IAAI6C,KAAK,CAACqC,2BAA2B,EAAE;EACrC,MAAA,MAAA;EACF,KAAA;MAEA4T,QAAQ,CAACjW,KAAK,CAAC,CAAA;EACjB,GAAA;EACF,CAAA;EAEA,IAAamlB,SAAS,gBAAA,YAAA;IAOpB,SAAAA,SAAAA,CAAY1xB,OAAkC,EAAE;EAAA2O,IAAAA,eAAA,OAAA+iB,SAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CANhD1xB,OAAO,GAAA,KAAA,CAAA,CAAA;MAAA,IACPokB,CAAAA,KAAK,GAAwB,EAAE,CAAA;MAAA,IAC/BvV,CAAAA,kBAAkB,GAAG,KAAK,CAAA;MAAA,IAC1BD,CAAAA,2BAA2B,GAAG,KAAK,CAAA;EAAA,IAAA,IAAA,CACnC8L,MAAM,GAAA,KAAA,CAAA,CAAA;EAGJ,IAAA,IAAI,CAAC1a,OAAO,GAAG0H,MAAM,CAAC,EAAE,EAAE1H,OAAO,IAAI,EAAE,CAAC,CAAA;EAC1C,GAAA;EAAC+O,EAAAA,YAAA,CAAA2iB,SAAA,EAAA,CAAA;MAAA1iB,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAsJ,IAA+DvE,CAAAA,KAAQ,EAAE;EACvE,MAAA,IAAI/L,SAAqB,CAAA;EACzB,MAAA,IAAMka,MAAM,GAAG,IAAI,CAACA,MAAM,CAAA;;EAE1B;EACA;QACA,IAAKla,SAAS,GAAG,IAAI,CAAC4jB,KAAK,CAAC7X,KAAK,CAACnL,IAAI,CAAC,EAAG;EACxCqwB,QAAAA,yBAAyB,CAACllB,KAAK,EAAE/L,SAAS,CAAC,CAAA;EAC7C,OAAA;;EAEA;EACA,MAAA,IAAI,CAAC+L,KAAK,CAACsC,kBAAkB,IAAI6L,MAAM,KAAKla,SAAS,GAAGka,MAAM,CAACnO,KAAK,CAACnL,IAAI,CAAC,CAAC,EAAE;EAC3EqwB,QAAAA,yBAAyB,CAACllB,KAAK,EAAE/L,SAAS,CAAC,CAAA;EAC7C,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAAwO,GAAA,EAAA,IAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAyN,EAAAA,CAAG7T,IAAY,EAAEohB,QAAsB,EAAE;EACvC,MAAA,IAAMhiB,SAAS,GAAG0I,SAAS,CAAC9H,IAAI,EAAEohB,QAAQ,CAAC,CAAA;QAE3C,KAAKphB,IAAI,IAAIZ,SAAS,EAAE;UACtB,IAAI,CAAC4jB,KAAK,CAAChjB,IAAI,CAAC,GAAGwP,KAAS,CAAC,IAAI,CAACwT,KAAK,CAAChjB,IAAI,CAAC,IAAI,EAAE,EAAEZ,SAAS,CAACY,IAAI,CAAC,CAAC,CAAA;EACvE,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAA4N,GAAA,EAAA,KAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAwN,GAAAA,CAAI5T,IAAY,EAAEohB,QAAsB,EAAE;EACxC,MAAA,IAAMhiB,SAAS,GAAG0I,SAAS,CAAC9H,IAAI,EAAEohB,QAAQ,CAAC,CAAA;QAE3C,KAAKphB,IAAI,IAAIZ,SAAS,EAAE;EACtB,QAAA,IAAMmxB,SAAS,GAAG,IAAI,CAACvN,KAAK,CAAChjB,IAAI,CAAC,CAAA;EAElC,QAAA,IAAI,CAACuwB,SAAS,IAAI,CAACA,SAAS,CAAC1zB,MAAM,EAAE;EACnC,UAAA,SAAA;EACF,SAAA;EAAC,QAAA,KAAA,IAAAqU,GAAA,GAAAsf,CAAAA,EAAAA,gBAAA,GAEyBpxB,SAAS,CAACY,IAAI,CAAC,EAAAkR,GAAA,GAAAsf,gBAAA,CAAA3zB,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAAtC,UAAA,IAAMuf,WAAW,GAAAD,gBAAA,CAAAtf,GAAA,CAAA,CAAA;EACpB,UAAA,IAAM3B,MAAK,GAAGghB,SAAS,CAAClnB,OAAO,CAAConB,WAAW,CAAC,CAAA;EAE5C,UAAA,IAAIlhB,MAAK,KAAK,CAAC,CAAC,EAAE;EAChBghB,YAAAA,SAAS,CAACzzB,MAAM,CAACyS,MAAK,EAAE,CAAC,CAAC,CAAA;EAC5B,WAAA;EACF,SAAA;EACF,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAA3B,GAAA,EAAA,SAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAS,OAAQ6pB,CAAAA,QAAiB,EAAQ;EAC/B,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAJ,SAAA,CAAA;EAAA,CAAA,EAAA;;EChDH,SAASvzB,SAAOA,CAACC,KAAY,EAAE;EAAA,EAAA,IAAA2zB,eAAA,CAAA;IAC7B,IAAMC,OAGJ,GAAG,EAAE,CAAA;IAEP,IAAMC,eAML,GAAG,EAAE,CAAA;IACN,IAAMC,SAAqB,GAAG,EAAE,CAAA;EAEhC,EAAA,IAAMC,aAAa,GAAG;EACpBC,IAAAA,GAAG,EAAHA,GAAG;EACHhjB,IAAAA,MAAM,EAANA,MAAM;EAENijB,IAAAA,WAAW,EAAXA,WAAW;EACXC,IAAAA,cAAc,EAAdA,cAAc;EAEdC,IAAAA,gBAAgB,EAAhBA,gBAAgB;EAChBC,IAAAA,kBAAkB,EAAlBA,kBAAkB;EAClBP,IAAAA,eAAe,EAAfA,eAAe;EACfC,IAAAA,SAAS,EAATA,SAAS;EAETF,IAAAA,OAAO,EAAPA,OAAO;EAEPS,IAAAA,eAAe,EAAE,KAAK;EACtBxQ,IAAAA,eAAe,EAAE,KAAA;KAClB,CAAA;;EAED;EACA,EAAA,CAAA8P,eAAA,GAAA3zB,KAAK,CAAC7B,QAAQ,KAAA,IAAA,GAAA,KAAA,CAAA,GAAdw1B,eAAA,CAAgBW,aAAa,CAAC,KAAK,CAAC,CAACjP,gBAAgB,CAAC,MAAM,EAAE,IAAI,EAAE;MAClE,IAAIkP,OAAOA,GAAG;EACZ,MAAA,OAAQR,aAAa,CAACM,eAAe,GAAG,IAAI,CAAA;OAC7C;MACD,IAAIpQ,OAAOA,GAAG;EACZ,MAAA,OAAQ8P,aAAa,CAAClQ,eAAe,GAAG,IAAI,CAAA;EAC9C,KAAA;EACF,GAAC,CAAC,CAAA;IAEF7jB,KAAK,CAACoS,MAAM,GAAG2hB,aAAa,CAAA;IAE5B,SAASC,GAAGA,CACVzZ,WAA+B,EAC/BvX,IAAY,EACZohB,QAA+B,EAC/BoQ,WAAoC,EACpC;EACA,IAAA,IAAI,CAACja,WAAW,CAAC8K,gBAAgB,EAAE,OAAA;EAEnC,IAAA,IAAMzjB,OAAO,GAAG8uB,UAAU,CAAC8D,WAAW,CAAC,CAAA;MACvC,IAAI5qB,MAAM,GAAG4I,IAAQ,CAACohB,OAAO,EAAE,UAACvoB,CAAC,EAAA;EAAA,MAAA,OAAKA,CAAC,CAACkP,WAAW,KAAKA,WAAW,CAAA;OAAC,CAAA,CAAA;MAEpE,IAAI,CAAC3Q,MAAM,EAAE;EACXA,MAAAA,MAAM,GAAG;EACP2Q,QAAAA,WAAW,EAAXA,WAAW;EACXnI,QAAAA,MAAM,EAAE,EAAC;SACV,CAAA;EAEDwhB,MAAAA,OAAO,CAAC1qB,IAAI,CAACU,MAAM,CAAC,CAAA;EACtB,KAAA;EAEA,IAAA,IAAI,CAACA,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,EAAE;EACxB4G,MAAAA,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,GAAG,EAAE,CAAA;EAC1B,KAAA;EAEA,IAAA,IAAI,CAACwP,IAAQ,CAAC5I,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,EAAE,UAACwI,CAAC,EAAA;EAAA,MAAA,OAAKA,CAAC,CAACxM,IAAI,KAAKolB,QAAQ,IAAIqQ,YAAY,CAACjpB,CAAC,CAAC5J,OAAO,EAAEA,OAAO,CAAC,CAAA;EAAA,KAAA,CAAC,EAAE;EAClG2Y,MAAAA,WAAW,CAAC8K,gBAAgB,CAC1BriB,IAAI,EACJohB,QAAQ,EACR2P,aAAa,CAACM,eAAe,GAAGzyB,OAAO,GAAGA,OAAO,CAAC2yB,OACpD,CAAC,CAAA;EACD3qB,MAAAA,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,CAACkG,IAAI,CAAC;EAAElK,QAAAA,IAAI,EAAEolB,QAAQ;EAAExiB,QAAAA,OAAO,EAAPA,OAAAA;EAAQ,OAAC,CAAC,CAAA;EACvD,KAAA;EACF,GAAA;IAEA,SAASoP,MAAMA,CACbuJ,WAA+B,EAC/BvX,IAAY,EACZohB,QAAwC,EACxCoQ,WAAoC,EACpC;MACA,IAAI,CAACja,WAAW,CAAC8K,gBAAgB,IAAI,CAAC9K,WAAW,CAACma,mBAAmB,EAAE,OAAA;MAEvE,IAAMC,WAAW,GAAGniB,SAAa,CAACohB,OAAO,EAAE,UAACvoB,CAAC,EAAA;EAAA,MAAA,OAAKA,CAAC,CAACkP,WAAW,KAAKA,WAAW,CAAA;OAAC,CAAA,CAAA;EAChF,IAAA,IAAM3Q,MAAM,GAAGgqB,OAAO,CAACe,WAAW,CAAC,CAAA;EAEnC,IAAA,IAAI,CAAC/qB,MAAM,IAAI,CAACA,MAAM,CAACwI,MAAM,EAAE;EAC7B,MAAA,OAAA;EACF,KAAA;MAEA,IAAIpP,IAAI,KAAK,KAAK,EAAE;EAClB,MAAA,KAAKA,IAAI,IAAI4G,MAAM,CAACwI,MAAM,EAAE;UAC1B,IAAIxI,MAAM,CAACwI,MAAM,CAACwiB,cAAc,CAAC5xB,IAAI,CAAC,EAAE;EACtCgO,UAAAA,MAAM,CAACuJ,WAAW,EAAEvX,IAAI,EAAE,KAAK,CAAC,CAAA;EAClC,SAAA;EACF,OAAA;EACA,MAAA,OAAA;EACF,KAAA;MAEA,IAAI6xB,WAAW,GAAG,KAAK,CAAA;EACvB,IAAA,IAAMC,aAAa,GAAGlrB,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,CAAA;EAEzC,IAAA,IAAI8xB,aAAa,EAAE;QACjB,IAAI1Q,QAAQ,KAAK,KAAK,EAAE;EACtB,QAAA,KAAK,IAAIle,CAAC,GAAG4uB,aAAa,CAACj1B,MAAM,GAAG,CAAC,EAAEqG,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;EAClD,UAAA,IAAM6uB,KAAK,GAAGD,aAAa,CAAC5uB,CAAC,CAAC,CAAA;EAC9B8K,UAAAA,MAAM,CAACuJ,WAAW,EAAEvX,IAAI,EAAE+xB,KAAK,CAAC/1B,IAAI,EAAE+1B,KAAK,CAACnzB,OAAO,CAAC,CAAA;EACtD,SAAA;EACA,QAAA,OAAA;EACF,OAAC,MAAM;EACL,QAAA,IAAMA,OAAO,GAAG8uB,UAAU,CAAC8D,WAAW,CAAC,CAAA;EAEvC,QAAA,KAAK,IAAItuB,EAAC,GAAG,CAAC,EAAEA,EAAC,GAAG4uB,aAAa,CAACj1B,MAAM,EAAEqG,EAAC,EAAE,EAAE;EAC7C,UAAA,IAAM6uB,MAAK,GAAGD,aAAa,CAAC5uB,EAAC,CAAC,CAAA;EAC9B,UAAA,IAAI6uB,MAAK,CAAC/1B,IAAI,KAAKolB,QAAQ,IAAIqQ,YAAY,CAACM,MAAK,CAACnzB,OAAO,EAAEA,OAAO,CAAC,EAAE;EACnE2Y,YAAAA,WAAW,CAACma,mBAAmB,CAC7B1xB,IAAI,EACJohB,QAAQ,EACR2P,aAAa,CAACM,eAAe,GAAGzyB,OAAO,GAAGA,OAAO,CAAC2yB,OACpD,CAAC,CAAA;EACDO,YAAAA,aAAa,CAACh1B,MAAM,CAACoG,EAAC,EAAE,CAAC,CAAC,CAAA;EAE1B,YAAA,IAAI4uB,aAAa,CAACj1B,MAAM,KAAK,CAAC,EAAE;EAC9B,cAAA,OAAO+J,MAAM,CAACwI,MAAM,CAACpP,IAAI,CAAC,CAAA;EAC1B6xB,cAAAA,WAAW,GAAG,IAAI,CAAA;EACpB,aAAA;EAEA,YAAA,MAAA;EACF,WAAA;EACF,SAAA;EACF,OAAA;EACF,KAAA;EAEA,IAAA,IAAIA,WAAW,IAAI,CAACvoB,MAAM,CAACiK,IAAI,CAAC3M,MAAM,CAACwI,MAAM,CAAC,CAACvS,MAAM,EAAE;EACrD+zB,MAAAA,OAAO,CAAC9zB,MAAM,CAAC60B,WAAW,EAAE,CAAC,CAAC,CAAA;EAChC,KAAA;EACF,GAAA;IAEA,SAASV,WAAWA,CAClBxuB,QAAgB,EAChBuvB,OAAa,EACbhyB,IAAY,EACZohB,QAA+B,EAC/BoQ,WAAiB,EACjB;EACA,IAAA,IAAM5yB,OAAO,GAAG8uB,UAAU,CAAC8D,WAAW,CAAC,CAAA;EACvC,IAAA,IAAI,CAACX,eAAe,CAAC7wB,IAAI,CAAC,EAAE;EAC1B6wB,MAAAA,eAAe,CAAC7wB,IAAI,CAAC,GAAG,EAAE,CAAA;;EAE1B;QAAA,KAAAiyB,IAAAA,GAAA,MAAAA,GAAA,GACkBnB,SAAS,CAAAj0B,MAAA,EAAAo1B,GAAA,EAAE,EAAA;EAAxB,QAAA,IAAMnR,GAAG,GAAIgQ,SAAS,CAAAmB,GAAA,CAAb,CAAA;EACZjB,QAAAA,GAAG,CAAClQ,GAAG,EAAE9gB,IAAI,EAAEmxB,gBAAgB,CAAC,CAAA;UAChCH,GAAG,CAAClQ,GAAG,EAAE9gB,IAAI,EAAEoxB,kBAAkB,EAAE,IAAI,CAAC,CAAA;EAC1C,OAAA;EACF,KAAA;EAEA,IAAA,IAAMc,SAAS,GAAGrB,eAAe,CAAC7wB,IAAI,CAAC,CAAA;MACvC,IAAImyB,QAAQ,GAAG3iB,IAAQ,CAAC0iB,SAAS,EAAE,UAAC9B,CAAC,EAAA;QAAA,OAAKA,CAAC,CAAC3tB,QAAQ,KAAKA,QAAQ,IAAI2tB,CAAC,CAAC4B,OAAO,KAAKA,OAAO,CAAA;OAAC,CAAA,CAAA;MAE3F,IAAI,CAACG,QAAQ,EAAE;EACbA,MAAAA,QAAQ,GAAG;EAAE1vB,QAAAA,QAAQ,EAARA,QAAQ;EAAEuvB,QAAAA,OAAO,EAAPA,OAAO;EAAE5yB,QAAAA,SAAS,EAAE,EAAA;SAAI,CAAA;EAC/C8yB,MAAAA,SAAS,CAAChsB,IAAI,CAACisB,QAAQ,CAAC,CAAA;EAC1B,KAAA;EAEAA,IAAAA,QAAQ,CAAC/yB,SAAS,CAAC8G,IAAI,CAAC;EAAElK,MAAAA,IAAI,EAAEolB,QAAQ;EAAExiB,MAAAA,OAAO,EAAPA,OAAAA;EAAQ,KAAC,CAAC,CAAA;EACtD,GAAA;IAEA,SAASsyB,cAAcA,CACrBzuB,QAAgB,EAChBuvB,OAA2B,EAC3BhyB,IAAY,EACZohB,QAAgC,EAChCoQ,WAAiB,EACjB;EACA,IAAA,IAAM5yB,OAAO,GAAG8uB,UAAU,CAAC8D,WAAW,CAAC,CAAA;EACvC,IAAA,IAAMU,SAAS,GAAGrB,eAAe,CAAC7wB,IAAI,CAAC,CAAA;MACvC,IAAIoyB,UAAU,GAAG,KAAK,CAAA;EACtB,IAAA,IAAI7iB,KAAa,CAAA;MAEjB,IAAI,CAAC2iB,SAAS,EAAE,OAAA;;EAEhB;EACA,IAAA,KAAK3iB,KAAK,GAAG2iB,SAAS,CAACr1B,MAAM,GAAG,CAAC,EAAE0S,KAAK,IAAI,CAAC,EAAEA,KAAK,EAAE,EAAE;EACtD,MAAA,IAAMvR,GAAG,GAAGk0B,SAAS,CAAC3iB,KAAK,CAAC,CAAA;EAC5B;QACA,IAAIvR,GAAG,CAACyE,QAAQ,KAAKA,QAAQ,IAAIzE,GAAG,CAACg0B,OAAO,KAAKA,OAAO,EAAE;EACxD,QAAA,IAAQ5yB,SAAS,GAAKpB,GAAG,CAAjBoB,SAAS,CAAA;;EAEjB;EACA,QAAA,KAAK,IAAI8D,CAAC,GAAG9D,SAAS,CAACvC,MAAM,GAAG,CAAC,EAAEqG,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;EAC9C,UAAA,IAAM6uB,KAAK,GAAG3yB,SAAS,CAAC8D,CAAC,CAAC,CAAA;;EAE1B;EACA,UAAA,IAAI6uB,KAAK,CAAC/1B,IAAI,KAAKolB,QAAQ,IAAIqQ,YAAY,CAACM,KAAK,CAACnzB,OAAO,EAAEA,OAAO,CAAC,EAAE;EACnE;EACAQ,YAAAA,SAAS,CAACtC,MAAM,CAACoG,CAAC,EAAE,CAAC,CAAC,CAAA;;EAEtB;EACA;EACA,YAAA,IAAI,CAAC9D,SAAS,CAACvC,MAAM,EAAE;EACrBq1B,cAAAA,SAAS,CAACp1B,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;;EAE1B;EACAvB,cAAAA,MAAM,CAACgkB,OAAO,EAAEhyB,IAAI,EAAEmxB,gBAAgB,CAAC,CAAA;gBACvCnjB,MAAM,CAACgkB,OAAO,EAAEhyB,IAAI,EAAEoxB,kBAAkB,EAAE,IAAI,CAAC,CAAA;EACjD,aAAA;;EAEA;EACAgB,YAAAA,UAAU,GAAG,IAAI,CAAA;EACjB,YAAA,MAAA;EACF,WAAA;EACF,SAAA;EAEA,QAAA,IAAIA,UAAU,EAAE;EACd,UAAA,MAAA;EACF,SAAA;EACF,OAAA;EACF,KAAA;EACF,GAAA;;EAEA;EACA;EACA,EAAA,SAASjB,gBAAgBA,CAAChmB,KAAwB,EAAEqmB,WAAiB,EAAE;EACrE,IAAA,IAAM5yB,OAAO,GAAG8uB,UAAU,CAAC8D,WAAW,CAAC,CAAA;EACvC,IAAA,IAAMa,SAAS,GAAG,IAAIC,SAAS,CAACnnB,KAAc,CAAC,CAAA;EAC/C,IAAA,IAAM+mB,SAAS,GAAGrB,eAAe,CAAC1lB,KAAK,CAACnL,IAAI,CAAC,CAAA;EAC7C,IAAA,IAAAuyB,qBAAA,GAAsB/d,eAA4B,CAACrJ,KAAc,CAAC;EAA3DoM,MAAAA,WAAW,GAAAgb,qBAAA,CAAA,CAAA,CAAA,CAAA;MAClB,IAAIn2B,OAAa,GAAGmb,WAAW,CAAA;;EAE/B;EACA,IAAA,OAAO1Y,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EAC1B,MAAA,KAAK,IAAI8G,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAGgvB,SAAS,CAACr1B,MAAM,EAAEqG,CAAC,EAAE,EAAE;EACzC,QAAA,IAAMlF,GAAG,GAAGk0B,SAAS,CAAChvB,CAAC,CAAC,CAAA;EACxB,QAAA,IAAQT,QAAQ,GAAczE,GAAG,CAAzByE,QAAQ;YAAEuvB,OAAO,GAAKh0B,GAAG,CAAfg0B,OAAO,CAAA;UAEzB,IACE/kB,eAAwB,CAAC7Q,OAAO,EAAEqG,QAAQ,CAAC,IAC3CwK,YAAqB,CAAC+kB,OAAO,EAAEza,WAAW,CAAC,IAC3CtK,YAAqB,CAAC+kB,OAAO,EAAE51B,OAAO,CAAC,EACvC;EACA,UAAA,IAAQgD,SAAS,GAAKpB,GAAG,CAAjBoB,SAAS,CAAA;YAEjBizB,SAAS,CAACnlB,aAAa,GAAG9Q,OAAO,CAAA;YAAA,KAAAo2B,IAAAA,GAAA,MAAAA,GAAA,GAEbpzB,SAAS,CAAAvC,MAAA,EAAA21B,GAAA,EAAE,EAAA;EAA1B,YAAA,IAAMT,KAAK,GAAI3yB,SAAS,CAAAozB,GAAA,CAAb,CAAA;cACd,IAAIf,YAAY,CAACM,KAAK,CAACnzB,OAAO,EAAEA,OAAO,CAAC,EAAE;EACxCmzB,cAAAA,KAAK,CAAC/1B,IAAI,CAACq2B,SAAS,CAAC,CAAA;EACvB,aAAA;EACF,WAAA;EACF,SAAA;EACF,OAAA;EAEAj2B,MAAAA,OAAO,GAAG6Q,UAAmB,CAAC7Q,OAAO,CAAC,CAAA;EACxC,KAAA;EACF,GAAA;IAEA,SAASg1B,kBAAkBA,CAAgBjmB,KAAwB,EAAE;MACnE,OAAOgmB,gBAAgB,CAACriB,IAAI,CAAC,IAAI,EAAE3D,KAAK,EAAE,IAAI,CAAC,CAAA;EACjD,GAAA;;EAEA;EACA,EAAA,OAAO4lB,aAAa,CAAA;EACtB,CAAA;EAAC,IAEKuB,SAAS,gBAAA,YAAA;IAKb,SAAAA,SAAAA,CAAYG,aAAoB,EAAE;EAAAllB,IAAAA,eAAA,OAAA+kB,SAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CAJlCplB,aAAa,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACbulB,aAAa,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACbzyB,IAAI,GAAA,KAAA,CAAA,CAAA;MAGF,IAAI,CAACyyB,aAAa,GAAGA,aAAa,CAAA;EAClC;EACAC,IAAAA,aAAO,CAAC,IAAI,EAAED,aAAa,CAAC,CAAA;EAC9B,GAAA;EAAC9kB,EAAAA,YAAA,CAAA2kB,SAAA,EAAA,CAAA;MAAA1kB,GAAA,EAAA,wBAAA;MAAAxH,KAAA,EAED,SAAAusB,sBAAAA,GAAyB;EACvB,MAAA,IAAI,CAACF,aAAa,CAACplB,cAAc,EAAE,CAAA;EACrC,KAAA;EAAC,GAAA,EAAA;MAAAO,GAAA,EAAA,iBAAA;MAAAxH,KAAA,EAED,SAAAyH,eAAAA,GAAkB;EAChB,MAAA,IAAI,CAAC4kB,aAAa,CAAC5kB,eAAe,EAAE,CAAA;EACtC,KAAA;EAAC,GAAA,EAAA;MAAAD,GAAA,EAAA,0BAAA;MAAAxH,KAAA,EAED,SAAA0H,wBAAAA,GAA2B;EACzB,MAAA,IAAI,CAAC2kB,aAAa,CAAC3kB,wBAAwB,EAAE,CAAA;EAC/C,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAAwkB,SAAA,CAAA;EAAA,CAAA,EAAA,CAAA;EAGH,SAAS5E,UAAUA,CAACkF,KAAyC,EAA0C;EACrG,EAAA,IAAI,CAAC/zB,EAAE,CAAChD,MAAM,CAAC+2B,KAAK,CAAC,EAAE;MACrB,OAAO;QAAErB,OAAO,EAAE,CAAC,CAACqB,KAAK;EAAE3R,MAAAA,OAAO,EAAE,KAAA;OAAO,CAAA;EAC7C,GAAA;IAEA,OAAO;EACLsQ,IAAAA,OAAO,EAAE,CAAC,CAACqB,KAAK,CAACrB,OAAO;EACxBtQ,IAAAA,OAAO,EAAE,CAAC,CAAC2R,KAAK,CAAC3R,OAAAA;KAClB,CAAA;EACH,CAAA;EAEA,SAASwQ,YAAYA,CAACoB,CAAkC,EAAE3C,CAAwB,EAAE;EAClF,EAAA,IAAI2C,CAAC,KAAK3C,CAAC,EAAE,OAAO,IAAI,CAAA;IAExB,IAAI,OAAO2C,CAAC,KAAK,SAAS,EAAE,OAAO,CAAC,CAAC3C,CAAC,CAACqB,OAAO,KAAKsB,CAAC,IAAI,CAAC,CAAC3C,CAAC,CAACjP,OAAO,KAAK,KAAK,CAAA;IAE7E,OAAO,CAAC,CAAC4R,CAAC,CAACtB,OAAO,KAAK,CAAC,CAACrB,CAAC,CAACqB,OAAO,IAAI,CAAC,CAACsB,CAAC,CAAC5R,OAAO,KAAK,CAAC,CAACiP,CAAC,CAACjP,OAAO,CAAA;EACnE,CAAA;AAEA,eAAe;EACb9hB,EAAAA,EAAE,EAAE,QAAQ;EACZpC,EAAAA,OAAO,EAAPA,SAAAA;EACF,CAAC;;ECpUD,IAAM+1B,MAAM,GAAG;IACbC,WAAW,EAAE,CAAC,kBAAkB,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,CAAU;IAE9E9yB,MAAM,EAAA,SAAAA,MAAC+yB,CAAAA,OAAsB,EAAE;EAAA,IAAA,KAAA,IAAA1qB,GAAA,GAAA,CAAA,EAAA2qB,oBAAA,GACRH,MAAM,CAACC,WAAW,EAAAzqB,GAAA,GAAA2qB,oBAAA,CAAAp2B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAApC,MAAA,IAAMwT,MAAM,GAAAmX,oBAAA,CAAA3qB,GAAA,CAAA,CAAA;QACf,IAAM3K,WAAW,GAAGm1B,MAAM,CAAChX,MAAM,CAAC,CAACkX,OAAO,CAAC,CAAA;EAE3C,MAAA,IAAIr1B,WAAW,EAAE;EACf,QAAA,OAAOA,WAAW,CAAA;EACpB,OAAA;EACF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ;EAED;IACAu1B,gBAAgB,EAAA,SAAAA,gBAAAx1B,CAAAA,IAAA,EAAgE;EAAA,IAAA,IAA7DiC,WAAW,GAAAjC,IAAA,CAAXiC,WAAW;QAAE0hB,SAAS,GAAA3jB,IAAA,CAAT2jB,SAAS;QAAE9J,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW;QAAEva,KAAK,GAAAU,IAAA,CAALV,KAAK,CAAA;EAC3D,IAAA,IAAI,CAAC,aAAa,CAACV,IAAI,CAAC+kB,SAAS,CAAC,EAAE;EAClC,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,IAAA,KAAA,IAAAnQ,GAAA,GAAA4N,CAAAA,EAAAA,sBAAA,GAEyB9hB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAE,GAAA,GAAA4N,sBAAA,CAAAjiB,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAA9C,MAAA,IAAMvT,WAAW,GAAAmhB,sBAAA,CAAA5N,GAAA,CAAA,CAAA;QACpB,IAAI9U,OAAO,GAAGmb,WAAmB,CAAA;EAEjC,MAAA,IACE5Z,WAAW,CAAC4d,UAAU,IACtB5d,WAAW,CAAC4d,UAAU,CAACoR,WAAW,IAClChvB,WAAW,CAACgC,WAAW,KAAKA,WAAW,EACvC;EACA,QAAA,OAAOvD,OAAO,EAAE;EACd;EACA,UAAA,IAAIA,OAAO,KAAKuB,WAAW,CAACvB,OAAO,EAAE;EACnC,YAAA,OAAOuB,WAAW,CAAA;EACpB,WAAA;EACAvB,UAAAA,OAAO,GAAGmO,UAAc,CAACnO,OAAO,CAAC,CAAA;EACnC,SAAA;EACF,OAAA;EACF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ;EAED;IACA+2B,UAAU,EAAA,SAAAA,UAAA30B,CAAAA,KAAA,EAA8D;EAAA,IAAA,IAA3DqM,SAAS,GAAArM,KAAA,CAATqM,SAAS;QAAElL,WAAW,GAAAnB,KAAA,CAAXmB,WAAW;QAAE0hB,SAAS,GAAA7iB,KAAA,CAAT6iB,SAAS;QAAErkB,KAAK,GAAAwB,KAAA,CAALxB,KAAK,CAAA;EACnD,IAAA,IAAI2C,WAAW,KAAK,OAAO,IAAIA,WAAW,KAAK,KAAK,EAAE;EACpD,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,IAAIyzB,cAAc,CAAA;EAAA,IAAA,KAAA,IAAA7hB,GAAA,GAAA8hB,CAAAA,EAAAA,sBAAA,GAEQr2B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAO,GAAA,GAAA8hB,sBAAA,CAAAx2B,MAAA,EAAA0U,GAAA,EAAE,EAAA;EAA9C,MAAA,IAAM5T,WAAW,GAAA01B,sBAAA,CAAA9hB,GAAA,CAAA,CAAA;EACpB,MAAA,IAAI5T,WAAW,CAACgC,WAAW,KAAKA,WAAW,EAAE;EAC3C;UACA,IAAIhC,WAAW,CAAC4d,UAAU,IAAI,CAAC+X,YAAY,CAAC31B,WAAW,EAAEkN,SAAS,CAAC,EAAE;EACnE,UAAA,SAAA;EACF,SAAA;;EAEA;EACA,QAAA,IAAIlN,WAAW,CAAC2d,WAAW,EAAE,EAAE;EAC7B,UAAA,OAAO3d,WAAW,CAAA;EACpB,SAAA;EACA;eACK,IAAI,CAACy1B,cAAc,EAAE;EACxBA,UAAAA,cAAc,GAAGz1B,WAAW,CAAA;EAC9B,SAAA;EACF,OAAA;EACF,KAAC;EAGD;EACA,IAAA,IAAIy1B,cAAc,EAAE;EAClB,MAAA,OAAOA,cAAc,CAAA;EACvB,KAAA;;EAEA;EACA;EACA;EAAA,IAAA,KAAA,IAAAvhB,GAAA,GAAA0hB,CAAAA,EAAAA,sBAAA,GAC0Bv2B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAa,GAAA,GAAA0hB,sBAAA,CAAA12B,MAAA,EAAAgV,GAAA,EAAE,EAAA;EAA9C,MAAA,IAAMlU,YAAW,GAAA41B,sBAAA,CAAA1hB,GAAA,CAAA,CAAA;EACpB,MAAA,IAAIlU,YAAW,CAACgC,WAAW,KAAKA,WAAW,IAAI,EAAE,OAAO,CAACrD,IAAI,CAAC+kB,SAAS,CAAC,IAAI1jB,YAAW,CAAC4d,UAAU,CAAC,EAAE;EACnG,QAAA,OAAO5d,YAAW,CAAA;EACpB,OAAA;EACF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ;EAED;IACA61B,UAAU,EAAA,SAAAA,UAAAtgB,CAAAA,KAAA,EAAsC;EAAA,IAAA,IAAnCrI,SAAS,GAAAqI,KAAA,CAATrI,SAAS;QAAE7N,KAAK,GAAAkW,KAAA,CAALlW,KAAK,CAAA;EAAA,IAAA,KAAA,IAAAkV,IAAA,GAAAuhB,CAAAA,EAAAA,sBAAA,GACDz2B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAkB,IAAA,GAAAuhB,sBAAA,CAAA52B,MAAA,EAAAqV,IAAA,EAAE,EAAA;EAA9C,MAAA,IAAMvU,WAAW,GAAA81B,sBAAA,CAAAvhB,IAAA,CAAA,CAAA;EACpB,MAAA,IAAIohB,YAAY,CAAC31B,WAAW,EAAEkN,SAAS,CAAC,EAAE;EACxC,QAAA,OAAOlN,WAAW,CAAA;EACpB,OAAA;EACF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ;EAED;IACA+1B,IAAI,EAAA,SAAAA,IAAAze,CAAAA,KAAA,EAAwC;EAAA,IAAA,IAArCtV,WAAW,GAAAsV,KAAA,CAAXtV,WAAW;QAAE3C,KAAK,GAAAiY,KAAA,CAALjY,KAAK,CAAA;EAAA,IAAA,KAAA,IAAA0pB,IAAA,GAAAiN,CAAAA,EAAAA,uBAAA,GACG32B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAA0V,IAAA,GAAAiN,uBAAA,CAAA92B,MAAA,EAAA6pB,IAAA,EAAE,EAAA;EAA9C,MAAA,IAAM/oB,WAAW,GAAAg2B,uBAAA,CAAAjN,IAAA,CAAA,CAAA;EACpB;EACA,MAAA,IAAI/oB,WAAW,CAACqN,QAAQ,CAACnO,MAAM,KAAK,CAAC,EAAE;EACrC,QAAA,IAAM+J,MAAM,GAAGjJ,WAAW,CAAC4B,YAAY,CAAA;EACvC;EACA;EACA,QAAA,IAAIqH,MAAM,IAAI,EAAEA,MAAM,CAAChI,OAAO,CAAC8W,OAAO,IAAI9O,MAAM,CAAChI,OAAO,CAAC8W,OAAO,CAAC5W,OAAO,CAAC,EAAE;EACzE,UAAA,SAAA;EACF,SAAA;EACF,OAAA;EACA;aACK,IAAInB,WAAW,CAACqN,QAAQ,CAACnO,MAAM,IAAI,CAAC,EAAE;EACzC,QAAA,SAAA;EACF,OAAA;EAEA,MAAA,IAAI,CAACc,WAAW,CAAC2d,WAAW,EAAE,IAAI3b,WAAW,KAAKhC,WAAW,CAACgC,WAAW,EAAE;EACzE,QAAA,OAAOhC,WAAW,CAAA;EACpB,OAAA;EACF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EACF,CAAC,CAAA;EAED,SAAS21B,YAAYA,CAAC31B,WAAwB,EAAEkN,SAAiB,EAAE;EACjE,EAAA,OAAOlN,WAAW,CAACqN,QAAQ,CAAC5B,IAAI,CAAC,UAAA+L,KAAA,EAAA;EAAA,IAAA,IAAGhW,EAAE,GAAAgW,KAAA,CAAFhW,EAAE,CAAA;MAAA,OAAOA,EAAE,KAAK0L,SAAS,CAAA;KAAC,CAAA,CAAA;EAChE,CAAA;AAEA,iBAAeioB,MAAM;;EC1GrB,IAAMc,WAAW,GAAG,CAClB,aAAa,EACb,aAAa,EACb,WAAW,EACX,eAAe,EACf,eAAe,EACf,YAAY,CACb,CAAA;EAED,SAAS72B,SAAOA,CAACC,KAAY,EAAE;IAC7B,IAAMoC,SAAS,GAAG,EAAS,CAAA;IAAA,KAAAkJ,IAAAA,GAAA,MAAAA,GAAA,GAENsrB,WAAW,CAAA/2B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA7B,IAAA,IAAMwT,MAAM,GAAI8X,WAAW,CAAAtrB,GAAA,CAAf,CAAA;MACflJ,SAAS,CAAC0c,MAAM,CAAC,GAAG+X,gBAAgB,CAAC/X,MAAM,EAAE9e,KAAK,CAAC,CAAA;EACrD,GAAA;EAEA,EAAA,IAAMqE,WAAW,GAAGR,SAAO,CAACQ,WAAW,CAAA;EACvC,EAAA,IAAI8f,SAA8C,CAAA;IAElD,IAAIjhB,YAAU,CAACQ,YAAY,EAAE;EAC3BygB,IAAAA,SAAS,GAAG,CACV;QAAEnhB,IAAI,EAAEqB,WAAW,CAACU,IAAI;EAAEqf,MAAAA,QAAQ,EAAE0S,2BAAAA;EAA4B,KAAC,EACjE;QAAE9zB,IAAI,EAAEqB,WAAW,CAACU,IAAI;QAAEqf,QAAQ,EAAEhiB,SAAS,CAAC+qB,WAAAA;EAAY,KAAC,EAC3D;QAAEnqB,IAAI,EAAEqB,WAAW,CAAC9C,IAAI;QAAE6iB,QAAQ,EAAEhiB,SAAS,CAACorB,WAAAA;EAAY,KAAC,EAC3D;QAAExqB,IAAI,EAAEqB,WAAW,CAACS,EAAE;QAAEsf,QAAQ,EAAEhiB,SAAS,CAACwrB,SAAAA;EAAU,KAAC,EACvD;QAAE5qB,IAAI,EAAEqB,WAAW,CAACa,MAAM;QAAEkf,QAAQ,EAAEhiB,SAAS,CAACwrB,SAAAA;EAAU,KAAC,CAC5D,CAAA;EACH,GAAC,MAAM;EACLzJ,IAAAA,SAAS,GAAG,CACV;EAAEnhB,MAAAA,IAAI,EAAE,WAAW;QAAEohB,QAAQ,EAAEhiB,SAAS,CAAC+qB,WAAAA;EAAY,KAAC,EACtD;EAAEnqB,MAAAA,IAAI,EAAE,WAAW;QAAEohB,QAAQ,EAAEhiB,SAAS,CAACorB,WAAAA;EAAY,KAAC,EACtD;EAAExqB,MAAAA,IAAI,EAAE,SAAS;QAAEohB,QAAQ,EAAEhiB,SAAS,CAACwrB,SAAAA;EAAU,KAAC,EAElD;EAAE5qB,MAAAA,IAAI,EAAE,YAAY;EAAEohB,MAAAA,QAAQ,EAAE0S,2BAAAA;EAA4B,KAAC,EAC7D;EAAE9zB,MAAAA,IAAI,EAAE,YAAY;QAAEohB,QAAQ,EAAEhiB,SAAS,CAAC+qB,WAAAA;EAAY,KAAC,EACvD;EAAEnqB,MAAAA,IAAI,EAAE,WAAW;QAAEohB,QAAQ,EAAEhiB,SAAS,CAACorB,WAAAA;EAAY,KAAC,EACtD;EAAExqB,MAAAA,IAAI,EAAE,UAAU;QAAEohB,QAAQ,EAAEhiB,SAAS,CAACwrB,SAAAA;EAAU,KAAC,EACnD;EAAE5qB,MAAAA,IAAI,EAAE,aAAa;QAAEohB,QAAQ,EAAEhiB,SAAS,CAACwrB,SAAAA;EAAU,KAAC,CACvD,CAAA;EACH,GAAA;IAEAzJ,SAAS,CAACjb,IAAI,CAAC;EACblG,IAAAA,IAAI,EAAE,MAAM;MACZohB,QAAQ,EAAA,SAAAA,QAACjW,CAAAA,KAAK,EAAE;EAAA,MAAA,KAAA,IAAA+F,GAAA,GAAA4N,CAAAA,EAAAA,sBAAA,GACY9hB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAE,GAAA,GAAA4N,sBAAA,CAAAjiB,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAA9C,QAAA,IAAMvT,WAAW,GAAAmhB,sBAAA,CAAA5N,GAAA,CAAA,CAAA;EACpBvT,QAAAA,WAAW,CAACotB,YAAY,CAAC5f,KAAK,CAAC,CAAA;EACjC,OAAA;EACF,KAAA;EACF,GAAC,CAAC,CAAA;;EAEF;IACAnO,KAAK,CAAC+2B,aAAa,GAAG,CAAC,CAAA;IAEvB/2B,KAAK,CAACwsB,WAAW,gBAAA,UAAAwK,gBAAA,EAAA;MAAAxlB,SAAA,CAAAylB,MAAA,EAAAD,gBAAA,CAAA,CAAA;EAAA,IAAA,IAAAvlB,MAAA,GAAAC,YAAA,CAAAulB,MAAA,CAAA,CAAA;EAAA,IAAA,SAAAA,MAAA,GAAA;EAAA1mB,MAAAA,eAAA,OAAA0mB,MAAA,CAAA,CAAA;EAAA,MAAA,OAAAxlB,MAAA,CAAAxH,KAAA,CAAA,IAAA,EAAAe,SAAA,CAAA,CAAA;EAAA,KAAA;EAAA2F,IAAAA,YAAA,CAAAsmB,MAAA,EAAA,CAAA;QAAArmB,GAAA,EAAA,sBAAA;QAAApE,GAAA,EACf,SAAAA,GAAAA,GAA2B;EACzB,QAAA,OAAOxM,KAAK,CAAC+hB,YAAY,CAAC2L,oBAAoB,CAAA;SAC/C;EAAAjhB,MAAAA,GAAA,EAED,SAAAA,GAAyBrD,CAAAA,KAAK,EAAE;EAC9BpJ,QAAAA,KAAK,CAAC+hB,YAAY,CAAC2L,oBAAoB,GAAGtkB,KAAK,CAAA;EACjD,OAAA;EAAC,KAAA,EAAA;QAAAwH,GAAA,EAAA,MAAA;QAAAxH,KAAA,EAED,SAAAglB,IAAAA,GAAO;EACL,QAAA,OAAOpuB,KAAK,CAAC+c,GAAG,EAAE,CAAA;EACpB,OAAA;EAAC,KAAA,CAAA,CAAA,CAAA;EAAA,IAAA,OAAAka,MAAA,CAAA;EAAA,GAAA,CAXqDC,WAAe,CAYtE,CAAA;IAEDl3B,KAAK,CAAC+hB,YAAY,GAAG;EACnB;EACA/N,IAAAA,IAAI,EAAE,EAAE;MACRmjB,GAAG,EAAA,SAAAC,IAAuBx1B,CAAAA,OAA4D,EAAE;EACtFA,MAAAA,OAAO,CAAC6qB,SAAS,GAAG,UAAC5rB,IAAI,EAAEyB,GAAG,EAAA;EAAA,QAAA,OAAKtC,KAAK,CAAC0S,IAAI,CAAC7R,IAAI,EAAEyB,GAAG,CAAC,CAAA;EAAA,OAAA,CAAA;QAExD,IAAM3B,WAAW,GAAG,IAAIX,KAAK,CAACwsB,WAAW,CAAI5qB,OAAmC,CAAC,CAAA;QAEjF5B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAAC9K,IAAI,CAACvI,WAAW,CAAC,CAAA;EACzC,MAAA,OAAOA,WAAW,CAAA;OACnB;EACDyB,IAAAA,SAAS,EAATA,SAAS;EACT+hB,IAAAA,SAAS,EAATA,SAAS;EACTuJ,IAAAA,oBAAoB,EAAE,CAAA;KACvB,CAAA;IAED,SAASoJ,2BAA2BA,GAAG;EACrC;EAAA,IAAA,KAAA,IAAAviB,GAAA,GAAA8hB,CAAAA,EAAAA,sBAAA,GAC0Br2B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAO,GAAA,GAAA8hB,sBAAA,CAAAx2B,MAAA,EAAA0U,GAAA,EAAE,EAAA;EAA9C,MAAA,IAAM5T,WAAW,GAAA01B,sBAAA,CAAA9hB,GAAA,CAAA,CAAA;EACpB,MAAA,IAAI,CAAC5T,WAAW,CAAC+B,aAAa,IAAI/B,WAAW,CAACgC,WAAW,KAAK,OAAO,IAAIhC,WAAW,CAAC0hB,YAAY,EAAE;EACjG,QAAA,SAAA;EACF,OAAA;;EAEA;QAAA,IAAAlW,KAAA,GAAAA,SAAAA,KAAAA,GAC4C;EAAvC,QAAA,IAAMmB,OAAO,GAAA+pB,sBAAA,CAAAxiB,GAAA,CAAA,CAAA;UAChB,IAAI,CAAC7U,KAAK,CAAC8zB,SAAS,CAAC1nB,IAAI,CAAC,UAAA1L,IAAA,EAAA;EAAA,UAAA,IAAGojB,GAAG,GAAApjB,IAAA,CAAHojB,GAAG,CAAA;EAAA,UAAA,OAAO3e,YAAY,CAAC2e,GAAG,EAAExW,OAAO,CAAC8e,UAAU,CAAC,CAAA;EAAA,SAAA,CAAC,EAAE;EAC7E;YACAzrB,WAAW,CAACmtB,aAAa,CAACxgB,OAAO,CAACA,OAAO,EAAEA,OAAO,CAACa,KAAK,CAAC,CAAA;EAC3D,SAAA;SACD,CAAA;EAAA,MAAA,KAAA,IAAA0G,GAAA,GAAA,CAAA,EAAAwiB,sBAAA,GALqB12B,WAAW,CAACqN,QAAQ,EAAA6G,GAAA,GAAAwiB,sBAAA,CAAAx3B,MAAA,EAAAgV,GAAA,EAAA,EAAA;UAAA1I,KAAA,EAAA,CAAA;EAAA,OAAA;EAM5C,KAAA;EACF,GAAA;EAEAnM,EAAAA,KAAK,CAAC6S,SAAS,CAACykB,0BAA0B,CAAC,CAAA;EAC7C,CAAA;EAEA,SAAST,gBAAgBA,CAAC/X,MAAc,EAAE9e,KAAY,EAAE;IACtD,OAAO,UAAUmO,KAAY,EAAE;EAC7B,IAAA,IAAM4T,YAAY,GAAG/hB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAAA;EAE5C,IAAA,IAAMrR,WAAW,GAAG6U,cAA2B,CAACrJ,KAAK,CAAC,CAAA;EACtD,IAAA,IAAAonB,qBAAA,GAAsC/d,eAA4B,CAACrJ,KAAK,CAAC;EAAlEoM,MAAAA,WAAW,GAAAgb,qBAAA,CAAA,CAAA,CAAA;EAAE1H,MAAAA,cAAc,GAAA0H,qBAAA,CAAA,CAAA,CAAA,CAAA;MAClC,IAAMtU,OAAc,GAAG,EAAE,CAAC;;MAE1B,IAAI,QAAQ,CAAC3hB,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,EAAE;EAC7BhD,MAAAA,KAAK,CAAC+2B,aAAa,GAAG/2B,KAAK,CAAC+c,GAAG,EAAE,CAAA;;EAEjC;EAAA,MAAA,KAAA,IAAA7H,IAAA,GAAA,CAAA,EAAAqiB,sBAAA,GAC2BppB,KAAK,CAACE,cAAc,EAAA6G,IAAA,GAAAqiB,sBAAA,CAAA13B,MAAA,EAAAqV,IAAA,EAAE,EAAA;EAA5C,QAAA,IAAMsiB,YAAY,GAAAD,sBAAA,CAAAriB,IAAA,CAAA,CAAA;UACrB,IAAM5H,OAAO,GAAGkqB,YAAY,CAAA;EAC5B,QAAA,IAAM3pB,SAAS,GAAG2J,YAAyB,CAAClK,OAAO,CAAC,CAAA;EACpD,QAAA,IAAMmqB,aAA4B,GAAG;EACnCnqB,UAAAA,OAAO,EAAPA,OAAO;EACPO,UAAAA,SAAS,EAATA,SAAS;EACTlL,UAAAA,WAAW,EAAXA,WAAW;YACX0hB,SAAS,EAAElW,KAAK,CAACnL,IAAI;EACrBuX,UAAAA,WAAW,EAAXA,WAAW;EACXsT,UAAAA,cAAc,EAAdA,cAAc;EACd7tB,UAAAA,KAAK,EAALA,KAAAA;WACD,CAAA;EACD,QAAA,IAAMW,WAAW,GAAG+2B,cAAc,CAACD,aAAa,CAAC,CAAA;EAEjDxW,QAAAA,OAAO,CAAC/X,IAAI,CAAC,CACXuuB,aAAa,CAACnqB,OAAO,EACrBmqB,aAAa,CAACld,WAAW,EACzBkd,aAAa,CAAC5J,cAAc,EAC5BltB,WAAW,CACZ,CAAC,CAAA;EACJ,OAAA;EACF,KAAC,MAAM;QACL,IAAIg3B,cAAc,GAAG,KAAK,CAAA;EAE1B,MAAA,IAAI,CAAC9zB,SAAO,CAACE,oBAAoB,IAAI,OAAO,CAACzE,IAAI,CAAC6O,KAAK,CAACnL,IAAI,CAAC,EAAE;EAC7D;EACA,QAAA,KAAK,IAAIkD,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG6b,YAAY,CAACliB,MAAM,IAAI,CAAC83B,cAAc,EAAEzxB,CAAC,EAAE,EAAE;EAC/DyxB,UAAAA,cAAc,GAAG5V,YAAY,CAAC7b,CAAC,CAAC,CAACvD,WAAW,KAAK,OAAO,IAAIof,YAAY,CAAC7b,CAAC,CAAC,CAACxD,aAAa,CAAA;EAC3F,SAAA;;EAEA;EACA;EACAi1B,QAAAA,cAAc,GACZA,cAAc,IACd33B,KAAK,CAAC+c,GAAG,EAAE,GAAG/c,KAAK,CAAC+2B,aAAa,GAAG,GAAG;EACvC;UACA5oB,KAAK,CAACtB,SAAS,KAAK,CAAC,CAAA;EACzB,OAAA;QAEA,IAAI,CAAC8qB,cAAc,EAAE;EACnB,QAAA,IAAMF,cAAa,GAAG;EACpBnqB,UAAAA,OAAO,EAAEa,KAAqB;EAC9BN,UAAAA,SAAS,EAAE2J,YAAyB,CAACrJ,KAAqB,CAAC;EAC3DxL,UAAAA,WAAW,EAAXA,WAAW;YACX0hB,SAAS,EAAElW,KAAK,CAACnL,IAAI;EACrB6qB,UAAAA,cAAc,EAAdA,cAAc;EACdtT,UAAAA,WAAW,EAAXA,WAAW;EACXva,UAAAA,KAAK,EAALA,KAAAA;WACD,CAAA;EAED,QAAA,IAAMW,YAAW,GAAG+2B,cAAc,CAACD,cAAa,CAAC,CAAA;EAEjDxW,QAAAA,OAAO,CAAC/X,IAAI,CAAC,CACXuuB,cAAa,CAACnqB,OAAO,EACrBmqB,cAAa,CAACld,WAAW,EACzBkd,cAAa,CAAC5J,cAAc,EAC5BltB,YAAW,CACZ,CAAC,CAAA;EACJ,OAAA;EACF,KAAA;;EAEA;MAAA,KAAA+oB,IAAAA,IAAA,MAAAA,IAAA,GACkEzI,OAAO,CAAAphB,MAAA,EAAA6pB,IAAA,EAAE,EAAA;EAAtE,MAAA,IAAAkO,WAAA,GAA6D3W,OAAO,CAAAyI,IAAA,CAAA;EAA7Dpc,QAAAA,QAAO,GAAAsqB,WAAA,CAAA,CAAA,CAAA;EAAErd,QAAAA,YAAW,GAAAqd,WAAA,CAAA,CAAA,CAAA;EAAE/J,QAAAA,eAAc,GAAA+J,WAAA,CAAA,CAAA,CAAA;EAAEj3B,QAAAA,aAAW,GAAAi3B,WAAA,CAAA,CAAA,CAAA,CAAA;QAC3Dj3B,aAAW,CAACme,MAAM,CAAC,CAACxR,QAAO,EAAEa,KAAK,EAAEoM,YAAW,EAAEsT,eAAc,CAAC,CAAA;EAClE,KAAA;KACD,CAAA;EACH,CAAA;EAEA,SAAS6J,cAAcA,CAACD,aAA4B,EAAE;EACpD,EAAA,IAAQ90B,WAAW,GAAY80B,aAAa,CAApC90B,WAAW;MAAE3C,KAAK,GAAKy3B,aAAa,CAAvBz3B,KAAK,CAAA;EAE1B,EAAA,IAAM63B,gBAAgB,GAAG/B,QAAM,CAAC7yB,MAAM,CAACw0B,aAAa,CAAC,CAAA;EACrD,EAAA,IAAM3K,SAAS,GAAG;EAAEnsB,IAAAA,WAAW,EAAEk3B,gBAAgB;EAAEJ,IAAAA,aAAa,EAAbA,aAAAA;KAAe,CAAA;EAElEz3B,EAAAA,KAAK,CAAC0S,IAAI,CAAC,mBAAmB,EAAEoa,SAAS,CAAC,CAAA;IAE1C,OAAOA,SAAS,CAACnsB,WAAW,IAAIX,KAAK,CAAC+hB,YAAY,CAACoV,GAAG,CAAC;EAAEx0B,IAAAA,WAAW,EAAXA,WAAAA;EAAY,GAAC,CAAC,CAAA;EACzE,CAAA;EAEA,SAASm1B,WAAWA,CAAAt2B,KAAA,EAElBu2B,eAAiC,EACjC;EAAA,EAAA,IAFEjU,GAAG,GAAAtiB,KAAA,CAAHsiB,GAAG;MAAE9jB,KAAK,GAAAwB,KAAA,CAALxB,KAAK;MAAE4B,OAAO,GAAAJ,KAAA,CAAPI,OAAO,CAAA;EAGrB,EAAA,IACkBuiB,SAAS,GAEvBnkB,KAAK,CAFP+hB,YAAY,CAAIoC,SAAS;MACzB/R,MAAM,GACJpS,KAAK,CADPoS,MAAM,CAAA;EAER,EAAA,IAAM4lB,WAAW,GAAG5lB,MAAM,CAAC2lB,eAAe,CAAC,CAAA;IAE3C,IAAI/3B,KAAK,CAAC6D,OAAO,CAACI,KAAK,IAAI,CAACrC,OAAO,CAACwQ,MAAM,EAAE;MAC1CxQ,OAAO,CAACwQ,MAAM,GAAG;EAAE6R,MAAAA,OAAO,EAAE,KAAA;OAAO,CAAA;EACrC,GAAA;;EAEA;EACA,EAAA,KAAK,IAAMI,SAAS,IAAIjS,MAAM,CAACyhB,eAAe,EAAE;MAC9CmE,WAAW,CAAClU,GAAG,EAAEO,SAAS,EAAEjS,MAAM,CAAC+hB,gBAAgB,CAAC,CAAA;MACpD6D,WAAW,CAAClU,GAAG,EAAEO,SAAS,EAAEjS,MAAM,CAACgiB,kBAAkB,EAAE,IAAI,CAAC,CAAA;EAC9D,GAAA;EAEA,EAAA,IAAM6D,YAAY,GAAGr2B,OAAO,IAAIA,OAAO,CAACwQ,MAAM,CAAA;IAAA,KAAA8lB,IAAAA,IAAA,MAAAA,IAAA,GAEb/T,SAAS,CAAAtkB,MAAA,EAAAq4B,IAAA,EAAE,EAAA;EAAvC,IAAA,IAAAC,aAAA,GAA4BhU,SAAS,CAAA+T,IAAA,CAAA;QAA7Bl1B,KAAI,GAAAm1B,aAAA,CAAJn1B,IAAI;QAAEohB,QAAQ,GAAA+T,aAAA,CAAR/T,QAAQ,CAAA;MACzB4T,WAAW,CAAClU,GAAG,EAAE9gB,KAAI,EAAEohB,QAAQ,EAAE6T,YAAY,CAAC,CAAA;EAChD,GAAA;EACF,CAAA;EAEA,IAAMlW,YAAoB,GAAG;EAC3B5f,EAAAA,EAAE,EAAE,mBAAmB;EACvBpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;MACT,oBAAoB,EAAE,SAAAg2B,gBAAAA,CAAC91B,GAAG,EAAA;EAAA,MAAA,OAAKw1B,WAAW,CAACx1B,GAAG,EAAE,KAAK,CAAC,CAAA;EAAA,KAAA;MACtD,uBAAuB,EAAE,SAAA+1B,mBAAAA,CAAC/1B,GAAG,EAAA;EAAA,MAAA,OAAKw1B,WAAW,CAACx1B,GAAG,EAAE,QAAQ,CAAC,CAAA;EAAA,KAAA;EAC5D,IAAA,oBAAoB,EAAE,SAAAg2B,iBAAAA,CAAApiB,KAAA,EAAmBlW,KAAK,EAAK;EAAA,MAAA,IAA1BuC,YAAY,GAAA2T,KAAA,CAAZ3T,YAAY,CAAA;EACnC;EACA,MAAA,KAAK,IAAI2D,CAAC,GAAGlG,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAACnU,MAAM,GAAG,CAAC,EAAEqG,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;UAC5D,IAAMvF,WAAW,GAAGX,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAAC9N,CAAC,CAAC,CAAA;EAE9C,QAAA,IAAIvF,WAAW,CAAC4B,YAAY,KAAKA,YAAY,EAAE;EAC7C,UAAA,SAAA;EACF,SAAA;UAEA5B,WAAW,CAACid,IAAI,EAAE,CAAA;EAClB5d,QAAAA,KAAK,CAAC0S,IAAI,CAAC,sBAAsB,EAAE;EAAE/R,UAAAA,WAAW,EAAXA,WAAAA;EAAY,SAAC,CAAC,CAAA;UACnDA,WAAW,CAACspB,OAAO,EAAE,CAAA;UAErB,IAAIjqB,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAACnU,MAAM,GAAG,CAAC,EAAE;YACtCG,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,CAAClU,MAAM,CAACoG,CAAC,EAAE,CAAC,CAAC,CAAA;EACtC,SAAA;EACF,OAAA;EACF,KAAA;KACD;EACD4xB,EAAAA,WAAW,EAAXA,WAAW;EACXjB,EAAAA,gBAAgB,EAAhBA,gBAAgB;EAChBD,EAAAA,WAAW,EAAXA,WAAAA;EACF,CAAC,CAAA;AAED,uBAAe7U,YAAY;;ECtQY,IAM5BwW,WAAW,0BAAXA,WAAW,EAAA;EAAXA,EAAAA,WAAW,CAAXA,WAAW,CAAA,IAAA,CAAA,GAAA,CAAA,CAAA,GAAA,IAAA,CAAA;EAAXA,EAAAA,WAAW,CAAXA,WAAW,CAAA,KAAA,CAAA,GAAA,CAAA,CAAA,GAAA,KAAA,CAAA;EAAA,EAAA,OAAXA,WAAW,CAAA;EAAA,CAAA,CAAXA,WAAW,IAAA,EAAA,CAAA,CAAA;EAKtB;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,IAAar4B,YAAY,gBAAA,YAAA;IAkBvB,SAAAA,YAAAA,CACE0J,MAAc,EACdhI,OAAY,EACZ42B,cAAkC,EAClCC,WAA4B,EAC5B;EAAAloB,IAAAA,eAAA,OAAArQ,YAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CAdO0J,MAAM,GAAA,KAAA,CAAA,CAAA;EACf;EAAA,IAAA,IAAA,CAA0BhI,OAAO,GAAA,KAAA,CAAA,CAAA;EACjC;EAAA,IAAA,IAAA,CAA0B82B,QAAQ,GAAA,KAAA,CAAA,CAAA;EAClC;EAAA,IAAA,IAAA,CAA0BtmB,MAAM,GAAG,IAAIkhB,SAAS,EAAE,CAAA;EAClD;EAAA,IAAA,IAAA,CAA0BqF,QAAQ,GAAA,KAAA,CAAA,CAAA;EAClC;EAAA,IAAA,IAAA,CAA0BC,IAAI,GAAA,KAAA,CAAA,CAAA;EAC9B;EAAA,IAAA,IAAA,CAA0BC,IAAI,GAAA,KAAA,CAAA,CAAA;EAC9B;EAAA,IAAA,IAAA,CAA0BC,YAAY,GAAA,KAAA,CAAA,CAAA;EAQpC,IAAA,IAAI,CAACJ,QAAQ,GAAG92B,OAAO,CAAC3B,OAAO,CAAA;MAC/B,IAAI,CAAC2J,MAAM,GAAGA,MAAM,CAAA;EACpB,IAAA,IAAI,CAAC+uB,QAAQ,GAAG/2B,OAAO,CAACozB,OAAO,IAAIwD,cAAc,CAAA;EACjD,IAAA,IAAI,CAACI,IAAI,GAAGr6B,SAAS,CAAC4K,WAAW,CAACS,MAAM,CAAC,GAAG,IAAI,CAAC+uB,QAAQ,GAAG/uB,MAAM,CAAC,CAAA;EACnE,IAAA,IAAI,CAACivB,IAAI,GAAG,IAAI,CAACD,IAAI,CAACz6B,QAAQ,CAAA;MAC9B,IAAI,CAAC26B,YAAY,GAAGL,WAAW,CAAA;EAE/B,IAAA,IAAI,CAAChsB,GAAG,CAAC7K,OAAO,CAAC,CAAA;EACnB,GAAA;EAAC+O,EAAAA,YAAA,CAAAzQ,YAAA,EAAA,CAAA;MAAA0Q,GAAA,EAAA,WAAA;EAAApE,IAAAA,GAAA,kBA/BgB,SAAAA,GAAAA,GAA0B;QACzC,OAAO;UACLqT,IAAI,EAAE,EAAE;UACRvC,SAAS,EAAE,EAAE;EACbrd,QAAAA,OAAO,EAAE,EAAC;SACX,CAAA;EACH,KAAA;EAAC,GAAA,EAAA;MAAA2Q,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EA2BD,SAAApH,WAAAA,CAAYyI,UAAsB,EAAE+Z,MAAwB,EAAE;QAC5D,IAAI3iB,EAAE,CAAC7C,IAAI,CAACwlB,MAAM,CAACuU,OAAO,CAAC,EAAE;UAC3B,IAAI,CAACliB,EAAE,CAAA,EAAA,CAAAjL,MAAA,CAAInB,UAAU,EAAS+Z,OAAAA,CAAAA,EAAAA,MAAM,CAACuU,OAAO,CAAC,CAAA;EAC/C,OAAA;QACA,IAAIl3B,EAAE,CAAC7C,IAAI,CAACwlB,MAAM,CAACwU,MAAM,CAAC,EAAE;UAC1B,IAAI,CAACniB,EAAE,CAAA,EAAA,CAAAjL,MAAA,CAAInB,UAAU,EAAQ+Z,MAAAA,CAAAA,EAAAA,MAAM,CAACwU,MAAM,CAAC,CAAA;EAC7C,OAAA;QACA,IAAIn3B,EAAE,CAAC7C,IAAI,CAACwlB,MAAM,CAACyU,KAAK,CAAC,EAAE;UACzB,IAAI,CAACpiB,EAAE,CAAA,EAAA,CAAAjL,MAAA,CAAInB,UAAU,EAAO+Z,KAAAA,CAAAA,EAAAA,MAAM,CAACyU,KAAK,CAAC,CAAA;EAC3C,OAAA;QACA,IAAIp3B,EAAE,CAAC7C,IAAI,CAACwlB,MAAM,CAAC0U,cAAc,CAAC,EAAE;UAClC,IAAI,CAACriB,EAAE,CAAA,EAAA,CAAAjL,MAAA,CAAInB,UAAU,EAAgB+Z,cAAAA,CAAAA,EAAAA,MAAM,CAAC0U,cAAc,CAAC,CAAA;EAC7D,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAAtoB,GAAA,EAAA,0BAAA;MAAAxH,KAAA,EAED,SAAA+vB,wBAAyB1uB,CAAAA,UAAsB,EAAEuC,IAA2B,EAAEhM,GAA0B,EAAE;EAAA,MAAA,IAAAo4B,qBAAA;UAAAvnB,KAAA,GAAA,IAAA,CAAA;EACxG,MAAA,IAAMwnB,YAAY,GAAA,CAAAD,qBAAA,GAAI,IAAI,CAACV,QAAQ,CAACn4B,GAAG,CAACkK,UAAU,CAAC,KAA9B2uB,IAAAA,GAAAA,KAAAA,CAAAA,GAAAA,qBAAA,CACjBr2B,eAAe,CAAA;EACnB,MAAA,IAAMgI,MAAM,GAAG,SAATA,MAAMA,CAAI/H,IAAY,EAAA;EAAA,QAAA,OAC1B,CAACq2B,YAAY,IAAI,IAAI,IAAIA,YAAY,CAACr2B,IAAI,CAAC,KAAKshB,gBAAgB,CAACthB,IAAI,EAAE6O,KAAI,CAAC6mB,QAAQ,CAAC,CAAA;EAAA,OAAA,CAAA;EAEvF,MAAA,IAAI72B,EAAE,CAACjC,KAAK,CAACoN,IAAI,CAAC,IAAInL,EAAE,CAAChD,MAAM,CAACmO,IAAI,CAAC,EAAE;EACrC,QAAA,IAAI,CAACkY,MAAM,CAACqT,WAAW,CAACe,GAAG,EAAE7uB,UAAU,EAAEuC,IAAI,EAAElP,SAAS,EAAEiN,MAAM,CAAC,CAAA;EACnE,OAAA;EAEA,MAAA,IAAIlJ,EAAE,CAACjC,KAAK,CAACoB,GAAG,CAAC,IAAIa,EAAE,CAAChD,MAAM,CAACmC,GAAG,CAAC,EAAE;EACnC,QAAA,IAAI,CAACkkB,MAAM,CAACqT,WAAW,CAACgB,EAAE,EAAE9uB,UAAU,EAAEzJ,GAAG,EAAElD,SAAS,EAAEiN,MAAM,CAAC,CAAA;EACjE,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAA6F,GAAA,EAAA,cAAA;EAAAxH,IAAAA,KAAA,EAED,SAAArH,YAAAA,CAAa0I,UAAsB,EAAE7I,OAA2B,EAAE;EAChE,MAAA,IAAMzB,QAAQ,GAAG,IAAI,CAACyqB,SAAS,CAAA;;EAE/B;EACA,MAAA,KAAK,IAAM4O,WAAW,IAAI53B,OAAO,EAAE;UACjC,IAAM63B,UAAU,GAAGD,WAAsC,CAAA;EACzD,QAAA,IAAM9uB,aAAa,GAAG,IAAI,CAAC9I,OAAO,CAAC6I,UAAU,CAAC,CAAA;EAC9C,QAAA,IAAMivB,WAAgB,GAAG93B,OAAO,CAAC63B,UAAU,CAAC,CAAA;;EAE5C;UACA,IAAIA,UAAU,KAAK,WAAW,EAAE;YAC9B,IAAI,CAACN,wBAAwB,CAAC1uB,UAAU,EAAEC,aAAa,CAACtI,SAAS,EAAEs3B,WAAwB,CAAC,CAAA;EAC9F,SAAA;;EAEA;EACA,QAAA,IAAI73B,EAAE,CAACjC,KAAK,CAAC85B,WAAW,CAAC,EAAE;YACvBhvB,aAAa,CAAC+uB,UAAU,CAAC,GAAWjnB,IAAQ,CAACknB,WAAW,CAAC,CAAA;EAC7D,SAAA;EACA;EAAA,aACK,IAAI73B,EAAE,CAACpC,WAAW,CAACi6B,WAAW,CAAC,EAAE;EAElChvB,UAAAA,aAAa,CAAC+uB,UAAU,CAAC,GAAWnwB,MAAM,CAC1CoB,aAAa,CAAC+uB,UAAU,CAAC,IAAK,EAAU,EACxCrT,KAAK,CAACsT,WAAW,CACnB,CAAC,CAAA;;EAED;YACA,IACE73B,EAAE,CAAChD,MAAM,CAACsB,QAAQ,CAACmd,SAAS,CAACmc,UAAU,CAAC,CAAC,IACzC,SAAS,IAAKt5B,QAAQ,CAACmd,SAAS,CAACmc,UAAU,CAAS,EACpD;cACE/uB,aAAa,CAAC+uB,UAAU,CAAC,CAAS33B,OAAO,GAAG43B,WAAW,CAAC53B,OAAO,KAAK,KAAK,CAAA;EAC7E,WAAA;EACF,SAAA;EACA;EAAA,aACK,IAAID,EAAE,CAAC3C,IAAI,CAACw6B,WAAW,CAAC,IAAI73B,EAAE,CAAChD,MAAM,CAACsB,QAAQ,CAACmd,SAAS,CAACmc,UAAU,CAAC,CAAC,EAAE;EACxE/uB,UAAAA,aAAa,CAAC+uB,UAAU,CAAC,CAAS33B,OAAO,GAAG43B,WAAW,CAAA;EAC3D,SAAA;EACA;eACK;EACDhvB,UAAAA,aAAa,CAAC+uB,UAAU,CAAC,GAAWC,WAAW,CAAA;EACnD,SAAA;EACF,OAAA;EACF,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EANE,GAAA,EAAA;MAAA9oB,GAAA,EAAA,SAAA;EAAAxH,IAAAA,KAAA,EAOA,SAAAS,OAAQzK,CAAAA,OAAgB,EAAE;EACxBA,MAAAA,OAAO,GAAGA,OAAO,KAAKyC,EAAE,CAACzC,OAAO,CAAC,IAAI,CAACwK,MAAM,CAAC,GAAG,IAAI,CAACA,MAAM,GAAG,IAAI,CAAC,CAAA;QAEnE,IAAI/H,EAAE,CAAC1C,MAAM,CAAC,IAAI,CAACyK,MAAM,CAAC,EAAE;EAC1BxK,QAAAA,OAAO,GAAGA,OAAO,IAAI,IAAI,CAACu5B,QAAQ,CAACtvB,aAAa,CAAC,IAAI,CAACO,MAAM,CAAC,CAAA;EAC/D,OAAA;QAEA,OAAOd,cAAc,CAAC1J,OAAO,CAAC,CAAA;EAChC,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EAPE,GAAA,EAAA;MAAAwR,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAUA,SAAAuwB,WAAYtiB,CAAAA,OAAmC,EAAE;EAAA,MAAA,IAAAnF,MAAA,GAAA,IAAA,CAAA;EAC/C,MAAA,IAAIrQ,EAAE,CAAC7C,IAAI,CAACqY,OAAO,CAAC,EAAE;EACpB,QAAA,IAAI,CAACxN,OAAO,GAAG,UAACzK,OAAO,EAAK;EAC1B,UAAA,IAAM+K,IAAI,GAAGb,MAAM,CAAC,EAAE,EAAE+N,OAAO,CAACpN,KAAK,CAACiI,MAAI,EAAE9S,OAAO,CAAC,CAAC,CAAA;EAErD,UAAA,IAAI,EAAG,OAAO,IAAI+K,IAAI,CAAa,EAAE;cACnCA,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAAC1B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,CAAA;cACnC2B,IAAI,CAACtB,MAAM,GAAGsB,IAAI,CAACxB,MAAM,GAAGwB,IAAI,CAACzB,GAAG,CAAA;EACtC,WAAA;EAEA,UAAA,OAAOyB,IAAI,CAAA;WACZ,CAAA;EAED,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;QAEA,IAAIkN,OAAO,KAAK,IAAI,EAAE;UACpB,OAAQ,IAAI,CAA0BxN,OAAO,CAAA;EAE7C,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;QAEA,OAAO,IAAI,CAACA,OAAO,CAAA;EACrB,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA+G,GAAA,EAAA,mBAAA;EAAAxH,IAAAA,KAAA,EACA,SAAAoW,iBAAAA,CAAkBia,UAAyB,EAAErmB,QAAa,EAAE;QAC1D,IAAIjK,WAAW,CAACiK,QAAQ,CAAC,IAAIvR,EAAE,CAAChD,MAAM,CAACuU,QAAQ,CAAC,EAAE;EAC9C,QAAA,IAAI,CAACxR,OAAO,CAAC63B,UAAU,CAAC,GAAWrmB,QAAQ,CAAA;UAE7C,KAAK,IAAMvQ,MAAM,IAAI,IAAI,CAAC61B,QAAQ,CAACn4B,GAAG,EAAE;YACpC,IAAI,CAACqB,OAAO,CAACiB,MAAM,CAAoB,CAAS42B,UAAU,CAAC,GAAGrmB,QAAQ,CAAA;EAC1E,SAAA;EAEA,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;EAEA,MAAA,OAAO,IAAI,CAACxR,OAAO,CAAC63B,UAAU,CAAC,CAAA;EACjC,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EATE,GAAA,EAAA;MAAA7oB,GAAA,EAAA,QAAA;EAAAxH,IAAAA,KAAA,EAUA,SAAAwB,MAAOwI,CAAAA,QAAa,EAAE;EACpB,MAAA,OAAO,IAAI,CAACoM,iBAAiB,CAAC,QAAQ,EAAEpM,QAAQ,CAAC,CAAA;EACnD,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EAPE,GAAA,EAAA;MAAAxC,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAUA,SAAAgG,WAAYgE,CAAAA,QAAsB,EAAE;EAClC,MAAA,IAAIA,QAAQ,KAAK,MAAM,IAAIA,QAAQ,KAAK,QAAQ,EAAE;EAChD,QAAA,IAAI,CAACxR,OAAO,CAACwN,WAAW,GAAGgE,QAAQ,CAAA;EAEnC,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;EAEA,MAAA,OAAO,IAAI,CAACxR,OAAO,CAACwN,WAAW,CAAA;EACjC,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAwB,GAAA,EAAA,gBAAA;MAAAxH,KAAA,EACA,SAAAgL,cAAAA,GAA4B;EAC1B,MAAA,IAAQxK,MAAM,GAAK,IAAI,CAAfA,MAAM,CAAA;EAEd,MAAA,IAAI/H,EAAE,CAAC1C,MAAM,CAACyK,MAAM,CAAC,EAAE;EACrB,QAAA,OAAOgwB,KAAK,CAACzoB,IAAI,CAAC,IAAI,CAACwnB,QAAQ,CAACkB,gBAAgB,CAACjwB,MAAM,CAAC,CAAC,CAAA;EAC3D,OAAA;QAEA,IAAI/H,EAAE,CAAC7C,IAAI,CAAC4K,MAAM,CAAC,IAAKA,MAAM,CAASwK,cAAc,EAAE;EACrD,QAAA,OAAQxK,MAAM,CAASwK,cAAc,EAAE,CAAA;EACzC,OAAA;QAEA,OAAOvS,EAAE,CAACzC,OAAO,CAACwK,MAAM,CAAC,GAAG,CAACA,MAAM,CAAC,GAAG,EAAE,CAAA;EAC3C,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EALE,GAAA,EAAA;MAAAgH,GAAA,EAAA,SAAA;MAAAxH,KAAA,EAMA,SAAA4rB,OAAAA,GAAU;QACR,OAAO,IAAI,CAAC2D,QAAQ,CAAA;EACtB,KAAA;EAAC,GAAA,EAAA;MAAA/nB,GAAA,EAAA,WAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA0wB,SAAU16B,CAAAA,OAAwB,EAAE;EAClC,MAAA,OAAO,IAAI,CAACu5B,QAAQ,KAAKv5B,OAAO,CAACf,aAAa,IAAI8G,YAAY,CAAC,IAAI,CAACwzB,QAAQ,EAAEv5B,OAAO,CAAC,CAAA;EACxF,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAwR,GAAA,EAAA,iBAAA;MAAAxH,KAAA,EACA,SAAA2X,eAEEnf,CAAAA,OAA8D,EAC9Dm4B,UAAgB,EAChBxf,WAAiB,EACjB;QACA,OACE,CAAC,IAAI,CAACyf,UAAU,CAACp4B,OAAO,CAAC2d,UAAU,EAAEwa,UAAU,EAAExf,WAAW,CAAC,IAC7D,IAAI,CAAC0f,SAAS,CAACr4B,OAAO,CAAC6d,SAAS,EAAEsa,UAAU,EAAExf,WAAW,CAAC,CAAA;EAE9D,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAA3J,GAAA,EAAA,WAAA;MAAAxH,KAAA,EACA,SAAA6wB,SAA8Bxa,CAAAA,SAAkC,EAAEsa,UAAgB,EAAE36B,OAAa,EAAE;QACjG,IAAI,CAACqgB,SAAS,EAAE;EACd,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;EAEA,MAAA,IAAI,CAAC5d,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EACxB,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEA,MAAA,IAAIyC,EAAE,CAAC1C,MAAM,CAACsgB,SAAS,CAAC,EAAE;EACxB,QAAA,OAAO/X,WAAW,CAACtI,OAAO,EAAEqgB,SAAS,EAAEsa,UAAU,CAAC,CAAA;SACnD,MAAM,IAAIl4B,EAAE,CAACzC,OAAO,CAACqgB,SAAS,CAAC,EAAE;EAChC,QAAA,OAAOta,YAAY,CAACsa,SAAS,EAAErgB,OAAO,CAAC,CAAA;EACzC,OAAA;EAEA,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAwR,GAAA,EAAA,YAAA;MAAAxH,KAAA,EACA,SAAA4wB,UAA+Bza,CAAAA,UAAmC,EAAEwa,UAAgB,EAAE36B,OAAa,EAAE;QACnG,IAAI,CAACmgB,UAAU,IAAI,CAAC1d,EAAE,CAACzC,OAAO,CAACA,OAAO,CAAC,EAAE;EACvC,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEA,MAAA,IAAIyC,EAAE,CAAC1C,MAAM,CAACogB,UAAU,CAAC,EAAE;EACzB,QAAA,OAAO7X,WAAW,CAACtI,OAAO,EAAEmgB,UAAU,EAAEwa,UAAU,CAAC,CAAA;SACpD,MAAM,IAAIl4B,EAAE,CAACzC,OAAO,CAACmgB,UAAU,CAAC,EAAE;EACjC,QAAA,OAAOpa,YAAY,CAACoa,UAAU,EAAEngB,OAAO,CAAC,CAAA;EAC1C,OAAA;EAEA,MAAA,OAAO,KAAK,CAAA;EACd,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EAPE,GAAA,EAAA;MAAAwR,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAQA,SAAAsJ,IAAiCjR,CAAAA,MAAS,EAAE;EAC1C,MAAA,IAAI,CAAC2Q,MAAM,CAACM,IAAI,CAACjR,MAAM,CAAC,CAAA;EAExB,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;EAAA,GAAA,EAAA;MAAAmP,GAAA,EAAA,QAAA;EAAAxH,IAAAA,KAAA,EACA,SAAA8b,MACEpG,CAAAA,MAAmB,EACnBqG,OAAmB,EACnBC,WAAiC,EACjCxjB,OAAa,EACbmJ,MAAkC,EAClC;EACA,MAAA,IAAIlJ,EAAE,CAAChD,MAAM,CAACsmB,OAAO,CAAC,IAAI,CAACtjB,EAAE,CAACjC,KAAK,CAACulB,OAAO,CAAC,EAAE;EAC5CvjB,QAAAA,OAAO,GAAGwjB,WAAW,CAAA;EACrBA,QAAAA,WAAW,GAAG,IAAI,CAAA;EACpB,OAAA;QAEA,IAAMhjB,SAAS,GAAGiU,SAAkB,CAAC8O,OAAO,EAAEC,WAAW,EAAEra,MAAM,CAAC,CAAA;EAElE,MAAA,KAAK,IAAI/H,KAAI,IAAIZ,SAAS,EAAE;UAC1B,IAAIY,KAAI,KAAK,OAAO,EAAE;YACpBA,KAAI,GAAGa,SAAO,CAACS,UAAU,CAAA;EAC3B,SAAA;EAAC,QAAA,KAAA,IAAAgH,GAAA,GAAA4uB,CAAAA,EAAAA,iBAAA,GAEsB93B,SAAS,CAACY,KAAI,CAAC,EAAAsI,GAAA,GAAA4uB,iBAAA,CAAAr6B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAnC,UAAA,IAAM8Y,QAAQ,GAAA8V,iBAAA,CAAA5uB,GAAA,CAAA,CAAA;EACjB;YACA,IAAIgZ,gBAAgB,CAACthB,KAAI,EAAE,IAAI,CAAC01B,QAAQ,CAAC,EAAE;EACzC,YAAA,IAAI,CAACtmB,MAAM,CAAC0M,MAAM,KAAKyZ,WAAW,CAACgB,EAAE,GAAG,IAAI,GAAG,KAAK,CAAC,CAACv2B,KAAI,EAAEohB,QAAQ,CAAC,CAAA;EACvE,WAAA;EACA;iBACK,IAAIviB,EAAE,CAAC1C,MAAM,CAAC,IAAI,CAACyK,MAAM,CAAC,EAAE;cAC/B,IAAI,CAACkvB,YAAY,CAACha,MAAM,KAAKyZ,WAAW,CAACgB,EAAE,GAAG,aAAa,GAAG,gBAAgB,CAAC,CAC7E,IAAI,CAAC3vB,MAAM,EACX,IAAI,CAAC+uB,QAAQ,EACb31B,KAAI,EACJohB,QAAQ,EACRxiB,OACF,CAAC,CAAA;EACH,WAAA;EACA;iBACK;cACH,IAAI,CAACk3B,YAAY,CAACha,MAAM,KAAKyZ,WAAW,CAACgB,EAAE,GAAG,KAAK,GAAG,QAAQ,CAAC,CAC7D,IAAI,CAAC3vB,MAAM,EACX5G,KAAI,EACJohB,QAAQ,EACRxiB,OACF,CAAC,CAAA;EACH,WAAA;EACF,SAAA;EACF,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EATE,GAAA,EAAA;MAAAgP,GAAA,EAAA,IAAA;MAAAxH,KAAA,EAUA,SAAAyN,EAAGmP,CAAAA,KAAiB,EAAE5B,QAAuB,EAAExiB,OAAa,EAAE;EAC5D,MAAA,OAAO,IAAI,CAACsjB,MAAM,CAACqT,WAAW,CAACgB,EAAE,EAAEvT,KAAK,EAAE5B,QAAQ,EAAExiB,OAAO,CAAC,CAAA;EAC9D,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EATE,GAAA,EAAA;MAAAgP,GAAA,EAAA,KAAA;MAAAxH,KAAA,EAUA,SAAAwN,GAAIoP,CAAAA,KAAqC,EAAE5B,QAAuB,EAAExiB,OAAa,EAAE;EACjF,MAAA,OAAO,IAAI,CAACsjB,MAAM,CAACqT,WAAW,CAACe,GAAG,EAAEtT,KAAK,EAAE5B,QAAQ,EAAExiB,OAAO,CAAC,CAAA;EAC/D,KAAA;;EAEA;EACF;EACA;EACA;EACA;EACA;EALE,GAAA,EAAA;MAAAgP,GAAA,EAAA,KAAA;EAAAxH,IAAAA,KAAA,EAMA,SAAAqD,GAAI7K,CAAAA,OAAmB,EAAE;EACvB,MAAA,IAAMzB,QAAQ,GAAG,IAAI,CAACyqB,SAAS,CAAA;EAE/B,MAAA,IAAI,CAAC/oB,EAAE,CAAChD,MAAM,CAAC+C,OAAO,CAAC,EAAE;UACvBA,OAAO,GAAG,EAAE,CAAA;EACd,OAAA;QAEE,IAAI,CAACA,OAAO,GAAyBwkB,KAAK,CAACjmB,QAAQ,CAAC0f,IAAI,CAAsB,CAAA;QAEhF,KAAK,IAAMsa,WAAW,IAAI,IAAI,CAACzB,QAAQ,CAACl4B,UAAU,EAAE;UAClD,IAAMiK,UAAU,GAAG0vB,WAAyB,CAAA;UAC5C,IAAMC,UAAU,GAAG,IAAI,CAAC1B,QAAQ,CAACl4B,UAAU,CAACiK,UAAU,CAAC,CAAA;EAEvD,QAAA,IAAI,CAAC7I,OAAO,CAAC6I,UAAU,CAAC,GAAG,EAAE,CAAA;UAC7B,IAAI,CAAC1I,YAAY,CAAC0I,UAAU,EAAEnB,MAAM,CAACA,MAAM,CAAC,EAAE,EAAEnJ,QAAQ,CAACmd,SAAS,CAAC,EAAEnd,QAAQ,CAACF,OAAO,CAACwK,UAAU,CAAC,CAAC,CAAC,CAAA;UACjG,IAAI,CAAC2vB,UAAU,CAAC,CAA2Bx4B,OAAO,CAAC6I,UAAU,CAAC,CAAC,CAAA;EACnE,OAAA;EAEA,MAAA,KAAK,IAAMmZ,OAAO,IAAIhiB,OAAO,EAAE;UAC7B,IAAIgiB,OAAO,KAAK,SAAS,EAAE;EACzB,UAAA,IAAI,CAAC+V,WAAW,CAAC/3B,OAAO,CAACiI,OAAO,CAAC,CAAA;EACjC,UAAA,SAAA;EACF,SAAA;UAEA,IAAIhI,EAAE,CAAC7C,IAAI,CAAE,IAAI,CAAS4kB,OAAO,CAAC,CAAC,EAAE;YACjC,IAAI,CAASA,OAAO,CAAC,CAAChiB,OAAO,CAACgiB,OAAO,CAAyB,CAAC,CAAA;EACnE,SAAA;EACF,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;EACF;EACA;EACA;EAHE,GAAA,EAAA;MAAAhT,GAAA,EAAA,OAAA;MAAAxH,KAAA,EAIA,SAAAixB,KAAAA,GAAQ;QACN,IAAIx4B,EAAE,CAAC1C,MAAM,CAAC,IAAI,CAACyK,MAAM,CAAC,EAAE;EAC1B;UACA,KAAK,IAAM5G,MAAI,IAAI,IAAI,CAAC81B,YAAY,CAACjF,eAAe,EAAE;YACpD,IAAMyG,SAAS,GAAG,IAAI,CAACxB,YAAY,CAACjF,eAAe,CAAC7wB,MAAI,CAAC,CAAA;EAEzD,UAAA,KAAK,IAAIkD,CAAC,GAAGo0B,SAAS,CAACz6B,MAAM,GAAG,CAAC,EAAEqG,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;EAC9C,YAAA,IAAAq0B,YAAA,GAAyCD,SAAS,CAACp0B,CAAC,CAAC;gBAA7CT,QAAQ,GAAA80B,YAAA,CAAR90B,QAAQ;gBAAEuvB,OAAO,GAAAuF,YAAA,CAAPvF,OAAO;gBAAE5yB,SAAS,GAAAm4B,YAAA,CAATn4B,SAAS,CAAA;cAEpC,IAAIqD,QAAQ,KAAK,IAAI,CAACmE,MAAM,IAAIorB,OAAO,KAAK,IAAI,CAAC2D,QAAQ,EAAE;EACzD2B,cAAAA,SAAS,CAACx6B,MAAM,CAACoG,CAAC,EAAE,CAAC,CAAC,CAAA;EACxB,aAAA;EAEA,YAAA,KAAK,IAAIsF,CAAC,GAAGpJ,SAAS,CAACvC,MAAM,GAAG,CAAC,EAAE2L,CAAC,IAAI,CAAC,EAAEA,CAAC,EAAE,EAAE;EAC9C,cAAA,IAAI,CAACstB,YAAY,CAAC5E,cAAc,CAC9B,IAAI,CAACtqB,MAAM,EACX,IAAI,CAAC+uB,QAAQ,EACb31B,MAAI,EACJZ,SAAS,CAACoJ,CAAC,CAAC,CAAC,CAAC,CAAC,EACfpJ,SAAS,CAACoJ,CAAC,CAAC,CAAC,CAAC,CAChB,CAAC,CAAA;EACH,aAAA;EACF,WAAA;EACF,SAAA;EACF,OAAC,MAAM;UACL,IAAI,CAACstB,YAAY,CAAC9nB,MAAM,CAAC,IAAI,CAACpH,MAAM,EAAE,KAAK,CAAC,CAAA;EAC9C,OAAA;EACF,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAA1J,YAAA,CAAA;EAAA,CAAA,EAAA;;EC7dH,IAAas6B,eAAe,gBAAA,YAAA;IAU1B,SAAAA,eAAAA,CAAYx6B,KAAY,EAAE;EAAA,IAAA,IAAA6R,KAAA,GAAA,IAAA,CAAA;EAAAtB,IAAAA,eAAA,OAAAiqB,eAAA,CAAA,CAAA;EAT1B;MAAA,IACAxmB,CAAAA,IAAI,GAAmB,EAAE,CAAA;MAAA,IAEzBymB,CAAAA,WAAW,GAEP,EAAE,CAAA;EAAA,IAAA,IAAA,CAENz6B,KAAK,GAAA,KAAA,CAAA,CAAA;MAGH,IAAI,CAACA,KAAK,GAAGA,KAAK,CAAA;MAClBA,KAAK,CAAC06B,YAAY,CAAC;EACjB,MAAA,oBAAoB,EAAE,SAAApC,iBAAA53B,CAAAA,IAAA,EAAsB;EAAA,QAAA,IAAnB6B,YAAY,GAAA7B,IAAA,CAAZ6B,YAAY,CAAA;EACnC,QAAA,IAAQqH,MAAM,GAAKrH,YAAY,CAAvBqH,MAAM,CAAA;UACd,IAAM+wB,qBAAqC,GAAG94B,EAAE,CAAC1C,MAAM,CAACyK,MAAM,CAAC,GAC3DiI,KAAI,CAAC4oB,WAAW,CAAC7wB,MAAM,CAAC,GACvBA,MAAM,CAASiI,KAAI,CAAC7R,KAAK,CAACmC,EAAE,CAAC,CAAA;UAElC,IAAMwyB,WAAW,GAAGniB,SAAa,CAACmoB,qBAAqB,EAAE,UAACz0B,CAAC,EAAA;YAAA,OAAKA,CAAC,KAAK3D,YAAY,CAAA;WAAC,CAAA,CAAA;EACnFo4B,QAAAA,qBAAqB,CAAC76B,MAAM,CAAC60B,WAAW,EAAE,CAAC,CAAC,CAAA;EAC9C,OAAA;EACF,KAAC,CAAC,CAAA;EACJ,GAAA;EAAChkB,EAAAA,YAAA,CAAA6pB,eAAA,EAAA,CAAA;MAAA5pB,GAAA,EAAA,KAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAguB,IAAAA,CAAIxtB,MAAc,EAAEhI,OAAa,EAAgB;EAC/CA,MAAAA,OAAO,GAAG0H,MAAM,CAAC1H,OAAO,IAAI,EAAE,EAAE;EAC9B3B,QAAAA,OAAO,EAAE,IAAI,CAACD,KAAK,CAACC,OAAAA;EACtB,OAAC,CAAC,CAAA;QACF,IAAMsC,YAAY,GAAG,IAAI,IAAI,CAACvC,KAAK,CAACE,YAAY,CAAC0J,MAAM,EAAEhI,OAAO,EAAE,IAAI,CAAC5B,KAAK,CAAC7B,QAAQ,EAAE,IAAI,CAAC6B,KAAK,CAACoS,MAAM,CAAC,CAAA;QAEzG,IAAI,CAACpS,KAAK,CAAC46B,WAAW,CAACr4B,YAAY,CAACs2B,IAAI,CAAC,CAAA;EACzC,MAAA,IAAI,CAAC7kB,IAAI,CAAC9K,IAAI,CAAC3G,YAAY,CAAC,CAAA;EAE5B,MAAA,IAAIV,EAAE,CAAC1C,MAAM,CAACyK,MAAM,CAAC,EAAE;EACrB,QAAA,IAAI,CAAC,IAAI,CAAC6wB,WAAW,CAAC7wB,MAAM,CAAC,EAAE;EAC7B,UAAA,IAAI,CAAC6wB,WAAW,CAAC7wB,MAAM,CAAC,GAAG,EAAE,CAAA;EAC/B,SAAA;UACA,IAAI,CAAC6wB,WAAW,CAAC7wB,MAAM,CAAC,CAACV,IAAI,CAAC3G,YAAY,CAAC,CAAA;EAC7C,OAAC,MAAM;UACL,IAAI,CAAEA,YAAY,CAACqH,MAAM,CAAS,IAAI,CAAC5J,KAAK,CAACmC,EAAE,CAAC,EAAE;YAChDmK,MAAM,CAACC,cAAc,CAAC3C,MAAM,EAAE,IAAI,CAAC5J,KAAK,CAACmC,EAAE,EAAE;EAC3CiH,YAAAA,KAAK,EAAE,EAAE;EACTsD,YAAAA,YAAY,EAAE,IAAA;EAChB,WAAC,CAAC,CAAA;EACJ,SAAA;UAEE9C,MAAM,CAAS,IAAI,CAAC5J,KAAK,CAACmC,EAAE,CAAC,CAAC+G,IAAI,CAAC3G,YAAY,CAAC,CAAA;EACpD,OAAA;EAEA,MAAA,IAAI,CAACvC,KAAK,CAAC0S,IAAI,CAAC,kBAAkB,EAAE;EAClC9I,QAAAA,MAAM,EAANA,MAAM;EACNhI,QAAAA,OAAO,EAAPA,OAAO;EACPW,QAAAA,YAAY,EAAZA,YAAY;EACZxE,QAAAA,GAAG,EAAE,IAAI,CAACiC,KAAK,CAAC44B,IAAAA;EAClB,OAAC,CAAC,CAAA;EAEF,MAAA,OAAOr2B,YAAY,CAAA;EACrB,KAAA;EAAC,GAAA,EAAA;MAAAqO,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAyxB,WAAAA,CAAYjxB,MAAc,EAAEhI,OAAiB,EAAE;EAC7C,MAAA,IAAMozB,OAAO,GAAIpzB,OAAO,IAAIA,OAAO,CAACozB,OAAO,IAAK,IAAI,CAACh1B,KAAK,CAAC7B,QAAQ,CAAA;EACnE,MAAA,IAAM28B,UAAU,GAAGj5B,EAAE,CAAC1C,MAAM,CAACyK,MAAM,CAAC,CAAA;EACpC,MAAA,IAAM+wB,qBAAqC,GAAGG,UAAU,GACpD,IAAI,CAACL,WAAW,CAAC7wB,MAAM,CAAW,GACjCA,MAAM,CAAS,IAAI,CAAC5J,KAAK,CAACmC,EAAE,CAAC,CAAA;EAElC,MAAA,IAAI,CAACw4B,qBAAqB,EAAE,OAAO78B,SAAS,CAAA;EAE5C,MAAA,OAAO0U,IAAQ,CACbmoB,qBAAqB,EACrB,UAACp4B,YAAY,EAAA;EAAA,QAAA,OACXA,YAAY,CAACo2B,QAAQ,KAAK3D,OAAO,KAAK8F,UAAU,IAAIv4B,YAAY,CAACu3B,SAAS,CAAClwB,MAAa,CAAC,CAAC,CAAA;EAAA,OAC9F,CAAC,CAAA;EACH,KAAA;EAAC,GAAA,EAAA;MAAAgH,GAAA,EAAA,cAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAoY,YAAAA,CAAgBhjB,IAAU,EAAEoe,QAA2C,EAAY;EAAA,MAAA,KAAA,IAAAtR,GAAA,GAAA,CAAA,EAAAyvB,WAAA,GACtD,IAAI,CAAC/mB,IAAI,EAAA1I,GAAA,GAAAyvB,WAAA,CAAAl7B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAjC,QAAA,IAAM/I,aAAY,GAAAw4B,WAAA,CAAAzvB,GAAA,CAAA,CAAA;EACrB,QAAA,IAAI5B,GAAM,GAAA,KAAA,CAAA,CAAA;UAEV,IACE,CAAC7H,EAAE,CAAC1C,MAAM,CAACoD,aAAY,CAACqH,MAAM,CAAC;EAC3B;EACA/H,QAAAA,EAAE,CAACzC,OAAO,CAACZ,IAAI,CAAC,IAAIyR,eAAwB,CAACzR,IAAI,EAAE+D,aAAY,CAACqH,MAAM,CAAC;EACvE;UACApL,IAAI,KAAK+D,aAAY,CAACqH,MAAM;EAChC;EACArH,QAAAA,aAAY,CAACu3B,SAAS,CAACt7B,IAAI,CAAC,EAC5B;EACAkL,UAAAA,GAAG,GAAGkT,QAAQ,CAACra,aAAY,CAAC,CAAA;EAC9B,SAAA;UAEA,IAAImH,GAAG,KAAK5L,SAAS,EAAE;EACrB,UAAA,OAAO4L,GAAG,CAAA;EACZ,SAAA;EACF,OAAA;EACF,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAA8wB,eAAA,CAAA;EAAA,CAAA,EAAA;;ECxGH;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EA8DO,SAASQ,oBAAoBA,CAACh7B,KAAY,EAAkB;IACjE,IAAM2S,QAAQ,GAAI,SAAZA,QAAQA,CAAK/I,MAAc,EAAEhI,OAAgB,EAAK;MACtD,IAAIW,YAAY,GAAGvC,KAAK,CAAC6T,aAAa,CAACgnB,WAAW,CAACjxB,MAAM,EAAEhI,OAAO,CAAC,CAAA;MAEnE,IAAI,CAACW,YAAY,EAAE;QACjBA,YAAY,GAAGvC,KAAK,CAAC6T,aAAa,CAACsjB,GAAG,CAACvtB,MAAM,EAAEhI,OAAO,CAAC,CAAA;EACvDW,MAAAA,YAAY,CAAC6P,MAAM,CAACkK,MAAM,GAAG3J,QAAQ,CAACsoB,YAAY,CAAA;EACpD,KAAA;EAEA,IAAA,OAAO14B,YAAY,CAAA;KACD,CAAA;;EAEpB;EACAoQ,EAAAA,QAAQ,CAACuoB,iBAAiB,GAAG1jB,cAA2B,CAAA;EACxD7E,EAAAA,QAAQ,CAACwoB,YAAY,GAAG3jB,SAAsB,CAAA;EAC9C7E,EAAAA,QAAQ,CAACyoB,gBAAgB,GAAG5jB,aAA0B,CAAA;EACtD7E,EAAAA,QAAQ,CAAC0oB,aAAa,GAAG7jB,UAAuB,CAAA;EAEhD7E,EAAAA,QAAQ,CAAC7J,cAAc,GAAGmH,cAAuB,CAAA;EACjD0C,EAAAA,QAAQ,CAACvK,oBAAoB,GAAG6H,oBAA6B,CAAA;EAC7D0C,EAAAA,QAAQ,CAACjN,eAAe,GAAGuK,eAAwB,CAAA;EACnD0C,EAAAA,QAAQ,CAACnN,OAAO,GAAGyK,OAAgB,CAAA;EAEnC0C,EAAAA,QAAQ,CAACsoB,YAAY,GAAG,EAAS,CAAA;;EAEjC;EACAtoB,EAAAA,QAAQ,CAAC2oB,OAAO,GAAGxW,SAA+B,CAAA;IAClDnS,QAAQ,CAAC3S,KAAK,GAAGA,KAAK,CAAA;EACtB2S,EAAAA,QAAQ,CAAC4oB,GAAG,GAAG,UAAUC,MAAM,EAAE55B,OAAO,EAAE;MACxC,IAAI,CAAC5B,KAAK,CAAC6S,SAAS,CAAC2oB,MAAM,EAAE55B,OAAO,CAAC,CAAA;EAErC,IAAA,OAAO,IAAI,CAAA;KACZ,CAAA;EAED+Q,EAAAA,QAAQ,CAAC8oB,KAAK,GAAG,UAAU7xB,MAAc,EAAEhI,OAA+B,EAAW;EACnF,IAAA,OAAO,CAAC,CAAC,IAAI,CAAC5B,KAAK,CAAC6T,aAAa,CAACrH,GAAG,CAAC5C,MAAM,EAAEhI,OAAO,IAAIA,OAAO,CAACozB,OAAO,CAAC,CAAA;KAC1E,CAAA;EAEDriB,EAAAA,QAAQ,CAACkE,EAAE,GAAGgI,QAAQ,CAAC,SAAShI,EAAEA,CAAC7T,IAAyB,EAAEohB,QAAsB,EAAExiB,OAAgB,EAAE;EACtG,IAAA,IAAIC,EAAE,CAAC1C,MAAM,CAAC6D,IAAI,CAAC,IAAIA,IAAI,CAACC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;QAC9CD,IAAI,GAAGA,IAAI,CAAC6I,IAAI,EAAE,CAACV,KAAK,CAAC,IAAI,CAAC,CAAA;EAChC,KAAA;EAEA,IAAA,IAAItJ,EAAE,CAACjC,KAAK,CAACoD,IAAI,CAAC,EAAE;EAAA,MAAA,KAAA,IAAAsI,GAAA,GAAA,CAAA,EAAA9J,KAAA,GACMwB,IAAI,EAAAsI,GAAA,GAAA9J,KAAA,CAAA3B,MAAA,EAAAyL,GAAA,EAAW,EAAA;EAAlC,QAAA,IAAM+Y,SAAS,GAAA7iB,KAAA,CAAA8J,GAAA,CAAA,CAAA;UAClB,IAAI,CAACuL,EAAE,CAACwN,SAAS,EAAED,QAAQ,EAAExiB,OAAO,CAAC,CAAA;EACvC,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,IAAIC,EAAE,CAAChD,MAAM,CAACmE,IAAI,CAAC,EAAE;EACnB,MAAA,KAAK,IAAMyG,IAAI,IAAIzG,IAAI,EAAE;UACvB,IAAI,CAAC6T,EAAE,CAACpN,IAAI,EAAGzG,IAAI,CAASyG,IAAI,CAAC,EAAE2a,QAAQ,CAAC,CAAA;EAC9C,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;MACA,IAAIE,gBAAgB,CAACthB,IAAI,EAAE,IAAI,CAAChD,KAAK,CAACC,OAAO,CAAC,EAAE;EAC9C;EACA,MAAA,IAAI,CAAC,IAAI,CAACg7B,YAAY,CAACj4B,IAAI,CAAC,EAAE;UAC5B,IAAI,CAACi4B,YAAY,CAACj4B,IAAI,CAAC,GAAG,CAACohB,QAAQ,CAAC,CAAA;EACtC,OAAC,MAAM;UACL,IAAI,CAAC6W,YAAY,CAACj4B,IAAI,CAAC,CAACkG,IAAI,CAACkb,QAAQ,CAAC,CAAA;EACxC,OAAA;EACF,KAAA;EACA;WACK;EACH,MAAA,IAAI,CAACpkB,KAAK,CAACoS,MAAM,CAAC4hB,GAAG,CAAC,IAAI,CAACh0B,KAAK,CAAC7B,QAAQ,EAAE6E,IAAI,EAAEohB,QAAQ,EAAc;EAAExiB,QAAAA,OAAO,EAAPA,OAAAA;EAAQ,OAAC,CAAC,CAAA;EACrF,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ,EAAE,8CAA8C,CAAC,CAAA;EAElD+Q,EAAAA,QAAQ,CAACiE,GAAG,GAAGiI,QAAQ,CAAC,SAASjI,GAAGA,CAAC5T,IAAgB,EAAEohB,QAAa,EAAExiB,OAAgB,EAAE;EACtF,IAAA,IAAIC,EAAE,CAAC1C,MAAM,CAAC6D,IAAI,CAAC,IAAIA,IAAI,CAACC,MAAM,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;QAC9CD,IAAI,GAAGA,IAAI,CAAC6I,IAAI,EAAE,CAACV,KAAK,CAAC,IAAI,CAAC,CAAA;EAChC,KAAA;EAEA,IAAA,IAAItJ,EAAE,CAACjC,KAAK,CAACoD,IAAI,CAAC,EAAE;EAAA,MAAA,KAAA,IAAAkR,GAAA,GAAA,CAAA,EAAAwnB,MAAA,GACM14B,IAAI,EAAAkR,GAAA,GAAAwnB,MAAA,CAAA77B,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAAzB,QAAA,IAAMmQ,SAAS,GAAAqX,MAAA,CAAAxnB,GAAA,CAAA,CAAA;UAClB,IAAI,CAAC0C,GAAG,CAACyN,SAAS,EAAED,QAAQ,EAAExiB,OAAO,CAAC,CAAA;EACxC,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,IAAIC,EAAE,CAAChD,MAAM,CAACmE,IAAI,CAAC,EAAE;EACnB,MAAA,KAAK,IAAMyG,IAAI,IAAIzG,IAAI,EAAE;UACvB,IAAI,CAAC4T,GAAG,CAACnN,IAAI,EAAEzG,IAAI,CAACyG,IAAI,CAAC,EAAE2a,QAAQ,CAAC,CAAA;EACtC,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;MAEA,IAAIE,gBAAgB,CAACthB,IAAI,EAAE,IAAI,CAAChD,KAAK,CAACC,OAAO,CAAC,EAAE;EAC9C,MAAA,IAAIsS,KAAa,CAAA;QAEjB,IAAIvP,IAAI,IAAI,IAAI,CAACi4B,YAAY,IAAI,CAAC1oB,KAAK,GAAG,IAAI,CAAC0oB,YAAY,CAACj4B,IAAI,CAAC,CAACqJ,OAAO,CAAC+X,QAAQ,CAAC,MAAM,CAAC,CAAC,EAAE;UAC3F,IAAI,CAAC6W,YAAY,CAACj4B,IAAI,CAAC,CAAClD,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;EAC1C,OAAA;EACF,KAAC,MAAM;EACL,MAAA,IAAI,CAACvS,KAAK,CAACoS,MAAM,CAACpB,MAAM,CAAC,IAAI,CAAChR,KAAK,CAAC7B,QAAQ,EAAE6E,IAAI,EAAEohB,QAAQ,EAAExiB,OAAO,CAAC,CAAA;EACxE,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ,EAAE,+CAA+C,CAAC,CAAA;IAEnD+Q,QAAQ,CAACgpB,KAAK,GAAG,YAAY;MAC3B,OAAO,IAAI,CAAC37B,KAAK,CAAA;KAClB,CAAA;IAED2S,QAAQ,CAAC7O,aAAa,GAAG,YAAY;MACnC,OAAOD,SAAO,CAACC,aAAa,CAAA;KAC7B,CAAA;IAED6O,QAAQ,CAAC5O,oBAAoB,GAAG,YAAY;MAC1C,OAAOF,SAAO,CAACE,oBAAoB,CAAA;KACpC,CAAA;IAED4O,QAAQ,CAACiL,IAAI,GAAG,YAAY;EAAA,IAAA,KAAA,IAAArJ,GAAA,GAAAqnB,CAAAA,EAAAA,sBAAA,GACA,IAAI,CAAC57B,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAAO,GAAA,GAAAqnB,sBAAA,CAAA/7B,MAAA,EAAA0U,GAAA,EAAE,EAAA;EAAnD,MAAA,IAAM5T,WAAW,GAAAi7B,sBAAA,CAAArnB,GAAA,CAAA,CAAA;QACpB5T,WAAW,CAACid,IAAI,EAAE,CAAA;EACpB,KAAA;EAEA,IAAA,OAAO,IAAI,CAAA;KACZ,CAAA;EAEDjL,EAAAA,QAAQ,CAAC+a,oBAAoB,GAAG,UAAUta,QAAiB,EAAE;EAC3D,IAAA,IAAIvR,EAAE,CAAC5C,MAAM,CAACmU,QAAQ,CAAC,EAAE;EACvB,MAAA,IAAI,CAACpT,KAAK,CAAC+hB,YAAY,CAAC2L,oBAAoB,GAAGta,QAAQ,CAAA;EAEvD,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAEA,IAAA,OAAO,IAAI,CAACpT,KAAK,CAAC+hB,YAAY,CAAC2L,oBAAoB,CAAA;KACpD,CAAA;EAED/a,EAAAA,QAAQ,CAACioB,WAAW,GAAG,UAAU9W,GAAa,EAAEliB,OAAgB,EAAE;MAChE,IAAI,CAAC5B,KAAK,CAAC46B,WAAW,CAAC9W,GAAG,EAAEliB,OAAO,CAAC,CAAA;KACrC,CAAA;EAED+Q,EAAAA,QAAQ,CAACkpB,cAAc,GAAG,UAAU/X,GAAa,EAAE;EACjD,IAAA,IAAI,CAAC9jB,KAAK,CAAC67B,cAAc,CAAC/X,GAAG,CAAC,CAAA;KAC/B,CAAA;EAED,EAAA,OAAOnR,QAAQ,CAAA;EACjB;;EChMA;EACA,IAAampB,KAAK,gBAAA,YAAA;EA+ChB,EAAA,SAAAA,QAAc;EAAA,IAAA,IAAAjqB,KAAA,GAAA,IAAA,CAAA;EAAAtB,IAAAA,eAAA,OAAAurB,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CA9Cd35B,EAAE,GAAA,mBAAA,CAAAyJ,MAAA,CAAuBE,IAAI,CAACiwB,KAAK,CAACjwB,IAAI,CAACkwB,MAAM,EAAE,GAAG,GAAG,CAAC,CAAA,CAAA;MAAA,IACxDC,CAAAA,aAAa,GAAG,KAAK,CAAA;MAAA,IACrBC,CAAAA,YAAY,GAGP,EAAE,CAAA;MAAA,IAEPr4B,CAAAA,OAAO,GAAGA,SAAO,CAAA;EAAA,IAAA,IAAA,CACjB1D,QAAQ,GAAGimB,KAAK,CAACjmB,UAAQ,CAAC,CAAA;MAAA,IAC1BmzB,CAAAA,SAAS,GAAGA,SAAS,CAAA;EAAA,IAAA,IAAA,CACrBrzB,OAAO,GAAY;QACjBM,GAAG,EAAE,EAAE;EACPikB,MAAAA,MAAM,EAAE;EACNrjB,QAAAA,KAAK,EAAE,IAAI;EACXI,QAAAA,IAAI,EAAE,IAAI;EACVqa,QAAAA,GAAG,EAAE,IAAA;SACN;QACDpb,UAAU,EAAE,EAAS;EACrB6S,MAAAA,cAAc,EAAE,EAAC;OAClB,CAAA;EAAA,IAAA,IAAA,CAEDT,cAAc,GAAGooB,oBAAoB,CAAC,IAAI,CAAC,CAAA;MAAA,IAC3C/P,CAAAA,aAAa,GAAGA,aAAa,CAAA;EAAA,IAAA,IAAA,CAC7B/qB,YAAY,GAAA,KAAA,CAAA,CAAA;EAAA,IAAA,IAAA,CACZ2T,aAAa,GAAG,IAAI2mB,eAAe,CAAC,IAAI,CAAC,CAAA;EAEzC;EAAA,IAAA,IAAA,CACA5B,IAAI,GAAA,KAAA,CAAA,CAAA;EAEJ;EAAA,IAAA,IAAA,CACAz6B,QAAQ,GAAA,KAAA,CAAA,CAAA;EAER;EAAA,IAAA,IAAA,CACAF,MAAM,GAAA,KAAA,CAAA,CAAA;EAEN;MAAA,IACA61B,CAAAA,SAAS,GAA2C,EAAE,CAAA;EAAA,IAAA,IAAA,CAEtDqI,QAAQ,GAGJ;EACFnoB,MAAAA,IAAI,EAAE,EAAE;EACRzT,MAAAA,GAAG,EAAE,EAAC;OACP,CAAA;MAAA,IA+CD67B,CAAAA,cAAc,GAAG,UAACjuB,KAAwB,EAAA;EAAA,MAAA,OAAK0D,KAAI,CAACgqB,cAAc,CAAC1tB,KAAK,CAACvE,MAAkB,CAAC,CAAA;EAAA,KAAA,CAAA;MA5C1F,IAAM5J,KAAK,GAAG,IAAI,CAAA;MAElB,IAAI,CAACE,YAAY,gBAAA,UAAAm8B,iBAAA,EAAA;QAAA7qB,SAAA,CAAA8qB,OAAA,EAAAD,iBAAA,CAAA,CAAA;EAAA,MAAA,IAAA5qB,MAAA,GAAAC,YAAA,CAAA4qB,OAAA,CAAA,CAAA;EAAA,MAAA,SAAAA,OAAA,GAAA;EAAA/rB,QAAAA,eAAA,OAAA+rB,OAAA,CAAA,CAAA;EAAA,QAAA,OAAA7qB,MAAA,CAAAxH,KAAA,CAAA,IAAA,EAAAe,SAAA,CAAA,CAAA;EAAA,OAAA;EAAA2F,MAAAA,YAAA,CAAA2rB,OAAA,EAAA,CAAA;UAAA1rB,GAAA,EAAA,WAAA;UAAApE,GAAA,EACf,SAAAA,GAAAA,GAAgB;YACd,OAAOxM,KAAK,CAACG,QAAQ,CAAA;EACvB,SAAA;EAAC,OAAA,EAAA;UAAAyQ,GAAA,EAAA,KAAA;EAAAxH,QAAAA,KAAA,EAED,SAAAqD,GAAyC7K,CAAAA,OAAmB,EAAE;YAC5D26B,IAAA,CAAAC,eAAA,CAAAF,OAAA,CAAAl8B,SAAA,CAAA,EAAA,KAAA,EAAA,IAAA,CAAA,CAAA0R,IAAA,CAAA,IAAA,EAAUlQ,OAAO,CAAA,CAAA;EAEjB5B,UAAAA,KAAK,CAAC0S,IAAI,CAAC,kBAAkB,EAAE;EAC7B9Q,YAAAA,OAAO,EAAPA,OAAO;EACPW,YAAAA,YAAY,EAAE,IAAA;EAChB,WAAC,CAAC,CAAA;EAEF,UAAA,OAAO,IAAI,CAAA;EACb,SAAA;EAAC,OAAA,EAAA;UAAAqO,GAAA,EAAA,OAAA;UAAAxH,KAAA,EAED,SAAAixB,KAAAA,GAA8B;EAC5BkC,UAAAA,IAAA,CAAAC,eAAA,CAAAF,OAAA,CAAAl8B,SAAA,kBAAA0R,IAAA,CAAA,IAAA,CAAA,CAAA;YAEA,IAAMS,KAAK,GAAGvS,KAAK,CAAC6T,aAAa,CAACG,IAAI,CAAC3H,OAAO,CAAC,IAAI,CAAC,CAAA;YACpD,IAAIkG,KAAK,GAAG,CAAC,EAAE,OAAA;YAEfvS,KAAK,CAAC6T,aAAa,CAACG,IAAI,CAAClU,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;EACzCvS,UAAAA,KAAK,CAAC0S,IAAI,CAAC,oBAAoB,EAAE;EAAEnQ,YAAAA,YAAY,EAAE,IAAA;EAAK,WAAC,CAAC,CAAA;EAC1D,SAAA;EAAC,OAAA,CAAA,CAAA,CAAA;EAAA,MAAA,OAAA+5B,OAAA,CAAA;EAAA,KAAA,CAxB+BG,YAAgB,CAyBjD,CAAA;EACH,GAAA;EAAC9rB,EAAAA,YAAA,CAAAmrB,KAAA,EAAA,CAAA;MAAAlrB,GAAA,EAAA,cAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAsxB,YAAAA,CAAan6B,GAAgB,EAAE4B,EAAW,EAAE;EAC1C,MAAA,IAAI,CAAC+5B,YAAY,CAAChzB,IAAI,CAAC;EAAE/G,QAAAA,EAAE,EAAFA,EAAE;EAAE5B,QAAAA,GAAG,EAAHA,GAAAA;EAAI,OAAC,CAAC,CAAA;EACrC,KAAA;EAAC,GAAA,EAAA;MAAAqQ,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAsJ,IAAAA,CAA6B7R,IAAO,EAAEyB,GAAkB,EAAgB;EAAA,MAAA,KAAA,IAAAgJ,GAAA,GAAA,CAAA,EAAAoxB,mBAAA,GAGjE,IAAI,CAACR,YAAY,EAAA5wB,GAAA,GAAAoxB,mBAAA,CAAA78B,MAAA,EAAAyL,GAAA,EAAE,EAAA;UAFnB,IACY8Y,QAAQ,GAAAsY,mBAAA,CAAApxB,GAAA,CAAvB/K,CAAAA,GAAG,CAAKM,IAAI,CAAA,CAAA;EAEZ,QAAA,IAAI,CAAC,CAACujB,QAAQ,IAAIA,QAAQ,CAAC9hB,GAAG,EAAS,IAAI,EAAEzB,IAAa,CAAC,KAAK,KAAK,EAAE;EACrE,UAAA,OAAO,KAAK,CAAA;EACd,SAAA;EACF,OAAA;EACF,KAAA;EAAC,GAAA,EAAA;MAAA+P,GAAA,EAAA,MAAA;EAAAxH,IAAAA,KAAA,EAID,SAAApL,IAAKC,CAAAA,MAAkC,EAAE;QACvC,OAAO,IAAI,CAACg+B,aAAa,GAAG,IAAI,GAAGU,SAAS,CAAC,IAAI,EAAE1+B,MAAM,CAAC,CAAA;EAC5D,KAAA;EAAC,GAAA,EAAA;MAAA2S,GAAA,EAAA,mBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAwzB,iBAAkBpB,CAAAA,MAAc,EAAE;EAChC,MAAA,IAAQr5B,EAAE,GAAKq5B,MAAM,CAAbr5B,EAAE,CAAA;QACV,OAAOA,EAAE,GAAG,CAAC,CAAC,IAAI,CAACg6B,QAAQ,CAAC57B,GAAG,CAAC4B,EAAE,CAAC,GAAG,IAAI,CAACg6B,QAAQ,CAACnoB,IAAI,CAAC3H,OAAO,CAACmvB,MAAM,CAAC,KAAK,CAAC,CAAC,CAAA;EACjF,KAAA;EAAC,GAAA,EAAA;MAAA5qB,GAAA,EAAA,WAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAyJ,SAAAA,CAAU2oB,MAAc,EAAE55B,OAAgC,EAAE;EAC1D,MAAA,IAAI,CAAC,IAAI,CAACq6B,aAAa,EAAE;EACvB,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;EAEA,MAAA,IAAI,IAAI,CAACW,iBAAiB,CAACpB,MAAM,CAAC,EAAE;EAClC,QAAA,OAAO,IAAI,CAAA;EACb,OAAA;QAEA,IAAIA,MAAM,CAACr5B,EAAE,EAAE;UACb,IAAI,CAACg6B,QAAQ,CAAC57B,GAAG,CAACi7B,MAAM,CAACr5B,EAAE,CAAC,GAAGq5B,MAAM,CAAA;EACvC,OAAA;QACA,IAAI,CAACW,QAAQ,CAACnoB,IAAI,CAAC9K,IAAI,CAACsyB,MAAM,CAAC,CAAA;QAE/B,IAAIA,MAAM,CAACz7B,OAAO,EAAE;EAClBy7B,QAAAA,MAAM,CAACz7B,OAAO,CAAC,IAAI,EAAE6B,OAAO,CAAC,CAAA;EAC/B,OAAA;EAEA,MAAA,IAAI45B,MAAM,CAACp5B,SAAS,IAAIo5B,MAAM,CAAC/hB,MAAM,EAAE;UACrC,IAAIlH,KAAK,GAAG,CAAC,CAAA;EACb,QAAA,IAAM4O,GAAG,GAAG,IAAI,CAAC+a,YAAY,CAACr8B,MAAM,CAAA;EACpC,QAAA,IAAM4Z,MAAM,GAAG+hB,MAAM,CAAC/hB,MAAM,CAACjD,MAAM,CAAC,UAACC,GAAG,EAAEtU,EAAE,EAAK;EAC/CsU,UAAAA,GAAG,CAACtU,EAAE,CAAC,GAAG,IAAI,CAAA;EACdsU,UAAAA,GAAG,CAAComB,YAAY,CAAC16B,EAAE,CAAC,CAAC,GAAG,IAAI,CAAA;EAC5B,UAAA,OAAOsU,GAAG,CAAA;WACX,EAAE,EAAE,CAAC,CAAA;EAEN,QAAA,OAAOlE,KAAK,GAAG4O,GAAG,EAAE5O,KAAK,EAAE,EAAE;YAC3B,IAAMuqB,OAAO,GAAG,IAAI,CAACZ,YAAY,CAAC3pB,KAAK,CAAC,CAACpQ,EAAE,CAAA;EAE3C,UAAA,IAAI26B,OAAO,KAAKrjB,MAAM,CAACqjB,OAAO,CAAC,IAAIrjB,MAAM,CAACojB,YAAY,CAACC,OAAO,CAAC,CAAC,CAAC,EAAE;EACjE,YAAA,MAAA;EACF,WAAA;EACF,SAAA;UAEA,IAAI,CAACZ,YAAY,CAACp8B,MAAM,CAACyS,KAAK,EAAE,CAAC,EAAE;YAAEpQ,EAAE,EAAEq5B,MAAM,CAACr5B,EAAE;YAAE5B,GAAG,EAAEi7B,MAAM,CAACp5B,SAAAA;EAAU,SAAC,CAAC,CAAA;EAC9E,OAAC,MAAM,IAAIo5B,MAAM,CAACp5B,SAAS,EAAE;EAC3B,QAAA,IAAI,CAAC85B,YAAY,CAAChzB,IAAI,CAAC;YAAE/G,EAAE,EAAEq5B,MAAM,CAACr5B,EAAE;YAAE5B,GAAG,EAAEi7B,MAAM,CAACp5B,SAAAA;EAAU,SAAC,CAAC,CAAA;EAClE,OAAA;EAEA,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAAwO,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAwxB,WAAAA,CAAY9W,GAAa,EAAEliB,OAAa,EAAgB;EACtD;QACA,IAAI,IAAI,CAACm7B,WAAW,CAACjZ,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;EAChC,QAAA,OAAO,KAAK,CAAA;EACd,OAAA;EAEA,MAAA,IAAM7lB,MAAM,GAAGF,SAAa,CAAC+lB,GAAG,CAAC,CAAA;EAEjCliB,MAAAA,OAAO,GAAGA,OAAO,GAAG0H,MAAM,CAAC,EAAE,EAAE1H,OAAO,CAAC,GAAG,EAAE,CAAA;EAE5C,MAAA,IAAI,CAACkyB,SAAS,CAAC5qB,IAAI,CAAC;EAAE4a,QAAAA,GAAG,EAAHA,GAAG;EAAEliB,QAAAA,OAAO,EAAPA,OAAAA;EAAQ,OAAC,CAAC,CAAA;QACrC,IAAI,CAACwQ,MAAM,CAAC0hB,SAAS,CAAC5qB,IAAI,CAAC4a,GAAG,CAAC,CAAA;;EAE/B;EACA;EACA,MAAA,IAAIA,GAAG,KAAK,IAAI,CAAC3lB,QAAQ,EAAE;EACzB,QAAA,IAAI,CAACiU,MAAM,CAAC4hB,GAAG,CAAC/1B,MAAM,EAAE,QAAQ,EAAE,IAAI,CAACm+B,cAAc,CAAC,CAAA;EACxD,OAAA;EAEA,MAAA,IAAI,CAAC1pB,IAAI,CAAC,oBAAoB,EAAE;EAAEoR,QAAAA,GAAG,EAAHA,GAAG;EAAE7lB,QAAAA,MAAM,EAANA,MAAM;EAAE+B,QAAAA,KAAK,EAAE,IAAI;EAAE4B,QAAAA,OAAO,EAAPA,OAAAA;EAAQ,OAAC,CAAC,CAAA;EACxE,KAAA;EAAC,GAAA,EAAA;MAAAgP,GAAA,EAAA,gBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAyyB,cAAe/X,CAAAA,GAAa,EAAE;EAC5B,MAAA,IAAMvR,KAAK,GAAG,IAAI,CAACwqB,WAAW,CAACjZ,GAAG,CAAC,CAAA;EAEnC,MAAA,IAAM7lB,MAAM,GAAGF,SAAa,CAAC+lB,GAAG,CAAC,CAAA;QACjC,IAAMliB,OAAO,GAAG,IAAI,CAACkyB,SAAS,CAACvhB,KAAK,CAAC,CAAC3Q,OAAO,CAAA;EAE7C,MAAA,IAAI,CAACwQ,MAAM,CAACpB,MAAM,CAAC/S,MAAM,EAAE,QAAQ,EAAE,IAAI,CAACm+B,cAAc,CAAC,CAAA;QAEzD,IAAI,CAACtI,SAAS,CAACh0B,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;QAC/B,IAAI,CAACH,MAAM,CAAC0hB,SAAS,CAACh0B,MAAM,CAACyS,KAAK,EAAE,CAAC,CAAC,CAAA;EAEtC,MAAA,IAAI,CAACG,IAAI,CAAC,uBAAuB,EAAE;EAAEoR,QAAAA,GAAG,EAAHA,GAAG;EAAE7lB,QAAAA,MAAM,EAANA,MAAM;EAAE+B,QAAAA,KAAK,EAAE,IAAI;EAAE4B,QAAAA,OAAO,EAAPA,OAAAA;EAAQ,OAAC,CAAC,CAAA;EAC3E,KAAA;EAAC,GAAA,EAAA;MAAAgP,GAAA,EAAA,aAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA2zB,WAAYjZ,CAAAA,GAAa,EAAE;EACzB,MAAA,KAAK,IAAI5d,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG,IAAI,CAAC4tB,SAAS,CAACj0B,MAAM,EAAEqG,CAAC,EAAE,EAAE;UAC9C,IAAI,IAAI,CAAC4tB,SAAS,CAAC5tB,CAAC,CAAC,CAAC4d,GAAG,KAAKA,GAAG,EAAE;EACjC,UAAA,OAAO5d,CAAC,CAAA;EACV,SAAA;EACF,OAAA;EAEA,MAAA,OAAO,CAAC,CAAC,CAAA;EACX,KAAA;EAAC,GAAA,EAAA;MAAA0K,GAAA,EAAA,eAAA;EAAAxH,IAAAA,KAAA,EAED,SAAA4a,aAAcF,CAAAA,GAAa,EAAE;EAC3B,MAAA,IAAMkZ,QAAQ,GAAG,IAAI,CAACD,WAAW,CAACjZ,GAAG,CAAC,CAAA;EAEtC,MAAA,OAAOkZ,QAAQ,KAAK,CAAC,CAAC,GAAG,IAAI,GAAG,IAAI,CAAClJ,SAAS,CAACkJ,QAAQ,CAAC,CAACp7B,OAAO,CAAA;EAClE,KAAA;EAAC,GAAA,EAAA;MAAAgP,GAAA,EAAA,KAAA;MAAAxH,KAAA,EAED,SAAA2T,GAAAA,GAAM;QACJ,OAAO,CAAG,IAAI,CAAC9e,MAAM,CAAS6e,IAAI,IAAoBA,IAAI,EAAEC,GAAG,EAAE,CAAA;EACnE,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAA+e,KAAA,CAAA;EAAA,CAAA,EAAA,CAAA;;EAGH;;EAKA;EACO,SAASa,SAASA,CAAC38B,KAAY,EAAE/B,MAAkC,EAAE;IAC1E+B,KAAK,CAACi8B,aAAa,GAAG,IAAI,CAAA;EAE1B,EAAA,IAAIp6B,EAAE,CAAC5D,MAAM,CAACA,MAAM,CAAC,EAAE;EACrBF,IAAAA,MAAQ,CAACE,MAAM,CAAC,CAAA;EAClB,GAAA;EAEAiF,EAAAA,YAAU,CAAClF,IAAI,CAACC,MAAM,CAAC,CAAA;EACvB4F,EAAAA,SAAO,CAAC7F,IAAI,CAACC,MAAM,CAAC,CAAA;EACpB0f,EAAAA,GAAG,CAAC3f,IAAI,CAACC,MAAM,CAAC,CAAA;;EAEhB;IACA+B,KAAK,CAAC/B,MAAM,GAAGA,MAAM,CAAA;EACrB+B,EAAAA,KAAK,CAAC7B,QAAQ,GAAGF,MAAM,CAACE,QAAQ,CAAA;EAEhC6B,EAAAA,KAAK,CAAC6S,SAAS,CAACkP,cAAY,CAAC,CAAA;EAC7B/hB,EAAAA,KAAK,CAAC6S,SAAS,CAACT,MAAM,CAAC,CAAA;EAEvB,EAAA,OAAOpS,KAAK,CAAA;EACd,CAAA;EAEA,SAAS68B,YAAYA,CAAC16B,EAAU,EAAE;IAChC,OAAOA,EAAE,IAAIA,EAAE,CAACyD,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC,CAAA;EACtC;;EC7RA,IAAM5F,KAAK,GAAG,IAAI87B,KAAK,EAAE,CAAA;EAEzB,IAAMnpB,QAAQ,GAAG3S,KAAK,CAAC4S,cAAc,CAAA;AAErC,mBAAeD,QAAQ,CAAA;EAEvB,IAAMsqB,OAAO,GAAG,OAAOC,UAAU,KAAK,WAAW,GAAGA,UAAU,GAAG,OAAOj/B,MAAM,KAAK,WAAW,GAAGA,MAAM,GAAGk/B,MAAI,CAAA;EAC9Gn9B,KAAK,CAAChC,IAAI,CAACi/B,OAAO,CAAC;;ACTnB,mBAAe,CAAA,YAAM,EAAE;;ACAvB,iBAAe,CAAA,YAAM,EAAE;;AC2BvB,aAAe,CAAA,UAACG,IAAiB,EAAK;EACpC,EAAA,IAAMC,WAAW,GACf,CACE,CAAC,GAAG,EAAE,GAAG,CAAC,EACV,CAAC,MAAM,EAAE,KAAK,CAAC,EACf,CAAC,OAAO,EAAE,QAAQ,CAAC,EACnB,CAAC,OAAO,EAAE,QAAQ,CAAC,CACpB,CACDtyB,MAAM,CAAC,UAAArK,IAAA,EAAA;MAAA,IAAE48B,MAAM,GAAA58B,IAAA,CAAA,CAAA,CAAA;EAAE68B,MAAAA,MAAM,GAAA78B,IAAA,CAAA,CAAA,CAAA,CAAA;EAAA,IAAA,OAAM48B,MAAM,IAAIF,IAAI,IAAIG,MAAM,IAAIH,IAAI,CAAA;KAAC,CAAA,CAAA;IAEhE,IAAMI,QAGL,GAAG,SAHEA,QAGLA,CAAIl8B,CAAC,EAAEJ,CAAC,EAAK;EACZ,IAAA,IACEu8B,KAAK,GAQHL,IAAI,CARNK,KAAK;QAAAC,YAAA,GAQHN,IAAI,CAPNO,MAAM;QAANA,MAAM,GAAAD,YAAA,KAAG,KAAA,CAAA,GAAA;UACPl1B,IAAI,EAAE,CAAC+Q,QAAQ;EACf9Q,QAAAA,KAAK,EAAE8Q,QAAQ;UACf7Q,GAAG,EAAE,CAAC6Q,QAAQ;EACd5Q,QAAAA,MAAM,EAAE4Q,QAAAA;EACV,OAAC,GAAAmkB,YAAA;QAAAE,YAAA,GAECR,IAAI,CADNvO,MAAM;QAANA,MAAM,GAAA+O,YAAA,KAAG,KAAA,CAAA,GAAA;EAAEt8B,QAAAA,CAAC,EAAE,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAA;EAAE,OAAC,GAAA08B,YAAA,CAAA;EAGzB,IAAA,IAAM1yB,MAEL,GAAG;EAAEuyB,MAAAA,KAAK,EAALA,KAAK;EAAEL,MAAAA,IAAI,EAAJA,IAAI;EAAE97B,MAAAA,CAAC,EAAE,IAAc;EAAEJ,MAAAA,CAAC,EAAE,IAAA;OAAgB,CAAA;MAAA,KAAAoK,IAAAA,GAAA,MAAAA,GAAA,GAE1B+xB,WAAW,CAAAx9B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAvC,MAAA,IAAAuyB,eAAA,GAA0BR,WAAW,CAAA/xB,GAAA,CAAA;EAA9BgyB,QAAAA,MAAM,GAAAO,eAAA,CAAA,CAAA,CAAA;EAAEN,QAAAA,MAAM,GAAAM,eAAA,CAAA,CAAA,CAAA,CAAA;EACxB,MAAA,IAAMC,KAAK,GAAGhyB,IAAI,CAACiyB,KAAK,CAAC,CAACz8B,CAAC,GAAGutB,MAAM,CAACvtB,CAAC,IAAK87B,IAAI,CAASE,MAAM,CAAC,CAAC,CAAA;EAChE,MAAA,IAAMU,KAAK,GAAGlyB,IAAI,CAACiyB,KAAK,CAAC,CAAC78B,CAAC,GAAG2tB,MAAM,CAAC3tB,CAAC,IAAKk8B,IAAI,CAASG,MAAM,CAAC,CAAC,CAAA;EAEhEryB,MAAAA,MAAM,CAACoyB,MAAM,CAAC,GAAGxxB,IAAI,CAACqB,GAAG,CAACwwB,MAAM,CAACn1B,IAAI,EAAEsD,IAAI,CAACiD,GAAG,CAAC4uB,MAAM,CAACl1B,KAAK,EAAEq1B,KAAK,GAAIV,IAAI,CAASE,MAAM,CAAC,GAAGzO,MAAM,CAACvtB,CAAC,CAAC,CAAC,CAAA;EACxG4J,MAAAA,MAAM,CAACqyB,MAAM,CAAC,GAAGzxB,IAAI,CAACqB,GAAG,CAACwwB,MAAM,CAACj1B,GAAG,EAAEoD,IAAI,CAACiD,GAAG,CAAC4uB,MAAM,CAACh1B,MAAM,EAAEq1B,KAAK,GAAIZ,IAAI,CAASG,MAAM,CAAC,GAAG1O,MAAM,CAAC3tB,CAAC,CAAC,CAAC,CAAA;EAC1G,KAAA;EAEA,IAAA,OAAOgK,MAAM,CAAA;KACd,CAAA;IAEDsyB,QAAQ,CAACJ,IAAI,GAAGA,IAAI,CAAA;IACpBI,QAAQ,CAACH,WAAW,GAAGA,WAAW,CAAA;EAElC,EAAA,OAAOG,QAAQ,CAAA;EACjB,CAAC;;ECvED;;;;;;;;;ECYA,IAAMS,cAAsB,GAAG;EAC7B97B,EAAAA,EAAE,EAAE,UAAU;IACdpC,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAK,EAAE;EACb,IAAA,IAAwB2S,QAAQ,GAAK3S,KAAK,CAAlC4S,cAAc,CAAA;EAEtBD,IAAAA,QAAQ,CAACurB,QAAQ,GAAG50B,MAAM,CAACqJ,QAAQ,CAACurB,QAAQ,IAAI,EAAE,EAAEC,WAAW,CAAC,CAAA;EAChExrB,IAAAA,QAAQ,CAACyrB,cAAc,GAAGzrB,QAAQ,CAACurB,QAAQ,CAACd,IAAI,CAAA;EAClD,GAAA;EACF,CAAC,CAAA;AAED,iBAAea,cAAc;;EC4B7B,IAAMI,WAAiE,GAAG;IACxEl9B,KAAK,EAAA,SAAAA,KAACmB,CAAAA,GAAG,EAAE;EACT,IAAA,IAAQglB,KAAK,GAAsChlB,GAAG,CAA9CglB,KAAK;QAAEnd,IAAI,GAAgC7H,GAAG,CAAvC6H,IAAI;QAAEI,KAAK,GAAyBjI,GAAG,CAAjCiI,KAAK;QAAcxJ,MAAM,GAAKuB,GAAG,CAA1BskB,UAAU,CAAA;EACtC,IAAA,IAAA0X,cAAA,GAAyBhX,KAAK,CAAC1lB,OAAO;QAAhC28B,KAAK,GAAAD,cAAA,CAALC,KAAK;QAAEz8B,OAAO,GAAAw8B,cAAA,CAAPx8B,OAAO,CAAA;EACpB,IAAA,IAAA08B,eAAA,GAAkClX,KAAK,CAAC1lB,OAAO;QAAvC68B,UAAU,GAAAD,eAAA,CAAVC,UAAU;QAAEtU,SAAS,GAAAqU,eAAA,CAATrU,SAAS,CAAA;MAE7B,IAAIoU,KAAK,KAAK,UAAU,EAAE;EACxBA,MAAAA,KAAK,GAAGp0B,IAAI,CAACvB,KAAK,GAAGuB,IAAI,CAACtB,MAAM,CAAA;EAClC,KAAA;MAEAye,KAAK,CAACkB,WAAW,GAAGlf,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAAC,CAAA;MACtCumB,KAAK,CAAC5L,SAAS,GAAGpS,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC,CAAA;MAClCmd,KAAK,CAACiX,KAAK,GAAGA,KAAK,CAAA;MACnBjX,KAAK,CAACmX,UAAU,GAAGA,UAAU,CAAA;EAE7B,IAAA,IAAMC,WAAW,GAAIpX,KAAK,CAACoX,WAAW,GAAG;EACvCh2B,MAAAA,GAAG,EAAE6B,KAAK,CAAC7B,GAAG,IAAK6B,KAAK,CAAC/B,IAAI,IAAI,CAAC+B,KAAK,CAAC5B,MAAO;EAC/CH,MAAAA,IAAI,EAAE+B,KAAK,CAAC/B,IAAI,IAAK+B,KAAK,CAAC7B,GAAG,IAAI,CAAC6B,KAAK,CAAC9B,KAAM;EAC/CE,MAAAA,MAAM,EAAE4B,KAAK,CAAC5B,MAAM,IAAK4B,KAAK,CAAC9B,KAAK,IAAI,CAAC8B,KAAK,CAAC7B,GAAI;QACnDD,KAAK,EAAE8B,KAAK,CAAC9B,KAAK,IAAK8B,KAAK,CAAC5B,MAAM,IAAI,CAAC4B,KAAK,CAAC/B,IAAAA;OAC9C,CAAA;EAEF8e,IAAAA,KAAK,CAACqX,cAAc,GAAG,CAAC,EAAEp0B,KAAK,CAAC/B,IAAI,IAAI+B,KAAK,CAAC9B,KAAK,CAAC,CAAA;MAEpD,IAAI6e,KAAK,CAACmX,UAAU,EAAE;QACpB,IAAMG,IAAI,GAAG,CAACF,WAAW,CAACl2B,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,KAAKk2B,WAAW,CAACh2B,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC,CAAA;QACrE4e,KAAK,CAACuX,QAAQ,GAAG;EACfv9B,QAAAA,CAAC,EAAEs9B,IAAI;EACP19B,QAAAA,CAAC,EAAE09B,IAAAA;SACJ,CAAA;EACH,KAAC,MAAM;QACLtX,KAAK,CAACuX,QAAQ,GAAG;UACfv9B,CAAC,EAAEo9B,WAAW,CAACl2B,IAAI,GAAG,CAAC,CAAC,GAAG,CAAC;EAC5BtH,QAAAA,CAAC,EAAEw9B,WAAW,CAACh2B,GAAG,GAAG,CAAC,CAAC,GAAG,CAAA;SAC3B,CAAA;EACH,KAAA;MAEA,IAAI5G,OAAO,KAAK,KAAK,EAAE;EACrBwH,MAAAA,MAAM,CAACiB,KAAK,EAAEm0B,WAAW,CAAC,CAAA;EAC5B,KAAA;EAEA,IAAA,IAAI,EAACvU,SAAS,IAAA,IAAA,IAATA,SAAS,CAAEtqB,MAAM,CAAE,EAAA,OAAA;MAExB,IAAMi/B,eAAe,GAAG,IAAIzY,YAAY,CAAC/jB,GAAG,CAAC3B,WAAW,CAAC,CAAA;MAEzDm+B,eAAe,CAAC/U,QAAQ,CAACznB,GAAG,CAAC3B,WAAW,CAAC4oB,YAAY,CAAC,CAAA;EACtDuV,IAAAA,eAAe,CAAC/X,aAAa,CAACoD,SAAS,CAAC,CAAA;MAExC7C,KAAK,CAACwX,eAAe,GAAGA,eAAe,CAAA;EACvCA,IAAAA,eAAe,CAAC3X,QAAQ,CAAA4X,cAAA,CAAMz8B,EAAAA,EAAAA,GAAG,CAAE,CAAC,CAAA;KACrC;IAEDmK,GAAG,EAAA,SAAAA,GAACnK,CAAAA,GAAG,EAAE;EACP,IAAA,IAAQglB,KAAK,GAAmBhlB,GAAG,CAA3BglB,KAAK;QAAEnd,IAAI,GAAa7H,GAAG,CAApB6H,IAAI;QAAEpJ,MAAM,GAAKuB,GAAG,CAAdvB,MAAM,CAAA;EAC3B,IAAA,IAAQ29B,WAAW,GAAKpX,KAAK,CAArBoX,WAAW,CAAA;MACnB,IAAMM,aAAa,GAAG11B,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAAC,CAAA;MACxC,IAAMk+B,YAAY,GAAG3X,KAAK,CAACmX,UAAU,GAAGS,aAAa,GAAGC,QAAQ,CAAA;EAEhE71B,IAAAA,MAAM,CAAChH,GAAG,CAACiI,KAAK,EAAEm0B,WAAW,CAAC,CAAA;MAC9BO,YAAY,CAAC3X,KAAK,EAAEA,KAAK,CAACqX,cAAc,EAAE59B,MAAM,EAAEoJ,IAAI,CAAC,CAAA;EAEvD,IAAA,IAAI,CAACmd,KAAK,CAACwX,eAAe,EAAE;EAC1B,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;MAEA,IAAMM,aAAa,GAAG91B,MAAM,CAAC,EAAE,EAAEa,IAAI,CAAC,CAAA;EAEtCG,IAAAA,QAAQ,CAACo0B,WAAW,EAAEU,aAAa,EAAE;EACnC99B,MAAAA,CAAC,EAAEP,MAAM,CAACO,CAAC,GAAG09B,aAAa,CAAC19B,CAAC;EAC7BJ,MAAAA,CAAC,EAAEH,MAAM,CAACG,CAAC,GAAG89B,aAAa,CAAC99B,CAAAA;EAC9B,KAAC,CAAC,CAAA;EAEF,IAAA,IAAMgK,MAAM,GAAGoc,KAAK,CAACwX,eAAe,CAAC1X,MAAM,CAAA2X,cAAA,CAAAA,cAAA,CAAA,EAAA,EACtCz8B,GAAG,CAAA,EAAA,EAAA,EAAA;EACN6H,MAAAA,IAAI,EAAEi1B,aAAa;EACnB70B,MAAAA,KAAK,EAAEm0B,WAAW;EAClB9X,MAAAA,UAAU,EAAE7lB,MAAM;EAClBmnB,MAAAA,UAAU,EAAEnnB,MAAM;EAClBonB,MAAAA,QAAQ,EAAEiX,aAAAA;EAAa,KAAA,CACxB,CAAC,CAAA;EAEF,IAAA,IAAQz9B,KAAK,GAAKuJ,MAAM,CAAhBvJ,KAAK,CAAA;MAEb,IAAIuJ,MAAM,CAACmd,OAAO,EAAE;EAClB,MAAA,IAAMgX,eAAe,GAAGvzB,IAAI,CAAC+O,GAAG,CAAClZ,KAAK,CAACL,CAAC,CAAC,GAAGwK,IAAI,CAAC+O,GAAG,CAAClZ,KAAK,CAACT,CAAC,CAAC,CAAA;;EAE7D;EACA+9B,MAAAA,YAAY,CAAC3X,KAAK,EAAE+X,eAAe,EAAEn0B,MAAM,CAACnK,MAAM,EAAEmK,MAAM,CAACf,IAAI,CAAC,CAAA;EAChEb,MAAAA,MAAM,CAACvI,MAAM,EAAEmK,MAAM,CAACnK,MAAM,CAAC,CAAA;EAC/B,KAAA;MAEA,OAAOmK,MAAM,CAAC8c,UAAU,CAAA;KACzB;EAED7nB,EAAAA,QAAQ,EAAE;EACRo+B,IAAAA,KAAK,EAAE,UAAU;EACjBE,IAAAA,UAAU,EAAE,KAAK;EACjBtU,IAAAA,SAAS,EAAE,EAAE;EACbroB,IAAAA,OAAO,EAAE,KAAA;EACX,GAAA;EACF,CAAC,CAAA;EAED,SAASo9B,aAAaA,CAAAx+B,IAAA,EAA8Ci+B,cAAuB,EAAE59B,MAAa,EAAE;EAAA,EAAA,IAAnFynB,WAAW,GAAA9nB,IAAA,CAAX8nB,WAAW;MAAEqW,QAAQ,GAAAn+B,IAAA,CAARm+B,QAAQ,CAAA;EAC5C,EAAA,IAAIF,cAAc,EAAE;EAClB59B,IAAAA,MAAM,CAACG,CAAC,GAAGsnB,WAAW,CAACtnB,CAAC,GAAG,CAACH,MAAM,CAACO,CAAC,GAAGknB,WAAW,CAAClnB,CAAC,IAAIu9B,QAAQ,CAAC39B,CAAC,CAAA;EACpE,GAAC,MAAM;EACLH,IAAAA,MAAM,CAACO,CAAC,GAAGknB,WAAW,CAAClnB,CAAC,GAAG,CAACP,MAAM,CAACG,CAAC,GAAGsnB,WAAW,CAACtnB,CAAC,IAAI29B,QAAQ,CAACv9B,CAAC,CAAA;EACpE,GAAA;EACF,CAAA;EAEA,SAAS69B,QAAQA,CAAA39B,KAAA,EAEfm9B,cAAuB,EACvB59B,MAAa,EACboJ,IAAU,EACV;EAAA,EAAA,IAJEuR,SAAS,GAAAla,KAAA,CAATka,SAAS;MAAE8M,WAAW,GAAAhnB,KAAA,CAAXgnB,WAAW;MAAE+V,KAAK,GAAA/8B,KAAA,CAAL+8B,KAAK;MAAEM,QAAQ,GAAAr9B,KAAA,CAARq9B,QAAQ,CAAA;EAKzC,EAAA,IAAIF,cAAc,EAAE;EAClB,IAAA,IAAMW,SAAS,GAAGn1B,IAAI,CAACvB,KAAK,GAAG21B,KAAK,CAAA;EAEpCx9B,IAAAA,MAAM,CAACG,CAAC,GAAGsnB,WAAW,CAACtnB,CAAC,GAAG,CAACo+B,SAAS,GAAG5jB,SAAS,CAAC7S,MAAM,IAAIg2B,QAAQ,CAAC39B,CAAC,CAAA;EACxE,GAAC,MAAM;EACL,IAAA,IAAMq+B,QAAQ,GAAGp1B,IAAI,CAACtB,MAAM,GAAG01B,KAAK,CAAA;EAEpCx9B,IAAAA,MAAM,CAACO,CAAC,GAAGknB,WAAW,CAAClnB,CAAC,GAAG,CAACi+B,QAAQ,GAAG7jB,SAAS,CAAC9S,KAAK,IAAIi2B,QAAQ,CAACv9B,CAAC,CAAA;EACtE,GAAA;EACF,CAAA;AAEA,sBAAegpB,YAAY,CAAC+T,WAAW,EAAE,aAAa,CAAC;;EC/KvD,IAAMmB,IAAI,GAAI,SAARA,IAAIA,GAAU,EAAoD,CAAA;EAExEA,IAAI,CAAC5U,SAAS,GAAG,EAAE,CAAA;AAEnB,mBAAe4U,IAAI;;ECqBnB,SAASr+B,OAAKA,CAAAT,IAAA,EAAoF;EAAA,EAAA,IAAjFyJ,IAAI,GAAAzJ,IAAA,CAAJyJ,IAAI;MAAEoc,WAAW,GAAA7lB,IAAA,CAAX6lB,WAAW;MAAEe,KAAK,GAAA5mB,IAAA,CAAL4mB,KAAK;MAAE3mB,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAEimB,UAAU,GAAAlmB,IAAA,CAAVkmB,UAAU,CAAA;EAChE,EAAA,IAAQhlB,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;EACf,EAAA,IAAQ69B,WAAW,GAAK79B,OAAO,CAAvB69B,WAAW,CAAA;IACnB,IAAM5Q,MAAY,GAAGvlB,MAAM,CACzB;EACEd,IAAAA,IAAI,EAAE,CAAC;EACPE,IAAAA,GAAG,EAAE,CAAC;EACND,IAAAA,KAAK,EAAE,CAAC;EACRE,IAAAA,MAAM,EAAE,CAAA;EACV,GAAC,EACD/G,OAAO,CAACitB,MAAM,IAAI,EACpB,CAAC,CAAA;IAED,IAAI1kB,IAAI,IAAIs1B,WAAW,EAAE;MACvB,IAAMC,WAAW,GAAGC,kBAAkB,CAAC/9B,OAAO,CAAC89B,WAAW,EAAE/+B,WAAW,EAAEimB,UAAU,CAAC,CAAA;EAEpF,IAAA,IAAI8Y,WAAW,EAAE;EACf,MAAA,IAAME,SAAS,GAAGF,WAAW,CAACj3B,KAAK,GAAGi3B,WAAW,CAACl3B,IAAI,GAAG2B,IAAI,CAACvB,KAAK,CAAA;EACnE,MAAA,IAAMi3B,UAAU,GAAGH,WAAW,CAAC/2B,MAAM,GAAG+2B,WAAW,CAACh3B,GAAG,GAAGyB,IAAI,CAACtB,MAAM,CAAA;QAErE,IAAI+2B,SAAS,GAAG,CAAC,EAAE;UACjB/Q,MAAM,CAACrmB,IAAI,IAAIo3B,SAAS,CAAA;UACxB/Q,MAAM,CAACpmB,KAAK,IAAIm3B,SAAS,CAAA;EAC3B,OAAA;QACA,IAAIC,UAAU,GAAG,CAAC,EAAE;UAClBhR,MAAM,CAACnmB,GAAG,IAAIm3B,UAAU,CAAA;UACxBhR,MAAM,CAAClmB,MAAM,IAAIk3B,UAAU,CAAA;EAC7B,OAAA;EACF,KAAA;EAEAhR,IAAAA,MAAM,CAACrmB,IAAI,IAAI+d,WAAW,CAAC/d,IAAI,GAAG2B,IAAI,CAACvB,KAAK,GAAG62B,WAAW,CAACj3B,IAAI,CAAA;EAC/DqmB,IAAAA,MAAM,CAACnmB,GAAG,IAAI6d,WAAW,CAAC7d,GAAG,GAAGyB,IAAI,CAACtB,MAAM,GAAG42B,WAAW,CAAC/2B,GAAG,CAAA;EAE7DmmB,IAAAA,MAAM,CAACpmB,KAAK,IAAI8d,WAAW,CAAC9d,KAAK,GAAG0B,IAAI,CAACvB,KAAK,IAAI,CAAC,GAAG62B,WAAW,CAACh3B,KAAK,CAAC,CAAA;EACxEomB,IAAAA,MAAM,CAAClmB,MAAM,IAAI4d,WAAW,CAAC5d,MAAM,GAAGwB,IAAI,CAACtB,MAAM,IAAI,CAAC,GAAG42B,WAAW,CAAC92B,MAAM,CAAC,CAAA;EAC9E,GAAA;IAEA2e,KAAK,CAACuH,MAAM,GAAGA,MAAM,CAAA;EACvB,CAAA;EAEA,SAASpiB,KAAGA,CAAAjL,KAAA,EAA6D;EAAA,EAAA,IAA1DT,MAAM,GAAAS,KAAA,CAANT,MAAM;MAAEJ,WAAW,GAAAa,KAAA,CAAXb,WAAW;MAAE2mB,KAAK,GAAA9lB,KAAA,CAAL8lB,KAAK,CAAA;EACvC,EAAA,IAAQ1lB,OAAO,GAAa0lB,KAAK,CAAzB1lB,OAAO;MAAEitB,MAAM,GAAKvH,KAAK,CAAhBuH,MAAM,CAAA;IAEvB,IAAM6Q,WAAW,GAAGC,kBAAkB,CAAC/9B,OAAO,CAAC89B,WAAW,EAAE/+B,WAAW,EAAEI,MAAM,CAAC,CAAA;IAEhF,IAAI,CAAC2+B,WAAW,EAAE,OAAA;EAElB,EAAA,IAAMv1B,IAAI,GAAG4d,UAAoB,CAAC2X,WAAW,CAAC,CAAA;EAE9C3+B,EAAAA,MAAM,CAACO,CAAC,GAAGwK,IAAI,CAACqB,GAAG,CAACrB,IAAI,CAACiD,GAAG,CAAC5E,IAAI,CAAC1B,KAAK,GAAGomB,MAAM,CAACpmB,KAAK,EAAE1H,MAAM,CAACO,CAAC,CAAC,EAAE6I,IAAI,CAAC3B,IAAI,GAAGqmB,MAAM,CAACrmB,IAAI,CAAC,CAAA;EAC3FzH,EAAAA,MAAM,CAACG,CAAC,GAAG4K,IAAI,CAACqB,GAAG,CAACrB,IAAI,CAACiD,GAAG,CAAC5E,IAAI,CAACxB,MAAM,GAAGkmB,MAAM,CAAClmB,MAAM,EAAE5H,MAAM,CAACG,CAAC,CAAC,EAAEiJ,IAAI,CAACzB,GAAG,GAAGmmB,MAAM,CAACnmB,GAAG,CAAC,CAAA;EAC7F,CAAA;EAEO,SAASi3B,kBAAkBA,CAChCv2B,KAAoD,EACpDzI,WAAwB,EACxBI,MAAc,EACd;EACA,EAAA,IAAIc,EAAE,CAAC7C,IAAI,CAACoK,KAAK,CAAC,EAAE;MAClB,OAAO2e,eAAyB,CAAC3e,KAAK,EAAEzI,WAAW,CAAC4B,YAAY,EAAE5B,WAAW,CAACvB,OAAO,EAAE,CACrF2B,MAAM,CAACO,CAAC,EACRP,MAAM,CAACG,CAAC,EACRP,WAAW,CACZ,CAAC,CAAA;EACJ,GAAC,MAAM;EACL,IAAA,OAAOonB,eAAyB,CAAC3e,KAAK,EAAEzI,WAAW,CAAC4B,YAAY,EAAE5B,WAAW,CAACvB,OAAO,CAAC,CAAA;EACxF,GAAA;EACF,CAAA;EAEA,IAAMe,UAAyB,GAAG;EAChCu/B,EAAAA,WAAW,EAAE,IAAI;EACjBD,EAAAA,WAAW,EAAE,IAAI;EACjB5Q,EAAAA,MAAM,EAAE,IAAI;EACZhF,EAAAA,OAAO,EAAE,KAAK;EACd/nB,EAAAA,OAAO,EAAE,KAAA;EACX,CAAC,CAAA;EAED,IAAMg+B,QAAwD,GAAG;EAC/D3+B,EAAAA,KAAK,EAALA,OAAK;EACLsL,EAAAA,GAAG,EAAHA,KAAG;EACHtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,mBAAemqB,YAAY,CAACwV,QAAQ,EAAE,UAAU,CAAC;;EC9GjD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EA6BA,IAAMC,OAAO,GAAG;IAAEr3B,GAAG,EAAE,CAAC6Q,QAAQ;IAAE/Q,IAAI,EAAE,CAAC+Q,QAAQ;IAAE5Q,MAAM,EAAE,CAAC4Q,QAAQ;EAAE9Q,EAAAA,KAAK,EAAE,CAAC8Q,QAAAA;EAAS,CAAC,CAAA;EACxF,IAAMymB,OAAO,GAAG;IAAEt3B,GAAG,EAAE,CAAC6Q,QAAQ;IAAE/Q,IAAI,EAAE,CAAC+Q,QAAQ;IAAE5Q,MAAM,EAAE,CAAC4Q,QAAQ;EAAE9Q,EAAAA,KAAK,EAAE,CAAC8Q,QAAAA;EAAS,CAAC,CAAA;EAExF,SAASpY,OAAKA,CAAAT,IAAA,EAAuE;EAAA,EAAA,IAApEC,WAAW,GAAAD,IAAA,CAAXC,WAAW;MAAE4lB,WAAW,GAAA7lB,IAAA,CAAX6lB,WAAW;MAAEe,KAAK,GAAA5mB,IAAA,CAAL4mB,KAAK,CAAA;EAC9C,EAAA,IAAQ1lB,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;EACf,EAAA,IAAIitB,MAAa,CAAA;EAEjB,EAAA,IAAIjtB,OAAO,EAAE;EACX,IAAA,IAAMq+B,UAAU,GAAGN,kBAAkB,CAAC/9B,OAAO,CAACitB,MAAM,EAAEluB,WAAW,EAAEA,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAAC,CAAA;EAEjG4tB,IAAAA,MAAM,GAAG9G,QAAkB,CAACkY,UAAU,CAAC,CAAA;EACzC,GAAA;IAEApR,MAAM,GAAGA,MAAM,IAAI;EAAEvtB,IAAAA,CAAC,EAAE,CAAC;EAAEJ,IAAAA,CAAC,EAAE,CAAA;KAAG,CAAA;IAEjComB,KAAK,CAACuH,MAAM,GAAG;EACbnmB,IAAAA,GAAG,EAAEmmB,MAAM,CAAC3tB,CAAC,GAAGqlB,WAAW,CAAC7d,GAAG;EAC/BF,IAAAA,IAAI,EAAEqmB,MAAM,CAACvtB,CAAC,GAAGilB,WAAW,CAAC/d,IAAI;EACjCG,IAAAA,MAAM,EAAEkmB,MAAM,CAAC3tB,CAAC,GAAGqlB,WAAW,CAAC5d,MAAM;EACrCF,IAAAA,KAAK,EAAEomB,MAAM,CAACvtB,CAAC,GAAGilB,WAAW,CAAC9d,KAAAA;KAC/B,CAAA;EACH,CAAA;EAEA,SAASgE,KAAGA,CAAAjL,KAAA,EAAyE;EAAA,EAAA,IAAtET,MAAM,GAAAS,KAAA,CAANT,MAAM;MAAEwJ,KAAK,GAAA/I,KAAA,CAAL+I,KAAK;MAAE5J,WAAW,GAAAa,KAAA,CAAXb,WAAW;MAAE2mB,KAAK,GAAA9lB,KAAA,CAAL8lB,KAAK,CAAA;EAC9C,EAAA,IAAQuH,MAAM,GAAcvH,KAAK,CAAzBuH,MAAM;MAAEjtB,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;IAEvB,IAAI,CAAC2I,KAAK,EAAE;EACV,IAAA,OAAA;EACF,GAAA;IAEA,IAAMtJ,IAAI,GAAGqI,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAAC,CAAA;EAC/B,EAAA,IAAMm/B,KAAK,GAAGP,kBAAkB,CAAC/9B,OAAO,CAACs+B,KAAK,EAAEv/B,WAAW,EAAEM,IAAI,CAAC,IAAK,EAAW,CAAA;EAClF,EAAA,IAAMk/B,KAAK,GAAGR,kBAAkB,CAAC/9B,OAAO,CAACu+B,KAAK,EAAEx/B,WAAW,EAAEM,IAAI,CAAC,IAAK,EAAW,CAAA;EAElFm/B,EAAAA,OAAO,CAACF,KAAK,EAAEH,OAAO,CAAC,CAAA;EACvBK,EAAAA,OAAO,CAACD,KAAK,EAAEH,OAAO,CAAC,CAAA;IAEvB,IAAIz1B,KAAK,CAAC7B,GAAG,EAAE;EACb3H,IAAAA,MAAM,CAACG,CAAC,GAAG4K,IAAI,CAACiD,GAAG,CAACjD,IAAI,CAACqB,GAAG,CAACgzB,KAAK,CAACz3B,GAAG,GAAGmmB,MAAM,CAACnmB,GAAG,EAAEzH,IAAI,CAACC,CAAC,CAAC,EAAEg/B,KAAK,CAACx3B,GAAG,GAAGmmB,MAAM,CAACnmB,GAAG,CAAC,CAAA;EACvF,GAAC,MAAM,IAAI6B,KAAK,CAAC5B,MAAM,EAAE;EACvB5H,IAAAA,MAAM,CAACG,CAAC,GAAG4K,IAAI,CAACqB,GAAG,CAACrB,IAAI,CAACiD,GAAG,CAACoxB,KAAK,CAACx3B,MAAM,GAAGkmB,MAAM,CAAClmB,MAAM,EAAE1H,IAAI,CAACC,CAAC,CAAC,EAAEg/B,KAAK,CAACv3B,MAAM,GAAGkmB,MAAM,CAAClmB,MAAM,CAAC,CAAA;EACnG,GAAA;IACA,IAAI4B,KAAK,CAAC/B,IAAI,EAAE;EACdzH,IAAAA,MAAM,CAACO,CAAC,GAAGwK,IAAI,CAACiD,GAAG,CAACjD,IAAI,CAACqB,GAAG,CAACgzB,KAAK,CAAC33B,IAAI,GAAGqmB,MAAM,CAACrmB,IAAI,EAAEvH,IAAI,CAACK,CAAC,CAAC,EAAE4+B,KAAK,CAAC13B,IAAI,GAAGqmB,MAAM,CAACrmB,IAAI,CAAC,CAAA;EAC3F,GAAC,MAAM,IAAI+B,KAAK,CAAC9B,KAAK,EAAE;EACtB1H,IAAAA,MAAM,CAACO,CAAC,GAAGwK,IAAI,CAACqB,GAAG,CAACrB,IAAI,CAACiD,GAAG,CAACoxB,KAAK,CAAC13B,KAAK,GAAGomB,MAAM,CAACpmB,KAAK,EAAExH,IAAI,CAACK,CAAC,CAAC,EAAE4+B,KAAK,CAACz3B,KAAK,GAAGomB,MAAM,CAACpmB,KAAK,CAAC,CAAA;EAC/F,GAAA;EACF,CAAA;EAEA,SAAS23B,OAAOA,CAACj2B,IAAU,EAAEhK,QAAc,EAAE;IAAA,KAAAmL,IAAAA,GAAA,MAAA2M,KAAA,GACxB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,CAAC,EAAA3M,GAAA,GAAA2M,KAAA,CAAApY,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAAlD,IAAA,IAAM8O,IAAI,GAAAnC,KAAA,CAAA3M,GAAA,CAAA,CAAA;EACb,IAAA,IAAI,EAAE8O,IAAI,IAAIjQ,IAAI,CAAC,EAAE;EACnBA,MAAAA,IAAI,CAACiQ,IAAI,CAAC,GAAGja,QAAQ,CAACia,IAAI,CAAC,CAAA;EAC7B,KAAA;EACF,GAAA;EAEA,EAAA,OAAOjQ,IAAI,CAAA;EACb,CAAA;EAEA,IAAMhK,UAA8B,GAAG;EACrC+/B,EAAAA,KAAK,EAAE,IAAI;EACXC,EAAAA,KAAK,EAAE,IAAI;EACXtR,EAAAA,MAAM,EAAE,IAAI;EACZhF,EAAAA,OAAO,EAAE,KAAK;EACd/nB,EAAAA,OAAO,EAAE,KAAA;EACX,CAAC,CAAA;EAED,IAAMu+B,aAAa,GAAG;EACpBN,EAAAA,OAAO,EAAPA,OAAO;EACPC,EAAAA,OAAO,EAAPA,OAAO;EACP7+B,EAAAA,KAAK,EAALA,OAAK;EACLsL,EAAAA,GAAG,EAAHA,KAAG;EACHtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,wBAAemqB,YAAY,CAAC+V,aAAa,EAAE,eAAe,CAAC;;EC3G3D,IAAMlgC,UAAQ,GAAGmJ,MAAM,CACrB;IACE,IAAIm2B,WAAWA,GAAG;MAChB,OAAO;EAAE/2B,MAAAA,GAAG,EAAE,CAAC;EAAEF,MAAAA,IAAI,EAAE,CAAC;EAAEG,MAAAA,MAAM,EAAE,CAAC;EAAEF,MAAAA,KAAK,EAAE,CAAA;OAAG,CAAA;KAChD;EACD,EAAA,IAAIg3B,WAAWA,CAACa,CAAC,EAAE,EAAC;EACtB,CAAC,EACDR,QAAQ,CAAC3/B,QACX,CAAC,CAAA;EAED,IAAMogC,YAAY,GAAG;IACnBp/B,KAAK,EAAE2+B,QAAQ,CAAC3+B,KAAK;IACrBsL,GAAG,EAAEqzB,QAAQ,CAACrzB,GAAG;EACjBtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,uBAAemqB,YAAY,CAACiW,YAAY,EAAE,cAAc,CAAC;;ECVzD,IAAMC,KAAK,GAAG;IAAE53B,KAAK,EAAE,CAAC2Q,QAAQ;EAAE1Q,EAAAA,MAAM,EAAE,CAAC0Q,QAAAA;EAAS,CAAC,CAAA;EACrD,IAAMknB,KAAK,GAAG;IAAE73B,KAAK,EAAE,CAAC2Q,QAAQ;EAAE1Q,EAAAA,MAAM,EAAE,CAAC0Q,QAAAA;EAAS,CAAC,CAAA;EASrD,SAASpY,OAAKA,CAACmB,GAAoC,EAAE;EACnD,EAAA,OAAO+9B,aAAa,CAACl/B,KAAK,CAACmB,GAAG,CAAC,CAAA;EACjC,CAAA;EAWA,SAASmK,KAAGA,CAACnK,GAAmC,EAAE;EAChD,EAAA,IAAQ3B,WAAW,GAAyB2B,GAAG,CAAvC3B,WAAW;MAAE2mB,KAAK,GAAkBhlB,GAAG,CAA1BglB,KAAK;MAAEnd,IAAI,GAAY7H,GAAG,CAAnB6H,IAAI;MAAEI,KAAK,GAAKjI,GAAG,CAAbiI,KAAK,CAAA;EACvC,EAAA,IAAQ3I,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;IAEf,IAAI,CAAC2I,KAAK,EAAE;EACV,IAAA,OAAA;EACF,GAAA;IAEA,IAAMm2B,OAAO,GACX3Y,UAAoB,CAAC4X,kBAAkB,CAAC/9B,OAAO,CAACmN,GAAG,EAASpO,WAAW,EAAE2B,GAAG,CAACvB,MAAM,CAAC,CAAC,IAAIy/B,KAAK,CAAA;IAChG,IAAMG,OAAO,GACX5Y,UAAoB,CAAC4X,kBAAkB,CAAC/9B,OAAO,CAACuL,GAAG,EAASxM,WAAW,EAAE2B,GAAG,CAACvB,MAAM,CAAC,CAAC,IAAI0/B,KAAK,CAAA;IAEhGnZ,KAAK,CAAC1lB,OAAO,GAAG;MACdioB,OAAO,EAAEjoB,OAAO,CAACioB,OAAO;MACxBqW,KAAK,EAAE52B,MAAM,CAAC,EAAE,EAAE+2B,aAAa,CAACN,OAAO,CAAC;MACxCI,KAAK,EAAE72B,MAAM,CAAC,EAAE,EAAE+2B,aAAa,CAACL,OAAO,CAAA;KACxC,CAAA;IAED,IAAIz1B,KAAK,CAAC7B,GAAG,EAAE;EACb4e,IAAAA,KAAK,CAAC1lB,OAAO,CAACs+B,KAAK,CAACx3B,GAAG,GAAGyB,IAAI,CAACxB,MAAM,GAAG+3B,OAAO,CAAC73B,MAAM,CAAA;EACtDye,IAAAA,KAAK,CAAC1lB,OAAO,CAACu+B,KAAK,CAACz3B,GAAG,GAAGyB,IAAI,CAACxB,MAAM,GAAGg4B,OAAO,CAAC93B,MAAM,CAAA;EACxD,GAAC,MAAM,IAAI0B,KAAK,CAAC5B,MAAM,EAAE;EACvB2e,IAAAA,KAAK,CAAC1lB,OAAO,CAACs+B,KAAK,CAACv3B,MAAM,GAAGwB,IAAI,CAACzB,GAAG,GAAGg4B,OAAO,CAAC73B,MAAM,CAAA;EACtDye,IAAAA,KAAK,CAAC1lB,OAAO,CAACu+B,KAAK,CAACx3B,MAAM,GAAGwB,IAAI,CAACzB,GAAG,GAAGi4B,OAAO,CAAC93B,MAAM,CAAA;EACxD,GAAA;IACA,IAAI0B,KAAK,CAAC/B,IAAI,EAAE;EACd8e,IAAAA,KAAK,CAAC1lB,OAAO,CAACs+B,KAAK,CAAC13B,IAAI,GAAG2B,IAAI,CAAC1B,KAAK,GAAGi4B,OAAO,CAAC93B,KAAK,CAAA;EACrD0e,IAAAA,KAAK,CAAC1lB,OAAO,CAACu+B,KAAK,CAAC33B,IAAI,GAAG2B,IAAI,CAAC1B,KAAK,GAAGk4B,OAAO,CAAC/3B,KAAK,CAAA;EACvD,GAAC,MAAM,IAAI2B,KAAK,CAAC9B,KAAK,EAAE;EACtB6e,IAAAA,KAAK,CAAC1lB,OAAO,CAACs+B,KAAK,CAACz3B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,GAAGk4B,OAAO,CAAC93B,KAAK,CAAA;EACrD0e,IAAAA,KAAK,CAAC1lB,OAAO,CAACu+B,KAAK,CAAC13B,KAAK,GAAG0B,IAAI,CAAC3B,IAAI,GAAGm4B,OAAO,CAAC/3B,KAAK,CAAA;EACvD,GAAA;EAEAy3B,EAAAA,aAAa,CAAC5zB,GAAG,CAACnK,GAAG,CAAC,CAAA;IAEtBglB,KAAK,CAAC1lB,OAAO,GAAGA,OAAO,CAAA;EACzB,CAAA;EAEA,IAAMzB,UAA6B,GAAG;EACpC4O,EAAAA,GAAG,EAAE,IAAI;EACT5B,EAAAA,GAAG,EAAE,IAAI;EACT0c,EAAAA,OAAO,EAAE,KAAK;EACd/nB,EAAAA,OAAO,EAAE,KAAA;EACX,CAAC,CAAA;EAED,IAAM8+B,YAAY,GAAG;EACnBz/B,EAAAA,KAAK,EAALA,OAAK;EACLsL,EAAAA,GAAG,EAAHA,KAAG;EACHtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,uBAAemqB,YAAY,CAACsW,YAAY,EAAE,cAAc,CAAC;;EC9BzD,SAASz/B,OAAKA,CAACmB,GAA2B,EAAE;EAC1C,EAAA,IAAQ3B,WAAW,GAAsD2B,GAAG,CAApE3B,WAAW;MAAE4B,YAAY,GAAwCD,GAAG,CAAvDC,YAAY;MAAEnD,OAAO,GAA+BkD,GAAG,CAAzClD,OAAO;MAAE+K,IAAI,GAAyB7H,GAAG,CAAhC6H,IAAI;MAAEmd,KAAK,GAAkBhlB,GAAG,CAA1BglB,KAAK;MAAEf,WAAW,GAAKjkB,GAAG,CAAnBikB,WAAW,CAAA;EACpE,EAAA,IAAQ3kB,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;IACf,IAAMgJ,MAAM,GAAGhJ,OAAO,CAACi/B,gBAAgB,GAAGC,SAAS,CAACx+B,GAAG,CAAC,GAAG;EAAEhB,IAAAA,CAAC,EAAE,CAAC;EAAEJ,IAAAA,CAAC,EAAE,CAAA;KAAG,CAAA;EAEzE,EAAA,IAAI6/B,UAAiB,CAAA;EAErB,EAAA,IAAIn/B,OAAO,CAACitB,MAAM,KAAK,aAAa,EAAE;EACpCkS,IAAAA,UAAU,GAAG;QACXz/B,CAAC,EAAEX,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACK,CAAC;QAClCJ,CAAC,EAAEP,WAAW,CAACI,MAAM,CAACI,KAAK,CAACF,IAAI,CAACC,CAAAA;OAClC,CAAA;EACH,GAAC,MAAM;EACL,IAAA,IAAM++B,UAAU,GAAGn2B,eAAe,CAAClI,OAAO,CAACitB,MAAM,EAAStsB,YAAY,EAAEnD,OAAO,EAAE,CAACuB,WAAW,CAAC,CAAC,CAAA;EAE/FogC,IAAAA,UAAU,GAAG72B,QAAQ,CAAC+1B,UAAU,CAAC,IAAI;EAAE3+B,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;OAAG,CAAA;EACnD6/B,IAAAA,UAAU,CAACz/B,CAAC,IAAIsJ,MAAM,CAACtJ,CAAC,CAAA;EACxBy/B,IAAAA,UAAU,CAAC7/B,CAAC,IAAI0J,MAAM,CAAC1J,CAAC,CAAA;EAC1B,GAAA;EAEA,EAAA,IAAQ8/B,cAAc,GAAKp/B,OAAO,CAA1Bo/B,cAAc,CAAA;EAEtB1Z,EAAAA,KAAK,CAAC2Z,OAAO,GACX92B,IAAI,IAAI62B,cAAc,IAAIA,cAAc,CAACnhC,MAAM,GAC3CmhC,cAAc,CAACzgC,GAAG,CAAC,UAAC2gC,aAAa,EAAE3uB,KAAK,EAAA;MAAA,OAAM;EAC5CA,MAAAA,KAAK,EAALA,KAAK;EACL2uB,MAAAA,aAAa,EAAbA,aAAa;EACb5/B,MAAAA,CAAC,EAAEilB,WAAW,CAAC/d,IAAI,GAAG2B,IAAI,CAACvB,KAAK,GAAGs4B,aAAa,CAAC5/B,CAAC,GAAGy/B,UAAU,CAACz/B,CAAC;EACjEJ,MAAAA,CAAC,EAAEqlB,WAAW,CAAC7d,GAAG,GAAGyB,IAAI,CAACtB,MAAM,GAAGq4B,aAAa,CAAChgC,CAAC,GAAG6/B,UAAU,CAAC7/B,CAAAA;OACjE,CAAA;KAAC,CAAC,GACH,CACE;EACEqR,IAAAA,KAAK,EAAE,CAAC;EACR2uB,IAAAA,aAAa,EAAE,IAAI;MACnB5/B,CAAC,EAAEy/B,UAAU,CAACz/B,CAAC;MACfJ,CAAC,EAAE6/B,UAAU,CAAC7/B,CAAAA;EAChB,GAAC,CACF,CAAA;EACT,CAAA;EAEA,SAASuL,KAAGA,CAACnK,GAA2B,EAAE;EACxC,EAAA,IAAQ3B,WAAW,GAAoB2B,GAAG,CAAlC3B,WAAW;MAAEI,MAAM,GAAYuB,GAAG,CAArBvB,MAAM;MAAEumB,KAAK,GAAKhlB,GAAG,CAAbglB,KAAK,CAAA;EAClC,EAAA,IAAQ1lB,OAAO,GAAc0lB,KAAK,CAA1B1lB,OAAO;MAAEq/B,OAAO,GAAK3Z,KAAK,CAAjB2Z,OAAO,CAAA;EAExB,EAAA,IAAMr2B,MAAM,GAAGJ,WAAW,CAAC7J,WAAW,CAAC4B,YAAY,EAAG5B,WAAW,CAACvB,OAAO,EAAGuB,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAA;IACtG,IAAMI,IAAI,GAAGqI,MAAM,CAAC,EAAE,EAAEvI,MAAM,CAAC,CAAA;IAC/B,IAAM6yB,OAAuB,GAAG,EAAE,CAAA;EAElC,EAAA,IAAI,CAAChyB,OAAO,CAACi/B,gBAAgB,EAAE;EAC7B5/B,IAAAA,IAAI,CAACK,CAAC,IAAIsJ,MAAM,CAACtJ,CAAC,CAAA;EAClBL,IAAAA,IAAI,CAACC,CAAC,IAAI0J,MAAM,CAAC1J,CAAC,CAAA;EACpB,GAAA;EAAC,EAAA,KAAA,IAAAoK,GAAA,GAAA,CAAA,EAAA9J,KAAA,GAEoBy/B,OAAO,EAAA31B,GAAA,GAAA9J,KAAA,CAAA3B,MAAA,EAAAyL,GAAA,EAAG,EAAA;EAA1B,IAAA,IAAMujB,OAAM,GAAArtB,KAAA,CAAA8J,GAAA,CAAA,CAAA;MACf,IAAM61B,SAAS,GAAGlgC,IAAI,CAACK,CAAC,GAAGutB,OAAM,CAACvtB,CAAC,CAAA;MACnC,IAAM8/B,SAAS,GAAGngC,IAAI,CAACC,CAAC,GAAG2tB,OAAM,CAAC3tB,CAAC,CAAA;EAEnC,IAAA,KAAK,IAAIqR,MAAK,GAAG,CAAC,EAAE4O,GAAG,GAAGvf,OAAO,CAACgyB,OAAO,CAAE/zB,MAAM,EAAE0S,MAAK,GAAG4O,GAAG,EAAE5O,MAAK,EAAE,EAAE;EACvE,MAAA,IAAM8uB,UAAU,GAAGz/B,OAAO,CAACgyB,OAAO,CAAErhB,MAAK,CAAC,CAAA;EAC1C,MAAA,IAAI3I,MAAoB,GAAA,KAAA,CAAA,CAAA;EAExB,MAAA,IAAI/H,EAAE,CAAC7C,IAAI,CAACqiC,UAAU,CAAC,EAAE;EACvBz3B,QAAAA,MAAM,GAAGy3B,UAAU,CAACF,SAAS,EAAEC,SAAS,EAAEzgC,WAAW,CAACoQ,MAAM,EAAE8d,OAAM,EAAEtc,MAAK,CAAC,CAAA;EAC9E,OAAC,MAAM;EACL3I,QAAAA,MAAM,GAAGy3B,UAAU,CAAA;EACrB,OAAA;QAEA,IAAI,CAACz3B,MAAM,EAAE;EACX,QAAA,SAAA;EACF,OAAA;QAEAgqB,OAAO,CAAC1qB,IAAI,CAAC;EACX5H,QAAAA,CAAC,EAAE,CAACO,EAAE,CAAC5C,MAAM,CAAC2K,MAAM,CAACtI,CAAC,CAAC,GAAGsI,MAAM,CAACtI,CAAC,GAAG6/B,SAAS,IAAItS,OAAM,CAACvtB,CAAC;EAC1DJ,QAAAA,CAAC,EAAE,CAACW,EAAE,CAAC5C,MAAM,CAAC2K,MAAM,CAAC1I,CAAC,CAAC,GAAG0I,MAAM,CAAC1I,CAAC,GAAGkgC,SAAS,IAAIvS,OAAM,CAAC3tB,CAAC;EAE1Du8B,QAAAA,KAAK,EAAE57B,EAAE,CAAC5C,MAAM,CAAC2K,MAAM,CAAC6zB,KAAK,CAAC,GAAG7zB,MAAM,CAAC6zB,KAAK,GAAG77B,OAAO,CAAC67B,KAAK;EAC7Dj0B,QAAAA,MAAM,EAAE63B,UAAU;EAClB9uB,QAAAA,KAAK,EAALA,MAAK;EACLsc,QAAAA,MAAM,EAANA,OAAAA;EACF,OAAC,CAAC,CAAA;EACJ,KAAA;EACF,GAAA;EAEA,EAAA,IAAMrpB,OAAO,GAAG;EACdoE,IAAAA,MAAM,EAAE,IAAI;EACZ03B,IAAAA,OAAO,EAAE,KAAK;EACdvoB,IAAAA,QAAQ,EAAE,CAAC;EACX0kB,IAAAA,KAAK,EAAE,CAAC;EACR97B,IAAAA,KAAK,EAAE;EAAEL,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;EAAE,KAAA;KACrB,CAAA;IAAA,KAAAgT,IAAAA,GAAA,MAAAA,GAAA,GAEoB0f,OAAO,CAAA/zB,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAAzB,IAAA,IAAMtK,OAAM,GAAIgqB,OAAO,CAAA1f,GAAA,CAAX,CAAA;EACf,IAAA,IAAMupB,KAAK,GAAG7zB,OAAM,CAAC6zB,KAAK,CAAA;MAC1B,IAAMluB,EAAE,GAAG3F,OAAM,CAACtI,CAAC,GAAGL,IAAI,CAACK,CAAC,CAAA;MAC5B,IAAMkO,EAAE,GAAG5F,OAAM,CAAC1I,CAAC,GAAGD,IAAI,CAACC,CAAC,CAAA;EAC5B,IAAA,IAAM6X,QAAQ,GAAGtJ,KAAK,CAACF,EAAE,EAAEC,EAAE,CAAC,CAAA;EAC9B,IAAA,IAAI8xB,OAAO,GAAGvoB,QAAQ,IAAI0kB,KAAK,CAAA;;EAE/B;EACA;EACA,IAAA,IAAIA,KAAK,KAAKlkB,QAAQ,IAAI/T,OAAO,CAAC87B,OAAO,IAAI97B,OAAO,CAACi4B,KAAK,KAAKlkB,QAAQ,EAAE;EACvE+nB,MAAAA,OAAO,GAAG,KAAK,CAAA;EACjB,KAAA;EAEA,IAAA,IACE,CAAC97B,OAAO,CAACoE,MAAM,KACd03B,OAAO;EACJ;EACA97B,IAAAA,OAAO,CAAC87B,OAAO,IAAI7D,KAAK,KAAKlkB,QAAQ;EACnC;MACAR,QAAQ,GAAG0kB,KAAK,GAAGj4B,OAAO,CAACuT,QAAQ,GAAGvT,OAAO,CAACi4B,KAAK;EACnD;EACCA,IAAAA,KAAK,KAAKlkB,QAAQ,IAAI/T,OAAO,CAACi4B,KAAK,KAAKlkB,QAAQ;EACjD;MACAR,QAAQ,GAAGvT,OAAO,CAACuT,QAAQ;EAC7B;MACA,CAACvT,OAAO,CAAC87B,OAAO,IAAIvoB,QAAQ,GAAGvT,OAAO,CAACuT,QAAQ,CAAC,EACpD;QACAvT,OAAO,CAACoE,MAAM,GAAGA,OAAM,CAAA;QACvBpE,OAAO,CAACuT,QAAQ,GAAGA,QAAQ,CAAA;QAC3BvT,OAAO,CAACi4B,KAAK,GAAGA,KAAK,CAAA;QACrBj4B,OAAO,CAAC87B,OAAO,GAAGA,OAAO,CAAA;EACzB97B,MAAAA,OAAO,CAAC7D,KAAK,CAACL,CAAC,GAAGiO,EAAE,CAAA;EACpB/J,MAAAA,OAAO,CAAC7D,KAAK,CAACT,CAAC,GAAGsO,EAAE,CAAA;EACtB,KAAA;EACF,GAAA;IAEA,IAAIhK,OAAO,CAAC87B,OAAO,EAAE;EACnBvgC,IAAAA,MAAM,CAACO,CAAC,GAAGkE,OAAO,CAACoE,MAAM,CAACtI,CAAC,CAAA;EAC3BP,IAAAA,MAAM,CAACG,CAAC,GAAGsE,OAAO,CAACoE,MAAM,CAAC1I,CAAC,CAAA;EAC7B,GAAA;IAEAomB,KAAK,CAAC9hB,OAAO,GAAGA,OAAO,CAAA;EACvB,EAAA,OAAOA,OAAO,CAAA;EAChB,CAAA;EAEA,SAASs7B,SAASA,CAACx+B,GAAoC,EAAE;EACvD,EAAA,IAAQlD,OAAO,GAAKkD,GAAG,CAAC3B,WAAW,CAA3BvB,OAAO,CAAA;IACf,IAAMmiC,aAAa,GAAGr3B,QAAQ,CAACJ,eAAe,CAACxH,GAAG,CAACglB,KAAK,CAAC1lB,OAAO,CAACgJ,MAAM,EAAS,IAAI,EAAE,IAAI,EAAE,CAACxL,OAAO,CAAC,CAAC,CAAC,CAAA;EACvG,EAAA,IAAMwL,MAAM,GAAG22B,aAAa,IAAI/2B,WAAW,CAAClI,GAAG,CAACC,YAAY,EAAEnD,OAAO,EAAEkD,GAAG,CAAC3B,WAAW,CAACC,QAAQ,CAACC,IAAI,CAAC,CAAA;EAErG,EAAA,OAAO+J,MAAM,CAAA;EACf,CAAA;EAEA,IAAMzK,UAAqB,GAAG;EAC5Bs9B,EAAAA,KAAK,EAAElkB,QAAQ;EACfqa,EAAAA,OAAO,EAAE,IAAI;EACb/E,EAAAA,MAAM,EAAE,IAAI;EACZgS,EAAAA,gBAAgB,EAAE,IAAI;EACtBj2B,EAAAA,MAAM,EAAE,IAAI;EACZo2B,EAAAA,cAAc,EAAE,IAAI;EACpBnX,EAAAA,OAAO,EAAE,KAAK;EACd/nB,EAAAA,OAAO,EAAE,KAAA;EACX,CAAC,CAAA;EACD,IAAM0/B,IAAI,GAAG;EACXrgC,EAAAA,KAAK,EAALA,OAAK;EACLsL,EAAAA,GAAG,EAAHA,KAAG;EACHtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,eAAemqB,YAAY,CAACkX,IAAI,EAAE,MAAM,CAAC;;ECzNzC;EACA;;EAaA,SAASrgC,OAAKA,CAACmB,GAA2B,EAAE;EAC1C,EAAA,IAAQglB,KAAK,GAAYhlB,GAAG,CAApBglB,KAAK;MAAE/c,KAAK,GAAKjI,GAAG,CAAbiI,KAAK,CAAA;EACpB,EAAA,IAAQ3I,OAAO,GAAK0lB,KAAK,CAAjB1lB,OAAO,CAAA;IAEf,IAAI,CAAC2I,KAAK,EAAE;EACV,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;IAEAjI,GAAG,CAACglB,KAAK,GAAG;EACV1lB,IAAAA,OAAO,EAAE;EACPgyB,MAAAA,OAAO,EAAE,IAAI;EACboN,MAAAA,cAAc,EAAE,CACd;EACE1/B,QAAAA,CAAC,EAAEiJ,KAAK,CAAC/B,IAAI,GAAG,CAAC,GAAG,CAAC;EACrBtH,QAAAA,CAAC,EAAEqJ,KAAK,CAAC7B,GAAG,GAAG,CAAC,GAAG,CAAA;EACrB,OAAC,CACF;EACDmmB,MAAAA,MAAM,EAAEjtB,OAAO,CAACitB,MAAM,IAAI,MAAM;EAChCjkB,MAAAA,MAAM,EAAE;EAAEtJ,QAAAA,CAAC,EAAE,CAAC;EAAEJ,QAAAA,CAAC,EAAE,CAAA;SAAG;QACtBu8B,KAAK,EAAE77B,OAAO,CAAC67B,KAAAA;EACjB,KAAA;KACD,CAAA;EAEDnW,EAAAA,KAAK,CAACma,YAAY,GAAGna,KAAK,CAACma,YAAY,IAAI,CACzC,CAAC,OAAO,EAAE,QAAQ,CAAC,EACnB,CAAC,GAAG,EAAE,GAAG,CAAC,CACX,CAAA;EAEDD,EAAAA,IAAI,CAACrgC,KAAK,CAACmB,GAAG,CAAC,CAAA;EACfglB,EAAAA,KAAK,CAAC2Z,OAAO,GAAG3+B,GAAG,CAACglB,KAAK,CAAC2Z,OAAO,CAAA;IAEjC3+B,GAAG,CAACglB,KAAK,GAAGA,KAAK,CAAA;EACnB,CAAA;EAEA,SAAS7a,GAAGA,CAACnK,GAAG,EAAE;EAChB,EAAA,IAAQ3B,WAAW,GAAoB2B,GAAG,CAAlC3B,WAAW;MAAE2mB,KAAK,GAAahlB,GAAG,CAArBglB,KAAK;MAAEvmB,MAAM,GAAKuB,GAAG,CAAdvB,MAAM,CAAA;EAClC,EAAA,IAAQa,OAAO,GAAc0lB,KAAK,CAA1B1lB,OAAO;MAAEq/B,OAAO,GAAK3Z,KAAK,CAAjB2Z,OAAO,CAAA;EACxB,EAAA,IAAMS,QAAQ,GAAG;MACfpgC,CAAC,EAAEP,MAAM,CAACO,CAAC,GAAG2/B,OAAO,CAAC,CAAC,CAAC,CAAC3/B,CAAC;MAC1BJ,CAAC,EAAEH,MAAM,CAACG,CAAC,GAAG+/B,OAAO,CAAC,CAAC,CAAC,CAAC//B,CAAAA;KAC1B,CAAA;IAEDomB,KAAK,CAAC1lB,OAAO,GAAG0H,MAAM,CAAC,EAAE,EAAE1H,OAAO,CAAC,CAAA;EACnC0lB,EAAAA,KAAK,CAAC1lB,OAAO,CAACgyB,OAAO,GAAG,EAAE,CAAA;EAAA,EAAA,KAAA,IAAAtoB,GAAA,GAAA9J,CAAAA,EAAAA,KAAA,GAEDI,OAAO,CAACgyB,OAAO,IAAI,EAAE,EAAAtoB,GAAA,GAAA9J,KAAA,CAAA3B,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAA3C,IAAA,IAAM+1B,UAAU,GAAA7/B,KAAA,CAAA8J,GAAA,CAAA,CAAA;EACnB,IAAA,IAAI1B,MAAM,GAAA,KAAA,CAAA,CAAA;EAEV,IAAA,IAAI/H,EAAE,CAAC7C,IAAI,CAACqiC,UAAU,CAAC,EAAE;EACvBz3B,MAAAA,MAAM,GAAGy3B,UAAU,CAACK,QAAQ,CAACpgC,CAAC,EAAEogC,QAAQ,CAACxgC,CAAC,EAAEP,WAAW,CAAC,CAAA;EAC1D,KAAC,MAAM;EACLiJ,MAAAA,MAAM,GAAGy3B,UAAU,CAAA;EACrB,KAAA;MAEA,IAAI,CAACz3B,MAAM,EAAE;EACX,MAAA,SAAA;EACF,KAAA;EAAC,IAAA,KAAA,IAAAsK,GAAA,GAAA,CAAA,EAAAytB,oBAAA,GAE8Bra,KAAK,CAACma,YAAY,EAAAvtB,GAAA,GAAAytB,oBAAA,CAAA9hC,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAA9C,MAAA,IAAA0tB,qBAAA,GAAAD,oBAAA,CAAAztB,GAAA,CAAA;EAAOopB,QAAAA,MAAM,GAAAsE,qBAAA,CAAA,CAAA,CAAA;EAAErE,QAAAA,MAAM,GAAAqE,qBAAA,CAAA,CAAA,CAAA,CAAA;EACxB,MAAA,IAAItE,MAAM,IAAI1zB,MAAM,IAAI2zB,MAAM,IAAI3zB,MAAM,EAAE;EACxCA,QAAAA,MAAM,CAACtI,CAAC,GAAGsI,MAAM,CAAC0zB,MAAM,CAAC,CAAA;EACzB1zB,QAAAA,MAAM,CAAC1I,CAAC,GAAG0I,MAAM,CAAC2zB,MAAM,CAAC,CAAA;EAEzB,QAAA,MAAA;EACF,OAAA;EACF,KAAA;MAEAjW,KAAK,CAAC1lB,OAAO,CAACgyB,OAAO,CAAC1qB,IAAI,CAACU,MAAM,CAAC,CAAA;EACpC,GAAA;EAEA,EAAA,IAAMI,WAAW,GAAGw3B,IAAI,CAAC/0B,GAAG,CAACnK,GAAG,CAAC,CAAA;IAEjCglB,KAAK,CAAC1lB,OAAO,GAAGA,OAAO,CAAA;EAEvB,EAAA,OAAOoI,WAAW,CAAA;EACpB,CAAA;EAEA,IAAM7J,UAAyB,GAAG;EAChCs9B,EAAAA,KAAK,EAAElkB,QAAQ;EACfqa,EAAAA,OAAO,EAAE,IAAI;EACb/E,EAAAA,MAAM,EAAE,IAAI;EACZhF,EAAAA,OAAO,EAAE,KAAK;EACd/nB,EAAAA,OAAO,EAAE,KAAA;EACX,CAAC,CAAA;EAED,IAAM+/B,QAAQ,GAAG;EACf1gC,EAAAA,KAAK,EAALA,OAAK;EACLsL,EAAAA,GAAG,EAAHA,GAAG;EACHtM,EAAAA,QAAQ,EAARA,UAAAA;EACF,CAAC,CAAA;AAED,mBAAemqB,YAAY,CAACuX,QAAQ,EAAE,UAAU,CAAC;;ECzGjD;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;EAaA,SAAS1gC,KAAKA,CAACmB,GAA2B,EAAE;EAC1C,EAAA,IAAQiI,KAAK,GAAKjI,GAAG,CAAbiI,KAAK,CAAA;IAEb,IAAI,CAACA,KAAK,EAAE;EACV,IAAA,OAAO,IAAI,CAAA;EACb,GAAA;EAEAjI,EAAAA,GAAG,CAACglB,KAAK,CAACma,YAAY,GAAGn/B,GAAG,CAACglB,KAAK,CAACma,YAAY,IAAI,CACjD,CAACl3B,KAAK,CAAC/B,IAAI,GAAG,MAAM,GAAG,OAAO,EAAE+B,KAAK,CAAC7B,GAAG,GAAG,KAAK,GAAG,QAAQ,CAAC,CAC9D,CAAA;EAED,EAAA,OAAOm5B,QAAQ,CAAC1gC,KAAK,CAACmB,GAAG,CAAC,CAAA;EAC5B,CAAA;EAEA,IAAMw/B,SAAuF,GAAG;EAC9F3gC,EAAAA,KAAK,EAALA,KAAK;IACLsL,GAAG,EAAEo1B,QAAQ,CAACp1B,GAAG;IACjBtM,QAAQ,EAAEmJ,MAAM,CAAC8c,KAAK,CAACyb,QAAQ,CAAC1hC,QAAQ,CAAC,EAAE;EACzCyzB,IAAAA,OAAO,EAAE91B,SAAS;EAClB2/B,IAAAA,KAAK,EAAE3/B,SAAS;EAChB+wB,IAAAA,MAAM,EAAE;EAAEvtB,MAAAA,CAAC,EAAE,CAAC;EAAEJ,MAAAA,CAAC,EAAE,CAAA;EAAE,KAAA;KACb,CAAA;EACZ,CAAC,CAAA;AAED,oBAAeopB,YAAY,CAACwX,SAAS,EAAE,WAAW,CAAC;;EChEnD;AAcA,YAAe;EACbzD,EAAAA,WAAW,EAAXA,aAAW;EACXgC,EAAAA,aAAa,EAAbA,eAAa;EACbP,EAAAA,QAAQ,EAARA,UAAQ;EACRS,EAAAA,YAAY,EAAZA,cAAY;EACZK,EAAAA,YAAY,EAAZA,cAAY;EACZkB,EAAAA,SAAS,EAATA,WAAS;EACTN,EAAAA,IAAI,EAAJA,MAAI;EACJK,EAAAA,QAAQ,EAARA,UAAQ;EAERE,EAAAA,MAAM,EAANA,UAAM;EACNC,EAAAA,KAAK,EAALA,UAAK;EACLC,EAAAA,SAAS,EAATA,UAAS;EACTC,EAAAA,UAAU,EAAVA,UAAAA;EACF,CAAC;;ECnBD;;EAQA,IAAM/X,SAAiB,GAAG;EACxBhoB,EAAAA,EAAE,EAAE,WAAW;IACfpC,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAK,EAAE;EACb,IAAA,IAAwB2S,QAAQ,GAAK3S,KAAK,CAAlC4S,cAAc,CAAA;EAEtB5S,IAAAA,KAAK,CAAC6S,SAAS,CAACgN,IAAI,CAAC,CAAA;EACrB7f,IAAAA,KAAK,CAAC6S,SAAS,CAACqrB,QAAQ,CAAC,CAAA;MAEzBvrB,QAAQ,CAACwX,SAAS,GAAGgY,GAAG,CAAA;;EAExB;EACA,IAAA,KAAK,IAAMn/B,IAAI,IAAIm/B,GAAG,EAAE;EACtB,MAAA,IAAAC,IAAA,GAAgCD,GAAG,CAACn/B,IAAI,CAAqB;UAArD4nB,SAAS,GAAAwX,IAAA,CAATxX,SAAS;UAAER,QAAQ,GAAAgY,IAAA,CAARhY,QAAQ,CAAA;QAEzBQ,SAAS,CAASR,QAAQ,GAAGA,QAAQ,CAAA;QACrCpqB,KAAK,CAACG,QAAQ,CAACmd,SAAS,CAASta,IAAI,CAAC,GAAG4nB,SAAS,CAAA;EACtD,KAAA;EACF,GAAA;EACF,CAAC,CAAA;AAED,oBAAeT,SAAS;;EChCXzmB,IAAAA,YAAY,0BAAA6N,UAAA,EAAA;IAAAC,SAAA,CAAA9N,YAAA,EAAA6N,UAAA,CAAA,CAAA;EAAA,EAAA,IAAAE,MAAA,GAAAC,YAAA,CAAAhO,YAAA,CAAA,CAAA;EAcvB,EAAA,SAAAA,YACEV,CAAAA,IAAO,EACPsK,OAAwC,EACxCa,KAAuB,EACvBoM,WAAiB,EACjB5Z,WAA+B,EAC/BkM,SAAiB,EACjB;EAAA,IAAA,IAAAgF,KAAA,CAAA;EAAAtB,IAAAA,eAAA,OAAA7M,YAAA,CAAA,CAAA;EACAmO,IAAAA,KAAA,GAAAJ,MAAA,CAAAK,IAAA,OAAMnR,WAAW,CAAA,CAAA;MACjB6W,aAA0B,CAAAqU,sBAAA,CAAAha,KAAA,CAAA,EAAO1D,KAAK,CAAC,CAAA;MAEvC,IAAIA,KAAK,KAAKb,OAAO,EAAE;QACrBkK,aAA0B,CAAAqU,sBAAA,CAAAha,KAAA,CAAA,EAAOvE,OAAO,CAAC,CAAA;EAC3C,KAAA;MAEAuE,KAAA,CAAKhF,SAAS,GAAGA,SAAS,CAAA;MAC1BgF,KAAA,CAAK4jB,aAAa,GAAGtnB,KAAK,CAAA;MAC1B0D,KAAA,CAAK7O,IAAI,GAAGA,IAAI,CAAA;MAChB6O,KAAA,CAAKhE,SAAS,GAAG2J,YAAyB,CAAClK,OAAO,CAAC,CAAA;MACnDuE,KAAA,CAAKlP,WAAW,GAAG6U,cAA2B,CAAClK,OAAO,CAAC,CAAA;MACvDuE,KAAA,CAAKjI,MAAM,GAAG2Q,WAAW,CAAA;MACzB1I,KAAA,CAAK3B,aAAa,GAAG,IAAI,CAAA;MAEzB,IAAIlN,IAAI,KAAK,KAAK,EAAE;EAClB,MAAA,IAAMoqB,YAAY,GAAGzsB,WAAW,CAACgtB,eAAe,CAACrgB,OAAO,CAAC,CAAA;EACzDuE,MAAAA,KAAA,CAAK3E,EAAE,GAAG2E,KAAA,CAAKhF,SAAS,GAAGlM,WAAW,CAACqN,QAAQ,CAACof,YAAY,CAAC,CAACtB,QAAQ,CAAA;QAEtE,IAAMuW,QAAQ,GAAGxwB,KAAA,CAAKhF,SAAS,GAAGlM,WAAW,CAAC2hC,OAAO,CAAA;EAErDzwB,MAAAA,KAAA,CAAK0wB,MAAM,GACT,CAAC,CAAC5hC,WAAW,CAAC6hC,OAAO,IACrB7hC,WAAW,CAAC6hC,OAAO,CAACx/B,IAAI,KAAK,WAAW,IACxCrC,WAAW,CAAC6hC,OAAO,CAAC54B,MAAM,KAAKiI,KAAA,CAAKjI,MAAM,IAC1Cy4B,QAAQ,GAAG,GAAG,CAAA;EAClB,KAAC,MAAM,IAAIr/B,IAAI,KAAK,WAAW,EAAE;QAC/B6O,KAAA,CAAK3E,EAAE,GAAII,OAAO,CAAyBT,SAAS,GAAGlM,WAAW,CAAC2hC,OAAO,CAAA;QAC1EzwB,KAAA,CAAK0wB,MAAM,GAAG,IAAI,CAAA;EACpB,KAAA;EAAC,IAAA,OAAA1wB,KAAA,CAAA;EACH,GAAA;EAAClB,EAAAA,YAAA,CAAAjN,YAAA,EAAA,CAAA;MAAAkN,GAAA,EAAA,iBAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAq5B,eAAA/hC,CAAAA,IAAA,EAAmD;EAAA,MAAA,IAA9BgiC,OAAO,GAAAhiC,IAAA,CAAVY,CAAC;UAAcqhC,OAAO,GAAAjiC,IAAA,CAAVQ,CAAC,CAAA;QAC7B,IAAI,CAACqN,KAAK,IAAIm0B,OAAO,CAAA;QACrB,IAAI,CAACl0B,KAAK,IAAIm0B,OAAO,CAAA;QACrB,IAAI,CAACl0B,OAAO,IAAIi0B,OAAO,CAAA;QACvB,IAAI,CAACh0B,OAAO,IAAIi0B,OAAO,CAAA;EAEvB,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;EAAC,GAAA,EAAA;MAAA/xB,GAAA,EAAA,YAAA;EAAAxH,IAAAA,KAAA,EAED,SAAAw5B,UAAAphC,CAAAA,KAAA,EAA8C;EAAA,MAAA,IAA9BkhC,OAAO,GAAAlhC,KAAA,CAAVF,CAAC;UAAcqhC,OAAO,GAAAnhC,KAAA,CAAVN,CAAC,CAAA;QACxB,IAAI,CAACqN,KAAK,IAAIm0B,OAAO,CAAA;QACrB,IAAI,CAACl0B,KAAK,IAAIm0B,OAAO,CAAA;QACrB,IAAI,CAACl0B,OAAO,IAAIi0B,OAAO,CAAA;QACvB,IAAI,CAACh0B,OAAO,IAAIi0B,OAAO,CAAA;EAEvB,MAAA,OAAO,IAAI,CAAA;EACb,KAAA;;EAEA;EACF;EACA;EAFE,GAAA,EAAA;MAAA/xB,GAAA,EAAA,gBAAA;MAAAxH,KAAA,EAGA,SAAAiH,cAAAA,GAAiB;EACf,MAAA,IAAI,CAAColB,aAAa,CAACplB,cAAc,EAAE,CAAA;EACrC,KAAA;EAAC,GAAA,CAAA,CAAA,CAAA;EAAA,EAAA,OAAA3M,YAAA,CAAA;EAAA,CAAA,CA7EuD4M,SAAS,CAAA;;ECyEnE,IAAMnQ,QAA6B,GAAG;EACpCsjB,EAAAA,YAAY,EAAE,GAAG;EACjBlE,EAAAA,UAAU,EAAE,IAAI;EAChBE,EAAAA,SAAS,EAAE,IAAI;EACf7U,EAAAA,MAAM,EAAE;EAAEtJ,IAAAA,CAAC,EAAE,CAAC;EAAEJ,IAAAA,CAAC,EAAE,CAAA;EAAE,GAAA;EACvB,CAAC,CAAA;EAED,IAAM2hC,eAAqB,GAAG;EAC5B1gC,EAAAA,EAAE,EAAE,qBAAqB;IACzBsX,MAAM,EAAE,CAAC,SAAS,EAAE,WAAW,EAAE,YAAY,EAAE,SAAS,CAAC;EACzD1Z,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,kBAAkB,EAAE0gC,mBAAmB;EACvC,IAAA,6BAA6B,EAAEC,WAAW;EAC1C,IAAA,mBAAmB,EAAEC,gBAAgB;EACrC,IAAA,mBAAmB,EAAE,SAAAC,gBAAAA,CAAC3gC,GAAG,EAAEtC,KAAK,EAAK;EACnCkjC,MAAAA,gBAAgB,CAAC5gC,GAAG,EAAEtC,KAAK,CAAC,CAAA;EAC5B0S,MAAAA,IAAI,CAACpQ,GAAG,EAAEtC,KAAK,CAAC,CAAA;OACjB;EACD,IAAA,iBAAiB,EAAE,SAAAmjC,cAAAA,CAAC7gC,GAAG,EAAEtC,KAAK,EAAK;QACjCojC,SAAS,CAAC9gC,GAAG,CAAC,CAAA;EACdoQ,MAAAA,IAAI,CAACpQ,GAAG,EAAEtC,KAAK,CAAC,CAAA;EAChBqjC,MAAAA,UAAU,CAAC/gC,GAAG,EAAEtC,KAAK,CAAC,CAAA;OACvB;EACD,IAAA,qBAAqB,EAAE,SAAAsjC,kBAAAA,CAAChhC,GAAG,EAAEtC,KAAK,EAAK;QACrCojC,SAAS,CAAC9gC,GAAG,CAAC,CAAA;EACdoQ,MAAAA,IAAI,CAACpQ,GAAG,EAAEtC,KAAK,CAAC,CAAA;EAClB,KAAA;KACD;EACD0D,EAAAA,YAAY,EAAZA,YAAY;EACZgP,EAAAA,IAAI,EAAJA,IAAI;EACJ6wB,EAAAA,mBAAmB,EAAnBA,mBAAmB;EACnBpjC,EAAAA,QAAQ,EAARA,QAAQ;EACR6lB,EAAAA,KAAK,EAAE;EACLjhB,IAAAA,IAAI,EAAE,IAAI;EACVxD,IAAAA,IAAI,EAAE,IAAI;EACVuD,IAAAA,EAAE,EAAE,IAAI;EACRI,IAAAA,MAAM,EAAE,IAAI;EACZs+B,IAAAA,GAAG,EAAE,IAAI;EACTC,IAAAA,SAAS,EAAE,IAAI;EACfvgB,IAAAA,IAAI,EAAE,IAAA;EACR,GAAA;EACF,CAAC,CAAA;EAED,SAASxQ,IAAIA,CACXpQ,GAOC,EACDtC,KAAY,EACZ;EACA,EAAA,IAAQW,WAAW,GAAmF2B,GAAG,CAAjG3B,WAAW;MAAE2M,OAAO,GAA0EhL,GAAG,CAApFgL,OAAO;MAAEa,KAAK,GAAmE7L,GAAG,CAA3E6L,KAAK;MAAEoM,WAAW,GAAsDjY,GAAG,CAApEiY,WAAW;MAAEvX,IAAI,GAAgDV,GAAG,CAAvDU,IAAI;MAAA0gC,YAAA,GAAgDphC,GAAG,CAAjDsxB,OAAO;MAAPA,OAAO,GAAA8P,YAAA,KAAA,KAAA,CAAA,GAAGH,mBAAmB,CAACjhC,GAAG,EAAEtC,KAAK,CAAC,GAAA0jC,YAAA,CAAA;IAEjG,IAAM1uB,YAAY,GAAG,IAAItR,YAAY,CAACV,IAAI,EAAEsK,OAAO,EAAEa,KAAK,EAAEoM,WAAW,EAAE5Z,WAAW,EAAEX,KAAK,CAAC+c,GAAG,EAAE,CAAC,CAAA;EAElG/c,EAAAA,KAAK,CAAC0S,IAAI,CAAC,mBAAmB,EAAE;EAAEsC,IAAAA,YAAY,EAAZA,YAAAA;EAAa,GAAC,CAAC,CAAA;EAEjD,EAAA,IAAM8X,SAAS,GAAG;EAChBnsB,IAAAA,WAAW,EAAXA,WAAW;EACX2M,IAAAA,OAAO,EAAPA,OAAO;EACPa,IAAAA,KAAK,EAALA,KAAK;EACLoM,IAAAA,WAAW,EAAXA,WAAW;EACXqZ,IAAAA,OAAO,EAAPA,OAAO;EACP5wB,IAAAA,IAAI,EAAJA,IAAI;EACJgS,IAAAA,YAAY,EAAZA,YAAAA;KACD,CAAA;EAED,EAAA,KAAK,IAAI9O,CAAC,GAAG,CAAC,EAAEA,CAAC,GAAG0tB,OAAO,CAAC/zB,MAAM,EAAEqG,CAAC,EAAE,EAAE;EACvC,IAAA,IAAM0D,MAAM,GAAGgqB,OAAO,CAAC1tB,CAAC,CAAC,CAAA;MAEzB,KAAK,IAAMuD,IAAI,IAAIG,MAAM,CAAC+5B,KAAK,IAAI,EAAE,EAAE;QACnC3uB,YAAY,CAASvL,IAAI,CAAC,GAAGG,MAAM,CAAC+5B,KAAK,CAACl6B,IAAI,CAAC,CAAA;EACnD,KAAA;MAEA,IAAMmB,MAAM,GAAGJ,WAAW,CAACZ,MAAM,CAACg6B,SAAS,EAAEh6B,MAAM,CAACpL,IAAI,CAAC,CAAA;EAEzDwW,IAAAA,YAAY,CAACytB,eAAe,CAAC73B,MAAM,CAAC,CAAA;EACpCoK,IAAAA,YAAY,CAAC4uB,SAAS,GAAGh6B,MAAM,CAACg6B,SAAS,CAAA;EACzC5uB,IAAAA,YAAY,CAAC9E,aAAa,GAAGtG,MAAM,CAACpL,IAAI,CAAA;EAExCoL,IAAAA,MAAM,CAACg6B,SAAS,CAAClxB,IAAI,CAACsC,YAAY,CAAC,CAAA;EAEnCA,IAAAA,YAAY,CAAC4tB,UAAU,CAACh4B,MAAM,CAAC,CAAA;EAE/B,IAAA,IACEoK,YAAY,CAACxE,2BAA2B,IACvCwE,YAAY,CAACvE,kBAAkB,IAC9BvK,CAAC,GAAG,CAAC,GAAG0tB,OAAO,CAAC/zB,MAAM,IACtB+zB,OAAO,CAAC1tB,CAAC,GAAG,CAAC,CAAC,CAAC1H,IAAI,KAAKwW,YAAY,CAAC9E,aAAc,EACrD;EACA,MAAA,MAAA;EACF,KAAA;EACF,GAAA;EAEAlQ,EAAAA,KAAK,CAAC0S,IAAI,CAAC,qBAAqB,EAAEoa,SAAS,CAAC,CAAA;IAE5C,IAAI9pB,IAAI,KAAK,KAAK,EAAE;EAClB;EACA;EACA,IAAA,IAAMw/B,OAAO,GAAGxtB,YAAY,CAACutB,MAAM,GAC/B7vB,IAAI,CACF;EACE/R,MAAAA,WAAW,EAAXA,WAAW;EACX2M,MAAAA,OAAO,EAAPA,OAAO;EACPa,MAAAA,KAAK,EAALA,KAAK;EACLoM,MAAAA,WAAW,EAAXA,WAAW;EACXvX,MAAAA,IAAI,EAAE,WAAA;EACR,KAAC,EACDhD,KACF,CAAC,GACDgV,YAAY,CAAA;MAEhBrU,WAAW,CAAC6hC,OAAO,GAAGA,OAAO,CAAA;EAC7B7hC,IAAAA,WAAW,CAAC2hC,OAAO,GAAGE,OAAO,CAAC31B,SAAS,CAAA;EACzC,GAAA;EAEA,EAAA,OAAOmI,YAAY,CAAA;EACrB,CAAA;EAEA,SAASuuB,mBAAmBA,CAAA7iC,IAAA,EAc1BV,KAAY,EACZ;EAAA,EAAA,IAbEW,WAAW,GAAAD,IAAA,CAAXC,WAAW;MACX2M,OAAO,GAAA5M,IAAA,CAAP4M,OAAO;MACPa,KAAK,GAAAzN,IAAA,CAALyN,KAAK;MACLoM,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW;MACXvX,IAAI,GAAAtC,IAAA,CAAJsC,IAAI,CAAA;EAUN,EAAA,IAAMoqB,YAAY,GAAGzsB,WAAW,CAACgtB,eAAe,CAACrgB,OAAO,CAAC,CAAA;EACzD,EAAA,IAAMggB,WAAW,GAAG3sB,WAAW,CAACqN,QAAQ,CAACof,YAAY,CAAC,CAAA;;EAEtD;EACA,EAAA,IACEpqB,IAAI,KAAK,KAAK,KACbrC,WAAW,CAAC+f,eAAe;EAC1B;IACA,EAAE4M,WAAW,IAAIA,WAAW,CAAClB,UAAU,KAAK7R,WAAW,CAAC,CAAC,EAC3D;EACA,IAAA,OAAO,EAAE,CAAA;EACX,GAAA;EAEA,EAAA,IAAMtR,IAAI,GAAGgH,OAAgB,CAACsK,WAAiC,CAAC,CAAA;EAChE,EAAA,IAAMuS,SAAS,GAAG;EAChBnsB,IAAAA,WAAW,EAAXA,WAAW;EACX2M,IAAAA,OAAO,EAAPA,OAAO;EACPa,IAAAA,KAAK,EAALA,KAAK;EACLoM,IAAAA,WAAW,EAAXA,WAAW;EACXvX,IAAAA,IAAI,EAAJA,IAAI;EACJiG,IAAAA,IAAI,EAAJA,IAAI;EACJ2qB,IAAAA,OAAO,EAAE,EAAqB;EAC9Bp1B,IAAAA,IAAI,EAAE,IAAA;KACP,CAAA;IAAA,KAAA8M,IAAAA,GAAA,MAAAA,GAAA,GAEkBrC,IAAI,CAAApJ,MAAA,EAAAyL,GAAA,EAAE,EAAA;EAApB,IAAA,IAAM9M,IAAI,GAAIyK,IAAI,CAAAqC,GAAA,CAAR,CAAA;MACbwhB,SAAS,CAACtuB,IAAI,GAAGA,IAAI,CAAA;EAErBwB,IAAAA,KAAK,CAAC0S,IAAI,CAAC,+BAA+B,EAAEoa,SAAS,CAAC,CAAA;EACxD,GAAA;IAEA,IAAI9pB,IAAI,KAAK,MAAM,EAAE;MACnB8pB,SAAS,CAAC8G,OAAO,GAAG9G,SAAS,CAAC8G,OAAO,CAAC7oB,MAAM,CAC1C,UAACnB,MAAM,EAAA;QAAA,IAAAi6B,qBAAA,EAAAxM,sBAAA,CAAA;QAAA,OACLztB,MAAM,CAACg6B,SAAS,CAAChiC,OAAO,CAAC6hB,YAAY,MAAA,CAAAogB,qBAAA,GAAKljC,WAAW,CAACqN,QAAQ,CAACof,YAAY,CAAC,KAAA,IAAA,GAAA,KAAA,CAAA,GAAA,CAAAiK,sBAAA,GAAlCwM,qBAAA,CAAoC3gB,IAAI,KAAA,IAAA,GAAA,KAAA,CAAA,GAAxCmU,sBAAA,CAA0C5L,QAAQ,CAAA,CAAA;EAAA,KAChG,CAAC,CAAA;EACH,GAAA;IAEA,OAAOqB,SAAS,CAAC8G,OAAO,CAAA;EAC1B,CAAA;EAEA,SAASkP,mBAAmBA,CAAAthC,KAAA,EAAkB;EAAA,EAAA,IAAfb,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EACxCA,EAAAA,WAAW,CAAC6hC,OAAO,GAAG,IAAI,CAAC;EAC3B7hC,EAAAA,WAAW,CAAC2hC,OAAO,GAAG,CAAC,CAAC;EAC1B,CAAA;EAEA,SAASS,WAAWA,CAAA7sB,KAAA,EAAmE;EAAA,EAAA,IAAhEnR,IAAI,GAAAmR,KAAA,CAAJnR,IAAI;MAAEuoB,WAAW,GAAApX,KAAA,CAAXoX,WAAW,CAAA;EACtC,EAAA,IAAI,CAACvoB,IAAI,IAAIuoB,WAAW,CAACpK,IAAI,EAAE;EAC7B,IAAA,OAAA;EACF,GAAA;IAEAoK,WAAW,CAACpK,IAAI,GAAG;EAAEuI,IAAAA,QAAQ,EAAElS,QAAQ;EAAEkX,IAAAA,OAAO,EAAE,IAAA;KAAM,CAAA;EAC1D,CAAA;EAEA,SAAS2S,SAASA,CAAAnrB,KAAA,EAAgC;EAAA,EAAA,IAA7BtX,WAAW,GAAAsX,KAAA,CAAXtX,WAAW;MAAEysB,YAAY,GAAAnV,KAAA,CAAZmV,YAAY,CAAA;IAC5C,IAAMlK,IAAI,GAAGviB,WAAW,CAACqN,QAAQ,CAACof,YAAY,CAAC,CAAClK,IAAI,CAAA;EAEpD,EAAA,IAAIA,IAAI,IAAIA,IAAI,CAACuN,OAAO,EAAE;EACxBtT,IAAAA,YAAY,CAAC+F,IAAI,CAACuN,OAAO,CAAC,CAAA;MAC1BvN,IAAI,CAACuN,OAAO,GAAG,IAAI,CAAA;EACrB,GAAA;EACF,CAAA;EAEA,SAASuS,gBAAgBA,CAAC1gC,GAAoC,EAAEtC,KAAY,EAAE;EAC5E,EAAA,IAAQW,WAAW,GAA6C2B,GAAG,CAA3D3B,WAAW;MAAE2M,OAAO,GAAoChL,GAAG,CAA9CgL,OAAO;MAAEa,KAAK,GAA6B7L,GAAG,CAArC6L,KAAK;MAAEoM,WAAW,GAAgBjY,GAAG,CAA9BiY,WAAW;MAAEgJ,SAAS,GAAKjhB,GAAG,CAAjBihB,SAAS,CAAA;EAE3D,EAAA,IAAI,CAACA,SAAS,KAAK,CAAC5iB,WAAW,CAAC+B,aAAa,IAAI/B,WAAW,CAAC+f,eAAe,CAAC,EAAE;MAC7E,IAAI/f,WAAW,CAAC+B,aAAa,EAAE;QAC7B0gC,SAAS,CAAC9gC,GAAG,CAAC,CAAA;EAChB,KAAA;EAEAoQ,IAAAA,IAAI,CACF;EACE/R,MAAAA,WAAW,EAAXA,WAAW;EACX2M,MAAAA,OAAO,EAAPA,OAAO;EACPa,MAAAA,KAAK,EAALA,KAAK;EACLoM,MAAAA,WAAW,EAAEA,WAAsB;EACnCvX,MAAAA,IAAI,EAAE,MAAA;OACP,EACDhD,KACF,CAAC,CAAA;EACH,GAAA;EACF,CAAA;EAEA,SAASkjC,gBAAgBA,CAAA/qB,KAAA,EAEvBnY,KAAY,EACZ;EAAA,EAAA,IAFEW,WAAW,GAAAwX,KAAA,CAAXxX,WAAW;MAAE2M,OAAO,GAAA6K,KAAA,CAAP7K,OAAO;MAAEa,KAAK,GAAAgK,KAAA,CAALhK,KAAK;MAAEoM,WAAW,GAAApC,KAAA,CAAXoC,WAAW;MAAE6S,YAAY,GAAAjV,KAAA,CAAZiV,YAAY,CAAA;IAGxD,IAAM0W,KAAK,GAAGnjC,WAAW,CAACqN,QAAQ,CAACof,YAAY,CAAC,CAAClK,IAAK,CAAA;EACtD,EAAA,IAAMja,IAAI,GAAGgH,OAAgB,CAACsK,WAAiC,CAAC,CAAA;EAChE,EAAA,IAAMuS,SAAS,GAAG;EAChBnsB,IAAAA,WAAW,EAAXA,WAAW;EACX2M,IAAAA,OAAO,EAAPA,OAAO;EACPa,IAAAA,KAAK,EAALA,KAAK;EACLoM,IAAAA,WAAW,EAAXA,WAAW;EACXvX,IAAAA,IAAI,EAAE,MAAM;EACZ4wB,IAAAA,OAAO,EAAE,EAAqB;EAC9B3qB,IAAAA,IAAI,EAAJA,IAAI;EACJzK,IAAAA,IAAI,EAAE,IAAA;KACP,CAAA;IAAA,KAAA0V,IAAAA,GAAA,MAAAA,GAAA,GAEkBjL,IAAI,CAAApJ,MAAA,EAAAqU,GAAA,EAAE,EAAA;EAApB,IAAA,IAAM1V,IAAI,GAAIyK,IAAI,CAAAiL,GAAA,CAAR,CAAA;MACb4Y,SAAS,CAACtuB,IAAI,GAAGA,IAAI,CAAA;EAErBwB,IAAAA,KAAK,CAAC0S,IAAI,CAAC,+BAA+B,EAAEoa,SAAS,CAAC,CAAA;EACxD,GAAA;EAEA,EAAA,IAAI,CAACA,SAAS,CAAC8G,OAAO,CAAC/zB,MAAM,EAAE,OAAA;IAE/B,IAAIkkC,WAAW,GAAGxqB,QAAQ,CAAA;EAAA,EAAA,KAAA,IAAAhF,GAAA,GAAA,CAAA,EAAAyvB,mBAAA,GAELlX,SAAS,CAAC8G,OAAO,EAAArf,GAAA,GAAAyvB,mBAAA,CAAAnkC,MAAA,EAAA0U,GAAA,EAAE,EAAA;EAAnC,IAAA,IAAM3K,MAAM,GAAAo6B,mBAAA,CAAAzvB,GAAA,CAAA,CAAA;MACf,IAAMkP,YAAY,GAAG7Z,MAAM,CAACg6B,SAAS,CAAChiC,OAAO,CAAC6hB,YAAY,CAAA;MAE1D,IAAIA,YAAY,GAAGsgB,WAAW,EAAE;EAC9BA,MAAAA,WAAW,GAAGtgB,YAAY,CAAA;EAC5B,KAAA;EACF,GAAA;IAEAqgB,KAAK,CAACrY,QAAQ,GAAGsY,WAAW,CAAA;EAC5BD,EAAAA,KAAK,CAACrT,OAAO,GAAGvT,UAAU,CAAC,YAAM;EAC/BxK,IAAAA,IAAI,CACF;EACE/R,MAAAA,WAAW,EAAXA,WAAW;EACX4Z,MAAAA,WAAW,EAAXA,WAAW;EACXjN,MAAAA,OAAO,EAAPA,OAAO;EACPa,MAAAA,KAAK,EAALA,KAAK;EACLnL,MAAAA,IAAI,EAAE,MAAA;OACP,EACDhD,KACF,CAAC,CAAA;KACF,EAAE+jC,WAAW,CAAC,CAAA;EACjB,CAAA;EAEA,SAASV,UAAUA,CAAAhrB,KAAA,EAEjBrY,KAAY,EACZ;EAAA,EAAA,IAFEW,WAAW,GAAA0X,KAAA,CAAX1X,WAAW;MAAE2M,OAAO,GAAA+K,KAAA,CAAP/K,OAAO;MAAEa,KAAK,GAAAkK,KAAA,CAALlK,KAAK;MAAEoM,WAAW,GAAAlC,KAAA,CAAXkC,WAAW,CAAA;EAG1C,EAAA,IAAI,CAAC5Z,WAAW,CAAC+f,eAAe,EAAE;EAChChO,IAAAA,IAAI,CAAC;EAAE/R,MAAAA,WAAW,EAAXA,WAAW;EAAE4Z,MAAAA,WAAW,EAAXA,WAAW;EAAEjN,MAAAA,OAAO,EAAPA,OAAO;EAAEa,MAAAA,KAAK,EAALA,KAAK;EAAEnL,MAAAA,IAAI,EAAE,KAAA;OAAO,EAAEhD,KAAK,CAAC,CAAA;EACxE,GAAA;EACF,CAAA;EAEA,SAASD,SAAOA,CAACC,KAAY,EAAE;IAC7BA,KAAK,CAAC6iC,aAAa,GAAGA,eAAa,CAAA;IACnC7iC,KAAK,CAACG,QAAQ,CAACF,OAAO,CAAC4iC,aAAa,GAAGA,eAAa,CAAC1iC,QAAQ,CAAA;IAC7DmJ,MAAM,CAACtJ,KAAK,CAACC,OAAO,CAACoT,cAAc,EAAEwvB,eAAa,CAAC7c,KAAK,CAAC,CAAA;EAC3D;;;;;;;ECzWA;EAwBA,SAASjmB,SAAOA,CAACC,KAAY,EAAE;EAC7BA,EAAAA,KAAK,CAAC6S,SAAS,CAACoQ,eAAU,CAAC,CAAA;EAE3B,EAAA,IAAQ4f,aAAa,GAAK7iC,KAAK,CAAvB6iC,aAAa,CAAA;;EAErB;EACAA,EAAAA,aAAa,CAAC1iC,QAAQ,CAAC8jC,kBAAkB,GAAG,CAAC,CAAA;EAC7CpB,EAAAA,aAAa,CAAC7c,KAAK,CAACke,UAAU,GAAGlkC,KAAK,CAACC,OAAO,CAACoT,cAAc,CAAC6wB,UAAU,GAAG,IAAI,CAAA;EACjF,CAAA;EAEA,SAASC,KAAKA,CAAAzjC,IAAA,EAAwD;EAAA,EAAA,IAArDsU,YAAY,GAAAtU,IAAA,CAAZsU,YAAY,CAAA;EAC3B,EAAA,IAAIA,YAAY,CAAChS,IAAI,KAAK,MAAM,EAAE,OAAA;IAElCgS,YAAY,CAACovB,KAAK,GAAG,CAACpvB,YAAY,CAACovB,KAAK,IAAI,CAAC,IAAI,CAAC,CAAA;EACpD,CAAA;EAEA,SAASC,OAAOA,CAAA7iC,KAAA,EAEdxB,KAAY,EACZ;EAAA,EAAA,IAFEW,WAAW,GAAAa,KAAA,CAAXb,WAAW;MAAEqU,YAAY,GAAAxT,KAAA,CAAZwT,YAAY;MAAEuF,WAAW,GAAA/Y,KAAA,CAAX+Y,WAAW;MAAEqZ,OAAO,GAAApyB,KAAA,CAAPoyB,OAAO,CAAA;IAGjD,IAAI5e,YAAY,CAAChS,IAAI,KAAK,MAAM,IAAI,CAAC4wB,OAAO,CAAC/zB,MAAM,EAAE,OAAA;;EAErD;IACA,IAAMwiC,QAAQ,GAAGzO,OAAO,CAAC,CAAC,CAAC,CAACgQ,SAAS,CAAChiC,OAAO,CAACqiC,kBAAkB,CAAA;;EAEhE;IACA,IAAI5B,QAAQ,IAAI,CAAC,EAAE,OAAA;;EAEnB;EACA1hC,EAAAA,WAAW,CAAC2jC,kBAAkB,GAAGpnB,UAAU,CAAC,YAAM;EAChDld,IAAAA,KAAK,CAAC6iC,aAAa,CAACnwB,IAAI,CACtB;EACE/R,MAAAA,WAAW,EAAXA,WAAW;EACX4Z,MAAAA,WAAW,EAAXA,WAAW;EACXvX,MAAAA,IAAI,EAAE,MAAM;EACZsK,MAAAA,OAAO,EAAE0H,YAAY;EACrB7G,MAAAA,KAAK,EAAE6G,YAAAA;OACR,EACDhV,KACF,CAAC,CAAA;KACF,EAAEqiC,QAAQ,CAAC,CAAA;EACd,CAAA;EAEA,SAASkC,aAAaA,CAAAruB,KAAA,EAAgD;EAAA,EAAA,IAA7CvV,WAAW,GAAAuV,KAAA,CAAXvV,WAAW,CAAA;EAClC;EACA;IACA,IAAIA,WAAW,CAAC2jC,kBAAkB,EAAE;EAClCE,IAAAA,aAAa,CAAC7jC,WAAW,CAAC2jC,kBAAkB,CAAC,CAAA;MAC7C3jC,WAAW,CAAC2jC,kBAAkB,GAAG,IAAI,CAAA;EACvC,GAAA;EACF,CAAA;EAEA,IAAMG,UAAkB,GAAG;EACzBtiC,EAAAA,EAAE,EAAE,2BAA2B;EAC/BpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAACoU,MAAM,CAClD,UAACC,GAAG,EAAEiuB,UAAU,EAAK;EACjBjuB,IAAAA,GAAG,kBAAA7K,MAAA,CAA0B84B,UAAU,CAAA,CAAG,GAAGH,aAAa,CAAA;EAC5D,IAAA,OAAO9tB,GAAG,CAAA;EACZ,GAAC,EACD;EACE,IAAA,mBAAmB,EAAE0tB,KAAK;EAC1B,IAAA,qBAAqB,EAAEE,OAAAA;KAE3B,CAAA;EACF,CAAC,CAAA;AAED,qBAAeI,UAAU;;EC/EzB,SAAS1kC,SAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQE,YAAY,GAAKF,KAAK,CAAtBE,YAAY,CAAA;EAEpBA,EAAAA,YAAY,CAACE,SAAS,CAACyiC,aAAa,GAAG,UAErCjhC,OAAqC,EACrC;MACA0H,MAAM,CAAC,IAAI,CAAC8I,MAAM,CAACxQ,OAAO,EAAEA,OAAO,CAAC,CAAA;EAEpC,IAAA,OAAO,IAAI,CAAA;KACZ,CAAA;EAED,EAAA,IAAM+iC,kBAAkB,GAAGzkC,YAAY,CAACE,SAAS,CAACof,iBAAiB,CAAA;IAEnEtf,YAAY,CAACE,SAAS,CAACof,iBAAiB,GAAG,UAAUia,UAAU,EAAErmB,QAAQ,EAAE;MACzE,IAAM1J,GAAG,GAAGi7B,kBAAkB,CAAC7yB,IAAI,CAAC,IAAI,EAAE2nB,UAAU,EAAErmB,QAAQ,CAAC,CAAA;MAE/D,IAAI1J,GAAG,KAAK,IAAI,EAAE;QAChB,IAAI,CAAC0I,MAAM,CAACxQ,OAAO,CAAC63B,UAAU,CAAC,GAAGrmB,QAAQ,CAAA;EAC5C,KAAA;EAEA,IAAA,OAAO1J,GAAG,CAAA;KACX,CAAA;EACH,CAAA;EAEA,IAAM8xB,QAAc,GAAG;EACrBr5B,EAAAA,EAAE,EAAE,oCAAoC;EACxCpC,EAAAA,OAAO,EAAPA,SAAO;EACPqC,EAAAA,SAAS,EAAE;EACT,IAAA,+BAA+B,EAAE,SAAAwiC,2BAAAA,CAAAlkC,IAAA,EAAuCV,KAAK,EAAK;EAAA,MAAA,IAA9C4zB,OAAO,GAAAlzB,IAAA,CAAPkzB,OAAO;UAAEp1B,IAAI,GAAAkC,IAAA,CAAJlC,IAAI;UAAEwE,IAAI,GAAAtC,IAAA,CAAJsC,IAAI;UAAEuX,WAAW,GAAA7Z,IAAA,CAAX6Z,WAAW,CAAA;QAClEva,KAAK,CAAC6T,aAAa,CAAC2N,YAAY,CAAChjB,IAAI,EAAE,UAAC+D,YAA0B,EAAK;EACrE,QAAA,IAAMqhC,SAAS,GAAGrhC,YAAY,CAAC6P,MAAM,CAAA;EACrC,QAAA,IAAMxQ,OAAO,GAAGgiC,SAAS,CAAChiC,OAAO,CAAA;UAEjC,IACEgiC,SAAS,CAAC5d,KAAK,CAAChjB,IAAI,CAAC,IACrB4gC,SAAS,CAAC5d,KAAK,CAAChjB,IAAI,CAAC,CAACnD,MAAM,IAC5B0C,YAAY,CAACwe,eAAe,CAACnf,OAAO,EAAEpD,IAAI,EAAE+b,WAAW,CAAC,EACxD;YACAqZ,OAAO,CAAC1qB,IAAI,CAAC;EACX1K,YAAAA,IAAI,EAAJA,IAAI;EACJolC,YAAAA,SAAS,EAATA,SAAS;EACTD,YAAAA,KAAK,EAAE;EAAEphC,cAAAA,YAAY,EAAZA,YAAAA;EAAa,aAAA;EACxB,WAAC,CAAC,CAAA;EACJ,SAAA;EACF,OAAC,CAAC,CAAA;OACH;EAED,IAAA,kBAAkB,EAAE,SAAAsiC,eAAArjC,CAAAA,KAAA,EAAsB;EAAA,MAAA,IAAnBe,YAAY,GAAAf,KAAA,CAAZe,YAAY,CAAA;EACjCA,MAAAA,YAAY,CAAC6P,MAAM,CAACvI,OAAO,GAAG,UAAUzK,OAAgB,EAAE;EACxD,QAAA,OAAOmD,YAAY,CAACsH,OAAO,CAACzK,OAAO,CAAC,CAAA;SACrC,CAAA;OACF;EAED,IAAA,kBAAkB,EAAE,SAAA0lC,eAAAA,CAAA5uB,KAAA,EAA4BlW,KAAK,EAAK;EAAA,MAAA,IAAnCuC,YAAY,GAAA2T,KAAA,CAAZ3T,YAAY;UAAEX,OAAO,GAAAsU,KAAA,CAAPtU,OAAO,CAAA;EAC1C0H,MAAAA,MAAM,CAAC/G,YAAY,CAAC6P,MAAM,CAACxQ,OAAO,EAAE5B,KAAK,CAAC6iC,aAAa,CAAC1iC,QAAQ,CAAC,CAAA;EACjEmJ,MAAAA,MAAM,CAAC/G,YAAY,CAAC6P,MAAM,CAACxQ,OAAO,EAAEA,OAAO,CAACihC,aAAa,IAAI,EAAE,CAAC,CAAA;EAClE,KAAA;EACF,GAAA;EACF,CAAC,CAAA;AAED,4BAAerH,QAAM;;EC1ErB;EAQA;;EAEA,IAAMA,MAAc,GAAG;EACrBr5B,EAAAA,EAAE,EAAE,gBAAgB;IACpBpC,OAAO,EAAA,SAAAA,OAACC,CAAAA,KAAK,EAAE;EACbA,IAAAA,KAAK,CAAC6S,SAAS,CAACgwB,eAAa,CAAC,CAAA;EAC9B7iC,IAAAA,KAAK,CAAC6S,SAAS,CAAC4xB,YAAU,CAAC,CAAA;EAC3BzkC,IAAAA,KAAK,CAAC6S,SAAS,CAACkyB,mBAAmB,CAAC,CAAA;EACtC,GAAA;EACF,CAAC,CAAA;AAED,sBAAevJ,MAAM;;EC+BrB,SAASz7B,OAAOA,CAACC,KAAY,EAAE;EAC7B,EAAA,IAAQE,YAAY,GAAKF,KAAK,CAAtBE,YAAY,CAAA;EAEpBF,EAAAA,KAAK,CAACC,OAAO,CAACukB,MAAM,CAACwgB,MAAM,GAAG,IAAI,CAAA;EAElC9kC,EAAAA,YAAY,CAACE,SAAS,CAAC4kC,MAAM,GAAG,UAAUniC,MAAmB,EAAE;EAC7D,IAAA,OAAOoiC,QAAQ,CAAC,IAAI,EAAEpiC,MAAM,EAAE7C,KAAK,CAAC,CAAA;KACrC,CAAA;EACH,CAAA;EAEA,SAASilC,QAAQA,CACf1iC,YAA0B,EAC1BM,MAAsB,EACtB7C,KAAY,EACW;EACvB,EAAA,IAAM+F,QAAQ,GAAGxD,YAAY,CAAC6R,cAAc,EAAE,CAAA;;EAE9C;EACA,EAAA,IAAM8wB,OAAO,GAAIllC,KAAK,CAAC/B,MAAM,CAASinC,OAAO,CAAA;EAC7C,EAAA,IAAMC,QAAqC,GAAGD,OAAO,GAAG,EAAE,GAAG,IAAI,CAAA;IAAA,IAAA/4B,KAAA,GAAAA,SAAAA,KAAAA,GAEjC;EAA3B,IAAA,IAAM/M,OAAO,GAAI2G,QAAQ,CAAAuF,GAAA,CAAZ,CAAA;EAChB,IAAA,IAAMnB,IAAI,GAAG5H,YAAY,CAACsH,OAAO,CAACzK,OAAmC,CAAC,CAAA;MAEtE,IAAI,CAAC+K,IAAI,EAAE;EAAA,MAAA,OAAA,CAAA,CAAA;EAEX,KAAA;EAEA,IAAA,IAAMi7B,kBAAkB,GAAG5yB,IAAQ,CAACxS,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAE,UAACrT,WAAwB,EAAK;QACzF,OACEA,WAAW,CAAC2d,WAAW,EAAE,IACzB3d,WAAW,CAAC4B,YAAY,KAAKA,YAAY,IACzC5B,WAAW,CAACvB,OAAO,KAAKA,OAAO,IAC/BuB,WAAW,CAACC,QAAQ,CAACC,IAAI,KAAKgC,MAAM,CAAChC,IAAI,CAAA;EAE7C,KAAC,CAAC,CAAA;EACF,IAAA,IAAIwkC,aAA4B,CAAA;EAEhC,IAAA,IAAID,kBAAkB,EAAE;QACtBA,kBAAkB,CAAC7jC,IAAI,EAAE,CAAA;EAEzB,MAAA,IAAI4jC,QAAQ,EAAE;UACZE,aAAa,GACXD,kBAAkB,CAACE,cAAc,IACjC,IAAIJ,OAAO,CAAC,UAACK,OAAY,EAAK;YAC5BH,kBAAkB,CAACI,cAAc,GAAGD,OAAO,CAAA;EAC7C,SAAC,CAAC,CAAA;EACN,OAAA;EACF,KAAC,MAAM;EACL,MAAA,IAAME,IAAI,GAAGp7B,UAAU,CAACF,IAAI,CAAC,CAAA;EAC7B,MAAA,IAAMpJ,MAAM,GAAG;EACbE,QAAAA,IAAI,EAAE;YAAEK,CAAC,EAAEmkC,IAAI,CAACnkC,CAAC;YAAEJ,CAAC,EAAEukC,IAAI,CAACvkC,CAAAA;WAAG;EAC9BE,QAAAA,MAAM,EAAE;YAAEE,CAAC,EAAEmkC,IAAI,CAACnkC,CAAC;YAAEJ,CAAC,EAAEukC,IAAI,CAACvkC,CAAAA;WAAG;EAChC2L,QAAAA,SAAS,EAAE7M,KAAK,CAAC+c,GAAG,EAAC;SACtB,CAAA;EAED,MAAA,IAAM5O,KAAK,GAAGqJ,aAA0B,CAACzW,MAAM,CAAC,CAAA;EAChDskC,MAAAA,aAAa,GAAGK,WAAW,CAAI1lC,KAAK,EAAEuC,YAAY,EAAEnD,OAAO,EAAEyD,MAAM,EAAEsL,KAAK,CAAC,CAAA;EAC7E,KAAA;EAEA,IAAA,IAAIg3B,QAAQ,EAAE;EACZA,MAAAA,QAAQ,CAACj8B,IAAI,CAACm8B,aAAa,CAAC,CAAA;EAC9B,KAAA;KACD,CAAA;IAAA,KAAA/5B,IAAAA,GAAA,MAAAA,GAAA,GA1CqBvF,QAAQ,CAAAlG,MAAA,EAAAyL,GAAA,EAAA,EAAA;EAAA,IAAA,IAAAa,KAAA,EAI1B,EAAA,MAAA;EAAK,GAAA;IAwCT,OAAOg5B,QAAQ,IAAID,OAAO,CAAC/C,GAAG,CAACgD,QAAQ,CAAC,CAACQ,IAAI,CAAC,YAAA;EAAA,IAAA,OAAMpjC,YAAY,CAAA;KAAC,CAAA,CAAA;EACnE,CAAA;EAEA,SAASmjC,WAAWA,CAClB1lC,KAAY,EACZuC,YAA0B,EAC1BnD,OAAgB,EAChByD,MAAsB,EACtBsL,KAAU,EACV;EACA,EAAA,IAAMxN,WAAW,GAAGX,KAAK,CAAC+hB,YAAY,CAACoV,GAAG,CAAC;EAAEx0B,IAAAA,WAAW,EAAE,QAAA;EAAS,GAAC,CAAC,CAAA;EACrE,EAAA,IAAMmqB,SAAS,GAAG;EAChBnsB,IAAAA,WAAW,EAAXA,WAAW;EACXwN,IAAAA,KAAK,EAALA,KAAK;EACLb,IAAAA,OAAO,EAAEa,KAAK;EACdoM,IAAAA,WAAW,EAAEnb,OAAO;EACpBwZ,IAAAA,KAAK,EAAE,QAAA;KACC,CAAA;IAEVjY,WAAW,CAAC4B,YAAY,GAAGA,YAAY,CAAA;IACvC5B,WAAW,CAACvB,OAAO,GAAGA,OAAO,CAAA;IAC7BuB,WAAW,CAAC2Y,SAAS,GAAGnL,KAAK,CAAA;IAC7BxN,WAAW,CAAC0sB,aAAa,CAAClf,KAAK,EAAEA,KAAK,EAAE/O,OAAO,EAAE,IAAI,CAAC,CAAA;IACtDoY,aAA0B,CAAC7W,WAAW,CAACI,MAAM,CAACY,KAAK,CAAC,CAAA;EAEpDwd,EAAAA,UAAU,CAACxe,WAAW,CAACC,QAAQ,EAAEiC,MAAM,CAAC,CAAA;EACxClC,EAAAA,WAAW,CAAC4sB,QAAQ,CAACT,SAAS,CAAC,CAAA;EAE/B,EAAA,IAAApsB,IAAA,GAAoBV,KAAK,CAAC/B,MAAM;MAAxBinC,OAAO,GAAAxkC,IAAA,CAAPwkC,OAAO,CAAA;IACf,IAAMG,aAAa,GAAGH,OAAO,GACzB,IAAIA,OAAO,CAAY,UAACK,OAAO,EAAK;MAClC5kC,WAAW,CAAC6kC,cAAc,GAAGD,OAAO,CAAA;KACrC,CAAC,GACFznC,SAAS,CAAA;IAEb6C,WAAW,CAAC2kC,cAAc,GAAGD,aAAa,CAAA;IAC1C1kC,WAAW,CAACQ,KAAK,CAAC0B,MAAM,EAAEN,YAAY,EAAEnD,OAAO,CAAC,CAAA;IAEhD,IAAIuB,WAAW,CAAC0hB,YAAY,EAAE;EAC5B1hB,IAAAA,WAAW,CAACY,IAAI,CAACurB,SAAS,CAAC,CAAA;EAC3BnsB,IAAAA,WAAW,CAACib,GAAG,CAACzN,KAAK,CAAC,CAAA;EACxB,GAAC,MAAM;MACLxN,WAAW,CAACid,IAAI,EAAE,CAAA;MAClBjd,WAAW,CAAC6kC,cAAc,EAAE,CAAA;EAC9B,GAAA;EAEA7kC,EAAAA,WAAW,CAACmtB,aAAa,CAAC3f,KAAK,EAAEA,KAAK,CAAC,CAAA;EAEvC,EAAA,OAAOk3B,aAAa,CAAA;EACtB,CAAA;EAEA,IAAML,MAAc,GAAG;EACrB7iC,EAAAA,EAAE,EAAE,QAAQ;EACZpC,EAAAA,OAAO,EAAPA,OAAO;EACPqC,EAAAA,SAAS,EAAE;EACT;EACA,IAAA,mBAAmB,EAAE,SAAAmW,gBAAAA,CAAA/W,KAAA,EAAkBxB,KAAK,EAAK;EAAA,MAAA,IAAzBW,WAAW,GAAAa,KAAA,CAAXb,WAAW,CAAA;EACjC,MAAA,IAAIA,WAAW,CAACgC,WAAW,KAAK,QAAQ,EAAE;UACxC,IAAIhC,WAAW,CAAC6kC,cAAc,EAAE;YAC9B7kC,WAAW,CAAC6kC,cAAc,EAAE,CAAA;EAC9B,SAAA;UAEAhzB,MAAU,CAACxS,KAAK,CAAC+hB,YAAY,CAAC/N,IAAI,EAAErT,WAAW,CAAC,CAAA;EAClD,OAAA;EACF,KAAA;EACF,GAAA;EACF,CAAC,CAAA;AAED,iBAAeqkC,MAAM;;ECzLrB;EAwBA;;AAEAryB,YAAQ,CAAC4oB,GAAG,CAACjE,0BAA0B,CAAC,CAAA;AAExC3kB,YAAQ,CAAC4oB,GAAG,CAAC1M,QAAM,CAAC,CAAA;;EAEpB;AACAlc,YAAQ,CAAC4oB,GAAG,CAACsH,aAAa,CAAC,CAAA;;EAE3B;AACAlwB,YAAQ,CAAC4oB,GAAG,CAAChM,SAAO,CAAC,CAAA;;EAErB;AACA5c,YAAQ,CAAC4oB,GAAG,CAACpR,WAAS,CAAC,CAAA;;EAEvB;AACAxX,YAAQ,CAAC4oB,GAAG,CAACtb,SAAS,CAAC,CAAA;;EAEvB;AACAtN,YAAQ,CAAC4oB,GAAG,CAACt7B,OAAO,CAAC,CAAA;;EAErB;AACA0S,YAAQ,CAAC4oB,GAAG,CAACne,YAAU,CAAC,CAAA;;EAExB;AACAzK,YAAQ,CAAC4oB,GAAG,CAACyJ,QAAM,CAAC,CAAA;;EAEpB;EAC2C;EACzCryB,EAAAA,UAAQ,CAAC4oB,GAAG,CAACvW,QAAQ,CAAC,CAAA;EACxB,CAAA;AAGErS,YAAQ,CAASizB,OAAO,GAAGjzB,UAAQ;;ECpDrC,IAAI,CAAO4X,OAAAA,MAAM,KAAAxrB,WAAAA,GAAAA,WAAAA,GAAAA,OAAA,CAANwrB,MAAM,CAAK,MAAA,QAAQ,IAAI,CAAC,CAACA,MAAM,EAAE;IAC1C,IAAI;MACFA,MAAM,CAACsb,OAAO,GAAGlzB,UAAQ,CAAA;EAC3B,GAAC,CAAC,OAAAmzB,OAAA,EAAM,EAAC;EACX,CAAA;AAEEnzB,YAAQ,CAASizB,OAAO,GAAGjzB,UAAQ;;;;;;;;;ACXrC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0LCPA,MAEe,CACXozB,OAAQ,CACJC,uBAJY,uDAKZC,yBALY,6GAMZC,wBANY,wDAOZC,4BAPY,6CAQZC,gCARY,2FASZC,gCATY,oFAUZC,4BAVY,6uCCECC,wBAULC,kBACHC,KAAOD,OACPE,QAAU,eACVC,QAAU,eACVC,OAAS,cACTC,aAAe,CAACC,KAAKJ,QAASI,KAAKH,QAASG,KAAKF,kDASlDG,EAAuBC,UACpBC,UAAUC,OAAS,EACpBJ,KAAKK,gCAAwBF,WAC7BH,KAAKM,iEAUML,EAAuBC,OAapCK,SAZEC,EAAWR,KAAKS,MAElBC,GAAW,EACXC,EAAU,eAACC,yDAASC,EAAKlB,KAAKmB,aAAaC,WACvCL,IACJA,GAAW,OACW,IAAXE,GAA0BC,EAAKlB,KAAKqB,sBAC3CJ,EAASC,EAAKlB,KAAKqB,oBAAoBC,mBACvCL,IAAWC,EAAKjB,SAAsB,IAAXgB,EACvBX,GAAWA,IACRC,GAAUA,MAKrBM,IAAaR,KAAKH,QAClBc,EAAQH,GAERR,KAAKL,KAAKqB,qBACVhB,KAAKL,KAAKqB,oBAAoBC,qBAGzBtB,KAAKqB,oBAAoBE,kBAAkBP,GAEhDX,KAAKL,KAAKmB,cACVd,KAAKL,KAAKmB,aAAaI,mBAKvBX,EAAUP,KAAKL,KAAKmB,aAAaI,kBAAkBP,KACpCJ,EAAQY,MAEnBZ,EAAQY,KAAKR,SAAe,WACpBT,GAAUA,MAGfD,GAEPA,2DASEO,EAAWR,KAAKS,MAKlBW,EAAiBZ,IAAaR,KAAKH,QAGnCwB,EACArB,KAAKL,KAAKmB,cAAgBd,KAAKL,KAAKmB,aAAaI,kBAGjDI,EACAtB,KAAKL,KAAKqB,qBACVhB,KAAKL,KAAKqB,oBAAoBC,uBAE3B,IAAIM,QAAQ,SAACC,EAAgBC,OAO5BlB,EANAG,GAAW,EACXgB,EAAW,SAAAd,GACPF,IACJA,GAAW,GAlBH,SAAAE,UAAUA,IAAWe,EAAK/B,SAAsB,IAAXgB,EAmB7CgB,CAAUhB,GAA6Ba,IAAnBD,MAIpBJ,EACAM,EAASlB,GACFc,EACPK,EAAKhC,KAAKqB,oBAAoBE,kBAAkB,SAAAN,GAC5Cc,EAASd,KAENS,GAIPd,EAAUoB,EAAKhC,KAAKmB,aAAaI,kBAAkBQ,KACpCnB,EAAQY,MAEnBZ,EAAQY,KAAKO,SAAgBD,GAE9BD,2CASJxB,KAAKS,QAAUT,KAAKJ,6CAWvBI,KAAKL,KAAKmB,cAAgBd,KAAKL,KAAKmB,aAAaC,WACpCf,KAAKL,KAAKmB,aAAaC,WAEpCf,KAAKL,KAAKqB,qBACVhB,KAAKL,KAAKqB,oBAAoBC,gBAGjBjB,KAAKD,aACdC,KAAKL,KAAKqB,oBAAoBC,mBAE7BY,UAAUC,gBAEF9B,KAAKJ,QACbI,KAAKL,KAAKoC,UAAY/B,KAAKL,KAAKoC,SAASC,aAEjChC,KAAKL,KAAKoC,SAASC,eAC1BhC,KAAKJ,QACLI,KAAKH,QACGG,KAAKJ,iBCtKVqC,uFACEC,eACAC,IAARD,iCAGGE,UACK,OAARF,qCAGKA,SACU,iBAARA,qCAGAA,UACPA,GAAiC,sBAA1B,GAAGG,SAASC,KAAKJ,oCAGnBA,SACU,WAAfK,EAAOL,uCAGCM,EAAQC,OAClB,IAAIC,KAAOD,EAERD,EAAOG,eAAeD,IACtB1C,KAAK4C,SAASJ,EAAOE,KACrB1C,KAAK4C,SAASH,EAAOC,SAEhBG,YAAYL,EAAOE,GAAMD,EAAOC,IAErCF,EAAOE,GAAOD,EAAOC,YC5BhBI,EAGjB,WAAYpD,kBACHC,KAAOD,GCECqD,0FAAqBD,wDAQAX,IAA3BnC,KAAKL,KAAKmB,4CASdkC,EAAeC,UACX,IAAIjD,KAAKL,KAAKmB,aAAakC,EAAO,CACrCE,KACIjB,EAAKkB,SAASF,EAAQC,OACtBjB,EAAKmB,YAAYH,EAAQC,OACzBjB,EAAKoB,OAAOJ,EAAQC,MACdD,EAAQC,KACRD,EAAQC,KAAKI,IACvBC,KAAMN,EAAQM,KACdC,IAAKP,EAAQO,IACbC,mBAAoBR,EAAQQ,mDAQ9BC,GACFA,EAAaC,iBCpCAC,0FAA0Bd,wDASXX,IAAxBnC,KAAKL,KAAKkC,gBAC4BM,IAAtCnC,KAAKL,KAAKkC,UAAUgC,sDAQZC,OACNC,EAAMD,EAAKzB,WAAW2B,MAAM,oCAC3B,MAAOD,GAAuCA,EAAI3D,OAAS,EAC5D2D,EAAI,GACJ,oCAYNE,EACAjB,EACAC,EACAY,EACAK,mBAGKvE,KAAKkC,UAAUgC,cAAcM,SAASN,QAEtClE,KAAKkC,UAAUgC,cAAcO,MAC7BjD,KAAK,SAAAkD,OAEEC,EAAY,CACZL,GAAIA,EACJM,KAAMtB,EAAQsB,KACdC,OAAQC,SAASC,SAASC,KAC1BC,QAAS3C,EAAK4C,WAAW5B,EAAQ2B,SAC3B/D,EAAKiE,gBAAgB7B,EAAQ2B,SAC7B,GACNG,QAAS9C,EAAK4C,WAAW5B,EAAQ8B,SAC3BlE,EAAKiE,gBAAgB7B,EAAQ8B,SAC7B,SAIW5C,IAAjBc,EAAQ+B,MAAuC,OAAjB/B,EAAQ+B,OACtCV,EAAYW,OAAOC,OAAOZ,EAAWrB,EAAQ+B,OAGjDX,EACKc,iBAAiBnC,EAAO,CACrBE,KAAMD,EAAQC,KACdK,KAAMN,EAAQM,KACd6B,QAASnC,EAAQmC,QACjB5B,IAAKP,EAAQO,IACbwB,KAAMV,EACNb,mBAAoBR,EAAQQ,mBAC5B4B,OAAQpC,EAAQoC,SAEnBlE,KAAK,WACFkD,EAAaiB,mBAAmBnE,KAAK,SAAAoE,GAEjClB,EAAamB,OAAOC,YAAY,IAGhCvB,EAASqB,aAGV,SAASG,SACN,IAAIC,MACNC,EAAS3G,OAAOK,sBACZoG,EAAMG,mBAInB,SAASH,SACN,IAAIC,MACNC,EAAS3G,OAAOM,sBAAwBmG,EAAMG,qDC5F7CC,0FAA2BhD,wDAQOX,IAAxCnC,KAAKL,KAAKkC,UAAUC,+CASxBkB,EAAeC,OACdS,EAAe1D,KAAKL,KAAKkC,UAAUC,gBAAgBiE,mBACnD/C,EACAC,EAAQM,KACRN,EAAQC,aAGZQ,EAAasC,OAENtC,WC1BMuC,0FAAgBnD,wDASFX,IAAvBnC,KAAKL,KAAKoC,eAC0BI,IAApCnC,KAAKL,KAAKoC,SAASC,4CAUpBgB,EAAeC,eAEbtD,KAAKoC,SAASmE,kCAEdvG,KAAKoC,SAASoE,yBACflE,EAAKkB,SAASF,EAAQC,OAASjB,EAAKmB,YAAYH,EAAQC,MAClDD,EAAQC,KACRD,EAAQC,KAAKkD,IACnBpD,QAGCrD,KAAKoC,SAASsE,qBAEZ,0CAQF1G,KAAKoC,SAASmE,sCC1CNI,0FAAoBxD,wDAQQX,IAAlCnC,KAAKL,KAAKqB,mDASdgC,EAAeC,OACdS,EAAe1D,KAAKL,KAAKqB,oBAAoB+E,mBAC7C9C,EAAQC,KACRF,EACAC,EAAQM,aAGZG,EAAasC,OAENtC,gCAOLA,GACFA,EAAa6C,yBCtCN,0BC8BC7G,kBAIH8G,WAAa,OAGbC,eAAiB,QAGjB9G,KAAOD,OAGPD,WAAa,IAAIA,EAAWC,QAG5BgH,QAAU,CACXC,QAAS,IAAI5D,EAAarD,GAC1BkH,OAAQ,IAAIhD,EAAkBlE,GAC9BmH,QAAS,IAAIf,EAAmBpG,GAChCoH,GAAI,IAAIb,EAAQvG,GAChBqH,OAAQ,IAAIT,EAAY5G,SAGvBsH,eAAiB,CAClBnD,cAAe,wBACfoD,SAAU,SAASC,2DAURjD,OACXkD,GAAU,EACRzD,EAAe1D,KAAKyG,eAAexC,WAEpB9B,IAAjBuB,EAA4B,IAC5ByD,EAAUnH,KAAKoH,oBAAoBnD,GAG/BjE,KAAK0G,QAAQC,QAAQU,cACrBrH,KAAK0G,QAAQC,QAAQhD,MAAMD,QAC1B,GAAI1D,KAAK0G,QAAQK,OAAOM,mBAEpBX,QAAQK,OAAOpD,MAAMD,OACzB,CAAA,IAAI1D,KAAK0G,QAAQI,GAAGO,oBAIrBF,GAAU,EACJ,IAAIxB,MAAMC,EAAS3G,OAAOO,wBAH3BkH,QAAQI,GAAGnD,eAMbwD,SAGJ,2CASMzD,OACPO,EAAKjE,KAAKwG,uBACXC,eAAexC,GAAMP,OACrB8C,aACEvC,8CASSA,OACZkD,GAAU,SAEVnH,KAAKyG,eAAe9D,eAAesB,YAE5BjE,KAAKyG,eAAexC,GAC3BkD,GAAU,GAGPA,+CAWUlD,EAAYhB,OACzBqE,gBAGJA,EAAU,CACN7G,IAAK,kBACMI,EAAK4F,eAAexC,IAG/BN,MAAO,WACH9C,EAAK0G,mBAAmBtD,KAK5BhB,EAAQuE,SACRC,WAAW,WACPH,EAAQ3D,SACTV,EAAQuE,SAGRF,iDASP/B,EACAtC,EACAtC,cAEIsD,EAAKjE,KAAK0H,iBAAiBnC,EAAcA,EAAcnF,OAAS,IAGhEyB,WAAaA,UAAUgC,gBACvBhC,UAAUgC,cAAc8D,iBAAiB,UAAW,SAAAC,OAC1C5C,EAAO6C,KAAKC,MAAMF,EAAM5C,MAEV,UAAhBA,EAAK+C,QAAsBC,OAAOC,UAAUjD,EAAKf,KACjDtC,EAAKyF,oBAAoBpC,EAAKf,MAGtCtD,EAAQX,KAAKkI,qBAAqBjE,EAAIhB,KAG1CtC,EAAQ,8CASRqC,EACAC,EACAtC,OAGIoE,SADArB,EAAe,QAInBT,EAAUA,GAAW,GAGrB8B,EAAU,SAAAd,GAENkE,EAAKf,oBAAoBnD,GACrBhC,EAAK4C,WAAW5B,EAAQ8B,UACxB9B,EAAQ8B,QAAQzC,KAAK6F,EAAMzE,IAK/B1D,KAAK0G,QAAQC,QAAQU,kBAGjB3D,EAAe1D,KAAK0G,QAAQC,QAAQyB,OAAOpF,EAAOC,GACpD,MAAOoF,OACCpE,EAAKjE,KAAKwG,WACV8B,EAAKtI,KAAKuI,SAAS1E,cAQrB7D,KAAK0G,QAAQE,OAAOS,oBACfX,QAAQE,OAAOwB,OAAOnE,EAAIjB,EAAOC,EAASqF,EARxC,SAAA/C,UACP4C,EAAKK,uBACDjD,EACAtC,EACAtC,UAQLX,KAAK0G,QAAQK,OAAOM,cAC3B3D,EAAe1D,KAAK0G,QAAQK,OAAOqB,OAAOpF,EAAOC,GAC5CjD,KAAK0G,QAAQG,QAAQQ,mBAErBX,QAAQG,QAAQuB,OAAOpF,EAAOC,GAC9BjD,KAAK0G,QAAQI,GAAGO,cAErB3D,EAAe1D,KAAK0G,QAAQI,GAAGsB,OAAOpF,EAAOC,IAG7CA,EAAQD,MAAQA,OACXuF,SAAStB,SAAShE,OAGN,OAAjBS,EAAuB,KACjBO,EAAKjE,KAAK0H,iBAAiBhE,GAC3B4D,EAAUtH,KAAKkI,qBAAqBjE,EAAIhB,GAG1ChB,EAAK4C,WAAW5B,EAAQwF,SACxB/E,EAAaiE,iBAAiB,OAAQ1E,EAAQwF,QAE9CxG,EAAK4C,WAAW5B,EAAQyF,UACxBhF,EAAaiE,iBAAiB,QAAS1E,EAAQyF,SAE/CzG,EAAK4C,WAAW5B,EAAQ2B,UACxBlB,EAAaiE,iBAAiB,QAAS1E,EAAQ2B,SAEnDlB,EAAaiE,iBAAiB,QAAS,WACnC5C,EAAQd,KAGZP,EAAaiE,iBAAiB,SAAU,WACpC5C,EAAQd,KAIZtD,EAAQ2G,GAIZ3G,EAAQ,qCAQLqC,EAAeC,OACd0F,aAGC1G,EAAKkB,SAASH,SACT,IAAI2C,MAAMC,EAAS3G,OAAOG,sBAgBhCuJ,EAZC3I,KAAKP,WAAWmJ,MAYC,SAACjI,EAAqBkI,OAEhCC,EAAKC,gBAAgB/F,EAAOC,EAAStC,GACvC,MAAO0H,GACLQ,EAAOR,KAfG,SAAC1H,EAAqBkI,GACpCC,EAAKrJ,WACAc,UACAY,KAAK,WACF2H,EAAKC,gBAAgB/F,EAAOC,EAAStC,WAElC,WACHkI,EAAOjD,EAAS3G,OAAOI,sBAahC,IAAIkC,QAAQoH,uCASfjG,EADAsG,EAAQ,MAGPtG,KAAO1C,KAAKyG,eACTzG,KAAKyG,eAAe9D,eAAeD,IAAMsG,WAE1CA,gCAQLxF,OACEd,MAECA,KAAO1C,KAAKyG,kBACTzG,KAAKyG,eAAe9D,eAAeD,IACpB1C,KAAKyG,eAAe/D,GAGlBc,MAAQA,SAEdxD,KAAKuH,mBAAmB7E,uCAWvCA,EACAyE,GAAU,MAETzE,KAAO1C,KAAKyG,eACTzG,KAAKyG,eAAe9D,eAAeD,KACnCyE,EAAUA,GAAWnH,KAAKuH,mBAAmB7E,WAE9CyE,0CAQH8B,GAAY,MAEX,IAAIC,KAASlJ,KAAK0G,QACf1G,KAAK0G,QAAQ/D,eAAeuG,KAC5BD,EAAYA,GAAajJ,KAAK0G,QAAQwC,GAAO7B,sBAE9C4B,iCAOJE,eAEqB,IAAbA,GACO,OAAbA,GAAqBlH,EAAKW,SAASuG,KAEpClH,EAAKY,YAAY7C,KAAKgH,eAAgBmC,GAEnCnJ,KAAKgH,8CAOToC,OACCC,EAEAC,EAAU,GAAG3G,mBAEZ2G,EAAQhH,KAAK8G,EAAU,gBAClB,IAAIzD,MAAMC,EAAS3G,OAAOE,oBAa3B,IAAIoK,KAVLD,EAAQhH,KAAK8G,EAAU,WACvBnH,EAAKW,SAASwG,EAASb,SACH,OAApBa,EAASb,aAEJA,OAAOa,EAASb,QAIzBc,EAAS,IADTG,EAASJ,EAASC,QACErJ,KAAKuI,UAIjBe,EAAQhH,KAAK+G,EAAQE,IACrBtH,EAAK4C,WAAWwE,EAAOE,WAGlBA,GAAUF,EAAOE,aDja3B,CAA2B,oBAAXE,OAAyBA,OAASC;;AEHjE;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;AACA;AACA;AACA;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAA,gBAAe,OAAOC,MAAP,KAAkB,WAAlB,IAAiC,OAAOC,QAAP,KAAoB,WAArD,IAAoE,OAAOC,SAAP,KAAqB,WAAxG;;ACEA,IAAMC,kBAAmB,YAAU;MAC3BC,wBAAwB,CAAC,MAAD,EAAS,SAAT,EAAoB,SAApB,CAA9B;OACK,IAAIC,IAAI,CAAb,EAAgBA,IAAID,sBAAsBE,MAA1C,EAAkDD,KAAK,CAAvD,EAA0D;QACpDE,aAAaL,UAAUM,SAAV,CAAoBC,OAApB,CAA4BL,sBAAsBC,CAAtB,CAA5B,KAAyD,CAA1E,EAA6E;aACpE,CAAP;;;SAGG,CAAP;CAPuB,EAAzB;;AAUA,AAAO,SAASK,iBAAT,CAA2BC,EAA3B,EAA+B;MAChCC,SAAS,KAAb;SACO,YAAM;QACPA,MAAJ,EAAY;;;aAGH,IAAT;WACOC,OAAP,CAAeC,OAAf,GAAyBC,IAAzB,CAA8B,YAAM;eACzB,KAAT;;KADF;GALF;;;AAYF,AAAO,SAASC,YAAT,CAAsBL,EAAtB,EAA0B;MAC3BM,YAAY,KAAhB;SACO,YAAM;QACP,CAACA,SAAL,EAAgB;kBACF,IAAZ;iBACW,YAAM;oBACH,KAAZ;;OADF,EAGGd,eAHH;;GAHJ;;;AAWF,IAAMe,qBAAqBX,aAAaP,OAAOa,OAA/C;;;;;;;;;;;AAYA,eAAgBK,qBACZR,iBADY,GAEZM,YAFJ;;ACnDA;;;;;;;AAOA,AAAe,SAASG,UAAT,CAAoBC,eAApB,EAAqC;MAC5CC,UAAU,EAAhB;SAEED,mBACAC,QAAQC,QAAR,CAAiBC,IAAjB,CAAsBH,eAAtB,MAA2C,mBAF7C;;;ACTF;;;;;;;AAOA,AAAe,SAASI,wBAAT,CAAkCC,OAAlC,EAA2CC,QAA3C,EAAqD;MAC9DD,QAAQE,QAAR,KAAqB,CAAzB,EAA4B;WACnB,EAAP;;;MAGI3B,SAASyB,QAAQG,aAAR,CAAsBC,WAArC;MACMC,MAAM9B,OAAO+B,gBAAP,CAAwBN,OAAxB,EAAiC,IAAjC,CAAZ;SACOC,WAAWI,IAAIJ,QAAJ,CAAX,GAA2BI,GAAlC;;;ACdF;;;;;;;AAOA,AAAe,SAASE,aAAT,CAAuBP,OAAvB,EAAgC;MACzCA,QAAQQ,QAAR,KAAqB,MAAzB,EAAiC;WACxBR,OAAP;;SAEKA,QAAQS,UAAR,IAAsBT,QAAQU,IAArC;;;ACRF;;;;;;;AAOA,AAAe,SAASC,eAAT,CAAyBX,OAAzB,EAAkC;;MAE3C,CAACA,OAAL,EAAc;WACLxB,SAASoC,IAAhB;;;UAGMZ,QAAQQ,QAAhB;SACO,MAAL;SACK,MAAL;aACSR,QAAQG,aAAR,CAAsBS,IAA7B;SACG,WAAL;aACSZ,QAAQY,IAAf;;;;;8BAIuCb,yBAAyBC,OAAzB,CAfI;MAevCa,QAfuC,yBAevCA,QAfuC;MAe7BC,SAf6B,yBAe7BA,SAf6B;MAelBC,SAfkB,yBAelBA,SAfkB;;MAgB3C,wBAAwBC,IAAxB,CAA6BH,WAAWE,SAAX,GAAuBD,SAApD,CAAJ,EAAoE;WAC3Dd,OAAP;;;SAGKW,gBAAgBJ,cAAcP,OAAd,CAAhB,CAAP;;;AC9BF;;;;;;;AAOA,AAAe,SAASiB,gBAAT,CAA0BC,SAA1B,EAAqC;SAC3CA,aAAaA,UAAUC,aAAvB,GAAuCD,UAAUC,aAAjD,GAAiED,SAAxE;;;ACNF,IAAME,SAAStC,aAAa,CAAC,EAAEP,OAAO8C,oBAAP,IAA+B7C,SAAS8C,YAA1C,CAA7B;AACA,IAAMC,SAASzC,aAAa,UAAUkC,IAAV,CAAevC,UAAUM,SAAzB,CAA5B;;;;;;;;;AASA,AAAe,SAASyC,IAAT,CAAcC,OAAd,EAAuB;MAChCA,YAAY,EAAhB,EAAoB;WACXL,MAAP;;MAEEK,YAAY,EAAhB,EAAoB;WACXF,MAAP;;SAEKH,UAAUG,MAAjB;;;ACjBF;;;;;;;AAOA,AAAe,SAASG,eAAT,CAAyB1B,OAAzB,EAAkC;MAC3C,CAACA,OAAL,EAAc;WACLxB,SAASmD,eAAhB;;;MAGIC,iBAAiBJ,KAAK,EAAL,IAAWhD,SAASoC,IAApB,GAA2B,IAAlD;;;MAGIiB,eAAe7B,QAAQ6B,YAAR,IAAwB,IAA3C;;SAEOA,iBAAiBD,cAAjB,IAAmC5B,QAAQ8B,kBAAlD,EAAsE;mBACrD,CAAC9B,UAAUA,QAAQ8B,kBAAnB,EAAuCD,YAAtD;;;MAGIrB,WAAWqB,gBAAgBA,aAAarB,QAA9C;;MAEI,CAACA,QAAD,IAAaA,aAAa,MAA1B,IAAoCA,aAAa,MAArD,EAA6D;WACpDR,UAAUA,QAAQG,aAAR,CAAsBwB,eAAhC,GAAkDnD,SAASmD,eAAlE;;;;;MAMA,CAAC,IAAD,EAAO,IAAP,EAAa,OAAb,EAAsB3C,OAAtB,CAA8B6C,aAAarB,QAA3C,MAAyD,CAAC,CAA1D,IACAT,yBAAyB8B,YAAzB,EAAuC,UAAvC,MAAuD,QAFzD,EAGE;WACOH,gBAAgBG,YAAhB,CAAP;;;SAGKA,YAAP;;;ACpCa,SAASE,iBAAT,CAA2B/B,OAA3B,EAAoC;MACzCQ,QADyC,GAC5BR,OAD4B,CACzCQ,QADyC;;MAE7CA,aAAa,MAAjB,EAAyB;WAChB,KAAP;;SAGAA,aAAa,MAAb,IAAuBkB,gBAAgB1B,QAAQgC,iBAAxB,MAA+ChC,OADxE;;;ACPF;;;;;;;AAOA,AAAe,SAASiC,OAAT,CAAiBC,IAAjB,EAAuB;MAChCA,KAAKzB,UAAL,KAAoB,IAAxB,EAA8B;WACrBwB,QAAQC,KAAKzB,UAAb,CAAP;;;SAGKyB,IAAP;;;ACRF;;;;;;;;AAQA,AAAe,SAASC,sBAAT,CAAgCC,QAAhC,EAA0CC,QAA1C,EAAoD;;MAE7D,CAACD,QAAD,IAAa,CAACA,SAASlC,QAAvB,IAAmC,CAACmC,QAApC,IAAgD,CAACA,SAASnC,QAA9D,EAAwE;WAC/D1B,SAASmD,eAAhB;;;;MAIIW,QACJF,SAASG,uBAAT,CAAiCF,QAAjC,IACAG,KAAKC,2BAFP;MAGMC,QAAQJ,QAAQF,QAAR,GAAmBC,QAAjC;MACMM,MAAML,QAAQD,QAAR,GAAmBD,QAA/B;;;MAGMQ,QAAQpE,SAASqE,WAAT,EAAd;QACMC,QAAN,CAAeJ,KAAf,EAAsB,CAAtB;QACMK,MAAN,CAAaJ,GAAb,EAAkB,CAAlB;MACQK,uBAjByD,GAiB7BJ,KAjB6B,CAiBzDI,uBAjByD;;;;MAqB9DZ,aAAaY,uBAAb,IACCX,aAAaW,uBADf,IAEAN,MAAMO,QAAN,CAAeN,GAAf,CAHF,EAIE;QACIZ,kBAAkBiB,uBAAlB,CAAJ,EAAgD;aACvCA,uBAAP;;;WAGKtB,gBAAgBsB,uBAAhB,CAAP;;;;MAIIE,eAAejB,QAAQG,QAAR,CAArB;MACIc,aAAaxC,IAAjB,EAAuB;WACdyB,uBAAuBe,aAAaxC,IAApC,EAA0C2B,QAA1C,CAAP;GADF,MAEO;WACEF,uBAAuBC,QAAvB,EAAiCH,QAAQI,QAAR,EAAkB3B,IAAnD,CAAP;;;;ACjDJ;;;;;;;;AAQA,AAAe,SAASyC,SAAT,CAAmBnD,OAAnB,EAA0C;MAAdoD,IAAc,uEAAP,KAAO;;MACjDC,YAAYD,SAAS,KAAT,GAAiB,WAAjB,GAA+B,YAAjD;MACM5C,WAAWR,QAAQQ,QAAzB;;MAEIA,aAAa,MAAb,IAAuBA,aAAa,MAAxC,EAAgD;QACxC8C,OAAOtD,QAAQG,aAAR,CAAsBwB,eAAnC;QACM4B,mBAAmBvD,QAAQG,aAAR,CAAsBoD,gBAAtB,IAA0CD,IAAnE;WACOC,iBAAiBF,SAAjB,CAAP;;;SAGKrD,QAAQqD,SAAR,CAAP;;;AChBF;;;;;;;;;AASA,AAAe,SAASG,aAAT,CAAuBC,IAAvB,EAA6BzD,OAA7B,EAAwD;MAAlB0D,QAAkB,uEAAP,KAAO;;MAC/DC,YAAYR,UAAUnD,OAAV,EAAmB,KAAnB,CAAlB;MACM4D,aAAaT,UAAUnD,OAAV,EAAmB,MAAnB,CAAnB;MACM6D,WAAWH,WAAW,CAAC,CAAZ,GAAgB,CAAjC;OACKI,GAAL,IAAYH,YAAYE,QAAxB;OACKE,MAAL,IAAeJ,YAAYE,QAA3B;OACKG,IAAL,IAAaJ,aAAaC,QAA1B;OACKI,KAAL,IAAcL,aAAaC,QAA3B;SACOJ,IAAP;;;ACnBF;;;;;;;;;;AAUA,AAAe,SAASS,cAAT,CAAwBC,MAAxB,EAAgCC,IAAhC,EAAsC;MAC7CC,QAAQD,SAAS,GAAT,GAAe,MAAf,GAAwB,KAAtC;MACME,QAAQD,UAAU,MAAV,GAAmB,OAAnB,GAA6B,QAA3C;;SAGEE,WAAWJ,kBAAgBE,KAAhB,WAAX,IACAE,WAAWJ,kBAAgBG,KAAhB,WAAX,CAFF;;;ACZF,SAASE,OAAT,CAAiBJ,IAAjB,EAAuBxD,IAAvB,EAA6B0C,IAA7B,EAAmCmB,aAAnC,EAAkD;SACzCC,KAAKC,GAAL,CACL/D,gBAAcwD,IAAd,CADK,EAELxD,gBAAcwD,IAAd,CAFK,EAGLd,gBAAcc,IAAd,CAHK,EAILd,gBAAcc,IAAd,CAJK,EAKLd,gBAAcc,IAAd,CALK,EAML5C,KAAK,EAAL,IACKoD,SAAStB,gBAAcc,IAAd,CAAT,IACHQ,SAASH,0BAAuBL,SAAS,QAAT,GAAoB,KAApB,GAA4B,MAAnD,EAAT,CADG,GAEHQ,SAASH,0BAAuBL,SAAS,QAAT,GAAoB,QAApB,GAA+B,OAAtD,EAAT,CAHF,GAIE,CAVG,CAAP;;;AAcF,AAAe,SAASS,cAAT,CAAwBrG,QAAxB,EAAkC;MACzCoC,OAAOpC,SAASoC,IAAtB;MACM0C,OAAO9E,SAASmD,eAAtB;MACM8C,gBAAgBjD,KAAK,EAAL,KAAYlB,iBAAiBgD,IAAjB,CAAlC;;SAEO;YACGkB,QAAQ,QAAR,EAAkB5D,IAAlB,EAAwB0C,IAAxB,EAA8BmB,aAA9B,CADH;WAEED,QAAQ,OAAR,EAAiB5D,IAAjB,EAAuB0C,IAAvB,EAA6BmB,aAA7B;GAFT;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtBF;;;;;;;AAOA,AAAe,SAASK,aAAT,CAAuBC,OAAvB,EAAgC;sBAExCA,OADL;WAESA,QAAQf,IAAR,GAAee,QAAQC,KAFhC;YAGUD,QAAQjB,GAAR,GAAciB,QAAQE;;;;ACJlC;;;;;;;AAOA,AAAe,SAASC,qBAAT,CAA+BlF,OAA/B,EAAwC;MACjDyD,OAAO,EAAX;;;;;MAKI;QACEjC,KAAK,EAAL,CAAJ,EAAc;aACLxB,QAAQkF,qBAAR,EAAP;UACMvB,YAAYR,UAAUnD,OAAV,EAAmB,KAAnB,CAAlB;UACM4D,aAAaT,UAAUnD,OAAV,EAAmB,MAAnB,CAAnB;WACK8D,GAAL,IAAYH,SAAZ;WACKK,IAAL,IAAaJ,UAAb;WACKG,MAAL,IAAeJ,SAAf;WACKM,KAAL,IAAcL,UAAd;KAPF,MASK;aACI5D,QAAQkF,qBAAR,EAAP;;GAXJ,CAcA,OAAMC,CAAN,EAAQ;;MAEFC,SAAS;UACP3B,KAAKO,IADE;SAERP,KAAKK,GAFG;WAGNL,KAAKQ,KAAL,GAAaR,KAAKO,IAHZ;YAILP,KAAKM,MAAL,GAAcN,KAAKK;GAJ7B;;;MAQMuB,QAAQrF,QAAQQ,QAAR,KAAqB,MAArB,GAA8BqE,eAAe7E,QAAQG,aAAvB,CAA9B,GAAsE,EAApF;MACM6E,QACJK,MAAML,KAAN,IAAehF,QAAQsF,WAAvB,IAAsCF,OAAOJ,KAD/C;MAEMC,SACJI,MAAMJ,MAAN,IAAgBjF,QAAQuF,YAAxB,IAAwCH,OAAOH,MADjD;;MAGIO,iBAAiBxF,QAAQyF,WAAR,GAAsBT,KAA3C;MACIU,gBAAgB1F,QAAQ2F,YAAR,GAAuBV,MAA3C;;;;MAIIO,kBAAkBE,aAAtB,EAAqC;QAC7BvB,SAASpE,yBAAyBC,OAAzB,CAAf;sBACkBkE,eAAeC,MAAf,EAAuB,GAAvB,CAAlB;qBACiBD,eAAeC,MAAf,EAAuB,GAAvB,CAAjB;;WAEOa,KAAP,IAAgBQ,cAAhB;WACOP,MAAP,IAAiBS,aAAjB;;;SAGKZ,cAAcM,MAAd,CAAP;;;ACzDa,SAASQ,oCAAT,CAA8CC,QAA9C,EAAwDC,MAAxD,EAAuF;MAAvBC,aAAuB,uEAAP,KAAO;;MAC9FxE,SAASyE,KAAQ,EAAR,CAAf;MACMC,SAASH,OAAOtF,QAAP,KAAoB,MAAnC;MACM0F,eAAehB,sBAAsBW,QAAtB,CAArB;MACMM,aAAajB,sBAAsBY,MAAtB,CAAnB;MACMM,eAAezF,gBAAgBkF,QAAhB,CAArB;;MAEM1B,SAASpE,yBAAyB+F,MAAzB,CAAf;MACMO,iBAAiB9B,WAAWJ,OAAOkC,cAAlB,CAAvB;MACMC,kBAAkB/B,WAAWJ,OAAOmC,eAAlB,CAAxB;;;MAGGP,iBAAiBE,MAApB,EAA4B;eACfnC,GAAX,GAAiBY,KAAKC,GAAL,CAASwB,WAAWrC,GAApB,EAAyB,CAAzB,CAAjB;eACWE,IAAX,GAAkBU,KAAKC,GAAL,CAASwB,WAAWnC,IAApB,EAA0B,CAA1B,CAAlB;;MAEEe,UAAUD,cAAc;SACrBoB,aAAapC,GAAb,GAAmBqC,WAAWrC,GAA9B,GAAoCuC,cADf;UAEpBH,aAAalC,IAAb,GAAoBmC,WAAWnC,IAA/B,GAAsCsC,eAFlB;WAGnBJ,aAAalB,KAHM;YAIlBkB,aAAajB;GAJT,CAAd;UAMQsB,SAAR,GAAoB,CAApB;UACQC,UAAR,GAAqB,CAArB;;;;;;MAMI,CAACjF,MAAD,IAAW0E,MAAf,EAAuB;QACfM,YAAYhC,WAAWJ,OAAOoC,SAAlB,CAAlB;QACMC,aAAajC,WAAWJ,OAAOqC,UAAlB,CAAnB;;YAEQ1C,GAAR,IAAeuC,iBAAiBE,SAAhC;YACQxC,MAAR,IAAkBsC,iBAAiBE,SAAnC;YACQvC,IAAR,IAAgBsC,kBAAkBE,UAAlC;YACQvC,KAAR,IAAiBqC,kBAAkBE,UAAnC;;;YAGQD,SAAR,GAAoBA,SAApB;YACQC,UAAR,GAAqBA,UAArB;;;MAIAjF,UAAU,CAACwE,aAAX,GACID,OAAO7C,QAAP,CAAgBmD,YAAhB,CADJ,GAEIN,WAAWM,YAAX,IAA2BA,aAAa5F,QAAb,KAA0B,MAH3D,EAIE;cACUgD,cAAcuB,OAAd,EAAuBe,MAAvB,CAAV;;;SAGKf,OAAP;;;ACtDa,SAAS0B,6CAAT,CAAuDzG,OAAvD,EAAuF;MAAvB0G,aAAuB,uEAAP,KAAO;;MAC9FpD,OAAOtD,QAAQG,aAAR,CAAsBwB,eAAnC;MACMgF,iBAAiBf,qCAAqC5F,OAArC,EAA8CsD,IAA9C,CAAvB;MACM0B,QAAQN,KAAKC,GAAL,CAASrB,KAAKgC,WAAd,EAA2B/G,OAAOqI,UAAP,IAAqB,CAAhD,CAAd;MACM3B,SAASP,KAAKC,GAAL,CAASrB,KAAKiC,YAAd,EAA4BhH,OAAOsI,WAAP,IAAsB,CAAlD,CAAf;;MAEMlD,YAAY,CAAC+C,aAAD,GAAiBvD,UAAUG,IAAV,CAAjB,GAAmC,CAArD;MACMM,aAAa,CAAC8C,aAAD,GAAiBvD,UAAUG,IAAV,EAAgB,MAAhB,CAAjB,GAA2C,CAA9D;;MAEMwD,SAAS;SACRnD,YAAYgD,eAAe7C,GAA3B,GAAiC6C,eAAeJ,SADxC;UAEP3C,aAAa+C,eAAe3C,IAA5B,GAAmC2C,eAAeH,UAF3C;gBAAA;;GAAf;;SAOO1B,cAAcgC,MAAd,CAAP;;;ACjBF;;;;;;;;AAQA,AAAe,SAASC,OAAT,CAAiB/G,OAAjB,EAA0B;MACjCQ,WAAWR,QAAQQ,QAAzB;MACIA,aAAa,MAAb,IAAuBA,aAAa,MAAxC,EAAgD;WACvC,KAAP;;MAEET,yBAAyBC,OAAzB,EAAkC,UAAlC,MAAkD,OAAtD,EAA+D;WACtD,IAAP;;MAEIS,aAAaF,cAAcP,OAAd,CAAnB;MACI,CAACS,UAAL,EAAiB;WACR,KAAP;;SAEKsG,QAAQtG,UAAR,CAAP;;;ACrBF;;;;;;;;AAQA,AAAe,SAASuG,4BAAT,CAAsChH,OAAtC,EAA+C;;MAEvD,CAACA,OAAD,IAAY,CAACA,QAAQiH,aAArB,IAAsCzF,MAA1C,EAAkD;WAC1ChD,SAASmD,eAAhB;;MAEEuF,KAAKlH,QAAQiH,aAAjB;SACOC,MAAMnH,yBAAyBmH,EAAzB,EAA6B,WAA7B,MAA8C,MAA3D,EAAmE;SAC5DA,GAAGD,aAAR;;SAEKC,MAAM1I,SAASmD,eAAtB;;;ACTF;;;;;;;;;;;AAWA,AAAe,SAASwF,aAAT,CACbC,MADa,EAEblG,SAFa,EAGbmG,OAHa,EAIbC,iBAJa,EAMb;MADAvB,aACA,uEADgB,KAChB;;;;MAGIwB,aAAa,EAAEzD,KAAK,CAAP,EAAUE,MAAM,CAAhB,EAAjB;MACMnC,eAAekE,gBAAgBiB,6BAA6BI,MAA7B,CAAhB,GAAuDjF,uBAAuBiF,MAAvB,EAA+BnG,iBAAiBC,SAAjB,CAA/B,CAA5E;;;MAGIoG,sBAAsB,UAA1B,EAAuC;iBACxBb,8CAA8C5E,YAA9C,EAA4DkE,aAA5D,CAAb;GADF,MAIK;;QAECyB,uBAAJ;QACIF,sBAAsB,cAA1B,EAA0C;uBACvB3G,gBAAgBJ,cAAcW,SAAd,CAAhB,CAAjB;UACIsG,eAAehH,QAAf,KAA4B,MAAhC,EAAwC;yBACrB4G,OAAOjH,aAAP,CAAqBwB,eAAtC;;KAHJ,MAKO,IAAI2F,sBAAsB,QAA1B,EAAoC;uBACxBF,OAAOjH,aAAP,CAAqBwB,eAAtC;KADK,MAEA;uBACY2F,iBAAjB;;;QAGIvC,UAAUa,qCACd4B,cADc,EAEd3F,YAFc,EAGdkE,aAHc,CAAhB;;;QAOIyB,eAAehH,QAAf,KAA4B,MAA5B,IAAsC,CAACuG,QAAQlF,YAAR,CAA3C,EAAkE;4BACtCgD,eAAeuC,OAAOjH,aAAtB,CADsC;UACxD8E,MADwD,mBACxDA,MADwD;UAChDD,KADgD,mBAChDA,KADgD;;iBAErDlB,GAAX,IAAkBiB,QAAQjB,GAAR,GAAciB,QAAQwB,SAAxC;iBACWxC,MAAX,GAAoBkB,SAASF,QAAQjB,GAArC;iBACWE,IAAX,IAAmBe,QAAQf,IAAR,GAAee,QAAQyB,UAA1C;iBACWvC,KAAX,GAAmBe,QAAQD,QAAQf,IAAnC;KALF,MAMO;;mBAEQe,OAAb;;;;;YAKMsC,WAAW,CAArB;MACMI,kBAAkB,OAAOJ,OAAP,KAAmB,QAA3C;aACWrD,IAAX,IAAmByD,kBAAkBJ,OAAlB,GAA4BA,QAAQrD,IAAR,IAAgB,CAA/D;aACWF,GAAX,IAAkB2D,kBAAkBJ,OAAlB,GAA4BA,QAAQvD,GAAR,IAAe,CAA7D;aACWG,KAAX,IAAoBwD,kBAAkBJ,OAAlB,GAA4BA,QAAQpD,KAAR,IAAiB,CAAjE;aACWF,MAAX,IAAqB0D,kBAAkBJ,OAAlB,GAA4BA,QAAQtD,MAAR,IAAkB,CAAnE;;SAEOwD,UAAP;;;AC7EF,SAASG,OAAT,OAAoC;MAAjB1C,KAAiB,QAAjBA,KAAiB;MAAVC,MAAU,QAAVA,MAAU;;SAC3BD,QAAQC,MAAf;;;;;;;;;;;;AAYF,AAAe,SAAS0C,oBAAT,CACbC,SADa,EAEbC,OAFa,EAGbT,MAHa,EAIblG,SAJa,EAKboG,iBALa,EAOb;MADAD,OACA,uEADU,CACV;;MACIO,UAAU5I,OAAV,CAAkB,MAAlB,MAA8B,CAAC,CAAnC,EAAsC;WAC7B4I,SAAP;;;MAGIL,aAAaJ,cACjBC,MADiB,EAEjBlG,SAFiB,EAGjBmG,OAHiB,EAIjBC,iBAJiB,CAAnB;;MAOMQ,QAAQ;SACP;aACIP,WAAWvC,KADf;cAEK6C,QAAQ/D,GAAR,GAAcyD,WAAWzD;KAHvB;WAKL;aACEyD,WAAWtD,KAAX,GAAmB4D,QAAQ5D,KAD7B;cAEGsD,WAAWtC;KAPT;YASJ;aACCsC,WAAWvC,KADZ;cAEEuC,WAAWxD,MAAX,GAAoB8D,QAAQ9D;KAX1B;UAaN;aACG8D,QAAQ7D,IAAR,GAAeuD,WAAWvD,IAD7B;cAEIuD,WAAWtC;;GAfvB;;MAmBM8C,cAAcC,OAAOC,IAAP,CAAYH,KAAZ,EACjBI,GADiB,CACb;;;OAEAJ,MAAMK,GAAN,CAFA;YAGGT,QAAQI,MAAMK,GAAN,CAAR;;GAJU,EAMjBC,IANiB,CAMZ,UAACC,CAAD,EAAIC,CAAJ;WAAUA,EAAEC,IAAF,GAASF,EAAEE,IAArB;GANY,CAApB;;MAQMC,gBAAgBT,YAAYU,MAAZ,CACpB;QAAGzD,KAAH,SAAGA,KAAH;QAAUC,MAAV,SAAUA,MAAV;WACED,SAASoC,OAAO9B,WAAhB,IAA+BL,UAAUmC,OAAO7B,YADlD;GADoB,CAAtB;;MAKMmD,oBAAoBF,cAAc3J,MAAd,GAAuB,CAAvB,GACtB2J,cAAc,CAAd,EAAiBL,GADK,GAEtBJ,YAAY,CAAZ,EAAeI,GAFnB;;MAIMQ,YAAYf,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAlB;;SAEOF,qBAAqBC,kBAAgBA,SAAhB,GAA8B,EAAnD,CAAP;;;ACnEF;;;;;;;;;;AAUA,AAAe,SAASE,mBAAT,CAA6BC,KAA7B,EAAoC1B,MAApC,EAA4ClG,SAA5C,EAA6E;MAAtB6E,aAAsB,uEAAN,IAAM;;MACpFgD,qBAAqBhD,gBAAgBiB,6BAA6BI,MAA7B,CAAhB,GAAuDjF,uBAAuBiF,MAAvB,EAA+BnG,iBAAiBC,SAAjB,CAA/B,CAAlF;SACO0E,qCAAqC1E,SAArC,EAAgD6H,kBAAhD,EAAoEhD,aAApE,CAAP;;;ACjBF;;;;;;;AAOA,AAAe,SAASiD,aAAT,CAAuBhJ,OAAvB,EAAgC;MACvCzB,SAASyB,QAAQG,aAAR,CAAsBC,WAArC;MACM+D,SAAS5F,OAAO+B,gBAAP,CAAwBN,OAAxB,CAAf;MACMiJ,IAAI1E,WAAWJ,OAAOoC,SAAP,IAAoB,CAA/B,IAAoChC,WAAWJ,OAAO+E,YAAP,IAAuB,CAAlC,CAA9C;MACMC,IAAI5E,WAAWJ,OAAOqC,UAAP,IAAqB,CAAhC,IAAqCjC,WAAWJ,OAAOiF,WAAP,IAAsB,CAAjC,CAA/C;MACMhE,SAAS;WACNpF,QAAQyF,WAAR,GAAsB0D,CADhB;YAELnJ,QAAQ2F,YAAR,GAAuBsD;GAFjC;SAIO7D,MAAP;;;AChBF;;;;;;;AAOA,AAAe,SAASiE,oBAAT,CAA8BzB,SAA9B,EAAyC;MAChD0B,OAAO,EAAEtF,MAAM,OAAR,EAAiBC,OAAO,MAAxB,EAAgCF,QAAQ,KAAxC,EAA+CD,KAAK,QAApD,EAAb;SACO8D,UAAU2B,OAAV,CAAkB,wBAAlB,EAA4C;WAAWD,KAAKE,OAAL,CAAX;GAA5C,CAAP;;;ACNF;;;;;;;;;;AAUA,AAAe,SAASC,gBAAT,CAA0BrC,MAA1B,EAAkCsC,gBAAlC,EAAoD9B,SAApD,EAA+D;cAChEA,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAZ;;;MAGMe,aAAaX,cAAc5B,MAAd,CAAnB;;;MAGMwC,gBAAgB;WACbD,WAAW3E,KADE;YAEZ2E,WAAW1E;GAFrB;;;MAMM4E,UAAU,CAAC,OAAD,EAAU,MAAV,EAAkB7K,OAAlB,CAA0B4I,SAA1B,MAAyC,CAAC,CAA1D;MACMkC,WAAWD,UAAU,KAAV,GAAkB,MAAnC;MACME,gBAAgBF,UAAU,MAAV,GAAmB,KAAzC;MACMG,cAAcH,UAAU,QAAV,GAAqB,OAAzC;MACMI,uBAAuB,CAACJ,OAAD,GAAW,QAAX,GAAsB,OAAnD;;gBAEcC,QAAd,IACEJ,iBAAiBI,QAAjB,IACAJ,iBAAiBM,WAAjB,IAAgC,CADhC,GAEAL,WAAWK,WAAX,IAA0B,CAH5B;MAIIpC,cAAcmC,aAAlB,EAAiC;kBACjBA,aAAd,IACEL,iBAAiBK,aAAjB,IAAkCJ,WAAWM,oBAAX,CADpC;GADF,MAGO;kBACSF,aAAd,IACEL,iBAAiBL,qBAAqBU,aAArB,CAAjB,CADF;;;SAIKH,aAAP;;;AC5CF;;;;;;;;;AASA,AAAe,SAASM,IAAT,CAAcC,GAAd,EAAmBC,KAAnB,EAA0B;;MAEnCC,MAAMC,SAAN,CAAgBJ,IAApB,EAA0B;WACjBC,IAAID,IAAJ,CAASE,KAAT,CAAP;;;;SAIKD,IAAI1B,MAAJ,CAAW2B,KAAX,EAAkB,CAAlB,CAAP;;;ACdF;;;;;;;;;AASA,AAAe,SAASG,SAAT,CAAmBJ,GAAnB,EAAwBK,IAAxB,EAA8BC,KAA9B,EAAqC;;MAE9CJ,MAAMC,SAAN,CAAgBC,SAApB,EAA+B;WACtBJ,IAAII,SAAJ,CAAc;aAAOG,IAAIF,IAAJ,MAAcC,KAArB;KAAd,CAAP;;;;MAIIE,QAAQT,KAAKC,GAAL,EAAU;WAAOS,IAAIJ,IAAJ,MAAcC,KAArB;GAAV,CAAd;SACON,IAAInL,OAAJ,CAAY2L,KAAZ,CAAP;;;ACfF;;;;;;;;;;AAUA,AAAe,SAASE,YAAT,CAAsBC,SAAtB,EAAiCC,IAAjC,EAAuCC,IAAvC,EAA6C;MACpDC,iBAAiBD,SAASE,SAAT,GACnBJ,SADmB,GAEnBA,UAAUK,KAAV,CAAgB,CAAhB,EAAmBZ,UAAUO,SAAV,EAAqB,MAArB,EAA6BE,IAA7B,CAAnB,CAFJ;;iBAIeI,OAAf,CAAuB,oBAAY;QAC7BvH,SAAS,UAAT,CAAJ,EAA0B;;cAChBwH,IAAR,CAAa,uDAAb;;QAEInM,KAAK2E,SAAS,UAAT,KAAwBA,SAAS3E,EAA5C,CAJiC;QAK7B2E,SAASyH,OAAT,IAAoB5L,WAAWR,EAAX,CAAxB,EAAwC;;;;WAIjC6F,OAAL,CAAaqC,MAAb,GAAsBtC,cAAciG,KAAKhG,OAAL,CAAaqC,MAA3B,CAAtB;WACKrC,OAAL,CAAa7D,SAAb,GAAyB4D,cAAciG,KAAKhG,OAAL,CAAa7D,SAA3B,CAAzB;;aAEOhC,GAAG6L,IAAH,EAASlH,QAAT,CAAP;;GAZJ;;SAgBOkH,IAAP;;;AC9BF;;;;;;;AAOA,AAAe,SAASQ,MAAT,GAAkB;;MAE3B,KAAKzC,KAAL,CAAW0C,WAAf,EAA4B;;;;MAIxBT,OAAO;cACC,IADD;YAED,EAFC;iBAGI,EAHJ;gBAIG,EAJH;aAKA,KALA;aAMA;GANX;;;OAUKhG,OAAL,CAAa7D,SAAb,GAAyB2H,oBACvB,KAAKC,KADkB,EAEvB,KAAK1B,MAFkB,EAGvB,KAAKlG,SAHkB,EAIvB,KAAKuK,OAAL,CAAaC,aAJU,CAAzB;;;;;OAUK9D,SAAL,GAAiBD,qBACf,KAAK8D,OAAL,CAAa7D,SADE,EAEfmD,KAAKhG,OAAL,CAAa7D,SAFE,EAGf,KAAKkG,MAHU,EAIf,KAAKlG,SAJU,EAKf,KAAKuK,OAAL,CAAaX,SAAb,CAAuBa,IAAvB,CAA4BrE,iBALb,EAMf,KAAKmE,OAAL,CAAaX,SAAb,CAAuBa,IAAvB,CAA4BtE,OANb,CAAjB;;;OAUKuE,iBAAL,GAAyBb,KAAKnD,SAA9B;;OAEK8D,aAAL,GAAqB,KAAKD,OAAL,CAAaC,aAAlC;;;OAGK3G,OAAL,CAAaqC,MAAb,GAAsBqC,iBACpB,KAAKrC,MADe,EAEpB2D,KAAKhG,OAAL,CAAa7D,SAFO,EAGpB6J,KAAKnD,SAHe,CAAtB;;OAMK7C,OAAL,CAAaqC,MAAb,CAAoByE,QAApB,GAA+B,KAAKJ,OAAL,CAAaC,aAAb,GAC3B,OAD2B,GAE3B,UAFJ;;;SAKOb,aAAa,KAAKC,SAAlB,EAA6BC,IAA7B,CAAP;;;;MAII,CAAC,KAAKjC,KAAL,CAAWgD,SAAhB,EAA2B;SACpBhD,KAAL,CAAWgD,SAAX,GAAuB,IAAvB;SACKL,OAAL,CAAaM,QAAb,CAAsBhB,IAAtB;GAFF,MAGO;SACAU,OAAL,CAAaO,QAAb,CAAsBjB,IAAtB;;;;ACxEJ;;;;;;AAMA,AAAe,SAASkB,iBAAT,CAA2BnB,SAA3B,EAAsCoB,YAAtC,EAAoD;SAC1DpB,UAAUqB,IAAV,CACL;QAAGC,IAAH,QAAGA,IAAH;QAASd,OAAT,QAASA,OAAT;WAAuBA,WAAWc,SAASF,YAA3C;GADK,CAAP;;;ACPF;;;;;;;AAOA,AAAe,SAASG,wBAAT,CAAkCpM,QAAlC,EAA4C;MACnDqM,WAAW,CAAC,KAAD,EAAQ,IAAR,EAAc,QAAd,EAAwB,KAAxB,EAA+B,GAA/B,CAAjB;MACMC,YAAYtM,SAASuM,MAAT,CAAgB,CAAhB,EAAmBC,WAAnB,KAAmCxM,SAASkL,KAAT,CAAe,CAAf,CAArD;;OAEK,IAAIvM,IAAI,CAAb,EAAgBA,IAAI0N,SAASzN,MAA7B,EAAqCD,GAArC,EAA0C;QAClC8N,SAASJ,SAAS1N,CAAT,CAAf;QACM+N,UAAUD,cAAYA,MAAZ,GAAqBH,SAArB,GAAmCtM,QAAnD;QACI,OAAOzB,SAASoC,IAAT,CAAcgM,KAAd,CAAoBD,OAApB,CAAP,KAAwC,WAA5C,EAAyD;aAChDA,OAAP;;;SAGG,IAAP;;;ACfF;;;;;AAKA,AAAe,SAASE,OAAT,GAAmB;OAC3B/D,KAAL,CAAW0C,WAAX,GAAyB,IAAzB;;;MAGIS,kBAAkB,KAAKnB,SAAvB,EAAkC,YAAlC,CAAJ,EAAqD;SAC9C1D,MAAL,CAAY0F,eAAZ,CAA4B,aAA5B;SACK1F,MAAL,CAAYwF,KAAZ,CAAkBf,QAAlB,GAA6B,EAA7B;SACKzE,MAAL,CAAYwF,KAAZ,CAAkB9I,GAAlB,GAAwB,EAAxB;SACKsD,MAAL,CAAYwF,KAAZ,CAAkB5I,IAAlB,GAAyB,EAAzB;SACKoD,MAAL,CAAYwF,KAAZ,CAAkB3I,KAAlB,GAA0B,EAA1B;SACKmD,MAAL,CAAYwF,KAAZ,CAAkB7I,MAAlB,GAA2B,EAA3B;SACKqD,MAAL,CAAYwF,KAAZ,CAAkBG,UAAlB,GAA+B,EAA/B;SACK3F,MAAL,CAAYwF,KAAZ,CAAkBP,yBAAyB,WAAzB,CAAlB,IAA2D,EAA3D;;;OAGGW,qBAAL;;;;MAII,KAAKvB,OAAL,CAAawB,eAAjB,EAAkC;SAC3B7F,MAAL,CAAY3G,UAAZ,CAAuByM,WAAvB,CAAmC,KAAK9F,MAAxC;;SAEK,IAAP;;;AC9BF;;;;;AAKA,AAAe,SAAS+F,SAAT,CAAmBnN,OAAnB,EAA4B;MACnCG,gBAAgBH,QAAQG,aAA9B;SACOA,gBAAgBA,cAAcC,WAA9B,GAA4C7B,MAAnD;;;ACJF,SAAS6O,qBAAT,CAA+BhH,YAA/B,EAA6CiH,KAA7C,EAAoDC,QAApD,EAA8DC,aAA9D,EAA6E;MACrEC,SAASpH,aAAa5F,QAAb,KAA0B,MAAzC;MACMiN,SAASD,SAASpH,aAAajG,aAAb,CAA2BC,WAApC,GAAkDgG,YAAjE;SACOsH,gBAAP,CAAwBL,KAAxB,EAA+BC,QAA/B,EAAyC,EAAEK,SAAS,IAAX,EAAzC;;MAEI,CAACH,MAAL,EAAa;0BAET7M,gBAAgB8M,OAAOhN,UAAvB,CADF,EAEE4M,KAFF,EAGEC,QAHF,EAIEC,aAJF;;gBAOYK,IAAd,CAAmBH,MAAnB;;;;;;;;;AASF,AAAe,SAASI,mBAAT,CACb3M,SADa,EAEbuK,OAFa,EAGb3C,KAHa,EAIbgF,WAJa,EAKb;;QAEMA,WAAN,GAAoBA,WAApB;YACU5M,SAAV,EAAqBwM,gBAArB,CAAsC,QAAtC,EAAgD5E,MAAMgF,WAAtD,EAAmE,EAAEH,SAAS,IAAX,EAAnE;;;MAGMI,gBAAgBpN,gBAAgBO,SAAhB,CAAtB;wBAEE6M,aADF,EAEE,QAFF,EAGEjF,MAAMgF,WAHR,EAIEhF,MAAMyE,aAJR;QAMMQ,aAAN,GAAsBA,aAAtB;QACMC,aAAN,GAAsB,IAAtB;;SAEOlF,KAAP;;;AC5CF;;;;;;AAMA,AAAe,SAASmF,oBAAT,GAAgC;MACzC,CAAC,KAAKnF,KAAL,CAAWkF,aAAhB,EAA+B;SACxBlF,KAAL,GAAa+E,oBACX,KAAK3M,SADM,EAEX,KAAKuK,OAFM,EAGX,KAAK3C,KAHM,EAIX,KAAKoF,cAJM,CAAb;;;;ACRJ;;;;;;AAMA,AAAe,SAASC,oBAAT,CAA8BjN,SAA9B,EAAyC4H,KAAzC,EAAgD;;YAEnD5H,SAAV,EAAqBkN,mBAArB,CAAyC,QAAzC,EAAmDtF,MAAMgF,WAAzD;;;QAGMP,aAAN,CAAoBnC,OAApB,CAA4B,kBAAU;WAC7BgD,mBAAP,CAA2B,QAA3B,EAAqCtF,MAAMgF,WAA3C;GADF;;;QAKMA,WAAN,GAAoB,IAApB;QACMP,aAAN,GAAsB,EAAtB;QACMQ,aAAN,GAAsB,IAAtB;QACMC,aAAN,GAAsB,KAAtB;SACOlF,KAAP;;;ACpBF;;;;;;;AAOA,AAAe,SAASkE,qBAAT,GAAiC;MAC1C,KAAKlE,KAAL,CAAWkF,aAAf,EAA8B;yBACP,KAAKE,cAA1B;SACKpF,KAAL,GAAaqF,qBAAqB,KAAKjN,SAA1B,EAAqC,KAAK4H,KAA1C,CAAb;;;;ACZJ;;;;;;;AAOA,AAAe,SAASuF,SAAT,CAAmBC,CAAnB,EAAsB;SAC5BA,MAAM,EAAN,IAAY,CAACC,MAAMhK,WAAW+J,CAAX,CAAN,CAAb,IAAqCE,SAASF,CAAT,CAA5C;;;ACNF;;;;;;;;AAQA,AAAe,SAASG,SAAT,CAAmBzO,OAAnB,EAA4BmE,MAA5B,EAAoC;SAC1C8D,IAAP,CAAY9D,MAAZ,EAAoBiH,OAApB,CAA4B,gBAAQ;QAC9BsD,OAAO,EAAX;;QAGE,CAAC,OAAD,EAAU,QAAV,EAAoB,KAApB,EAA2B,OAA3B,EAAoC,QAApC,EAA8C,MAA9C,EAAsD1P,OAAtD,CAA8DwL,IAA9D,MACE,CAAC,CADH,IAEA6D,UAAUlK,OAAOqG,IAAP,CAAV,CAHF,EAIE;aACO,IAAP;;YAEMoC,KAAR,CAAcpC,IAAd,IAAsBrG,OAAOqG,IAAP,IAAekE,IAArC;GAVF;;;ACXF;;;;;;;;AAQA,AAAe,SAASC,aAAT,CAAuB3O,OAAvB,EAAgC4O,UAAhC,EAA4C;SAClD3G,IAAP,CAAY2G,UAAZ,EAAwBxD,OAAxB,CAAgC,UAASZ,IAAT,EAAe;QACvCC,QAAQmE,WAAWpE,IAAX,CAAd;QACIC,UAAU,KAAd,EAAqB;cACXoE,YAAR,CAAqBrE,IAArB,EAA2BoE,WAAWpE,IAAX,CAA3B;KADF,MAEO;cACGsC,eAAR,CAAwBtC,IAAxB;;GALJ;;;ACJF;;;;;;;;;AASA,AAAe,SAASsE,UAAT,CAAoB/D,IAApB,EAA0B;;;;;YAK7BA,KAAKgE,QAAL,CAAc3H,MAAxB,EAAgC2D,KAAK5G,MAArC;;;;gBAIc4G,KAAKgE,QAAL,CAAc3H,MAA5B,EAAoC2D,KAAK6D,UAAzC;;;MAGI7D,KAAKiE,YAAL,IAAqBhH,OAAOC,IAAP,CAAY8C,KAAKkE,WAAjB,EAA8BpQ,MAAvD,EAA+D;cACnDkM,KAAKiE,YAAf,EAA6BjE,KAAKkE,WAAlC;;;SAGKlE,IAAP;;;;;;;;;;;;;AAaF,AAAO,SAASmE,gBAAT,CACLhO,SADK,EAELkG,MAFK,EAGLqE,OAHK,EAIL0D,eAJK,EAKLrG,KALK,EAML;;MAEMY,mBAAmBb,oBAAoBC,KAApB,EAA2B1B,MAA3B,EAAmClG,SAAnC,EAA8CuK,QAAQC,aAAtD,CAAzB;;;;;MAKM9D,YAAYD,qBAChB8D,QAAQ7D,SADQ,EAEhB8B,gBAFgB,EAGhBtC,MAHgB,EAIhBlG,SAJgB,EAKhBuK,QAAQX,SAAR,CAAkBa,IAAlB,CAAuBrE,iBALP,EAMhBmE,QAAQX,SAAR,CAAkBa,IAAlB,CAAuBtE,OANP,CAAlB;;SASOwH,YAAP,CAAoB,aAApB,EAAmCjH,SAAnC;;;;YAIUR,MAAV,EAAkB,EAAEyE,UAAUJ,QAAQC,aAAR,GAAwB,OAAxB,GAAkC,UAA9C,EAAlB;;SAEOD,OAAP;;;ACvEF;;;;;;;;;;;;;;;;;;;AAmBA,AAAe,SAAS2D,iBAAT,CAA2BrE,IAA3B,EAAiCsE,WAAjC,EAA8C;sBAC7BtE,KAAKhG,OADwB;MACnDqC,MADmD,iBACnDA,MADmD;MAC3ClG,SAD2C,iBAC3CA,SAD2C;MAEnDoO,KAFmD,GAElC5K,IAFkC,CAEnD4K,KAFmD;MAE5CC,KAF4C,GAElC7K,IAFkC,CAE5C6K,KAF4C;;MAGrDC,UAAU,SAAVA,OAAU;WAAKC,CAAL;GAAhB;;MAEMC,iBAAiBJ,MAAMpO,UAAU8D,KAAhB,CAAvB;MACM2K,cAAcL,MAAMlI,OAAOpC,KAAb,CAApB;;MAEM4K,aAAa,CAAC,MAAD,EAAS,OAAT,EAAkB5Q,OAAlB,CAA0B+L,KAAKnD,SAA/B,MAA8C,CAAC,CAAlE;MACMiI,cAAc9E,KAAKnD,SAAL,CAAe5I,OAAf,CAAuB,GAAvB,MAAgC,CAAC,CAArD;MACM8Q,kBAAkBJ,iBAAiB,CAAjB,KAAuBC,cAAc,CAA7D;MACMI,eAAeL,iBAAiB,CAAjB,KAAuB,CAAvB,IAA4BC,cAAc,CAAd,KAAoB,CAArE;;MAEMK,sBAAsB,CAACX,WAAD,GACxBG,OADwB,GAExBI,cAAcC,WAAd,IAA6BC,eAA7B,GACAR,KADA,GAEAC,KAJJ;MAKMU,oBAAoB,CAACZ,WAAD,GAAeG,OAAf,GAAyBF,KAAnD;;SAEO;UACCU,oBACJD,gBAAgB,CAACF,WAAjB,IAAgCR,WAAhC,GACIjI,OAAOpD,IAAP,GAAc,CADlB,GAEIoD,OAAOpD,IAHP,CADD;SAMAiM,kBAAkB7I,OAAOtD,GAAzB,CANA;YAOGmM,kBAAkB7I,OAAOrD,MAAzB,CAPH;WAQEiM,oBAAoB5I,OAAOnD,KAA3B;GART;;;AChCF,IAAMiM,YAAYpR,aAAa,WAAWkC,IAAX,CAAgBvC,UAAUM,SAA1B,CAA/B;;;;;;;;;AASA,AAAe,SAASoR,YAAT,CAAsBpF,IAAtB,EAA4BU,OAA5B,EAAqC;MAC1CxC,CAD0C,GACjCwC,OADiC,CAC1CxC,CAD0C;MACvCE,CADuC,GACjCsC,OADiC,CACvCtC,CADuC;MAE1C/B,MAF0C,GAE/B2D,KAAKhG,OAF0B,CAE1CqC,MAF0C;;;;MAK5CgJ,8BAA8BlG,KAClCa,KAAKgE,QAAL,CAAcjE,SADoB,EAElC;WAAYjH,SAASuI,IAAT,KAAkB,YAA9B;GAFkC,EAGlCiE,eAHF;MAIID,gCAAgClF,SAApC,EAA+C;YACrCG,IAAR,CACE,+HADF;;MAIIgF,kBACJD,gCAAgClF,SAAhC,GACIkF,2BADJ,GAEI3E,QAAQ4E,eAHd;;MAKMxO,eAAeH,gBAAgBqJ,KAAKgE,QAAL,CAAc3H,MAA9B,CAArB;MACMkJ,mBAAmBpL,sBAAsBrD,YAAtB,CAAzB;;;MAGMsC,SAAS;cACHiD,OAAOyE;GADnB;;MAIM9G,UAAUqK,kBACdrE,IADc,EAEdxM,OAAOgS,gBAAP,GAA0B,CAA1B,IAA+B,CAACL,SAFlB,CAAhB;;MAKM7L,QAAQ4E,MAAM,QAAN,GAAiB,KAAjB,GAAyB,QAAvC;MACM3E,QAAQ6E,MAAM,OAAN,GAAgB,MAAhB,GAAyB,OAAvC;;;;;MAKMqH,mBAAmBnE,yBAAyB,WAAzB,CAAzB;;;;;;;;;;;MAWIrI,aAAJ;MAAUF,YAAV;MACIO,UAAU,QAAd,EAAwB;;;QAGlBxC,aAAarB,QAAb,KAA0B,MAA9B,EAAsC;YAC9B,CAACqB,aAAa0D,YAAd,GAA6BR,QAAQhB,MAA3C;KADF,MAEO;YACC,CAACuM,iBAAiBrL,MAAlB,GAA2BF,QAAQhB,MAAzC;;GANJ,MAQO;UACCgB,QAAQjB,GAAd;;MAEEQ,UAAU,OAAd,EAAuB;QACjBzC,aAAarB,QAAb,KAA0B,MAA9B,EAAsC;aAC7B,CAACqB,aAAayD,WAAd,GAA4BP,QAAQd,KAA3C;KADF,MAEO;aACE,CAACqM,iBAAiBtL,KAAlB,GAA0BD,QAAQd,KAAzC;;GAJJ,MAMO;WACEc,QAAQf,IAAf;;MAEEqM,mBAAmBG,gBAAvB,EAAyC;WAChCA,gBAAP,qBAA0CxM,IAA1C,YAAqDF,GAArD;WACOO,KAAP,IAAgB,CAAhB;WACOC,KAAP,IAAgB,CAAhB;WACOyI,UAAP,GAAoB,WAApB;GAJF,MAKO;;QAEC0D,YAAYpM,UAAU,QAAV,GAAqB,CAAC,CAAtB,GAA0B,CAA5C;QACMqM,aAAapM,UAAU,OAAV,GAAoB,CAAC,CAArB,GAAyB,CAA5C;WACOD,KAAP,IAAgBP,MAAM2M,SAAtB;WACOnM,KAAP,IAAgBN,OAAO0M,UAAvB;WACO3D,UAAP,GAAuB1I,KAAvB,UAAiCC,KAAjC;;;;MAIIsK,aAAa;mBACF7D,KAAKnD;GADtB;;;OAKKgH,UAAL,gBAAuBA,UAAvB,EAAsC7D,KAAK6D,UAA3C;OACKzK,MAAL,gBAAmBA,MAAnB,EAA8B4G,KAAK5G,MAAnC;OACK8K,WAAL,gBAAwBlE,KAAKhG,OAAL,CAAa4L,KAArC,EAA+C5F,KAAKkE,WAApD;;SAEOlE,IAAP;;;AC5GF;;;;;;;;;;AAUA,AAAe,SAAS6F,kBAAT,CACb9F,SADa,EAEb+F,cAFa,EAGbC,aAHa,EAIb;MACMC,aAAa7G,KAAKY,SAAL,EAAgB;QAAGsB,IAAH,QAAGA,IAAH;WAAcA,SAASyE,cAAvB;GAAhB,CAAnB;;MAEMG,aACJ,CAAC,CAACD,UAAF,IACAjG,UAAUqB,IAAV,CAAe,oBAAY;WAEvBtI,SAASuI,IAAT,KAAkB0E,aAAlB,IACAjN,SAASyH,OADT,IAEAzH,SAASvB,KAAT,GAAiByO,WAAWzO,KAH9B;GADF,CAFF;;MAUI,CAAC0O,UAAL,EAAiB;QACTD,oBAAkBF,cAAlB,MAAN;QACMI,kBAAiBH,aAAjB,MAAN;YACQzF,IAAR,CACK4F,SADL,iCAC0CF,WAD1C,iEACgHA,WADhH;;SAIKC,UAAP;;;AC/BF;;;;;;;AAOA,AAAe,SAASL,KAAT,CAAe5F,IAAf,EAAqBU,OAArB,EAA8B;;;;MAEvC,CAACmF,mBAAmB7F,KAAKgE,QAAL,CAAcjE,SAAjC,EAA4C,OAA5C,EAAqD,cAArD,CAAL,EAA2E;WAClEC,IAAP;;;MAGEiE,eAAevD,QAAQzL,OAA3B;;;MAGI,OAAOgP,YAAP,KAAwB,QAA5B,EAAsC;mBACrBjE,KAAKgE,QAAL,CAAc3H,MAAd,CAAqB8J,aAArB,CAAmClC,YAAnC,CAAf;;;QAGI,CAACA,YAAL,EAAmB;aACVjE,IAAP;;GALJ,MAOO;;;QAGD,CAACA,KAAKgE,QAAL,CAAc3H,MAAd,CAAqBnE,QAArB,CAA8B+L,YAA9B,CAAL,EAAkD;cACxC3D,IAAR,CACE,+DADF;aAGON,IAAP;;;;MAIEnD,YAAYmD,KAAKnD,SAAL,CAAegB,KAAf,CAAqB,GAArB,EAA0B,CAA1B,CAAlB;sBAC8BmC,KAAKhG,OA5BQ;MA4BnCqC,MA5BmC,iBA4BnCA,MA5BmC;MA4B3BlG,SA5B2B,iBA4B3BA,SA5B2B;;MA6BrC0O,aAAa,CAAC,MAAD,EAAS,OAAT,EAAkB5Q,OAAlB,CAA0B4I,SAA1B,MAAyC,CAAC,CAA7D;;MAEMuJ,MAAMvB,aAAa,QAAb,GAAwB,OAApC;MACMwB,kBAAkBxB,aAAa,KAAb,GAAqB,MAA7C;MACMxM,OAAOgO,gBAAgBC,WAAhB,EAAb;MACMC,UAAU1B,aAAa,MAAb,GAAsB,KAAtC;MACM2B,SAAS3B,aAAa,QAAb,GAAwB,OAAvC;MACM4B,mBAAmBxI,cAAcgG,YAAd,EAA4BmC,GAA5B,CAAzB;;;;;;;;MAQIjQ,UAAUqQ,MAAV,IAAoBC,gBAApB,GAAuCpK,OAAOhE,IAAP,CAA3C,EAAyD;SAClD2B,OAAL,CAAaqC,MAAb,CAAoBhE,IAApB,KACEgE,OAAOhE,IAAP,KAAgBlC,UAAUqQ,MAAV,IAAoBC,gBAApC,CADF;;;MAIEtQ,UAAUkC,IAAV,IAAkBoO,gBAAlB,GAAqCpK,OAAOmK,MAAP,CAAzC,EAAyD;SAClDxM,OAAL,CAAaqC,MAAb,CAAoBhE,IAApB,KACElC,UAAUkC,IAAV,IAAkBoO,gBAAlB,GAAqCpK,OAAOmK,MAAP,CADvC;;OAGGxM,OAAL,CAAaqC,MAAb,GAAsBtC,cAAciG,KAAKhG,OAAL,CAAaqC,MAA3B,CAAtB;;;MAGMqK,SAASvQ,UAAUkC,IAAV,IAAkBlC,UAAUiQ,GAAV,IAAiB,CAAnC,GAAuCK,mBAAmB,CAAzE;;;;MAIMnR,MAAMN,yBAAyBgL,KAAKgE,QAAL,CAAc3H,MAAvC,CAAZ;MACMsK,mBAAmBnN,WAAWlE,eAAa+Q,eAAb,CAAX,CAAzB;MACMO,mBAAmBpN,WAAWlE,eAAa+Q,eAAb,WAAX,CAAzB;MACIQ,YACFH,SAAS1G,KAAKhG,OAAL,CAAaqC,MAAb,CAAoBhE,IAApB,CAAT,GAAqCsO,gBAArC,GAAwDC,gBAD1D;;;cAIYjN,KAAKC,GAAL,CAASD,KAAKmN,GAAL,CAASzK,OAAO+J,GAAP,IAAcK,gBAAvB,EAAyCI,SAAzC,CAAT,EAA8D,CAA9D,CAAZ;;OAEK5C,YAAL,GAAoBA,YAApB;OACKjK,OAAL,CAAa4L,KAAb,kEACGvN,IADH,EACUsB,KAAK4K,KAAL,CAAWsC,SAAX,CADV,uCAEGN,OAFH,EAEa,EAFb;;SAKOvG,IAAP;;;ACvFF;;;;;;;AAOA,AAAe,SAAS+G,oBAAT,CAA8BnJ,SAA9B,EAAyC;MAClDA,cAAc,KAAlB,EAAyB;WAChB,OAAP;GADF,MAEO,IAAIA,cAAc,OAAlB,EAA2B;WACzB,KAAP;;SAEKA,SAAP;;;ACbF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+BA,iBAAe,CACb,YADa,EAEb,MAFa,EAGb,UAHa,EAIb,WAJa,EAKb,KALa,EAMb,SANa,EAOb,aAPa,EAQb,OARa,EASb,WATa,EAUb,YAVa,EAWb,QAXa,EAYb,cAZa,EAab,UAba,EAcb,MAda,EAeb,YAfa,CAAf;;AC7BA;AACA,IAAMoJ,kBAAkBC,WAAW7G,KAAX,CAAiB,CAAjB,CAAxB;;;;;;;;;;;;AAYA,AAAe,SAAS8G,SAAT,CAAmBrK,SAAnB,EAA+C;MAAjBsK,OAAiB,uEAAP,KAAO;;MACtDC,QAAQJ,gBAAgB/S,OAAhB,CAAwB4I,SAAxB,CAAd;MACMuC,MAAM4H,gBACT5G,KADS,CACHgH,QAAQ,CADL,EAETC,MAFS,CAEFL,gBAAgB5G,KAAhB,CAAsB,CAAtB,EAAyBgH,KAAzB,CAFE,CAAZ;SAGOD,UAAU/H,IAAIkI,OAAJ,EAAV,GAA0BlI,GAAjC;;;ACZF,IAAMmI,YAAY;QACV,MADU;aAEL,WAFK;oBAGE;CAHpB;;;;;;;;;AAaA,AAAe,SAAS3G,IAAT,CAAcZ,IAAd,EAAoBU,OAApB,EAA6B;;MAEtCQ,kBAAkBlB,KAAKgE,QAAL,CAAcjE,SAAhC,EAA2C,OAA3C,CAAJ,EAAyD;WAChDC,IAAP;;;MAGEA,KAAKwH,OAAL,IAAgBxH,KAAKnD,SAAL,KAAmBmD,KAAKa,iBAA5C,EAA+D;;WAEtDb,IAAP;;;MAGIxD,aAAaJ,cACjB4D,KAAKgE,QAAL,CAAc3H,MADG,EAEjB2D,KAAKgE,QAAL,CAAc7N,SAFG,EAGjBuK,QAAQpE,OAHS,EAIjBoE,QAAQnE,iBAJS,EAKjByD,KAAKW,aALY,CAAnB;;MAQI9D,YAAYmD,KAAKnD,SAAL,CAAegB,KAAf,CAAqB,GAArB,EAA0B,CAA1B,CAAhB;MACI4J,oBAAoBnJ,qBAAqBzB,SAArB,CAAxB;MACIe,YAAYoC,KAAKnD,SAAL,CAAegB,KAAf,CAAqB,GAArB,EAA0B,CAA1B,KAAgC,EAAhD;;MAEI6J,YAAY,EAAhB;;UAEQhH,QAAQiH,QAAhB;SACOJ,UAAUK,IAAf;kBACc,CAAC/K,SAAD,EAAY4K,iBAAZ,CAAZ;;SAEGF,UAAUM,SAAf;kBACcX,UAAUrK,SAAV,CAAZ;;SAEG0K,UAAUO,gBAAf;kBACcZ,UAAUrK,SAAV,EAAqB,IAArB,CAAZ;;;kBAGY6D,QAAQiH,QAApB;;;YAGMtH,OAAV,CAAkB,UAAC0H,IAAD,EAAOX,KAAP,EAAiB;QAC7BvK,cAAckL,IAAd,IAAsBL,UAAU5T,MAAV,KAAqBsT,QAAQ,CAAvD,EAA0D;aACjDpH,IAAP;;;gBAGUA,KAAKnD,SAAL,CAAegB,KAAf,CAAqB,GAArB,EAA0B,CAA1B,CAAZ;wBACoBS,qBAAqBzB,SAArB,CAApB;;QAEMgC,gBAAgBmB,KAAKhG,OAAL,CAAaqC,MAAnC;QACM2L,aAAahI,KAAKhG,OAAL,CAAa7D,SAAhC;;;QAGMqO,QAAQ7K,KAAK6K,KAAnB;QACMyD,cACHpL,cAAc,MAAd,IACC2H,MAAM3F,cAAc3F,KAApB,IAA6BsL,MAAMwD,WAAW/O,IAAjB,CAD/B,IAEC4D,cAAc,OAAd,IACC2H,MAAM3F,cAAc5F,IAApB,IAA4BuL,MAAMwD,WAAW9O,KAAjB,CAH9B,IAIC2D,cAAc,KAAd,IACC2H,MAAM3F,cAAc7F,MAApB,IAA8BwL,MAAMwD,WAAWjP,GAAjB,CALhC,IAMC8D,cAAc,QAAd,IACC2H,MAAM3F,cAAc9F,GAApB,IAA2ByL,MAAMwD,WAAWhP,MAAjB,CAR/B;;QAUMkP,gBAAgB1D,MAAM3F,cAAc5F,IAApB,IAA4BuL,MAAMhI,WAAWvD,IAAjB,CAAlD;QACMkP,iBAAiB3D,MAAM3F,cAAc3F,KAApB,IAA6BsL,MAAMhI,WAAWtD,KAAjB,CAApD;QACMkP,eAAe5D,MAAM3F,cAAc9F,GAApB,IAA2ByL,MAAMhI,WAAWzD,GAAjB,CAAhD;QACMsP,kBACJ7D,MAAM3F,cAAc7F,MAApB,IAA8BwL,MAAMhI,WAAWxD,MAAjB,CADhC;;QAGMsP,sBACHzL,cAAc,MAAd,IAAwBqL,aAAzB,IACCrL,cAAc,OAAd,IAAyBsL,cAD1B,IAECtL,cAAc,KAAd,IAAuBuL,YAFxB,IAGCvL,cAAc,QAAd,IAA0BwL,eAJ7B;;;QAOMxD,aAAa,CAAC,KAAD,EAAQ,QAAR,EAAkB5Q,OAAlB,CAA0B4I,SAA1B,MAAyC,CAAC,CAA7D;;;QAGM0L,wBACJ,CAAC,CAAC7H,QAAQ8H,cAAV,KACE3D,cAAcjH,cAAc,OAA5B,IAAuCsK,aAAxC,IACErD,cAAcjH,cAAc,KAA5B,IAAqCuK,cADvC,IAEE,CAACtD,UAAD,IAAejH,cAAc,OAA7B,IAAwCwK,YAF1C,IAGE,CAACvD,UAAD,IAAejH,cAAc,KAA7B,IAAsCyK,eAJzC,CADF;;;QAQMI,4BACJ,CAAC,CAAC/H,QAAQgI,uBAAV,KACE7D,cAAcjH,cAAc,OAA5B,IAAuCuK,cAAxC,IACEtD,cAAcjH,cAAc,KAA5B,IAAqCsK,aADvC,IAEE,CAACrD,UAAD,IAAejH,cAAc,OAA7B,IAAwCyK,eAF1C,IAGE,CAACxD,UAAD,IAAejH,cAAc,KAA7B,IAAsCwK,YAJzC,CADF;;QAOMO,mBAAmBJ,yBAAyBE,yBAAlD;;QAEIR,eAAeK,mBAAf,IAAsCK,gBAA1C,EAA4D;;WAErDnB,OAAL,GAAe,IAAf;;UAEIS,eAAeK,mBAAnB,EAAwC;oBAC1BZ,UAAUN,QAAQ,CAAlB,CAAZ;;;UAGEuB,gBAAJ,EAAsB;oBACR5B,qBAAqBnJ,SAArB,CAAZ;;;WAGGf,SAAL,GAAiBA,aAAae,YAAY,MAAMA,SAAlB,GAA8B,EAA3C,CAAjB;;;;WAIK5D,OAAL,CAAaqC,MAAb,gBACK2D,KAAKhG,OAAL,CAAaqC,MADlB,EAEKqC,iBACDsB,KAAKgE,QAAL,CAAc3H,MADb,EAED2D,KAAKhG,OAAL,CAAa7D,SAFZ,EAGD6J,KAAKnD,SAHJ,CAFL;;aASOiD,aAAaE,KAAKgE,QAAL,CAAcjE,SAA3B,EAAsCC,IAAtC,EAA4C,MAA5C,CAAP;;GAjFJ;SAoFOA,IAAP;;;AChJF;;;;;;;AAOA,AAAe,SAAS4I,YAAT,CAAsB5I,IAAtB,EAA4B;sBACXA,KAAKhG,OADM;MACjCqC,MADiC,iBACjCA,MADiC;MACzBlG,SADyB,iBACzBA,SADyB;;MAEnC0G,YAAYmD,KAAKnD,SAAL,CAAegB,KAAf,CAAqB,GAArB,EAA0B,CAA1B,CAAlB;MACM2G,QAAQ7K,KAAK6K,KAAnB;MACMK,aAAa,CAAC,KAAD,EAAQ,QAAR,EAAkB5Q,OAAlB,CAA0B4I,SAA1B,MAAyC,CAAC,CAA7D;MACMxE,OAAOwM,aAAa,OAAb,GAAuB,QAApC;MACM2B,SAAS3B,aAAa,MAAb,GAAsB,KAArC;MACM5F,cAAc4F,aAAa,OAAb,GAAuB,QAA3C;;MAEIxI,OAAOhE,IAAP,IAAemM,MAAMrO,UAAUqQ,MAAV,CAAN,CAAnB,EAA6C;SACtCxM,OAAL,CAAaqC,MAAb,CAAoBmK,MAApB,IACEhC,MAAMrO,UAAUqQ,MAAV,CAAN,IAA2BnK,OAAO4C,WAAP,CAD7B;;MAGE5C,OAAOmK,MAAP,IAAiBhC,MAAMrO,UAAUkC,IAAV,CAAN,CAArB,EAA6C;SACtC2B,OAAL,CAAaqC,MAAb,CAAoBmK,MAApB,IAA8BhC,MAAMrO,UAAUkC,IAAV,CAAN,CAA9B;;;SAGK2H,IAAP;;;ACpBF;;;;;;;;;;;;AAYA,AAAO,SAAS6I,OAAT,CAAiBC,GAAjB,EAAsB7J,WAAtB,EAAmCJ,aAAnC,EAAkDF,gBAAlD,EAAoE;;MAEnEd,QAAQiL,IAAIlJ,KAAJ,CAAU,2BAAV,CAAd;MACMF,QAAQ,CAAC7B,MAAM,CAAN,CAAf;MACM8F,OAAO9F,MAAM,CAAN,CAAb;;;MAGI,CAAC6B,KAAL,EAAY;WACHoJ,GAAP;;;MAGEnF,KAAK1P,OAAL,CAAa,GAAb,MAAsB,CAA1B,EAA6B;QACvBgB,gBAAJ;YACQ0O,IAAR;WACO,IAAL;kBACY9E,aAAV;;WAEG,GAAL;WACK,IAAL;;kBAEYF,gBAAV;;;QAGEjG,OAAOqB,cAAc9E,OAAd,CAAb;WACOyD,KAAKuG,WAAL,IAAoB,GAApB,GAA0BS,KAAjC;GAbF,MAcO,IAAIiE,SAAS,IAAT,IAAiBA,SAAS,IAA9B,EAAoC;;QAErCoF,aAAJ;QACIpF,SAAS,IAAb,EAAmB;aACVhK,KAAKC,GAAL,CACLnG,SAASmD,eAAT,CAAyB4D,YADpB,EAELhH,OAAOsI,WAAP,IAAsB,CAFjB,CAAP;KADF,MAKO;aACEnC,KAAKC,GAAL,CACLnG,SAASmD,eAAT,CAAyB2D,WADpB,EAEL/G,OAAOqI,UAAP,IAAqB,CAFhB,CAAP;;WAKKkN,OAAO,GAAP,GAAarJ,KAApB;GAdK,MAeA;;;WAGEA,KAAP;;;;;;;;;;;;;;;AAeJ,AAAO,SAASsJ,WAAT,CACLjN,MADK,EAEL8C,aAFK,EAGLF,gBAHK,EAILsK,aAJK,EAKL;MACMjP,UAAU,CAAC,CAAD,EAAI,CAAJ,CAAhB;;;;;MAKMkP,YAAY,CAAC,OAAD,EAAU,MAAV,EAAkBjV,OAAlB,CAA0BgV,aAA1B,MAA6C,CAAC,CAAhE;;;;MAIME,YAAYpN,OAAO8B,KAAP,CAAa,SAAb,EAAwBV,GAAxB,CAA4B;WAAQiM,KAAKC,IAAL,EAAR;GAA5B,CAAlB;;;;MAIMC,UAAUH,UAAUlV,OAAV,CACdkL,KAAKgK,SAAL,EAAgB;WAAQC,KAAKG,MAAL,CAAY,MAAZ,MAAwB,CAAC,CAAjC;GAAhB,CADc,CAAhB;;MAIIJ,UAAUG,OAAV,KAAsBH,UAAUG,OAAV,EAAmBrV,OAAnB,CAA2B,GAA3B,MAAoC,CAAC,CAA/D,EAAkE;YACxDqM,IAAR,CACE,8EADF;;;;;MAOIkJ,aAAa,aAAnB;MACIC,MAAMH,YAAY,CAAC,CAAb,GACN,CACEH,UACG/I,KADH,CACS,CADT,EACYkJ,OADZ,EAEGjC,MAFH,CAEU,CAAC8B,UAAUG,OAAV,EAAmBzL,KAAnB,CAAyB2L,UAAzB,EAAqC,CAArC,CAAD,CAFV,CADF,EAIE,CAACL,UAAUG,OAAV,EAAmBzL,KAAnB,CAAyB2L,UAAzB,EAAqC,CAArC,CAAD,EAA0CnC,MAA1C,CACE8B,UAAU/I,KAAV,CAAgBkJ,UAAU,CAA1B,CADF,CAJF,CADM,GASN,CAACH,SAAD,CATJ;;;QAYMM,IAAItM,GAAJ,CAAQ,UAACuM,EAAD,EAAKtC,KAAL,EAAe;;QAErBnI,cAAc,CAACmI,UAAU,CAAV,GAAc,CAAC8B,SAAf,GAA2BA,SAA5B,IAChB,QADgB,GAEhB,OAFJ;QAGIS,oBAAoB,KAAxB;WAEED;;;KAGGE,MAHH,CAGU,UAACtM,CAAD,EAAIC,CAAJ,EAAU;UACZD,EAAEA,EAAExJ,MAAF,GAAW,CAAb,MAAoB,EAApB,IAA0B,CAAC,GAAD,EAAM,GAAN,EAAWG,OAAX,CAAmBsJ,CAAnB,MAA0B,CAAC,CAAzD,EAA4D;UACxDD,EAAExJ,MAAF,GAAW,CAAb,IAAkByJ,CAAlB;4BACoB,IAApB;eACOD,CAAP;OAHF,MAIO,IAAIqM,iBAAJ,EAAuB;UAC1BrM,EAAExJ,MAAF,GAAW,CAAb,KAAmByJ,CAAnB;4BACoB,KAApB;eACOD,CAAP;OAHK,MAIA;eACEA,EAAE+J,MAAF,CAAS9J,CAAT,CAAP;;KAbN,EAeK,EAfL;;KAiBGJ,GAjBH,CAiBO;aAAO0L,QAAQC,GAAR,EAAa7J,WAAb,EAA0BJ,aAA1B,EAAyCF,gBAAzC,CAAP;KAjBP,CADF;GANI,CAAN;;;MA6BI0B,OAAJ,CAAY,UAACqJ,EAAD,EAAKtC,KAAL,EAAe;OACtB/G,OAAH,CAAW,UAAC+I,IAAD,EAAOS,MAAP,EAAkB;UACvBvG,UAAU8F,IAAV,CAAJ,EAAqB;gBACXhC,KAAR,KAAkBgC,QAAQM,GAAGG,SAAS,CAAZ,MAAmB,GAAnB,GAAyB,CAAC,CAA1B,GAA8B,CAAtC,CAAlB;;KAFJ;GADF;SAOO7P,OAAP;;;;;;;;;;;;AAYF,AAAe,SAAS+B,MAAT,CAAgBiE,IAAhB,QAAkC;MAAVjE,MAAU,QAAVA,MAAU;MACvCc,SADuC,GACOmD,IADP,CACvCnD,SADuC;sBACOmD,IADP,CAC5BhG,OAD4B;MACjBqC,MADiB,iBACjBA,MADiB;MACTlG,SADS,iBACTA,SADS;;MAEzC8S,gBAAgBpM,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAtB;;MAEI7D,gBAAJ;MACIsJ,UAAU,CAACvH,MAAX,CAAJ,EAAwB;cACZ,CAAC,CAACA,MAAF,EAAU,CAAV,CAAV;GADF,MAEO;cACKiN,YAAYjN,MAAZ,EAAoBM,MAApB,EAA4BlG,SAA5B,EAAuC8S,aAAvC,CAAV;;;MAGEA,kBAAkB,MAAtB,EAA8B;WACrBlQ,GAAP,IAAciB,QAAQ,CAAR,CAAd;WACOf,IAAP,IAAee,QAAQ,CAAR,CAAf;GAFF,MAGO,IAAIiP,kBAAkB,OAAtB,EAA+B;WAC7BlQ,GAAP,IAAciB,QAAQ,CAAR,CAAd;WACOf,IAAP,IAAee,QAAQ,CAAR,CAAf;GAFK,MAGA,IAAIiP,kBAAkB,KAAtB,EAA6B;WAC3BhQ,IAAP,IAAee,QAAQ,CAAR,CAAf;WACOjB,GAAP,IAAciB,QAAQ,CAAR,CAAd;GAFK,MAGA,IAAIiP,kBAAkB,QAAtB,EAAgC;WAC9BhQ,IAAP,IAAee,QAAQ,CAAR,CAAf;WACOjB,GAAP,IAAciB,QAAQ,CAAR,CAAd;;;OAGGqC,MAAL,GAAcA,MAAd;SACO2D,IAAP;;;AC5LF;;;;;;;AAOA,AAAe,SAAS8J,eAAT,CAAyB9J,IAAzB,EAA+BU,OAA/B,EAAwC;MACjDnE,oBACFmE,QAAQnE,iBAAR,IAA6B5F,gBAAgBqJ,KAAKgE,QAAL,CAAc3H,MAA9B,CAD/B;;;;;MAMI2D,KAAKgE,QAAL,CAAc7N,SAAd,KAA4BoG,iBAAhC,EAAmD;wBAC7B5F,gBAAgB4F,iBAAhB,CAApB;;;;;;MAMIwN,gBAAgBzI,yBAAyB,WAAzB,CAAtB;MACM0I,eAAehK,KAAKgE,QAAL,CAAc3H,MAAd,CAAqBwF,KAA1C,CAfqD;MAgB7C9I,GAhB6C,GAgBHiR,YAhBG,CAgB7CjR,GAhB6C;MAgBxCE,IAhBwC,GAgBH+Q,YAhBG,CAgBxC/Q,IAhBwC;MAgBjBgR,SAhBiB,GAgBHD,YAhBG,CAgBjCD,aAhBiC;;eAiBxChR,GAAb,GAAmB,EAAnB;eACaE,IAAb,GAAoB,EAApB;eACa8Q,aAAb,IAA8B,EAA9B;;MAEMvN,aAAaJ,cACjB4D,KAAKgE,QAAL,CAAc3H,MADG,EAEjB2D,KAAKgE,QAAL,CAAc7N,SAFG,EAGjBuK,QAAQpE,OAHS,EAIjBC,iBAJiB,EAKjByD,KAAKW,aALY,CAAnB;;;;eAUa5H,GAAb,GAAmBA,GAAnB;eACaE,IAAb,GAAoBA,IAApB;eACa8Q,aAAb,IAA8BE,SAA9B;;UAEQzN,UAAR,GAAqBA,UAArB;;MAEMjF,QAAQmJ,QAAQwJ,QAAtB;MACI7N,SAAS2D,KAAKhG,OAAL,CAAaqC,MAA1B;;MAEMgD,QAAQ;WAAA,mBACJxC,SADI,EACO;UACb6C,QAAQrD,OAAOQ,SAAP,CAAZ;UAEER,OAAOQ,SAAP,IAAoBL,WAAWK,SAAX,CAApB,IACA,CAAC6D,QAAQyJ,mBAFX,EAGE;gBACQxQ,KAAKC,GAAL,CAASyC,OAAOQ,SAAP,CAAT,EAA4BL,WAAWK,SAAX,CAA5B,CAAR;;gCAEQA,SAAV,EAAsB6C,KAAtB;KATU;aAAA,qBAWF7C,SAXE,EAWS;UACbkC,WAAWlC,cAAc,OAAd,GAAwB,MAAxB,GAAiC,KAAlD;UACI6C,QAAQrD,OAAO0C,QAAP,CAAZ;UAEE1C,OAAOQ,SAAP,IAAoBL,WAAWK,SAAX,CAApB,IACA,CAAC6D,QAAQyJ,mBAFX,EAGE;gBACQxQ,KAAKmN,GAAL,CACNzK,OAAO0C,QAAP,CADM,EAENvC,WAAWK,SAAX,KACGA,cAAc,OAAd,GAAwBR,OAAOpC,KAA/B,GAAuCoC,OAAOnC,MADjD,CAFM,CAAR;;gCAMQ6E,QAAV,EAAqBW,KAArB;;GAxBJ;;QA4BMW,OAAN,CAAc,qBAAa;QACnBhI,OACJ,CAAC,MAAD,EAAS,KAAT,EAAgBpE,OAAhB,CAAwB4I,SAAxB,MAAuC,CAAC,CAAxC,GAA4C,SAA5C,GAAwD,WAD1D;0BAEcR,MAAd,EAAyBgD,MAAMhH,IAAN,EAAYwE,SAAZ,CAAzB;GAHF;;OAMK7C,OAAL,CAAaqC,MAAb,GAAsBA,MAAtB;;SAEO2D,IAAP;;;ACvFF;;;;;;;AAOA,AAAe,SAASoK,KAAT,CAAepK,IAAf,EAAqB;MAC5BnD,YAAYmD,KAAKnD,SAAvB;MACMoM,gBAAgBpM,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAtB;MACMwM,iBAAiBxN,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAvB;;;MAGIwM,cAAJ,EAAoB;wBACYrK,KAAKhG,OADjB;QACV7D,SADU,iBACVA,SADU;QACCkG,MADD,iBACCA,MADD;;QAEZwI,aAAa,CAAC,QAAD,EAAW,KAAX,EAAkB5Q,OAAlB,CAA0BgV,aAA1B,MAA6C,CAAC,CAAjE;QACM5Q,OAAOwM,aAAa,MAAb,GAAsB,KAAnC;QACM5F,cAAc4F,aAAa,OAAb,GAAuB,QAA3C;;QAEMyF,eAAe;gCACTjS,IAAV,EAAiBlC,UAAUkC,IAAV,CAAjB,CADmB;8BAGhBA,IADH,EACUlC,UAAUkC,IAAV,IAAkBlC,UAAU8I,WAAV,CAAlB,GAA2C5C,OAAO4C,WAAP,CADrD;KAFF;;SAOKjF,OAAL,CAAaqC,MAAb,gBAA2BA,MAA3B,EAAsCiO,aAAaD,cAAb,CAAtC;;;SAGKrK,IAAP;;;AC1BF;;;;;;;AAOA,AAAe,SAASuK,IAAT,CAAcvK,IAAd,EAAoB;MAC7B,CAAC6F,mBAAmB7F,KAAKgE,QAAL,CAAcjE,SAAjC,EAA4C,MAA5C,EAAoD,iBAApD,CAAL,EAA6E;WACpEC,IAAP;;;MAGIlD,UAAUkD,KAAKhG,OAAL,CAAa7D,SAA7B;MACMqU,QAAQrL,KACZa,KAAKgE,QAAL,CAAcjE,SADF,EAEZ;WAAYjH,SAASuI,IAAT,KAAkB,iBAA9B;GAFY,EAGZ7E,UAHF;;MAMEM,QAAQ9D,MAAR,GAAiBwR,MAAMzR,GAAvB,IACA+D,QAAQ7D,IAAR,GAAeuR,MAAMtR,KADrB,IAEA4D,QAAQ/D,GAAR,GAAcyR,MAAMxR,MAFpB,IAGA8D,QAAQ5D,KAAR,GAAgBsR,MAAMvR,IAJxB,EAKE;;QAEI+G,KAAKuK,IAAL,KAAc,IAAlB,EAAwB;aACfvK,IAAP;;;SAGGuK,IAAL,GAAY,IAAZ;SACK1G,UAAL,CAAgB,qBAAhB,IAAyC,EAAzC;GAZF,MAaO;;QAED7D,KAAKuK,IAAL,KAAc,KAAlB,EAAyB;aAChBvK,IAAP;;;SAGGuK,IAAL,GAAY,KAAZ;SACK1G,UAAL,CAAgB,qBAAhB,IAAyC,KAAzC;;;SAGK7D,IAAP;;;ACzCF;;;;;;;AAOA,AAAe,SAASyK,KAAT,CAAezK,IAAf,EAAqB;MAC5BnD,YAAYmD,KAAKnD,SAAvB;MACMoM,gBAAgBpM,UAAUgB,KAAV,CAAgB,GAAhB,EAAqB,CAArB,CAAtB;sBAC8BmC,KAAKhG,OAHD;MAG1BqC,MAH0B,iBAG1BA,MAH0B;MAGlBlG,SAHkB,iBAGlBA,SAHkB;;MAI5B2I,UAAU,CAAC,MAAD,EAAS,OAAT,EAAkB7K,OAAlB,CAA0BgV,aAA1B,MAA6C,CAAC,CAA9D;;MAEMyB,iBAAiB,CAAC,KAAD,EAAQ,MAAR,EAAgBzW,OAAhB,CAAwBgV,aAAxB,MAA2C,CAAC,CAAnE;;SAEOnK,UAAU,MAAV,GAAmB,KAA1B,IACE3I,UAAU8S,aAAV,KACCyB,iBAAiBrO,OAAOyC,UAAU,OAAV,GAAoB,QAA3B,CAAjB,GAAwD,CADzD,CADF;;OAIKjC,SAAL,GAAiByB,qBAAqBzB,SAArB,CAAjB;OACK7C,OAAL,CAAaqC,MAAb,GAAsBtC,cAAcsC,MAAd,CAAtB;;SAEO2D,IAAP;;;ACdF;;;;;;;;;;;;;;;;;;;;;AAqBA,gBAAe;;;;;;;;;SASN;;WAEE,GAFF;;aAII,IAJJ;;QAMDoK;GAfO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAwDL;;WAEC,GAFD;;aAIG,IAJH;;QAMFrO,MANE;;;;YAUE;GAlEG;;;;;;;;;;;;;;;;;;;mBAsFI;;WAER,GAFQ;;aAIN,IAJM;;QAMX+N,eANW;;;;;;cAYL,CAAC,MAAD,EAAS,OAAT,EAAkB,KAAlB,EAAyB,QAAzB,CAZK;;;;;;;aAmBN,CAnBM;;;;;;uBAyBI;GA/GR;;;;;;;;;;;gBA2HC;;WAEL,GAFK;;aAIH,IAJG;;QAMRlB;GAjIO;;;;;;;;;;;;SA8IN;;WAEE,GAFF;;aAII,IAJJ;;QAMDhD,KANC;;aAQI;GAtJE;;;;;;;;;;;;;QAoKP;;WAEG,GAFH;;aAIK,IAJL;;QAMAhF,IANA;;;;;;;cAaM,MAbN;;;;;aAkBK,CAlBL;;;;;;;uBAyBe,UAzBf;;;;;;;;oBAiCY,KAjCZ;;;;;;;;6BAyCqB;GA7Md;;;;;;;;;SAuNN;;WAEE,GAFF;;aAII,KAJJ;;QAMD6J;GA7NO;;;;;;;;;;;;QA0OP;;WAEG,GAFH;;aAIK,IAJL;;QAMAF;GAhPO;;;;;;;;;;;;;;;;;gBAkQC;;WAEL,GAFK;;aAIH,IAJG;;QAMRnF,YANQ;;;;;;qBAYK,IAZL;;;;;;OAkBT,QAlBS;;;;;;OAwBT;GA1RQ;;;;;;;;;;;;;;;;;cA4SD;;WAEH,GAFG;;aAID,IAJC;;QAMNrB,UANM;;YAQFI,gBARE;;;;;;;qBAeOhE;;CA3TrB;;;;;;;;;;;;;;;;;;;;;AC9BA;;;;;;;;;;;;;;;;AAgBA,eAAe;;;;;aAKF,QALE;;;;;;iBAWE,KAXF;;;;;;iBAiBE,IAjBF;;;;;;;mBAwBI,KAxBJ;;;;;;;;YAgCH,oBAAM,EAhCH;;;;;;;;;;YA0CH,oBAAM,EA1CH;;;;;;;;CAAf;;;;;;;;;;;;AClBA;AACA,AAGA;AACA,IAOqBwK;;;;;;;;;kBASPxU,SAAZ,EAAuBkG,MAAvB,EAA6C;;;QAAdqE,OAAc,uEAAJ,EAAI;;;SAyF7CyC,cAzF6C,GAyF5B;aAAMyH,sBAAsB,MAAKpK,MAA3B,CAAN;KAzF4B;;;SAEtCA,MAAL,GAAcqK,SAAS,KAAKrK,MAAL,CAAYsK,IAAZ,CAAiB,IAAjB,CAAT,CAAd;;;SAGKpK,OAAL,gBAAoBiK,OAAOI,QAA3B,EAAwCrK,OAAxC;;;SAGK3C,KAAL,GAAa;mBACE,KADF;iBAEA,KAFA;qBAGI;KAHjB;;;SAOK5H,SAAL,GAAiBA,aAAaA,UAAU6U,MAAvB,GAAgC7U,UAAU,CAAV,CAAhC,GAA+CA,SAAhE;SACKkG,MAAL,GAAcA,UAAUA,OAAO2O,MAAjB,GAA0B3O,OAAO,CAAP,CAA1B,GAAsCA,MAApD;;;SAGKqE,OAAL,CAAaX,SAAb,GAAyB,EAAzB;WACO7C,IAAP,cACKyN,OAAOI,QAAP,CAAgBhL,SADrB,EAEKW,QAAQX,SAFb,GAGGM,OAHH,CAGW,gBAAQ;YACZK,OAAL,CAAaX,SAAb,CAAuBsB,IAAvB,iBAEMsJ,OAAOI,QAAP,CAAgBhL,SAAhB,CAA0BsB,IAA1B,KAAmC,EAFzC,EAIMX,QAAQX,SAAR,GAAoBW,QAAQX,SAAR,CAAkBsB,IAAlB,CAApB,GAA8C,EAJpD;KAJF;;;SAaKtB,SAAL,GAAiB9C,OAAOC,IAAP,CAAY,KAAKwD,OAAL,CAAaX,SAAzB,EACd5C,GADc,CACV;;;SAEA,MAAKuD,OAAL,CAAaX,SAAb,CAAuBsB,IAAvB,CAFA;KADU;;KAMdhE,IANc,CAMT,UAACC,CAAD,EAAIC,CAAJ;aAAUD,EAAE/F,KAAF,GAAUgG,EAAEhG,KAAtB;KANS,CAAjB;;;;;;SAYKwI,SAAL,CAAeM,OAAf,CAAuB,2BAAmB;UACpC+D,gBAAgB7D,OAAhB,IAA2B5L,WAAWyP,gBAAgB6G,MAA3B,CAA/B,EAAmE;wBACjDA,MAAhB,CACE,MAAK9U,SADP,EAEE,MAAKkG,MAFP,EAGE,MAAKqE,OAHP,EAIE0D,eAJF,EAKE,MAAKrG,KALP;;KAFJ;;;SAaKyC,MAAL;;QAEMyC,gBAAgB,KAAKvC,OAAL,CAAauC,aAAnC;QACIA,aAAJ,EAAmB;;WAEZC,oBAAL;;;SAGGnF,KAAL,CAAWkF,aAAX,GAA2BA,aAA3B;;;;;;;;;gCAKO;aACAzC,OAAOzL,IAAP,CAAY,IAAZ,CAAP;;;;iCAEQ;aACD+M,QAAQ/M,IAAR,CAAa,IAAb,CAAP;;;;8CAEqB;aACdmO,qBAAqBnO,IAArB,CAA0B,IAA1B,CAAP;;;;+CAEsB;aACfkN,sBAAsBlN,IAAtB,CAA2B,IAA3B,CAAP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA1FiB4V,OAoHZO,QAAQ,CAAC,OAAO1X,MAAP,KAAkB,WAAlB,GAAgCA,MAAhC,GAAyC2X,MAA1C,EAAkDC;AApH9CT,OAsHZ1D,aAAaA;AAtHD0D,OAwHZI,WAAWA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ECpIpB;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;EACA;;EAEA,IAAMM,cAAc,GAAG,eAAvB,CAAA;EACA,IAAMC,OAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,uBAAuB,GAAG,IAAhC;;EAGA,SAASC,MAAT,CAAgBC,GAAhB,EAAqB;IACnB,IAAIA,GAAG,KAAK,IAAR,IAAgB,OAAOA,GAAP,KAAe,WAAnC,EAAgD;EAC9C,IAAA,OAAA,EAAA,GAAUA,GAAV,CAAA;EACD,GAAA;;EAED,EAAA,OAAO,EAAGC,CAAAA,QAAH,CAAYC,IAAZ,CAAiBF,GAAjB,CAAA,CAAsBG,KAAtB,CAA4B,aAA5B,CAAA,CAA2C,CAA3C,CAAA,CAA8CC,WAA9C,EAAP,CAAA;EACD,CAAA;;EAED,SAASC,4BAAT,GAAwC;IACtC,OAAO;EACLC,IAAAA,QAAQ,EAAEV,cADL;EAELW,IAAAA,YAAY,EAAEX,cAFT;MAGLY,MAHK,EAAA,SAAA,MAAA,CAGEC,KAHF,EAGS;QACZ,IAAIC,qBAAC,CAACD,KAAK,CAACE,MAAP,CAAD,CAAgBC,EAAhB,CAAmB,IAAnB,CAAJ,EAA8B;EAC5B,QAAA,OAAOH,KAAK,CAACI,SAAN,CAAgBC,OAAhB,CAAwBC,KAAxB,CAA8B,IAA9B,EAAoCC,SAApC,CAAP,CAD4B;EAE7B,OAAA;;EAED,MAAA,OAAOC,SAAP,CAAA;EACD,KAAA;KATH,CAAA;EAWD,CAAA;;EAED,SAASC,qBAAT,CAA+BC,QAA/B,EAAyC;EAAA,EAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;IACvC,IAAIC,MAAM,GAAG,KAAb,CAAA;IAEAV,qBAAC,CAAC,IAAD,CAAD,CAAQW,GAAR,CAAYC,IAAI,CAAC1B,cAAjB,EAAiC,YAAM;EACrCwB,IAAAA,MAAM,GAAG,IAAT,CAAA;KADF,CAAA,CAAA;EAIAG,EAAAA,UAAU,CAAC,YAAM;MACf,IAAI,CAACH,MAAL,EAAa;QACXE,IAAI,CAACE,oBAAL,CAA0B,KAA1B,CAAA,CAAA;EACD,KAAA;KAHO,EAIPL,QAJO,CAAV,CAAA;EAMA,EAAA,OAAO,IAAP,CAAA;EACD,CAAA;;EAED,SAASM,uBAAT,GAAmC;EACjCf,EAAAA,qBAAC,CAACgB,EAAF,CAAKC,oBAAL,GAA4BT,qBAA5B,CAAA;IACAR,qBAAC,CAACD,KAAF,CAAQmB,OAAR,CAAgBN,IAAI,CAAC1B,cAArB,CAAuCS,GAAAA,4BAA4B,EAAnE,CAAA;EACD,CAAA;EAED;EACA;EACA;;;AAEA,MAAMiB,IAAI,GAAG;EACX1B,EAAAA,cAAc,EAAE,iBADL;IAGXiC,MAHW,EAAA,SAAA,MAAA,CAGJC,MAHI,EAGI;MACb,GAAG;EACD;QACAA,MAAM,IAAI,CAAC,EAAEC,IAAI,CAACC,MAAL,EAAgBnC,GAAAA,OAAlB,CAAX,CAFC;EAGF,KAHD,QAGSoC,QAAQ,CAACC,cAAT,CAAwBJ,MAAxB,CAHT,EAAA;;EAKA,IAAA,OAAOA,MAAP,CAAA;KATS;IAYXK,sBAZW,EAAA,SAAA,sBAAA,CAYYC,OAZZ,EAYqB;EAC9B,IAAA,IAAIC,QAAQ,GAAGD,OAAO,CAACE,YAAR,CAAqB,aAArB,CAAf,CAAA;;EAEA,IAAA,IAAI,CAACD,QAAD,IAAaA,QAAQ,KAAK,GAA9B,EAAmC;EACjC,MAAA,IAAME,QAAQ,GAAGH,OAAO,CAACE,YAAR,CAAqB,MAArB,CAAjB,CAAA;EACAD,MAAAA,QAAQ,GAAGE,QAAQ,IAAIA,QAAQ,KAAK,GAAzB,GAA+BA,QAAQ,CAACC,IAAT,EAA/B,GAAiD,EAA5D,CAAA;EACD,KAAA;;MAED,IAAI;QACF,OAAOP,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAmCA,GAAAA,QAAnC,GAA8C,IAArD,CAAA;OADF,CAEE,OAAOK,CAAP,EAAU;EACV,MAAA,OAAO,IAAP,CAAA;EACD,KAAA;KAxBQ;IA2BXC,gCA3BW,EAAA,SAAA,gCAAA,CA2BsBP,OA3BtB,EA2B+B;MACxC,IAAI,CAACA,OAAL,EAAc;EACZ,MAAA,OAAO,CAAP,CAAA;EACD,KAHuC;;;MAMxC,IAAIQ,kBAAkB,GAAGlC,qBAAC,CAAC0B,OAAD,CAAD,CAAWS,GAAX,CAAe,qBAAf,CAAzB,CAAA;MACA,IAAIC,eAAe,GAAGpC,qBAAC,CAAC0B,OAAD,CAAD,CAAWS,GAAX,CAAe,kBAAf,CAAtB,CAAA;EAEA,IAAA,IAAME,uBAAuB,GAAGC,UAAU,CAACJ,kBAAD,CAA1C,CAAA;EACA,IAAA,IAAMK,oBAAoB,GAAGD,UAAU,CAACF,eAAD,CAAvC,CAVwC;;EAaxC,IAAA,IAAI,CAACC,uBAAD,IAA4B,CAACE,oBAAjC,EAAuD;EACrD,MAAA,OAAO,CAAP,CAAA;EACD,KAfuC;;;MAkBxCL,kBAAkB,GAAGA,kBAAkB,CAACM,KAAnB,CAAyB,GAAzB,CAAA,CAA8B,CAA9B,CAArB,CAAA;MACAJ,eAAe,GAAGA,eAAe,CAACI,KAAhB,CAAsB,GAAtB,CAAA,CAA2B,CAA3B,CAAlB,CAAA;MAEA,OAAO,CAACF,UAAU,CAACJ,kBAAD,CAAV,GAAiCI,UAAU,CAACF,eAAD,CAA5C,IAAiEhD,uBAAxE,CAAA;KAhDS;IAmDXqD,MAnDW,EAAA,SAAA,MAAA,CAmDJf,OAnDI,EAmDK;MACd,OAAOA,OAAO,CAACgB,YAAf,CAAA;KApDS;IAuDX5B,oBAvDW,EAAA,SAAA,oBAAA,CAuDUY,OAvDV,EAuDmB;EAC5B1B,IAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAWiB,OAAX,CAAmBzD,cAAnB,CAAA,CAAA;KAxDS;EA2DX0D,EAAAA,qBA3DW,EA2Da,SAAA,qBAAA,GAAA;MACtB,OAAOC,OAAO,CAAC3D,cAAD,CAAd,CAAA;KA5DS;IA+DX4D,SA/DW,EAAA,SAAA,SAAA,CA+DDxD,GA/DC,EA+DI;MACb,OAAO,CAACA,GAAG,CAAC,CAAD,CAAH,IAAUA,GAAX,EAAgByD,QAAvB,CAAA;KAhES;EAmEXC,EAAAA,eAnEW,2BAmEKC,aAnEL,EAmEoBC,MAnEpB,EAmE4BC,WAnE5B,EAmEyC;EAClD,IAAA,KAAK,IAAMC,QAAX,IAAuBD,WAAvB,EAAoC;EAClC,MAAA,IAAIE,MAAM,CAACC,SAAP,CAAiBC,cAAjB,CAAgC/D,IAAhC,CAAqC2D,WAArC,EAAkDC,QAAlD,CAAJ,EAAiE;EAC/D,QAAA,IAAMI,aAAa,GAAGL,WAAW,CAACC,QAAD,CAAjC,CAAA;EACA,QAAA,IAAMK,KAAK,GAAGP,MAAM,CAACE,QAAD,CAApB,CAAA;EACA,QAAA,IAAMM,SAAS,GAAGD,KAAK,IAAI7C,IAAI,CAACkC,SAAL,CAAeW,KAAf,CAAT,GAChB,SADgB,GACJpE,MAAM,CAACoE,KAAD,CADpB,CAAA;;UAGA,IAAI,CAAC,IAAIE,MAAJ,CAAWH,aAAX,EAA0BI,IAA1B,CAA+BF,SAA/B,CAAL,EAAgD;EAC9C,UAAA,MAAM,IAAIG,KAAJ,CACDZ,aAAa,CAACa,WAAd,EAAH,GACWV,IAAAA,IAAAA,WAAAA,GAAAA,QADX,GACuCM,qBAAAA,GAAAA,SADvC,GAEsBF,KAAAA,CAAAA,IAAAA,sBAAAA,GAAAA,aAFtB,SADI,CAAN,CAAA;EAID,SAAA;EACF,OAAA;EACF,KAAA;KAlFQ;IAqFXO,cArFW,EAAA,SAAA,cAAA,CAqFIrC,OArFJ,EAqFa;EACtB,IAAA,IAAI,CAACH,QAAQ,CAACyC,eAAT,CAAyBC,YAA9B,EAA4C;EAC1C,MAAA,OAAO,IAAP,CAAA;EACD,KAHqB;;;EAMtB,IAAA,IAAI,OAAOvC,OAAO,CAACwC,WAAf,KAA+B,UAAnC,EAA+C;EAC7C,MAAA,IAAMC,IAAI,GAAGzC,OAAO,CAACwC,WAAR,EAAb,CAAA;EACA,MAAA,OAAOC,IAAI,YAAYC,UAAhB,GAA6BD,IAA7B,GAAoC,IAA3C,CAAA;EACD,KAAA;;MAED,IAAIzC,OAAO,YAAY0C,UAAvB,EAAmC;EACjC,MAAA,OAAO1C,OAAP,CAAA;EACD,KAbqB;;;EAgBtB,IAAA,IAAI,CAACA,OAAO,CAAC2C,UAAb,EAAyB;EACvB,MAAA,OAAO,IAAP,CAAA;EACD,KAAA;;EAED,IAAA,OAAOzD,IAAI,CAACmD,cAAL,CAAoBrC,OAAO,CAAC2C,UAA5B,CAAP,CAAA;KAzGS;EA4GXC,EAAAA,eA5GW,EA4GO,SAAA,eAAA,GAAA;EAChB,IAAA,IAAI,OAAOtE,qBAAP,KAAa,WAAjB,EAA8B;EAC5B,MAAA,MAAM,IAAIuE,SAAJ,CAAc,kGAAd,CAAN,CAAA;EACD,KAAA;;EAED,IAAA,IAAMC,OAAO,GAAGxE,qBAAC,CAACgB,EAAF,CAAKyD,MAAL,CAAYjC,KAAZ,CAAkB,GAAlB,CAAuB,CAAA,CAAvB,EAA0BA,KAA1B,CAAgC,GAAhC,CAAhB,CAAA;MACA,IAAMkC,QAAQ,GAAG,CAAjB,CAAA;MACA,IAAMC,OAAO,GAAG,CAAhB,CAAA;MACA,IAAMC,QAAQ,GAAG,CAAjB,CAAA;MACA,IAAMC,QAAQ,GAAG,CAAjB,CAAA;MACA,IAAMC,QAAQ,GAAG,CAAjB,CAAA;;EAEA,IAAA,IAAIN,OAAO,CAAC,CAAD,CAAP,GAAaG,OAAb,IAAwBH,OAAO,CAAC,CAAD,CAAP,GAAaI,QAArC,IAAiDJ,OAAO,CAAC,CAAD,CAAP,KAAeE,QAAf,IAA2BF,OAAO,CAAC,CAAD,CAAP,KAAeI,QAA1C,IAAsDJ,OAAO,CAAC,CAAD,CAAP,GAAaK,QAApH,IAAgIL,OAAO,CAAC,CAAD,CAAP,IAAcM,QAAlJ,EAA4J;EAC1J,MAAA,MAAM,IAAIjB,KAAJ,CAAU,8EAAV,CAAN,CAAA;EACD,KAAA;EACF,GAAA;EA3HU,EAAb;EA8HAjD,IAAI,CAAC0D,eAAL,EAAA,CAAA;EACAvD,uBAAuB,EAAA;;ECtLvB;EACA;EACA;;EAEA,IAAMgE,MAAI,GAAG,OAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,UAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EAEA,IAAMM,gBAAgB,GAAG,OAAzB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EAEA,IAAMC,WAAW,aAAWN,WAA5B,CAAA;EACA,IAAMO,YAAY,cAAYP,WAA9B,CAAA;EACA,IAAMQ,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EAEA,IAAMQ,gBAAgB,GAAG,wBAAzB,CAAA;EAEA;EACA;EACA;;MAEMC;EACJ,EAAA,SAAA,KAAA,CAAYlE,OAAZ,EAAqB;MACnB,IAAKmE,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;EACD;;;;;EAOD;WACAoE,QAAA,SAAMpE,KAAAA,CAAAA,OAAN,EAAe;MACb,IAAIqE,WAAW,GAAG,IAAA,CAAKF,QAAvB,CAAA;;EACA,IAAA,IAAInE,OAAJ,EAAa;EACXqE,MAAAA,WAAW,GAAG,IAAA,CAAKC,eAAL,CAAqBtE,OAArB,CAAd,CAAA;EACD,KAAA;;EAED,IAAA,IAAMuE,WAAW,GAAG,IAAA,CAAKC,kBAAL,CAAwBH,WAAxB,CAApB,CAAA;;EAEA,IAAA,IAAIE,WAAW,CAACE,kBAAZ,EAAJ,EAAsC;EACpC,MAAA,OAAA;EACD,KAAA;;MAED,IAAKC,CAAAA,cAAL,CAAoBL,WAApB,CAAA,CAAA;;;EAGFM,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MACA,IAAKY,CAAAA,QAAL,GAAgB,IAAhB,CAAA;EACD;;;WAGDG,kBAAA,SAAgBtE,eAAAA,CAAAA,OAAhB,EAAyB;EACvB,IAAA,IAAMC,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4BC,OAA5B,CAAjB,CAAA;MACA,IAAI6E,MAAM,GAAG,KAAb,CAAA;;EAEA,IAAA,IAAI5E,QAAJ,EAAc;EACZ4E,MAAAA,MAAM,GAAGhF,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAT,CAAA;EACD,KAAA;;MAED,IAAI,CAAC4E,MAAL,EAAa;QACXA,MAAM,GAAGvG,qBAAC,CAAC0B,OAAD,CAAD,CAAW8E,OAAX,CAAuBnB,GAAAA,GAAAA,gBAAvB,CAA2C,CAAA,CAA3C,CAAT,CAAA;EACD,KAAA;;EAED,IAAA,OAAOkB,MAAP,CAAA;;;WAGFL,qBAAA,SAAmBxE,kBAAAA,CAAAA,OAAnB,EAA4B;EAC1B,IAAA,IAAM+E,UAAU,GAAGzG,qBAAC,CAAC0G,KAAF,CAAQlB,WAAR,CAAnB,CAAA;EAEAxF,IAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAWiB,OAAX,CAAmB8D,UAAnB,CAAA,CAAA;EACA,IAAA,OAAOA,UAAP,CAAA;;;WAGFL,iBAAA,SAAe1E,cAAAA,CAAAA,OAAf,EAAwB;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;EACtB1B,IAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAWiF,WAAX,CAAuBpB,iBAAvB,CAAA,CAAA;;MAEA,IAAI,CAACvF,qBAAC,CAAC0B,OAAD,CAAD,CAAWkF,QAAX,CAAoBtB,iBAApB,CAAL,EAA2C;QACzC,IAAKuB,CAAAA,eAAL,CAAqBnF,OAArB,CAAA,CAAA;;EACA,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMQ,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsCP,OAAtC,CAA3B,CAAA;MAEA1B,qBAAC,CAAC0B,OAAD,CAAD,CACGf,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4B,UAAAa,KAAK,EAAA;EAAA,MAAA,OAAI,KAAI,CAAC8G,eAAL,CAAqBnF,OAArB,EAA8B3B,KAA9B,CAAJ,CAAA;OADjC,CAAA,CAEGkB,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;;;WAKF2E,kBAAA,SAAgBnF,eAAAA,CAAAA,OAAhB,EAAyB;MACvB1B,qBAAC,CAAC0B,OAAD,CAAD,CACGoF,MADH,GAEGnE,OAFH,CAEW8C,YAFX,CAAA,CAGGsB,MAHH,EAAA,CAAA;EAID;;;UAGMC,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMC,QAAQ,GAAGlH,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAclC,UAAd,CAAX,CAAA;;QAEA,IAAI,CAACkC,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAIvB,KAAJ,CAAU,IAAV,CAAP,CAAA;EACAsB,QAAAA,QAAQ,CAACC,IAAT,CAAclC,UAAd,EAAwBkC,IAAxB,CAAA,CAAA;EACD,OAAA;;QAED,IAAIjE,MAAM,KAAK,OAAf,EAAwB;EACtBiE,QAAAA,IAAI,CAACjE,MAAD,CAAJ,CAAa,IAAb,CAAA,CAAA;EACD,OAAA;EACF,KAZM,CAAP,CAAA;;;UAeKkE,iBAAP,SAAsBC,cAAAA,CAAAA,aAAtB,EAAqC;MACnC,OAAO,UAAUtH,KAAV,EAAiB;EACtB,MAAA,IAAIA,KAAJ,EAAW;EACTA,QAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACD,OAAA;;QAEDD,aAAa,CAACvB,KAAd,CAAoB,IAApB,CAAA,CAAA;OALF,CAAA;;;;;WAxFF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOd,SAAP,CAAA;EACD,KAAA;;;;;EAgGH;EACA;EACA;;;AAEAhF,uBAAC,CAACuB,QAAD,CAAD,CAAYgG,EAAZ,CACE7B,sBADF,EAEEC,gBAFF,EAGEC,KAAK,CAACwB,cAAN,CAAqB,IAAIxB,KAAJ,EAArB,CAHF,CAAA,CAAA;EAMA;EACA;EACA;;AAEA5F,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAaa,GAAAA,KAAK,CAACoB,gBAAnB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyB5B,KAAzB,CAAA;;AACA5F,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAOQ,KAAK,CAACoB,gBAAb,CAAA;EACD,CAHD;;EClJA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,QAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,WAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EAEA,IAAM2C,mBAAiB,GAAG,QAA1B,CAAA;EACA,IAAMC,iBAAiB,GAAG,KAA1B,CAAA;EACA,IAAMC,gBAAgB,GAAG,OAAzB,CAAA;EAEA,IAAMlC,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EACA,IAAM0C,yBAAyB,GAAG,OAAA,GAAQ3C,WAAR,GAAoBC,cAApB,GACDD,GAAAA,IAAAA,MAAAA,GAAAA,WADC,GACWC,cADX,CAAlC,CAAA;EAEA,IAAM2C,qBAAmB,GAAA,MAAA,GAAU5C,WAAV,GAAsBC,cAA/C,CAAA;EAEA,IAAM4C,2BAA2B,GAAG,yBAApC,CAAA;EACA,IAAMC,qBAAqB,GAAG,yBAA9B,CAAA;EACA,IAAMC,sBAAoB,GAAG,wBAA7B,CAAA;EACA,IAAMC,6BAA6B,GAAG,8BAAtC,CAAA;EACA,IAAMC,cAAc,GAAG,4BAAvB,CAAA;EACA,IAAMC,iBAAe,GAAG,SAAxB,CAAA;EACA,IAAMC,eAAe,GAAG,MAAxB,CAAA;EAEA;EACA;EACA;;MAEMC;EACJ,EAAA,SAAA,MAAA,CAAY5G,OAAZ,EAAqB;MACnB,IAAKmE,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;MACA,IAAK6G,CAAAA,wBAAL,GAAgC,KAAhC,CAAA;EACD;;;;;EAOD;EACAC,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;MACP,IAAIC,kBAAkB,GAAG,IAAzB,CAAA;MACA,IAAIC,cAAc,GAAG,IAArB,CAAA;EACA,IAAA,IAAM3C,WAAW,GAAG/F,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBW,OAAjB,CAAyBwB,qBAAzB,CAAA,CAAgD,CAAhD,CAApB,CAAA;;EAEA,IAAA,IAAIjC,WAAJ,EAAiB;QACf,IAAM4C,KAAK,GAAG,IAAK9C,CAAAA,QAAL,CAAc9D,aAAd,CAA4BoG,cAA5B,CAAd,CAAA;;EAEA,MAAA,IAAIQ,KAAJ,EAAW;EACT,QAAA,IAAIA,KAAK,CAACC,IAAN,KAAe,OAAnB,EAA4B;EAC1B,UAAA,IAAID,KAAK,CAACE,OAAN,IAAiB,IAAKhD,CAAAA,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiCrB,mBAAjC,CAArB,EAA0E;EACxEe,YAAAA,kBAAkB,GAAG,KAArB,CAAA;EACD,WAFD,MAEO;EACL,YAAA,IAAMO,aAAa,GAAGjD,WAAW,CAAChE,aAAZ,CAA0BqG,iBAA1B,CAAtB,CAAA;;EAEA,YAAA,IAAIY,aAAJ,EAAmB;EACjBhJ,cAAAA,qBAAC,CAACgJ,aAAD,CAAD,CAAiBrC,WAAjB,CAA6Be,mBAA7B,CAAA,CAAA;EACD,aAAA;EACF,WAAA;EACF,SAAA;;EAED,QAAA,IAAIe,kBAAJ,EAAwB;EACtB;YACA,IAAIE,KAAK,CAACC,IAAN,KAAe,UAAf,IAA6BD,KAAK,CAACC,IAAN,KAAe,OAAhD,EAAyD;EACvDD,YAAAA,KAAK,CAACE,OAAN,GAAgB,CAAC,IAAKhD,CAAAA,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiCrB,mBAAjC,CAAjB,CAAA;EACD,WAAA;;YAED,IAAI,CAAC,IAAKa,CAAAA,wBAAV,EAAoC;EAClCvI,YAAAA,qBAAC,CAAC2I,KAAD,CAAD,CAAShG,OAAT,CAAiB,QAAjB,CAAA,CAAA;EACD,WAAA;EACF,SAAA;;EAEDgG,QAAAA,KAAK,CAACM,KAAN,EAAA,CAAA;EACAP,QAAAA,cAAc,GAAG,KAAjB,CAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,IAAI,EAAE,IAAK7C,CAAAA,QAAL,CAAcqD,YAAd,CAA2B,UAA3B,CAA0C,IAAA,IAAA,CAAKrD,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiC,UAAjC,CAA5C,CAAJ,EAA+F;EAC7F,MAAA,IAAIL,cAAJ,EAAoB;EAClB,QAAA,IAAA,CAAK7C,QAAL,CAAcsD,YAAd,CAA2B,cAA3B,EAA2C,CAAC,IAAKtD,CAAAA,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiCrB,mBAAjC,CAA5C,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAIe,kBAAJ,EAAwB;EACtBzI,QAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBuD,WAAjB,CAA6B1B,mBAA7B,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;;EAGHrB,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MACA,IAAKY,CAAAA,QAAL,GAAgB,IAAhB,CAAA;EACD;;;EAGMmB,EAAAA,MAAAA,CAAAA,mBAAP,SAAA,gBAAA,CAAwB9D,MAAxB,EAAgCmG,kBAAhC,EAAoD;MAClD,OAAO,IAAA,CAAKpC,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMC,QAAQ,GAAGlH,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAclC,UAAd,CAAX,CAAA;;QAEA,IAAI,CAACkC,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAImB,MAAJ,CAAW,IAAX,CAAP,CAAA;EACApB,QAAAA,QAAQ,CAACC,IAAT,CAAclC,UAAd,EAAwBkC,IAAxB,CAAA,CAAA;EACD,OAAA;;QAEDA,IAAI,CAACoB,wBAAL,GAAgCc,kBAAhC,CAAA;;QAEA,IAAInG,MAAM,KAAK,QAAf,EAAyB;UACvBiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KAdM,CAAP,CAAA;;;;;WA5DF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;;;EA4EH;EACA;EACA;;;AAEAhF,uBAAC,CAACuB,QAAD,CAAD,CACGgG,EADH,CACM7B,sBADN,EAC4BqC,2BAD5B,EACyD,UAAAhI,KAAK,EAAI;EAC9D,EAAA,IAAIuJ,MAAM,GAAGvJ,KAAK,CAACE,MAAnB,CAAA;IACA,IAAMsJ,aAAa,GAAGD,MAAtB,CAAA;;IAEA,IAAI,CAACtJ,qBAAC,CAACsJ,MAAD,CAAD,CAAU1C,QAAV,CAAmBe,iBAAnB,CAAL,EAA4C;MAC1C2B,MAAM,GAAGtJ,qBAAC,CAACsJ,MAAD,CAAD,CAAU9C,OAAV,CAAkB6B,eAAlB,CAAmC,CAAA,CAAnC,CAAT,CAAA;EACD,GAAA;;EAED,EAAA,IAAI,CAACiB,MAAD,IAAWA,MAAM,CAACJ,YAAP,CAAoB,UAApB,CAAX,IAA8CI,MAAM,CAACR,SAAP,CAAiBC,QAAjB,CAA0B,UAA1B,CAAlD,EAAyF;MACvFhJ,KAAK,CAACuH,cAAN,EAAA,CADuF;EAExF,GAFD,MAEO;EACL,IAAA,IAAMkC,QAAQ,GAAGF,MAAM,CAACvH,aAAP,CAAqBoG,cAArB,CAAjB,CAAA;;EAEA,IAAA,IAAIqB,QAAQ,KAAKA,QAAQ,CAACN,YAAT,CAAsB,UAAtB,CAAA,IAAqCM,QAAQ,CAACV,SAAT,CAAmBC,QAAnB,CAA4B,UAA5B,CAA1C,CAAZ,EAAgG;QAC9FhJ,KAAK,CAACuH,cAAN,EAAA,CAD8F;;EAE9F,MAAA,OAAA;EACD,KAAA;;MAED,IAAIiC,aAAa,CAACE,OAAd,KAA0B,OAA1B,IAAqCH,MAAM,CAACG,OAAP,KAAmB,OAA5D,EAAqE;EACnEnB,MAAAA,MAAM,CAACtB,gBAAP,CAAwBxH,IAAxB,CAA6BQ,qBAAC,CAACsJ,MAAD,CAA9B,EAAwC,QAAxC,EAAkDC,aAAa,CAACE,OAAd,KAA0B,OAA5E,CAAA,CAAA;EACD,KAAA;EACF,GAAA;EACF,CAvBH,CAAA,CAwBGlC,EAxBH,CAwBMM,yBAxBN,EAwBiCE,2BAxBjC,EAwB8D,UAAAhI,KAAK,EAAI;EACnE,EAAA,IAAMuJ,MAAM,GAAGtJ,qBAAC,CAACD,KAAK,CAACE,MAAP,CAAD,CAAgBuG,OAAhB,CAAwB6B,eAAxB,CAAA,CAAyC,CAAzC,CAAf,CAAA;EACArI,EAAAA,qBAAC,CAACsJ,MAAD,CAAD,CAAUF,WAAV,CAAsBxB,gBAAtB,EAAwC,cAAA,CAAehE,IAAf,CAAoB7D,KAAK,CAAC6I,IAA1B,CAAxC,CAAA,CAAA;EACD,CA3BH,CAAA,CAAA;AA6BA5I,uBAAC,CAAC0J,MAAD,CAAD,CAAUnC,EAAV,CAAaO,qBAAb,EAAkC,YAAM;EACtC;EAEA;EACA,EAAA,IAAI6B,OAAO,GAAG,EAAGC,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B3B,6BAA1B,CAAd,CAAd,CAAA;;EACA,EAAA,KAAK,IAAI4B,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAGJ,OAAO,CAACK,MAA9B,EAAsCF,CAAC,GAAGC,GAA1C,EAA+CD,CAAC,EAAhD,EAAoD;EAClD,IAAA,IAAMR,MAAM,GAAGK,OAAO,CAACG,CAAD,CAAtB,CAAA;EACA,IAAA,IAAMnB,KAAK,GAAGW,MAAM,CAACvH,aAAP,CAAqBoG,cAArB,CAAd,CAAA;;MACA,IAAIQ,KAAK,CAACE,OAAN,IAAiBF,KAAK,CAACO,YAAN,CAAmB,SAAnB,CAArB,EAAoD;EAClDI,MAAAA,MAAM,CAACR,SAAP,CAAiBmB,GAAjB,CAAqBvC,mBAArB,CAAA,CAAA;EACD,KAFD,MAEO;EACL4B,MAAAA,MAAM,CAACR,SAAP,CAAiB/B,MAAjB,CAAwBW,mBAAxB,CAAA,CAAA;EACD,KAAA;EACF,GAbqC;;;EAgBtCiC,EAAAA,OAAO,GAAG,EAAA,CAAGC,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B5B,sBAA1B,CAAd,CAAV,CAAA;;EACA,EAAA,KAAK,IAAI6B,EAAC,GAAG,CAAR,EAAWC,IAAG,GAAGJ,OAAO,CAACK,MAA9B,EAAsCF,EAAC,GAAGC,IAA1C,EAA+CD,EAAC,EAAhD,EAAoD;EAClD,IAAA,IAAMR,OAAM,GAAGK,OAAO,CAACG,EAAD,CAAtB,CAAA;;EACA,IAAA,IAAIR,OAAM,CAAC1H,YAAP,CAAoB,cAApB,CAAA,KAAwC,MAA5C,EAAoD;EAClD0H,MAAAA,OAAM,CAACR,SAAP,CAAiBmB,GAAjB,CAAqBvC,mBAArB,CAAA,CAAA;EACD,KAFD,MAEO;EACL4B,MAAAA,OAAM,CAACR,SAAP,CAAiB/B,MAAjB,CAAwBW,mBAAxB,CAAA,CAAA;EACD,KAAA;EACF,GAAA;EACF,CAzBD,CAAA,CAAA;EA2BA;EACA;EACA;;AAEA1H,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAauD,GAAAA,MAAM,CAACtB,gBAApB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyBc,MAAzB,CAAA;;AACAtI,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAOkD,MAAM,CAACtB,gBAAd,CAAA;EACD,CAHD;;ECtLA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,UAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,aAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EACA,IAAMmF,kBAAkB,GAAG,EAA3B;;EACA,IAAMC,mBAAmB,GAAG,EAA5B;;EACA,IAAMC,sBAAsB,GAAG,GAA/B;;EACA,IAAMC,eAAe,GAAG,EAAxB,CAAA;EAEA,IAAMC,mBAAmB,GAAG,UAA5B,CAAA;EACA,IAAM5C,mBAAiB,GAAG,QAA1B,CAAA;EACA,IAAM6C,gBAAgB,GAAG,OAAzB,CAAA;EACA,IAAMC,gBAAgB,GAAG,qBAAzB,CAAA;EACA,IAAMC,eAAe,GAAG,oBAAxB,CAAA;EACA,IAAMC,eAAe,GAAG,oBAAxB,CAAA;EACA,IAAMC,eAAe,GAAG,oBAAxB,CAAA;EACA,IAAMC,wBAAwB,GAAG,eAAjC,CAAA;EAEA,IAAMC,cAAc,GAAG,MAAvB,CAAA;EACA,IAAMC,cAAc,GAAG,MAAvB,CAAA;EACA,IAAMC,cAAc,GAAG,MAAvB,CAAA;EACA,IAAMC,eAAe,GAAG,OAAxB,CAAA;EAEA,IAAMC,WAAW,aAAW/F,WAA5B,CAAA;EACA,IAAMgG,UAAU,YAAUhG,WAA1B,CAAA;EACA,IAAMiG,aAAa,eAAajG,WAAhC,CAAA;EACA,IAAMkG,gBAAgB,kBAAgBlG,WAAtC,CAAA;EACA,IAAMmG,gBAAgB,kBAAgBnG,WAAtC,CAAA;EACA,IAAMoG,gBAAgB,kBAAgBpG,WAAtC,CAAA;EACA,IAAMqG,eAAe,iBAAerG,WAApC,CAAA;EACA,IAAMsG,cAAc,gBAActG,WAAlC,CAAA;EACA,IAAMuG,iBAAiB,mBAAiBvG,WAAxC,CAAA;EACA,IAAMwG,eAAe,iBAAexG,WAApC,CAAA;EACA,IAAMyG,gBAAgB,iBAAezG,WAArC,CAAA;EACA,IAAM4C,qBAAmB,GAAA,MAAA,GAAU5C,WAAV,GAAsBC,cAA/C,CAAA;EACA,IAAMO,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EAEA,IAAMiD,iBAAe,GAAG,SAAxB,CAAA;EACA,IAAMwD,oBAAoB,GAAG,uBAA7B,CAAA;EACA,IAAMC,aAAa,GAAG,gBAAtB,CAAA;EACA,IAAMC,iBAAiB,GAAG,oBAA1B,CAAA;EACA,IAAMC,kBAAkB,GAAG,0CAA3B,CAAA;EACA,IAAMC,mBAAmB,GAAG,sBAA5B,CAAA;EACA,IAAMC,mBAAmB,GAAG,+BAA5B,CAAA;EACA,IAAMC,kBAAkB,GAAG,wBAA3B,CAAA;EAEA,IAAMC,SAAO,GAAG;EACdC,EAAAA,QAAQ,EAAE,IADI;EAEdC,EAAAA,QAAQ,EAAE,IAFI;EAGdC,EAAAA,KAAK,EAAE,KAHO;EAIdC,EAAAA,KAAK,EAAE,OAJO;EAKdC,EAAAA,IAAI,EAAE,IALQ;EAMdC,EAAAA,KAAK,EAAE,IAAA;EANO,CAAhB,CAAA;EASA,IAAMC,aAAW,GAAG;EAClBN,EAAAA,QAAQ,EAAE,kBADQ;EAElBC,EAAAA,QAAQ,EAAE,SAFQ;EAGlBC,EAAAA,KAAK,EAAE,kBAHW;EAIlBC,EAAAA,KAAK,EAAE,kBAJW;EAKlBC,EAAAA,IAAI,EAAE,SALY;EAMlBC,EAAAA,KAAK,EAAE,SAAA;EANW,CAApB,CAAA;EASA,IAAME,WAAW,GAAG;EAClBC,EAAAA,KAAK,EAAE,OADW;EAElBC,EAAAA,GAAG,EAAE,KAAA;EAFa,CAApB,CAAA;EAKA;EACA;EACA;;MAEMC;IACJ,SAAYpL,QAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;MAC3B,IAAK6J,CAAAA,MAAL,GAAc,IAAd,CAAA;MACA,IAAKC,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAKC,CAAAA,cAAL,GAAsB,IAAtB,CAAA;MACA,IAAKC,CAAAA,SAAL,GAAiB,KAAjB,CAAA;MACA,IAAKC,CAAAA,UAAL,GAAkB,KAAlB,CAAA;MACA,IAAKC,CAAAA,YAAL,GAAoB,IAApB,CAAA;MACA,IAAKC,CAAAA,WAAL,GAAmB,CAAnB,CAAA;MACA,IAAKC,CAAAA,WAAL,GAAmB,CAAnB,CAAA;EAEA,IAAA,IAAA,CAAKC,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;MACA,IAAK2C,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;MACA,IAAK+L,CAAAA,kBAAL,GAA0B,IAAK5H,CAAAA,QAAL,CAAc9D,aAAd,CAA4BiK,mBAA5B,CAA1B,CAAA;MACA,IAAK0B,CAAAA,eAAL,GAAuB,cAAA,IAAkBnM,QAAQ,CAACyC,eAA3B,IAA8C2J,SAAS,CAACC,cAAV,GAA2B,CAAhG,CAAA;MACA,IAAKC,CAAAA,aAAL,GAAqBhL,OAAO,CAAC6G,MAAM,CAACoE,YAAP,IAAuBpE,MAAM,CAACqE,cAA/B,CAA5B,CAAA;;EAEA,IAAA,IAAA,CAAKC,kBAAL,EAAA,CAAA;EACD;;;;;EAWD;EACAC,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;MACL,IAAI,CAAC,IAAKd,CAAAA,UAAV,EAAsB;QACpB,IAAKe,CAAAA,MAAL,CAAYrD,cAAZ,CAAA,CAAA;EACD,KAAA;;;EAGHsD,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;MAChB,IAAMjH,QAAQ,GAAGlH,qBAAC,CAAC,KAAK6F,QAAN,CAAlB,CADgB;EAGhB;;EACA,IAAA,IAAI,CAACtE,QAAQ,CAAC6M,MAAV,IACDlH,QAAQ,CAAChH,EAAT,CAAY,UAAZ,CAAA,IAA2BgH,QAAQ,CAAC/E,GAAT,CAAa,YAAb,CAAA,KAA+B,QAD7D,EACwE;EACtE,MAAA,IAAA,CAAK8L,IAAL,EAAA,CAAA;EACD,KAAA;;;EAGHI,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;MACL,IAAI,CAAC,IAAKlB,CAAAA,UAAV,EAAsB;QACpB,IAAKe,CAAAA,MAAL,CAAYpD,cAAZ,CAAA,CAAA;EACD,KAAA;;;WAGHyB,QAAA,SAAMxM,KAAAA,CAAAA,KAAN,EAAa;MACX,IAAI,CAACA,KAAL,EAAY;QACV,IAAKmN,CAAAA,SAAL,GAAiB,IAAjB,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,KAAKrH,QAAL,CAAc9D,aAAd,CAA4BgK,kBAA5B,CAAJ,EAAqD;EACnDnL,MAAAA,IAAI,CAACE,oBAAL,CAA0B,IAAA,CAAK+E,QAA/B,CAAA,CAAA;QACA,IAAKyI,CAAAA,KAAL,CAAW,IAAX,CAAA,CAAA;EACD,KAAA;;MAEDC,aAAa,CAAC,IAAKvB,CAAAA,SAAN,CAAb,CAAA;MACA,IAAKA,CAAAA,SAAL,GAAiB,IAAjB,CAAA;;;WAGFsB,QAAA,SAAMvO,KAAAA,CAAAA,KAAN,EAAa;MACX,IAAI,CAACA,KAAL,EAAY;QACV,IAAKmN,CAAAA,SAAL,GAAiB,KAAjB,CAAA;EACD,KAAA;;MAED,IAAI,IAAA,CAAKF,SAAT,EAAoB;QAClBuB,aAAa,CAAC,IAAKvB,CAAAA,SAAN,CAAb,CAAA;QACA,IAAKA,CAAAA,SAAL,GAAiB,IAAjB,CAAA;EACD,KAAA;;MAED,IAAI,IAAA,CAAKO,OAAL,CAAanB,QAAb,IAAyB,CAAC,IAAA,CAAKc,SAAnC,EAA8C;EAC5C,MAAA,IAAA,CAAKsB,eAAL,EAAA,CAAA;;QAEA,IAAKxB,CAAAA,SAAL,GAAiByB,WAAW,CAC1B,CAAClN,QAAQ,CAACmN,eAAT,GAA2B,IAAA,CAAKP,eAAhC,GAAkD,KAAKF,IAAxD,EAA8DU,IAA9D,CAAmE,IAAnE,CAD0B,EAE1B,IAAKpB,CAAAA,OAAL,CAAanB,QAFa,CAA5B,CAAA;EAID,KAAA;;;WAGHwC,KAAA,SAAGC,EAAAA,CAAAA,KAAH,EAAU;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;MACR,IAAK5B,CAAAA,cAAL,GAAsB,IAAKpH,CAAAA,QAAL,CAAc9D,aAAd,CAA4B6J,oBAA5B,CAAtB,CAAA;;EAEA,IAAA,IAAMkD,WAAW,GAAG,IAAA,CAAKC,aAAL,CAAmB,IAAA,CAAK9B,cAAxB,CAApB,CAAA;;EAEA,IAAA,IAAI4B,KAAK,GAAG,IAAK9B,CAAAA,MAAL,CAAY/C,MAAZ,GAAqB,CAA7B,IAAkC6E,KAAK,GAAG,CAA9C,EAAiD;EAC/C,MAAA,OAAA;EACD,KAAA;;MAED,IAAI,IAAA,CAAK1B,UAAT,EAAqB;QACnBnN,qBAAC,CAAC,KAAK6F,QAAN,CAAD,CAAiBlF,GAAjB,CAAqBuK,UAArB,EAAiC,YAAA;EAAA,QAAA,OAAM,KAAI,CAAC0D,EAAL,CAAQC,KAAR,CAAN,CAAA;SAAjC,CAAA,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;MAED,IAAIC,WAAW,KAAKD,KAApB,EAA2B;EACzB,MAAA,IAAA,CAAKtC,KAAL,EAAA,CAAA;EACA,MAAA,IAAA,CAAK+B,KAAL,EAAA,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;MAED,IAAMU,SAAS,GAAGH,KAAK,GAAGC,WAAR,GAChBjE,cADgB,GAEhBC,cAFF,CAAA;;MAIA,IAAKoD,CAAAA,MAAL,CAAYc,SAAZ,EAAuB,KAAKjC,MAAL,CAAY8B,KAAZ,CAAvB,CAAA,CAAA;;;EAGFxI,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqB/J,WAArB,CAAA,CAAA;EACAlF,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MAEA,IAAK8H,CAAAA,MAAL,GAAc,IAAd,CAAA;MACA,IAAKQ,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAK1H,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKmH,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAKE,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAKC,CAAAA,UAAL,GAAkB,IAAlB,CAAA;MACA,IAAKF,CAAAA,cAAL,GAAsB,IAAtB,CAAA;MACA,IAAKQ,CAAAA,kBAAL,GAA0B,IAA1B,CAAA;EACD;;;WAGDD,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;EACjBA,IAAAA,MAAM,GACDiJ,QAAAA,CAAAA,EAAAA,EAAAA,SADC,EAEDjJ,MAFC,CAAN,CAAA;EAIAtC,IAAAA,IAAI,CAACoC,eAAL,CAAqB+B,MAArB,EAA2B7B,MAA3B,EAAmCwJ,aAAnC,CAAA,CAAA;EACA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGFgM,EAAAA,MAAAA,CAAAA,eAAA,SAAe,YAAA,GAAA;MACb,IAAMC,SAAS,GAAG9N,IAAI,CAAC+N,GAAL,CAAS,IAAA,CAAK9B,WAAd,CAAlB,CAAA;;MAEA,IAAI6B,SAAS,IAAI9E,eAAjB,EAAkC;EAChC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAM2E,SAAS,GAAGG,SAAS,GAAG,KAAK7B,WAAnC,CAAA;EAEA,IAAA,IAAA,CAAKA,WAAL,GAAmB,CAAnB,CATa;;MAYb,IAAI0B,SAAS,GAAG,CAAhB,EAAmB;EACjB,MAAA,IAAA,CAAKX,IAAL,EAAA,CAAA;EACD,KAdY;;;MAiBb,IAAIW,SAAS,GAAG,CAAhB,EAAmB;EACjB,MAAA,IAAA,CAAKf,IAAL,EAAA,CAAA;EACD,KAAA;;;EAGHD,EAAAA,MAAAA,CAAAA,qBAAA,SAAqB,kBAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACnB,IAAA,IAAI,IAAKT,CAAAA,OAAL,CAAalB,QAAjB,EAA2B;QACzBrM,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoB4D,aAApB,EAAmC,UAAApL,KAAK,EAAA;EAAA,QAAA,OAAI,MAAI,CAACsP,QAAL,CAActP,KAAd,CAAJ,CAAA;SAAxC,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,KAAKwN,OAAL,CAAahB,KAAb,KAAuB,OAA3B,EAAoC;QAClCvM,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CACG0B,EADH,CACM6D,gBADN,EACwB,UAAArL,KAAK,EAAA;EAAA,QAAA,OAAI,MAAI,CAACwM,KAAL,CAAWxM,KAAX,CAAJ,CAAA;EAAA,OAD7B,EAEGwH,EAFH,CAEM8D,gBAFN,EAEwB,UAAAtL,KAAK,EAAA;EAAA,QAAA,OAAI,MAAI,CAACuO,KAAL,CAAWvO,KAAX,CAAJ,CAAA;SAF7B,CAAA,CAAA;EAGD,KAAA;;EAED,IAAA,IAAI,IAAKwN,CAAAA,OAAL,CAAad,KAAjB,EAAwB;EACtB,MAAA,IAAA,CAAK6C,uBAAL,EAAA,CAAA;EACD,KAAA;;;EAGHA,EAAAA,MAAAA,CAAAA,0BAAA,SAA0B,uBAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACxB,IAAI,CAAC,IAAK5B,CAAAA,eAAV,EAA2B;EACzB,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAM6B,KAAK,GAAG,SAARA,KAAQ,CAAAxP,KAAK,EAAI;EACrB,MAAA,IAAI,MAAI,CAAC8N,aAAL,IAAsBlB,WAAW,CAAC5M,KAAK,CAACyP,aAAN,CAAoBC,WAApB,CAAgC3L,WAAhC,EAAD,CAArC,EAAsF;EACpF,QAAA,MAAI,CAACuJ,WAAL,GAAmBtN,KAAK,CAACyP,aAAN,CAAoBE,OAAvC,CAAA;EACD,OAFD,MAEO,IAAI,CAAC,MAAI,CAAC7B,aAAV,EAAyB;UAC9B,MAAI,CAACR,WAAL,GAAmBtN,KAAK,CAACyP,aAAN,CAAoBG,OAApB,CAA4B,CAA5B,CAAA,CAA+BD,OAAlD,CAAA;EACD,OAAA;OALH,CAAA;;EAQA,IAAA,IAAME,IAAI,GAAG,SAAPA,IAAO,CAAA7P,KAAK,EAAI;EACpB;EACA,MAAA,MAAI,CAACuN,WAAL,GAAmBvN,KAAK,CAACyP,aAAN,CAAoBG,OAApB,IAA+B5P,KAAK,CAACyP,aAAN,CAAoBG,OAApB,CAA4B3F,MAA5B,GAAqC,CAApE,GACjB,CADiB,GAEjBjK,KAAK,CAACyP,aAAN,CAAoBG,OAApB,CAA4B,CAA5B,CAA+BD,CAAAA,OAA/B,GAAyC,MAAI,CAACrC,WAFhD,CAAA;OAFF,CAAA;;EAOA,IAAA,IAAMwC,GAAG,GAAG,SAANA,GAAM,CAAA9P,KAAK,EAAI;EACnB,MAAA,IAAI,MAAI,CAAC8N,aAAL,IAAsBlB,WAAW,CAAC5M,KAAK,CAACyP,aAAN,CAAoBC,WAApB,CAAgC3L,WAAhC,EAAD,CAArC,EAAsF;UACpF,MAAI,CAACwJ,WAAL,GAAmBvN,KAAK,CAACyP,aAAN,CAAoBE,OAApB,GAA8B,MAAI,CAACrC,WAAtD,CAAA;EACD,OAAA;;EAED,MAAA,MAAI,CAAC6B,YAAL,EAAA,CAAA;;EACA,MAAA,IAAI,MAAI,CAAC3B,OAAL,CAAahB,KAAb,KAAuB,OAA3B,EAAoC;EAClC;EACA;EACA;EACA;EACA;EACA;EACA;EAEA,QAAA,MAAI,CAACA,KAAL,EAAA,CAAA;;UACA,IAAI,MAAI,CAACa,YAAT,EAAuB;EACrB0C,UAAAA,YAAY,CAAC,MAAI,CAAC1C,YAAN,CAAZ,CAAA;EACD,SAAA;;EAED,QAAA,MAAI,CAACA,YAAL,GAAoBvM,UAAU,CAAC,UAAAd,KAAK,EAAA;EAAA,UAAA,OAAI,MAAI,CAACuO,KAAL,CAAWvO,KAAX,CAAJ,CAAA;WAAN,EAA6BqK,sBAAsB,GAAG,MAAI,CAACmD,OAAL,CAAanB,QAAnE,CAA9B,CAAA;EACD,OAAA;OArBH,CAAA;;EAwBApM,IAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAL,CAAcgE,gBAAd,CAA+BiC,iBAA/B,CAAD,CAAD,CACGvE,EADH,CACMoE,gBADN,EACwB,UAAAoE,CAAC,EAAA;QAAA,OAAIA,CAAC,CAACzI,cAAF,EAAJ,CAAA;OADzB,CAAA,CAAA;;MAGA,IAAI,IAAA,CAAKuG,aAAT,EAAwB;QACtB7N,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBkE,iBAApB,EAAuC,UAAA1L,KAAK,EAAA;UAAA,OAAIwP,KAAK,CAACxP,KAAD,CAAT,CAAA;SAA5C,CAAA,CAAA;QACAC,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBmE,eAApB,EAAqC,UAAA3L,KAAK,EAAA;UAAA,OAAI8P,GAAG,CAAC9P,KAAD,CAAP,CAAA;SAA1C,CAAA,CAAA;;EAEA,MAAA,IAAA,CAAK8F,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4BW,wBAA5B,CAAA,CAAA;EACD,KALD,MAKO;QACL5K,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoB+D,gBAApB,EAAsC,UAAAvL,KAAK,EAAA;UAAA,OAAIwP,KAAK,CAACxP,KAAD,CAAT,CAAA;SAA3C,CAAA,CAAA;QACAC,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBgE,eAApB,EAAqC,UAAAxL,KAAK,EAAA;UAAA,OAAI6P,IAAI,CAAC7P,KAAD,CAAR,CAAA;SAA1C,CAAA,CAAA;QACAC,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBiE,cAApB,EAAoC,UAAAzL,KAAK,EAAA;UAAA,OAAI8P,GAAG,CAAC9P,KAAD,CAAP,CAAA;SAAzC,CAAA,CAAA;EACD,KAAA;;;WAGHsP,WAAA,SAAStP,QAAAA,CAAAA,KAAT,EAAgB;MACd,IAAI,iBAAA,CAAkB6D,IAAlB,CAAuB7D,KAAK,CAACE,MAAN,CAAawJ,OAApC,CAAJ,EAAkD;EAChD,MAAA,OAAA;EACD,KAAA;;MAED,QAAQ1J,KAAK,CAACiQ,KAAd;EACE,MAAA,KAAK9F,kBAAL;EACEnK,QAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACA,QAAA,IAAA,CAAK+G,IAAL,EAAA,CAAA;EACA,QAAA,MAAA;;EACF,MAAA,KAAKlE,mBAAL;EACEpK,QAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACA,QAAA,IAAA,CAAK2G,IAAL,EAAA,CAAA;EACA,QAAA,MAAA;EARJ,KAAA;;;WAaFc,gBAAA,SAAcrN,aAAAA,CAAAA,OAAd,EAAuB;MACrB,IAAKqL,CAAAA,MAAL,GAAcrL,OAAO,IAAIA,OAAO,CAAC2C,UAAnB,GACZ,EAAA,CAAGuF,KAAH,CAASpK,IAAT,CAAckC,OAAO,CAAC2C,UAAR,CAAmBwF,gBAAnB,CAAoCgC,aAApC,CAAd,CADY,GAEZ,EAFF,CAAA;EAGA,IAAA,OAAO,KAAKkB,MAAL,CAAYkD,OAAZ,CAAoBvO,OAApB,CAAP,CAAA;;;EAGFwO,EAAAA,MAAAA,CAAAA,sBAAA,SAAA,mBAAA,CAAoBlB,SAApB,EAA+BhG,aAA/B,EAA8C;EAC5C,IAAA,IAAMmH,eAAe,GAAGnB,SAAS,KAAKnE,cAAtC,CAAA;EACA,IAAA,IAAMuF,eAAe,GAAGpB,SAAS,KAAKlE,cAAtC,CAAA;;EACA,IAAA,IAAMgE,WAAW,GAAG,IAAA,CAAKC,aAAL,CAAmB/F,aAAnB,CAApB,CAAA;;EACA,IAAA,IAAMqH,aAAa,GAAG,IAAA,CAAKtD,MAAL,CAAY/C,MAAZ,GAAqB,CAA3C,CAAA;EACA,IAAA,IAAMsG,aAAa,GAAGF,eAAe,IAAItB,WAAW,KAAK,CAAnC,IACEqB,eAAe,IAAIrB,WAAW,KAAKuB,aAD3D,CAAA;;EAGA,IAAA,IAAIC,aAAa,IAAI,CAAC,KAAK/C,OAAL,CAAaf,IAAnC,EAAyC;EACvC,MAAA,OAAOxD,aAAP,CAAA;EACD,KAAA;;MAED,IAAMuH,KAAK,GAAGvB,SAAS,KAAKlE,cAAd,GAA+B,CAAC,CAAhC,GAAoC,CAAlD,CAAA;MACA,IAAM0F,SAAS,GAAG,CAAC1B,WAAW,GAAGyB,KAAf,IAAwB,IAAA,CAAKxD,MAAL,CAAY/C,MAAtD,CAAA;MAEA,OAAOwG,SAAS,KAAK,CAAC,CAAf,GACL,IAAKzD,CAAAA,MAAL,CAAY,IAAKA,CAAAA,MAAL,CAAY/C,MAAZ,GAAqB,CAAjC,CADK,GACiC,KAAK+C,MAAL,CAAYyD,SAAZ,CADxC,CAAA;;;EAIFC,EAAAA,MAAAA,CAAAA,qBAAA,SAAA,kBAAA,CAAmBC,aAAnB,EAAkCC,kBAAlC,EAAsD;EACpD,IAAA,IAAMC,WAAW,GAAG,IAAA,CAAK7B,aAAL,CAAmB2B,aAAnB,CAApB,CAAA;;EACA,IAAA,IAAMG,SAAS,GAAG,IAAK9B,CAAAA,aAAL,CAAmB,IAAA,CAAKlJ,QAAL,CAAc9D,aAAd,CAA4B6J,oBAA5B,CAAnB,CAAlB,CAAA;;EACA,IAAA,IAAMkF,UAAU,GAAG9Q,qBAAC,CAAC0G,KAAF,CAAQuE,WAAR,EAAqB;EACtCyF,MAAAA,aAAa,EAAbA,aADsC;EAEtC1B,MAAAA,SAAS,EAAE2B,kBAF2B;EAGtCI,MAAAA,IAAI,EAAEF,SAHgC;EAItCjC,MAAAA,EAAE,EAAEgC,WAAAA;EAJkC,KAArB,CAAnB,CAAA;EAOA5Q,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBmO,UAAzB,CAAA,CAAA;EAEA,IAAA,OAAOA,UAAP,CAAA;;;WAGFE,6BAAA,SAA2BtP,0BAAAA,CAAAA,OAA3B,EAAoC;MAClC,IAAI,IAAA,CAAK+L,kBAAT,EAA6B;EAC3B,MAAA,IAAMwD,UAAU,GAAG,EAAGrH,CAAAA,KAAH,CAASpK,IAAT,CAAc,IAAKiO,CAAAA,kBAAL,CAAwB5D,gBAAxB,CAAyCzB,iBAAzC,CAAd,CAAnB,CAAA;EACApI,MAAAA,qBAAC,CAACiR,UAAD,CAAD,CAActK,WAAd,CAA0Be,mBAA1B,CAAA,CAAA;;EAEA,MAAA,IAAMwJ,aAAa,GAAG,IAAKzD,CAAAA,kBAAL,CAAwB0D,QAAxB,CACpB,IAAA,CAAKpC,aAAL,CAAmBrN,OAAnB,CADoB,CAAtB,CAAA;;EAIA,MAAA,IAAIwP,aAAJ,EAAmB;EACjBlR,QAAAA,qBAAC,CAACkR,aAAD,CAAD,CAAiBE,QAAjB,CAA0B1J,mBAA1B,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;;EAGH8G,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;MAChB,IAAM9M,OAAO,GAAG,IAAA,CAAKuL,cAAL,IAAuB,IAAKpH,CAAAA,QAAL,CAAc9D,aAAd,CAA4B6J,oBAA5B,CAAvC,CAAA;;MAEA,IAAI,CAAClK,OAAL,EAAc;EACZ,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAM2P,eAAe,GAAGC,QAAQ,CAAC5P,OAAO,CAACE,YAAR,CAAqB,eAArB,CAAD,EAAwC,EAAxC,CAAhC,CAAA;;EAEA,IAAA,IAAIyP,eAAJ,EAAqB;EACnB,MAAA,IAAA,CAAK9D,OAAL,CAAagE,eAAb,GAA+B,IAAKhE,CAAAA,OAAL,CAAagE,eAAb,IAAgC,IAAA,CAAKhE,OAAL,CAAanB,QAA5E,CAAA;EACA,MAAA,IAAA,CAAKmB,OAAL,CAAanB,QAAb,GAAwBiF,eAAxB,CAAA;EACD,KAHD,MAGO;EACL,MAAA,IAAA,CAAK9D,OAAL,CAAanB,QAAb,GAAwB,IAAKmB,CAAAA,OAAL,CAAagE,eAAb,IAAgC,IAAA,CAAKhE,OAAL,CAAanB,QAArE,CAAA;EACD,KAAA;;;EAGH8B,EAAAA,MAAAA,CAAAA,SAAA,SAAA,MAAA,CAAOc,SAAP,EAAkBtN,OAAlB,EAA2B;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACzB,IAAMsH,aAAa,GAAG,IAAKnD,CAAAA,QAAL,CAAc9D,aAAd,CAA4B6J,oBAA5B,CAAtB,CAAA;;EACA,IAAA,IAAM4F,kBAAkB,GAAG,IAAA,CAAKzC,aAAL,CAAmB/F,aAAnB,CAA3B,CAAA;;EACA,IAAA,IAAMyI,WAAW,GAAG/P,OAAO,IAAIsH,aAAa,IAC1C,IAAKkH,CAAAA,mBAAL,CAAyBlB,SAAzB,EAAoChG,aAApC,CADF,CAAA;;EAEA,IAAA,IAAM0I,gBAAgB,GAAG,IAAA,CAAK3C,aAAL,CAAmB0C,WAAnB,CAAzB,CAAA;;EACA,IAAA,IAAME,SAAS,GAAG9O,OAAO,CAAC,IAAA,CAAKmK,SAAN,CAAzB,CAAA;EAEA,IAAA,IAAI4E,oBAAJ,CAAA;EACA,IAAA,IAAIC,cAAJ,CAAA;EACA,IAAA,IAAIlB,kBAAJ,CAAA;;MAEA,IAAI3B,SAAS,KAAKnE,cAAlB,EAAkC;EAChC+G,MAAAA,oBAAoB,GAAGnH,eAAvB,CAAA;EACAoH,MAAAA,cAAc,GAAGnH,eAAjB,CAAA;EACAiG,MAAAA,kBAAkB,GAAG5F,cAArB,CAAA;EACD,KAJD,MAIO;EACL6G,MAAAA,oBAAoB,GAAGpH,gBAAvB,CAAA;EACAqH,MAAAA,cAAc,GAAGlH,eAAjB,CAAA;EACAgG,MAAAA,kBAAkB,GAAG3F,eAArB,CAAA;EACD,KAAA;;MAED,IAAIyG,WAAW,IAAIzR,qBAAC,CAACyR,WAAD,CAAD,CAAe7K,QAAf,CAAwBc,mBAAxB,CAAnB,EAA+D;QAC7D,IAAKyF,CAAAA,UAAL,GAAkB,KAAlB,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;MAED,IAAM2D,UAAU,GAAG,IAAKL,CAAAA,kBAAL,CAAwBgB,WAAxB,EAAqCd,kBAArC,CAAnB,CAAA;;EACA,IAAA,IAAIG,UAAU,CAAC3K,kBAAX,EAAJ,EAAqC;EACnC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAI,CAAC6C,aAAD,IAAkB,CAACyI,WAAvB,EAAoC;EAClC;EACA,MAAA,OAAA;EACD,KAAA;;MAED,IAAKtE,CAAAA,UAAL,GAAkB,IAAlB,CAAA;;EAEA,IAAA,IAAIwE,SAAJ,EAAe;EACb,MAAA,IAAA,CAAKpF,KAAL,EAAA,CAAA;EACD,KAAA;;MAED,IAAKyE,CAAAA,0BAAL,CAAgCS,WAAhC,CAAA,CAAA;;MACA,IAAKxE,CAAAA,cAAL,GAAsBwE,WAAtB,CAAA;EAEA,IAAA,IAAMK,SAAS,GAAG9R,qBAAC,CAAC0G,KAAF,CAAQwE,UAAR,EAAoB;EACpCwF,MAAAA,aAAa,EAAEe,WADqB;EAEpCzC,MAAAA,SAAS,EAAE2B,kBAFyB;EAGpCI,MAAAA,IAAI,EAAES,kBAH8B;EAIpC5C,MAAAA,EAAE,EAAE8C,gBAAAA;EAJgC,KAApB,CAAlB,CAAA;;MAOA,IAAI1R,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0B2D,gBAA1B,CAAJ,EAAiD;EAC/CvK,MAAAA,qBAAC,CAACyR,WAAD,CAAD,CAAeL,QAAf,CAAwBS,cAAxB,CAAA,CAAA;QAEAjR,IAAI,CAAC6B,MAAL,CAAYgP,WAAZ,CAAA,CAAA;EAEAzR,MAAAA,qBAAC,CAACgJ,aAAD,CAAD,CAAiBoI,QAAjB,CAA0BQ,oBAA1B,CAAA,CAAA;EACA5R,MAAAA,qBAAC,CAACyR,WAAD,CAAD,CAAeL,QAAf,CAAwBQ,oBAAxB,CAAA,CAAA;EAEA,MAAA,IAAM1P,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC+G,aAAtC,CAA3B,CAAA;QAEAhJ,qBAAC,CAACgJ,aAAD,CAAD,CACGrI,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4B,YAAM;EAC9Bc,QAAAA,qBAAC,CAACyR,WAAD,CAAD,CACG9K,WADH,CACkBiL,oBADlB,GAAA,GAAA,GAC0CC,cAD1C,CAAA,CAEGT,QAFH,CAEY1J,mBAFZ,CAAA,CAAA;UAIA1H,qBAAC,CAACgJ,aAAD,CAAD,CAAiBrC,WAAjB,CAAgCe,mBAAhC,GAAA,GAAA,GAAqDmK,cAArD,GAAA,GAAA,GAAuED,oBAAvE,CAAA,CAAA;UAEA,MAAI,CAACzE,UAAL,GAAkB,KAAlB,CAAA;EAEAtM,QAAAA,UAAU,CAAC,YAAA;YAAA,OAAMb,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBmP,SAAzB,CAAN,CAAA;WAAD,EAA4C,CAA5C,CAAV,CAAA;SAVJ,CAAA,CAYG7Q,oBAZH,CAYwBiB,kBAZxB,CAAA,CAAA;EAaD,KAvBD,MAuBO;EACLlC,MAAAA,qBAAC,CAACgJ,aAAD,CAAD,CAAiBrC,WAAjB,CAA6Be,mBAA7B,CAAA,CAAA;EACA1H,MAAAA,qBAAC,CAACyR,WAAD,CAAD,CAAeL,QAAf,CAAwB1J,mBAAxB,CAAA,CAAA;QAEA,IAAKyF,CAAAA,UAAL,GAAkB,KAAlB,CAAA;EACAnN,MAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBmP,SAAzB,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAIH,SAAJ,EAAe;EACb,MAAA,IAAA,CAAKrD,KAAL,EAAA,CAAA;EACD,KAAA;EACF;;;aAGMtH,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;QAC3B,IAAIE,IAAI,GAAGnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,CAAX,CAAA;;QACA,IAAIsI,OAAO,GACNpB,QAAAA,CAAAA,EAAAA,EAAAA,SADM,EAENnM,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,EAFM,CAAX,CAAA;;EAKA,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9BqK,QAAAA,OAAO,GACFA,QAAAA,CAAAA,EAAAA,EAAAA,OADE,EAEFrK,MAFE,CAAP,CAAA;EAID,OAAA;;QAED,IAAM6O,MAAM,GAAG,OAAO7O,MAAP,KAAkB,QAAlB,GAA6BA,MAA7B,GAAsCqK,OAAO,CAACjB,KAA7D,CAAA;;QAEA,IAAI,CAACnF,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAI2F,QAAJ,CAAa,IAAb,EAAmBS,OAAnB,CAAP,CAAA;UACAvN,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,EAAuBkC,IAAvB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;UAC9BiE,IAAI,CAACyH,EAAL,CAAQ1L,MAAR,CAAA,CAAA;EACD,OAFD,MAEO,IAAI,OAAO6O,MAAP,KAAkB,QAAtB,EAAgC;EACrC,QAAA,IAAI,OAAO5K,IAAI,CAAC4K,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIxN,SAAJ,CAAkCwN,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAED5K,IAAI,CAAC4K,MAAD,CAAJ,EAAA,CAAA;SALK,MAMA,IAAIxE,OAAO,CAACnB,QAAR,IAAoBmB,OAAO,CAACyE,IAAhC,EAAsC;EAC3C7K,QAAAA,IAAI,CAACoF,KAAL,EAAA,CAAA;EACApF,QAAAA,IAAI,CAACmH,KAAL,EAAA,CAAA;EACD,OAAA;EACF,KAjCM,CAAP,CAAA;;;aAoCK2D,uBAAP,SAA4BlS,oBAAAA,CAAAA,KAA5B,EAAmC;EACjC,IAAA,IAAM4B,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4B,IAA5B,CAAjB,CAAA;;MAEA,IAAI,CAACE,QAAL,EAAe;EACb,MAAA,OAAA;EACD,KAAA;;MAED,IAAM1B,MAAM,GAAGD,qBAAC,CAAC2B,QAAD,CAAD,CAAY,CAAZ,CAAf,CAAA;;EAEA,IAAA,IAAI,CAAC1B,MAAD,IAAW,CAACD,qBAAC,CAACC,MAAD,CAAD,CAAU2G,QAAV,CAAmB0D,mBAAnB,CAAhB,EAAyD;EACvD,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMpH,MAAM,GACPlD,QAAAA,CAAAA,EAAAA,EAAAA,qBAAC,CAACC,MAAD,CAAD,CAAUkH,IAAV,EADO,EAEPnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,EAFO,CAAZ,CAAA;;EAIA,IAAA,IAAM+K,UAAU,GAAG,IAAA,CAAKtQ,YAAL,CAAkB,eAAlB,CAAnB,CAAA;;EAEA,IAAA,IAAIsQ,UAAJ,EAAgB;QACdhP,MAAM,CAACkJ,QAAP,GAAkB,KAAlB,CAAA;EACD,KAAA;;MAEDU,QAAQ,CAAC9F,gBAAT,CAA0BxH,IAA1B,CAA+BQ,qBAAC,CAACC,MAAD,CAAhC,EAA0CiD,MAA1C,CAAA,CAAA;;EAEA,IAAA,IAAIgP,UAAJ,EAAgB;QACdlS,qBAAC,CAACC,MAAD,CAAD,CAAUkH,IAAV,CAAelC,UAAf,CAAA,CAAyB2J,EAAzB,CAA4BsD,UAA5B,CAAA,CAAA;EACD,KAAA;;EAEDnS,IAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;;;;;WA5cF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOtC,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;;;EA0cH;EACA;EACA;;;AAEAnM,uBAAC,CAACuB,QAAD,CAAD,CAAYgG,EAAZ,CAAe7B,sBAAf,EAAqCuG,mBAArC,EAA0Da,QAAQ,CAACmF,oBAAnE,CAAA,CAAA;AAEAjS,uBAAC,CAAC0J,MAAD,CAAD,CAAUnC,EAAV,CAAaO,qBAAb,EAAkC,YAAM;EACtC,EAAA,IAAMqK,SAAS,GAAG,EAAGvI,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BqC,kBAA1B,CAAd,CAAlB,CAAA;;EACA,EAAA,KAAK,IAAIpC,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAGoI,SAAS,CAACnI,MAAhC,EAAwCF,CAAC,GAAGC,GAA5C,EAAiDD,CAAC,EAAlD,EAAsD;MACpD,IAAMsI,SAAS,GAAGpS,qBAAC,CAACmS,SAAS,CAACrI,CAAD,CAAV,CAAnB,CAAA;;MACAgD,QAAQ,CAAC9F,gBAAT,CAA0BxH,IAA1B,CAA+B4S,SAA/B,EAA0CA,SAAS,CAACjL,IAAV,EAA1C,CAAA,CAAA;EACD,GAAA;EACF,CAND,CAAA,CAAA;EAQA;EACA;EACA;;AAEAnH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAa+H,GAAAA,QAAQ,CAAC9F,gBAAtB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyBsF,QAAzB,CAAA;;AACA9M,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO0H,QAAQ,CAAC9F,gBAAhB,CAAA;EACD,CAHD;;ECxkBA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,UAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,aAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EAEA,IAAMQ,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAM8M,mBAAmB,GAAG,UAA5B,CAAA;EACA,IAAMC,qBAAqB,GAAG,YAA9B,CAAA;EACA,IAAMC,oBAAoB,GAAG,WAA7B,CAAA;EAEA,IAAMC,eAAe,GAAG,OAAxB,CAAA;EACA,IAAMC,gBAAgB,GAAG,QAAzB,CAAA;EAEA,IAAMC,YAAU,YAAUxN,WAA1B,CAAA;EACA,IAAMyN,aAAW,aAAWzN,WAA5B,CAAA;EACA,IAAM0N,YAAU,YAAU1N,WAA1B,CAAA;EACA,IAAM2N,cAAY,cAAY3N,WAA9B,CAAA;EACA,IAAMQ,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EAEA,IAAM2N,gBAAgB,GAAG,oBAAzB,CAAA;EACA,IAAM7K,sBAAoB,GAAG,0BAA7B,CAAA;EAEA,IAAMkE,SAAO,GAAG;EACd3D,EAAAA,MAAM,EAAE,IADM;EAEdjC,EAAAA,MAAM,EAAE,EAAA;EAFM,CAAhB,CAAA;EAKA,IAAMmG,aAAW,GAAG;EAClBlE,EAAAA,MAAM,EAAE,SADU;EAElBjC,EAAAA,MAAM,EAAE,kBAAA;EAFU,CAApB,CAAA;EAKA;EACA;EACA;;MAEMwM;IACJ,SAAYrR,QAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;MAC3B,IAAK8P,CAAAA,gBAAL,GAAwB,KAAxB,CAAA;MACA,IAAKnN,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;EACA,IAAA,IAAA,CAAK6L,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;MACA,IAAK+P,CAAAA,aAAL,GAAqB,EAAGrJ,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CACjC,qCAAmCnI,GAAAA,OAAO,CAACwR,EAA3C,GAAA,MAAA,IAAA,4CAAA,GAC0CxR,OAAO,CAACwR,EADlD,GADiC,KAAA,CAAA,CAAd,CAArB,CAAA;EAKA,IAAA,IAAMC,UAAU,GAAG,EAAGvJ,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B5B,sBAA1B,CAAd,CAAnB,CAAA;;EACA,IAAA,KAAK,IAAI6B,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAGoJ,UAAU,CAACnJ,MAAjC,EAAyCF,CAAC,GAAGC,GAA7C,EAAkDD,CAAC,EAAnD,EAAuD;EACrD,MAAA,IAAMsJ,IAAI,GAAGD,UAAU,CAACrJ,CAAD,CAAvB,CAAA;EACA,MAAA,IAAMnI,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4B2R,IAA5B,CAAjB,CAAA;EACA,MAAA,IAAMC,aAAa,GAAG,EAAA,CAAGzJ,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BlI,QAA1B,CAAd,EACnB2R,MADmB,CACZ,UAAAC,SAAS,EAAA;UAAA,OAAIA,SAAS,KAAK7R,OAAlB,CAAA;EAAA,OADG,CAAtB,CAAA;;QAGA,IAAIC,QAAQ,KAAK,IAAb,IAAqB0R,aAAa,CAACrJ,MAAd,GAAuB,CAAhD,EAAmD;UACjD,IAAKwJ,CAAAA,SAAL,GAAiB7R,QAAjB,CAAA;;EACA,QAAA,IAAA,CAAKsR,aAAL,CAAmBQ,IAAnB,CAAwBL,IAAxB,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;MAED,IAAKM,CAAAA,OAAL,GAAe,IAAA,CAAKnG,OAAL,CAAahH,MAAb,GAAsB,IAAKoN,CAAAA,UAAL,EAAtB,GAA0C,IAAzD,CAAA;;EAEA,IAAA,IAAI,CAAC,IAAA,CAAKpG,OAAL,CAAahH,MAAlB,EAA0B;EACxB,MAAA,IAAA,CAAKqN,yBAAL,CAA+B,IAAA,CAAK/N,QAApC,EAA8C,KAAKoN,aAAnD,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,IAAK1F,CAAAA,OAAL,CAAa/E,MAAjB,EAAyB;EACvB,MAAA,IAAA,CAAKA,MAAL,EAAA,CAAA;EACD,KAAA;EACF;;;;;EAWD;EACAA,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;MACP,IAAIxI,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BrB,iBAA1B,CAAJ,EAAgD;EAC9C,MAAA,IAAA,CAAKsO,IAAL,EAAA,CAAA;EACD,KAFD,MAEO;EACL,MAAA,IAAA,CAAKC,IAAL,EAAA,CAAA;EACD,KAAA;;;EAGHA,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;EACL,IAAA,IAAI,IAAKd,CAAAA,gBAAL,IACFhT,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BrB,iBAA1B,CADF,EAC8C;EAC5C,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAIwO,OAAJ,CAAA;EACA,IAAA,IAAIC,WAAJ,CAAA;;MAEA,IAAI,IAAA,CAAKN,OAAT,EAAkB;EAChBK,MAAAA,OAAO,GAAG,EAAGnK,CAAAA,KAAH,CAASpK,IAAT,CAAc,KAAKkU,OAAL,CAAa7J,gBAAb,CAA8BiJ,gBAA9B,CAAd,CAAA,CACPQ,MADO,CACA,UAAAF,IAAI,EAAI;UACd,IAAI,OAAO,KAAI,CAAC7F,OAAL,CAAahH,MAApB,KAA+B,QAAnC,EAA6C;YAC3C,OAAO6M,IAAI,CAACxR,YAAL,CAAkB,aAAlB,MAAqC,KAAI,CAAC2L,OAAL,CAAahH,MAAzD,CAAA;EACD,SAAA;;EAED,QAAA,OAAO6M,IAAI,CAACtK,SAAL,CAAeC,QAAf,CAAwBsJ,mBAAxB,CAAP,CAAA;EACD,OAPO,CAAV,CAAA;;EASA,MAAA,IAAI0B,OAAO,CAAC/J,MAAR,KAAmB,CAAvB,EAA0B;EACxB+J,QAAAA,OAAO,GAAG,IAAV,CAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,IAAIA,OAAJ,EAAa;EACXC,MAAAA,WAAW,GAAGhU,qBAAC,CAAC+T,OAAD,CAAD,CAAWE,GAAX,CAAe,IAAA,CAAKT,SAApB,CAAA,CAA+BrM,IAA/B,CAAoClC,UAApC,CAAd,CAAA;;EACA,MAAA,IAAI+O,WAAW,IAAIA,WAAW,CAAChB,gBAA/B,EAAiD;EAC/C,QAAA,OAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,IAAMkB,UAAU,GAAGlU,qBAAC,CAAC0G,KAAF,CAAQgM,YAAR,CAAnB,CAAA;EACA1S,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBuR,UAAzB,CAAA,CAAA;;EACA,IAAA,IAAIA,UAAU,CAAC/N,kBAAX,EAAJ,EAAqC;EACnC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAI4N,OAAJ,EAAa;EACXhB,MAAAA,QAAQ,CAAC/L,gBAAT,CAA0BxH,IAA1B,CAA+BQ,qBAAC,CAAC+T,OAAD,CAAD,CAAWE,GAAX,CAAe,IAAA,CAAKT,SAApB,CAA/B,EAA+D,MAA/D,CAAA,CAAA;;QACA,IAAI,CAACQ,WAAL,EAAkB;UAChBhU,qBAAC,CAAC+T,OAAD,CAAD,CAAW5M,IAAX,CAAgBlC,UAAhB,EAA0B,IAA1B,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,IAAMkP,SAAS,GAAG,IAAKC,CAAAA,aAAL,EAAlB,CAAA;;MAEApU,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CACGc,WADH,CACe0L,mBADf,CAAA,CAEGjB,QAFH,CAEYkB,qBAFZ,CAAA,CAAA;EAIA,IAAA,IAAA,CAAKzM,QAAL,CAAcwO,KAAd,CAAoBF,SAApB,IAAiC,CAAjC,CAAA;;EAEA,IAAA,IAAI,IAAKlB,CAAAA,aAAL,CAAmBjJ,MAAvB,EAA+B;EAC7BhK,MAAAA,qBAAC,CAAC,IAAA,CAAKiT,aAAN,CAAD,CACGtM,WADH,CACe4L,oBADf,CAEG+B,CAAAA,IAFH,CAEQ,eAFR,EAEyB,IAFzB,CAAA,CAAA;EAGD,KAAA;;MAED,IAAKC,CAAAA,gBAAL,CAAsB,IAAtB,CAAA,CAAA;;EAEA,IAAA,IAAMC,QAAQ,GAAG,SAAXA,QAAW,GAAM;EACrBxU,MAAAA,qBAAC,CAAC,KAAI,CAAC6F,QAAN,CAAD,CACGc,WADH,CACe2L,qBADf,CAEGlB,CAAAA,QAFH,CAEeiB,mBAFf,SAEsC9M,iBAFtC,CAAA,CAAA;EAIA,MAAA,KAAI,CAACM,QAAL,CAAcwO,KAAd,CAAoBF,SAApB,IAAiC,EAAjC,CAAA;;QAEA,KAAI,CAACI,gBAAL,CAAsB,KAAtB,CAAA,CAAA;;QAEAvU,qBAAC,CAAC,KAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBgQ,aAAzB,CAAA,CAAA;OATF,CAAA;;EAYA,IAAA,IAAM8B,oBAAoB,GAAGN,SAAS,CAAC,CAAD,CAAT,CAAarQ,WAAb,EAAA,GAA6BqQ,SAAS,CAACvK,KAAV,CAAgB,CAAhB,CAA1D,CAAA;MACA,IAAM8K,UAAU,cAAYD,oBAA5B,CAAA;MACA,IAAMvS,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAK4D,QAA3C,CAA3B,CAAA;EAEA7F,IAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGlF,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;MAIA,IAAK2D,CAAAA,QAAL,CAAcwO,KAAd,CAAoBF,SAApB,IAAoC,IAAKtO,CAAAA,QAAL,CAAc6O,UAAd,CAApC,GAAA,IAAA,CAAA;;;EAGFb,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACL,IAAA,IAAI,IAAKb,CAAAA,gBAAL,IACF,CAAChT,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BrB,iBAA1B,CADH,EAC+C;EAC7C,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAM2O,UAAU,GAAGlU,qBAAC,CAAC0G,KAAF,CAAQkM,YAAR,CAAnB,CAAA;EACA5S,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBuR,UAAzB,CAAA,CAAA;;EACA,IAAA,IAAIA,UAAU,CAAC/N,kBAAX,EAAJ,EAAqC;EACnC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMgO,SAAS,GAAG,IAAKC,CAAAA,aAAL,EAAlB,CAAA;;EAEA,IAAA,IAAA,CAAKvO,QAAL,CAAcwO,KAAd,CAAoBF,SAApB,CAAA,GAAoC,IAAKtO,CAAAA,QAAL,CAAc8O,qBAAd,EAAsCR,CAAAA,SAAtC,CAApC,GAAA,IAAA,CAAA;EAEAvT,IAAAA,IAAI,CAAC6B,MAAL,CAAY,IAAA,CAAKoD,QAAjB,CAAA,CAAA;EAEA7F,IAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGuL,QADH,CACYkB,qBADZ,CAEG3L,CAAAA,WAFH,CAEkB0L,mBAFlB,SAEyC9M,iBAFzC,CAAA,CAAA;EAIA,IAAA,IAAMqP,kBAAkB,GAAG,IAAK3B,CAAAA,aAAL,CAAmBjJ,MAA9C,CAAA;;MACA,IAAI4K,kBAAkB,GAAG,CAAzB,EAA4B;QAC1B,KAAK,IAAI9K,CAAC,GAAG,CAAb,EAAgBA,CAAC,GAAG8K,kBAApB,EAAwC9K,CAAC,EAAzC,EAA6C;EAC3C,QAAA,IAAMnH,OAAO,GAAG,IAAA,CAAKsQ,aAAL,CAAmBnJ,CAAnB,CAAhB,CAAA;EACA,QAAA,IAAMnI,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4BkB,OAA5B,CAAjB,CAAA;;UAEA,IAAIhB,QAAQ,KAAK,IAAjB,EAAuB;EACrB,UAAA,IAAMkT,KAAK,GAAG7U,qBAAC,CAAC,EAAA,CAAG4J,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BlI,QAA1B,CAAd,CAAD,CAAf,CAAA;;EACA,UAAA,IAAI,CAACkT,KAAK,CAACjO,QAAN,CAAerB,iBAAf,CAAL,EAAsC;EACpCvF,YAAAA,qBAAC,CAAC2C,OAAD,CAAD,CAAWyO,QAAX,CAAoBmB,oBAApB,CAAA,CACG+B,IADH,CACQ,eADR,EACyB,KADzB,CAAA,CAAA;EAED,WAAA;EACF,SAAA;EACF,OAAA;EACF,KAAA;;MAED,IAAKC,CAAAA,gBAAL,CAAsB,IAAtB,CAAA,CAAA;;EAEA,IAAA,IAAMC,QAAQ,GAAG,SAAXA,QAAW,GAAM;QACrB,MAAI,CAACD,gBAAL,CAAsB,KAAtB,CAAA,CAAA;;EACAvU,MAAAA,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CACGc,WADH,CACe2L,qBADf,CAAA,CAEGlB,QAFH,CAEYiB,mBAFZ,CAGG1P,CAAAA,OAHH,CAGWkQ,cAHX,CAAA,CAAA;OAFF,CAAA;;EAQA,IAAA,IAAA,CAAKhN,QAAL,CAAcwO,KAAd,CAAoBF,SAApB,IAAiC,EAAjC,CAAA;MACA,IAAMjS,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAK4D,QAA3C,CAA3B,CAAA;EAEA7F,IAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGlF,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;;;WAKFqS,mBAAA,SAAiBO,gBAAAA,CAAAA,eAAjB,EAAkC;MAChC,IAAK9B,CAAAA,gBAAL,GAAwB8B,eAAxB,CAAA;;;EAGFzO,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MAEA,IAAKsI,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAKmG,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAK7N,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKoN,CAAAA,aAAL,GAAqB,IAArB,CAAA;MACA,IAAKD,CAAAA,gBAAL,GAAwB,IAAxB,CAAA;EACD;;;WAGDxF,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;EACjBA,IAAAA,MAAM,GACDiJ,QAAAA,CAAAA,EAAAA,EAAAA,SADC,EAEDjJ,MAFC,CAAN,CAAA;MAIAA,MAAM,CAACsF,MAAP,GAAgB3F,OAAO,CAACK,MAAM,CAACsF,MAAR,CAAvB,CALiB;;EAMjB5H,IAAAA,IAAI,CAACoC,eAAL,CAAqB+B,MAArB,EAA2B7B,MAA3B,EAAmCwJ,aAAnC,CAAA,CAAA;EACA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGFkR,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;MACd,IAAMW,QAAQ,GAAG/U,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0B4L,eAA1B,CAAjB,CAAA;EACA,IAAA,OAAOuC,QAAQ,GAAGvC,eAAH,GAAqBC,gBAApC,CAAA;;;EAGFkB,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACX,IAAA,IAAIpN,MAAJ,CAAA;;MAEA,IAAI3F,IAAI,CAACkC,SAAL,CAAe,KAAKyK,OAAL,CAAahH,MAA5B,CAAJ,EAAyC;EACvCA,MAAAA,MAAM,GAAG,IAAKgH,CAAAA,OAAL,CAAahH,MAAtB,CADuC;;QAIvC,IAAI,OAAO,KAAKgH,OAAL,CAAahH,MAAb,CAAoB9B,MAA3B,KAAsC,WAA1C,EAAuD;EACrD8B,QAAAA,MAAM,GAAG,IAAKgH,CAAAA,OAAL,CAAahH,MAAb,CAAoB,CAApB,CAAT,CAAA;EACD,OAAA;EACF,KAPD,MAOO;QACLA,MAAM,GAAGhF,QAAQ,CAACQ,aAAT,CAAuB,IAAKwL,CAAAA,OAAL,CAAahH,MAApC,CAAT,CAAA;EACD,KAAA;;EAED,IAAA,IAAM5E,QAAQ,GAA4C,2CAAA,GAAA,IAAA,CAAK4L,OAAL,CAAahH,MAAzD,GAAd,KAAA,CAAA;EACA,IAAA,IAAM4K,QAAQ,GAAG,EAAGvH,CAAAA,KAAH,CAASpK,IAAT,CAAc+G,MAAM,CAACsD,gBAAP,CAAwBlI,QAAxB,CAAd,CAAjB,CAAA;MAEA3B,qBAAC,CAACmR,QAAD,CAAD,CAAYlK,IAAZ,CAAiB,UAAC6C,CAAD,EAAIpI,OAAJ,EAAgB;EAC/B,MAAA,MAAI,CAACkS,yBAAL,CACEb,QAAQ,CAACiC,qBAAT,CAA+BtT,OAA/B,CADF,EAEE,CAACA,OAAD,CAFF,CAAA,CAAA;OADF,CAAA,CAAA;EAOA,IAAA,OAAO6E,MAAP,CAAA;;;EAGFqN,EAAAA,MAAAA,CAAAA,4BAAA,SAAA,yBAAA,CAA0BlS,OAA1B,EAAmCuT,YAAnC,EAAiD;MAC/C,IAAMC,MAAM,GAAGlV,qBAAC,CAAC0B,OAAD,CAAD,CAAWkF,QAAX,CAAoBrB,iBAApB,CAAf,CAAA;;MAEA,IAAI0P,YAAY,CAACjL,MAAjB,EAAyB;EACvBhK,MAAAA,qBAAC,CAACiV,YAAD,CAAD,CACG7L,WADH,CACemJ,oBADf,EACqC,CAAC2C,MADtC,CAEGZ,CAAAA,IAFH,CAEQ,eAFR,EAEyBY,MAFzB,CAAA,CAAA;EAGD,KAAA;EACF;;;aAGMF,wBAAP,SAA6BtT,qBAAAA,CAAAA,OAA7B,EAAsC;EACpC,IAAA,IAAMC,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4BC,OAA5B,CAAjB,CAAA;MACA,OAAOC,QAAQ,GAAGJ,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAH,GAAsC,IAArD,CAAA;;;aAGKqF,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMC,QAAQ,GAAGlH,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAclC,UAAd,CAAX,CAAA;;EACA,MAAA,IAAMsI,OAAO,GACRpB,QAAAA,CAAAA,EAAAA,EAAAA,SADQ,EAERjF,QAAQ,CAACC,IAAT,EAFQ,EAGP,OAAOjE,MAAP,KAAkB,QAAlB,IAA8BA,MAA9B,GAAuCA,MAAvC,GAAgD,EAHzC,CAAb,CAAA;;EAMA,MAAA,IAAI,CAACiE,IAAD,IAASoG,OAAO,CAAC/E,MAAjB,IAA2B,OAAOtF,MAAP,KAAkB,QAA7C,IAAyD,WAAA,CAAYU,IAAZ,CAAiBV,MAAjB,CAA7D,EAAuF;UACrFqK,OAAO,CAAC/E,MAAR,GAAiB,KAAjB,CAAA;EACD,OAAA;;QAED,IAAI,CAACrB,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAI4L,QAAJ,CAAa,IAAb,EAAmBxF,OAAnB,CAAP,CAAA;EACArG,QAAAA,QAAQ,CAACC,IAAT,CAAclC,UAAd,EAAwBkC,IAAxB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KAzBM,CAAP,CAAA;;;;;WAtOF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;;;EA6PH;EACA;EACA;;;AAEAnM,uBAAC,CAACuB,QAAD,CAAD,CAAYgG,EAAZ,CAAe7B,sBAAf,EAAqCuC,sBAArC,EAA2D,UAAUlI,KAAV,EAAiB;EAC1E;EACA,EAAA,IAAIA,KAAK,CAACoV,aAAN,CAAoB1L,OAApB,KAAgC,GAApC,EAAyC;EACvC1J,IAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACD,GAAA;;EAED,EAAA,IAAM8N,QAAQ,GAAGpV,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,EAAA,IAAM2B,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4B,IAA5B,CAAjB,CAAA;EACA,EAAA,IAAM4T,SAAS,GAAG,EAAGzL,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BlI,QAA1B,CAAd,CAAlB,CAAA;EAEA3B,EAAAA,qBAAC,CAACqV,SAAD,CAAD,CAAapO,IAAb,CAAkB,YAAY;EAC5B,IAAA,IAAMqO,OAAO,GAAGtV,qBAAC,CAAC,IAAD,CAAjB,CAAA;EACA,IAAA,IAAMmH,IAAI,GAAGmO,OAAO,CAACnO,IAAR,CAAalC,UAAb,CAAb,CAAA;MACA,IAAM/B,MAAM,GAAGiE,IAAI,GAAG,QAAH,GAAciO,QAAQ,CAACjO,IAAT,EAAjC,CAAA;;EACA4L,IAAAA,QAAQ,CAAC/L,gBAAT,CAA0BxH,IAA1B,CAA+B8V,OAA/B,EAAwCpS,MAAxC,CAAA,CAAA;KAJF,CAAA,CAAA;EAMD,CAhBD,CAAA,CAAA;EAkBA;EACA;EACA;;AAEAlD,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAagO,GAAAA,QAAQ,CAAC/L,gBAAtB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyBuL,QAAzB,CAAA;;AACA/S,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO2N,QAAQ,CAAC/L,gBAAhB,CAAA;EACD,CAHD;;EC3WA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,UAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,aAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EACA,IAAMwQ,gBAAc,GAAG,EAAvB;;EACA,IAAMC,aAAa,GAAG,EAAtB;;EACA,IAAMC,WAAW,GAAG,CAApB;;EACA,IAAMC,gBAAgB,GAAG,EAAzB;;EACA,IAAMC,kBAAkB,GAAG,EAA3B;;EACA,IAAMC,wBAAwB,GAAG,CAAjC;;EACA,IAAMC,cAAc,GAAG,IAAIlS,MAAJ,CAAc+R,gBAAd,GAAkCC,GAAAA,GAAAA,kBAAlC,GAAwDJ,GAAAA,GAAAA,gBAAxD,CAAvB,CAAA;EAEA,IAAMO,qBAAmB,GAAG,UAA5B,CAAA;EACA,IAAMvQ,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMwQ,iBAAiB,GAAG,QAA1B,CAAA;EACA,IAAMC,oBAAoB,GAAG,WAA7B,CAAA;EACA,IAAMC,mBAAmB,GAAG,UAA5B,CAAA;EACA,IAAMC,oBAAoB,GAAG,qBAA7B,CAAA;EACA,IAAMC,0BAA0B,GAAG,iBAAnC,CAAA;EAEA,IAAMvD,YAAU,YAAU1N,WAA1B,CAAA;EACA,IAAM2N,cAAY,cAAY3N,WAA9B,CAAA;EACA,IAAMwN,YAAU,YAAUxN,WAA1B,CAAA;EACA,IAAMyN,aAAW,aAAWzN,WAA5B,CAAA;EACA,IAAMkR,WAAW,aAAWlR,WAA5B,CAAA;EACA,IAAMQ,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EACA,IAAMkR,sBAAsB,GAAA,SAAA,GAAanR,WAAb,GAAyBC,cAArD,CAAA;EACA,IAAMmR,oBAAoB,GAAA,OAAA,GAAWpR,WAAX,GAAuBC,cAAjD,CAAA;EAEA,IAAM8C,sBAAoB,GAAG,0BAA7B,CAAA;EACA,IAAMsO,mBAAmB,GAAG,gBAA5B,CAAA;EACA,IAAMC,aAAa,GAAG,gBAAtB,CAAA;EACA,IAAMC,mBAAmB,GAAG,aAA5B,CAAA;EACA,IAAMC,sBAAsB,GAAG,6DAA/B,CAAA;EAEA,IAAMC,aAAa,GAAG,WAAtB,CAAA;EACA,IAAMC,gBAAgB,GAAG,SAAzB,CAAA;EACA,IAAMC,gBAAgB,GAAG,cAAzB,CAAA;EACA,IAAMC,mBAAmB,GAAG,YAA5B,CAAA;EACA,IAAMC,eAAe,GAAG,aAAxB,CAAA;EACA,IAAMC,cAAc,GAAG,YAAvB,CAAA;EAEA,IAAM7K,SAAO,GAAG;EACd8K,EAAAA,MAAM,EAAE,CADM;EAEdC,EAAAA,IAAI,EAAE,IAFQ;EAGdC,EAAAA,QAAQ,EAAE,cAHI;EAIdC,EAAAA,SAAS,EAAE,QAJG;EAKdC,EAAAA,OAAO,EAAE,SALK;EAMdC,EAAAA,YAAY,EAAE,IAAA;EANA,CAAhB,CAAA;EASA,IAAM5K,aAAW,GAAG;EAClBuK,EAAAA,MAAM,EAAE,0BADU;EAElBC,EAAAA,IAAI,EAAE,SAFY;EAGlBC,EAAAA,QAAQ,EAAE,kBAHQ;EAIlBC,EAAAA,SAAS,EAAE,kBAJO;EAKlBC,EAAAA,OAAO,EAAE,QALS;EAMlBC,EAAAA,YAAY,EAAE,eAAA;EANI,CAApB,CAAA;EASA;EACA;EACA;;MAEMC;IACJ,SAAY7V,QAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;MAC3B,IAAK2C,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;MACA,IAAK8V,CAAAA,OAAL,GAAe,IAAf,CAAA;EACA,IAAA,IAAA,CAAKjK,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;EACA,IAAA,IAAA,CAAKuU,KAAL,GAAa,IAAKC,CAAAA,eAAL,EAAb,CAAA;EACA,IAAA,IAAA,CAAKC,SAAL,GAAiB,IAAKC,CAAAA,aAAL,EAAjB,CAAA;;EAEA,IAAA,IAAA,CAAK5J,kBAAL,EAAA,CAAA;EACD;;;;;EAeD;EACAxF,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;EACP,IAAA,IAAI,IAAK3C,CAAAA,QAAL,CAAcgS,QAAd,IAA0B7X,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBe,QAAjB,CAA0BkP,qBAA1B,CAA9B,EAA8E;EAC5E,MAAA,OAAA;EACD,KAAA;;MAED,IAAMgC,QAAQ,GAAG9X,qBAAC,CAAC,IAAA,CAAKyX,KAAN,CAAD,CAAc7Q,QAAd,CAAuBrB,iBAAvB,CAAjB,CAAA;;EAEAgS,IAAAA,QAAQ,CAACQ,WAAT,EAAA,CAAA;;EAEA,IAAA,IAAID,QAAJ,EAAc;EACZ,MAAA,OAAA;EACD,KAAA;;MAED,IAAKhE,CAAAA,IAAL,CAAU,IAAV,CAAA,CAAA;;;WAGFA,OAAA,SAAKkE,IAAAA,CAAAA,SAAL,EAAwB;EAAA,IAAA,IAAnBA,SAAmB,KAAA,KAAA,CAAA,EAAA;EAAnBA,MAAAA,SAAmB,GAAP,KAAO,CAAA;EAAA,KAAA;;MACtB,IAAI,IAAA,CAAKnS,QAAL,CAAcgS,QAAd,IAA0B7X,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBe,QAAjB,CAA0BkP,qBAA1B,CAA1B,IAA4E9V,qBAAC,CAAC,IAAKyX,CAAAA,KAAN,CAAD,CAAc7Q,QAAd,CAAuBrB,iBAAvB,CAAhF,EAAyH;EACvH,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMmL,aAAa,GAAG;EACpBA,MAAAA,aAAa,EAAE,IAAK7K,CAAAA,QAAAA;OADtB,CAAA;MAGA,IAAMoS,SAAS,GAAGjY,qBAAC,CAAC0G,KAAF,CAAQgM,YAAR,EAAoBhC,aAApB,CAAlB,CAAA;;MACA,IAAMnK,MAAM,GAAGgR,QAAQ,CAACW,qBAAT,CAA+B,IAAA,CAAKrS,QAApC,CAAf,CAAA;;EAEA7F,IAAAA,qBAAC,CAACuG,MAAD,CAAD,CAAU5D,OAAV,CAAkBsV,SAAlB,CAAA,CAAA;;EAEA,IAAA,IAAIA,SAAS,CAAC9R,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAfqB;;;EAkBtB,IAAA,IAAI,CAAC,IAAA,CAAKwR,SAAN,IAAmBK,SAAvB,EAAkC;EAChC;EACA,MAAA,IAAI,OAAOG,0BAAP,KAAkB,WAAtB,EAAmC;EACjC,QAAA,MAAM,IAAI5T,SAAJ,CAAc,+DAAd,CAAN,CAAA;EACD,OAAA;;QAED,IAAI6T,gBAAgB,GAAG,IAAA,CAAKvS,QAA5B,CAAA;;EAEA,MAAA,IAAI,KAAK0H,OAAL,CAAa6J,SAAb,KAA2B,QAA/B,EAAyC;EACvCgB,QAAAA,gBAAgB,GAAG7R,MAAnB,CAAA;SADF,MAEO,IAAI3F,IAAI,CAACkC,SAAL,CAAe,IAAA,CAAKyK,OAAL,CAAa6J,SAA5B,CAAJ,EAA4C;EACjDgB,QAAAA,gBAAgB,GAAG,IAAK7K,CAAAA,OAAL,CAAa6J,SAAhC,CADiD;;UAIjD,IAAI,OAAO,KAAK7J,OAAL,CAAa6J,SAAb,CAAuB3S,MAA9B,KAAyC,WAA7C,EAA0D;EACxD2T,UAAAA,gBAAgB,GAAG,IAAK7K,CAAAA,OAAL,CAAa6J,SAAb,CAAuB,CAAvB,CAAnB,CAAA;EACD,SAAA;EACF,OAjB+B;EAoBhC;EACA;;;EACA,MAAA,IAAI,KAAK7J,OAAL,CAAa4J,QAAb,KAA0B,cAA9B,EAA8C;EAC5CnX,QAAAA,qBAAC,CAACuG,MAAD,CAAD,CAAU6K,QAAV,CAAmB+E,0BAAnB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAA,CAAKqB,OAAL,GAAe,IAAIW,0BAAJ,CAAWC,gBAAX,EAA6B,IAAA,CAAKX,KAAlC,EAAyC,IAAKY,CAAAA,gBAAL,EAAzC,CAAf,CAAA;EACD,KA7CqB;EAgDtB;EACA;EACA;;;EACA,IAAA,IAAI,kBAAkB9W,QAAQ,CAACyC,eAA3B,IACAhE,qBAAC,CAACuG,MAAD,CAAD,CAAUC,OAAV,CAAkBiQ,mBAAlB,EAAuCzM,MAAvC,KAAkD,CADtD,EACyD;EACvDhK,MAAAA,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnH,QAAjB,EAAA,CAA4B5J,EAA5B,CAA+B,WAA/B,EAA4C,IAA5C,EAAkDvH,qBAAC,CAACuY,IAApD,CAAA,CAAA;EACD,KAAA;;MAED,IAAK1S,CAAAA,QAAL,CAAcoD,KAAd,EAAA,CAAA;;EACA,IAAA,IAAA,CAAKpD,QAAL,CAAcsD,YAAd,CAA2B,eAA3B,EAA4C,IAA5C,CAAA,CAAA;;EAEAnJ,IAAAA,qBAAC,CAAC,IAAKyX,CAAAA,KAAN,CAAD,CAAcrO,WAAd,CAA0B7D,iBAA1B,CAAA,CAAA;EACAvF,IAAAA,qBAAC,CAACuG,MAAD,CAAD,CACG6C,WADH,CACe7D,iBADf,CAAA,CAEG5C,OAFH,CAEW3C,qBAAC,CAAC0G,KAAF,CAAQiM,aAAR,EAAqBjC,aAArB,CAFX,CAAA,CAAA;;;EAKFmD,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;MACL,IAAI,IAAA,CAAKhO,QAAL,CAAcgS,QAAd,IAA0B7X,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBe,QAAjB,CAA0BkP,qBAA1B,CAA1B,IAA4E,CAAC9V,qBAAC,CAAC,IAAKyX,CAAAA,KAAN,CAAD,CAAc7Q,QAAd,CAAuBrB,iBAAvB,CAAjF,EAA0H;EACxH,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMmL,aAAa,GAAG;EACpBA,MAAAA,aAAa,EAAE,IAAK7K,CAAAA,QAAAA;OADtB,CAAA;MAGA,IAAM2S,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQkM,YAAR,EAAoBlC,aAApB,CAAlB,CAAA;;MACA,IAAMnK,MAAM,GAAGgR,QAAQ,CAACW,qBAAT,CAA+B,IAAA,CAAKrS,QAApC,CAAf,CAAA;;EAEA7F,IAAAA,qBAAC,CAACuG,MAAD,CAAD,CAAU5D,OAAV,CAAkB6V,SAAlB,CAAA,CAAA;;EAEA,IAAA,IAAIA,SAAS,CAACrS,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;MAED,IAAI,IAAA,CAAKqR,OAAT,EAAkB;QAChB,IAAKA,CAAAA,OAAL,CAAaiB,OAAb,EAAA,CAAA;EACD,KAAA;;EAEDzY,IAAAA,qBAAC,CAAC,IAAKyX,CAAAA,KAAN,CAAD,CAAcrO,WAAd,CAA0B7D,iBAA1B,CAAA,CAAA;EACAvF,IAAAA,qBAAC,CAACuG,MAAD,CAAD,CACG6C,WADH,CACe7D,iBADf,CAAA,CAEG5C,OAFH,CAEW3C,qBAAC,CAAC0G,KAAF,CAAQmM,cAAR,EAAsBnC,aAAtB,CAFX,CAAA,CAAA;;;EAKFrK,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;EACAjF,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqB/J,WAArB,CAAA,CAAA;MACA,IAAKW,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAK4R,CAAAA,KAAL,GAAa,IAAb,CAAA;;EACA,IAAA,IAAI,IAAKD,CAAAA,OAAL,KAAiB,IAArB,EAA2B;QACzB,IAAKA,CAAAA,OAAL,CAAaiB,OAAb,EAAA,CAAA;;QACA,IAAKjB,CAAAA,OAAL,GAAe,IAAf,CAAA;EACD,KAAA;;;EAGHkB,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;EACP,IAAA,IAAA,CAAKf,SAAL,GAAiB,IAAKC,CAAAA,aAAL,EAAjB,CAAA;;EACA,IAAA,IAAI,IAAKJ,CAAAA,OAAL,KAAiB,IAArB,EAA2B;QACzB,IAAKA,CAAAA,OAAL,CAAamB,cAAb,EAAA,CAAA;EACD,KAAA;EACF;;;EAGD3K,EAAAA,MAAAA,CAAAA,qBAAA,SAAqB,kBAAA,GAAA;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;MACnBhO,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoB6O,WAApB,EAAiC,UAAArW,KAAK,EAAI;EACxCA,MAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACAvH,MAAAA,KAAK,CAAC6Y,eAAN,EAAA,CAAA;;EACA,MAAA,KAAI,CAACpQ,MAAL,EAAA,CAAA;OAHF,CAAA,CAAA;;;WAOFgF,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;EACjBA,IAAAA,MAAM,gBACD,IAAK2V,CAAAA,WAAL,CAAiB1M,OADhB,EAEDnM,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBsB,IAAjB,EAFC,EAGDjE,MAHC,CAAN,CAAA;MAMAtC,IAAI,CAACoC,eAAL,CACE+B,MADF,EAEE7B,MAFF,EAGE,IAAA,CAAK2V,WAAL,CAAiBnM,WAHnB,CAAA,CAAA;EAMA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGFwU,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;MAChB,IAAI,CAAC,IAAKD,CAAAA,KAAV,EAAiB;QACf,IAAMlR,MAAM,GAAGgR,QAAQ,CAACW,qBAAT,CAA+B,IAAA,CAAKrS,QAApC,CAAf,CAAA;;EAEA,MAAA,IAAIU,MAAJ,EAAY;EACV,QAAA,IAAA,CAAKkR,KAAL,GAAalR,MAAM,CAACxE,aAAP,CAAqByU,aAArB,CAAb,CAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,OAAO,KAAKiB,KAAZ,CAAA;;;EAGFqB,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;MACd,IAAMC,eAAe,GAAG/Y,qBAAC,CAAC,KAAK6F,QAAL,CAAcxB,UAAf,CAAzB,CAAA;EACA,IAAA,IAAI2U,SAAS,GAAGnC,gBAAhB,CAFc;;EAKd,IAAA,IAAIkC,eAAe,CAACnS,QAAhB,CAAyBmP,iBAAzB,CAAJ,EAAiD;EAC/CiD,MAAAA,SAAS,GAAGhZ,qBAAC,CAAC,IAAA,CAAKyX,KAAN,CAAD,CAAc7Q,QAAd,CAAuBsP,oBAAvB,CACVU,GAAAA,gBADU,GAEVD,aAFF,CAAA;OADF,MAIO,IAAIoC,eAAe,CAACnS,QAAhB,CAAyBoP,oBAAzB,CAAJ,EAAoD;EACzDgD,MAAAA,SAAS,GAAGjC,eAAZ,CAAA;OADK,MAEA,IAAIgC,eAAe,CAACnS,QAAhB,CAAyBqP,mBAAzB,CAAJ,EAAmD;EACxD+C,MAAAA,SAAS,GAAGhC,cAAZ,CAAA;EACD,KAFM,MAEA,IAAIhX,qBAAC,CAAC,IAAKyX,CAAAA,KAAN,CAAD,CAAc7Q,QAAd,CAAuBsP,oBAAvB,CAAJ,EAAkD;EACvD8C,MAAAA,SAAS,GAAGlC,mBAAZ,CAAA;EACD,KAAA;;EAED,IAAA,OAAOkC,SAAP,CAAA;;;EAGFpB,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,OAAO5X,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBW,OAAjB,CAAyB,SAAzB,CAAA,CAAoCwD,MAApC,GAA6C,CAApD,CAAA;;;EAGFiP,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACX,IAAMhC,MAAM,GAAG,EAAf,CAAA;;EAEA,IAAA,IAAI,OAAO,IAAK1J,CAAAA,OAAL,CAAa0J,MAApB,KAA+B,UAAnC,EAA+C;EAC7CA,MAAAA,MAAM,CAACjW,EAAP,GAAY,UAAAmG,IAAI,EAAI;UAClBA,IAAI,CAAC+R,OAAL,GACK/R,QAAAA,CAAAA,EAAAA,EAAAA,IAAI,CAAC+R,OADV,EAEK,MAAI,CAAC3L,OAAL,CAAa0J,MAAb,CAAoB9P,IAAI,CAAC+R,OAAzB,EAAkC,MAAI,CAACrT,QAAvC,CAFL,CAAA,CAAA;EAKA,QAAA,OAAOsB,IAAP,CAAA;SANF,CAAA;EAQD,KATD,MASO;EACL8P,MAAAA,MAAM,CAACA,MAAP,GAAgB,IAAK1J,CAAAA,OAAL,CAAa0J,MAA7B,CAAA;EACD,KAAA;;EAED,IAAA,OAAOA,MAAP,CAAA;;;EAGFoB,EAAAA,MAAAA,CAAAA,mBAAA,SAAmB,gBAAA,GAAA;EACjB,IAAA,IAAMf,YAAY,GAAG;QACnB0B,SAAS,EAAE,IAAKF,CAAAA,aAAL,EADQ;EAEnBK,MAAAA,SAAS,EAAE;UACTlC,MAAM,EAAE,IAAKgC,CAAAA,UAAL,EADC;EAET/B,QAAAA,IAAI,EAAE;YACJkC,OAAO,EAAE,IAAK7L,CAAAA,OAAL,CAAa2J,IAAAA;WAHf;EAKTmC,QAAAA,eAAe,EAAE;YACfC,iBAAiB,EAAE,IAAK/L,CAAAA,OAAL,CAAa4J,QAAAA;EADjB,SAAA;EALR,OAAA;EAFQ,KAArB,CADiB;;EAejB,IAAA,IAAI,KAAK5J,OAAL,CAAa8J,OAAb,KAAyB,QAA7B,EAAuC;EACrCC,MAAAA,YAAY,CAAC6B,SAAb,CAAuBI,UAAvB,GAAoC;EAClCH,QAAAA,OAAO,EAAE,KAAA;SADX,CAAA;EAGD,KAAA;;EAED,IAAA,OAAA,QAAA,CAAA,EAAA,EACK9B,YADL,EAEK,IAAK/J,CAAAA,OAAL,CAAa+J,YAFlB,CAAA,CAAA;EAID;;;aAGMtQ,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;QAC3B,IAAIE,IAAI,GAAGnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,CAAX,CAAA;;QACA,IAAMsI,OAAO,GAAG,OAAOrK,MAAP,KAAkB,QAAlB,GAA6BA,MAA7B,GAAsC,IAAtD,CAAA;;QAEA,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAIoQ,QAAJ,CAAa,IAAb,EAAmBhK,OAAnB,CAAP,CAAA;UACAvN,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,EAAuBkC,IAAvB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KAhBM,CAAP,CAAA;;;aAmBK6U,cAAP,SAAmBhY,WAAAA,CAAAA,KAAnB,EAA0B;MACxB,IAAIA,KAAK,KAAKA,KAAK,CAACiQ,KAAN,KAAgB4F,wBAAhB,IACZ7V,KAAK,CAAC6I,IAAN,KAAe,OAAf,IAA0B7I,KAAK,CAACiQ,KAAN,KAAgByF,WADnC,CAAT,EAC0D;EACxD,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAM+D,OAAO,GAAG,EAAG5P,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B5B,sBAA1B,CAAd,CAAhB,CAAA;;EAEA,IAAA,KAAK,IAAI6B,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAGyP,OAAO,CAACxP,MAA9B,EAAsCF,CAAC,GAAGC,GAA1C,EAA+CD,CAAC,EAAhD,EAAoD;QAClD,IAAMvD,MAAM,GAAGgR,QAAQ,CAACW,qBAAT,CAA+BsB,OAAO,CAAC1P,CAAD,CAAtC,CAAf,CAAA;;EACA,MAAA,IAAM2P,OAAO,GAAGzZ,qBAAC,CAACwZ,OAAO,CAAC1P,CAAD,CAAR,CAAD,CAAc3C,IAAd,CAAmBlC,UAAnB,CAAhB,CAAA;EACA,MAAA,IAAMyL,aAAa,GAAG;UACpBA,aAAa,EAAE8I,OAAO,CAAC1P,CAAD,CAAA;SADxB,CAAA;;EAIA,MAAA,IAAI/J,KAAK,IAAIA,KAAK,CAAC6I,IAAN,KAAe,OAA5B,EAAqC;UACnC8H,aAAa,CAACgJ,UAAd,GAA2B3Z,KAA3B,CAAA;EACD,OAAA;;QAED,IAAI,CAAC0Z,OAAL,EAAc;EACZ,QAAA,SAAA;EACD,OAAA;;EAED,MAAA,IAAME,YAAY,GAAGF,OAAO,CAAChC,KAA7B,CAAA;;QACA,IAAI,CAACzX,qBAAC,CAACuG,MAAD,CAAD,CAAUK,QAAV,CAAmBrB,iBAAnB,CAAL,EAA0C;EACxC,QAAA,SAAA;EACD,OAAA;;EAED,MAAA,IAAIxF,KAAK,KAAKA,KAAK,CAAC6I,IAAN,KAAe,OAAf,IACV,iBAAA,CAAkBhF,IAAlB,CAAuB7D,KAAK,CAACE,MAAN,CAAawJ,OAApC,CADU,IACsC1J,KAAK,CAAC6I,IAAN,KAAe,OAAf,IAA0B7I,KAAK,CAACiQ,KAAN,KAAgByF,WADrF,CAAL,IAEAzV,qBAAC,CAAC+I,QAAF,CAAWxC,MAAX,EAAmBxG,KAAK,CAACE,MAAzB,CAFJ,EAEsC;EACpC,QAAA,SAAA;EACD,OAAA;;QAED,IAAMuY,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQkM,YAAR,EAAoBlC,aAApB,CAAlB,CAAA;EACA1Q,MAAAA,qBAAC,CAACuG,MAAD,CAAD,CAAU5D,OAAV,CAAkB6V,SAAlB,CAAA,CAAA;;EACA,MAAA,IAAIA,SAAS,CAACrS,kBAAV,EAAJ,EAAoC;EAClC,QAAA,SAAA;EACD,OA9BiD;EAiClD;;;EACA,MAAA,IAAI,cAAkB5E,IAAAA,QAAQ,CAACyC,eAA/B,EAAgD;EAC9ChE,QAAAA,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnH,QAAjB,EAAA,CAA4BlC,GAA5B,CAAgC,WAAhC,EAA6C,IAA7C,EAAmDjP,qBAAC,CAACuY,IAArD,CAAA,CAAA;EACD,OAAA;;QAEDiB,OAAO,CAAC1P,CAAD,CAAP,CAAWX,YAAX,CAAwB,eAAxB,EAAyC,OAAzC,CAAA,CAAA;;QAEA,IAAIsQ,OAAO,CAACjC,OAAZ,EAAqB;UACnBiC,OAAO,CAACjC,OAAR,CAAgBiB,OAAhB,EAAA,CAAA;EACD,OAAA;;EAEDzY,MAAAA,qBAAC,CAAC2Z,YAAD,CAAD,CAAgBhT,WAAhB,CAA4BpB,iBAA5B,CAAA,CAAA;EACAvF,MAAAA,qBAAC,CAACuG,MAAD,CAAD,CACGI,WADH,CACepB,iBADf,CAAA,CAEG5C,OAFH,CAEW3C,qBAAC,CAAC0G,KAAF,CAAQmM,cAAR,EAAsBnC,aAAtB,CAFX,CAAA,CAAA;EAGD,KAAA;;;aAGIwH,wBAAP,SAA6BxW,qBAAAA,CAAAA,OAA7B,EAAsC;EACpC,IAAA,IAAI6E,MAAJ,CAAA;EACA,IAAA,IAAM5E,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4BC,OAA5B,CAAjB,CAAA;;EAEA,IAAA,IAAIC,QAAJ,EAAc;EACZ4E,MAAAA,MAAM,GAAGhF,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAT,CAAA;EACD,KAAA;;EAED,IAAA,OAAO4E,MAAM,IAAI7E,OAAO,CAAC2C,UAAzB,CAAA;EACD;;;aAGMuV,yBAAP,SAA8B7Z,sBAAAA,CAAAA,KAA9B,EAAqC;EACnC;EACA;EACA;EACA;EACA;EACA;EACA;MACA,IAAI,iBAAA,CAAkB6D,IAAlB,CAAuB7D,KAAK,CAACE,MAAN,CAAawJ,OAApC,CAAA,GACF1J,KAAK,CAACiQ,KAAN,KAAgBwF,aAAhB,IAAiCzV,KAAK,CAACiQ,KAAN,KAAgBuF,gBAAhB,KAChCxV,KAAK,CAACiQ,KAAN,KAAgB2F,kBAAhB,IAAsC5V,KAAK,CAACiQ,KAAN,KAAgB0F,gBAAtD,IACC1V,qBAAC,CAACD,KAAK,CAACE,MAAP,CAAD,CAAgBuG,OAAhB,CAAwBgQ,aAAxB,EAAuCxM,MAFR,CAD/B,GAGiD,CAAC6L,cAAc,CAACjS,IAAf,CAAoB7D,KAAK,CAACiQ,KAA1B,CAHtD,EAGwF;EACtF,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAI,IAAK6H,CAAAA,QAAL,IAAiB7X,qBAAC,CAAC,IAAD,CAAD,CAAQ4G,QAAR,CAAiBkP,qBAAjB,CAArB,EAA4D;EAC1D,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMvP,MAAM,GAAGgR,QAAQ,CAACW,qBAAT,CAA+B,IAA/B,CAAf,CAAA;;MACA,IAAMJ,QAAQ,GAAG9X,qBAAC,CAACuG,MAAD,CAAD,CAAUK,QAAV,CAAmBrB,iBAAnB,CAAjB,CAAA;;MAEA,IAAI,CAACuS,QAAD,IAAa/X,KAAK,CAACiQ,KAAN,KAAgBuF,gBAAjC,EAAiD;EAC/C,MAAA,OAAA;EACD,KAAA;;EAEDxV,IAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACAvH,IAAAA,KAAK,CAAC6Y,eAAN,EAAA,CAAA;;EAEA,IAAA,IAAI,CAACd,QAAD,IAAc/X,KAAK,CAACiQ,KAAN,KAAgBuF,gBAAhB,IAAkCxV,KAAK,CAACiQ,KAAN,KAAgBwF,aAApE,EAAoF;EAClF,MAAA,IAAIzV,KAAK,CAACiQ,KAAN,KAAgBuF,gBAApB,EAAoC;UAClCvV,qBAAC,CAACuG,MAAM,CAACxE,aAAP,CAAqBkG,sBAArB,CAAD,CAAD,CAA8CtF,OAA9C,CAAsD,OAAtD,CAAA,CAAA;EACD,OAAA;;EAED3C,MAAAA,qBAAC,CAAC,IAAD,CAAD,CAAQ2C,OAAR,CAAgB,OAAhB,CAAA,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMkX,KAAK,GAAG,EAAA,CAAGjQ,KAAH,CAASpK,IAAT,CAAc+G,MAAM,CAACsD,gBAAP,CAAwB6M,sBAAxB,CAAd,EACXpD,MADW,CACJ,UAAAwG,IAAI,EAAA;QAAA,OAAI9Z,qBAAC,CAAC8Z,IAAD,CAAD,CAAQ5Z,EAAR,CAAW,UAAX,CAAJ,CAAA;EAAA,KADA,CAAd,CAAA;;EAGA,IAAA,IAAI2Z,KAAK,CAAC7P,MAAN,KAAiB,CAArB,EAAwB;EACtB,MAAA,OAAA;EACD,KAAA;;MAED,IAAI6E,KAAK,GAAGgL,KAAK,CAAC5J,OAAN,CAAclQ,KAAK,CAACE,MAApB,CAAZ,CAAA;;MAEA,IAAIF,KAAK,CAACiQ,KAAN,KAAgB0F,gBAAhB,IAAoC7G,KAAK,GAAG,CAAhD,EAAmD;EAAE;QACnDA,KAAK,EAAA,CAAA;EACN,KAAA;;EAED,IAAA,IAAI9O,KAAK,CAACiQ,KAAN,KAAgB2F,kBAAhB,IAAsC9G,KAAK,GAAGgL,KAAK,CAAC7P,MAAN,GAAe,CAAjE,EAAoE;EAAE;QACpE6E,KAAK,EAAA,CAAA;EACN,KAAA;;MAED,IAAIA,KAAK,GAAG,CAAZ,EAAe;EACbA,MAAAA,KAAK,GAAG,CAAR,CAAA;EACD,KAAA;;EAEDgL,IAAAA,KAAK,CAAChL,KAAD,CAAL,CAAa5F,KAAb,EAAA,CAAA;;;;;WA7YF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOjE,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;WAED,SAAyB,GAAA,GAAA;EACvB,MAAA,OAAOO,aAAP,CAAA;EACD,KAAA;;;;;EAuYH;EACA;EACA;;;AAEA1M,uBAAC,CAACuB,QAAD,CAAD,CACGgG,EADH,CACM8O,sBADN,EAC8BpO,sBAD9B,EACoDsP,QAAQ,CAACqC,sBAD7D,CAEGrS,CAAAA,EAFH,CAEM8O,sBAFN,EAE8BG,aAF9B,EAE6Ce,QAAQ,CAACqC,sBAFtD,EAGGrS,EAHH,CAGS7B,sBAHT,GAGiC4Q,GAAAA,GAAAA,oBAHjC,EAGyDiB,QAAQ,CAACQ,WAHlE,CAIGxQ,CAAAA,EAJH,CAIM7B,sBAJN,EAI4BuC,sBAJ5B,EAIkD,UAAUlI,KAAV,EAAiB;EAC/DA,EAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACAvH,EAAAA,KAAK,CAAC6Y,eAAN,EAAA,CAAA;;IACArB,QAAQ,CAACvQ,gBAAT,CAA0BxH,IAA1B,CAA+BQ,qBAAC,CAAC,IAAD,CAAhC,EAAwC,QAAxC,CAAA,CAAA;EACD,CARH,CAAA,CASGuH,EATH,CASM7B,sBATN,EAS4B6Q,mBAT5B,EASiD,UAAAxG,CAAC,EAAI;EAClDA,EAAAA,CAAC,CAAC6I,eAAF,EAAA,CAAA;EACD,CAXH,CAAA,CAAA;EAaA;EACA;EACA;;AAEA5Y,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAawS,GAAAA,QAAQ,CAACvQ,gBAAtB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyB+P,QAAzB,CAAA;;AACAvX,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAOmS,QAAQ,CAACvQ,gBAAhB,CAAA;EACD,CAHD;;EC3fA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,OAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,UAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EACA,IAAMwQ,cAAc,GAAG,EAAvB;;EAEA,IAAMwE,qBAAqB,GAAG,yBAA9B,CAAA;EACA,IAAMC,6BAA6B,GAAG,yBAAtC,CAAA;EACA,IAAMC,mBAAmB,GAAG,gBAA5B,CAAA;EACA,IAAMC,eAAe,GAAG,YAAxB,CAAA;EACA,IAAM5U,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAM4U,iBAAiB,GAAG,cAA1B,CAAA;EAEA,IAAMvH,YAAU,YAAU1N,WAA1B,CAAA;EACA,IAAMkV,oBAAoB,qBAAmBlV,WAA7C,CAAA;EACA,IAAM2N,cAAY,cAAY3N,WAA9B,CAAA;EACA,IAAMwN,YAAU,YAAUxN,WAA1B,CAAA;EACA,IAAMyN,aAAW,aAAWzN,WAA5B,CAAA;EACA,IAAMmV,aAAa,eAAanV,WAAhC,CAAA;EACA,IAAMoV,YAAY,cAAYpV,WAA9B,CAAA;EACA,IAAMqV,qBAAmB,qBAAmBrV,WAA5C,CAAA;EACA,IAAMsV,qBAAqB,uBAAqBtV,WAAhD,CAAA;EACA,IAAMuV,qBAAqB,uBAAqBvV,WAAhD,CAAA;EACA,IAAMwV,uBAAuB,yBAAuBxV,WAApD,CAAA;EACA,IAAMQ,sBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,cAAjD,CAAA;EAEA,IAAMwV,eAAe,GAAG,eAAxB,CAAA;EACA,IAAMC,mBAAmB,GAAG,aAA5B,CAAA;EACA,IAAM3S,sBAAoB,GAAG,uBAA7B,CAAA;EACA,IAAM4S,uBAAqB,GAAG,wBAA9B,CAAA;EACA,IAAMC,sBAAsB,GAAG,mDAA/B,CAAA;EACA,IAAMC,uBAAuB,GAAG,aAAhC,CAAA;EAEA,IAAM5O,SAAO,GAAG;EACd6O,EAAAA,QAAQ,EAAE,IADI;EAEd3O,EAAAA,QAAQ,EAAE,IAFI;EAGdpD,EAAAA,KAAK,EAAE,IAHO;EAId6K,EAAAA,IAAI,EAAE,IAAA;EAJQ,CAAhB,CAAA;EAOA,IAAMpH,aAAW,GAAG;EAClBsO,EAAAA,QAAQ,EAAE,kBADQ;EAElB3O,EAAAA,QAAQ,EAAE,SAFQ;EAGlBpD,EAAAA,KAAK,EAAE,SAHW;EAIlB6K,EAAAA,IAAI,EAAE,SAAA;EAJY,CAApB,CAAA;EAOA;EACA;EACA;;MAEMmH;IACJ,SAAYvZ,KAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;EAC3B,IAAA,IAAA,CAAKqK,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;MACA,IAAK2C,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;EACA,IAAA,IAAA,CAAKwZ,OAAL,GAAexZ,OAAO,CAACK,aAAR,CAAsB4Y,eAAtB,CAAf,CAAA;MACA,IAAKQ,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,KAAhB,CAAA;MACA,IAAKC,CAAAA,kBAAL,GAA0B,KAA1B,CAAA;MACA,IAAKC,CAAAA,oBAAL,GAA4B,KAA5B,CAAA;MACA,IAAKtI,CAAAA,gBAAL,GAAwB,KAAxB,CAAA;MACA,IAAKuI,CAAAA,eAAL,GAAuB,CAAvB,CAAA;EACD;;;;;EAWD;WACA/S,SAAA,SAAOkI,MAAAA,CAAAA,aAAP,EAAsB;MACpB,OAAO,IAAA,CAAK0K,QAAL,GAAgB,IAAKvH,CAAAA,IAAL,EAAhB,GAA8B,IAAKC,CAAAA,IAAL,CAAUpD,aAAV,CAArC,CAAA;;;WAGFoD,OAAA,SAAKpD,IAAAA,CAAAA,aAAL,EAAoB;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;EAClB,IAAA,IAAI,IAAK0K,CAAAA,QAAL,IAAiB,IAAA,CAAKpI,gBAA1B,EAA4C;EAC1C,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMiF,SAAS,GAAGjY,qBAAC,CAAC0G,KAAF,CAAQgM,YAAR,EAAoB;EACpChC,MAAAA,aAAa,EAAbA,aAAAA;EADoC,KAApB,CAAlB,CAAA;EAIA1Q,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBsV,SAAzB,CAAA,CAAA;;EAEA,IAAA,IAAIA,SAAS,CAAC9R,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;MAED,IAAKiV,CAAAA,QAAL,GAAgB,IAAhB,CAAA;;MAEA,IAAIpb,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BtB,iBAA1B,CAAJ,EAAgD;QAC9C,IAAK0N,CAAAA,gBAAL,GAAwB,IAAxB,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAKwI,eAAL,EAAA,CAAA;;EACA,IAAA,IAAA,CAAKC,aAAL,EAAA,CAAA;;EAEA,IAAA,IAAA,CAAKC,aAAL,EAAA,CAAA;;EAEA,IAAA,IAAA,CAAKC,eAAL,EAAA,CAAA;;EACA,IAAA,IAAA,CAAKC,eAAL,EAAA,CAAA;;EAEA5b,IAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiB0B,EAAjB,CACEgT,qBADF,EAEEM,uBAFF,EAGE,UAAA9a,KAAK,EAAA;EAAA,MAAA,OAAI,KAAI,CAAC8T,IAAL,CAAU9T,KAAV,CAAJ,CAAA;OAHP,CAAA,CAAA;MAMAC,qBAAC,CAAC,KAAKkb,OAAN,CAAD,CAAgB3T,EAAhB,CAAmBmT,uBAAnB,EAA4C,YAAM;EAChD1a,MAAAA,qBAAC,CAAC,KAAI,CAAC6F,QAAN,CAAD,CAAiBlF,GAAjB,CAAqB8Z,qBAArB,EAA4C,UAAA1a,KAAK,EAAI;EACnD,QAAA,IAAIC,qBAAC,CAACD,KAAK,CAACE,MAAP,CAAD,CAAgBC,EAAhB,CAAmB,KAAI,CAAC2F,QAAxB,CAAJ,EAAuC;YACrC,KAAI,CAACyV,oBAAL,GAA4B,IAA5B,CAAA;EACD,SAAA;SAHH,CAAA,CAAA;OADF,CAAA,CAAA;;EAQA,IAAA,IAAA,CAAKO,aAAL,CAAmB,YAAA;EAAA,MAAA,OAAM,KAAI,CAACC,YAAL,CAAkBpL,aAAlB,CAAN,CAAA;OAAnB,CAAA,CAAA;;;WAGFmD,OAAA,SAAK9T,IAAAA,CAAAA,KAAL,EAAY;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACV,IAAA,IAAIA,KAAJ,EAAW;EACTA,MAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,CAAC,IAAK8T,CAAAA,QAAN,IAAkB,IAAA,CAAKpI,gBAA3B,EAA6C;EAC3C,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMwF,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQkM,YAAR,CAAlB,CAAA;EAEA5S,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyB6V,SAAzB,CAAA,CAAA;;MAEA,IAAI,CAAC,KAAK4C,QAAN,IAAkB5C,SAAS,CAACrS,kBAAV,EAAtB,EAAsD;EACpD,MAAA,OAAA;EACD,KAAA;;MAED,IAAKiV,CAAAA,QAAL,GAAgB,KAAhB,CAAA;MACA,IAAMW,UAAU,GAAG/b,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BtB,iBAA1B,CAAnB,CAAA;;EAEA,IAAA,IAAIyW,UAAJ,EAAgB;QACd,IAAK/I,CAAAA,gBAAL,GAAwB,IAAxB,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAK2I,eAAL,EAAA,CAAA;;EACA,IAAA,IAAA,CAAKC,eAAL,EAAA,CAAA;;EAEA5b,IAAAA,qBAAC,CAACuB,QAAD,CAAD,CAAY0N,GAAZ,CAAgBoL,aAAhB,CAAA,CAAA;EAEAra,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBc,WAAjB,CAA6BpB,iBAA7B,CAAA,CAAA;EAEAvF,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqBsL,qBAArB,CAAA,CAAA;EACAva,IAAAA,qBAAC,CAAC,IAAKkb,CAAAA,OAAN,CAAD,CAAgBjM,GAAhB,CAAoByL,uBAApB,CAAA,CAAA;;EAEA,IAAA,IAAIqB,UAAJ,EAAgB;QACd,IAAM7Z,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAK4D,QAA3C,CAA3B,CAAA;EAEA7F,MAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGlF,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4B,UAAAa,KAAK,EAAA;EAAA,QAAA,OAAI,MAAI,CAACic,UAAL,CAAgBjc,KAAhB,CAAJ,CAAA;SADjC,CAAA,CAEGkB,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,KAND,MAMO;EACL,MAAA,IAAA,CAAK8Z,UAAL,EAAA,CAAA;EACD,KAAA;;;EAGH3V,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;MACR,CAACqD,MAAD,EAAS,IAAA,CAAK7D,QAAd,EAAwB,IAAKqV,CAAAA,OAA7B,CACGe,CAAAA,OADH,CACW,UAAAC,WAAW,EAAA;QAAA,OAAIlc,qBAAC,CAACkc,WAAD,CAAD,CAAejN,GAAf,CAAmB/J,WAAnB,CAAJ,CAAA;OADtB,CAAA,CAAA;EAGA;EACJ;EACA;EACA;EACA;;EACIlF,IAAAA,qBAAC,CAACuB,QAAD,CAAD,CAAY0N,GAAZ,CAAgBoL,aAAhB,CAAA,CAAA;EAEAra,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MAEA,IAAKsI,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAK1H,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKqV,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAKC,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKC,CAAAA,kBAAL,GAA0B,IAA1B,CAAA;MACA,IAAKC,CAAAA,oBAAL,GAA4B,IAA5B,CAAA;MACA,IAAKtI,CAAAA,gBAAL,GAAwB,IAAxB,CAAA;MACA,IAAKuI,CAAAA,eAAL,GAAuB,IAAvB,CAAA;;;EAGFY,EAAAA,MAAAA,CAAAA,eAAA,SAAe,YAAA,GAAA;EACb,IAAA,IAAA,CAAKT,aAAL,EAAA,CAAA;EACD;;;WAGDlO,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;EACjBA,IAAAA,MAAM,GACDiJ,QAAAA,CAAAA,EAAAA,EAAAA,SADC,EAEDjJ,MAFC,CAAN,CAAA;EAIAtC,IAAAA,IAAI,CAACoC,eAAL,CAAqB+B,MAArB,EAA2B7B,MAA3B,EAAmCwJ,aAAnC,CAAA,CAAA;EACA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGFkZ,EAAAA,MAAAA,CAAAA,6BAAA,SAA6B,0BAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EAC3B,IAAA,IAAMC,kBAAkB,GAAGrc,qBAAC,CAAC0G,KAAF,CAAQ0T,oBAAR,CAA3B,CAAA;EAEApa,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyB0Z,kBAAzB,CAAA,CAAA;;EACA,IAAA,IAAIA,kBAAkB,CAAClW,kBAAnB,EAAJ,EAA6C;EAC3C,MAAA,OAAA;EACD,KAAA;;MAED,IAAMmW,kBAAkB,GAAG,IAAA,CAAKzW,QAAL,CAAc0W,YAAd,GAA6Bhb,QAAQ,CAACyC,eAAT,CAAyBwY,YAAjF,CAAA;;MAEA,IAAI,CAACF,kBAAL,EAAyB;EACvB,MAAA,IAAA,CAAKzW,QAAL,CAAcwO,KAAd,CAAoBoI,SAApB,GAAgC,QAAhC,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAK5W,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4BkQ,iBAA5B,CAAA,CAAA;;MAEA,IAAMuC,uBAAuB,GAAG9b,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAKiZ,OAA3C,CAAhC,CAAA;MACAlb,qBAAC,CAAC,KAAK6F,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqBrO,IAAI,CAAC1B,cAA1B,CAAA,CAAA;MAEAc,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlF,GAAjB,CAAqBC,IAAI,CAAC1B,cAA1B,EAA0C,YAAM;EAC9C,MAAA,MAAI,CAAC2G,QAAL,CAAciD,SAAd,CAAwB/B,MAAxB,CAA+BoT,iBAA/B,CAAA,CAAA;;QACA,IAAI,CAACmC,kBAAL,EAAyB;EACvBtc,QAAAA,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBlF,GAAjB,CAAqBC,IAAI,CAAC1B,cAA1B,EAA0C,YAAM;EAC9C,UAAA,MAAI,CAAC2G,QAAL,CAAcwO,KAAd,CAAoBoI,SAApB,GAAgC,EAAhC,CAAA;EACD,SAFD,EAGGxb,oBAHH,CAGwB,MAAI,CAAC4E,QAH7B,EAGuC6W,uBAHvC,CAAA,CAAA;EAID,OAAA;OAPH,CAAA,CASGzb,oBATH,CASwByb,uBATxB,CAAA,CAAA;;MAUA,IAAK7W,CAAAA,QAAL,CAAcoD,KAAd,EAAA,CAAA;;;WAGF6S,eAAA,SAAapL,YAAAA,CAAAA,aAAb,EAA4B;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MAC1B,IAAMqL,UAAU,GAAG/b,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BtB,iBAA1B,CAAnB,CAAA;EACA,IAAA,IAAMqX,SAAS,GAAG,IAAKzB,CAAAA,OAAL,GAAe,IAAA,CAAKA,OAAL,CAAanZ,aAAb,CAA2B6Y,mBAA3B,CAAf,GAAiE,IAAnF,CAAA;;EAEA,IAAA,IAAI,CAAC,IAAK/U,CAAAA,QAAL,CAAcxB,UAAf,IACA,IAAKwB,CAAAA,QAAL,CAAcxB,UAAd,CAAyBtB,QAAzB,KAAsC6Z,IAAI,CAACC,YAD/C,EAC6D;EAC3D;EACAtb,MAAAA,QAAQ,CAAC+W,IAAT,CAAcwE,WAAd,CAA0B,KAAKjX,QAA/B,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAKA,QAAL,CAAcwO,KAAd,CAAoBgD,OAApB,GAA8B,OAA9B,CAAA;;EACA,IAAA,IAAA,CAAKxR,QAAL,CAAckX,eAAd,CAA8B,aAA9B,CAAA,CAAA;;EACA,IAAA,IAAA,CAAKlX,QAAL,CAAcsD,YAAd,CAA2B,YAA3B,EAAyC,IAAzC,CAAA,CAAA;;EACA,IAAA,IAAA,CAAKtD,QAAL,CAAcsD,YAAd,CAA2B,MAA3B,EAAmC,QAAnC,CAAA,CAAA;;MAEA,IAAInJ,qBAAC,CAAC,IAAA,CAAKkb,OAAN,CAAD,CAAgBtU,QAAhB,CAAyBmT,qBAAzB,CAAmD4C,IAAAA,SAAvD,EAAkE;QAChEA,SAAS,CAACK,SAAV,GAAsB,CAAtB,CAAA;EACD,KAFD,MAEO;EACL,MAAA,IAAA,CAAKnX,QAAL,CAAcmX,SAAd,GAA0B,CAA1B,CAAA;EACD,KAAA;;EAED,IAAA,IAAIjB,UAAJ,EAAgB;EACdnb,MAAAA,IAAI,CAAC6B,MAAL,CAAY,IAAA,CAAKoD,QAAjB,CAAA,CAAA;EACD,KAAA;;EAED7F,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBuL,QAAjB,CAA0B7L,iBAA1B,CAAA,CAAA;;EAEA,IAAA,IAAI,IAAKgI,CAAAA,OAAL,CAAatE,KAAjB,EAAwB;EACtB,MAAA,IAAA,CAAKgU,aAAL,EAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAMC,UAAU,GAAGld,qBAAC,CAAC0G,KAAF,CAAQiM,aAAR,EAAqB;EACtCjC,MAAAA,aAAa,EAAbA,aAAAA;EADsC,KAArB,CAAnB,CAAA;;EAIA,IAAA,IAAMyM,kBAAkB,GAAG,SAArBA,kBAAqB,GAAM;EAC/B,MAAA,IAAI,MAAI,CAAC5P,OAAL,CAAatE,KAAjB,EAAwB;UACtB,MAAI,CAACpD,QAAL,CAAcoD,KAAd,EAAA,CAAA;EACD,OAAA;;QAED,MAAI,CAAC+J,gBAAL,GAAwB,KAAxB,CAAA;QACAhT,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBua,UAAzB,CAAA,CAAA;OANF,CAAA;;EASA,IAAA,IAAInB,UAAJ,EAAgB;QACd,IAAM7Z,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAKiZ,OAA3C,CAA3B,CAAA;EAEAlb,MAAAA,qBAAC,CAAC,IAAA,CAAKkb,OAAN,CAAD,CACGva,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4Bie,kBAD5B,CAEGlc,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,KAND,MAMO;QACLib,kBAAkB,EAAA,CAAA;EACnB,KAAA;;;EAGHF,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACdjd,IAAAA,qBAAC,CAACuB,QAAD,CAAD,CACG0N,GADH,CACOoL,aADP,CACsB;EADtB,KAEG9S,EAFH,CAEM8S,aAFN,EAEqB,UAAAta,KAAK,EAAI;EAC1B,MAAA,IAAIwB,QAAQ,KAAKxB,KAAK,CAACE,MAAnB,IACA,MAAI,CAAC4F,QAAL,KAAkB9F,KAAK,CAACE,MADxB,IAEAD,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBuX,GAAjB,CAAqBrd,KAAK,CAACE,MAA3B,CAAA,CAAmC+J,MAAnC,KAA8C,CAFlD,EAEqD;UACnD,MAAI,CAACnE,QAAL,CAAcoD,KAAd,EAAA,CAAA;EACD,OAAA;OAPL,CAAA,CAAA;;;EAWF0S,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MAChB,IAAI,IAAA,CAAKP,QAAT,EAAmB;QACjBpb,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBiT,qBAApB,EAA2C,UAAAza,KAAK,EAAI;UAClD,IAAI,MAAI,CAACwN,OAAL,CAAalB,QAAb,IAAyBtM,KAAK,CAACiQ,KAAN,KAAgBuF,cAA7C,EAA6D;EAC3DxV,UAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;;EACA,UAAA,MAAI,CAACuM,IAAL,EAAA,CAAA;EACD,SAHD,MAGO,IAAI,CAAC,MAAI,CAACtG,OAAL,CAAalB,QAAd,IAA0BtM,KAAK,CAACiQ,KAAN,KAAgBuF,cAA9C,EAA8D;EACnE,UAAA,MAAI,CAAC6G,0BAAL,EAAA,CAAA;EACD,SAAA;SANH,CAAA,CAAA;EAQD,KATD,MASO,IAAI,CAAC,IAAA,CAAKhB,QAAV,EAAoB;EACzBpb,MAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqBuL,qBAArB,CAAA,CAAA;EACD,KAAA;;;EAGHoB,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MAChB,IAAI,IAAA,CAAKR,QAAT,EAAmB;QACjBpb,qBAAC,CAAC0J,MAAD,CAAD,CAAUnC,EAAV,CAAa+S,YAAb,EAA2B,UAAAva,KAAK,EAAA;EAAA,QAAA,OAAI,MAAI,CAACoc,YAAL,CAAkBpc,KAAlB,CAAJ,CAAA;SAAhC,CAAA,CAAA;EACD,KAFD,MAEO;EACLC,MAAAA,qBAAC,CAAC0J,MAAD,CAAD,CAAUuF,GAAV,CAAcqL,YAAd,CAAA,CAAA;EACD,KAAA;;;EAGH0B,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACX,IAAA,IAAA,CAAKnW,QAAL,CAAcwO,KAAd,CAAoBgD,OAApB,GAA8B,MAA9B,CAAA;;EACA,IAAA,IAAA,CAAKxR,QAAL,CAAcsD,YAAd,CAA2B,aAA3B,EAA0C,IAA1C,CAAA,CAAA;;EACA,IAAA,IAAA,CAAKtD,QAAL,CAAckX,eAAd,CAA8B,YAA9B,CAAA,CAAA;;EACA,IAAA,IAAA,CAAKlX,QAAL,CAAckX,eAAd,CAA8B,MAA9B,CAAA,CAAA;;MACA,IAAK/J,CAAAA,gBAAL,GAAwB,KAAxB,CAAA;;MACA,IAAK6I,CAAAA,aAAL,CAAmB,YAAM;QACvB7b,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiB3R,WAAjB,CAA6BuT,eAA7B,CAAA,CAAA;;EACA,MAAA,MAAI,CAACmD,iBAAL,EAAA,CAAA;;EACA,MAAA,MAAI,CAACC,eAAL,EAAA,CAAA;;QACAtd,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBkQ,cAAzB,CAAA,CAAA;OAJF,CAAA,CAAA;;;EAQF0K,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;MAChB,IAAI,IAAA,CAAKpC,SAAT,EAAoB;EAClBnb,MAAAA,qBAAC,CAAC,IAAA,CAAKmb,SAAN,CAAD,CAAkBpU,MAAlB,EAAA,CAAA;QACA,IAAKoU,CAAAA,SAAL,GAAiB,IAAjB,CAAA;EACD,KAAA;;;WAGHU,gBAAA,SAAc2B,aAAAA,CAAAA,QAAd,EAAwB;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACtB,IAAA,IAAMC,OAAO,GAAGzd,qBAAC,CAAC,KAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BtB,iBAA1B,CACdA,GAAAA,iBADc,GACI,EADpB,CAAA;;EAGA,IAAA,IAAI,KAAK8V,QAAL,IAAiB,KAAK7N,OAAL,CAAayN,QAAlC,EAA4C;EAC1C,MAAA,IAAA,CAAKG,SAAL,GAAiB5Z,QAAQ,CAACmc,aAAT,CAAuB,KAAvB,CAAjB,CAAA;EACA,MAAA,IAAA,CAAKvC,SAAL,CAAewC,SAAf,GAA2B1D,mBAA3B,CAAA;;EAEA,MAAA,IAAIwD,OAAJ,EAAa;EACX,QAAA,IAAA,CAAKtC,SAAL,CAAerS,SAAf,CAAyBmB,GAAzB,CAA6BwT,OAA7B,CAAA,CAAA;EACD,OAAA;;QAEDzd,qBAAC,CAAC,KAAKmb,SAAN,CAAD,CAAkByC,QAAlB,CAA2Brc,QAAQ,CAAC+W,IAApC,CAAA,CAAA;QAEAtY,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBgT,qBAApB,EAAyC,UAAAxa,KAAK,EAAI;UAChD,IAAI,MAAI,CAACub,oBAAT,EAA+B;YAC7B,MAAI,CAACA,oBAAL,GAA4B,KAA5B,CAAA;EACA,UAAA,OAAA;EACD,SAAA;;EAED,QAAA,IAAIvb,KAAK,CAACE,MAAN,KAAiBF,KAAK,CAACoV,aAA3B,EAA0C;EACxC,UAAA,OAAA;EACD,SAAA;;EAED,QAAA,IAAI,MAAI,CAAC5H,OAAL,CAAayN,QAAb,KAA0B,QAA9B,EAAwC;EACtC,UAAA,MAAI,CAACoB,0BAAL,EAAA,CAAA;EACD,SAFD,MAEO;EACL,UAAA,MAAI,CAACvI,IAAL,EAAA,CAAA;EACD,SAAA;SAdH,CAAA,CAAA;;EAiBA,MAAA,IAAI4J,OAAJ,EAAa;EACX7c,QAAAA,IAAI,CAAC6B,MAAL,CAAY,IAAA,CAAK0Y,SAAjB,CAAA,CAAA;EACD,OAAA;;EAEDnb,MAAAA,qBAAC,CAAC,IAAKmb,CAAAA,SAAN,CAAD,CAAkB/J,QAAlB,CAA2B7L,iBAA3B,CAAA,CAAA;;QAEA,IAAI,CAACiY,QAAL,EAAe;EACb,QAAA,OAAA;EACD,OAAA;;QAED,IAAI,CAACC,OAAL,EAAc;UACZD,QAAQ,EAAA,CAAA;EACR,QAAA,OAAA;EACD,OAAA;;QAED,IAAMK,0BAA0B,GAAGjd,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAKkZ,SAA3C,CAAnC,CAAA;EAEAnb,MAAAA,qBAAC,CAAC,IAAA,CAAKmb,SAAN,CAAD,CACGxa,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4Bse,QAD5B,CAEGvc,CAAAA,oBAFH,CAEwB4c,0BAFxB,CAAA,CAAA;OA5CF,MA+CO,IAAI,CAAC,IAAA,CAAKzC,QAAN,IAAkB,IAAA,CAAKD,SAA3B,EAAsC;EAC3Cnb,MAAAA,qBAAC,CAAC,IAAKmb,CAAAA,SAAN,CAAD,CAAkBxU,WAAlB,CAA8BpB,iBAA9B,CAAA,CAAA;;EAEA,MAAA,IAAMuY,cAAc,GAAG,SAAjBA,cAAiB,GAAM;EAC3B,QAAA,MAAI,CAACP,eAAL,EAAA,CAAA;;EACA,QAAA,IAAIC,QAAJ,EAAc;YACZA,QAAQ,EAAA,CAAA;EACT,SAAA;SAJH,CAAA;;QAOA,IAAIxd,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0BtB,iBAA1B,CAAJ,EAAgD;UAC9C,IAAMuY,2BAA0B,GAAGjd,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAKkZ,SAA3C,CAAnC,CAAA;;EAEAnb,QAAAA,qBAAC,CAAC,IAAA,CAAKmb,SAAN,CAAD,CACGxa,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4B4e,cAD5B,CAEG7c,CAAAA,oBAFH,CAEwB4c,2BAFxB,CAAA,CAAA;EAGD,OAND,MAMO;UACLC,cAAc,EAAA,CAAA;EACf,OAAA;OAlBI,MAmBA,IAAIN,QAAJ,EAAc;QACnBA,QAAQ,EAAA,CAAA;EACT,KAAA;EACF;EAGD;EACA;EACA;;;EAEA9B,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;MACd,IAAMY,kBAAkB,GAAG,IAAA,CAAKzW,QAAL,CAAc0W,YAAd,GAA6Bhb,QAAQ,CAACyC,eAAT,CAAyBwY,YAAjF,CAAA;;EAEA,IAAA,IAAI,CAAC,IAAA,CAAKnB,kBAAN,IAA4BiB,kBAAhC,EAAoD;EAClD,MAAA,IAAA,CAAKzW,QAAL,CAAcwO,KAAd,CAAoB0J,WAApB,GAAqC,KAAKxC,eAA1C,GAAA,IAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,IAAKF,CAAAA,kBAAL,IAA2B,CAACiB,kBAAhC,EAAoD;EAClD,MAAA,IAAA,CAAKzW,QAAL,CAAcwO,KAAd,CAAoB2J,YAApB,GAAsC,KAAKzC,eAA3C,GAAA,IAAA,CAAA;EACD,KAAA;;;EAGH8B,EAAAA,MAAAA,CAAAA,oBAAA,SAAoB,iBAAA,GAAA;EAClB,IAAA,IAAA,CAAKxX,QAAL,CAAcwO,KAAd,CAAoB0J,WAApB,GAAkC,EAAlC,CAAA;EACA,IAAA,IAAA,CAAKlY,QAAL,CAAcwO,KAAd,CAAoB2J,YAApB,GAAmC,EAAnC,CAAA;;;EAGFxC,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;EAChB,IAAA,IAAMyC,IAAI,GAAG1c,QAAQ,CAAC+W,IAAT,CAAc3D,qBAAd,EAAb,CAAA;EACA,IAAA,IAAA,CAAK0G,kBAAL,GAA0Bha,IAAI,CAAC6c,KAAL,CAAWD,IAAI,CAACE,IAAL,GAAYF,IAAI,CAACG,KAA5B,CAAqC1U,GAAAA,MAAM,CAAC2U,UAAtE,CAAA;EACA,IAAA,IAAA,CAAK9C,eAAL,GAAuB,IAAK+C,CAAAA,kBAAL,EAAvB,CAAA;;;EAGF7C,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EAAA,IAAA,IAAA,OAAA,GAAA,IAAA,CAAA;;MACd,IAAI,IAAA,CAAKJ,kBAAT,EAA6B;EAC3B;EACA;EACA,MAAA,IAAMkD,YAAY,GAAG,EAAG3U,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BiR,sBAA1B,CAAd,CAArB,CAAA;EACA,MAAA,IAAM0D,aAAa,GAAG,EAAG5U,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BkR,uBAA1B,CAAd,CAAtB,CAJ2B;;QAO3B/a,qBAAC,CAACue,YAAD,CAAD,CAAgBtX,IAAhB,CAAqB,UAAC4H,KAAD,EAAQnN,OAAR,EAAoB;EACvC,QAAA,IAAM+c,aAAa,GAAG/c,OAAO,CAAC2S,KAAR,CAAc2J,YAApC,CAAA;UACA,IAAMU,iBAAiB,GAAG1e,qBAAC,CAAC0B,OAAD,CAAD,CAAWS,GAAX,CAAe,eAAf,CAA1B,CAAA;UACAnC,qBAAC,CAAC0B,OAAD,CAAD,CACGyF,IADH,CACQ,eADR,EACyBsX,aADzB,CAAA,CAEGtc,GAFH,CAEO,eAFP,EAE2BG,UAAU,CAACoc,iBAAD,CAAV,GAAgC,OAAI,CAACnD,eAFhE,GAAA,IAAA,CAAA,CAAA;EAGD,OAND,EAP2B;;QAgB3Bvb,qBAAC,CAACwe,aAAD,CAAD,CAAiBvX,IAAjB,CAAsB,UAAC4H,KAAD,EAAQnN,OAAR,EAAoB;EACxC,QAAA,IAAMid,YAAY,GAAGjd,OAAO,CAAC2S,KAAR,CAAcuK,WAAnC,CAAA;UACA,IAAMC,gBAAgB,GAAG7e,qBAAC,CAAC0B,OAAD,CAAD,CAAWS,GAAX,CAAe,cAAf,CAAzB,CAAA;UACAnC,qBAAC,CAAC0B,OAAD,CAAD,CACGyF,IADH,CACQ,cADR,EACwBwX,YADxB,CAAA,CAEGxc,GAFH,CAEO,cAFP,EAE0BG,UAAU,CAACuc,gBAAD,CAAV,GAA+B,OAAI,CAACtD,eAF9D,GAAA,IAAA,CAAA,CAAA;EAGD,OAND,EAhB2B;;QAyB3B,IAAMkD,aAAa,GAAGld,QAAQ,CAAC+W,IAAT,CAAcjE,KAAd,CAAoB2J,YAA1C,CAAA;EACA,MAAA,IAAMU,iBAAiB,GAAG1e,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnW,GAAjB,CAAqB,eAArB,CAA1B,CAAA;QACAnC,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CACGnR,IADH,CACQ,eADR,EACyBsX,aADzB,EAEGtc,GAFH,CAEO,eAFP,EAE2BG,UAAU,CAACoc,iBAAD,CAAV,GAAgC,IAAA,CAAKnD,eAFhE,GAAA,IAAA,CAAA,CAAA;EAGD,KAAA;;MAEDvb,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBlH,QAAjB,CAA0B8I,eAA1B,CAAA,CAAA;;;EAGFoD,EAAAA,MAAAA,CAAAA,kBAAA,SAAkB,eAAA,GAAA;EAChB;EACA,IAAA,IAAMiB,YAAY,GAAG,EAAG3U,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BiR,sBAA1B,CAAd,CAArB,CAAA;MACA9a,qBAAC,CAACue,YAAD,CAAD,CAAgBtX,IAAhB,CAAqB,UAAC4H,KAAD,EAAQnN,OAAR,EAAoB;QACvC,IAAMod,OAAO,GAAG9e,qBAAC,CAAC0B,OAAD,CAAD,CAAWyF,IAAX,CAAgB,eAAhB,CAAhB,CAAA;EACAnH,MAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAW4E,UAAX,CAAsB,eAAtB,CAAA,CAAA;QACA5E,OAAO,CAAC2S,KAAR,CAAc2J,YAAd,GAA6Bc,OAAO,GAAGA,OAAH,GAAa,EAAjD,CAAA;EACD,KAJD,EAHgB;;EAUhB,IAAA,IAAMC,QAAQ,GAAG,EAAGnV,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA6BkR,EAAAA,GAAAA,uBAA7B,CAAd,CAAjB,CAAA;MACA/a,qBAAC,CAAC+e,QAAD,CAAD,CAAY9X,IAAZ,CAAiB,UAAC4H,KAAD,EAAQnN,OAAR,EAAoB;QACnC,IAAMsd,MAAM,GAAGhf,qBAAC,CAAC0B,OAAD,CAAD,CAAWyF,IAAX,CAAgB,cAAhB,CAAf,CAAA;;EACA,MAAA,IAAI,OAAO6X,MAAP,KAAkB,WAAtB,EAAmC;EACjChf,QAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAWS,GAAX,CAAe,cAAf,EAA+B6c,MAA/B,CAAA,CAAuC1Y,UAAvC,CAAkD,cAAlD,CAAA,CAAA;EACD,OAAA;EACF,KALD,EAXgB;;EAmBhB,IAAA,IAAMwY,OAAO,GAAG9e,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnR,IAAjB,CAAsB,eAAtB,CAAhB,CAAA;MACAnH,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBhS,UAAjB,CAA4B,eAA5B,CAAA,CAAA;MACA/E,QAAQ,CAAC+W,IAAT,CAAcjE,KAAd,CAAoB2J,YAApB,GAAmCc,OAAO,GAAGA,OAAH,GAAa,EAAvD,CAAA;;;EAGFR,EAAAA,MAAAA,CAAAA,qBAAA,SAAqB,kBAAA,GAAA;EAAE;EACrB,IAAA,IAAMW,SAAS,GAAG1d,QAAQ,CAACmc,aAAT,CAAuB,KAAvB,CAAlB,CAAA;MACAuB,SAAS,CAACtB,SAAV,GAAsB3D,6BAAtB,CAAA;EACAzY,IAAAA,QAAQ,CAAC+W,IAAT,CAAcwE,WAAd,CAA0BmC,SAA1B,CAAA,CAAA;MACA,IAAMC,cAAc,GAAGD,SAAS,CAACtK,qBAAV,GAAkCwK,KAAlC,GAA0CF,SAAS,CAACG,WAA3E,CAAA;EACA7d,IAAAA,QAAQ,CAAC+W,IAAT,CAAc+G,WAAd,CAA0BJ,SAA1B,CAAA,CAAA;EACA,IAAA,OAAOC,cAAP,CAAA;EACD;;;EAGMlY,EAAAA,KAAAA,CAAAA,mBAAP,SAAA,gBAAA,CAAwB9D,MAAxB,EAAgCwN,aAAhC,EAA+C;MAC7C,OAAO,IAAA,CAAKzJ,IAAL,CAAU,YAAY;QAC3B,IAAIE,IAAI,GAAGnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,CAAX,CAAA;;QACA,IAAMsI,OAAO,gBACRpB,SADQ,EAERnM,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,EAFQ,EAGP,OAAOjE,MAAP,KAAkB,QAAlB,IAA8BA,MAA9B,GAAuCA,MAAvC,GAAgD,EAHzC,CAAb,CAAA;;QAMA,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAI8T,KAAJ,CAAU,IAAV,EAAgB1N,OAAhB,CAAP,CAAA;UACAvN,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,EAAuBkC,IAAvB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;EAEDiE,QAAAA,IAAI,CAACjE,MAAD,CAAJ,CAAawN,aAAb,CAAA,CAAA;EACD,OAND,MAMO,IAAInD,OAAO,CAACuG,IAAZ,EAAkB;UACvB3M,IAAI,CAAC2M,IAAL,CAAUpD,aAAV,CAAA,CAAA;EACD,OAAA;EACF,KAtBM,CAAP,CAAA;;;;;WA3cF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO1L,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;;;EA+dH;EACA;EACA;;;AAEAnM,uBAAC,CAACuB,QAAD,CAAD,CAAYgG,EAAZ,CAAe7B,sBAAf,EAAqCuC,sBAArC,EAA2D,UAAUlI,KAAV,EAAiB;EAAA,EAAA,IAAA,OAAA,GAAA,IAAA,CAAA;;EAC1E,EAAA,IAAIE,MAAJ,CAAA;EACA,EAAA,IAAM0B,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4B,IAA5B,CAAjB,CAAA;;EAEA,EAAA,IAAIE,QAAJ,EAAc;EACZ1B,IAAAA,MAAM,GAAGsB,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAT,CAAA;EACD,GAAA;;EAED,EAAA,IAAMuB,MAAM,GAAGlD,qBAAC,CAACC,MAAD,CAAD,CAAUkH,IAAV,CAAelC,UAAf,CACb,GAAA,QADa,GAERjF,QAAAA,CAAAA,EAAAA,EAAAA,qBAAC,CAACC,MAAD,CAAD,CAAUkH,IAAV,EAFQ,EAGRnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,EAHQ,CAAf,CAAA;;IAMA,IAAI,IAAA,CAAKsC,OAAL,KAAiB,GAAjB,IAAwB,IAAKA,CAAAA,OAAL,KAAiB,MAA7C,EAAqD;EACnD1J,IAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;EACD,GAAA;;EAED,EAAA,IAAMgO,OAAO,GAAGtV,qBAAC,CAACC,MAAD,CAAD,CAAUU,GAAV,CAAc+R,YAAd,EAA0B,UAAAuF,SAAS,EAAI;EACrD,IAAA,IAAIA,SAAS,CAAC9R,kBAAV,EAAJ,EAAoC;EAClC;EACA,MAAA,OAAA;EACD,KAAA;;EAEDmP,IAAAA,OAAO,CAAC3U,GAAR,CAAYkS,cAAZ,EAA0B,YAAM;QAC9B,IAAI7S,qBAAC,CAAC,OAAD,CAAD,CAAQE,EAAR,CAAW,UAAX,CAAJ,EAA4B;EAC1B,QAAA,OAAI,CAAC+I,KAAL,EAAA,CAAA;EACD,OAAA;OAHH,CAAA,CAAA;EAKD,GAXe,CAAhB,CAAA;;EAaAgS,EAAAA,KAAK,CAACjU,gBAAN,CAAuBxH,IAAvB,CAA4BQ,qBAAC,CAACC,MAAD,CAA7B,EAAuCiD,MAAvC,EAA+C,IAA/C,CAAA,CAAA;EACD,CAhCD,CAAA,CAAA;EAkCA;EACA;EACA;;AAEAlD,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAakW,GAAAA,KAAK,CAACjU,gBAAnB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyByT,KAAzB,CAAA;;AACAjb,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO6V,KAAK,CAACjU,gBAAb,CAAA;EACD,CAHD;;ECnmBA;EACA;EACA;EACA;EACA;EACA;EAEA,IAAMsY,QAAQ,GAAG,CACf,YADe,EAEf,MAFe,EAGf,MAHe,EAIf,UAJe,EAKf,UALe,EAMf,QANe,EAOf,KAPe,EAQf,YARe,CAAjB,CAAA;EAWA,IAAMC,sBAAsB,GAAG,gBAA/B,CAAA;EAEO,IAAMC,gBAAgB,GAAG;EAC9B;EACA,EAAA,GAAA,EAAK,CAAC,OAAD,EAAU,KAAV,EAAiB,IAAjB,EAAuB,MAAvB,EAA+B,MAA/B,EAAuCD,sBAAvC,CAFyB;IAG9BE,CAAC,EAAE,CAAC,QAAD,EAAW,MAAX,EAAmB,OAAnB,EAA4B,KAA5B,CAH2B;EAI9BC,EAAAA,IAAI,EAAE,EAJwB;EAK9BC,EAAAA,CAAC,EAAE,EAL2B;EAM9BC,EAAAA,EAAE,EAAE,EAN0B;EAO9BC,EAAAA,GAAG,EAAE,EAPyB;EAQ9BC,EAAAA,IAAI,EAAE,EARwB;EAS9BC,EAAAA,GAAG,EAAE,EATyB;EAU9BC,EAAAA,EAAE,EAAE,EAV0B;EAW9BC,EAAAA,EAAE,EAAE,EAX0B;EAY9BC,EAAAA,EAAE,EAAE,EAZ0B;EAa9BC,EAAAA,EAAE,EAAE,EAb0B;EAc9BC,EAAAA,EAAE,EAAE,EAd0B;EAe9BC,EAAAA,EAAE,EAAE,EAf0B;EAgB9BC,EAAAA,EAAE,EAAE,EAhB0B;EAiB9BC,EAAAA,EAAE,EAAE,EAjB0B;EAkB9BzW,EAAAA,CAAC,EAAE,EAlB2B;EAmB9B0W,EAAAA,GAAG,EAAE,CAAC,KAAD,EAAQ,QAAR,EAAkB,KAAlB,EAAyB,OAAzB,EAAkC,OAAlC,EAA2C,QAA3C,CAnByB;EAoB9BC,EAAAA,EAAE,EAAE,EApB0B;EAqB9BC,EAAAA,EAAE,EAAE,EArB0B;EAsB9BC,EAAAA,CAAC,EAAE,EAtB2B;EAuB9BC,EAAAA,GAAG,EAAE,EAvByB;EAwB9BC,EAAAA,CAAC,EAAE,EAxB2B;EAyB9BC,EAAAA,KAAK,EAAE,EAzBuB;EA0B9BC,EAAAA,IAAI,EAAE,EA1BwB;EA2B9BC,EAAAA,GAAG,EAAE,EA3ByB;EA4B9BC,EAAAA,GAAG,EAAE,EA5ByB;EA6B9BC,EAAAA,MAAM,EAAE,EA7BsB;EA8B9BC,EAAAA,CAAC,EAAE,EA9B2B;EA+B9BC,EAAAA,EAAE,EAAE,EAAA;EA/B0B,CAAzB,CAAA;EAkCP;EACA;EACA;EACA;EACA;;EACA,IAAMC,gBAAgB,GAAG,gEAAzB,CAAA;EAEA;EACA;EACA;EACA;EACA;;EACA,IAAMC,gBAAgB,GAAG,oIAAzB,CAAA;;EAEA,SAASC,gBAAT,CAA0BjN,IAA1B,EAAgCkN,oBAAhC,EAAsD;EACpD,EAAA,IAAMC,QAAQ,GAAGnN,IAAI,CAACoN,QAAL,CAAchiB,WAAd,EAAjB,CAAA;;IAEA,IAAI8hB,oBAAoB,CAACvR,OAArB,CAA6BwR,QAA7B,CAA2C,KAAA,CAAC,CAAhD,EAAmD;MACjD,IAAInC,QAAQ,CAACrP,OAAT,CAAiBwR,QAAjB,CAA+B,KAAA,CAAC,CAApC,EAAuC;EACrC,MAAA,OAAO5e,OAAO,CAACwe,gBAAgB,CAACzd,IAAjB,CAAsB0Q,IAAI,CAACqN,SAA3B,CAAyCL,IAAAA,gBAAgB,CAAC1d,IAAjB,CAAsB0Q,IAAI,CAACqN,SAA3B,CAA1C,CAAd,CAAA;EACD,KAAA;;EAED,IAAA,OAAO,IAAP,CAAA;EACD,GAAA;;EAED,EAAA,IAAMC,MAAM,GAAGJ,oBAAoB,CAAClO,MAArB,CAA4B,UAAAuO,SAAS,EAAA;MAAA,OAAIA,SAAS,YAAYle,MAAzB,CAAA;KAArC,CAAf,CAXoD;;EAcpD,EAAA,KAAK,IAAImG,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAG6X,MAAM,CAAC5X,MAA7B,EAAqCF,CAAC,GAAGC,GAAzC,EAA8CD,CAAC,EAA/C,EAAmD;MACjD,IAAI8X,MAAM,CAAC9X,CAAD,CAAN,CAAUlG,IAAV,CAAe6d,QAAf,CAAJ,EAA8B;EAC5B,MAAA,OAAO,IAAP,CAAA;EACD,KAAA;EACF,GAAA;;EAED,EAAA,OAAO,KAAP,CAAA;EACD,CAAA;;EAEM,SAASK,YAAT,CAAsBC,UAAtB,EAAkCC,SAAlC,EAA6CC,UAA7C,EAAyD;EAC9D,EAAA,IAAIF,UAAU,CAAC/X,MAAX,KAAsB,CAA1B,EAA6B;EAC3B,IAAA,OAAO+X,UAAP,CAAA;EACD,GAAA;;EAED,EAAA,IAAIE,UAAU,IAAI,OAAOA,UAAP,KAAsB,UAAxC,EAAoD;MAClD,OAAOA,UAAU,CAACF,UAAD,CAAjB,CAAA;EACD,GAAA;;EAED,EAAA,IAAMG,SAAS,GAAG,IAAIxY,MAAM,CAACyY,SAAX,EAAlB,CAAA;IACA,IAAMC,eAAe,GAAGF,SAAS,CAACG,eAAV,CAA0BN,UAA1B,EAAsC,WAAtC,CAAxB,CAAA;EACA,EAAA,IAAMO,aAAa,GAAGjf,MAAM,CAACkf,IAAP,CAAYP,SAAZ,CAAtB,CAAA;EACA,EAAA,IAAMjD,QAAQ,GAAG,EAAGnV,CAAAA,KAAH,CAASpK,IAAT,CAAc4iB,eAAe,CAAC9J,IAAhB,CAAqBzO,gBAArB,CAAsC,GAAtC,CAAd,CAAjB,CAAA;;IAZ8D,IAcrDC,KAAAA,GAAAA,SAAAA,KAAAA,CAAAA,CAdqD,EAc9CC,GAd8C,EAAA;EAe5D,IAAA,IAAMyY,EAAE,GAAGzD,QAAQ,CAACjV,CAAD,CAAnB,CAAA;EACA,IAAA,IAAM2Y,MAAM,GAAGD,EAAE,CAACd,QAAH,CAAYhiB,WAAZ,EAAf,CAAA;;EAEA,IAAA,IAAI4iB,aAAa,CAACrS,OAAd,CAAsBuS,EAAE,CAACd,QAAH,CAAYhiB,WAAZ,EAAtB,CAAqD,KAAA,CAAC,CAA1D,EAA6D;EAC3D8iB,MAAAA,EAAE,CAACne,UAAH,CAAcgb,WAAd,CAA0BmD,EAA1B,CAAA,CAAA;EAEA,MAAA,OAAA,UAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAME,aAAa,GAAG,EAAG9Y,CAAAA,KAAH,CAASpK,IAAT,CAAcgjB,EAAE,CAACG,UAAjB,CAAtB,CAxB4D;;EA0B5D,IAAA,IAAMC,qBAAqB,GAAG,EAAA,CAAGC,MAAH,CAAUb,SAAS,CAAC,GAAD,CAAT,IAAkB,EAA5B,EAAgCA,SAAS,CAACS,MAAD,CAAT,IAAqB,EAArD,CAA9B,CAAA;EAEAC,IAAAA,aAAa,CAACzG,OAAd,CAAsB,UAAA3H,IAAI,EAAI;EAC5B,MAAA,IAAI,CAACiN,gBAAgB,CAACjN,IAAD,EAAOsO,qBAAP,CAArB,EAAoD;EAClDJ,QAAAA,EAAE,CAACzF,eAAH,CAAmBzI,IAAI,CAACoN,QAAxB,CAAA,CAAA;EACD,OAAA;OAHH,CAAA,CAAA;EA5B4D,GAAA,CAAA;;EAc9D,EAAA,KAAK,IAAI5X,CAAC,GAAG,CAAR,EAAWC,GAAG,GAAGgV,QAAQ,CAAC/U,MAA/B,EAAuCF,CAAC,GAAGC,GAA3C,EAAgDD,CAAC,EAAjD,EAAqD;MAAA,IAA5CA,IAAAA,GAAAA,KAAAA,CAAAA,CAA4C,CAAA,CAAA;;MAAA,IAOjD,IAAA,KAAA,UAAA,EAAA,SAAA;EAYH,GAAA;;EAED,EAAA,OAAOsY,eAAe,CAAC9J,IAAhB,CAAqBwK,SAA5B,CAAA;EACD;;ECnHD;EACA;EACA;;EAEA,IAAM/d,MAAI,GAAG,SAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,YAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAMG,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EACA,IAAMge,cAAY,GAAG,YAArB,CAAA;EACA,IAAMC,oBAAkB,GAAG,IAAIrf,MAAJ,aAAqBof,cAArB,GAAA,MAAA,EAAyC,GAAzC,CAA3B,CAAA;EACA,IAAME,qBAAqB,GAAG,CAAC,UAAD,EAAa,WAAb,EAA0B,YAA1B,CAA9B,CAAA;EAEA,IAAM3d,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EAEA,IAAM2d,gBAAgB,GAAG,MAAzB,CAAA;EACA,IAAMC,eAAe,GAAG,KAAxB,CAAA;EAEA,IAAMC,sBAAsB,GAAG,gBAA/B,CAAA;EACA,IAAMC,cAAc,GAAG,QAAvB,CAAA;EAEA,IAAMC,aAAa,GAAG,OAAtB,CAAA;EACA,IAAMC,aAAa,GAAG,OAAtB,CAAA;EACA,IAAMC,aAAa,GAAG,OAAtB,CAAA;EACA,IAAMC,cAAc,GAAG,QAAvB,CAAA;EAEA,IAAMC,aAAa,GAAG;EACpBC,EAAAA,IAAI,EAAE,MADc;EAEpBC,EAAAA,GAAG,EAAE,KAFe;EAGpBC,EAAAA,KAAK,EAAE,OAHa;EAIpBC,EAAAA,MAAM,EAAE,QAJY;EAKpBC,EAAAA,IAAI,EAAE,MAAA;EALc,CAAtB,CAAA;EAQA,IAAM5X,SAAO,GAAG;EACd6X,EAAAA,SAAS,EAAE,IADG;EAEdC,EAAAA,QAAQ,EAAE,sCAAA,GACQ,2BADR,GAEQ,yCAJJ;EAKdthB,EAAAA,OAAO,EAAE,aALK;EAMduhB,EAAAA,KAAK,EAAE,EANO;EAOdC,EAAAA,KAAK,EAAE,CAPO;EAQdC,EAAAA,IAAI,EAAE,KARQ;EASdziB,EAAAA,QAAQ,EAAE,KATI;EAUdqX,EAAAA,SAAS,EAAE,KAVG;EAWd/B,EAAAA,MAAM,EAAE,CAXM;EAYdoN,EAAAA,SAAS,EAAE,KAZG;EAadC,EAAAA,iBAAiB,EAAE,MAbL;EAcdnN,EAAAA,QAAQ,EAAE,cAdI;EAedoN,EAAAA,WAAW,EAAE,EAfC;EAgBdC,EAAAA,QAAQ,EAAE,IAhBI;EAiBdvC,EAAAA,UAAU,EAAE,IAjBE;EAkBdD,EAAAA,SAAS,EAAExC,gBAlBG;EAmBdlI,EAAAA,YAAY,EAAE,IAAA;EAnBA,CAAhB,CAAA;EAsBA,IAAM5K,aAAW,GAAG;EAClBsX,EAAAA,SAAS,EAAE,SADO;EAElBC,EAAAA,QAAQ,EAAE,QAFQ;EAGlBC,EAAAA,KAAK,EAAE,2BAHW;EAIlBvhB,EAAAA,OAAO,EAAE,QAJS;EAKlBwhB,EAAAA,KAAK,EAAE,iBALW;EAMlBC,EAAAA,IAAI,EAAE,SANY;EAOlBziB,EAAAA,QAAQ,EAAE,kBAPQ;EAQlBqX,EAAAA,SAAS,EAAE,mBARO;EASlB/B,EAAAA,MAAM,EAAE,0BATU;EAUlBoN,EAAAA,SAAS,EAAE,0BAVO;EAWlBC,EAAAA,iBAAiB,EAAE,gBAXD;EAYlBnN,EAAAA,QAAQ,EAAE,kBAZQ;EAalBoN,EAAAA,WAAW,EAAE,mBAbK;EAclBC,EAAAA,QAAQ,EAAE,SAdQ;EAelBvC,EAAAA,UAAU,EAAE,iBAfM;EAgBlBD,EAAAA,SAAS,EAAE,QAhBO;EAiBlB1K,EAAAA,YAAY,EAAE,eAAA;EAjBI,CAApB,CAAA;EAoBA,IAAM5Q,OAAK,GAAG;EACZ+d,EAAAA,IAAI,WAASvf,WADD;EAEZwf,EAAAA,MAAM,aAAWxf,WAFL;EAGZyf,EAAAA,IAAI,WAASzf,WAHD;EAIZ0f,EAAAA,KAAK,YAAU1f,WAJH;EAKZ2f,EAAAA,QAAQ,eAAa3f,WALT;EAMZ4f,EAAAA,KAAK,YAAU5f,WANH;EAOZ6f,EAAAA,OAAO,cAAY7f,WAPP;EAQZ8f,EAAAA,QAAQ,eAAa9f,WART;EASZ+f,EAAAA,UAAU,iBAAe/f,WATb;EAUZggB,EAAAA,UAAU,EAAehgB,YAAAA,GAAAA,WAAAA;EAVb,CAAd,CAAA;EAaA;EACA;EACA;;MAEMigB;IACJ,SAAYzjB,OAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;EAC3B,IAAA,IAAI,OAAOiV,0BAAP,KAAkB,WAAtB,EAAmC;EACjC,MAAA,MAAM,IAAI5T,SAAJ,CAAc,8DAAd,CAAN,CAAA;EACD,KAH0B;;;MAM3B,IAAK6gB,CAAAA,UAAL,GAAkB,IAAlB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,CAAhB,CAAA;MACA,IAAKC,CAAAA,WAAL,GAAmB,EAAnB,CAAA;MACA,IAAKC,CAAAA,cAAL,GAAsB,EAAtB,CAAA;EACA,IAAA,IAAA,CAAK/N,OAAL,GAAe,IAAf,CAV2B;;MAa3B,IAAK9V,CAAAA,OAAL,GAAeA,OAAf,CAAA;EACA,IAAA,IAAA,CAAKwB,MAAL,GAAc,IAAA,CAAKsK,UAAL,CAAgBtK,MAAhB,CAAd,CAAA;MACA,IAAKsiB,CAAAA,GAAL,GAAW,IAAX,CAAA;;EAEA,IAAA,IAAA,CAAKC,aAAL,EAAA,CAAA;EACD;;;;;EA+BD;EACAC,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;MACP,IAAKN,CAAAA,UAAL,GAAkB,IAAlB,CAAA;;;EAGFO,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;MACR,IAAKP,CAAAA,UAAL,GAAkB,KAAlB,CAAA;;;EAGFQ,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,IAAA,CAAKR,UAAL,GAAkB,CAAC,IAAA,CAAKA,UAAxB,CAAA;;;WAGF5c,SAAA,SAAOzI,MAAAA,CAAAA,KAAP,EAAc;MACZ,IAAI,CAAC,IAAKqlB,CAAAA,UAAV,EAAsB;EACpB,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAIrlB,KAAJ,EAAW;EACT,MAAA,IAAM8lB,OAAO,GAAG,IAAKhN,CAAAA,WAAL,CAAiB5T,QAAjC,CAAA;EACA,MAAA,IAAIwU,OAAO,GAAGzZ,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,CAAd,CAAA;;QAEA,IAAI,CAACpM,OAAL,EAAc;EACZA,QAAAA,OAAO,GAAG,IAAI,IAAKZ,CAAAA,WAAT,CACR9Y,KAAK,CAACoV,aADE,EAER,IAAA,CAAK2Q,kBAAL,EAFQ,CAAV,CAAA;UAIA9lB,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,EAAqCpM,OAArC,CAAA,CAAA;EACD,OAAA;;QAEDA,OAAO,CAAC8L,cAAR,CAAuBQ,KAAvB,GAA+B,CAACtM,OAAO,CAAC8L,cAAR,CAAuBQ,KAAvD,CAAA;;EAEA,MAAA,IAAItM,OAAO,CAACuM,oBAAR,EAAJ,EAAoC;EAClCvM,QAAAA,OAAO,CAACwM,MAAR,CAAe,IAAf,EAAqBxM,OAArB,CAAA,CAAA;EACD,OAFD,MAEO;EACLA,QAAAA,OAAO,CAACyM,MAAR,CAAe,IAAf,EAAqBzM,OAArB,CAAA,CAAA;EACD,OAAA;EACF,KAnBD,MAmBO;QACL,IAAIzZ,qBAAC,CAAC,IAAA,CAAKmmB,aAAL,EAAD,CAAD,CAAwBvf,QAAxB,CAAiCrB,iBAAjC,CAAJ,EAAuD;EACrD,QAAA,IAAA,CAAK2gB,MAAL,CAAY,IAAZ,EAAkB,IAAlB,CAAA,CAAA;;EACA,QAAA,OAAA;EACD,OAAA;;EAED,MAAA,IAAA,CAAKD,MAAL,CAAY,IAAZ,EAAkB,IAAlB,CAAA,CAAA;EACD,KAAA;;;EAGH5f,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;MACRyJ,YAAY,CAAC,IAAKuV,CAAAA,QAAN,CAAZ,CAAA;MAEArlB,qBAAC,CAACsG,UAAF,CAAa,IAAA,CAAK5E,OAAlB,EAA2B,IAAA,CAAKmX,WAAL,CAAiB5T,QAA5C,CAAA,CAAA;MAEAjF,qBAAC,CAAC,IAAK0B,CAAAA,OAAN,CAAD,CAAgBuN,GAAhB,CAAoB,IAAA,CAAK4J,WAAL,CAAiB3T,SAArC,CAAA,CAAA;EACAlF,IAAAA,qBAAC,CAAC,IAAA,CAAK0B,OAAN,CAAD,CAAgB8E,OAAhB,CAAwB,QAAxB,CAAA,CAAkCyI,GAAlC,CAAsC,eAAtC,EAAuD,KAAKmX,iBAA5D,CAAA,CAAA;;MAEA,IAAI,IAAA,CAAKZ,GAAT,EAAc;EACZxlB,MAAAA,qBAAC,CAAC,IAAA,CAAKwlB,GAAN,CAAD,CAAYze,MAAZ,EAAA,CAAA;EACD,KAAA;;MAED,IAAKqe,CAAAA,UAAL,GAAkB,IAAlB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKC,CAAAA,WAAL,GAAmB,IAAnB,CAAA;MACA,IAAKC,CAAAA,cAAL,GAAsB,IAAtB,CAAA;;MACA,IAAI,IAAA,CAAK/N,OAAT,EAAkB;QAChB,IAAKA,CAAAA,OAAL,CAAaiB,OAAb,EAAA,CAAA;EACD,KAAA;;MAED,IAAKjB,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAK9V,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAKwB,CAAAA,MAAL,GAAc,IAAd,CAAA;MACA,IAAKsiB,CAAAA,GAAL,GAAW,IAAX,CAAA;;;EAGF1R,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;MACL,IAAI9T,qBAAC,CAAC,IAAA,CAAK0B,OAAN,CAAD,CAAgBS,GAAhB,CAAoB,SAApB,CAAmC,KAAA,MAAvC,EAA+C;EAC7C,MAAA,MAAM,IAAI0B,KAAJ,CAAU,qCAAV,CAAN,CAAA;EACD,KAAA;;EAED,IAAA,IAAMoU,SAAS,GAAGjY,qBAAC,CAAC0G,KAAF,CAAQ,IAAKmS,CAAAA,WAAL,CAAiBnS,KAAjB,CAAuBie,IAA/B,CAAlB,CAAA;;EACA,IAAA,IAAI,IAAK0B,CAAAA,aAAL,EAAwB,IAAA,IAAA,CAAKjB,UAAjC,EAA6C;EAC3CplB,MAAAA,qBAAC,CAAC,IAAK0B,CAAAA,OAAN,CAAD,CAAgBiB,OAAhB,CAAwBsV,SAAxB,CAAA,CAAA;QAEA,IAAMqO,UAAU,GAAG1lB,IAAI,CAACmD,cAAL,CAAoB,IAAA,CAAKrC,OAAzB,CAAnB,CAAA;QACA,IAAM6kB,UAAU,GAAGvmB,qBAAC,CAAC+I,QAAF,CACjBud,UAAU,KAAK,IAAf,GAAsBA,UAAtB,GAAmC,IAAA,CAAK5kB,OAAL,CAAa8kB,aAAb,CAA2BxiB,eAD7C,EAEjB,IAAKtC,CAAAA,OAFY,CAAnB,CAAA;;EAKA,MAAA,IAAIuW,SAAS,CAAC9R,kBAAV,EAAkC,IAAA,CAACogB,UAAvC,EAAmD;EACjD,QAAA,OAAA;EACD,OAAA;;EAED,MAAA,IAAMf,GAAG,GAAG,IAAKW,CAAAA,aAAL,EAAZ,CAAA;QACA,IAAMM,KAAK,GAAG7lB,IAAI,CAACO,MAAL,CAAY,IAAK0X,CAAAA,WAAL,CAAiB9T,IAA7B,CAAd,CAAA;EAEAygB,MAAAA,GAAG,CAACrc,YAAJ,CAAiB,IAAjB,EAAuBsd,KAAvB,CAAA,CAAA;EACA,MAAA,IAAA,CAAK/kB,OAAL,CAAayH,YAAb,CAA0B,kBAA1B,EAA8Csd,KAA9C,CAAA,CAAA;EAEA,MAAA,IAAA,CAAKC,UAAL,EAAA,CAAA;;EAEA,MAAA,IAAI,IAAKxjB,CAAAA,MAAL,CAAY8gB,SAAhB,EAA2B;EACzBhkB,QAAAA,qBAAC,CAACwlB,GAAD,CAAD,CAAOpU,QAAP,CAAgB9L,iBAAhB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAM0T,SAAS,GAAG,OAAO,IAAA,CAAK9V,MAAL,CAAY8V,SAAnB,KAAiC,UAAjC,GAChB,IAAK9V,CAAAA,MAAL,CAAY8V,SAAZ,CAAsBxZ,IAAtB,CAA2B,IAA3B,EAAiCgmB,GAAjC,EAAsC,IAAA,CAAK9jB,OAA3C,CADgB,GAEhB,IAAA,CAAKwB,MAAL,CAAY8V,SAFd,CAAA;;EAIA,MAAA,IAAM2N,UAAU,GAAG,IAAA,CAAKC,cAAL,CAAoB5N,SAApB,CAAnB,CAAA;;QACA,IAAK6N,CAAAA,kBAAL,CAAwBF,UAAxB,CAAA,CAAA;;EAEA,MAAA,IAAMtC,SAAS,GAAG,IAAKyC,CAAAA,aAAL,EAAlB,CAAA;;QACA9mB,qBAAC,CAACwlB,GAAD,CAAD,CAAOre,IAAP,CAAY,IAAA,CAAK0R,WAAL,CAAiB5T,QAA7B,EAAuC,IAAvC,CAAA,CAAA;;EAEA,MAAA,IAAI,CAACjF,qBAAC,CAAC+I,QAAF,CAAW,IAAKrH,CAAAA,OAAL,CAAa8kB,aAAb,CAA2BxiB,eAAtC,EAAuD,IAAKwhB,CAAAA,GAA5D,CAAL,EAAuE;EACrExlB,QAAAA,qBAAC,CAACwlB,GAAD,CAAD,CAAO5H,QAAP,CAAgByG,SAAhB,CAAA,CAAA;EACD,OAAA;;EAEDrkB,MAAAA,qBAAC,CAAC,IAAA,CAAK0B,OAAN,CAAD,CAAgBiB,OAAhB,CAAwB,IAAA,CAAKkW,WAAL,CAAiBnS,KAAjB,CAAuBme,QAA/C,CAAA,CAAA;EAEA,MAAA,IAAA,CAAKrN,OAAL,GAAe,IAAIW,0BAAJ,CAAW,IAAKzW,CAAAA,OAAhB,EAAyB8jB,GAAzB,EAA8B,IAAKnN,CAAAA,gBAAL,CAAsBsO,UAAtB,CAA9B,CAAf,CAAA;EAEA3mB,MAAAA,qBAAC,CAACwlB,GAAD,CAAD,CAAOpU,QAAP,CAAgB7L,iBAAhB,CAAA,CAAA;QACAvF,qBAAC,CAACwlB,GAAD,CAAD,CAAOpU,QAAP,CAAgB,IAAA,CAAKlO,MAAL,CAAYqhB,WAA5B,CAAA,CA5C2C;EA+C3C;EACA;EACA;;EACA,MAAA,IAAI,cAAkBhjB,IAAAA,QAAQ,CAACyC,eAA/B,EAAgD;EAC9ChE,QAAAA,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnH,QAAjB,EAAA,CAA4B5J,EAA5B,CAA+B,WAA/B,EAA4C,IAA5C,EAAkDvH,qBAAC,CAACuY,IAApD,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAM/D,QAAQ,GAAG,SAAXA,QAAW,GAAM;EACrB,QAAA,IAAI,KAAI,CAACtR,MAAL,CAAY8gB,SAAhB,EAA2B;EACzB,UAAA,KAAI,CAAC+C,cAAL,EAAA,CAAA;EACD,SAAA;;EAED,QAAA,IAAMC,cAAc,GAAG,KAAI,CAAC1B,WAA5B,CAAA;UACA,KAAI,CAACA,WAAL,GAAmB,IAAnB,CAAA;EAEAtlB,QAAAA,qBAAC,CAAC,KAAI,CAAC0B,OAAN,CAAD,CAAgBiB,OAAhB,CAAwB,KAAI,CAACkW,WAAL,CAAiBnS,KAAjB,CAAuBke,KAA/C,CAAA,CAAA;;UAEA,IAAIoC,cAAc,KAAK7D,eAAvB,EAAwC;EACtC,UAAA,KAAI,CAAC+C,MAAL,CAAY,IAAZ,EAAkB,KAAlB,CAAA,CAAA;EACD,SAAA;SAZH,CAAA;;QAeA,IAAIlmB,qBAAC,CAAC,IAAA,CAAKwlB,GAAN,CAAD,CAAY5e,QAAZ,CAAqBtB,iBAArB,CAAJ,EAA2C;UACzC,IAAMpD,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAKujB,GAA3C,CAA3B,CAAA;EAEAxlB,QAAAA,qBAAC,CAAC,IAAA,CAAKwlB,GAAN,CAAD,CACG7kB,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,OAND,MAMO;UACLsS,QAAQ,EAAA,CAAA;EACT,OAAA;EACF,KAAA;;;WAGHX,OAAA,SAAK2J,IAAAA,CAAAA,QAAL,EAAe;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACb,IAAA,IAAMgI,GAAG,GAAG,IAAKW,CAAAA,aAAL,EAAZ,CAAA;EACA,IAAA,IAAM3N,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQ,IAAKmS,CAAAA,WAAL,CAAiBnS,KAAjB,CAAuB+d,IAA/B,CAAlB,CAAA;;EACA,IAAA,IAAMjQ,QAAQ,GAAG,SAAXA,QAAW,GAAM;QACrB,IAAI,MAAI,CAAC8Q,WAAL,KAAqBpC,gBAArB,IAAyCsC,GAAG,CAACnhB,UAAjD,EAA6D;EAC3DmhB,QAAAA,GAAG,CAACnhB,UAAJ,CAAegb,WAAf,CAA2BmG,GAA3B,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,MAAI,CAACyB,cAAL,EAAA,CAAA;;EACA,MAAA,MAAI,CAACvlB,OAAL,CAAaqb,eAAb,CAA6B,kBAA7B,CAAA,CAAA;;EACA/c,MAAAA,qBAAC,CAAC,MAAI,CAAC0B,OAAN,CAAD,CAAgBiB,OAAhB,CAAwB,MAAI,CAACkW,WAAL,CAAiBnS,KAAjB,CAAuBge,MAA/C,CAAA,CAAA;;EACA,MAAA,IAAI,MAAI,CAAClN,OAAL,KAAiB,IAArB,EAA2B;UACzB,MAAI,CAACA,OAAL,CAAaiB,OAAb,EAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI+E,QAAJ,EAAc;UACZA,QAAQ,EAAA,CAAA;EACT,OAAA;OAdH,CAAA;;EAiBAxd,IAAAA,qBAAC,CAAC,IAAK0B,CAAAA,OAAN,CAAD,CAAgBiB,OAAhB,CAAwB6V,SAAxB,CAAA,CAAA;;EAEA,IAAA,IAAIA,SAAS,CAACrS,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;MAEDnG,qBAAC,CAACwlB,GAAD,CAAD,CAAO7e,WAAP,CAAmBpB,iBAAnB,EA1Ba;EA6Bb;;EACA,IAAA,IAAI,cAAkBhE,IAAAA,QAAQ,CAACyC,eAA/B,EAAgD;EAC9ChE,MAAAA,qBAAC,CAACuB,QAAQ,CAAC+W,IAAV,CAAD,CAAiBnH,QAAjB,EAAA,CAA4BlC,GAA5B,CAAgC,WAAhC,EAA6C,IAA7C,EAAmDjP,qBAAC,CAACuY,IAArD,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAKgN,cAAL,CAAoB/B,aAApB,CAAA,GAAqC,KAArC,CAAA;EACA,IAAA,IAAA,CAAK+B,cAAL,CAAoBhC,aAApB,CAAA,GAAqC,KAArC,CAAA;EACA,IAAA,IAAA,CAAKgC,cAAL,CAAoBjC,aAApB,CAAA,GAAqC,KAArC,CAAA;;MAEA,IAAItjB,qBAAC,CAAC,IAAA,CAAKwlB,GAAN,CAAD,CAAY5e,QAAZ,CAAqBtB,iBAArB,CAAJ,EAA2C;EACzC,MAAA,IAAMpD,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsCujB,GAAtC,CAA3B,CAAA;EAEAxlB,MAAAA,qBAAC,CAACwlB,GAAD,CAAD,CACG7kB,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,KAND,MAMO;QACLsS,QAAQ,EAAA,CAAA;EACT,KAAA;;MAED,IAAK8Q,CAAAA,WAAL,GAAmB,EAAnB,CAAA;;;EAGF5M,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;EACP,IAAA,IAAI,IAAKlB,CAAAA,OAAL,KAAiB,IAArB,EAA2B;QACzB,IAAKA,CAAAA,OAAL,CAAamB,cAAb,EAAA,CAAA;EACD,KAAA;EACF;;;EAGD0N,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,OAAOxjB,OAAO,CAAC,IAAKqkB,CAAAA,QAAL,EAAD,CAAd,CAAA;;;WAGFL,qBAAA,SAAmBF,kBAAAA,CAAAA,UAAnB,EAA+B;MAC7B3mB,qBAAC,CAAC,IAAKmmB,CAAAA,aAAL,EAAD,CAAD,CAAwB/U,QAAxB,CAAoC2R,cAApC,GAAA,GAAA,GAAoD4D,UAApD,CAAA,CAAA;;;EAGFR,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,IAAA,CAAKX,GAAL,GAAW,IAAKA,CAAAA,GAAL,IAAYxlB,qBAAC,CAAC,IAAKkD,CAAAA,MAAL,CAAY+gB,QAAb,CAAD,CAAwB,CAAxB,CAAvB,CAAA;EACA,IAAA,OAAO,KAAKuB,GAAZ,CAAA;;;EAGFkB,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;EACX,IAAA,IAAMlB,GAAG,GAAG,IAAKW,CAAAA,aAAL,EAAZ,CAAA;EACA,IAAA,IAAA,CAAKgB,iBAAL,CAAuBnnB,qBAAC,CAACwlB,GAAG,CAAC3b,gBAAJ,CAAqBuZ,sBAArB,CAAD,CAAxB,EAAwE,IAAA,CAAK8D,QAAL,EAAxE,CAAA,CAAA;MACAlnB,qBAAC,CAACwlB,GAAD,CAAD,CAAO7e,WAAP,CAAsBrB,iBAAtB,SAAyCC,iBAAzC,CAAA,CAAA;;;EAGF4hB,EAAAA,MAAAA,CAAAA,oBAAA,SAAA,iBAAA,CAAkBjgB,QAAlB,EAA4BkgB,OAA5B,EAAqC;EACnC,IAAA,IAAI,OAAOA,OAAP,KAAmB,QAAnB,KAAgCA,OAAO,CAACrkB,QAAR,IAAoBqkB,OAAO,CAAC3iB,MAA5D,CAAJ,EAAyE;EACvE;EACA,MAAA,IAAI,IAAKvB,CAAAA,MAAL,CAAYkhB,IAAhB,EAAsB;EACpB,QAAA,IAAI,CAACpkB,qBAAC,CAAConB,OAAD,CAAD,CAAW7gB,MAAX,EAAA,CAAoBrG,EAApB,CAAuBgH,QAAvB,CAAL,EAAuC;EACrCA,UAAAA,QAAQ,CAACmgB,KAAT,EAAiBC,CAAAA,MAAjB,CAAwBF,OAAxB,CAAA,CAAA;EACD,SAAA;EACF,OAJD,MAIO;UACLlgB,QAAQ,CAACqgB,IAAT,CAAcvnB,qBAAC,CAAConB,OAAD,CAAD,CAAWG,IAAX,EAAd,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAI,IAAKrkB,CAAAA,MAAL,CAAYkhB,IAAhB,EAAsB;EACpB,MAAA,IAAI,IAAKlhB,CAAAA,MAAL,CAAYshB,QAAhB,EAA0B;EACxB4C,QAAAA,OAAO,GAAGtF,YAAY,CAACsF,OAAD,EAAU,IAAKlkB,CAAAA,MAAL,CAAY8e,SAAtB,EAAiC,IAAA,CAAK9e,MAAL,CAAY+e,UAA7C,CAAtB,CAAA;EACD,OAAA;;QAED/a,QAAQ,CAACkd,IAAT,CAAcgD,OAAd,CAAA,CAAA;EACD,KAND,MAMO;QACLlgB,QAAQ,CAACqgB,IAAT,CAAcH,OAAd,CAAA,CAAA;EACD,KAAA;;;EAGHF,EAAAA,MAAAA,CAAAA,WAAA,SAAW,QAAA,GAAA;MACT,IAAIhD,KAAK,GAAG,IAAKxiB,CAAAA,OAAL,CAAaE,YAAb,CAA0B,qBAA1B,CAAZ,CAAA;;MAEA,IAAI,CAACsiB,KAAL,EAAY;QACVA,KAAK,GAAG,OAAO,IAAKhhB,CAAAA,MAAL,CAAYghB,KAAnB,KAA6B,UAA7B,GACN,IAAKhhB,CAAAA,MAAL,CAAYghB,KAAZ,CAAkB1kB,IAAlB,CAAuB,IAAKkC,CAAAA,OAA5B,CADM,GAEN,IAAA,CAAKwB,MAAL,CAAYghB,KAFd,CAAA;EAGD,KAAA;;EAED,IAAA,OAAOA,KAAP,CAAA;EACD;;;WAGD7L,mBAAA,SAAiBsO,gBAAAA,CAAAA,UAAjB,EAA6B;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EAC3B,IAAA,IAAMa,eAAe,GAAG;EACtBxO,MAAAA,SAAS,EAAE2N,UADW;EAEtBxN,MAAAA,SAAS,EAAE;UACTlC,MAAM,EAAE,IAAKgC,CAAAA,UAAL,EADC;EAET/B,QAAAA,IAAI,EAAE;YACJuQ,QAAQ,EAAE,IAAKvkB,CAAAA,MAAL,CAAYohB,iBAAAA;WAHf;EAKToD,QAAAA,KAAK,EAAE;EACLhmB,UAAAA,OAAO,EAAE2hB,cAAAA;WANF;EAQThK,QAAAA,eAAe,EAAE;YACfC,iBAAiB,EAAE,IAAKpW,CAAAA,MAAL,CAAYiU,QAAAA;EADhB,SAAA;SAVG;QActBwQ,QAAQ,EAAE,SAAAxgB,QAAAA,CAAAA,IAAI,EAAI;EAChB,QAAA,IAAIA,IAAI,CAACygB,iBAAL,KAA2BzgB,IAAI,CAAC6R,SAApC,EAA+C;YAC7C,MAAI,CAAC6O,4BAAL,CAAkC1gB,IAAlC,CAAA,CAAA;EACD,SAAA;SAjBmB;QAmBtB2gB,QAAQ,EAAE,kBAAA3gB,IAAI,EAAA;EAAA,QAAA,OAAI,MAAI,CAAC0gB,4BAAL,CAAkC1gB,IAAlC,CAAJ,CAAA;EAAA,OAAA;OAnBhB,CAAA;EAsBA,IAAA,OAAA,QAAA,CAAA,EAAA,EACKqgB,eADL,EAEK,IAAKtkB,CAAAA,MAAL,CAAYoU,YAFjB,CAAA,CAAA;;;EAMF2B,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACX,IAAMhC,MAAM,GAAG,EAAf,CAAA;;EAEA,IAAA,IAAI,OAAO,IAAK/T,CAAAA,MAAL,CAAY+T,MAAnB,KAA8B,UAAlC,EAA8C;EAC5CA,MAAAA,MAAM,CAACjW,EAAP,GAAY,UAAAmG,IAAI,EAAI;UAClBA,IAAI,CAAC+R,OAAL,GACK/R,QAAAA,CAAAA,EAAAA,EAAAA,IAAI,CAAC+R,OADV,EAEK,MAAI,CAAChW,MAAL,CAAY+T,MAAZ,CAAmB9P,IAAI,CAAC+R,OAAxB,EAAiC,MAAI,CAACxX,OAAtC,CAFL,CAAA,CAAA;EAKA,QAAA,OAAOyF,IAAP,CAAA;SANF,CAAA;EAQD,KATD,MASO;EACL8P,MAAAA,MAAM,CAACA,MAAP,GAAgB,IAAK/T,CAAAA,MAAL,CAAY+T,MAA5B,CAAA;EACD,KAAA;;EAED,IAAA,OAAOA,MAAP,CAAA;;;EAGF6P,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,IAAI,KAAK5jB,MAAL,CAAYmhB,SAAZ,KAA0B,KAA9B,EAAqC;QACnC,OAAO9iB,QAAQ,CAAC+W,IAAhB,CAAA;EACD,KAAA;;MAED,IAAI1X,IAAI,CAACkC,SAAL,CAAe,KAAKI,MAAL,CAAYmhB,SAA3B,CAAJ,EAA2C;EACzC,MAAA,OAAOrkB,qBAAC,CAAC,IAAA,CAAKkD,MAAL,CAAYmhB,SAAb,CAAR,CAAA;EACD,KAAA;;MAED,OAAOrkB,qBAAC,CAACuB,QAAD,CAAD,CAAYwmB,IAAZ,CAAiB,IAAK7kB,CAAAA,MAAL,CAAYmhB,SAA7B,CAAP,CAAA;;;WAGFuC,iBAAA,SAAe5N,cAAAA,CAAAA,SAAf,EAA0B;EACxB,IAAA,OAAO0K,aAAa,CAAC1K,SAAS,CAAClV,WAAV,EAAD,CAApB,CAAA;;;EAGF2hB,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACd,IAAMuC,QAAQ,GAAG,IAAA,CAAK9kB,MAAL,CAAYP,OAAZ,CAAoBH,KAApB,CAA0B,GAA1B,CAAjB,CAAA;EAEAwlB,IAAAA,QAAQ,CAAC/L,OAAT,CAAiB,UAAAtZ,OAAO,EAAI;QAC1B,IAAIA,OAAO,KAAK,OAAhB,EAAyB;UACvB3C,qBAAC,CAAC,MAAI,CAAC0B,OAAN,CAAD,CAAgB6F,EAAhB,CACE,MAAI,CAACsR,WAAL,CAAiBnS,KAAjB,CAAuBoe,KADzB,EAEE,MAAI,CAAC5hB,MAAL,CAAYvB,QAFd,EAGE,UAAA5B,KAAK,EAAA;EAAA,UAAA,OAAI,MAAI,CAACyI,MAAL,CAAYzI,KAAZ,CAAJ,CAAA;WAHP,CAAA,CAAA;EAKD,OAND,MAMO,IAAI4C,OAAO,KAAK8gB,cAAhB,EAAgC;UACrC,IAAMwE,OAAO,GAAGtlB,OAAO,KAAK2gB,aAAZ,GACd,MAAI,CAACzK,WAAL,CAAiBnS,KAAjB,CAAuBue,UADT,GAEd,MAAI,CAACpM,WAAL,CAAiBnS,KAAjB,CAAuBqe,OAFzB,CAAA;UAGA,IAAMmD,QAAQ,GAAGvlB,OAAO,KAAK2gB,aAAZ,GACf,MAAI,CAACzK,WAAL,CAAiBnS,KAAjB,CAAuBwe,UADR,GAEf,MAAI,CAACrM,WAAL,CAAiBnS,KAAjB,CAAuBse,QAFzB,CAAA;EAIAhlB,QAAAA,qBAAC,CAAC,MAAI,CAAC0B,OAAN,CAAD,CACG6F,EADH,CACM0gB,OADN,EACe,MAAI,CAAC/kB,MAAL,CAAYvB,QAD3B,EACqC,UAAA5B,KAAK,EAAA;EAAA,UAAA,OAAI,MAAI,CAACkmB,MAAL,CAAYlmB,KAAZ,CAAJ,CAAA;EAAA,SAD1C,CAEGwH,CAAAA,EAFH,CAEM2gB,QAFN,EAEgB,MAAI,CAAChlB,MAAL,CAAYvB,QAF5B,EAEsC,UAAA5B,KAAK,EAAA;EAAA,UAAA,OAAI,MAAI,CAACmmB,MAAL,CAAYnmB,KAAZ,CAAJ,CAAA;WAF3C,CAAA,CAAA;EAGD,OAAA;OAlBH,CAAA,CAAA;;MAqBA,IAAKqmB,CAAAA,iBAAL,GAAyB,YAAM;QAC7B,IAAI,MAAI,CAAC1kB,OAAT,EAAkB;EAChB,QAAA,MAAI,CAACmS,IAAL,EAAA,CAAA;EACD,OAAA;OAHH,CAAA;;EAMA7T,IAAAA,qBAAC,CAAC,IAAA,CAAK0B,OAAN,CAAD,CAAgB8E,OAAhB,CAAwB,QAAxB,CAAA,CAAkCe,EAAlC,CAAqC,eAArC,EAAsD,KAAK6e,iBAA3D,CAAA,CAAA;;EAEA,IAAA,IAAI,IAAKljB,CAAAA,MAAL,CAAYvB,QAAhB,EAA0B;QACxB,IAAKuB,CAAAA,MAAL,GACK,QAAA,CAAA,EAAA,EAAA,IAAA,CAAKA,MADV,EAAA;EAEEP,QAAAA,OAAO,EAAE,QAFX;EAGEhB,QAAAA,QAAQ,EAAE,EAAA;EAHZ,OAAA,CAAA,CAAA;EAKD,KAND,MAMO;EACL,MAAA,IAAA,CAAKwmB,SAAL,EAAA,CAAA;EACD,KAAA;;;EAGHA,EAAAA,MAAAA,CAAAA,YAAA,SAAY,SAAA,GAAA;MACV,IAAMC,SAAS,GAAG,OAAO,IAAA,CAAK1mB,OAAL,CAAaE,YAAb,CAA0B,qBAA1B,CAAzB,CAAA;;MAEA,IAAI,IAAA,CAAKF,OAAL,CAAaE,YAAb,CAA0B,OAA1B,CAAsCwmB,IAAAA,SAAS,KAAK,QAAxD,EAAkE;EAChE,MAAA,IAAA,CAAK1mB,OAAL,CAAayH,YAAb,CACE,qBADF,EAEE,IAAKzH,CAAAA,OAAL,CAAaE,YAAb,CAA0B,OAA1B,KAAsC,EAFxC,CAAA,CAAA;EAKA,MAAA,IAAA,CAAKF,OAAL,CAAayH,YAAb,CAA0B,OAA1B,EAAmC,EAAnC,CAAA,CAAA;EACD,KAAA;;;EAGH8c,EAAAA,MAAAA,CAAAA,SAAA,SAAA,MAAA,CAAOlmB,KAAP,EAAc0Z,OAAd,EAAuB;EACrB,IAAA,IAAMoM,OAAO,GAAG,IAAKhN,CAAAA,WAAL,CAAiB5T,QAAjC,CAAA;EACAwU,IAAAA,OAAO,GAAGA,OAAO,IAAIzZ,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,CAArB,CAAA;;MAEA,IAAI,CAACpM,OAAL,EAAc;EACZA,MAAAA,OAAO,GAAG,IAAI,IAAKZ,CAAAA,WAAT,CACR9Y,KAAK,CAACoV,aADE,EAER,IAAA,CAAK2Q,kBAAL,EAFQ,CAAV,CAAA;QAIA9lB,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,EAAqCpM,OAArC,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI1Z,KAAJ,EAAW;EACT0Z,MAAAA,OAAO,CAAC8L,cAAR,CACExlB,KAAK,CAAC6I,IAAN,KAAe,SAAf,GAA2B2a,aAA3B,GAA2CD,aAD7C,IAEI,IAFJ,CAAA;EAGD,KAAA;;EAED,IAAA,IAAItjB,qBAAC,CAACyZ,OAAO,CAAC0M,aAAR,EAAD,CAAD,CAA2Bvf,QAA3B,CAAoCrB,iBAApC,CAAwDkU,IAAAA,OAAO,CAAC6L,WAAR,KAAwBpC,gBAApF,EAAsG;QACpGzJ,OAAO,CAAC6L,WAAR,GAAsBpC,gBAAtB,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;EAEDpT,IAAAA,YAAY,CAAC2J,OAAO,CAAC4L,QAAT,CAAZ,CAAA;MAEA5L,OAAO,CAAC6L,WAAR,GAAsBpC,gBAAtB,CAAA;;EAEA,IAAA,IAAI,CAACzJ,OAAO,CAACvW,MAAR,CAAeihB,KAAhB,IAAyB,CAAC1K,OAAO,CAACvW,MAAR,CAAeihB,KAAf,CAAqBrQ,IAAnD,EAAyD;EACvD2F,MAAAA,OAAO,CAAC3F,IAAR,EAAA,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;EAED2F,IAAAA,OAAO,CAAC4L,QAAR,GAAmBxkB,UAAU,CAAC,YAAM;EAClC,MAAA,IAAI4Y,OAAO,CAAC6L,WAAR,KAAwBpC,gBAA5B,EAA8C;EAC5CzJ,QAAAA,OAAO,CAAC3F,IAAR,EAAA,CAAA;EACD,OAAA;OAH0B,EAI1B2F,OAAO,CAACvW,MAAR,CAAeihB,KAAf,CAAqBrQ,IAJK,CAA7B,CAAA;;;EAOFoS,EAAAA,MAAAA,CAAAA,SAAA,SAAA,MAAA,CAAOnmB,KAAP,EAAc0Z,OAAd,EAAuB;EACrB,IAAA,IAAMoM,OAAO,GAAG,IAAKhN,CAAAA,WAAL,CAAiB5T,QAAjC,CAAA;EACAwU,IAAAA,OAAO,GAAGA,OAAO,IAAIzZ,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,CAArB,CAAA;;MAEA,IAAI,CAACpM,OAAL,EAAc;EACZA,MAAAA,OAAO,GAAG,IAAI,IAAKZ,CAAAA,WAAT,CACR9Y,KAAK,CAACoV,aADE,EAER,IAAA,CAAK2Q,kBAAL,EAFQ,CAAV,CAAA;QAIA9lB,qBAAC,CAACD,KAAK,CAACoV,aAAP,CAAD,CAAuBhO,IAAvB,CAA4B0e,OAA5B,EAAqCpM,OAArC,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAI1Z,KAAJ,EAAW;EACT0Z,MAAAA,OAAO,CAAC8L,cAAR,CACExlB,KAAK,CAAC6I,IAAN,KAAe,UAAf,GAA4B2a,aAA5B,GAA4CD,aAD9C,IAEI,KAFJ,CAAA;EAGD,KAAA;;EAED,IAAA,IAAI7J,OAAO,CAACuM,oBAAR,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;EAEDlW,IAAAA,YAAY,CAAC2J,OAAO,CAAC4L,QAAT,CAAZ,CAAA;MAEA5L,OAAO,CAAC6L,WAAR,GAAsBnC,eAAtB,CAAA;;EAEA,IAAA,IAAI,CAAC1J,OAAO,CAACvW,MAAR,CAAeihB,KAAhB,IAAyB,CAAC1K,OAAO,CAACvW,MAAR,CAAeihB,KAAf,CAAqBtQ,IAAnD,EAAyD;EACvD4F,MAAAA,OAAO,CAAC5F,IAAR,EAAA,CAAA;EACA,MAAA,OAAA;EACD,KAAA;;EAED4F,IAAAA,OAAO,CAAC4L,QAAR,GAAmBxkB,UAAU,CAAC,YAAM;EAClC,MAAA,IAAI4Y,OAAO,CAAC6L,WAAR,KAAwBnC,eAA5B,EAA6C;EAC3C1J,QAAAA,OAAO,CAAC5F,IAAR,EAAA,CAAA;EACD,OAAA;OAH0B,EAI1B4F,OAAO,CAACvW,MAAR,CAAeihB,KAAf,CAAqBtQ,IAJK,CAA7B,CAAA;;;EAOFmS,EAAAA,MAAAA,CAAAA,uBAAA,SAAuB,oBAAA,GAAA;EACrB,IAAA,KAAK,IAAMrjB,OAAX,IAAsB,IAAA,CAAK4iB,cAA3B,EAA2C;EACzC,MAAA,IAAI,IAAKA,CAAAA,cAAL,CAAoB5iB,OAApB,CAAJ,EAAkC;EAChC,QAAA,OAAO,IAAP,CAAA;EACD,OAAA;EACF,KAAA;;EAED,IAAA,OAAO,KAAP,CAAA;;;WAGF6K,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;MACjB,IAAMmlB,cAAc,GAAGroB,qBAAC,CAAC,KAAK0B,OAAN,CAAD,CAAgByF,IAAhB,EAAvB,CAAA;MAEA9D,MAAM,CAACkf,IAAP,CAAY8F,cAAZ,EACGpM,OADH,CACW,UAAAqM,QAAQ,EAAI;QACnB,IAAIrF,qBAAqB,CAAChT,OAAtB,CAA8BqY,QAA9B,CAA4C,KAAA,CAAC,CAAjD,EAAoD;UAClD,OAAOD,cAAc,CAACC,QAAD,CAArB,CAAA;EACD,OAAA;OAJL,CAAA,CAAA;EAOAplB,IAAAA,MAAM,gBACD,IAAK2V,CAAAA,WAAL,CAAiB1M,OADhB,EAEDkc,cAFC,EAGA,OAAOnlB,MAAP,KAAkB,QAAlB,IAA8BA,MAA9B,GAAuCA,MAAvC,GAAgD,EAHhD,CAAN,CAAA;;EAMA,IAAA,IAAI,OAAOA,MAAM,CAACihB,KAAd,KAAwB,QAA5B,EAAsC;QACpCjhB,MAAM,CAACihB,KAAP,GAAe;UACbrQ,IAAI,EAAE5Q,MAAM,CAACihB,KADA;UAEbtQ,IAAI,EAAE3Q,MAAM,CAACihB,KAAAA;SAFf,CAAA;EAID,KAAA;;EAED,IAAA,IAAI,OAAOjhB,MAAM,CAACghB,KAAd,KAAwB,QAA5B,EAAsC;QACpChhB,MAAM,CAACghB,KAAP,GAAehhB,MAAM,CAACghB,KAAP,CAAa3kB,QAAb,EAAf,CAAA;EACD,KAAA;;EAED,IAAA,IAAI,OAAO2D,MAAM,CAACkkB,OAAd,KAA0B,QAA9B,EAAwC;QACtClkB,MAAM,CAACkkB,OAAP,GAAiBlkB,MAAM,CAACkkB,OAAP,CAAe7nB,QAAf,EAAjB,CAAA;EACD,KAAA;;MAEDqB,IAAI,CAACoC,eAAL,CACE+B,MADF,EAEE7B,MAFF,EAGE,IAAA,CAAK2V,WAAL,CAAiBnM,WAHnB,CAAA,CAAA;;MAMA,IAAIxJ,MAAM,CAACshB,QAAX,EAAqB;EACnBthB,MAAAA,MAAM,CAAC+gB,QAAP,GAAkBnC,YAAY,CAAC5e,MAAM,CAAC+gB,QAAR,EAAkB/gB,MAAM,CAAC8e,SAAzB,EAAoC9e,MAAM,CAAC+e,UAA3C,CAA9B,CAAA;EACD,KAAA;;EAED,IAAA,OAAO/e,MAAP,CAAA;;;EAGF4iB,EAAAA,MAAAA,CAAAA,qBAAA,SAAqB,kBAAA,GAAA;MACnB,IAAM5iB,MAAM,GAAG,EAAf,CAAA;;MAEA,IAAI,IAAA,CAAKA,MAAT,EAAiB;EACf,MAAA,KAAK,IAAMqlB,GAAX,IAAkB,IAAA,CAAKrlB,MAAvB,EAA+B;EAC7B,QAAA,IAAI,IAAK2V,CAAAA,WAAL,CAAiB1M,OAAjB,CAAyBoc,GAAzB,CAAkC,KAAA,IAAA,CAAKrlB,MAAL,CAAYqlB,GAAZ,CAAtC,EAAwD;YACtDrlB,MAAM,CAACqlB,GAAD,CAAN,GAAc,KAAKrlB,MAAL,CAAYqlB,GAAZ,CAAd,CAAA;EACD,SAAA;EACF,OAAA;EACF,KAAA;;EAED,IAAA,OAAOrlB,MAAP,CAAA;;;EAGF+jB,EAAAA,MAAAA,CAAAA,iBAAA,SAAiB,cAAA,GAAA;EACf,IAAA,IAAMuB,IAAI,GAAGxoB,qBAAC,CAAC,IAAKmmB,CAAAA,aAAL,EAAD,CAAd,CAAA;MACA,IAAMsC,QAAQ,GAAGD,IAAI,CAAClU,IAAL,CAAU,OAAV,CAAmB7U,CAAAA,KAAnB,CAAyBujB,oBAAzB,CAAjB,CAAA;;EACA,IAAA,IAAIyF,QAAQ,KAAK,IAAb,IAAqBA,QAAQ,CAACze,MAAlC,EAA0C;QACxCwe,IAAI,CAAC7hB,WAAL,CAAiB8hB,QAAQ,CAACC,IAAT,CAAc,EAAd,CAAjB,CAAA,CAAA;EACD,KAAA;;;WAGHb,+BAAA,SAA6Bc,4BAAAA,CAAAA,UAA7B,EAAyC;EACvC,IAAA,IAAA,CAAKnD,GAAL,GAAWmD,UAAU,CAACC,QAAX,CAAoBC,MAA/B,CAAA;;EACA,IAAA,IAAA,CAAK5B,cAAL,EAAA,CAAA;;MACA,IAAKJ,CAAAA,kBAAL,CAAwB,IAAKD,CAAAA,cAAL,CAAoB+B,UAAU,CAAC3P,SAA/B,CAAxB,CAAA,CAAA;;;EAGF+N,EAAAA,MAAAA,CAAAA,iBAAA,SAAiB,cAAA,GAAA;EACf,IAAA,IAAMvB,GAAG,GAAG,IAAKW,CAAAA,aAAL,EAAZ,CAAA;EACA,IAAA,IAAM2C,mBAAmB,GAAG,IAAK5lB,CAAAA,MAAL,CAAY8gB,SAAxC,CAAA;;EAEA,IAAA,IAAIwB,GAAG,CAAC5jB,YAAJ,CAAiB,aAAjB,CAAA,KAAoC,IAAxC,EAA8C;EAC5C,MAAA,OAAA;EACD,KAAA;;EAED5B,IAAAA,qBAAC,CAACwlB,GAAD,CAAD,CAAO7e,WAAP,CAAmBrB,iBAAnB,CAAA,CAAA;EACA,IAAA,IAAA,CAAKpC,MAAL,CAAY8gB,SAAZ,GAAwB,KAAxB,CAAA;EACA,IAAA,IAAA,CAAKnQ,IAAL,EAAA,CAAA;EACA,IAAA,IAAA,CAAKC,IAAL,EAAA,CAAA;EACA,IAAA,IAAA,CAAK5Q,MAAL,CAAY8gB,SAAZ,GAAwB8E,mBAAxB,CAAA;EACD;;;YAGM9hB,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMC,QAAQ,GAAGlH,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAclC,UAAd,CAAX,CAAA;;EACA,MAAA,IAAMsI,OAAO,GAAG,OAAOrK,MAAP,KAAkB,QAAlB,IAA8BA,MAA9C,CAAA;;QAEA,IAAI,CAACiE,IAAD,IAAS,cAAA,CAAevD,IAAf,CAAoBV,MAApB,CAAb,EAA0C;EACxC,QAAA,OAAA;EACD,OAAA;;QAED,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAIge,OAAJ,CAAY,IAAZ,EAAkB5X,OAAlB,CAAP,CAAA;EACArG,QAAAA,QAAQ,CAACC,IAAT,CAAclC,UAAd,EAAwBkC,IAAxB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KArBM,CAAP,CAAA;;;;;WAvlBF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;WAED,SAAkB,GAAA,GAAA;EAChB,MAAA,OAAOpH,MAAP,CAAA;EACD,KAAA;;;WAED,SAAsB,GAAA,GAAA;EACpB,MAAA,OAAOE,UAAP,CAAA;EACD,KAAA;;;WAED,SAAmB,GAAA,GAAA;EACjB,MAAA,OAAOyB,OAAP,CAAA;EACD,KAAA;;;WAED,SAAuB,GAAA,GAAA;EACrB,MAAA,OAAOxB,WAAP,CAAA;EACD,KAAA;;;WAED,SAAyB,GAAA,GAAA;EACvB,MAAA,OAAOwH,aAAP,CAAA;EACD,KAAA;;;;;EAslBH;EACA;EACA;;;AAEA1M,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAaogB,GAAAA,OAAO,CAACne,gBAArB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyB2d,OAAzB,CAAA;;AACAnlB,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO+f,OAAO,CAACne,gBAAf,CAAA;EACD,CAHD;;EC5uBA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,SAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,YAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAMG,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EACA,IAAMge,YAAY,GAAG,YAArB,CAAA;EACA,IAAMC,kBAAkB,GAAG,IAAIrf,MAAJ,aAAqBof,YAArB,GAAA,MAAA,EAAyC,GAAzC,CAA3B,CAAA;EAEA,IAAMzd,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EAEA,IAAMwjB,cAAc,GAAG,iBAAvB,CAAA;EACA,IAAMC,gBAAgB,GAAG,eAAzB,CAAA;;EAEA,IAAM7c,SAAO,GAAA,QAAA,CAAA,EAAA,EACRgZ,OAAO,CAAChZ,OADA,EAAA;EAEX6M,EAAAA,SAAS,EAAE,OAFA;EAGXrW,EAAAA,OAAO,EAAE,OAHE;EAIXykB,EAAAA,OAAO,EAAE,EAJE;EAKXnD,EAAAA,QAAQ,EAAE,sCAAA,GACE,2BADF,GAEE,kCAFF,GAGE,wCAAA;EARD,CAAb,CAAA,CAAA;;EAWA,IAAMvX,aAAW,GAAA,QAAA,CAAA,EAAA,EACZyY,OAAO,CAACzY,WADI,EAAA;EAEf0a,EAAAA,OAAO,EAAE,2BAAA;EAFM,CAAjB,CAAA,CAAA;;EAKA,IAAM1gB,KAAK,GAAG;EACZ+d,EAAAA,IAAI,WAASvf,WADD;EAEZwf,EAAAA,MAAM,aAAWxf,WAFL;EAGZyf,EAAAA,IAAI,WAASzf,WAHD;EAIZ0f,EAAAA,KAAK,YAAU1f,WAJH;EAKZ2f,EAAAA,QAAQ,eAAa3f,WALT;EAMZ4f,EAAAA,KAAK,YAAU5f,WANH;EAOZ6f,EAAAA,OAAO,cAAY7f,WAPP;EAQZ8f,EAAAA,QAAQ,eAAa9f,WART;EASZ+f,EAAAA,UAAU,iBAAe/f,WATb;EAUZggB,EAAAA,UAAU,EAAehgB,YAAAA,GAAAA,WAAAA;EAVb,CAAd,CAAA;EAaA;EACA;EACA;;MAEM+jB;;;;;;;;;EA8BJ;EACA5C,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,OAAO,IAAKa,CAAAA,QAAL,EAAmB,IAAA,IAAA,CAAKgC,WAAL,EAA1B,CAAA;;;WAGFrC,qBAAA,SAAmBF,kBAAAA,CAAAA,UAAnB,EAA+B;MAC7B3mB,qBAAC,CAAC,IAAKmmB,CAAAA,aAAL,EAAD,CAAD,CAAwB/U,QAAxB,CAAoC2R,YAApC,GAAA,GAAA,GAAoD4D,UAApD,CAAA,CAAA;;;EAGFR,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,IAAA,CAAKX,GAAL,GAAW,IAAKA,CAAAA,GAAL,IAAYxlB,qBAAC,CAAC,IAAKkD,CAAAA,MAAL,CAAY+gB,QAAb,CAAD,CAAwB,CAAxB,CAAvB,CAAA;EACA,IAAA,OAAO,KAAKuB,GAAZ,CAAA;;;EAGFkB,EAAAA,MAAAA,CAAAA,aAAA,SAAa,UAAA,GAAA;MACX,IAAM8B,IAAI,GAAGxoB,qBAAC,CAAC,KAAKmmB,aAAL,EAAD,CAAd,CADW;;MAIX,IAAKgB,CAAAA,iBAAL,CAAuBqB,IAAI,CAACT,IAAL,CAAUgB,cAAV,CAAvB,EAAkD,IAAK7B,CAAAA,QAAL,EAAlD,CAAA,CAAA;;EACA,IAAA,IAAIE,OAAO,GAAG,IAAK8B,CAAAA,WAAL,EAAd,CAAA;;EACA,IAAA,IAAI,OAAO9B,OAAP,KAAmB,UAAvB,EAAmC;EACjCA,MAAAA,OAAO,GAAGA,OAAO,CAAC5nB,IAAR,CAAa,IAAA,CAAKkC,OAAlB,CAAV,CAAA;EACD,KAAA;;MAED,IAAKylB,CAAAA,iBAAL,CAAuBqB,IAAI,CAACT,IAAL,CAAUiB,gBAAV,CAAvB,EAAoD5B,OAApD,CAAA,CAAA;EAEAoB,IAAAA,IAAI,CAAC7hB,WAAL,CAAoBrB,iBAApB,SAAuCC,iBAAvC,CAAA,CAAA;EACD;;;EAGD2jB,EAAAA,MAAAA,CAAAA,cAAA,SAAc,WAAA,GAAA;MACZ,OAAO,IAAA,CAAKxnB,OAAL,CAAaE,YAAb,CAA0B,cAA1B,CACL,IAAA,IAAA,CAAKsB,MAAL,CAAYkkB,OADd,CAAA;;;EAIFH,EAAAA,MAAAA,CAAAA,iBAAA,SAAiB,cAAA,GAAA;EACf,IAAA,IAAMuB,IAAI,GAAGxoB,qBAAC,CAAC,IAAKmmB,CAAAA,aAAL,EAAD,CAAd,CAAA;MACA,IAAMsC,QAAQ,GAAGD,IAAI,CAAClU,IAAL,CAAU,OAAV,CAAmB7U,CAAAA,KAAnB,CAAyBujB,kBAAzB,CAAjB,CAAA;;MACA,IAAIyF,QAAQ,KAAK,IAAb,IAAqBA,QAAQ,CAACze,MAAT,GAAkB,CAA3C,EAA8C;QAC5Cwe,IAAI,CAAC7hB,WAAL,CAAiB8hB,QAAQ,CAACC,IAAT,CAAc,EAAd,CAAjB,CAAA,CAAA;EACD,KAAA;EACF;;;YAGM1hB,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;QAC3B,IAAIE,IAAI,GAAGnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,CAAX,CAAA;;QACA,IAAMsI,OAAO,GAAG,OAAOrK,MAAP,KAAkB,QAAlB,GAA6BA,MAA7B,GAAsC,IAAtD,CAAA;;QAEA,IAAI,CAACiE,IAAD,IAAS,cAAA,CAAevD,IAAf,CAAoBV,MAApB,CAAb,EAA0C;EACxC,QAAA,OAAA;EACD,OAAA;;QAED,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAI8hB,OAAJ,CAAY,IAAZ,EAAkB1b,OAAlB,CAAP,CAAA;UACAvN,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,EAAuBkC,IAAvB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KApBM,CAAP,CAAA;;;;;EA1EF,IAAA,GAAA;MACA,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;WAED,SAAkB,GAAA,GAAA;EAChB,MAAA,OAAOpH,MAAP,CAAA;EACD,KAAA;;;WAED,SAAsB,GAAA,GAAA;EACpB,MAAA,OAAOE,UAAP,CAAA;EACD,KAAA;;;WAED,SAAmB,GAAA,GAAA;EACjB,MAAA,OAAOyB,KAAP,CAAA;EACD,KAAA;;;WAED,SAAuB,GAAA,GAAA;EACrB,MAAA,OAAOxB,WAAP,CAAA;EACD,KAAA;;;WAED,SAAyB,GAAA,GAAA;EACvB,MAAA,OAAOwH,aAAP,CAAA;EACD,KAAA;;;;IA5BmByY;EAmGtB;EACA;EACA;;;AAEAnlB,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAakkB,GAAAA,OAAO,CAACjiB,gBAArB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyByhB,OAAzB,CAAA;;AACAjpB,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO6jB,OAAO,CAACjiB,gBAAf,CAAA;EACD,CAHD;;EC5JA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,WAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,cAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,cAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EAEA,IAAMokB,wBAAwB,GAAG,eAAjC,CAAA;EACA,IAAMzhB,mBAAiB,GAAG,QAA1B,CAAA;EAEA,IAAM0hB,cAAc,gBAAclkB,WAAlC,CAAA;EACA,IAAMmkB,YAAY,cAAYnkB,WAA9B,CAAA;EACA,IAAM4C,mBAAmB,GAAA,MAAA,GAAU5C,WAAV,GAAsBC,cAA/C,CAAA;EAEA,IAAMmkB,aAAa,GAAG,QAAtB,CAAA;EACA,IAAMC,eAAe,GAAG,UAAxB,CAAA;EAEA,IAAMC,iBAAiB,GAAG,qBAA1B,CAAA;EACA,IAAMC,yBAAuB,GAAG,mBAAhC,CAAA;EACA,IAAMC,kBAAkB,GAAG,WAA3B,CAAA;EACA,IAAMC,kBAAkB,GAAG,WAA3B,CAAA;EACA,IAAMC,mBAAmB,GAAG,kBAA5B,CAAA;EACA,IAAMC,mBAAiB,GAAG,WAA1B,CAAA;EACA,IAAMC,uBAAuB,GAAG,gBAAhC,CAAA;EACA,IAAMC,0BAAwB,GAAG,kBAAjC,CAAA;EAEA,IAAM5d,SAAO,GAAG;EACd8K,EAAAA,MAAM,EAAE,EADM;EAEd+S,EAAAA,MAAM,EAAE,MAFM;EAGd/pB,EAAAA,MAAM,EAAE,EAAA;EAHM,CAAhB,CAAA;EAMA,IAAMyM,aAAW,GAAG;EAClBuK,EAAAA,MAAM,EAAE,QADU;EAElB+S,EAAAA,MAAM,EAAE,QAFU;EAGlB/pB,EAAAA,MAAM,EAAE,kBAAA;EAHU,CAApB,CAAA;EAMA;EACA;EACA;;MAEMgqB;IACJ,SAAYvoB,SAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;MAC3B,IAAK2C,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;MACA,IAAKwoB,CAAAA,cAAL,GAAsBxoB,OAAO,CAAC+H,OAAR,KAAoB,MAApB,GAA6BC,MAA7B,GAAsChI,OAA5D,CAAA;EACA,IAAA,IAAA,CAAK6L,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;MACA,IAAKsQ,CAAAA,SAAL,GAAoB,IAAKjG,CAAAA,OAAL,CAAatN,MAAhB,GAAA,GAAA,GAA0BypB,kBAA1B,GAAA,GAAA,IACQ,IAAKnc,CAAAA,OAAL,CAAatN,MADrB,GAAA,GAAA,GAC+B2pB,mBAD/B,GAEQ,GAAA,CAAA,IAAA,IAAA,CAAKrc,OAAL,CAAatN,MAFrB,GAE+B6pB,GAAAA,GAAAA,uBAF/B,CAAjB,CAAA;MAGA,IAAKK,CAAAA,QAAL,GAAgB,EAAhB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,EAAhB,CAAA;MACA,IAAKC,CAAAA,aAAL,GAAqB,IAArB,CAAA;MACA,IAAKC,CAAAA,aAAL,GAAqB,CAArB,CAAA;MAEAtqB,qBAAC,CAAC,IAAKkqB,CAAAA,cAAN,CAAD,CAAuB3iB,EAAvB,CAA0B8hB,YAA1B,EAAwC,UAAAtpB,KAAK,EAAA;EAAA,MAAA,OAAI,KAAI,CAACwqB,QAAL,CAAcxqB,KAAd,CAAJ,CAAA;OAA7C,CAAA,CAAA;EAEA,IAAA,IAAA,CAAKyqB,OAAL,EAAA,CAAA;;EACA,IAAA,IAAA,CAAKD,QAAL,EAAA,CAAA;EACD;;;;;EAWD;EACAC,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACR,IAAA,IAAMC,UAAU,GAAG,IAAKP,CAAAA,cAAL,KAAwB,IAAA,CAAKA,cAAL,CAAoBxgB,MAA5C,GACjB4f,aADiB,GACDC,eADlB,CAAA;EAGA,IAAA,IAAMmB,YAAY,GAAG,IAAKnd,CAAAA,OAAL,CAAayc,MAAb,KAAwB,MAAxB,GACnBS,UADmB,GACN,IAAKld,CAAAA,OAAL,CAAayc,MAD5B,CAAA;MAGA,IAAMW,UAAU,GAAGD,YAAY,KAAKnB,eAAjB,GACjB,IAAKqB,CAAAA,aAAL,EADiB,GACM,CADzB,CAAA;MAGA,IAAKT,CAAAA,QAAL,GAAgB,EAAhB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,EAAhB,CAAA;EAEA,IAAA,IAAA,CAAKE,aAAL,GAAqB,IAAKO,CAAAA,gBAAL,EAArB,CAAA;EAEA,IAAA,IAAMC,OAAO,GAAG,EAAGlhB,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B,IAAK2J,CAAAA,SAA/B,CAAd,CAAhB,CAAA;EAEAsX,IAAAA,OAAO,CACJC,GADH,CACO,UAAArpB,OAAO,EAAI;EACd,MAAA,IAAIzB,MAAJ,CAAA;EACA,MAAA,IAAM+qB,cAAc,GAAGpqB,IAAI,CAACa,sBAAL,CAA4BC,OAA5B,CAAvB,CAAA;;EAEA,MAAA,IAAIspB,cAAJ,EAAoB;EAClB/qB,QAAAA,MAAM,GAAGsB,QAAQ,CAACQ,aAAT,CAAuBipB,cAAvB,CAAT,CAAA;EACD,OAAA;;EAED,MAAA,IAAI/qB,MAAJ,EAAY;EACV,QAAA,IAAMgrB,SAAS,GAAGhrB,MAAM,CAAC0U,qBAAP,EAAlB,CAAA;;EACA,QAAA,IAAIsW,SAAS,CAAC9L,KAAV,IAAmB8L,SAAS,CAACC,MAAjC,EAAyC;EACvC;EACA,UAAA,OAAO,CACLlrB,qBAAC,CAACC,MAAD,CAAD,CAAUyqB,YAAV,CAAA,EAAA,CAA0BS,GAA1B,GAAgCR,UAD3B,EAELK,cAFK,CAAP,CAAA;EAID,SAAA;EACF,OAAA;;EAED,MAAA,OAAO,IAAP,CAAA;OApBJ,CAAA,CAsBG1X,MAtBH,CAsBUzQ,OAtBV,CAAA,CAuBGuoB,IAvBH,CAuBQ,UAAC3L,CAAD,EAAIE,CAAJ,EAAA;QAAA,OAAUF,CAAC,CAAC,CAAD,CAAD,GAAOE,CAAC,CAAC,CAAD,CAAlB,CAAA;EAAA,KAvBR,CAwBG1D,CAAAA,OAxBH,CAwBW,UAAAnC,IAAI,EAAI;QACf,MAAI,CAACqQ,QAAL,CAAc1W,IAAd,CAAmBqG,IAAI,CAAC,CAAD,CAAvB,CAAA,CAAA;;QACA,MAAI,CAACsQ,QAAL,CAAc3W,IAAd,CAAmBqG,IAAI,CAAC,CAAD,CAAvB,CAAA,CAAA;OA1BJ,CAAA,CAAA;;;EA8BFzT,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;EACAjF,IAAAA,qBAAC,CAAC,IAAKkqB,CAAAA,cAAN,CAAD,CAAuBjb,GAAvB,CAA2B/J,WAA3B,CAAA,CAAA;MAEA,IAAKW,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKqkB,CAAAA,cAAL,GAAsB,IAAtB,CAAA;MACA,IAAK3c,CAAAA,OAAL,GAAe,IAAf,CAAA;MACA,IAAKiG,CAAAA,SAAL,GAAiB,IAAjB,CAAA;MACA,IAAK2W,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKC,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAKC,CAAAA,aAAL,GAAqB,IAArB,CAAA;MACA,IAAKC,CAAAA,aAAL,GAAqB,IAArB,CAAA;EACD;;;WAGD9c,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;EACjBA,IAAAA,MAAM,GACDiJ,QAAAA,CAAAA,EAAAA,EAAAA,SADC,EAEA,OAAOjJ,MAAP,KAAkB,QAAlB,IAA8BA,MAA9B,GAAuCA,MAAvC,GAAgD,EAFhD,CAAN,CAAA;;EAKA,IAAA,IAAI,OAAOA,MAAM,CAACjD,MAAd,KAAyB,QAAzB,IAAqCW,IAAI,CAACkC,SAAL,CAAeI,MAAM,CAACjD,MAAtB,CAAzC,EAAwE;EACtE,MAAA,IAAIiT,EAAE,GAAGlT,qBAAC,CAACkD,MAAM,CAACjD,MAAR,CAAD,CAAiBqU,IAAjB,CAAsB,IAAtB,CAAT,CAAA;;QACA,IAAI,CAACpB,EAAL,EAAS;EACPA,QAAAA,EAAE,GAAGtS,IAAI,CAACO,MAAL,CAAY4D,MAAZ,CAAL,CAAA;UACA/E,qBAAC,CAACkD,MAAM,CAACjD,MAAR,CAAD,CAAiBqU,IAAjB,CAAsB,IAAtB,EAA4BpB,EAA5B,CAAA,CAAA;EACD,OAAA;;QAEDhQ,MAAM,CAACjD,MAAP,GAAA,GAAA,GAAoBiT,EAApB,CAAA;EACD,KAAA;;EAEDtS,IAAAA,IAAI,CAACoC,eAAL,CAAqB+B,MAArB,EAA2B7B,MAA3B,EAAmCwJ,aAAnC,CAAA,CAAA;EAEA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGF0nB,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EACd,IAAA,OAAO,IAAKV,CAAAA,cAAL,KAAwBxgB,MAAxB,GACL,IAAA,CAAKwgB,cAAL,CAAoBmB,WADf,GAC6B,IAAKnB,CAAAA,cAAL,CAAoBlN,SADxD,CAAA;;;EAIF6N,EAAAA,MAAAA,CAAAA,mBAAA,SAAmB,gBAAA,GAAA;MACjB,OAAO,IAAA,CAAKX,cAAL,CAAoB3N,YAApB,IAAoClb,IAAI,CAACiqB,GAAL,CACzC/pB,QAAQ,CAAC+W,IAAT,CAAciE,YAD2B,EAEzChb,QAAQ,CAACyC,eAAT,CAAyBuY,YAFgB,CAA3C,CAAA;;;EAMFgP,EAAAA,MAAAA,CAAAA,mBAAA,SAAmB,gBAAA,GAAA;EACjB,IAAA,OAAO,IAAKrB,CAAAA,cAAL,KAAwBxgB,MAAxB,GACLA,MAAM,CAAC8hB,WADF,GACgB,IAAKtB,CAAAA,cAAL,CAAoBvV,qBAApB,GAA4CuW,MADnE,CAAA;;;EAIFX,EAAAA,MAAAA,CAAAA,WAAA,SAAW,QAAA,GAAA;MACT,IAAMvN,SAAS,GAAG,IAAK4N,CAAAA,aAAL,KAAuB,IAAKrd,CAAAA,OAAL,CAAa0J,MAAtD,CAAA;;EACA,IAAA,IAAMsF,YAAY,GAAG,IAAKsO,CAAAA,gBAAL,EAArB,CAAA;;MACA,IAAMY,SAAS,GAAG,IAAA,CAAKle,OAAL,CAAa0J,MAAb,GAAsBsF,YAAtB,GAAqC,IAAKgP,CAAAA,gBAAL,EAAvD,CAAA;;EAEA,IAAA,IAAI,IAAKjB,CAAAA,aAAL,KAAuB/N,YAA3B,EAAyC;EACvC,MAAA,IAAA,CAAKiO,OAAL,EAAA,CAAA;EACD,KAAA;;MAED,IAAIxN,SAAS,IAAIyO,SAAjB,EAA4B;QAC1B,IAAMxrB,MAAM,GAAG,IAAA,CAAKmqB,QAAL,CAAc,IAAKA,CAAAA,QAAL,CAAcpgB,MAAd,GAAuB,CAArC,CAAf,CAAA;;EAEA,MAAA,IAAI,IAAKqgB,CAAAA,aAAL,KAAuBpqB,MAA3B,EAAmC;UACjC,IAAKyrB,CAAAA,SAAL,CAAezrB,MAAf,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAI,KAAKoqB,aAAL,IAAsBrN,SAAS,GAAG,KAAKmN,QAAL,CAAc,CAAd,CAAlC,IAAsD,IAAKA,CAAAA,QAAL,CAAc,CAAd,CAAA,GAAmB,CAA7E,EAAgF;QAC9E,IAAKE,CAAAA,aAAL,GAAqB,IAArB,CAAA;;EACA,MAAA,IAAA,CAAKsB,MAAL,EAAA,CAAA;;EACA,MAAA,OAAA;EACD,KAAA;;MAED,KAAK,IAAI7hB,CAAC,GAAG,IAAKqgB,CAAAA,QAAL,CAAcngB,MAA3B,EAAmCF,CAAC,EAApC,GAAyC;EACvC,MAAA,IAAM8hB,cAAc,GAAG,IAAA,CAAKvB,aAAL,KAAuB,KAAKD,QAAL,CAActgB,CAAd,CAAvB,IACnBkT,SAAS,IAAI,KAAKmN,QAAL,CAAcrgB,CAAd,CADM,KAElB,OAAO,IAAA,CAAKqgB,QAAL,CAAcrgB,CAAC,GAAG,CAAlB,CAAP,KAAgC,WAAhC,IACGkT,SAAS,GAAG,KAAKmN,QAAL,CAAcrgB,CAAC,GAAG,CAAlB,CAHG,CAAvB,CAAA;;EAKA,MAAA,IAAI8hB,cAAJ,EAAoB;EAClB,QAAA,IAAA,CAAKF,SAAL,CAAe,IAAA,CAAKtB,QAAL,CAActgB,CAAd,CAAf,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;;WAGH4hB,YAAA,SAAUzrB,SAAAA,CAAAA,MAAV,EAAkB;MAChB,IAAKoqB,CAAAA,aAAL,GAAqBpqB,MAArB,CAAA;;EAEA,IAAA,IAAA,CAAK0rB,MAAL,EAAA,CAAA;;EAEA,IAAA,IAAME,OAAO,GAAG,IAAKrY,CAAAA,SAAL,CACbhR,KADa,CACP,GADO,CAEbuoB,CAAAA,GAFa,CAET,UAAAppB,QAAQ,EAAA;EAAA,MAAA,OAAOA,QAAP,GAAgC1B,iBAAAA,GAAAA,MAAhC,GAA4C0B,MAAAA,GAAAA,QAA5C,gBAA8D1B,MAA9D,GAAA,KAAA,CAAA;EAAA,KAFC,CAAhB,CAAA;;MAIA,IAAM6rB,KAAK,GAAG9rB,qBAAC,CAAC,GAAG4J,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0BgiB,OAAO,CAACnD,IAAR,CAAa,GAAb,CAA1B,CAAd,CAAD,CAAf,CAAA;;EAEA,IAAA,IAAIoD,KAAK,CAACllB,QAAN,CAAeuiB,wBAAf,CAAJ,EAA8C;QAC5C2C,KAAK,CAACtlB,OAAN,CAAcqjB,mBAAd,CAAA,CACG9B,IADH,CACQgC,0BADR,CAAA,CAEG3Y,QAFH,CAEY1J,mBAFZ,CAAA,CAAA;QAGAokB,KAAK,CAAC1a,QAAN,CAAe1J,mBAAf,CAAA,CAAA;EACD,KALD,MAKO;EACL;EACAokB,MAAAA,KAAK,CAAC1a,QAAN,CAAe1J,mBAAf,EAFK;EAIL;;EACAokB,MAAAA,KAAK,CAACC,OAAN,CAActC,yBAAd,EACGpb,IADH,CACWqb,kBADX,GAAA,IAAA,GACkCE,mBADlC,CAEGxY,CAAAA,QAFH,CAEY1J,mBAFZ,EALK;;EASLokB,MAAAA,KAAK,CAACC,OAAN,CAActC,yBAAd,EACGpb,IADH,CACQsb,kBADR,CAAA,CAEGxY,QAFH,CAEYuY,kBAFZ,CAGGtY,CAAAA,QAHH,CAGY1J,mBAHZ,CAAA,CAAA;EAID,KAAA;;MAED1H,qBAAC,CAAC,KAAKkqB,cAAN,CAAD,CAAuBvnB,OAAvB,CAA+BymB,cAA/B,EAA+C;EAC7C1Y,MAAAA,aAAa,EAAEzQ,MAAAA;OADjB,CAAA,CAAA;;;EAKF0rB,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;EACP,IAAA,EAAA,CAAG/hB,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B,IAAA,CAAK2J,SAA/B,CAAd,CAAA,CACGF,MADH,CACU,UAAA0Y,IAAI,EAAA;EAAA,MAAA,OAAIA,IAAI,CAACljB,SAAL,CAAeC,QAAf,CAAwBrB,mBAAxB,CAAJ,CAAA;EAAA,KADd,CAEGuU,CAAAA,OAFH,CAEW,UAAA+P,IAAI,EAAA;EAAA,MAAA,OAAIA,IAAI,CAACljB,SAAL,CAAe/B,MAAf,CAAsBW,mBAAtB,CAAJ,CAAA;OAFf,CAAA,CAAA;EAGD;;;cAGMV,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;QAC3B,IAAIE,IAAI,GAAGnH,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,CAAX,CAAA;;EACA,MAAA,IAAMsI,OAAO,GAAG,OAAOrK,MAAP,KAAkB,QAAlB,IAA8BA,MAA9C,CAAA;;QAEA,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAI8iB,SAAJ,CAAc,IAAd,EAAoB1c,OAApB,CAAP,CAAA;UACAvN,qBAAC,CAAC,IAAD,CAAD,CAAQmH,IAAR,CAAalC,UAAb,EAAuBkC,IAAvB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KAhBM,CAAP,CAAA;;;;;WA9LF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOmH,SAAP,CAAA;EACD,KAAA;;;;;EA4MH;EACA;EACA;;;AAEAnM,uBAAC,CAAC0J,MAAD,CAAD,CAAUnC,EAAV,CAAaO,mBAAb,EAAkC,YAAM;EACtC,EAAA,IAAMmkB,UAAU,GAAG,EAAGriB,CAAAA,KAAH,CAASpK,IAAT,CAAc+B,QAAQ,CAACsI,gBAAT,CAA0B2f,iBAA1B,CAAd,CAAnB,CAAA;EACA,EAAA,IAAM0C,gBAAgB,GAAGD,UAAU,CAACjiB,MAApC,CAAA;;EAEA,EAAA,KAAK,IAAIF,CAAC,GAAGoiB,gBAAb,EAA+BpiB,CAAC,EAAhC,GAAqC;MACnC,IAAMqiB,IAAI,GAAGnsB,qBAAC,CAACisB,UAAU,CAACniB,CAAD,CAAX,CAAd,CAAA;;MACAmgB,SAAS,CAACjjB,gBAAV,CAA2BxH,IAA3B,CAAgC2sB,IAAhC,EAAsCA,IAAI,CAAChlB,IAAL,EAAtC,CAAA,CAAA;EACD,GAAA;EACF,CARD,CAAA,CAAA;EAUA;EACA;EACA;;AAEAnH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAaklB,GAAAA,SAAS,CAACjjB,gBAAvB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyByiB,SAAzB,CAAA;;AACAjqB,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAO6kB,SAAS,CAACjjB,gBAAjB,CAAA;EACD,CAHD;;ECxSA;EACA;EACA;;EAEA,IAAMjC,MAAI,GAAG,KAAb,CAAA;EACA,IAAMC,SAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,UAAQ,GAAG,QAAjB,CAAA;EACA,IAAMC,WAAS,SAAOD,UAAtB,CAAA;EACA,IAAME,YAAY,GAAG,WAArB,CAAA;EACA,IAAMC,oBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAA3B,CAAA;EAEA,IAAMqnB,wBAAwB,GAAG,eAAjC,CAAA;EACA,IAAM1kB,iBAAiB,GAAG,QAA1B,CAAA;EACA,IAAMoO,mBAAmB,GAAG,UAA5B,CAAA;EACA,IAAMxQ,iBAAe,GAAG,MAAxB,CAAA;EACA,IAAMC,iBAAe,GAAG,MAAxB,CAAA;EAEA,IAAMqN,YAAU,YAAU1N,WAA1B,CAAA;EACA,IAAM2N,cAAY,cAAY3N,WAA9B,CAAA;EACA,IAAMwN,YAAU,YAAUxN,WAA1B,CAAA;EACA,IAAMyN,aAAW,aAAWzN,WAA5B,CAAA;EACA,IAAMQ,oBAAoB,GAAA,OAAA,GAAWR,WAAX,GAAuBC,YAAjD,CAAA;EAEA,IAAM0kB,iBAAiB,GAAG,WAA1B,CAAA;EACA,IAAMJ,uBAAuB,GAAG,mBAAhC,CAAA;EACA,IAAMrhB,eAAe,GAAG,SAAxB,CAAA;EACA,IAAMikB,kBAAkB,GAAG,gBAA3B,CAAA;EACA,IAAMpkB,oBAAoB,GAAG,iEAA7B,CAAA;EACA,IAAM8hB,wBAAwB,GAAG,kBAAjC,CAAA;EACA,IAAMuC,8BAA8B,GAAG,0BAAvC,CAAA;EAEA;EACA;EACA;;MAEMC;EACJ,EAAA,SAAA,GAAA,CAAY7qB,OAAZ,EAAqB;MACnB,IAAKmE,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;EACD;;;;;EAOD;EACAoS,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;MACL,IAAI,IAAA,CAAKjO,QAAL,CAAcxB,UAAd,IACA,IAAKwB,CAAAA,QAAL,CAAcxB,UAAd,CAAyBtB,QAAzB,KAAsC6Z,IAAI,CAACC,YAD3C,IAEA7c,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CAAiBe,QAAjB,CAA0Bc,iBAA1B,CAFA,IAGA1H,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBe,QAAjB,CAA0BkP,mBAA1B,CAHA,IAIA,IAAKjQ,CAAAA,QAAL,CAAcqD,YAAd,CAA2B,UAA3B,CAJJ,EAI4C;EAC1C,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAIjJ,MAAJ,CAAA;EACA,IAAA,IAAIusB,QAAJ,CAAA;EACA,IAAA,IAAMC,WAAW,GAAGzsB,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBW,OAAjB,CAAyBijB,uBAAzB,CAAA,CAAkD,CAAlD,CAApB,CAAA;MACA,IAAM9nB,QAAQ,GAAGf,IAAI,CAACa,sBAAL,CAA4B,IAAA,CAAKoE,QAAjC,CAAjB,CAAA;;EAEA,IAAA,IAAI4mB,WAAJ,EAAiB;EACf,MAAA,IAAMC,YAAY,GAAGD,WAAW,CAAC/K,QAAZ,KAAyB,IAAzB,IAAiC+K,WAAW,CAAC/K,QAAZ,KAAyB,IAA1D,GAAiE2K,kBAAjE,GAAsFjkB,eAA3G,CAAA;EACAokB,MAAAA,QAAQ,GAAGxsB,qBAAC,CAAC2sB,SAAF,CAAY3sB,qBAAC,CAACysB,WAAD,CAAD,CAAe1E,IAAf,CAAoB2E,YAApB,CAAZ,CAAX,CAAA;QACAF,QAAQ,GAAGA,QAAQ,CAACA,QAAQ,CAACxiB,MAAT,GAAkB,CAAnB,CAAnB,CAAA;EACD,KAAA;;EAED,IAAA,IAAMwO,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQkM,YAAR,EAAoB;EACpClC,MAAAA,aAAa,EAAE,IAAK7K,CAAAA,QAAAA;EADgB,KAApB,CAAlB,CAAA;EAIA,IAAA,IAAMoS,SAAS,GAAGjY,qBAAC,CAAC0G,KAAF,CAAQgM,YAAR,EAAoB;EACpChC,MAAAA,aAAa,EAAE8b,QAAAA;EADqB,KAApB,CAAlB,CAAA;;EAIA,IAAA,IAAIA,QAAJ,EAAc;EACZxsB,MAAAA,qBAAC,CAACwsB,QAAD,CAAD,CAAY7pB,OAAZ,CAAoB6V,SAApB,CAAA,CAAA;EACD,KAAA;;EAEDxY,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBsV,SAAzB,CAAA,CAAA;;MAEA,IAAIA,SAAS,CAAC9R,kBAAV,EAAA,IACAqS,SAAS,CAACrS,kBAAV,EADJ,EACoC;EAClC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAIxE,QAAJ,EAAc;EACZ1B,MAAAA,MAAM,GAAGsB,QAAQ,CAACQ,aAAT,CAAuBJ,QAAvB,CAAT,CAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAK+pB,SAAL,CACE,IAAK7lB,CAAAA,QADP,EAEE4mB,WAFF,CAAA,CAAA;;EAKA,IAAA,IAAMjY,QAAQ,GAAG,SAAXA,QAAW,GAAM;EACrB,MAAA,IAAMoY,WAAW,GAAG5sB,qBAAC,CAAC0G,KAAF,CAAQmM,cAAR,EAAsB;UACxCnC,aAAa,EAAE,KAAI,CAAC7K,QAAAA;EADoB,OAAtB,CAApB,CAAA;EAIA,MAAA,IAAMqX,UAAU,GAAGld,qBAAC,CAAC0G,KAAF,CAAQiM,aAAR,EAAqB;EACtCjC,QAAAA,aAAa,EAAE8b,QAAAA;EADuB,OAArB,CAAnB,CAAA;EAIAxsB,MAAAA,qBAAC,CAACwsB,QAAD,CAAD,CAAY7pB,OAAZ,CAAoBiqB,WAApB,CAAA,CAAA;QACA5sB,qBAAC,CAAC,KAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBua,UAAzB,CAAA,CAAA;OAVF,CAAA;;EAaA,IAAA,IAAIjd,MAAJ,EAAY;QACV,IAAKyrB,CAAAA,SAAL,CAAezrB,MAAf,EAAuBA,MAAM,CAACoE,UAA9B,EAA0CmQ,QAA1C,CAAA,CAAA;EACD,KAFD,MAEO;QACLA,QAAQ,EAAA,CAAA;EACT,KAAA;;;EAGHnO,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACRrG,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,UAA5B,CAAA,CAAA;MACA,IAAKY,CAAAA,QAAL,GAAgB,IAAhB,CAAA;EACD;;;EAGD6lB,EAAAA,MAAAA,CAAAA,YAAA,SAAUhqB,SAAAA,CAAAA,OAAV,EAAmB2iB,SAAnB,EAA8B7G,QAA9B,EAAwC;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACtC,IAAA,IAAMqP,cAAc,GAAGxI,SAAS,KAAKA,SAAS,CAAC3C,QAAV,KAAuB,IAAvB,IAA+B2C,SAAS,CAAC3C,QAAV,KAAuB,IAA3D,CAAT,GACrB1hB,qBAAC,CAACqkB,SAAD,CAAD,CAAa0D,IAAb,CAAkBsE,kBAAlB,CADqB,GAErBrsB,qBAAC,CAACqkB,SAAD,CAAD,CAAalT,QAAb,CAAsB/I,eAAtB,CAFF,CAAA;EAIA,IAAA,IAAM0kB,MAAM,GAAGD,cAAc,CAAC,CAAD,CAA7B,CAAA;EACA,IAAA,IAAM/X,eAAe,GAAG0I,QAAQ,IAAKsP,MAAM,IAAI9sB,qBAAC,CAAC8sB,MAAD,CAAD,CAAUlmB,QAAV,CAAmBtB,iBAAnB,CAA/C,CAAA;;MACA,IAAMkP,QAAQ,GAAG,SAAXA,QAAW,GAAA;QAAA,OAAM,MAAI,CAACuY,mBAAL,CACrBrrB,OADqB,EAErBorB,MAFqB,EAGrBtP,QAHqB,CAAN,CAAA;OAAjB,CAAA;;MAMA,IAAIsP,MAAM,IAAIhY,eAAd,EAA+B;EAC7B,MAAA,IAAM5S,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC6qB,MAAtC,CAA3B,CAAA;EAEA9sB,MAAAA,qBAAC,CAAC8sB,MAAD,CAAD,CACGnmB,WADH,CACepB,iBADf,CAEG5E,CAAAA,GAFH,CAEOC,IAAI,CAAC1B,cAFZ,EAE4BsV,QAF5B,CAGGvT,CAAAA,oBAHH,CAGwBiB,kBAHxB,CAAA,CAAA;EAID,KAPD,MAOO;QACLsS,QAAQ,EAAA,CAAA;EACT,KAAA;;;EAGHuY,EAAAA,MAAAA,CAAAA,sBAAA,SAAoBrrB,mBAAAA,CAAAA,OAApB,EAA6BorB,MAA7B,EAAqCtP,QAArC,EAA+C;EAC7C,IAAA,IAAIsP,MAAJ,EAAY;EACV9sB,MAAAA,qBAAC,CAAC8sB,MAAD,CAAD,CAAUnmB,WAAV,CAAsBe,iBAAtB,CAAA,CAAA;EAEA,MAAA,IAAMslB,aAAa,GAAGhtB,qBAAC,CAAC8sB,MAAM,CAACzoB,UAAR,CAAD,CAAqB0jB,IAArB,CACpBuE,8BADoB,CAAA,CAEpB,CAFoB,CAAtB,CAAA;;EAIA,MAAA,IAAIU,aAAJ,EAAmB;EACjBhtB,QAAAA,qBAAC,CAACgtB,aAAD,CAAD,CAAiBrmB,WAAjB,CAA6Be,iBAA7B,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAIolB,MAAM,CAAClrB,YAAP,CAAoB,MAApB,CAAA,KAAgC,KAApC,EAA2C;EACzCkrB,QAAAA,MAAM,CAAC3jB,YAAP,CAAoB,eAApB,EAAqC,KAArC,CAAA,CAAA;EACD,OAAA;EACF,KAAA;;EAEDnJ,IAAAA,qBAAC,CAAC0B,OAAD,CAAD,CAAW0P,QAAX,CAAoB1J,iBAApB,CAAA,CAAA;;EACA,IAAA,IAAIhG,OAAO,CAACE,YAAR,CAAqB,MAArB,CAAA,KAAiC,KAArC,EAA4C;EAC1CF,MAAAA,OAAO,CAACyH,YAAR,CAAqB,eAArB,EAAsC,IAAtC,CAAA,CAAA;EACD,KAAA;;MAEDvI,IAAI,CAAC6B,MAAL,CAAYf,OAAZ,CAAA,CAAA;;MAEA,IAAIA,OAAO,CAACoH,SAAR,CAAkBC,QAAlB,CAA2BzD,iBAA3B,CAAJ,EAAiD;EAC/C5D,MAAAA,OAAO,CAACoH,SAAR,CAAkBmB,GAAlB,CAAsB1E,iBAAtB,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAIgB,MAAM,GAAG7E,OAAO,CAAC2C,UAArB,CAAA;;EACA,IAAA,IAAIkC,MAAM,IAAIA,MAAM,CAACmb,QAAP,KAAoB,IAAlC,EAAwC;QACtCnb,MAAM,GAAGA,MAAM,CAAClC,UAAhB,CAAA;EACD,KAAA;;MAED,IAAIkC,MAAM,IAAIvG,qBAAC,CAACuG,MAAD,CAAD,CAAUK,QAAV,CAAmBwlB,wBAAnB,CAAd,EAA4D;EAC1D,MAAA,IAAMa,eAAe,GAAGjtB,qBAAC,CAAC0B,OAAD,CAAD,CAAW8E,OAAX,CAAmBqjB,iBAAnB,CAAsC,CAAA,CAAtC,CAAxB,CAAA;;EAEA,MAAA,IAAIoD,eAAJ,EAAqB;EACnB,QAAA,IAAMC,kBAAkB,GAAG,EAAGtjB,CAAAA,KAAH,CAASpK,IAAT,CAAcytB,eAAe,CAACpjB,gBAAhB,CAAiCkgB,wBAAjC,CAAd,CAA3B,CAAA;EAEA/pB,QAAAA,qBAAC,CAACktB,kBAAD,CAAD,CAAsB9b,QAAtB,CAA+B1J,iBAA/B,CAAA,CAAA;EACD,OAAA;;EAEDhG,MAAAA,OAAO,CAACyH,YAAR,CAAqB,eAArB,EAAsC,IAAtC,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAIqU,QAAJ,EAAc;QACZA,QAAQ,EAAA,CAAA;EACT,KAAA;EACF;;;QAGMxW,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMkmB,KAAK,GAAGntB,qBAAC,CAAC,IAAD,CAAf,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGgmB,KAAK,CAAChmB,IAAN,CAAWlC,UAAX,CAAX,CAAA;;QAEA,IAAI,CAACkC,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAIolB,GAAJ,CAAQ,IAAR,CAAP,CAAA;EACAY,QAAAA,KAAK,CAAChmB,IAAN,CAAWlC,UAAX,EAAqBkC,IAArB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;UAEDiE,IAAI,CAACjE,MAAD,CAAJ,EAAA,CAAA;EACD,OAAA;EACF,KAhBM,CAAP,CAAA;;;;;WA5JF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,SAAP,CAAA;EACD,KAAA;;;;;EA8KH;EACA;EACA;;;AAEAhF,uBAAC,CAACuB,QAAD,CAAD,CACGgG,EADH,CACM7B,oBADN,EAC4BuC,oBAD5B,EACkD,UAAUlI,KAAV,EAAiB;EAC/DA,EAAAA,KAAK,CAACuH,cAAN,EAAA,CAAA;;IACAilB,GAAG,CAACvlB,gBAAJ,CAAqBxH,IAArB,CAA0BQ,qBAAC,CAAC,IAAD,CAA3B,EAAmC,MAAnC,CAAA,CAAA;EACD,CAJH,CAAA,CAAA;EAMA;EACA;EACA;;AAEAA,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAawnB,GAAAA,GAAG,CAACvlB,gBAAjB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAWyC,CAAAA,WAAX,GAAyB+kB,GAAzB,CAAA;;AACAvsB,uBAAC,CAACgB,EAAF,CAAK+D,MAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,MAAL,IAAaK,oBAAb,CAAA;IACA,OAAOmnB,GAAG,CAACvlB,gBAAX,CAAA;EACD,CAHD;;ECzOA;EACA;EACA;;EAEA,IAAMjC,IAAI,GAAG,OAAb,CAAA;EACA,IAAMC,OAAO,GAAG,OAAhB,CAAA;EACA,IAAMC,QAAQ,GAAG,UAAjB,CAAA;EACA,IAAMC,SAAS,SAAOD,QAAtB,CAAA;EACA,IAAMG,kBAAkB,GAAGpF,qBAAC,CAACgB,EAAF,CAAK+D,IAAL,CAA3B,CAAA;EAEA,IAAMO,eAAe,GAAG,MAAxB,CAAA;EACA,IAAM8nB,eAAe,GAAG,MAAxB,CAAA;EACA,IAAM7nB,eAAe,GAAG,MAAxB,CAAA;EACA,IAAM8nB,kBAAkB,GAAG,SAA3B,CAAA;EAEA,IAAM9S,mBAAmB,qBAAmBrV,SAA5C,CAAA;EACA,IAAM0N,UAAU,YAAU1N,SAA1B,CAAA;EACA,IAAM2N,YAAY,cAAY3N,SAA9B,CAAA;EACA,IAAMwN,UAAU,YAAUxN,SAA1B,CAAA;EACA,IAAMyN,WAAW,aAAWzN,SAA5B,CAAA;EAEA,IAAM2V,qBAAqB,GAAG,wBAA9B,CAAA;EAEA,IAAM1O,OAAO,GAAG;EACd6X,EAAAA,SAAS,EAAE,IADG;EAEdsJ,EAAAA,QAAQ,EAAE,IAFI;EAGdnJ,EAAAA,KAAK,EAAE,GAAA;EAHO,CAAhB,CAAA;EAMA,IAAMzX,WAAW,GAAG;EAClBsX,EAAAA,SAAS,EAAE,SADO;EAElBsJ,EAAAA,QAAQ,EAAE,SAFQ;EAGlBnJ,EAAAA,KAAK,EAAE,QAAA;EAHW,CAApB,CAAA;EAMA;EACA;EACA;;MAEMoJ;IACJ,SAAY7rB,KAAAA,CAAAA,OAAZ,EAAqBwB,MAArB,EAA6B;MAC3B,IAAK2C,CAAAA,QAAL,GAAgBnE,OAAhB,CAAA;EACA,IAAA,IAAA,CAAK6L,OAAL,GAAe,IAAA,CAAKC,UAAL,CAAgBtK,MAAhB,CAAf,CAAA;MACA,IAAKmiB,CAAAA,QAAL,GAAgB,IAAhB,CAAA;;EACA,IAAA,IAAA,CAAKI,aAAL,EAAA,CAAA;EACD;;;;;EAeD;EACA3R,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;EAAA,IAAA,IAAA,KAAA,GAAA,IAAA,CAAA;;EACL,IAAA,IAAMmE,SAAS,GAAGjY,qBAAC,CAAC0G,KAAF,CAAQgM,UAAR,CAAlB,CAAA;EAEA1S,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBsV,SAAzB,CAAA,CAAA;;EACA,IAAA,IAAIA,SAAS,CAAC9R,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAKqnB,aAAL,EAAA,CAAA;;EAEA,IAAA,IAAI,IAAKjgB,CAAAA,OAAL,CAAayW,SAAjB,EAA4B;EAC1B,MAAA,IAAA,CAAKne,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4B3E,eAA5B,CAAA,CAAA;EACD,KAAA;;EAED,IAAA,IAAMkP,QAAQ,GAAG,SAAXA,QAAW,GAAM;EACrB,MAAA,KAAI,CAAC3O,QAAL,CAAciD,SAAd,CAAwB/B,MAAxB,CAA+BsmB,kBAA/B,CAAA,CAAA;;EACA,MAAA,KAAI,CAACxnB,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4B1E,eAA5B,CAAA,CAAA;;QAEAvF,qBAAC,CAAC,KAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBgQ,WAAzB,CAAA,CAAA;;EAEA,MAAA,IAAI,KAAI,CAACpF,OAAL,CAAa+f,QAAjB,EAA2B;EACzB,QAAA,KAAI,CAACjI,QAAL,GAAgBxkB,UAAU,CAAC,YAAM;EAC/B,UAAA,KAAI,CAACgT,IAAL,EAAA,CAAA;EACD,SAFyB,EAEvB,KAAI,CAACtG,OAAL,CAAa4W,KAFU,CAA1B,CAAA;EAGD,OAAA;OAVH,CAAA;;EAaA,IAAA,IAAA,CAAKte,QAAL,CAAciD,SAAd,CAAwB/B,MAAxB,CAA+BqmB,eAA/B,CAAA,CAAA;;EACAxsB,IAAAA,IAAI,CAAC6B,MAAL,CAAY,IAAA,CAAKoD,QAAjB,CAAA,CAAA;;EACA,IAAA,IAAA,CAAKA,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4BojB,kBAA5B,CAAA,CAAA;;EACA,IAAA,IAAI,IAAK9f,CAAAA,OAAL,CAAayW,SAAjB,EAA4B;QAC1B,IAAM9hB,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAK4D,QAA3C,CAA3B,CAAA;EAEA7F,MAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGlF,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,KAND,MAMO;QACLsS,QAAQ,EAAA,CAAA;EACT,KAAA;;;EAGHX,EAAAA,MAAAA,CAAAA,OAAA,SAAO,IAAA,GAAA;MACL,IAAI,CAAC,IAAKhO,CAAAA,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiCxD,eAAjC,CAAL,EAAwD;EACtD,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAMiT,SAAS,GAAGxY,qBAAC,CAAC0G,KAAF,CAAQkM,UAAR,CAAlB,CAAA;EAEA5S,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBlD,OAAjB,CAAyB6V,SAAzB,CAAA,CAAA;;EACA,IAAA,IAAIA,SAAS,CAACrS,kBAAV,EAAJ,EAAoC;EAClC,MAAA,OAAA;EACD,KAAA;;EAED,IAAA,IAAA,CAAKsnB,MAAL,EAAA,CAAA;;;EAGFpnB,EAAAA,MAAAA,CAAAA,UAAA,SAAU,OAAA,GAAA;EACR,IAAA,IAAA,CAAKmnB,aAAL,EAAA,CAAA;;MAEA,IAAI,IAAA,CAAK3nB,QAAL,CAAciD,SAAd,CAAwBC,QAAxB,CAAiCxD,eAAjC,CAAJ,EAAuD;EACrD,MAAA,IAAA,CAAKM,QAAL,CAAciD,SAAd,CAAwB/B,MAAxB,CAA+BxB,eAA/B,CAAA,CAAA;EACD,KAAA;;EAEDvF,IAAAA,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBoJ,GAAjB,CAAqBsL,mBAArB,CAAA,CAAA;EAEAva,IAAAA,qBAAC,CAACsG,UAAF,CAAa,IAAKT,CAAAA,QAAlB,EAA4BZ,QAA5B,CAAA,CAAA;MACA,IAAKY,CAAAA,QAAL,GAAgB,IAAhB,CAAA;MACA,IAAK0H,CAAAA,OAAL,GAAe,IAAf,CAAA;EACD;;;WAGDC,aAAA,SAAWtK,UAAAA,CAAAA,MAAX,EAAmB;MACjBA,MAAM,GAAA,QAAA,CAAA,EAAA,EACDiJ,OADC,EAEDnM,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiBsB,IAAjB,EAFC,EAGA,OAAOjE,MAAP,KAAkB,QAAlB,IAA8BA,MAA9B,GAAuCA,MAAvC,GAAgD,EAHhD,CAAN,CAAA;MAMAtC,IAAI,CAACoC,eAAL,CACE+B,IADF,EAEE7B,MAFF,EAGE,IAAA,CAAK2V,WAAL,CAAiBnM,WAHnB,CAAA,CAAA;EAMA,IAAA,OAAOxJ,MAAP,CAAA;;;EAGFuiB,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;MACdzlB,qBAAC,CAAC,IAAK6F,CAAAA,QAAN,CAAD,CAAiB0B,EAAjB,CAAoBgT,mBAApB,EAAyCM,qBAAzC,EAAgE,YAAA;QAAA,OAAM,MAAI,CAAChH,IAAL,EAAN,CAAA;OAAhE,CAAA,CAAA;;;EAGF4Z,EAAAA,MAAAA,CAAAA,SAAA,SAAS,MAAA,GAAA;EAAA,IAAA,IAAA,MAAA,GAAA,IAAA,CAAA;;EACP,IAAA,IAAMjZ,QAAQ,GAAG,SAAXA,QAAW,GAAM;EACrB,MAAA,MAAI,CAAC3O,QAAL,CAAciD,SAAd,CAAwBmB,GAAxB,CAA4BmjB,eAA5B,CAAA,CAAA;;QACAptB,qBAAC,CAAC,MAAI,CAAC6F,QAAN,CAAD,CAAiBlD,OAAjB,CAAyBkQ,YAAzB,CAAA,CAAA;OAFF,CAAA;;EAKA,IAAA,IAAA,CAAKhN,QAAL,CAAciD,SAAd,CAAwB/B,MAAxB,CAA+BxB,eAA/B,CAAA,CAAA;;EACA,IAAA,IAAI,IAAKgI,CAAAA,OAAL,CAAayW,SAAjB,EAA4B;QAC1B,IAAM9hB,kBAAkB,GAAGtB,IAAI,CAACqB,gCAAL,CAAsC,IAAA,CAAK4D,QAA3C,CAA3B,CAAA;EAEA7F,MAAAA,qBAAC,CAAC,IAAA,CAAK6F,QAAN,CAAD,CACGlF,GADH,CACOC,IAAI,CAAC1B,cADZ,EAC4BsV,QAD5B,CAEGvT,CAAAA,oBAFH,CAEwBiB,kBAFxB,CAAA,CAAA;EAGD,KAND,MAMO;QACLsS,QAAQ,EAAA,CAAA;EACT,KAAA;;;EAGHgZ,EAAAA,MAAAA,CAAAA,gBAAA,SAAgB,aAAA,GAAA;MACd1d,YAAY,CAAC,IAAKuV,CAAAA,QAAN,CAAZ,CAAA;MACA,IAAKA,CAAAA,QAAL,GAAgB,IAAhB,CAAA;EACD;;;UAGMre,mBAAP,SAAwB9D,gBAAAA,CAAAA,MAAxB,EAAgC;MAC9B,OAAO,IAAA,CAAK+D,IAAL,CAAU,YAAY;EAC3B,MAAA,IAAMC,QAAQ,GAAGlH,qBAAC,CAAC,IAAD,CAAlB,CAAA;EACA,MAAA,IAAImH,IAAI,GAAGD,QAAQ,CAACC,IAAT,CAAclC,QAAd,CAAX,CAAA;;EACA,MAAA,IAAMsI,OAAO,GAAG,OAAOrK,MAAP,KAAkB,QAAlB,IAA8BA,MAA9C,CAAA;;QAEA,IAAI,CAACiE,IAAL,EAAW;EACTA,QAAAA,IAAI,GAAG,IAAIomB,KAAJ,CAAU,IAAV,EAAgBhgB,OAAhB,CAAP,CAAA;EACArG,QAAAA,QAAQ,CAACC,IAAT,CAAclC,QAAd,EAAwBkC,IAAxB,CAAA,CAAA;EACD,OAAA;;EAED,MAAA,IAAI,OAAOjE,MAAP,KAAkB,QAAtB,EAAgC;EAC9B,QAAA,IAAI,OAAOiE,IAAI,CAACjE,MAAD,CAAX,KAAwB,WAA5B,EAAyC;EACvC,UAAA,MAAM,IAAIqB,SAAJ,CAAkCrB,oBAAAA,GAAAA,MAAlC,GAAN,IAAA,CAAA,CAAA;EACD,SAAA;;EAEDiE,QAAAA,IAAI,CAACjE,MAAD,CAAJ,CAAa,IAAb,CAAA,CAAA;EACD,OAAA;EACF,KAjBM,CAAP,CAAA;;;;;WAjIF,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAO8B,OAAP,CAAA;EACD,KAAA;;;WAED,SAAyB,GAAA,GAAA;EACvB,MAAA,OAAO0H,WAAP,CAAA;EACD,KAAA;;;WAED,SAAqB,GAAA,GAAA;EACnB,MAAA,OAAOP,OAAP,CAAA;EACD,KAAA;;;;;EA4IH;EACA;EACA;;;AAEAnM,uBAAC,CAACgB,EAAF,CAAK+D,IAAL,CAAawoB,GAAAA,KAAK,CAACvmB,gBAAnB,CAAA;AACAhH,uBAAC,CAACgB,EAAF,CAAK+D,IAAL,CAAWyC,CAAAA,WAAX,GAAyB+lB,KAAzB,CAAA;;AACAvtB,uBAAC,CAACgB,EAAF,CAAK+D,IAAL,CAAW0C,CAAAA,UAAX,GAAwB,YAAM;EAC5BzH,EAAAA,qBAAC,CAACgB,EAAF,CAAK+D,IAAL,IAAaK,kBAAb,CAAA;IACA,OAAOmoB,KAAK,CAACvmB,gBAAb,CAAA;EACD,CAHD;;;;;;;;;;;;;;;;;;;;;;ACtNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh7GA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv0CA;;ACAA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzvlCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACxjCe,wBAAS0mB,KAAT,EAAgBC,WAAhB,EAA6B;MACpCC,cAAcF,MAAMG,OAAN,CAAcC,cAAd,CAA6BC,QAA7B,EAApB;MAEMC,IAAIC,KAAKC,KAAL,CAAWR,MAAMM,CAAjB,CAAV;MACMG,IAAIF,KAAKC,KAAL,CAAWR,MAAMS,CAAjB,CAAV;MACMC,IAAIH,KAAKC,KAAL,CAAWR,MAAMU,CAAjB,CAAV;MACMC,IAAIX,MAAMW,CAAhB;MACMC,IAAIL,KAAKC,KAAL,CAAWR,MAAMY,CAAjB,CAAV;MACMC,IAAIb,MAAMa,CAAN,CAAQC,OAAR,CAAgB,CAAhB,CAAV;MACMC,IAAIf,MAAMe,CAAN,CAAQD,OAAR,CAAgB,CAAhB,CAAV;MAEIb,eAAgBC,gBAAgB,gBAAhC,IAAsDA,gBAAgB,cAA1E,EAA2F;QACrFc,MAAMhB,MAAMiB,GAAN,CAAUZ,QAAV,CAAmB,EAAnB,CAAV;WACOW,IAAIE,MAAJ,GAAa,CAApB,EAAuB;YACf,MAAMF,GAAZ;;WAEK,MAAMA,GAAb;GALF,MAMO,IAAId,gBAAgB,SAApB,EAA+B;WAC7B,SAASI,CAAT,GAAa,GAAb,GAAmBG,CAAnB,GAAuB,GAAvB,GAA6BC,CAA7B,GAAiC,GAAxC;GADK,MAEA,IAAIR,gBAAgB,UAApB,EAAgC;WAC9B,UAAUI,CAAV,GAAc,GAAd,GAAoBG,CAApB,GAAwB,GAAxB,GAA8BC,CAA9B,GAAkC,GAAlC,GAAwCC,CAAxC,GAA4C,GAAnD;GADK,MAEA,IAAIT,gBAAgB,KAApB,EAA2B;WACzB,OAAOF,MAAMiB,GAAN,CAAUZ,QAAV,CAAmB,EAAnB,CAAd;GADK,MAEA,IAAIH,gBAAgB,WAApB,EAAiC;WAC/B,MAAMI,CAAN,GAAU,GAAV,GAAgBG,CAAhB,GAAoB,GAApB,GAA0BC,CAA1B,GAA8B,GAArC;GADK,MAEA,IAAIR,gBAAgB,YAApB,EAAkC;WAChC,MAAMI,CAAN,GAAU,GAAV,GAAgBG,CAAhB,GAAoB,GAApB,GAA0BC,CAA1B,GAA8B,GAA9B,GAAoCC,CAApC,GAAwC,GAA/C;GADK,MAEA,IAAIT,gBAAgB,SAApB,EAA+B;WAC7B,QAAQI,CAAR,GAAY,KAAZ,GAAoBG,CAApB,GAAwB,KAAxB,GAAgCC,CAAhC,GAAoC,GAA3C;GADK,MAEA,IAAIR,gBAAgB,UAApB,EAAgC;WAC9B,QAAQI,CAAR,GAAY,KAAZ,GAAoBG,CAApB,GAAwB,KAAxB,GAAgCC,CAAhC,GAAoC,KAApC,GAA4CC,CAA5C,GAAgD,GAAvD;GADK,MAEA,IAAIT,gBAAgB,SAApB,EAA+B;WAC7B,QAAQU,CAAR,GAAY,KAAZ,GAAoBC,CAApB,GAAwB,KAAxB,GAAgCE,CAAhC,GAAoC,GAA3C;GADK,MAEA,IAAIb,gBAAgB,UAApB,EAAgC;WAC9B,QAAQU,CAAR,GAAY,KAAZ,GAAoBC,CAApB,GAAwB,KAAxB,GAAgCE,CAAhC,GAAoC,KAApC,GAA4CJ,CAA5C,GAAgD,GAAvD;;SAGK,gBAAP;;;ACrCF,IAAMQ,WAAWC,MAAMC,SAAN,CAAgBC,OAAjC;AACA,IAAMC,YAAYH,MAAMC,SAAN,CAAgBG,KAAlC;AAQA,IAAMC,SAAS;SACN,EADM;UAGL,gBAASC,MAAT,EAAiB;SAClBC,IAAL,CAAUJ,UAAUK,IAAV,CAAeC,SAAf,EAA0B,CAA1B,CAAV,EAAwC,UAASC,GAAT,EAAc;UAC9CC,OAAO,KAAKC,QAAL,CAAcF,GAAd,IAAqBG,OAAOF,IAAP,CAAYD,GAAZ,CAArB,GAAwC,EAArD;WACKR,OAAL,CAAa,UAASY,GAAT,EAAc;YACrB,CAAC,KAAKC,WAAL,CAAiBL,IAAII,GAAJ,CAAjB,CAAL,EAAiC;iBACxBA,GAAP,IAAcJ,IAAII,GAAJ,CAAd;;OAFS,CAIXE,IAJW,CAIN,IAJM,CAAb;KAFF,EAOG,IAPH;WASOV,MAAP;GAbW;YAgBH,kBAASA,MAAT,EAAiB;SACpBC,IAAL,CAAUJ,UAAUK,IAAV,CAAeC,SAAf,EAA0B,CAA1B,CAAV,EAAwC,UAASC,GAAT,EAAc;UAC9CC,OAAO,KAAKC,QAAL,CAAcF,GAAd,IAAqBG,OAAOF,IAAP,CAAYD,GAAZ,CAArB,GAAwC,EAArD;WACKR,OAAL,CAAa,UAASY,GAAT,EAAc;YACrB,KAAKC,WAAL,CAAiBT,OAAOQ,GAAP,CAAjB,CAAJ,EAAmC;iBAC1BA,GAAP,IAAcJ,IAAII,GAAJ,CAAd;;OAFS,CAIXE,IAJW,CAIN,IAJM,CAAb;KAFF,EAOG,IAPH;WASOV,MAAP;GA1BW;WA6BJ,mBAAW;QACZW,SAASd,UAAUK,IAAV,CAAeC,SAAf,CAAf;WACO,YAAW;UACZS,OAAOf,UAAUK,IAAV,CAAeC,SAAf,CAAX;WACK,IAAIU,IAAIF,OAAOnB,MAAP,GAAgB,CAA7B,EAAgCqB,KAAK,CAArC,EAAwCA,GAAxC,EAA6C;eACpC,CAACF,OAAOE,CAAP,EAAUC,KAAV,CAAgB,IAAhB,EAAsBF,IAAtB,CAAD,CAAP;;aAEKA,KAAK,CAAL,CAAP;KALF;GA/BW;QAwCP,cAASR,GAAT,EAAcW,GAAd,EAAmBC,KAAnB,EAA0B;QAC1B,CAACZ,GAAL,EAAU;;;QAINX,YAAYW,IAAIR,OAAhB,IAA2BQ,IAAIR,OAAJ,KAAgBH,QAA/C,EAAyD;UACnDG,OAAJ,CAAYmB,GAAZ,EAAiBC,KAAjB;KADF,MAEO,IAAIZ,IAAIZ,MAAJ,KAAeY,IAAIZ,MAAJ,GAAa,CAAhC,EAAmC;UACpCgB,YAAJ;UACIS,UAAJ;WACKT,MAAM,CAAN,EAASS,IAAIb,IAAIZ,MAAtB,EAA8BgB,MAAMS,CAApC,EAAuCT,KAAvC,EAA8C;YACxCA,OAAOJ,GAAP,IAAcW,IAAIb,IAAJ,CAASc,KAAT,EAAgBZ,IAAII,GAAJ,CAAhB,EAA0BA,GAA1B,MAAmC,KAAKU,KAA1D,EAAiE;;;;KAJ9D,MAQA;WACA,IAAMV,IAAX,IAAkBJ,GAAlB,EAAuB;YACjBW,IAAIb,IAAJ,CAASc,KAAT,EAAgBZ,IAAII,IAAJ,CAAhB,EAA0BA,IAA1B,MAAmC,KAAKU,KAA5C,EAAmD;;;;;GAzD5C;SAgEN,eAASC,GAAT,EAAc;eACRA,GAAX,EAAgB,CAAhB;GAjEW;YAqEH,kBAASC,IAAT,EAAeC,SAAf,EAA0BC,eAA1B,EAA2C;QAC/CC,gBAAJ;WAEO,YAAW;UACVnB,MAAM,IAAZ;UACMQ,OAAOT,SAAb;eACSqB,OAAT,GAAmB;kBACP,IAAV;YACI,CAACF,eAAL,EAAsBF,KAAKN,KAAL,CAAWV,GAAX,EAAgBQ,IAAhB;;UAGlBa,UAAUH,mBAAmB,CAACC,OAApC;mBAEaA,OAAb;gBACUG,WAAWF,OAAX,EAAoBH,SAApB,CAAV;UAEII,OAAJ,EAAa;aACNX,KAAL,CAAWV,GAAX,EAAgBQ,IAAhB;;KAdJ;GAxEW;WA2FJ,iBAASR,GAAT,EAAc;QACjBA,IAAIuB,OAAR,EAAiB,OAAOvB,IAAIuB,OAAJ,EAAP;WACV9B,UAAUK,IAAV,CAAeE,GAAf,CAAP;GA7FW;eAgGA,qBAASA,GAAT,EAAc;WAClBA,QAAQwB,SAAf;GAjGW;UAoGL,gBAASxB,GAAT,EAAc;WACbA,QAAQ,IAAf;GArGW;;;;;;;;;IAwGN,UAASA,GAAT,EAAc;WACZyB,MAAMzB,GAAN,CAAP;GADF,CAxGa;WA4GJV,MAAMoC,OAAN,IAAiB,UAAS1B,GAAT,EAAc;WAC/BA,IAAI2B,WAAJ,KAAoBrC,KAA3B;GA7GW;YAgHH,kBAASU,GAAT,EAAc;WACfA,QAAQG,OAAOH,GAAP,CAAf;GAjHW;YAoHH,kBAASA,GAAT,EAAc;WACfA,QAAQA,MAAM,CAArB;GArHW;YAwHH,kBAASA,GAAT,EAAc;WACfA,QAAQA,MAAM,EAArB;GAzHW;aA4HF,mBAASA,GAAT,EAAc;WAChBA,QAAQ,KAAR,IAAiBA,QAAQ,IAAhC;GA7HW;cAgID,oBAASA,GAAT,EAAc;WACjBA,eAAe4B,QAAtB;;CAjIJ;;ACNA,IAAMC,kBAAkB;AAEtB;UACUC,OAAOC,QADjB;eAEe;oBACK;YACR,cAASC,QAAT,EAAmB;YACjBC,OAAOD,SAASE,KAAT,CAAe,oCAAf,CAAb;YACID,SAAS,IAAb,EAAmB;iBACV,KAAP;;eAGK;iBACE,KADF;eAEAE,SACH,OACAF,KAAK,CAAL,EAAQ1D,QAAR,EADA,GACqB0D,KAAK,CAAL,EAAQ1D,QAAR,EADrB,GAEA0D,KAAK,CAAL,EAAQ1D,QAAR,EAFA,GAEqB0D,KAAK,CAAL,EAAQ1D,QAAR,EAFrB,GAGA0D,KAAK,CAAL,EAAQ1D,QAAR,EAHA,GAGqB0D,KAAK,CAAL,EAAQ1D,QAAR,EAJlB,EAIsC,CAJtC;SAFP;OAPY;aAkBPA;KAnBE;kBAsBG;YACN,cAASyD,QAAT,EAAmB;YACjBC,OAAOD,SAASE,KAAT,CAAe,mBAAf,CAAb;YACID,SAAS,IAAb,EAAmB;iBACV,KAAP;;eAGK;iBACE,KADF;eAEAE,SAAS,OAAOF,KAAK,CAAL,EAAQ1D,QAAR,EAAhB,EAAoC,CAApC;SAFP;OAPU;aAaLA;KAnCE;aAsCF;YACD,cAASyD,QAAT,EAAmB;YACjBC,OAAOD,SAASE,KAAT,CAAe,6CAAf,CAAb;YACID,SAAS,IAAb,EAAmB;iBACV,KAAP;;eAGK;iBACE,KADF;aAEFG,WAAWH,KAAK,CAAL,CAAX,CAFE;aAGFG,WAAWH,KAAK,CAAL,CAAX,CAHE;aAIFG,WAAWH,KAAK,CAAL,CAAX;SAJL;OAPK;aAeA1D;KArDE;cAwDD;YACF,cAASyD,QAAT,EAAmB;YACjBC,OAAOD,SAASE,KAAT,CAAe,0DAAf,CAAb;YACID,SAAS,IAAb,EAAmB;iBACV,KAAP;;eAGK;iBACE,KADF;aAEFG,WAAWH,KAAK,CAAL,CAAX,CAFE;aAGFG,WAAWH,KAAK,CAAL,CAAX,CAHE;aAIFG,WAAWH,KAAK,CAAL,CAAX,CAJE;aAKFG,WAAWH,KAAK,CAAL,CAAX;SALL;OAPM;aAgBD1D;;;CA5ES;AAkFtB;UACUuD,OAAOO,QADjB;eAGe;SAEN;YACG,cAASL,QAAT,EAAmB;eAChB;iBACE,KADF;eAEAA,QAFA;0BAGW;SAHlB;OAFC;aASI,eAAS9D,KAAT,EAAgB;eACdA,MAAMiB,GAAb;;;;CAjGc;AA0GtB;UACU2C,OAAOJ,OADjB;eAEe;eACA;YACH,cAASM,QAAT,EAAmB;YACnBA,SAAS5C,MAAT,KAAoB,CAAxB,EAA2B;iBAClB,KAAP;;eAGK;iBACE,KADF;aAEF4C,SAAS,CAAT,CAFE;aAGFA,SAAS,CAAT,CAHE;aAIFA,SAAS,CAAT;SAJL;OANO;aAcF,eAAS9D,KAAT,EAAgB;eACd,CAACA,MAAMM,CAAP,EAAUN,MAAMS,CAAhB,EAAmBT,MAAMU,CAAzB,CAAP;;KAhBO;gBAoBC;YACJ,cAASoD,QAAT,EAAmB;YACnBA,SAAS5C,MAAT,KAAoB,CAAxB,EAA2B,OAAO,KAAP;eACpB;iBACE,KADF;aAEF4C,SAAS,CAAT,CAFE;aAGFA,SAAS,CAAT,CAHE;aAIFA,SAAS,CAAT,CAJE;aAKFA,SAAS,CAAT;SALL;OAHQ;aAYH,eAAS9D,KAAT,EAAgB;eACd,CAACA,MAAMM,CAAP,EAAUN,MAAMS,CAAhB,EAAmBT,MAAMU,CAAzB,EAA4BV,MAAMW,CAAlC,CAAP;;;;CA7Ic;AAoJtB;UACUiD,OAAO5B,QADjB;eAEe;cAED;YACF,cAAS8B,QAAT,EAAmB;YACnBF,OAAOO,QAAP,CAAgBL,SAASxD,CAAzB,KACFsD,OAAOO,QAAP,CAAgBL,SAASrD,CAAzB,CADE,IAEFmD,OAAOO,QAAP,CAAgBL,SAASpD,CAAzB,CAFE,IAGFkD,OAAOO,QAAP,CAAgBL,SAASnD,CAAzB,CAHF,EAG+B;iBACtB;mBACE,KADF;eAEFmD,SAASxD,CAFP;eAGFwD,SAASrD,CAHP;eAIFqD,SAASpD,CAJP;eAKFoD,SAASnD;WALd;;eAQK,KAAP;OAdM;aAiBD,eAASX,KAAT,EAAgB;eACd;aACFA,MAAMM,CADJ;aAEFN,MAAMS,CAFJ;aAGFT,MAAMU,CAHJ;aAIFV,MAAMW;SAJX;;KApBO;aA6BF;YACD,cAASmD,QAAT,EAAmB;YACnBF,OAAOO,QAAP,CAAgBL,SAASxD,CAAzB,KACFsD,OAAOO,QAAP,CAAgBL,SAASrD,CAAzB,CADE,IAEFmD,OAAOO,QAAP,CAAgBL,SAASpD,CAAzB,CAFF,EAE+B;iBACtB;mBACE,KADF;eAEFoD,SAASxD,CAFP;eAGFwD,SAASrD,CAHP;eAIFqD,SAASpD;WAJd;;eAOK,KAAP;OAZK;aAeA,eAASV,KAAT,EAAgB;eACd;aACFA,MAAMM,CADJ;aAEFN,MAAMS,CAFJ;aAGFT,MAAMU;SAHX;;KA7CO;cAqDD;YACF,cAASoD,QAAT,EAAmB;YACnBF,OAAOO,QAAP,CAAgBL,SAASlD,CAAzB,KACFgD,OAAOO,QAAP,CAAgBL,SAASjD,CAAzB,CADE,IAEF+C,OAAOO,QAAP,CAAgBL,SAAS/C,CAAzB,CAFE,IAGF6C,OAAOO,QAAP,CAAgBL,SAASnD,CAAzB,CAHF,EAG+B;iBACtB;mBACE,KADF;eAEFmD,SAASlD,CAFP;eAGFkD,SAASjD,CAHP;eAIFiD,SAAS/C,CAJP;eAKF+C,SAASnD;WALd;;eAQK,KAAP;OAdM;aAiBD,eAASX,KAAT,EAAgB;eACd;aACFA,MAAMY,CADJ;aAEFZ,MAAMa,CAFJ;aAGFb,MAAMe,CAHJ;aAIFf,MAAMW;SAJX;;KAvEO;aAgFF;YACD,cAASmD,QAAT,EAAmB;YACnBF,OAAOO,QAAP,CAAgBL,SAASlD,CAAzB,KACFgD,OAAOO,QAAP,CAAgBL,SAASjD,CAAzB,CADE,IAEF+C,OAAOO,QAAP,CAAgBL,SAAS/C,CAAzB,CAFF,EAE+B;iBACtB;mBACE,KADF;eAEF+C,SAASlD,CAFP;eAGFkD,SAASjD,CAHP;eAIFiD,SAAS/C;WAJd;;eAOK,KAAP;OAZK;aAeA,eAASf,KAAT,EAAgB;eACd;aACFA,MAAMY,CADJ;aAEFZ,MAAMa,CAFJ;aAGFb,MAAMe;SAHX;;;;CAtPc,CAAxB;AAiQA,IAAIqD,eAAJ;AACA,IAAIC,iBAAJ;AAEA,IAAMC,YAAY,SAAZA,SAAY,GAAW;aAChB,KAAX;MAEMR,WAAWjC,UAAUX,MAAV,GAAmB,CAAnB,GAAuB0C,OAAOP,OAAP,CAAexB,SAAf,CAAvB,GAAmDA,UAAU,CAAV,CAApE;SACOF,IAAP,CAAYgC,eAAZ,EAA6B,UAASY,MAAT,EAAiB;QACxCA,OAAOC,MAAP,CAAcV,QAAd,CAAJ,EAA6B;aACpBnC,IAAP,CAAY4C,OAAOE,WAAnB,EAAgC,UAASC,UAAT,EAAqBtE,cAArB,EAAqC;iBAC1DsE,WAAWC,IAAX,CAAgBb,QAAhB,CAAT;YAEIO,aAAa,KAAb,IAAsBD,WAAW,KAArC,EAA4C;qBAC/BA,MAAX;iBACOhE,cAAP,GAAwBA,cAAxB;iBACOsE,UAAP,GAAoBA,UAApB;iBACOd,OAAOhB,KAAd;;OAPJ;aAWOgB,OAAOhB,KAAd;;GAbJ;SAiBOyB,QAAP;CArBF;;ACvQA,IAAIO,qBAAJ;AAEA,IAAMC,YAAY;cACJ,oBAASjE,CAAT,EAAYC,CAAZ,EAAeE,CAAf,EAAkB;QACtB+D,KAAKvE,KAAKwE,KAAL,CAAWnE,IAAI,EAAf,IAAqB,CAAhC;QAEMoE,IAAIpE,IAAI,EAAJ,GAASL,KAAKwE,KAAL,CAAWnE,IAAI,EAAf,CAAnB;QACMqE,IAAIlE,KAAK,MAAMF,CAAX,CAAV;QACMqE,IAAInE,KAAK,MAAOiE,IAAInE,CAAhB,CAAV;QACMsE,IAAIpE,KAAK,MAAO,CAAC,MAAMiE,CAAP,IAAYnE,CAAxB,CAAV;QAEMuE,IAAI,CACR,CAACrE,CAAD,EAAIoE,CAAJ,EAAOF,CAAP,CADQ,EAER,CAACC,CAAD,EAAInE,CAAJ,EAAOkE,CAAP,CAFQ,EAGR,CAACA,CAAD,EAAIlE,CAAJ,EAAOoE,CAAP,CAHQ,EAIR,CAACF,CAAD,EAAIC,CAAJ,EAAOnE,CAAP,CAJQ,EAKR,CAACoE,CAAD,EAAIF,CAAJ,EAAOlE,CAAP,CALQ,EAMR,CAACA,CAAD,EAAIkE,CAAJ,EAAOC,CAAP,CANQ,EAORJ,EAPQ,CAAV;WASO;SACFM,EAAE,CAAF,IAAO,GADL;SAEFA,EAAE,CAAF,IAAO,GAFL;SAGFA,EAAE,CAAF,IAAO;KAHZ;GAlBc;cAyBJ,oBAAS9E,CAAT,EAAYG,CAAZ,EAAeC,CAAf,EAAkB;QACtB2E,MAAM9E,KAAK8E,GAAL,CAAS/E,CAAT,EAAYG,CAAZ,EAAeC,CAAf,CAAZ;QACM4E,MAAM/E,KAAK+E,GAAL,CAAShF,CAAT,EAAYG,CAAZ,EAAeC,CAAf,CAAZ;QACM6E,QAAQD,MAAMD,GAApB;QACIzE,UAAJ;QACIC,UAAJ;QAEIyE,QAAQ,CAAZ,EAAe;UACTC,QAAQD,GAAZ;KADF,MAEO;aACE;WACFE,GADE;WAEF,CAFE;WAGF;OAHL;;QAOElF,MAAMgF,GAAV,EAAe;UACT,CAAC7E,IAAIC,CAAL,IAAU6E,KAAd;KADF,MAEO,IAAI9E,MAAM6E,GAAV,EAAe;UAChB,IAAI,CAAC5E,IAAIJ,CAAL,IAAUiF,KAAlB;KADK,MAEA;UACD,IAAI,CAACjF,IAAIG,CAAL,IAAU8E,KAAlB;;SAEG,CAAL;QACI3E,IAAI,CAAR,EAAW;WACJ,CAAL;;WAGK;SACFA,IAAI,GADF;SAEFC,CAFE;SAGFyE,MAAM;KAHX;GAtDc;cA6DJ,oBAAShF,CAAT,EAAYG,CAAZ,EAAeC,CAAf,EAAkB;QACxBO,MAAM,KAAKwE,kBAAL,CAAwB,CAAxB,EAA2B,CAA3B,EAA8BnF,CAA9B,CAAV;UACM,KAAKmF,kBAAL,CAAwBxE,GAAxB,EAA6B,CAA7B,EAAgCR,CAAhC,CAAN;UACM,KAAKgF,kBAAL,CAAwBxE,GAAxB,EAA6B,CAA7B,EAAgCP,CAAhC,CAAN;WACOO,GAAP;GAjEc;sBAoEI,4BAASA,GAAT,EAAcyE,cAAd,EAA8B;WACxCzE,OAAQyE,iBAAiB,CAA1B,GAAgC,IAAvC;GArEc;sBAwEI,4BAASzE,GAAT,EAAcyE,cAAd,EAA8BC,KAA9B,EAAqC;WAChDA,UAAUf,eAAec,iBAAiB,CAA1C,IAAgDzE,MAAM,EAAE,QAAQ2D,YAAV,CAA7D;;CAzEJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ICGMgB;mBACU;;SACPzF,OAAL,GAAemE,UAAU9B,KAAV,CAAgB,IAAhB,EAAsBX,SAAtB,CAAf;QAEI,KAAK1B,OAAL,KAAiB,KAArB,EAA4B;YACpB,IAAI0F,KAAJ,CAAU,qCAAV,CAAN;;SAGG1F,OAAL,CAAaQ,CAAb,GAAiB,KAAKR,OAAL,CAAaQ,CAAb,IAAkB,CAAnC;;;;+BAGS;aACFmF,cAAc,IAAd,CAAP;;;;kCAGY;aACLA,cAAc,IAAd,EAAoB,IAApB,CAAP;;;;iCAGW;aACJ,KAAK3F,OAAL,CAAauE,UAAb,CAAwBqB,KAAxB,CAA8B,IAA9B,CAAP;;;;;AAIJ,SAASC,kBAAT,CAA4BtE,MAA5B,EAAoCuE,SAApC,EAA+CC,iBAA/C,EAAkE;SACzDC,cAAP,CAAsBzE,MAAtB,EAA8BuE,SAA9B,EAAyC;SAClC,kBAAW;UACV,KAAK9F,OAAL,CAAaiG,KAAb,KAAuB,KAA3B,EAAkC;eACzB,KAAKjG,OAAL,CAAa8F,SAAb,CAAP;;YAGII,cAAN,CAAqB,IAArB,EAA2BJ,SAA3B,EAAsCC,iBAAtC;aAEO,KAAK/F,OAAL,CAAa8F,SAAb,CAAP;KARqC;SAWlC,gBAASlF,CAAT,EAAY;UACX,KAAKZ,OAAL,CAAaiG,KAAb,KAAuB,KAA3B,EAAkC;cAC1BC,cAAN,CAAqB,IAArB,EAA2BJ,SAA3B,EAAsCC,iBAAtC;aACK/F,OAAL,CAAaiG,KAAb,GAAqB,KAArB;;WAGGjG,OAAL,CAAa8F,SAAb,IAA0BlF,CAA1B;;GAjBJ;;AAsBF,SAASuF,kBAAT,CAA4B5E,MAA5B,EAAoCuE,SAApC,EAA+C;SACtCE,cAAP,CAAsBzE,MAAtB,EAA8BuE,SAA9B,EAAyC;SAClC,kBAAW;UACV,KAAK9F,OAAL,CAAaiG,KAAb,KAAuB,KAA3B,EAAkC;eACzB,KAAKjG,OAAL,CAAa8F,SAAb,CAAP;;YAGIM,cAAN,CAAqB,IAArB;aAEO,KAAKpG,OAAL,CAAa8F,SAAb,CAAP;KARqC;SAWlC,gBAASlF,CAAT,EAAY;UACX,KAAKZ,OAAL,CAAaiG,KAAb,KAAuB,KAA3B,EAAkC;cAC1BG,cAAN,CAAqB,IAArB;aACKpG,OAAL,CAAaiG,KAAb,GAAqB,KAArB;;WAGGjG,OAAL,CAAa8F,SAAb,IAA0BlF,CAA1B;;GAjBJ;;AAuBF6E,MAAMS,cAAN,GAAuB,UAASrG,KAAT,EAAgBiG,SAAhB,EAA2BC,iBAA3B,EAA8C;MAC/DlG,MAAMG,OAAN,CAAciG,KAAd,KAAwB,KAA5B,EAAmC;UAC3BjG,OAAN,CAAc8F,SAAd,IAA2BO,UAAKC,kBAAL,CAAwBzG,MAAMG,OAAN,CAAcc,GAAtC,EAA2CiF,iBAA3C,CAA3B;GADF,MAEO,IAAIlG,MAAMG,OAAN,CAAciG,KAAd,KAAwB,KAA5B,EAAmC;WACjCM,MAAP,CAAc1G,MAAMG,OAApB,EAA6BqG,UAAKG,UAAL,CAAgB3G,MAAMG,OAAN,CAAcS,CAA9B,EAAiCZ,MAAMG,OAAN,CAAcU,CAA/C,EAAkDb,MAAMG,OAAN,CAAcY,CAAhE,CAA7B;GADK,MAEA;UACC,IAAI8E,KAAJ,CAAU,uBAAV,CAAN;;CANJ;AAUAD,MAAMW,cAAN,GAAuB,UAASvG,KAAT,EAAgB;MAC/BoE,SAASoC,UAAKI,UAAL,CAAgB5G,MAAMM,CAAtB,EAAyBN,MAAMS,CAA/B,EAAkCT,MAAMU,CAAxC,CAAf;SAEOgG,MAAP,CAAc1G,MAAMG,OAApB,EACE;OACKiE,OAAOvD,CADZ;OAEKuD,OAAOrD;GAHd;MAMI,CAAC6C,OAAOL,KAAP,CAAaa,OAAOxD,CAApB,CAAL,EAA6B;UACrBT,OAAN,CAAcS,CAAd,GAAkBwD,OAAOxD,CAAzB;GADF,MAEO,IAAIgD,OAAOzB,WAAP,CAAmBnC,MAAMG,OAAN,CAAcS,CAAjC,CAAJ,EAAyC;UACxCT,OAAN,CAAcS,CAAd,GAAkB,CAAlB;;CAZJ;AAgBAgF,MAAMiB,UAAN,GAAmB,CAAC,GAAD,EAAM,GAAN,EAAW,GAAX,EAAgB,GAAhB,EAAqB,GAArB,EAA0B,GAA1B,EAA+B,KAA/B,EAAsC,GAAtC,CAAnB;AAEAb,mBAAmBJ,MAAMvE,SAAzB,EAAoC,GAApC,EAAyC,CAAzC;AACA2E,mBAAmBJ,MAAMvE,SAAzB,EAAoC,GAApC,EAAyC,CAAzC;AACA2E,mBAAmBJ,MAAMvE,SAAzB,EAAoC,GAApC,EAAyC,CAAzC;AAEAiF,mBAAmBV,MAAMvE,SAAzB,EAAoC,GAApC;AACAiF,mBAAmBV,MAAMvE,SAAzB,EAAoC,GAApC;AACAiF,mBAAmBV,MAAMvE,SAAzB,EAAoC,GAApC;AAEAY,OAAOkE,cAAP,CAAsBP,MAAMvE,SAA5B,EAAuC,GAAvC,EAA4C;OACrC,kBAAW;WACP,KAAKlB,OAAL,CAAaQ,CAApB;GAFwC;OAKrC,gBAASI,CAAT,EAAY;SACVZ,OAAL,CAAaQ,CAAb,GAAiBI,CAAjB;;CANJ;AAUAkB,OAAOkE,cAAP,CAAsBP,MAAMvE,SAA5B,EAAuC,KAAvC,EAA8C;OACvC,kBAAW;QACV,KAAKlB,OAAL,CAAaiG,KAAb,KAAuB,KAA3B,EAAkC;WAC3BjG,OAAL,CAAac,GAAb,GAAmBuF,UAAKM,UAAL,CAAgB,KAAKxG,CAArB,EAAwB,KAAKG,CAA7B,EAAgC,KAAKC,CAArC,CAAnB;WACKP,OAAL,CAAaiG,KAAb,GAAqB,KAArB;;WAGK,KAAKjG,OAAL,CAAac,GAApB;GAP0C;OAUvC,gBAASF,CAAT,EAAY;SACVZ,OAAL,CAAaiG,KAAb,GAAqB,KAArB;SACKjG,OAAL,CAAac,GAAb,GAAmBF,CAAnB;;CAZJ;;ICpHMgG;sBACQC,MAAZ,EAAoBC,QAApB,EAA8B;;SACvBC,YAAL,GAAoBF,OAAOC,QAAP,CAApB;SAMKE,UAAL,GAAkBC,SAASC,aAAT,CAAuB,KAAvB,CAAlB;SAMKL,MAAL,GAAcA,MAAd;SAMKC,QAAL,GAAgBA,QAAhB;SAOKK,UAAL,GAAkBhE,SAAlB;SAOKiE,gBAAL,GAAwBjE,SAAxB;;;;6BAWOT,KAAK;WACPyE,UAAL,GAAkBzE,GAAlB;aACO,IAAP;;;;mCAYaA,KAAK;WACb0E,gBAAL,GAAwB1E,GAAxB;aACO,IAAP;;;;6BAQO2E,UAAU;WACZR,MAAL,CAAY,KAAKC,QAAjB,IAA6BO,QAA7B;UACI,KAAKF,UAAT,EAAqB;aACdA,UAAL,CAAgB1F,IAAhB,CAAqB,IAArB,EAA2B4F,QAA3B;;WAGGC,aAAL;aACO,IAAP;;;;+BAQS;aACF,KAAKT,MAAL,CAAY,KAAKC,QAAjB,CAAP;;;;oCAQc;aACP,IAAP;;;;iCAMW;aACJ,KAAKC,YAAL,KAAsB,KAAKQ,QAAL,EAA7B;;;;;;ACzGJ,IAAMC,YAAY;cACJ,CAAC,QAAD,CADI;eAEH,CAAC,OAAD,EAAU,WAAV,EAAuB,WAAvB,EAAoC,SAApC,EAA+C,WAA/C,CAFG;kBAGA,CAAC,SAAD;CAHlB;AAMA,IAAMC,gBAAgB,EAAtB;AACAhE,OAAOjC,IAAP,CAAYgG,SAAZ,EAAuB,UAAS5G,CAAT,EAAY8G,CAAZ,EAAe;SAC7BlG,IAAP,CAAYZ,CAAZ,EAAe,UAAS+G,CAAT,EAAY;kBACXA,CAAd,IAAmBD,CAAnB;GADF;CADF;AAMA,IAAME,mBAAmB,iBAAzB;AAEA,SAASC,gBAAT,CAA0BC,GAA1B,EAA+B;MACzBA,QAAQ,GAAR,IAAerE,OAAOzB,WAAP,CAAmB8F,GAAnB,CAAnB,EAA4C;WACnC,CAAP;;MAGIjE,QAAQiE,IAAIjE,KAAJ,CAAU+D,gBAAV,CAAd;MAEI,CAACnE,OAAOsE,MAAP,CAAclE,KAAd,CAAL,EAA2B;WAClBE,WAAWF,MAAM,CAAN,CAAX,CAAP;;SAKK,CAAP;;AAOF,IAAMmE,MAAM;kBAOM,wBAASC,IAAT,EAAeC,UAAf,EAA2B;QACrCD,SAAS9E,SAAT,IAAsB8E,KAAKE,KAAL,KAAehF,SAAzC,EAAoD;SAE/CiF,aAAL,GAAqBF,aAAa,YAAW;aACpC,KAAP;KADmB,GAEjB,YAAW,EAFf;SAKKC,KAAL,CAAWE,aAAX,GAA2BH,aAAa,MAAb,GAAsB,MAAjD;SACKC,KAAL,CAAWG,eAAX,GAA6BJ,aAAa,MAAb,GAAsB,MAAnD;SACKK,YAAL,GAAoBL,aAAa,IAAb,GAAoB,KAAxC;GAjBQ;kBA0BM,wBAASD,IAAT,EAAeO,GAAf,EAAoBC,IAApB,EAA0B;QACpCC,WAAWD,IAAf;QACIE,aAAaH,GAAjB;QAEI/E,OAAOzB,WAAP,CAAmB2G,UAAnB,CAAJ,EAAoC;mBACrB,IAAb;;QAGElF,OAAOzB,WAAP,CAAmB0G,QAAnB,CAAJ,EAAkC;iBACrB,IAAX;;SAGGP,KAAL,CAAWS,QAAX,GAAsB,UAAtB;QAEID,UAAJ,EAAgB;WACTR,KAAL,CAAWU,IAAX,GAAkB,CAAlB;WACKV,KAAL,CAAWW,KAAX,GAAmB,CAAnB;;QAEEJ,QAAJ,EAAc;WACPP,KAAL,CAAWY,GAAX,GAAiB,CAAjB;WACKZ,KAAL,CAAWa,MAAX,GAAoB,CAApB;;GA9CM;aAwDC,mBAASf,IAAT,EAAegB,SAAf,EAA0BC,IAA1B,EAAgCC,GAAhC,EAAqC;QACxCC,SAASF,QAAQ,EAAvB;QACMG,YAAY5B,cAAcwB,SAAd,CAAlB;QACI,CAACI,SAAL,EAAgB;YACR,IAAI3D,KAAJ,CAAU,gBAAgBuD,SAAhB,GAA4B,iBAAtC,CAAN;;QAEIK,MAAMrC,SAASsC,WAAT,CAAqBF,SAArB,CAAZ;YACQA,SAAR;WACO,aAAL;;cAEQG,UAAUJ,OAAOK,CAAP,IAAYL,OAAOI,OAAnB,IAA8B,CAA9C;cACME,UAAUN,OAAOO,CAAP,IAAYP,OAAOM,OAAnB,IAA8B,CAA9C;cACIE,cAAJ,CAAmBX,SAAnB,EAA8BG,OAAOS,OAAP,IAAkB,KAAhD,EACET,OAAOU,UAAP,IAAqB,IADvB,EAC6BC,MAD7B,EACqCX,OAAOY,UAAP,IAAqB,CAD1D,EAEE,CAFF;WAAA;iBAAA;iBAAA;eAAA,EAMS,KANT,EAMgB,KANhB,EAMuB,KANvB,EAM8B,CAN9B,EAMiC,IANjC;;;WASG,gBAAL;;cAEQC,OAAOX,IAAIY,iBAAJ,IAAyBZ,IAAIa,YAA1C,CADF;iBAESC,QAAP,CAAgBhB,MAAhB,EAAwB;wBACV,IADU;qBAEb,KAFa;oBAGd,KAHc;sBAIZ,KAJY;qBAKb,KALa;qBAMbjG,SANa;sBAOZA;WAPZ;eASK8F,SAAL,EAAgBG,OAAOS,OAAP,IAAkB,KAAlC,EACET,OAAOU,UADT,EACqBC,MADrB,EAEEX,OAAOiB,OAFT,EAEkBjB,OAAOkB,MAFzB,EAGElB,OAAOmB,QAHT,EAGmBnB,OAAOoB,OAH1B,EAIEpB,OAAOqB,OAJT,EAIkBrB,OAAOsB,QAJzB;;;;;cASIC,SAAJ,CAAc1B,SAAd,EAAyBG,OAAOS,OAAP,IAAkB,KAA3C,EAAkDT,OAAOU,UAAP,IAAqB,IAAvE;;;;WAIGM,QAAP,CAAgBd,GAAhB,EAAqBH,GAArB;SACKyB,aAAL,CAAmBtB,GAAnB;GAvGQ;QAiHJ,cAASrB,IAAT,EAAe4C,KAAf,EAAsBlI,IAAtB,EAA4BmI,OAA5B,EAAqC;QACnCC,OAAOD,WAAW,KAAxB;QACI7C,KAAK+C,gBAAT,EAA2B;WACpBA,gBAAL,CAAsBH,KAAtB,EAA6BlI,IAA7B,EAAmCoI,IAAnC;KADF,MAEO,IAAI9C,KAAKgD,WAAT,EAAsB;WACtBA,WAAL,CAAiB,OAAOJ,KAAxB,EAA+BlI,IAA/B;;WAEKqF,GAAP;GAxHQ;UAkIF,gBAASC,IAAT,EAAe4C,KAAf,EAAsBlI,IAAtB,EAA4BmI,OAA5B,EAAqC;QACrCC,OAAOD,WAAW,KAAxB;QACI7C,KAAKiD,mBAAT,EAA8B;WACvBA,mBAAL,CAAyBL,KAAzB,EAAgClI,IAAhC,EAAsCoI,IAAtC;KADF,MAEO,IAAI9C,KAAKkD,WAAT,EAAsB;WACtBA,WAAL,CAAiB,OAAON,KAAxB,EAA+BlI,IAA/B;;WAEKqF,GAAP;GAzIQ;YAiJA,kBAASC,IAAT,EAAeoB,SAAf,EAA0B;QAC9BpB,KAAKoB,SAAL,KAAmBlG,SAAvB,EAAkC;WAC3BkG,SAAL,GAAiBA,SAAjB;KADF,MAEO,IAAIpB,KAAKoB,SAAL,KAAmBA,SAAvB,EAAkC;UACjC+B,UAAUnD,KAAKoB,SAAL,CAAegC,KAAf,CAAqB,IAArB,CAAhB;UACID,QAAQE,OAAR,CAAgBjC,SAAhB,MAA+B,CAAC,CAApC,EAAuC;gBAC7BkC,IAAR,CAAalC,SAAb;aACKA,SAAL,GAAiB+B,QAAQI,IAAR,CAAa,GAAb,EAAkBC,OAAlB,CAA0B,MAA1B,EAAkC,EAAlC,EAAsCA,OAAtC,CAA8C,MAA9C,EAAsD,EAAtD,CAAjB;;;WAGGzD,GAAP;GA3JQ;eAmKG,qBAASC,IAAT,EAAeoB,SAAf,EAA0B;QACjCA,SAAJ,EAAe;UACTpB,KAAKoB,SAAL,KAAmBA,SAAvB,EAAkC;aAC3BqC,eAAL,CAAqB,OAArB;OADF,MAEO;YACCN,UAAUnD,KAAKoB,SAAL,CAAegC,KAAf,CAAqB,IAArB,CAAhB;YACMM,QAAQP,QAAQE,OAAR,CAAgBjC,SAAhB,CAAd;YACIsC,UAAU,CAAC,CAAf,EAAkB;kBACRC,MAAR,CAAeD,KAAf,EAAsB,CAAtB;eACKtC,SAAL,GAAiB+B,QAAQI,IAAR,CAAa,GAAb,CAAjB;;;KARN,MAWO;WACAnC,SAAL,GAAiBlG,SAAjB;;WAEK6E,GAAP;GAlLQ;YAqLA,kBAASC,IAAT,EAAeoB,SAAf,EAA0B;WAC3B,IAAIwC,MAAJ,CAAW,eAAexC,SAAf,GAA2B,YAAtC,EAAoDzF,IAApD,CAAyDqE,KAAKoB,SAA9D,KAA4E,KAAnF;GAtLQ;YA6LA,kBAASpB,IAAT,EAAe;QACjBE,QAAQ2D,iBAAiB7D,IAAjB,CAAd;WAEOJ,iBAAiBM,MAAM,mBAAN,CAAjB,IACLN,iBAAiBM,MAAM,oBAAN,CAAjB,CADK,GAELN,iBAAiBM,MAAM,cAAN,CAAjB,CAFK,GAGLN,iBAAiBM,MAAM,eAAN,CAAjB,CAHK,GAILN,iBAAiBM,MAAM4D,KAAvB,CAJF;GAhMQ;aA2MC,mBAAS9D,IAAT,EAAe;QAClBE,QAAQ2D,iBAAiB7D,IAAjB,CAAd;WAEOJ,iBAAiBM,MAAM,kBAAN,CAAjB,IACLN,iBAAiBM,MAAM,qBAAN,CAAjB,CADK,GAELN,iBAAiBM,MAAM,aAAN,CAAjB,CAFK,GAGLN,iBAAiBM,MAAM,gBAAN,CAAjB,CAHK,GAILN,iBAAiBM,MAAM6D,MAAvB,CAJF;GA9MQ;aAyNC,mBAASC,EAAT,EAAa;QAClBhE,OAAOgE,EAAX;QACMC,SAAS,EAAErD,MAAM,CAAR,EAAWE,KAAK,CAAhB,EAAf;QACId,KAAKkE,YAAT,EAAuB;SAClB;eACMtD,IAAP,IAAeZ,KAAKmE,UAApB;eACOrD,GAAP,IAAcd,KAAKoE,SAAnB;eACOpE,KAAKkE,YAAZ;OAHF,QAISlE,IAJT;;WAMKiE,MAAP;GAnOQ;YA2OA,kBAASjE,IAAT,EAAe;WAChBA,SAAShB,SAASqF,aAAlB,KAAoCrE,KAAKsE,IAAL,IAAatE,KAAKuE,IAAtD,CAAP;;CA5OJ;;IC1BMC;;6BACQ5F,MAAZ,EAAoBC,QAApB,EAA8B;;sIACtBD,MADsB,EACdC,QADc;QAGtB4F,cAAN;WACKC,MAAL,GAAc,OAAKpF,QAAL,EAAd;WAEKqF,UAAL,GAAkB3F,SAASC,aAAT,CAAuB,OAAvB,CAAlB;WACK0F,UAAL,CAAgBC,YAAhB,CAA6B,MAA7B,EAAqC,UAArC;aAESC,QAAT,GAAoB;YACZC,QAAN,CAAe,CAACL,MAAMC,MAAtB;;QAGE1K,IAAJ,CAAS,OAAK2K,UAAd,EAA0B,QAA1B,EAAoCE,QAApC,EAA8C,KAA9C;WAEK9F,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKJ,UAAjC;WAGKtF,aAAL;;;;;6BAGO1G,GAAG;UACJsD,yIAA0BtD,CAA1B,CAAN;UACI,KAAKwG,gBAAT,EAA2B;aACpBA,gBAAL,CAAsB3F,IAAtB,CAA2B,IAA3B,EAAiC,KAAK8F,QAAL,EAAjC;;WAEGoF,MAAL,GAAc,KAAKpF,QAAL,EAAd;aACOrD,QAAP;;;;oCAGc;UACV,KAAKqD,QAAL,OAAoB,IAAxB,EAA8B;aACvBqF,UAAL,CAAgBC,YAAhB,CAA6B,SAA7B,EAAwC,SAAxC;aACKD,UAAL,CAAgBK,OAAhB,GAA0B,IAA1B;aACKN,MAAL,GAAc,IAAd;OAHF,MAIO;aACAC,UAAL,CAAgBK,OAAhB,GAA0B,KAA1B;aACKN,MAAL,GAAc,KAAd;;;;;;EAtC0B/F;;ICI1BsG;;4BACQrG,MAAZ,EAAoBC,QAApB,EAA8BqG,IAA9B,EAAoC;;oIAC5BtG,MAD4B,EACpBC,QADoB;QAG9BsG,UAAUD,IAAd;QAEMT,cAAN;WAMKW,QAAL,GAAgBpG,SAASC,aAAT,CAAuB,QAAvB,CAAhB;QAEIzD,OAAOJ,OAAP,CAAe+J,OAAf,CAAJ,EAA6B;UACrBE,MAAM,EAAZ;aACO9L,IAAP,CAAY4L,OAAZ,EAAqB,UAASG,OAAT,EAAkB;YACjCA,OAAJ,IAAeA,OAAf;OADF;gBAGUD,GAAV;;WAGK9L,IAAP,CAAY4L,OAAZ,EAAqB,UAAS5H,KAAT,EAAgBzD,GAAhB,EAAqB;UAClCyL,MAAMvG,SAASC,aAAT,CAAuB,QAAvB,CAAZ;UACIuG,SAAJ,GAAgB1L,GAAhB;UACI8K,YAAJ,CAAiB,OAAjB,EAA0BrH,KAA1B;YACM6H,QAAN,CAAeL,WAAf,CAA2BQ,GAA3B;KAJF;WAQKlG,aAAL;QAEIrF,IAAJ,CAAS,OAAKoL,QAAd,EAAwB,QAAxB,EAAkC,YAAW;UACrCK,eAAe,KAAKN,OAAL,CAAa,KAAKO,aAAlB,EAAiCnI,KAAtD;YACMuH,QAAN,CAAeW,YAAf;KAFF;WAKK1G,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKK,QAAjC;;;;;6BAGOzM,GAAG;UACJsD,uIAA0BtD,CAA1B,CAAN;UAEI,KAAKwG,gBAAT,EAA2B;aACpBA,gBAAL,CAAsB3F,IAAtB,CAA2B,IAA3B,EAAiC,KAAK8F,QAAL,EAAjC;;aAEKrD,QAAP;;;;oCAGc;UACV8D,IAAI4F,QAAJ,CAAa,KAAKP,QAAlB,CAAJ,EAAiC,OAAO,IAAP,CADnB;WAETA,QAAL,CAAc7H,KAAd,GAAsB,KAAK+B,QAAL,EAAtB;;;;;EAnD2BX;;ICJzBiH;;4BACQhH,MAAZ,EAAoBC,QAApB,EAA8B;;oIACtBD,MADsB,EACdC,QADc;QAGtB4F,cAAN;aAESI,QAAT,GAAoB;YACZC,QAAN,CAAeL,MAAMoB,OAAN,CAActI,KAA7B;;aAGOuI,MAAT,GAAkB;UACZrB,MAAMtF,gBAAV,EAA4B;cACpBA,gBAAN,CAAuB3F,IAAvB,CAA4BiL,KAA5B,EAAmCA,MAAMnF,QAAN,EAAnC;;;WAICuG,OAAL,GAAe7G,SAASC,aAAT,CAAuB,OAAvB,CAAf;WACK4G,OAAL,CAAajB,YAAb,CAA0B,MAA1B,EAAkC,MAAlC;QAEI5K,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,OAAvB,EAAgChB,QAAhC;QACI7K,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,QAAvB,EAAiChB,QAAjC;QACI7K,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,MAAvB,EAA+BC,MAA/B;QACI9L,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,SAAvB,EAAkC,UAASnG,CAAT,EAAY;UACxCA,EAAE8C,OAAF,KAAc,EAAlB,EAAsB;aACfuD,IAAL;;KAFJ;WAMK1G,aAAL;WAEKN,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKc,OAAjC;;;;;oCAGc;UAGV,CAAC9F,IAAI4F,QAAJ,CAAa,KAAKE,OAAlB,CAAL,EAAiC;aAC1BA,OAAL,CAAatI,KAAb,GAAqB,KAAK+B,QAAL,EAArB;;;;;;EArCyBX;;ACR/B,SAASqH,WAAT,CAAqBxE,CAArB,EAAwB;MAChByE,KAAKzE,EAAEvJ,QAAF,EAAX;MACIgO,GAAG5C,OAAH,CAAW,GAAX,IAAkB,CAAC,CAAvB,EAA0B;WACjB4C,GAAGnN,MAAH,GAAYmN,GAAG5C,OAAH,CAAW,GAAX,CAAZ,GAA8B,CAArC;;SAGK,CAAP;;IAeI6C;;4BACQtH,MAAZ,EAAoBC,QAApB,EAA8BsC,MAA9B,EAAsC;;mIAC9BvC,MAD8B,EACtBC,QADsB;QAG9BsH,UAAUhF,UAAU,EAA1B;UAEKiF,KAAL,GAAaD,QAAQlJ,GAArB;UACKoJ,KAAL,GAAaF,QAAQjJ,GAArB;UACKoJ,MAAL,GAAcH,QAAQI,IAAtB;QAEI/K,OAAOzB,WAAP,CAAmB,MAAKuM,MAAxB,CAAJ,EAAqC;UAC/B,MAAKxH,YAAL,KAAsB,CAA1B,EAA6B;cACtB0H,aAAL,GAAqB,CAArB,CAD2B;OAA7B,MAEO;cAEAA,aAAL,GAAqBrO,KAAKsO,GAAL,CAAS,EAAT,EAAatO,KAAKwE,KAAL,CAAWxE,KAAKuO,GAAL,CAASvO,KAAKwO,GAAL,CAAS,MAAK7H,YAAd,CAAT,IAAwC3G,KAAKyO,IAAxD,CAAb,IAA8E,EAAnG;;KALJ,MAOO;YACAJ,aAAL,GAAqB,MAAKF,MAA1B;;UAGGO,WAAL,GAAmBb,YAAY,MAAKQ,aAAjB,CAAnB;;;;;6BAGO7N,GAAG;UACNmO,KAAKnO,CAAT;UAEI,KAAKyN,KAAL,KAAelL,SAAf,IAA4B4L,KAAK,KAAKV,KAA1C,EAAiD;aAC1C,KAAKA,KAAV;OADF,MAEO,IAAI,KAAKC,KAAL,KAAenL,SAAf,IAA4B4L,KAAK,KAAKT,KAA1C,EAAiD;aACjD,KAAKA,KAAV;;UAGE,KAAKC,MAAL,KAAgBpL,SAAhB,IAA6B4L,KAAK,KAAKR,MAAV,KAAqB,CAAtD,EAAyD;aAClDnO,KAAKC,KAAL,CAAW0O,KAAK,KAAKR,MAArB,IAA+B,KAAKA,MAAzC;;yIAGoBQ,EAAtB;;;;wBAUEC,UAAU;WACPX,KAAL,GAAaW,QAAb;aACO,IAAP;;;;wBAUEC,UAAU;WACPX,KAAL,GAAaW,QAAb;aACO,IAAP;;;;yBAaGC,WAAW;WACTX,MAAL,GAAcW,SAAd;WACKT,aAAL,GAAqBS,SAArB;WACKJ,WAAL,GAAmBb,YAAYiB,SAAZ,CAAnB;aACO,IAAP;;;;EA9E2BtI;;ACpB/B,SAASuI,cAAT,CAAwB3J,KAAxB,EAA+B4J,QAA/B,EAAyC;MACjCC,QAAQjP,KAAKsO,GAAL,CAAS,EAAT,EAAaU,QAAb,CAAd;SACOhP,KAAKC,KAAL,CAAWmF,QAAQ6J,KAAnB,IAA4BA,KAAnC;;IAiBIC;;+BACQzI,MAAZ,EAAoBC,QAApB,EAA8BsC,MAA9B,EAAsC;;0IAC9BvC,MAD8B,EACtBC,QADsB,EACZsC,MADY;WAG/BmG,qBAAL,GAA6B,KAA7B;QAEM7C,cAAN;QAMI8C,cAAJ;aAES1C,QAAT,GAAoB;UACZ2C,YAAY1L,WAAW2I,MAAMoB,OAAN,CAActI,KAAzB,CAAlB;UACI,CAAC/B,OAAOL,KAAP,CAAaqM,SAAb,CAAL,EAA8B;cACtB1C,QAAN,CAAe0C,SAAf;;;aAIKC,QAAT,GAAoB;UACdhD,MAAMtF,gBAAV,EAA4B;cACpBA,gBAAN,CAAuB3F,IAAvB,CAA4BiL,KAA5B,EAAmCA,MAAMnF,QAAN,EAAnC;;;aAIKwG,MAAT,GAAkB;;;aAIT4B,WAAT,CAAqBhI,CAArB,EAAwB;UAChBiI,OAAOJ,QAAQ7H,EAAE+B,OAAvB;YACMqD,QAAN,CAAeL,MAAMnF,QAAN,KAAmBqI,OAAOlD,MAAM+B,aAA/C;cAEQ9G,EAAE+B,OAAV;;aAGOmG,SAAT,GAAqB;UACfC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgC4F,WAAhC;UACIG,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8B8F,SAA9B;;;aAIOE,WAAT,CAAqBpI,CAArB,EAAwB;UAClB1F,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8B4F,WAA9B;UACI1N,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4B8F,SAA5B;cACQlI,EAAE+B,OAAV;;WAGGoE,OAAL,GAAe7G,SAASC,aAAT,CAAuB,OAAvB,CAAf;WACK4G,OAAL,CAAajB,YAAb,CAA0B,MAA1B,EAAkC,MAAlC;QAII5K,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,QAAvB,EAAiChB,QAAjC;QACI7K,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,MAAvB,EAA+BC,MAA/B;QACI9L,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,WAAvB,EAAoCiC,WAApC;QACI9N,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,SAAvB,EAAkC,UAASnG,CAAT,EAAY;UAExCA,EAAE8C,OAAF,KAAc,EAAlB,EAAsB;cACd8E,qBAAN,GAA8B,IAA9B;aACKvB,IAAL;cACMuB,qBAAN,GAA8B,KAA9B;;;KALJ;WAUKjI,aAAL;WAEKN,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKc,OAAjC;;;;;oCAGc;WACTA,OAAL,CAAatI,KAAb,GAAqB,KAAK+J,qBAAL,GAA6B,KAAKhI,QAAL,EAA7B,GAA+C4H,eAAe,KAAK5H,QAAL,EAAf,EAAgC,KAAKuH,WAArC,CAApE;;;;;EA1E8BX;;ACpBlC,SAASb,GAAT,CAAa1M,CAAb,EAAgBoP,EAAhB,EAAoBC,EAApB,EAAwBC,EAAxB,EAA4BC,EAA5B,EAAgC;SACvBD,KAAK,CAACC,KAAKD,EAAN,KAAa,CAACtP,IAAIoP,EAAL,KAAYC,KAAKD,EAAjB,CAAb,CAAZ;;IAmBII;;kCACQvJ,MAAZ,EAAoBC,QAApB,EAA8B5B,GAA9B,EAAmCC,GAAnC,EAAwCqJ,IAAxC,EAA8C;;gJACtC3H,MADsC,EAC9BC,QAD8B,EACpB,EAAE5B,KAAKA,GAAP,EAAYC,KAAKA,GAAjB,EAAsBqJ,MAAMA,IAA5B,EADoB;QAGtC9B,cAAN;WAEK2D,YAAL,GAAoBpJ,SAASC,aAAT,CAAuB,KAAvB,CAApB;WACKoJ,YAAL,GAAoBrJ,SAASC,aAAT,CAAuB,KAAvB,CAApB;QAEIjF,IAAJ,CAAS,OAAKoO,YAAd,EAA4B,WAA5B,EAAyCN,WAAzC;QACI9N,IAAJ,CAAS,OAAKoO,YAAd,EAA4B,YAA5B,EAA0CE,YAA1C;QAEIC,QAAJ,CAAa,OAAKH,YAAlB,EAAgC,QAAhC;QACIG,QAAJ,CAAa,OAAKF,YAAlB,EAAgC,WAAhC;aAESP,WAAT,CAAqBpI,CAArB,EAAwB;eACb2E,aAAT,CAAuB0B,IAAvB;UAEI/L,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8B4F,WAA9B;UACI1N,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4B8F,SAA5B;kBAEYlI,CAAZ;;aAGOgI,WAAT,CAAqBhI,CAArB,EAAwB;QACpB8I,cAAF;UAEMC,SAAShE,MAAM2D,YAAN,CAAmBM,qBAAnB,EAAf;YAEM5D,QAAN,CACEO,IAAI3F,EAAE6B,OAAN,EAAekH,OAAO7H,IAAtB,EAA4B6H,OAAO5H,KAAnC,EAA0C4D,MAAM2B,KAAhD,EAAuD3B,MAAM4B,KAA7D,CADF;aAIO,KAAP;;aAGOuB,SAAT,GAAqB;UACfC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgC4F,WAAhC;UACIG,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8B8F,SAA9B;UACInD,MAAMtF,gBAAV,EAA4B;cACpBA,gBAAN,CAAuB3F,IAAvB,CAA4BiL,KAA5B,EAAmCA,MAAMnF,QAAN,EAAnC;;;aAIKgJ,YAAT,CAAsB5I,CAAtB,EAAyB;UACnBA,EAAEiJ,OAAF,CAAU7P,MAAV,KAAqB,CAAzB,EAA4B;;;UACxBkB,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8B8G,WAA9B;UACI5O,IAAJ,CAAS8H,MAAT,EAAiB,UAAjB,EAA6B+G,UAA7B;kBACYnJ,CAAZ;;aAGOkJ,WAAT,CAAqBlJ,CAArB,EAAwB;UAChB6B,UAAU7B,EAAEiJ,OAAF,CAAU,CAAV,EAAapH,OAA7B;UACMkH,SAAShE,MAAM2D,YAAN,CAAmBM,qBAAnB,EAAf;YAEM5D,QAAN,CACEO,IAAI9D,OAAJ,EAAakH,OAAO7H,IAApB,EAA0B6H,OAAO5H,KAAjC,EAAwC4D,MAAM2B,KAA9C,EAAqD3B,MAAM4B,KAA3D,CADF;;aAKOwC,UAAT,GAAsB;UAChBhB,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgC8G,WAAhC;UACIf,MAAJ,CAAW/F,MAAX,EAAmB,UAAnB,EAA+B+G,UAA/B;UACIpE,MAAMtF,gBAAV,EAA4B;cACpBA,gBAAN,CAAuB3F,IAAvB,CAA4BiL,KAA5B,EAAmCA,MAAMnF,QAAN,EAAnC;;;WAICD,aAAL;WAEK+I,YAAL,CAAkBrD,WAAlB,CAA8B,OAAKsD,YAAnC;WACKtJ,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKqD,YAAjC;;;;;oCAGc;UACRU,MAAM,CAAC,KAAKxJ,QAAL,KAAkB,KAAK8G,KAAxB,KAAkC,KAAKC,KAAL,GAAa,KAAKD,KAApD,CAAZ;WACKiC,YAAL,CAAkBnI,KAAlB,CAAwB4D,KAAxB,GAAgCgF,MAAM,GAAN,GAAY,GAA5C;;;;;EA5EiC5C;;ICZ/B6C;;8BACQnK,MAAZ,EAAoBC,QAApB,EAA8BmK,IAA9B,EAAoC;;wIAC5BpK,MAD4B,EACpBC,QADoB;QAG5B4F,cAAN;WAEKwE,QAAL,GAAgBjK,SAASC,aAAT,CAAuB,KAAvB,CAAhB;WACKgK,QAAL,CAAczD,SAAd,GAA0BwD,SAAS9N,SAAT,GAAqB,MAArB,GAA8B8N,IAAxD;QAEIhP,IAAJ,CAAS,OAAKiP,QAAd,EAAwB,OAAxB,EAAiC,UAASvJ,CAAT,EAAY;QACzC8I,cAAF;YACMU,IAAN;aACO,KAAP;KAHF;QAMIX,QAAJ,CAAa,OAAKU,QAAlB,EAA4B,QAA5B;WAEKlK,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKkE,QAAjC;;;;;2BAGK;UACD,KAAK/J,UAAT,EAAqB;aACdA,UAAL,CAAgB1F,IAAhB,CAAqB,IAArB;;WAEG8F,QAAL,GAAgB9F,IAAhB,CAAqB,KAAKoF,MAA1B;UACI,KAAKO,gBAAT,EAA2B;aACpBA,gBAAL,CAAsB3F,IAAtB,CAA2B,IAA3B,EAAiC,KAAK8F,QAAL,EAAjC;;;;;EA1B2BX;;ICA3BwK;;2BACQvK,MAAZ,EAAoBC,QAApB,EAA8B;;kIACtBD,MADsB,EACdC,QADc;WAGvBuK,OAAL,GAAe,IAAI5L,KAAJ,CAAU,OAAK8B,QAAL,EAAV,CAAf;WACK+J,MAAL,GAAc,IAAI7L,KAAJ,CAAU,CAAV,CAAd;QAEMiH,cAAN;WAEK1F,UAAL,GAAkBC,SAASC,aAAT,CAAuB,KAAvB,CAAlB;QAEIqK,cAAJ,CAAmB,OAAKvK,UAAxB,EAAoC,KAApC;WAEKwK,UAAL,GAAkBvK,SAASC,aAAT,CAAuB,KAAvB,CAAlB;WACKsK,UAAL,CAAgBnI,SAAhB,GAA4B,UAA5B;WAEKoI,kBAAL,GAA0BxK,SAASC,aAAT,CAAuB,KAAvB,CAA1B;WACKuK,kBAAL,CAAwBpI,SAAxB,GAAoC,kBAApC;WAEKqI,YAAL,GAAoBzK,SAASC,aAAT,CAAuB,KAAvB,CAApB;WACKwK,YAAL,CAAkBrI,SAAlB,GAA8B,YAA9B;WACKsI,mBAAL,GAA2B,YAA3B;WAEKC,UAAL,GAAkB3K,SAASC,aAAT,CAAuB,KAAvB,CAAlB;WACK0K,UAAL,CAAgBvI,SAAhB,GAA4B,UAA5B;WAEKwI,WAAL,GAAmB5K,SAASC,aAAT,CAAuB,KAAvB,CAAnB;WACK2K,WAAL,CAAiBxI,SAAjB,GAA6B,WAA7B;WAEKyE,OAAL,GAAe7G,SAASC,aAAT,CAAuB,OAAvB,CAAf;WACK4G,OAAL,CAAavB,IAAb,GAAoB,MAApB;WACKuF,kBAAL,GAA0B,YAA1B;QAEI7P,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,SAAvB,EAAkC,UAASnG,CAAT,EAAY;UACxCA,EAAE8C,OAAF,KAAc,EAAlB,EAAsB;eACbhJ,IAAP,CAAY,IAAZ;;KAFJ;QAMIQ,IAAJ,CAAS,OAAK6L,OAAd,EAAuB,MAAvB,EAA+BC,MAA/B;QAEI9L,IAAJ,CAAS,OAAKuP,UAAd,EAA0B,WAA1B,EAAuC,YAAkB;UAEpDhB,QADH,CACY,IADZ,EACkB,MADlB,EAEGvO,IAFH,CAEQ8H,MAFR,EAEgB,SAFhB,EAE2B,YAAkB;YACrCgI,WAAJ,CAAgBrF,MAAM8E,UAAtB,EAAkC,MAAlC;OAHJ;KADF;QAQIvP,IAAJ,CAAS,OAAKuP,UAAd,EAA0B,YAA1B,EAAwC,YAAkB;UAErDhB,QADH,CACY,IADZ,EACkB,MADlB,EAEGvO,IAFH,CAEQ8H,MAFR,EAEgB,UAFhB,EAE4B,YAAkB;YACtCgI,WAAJ,CAAgBrF,MAAM8E,UAAtB,EAAkC,MAAlC;OAHJ;KADF;QAQMQ,aAAa/K,SAASC,aAAT,CAAuB,KAAvB,CAAnB;WAEOX,MAAP,CAAc,OAAKiL,UAAL,CAAgBrJ,KAA9B,EAAqC;aAC5B,OAD4B;cAE3B,OAF2B;eAG1B,KAH0B;uBAIlB,MAJkB;iBAKxB;KALb;WAQO5B,MAAP,CAAc,OAAKmL,YAAL,CAAkBvJ,KAAhC,EAAuC;gBAC3B,UAD2B;aAE9B,MAF8B;cAG7B,MAH6B;cAI7B,OAAKwJ,mBAAL,IAA4B,OAAKN,OAAL,CAAazQ,CAAb,GAAiB,GAAjB,GAAuB,MAAvB,GAAgC,MAA5D,CAJ6B;iBAK1B,6BAL0B;oBAMvB,MANuB;cAO7B;KAPV;WAUO2F,MAAP,CAAc,OAAKqL,UAAL,CAAgBzJ,KAA9B,EAAqC;gBACzB,UADyB;aAE5B,MAF4B;cAG3B,KAH2B;mBAItB,gBAJsB;cAK3B;KALV;WAQO5B,MAAP,CAAc,OAAKkL,kBAAL,CAAwBtJ,KAAtC,EAA6C;aACpC,OADoC;cAEnC,OAFmC;cAGnC,gBAHmC;mBAI9B,KAJ8B;eAKlC,cALkC;cAMnC;KANV;WASO5B,MAAP,CAAcyL,WAAW7J,KAAzB,EAAgC;aACvB,MADuB;cAEtB,MAFsB;kBAGlB;KAHd;mBAMe6J,UAAf,EAA2B,KAA3B,EAAkC,eAAlC,EAAmD,MAAnD;WAEOzL,MAAP,CAAc,OAAKsL,WAAL,CAAiB1J,KAA/B,EAAsC;aAC7B,MAD6B;cAE5B,OAF4B;cAG5B,gBAH4B;cAI5B,WAJ4B;gBAK1B,UAL0B;WAM/B,KAN+B;aAO7B;KAPT;gBAUY,OAAK0J,WAAjB;WAEOtL,MAAP,CAAc,OAAKuH,OAAL,CAAa3F,KAA3B,EAAkC;eACvB,MADuB;iBAGrB,QAHqB;aAMzB,MANyB;cAOxB,CAPwB;kBAQpB,MARoB;kBASpB,OAAK2J,kBAAL,GAA0B;KATxC;QAYI7P,IAAJ,CAAS,OAAKwP,kBAAd,EAAkC,WAAlC,EAA+CQ,SAA/C;QACIhQ,IAAJ,CAAS,OAAKwP,kBAAd,EAAkC,YAAlC,EAAgDQ,SAAhD;QAEIhQ,IAAJ,CAAS,OAAKyP,YAAd,EAA4B,WAA5B,EAAyCO,SAAzC;QACIhQ,IAAJ,CAAS,OAAKyP,YAAd,EAA4B,YAA5B,EAA0CO,SAA1C;QAEIhQ,IAAJ,CAAS,OAAK4P,WAAd,EAA2B,WAA3B,EAAwCK,UAAxC;QACIjQ,IAAJ,CAAS,OAAK4P,WAAd,EAA2B,YAA3B,EAAyCK,UAAzC;aAESD,SAAT,CAAmBtK,CAAnB,EAAsB;YACdA,CAAN;UACI1F,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8BoI,KAA9B;UACIlQ,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8BoI,KAA9B;UACIlQ,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4BqI,SAA5B;UACInQ,IAAJ,CAAS8H,MAAT,EAAiB,UAAjB,EAA6BqI,SAA7B;;aAGOF,UAAT,CAAoBvK,CAApB,EAAuB;WAChBA,CAAL;UACI1F,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8BsI,IAA9B;UACIpQ,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8BsI,IAA9B;UACIpQ,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4BuI,QAA5B;UACIrQ,IAAJ,CAAS8H,MAAT,EAAiB,UAAjB,EAA6BuI,QAA7B;;aAGOF,SAAT,GAAqB;UACftC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgCoI,KAAhC;UACIrC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgCoI,KAAhC;UACIrC,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8BqI,SAA9B;UACItC,MAAJ,CAAW/F,MAAX,EAAmB,UAAnB,EAA+BqI,SAA/B;;;aAIOE,QAAT,GAAoB;UACdxC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgCsI,IAAhC;UACIvC,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgCsI,IAAhC;UACIvC,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8BuI,QAA9B;UACIxC,MAAJ,CAAW/F,MAAX,EAAmB,UAAnB,EAA+BuI,QAA/B;;;aAIOvE,MAAT,GAAkB;UACV3L,IAAI+B,UAAU,KAAKqB,KAAf,CAAV;UACIpD,MAAM,KAAV,EAAiB;cACTiP,OAAN,CAAcrR,OAAd,GAAwBoC,CAAxB;cACM2K,QAAN,CAAeL,MAAM2E,OAAN,CAAckB,UAAd,EAAf;OAFF,MAGO;aACA/M,KAAL,GAAakH,MAAM2E,OAAN,CAAcnR,QAAd,EAAb;;;aAIKwP,QAAT,GAAoB;UACdhD,MAAMtF,gBAAV,EAA4B;cACpBA,gBAAN,CAAuB3F,IAAvB,CAA4BiL,KAA5B,EAAmCA,MAAM2E,OAAN,CAAckB,UAAd,EAAnC;;;WAICd,kBAAL,CAAwBzE,WAAxB,CAAoCgF,UAApC;WACKR,UAAL,CAAgBxE,WAAhB,CAA4B,OAAK0E,YAAjC;WACKF,UAAL,CAAgBxE,WAAhB,CAA4B,OAAKyE,kBAAjC;WACKD,UAAL,CAAgBxE,WAAhB,CAA4B,OAAK6E,WAAjC;WACKA,WAAL,CAAiB7E,WAAjB,CAA6B,OAAK4E,UAAlC;WAEK5K,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKc,OAAjC;WACK9G,UAAL,CAAgBgG,WAAhB,CAA4B,OAAKwE,UAAjC;WAEKlK,aAAL;aAES6K,KAAT,CAAexK,CAAf,EAAkB;UACZA,EAAE4E,IAAF,CAAOjB,OAAP,CAAe,OAAf,MAA4B,CAAC,CAAjC,EAAoC;UAAImF,cAAF;;UAEhC+B,YAAY9F,MAAM+E,kBAAN,CAAyBd,qBAAzB,EAAlB;iBAC8BhJ,EAAEiJ,OAAF,IAAajJ,EAAEiJ,OAAF,CAAU,CAAV,CAAd,IAA+BjJ,CAJ5C;UAIR6B,OAJQ,QAIRA,OAJQ;UAICE,OAJD,QAICA,OAJD;UAKZhJ,IAAI,CAAC8I,UAAUgJ,UAAU3J,IAArB,KAA8B2J,UAAU1J,KAAV,GAAkB0J,UAAU3J,IAA1D,CAAR;UACIjI,IAAI,IAAI,CAAC8I,UAAU8I,UAAUzJ,GAArB,KAA6ByJ,UAAUxJ,MAAV,GAAmBwJ,UAAUzJ,GAA1D,CAAZ;UAEInI,IAAI,CAAR,EAAW;YACL,CAAJ;OADF,MAEO,IAAIA,IAAI,CAAR,EAAW;YACZ,CAAJ;;UAGEF,IAAI,CAAR,EAAW;YACL,CAAJ;OADF,MAEO,IAAIA,IAAI,CAAR,EAAW;YACZ,CAAJ;;YAGI2Q,OAAN,CAAczQ,CAAd,GAAkBA,CAAlB;YACMyQ,OAAN,CAAc3Q,CAAd,GAAkBA,CAAlB;YAEMqM,QAAN,CAAeL,MAAM2E,OAAN,CAAckB,UAAd,EAAf;aAGO,KAAP;;aAGOF,IAAT,CAAc1K,CAAd,EAAiB;UACXA,EAAE4E,IAAF,CAAOjB,OAAP,CAAe,OAAf,MAA4B,CAAC,CAAjC,EAAoC;UAAImF,cAAF;;UAEhC+B,YAAY9F,MAAMmF,WAAN,CAAkBlB,qBAAlB,EAAlB;kBACqBhJ,EAAEiJ,OAAF,IAAajJ,EAAEiJ,OAAF,CAAU,CAAV,CAAd,IAA+BjJ,CAJpC;UAIP+B,OAJO,SAIPA,OAJO;UAKXjJ,IAAI,IAAI,CAACiJ,UAAU8I,UAAUzJ,GAArB,KAA6ByJ,UAAUxJ,MAAV,GAAmBwJ,UAAUzJ,GAA1D,CAAZ;UAEItI,IAAI,CAAR,EAAW;YACL,CAAJ;OADF,MAEO,IAAIA,IAAI,CAAR,EAAW;YACZ,CAAJ;;YAGI4Q,OAAN,CAAc5Q,CAAd,GAAkBA,IAAI,GAAtB;YAEMsM,QAAN,CAAeL,MAAM2E,OAAN,CAAckB,UAAd,EAAf;aAEO,KAAP;;;;;;oCAIY;UACRnQ,IAAI+B,UAAU,KAAKoD,QAAL,EAAV,CAAV;UAEInF,MAAM,KAAV,EAAiB;YACXqQ,WAAW,KAAf;eAIOjR,IAAP,CAAYiE,MAAMiB,UAAlB,EAA8B,UAASZ,SAAT,EAAoB;cAC5C,CAACrC,OAAOzB,WAAP,CAAmBI,EAAE0D,SAAF,CAAnB,CAAD,IAAqC,CAACrC,OAAOzB,WAAP,CAAmB,KAAKqP,OAAL,CAAarR,OAAb,CAAqB8F,SAArB,CAAnB,CAAtC,IACF1D,EAAE0D,SAAF,MAAiB,KAAKuL,OAAL,CAAarR,OAAb,CAAqB8F,SAArB,CADnB,EACoD;uBACvC,IAAX;mBACO,EAAP,CAFkD;;SAFtD,EAMG,IANH;YAUI2M,QAAJ,EAAc;iBACLlM,MAAP,CAAc,KAAK8K,OAAL,CAAarR,OAA3B,EAAoCoC,CAApC;;;aAIGmE,MAAP,CAAc,KAAK+K,MAAL,CAAYtR,OAA1B,EAAmC,KAAKqR,OAAL,CAAarR,OAAhD;WAEKsR,MAAL,CAAY9Q,CAAZ,GAAgB,CAAhB;UAEMkS,OAAQ,KAAKrB,OAAL,CAAazQ,CAAb,GAAiB,GAAjB,IAAwB,KAAKyQ,OAAL,CAAa3Q,CAAb,GAAiB,GAA1C,GAAiD,GAAjD,GAAuD,CAApE;UACMiS,QAAQ,MAAMD,IAApB;aAEOnM,MAAP,CAAc,KAAKmL,YAAL,CAAkBvJ,KAAhC,EAAuC;oBACzB,MAAM,KAAKkJ,OAAL,CAAa3Q,CAAnB,GAAuB,CAAvB,GAA2B,IADF;mBAE1B,OAAO,IAAI,KAAK2Q,OAAL,CAAazQ,CAAxB,IAA6B,CAA7B,GAAiC,IAFP;yBAGpB,KAAK0Q,MAAL,CAAYsB,WAAZ,EAHoB;gBAI7B,KAAKjB,mBAAL,GAA2B,MAA3B,GAAoCe,IAApC,GAA2C,GAA3C,GAAiDA,IAAjD,GAAwD,GAAxD,GAA8DA,IAA9D,GAAqE;OAJ/E;WAOKd,UAAL,CAAgBzJ,KAAhB,CAAsB0K,SAAtB,GAAkC,CAAC,IAAI,KAAKxB,OAAL,CAAa5Q,CAAb,GAAiB,GAAtB,IAA6B,GAA7B,GAAmC,IAArE;WAEK6Q,MAAL,CAAY5Q,CAAZ,GAAgB,CAAhB;WACK4Q,MAAL,CAAY1Q,CAAZ,GAAgB,CAAhB;qBAEe,KAAK6Q,kBAApB,EAAwC,MAAxC,EAAgD,MAAhD,EAAwD,KAAKH,MAAL,CAAYsB,WAAZ,EAAxD;WAEK9E,OAAL,CAAatI,KAAb,GAAqB,KAAK6L,OAAL,CAAanR,QAAb,EAArB;aAEOqG,MAAP,CAAc,KAAKuH,OAAL,CAAa3F,KAA3B,EAAkC;yBACf,KAAKkJ,OAAL,CAAauB,WAAb,EADe;eAEzB,SAASF,IAAT,GAAgB,GAAhB,GAAsBA,IAAtB,GAA6B,GAA7B,GAAmCA,IAAnC,GAA0C,GAFjB;oBAGpB,KAAKZ,kBAAL,GAA0B,OAA1B,GAAoCa,KAApC,GAA4C,GAA5C,GAAkDA,KAAlD,GAA0D,GAA1D,GAAgEA,KAAhE,GAAwE;OAHtF;;;;EAlS0B/L;AA0S9B,IAAMkM,UAAU,CAAC,OAAD,EAAU,KAAV,EAAiB,UAAjB,EAA6B,MAA7B,EAAqC,EAArC,CAAhB;AAEA,SAASC,cAAT,CAAwB9K,IAAxB,EAA8BwB,CAA9B,EAAiCjJ,CAAjC,EAAoCD,CAApC,EAAuC;OAChC4H,KAAL,CAAW6K,UAAX,GAAwB,EAAxB;SACOxR,IAAP,CAAYsR,OAAZ,EAAqB,UAASG,MAAT,EAAiB;SAC/B9K,KAAL,CAAW+K,OAAX,IAAsB,iBAAiBD,MAAjB,GAA0B,kBAA1B,GAA+CxJ,CAA/C,GAAmD,IAAnD,GAA0DjJ,CAA1D,GAA8D,OAA9D,GAAwED,CAAxE,GAA4E,UAAlG;GADF;;AAKF,SAAS4S,WAAT,CAAqBlL,IAArB,EAA2B;OACpBE,KAAL,CAAW6K,UAAX,GAAwB,EAAxB;OACK7K,KAAL,CAAW+K,OAAX,IAAsB,oIAAtB;OACK/K,KAAL,CAAW+K,OAAX,IAAsB,iIAAtB;OACK/K,KAAL,CAAW+K,OAAX,IAAsB,4HAAtB;OACK/K,KAAL,CAAW+K,OAAX,IAAsB,6HAAtB;OACK/K,KAAL,CAAW+K,OAAX,IAAsB,yHAAtB;;;ACpUF,IAAME,MAAM;QACJ,cAASC,GAAT,EAAcC,KAAd,EAAqB;QACnBC,MAAMD,SAASrM,QAArB;QACMuM,OAAOD,IAAIrM,aAAJ,CAAkB,MAAlB,CAAb;SACKqF,IAAL,GAAY,UAAZ;SACKkH,GAAL,GAAW,YAAX;SACKjH,IAAL,GAAY6G,GAAZ;QACIK,oBAAJ,CAAyB,MAAzB,EAAiC,CAAjC,EAAoC1G,WAApC,CAAgDwG,IAAhD;GAPQ;UAUF,gBAASG,UAAT,EAAqBL,KAArB,EAA4B;QAC5BC,MAAMD,SAASrM,QAArB;QACM2M,WAAW3M,SAASC,aAAT,CAAuB,OAAvB,CAAjB;aACSqF,IAAT,GAAgB,UAAhB;aACSkB,SAAT,GAAqBkG,UAArB;QACME,OAAON,IAAIG,oBAAJ,CAAyB,MAAzB,EAAiC,CAAjC,CAAb;QACI;WACG1G,WAAL,CAAiB4G,QAAjB;KADF,CAEE,OAAOjM,CAAP,EAAU;;;CAlBhB;;ACbA,IAAMmM,2rBAAN;;ACqBA,IAAMC,oBAAoB,SAApBA,iBAAoB,CAASlN,MAAT,EAAiBC,QAAjB,EAA2B;MAC7CC,eAAeF,OAAOC,QAAP,CAArB;MAGIrD,OAAOJ,OAAP,CAAe3B,UAAU,CAAV,CAAf,KAAgC+B,OAAO5B,QAAP,CAAgBH,UAAU,CAAV,CAAhB,CAApC,EAAmE;WAC1D,IAAIwL,gBAAJ,CAAqBrG,MAArB,EAA6BC,QAA7B,EAAuCpF,UAAU,CAAV,CAAvC,CAAP;;MAIE+B,OAAOO,QAAP,CAAgB+C,YAAhB,CAAJ,EAAmC;QAE7BtD,OAAOO,QAAP,CAAgBtC,UAAU,CAAV,CAAhB,KAAiC+B,OAAOO,QAAP,CAAgBtC,UAAU,CAAV,CAAhB,CAArC,EAAoE;UAE9D+B,OAAOO,QAAP,CAAgBtC,UAAU,CAAV,CAAhB,CAAJ,EAAmC;eAC1B,IAAI0O,sBAAJ,CAA2BvJ,MAA3B,EAAmCC,QAAnC,EACLpF,UAAU,CAAV,CADK,EACSA,UAAU,CAAV,CADT,EACuBA,UAAU,CAAV,CADvB,CAAP;;aAIK,IAAI0O,sBAAJ,CAA2BvJ,MAA3B,EAAmCC,QAAnC,EAA6CpF,UAAU,CAAV,CAA7C,EAA2DA,UAAU,CAAV,CAA3D,CAAP;;QAIE+B,OAAOO,QAAP,CAAgBtC,UAAU,CAAV,CAAhB,CAAJ,EAAmC;aAC1B,IAAI4N,mBAAJ,CAAwBzI,MAAxB,EAAgCC,QAAhC,EACL,EAAE5B,KAAKxD,UAAU,CAAV,CAAP,EAAqByD,KAAKzD,UAAU,CAAV,CAA1B,EAAwC8M,MAAM9M,UAAU,CAAV,CAA9C,EADK,CAAP;;WAGK,IAAI4N,mBAAJ,CAAwBzI,MAAxB,EAAgCC,QAAhC,EAA0C,EAAE5B,KAAKxD,UAAU,CAAV,CAAP,EAAqByD,KAAKzD,UAAU,CAAV,CAA1B,EAA1C,CAAP;;MAGE+B,OAAOC,QAAP,CAAgBqD,YAAhB,CAAJ,EAAmC;WAC1B,IAAI8G,gBAAJ,CAAqBhH,MAArB,EAA6BC,QAA7B,CAAP;;MAGErD,OAAOuQ,UAAP,CAAkBjN,YAAlB,CAAJ,EAAqC;WAC5B,IAAIiK,kBAAJ,CAAuBnK,MAAvB,EAA+BC,QAA/B,EAAyC,EAAzC,CAAP;;MAGErD,OAAOwQ,SAAP,CAAiBlN,YAAjB,CAAJ,EAAoC;WAC3B,IAAI0F,iBAAJ,CAAsB5F,MAAtB,EAA8BC,QAA9B,CAAP;;SAGK,IAAP;CAzCF;;ACRA,SAASoN,qBAAT,CAA+BC,QAA/B,EAAyC;aAC5BA,QAAX,EAAqB,OAAO,EAA5B;;AAGF,8BAAepK,OAAOmK,qBAAP,IACXnK,OAAOqK,2BADI,IAEXrK,OAAOsK,wBAFI,IAGXtK,OAAOuK,sBAHI,IAIXvK,OAAOwK,uBAJI,IAKXL,qBALJ;;ICDMM;yBACU;;SACPC,iBAAL,GAAyBxN,SAASC,aAAT,CAAuB,KAAvB,CAAzB;WACOX,MAAP,CAAc,KAAKkO,iBAAL,CAAuBtM,KAArC,EAA4C;uBACzB,iBADyB;WAErC,CAFqC;YAGpC,CAHoC;eAIjC,MAJiC;cAKlC,MALkC;eAMjC,CANiC;wBAOxB,qBAPwB;kBAQ9B;KARd;QAWIuM,cAAJ,CAAmB,KAAKD,iBAAxB;SACKA,iBAAL,CAAuBtM,KAAvB,CAA6BS,QAA7B,GAAwC,OAAxC;SAEK5B,UAAL,GAAkBC,SAASC,aAAT,CAAuB,KAAvB,CAAlB;WACOX,MAAP,CAAc,KAAKS,UAAL,CAAgBmB,KAA9B,EAAqC;gBACzB,OADyB;eAE1B,MAF0B;cAG3B,MAH2B;eAI1B,CAJ0B;wBAKjB,sDALiB;kBAMvB;KANd;aAUSwM,IAAT,CAAc3H,WAAd,CAA0B,KAAKyH,iBAA/B;aACSE,IAAT,CAAc3H,WAAd,CAA0B,KAAKhG,UAA/B;QAEM0F,QAAQ,IAAd;QACIzK,IAAJ,CAAS,KAAKwS,iBAAd,EAAiC,OAAjC,EAA0C,YAAW;YAC7CG,IAAN;KADF;;;;2BAKK;UACClI,QAAQ,IAAd;WAEK+H,iBAAL,CAAuBtM,KAAvB,CAA6B0M,OAA7B,GAAuC,OAAvC;WAEK7N,UAAL,CAAgBmB,KAAhB,CAAsB0M,OAAtB,GAAgC,OAAhC;WACK7N,UAAL,CAAgBmB,KAAhB,CAAsB2M,OAAtB,GAAgC,CAAhC;WAEK9N,UAAL,CAAgBmB,KAAhB,CAAsB4M,eAAtB,GAAwC,YAAxC;WAEKC,MAAL;aAEOC,KAAP,CAAa,YAAW;cAChBR,iBAAN,CAAwBtM,KAAxB,CAA8B2M,OAA9B,GAAwC,CAAxC;cACM9N,UAAN,CAAiBmB,KAAjB,CAAuB2M,OAAvB,GAAiC,CAAjC;cACM9N,UAAN,CAAiBmB,KAAjB,CAAuB4M,eAAvB,GAAyC,UAAzC;OAHF;;;;2BAUK;UACCrI,QAAQ,IAAd;UAEMkI,OAAO,SAAPA,IAAO,GAAW;cAChB5N,UAAN,CAAiBmB,KAAjB,CAAuB0M,OAAvB,GAAiC,MAAjC;cACMJ,iBAAN,CAAwBtM,KAAxB,CAA8B0M,OAA9B,GAAwC,MAAxC;YAEI/E,MAAJ,CAAWpD,MAAM1F,UAAjB,EAA6B,qBAA7B,EAAoD4N,IAApD;YACI9E,MAAJ,CAAWpD,MAAM1F,UAAjB,EAA6B,eAA7B,EAA8C4N,IAA9C;YACI9E,MAAJ,CAAWpD,MAAM1F,UAAjB,EAA6B,gBAA7B,EAA+C4N,IAA/C;OANF;UASI3S,IAAJ,CAAS,KAAK+E,UAAd,EAA0B,qBAA1B,EAAiD4N,IAAjD;UACI3S,IAAJ,CAAS,KAAK+E,UAAd,EAA0B,eAA1B,EAA2C4N,IAA3C;UACI3S,IAAJ,CAAS,KAAK+E,UAAd,EAA0B,gBAA1B,EAA4C4N,IAA5C;WAEKH,iBAAL,CAAuBtM,KAAvB,CAA6B2M,OAA7B,GAAuC,CAAvC;WAEK9N,UAAL,CAAgBmB,KAAhB,CAAsB2M,OAAtB,GAAgC,CAAhC;WACK9N,UAAL,CAAgBmB,KAAhB,CAAsB4M,eAAtB,GAAwC,YAAxC;;;;6BAGO;WACF/N,UAAL,CAAgBmB,KAAhB,CAAsBU,IAAtB,GAA6BkB,OAAOmL,UAAP,GAAoB,CAApB,GAAwBlN,IAAImN,QAAJ,CAAa,KAAKnO,UAAlB,IAAgC,CAAxD,GAA4D,IAAzF;WACKA,UAAL,CAAgBmB,KAAhB,CAAsBY,GAAtB,GAA4BgB,OAAOqL,WAAP,GAAqB,CAArB,GAAyBpN,IAAIqN,SAAJ,CAAc,KAAKrO,UAAnB,IAAiC,CAA1D,GAA8D,IAA1F;;;;;;;;ACtEJoM,IAAIkC,MAAJ,CAAWC,UAAX;AAGA,IAAMC,gBAAgB,IAAtB;AAEA,IAAMC,gBAAgB,EAAtB;AAGA,IAAMC,sBAAsB,EAA5B;AAEA,IAAMC,8BAA8B,SAApC;AAEA,IAAMC,yBAA0B,YAAW;MACrC;WACK,CAAC,CAAC7L,OAAO8L,YAAhB;GADF,CAEE,OAAOlO,CAAP,EAAU;WACH,KAAP;;CAJ4B,EAAhC;AAQA,IAAImO,sBAAJ;AAGA,IAAIC,kBAAkB,IAAtB;AAGA,IAAIC,2BAAJ;AAGA,IAAIpB,OAAO,KAAX;AAGA,IAAMqB,eAAe,EAArB;AA2BA,IAAMC,MAAM,SAANA,GAAM,CAAShN,IAAT,EAAe;MACnBwD,QAAQ,IAAd;MAEItD,SAASF,QAAQ,EAArB;OAMKlC,UAAL,GAAkBC,SAASC,aAAT,CAAuB,KAAvB,CAAlB;OACKiP,IAAL,GAAYlP,SAASC,aAAT,CAAuB,IAAvB,CAAZ;OACKF,UAAL,CAAgBgG,WAAhB,CAA4B,KAAKmJ,IAAjC;MAEI3F,QAAJ,CAAa,KAAKxJ,UAAlB,EAA8BwO,aAA9B;OAMKY,SAAL,GAAiB,EAAjB;OAEKC,aAAL,GAAqB,EAArB;OAMKC,mBAAL,GAA2B,EAA3B;OAoBKC,sCAAL,GAA8C,EAA9C;OAEKC,WAAL,GAAmB,EAAnB;WAGS/S,OAAO2G,QAAP,CAAgBhB,MAAhB,EAAwB;gBACnB,KADmB;eAEpB,IAFoB;WAGxB8M,IAAIO;GAHJ,CAAT;WAMShT,OAAO2G,QAAP,CAAgBhB,MAAhB,EAAwB;eACpBA,OAAOsN,SADa;cAErBtN,OAAOsN;GAFV,CAAT;MAKI,CAACjT,OAAOzB,WAAP,CAAmBoH,OAAOuN,IAA1B,CAAL,EAAsC;QAEhCvN,OAAOwN,MAAX,EAAmB;aACVD,IAAP,CAAYC,MAAZ,GAAqBxN,OAAOwN,MAA5B;;GAHJ,MAKO;WACED,IAAP,GAAc,EAAEC,QAAQjB,2BAAV,EAAd;;MAGElS,OAAOzB,WAAP,CAAmBoH,OAAOyN,MAA1B,KAAqCzN,OAAO0N,QAAhD,EAA0D;iBAC3CvL,IAAb,CAAkB,IAAlB;;SAIKwL,SAAP,GAAmBtT,OAAOzB,WAAP,CAAmBoH,OAAOyN,MAA1B,KAAqCzN,OAAO2N,SAA/D;MAEI3N,OAAOsN,SAAP,IAAoBjT,OAAOzB,WAAP,CAAmBoH,OAAO4N,UAA1B,CAAxB,EAA+D;WACtDA,UAAP,GAAoB,IAApB;;MAMEC,kBACFrB,0BACAC,aAAaqB,OAAb,CAAqBC,oBAAoB,IAApB,EAA0B,SAA1B,CAArB,MAA+D,MAFjE;MAIIC,2BAAJ;MACIC,iBAAJ;SAEOC,gBAAP,CAAwB,IAAxB;;YAOY;WACD,kBAAW;eACPlO,OAAOyN,MAAd;;KAPN;gBAWc;WACL,kBAAW;eACPzN,OAAO4N,UAAd;;KAbN;eAqBa;WACJ,kBAAW;eACP5N,OAAOsN,SAAd;;KAvBN;gBA+Bc;WACL,kBAAW;eACPtN,OAAOmO,UAAd;;KAjCN;YAyCU;WACD,kBAAW;YACV7K,MAAMmK,MAAV,EAAkB;iBACTnK,MAAM8K,OAAN,GAAgBZ,MAAvB;;eAGKxN,OAAOuN,IAAP,CAAYC,MAAnB;OANI;WASD,gBAAShW,CAAT,EAAY;YACX8L,MAAMmK,MAAV,EAAkB;gBACVW,OAAN,GAAgBZ,MAAhB,GAAyBhW,CAAzB;SADF,MAEO;iBACE+V,IAAP,CAAYC,MAAZ,GAAqBhW,CAArB;;6BAEmB,IAArB;cACM6W,MAAN;;KAzDN;WAiES;WACA,kBAAW;eACPrO,OAAO2C,KAAd;OAFG;WAIA,gBAASnL,CAAT,EAAY;eACRmL,KAAP,GAAenL,CAAf;iBACS8L,KAAT,EAAgB9L,CAAhB;;KAvEN;UAgFQ;WACC,kBAAW;eACPwI,OAAOsO,IAAd;OAFE;WAIC,gBAAS9W,CAAT,EAAY;eAER8W,IAAP,GAAc9W,CAAd;YACIyW,QAAJ,EAAc;mBACH5J,SAAT,GAAqBrE,OAAOsO,IAA5B;;;KAxFR;YAiGU;WACD,kBAAW;eACPtO,OAAOuO,MAAd;OAFI;WAID,gBAAS/W,CAAT,EAAY;eACR+W,MAAP,GAAgB/W,CAAhB;YACIwI,OAAOuO,MAAX,EAAmB;cACbnH,QAAJ,CAAa9D,MAAMyJ,IAAnB,EAAyBD,IAAI0B,YAA7B;SADF,MAEO;cACD7F,WAAJ,CAAgBrF,MAAMyJ,IAAtB,EAA4BD,IAAI0B,YAAhC;;aAKGC,QAAL;YAEInL,MAAMoL,aAAV,EAAyB;gBACjBA,aAAN,CAAoBrK,SAApB,GAAgC7M,IAAIsV,IAAI6B,SAAR,GAAoB7B,IAAI8B,WAAxD;;;KAlHR;UA2HQ;WACC,kBAAW;eACP5O,OAAOuN,IAAd;;KA7HN;qBAsImB;WAEV,kBAAW;eACPM,eAAP;OAHa;WAKV,gBAASlM,IAAT,EAAe;YACd6K,sBAAJ,EAA4B;4BACR7K,IAAlB;cACIA,IAAJ,EAAU;gBACJ9I,IAAJ,CAAS8H,MAAT,EAAiB,QAAjB,EAA2BqN,kBAA3B;WADF,MAEO;gBACDtH,MAAJ,CAAW/F,MAAX,EAAmB,QAAnB,EAA6BqN,kBAA7B;;uBAEWa,OAAb,CAAqBd,oBAAoBzK,KAApB,EAA2B,SAA3B,CAArB,EAA4D3B,IAA5D;;;;GArJV;MA4JItH,OAAOzB,WAAP,CAAmBoH,OAAOyN,MAA1B,CAAJ,EAAuC;SAChCc,MAAL,GAAcvO,OAAOuO,MAAP,IAAiB,KAA/B;QAEInH,QAAJ,CAAa,KAAKxJ,UAAlB,EAA8BkP,IAAIgC,UAAlC;QACI3G,cAAJ,CAAmB,KAAKvK,UAAxB,EAAoC,KAApC;QAGI4O,sBAAJ,EAA4B;UACtBqB,eAAJ,EAAqB;cACbA,eAAN,GAAwB,IAAxB;YAEMkB,WAAWtC,aAAaqB,OAAb,CAAqBC,oBAAoB,IAApB,EAA0B,KAA1B,CAArB,CAAjB;YAEIgB,QAAJ,EAAc;iBACLxB,IAAP,GAAcyB,KAAKC,KAAL,CAAWF,QAAX,CAAd;;;;SAKDL,aAAL,GAAqB7Q,SAASC,aAAT,CAAuB,KAAvB,CAArB;SACK4Q,aAAL,CAAmBrK,SAAnB,GAA+ByI,IAAI8B,WAAnC;QACIxH,QAAJ,CAAa,KAAKsH,aAAlB,EAAiC5B,IAAIoC,kBAArC;QACIlP,OAAOmO,UAAX,EAAuB;UACjB/G,QAAJ,CAAa,KAAKsH,aAAlB,EAAiC5B,IAAIqC,eAArC;WACKvR,UAAL,CAAgBwR,YAAhB,CAA6B,KAAKV,aAAlC,EAAiD,KAAK9Q,UAAL,CAAgByR,UAAhB,CAA2B,CAA3B,CAAjD;KAFF,MAGO;UACDjI,QAAJ,CAAa,KAAKsH,aAAlB,EAAiC5B,IAAIwC,kBAArC;WACK1R,UAAL,CAAgBgG,WAAhB,CAA4B,KAAK8K,aAAjC;;QAGE7V,IAAJ,CAAS,KAAK6V,aAAd,EAA6B,OAA7B,EAAsC,YAAW;YACzCH,MAAN,GAAe,CAACjL,MAAMiL,MAAtB;KADF;GA9BF,MAkCO;QACDvO,OAAOuO,MAAP,KAAkBxU,SAAtB,EAAiC;aACxBwU,MAAP,GAAgB,IAAhB;;QAGIgB,eAAe1R,SAAS2R,cAAT,CAAwBxP,OAAOsO,IAA/B,CAArB;QACIlH,QAAJ,CAAamI,YAAb,EAA2B,iBAA3B;eAEWE,OAAOnM,KAAP,EAAciM,YAAd,CAAX;QAEMG,eAAe,SAAfA,YAAe,CAASnR,CAAT,EAAY;QAC7B8I,cAAF;YACMkH,MAAN,GAAe,CAACjL,MAAMiL,MAAtB;aACO,KAAP;KAHF;QAMInH,QAAJ,CAAa,KAAK2F,IAAlB,EAAwBD,IAAI0B,YAA5B;QAEIpH,QAAJ,CAAa6G,QAAb,EAAuB,OAAvB;QACIpV,IAAJ,CAASoV,QAAT,EAAmB,OAAnB,EAA4ByB,YAA5B;QAEI,CAAC1P,OAAOuO,MAAZ,EAAoB;WACbA,MAAL,GAAc,KAAd;;;MAIAvO,OAAOsN,SAAX,EAAsB;QAChBjT,OAAOzB,WAAP,CAAmBoH,OAAOyN,MAA1B,CAAJ,EAAuC;UACjCd,eAAJ,EAAqB;6BACE9O,SAASC,aAAT,CAAuB,KAAvB,CAArB;YACIsJ,QAAJ,CAAawF,kBAAb,EAAiCR,aAAjC;YACIhF,QAAJ,CAAawF,kBAAb,EAAiCE,IAAI6C,0BAArC;iBACSpE,IAAT,CAAc3H,WAAd,CAA0BgJ,kBAA1B;0BACkB,KAAlB;;yBAIiBhJ,WAAnB,CAA+B,KAAKhG,UAApC;UAGIwJ,QAAJ,CAAa,KAAKxJ,UAAlB,EAA8BkP,IAAI8C,gBAAlC;;QAKE,CAAC,KAAKnC,MAAV,EAAkB;eACPnK,KAAT,EAAgBtD,OAAO2C,KAAvB;;;OAICkN,eAAL,GAAuB,YAAW;UAC1BC,iBAAN;GADF;MAIIjX,IAAJ,CAAS8H,MAAT,EAAiB,QAAjB,EAA2B,KAAKkP,eAAhC;MACIhX,IAAJ,CAAS,KAAKkU,IAAd,EAAoB,qBAApB,EAA2C,KAAK8C,eAAhD;MACIhX,IAAJ,CAAS,KAAKkU,IAAd,EAAoB,eAApB,EAAqC,KAAK8C,eAA1C;MACIhX,IAAJ,CAAS,KAAKkU,IAAd,EAAoB,gBAApB,EAAsC,KAAK8C,eAA3C;OACKpB,QAAL;MAEIzO,OAAO2N,SAAX,EAAsB;oBACJ,IAAhB;;uBAGmB,8BAAW;QAC1BnB,0BAA0BC,aAAaqB,OAAb,CAAqBC,oBAAoBzK,KAApB,EAA2B,SAA3B,CAArB,MAAgE,MAA9F,EAAsG;mBACvFuL,OAAb,CAAqBd,oBAAoBzK,KAApB,EAA2B,KAA3B,CAArB,EAAwD0L,KAAKe,SAAL,CAAezM,MAAM0M,aAAN,EAAf,CAAxD;;GAFJ;OAOKC,4BAAL,GAAoCjC,kBAApC;WAESkC,UAAT,GAAsB;QACdC,OAAO7M,MAAM8K,OAAN,EAAb;SACKzL,KAAL,IAAc,CAAd;WACOkJ,KAAP,CAAa,YAAW;WACjBlJ,KAAL,IAAc,CAAd;KADF;;MAKE,CAAC3C,OAAOyN,MAAZ,EAAoB;;;CA5WtB;AAiXAX,IAAIsD,UAAJ,GAAiB,YAAW;SACnB,CAAC5E,IAAR;SACOpT,IAAP,CAAYyU,YAAZ,EAA0B,UAASwD,GAAT,EAAc;QAClCzS,UAAJ,CAAemB,KAAf,CAAqB0M,OAArB,GAA+BD,OAAO,MAAP,GAAgB,EAA/C;GADF;CAFF;AAOAsB,IAAI8C,gBAAJ,GAAuB,GAAvB;AACA9C,IAAI6C,0BAAJ,GAAiC,IAAjC;AACA7C,IAAIgC,UAAJ,GAAiB,MAAjB;AACAhC,IAAIwD,oBAAJ,GAA2B,IAA3B;AACAxD,IAAIyD,cAAJ,GAAqB,oBAArB;AACAzD,IAAI0B,YAAJ,GAAmB,QAAnB;AACA1B,IAAIoC,kBAAJ,GAAyB,cAAzB;AACApC,IAAIqC,eAAJ,GAAsB,WAAtB;AACArC,IAAIwC,kBAAJ,GAAyB,cAAzB;AACAxC,IAAI0D,UAAJ,GAAiB,MAAjB;AAEA1D,IAAIO,aAAJ,GAAoB,GAApB;AACAP,IAAI8B,WAAJ,GAAkB,gBAAlB;AACA9B,IAAI6B,SAAJ,GAAgB,eAAhB;AAEA7B,IAAI2D,eAAJ,GAAsB,UAASlS,CAAT,EAAY;MAC5BV,SAASqF,aAAT,CAAuBC,IAAvB,KAAgC,MAAhC,KACD5E,EAAEmS,KAAF,KAAYrE,aAAZ,IAA6B9N,EAAE8C,OAAF,KAAcgL,aAD1C,CAAJ,EAC8D;QACxD+D,UAAJ;;CAHJ;AAMAxR,IAAI/F,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4BmM,IAAI2D,eAAhC,EAAiD,KAAjD;AAEApW,OAAO8C,MAAP,CACE2P,IAAIhV,SADN;AAIE;OAyBO,aAAS2F,MAAT,EAAiBC,QAAjB,EAA2B;WACvBiT,KACL,IADK,EAELlT,MAFK,EAGLC,QAHK,EAIL;mBACe7F,MAAMC,SAAN,CAAgBG,KAAhB,CAAsBI,IAAtB,CAA2BC,SAA3B,EAAsC,CAAtC;KALV,CAAP;GA1BJ;YAwDY,kBAASmF,MAAT,EAAiBC,QAAjB,EAA2B;WAC5BiT,KACL,IADK,EAELlT,MAFK,EAGLC,QAHK,EAIL;aACS;KALJ,CAAP;GAzDJ;UAwEU,gBAASkT,UAAT,EAAqB;SAEtB7D,IAAL,CAAU8D,WAAV,CAAsBD,WAAWE,IAAjC;SACK7D,aAAL,CAAmBzK,MAAnB,CAA0B,KAAKyK,aAAL,CAAmB/K,OAAnB,CAA2B0O,UAA3B,CAA1B,EAAkE,CAAlE;QACMtN,QAAQ,IAAd;WACOuI,KAAP,CAAa,YAAW;YAChB4C,QAAN;KADF;GA7EJ;WAuFW,mBAAW;QACd,KAAKhB,MAAT,EAAiB;YACT,IAAInR,KAAJ,CACJ,0DACA,uDAFI,CAAN;;QAME,KAAKgR,SAAT,EAAoB;yBACCuD,WAAnB,CAA+B,KAAKjT,UAApC;;QAGI0F,QAAQ,IAAd;WACOlL,IAAP,CAAY,KAAK4U,SAAjB,EAA4B,UAAS+D,SAAT,EAAoB;YACxCC,YAAN,CAAmBD,SAAnB;KADF;QAIIrK,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8BmM,IAAI2D,eAAlC,EAAmD,KAAnD;oBAEgB,IAAhB;GA1GJ;aAqHa,mBAASnC,IAAT,EAAe;QAGpB,KAAKtB,SAAL,CAAesB,IAAf,MAAyBvU,SAA7B,EAAwC;YAChC,IAAIuC,KAAJ,CAAU,iDACd,SADc,GACFgS,IADE,GACK,GADf,CAAN;;QAII2C,eAAe,EAAE3C,MAAMA,IAAR,EAAcb,QAAQ,IAAtB,EAArB;iBAKaH,SAAb,GAAyB,KAAKA,SAA9B;QAGI,KAAKC,IAAL;SACGA,IAAL,CAAU2D,OADR;SAEG3D,IAAL,CAAU2D,OAAV,CAAkB5C,IAAlB,CAFF,EAE2B;mBAEZC,MAAb,GAAsB,KAAKhB,IAAL,CAAU2D,OAAV,CAAkB5C,IAAlB,EAAwBC,MAA9C;mBAGahB,IAAb,GAAoB,KAAKA,IAAL,CAAU2D,OAAV,CAAkB5C,IAAlB,CAApB;;QAGI+B,MAAM,IAAIvD,GAAJ,CAAQmE,YAAR,CAAZ;SACKjE,SAAL,CAAesB,IAAf,IAAuB+B,GAAvB;QAEMc,KAAK1B,OAAO,IAAP,EAAaY,IAAIzS,UAAjB,CAAX;QACIwJ,QAAJ,CAAa+J,EAAb,EAAiB,QAAjB;WACOd,GAAP;GApJJ;gBA4JgB,sBAASe,MAAT,EAAiB;SACxBrE,IAAL,CAAU8D,WAAV,CAAsBO,OAAOxT,UAAP,CAAkByT,aAAxC;WAEO,KAAKrE,SAAL,CAAeoE,OAAO9C,IAAtB,CAAP;QAGI,KAAKf,IAAL;SACGA,IAAL,CAAU2D,OADR;SAEG3D,IAAL,CAAU2D,OAAV,CAAkBE,OAAO9C,IAAzB,CAFF,EAEkC;aACzB,KAAKf,IAAL,CAAU2D,OAAV,CAAkBE,OAAO9C,IAAzB,CAAP;;oBAGc8C,MAAhB;QAEM9N,QAAQ,IAAd;WAEOlL,IAAP,CAAYgZ,OAAOpE,SAAnB,EAA8B,UAAS+D,SAAT,EAAoB;aACzCC,YAAP,CAAoBD,SAApB;KADF;WAIOlF,KAAP,CAAa,YAAW;YAChB4C,QAAN;KADF;GAhLJ;QAwLQ,gBAAW;SACVF,MAAL,GAAc,KAAd;GAzLJ;SA+LS,iBAAW;SACXA,MAAL,GAAc,IAAd;GAhMJ;QAsMQ,gBAAW;SACV3Q,UAAL,CAAgBmB,KAAhB,CAAsB0M,OAAtB,GAAgC,MAAhC;GAvMJ;QA6MQ,gBAAW;SACV7N,UAAL,CAAgBmB,KAAhB,CAAsB0M,OAAtB,GAAgC,EAAhC;GA9MJ;YAkNY,oBAAW;QAEb0E,OAAO,KAAK/B,OAAL,EAAb;QACI+B,KAAKvC,UAAT,EAAqB;UACbjO,MAAMf,IAAI0S,SAAJ,CAAcnB,KAAKpD,IAAnB,EAAyBpN,GAArC;UACItI,IAAI,CAAR;aAEOe,IAAP,CAAY+X,KAAKpD,IAAL,CAAUsC,UAAtB,EAAkC,UAASkC,IAAT,EAAe;YAC3C,EAAEpB,KAAK7C,SAAL,IAAkBiE,SAASpB,KAAKqB,UAAlC,CAAJ,EAAmD;eAC5C5S,IAAIqN,SAAJ,CAAcsF,IAAd,CAAL;;OAFJ;UAMI5Q,OAAOqL,WAAP,GAAqBrM,GAArB,GAA2B2M,mBAA3B,GAAiDjV,CAArD,EAAwD;YAClD+P,QAAJ,CAAa+I,KAAKvS,UAAlB,EAA8BkP,IAAIyD,cAAlC;aACKxD,IAAL,CAAUhO,KAAV,CAAgB6D,MAAhB,GAAyBjC,OAAOqL,WAAP,GAAqBrM,GAArB,GAA2B2M,mBAA3B,GAAiD,IAA1E;OAFF,MAGO;YACD3D,WAAJ,CAAgBwH,KAAKvS,UAArB,EAAiCkP,IAAIyD,cAArC;aACKxD,IAAL,CAAUhO,KAAV,CAAgB6D,MAAhB,GAAyB,MAAzB;;;QAIAuN,KAAKsB,eAAT,EAA0B;aACjB5F,KAAP,CAAa,YAAW;aACjB4F,eAAL,CAAqB1S,KAArB,CAA2B6D,MAA3B,GAAoCuN,KAAKpD,IAAL,CAAU2E,YAAV,GAAyB,IAA7D;OADF;;QAKEvB,KAAKzB,aAAT,EAAwB;WACjBA,aAAL,CAAmB3P,KAAnB,CAAyB4D,KAAzB,GAAiCwN,KAAKxN,KAAL,GAAa,IAA9C;;GA/ON;qBAmPqBtI,OAAOsX,QAAP,CAAgB,YAAW;SAAOlD,QAAL;GAA7B,EAAiD,EAAjD,CAnPrB;YA+PY,oBAAW;QACfpU,OAAOzB,WAAP,CAAmB8T,aAAnB,CAAJ,EAAuC;sBACrB,IAAItB,WAAJ,EAAhB;oBACcxN,UAAd,CAAyByG,SAAzB,GAAqCuN,kBAArC;;QAGE,KAAKnE,MAAT,EAAiB;YACT,IAAInR,KAAJ,CAAU,gDAAV,CAAN;;QAGIgH,QAAQ,IAAd;WAEOlL,IAAP,CAAYP,MAAMC,SAAN,CAAgBG,KAAhB,CAAsBI,IAAtB,CAA2BC,SAA3B,CAAZ,EAAmD,UAASmF,MAAT,EAAiB;UAC9D6F,MAAM4J,mBAAN,CAA0BvV,MAA1B,KAAqC,CAAzC,EAA4C;oBAC9B2L,KAAZ;;UAEEA,MAAM4J,mBAAN,CAA0BhL,OAA1B,CAAkCzE,MAAlC,MAA8C,CAAC,CAAnD,EAAsD;cAC9CyP,mBAAN,CAA0B/K,IAA1B,CAA+B1E,MAA/B;;KALJ;QASI,KAAK6P,SAAT,EAAoB;eAET,IAAT,EAAe,KAAK3K,KAApB;;GAtRN;WA8RW,mBAAW;QACd0N,MAAM,IAAV;WACOA,IAAI5C,MAAX,EAAmB;YACX4C,IAAI5C,MAAV;;WAEK4C,GAAP;GAnSJ;iBA2SiB,yBAAW;QAClBvV,WAAW,KAAKyS,IAAtB;aACSgB,MAAT,GAAkB,KAAKA,MAAvB;QAGI,KAAKrB,mBAAL,CAAyBvV,MAAzB,GAAkC,CAAtC,EAAyC;eAC9B6V,MAAT,GAAkB,KAAKA,MAAvB;UAEI,CAAC1S,SAAS+W,UAAd,EAA0B;iBACfA,UAAT,GAAsB,EAAtB;;eAGOA,UAAT,CAAoB,KAAKrE,MAAzB,IAAmCsE,iBAAiB,IAAjB,CAAnC;;aAGOZ,OAAT,GAAmB,EAAnB;WACO9Y,IAAP,CAAY,KAAK4U,SAAjB,EAA4B,UAAS7I,OAAT,EAAkBxL,GAAlB,EAAuB;eACxCuY,OAAT,CAAiBvY,GAAjB,IAAwBwL,QAAQ6L,aAAR,EAAxB;KADF;WAIOlV,QAAP;GA/TJ;QAkUQ,gBAAW;QACX,CAAC,KAAKyS,IAAL,CAAUsE,UAAf,EAA2B;WACpBtE,IAAL,CAAUsE,UAAV,GAAuB,EAAvB;;SAGGtE,IAAL,CAAUsE,UAAV,CAAqB,KAAKrE,MAA1B,IAAoCsE,iBAAiB,IAAjB,CAApC;uBACmB,IAAnB,EAAyB,KAAzB;SACK7B,4BAAL;GAzUJ;UA4UU,gBAAS8B,UAAT,EAAqB;QACvB,CAAC,KAAKxE,IAAL,CAAUsE,UAAf,EAA2B;WAEpBtE,IAAL,CAAUsE,UAAV,GAAuB,EAAvB;WACKtE,IAAL,CAAUsE,UAAV,CAAqBtF,2BAArB,IAAoDuF,iBAAiB,IAAjB,EAAuB,IAAvB,CAApD;;SAGGvE,IAAL,CAAUsE,UAAV,CAAqBE,UAArB,IAAmCD,iBAAiB,IAAjB,CAAnC;SACKtE,MAAL,GAAcuE,UAAd;oBACgB,IAAhB,EAAsBA,UAAtB,EAAkC,IAAlC;SACK9B,4BAAL;GAtVJ;UAyVU,gBAASI,GAAT,EAAc;WACbjY,IAAP,CAAY,KAAK6U,aAAjB,EAAgC,UAAS2D,UAAT,EAAqB;UAE/C,CAAC,KAAKxC,OAAL,GAAeb,IAAf,CAAoBsE,UAAzB,EAAqC;mBACxBlO,QAAX,CAAoBiN,WAAWjT,YAA/B;OADF,MAEO;yBACY0S,OAAO,KAAKjC,OAAL,EAAxB,EAAwCwC,UAAxC;;UAIEA,WAAW5S,gBAAf,EAAiC;mBACpBA,gBAAX,CAA4B3F,IAA5B,CAAiCuY,UAAjC,EAA6CA,WAAWzS,QAAX,EAA7C;;KAVJ,EAYG,IAZH;WAcO/F,IAAP,CAAY,KAAK4U,SAAjB,EAA4B,UAASoE,MAAT,EAAiB;aACpC/C,MAAP,CAAc+C,MAAd;KADF;QAII,CAACf,GAAL,EAAU;yBACW,KAAKjC,OAAL,EAAnB,EAAmC,KAAnC;;GA7WN;UAiXU,gBAASwC,UAAT,EAAqB;QACrB/P,OAAO,KAAKuM,WAAL,CAAiBzV,MAAjB,KAA4B,CAAzC;SACKyV,WAAL,CAAiBjL,IAAjB,CAAsByO,UAAtB;QACI/P,IAAJ,EAAU;qBACO,KAAKuM,WAApB;;GArXN;iBAyXiB,yBAAW;WACjBhV,IAAP,CAAY,KAAK6U,aAAjB,EAAgC,UAAS2D,UAAT,EAAqB;iBACxC1S,aAAX;KADF;WAGO9F,IAAP,CAAY,KAAK4U,SAAjB,EAA4B,UAASoE,MAAT,EAAiB;aACpClT,aAAP;KADF;;CAjYN;AAiZA,SAASuR,MAAT,CAAgBY,GAAhB,EAAqB2B,MAArB,EAA6BC,QAA7B,EAAuC;MAC/Bd,KAAKtT,SAASC,aAAT,CAAuB,IAAvB,CAAX;MACIkU,MAAJ,EAAY;OACPpO,WAAH,CAAeoO,MAAf;;MAGEC,QAAJ,EAAc;QACRlF,IAAJ,CAASqC,YAAT,CAAsB+B,EAAtB,EAA0Bc,QAA1B;GADF,MAEO;QACDlF,IAAJ,CAASnJ,WAAT,CAAqBuN,EAArB;;MAEE1C,QAAJ;SACO0C,EAAP;;AAGF,SAASe,eAAT,CAAyB7B,GAAzB,EAA8B;MACxB3J,MAAJ,CAAW/F,MAAX,EAAmB,QAAnB,EAA6B0P,IAAIR,eAAjC;MAEIQ,IAAIJ,4BAAR,EAAsC;QAChCvJ,MAAJ,CAAW/F,MAAX,EAAmB,QAAnB,EAA6B0P,IAAIJ,4BAAjC;;;AAIJ,SAASkC,kBAAT,CAA4B9B,GAA5B,EAAiC+B,QAAjC,EAA2C;MACnChO,MAAMiM,IAAIgC,eAAJ,CAAoBhC,IAAIgC,eAAJ,CAAoB9N,aAAxC,CAAZ;MAEI6N,QAAJ,EAAc;QACR/N,SAAJ,GAAgBD,IAAIhI,KAAJ,GAAY,GAA5B;GADF,MAEO;QACDiI,SAAJ,GAAgBD,IAAIhI,KAApB;;;AAIJ,SAASkW,iBAAT,CAA2BjC,GAA3B,EAAgCc,EAAhC,EAAoCP,UAApC,EAAgD;aACnCE,IAAX,GAAkBK,EAAlB;aACWoB,KAAX,GAAmBlC,GAAnB;SAEOlT,MAAP,CAAcyT,UAAd,EAA6D;aAKlD,iBAAS5M,QAAT,EAAkB;UACrB1L,UAAUX,MAAV,GAAmB,CAAvB,EAA0B;YAClB6a,cAAc5B,WAAWE,IAAX,CAAgB2B,kBAApC;mBACWC,MAAX;eAEO/B,KACLN,GADK,EAELO,WAAWnT,MAFN,EAGLmT,WAAWlT,QAHN,EAIL;kBACU8U,WADV;uBAEe,CAACnY,OAAOP,OAAP,CAAexB,SAAf,CAAD;SANV,CAAP;;UAWE+B,OAAOJ,OAAP,CAAe+J,QAAf,KAA2B3J,OAAO5B,QAAP,CAAgBuL,QAAhB,CAA/B,EAAyD;YACjDwO,eAAc5B,WAAWE,IAAX,CAAgB2B,kBAApC;mBACWC,MAAX;eAEO/B,KACLN,GADK,EAELO,WAAWnT,MAFN,EAGLmT,WAAWlT,QAHN,EAIL;kBACU8U,YADV;uBAEe,CAACxO,QAAD;SANV,CAAP;;KAzBuD;UA0CrD,cAASsK,KAAT,EAAe;iBACRwC,IAAX,CAAgB6B,iBAAhB,CAAkCA,iBAAlC,CAAoDtO,SAApD,GAAgEiK,KAAhE;aACOsC,UAAP;KA5CyD;YAmDnD,kBAAW;iBACN2B,KAAX,CAAiBK,MAAjB,CAAwBhC,UAAxB;aACOA,UAAP;KArDyD;YA4DnD,kBAAW;iBACN2B,KAAX,CAAiBG,MAAjB,CAAwB9B,UAAxB;aACOA,UAAP;;GA9DJ;MAmEIA,sBAAsB5J,sBAA1B,EAAkD;QAC1C6L,MAAM,IAAI3M,mBAAJ,CAAwB0K,WAAWnT,MAAnC,EAA2CmT,WAAWlT,QAAtD,EACV,EAAE5B,KAAK8U,WAAW3L,KAAlB,EAAyBlJ,KAAK6U,WAAW1L,KAAzC,EAAgDE,MAAMwL,WAAWzL,MAAjE,EADU,CAAZ;WAGO/M,IAAP,CAAY,CAAC,eAAD,EAAkB,UAAlB,EAA8B,gBAA9B,EAAgD,MAAhD,EAAwD,KAAxD,EAA+D,KAA/D,CAAZ,EAAmF,UAAS0a,MAAT,EAAiB;UAC5FC,KAAKnC,WAAWkC,MAAX,CAAX;UACME,KAAKH,IAAIC,MAAJ,CAAX;iBACWA,MAAX,IAAqBD,IAAIC,MAAJ,IAAc,YAAW;YACtC/Z,OAAOlB,MAAMC,SAAN,CAAgBG,KAAhB,CAAsBI,IAAtB,CAA2BC,SAA3B,CAAb;WACGW,KAAH,CAAS4Z,GAAT,EAAc9Z,IAAd;eACOga,GAAG9Z,KAAH,CAAS2X,UAAT,EAAqB7X,IAArB,CAAP;OAHF;KAHF;QAUIqO,QAAJ,CAAa+J,EAAb,EAAiB,YAAjB;eACWvT,UAAX,CAAsBwR,YAAtB,CAAmCyD,IAAIjV,UAAvC,EAAmDgT,WAAWhT,UAAX,CAAsB+U,iBAAzE;GAfF,MAgBO,IAAI/B,sBAAsB1K,mBAA1B,EAA+C;QAC9CnP,IAAI,SAAJA,CAAI,CAASkc,QAAT,EAAmB;UAEvB5Y,OAAOO,QAAP,CAAgBgW,WAAW3L,KAA3B,KAAqC5K,OAAOO,QAAP,CAAgBgW,WAAW1L,KAA3B,CAAzC,EAA4E;YAIpEgO,UAAUtC,WAAWE,IAAX,CAAgB6B,iBAAhB,CAAkCA,iBAAlC,CAAoDtO,SAApE;YACM8O,eAAevC,WAAW2B,KAAX,CAAiBnF,WAAjB,CAA6BlL,OAA7B,CAAqC0O,UAArC,IAAmD,CAAC,CAAzE;mBAEW8B,MAAX;YACMU,gBAAgBzC,KACpBN,GADoB,EAEpBO,WAAWnT,MAFS,EAGpBmT,WAAWlT,QAHS,EAIpB;kBACUkT,WAAWE,IAAX,CAAgB2B,kBAD1B;uBAEe,CAAC7B,WAAW3L,KAAZ,EAAmB2L,WAAW1L,KAA9B,EAAqC0L,WAAWzL,MAAhD;SANK,CAAtB;sBAUcmJ,IAAd,CAAmB4E,OAAnB;YACIC,YAAJ,EAAkBC,cAAcR,MAAd;eAEXQ,aAAP;;aAGKH,QAAP;KA1BF;eA6BWnX,GAAX,GAAiBzB,OAAOgZ,OAAP,CAAetc,CAAf,EAAkB6Z,WAAW9U,GAA7B,CAAjB;eACWC,GAAX,GAAiB1B,OAAOgZ,OAAP,CAAetc,CAAf,EAAkB6Z,WAAW7U,GAA7B,CAAjB;GA/BK,MAgCA,IAAI6U,sBAAsBvN,iBAA1B,EAA6C;QAC9CxK,IAAJ,CAASsY,EAAT,EAAa,OAAb,EAAsB,YAAW;UAC3BmC,SAAJ,CAAc1C,WAAWpN,UAAzB,EAAqC,OAArC;KADF;QAII3K,IAAJ,CAAS+X,WAAWpN,UAApB,EAAgC,OAAhC,EAAyC,UAASjF,CAAT,EAAY;QACjDgV,eAAF,GADmD;KAArD;GALK,MAQA,IAAI3C,sBAAsBhJ,kBAA1B,EAA8C;QAC/C/O,IAAJ,CAASsY,EAAT,EAAa,OAAb,EAAsB,YAAW;UAC3BmC,SAAJ,CAAc1C,WAAW9I,QAAzB,EAAmC,OAAnC;KADF;QAIIjP,IAAJ,CAASsY,EAAT,EAAa,WAAb,EAA0B,YAAW;UAC/B/J,QAAJ,CAAawJ,WAAW9I,QAAxB,EAAkC,OAAlC;KADF;QAIIjP,IAAJ,CAASsY,EAAT,EAAa,UAAb,EAAyB,YAAW;UAC9BxI,WAAJ,CAAgBiI,WAAW9I,QAA3B,EAAqC,OAArC;KADF;GATK,MAYA,IAAI8I,sBAAsB5I,eAA1B,EAA2C;QAC5CZ,QAAJ,CAAa+J,EAAb,EAAiB,OAAjB;eACWjT,aAAX,GAA2B7D,OAAOgZ,OAAP,CAAe,UAAS3U,GAAT,EAAc;SACnDK,KAAH,CAASyU,eAAT,GAA2B5C,WAAW3I,OAAX,CAAmBnR,QAAnB,EAA3B;aACO4H,GAAP;KAFyB,EAGxBkS,WAAW1S,aAHa,CAA3B;eAKWA,aAAX;;aAGSyF,QAAX,GAAsBtJ,OAAOgZ,OAAP,CAAe,UAAS3U,GAAT,EAAc;QAC7C2R,IAAIjC,OAAJ,GAAciE,eAAd,IAAiCzB,WAAW6C,UAAX,EAArC,EAA8D;yBACzCpD,IAAIjC,OAAJ,EAAnB,EAAkC,IAAlC;;WAGK1P,GAAP;GALoB,EAMnBkS,WAAWjN,QANQ,CAAtB;;AASF,SAAS+P,gBAAT,CAA0BrD,GAA1B,EAA+BO,UAA/B,EAA2C;MAEnCT,OAAOE,IAAIjC,OAAJ,EAAb;MAIMuF,eAAexD,KAAKjD,mBAAL,CAAyBhL,OAAzB,CAAiC0O,WAAWnT,MAA5C,CAArB;MAGIkW,iBAAiB,CAAC,CAAtB,EAAyB;QAEnBC,gBAAgBzD,KAAKhD,sCAAL,CAA4CwG,YAA5C,CAApB;QAIIC,kBAAkB7Z,SAAtB,EAAiC;sBACf,EAAhB;WACKoT,sCAAL,CAA4CwG,YAA5C,IACEC,aADF;;kBAKYhD,WAAWlT,QAAzB,IAAqCkT,UAArC;QAGIT,KAAK5C,IAAL,IAAa4C,KAAK5C,IAAL,CAAUsE,UAA3B,EAAuC;UAC/BgC,YAAY1D,KAAK5C,IAAL,CAAUsE,UAA5B;UAGIrE,eAAJ;UAEIqG,UAAUxD,IAAI7C,MAAd,CAAJ,EAA2B;iBAChBqG,UAAUxD,IAAI7C,MAAd,CAAT;OADF,MAEO,IAAIqG,UAAUtH,2BAAV,CAAJ,EAA4C;iBAExCsH,UAAUtH,2BAAV,CAAT;OAFK,MAGA;;;UAMHiB,OAAOmG,YAAP,KAAwBnG,OAAOmG,YAAP,EAAqB/C,WAAWlT,QAAhC,MAA8C3D,SAA1E,EAAqF;YAE7EqC,QAAQoR,OAAOmG,YAAP,EAAqB/C,WAAWlT,QAAhC,CAAd;mBAGWC,YAAX,GAA0BvB,KAA1B;mBACWuH,QAAX,CAAoBvH,KAApB;;;;;AAMR,SAASuU,IAAT,CAAaN,GAAb,EAAkB5S,MAAlB,EAA0BC,QAA1B,EAAoCsC,MAApC,EAA4C;MACtCvC,OAAOC,QAAP,MAAqB3D,SAAzB,EAAoC;UAC5B,IAAIuC,KAAJ,cAAqBmB,MAArB,2BAAiDC,QAAjD,OAAN;;MAGEkT,mBAAJ;MAEI5Q,OAAOvJ,KAAX,EAAkB;iBACH,IAAIuR,eAAJ,CAAoBvK,MAApB,EAA4BC,QAA5B,CAAb;GADF,MAEO;QACCoW,cAAc,CAACrW,MAAD,EAASC,QAAT,EAAmBqW,MAAnB,CAA0B/T,OAAO8T,WAAjC,CAApB;iBACanJ,kBAAkB1R,KAAlB,CAAwBoX,GAAxB,EAA6ByD,WAA7B,CAAb;;MAGE9T,OAAOgU,MAAP,YAAyBxW,UAA7B,EAAyC;WAChCwW,MAAP,GAAgBhU,OAAOgU,MAAP,CAAclD,IAA9B;;mBAGeT,GAAjB,EAAsBO,UAAtB;MAEIxJ,QAAJ,CAAawJ,WAAWhT,UAAxB,EAAoC,GAApC;MAEM0Q,OAAOzQ,SAASC,aAAT,CAAuB,MAAvB,CAAb;MACIsJ,QAAJ,CAAakH,IAAb,EAAmB,eAAnB;OACKjK,SAAL,GAAiBuM,WAAWlT,QAA5B;MAEMuW,YAAYpW,SAASC,aAAT,CAAuB,KAAvB,CAAlB;YACU8F,WAAV,CAAsB0K,IAAtB;YACU1K,WAAV,CAAsBgN,WAAWhT,UAAjC;MAEMuT,KAAK1B,OAAOY,GAAP,EAAY4D,SAAZ,EAAuBjU,OAAOgU,MAA9B,CAAX;MAEI5M,QAAJ,CAAa+J,EAAb,EAAiBrE,IAAIwD,oBAArB;MACIM,sBAAsB5I,eAA1B,EAA2C;QACrCZ,QAAJ,CAAa+J,EAAb,EAAiB,OAAjB;GADF,MAEO;QACD/J,QAAJ,CAAa+J,EAAb,UAAwBP,WAAWzS,QAAX,EAAxB;;oBAGgBkS,GAAlB,EAAuBc,EAAvB,EAA2BP,UAA3B;MAEI3D,aAAJ,CAAkB9K,IAAlB,CAAuByO,UAAvB;SAEOA,UAAP;;AAGF,SAAS7C,mBAAT,CAA6BsC,GAA7B,EAAkC1X,GAAlC,EAAuC;SAE9BkF,SAASqW,QAAT,CAAkB9Q,IAAlB,GAAyB,GAAzB,GAA+BzK,GAAtC;;AAGF,SAASwb,eAAT,CAAyB9D,GAAzB,EAA8B/B,IAA9B,EAAoC8F,WAApC,EAAiD;MACzChQ,MAAMvG,SAASC,aAAT,CAAuB,QAAvB,CAAZ;MACIuG,SAAJ,GAAgBiK,IAAhB;MACIlS,KAAJ,GAAYkS,IAAZ;MACI+D,eAAJ,CAAoBzO,WAApB,CAAgCQ,GAAhC;MACIgQ,WAAJ,EAAiB;QACX/B,eAAJ,CAAoB9N,aAApB,GAAoC8L,IAAIgC,eAAJ,CAAoB1a,MAApB,GAA6B,CAAjE;;;AAIJ,SAAS0c,eAAT,CAAyBhE,GAAzB,EAA8BiE,OAA9B,EAAuC;UAC7BvV,KAAR,CAAc0M,OAAd,GAAwB4E,IAAIxC,eAAJ,GAAsB,OAAtB,GAAgC,MAAxD;;AAGF,SAAS0G,WAAT,CAAqBlE,GAArB,EAA0B;MAClBmE,MAAMnE,IAAImB,UAAJ,GAAiB3T,SAASC,aAAT,CAAuB,IAAvB,CAA7B;MAEIsJ,QAAJ,CAAaiJ,IAAIzS,UAAjB,EAA6B,UAA7B;MAEImP,IAAJ,CAASqC,YAAT,CAAsBoF,GAAtB,EAA2BnE,IAAItD,IAAJ,CAAS0H,UAApC;MAEIrN,QAAJ,CAAaoN,GAAb,EAAkB,UAAlB;MAEME,QAAQ7W,SAASC,aAAT,CAAuB,MAAvB,CAAd;QACMuG,SAAN,GAAkB,QAAlB;MACI+C,QAAJ,CAAasN,KAAb,EAAoB,cAApB;MAGMC,SAAS9W,SAASC,aAAT,CAAuB,MAAvB,CAAf;SACOuG,SAAP,GAAmB,MAAnB;MACI+C,QAAJ,CAAauN,MAAb,EAAqB,QAArB;MACIvN,QAAJ,CAAauN,MAAb,EAAqB,MAArB;MAEMC,UAAU/W,SAASC,aAAT,CAAuB,MAAvB,CAAhB;UACQuG,SAAR,GAAoB,KAApB;MACI+C,QAAJ,CAAawN,OAAb,EAAsB,QAAtB;MACIxN,QAAJ,CAAawN,OAAb,EAAsB,SAAtB;MAEMC,UAAUhX,SAASC,aAAT,CAAuB,MAAvB,CAAhB;UACQuG,SAAR,GAAoB,QAApB;MACI+C,QAAJ,CAAayN,OAAb,EAAsB,QAAtB;MACIzN,QAAJ,CAAayN,OAAb,EAAsB,QAAtB;MAEMC,SAASzE,IAAIgC,eAAJ,GAAsBxU,SAASC,aAAT,CAAuB,QAAvB,CAArC;MAEIuS,IAAI9C,IAAJ,IAAY8C,IAAI9C,IAAJ,CAASsE,UAAzB,EAAqC;WAC5BzZ,IAAP,CAAYiY,IAAI9C,IAAJ,CAASsE,UAArB,EAAiC,UAASzV,KAAT,EAAgBzD,GAAhB,EAAqB;sBACpC0X,GAAhB,EAAqB1X,GAArB,EAA0BA,QAAQ0X,IAAI7C,MAAtC;KADF;GADF,MAIO;oBACW6C,GAAhB,EAAqB9D,2BAArB,EAAkD,KAAlD;;MAGE1T,IAAJ,CAASic,MAAT,EAAiB,QAAjB,EAA2B,YAAW;SAC/B,IAAIvS,QAAQ,CAAjB,EAAoBA,QAAQ8N,IAAIgC,eAAJ,CAAoB1a,MAAhD,EAAwD4K,OAAxD,EAAiE;UAC3D8P,eAAJ,CAAoB9P,KAApB,EAA2B8B,SAA3B,GAAuCgM,IAAIgC,eAAJ,CAAoB9P,KAApB,EAA2BnG,KAAlE;;QAGEoR,MAAJ,GAAa,KAAKpR,KAAlB;GALF;MAQIwH,WAAJ,CAAgBkR,MAAhB;MACIlR,WAAJ,CAAgB8Q,KAAhB;MACI9Q,WAAJ,CAAgB+Q,MAAhB;MACI/Q,WAAJ,CAAgBgR,OAAhB;MACIhR,WAAJ,CAAgBiR,OAAhB;MAEIrI,sBAAJ,EAA4B;QACpB8H,UAAUzW,SAASkX,cAAT,CAAwB,kBAAxB,CAAhB;QACMC,uBAAuBnX,SAASkX,cAAT,CAAwB,kBAAxB,CAA7B;QACME,cAAcpX,SAASkX,cAAT,CAAwB,iBAAxB,CAApB;gBAEYhW,KAAZ,CAAkB0M,OAAlB,GAA4B,OAA5B;QAEIgB,aAAaqB,OAAb,CAAqBC,oBAAoBsC,GAApB,EAAyB,SAAzB,CAArB,MAA8D,MAAlE,EAA0E;2BACnD5M,YAArB,CAAkC,SAAlC,EAA6C,SAA7C;;oBAGc4M,GAAhB,EAAqBiE,OAArB;QAGIzb,IAAJ,CAASmc,oBAAT,EAA+B,QAA/B,EAAyC,YAAW;UAC9CnH,eAAJ,GAAsB,CAACwC,IAAIxC,eAA3B;sBACgBwC,GAAhB,EAAqBiE,OAArB;KAFF;;MAMIY,yBAAyBrX,SAASkX,cAAT,CAAwB,oBAAxB,CAA/B;MAEIlc,IAAJ,CAASqc,sBAAT,EAAiC,SAAjC,EAA4C,UAAS3W,CAAT,EAAY;QAClDA,EAAE6C,OAAF,KAAc7C,EAAEmS,KAAF,KAAY,EAAZ,IAAkBnS,EAAE8C,OAAF,KAAc,EAA9C,CAAJ,EAAuD;oBACvCmK,IAAd;;GAFJ;MAMI3S,IAAJ,CAAS6b,KAAT,EAAgB,OAAhB,EAAyB,YAAW;2BACXrQ,SAAvB,GAAmC2K,KAAKe,SAAL,CAAeM,IAAIL,aAAJ,EAAf,EAAoCjW,SAApC,EAA+C,CAA/C,CAAnC;kBACcob,IAAd;2BACuBC,KAAvB;2BACuBN,MAAvB;GAJF;MAOIjc,IAAJ,CAAS8b,MAAT,EAAiB,OAAjB,EAA0B,YAAW;QAC/BU,IAAJ;GADF;MAIIxc,IAAJ,CAAS+b,OAAT,EAAkB,OAAlB,EAA2B,YAAW;QAC9B7C,aAAauD,OAAO,0BAAP,CAAnB;QACIvD,UAAJ,EAAgB;UACVwD,MAAJ,CAAWxD,UAAX;;GAHJ;MAOIlZ,IAAJ,CAASgc,OAAT,EAAkB,OAAlB,EAA2B,YAAW;QAChCxG,MAAJ;GADF;;AAOF,SAASmH,eAAT,CAAyBnF,GAAzB,EAA8B;MACxBoF,gBAAJ;MAEIhE,eAAJ,GAAsB5T,SAASC,aAAT,CAAuB,KAAvB,CAAtB;SAEOX,MAAP,CAAckT,IAAIoB,eAAJ,CAAoB1S,KAAlC,EAAyC;WAEhC,KAFgC;gBAG3B,MAH2B;YAI/B,OAJ+B;YAK/B,WAL+B;cAM7B;GANZ;WAWS2W,IAAT,CAAcnX,CAAd,EAAiB;MACb8I,cAAF;QAEI1E,KAAJ,IAAa8S,UAAUlX,EAAE6B,OAAzB;QACIqO,QAAJ;cACUlQ,EAAE6B,OAAZ;WAEO,KAAP;;WAGOuV,QAAT,GAAoB;QACdhN,WAAJ,CAAgB0H,IAAI3B,aAApB,EAAmC5B,IAAI0D,UAAvC;QACI9J,MAAJ,CAAW/F,MAAX,EAAmB,WAAnB,EAAgC+U,IAAhC;QACIhP,MAAJ,CAAW/F,MAAX,EAAmB,SAAnB,EAA8BgV,QAA9B;;WAGOC,SAAT,CAAmBrX,CAAnB,EAAsB;MAClB8I,cAAF;cAEU9I,EAAE6B,OAAZ;QAEIgH,QAAJ,CAAaiJ,IAAI3B,aAAjB,EAAgC5B,IAAI0D,UAApC;QACI3X,IAAJ,CAAS8H,MAAT,EAAiB,WAAjB,EAA8B+U,IAA9B;QACI7c,IAAJ,CAAS8H,MAAT,EAAiB,SAAjB,EAA4BgV,QAA5B;WAEO,KAAP;;MAGE9c,IAAJ,CAASwX,IAAIoB,eAAb,EAA8B,WAA9B,EAA2CmE,SAA3C;MACI/c,IAAJ,CAASwX,IAAI3B,aAAb,EAA4B,WAA5B,EAAyCkH,SAAzC;MAEIhY,UAAJ,CAAewR,YAAf,CAA4BiB,IAAIoB,eAAhC,EAAiDpB,IAAIzS,UAAJ,CAAe+U,iBAAhE;;AAGF,SAASkD,QAAT,CAAkBxF,GAAlB,EAAuByF,CAAvB,EAA0B;MACpBlY,UAAJ,CAAemB,KAAf,CAAqB4D,KAArB,GAA6BmT,IAAI,IAAjC;MAGIzF,IAAImB,UAAJ,IAAkBnB,IAAI/C,SAA1B,EAAqC;QAC/BkE,UAAJ,CAAezS,KAAf,CAAqB4D,KAArB,GAA6BmT,IAAI,IAAjC;;MAEEzF,IAAI3B,aAAR,EAAuB;QACjBA,aAAJ,CAAkB3P,KAAlB,CAAwB4D,KAAxB,GAAgCmT,IAAI,IAApC;;;AAIJ,SAAShE,gBAAT,CAA0BzB,GAA1B,EAA+B0F,gBAA/B,EAAiD;MACzCjb,WAAW,EAAjB;SAGO1C,IAAP,CAAYiY,IAAInD,mBAAhB,EAAqC,UAASxO,GAAT,EAAc6D,KAAd,EAAqB;QAClDyT,cAAc,EAApB;QAGMpC,gBACJvD,IAAIlD,sCAAJ,CAA2C5K,KAA3C,CADF;WAIOnK,IAAP,CAAYwb,aAAZ,EAA2B,UAAShD,UAAT,EAAqBlT,QAArB,EAA+B;kBAC5CA,QAAZ,IAAwBqY,mBAAmBnF,WAAWjT,YAA9B,GAA6CiT,WAAWzS,QAAX,EAArE;KADF;aAKSoE,KAAT,IAAkByT,WAAlB;GAbF;SAgBOlb,QAAP;;AAGF,SAASmb,oBAAT,CAA8B5F,GAA9B,EAAmC;OAC5B,IAAI9N,QAAQ,CAAjB,EAAoBA,QAAQ8N,IAAIgC,eAAJ,CAAoB1a,MAAhD,EAAwD4K,OAAxD,EAAiE;QAC3D8N,IAAIgC,eAAJ,CAAoB9P,KAApB,EAA2BnG,KAA3B,KAAqCiU,IAAI7C,MAA7C,EAAqD;UAC/C6E,eAAJ,CAAoB9N,aAApB,GAAoChC,KAApC;;;;AAKN,SAAS2T,cAAT,CAAwBC,eAAxB,EAAyC;MACnCA,gBAAgBxe,MAAhB,KAA2B,CAA/B,EAAkC;4BACVU,IAAtB,CAA2BsI,MAA3B,EAAmC,YAAW;qBAC7BwV,eAAf;KADF;;SAKK/d,IAAP,CAAY+d,eAAZ,EAA6B,UAASta,CAAT,EAAY;MACrCqC,aAAF;GADF;;;AC91CK,IAAMzH,QAAQ;SACZ4F,KADY;QAEbY,SAFa;aAGRlC;CAHN;AAMP,AAAO,IAAMqb,cAAc;cACb5Y,UADa;qBAEN6F,iBAFM;oBAGPS,gBAHO;oBAIPW,gBAJO;oBAKPM,gBALO;uBAMJmB,mBANI;0BAODc,sBAPC;sBAQLY,kBARK;mBASRI;CATZ;AAYP,AAAO,IAAMpJ,QAAM,EAAEA,KAAKyX,GAAP,EAAZ;AAEP,AAAO,IAAMhG,MAAM,EAAEvD,KAAKwJ,GAAP,EAAZ;AAEP,AAAO,IAAMxJ,QAAMwJ,GAAZ;AAEP,YAAe;cAAA;0BAAA;YAAA;UAAA;;CAAf;;;;;;;;;;;;;;;;;;ACtDA;;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;;ACxnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACruBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv8FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACptaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACLA;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;;AC/EA;AACA;AACA;AACA;AACA;AACA;AACA;;CCNA,SAAUC,EAAQC,EAAUC,EAAYC,GACtC,YAkBF,SAASC,GAAkBC,EAAIC,EAASC,GACpC,MAAOC,YAAWC,EAAOJ,EAAIE,GAAUD,GAY3C,QAASI,GAAeC,EAAKN,EAAIE,GAC7B,MAAIK,OAAMC,QAAQF,IACdG,EAAKH,EAAKJ,EAAQF,GAAKE,IAChB,IAEJ,EASX,QAASO,GAAKC,EAAKC,EAAUT,GACzB,GAAIU,EAEJ,IAAKF,EAIL,GAAIA,EAAIG,QACJH,EAAIG,QAAQF,EAAUT,OACnB,IAAIQ,EAAII,SAAWhB,EAEtB,IADAc,EAAI,EACGA,EAAIF,EAAII,QACXH,EAASI,KAAKb,EAASQ,EAAIE,GAAIA,EAAGF,GAClCE,QAGJ,KAAKA,IAAKF,GACNA,EAAIM,eAAeJ,IAAMD,EAASI,KAAKb,EAASQ,EAAIE,GAAIA,EAAGF,GAYvE,QAASO,GAAUC,EAAQC,EAAMC,GAC7B,GAAIC,GAAqB,sBAAwBF,EAAO,KAAOC,EAAU,QACzE,OAAO,YACH,GAAIE,GAAI,GAAIC,OAAM,mBACdC,EAAQF,GAAKA,EAAEE,MAAQF,EAAEE,MAAMC,QAAQ,kBAAmB,IACzDA,QAAQ,cAAe,IACvBA,QAAQ,6BAA8B,kBAAoB,sBAE3DC,EAAM/B,EAAOgC,UAAYhC,EAAOgC,QAAQC,MAAQjC,EAAOgC,QAAQD,IAInE,OAHIA,IACAA,EAAIX,KAAKpB,EAAOgC,QAASN,EAAoBG,GAE1CN,EAAOW,MAAMC,KAAMC,YAwElC,QAASC,GAAQC,EAAOC,EAAMC,GAC1B,GACIC,GADAC,EAAQH,EAAKI,SAGjBF,GAASH,EAAMK,UAAYC,OAAOC,OAAOH,GACzCD,EAAOK,YAAcR,EACrBG,EAAOM,OAASL,EAEZF,GACAQ,GAAOP,EAAQD,GAUvB,QAAS/B,GAAOJ,EAAIE,GAChB,MAAO,YACH,MAAOF,GAAG6B,MAAM3B,EAAS6B,YAWjC,QAASa,GAASC,EAAKC,GACnB,aAAWD,IAAOE,GACPF,EAAIhB,MAAMiB,EAAOA,EAAK,IAAMhD,EAAYA,EAAWgD,GAEvDD,EASX,QAASG,GAAYC,EAAMC,GACvB,MAAQD,KAASnD,EAAaoD,EAAOD,EASzC,QAASE,GAAkBC,EAAQC,EAAOC,GACtC7C,EAAK8C,EAASF,GAAQ,SAASG,GAC3BJ,EAAOK,iBAAiBD,EAAMF,GAAS,KAU/C,QAASI,GAAqBN,EAAQC,EAAOC,GACzC7C,EAAK8C,EAASF,GAAQ,SAASG,GAC3BJ,EAAOO,oBAAoBH,EAAMF,GAAS,KAWlD,QAASM,GAAUC,EAAMC,GACrB,KAAOD,GAAM,CACT,GAAIA,GAAQC,EACR,OAAO,CAEXD,GAAOA,EAAKE,WAEhB,OAAO,EASX,QAASC,GAAMC,EAAKC,GAChB,MAAOD,GAAIE,QAAQD,GAAQ,GAQ/B,QAASX,GAASU,GACd,MAAOA,GAAIG,OAAOC,MAAM,QAU5B,QAASC,GAAQC,EAAKL,EAAMM,GACxB,GAAID,EAAIJ,UAAYK,EAChB,MAAOD,GAAIJ,QAAQD,EAGnB,KADA,GAAItD,GAAI,EACDA,EAAI2D,EAAIzD,QAAQ,CACnB,GAAK0D,GAAaD,EAAI3D,GAAG4D,IAAcN,IAAWM,GAAaD,EAAI3D,KAAOsD,EACtE,MAAOtD,EAEXA,KAEJ,MAAO,GASf,QAAS6D,GAAQ/D,GACb,MAAOH,OAAM+B,UAAUoC,MAAM3D,KAAKL,EAAK,GAU3C,QAASiE,GAAYJ,EAAKK,EAAKC,GAK3B,IAJA,GAAIC,MACAC,KACAnE,EAAI,EAEDA,EAAI2D,EAAIzD,QAAQ,CACnB,GAAI+B,GAAM+B,EAAML,EAAI3D,GAAGgE,GAAOL,EAAI3D,EAC9B0D,GAAQS,EAAQlC,GAAO,GACvBiC,EAAQE,KAAKT,EAAI3D,IAErBmE,EAAOnE,GAAKiC,EACZjC,IAaJ,MAVIiE,KAIIC,EAHCF,EAGSE,EAAQD,KAAK,SAAyBI,EAAGC,GAC/C,MAAOD,GAAEL,GAAOM,EAAEN,KAHZE,EAAQD,QAQnBC,EASX,QAASK,GAASzE,EAAK0E,GAKnB,IAJA,GAAIC,GAAQC,EACRC,EAAYH,EAAS,GAAGI,cAAgBJ,EAASV,MAAM,GAEvD9D,EAAI,EACDA,EAAI6E,GAAgB3E,QAAQ,CAI/B,GAHAuE,EAASI,GAAgB7E,GACzB0E,EAAO,EAAWD,EAASE,EAAYH,EAEnCE,IAAQ5E,GACR,MAAO4E,EAEX1E,KAEJ,MAAOd,GAQX,QAAS4F,KACL,MAAOC,MAQX,QAASC,GAAoBC,GACzB,GAAIC,GAAMD,EAAQE,eAAiBF,CACnC,OAAQC,GAAIE,aAAeF,EAAIG,cAAgBtG,EAyCnD,QAASuG,GAAMC,EAASC,GACpB,GAAIC,GAAOvE,IACXA,MAAKqE,QAAUA,EACfrE,KAAKsE,SAAWA,EAChBtE,KAAK+D,QAAUM,EAAQN,QACvB/D,KAAKsB,OAAS+C,EAAQG,QAAQC,YAI9BzE,KAAK0E,WAAa,SAASC,GACnB7D,EAASuD,EAAQG,QAAQI,QAASP,KAClCE,EAAK/C,QAAQmD,IAIrB3E,KAAK6E,OAoCT,QAASC,GAAoBT,GACzB,GAAIU,GACAC,EAAaX,EAAQG,QAAQQ,UAajC,OAAO,KAVHD,EADAC,EACOA,EACAC,GACAC,EACAC,GACAC,EACCC,GAGDC,EAFAC,GAIOlB,EAASmB,GAS/B,QAASA,GAAanB,EAASoB,EAAWC,GACtC,GAAIC,GAAcD,EAAME,SAAS5G,OAC7B6G,EAAqBH,EAAMI,gBAAgB9G,OAC3C+G,EAAWN,EAAYO,IAAgBL,EAAcE,IAAuB,EAC5EI,EAAWR,GAAaS,GAAYC,KAAkBR,EAAcE,IAAuB,CAE/FH,GAAMK,UAAYA,EAClBL,EAAMO,UAAYA,EAEdF,IACA1B,EAAQ+B,YAKZV,EAAMD,UAAYA,EAGlBY,EAAiBhC,EAASqB,GAG1BrB,EAAQiC,KAAK,eAAgBZ,GAE7BrB,EAAQkC,UAAUb,GAClBrB,EAAQ+B,QAAQI,UAAYd,EAQhC,QAASW,GAAiBhC,EAASqB,GAC/B,GAAIU,GAAU/B,EAAQ+B,QAClBR,EAAWF,EAAME,SACjBa,EAAiBb,EAAS5G,MAGzBoH,GAAQM,aACTN,EAAQM,WAAaC,EAAqBjB,IAI1Ce,EAAiB,IAAML,EAAQQ,cAC/BR,EAAQQ,cAAgBD,EAAqBjB,GACnB,IAAnBe,IACPL,EAAQQ,eAAgB,EAG5B,IAAIF,GAAaN,EAAQM,WACrBE,EAAgBR,EAAQQ,cACxBC,EAAeD,EAAgBA,EAAcE,OAASJ,EAAWI,OAEjEA,EAASpB,EAAMoB,OAASC,EAAUnB,EACtCF,GAAMsB,UAAYC,KAClBvB,EAAMwB,UAAYxB,EAAMsB,UAAYN,EAAWM,UAE/CtB,EAAMyB,MAAQC,EAASP,EAAcC,GACrCpB,EAAM2B,SAAWC,EAAYT,EAAcC,GAE3CS,EAAenB,EAASV,GACxBA,EAAM8B,gBAAkBC,EAAa/B,EAAMgC,OAAQhC,EAAMiC,OAEzD,IAAIC,GAAkBC,EAAYnC,EAAMwB,UAAWxB,EAAMgC,OAAQhC,EAAMiC,OACvEjC,GAAMoC,iBAAmBF,EAAgBG,EACzCrC,EAAMsC,iBAAmBJ,EAAgBK,EACzCvC,EAAMkC,gBAAmBM,GAAIN,EAAgBG,GAAKG,GAAIN,EAAgBK,GAAML,EAAgBG,EAAIH,EAAgBK,EAEhHvC,EAAMyC,MAAQvB,EAAgBwB,EAASxB,EAAchB,SAAUA,GAAY,EAC3EF,EAAM2C,SAAWzB,EAAgB0B,EAAY1B,EAAchB,SAAUA,GAAY,EAEjFF,EAAM6C,YAAenC,EAAQI,UAAsCd,EAAME,SAAS5G,OAC9EoH,EAAQI,UAAU+B,YAAe7C,EAAME,SAAS5G,OAASoH,EAAQI,UAAU+B,YADtC7C,EAAME,SAAS5G,OAGxDwJ,EAAyBpC,EAASV,EAGlC,IAAIpE,GAAS+C,EAAQN,OACjBjC,GAAU4D,EAAM+C,SAASnH,OAAQA,KACjCA,EAASoE,EAAM+C,SAASnH,QAE5BoE,EAAMpE,OAASA,EAGnB,QAASiG,GAAenB,EAASV,GAC7B,GAAIoB,GAASpB,EAAMoB,OACf4B,EAAStC,EAAQuC,gBACjBC,EAAYxC,EAAQwC,cACpBpC,EAAYJ,EAAQI,eAEpBd,EAAMD,YAAcO,IAAeQ,EAAUf,YAAcS,MAC3D0C,EAAYxC,EAAQwC,WAChBb,EAAGvB,EAAUkB,QAAU,EACvBO,EAAGzB,EAAUmB,QAAU,GAG3Be,EAAStC,EAAQuC,aACbZ,EAAGjB,EAAOiB,EACVE,EAAGnB,EAAOmB,IAIlBvC,EAAMgC,OAASkB,EAAUb,GAAKjB,EAAOiB,EAAIW,EAAOX,GAChDrC,EAAMiC,OAASiB,EAAUX,GAAKnB,EAAOmB,EAAIS,EAAOT,GAQpD,QAASO,GAAyBpC,EAASV,GACvC,GAEImD,GAAUC,EAAWC,EAAWC,EAFhCC,EAAO7C,EAAQ8C,cAAgBxD,EAC/BwB,EAAYxB,EAAMsB,UAAYiC,EAAKjC,SAGvC,IAAItB,EAAMD,WAAaU,KAAiBe,EAAYiC,IAAoBF,EAAKJ,WAAa7K,GAAY,CAClG,GAAI0J,GAAShC,EAAMgC,OAASuB,EAAKvB,OAC7BC,EAASjC,EAAMiC,OAASsB,EAAKtB,OAE7ByB,EAAIvB,EAAYX,EAAWQ,EAAQC,EACvCmB,GAAYM,EAAErB,EACdgB,EAAYK,EAAEnB,EACdY,EAAYX,GAAIkB,EAAErB,GAAKG,GAAIkB,EAAEnB,GAAMmB,EAAErB,EAAIqB,EAAEnB,EAC3Ce,EAAYvB,EAAaC,EAAQC,GAEjCvB,EAAQ8C,aAAexD,MAGvBmD,GAAWI,EAAKJ,SAChBC,EAAYG,EAAKH,UACjBC,EAAYE,EAAKF,UACjBC,EAAYC,EAAKD,SAGrBtD,GAAMmD,SAAWA,EACjBnD,EAAMoD,UAAYA,EAClBpD,EAAMqD,UAAYA,EAClBrD,EAAMsD,UAAYA,EAQtB,QAASrC,GAAqBjB,GAK1B,IAFA,GAAIE,MACA9G,EAAI,EACDA,EAAI4G,EAAME,SAAS5G,QACtB4G,EAAS9G,IACLuK,QAASC,GAAM5D,EAAME,SAAS9G,GAAGuK,SACjCE,QAASD,GAAM5D,EAAME,SAAS9G,GAAGyK,UAErCzK,GAGJ,QACIkI,UAAWC,KACXrB,SAAUA,EACVkB,OAAQC,EAAUnB,GAClB8B,OAAQhC,EAAMgC,OACdC,OAAQjC,EAAMiC,QAStB,QAASZ,GAAUnB,GACf,GAAIa,GAAiBb,EAAS5G,MAG9B,IAAuB,IAAnByH,EACA,OACIsB,EAAGuB,GAAM1D,EAAS,GAAGyD,SACrBpB,EAAGqB,GAAM1D,EAAS,GAAG2D,SAK7B,KADA,GAAIxB,GAAI,EAAGE,EAAI,EAAGnJ,EAAI,EACX2H,EAAJ3H,GACHiJ,GAAKnC,EAAS9G,GAAGuK,QACjBpB,GAAKrC,EAAS9G,GAAGyK,QACjBzK,GAGJ,QACIiJ,EAAGuB,GAAMvB,EAAItB,GACbwB,EAAGqB,GAAMrB,EAAIxB,IAWrB,QAASoB,GAAYX,EAAWa,EAAGE,GAC/B,OACIF,EAAGA,EAAIb,GAAa,EACpBe,EAAGA,EAAIf,GAAa,GAU5B,QAASO,GAAaM,EAAGE,GACrB,MAAIF,KAAME,EACCuB,GAGPtB,GAAIH,IAAMG,GAAID,GACH,EAAJF,EAAQ0B,GAAiBC,GAEzB,EAAJzB,EAAQ0B,GAAeC,GAUlC,QAAStC,GAAYuC,EAAIC,EAAIC,GACpBA,IACDA,EAAQC,GAEZ,IAAIjC,GAAI+B,EAAGC,EAAM,IAAMF,EAAGE,EAAM,IAC5B9B,EAAI6B,EAAGC,EAAM,IAAMF,EAAGE,EAAM,GAEhC,OAAOE,MAAKC,KAAMnC,EAAIA,EAAME,EAAIA,GAUpC,QAASb,GAASyC,EAAIC,EAAIC,GACjBA,IACDA,EAAQC,GAEZ,IAAIjC,GAAI+B,EAAGC,EAAM,IAAMF,EAAGE,EAAM,IAC5B9B,EAAI6B,EAAGC,EAAM,IAAMF,EAAGE,EAAM,GAChC,OAA0B,KAAnBE,KAAKE,MAAMlC,EAAGF,GAAWkC,KAAKG,GASzC,QAAS9B,GAAY+B,EAAOC,GACxB,MAAOlD,GAASkD,EAAI,GAAIA,EAAI,GAAIC,IAAmBnD,EAASiD,EAAM,GAAIA,EAAM,GAAIE,IAUpF,QAASnC,GAASiC,EAAOC,GACrB,MAAOhD,GAAYgD,EAAI,GAAIA,EAAI,GAAIC,IAAmBjD,EAAY+C,EAAM,GAAIA,EAAM,GAAIE,IAiB1F,QAAShF,KACLvF,KAAKwK,KAAOC,GACZzK,KAAK0K,MAAQC,GAEb3K,KAAK4K,OAAQ,EACb5K,KAAK6K,SAAU,EAEfzG,EAAMrE,MAAMC,KAAMC,WAoEtB,QAASiF,KACLlF,KAAKwK,KAAOM,GACZ9K,KAAK0K,MAAQK,GAEb3G,EAAMrE,MAAMC,KAAMC,WAElBD,KAAKgL,MAAShL,KAAKqE,QAAQ+B,QAAQ6E,iBAoEvC,QAASC,KACLlL,KAAKmL,SAAWC,GAChBpL,KAAK0K,MAAQW,GACbrL,KAAKsL,SAAU,EAEflH,EAAMrE,MAAMC,KAAMC,WAsCtB,QAASsL,GAAuB5G,EAAIjD,GAChC,GAAI8J,GAAM7I,EAAQgC,EAAG8G,SACjBC,EAAU/I,EAAQgC,EAAGgH,eAMzB,OAJIjK,IAAQwE,GAAYC,MACpBqF,EAAM3I,EAAY2I,EAAII,OAAOF,GAAU,cAAc,KAGjDF,EAAKE,GAiBjB,QAAStG,KACLpF,KAAKmL,SAAWU,GAChB7L,KAAK8L,aAEL1H,EAAMrE,MAAMC,KAAMC,WA0BtB,QAAS8L,GAAWpH,EAAIjD,GACpB,GAAIsK,GAAarJ,EAAQgC,EAAG8G,SACxBK,EAAY9L,KAAK8L,SAGrB,IAAIpK,GAAQsE,GAAciG,KAAqC,IAAtBD,EAAWhN,OAEhD,MADA8M,GAAUE,EAAW,GAAGE,aAAc,GAC9BF,EAAYA,EAGxB,IAAIlN,GACAqN,EACAR,EAAiBhJ,EAAQgC,EAAGgH,gBAC5BS,KACA9K,EAAStB,KAAKsB,MAQlB,IALA6K,EAAgBH,EAAWK,OAAO,SAASC,GACvC,MAAOxK,GAAUwK,EAAMhL,OAAQA,KAI/BI,IAASsE,GAET,IADAlH,EAAI,EACGA,EAAIqN,EAAcnN,QACrB8M,EAAUK,EAAcrN,GAAGoN,aAAc,EACzCpN,GAMR,KADAA,EAAI,EACGA,EAAI6M,EAAe3M,QAClB8M,EAAUH,EAAe7M,GAAGoN,aAC5BE,EAAqBlJ,KAAKyI,EAAe7M,IAIzC4C,GAAQwE,GAAYC,WACb2F,GAAUH,EAAe7M,GAAGoN,YAEvCpN,GAGJ,OAAKsN,GAAqBpN,QAMtB6D,EAAYsJ,EAAcP,OAAOQ,GAAuB,cAAc,GACtEA,GAPJ,OAoBJ,QAAS9G,KACLlB,EAAMrE,MAAMC,KAAMC,UAElB,IAAIuB,GAAUlD,EAAO0B,KAAKwB,QAASxB,KACnCA,MAAKsM,MAAQ,GAAIlH,GAAWpF,KAAKqE,QAAS7C,GAC1CxB,KAAKuM,MAAQ,GAAIhH,GAAWvF,KAAKqE,QAAS7C,GAyD9C,QAASgL,GAAYnI,EAASoI,GAC1BzM,KAAKqE,QAAUA,EACfrE,KAAK0M,IAAID,GAwGb,QAASE,GAAkBC,GAEvB,GAAI1K,EAAM0K,EAASC,IACf,MAAOA,GAGX,IAAIC,GAAU5K,EAAM0K,EAASG,IACzBC,EAAU9K,EAAM0K,EAASK,GAM7B,OAAIH,IAAWE,EACJH,GAIPC,GAAWE,EACJF,EAAUC,GAAqBE,GAItC/K,EAAM0K,EAASM,IACRA,GAGJC,GA4CX,QAASC,GAAW5I,GAChBxE,KAAKwE,QAAU3D,MAAWb,KAAKqN,SAAU7I,OAEzCxE,KAAKsN,GAAK1J,IAEV5D,KAAKqE,QAAU,KAGfrE,KAAKwE,QAAQI,OAAS1D,EAAYlB,KAAKwE,QAAQI,QAAQ,GAEvD5E,KAAKuN,MAAQC,GAEbxN,KAAKyN,gBACLzN,KAAK0N,eAqOT,QAASC,GAASJ,GACd,MAAIA,GAAQK,GACD,SACAL,EAAQM,GACR,MACAN,EAAQO,GACR,OACAP,EAAQQ,GACR,QAEJ,GAQX,QAASC,GAAahF,GAClB,MAAIA,IAAaY,GACN,OACAZ,GAAaW,GACb,KACAX,GAAaS,GACb,OACAT,GAAaU,GACb,QAEJ,GASX,QAASuE,GAA6BC,EAAiBC,GACnD,GAAI9J,GAAU8J,EAAW9J,OACzB,OAAIA,GACOA,EAAQ+J,IAAIF,GAEhBA,EAQX,QAASG,KACLjB,EAAWrN,MAAMC,KAAMC,WA6D3B,QAASqO,KACLD,EAAetO,MAAMC,KAAMC,WAE3BD,KAAKuO,GAAK,KACVvO,KAAKwO,GAAK,KA4Ed,QAASC,KACLJ,EAAetO,MAAMC,KAAMC,WAsC/B,QAASyO,KACLtB,EAAWrN,MAAMC,KAAMC,WAEvBD,KAAK2O,OAAS,KACd3O,KAAK4O,OAAS,KAmElB,QAASC,MACLR,EAAetO,MAAMC,KAAMC,WA8B/B,QAAS6O,MACLT,EAAetO,MAAMC,KAAMC,WA2D/B,QAAS8O,MACL3B,EAAWrN,MAAMC,KAAMC,WAIvBD,KAAKgP,OAAQ,EACbhP,KAAKiP,SAAU,EAEfjP,KAAK2O,OAAS,KACd3O,KAAK4O,OAAS,KACd5O,KAAKkP,MAAQ,EAqGjB,QAASC,IAAOpL,EAASS,GAGrB,MAFAA,GAAUA,MACVA,EAAQ4K,YAAclO,EAAYsD,EAAQ4K,YAAaD,GAAO9B,SAASgC,QAChE,GAAIC,IAAQvL,EAASS,GAiIhC,QAAS8K,IAAQvL,EAASS,GACtBxE,KAAKwE,QAAU3D,MAAWsO,GAAO9B,SAAU7I,OAE3CxE,KAAKwE,QAAQC,YAAczE,KAAKwE,QAAQC,aAAeV,EAEvD/D,KAAKuP,YACLvP,KAAKoG,WACLpG,KAAKoP,eAELpP,KAAK+D,QAAUA,EACf/D,KAAK0F,MAAQZ,EAAoB9E,MACjCA,KAAKwP,YAAc,GAAIhD,GAAYxM,KAAMA,KAAKwE,QAAQgL,aAEtDC,GAAezP,MAAM,GAErBrB,EAAKqB,KAAKwE,QAAQ4K,YAAa,SAASM,GACpC,GAAIvB,GAAanO,KAAK2P,IAAI,GAAKD,GAAK,GAAIA,EAAK,IAC7CA,GAAK,IAAMvB,EAAWyB,cAAcF,EAAK,IACzCA,EAAK,IAAMvB,EAAW0B,eAAeH,EAAK,KAC3C1P,MAiPP,QAASyP,IAAepL,EAASsL,GAC7B,GAAI5L,GAAUM,EAAQN,OACjBA,GAAQ+L,OAGbnR,EAAK0F,EAAQG,QAAQuL,SAAU,SAAStD,EAAOpN,GAC3C0E,EAAQ+L,MAAMzM,EAASU,EAAQ+L,MAAOzQ,IAASsQ,EAAMlD,EAAQ,KASrE,QAASuD,IAAgBC,EAAOC,GAC5B,GAAIC,GAAerS,EAASsS,YAAY,QACxCD,GAAaE,UAAUJ,GAAO,GAAM,GACpCE,EAAaG,QAAUJ,EACvBA,EAAK5O,OAAOiP,cAAcJ,GAx7E9B,GA+FItP,IA/FA8C,IAAmB,GAAI,SAAU,MAAO,KAAM,KAAM,KACpD6M,GAAe1S,EAAS2S,cAAc,OAEtCxP,GAAgB,WAEhBqI,GAAQW,KAAKX,MACbpB,GAAM+B,KAAK/B,IACXjB,GAAMyJ,KAAKzJ,GA0FXpG,IADyB,kBAAlBJ,QAAOI,OACL,SAAgBS,GACrB,GAAIA,IAAWtD,GAAwB,OAAXsD,EACxB,KAAM,IAAIqP,WAAU,6CAIxB,KAAK,GADDC,GAASnQ,OAAOa,GACXuP,EAAQ,EAAGA,EAAQ5Q,UAAUjB,OAAQ6R,IAAS,CACnD,GAAIC,GAAS7Q,UAAU4Q,EACvB,IAAIC,IAAW9S,GAAwB,OAAX8S,EACxB,IAAK,GAAIC,KAAWD,GACZA,EAAO5R,eAAe6R,KACtBH,EAAOG,GAAWD,EAAOC,IAKzC,MAAOH,IAGFnQ,OAAOI,MAWpB,IAAImQ,IAAS7R,EAAU,SAAgB8R,EAAMxO,EAAKyO,GAG9C,IAFA,GAAIC,GAAO1Q,OAAO0Q,KAAK1O,GACnB3D,EAAI,EACDA,EAAIqS,EAAKnS,UACPkS,GAAUA,GAASD,EAAKE,EAAKrS,MAAQd,KACtCiT,EAAKE,EAAKrS,IAAM2D,EAAI0O,EAAKrS,KAE7BA,GAEJ,OAAOmS,IACR,SAAU,iBASTC,GAAQ/R,EAAU,SAAe8R,EAAMxO,GACvC,MAAOuO,IAAOC,EAAMxO,GAAK,IAC1B,QAAS,iBAiNRoB,GAAY,EAeZuN,GAAe,wCAEf/L,GAAiB,gBAAkBxH,GACnCoH,GAAyB5B,EAASxF,EAAQ,kBAAoBG,EAC9DmH,GAAqBE,IAAiB+L,GAAaC,KAAKC,UAAUC,WAElEC,GAAmB,QACnBC,GAAiB,MACjBC,GAAmB,QACnBC,GAAoB,SAEpBxI,GAAmB,GAEnBnD,GAAc,EACdiG,GAAa,EACb/F,GAAY,EACZC,GAAe,EAEfqD,GAAiB,EACjBC,GAAiB,EACjBC,GAAkB,EAClBC,GAAe,EACfC,GAAiB,GAEjBgI,GAAuBnI,GAAiBC,GACxCmI,GAAqBlI,GAAeC,GACpCkI,GAAgBF,GAAuBC,GAEvC7H,IAAY,IAAK,KACjBO,IAAmB,UAAW,UA4BlCnG,GAAM5D,WAKFgB,QAAS,aAKTqD,KAAM,WACF7E,KAAKwK,MAAQnJ,EAAkBrB,KAAK+D,QAAS/D,KAAKwK,KAAMxK,KAAK0E,YAC7D1E,KAAKmL,UAAY9J,EAAkBrB,KAAKsB,OAAQtB,KAAKmL,SAAUnL,KAAK0E,YACpE1E,KAAK0K,OAASrJ,EAAkByC,EAAoB9D,KAAK+D,SAAU/D,KAAK0K,MAAO1K,KAAK0E,aAMxFqN,QAAS,WACL/R,KAAKwK,MAAQ5I,EAAqB5B,KAAK+D,QAAS/D,KAAKwK,KAAMxK,KAAK0E,YAChE1E,KAAKmL,UAAYvJ,EAAqB5B,KAAKsB,OAAQtB,KAAKmL,SAAUnL,KAAK0E,YACvE1E,KAAK0K,OAAS9I,EAAqBkC,EAAoB9D,KAAK+D,SAAU/D,KAAK0K,MAAO1K,KAAK0E,aA4T/F,IAAIsN,KACAC,UAAWjM,GACXkM,UAAWjG,GACXkG,QAASjM,IAGTuE,GAAuB,YACvBE,GAAsB,mBAiB1BzK,GAAQqF,EAAYnB,GAKhB5C,QAAS,SAAmBmD,GACxB,GAAIc,GAAYuM,GAAgBrN,EAAGjD,KAG/B+D,GAAYO,IAA6B,IAAdrB,EAAGyN,SAC9BpS,KAAK6K,SAAU,GAGfpF,EAAYwG,IAA2B,IAAbtH,EAAG0N,QAC7B5M,EAAYS,IAIXlG,KAAK6K,SAAY7K,KAAK4K,QAIvBnF,EAAYS,KACZlG,KAAK6K,SAAU,GAGnB7K,KAAKsE,SAAStE,KAAKqE,QAASoB,GACxBG,UAAWjB,GACXmB,iBAAkBnB,GAClB2N,YAAaZ,GACbjJ,SAAU9D,OAKtB,IAAI4N,KACAC,YAAaxM,GACbyM,YAAaxG,GACbyG,UAAWxM,GACXyM,cAAexM,GACfyM,WAAYzM,IAIZ0M,IACAC,EAAGtB,GACHuB,EAAGtB,GACHuB,EAAGtB,GACHuB,EAAGtB,IAGH7G,GAAyB,cACzBC,GAAwB,qCAGxBlN,GAAOqV,iBAAmBrV,EAAOsV,eACjCrI,GAAyB,gBACzBC,GAAwB,6CAiB5B7K,EAAQgF,EAAmBd,GAKvB5C,QAAS,SAAmBmD,GACxB,GAAIqG,GAAQhL,KAAKgL,MACboI,GAAgB,EAEhBC,EAAsB1O,EAAGjD,KAAK4R,cAAc3T,QAAQ,KAAM,IAC1D8F,EAAY8M,GAAkBc,GAC9Bf,EAAcO,GAAuBlO,EAAG2N,cAAgB3N,EAAG2N,YAE3DiB,EAAWjB,GAAed,GAG1BgC,EAAahR,EAAQwI,EAAOrG,EAAG8O,UAAW,YAG1ChO,GAAYO,KAA8B,IAAdrB,EAAGyN,QAAgBmB,GAC9B,EAAbC,IACAxI,EAAM9H,KAAKyB,GACX6O,EAAaxI,EAAMhM,OAAS,GAEzByG,GAAaS,GAAYC,MAChCiN,GAAgB,GAIH,EAAbI,IAKJxI,EAAMwI,GAAc7O,EAEpB3E,KAAKsE,SAAStE,KAAKqE,QAASoB,GACxBG,SAAUoF,EACVlF,iBAAkBnB,GAClB2N,YAAaA,EACb7J,SAAU9D,IAGVyO,GAEApI,EAAM0I,OAAOF,EAAY,MAKrC,IAAIG,KACAC,WAAY5N,GACZ6N,UAAW5H,GACX6H,SAAU5N,GACV6N,YAAa5N,IAGbiF,GAA6B,aAC7BC,GAA6B,2CAejCnL,GAAQgL,EAAkB9G,GACtB5C,QAAS,SAAmBmD,GACxB,GAAIjD,GAAOiS,GAAuBhP,EAAGjD,KAOrC,IAJIA,IAASsE,KACThG,KAAKsL,SAAU,GAGdtL,KAAKsL,QAAV,CAIA,GAAIG,GAAUF,EAAuBtM,KAAKe,KAAM2E,EAAIjD,EAGhDA,IAAQwE,GAAYC,KAAiBsF,EAAQ,GAAGzM,OAASyM,EAAQ,GAAGzM,SAAW,IAC/EgB,KAAKsL,SAAU,GAGnBtL,KAAKsE,SAAStE,KAAKqE,QAAS3C,GACxBkE,SAAU6F,EAAQ,GAClB3F,gBAAiB2F,EAAQ,GACzB6G,YAAad,GACb/I,SAAU9D,OAsBtB,IAAIqP,KACAJ,WAAY5N,GACZ6N,UAAW5H,GACX6H,SAAU5N,GACV6N,YAAa5N,IAGb0F,GAAsB,2CAc1B3L,GAAQkF,EAAYhB,GAChB5C,QAAS,SAAoBmD,GACzB,GAAIjD,GAAOsS,GAAgBrP,EAAGjD,MAC1B+J,EAAUM,EAAW9M,KAAKe,KAAM2E,EAAIjD,EACnC+J,IAILzL,KAAKsE,SAAStE,KAAKqE,QAAS3C,GACxBkE,SAAU6F,EAAQ,GAClB3F,gBAAiB2F,EAAQ,GACzB6G,YAAad,GACb/I,SAAU9D,OAmFtBzE,EAAQoF,EAAiBlB,GAOrB5C,QAAS,SAAoB6C,EAAS4P,EAAYC,GAC9C,GAAIX,GAAWW,EAAU5B,aAAed,GACpC2C,EAAWD,EAAU5B,aAAeZ,EAIxC,IAAI6B,EACAvT,KAAKuM,MAAM3B,OAAQ,MAChB,IAAIuJ,IAAYnU,KAAKuM,MAAM3B,MAC9B,MAIAqJ,IAAc/N,GAAYC,MAC1BnG,KAAKuM,MAAM3B,OAAQ,GAGvB5K,KAAKsE,SAASD,EAAS4P,EAAYC,IAMvCnC,QAAS,WACL/R,KAAKsM,MAAMyF,UACX/R,KAAKuM,MAAMwF,YAInB,IAAIqC,IAAwB/Q,EAASmN,GAAaV,MAAO,eACrDuE,GAAsBD,KAA0BpW,EAGhDsW,GAAuB,UACvBnH,GAAoB,OACpBD,GAA4B,eAC5BL,GAAoB,OACpBE,GAAqB,QACrBE,GAAqB,OAczBT,GAAYhM,WAKRkM,IAAK,SAASD,GAENA,GAAS6H,KACT7H,EAAQzM,KAAKuU,WAGbF,IAAuBrU,KAAKqE,QAAQN,QAAQ+L,QAC5C9P,KAAKqE,QAAQN,QAAQ+L,MAAMsE,IAAyB3H,GAExDzM,KAAK4M,QAAUH,EAAM6G,cAAchR,QAMvCkS,OAAQ,WACJxU,KAAK0M,IAAI1M,KAAKqE,QAAQG,QAAQgL,cAOlC+E,QAAS,WACL,GAAI3H,KAMJ,OALAjO,GAAKqB,KAAKqE,QAAQ+K,YAAa,SAASjB,GAChCrN,EAASqN,EAAW3J,QAAQI,QAASuJ,MACrCvB,EAAUA,EAAQhB,OAAOuC,EAAWsG,qBAGrC9H,EAAkBC,EAAQ8H,KAAK,OAO1CC,gBAAiB,SAASjP,GAEtB,IAAI2O,GAAJ,CAIA,GAAI5L,GAAW/C,EAAM+C,SACjBO,EAAYtD,EAAM8B,eAGtB,IAAIxH,KAAKqE,QAAQ+B,QAAQwO,UAErB,WADAnM,GAASoM,gBAIb,IAAIjI,GAAU5M,KAAK4M,QACfkI,EAAU5S,EAAM0K,EAASC,IACzBG,EAAU9K,EAAM0K,EAASK,IACzBH,EAAU5K,EAAM0K,EAASG,GAE7B,IAAI+H,EAAS,CAGT,GAAIC,GAAyC,IAA1BrP,EAAME,SAAS5G,OAC9BgW,EAAgBtP,EAAM2B,SAAW,EACjC4N,EAAiBvP,EAAMwB,UAAY,GAEvC,IAAI6N,GAAgBC,GAAiBC,EACjC,OAIR,IAAInI,IAAWE,EAKf,MAAI8H,IACC9H,GAAWhE,EAAY4I,IACvB9E,GAAW9D,EAAY6I,GACjB7R,KAAKkV,WAAWzM,GAH3B,SAWJyM,WAAY,SAASzM,GACjBzI,KAAKqE,QAAQ+B,QAAQwO,WAAY,EACjCnM,EAASoM,kBAkEjB,IAAIrH,IAAiB,EACjBO,GAAc,EACdD,GAAgB,EAChBD,GAAc,EACdsH,GAAmBtH,GACnBD,GAAkB,GAClBwH,GAAe,EAwBnBhI,GAAW5M,WAKP6M,YAOAX,IAAK,SAASlI,GAKV,MAJA3D,IAAOb,KAAKwE,QAASA,GAGrBxE,KAAKqE,SAAWrE,KAAKqE,QAAQmL,YAAYgF,SAClCxU,MAQX4P,cAAe,SAAS1B,GACpB,GAAI3P,EAAe2P,EAAiB,gBAAiBlO,MACjD,MAAOA,KAGX,IAAIyN,GAAezN,KAAKyN,YAMxB,OALAS,GAAkBD,EAA6BC,EAAiBlO,MAC3DyN,EAAaS,EAAgBZ,MAC9BG,EAAaS,EAAgBZ,IAAMY,EACnCA,EAAgB0B,cAAc5P,OAE3BA,MAQXqV,kBAAmB,SAASnH,GACxB,MAAI3P,GAAe2P,EAAiB,oBAAqBlO,MAC9CA,MAGXkO,EAAkBD,EAA6BC,EAAiBlO,YACzDA,MAAKyN,aAAaS,EAAgBZ,IAClCtN,OAQX6P,eAAgB,SAAS3B,GACrB,GAAI3P,EAAe2P,EAAiB,iBAAkBlO,MAClD,MAAOA,KAGX,IAAI0N,GAAc1N,KAAK0N,WAMvB,OALAQ,GAAkBD,EAA6BC,EAAiBlO,MAClB,KAA1CwC,EAAQkL,EAAaQ,KACrBR,EAAYxK,KAAKgL,GACjBA,EAAgB2B,eAAe7P,OAE5BA,MAQXsV,mBAAoB,SAASpH,GACzB,GAAI3P,EAAe2P,EAAiB,qBAAsBlO,MACtD,MAAOA,KAGXkO,GAAkBD,EAA6BC,EAAiBlO,KAChE,IAAI6Q,GAAQrO,EAAQxC,KAAK0N,YAAaQ,EAItC,OAHI2C,GAAQ,IACR7Q,KAAK0N,YAAYgG,OAAO7C,EAAO,GAE5B7Q,MAOXuV,mBAAoB,WAChB,MAAOvV,MAAK0N,YAAY1O,OAAS,GAQrCwW,iBAAkB,SAAStH,GACvB,QAASlO,KAAKyN,aAAaS,EAAgBZ,KAQ/ChH,KAAM,SAASZ,GAIX,QAASY,GAAK2J,GACV1L,EAAKF,QAAQiC,KAAK2J,EAAOvK,GAJ7B,GAAInB,GAAOvE,KACPuN,EAAQvN,KAAKuN,KAOLM,IAARN,GACAjH,EAAK/B,EAAKC,QAAQyL,MAAQtC,EAASJ,IAGvCjH,EAAK/B,EAAKC,QAAQyL,OAEdvK,EAAM+P,iBACNnP,EAAKZ,EAAM+P,iBAIXlI,GAASM,IACTvH,EAAK/B,EAAKC,QAAQyL,MAAQtC,EAASJ,KAU3CmI,QAAS,SAAShQ,GACd,MAAI1F,MAAK2V,UACE3V,KAAKsG,KAAKZ,QAGrB1F,KAAKuN,MAAQ6H,KAOjBO,QAAS,WAEL,IADA,GAAI7W,GAAI,EACDA,EAAIkB,KAAK0N,YAAY1O,QAAQ,CAChC,KAAMgB,KAAK0N,YAAY5O,GAAGyO,OAAS6H,GAAe5H,KAC9C,OAAO,CAEX1O,KAEJ,OAAO,GAOXyH,UAAW,SAAS2N,GAGhB,GAAI0B,GAAiB/U,MAAWqT,EAGhC,OAAKpT,GAASd,KAAKwE,QAAQI,QAAS5E,KAAM4V,KAOtC5V,KAAKuN,OAAS4H,GAAmBvH,GAAkBwH,MACnDpV,KAAKuN,MAAQC,IAGjBxN,KAAKuN,MAAQvN,KAAK6V,QAAQD,QAItB5V,KAAKuN,OAASQ,GAAcD,GAAgBD,GAAcD,KAC1D5N,KAAK0V,QAAQE,MAfb5V,KAAK8V,aACL9V,KAAKuN,MAAQ6H,MAyBrBS,QAAS,aAOTpB,eAAgB,aAOhBqB,MAAO,cA8DX5V,EAAQmO,EAAgBjB,GAKpBC,UAKIzH,SAAU,GASdmQ,SAAU,SAASrQ,GACf,GAAIsQ,GAAiBhW,KAAKwE,QAAQoB,QAClC,OAA0B,KAAnBoQ,GAAwBtQ,EAAME,SAAS5G,SAAWgX,GAS7DH,QAAS,SAASnQ,GACd,GAAI6H,GAAQvN,KAAKuN,MACb9H,EAAYC,EAAMD,UAElBwQ,EAAe1I,GAASQ,GAAcD,IACtCoI,EAAUlW,KAAK+V,SAASrQ,EAG5B,OAAIuQ,KAAiBxQ,EAAYU,KAAiB+P,GACvC3I,EAAQK,GACRqI,GAAgBC,EACnBzQ,EAAYS,GACLqH,EAAQM,GACNN,EAAQQ,GAGdR,EAAQO,GAFJC,GAIRqH,MAiBflV,EAAQoO,EAAeD,GAKnBhB,UACI4C,MAAO,MACPkG,UAAW,GACXvQ,SAAU,EACVoD,UAAW8I,IAGf2C,eAAgB,WACZ,GAAIzL,GAAYhJ,KAAKwE,QAAQwE,UACzB4D,IAOJ,OANI5D,GAAY4I,IACZhF,EAAQ1J,KAAK+J,IAEbjE,EAAY6I,IACZjF,EAAQ1J,KAAK6J,IAEVH,GAGXwJ,cAAe,SAAS1Q,GACpB,GAAIlB,GAAUxE,KAAKwE,QACf6R,GAAW,EACXhP,EAAW3B,EAAM2B,SACjB2B,EAAYtD,EAAMsD,UAClBjB,EAAIrC,EAAMgC,OACVO,EAAIvC,EAAMiC,MAed,OAZMqB,GAAYxE,EAAQwE,YAClBxE,EAAQwE,UAAY4I,IACpB5I,EAAmB,IAANjB,EAAWyB,GAAsB,EAAJzB,EAAS0B,GAAiBC,GACpE2M,EAAWtO,GAAK/H,KAAKuO,GACrBlH,EAAW4C,KAAK/B,IAAIxC,EAAMgC,UAE1BsB,EAAmB,IAANf,EAAWuB,GAAsB,EAAJvB,EAAS0B,GAAeC,GAClEyM,EAAWpO,GAAKjI,KAAKwO,GACrBnH,EAAW4C,KAAK/B,IAAIxC,EAAMiC,UAGlCjC,EAAMsD,UAAYA,EACXqN,GAAYhP,EAAW7C,EAAQ2R,WAAanN,EAAYxE,EAAQwE,WAG3E+M,SAAU,SAASrQ,GACf,MAAO2I,GAAe7N,UAAUuV,SAAS9W,KAAKe,KAAM0F,KAC/C1F,KAAKuN,MAAQQ,MAAkB/N,KAAKuN,MAAQQ,KAAgB/N,KAAKoW,cAAc1Q,KAGxFY,KAAM,SAASZ,GAEX1F,KAAKuO,GAAK7I,EAAMgC,OAChB1H,KAAKwO,GAAK9I,EAAMiC,MAEhB,IAAIqB,GAAYgF,EAAatI,EAAMsD,UAE/BA,KACAtD,EAAM+P,gBAAkBzV,KAAKwE,QAAQyL,MAAQjH,GAEjDhJ,KAAKY,OAAO0F,KAAKrH,KAAKe,KAAM0F,MAcpCxF,EAAQuO,EAAiBJ,GAKrBhB,UACI4C,MAAO,QACPkG,UAAW,EACXvQ,SAAU,GAGd6O,eAAgB,WACZ,OAAQ5H,KAGZkJ,SAAU,SAASrQ,GACf,MAAO1F,MAAKY,OAAOmV,SAAS9W,KAAKe,KAAM0F,KAClCuE,KAAK/B,IAAIxC,EAAMyC,MAAQ,GAAKnI,KAAKwE,QAAQ2R,WAAanW,KAAKuN,MAAQQ,KAG5EzH,KAAM,SAASZ,GACX,GAAoB,IAAhBA,EAAMyC,MAAa,CACnB,GAAImO,GAAQ5Q,EAAMyC,MAAQ,EAAI,KAAO,KACrCzC,GAAM+P,gBAAkBzV,KAAKwE,QAAQyL,MAAQqG,EAEjDtW,KAAKY,OAAO0F,KAAKrH,KAAKe,KAAM0F,MAiBpCxF,EAAQwO,EAAiBtB,GAKrBC,UACI4C,MAAO,QACPrK,SAAU,EACV2Q,KAAM,IACNJ,UAAW,GAGf1B,eAAgB,WACZ,OAAQtH,KAGZ0I,QAAS,SAASnQ,GACd,GAAIlB,GAAUxE,KAAKwE,QACfgS,EAAgB9Q,EAAME,SAAS5G,SAAWwF,EAAQoB,SAClD6Q,EAAgB/Q,EAAM2B,SAAW7C,EAAQ2R,UACzCO,EAAYhR,EAAMwB,UAAY1C,EAAQ+R,IAM1C,IAJAvW,KAAK4O,OAASlJ,GAIT+Q,IAAkBD,GAAkB9Q,EAAMD,WAAaS,GAAYC,MAAkBuQ,EACtF1W,KAAK8V,YACF,IAAIpQ,EAAMD,UAAYO,GACzBhG,KAAK8V,QACL9V,KAAK2O,OAAS1Q,EAAkB,WAC5B+B,KAAKuN,MAAQ4H,GACbnV,KAAK0V,WACNlR,EAAQ+R,KAAMvW,UACd,IAAI0F,EAAMD,UAAYS,GACzB,MAAOiP,GAEX,OAAOC,KAGXU,MAAO,WACHa,aAAa3W,KAAK2O,SAGtBrI,KAAM,SAASZ,GACP1F,KAAKuN,QAAU4H,KAIfzP,GAAUA,EAAMD,UAAYS,GAC5BlG,KAAKqE,QAAQiC,KAAKtG,KAAKwE,QAAQyL,MAAQ,KAAMvK,IAE7C1F,KAAK4O,OAAO5H,UAAYC,KACxBjH,KAAKqE,QAAQiC,KAAKtG,KAAKwE,QAAQyL,MAAOjQ,KAAK4O,aAevD1O,EAAQ2O,GAAkBR,GAKtBhB,UACI4C,MAAO,SACPkG,UAAW,EACXvQ,SAAU,GAGd6O,eAAgB,WACZ,OAAQ5H,KAGZkJ,SAAU,SAASrQ,GACf,MAAO1F,MAAKY,OAAOmV,SAAS9W,KAAKe,KAAM0F,KAClCuE,KAAK/B,IAAIxC,EAAM2C,UAAYrI,KAAKwE,QAAQ2R,WAAanW,KAAKuN,MAAQQ,OAc/E7N,EAAQ4O,GAAiBT,GAKrBhB,UACI4C,MAAO,QACPkG,UAAW,GACXtN,SAAU,GACVG,UAAW4I,GAAuBC,GAClCjM,SAAU,GAGd6O,eAAgB,WACZ,MAAOnG,GAAc9N,UAAUiU,eAAexV,KAAKe,OAGvD+V,SAAU,SAASrQ,GACf,GACImD,GADAG,EAAYhJ,KAAKwE,QAAQwE,SAW7B,OARIA,IAAa4I,GAAuBC,IACpChJ,EAAWnD,EAAMkC,gBACVoB,EAAY4I,GACnB/I,EAAWnD,EAAMoC,iBACVkB,EAAY6I,KACnBhJ,EAAWnD,EAAMsC,kBAGdhI,KAAKY,OAAOmV,SAAS9W,KAAKe,KAAM0F,IACnCsD,EAAYtD,EAAM8B,iBAClB9B,EAAM2B,SAAWrH,KAAKwE,QAAQ2R,WAC9BzQ,EAAM6C,aAAevI,KAAKwE,QAAQoB,UAClCsC,GAAIW,GAAY7I,KAAKwE,QAAQqE,UAAYnD,EAAMD,UAAYS,IAGnEI,KAAM,SAASZ,GACX,GAAIsD,GAAYgF,EAAatI,EAAM8B,gBAC/BwB,IACAhJ,KAAKqE,QAAQiC,KAAKtG,KAAKwE,QAAQyL,MAAQjH,EAAWtD,GAGtD1F,KAAKqE,QAAQiC,KAAKtG,KAAKwE,QAAQyL,MAAOvK,MA2B9CxF,EAAQ6O,GAAe3B,GAKnBC,UACI4C,MAAO,MACPrK,SAAU,EACVgR,KAAM,EACNC,SAAU,IACVN,KAAM,IACNJ,UAAW,EACXW,aAAc,IAGlBrC,eAAgB,WACZ,OAAQvH,KAGZ2I,QAAS,SAASnQ,GACd,GAAIlB,GAAUxE,KAAKwE,QAEfgS,EAAgB9Q,EAAME,SAAS5G,SAAWwF,EAAQoB,SAClD6Q,EAAgB/Q,EAAM2B,SAAW7C,EAAQ2R,UACzCY,EAAiBrR,EAAMwB,UAAY1C,EAAQ+R,IAI/C,IAFAvW,KAAK8V,QAEApQ,EAAMD,UAAYO,IAAgC,IAAfhG,KAAKkP,MACzC,MAAOlP,MAAKgX,aAKhB,IAAIP,GAAiBM,GAAkBP,EAAe,CAClD,GAAI9Q,EAAMD,WAAaS,GACnB,MAAOlG,MAAKgX,aAGhB,IAAIC,GAAgBjX,KAAKgP,MAAStJ,EAAMsB,UAAYhH,KAAKgP,MAAQxK,EAAQqS,UAAY,EACjFK,GAAiBlX,KAAKiP,SAAW3H,EAAYtH,KAAKiP,QAASvJ,EAAMoB,QAAUtC,EAAQsS,YAEvF9W,MAAKgP,MAAQtJ,EAAMsB,UACnBhH,KAAKiP,QAAUvJ,EAAMoB,OAEhBoQ,GAAkBD,EAGnBjX,KAAKkP,OAAS,EAFdlP,KAAKkP,MAAQ,EAKjBlP,KAAK4O,OAASlJ,CAId,IAAIyR,GAAWnX,KAAKkP,MAAQ1K,EAAQoS,IACpC,IAAiB,IAAbO,EAGA,MAAKnX,MAAKuV,sBAGNvV,KAAK2O,OAAS1Q,EAAkB,WAC5B+B,KAAKuN,MAAQ4H,GACbnV,KAAK0V,WACNlR,EAAQqS,SAAU7W,MACd+N,IANAoH,GAUnB,MAAOC,KAGX4B,YAAa,WAIT,MAHAhX,MAAK2O,OAAS1Q,EAAkB,WAC5B+B,KAAKuN,MAAQ6H,IACdpV,KAAKwE,QAAQqS,SAAU7W,MACnBoV,IAGXU,MAAO,WACHa,aAAa3W,KAAK2O,SAGtBrI,KAAM,WACEtG,KAAKuN,OAAS4H,KACdnV,KAAK4O,OAAOuI,SAAWnX,KAAKkP,MAC5BlP,KAAKqE,QAAQiC,KAAKtG,KAAKwE,QAAQyL,MAAOjQ,KAAK4O,YAoBvDO,GAAOiI,QAAU,QAMjBjI,GAAO9B,UAOHgK,WAAW,EAQX7H,YAAa8E,GAMb1P,QAAQ,EASRH,YAAa,KAObO,WAAY,KAOZqK,SAEKR,IAAmBjK,QAAQ,KAC3B6J,GAAkB7J,QAAQ,IAAS,YACnCkK,IAAkB9F,UAAW4I,MAC7BtD,GAAgBtF,UAAW4I,KAAwB,WACnD7C,KACAA,IAAgBkB,MAAO,YAAa2G,KAAM,IAAK,SAC/ClI,IAQLqB,UAMIuH,WAAY,OAOZC,YAAa,OASbC,aAAc,OAOdC,eAAgB,OAOhBC,SAAU,OAQVC,kBAAmB,iBAI3B,IAAIC,IAAO,EACPC,GAAc,CA8BlBvI,IAAQ9O,WAMJkM,IAAK,SAASlI,GAaV,MAZA3D,IAAOb,KAAKwE,QAASA,GAGjBA,EAAQgL,aACRxP,KAAKwP,YAAYgF,SAEjBhQ,EAAQC,cAERzE,KAAK0F,MAAMqM,UACX/R,KAAK0F,MAAMpE,OAASkD,EAAQC,YAC5BzE,KAAK0F,MAAMb,QAER7E,MASX8X,KAAM,SAASC,GACX/X,KAAKoG,QAAQ4R,QAAUD,EAAQF,GAAcD,IASjDrR,UAAW,SAAS2N,GAChB,GAAI9N,GAAUpG,KAAKoG,OACnB,KAAIA,EAAQ4R,QAAZ,CAKAhY,KAAKwP,YAAYmF,gBAAgBT,EAEjC,IAAI/F,GACAiB,EAAcpP,KAAKoP,YAKnB6I,EAAgB7R,EAAQ6R,gBAIvBA,GAAkBA,GAAiBA,EAAc1K,MAAQ4H,MAC1D8C,EAAgB7R,EAAQ6R,cAAgB,KAI5C,KADA,GAAInZ,GAAI,EACDA,EAAIsQ,EAAYpQ,QACnBmP,EAAaiB,EAAYtQ,GAQrBsH,EAAQ4R,UAAYH,IACfI,GAAiB9J,GAAc8J,IAChC9J,EAAWqH,iBAAiByC,GAGhC9J,EAAW2H,QAFX3H,EAAW5H,UAAU2N,IAOpB+D,GAAiB9J,EAAWZ,OAASQ,GAAcD,GAAgBD,MACpEoK,EAAgB7R,EAAQ6R,cAAgB9J,GAE5CrP,MASRsP,IAAK,SAASD,GACV,GAAIA,YAAsBf,GACtB,MAAOe,EAIX,KAAK,GADDiB,GAAcpP,KAAKoP,YACdtQ,EAAI,EAAGA,EAAIsQ,EAAYpQ,OAAQF,IACpC,GAAIsQ,EAAYtQ,GAAG0F,QAAQyL,OAAS9B,EAChC,MAAOiB,GAAYtQ,EAG3B,OAAO,OASX6Q,IAAK,SAASxB,GACV,GAAI5P,EAAe4P,EAAY,MAAOnO,MAClC,MAAOA,KAIX,IAAIkY,GAAWlY,KAAKoO,IAAID,EAAW3J,QAAQyL,MAS3C,OARIiI,IACAlY,KAAKmY,OAAOD,GAGhBlY,KAAKoP,YAAYlM,KAAKiL,GACtBA,EAAW9J,QAAUrE,KAErBA,KAAKwP,YAAYgF,SACVrG,GAQXgK,OAAQ,SAAShK,GACb,GAAI5P,EAAe4P,EAAY,SAAUnO,MACrC,MAAOA,KAMX,IAHAmO,EAAanO,KAAKoO,IAAID,GAGN,CACZ,GAAIiB,GAAcpP,KAAKoP,YACnByB,EAAQrO,EAAQ4M,EAAajB,EAEnB,MAAV0C,IACAzB,EAAYsE,OAAO7C,EAAO,GAC1B7Q,KAAKwP,YAAYgF,UAIzB,MAAOxU,OASXoY,GAAI,SAASC,EAAQ7W,GACjB,GAAI+N,GAAWvP,KAAKuP,QAKpB,OAJA5Q,GAAK8C,EAAS4W,GAAS,SAASpI,GAC5BV,EAASU,GAASV,EAASU,OAC3BV,EAASU,GAAO/M,KAAK1B,KAElBxB,MASXsY,IAAK,SAASD,EAAQ7W,GAClB,GAAI+N,GAAWvP,KAAKuP,QAQpB,OAPA5Q,GAAK8C,EAAS4W,GAAS,SAASpI,GACvBzO,EAGD+N,EAASU,IAAUV,EAASU,GAAOyD,OAAOlR,EAAQ+M,EAASU,GAAQzO,GAAU,SAFtE+N,GAASU,KAKjBjQ,MAQXsG,KAAM,SAAS2J,EAAOC,GAEdlQ,KAAKwE,QAAQ6S,WACbrH,GAAgBC,EAAOC,EAI3B,IAAIX,GAAWvP,KAAKuP,SAASU,IAAUjQ,KAAKuP,SAASU,GAAOrN,OAC5D,IAAK2M,GAAaA,EAASvQ,OAA3B,CAIAkR,EAAKxO,KAAOuO,EACZC,EAAK2E,eAAiB,WAClB3E,EAAKzH,SAASoM,iBAIlB,KADA,GAAI/V,GAAI,EACDA,EAAIyQ,EAASvQ,QAChBuQ,EAASzQ,GAAGoR,GACZpR,MAQRiT,QAAS,WACL/R,KAAK+D,SAAW0L,GAAezP,MAAM,GAErCA,KAAKuP,YACLvP,KAAKoG,WACLpG,KAAK0F,MAAMqM,UACX/R,KAAK+D,QAAU,OA+BvBlD,GAAOsO,IACHnJ,YAAaA,GACbiG,WAAYA,GACZ/F,UAAWA,GACXC,aAAcA,GAEdqH,eAAgBA,GAChBO,YAAaA,GACbD,cAAeA,GACfD,YAAaA,GACbsH,iBAAkBA,GAClBvH,gBAAiBA,GACjBwH,aAAcA,GAEd5L,eAAgBA,GAChBC,eAAgBA,GAChBC,gBAAiBA,GACjBC,aAAcA,GACdC,eAAgBA,GAChBgI,qBAAsBA,GACtBC,mBAAoBA,GACpBC,cAAeA,GAEfxC,QAASA,GACTlL,MAAOA,EACPoI,YAAaA,EAEbpH,WAAYA,EACZG,WAAYA,EACZL,kBAAmBA,EACnBI,gBAAiBA,EACjB4F,iBAAkBA,EAElBkC,WAAYA,EACZiB,eAAgBA,EAChBkK,IAAKxJ,GACLyJ,IAAKlK,EACLmK,MAAO3J,GACP4J,MAAOjK,EACPkK,OAAQ9J,GACR+J,MAAOlK,EAEP0J,GAAI/W,EACJiX,IAAK1W,EACLjD,KAAMA,EACNuS,MAAOA,GACPF,OAAQA,GACRnQ,OAAQA,GACRX,QAASA,EACT5B,OAAQA,EACR+E,SAAUA,GAKd,IAAIwV,IAAgC,mBAAXhb,GAAyBA,EAA0B,mBAAT0G,MAAuBA,OAC1FsU,IAAW1J,OAASA,GAEE,kBAAX2J,SAAyBA,OAAOC,IACvCD,OAAO,WACH,MAAO3J,MAEa,mBAAV6J,SAAyBA,OAAOC,QAC9CD,OAAOC,QAAU9J,GAEjBtR,EAAOE,GAAcoR,IAGtBtR,OAAQC,SAAU;;;;;;;AClgFrB;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;;AC3VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1vDA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACpQA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC74FA;AACA;AACA;AACA;AACA;AACA;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;;AChuDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3vCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9pBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC30SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;AC5PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACdA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;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;;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACTA;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;;ACtDA;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;;AC9MA;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;;ACxjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC/FA;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;;ACVA;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;;AClEA;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;;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;;ACrFA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC7PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5SA;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;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7SA;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;;AChNA;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;;ACjKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/sBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/BA;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;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;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;;AC5CA;AACA;AACA;AACA;AACA;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;;ACnBA;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;;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;;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;;ACzBA;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;;ACvBA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5wBA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACZA;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;;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;;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;;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;;AC1EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC7BA;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;;ACnBA;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;;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;;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;;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;;ACrFA;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;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;;ACpCA;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;;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;;ACxHA;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;;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;;ACpCA;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5BA;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;AC9CA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;ACrDA;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;;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;;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;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;;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;;ACjRA;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;;ACTA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvIA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;ACnBA;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;;ACjBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;ACZA;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;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;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;;AC3BA;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;AACA;AACA;;ACtBA;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;;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;;ACjBA;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;;ACtBA;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;;ACdA;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;;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;;ACdA;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;;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;;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;;ACtBA;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;;AC/BA;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;;AClBA;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;;ACjBA;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;;AC1BA;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;;ACdA;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;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;;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;;ACxBA;AACA;AACA;AACA;AACA;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;;AC5BA;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;;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;;AC9BA;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;;ACdA;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;;ACzBA;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;;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;;ACxBA;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;;ACtFA;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;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3IA;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;;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;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;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;;ACjDA;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;;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;;ACzBA;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;;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;;AC1BA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjDA;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;;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;;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;;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;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClBA;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;;ACxFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/UA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACRA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;AC3MA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3SA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;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;;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;;AC/BA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjOA;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;;ACtTA;AACA;AACA;AACA;AACA;AACA;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACxBA;AACA;AACA;AACA;AACA;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpOA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;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;;AClHA;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;;AC5DA;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;;AC/CA;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;;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AChKA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjHA;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;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;;ACVA;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;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;AC3CA;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;;ACTA;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;;AC1DA;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;;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;;AC5BA;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;;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;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7TA;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;;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;;AC5DA;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;;ACzSA;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;;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;;ACpFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;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;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;;ACTA;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;;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;;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;;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;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;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;;AC9BA;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;;ACtBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;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;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;ACrBA;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;;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;;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;;AClGA;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC1CA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjyEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACbA;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;;AClCA;AACA;AACA;AACA;AACA;AACA;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;;ACbA;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;;AClCA;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;;ACbA;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;;ACbA;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;;ACbA;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;;ACjEA;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;;ACbA;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;;ACbA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;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;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;;AClCA;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;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;;ACrUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/mCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3gBA;AACA;AACA;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;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;;ACnHA;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;;AClBA;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;;ACjBA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AChBA;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;;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;;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;;ACjHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC9CA;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;;ACjBA;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;;ACxCA;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;;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;;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;;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;;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;;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;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;ACjDA;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;;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;;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;;AC7IA;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;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;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3QA;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;;ACdA;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;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;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;AACA;;ACnJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AClKA;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;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;;ACxCA;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;;ACxBA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5gCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;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;;ACxBA;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;;ACbA;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;;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;;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;;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;;ACxIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;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;;ACnYA;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;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnVA;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;;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACnCA;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;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACzFA;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;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;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;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/NA;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;;ACjBA;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;AACA;;ACTA;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;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;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;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;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACZA;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;;ACdA;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;;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;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;;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;;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;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;;AC/GA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACxHA;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;;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxIA;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;;ACzFA;AACA;AACA;AACA;AACA;AACA;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;;ACjEA;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;;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;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC7EA;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;;ACbA;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;;ACjEA;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;;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;;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;;AClCA;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;;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;;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;;AC/BA;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;AACA;AACA;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;;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;;ACjEA;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;;ACpCA;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;;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;;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;;ACtIA;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;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;AC5CA;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;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;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;;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;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;ACrFA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;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;;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;;AChYA;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;;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;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5CA;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;;AChDA;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;;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;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrKA;","file":"vendor.js"}